!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}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="https://articulateusercontent.com/rise/runtimes/rise-frontend/",n(n.s=2735)}([function(e,t,n){"use strict";e.exports=n(1251)},function(e,t,n){e.exports=n(1262)()},function(e,t,n){var r;
/*!
  Copyright (c) 2016 Jed Watson.
  Licensed under the MIT License (MIT), see
  http://jedwatson.github.io/classnames
*/
/*!
  Copyright (c) 2016 Jed Watson.
  Licensed under the MIT License (MIT), see
  http://jedwatson.github.io/classnames
*/
!function(){"use strict";var n={}.hasOwnProperty;function i(){for(var e=[],t=0;t<arguments.length;t++){var r=arguments[t];if(r){var o=typeof r;if("string"===o||"number"===o)e.push(r);else if(Array.isArray(r))e.push(i.apply(null,r));else if("object"===o)for(var a in r)n.call(r,a)&&r[a]&&e.push(a)}}return e.join(" ")}e.exports?e.exports=i:void 0===(r=function(){return i}.apply(t,[]))||(e.exports=r)}()},function(e,t,n){e.exports=n(1265)},function(e,t,n){e.exports=n(1315)},function(e,t,n){"use strict";n.d(t,"a",function(){return s});var r=n(538),i=n.n(r),o=n(539),a=n.n(o);function s(e){return(s=i.a?a.a:function(e){return e.__proto__||a()(e)})(e)}},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,"a",function(){return r})},function(e,t,n){var r=n(25),i=n(471);e.exports=function(){if(0===arguments.length)throw new Error("compose requires at least one argument");return r.apply(this,i(arguments))}},function(e,t,n){"use strict";n.d(t,"a",function(){return o});var r=n(536),i=n.n(r);function o(e,t,n){return t in e?i()(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}},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,"a",function(){return r})},function(e,t,n){"use strict";n.d(t,"a",function(){return a});var r=n(536),i=n.n(r);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),i()(e,r.key,r)}}function a(e,t,n){return t&&o(e.prototype,t),n&&o(e,n),e}},function(e,t,n){"use strict";n.d(t,"a",function(){return a});var r=n(537),i=n.n(r),o=n(350);function a(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=i()(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Object(o.a)(e,t)}},function(e,t,n){(function(t){var n;n="undefined"!=typeof window?window:void 0!==t?t:"undefined"!=typeof self?self:{},e.exports=n}).call(this,n(96))},function(e,t,n){"use strict";n.d(t,"a",function(){return a});var r=n(256),i=n.n(r),o=n(6);function a(e,t){return!t||"object"!==i()(t)&&"function"!=typeof t?Object(o.a)(e):t}},function(e,t,n){var r=n(18);e.exports=r(function(e,t){return t[e]})},function(e,t,n){e.exports=n(1363)},function(e,t,n){var r=n(51);e.exports=r(function(e){return function(){return e}})},function(e,t,n){var r=n(58),i=n(37);e.exports=r(function(e,t,n){return i(t,n[e])})},function(e,t,n){var r=n(51),i=n(469);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)}}}},function(e,t,n){"use strict";n.d(t,"a",function(){return o});var r=n(79),i=n.n(r);function o(){return(o=i.a||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}},function(e,t,n){"use strict";n.d(t,"a",function(){return E}),n.d(t,"h",function(){return S}),n.d(t,"k",function(){return T}),n.d(t,"g",function(){return C}),n.d(t,"l",function(){return O}),n.d(t,"i",function(){return j}),n.d(t,"j",function(){return A}),n.d(t,"b",function(){return P}),n.d(t,"c",function(){return N}),n.d(t,"d",function(){return L}),n.d(t,"e",function(){return I}),n.d(t,"f",function(){return D});var r=n(76),i=n.n(r),o=n(144),a=n.n(o),s=n(80),c=n.n(s),u=n(16),l=n.n(u),d=n(116),f=n.n(d),h=n(232),p=n.n(h),m=n(50),v=n.n(m),g=n(196),y=n(26),b=n(103),_=n(90),w=n(263),x=function(){return document.getElementById("focus-ring-style")||k()},k=function(){var e=document.createElement("style");return e.id="focus-ring-style",document.head.appendChild(e),e},E=0,S=-1,T=function(){var e=x();document.addEventListener("mousedown",function(){setTimeout(function(){e.innerHTML=":focus{outline: none}"},0),Object(_.a)(Object(w.c)(!1))}),window.addEventListener("keydown",C)},C=function(e){var t=e.target,n=x();(Object(y.l)(e)||Object(y.e)(e)&&!t.classList.contains("ignore-prefers"))&&(n.innerHTML="",Object(_.a)(Object(w.c)(!0)))},O=function(e){return e?E:S},j=function(e,t){var n=t!==E;(e||{}).tabIndex=t,Object(b.d)({element:e,isHidden:n})},A=function(e){var t=e.element,n=e.selector,r=e.tabIndex;Object(g.b)(t.querySelectorAll(n)).forEach(function(e){j(e,r)})},P=function(e){Object(g.b)(e.getElementsByTagName("*")).forEach(function(e){j(e,S)})},M=function(e){return function(t){var n,r,o=t.querySelectorAll('[tabindex = "0"]');return!!o.length&&(n=l()(e),r=o,c()(n,i.a,a.a)(r).focus(),!0)}},N=M(!0),L=(M(!1),function(e){var t=e.list,n=e.index;n>=0&&n<v()(t)&&t[n].focus()}),I=function(e){var t=e.list,n=e.currentIndex,r=f()(n||0),i=r<v()(t)?r:0;return L({list:t,index:i}),i},D=function(e){var t=e.list,n=e.currentIndex,r=p()(n||v()(t));return L({list:t,index:r}),r}},function(e,t,n){e.exports={F:n(1529),T:n(64),__:n(203),add:n(257),addIndex:n(182),adjust:n(315),all:n(260),allPass:n(321),always:n(16),and:n(846),any:n(422),anyPass:n(426),ap:n(521),aperture:n(1530),append:n(185),apply:n(526),applySpec:n(1533),ascend:n(531),assoc:n(27),assocPath:n(843),binary:n(1534),bind:n(756),both:n(153),call:n(1535),chain:n(633),clamp:n(1539),clone:n(1540),comparator:n(1541),complement:n(100),compose:n(7),composeK:n(850),composeP:n(670),concat:n(54),cond:n(33),construct:n(1542),constructN:n(851),contains:n(97),converge:n(525),countBy:n(1543),curry:n(74),curryN:n(56),dec:n(232),defaultTo:n(127),descend:n(1545),difference:n(528),differenceWith:n(852),dissoc:n(225),dissocPath:n(1546),divide:n(259),drop:n(529),dropLast:n(667),dropLastWhile:n(1548),dropRepeats:n(1551),dropRepeatsWith:n(854),dropWhile:n(1552),either:n(119),empty:n(790),endsWith:n(1554),eqBy:n(1555),eqProps:n(1095),equals:n(37),evolve:n(89),filter:n(49),find:n(65),findIndex:n(138),findLast:n(671),findLastIndex:n(1557),flatten:n(163),flip:n(48),forEach:n(429),forEachObjIndexed:n(1559),fromPairs:n(290),groupBy:n(1560),groupWith:n(1561),gt:n(230),gte:n(427),has:n(108),hasIn:n(1562),head:n(76),identical:n(777),identity:n(43),ifElse:n(80),inc:n(116),indexBy:n(1096),indexOf:n(320),init:n(1563),innerJoin:n(1564),insert:n(669),insertAll:n(1565),intersection:n(1566),intersectionWith:n(1567),intersperse:n(1568),into:n(1569),invert:n(1571),invertObj:n(1572),invoker:n(409),is:n(313),isEmpty:n(66),isNil:n(31),join:n(186),juxt:n(423),keys:n(82),keysIn:n(1573),last:n(144),lastIndexOf:n(1574),length:n(50),lens:n(489),lensIndex:n(1575),lensPath:n(91),lensProp:n(87),lift:n(485),liftN:n(825),lt:n(229),lte:n(261),map:n(30),mapAccum:n(1576),mapAccumRight:n(1577),mapObjIndexed:n(117),match:n(288),mathMod:n(1578),max:n(286),maxBy:n(1579),mean:n(856),median:n(1580),memoize:n(1581),memoizeWith:n(348),merge:n(28),mergeAll:n(207),mergeDeepLeft:n(672),mergeDeepRight:n(673),mergeDeepWith:n(1582),mergeDeepWithKey:n(493),mergeWith:n(1583),mergeWithKey:n(635),min:n(1584),minBy:n(1585),modulo:n(1586),multiply:n(226),nAry:n(490),negate:n(674),none:n(1587),not:n(112),nth:n(224),nthArg:n(1588),o:n(1589),objOf:n(143),of:n(424),omit:n(69),once:n(1590),or:n(524),over:n(57),pair:n(1591),partial:n(145),partialRight:n(1592),partition:n(1593),path:n(24),pathEq:n(204),pathOr:n(23),pathSatisfies:n(532),pick:n(92),pickAll:n(857),pickBy:n(1594),pipe:n(25),pipeK:n(1595),pipeP:n(523),pluck:n(161),prepend:n(349),product:n(1596),project:n(1597),prop:n(14),propEq:n(17),propIs:n(1598),propOr:n(46),propSatisfies:n(168),props:n(533),range:n(425),reduce:n(107),reduceBy:n(491),reduceRight:n(859),reduceWhile:n(1599),reduced:n(1600),reject:n(129),remove:n(527),repeat:n(1601),replace:n(179),reverse:n(471),scan:n(1602),sequence:n(861),set:n(228),slice:n(178),sort:n(384),sortBy:n(1097),sortWith:n(1603),split:n(258),splitAt:n(740),splitEvery:n(1604),splitWhen:n(1605),startsWith:n(675),subtract:n(1606),sum:n(355),symmetricDifference:n(676),symmetricDifferenceWith:n(1607),tail:n(346),take:n(610),takeLast:n(855),takeLastWhile:n(1608),takeWhile:n(1609),tap:n(111),test:n(236),times:n(860),toLower:n(227),toPairs:n(233),toPairsIn:n(1611),toString:n(401),toUpper:n(677),transduce:n(1098),transpose:n(1612),traverse:n(1613),trim:n(246),tryCatch:n(1614),type:n(609),unapply:n(1615),unary:n(543),uncurryN:n(205),unfold:n(1616),union:n(1617),unionWith:n(1618),uniq:n(347),uniqBy:n(664),uniqWith:n(634),unless:n(78),unnest:n(1619),until:n(1620),update:n(421),useWith:n(858),values:n(70),valuesIn:n(1621),view:n(534),when:n(39),where:n(862),whereEq:n(1099),without:n(317),xprod:n(1622),zip:n(356),zipObj:n(1623),zipWith:n(1624)}},function(e,t,n){"use strict";n.d(t,"c",function(){return f}),n.d(t,"e",function(){return h}),n.d(t,"a",function(){return m}),n.d(t,"g",function(){return g}),n.d(t,"f",function(){return y}),n.d(t,"b",function(){return b}),n.d(t,"d",function(){return _}),n.d(t,"h",function(){return w});var r=n(146),i=n.n(r),o=n(4),a=n.n(o),s=n(48),c=n.n(s),u=n(14),l=n.n(u),d=window.Runtime,f=c()(l.a)(window.env||{}),h=!1,p=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=p("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(p("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(){p("exit")&&d.exit()}function _(){return!!p("isExport")&&d.isExport()}function w(){if(p("sendTouch"))return d.sendTouch()}},function(e,t,n){var r=n(58),i=n(127),o=n(24);e.exports=r(function(e,t,n){return i(e,o(t,n))})},function(e,t,n){var r=n(18);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})},function(e,t,n){var r=n(219),i=n(1261),o=n(107),a=n(346);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)))}},function(e,t,n){"use strict";n.d(t,"d",function(){return O}),n.d(t,"l",function(){return j}),n.d(t,"k",function(){return A}),n.d(t,"f",function(){return P}),n.d(t,"m",function(){return M}),n.d(t,"b",function(){return N}),n.d(t,"g",function(){return L}),n.d(t,"i",function(){return I}),n.d(t,"c",function(){return D}),n.d(t,"e",function(){return R}),n.d(t,"j",function(){return B}),n.d(t,"h",function(){return F}),n.d(t,"n",function(){return U}),n.d(t,"o",function(){return q}),n.d(t,"a",function(){return z}),n.d(t,"q",function(){return H}),n.d(t,"p",function(){return V}),n.d(t,"r",function(){return W});var r=n(668),i=n.n(r),o=n(213),a=n.n(o),s=n(33),c=n.n(s),u=n(97),l=n.n(u),d=n(74),f=n.n(d),h=n(39),p=n.n(h),m=n(119),v=n.n(m),g={keys:["End"],keyCode:a.a.KEY_END},y={keys:["Enter"],keyCode:a.a.KEY_RETURN},b={keys:["Home"],keyCode:a.a.KEY_HOME},_={keys:["Tab"],keyCode:a.a.KEY_TAB},w={keys:[" "],keyCode:a.a.KEY_SPACE},x={keys:["Escape","Esc"],keyCode:a.a.KEY_ESCAPE},k={keys:["ArrowUp"],keyCode:a.a.KEY_UP},E={keys:["ArrowDown"],keyCode:a.a.KEY_DOWN},S={keys:["ArrowLeft"],keyCode:a.a.KEY_LEFT},T={keys:["ArrowRight"],keyCode:a.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)}},O=(C(g),C(y)),j=(C(b),C(_)),A=C(w),P=C(x),M=C(k),N=C(E),L=C(S),I=C(T),D=v()(N,I),R=v()(A,O),B=(v()(j,O),v()(I,M)),F=v()(L,N),U=v()(M,N),q=v()(M,L),z=p()(R),H=f()(function(e,t){0!==e.scrollTop&&(t.preventDefault(),e.scrollTop-=25)}),V=f()(function(e,t,n){t&&(n.preventDefault(),e.scrollTop+=25)}),W=function(e,t){return function(n){var r=V(e,t),i=H(e);c()([[N,r],[M,i]])(n)}}},function(e,t,n){var r=n(58);e.exports=r(function(e,t,n){var r={};for(var i in n)r[i]=n[i];return r[e]=t,r})},function(e,t,n){var r=n(631),i=n(18);e.exports=i(function(e,t){return r({},e,t)})},function(e,t,n){(function(t){var r,i=void 0!==t?t:"undefined"!=typeof window?window:{},o=n(1859);"undefined"!=typeof document?r=document:(r=i["__GLOBAL_DOCUMENT_CACHE@4"])||(r=i["__GLOBAL_DOCUMENT_CACHE@4"]=o),e.exports=r}).call(this,n(96))},function(e,t,n){var r=n(18),i=n(133),o=n(477),a=n(190),s=n(1329),c=n(56),u=n(82);e.exports=r(i(["fantasy-land/map","map"],s,function(e,t){switch(Object.prototype.toString.call(t)){case"[object Function]":return c(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},{},u(t));default:return o(e,t)}}))},function(e,t,n){var r=n(51);e.exports=r(function(e){return null==e})},function(e,t,n){"use strict";n.d(t,"a",function(){return r.a}),n.d(t,"b",function(){return i.a}),n.d(t,"c",function(){return o.a}),n.d(t,"d",function(){return l}),n.d(t,"e",function(){return d}),n.d(t,"f",function(){return f}),n.d(t,"g",function(){return h.a}),n.d(t,"h",function(){return p}),n.d(t,"i",function(){return m}),n.d(t,"j",function(){return v.a}),n.d(t,"k",function(){return S.a}),n.d(t,"l",function(){return T.a}),n.d(t,"m",function(){return C.a}),n.d(t,"n",function(){return O}),n.d(t,"o",function(){return j}),n.d(t,"p",function(){return A}),n.d(t,"q",function(){return P}),n.d(t,"r",function(){return M}),n.d(t,"s",function(){return N}),n.d(t,"t",function(){return L}),n.d(t,"u",function(){return I}),n.d(t,"w",function(){return D.a}),n.d(t,"v",function(){return R.a}),n.d(t,"x",function(){return B.a}),n.d(t,"y",function(){return F.a}),n.d(t,"z",function(){return U.a}),n.d(t,"A",function(){return q.a}),n.d(t,"B",function(){return z.a}),n.d(t,"C",function(){return H.a}),n.d(t,"D",function(){return $}),n.d(t,"E",function(){return X.a}),n.d(t,"F",function(){return Q.a}),n.d(t,"G",function(){return Z.a}),n.d(t,"H",function(){return J.a}),n.d(t,"I",function(){return ee.a}),n.d(t,"J",function(){return te});n(1876),n(917),n(918);var r=n(919),i=(n(920),n(921),n(922),n(923),n(924),n(925),n(665)),o=(n(926),n(666),n(927),n(928),n(929),n(930)),a=(n(931),n(2)),s=n.n(a),c=n(0),u=n.n(c),l=(n(932),n(933),function(e){var t=e["aria-hidden"],n=e["aria-label"],r=void 0===n?"Check mark":n,i=e.className,o=e.desc,a=e.height,c=void 0===a?"8":a,l=e.role,d=void 0===l?"img":l,f=e.title,h=e.width,p=void 0===h?"11":h;return u.a.createElement("svg",{"aria-hidden":t,"aria-label":r,className:s()("i i-checkMark",i),focusable:"false",height:c,role:d,viewBox:"0 0 11 8",width:p,xmlns:"http://www.w3.org/2000/svg"},f&&u.a.createElement("title",null,f),o&&u.a.createElement("desc",null,o),u.a.createElement("path",{d:"M9.6,0L11,1.3L3.9,8L0,4.3L1.4,3l2.6,2.4L9.6,0z"}))}),d=function(e){var t=e["aria-hidden"],n=e["aria-label"],r=e.className,i=e.desc,o=e.height,a=void 0===o?"21":o,c=e.role,l=void 0===c?"img":c,d=e.title,f=e.width,h=void 0===f?"21":f;return u.a.createElement("svg",{"aria-hidden":t,"aria-label":n,className:s()("i i-checkMarkFilled",r),focusable:"false",height:a,role:l,viewBox:"0 0 21 21",width:h,xmlns:"http://www.w3.org/2000/svg"},d&&u.a.createElement("title",null,d),i&&u.a.createElement("desc",null,i),u.a.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"}))},f=function(e){var t=e.title,n=void 0===t?"More":t,r=e.desc,i=void 0===r?"Caret pointing down":r,o=e.width,a=void 0===o?"7":o,c=e.height,l=void 0===c?"5":c,d=e.className,f=e.focusable,h=void 0===f?"false":f;return u.a.createElement("svg",{viewBox:"0 0 7 5",width:a,height:l,className:s()("i i-chevronDown",d),focusable:h},u.a.createElement("title",null,n),u.a.createElement("desc",null,i),u.a.createElement("g",{transform:"translate(-15 -14)"},u.a.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"})))},h=(n(934),n(935)),p=function(e){var t=e.className;return u.a.createElement("svg",{"aria-hidden":"true",className:t,fill:"currentColor",focusable:"false",viewBox:"0 0 10 10",xmlns:"http://www.w3.org/2000/svg"},u.a.createElement("circle",{cx:"5",cy:"5",r:"5"}))},m=(n(936),function(e){var t=e.className;return u.a.createElement("svg",{"aria-hidden":"true",className:t,fill:"currentColor",foocusable:"false",viewBox:"0 0 10 10",xmlns:"http://www.w3.org/2000/svg"},u.a.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"}))}),v=(n(937),n(938),n(939),n(940),n(941),n(942),n(943),n(944),n(945)),g=(n(946),n(947),n(19),n(101),n(3)),y=n.n(g),b=n(9),_=n(10),w=n(11),x=n(13),k=n(5);function E(e){var t=function(){if("undefined"==typeof Reflect||!y.a)return!1;if(y.a.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(y()(Boolean,[],function(){})),!0}catch(e){return!1}}();return function(){var n,r=Object(k.a)(e);if(t){var i=Object(k.a)(this).constructor;n=y()(r,arguments,i)}else n=r.apply(this,arguments);return Object(x.a)(this,n)}}c.Component,n(948),n(949);var S=n(950),T=(n(951),n(952)),C=(n(953),n(954)),O=(n(955),n(956),n(957),n(958),n(959),function(e){var t=e["aria-hidden"],n=e["aria-label"],r=void 0===n?"X mark":n,i=e.className,o=e.desc,a=e.height,c=void 0===a?"10":a,l=e.role,d=void 0===l?"img":l,f=e.title,h=e.width,p=void 0===h?"10":h;return u.a.createElement("svg",{"aria-hidden":t,"aria-label":r,className:s()("i i-exMark",i),focusable:"false",height:c,role:d,viewBox:"0 0 10 10",width:p,xmlns:"http://www.w3.org/2000/svg"},f&&u.a.createElement("title",null,f),o&&u.a.createElement("desc",null,o),u.a.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"}))}),j=(n(960),function(e){var t=e["aria-hidden"],n=e["aria-label"],r=e.className,i=e.desc,o=void 0===i?"":i,a=e.height,s=void 0===a?"50":a,c=e.role,l=void 0===c?"img":c,d=e.title,f=void 0===d?"":d,h=e.width,p=void 0===h?"40":h;return u.a.createElement("svg",{"aria-hidden":t,"aria-label":n,className:r,fill:"none",focusable:"false",height:s,role:l,viewBox:"0 0 40 50",width:p,xmlns:"http://www.w3.org/2000/svg"},f&&u.a.createElement("title",null,f),o&&u.a.createElement("desc",null,o),u.a.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"}),u.a.createElement("path",{clipRule:"evenodd",d:"M26 0V14H40",fillRule:"evenodd",fill:"#C7CACC"}),u.a.createElement("path",{d:"M13.534 22.9863V24.4163H10.245V26.4458H12.984V27.8813H10.245V30.9998H8.375V22.9863H13.534Z",fill:"#414448"}),u.a.createElement("path",{d:"M17.533 30.9998H15.663V22.9863H17.533V30.9998Z",fill:"#414448"}),u.a.createElement("path",{d:"M21.8805 29.5148H24.8505V30.9998H20.0215V22.9863H21.8805V29.5148Z",fill:"#414448"}),u.a.createElement("path",{d:"M31.8846 22.9863V24.4163H28.5956V26.2863H31.1146V27.6613H28.5956V29.5698H31.8846V30.9998H26.7256V22.9863H31.8846Z",fill:"#414448"}))}),A=function(e){var t=e["aria-hidden"],n=e["aria-label"],r=e.className,i=e.desc,o=void 0===i?"":i,a=e.height,s=void 0===a?"50":a,c=e.role,l=void 0===c?"img":c,d=e.title,f=void 0===d?"":d,h=e.width,p=void 0===h?"40":h;return u.a.createElement("svg",{"aria-hidden":t,"aria-label":n,className:r,fill:"none",focusable:"false",height:s,role:l,viewBox:"0 0 40 50",width:p,xmlns:"http://www.w3.org/2000/svg"},f&&u.a.createElement("title",null,f),o&&u.a.createElement("desc",null,o),u.a.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"}),u.a.createElement("path",{clipRule:"evenodd",d:"M26 0V14H40",fill:"#96A9E0",fillRule:"evenodd"}),u.a.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"}),u.a.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"}),u.a.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"}))},P=(n(961),function(e){var t=e["aria-hidden"],n=e["aria-label"],r=e.className,i=e.desc,o=void 0===i?"":i,a=e.height,s=void 0===a?"50":a,c=e.role,l=void 0===c?"img":c,d=e.title,f=void 0===d?"":d,h=e.width,p=void 0===h?"40":h;return u.a.createElement("svg",{"aria-hidden":t,"aria-label":n,className:r,fill:"none",focusable:"false",height:s,role:l,viewBox:"0 0 40 50",width:p,xmlns:"http://www.w3.org/2000/svg"},f&&u.a.createElement("title",null,f),o&&u.a.createElement("desc",null,o),u.a.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"}),u.a.createElement("path",{clipRule:"evenodd",d:"M26 0V14H40",fill:"#EDADA9",fillRule:"evenodd"}),u.a.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"}),u.a.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"}),u.a.createElement("path",{d:"M31.3465 22.9863V24.4163H28.0575V26.4458H30.7965V27.8813H28.0575V30.9998H26.1875V22.9863H31.3465Z",fill:"#771D18"}))}),M=function(e){var t=e["aria-hidden"],n=e["aria-label"],r=e.className,i=e.desc,o=void 0===i?"":i,a=e.height,s=void 0===a?"50":a,c=e.role,l=void 0===c?"img":c,d=e.title,f=void 0===d?"":d,h=e.width,p=void 0===h?"40":h;return u.a.createElement("svg",{"aria-hidden":t,"aria-label":n,className:r,fill:"none",focusable:"false",height:s,role:l,viewBox:"0 0 40 50",width:p,xmlns:"http://www.w3.org/2000/svg"},f&&u.a.createElement("title",null,f),o&&u.a.createElement("desc",null,o),u.a.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"}),u.a.createElement("path",{clipRule:"evenodd",d:"M26 0V14H40",fill:"#F8BFA6",fillRule:"evenodd"}),u.a.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"}),u.a.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"}),u.a.createElement("path",{d:"M31.2008 22.9863V24.4603H28.9458V30.9998H27.0868V24.4603H24.8318V22.9863H31.2008Z",fill:"#7C2B0E"}))},N=function(e){var t=e["aria-hidden"],n=e["aria-label"],r=e.className,i=e.desc,o=void 0===i?"":i,a=e.height,s=void 0===a?"50":a,c=e.role,l=void 0===c?"img":c,d=e.title,f=void 0===d?"":d,h=e.width,p=void 0===h?"40":h;return u.a.createElement("svg",{"aria-hidden":t,"aria-label":n,className:r,fill:"none",focusable:"false",height:s,role:l,viewBox:"0 0 40 50",width:p,xmlns:"http://www.w3.org/2000/svg"},f&&u.a.createElement("title",null,f),o&&u.a.createElement("desc",null,o),u.a.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"}),u.a.createElement("path",{clipRule:"evenodd",d:"M26 0V14H40",fill:"#ABDBF3",fillRule:"evenodd"}),u.a.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"}),u.a.createElement("path",{d:"M23.6162 22.9865V24.4605H21.3612V31H19.5022V24.4605H17.2472V22.9865H23.6162Z",fill:"#144E6C"}),u.a.createElement("path",{d:"M30.5411 22.9865V24.4165H27.2521V26.446H29.9911V27.8815H27.2521V31H25.3821V22.9865H30.5411Z",fill:"#144E6C"}))},L=function(e){var t=e["aria-hidden"],n=e["aria-label"],r=e.className,i=e.desc,o=void 0===i?"":i,a=e.height,s=void 0===a?"50":a,c=e.role,l=void 0===c?"img":c,d=e.title,f=void 0===d?"":d,h=e.width,p=void 0===h?"40":h;return u.a.createElement("svg",{"aria-hidden":t,"aria-label":n,className:r,fill:"none",focusable:"false",height:s,role:l,viewBox:"0 0 40 50",width:p,xmlns:"http://www.w3.org/2000/svg"},f&&u.a.createElement("title",null,f),o&&u.a.createElement("desc",null,o),u.a.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"}),u.a.createElement("path",{clipRule:"evenodd",d:"M26 0V14H40",fill:"#AFD1AE",fillRule:"evenodd"}),u.a.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"}),u.a.createElement("path",{d:"M20.6017 29.5149H23.5717V30.9999H18.7427V22.9864H20.6017V29.5149Z",fill:"#265026"}),u.a.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"}))},I=function(e){var t=e["aria-hidden"],n=e["aria-label"],r=e.className,i=e.desc,o=void 0===i?"":i,a=e.height,s=void 0===a?"50":a,c=e.role,l=void 0===c?"img":c,d=e.title,f=void 0===d?"":d,h=e.width,p=void 0===h?"40":h;return u.a.createElement("svg",{"aria-hidden":t,"aria-label":n,className:r,fill:"none",focusable:"false",height:s,role:l,viewBox:"0 0 40 50",width:p,xmlns:"http://www.w3.org/2000/svg"},f&&u.a.createElement("title",null,f),o&&u.a.createElement("desc",null,o),u.a.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"}),u.a.createElement("path",{clipRule:"evenodd",d:"M26 0V14H40",fillRule:"evenodd",fill:"#ABDBF3"}),u.a.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"}),u.a.createElement("path",{d:"M20.7826 30.9998H18.9126V22.9863H20.7826V30.9998Z",fill:"#124F6E"}),u.a.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"}))},D=n(962),R=n(963),B=(n(964),n(965),n(966),n(967),n(968),n(969),n(970),n(971),n(972),n(973),n(974)),F=(n(975),n(976),n(977),n(978),n(979),n(980),n(981),n(982),n(983)),U=(n(984),n(985)),q=(n(986),n(987)),z=n(988),H=(n(989),n(990),n(991),n(992)),V=(n(993),n(994),n(995),n(996),n(997),n(998),n(4)),W=n.n(V),Y=n(234),G=n.n(Y);function K(e){var t=function(){if("undefined"==typeof Reflect||!y.a)return!1;if(y.a.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(y()(Boolean,[],function(){})),!0}catch(e){return!1}}();return function(){var n,r=Object(k.a)(e);if(t){var i=Object(k.a)(this).constructor;n=y()(r,arguments,i)}else n=r.apply(this,arguments);return Object(x.a)(this,n)}}var $=function(e){Object(w.a)(n,e);var t=K(n);function n(){var e,r;Object(b.a)(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,W()(e=[this]).call(e,o))).maskId="person-unknown-mask-".concat(G()()),r.pathId="person-unknown-path-".concat(G()()),r}return Object(_.a)(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,c=void 0===a?"38":a,l=e.className,d=e.decorative,f=e.focusable,h=void 0===f?"false":f;return u.a.createElement("svg",{"aria-hidden":d,viewBox:"0 0 38 38",width:o,height:c,className:s()("i i-person-unknown",l),focusable:h},n&&u.a.createElement("title",null,n),r&&u.a.createElement("desc",null,r),u.a.createElement("defs",null,u.a.createElement("circle",{id:this.pathId,cx:"19",cy:"19",r:"19"})),u.a.createElement("g",{stroke:"none",strokeWidth:"1",fill:"none",fillRule:"evenodd"},u.a.createElement("mask",{id:this.maskId,fill:"#fff"},u.a.createElement("use",{href:"#".concat(this.pathId)})),u.a.createElement("use",{fill:"#D8D8D8",href:"#".concat(this.pathId)}),u.a.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}(c.Component),X=n(999),Q=(n(1e3),n(1001),n(1002)),Z=(n(1003),n(1004),n(1005),n(579),n(1006),n(1007),n(1008)),J=(n(1009),n(1010),n(1011),n(1012),n(1013),n(1014),n(1015),n(1016),n(1017)),ee=(n(1018),n(1019),n(1020),n(1021),n(1022),n(1023),n(1024),n(1025),n(1026)),te=(n(1027),n(1028),function(e){var t=e["aria-hidden"],n=e["aria-label"],r=e.className,i=e.desc,o=void 0===i?"":i,a=e.height,c=void 0===a?"20":a,l=e.role,d=void 0===l?"img":l,f=e.title,h=void 0===f?"":f,p=e.width,m=void 0===p?"20":p;return u.a.createElement("svg",{"aria-hidden":t,"aria-label":n,className:s()("i i-xMarkFilled",r),focusable:"false",height:c,role:d,viewBox:"0 0 20 20",width:m,xmlns:"http://www.w3.org/2000/svg"},h&&u.a.createElement("title",null,h),o&&u.a.createElement("desc",null,o),u.a.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"}))})},function(e,t,n){var r=n(219),i=n(51),o=n(30),a=n(286),s=n(107);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}})})},function(e,t,n){var r=n(646);e.exports=function(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,r(e,t)},e.exports.default=e.exports,e.exports.__esModule=!0},function(e,t,n){e.exports=n(1488)},function(e,t,n){e.exports=n(1482)},function(e,t,n){var r=n(18),i=n(1335);e.exports=r(function(e,t){return i(e,t,[],[])})},function(e,t,n){e.exports=n(1491)},function(e,t,n){var r=n(58);e.exports=r(function(e,t,n){return e(n)?t(n):n})},function(e,t,n){"use strict";var r=n(3),i=n.n(r),o=n(9),a=n(10),s=n(11),c=n(13),u=n(5),l=n(345);function d(e){var t=function(){if("undefined"==typeof Reflect||!i.a)return!1;if(i.a.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=Object(u.a)(e);if(t){var o=Object(u.a)(this).constructor;n=i()(r,arguments,o)}else n=r.apply(this,arguments);return Object(c.a)(this,n)}}var f=function(e){Object(s.a)(n,e);var t=d(n);function n(){return Object(o.a)(this,n),t.apply(this,arguments)}return Object(a.a)(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("change",e)}},{key:"removeChangeListener",value:function(e){this.removeListener("change",e)}}]),n}(l.EventEmitter);t.a=new f},function(e,t,n){e.exports=n(1346)},function(e,t,n){"use strict";var r=n(41),i=n.n(r),o=n(152),a=n.n(o),s=n(123),c=n.n(s),u=n(162),l=n.n(u),d=n(0),f=n.n(d),h=n(77),p=n(139),m=n.n(p),v=n(24),g=n.n(v),y=n(102),b=n(20);n(1766);function _(e,t){var n=void 0!==c.a&&l()(e)||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=function(e,t){var n;if(!e)return;if("string"==typeof e)return w(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 w(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,u=!0,d=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return u=e.done,e},e:function(e){d=!0,s=e},f:function(){try{u||null==n.return||n.return()}finally{if(d)throw s}}}}function w(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 x=function(e){var t=e.allowTabNavigation,n=e.className,r=void 0===n?"":n,i=e.externalLinksDisabled,o=e.id,a=e.showExternalLinksModal,s=e.tagName,c=e.value,u=Object(d.useRef)(null),l=i?y.b:y.a,h=Object(d.useCallback)(function(e){var t=e.target.closest(".fr-view a");t&&t.hasAttribute("data-external")&&a()},[a]);Object(d.useEffect)(function(){return Object(b.j)({element:u.current,selector:"div.fr-view a",tabIndex:Object(b.l)(t)})});var p=Object(d.useMemo)(function(){return k(l,c)},[l,c]);return f.a.createElement("div",{"aria-hidden":!t,className:"".concat(r," brand--linkColor"),onClickCapture:h,id:o,ref:u},Object(d.createElement)(s,{className:"fr-view",dangerouslySetInnerHTML:{__html:p}}))},k=function(e,t){var n=document.createElement("div");n.innerHTML=e(t);var r,i=_(n.querySelectorAll("table"));try{for(i.s();!(r=i.n()).done;){var o=r.value,a=document.createElement("div");a.className="rise-table-wrap",o.parentNode.replaceChild(a,o),a.appendChild(o)}}catch(e){i.e(e)}finally{i.f()}return n.innerHTML};x.defaultProps={allowTabNavigation:!0,tagName:"div"};var E=m()({externalLinksDisabled:g()(["course","externalLinksDisabled"])}),S=Object(h.b)(E,{showExternalLinksModal:function(){return{type:"rise/globals/SHOW_EXTERNAL_LINKS_MODAL",payload:!0}}});t.a=S(x)},function(e,t,n){var r=n(51),i=n(608);e.exports=r(i)},function(e,t,n){"use strict";n.d(t,"a",function(){return l});var r=n(683),i=n(123),o=n.n(i),a=n(162),s=n.n(a);var c=n(428),u=n(684);function l(e,t){return Object(r.a)(e)||function(e,t){var n=null==e?null:void 0!==o.a&&s()(e)||e["@@iterator"];if(null!=n){var r,i,a=[],c=!0,u=!1;try{for(n=n.call(e);!(c=(r=n.next()).done)&&(a.push(r.value),!t||a.length!==t);c=!0);}catch(e){u=!0,i=e}finally{try{c||null==n.return||n.return()}finally{if(u)throw i}}return a}}(e,t)||Object(c.a)(e,t)||Object(u.a)()}},function(e,t,n){"use strict";var r=n(132),i=n(275).f,o=n(753),a=n(104),s=n(166),c=n(198),u=n(172),l=function(e){var t=function(t,n,r){if(this instanceof e){switch(arguments.length){case 0:return new e;case 1:return new e(t);case 2:return new e(t,n)}return new e(t,n,r)}return e.apply(this,arguments)};return t.prototype=e.prototype,t};e.exports=function(e,t){var n,d,f,h,p,m,v,g,y=e.target,b=e.global,_=e.stat,w=e.proto,x=b?r:_?r[y]:(r[y]||{}).prototype,k=b?a:a[y]||(a[y]={}),E=k.prototype;for(f in t)n=!o(b?f:y+(_?".":"#")+f,e.forced)&&x&&u(x,f),p=k[f],n&&(m=e.noTargetGet?(g=i(x,f))&&g.value:x[f]),h=n&&m?m:t[f],n&&typeof p==typeof h||(v=e.bind&&n?s(h,r):e.wrap&&n?l(h):w&&"function"==typeof h?s(Function.call,h):h,(e.sham||h&&h.sham||p&&p.sham)&&c(v,"sham",!0),k[f]=v,w&&(u(a,d=y+"Prototype")||c(a,d,{}),a[d][f]=h,e.real&&E&&!E[f]&&c(E,f,h)))}},function(e,t,n){var r=n(58),i=n(174);e.exports=r(function(e,t,n){return null!=n&&i(t,n)?n[t]:e})},function(e,t,n){var r=n(126),i=n(331).f,o=n(311),a=n(341),s=n(2158),c=n(2207),u=n(1085);e.exports=function(e,t){var n,l,d,f,h,p=e.target,m=e.global,v=e.stat;if(n=m?r:v?r[p]||s(p,{}):(r[p]||{}).prototype)for(l in t){if(f=t[l],d=e.noTargetGet?(h=i(n,l))&&h.value:n[l],!u(m?l:p+(v?".":"#")+l,e.forced)&&void 0!==d){if(typeof f==typeof d)continue;c(f,d)}(e.sham||d&&d.sham)&&o(f,"sham",!0),a(n,l,f,e)}}},function(e,t,n){var r=n(51),i=n(74);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)})})},function(e,t,n){var r=n(18),i=n(133),o=n(606),a=n(607),s=n(190),c=n(1331),u=n(82);e.exports=r(i(["filter"],c,function(e,t){return a(t)?s(function(n,r){return e(t[r])&&(n[r]=t[r]),n},{},u(t)):o(e,t)}))},function(e,t,n){var r=n(51),i=n(824);e.exports=r(function(e){return null!=e&&i(e.length)?e.length:NaN})},function(e,t,n){var r=n(469);e.exports=function(e){return function t(n){return 0===arguments.length||r(n)?t:e.apply(this,arguments)}}},function(e,t,n){e.exports=n(1324)},function(e,t,n){e.exports=n(1484)},function(e,t,n){var r=n(18),i=n(276),o=n(484),a=n(390),s=n(401);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"')})},function(e,t,n){"use strict";(function(e){n(1879);var r=n(1152),i=n.n(r),o=function(t){var n=t.afterAnimatedIn,r=t.animateBlockEntrance,o=t.animateIn,a=t.animateOnce,s=t.children,c=t.className,u=t.duration,l=t.keepStructure,d=t.initiallyVisible,f=t.isLearner,h=t.offset,p=t.siblingDelay;return f&&r?e.createElement(i.a,{afterAnimatedIn:n,animateIn:o,animateOnce:a,className:c,duration:u,initiallyVisible:d,keepStructure:l,offset:h,scrollableParentSelector:"#page-wrap",siblingDelay:p},s):Array.isArray(s)?e.createElement("div",null,s):s};o.defaultProps={animateOnce:!0,duration:.75,offset:200,siblingDelay:0},t.a=o}).call(this,n(0))},function(e,t,n){var r=n(219),i=n(51),o=n(18),a=n(478);e.exports=o(function(e,t){return 1===e?i(t):r(e,a(e,[],t))})},function(e,t,n){var r,i=n(58);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}))},function(e,t,n){var r=n(51),i=n(18),o=n(469);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)}}}},function(e,t,n){"use strict";n.d(t,"c",function(){return y}),n.d(t,"a",function(){return b}),n.d(t,"b",function(){return _}),n.d(t,"f",function(){return w}),n.d(t,"d",function(){return x}),n.d(t,"e",function(){return k});var r=n(4),i=n.n(r),o=n(108),a=n.n(o),s=n(236),c=n.n(s),u=n(22),l=Object(u.c)("CDN_USER_CONTENT_URI"),d=Object(u.c)("CDN_URI"),f=a()("useCrushedKey"),h=Object(u.c)("IMAGES_URI"),p=c()(/-stock[-_]image.jpg/),m=Object(u.c)("RBC_IMAGES_URI"),v=Object(u.c)("ASSETS_URI"),g=function(e){var t=e.crushedKey,n=e.key,r=e.useCrushedKey,i=e.src;return f(e)?r&&t?Object(u.g)(t):Object(u.g)(n):Object(u.g)(i)},y=function(e){var t,n;if(!e||!e.key)return"";var r=e.crushedKey,o=e.key,a=e.useCrushedKey;return h?f(e)&&a&&r?i()(t="".concat(h,"/f:jpg,b:fff,s:cover,t:true,w:340/")).call(t,r):i()(n="".concat(h,"/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,c=e.useCrushedKey;return h?p(s)?i()(n="".concat(h,"/f:jpg,a:retain,b:fff,w:1680,q:65/")).call(n,s):f(e)?c&&a?i()(r="".concat(l,"/")).call(r,a):i()(o="".concat(l,"/")).call(o,s):i()(t="".concat(h,"/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,c=e.thumbnailKey,u=l?i()(t="".concat(l,"/")).call(t,o):g({key:o,src:a}),d=l?i()(n="".concat(l,"/")).call(n,c):g({key:c,src:s});return"src"===r?u:d},w=function(e){var t=e.height,n=e.imageKey,r=e.width;if(m){var o,a,s,c=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,c)}return Object(u.g)("partnerContent/".concat(n))},x=function(){var e,t=v||h,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):Object(u.g)("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):Object(u.g)("partnerContent/".concat(t))}},function(e,t,n){"use strict";n.d(t,"a",function(){return d}),n.d(t,"b",function(){return f}),n.d(t,"c",function(){return h}),n.d(t,"d",function(){return p});var r=n(15),i=n.n(r),o=n(16),a=n.n(o),s=n(56),c=n.n(s),u=n(1108),l=n.n(u),d=c()(2,function(e,t){return{type:e,payload:t}}),f=(c()(2,function(e,t){return[t,e]}),c()(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)}}}),h=c()(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}}),p=function(e){var t;return i()(t=l()(e)).call(t,a()({type:"SIDE_EFFECT"}))};a()(p(function(){return location.href="/"}))},function(e,t,n){"use strict";n.d(t,"a",function(){return r}),n.d(t,"b",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",dropdownClose:"common.dropdownClose",continueBtn:"common.continueBtn"},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",previewLessonButton:"authoringHeader.previewLessonButton",publishButton:"authoringHeader.publishButton",editBtn:"authoringHeader.editBtn",closeLessonBtn:"authoringHeader.closeLessonBtn",publishModal:{container:"authoringHeader.publishModal",publishButton:"authoringHeader.publishModal.publishButton",libraryToggle:"authoringHeader.publishModal.libraryToggle",libraryOption:"authoringHeader.publishModal.libraryOption"}}}},function(e,t,n){"use strict";n.d(t,"a",function(){return i});var r=new RegExp(/^#([a-f0-9]{6}|[a-f0-9]{3})$/,"i"),i=function(e,t){return r.test(t)?t:e}},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};
/*!
 * Programatically add the following
 */
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]},function(e,t,n){var r=n(16);e.exports=r(!0)},function(e,t,n){var r=n(18),i=n(133),o=n(1332);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}}))},function(e,t,n){var r=n(51),i=n(790),o=n(37);e.exports=r(function(e){return null!=e&&o(e,i(e))})},function(e,t,n){"use strict";n.d(t,"c",function(){return st}),n.d(t,"b",function(){return ut}),n.d(t,"e",function(){return lt}),n.d(t,"a",function(){return dt}),n.d(t,"g",function(){return ft}),n.d(t,"h",function(){return ht}),n.d(t,"f",function(){return wt});var r,i=n(36),o=n.n(i),a=n(53),s=n.n(a),c=n(35),u=n.n(c),l=n(38),d=n.n(l),f=n(101),h=n(8),p=n(52),m=n.n(p),v=n(182),g=n.n(v),y=n(16),b=n.n(y),_=n(27),w=n.n(_),x=n(237),k=n.n(x),E=n(7),S=n.n(E),T=n(54),C=n.n(T),O=n(525),j=n.n(O),A=n(56),P=n.n(A),M=n(225),N=n.n(M),L=n(259),I=n.n(L),D=n(119),R=n.n(D),B=n(49),F=n.n(B),U=n(269),q=n.n(U),z=n(31),H=n.n(z),V=n(437),W=n.n(V),Y=n(82),G=n.n(Y),K=n(50),$=n.n(K),X=n(91),Q=n.n(X),Z=n(87),J=n.n(Z),ee=n(28),te=n.n(ee),ne=n(226),re=n.n(ne),ie=n(143),oe=n.n(ie),ae=n(57),se=n.n(ae),ce=n(145),ue=n.n(ce),le=n(24),de=n.n(le),fe=n(92),he=n.n(fe),pe=n(25),me=n.n(pe),ve=n(14),ge=n.n(ve),ye=n(17),be=n.n(ye),_e=n(107),we=n.n(_e),xe=n(228),ke=n.n(xe),Ee=n(353),Se=n.n(Ee),Te=n(111),Ce=n.n(Te),Oe=n(70),je=n.n(Oe),Ae=n(78),Pe=n.n(Ae),Me=n(39),Ne=n.n(Me),Le=n(60),Ie=n(298),De=n(563),Re=n(564),Be=n(444),Fe=n(461),Ue=n(463),qe=n(565),ze=n(73),He=["type"];function Ve(e,t){var n=m()(e);if(o.a){var r=o()(e);t&&(r=s()(r).call(r,function(t){return u()(e,t).enumerable})),n.push.apply(n,r)}return n}var We=g()(we.a),Ye=C()("rise/course/"),Ge=Ye("BOOKMARK_LESSON"),Ke=Ye("COMPLETE_LESSON_PROGRESS"),$e=Ye("RESET_LESSON_PROGRESS"),Xe=Ye("UPDATE_LESSON_PROGRESS"),Qe=Ye("UPDATE_PLAYHEAD_PERCENTAGE"),Ze=function(e){return function(t,n){var r=n.id;switch(n.type){case"blocks":return e(t,{id:r,updateFn:Ie.a});case"embed":return e(t,{id:r,updateFn:De.a});case"map":return e(t,{id:r,updateFn:Re.b});case"process":return e(t,{id:r,updateFn:Be.a});case"sorting":return e(t,{id:r,updateFn:Fe.a});case"timeline":return e(t,{id:r,updateFn:Ue.b});case"video":return e(t,{id:r,updateFn:qe.a});default:return t}}},Je=function(e){return S()(ze.s,de()(["lessons",e]))},et=se()(J()("passingScore"),Pe()(W.a,b()(0))),tt=S()(et,he()(["id","passed","score","passingScore"])),nt=function(e){return S()(ze.r,tt)(e)},rt=function(e){var t=e.id,n=e.updateFn;return se()(Q()(["lessons",t]),S()(w()("id",t),n))},it=function(e,t){var n=e.id,r=e.type;return R()(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()(ze.d,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}),Ne()(it({id:t,type:n},e),St),Ce()(Je(t)),Ce()(function(e){return S()(Ne()(be()("percentComplete",100),nt),de()(["lessons",e]))}(t)))(e)}},st=Ze(q()(rt)),ct=Ze(ot);t.d=Object(Le.c)({lessons:{},percentComplete:0},(r={},Object(h.a)(r,Ge,function(e,t){return S()(Ce()(ue()(ze.a,[t])),w()("currentLesson",t))(e)}),Object(h.a)(r,Ke,ct),Object(h.a)(r,"rise/course/LOAD_COURSE",function(e,t){return te()(e,Object(ze.h)(pt(t)))}),Object(h.a)(r,$e,function(e,t){var n=t.id;switch(t.type){case"blocks":return ot(e,{id:n,updateFn:Ie.c});case"embed":return ot(e,{id:n,updateFn:De.b});case"map":return ot(e,{id:n,updateFn:Re.c});case"process":return ot(e,{id:n,updateFn:Be.c});case"sorting":return ot(e,{id:n,updateFn:Fe.c});case"timeline":return ot(e,{id:n,updateFn:Ue.c});case"video":return ot(e,{id:n,updateFn:qe.b});default:return e}}),Object(h.a)(r,Xe,ot),Object(h.a)(r,Qe,function(e,t){var n=t.id,r=t.updateFn;return me()(rt({id:n,updateFn:r}),Ce()(Je(n)))(e)}),r));var ut=Object(Le.a)(Ke),lt=Object(Le.a)($e),dt=Object(Le.a)(Ge),ft=Object(Le.a)(Xe),ht=Object(Le.a)(Qe),pt=me()(he()(["course"]),function(e){return me()(de()(["course","lessons"]),We(gt,{}),oe()("lessons"),te()(e))(e)},N()("course")),mt=function(e){var t=e.id,n=e.type,r=e.settings.passingScore;return Ne()(function(e){var t=e.type,n=e.passingScore;return function(){return"quiz"===t&&!H()(n)}}({type:n,passingScore:r}),se()(Q()([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 H()(e)}}(r),function(e){var t=e.id,n=e.items;return function(e){return ke()(Q()([t,"items"]),We(gt,{},n),e)}}({id:t,items:r})))},gt=function(e,t,n){var r=t.type,i=Object(f.a)(t,He);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?Ve(Object(n),!0).forEach(function(t){Object(h.a)(e,t,n[t])}):d.a?Object.defineProperties(e,d()(n)):Ve(Object(n)).forEach(function(t){Object.defineProperty(e,t,u()(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"),je.a,F()(be()(t,!0)),$.a,q()(I.a)(S()($.a,G.a,ge()("items"))(e)),re()(100),Math.round)(e),e)}},wt=_t({key:"isComplete",percent:"percentComplete"}),xt=(_t({key:"isViewed",percent:"percentViewed"}),j()(ge.a,[ge()("currentLesson"),ge()("lessons")])),kt=S()(tt,xt),Et=function(e){return Se()(ze.q,kt,e)},St=function(e){return me()(ke()(J()("percentComplete"),Tt(e)),Ce()(Et))(e)},Tt=function(e){var t=e.lessons;return Math.round($()(m()(F()(ge()("isComplete"),t)))/$()(m()(t))*100)}},function(e,t){e.exports=function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e},e.exports.default=e.exports,e.exports.__esModule=!0},function(e,t,n){var r=n(303),i=n(18);e.exports=i(function(e,t){var n={};for(var i in t)r(i,e)||(n[i]=t[i]);return n})},function(e,t,n){var r=n(51),i=n(82);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})},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}).apply(this,arguments)}n.d(t,"a",function(){return r})},function(e,t,n){"use strict";n.d(t,"b",function(){return xe}),n.d(t,"f",function(){return ke}),n.d(t,"i",function(){return Ee}),n.d(t,"j",function(){return Se}),n.d(t,"e",function(){return Te}),n.d(t,"d",function(){return Oe}),n.d(t,"c",function(){return je}),n.d(t,"a",function(){return Ae}),n.d(t,"g",function(){return Me}),n.d(t,"h",function(){return Ne});var r=n(41),i=n.n(r),o=n(123),a=n.n(o),s=n(162),c=n.n(s),u=n(44),l=n(8),d=n(79),f=n.n(d),h=n(152),p=n.n(h),m=n(15),v=n.n(m),g=n(203),y=n.n(g),b=n(315),_=n.n(b),w=n(260),x=n.n(w),k=n(16),E=n.n(k),S=n(422),T=n.n(S),C=n(526),O=n.n(C),j=(n(100),n(7)),A=n.n(j),P=n(97),M=n.n(P),N=n(74),L=n.n(N),I=n(56),D=n.n(I),R=n(37),B=n.n(R),F=n(49),U=n.n(F),q=n(138),z=n.n(q),H=n(48),V=n.n(H),W=n(290),Y=n.n(W),G=n(80),K=n.n(G),$=n(320),X=n.n($),Q=n(669),Z=n.n(Q),J=n(82),ee=n.n(J),te=n(50),ne=n.n(te),re=n(229),ie=n.n(re),oe=n(30),ae=n.n(oe),se=n(25),ce=n.n(se),ue=n(425),le=n.n(ue),de=n(527),fe=n.n(de),he=n(233),pe=n.n(he);function me(e,t){var n=void 0!==a.a&&c()(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 p()(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,u=!0,l=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return u=e.done,e},e:function(e){l=!0,s=e},f:function(){try{u||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=L()(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 ce()(z()(be("id",t)),K()(ge,E()(n),ye(e,n)))(n)}),D()(3,function(e,t,n){return Z()(t,n[e],fe()(e,1,n))}),L()(function(e,t,n){var r;return f()([],n,(r={},Object(l.a)(r,e,n[t]),Object(l.a)(r,t,n[e]),r))})),we=x()(function(e){var t=Object(u.a)(e,2),n=t[0],r=t[1];return B()(Number(n),Number(r))}),xe=A()(we,pe.a),ke=function(e){return function(t,n){var r=Object(u.a)(n,2),i=r[0],o=r[1],a=X()(Number(i),t),s=X()(Number(o),e);return a===s?t:_e(a,s,t)}},Ee=A()(le()(0),ne.a);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()(Y.a,ae()(_()(e,1)),pe.a)(t)}),Ce=D()(2,function(e,t){return A()(Y.a,U()(O()(e)),pe.a)(t)}),Oe=D()(2,function(e,t){return A()(ee.a,Ce(function(e,n){return t(n)}))(e)}),je=D()(2,function(e,t){return U()(A()(V()(M.a)(t),e))}),Ae=T()(ie()(y.a,0)),Pe=A()(p.a,Array),Me=L()(function(e,t){var n;return v()(n=Pe(t)).call(n,function(){return e})}),Ne=L()(function(e,t,n,r){var i;return v()(i=Pe(n)).call(i,function(n,i){return i===r?t:e})})},function(e,t,n){"use strict";n.d(t,"g",function(){return Zt}),n.d(t,"n",function(){return Jt}),n.d(t,"b",function(){return en}),n.d(t,"c",function(){return tn}),n.d(t,"a",function(){return nn}),n.d(t,"h",function(){return rn}),n.d(t,"r",function(){return on}),n.d(t,"s",function(){return an}),n.d(t,"q",function(){return sn}),n.d(t,"d",function(){return cn}),n.d(t,"e",function(){return un}),n.d(t,"f",function(){return ln}),n.d(t,"i",function(){return dn}),n.d(t,"j",function(){return fn}),n.d(t,"k",function(){return hn}),n.d(t,"m",function(){return pn}),n.d(t,"l",function(){return mn}),n.d(t,"p",function(){return vn}),n.d(t,"u",function(){return gn}),n.d(t,"o",function(){return yn}),n.d(t,"t",function(){return bn});var r,i,o,a=n(136),s=n.n(a),c=n(146),u=n.n(c),l=n(24),d=n.n(l),f=n(14),h=n.n(f),p=n(48),m=n.n(p),v=n(206),g=n.n(v),y=n(102),b=n(8),_=n(7),w=n.n(_),x=n(89),k=n.n(x),E=n(49),S=n.n(E),T=n(163),C=n.n(T),O=n(30),j=n.n(O),A=n(117),P=n.n(A),M=n(224),N=n.n(M),L=n(161),I=n.n(L),D=n(17),R=n.n(D),B=n(70),F=n.n(B),U=function(e){return w()(y.e,e)},q=function(e,t,n){return(e[t]||e.MULTIPLE_CHOICE)(n)},z=function(e){var t=e.startTime;return e.stopTime-t},H=function(e){return q({FILL_IN_THE_BLANK:J,MATCHING:ae,MULTIPLE_CHOICE:G,MULTIPLE_RESPONSE:G},X(e),e)},V=function(e){return q({FILL_IN_THE_BLANK:J,MATCHING:ae,MULTIPLE_CHOICE:ee,MULTIPLE_RESPONSE:ne},X(e),e)},W=function(e){var t=e.item,n=e.itemProgress,r={FILL_IN_THE_BLANK:U(h()("text")),MATCHING:se(t),MULTIPLE_CHOICE:te(t),MULTIPLE_RESPONSE:re(t)};return q(r,X(t),n)},Y=function(e){return[e]},G=w()(j()((r="title",k()(Object(b.a)({},r,y.e)))),h()("answers")),K=U(h()("id")),$=U(h()("title")),X=h()("type"),Q=function(e){return function(t){return S()(R()("id",t),G(e))}},Z=function(e){return m()(N.a)(G(e))},J=w()(I()("title"),G),ee=function(e){return w()(Q(e),h()("correct"))(e)},te=function(e){return w()(Y,Z(e),h()("selectedIndex"))},ne=function(e){return w()(C.a,j()(Q(e)),h()("corrects"))(e)},re=function(e){return w()(C.a,j()(Z(e)),h()("selectedIndices"))},ie=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}}},oe=U(h()("matchTitle")),ae=w()(j()(function(e){var t=K(e);return ie({sourceId:t,sourceTitle:$(e),targetId:t,targetTitle:oe(e)})}),G),se=function(e){return w()(F.a,P()(function(e){return function(t,n){var r=Z(e)(n),i=Z(e)(t);return ie({sourceId:K(r),sourceTitle:$(r),targetId:K(i),targetTitle:oe(i)})}}(e)),h()("matches"))},ce=n(36),ue=n.n(ce),le=n(53),de=n.n(le),fe=n(35),he=n.n(fe),pe=n(38),me=n.n(pe),ve=n(101),ge=n(4),ye=n.n(ge),be=n(52),_e=n.n(be),we=n(541),xe=n.n(we),ke=n(79),Ee=n.n(ke),Se=n(436),Te=n(43),Ce=n.n(Te),Oe=n(28),je=n.n(Oe),Ae="p",Pe="i",Me=n(67),Ne=n(383),Le=n(22),Ie=n(562),De=n(682),Re=n(685),Be=n(289),Fe=n.n(Be),Ue=n(179),qe=n.n(Ue),ze=n(25),He=n.n(ze),Ve="prod"===Object(Le.c)("SERVICE_ENV")?"com":"zone",We=He()(Fe.a,qe()(new RegExp("https://images.riseusercontent.".concat(Ve,"/"),"g"),"".concat(Object(Le.c)("IMAGES_URI"),"/")),qe()(new RegExp("https://riseusercontent.".concat(Ve,"/"),"g"),"".concat(Object(Le.c)("CDN_USER_CONTENT_URI"),"/")),qe()(new RegExp("https://video.rise.".concat(Ve,"/"),"g"),"https://video.riseusercontent.".concat(Ve,"/")),JSON.parse),Ye=n(321),Ge=n.n(Ye),Ke=n(27),$e=n.n(Ke),Xe=n(108),Qe=n.n(Xe),Ze=n(76),Je=n.n(Ze),et=n(66),tt=n.n(et),nt=n(31),rt=n.n(nt),it=n(82),ot=n.n(it),at=n(144),st=n.n(at),ct=n(87),ut=n.n(ct),lt=n(207),dt=n.n(lt),ft=n(92),ht=n.n(ft),pt=n(46),mt=n.n(pt),vt=n(228),gt=n.n(vt),yt=n(78),bt=n.n(yt),_t=n(39),wt=n.n(_t),xt=function(e){return!!e},kt=(i={},Object(b.a)(i,"a",["activeIndex",Ce.a]),Object(b.a)(i,"vp",["audioVideoPlayhead",Number]),Object(b.a)(i,"c",["isComplete",xt]),Object(b.a)(i,"n",["correctlyAnswered",Ce.a]),Object(b.a)(i,Ae,["percentComplete",Ce.a]),Object(b.a)(i,"r",["retryAttempts",Ce.a]),Object(b.a)(i,"s",["score",Ce.a]),Object(b.a)(i,"t",["currentTime",Ce.a]),Object(b.a)(i,"v",["percentViewed",Ce.a]),Object(b.a)(i,"rr",["reportResults",Ce.a]),Object(b.a)(i,"pq",["passed",Ce.a]),Object(b.a)(i,"ps",["passingScore",Ce.a]),Object(b.a)(i,"qd",["questionsDrawn",Ce.a]),Object(b.a)(i,"ql",["questionList",j()(j()(Ce.a))]),i),Et=function(e){return function(t,n){var r=st()(Ot[n])(t);return n===Pe&&(r=r(h()("items",e))),Object(b.a)({},Je()(Ot[n]),r)}},St=function(e){return j()(function(e){return function(t){var n=e[t.index];return bt()(function(){return rt()(n)},function(){return w()(je()(t),dt.a,F.a,P()(Et(t)))(n)})(t)}}(e))},Tt=w()(dt.a,F.a,P()(Et(null))),Ct=function(e){return function(t){var n=h()(Pe,e),r=h()("items",t);return w()(wt()(function(){return Ge()([Qe()("ql"),R()("qd",!0)])(e)},function(e){var t=j()(Tt,n);return $e()("originalItemProgress",t,e)}),je()(t),bt()(function(){return tt()(n)},gt()(ut()("items"),St(n)(r))),dt.a,F.a,P()(function(e){return function(t,n){return $e()([Je()(kt[n])],st()(kt[n])(t),e)}}(t)))(ht()(ot()(kt),e))}};var Ot=(o={},Object(b.a)(o,"vp",["audioVideoPlayhead",Number]),Object(b.a)(o,"n",["correctlyAnswered",Ce.a]),Object(b.a)(o,"c",["isComplete",xt]),Object(b.a)(o,"k",["isCorrect",xt]),Object(b.a)(o,"v",["isViewed",xt]),Object(b.a)(o,Pe,["items",St]),Object(b.a)(o,"pv",["percentViewed",Ce.a]),Object(b.a)(o,"m",["matches",Ce.a]),Object(b.a)(o,"s",["selectedIndex",Ce.a]),Object(b.a)(o,"x",["selectedIndices",Ce.a]),Object(b.a)(o,"t",["text",Ce.a]),o),jt=n(143),At=n.n(jt),Pt=n(129),Mt=n.n(Pt),Nt={activeIndex:["a",Ce.a],audioVideoPlayhead:["vp",Number],correctlyAnswered:["n",Ce.a],currentTime:["t",Ce.a],isComplete:["c",Number],passingScore:["ps",Ce.a],percentComplete:[Ae,Ce.a],percentViewed:["v",Ce.a],retryAttempts:["r",Ce.a],score:["s",Ce.a],questionsDrawn:["qd",Ce.a],questionList:["ql",j()(j()(Ce.a))],reportResults:["rr",Ce.a],passed:["pq",Ce.a]},Lt=function(e,t){return Object(b.a)({},Je()(Bt[t]),st()(Bt[t])(e))},It=w()(dt.a,F.a,j()(function(e){return w()(bt()(tt.a,At()(h()("index",e))),dt.a,F.a,P()(Lt))(Mt()(tt.a,ht()(ot()(Bt),e)))})),Dt=function(e,t){return Object(b.a)({},Je()(Nt[t]),st()(Nt[t])(e))};var Rt=w()(At()(Ae),mt()(0,"percentComplete")),Bt={audioVideoPlayhead:["vp",Number],correctlyAnswered:["n",Ce.a],isComplete:["c",Number],isCorrect:["k",Number],isViewed:["v",Number],items:[Pe,It],matches:["m",Ce.a],percentViewed:["pv",Ce.a],selectedIndex:["s",Ce.a],selectedIndices:["x",j()(Number)],text:["t",Ce.a]},Ft=["id","type"],Ut=["id","type"];function qt(e,t){var n=_e()(e);if(ue.a){var r=ue()(e);t&&(r=de()(r).call(r,function(t){return he()(e,t).enumerable})),n.push.apply(n,r)}return n}function zt(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?qt(Object(n),!0).forEach(function(t){Object(b.a)(e,t,n[t])}):me.a?Object.defineProperties(e,me()(n)):qt(Object(n)).forEach(function(t){Object.defineProperty(e,t,he()(n,t))})}return e}var Ht=function(e){return(window.env||{})[e]},Vt=function(){return!!window.contentId},Wt=Vt()&&!Le.e?We:Ce.a,Yt={fetch:function(){if($t.isExport||window.courseData||window.course)return Object(De.a)(Ie.a,{});var e,t,n;return Object(Se.a)({method:"GET",url:window.shareId?ye()(e="".concat(Ht("RISE_RUNTIME_URI"),"/boot/share/")).call(e,window.shareId):Vt()?ye()(t="".concat(Ht("RISE_RUNTIME_URI"),"/boot/businessContent/")).call(t,window.contentId):ye()(n="".concat(Ht("RISE_RUNTIME_URI"),"/boot/")).call(n,window.courseId),json:!0,withCredentials:!0}).then(h()("body")).then(Ie.a).then(Wt)},fetchPartnerContent:function(e){return $t.isExport||window.partnerContent?g.a.of(window.partnerContent.content):Object(Re.a)(e)},getEnv:Ht,isPasswordProtected:function(){return!!window.shareId&&!!window.hasPassword},isShare:function(){return!!window.shareId},resolvePath:function(e){var t;return ye()(t="".concat(Ht("CDN_USER_CONTENT_URI"),"/")).call(t,e)},verifySharePassword:function(e){return Object(Se.a)({method:"POST",url:"".concat(Ht("RISE_RUNTIME_URI"),"/password"),data:{shareId:window.shareId,password:e},json:!0}).then(h()("body"))}},Gt=function(e,t){return e+((t||{}).c||0)},Kt=function(e,t){return function(n,r){var i=r.id,o=r.type,a=Object(ve.a)(r,Ut);return t.lessons[i]?je()(n,e(function(e,t){var n=t.id,r=t.type,i=Object(ve.a)(t,Ft);return"quiz"===r?Object(Ne.a)(e,zt({id:n},i)):Object(Me.c)(e,{id:n,type:r})}(t,zt({id:i,type:o},a)).lessons[i])):n}};window.Rise=Ee()(window.Rise||{},{completeLessons:function(e,t,n){var r=t.reduce(Kt(e,n),{}),i=_e()(n.lessons||{}).length,o=xe()(r).reduce(Gt,0);return{lessons:r,p:Math.round(o/i*100)}},decodeCourseProgress:function(e,t){var n=h()("lessons",t);return bt()(function(){return tt()(n)},w()($e()("percentComplete",mt()(0,Ae,t)),k()({lessons:j()(function(e){var t=h()(e.index,n);return bt()(function(){return rt()(t)},Ct(t))(e)})})))(e)},encodeCourseProgress:Rt,encodeLessonProgress:function(e){var t=h()("items",e),n=h()("index",e);return w()(At()(n),bt()(function(){return tt()(t)},gt()(ut()(Pe),It(t))),dt.a,F.a,P()(Dt))(ht()(ot()(Nt),e))}});var $t=je()(Yt,window.Runtime||{}),Xt=$t,Qt=(m()(h.a)(window.env||{}),function(e){return Xt&&Xt[e]});function Zt(e){return Qt("getMasteryScore")?Xt.getMasteryScore(e):e.passingScore}function Jt(e){if(Qt("onCreateHistory"))return Xt.onCreateHistory(e)}function en(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return Qt("fetch")?s.a.resolve(Xt.fetch()):s.a.resolve(e)}function tn(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];return Qt("fetchPartnerContent")?Xt.fetchPartnerContent(e):g.a.of({content:[]})}function nn(e){if(Qt("bookmark"))return Xt.bookmark(e)}function rn(e){return Qt("getProgress")?Xt.getProgress(e):e}function on(e){return Qt("setLessonComplete")?Xt.setLessonComplete(e):e}function an(e){return Qt("setLessonProgress")?Xt.setLessonProgress(e):e}function sn(e,t){return Qt("setCourseProgress")?Xt.setCourseProgress(e,t):e}function cn(e){if(Qt("finish"))return Xt.finish(e)}function un(e,t,n,r){Qt("finishQuiz")&&Xt.finishQuiz(e,t,n,r)}function ln(e,t,n,r){Qt("finishStoryline")&&Xt.finishStoryline(e,t,n,r)}function dn(){return Qt("isComplete")?Xt.isComplete():null}function fn(){return!!Qt("isExport")&&Xt.isExport()}function hn(){if(Qt("isExport")){var e=d()(["partnerContent","content"],window);return Xt.isExport()&&e}return!1}function pn(){return!!Qt("isShare")&&Xt.isShare()}function mn(){return!!Qt("isPasswordProtected")&&Xt.isPasswordProtected()}function vn(e){var t=e||"";return Qt("resolvePath")?u()(t).call(t,"http")||u()(t).call(t,"data:")||u()(t).call(t,"//")?t:Xt.resolvePath(t):u()(t).call(t,"data:")||u()(t).call(t,"http")||u()(t).call(t,"//")?t:"/".concat(t)}function gn(e){return Qt("verifySharePassword")?Xt.verifySharePassword(e):s.a.resolve({isValid:!0})}function yn(e){if(Qt("reportAnswer")){var t=e.id,n=e.isCorrect,r=e.item,i=e.itemProgress,o=e.duration,a=e.retryAttempts,s=e.title,c=r.id,u=r.title,l=r.type;return Xt.reportAnswer({id:t,type:l,isCorrect:n,itemId:c,questionTitle:Object(y.e)(u),quizTitle:Object(y.e)(s),retryAttempts:a,answers:H(r),correctResponse:V(r),response:W({item:r,itemProgress:i}),latency:z(o)})}return!1}function bn(e){if(Qt("startLesson"))return Xt.startLesson(e)}},function(e,t,n){var r=n(51),i=n(56);e.exports=r(function(e){return i(e.length,e)})},function(e,t,n){var r=n(904);e.exports=function(e,t,n){var i=null==e?void 0:r(e,t);return void 0===i?n:i}},function(e,t,n){var r=n(224);e.exports=r(0)},function(e,t,n){"use strict";n.d(t,"a",function(){return c.a}),n.d(t,"c",function(){return c.c}),n.d(t,"b",function(){return l}),n.d(t,"d",function(){return d});var r=n(146),i=n.n(r),o=n(7),a=n.n(o),s=n(0);var c=n(314),u=n(86);function l(){return a()(c.b.apply(void 0,arguments),u.f)}function d(e,t){var n,r=Object(s.useContext)(u.e),o=Object(s.useContext)(u.c),a=Object(s.useRef)(null),l=!function(){var e=Object(s.useRef)(!0);return e.current?(e.current=!1,!0):e.current}()&&r&&(null==o?void 0:null===(n=i()(o))||void 0===n?void 0:n.call(o,"exit")),d=Object(c.d)(function(t){if(!l)return e(t)},t);return l||(a.current=d),a.current}},function(e,t,n){var r=n(58);e.exports=r(function(e,t,n){return e(n)?n:t(n)})},function(e,t,n){e.exports=n(1312)},function(e,t,n){var r=n(58),i=n(56);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)})})},function(e,t,n){"use strict";e.exports=n(509),e.exports.easing=n(1998),e.exports.canvas=n(1999),e.exports.options=n(2e3)},function(e,t,n){var r,i,o,a,s=n(51),c=n(174),u=n(770);e.exports=(r=!{toString:null}.propertyIsEnumerable("toString"),i=["constructor","valueOf","isPrototypeOf","toString","propertyIsEnumerable","hasOwnProperty","toLocaleString"],o=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},"function"!=typeof Object.keys||o?s(function(e){if(Object(e)!==e)return[];var t,n,s=[],l=o&&u(e);for(t in e)!c(t,e)||l&&"length"===t||(s[s.length]=t);if(r)for(n=i.length-1;n>=0;)c(t=i[n],e)&&!a(s,t)&&(s[s.length]=t),n-=1;return s}):s(function(e){return Object(e)!==e?[]:Object.keys(e)}))},function(e,t){e.exports=
/** @license ISC License (c) copyright 2016 original and current authors */
function(e){return"function"==typeof e}},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(1252)},function(e,t,n){"use strict";n.d(t,"a",function(){return o});var r=n(9),i=n(10),o=function(){function e(){Object(r.a)(this,e)}return Object(i.a)(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}()},function(e,t,n){"use strict";(function(e){n.d(t,"c",function(){return w}),n.d(t,"e",function(){return x}),n.d(t,"d",function(){return k}),n.d(t,"b",function(){return S}),n.d(t,"a",function(){return T}),n.d(t,"f",function(){return C});var r=n(3),i=n.n(r),o=n(9),a=n(10),s=n(6),c=n(11),u=n(13),l=n(5),d=n(19),f=n(4),h=n.n(f),p=n(146),m=n.n(p),v=n(0),g=n(2203),y=n(727),b=n(2202);function _(e){var t=function(){if("undefined"==typeof Reflect||!i.a)return!1;if(i.a.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=Object(l.a)(e);if(t){var o=Object(l.a)(this).constructor;n=i()(r,arguments,o)}else n=r.apply(this,arguments);return Object(u.a)(this,n)}}var w=Object(v.createContext)(null),x=Object(v.createContext)(!1),k=Object(v.forwardRef)(function(t,n){return e.createElement(x.Provider,{value:!0},e.createElement(g.a,Object(d.a)({ref:n},t)))});function E(t){var n=function(n){Object(c.a)(i,n);var r=_(i);function i(){var e,t;Object(o.a)(this,i);for(var n=arguments.length,a=new Array(n),c=0;c<n;c++)a[c]=arguments[c];return(t=r.call.apply(r,h()(e=[this]).call(e,a))).onEnterDelegate=t.onTransition.bind(Object(s.a)(t),"enter"),t.onEnteringDelegate=t.onTransition.bind(Object(s.a)(t),"entering"),t.onEnteredDelegate=t.onTransition.bind(Object(s.a)(t),"entered"),t.onExitDelegate=t.onTransition.bind(Object(s.a)(t),"exit"),t.onExitingDelegate=t.onTransition.bind(Object(s.a)(t),"exiting"),t.onExitedDelegate=t.onTransition.bind(Object(s.a)(t),"exited"),t.state={transitionState:null},t}return Object(a.a)(i,[{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 e.createElement(w.Provider,{value:this.state.transitionState},e.createElement(t,Object(d.a)({},this.props,{onEnter:this.onEnterDelegate,onEntering:this.onEnteringDelegate,onEntered:this.onEnteredDelegate,onExit:this.onExitDelegate,onExiting:this.onExitingDelegate,onExited:this.onExitedDelegate})))}}]),i}(v.Component);return n.defaultProps={onEnter:Function.prototype,onEntering:Function.prototype,onEntered:Function.prototype,onExit:Function.prototype,onExiting:Function.prototype,onExited:Function.prototype},n.displayName="withStaleTransitionState(".concat(t.displayName||t.name,")"),n}var S=E(y.a),T=E(b.a);function C(t){var n=Object(v.forwardRef)(function(n,r){var i,o,a,s,c,u=(i=n,a=Object(v.useContext)(x),s=Object(v.useContext)(w),c=Object(v.useRef)(i),a&&null!=s&&null!==(o=m()(s))&&void 0!==o&&o.call(s,"exit")||(c.current=i),c.current);return e.createElement(t,Object(d.a)({ref:r},u))});return n.displayName="withTranstionableState(".concat(t.displayName||t.name,")"),n}}).call(this,n(0))},function(e,t,n){var r=n(51),i=n(27),o=n(489),a=n(14);e.exports=r(function(e){return o(a(e),i(e))})},function(e,t,n){"use strict";(function(e){n.d(t,"a",function(){return p});var r=n(3),i=n.n(r),o=n(9),a=n(10),s=n(11),c=n(13),u=n(5),l=n(1),d=n.n(l),f=n(42);function h(e){var t=function(){if("undefined"==typeof Reflect||!i.a)return!1;if(i.a.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=Object(u.a)(e);if(t){var o=Object(u.a)(this).constructor;n=i()(r,arguments,o)}else n=r.apply(this,arguments);return Object(c.a)(this,n)}}var p=function(t){Object(s.a)(r,t);var n=h(r);function r(){return Object(o.a)(this,r),n.apply(this,arguments)}return Object(a.a)(r,[{key:"render",value:function(){var t=this.props,n=t.allowTabNavigation,r=t.className,i=t.id,o=t.tagName,a=t.value;return a?e.createElement(f.a,{className:r,value:a,allowTabNavigation:n,tagName:o,id:i}):null}}],[{key:"propTypes",get:function(){return{value:d.a.string,className:d.a.string,allowTabNavigation:d.a.bool,tagName:d.a.string,id:d.a.string}}},{key:"defaultProps",get:function(){return{allowBold:!0,placeholder:"",editable:!1,allowTabNavigation:!0,hasQuickInsert:!0}}}]),r}(e.Component)}).call(this,n(0))},function(e,t,n){var r=n(18);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})},function(e,t,n){"use strict";(function(e){n.d(t,"b",function(){return g}),n.d(t,"a",function(){return y});var r=n(445),i=n(7),o=n.n(i),a=n(1102),s=n.n(a),c=n(1103),u=n.n(c),l=n(1104),d=n.n(l),f=n(1105),h=n.n(f),p=(n(73),n(60)),m=n(1189),v=(e.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__,o.a),g=Object(r.c)(Object(r.b)(m.a),v(Object(r.a)(h.a,d.a,u()("run"),s.a,p.b))),y=g.dispatch}).call(this,n(96))},function(e,t,n){var r=n(51),i=n(843),o=n(489),a=n(24);e.exports=r(function(e){return o(a(e),i(e))})},function(e,t,n){var r=n(18);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})},function(e,t,n){"use strict";n.d(t,"j",function(){return l}),n.d(t,"k",function(){return f}),n.d(t,"i",function(){return h}),n.d(t,"b",function(){return p}),n.d(t,"d",function(){return m}),n.d(t,"h",function(){return v}),n.d(t,"a",function(){return g}),n.d(t,"c",function(){return y}),n.d(t,"g",function(){return b}),n.d(t,"e",function(){return w}),n.d(t,"f",function(){return x});var r=n(4),i=n.n(r),o=n(363),a=n.n(o),s=n(211),c=n.n(s),u=(n(97),n(22)),l=function(){return u.e?Object(u.c)("SESSION_COOKIE_NAME"):"_articulate_rise_"},d=function(e,t){var n,r;return i()(n=i()(r="".concat(e,"=")).call(r,t,"; domain=")).call(n,Object(u.c)("SESSION_COOKIE_DOMAIN"),"; path=/; secure=true")},f=function(e){return document.cookie=d("_articulate_user_id",e)},h=function(){return document.cookie="".concat(d("_articulate_user_id",""),"; Max-Age=-99999999")},p=function(){return a.a.load("_articulate_user_id")},m=function(){return a.a.load(l())},v=function(){return!!m()&&c()(m()).staff},g=function(){return m()?c()(m()).riseId||c()(m()).sub||c()(m()).aid:""},y=function(){return m()?c()(m()).roles:[]},b=function(){return m()?c()(m()).tenantId:""},_=function(){return m()&&c()(m()).subscription||{}},w=function(){return _().plan_id||""},x=function(){return _().status||""}},function(e,t,n){var r=n(147);e.exports=function(e){if(!r(e))throw TypeError(String(e)+" is not an object");return e}},function(e,t,n){"use strict";n.d(t,"a",function(){return i}),n.d(t,"b",function(){return o});var r=n(111),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)}}},function(e,t){var n;n=function(){return this}();try{n=n||new Function("return this")()}catch(e){"object"==typeof window&&(n=window)}e.exports=n},function(e,t,n){var r=n(303),i=n(18);e.exports=i(r)},function(e,t,n){e.exports=n(1318)},function(e,t,n){"use strict";n.d(t,"b",function(){return o}),n.d(t,"c",function(){return a}),n.d(t,"h",function(){return s}),n.d(t,"g",function(){return c}),n.d(t,"d",function(){return u}),n.d(t,"e",function(){return l}),n.d(t,"f",function(){return d}),n.d(t,"a",function(){return f}),n.d(t,"i",function(){return h});var r=n(212),i=n.n(r),o="#000",a=(i()({ACCENT:null,DARK:null,LIGHT:null}),i()({LARGE:null,MEDIUM:null,SMALL:null}),i()({ACCENT:null,DARK:null,GRAY:null,IMAGE:null,LIGHT:null,TINT:null})),s=i()({COMPACT:null,OVERLAY:null,SIDEBAR:null}),c=i()({DARK:null,DARK_IMAGE:null,LIGHT:null,LIGHT_IMAGE:null}),u=i()({DARK:null,DARK_ACCENT:null,DARK_IMAGE:null,LIGHT:null,LIGHT_ACCENT:null,LIGHT_IMAGE:null}),l={FREE:"free",RESTRICTED:"restricted"},d=i()({ACCENT:null,DARK:null,IMAGE:null,LIGHT:null,TINT:null}),f=(i()({ACCENT:null,DARK:null,LIGHT:null}),i()({ACCENT:null,DARK:null,LIGHT:null,TINT:null})),h={CLOSED:"closed",HIDDEN:"hidden",OPEN:"open"}},function(e,t,n){var r=n(485),i=n(112);e.exports=r(i)},function(e,t,n){"use strict";n.d(t,"a",function(){return u});var r=n(36),i=n.n(r),o=n(352),a=n.n(o),s=n(52),c=n.n(s);function u(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,i={},o=c()(e);for(r=0;r<o.length;r++)n=o[r],a()(t).call(t,n)>=0||(i[n]=e[n]);return i}(e,t);if(i.a){var s=i()(e);for(r=0;r<s.length;r++)n=s[r],a()(t).call(t,n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}},function(e,t,n){"use strict";n.d(t,"b",function(){return A}),n.d(t,"c",function(){return P}),n.d(t,"e",function(){return M}),n.d(t,"d",function(){return N});var r=n(41),i=n.n(r),o=n(152),a=n.n(o),s=n(123),c=n.n(s),u=n(162),l=n.n(u),d=n(16),f=n.n(d),h=n(7),p=n.n(h),m=n(48),v=n.n(m),g=n(43),y=n.n(g),b=n(80),_=n.n(b),w=n(1101),x=n.n(w),k=n(238);function E(e,t){var n=void 0!==c.a&&l()(e)||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=function(e,t){var n;if(!e)return;if("string"==typeof e)return S(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 S(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,u=!0,d=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return u=e.done,e},e:function(e){d=!0,s=e},f:function(){try{u||null==n.return||n.return()}finally{if(d)throw s}}}}function S(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var T=v()(x.a),C=T({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"]}),O=T({allowedAttributes:{iframe:["align","allow","allowfullscreen","frameborder","height","longdesc","marginheight","marginwidth","name","referrerpolicy","sandbox","scrolling","src","width"]},allowedTags:["iframe"],allowedSchemes:["http","https"]}),j=_()(y.a,C,f()("")),A=p()(function(e){var t=document.createElement("div");t.innerHTML=e;var n,r=E(t.querySelectorAll("a"));try{for(r.s();!(n=r.n()).done;){var i=n.value;Object(k.a)(i.href)&&(i.removeAttribute("href"),i.removeAttribute("rel"),i.removeAttribute("target"),i.setAttribute("data-external",""),i.setAttribute("role","button"))}}catch(e){r.e(e)}finally{r.f()}return t.innerHTML},j),P=_()(y.a,O,f()("")),M=T({allowedTags:[],allowedAttributes:[]}),N=T({allowedTags:["mark"],allowedAttributes:[]});t.a=j},function(e,t,n){"use strict";n.d(t,"b",function(){return r}),n.d(t,"c",function(){return i}),n.d(t,"e",function(){return o}),n.d(t,"f",function(){return a}),n.d(t,"g",function(){return s}),n.d(t,"d",function(){return c}),n.d(t,"a",function(){return u});var r="group",i="heading",o="tablist",a="tabpanel",s="tab",c=function(e){var t=e.element,n=e.isHidden;t&&t.setAttribute("aria-hidden",n)},u=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"}}},function(e,t){e.exports={}},function(e,t){e.exports=!0},function(e,t,n){"use strict";var r=n(81);e.exports={_set:function(e,t){return r.merge(this[e]||(this[e]={}),t)}}},function(e,t,n){var r=n(58),i=n(190);e.exports=r(i)},function(e,t,n){var r=n(18),i=n(174);e.exports=r(i)},function(e,t,n){
/** @license ISC License (c) copyright 2016 original and current authors */
var r=n(115),i=n(83);e.exports=function(e){if(!i(e))throw new TypeError("curry: Function required");return r(e)}},function(e,t,n){"use strict";n.d(t,"a",function(){return O}),n.d(t,"b",function(){return k}),n.d(t,"c",function(){return L}),n.d(t,"d",function(){return x}),n.d(t,"e",function(){return C}),n.d(t,"f",function(){return R}),n.d(t,"g",function(){return I});var r=n(140),i=n(0),o=n.n(i),a=(n(1),n(71));function s(e){return"/"===e.charAt(0)}function c(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 u=function(e,t){void 0===t&&(t="");var n,r=e&&e.split("/")||[],i=t&&t.split("/")||[],o=e&&s(e),a=t&&s(t),u=o||a;if(e&&s(e)?i=r:r.length&&(i.pop(),i=i.concat(r)),!i.length)return"/";if(i.length){var l=i[i.length-1];n="."===l||".."===l||""===l}else n=!1;for(var d=0,f=i.length;f>=0;f--){var h=i[f];"."===h?c(i,f):".."===h?(c(i,f),d++):d&&(c(i,f),d--)}if(!u)for(;d--;d)i.unshift("..");!u||""===i[0]||i[0]&&s(i[0])||i.unshift("");var p=i.join("/");return n&&"/"!==p.substr(-1)&&(p+="/"),p};var l=n(159);function d(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 f(e,t,n,r){var i;"string"==typeof e?(i=function(e){var t=e||"/",n="",r="",i=t.indexOf("#");-1!==i&&(r=t.substr(i),t=t.substr(0,i));var o=t.indexOf("?");return-1!==o&&(n=t.substr(o),t=t.substr(0,o)),{pathname:t,search:"?"===n?"":n,hash:"#"===r?"":r}}(e)).state=t:(void 0===(i=Object(a.a)({},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=u(i.pathname,r.pathname)):i.pathname=r.pathname:i.pathname||(i.pathname="/"),i}function h(){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 p(e,t,n){return Math.min(Math.max(e,t),n)}var m=n(706),v=n(707),g=n.n(v),y=(n(522),n(135)),b=n(434),_=n.n(b),w=function(e){var t=Object(m.a)();return t.displayName=e,t}("Router-History"),x=function(e){var t=Object(m.a)();return t.displayName=e,t}("Router"),k=function(e){function t(t){var n;return(n=e.call(this,t)||this).state={location:t.history.location},n._isMounted=!1,n._pendingLocation=null,t.staticContext||(n.unlisten=t.history.listen(function(e){n._isMounted?n.setState({location:e}):n._pendingLocation=e})),n}Object(r.a)(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 o.a.createElement(x.Provider,{value:{history:this.props.history,location:this.state.location,match:t.computeRootMatch(this.state.location.pathname),staticContext:this.props.staticContext}},o.a.createElement(w.Provider,{children:this.props.children||null,value:this.props.history}))},t}(o.a.Component);o.a.Component;o.a.Component;var E={},S=1e4,T=0;function C(e,t){void 0===t&&(t={}),("string"==typeof t||Array.isArray(t))&&(t={path:t});var n=t,r=n.path,i=n.exact,o=void 0!==i&&i,a=n.strict,s=void 0!==a&&a,c=n.sensitive,u=void 0!==c&&c;return[].concat(r).reduce(function(t,n){if(!n&&""!==n)return null;if(t)return t;var r=function(e,t){var n=""+t.end+t.strict+t.sensitive,r=E[n]||(E[n]={});if(r[e])return r[e];var i=[],o={regexp:g()(e,i,t),keys:i};return T<S&&(r[e]=o,T++),o}(n,{end:o,strict:s,sensitive:u}),i=r.regexp,a=r.keys,c=i.exec(e);if(!c)return null;var l=c[0],d=c.slice(1),f=e===l;return o&&!f?null:{path:n,url:"/"===n&&""===l?"/":l,isExact:f,params:a.reduce(function(e,t,n){return e[t.name]=d[n],e},{})}},null)}var O=function(e){function t(){return e.apply(this,arguments)||this}return Object(r.a)(t,e),t.prototype.render=function(){var e=this;return o.a.createElement(x.Consumer,null,function(t){t||Object(l.a)(!1);var n=e.props.location||t.location,r=e.props.computedMatch?e.props.computedMatch:e.props.path?C(n.pathname,e.props):t.match,i=Object(a.a)({},t,{location:n,match:r}),s=e.props,c=s.children,u=s.component,d=s.render;return Array.isArray(c)&&0===c.length&&(c=null),o.a.createElement(x.Provider,{value:i},i.match?c?"function"==typeof c?c(i):c:u?o.a.createElement(u,i):d?d(i):null:"function"==typeof c?c(i):null)})},t}(o.a.Component);function j(e){return"/"===e.charAt(0)?e:"/"+e}function A(e,t){if(!e)return t;var n=j(e);return 0!==t.pathname.indexOf(n)?t:Object(a.a)({},t,{pathname:t.pathname.substr(n.length)})}function P(e){return"string"==typeof e?e:d(e)}function M(e){return function(){Object(l.a)(!1)}}function N(){}o.a.Component;var L=function(e){function t(){return e.apply(this,arguments)||this}return Object(r.a)(t,e),t.prototype.render=function(){var e=this;return o.a.createElement(x.Consumer,null,function(t){t||Object(l.a)(!1);var n,r,i=e.props.location||t.location;return o.a.Children.forEach(e.props.children,function(e){if(null==r&&o.a.isValidElement(e)){n=e;var s=e.props.path||e.props.from;r=s?C(i.pathname,Object(a.a)({},e.props,{path:s})):t.match}}),r?o.a.cloneElement(n,{location:i,computedMatch:r}):null})},t}(o.a.Component);function I(e){var t="withRouter("+(e.displayName||e.name)+")",n=function(t){var n=t.wrappedComponentRef,r=Object(y.a)(t,["wrappedComponentRef"]);return o.a.createElement(x.Consumer,null,function(t){return t||Object(l.a)(!1),o.a.createElement(e,Object(a.a)({},r,t,{ref:n}))})};return n.displayName=t,n.WrappedComponent=e,_()(n,e)}var D=o.a.useContext;function R(e){var t=D(x).location,n=D(x).match;return e?C(t.pathname,e):n}},function(e,t,n){var r=n(18);e.exports=r(function(e,t){return e(t),t})},function(e,t,n){var r=n(51);e.exports=r(function(e){return!e})},function(e,t,n){"use strict";n.d(t,"a",function(){return w}),n.d(t,"b",function(){return m}),n.d(t,"c",function(){return v}),n.d(t,"d",function(){return _}),n.d(t,"e",function(){return g});var r=n(44),i=n(686),o=n.n(i),a=n(326),s=n.n(a),c=n(41),u=n.n(c),l=n(15),d=n.n(l),f=n(457),h=n.n(f),p=function(e){if(!e)return 0;var t=h()(e),n=Object(r.a)(t,3);return.2126*n[0]+.7152*n[1]+.0722*n[2]},m=function(e){return!!e&&1-p(e)/255>.4},v=function(e){return!!e&&1-p(e)/255>.25},g=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},y=function(e){return function(t){var n,r=u()(n=h()(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 b(i)}},b=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("")},_=y(.9),w=y(-.5)},function(e,t,n){"use strict";n.d(t,"a",function(){return f}),n.d(t,"c",function(){return h}),n.d(t,"b",function(){return p});var r=n(141),i=n(7),o=n.n(i),a=(n(33),n(667)),s=n.n(a),c=n(144),u=n.n(c),l=n(25),d=n.n(l),f=(n(523),function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return o.a.apply(void 0,Object(r.a)(s()(1,t)))(u()(t))}),h=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.a.apply(void 0,n)(e)},p=Function.prototype},function(e,t,n){
/** @license ISC License (c) copyright 2016 original and current authors */
var r=n(83),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}},function(e,t,n){var r=n(257);e.exports=r(1)},function(e,t,n){var r=n(18),i=n(190),o=n(82);e.exports=r(function(e,t){return i(function(n,r){return n[r]=e(t[r],r,t),n},{},o(t))})},function(e,t,n){"use strict";n.d(t,"b",function(){return r}),n.d(t,"e",function(){return h}),n.d(t,"c",function(){return m.b}),n.d(t,"d",function(){return m.c}),n.d(t,"g",function(){return v.c}),n.d(t,"a",function(){return g.a}),n.d(t,"f",function(){return g.g}),n.d(t,"h",function(){return y.c});var r=function(e){return e.displayName||e.name||"Component"},i=n(0),o=n.n(i),a=n(74),s=n.n(a),c=n(698),u=n.n(c),l=n(1184),d=n.n(l),f=function(e,t){return o.a.createElement("mark",{key:t},e)},h=s()(function(e,t){return d()(new RegExp(u()(t),"igm"),f,e)}),p=n(109),m=(n.n(p)()(function(e,t){return t.reduce(function(t,n){return t+n[e]},0)}),n(113)),v=n(164),g=n(72),y=n(316)},function(e,t,n){var r=n(18),i=n(484),o=n(485),a=n(524);e.exports=r(function(e,t){return i(e)?function(){return e.apply(this,arguments)||t.apply(this,arguments)}:o(a)(e,t)})},function(e,t,n){e.exports=n(1516)},function(e,t){e.exports=function(e){try{return!!e()}catch(e){return!0}}},function(e,t){e.exports=function(e){try{return!!e()}catch(e){return!0}}},function(e,t,n){e.exports=n(1278)},function(e,t,n){var r=n(132),i=n(591),o=n(172),a=n(468),s=n(593),c=n(754),u=i("wks"),l=r.Symbol,d=c?l:l&&l.withoutSetter||a;e.exports=function(e){return o(u,e)&&(s||"string"==typeof u[e])||(s&&o(l,e)?u[e]=l[e]:u[e]=d("Symbol."+e)),u[e]}},function(e,t,n){var r=n(104),i=n(172),o=n(602),a=n(199).f;e.exports=function(e){var t=r.Symbol||(r.Symbol={});i(t,e)||a(t,e,{value:o.f(e)})}},function(e,t){e.exports="object"==typeof window&&window&&window.Math==Math?window:"object"==typeof self&&self&&self.Math==Math?self:Function("return this")()},function(e,t,n){var r=n(18);e.exports=r(function(e,t){return null==t||t!=t?e:t})},function(e,t,n){var r=n(4),i=n(136),o=n(15),a=n(1660),s=n(1661),c=n(867).type("Async"),u=n(867).typeFn(c(),5),l=n(494),d=n(1664),f=n(1674),h=n(1675),p=n(1676),m=n(636),v=n(1677),g=n(250),y=n(1678),b=n(1680),_=n(637),w=function(e){return e.reduce(function(e,t){return e&&_(k,t)},!0)},x=function(e){return k(function(t,n){return n(e)})};function k(e){var t;if(!g(e))throw new TypeError("Async: Function required");var n=x,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:p,s=function(e,t){if(!o)return o=!0,i?p():e(t)},c=e(s.bind(null,t),s.bind(null,n)),u=g(c)?c:p;return h(function(){return a((u(),void(i=!0)))})}function d(e){return function(t){if(!g(t))throw new TypeError("Async."+e+": Function required");return k(function(e,n){return a(e,f(n,t))})}}function m(e){return function(t,n){if(!g(t)||!g(n))throw new TypeError("Async."+e+": Functions required for both arguments");return k(function(e,r){return a(f(e,t),f(r,n))})}}function v(e){return function(t){if(!_(k,t))throw new TypeError("Async."+e+": Async required");return k(function(e,n){var r=p,i=p;return r=a(function(){i=t.fork(e,n)},n),h(function(){return i(r())})})}}function y(e){return function(t){if(!g(t))throw new TypeError("Async."+e+": Async returning function required");return k(function(n,r){var i=p,o=p;return i=a(n,function(i){var a=t(i);if(!_(k,a))throw new TypeError("Async."+e+": Function must return another Async");o=a.fork(n,r)}),h(function(){return o(i())})})}}return(t={fork:a,toPromise:function(){return new i(function(e,t){a(t,e)})},inspect:r,toString:r,type:c,swap:function(e,t){if(!g(e)||!g(t))throw new TypeError("Async.swap: Functions required for both arguments");return k(function(n,r){return a(f(r,e),f(n,t))})},race:function(e){if(!_(k,e))throw new TypeError("Async.race: Async required");return k(function(t,n){var r=h(function(e,r){return e?n(r):t(r)}),i=r.bind(null,!0),o=r.bind(null,!1),s=a(o,i),c=e.fork(o,i);return function(){s(),c()}})},coalesce:function(e,t){if(!g(e)||!g(t))throw new TypeError("Async.coalesce: Functions required for both arguments");return k(function(n,r){return a(f(r,e),f(r,t))})},ap:function(e){if(!_(k,e))throw new TypeError("Async.ap: Async required");return k(function(t,n){var r=null,i=null,o=!1,s=!1,c=!1,u=h(t);function l(){!c&&o&&s&&f(n,r)(i)}var d=a(u,function(e){if(!g(e))throw new TypeError("Async.ap: Wrapped value must be a function");o=!0,r=e,l()}),p=e.fork(u,function(e){s=!0,i=e,l()});return function(){d(),p(),c=!0}})},of:n,alt:v("alt"),bimap:m("bimap"),map:d("map"),chain:y("chain"),bichain:function(e,t){var n="Async.bichain: Both arguments must be Async returning functions";if(!g(e)||!g(t))throw new TypeError(n);return k(function(r,i){var o=p,s=p;function c(e){return function(t){var o=e(t);if(!_(k,o))throw new TypeError(n);s=o.fork(r,i)}}return o=a(c(e),c(t)),h(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"]=u,t.constructor=k,t}k.of=x,k.type=c,k[l.of]=x,k["@@type"]=u,k.Rejected=function(e){return k(function(t){return t(e)})},k.Resolved=x,k.fromPromise=function(e){if(!g(e))throw new TypeError("Async.fromPromise: Promise returning function required");return function(){var t=arguments;return k(function(n,r){var i=e.apply(null,t);if(!b(i))throw new TypeError("Async.fromPromise: Promise returning function required");i.then(r,n)})}},k.fromNode=function(e,t){if(!g(e))throw new TypeError("Async.fromNode: CPS function required");return function(){for(var n=[],i=arguments.length;i--;)n[i]=arguments[i];return k(function(i,o){e.apply(t,r(n).call(n,function(e,t){return e?i(e):o(t)}))})}},k.all=function(e){if(!v(e)||!w(e))throw new TypeError("Async.all: Foldable structure of Asyncs required");return m(e)?d.sequence(k.of,e):e.sequence(k.of)},k.rejectAfter=function(e,t){if(!(y(e)&&e>=0))throw new TypeError("Async.rejectAfter: Positive Integer required for first argument");return k(function(n){var r=setTimeout(function(){n(t)},e);return function(){clearTimeout(r)}})},k.resolveAfter=function(e,t){if(!(y(e)&&e>=0))throw new TypeError("Async.resolveAfter: Positive Integer required for first argument");return k(function(n,r){var i=setTimeout(function(){r(t)},e);return function(){clearTimeout(i)}})},k["@@implements"]=a(["alt","ap","bimap","chain","map","of"]),e.exports=k},function(e,t,n){var r=n(789),i=n(18),o=n(49);e.exports=i(function(e,t){return o(r(e),t)})},function(e,t,n){"use strict";n.d(t,"a",function(){return M}),n.d(t,"b",function(){return B}),n.d(t,"c",function(){return q});var r=n(110),i=n(140),o=n(0),a=n.n(o),s=n(71);function c(e){return"/"===e.charAt(0)}function u(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 l=function(e,t){void 0===t&&(t="");var n,r=e&&e.split("/")||[],i=t&&t.split("/")||[],o=e&&c(e),a=t&&c(t),s=o||a;if(e&&c(e)?i=r:r.length&&(i.pop(),i=i.concat(r)),!i.length)return"/";if(i.length){var l=i[i.length-1];n="."===l||".."===l||""===l}else n=!1;for(var d=0,f=i.length;f>=0;f--){var h=i[f];"."===h?u(i,f):".."===h?(u(i,f),d++):d&&(u(i,f),d--)}if(!s)for(;d--;d)i.unshift("..");!s||""===i[0]||i[0]&&c(i[0])||i.unshift("");var p=i.join("/");return n&&"/"!==p.substr(-1)&&(p+="/"),p};var d=n(159);function f(e){return"/"===e.charAt(0)?e:"/"+e}function h(e){return"/"===e.charAt(0)?e.substr(1):e}function p(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 m(e){return"/"===e.charAt(e.length-1)?e.slice(0,-1):e}function v(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 g(e,t,n,r){var i;"string"==typeof e?(i=function(e){var t=e||"/",n="",r="",i=t.indexOf("#");-1!==i&&(r=t.substr(i),t=t.substr(0,i));var o=t.indexOf("?");return-1!==o&&(n=t.substr(o),t=t.substr(0,o)),{pathname:t,search:"?"===n?"":n,hash:"#"===r?"":r}}(e)).state=t:(void 0===(i=Object(s.a)({},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=l(i.pathname,r.pathname)):i.pathname=r.pathname:i.pathname||(i.pathname="/"),i}function y(){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 b=!("undefined"==typeof window||!window.document||!window.document.createElement);function _(e,t){t(window.confirm(e))}var w="popstate",x="hashchange";function k(){try{return window.history.state||{}}catch(e){return{}}}function E(e){void 0===e&&(e={}),b||Object(d.a)(!1);var t,n=window.history,r=(-1===(t=window.navigator.userAgent).indexOf("Android 2.")&&-1===t.indexOf("Android 4.0")||-1===t.indexOf("Mobile Safari")||-1!==t.indexOf("Chrome")||-1!==t.indexOf("Windows Phone"))&&window.history&&"pushState"in window.history,i=!(-1===window.navigator.userAgent.indexOf("Trident")),o=e,a=o.forceRefresh,c=void 0!==a&&a,u=o.getUserConfirmation,l=void 0===u?_:u,h=o.keyLength,E=void 0===h?6:h,S=e.basename?m(f(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=p(o,S)),g(o,r,n)}function C(){return Math.random().toString(36).substr(2,E)}var O=y();function j(e){Object(s.a)(q,e),q.length=n.length,O.notifyListeners(q.location,q.action)}function A(e){(function(e){return void 0===e.state&&-1===navigator.userAgent.indexOf("CriOS")})(e)||N(T(e.state))}function P(){N(T(k()))}var M=!1;function N(e){if(M)M=!1,j();else{O.confirmTransitionTo(e,"POP",l,function(t){t?j({action:"POP",location:e}):function(e){var t=q.location,n=I.indexOf(t.key);-1===n&&(n=0);var r=I.indexOf(e.key);-1===r&&(r=0);var i=n-r;i&&(M=!0,R(i))}(e)})}}var L=T(k()),I=[L.key];function D(e){return S+v(e)}function R(e){n.go(e)}var B=0;function F(e){1===(B+=e)&&1===e?(window.addEventListener(w,A),i&&window.addEventListener(x,P)):0===B&&(window.removeEventListener(w,A),i&&window.removeEventListener(x,P))}var U=!1;var q={length:n.length,action:"POP",location:L,createHref:D,push:function(e,t){var i=g(e,t,C(),q.location);O.confirmTransitionTo(i,"PUSH",l,function(e){if(e){var t=D(i),o=i.key,a=i.state;if(r)if(n.pushState({key:o,state:a},null,t),c)window.location.href=t;else{var s=I.indexOf(q.location.key),u=I.slice(0,s+1);u.push(i.key),I=u,j({action:"PUSH",location:i})}else window.location.href=t}})},replace:function(e,t){var i=g(e,t,C(),q.location);O.confirmTransitionTo(i,"REPLACE",l,function(e){if(e){var t=D(i),o=i.key,a=i.state;if(r)if(n.replaceState({key:o,state:a},null,t),c)window.location.replace(t);else{var s=I.indexOf(q.location.key);-1!==s&&(I[s]=i.key),j({action:"REPLACE",location:i})}else window.location.replace(t)}})},go:R,goBack:function(){R(-1)},goForward:function(){R(1)},block:function(e){void 0===e&&(e=!1);var t=O.setPrompt(e);return U||(F(1),U=!0),function(){return U&&(U=!1,F(-1)),t()}},listen:function(e){var t=O.appendListener(e);return F(1),function(){F(-1),t()}}};return q}var S="hashchange",T={hashbang:{encodePath:function(e){return"!"===e.charAt(0)?e:"!/"+h(e)},decodePath:function(e){return"!"===e.charAt(0)?e.substr(1):e}},noslash:{encodePath:h,decodePath:f},slash:{encodePath:f,decodePath:f}};function C(e){var t=e.indexOf("#");return-1===t?e:e.slice(0,t)}function O(){var e=window.location.href,t=e.indexOf("#");return-1===t?"":e.substring(t+1)}function j(e){window.location.replace(C(window.location.href)+"#"+e)}function A(e){void 0===e&&(e={}),b||Object(d.a)(!1);var t=window.history,n=(window.navigator.userAgent.indexOf("Firefox"),e),r=n.getUserConfirmation,i=void 0===r?_:r,o=n.hashType,a=void 0===o?"slash":o,c=e.basename?m(f(e.basename)):"",u=T[a],l=u.encodePath,h=u.decodePath;function w(){var e=h(O());return c&&(e=p(e,c)),g(e)}var x=y();function k(e){Object(s.a)(U,e),U.length=t.length,x.notifyListeners(U.location,U.action)}var E=!1,A=null;function P(){var e,t,n=O(),r=l(n);if(n!==r)j(r);else{var o=w(),a=U.location;if(!E&&(t=o,(e=a).pathname===t.pathname&&e.search===t.search&&e.hash===t.hash))return;if(A===v(o))return;A=null,function(e){if(E)E=!1,k();else{x.confirmTransitionTo(e,"POP",i,function(t){t?k({action:"POP",location:e}):function(e){var t=U.location,n=I.lastIndexOf(v(t));-1===n&&(n=0);var r=I.lastIndexOf(v(e));-1===r&&(r=0);var i=n-r;i&&(E=!0,D(i))}(e)})}}(o)}}var M=O(),N=l(M);M!==N&&j(N);var L=w(),I=[v(L)];function D(e){t.go(e)}var R=0;function B(e){1===(R+=e)&&1===e?window.addEventListener(S,P):0===R&&window.removeEventListener(S,P)}var F=!1;var U={length:t.length,action:"POP",location:L,createHref:function(e){var t=document.querySelector("base"),n="";return t&&t.getAttribute("href")&&(n=C(window.location.href)),n+"#"+l(c+v(e))},push:function(e,t){var n=g(e,void 0,void 0,U.location);x.confirmTransitionTo(n,"PUSH",i,function(e){if(e){var t=v(n),r=l(c+t);if(O()!==r){A=t,function(e){window.location.hash=e}(r);var i=I.lastIndexOf(v(U.location)),o=I.slice(0,i+1);o.push(t),I=o,k({action:"PUSH",location:n})}else k()}})},replace:function(e,t){var n=g(e,void 0,void 0,U.location);x.confirmTransitionTo(n,"REPLACE",i,function(e){if(e){var t=v(n),r=l(c+t);O()!==r&&(A=t,j(r));var i=I.indexOf(v(U.location));-1!==i&&(I[i]=t),k({action:"REPLACE",location:n})}})},go:D,goBack:function(){D(-1)},goForward:function(){D(1)},block:function(e){void 0===e&&(e=!1);var t=x.setPrompt(e);return F||(B(1),F=!0),function(){return F&&(F=!1,B(-1)),t()}},listen:function(e){var t=x.appendListener(e);return B(1),function(){B(-1),t()}}};return U}n(1);var P=n(135);a.a.Component;var M=function(e){function t(){for(var t,n=arguments.length,r=new Array(n),i=0;i<n;i++)r[i]=arguments[i];return(t=e.call.apply(e,[this].concat(r))||this).history=A(t.props),t}return Object(i.a)(t,e),t.prototype.render=function(){return a.a.createElement(r.b,{history:this.history,children:this.props.children})},t}(a.a.Component);var N=function(e,t){return"function"==typeof e?e(t):e},L=function(e,t){return"string"==typeof e?g(e,null,null,t):e},I=function(e){return e},D=a.a.forwardRef;void 0===D&&(D=I);var R=D(function(e,t){var n=e.innerRef,r=e.navigate,i=e.onClick,o=Object(P.a)(e,["innerRef","navigate","onClick"]),c=o.target,u=Object(s.a)({},o,{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 u.ref=I!==D&&t||n,a.a.createElement("a",u)});var B=D(function(e,t){var n=e.component,i=void 0===n?R:n,o=e.replace,c=e.to,u=e.innerRef,l=Object(P.a)(e,["component","replace","to","innerRef"]);return a.a.createElement(r.d.Consumer,null,function(e){e||Object(d.a)(!1);var n=e.history,r=L(N(c,e.location),e.location),f=r?n.createHref(r):"",h=Object(s.a)({},l,{href:f,navigate:function(){var t=N(c,e.location);(o?n.replace:n.push)(t)}});return I!==D?h.ref=t||u:h.innerRef=u,a.a.createElement(i,h)})}),F=function(e){return e},U=a.a.forwardRef;void 0===U&&(U=F);var q=U(function(e,t){var n=e["aria-current"],i=void 0===n?"page":n,o=e.activeClassName,c=void 0===o?"active":o,u=e.activeStyle,l=e.className,f=e.exact,h=e.isActive,p=e.location,m=e.sensitive,v=e.strict,g=e.style,y=e.to,b=e.innerRef,_=Object(P.a)(e,["aria-current","activeClassName","activeStyle","className","exact","isActive","location","sensitive","strict","style","to","innerRef"]);return a.a.createElement(r.d.Consumer,null,function(e){e||Object(d.a)(!1);var n=p||e.location,o=L(N(y,n),n),w=o.pathname,x=w&&w.replace(/([.+*?=^!:${}()[\]|/\\])/g,"\\$1"),k=x?Object(r.e)(n.pathname,{path:x,exact:f,sensitive:m,strict:v}):null,E=!!(h?h(k,n):k),S=E?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(" ")}(l,c):l,T=E?Object(s.a)({},g,{},u):g,C=Object(s.a)({"aria-current":E&&i||null,className:S,style:T,to:o},_);return F!==U?C.ref=t||b:C.innerRef=b,a.a.createElement(B,C)})})},function(e,t,n){"use strict";(function(e){function r(t){var n=t.children,r=t.className,i=t.height,o=t.width,a=t.viewBox;return e.createElement("svg",{"aria-hidden":"true",className:r,fill:"none",focusable:"false",height:i,viewBox:a,width:o,xmlns:"http://www.w3.org/2000/svg"},n)}n.d(t,"a",function(){return r})}).call(this,n(0))},function(e,t,n){(function(t){var n=function(e){return e&&e.Math==Math&&e};e.exports=n("object"==typeof globalThis&&globalThis)||n("object"==typeof window&&window)||n("object"==typeof self&&self)||n("object"==typeof t&&t)||function(){return this}()||Function("return this")()}).call(this,n(96))},function(e,t,n){var r=n(276),i=n(605);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))return t.apply(null,o)(a)}return n.apply(this,arguments)}}},function(e,t,n){var r=n(94),i=n(780),o=n(216),a=n(166),s=n(397),c=n(779),u=function(e,t){this.stopped=e,this.result=t};e.exports=function(e,t,n){var l,d,f,h,p,m,v,g=n&&n.that,y=!(!n||!n.AS_ENTRIES),b=!(!n||!n.IS_ITERATOR),_=!(!n||!n.INTERRUPTED),w=a(t,g,1+y+_),x=function(e){return l&&c(l),new u(!0,e)},k=function(e){return y?(r(e),_?w(e[0],e[1],x):w(e[0],e[1])):_?w(e,x):w(e)};if(b)l=e;else{if("function"!=typeof(d=s(e)))throw TypeError("Target is not iterable");if(i(d)){for(f=0,h=o(e.length);h>f;f++)if((p=k(e[f]))&&p instanceof u)return p;return new u(!1)}l=d.call(e)}for(m=l.next;!(v=m.call(l)).done;){try{p=k(v.value)}catch(e){throw c(l),e}if("object"==typeof p&&p&&p instanceof u)return p}return new u(!1)}},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,"a",function(){return r})},function(e,t,n){e.exports=n(1463)},function(e,t,n){"use strict";n.d(t,"a",function(){return o});var r=n(32),i={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"},o=(r.A,r.B,r.v,r.z,r.l,"draw from question bank");t.b=i},function(e,t,n){var r=n(18),i=n(133),o=n(1515);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}))},function(e,t,n){var r=n(480),i=n(1377),o=function(e){for(var t=[],n=arguments.length-1;n-- >0;)t[n]=arguments[n+1];return r(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},e)};e.exports=i(o)},function(e,t,n){"use strict";n.d(t,"a",function(){return i});var r=n(679);function i(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,Object(r.a)(e,t)}},function(e,t,n){"use strict";n.d(t,"a",function(){return c});var r=n(540),i=n.n(r),o=n(435);var a=n(681),s=n(428);function c(e){return function(e){if(i()(e))return Object(o.a)(e)}(e)||Object(a.a)(e)||Object(s.a)(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}},function(e,t){e.exports=function(e){if("function"!=typeof e)throw TypeError(String(e)+" is not a function");return e}},function(e,t,n){var r=n(18);e.exports=r(function(e,t){var n={};return n[e]=t,n})},function(e,t,n){var r=n(224);e.exports=r(-1)},function(e,t,n){var r=n(200),i=n(844);e.exports=i(r)},function(e,t,n){e.exports=n(1255)},function(e,t){e.exports=function(e){return"object"==typeof e?null!==e:"function"==typeof e}},function(e,t){e.exports={init:function(){return this.xf["@@transducer/init"]()},result:function(e){return this.xf["@@transducer/result"](e)}}},function(e,t,n){var r=n(1877),i=n(308),o="Expected a function";e.exports=function(e,t,n){var a=!0,s=!0;if("function"!=typeof e)throw new TypeError(o);return i(n)&&(a="leading"in n?!!n.leading:a,s="trailing"in n?!!n.trailing:s),r(e,t,{leading:a,maxWait:t,trailing:s})}},function(e,t,n){"use strict";(function(e){n.d(t,"b",function(){return o}),n.d(t,"a",function(){return a});n(2652);var r=n(2),i=n.n(r);t.c=function(t){var n=t.type,r=t.children;return e.createElement("div",{className:"page","data-type":n,"data-page":!0},r)};var o=function(t){var n=t.type,r=t.children,o="video"===n||"embed"===n||"blocks"===n||"progress-summary"===n,a=i()("page__wrapper",{"page__wrapper--white":o});return e.createElement("div",{className:a},r)},a=function(t){var n=t.type,r=t.children,o=i()("page__content",{"page__content--timeline":"timeline"===n});return e.createElement("div",{className:o},r)}}).call(this,n(0))},function(e,t,n){var r=n(104);e.exports=function(e){return r[e+"Prototype"]}},function(e,t,n){e.exports=n(1342)},function(e,t,n){var r=n(18),i=n(484),o=n(846),a=n(485);e.exports=r(function(e,t){return i(e)?function(){return e.apply(this,arguments)&&t.apply(this,arguments)}:a(o)(e,t)})},function(e,t,n){"use strict";n.d(t,"f",function(){return ve}),n.d(t,"g",function(){return ge}),n.d(t,"b",function(){return ye}),n.d(t,"a",function(){return be}),n.d(t,"h",function(){return we}),n.d(t,"i",function(){return xe}),n.d(t,"j",function(){return ke}),n.d(t,"k",function(){return Ee}),n.d(t,"c",function(){return Pe}),n.d(t,"d",function(){return Me});var r=n(16),i=n.n(r),o=n(7),a=n.n(o),s=n(109),c=n.n(s),u=n(232),l=n.n(u),d=n(127),f=n.n(d),h=n(119),p=n.n(h),m=n(1095),v=n.n(m),g=n(37),y=n.n(g),b=n(49),_=n.n(b),w=n(65),x=n.n(w),k=n(138),E=n.n(k),S=n(48),T=n.n(S),C=n(76),O=n.n(C),j=n(80),A=n.n(j),P=n(116),M=n.n(P),N=n(66),L=n.n(N),I=n(31),D=n.n(I),R=n(144),B=n.n(R),F=n(50),U=n.n(F),q=n(112),z=n.n(q),H=n(24),V=n.n(H),W=n(23),Y=n.n(W),G=n(92),K=n.n(G),$=n(25),X=n.n($),Q=n(14),Z=n.n(Q),J=n(17),ee=n.n(J),te=n(168),ne=n.n(te),re=n(233),ie=n.n(re),oe=n(205),ae=n.n(oe),se=n(1099),ce=n.n(se),ue=n(22),le=n(73),de=n(583),fe=n(192);n.d(t,"e",function(){return fe.b});var he=a()(z.a,L.a),pe=a()(_()(fe.b),Z()("lessonsOnly")),me=function(e){return function(t){return z()(V()(["lessons",t.id,"isComplete"],e))}},ve=function(e){var t=e.course,n=e.lesson;return ee()("id",n.id,O()(Z()("lessonsOnly",t)))},ge=a()(z.a,ee()("type","section")),ye=function(e){var t=e.course,n=e.courseProgress,r=e.lesson,i=e.restrictingQuiz,o=Object(de.b)({courseProgress:n,lesson:r,restrictingQuiz:i}),a=Object(fe.c)(t),s=a||he(o),c=function(e){var t=e.course,n=e.courseProgress;return x()(me(n))(t.lessonsOnly)}({course:t,courseProgress:n}),u=ue.e&&!t.enrolled&&!t.favoritedAt&&!Object(le.j)(),l=u&&!t.riseComLearningPathId&&"preview"!==window.viewType,d=u&&t.riseComLearningPathId&&"preview"!==window.viewType,f=ge(r)&&z()(function(e){var t=e.lesson,n=e.courseProgress;return Y()(!1,["lessons",t.id,"isComplete"],n)}({lesson:r,courseProgress:n}));return{isRestricted:l&&f||d&&f||s&&f&&z()(function(e){var t=e.lesson,n=e.currentLesson;return t&&ee()("id",t.id,n)}({lesson:r,currentLesson:c})),isRestrictedNotEnrolledCourse:l,isRestrictedNotEnrolledLP:d,restrictingQuiz:o,isRestrictedCourse:a,currentLesson:c}},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,c=n.restrictingQuiz,u=n.currentLesson,l=u&&v()("id",c,u);return a?"Please save to My List to take this course":s?null:!o||o&&l?c.title?i.replace("quiz",'"'.concat(c.title,'"')):i:r},_e=c()(function(e){return E()(ce()(K()(["id"],e||{})))}),we=function(e){var t=e.course,n=e.lesson;return a()(M.a,_e(n),pe)(t)},xe=function(e){var t=e.course,n=e.lesson;return!function(e){var t=e.course,n=e.lesson;return ee()("id",n.id,B()(Z()("lessonsOnly",t)))}({course:t,lesson:n})&&t.lessonsOnly[M()(_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))]},Ee=a()(U.a,pe),Se=p()(D.a,L.a),Te=p()(D.a,y()(!1)),Ce=ne()(Te,"isComplete"),Oe=p()(ne()(y()(!1),"passed"),ne()(Te,"isComplete")),je=ae()(2,function(e){return x()(A()(a()(y()(e),O.a),a()(Oe,B.a),a()(Ce,B.a)))}),Ae=ae()(2,function(e){return X()(ie.a,je(e),f()([]),O.a)}),Pe=T()(ae()(2,function(e){return A()(Se,i()(e),Ae(e))})),Me=function(e,t,n){if(!n)return{outOfAttempts:!1,quizPassed:!0};var r=V()(["lessons",n],e),i=Y()(-1,["settings","retryCount"],t),o=Y()(0,["retryAttempts"],r),a=V()(["passed"],r);return{outOfAttempts:V()(["isComplete"],r)&&i>-1&&y()(Number(o),Number(i)),quizPassed:a}}},function(e,t,n){(function(e){e.exports=function(){"use strict";var t,r;function i(){return t.apply(null,arguments)}function o(e){return e instanceof Array||"[object Array]"===Object.prototype.toString.call(e)}function a(e){return null!=e&&"[object Object]"===Object.prototype.toString.call(e)}function s(e){return void 0===e}function c(e){return"number"==typeof e||"[object Number]"===Object.prototype.toString.call(e)}function u(e){return e instanceof Date||"[object Date]"===Object.prototype.toString.call(e)}function l(e,t){var n,r=[];for(n=0;n<e.length;++n)r.push(t(e[n],n));return r}function d(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function f(e,t){for(var n in t)d(t,n)&&(e[n]=t[n]);return d(t,"toString")&&(e.toString=t.toString),d(t,"valueOf")&&(e.valueOf=t.valueOf),e}function h(e,t,n,r){return jt(e,t,n,r,!0).utc()}function p(e){return null==e._pf&&(e._pf={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}),e._pf}function m(e){if(null==e._isValid){var t=p(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 v(e){var t=h(NaN);return null!=e?f(p(t),e):p(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 g=i.momentProperties=[];function y(e,t){var n,r,i;if(s(t._isAMomentObject)||(e._isAMomentObject=t._isAMomentObject),s(t._i)||(e._i=t._i),s(t._f)||(e._f=t._f),s(t._l)||(e._l=t._l),s(t._strict)||(e._strict=t._strict),s(t._tzm)||(e._tzm=t._tzm),s(t._isUTC)||(e._isUTC=t._isUTC),s(t._offset)||(e._offset=t._offset),s(t._pf)||(e._pf=p(t)),s(t._locale)||(e._locale=t._locale),g.length>0)for(n=0;n<g.length;n++)r=g[n],s(i=t[r])||(e[r]=i);return e}var b=!1;function _(e){y(this,e),this._d=new Date(null!=e._d?e._d.getTime():NaN),this.isValid()||(this._d=new Date(NaN)),!1===b&&(b=!0,i.updateOffset(this),b=!1)}function w(e){return e instanceof _||null!=e&&null!=e._isAMomentObject}function x(e){return e<0?Math.ceil(e)||0:Math.floor(e)}function k(e){var t=+e,n=0;return 0!==t&&isFinite(t)&&(n=x(t)),n}function E(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&&k(e[r])!==k(t[r]))&&a++;return a+o}function S(e){!1===i.suppressDeprecationWarnings&&"undefined"!=typeof console&&console.warn&&console.warn("Deprecation warning: "+e)}function T(e,t){var n=!0;return f(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)}S(e+"\nArguments: "+Array.prototype.slice.call(o).join("")+"\n"+(new Error).stack),n=!1}return t.apply(this,arguments)},t)}var C,O={};function j(e,t){null!=i.deprecationHandler&&i.deprecationHandler(e,t),O[e]||(S(t),O[e]=!0)}function A(e){return e instanceof Function||"[object Function]"===Object.prototype.toString.call(e)}function P(e,t){var n,r=f({},e);for(n in t)d(t,n)&&(a(e[n])&&a(t[n])?(r[n]={},f(r[n],e[n]),f(r[n],t[n])):null!=t[n]?r[n]=t[n]:delete r[n]);for(n in e)d(e,n)&&!d(t,n)&&a(e[n])&&(r[n]=f({},r[n]));return r}function M(e){null!=e&&this.set(e)}i.suppressDeprecationWarnings=!1,i.deprecationHandler=null,C=Object.keys?Object.keys:function(e){var t,n=[];for(t in e)d(e,t)&&n.push(t);return n};var N={};function L(e,t){var n=e.toLowerCase();N[n]=N[n+"s"]=N[t]=e}function I(e){return"string"==typeof e?N[e]||N[e.toLowerCase()]:void 0}function D(e){var t,n,r={};for(n in e)d(e,n)&&(t=I(n))&&(r[t]=e[n]);return r}var R={};function B(e,t){R[e]=t}function F(e,t,n){var r=""+Math.abs(e),i=t-r.length,o=e>=0;return(o?n?"+":"":"-")+Math.pow(10,Math.max(0,i)).toString().substr(1)+r}var U=/(\[[^\[]*\])|(\\)?([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,q=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,z={},H={};function V(e,t,n,r){var i=r;"string"==typeof r&&(i=function(){return this[r]()}),e&&(H[e]=i),t&&(H[t[0]]=function(){return F(i.apply(this,arguments),t[1],t[2])}),n&&(H[n]=function(){return this.localeData().ordinal(i.apply(this,arguments),e)})}function W(e,t){return e.isValid()?(t=Y(t,e.localeData()),z[t]=z[t]||function(e){var t,n,r,i=e.match(U);for(t=0,n=i.length;t<n;t++)H[i[t]]?i[t]=H[i[t]]:i[t]=(r=i[t]).match(/\[[\s\S]/)?r.replace(/^\[|\]$/g,""):r.replace(/\\/g,"");return function(t){var r,o="";for(r=0;r<n;r++)o+=A(i[r])?i[r].call(t,e):i[r];return o}}(t),z[t](e)):e.localeData().invalidDate()}function Y(e,t){var n=5;function r(e){return t.longDateFormat(e)||e}for(q.lastIndex=0;n>=0&&q.test(e);)e=e.replace(q,r),q.lastIndex=0,n-=1;return e}var G=/\d/,K=/\d\d/,$=/\d{3}/,X=/\d{4}/,Q=/[+-]?\d{6}/,Z=/\d\d?/,J=/\d\d\d\d?/,ee=/\d\d\d\d\d\d?/,te=/\d{1,3}/,ne=/\d{1,4}/,re=/[+-]?\d{1,6}/,ie=/\d+/,oe=/[+-]?\d+/,ae=/Z|[+-]\d\d:?\d\d/gi,se=/Z|[+-]\d\d(?::?\d\d)?/gi,ce=/[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,ue={};function le(e,t,n){ue[e]=A(t)?t:function(e,r){return e&&n?n:t}}function de(e,t){return d(ue,e)?ue[e](t._strict,t._locale):new RegExp(fe(e.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,function(e,t,n,r,i){return t||n||r||i})))}function fe(e){return e.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}var he={};function pe(e,t){var n,r=t;for("string"==typeof e&&(e=[e]),c(t)&&(r=function(e,n){n[t]=k(e)}),n=0;n<e.length;n++)he[e[n]]=r}function me(e,t){pe(e,function(e,n,r,i){r._w=r._w||{},t(e,r._w,r,i)})}function ve(e,t,n){null!=t&&d(he,e)&&he[e](t,n._a,n,e)}var ge=0,ye=1,be=2,_e=3,we=4,xe=5,ke=6,Ee=7,Se=8;function Te(e){return Ce(e)?366:365}function Ce(e){return e%4==0&&e%100!=0||e%400==0}V("Y",0,0,function(){var e=this.year();return e<=9999?""+e:"+"+e}),V(0,["YY",2],0,function(){return this.year()%100}),V(0,["YYYY",4],0,"year"),V(0,["YYYYY",5],0,"year"),V(0,["YYYYYY",6,!0],0,"year"),L("year","y"),B("year",1),le("Y",oe),le("YY",Z,K),le("YYYY",ne,X),le("YYYYY",re,Q),le("YYYYYY",re,Q),pe(["YYYYY","YYYYYY"],ge),pe("YYYY",function(e,t){t[ge]=2===e.length?i.parseTwoDigitYear(e):k(e)}),pe("YY",function(e,t){t[ge]=i.parseTwoDigitYear(e)}),pe("Y",function(e,t){t[ge]=parseInt(e,10)}),i.parseTwoDigitYear=function(e){return k(e)+(k(e)>68?1900:2e3)};var Oe,je=Ae("FullYear",!0);function Ae(e,t){return function(n){return null!=n?(Me(this,e,n),i.updateOffset(this,t),this):Pe(this,e)}}function Pe(e,t){return e.isValid()?e._d["get"+(e._isUTC?"UTC":"")+t]():NaN}function Me(e,t,n){e.isValid()&&!isNaN(n)&&("FullYear"===t&&Ce(e.year())&&1===e.month()&&29===e.date()?e._d["set"+(e._isUTC?"UTC":"")+t](n,e.month(),Ne(n,e.month())):e._d["set"+(e._isUTC?"UTC":"")+t](n))}function Ne(e,t){if(isNaN(e)||isNaN(t))return NaN;var n,r=(t%(n=12)+n)%n;return e+=(t-r)/12,1===r?Ce(e)?29:28:31-r%7%2}Oe=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},V("M",["MM",2],"Mo",function(){return this.month()+1}),V("MMM",0,0,function(e){return this.localeData().monthsShort(this,e)}),V("MMMM",0,0,function(e){return this.localeData().months(this,e)}),L("month","M"),B("month",8),le("M",Z),le("MM",Z,K),le("MMM",function(e,t){return t.monthsShortRegex(e)}),le("MMMM",function(e,t){return t.monthsRegex(e)}),pe(["M","MM"],function(e,t){t[ye]=k(e)-1}),pe(["MMM","MMMM"],function(e,t,n,r){var i=n._locale.monthsParse(e,r,n._strict);null!=i?t[ye]=i:p(n).invalidMonth=e});var Le=/D[oD]?(\[[^\[\]]*\]|\s)+MMMM?/,Ie="January_February_March_April_May_June_July_August_September_October_November_December".split("_"),De="Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_");function Re(e,t){var n;if(!e.isValid())return e;if("string"==typeof t)if(/^\d+$/.test(t))t=k(t);else if(!c(t=e.localeData().monthsParse(t)))return e;return n=Math.min(e.date(),Ne(e.year(),t)),e._d["set"+(e._isUTC?"UTC":"")+"Month"](t,n),e}function Be(e){return null!=e?(Re(this,e),i.updateOffset(this,!0),this):Pe(this,"Month")}var Fe=ce,Ue=ce;function qe(){function e(e,t){return t.length-e.length}var t,n,r=[],i=[],o=[];for(t=0;t<12;t++)n=h([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]=fe(r[t]),i[t]=fe(i[t]);for(t=0;t<24;t++)o[t]=fe(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 ze(e){var t=new Date(Date.UTC.apply(null,arguments));return e<100&&e>=0&&isFinite(t.getUTCFullYear())&&t.setUTCFullYear(e),t}function He(e,t,n){var r=7+t-n,i=(7+ze(e,0,r).getUTCDay()-t)%7;return-i+r-1}function Ve(e,t,n,r,i){var o,a,s=(7+n-r)%7,c=He(e,r,i),u=1+7*(t-1)+s+c;return u<=0?a=Te(o=e-1)+u:u>Te(e)?(o=e+1,a=u-Te(e)):(o=e,a=u),{year:o,dayOfYear:a}}function We(e,t,n){var r,i,o=He(e.year(),t,n),a=Math.floor((e.dayOfYear()-o-1)/7)+1;return a<1?(i=e.year()-1,r=a+Ye(i,t,n)):a>Ye(e.year(),t,n)?(r=a-Ye(e.year(),t,n),i=e.year()+1):(i=e.year(),r=a),{week:r,year:i}}function Ye(e,t,n){var r=He(e,t,n),i=He(e+1,t,n);return(Te(e)-r+i)/7}V("w",["ww",2],"wo","week"),V("W",["WW",2],"Wo","isoWeek"),L("week","w"),L("isoWeek","W"),B("week",5),B("isoWeek",5),le("w",Z),le("ww",Z,K),le("W",Z),le("WW",Z,K),me(["w","ww","W","WW"],function(e,t,n,r){t[r.substr(0,1)]=k(e)}),V("d",0,"do","day"),V("dd",0,0,function(e){return this.localeData().weekdaysMin(this,e)}),V("ddd",0,0,function(e){return this.localeData().weekdaysShort(this,e)}),V("dddd",0,0,function(e){return this.localeData().weekdays(this,e)}),V("e",0,0,"weekday"),V("E",0,0,"isoWeekday"),L("day","d"),L("weekday","e"),L("isoWeekday","E"),B("day",11),B("weekday",11),B("isoWeekday",11),le("d",Z),le("e",Z),le("E",Z),le("dd",function(e,t){return t.weekdaysMinRegex(e)}),le("ddd",function(e,t){return t.weekdaysShortRegex(e)}),le("dddd",function(e,t){return t.weekdaysRegex(e)}),me(["dd","ddd","dddd"],function(e,t,n,r){var i=n._locale.weekdaysParse(e,r,n._strict);null!=i?t.d=i:p(n).invalidWeekday=e}),me(["d","e","E"],function(e,t,n,r){t[r]=k(e)});var Ge="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),Ke="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),$e="Su_Mo_Tu_We_Th_Fr_Sa".split("_"),Xe=ce,Qe=ce,Ze=ce;function Je(){function e(e,t){return t.length-e.length}var t,n,r,i,o,a=[],s=[],c=[],u=[];for(t=0;t<7;t++)n=h([2e3,1]).day(t),r=this.weekdaysMin(n,""),i=this.weekdaysShort(n,""),o=this.weekdays(n,""),a.push(r),s.push(i),c.push(o),u.push(r),u.push(i),u.push(o);for(a.sort(e),s.sort(e),c.sort(e),u.sort(e),t=0;t<7;t++)s[t]=fe(s[t]),c[t]=fe(c[t]),u[t]=fe(u[t]);this._weekdaysRegex=new RegExp("^("+u.join("|")+")","i"),this._weekdaysShortRegex=this._weekdaysRegex,this._weekdaysMinRegex=this._weekdaysRegex,this._weekdaysStrictRegex=new RegExp("^("+c.join("|")+")","i"),this._weekdaysShortStrictRegex=new RegExp("^("+s.join("|")+")","i"),this._weekdaysMinStrictRegex=new RegExp("^("+a.join("|")+")","i")}function et(){return this.hours()%12||12}function tt(e,t){V(e,0,0,function(){return this.localeData().meridiem(this.hours(),this.minutes(),t)})}function nt(e,t){return t._meridiemParse}V("H",["HH",2],0,"hour"),V("h",["hh",2],0,et),V("k",["kk",2],0,function(){return this.hours()||24}),V("hmm",0,0,function(){return""+et.apply(this)+F(this.minutes(),2)}),V("hmmss",0,0,function(){return""+et.apply(this)+F(this.minutes(),2)+F(this.seconds(),2)}),V("Hmm",0,0,function(){return""+this.hours()+F(this.minutes(),2)}),V("Hmmss",0,0,function(){return""+this.hours()+F(this.minutes(),2)+F(this.seconds(),2)}),tt("a",!0),tt("A",!1),L("hour","h"),B("hour",13),le("a",nt),le("A",nt),le("H",Z),le("h",Z),le("k",Z),le("HH",Z,K),le("hh",Z,K),le("kk",Z,K),le("hmm",J),le("hmmss",ee),le("Hmm",J),le("Hmmss",ee),pe(["H","HH"],_e),pe(["k","kk"],function(e,t,n){var r=k(e);t[_e]=24===r?0:r}),pe(["a","A"],function(e,t,n){n._isPm=n._locale.isPM(e),n._meridiem=e}),pe(["h","hh"],function(e,t,n){t[_e]=k(e),p(n).bigHour=!0}),pe("hmm",function(e,t,n){var r=e.length-2;t[_e]=k(e.substr(0,r)),t[we]=k(e.substr(r)),p(n).bigHour=!0}),pe("hmmss",function(e,t,n){var r=e.length-4,i=e.length-2;t[_e]=k(e.substr(0,r)),t[we]=k(e.substr(r,2)),t[xe]=k(e.substr(i)),p(n).bigHour=!0}),pe("Hmm",function(e,t,n){var r=e.length-2;t[_e]=k(e.substr(0,r)),t[we]=k(e.substr(r))}),pe("Hmmss",function(e,t,n){var r=e.length-4,i=e.length-2;t[_e]=k(e.substr(0,r)),t[we]=k(e.substr(r,2)),t[xe]=k(e.substr(i))});var rt,it=Ae("Hours",!0),ot={calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},longDateFormat:{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"},invalidDate:"Invalid date",ordinal:"%d",dayOfMonthOrdinalParse:/\d{1,2}/,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"},months:Ie,monthsShort:De,week:{dow:0,doy:6},weekdays:Ge,weekdaysMin:$e,weekdaysShort:Ke,meridiemParse:/[ap]\.?m?\.?/i},at={},st={};function ct(e){return e?e.toLowerCase().replace("_","-"):e}function ut(t){var r=null;if(!at[t]&&void 0!==e&&e&&e.exports)try{r=rt._abbr,n(1333)("./"+t),lt(r)}catch(e){}return at[t]}function lt(e,t){var n;return e&&(n=s(t)?ft(e):dt(e,t))&&(rt=n),rt._abbr}function dt(e,t){if(null!==t){var n=ot;if(t.abbr=e,null!=at[e])j("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=at[e]._config;else if(null!=t.parentLocale){if(null==at[t.parentLocale])return st[t.parentLocale]||(st[t.parentLocale]=[]),st[t.parentLocale].push({name:e,config:t}),null;n=at[t.parentLocale]._config}return at[e]=new M(P(n,t)),st[e]&&st[e].forEach(function(e){dt(e.name,e.config)}),lt(e),at[e]}return delete at[e],null}function ft(e){var t;if(e&&e._locale&&e._locale._abbr&&(e=e._locale._abbr),!e)return rt;if(!o(e)){if(t=ut(e))return t;e=[e]}return function(e){for(var t,n,r,i,o=0;o<e.length;){for(i=ct(e[o]).split("-"),t=i.length,n=(n=ct(e[o+1]))?n.split("-"):null;t>0;){if(r=ut(i.slice(0,t).join("-")))return r;if(n&&n.length>=t&&E(i,n,!0)>=t-1)break;t--}o++}return null}(e)}function ht(e){var t,n=e._a;return n&&-2===p(e).overflow&&(t=n[ye]<0||n[ye]>11?ye:n[be]<1||n[be]>Ne(n[ge],n[ye])?be:n[_e]<0||n[_e]>24||24===n[_e]&&(0!==n[we]||0!==n[xe]||0!==n[ke])?_e:n[we]<0||n[we]>59?we:n[xe]<0||n[xe]>59?xe:n[ke]<0||n[ke]>999?ke:-1,p(e)._overflowDayOfYear&&(t<ge||t>be)&&(t=be),p(e)._overflowWeeks&&-1===t&&(t=Ee),p(e)._overflowWeekday&&-1===t&&(t=Se),p(e).overflow=t),e}function pt(e,t,n){return null!=e?e:null!=t?t:n}function mt(e){var t,n,r,o,a,s=[];if(!e._d){for(r=function(e){var t=new Date(i.now());return e._useUTC?[t.getUTCFullYear(),t.getUTCMonth(),t.getUTCDate()]:[t.getFullYear(),t.getMonth(),t.getDate()]}(e),e._w&&null==e._a[be]&&null==e._a[ye]&&function(e){var t,n,r,i,o,a,s,c;if(null!=(t=e._w).GG||null!=t.W||null!=t.E)o=1,a=4,n=pt(t.GG,e._a[ge],We(At(),1,4).year),r=pt(t.W,1),((i=pt(t.E,1))<1||i>7)&&(c=!0);else{o=e._locale._week.dow,a=e._locale._week.doy;var u=We(At(),o,a);n=pt(t.gg,e._a[ge],u.year),r=pt(t.w,u.week),null!=t.d?((i=t.d)<0||i>6)&&(c=!0):null!=t.e?(i=t.e+o,(t.e<0||t.e>6)&&(c=!0)):i=o}r<1||r>Ye(n,o,a)?p(e)._overflowWeeks=!0:null!=c?p(e)._overflowWeekday=!0:(s=Ve(n,r,i,o,a),e._a[ge]=s.year,e._dayOfYear=s.dayOfYear)}(e),null!=e._dayOfYear&&(a=pt(e._a[ge],r[ge]),(e._dayOfYear>Te(a)||0===e._dayOfYear)&&(p(e)._overflowDayOfYear=!0),n=ze(a,0,e._dayOfYear),e._a[ye]=n.getUTCMonth(),e._a[be]=n.getUTCDate()),t=0;t<3&&null==e._a[t];++t)e._a[t]=s[t]=r[t];for(;t<7;t++)e._a[t]=s[t]=null==e._a[t]?2===t?1:0:e._a[t];24===e._a[_e]&&0===e._a[we]&&0===e._a[xe]&&0===e._a[ke]&&(e._nextDay=!0,e._a[_e]=0),e._d=(e._useUTC?ze:function(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}).apply(null,s),o=e._useUTC?e._d.getUTCDay():e._d.getDay(),null!=e._tzm&&e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),e._nextDay&&(e._a[_e]=24),e._w&&void 0!==e._w.d&&e._w.d!==o&&(p(e).weekdayMismatch=!0)}}var vt=/^\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)?)?$/,gt=/^\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)?)?$/,yt=/Z|[+-]\d\d(?::?\d\d)?/,bt=[["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}/]],_t=[["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/]],wt=/^\/?Date\((\-?\d+)/i;function xt(e){var t,n,r,i,o,a,s=e._i,c=vt.exec(s)||gt.exec(s);if(c){for(p(e).iso=!0,t=0,n=bt.length;t<n;t++)if(bt[t][1].exec(c[1])){i=bt[t][0],r=!1!==bt[t][2];break}if(null==i)return void(e._isValid=!1);if(c[3]){for(t=0,n=_t.length;t<n;t++)if(_t[t][1].exec(c[3])){o=(c[2]||" ")+_t[t][0];break}if(null==o)return void(e._isValid=!1)}if(!r&&null!=o)return void(e._isValid=!1);if(c[4]){if(!yt.exec(c[4]))return void(e._isValid=!1);a="Z"}e._f=i+(o||"")+(a||""),Ct(e)}else e._isValid=!1}var kt=/^(?:(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 Et(e){var t=parseInt(e,10);return t<=49?2e3+t:t<=999?1900+t:t}var St={UT:0,GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};function Tt(e){var t,n,r,i,o,a,s,c=kt.exec(e._i.replace(/\([^)]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").trim());if(c){var u=(t=c[4],n=c[3],r=c[2],i=c[5],o=c[6],a=c[7],s=[Et(t),De.indexOf(n),parseInt(r,10),parseInt(i,10),parseInt(o,10)],a&&s.push(parseInt(a,10)),s);if(!function(e,t,n){if(e){var r=Ke.indexOf(e),i=new Date(t[0],t[1],t[2]).getDay();if(r!==i)return p(n).weekdayMismatch=!0,n._isValid=!1,!1}return!0}(c[1],u,e))return;e._a=u,e._tzm=function(e,t,n){if(e)return St[e];if(t)return 0;var r=parseInt(n,10),i=r%100,o=(r-i)/100;return 60*o+i}(c[8],c[9],c[10]),e._d=ze.apply(null,e._a),e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),p(e).rfc2822=!0}else e._isValid=!1}function Ct(e){if(e._f!==i.ISO_8601)if(e._f!==i.RFC_2822){e._a=[],p(e).empty=!0;var t,n,r,o,a,s=""+e._i,c=s.length,u=0;for(r=Y(e._f,e._locale).match(U)||[],t=0;t<r.length;t++)o=r[t],(n=(s.match(de(o,e))||[])[0])&&((a=s.substr(0,s.indexOf(n))).length>0&&p(e).unusedInput.push(a),s=s.slice(s.indexOf(n)+n.length),u+=n.length),H[o]?(n?p(e).empty=!1:p(e).unusedTokens.push(o),ve(o,n,e)):e._strict&&!n&&p(e).unusedTokens.push(o);p(e).charsLeftOver=c-u,s.length>0&&p(e).unusedInput.push(s),e._a[_e]<=12&&!0===p(e).bigHour&&e._a[_e]>0&&(p(e).bigHour=void 0),p(e).parsedDateParts=e._a.slice(0),p(e).meridiem=e._meridiem,e._a[_e]=(l=e._locale,d=e._a[_e],null==(f=e._meridiem)?d:null!=l.meridiemHour?l.meridiemHour(d,f):null!=l.isPM?((h=l.isPM(f))&&d<12&&(d+=12),h||12!==d||(d=0),d):d),mt(e),ht(e)}else Tt(e);else xt(e);var l,d,f,h}function Ot(e){var t=e._i,n=e._f;return e._locale=e._locale||ft(e._l),null===t||void 0===n&&""===t?v({nullInput:!0}):("string"==typeof t&&(e._i=t=e._locale.preparse(t)),w(t)?new _(ht(t)):(u(t)?e._d=t:o(n)?function(e){var t,n,r,i,o;if(0===e._f.length)return p(e).invalidFormat=!0,void(e._d=new Date(NaN));for(i=0;i<e._f.length;i++)o=0,t=y({},e),null!=e._useUTC&&(t._useUTC=e._useUTC),t._f=e._f[i],Ct(t),m(t)&&(o+=p(t).charsLeftOver,o+=10*p(t).unusedTokens.length,p(t).score=o,(null==r||o<r)&&(r=o,n=t));f(e,n||t)}(e):n?Ct(e):function(e){var t=e._i;s(t)?e._d=new Date(i.now()):u(t)?e._d=new Date(t.valueOf()):"string"==typeof t?function(e){var t=wt.exec(e._i);null===t?(xt(e),!1===e._isValid&&(delete e._isValid,Tt(e),!1===e._isValid&&(delete e._isValid,i.createFromInputFallback(e)))):e._d=new Date(+t[1])}(e):o(t)?(e._a=l(t.slice(0),function(e){return parseInt(e,10)}),mt(e)):a(t)?function(e){if(!e._d){var t=D(e._i);e._a=l([t.year,t.month,t.day||t.date,t.hour,t.minute,t.second,t.millisecond],function(e){return e&&parseInt(e,10)}),mt(e)}}(e):c(t)?e._d=new Date(t):i.createFromInputFallback(e)}(e),m(e)||(e._d=null),e))}function jt(e,t,n,r,i){var s,c={};return!0!==n&&!1!==n||(r=n,n=void 0),(a(e)&&function(e){if(Object.getOwnPropertyNames)return 0===Object.getOwnPropertyNames(e).length;var t;for(t in e)if(e.hasOwnProperty(t))return!1;return!0}(e)||o(e)&&0===e.length)&&(e=void 0),c._isAMomentObject=!0,c._useUTC=c._isUTC=i,c._l=n,c._i=e,c._f=t,c._strict=r,(s=new _(ht(Ot(c))))._nextDay&&(s.add(1,"d"),s._nextDay=void 0),s}function At(e,t,n,r){return jt(e,t,n,r,!1)}i.createFromInputFallback=T("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 Pt=T("moment().min is deprecated, use moment.max instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var e=At.apply(null,arguments);return this.isValid()&&e.isValid()?e<this?this:e:v()}),Mt=T("moment().max is deprecated, use moment.min instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var e=At.apply(null,arguments);return this.isValid()&&e.isValid()?e>this?this:e:v()});function Nt(e,t){var n,r;if(1===t.length&&o(t[0])&&(t=t[0]),!t.length)return At();for(n=t[0],r=1;r<t.length;++r)t[r].isValid()&&!t[r][e](n)||(n=t[r]);return n}var Lt=["year","quarter","month","week","day","hour","minute","second","millisecond"];function It(e){var t=D(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,c=t.minute||0,u=t.second||0,l=t.millisecond||0;this._isValid=function(e){for(var t in e)if(-1===Oe.call(Lt,t)||null!=e[t]&&isNaN(e[t]))return!1;for(var n=!1,r=0;r<Lt.length;++r)if(e[Lt[r]]){if(n)return!1;parseFloat(e[Lt[r]])!==k(e[Lt[r]])&&(n=!0)}return!0}(t),this._milliseconds=+l+1e3*u+6e4*c+1e3*s*60*60,this._days=+a+7*o,this._months=+i+3*r+12*n,this._data={},this._locale=ft(),this._bubble()}function Dt(e){return e instanceof It}function Rt(e){return e<0?-1*Math.round(-1*e):Math.round(e)}function Bt(e,t){V(e,0,0,function(){var e=this.utcOffset(),n="+";return e<0&&(e=-e,n="-"),n+F(~~(e/60),2)+t+F(~~e%60,2)})}Bt("Z",":"),Bt("ZZ",""),le("Z",se),le("ZZ",se),pe(["Z","ZZ"],function(e,t,n){n._useUTC=!0,n._tzm=Ut(se,e)});var Ft=/([\+\-]|\d\d)/gi;function Ut(e,t){var n=(t||"").match(e);if(null===n)return null;var r=n[n.length-1]||[],i=(r+"").match(Ft)||["-",0,0],o=60*i[1]+k(i[2]);return 0===o?0:"+"===i[0]?o:-o}function qt(e,t){var n,r;return t._isUTC?(n=t.clone(),r=(w(e)||u(e)?e.valueOf():At(e).valueOf())-n.valueOf(),n._d.setTime(n._d.valueOf()+r),i.updateOffset(n,!1),n):At(e).local()}function zt(e){return 15*-Math.round(e._d.getTimezoneOffset()/15)}function Ht(){return!!this.isValid()&&this._isUTC&&0===this._offset}i.updateOffset=function(){};var Vt=/^(\-|\+)?(?:(\d*)[. ])?(\d+)\:(\d+)(?:\:(\d+)(\.\d*)?)?$/,Wt=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/;function Yt(e,t){var n,r,i,o,a,s,u=e,l=null;return Dt(e)?u={ms:e._milliseconds,d:e._days,M:e._months}:c(e)?(u={},t?u[t]=e:u.milliseconds=e):(l=Vt.exec(e))?(n="-"===l[1]?-1:1,u={y:0,d:k(l[be])*n,h:k(l[_e])*n,m:k(l[we])*n,s:k(l[xe])*n,ms:k(Rt(1e3*l[ke]))*n}):(l=Wt.exec(e))?(n="-"===l[1]?-1:(l[1],1),u={y:Gt(l[2],n),M:Gt(l[3],n),w:Gt(l[4],n),d:Gt(l[5],n),h:Gt(l[6],n),m:Gt(l[7],n),s:Gt(l[8],n)}):null==u?u={}:"object"==typeof u&&("from"in u||"to"in u)&&(o=At(u.from),a=At(u.to),i=o.isValid()&&a.isValid()?(a=qt(a,o),o.isBefore(a)?s=Kt(o,a):((s=Kt(a,o)).milliseconds=-s.milliseconds,s.months=-s.months),s):{milliseconds:0,months:0},(u={}).ms=i.milliseconds,u.M=i.months),r=new It(u),Dt(e)&&d(e,"_locale")&&(r._locale=e._locale),r}function Gt(e,t){var n=e&&parseFloat(e.replace(",","."));return(isNaN(n)?0:n)*t}function Kt(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 $t(e,t){return function(n,r){var i;return null===r||isNaN(+r)||(j(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),Xt(this,Yt(n="string"==typeof n?+n:n,r),e),this}}function Xt(e,t,n,r){var o=t._milliseconds,a=Rt(t._days),s=Rt(t._months);e.isValid()&&(r=null==r||r,s&&Re(e,Pe(e,"Month")+s*n),a&&Me(e,"Date",Pe(e,"Date")+a*n),o&&e._d.setTime(e._d.valueOf()+o*n),r&&i.updateOffset(e,a||s))}Yt.fn=It.prototype,Yt.invalid=function(){return Yt(NaN)};var Qt=$t(1,"add"),Zt=$t(-1,"subtract");function Jt(e,t){var n,r,i=12*(t.year()-e.year())+(t.month()-e.month()),o=e.clone().add(i,"months");return t-o<0?(n=e.clone().add(i-1,"months"),r=(t-o)/(o-n)):(n=e.clone().add(i+1,"months"),r=(t-o)/(n-o)),-(i+r)||0}function en(e){var t;return void 0===e?this._locale._abbr:(null!=(t=ft(e))&&(this._locale=t),this)}i.defaultFormat="YYYY-MM-DDTHH:mm:ssZ",i.defaultFormatUtc="YYYY-MM-DDTHH:mm:ss[Z]";var tn=T("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 nn(){return this._locale}function rn(e,t){V(0,[e,e.length],0,t)}function on(e,t,n,r,i){var o;return null==e?We(this,r,i).year:(o=Ye(e,r,i),t>o&&(t=o),function(e,t,n,r,i){var o=Ve(e,t,n,r,i),a=ze(o.year,0,o.dayOfYear);return this.year(a.getUTCFullYear()),this.month(a.getUTCMonth()),this.date(a.getUTCDate()),this}.call(this,e,t,n,r,i))}V(0,["gg",2],0,function(){return this.weekYear()%100}),V(0,["GG",2],0,function(){return this.isoWeekYear()%100}),rn("gggg","weekYear"),rn("ggggg","weekYear"),rn("GGGG","isoWeekYear"),rn("GGGGG","isoWeekYear"),L("weekYear","gg"),L("isoWeekYear","GG"),B("weekYear",1),B("isoWeekYear",1),le("G",oe),le("g",oe),le("GG",Z,K),le("gg",Z,K),le("GGGG",ne,X),le("gggg",ne,X),le("GGGGG",re,Q),le("ggggg",re,Q),me(["gggg","ggggg","GGGG","GGGGG"],function(e,t,n,r){t[r.substr(0,2)]=k(e)}),me(["gg","GG"],function(e,t,n,r){t[r]=i.parseTwoDigitYear(e)}),V("Q",0,"Qo","quarter"),L("quarter","Q"),B("quarter",7),le("Q",G),pe("Q",function(e,t){t[ye]=3*(k(e)-1)}),V("D",["DD",2],"Do","date"),L("date","D"),B("date",9),le("D",Z),le("DD",Z,K),le("Do",function(e,t){return e?t._dayOfMonthOrdinalParse||t._ordinalParse:t._dayOfMonthOrdinalParseLenient}),pe(["D","DD"],be),pe("Do",function(e,t){t[be]=k(e.match(Z)[0])});var an=Ae("Date",!0);V("DDD",["DDDD",3],"DDDo","dayOfYear"),L("dayOfYear","DDD"),B("dayOfYear",4),le("DDD",te),le("DDDD",$),pe(["DDD","DDDD"],function(e,t,n){n._dayOfYear=k(e)}),V("m",["mm",2],0,"minute"),L("minute","m"),B("minute",14),le("m",Z),le("mm",Z,K),pe(["m","mm"],we);var sn=Ae("Minutes",!1);V("s",["ss",2],0,"second"),L("second","s"),B("second",15),le("s",Z),le("ss",Z,K),pe(["s","ss"],xe);var cn,un=Ae("Seconds",!1);for(V("S",0,0,function(){return~~(this.millisecond()/100)}),V(0,["SS",2],0,function(){return~~(this.millisecond()/10)}),V(0,["SSS",3],0,"millisecond"),V(0,["SSSS",4],0,function(){return 10*this.millisecond()}),V(0,["SSSSS",5],0,function(){return 100*this.millisecond()}),V(0,["SSSSSS",6],0,function(){return 1e3*this.millisecond()}),V(0,["SSSSSSS",7],0,function(){return 1e4*this.millisecond()}),V(0,["SSSSSSSS",8],0,function(){return 1e5*this.millisecond()}),V(0,["SSSSSSSSS",9],0,function(){return 1e6*this.millisecond()}),L("millisecond","ms"),B("millisecond",16),le("S",te,G),le("SS",te,K),le("SSS",te,$),cn="SSSS";cn.length<=9;cn+="S")le(cn,ie);function ln(e,t){t[ke]=k(1e3*("0."+e))}for(cn="S";cn.length<=9;cn+="S")pe(cn,ln);var dn=Ae("Milliseconds",!1);V("z",0,0,"zoneAbbr"),V("zz",0,0,"zoneName");var fn=_.prototype;function hn(e){return e}fn.add=Qt,fn.calendar=function(e,t){var n=e||At(),r=qt(n,this).startOf("day"),o=i.calendarFormat(this,r)||"sameElse",a=t&&(A(t[o])?t[o].call(this,n):t[o]);return this.format(a||this.localeData().calendar(o,this,At(n)))},fn.clone=function(){return new _(this)},fn.diff=function(e,t,n){var r,i,o;if(!this.isValid())return NaN;if(!(r=qt(e,this)).isValid())return NaN;switch(i=6e4*(r.utcOffset()-this.utcOffset()),t=I(t)){case"year":o=Jt(this,r)/12;break;case"month":o=Jt(this,r);break;case"quarter":o=Jt(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:x(o)},fn.endOf=function(e){return void 0===(e=I(e))||"millisecond"===e?this:("date"===e&&(e="day"),this.startOf(e).add(1,"isoWeek"===e?"week":e).subtract(1,"ms"))},fn.format=function(e){e||(e=this.isUtc()?i.defaultFormatUtc:i.defaultFormat);var t=W(this,e);return this.localeData().postformat(t)},fn.from=function(e,t){return this.isValid()&&(w(e)&&e.isValid()||At(e).isValid())?Yt({to:this,from:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()},fn.fromNow=function(e){return this.from(At(),e)},fn.to=function(e,t){return this.isValid()&&(w(e)&&e.isValid()||At(e).isValid())?Yt({from:this,to:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()},fn.toNow=function(e){return this.to(At(),e)},fn.get=function(e){return A(this[e=I(e)])?this[e]():this},fn.invalidAt=function(){return p(this).overflow},fn.isAfter=function(e,t){var n=w(e)?e:At(e);return!(!this.isValid()||!n.isValid())&&("millisecond"===(t=I(s(t)?"millisecond":t))?this.valueOf()>n.valueOf():n.valueOf()<this.clone().startOf(t).valueOf())},fn.isBefore=function(e,t){var n=w(e)?e:At(e);return!(!this.isValid()||!n.isValid())&&("millisecond"===(t=I(s(t)?"millisecond":t))?this.valueOf()<n.valueOf():this.clone().endOf(t).valueOf()<n.valueOf())},fn.isBetween=function(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))},fn.isSame=function(e,t){var n,r=w(e)?e:At(e);return!(!this.isValid()||!r.isValid())&&("millisecond"===(t=I(t||"millisecond"))?this.valueOf()===r.valueOf():(n=r.valueOf(),this.clone().startOf(t).valueOf()<=n&&n<=this.clone().endOf(t).valueOf()))},fn.isSameOrAfter=function(e,t){return this.isSame(e,t)||this.isAfter(e,t)},fn.isSameOrBefore=function(e,t){return this.isSame(e,t)||this.isBefore(e,t)},fn.isValid=function(){return m(this)},fn.lang=tn,fn.locale=en,fn.localeData=nn,fn.max=Mt,fn.min=Pt,fn.parsingFlags=function(){return f({},p(this))},fn.set=function(e,t){if("object"==typeof e)for(var n=function(e){var t=[];for(var n in e)t.push({unit:n,priority:R[n]});return t.sort(function(e,t){return e.priority-t.priority}),t}(e=D(e)),r=0;r<n.length;r++)this[n[r].unit](e[n[r].unit]);else if(A(this[e=I(e)]))return this[e](t);return this},fn.startOf=function(e){switch(e=I(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},fn.subtract=Zt,fn.toArray=function(){var e=this;return[e.year(),e.month(),e.date(),e.hour(),e.minute(),e.second(),e.millisecond()]},fn.toObject=function(){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()}},fn.toDate=function(){return new Date(this.valueOf())},fn.toISOString=function(e){if(!this.isValid())return null;var t=!0!==e,n=t?this.clone().utc():this;return n.year()<0||n.year()>9999?W(n,t?"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYYYY-MM-DD[T]HH:mm:ss.SSSZ"):A(Date.prototype.toISOString)?t?this.toDate().toISOString():new Date(this._d.valueOf()).toISOString().replace("Z",W(n,"Z")):W(n,t?"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYY-MM-DD[T]HH:mm:ss.SSSZ")},fn.inspect=function(){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=t+'[")]';return this.format(n+r+"-MM-DD[T]HH:mm:ss.SSS"+i)},fn.toJSON=function(){return this.isValid()?this.toISOString():null},fn.toString=function(){return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ")},fn.unix=function(){return Math.floor(this.valueOf()/1e3)},fn.valueOf=function(){return this._d.valueOf()-6e4*(this._offset||0)},fn.creationData=function(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict}},fn.year=je,fn.isLeapYear=function(){return Ce(this.year())},fn.weekYear=function(e){return on.call(this,e,this.week(),this.weekday(),this.localeData()._week.dow,this.localeData()._week.doy)},fn.isoWeekYear=function(e){return on.call(this,e,this.isoWeek(),this.isoWeekday(),1,4)},fn.quarter=fn.quarters=function(e){return null==e?Math.ceil((this.month()+1)/3):this.month(3*(e-1)+this.month()%3)},fn.month=Be,fn.daysInMonth=function(){return Ne(this.year(),this.month())},fn.week=fn.weeks=function(e){var t=this.localeData().week(this);return null==e?t:this.add(7*(e-t),"d")},fn.isoWeek=fn.isoWeeks=function(e){var t=We(this,1,4).week;return null==e?t:this.add(7*(e-t),"d")},fn.weeksInYear=function(){var e=this.localeData()._week;return Ye(this.year(),e.dow,e.doy)},fn.isoWeeksInYear=function(){return Ye(this.year(),1,4)},fn.date=an,fn.day=fn.days=function(e){if(!this.isValid())return null!=e?this:NaN;var t=this._isUTC?this._d.getUTCDay():this._d.getDay();return null!=e?(e=function(e,t){return"string"!=typeof e?e:isNaN(e)?"number"==typeof(e=t.weekdaysParse(e))?e:null:parseInt(e,10)}(e,this.localeData()),this.add(e-t,"d")):t},fn.weekday=function(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")},fn.isoWeekday=function(e){if(!this.isValid())return null!=e?this:NaN;if(null!=e){var t=function(e,t){return"string"==typeof e?t.weekdaysParse(e)%7||7:isNaN(e)?null:e}(e,this.localeData());return this.day(this.day()%7?t:t-7)}return this.day()||7},fn.dayOfYear=function(e){var t=Math.round((this.clone().startOf("day")-this.clone().startOf("year"))/864e5)+1;return null==e?t:this.add(e-t,"d")},fn.hour=fn.hours=it,fn.minute=fn.minutes=sn,fn.second=fn.seconds=un,fn.millisecond=fn.milliseconds=dn,fn.utcOffset=function(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=Ut(se,e)))return this}else Math.abs(e)<16&&!n&&(e*=60);return!this._isUTC&&t&&(r=zt(this)),this._offset=e,this._isUTC=!0,null!=r&&this.add(r,"m"),o!==e&&(!t||this._changeInProgress?Xt(this,Yt(e-o,"m"),1,!1):this._changeInProgress||(this._changeInProgress=!0,i.updateOffset(this,!0),this._changeInProgress=null)),this}return this._isUTC?o:zt(this)},fn.utc=function(e){return this.utcOffset(0,e)},fn.local=function(e){return this._isUTC&&(this.utcOffset(0,e),this._isUTC=!1,e&&this.subtract(zt(this),"m")),this},fn.parseZone=function(){if(null!=this._tzm)this.utcOffset(this._tzm,!1,!0);else if("string"==typeof this._i){var e=Ut(ae,this._i);null!=e?this.utcOffset(e):this.utcOffset(0,!0)}return this},fn.hasAlignedHourOffset=function(e){return!!this.isValid()&&(e=e?At(e).utcOffset():0,(this.utcOffset()-e)%60==0)},fn.isDST=function(){return this.utcOffset()>this.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()},fn.isLocal=function(){return!!this.isValid()&&!this._isUTC},fn.isUtcOffset=function(){return!!this.isValid()&&this._isUTC},fn.isUtc=Ht,fn.isUTC=Ht,fn.zoneAbbr=function(){return this._isUTC?"UTC":""},fn.zoneName=function(){return this._isUTC?"Coordinated Universal Time":""},fn.dates=T("dates accessor is deprecated. Use date instead.",an),fn.months=T("months accessor is deprecated. Use month instead",Be),fn.years=T("years accessor is deprecated. Use year instead",je),fn.zone=T("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",function(e,t){return null!=e?("string"!=typeof e&&(e=-e),this.utcOffset(e,t),this):-this.utcOffset()}),fn.isDSTShifted=T("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",function(){if(!s(this._isDSTShifted))return this._isDSTShifted;var e={};if(y(e,this),(e=Ot(e))._a){var t=e._isUTC?h(e._a):At(e._a);this._isDSTShifted=this.isValid()&&E(e._a,t.toArray())>0}else this._isDSTShifted=!1;return this._isDSTShifted});var pn=M.prototype;function mn(e,t,n,r){var i=ft(),o=h().set(r,t);return i[n](o,e)}function vn(e,t,n){if(c(e)&&(t=e,e=void 0),e=e||"",null!=t)return mn(e,t,n,"month");var r,i=[];for(r=0;r<12;r++)i[r]=mn(e,r,n,"month");return i}function gn(e,t,n,r){"boolean"==typeof e?(c(t)&&(n=t,t=void 0),t=t||""):(n=t=e,e=!1,c(t)&&(n=t,t=void 0),t=t||"");var i,o=ft(),a=e?o._week.dow:0;if(null!=n)return mn(t,(n+a)%7,r,"day");var s=[];for(i=0;i<7;i++)s[i]=mn(t,(i+a)%7,r,"day");return s}pn.calendar=function(e,t,n){var r=this._calendar[e]||this._calendar.sameElse;return A(r)?r.call(t,n):r},pn.longDateFormat=function(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])},pn.invalidDate=function(){return this._invalidDate},pn.ordinal=function(e){return this._ordinal.replace("%d",e)},pn.preparse=hn,pn.postformat=hn,pn.relativeTime=function(e,t,n,r){var i=this._relativeTime[n];return A(i)?i(e,t,n,r):i.replace(/%d/i,e)},pn.pastFuture=function(e,t){var n=this._relativeTime[e>0?"future":"past"];return A(n)?n(t):n.replace(/%s/i,t)},pn.set=function(e){var t,n;for(n in e)A(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)},pn.months=function(e,t){return e?o(this._months)?this._months[e.month()]:this._months[(this._months.isFormat||Le).test(t)?"format":"standalone"][e.month()]:o(this._months)?this._months:this._months.standalone},pn.monthsShort=function(e,t){return e?o(this._monthsShort)?this._monthsShort[e.month()]:this._monthsShort[Le.test(t)?"format":"standalone"][e.month()]:o(this._monthsShort)?this._monthsShort:this._monthsShort.standalone},pn.monthsParse=function(e,t,n){var r,i,o;if(this._monthsParseExact)return function(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=h([2e3,r]),this._shortMonthsParse[r]=this.monthsShort(o,"").toLocaleLowerCase(),this._longMonthsParse[r]=this.months(o,"").toLocaleLowerCase();return n?"MMM"===t?-1!==(i=Oe.call(this._shortMonthsParse,a))?i:null:-1!==(i=Oe.call(this._longMonthsParse,a))?i:null:"MMM"===t?-1!==(i=Oe.call(this._shortMonthsParse,a))?i:-1!==(i=Oe.call(this._longMonthsParse,a))?i:null:-1!==(i=Oe.call(this._longMonthsParse,a))?i:-1!==(i=Oe.call(this._shortMonthsParse,a))?i:null}.call(this,e,t,n);for(this._monthsParse||(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[]),r=0;r<12;r++){if(i=h([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}},pn.monthsRegex=function(e){return this._monthsParseExact?(d(this,"_monthsRegex")||qe.call(this),e?this._monthsStrictRegex:this._monthsRegex):(d(this,"_monthsRegex")||(this._monthsRegex=Ue),this._monthsStrictRegex&&e?this._monthsStrictRegex:this._monthsRegex)},pn.monthsShortRegex=function(e){return this._monthsParseExact?(d(this,"_monthsRegex")||qe.call(this),e?this._monthsShortStrictRegex:this._monthsShortRegex):(d(this,"_monthsShortRegex")||(this._monthsShortRegex=Fe),this._monthsShortStrictRegex&&e?this._monthsShortStrictRegex:this._monthsShortRegex)},pn.week=function(e){return We(e,this._week.dow,this._week.doy).week},pn.firstDayOfYear=function(){return this._week.doy},pn.firstDayOfWeek=function(){return this._week.dow},pn.weekdays=function(e,t){return e?o(this._weekdays)?this._weekdays[e.day()]:this._weekdays[this._weekdays.isFormat.test(t)?"format":"standalone"][e.day()]:o(this._weekdays)?this._weekdays:this._weekdays.standalone},pn.weekdaysMin=function(e){return e?this._weekdaysMin[e.day()]:this._weekdaysMin},pn.weekdaysShort=function(e){return e?this._weekdaysShort[e.day()]:this._weekdaysShort},pn.weekdaysParse=function(e,t,n){var r,i,o;if(this._weekdaysParseExact)return function(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=h([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=Oe.call(this._weekdaysParse,a))?i:null:"ddd"===t?-1!==(i=Oe.call(this._shortWeekdaysParse,a))?i:null:-1!==(i=Oe.call(this._minWeekdaysParse,a))?i:null:"dddd"===t?-1!==(i=Oe.call(this._weekdaysParse,a))?i:-1!==(i=Oe.call(this._shortWeekdaysParse,a))?i:-1!==(i=Oe.call(this._minWeekdaysParse,a))?i:null:"ddd"===t?-1!==(i=Oe.call(this._shortWeekdaysParse,a))?i:-1!==(i=Oe.call(this._weekdaysParse,a))?i:-1!==(i=Oe.call(this._minWeekdaysParse,a))?i:null:-1!==(i=Oe.call(this._minWeekdaysParse,a))?i:-1!==(i=Oe.call(this._weekdaysParse,a))?i:-1!==(i=Oe.call(this._shortWeekdaysParse,a))?i:null}.call(this,e,t,n);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),r=0;r<7;r++){if(i=h([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}},pn.weekdaysRegex=function(e){return this._weekdaysParseExact?(d(this,"_weekdaysRegex")||Je.call(this),e?this._weekdaysStrictRegex:this._weekdaysRegex):(d(this,"_weekdaysRegex")||(this._weekdaysRegex=Xe),this._weekdaysStrictRegex&&e?this._weekdaysStrictRegex:this._weekdaysRegex)},pn.weekdaysShortRegex=function(e){return this._weekdaysParseExact?(d(this,"_weekdaysRegex")||Je.call(this),e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(d(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=Qe),this._weekdaysShortStrictRegex&&e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)},pn.weekdaysMinRegex=function(e){return this._weekdaysParseExact?(d(this,"_weekdaysRegex")||Je.call(this),e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(d(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=Ze),this._weekdaysMinStrictRegex&&e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)},pn.isPM=function(e){return"p"===(e+"").toLowerCase().charAt(0)},pn.meridiem=function(e,t,n){return e>11?n?"pm":"PM":n?"am":"AM"},lt("en",{dayOfMonthOrdinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(e){var t=e%10,n=1===k(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th";return e+n}}),i.lang=T("moment.lang is deprecated. Use moment.locale instead.",lt),i.langData=T("moment.langData is deprecated. Use moment.localeData instead.",ft);var yn=Math.abs;function bn(e,t,n,r){var i=Yt(t,n);return e._milliseconds+=r*i._milliseconds,e._days+=r*i._days,e._months+=r*i._months,e._bubble()}function _n(e){return e<0?Math.floor(e):Math.ceil(e)}function wn(e){return 4800*e/146097}function xn(e){return 146097*e/4800}function kn(e){return function(){return this.as(e)}}var En=kn("ms"),Sn=kn("s"),Tn=kn("m"),Cn=kn("h"),On=kn("d"),jn=kn("w"),An=kn("M"),Pn=kn("y");function Mn(e){return function(){return this.isValid()?this._data[e]:NaN}}var Nn=Mn("milliseconds"),Ln=Mn("seconds"),In=Mn("minutes"),Dn=Mn("hours"),Rn=Mn("days"),Bn=Mn("months"),Fn=Mn("years"),Un=Math.round,qn={ss:44,s:45,m:45,h:22,d:26,M:11},zn=Math.abs;function Hn(e){return(e>0)-(e<0)||+e}function Vn(){if(!this.isValid())return this.localeData().invalidDate();var e,t,n=zn(this._milliseconds)/1e3,r=zn(this._days),i=zn(this._months);e=x(n/60),t=x(e/60),n%=60,e%=60;var o=x(i/12),a=i%=12,s=r,c=t,u=e,l=n?n.toFixed(3).replace(/\.?0+$/,""):"",d=this.asSeconds();if(!d)return"P0D";var f=d<0?"-":"",h=Hn(this._months)!==Hn(d)?"-":"",p=Hn(this._days)!==Hn(d)?"-":"",m=Hn(this._milliseconds)!==Hn(d)?"-":"";return f+"P"+(o?h+o+"Y":"")+(a?h+a+"M":"")+(s?p+s+"D":"")+(c||u||l?"T":"")+(c?m+c+"H":"")+(u?m+u+"M":"")+(l?m+l+"S":"")}var Wn=It.prototype;return Wn.isValid=function(){return this._isValid},Wn.abs=function(){var e=this._data;return this._milliseconds=yn(this._milliseconds),this._days=yn(this._days),this._months=yn(this._months),e.milliseconds=yn(e.milliseconds),e.seconds=yn(e.seconds),e.minutes=yn(e.minutes),e.hours=yn(e.hours),e.months=yn(e.months),e.years=yn(e.years),this},Wn.add=function(e,t){return bn(this,e,t,1)},Wn.subtract=function(e,t){return bn(this,e,t,-1)},Wn.as=function(e){if(!this.isValid())return NaN;var t,n,r=this._milliseconds;if("month"===(e=I(e))||"year"===e)return t=this._days+r/864e5,n=this._months+wn(t),"month"===e?n:n/12;switch(t=this._days+Math.round(xn(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)}},Wn.asMilliseconds=En,Wn.asSeconds=Sn,Wn.asMinutes=Tn,Wn.asHours=Cn,Wn.asDays=On,Wn.asWeeks=jn,Wn.asMonths=An,Wn.asYears=Pn,Wn.valueOf=function(){return this.isValid()?this._milliseconds+864e5*this._days+this._months%12*2592e6+31536e6*k(this._months/12):NaN},Wn._bubble=function(){var e,t,n,r,i,o=this._milliseconds,a=this._days,s=this._months,c=this._data;return o>=0&&a>=0&&s>=0||o<=0&&a<=0&&s<=0||(o+=864e5*_n(xn(s)+a),a=0,s=0),c.milliseconds=o%1e3,e=x(o/1e3),c.seconds=e%60,t=x(e/60),c.minutes=t%60,n=x(t/60),c.hours=n%24,a+=x(n/24),i=x(wn(a)),s+=i,a-=_n(xn(i)),r=x(s/12),s%=12,c.days=a,c.months=s,c.years=r,this},Wn.clone=function(){return Yt(this)},Wn.get=function(e){return e=I(e),this.isValid()?this[e+"s"]():NaN},Wn.milliseconds=Nn,Wn.seconds=Ln,Wn.minutes=In,Wn.hours=Dn,Wn.days=Rn,Wn.weeks=function(){return x(this.days()/7)},Wn.months=Bn,Wn.years=Fn,Wn.humanize=function(e){if(!this.isValid())return this.localeData().invalidDate();var t=this.localeData(),n=function(e,t,n){var r=Yt(e).abs(),i=Un(r.as("s")),o=Un(r.as("m")),a=Un(r.as("h")),s=Un(r.as("d")),c=Un(r.as("M")),u=Un(r.as("y")),l=i<=qn.ss&&["s",i]||i<qn.s&&["ss",i]||o<=1&&["m"]||o<qn.m&&["mm",o]||a<=1&&["h"]||a<qn.h&&["hh",a]||s<=1&&["d"]||s<qn.d&&["dd",s]||c<=1&&["M"]||c<qn.M&&["MM",c]||u<=1&&["y"]||["yy",u];return l[2]=t,l[3]=+e>0,l[4]=n,function(e,t,n,r,i){return i.relativeTime(t||1,!!n,e,r)}.apply(null,l)}(this,!e,t);return e&&(n=t.pastFuture(+this,n)),t.postformat(n)},Wn.toISOString=Vn,Wn.toString=Vn,Wn.toJSON=Vn,Wn.locale=en,Wn.localeData=nn,Wn.toIsoString=T("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",Vn),Wn.lang=tn,V("X",0,0,"unix"),V("x",0,0,"valueOf"),le("x",oe),le("X",/[+-]?\d+(\.\d{1,3})?/),pe("X",function(e,t,n){n._d=new Date(1e3*parseFloat(e,10))}),pe("x",function(e,t,n){n._d=new Date(k(e))}),i.version="2.20.1",t=At,i.fn=fn,i.min=function(){return Nt("isBefore",[].slice.call(arguments,0))},i.max=function(){return Nt("isAfter",[].slice.call(arguments,0))},i.now=function(){return Date.now?Date.now():+new Date},i.utc=h,i.unix=function(e){return At(1e3*e)},i.months=function(e,t){return vn(e,t,"months")},i.isDate=u,i.locale=lt,i.invalid=v,i.duration=Yt,i.isMoment=w,i.weekdays=function(e,t,n){return gn(e,t,n,"weekdays")},i.parseZone=function(){return At.apply(null,arguments).parseZone()},i.localeData=ft,i.isDuration=Dt,i.monthsShort=function(e,t){return vn(e,t,"monthsShort")},i.weekdaysMin=function(e,t,n){return gn(e,t,n,"weekdaysMin")},i.defineLocale=dt,i.updateLocale=function(e,t){if(null!=t){var n,r,i=ot;null!=(r=ut(e))&&(i=r._config),t=P(i,t),(n=new M(t)).parentLocale=at[e],at[e]=n,lt(e)}else null!=at[e]&&(null!=at[e].parentLocale?at[e]=at[e].parentLocale:null!=at[e]&&delete at[e]);return at[e]},i.locales=function(){return C(at)},i.weekdaysShort=function(e,t,n){return gn(e,t,n,"weekdaysShort")},i.normalizeUnits=I,i.relativeTimeRounding=function(e){return void 0===e?Un:"function"==typeof e&&(Un=e,!0)},i.relativeTimeThreshold=function(e,t){return void 0!==qn[e]&&(void 0===t?qn[e]:(qn[e]=t,"s"===e&&(qn.ss=t-1),!0))},i.calendarFormat=function(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"},i.prototype=fn,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}()}).call(this,n(249)(e))},function(e,t,n){e.exports=n(1656)},function(e,t,n){var r=n(121);e.exports=!r(function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]})},function(e,t){e.exports=function(e){return"object"==typeof e?null!==e:"function"==typeof e}},function(e,t,n){"use strict";var r=!0,i="Invariant failed";t.a=function(e,t){if(!e){if(r)throw new Error(i);throw new Error(i+": "+(t||""))}}},function(e,t,n){e.exports=n(1995)()},function(e,t,n){var r=n(18),i=n(30),o=n(14);e.exports=r(function(e,t){return i(o(e),t)})},function(e,t,n){e.exports=n(1341)},function(e,t,n){var r=n(51),i=n(841);e.exports=r(i(!0))},function(e,t,n){"use strict";n.d(t,"b",function(){return b}),n.d(t,"d",function(){return _}),n.d(t,"c",function(){return w}),n.d(t,"a",function(){return x});var r=n(713),i=n.n(r),o=n(357),a=n.n(o),s=n(1160),c=n.n(s),u=n(714),l=n.n(u),d=n(441),f=n.n(d),h=n(715),p=n.n(h),m=n(678),v=n.n(m),g=n(39),y=n.n(g),b=p()(l.a),_=y()(l.a,function(){return{}}),w=p()(c.a),x=a()(i()(w),i()(f.a));v()(x)},function(e,t,n){var r;
/*!
 * jQuery JavaScript Library v3.6.0
 * https://jquery.com/
 *
 * Includes Sizzle.js
 * https://sizzlejs.com/
 *
 * Copyright OpenJS Foundation and other contributors
 * Released under the MIT license
 * https://jquery.org/license
 *
 * Date: 2021-03-02T17:08Z
 */
/*!
 * jQuery JavaScript Library v3.6.0
 * https://jquery.com/
 *
 * Includes Sizzle.js
 * https://sizzlejs.com/
 *
 * Copyright OpenJS Foundation and other contributors
 * Released under the MIT license
 * https://jquery.org/license
 *
 * Date: 2021-03-02T17:08Z
 */
!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(n,i){"use strict";var o=[],a=Object.getPrototypeOf,s=o.slice,c=o.flat?function(e){return o.flat.call(e)}:function(e){return o.concat.apply([],e)},u=o.push,l=o.indexOf,d={},f=d.toString,h=d.hasOwnProperty,p=h.toString,m=p.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=n.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 x(e){return null==e?e+"":"object"==typeof e||"function"==typeof e?d[f.call(e)]||"object":typeof e}var k=function(e,t){return new k.fn.init(e,t)};function E(e){var t=!!e&&"length"in e&&e.length,n=x(e);return!g(e)&&!y(e)&&("array"===n||0===t||"number"==typeof t&&t>0&&t-1 in e)}k.fn=k.prototype={jquery:"3.6.0",constructor:k,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=k.merge(this.constructor(),e);return t.prevObject=this,t},each:function(e){return k.each(this,e)},map:function(e){return this.pushStack(k.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(k.grep(this,function(e,t){return(t+1)%2}))},odd:function(){return this.pushStack(k.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:u,sort:o.sort,splice:o.splice},k.extend=k.fn.extend=function(){var e,t,n,r,i,o,a=arguments[0]||{},s=1,c=arguments.length,u=!1;for("boolean"==typeof a&&(u=a,a=arguments[s]||{},s++),"object"==typeof a||g(a)||(a={}),s===c&&(a=this,s--);s<c;s++)if(null!=(e=arguments[s]))for(t in e)r=e[t],"__proto__"!==t&&a!==r&&(u&&r&&(k.isPlainObject(r)||(i=Array.isArray(r)))?(n=a[t],o=i&&!Array.isArray(n)?[]:i||k.isPlainObject(n)?n:{},i=!1,a[t]=k.extend(u,o,r)):void 0!==r&&(a[t]=r));return a},k.extend({expando:"jQuery"+("3.6.0"+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=h.call(t,"constructor")&&t.constructor)&&p.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(E(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&&(E(Object(e))?k.merge(n,"string"==typeof e?[e]:e):u.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(E(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 c(a)},guid:1,support:v}),"function"==typeof Symbol&&(k.fn[Symbol.iterator]=o[Symbol.iterator]),k.each("Boolean Number String Function Array Date RegExp Object Error Symbol".split(" "),function(e,t){d["[object "+t+"]"]=t.toLowerCase()});var S=
/*!
 * Sizzle CSS Selector Engine v2.3.6
 * https://sizzlejs.com/
 *
 * Copyright JS Foundation and other contributors
 * Released under the MIT license
 * https://js.foundation/
 *
 * Date: 2021-02-16
 */
function(e){var t,n,r,i,o,a,s,c,u,l,d,f,h,p,m,v,g,y,b,_="sizzle"+1*new Date,w=e.document,x=0,k=0,E=ce(),S=ce(),T=ce(),C=ce(),O=function(e,t){return e===t&&(d=!0),0},j={}.hasOwnProperty,A=[],P=A.pop,M=A.push,N=A.push,L=A.slice,I=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",R="[\\x20\\t\\r\\n\\f]",B="(?:\\\\[\\da-fA-F]{1,6}"+R+"?|\\\\[^\\r\\n\\f]|[\\w-]|[^\0-\\x7f])+",F="\\["+R+"*("+B+")(?:"+R+"*([*^$|!~]?=)"+R+"*(?:'((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\"|("+B+"))|)"+R+"*\\]",U=":("+B+")(?:\\((('((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\")|((?:\\\\.|[^\\\\()[\\]]|"+F+")*)|.*)\\)|)",q=new RegExp(R+"+","g"),z=new RegExp("^"+R+"+|((?:^|[^\\\\])(?:\\\\.)*)"+R+"+$","g"),H=new RegExp("^"+R+"*,"+R+"*"),V=new RegExp("^"+R+"*([>+~]|"+R+")"+R+"*"),W=new RegExp(R+"|>"),Y=new RegExp(U),G=new RegExp("^"+B+"$"),K={ID:new RegExp("^#("+B+")"),CLASS:new RegExp("^\\.("+B+")"),TAG:new RegExp("^("+B+"|[*])"),ATTR:new RegExp("^"+F),PSEUDO:new RegExp("^"+U),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+R+"*(even|odd|(([+-]|)(\\d*)n|)"+R+"*(?:([+-]|)"+R+"*(\\d+)|))"+R+"*\\)|)","i"),bool:new RegExp("^(?:"+D+")$","i"),needsContext:new RegExp("^"+R+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+R+"*((?:-\\d)?\\d*)"+R+"*\\)|)(?=[^-]|$)","i")},$=/HTML$/i,X=/^(?:input|select|textarea|button)$/i,Q=/^h\d$/i,Z=/^[^{]+\{\s*\[native \w/,J=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,ee=/[+~]/,te=new RegExp("\\\\[\\da-fA-F]{1,6}"+R+"?|\\\\([^\\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{N.apply(A=L.call(w.childNodes),w.childNodes),A[w.childNodes.length].nodeType}catch(e){N={apply:A.length?function(e,t){M.apply(e,L.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,u,l,d,p,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||h,m)){if(11!==w&&(d=J.exec(e)))if(o=d[1]){if(9===w){if(!(u=t.getElementById(o)))return r;if(u.id===o)return r.push(u),r}else if(y&&(u=y.getElementById(o))&&b(t,u)&&u.id===o)return r.push(u),r}else{if(d[2])return N.apply(r,t.getElementsByTagName(e)),r;if((o=d[3])&&n.getElementsByClassName&&t.getElementsByClassName)return N.apply(r,t.getElementsByClassName(o)),r}if(n.qsa&&!C[e+" "]&&(!v||!v.test(e))&&(1!==w||"object"!==t.nodeName.toLowerCase())){if(g=e,y=t,1===w&&(W.test(e)||V.test(e))){for((y=ee.test(e)&&ge(t.parentNode)||t)===t&&n.scope||((l=t.getAttribute("id"))?l=l.replace(re,ie):t.setAttribute("id",l=_)),s=(p=a(e)).length;s--;)p[s]=(l?"#"+l:":scope")+" "+be(p[s]);g=p.join(",")}try{return N.apply(r,y.querySelectorAll(g)),r}catch(t){C(e,!0)}finally{l===_&&t.removeAttribute("id")}}}return c(e.replace(z,"$1"),t,r,i)}function ce(){var e=[];return function t(n,i){return e.push(n+" ")>r.cacheLength&&delete t[e.shift()],t[n+" "]=i}}function ue(e){return e[_]=!0,e}function le(e){var t=h.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 he(e){return function(t){return"input"===t.nodeName.toLowerCase()&&t.type===e}}function pe(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 ue(function(t){return t=+t,ue(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!$.test(t||n&&n.nodeName||"HTML")},f=se.setDocument=function(e){var t,i,a=e?e.ownerDocument||e:w;return a!=h&&9===a.nodeType&&a.documentElement?(p=(h=a).documentElement,m=!o(h),w!=h&&(i=h.defaultView)&&i.top!==i&&(i.addEventListener?i.addEventListener("unload",oe,!1):i.attachEvent&&i.attachEvent("onunload",oe)),n.scope=le(function(e){return p.appendChild(e).appendChild(h.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(h.createComment("")),!e.getElementsByTagName("*").length}),n.getElementsByClassName=Z.test(h.getElementsByClassName),n.getById=le(function(e){return p.appendChild(e).id=_,!h.getElementsByName||!h.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=Z.test(h.querySelectorAll))&&(le(function(e){var t;p.appendChild(e).innerHTML="<a id='"+_+"'></a><select id='"+_+"-\r\\' msallowcapture=''><option selected=''></option></select>",e.querySelectorAll("[msallowcapture^='']").length&&v.push("[*^$]="+R+"*(?:''|\"\")"),e.querySelectorAll("[selected]").length||v.push("\\["+R+"*(?:value|"+D+")"),e.querySelectorAll("[id~="+_+"-]").length||v.push("~="),(t=h.createElement("input")).setAttribute("name",""),e.appendChild(t),e.querySelectorAll("[name='']").length||v.push("\\["+R+"*name"+R+"*="+R+"*(?:''|\"\")"),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=h.createElement("input");t.setAttribute("type","hidden"),e.appendChild(t).setAttribute("name","D"),e.querySelectorAll("[name=d]").length&&v.push("name"+R+"*[*^$|!~]?="),2!==e.querySelectorAll(":enabled").length&&v.push(":enabled",":disabled"),p.appendChild(e).disabled=!0,2!==e.querySelectorAll(":disabled").length&&v.push(":enabled",":disabled"),e.querySelectorAll("*,:x"),v.push(",.*:")})),(n.matchesSelector=Z.test(y=p.matches||p.webkitMatchesSelector||p.mozMatchesSelector||p.oMatchesSelector||p.msMatchesSelector))&&le(function(e){n.disconnectedMatch=y.call(e,"*"),y.call(e,"[s!='']:x"),g.push("!=",U)}),v=v.length&&new RegExp(v.join("|")),g=g.length&&new RegExp(g.join("|")),t=Z.test(p.compareDocumentPosition),b=t||Z.test(p.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},O=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==h||e.ownerDocument==w&&b(w,e)?-1:t==h||t.ownerDocument==w&&b(w,t)?1:l?I(l,e)-I(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==h?-1:t==h?1:i?-1:o?1:l?I(l,e)-I(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},h):h},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,h,null,[e]).length>0},se.contains=function(e,t){return(e.ownerDocument||e)!=h&&f(e),b(e,t)},se.attr=function(e,t){(e.ownerDocument||e)!=h&&f(e);var i=r.attrHandle[t.toLowerCase()],o=i&&j.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(O),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:ue,match:K,attrHandle:{},find:{},relative:{">":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(e){return e[1]=e[1].replace(te,ne),e[3]=(e[3]||e[4]||e[5]||"").replace(te,ne),"~="===e[2]&&(e[3]=" "+e[3]+" "),e.slice(0,4)},CHILD:function(e){return e[1]=e[1].toLowerCase(),"nth"===e[1].slice(0,3)?(e[3]||se.error(e[0]),e[4]=+(e[4]?e[5]+(e[6]||1):2*("even"===e[3]||"odd"===e[3])),e[5]=+(e[7]+e[8]||"odd"===e[3])):e[3]&&se.error(e[0]),e},PSEUDO:function(e){var t,n=!e[6]&&e[2];return K.CHILD.test(e[0])?null:(e[3]?e[2]=e[4]||e[5]||"":n&&Y.test(n)&&(t=a(n,!0))&&(t=n.indexOf(")",n.length-t)-n.length)&&(e[0]=e[0].slice(0,t),e[2]=n.slice(0,t)),e.slice(0,3))}},filter:{TAG:function(e){var t=e.replace(te,ne).toLowerCase();return"*"===e?function(){return!0}:function(e){return e.nodeName&&e.nodeName.toLowerCase()===t}},CLASS:function(e){var t=E[e+" "];return t||(t=new RegExp("(^|"+R+")"+e+"("+R+"|$)"))&&E(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(q," ")+" ").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,c){var u,l,d,f,h,p,m=o!==a?"nextSibling":"previousSibling",v=t.parentNode,g=s&&t.nodeName.toLowerCase(),y=!c&&!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;p=m="only"===e&&!p&&"nextSibling"}return!0}if(p=[a?v.firstChild:v.lastChild],a&&y){for(b=(h=(u=(l=(d=(f=v)[_]||(f[_]={}))[f.uniqueID]||(d[f.uniqueID]={}))[e]||[])[0]===x&&u[1])&&u[2],f=h&&v.childNodes[h];f=++h&&f&&f[m]||(b=h=0)||p.pop();)if(1===f.nodeType&&++b&&f===t){l[e]=[x,h,b];break}}else if(y&&(b=h=(u=(l=(d=(f=t)[_]||(f[_]={}))[f.uniqueID]||(d[f.uniqueID]={}))[e]||[])[0]===x&&u[1]),!1===b)for(;(f=++h&&f&&f[m]||(b=h=0)||p.pop())&&((s?f.nodeName.toLowerCase()!==g:1!==f.nodeType)||!++b||(y&&((l=(d=f[_]||(f[_]={}))[f.uniqueID]||(d[f.uniqueID]={}))[e]=[x,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())?ue(function(e,n){for(var r,o=i(e,t),a=o.length;a--;)e[r=I(e,o[a])]=!(n[r]=o[a])}):function(e){return i(e,0,n)}):i}},pseudos:{not:ue(function(e){var t=[],n=[],r=s(e.replace(z,"$1"));return r[_]?ue(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:ue(function(e){return function(t){return se(e,t).length>0}}),contains:ue(function(e){return e=e.replace(te,ne),function(t){return(t.textContent||i(t)).indexOf(e)>-1}}),lang:ue(function(e){return G.test(e||"")||se.error("unsupported lang: "+e),e=e.replace(te,ne).toLowerCase(),function(t){var n;do{if(n=m?t.lang:t.getAttribute("xml:lang")||t.getAttribute("lang"))return(n=n.toLowerCase())===e||0===n.indexOf(e+"-")}while((t=t.parentNode)&&1===t.nodeType);return!1}}),target:function(t){var n=e.location&&e.location.hash;return n&&n.slice(1)===t.id},root:function(e){return e===p},focus:function(e){return e===h.activeElement&&(!h.hasFocus||h.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 Q.test(e.nodeName)},input:function(e){return X.test(e.nodeName)},button:function(e){var t=e.nodeName.toLowerCase();return"input"===t&&"button"===e.type||"button"===t},text:function(e){var t;return"input"===e.nodeName.toLowerCase()&&"text"===e.type&&(null==(t=e.getAttribute("type"))||"text"===t.toLowerCase())},first:ve(function(){return[0]}),last:ve(function(e,t){return[t-1]}),eq:ve(function(e,t,n){return[n<0?n+t:n]}),even:ve(function(e,t){for(var n=0;n<t;n+=2)e.push(n);return e}),odd:ve(function(e,t){for(var n=1;n<t;n+=2)e.push(n);return e}),lt:ve(function(e,t,n){for(var r=n<0?n+t:n>t?t:n;--r>=0;)e.push(r);return e}),gt:ve(function(e,t,n){for(var r=n<0?n+t:n;++r<t;)e.push(r);return e})}}).pseudos.nth=r.pseudos.eq,{radio:!0,checkbox:!0,file:!0,password:!0,image:!0})r.pseudos[t]=he(t);for(t in{submit:!0,reset:!0})r.pseudos[t]=pe(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,c){var u,l,d,f=[x,s];if(c){for(;t=t[r];)if((1===t.nodeType||a)&&e(t,n,c))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((u=l[o])&&u[0]===x&&u[1]===s)return f[2]=u[2];if(l[o]=f,f[2]=e(t,n,c))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 xe(e,t,n,r,i){for(var o,a=[],s=0,c=e.length,u=null!=t;s<c;s++)(o=e[s])&&(n&&!n(o,r,i)||(a.push(o),u&&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)),ue(function(o,a,s,c){var u,l,d,f=[],h=[],p=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:xe(m,f,e,s,c),g=n?i||(o?e:p||r)?[]:a:v;if(n&&n(v,g,s,c),r)for(u=xe(g,h),r(u,[],s,c),l=u.length;l--;)(d=u[l])&&(g[h[l]]=!(v[h[l]]=d));if(o){if(i||e){if(i){for(u=[],l=g.length;l--;)(d=g[l])&&u.push(v[l]=d);i(null,g=[],u,c)}for(l=g.length;l--;)(d=g[l])&&(u=i?I(o,d):f[l])>-1&&(o[u]=!(a[u]=d))}}else g=xe(g===a?g.splice(p,g.length):g),i?i(null,a,g,c):N.apply(a,g)})}function Ee(e){for(var t,n,i,o=e.length,a=r.relative[e[0].type],s=a||r.relative[" "],c=a?1:0,l=_e(function(e){return e===t},s,!0),d=_e(function(e){return I(t,e)>-1},s,!0),f=[function(e,n,r){var i=!a&&(r||n!==u)||((t=n).nodeType?l(e,n,r):d(e,n,r));return t=null,i}];c<o;c++)if(n=r.relative[e[c].type])f=[_e(we(f),n)];else{if((n=r.filter[e[c].type].apply(null,e[c].matches))[_]){for(i=++c;i<o&&!r.relative[e[i].type];i++);return ke(c>1&&we(f),c>1&&be(e.slice(0,c-1).concat({value:" "===e[c-2].type?"*":""})).replace(z,"$1"),n,c<i&&Ee(e.slice(c,i)),i<o&&Ee(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,c,u,l=S[e+" "];if(l)return t?0:l.slice(0);for(s=e,c=[],u=r.preFilter;s;){for(a in n&&!(i=H.exec(s))||(i&&(s=s.slice(i[0].length)||s),c.push(o=[])),n=!1,(i=V.exec(s))&&(n=i.shift(),o.push({value:n,type:i[0].replace(z," ")}),s=s.slice(n.length)),r.filter)!(i=K[a].exec(s))||u[a]&&!(i=u[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,c).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=Ee(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,c,l){var d,p,v,g=0,y="0",b=o&&[],_=[],w=u,k=o||i&&r.find.TAG("*",l),E=x+=null==w?1:Math.random()||.1,S=k.length;for(l&&(u=a==h||a||l);y!==S&&null!=(d=k[y]);y++){if(i&&d){for(p=0,a||d.ownerDocument==h||(f(d),s=!m);v=e[p++];)if(v(d,a||h,s)){c.push(d);break}l&&(x=E)}n&&((d=!v&&d)&&g--,o&&b.push(d))}if(g+=y,n&&y!==g){for(p=0;v=t[p++];)v(b,_,a,s);if(o){if(g>0)for(;y--;)b[y]||_[y]||(_[y]=P.call(c));_=xe(_)}N.apply(c,_),l&&!o&&_.length>0&&g+t.length>1&&se.uniqueSort(c)}return l&&(x=E,u=w),b};return n?ue(o):o}(o,i))).selector=e}return s},c=se.select=function(e,t,n,i){var o,c,u,l,d,f="function"==typeof e&&e,h=!i&&a(e=f.selector||e);if(n=n||[],1===h.length){if((c=h[0]=h[0].slice(0)).length>2&&"ID"===(u=c[0]).type&&9===t.nodeType&&m&&r.relative[c[1].type]){if(!(t=(r.find.ID(u.matches[0].replace(te,ne),t)||[])[0]))return n;f&&(t=t.parentNode),e=e.slice(c.shift().value.length)}for(o=K.needsContext.test(e)?0:c.length;o--&&(u=c[o],!r.relative[l=u.type]);)if((d=r.find[l])&&(i=d(u.matches[0].replace(te,ne),ee.test(c[0].type)&&ge(t.parentNode)||t))){if(c.splice(o,1),!(e=i.length&&be(c)))return N.apply(n,i),n;break}}return(f||s(e,h))(i,t,!m,n,!t||ee.test(e)&&ge(t.parentNode)||t),n},n.sortStable=_.split("").sort(O).join("")===_,n.detectDuplicates=!!d,f(),n.sortDetached=le(function(e){return 1&e.compareDocumentPosition(h.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}(n);k.find=S,k.expr=S.selectors,k.expr[":"]=k.expr.pseudos,k.uniqueSort=k.unique=S.uniqueSort,k.text=S.getText,k.isXMLDoc=S.isXML,k.contains=S.contains,k.escapeSelector=S.escape;var T=function(e,t,n){for(var r=[],i=void 0!==n;(e=e[t])&&9!==e.nodeType;)if(1===e.nodeType){if(i&&k(e).is(n))break;r.push(e)}return r},C=function(e,t){for(var n=[];e;e=e.nextSibling)1===e.nodeType&&e!==t&&n.push(e);return n},O=k.expr.match.needsContext;function j(e,t){return e.nodeName&&e.nodeName.toLowerCase()===t.toLowerCase()}var A=/^<([a-z][^\/\0>:\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?>(?:<\/\1>|)$/i;function P(e,t,n){return g(t)?k.grep(e,function(e,r){return!!t.call(e,r,e)!==n}):t.nodeType?k.grep(e,function(e){return e===t!==n}):"string"!=typeof t?k.grep(e,function(e){return l.call(t,e)>-1!==n}):k.filter(t,e,n)}k.filter=function(e,t,n){var r=t[0];return n&&(e=":not("+e+")"),1===t.length&&1===r.nodeType?k.find.matchesSelector(r,e)?[r]:[]:k.find.matches(e,k.grep(t,function(e){return 1===e.nodeType}))},k.fn.extend({find:function(e){var t,n,r=this.length,i=this;if("string"!=typeof e)return this.pushStack(k(e).filter(function(){for(t=0;t<r;t++)if(k.contains(i[t],this))return!0}));for(n=this.pushStack([]),t=0;t<r;t++)k.find(e,i[t],n);return r>1?k.uniqueSort(n):n},filter:function(e){return this.pushStack(P(this,e||[],!1))},not:function(e){return this.pushStack(P(this,e||[],!0))},is:function(e){return!!P(this,"string"==typeof e&&O.test(e)?k(e):e||[],!1).length}});var M,N=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]+))$/;(k.fn.init=function(e,t,n){var r,i;if(!e)return this;if(n=n||M,"string"==typeof e){if(!(r="<"===e[0]&&">"===e[e.length-1]&&e.length>=3?[null,e,null]:N.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 k?t[0]:t,k.merge(this,k.parseHTML(r[1],t&&t.nodeType?t.ownerDocument||t:b,!0)),A.test(r[1])&&k.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(k):k.makeArray(e,this)}).prototype=k.fn,M=k(b);var L=/^(?:parents|prev(?:Until|All))/,I={children:!0,contents:!0,next:!0,prev:!0};function D(e,t){for(;(e=e[t])&&1!==e.nodeType;);return e}k.fn.extend({has:function(e){var t=k(e,this),n=t.length;return this.filter(function(){for(var e=0;e<n;e++)if(k.contains(this,t[e]))return!0})},closest:function(e,t){var n,r=0,i=this.length,o=[],a="string"!=typeof e&&k(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&&k.find.matchesSelector(n,e))){o.push(n);break}return this.pushStack(o.length>1?k.uniqueSort(o):o)},index:function(e){return e?"string"==typeof e?l.call(k(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(k.uniqueSort(k.merge(this.get(),k(e,t))))},addBack:function(e){return this.add(null==e?this.prevObject:this.prevObject.filter(e))}}),k.each({parent:function(e){var t=e.parentNode;return t&&11!==t.nodeType?t:null},parents:function(e){return T(e,"parentNode")},parentsUntil:function(e,t,n){return T(e,"parentNode",n)},next:function(e){return D(e,"nextSibling")},prev:function(e){return D(e,"previousSibling")},nextAll:function(e){return T(e,"nextSibling")},prevAll:function(e){return T(e,"previousSibling")},nextUntil:function(e,t,n){return T(e,"nextSibling",n)},prevUntil:function(e,t,n){return T(e,"previousSibling",n)},siblings:function(e){return C((e.parentNode||{}).firstChild,e)},children:function(e){return C(e.firstChild)},contents:function(e){return null!=e.contentDocument&&a(e.contentDocument)?e.contentDocument:(j(e,"template")&&(e=e.content||e),k.merge([],e.childNodes))}},function(e,t){k.fn[e]=function(n,r){var i=k.map(this,t,n);return"Until"!==e.slice(-5)&&(r=n),r&&"string"==typeof r&&(i=k.filter(r,i)),this.length>1&&(I[e]||k.uniqueSort(i),L.test(e)&&i.reverse()),this.pushStack(i)}});var R=/[^\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])}}k.Callbacks=function(e){e="string"==typeof e?function(e){var t={};return k.each(e.match(R)||[],function(e,n){t[n]=!0}),t}(e):k.extend({},e);var t,n,r,i,o=[],a=[],s=-1,c=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?[]:"")},u={add:function(){return o&&(n&&!t&&(s=o.length-1,a.push(n)),function t(n){k.each(n,function(n,r){g(r)?e.unique&&u.has(r)||o.push(r):r&&r.length&&"string"!==x(r)&&t(r)})}(arguments),n&&!t&&c()),this},remove:function(){return k.each(arguments,function(e,t){for(var n;(n=k.inArray(t,o,n))>-1;)o.splice(n,1),n<=s&&s--}),this},has:function(e){return e?k.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||c()),this},fire:function(){return u.fireWith(this,arguments),this},fired:function(){return!!r}};return u},k.extend({Deferred:function(e){var t=[["notify","progress",k.Callbacks("memory"),k.Callbacks("memory"),2],["resolve","done",k.Callbacks("once memory"),k.Callbacks("once memory"),0,"resolved"],["reject","fail",k.Callbacks("once memory"),k.Callbacks("once memory"),1,"rejected"]],r="pending",i={state:function(){return r},always:function(){return o.done(arguments).fail(arguments),this},catch:function(e){return i.then(null,e)},pipe:function(){var e=arguments;return k.Deferred(function(n){k.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,r,i){var o=0;function a(e,t,r,i){return function(){var s=this,c=arguments,u=function(){var n,u;if(!(e<o)){if((n=r.apply(s,c))===t.promise())throw new TypeError("Thenable self-resolution");u=n&&("object"==typeof n||"function"==typeof n)&&n.then,g(u)?i?u.call(n,a(o,t,B,i),a(o,t,F,i)):(o++,u.call(n,a(o,t,B,i),a(o,t,F,i),a(o,t,B,t.notifyWith))):(r!==B&&(s=void 0,c=[n]),(i||t.resolveWith)(s,c))}},l=i?u:function(){try{u()}catch(n){k.Deferred.exceptionHook&&k.Deferred.exceptionHook(n,l.stackTrace),e+1>=o&&(r!==F&&(s=void 0,c=[n]),t.rejectWith(s,c))}};e?l():(k.Deferred.getStackHook&&(l.stackTrace=k.Deferred.getStackHook()),n.setTimeout(l))}}return k.Deferred(function(n){t[0][3].add(a(0,n,g(i)?i:B,n.notifyWith)),t[1][3].add(a(0,n,g(e)?e:B)),t[2][3].add(a(0,n,g(r)?r:F))}).promise()},promise:function(e){return null!=e?k.extend(e,i):i}},o={};return k.each(t,function(e,n){var a=n[2],s=n[5];i[n[1]]=a.add,s&&a.add(function(){r=s},t[3-e][2].disable,t[3-e][3].disable,t[0][2].lock,t[0][3].lock),a.add(n[3].fire),o[n[0]]=function(){return o[n[0]+"With"](this===o?void 0:this,arguments),this},o[n[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=k.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$/;k.Deferred.exceptionHook=function(e,t){n.console&&n.console.warn&&e&&q.test(e.name)&&n.console.warn("jQuery.Deferred exception: "+e.message,e.stack,t)},k.readyException=function(e){n.setTimeout(function(){throw e})};var z=k.Deferred();function H(){b.removeEventListener("DOMContentLoaded",H),n.removeEventListener("load",H),k.ready()}k.fn.ready=function(e){return z.then(e).catch(function(e){k.readyException(e)}),this},k.extend({isReady:!1,readyWait:1,ready:function(e){(!0===e?--k.readyWait:k.isReady)||(k.isReady=!0,!0!==e&&--k.readyWait>0||z.resolveWith(b,[k]))}}),k.ready.then=z.then,"complete"===b.readyState||"loading"!==b.readyState&&!b.documentElement.doScroll?n.setTimeout(k.ready):(b.addEventListener("DOMContentLoaded",H),n.addEventListener("load",H));var V=function(e,t,n,r,i,o,a){var s=0,c=e.length,u=null==n;if("object"===x(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),u&&(a?(t.call(e,r),t=null):(u=t,t=function(e,t,n){return u.call(k(e),n)})),t))for(;s<c;s++)t(e[s],n,a?r:r.call(e[s],s,t(e[s],n)));return i?e:u?t.call(e):c?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=k.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(R)||[]).length;for(;n--;)delete r[t[n]]}(void 0===t||k.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&&!k.isEmptyObject(t)}};var Q=new X,Z=new X,J=/^(?:\{[\w\W]*\}|\[[\w\W]*\])$/,ee=/[A-Z]/g;function te(e,t,n){var r;if(void 0===n&&1===e.nodeType)if(r="data-"+t.replace(ee,"-$&").toLowerCase(),"string"==typeof(n=e.getAttribute(r))){try{n=function(e){return"true"===e||"false"!==e&&("null"===e?null:e===+e+""?+e:J.test(e)?JSON.parse(e):e)}(n)}catch(e){}Z.set(e,t,n)}else n=void 0;return n}k.extend({hasData:function(e){return Z.hasData(e)||Q.hasData(e)},data:function(e,t,n){return Z.access(e,t,n)},removeData:function(e,t){Z.remove(e,t)},_data:function(e,t,n){return Q.access(e,t,n)},_removeData:function(e,t){Q.remove(e,t)}}),k.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=Z.get(o),1===o.nodeType&&!Q.get(o,"hasDataAttrs"))){for(n=a.length;n--;)a[n]&&0===(r=a[n].name).indexOf("data-")&&(r=K(r.slice(5)),te(o,r,i[r]));Q.set(o,"hasDataAttrs",!0)}return i}return"object"==typeof e?this.each(function(){Z.set(this,e)}):V(this,function(t){var n;if(o&&void 0===t)return void 0!==(n=Z.get(o,e))?n:void 0!==(n=te(o,e))?n:void 0;this.each(function(){Z.set(this,e,t)})},null,t,arguments.length>1,null,!0)},removeData:function(e){return this.each(function(){Z.remove(this,e)})}}),k.extend({queue:function(e,t,n){var r;if(e)return t=(t||"fx")+"queue",r=Q.get(e,t),n&&(!r||Array.isArray(n)?r=Q.access(e,t,k.makeArray(n)):r.push(n)),r||[]},dequeue:function(e,t){t=t||"fx";var n=k.queue(e,t),r=n.length,i=n.shift(),o=k._queueHooks(e,t);"inprogress"===i&&(i=n.shift(),r--),i&&("fx"===t&&n.unshift("inprogress"),delete o.stop,i.call(e,function(){k.dequeue(e,t)},o)),!r&&o&&o.empty.fire()},_queueHooks:function(e,t){var n=t+"queueHooks";return Q.get(e,n)||Q.access(e,n,{empty:k.Callbacks("once memory").add(function(){Q.remove(e,[t+"queue",n])})})}}),k.fn.extend({queue:function(e,t){var n=2;return"string"!=typeof e&&(t=e,e="fx",n--),arguments.length<n?k.queue(this[0],e):void 0===t?this:this.each(function(){var n=k.queue(this,e,t);k._queueHooks(this,e),"fx"===e&&"inprogress"!==n[0]&&k.dequeue(this,e)})},dequeue:function(e){return this.each(function(){k.dequeue(this,e)})},clearQueue:function(e){return this.queue(e||"fx",[])},promise:function(e,t){var n,r=1,i=k.Deferred(),o=this,a=this.length,s=function(){--r||i.resolveWith(o,[o])};for("string"!=typeof e&&(t=e,e=void 0),e=e||"fx";a--;)(n=Q.get(o[a],e+"queueHooks"))&&n.empty&&(r++,n.empty.add(s));return s(),i.promise(t)}});var ne=/[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source,re=new RegExp("^(?:([+-])=|)("+ne+")([a-z%]*)$","i"),ie=["Top","Right","Bottom","Left"],oe=b.documentElement,ae=function(e){return k.contains(e.ownerDocument,e)},se={composed:!0};oe.getRootNode&&(ae=function(e){return k.contains(e.ownerDocument,e)||e.getRootNode(se)===e.ownerDocument});var ce=function(e,t){return"none"===(e=t||e).style.display||""===e.style.display&&ae(e)&&"none"===k.css(e,"display")};function ue(e,t,n,r){var i,o,a=20,s=r?function(){return r.cur()}:function(){return k.css(e,t,"")},c=s(),u=n&&n[3]||(k.cssNumber[t]?"":"px"),l=e.nodeType&&(k.cssNumber[t]||"px"!==u&&+c)&&re.exec(k.css(e,t));if(l&&l[3]!==u){for(c/=2,u=u||l[3],l=+c||1;a--;)k.style(e,t,l+u),(1-o)*(1-(o=s()/c||.5))<=0&&(a=0),l/=o;l*=2,k.style(e,t,l+u),n=n||[]}return n&&(l=+l||+c||0,i=n[1]?l+(n[1]+1)*n[2]:+n[2],r&&(r.unit=u,r.start=l,r.end=i)),i}var le={};function de(e){var t,n=e.ownerDocument,r=e.nodeName,i=le[r];return i||(t=n.body.appendChild(n.createElement(r)),i=k.css(t,"display"),t.parentNode.removeChild(t),"none"===i&&(i="block"),le[r]=i,i)}function fe(e,t){for(var n,r,i=[],o=0,a=e.length;o<a;o++)(r=e[o]).style&&(n=r.style.display,t?("none"===n&&(i[o]=Q.get(r,"display")||null,i[o]||(r.style.display="")),""===r.style.display&&ce(r)&&(i[o]=de(r))):"none"!==n&&(i[o]="none",Q.set(r,"display",n)));for(o=0;o<a;o++)null!=i[o]&&(e[o].style.display=i[o]);return e}k.fn.extend({show:function(){return fe(this,!0)},hide:function(){return fe(this)},toggle:function(e){return"boolean"==typeof e?e?this.show():this.hide():this.each(function(){ce(this)?k(this).show():k(this).hide()})}});var he,pe,me=/^(?:checkbox|radio)$/i,ve=/<([a-z][^\/\0>\x20\t\r\n\f]*)/i,ge=/^$|^module$|\/(?:java|ecma)script/i;he=b.createDocumentFragment().appendChild(b.createElement("div")),(pe=b.createElement("input")).setAttribute("type","radio"),pe.setAttribute("checked","checked"),pe.setAttribute("name","t"),he.appendChild(pe),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 ye={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 be(e,t){var n;return n=void 0!==e.getElementsByTagName?e.getElementsByTagName(t||"*"):void 0!==e.querySelectorAll?e.querySelectorAll(t||"*"):[],void 0===t||t&&j(e,t)?k.merge([e],n):n}function _e(e,t){for(var n=0,r=e.length;n<r;n++)Q.set(e[n],"globalEval",!t||Q.get(t[n],"globalEval"))}ye.tbody=ye.tfoot=ye.colgroup=ye.caption=ye.thead,ye.th=ye.td,v.option||(ye.optgroup=ye.option=[1,"<select multiple='multiple'>","</select>"]);var we=/<|&#?\w+;/;function xe(e,t,n,r,i){for(var o,a,s,c,u,l,d=t.createDocumentFragment(),f=[],h=0,p=e.length;h<p;h++)if((o=e[h])||0===o)if("object"===x(o))k.merge(f,o.nodeType?[o]:o);else if(we.test(o)){for(a=a||d.appendChild(t.createElement("div")),s=(ve.exec(o)||["",""])[1].toLowerCase(),c=ye[s]||ye._default,a.innerHTML=c[1]+k.htmlPrefilter(o)+c[2],l=c[0];l--;)a=a.lastChild;k.merge(f,a.childNodes),(a=d.firstChild).textContent=""}else f.push(t.createTextNode(o));for(d.textContent="",h=0;o=f[h++];)if(r&&k.inArray(o,r)>-1)i&&i.push(o);else if(u=ae(o),a=be(d.appendChild(o),"script"),u&&_e(a),n)for(l=0;o=a[l++];)ge.test(o.type||"")&&n.push(o);return d}var ke=/^([^.]*)(?:\.(.+)|)/;function Ee(){return!0}function Se(){return!1}function Te(e,t){return e===function(){try{return b.activeElement}catch(e){}}()==("focus"===t)}function Ce(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)Ce(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=Se;else if(!i)return e;return 1===o&&(a=i,(i=function(e){return k().off(e),a.apply(this,arguments)}).guid=a.guid||(a.guid=k.guid++)),e.each(function(){k.event.add(this,t,i,r,n)})}function Oe(e,t,n){n?(Q.set(e,t,!1),k.event.add(e,t,{namespace:!1,handler:function(e){var r,i,o=Q.get(this,t);if(1&e.isTrigger&&this[t]){if(o.length)(k.event.special[t]||{}).delegateType&&e.stopPropagation();else if(o=s.call(arguments),Q.set(this,t,o),r=n(this,t),this[t](),o!==(i=Q.get(this,t))||r?Q.set(this,t,!1):i={},o!==i)return e.stopImmediatePropagation(),e.preventDefault(),i&&i.value}else o.length&&(Q.set(this,t,{value:k.event.trigger(k.extend(o[0],k.Event.prototype),o.slice(1),this)}),e.stopImmediatePropagation())}})):void 0===Q.get(e,t)&&k.event.add(e,t,Ee)}k.event={global:{},add:function(e,t,n,r,i){var o,a,s,c,u,l,d,f,h,p,m,v=Q.get(e);if($(e))for(n.handler&&(n=(o=n).handler,i=o.selector),i&&k.find.matchesSelector(oe,i),n.guid||(n.guid=k.guid++),(c=v.events)||(c=v.events=Object.create(null)),(a=v.handle)||(a=v.handle=function(t){return void 0!==k&&k.event.triggered!==t.type?k.event.dispatch.apply(e,arguments):void 0}),u=(t=(t||"").match(R)||[""]).length;u--;)h=m=(s=ke.exec(t[u])||[])[1],p=(s[2]||"").split(".").sort(),h&&(d=k.event.special[h]||{},h=(i?d.delegateType:d.bindType)||h,d=k.event.special[h]||{},l=k.extend({type:h,origType:m,data:r,handler:n,guid:n.guid,selector:i,needsContext:i&&k.expr.match.needsContext.test(i),namespace:p.join(".")},o),(f=c[h])||((f=c[h]=[]).delegateCount=0,d.setup&&!1!==d.setup.call(e,r,p,a)||e.addEventListener&&e.addEventListener(h,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),k.event.global[h]=!0)},remove:function(e,t,n,r,i){var o,a,s,c,u,l,d,f,h,p,m,v=Q.hasData(e)&&Q.get(e);if(v&&(c=v.events)){for(u=(t=(t||"").match(R)||[""]).length;u--;)if(h=m=(s=ke.exec(t[u])||[])[1],p=(s[2]||"").split(".").sort(),h){for(d=k.event.special[h]||{},f=c[h=(r?d.delegateType:d.bindType)||h]||[],s=s[2]&&new RegExp("(^|\\.)"+p.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,p,v.handle)||k.removeEvent(e,h,v.handle),delete c[h])}else for(h in c)k.event.remove(e,h+t[u],n,r,!0);k.isEmptyObject(c)&&Q.remove(e,"handle events")}},dispatch:function(e){var t,n,r,i,o,a,s=new Array(arguments.length),c=k.event.fix(e),u=(Q.get(this,"events")||Object.create(null))[c.type]||[],l=k.event.special[c.type]||{};for(s[0]=c,t=1;t<arguments.length;t++)s[t]=arguments[t];if(c.delegateTarget=this,!l.preDispatch||!1!==l.preDispatch.call(this,c)){for(a=k.event.handlers.call(this,c,u),t=0;(i=a[t++])&&!c.isPropagationStopped();)for(c.currentTarget=i.elem,n=0;(o=i.handlers[n++])&&!c.isImmediatePropagationStopped();)c.rnamespace&&!1!==o.namespace&&!c.rnamespace.test(o.namespace)||(c.handleObj=o,c.data=o.data,void 0!==(r=((k.event.special[o.origType]||{}).handle||o.handler).apply(i.elem,s))&&!1===(c.result=r)&&(c.preventDefault(),c.stopPropagation()));return l.postDispatch&&l.postDispatch.call(this,c),c.result}},handlers:function(e,t){var n,r,i,o,a,s=[],c=t.delegateCount,u=e.target;if(c&&u.nodeType&&!("click"===e.type&&e.button>=1))for(;u!==this;u=u.parentNode||this)if(1===u.nodeType&&("click"!==e.type||!0!==u.disabled)){for(o=[],a={},n=0;n<c;n++)void 0===a[i=(r=t[n]).selector+" "]&&(a[i]=r.needsContext?k(i,this).index(u)>-1:k.find(i,this,null,[u]).length),a[i]&&o.push(r);o.length&&s.push({elem:u,handlers:o})}return u=this,c<t.length&&s.push({elem:u,handlers:t.slice(c)}),s},addProp:function(e,t){Object.defineProperty(k.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[k.expando]?e:new k.Event(e)},special:{load:{noBubble:!0},click:{setup:function(e){var t=this||e;return me.test(t.type)&&t.click&&j(t,"input")&&Oe(t,"click",Ee),!1},trigger:function(e){var t=this||e;return me.test(t.type)&&t.click&&j(t,"input")&&Oe(t,"click"),!0},_default:function(e){var t=e.target;return me.test(t.type)&&t.click&&j(t,"input")&&Q.get(t,"click")||j(t,"a")}},beforeunload:{postDispatch:function(e){void 0!==e.result&&e.originalEvent&&(e.originalEvent.returnValue=e.result)}}}},k.removeEvent=function(e,t,n){e.removeEventListener&&e.removeEventListener(t,n)},k.Event=function(e,t){if(!(this instanceof k.Event))return new k.Event(e,t);e&&e.type?(this.originalEvent=e,this.type=e.type,this.isDefaultPrevented=e.defaultPrevented||void 0===e.defaultPrevented&&!1===e.returnValue?Ee:Se,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&&k.extend(this,t),this.timeStamp=e&&e.timeStamp||Date.now(),this[k.expando]=!0},k.Event.prototype={constructor:k.Event,isDefaultPrevented:Se,isPropagationStopped:Se,isImmediatePropagationStopped:Se,isSimulated:!1,preventDefault:function(){var e=this.originalEvent;this.isDefaultPrevented=Ee,e&&!this.isSimulated&&e.preventDefault()},stopPropagation:function(){var e=this.originalEvent;this.isPropagationStopped=Ee,e&&!this.isSimulated&&e.stopPropagation()},stopImmediatePropagation:function(){var e=this.originalEvent;this.isImmediatePropagationStopped=Ee,e&&!this.isSimulated&&e.stopImmediatePropagation(),this.stopPropagation()}},k.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},k.event.addProp),k.each({focus:"focusin",blur:"focusout"},function(e,t){k.event.special[e]={setup:function(){return Oe(this,e,Te),!1},trigger:function(){return Oe(this,e),!0},_default:function(){return!0},delegateType:t}}),k.each({mouseenter:"mouseover",mouseleave:"mouseout",pointerenter:"pointerover",pointerleave:"pointerout"},function(e,t){k.event.special[e]={delegateType:t,bindType:t,handle:function(e){var n,r=e.relatedTarget,i=e.handleObj;return r&&(r===this||k.contains(this,r))||(e.type=i.origType,n=i.handler.apply(this,arguments),e.type=t),n}}}),k.fn.extend({on:function(e,t,n,r){return Ce(this,e,t,n,r)},one:function(e,t,n,r){return Ce(this,e,t,n,r,1)},off:function(e,t,n){var r,i;if(e&&e.preventDefault&&e.handleObj)return r=e.handleObj,k(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=Se),this.each(function(){k.event.remove(this,e,n,t)})}});var je=/<script|<style|<link/i,Ae=/checked\s*(?:[^=]|=\s*.checked.)/i,Pe=/^\s*<!(?:\[CDATA\[|--)|(?:\]\]|--)>\s*$/g;function Me(e,t){return j(e,"table")&&j(11!==t.nodeType?t:t.firstChild,"tr")&&k(e).children("tbody")[0]||e}function Ne(e){return e.type=(null!==e.getAttribute("type"))+"/"+e.type,e}function Le(e){return"true/"===(e.type||"").slice(0,5)?e.type=e.type.slice(5):e.removeAttribute("type"),e}function Ie(e,t){var n,r,i,o,a,s;if(1===t.nodeType){if(Q.hasData(e)&&(s=Q.get(e).events))for(i in Q.remove(t,"handle events"),s)for(n=0,r=s[i].length;n<r;n++)k.event.add(t,i,s[i][n]);Z.hasData(e)&&(o=Z.access(e),a=k.extend({},o),Z.set(t,a))}}function De(e,t,n,r){t=c(t);var i,o,a,s,u,l,d=0,f=e.length,h=f-1,p=t[0],m=g(p);if(m||f>1&&"string"==typeof p&&!v.checkClone&&Ae.test(p))return e.each(function(i){var o=e.eq(i);m&&(t[0]=p.call(this,i,o.html())),De(o,t,n,r)});if(f&&(o=(i=xe(t,e[0].ownerDocument,!1,e,r)).firstChild,1===i.childNodes.length&&(i=o),o||r)){for(s=(a=k.map(be(i,"script"),Ne)).length;d<f;d++)u=i,d!==h&&(u=k.clone(u,!0,!0),s&&k.merge(a,be(u,"script"))),n.call(e[d],u,d);if(s)for(l=a[a.length-1].ownerDocument,k.map(a,Le),d=0;d<s;d++)u=a[d],ge.test(u.type||"")&&!Q.access(u,"globalEval")&&k.contains(l,u)&&(u.src&&"module"!==(u.type||"").toLowerCase()?k._evalUrl&&!u.noModule&&k._evalUrl(u.src,{nonce:u.nonce||u.getAttribute("nonce")},l):w(u.textContent.replace(Pe,""),u,l))}return e}function Re(e,t,n){for(var r,i=t?k.filter(t,e):e,o=0;null!=(r=i[o]);o++)n||1!==r.nodeType||k.cleanData(be(r)),r.parentNode&&(n&&ae(r)&&_e(be(r,"script")),r.parentNode.removeChild(r));return e}k.extend({htmlPrefilter:function(e){return e},clone:function(e,t,n){var r,i,o,a,s,c,u,l=e.cloneNode(!0),d=ae(e);if(!(v.noCloneChecked||1!==e.nodeType&&11!==e.nodeType||k.isXMLDoc(e)))for(a=be(l),r=0,i=(o=be(e)).length;r<i;r++)s=o[r],c=a[r],u=void 0,"input"===(u=c.nodeName.toLowerCase())&&me.test(s.type)?c.checked=s.checked:"input"!==u&&"textarea"!==u||(c.defaultValue=s.defaultValue);if(t)if(n)for(o=o||be(e),a=a||be(l),r=0,i=o.length;r<i;r++)Ie(o[r],a[r]);else Ie(e,l);return(a=be(l,"script")).length>0&&_e(a,!d&&be(e,"script")),l},cleanData:function(e){for(var t,n,r,i=k.event.special,o=0;void 0!==(n=e[o]);o++)if($(n)){if(t=n[Q.expando]){if(t.events)for(r in t.events)i[r]?k.event.remove(n,r):k.removeEvent(n,r,t.handle);n[Q.expando]=void 0}n[Z.expando]&&(n[Z.expando]=void 0)}}}),k.fn.extend({detach:function(e){return Re(this,e,!0)},remove:function(e){return Re(this,e)},text:function(e){return V(this,function(e){return void 0===e?k.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 De(this,arguments,function(e){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||Me(this,e).appendChild(e)})},prepend:function(){return De(this,arguments,function(e){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var t=Me(this,e);t.insertBefore(e,t.firstChild)}})},before:function(){return De(this,arguments,function(e){this.parentNode&&this.parentNode.insertBefore(e,this)})},after:function(){return De(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&&(k.cleanData(be(e,!1)),e.textContent="");return this},clone:function(e,t){return e=null!=e&&e,t=null==t?e:t,this.map(function(){return k.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&&!je.test(e)&&!ye[(ve.exec(e)||["",""])[1].toLowerCase()]){e=k.htmlPrefilter(e);try{for(;n<r;n++)1===(t=this[n]||{}).nodeType&&(k.cleanData(be(t,!1)),t.innerHTML=e);t=0}catch(e){}}t&&this.empty().append(e)},null,e,arguments.length)},replaceWith:function(){var e=[];return De(this,arguments,function(t){var n=this.parentNode;k.inArray(this,e)<0&&(k.cleanData(be(this)),n&&n.replaceChild(t,this))},e)}}),k.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(e,t){k.fn[e]=function(e){for(var n,r=[],i=k(e),o=i.length-1,a=0;a<=o;a++)n=a===o?this:this.clone(!0),k(i[a])[t](n),u.apply(r,n.get());return this.pushStack(r)}});var Be=new RegExp("^("+ne+")(?!px)[a-z%]+$","i"),Fe=function(e){var t=e.ownerDocument.defaultView;return t&&t.opener||(t=n),t.getComputedStyle(e)},Ue=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},qe=new RegExp(ie.join("|"),"i");function ze(e,t,n){var r,i,o,a,s=e.style;return(n=n||Fe(e))&&(""!==(a=n.getPropertyValue(t)||n[t])||ae(e)||(a=k.style(e,t)),!v.pixelBoxStyles()&&Be.test(a)&&qe.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 He(e,t){return{get:function(){if(!e())return(this.get=t).apply(this,arguments);delete this.get}}}!function(){function e(){if(l){u.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%",oe.appendChild(u).appendChild(l);var e=n.getComputedStyle(l);r="1%"!==e.top,c=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),oe.removeChild(u),l=null}}function t(e){return Math.round(parseFloat(e))}var r,i,o,a,s,c,u=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,k.extend(v,{boxSizingReliable:function(){return e(),i},pixelBoxStyles:function(){return e(),a},pixelPosition:function(){return e(),r},reliableMarginLeft:function(){return e(),c},scrollboxSize:function(){return e(),o},reliableTrDimensions:function(){var e,t,r,i;return null==s&&(e=b.createElement("table"),t=b.createElement("tr"),r=b.createElement("div"),e.style.cssText="position:absolute;left:-11111px;border-collapse:separate",t.style.cssText="border:1px solid",t.style.height="1px",r.style.height="9px",r.style.display="block",oe.appendChild(e).appendChild(t).appendChild(r),i=n.getComputedStyle(t),s=parseInt(i.height,10)+parseInt(i.borderTopWidth,10)+parseInt(i.borderBottomWidth,10)===t.offsetHeight,oe.removeChild(e)),s}}))}();var Ve=["Webkit","Moz","ms"],We=b.createElement("div").style,Ye={};function Ge(e){var t=k.cssProps[e]||Ye[e];return t||(e in We?e:Ye[e]=function(e){for(var t=e[0].toUpperCase()+e.slice(1),n=Ve.length;n--;)if((e=Ve[n]+t)in We)return e}(e)||e)}var Ke=/^(none|table(?!-c[ea]).+)/,$e=/^--/,Xe={position:"absolute",visibility:"hidden",display:"block"},Qe={letterSpacing:"0",fontWeight:"400"};function Ze(e,t,n){var r=re.exec(t);return r?Math.max(0,r[2]-(n||0))+(r[3]||"px"):t}function Je(e,t,n,r,i,o){var a="width"===t?1:0,s=0,c=0;if(n===(r?"border":"content"))return 0;for(;a<4;a+=2)"margin"===n&&(c+=k.css(e,n+ie[a],!0,i)),r?("content"===n&&(c-=k.css(e,"padding"+ie[a],!0,i)),"margin"!==n&&(c-=k.css(e,"border"+ie[a]+"Width",!0,i))):(c+=k.css(e,"padding"+ie[a],!0,i),"padding"!==n?c+=k.css(e,"border"+ie[a]+"Width",!0,i):s+=k.css(e,"border"+ie[a]+"Width",!0,i));return!r&&o>=0&&(c+=Math.max(0,Math.ceil(e["offset"+t[0].toUpperCase()+t.slice(1)]-o-c-s-.5))||0),c}function et(e,t,n){var r=Fe(e),i=(!v.boxSizingReliable()||n)&&"border-box"===k.css(e,"boxSizing",!1,r),o=i,a=ze(e,t,r),s="offset"+t[0].toUpperCase()+t.slice(1);if(Be.test(a)){if(!n)return a;a="auto"}return(!v.boxSizingReliable()&&i||!v.reliableTrDimensions()&&j(e,"tr")||"auto"===a||!parseFloat(a)&&"inline"===k.css(e,"display",!1,r))&&e.getClientRects().length&&(i="border-box"===k.css(e,"boxSizing",!1,r),(o=s in e)&&(a=e[s])),(a=parseFloat(a)||0)+Je(e,t,n||(i?"border":"content"),o,r,a)+"px"}function tt(e,t,n,r,i){return new tt.prototype.init(e,t,n,r,i)}k.extend({cssHooks:{opacity:{get:function(e,t){if(t){var n=ze(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),c=$e.test(t),u=e.style;if(c||(t=Ge(s)),a=k.cssHooks[t]||k.cssHooks[s],void 0===n)return a&&"get"in a&&void 0!==(i=a.get(e,!1,r))?i:u[t];"string"===(o=typeof n)&&(i=re.exec(n))&&i[1]&&(n=ue(e,t,i),o="number"),null!=n&&n==n&&("number"!==o||c||(n+=i&&i[3]||(k.cssNumber[s]?"":"px")),v.clearCloneStyle||""!==n||0!==t.indexOf("background")||(u[t]="inherit"),a&&"set"in a&&void 0===(n=a.set(e,n,r))||(c?u.setProperty(t,n):u[t]=n))}},css:function(e,t,n,r){var i,o,a,s=K(t);return $e.test(t)||(t=Ge(s)),(a=k.cssHooks[t]||k.cssHooks[s])&&"get"in a&&(i=a.get(e,!0,n)),void 0===i&&(i=ze(e,t,r)),"normal"===i&&t in Qe&&(i=Qe[t]),""===n||n?(o=parseFloat(i),!0===n||isFinite(o)?o||0:i):i}}),k.each(["height","width"],function(e,t){k.cssHooks[t]={get:function(e,n,r){if(n)return!Ke.test(k.css(e,"display"))||e.getClientRects().length&&e.getBoundingClientRect().width?et(e,t,r):Ue(e,Xe,function(){return et(e,t,r)})},set:function(e,n,r){var i,o=Fe(e),a=!v.scrollboxSize()&&"absolute"===o.position,s=(a||r)&&"border-box"===k.css(e,"boxSizing",!1,o),c=r?Je(e,t,r,s,o):0;return s&&a&&(c-=Math.ceil(e["offset"+t[0].toUpperCase()+t.slice(1)]-parseFloat(o[t])-Je(e,t,"border",!1,o)-.5)),c&&(i=re.exec(n))&&"px"!==(i[3]||"px")&&(e.style[t]=n,n=k.css(e,t)),Ze(0,n,c)}}}),k.cssHooks.marginLeft=He(v.reliableMarginLeft,function(e,t){if(t)return(parseFloat(ze(e,"marginLeft"))||e.getBoundingClientRect().left-Ue(e,{marginLeft:0},function(){return e.getBoundingClientRect().left}))+"px"}),k.each({margin:"",padding:"",border:"Width"},function(e,t){k.cssHooks[e+t]={expand:function(n){for(var r=0,i={},o="string"==typeof n?n.split(" "):[n];r<4;r++)i[e+ie[r]+t]=o[r]||o[r-2]||o[0];return i}},"margin"!==e&&(k.cssHooks[e+t].set=Ze)}),k.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=Fe(e),i=t.length;a<i;a++)o[t[a]]=k.css(e,t[a],!1,r);return o}return void 0!==n?k.style(e,t,n):k.css(e,t)},e,t,arguments.length>1)}}),k.Tween=tt,tt.prototype={constructor:tt,init:function(e,t,n,r,i,o){this.elem=e,this.prop=n,this.easing=i||k.easing._default,this.options=t,this.start=this.now=this.cur(),this.end=r,this.unit=o||(k.cssNumber[n]?"":"px")},cur:function(){var e=tt.propHooks[this.prop];return e&&e.get?e.get(this):tt.propHooks._default.get(this)},run:function(e){var t,n=tt.propHooks[this.prop];return this.options.duration?this.pos=t=k.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):tt.propHooks._default.set(this),this}},tt.prototype.init.prototype=tt.prototype,tt.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=k.css(e.elem,e.prop,""))&&"auto"!==t?t:0},set:function(e){k.fx.step[e.prop]?k.fx.step[e.prop](e):1!==e.elem.nodeType||!k.cssHooks[e.prop]&&null==e.elem.style[Ge(e.prop)]?e.elem[e.prop]=e.now:k.style(e.elem,e.prop,e.now+e.unit)}}},tt.propHooks.scrollTop=tt.propHooks.scrollLeft={set:function(e){e.elem.nodeType&&e.elem.parentNode&&(e.elem[e.prop]=e.now)}},k.easing={linear:function(e){return e},swing:function(e){return.5-Math.cos(e*Math.PI)/2},_default:"swing"},k.fx=tt.prototype.init,k.fx.step={};var nt,rt,it=/^(?:toggle|show|hide)$/,ot=/queueHooks$/;function at(){rt&&(!1===b.hidden&&n.requestAnimationFrame?n.requestAnimationFrame(at):n.setTimeout(at,k.fx.interval),k.fx.tick())}function st(){return n.setTimeout(function(){nt=void 0}),nt=Date.now()}function ct(e,t){var n,r=0,i={height:e};for(t=t?1:0;r<4;r+=2-t)i["margin"+(n=ie[r])]=i["padding"+n]=e;return t&&(i.opacity=i.width=e),i}function ut(e,t,n){for(var r,i=(lt.tweeners[t]||[]).concat(lt.tweeners["*"]),o=0,a=i.length;o<a;o++)if(r=i[o].call(n,t,e))return r}function lt(e,t,n){var r,i,o=0,a=lt.prefilters.length,s=k.Deferred().always(function(){delete c.elem}),c=function(){if(i)return!1;for(var t=nt||st(),n=Math.max(0,u.startTime+u.duration-t),r=1-(n/u.duration||0),o=0,a=u.tweens.length;o<a;o++)u.tweens[o].run(r);return s.notifyWith(e,[u,r,n]),r<1&&a?n:(a||s.notifyWith(e,[u,1,0]),s.resolveWith(e,[u]),!1)},u=s.promise({elem:e,props:k.extend({},t),opts:k.extend(!0,{specialEasing:{},easing:k.easing._default},n),originalProperties:t,originalOptions:n,startTime:nt||st(),duration:n.duration,tweens:[],createTween:function(t,n){var r=k.Tween(e,u.opts,t,n,u.opts.specialEasing[t]||u.opts.easing);return u.tweens.push(r),r},stop:function(t){var n=0,r=t?u.tweens.length:0;if(i)return this;for(i=!0;n<r;n++)u.tweens[n].run(1);return t?(s.notifyWith(e,[u,1,0]),s.resolveWith(e,[u,t])):s.rejectWith(e,[u,t]),this}}),l=u.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=k.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,u.opts.specialEasing);o<a;o++)if(r=lt.prefilters[o].call(u,e,l,u.opts))return g(r.stop)&&(k._queueHooks(u.elem,u.opts.queue).stop=r.stop.bind(r)),r;return k.map(l,ut,u),g(u.opts.start)&&u.opts.start.call(e,u),u.progress(u.opts.progress).done(u.opts.done,u.opts.complete).fail(u.opts.fail).always(u.opts.always),k.fx.timer(k.extend(c,{elem:e,anim:u,queue:u.opts.queue})),u}k.Animation=k.extend(lt,{tweeners:{"*":[function(e,t){var n=this.createTween(e,t);return ue(n.elem,e,re.exec(t),n),n}]},tweener:function(e,t){g(e)?(t=e,e=["*"]):e=e.match(R);for(var n,r=0,i=e.length;r<i;r++)n=e[r],lt.tweeners[n]=lt.tweeners[n]||[],lt.tweeners[n].unshift(t)},prefilters:[function(e,t,n){var r,i,o,a,s,c,u,l,d="width"in t||"height"in t,f=this,h={},p=e.style,m=e.nodeType&&ce(e),v=Q.get(e,"fxshow");for(r in n.queue||(null==(a=k._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--,k.queue(e,"fx").length||a.empty.fire()})})),t)if(i=t[r],it.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}h[r]=v&&v[r]||k.style(e,r)}if((c=!k.isEmptyObject(t))||!k.isEmptyObject(h))for(r in d&&1===e.nodeType&&(n.overflow=[p.overflow,p.overflowX,p.overflowY],null==(u=v&&v.display)&&(u=Q.get(e,"display")),"none"===(l=k.css(e,"display"))&&(u?l=u:(fe([e],!0),u=e.style.display||u,l=k.css(e,"display"),fe([e]))),("inline"===l||"inline-block"===l&&null!=u)&&"none"===k.css(e,"float")&&(c||(f.done(function(){p.display=u}),null==u&&(l=p.display,u="none"===l?"":l)),p.display="inline-block")),n.overflow&&(p.overflow="hidden",f.always(function(){p.overflow=n.overflow[0],p.overflowX=n.overflow[1],p.overflowY=n.overflow[2]})),c=!1,h)c||(v?"hidden"in v&&(m=v.hidden):v=Q.access(e,"fxshow",{display:u}),o&&(v.hidden=!m),m&&fe([e],!0),f.done(function(){for(r in m||fe([e]),Q.remove(e,"fxshow"),h)k.style(e,r,h[r])})),c=ut(m?v[r]:0,r,f),r in v||(v[r]=c.start,m&&(c.end=c.start,c.start=0))}],prefilter:function(e,t){t?lt.prefilters.unshift(e):lt.prefilters.push(e)}}),k.speed=function(e,t,n){var r=e&&"object"==typeof e?k.extend({},e):{complete:n||!n&&t||g(e)&&e,duration:e,easing:n&&t||t&&!g(t)&&t};return k.fx.off?r.duration=0:"number"!=typeof r.duration&&(r.duration in k.fx.speeds?r.duration=k.fx.speeds[r.duration]:r.duration=k.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&&k.dequeue(this,r.queue)},r},k.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=k.isEmptyObject(e),o=k.speed(t,n,r),a=function(){var t=lt(this,k.extend({},e),o);(i||Q.get(this,"finish"))&&t.stop(!0)};return a.finish=a,i||!1===o.queue?this.each(a):this.queue(o.queue,a)},stop:function(e,t,n){var r=function(e){var t=e.stop;delete e.stop,t(n)};return"string"!=typeof e&&(n=t,t=e,e=void 0),t&&this.queue(e||"fx",[]),this.each(function(){var t=!0,i=null!=e&&e+"queueHooks",o=k.timers,a=Q.get(this);if(i)a[i]&&a[i].stop&&r(a[i]);else for(i in a)a[i]&&a[i].stop&&ot.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||k.dequeue(this,e)})},finish:function(e){return!1!==e&&(e=e||"fx"),this.each(function(){var t,n=Q.get(this),r=n[e+"queue"],i=n[e+"queueHooks"],o=k.timers,a=r?r.length:0;for(n.finish=!0,k.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})}}),k.each(["toggle","show","hide"],function(e,t){var n=k.fn[t];k.fn[t]=function(e,r,i){return null==e||"boolean"==typeof e?n.apply(this,arguments):this.animate(ct(t,!0),e,r,i)}}),k.each({slideDown:ct("show"),slideUp:ct("hide"),slideToggle:ct("toggle"),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},function(e,t){k.fn[e]=function(e,n,r){return this.animate(t,e,n,r)}}),k.timers=[],k.fx.tick=function(){var e,t=0,n=k.timers;for(nt=Date.now();t<n.length;t++)(e=n[t])()||n[t]!==e||n.splice(t--,1);n.length||k.fx.stop(),nt=void 0},k.fx.timer=function(e){k.timers.push(e),k.fx.start()},k.fx.interval=13,k.fx.start=function(){rt||(rt=!0,at())},k.fx.stop=function(){rt=null},k.fx.speeds={slow:600,fast:200,_default:400},k.fn.delay=function(e,t){return e=k.fx&&k.fx.speeds[e]||e,t=t||"fx",this.queue(t,function(t,r){var i=n.setTimeout(t,e);r.stop=function(){n.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 dt,ft=k.expr.attrHandle;k.fn.extend({attr:function(e,t){return V(this,k.attr,e,t,arguments.length>1)},removeAttr:function(e){return this.each(function(){k.removeAttr(this,e)})}}),k.extend({attr:function(e,t,n){var r,i,o=e.nodeType;if(3!==o&&8!==o&&2!==o)return void 0===e.getAttribute?k.prop(e,t,n):(1===o&&k.isXMLDoc(e)||(i=k.attrHooks[t.toLowerCase()]||(k.expr.match.bool.test(t)?dt:void 0)),void 0!==n?null===n?void k.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=k.find.attr(e,t))?void 0:r)},attrHooks:{type:{set:function(e,t){if(!v.radioValue&&"radio"===t&&j(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(R);if(i&&1===e.nodeType)for(;n=i[r++];)e.removeAttribute(n)}}),dt={set:function(e,t,n){return!1===t?k.removeAttr(e,n):e.setAttribute(n,n),n}},k.each(k.expr.match.bool.source.match(/\w+/g),function(e,t){var n=ft[t]||k.find.attr;ft[t]=function(e,t,r){var i,o,a=t.toLowerCase();return r||(o=ft[a],ft[a]=i,i=null!=n(e,t,r)?a:null,ft[a]=o),i}});var ht=/^(?:input|select|textarea|button)$/i,pt=/^(?:a|area)$/i;function mt(e){return(e.match(R)||[]).join(" ")}function vt(e){return e.getAttribute&&e.getAttribute("class")||""}function gt(e){return Array.isArray(e)?e:"string"==typeof e&&e.match(R)||[]}k.fn.extend({prop:function(e,t){return V(this,k.prop,e,t,arguments.length>1)},removeProp:function(e){return this.each(function(){delete this[k.propFix[e]||e]})}}),k.extend({prop:function(e,t,n){var r,i,o=e.nodeType;if(3!==o&&8!==o&&2!==o)return 1===o&&k.isXMLDoc(e)||(t=k.propFix[t]||t,i=k.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=k.find.attr(e,"tabindex");return t?parseInt(t,10):ht.test(e.nodeName)||pt.test(e.nodeName)&&e.href?0:-1}}},propFix:{for:"htmlFor",class:"className"}}),v.optSelected||(k.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)}}),k.each(["tabIndex","readOnly","maxLength","cellSpacing","cellPadding","rowSpan","colSpan","useMap","frameBorder","contentEditable"],function(){k.propFix[this.toLowerCase()]=this}),k.fn.extend({addClass:function(e){var t,n,r,i,o,a,s,c=0;if(g(e))return this.each(function(t){k(this).addClass(e.call(this,t,vt(this)))});if((t=gt(e)).length)for(;n=this[c++];)if(i=vt(n),r=1===n.nodeType&&" "+mt(i)+" "){for(a=0;o=t[a++];)r.indexOf(" "+o+" ")<0&&(r+=o+" ");i!==(s=mt(r))&&n.setAttribute("class",s)}return this},removeClass:function(e){var t,n,r,i,o,a,s,c=0;if(g(e))return this.each(function(t){k(this).removeClass(e.call(this,t,vt(this)))});if(!arguments.length)return this.attr("class","");if((t=gt(e)).length)for(;n=this[c++];)if(i=vt(n),r=1===n.nodeType&&" "+mt(i)+" "){for(a=0;o=t[a++];)for(;r.indexOf(" "+o+" ")>-1;)r=r.replace(" "+o+" "," ");i!==(s=mt(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){k(this).toggleClass(e.call(this,n,vt(this),t),t)}):this.each(function(){var t,i,o,a;if(r)for(i=0,o=k(this),a=gt(e);t=a[i++];)o.hasClass(t)?o.removeClass(t):o.addClass(t);else void 0!==e&&"boolean"!==n||((t=vt(this))&&Q.set(this,"__className__",t),this.setAttribute&&this.setAttribute("class",t||!1===e?"":Q.get(this,"__className__")||""))})},hasClass:function(e){var t,n,r=0;for(t=" "+e+" ";n=this[r++];)if(1===n.nodeType&&(" "+mt(vt(n))+" ").indexOf(t)>-1)return!0;return!1}});var yt=/\r/g;k.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,k(this).val()):e)?i="":"number"==typeof i?i+="":Array.isArray(i)&&(i=k.map(i,function(e){return null==e?"":e+""})),(t=k.valHooks[this.type]||k.valHooks[this.nodeName.toLowerCase()])&&"set"in t&&void 0!==t.set(this,i,"value")||(this.value=i))})):i?(t=k.valHooks[i.type]||k.valHooks[i.nodeName.toLowerCase()])&&"get"in t&&void 0!==(n=t.get(i,"value"))?n:"string"==typeof(n=i.value)?n.replace(yt,""):null==n?"":n:void 0}}),k.extend({valHooks:{option:{get:function(e){var t=k.find.attr(e,"value");return null!=t?t:mt(k.text(e))}},select:{get:function(e){var t,n,r,i=e.options,o=e.selectedIndex,a="select-one"===e.type,s=a?null:[],c=a?o+1:i.length;for(r=o<0?c:a?o:0;r<c;r++)if(((n=i[r]).selected||r===o)&&!n.disabled&&(!n.parentNode.disabled||!j(n.parentNode,"optgroup"))){if(t=k(n).val(),a)return t;s.push(t)}return s},set:function(e,t){for(var n,r,i=e.options,o=k.makeArray(t),a=i.length;a--;)((r=i[a]).selected=k.inArray(k.valHooks.option.get(r),o)>-1)&&(n=!0);return n||(e.selectedIndex=-1),o}}}}),k.each(["radio","checkbox"],function(){k.valHooks[this]={set:function(e,t){if(Array.isArray(t))return e.checked=k.inArray(k(e).val(),t)>-1}},v.checkOn||(k.valHooks[this].get=function(e){return null===e.getAttribute("value")?"on":e.value})}),v.focusin="onfocusin"in n;var bt=/^(?:focusinfocus|focusoutblur)$/,_t=function(e){e.stopPropagation()};k.extend(k.event,{trigger:function(e,t,r,i){var o,a,s,c,u,l,d,f,p=[r||b],m=h.call(e,"type")?e.type:e,v=h.call(e,"namespace")?e.namespace.split("."):[];if(a=f=s=r=r||b,3!==r.nodeType&&8!==r.nodeType&&!bt.test(m+k.event.triggered)&&(m.indexOf(".")>-1&&(v=m.split("."),m=v.shift(),v.sort()),u=m.indexOf(":")<0&&"on"+m,(e=e[k.expando]?e:new k.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=r),t=null==t?[e]:k.makeArray(t,[e]),d=k.event.special[m]||{},i||!d.trigger||!1!==d.trigger.apply(r,t))){if(!i&&!d.noBubble&&!y(r)){for(c=d.delegateType||m,bt.test(c+m)||(a=a.parentNode);a;a=a.parentNode)p.push(a),s=a;s===(r.ownerDocument||b)&&p.push(s.defaultView||s.parentWindow||n)}for(o=0;(a=p[o++])&&!e.isPropagationStopped();)f=a,e.type=o>1?c:d.bindType||m,(l=(Q.get(a,"events")||Object.create(null))[e.type]&&Q.get(a,"handle"))&&l.apply(a,t),(l=u&&a[u])&&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(p.pop(),t)||!$(r)||u&&g(r[m])&&!y(r)&&((s=r[u])&&(r[u]=null),k.event.triggered=m,e.isPropagationStopped()&&f.addEventListener(m,_t),r[m](),e.isPropagationStopped()&&f.removeEventListener(m,_t),k.event.triggered=void 0,s&&(r[u]=s)),e.result}},simulate:function(e,t,n){var r=k.extend(new k.Event,n,{type:e,isSimulated:!0});k.event.trigger(r,null,t)}}),k.fn.extend({trigger:function(e,t){return this.each(function(){k.event.trigger(e,t,this)})},triggerHandler:function(e,t){var n=this[0];if(n)return k.event.trigger(e,t,n,!0)}}),v.focusin||k.each({focus:"focusin",blur:"focusout"},function(e,t){var n=function(e){k.event.simulate(t,e.target,k.event.fix(e))};k.event.special[t]={setup:function(){var r=this.ownerDocument||this.document||this,i=Q.access(r,t);i||r.addEventListener(e,n,!0),Q.access(r,t,(i||0)+1)},teardown:function(){var r=this.ownerDocument||this.document||this,i=Q.access(r,t)-1;i?Q.access(r,t,i):(r.removeEventListener(e,n,!0),Q.remove(r,t))}}});var wt=n.location,xt={guid:Date.now()},kt=/\?/;k.parseXML=function(e){var t,r;if(!e||"string"!=typeof e)return null;try{t=(new n.DOMParser).parseFromString(e,"text/xml")}catch(e){}return r=t&&t.getElementsByTagName("parsererror")[0],t&&!r||k.error("Invalid XML: "+(r?k.map(r.childNodes,function(e){return e.textContent}).join("\n"):e)),t};var Et=/\[\]$/,St=/\r?\n/g,Tt=/^(?:submit|button|image|reset|file)$/i,Ct=/^(?:input|select|textarea|keygen)/i;function Ot(e,t,n,r){var i;if(Array.isArray(t))k.each(t,function(t,i){n||Et.test(e)?r(e,i):Ot(e+"["+("object"==typeof i&&null!=i?t:"")+"]",i,n,r)});else if(n||"object"!==x(t))r(e,t);else for(i in t)Ot(e+"["+i+"]",t[i],n,r)}k.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&&!k.isPlainObject(e))k.each(e,function(){i(this.name,this.value)});else for(n in e)Ot(n,e[n],t,i);return r.join("&")},k.fn.extend({serialize:function(){return k.param(this.serializeArray())},serializeArray:function(){return this.map(function(){var e=k.prop(this,"elements");return e?k.makeArray(e):this}).filter(function(){var e=this.type;return this.name&&!k(this).is(":disabled")&&Ct.test(this.nodeName)&&!Tt.test(e)&&(this.checked||!me.test(e))}).map(function(e,t){var n=k(this).val();return null==n?null:Array.isArray(n)?k.map(n,function(e){return{name:t.name,value:e.replace(St,"\r\n")}}):{name:t.name,value:n.replace(St,"\r\n")}}).get()}});var jt=/%20/g,At=/#.*$/,Pt=/([?&])_=[^&]*/,Mt=/^(.*?):[ \t]*([^\r\n]*)$/gm,Nt=/^(?:GET|HEAD)$/,Lt=/^\/\//,It={},Dt={},Rt="*/".concat("*"),Bt=b.createElement("a");function Ft(e){return function(t,n){"string"!=typeof t&&(n=t,t="*");var r,i=0,o=t.toLowerCase().match(R)||[];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 Ut(e,t,n,r){var i={},o=e===Dt;function a(s){var c;return i[s]=!0,k.each(e[s]||[],function(e,s){var u=s(t,n,r);return"string"!=typeof u||o||i[u]?o?!(c=u):void 0:(t.dataTypes.unshift(u),a(u),!1)}),c}return a(t.dataTypes[0])||!i["*"]&&a("*")}function qt(e,t){var n,r,i=k.ajaxSettings.flatOptions||{};for(n in t)void 0!==t[n]&&((i[n]?e:r||(r={}))[n]=t[n]);return r&&k.extend(!0,e,r),e}Bt.href=wt.href,k.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:wt.href,type:"GET",isLocal:/^(?:about|app|app-storage|.+-extension|file|res|widget):$/.test(wt.protocol),global:!0,processData:!0,async:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":Rt,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":k.parseXML},flatOptions:{url:!0,context:!0}},ajaxSetup:function(e,t){return t?qt(qt(e,k.ajaxSettings),t):qt(k.ajaxSettings,e)},ajaxPrefilter:Ft(It),ajaxTransport:Ft(Dt),ajax:function(e,t){"object"==typeof e&&(t=e,e=void 0),t=t||{};var r,i,o,a,s,c,u,l,d,f,h=k.ajaxSetup({},t),p=h.context||h,m=h.context&&(p.nodeType||p.jquery)?k(p):k.event,v=k.Deferred(),g=k.Callbacks("once memory"),y=h.statusCode||{},_={},w={},x="canceled",E={readyState:0,getResponseHeader:function(e){var t;if(u){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 u?o:null},setRequestHeader:function(e,t){return null==u&&(e=w[e.toLowerCase()]=w[e.toLowerCase()]||e,_[e]=t),this},overrideMimeType:function(e){return null==u&&(h.mimeType=e),this},statusCode:function(e){var t;if(e)if(u)E.always(e[E.status]);else for(t in e)y[t]=[y[t],e[t]];return this},abort:function(e){var t=e||x;return r&&r.abort(t),S(0,t),this}};if(v.promise(E),h.url=((e||h.url||wt.href)+"").replace(Lt,wt.protocol+"//"),h.type=t.method||t.type||h.method||h.type,h.dataTypes=(h.dataType||"*").toLowerCase().match(R)||[""],null==h.crossDomain){c=b.createElement("a");try{c.href=h.url,c.href=c.href,h.crossDomain=Bt.protocol+"//"+Bt.host!=c.protocol+"//"+c.host}catch(e){h.crossDomain=!0}}if(h.data&&h.processData&&"string"!=typeof h.data&&(h.data=k.param(h.data,h.traditional)),Ut(It,h,t,E),u)return E;for(d in(l=k.event&&h.global)&&0==k.active++&&k.event.trigger("ajaxStart"),h.type=h.type.toUpperCase(),h.hasContent=!Nt.test(h.type),i=h.url.replace(At,""),h.hasContent?h.data&&h.processData&&0===(h.contentType||"").indexOf("application/x-www-form-urlencoded")&&(h.data=h.data.replace(jt,"+")):(f=h.url.slice(i.length),h.data&&(h.processData||"string"==typeof h.data)&&(i+=(kt.test(i)?"&":"?")+h.data,delete h.data),!1===h.cache&&(i=i.replace(Pt,"$1"),f=(kt.test(i)?"&":"?")+"_="+xt.guid+++f),h.url=i+f),h.ifModified&&(k.lastModified[i]&&E.setRequestHeader("If-Modified-Since",k.lastModified[i]),k.etag[i]&&E.setRequestHeader("If-None-Match",k.etag[i])),(h.data&&h.hasContent&&!1!==h.contentType||t.contentType)&&E.setRequestHeader("Content-Type",h.contentType),E.setRequestHeader("Accept",h.dataTypes[0]&&h.accepts[h.dataTypes[0]]?h.accepts[h.dataTypes[0]]+("*"!==h.dataTypes[0]?", "+Rt+"; q=0.01":""):h.accepts["*"]),h.headers)E.setRequestHeader(d,h.headers[d]);if(h.beforeSend&&(!1===h.beforeSend.call(p,E,h)||u))return E.abort();if(x="abort",g.add(h.complete),E.done(h.success),E.fail(h.error),r=Ut(Dt,h,t,E)){if(E.readyState=1,l&&m.trigger("ajaxSend",[E,h]),u)return E;h.async&&h.timeout>0&&(s=n.setTimeout(function(){E.abort("timeout")},h.timeout));try{u=!1,r.send(_,S)}catch(e){if(u)throw e;S(-1,e)}}else S(-1,"No Transport");function S(e,t,a,c){var d,f,b,_,w,x=t;u||(u=!0,s&&n.clearTimeout(s),r=void 0,o=c||"",E.readyState=e>0?4:0,d=e>=200&&e<300||304===e,a&&(_=function(e,t,n){for(var r,i,o,a,s=e.contents,c=e.dataTypes;"*"===c[0];)c.shift(),void 0===r&&(r=e.mimeType||t.getResponseHeader("Content-Type"));if(r)for(i in s)if(s[i]&&s[i].test(r)){c.unshift(i);break}if(c[0]in n)o=c[0];else{for(i in n){if(!c[0]||e.converters[i+" "+c[0]]){o=i;break}a||(a=i)}o=o||a}if(o)return o!==c[0]&&c.unshift(o),n[o]}(h,E,a)),!d&&k.inArray("script",h.dataTypes)>-1&&k.inArray("json",h.dataTypes)<0&&(h.converters["text script"]=function(){}),_=function(e,t,n,r){var i,o,a,s,c,u={},l=e.dataTypes.slice();if(l[1])for(a in e.converters)u[a.toLowerCase()]=e.converters[a];for(o=l.shift();o;)if(e.responseFields[o]&&(n[e.responseFields[o]]=t),!c&&r&&e.dataFilter&&(t=e.dataFilter(t,e.dataType)),c=o,o=l.shift())if("*"===o)o=c;else if("*"!==c&&c!==o){if(!(a=u[c+" "+o]||u["* "+o]))for(i in u)if((s=i.split(" "))[1]===o&&(a=u[c+" "+s[0]]||u["* "+s[0]])){!0===a?a=u[i]:!0!==u[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 "+c+" to "+o}}}return{state:"success",data:t}}(h,_,E,d),d?(h.ifModified&&((w=E.getResponseHeader("Last-Modified"))&&(k.lastModified[i]=w),(w=E.getResponseHeader("etag"))&&(k.etag[i]=w)),204===e||"HEAD"===h.type?x="nocontent":304===e?x="notmodified":(x=_.state,f=_.data,d=!(b=_.error))):(b=x,!e&&x||(x="error",e<0&&(e=0))),E.status=e,E.statusText=(t||x)+"",d?v.resolveWith(p,[f,x,E]):v.rejectWith(p,[E,x,b]),E.statusCode(y),y=void 0,l&&m.trigger(d?"ajaxSuccess":"ajaxError",[E,h,d?f:b]),g.fireWith(p,[E,x]),l&&(m.trigger("ajaxComplete",[E,h]),--k.active||k.event.trigger("ajaxStop")))}return E},getJSON:function(e,t,n){return k.get(e,t,n,"json")},getScript:function(e,t){return k.get(e,void 0,t,"script")}}),k.each(["get","post"],function(e,t){k[t]=function(e,n,r,i){return g(n)&&(i=i||r,r=n,n=void 0),k.ajax(k.extend({url:e,type:t,dataType:i,data:n,success:r},k.isPlainObject(e)&&e))}}),k.ajaxPrefilter(function(e){var t;for(t in e.headers)"content-type"===t.toLowerCase()&&(e.contentType=e.headers[t]||"")}),k._evalUrl=function(e,t,n){return k.ajax({url:e,type:"GET",dataType:"script",cache:!0,async:!1,global:!1,converters:{"text script":function(){}},dataFilter:function(e){k.globalEval(e,t,n)}})},k.fn.extend({wrapAll:function(e){var t;return this[0]&&(g(e)&&(e=e.call(this[0])),t=k(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){k(this).wrapInner(e.call(this,t))}):this.each(function(){var t=k(this),n=t.contents();n.length?n.wrapAll(e):t.append(e)})},wrap:function(e){var t=g(e);return this.each(function(n){k(this).wrapAll(t?e.call(this,n):e)})},unwrap:function(e){return this.parent(e).not("body").each(function(){k(this).replaceWith(this.childNodes)}),this}}),k.expr.pseudos.hidden=function(e){return!k.expr.pseudos.visible(e)},k.expr.pseudos.visible=function(e){return!!(e.offsetWidth||e.offsetHeight||e.getClientRects().length)},k.ajaxSettings.xhr=function(){try{return new n.XMLHttpRequest}catch(e){}};var zt={0:200,1223:204},Ht=k.ajaxSettings.xhr();v.cors=!!Ht&&"withCredentials"in Ht,v.ajax=Ht=!!Ht,k.ajaxTransport(function(e){var t,r;if(v.cors||Ht&&!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=r=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(zt[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(),r=s.onerror=s.ontimeout=t("error"),void 0!==s.onabort?s.onabort=r:s.onreadystatechange=function(){4===s.readyState&&n.setTimeout(function(){t&&r()})},t=t("abort");try{s.send(e.hasContent&&e.data||null)}catch(e){if(t)throw e}},abort:function(){t&&t()}}}),k.ajaxPrefilter(function(e){e.crossDomain&&(e.contents.script=!1)}),k.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 k.globalEval(e),e}}}),k.ajaxPrefilter("script",function(e){void 0===e.cache&&(e.cache=!1),e.crossDomain&&(e.type="GET")}),k.ajaxTransport("script",function(e){var t,n;if(e.crossDomain||e.scriptAttrs)return{send:function(r,i){t=k("<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 Vt,Wt=[],Yt=/(=)\?(?=&|$)|\?\?/;k.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var e=Wt.pop()||k.expando+"_"+xt.guid++;return this[e]=!0,e}}),k.ajaxPrefilter("json jsonp",function(e,t,r){var i,o,a,s=!1!==e.jsonp&&(Yt.test(e.url)?"url":"string"==typeof e.data&&0===(e.contentType||"").indexOf("application/x-www-form-urlencoded")&&Yt.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(Yt,"$1"+i):!1!==e.jsonp&&(e.url+=(kt.test(e.url)?"&":"?")+e.jsonp+"="+i),e.converters["script json"]=function(){return a||k.error(i+" was not called"),a[0]},e.dataTypes[0]="json",o=n[i],n[i]=function(){a=arguments},r.always(function(){void 0===o?k(n).removeProp(i):n[i]=o,e[i]&&(e.jsonpCallback=t.jsonpCallback,Wt.push(i)),a&&g(o)&&o(a[0]),a=o=void 0}),"script"}),v.createHTMLDocument=((Vt=b.implementation.createHTMLDocument("").body).innerHTML="<form></form><form></form>",2===Vt.childNodes.length),k.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=A.exec(e))?[t.createElement(i[1])]:(i=xe([e],t,o),o&&o.length&&k(o).remove(),k.merge([],i.childNodes)));var r,i,o},k.fn.load=function(e,t,n){var r,i,o,a=this,s=e.indexOf(" ");return s>-1&&(r=mt(e.slice(s)),e=e.slice(0,s)),g(t)?(n=t,t=void 0):t&&"object"==typeof t&&(i="POST"),a.length>0&&k.ajax({url:e,type:i||"GET",dataType:"html",data:t}).done(function(e){o=arguments,a.html(r?k("<div>").append(k.parseHTML(e)).find(r):e)}).always(n&&function(e,t){a.each(function(){n.apply(this,o||[e.responseText,t,e])})}),this},k.expr.pseudos.animated=function(e){return k.grep(k.timers,function(t){return e===t.elem}).length},k.offset={setOffset:function(e,t,n){var r,i,o,a,s,c,u=k.css(e,"position"),l=k(e),d={};"static"===u&&(e.style.position="relative"),s=l.offset(),o=k.css(e,"top"),c=k.css(e,"left"),("absolute"===u||"fixed"===u)&&(o+c).indexOf("auto")>-1?(a=(r=l.position()).top,i=r.left):(a=parseFloat(o)||0,i=parseFloat(c)||0),g(t)&&(t=t.call(e,n,k.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)}},k.fn.extend({offset:function(e){if(arguments.length)return void 0===e?this:this.each(function(t){k.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"===k.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"===k.css(e,"position");)e=e.parentNode;e&&e!==r&&1===e.nodeType&&((i=k(e).offset()).top+=k.css(e,"borderTopWidth",!0),i.left+=k.css(e,"borderLeftWidth",!0))}return{top:t.top-i.top-k.css(r,"marginTop",!0),left:t.left-i.left-k.css(r,"marginLeft",!0)}}},offsetParent:function(){return this.map(function(){for(var e=this.offsetParent;e&&"static"===k.css(e,"position");)e=e.offsetParent;return e||oe})}}),k.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(e,t){var n="pageYOffset"===t;k.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)}}),k.each(["top","left"],function(e,t){k.cssHooks[t]=He(v.pixelPosition,function(e,n){if(n)return n=ze(e,t),Be.test(n)?k(e).position()[t]+"px":n})}),k.each({Height:"height",Width:"width"},function(e,t){k.each({padding:"inner"+e,content:t,"":"outer"+e},function(n,r){k.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?k.css(t,n,s):k.style(t,n,i,s)},t,a?i:void 0,a)}})}),k.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],function(e,t){k.fn[t]=function(e){return this.on(t,e)}}),k.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)}}),k.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){k.fn[t]=function(e,n){return arguments.length>0?this.on(t,null,e,n):this.trigger(t)}});var Gt=/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g;k.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)))}).guid=e.guid=e.guid||k.guid++,i},k.holdReady=function(e){e?k.readyWait++:k.ready(!0)},k.isArray=Array.isArray,k.parseJSON=JSON.parse,k.nodeName=j,k.isFunction=g,k.isWindow=y,k.camelCase=K,k.type=x,k.now=Date.now,k.isNumeric=function(e){var t=k.type(e);return("number"===t||"string"===t)&&!isNaN(e-parseFloat(e))},k.trim=function(e){return null==e?"":(e+"").replace(Gt,"")},void 0===(r=function(){return k}.apply(t,[]))||(e.exports=r);var Kt=n.jQuery,$t=n.$;return k.noConflict=function(e){return n.$===k&&(n.$=$t),e&&n.jQuery===k&&(n.jQuery=Kt),k},void 0===i&&(n.jQuery=n.$=k),k})},function(e,t,n){var r=n(142);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)}}},function(e,t,n){var r=n(158);e.exports=function(e){if(!r(e))throw TypeError(String(e)+" is not an object");return e}},function(e,t,n){var r=n(58);e.exports=r(function(e,t,n){return e(n[t])})},function(e,t,n){e.exports=n(1976)()},function(e,t){
/** @license ISC License (c) copyright 2018 original and current authors */
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"}},function(e,t,n){"use strict";n.d(t,"a",function(){return r.a}),n.d(t,"b",function(){return i.a}),n.d(t,"c",function(){return m}),n.d(t,"d",function(){return v.a}),n.d(t,"e",function(){return g.a}),n.d(t,"f",function(){return E}),n.d(t,"g",function(){return S.a});var r=n(1041),i=n(1042),o=n(0),a=n.n(o),s=n(318),c=n.n(s),u=n(2),l=n.n(u),d=n(20),f=function(e){var t=e.canProceed,n=e.hasFeedback;return l()("quiz-card__feedback",{"quiz-card__feedback--active":t,"quiz-card__feedback--frame":n})},h=function(e){var t=e.isCorrect;return l()("quiz-card__feedback-icon",{"quiz-card__feedback-icon--correct brand--color":t})},p=function(e){var t=e.allowFocus,n=e.onNext,r=e.quizNext;return a.a.createElement("div",{className:"quiz-card__feedback-button"},a.a.createElement("button",{"aria-hidden":!t,className:"quiz-card__button brand--background brand--ui",onClick:n,tabIndex:Object(d.l)(t),type:"button"},r))},m=function(e){var t=e.allowTabNavigation,n=e.canProceed,r=e.feedbackRef,i=e.hasFeedback,s=e.isCorrect,u=e.feedbackGroup,l=e.onNext,m=e.quizCorrect,v=e.quizIncorrect,g=e.quizNext,y=e.renderText,b=t&&n,_=c()(b),w=Object(o.useRef)();return Object(o.useLayoutEffect)(function(){!_&&b&&w.current&&w.current.focus()},[b,_]),a.a.createElement("div",{"aria-hidden":!b,className:f({canProceed:n,hasFeedback:i}),ref:r},a.a.createElement("div",{className:"quiz-card__main--feedback"},a.a.createElement("div",{"aria-label":u,className:"quiz-card__feedback-wrap",ref:w,role:"group",tabIndex:d.h},a.a.createElement("div",{className:h({isCorrect:s})},a.a.createElement("i",{"aria-hidden":"true",className:s?"icon icon-Master-05":"icon icon-Master-06"})),a.a.createElement("div",{className:"quiz-card__feedback-label brand--head"},s?m:v),y()),l?p({allowFocus:b,onNext:l,quizNext:g}):null))},v=n(1043),g=n(1044),y=n(4),b=n.n(y),_=n(550),w=n.n(_),x=function(e,t){var n=c()(t);Object(o.useEffect)(function(){!n&&t&&e&&w()(e.focus)&&e.focus()},[t,n,e])},k=n(316),E=function(e){var t,n,r=e.isActive,i=e.num,s=e.total,c=e.quizQuestion,u=Object(o.useRef)();return x(u.current,r),a.a.createElement("div",{className:"quiz-card__number"},a.a.createElement("h1",{className:"visually-hidden-always",ref:u,tabIndex:d.h},b()(t="Question ".concat(i," of ")).call(t,s)),a.a.createElement("div",{"aria-hidden":"true",className:"quiz-card__step-label brand--body"},c),a.a.createElement("div",{"aria-hidden":"true",className:"quiz-card__counter brand--color brand--ui"},b()(n="".concat(Object(k.b)(i),"/")).call(n,Object(k.b)(s))))},S=n(1045)},function(e,t,n){var r=n(215),i={}.hasOwnProperty;e.exports=Object.hasOwn||function(e,t){return i.call(r(e),t)}},function(e,t,n){var r=n(104),i=n(132),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]}},function(e,t){e.exports=function(e,t){return Object.prototype.hasOwnProperty.call(t,e)}},function(e,t,n){var r=n(187),i=n(479);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)}}}},function(e,t,n){var r=n(1082)("wks"),i=n(1083),o=n(126).Symbol,a=n(2209);e.exports=function(e){return r[e]||(r[e]=a&&o[e]||(a?o:i)("Symbol."+e))}},function(e,t,n){"use strict";var r,i=n(188),o=n(126),a=n(158),s=n(244),c=n(1208),u=n(311),l=n(341),d=n(202).f,f=n(456),h=n(1090),p=n(176)("toStringTag"),m=n(1083)("TYPED_ARRAY_TAG"),v=o.DataView,g=v&&v.prototype,y=o.Int8Array,b=y&&y.prototype,_=o.Uint8ClampedArray,w=_&&_.prototype,x=y&&f(y),k=b&&f(b),E=Object.prototype,S=E.isPrototypeOf,T=!(!o.ArrayBuffer||!o.DataView),C=T&&!!h,O=!1,j={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(j,c(e))};for(r in j)o[r]||(C=!1);if((!C||"function"!=typeof x||x===Function.prototype)&&(x=function(){throw TypeError("Incorrect invocation")},C))for(r in j)o[r]&&h(o[r],x);if((!C||!k||k===E)&&(k=x.prototype,C))for(r in j)o[r]&&h(o[r].prototype,k);if(C&&f(w)!==k&&h(w,k),i&&!s(k,p))for(r in O=!0,d(k,p,{get:function(){return a(this)?this[m]:void 0}}),j)o[r]&&u(o[r],m,r);T&&h&&f(g)!==E&&h(g,E),e.exports={NATIVE_ARRAY_BUFFER:T,NATIVE_ARRAY_BUFFER_VIEWS:C,TYPED_ARRAY_TAG:O&&m,aTypedArray:function(e){if(A(e))return e;throw TypeError("Target is not a typed array")},aTypedArrayConstructor:function(e){if(h){if(S.call(x,e))return e}else for(var t in j)if(s(j,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 j){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(h){if(n)for(r in j)(a=o[r])&&s(a,e)&&delete a[e];if(x[e]&&!n)return;try{return l(x,e,n?t:C&&y[e]||t)}catch(e){}}for(r in j)!(a=o[r])||a[e]&&!n||l(a,e,t)}},isView:function(e){var t=c(e);return"DataView"===t||s(j,t)},isTypedArray:A,TypedArray:x,TypedArrayPrototype:k}},function(e,t,n){var r=n(391),i=n(58);e.exports=i(r("slice",function(e,t,n){return Array.prototype.slice.call(n,e,t)}))},function(e,t,n){var r=n(58);e.exports=r(function(e,t,n){return n.replace(e,t)})},function(e,t,n){"use strict";(function(e){n.d(t,"a",function(){return j});var r=n(3),i=n.n(r),o=n(9),a=n(10),s=n(11),c=n(13),u=n(5),l=n(4),d=n.n(l),f=(n(1848),n(2)),h=n.n(f),p=n(1),m=n.n(p),v=n(16),g=n.n(v),y=n(357),b=n.n(y),_=n(39),w=n.n(_),x=n(291),k=n(358),E=n(264),S=n(359),T=n(59);function C(e){var t=function(){if("undefined"==typeof Reflect||!i.a)return!1;if(i.a.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=Object(u.a)(e);if(t){var o=Object(u.a)(this).constructor;n=i()(r,arguments,o)}else n=r.apply(this,arguments);return Object(c.a)(this,n)}}var O=function(e){return e&&(e.key||e.src)&&!e.isProcessing&&!e.error},j=function(t){Object(s.a)(r,t);var n=C(r);function r(){return Object(o.a)(this,r),n.apply(this,arguments)}return Object(a.a)(r,[{key:"renderAudio",value:function(t){var n,r=this.props,i=r.allowTabNavigation,o=r.index,a=r.labels,s=r.lessonNumber,c=t.audio,u=d()(n="audio-".concat(s,"-")).call(n,o);if(O(c))return e.createElement(x.b,{allowTabNavigation:i,id:u,key:u,labels:a,mediaSrc:c.key,shouldPause:c.pause})}},{key:"renderImage",value:function(t){var n,r=this.props,i=r.allowTabNavigation,o=r.defaultAlign,a=r.index,s=r.onLoad,c=r.opts,u=t.image,l=null!==(n=null==u?void 0:u.align)&&void 0!==n?n:o,d="image-".concat(a),f=c.disableZoom;if(O(u))return e.createElement(E.a,{align:l,key:d,src:Object(T.a)(u),alt:u.alt,disableZoom:f,allowTabNavigation:i,onLoad:s,imageKey:u.key,shouldFillWidth:u.fillWidth})}},{key:"renderVideo",value:function(t){var n,r,i=t.video,o=void 0===i?{}:i,a=this.props,s=a.allowTabNavigation,c=a.blockId,u=a.lessonNumber,l=a.index,f=a.labels,h=a.onFullScreenChange,p=a.enableVideoPlaybackSpeed,m=(r=c,w()(g()(r),b()("-".concat(r))))(d()(n="video-".concat(u,"-")).call(n,l));if(O(o))return e.createElement(S.a,{allowTabNavigation:s,captionUID:o.captionUID,captions:o.captions,id:m,key:m,labels:f,onFullScreenChange:h,poster:o.poster,shouldPause:o.pause,src:o.key,canAdjustPlaybackSpeed:p})}},{key:"renderEmbed",value:function(t){var n=this.props,r=n.allowTabNavigation,i=n.opts,o=n.labels,a=i.fullEmbed,s=i.showMetaData,c=void 0===s||s,u=t.embed,l="embed-".concat(this.props.index);if(O(u))return e.createElement(k.a,{labels:o,key:l,isLesson:a,id:l,showMetaData:c,data:u,allowTabNavigation:r,shouldPause:u.pause})}},{key:"render",value:function(){var t=this.props,n=t.media,r=t.hasPadding,i=h()({"media-group":r});return e.createElement("div",{className:i},this.renderAudio(n),this.renderImage(n),this.renderVideo(n),this.renderEmbed(n))}}],[{key:"propTypes",get:function(){return{allowTabNavigation:m.a.bool,blockId:m.a.string,defaultAlign:m.a.string,hasPadding:m.a.bool,index:m.a.string,media:m.a.object,onLoad:m.a.func,opts:m.a.object}}},{key:"defaultProps",get:function(){return{defaultAlign:"left",media:{},index:"1",hasPadding:!0,opts:{},allowTabNavigation:!0,lessonNumber:1}}}]),r}(e.Component)}).call(this,n(0))},function(e,t,n){t.action=n(1746),t.also=n(1748),t.error=n(1749),t.handle=n(1750),t.logError=n(1751),t.onSuccess=n(1752),t.sideEffect=n(1753)},function(e,t,n){var r=n(200),i=n(51),o=n(56);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)})})},function(e,t,n){"use strict";var r=n(871),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 c(e){return"[object Function]"===i.call(e)}function u(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:c,isStream:function(e){return s(e)&&c(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:u,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++)u(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++)u(arguments[r],n);return t},extend:function(e,t,n){return u(t,function(t,i){e[i]=n&&"function"==typeof t?r(t,n):t}),e},trim:function(e){return e.replace(/^\s*/,"").replace(/\s*$/,"")}}},function(e,t,n){var r=n(382),i=Math.min;e.exports=function(e){return e>0?i(r(e),9007199254740991):0}},function(e,t,n){var r=n(200),i=n(18);e.exports=i(function(e,t){return r(t,[e])})},function(e,t,n){var r=n(409);e.exports=r(1,"join")},function(e,t,n){var r=n(479);e.exports=function(e){return function t(n){return 0===arguments.length||r(n)?t:e.apply(this,arguments)}}},function(e,t,n){e.exports=!n(122)(function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a})},function(e,t,n){"use strict";(function(e){n.d(t,"a",function(){return k}),n.d(t,"e",function(){return E}),n.d(t,"b",function(){return S}),n.d(t,"c",function(){return T}),n.d(t,"d",function(){return C}),n.d(t,"f",function(){return O});var r=n(9),i=n(10),o=n(11),a=n(13),s=n(5),c=n(4),u=n.n(c),l=n(15),d=n.n(l),f=n(3),h=n.n(f),p=(n(2621),n(1)),m=n.n(p),v=n(22),g=n(291),y=n(42),b=n(458),_=n(59),w=n(99);function x(e){var t=function(){if("undefined"==typeof Reflect||!h.a)return!1;if(h.a.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=Object(s.a)(e);if(t){var i=Object(s.a)(this).constructor;h()(r,arguments,i)}else r.apply(this,arguments);return Object(a.a)(this,n)}}var k=function(t){var n=t.avatar,r=t.authorName;return e.createElement("div",{className:"lesson-header__author brand--ui"},e.createElement("img",{className:"lesson-header__author-img",src:Object(v.g)(n),alt:""}),e.createElement("span",{className:"visually-hidden"},"by ",r),e.createElement("span",{"aria-hidden":"true",className:"lesson-header__author-name"},r))},E=function(){return e.createElement("div",{className:"lesson-header__author"})},S=function(t){var n,r,i,o=t.lessonName,a=t.lessonPreposition,s=t.totalLessons,c=t.lessonNumber;return e.createElement("div",{className:"lesson-header__counter brand--body brand--linkColor"},e.createElement("div",{className:"lesson-header__count"},u()(n=u()(r=u()(i="".concat(o," ")).call(i,c," ")).call(r,a," ")).call(n,s)))},T=function(t){var n=t.description;return e.createElement(y.a,{className:"lesson-header__description brand--lbody brand--linkColor",value:n})},C=function(t){var n=t.children;return e.createElement("div",{className:"lesson-header__grouped-row"},n)},O=function(t){var n=t.title;return e.createElement(y.a,{className:"lesson-header__title brand--lhead",tagName:"h1",value:n})},j=function(t){var n,r=t.authorName,i=t.avatar,o=t.children,a=t.color,s=t.description,c=t.labels,u=t.lessonHeaderStyle,l=t.lessonNumber,f=t.partnerContentAuthors,h=t.showAuthor,p=t.showLessonCount,m=t.title,v=t.totalLessons,y=c.lessonName,b=c.lessonPreposition,x=function(e){return"url(".concat(Object(_.f)({width:"76",height:"76",imageKey:e.image}),")")},E=u===w.c.TINT?{color:a}:null;return e.createElement("div",{className:"lesson-header"},e.createElement("div",{className:"lesson-header__top-wrap",style:E},e.createElement(O,{title:m}),f&&e.createElement("div",{className:"lesson-header__partner-content"},d()(f).call(f,function(t){return e.createElement("div",{key:t.name,className:"lesson-header__partner-content-author"},e.createElement("div",{className:"lesson-header__partner-content-author-img",style:{backgroundImage:x(t)}}),e.createElement("div",null,e.createElement("span",{className:"visually-hidden"},"by ",t.name),e.createElement("span",{"aria-hidden":"true"},t.name)))})),e.createElement("div",{className:"lesson-header__author-count-wrap"},i&&r&&h&&!f&&e.createElement(k,{avatar:i,authorName:r}),p&&e.createElement(S,{lessonName:y,lessonNumber:l,lessonPreposition:b,totalLessons:v}))),d()(n=e.Children).call(n,o,function(t){return t&&t.type===g.a?e.createElement("div",{className:"lesson-header__audio"},t):null}),s&&e.createElement(T,{description:s}))};e.Component}).call(this,n(0))},function(e,t,n){var r=n(470),i=n(755),o=n(756);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")}}()},function(e,t){
/** @license ISC License (c) copyright 2017 original and current authors */
var n={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"}},r=function(e){return n[e]||n.unk};e.exports={proxy:function(e,t){return{type:function(){return r(e)(t)}}},type:r,typeFn:function(e,t,n){return"crocks/"+r(e)(n)+"@"+(t||0)}}},function(e,t,n){"use strict";n.d(t,"c",function(){return p}),n.d(t,"d",function(){return m}),n.d(t,"e",function(){return v}),n.d(t,"b",function(){return g}),n.d(t,"a",function(){return y});var r=n(100),i=n.n(r),o=n(17),a=n.n(o),s=n(59),c=n(4),u=n.n(c),l=n(2302),d=n.n(l),f=function(e){var t,n,r=e.alpha,i=e.color,o=e.url,a=d()(i,r);return{backgroundImage:u()(t=u()(n="linear-gradient(0deg,".concat(a,",")).call(n,a,'), url("')).call(t,o,'")')}},h=n(99),p=a()("navigationMode","restricted"),m=i()(a()("sidebarMode","hidden")),v=a()("sidebarMode","open"),g=function(e){var t=e.type,n=e.settings;return"quiz"!==t||n.asLesson||void 0===n.asLesson},y=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,c=a.key,u=a.src,l=c?Object(s.a)(a):u;return l?r?f({alpha:t/100,color:h.b,url:l}):{backgroundImage:'url("'.concat(l,'")')}:null}},function(e,t,n){
/** @license ISC License (c) copyright 2016 original and current authors */
var r=n(83),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);return n.slice(1).concat(function(e){return e}).reduce(o,a)}},function(e,t,n){"use strict";n.d(t,"a",function(){return j}),n.d(t,"b",function(){return A.c}),n.d(t,"c",function(){return B}),n.d(t,"d",function(){return z});var r=n(44),i=n(4),o=n.n(i),a=(n(1945),n(0)),s=n.n(a),c=n(7),u=n.n(c),l=n(2),d=n.n(l),f=n(186),h=n.n(f),p=n(30),m=n.n(p),v=n(46),g=n.n(v),y=n(246),b=n.n(y),_=n(234),w=n.n(_),x=n(32),k=n(20),E=n(114),S=n(26),T=function(e){var t,n,i=e.allowTabNavigation,c=e.isComplete,u=e.isCorrect,l=e.onChange,f=e.onEnterToSubmit,h=e.options,p=e.questionHtmlId,m=e.quizAcceptableResponses,v=e.quizAnswerPlaceholder,g=e.revealAnswers,y=e.value,b=Object(a.useRef)(),_=Object(a.useState)(function(){return w()("fitb-")}),E=Object(r.a)(_,1)[0],T="".concat(E,"-feedback"),C="".concat(E,"-acceptable"),j="".concat(E,"-input"),A=c?o()(t="".concat(T," ")).call(t,C):void 0,P=c?void 0:v,M=i?0:k.h,N=d()("quiz-fill__icon",{"quiz-fill__icon--visible":c}),L=d()("quiz-fill__options",{"quiz-fill__options--visible":c}),I=Object(a.useCallback)(function(e){l(e.currentTarget.value)},[l]),D=Object(a.useCallback)(function(e){Object(S.d)(e)&&f(e)},[f]),R=c?void 0:I,B=c?void 0:D;return s.a.createElement("div",{className:"quiz-fill"},s.a.createElement("div",{className:"quiz-fill__container"},s.a.createElement("input",{"aria-labelledby":p,"aria-describedby":A,"aria-hidden":!i,"aria-readonly":c,autoComplete:"off",className:"quiz-fill__input brand--body ignore-prefers",id:j,onChange:R,onKeyDown:B,placeholder:P,readOnly:c,ref:b,tabIndex:M,type:"text",value:y}),g&&s.a.createElement("div",{className:N,id:T},u&&s.a.createElement(x.e,{"aria-label":"Correct",className:"brand--fill"}),!u&&s.a.createElement(x.J,{"aria-label":"Incorrect"}))),g&&c&&s.a.createElement("div",{className:L,id:C},o()(n="".concat(m,": ")).call(n,O(h))))};T.defaultProps={onChange:E.b,onEnterToSubmit:E.b};var C,O=u()(h()(", "),m()(u()(b.a,g()("","title")))),j=T,A=n(580),P=n(8),M=n(15),N=n.n(M),L=(n(1947),n(318)),I=n.n(L),D=(C={},Object(P.a)(C,"NEXT",function(e,t){return t===e-1?0:t+1}),Object(P.a)(C,"PREV",function(e,t){return 0===t?e-1:t-1}),C),R=function(e){var t=e.allowTabNavigation,n=e.color,i=e.id,o=e.index,c=e.isComplete,u=e.isCorrect,l=e.isFresh,f=e.isSelected,h=e.onChange,p=e.onEnterToSubmit,m=e.onNav,v=e.prefersKeyboardNavigation,g=e.renderOptionText,y=e.revealAnswers,b=e.title,_=Object(a.useState)(function(){return w()("qmc-")}),E=Object(r.a)(_,1)[0],T=Object(a.useRef)(),C=I()(f),O=c&&y,j="".concat(E,"-label"),A=O?"".concat(E,"-result"):void 0,P=c?"true":"false",M=t&&(f||l&&0===o)?0:k.h,N=c&&u&&y,L=c&&!u&&y,D=d()("quiz-multiple-choice-option-wrap",{"quiz-multiple-choice-option-wrap--complete":c}),R=d()("quiz-multiple-choice-option",{"quiz-multiple-choice-option--complete":c,"quiz-multiple-choice-option--keyboard":v,"quiz-multiple-choice-option--selected":f,"quiz-multiple-choice-option--correct":N,"quiz-multiple-choice-option--incorrect":L}),B=d()("quiz-multiple-choice-option__dot",{"quiz-multiple-choice-option__dot--active":f&&!c}),F=d()("quiz-multiple-choice-option__check","brand--fill",{"quiz-multiple-choice-option__check--active":N}),U=d()("quiz-multiple-choice-option__x",{"quiz-multiple-choice-option__x--active":L}),q=d()("quiz-multiple-choice-option__border",{"brand--beforeBorder":c&&y&&f&&u}),z=Object(a.useCallback)(function(e){e.target===e.currentTarget&&(Object(S.d)(e)?p(e):Object(S.c)(e)?(e.preventDefault(),m("NEXT")):Object(S.o)(e)?(e.preventDefault(),m("PREV")):Object(S.k)(e)&&(e.preventDefault(),h({selectedIndex:o})))},[o,h,p,m]),H=Object(a.useCallback)(function(e){"A"!==e.target.tagName&&h({selectedIndex:o})},[o,h]),V=c?void 0:H,W=c?void 0:z;return Object(a.useEffect)(function(){t&&!C&&f&&T.current&&T.current.focus()},[t,f,C]),s.a.createElement("div",{className:D,onClick:V},s.a.createElement("div",{"aria-checked":f,"aria-describedby":A,"aria-disabled":P,"aria-labelledby":j,className:R,onKeyDown:W,ref:T,role:"radio",tabIndex:M},s.a.createElement("div",{className:"quiz-multiple-choice-option__indicator",style:{color:n}},s.a.createElement(x.h,{className:B}),s.a.createElement(x.d,{"aria-hidden":"true",className:F}),s.a.createElement(x.n,{"aria-hidden":"true",className:U})),s.a.createElement("div",{className:q})),s.a.createElement("div",{className:"quiz-multiple-choice-option__text brand--body",id:j},g({optionId:i,title:b})),O&&s.a.createElement("div",{className:"visually-hidden-always",id:A},f&&u&&"Correctly selected",f&&!u&&"Incorrectly selected",!f&&u&&"Incorrectly unselected",!f&&!u&&"Correctly unselected"))},B=function(e){var t=e.allowTabNavigation,n=e.color,r=e.correctId,i=e.isComplete,o=e.onChange,c=e.onEnterToSubmit,u=e.options,l=void 0===u?[]:u,d=e.prefersKeyboardNavigation,f=e.questionHtmlId,h=e.renderOptionText,p=e.revealAnswers,m=e.selectedIndex,v=Object(a.useCallback)(function(e){var t=l.length;1!==t&&o({selectedIndex:D[e](t,m||0)})},[o,l.length,m]);return s.a.createElement("div",{"aria-labelledby":f,role:"radiogroup"},N()(l).call(l,function(e,a,u){return s.a.createElement(R,{allowTabNavigation:t,color:n,id:e.id,index:a,isComplete:i,isCorrect:r===e.id,isFirst:0===a,isFresh:-1===m||null==m,isLast:a===u.length-1,isSelected:m===a,key:e.id,onChange:o,onEnterToSubmit:c,onNav:v,prefersKeyboardNavigation:d,renderOptionText:h,revealAnswers:p,title:e.title})}))},F=(n(1948),n(97)),U=n.n(F),q=function(e){var t=e.allowTabNavigation,n=e.id,i=e.index,o=e.isComplete,c=e.isCorrect,u=e.isSelected,l=e.onChange,f=e.onEnterToSubmit,h=e.prefersKeyboardNavigation,p=e.renderOptionText,m=e.revealAnswers,v=e.title,g=Object(a.useState)(function(){return w()("qmr-")}),y=Object(r.a)(g,1)[0],b=o&&m,_="".concat(y,"-label"),E=b?"".concat(y,"-result"):void 0,T=o?"true":"false",C=t?0:k.h,O=d()("quiz-multiple-response-option-wrap",{"quiz-multiple-response-option-wrap--complete":o}),j=d()("quiz-multiple-response-option",{"quiz-multiple-response-option--complete":o,"quiz-multiple-response-option--keyboard":h,"quiz-multiple-response-option--selected":u,"quiz-multiple-response-option--correct":o&&c&&m,"quiz-multiple-response-option--incorrect":o&&!c&&m}),A=d()("quiz-multiple-response-option__border",{"brand--beforeBorder":o&&m&&c&&u}),P=Object(a.useCallback)(function(e){Object(S.d)(e)?f(e):Object(S.k)(e)&&(e.preventDefault(),l({optionIndex:i}))},[i,f,l]),M=Object(a.useCallback)(function(e){"A"!==e.target.tagName&&l({optionIndex:i})},[i,l]),N=o?void 0:M,L=o?void 0:P;return s.a.createElement("li",{className:O,onClick:N,role:"listitem"},s.a.createElement("div",{"aria-checked":u,"aria-describedby":E,"aria-disabled":T,"aria-labelledby":_,className:j,onKeyDown:L,role:"checkbox",tabIndex:C},s.a.createElement("div",{className:"quiz-multiple-response-option__indicator"},s.a.createElement(x.d,{"aria-hidden":"true",className:"quiz-multiple-response-option__check brand--fill",width:"9",height:"7"}),s.a.createElement(x.n,{"aria-hidden":"true",className:"quiz-multiple-response-option__x",height:"8",width:"8"})),s.a.createElement("div",{className:A})),s.a.createElement("div",{className:"quiz-multiple-response-option__text brand--body",id:_},p({optionId:n,title:v})),b&&s.a.createElement("div",{className:"visually-hidden-always",id:E},u&&c&&"Correctly checked",u&&!c&&"Incorrectly checked",!u&&c&&"Incorrectly unchecked",!u&&!c&&"Correctly unchecked"))},z=function(e){var t=e.allowTabNavigation,n=e.correctIds,r=void 0===n?[]:n,i=e.isComplete,o=e.onChange,a=e.onEnterToSubmit,c=e.options,u=void 0===c?[]:c,l=e.prefersKeyboardNavigation,d=e.renderOptionText,f=e.revealAnswers,h=e.selectedIndices,p=void 0===h?[]:h;return s.a.createElement("ul",{role:"list"},N()(u).call(u,function(e,n){return s.a.createElement(q,{allowTabNavigation:t,id:e.id,index:n,isComplete:i,isCorrect:U()(e.id,r),isSelected:U()(n,p),key:e.id,onChange:o,onEnterToSubmit:a,prefersKeyboardNavigation:l,renderOptionText:d,revealAnswers:f,title:e.title})}))}},function(e,t,n){"use strict";n.d(t,"c",function(){return b}),n.d(t,"d",function(){return _}),n.d(t,"e",function(){return w}),n.d(t,"f",function(){return x}),n.d(t,"g",function(){return k}),n.d(t,"h",function(){return E}),n.d(t,"i",function(){return S}),n.d(t,"j",function(){return T}),n.d(t,"b",function(){return j}),n.d(t,"a",function(){return A});var r,i,o,a,s=n(44),c=n(4),u=n.n(c),l=n(74),d=n.n(l),f=n(76),h=n.n(f),p=n(24),m=n.n(p),v=n(23),g=n.n(v),y=["media","storyline"],b=g()(null,["payload","result"]),_=m()(y),w=m()(u()(r=[]).call(r,y,["thumbnail"])),x=m()(u()(i=[]).call(i,y,["meta","version"])),k=g()(null,u()(o=[]).call(o,y,["src"])),E=m()(["payload","result","completion"]),S=m()(u()(a=[]).call(a,y,["processing"])),T=g()(!1,["payload","result","score"]),C=d()(function(e,t){if(!t)return!1;var n=e.majorLimit,r=e.minorLimit,i=t.split("."),o=Object(s.a)(i,2),a=o[0],c=o[1],u=parseInt(a)===n&&c>=r;return a>n||u}),O={mobile:"?forcemobile=1&devicepreview=1&phone=1&rise=true",tablet:"?forcemobile=1&devicepreview=1&rise=true"},j=C({majorLimit:3,minorLimit:13}),A=function(e,t,n){var r,i,o,a=t&&(i=n,o=h()(i.split("-")),O[o]);return a?u()(r="".concat(e)).call(r,a):"".concat(e,"?rise=true")}},function(e,t,n){"use strict";n.d(t,"a",function(){return o}),n.d(t,"b",function(){return a});var r=n(41),i=n.n(r),o=(n(24),function(e){return function(){return document.querySelector(e)}}),a=function(e){return i()(Array.prototype).call(e)}},function(e,t,n){"use strict";function r(e,t){return e===t}n.d(t,"a",function(){return i});var i=function(e){for(var t=arguments.length,n=Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];return function(){for(var t=arguments.length,r=Array(t),i=0;i<t;i++)r[i]=arguments[i];var o=0,a=r.pop(),s=function(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}(r),c=e.apply(void 0,[function(){return o++,a.apply(null,arguments)}].concat(n)),u=e(function(){for(var e=[],t=s.length,n=0;n<t;n++)e.push(s[n].apply(null,arguments));return c.apply(null,e)});return u.resultFunc=a,u.dependencies=s,u.recomputations=function(){return o},u.resetRecomputations=function(){return o=0},u}}(function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:r,n=null,i=null;return function(){return function(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}(t,n,arguments)||(i=e.apply(null,arguments)),n=arguments,i}})},function(e,t,n){var r=n(157),i=n(199),o=n(300);e.exports=r?function(e,t,n){return i.f(e,t,o(1,n))}:function(e,t,n){return e[t]=n,e}},function(e,t,n){var r=n(157),i=n(752),o=n(94),a=n(466),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}},function(e,t){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}},function(e,t,n){
/** @license ISC License (c) copyright 2016 original and current authors */
var r=n(115),i=n(83),o=n(837);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})},function(e,t,n){var r=n(188),i=n(2204),o=n(167),a=n(454),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}},function(e,t){e.exports={"@@functional/placeholder":!0}},function(e,t,n){var r=n(58),i=n(37),o=n(24);e.exports=r(function(e,t,n){return i(o(e,n),t)})},function(e,t,n){var r=n(18),i=n(56);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})})},function(e,t,n){
/** @license ISC License (c) copyright 2017 original and current authors */
var r=n(378),i=n(379),o=n(191).type("Async"),a=n(191).typeFn(o(),5),s=n(170),c=n(487),u=n(282),l=n(1479),d=n(1480),f=n(243),h=n(488),p=n(83),m=n(839),v=n(1481),g=n(201),y=function(e){return e.reduce(function(e,t){return e&&g(_,t)},!0)},b=function(e){return _(function(t,n){return n(e)})};function _(e){var t;if(!p(e))throw new TypeError("Async: Function required");var n=b,r=function(){return"Async"+i(e)};function c(t,n,r){if(!p(t)||!p(n))throw new TypeError("Async.fork: Reject and resolve functions required");var i=!1,o=!1,a=p(r)?r:d,s=function(e,t){if(!o)return o=!0,i?d():e(t)},c=e(s.bind(null,t),s.bind(null,n)),u=p(c)?c:d;return l(function(){return a((u(),void(i=!0)))})}function f(e){return function(t){if(!p(t))throw new TypeError("Async."+e+": Function required");return _(function(e,n){return c(e,u(n,t))})}}function h(e){return function(t,n){if(!p(t)||!p(n))throw new TypeError("Async."+e+": Functions required for both arguments");return _(function(e,r){return c(u(e,t),u(r,n))})}}function m(e){return function(t){if(!g(_,t))throw new TypeError("Async."+e+": Async required");return _(function(e,n){var r=d,i=d;return r=c(function(){i=t.fork(e,n)},n),l(function(){return i(r())})})}}function v(e){return function(t){if(!p(t))throw new TypeError("Async."+e+": Async returning function required");return _(function(n,r){var i=d,o=d;return i=c(n,function(i){var a=t(i);if(!g(_,a))throw new TypeError("Async."+e+": Function must return another Async");o=a.fork(n,r)}),l(function(){return o(i())})})}}return(t={fork:c,toPromise:function(){return new Promise(function(e,t){c(t,e)})},inspect:r,toString:r,type:o,swap:function(e,t){if(!p(e)||!p(t))throw new TypeError("Async.swap: Functions required for both arguments");return _(function(n,r){return c(u(r,e),u(n,t))})},race:function(e){if(!g(_,e))throw new TypeError("Async.race: Async required");return _(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=c(o,i),s=e.fork(o,i);return function(){a(),s()}})},coalesce:function(e,t){if(!p(e)||!p(t))throw new TypeError("Async.coalesce: Functions required for both arguments");return _(function(n,r){return c(u(r,e),u(r,t))})},ap:function(e){if(!g(_,e))throw new TypeError("Async.ap: Async required");return _(function(t,n){var r=null,i=null,o=!1,a=!1,s=!1,d=l(t);function f(){!s&&o&&a&&u(n,r)(i)}var h=c(d,function(e){if(!p(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(){h(),m(),s=!0}})},of:n,alt:m("alt"),bimap:h("bimap"),map:f("map"),chain:v("chain"),bichain:function(e,t){var n="Async.bichain: Both arguments must be Async returning functions";if(!p(e)||!p(t))throw new TypeError(n);return _(function(r,i){var o=d,a=d;function s(e){return function(t){var o=e(t);if(!g(_,o))throw new TypeError(n);a=o.fork(r,i)}}return o=c(s(e),s(t)),l(function(){return a(o())})})}})[s.of]=n,t[s.alt]=m(s.alt),t[s.bimap]=h(s.bimap),t[s.map]=f(s.map),t[s.chain]=v(s.chain),t["@@type"]=a,t.constructor=_,t}_.of=b,_.type=o,_[s.of]=b,_["@@type"]=a,_.Rejected=function(e){return _(function(t){return t(e)})},_.Resolved=b,_.fromPromise=function(e){if(!p(e))throw new TypeError("Async.fromPromise: Promise returning function required");return function(){var t=arguments;return _(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)})}},_.fromNode=function(e,t){if(!p(e))throw new TypeError("Async.fromNode: CPS function required");return function(){for(var n=[],r=arguments.length;r--;)n[r]=arguments[r];return _(function(r,i){e.apply(t,n.concat(function(e,t){return e?r(e):i(t)}))})}},_.all=function(e){if(!h(e)||!y(e))throw new TypeError("Async.all: Foldable structure of Asyncs required");return f(e)?c.sequence(_.of,e):e.sequence(_.of)},_.rejectAfter=function(e,t){if(!(m(e)&&e>=0))throw new TypeError("Async.rejectAfter: Positive Integer required for first argument");return _(function(n){var r=setTimeout(function(){n(t)},e);return function(){clearTimeout(r)}})},_.resolveAfter=function(e,t){if(!(m(e)&&e>=0))throw new TypeError("Async.resolveAfter: Positive Integer required for first argument");return _(function(n,r){var i=setTimeout(function(){r(t)},e);return function(){clearTimeout(i)}})},_["@@implements"]=r(["alt","ap","bimap","chain","map","of"]),e.exports=_},function(e,t,n){var r=n(631),i=n(51);e.exports=i(function(e){return r.apply(null,[{}].concat(e))})},function(e,t,n){"use strict";n.d(t,"a",function(){return s}),n.d(t,"i",function(){return c}),n.d(t,"d",function(){return u}),n.d(t,"h",function(){return l}),n.d(t,"g",function(){return d}),n.d(t,"f",function(){return f}),n.d(t,"b",function(){return h}),n.d(t,"c",function(){return p}),n.d(t,"e",function(){return m});var r=n(136),i=n.n(r),o=window.RiseDotCom,a=function(e){return o&&o[e]},s=function(){a("addFavorite")&&i.a.resolve().then(o.addFavorite).catch(console.error)},c=function(){a("removeFavorite")&&i.a.resolve().then(o.removeFavorite).catch(console.error)},u=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)},h=function(){if(a("downloadCertificate"))return o.downloadCertificate.apply(o,arguments)},p=function(){if(a("downloadCertificateCancel"))return o.downloadCertificateCancel.apply(o,arguments)},m=function(){if(a("fetchLpUpNext"))return o.fetchLpUpNext.apply(o,arguments)}},function(e,t,n){"use strict";n.d(t,"e",function(){return l}),n.d(t,"c",function(){return d}),n.d(t,"b",function(){return f}),n.d(t,"d",function(){return h}),n.d(t,"f",function(){return p}),n.d(t,"g",function(){return m});var r=n(8),i=n(54),o=n.n(i),a=n(28),s=n.n(a),c=n(60),u=o()("rise/status/")("SET_LOADED");t.a=Object(c.c)({connection:"connected",courseLoaded:!1,fontsLoaded:!1,notFound:!1,partnerContentLoaded:!1},Object(r.a)({},u,function(e,t){return s()(e,t)}));var l=function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];return Object(c.a)(u,{fontsLoaded:e})},d=function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];return Object(c.a)(u,{courseLoaded:e})},f=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"connected";return Object(c.a)(u,{connection:e})},h=function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];return Object(c.a)(u,{coverLoaded:e})},p=function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];return Object(c.a)(u,{notFound:e})},m=function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];return Object(c.a)(u,{partnerContentLoaded:e})}},function(e,t,n){"use strict";var r=n(717),i=n.n(r);i.a.dynamicDrop(!0),t.a=i.a},function(e,t,n){"use strict";var r=n(1359);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},function(e,t,n){"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}},function(e,t,n){e.exports=n(1458).default},function(e,t,n){"use strict";n.d(t,"b",function(){return Z}),n.d(t,"g",function(){return J}),n.d(t,"h",function(){return ee}),n.d(t,"a",function(){return te}),n.d(t,"d",function(){return ne}),n.d(t,"c",function(){return re}),n.d(t,"e",function(){return ie}),n.d(t,"f",function(){return oe}),n.d(t,"i",function(){return ae});var r=n(0),i=n.n(r),o=n(16),a=n.n(o),s=n(531),c=n.n(s),u=n(7),l=n.n(u),d=n(97),f=n.n(d),h=n(37),p=n.n(h),m=n(49),v=n.n(m),g=n(138),y=n.n(g),b=n(48),_=n.n(b),w=n(76),x=n.n(w),k=n(43),E=n.n(k),S=n(82),T=n.n(S),C=n(50),O=n.n(C),j=n(30),A=n.n(j),P=n(25),M=n.n(P),N=n(161),L=n.n(N),I=n(14),D=n.n(I),R=n(46),B=n.n(R),F=n(17),U=n.n(F),q=n(384),z=n.n(q),H=n(227),V=n.n(H),W=n(246),Y=n.n(W),G=n(39),K=n.n(G),$=n(32),X=c()(E.a),Q=v()(U()("correct",!0)),Z=l()(K()(p()(-1),a()(0)),y()(U()("correct",!0))),J=function(e){var t=e.answers,n=e.fillinValue,r=e.isCaseSensitive?Y.a:l()(Y.a,V.a);return M()(A()(B()("","title")),A()(r),f()(r(n)))(t)},ee=function(e){var t=e.answers,n=e.selectedIndices;return p()(z()(X,n),l()(z()(X),A()(l()(_()(y.a)(t),U()("id"))),ne)(t))},te=function(e){return{MATCHING:E.a,FILL_IN_THE_BLANK:ie,MULTIPLE_CHOICE:E.a,MULTIPLE_RESPONSE:E.a}[e]},ne=l()(L()("id"),Q),re=l()(x.a,ne),ie=v()(U()("correct",!0)),oe=l()(D()("id"),x.a),ae=l()(O.a,T.a);$.A,$.B,$.v,$.z},function(e,t,n){var r=n(248);e.exports=function(e){return Object(r(e))}},function(e,t,n){var r=n(467),i=Math.min;e.exports=function(e){return e>0?i(r(e),9007199254740991):0}},function(e,t,n){
/** @license ISC License (c) copyright 2017 original and current authors */
var r=n(83),i=n(170);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))}},function(e,t,n){var r=n(588),i=n(248);e.exports=function(e){return r(i(e))}},function(e,t){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,c){return t.apply(this,arguments)};case 9:return function(e,n,r,i,o,a,s,c,u){return t.apply(this,arguments)};case 10:return function(e,n,r,i,o,a,s,c,u,l){return t.apply(this,arguments)};default:throw new Error("First argument to _arity must be a non-negative integer no greater than ten")}}},function(e,t){"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}}},function(e,t,n){var r=n(105),i=n(783);e.exports=r?i:function(e){return Map.prototype.entries.call(e)}},function(e,t,n){var r=n(891),i="object"==typeof self&&self&&self.Object===Object&&self,o=r||i||Function("return this")();e.exports=o},function(e,t,n){"use strict";var r=n(1054),i=n(81);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,c,u,l,d,f,h,p=Object.keys(n);for(o=0,a=p.length;o<a;++o)if(l=n[s=p[o]],t.hasOwnProperty(s)||(t[s]=l),(c=t[s])!==l&&"_"!==s[0]){if(e.hasOwnProperty(s)||(e[s]=c),(d=typeof l)==typeof(u=e[s]))if("string"===d){if((f=r(u)).valid&&(h=r(l)).valid){t[s]=h.mix(f,i).rgbString();continue}}else if("number"===d&&isFinite(u)&&isFinite(l)){t[s]=u+(l-u)*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},function(e,t,n){var r=n(18),i=n(390);e.exports=r(function(e,t){var n=e<0?t.length+e:e;return i(t)?t.charAt(n):t[n]})},function(e,t,n){var r=n(18);e.exports=r(function(e,t){var n={};for(var r in t)n[r]=t[r];return delete n[e],n})},function(e,t,n){var r=n(18);e.exports=r(function(e,t){return e*t})},function(e,t,n){var r=n(409);e.exports=r(0,"toLowerCase")},function(e,t,n){var r=n(58),i=n(16),o=n(57);e.exports=r(function(e,t,n){return o(e,i(t),n)})},function(e,t,n){var r=n(18);e.exports=r(function(e,t){return e<t})},function(e,t,n){var r=n(18);e.exports=r(function(e,t){return e>t})},function(e,t,n){"use strict";var r=n(1729),i=n(1730);function o(){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=b,t.resolve=function(e,t){return b(e,!1,!0).resolve(t)},t.resolveObject=function(e,t){return e?b(e,!1,!0).resolveObject(t):t},t.format=function(e){i.isString(e)&&(e=b(e));return e instanceof o?e.format():o.prototype.format.call(e)},t.Url=o;var a=/^([a-z0-9.+-]+:)/i,s=/:[0-9]*$/,c=/^(\/\/?(?!\/)[^\?\s]*)(\?[^\s]*)?$/,u=["{","}","|","\\","^","`"].concat(["<",">",'"',"`"," ","\r","\n","\t"]),l=["'"].concat(u),d=["%","/","?",";","#"].concat(l),f=["/","?","#"],h=/^[+a-z0-9A-Z_-]{0,63}$/,p=/^([+a-z0-9A-Z_-]{0,63})(.*)$/,m={javascript:!0,"javascript:":!0},v={javascript:!0,"javascript:":!0},g={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,"http:":!0,"https:":!0,"ftp:":!0,"gopher:":!0,"file:":!0},y=n(1731);function b(e,t,n){if(e&&i.isObject(e)&&e instanceof o)return e;var r=new o;return r.parse(e,t,n),r}o.prototype.parse=function(e,t,n){if(!i.isString(e))throw new TypeError("Parameter 'url' must be a string, not "+typeof e);var o=e.indexOf("?"),s=-1!==o&&o<e.indexOf("#")?"?":"#",u=e.split(s);u[0]=u[0].replace(/\\/g,"/");var b=e=u.join(s);if(b=b.trim(),!n&&1===e.split("#").length){var _=c.exec(b);if(_)return this.path=b,this.href=b,this.pathname=_[1],_[2]?(this.search=_[2],this.query=t?y.parse(this.search.substr(1)):this.search.substr(1)):t&&(this.search="",this.query={}),this}var w=a.exec(b);if(w){var x=(w=w[0]).toLowerCase();this.protocol=x,b=b.substr(w.length)}if(n||w||b.match(/^\/\/[^@\/]+@[^@\/]+/)){var k="//"===b.substr(0,2);!k||w&&v[w]||(b=b.substr(2),this.slashes=!0)}if(!v[w]&&(k||w&&!g[w])){for(var E,S,T=-1,C=0;C<f.length;C++){-1!==(O=b.indexOf(f[C]))&&(-1===T||O<T)&&(T=O)}-1!==(S=-1===T?b.lastIndexOf("@"):b.lastIndexOf("@",T))&&(E=b.slice(0,S),b=b.slice(S+1),this.auth=decodeURIComponent(E)),T=-1;for(C=0;C<d.length;C++){var O;-1!==(O=b.indexOf(d[C]))&&(-1===T||O<T)&&(T=O)}-1===T&&(T=b.length),this.host=b.slice(0,T),b=b.slice(T),this.parseHost(),this.hostname=this.hostname||"";var j="["===this.hostname[0]&&"]"===this.hostname[this.hostname.length-1];if(!j)for(var A=this.hostname.split(/\./),P=(C=0,A.length);C<P;C++){var M=A[C];if(M&&!M.match(h)){for(var N="",L=0,I=M.length;L<I;L++)M.charCodeAt(L)>127?N+="x":N+=M[L];if(!N.match(h)){var D=A.slice(0,C),R=A.slice(C+1),B=M.match(p);B&&(D.push(B[1]),R.unshift(B[2])),R.length&&(b="/"+R.join(".")+b),this.hostname=D.join(".");break}}}this.hostname.length>255?this.hostname="":this.hostname=this.hostname.toLowerCase(),j||(this.hostname=r.toASCII(this.hostname));var F=this.port?":"+this.port:"",U=this.hostname||"";this.host=U+F,this.href+=this.host,j&&(this.hostname=this.hostname.substr(1,this.hostname.length-2),"/"!==b[0]&&(b="/"+b))}if(!m[x])for(C=0,P=l.length;C<P;C++){var q=l[C];if(-1!==b.indexOf(q)){var z=encodeURIComponent(q);z===q&&(z=escape(q)),b=b.split(q).join(z)}}var H=b.indexOf("#");-1!==H&&(this.hash=b.substr(H),b=b.slice(0,H));var V=b.indexOf("?");if(-1!==V?(this.search=b.substr(V),this.query=b.substr(V+1),t&&(this.query=y.parse(this.query)),b=b.slice(0,V)):t&&(this.search="",this.query={}),b&&(this.pathname=b),g[x]&&this.hostname&&!this.pathname&&(this.pathname="/"),this.pathname||this.search){F=this.pathname||"";var W=this.search||"";this.path=F+W}return this.href=this.format(),this},o.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||"",o=!1,a="";this.host?o=e+this.host:this.hostname&&(o=e+(-1===this.hostname.indexOf(":")?this.hostname:"["+this.hostname+"]"),this.port&&(o+=":"+this.port)),this.query&&i.isObject(this.query)&&Object.keys(this.query).length&&(a=y.stringify(this.query));var s=this.search||a&&"?"+a||"";return t&&":"!==t.substr(-1)&&(t+=":"),this.slashes||(!t||g[t])&&!1!==o?(o="//"+(o||""),n&&"/"!==n.charAt(0)&&(n="/"+n)):o||(o=""),r&&"#"!==r.charAt(0)&&(r="#"+r),s&&"?"!==s.charAt(0)&&(s="?"+s),t+o+(n=n.replace(/[?#]/g,function(e){return encodeURIComponent(e)}))+(s=s.replace("#","%23"))+r},o.prototype.resolve=function(e){return this.resolveObject(b(e,!1,!0)).format()},o.prototype.resolveObject=function(e){if(i.isString(e)){var t=new o;t.parse(e,!1,!0),e=t}for(var n=new o,r=Object.keys(this),a=0;a<r.length;a++){var s=r[a];n[s]=this[s]}if(n.hash=e.hash,""===e.href)return n.href=n.format(),n;if(e.slashes&&!e.protocol){for(var c=Object.keys(e),u=0;u<c.length;u++){var l=c[u];"protocol"!==l&&(n[l]=e[l])}return g[n.protocol]&&n.hostname&&!n.pathname&&(n.path=n.pathname="/"),n.href=n.format(),n}if(e.protocol&&e.protocol!==n.protocol){if(!g[e.protocol]){for(var d=Object.keys(e),f=0;f<d.length;f++){var h=d[f];n[h]=e[h]}return n.href=n.format(),n}if(n.protocol=e.protocol,e.host||v[e.protocol])n.pathname=e.pathname;else{for(var p=(e.pathname||"").split("/");p.length&&!(e.host=p.shift()););e.host||(e.host=""),e.hostname||(e.hostname=""),""!==p[0]&&p.unshift(""),p.length<2&&p.unshift(""),n.pathname=p.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 m=n.pathname||"",y=n.search||"";n.path=m+y}return n.slashes=n.slashes||e.slashes,n.href=n.format(),n}var b=n.pathname&&"/"===n.pathname.charAt(0),_=e.host||e.pathname&&"/"===e.pathname.charAt(0),w=_||b||n.host&&e.pathname,x=w,k=n.pathname&&n.pathname.split("/")||[],E=(p=e.pathname&&e.pathname.split("/")||[],n.protocol&&!g[n.protocol]);if(E&&(n.hostname="",n.port=null,n.host&&(""===k[0]?k[0]=n.host:k.unshift(n.host)),n.host="",e.protocol&&(e.hostname=null,e.port=null,e.host&&(""===p[0]?p[0]=e.host:p.unshift(e.host)),e.host=null),w=w&&(""===p[0]||""===k[0])),_)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,k=p;else if(p.length)k||(k=[]),k.pop(),k=k.concat(p),n.search=e.search,n.query=e.query;else if(!i.isNullOrUndefined(e.search)){if(E)n.hostname=n.host=k.shift(),(j=!!(n.host&&n.host.indexOf("@")>0)&&n.host.split("@"))&&(n.auth=j.shift(),n.host=n.hostname=j.shift());return n.search=e.search,n.query=e.query,i.isNull(n.pathname)&&i.isNull(n.search)||(n.path=(n.pathname?n.pathname:"")+(n.search?n.search:"")),n.href=n.format(),n}if(!k.length)return n.pathname=null,n.search?n.path="/"+n.search:n.path=null,n.href=n.format(),n;for(var S=k.slice(-1)[0],T=(n.host||e.host||k.length>1)&&("."===S||".."===S)||""===S,C=0,O=k.length;O>=0;O--)"."===(S=k[O])?k.splice(O,1):".."===S?(k.splice(O,1),C++):C&&(k.splice(O,1),C--);if(!w&&!x)for(;C--;C)k.unshift("..");!w||""===k[0]||k[0]&&"/"===k[0].charAt(0)||k.unshift(""),T&&"/"!==k.join("/").substr(-1)&&k.push("");var j,A=""===k[0]||k[0]&&"/"===k[0].charAt(0);E&&(n.hostname=n.host=A?"":k.length?k.shift():"",(j=!!(n.host&&n.host.indexOf("@")>0)&&n.host.split("@"))&&(n.auth=j.shift(),n.host=n.hostname=j.shift()));return(w=w||n.host&&k.length)&&!A&&k.unshift(""),k.length?n.pathname=k.join("/"):(n.pathname=null,n.path=null),i.isNull(n.pathname)&&i.isNull(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},o.prototype.parseHost=function(){var e=this.host,t=s.exec(e);t&&(":"!==(t=t[0])&&(this.port=t.substr(1)),e=e.substr(0,e.length-t.length)),e&&(this.hostname=e)}},function(e,t,n){var r=n(257);e.exports=r(-1)},function(e,t,n){var r=n(51),i=n(174);e.exports=r(function(e){var t=[];for(var n in e)i(n,e)&&(t[t.length]=[n,e[n]]);return t})},function(e,t,n){var r=n(283),i=0;e.exports=function(e){var t=++i;return r(e)+t}},function(e,t,n){"use strict";n.d(t,"a",function(){return Be}),n.d(t,"b",function(){return Fe}),n.d(t,"d",function(){return Ge});var r,i=n(8),o=n(15),a=n.n(o),s=n(203),c=n.n(s),u=n(544),l=n.n(u),d=n(27),f=n.n(d),h=n(7),p=n.n(h),m=n(54),v=n.n(m),g=n(89),y=n.n(g),b=n(66),_=n.n(b),w=n(30),x=n.n(w),k=n(28),E=n.n(k),S=n(143),T=n.n(S),C=n(24),O=n.n(C),j=n(25),A=n.n(j),P=n(17),M=n.n(P),N=n(129),L=n.n(N),I=n(543),D=n.n(I),R=n(39),B=n.n(R),F=n(60),U=n(73),q=n(566),z=n(366),H=n(545),V=n(41),W=n.n(V),Y=n(367),G=n.n(Y),K=n(80),$=n.n(K),X=n(546),Q=n.n(X),Z=n(672),J=n.n(Z),ee=n(23),te=n.n(ee),ne=n(168),re=n.n(ne),ie=n(231),oe=n.n(ie),ae=G()(E.a,function(e){var t=e.src;return{media:{image:{key:se(t),src:t}}}},function(e){return{alpha:e.alpha,overlayColor:e.overlayColor}}),se=function(e){var t;return Q()(e)?W()(t=oe.a.parse(e).pathname).call(t,1):""},ce=re()(Boolean,"theme"),ue=function(e,t){return G()(J.a,function(e){return O()([e])}(t),function(e){return p()(ae,e,te()({},["theme"]))}(e))},le=function(e,t){return $()(ce,ue(e,t),O()([t]))},de=n(113),fe=n(139),he=n.n(fe),pe=n(109),me=n.n(pe),ve=n(127),ge=n.n(ve),ye=n(31),be=n.n(ye),_e=n(92),we=n.n(_e),xe=n(708),ke=n.n(xe),Ee=n(353),Se=n.n(Ee),Te=n(78),Ce=n.n(Te),Oe=n(99),je=["coverImage","lessonHeaderImage","media","theme"],Ae=G()(ge.a,O()(["color"]),O()(["theme","colorAccent"])),Pe=G()(ge.a,O()(["showLessonCount"]),O()(["theme","showLessonCount"])),Me=p()(ke()({coverImageAlpha:"alpha",coverImage:"src"}),we()(["coverImageAlpha","coverImage"])),Ne=p()(ke()({lessonHeaderImageAlpha:"alpha",lessonHeaderImageColor:"overlayColor",lessonHeaderImage:"src"}),we()(["lessonHeaderImageAlpha","lessonHeaderImage","lessonHeaderImageColor"])),Le=Ce()(re()(be.a,"theme"),Se()(E.a,he()({allowSearch:O()(["theme","allowSearch"]),animateBlockEntrance:te()(!0,["theme","animateBlockEntrance"]),bodyTypeface:O()(["theme","bodyTypeface"]),bodyTypefaceId:O()(["theme","bodyTypefaceId"]),buttonNavigationStyle:O()(["theme","buttonNavigationStyle"]),buttonScheme:O()(["theme","buttonScheme"]),color:Ae,colorAccentTint:p()(de.d,Ae),coverImage:le(Me,"coverImage"),coverPageType:O()(["theme","coverPageType"]),enableVideoPlaybackSpeed:te()(!0,["theme","enableVideoPlaybackSpeed"]),headingTypeface:O()(["theme","headingTypeface"]),headingTypefaceId:O()(["theme","headingTypefaceId"]),lessonHeaderImage:le(Ne,"lessonHeaderImage"),lessonHeaderSize:O()(["theme","lessonHeaderSize"]),lessonHeaderStyle:O()(["theme","lessonHeaderStyle"]),markComplete:te()(!1,["theme","markLessonsComplete"]),navigation:te()(!0,["theme","navigation"]),navigationMode:function(e){return e.theme.navigationRestricted?Oe.e.RESTRICTED:Oe.e.FREE},navigationRestricted:te()(!1,["theme","navigationRestricted"]),navigationStyle:O()(["theme","navigationStyle"]),navigationType:te()(Oe.h.SIDEBAR,["theme","navigationType"]),themeId:te()("classic",["theme","themeId"]),showAuthor:te()(!0,["theme","showAuthor"]),showLessonCount:Pe,sidebarMode:function(e){var t=e.theme.sidebarStartsOpen;return be()(t)||t?Oe.i.OPEN:Oe.i.CLOSED},sidebarStartsOpen:te()(!0,["theme","sidebarMode"]),showNavigationButtons:te()(!0,["theme","showNavigationButtons"]),uiTypeface:O()(["theme","uiTypeface"]),uiTypefaceId:O()(["theme","uiTypefaceId"])}))),Ie=(me()(function(e){return p()(Le,E()(e),we()(je))}),n(687)),De=n(209),Re=v()("rise/course/"),Be=Re("LOAD_COURSE"),Fe=Re("UPDATE_COURSE_PREVIEW"),Ue=function(e){return p()(E()(e),T()("lessonsOnly"),L()(M()("type","section")))(e.lessons)},qe=l()(O()(["features","rise-course-themes"]),O()(["theme"])),ze=B()(qe,Le),He=D()(f()("favoritedAt",new Date)),Ve=D()(f()("favoritedAt",null)),We=(t.c=Object(F.c)({},(r={},Object(i.a)(r,z.a,He),Object(i.a)(r,z.b,Ve),Object(i.a)(r,Be,function(e,t){var n=t.completedAt,r=t.course,i=t.favoritedAt,o=t.media,a=t.riseComCurrentUser,s=t.riseComCourseId,u=t.riseComEnrollmentType,l=t.riseComLearningPathId;return A()(Object(q.a)(o),Ue,y()({lessons:x()(Object(q.b)(o))}),E()(c.a,{completedAt:n,favoritedAt:i,riseComCourseId:s,riseComEnrollmentType:u,riseComCurrentUser:a,riseComLearningPathId:l}),ze)(r)}),Object(i.a)(r,Fe,function(e,t){return t.course}),r)),function(e){return function(t){return t([Object(F.a)(H.a,e),Object(De.g)(!0)])}}),Ye=function(e){return _()(e)?Object(De.g)(!0):a()(t=Object(U.c)(e)).call(t,We);var t},Ge=function(){return function(e){return Object(U.b)().then(function(e){return function(t){var n=t.course,r=Object(Ie.a)({course:n,lessons:n.lessons});e([Object(F.a)(Be,t),Object(De.c)(!0),Ye(r)])}}(e)).catch(function(e){return function(t){404===t.statusCode&&e(Object(De.f)(!0))}}(e))}};Object(F.a)(Fe)},function(e,t,n){var r=n(791),i=n(18),o=n(1368),a=n(401);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)})},function(e,t,n){
/** @license ISC License (c) copyright 2017 original and current authors */
var r=n(115),i=n(281),o=n(630);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)})},function(e,t,n){"use strict";n.d(t,"a",function(){return f});var r=n(41),i=n.n(r),o=n(351),a=n.n(o),s=n(7),c=n.n(s),u=n(22),l=function(){var e,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return i()(e=t.split(".")).call(e,-2).join(".")},d=c()(l,u.c),f=function(e){if(!e||h(e))return!1;"//"===i()(e).call(e,0,2)&&(e="https:".concat(e));try{var t=new a.a(e).hostname,n=l(t);return n!==d("ARTICULATE_DOMAIN")&&n!==d("RISE_DOMAIN")}catch(e){return!1}},h=function(e){return!!e&&"mailto:"===i()(e).call(e,0,7)}},function(e,t,n){"use strict";n.d(t,"a",function(){return C}),n.d(t,"b",function(){return O});var r=n(27),i=n.n(r),o=n(7),a=n.n(o),s=(n(670),n(33),n(119)),c=n.n(s),u=n(24),l=n.n(u),d=n(23),f=n.n(d),h=n(25),p=n.n(h),m=n(14),v=n.n(m),g=n(1120),y=n.n(g),b=n(179),_=n.n(b),w=n(236),x=n.n(w),k=n(240),E=n(102),S=k.c.validIframe,T=k.c.validUrl,C=(i()("type","embed"),y()("type","embedType"),_()(/http:/i,"https:"),p()(f()({},[0]),c()(l()(["media","embed","embedType"]),l()(["media","embed","type"])))),O=c()(v()("embedType"),v()("type"));c()(a()(x()(S),E.c),x()(T))},function(e,t,n){"use strict";n.d(t,"c",function(){return r}),n.d(t,"b",function(){return i}),n.d(t,"a",function(){return o});var r={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*)?$/},i={ARTICLE:"Article",INTERACTION:"Interaction",QUIZ:"Quiz",VIDEO:"Video"},o=864e5},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Helpers=t.ScrollElement=t.ScrollLink=t.animateScroll=t.scrollSpy=t.Events=t.scroller=t.Element=t.Button=t.Link=void 0;var r=h(n(2603)),i=h(n(2608)),o=h(n(2609)),a=h(n(1220)),s=h(n(2182)),c=h(n(2180)),u=h(n(2240)),l=h(n(2179)),d=h(n(2242)),f=h(n(2610));function h(e){return e&&e.__esModule?e:{default:e}}t.Link=r.default,t.Button=i.default,t.Element=o.default,t.scroller=a.default,t.Events=s.default,t.scrollSpy=c.default,t.animateScroll=u.default,t.ScrollLink=l.default,t.ScrollElement=d.default,t.Helpers=f.default,t.default={Link:r.default,Button:i.default,Element:o.default,scroller:a.default,Events:s.default,scrollSpy:c.default,animateScroll:u.default,ScrollLink:l.default,ScrollElement:d.default,Helpers:f.default}},function(e,t,n){"use strict";(function(e){n.d(t,"h",function(){return P}),n.d(t,"g",function(){return M}),n.d(t,"f",function(){return N}),n.d(t,"b",function(){return L}),n.d(t,"c",function(){return I}),n.d(t,"d",function(){return D}),n.d(t,"e",function(){return R}),n.d(t,"a",function(){return B});var r=n(3),i=n.n(r),o=n(19),a=n(9),s=n(10),c=n(6),u=n(11),l=n(13),d=n(5),f=n(4),h=n.n(f),p=n(15),m=n.n(p),v=n(41),g=n.n(v),y=(n(1886),n(0)),b=n(1),_=n.n(b),w=n(2),x=n.n(w),k=n(62),E=n(102),S=n(88),T=n(55),C=n(42),O=n(103);function j(e){var t=function(){if("undefined"==typeof Reflect||!i.a)return!1;if(i.a.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=Object(d.a)(e);if(t){var o=Object(d.a)(this).constructor;n=i()(r,arguments,o)}else n=r.apply(this,arguments);return Object(l.a)(this,n)}}var A=n(61).b.blocks,P=function(t){Object(u.a)(r,t);var n=j(r);function r(){var e,t;Object(a.a)(this,r);for(var i=arguments.length,o=new Array(i),s=0;s<i;s++)o[s]=arguments[s];return(t=n.call.apply(n,h()(e=[this]).call(e,o))).renderTextDelegate=t.renderText.bind(Object(c.a)(t)),t.renderHeadingDelegate=t.renderHeading.bind(Object(c.a)(t)),t}return Object(s.a)(r,[{key:"renderHeading",value:function(t){var n=t.heading,r=n||null;return e.createElement(C.a,{value:r})}},{key:"renderText",value:function(t){var n=t.paragraph;return e.createElement(S.a,{className:"block-text__col brand--body",value:n||""})}},{key:"render",value:function(){var t,n,r=this.props,i=r.items,o=r.type,a=r.heading,s=r.columns,c=r.settings,u=r.renderHeading,l=void 0===u?this.renderHeadingDelegate:u,d=r.renderText,f=void 0===d?this.renderTextDelegate:d,h=c.paddingTop,p=c.paddingBottom,v=c.backgroundColor,b=c.entranceAnimation,_=x()("block-text block-text--".concat(o),{"block-text--no-animation":!b}),w={backgroundColor:Object(k.a)("",v),paddingTop:"".concat(10*h,"px"),paddingBottom:"".concat(10*p,"px")},E=a?"heading"===a?"h2":"h3":"span";return e.createElement("div",{className:_,style:w},e.createElement("div",{className:"block-text__container","data-ba":A.blockText},e.createElement("div",{className:"block-text__row"},""!==a?m()(t=g()(i).call(i,0,1)).call(t,function(t){return e.createElement("div",{className:"block-text__col brand--head",key:t.id},e.createElement(E,null,l(t)))}):null),e.createElement("div",{className:"block-text__row"},"heading"!==o?m()(n=g()(i).call(i,0,s)).call(n,function(t){return e.createElement(y.Fragment,{key:t.id},f(t))}):null)))}}],[{key:"propTypes",get:function(){return{lessonId:_.a.any,blockId:_.a.any,items:_.a.array.isRequired,settings:_.a.object.isRequired,type:_.a.string,heading:_.a.string,columns:_.a.number}}},{key:"defaultProps",get:function(){return{type:"onecol",heading:"",columns:1,items:[]}}}]),r}(e.Component),M=function(t){return e.createElement(P,Object(o.a)({type:"twocol",columns:2},t))},N=function(t){return e.createElement(P,Object(o.a)({type:"threecol",columns:3},t))},L=function(t){return e.createElement(P,Object(o.a)({type:"heading",heading:"heading"},t))},I=function(t){return e.createElement(P,Object(o.a)({type:"heading",heading:"subheading"},t))},D=function(t){return e.createElement(P,Object(o.a)({heading:"heading"},t))},R=function(t){return e.createElement(P,Object(o.a)({heading:"subheading"},t))},B=function(t){Object(u.a)(r,t);var n=j(r);function r(){var e,t;Object(a.a)(this,r);for(var i=arguments.length,o=new Array(i),s=0;s<i;s++)o[s]=arguments[s];return(t=n.call.apply(n,h()(e=[this]).call(e,o))).renderCaptionDelegate=t.renderCaption.bind(Object(c.a)(t)),t}return Object(s.a)(r,[{key:"renderCaption",value:function(t){var n=t.caption;return e.createElement(S.a,{className:"block-text__code-caption brand--body brand--linkColor",value:n||""})}},{key:"render",value:function(){var t,n=this.props,r=n.animateBlockEntrance,i=n.isLearner,o=n.items,a=n.labels.codeGroup,s=n.settings,c=n.renderCaption,u=void 0===c?this.renderCaptionDelegate:c,l=s.paddingTop,d=s.paddingBottom,f=s.backgroundColor,h=s.entranceAnimation,p=s.snippetBackgroundColor,v=x()("block-text block-text--code",{"block-text--padding-top":2===Number(l),"block-text--padding-bottom":2===Number(d),"block-text--no-animation":!h}),y={backgroundColor:Object(k.a)("",f),paddingTop:"".concat(10*l,"px"),paddingBottom:"".concat(10*d,"px")};return e.createElement("div",{className:v,style:y,"data-ba":A.blockText},e.createElement(T.a,{animateBlockEntrance:r,animateIn:"fadeIn",isLearner:i},e.createElement("div",{className:"block-text__container"},m()(t=g()(o).call(o,0,1)).call(t,function(t){var n=Object(O.a)(t);return e.createElement("div",{className:"block-text__row",key:t.id},e.createElement("div",{"aria-label":a,className:"block-text__col",role:O.b},e.createElement("figure",{"aria-labelledby":n.figcaptionId,className:"block-text__figure",role:"figure"},e.createElement("pre",{className:"block-text__code","data-ba":A.blockText,style:{backgroundColor:Object(k.a)("",p)},dangerouslySetInnerHTML:{__html:Object(E.a)(t.code)}}),t.caption&&e.createElement("figcaption",{id:n.figcaptionId},u(t)))))}))))}}],[{key:"propTypes",get:function(){return{lessonId:_.a.any,blockId:_.a.any,items:_.a.array.isRequired,settings:_.a.object.isRequired}}}]),r}(e.Component)}).call(this,n(0))},function(e,t){e.exports=
/** @license ISC License (c) copyright 2016 original and current authors */
function(e){return Array.isArray(e)}},function(e,t){var n={}.hasOwnProperty;e.exports=function(e,t){return n.call(e,t)}},function(e,t,n){var r=n(380);e.exports=function(e){return Object(r(e))}},function(e,t,n){var r,i=n(51);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,"")}))},function(e,t,n){(function(t){var n="-0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ_abcdefghijklmnopqrstuvwxyz",r=t.crypto||t.msCrypto,i=Math.floor,o=Math.random;e.exports=r&&r.getRandomValues?function(e){void 0===e&&(e=16);var t=new Uint8Array(e);return r.getRandomValues(t),"function"!=typeof t.reduce&&(t=[].slice.call(t)),t.reduce(function(e,t){return e+n[t%64]},"")}:function(e){void 0===e&&(e=16);for(var t="";t.length<e;)t+=n[i(o()*n.length)];return t}}).call(this,n(96))},function(e,t){e.exports=function(e){if(null==e)throw TypeError("Can't call method on "+e);return e}},function(e,t){e.exports=function(e){return e.webpackPolyfill||(e.deprecate=function(){},e.paths=[],e.children||(e.children=[]),Object.defineProperty(e,"loaded",{enumerable:!0,get:function(){return e.l}}),Object.defineProperty(e,"id",{enumerable:!0,get:function(){return e.i}}),e.webpackPolyfill=1),e}},function(e,t){e.exports=
/** @license ISC License (c) copyright 2016 original and current authors */
function(e){return"function"==typeof e}},function(e,t){e.exports=
/** @license ISC License (c) copyright 2016 original and current authors */
function(e){return"function"==typeof e}},function(e,t){var n=Array.isArray;e.exports=n},function(e,t){e.exports=
/** @license ISC License (c) copyright 2016 original and current authors */
function(e){return"function"==typeof e}},function(e,t,n){var r=n(1070),i="object"==typeof self&&self&&self.Object===Object&&self,o=r||i||Function("return this")();e.exports=o},function(e,t){var n=Array.isArray;e.exports=n},function(e,t,n){var r=n(123),i=n(737);function o(t){return"function"==typeof r&&"symbol"==typeof i?(e.exports=o=function(e){return typeof e},e.exports.default=e.exports,e.exports.__esModule=!0):(e.exports=o=function(e){return e&&"function"==typeof r&&e.constructor===r&&e!==r.prototype?"symbol":typeof e},e.exports.default=e.exports,e.exports.__esModule=!0),o(t)}e.exports=o,e.exports.default=e.exports,e.exports.__esModule=!0},function(e,t,n){var r=n(18);e.exports=r(function(e,t){return Number(e)+Number(t)})},function(e,t,n){var r=n(409);e.exports=r(1,"split")},function(e,t,n){var r=n(18);e.exports=r(function(e,t){return e/t})},function(e,t,n){var r=n(18),i=n(133),o=n(1514);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}))},function(e,t,n){var r=n(18);e.exports=r(function(e,t){return e<=t})},function(e,t,n){e.exports=n(1355)},function(e,t,n){"use strict";n.d(t,"b",function(){return v}),n.d(t,"c",function(){return g}),n.d(t,"d",function(){return y});var r,i=n(8),o=n(54),a=n.n(o),s=n(16),c=n.n(s),u=n(28),l=n.n(u),d=n(60),f=a()("rise/sessionPreferences/"),h=f("LOAD_SESSION_PREFERENCES"),p=f("SET_PREFERS_KEYBOARD_NAVIGATION"),m=f("SET_STARTING_COURSE_LESSON_SELECTED");t.a=Object(d.c)({prefersKeyboardNavigation:!1,startedCourseWithLessonSelected:!1},(r={},Object(i.a)(r,h,l.a),Object(i.a)(r,p,function(e,t){return l()(e,{prefersKeyboardNavigation:t})}),Object(i.a)(r,m,function(e,t){return l()(e,{startedCourseWithLessonSelected:t})}),r));var v=c()(Object(d.a)(h,null)),g=Object(d.a)(p),y=Object(d.a)(m)},function(e,t,n){"use strict";var r=n(44),i=n(0),o=n.n(i),a=n(2),s=n.n(a),c=n(265),u=n(559),l=n(548),d=(n(1851),function(e){var t=e.align,n=e.alt,a=e.allowTabNavigation,d=void 0===a||a,f=e.caption,h=e.disableZoom,p=e.fileName,m=e.shouldFillWidth,v=e.imageKey,g=e.onLoad,y=e.src,b=Object(i.useRef)(),_=Object(i.useRef)(),w=Object(i.useCallback)(function(){return s()("img",{"img--left":"left"===t,"img--right":"right"===t,"img--center":!t||"center"===t,"img--fill":m,"img--zoom":C})},[t,m,C]),x=Object(i.useState)(w()),k=Object(r.a)(x,2),E=k[0],S=k[1],T=Object(c.a)({alt:n,caption:f,fileName:p,key:v}),C=d&&!h,O=Object(i.useCallback)(function(e){_.current.zoom(b.current,e.currentTarget,{})},[]),j=Object(i.useCallback)(function(){S(w())},[w]);Object(i.useEffect)(function(){var e=Object(u.a)();return _.current=e,function(){e.cleanup()}},[]),Object(i.useEffect)(function(){m||S(w())},[t,w,m]);var A=C?O:void 0;return o.a.createElement("div",{className:"container"},o.a.createElement("img",{alt:T,className:E,onClick:A,onLoad:g||j,ref:b,role:"img",src:y}),C&&o.a.createElement("button",{"aria-label":"Zoom image",className:"img__btn img__btn--zoom visually-hidden",onClick:O,type:"button"},o.a.createElement(l.a,{"aria-hidden":"true",className:"img__btn-symbol"})))});t.a=Object(i.memo)(d)},function(e,t,n){"use strict";n.d(t,"b",function(){return S}),n.d(t,"a",function(){return T});var r=n(41),i=n.n(r),o=n(16),a=n.n(o),s=n(7),c=n.n(s),u=n(97),l=n.n(u),d=n(37),f=n.n(d),h=n(80),p=n.n(h),m=n(144),v=n.n(m),g=n(25),y=n.n(g),b=n(46),_=n.n(b),w=n(258),x=n.n(w),k=n(102),E=c()(l()(".svg"),_()("","originalUrl")),S=p()(E,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=Object(k.e)(n);if(a)return a}if(r)return r;if(o){var s,c=i()(s=o.split("/")).call(s,-1)[0];if(c)return c}},C=function(e){return y()(_()("","originalUrl"),x()("."),v.a,f()(e))};C("svg"),C("gif")},function(e,t,n){"use strict";var r=n(2304);t.a=Object(r.setup)({el:"__",mod:"--",modValue:"-"})},function(e,t,n){"use strict";n.d(t,"a",function(){return P});var r,i,o=n(4),a=n.n(o),s=n(53),c=n.n(s),u=n(153),l=n.n(u),d=n(100),f=n.n(d),h=n(65),p=n.n(h),m=n(163),v=n.n(m),g=n(30),y=n.n(g),b=n(207),_=n.n(b),w=n(25),x=n.n(w),k=n(161),E=n.n(k),S=n(14),T=n.n(S),C=n(22),O=function(e){return"Accessibility"===e.title},j=f()(O),A=[{title:"Course Overview",labels:a()(r=[{name:"courseStart",text:"START COURSE"},{name:"courseResume",text:"RESUME COURSE"}]).call(r,C.e?[]:[{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.e?[{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:"Accessibility",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"}]}],P=(x()(p()(O),T()("labels"),E()("name"))(A),x()(y()(T()("labels")),v.a,y()(function(e){var t={};return t[e.name]=e.text,t}),_.a)(A));c()(A).call(A,l()(j,function(e){var t=e.title;return!C.e||"Exit Course (LMS)"!==t}))},function(e,t,n){"use strict";n.d(t,"b",function(){return F});var r=n(431),i=n(102),o=n(1121),a=n.n(o),s=n(16),c=n.n(s),u=n(1122),l=n.n(u),d=n(193),f=n.n(d),h=n(109),p=n.n(h),m=n(37),v=n.n(m),g=n(269),y=n.n(g),b=n(76),_=n.n(b),w=n(1123),x=n.n(w),k=n(1124),E=n.n(k),S=n(1125),T=n.n(S),C=n(258),O=n.n(C),j=n(675),A=n.n(j),P=n(78),M=n.n(P),N=n(64),L=n.n(N),I=x()(v.a,["http","https"]),D=f()(_.a,O()(":")),R=f()(y()(E()(a.a),I),l.a),B=f()(T()(A()("//"),R),D),F=p()(function(e){return f()(function(e){return M()((t=e,n=B,function(e){return!t(e)||n(e)}),c()(""));var t,n}(e),r.htmlDecode,i.e)}),U=F(L.a);t.a=U},function(e,t,n){
/** @license ISC License (c) copyright 2016 original and current authors */
var r=n(115),i=n(83);e.exports=r(function(e,t,n){if(!i(e))throw new TypeError("flip: Function required for first argument");return r(e)(n,t)})},function(e,t,n){"use strict";(function(e){n.d(t,"a",function(){return x}),n.d(t,"b",function(){return k}),n.d(t,"c",function(){return E});var r=n(52),i=n.n(r),o=n(36),a=n.n(o),s=n(53),c=n.n(s),u=n(35),l=n.n(u),d=n(38),f=n.n(d),h=n(8),p=n(44),m=n(4),v=n.n(m),g=n(0);function y(e,t){var n=i()(e);if(a.a){var r=a()(e);t&&(r=c()(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){Object(h.a)(e,t,n[t])}):f.a?Object.defineProperties(e,f()(n)):y(Object(n)).forEach(function(t){Object.defineProperty(e,t,l()(n,t))})}return e}function _(e,t){var n=Object(g.useMemo)(function(){var n;return matchMedia(v()(n="(".concat(e,": ")).call(n,.0625*t,"em)"))},[e,t]),r=Object(g.useState)(n.matches),i=Object(p.a)(r,2),o=i[0],a=i[1];return Object(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 w(t,n){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"matches",i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"withPxToEmMedia";return function(o){var a;function s(i){var a=_(t,n);return e.createElement(o,b(b({},i),{},Object(h.a)({},r,a)))}return s.displayName=v()(a="".concat(i,"(")).call(a,o.displayName||o.name,")"),s}}function x(e){return _("max-width",e-1)}function k(e){return _("min-width",e)}function E(e,t,n){return w("min-width",e,t,n)}}).call(this,n(0))},function(e,t,n){"use strict";e.exports=function(){}},function(e,t,n){"use strict";var r=n(744);t.a=Object(r.a)("CoverAction")},function(e,t,n){"use strict";(function(e){t.a=function(t){var n=t.children;return e.createElement("div",{className:"cover__header-content-info"},n)}}).call(this,n(0))},function(e,t,n){"use strict";var r=n(325),i=n(296),o=n(0),a=n.n(o);t.a=Object(i.a)("CoverTitle",function(e){var t=e.className,n=Object(r.a)().title;return a.a.createElement("h1",{className:"cover__header-content-title ".concat(t)},n)})},function(e,t,n){var r=n(157),i=n(465),o=n(300),a=n(218),s=n(466),c=n(172),u=n(752),l=Object.getOwnPropertyDescriptor;t.f=r?l:function(e,t){if(e=a(e),t=s(t,!0),u)try{return l(e,t)}catch(e){}if(c(e,t))return o(!i.f.call(e,t),e[t])}},function(e,t){e.exports=Array.isArray||function(e){return null!=e&&e.length>=0&&"[object Array]"===Object.prototype.toString.call(e)}},function(e,t,n){var r=n(603),i=n(199).f,o=n(198),a=n(172),s=n(1281),c=n(124)("toStringTag");e.exports=function(e,t,n,u){if(e){var l=n?e:e.prototype;a(l,c)||i(l,c,{configurable:!0,value:t}),u&&!r&&o(l,"toString",s)}}},function(e,t,n){var r,i,o,a=n(1282),s=n(132),c=n(147),u=n(198),l=n(172),d=n(592),f=n(472),h=n(393),p=s.WeakMap;if(a||d.state){var m=d.state||(d.state=new p),v=m.get,g=m.has,y=m.set;r=function(e,t){if(g.call(m,e))throw new TypeError("Object already initialized");return t.facade=e,y.call(m,e,t),t},i=function(e){return v.call(m,e)||{}},o=function(e){return g.call(m,e)}}else{var b=f("state");h[b]=!0,r=function(e,t){if(l(e,b))throw new TypeError("Object already initialized");return t.facade=e,u(e,b,t),t},i=function(e){return l(e,b)?e[b]:{}},o=function(e){return l(e,b)}}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 TypeError("Incompatible receiver, "+e+" required");return n}}}},function(e,t){e.exports=function(e){return e&&e["@@transducer/reduced"]?e:{"@@transducer/value":e,"@@transducer/reduced":!0}}},function(e,t){var n,r,i=e.exports={};function o(){throw new Error("setTimeout has not been defined")}function a(){throw new Error("clearTimeout has not been defined")}function s(e){if(n===setTimeout)return setTimeout(e,0);if((n===o||!n)&&setTimeout)return n=setTimeout,setTimeout(e,0);try{return n(e,0)}catch(t){try{return n.call(null,e,0)}catch(t){return n.call(this,e,0)}}}!function(){try{n="function"==typeof setTimeout?setTimeout:o}catch(e){n=o}try{r="function"==typeof clearTimeout?clearTimeout:a}catch(e){r=a}}();var c,u=[],l=!1,d=-1;function f(){l&&c&&(l=!1,c.length?u=c.concat(u):d=-1,u.length&&h())}function h(){if(!l){var e=s(f);l=!0;for(var t=u.length;t;){for(c=u,u=[];++d<t;)c&&c[d].run();d=-1,t=u.length}c=null,l=!1,function(e){if(r===clearTimeout)return clearTimeout(e);if((r===a||!r)&&clearTimeout)return r=clearTimeout,clearTimeout(e);try{r(e)}catch(t){try{return r.call(null,e)}catch(t){return r.call(this,e)}}}(e)}}function p(e,t){this.fun=e,this.array=t}function m(){}i.nextTick=function(e){var t=new Array(arguments.length-1);if(arguments.length>1)for(var n=1;n<arguments.length;n++)t[n-1]=arguments[n];u.push(new p(e,t)),1!==u.length||l||s(h)},p.prototype.run=function(){this.fun.apply(null,this.array)},i.title="browser",i.browser=!0,i.env={},i.argv=[],i.version="",i.versions={},i.on=m,i.addListener=m,i.once=m,i.off=m,i.removeListener=m,i.removeAllListeners=m,i.emit=m,i.prependListener=m,i.prependOnceListener=m,i.listeners=function(e){return[]},i.binding=function(e){throw new Error("process.binding is not supported")},i.cwd=function(){return"/"},i.chdir=function(e){throw new Error("process.chdir is not supported")},i.umask=function(){return 0}},function(e,t){
/** @license ISC License (c) copyright 2016 original and current authors */
var n=Object.prototype.toString;e.exports=function(e){return!!e&&"[object Object]"===n.call(e)}},function(e,t){e.exports=
/** @license ISC License (c) copyright 2016 original and current authors */
function(e,t){return function(n){return e(t(n))}}},function(e,t,n){var r=n(906);e.exports=function(e){return null==e?"":r(e)}},function(e,t,n){"use strict";var r=n(106),i=n(81),o=n(414);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){this.defaults.hasOwnProperty(e)&&(this.defaults[e]=i.extend(this.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)})}}},function(e,t,n){"use strict";e.exports={},e.exports.Arc=n(2006),e.exports.Line=n(2007),e.exports.Point=n(2008),e.exports.Rectangle=n(2009)},function(e,t,n){var r=n(18);e.exports=r(function(e,t){return t>e?t:e})},function(e,t,n){(function(t){var n;n="undefined"!=typeof window?window:void 0!==t?t:"undefined"!=typeof self?self:{},e.exports=n}).call(this,n(96))},function(e,t,n){var r=n(18);e.exports=r(function(e,t){return t.match(e)||[]})},function(e,t,n){e.exports=n(1509)},function(e,t,n){var r=n(51);e.exports=r(function(e){for(var t={},n=0;n<e.length;)t[e[n][0]]=e[n][1],n+=1;return t})},function(e,t,n){"use strict";n.d(t,"b",function(){return M}),n.d(t,"a",function(){return N});var r=n(3),i=n.n(r),o=n(9),a=n(10),s=n(6),c=n(11),u=n(13),l=n(5),d=n(41),f=n.n(d),h=(n(1849),n(0)),p=n.n(h),m=n(2),v=n.n(m),g=n(1),y=n.n(g),b=n(33),_=n.n(b),w=n(23),x=n.n(w),k=n(40),E=n(22),S=n(26),T=n(20),C=n(95),O=n(267),j=n(103);function A(e){var t=function(){if("undefined"==typeof Reflect||!i.a)return!1;if(i.a.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=Object(l.a)(e);if(t){var o=Object(l.a)(this).constructor;n=i()(r,arguments,o)}else n=r.apply(this,arguments);return Object(u.a)(this,n)}}var P=function(e){var t=e.currentTime,n=e.duration;return Math.round(t/n*100)||0},M=function(e){Object(c.a)(n,e);var t=A(n);function n(){var e;return Object(o.a)(this,n),(e=t.call(this)).state={shouldLoadPlayheadPosition:!0,playheadPositionSaveThrottle:0},e.handleChange=e.handleChange.bind(Object(s.a)(e)),e.onPlayClick=e.onPlayClick.bind(Object(s.a)(e)),e}return Object(a.a)(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,c=o.duration;a>s?a=s:a<1&&(a=1),o.currentTime=a/s*c,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(){k.a.addChangeListener(this.handleChange)}},{key:"componentDidUpdate",value:function(e){!e.shouldPause&&this.props.shouldPause&&k.a.isPlaying&&(this.audio.pause(),k.a.pause())}},{key:"componentWillUnmount",value:function(){var e=this.props.recordMediaPlayheadPosition;k.a.pause(),k.a.removeChangeListener(this.handleChange),e&&e(P(this.audio))}},{key:"handleChange",value:function(){k.a.playerId===this.props.id&&(k.a.isPlaying?this.audio.play():this.audio&&this.audio.pause(),this.audio&&(this.audio.muted=k.a.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=k.a.isPlaying&&k.a.playerId===r,s=k.a.isMuted&&k.a.playerId===r,c=v()("audio-player__play",{"audio-player__play--pause":a}),u=v()("audio-player__volume",{"audio-player__volume--muted":s}),l=x()(null,["audio","currentTime"],this),d=x()(null,["audio","duration"],this),f=Object(T.l)(n),h=i.audioPlayerGroup,m=i.pauseButtonLabel,g=i.playButtonLabel,y=i.seekSliderLabel;return p.a.createElement("div",{key:"player-"+r,className:"audio-player"},p.a.createElement("div",{"aria-hidden":!n,"aria-label":h,className:"audio-player__housing",onKeyDown:this.onKeyDown.bind(this),role:j.b,tabIndex:f},p.a.createElement("div",{"aria-label":a?m:g,className:c,onClick:this.onPlayClick,role:"button",tabIndex:f}),p.a.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.a.createElement("div",{ref:function(t){return e.trackerbar=t},className:"audio-player__tracker-bar"}),p.a.createElement("div",{className:"audio-player__tracker-handle","aria-label":y,"aria-live":"polite","aria-valuemax":d,"aria-valuemin":"0","aria-valuenow":l,ref:function(t){return e.trackerhandle=t},role:"slider",tabIndex:f})),p.a.createElement("div",{className:"audio-player__timer"},this.state.currentTime),p.a.createElement("div",{className:u,onClick:this.onVolumeClick.bind(this)},p.a.createElement("i",{className:"icon-volume"}),p.a.createElement("i",{className:"icon-mute"}))),p.a.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:Object(E.g)("".concat(o)),key:"audio-"+r}))}},{key:"onKeyDown",value:function(e){var t=this,n=Object(C.b)(this.onPlayClick),r=Object(C.b)(function(){return t.keySeek(5)}),i=Object(C.b)(function(){return t.keySeek(-5)});_()([[S.e,n],[S.j,r],[S.h,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,c=this.audio,u=c.currentTime,l=c.duration;k.a.isPlaying&&k.a.playerId!==i&&(k.a.isPlaying=!1),k.a.playerId=i,k.a.isPlaying=!k.a.isPlaying,k.a.isPlaying?(a(n.timeMs(u)),r&&this.state.shouldLoadPlayheadPosition&&(this.audio.currentTime=l*r/100||0)):(o(n.timeMs(u)),s&&s(P(this.audio))),this.setState({shouldLoadPlayheadPosition:!1})}},{key:"onVolumeClick",value:function(){k.a.isMuted?k.a.isMuted=!1:k.a.isMuted=!0}},{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}),k.a.isPlaying&&k.a.playerId!==t&&(k.a.isPlaying=!1),k.a.playerId=t,k.a.isPlaying=!0,r(n.timeMs(o)),i&&i(P(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)}),k.a.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);Object(E.h)();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(P(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:O.a.audioPlayerGroup,pauseButtonLabel:O.a.pauseButtonLabel,playButtonLabel:O.a.playButtonLabel,seekSliderLabel:O.a.seekSliderLabel},mediaSrc:null,onEnd:function(){},onPause:function(){},onPlay:function(){},onSeek:function(){},shouldPause:!1}}},{key:"propTypes",get:function(){return{allowTabNavigation:y.a.bool,labels:y.a.object,mediaSrc:y.a.string,shouldPause:y.a.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.a.Component),N=p.a.createElement(M,null).type},function(e,t,n){var r=n(1934),i=n(1937),o=n(252);e.exports=function(e){return(o(e)?r:i)(e)}},function(e,t,n){e.exports=n(1517)},function(e,t,n){"use strict";n.d(t,"a",function(){return Li}),n.d(t,"b",function(){return Ii});var r={};n.r(r),n.d(r,"request",function(){return Fr}),n.d(r,"callbackPath",function(){return ei}),n.d(r,"errorPath",function(){return ti}),n.d(r,"getToken",function(){return ni}),n.d(r,"login",function(){return ai}),n.d(r,"initAuth",function(){return ui}),n.d(r,"logout",function(){return li}),n.d(r,"callbackComponent",function(){return hi});var i={};n.r(i),n.d(i,"request",function(){return Fr}),n.d(i,"callbackComponent",function(){return Ei}),n.d(i,"callbackPath",function(){return Si}),n.d(i,"getToken",function(){return Ti}),n.d(i,"login",function(){return Ci}),n.d(i,"logout",function(){return Oi}),n.d(i,"initAuth",function(){return Mi});var o=n(22),a=n(8),s=n(44),c=n(136),u=n.n(c);function l(e,t,n,r,i,o,a){try{var s=e[o](a),c=s.value}catch(e){return void n(e)}s.done?t(c):u.a.resolve(c).then(r,i)}function d(e){return function(){var t=this,n=arguments;return new u.a(function(r,i){var o=e.apply(t,n);function a(e){l(o,r,i,a,s,"next",e)}function s(e){l(o,r,i,a,s,"throw",e)}a(void 0)})}}var f=n(120),h=n.n(f),p=n(4),m=n.n(p),v=n(262),g=n.n(v),y=n(52),b=n.n(y),_=n(36),w=n.n(_),x=n(53),k=n.n(x),E=n(35),S=n.n(E),T=n(38),C=n.n(T),O=n(293),j=n.n(O),A=n(16),P=n.n(A),M=n(7),N=n.n(M),L=n(31),I=n.n(L),D=n(178),R=n.n(D),B=n(111),F=n.n(B),U=n(0),q=n(110),z=n(1109),H=n.n(z),V=n(1110),W=n.n(V),Y=n(39),G=n.n(Y),K=function(){return"visible"===document.visibilityState},$=function(e){document.addEventListener("visibilitychange",function(e){return G()(K,function(){return e()})}(e)),window.addEventListener("focus",function(){return e()})},X=n(33),Q=n.n(X),Z=n(108),J=n.n(Z),ee=n(143),te=n.n(ee),ne=n(204),re=n.n(ne),ie=n(14),oe=n.n(ie),ae=n(64),se=n.n(ae),ce=n(436),ue=function(e){return Object(ce.a)({method:"POST",url:"".concat(Object(o.c)("RISE_RUNTIME_URI"),"/analytics"),json:!0,data:e})},le=Object(o.c)("SUBSCRIPTIONS_ENDPOINT"),de=Object(o.c)("THREESIXTY_FRONTEND_URI"),fe=re()(["error","status"],404),he=N()(te()("error"),oe()("response")),pe=function(){return window.location.href=de},me=[function(e,t){return t.Authorization="Bearer ".concat(Li()),e}],ve=function(){var e=d(h.a.mark(function e(t){var n,r,i,o;return h.a.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return n="".concat(le,"/users/authorized_status"),e.next=3,Ii({transformRequest:me,url:n}).toPromise().catch(he);case 3:return r=e.sent,i=N()(t,F()(function(e){return ue({event:"Unexpected Logout",payload:{category:"auth",data:e,detail:"Subscription Error"}})})),o=Q()([[fe,pe],[J()("error"),i],[se.a,oe()("data")]]),e.abrupt("return",o(r));case 7:case"end":return e.stop()}},e)}));return function(t){return e.apply(this,arguments)}}(),ge=n(321),ye=n.n(ge),be=n(119),_e=n.n(be),we=n(17),xe=n.n(we),ke=(n(240),xe()("status","active"),xe()("status","inactive")),Ee=(xe()("plan","individual"),re()(["features","enable_review"],!0),re()(["features","enable_rise"],!0)),Se=(xe()("plan","trial"),ye()([xe()("plan","trial"),xe()("status","inactive"),xe()("is_retrial_eligible",!1)])),Te=(_e()(xe()("plan","team"),xe()("plan","individual")),ye()([xe()("plan","team"),xe()("is_team_admin",!0)]),ye()([xe()("plan","trial"),xe()("is_team_admin",!0)]),n(74)),Ce=n.n(Te),Oe=n(30),je=n.n(Oe),Ae=n(145),Pe=n.n(Ae),Me=n(79),Ne=n.n(Me),Le=n(56),Ie=n.n(Le),De=n(24),Re=n.n(De),Be=n(535),Fe=n.n(Be),Ue=n(348),qe=n.n(Ue),ze=qe()(oe()("AUTH_SERVICE_URI"),function(e){return Fe.a.create({baseURL:e.AUTH_SERVICE_URI,withCredentials:!0})});function He(){return(He=d(h.a.mark(function e(t,n,r){var i,o,a,s,c,u,l;return h.a.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return i=r.email,o=r.login,a=r.oktaNamespace,s=r.password,e.prev=1,u=o||m()(c="".concat(a,"/")).call(c,i),e.next=5,ze(t).post("/api/v1/authn",{password:s,username:u,options:{multiOptionalFactorEnroll:!1,warnBeforePasswordExpired:!1}});case 5:return l=e.sent,e.abrupt("return",Re()(["data","sessionToken"],l));case 9:throw e.prev=9,e.t0=e.catch(1),Ne()(new Error,e.t0.response.data);case 12:case"end":return e.stop()}},e,null,[[1,9]])}))).apply(this,arguments)}var Ve=Ie()(3,function(e,t,n){return He.apply(this,arguments)}),We=n(1114),Ye=n.n(We),Ge=n(78),Ke=n.n(Ge);function $e(){return($e=d(h.a.mark(function e(t,n,r,i){return h.a.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return i.clear(),e.next=3,ze(r).delete("/api/v1/sessions/me").then(F()(function(){return n.emit&&t.emit("session:closed")})).catch(Ke()(re()(["response","status"],404),Ye.a));case 3:case"end":return e.stop()}},e)}))).apply(this,arguments)}var Xe=Ie()(4,function(e,t,n,r){return $e.apply(this,arguments)}),Qe=n(351),Ze=n.n(Qe),Je=n(129),et=n.n(Je),tt=n(1111),nt=n.n(tt)()(9),rt=et()(I.a);function it(e){var t=e.client_id,n=e.issuer,r=e.idp,i=e.nonce,o=e.prompt,a=void 0===o?"none":o,s=e.redirect_uri,c=void 0===s?window.location.origin:s,u=e.response_mode,l=e.scope,d=e.sessionToken,f=e.state,h=new g.a(rt({client_id:t,idp:r,nonce:i||nt(),prompt:a,redirect_uri:c,response_mode:u,response_type:"id_token token",scope:l,sessionToken:d,state:f}));return Ne()(new Ze.a("".concat(n,"/v1/authorize"),window.location.origin),{search:h.toString()}).toString()}var ot=n(3),at=n.n(ot),st=n(141),ct=n(9),ut=n(10),lt=n(6),dt=n(703),ft=n.n(dt),ht=n(5);function pt(e,t,n){return(pt="undefined"!=typeof Reflect&&ft.a?ft.a:function(e,t,n){var r=function(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=Object(ht.a)(e)););return e}(e,t);if(r){var i=S()(r,t);return i.get?i.get.call(n):i.value}})(e,t,n||e)}var mt=n(11),vt=n(13),gt=n(542),yt=n.n(gt);function bt(e){var t=function(){if("undefined"==typeof Reflect||!at.a)return!1;if(at.a.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(at()(Boolean,[],function(){})),!0}catch(e){return!1}}();return function(){var n,r=Object(ht.a)(e);if(t){var i=Object(ht.a)(this).constructor;n=at()(r,arguments,i)}else n=r.apply(this,arguments);return Object(vt.a)(this,n)}}var _t=function(e){Object(mt.a)(n,e);var t=bt(n);function n(){var e,r;Object(ct.a)(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,m()(e=[this]).call(e,o)),navigator.serviceWorker&&navigator.serviceWorker.addEventListener("message",r._handleMessage.bind(Object(lt.a)(r))),r}return Object(ut.a)(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=pt(Object(ht.a)(n.prototype),"emit",this)).call.apply(e,m()(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=pt(Object(ht.a)(n.prototype),"emit",this)).call.apply(t,m()(r=[this]).call(r,Object(st.a)(e.data.params)))}}]),n}(yt.a),wt=n(41),xt=n.n(wt),kt=n(152),Et=n.n(kt),St=n(123),Tt=n.n(St),Ct=n(162),Ot=n.n(Ct),jt=n(1112),At=n.n(jt),Pt=n(350);function Mt(e,t,n){return(Mt=function(){if("undefined"==typeof Reflect||!at.a)return!1;if(at.a.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(at()(Boolean,[],function(){})),!0}catch(e){return!1}}()?at.a:function(e,t,n){var r=[null];r.push.apply(r,t);var i=new(At()(Function).apply(e,r));return n&&Object(Pt.a)(i,n.prototype),i}).apply(null,arguments)}var Nt=n(1113),Lt=n.n(Nt),It=n(21),Dt=n(704),Rt=n(361),Bt=n.n(Rt),Ft=n(537),Ut=n.n(Ft),qt=n(352),zt=n.n(qt);function Ht(e){var t="function"==typeof Bt.a?new Bt.a:void 0;return(Ht=function(e){if(null===e||(n=e,-1===zt()(r=Function.toString.call(n)).call(r,"[native code]")))return e;var n,r;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,i)}function i(){return Mt(e,arguments,Object(ht.a)(this).constructor)}return i.prototype=Ut()(e.prototype,{constructor:{value:i,enumerable:!1,writable:!0,configurable:!0}}),Object(Pt.a)(i,e)})(e)}var Vt=n(156),Wt=n.n(Vt),Yt=n(128),Gt=n.n(Yt),Kt=n(80),$t=n.n(Kt);function Xt(e,t){return t&&(n=0,r=e*Math.pow(t,2),Math.round(n+Math.random()+(r-n)));var n,r}var Qt=Ie()(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?250:n,i=e.tries,o=void 0===i?10:i,a=e.when,s=void 0===a?se.a:a;return function(){for(var e=arguments.length,n=new Array(e),i=0;i<e;i++)n[i]=arguments[i];var a=0;function c(e){return++a<o?Gt.a.resolveAfter(Xt(r,a)).chain(u):Gt.a.Rejected(e)}function u(){return t.apply(void 0,n).bichain($t()(s,c,Gt.a.Rejected),Gt.a.of)}return u()}}),Zt=n(211);function Jt(e,t){if(e.length!==t.length)return!1;for(var n=0;n<e.length;n++)if(e[n]!==t[n])return!1;return!0}var en=function(e,t){var n;void 0===t&&(t=Jt);var r,i=[],o=!1;return function(){for(var a=[],s=0;s<arguments.length;s++)a[s]=arguments[s];return o&&n===this&&t(a,i)?r:(r=e.apply(this,a),o=!0,n=this,i=a,r)}}(n.n(Zt).a);function tn(e,t){var n=void 0!==Tt.a&&Ot()(e)||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=function(e,t){var n;if(!e)return;if("string"==typeof e)return nn(e,t);var r=xt()(n=Object.prototype.toString.call(e)).call(n,8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Et()(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return nn(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 nn(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 rn(e){var t=function(){if("undefined"==typeof Reflect||!at.a)return!1;if(at.a.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(at()(Boolean,[],function(){})),!0}catch(e){return!1}}();return function(){var n,r=Object(ht.a)(e);if(t){var i=Object(ht.a)(this).constructor;n=at()(r,arguments,i)}else n=r.apply(this,arguments);return Object(vt.a)(this,n)}}var on=5e3,an=Tt()("TimeoutError"),sn=function(e){Object(mt.a)(n,e);var t=rn(n);function n(){return Object(ct.a)(this,n),t.call(this,"Authorization timed out")}return n}(Ht(Error));sn.prototype[an]=!0;var cn=Qt({tries:2,when:function(e){return e[an]}}),un={},ln=0,dn=qe()(oe()("AUTH_SERVICE_URI"),function(e){window.addEventListener("message",function(t){var n=new Ze.a(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,c=r.state,u=un[c];u&&(o?u.reject(new Error([o,a].join(", "))):u.resolve({access_token:i,id_token:s}))}})});var fn=function(e,t){return[e.AUTH_SERVICE_URI,t].join("|")};var hn,pn,mn=Ie()(3,(hn=cn(function(e,t,n){return new Gt.a(function(r,i){var o=F()(function(){delete un[a],document.body.removeChild(c)});dn(e);var a=ln++,s=nt(),c=document.createElement("iframe");return c.style.display="none",document.body.appendChild(c),Gt()(function(t,r){var i={resolve:r,reject:t};un[a]=i,c.addEventListener("error",N()(t,oe()("error"))),c.src=it({client_id:e.OKTA_CLIENT_ID,issuer:e.OIDC_ISSUER_URI,nonce:s,redirect_uri:e.REDIRECT_URI,response_mode:"okta_post_message",scope:e.OIDC_SCOPE,sessionToken:n,state:a})}).race(Gt.a.rejectAfter(on,new sn)).chain(function(e){var n,r=e.id_token,i=e.access_token,o=r?en(r):null;return s!==o.nonce?Gt.a.Reject(new Error(m()(n="Expected nonce ".concat(s," but received ")).call(n,o.nonce))):(t.set(r,i),Gt.a.of(t.get()))}).bimap(o,o).fork(r,i,o)})}),pn={},function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return Gt()(function(e,n){var r={resolve:n,reject:e},i=fn.apply(void 0,t),o=Tt()();null==pn[i]&&(pn[i]={listeners:new Bt.a});var a=pn[i];if(a.listeners.set(o,r),1===a.listeners.size){var s=function(e){return function(t){var n,r,o=[],s=tn(Wt()(n=a.listeners).call(n));try{for(s.s();!(r=s.n()).done;){var c=r.value;try{c[e](t)}catch(e){o.push(e)}}}catch(e){s.e(e)}finally{s.f()}if(delete pn[i],o.length>0)throw o[0]}};a.cancel=hn.apply(void 0,t).fork(s("reject"),s("resolve"))}return function(){a.listeners.delete(o),0===a.listeners.size&&a.cancel&&a.cancel()}})})),vn=Ie()(3,function(){return mn.apply(void 0,arguments).toPromise()}),gn=new g.a(window.location.hash.substr(1)),yn=gn.get("id_token"),bn=gn.get("access_token");function _n(e,t){return wn.apply(this,arguments)}function wn(){return(wn=d(h.a.mark(function e(t,n){return h.a.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(!yn){e.next=5;break}n.set(yn,bn),yn=bn=void 0,e.next=8;break;case 5:if(n.get()[0]){e.next=8;break}return e.next=8,vn(t,n,void 0);case 8:return e.abrupt("return",n.get());case 9:case"end":return e.stop()}},e)}))).apply(this,arguments)}function xn(e,t){return kn.apply(this,arguments)}function kn(){return(kn=d(h.a.mark(function e(t,n){return h.a.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return n.clear(),e.next=3,_n(t,n);case 3:return e.abrupt("return",e.sent);case 4:case"end":return e.stop()}},e)}))).apply(this,arguments)}function En(e){var t=function(){if("undefined"==typeof Reflect||!at.a)return!1;if(at.a.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(at()(Boolean,[],function(){})),!0}catch(e){return!1}}();return function(){var n,r=Object(ht.a)(e);if(t){var i=Object(ht.a)(this).constructor;n=at()(r,arguments,i)}else n=r.apply(this,arguments);return Object(vt.a)(this,n)}}function Sn(e,t){var n=void 0!==Tt.a&&Ot()(e)||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=function(e,t){var n;if(!e)return;if("string"==typeof e)return Tn(e,t);var r=xt()(n=Object.prototype.toString.call(e)).call(n,8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Et()(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return Tn(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 Tn(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}yn&&(gn.delete("id_token"),window.history.replaceState(null,null,"#".concat(gn.toString()))),bn&&(gn.delete("access_token"),gn.delete("expires_in"),gn.delete("scope"),gn.delete("token_type"),window.history.replaceState(null,null,"#".concat(gn.toString())));var Cn=function(){function e(t,n){Object(ct.a)(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 yt.a,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 Object(ut.a)(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=Mt(Dt.EventSourcePolyfill,Object(st.a)(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=Sn(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):(xn(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):(Lt()(this._listeners[e],[t]),this._source.removeEventListener(e,t))}}]),e}();function On(e,t){return function(n){Object(mt.a)(i,n);var r=En(i);function i(){var n;Object(ct.a)(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,m()(n=[this,e,t]).call(n,a))}return i}(Cn)}["onerror","onmessage","onopen"].forEach(function(e){Object.defineProperty(Cn.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(Cn.prototype,e,{get:function(){return this._source[e]}})}),Ne()(Cn.prototype,Object(It.pick)(["CONNECTING","OPEN","CLOSED"],Dt.EventSourcePolyfill.prototype));var jn=n(15),An=n.n(jn),Pn=n(98),Mn=n.n(Pn),Nn=n(426),Ln=n.n(Nn),In=n(705),Dn=n.n(In),Rn=n(153),Bn=n.n(Rn),Fn=n(100),Un=n.n(Fn),qn=n(225),zn=n.n(qn),Hn=n(37),Vn=n.n(Hn),Wn=n(261),Yn=n.n(Wn),Gn=n(23),Kn=n.n(Gn),$n=n(532),Xn=n.n($n),Qn=n(676),Zn=n.n(Qn),Jn=n(205),er=n.n(Jn);var tr=Ie()(2,function(e,t){return e?Gt()(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}),nr=function(e){return Xn()(e,["response","status"])},rr=Ce()(function(e){return Bn()(P()(J()("OKTA_CLIENT_ID",e)),nr(Ln()(je()(Vn.a,[401,403]))))}),ir=nr(Yn()(500)),or=Un()(nr(Boolean)),ar=Qt({when:_e()(ir,or),tries:3},Dn.a),sr=Kn()([],["roles"]),cr=Kn()("",["subscription","status"]),ur=Ce()(function(e,t,n){var r,i,o=Object(s.a)(n,2)[1],a=An()(r=[t,o]).call(r,sr),c=Object(s.a)(a,2),u=c[0],l=c[1],d=An()(i=[t,o]).call(i,cr),f=Object(s.a)(d,2),h=f[0],p=f[1];Zn()(u,l).length>0&&e.emit("change:roles",o,t),h!==p&&e.emit("change:status",o,t)}),lr=Ce()(function(e,t,n){var r,i=t.RISE_ACCOUNTS_URI;return function(e){var t;return Mn()(t=window.location.hostname).call(t,e)}(t.RISE_DOMAIN)&&i&&Mn()(r=n.message).call(r,"redirect_uri")?Dn()({method:"GET",url:"".concat(i,"/api/subdomain_active")}).chain(function(t){return!1===t.data?e.emit("change:subdomain"):e.emit("unauthorized",n),Gt.a.Rejected(n)}):(e.emit("unauthorized",n),Gt.a.Rejected(n))}),dr=Ce()(function(e,t,n,r){return null!=n&&n.sub!==r[1].sub?(e.emit("unauthorized",t),Gt.a.Rejected(t)):Gt.a.of(r)}),fr=Ce()(function(e,t,n,r,i){var o,a=n.get(),c=Object(s.a)(a,2)[1];return An()(o=mn(t,n,void 0).bichain(lr(e,t),dr(e,i,c))).call(o,F()(ur(e,c))).chain(function(){return ar(r)})}),hr=er()(4,function(e,t,n,r){return $t()(rr(t),fr(e,t,n,r),Gt.a.Rejected)}),pr=Ce()(function(e,t,n,r){return ar(r).bichain(hr(e,t,n,r),Gt.a.of)}),mr=Ce()(function(e,t,n,r){return tr(r.timeout,pr(e,t,n,zn()("timeout",r)))}),vr=function(e){return Re()([1,"sub"],e.get())};function gr(){return(gr=d(h.a.mark(function e(t,n,r,i){var o,a,s,c;return h.a.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return o=vr(r),e.next=3,Xe(t,{emit:!1},n,r);case 3:return e.prev=3,e.next=6,Ve(n,r,i);case 6:return a=e.sent,e.next=9,vn(n,r,a);case 9:return s=e.sent,c=vr(r),o&&o!==c&&t.emit("session:closed"),e.abrupt("return",s);case 15:throw e.prev=15,e.t0=e.catch(3),o&&t.emit("session:closed"),e.t0;case 19:case"end":return e.stop()}},e,null,[[3,15]])}))).apply(this,arguments)}var yr=Ie()(4,function(e,t,n,r){return gr.apply(this,arguments)}),br=n(354),_r=n.n(br);function wr(e){return _r.a.parse(document.cookie)[e]}var xr=Ie()(2,function(e,t){var n=e.SESSION_COOKIE_DOMAIN||window.location.host;document.cookie=_r.a.serialize(t,"",{domain:n,expires:new Date(0),path:"/",secure:!0})});var kr=Ie()(3,function(e,t,n){var r=Object(s.a)(n,1)[0];if(t){var i=e.SESSION_COOKIE_DOMAIN||window.location.host;document.cookie=_r.a.serialize(t,r,{domain:i,path:"/",secure:!0})}});function Er(e,t){var n=b()(e);if(w.a){var r=w()(e);t&&(r=k()(r).call(r,function(t){return S()(e,t).enumerable})),n.push.apply(n,r)}return n}function Sr(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Er(Object(n),!0).forEach(function(t){Object(a.a)(e,t,n[t])}):C.a?Object.defineProperties(e,C()(n)):Er(Object(n)).forEach(function(t){Object.defineProperty(e,t,S()(n,t))})}return e}var Tr=["addListener","listenerCount","listeners","off","on","once","removeAllListeners","removeListener"],Cr=Ce()(function(e,t,n){return Pe()(n,[e,t])}),Or=function(e){return Tr.reduce(function(t,n){return t[n]=e[n].bind(e),t},{})};var jr,Ar,Pr,Mr=n(28),Nr=n.n(Mr),Lr=n(93),Ir=o.e?window.env:Nr()(window.env,{ACCESS_COOKIE_NAME:Object(Lr.j)(),REDIRECT_URI:window.location.origin+"/auth-callback"}),Dr=(jr=Ir,Ar=new _t,Pr=function(e){return{clear:function(){xr(e,e.SESSION_COOKIE_NAME),xr(e,e.ACCESS_COOKIE_NAME)},get:function(){var t=wr(e.SESSION_COOKIE_NAME),n=wr(e.ACCESS_COOKIE_NAME);return[t,t?en(t):null,n,n?en(n):null]},set:function(t,n){var r=t?en(t):null,i=n?en(n):null;kr(e,e.SESSION_COOKIE_NAME,[t,r]),kr(e,e.ACCESS_COOKIE_NAME,[n,i])}}}(jr),Sr(Sr({getAuthorizationUrl:it,EventSource:On(jr,Pr)},Or(Ar)),je()(Cr(jr,Pr),{authenticate:Ve,closeSession:Xe(Ar,{emit:!0}),request:mr(Ar),resetSession:xn,resumeSession:_n,startSession:yr(Ar)}))),Rr=Dr.closeSession,Br=Dr.on,Fr=Dr.request,Ur=Dr.resetSession,qr=Dr.resumeSession,zr=(Dr.startSession,Dr.getAuthorizationUrl),Hr=n(139),Vr=n.n(Hr),Wr=n(69),Yr=n.n(Wr),Gr=n(46),Kr=n.n(Gr),$r=function(e,t){var n,r;return m()(n=m()(r="".concat(Object(o.c)("ID_MAPPER_URI"),"/v1/avatars/")).call(r,encodeURIComponent(e),"?size=")).call(n,t)},Xr=Vr()({features:Kr()({},"features"),subscription:Yr()(["features"])}),Qr=Ln()([Se,ke,Un()(Ee)]);function Zr(e,t){var n=b()(e);if(w.a){var r=w()(e);t&&(r=k()(r).call(r,function(t){return S()(e,t).enumerable})),n.push.apply(n,r)}return n}function Jr(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Zr(Object(n),!0).forEach(function(t){Object(a.a)(e,t,n[t])}):C.a?Object.defineProperties(e,C()(n)):Zr(Object(n)).forEach(function(t){Object.defineProperty(e,t,S()(n,t))})}return e}var ei="/auth-callback",ti="/auth-error",ni=Lr.d,ri=function(){return window.location.pathname===ei},ii=!1,oi=!1,ai=function(){var e=new g.a(window.location.search);return function(e){var t;if(!ii){var n=W()();ii=!0,window.localStorage.setItem(n,e);var r=zr({client_id:Object(o.c)("OKTA_CLIENT_ID"),issuer:Object(o.c)("OIDC_ISSUER_URI"),redirect_uri:m()(t="".concat(window.location.origin)).call(t,ei),response_mode:"fragment",scope:Object(o.c)("OIDC_SCOPE"),state:n,prompt:null});window.location.href=r}}(e.has("redirect_url")?e.get("redirect_url"):window.location.href)},si=function(){if(!oi){var e=Object(Lr.b)(),t=Object(Lr.a)();I()(e)?(ue({event:"Unexpected Logout",payload:{category:"auth",userId:t,detail:"id from cookie was null"}}),j.a.notify("Unexpected Logout",function(n){n.severity="info",n.addMetadata("User Meta",{idFromToken:t,idFromCookie:e,detail:"id from cookie was null"})}),oi=!0,li({onLogout:function(){return window.location.reload(!0)},reason:"Unexpected logout: user id/session cookie missing"})):e!==t&&(ue({event:"Unexpected Logout",payload:{category:"auth",userId:e,idFromToken:t,detail:"Session/Token ID Mismatch"}}),j.a.notify("Unexpected Logout",function(n){n.severity="info",n.addMetadata("User Meta",{idFromToken:t,idFromCookie:e,detail:"Session/Token ID Mismatch"})}),oi=!0,Ur().then(function(){return window.location.reload(!0)}))}},ci=function(){var e=d(h.a.mark(function e(t){var n,r,i,a,c,u,l,d,f,p,m,v,g,y,b;return h.a.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,qr();case 3:if(n=e.sent,r=Object(s.a)(n,4),i=r[1],a=r[2],c=r[3],u=c.aid,ue({event:"Setting Session Cookie",payload:{category:"auth",userId:u,detail:"Resuming existing session"}}),Object(Lr.k)(u),!ri()){e.next=14;break}return t(),e.abrupt("return");case 14:return l=i.first_name,d=i.last_name,f=i.launchdarkly,p=i.staff,m={large:$r(h=u,"large"),medium:$r(h,"medium"),micro:$r(h,"micro"),mini:$r(h,"mini"),small:$r(h,"small")},v={author:u,profile:{avatars:m,first_name:l,user_id:u,last_name:d,staff:p}},g=function(){return li({onLogout:P()(null)})},y=function(e){return t(Jr(Jr(Jr({},v),Xr(e)),{},{launchdarkly:f,token:a}))},e.next=22,ve(g).then(F()(y)).catch(function(){return t(Jr(Jr({},v),{},{token:a}))});case 22:if(b=e.sent,!Qr(b)){e.next=28;break}return ue({event:"Unexpected Logout",payload:{category:"auth",userId:Object(Lr.b)(),subscription:b,detail:"Invalid Subscription"}}),j.a.notify("Unexpected Logout",function(e){e.severity="info",e.addMetadata("User Meta",{userIdFromCookie:Object(Lr.b)(),subscription:b,detail:"Invalid Subscription"})}),li({onLogout:function(){return window.location="".concat(Object(o.c)("THREESIXTY_FRONTEND_URI"),"/rise")}}),e.abrupt("return");case 28:$(si),e.next=36;break;case 31:e.prev=31,e.t0=e.catch(0),ue({event:"Unexpected Logout",payload:{category:"auth",userId:Object(Lr.b)(),error:e.t0,detail:"Error Resuming Session"}}),j.a.notify(e.t0,function(e){e.severity="info",e.addMetadata("User Meta",{userId:Object(Lr.b)(),detail:"Error Resuming Session"})}),li({onLogout:function(){return window.location.reload(!0)}});case 36:case"end":return e.stop()}var h},e,null,[[0,31]])}));return function(t){return e.apply(this,arguments)}}(),ui=function(e){var t=e.onFetchTokens;if(ri())ci(t);else{var n=Object(Lr.b)(),r=Object(Lr.a)();I()(n)||n!==r?ai():ci(t)}},li=function(e){var t=e.onLogout,n=e.reason;n&&ue({event:"Logout",payload:{category:"auth",userId:Object(Lr.b)(),detail:n}}),Object(Lr.i)(),Rr().then(t)},di=N()(H.a.parse,R()(1,1/0)),fi=function(e){var t=e.location;return function(){var e,n,r=t.hash,i=t.pathname,o=di(r),a=o.state,s=o.error,c=o.error_description;s?(j.a.notify(s,function(e){e.severity="info",e.addMetadata("Logout Error",{reason:"Error encountered when parsing auth callback.",error_description:c})}),li({onLogout:(n=c,function(){var e;return window.location.href=m()(e="".concat("/auth-error","?description=")).call(e,n)}),reason:m()(e="Error encountered when parsing auth callback. Error: ".concat(s,"; description: ")).call(e,c)})):ui({onFetchTokens:function(){return e=i,t=a,n=window.localStorage.getItem(t)||"/",r=n===e?"/":n,window.localStorage.removeItem(t),void(window.location.href=r);var e,t,n,r}})}},hi=Object(q.g)(function(e){return Object(U.useEffect)(fi(e),[]),null}),pi=n(203),mi=n.n(pi),vi=n(97),gi=n.n(vi),yi=n(25),bi=n.n(yi),_i=n(533),wi=n.n(_i),xi=function(){var e,t=je()(encodeURIComponent,wi()(["hash","pathname"],window.location)),n=Object(s.a)(t,2),r=n[0],i=n[1];window.location.href=m()(e="/login#c=".concat(i)).call(e,r)},ki=function(){window.location.href="/"},Ei=null,Si=null,Ti=Lr.d,Ci=xi,Oi=Rr,ji=bi()(Kr()([],"roles"),Ke()(gi()("author"),ki)),Ai=bi()(Kn()("",["subscription","status"]),Ke()(gi()(mi.a,["active","in_trial","non_renewing"]),ki)),Pi=function(){return window.location.reload()},Mi=function(){var e=d(h.a.mark(function e(t){var n,r,i,o,a,c,u,l,d,f,p;return h.a.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return n=t.onFetchTokens,e.prev=1,e.next=4,qr();case 4:return r=e.sent,i=Object(s.a)(r,2),o=i[0],a=i[1],c=a.launchdarkly,u=a.riseId,l=a.sub,d=a.staff,f=a.subscription,p={staff:d,user_id:u||l},Ai(a),n({author:p.user_id,launchdarkly:c,profile:p,subscription:f,token:o}),Br("change:roles",ji),Br("change:status",Ai),Br("change:subdomain",Pi),Br("unauthorized",xi),Br("session:closed",xi),e.abrupt("return",o);case 20:e.prev=20,e.t0=e.catch(1),xi();case 23:case"end":return e.stop()}},e,null,[[1,20]])}));return function(t){return e.apply(this,arguments)}}(),Ni=o.e?i:r,Li=Ni.getToken,Ii=Ni.request},function(e,t,n){"use strict";n.d(t,"f",function(){return V}),n.d(t,"a",function(){return W}),n.d(t,"c",function(){return Y}),n.d(t,"e",function(){return G}),n.d(t,"b",function(){return K}),n.d(t,"d",function(){return Q});var r=n(3),i=n.n(r),o=n(19),a=n(44),s=n(9),c=n(10),u=n(6),l=n(11),d=n(13),f=n(5),h=n(4),p=n.n(h),m=n(15),v=n.n(m),g=(n(1888),n(0)),y=n.n(g),b=n(2),_=n.n(b),w=n(75),x=n.n(w),k=n(323),E=n.n(k),S=n(1),T=n.n(S),C=n(33),O=n.n(C),j=n(59),A=n(62),P=n(88),M=n(20),N=n(26),L=n(196),I=n(103),D=n(55);function R(e){var t=function(){if("undefined"==typeof Reflect||!i.a)return!1;if(i.a.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=Object(f.a)(e);if(t){var o=Object(f.a)(this).constructor;n=i()(r,arguments,o)}else n=r.apply(this,arguments);return Object(d.a)(this,n)}}var B=n(61).b.blocks,F=function(e){var t=e.quote,n=e.name;return y.a.createElement("div",{className:"visually-hidden"},y.a.createElement(P.a,{value:t}),y.a.createElement(P.a,{value:n}))},U=function(e){var t=e.avatar,n=e.alt,r=('""'===n?"":n)||"";return y.a.createElement("div",{"aria-hidden":!r,"aria-label":r,className:"block-quote__avatar",role:"img",style:{backgroundImage:"url('".concat(t||"","')")}})},q=function(e){var t=e.type,n=e.animateBlockEntrance,r=e.avatar,i=e.children,o=e.backgroundColor,a=e.alt,s=e.isLearner,c=_()("block-quote__col",{"block-quote__col--no-avatar":!r}),u=_()("block-quote__figure",{"brand--beforeColor":"b"===t}),l=r?y.a.createElement("div",{className:"block-quote__image"},y.a.createElement("div",{className:"block-quote__avatar-wrap"},"c"===t?y.a.createElement(D.a,{animateBlockEntrance:n,animateIn:"fadeInLeftSmall",isLearner:s},y.a.createElement(U,{avatar:r,alt:a,title:a})):y.a.createElement(U,{avatar:r,alt:a,title:a}))):null;return y.a.createElement("div",{className:"block-quote__container"},y.a.createElement("div",{className:"block-quote__row"},y.a.createElement("div",{className:c},y.a.createElement("div",{className:u,style:{backgroundColor:Object(A.a)("",o)}},l,i))))},z=function(e){var t=e.avatar,n=e.children,r=e.alt;return y.a.createElement("div",{className:"block-quote__figure"},y.a.createElement("div",{className:"block-quote__container"},y.a.createElement("div",{className:"block-quote__row"},y.a.createElement("div",{className:"block-quote__col"},t?y.a.createElement(U,{avatar:t,alt:r}):null),y.a.createElement("div",{className:"block-quote__col"},n))))},H=function(e){var t=e.background,n=e.avatar,r=e.children,i=e.alt;return y.a.createElement("div",{className:"block-quote__background",style:{backgroundImage:t?"url(".concat(t,")"):""}},y.a.createElement("div",{className:"block-quote__container"},y.a.createElement("div",{className:"block-quote__row"},y.a.createElement("div",{className:"block-quote__col"},y.a.createElement("div",{className:"block-quote__figure"},n?y.a.createElement(U,{avatar:n,alt:i}):null,r)))))},V=function(e){Object(l.a)(n,e);var t=R(n);function n(){var e,r;Object(s.a)(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,p()(e=[this]).call(e,o))).renderTextDelegate=r.renderText.bind(Object(u.a)(r)),r.renderCaptionDelegate=r.renderCaption.bind(Object(u.a)(r)),r}return Object(c.a)(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=_()("block-quote__text brand--linkColor",{"brand--head":"b"===n,"brand--body":"b"!==n,"block-quote__text--blank":""===r});return y.a.createElement(P.a,{className:i,value:r})}},{key:"renderCaption",value:function(e,t){var n=e.type,r=t.name,i=_()("block-quote__caption brand--linkColor",{"brand--head":"b"!==n,"brand--body":"b"===n,"block-quote__caption--blank":""===r});return y.a.createElement(P.a,{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,s=t.settings,c=t.type,u=t.renderText,l=void 0===u?this.renderTextDelegate:u,d=t.renderCaption,f=void 0===d?this.renderCaptionDelegate:d,h=s.paddingTop,p=s.paddingBottom,m=s.backgroundColor,v=s.entranceAnimation,g=Object(a.a)(i,1)[0],b=g.paragraph,w=g.name,k=g.avatar,E=g.background,S=x()(k,"media.image"),T=Object(j.c)(S),C=x()(k,"media.image.alt"),O=Object(j.a)(x()(E,"media.image")),P=b||"",M=_()("block-quote block-quote--".concat(c),{"block-quote--no-animation":!v}),N={backgroundColor:Object(A.a)("",m),paddingTop:"".concat(10*h,"px"),paddingBottom:"".concat(10*p,"px")},L=y.a.createElement("div",{"aria-hidden":"true",className:"block-quote__wrap"},y.a.createElement(D.a,{animateBlockEntrance:n,animateIn:this.getQuoteEntranceAnimationType(),isLearner:r,siblingDelay:.15},l(this.props,g),f(this.props,g)));switch(c){case"d":e=y.a.createElement(z,{type:c,avatar:T,alt:C},L);break;case"background":e=y.a.createElement(H,{type:c,avatar:T,alt:C,background:O},L);break;default:e=y.a.createElement(q,{type:c,animateBlockEntrance:n,avatar:T,alt:C,backgroundColor:m,isLearner:r},L)}var R=o.quoteGroup;return y.a.createElement("div",{"aria-label":R,className:M,"data-ba":B.blockQuote,role:I.b,style:N},e,y.a.createElement(F,{name:w,quote:P}))}}],[{key:"propTypes",get:function(){return{lessonId:T.a.any,blockId:T.a.any,items:T.a.array.isRequired,settings:T.a.object.isRequired,type:T.a.string,editable:T.a.bool}}},{key:"defaultProps",get:function(){return{editable:!1,items:[],type:"a"}}}]),n}(y.a.Component),W=function(e){return y.a.createElement(V,Object(o.a)({type:"b"},e))},Y=function(e){return y.a.createElement(V,Object(o.a)({type:"c"},e))},G=function(e){return y.a.createElement(V,Object(o.a)({type:"d"},e))},K=function(e){return y.a.createElement(V,Object(o.a)({type:"background"},e))},$=function(e){var t=e.onClick;return y.a.createElement("button",{"aria-label":"Next quote",className:"block-quote__arrow block-quote__arrow--next",onClick:t,type:"button"},y.a.createElement("div",{className:"block-quote__arrow-icon"}))},X=function(e){var t=e.onClick;return y.a.createElement("button",{"aria-label":"Previous quote",className:"block-quote__arrow block-quote__arrow--prev",onClick:t,type:"button"},y.a.createElement("div",{className:"block-quote__arrow-icon"}))},Q=function(e){Object(l.a)(n,e);var t=R(n);function n(e){var r;return Object(s.a)(this,n),(r=t.call(this,e)).renderTextDelegate=r.renderText.bind(Object(u.a)(r)),r.renderCaptionDelegate=r.renderCaption.bind(Object(u.a)(r)),r.state={currentIndex:0,isDotKeyboardFocusDisabled:!1},r}return Object(c.a)(n,[{key:"disableFocusForClonedSlides",value:function(){var e=this.state.currentIndex;Object(L.b)(this.carousel.querySelectorAll(".slick-active.block-quote__slide")).forEach(function(t){parseInt(t.getAttribute("data-index"))!==e&&Object(M.b)(t)})}},{key:"disableCarouselDotsIfNecessary",value:function(){var e=this.sliderContainer.querySelector(".block-quote__dots-list"),t=this.state.isDotKeyboardFocusDisabled;e&&!t&&(Object(M.b)(e),this.setState({isDotKeyboardFocusDisabled:!0}))}},{key:"componentDidUpdate",value:function(){this.disableCarouselDotsIfNecessary(),this.disableFocusForClonedSlides()}},{key:"onKeyDown",value:function(e){var t=this.slider;O()([[N.i,t.slickNext.bind(t)],[N.g,t.slickPrev.bind(t)]])(e)}},{key:"renderText",value:function(e,t,n){var r=t.paragraph,i=n.allowTabNavigation,o=r||"",a=_()("block-quote__text brand--body brand--linkColor",{"block-quote__text--blank":""===r});return y.a.createElement(P.a,{className:a,value:o,allowTabNavigation:i})}},{key:"renderCaption",value:function(e,t,n){var r=t.name,i=n.allowTabNavigation,o=_()("block-quote__caption brand--head brand--linkColor",{"block-quote__caption--blank":""===r});return y.a.createElement(P.a,{className:o,value:r,allowTabNavigation:i})}},{key:"render",value:function(){var e=this,t=this.props,n=t.animateBlockEntrance,r=t.isLearner,i=t.items,a=t.type,s=t.settings,c=t.editable,u=t.renderText,l=void 0===u?this.renderTextDelegate:u,d=t.renderCaption,f=void 0===d?this.renderCaptionDelegate:d,h=s.paddingTop,p=s.paddingBottom,m=s.backgroundColor,g=s.entranceAnimation,b=s.showBorder,w=void 0===b||b,k=_()("block-quote block-quote--".concat(a),{"block-quote--no-animation":!g,"block-quote--editable":c,"block-quote--show-border":w}),S={backgroundColor:Object(A.a)("",m),paddingTop:"".concat(10*h,"px"),paddingBottom:"".concat(10*p,"px")},T=this.state.currentIndex,C=v()(i).call(i,function(t,i){var o=i===T,a=x()(t.avatar,"media.image.alt"),s=x()(t.avatar,"media.image"),c=Object(j.c)(s),u=t.paragraph||"",d={allowTabNavigation:o};return y.a.createElement("div",{className:"block-quote__slide",key:t.id},y.a.createElement("div",{className:"block-quote__figure"},c?y.a.createElement(U,{avatar:c,alt:a}):null,y.a.createElement(D.a,{animateBlockEntrance:n,animateIn:"fadeInUp",siblingDelay:.25,isLearner:r},y.a.createElement(F,{name:name,quote:u}),y.a.createElement("div",{"aria-hidden":"true"},l(e.props,t,d),f(e.props,t,d)))))}),O={slidesToShow:1,slidesToScroll:1,arrows:C.length>1,nextArrow:y.a.createElement($,null),prevArrow:y.a.createElement(X,null),dots:C.length>1,dotsClass:"block-quote__dots-list brand--background-all brand--shadow-all",accessibility:!1,draggable:!c,beforeChange:function(t,n){var r=e.props,i=r.items;(0,r.onStep)(i[n]),e.setState({currentIndex:n})}};return y.a.createElement("div",{"aria-label":"Quote Carousel",className:"block-quote__slider-container",onKeyDown:this.onKeyDown.bind(this),ref:function(t){e.carousel=t},role:I.b,tabIndex:M.a},y.a.createElement("div",{className:k,"data-ba":B.blockQuote,style:S},y.a.createElement("div",{className:"block-quote__wrap"},y.a.createElement("div",{className:"block-quote__container"},y.a.createElement("div",{className:"block-quote__row"},y.a.createElement("div",{className:"block-quote__col"},y.a.createElement("div",{className:"block-quote__box",ref:function(t){e.sliderContainer=t}},y.a.createElement(E.a,Object(o.a)({className:"block-quote__wrapper",ref:function(t){e.slider=t}},O),C))))))))}}],[{key:"propTypes",get:function(){return{lessonId:T.a.any,blockId:T.a.any,items:T.a.array.isRequired,settings:T.a.object.isRequired,type:T.a.string,editable:T.a.bool,onStep:T.a.func}}},{key:"defaultProps",get:function(){return{type:"carousel",items:[],onStep:Function.prototype}}}]),n}(y.a.Component)},function(e,t,n){"use strict";(function(e){n.d(t,"a",function(){return h}),n.d(t,"b",function(){return p});var r=n(19),i=(n(101),n(79)),o=n.n(i),a=n(0),s=n(1248),c=(n(2376),n(2375),s),u=o()(Object(a.createContext)(c),{displayName:"ThemeContext"});function l(t){return e.createElement(e.Fragment,null,t.children)}function d(){return null}function f(t,n,i){function s(o,s){var c,l,d=Object(a.useContext)(u),f=null!==(c=null==d?void 0:null===(l=d[t])||void 0===l?void 0:l[n])&&void 0!==c?c:i;return e.createElement(f,Object(r.a)({ref:s},o,{Default:i}))}return o()(Object(a.forwardRef)(s),{displayName:"ThemeComponent(".concat(n,")")})}function h(e){return f("components",e,arguments.length>1&&void 0!==arguments[1]?arguments[1]:l)}function p(e){return f("icons",e,d)}}).call(this,n(0))},function(e,t,n){var r,i=n(256);
/*!
  Copyright (c) 2017 Jed Watson.
  Licensed under the MIT License (MIT), see
  http://jedwatson.github.io/classnames
*/
!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 c in n)o.call(n,c)&&n[c]&&e.push(c)}}return e.join(" ")}e.exports?(a.default=a,e.exports=a):"object"===i(n(645))&&n(645)?void 0===(r=function(){return a}.apply(t,[]))||(e.exports=r):window.classNames=a}()},function(e,t,n){"use strict";n.d(t,"a",function(){return Z}),n.d(t,"c",function(){return ie}),n.d(t,"b",function(){return se}),n.d(t,"e",function(){return ce}),n.d(t,"d",function(){return ue});var r=n(101),i=n(8),o=n(27),a=n.n(o),s=n(7),c=n.n(s),u=n(259),l=n.n(u),d=n(37),f=n.n(d),h=n(89),p=n.n(h),m=n(49),v=n.n(m),g=n(48),y=n.n(g),b=n(66),_=n.n(b),w=n(82),x=n.n(w),k=n(50),E=n.n(k),S=n(91),T=n.n(S),C=n(87),O=n.n(C),j=n(28),A=n.n(j),P=n(69),M=n.n(P),N=n(524),L=n.n(N),I=n(57),D=n.n(I),R=n(25),B=n.n(R),F=n(14),U=n.n(F),q=n(17),z=n.n(q),H=n(70),V=n.n(H),W=n(39),Y=n.n(W),G=n(72),K=n(67),$=n(365),X=["lessonId"],Q=["lessonId"],Z=c()(y()(A.a)({isComplete:!0,percentComplete:100}),D()(O()("items"),Object(G.e)(c()(D()(O()("items"),Object(G.e)(a()("isComplete",!0))),a()("isComplete",!0))))),J=function(e){var t=e.id,n=e.items;return B()(D()(T()(["items",t,"items"]),ae(n)),D()(T()(["items",t]),oe),K.f,Y()(z()("percentComplete",100),a()("isComplete",!0)))},ee=function(e,t){var n=t.id;return A()(e,Object(i.a)({},n,a()("isComplete",!0)))},te=M()(["correctlyAnswered","percentComplete","percentViewed","isComplete"]),ne=D()(O()("items"),Object(G.e)(M()(["isComplete","isCorrect","isViewed"]))),re=Object(G.e)(c()(ne,te)),ie=B()(M()(["isComplete","percentComplete"]),D()(O()("items"),re)),oe=Y()(function(e){return L()(c()(_.a,U()("items"))(e),function(e){return B()(U()("items"),V.a,v()(z()("isComplete",!0)),E.a,y()(l.a)(c()(E.a,x.a,U()("items"))(e)),f()(1))(e)}(e))},a()("isComplete",!0)),ae=function(e){return function(t){return p()(e.reduce(ee,{}),t)}},se=function(e){var t=e.lessonId,n=Object(r.a)(e,X);return function(e){return e(Object(K.g)({id:t,updateFn:(r=n,i=r.blockId,D()(T()(["items",i]),$.a))}));var r,i}},ce=function(e){var t=e.id,n=e.lessonId,r=e.items;return function(e){return e(Object(K.g)({id:n,updateFn:J({id:t,items:r})}))}},ue=function(e){var t=e.lessonId,n=Object(r.a)(e,Q);return function(e){return e(Object(K.g)({id:t,updateFn:(r=n,i=r.itemId,o=r.blockId,a=r.isCorrect,B()(D()(T()(["items",o]),Object($.b)({itemId:i,isCorrect:a})),K.f))}));var r,i,o,a}}},function(e,t,n){"use strict";n.d(t,"a",function(){return c}),n.d(t,"b",function(){return u});var r=n(19),i=n(101),o=(n(1959),n(0)),a=n.n(o),s=["children","side"],c=function(e){var t=e.children,n=e.className;return a.a.createElement("div",{className:"authoring-tooltip ".concat(n||"")},t)},u=function(e){var t=e.children,n=e.side,o=Object(i.a)(e,s);return a.a.createElement("span",Object(r.a)({},o,{className:"authoring-tooltip__content authoring-tooltip__content--".concat(n)}),t)}},function(e,t){e.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}},function(e,t,n){var r,i=n(94),o=n(757),a=n(597),s=n(393),c=n(759),u=n(589),l=n(472),d=l("IE_PROTO"),f=function(){},h=function(e){return"<script>"+e+"<\/script>"},p=function(){try{r=document.domain&&new ActiveXObject("htmlfile")}catch(e){}var e,t;p=r?function(e){e.write(h("")),e.close();var t=e.parentWindow.Object;return e=null,t}(r):((t=u("iframe")).style.display="none",c.appendChild(t),t.src=String("javascript:"),(e=t.contentWindow.document).open(),e.write(h("document.F=Object")),e.close(),e.F);for(var n=a.length;n--;)delete p.prototype[a[n]];return p()};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=p(),void 0===t?n:o(n,t)}},function(e,t,n){var r=n(198);e.exports=function(e,t,n,i){i&&i.enumerable?e[t]=n:r(e,t,n)}},function(e,t,n){var r=n(776);e.exports=function(e,t){return r(t,e,0)>=0}},function(e,t,n){"use strict";(function(e){
/*!
 * The buffer module from node.js, for the browser.
 *
 * @author   Feross Aboukhadijeh <http://feross.org>
 * @license  MIT
 */
var r=n(1394),i=n(1395),o=n(803);function a(){return c.TYPED_ARRAY_SUPPORT?2147483647:1073741823}function s(e,t){if(a()<t)throw new RangeError("Invalid typed array length");return c.TYPED_ARRAY_SUPPORT?(e=new Uint8Array(t)).__proto__=c.prototype:(null===e&&(e=new c(t)),e.length=t),e}function c(e,t,n){if(!(c.TYPED_ARRAY_SUPPORT||this instanceof c))return new c(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 u(this,e,t,n)}function u(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);c.TYPED_ARRAY_SUPPORT?(e=t).__proto__=c.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(!c.isEncoding(n))throw new TypeError('"encoding" must be a valid string encoding');var r=0|p(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(c.isBuffer(t)){var n=0|h(t.length);return 0===(e=s(e,n)).length?e:(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|h(t)),!c.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|h(t.length);e=s(e,n);for(var r=0;r<n;r+=1)e[r]=255&t[r];return e}function h(e){if(e>=a())throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+a().toString(16)+" bytes");return 0|e}function p(e,t){if(c.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=e[t];e[t]=e[n],e[n]=r}function v(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=c.from(t,r)),c.isBuffer(t))return 0===t.length?-1:g(e,t,n,r,i);if("number"==typeof t)return t&=255,c.TYPED_ARRAY_SUPPORT&&"function"==typeof Uint8Array.prototype.indexOf?i?Uint8Array.prototype.indexOf.call(e,t,n):Uint8Array.prototype.lastIndexOf.call(e,t,n):g(e,[t],n,r,i);throw new TypeError("val must be string, number or Buffer")}function g(e,t,n,r,i){var o,a=1,s=e.length,c=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,c/=2,n/=2}function u(e,t){return 1===a?e[t]:e.readUInt16BE(t*a)}if(i){var l=-1;for(o=n;o<s;o++)if(u(e,o)===u(t,-1===l?0:o-l)){if(-1===l&&(l=o),o-l+1===c)return l*a}else-1!==l&&(o-=o-l),l=-1}else for(n+c>s&&(n=s-c),o=n;o>=0;o--){for(var d=!0,f=0;f<c;f++)if(u(e,o+f)!==u(t,f)){d=!1;break}if(d)return o}return-1}function y(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 b(e,t,n,r){return z(U(t,e.length-n),e,n,r)}function _(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 w(e,t,n,r){return _(e,t,n,r)}function x(e,t,n,r){return z(q(t),e,n,r)}function k(e,t,n,r){return z(function(e,t){for(var n,r,i,o=[],a=0;a<e.length&&!((t-=2)<0);++a)n=e.charCodeAt(a),r=n>>8,i=n%256,o.push(i),o.push(r);return o}(t,e.length-n),e,n,r)}function E(e,t,n){return 0===t&&n===e.length?r.fromByteArray(e):r.fromByteArray(e.slice(t,n))}function S(e,t,n){n=Math.min(e.length,n);for(var r=[],i=t;i<n;){var o,a,s,c,u=e[i],l=null,d=u>239?4:u>223?3:u>191?2:1;if(i+d<=n)switch(d){case 1:u<128&&(l=u);break;case 2:128==(192&(o=e[i+1]))&&(c=(31&u)<<6|63&o)>127&&(l=c);break;case 3:o=e[i+1],a=e[i+2],128==(192&o)&&128==(192&a)&&(c=(15&u)<<12|(63&o)<<6|63&a)>2047&&(c<55296||c>57343)&&(l=c);break;case 4:o=e[i+1],a=e[i+2],s=e[i+3],128==(192&o)&&128==(192&a)&&128==(192&s)&&(c=(15&u)<<18|(63&o)<<12|(63&a)<<6|63&s)>65535&&c<1114112&&(l=c)}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<=T)return String.fromCharCode.apply(String,e);var n="",r=0;for(;r<t;)n+=String.fromCharCode.apply(String,e.slice(r,r+=T));return n}(r)}t.Buffer=c,t.SlowBuffer=function(e){+e!=e&&(e=0);return c.alloc(+e)},t.INSPECT_MAX_BYTES=50,c.TYPED_ARRAY_SUPPORT=void 0!==e.TYPED_ARRAY_SUPPORT?e.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(),c.poolSize=8192,c._augment=function(e){return e.__proto__=c.prototype,e},c.from=function(e,t,n){return u(null,e,t,n)},c.TYPED_ARRAY_SUPPORT&&(c.prototype.__proto__=Uint8Array.prototype,c.__proto__=Uint8Array,"undefined"!=typeof Symbol&&Symbol.species&&c[Symbol.species]===c&&Object.defineProperty(c,Symbol.species,{value:null,configurable:!0})),c.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)},c.allocUnsafe=function(e){return d(null,e)},c.allocUnsafeSlow=function(e){return d(null,e)},c.isBuffer=function(e){return!(null==e||!e._isBuffer)},c.compare=function(e,t){if(!c.isBuffer(e)||!c.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},c.isEncoding=function(e){switch(String(e).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}},c.concat=function(e,t){if(!o(e))throw new TypeError('"list" argument must be an Array of Buffers');if(0===e.length)return c.alloc(0);var n;if(void 0===t)for(t=0,n=0;n<e.length;++n)t+=e[n].length;var r=c.allocUnsafe(t),i=0;for(n=0;n<e.length;++n){var a=e[n];if(!c.isBuffer(a))throw new TypeError('"list" argument must be an Array of Buffers');a.copy(r,i),i+=a.length}return r},c.byteLength=p,c.prototype._isBuffer=!0,c.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)m(this,t,t+1);return this},c.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)m(this,t,t+3),m(this,t+1,t+2);return this},c.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)m(this,t,t+7),m(this,t+1,t+6),m(this,t+2,t+5),m(this,t+3,t+4);return this},c.prototype.toString=function(){var e=0|this.length;return 0===e?"":0===arguments.length?S(this,0,e):function(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 j(this,t,n);case"utf8":case"utf-8":return S(this,t,n);case"ascii":return C(this,t,n);case"latin1":case"binary":return O(this,t,n);case"base64":return E(this,t,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return A(this,t,n);default:if(r)throw new TypeError("Unknown encoding: "+e);e=(e+"").toLowerCase(),r=!0}}.apply(this,arguments)},c.prototype.equals=function(e){if(!c.isBuffer(e))throw new TypeError("Argument must be a Buffer");return this===e||0===c.compare(this,e)},c.prototype.inspect=function(){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+">"},c.prototype.compare=function(e,t,n,r,i){if(!c.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),u=this.slice(r,i),l=e.slice(t,n),d=0;d<s;++d)if(u[d]!==l[d]){o=u[d],a=l[d];break}return o<a?-1:a<o?1:0},c.prototype.includes=function(e,t,n){return-1!==this.indexOf(e,t,n)},c.prototype.indexOf=function(e,t,n){return v(this,e,t,n,!0)},c.prototype.lastIndexOf=function(e,t,n){return v(this,e,t,n,!1)},c.prototype.write=function(e,t,n,r){if(void 0===t)r="utf8",n=this.length,t=0;else if(void 0===n&&"string"==typeof t)r=t,n=this.length,t=0;else{if(!isFinite(t))throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");t|=0,isFinite(n)?(n|=0,void 0===r&&(r="utf8")):(r=n,n=void 0)}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 y(this,e,t,n);case"utf8":case"utf-8":return b(this,e,t,n);case"ascii":return _(this,e,t,n);case"latin1":case"binary":return w(this,e,t,n);case"base64":return x(this,e,t,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return k(this,e,t,n);default:if(o)throw new TypeError("Unknown encoding: "+r);r=(""+r).toLowerCase(),o=!0}},c.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};var T=4096;function C(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 j(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 A(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 P(e,t,n){if(e%1!=0||e<0)throw new RangeError("offset is not uint");if(e+t>n)throw new RangeError("Trying to access beyond buffer length")}function M(e,t,n,r,i,o){if(!c.isBuffer(e))throw new TypeError('"buffer" argument must be a Buffer instance');if(t>i||t<o)throw new RangeError('"value" argument is out of bounds');if(n+r>e.length)throw new RangeError("Index out of range")}function N(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 L(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 I(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 D(e,t,n,r,o){return o||I(e,0,n,4),i.write(e,t,n,r,23,4),n+4}function R(e,t,n,r,o){return o||I(e,0,n,8),i.write(e,t,n,r,52,8),n+8}c.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),c.TYPED_ARRAY_SUPPORT)(n=this.subarray(e,t)).__proto__=c.prototype;else{var i=t-e;n=new c(i,void 0);for(var o=0;o<i;++o)n[o]=this[o+e]}return n},c.prototype.readUIntLE=function(e,t,n){e|=0,t|=0,n||P(e,t,this.length);for(var r=this[e],i=1,o=0;++o<t&&(i*=256);)r+=this[e+o]*i;return r},c.prototype.readUIntBE=function(e,t,n){e|=0,t|=0,n||P(e,t,this.length);for(var r=this[e+--t],i=1;t>0&&(i*=256);)r+=this[e+--t]*i;return r},c.prototype.readUInt8=function(e,t){return t||P(e,1,this.length),this[e]},c.prototype.readUInt16LE=function(e,t){return t||P(e,2,this.length),this[e]|this[e+1]<<8},c.prototype.readUInt16BE=function(e,t){return t||P(e,2,this.length),this[e]<<8|this[e+1]},c.prototype.readUInt32LE=function(e,t){return t||P(e,4,this.length),(this[e]|this[e+1]<<8|this[e+2]<<16)+16777216*this[e+3]},c.prototype.readUInt32BE=function(e,t){return t||P(e,4,this.length),16777216*this[e]+(this[e+1]<<16|this[e+2]<<8|this[e+3])},c.prototype.readIntLE=function(e,t,n){e|=0,t|=0,n||P(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},c.prototype.readIntBE=function(e,t,n){e|=0,t|=0,n||P(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},c.prototype.readInt8=function(e,t){return t||P(e,1,this.length),128&this[e]?-1*(255-this[e]+1):this[e]},c.prototype.readInt16LE=function(e,t){t||P(e,2,this.length);var n=this[e]|this[e+1]<<8;return 32768&n?4294901760|n:n},c.prototype.readInt16BE=function(e,t){t||P(e,2,this.length);var n=this[e+1]|this[e]<<8;return 32768&n?4294901760|n:n},c.prototype.readInt32LE=function(e,t){return t||P(e,4,this.length),this[e]|this[e+1]<<8|this[e+2]<<16|this[e+3]<<24},c.prototype.readInt32BE=function(e,t){return t||P(e,4,this.length),this[e]<<24|this[e+1]<<16|this[e+2]<<8|this[e+3]},c.prototype.readFloatLE=function(e,t){return t||P(e,4,this.length),i.read(this,e,!0,23,4)},c.prototype.readFloatBE=function(e,t){return t||P(e,4,this.length),i.read(this,e,!1,23,4)},c.prototype.readDoubleLE=function(e,t){return t||P(e,8,this.length),i.read(this,e,!0,52,8)},c.prototype.readDoubleBE=function(e,t){return t||P(e,8,this.length),i.read(this,e,!1,52,8)},c.prototype.writeUIntLE=function(e,t,n,r){(e=+e,t|=0,n|=0,r)||M(this,e,t,n,Math.pow(2,8*n)-1,0);var i=1,o=0;for(this[t]=255&e;++o<n&&(i*=256);)this[t+o]=e/i&255;return t+n},c.prototype.writeUIntBE=function(e,t,n,r){(e=+e,t|=0,n|=0,r)||M(this,e,t,n,Math.pow(2,8*n)-1,0);var i=n-1,o=1;for(this[t+i]=255&e;--i>=0&&(o*=256);)this[t+i]=e/o&255;return t+n},c.prototype.writeUInt8=function(e,t,n){return e=+e,t|=0,n||M(this,e,t,1,255,0),c.TYPED_ARRAY_SUPPORT||(e=Math.floor(e)),this[t]=255&e,t+1},c.prototype.writeUInt16LE=function(e,t,n){return e=+e,t|=0,n||M(this,e,t,2,65535,0),c.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8):N(this,e,t,!0),t+2},c.prototype.writeUInt16BE=function(e,t,n){return e=+e,t|=0,n||M(this,e,t,2,65535,0),c.TYPED_ARRAY_SUPPORT?(this[t]=e>>>8,this[t+1]=255&e):N(this,e,t,!1),t+2},c.prototype.writeUInt32LE=function(e,t,n){return e=+e,t|=0,n||M(this,e,t,4,4294967295,0),c.TYPED_ARRAY_SUPPORT?(this[t+3]=e>>>24,this[t+2]=e>>>16,this[t+1]=e>>>8,this[t]=255&e):L(this,e,t,!0),t+4},c.prototype.writeUInt32BE=function(e,t,n){return e=+e,t|=0,n||M(this,e,t,4,4294967295,0),c.TYPED_ARRAY_SUPPORT?(this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e):L(this,e,t,!1),t+4},c.prototype.writeIntLE=function(e,t,n,r){if(e=+e,t|=0,!r){var i=Math.pow(2,8*n-1);M(this,e,t,n,i-1,-i)}var o=0,a=1,s=0;for(this[t]=255&e;++o<n&&(a*=256);)e<0&&0===s&&0!==this[t+o-1]&&(s=1),this[t+o]=(e/a>>0)-s&255;return t+n},c.prototype.writeIntBE=function(e,t,n,r){if(e=+e,t|=0,!r){var i=Math.pow(2,8*n-1);M(this,e,t,n,i-1,-i)}var o=n-1,a=1,s=0;for(this[t+o]=255&e;--o>=0&&(a*=256);)e<0&&0===s&&0!==this[t+o+1]&&(s=1),this[t+o]=(e/a>>0)-s&255;return t+n},c.prototype.writeInt8=function(e,t,n){return e=+e,t|=0,n||M(this,e,t,1,127,-128),c.TYPED_ARRAY_SUPPORT||(e=Math.floor(e)),e<0&&(e=255+e+1),this[t]=255&e,t+1},c.prototype.writeInt16LE=function(e,t,n){return e=+e,t|=0,n||M(this,e,t,2,32767,-32768),c.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8):N(this,e,t,!0),t+2},c.prototype.writeInt16BE=function(e,t,n){return e=+e,t|=0,n||M(this,e,t,2,32767,-32768),c.TYPED_ARRAY_SUPPORT?(this[t]=e>>>8,this[t+1]=255&e):N(this,e,t,!1),t+2},c.prototype.writeInt32LE=function(e,t,n){return e=+e,t|=0,n||M(this,e,t,4,2147483647,-2147483648),c.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8,this[t+2]=e>>>16,this[t+3]=e>>>24):L(this,e,t,!0),t+4},c.prototype.writeInt32BE=function(e,t,n){return e=+e,t|=0,n||M(this,e,t,4,2147483647,-2147483648),e<0&&(e=4294967295+e+1),c.TYPED_ARRAY_SUPPORT?(this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e):L(this,e,t,!1),t+4},c.prototype.writeFloatLE=function(e,t,n){return D(this,e,t,!0,n)},c.prototype.writeFloatBE=function(e,t,n){return D(this,e,t,!1,n)},c.prototype.writeDoubleLE=function(e,t,n){return R(this,e,t,!0,n)},c.prototype.writeDoubleBE=function(e,t,n){return R(this,e,t,!1,n)},c.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||!c.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},c.prototype.fill=function(e,t,n,r){if("string"==typeof e){if("string"==typeof t?(r=t,t=0,n=this.length):"string"==typeof n&&(r=n,n=this.length),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&&!c.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=c.isBuffer(e)?e:U(new c(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}}).call(this,n(96))},function(e,t,n){"use strict";var r=n(481),i=Object.keys||function(e){var t=[];for(var n in e)t.push(n);return t};e.exports=d;var o=Object.create(n(404));o.inherits=n(220);var a=n(802),s=n(617);o.inherits(d,a);for(var c=i(s.prototype),u=0;u<c.length;u++){var l=c[u];d.prototype[l]||(d.prototype[l]=s.prototype[l])}function d(e){if(!(this instanceof d))return new d(e);a.call(this,e),s.call(this,e),e&&!1===e.readable&&(this.readable=!1),e&&!1===e.writable&&(this.writable=!1),this.allowHalfOpen=!0,e&&!1===e.allowHalfOpen&&(this.allowHalfOpen=!1),this.once("end",f)}function f(){this.allowHalfOpen||this._writableState.ended||r.nextTick(h,this)}function h(e){e.end()}Object.defineProperty(d.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}}),Object.defineProperty(d.prototype,"destroyed",{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)}}),d.prototype._destroy=function(e,t){this.push(null),this.end(),r.nextTick(t,e)}},function(e,t,n){
/** @license ISC License (c) copyright 2017 original and current authors */
var r=n(250),i=n(494);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))}},function(e,t,n){
/** @license ISC License (c) copyright 2017 original and current authors */
var r=n(251),i=n(495);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))}},function(e,t){e.exports=function(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}},function(e,t,n){(function(e){e.exports=function(){"use strict";var t,r;function i(){return t.apply(null,arguments)}function o(e){return e instanceof Array||"[object Array]"===Object.prototype.toString.call(e)}function a(e){return null!=e&&"[object Object]"===Object.prototype.toString.call(e)}function s(e){return void 0===e}function c(e){return"number"==typeof e||"[object Number]"===Object.prototype.toString.call(e)}function u(e){return e instanceof Date||"[object Date]"===Object.prototype.toString.call(e)}function l(e,t){var n,r=[];for(n=0;n<e.length;++n)r.push(t(e[n],n));return r}function d(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function f(e,t){for(var n in t)d(t,n)&&(e[n]=t[n]);return d(t,"toString")&&(e.toString=t.toString),d(t,"valueOf")&&(e.valueOf=t.valueOf),e}function h(e,t,n,r){return jt(e,t,n,r,!0).utc()}function p(e){return null==e._pf&&(e._pf={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}),e._pf}function m(e){if(null==e._isValid){var t=p(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 v(e){var t=h(NaN);return null!=e?f(p(t),e):p(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 g=i.momentProperties=[];function y(e,t){var n,r,i;if(s(t._isAMomentObject)||(e._isAMomentObject=t._isAMomentObject),s(t._i)||(e._i=t._i),s(t._f)||(e._f=t._f),s(t._l)||(e._l=t._l),s(t._strict)||(e._strict=t._strict),s(t._tzm)||(e._tzm=t._tzm),s(t._isUTC)||(e._isUTC=t._isUTC),s(t._offset)||(e._offset=t._offset),s(t._pf)||(e._pf=p(t)),s(t._locale)||(e._locale=t._locale),g.length>0)for(n=0;n<g.length;n++)r=g[n],s(i=t[r])||(e[r]=i);return e}var b=!1;function _(e){y(this,e),this._d=new Date(null!=e._d?e._d.getTime():NaN),this.isValid()||(this._d=new Date(NaN)),!1===b&&(b=!0,i.updateOffset(this),b=!1)}function w(e){return e instanceof _||null!=e&&null!=e._isAMomentObject}function x(e){return e<0?Math.ceil(e)||0:Math.floor(e)}function k(e){var t=+e,n=0;return 0!==t&&isFinite(t)&&(n=x(t)),n}function E(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&&k(e[r])!==k(t[r]))&&a++;return a+o}function S(e){!1===i.suppressDeprecationWarnings&&"undefined"!=typeof console&&console.warn&&console.warn("Deprecation warning: "+e)}function T(e,t){var n=!0;return f(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)}S(e+"\nArguments: "+Array.prototype.slice.call(o).join("")+"\n"+(new Error).stack),n=!1}return t.apply(this,arguments)},t)}var C,O={};function j(e,t){null!=i.deprecationHandler&&i.deprecationHandler(e,t),O[e]||(S(t),O[e]=!0)}function A(e){return e instanceof Function||"[object Function]"===Object.prototype.toString.call(e)}function P(e,t){var n,r=f({},e);for(n in t)d(t,n)&&(a(e[n])&&a(t[n])?(r[n]={},f(r[n],e[n]),f(r[n],t[n])):null!=t[n]?r[n]=t[n]:delete r[n]);for(n in e)d(e,n)&&!d(t,n)&&a(e[n])&&(r[n]=f({},r[n]));return r}function M(e){null!=e&&this.set(e)}i.suppressDeprecationWarnings=!1,i.deprecationHandler=null,C=Object.keys?Object.keys:function(e){var t,n=[];for(t in e)d(e,t)&&n.push(t);return n};var N={};function L(e,t){var n=e.toLowerCase();N[n]=N[n+"s"]=N[t]=e}function I(e){return"string"==typeof e?N[e]||N[e.toLowerCase()]:void 0}function D(e){var t,n,r={};for(n in e)d(e,n)&&(t=I(n))&&(r[t]=e[n]);return r}var R={};function B(e,t){R[e]=t}function F(e,t,n){var r=""+Math.abs(e),i=t-r.length,o=e>=0;return(o?n?"+":"":"-")+Math.pow(10,Math.max(0,i)).toString().substr(1)+r}var U=/(\[[^\[]*\])|(\\)?([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,q=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,z={},H={};function V(e,t,n,r){var i=r;"string"==typeof r&&(i=function(){return this[r]()}),e&&(H[e]=i),t&&(H[t[0]]=function(){return F(i.apply(this,arguments),t[1],t[2])}),n&&(H[n]=function(){return this.localeData().ordinal(i.apply(this,arguments),e)})}function W(e,t){return e.isValid()?(t=Y(t,e.localeData()),z[t]=z[t]||function(e){var t,n,r,i=e.match(U);for(t=0,n=i.length;t<n;t++)H[i[t]]?i[t]=H[i[t]]:i[t]=(r=i[t]).match(/\[[\s\S]/)?r.replace(/^\[|\]$/g,""):r.replace(/\\/g,"");return function(t){var r,o="";for(r=0;r<n;r++)o+=A(i[r])?i[r].call(t,e):i[r];return o}}(t),z[t](e)):e.localeData().invalidDate()}function Y(e,t){var n=5;function r(e){return t.longDateFormat(e)||e}for(q.lastIndex=0;n>=0&&q.test(e);)e=e.replace(q,r),q.lastIndex=0,n-=1;return e}var G=/\d/,K=/\d\d/,$=/\d{3}/,X=/\d{4}/,Q=/[+-]?\d{6}/,Z=/\d\d?/,J=/\d\d\d\d?/,ee=/\d\d\d\d\d\d?/,te=/\d{1,3}/,ne=/\d{1,4}/,re=/[+-]?\d{1,6}/,ie=/\d+/,oe=/[+-]?\d+/,ae=/Z|[+-]\d\d:?\d\d/gi,se=/Z|[+-]\d\d(?::?\d\d)?/gi,ce=/[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,ue={};function le(e,t,n){ue[e]=A(t)?t:function(e,r){return e&&n?n:t}}function de(e,t){return d(ue,e)?ue[e](t._strict,t._locale):new RegExp(fe(e.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,function(e,t,n,r,i){return t||n||r||i})))}function fe(e){return e.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}var he={};function pe(e,t){var n,r=t;for("string"==typeof e&&(e=[e]),c(t)&&(r=function(e,n){n[t]=k(e)}),n=0;n<e.length;n++)he[e[n]]=r}function me(e,t){pe(e,function(e,n,r,i){r._w=r._w||{},t(e,r._w,r,i)})}function ve(e,t,n){null!=t&&d(he,e)&&he[e](t,n._a,n,e)}var ge=0,ye=1,be=2,_e=3,we=4,xe=5,ke=6,Ee=7,Se=8;function Te(e){return Ce(e)?366:365}function Ce(e){return e%4==0&&e%100!=0||e%400==0}V("Y",0,0,function(){var e=this.year();return e<=9999?""+e:"+"+e}),V(0,["YY",2],0,function(){return this.year()%100}),V(0,["YYYY",4],0,"year"),V(0,["YYYYY",5],0,"year"),V(0,["YYYYYY",6,!0],0,"year"),L("year","y"),B("year",1),le("Y",oe),le("YY",Z,K),le("YYYY",ne,X),le("YYYYY",re,Q),le("YYYYYY",re,Q),pe(["YYYYY","YYYYYY"],ge),pe("YYYY",function(e,t){t[ge]=2===e.length?i.parseTwoDigitYear(e):k(e)}),pe("YY",function(e,t){t[ge]=i.parseTwoDigitYear(e)}),pe("Y",function(e,t){t[ge]=parseInt(e,10)}),i.parseTwoDigitYear=function(e){return k(e)+(k(e)>68?1900:2e3)};var Oe,je=Ae("FullYear",!0);function Ae(e,t){return function(n){return null!=n?(Me(this,e,n),i.updateOffset(this,t),this):Pe(this,e)}}function Pe(e,t){return e.isValid()?e._d["get"+(e._isUTC?"UTC":"")+t]():NaN}function Me(e,t,n){e.isValid()&&!isNaN(n)&&("FullYear"===t&&Ce(e.year())&&1===e.month()&&29===e.date()?e._d["set"+(e._isUTC?"UTC":"")+t](n,e.month(),Ne(n,e.month())):e._d["set"+(e._isUTC?"UTC":"")+t](n))}function Ne(e,t){if(isNaN(e)||isNaN(t))return NaN;var n,r=(t%(n=12)+n)%n;return e+=(t-r)/12,1===r?Ce(e)?29:28:31-r%7%2}Oe=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},V("M",["MM",2],"Mo",function(){return this.month()+1}),V("MMM",0,0,function(e){return this.localeData().monthsShort(this,e)}),V("MMMM",0,0,function(e){return this.localeData().months(this,e)}),L("month","M"),B("month",8),le("M",Z),le("MM",Z,K),le("MMM",function(e,t){return t.monthsShortRegex(e)}),le("MMMM",function(e,t){return t.monthsRegex(e)}),pe(["M","MM"],function(e,t){t[ye]=k(e)-1}),pe(["MMM","MMMM"],function(e,t,n,r){var i=n._locale.monthsParse(e,r,n._strict);null!=i?t[ye]=i:p(n).invalidMonth=e});var Le=/D[oD]?(\[[^\[\]]*\]|\s)+MMMM?/,Ie="January_February_March_April_May_June_July_August_September_October_November_December".split("_"),De="Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_");function Re(e,t){var n;if(!e.isValid())return e;if("string"==typeof t)if(/^\d+$/.test(t))t=k(t);else if(!c(t=e.localeData().monthsParse(t)))return e;return n=Math.min(e.date(),Ne(e.year(),t)),e._d["set"+(e._isUTC?"UTC":"")+"Month"](t,n),e}function Be(e){return null!=e?(Re(this,e),i.updateOffset(this,!0),this):Pe(this,"Month")}var Fe=ce,Ue=ce;function qe(){function e(e,t){return t.length-e.length}var t,n,r=[],i=[],o=[];for(t=0;t<12;t++)n=h([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]=fe(r[t]),i[t]=fe(i[t]);for(t=0;t<24;t++)o[t]=fe(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 ze(e){var t=new Date(Date.UTC.apply(null,arguments));return e<100&&e>=0&&isFinite(t.getUTCFullYear())&&t.setUTCFullYear(e),t}function He(e,t,n){var r=7+t-n,i=(7+ze(e,0,r).getUTCDay()-t)%7;return-i+r-1}function Ve(e,t,n,r,i){var o,a,s=(7+n-r)%7,c=He(e,r,i),u=1+7*(t-1)+s+c;return u<=0?a=Te(o=e-1)+u:u>Te(e)?(o=e+1,a=u-Te(e)):(o=e,a=u),{year:o,dayOfYear:a}}function We(e,t,n){var r,i,o=He(e.year(),t,n),a=Math.floor((e.dayOfYear()-o-1)/7)+1;return a<1?(i=e.year()-1,r=a+Ye(i,t,n)):a>Ye(e.year(),t,n)?(r=a-Ye(e.year(),t,n),i=e.year()+1):(i=e.year(),r=a),{week:r,year:i}}function Ye(e,t,n){var r=He(e,t,n),i=He(e+1,t,n);return(Te(e)-r+i)/7}V("w",["ww",2],"wo","week"),V("W",["WW",2],"Wo","isoWeek"),L("week","w"),L("isoWeek","W"),B("week",5),B("isoWeek",5),le("w",Z),le("ww",Z,K),le("W",Z),le("WW",Z,K),me(["w","ww","W","WW"],function(e,t,n,r){t[r.substr(0,1)]=k(e)}),V("d",0,"do","day"),V("dd",0,0,function(e){return this.localeData().weekdaysMin(this,e)}),V("ddd",0,0,function(e){return this.localeData().weekdaysShort(this,e)}),V("dddd",0,0,function(e){return this.localeData().weekdays(this,e)}),V("e",0,0,"weekday"),V("E",0,0,"isoWeekday"),L("day","d"),L("weekday","e"),L("isoWeekday","E"),B("day",11),B("weekday",11),B("isoWeekday",11),le("d",Z),le("e",Z),le("E",Z),le("dd",function(e,t){return t.weekdaysMinRegex(e)}),le("ddd",function(e,t){return t.weekdaysShortRegex(e)}),le("dddd",function(e,t){return t.weekdaysRegex(e)}),me(["dd","ddd","dddd"],function(e,t,n,r){var i=n._locale.weekdaysParse(e,r,n._strict);null!=i?t.d=i:p(n).invalidWeekday=e}),me(["d","e","E"],function(e,t,n,r){t[r]=k(e)});var Ge="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),Ke="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),$e="Su_Mo_Tu_We_Th_Fr_Sa".split("_"),Xe=ce,Qe=ce,Ze=ce;function Je(){function e(e,t){return t.length-e.length}var t,n,r,i,o,a=[],s=[],c=[],u=[];for(t=0;t<7;t++)n=h([2e3,1]).day(t),r=this.weekdaysMin(n,""),i=this.weekdaysShort(n,""),o=this.weekdays(n,""),a.push(r),s.push(i),c.push(o),u.push(r),u.push(i),u.push(o);for(a.sort(e),s.sort(e),c.sort(e),u.sort(e),t=0;t<7;t++)s[t]=fe(s[t]),c[t]=fe(c[t]),u[t]=fe(u[t]);this._weekdaysRegex=new RegExp("^("+u.join("|")+")","i"),this._weekdaysShortRegex=this._weekdaysRegex,this._weekdaysMinRegex=this._weekdaysRegex,this._weekdaysStrictRegex=new RegExp("^("+c.join("|")+")","i"),this._weekdaysShortStrictRegex=new RegExp("^("+s.join("|")+")","i"),this._weekdaysMinStrictRegex=new RegExp("^("+a.join("|")+")","i")}function et(){return this.hours()%12||12}function tt(e,t){V(e,0,0,function(){return this.localeData().meridiem(this.hours(),this.minutes(),t)})}function nt(e,t){return t._meridiemParse}V("H",["HH",2],0,"hour"),V("h",["hh",2],0,et),V("k",["kk",2],0,function(){return this.hours()||24}),V("hmm",0,0,function(){return""+et.apply(this)+F(this.minutes(),2)}),V("hmmss",0,0,function(){return""+et.apply(this)+F(this.minutes(),2)+F(this.seconds(),2)}),V("Hmm",0,0,function(){return""+this.hours()+F(this.minutes(),2)}),V("Hmmss",0,0,function(){return""+this.hours()+F(this.minutes(),2)+F(this.seconds(),2)}),tt("a",!0),tt("A",!1),L("hour","h"),B("hour",13),le("a",nt),le("A",nt),le("H",Z),le("h",Z),le("k",Z),le("HH",Z,K),le("hh",Z,K),le("kk",Z,K),le("hmm",J),le("hmmss",ee),le("Hmm",J),le("Hmmss",ee),pe(["H","HH"],_e),pe(["k","kk"],function(e,t,n){var r=k(e);t[_e]=24===r?0:r}),pe(["a","A"],function(e,t,n){n._isPm=n._locale.isPM(e),n._meridiem=e}),pe(["h","hh"],function(e,t,n){t[_e]=k(e),p(n).bigHour=!0}),pe("hmm",function(e,t,n){var r=e.length-2;t[_e]=k(e.substr(0,r)),t[we]=k(e.substr(r)),p(n).bigHour=!0}),pe("hmmss",function(e,t,n){var r=e.length-4,i=e.length-2;t[_e]=k(e.substr(0,r)),t[we]=k(e.substr(r,2)),t[xe]=k(e.substr(i)),p(n).bigHour=!0}),pe("Hmm",function(e,t,n){var r=e.length-2;t[_e]=k(e.substr(0,r)),t[we]=k(e.substr(r))}),pe("Hmmss",function(e,t,n){var r=e.length-4,i=e.length-2;t[_e]=k(e.substr(0,r)),t[we]=k(e.substr(r,2)),t[xe]=k(e.substr(i))});var rt,it=Ae("Hours",!0),ot={calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},longDateFormat:{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"},invalidDate:"Invalid date",ordinal:"%d",dayOfMonthOrdinalParse:/\d{1,2}/,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"},months:Ie,monthsShort:De,week:{dow:0,doy:6},weekdays:Ge,weekdaysMin:$e,weekdaysShort:Ke,meridiemParse:/[ap]\.?m?\.?/i},at={},st={};function ct(e){return e?e.toLowerCase().replace("_","-"):e}function ut(t){var r=null;if(!at[t]&&void 0!==e&&e&&e.exports)try{r=rt._abbr,n(2020)("./"+t),lt(r)}catch(e){}return at[t]}function lt(e,t){var n;return e&&((n=s(t)?ft(e):dt(e,t))?rt=n:"undefined"!=typeof console&&console.warn&&console.warn("Locale "+e+" not found. Did you forget to load it?")),rt._abbr}function dt(e,t){if(null!==t){var n,r=ot;if(t.abbr=e,null!=at[e])j("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=at[e]._config;else if(null!=t.parentLocale)if(null!=at[t.parentLocale])r=at[t.parentLocale]._config;else{if(null==(n=ut(t.parentLocale)))return st[t.parentLocale]||(st[t.parentLocale]=[]),st[t.parentLocale].push({name:e,config:t}),null;r=n._config}return at[e]=new M(P(r,t)),st[e]&&st[e].forEach(function(e){dt(e.name,e.config)}),lt(e),at[e]}return delete at[e],null}function ft(e){var t;if(e&&e._locale&&e._locale._abbr&&(e=e._locale._abbr),!e)return rt;if(!o(e)){if(t=ut(e))return t;e=[e]}return function(e){for(var t,n,r,i,o=0;o<e.length;){for(i=ct(e[o]).split("-"),t=i.length,n=(n=ct(e[o+1]))?n.split("-"):null;t>0;){if(r=ut(i.slice(0,t).join("-")))return r;if(n&&n.length>=t&&E(i,n,!0)>=t-1)break;t--}o++}return rt}(e)}function ht(e){var t,n=e._a;return n&&-2===p(e).overflow&&(t=n[ye]<0||n[ye]>11?ye:n[be]<1||n[be]>Ne(n[ge],n[ye])?be:n[_e]<0||n[_e]>24||24===n[_e]&&(0!==n[we]||0!==n[xe]||0!==n[ke])?_e:n[we]<0||n[we]>59?we:n[xe]<0||n[xe]>59?xe:n[ke]<0||n[ke]>999?ke:-1,p(e)._overflowDayOfYear&&(t<ge||t>be)&&(t=be),p(e)._overflowWeeks&&-1===t&&(t=Ee),p(e)._overflowWeekday&&-1===t&&(t=Se),p(e).overflow=t),e}function pt(e,t,n){return null!=e?e:null!=t?t:n}function mt(e){var t,n,r,o,a,s=[];if(!e._d){for(r=function(e){var t=new Date(i.now());return e._useUTC?[t.getUTCFullYear(),t.getUTCMonth(),t.getUTCDate()]:[t.getFullYear(),t.getMonth(),t.getDate()]}(e),e._w&&null==e._a[be]&&null==e._a[ye]&&function(e){var t,n,r,i,o,a,s,c;if(null!=(t=e._w).GG||null!=t.W||null!=t.E)o=1,a=4,n=pt(t.GG,e._a[ge],We(At(),1,4).year),r=pt(t.W,1),((i=pt(t.E,1))<1||i>7)&&(c=!0);else{o=e._locale._week.dow,a=e._locale._week.doy;var u=We(At(),o,a);n=pt(t.gg,e._a[ge],u.year),r=pt(t.w,u.week),null!=t.d?((i=t.d)<0||i>6)&&(c=!0):null!=t.e?(i=t.e+o,(t.e<0||t.e>6)&&(c=!0)):i=o}r<1||r>Ye(n,o,a)?p(e)._overflowWeeks=!0:null!=c?p(e)._overflowWeekday=!0:(s=Ve(n,r,i,o,a),e._a[ge]=s.year,e._dayOfYear=s.dayOfYear)}(e),null!=e._dayOfYear&&(a=pt(e._a[ge],r[ge]),(e._dayOfYear>Te(a)||0===e._dayOfYear)&&(p(e)._overflowDayOfYear=!0),n=ze(a,0,e._dayOfYear),e._a[ye]=n.getUTCMonth(),e._a[be]=n.getUTCDate()),t=0;t<3&&null==e._a[t];++t)e._a[t]=s[t]=r[t];for(;t<7;t++)e._a[t]=s[t]=null==e._a[t]?2===t?1:0:e._a[t];24===e._a[_e]&&0===e._a[we]&&0===e._a[xe]&&0===e._a[ke]&&(e._nextDay=!0,e._a[_e]=0),e._d=(e._useUTC?ze:function(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}).apply(null,s),o=e._useUTC?e._d.getUTCDay():e._d.getDay(),null!=e._tzm&&e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),e._nextDay&&(e._a[_e]=24),e._w&&void 0!==e._w.d&&e._w.d!==o&&(p(e).weekdayMismatch=!0)}}var vt=/^\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)?)?$/,gt=/^\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)?)?$/,yt=/Z|[+-]\d\d(?::?\d\d)?/,bt=[["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}/]],_t=[["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/]],wt=/^\/?Date\((\-?\d+)/i;function xt(e){var t,n,r,i,o,a,s=e._i,c=vt.exec(s)||gt.exec(s);if(c){for(p(e).iso=!0,t=0,n=bt.length;t<n;t++)if(bt[t][1].exec(c[1])){i=bt[t][0],r=!1!==bt[t][2];break}if(null==i)return void(e._isValid=!1);if(c[3]){for(t=0,n=_t.length;t<n;t++)if(_t[t][1].exec(c[3])){o=(c[2]||" ")+_t[t][0];break}if(null==o)return void(e._isValid=!1)}if(!r&&null!=o)return void(e._isValid=!1);if(c[4]){if(!yt.exec(c[4]))return void(e._isValid=!1);a="Z"}e._f=i+(o||"")+(a||""),Ct(e)}else e._isValid=!1}var kt=/^(?:(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 Et(e){var t=parseInt(e,10);return t<=49?2e3+t:t<=999?1900+t:t}var St={UT:0,GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};function Tt(e){var t,n,r,i,o,a,s,c=kt.exec(e._i.replace(/\([^)]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").replace(/^\s\s*/,"").replace(/\s\s*$/,""));if(c){var u=(t=c[4],n=c[3],r=c[2],i=c[5],o=c[6],a=c[7],s=[Et(t),De.indexOf(n),parseInt(r,10),parseInt(i,10),parseInt(o,10)],a&&s.push(parseInt(a,10)),s);if(!function(e,t,n){if(e){var r=Ke.indexOf(e),i=new Date(t[0],t[1],t[2]).getDay();if(r!==i)return p(n).weekdayMismatch=!0,n._isValid=!1,!1}return!0}(c[1],u,e))return;e._a=u,e._tzm=function(e,t,n){if(e)return St[e];if(t)return 0;var r=parseInt(n,10),i=r%100,o=(r-i)/100;return 60*o+i}(c[8],c[9],c[10]),e._d=ze.apply(null,e._a),e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),p(e).rfc2822=!0}else e._isValid=!1}function Ct(e){if(e._f!==i.ISO_8601)if(e._f!==i.RFC_2822){e._a=[],p(e).empty=!0;var t,n,r,o,a,s=""+e._i,c=s.length,u=0;for(r=Y(e._f,e._locale).match(U)||[],t=0;t<r.length;t++)o=r[t],(n=(s.match(de(o,e))||[])[0])&&((a=s.substr(0,s.indexOf(n))).length>0&&p(e).unusedInput.push(a),s=s.slice(s.indexOf(n)+n.length),u+=n.length),H[o]?(n?p(e).empty=!1:p(e).unusedTokens.push(o),ve(o,n,e)):e._strict&&!n&&p(e).unusedTokens.push(o);p(e).charsLeftOver=c-u,s.length>0&&p(e).unusedInput.push(s),e._a[_e]<=12&&!0===p(e).bigHour&&e._a[_e]>0&&(p(e).bigHour=void 0),p(e).parsedDateParts=e._a.slice(0),p(e).meridiem=e._meridiem,e._a[_e]=(l=e._locale,d=e._a[_e],null==(f=e._meridiem)?d:null!=l.meridiemHour?l.meridiemHour(d,f):null!=l.isPM?((h=l.isPM(f))&&d<12&&(d+=12),h||12!==d||(d=0),d):d),mt(e),ht(e)}else Tt(e);else xt(e);var l,d,f,h}function Ot(e){var t=e._i,n=e._f;return e._locale=e._locale||ft(e._l),null===t||void 0===n&&""===t?v({nullInput:!0}):("string"==typeof t&&(e._i=t=e._locale.preparse(t)),w(t)?new _(ht(t)):(u(t)?e._d=t:o(n)?function(e){var t,n,r,i,o;if(0===e._f.length)return p(e).invalidFormat=!0,void(e._d=new Date(NaN));for(i=0;i<e._f.length;i++)o=0,t=y({},e),null!=e._useUTC&&(t._useUTC=e._useUTC),t._f=e._f[i],Ct(t),m(t)&&(o+=p(t).charsLeftOver,o+=10*p(t).unusedTokens.length,p(t).score=o,(null==r||o<r)&&(r=o,n=t));f(e,n||t)}(e):n?Ct(e):function(e){var t=e._i;s(t)?e._d=new Date(i.now()):u(t)?e._d=new Date(t.valueOf()):"string"==typeof t?function(e){var t=wt.exec(e._i);null===t?(xt(e),!1===e._isValid&&(delete e._isValid,Tt(e),!1===e._isValid&&(delete e._isValid,i.createFromInputFallback(e)))):e._d=new Date(+t[1])}(e):o(t)?(e._a=l(t.slice(0),function(e){return parseInt(e,10)}),mt(e)):a(t)?function(e){if(!e._d){var t=D(e._i);e._a=l([t.year,t.month,t.day||t.date,t.hour,t.minute,t.second,t.millisecond],function(e){return e&&parseInt(e,10)}),mt(e)}}(e):c(t)?e._d=new Date(t):i.createFromInputFallback(e)}(e),m(e)||(e._d=null),e))}function jt(e,t,n,r,i){var s,c={};return!0!==n&&!1!==n||(r=n,n=void 0),(a(e)&&function(e){if(Object.getOwnPropertyNames)return 0===Object.getOwnPropertyNames(e).length;var t;for(t in e)if(e.hasOwnProperty(t))return!1;return!0}(e)||o(e)&&0===e.length)&&(e=void 0),c._isAMomentObject=!0,c._useUTC=c._isUTC=i,c._l=n,c._i=e,c._f=t,c._strict=r,(s=new _(ht(Ot(c))))._nextDay&&(s.add(1,"d"),s._nextDay=void 0),s}function At(e,t,n,r){return jt(e,t,n,r,!1)}i.createFromInputFallback=T("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 Pt=T("moment().min is deprecated, use moment.max instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var e=At.apply(null,arguments);return this.isValid()&&e.isValid()?e<this?this:e:v()}),Mt=T("moment().max is deprecated, use moment.min instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var e=At.apply(null,arguments);return this.isValid()&&e.isValid()?e>this?this:e:v()});function Nt(e,t){var n,r;if(1===t.length&&o(t[0])&&(t=t[0]),!t.length)return At();for(n=t[0],r=1;r<t.length;++r)t[r].isValid()&&!t[r][e](n)||(n=t[r]);return n}var Lt=["year","quarter","month","week","day","hour","minute","second","millisecond"];function It(e){var t=D(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,c=t.minute||0,u=t.second||0,l=t.millisecond||0;this._isValid=function(e){for(var t in e)if(-1===Oe.call(Lt,t)||null!=e[t]&&isNaN(e[t]))return!1;for(var n=!1,r=0;r<Lt.length;++r)if(e[Lt[r]]){if(n)return!1;parseFloat(e[Lt[r]])!==k(e[Lt[r]])&&(n=!0)}return!0}(t),this._milliseconds=+l+1e3*u+6e4*c+1e3*s*60*60,this._days=+a+7*o,this._months=+i+3*r+12*n,this._data={},this._locale=ft(),this._bubble()}function Dt(e){return e instanceof It}function Rt(e){return e<0?-1*Math.round(-1*e):Math.round(e)}function Bt(e,t){V(e,0,0,function(){var e=this.utcOffset(),n="+";return e<0&&(e=-e,n="-"),n+F(~~(e/60),2)+t+F(~~e%60,2)})}Bt("Z",":"),Bt("ZZ",""),le("Z",se),le("ZZ",se),pe(["Z","ZZ"],function(e,t,n){n._useUTC=!0,n._tzm=Ut(se,e)});var Ft=/([\+\-]|\d\d)/gi;function Ut(e,t){var n=(t||"").match(e);if(null===n)return null;var r=n[n.length-1]||[],i=(r+"").match(Ft)||["-",0,0],o=60*i[1]+k(i[2]);return 0===o?0:"+"===i[0]?o:-o}function qt(e,t){var n,r;return t._isUTC?(n=t.clone(),r=(w(e)||u(e)?e.valueOf():At(e).valueOf())-n.valueOf(),n._d.setTime(n._d.valueOf()+r),i.updateOffset(n,!1),n):At(e).local()}function zt(e){return 15*-Math.round(e._d.getTimezoneOffset()/15)}function Ht(){return!!this.isValid()&&this._isUTC&&0===this._offset}i.updateOffset=function(){};var Vt=/^(\-|\+)?(?:(\d*)[. ])?(\d+)\:(\d+)(?:\:(\d+)(\.\d*)?)?$/,Wt=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/;function Yt(e,t){var n,r,i,o,a,s,u=e,l=null;return Dt(e)?u={ms:e._milliseconds,d:e._days,M:e._months}:c(e)?(u={},t?u[t]=e:u.milliseconds=e):(l=Vt.exec(e))?(n="-"===l[1]?-1:1,u={y:0,d:k(l[be])*n,h:k(l[_e])*n,m:k(l[we])*n,s:k(l[xe])*n,ms:k(Rt(1e3*l[ke]))*n}):(l=Wt.exec(e))?(n="-"===l[1]?-1:1,u={y:Gt(l[2],n),M:Gt(l[3],n),w:Gt(l[4],n),d:Gt(l[5],n),h:Gt(l[6],n),m:Gt(l[7],n),s:Gt(l[8],n)}):null==u?u={}:"object"==typeof u&&("from"in u||"to"in u)&&(o=At(u.from),a=At(u.to),i=o.isValid()&&a.isValid()?(a=qt(a,o),o.isBefore(a)?s=Kt(o,a):((s=Kt(a,o)).milliseconds=-s.milliseconds,s.months=-s.months),s):{milliseconds:0,months:0},(u={}).ms=i.milliseconds,u.M=i.months),r=new It(u),Dt(e)&&d(e,"_locale")&&(r._locale=e._locale),r}function Gt(e,t){var n=e&&parseFloat(e.replace(",","."));return(isNaN(n)?0:n)*t}function Kt(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 $t(e,t){return function(n,r){var i;return null===r||isNaN(+r)||(j(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),Xt(this,Yt(n="string"==typeof n?+n:n,r),e),this}}function Xt(e,t,n,r){var o=t._milliseconds,a=Rt(t._days),s=Rt(t._months);e.isValid()&&(r=null==r||r,s&&Re(e,Pe(e,"Month")+s*n),a&&Me(e,"Date",Pe(e,"Date")+a*n),o&&e._d.setTime(e._d.valueOf()+o*n),r&&i.updateOffset(e,a||s))}Yt.fn=It.prototype,Yt.invalid=function(){return Yt(NaN)};var Qt=$t(1,"add"),Zt=$t(-1,"subtract");function Jt(e,t){var n,r,i=12*(t.year()-e.year())+(t.month()-e.month()),o=e.clone().add(i,"months");return t-o<0?(n=e.clone().add(i-1,"months"),r=(t-o)/(o-n)):(n=e.clone().add(i+1,"months"),r=(t-o)/(n-o)),-(i+r)||0}function en(e){var t;return void 0===e?this._locale._abbr:(null!=(t=ft(e))&&(this._locale=t),this)}i.defaultFormat="YYYY-MM-DDTHH:mm:ssZ",i.defaultFormatUtc="YYYY-MM-DDTHH:mm:ss[Z]";var tn=T("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 nn(){return this._locale}function rn(e,t){V(0,[e,e.length],0,t)}function on(e,t,n,r,i){var o;return null==e?We(this,r,i).year:(o=Ye(e,r,i),t>o&&(t=o),function(e,t,n,r,i){var o=Ve(e,t,n,r,i),a=ze(o.year,0,o.dayOfYear);return this.year(a.getUTCFullYear()),this.month(a.getUTCMonth()),this.date(a.getUTCDate()),this}.call(this,e,t,n,r,i))}V(0,["gg",2],0,function(){return this.weekYear()%100}),V(0,["GG",2],0,function(){return this.isoWeekYear()%100}),rn("gggg","weekYear"),rn("ggggg","weekYear"),rn("GGGG","isoWeekYear"),rn("GGGGG","isoWeekYear"),L("weekYear","gg"),L("isoWeekYear","GG"),B("weekYear",1),B("isoWeekYear",1),le("G",oe),le("g",oe),le("GG",Z,K),le("gg",Z,K),le("GGGG",ne,X),le("gggg",ne,X),le("GGGGG",re,Q),le("ggggg",re,Q),me(["gggg","ggggg","GGGG","GGGGG"],function(e,t,n,r){t[r.substr(0,2)]=k(e)}),me(["gg","GG"],function(e,t,n,r){t[r]=i.parseTwoDigitYear(e)}),V("Q",0,"Qo","quarter"),L("quarter","Q"),B("quarter",7),le("Q",G),pe("Q",function(e,t){t[ye]=3*(k(e)-1)}),V("D",["DD",2],"Do","date"),L("date","D"),B("date",9),le("D",Z),le("DD",Z,K),le("Do",function(e,t){return e?t._dayOfMonthOrdinalParse||t._ordinalParse:t._dayOfMonthOrdinalParseLenient}),pe(["D","DD"],be),pe("Do",function(e,t){t[be]=k(e.match(Z)[0])});var an=Ae("Date",!0);V("DDD",["DDDD",3],"DDDo","dayOfYear"),L("dayOfYear","DDD"),B("dayOfYear",4),le("DDD",te),le("DDDD",$),pe(["DDD","DDDD"],function(e,t,n){n._dayOfYear=k(e)}),V("m",["mm",2],0,"minute"),L("minute","m"),B("minute",14),le("m",Z),le("mm",Z,K),pe(["m","mm"],we);var sn=Ae("Minutes",!1);V("s",["ss",2],0,"second"),L("second","s"),B("second",15),le("s",Z),le("ss",Z,K),pe(["s","ss"],xe);var cn,un=Ae("Seconds",!1);for(V("S",0,0,function(){return~~(this.millisecond()/100)}),V(0,["SS",2],0,function(){return~~(this.millisecond()/10)}),V(0,["SSS",3],0,"millisecond"),V(0,["SSSS",4],0,function(){return 10*this.millisecond()}),V(0,["SSSSS",5],0,function(){return 100*this.millisecond()}),V(0,["SSSSSS",6],0,function(){return 1e3*this.millisecond()}),V(0,["SSSSSSS",7],0,function(){return 1e4*this.millisecond()}),V(0,["SSSSSSSS",8],0,function(){return 1e5*this.millisecond()}),V(0,["SSSSSSSSS",9],0,function(){return 1e6*this.millisecond()}),L("millisecond","ms"),B("millisecond",16),le("S",te,G),le("SS",te,K),le("SSS",te,$),cn="SSSS";cn.length<=9;cn+="S")le(cn,ie);function ln(e,t){t[ke]=k(1e3*("0."+e))}for(cn="S";cn.length<=9;cn+="S")pe(cn,ln);var dn=Ae("Milliseconds",!1);V("z",0,0,"zoneAbbr"),V("zz",0,0,"zoneName");var fn=_.prototype;function hn(e){return e}fn.add=Qt,fn.calendar=function(e,t){var n=e||At(),r=qt(n,this).startOf("day"),o=i.calendarFormat(this,r)||"sameElse",a=t&&(A(t[o])?t[o].call(this,n):t[o]);return this.format(a||this.localeData().calendar(o,this,At(n)))},fn.clone=function(){return new _(this)},fn.diff=function(e,t,n){var r,i,o;if(!this.isValid())return NaN;if(!(r=qt(e,this)).isValid())return NaN;switch(i=6e4*(r.utcOffset()-this.utcOffset()),t=I(t)){case"year":o=Jt(this,r)/12;break;case"month":o=Jt(this,r);break;case"quarter":o=Jt(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:x(o)},fn.endOf=function(e){return void 0===(e=I(e))||"millisecond"===e?this:("date"===e&&(e="day"),this.startOf(e).add(1,"isoWeek"===e?"week":e).subtract(1,"ms"))},fn.format=function(e){e||(e=this.isUtc()?i.defaultFormatUtc:i.defaultFormat);var t=W(this,e);return this.localeData().postformat(t)},fn.from=function(e,t){return this.isValid()&&(w(e)&&e.isValid()||At(e).isValid())?Yt({to:this,from:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()},fn.fromNow=function(e){return this.from(At(),e)},fn.to=function(e,t){return this.isValid()&&(w(e)&&e.isValid()||At(e).isValid())?Yt({from:this,to:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()},fn.toNow=function(e){return this.to(At(),e)},fn.get=function(e){return A(this[e=I(e)])?this[e]():this},fn.invalidAt=function(){return p(this).overflow},fn.isAfter=function(e,t){var n=w(e)?e:At(e);return!(!this.isValid()||!n.isValid())&&("millisecond"===(t=I(t)||"millisecond")?this.valueOf()>n.valueOf():n.valueOf()<this.clone().startOf(t).valueOf())},fn.isBefore=function(e,t){var n=w(e)?e:At(e);return!(!this.isValid()||!n.isValid())&&("millisecond"===(t=I(t)||"millisecond")?this.valueOf()<n.valueOf():this.clone().endOf(t).valueOf()<n.valueOf())},fn.isBetween=function(e,t,n,r){var i=w(e)?e:At(e),o=w(t)?t:At(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)))},fn.isSame=function(e,t){var n,r=w(e)?e:At(e);return!(!this.isValid()||!r.isValid())&&("millisecond"===(t=I(t)||"millisecond")?this.valueOf()===r.valueOf():(n=r.valueOf(),this.clone().startOf(t).valueOf()<=n&&n<=this.clone().endOf(t).valueOf()))},fn.isSameOrAfter=function(e,t){return this.isSame(e,t)||this.isAfter(e,t)},fn.isSameOrBefore=function(e,t){return this.isSame(e,t)||this.isBefore(e,t)},fn.isValid=function(){return m(this)},fn.lang=tn,fn.locale=en,fn.localeData=nn,fn.max=Mt,fn.min=Pt,fn.parsingFlags=function(){return f({},p(this))},fn.set=function(e,t){if("object"==typeof e)for(var n=function(e){var t=[];for(var n in e)t.push({unit:n,priority:R[n]});return t.sort(function(e,t){return e.priority-t.priority}),t}(e=D(e)),r=0;r<n.length;r++)this[n[r].unit](e[n[r].unit]);else if(A(this[e=I(e)]))return this[e](t);return this},fn.startOf=function(e){switch(e=I(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},fn.subtract=Zt,fn.toArray=function(){var e=this;return[e.year(),e.month(),e.date(),e.hour(),e.minute(),e.second(),e.millisecond()]},fn.toObject=function(){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()}},fn.toDate=function(){return new Date(this.valueOf())},fn.toISOString=function(e){if(!this.isValid())return null;var t=!0!==e,n=t?this.clone().utc():this;return n.year()<0||n.year()>9999?W(n,t?"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYYYY-MM-DD[T]HH:mm:ss.SSSZ"):A(Date.prototype.toISOString)?t?this.toDate().toISOString():new Date(this.valueOf()+60*this.utcOffset()*1e3).toISOString().replace("Z",W(n,"Z")):W(n,t?"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYY-MM-DD[T]HH:mm:ss.SSSZ")},fn.inspect=function(){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=t+'[")]';return this.format(n+r+"-MM-DD[T]HH:mm:ss.SSS"+i)},fn.toJSON=function(){return this.isValid()?this.toISOString():null},fn.toString=function(){return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ")},fn.unix=function(){return Math.floor(this.valueOf()/1e3)},fn.valueOf=function(){return this._d.valueOf()-6e4*(this._offset||0)},fn.creationData=function(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict}},fn.year=je,fn.isLeapYear=function(){return Ce(this.year())},fn.weekYear=function(e){return on.call(this,e,this.week(),this.weekday(),this.localeData()._week.dow,this.localeData()._week.doy)},fn.isoWeekYear=function(e){return on.call(this,e,this.isoWeek(),this.isoWeekday(),1,4)},fn.quarter=fn.quarters=function(e){return null==e?Math.ceil((this.month()+1)/3):this.month(3*(e-1)+this.month()%3)},fn.month=Be,fn.daysInMonth=function(){return Ne(this.year(),this.month())},fn.week=fn.weeks=function(e){var t=this.localeData().week(this);return null==e?t:this.add(7*(e-t),"d")},fn.isoWeek=fn.isoWeeks=function(e){var t=We(this,1,4).week;return null==e?t:this.add(7*(e-t),"d")},fn.weeksInYear=function(){var e=this.localeData()._week;return Ye(this.year(),e.dow,e.doy)},fn.isoWeeksInYear=function(){return Ye(this.year(),1,4)},fn.date=an,fn.day=fn.days=function(e){if(!this.isValid())return null!=e?this:NaN;var t=this._isUTC?this._d.getUTCDay():this._d.getDay();return null!=e?(e=function(e,t){return"string"!=typeof e?e:isNaN(e)?"number"==typeof(e=t.weekdaysParse(e))?e:null:parseInt(e,10)}(e,this.localeData()),this.add(e-t,"d")):t},fn.weekday=function(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")},fn.isoWeekday=function(e){if(!this.isValid())return null!=e?this:NaN;if(null!=e){var t=function(e,t){return"string"==typeof e?t.weekdaysParse(e)%7||7:isNaN(e)?null:e}(e,this.localeData());return this.day(this.day()%7?t:t-7)}return this.day()||7},fn.dayOfYear=function(e){var t=Math.round((this.clone().startOf("day")-this.clone().startOf("year"))/864e5)+1;return null==e?t:this.add(e-t,"d")},fn.hour=fn.hours=it,fn.minute=fn.minutes=sn,fn.second=fn.seconds=un,fn.millisecond=fn.milliseconds=dn,fn.utcOffset=function(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=Ut(se,e)))return this}else Math.abs(e)<16&&!n&&(e*=60);return!this._isUTC&&t&&(r=zt(this)),this._offset=e,this._isUTC=!0,null!=r&&this.add(r,"m"),o!==e&&(!t||this._changeInProgress?Xt(this,Yt(e-o,"m"),1,!1):this._changeInProgress||(this._changeInProgress=!0,i.updateOffset(this,!0),this._changeInProgress=null)),this}return this._isUTC?o:zt(this)},fn.utc=function(e){return this.utcOffset(0,e)},fn.local=function(e){return this._isUTC&&(this.utcOffset(0,e),this._isUTC=!1,e&&this.subtract(zt(this),"m")),this},fn.parseZone=function(){if(null!=this._tzm)this.utcOffset(this._tzm,!1,!0);else if("string"==typeof this._i){var e=Ut(ae,this._i);null!=e?this.utcOffset(e):this.utcOffset(0,!0)}return this},fn.hasAlignedHourOffset=function(e){return!!this.isValid()&&(e=e?At(e).utcOffset():0,(this.utcOffset()-e)%60==0)},fn.isDST=function(){return this.utcOffset()>this.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()},fn.isLocal=function(){return!!this.isValid()&&!this._isUTC},fn.isUtcOffset=function(){return!!this.isValid()&&this._isUTC},fn.isUtc=Ht,fn.isUTC=Ht,fn.zoneAbbr=function(){return this._isUTC?"UTC":""},fn.zoneName=function(){return this._isUTC?"Coordinated Universal Time":""},fn.dates=T("dates accessor is deprecated. Use date instead.",an),fn.months=T("months accessor is deprecated. Use month instead",Be),fn.years=T("years accessor is deprecated. Use year instead",je),fn.zone=T("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",function(e,t){return null!=e?("string"!=typeof e&&(e=-e),this.utcOffset(e,t),this):-this.utcOffset()}),fn.isDSTShifted=T("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",function(){if(!s(this._isDSTShifted))return this._isDSTShifted;var e={};if(y(e,this),(e=Ot(e))._a){var t=e._isUTC?h(e._a):At(e._a);this._isDSTShifted=this.isValid()&&E(e._a,t.toArray())>0}else this._isDSTShifted=!1;return this._isDSTShifted});var pn=M.prototype;function mn(e,t,n,r){var i=ft(),o=h().set(r,t);return i[n](o,e)}function vn(e,t,n){if(c(e)&&(t=e,e=void 0),e=e||"",null!=t)return mn(e,t,n,"month");var r,i=[];for(r=0;r<12;r++)i[r]=mn(e,r,n,"month");return i}function gn(e,t,n,r){"boolean"==typeof e?(c(t)&&(n=t,t=void 0),t=t||""):(n=t=e,e=!1,c(t)&&(n=t,t=void 0),t=t||"");var i,o=ft(),a=e?o._week.dow:0;if(null!=n)return mn(t,(n+a)%7,r,"day");var s=[];for(i=0;i<7;i++)s[i]=mn(t,(i+a)%7,r,"day");return s}pn.calendar=function(e,t,n){var r=this._calendar[e]||this._calendar.sameElse;return A(r)?r.call(t,n):r},pn.longDateFormat=function(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])},pn.invalidDate=function(){return this._invalidDate},pn.ordinal=function(e){return this._ordinal.replace("%d",e)},pn.preparse=hn,pn.postformat=hn,pn.relativeTime=function(e,t,n,r){var i=this._relativeTime[n];return A(i)?i(e,t,n,r):i.replace(/%d/i,e)},pn.pastFuture=function(e,t){var n=this._relativeTime[e>0?"future":"past"];return A(n)?n(t):n.replace(/%s/i,t)},pn.set=function(e){var t,n;for(n in e)A(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)},pn.months=function(e,t){return e?o(this._months)?this._months[e.month()]:this._months[(this._months.isFormat||Le).test(t)?"format":"standalone"][e.month()]:o(this._months)?this._months:this._months.standalone},pn.monthsShort=function(e,t){return e?o(this._monthsShort)?this._monthsShort[e.month()]:this._monthsShort[Le.test(t)?"format":"standalone"][e.month()]:o(this._monthsShort)?this._monthsShort:this._monthsShort.standalone},pn.monthsParse=function(e,t,n){var r,i,o;if(this._monthsParseExact)return function(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=h([2e3,r]),this._shortMonthsParse[r]=this.monthsShort(o,"").toLocaleLowerCase(),this._longMonthsParse[r]=this.months(o,"").toLocaleLowerCase();return n?"MMM"===t?-1!==(i=Oe.call(this._shortMonthsParse,a))?i:null:-1!==(i=Oe.call(this._longMonthsParse,a))?i:null:"MMM"===t?-1!==(i=Oe.call(this._shortMonthsParse,a))?i:-1!==(i=Oe.call(this._longMonthsParse,a))?i:null:-1!==(i=Oe.call(this._longMonthsParse,a))?i:-1!==(i=Oe.call(this._shortMonthsParse,a))?i:null}.call(this,e,t,n);for(this._monthsParse||(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[]),r=0;r<12;r++){if(i=h([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}},pn.monthsRegex=function(e){return this._monthsParseExact?(d(this,"_monthsRegex")||qe.call(this),e?this._monthsStrictRegex:this._monthsRegex):(d(this,"_monthsRegex")||(this._monthsRegex=Ue),this._monthsStrictRegex&&e?this._monthsStrictRegex:this._monthsRegex)},pn.monthsShortRegex=function(e){return this._monthsParseExact?(d(this,"_monthsRegex")||qe.call(this),e?this._monthsShortStrictRegex:this._monthsShortRegex):(d(this,"_monthsShortRegex")||(this._monthsShortRegex=Fe),this._monthsShortStrictRegex&&e?this._monthsShortStrictRegex:this._monthsShortRegex)},pn.week=function(e){return We(e,this._week.dow,this._week.doy).week},pn.firstDayOfYear=function(){return this._week.doy},pn.firstDayOfWeek=function(){return this._week.dow},pn.weekdays=function(e,t){return e?o(this._weekdays)?this._weekdays[e.day()]:this._weekdays[this._weekdays.isFormat.test(t)?"format":"standalone"][e.day()]:o(this._weekdays)?this._weekdays:this._weekdays.standalone},pn.weekdaysMin=function(e){return e?this._weekdaysMin[e.day()]:this._weekdaysMin},pn.weekdaysShort=function(e){return e?this._weekdaysShort[e.day()]:this._weekdaysShort},pn.weekdaysParse=function(e,t,n){var r,i,o;if(this._weekdaysParseExact)return function(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=h([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=Oe.call(this._weekdaysParse,a))?i:null:"ddd"===t?-1!==(i=Oe.call(this._shortWeekdaysParse,a))?i:null:-1!==(i=Oe.call(this._minWeekdaysParse,a))?i:null:"dddd"===t?-1!==(i=Oe.call(this._weekdaysParse,a))?i:-1!==(i=Oe.call(this._shortWeekdaysParse,a))?i:-1!==(i=Oe.call(this._minWeekdaysParse,a))?i:null:"ddd"===t?-1!==(i=Oe.call(this._shortWeekdaysParse,a))?i:-1!==(i=Oe.call(this._weekdaysParse,a))?i:-1!==(i=Oe.call(this._minWeekdaysParse,a))?i:null:-1!==(i=Oe.call(this._minWeekdaysParse,a))?i:-1!==(i=Oe.call(this._weekdaysParse,a))?i:-1!==(i=Oe.call(this._shortWeekdaysParse,a))?i:null}.call(this,e,t,n);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),r=0;r<7;r++){if(i=h([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}},pn.weekdaysRegex=function(e){return this._weekdaysParseExact?(d(this,"_weekdaysRegex")||Je.call(this),e?this._weekdaysStrictRegex:this._weekdaysRegex):(d(this,"_weekdaysRegex")||(this._weekdaysRegex=Xe),this._weekdaysStrictRegex&&e?this._weekdaysStrictRegex:this._weekdaysRegex)},pn.weekdaysShortRegex=function(e){return this._weekdaysParseExact?(d(this,"_weekdaysRegex")||Je.call(this),e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(d(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=Qe),this._weekdaysShortStrictRegex&&e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)},pn.weekdaysMinRegex=function(e){return this._weekdaysParseExact?(d(this,"_weekdaysRegex")||Je.call(this),e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(d(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=Ze),this._weekdaysMinStrictRegex&&e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)},pn.isPM=function(e){return"p"===(e+"").toLowerCase().charAt(0)},pn.meridiem=function(e,t,n){return e>11?n?"pm":"PM":n?"am":"AM"},lt("en",{dayOfMonthOrdinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(e){var t=e%10,n=1===k(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th";return e+n}}),i.lang=T("moment.lang is deprecated. Use moment.locale instead.",lt),i.langData=T("moment.langData is deprecated. Use moment.localeData instead.",ft);var yn=Math.abs;function bn(e,t,n,r){var i=Yt(t,n);return e._milliseconds+=r*i._milliseconds,e._days+=r*i._days,e._months+=r*i._months,e._bubble()}function _n(e){return e<0?Math.floor(e):Math.ceil(e)}function wn(e){return 4800*e/146097}function xn(e){return 146097*e/4800}function kn(e){return function(){return this.as(e)}}var En=kn("ms"),Sn=kn("s"),Tn=kn("m"),Cn=kn("h"),On=kn("d"),jn=kn("w"),An=kn("M"),Pn=kn("y");function Mn(e){return function(){return this.isValid()?this._data[e]:NaN}}var Nn=Mn("milliseconds"),Ln=Mn("seconds"),In=Mn("minutes"),Dn=Mn("hours"),Rn=Mn("days"),Bn=Mn("months"),Fn=Mn("years"),Un=Math.round,qn={ss:44,s:45,m:45,h:22,d:26,M:11},zn=Math.abs;function Hn(e){return(e>0)-(e<0)||+e}function Vn(){if(!this.isValid())return this.localeData().invalidDate();var e,t,n=zn(this._milliseconds)/1e3,r=zn(this._days),i=zn(this._months);e=x(n/60),t=x(e/60),n%=60,e%=60;var o=x(i/12),a=i%=12,s=r,c=t,u=e,l=n?n.toFixed(3).replace(/\.?0+$/,""):"",d=this.asSeconds();if(!d)return"P0D";var f=d<0?"-":"",h=Hn(this._months)!==Hn(d)?"-":"",p=Hn(this._days)!==Hn(d)?"-":"",m=Hn(this._milliseconds)!==Hn(d)?"-":"";return f+"P"+(o?h+o+"Y":"")+(a?h+a+"M":"")+(s?p+s+"D":"")+(c||u||l?"T":"")+(c?m+c+"H":"")+(u?m+u+"M":"")+(l?m+l+"S":"")}var Wn=It.prototype;return Wn.isValid=function(){return this._isValid},Wn.abs=function(){var e=this._data;return this._milliseconds=yn(this._milliseconds),this._days=yn(this._days),this._months=yn(this._months),e.milliseconds=yn(e.milliseconds),e.seconds=yn(e.seconds),e.minutes=yn(e.minutes),e.hours=yn(e.hours),e.months=yn(e.months),e.years=yn(e.years),this},Wn.add=function(e,t){return bn(this,e,t,1)},Wn.subtract=function(e,t){return bn(this,e,t,-1)},Wn.as=function(e){if(!this.isValid())return NaN;var t,n,r=this._milliseconds;if("month"===(e=I(e))||"year"===e)return t=this._days+r/864e5,n=this._months+wn(t),"month"===e?n:n/12;switch(t=this._days+Math.round(xn(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)}},Wn.asMilliseconds=En,Wn.asSeconds=Sn,Wn.asMinutes=Tn,Wn.asHours=Cn,Wn.asDays=On,Wn.asWeeks=jn,Wn.asMonths=An,Wn.asYears=Pn,Wn.valueOf=function(){return this.isValid()?this._milliseconds+864e5*this._days+this._months%12*2592e6+31536e6*k(this._months/12):NaN},Wn._bubble=function(){var e,t,n,r,i,o=this._milliseconds,a=this._days,s=this._months,c=this._data;return o>=0&&a>=0&&s>=0||o<=0&&a<=0&&s<=0||(o+=864e5*_n(xn(s)+a),a=0,s=0),c.milliseconds=o%1e3,e=x(o/1e3),c.seconds=e%60,t=x(e/60),c.minutes=t%60,n=x(t/60),c.hours=n%24,a+=x(n/24),i=x(wn(a)),s+=i,a-=_n(xn(i)),r=x(s/12),s%=12,c.days=a,c.months=s,c.years=r,this},Wn.clone=function(){return Yt(this)},Wn.get=function(e){return e=I(e),this.isValid()?this[e+"s"]():NaN},Wn.milliseconds=Nn,Wn.seconds=Ln,Wn.minutes=In,Wn.hours=Dn,Wn.days=Rn,Wn.weeks=function(){return x(this.days()/7)},Wn.months=Bn,Wn.years=Fn,Wn.humanize=function(e){if(!this.isValid())return this.localeData().invalidDate();var t=this.localeData(),n=function(e,t,n){var r=Yt(e).abs(),i=Un(r.as("s")),o=Un(r.as("m")),a=Un(r.as("h")),s=Un(r.as("d")),c=Un(r.as("M")),u=Un(r.as("y")),l=i<=qn.ss&&["s",i]||i<qn.s&&["ss",i]||o<=1&&["m"]||o<qn.m&&["mm",o]||a<=1&&["h"]||a<qn.h&&["hh",a]||s<=1&&["d"]||s<qn.d&&["dd",s]||c<=1&&["M"]||c<qn.M&&["MM",c]||u<=1&&["y"]||["yy",u];return l[2]=t,l[3]=+e>0,l[4]=n,function(e,t,n,r,i){return i.relativeTime(t||1,!!n,e,r)}.apply(null,l)}(this,!e,t);return e&&(n=t.pastFuture(+this,n)),t.postformat(n)},Wn.toISOString=Vn,Wn.toString=Vn,Wn.toJSON=Vn,Wn.locale=en,Wn.localeData=nn,Wn.toIsoString=T("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",Vn),Wn.lang=tn,V("X",0,0,"unix"),V("x",0,0,"valueOf"),le("x",oe),le("X",/[+-]?\d+(\.\d{1,3})?/),pe("X",function(e,t,n){n._d=new Date(1e3*parseFloat(e,10))}),pe("x",function(e,t,n){n._d=new Date(k(e))}),i.version="2.23.0",t=At,i.fn=fn,i.min=function(){return Nt("isBefore",[].slice.call(arguments,0))},i.max=function(){return Nt("isAfter",[].slice.call(arguments,0))},i.now=function(){return Date.now?Date.now():+new Date},i.utc=h,i.unix=function(e){return At(1e3*e)},i.months=function(e,t){return vn(e,t,"months")},i.isDate=u,i.locale=lt,i.invalid=v,i.duration=Yt,i.isMoment=w,i.weekdays=function(e,t,n){return gn(e,t,n,"weekdays")},i.parseZone=function(){return At.apply(null,arguments).parseZone()},i.localeData=ft,i.isDuration=Dt,i.monthsShort=function(e,t){return vn(e,t,"monthsShort")},i.weekdaysMin=function(e,t,n){return gn(e,t,n,"weekdaysMin")},i.defineLocale=dt,i.updateLocale=function(e,t){if(null!=t){var n,r,i=ot;null!=(r=ut(e))&&(i=r._config),t=P(i,t),(n=new M(t)).parentLocale=at[e],at[e]=n,lt(e)}else null!=at[e]&&(null!=at[e].parentLocale?at[e]=at[e].parentLocale:null!=at[e]&&delete at[e]);return at[e]},i.locales=function(){return C(at)},i.weekdaysShort=function(e,t,n){return gn(e,t,n,"weekdaysShort")},i.normalizeUnits=I,i.relativeTimeRounding=function(e){return void 0===e?Un:"function"==typeof e&&(Un=e,!0)},i.relativeTimeThreshold=function(e,t){return void 0!==qn[e]&&(void 0===t?qn[e]:(qn[e]=t,"s"===e&&(qn.ss=t-1),!0))},i.calendarFormat=function(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"},i.prototype=fn,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}()}).call(this,n(249)(e))},function(e,t,n){var r=n(2050),i=n(2055);e.exports=function(e,t){var n=i(e,t);return r(n)?n:void 0}},function(e,t,n){var r=n(202),i=n(659);e.exports=n(188)?function(e,t,n){return r.f(e,t,i(1,n))}:function(e,t,n){return e[t]=n,e}},function(e,t,n){var r=n(520),i=n(1226);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)}}}},function(e,t,n){var r=n(18);e.exports=r(function(e,t){return null!=t&&t.constructor===e||t instanceof e})},function(e,t,n){"use strict";n.d(t,"a",function(){return d}),n.d(t,"b",function(){return U}),n.d(t,"c",function(){return W}),n.d(t,"d",function(){return $});var r=n(0),i=n.n(r),o=(n(1),i.a.createContext(null));var a=function(e){e()},s=function(){return a},c={notify:function(){}};var u=function(){function e(e,t){this.store=e,this.parentSub=t,this.unsubscribe=null,this.listeners=c,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=s(),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=c)},e}(),l="undefined"!=typeof window&&void 0!==window.document&&void 0!==window.document.createElement?r.useLayoutEffect:r.useEffect;var d=function(e){var t=e.store,n=e.context,a=e.children,s=Object(r.useMemo)(function(){var e=new u(t);return e.onStateChange=e.notifyNestedSubs,{store:t,subscription:e}},[t]),c=Object(r.useMemo)(function(){return t.getState()},[t]);l(function(){var e=s.subscription;return e.trySubscribe(),c!==t.getState()&&e.notifyNestedSubs(),function(){e.tryUnsubscribe(),e.onStateChange=null}},[s,c]);var d=n||o;return i.a.createElement(d.Provider,{value:s},a)},f=n(71),h=n(135),p=n(434),m=n.n(p),v=n(522),g=[],y=[null,null];function b(e,t){var n=e[1];return[t.payload,n+1]}function _(e,t,n){l(function(){return e.apply(void 0,t)},n)}function w(e,t,n,r,i,o,a){e.current=r,t.current=i,n.current=!1,o.current&&(o.current=null,a())}function x(e,t,n,r,i,o,a,s,c,u){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||c():(o.current=e,s.current=e,a.current=!0,u({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 k=function(){return[null,0]};function E(e,t){void 0===t&&(t={});var n=t,a=n.getDisplayName,s=void 0===a?function(e){return"ConnectAdvanced("+e+")"}:a,c=n.methodName,l=void 0===c?"connectAdvanced":c,d=n.renderCountProp,p=void 0===d?void 0:d,E=n.shouldHandleStateChanges,S=void 0===E||E,T=n.storeKey,C=void 0===T?"store":T,O=(n.withRef,n.forwardRef),j=void 0!==O&&O,A=n.context,P=void 0===A?o:A,M=Object(h.a)(n,["getDisplayName","methodName","renderCountProp","shouldHandleStateChanges","storeKey","withRef","forwardRef","context"]),N=P;return function(t){var n=t.displayName||t.name||"Component",o=s(n),a=Object(f.a)({},M,{getDisplayName:s,methodName:l,renderCountProp:p,shouldHandleStateChanges:S,storeKey:C,displayName:o,wrappedComponentName:n,WrappedComponent:t}),c=M.pure;var d=c?r.useMemo:function(e){return e()};function E(n){var o=Object(r.useMemo)(function(){var e=n.reactReduxForwardedRef,t=Object(h.a)(n,["reactReduxForwardedRef"]);return[n.context,e,t]},[n]),s=o[0],c=o[1],l=o[2],p=Object(r.useMemo)(function(){return s&&s.Consumer&&Object(v.isContextConsumer)(i.a.createElement(s.Consumer,null))?s:N},[s,N]),m=Object(r.useContext)(p),E=Boolean(n.store)&&Boolean(n.store.getState)&&Boolean(n.store.dispatch);Boolean(m)&&Boolean(m.store);var T=E?n.store:m.store,C=Object(r.useMemo)(function(){return function(t){return e(t.dispatch,a)}(T)},[T]),O=Object(r.useMemo)(function(){if(!S)return y;var e=new u(T,E?null:m.subscription),t=e.notifyNestedSubs.bind(e);return[e,t]},[T,E,m]),j=O[0],A=O[1],P=Object(r.useMemo)(function(){return E?m:Object(f.a)({},m,{subscription:j})},[E,m,j]),M=Object(r.useReducer)(b,g,k),L=M[0][0],I=M[1];if(L&&L.error)throw L.error;var D=Object(r.useRef)(),R=Object(r.useRef)(l),B=Object(r.useRef)(),F=Object(r.useRef)(!1),U=d(function(){return B.current&&l===R.current?B.current:C(T.getState(),l)},[T,L,l]);_(w,[R,D,F,l,U,B,A]),_(x,[S,T,j,C,R,D,F,B,A,I],[T,j,C]);var q=Object(r.useMemo)(function(){return i.a.createElement(t,Object(f.a)({},U,{ref:c}))},[c,t,U]);return Object(r.useMemo)(function(){return S?i.a.createElement(p.Provider,{value:P},q):q},[p,q,P])}var T=c?i.a.memo(E):E;if(T.WrappedComponent=t,T.displayName=E.displayName=o,j){var O=i.a.forwardRef(function(e,t){return i.a.createElement(T,Object(f.a)({},e,{reactReduxForwardedRef:t}))});return O.displayName=o,O.WrappedComponent=t,m()(O,t)}return m()(T,t)}}function S(e,t){return e===t?0!==e||0!==t||1/e==1/t:e!=e&&t!=t}function T(e,t){if(S(e,t))return!0;if("object"!=typeof e||null===e||"object"!=typeof t||null===t)return!1;var n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return!1;for(var i=0;i<n.length;i++)if(!Object.prototype.hasOwnProperty.call(t,n[i])||!S(e[n[i]],t[n[i]]))return!1;return!0}function C(e){return function(t,n){var r=e(t,n);function i(){return r}return i.dependsOnOwnProps=!1,i}}function O(e){return null!==e.dependsOnOwnProps&&void 0!==e.dependsOnOwnProps?Boolean(e.dependsOnOwnProps):1!==e.length}function j(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=O(e);var i=r(t,n);return"function"==typeof i&&(r.mapToProps=i,r.dependsOnOwnProps=O(i),i=r(t,n)),i},r}}var A=[function(e){return"function"==typeof e?j(e):void 0},function(e){return e?void 0:C(function(e){return{dispatch:e}})},function(e){return e&&"object"==typeof e?C(function(t){return function(e,t){var n={},r=function(r){var i=e[r];"function"==typeof i&&(n[r]=function(){return t(i.apply(void 0,arguments))})};for(var i in e)r(i);return n}(e,t)}):void 0}];var P=[function(e){return"function"==typeof e?j(e):void 0},function(e){return e?void 0:C(function(){return{}})}];function M(e,t,n){return Object(f.a)({},n,e,t)}var N=[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 c=e(t,n,s);return a?i&&o(c,r)||(r=c):(a=!0,r=c),r}}}(e):void 0},function(e){return e?void 0:function(){return M}}];function L(e,t,n,r){return function(i,o){return n(e(i,o),t(r,o),o)}}function I(e,t,n,r,i){var o,a,s,c,u,l=i.areStatesEqual,d=i.areOwnPropsEqual,f=i.areStatePropsEqual,h=!1;function p(i,h){var p,m,v=!d(h,a),g=!l(i,o);return o=i,a=h,v&&g?(s=e(o,a),t.dependsOnOwnProps&&(c=t(r,a)),u=n(s,c,a)):v?(e.dependsOnOwnProps&&(s=e(o,a)),t.dependsOnOwnProps&&(c=t(r,a)),u=n(s,c,a)):g?(p=e(o,a),m=!f(p,s),s=p,m&&(u=n(s,c,a)),u):u}return function(i,l){return h?p(i,l):(s=e(o=i,a=l),c=t(r,a),u=n(s,c,a),h=!0,u)}}function D(e,t){var n=t.initMapStateToProps,r=t.initMapDispatchToProps,i=t.initMergeProps,o=Object(h.a)(t,["initMapStateToProps","initMapDispatchToProps","initMergeProps"]),a=n(e,o),s=r(e,o),c=i(e,o);return(o.pure?I:L)(a,s,c,e,o)}function R(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 B(e,t){return e===t}function F(e){var t=void 0===e?{}:e,n=t.connectHOC,r=void 0===n?E:n,i=t.mapStateToPropsFactories,o=void 0===i?P:i,a=t.mapDispatchToPropsFactories,s=void 0===a?A:a,c=t.mergePropsFactories,u=void 0===c?N:c,l=t.selectorFactory,d=void 0===l?D:l;return function(e,t,n,i){void 0===i&&(i={});var a=i,c=a.pure,l=void 0===c||c,p=a.areStatesEqual,m=void 0===p?B:p,v=a.areOwnPropsEqual,g=void 0===v?T:v,y=a.areStatePropsEqual,b=void 0===y?T:y,_=a.areMergedPropsEqual,w=void 0===_?T:_,x=Object(h.a)(a,["pure","areStatesEqual","areOwnPropsEqual","areStatePropsEqual","areMergedPropsEqual"]),k=R(e,o,"mapStateToProps"),E=R(t,s,"mapDispatchToProps"),S=R(n,u,"mergeProps");return r(d,Object(f.a)({methodName:"connect",getDisplayName:function(e){return"Connect("+e+")"},shouldHandleStateChanges:Boolean(e),initMapStateToProps:k,initMapDispatchToProps:E,initMergeProps:S,pure:l,areStatesEqual:m,areOwnPropsEqual:g,areStatePropsEqual:b,areMergedPropsEqual:w},x))}}var U=F();function q(){return Object(r.useContext)(o)}function z(e){void 0===e&&(e=o);var t=e===o?q:function(){return Object(r.useContext)(e)};return function(){return t().store}}var H=z();function V(e){void 0===e&&(e=o);var t=e===o?H:z(e);return function(){return t().dispatch}}var W=V(),Y=function(e,t){return e===t};function G(e){void 0===e&&(e=o);var t=e===o?q:function(){return Object(r.useContext)(e)};return function(e,n){void 0===n&&(n=Y);var i=t(),o=function(e,t,n,i){var o,a=Object(r.useReducer)(function(e){return e+1},0)[1],s=Object(r.useMemo)(function(){return new u(n,i)},[n,i]),c=Object(r.useRef)(),d=Object(r.useRef)(),f=Object(r.useRef)(),h=Object(r.useRef)(),p=n.getState();try{if(e!==d.current||p!==f.current||c.current){var m=e(p);o=void 0!==h.current&&t(m,h.current)?h.current:m}else o=h.current}catch(e){throw c.current&&(e.message+="\nThe error may be correlated with this previous error:\n"+c.current.stack+"\n\n"),e}return l(function(){d.current=e,f.current=p,h.current=o,c.current=void 0}),l(function(){function e(){try{var e=n.getState(),r=d.current(e);if(t(r,h.current))return;h.current=r,f.current=e}catch(e){c.current=e}a()}return s.onStateChange=e,s.trySubscribe(),e(),function(){return s.tryUnsubscribe()}},[n,s]),o}(e,n,i.store,i.subscription);return Object(r.useDebugValue)(o),o}}var K,$=G(),X=n(84);K=X.unstable_batchedUpdates,a=K},function(e,t,n){var r=n(200),i=n(58);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})},function(e,t,n){"use strict";n.d(t,"a",function(){return i}),n.d(t,"b",function(){return o}),n.d(t,"c",function(){return a});var r=n(74),i=n.n(r)()(function(e,t,n){return n>=e&&n<t}),o=function(e){return e<10?"0".concat(e):String(e)},a=function(e){return Intl.NumberFormat(void 0,{style:"percent",maximumFractionDigits:2}).format(e)}},function(e,t,n){var r=n(303),i=n(18),o=n(48),a=n(129);e.exports=i(function(e,t){return a(o(r)(e),t)})},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(0);t.default=function(e){var t=r.useRef();return r.useEffect(function(){t.current=e}),t.current}},function(e,t,n){var r=n(906),i=n(1052),o=n(508),a=n(308),s=n(2140),c=n(2142),u=n(1053),l=n(909),d=n(283),f=30,h="...",p=/\w*$/;e.exports=function(e,t){var n=f,m=h;if(a(t)){var v="separator"in t?t.separator:v;n="length"in t?l(t.length):n,m="omission"in t?r(t.omission):m}var g=(e=d(e)).length;if(o(e)){var y=u(e);g=y.length}if(n>=g)return e;var b=n-c(m);if(b<1)return m;var _=y?i(y,0,b).join(""):e.slice(0,b);if(void 0===v)return _+m;if(y&&(b+=_.length-b),s(v)){if(e.slice(b).search(v)){var w,x=_;for(v.global||(v=RegExp(v.source,d(p.exec(v))+"g")),v.lastIndex=0;w=v.exec(x);)var k=w.index;_=_.slice(0,void 0===k?b:k)}}else if(e.indexOf(r(v),b)!=b){var E=_.lastIndexOf(v);E>-1&&(_=_.slice(0,E))}return _+m}},function(e,t,n){var r=n(18),i=n(776),o=n(276);e.exports=r(function(e,t){return"function"!=typeof t.indexOf||o(t)?i(t,e,0):t.indexOf(e)})},function(e,t,n){var r=n(51),i=n(56),o=n(286),a=n(161),s=n(107);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})})},function(e,t,n){!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)},function(e,t,n){"use strict";t.__esModule=!0;var r,i=n(1889),o=(r=i)&&r.__esModule?r:{default:r};t.default=o.default},function(e,t,n){var r=n(1997)();r.helpers=n(81),n(2001)(r),r.Animation=n(1055),r.animationService=n(1056),r.defaults=n(106),r.Element=n(223),r.elements=n(285),r.Interaction=n(1057),r.layouts=n(414),r.platform=n(1058),r.plugins=n(1059),r.Scale=n(415),r.scaleService=n(284),r.Ticks=n(416),r.Tooltip=n(1060),n(2012)(r),n(2013)(r),n(2014)(r),n(2015)(r),n(2016)(r),n(2017)(r),n(2018)(r),n(2019)(r),n(2021)(r),n(2022)(r),n(2023)(r),n(2024)(r),n(2025)(r),n(2026)(r),n(2027)(r),n(2028)(r),n(2029)(r),n(2030)(r),n(2031)(r),n(2032)(r),n(2033)(r),n(2034)(r);var i=n(2035);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},function(e,t,n){"use strict";(function(e){n.d(t,"a",function(){return u}),n.d(t,"b",function(){return l});var r=n(79),i=n.n(r),o=n(1235),a=n.n(o),s=n(0),c=i()(Object(s.createContext)(null),{displayName:"CourseContext"});c.Consumer;var u=s.useContext.bind(null,c);function l(){var e,t=u();return null===(e=t.authors)||void 0===e?void 0:a()(e).call(e,function(e){return e.id===t.selectedAuthorId||e.id===t.author})}}).call(this,n(0))},function(e,t,n){e.exports=n(1737)},function(e,t,n){"use strict";n.d(t,"a",function(){return d}),n.d(t,"e",function(){return f}),n.d(t,"d",function(){return p}),n.d(t,"c",function(){return m}),n.d(t,"b",function(){return v});var r=n(212),i=n.n(r),o=n(204),a=n.n(o),s=n(17),c=n.n(s),u="quiz",l="section",d=i()({ORDER:null,QUIZ:null}),f=function(e){return"/lessons/".concat(encodeURIComponent(e))},h=c()("type"),p=h(l),m=h(u),v=a()(["settings","passToContinue"],!0)},function(e,t,n){"use strict";var r=n(2),i=n.n(r),o=n(0),a=n.n(o);t.a=function(e){var t=e.children,n=i()("cover__header-content");return a.a.createElement("div",{className:n},t)}},function(e,t,n){var r=n(603),i=n(389),o=n(124)("toStringTag"),a="Arguments"==i(function(){return arguments}());e.exports=r?i: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=Object(e),o))?n:a?i(t):"Object"==(r=i(t))&&"function"==typeof t.callee?"Arguments":r}},function(e,t,n){n(451);var r=n(1308),i=n(132),o=n(329),a=n(198),s=n(335),c=n(124)("toStringTag");for(var u in r){var l=i[u],d=l&&l.prototype;d&&o(d)!==c&&a(d,c,u),s[u]=s.Array}},function(e,t,n){var r=n(188),i=n(1081),o=n(659),a=n(340),s=n(454),c=n(244),u=n(2204),l=Object.getOwnPropertyDescriptor;t.f=r?l:function(e,t){if(e=a(e),t=s(t,!0),u)try{return l(e,t)}catch(e){}if(c(e,t))return o(!i.f.call(e,t),e[t])}},function(e,t,n){var r=n(576),i=n(1203),o=n(245),a=n(184),s=n(1086);e.exports=function(e,t){var n=1==e,c=2==e,u=3==e,l=4==e,d=6==e,f=5==e||d,h=t||s;return function(t,s,p){for(var m,v,g=o(t),y=i(g),b=r(s,p,3),_=a(y.length),w=0,x=n?h(t,_):c?h(t,0):void 0;_>w;w++)if((f||w in y)&&(v=b(m=y[w],w,g),e))if(n)x[w]=v;else if(v)switch(e){case 3:return!0;case 5:return m;case 6:return w;case 2:x.push(m)}else if(l)return!1;return d?-1:u||l?l:x}}},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,"a",function(){return r})},function(e,t,n){"use strict";var r=n(765).charAt,i=n(278),o=n(604),a=i.set,s=i.getterFor("String Iterator");o(String,"String",function(e){a(this,{type:"String Iterator",string:String(e),index:0})},function(){var e,t=s(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})})},function(e,t){e.exports={}},function(e,t,n){var r=n(400),i=n(187),o=n(175),a=n(1362),s=o(function(e,t){return 1===e?i(t):r(e,a(e,[],t))});e.exports=s},function(e,t,n){var r=n(1780),i=n(1785);e.exports=function(e,t){var n=i(e,t);return r(n)?n:void 0}},function(e,t,n){var r=n(500),i=n(1781),o=n(1782),a="[object Null]",s="[object Undefined]",c=r?r.toStringTag:void 0;e.exports=function(e){return null==e?void 0===e?s:a:c&&c in Object(e)?i(e):o(e)}},function(e,t){e.exports=function(e){return null!=e&&"object"==typeof e}},function(e,t,n){var r=n(1203),i=n(380);e.exports=function(e){return r(i(e))}},function(e,t,n){var r=n(126),i=n(311),o=n(244),a=n(2158),s=n(2205),c=n(381),u=c.get,l=c.enforce,d=String(s).split("toString");n(1082)("inspectSource",function(e){return s.call(e)}),(e.exports=function(e,t,n,s){var c=!!s&&!!s.unsafe,u=!!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?(c?!f&&e[t]&&(u=!0):delete e[t],u?e[t]=n:i(e,t,n)):u?e[t]=n:a(t,n)})(Function.prototype,"toString",function(){return"function"==typeof this&&u(this).source||s.call(this)})},function(e,t,n){var r=n(2161),i=n(244),o=n(2210),a=n(202).f;e.exports=function(e){var t=r.Symbol||(r.Symbol={});i(t,e)||a(t,e,{value:o.f(e)})}},function(e,t,n){var r=n(380),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+">"}},function(e,t,n){var r=n(122);e.exports=function(e){return r(function(){var t=""[e]('"');return t!==t.toLowerCase()||t.split('"').length>3})}},function(e,t,n){"use strict";var r,i="object"==typeof Reflect?Reflect:null,o=i&&"function"==typeof i.apply?i.apply:function(e,t,n){return Function.prototype.apply.call(e,t,n)};r=i&&"function"==typeof i.ownKeys?i.ownKeys:Object.getOwnPropertySymbols?function(e){return Object.getOwnPropertyNames(e).concat(Object.getOwnPropertySymbols(e))}:function(e){return Object.getOwnPropertyNames(e)};var a=Number.isNaN||function(e){return e!=e};function s(){s.init.call(this)}e.exports=s,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))}v(e,t,o,{once:!0}),"error"!==t&&function(e,t,n){"function"==typeof e.on&&v(e,"error",t,n)}(e,i,{once:!0})})},s.EventEmitter=s,s.prototype._events=void 0,s.prototype._eventsCount=0,s.prototype._maxListeners=void 0;var c=10;function u(e){if("function"!=typeof e)throw new TypeError('The "listener" argument must be of type Function. Received type '+typeof e)}function l(e){return void 0===e._maxListeners?s.defaultMaxListeners:e._maxListeners}function d(e,t,n,r){var i,o,a,s;if(u(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=l(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,s=c,console&&console.warn&&console.warn(s)}return e}function f(e,t,n){var r={fired:!1,wrapFn:void 0,target:e,type:t,listener:n},i=function(){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)}.bind(r);return i.listener=n,r.wrapFn=i,i}function h(e,t,n){var r=e._events;if(void 0===r)return[];var i=r[t];return void 0===i?[]:"function"==typeof i?n?[i.listener||i]:[i]:n?function(e){for(var t=new Array(e.length),n=0;n<t.length;++n)t[n]=e[n].listener||e[n];return t}(i):m(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 m(e,t){for(var n=new Array(t),r=0;r<t;++r)n[r]=e[r];return n}function v(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(s,"defaultMaxListeners",{enumerable:!0,get:function(){return c},set:function(e){if("number"!=typeof e||e<0||a(e))throw new RangeError('The value of "defaultMaxListeners" is out of range. It must be a non-negative number. Received '+e+".");c=e}}),s.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},s.prototype.setMaxListeners=function(e){if("number"!=typeof e||e<0||a(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},s.prototype.getMaxListeners=function(){return l(this)},s.prototype.emit=function(e){for(var t=[],n=1;n<arguments.length;n++)t.push(arguments[n]);var r="error"===e,i=this._events;if(void 0!==i)r=r&&void 0===i.error;else if(!r)return!1;if(r){var 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 c=i[e];if(void 0===c)return!1;if("function"==typeof c)o(c,this,t);else{var u=c.length,l=m(c,u);for(n=0;n<u;++n)o(l[n],this,t)}return!0},s.prototype.addListener=function(e,t){return d(this,e,t,!1)},s.prototype.on=s.prototype.addListener,s.prototype.prependListener=function(e,t){return d(this,e,t,!0)},s.prototype.once=function(e,t){return u(t),this.on(e,f(this,e,t)),this},s.prototype.prependOnceListener=function(e,t){return u(t),this.prependListener(e,f(this,e,t)),this},s.prototype.removeListener=function(e,t){var n,r,i,o,a;if(u(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},s.prototype.off=s.prototype.removeListener,s.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},s.prototype.listeners=function(e){return h(this,e,!0)},s.prototype.rawListeners=function(e){return h(this,e,!1)},s.listenerCount=function(e,t){return"function"==typeof e.listenerCount?e.listenerCount(t):p.call(e,t)},s.prototype.listenerCount=p,s.prototype.eventNames=function(){return this._eventsCount>0?r(this._events):[]}},function(e,t,n){var r=n(391),i=n(51),o=n(178);e.exports=i(r("tail",o(1,1/0)))},function(e,t,n){var r=n(43),i=n(664);e.exports=i(r)},function(e,t,n){var r=n(219),i=n(18),o=n(174);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]})})},function(e,t,n){var r=n(200),i=n(18);e.exports=i(function(e,t){return r([e],t)})},function(e,t,n){"use strict";n.d(t,"a",function(){return o});var r=n(538),i=n.n(r);function o(e,t){return(o=i.a||function(e,t){return e.__proto__=t,e})(e,t)}},function(e,t,n){e.exports=n(1448)},function(e,t,n){e.exports=n(1495)},function(e,t,n){
/** @license ISC License (c) copyright 2016 original and current authors */
var r=n(115),i=n(83);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))})},function(e,t,n){var r=n(364),i=n(41);
/*!
 * cookie
 * Copyright(c) 2012-2014 Roman Shtylman
 * Copyright(c) 2015 Douglas Christopher Wilson
 * MIT Licensed
 */
t.parse=function(e,t){if("string"!=typeof e)throw new TypeError("argument str must be a string");var n={},a=t||{},s=e.split(/; */),c=a.decode||o;return s.forEach(function(e){var t,o,a=e.indexOf("=");if(!(a<0)){var s=r(t=e.substr(0,a)).call(t),u=r(o=e.substr(++a,e.length)).call(o);'"'==u[0]&&(u=i(u).call(u,1,-1)),null==n[s]&&(n[s]=function(e,t){try{return t(e)}catch(t){return e}}(u,c))}}),n},t.serialize=function(e,t,n){var r=n||{},i=r.encode||a;if(!s.test(e))throw new TypeError("argument name is invalid");var o=i(t);if(o&&!s.test(o))throw new TypeError("argument val is invalid");var c=[e+"="+o];if(null!=r.maxAge){var u=r.maxAge-0;if(isNaN(u))throw new Error("maxAge should be a Number");c.push("Max-Age="+u)}if(r.domain){if(!s.test(r.domain))throw new TypeError("option domain is invalid");c.push("Domain="+r.domain)}if(r.path){if(!s.test(r.path))throw new TypeError("option path is invalid");c.push("Path="+r.path)}r.expires&&c.push("Expires="+r.expires.toUTCString());r.httpOnly&&c.push("HttpOnly");r.secure&&c.push("Secure");return c.join("; ")};var o=decodeURIComponent,a=encodeURIComponent,s=/^[\u0009\u0020-\u007e\u0080-\u00ff]+$/},function(e,t,n){var r=n(257),i=n(107);e.exports=i(r,0)},function(e,t,n){var r=n(18);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})},function(e,t,n){
/** @license ISC License (c) copyright 2016 original and current authors */
var r=n(115),i=n(201),o=n(453),a=n(170);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)})},function(e,t,n){"use strict";(function(e){var r=n(3),i=n.n(r),o=n(9),a=n(10),s=n(11),c=n(13),u=n(5),l=n(4),d=n.n(l),f=n(98),h=n.n(f),p=(n(1850),n(77)),m=n(1119),v=n.n(m),g=n(1),y=n.n(g),b=n(231),_=n.n(b),w=n(139),x=n.n(w),k=n(260),E=n.n(k),S=n(2),T=n.n(S),C=n(7),O=n.n(C),j=n(33),A=n.n(j),P=n(43),M=n.n(P),N=n(24),L=n.n(N),I=n(39),D=n.n(I),R=n(42),B=n(22),F=n(264),U=n(40),q=n(20),z=n(267),H=n(239),V=n(238),W=n(95),Y=n(103),G=n(85),K=n(268),$=n(102),X=n(26);function Q(e){var t=function(){if("undefined"==typeof Reflect||!i.a)return!1;if(i.a.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=Object(u.a)(e);if(t){var o=Object(u.a)(this).constructor;n=i()(r,arguments,o)}else n=r.apply(this,arguments);return Object(c.a)(this,n)}}var Z=function(e){var t,n=Object(B.c)("CDN_USER_CONTENT_URI"),r=new RegExp(Object(B.c)("CDN_URI"),"g");return Object(B.d)()?e:r.test(e)?d()(t="".concat(n)).call(t,_.a.parse(e).path):e},J=O()(D()(M.a,B.g),K.a),ee=function(t){Object(s.a)(r,t);var n=Q(r);function r(e){var t;return Object(o.a)(this,r),(t=n.call(this,e)).state={isReady:!1,duration:0},t}return Object(a.a)(r,[{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&&U.a.isPlaying&&(this.player.pause(),U.a.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"===Object(H.b)(t)&&this.teardownPlayer(),this.iFrameContainer&&a&&this.updateIframeFocusability({allowFocus:o})}},{key:"componentWillUnmount",value:function(){"video"===Object(H.b)(this.props.data)&&this.teardownPlayer()}},{key:"setupPlayer",value:function(){var e=this;this.player=new v.a.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;U.a.isPlaying&&U.a.playerId!==t&&(U.a.isPlaying=!1),U.a.playerId=t,U.a.isPlaying=!0}),U.a.addChangeListener(this.onChange=function(){var t=e.props.id;U.a.playerId===t&&(U.a.isPlaying?e.player.play():e.player.pause())})}},{key:"teardownPlayer",value:function(){U.a.isPlaying=!1,this.onChange&&U.a.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;Object(q.j)({element:this.iFrameContainer,selector:"iframe",tabIndex:Object(q.l)(t)})}},{key:"playerSupportsMethods",value:function(e){var t=this;return E()(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=Object(W.b)(this.togglePlay.bind(this)),r=Object(W.b)(function(){return t.keySeek(5)}),i=Object(W.b)(function(){return t.keySeek(-5)}),o=Object(W.b)(function(){return t.changeVolume(10)}),a=Object(W.b)(function(){return t.changeVolume(-10)});A()([[X.k,n],[X.i,r],[X.g,i],[X.m,o],[X.b,a]])(e)}},{key:"renderProvider",value:function(){var t=this.props,n=t.allowTabNavigation,r=t.externalLinksDisabled,i=t.showExternalLinksModal,o=t.showMetaData,a=t.data,s=a.providerUrl,c=a.provider,u=a.favicon;if(!o)return null;var l=Object(K.a)(s),d=r&&Object(V.a)(l),f=d?"":void 0,h=d?i:void 0,p=d?void 0:l,m=d?void 0:"noopener noreferrer",v=d?"button":void 0,g=d?void 0:"_blank";return e.createElement("h2",{className:"embed__provider"},e.createElement("a",{className:"brand--hoverColor","data-external":f,href:p,onClick:h,rel:m,role:v,tabIndex:Object(q.l)(n),target:g},e.createElement("img",{className:"embed__providerIcon",src:u,alt:u?c:null}),e.createElement("span",{className:"embed__providerName"},c)))}},{key:"renderMetaData",value:function(){var t,n,r=this.props,i=r.allowTabNavigation,o=r.data,a=r.externalLinksDisabled,s=r.labels,c=r.showExternalLinksModal,u=r.showMetaData,l=o.src,f=o.title,h=o.description,p=o.provider,m=s.embedReadMore,v=s.embedViewOn,g=Object(H.b)(o);if(!u&&"link"!==g)return null;var y=Object(K.a)(l),b=a&&Object(V.a)(y),_=b?"":void 0,w=b?c:void 0,x=b?void 0:y,k=b?void 0:"noopener noreferrer",E=b?"button":void 0,S=b?void 0:"_blank";return e.createElement("div",{className:"embed__meta__content"},e.createElement("h2",{className:"embed__title brand--head"},e.createElement("a",{className:"brand--hoverColor","data-external":_,href:x,onClick:w,rel:k,role:E,tabIndex:Object(q.l)(i),target:S},e.createElement(R.a,{value:f}))),e.createElement(R.a,{className:"embed__description brand--body brand--linkColor",value:h}),e.createElement("a",{className:"embed__readMore brand--hoverColor","data-external":_,href:x,onClick:w,rel:k,role:E,tabIndex:Object(q.l)(i),target:S},"link"===g?d()(t="".concat(m," ")).call(t,p):d()(n="".concat(v," ")).call(n,p),e.createElement("i",{className:"icon icon-chevron-right"})))}},{key:"render",value:function(){var t=this,n=this.props,r=n.allowTabNavigation,i=n.data,o=n.externalLinksDisabled,a=n.isLesson,s=n.labels,c=n.showExternalLinksModal,u=n.showMetaData,l=i.description,d=i.src,f=i.thumbnail,p=i.title,m=s.embedLinkGroup,v=s.embedPlayerGroup,g=s.embedReadMore,y=Object(H.b)(i);if("iframe"===y){var b=document.createElement("div");b.innerHTML=Object($.c)(d);var _=b.firstChild,w=_&&_.tagName&&"iframe"===_.tagName.toLowerCase(),x=100,k=32,E=d;if(w){var S=_.width.match(/%/),T=parseInt(_.width);_.src=Object(K.a)(_.src),E=b.innerHTML,x=S?T/100*700:T||16,k=parseInt(_.height)}var C=w?"".concat(100*(k/x),"%"):"3rem",O=w?E:"<div>Error: Invalid iframe tag.  Please check the iframe source.</div>";return e.createElement("div",{"aria-hidden":!r,"aria-label":v,className:"embed",role:Y.b},e.createElement("div",{className:"embed--iframe",dangerouslySetInnerHTML:{__html:O},style:{paddingBottom:C},ref:function(e){t.iFrameContainer=e}}))}if(a){var j,A=Object(K.a)(d),P=o&&Object(V.a)(A),M=P?"":void 0,N=P?c:void 0,L=P?void 0:A,I=P?void 0:"noopener noreferrer",D=P?"button":void 0,B=P?void 0:"_blank";return e.createElement("div",{"aria-hidden":!r,"aria-label":te(s,y),className:"embed embed--link embed--rich",role:Y.b},this.renderProvider(),h()(j=["link","photo"]).call(j,y)?e.createElement("a",{"data-external":M,href:L,onClick:N,rel:I,role:D,tabIndex:Object(q.l)(r),target:B},e.createElement("img",{alt:f?p:null,className:"embed__img",src:Z(f)})):this.renderEmbedIframe({allowTabNavigation:r,labels:s,src:d,thumbnail:f,title:p,type:y}),this.renderMetaData())}if("link"===y){var F=Object(K.a)(d),U=o&&Object(V.a)(F),z=U?"":void 0,W=U?c:void 0,G=U?void 0:F,X=U?void 0:"noopener noreferrer",Q=U?"button":void 0,J=U?void 0:"_blank";return e.createElement("div",{"aria-hidden":!r,"aria-label":m,className:"embed embed--link brand--head brand--linkColor",role:Y.b},e.createElement(R.a,{className:"embed__title brand--head",value:p}),e.createElement(R.a,{className:"embed__description",value:l}),e.createElement("a",{className:"embed__readMore brand--hoverColor",dataExternal:z,href:G,onClick:W,rel:X,role:Q,target:J},g))}return e.createElement("div",{className:"embed embed--media brand--head"},u?e.createElement(R.a,{"aria-hidden":!r,className:"embed__title brand--head",value:p}):null,this.renderEmbedIframe({allowTabNavigation:r,labels:s,src:d,thumbnail:f,title:p,type:y}))}},{key:"renderEmbedIframe",value:function(t){var n=this,r=t.allowTabNavigation,i=t.labels.embedPlayerGroup,o=t.src,a=t.thumbnail,s=t.title;if("photo"===t.type)return e.createElement("figure",{className:"embed__media-wrap"},e.createElement(F.a,{src:Z(a),title:s,allowTabNavigation:r}));var c=G.a.isIe11||G.a.isEdge,u=T()("embed__media-wrap",{"embed__media-wrap--ms_browser":c});return e.createElement("figure",{"aria-hidden":!r,"aria-label":i,className:u,onKeyDown:this.onKeyDown.bind(this),ref:function(e){n.iFrameContainer=e},tabIndex:Object(q.l)(r)},e.createElement("iframe",{ref:function(e){n.media=e},className:"embed__media",src:J(o),alt:s,frameBorder:"0",scrolling:"no",onLoad:this.setupPlayer.bind(this),allowFullScreen:!0,title:s}))}}],[{key:"defaultProps",get:function(){return{allowTabNavigation:!0,labels:{embedReadMore:z.a.embedReadMore,embedViewOn:"View on"},shouldPause:!1,showMetaData:!0}}},{key:"propTypes",get:function(){return{allowTabNavigation:y.a.bool,data:y.a.object.isRequired,progressChanged:y.a.func,isLesson:y.a.bool,shouldPause:y.a.bool,showMetaData:y.a.bool}}}]),r}(e.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=x()({externalLinksDisabled:L()(["course","externalLinksDisabled"])}),re=Object(p.b)(ne,{showExternalLinksModal:function(){return{type:"rise/globals/SHOW_EXTERNAL_LINKS_MODAL",payload:!0}}});t.a=re(ee)}).call(this,n(0))},function(e,t,n){"use strict";(function(e){n.d(t,"a",function(){return oe});var r=n(3),i=n.n(r),o=n(52),a=n.n(o),s=n(36),c=n.n(s),u=n(53),l=n.n(u),d=n(35),f=n.n(d),h=n(38),p=n.n(h),m=n(8),v=n(9),g=n(10),y=n(6),b=n(11),_=n(13),w=n(5),x=n(4),k=n.n(x),E=n(15),S=n.n(E),T=n(98),C=n.n(T),O=(n(1858),n(2)),j=n.n(O),A=n(7),P=n.n(A),M=n(33),N=n.n(M),L=n(529),I=n.n(L),D=n(14),R=n.n(D),B=n(1),F=n.n(B),U=n(84),q=n.n(U),z=n(231),H=n.n(z),V=n(1126),W=n.n(V),Y=n(85),G=n(267),K=n(1134),$=n(40),X=n(196),Q=n(32),Z=n(95),J=n(22),ee=n(20),te=n(26);function ne(e,t){var n=a()(e);if(c.a){var r=c()(e);t&&(r=l()(r).call(r,function(t){return f()(e,t).enumerable})),n.push.apply(n,r)}return n}function re(e){var t=function(){if("undefined"==typeof Reflect||!i.a)return!1;if(i.a.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=Object(w.a)(e);if(t){var o=Object(w.a)(this).constructor;n=i()(r,arguments,o)}else n=r.apply(this,arguments);return Object(_.a)(this,n)}}var ie=function(e){return Math.round(e.currentTime()/e.duration()*100)||0},oe=function(t){Object(b.a)(r,t);var n=re(r);function r(e){var t;return Object(v.a)(this,r),(t=n.call(this,e)).state={isReady:!1,shouldLoadPlayheadPosition:!1,playbackStarted:!1,playheadPositionSaveThrottle:0,showRestrictSeekTooltip:!1},t.showRestrictSeekTooltip=t.showRestrictSeekTooltip.bind(Object(y.a)(t)),t.updateSeekTooltip=t.updateSeekTooltip.bind(Object(y.a)(t)),t.getMaxTime=t.getMaxTime.bind(Object(y.a)(t)),t.onMediaStoreChange=t.onMediaStoreChange.bind(Object(y.a)(t)),t}return Object(g.a)(r,[{key:"updateContentFocusability",value:function(){var e=this.props.allowTabNavigation;Object(X.b)(this.container.getElementsByTagName("button")).forEach(function(t){Object(ee.i)(t,Object(ee.l)(e))}),Object(ee.j)({element:this.container,selector:".vjs-progress-holder",tabIndex:Object(ee.l)(e)}),Object(ee.j)({element:this.container,selector:".vjs-volume-bar",tabIndex:Object(ee.l)(e)}),Object(ee.j)({element:this.container,selector:".vjs-volume-menu-button",tabIndex:Object(ee.l)(e)})}},{key:"componentDidUpdate",value:function(e){this.updateContentFocusability(),!e.shouldPause&&this.props.shouldPause&&$.a.isPlaying&&(this.video.player.pause(),$.a.isPlaying=!1)}},{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,c=n.percentComplete,u=n.progressChanged,l=n.recordMediaPlayheadPosition,d=n.type;this.setState({shouldLoadPlayheadPosition:!0}),this.wasPaused=!1,this.seeking=!1,this.maxTime=o,this.updateContentFocusability(),i&&(this.configureVideoSeekBar(),this.configureSeekDiv()),t.ready(function(){t.el_&&(t.el_.removeAttribute("role"),t.el_.removeAttribute("aria-label")),c&&c<100&&"customVideo"!==d&&(t.play(),t.currentTime(o),t.pause()),t.on("timeupdate",e.videoUpdate=function(){Object(J.h)();var n=t.currentTime(),o=t.duration(),a=t.paused(),s=Math.floor(n),c=o*r/100||0;a&&!e.wasPaused&&n>e.maxTime&&(e.maxTime=n),i&&e.updateSeekTooltip();var d=t.ended()&&!e.seeking,f=!a&&!e.seeking;if(!i||d||f){n>e.maxTime&&(e.maxTime=n);var h=n/o*100;d&&(h=100),u&&u({currentTime:n,percentComplete:h}),s%5==0&&e.state.playheadPositionSaveThrottle!==s&&l&&(l(ie(t)),e.setState({playheadPositionSaveThrottle:s}))}else i&&!e.restrictingSeek&&n>e.maxTime&&c<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(){$.a.isPlaying&&$.a.playerId!==a&&($.a.isPlaying=!1),$.a.playerId=a,$.a.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(){$.a.playerId===a&&($.a.isPlaying=!1),l&&l(ie(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(ie(t)),e.seekTimeout=setTimeout(function(){e.seeking=!1},1e3)}),t.on("fullscreenchange",s),t.on("keyup",ee.g),t.on("contextmenu",function(e){e.preventDefault()}),$.a.addChangeListener(this.onMediaStoreChange)}},{key:"componentWillUnmount",value:function(){var e=this.props,t=e.onFullScreenChange,n=e.recordMediaPlayheadPosition,r=this.video.player;n&&n(ie(r)),$.a.isPlaying=!1,$.a.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 t=this,n=this.props,r=n.allowTabNavigation,i=n.labels.videoPlayerGroup,o=this.state,a=o.isReady,s=o.showRestrictSeekTooltip,c=o.playbackStarted,u=j()("video-a11y figure-video",{"figure-video--visible":a,"figure-video--restrict-seek":s,"video-playback-started":c});return e.createElement("div",{"aria-hidden":!r,"aria-label":i,className:"figure-container",onKeyDown:this.onKeyDown.bind(this),ref:function(e){t.container=e},role:"region"},e.createElement("figure",{className:u},this.renderPlayer()))}},{key:"renderCaptionTrack",value:function(t){var n=t.code,r=t.id,i=t.key,o=t.name,a=t.url||Object(J.g)(i);return e.createElement("track",{key:r,kind:"captions",label:o,src:a,srcLang:n})}},{key:"renderPlayer",value:function(){var t,n,r=this,i=this.props,o=i.canAdjustPlaybackSpeed,a=i.captionUID,s=i.captions,c=i.id,u=i.subtitle,l="customVideo"===i.type,d=P()(I()(1),R()("pathname"),H.a.parse),h=l?d(this.props.src):this.props.src,v=l?this.props.poster:Object(J.g)(this.props.poster),g=l?this.props.src:Object(J.g)(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,_=Y.a.isSafariVersion13OrLower||Y.a.isLocalFilesystem?{}:{crossOrigin:"anonymous"},w={controlBar:{children:{playToggle:!0,progressControl:!0,remainingTimeDisplay:!0,playbackRateMenuButton:!0,captionsButton:!0,pictureInPictureToggle:!0,fullscreenToggle:!0,volumePanel:{inline:!0}}},controls:!0,languages:K.a,playbackRates:b,preload:"none",textTrackSettings:!1};document.pictureInPictureEnabled||delete w.controlBar.children.pictureInPictureToggle;var x=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?ne(Object(n),!0).forEach(function(t){Object(m.a)(e,t,n[t])}):p.a?Object.defineProperties(e,p()(n)):ne(Object(n)).forEach(function(t){Object.defineProperty(e,t,f()(n,t))})}return e}({className:"figure-video__video",key:k()(t=k()(n="".concat(c,"-")).call(n,h,"-")).call(t,a),options:w,poster:v,ref:function(e){return r.video=e}},_),E=e.createElement("track",{kind:"captions",label:"English",src:l?u:Object(J.g)(u),srcLang:"en"}),T="".concat(g,"?v=1");return e.createElement(W.a,x,e.createElement("source",{src:T,type:y}),!s&&u&&E,s&&S()(s).call(s,this.renderCaptionTrack))}},{key:"onKeyDown",value:function(e){var t=this;if(!ae(e)){var n=Object(Z.b)(this.togglePlay.bind(this)),r=this.toggleFullScreen.bind(this),i=Object(Z.b)(function(){return t.keySeek(5)}),o=Object(Z.b)(function(){return t.keySeek(-5)});N()([[te.k,n],[te.d,r],[te.j,i],[te.h,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(!Y.a.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:"configureVideoSeekBar",value:function(){var e=this.video.player.controlBar.progressControl,t=e.seekBar;e.disable(),t.disable(),this.videoSeekBar=t}},{key:"configureSeekDiv",value:function(){var t,n=this.video.player.controlBar.el();this.progressBarElement=this.videoSeekBar.playProgressBar.el(),this.seekDiv=((t=document.createElement("div")).classList.add("seek-tooltip"),t.classList.add("seek-tooltip--hidden"),t),n.appendChild(this.seekDiv),q.a.render(e.createElement(Q.C,null),this.seekDiv)}},{key:"showRestrictSeekTooltip",value:function(e){this.props.canRestrictSeek&&this.seekDiv&&e!==this.state.showRestrictSeekTooltip&&(e?this.seekDiv.classList.remove("seek-tooltip--hidden"):this.seekDiv.classList.add("seek-tooltip--hidden"),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;$.a.playerId===e&&($.a.isPlaying?t.play():t.pause())}}}],[{key:"propTypes",get:function(){return{allowTabNavigation:F.a.bool,audioVideoPlayhead:F.a.number,canRestrictSeek:F.a.bool,currentTime:F.a.number,id:F.a.string.isRequired,onFullScreenChange:F.a.func,percentComplete:F.a.number,poster:F.a.string,progressChanged:F.a.func,recordMediaPlayheadPosition:F.a.bool,shouldPause:F.a.bool,src:F.a.string.isRequired,type:F.a.string}}},{key:"defaultProps",get:function(){return{allowTabNavigation:!0,currentTime:0,labels:{videoPlayerGroup:G.a.videoPlayerGroup},onFullScreenChange:function(){},percentComplete:0,progressChanged:Function.prototype,shouldPause:!1}}}]),r}(e.Component),ae=function(e){var t=e.target.className,n=Object(te.n)(e)&&C()(t).call(t,"vjs-volume-bar");return Object(te.e)(e)&&(C()(t).call(t,"vjs-control")||C()(t).call(t,"vjs-big-play-button"))||n}}).call(this,n(0))},function(e,t,n){"use strict";var r=n(0),i=n.n(r),o=n(62);t.a=function(e){var t=e.children,n=e.settings,r=e.type,a=n.backgroundColor,s=n.paddingTop,c=n.paddingBottom,u={backgroundColor:Object(o.a)("",a),paddingTop:"".concat(10*s,"px"),paddingBottom:"".concat(10*c,"px")};return i.a.createElement("div",{className:"block-".concat(r),style:u},t)}},function(e,t,n){e.exports=n(1625)},function(e,t,n){"use strict";var r=n(0),i=n.n(r);t.a=i.a.createContext(null)},function(e,t,n){var r=n(1358);"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 c={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=c),e.exports=c},function(e,t,n){e.exports=n(1503)},function(e,t,n){"use strict";n.d(t,"a",function(){return V}),n.d(t,"b",function(){return W});var r=n(27),i=n.n(r),o=n(7),a=n.n(o),s=n(127),c=n.n(s),u=n(49),l=n.n(u),d=n(48),f=n.n(d),h=n(116),p=n.n(h),m=n(50),v=n.n(m),g=n(91),y=n.n(g),b=n(87),_=n.n(b),w=n(28),x=n.n(w),k=n(69),E=n.n(k),S=n(57),T=n.n(S),C=n(204),O=n.n(C),j=n(25),A=n.n(j),P=n(14),M=n.n(P),N=n(17),L=n.n(N),I=n(78),D=n.n(I),R=n(70),B=n.n(R),F=n(39),U=n.n(F),q=n(72),z=n(438),H=function(e){return i()("correctlyAnswered",A()(M()("items"),B.a,l()(L()("isCorrect",!0)),v.a)(e),e)},V=A()(T()(_()("items"),Object(q.e)(E()(["isViewed","isCorrect"]))),E()(["percentViewed","correctlyAnswered"]),T()(_()("retryAttempts"),a()(p.a,c()(0)))),W=function(e){var t=e.itemId,n=e.isCorrect;return A()(T()(y()(["items",t]),A()(f()(x.a)({isComplete:n,isViewed:n}),x()({isCorrect:n}))),U()(O()(["items",t,"isCorrect"],!1),i()("lastIncorrectCardId",t)),H,D()(L()("percentComplete",100),z.a),z.b,U()(L()("percentComplete",100),i()("isComplete",!0)))}},function(e,t,n){"use strict";n.d(t,"a",function(){return c}),n.d(t,"b",function(){return u}),n.d(t,"c",function(){return l}),n.d(t,"d",function(){return d}),n.d(t,"f",function(){return f}),n.d(t,"e",function(){return h});var r=n(54),i=n.n(r),o=n(60),a=n(208),s=i()("rise/rise-com/"),c=s("FAVORITE_ADDED"),u=s("FAVORITE_REMOVED"),l=function(){return Object(o.d)(a.a)},d=function(){return Object(o.a)(c,void 0)},f=function(){return Object(o.d)(a.i)},h=function(){return Object(o.a)(u,void 0)}},function(e,t,n){
/** @license ISC License (c) copyright 2018 original and current authors */
var r=n(115),i=n(83);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))})},function(e,t,n){
/** @license ISC License (c) copyright 2016 original and current authors */
var r=n(487).chain,i=n(115),o=n(243),a=n(1745),s=n(83),c=n(170);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[c.chain]||t.chain).call(t,e)})},function(e,t,n){"use strict";var r,i,o,a,s,c=n(647).toUnsigned,u=n(647).toHexString,l=n(530);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=c(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]=c(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;return r=c(n[4]<<24|n[5]<<16|n[6]<<8|n[7]),i=e[r]||9e4,(l.findBox(t,["tfdt"]).map(function(e){var t,n;return t=e[0],n=c(e[4]<<24|e[5]<<16|e[6]<<8|e[7]),1===t&&(n*=Math.pow(2,32),n+=c(e[8]<<24|e[9]<<16|e[10]<<8|e[11])),n})[0]||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 h,p=l.findBox(f,[i.codec])[0];p&&(/^[a-z]vc[1-9]$/i.test(i.codec)?(h=p.subarray(78),"avcC"===l.parseType(h.subarray(4,8))&&h.length>11?(i.codec+=".",i.codec+=u(h[9]),i.codec+=u(h[10]),i.codec+=u(h[11])):i.codec="avc1.4d400d"):/^mp4[a,v]$/i.test(i.codec)&&(h=p.subarray(28),"esds"===l.parseType(h.subarray(4,8))&&h.length>20&&0!==h[19]?(i.codec+="."+u(h[19]),i.codec+="."+u(h[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=c(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}},function(e,t,n){"use strict";(function(e){n.d(t,"d",function(){return A}),n.d(t,"c",function(){return P}),n.d(t,"a",function(){return M}),n.d(t,"b",function(){return N});var r=n(3),i=n.n(r),o=n(19),a=n(9),s=n(10),c=n(6),u=n(11),l=n(13),d=n(5),f=n(4),h=n.n(f),p=(n(1905),n(2)),m=n.n(p),v=n(75),g=n.n(v),y=n(1),b=n.n(y),_=n(62),w=n(264),x=n(88),k=n(55),E=n(59),S=n(103),T=n(265),C=n(113);function O(e){var t=function(){if("undefined"==typeof Reflect||!i.a)return!1;if(i.a.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=Object(d.a)(e);if(t){var o=Object(d.a)(this).constructor;n=i()(r,arguments,o)}else n=r.apply(this,arguments);return Object(l.a)(this,n)}}var j=n(61).b.blocks,A=function(t){Object(u.a)(r,t);var n=O(r);function r(){var e,t;Object(a.a)(this,r);for(var i=arguments.length,o=new Array(i),s=0;s<i;s++)o[s]=arguments[s];return(t=n.call.apply(n,h()(e=[this]).call(e,o))).renderCaptionDelegate=t.renderCaption.bind(Object(c.a)(t)),t}return Object(s.a)(r,[{key:"renderCaption",value:function(t,n){return e.createElement(x.a,{className:"block-image__caption brand--body brand--linkColor",value:n})}},{key:"render",value:function(){var t=this.props,n=t.animateBlockEntrance,r=t.editable,i=t.isLearner,o=t.items,a=t.type,s=t.settings,c=t.renderCaption,u=void 0===c?this.renderCaptionDelegate:c,l=s.paddingTop,d=s.paddingBottom,f=s.backgroundColor,h=s.entranceAnimation,p=s.zoomOnClick,v=m()("block-image block-image--".concat(a),{"block-image--no-animation":!h,"block-image--dark":Object(C.b)(f)}),y={backgroundColor:Object(_.a)("",f),paddingTop:"".concat(10*l,"px"),paddingBottom:"".concat(10*d,"px")},b=o[0],x=b.id,T=b.caption,O=g()(b,"media.image.alt"),A=g()(b,"media.image.key"),P=Object(E.a)(g()(b,"media.image")),M=Object(S.a)({caption:T,editable:r,id:x}),N=g()(b,"media.image.originalUrl");return e.createElement("div",{className:v,"data-ba":j.blockImage,style:y},e.createElement("div",{className:"block-image__container"},e.createElement("div",{className:"block-image__row"},e.createElement("div",{className:"block-image__col"},e.createElement(k.a,{animateBlockEntrance:n,animateIn:"fadeIn",isLearner:i,offset:300},e.createElement(M.tagName,{"aria-labelledby":M.figcaptionId,className:"block-image__figure",role:M.role},e.createElement("div",{className:"block-image__image"},e.createElement(w.a,{alt:O,caption:T,disableZoom:!p,fileName:N,imageKey:A,src:P})),(r||T)&&e.createElement("figcaption",{id:M.figcaptionId},u(x,T))))))))}}],[{key:"propTypes",get:function(){return{lessonId:b.a.any,blockId:b.a.any,items:b.a.array.isRequired,settings:b.a.object.isRequired,type:b.a.string}}},{key:"defaultProps",get:function(){return{type:"hero",editable:!1,lessonId:"",blockId:"",items:[]}}}]),r}(e.Component),P=function(t){Object(u.a)(r,t);var n=O(r);function r(){var e,t;Object(a.a)(this,r);for(var i=arguments.length,o=new Array(i),s=0;s<i;s++)o[s]=arguments[s];return(t=n.call.apply(n,h()(e=[this]).call(e,o))).renderParagraphDelegate=t.renderParagraph.bind(Object(c.a)(t)),t.renderCaptionDelegate=t.renderCaption.bind(Object(c.a)(t)),t}return Object(s.a)(r,[{key:"renderParagraph",value:function(t,n){return e.createElement(x.a,{className:"block-image__text brand--body brand--linkColor",value:n})}},{key:"renderCaption",value:function(t,n){return e.createElement(x.a,{className:"block-image__caption brand--body brand--linkColor",value:n})}},{key:"renderImage",value:function(t,n,r,i){var o=this.props,a=o.editable,s=o.renderCaption,c=void 0===s?this.renderCaptionDelegate:s,u=g()(r,"media.image.alt"),l=g()(r,"media.image.key"),d=Object(E.a)(g()(r,"media.image")),f=Object(S.a)({caption:n,editable:a,id:t}),h=g()(r,"media.image.originalUrl"),p=this.props,m=p.animateBlockEntrance,v=p.isLearner,y=p.settings.zoomOnClick;return e.createElement(k.a,{animateBlockEntrance:m,animateIn:"right"===i?"fadeInRight":"fadeInLeft",isLearner:v},e.createElement(f.tagName,{"aria-labelledby":f.figcaptionId,className:"block-image__figure",role:f.role},e.createElement("div",{className:"block-image__image"},e.createElement(w.a,{alt:u,caption:n,disableZoom:!y,fileName:h,imageKey:l,src:d})),(a||n)&&e.createElement("figcaption",{id:f.figcaptionId},c(t,n))))}},{key:"render",value:function(){var t=this.props,n=t.items,r=t.settings,i=t.type,o=t.renderParagraph,a=void 0===o?this.renderParagraphDelegate:o,s=r.paddingTop,c=r.paddingBottom,u=r.backgroundColor,l=r.entranceAnimation,d=r.imagePosition,f=r.imageSize,h="right"===d,p=m()("block-image block-image--".concat(i),{"block-image--small":"small"===f,"block-image--large":"large"===f,"block-image--reverse":h,"block-image--no-animation":!l,"block-image--dark":Object(C.b)(u)}),v={backgroundColor:Object(_.a)("",u),paddingTop:"".concat(10*s,"px"),paddingBottom:"".concat(10*c,"px")},g=n[0],y=g.id,b=g.caption,w=g.paragraph;return e.createElement("div",{className:p,"data-ba":j.blockImage,style:v},e.createElement("div",{className:"block-image__container"},e.createElement("div",{className:"block-image__row"},e.createElement("div",{className:"block-image__col"},h?a(y,w):this.renderImage(y,b,g,"left")),e.createElement("div",{className:"block-image__col"},h?this.renderImage(y,b,g,"right"):a(y,w)))))}}],[{key:"propTypes",get:function(){return{lessonId:b.a.any,blockId:b.a.any,items:b.a.array.isRequired,settings:b.a.object.isRequired,type:b.a.string,editable:b.a.bool}}},{key:"defaultProps",get:function(){return{blockId:"",editable:!1,items:[],lessonId:"",type:"text-aside"}}}]),r}(e.Component),M=function(t){Object(u.a)(r,t);var n=O(r);function r(){var e,t;Object(a.a)(this,r);for(var i=arguments.length,o=new Array(i),s=0;s<i;s++)o[s]=arguments[s];return(t=n.call.apply(n,h()(e=[this]).call(e,o))).renderCaptionDelegate=t.renderCaption.bind(Object(c.a)(t)),t.renderOverlayDelegate=t.renderOverlay.bind(Object(c.a)(t)),t}return Object(s.a)(r,[{key:"renderCaption",value:function(t,n){return e.createElement(x.a,{className:"block-image__caption brand--head brand--linkColor",value:n})}},{key:"renderOverlay",value:function(t,n){return e.createElement(x.a,{className:"block-image__paragraph brand--head brand--linkColor",value:n})}},{key:"renderOverlayCaption",value:function(t,n){var r=this.props,i=r.animateBlockEntrance,o=r.isLearner,a=r.renderOverlay,s=void 0===a?this.renderOverlayDelegate:a;return e.createElement("div",{className:"block-image__container"},e.createElement("div",{className:"block-image__row"},e.createElement("div",{className:"block-image__col"},e.createElement(k.a,{animateBlockEntrance:i,animateIn:"fadeInUp",isLearner:o,duration:1},s(t,n)))))}},{key:"render",value:function(){var t=this.props,n=t.animateBlockEntrance,r=t.editable,i=t.isLearner,o=t.items,a=t.settings,s=t.type,c=t.renderCaption,u=void 0===c?this.renderCaptionDelegate:c,l=a.paddingTop,d=a.paddingBottom,f=a.backgroundColor,h=a.entranceAnimation,p=a.opacity,v=a.opacityColor,y=m()("block-image block-image--".concat(s),{"block-image--no-animation":!h,"block-image--dark":Object(C.b)(f)}),b={backgroundColor:Object(_.a)("",f),paddingTop:"".concat(10*l,"px"),paddingBottom:"".concat(10*d,"px")},w={opacity:p||.6,backgroundColor:v||"transparent"},x=o[0],O=x.id,A=x.caption,P=g()(x,"media.image.key"),M=Object(E.a)(g()(x,"media.image")),N=g()(x,"media.image.alt"),L=g()(x,"media.image.originalUrl"),I=Object(T.a)({alt:N,caption:A,fileName:L,key:P}),D="overlay"===s,R=Object(S.a)({caption:A,editable:r,id:O,isOverlayType:D});return e.createElement(R.tagName,{"aria-labelledby":R.figcaptionId,className:y,"data-ba":j.blockImage,role:R.role,style:b},function(t,n,r,i){return n?i:e.createElement(k.a,{animateBlockEntrance:t,animateIn:"fadeIn",isLearner:r,duration:1},i)}(n,D,i,e.createElement("div",{className:"block-image__figure"},P&&e.createElement("div",{className:"block-image__image",style:{backgroundImage:"url('".concat(M,"')")}},e.createElement("img",{src:M,alt:I,role:"img"}),e.createElement("div",{className:"block-image__overlay",style:w})),D?this.renderOverlayCaption(O,A,s):null)),!D&&(r||A)&&e.createElement("figcaption",{className:"block-image__container brand--body",id:R.figcaptionId},u(O,A)))}}],[{key:"propTypes",get:function(){return{lessonId:b.a.any,blockId:b.a.any,items:b.a.array.isRequired,settings:b.a.object.isRequired,type:b.a.string,editable:b.a.bool}}},{key:"defaultProps",get:function(){return{blockId:"",editable:!1,items:[],lessonId:"",type:"full"}}}]),r}(e.Component),N=function(t){return e.createElement(M,Object(o.a)({type:"overlay"},t))}}).call(this,n(0))},function(e,t,n){"use strict";var r=n(16),i=n.n(r),o=n(33),a=n.n(o),s=n(37),c=n.n(s),u=n(64),l=n.n(u),d={ANY:"ANY",CORRECT_INCORRECT:"CORRECT_INCORRECT",CHOICE:"CHOICE"},f={label:"Any Response",prop:"feedback"};a()([[c()(d.ANY),i()(f)],[c()(d.CHOICE),i()({label:"By Choice",prop:"choice"})],[c()(d.CORRECT_INCORRECT),i()({correctProp:"feedbackCorrect",incorrectProp:"feedbackIncorrect",label:"Correct / Incorrect",type:"CORRECT_INCORRECT"})],[l.a,i()(f)]]);t.a=d},function(e,t,n){"use strict";(function(e){n.d(t,"e",function(){return C}),n.d(t,"a",function(){return O}),n.d(t,"b",function(){return j}),n.d(t,"c",function(){return A}),n.d(t,"d",function(){return P});var r=n(3),i=n.n(r),o=n(19),a=n(9),s=n(10),c=n(6),u=n(11),l=n(13),d=n(5),f=n(4),h=n.n(f),p=n(15),m=n.n(p),v=n(41),g=n.n(v),y=(n(1887),n(2)),b=n.n(y),_=n(1),w=n.n(_),x=n(62),k=n(88),E=n(55);function S(e){var t=function(){if("undefined"==typeof Reflect||!i.a)return!1;if(i.a.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=Object(d.a)(e);if(t){var o=Object(d.a)(this).constructor;n=i()(r,arguments,o)}else n=r.apply(this,arguments);return Object(l.a)(this,n)}}var T=n(61).b.blocks,C=function(t){Object(u.a)(r,t);var n=S(r);function r(){var e,t;Object(a.a)(this,r);for(var i=arguments.length,o=new Array(i),s=0;s<i;s++)o[s]=arguments[s];return(t=n.call.apply(n,h()(e=[this]).call(e,o))).renderTextDelegate=t.renderText.bind(Object(c.a)(t)),t}return Object(s.a)(r,[{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(t,n){var r=t.type,i=n.paragraph,o="note"===r,a=b()("block-impact__quote brand--linkColor",{"brand--body":"a"===r,"brand--head brand--beforeBackground":"b"===r,"brand--head":"c"===r,"brand--body brand--beforeBackground":"d"===r,"brand--head brand--border brand--background-transparent":o});return e.createElement(k.a,{className:a,value:i})}},{key:"render",value:function(){var t,n=this,r=this.props,i=r.animateBlockEntrance,o=r.isLearner,a=r.items,s=r.type,c=r.settings,u=r.renderText,l=void 0===u?this.renderTextDelegate:u,d=c.paddingTop,f=c.paddingBottom,h=c.backgroundColor,p=c.entranceAnimation,v=b()("block-impact block-impact--".concat(s),{"block-impact--no-animation":!p}),y={backgroundColor:Object(x.a)("",h),paddingTop:"".concat(10*d,"px"),paddingBottom:"".concat(10*f,"px")};return e.createElement("div",{className:v,"data-ba":T.blockImpact,style:y},e.createElement("div",{className:"block-impact__wrap"},e.createElement("div",{className:"block-impact__container"},e.createElement("div",{className:"block-impact__row"},m()(t=g()(a).call(a,0,1)).call(t,function(t){return e.createElement(E.a,{animateBlockEntrance:i,animateIn:n.getEntranceAnimationType(),duration:n.getEntranceAnimationDuration(),isLearner:o,key:t.id},e.createElement("div",{className:"block-impact__col"},e.createElement("div",{className:"block-impact__note-icon brand--color"},e.createElement("i",{className:"icon icon-info"})),l(n.props,t)))})))))}}],[{key:"propTypes",get:function(){return{lessonId:w.a.any,blockId:w.a.any,items:w.a.array.isRequired,settings:w.a.object.isRequired,type:w.a.string}}},{key:"defaultProps",get:function(){return{items:[],type:"a"}}}]),r}(e.Component),O=function(t){return e.createElement(C,Object(o.a)({type:"b"},t))},j=function(t){return e.createElement(C,Object(o.a)({type:"c"},t))},A=function(t){return e.createElement(C,Object(o.a)({type:"d"},t))},P=function(t){return e.createElement(C,Object(o.a)({type:"note"},t))}}).call(this,n(0))},function(e,t,n){"use strict";(function(e){n.d(t,"b",function(){return J}),n.d(t,"d",function(){return ee}),n.d(t,"c",function(){return te}),n.d(t,"a",function(){return ie});var r=n(3),i=n.n(r),o=n(9),a=n(10),s=n(6),c=n(11),u=n(13),l=n(5),d=n(4),f=n.n(d),h=n(41),p=n.n(h),m=n(15),v=n.n(m),g=(n(1910),n(77)),y=n(139),b=n.n(y),_=n(1),w=n.n(_),x=n(2),k=n.n(x),E=n(1154),S=n.n(E),T=n(65),C=n.n(T),O=n(108),j=n.n(O),A=n(66),P=n.n(A),M=n(28),N=n.n(M),L=n(24),I=n.n(L),D=n(23),R=n.n(D),B=n(17),F=n.n(B),U=n(291),q=n(88),z=n(358),H=n(55),V=n(42),W=n(1155),Y=n(359),G=n(239),K=n(22),$=n(62),X=n(32);function Q(e){var t=function(){if("undefined"==typeof Reflect||!i.a)return!1;if(i.a.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=Object(l.a)(e);if(t){var o=Object(l.a)(this).constructor;n=i()(r,arguments,o)}else n=r.apply(this,arguments);return Object(u.a)(this,n)}}var Z=n(61).b.blocks,J=function(t){Object(c.a)(r,t);var n=Q(r);function r(){var e,t;Object(o.a)(this,r);for(var i=arguments.length,a=new Array(i),c=0;c<i;c++)a[c]=arguments[c];return(t=n.call.apply(n,f()(e=[this]).call(e,a))).renderCaptionDelegate=t.renderCaption.bind(Object(s.a)(t)),t}return Object(a.a)(r,[{key:"renderCaption",value:function(t){var n=t.caption;return e.createElement(q.a,{className:"block-audio__caption brand--body brand--linkColor",value:n})}},{key:"renderItem",value:function(t){var n,r,i=this.props,o=i.blockId,a=i.labels,s=i.lessonId,c=i.loadMedia,u=i.progress,l=i.recordMediaPlayheadPosition,d=i.renderCaption,h=void 0===d?this.renderCaptionDelegate:d,p=t.id,m=t.media,v=void 0===m?{}:m,g=v.audio,y=v.tmp,b=((void 0===y?{}:y).audio||g).key,_=f()(n=f()(r="".concat(s,"-")).call(r,o,"-")).call(n,p),w=R()(0,["items",o,"items",p,"audioVideoPlayhead"],u);return e.createElement("div",{key:p,className:"block-audio__item"},c?e.createElement(U.b,{audioVideoPlayhead:w,key:_,id:_,labels:a,mediaSrc:b,onEnd:this.handleOnEnd.bind(this,p),recordMediaPlayheadPosition:l}):null,h(t))}},{key:"handleOnEnd",value:function(e){this.props.onStep({id:e})}},{key:"render",value:function(){var t=this,n=this.props,r=n.animateBlockEntrance,i=n.isLearner,o=n.items,a=n.settings,s=a.paddingTop,c=a.paddingBottom,u=a.backgroundColor,l=a.entranceAnimation,d=k()("block-audio",{"block-audio--no-animation":!l}),f={backgroundColor:Object($.a)("",u),paddingTop:"".concat(10*s,"px"),paddingBottom:"".concat(10*c,"px")},h=o.length>0?p()(o).call(o,0,1):[];return e.createElement("div",{className:d,"data-ba":Z.blockAudio,style:f},e.createElement(H.a,{animateBlockEntrance:r,animateIn:"fadeIn",isLearner:i,offset:150},e.createElement("div",{className:"block-audio__wrapper"},v()(h).call(h,function(e,n){return t.renderItem(e,n)}))))}}],[{key:"propTypes",get:function(){return{audioVideoPlayhead:w.a.number,blockId:w.a.any,editable:w.a.bool,items:w.a.array,lessonId:w.a.any,loadMedia:w.a.bool.isRequired,onStep:w.a.func,recordMediaPlayheadPosition:w.a.func,settings:w.a.object.isRequired}}},{key:"defaultProps",get:function(){return{audioVideoPlayhead:0,blockId:"",editable:!1,items:[],lessonId:"",onStep:Function.prototype,recordMediaPlayheadPosition:Function.prototype}}}]),r}(e.Component),ee=function(t){Object(c.a)(r,t);var n=Q(r);function r(){var e,t;Object(o.a)(this,r);for(var i=arguments.length,a=new Array(i),c=0;c<i;c++)a[c]=arguments[c];return(t=n.call.apply(n,f()(e=[this]).call(e,a))).renderCaptionDelegate=t.renderCaption.bind(Object(s.a)(t)),t}return Object(a.a)(r,[{key:"renderVideo",value:function(t){var n=this.props,r=n.blockId,i=n.editable,o=n.enableVideoPlaybackSpeed,a=n.labels,s=n.partnerContent,c=n.progress,u=n.recordMediaPlayheadPosition,l=n.settings,d=n.takingSnapshot,f=n.type,h=t.captions,p=t.captionUID,m=t.id,v=t.key,g=t.keyId,y=t.partnerContentId,b=t.poster,_=t.subtitle,w=v||t.src,x=R()(0,["items",r,"items",m,"audioVideoPlayhead"],c),k=C()(F()("id",y),s)||{},E=e.createElement("div",null,e.createElement("img",{className:"block-video__poster",src:b,alt:"Video Poster"})),S=e.createElement("div",null,e.createElement("div",{className:"block-video__placeholder"})),T=e.createElement("div",null,e.createElement(Y.a,{audioVideoPlayhead:x,canAdjustPlaybackSpeed:o,canRestrictSeek:l.forwardSeekRestricted&&!i,captionUID:p,captions:h,id:g,key:g,labels:a,partnerContent:k,poster:b,progressChanged:this.handleProgressChanged.bind(this,m),recordMediaPlayheadPosition:u,src:w,subtitle:_,type:v?"video":f}));return d?E:w?T:S}},{key:"renderCaption",value:function(t){var n=t.caption;return e.createElement(q.a,{className:"block-audio__caption brand--body brand--linkColor",value:n})}},{key:"renderItem",value:function(t){var n,r,i=this.props,o=i.courseId,a=i.lessonId,s=i.blockId,c=i.loadMedia,u=i.partnerContent,l=i.publishedAt,d=i.settings,h=i.tenantId,p=i.renderCaption,m=void 0===p?this.renderCaptionDelegate:p,v=d.backgroundColor,g=d.mediaWidth,y=void 0===g?"1":g,b=t.id,_=t.media,w=t.partnerContentId,x=_.customVideo,E=void 0===x?{}:x,S=_.tmp,T=void 0===S?{}:S,O=_.video,A=void 0===O?{}:O,M=j()("poster",A)?A:N()(A,E),L=j()("poster",T.video||{})&&T.video,I=Object(K.d)()?M:L||M,D=I.captionUID,R=I.captions,B=I.key,U=I.poster,q=I.src,z=I.subtitle,H={captionUID:D,captions:R,id:b,key:B,keyId:f()(n=f()(r="".concat(a,"-")).call(r,s,"-")).call(n,b),partnerContentId:w,poster:U,src:q,subtitle:z},V=C()(F()("id",w),u)||{},Y=V&&!P()(V),G=k()("block-video__item",{"block-video__item--small":"0"===y,"block-video__item--medium":"1"===y,"block-video__item--full":"2"===y});return e.createElement("div",{key:b,className:G,"data-ba":Z.blockVideo},c&&this.renderVideo(H),e.createElement("div",{className:"block-video__wrapper"},m(t)),Y&&e.createElement(W.a,{backgroundColor:v,blockId:s,courseId:o,partnerContent:V,publishedAt:l,tenantId:h}))}},{key:"handleProgressChanged",value:function(e,t){t.percentComplete>=100&&this.props.onStep({id:e})}},{key:"render",value:function(){var t=this,n=this.props,r=n.animateBlockEntrance,i=n.isLearner,o=n.items,a=n.settings,s=a.paddingTop,c=a.paddingBottom,u=a.backgroundColor,l=a.entranceAnimation,d=k()("block-video",{"block-video--no-animation":!l}),f={backgroundColor:Object($.a)("",u),paddingTop:"".concat(10*s,"px"),paddingBottom:"".concat(10*c,"px")},h=o.length>0?p()(o).call(o,0,1):[];return e.createElement("div",{className:d,style:f},e.createElement(H.a,{animateBlockEntrance:r,animateIn:"fadeIn",isLearner:i,offset:250},v()(h).call(h,function(e,n){return t.renderItem(e,n)})))}}],[{key:"propTypes",get:function(){return{audioVideoPlayhead:w.a.number,blockId:w.a.any,courseId:w.a.string,editable:w.a.bool,items:w.a.array,labels:w.a.object,lessonId:w.a.any,loadMedia:w.a.bool.isRequired,onStep:w.a.func,partnerContent:w.a.array,publishedAt:w.a.string,settings:w.a.object.isRequired,tenantId:w.a.string,type:w.a.string}}},{key:"defaultProps",get:function(){return{audioVideoPlayhead:0,items:[],editable:!1,lessonId:"",blockId:"",onStep:Function.prototype,partnerContent:[]}}}]),r}(e.Component),te=function(t){Object(c.a)(r,t);var n=Q(r);function r(){return Object(o.a)(this,r),n.apply(this,arguments)}return Object(a.a)(r,[{key:"renderItem",value:function(t,n){var r,i=t.id,o=t.media.embed,a=t.settings,s=void 0===a?{}:a,c=this.props,u=c.loadMedia,l=c.labels,d=c.settings,h=s.showMetaData,p=d.showBorder,m=void 0===p||p,v=k()("block-embed__item",{"block-embed__item--border":m});return e.createElement("section",{key:i,className:v,"data-ba":Z.blockEmbed},u&&e.createElement(z.a,{id:f()(r="".concat(n,"-")).call(r,i),labels:l,isLesson:!0,data:o,showMetaData:h}))}},{key:"render",value:function(){var t=this,n=this.props,r=n.animateBlockEntrance,i=n.blockId,o=n.isLearner,a=n.items,s=n.settings,c=s.paddingTop,u=s.paddingBottom,l=s.backgroundColor,d=s.entranceAnimation,f=s.mediaWidth,h=void 0===f?0:f,m="link"!==Object(G.a)(a),g=k()("block-embed",{"block-video--no-animation":!d}),y=k()("block-embed__wrapper",{"block-embed__wrapper--medium":m&&"1"===h,"block-embed__wrapper--full":m&&"2"===h}),b={backgroundColor:Object($.a)("",l),paddingTop:"".concat(10*c,"px"),paddingBottom:"".concat(10*u,"px")},_=a.length>0?p()(a).call(a,0,1):[];return e.createElement("div",{className:g,style:b},e.createElement(H.a,{animateBlockEntrance:r,animateIn:"fadeIn",isLearner:o,offset:300},e.createElement("div",{className:y},v()(_).call(_,function(e){return t.renderItem(e,i)}))))}}],[{key:"propTypes",get:function(){return{lessonId:w.a.any,blockId:w.a.any,items:w.a.array,settings:w.a.object.isRequired,editable:w.a.bool,loadMedia:w.a.bool.isRequired}}},{key:"defaultProps",get:function(){return{items:[],editable:!1,lessonId:"",blockId:""}}}]),r}(e.Component),ne=function(t){Object(c.a)(r,t);var n=Q(r);function r(){return Object(o.a)(this,r),n.apply(this,arguments)}return Object(a.a)(r,[{key:"render",value:function(){var t=this.props,n=t.animateBlockEntrance,r=t.isLearner,i=t.items,o=t.settings,a=i[0].media.attachment;return e.createElement("div",{style:this.styles(o)},e.createElement(H.a,{animateBlockEntrance:n,animateIn:"fadeIn",isLearner:r},e.createElement("div",{className:"block-text--onecol"},e.createElement("div",{className:"block-text__container"},e.createElement("div",{className:"block-text__row"},e.createElement("div",{className:"block-text__col"},this.renderAttachment(a)))))))}},{key:"renderAttachment",value:function(e){return e.key?this.renderDownload(e):this.renderNoFile()}},{key:"renderDownload",value:function(t){var n=t.key,r=t.mimeType,i=t.originalUrl,o=t.size,a=this.props,s=a.externalLinksDisabled,c=a.showExternalLinksModal,u=Object(K.g)(n),l=s?"":void 0,d=s?c:void 0,f=s?void 0:u,h=s?void 0:"noopener noreferrer",p=s?"button":void 0,m=s?void 0:"_blank";return e.createElement("a",{className:"block-attachment brandHover","data-external":l,download:i,href:f,onClick:d,rel:h,role:p,target:m},e.createElement("div",{className:"block-attachment__main"},e.createElement("div",{className:"block-attachment__icon"},this.fileIcon(r)),e.createElement("div",{className:"block-attachment__info brand--head"},e.createElement(V.a,{className:"block-attachment__title",value:i}),e.createElement("div",{className:"block-attachment__size"},S()(o,{round:1})))),e.createElement("div",{className:"block-attachment__rest"},e.createElement(X.k,{className:"brandHover__target--fill"})))}},{key:"renderNoFile",value:function(){return e.createElement("div",{className:"block-attachment block-attachment--none","data-ba":Z.blockAttachment},e.createElement("div",{className:"block-attachment__main"},e.createElement("div",{className:"block-attachment__icon"},e.createElement(X.o,{"aria-label":"File"})),e.createElement("div",{className:"block-attachment__info brand--head"},e.createElement("div",{className:"block-attachment__title"},"File Attachment Block"),e.createElement("div",{className:"block-attachment__size"},"No file added"))))}},{key:"fileIcon",value:function(t){return/excel|spreadsheet/.test(t)?e.createElement(X.t,{"aria-label":"Microsoft Excel Spreadsheet"}):/pdf/.test(t)?e.createElement(X.q,{"aria-label":"PDF File"}):/word/.test(t)?e.createElement(X.p,{"aria-label":"Microsoft Word Document"}):/powerpoint|presentation/.test(t)?e.createElement(X.r,{"aria-label":"PowerPoint Presentation"}):/rtf|richtext/.test(t)?e.createElement(X.s,{"aria-label":"Rich Text File"}):/zip/.test(t)?e.createElement(X.u,{"aria-label":"ZIP File"}):e.createElement(X.o,{"aria-label":"File"})}},{key:"styles",value:function(e){return{backgroundColor:Object($.a)("",e.backgroundColor),paddingTop:"".concat(10*e.paddingTop,"px"),paddingBottom:"".concat(10*e.paddingBottom,"px")}}}],[{key:"propTypes",get:function(){return{blockId:w.a.string.isRequired,items:w.a.array.isRequired,lessonId:w.a.string,loadMedia:w.a.bool.isRequired,settings:w.a.object.isRequired}}}]),r}(e.Component),re=b()({externalLinksDisabled:I()(["course","externalLinksDisabled"])}),ie=Object(g.b)(re,{showExternalLinksModal:function(){return{type:"rise/globals/SHOW_EXTERNAL_LINKS_MODAL",payload:!0}}})(ne)}).call(this,n(0))},function(e,t,n){"use strict";(function(e){n.d(t,"a",function(){return ge});var r=n(3),i=n.n(r),o=n(9),a=n(10),s=n(6),c=n(11),u=n(13),l=n(5),d=n(4),f=n.n(d),h=n(98),p=n.n(h),m=n(41),v=n.n(m),g=n(15),y=n.n(g),b=(n(1933),n(185)),_=n.n(b),w=n(7),x=n.n(w),k=n(27),E=n.n(k),S=n(37),T=n.n(S),C=n(66),O=n.n(C),j=n(31),A=n.n(j),P=n(50),M=n.n(P),N=n(112),L=n.n(N),I=n(23),D=n.n(I),R=n(129),B=n.n(R),F=n(292),U=n.n(F),q=n(317),z=n.n(q),H=n(2),V=n.n(H),W=n(1),Y=n.n(W),G=n(62),K=n(20),$=n(164),X=n(72),Q=n(88),Z=n(55),J=n(42),ee=n(171),te=n(371),ne=n(137),re=n(194),ie=n(214),oe=n(718);function ae(e){var t=function(){if("undefined"==typeof Reflect||!i.a)return!1;if(i.a.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=Object(l.a)(e);if(t){var o=Object(l.a)(this).constructor;n=i()(r,arguments,o)}else n=r.apply(this,arguments);return Object(u.a)(this,n)}}var se=n(61).b.blocks,ce=ne.b.FILL_IN_THE_BLANK,ue=ne.b.MATCHING,le=ne.b.MULTIPLE_CHOICE,de=ne.b.MULTIPLE_RESPONSE,fe=te.a.ANY,he=te.a.CHOICE,pe=te.a.CORRECT_INCORRECT,me={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"},ve=D()(null,[0,"type"]),ge=function(t){Object(c.a)(r,t);var n=ae(r);function r(){var e,t;Object(o.a)(this,r);for(var i=arguments.length,a=new Array(i),c=0;c<i;c++)a[c]=arguments[c];return(t=n.call.apply(n,f()(e=[this]).call(e,a))).state={selectedAnswer:null,selectedIndices:[],chosen:!1,answered:!1,fillinValue:"",matches:{}},t.retakeAnimationStageOne=null,t.retakeAnimationStageTwo=null,t.handleFillIn=t.handleFillIn.bind(Object(s.a)(t)),t.handleChoiceSelect=t.handleChoiceSelect.bind(Object(s.a)(t)),t.handleMatch=t.handleMatch.bind(Object(s.a)(t)),t.handleMultipleResponseChange=t.handleMultipleResponseChange.bind(Object(s.a)(t)),t.handleRetake=t.handleRetake.bind(Object(s.a)(t)),t.renderQuestionTitle=t.renderQuestionTitle.bind(Object(s.a)(t)),t.renderMultipleResponseOptionText=t.renderMultipleResponseOptionText.bind(Object(s.a)(t)),t.renderMultipleChoiceOptionText=t.renderMultipleChoiceOptionText.bind(Object(s.a)(t)),t}return Object(a.a)(r,[{key:"componentDidUpdate",value:function(e,t){t.answered&&!this.state.answered&&this.getType()!==ce&&Object(K.c)(this.wrapper)}},{key:"componentWillUnmount",value:function(){this.retakeAnimationStageOne&&(clearTimeout(this.retakeAnimationStageOne),this.retakeAnimationStageOne=null),this.retakeAnimationStageTwo&&(clearTimeout(this.retakeAnimationStageTwo),this.retakeAnimationStageTwo=null)}},{key:"handleMatch",value:function(e){var t=e.dragIndex,n=e.dropZoneIndex,r=this.state.matches,i=x()(E()(t,n),B()(T()(n)),$.d)(r);this.setState({matches:i})}},{key:"handleMultipleResponseChange",value:function(e){var t=e.optionIndex,n=this.state.selectedIndices,r=p()(n).call(n,t)?z()([t]):_()(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()===ce&&Object(K.c)(e.wrapper),e.retakeAnimationStageTwo=null})},950)}},{key:"renderQuestionTitle",value:function(t,n){var r=t.title;return e.createElement(Q.a,{className:"quiz-card__title brand--body brand--linkColor",value:r,component:"div",id:n})}},{key:"renderQuestion",value:function(t){var n=this.state,r=n.answered,i=n.retake,o=n.selectedAnswer,a=this.props,s=a.blockId,c=a.enableVideoPlaybackSpeed,u=a.labels,l=a.renderQuestionTitle,d=void 0===l?this.renderQuestionTitle:l,f=u.feedbackGroup,h=u.quizCorrect,p=u.quizIncorrect,m=u.quizSubmit,v=u.quizTakeAgain,g=t.id,y=t.media,b=t.settings,_=t.type,w=this.state.answered,x=this.getIsCorrect({item:t}),k=this.getCanSubmit({item:t}),E=this.onSubmit.bind(this,g,k),S=this.getFeedback({item:t,isCorrect:x,selectedAnswer:o}),T="q-".concat(g),C=V()("block-knowledge__retake-container",{"block-knowledge__retake-container--active":r}),O=V()("block-knowledge__retake","brand--hoverColor",{"block-knowledge__retake--active":r&&!i});return e.createElement(ee.b,{key:g},d(t,T),e.createElement(ee.e,{blockId:s,enableVideoPlaybackSpeed:c,labels:u,media:y,opts:b}),e.createElement(ee.d,{type:_},this.renderType({isCorrect:x,item:t,onSubmit:E,canSubmit:k,questionHtmlId:T})),e.createElement(ee.a,{allowTabNavigation:!r,canProceed:w,canSubmit:k,onSubmit:E,quizSubmit:m}),e.createElement(ee.c,{allowTabNavigation:w,canProceed:w,feedback:S,hasFeedback:!!S,isCorrect:x,feedbackGroup:f,quizCorrect:h,quizIncorrect:p,renderText:function(){return e.createElement(J.a,{className:"quiz-card__feedback-text brand--body brand--linkColor",allowTabNavigation:r,value:S})}}),e.createElement("div",{className:C},e.createElement("button",{"aria-hidden":!r,className:O,onClick:this.handleRetake,tabIndex:Object(K.l)(r),type:"button"},e.createElement("div",{className:"block-knowledge__retake-content"},e.createElement("div",{className:"block-knowledge__retake-text brand--ui"},v),e.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,c=t.type,u=t.isCaseSensitive;switch(c){case ce:return Object(ie.g)({answers:Object(ie.e)(s),fillinValue:r,isCaseSensitive:u});case ue:return Object(X.b)(i);case de:return Object(ie.h)({answers:s,selectedIndices:a});case le:default:return o===Object(ie.b)(s)}}},{key:"getType",value:function(){var e=this.props.items;return ve(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,c=r.selectedIndices;switch(t.type){case ce:return L()(O()(o))&&L()(i);case ue:return Object(ie.i)(a)===M()(n);case de:return L()(O()(c))&&L()(i);case le:default:return L()(A()(s))&&L()(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 he:return D()("",[r,"feedback"],i);case pe:return n?a:s;case fe:default:return o}}},{key:"getTypeLabel",value:function(){var e=this.getType();return e&&me[e]||"Knowledge Check"}},{key:"renderMultipleResponseOptionText",value:function(t,n){var r=n.title;return e.createElement(Q.a,{className:"cursorAuto",value:r,onClick:oe.a,component:"span"})}},{key:"renderMultipleChoiceOptionText",value:function(t,n){var r=n.title;return e.createElement(Q.a,{className:"quiz-multiple-choice-option__label brand--body cursorAuto",value:r,onClick:oe.a,component:"div"})}},{key:"renderType",value:function(t){var n=t.isCorrect,r=t.item,i=t.onSubmit,o=t.canSubmit,a=t.questionHtmlId,s=this.props,c=s.color,u=s.isLearner,l=s.labels,d=s.prefersKeyboardNavigation,f=s.renderMultipleResponseOptionText,h=void 0===f?this.renderMultipleResponseOptionText:f,p=s.renderMultipleChoiceOptionText,m=void 0===p?this.renderMultipleChoiceOptionText:p,v=this.state,g=v.answered,y=v.fillinValue,b=v.matches,_=v.retake,w=v.selectedAnswer,x=v.selectedIndices,k=r.answers,E=void 0===k?[]:k,S=r.type,T=l.quizAcceptableResponses,C=l.quizAnswerPlaceholder,O=Object(X.i)(E),j=O,A=U()(O);switch(S){case ce:return e.createElement(re.a,{allowTabNavigation:!0,isComplete:g,isCorrect:n,onChange:this.handleFillIn,onEnterToSubmit:i,options:Object(ie.e)(E),revealAnswers:!0,questionHtmlId:a,quizAcceptableResponses:T,quizAnswerPlaceholder:C,value:y});case ue:return e.createElement(re.b,{allowTabNavigation:!0,answers:Object(ie.a)(S)(E),canSubmit:o,isActive:!0,isComplete:g,isLearner:u,matchIndices:j,matches:b,onEnterToSubmit:i,onMatch:this.handleMatch,prefersKeyboardNavigation:!0,revealAnswers:!0,titleIndices:A,isKnowledgeCheck:!0,isRetake:_});case de:return e.createElement(re.d,{allowTabNavigation:!0,correctIds:Object(ie.d)(E),isComplete:g,onChange:this.handleMultipleResponseChange,onEnterToSubmit:i,options:E,prefersKeyboardNavigation:d,renderOptionText:h.bind(this,r),revealAnswers:!0,selectedIndices:x});case le:default:return e.createElement(re.c,{allowTabNavigation:!0,color:c,correctId:Object(ie.c)(E)||Object(ie.f)(E),isComplete:g,onChange:this.handleChoiceSelect,onEnterToSubmit:i,options:E,prefersKeyboardNavigation:d,questionHtmlId:a,renderOptionText:m.bind(this,r),revealAnswers:!0,selectedIndex:w})}}},{key:"render",value:function(){var t=this,n=this.props,r=n.animateBlockEntrance,i=n.isLearner,o=n.items,a=n.settings,s=this.state,c=s.answered,u=s.retake,l=a.paddingTop,d=a.paddingBottom,f=a.backgroundColor,h=a.entranceAnimation,p=V()("block-knowledge",{"block-knowledge--no-animation":!h,"block-knowledge--answered":c,"block-knowledge--retake":u}),m={backgroundColor:Object(G.a)("",f),paddingTop:"".concat(10*l,"px"),paddingBottom:"".concat(10*d,"px")},g=o.length>0?v()(o).call(o,0,1):[];return e.createElement("div",{className:p,"data-ba":se.blockKnowledge,style:m,ref:function(e){t.block=e}},e.createElement(Z.a,{animateBlockEntrance:r,animateIn:"fadeIn",isLearner:i},e.createElement("div",{className:"block-knowledge__container"},e.createElement("div",{className:"block-knowledge__row"},e.createElement("div",{className:"block-knowledge__col"},e.createElement("div",{"aria-label":this.getTypeLabel(),className:"block-knowledge__wrapper",ref:function(e){t.wrapper=e}},y()(g).call(g,function(e){return t.renderQuestion(e)})))))))}}],[{key:"propTypes",get:function(){return{lessonId:Y.a.any,blockId:Y.a.any,items:Y.a.array,settings:Y.a.object.isRequired,onStep:Y.a.func}}},{key:"defaultProps",get:function(){return{items:[],lessonId:"",blockId:"",onStep:Function.prototype}}}]),r}(e.Component)}).call(this,n(0))},function(e,t,n){var r=n(651);e.exports=function(e,t){return r(e,t)}},function(e,t,n){"use strict";(function(e){n.d(t,"a",function(){return s}),n.d(t,"b",function(){return c});var r=n(19),i=n(101),o=["Default"];function a(t){return function(n){var a=n.Default,s=Object(i.a)(n,o);return e.createElement(a,Object(r.a)({},s,{className:"brand--".concat(t)}))}}var s=a("head"),c=a("ui")}).call(this,n(0))},function(e,t,n){var r=n(173);e.exports=r("navigator","userAgent")||""},function(e,t){e.exports=function(e){return function(t){return-1!==e.indexOf(t)}}},function(e,t,n){
/** @license ISC License (c) copyright 2016 original and current authors */
var r=n(243),i=n(83),o=n(281),a=n(408),s=n(1475),c=n(1476);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)||c(e)?" "+e.toString():" "+e;var t}e.exports=u},function(e,t){e.exports=function(e){if(null==e)throw TypeError("Can't call method on "+e);return e}},function(e,t,n){var r,i,o,a=n(2206),s=n(158),c=n(311),u=n(244),l=n(1204),d=n(1084),f=n(126).WeakMap;if(a){var h=new f,p=h.get,m=h.has,v=h.set;r=function(e,t){return v.call(h,e,t),t},i=function(e){return p.call(h,e)||{}},o=function(e){return m.call(h,e)}}else{var g=l("state");d[g]=!0,r=function(e,t){return c(e,g,t),t},i=function(e){return u(e,g)?e[g]:{}},o=function(e){return u(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}}}},function(e,t){var n=Math.ceil,r=Math.floor;e.exports=function(e){return isNaN(e=+e)?0:(e>0?r:n)(e)}},function(e,t,n){"use strict";n.d(t,"c",function(){return he}),n.d(t,"b",function(){return pe}),n.d(t,"d",function(){return ge}),n.d(t,"a",function(){return Se});var r=n(257),i=n.n(r),o=n(260),a=n.n(o),s=n(16),c=n.n(s),u=n(27),l=n.n(u),d=n(153),f=n.n(d),h=n(100),p=n.n(h),m=n(7),v=n.n(m),g=n(109),y=n.n(g),b=n(127),_=n.n(b),w=n(259),x=n.n(w),k=n(37),E=n.n(k),S=n(49),T=n.n(S),C=n(48),O=n.n(C),j=n(80),A=n.n(j),P=n(116),M=n.n(P),N=n(31),L=n.n(N),I=n(82),D=n.n(I),R=n(50),B=n.n(R),F=n(91),U=n.n(F),q=n(87),z=n.n(q),H=n(28),V=n.n(H),W=n(226),Y=n.n(W),G=n(69),K=n.n(G),$=n(57),X=n.n($),Q=n(23),Z=n.n(Q),J=n(92),ee=n.n(J),te=n(14),ne=n.n(te),re=n(17),ie=n.n(re),oe=n(70),ae=n.n(oe),se=n(39),ce=n.n(se),ue=n(73),le=n(72),de=n(114),fe=n(67),he=function(e){var t=e.activeIndex,n=e.id;return function(e){return e(Object(fe.g)({id:n,updateFn:me({activeIndex:t})}))}},pe=function(e){var t=e.currentPassingScore,n=e.id;return function(e){return e(Object(fe.g)({id:n,updateFn:ve(t)}))}},me=function(e){var t=e.activeIndex;return l()("activeIndex",t)},ve=function(e){return v()(X()(z()("retryAttempts"),v()(M.a,_()(0))),ce()(ie()("passed",!1),K()(["passed"])),ce()(ie()("isComplete",!1),K()(["isComplete"])),K()(["activeIndex","originalItemProgress","percentComplete","score","reportResults","questionsDrawn","questionList"]),X()(z()("items"),Object(le.e)(ee()(["id","index"]))),X()(z()("passingScore"),c()(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(Object(fe.g)({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()(ce()(ie()("percentComplete",100),be({finalRetryAttempt:t,id:n,passingScore:o,passToContinue:a})),fe.f,_e,X()(U()(["items",r]),O()(V.a)({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 Object(ue.e)(a,o,n,t),V()({passed:a,isComplete:s,reportResults:!0},e)}},_e=function(e){return l()("score",v()(Math.round,Y()(100),O()(x.a)(v()(B.a,D.a,ne()("items"))(e)),B.a,T()(ie()("isCorrect",!0)),ae.a,ne()("items"))(e),e)},we=f()(v()(E()(3),B.a),a()(p()(L.a))),xe=v()(ae.a,ee()(["passed","retryAttempts","score"])),ke=v()(we,xe),Ee=function(e){var t=e.id,n=e.state;return Object(de.c)(n,Z()({},["lessons",t,"items"]),D.a,B.a,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 X()(U()(["lessons",n]),O()(V.a)({isComplete:!0,activeIndex:Ee({id:n,state:e}),reportResults:!0,passed:r,passingScore:i,percentComplete:100,retryAttempts:a,score:o}),e)}}(e),c()(e))})},function(e,t,n){var r=n(18);e.exports=r(function(e,t){return Array.prototype.slice.call(t,0).sort(e)})},function(e,t,n){"use strict";n.d(t,"b",function(){return v}),n.d(t,"c",function(){return g}),n.d(t,"d",function(){return y}),n.d(t,"e",function(){return b}),n.d(t,"f",function(){return _});var r,i=n(8),o=n(27),a=n.n(o),s=n(60),c=n(54),u=n.n(c)()("rise/search/"),l=u("RESET_SEARCH"),d=u("SET_SEARCH_ACTIVE"),f=u("SET_SEARCH_ACTIVE_LESSONS"),h=u("SET_SEARCH_LESSONS"),p=u("SET_SEARCH_TERM"),m={active:!1,activeLessons:[],lessons:[],term:null};t.a=Object(s.c)(m,(r={},Object(i.a)(r,l,function(e,t){return t?a()("active",e.active,m):e}),Object(i.a)(r,d,function(e,t){return a()("active",t,e)}),Object(i.a)(r,f,function(e,t){return a()("activeLessons",t,e)}),Object(i.a)(r,h,function(e,t){return a()("lessons",t,e)}),Object(i.a)(r,p,function(e,t){return a()("term",t,e)}),r));var v=Object(s.a)(l),g=Object(s.a)(d),y=Object(s.a)(f),b=Object(s.a)(h),_=Object(s.a)(p)},function(e,t,n){"use strict";n.d(t,"a",function(){return y}),n.d(t,"e",function(){return b}),n.d(t,"c",function(){return _}),n.d(t,"d",function(){return w}),n.d(t,"b",function(){return x});var r=n(197),i=n(77),o=(n(98),n(100)),a=n.n(o),s=n(80),c=n.n(s),u=n(31),l=n.n(u),d=n(17),f=n.n(d),h=n(168),p=n.n(h),m=n(99),v=n(192),g=(f()("navigationMode",m.e.RESTRICTED),f()("sidebarMode",m.i.OPEN),a()(f()("sidebarMode",m.i.HIDDEN)));f()("navigationType",m.h.SIDEBAR),f()("navigationType",m.h.OVERLAY),f()("navigationType",m.h.COMPACT),c()(p()(l.a,"navigation"),g,f()("navigation",!0));function y(e){return null==e?void 0:e.course}function b(){return Object(i.d)(function(e){return y(e)})}function _(e){return y(e).navigationMode}function w(e){return y(e).trackingQuizId}function x(e){return y(e).coverImage}Object(r.a)(x,function(e){return Object(v.a)(e)})},function(e,t,n){"use strict";var r=n(325),i=n(32),o=n(22),a=n(0),s=n.n(a),c=function(e){var t=e.avatar;return t?s.a.createElement("div",{className:"cover__header-content-authors-avatar",style:{backgroundImage:"url(".concat(Object(o.g)(t),")")}}):s.a.createElement("div",{className:"cover__header-content-authors-avatar-fallback"},s.a.createElement(i.D,{decorative:!0}))};t.a=function(e){var t,n,i=e.className,o=void 0===i?"":i,a=(null!==(t=Object(r.a)())&&void 0!==t?t:{}).selectedAuthorId,u=null!==(n=Object(r.b)())&&void 0!==n?n:{},l=u.authorName,d=u.avatar;if("none"===a)return null;var f=l||"Unknown User",h="By ".concat(f);return s.a.createElement("div",{"aria-label":"Authors",className:"".concat(o," cover__header-content-authors")},s.a.createElement(c,{avatar:d}),s.a.createElement("div",{className:"cover__header-content-authors-name"},s.a.createElement("span",{"aria-hidden":"true"},f),s.a.createElement("span",{className:"visually-hidden"},h)))}},function(e,t,n){"use strict";n.d(t,"b",function(){return et}),n.d(t,"f",function(){return tt}),n.d(t,"d",function(){return nt}),n.d(t,"e",function(){return at}),n.d(t,"h",function(){return ht}),n.d(t,"a",function(){return vt}),n.d(t,"g",function(){return bt}),n.d(t,"c",function(){return wt});var r=n(52),i=n.n(r),o=n(36),a=n.n(o),s=n(53),c=n.n(s),u=n(35),l=n.n(u),d=n(38),f=n.n(d),h=n(1242),p=n(8),m=n(44),v=n(141),g=n(4),y=n.n(g),b=n(41),_=n.n(b),w=n(16),x=n.n(w),k=n(531),E=n.n(k),S=n(237),T=n.n(S),C=n(1192),O=n.n(C),j=n(430),A=n.n(j),P=n(7),M=n.n(P),N=n(33),L=n.n(N),I=n(97),D=n.n(I),R=n(109),B=n.n(R),F=n(37),U=n.n(F),q=n(89),z=n.n(q),H=n(2197),V=n.n(H),W=n(49),Y=n.n(W),G=n(65),K=n.n(G),$=n(138),X=n.n($),Q=n(48),Z=n.n(Q),J=n(269),ee=n.n(J),te=n(429),ne=n.n(te),re=n(43),ie=n.n(re),oe=n(80),ae=n.n(oe),se=n(30),ce=n.n(se),ue=n(28),le=n.n(ue),de=n(1196),fe=n.n(de),he=n(112),pe=n.n(he),me=n(143),ve=n.n(me),ge=n(23),ye=n.n(ge),be=n(25),_e=n.n(be),we=n(14),xe=n.n(we),ke=n(17),Ee=n.n(ke),Se=n(46),Te=n.n(Se),Ce=n(292),Oe=n.n(Ce),je=n(384),Ae=n.n(je),Pe=n(740),Me=n.n(Pe),Ne=n(64),Le=n.n(Ne),Ie=n(346),De=n.n(Ie),Re=n(227),Be=n.n(Re),Fe=n(246),Ue=n.n(Fe),qe=n(70),ze=n.n(qe),He=n(39),Ve=n.n(He),We=n(72),Ye=n(114),Ge=n(1193),Ke=n(137);function $e(e,t){var n=i()(e);if(a.a){var r=a()(e);t&&(r=c()(r).call(r,function(t){return l()(e,t).enumerable})),n.push.apply(n,r)}return n}function Xe(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?$e(Object(n),!0).forEach(function(t){Object(p.a)(e,t,n[t])}):f.a?Object.defineProperties(e,f()(n)):$e(Object(n)).forEach(function(t){Object.defineProperty(e,t,l()(n,t))})}return e}var Qe=M()(Ue.a,Be.a),Ze=ye()(!1,["settings","isCaseSensitive"]),Je=function(e){return ae()(x()(Ze(e)),Ue.a,Qe)},et=function(e){var t=e.item,n=e.itemProgress;return xe()("text",n)&&function(e){var t=e.item,n=e.itemProgress;return Object(Ye.c)(t,Te()([],"answers"),ce()(M()(Je(t),xe()("title"))),D()(Object(Ye.a)(Je(t),xe()("text"),n)))}({item:t,itemProgress:n})},tt=function(e){var t=e.itemProgress;return Object(We.b)(Te()({},"matches",t))},nt=function(e){var t,n,r,i=e.item,o=e.itemProgress;return U()(xe()("selectedIndex",o),(n=(t=i).answers,r=t.correct,X()(Ee()("id",r),n)))},rt=E()(ie.a),it=Z()(X.a),ot=function(e){var t,n=e.item,r=e.itemProgress;return U()((t=r,Ae()(rt,Te()([],"selectedIndices",t))),function(e){return Object(Ye.c)(e,Te()([],"corrects"),ce()(M()(it(Te()([],"answers",e)),Ee()("id"))),Ae()(rt))}(n))},at=function(e){var t=e.item,n=e.itemProgress;return xe()("selectedIndices",n)&&ot({item:t,itemProgress:n})},st=function(e){return Object(Ye.c)(e,M()(We.i,Te()([],"answers")),ve()("matchIndices"),O()("titleIndices",M()(Oe.a,xe()("matchIndices"))),le()(e))},ct=ye()(!1,["settings","shuffleAnswerChoices"]),ut=function(e){return L()([[Ee()("type",Ke.b.MATCHING),st],[function(){return ct(e)},z()({answers:Oe.a})],[Le.a,ie.a]])},lt=O()("items",function(e){var t=e.items,n=(e.progress||{}).items,r=M()(String,xe()("id")),i=Object(We.d)(n,xe()("isComplete")),o=Object(We.c)(r,i)(t),a=M()(pe.a,xe()("isComplete")),s=Object(We.d)(n,a),c=Object(We.c)(r,s)(t);return y()(o).call(o,Oe()(c))}),dt=B()(function(e){return V()(function(e){return M()(ee()(K.a,e),Ee()("id"),xe()("id"))}(e),ie.a)}),ft=_e()(A()(xe()("answers"),xe()("answers")),fe()(B()(function(e){return ce()(function(e){return M()(fe()(T.a),dt(e))}(e))})),ve()("answers")),ht=ee()(function(e){return ce()((t=e,_e()(dt(t),V()(ft,fe()(T.a)),fe()(T.a))));var t}),pt=Y()(Ee()("drawn",!0)),mt=X()(Ee()("type",Ke.b.DRAW_FROM_QUESTION_BANK)),vt=function(e){for(var t=e.items,n=e.currentItems,r=e.progress,i=Object(v.a)(t),o=mt(i);-1!==o;){var a,s=Me()(o,i),c=Object(m.a)(s,2),u=c[0],l=c[1],d=De()(l),f=pt(n);i=y()(a=[]).call(a,Object(v.a)(u),Object(v.a)(f),Object(v.a)(d)),o=mt(i)}return{items:i,progress:yt({items:i,progress:r})}},gt=function(e){return function(t,n,r){var i=n.id,o=e.originalItemProgress,a={};o&&(a=o[r]||{});var s=M()(K()(Ee()("index",r)),ze.a)(e.items);return t[i]=Xe(Xe(Xe({},a),s),{},{id:i,index:r}),t}},yt=function(e){var t=e.questionIndexList,n=e.items,r=e.progress;return Xe(Xe({},r),{},{questionsDrawn:!0,questionList:t,items:n.reduce(gt(r),{})})},bt=function(e){for(var t=e.id,n=e.items,r=e.progress,i=e.updateProgress,o=Object(v.a)(n),a=mt(o),s=[],c=0,u=function(){for(var e,t=Me()(a,o),n=Object(m.a)(t,2),i=n[0],u=n[1],l=Object(h.a)(u),d=l[0],f=_()(l).call(l,1),p=d.drawCount,g=d.questions,b=[],w=[],x=[];b.length<p;)if(r.questionsDrawn){var k=r.questionList[c];ne()(function(e){var t,n=g[e];b.push(Xe(Xe({},n),{},{drawn:!0,id:y()(t="".concat(d.id,"-")).call(t,n.id)}))},k),x.push.apply(x,Object(v.a)(k))}else{var E,S=Object(Ge.b)({drawCount:p,questions:g,drawnQuestions:w});b.push(Xe(Xe({},S),{},{drawn:!0,id:y()(E="".concat(d.id,"-")).call(E,S.id)})),w.push(S.id),x.push(S.index)}o=y()(e=[]).call(e,Object(v.a)(i),b,Object(v.a)(f)),s.push(x),c++,a=mt(o)};-1!==a;)u();var l=yt({questionIndexList:s,items:o,progress:r});return i({id:t,currentLesson:t,type:"quiz",updateFn:function(){return l}}),{items:o,progress:l}},_t=ye()(!1,["settings","randomizeQuestionOrder"]),wt=_e()(Ve()(_t,lt),function(e){return z()({items:ce()(ut(e))})(e)},xe()("items"))},function(e,t){var n={}.toString;e.exports=function(e){return n.call(e).slice(8,-1)}},function(e,t){e.exports=function(e){return"[object String]"===Object.prototype.toString.call(e)}},function(e,t,n){var r=n(276);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))}}},function(e,t,n){var r=n(758),i=n(597);e.exports=Object.keys||function(e){return r(e,i)}},function(e,t){e.exports={}},function(e,t,n){var r=n(389);e.exports=Array.isArray||function(e){return"Array"==r(e)}},function(e,t,n){var r=n(166),i=n(588),o=n(215),a=n(216),s=n(762),c=[].push,u=function(e){var t=1==e,n=2==e,u=3==e,l=4==e,d=6==e,f=7==e,h=5==e||d;return function(p,m,v,g){for(var y,b,_=o(p),w=i(_),x=r(m,v,3),k=a(w.length),E=0,S=g||s,T=t?S(p,k):n||f?S(p,0):void 0;k>E;E++)if((h||E in w)&&(b=x(y=w[E],E,_),e))if(t)T[E]=b;else if(b)switch(e){case 3:return!0;case 5:return y;case 6:return E;case 2:c.call(T,y)}else switch(e){case 4:return!1;case 7:c.call(T,y)}return d?-1:u||l?l:T}};e.exports={forEach:u(0),map:u(1),filter:u(2),some:u(3),every:u(4),find:u(5),findIndex:u(6),filterOut:u(7)}},function(e,t,n){var r=n(172),i=n(215),o=n(472),a=n(768),s=o("IE_PROTO"),c=Object.prototype;e.exports=a?Object.getPrototypeOf:function(e){return e=i(e),r(e,s)?e[s]:"function"==typeof e.constructor&&e instanceof e.constructor?e.constructor.prototype:e instanceof Object?c:null}},function(e,t,n){var r=n(329),i=n(335),o=n(124)("iterator");e.exports=function(e){if(null!=e)return e[o]||e["@@iterator"]||i[r(e)]}},function(e,t){e.exports=function(e,t,n){if(!(e instanceof t))throw TypeError("Incorrect "+(n?n+" ":"")+"invocation");return e}},function(e,t,n){var r=n(187),i=n(175),o=n(479);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)}}}},function(e,t){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,c){return t.apply(this,arguments)};case 9:return function(e,n,r,i,o,a,s,c,u){return t.apply(this,arguments)};case 10:return function(e,n,r,i,o,a,s,c,u,l){return t.apply(this,arguments)};default:throw new Error("First argument to _arity must be a non-negative integer no greater than ten")}}},function(e,t,n){var r=n(51),i=n(1369);e.exports=r(function(e){return i(e,[])})},function(e,t,n){var r=n(798),i=n(1389);function o(t,n){return delete e.exports[t],e.exports[t]=n,n}e.exports={Parser:r,Tokenizer:n(799),ElementType:n(403),DomHandler:i,get FeedHandler(){return o("FeedHandler",n(1391))},get Stream(){return o("Stream",n(1392))},get WritableStream(){return o("WritableStream",n(801))},get ProxyHandler(){return o("ProxyHandler",n(1409))},get DomUtils(){return o("DomUtils",n(1410))},get CollectingHandler(){return o("CollectingHandler",n(1424))},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}}},function(e,t){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}}},function(e,t,n){function r(e){return Object.prototype.toString.call(e)}t.isArray=function(e){return Array.isArray?Array.isArray(e):"[object Array]"===r(e)},t.isBoolean=function(e){return"boolean"==typeof e},t.isNull=function(e){return null===e},t.isNullOrUndefined=function(e){return null==e},t.isNumber=function(e){return"number"==typeof e},t.isString=function(e){return"string"==typeof e},t.isSymbol=function(e){return"symbol"==typeof e},t.isUndefined=function(e){return void 0===e},t.isRegExp=function(e){return"[object RegExp]"===r(e)},t.isObject=function(e){return"object"==typeof e&&null!==e},t.isDate=function(e){return"[object Date]"===r(e)},t.isError=function(e){return"[object Error]"===r(e)||e instanceof Error},t.isFunction=function(e){return"function"==typeof e},t.isPrimitive=function(e){return null===e||"boolean"==typeof e||"number"==typeof e||"string"==typeof e||"symbol"==typeof e||void 0===e},t.isBuffer=n(304).Buffer.isBuffer},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),c=n.split(/\/+/),u=0,l=c.length-1;l>=0;l--)"."===(a=c[l])?c.splice(l,1):".."===a?u++:u>0&&(""===a?(c.splice(l+1,u),u=0):(c.splice(l,2),u--));return""===(n=c.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 c="/"===t.charAt(0)?t:a(e.replace(/\/+$/,"")+"/"+t);return s?(s.path=c,o(s)):c}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 c=!("__proto__"in Object.create(null));function u(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=c?u:function(e){return l(e)?"$"+e:e},t.fromSetString=c?u: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?r:0!=(r=e.originalLine-t.originalLine)?r:0!=(r=e.originalColumn-t.originalColumn)||n?r:0!=(r=e.generatedColumn-t.generatedColumn)?r: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?r:0!=(r=e.generatedColumn-t.generatedColumn)||n?r:0!==(r=d(e.source,t.source))?r:0!=(r=e.originalLine-t.originalLine)?r: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?n:0!=(n=e.generatedColumn-t.generatedColumn)?n:0!==(n=d(e.source,t.source))?n:0!=(n=e.originalLine-t.originalLine)?n: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 c=r.path.lastIndexOf("/");c>=0&&(r.path=r.path.substring(0,c+1))}t=s(o(r),t)}return a(t)}},function(e,t,n){var r=n(94),i=n(142),o=n(124)("species");e.exports=function(e,t){var n,a=r(e).constructor;return void 0===a||null==(n=r(a)[o])?t:i(n)}},function(e,t,n){"use strict";var r=n(142),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)}},function(e,t){e.exports=
/** @license ISC License (c) copyright 2016 original and current authors */
function(e){return"string"==typeof e}},function(e,t,n){var r=n(18),i=n(484),o=n(56),a=n(401);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+'"')})})},function(e,t,n){
/** @license ISC License (c) copyright 2018 original and current authors */
var r=n(191).proxy("Pred"),i=n(83),o=n(201);e.exports=function(e){return i(e)||o(r,e)}},function(e,t){e.exports=
/** @license ISC License (c) copyright 2016 original and current authors */
function(e){return"function"==typeof e}},function(e,t,n){"use strict";function r(e){return function(){return e}}var i=function(){};i.thatReturns=r,i.thatReturnsFalse=r(!1),i.thatReturnsTrue=r(!0),i.thatReturnsNull=r(null),i.thatReturnsThis=function(){return this},i.thatReturnsArgument=function(e){return e},e.exports=i},function(e,t,n){"use strict";var r=function(e){};e.exports=function(e,t,n,i,o,a,s,c){if(r(t),!e){var u;if(void 0===t)u=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var l=[n,i,o,a,s,c],d=0;(u=new Error(t.replace(/%s/g,function(){return l[d++]}))).name="Invariant Violation"}throw u.framesToPop=1,u}}},function(e,t,n){"use strict";var r=n(81);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),c=s.left,u=s.right,l=s.top,d=s.bottom,f=i(e.boxes,"left"),h=i(e.boxes,"right"),p=i(e.boxes,"top"),m=i(e.boxes,"bottom"),v=i(e.boxes,"chartArea");o(f,!0),o(h,!1),o(p,!0),o(m,!1);var g=t-c-u,y=n-l-d,b=y/2,_=(t-g/2)/(f.length+h.length),w=(n-b)/(p.length+m.length),x=g,k=y,E=[];r.each(f.concat(h,p,m),function(e){var t,n=e.isHorizontal();n?(t=e.update(e.fullWidth?g:x,w),k-=t.height):(t=e.update(_,k),x-=t.width),E.push({horizontal:n,minSize:t,box:e})});var S=0,T=0,C=0,O=0;r.each(p.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(h),function(e){if(e.getPadding){var t=e.getPadding();C=Math.max(C,t.top),O=Math.max(O,t.bottom)}});var j=c,A=u,P=l,M=d;r.each(f.concat(h),F),r.each(f,function(e){j+=e.width}),r.each(h,function(e){A+=e.width}),r.each(p.concat(m),F),r.each(p,function(e){P+=e.height}),r.each(m,function(e){M+=e.height}),r.each(f.concat(h),function(e){var t=r.findNextWhere(E,function(t){return t.box===e}),n={left:0,right:0,top:P,bottom:M};t&&e.update(t.minSize.width,k,n)}),j=c,A=u,P=l,M=d,r.each(f,function(e){j+=e.width}),r.each(h,function(e){A+=e.width}),r.each(p,function(e){P+=e.height}),r.each(m,function(e){M+=e.height});var N=Math.max(S-j,0);j+=N,A+=Math.max(T-A,0);var L=Math.max(C-P,0);P+=L,M+=Math.max(O-M,0);var I=n-P-M,D=t-j-A;D===x&&I===k||(r.each(f,function(e){e.height=I}),r.each(h,function(e){e.height=I}),r.each(p,function(e){e.fullWidth||(e.width=D)}),r.each(m,function(e){e.fullWidth||(e.width=D)}),k=I,x=D);var R=c+N,B=l+L;r.each(f.concat(p),U),R+=x,B+=k,r.each(h,U),r.each(m,U),e.chartArea={left:j,top:P,right:j+x,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(x,k)})}function F(e){var t=r.findNextWhere(E,function(t){return t.box===e});if(t)if(e.isHorizontal()){var n={left:Math.max(j,S),right:Math.max(A,T),top:0,bottom:0};e.update(e.fullWidth?g:x,y/2,n)}else e.update(t.minSize.width,k)}function U(e){e.isHorizontal()?(e.left=e.fullWidth?c:j,e.right=e.fullWidth?t-u:j+x,e.top=B,e.bottom=B+e.height,B=e.bottom):(e.left=R,e.right=R+e.width,e.top=P,e.bottom=P+k,R=e.right)}}}},function(e,t,n){"use strict";var r=n(106),i=n(223),o=n(81),a=n(416);function s(e){var t,n,r=[];for(t=0,n=e.length;t<n;++t)r.push(e[t].label);return r}function c(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 u(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(){return{left:this.paddingLeft||0,top:this.paddingTop||0,right:this.paddingRight||0,bottom:this.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,c,u,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(),c=l.buildTicks()||[],l.afterBuildTicks(),l.beforeTickToLabelConversion(),a=l.convertTicksToLabels(c)||l.ticks,l.afterTickToLabelConversion(),l.ticks=a,r=0,i=a.length;r<i;++r)s=a[r],(u=c[r])?u.label=s:c.push(u={label:s,major:!1});return l._ticks=c,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.options.ticks;this.ticks=this.ticks.map(e.userCallback||e.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 c,u=o.longestText(t,i.font,r,e.longestTextCache),d=u,f=e.getPixelForTick(1)-e.getPixelForTick(0)-6;d>f&&a<n.maxRotation;){var h=o.toRadians(a);if(c=Math.cos(h),Math.sin(h)*u>e.maxHeight){a--;break}a++,d=c*u}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,c=r.gridLines,f=r.display,h=e.isHorizontal(),p=l(i),m=r.gridLines.tickMarkLength;if(t.width=h?e.isFullWidth()?e.maxWidth-e.margins.left-e.margins.right:e.maxWidth:f&&c.drawTicks?m:0,t.height=h?f&&c.drawTicks?m:0:e.maxHeight,a.display&&f){var v=d(a)+o.options.toPadding(a.padding).height;h?t.height+=v:t.width+=v}if(i.display&&f){var g=o.longestText(e.ctx,p.font,n,e.longestTextCache),y=o.numberOfLabelLines(n),b=.5*p.size,_=e.options.ticks.padding;if(h){e.longestLabelWidth=g;var w=o.toRadians(e.labelRotation),x=Math.cos(w),k=Math.sin(w)*g+p.size*y+b*(y-1)+b;t.height=Math.min(e.maxHeight,t.height+k+_),e.ctx.font=p.font;var E=u(e.ctx,n[0],p.font),S=u(e.ctx,n[n.length-1],p.font);0!==e.labelRotation?(e.paddingLeft="bottom"===r.position?x*E+3:x*b+3,e.paddingRight="bottom"===r.position?x*b+3:x*S+3):(e.paddingLeft=E/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=p.size/2,e.paddingBottom=p.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.min,t=this.max;return this.beginAtZero?0:e<0&&t<0?t:e>0&&t>0?e:0},_autoSkip:function(e){var t,n,r,i,a=this,s=a.isHorizontal(),c=a.options.ticks.minor,u=e.length,l=o.toRadians(a.labelRotation),d=Math.cos(l),f=a.longestLabelWidth*d,h=[];for(c.maxTicksLimit&&(i=c.maxTicksLimit),s&&(t=!1,(f+c.autoSkipPadding)*u>a.width-(a.paddingLeft+a.paddingRight)&&(t=1+Math.floor((f+c.autoSkipPadding)*u/(a.width-(a.paddingLeft+a.paddingRight)))),i&&u>i&&(t=Math.max(t,Math.floor(u/i)))),n=0;n<u;n++)r=e[n],(t>1&&n%t>0||n%t==0&&n+t>=u)&&n!==u-1&&delete r.label,h.push(r);return h},draw:function(e){var t=this,n=t.options;if(n.display){var i=t.ctx,a=r.global,s=n.ticks.minor,u=n.ticks.major||s,f=n.gridLines,h=n.scaleLabel,p=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(u.fontColor,a.defaultFontColor),_=l(u),w=f.drawTicks?f.tickMarkLength:0,x=o.valueOrDefault(h.fontColor,a.defaultFontColor),k=l(h),E=o.options.toPadding(h.padding),S=o.toRadians(t.labelRotation),T=[],C=t.options.gridLines.lineWidth,O="right"===n.position?t.left:t.right-C-w,j="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 u,l,d,h,g,y,b,_,x,k,E,M,N,L,I=r.label;i===t.zeroLineIndex&&n.offset===f.offsetGridLines?(u=f.zeroLineWidth,l=f.zeroLineColor,d=f.zeroLineBorderDash,h=f.zeroLineBorderDashOffset):(u=o.valueAtIndexOrDefault(f.lineWidth,i),l=o.valueAtIndexOrDefault(f.color,i),d=o.valueOrDefault(f.borderDash,a.borderDash),h=o.valueOrDefault(f.borderDashOffset,a.borderDashOffset));var D="middle",R="middle",B=s.padding;if(m){var F=w+B;"bottom"===n.position?(R=p?"middle":"top",D=p?"right":"center",L=t.top+F):(R=p?"middle":"bottom",D=p?"left":"center",L=t.bottom-F);var U=c(t,i,f.offsetGridLines&&v.length>1);U<t.left&&(l="rgba(0,0,0,0)"),U+=o.aliasPixel(u),N=t.getPixelForTick(i)+s.labelOffset,g=b=x=E=U,y=A,_=P,k=e.top,M=e.bottom+C}else{var q,z="left"===n.position;s.mirror?(D=z?"left":"right",q=B):(D=z?"right":"left",q=w+B),N=z?t.right-q:t.left+q;var H=c(t,i,f.offsetGridLines&&v.length>1);H<t.top&&(l="rgba(0,0,0,0)"),H+=o.aliasPixel(u),L=t.getPixelForTick(i)+s.labelOffset,g=O,b=j,x=e.left,E=e.right+C,y=_=k=M=H}T.push({tx1:g,ty1:y,tx2:b,ty2:_,x1:x,y1:k,x2:E,y2:M,labelX:N,labelY:L,glWidth:u,glColor:l,glBorderDash:d,glBorderDashOffset:h,rotation:-1*S,label:I,major:r.major,textBaseline:R,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,c=t.isHorizontal()?0:-a*(r-1)/2,u=0;u<r;++u)i.fillText(""+n[u],0,c),c+=a;else i.fillText(n,0,0);i.restore()}}),h.display){var M,N,L=0,I=d(h)/2;if(m)M=t.left+(t.right-t.left)/2,N="bottom"===n.position?t.bottom-I-E.bottom:t.top+I+E.top;else{var D="left"===n.position;M=D?t.left+I+E.top:t.right-I-E.top,N=t.top+(t.bottom-t.top)/2,L=D?-.5*Math.PI:.5*Math.PI}i.save(),i.translate(M,N),i.rotate(L),i.textAlign="center",i.textBaseline="middle",i.fillStyle=x,i.font=k.font,i.fillText(h.labelString,0,0),i.restore()}if(f.drawBorder){i.lineWidth=o.valueAtIndexOrDefault(f.lineWidth,0),i.strokeStyle=o.valueAtIndexOrDefault(f.color,0);var R=t.left,B=t.right+C,F=t.top,U=t.bottom+C,q=o.aliasPixel(i.lineWidth);m?(F=U="top"===n.position?t.bottom:t.top,F+=q,U+=q):(R=B="left"===n.position?t.right:t.left,R+=q,B+=q),i.beginPath(),i.moveTo(R,F),i.lineTo(B,U),i.stroke()}}}})},function(e,t,n){"use strict";var r=n(81);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 c=-1*Math.floor(o);c=Math.max(Math.min(c,20),0),a=e.toFixed(c)}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():""}}}},function(e,t,n){var r=n(512),i=n(2051),o=n(2052),a="[object Null]",s="[object Undefined]",c=r?r.toStringTag:void 0;e.exports=function(e){return null==e?void 0===e?s:a:c&&c in Object(e)?i(e):o(e)}},function(e,t){e.exports=function(e){return null!=e&&"object"==typeof e}},function(e,t){var n={}.toString;e.exports=function(e){return n.call(e).slice(8,-1)}},function(e,t){e.exports=function(e){if("function"!=typeof e)throw TypeError(String(e)+" is not a function");return e}},function(e,t,n){var r=n(58),i=n(315),o=n(16);e.exports=r(function(e,t,n){return i(o(t),e,n)})},function(e,t,n){var r=n(18),i=n(133),o=n(845);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}))},function(e,t,n){var r=n(51),i=n(525);e.exports=r(function(e){return i(function(){return Array.prototype.slice.call(arguments,0)},e)})},function(e,t,n){var r=n(51),i=n(1330);e.exports=r(i)},function(e,t,n){var r=n(18),i=n(824);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})},function(e,t,n){var r=n(51),i=n(56),o=n(286),a=n(161),s=n(107);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})})},function(e,t,n){var r=n(18);e.exports=r(function(e,t){return e>=t})},function(e,t,n){"use strict";n.d(t,"a",function(){return c});var r=n(41),i=n.n(r),o=n(152),a=n.n(o),s=n(435);function c(e,t){var n;if(e){if("string"==typeof e)return Object(s.a)(e,t);var r=i()(n=Object.prototype.toString.call(e)).call(n,8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?a()(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?Object(s.a)(e,t):void 0}}},function(e,t,n){var r=n(391),i=n(18);e.exports=i(r("forEach",function(e,t){for(var n=t.length,r=0;r<n;)e(t[r]),r+=1;return t}))},function(e,t,n){
/** @license ISC License (c) copyright 2016 original and current authors */
var r=n(115),i=n(1765),o=n(83),a=n(170);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)})},function(e,t,n){(function(t,r){var i;
/**
 * [js-htmlencode]{@link https://github.com/emn178/js-htmlencode}
 *
 * @version 0.3.0
 * @author Chen, Yi-Cyuan [emn178@gmail.com]
 * @copyright Chen, Yi-Cyuan 2014-2017
 * @license MIT
 */
/**
 * [js-htmlencode]{@link https://github.com/emn178/js-htmlencode}
 *
 * @version 0.3.0
 * @author Chen, Yi-Cyuan [emn178@gmail.com]
 * @copyright Chen, Yi-Cyuan 2014-2017
 * @license MIT
 */
!function(){"use strict";var o="object"==typeof window?window:{};!o.JS_HTMLENCODE_NO_NODE_JS&&"object"==typeof t&&t.versions&&t.versions.node&&(o=r);var a=!o.JS_HTMLENCODE_NO_COMMON_JS&&"object"==typeof e&&e.exports,s=n(645),c={"&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;":"♦"},u=function(e){if("#"!==e.charAt(1))return c[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)},l=function(e){return e.replace(/&/g,"&amp;").replace(/"/g,"&quot;").replace(/'/g,"&#39;").replace(/</g,"&lt;").replace(/>/g,"&gt;")},d=function(e){return e.replace(/&#?\w+;/g,u)},f=l;l.htmlEncode=l,l.htmlDecode=d,a?e.exports=f:(o.htmlEncode=l,o.htmlDecode=d,s&&(void 0===(i=function(){return f}.call(f,n,f,e))||(e.exports=i)))}()}).call(this,n(280),n(96))},function(e,t,n){"use strict";(function(e){n.d(t,"a",function(){return p});var r=n(3),i=n.n(r),o=n(19),a=n(9),s=n(10),c=n(6),u=n(11),l=n(13),d=n(5),f=n(86);function h(e){var t=function(){if("undefined"==typeof Reflect||!i.a)return!1;if(i.a.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=Object(d.a)(e);if(t){var o=Object(d.a)(this).constructor;n=i()(r,arguments,o)}else n=r.apply(this,arguments);return Object(l.a)(this,n)}}var p=function(t){Object(u.a)(r,t);var n=h(r);function r(e){var t;return Object(a.a)(this,r),(t=n.call(this,e)).handleTransition=t.handleTransition.bind(Object(c.a)(t)),t.onEnter=t.onEnter.bind(Object(c.a)(t)),t.onEntered=t.onEntered.bind(Object(c.a)(t)),t.onExit=t.onExit.bind(Object(c.a)(t)),t.onExited=t.onExited.bind(Object(c.a)(t)),t}return Object(s.a)(r,[{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 t=this,n=this.props.children;return e.createElement(f.b,Object(o.a)({addEndListener:this.handleTransition,onEntered:this.onEntered,onExited:this.onExited,unmountOnExit:!0},this.props),function(r){return t.transitionState=r,n&&e.cloneElement(e.Children.only(n),{ref:function(e){return t.child=e}})})}}]),r}(e.Component)}).call(this,n(0))},function(e,t,n){"use strict";t.__esModule=!0;var r=l(n(1048)),i=l(n(1049)),o=l(n(0)),a=l(n(84)),s=l(n(1050)),c=l(n(1051)),u=l(n(1957));function l(e){return e&&e.__esModule?e:{default:e}}function d(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}var f=function(e){function t(){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=Array(i),a=0;a<i;a++)o[a]=arguments[a];return n=r=d(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,c.default)(r).body)},r.getMountNode=function(){return r._portalContainerNode},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.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);f.displayName="Portal",f.propTypes={container:r.default.oneOfType([i.default,r.default.func]),onRendered:r.default.func},t.default=a.default.createPortal?f:u.default,e.exports=t.default},function(e,t,n){"use strict";var r=n(522),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 c(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 u=Object.defineProperty,l=Object.getOwnPropertyNames,d=Object.getOwnPropertySymbols,f=Object.getOwnPropertyDescriptor,h=Object.getPrototypeOf,p=Object.prototype;e.exports=function e(t,n,r){if("string"!=typeof n){if(p){var i=h(n);i&&i!==p&&e(t,i,r)}var a=l(n);d&&(a=a.concat(d(n)));for(var s=c(t),m=c(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{u(t,g,y)}catch(e){}}}}return t}},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,"a",function(){return r})},function(e,t,n){"use strict";n.d(t,"a",function(){return T});var r=n(364),i=n.n(r),o=n(289),a=n.n(o),s=n(136),c=n.n(s),u=n(1106),l=n.n(u),d=n(193),f=n.n(d),h=n(702),p=n.n(h),m=n(1107),v=n.n(m),g=n(127),y=n.n(g),b=n(258),_=n.n(b),w=n(227),x=n.n(w),k=n(93);function E(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){var t=e.data,n=E(p.a,e.deserialize),r=E({},e.headers),i=E(!1,e.json),o=E(!1,e.jwt),s=E(null,e.token),u=E("GET",e.method),l=e.onUploadProgress,d=E(p.a,e.serialize),f=e.url,h=E(!1,e.withCredentials),m=new XMLHttpRequest;if(m.withCredentials=h,i&&(n=JSON.parse,d=a.a,r["Content-Type"]="application/json"),o){var v=s||Object(k.d)();r.Authorization="Bearer "+v}"GET"===u&&t&&(f+="?"+function(e){var t=[];for(var n in e)t.push(encodeURIComponent(n)+"="+encodeURIComponent(e[n]));return t.join("&")}(t));var g=new c.a(function(e,i){for(var o in m.addEventListener("abort",i),m.addEventListener("error",i),m.addEventListener("load",function(){var t;m.status>=400?i(n(m.response)):e({body:n(m.response),headers:(t=m.getAllResponseHeaders(),t?t.split("\n").reduce(S,{}):{}),status:m.status})}),m.upload&&"function"==typeof l&&m.upload.addEventListener("progress",l),m.open(u,f),r)m.setRequestHeader(o,r[o]);"GET"!==u&&t?m.send(d(t)):m.send()});return g.abort=m.abort.bind(m),g}f()(x.a,y()(""))},function(e,t,n){
/** @license ISC License (c) copyright 2017 original and current authors */
e.exports=n(840)},function(e,t,n){"use strict";n.d(t,"a",function(){return V}),n.d(t,"b",function(){return W});var r=n(182),i=n.n(r),o=n(27),a=n.n(o),s=n(100),c=n.n(s),u=n(7),l=n.n(u),d=n(259),f=n.n(d),h=n(49),p=n.n(h),m=n(48),v=n.n(m),g=n(31),y=n.n(g),b=n(82),_=n.n(b),w=n(50),x=n.n(w),k=n(91),E=n.n(k),S=n(226),T=n.n(S),C=n(25),O=n.n(C),j=n(14),A=n.n(j),P=n(17),M=n.n(P),N=n(107),L=n.n(N),I=n(228),D=n.n(I),R=n(70),B=n.n(R),F=n(39),U=n.n(F),q=c()(y.a),z=i()(L.a),H=function(e){var t=e.key,n=e.percent;return function(e){return a()(n,O()(A()("items"),B.a,p()(M()(t,!0)),x.a,v()(f.a)(l()(x.a,_.a,A()("items"))(e)),T()(100),Math.round)(e),e)}},V=(z(function e(t,n,r){var i=n.id,o=n.items;return O()(a()(i,{index:r}),U()(function(){return q(o)},function(t){return D()(E()([i,"items"]),z(e,{},o))(t)}))(t)},{}),H({key:"isComplete",percent:"percentComplete"})),W=H({key:"isViewed",percent:"percentViewed"})},function(e,t,n){"use strict";(function(e){n.d(t,"c",function(){return Ce}),n.d(t,"a",function(){return Pe}),n.d(t,"b",function(){return Ne});var r=n(3),i=n.n(r),o=n(52),a=n.n(o),s=n(36),c=n.n(s),u=n(53),l=n.n(u),d=n(35),f=n.n(d),h=n(38),p=n.n(h),m=n(6),v=n(8),g=n(9),y=n(10),b=n(11),_=n(13),w=n(5),x=n(79),k=n.n(x),E=n(4),S=n.n(E),T=n(15),C=n.n(T),O=n(98),j=n.n(O),A=n(1118),P=n.n(A),M=n(41),N=n.n(M),L=(n(1847),n(1)),I=n.n(L),D=n(257),R=n.n(D),B=n(50),F=n.n(B),U=n(288),q=n.n(U),z=n(117),H=n.n(z),V=n(226),W=n.n(V),Y=n(671),G=n.n(Y),K=n(33),$=n.n(K),X=n(74),Q=n.n(X),Z=n(48),J=n.n(Z),ee=n(25),te=n.n(ee),ne=n(180),re=n(40),ie=n(2),oe=n.n(ie),ae=n(322),se=n.n(ae),ce=n(102),ue=n(549),le=n(62),de=n(1151),fe=n.n(de),he=n(149),pe=n.n(he),me=n(88),ve=n(55),ge=n(42),ye=n(32),be=n(26),_e=n(20),we=n(103),xe=n(95);function ke(e,t){var n=a()(e);if(c.a){var r=c()(e);t&&(r=l()(r).call(r,function(t){return f()(e,t).enumerable})),n.push.apply(n,r)}return n}function Ee(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?ke(Object(n),!0).forEach(function(t){Object(v.a)(e,t,n[t])}):p.a?Object.defineProperties(e,p()(n)):ke(Object(n)).forEach(function(t){Object.defineProperty(e,t,f()(n,t))})}return e}function Se(e){var t=function(){if("undefined"==typeof Reflect||!i.a)return!1;if(i.a.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=Object(w.a)(e);if(t){var o=Object(w.a)(this).constructor;n=i()(r,arguments,o)}else n=r.apply(this,arguments);return Object(_.a)(this,n)}}var Te=n(61).b.blocks,Ce=function(t){Object(b.a)(r,t);var n=Se(r);function r(){return Object(g.a)(this,r),n.apply(this,arguments)}return Object(y.a)(r,[{key:"render",value:function(){var t=this.props,n=t.animateBlockEntrance,r=t.blockId,i=t.editable,o=t.isLearner,a=t.items,s=t.lessonId,c=t.onStep,u=t.settings,l=t.enableVideoPlaybackSpeed,d=u.paddingTop,f=u.paddingBottom,h=u.backgroundColor,p=u.entranceAnimation,m=u.accordionBehavior,v=void 0===m?"keepOpen":m,g=oe()("blocks-accordion",{"blocks-accordion--no-animation":!p}),y={backgroundColor:Object(le.a)("",h),paddingTop:"".concat(10*d,"px"),paddingBottom:"".concat(10*f,"px")};return e.createElement("div",{className:g,"data-ba":Te.blockAccordion,style:y},e.createElement(ve.a,{animateBlockEntrance:n,animateIn:"fadeIn",isLearner:o,duration:.75},e.createElement("div",{className:"blocks-accordion__container"},e.createElement("div",{className:"blocks-accordion__row"},e.createElement("div",{className:"blocks-accordion__col"},e.createElement(Ae,{keepOpen:"keepOpen"===v,lessonId:s,blockId:r,items:a,editable:i,settings:u,onStep:c,enableVideoPlaybackSpeed:l}))))))}}],[{key:"propTypes",get:function(){return{lessonId:I.a.any,blockId:I.a.any,items:I.a.array,settings:I.a.object.isRequired,editable:I.a.bool,onStep:I.a.func}}},{key:"defaultProps",get:function(){return{items:[],editable:!1,lessonId:"",blockId:"",onStep:Function.prototype}}}]),r}(e.Component),Oe={isOpen:!1,isActive:!1},je=function(e,t){return t.reduce(function(e){return function(t,n){var r=n.id;return k()({},t,Object(v.a)({},r,e[r]||Oe))}}(e),{})},Ae=function(t){Object(b.a)(r,t);var n=Se(r);function r(){var e,t;Object(g.a)(this,r);for(var i=arguments.length,o=new Array(i),a=0;a<i;a++)o[a]=arguments[a];var s=(t=n.call.apply(n,S()(e=[this]).call(e,o))).props.items;return t.state={itemStatusMap:je({},s)},t}return Object(y.a)(r,[{key:"componentWillReceiveProps",value:function(e){var t=e.items,n=F()(t)!==F()(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=G()(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:H()(i,e)})}}},{key:"rebuildItemStatusMap",value:function(e){var t=this.state.itemStatusMap;this.setState({itemStatusMap:je(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:H()(a,o)}),open&&i(n[e])}},{key:"render",value:function(){var t=this,n=this.props,r=n.items,i=n.settings,o=n.editable,a=n.labels,s=n.lessonId,c=n.blockId,u=n.enableVideoPlaybackSpeed,l=this.state.itemStatusMap,d=i.zoomOnClick;return e.createElement("div",{className:"blocks-accordion__wrapper"},C()(r).call(r,function(n,r){return e.createElement(Pe,{blockId:c,disableZoom:!d,editable:o,focused:l[n.id].isActive,index:r,item:Ee(Ee({},n),{},{enableVideoPlaybackSpeed:u}),key:n.id,labels:a,lessonId:s,onClick:t.handleItemClick.bind(t,r),open:l[n.id].isOpen})}))}}],[{key:"propTypes",get:function(){return{lessonId:I.a.any,blockId:I.a.any,items:I.a.array,settings:I.a.object.isRequired,editable:I.a.bool,keepOpen:I.a.bool,onStep:I.a.func}}},{key:"defaultProps",get:function(){return{items:[],editable:!1,lessonId:"",blockId:"",keepOpen:!1,onStep:Function.prototype}}}]),r}(e.Component),Pe=function(t){Object(b.a)(r,t);var n=Se(r);function r(){var e,t;Object(g.a)(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,S()(e=[this]).call(e,o))).id=se()(),t.toggle=t.toggle.bind(Object(m.a)(t)),t.renderDescription=t.renderDescription.bind(Object(m.a)(t)),t.renderTitle=t.renderTitle.bind(Object(m.a)(t)),t}return Object(y.a)(r,[{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=re.a.playerId;open&&i&&j()(i).call(i,n)&&P()(i).call(i,r)&&re.a.pause(),this.props.onClick(),e.preventDefault()}},{key:"renderTitle",value:function(t){var n=this.props.item.title;return e.createElement(ge.a,{id:t,className:"blocks-accordion__title brand--head brand--linkColor",value:n})}},{key:"renderDescription",value:function(){var t=this.props.item.description,n=void 0===t?"":t;return e.createElement(me.a,{className:"blocks-accordion__description brand--body brand--linkColor",value:n||"",component:"div"})}},{key:"render",value:function(){var t,n=this,r=this.props,i=r.blockId,o=r.editable,a=r.disableZoom,s=r.index,c=r.item,u=r.focused,l=r.labels,d=r.open,f=r.renderDescription,h=void 0===f?this.renderDescription:f,p=r.renderTitle,m=void 0===p?this.renderTitle:p,v=c.settings,g=void 0===v?{}:v,y=c.media,b=void 0===y?{}:y,_=c.enableVideoPlaybackSpeed,w=k()({},g,{disableZoom:a,fullEmbed:!0}),x=oe()("blocks-accordion__item",{"blocks-accordion__item--closed":!d}),E=oe()("blocks-accordion__header",{"brand--border":d&&u}),T=oe()("blocks-accordion__content",{"blocks-accordion__content--will-enter":d,"brand--border":d&&u}),C=oe()("blocks-accordion__media","blocks-accordion__".concat(Me(b))),O="title-".concat(this.id),j="panel-".concat(this.id);return e.createElement("section",{className:x},e.createElement("div",{role:we.c,"aria-level":"2"},e.createElement("button",{"aria-controls":j,"aria-expanded":d,className:E,onClick:this.toggle,onKeyDown:!o&&Object(be.a)(this.toggle)||null,type:"button"},m(O),e.createElement("span",{className:"blocks-accordion__toggler"},d?"–":"+"))),e.createElement("section",{"aria-labelledby":O,className:T,id:j,ref:function(e){n.content=e}},h(),e.createElement("div",{className:C},e.createElement(ne.a,{className:"blocks-accordion__img",enableVideoPlaybackSpeed:_,index:S()(t="".concat(i,"-")).call(t,s),labels:l,media:b,opts:w}))))}}],[{key:"propTypes",get:function(){return{lessonId:I.a.any,blockId:I.a.any,index:I.a.number.isRequired,item:I.a.object.isRequired,editable:I.a.bool,open:I.a.bool,focused:I.a.bool,disableZoom:I.a.bool,onClick:I.a.func,labels:I.a.object}}},{key:"defaultProps",get:function(){return{editable:!1,onClick:function(){},lessonId:"",blockId:"",open:null}}}]),r}(e.Component),Me=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"},Ne=function(t){Object(b.a)(r,t);var n=Se(r);function r(){var e,t;Object(g.a)(this,r);for(var i=arguments.length,o=new Array(i),a=0;a<i;a++)o[a]=arguments[a];(t=n.call.apply(n,S()(e=[this]).call(e,o))).renderDescription=t.renderDescription.bind(Object(m.a)(t));var s=t.props.activeIndex;return t.state={activeIndex:s,activeTouch:!1,activeMouse:!1},t.tabs=[],t.tabPanels=[],t}return Object(y.a)(r,[{key:"componentDidMount",value:function(){this.setContentActive(),this.handleControls(),this.tabsHeaderEl.addEventListener("scroll",this.tabScroll=pe()(this.handleControls.bind(this),50)),window.addEventListener("resize",this.tabResize=pe()(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=re.a.playerId;this.state.activeIndex!=e&&r&&j()(r).call(r,n)&&re.a.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={};this.sweetScroll||(this.sweetScroll=new fe.a({duration:600,verticalScroll:!1,horizontalScroll:!0},this.tabsHeaderEl)),r="next"===e?{left:n+.8*t}:{left:n-.8*t},this.sweetScroll.to(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 c=this.arrowPrevInset(i);n.scrollLeft=s+n.scrollLeft-i-c}}},{key:"handleTabKeyDown",value:function(e,t){var n=this,r=Object(xe.a)(function(){var r=Object(_e.f)({list:n.tabs,currentIndex:e});n.setActive(r,t)}),i=Object(xe.a)(function(){var r=Object(_e.e)({list:n.tabs,currentIndex:e});n.setActive(r,t)});$()([[be.g,r],[be.i,i]])(t)}},{key:"renderHeader",value:function(t){var n=this,r=this.state,i=r.activeIndex,o=r.activeTouch,a=r.activeMouse,s=oe()("blocks-tabs__header-wrap",{touch:o,mouse:a});return e.createElement("div",{className:s,onMouseEnter:this.handleMouseEnter.bind(this),onMouseLeave:this.handleMouseLeave.bind(this),onTouchStart:this.handleTouchStart.bind(this)},e.createElement("div",{className:"blocks-tabs__header",id:"tabsheader",ref:function(e){n.tabsHeaderEl=e},role:we.e},C()(t).call(t,function(r,o){var a=r.title,s=1===t.length||o===i,c=t.length>1&&o+1===i,u=t.length>1&&o-1===i,l=oe()("blocks-tabs__header-item brand--head",{"brand--color":s,"blocks-tabs__header-item--active":s,"blocks-tabs__header-item--before-active":c,"blocks-tabs__header-item--after-active":u}),d=te()(q()(/<mark>/),F.a,W()(13),R()(30))(a),f=te()(ce.d,J()(Q()(ue.a))(d),function(e){return"<span>".concat(e,"</span>")})(a),h="item-header-".concat(o),p=n.tabPanels[o];return e.createElement("button",{"aria-controls":p?p.id:null,"aria-selected":s,className:l,dangerouslySetInnerHTML:{__html:f},id:h,key:h,onClick:n.setActive.bind(n,o),onKeyDown:n.handleTabKeyDown.bind(n,o),onFocus:n.focusTab.bind(n),ref:function(e){n.tabs[o]=e},role:we.g,tabIndex:s?void 0:-1,type:"button"})})),e.createElement("div",{className:"blocks-tabs__controls",ref:function(e){n.tabControls=e}},e.createElement("div",{"aria-hidden":"true",className:"blocks-tabs__arrow blocks-tabs__arrow--prev brand--background",ref:function(e){n.arrowPrevEl=e},onClick:this.scrollTabs.bind(this,"previous")},e.createElement(ye.g,{className:"blocks-tabs__arrow-icon"})),e.createElement("div",{"aria-hidden":"true",className:"blocks-tabs__arrow blocks-tabs__arrow--next brand--background",ref:function(e){n.arrowNextEl=e},onClick:this.scrollTabs.bind(this,"next")},e.createElement(ye.g,{className:"blocks-tabs__arrow-icon blocks-tabs__arrow-icon--next"}))))}},{key:"renderDescription",value:function(t){var n=t.description;return e.createElement(me.a,{className:"blocks-tabs__description brand--body brand--linkColor",value:n,component:"div"})}},{key:"renderItem",value:function(t,n,r){var i,o=this,a=this.props,s=a.blockId,c=a.renderDescription,u=void 0===c?this.renderDescription:c,l=this.state.activeIndex===n,d=t.id,f=t.media,h=void 0===f?{}:f,p=t.settings,m=void 0===p?{}:p,v=t.enableVideoPlaybackSpeed,g=oe()("blocks-tabs__content-item",{"blocks-tabs__content-item--will-enter":l}),y=k()({},m,{disableZoom:r,fullEmbed:!0}),b=this.tabs[n],_="item-".concat(d);return e.createElement("div",{"aria-labelledby":b?b.id:null,className:g,id:_,key:_,ref:function(e){o.tabPanels[n]=e},role:we.f},u(t),e.createElement("div",{className:"blocks-tabs__".concat(Me(h))},e.createElement(ne.a,{className:"blocks-tabs__img",index:S()(i="".concat(s,"-")).call(i,n),media:h,opts:y,enableVideoPlaybackSpeed:v})))}},{key:"render",value:function(){var t=this,n=this.props,r=n.animateBlockEntrance,i=n.isLearner,o=n.items,a=n.settings,s=n.enableVideoPlaybackSpeed,c=a.paddingTop,u=a.paddingBottom,l=a.backgroundColor,d=a.entranceAnimation,f=a.zoomOnClick,h=oe()("blocks-tabs",{"blocks-tabs--no-animation":!d}),p={backgroundColor:Object(le.a)("",l),paddingTop:"".concat(10*c,"px"),paddingBottom:"".concat(10*u,"px")},m=o.length>0?N()(o).call(o,0,30):[],v=oe()("blocks-tabs__container",{"blocks-tabs--single":1===m.length});return e.createElement("div",{className:h,"data-ba":Te.blockTabs,style:p},e.createElement(ve.a,{animateBlockEntrance:r,animateIn:"fadeIn",isLearner:i,offset:350},e.createElement("div",{className:v},e.createElement("div",{className:"blocks-tabs__row"},e.createElement("div",{className:"blocks-tabs__col"},e.createElement("div",{className:"blocks-tabs__wrapper",ref:function(e){t.container=e}},this.renderHeader(m),e.createElement("div",{className:"blocks-tabs__content"},C()(m).call(m,function(e,n){return t.renderItem(Ee(Ee({},e),{},{enableVideoPlaybackSpeed:s}),n,!f)}))))))))}}],[{key:"propTypes",get:function(){return{lessonId:I.a.any,blockId:I.a.any,items:I.a.array,settings:I.a.object.isRequired,activeIndex:I.a.number,editable:I.a.bool,onStep:I.a.func}}},{key:"defaultProps",get:function(){return{items:[],activeIndex:0,lessonId:"",blockId:"",onStep:Function.prototype}}}]),r}(e.Component)}).call(this,n(0))},function(e,t){function n(){return e.exports=n=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},e.exports.default=e.exports,e.exports.__esModule=!0,n.apply(this,arguments)}e.exports=n,e.exports.default=e.exports,e.exports.__esModule=!0},function(e,t,n){
/** @license ISC License (c) copyright 2017 original and current authors */
e.exports=n(281)},function(e,t,n){
/** @license ISC License (c) copyright 2017 original and current authors */
e.exports=n(243)},function(e,t,n){"use strict";(function(e){n.d(t,"c",function(){return _}),n.d(t,"b",function(){return w}),n.d(t,"a",function(){return x});var r=n(0),i=n.n(r),o=n(160),a=n.n(o),s=n(324),c=n.n(s),u=n(375),l=n.n(u),d=(n(2100),n(1183)),f=n.n(d),h=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e};function p(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 m(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function v(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 g(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 y=void 0!==e&&Object({BUGSNAG_API_KEY:"f3fd51abf4bdabb1dd460597574d9972",CLIENT_VERSION:"f61706e9abdf07b919c088e7c7223a986aad945c",NODE_ENV:"production"})&&"production",b=function(e){function t(){var n,r;m(this,t);for(var i=arguments.length,o=Array(i),a=0;a<i;a++)o[a]=arguments[a];return n=r=v(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},v(r,n)}return g(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(!l()(o,e.legend))return!0;if(!l()(r,e.options))return!0;var c=this.transformDataProp(e);return!l()(this.shadowDataProp,c)||!l()(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=h({},e,{datasets:e.datasets&&e.datasets.map(function(e){return h({},e)})}),e}},t.prototype.checkDatasets=function(e){var n="production"!==y&&"prod"!==y,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=c.a.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=f()(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=p(t,["data"]);return h({},n,r)}return t});n.datasets;var a=p(n,["datasets"]);this.chartInstance.config.data=h({},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||l()(t.defaultProps.legend,r)||(n.legend=r),this.chartInstance=new c.a(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 i.a.createElement("canvas",{ref:this.ref,height:t,width:n,id:r,onClick:this.handleOnClick})},t}(i.a.Component);b.getLabelAsKey=function(e){return e.label},b.propTypes={data:a.a.oneOfType([a.a.object,a.a.func]).isRequired,getDatasetAtEvent:a.a.func,getElementAtEvent:a.a.func,getElementsAtEvent:a.a.func,height:a.a.number,legend:a.a.object,onElementsClick:a.a.func,options:a.a.object,plugins:a.a.arrayOf(a.a.object),redraw:a.a.bool,type:function(e,t,n){if(!c.a.controllers[e[t]])return new Error("Invalid chart type `"+e[t]+"` supplied to `"+n+"`.")},width:a.a.number,datasetKeyProvider:a.a.func},b.defaultProps={legend:{display:!0,position:"bottom"},type:"doughnut",height:150,width:300,redraw:!1,options:{},datasetKeyProvider:b.getLabelAsKey};!function(e){function t(){return m(this,t),v(this,e.apply(this,arguments))}g(t,e),t.prototype.render=function(){var e=this;return i.a.createElement(b,h({},this.props,{ref:function(t){return e.chartInstance=t&&t.chartInstance},type:"doughnut"}))}}(i.a.Component);var _=function(e){function t(){return m(this,t),v(this,e.apply(this,arguments))}return g(t,e),t.prototype.render=function(){var e=this;return i.a.createElement(b,h({},this.props,{ref:function(t){return e.chartInstance=t&&t.chartInstance},type:"pie"}))},t}(i.a.Component),w=function(e){function t(){return m(this,t),v(this,e.apply(this,arguments))}return g(t,e),t.prototype.render=function(){var e=this;return i.a.createElement(b,h({},this.props,{ref:function(t){return e.chartInstance=t&&t.chartInstance},type:"line"}))},t}(i.a.Component),x=function(e){function t(){return m(this,t),v(this,e.apply(this,arguments))}return g(t,e),t.prototype.render=function(){var e=this;return i.a.createElement(b,h({},this.props,{ref:function(t){return e.chartInstance=t&&t.chartInstance},type:"bar"}))},t}(i.a.Component);(function(e){function t(){return m(this,t),v(this,e.apply(this,arguments))}g(t,e),t.prototype.render=function(){var e=this;return i.a.createElement(b,h({},this.props,{ref:function(t){return e.chartInstance=t&&t.chartInstance},type:"horizontalBar"}))}})(i.a.Component),function(e){function t(){return m(this,t),v(this,e.apply(this,arguments))}g(t,e),t.prototype.render=function(){var e=this;return i.a.createElement(b,h({},this.props,{ref:function(t){return e.chartInstance=t&&t.chartInstance},type:"radar"}))}}(i.a.Component),function(e){function t(){return m(this,t),v(this,e.apply(this,arguments))}g(t,e),t.prototype.render=function(){var e=this;return i.a.createElement(b,h({},this.props,{ref:function(t){return e.chartInstance=t&&t.chartInstance},type:"polarArea"}))}}(i.a.Component),function(e){function t(){return m(this,t),v(this,e.apply(this,arguments))}g(t,e),t.prototype.render=function(){var e=this;return i.a.createElement(b,h({},this.props,{ref:function(t){return e.chartInstance=t&&t.chartInstance},type:"bubble"}))}}(i.a.Component),function(e){function t(){return m(this,t),v(this,e.apply(this,arguments))}g(t,e),t.prototype.render=function(){var e=this;return i.a.createElement(b,h({},this.props,{ref:function(t){return e.chartInstance=t&&t.chartInstance},type:"scatter"}))}}(i.a.Component),c.a.defaults}).call(this,n(280))},function(e,t,n){"use strict";n.d(t,"b",function(){return j}),n.d(t,"e",function(){return A}),n.d(t,"d",function(){return P}),n.d(t,"a",function(){return I}),n.d(t,"c",function(){return D});var r=n(27),i=n.n(r),o=n(7),a=n.n(o),s=n(48),c=n.n(s),u=n(31),l=n.n(u),d=n(91),f=n.n(d),h=n(87),p=n.n(h),m=n(28),v=n.n(m),g=n(112),y=n.n(g),b=n(69),_=n.n(b),w=n(57),x=n.n(w),k=n(17),E=n.n(k),S=n(39),T=n.n(S),C=n(72),O=n(67),j=function(e){var t=e.id;return function(e){return e(Object(O.g)({id:t,updateFn:M}))}},A=function(e){var t=e.activeIndex,n=e.id;return function(e){return e(Object(O.g)({id:n,updateFn:N(t)}))}},P=function(e){var t=e.activeIndex,n=e.id,r=e.itemId;return function(e){return e(Object(O.g)({id:n,updateFn:L({activeIndex:t,itemId:r})}))}},M=_()(["activeIndex","direction"]),N=function(e){return c()(v.a)({activeIndex:e,direction:"backwards"})},L=function(e){var t=e.activeIndex,n=e.itemId;return a()(T()(E()("percentComplete",100),i()("isComplete",!0)),O.f,T()(function(){return y()(l()(n))},x()(f()(["items",n]),i()("isComplete",!0))),i()("activeIndex",t),_()(["direction"]))},I=a()(c()(v.a)({isComplete:!0,percentComplete:100}),M,x()(p()("items"),Object(C.e)(i()("isComplete",!0)))),D=a()(_()(["activeIndex","direction","isComplete","percentComplete"]),x()(p()("items"),Object(C.e)(_()(["isComplete"]))))},function(e,t,n){"use strict";n.d(t,"a",function(){return h}),n.d(t,"b",function(){return f}),n.d(t,"c",function(){return d});var r=n(680);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){Object(r.a)(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):i(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function a(e){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 s="function"==typeof Symbol&&Symbol.observable||"@@observable",c=function(){return Math.random().toString(36).substring(7).split("").join(".")},u={INIT:"@@redux/INIT"+c(),REPLACE:"@@redux/REPLACE"+c(),PROBE_UNKNOWN_ACTION:function(){return"@@redux/PROBE_UNKNOWN_ACTION"+c()}};function l(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 d(e,t,n){var r;if("function"==typeof t&&"function"==typeof n||"function"==typeof n&&"function"==typeof arguments[3])throw new Error(a(0));if("function"==typeof t&&void 0===n&&(n=t,t=void 0),void 0!==n){if("function"!=typeof n)throw new Error(a(1));return n(d)(e,t)}if("function"!=typeof e)throw new Error(a(2));var i=e,o=t,c=[],f=c,h=!1;function p(){f===c&&(f=c.slice())}function m(){if(h)throw new Error(a(3));return o}function v(e){if("function"!=typeof e)throw new Error(a(4));if(h)throw new Error(a(5));var t=!0;return p(),f.push(e),function(){if(t){if(h)throw new Error(a(6));t=!1,p();var n=f.indexOf(e);f.splice(n,1),c=null}}}function g(e){if(!l(e))throw new Error(a(7));if(void 0===e.type)throw new Error(a(8));if(h)throw new Error(a(9));try{h=!0,o=i(o,e)}finally{h=!1}for(var t=c=f,n=0;n<t.length;n++){(0,t[n])()}return e}return g({type:u.INIT}),(r={dispatch:g,subscribe:v,getState:m,replaceReducer:function(e){if("function"!=typeof e)throw new Error(a(10));i=e,g({type:u.REPLACE})}})[s]=function(){var e,t=v;return(e={subscribe:function(e){if("object"!=typeof e||null===e)throw new Error(a(11));function n(){e.next&&e.next(m())}return n(),{unsubscribe:t(n)}}})[s]=function(){return this},e},r}function f(e){for(var t=Object.keys(e),n={},r=0;r<t.length;r++){var i=t[r];0,"function"==typeof e[i]&&(n[i]=e[i])}var o,s=Object.keys(n);try{!function(e){Object.keys(e).forEach(function(t){var n=e[t];if(void 0===n(void 0,{type:u.INIT}))throw new Error(a(12));if(void 0===n(void 0,{type:u.PROBE_UNKNOWN_ACTION()}))throw new Error(a(13))})}(n)}catch(e){o=e}return function(e,t){if(void 0===e&&(e={}),o)throw o;for(var r=!1,i={},c=0;c<s.length;c++){var u=s[c],l=n[u],d=e[u],f=l(d,t);if(void 0===f){t&&t.type;throw new Error(a(14))}i[u]=f,r=r||f!==d}return(r=r||s.length!==Object.keys(e).length)?i:e}}function h(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return function(e){return function(){var n=e.apply(void 0,arguments),r=function(){throw new Error(a(15))},i={getState:n.getState,dispatch:function(){return r.apply(void 0,arguments)}},s=t.map(function(e){return e(i)});return r=function(){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))}})}.apply(void 0,s)(n.dispatch),o(o({},n),{},{dispatch:r})}}}},function(e,t,n){"use strict";n.d(t,"a",function(){return K});var r=n(3),i=n.n(r),o=n(19),a=n(9),s=n(10),c=n(6),u=n(11),l=n(13),d=n(5),f=n(4),h=n.n(f),p=n(15),m=n.n(p),v=(n(1906),n(0)),g=n.n(v),y=n(323),b=n.n(y),_=n(2),w=n.n(_),x=n(75),k=n.n(x),E=n(1),S=n.n(E),T=n(33),C=n.n(T),O=n(264),j=n(62),A=n(20),P=n(26),M=n(196),N=n(88),L=n(55),I=n(59),D=n(103),R=n(265),B=n(559),F=n(548);function U(e){var t=function(){if("undefined"==typeof Reflect||!i.a)return!1;if(i.a.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=Object(d.a)(e);if(t){var o=Object(d.a)(this).constructor;n=i()(r,arguments,o)}else n=r.apply(this,arguments);return Object(l.a)(this,n)}}var q=n(61).b.blocks;function z(e){var t=function(t){Object(u.a)(r,t);var n=U(r);function r(){var e,t;Object(a.a)(this,r);for(var i=arguments.length,o=new Array(i),s=0;s<i;s++)o[s]=arguments[s];return(t=n.call.apply(n,h()(e=[this]).call(e,o))).renderCaptionDelegate=t.renderCaption.bind(Object(c.a)(t)),t}return Object(s.a)(r,[{key:"renderCaption",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];return g.a.createElement(N.a,{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 g.a.createElement(e,Object(o.a)({},this.props,{renderCaption:n}))}}]),r}(g.a.Component);return t.displayName="withCaption(".concat(e.displayName||e.name,")"),t}var H=function(e){Object(u.a)(n,e);var t=U(n);function n(e){var r;return Object(a.a)(this,n),(r=t.call(this,e)).state={isDotKeyboardFocusDisabled:!1},r}return Object(s.a)(n,[{key:"componentDidUpdate",value:function(){var e=this.sliderContainer.querySelector(".block-gallery__dots-list"),t=this.state.isDotKeyboardFocusDisabled;e&&!t&&(Object(A.b)(e),this.setState({isDotKeyboardFocusDisabled:!0}))}},{key:"onKeyDown",value:function(e){var t=this.slider;C()([[P.i,t.slickNext.bind(t)],[P.g,t.slickPrev.bind(t)]])(e)}},{key:"render",value:function(){var e=this,t=this.props,n=t.children,r=t.className,i=t.beforeChange,a=t.menuOpen,s={adaptiveHeight:!0,slidesToShow:1,slidesToScroll:1,arrows:n.length>1,nextArrow:g.a.createElement(V,{menuOpen:a}),prevArrow:g.a.createElement(V,{menuOpen:a,previous:!0}),dots:n.length>1,dotsClass:"block-gallery__dots-list brand--background-all brand--shadow-all",beforeChange:i};return g.a.createElement("div",{className:"block-gallery__slider-container",tabIndex:A.a,onKeyDown:this.onKeyDown.bind(this),ref:function(t){e.sliderContainer=t}},g.a.createElement(b.a,Object(o.a)({className:r,ref:function(t){e.slider=t}},s),n))}}],[{key:"propTypes",get:function(){return{children:S.a.node.isRequired,className:S.a.string.isRequired,beforeChange:S.a.func.isRequired,menuOpen:S.a.bool}}}]),n}(g.a.Component),V=function(e){Object(u.a)(n,e);var t=U(n);function n(){return Object(a.a)(this,n),t.apply(this,arguments)}return Object(s.a)(n,[{key:"render",value:function(){var e=this.props,t=e.menuOpen,n=e.onClick,r=e.previous,i=w()("block-gallery__arrow",{"block-gallery__arrow--next":!r,"block-gallery__arrow--prev":r}),o=window.document.documentMode,a=w()("block-gallery__controls",{"block-gallery__controls--ie":o&&!t,"block-gallery__controls--ie-menu-open":o&&t});return g.a.createElement("div",{className:a},g.a.createElement("div",{className:i,onClick:n},g.a.createElement("div",{className:"block-gallery__arrow-icon"})))}}],[{key:"propTypes",get:function(){return{menuOpen:S.a.bool,onClick:S.a.func,previous:S.a.bool}}},{key:"defaultProps",get:function(){return{previous:!1}}}]),n}(g.a.Component),W=function(e){Object(u.a)(n,e);var t=U(n);function n(){return Object(a.a)(this,n),t.apply(this,arguments)}return Object(s.a)(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 g.a.createElement(b.a,Object(o.a)({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:S.a.node.isRequired,className:S.a.string}}}]),n}(g.a.Component),Y=function(e){var t=e.children;return g.a.createElement("div",{className:"block-gallery__container"},g.a.createElement("div",{className:"block-gallery__row--slide-row"},g.a.createElement("div",{className:"block-gallery__col"},t)))},G=function(e){Object(u.a)(n,e);var t=U(n);function n(e){var r;return Object(a.a)(this,n),(r=t.call(this,e)).state={currentIndex:0},r}return Object(s.a)(n,[{key:"componentDidUpdate",value:function(){var e=Object(M.b)(this.carousel.querySelectorAll(".slick-slide.slick-active button")),t=Object(M.b)(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=A.h})}},{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 m()(e).call(e,function(e,r){var i=e.id,o=e.caption,a=r===n,s=k()(e,"media.image.alt"),c=k()(e,"media.image.originalUrl"),u=k()(e,"media.image.key"),l=Object(I.a)(k()(e,"media.image"));return g.a.createElement("div",{key:i,className:"block-gallery__slide"},g.a.createElement(Y,null,g.a.createElement("div",{className:"block-gallery__figure"},g.a.createElement("div",{className:"block-gallery__image"},g.a.createElement(O.a,{allowTabNavigation:a,alt:s,caption:o,disableZoom:!t,fileName:c,imageKey:u,src:l})))))})}},{key:"renderCaptions",value:function(e){var t=this.state.currentIndex,n=this.props,r=n.editable,i=n.renderCaption;return m()(e).call(e,function(e,n){var o=e.id,a=e.caption,s=n===t;return g.a.createElement("div",{key:o,className:"block-gallery__slide"},a||r?g.a.createElement(Y,null,i(o,a,s)):null)})}},{key:"render",value:function(){var e=this,t=this.props,n=t.animateBlockEntrance,r=t.isLearner,i=t.items,o=t.menuOpen,a=t.type,s=t.settings,c=s.paddingTop,u=s.paddingBottom,l=s.backgroundColor,d=s.entranceAnimation,f=s.zoomOnClick,h=w()("block-gallery block-gallery--".concat(a),{"block-gallery--no-animation":!d}),p={backgroundColor:Object(j.a)("",l),paddingTop:"".concat(10*c,"px"),paddingBottom:"".concat(10*u,"px")};return g.a.createElement("div",{style:p},g.a.createElement(L.a,{animateBlockEntrance:n,animateIn:"fadeIn",offset:200,isLearner:r},g.a.createElement("div",{className:h,"data-ba":q.blockGallery,ref:function(t){e.carousel=t}},g.a.createElement(H,{className:"block-gallery__images",beforeChange:this.handleSlideChangeBefore.bind(this),menuOpen:o},this.renderImages(i,f)),g.a.createElement(W,{className:"block-gallery__captions",ref:function(t){e.captions=t}},this.renderCaptions(i)))))}}],[{key:"propTypes",get:function(){return{lessonId:S.a.any,blockId:S.a.any,items:S.a.array.isRequired,settings:S.a.object.isRequired,type:S.a.string,editable:S.a.bool,onStep:S.a.func,menuOpen:S.a.bool}}},{key:"defaultProps",get:function(){return{type:"carousel",lessonId:"",blockId:"",items:[],onStep:Function.prototype}}}]),n}(g.a.Component);t.b=z(G);var K=z(function(e){Object(u.a)(n,e);var t=U(n);function n(){return Object(a.a)(this,n),t.apply(this,arguments)}return Object(s.a)(n,[{key:"render",value:function(){var e=this.props,t=e.animateBlockEntrance,n=e.editable,r=e.isLearner,i=e.items,o=e.settings,a=e.width,s=e.renderCaption,c=o.paddingTop,u=o.paddingBottom,l=o.backgroundColor,d=o.entranceAnimation,f=o.zoomOnClick,h=w()("block-gallery block-gallery--".concat(function(e){switch(e){case 3:return"threecol";case 4:return"fourcol";default:return"twocol"}}(a)),{"block-gallery--no-animation":!d}),p={backgroundColor:Object(j.a)("",l),paddingTop:"".concat(10*c,"px"),paddingBottom:"".concat(10*u,"px")};return g.a.createElement("div",{className:h,"data-ba":q.blockGallery,style:p},g.a.createElement("div",{className:"block-gallery__container"},g.a.createElement("div",{className:"block-gallery__row"},g.a.createElement(L.a,{animateBlockEntrance:t,animateIn:"fadeIn",className:"block-gallery__col",isLearner:r,siblingDelay:.25},m()(i).call(i,function(e){var r=e.id,i=e.caption,o=k()(e,"media.image.alt"),a=k()(e,"media.image.key"),c=Object(I.a)(k()(e,"media.image")),u=Object(D.a)({caption:i,editable:n,id:r}),l=k()(e,"media.image.originalUrl");return g.a.createElement("div",{key:r,className:t?"":"block-gallery__col"},g.a.createElement(u.tagName,{"aria-labelledby":u.figcaptionId,className:"block-gallery__figure",role:u.role},a&&g.a.createElement($,{alt:o,caption:i,disableZoom:!f,fileName:l,imageKey:a,src:c}),(n||i)&&g.a.createElement("figcaption",{id:u.figcaptionId},s(r,i))))})))))}}],[{key:"propTypes",get:function(){return{animateBlockEntrance:S.a.bool.isRequired,lessonId:S.a.any,blockId:S.a.any,isLearner:S.a.bool.isRequired,items:S.a.array.isRequired,settings:S.a.object.isRequired,width:S.a.number,editable:S.a.bool}}},{key:"defaultProps",get:function(){return{blockId:"",items:[],lessonId:"",width:2}}}]),n}(g.a.Component)),$=function(e){var t=e.alt,n=e.caption,r=e.disableZoom,i=e.fileName,o=e.imageKey,a=e.src,s=Object(v.useRef)(),c=Object(v.useRef)(),u=Object(R.a)({alt:t,caption:n,fileName:i,key:o}),l=a?{backgroundImage:"url('".concat(a,"')")}:void 0,d=Object(v.useCallback)(function(e){c.current.zoom(s.current,e.currentTarget,{})},[]);Object(v.useEffect)(function(){var e=Object(B.a)();return c.current=e,function(){e.cleanup()}},[]);var f=w()("block-gallery__image",{"img-zoom":!r}),h=r?void 0:d;return g.a.createElement("div",{className:f,style:l},g.a.createElement("div",{className:"img"},g.a.createElement("img",{alt:u,onClick:h,ref:s,role:"img",src:a})),!r&&g.a.createElement("button",{"aria-label":"Zoom image",className:"img__btn img__btn--zoom visually-hidden",onClick:d,type:"button"},g.a.createElement(F.a,{"aria-hidden":"true",className:"img__btn-symbol"})))}},function(e,t,n){"use strict";(function(e){var r=n(0),i=n.n(r),o=n(721),a=n(169),s=n.n(a);function c(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:"above",inside:"inside",below:"below",invisible:"invisible"};var l="<Waypoint> expected to receive a single React element child.\n\nSee https://goo.gl/LrBNgw for more info.";function d(e){if(e)try{i.a.Children.only(e)}catch(e){throw new Error(l)}}function f(e){return"string"==typeof e.type}var h="<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.";var p=void 0,m=[];function v(e){m.push(e),p||(p=setTimeout(function(){p=null;for(var e=void 0;e=m.shift();)e()},0));var t=!0;return function(){return function(){if(t){t=!1;var n=m.indexOf(e);-1!==n&&(m.splice(n,1),!m.length&&p&&(clearTimeout(p),p=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(){return function(){}}(),onLeave:function(){return function(){}}(),onPositionChange:function(){return function(){}}(),fireOnRapidScroll:!0},b=void 0!==i.a.PureComponent?i.a.PureComponent:i.a.Component,_=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.refElement=function(e){return t._ref=e},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,b),g(n,[{key:"componentWillMount",value:function(){return function(){d(this.props.children)}}()},{key:"componentDidMount",value:function(){return function(){var e=this;n.getWindow()&&(this.cancelOnNextTick=v(function(){e.cancelOnNextTick=null,function(e,t){if(e&&!f(e)&&!t)throw new Error(h)}(e.props.children,e._ref),e._handleScroll=e._handleScroll.bind(e),e.scrollableAncestor=e._findScrollableAncestor(),e.scrollEventListenerUnsubscribe=Object(o.a)(e.scrollableAncestor,"scroll",e._handleScroll,{passive:!0}),e.resizeEventListenerUnsubscribe=Object(o.a)(window,"resize",e._handleScroll,{passive:!0}),e._handleScroll(null)}))}}()},{key:"componentWillReceiveProps",value:function(){return function(e){d(e.children)}}()},{key:"componentDidUpdate",value:function(){return function(){var e=this;n.getWindow()&&this.scrollableAncestor&&(this.cancelOnNextTick||(this.cancelOnNextTick=v(function(){e.cancelOnNextTick=null,e._handleScroll(null)})))}}()},{key:"componentWillUnmount",value:function(){return function(){n.getWindow()&&(this.scrollEventListenerUnsubscribe&&this.scrollEventListenerUnsubscribe(),this.resizeEventListenerUnsubscribe&&this.resizeEventListenerUnsubscribe(),this.cancelOnNextTick&&this.cancelOnNextTick())}}()},{key:"_findScrollableAncestor",value:function(){return function(){var t=this.props,n=t.horizontal,r=t.scrollableAncestor;if(r)return function(t){return"window"===t?e.window:t}(r);for(var i=this._ref;i.parentNode;){if((i=i.parentNode)===document.body)return window;var o=window.getComputedStyle(i),a=(n?o.getPropertyValue("overflow-x"):o.getPropertyValue("overflow-y"))||o.getPropertyValue("overflow");if("auto"===a||"scroll"===a)return i}return window}}()},{key:"_handleScroll",value:function(){return function(e){if(this._ref){var t=this._getBounds(),n=function(e){return e.viewportBottom-e.viewportTop==0?u.invisible:e.viewportTop<=e.waypointTop&&e.waypointTop<=e.viewportBottom?u.inside:e.viewportTop<=e.waypointBottom&&e.waypointBottom<=e.viewportBottom?u.inside:e.waypointTop<=e.viewportTop&&e.viewportBottom<=e.waypointBottom?u.inside:e.viewportBottom<e.waypointTop?u.below:e.waypointTop<e.viewportTop?u.above:u.invisible}(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===u.inside?this.props.onEnter.call(this,i):r===u.inside&&this.props.onLeave.call(this,i);var o=r===u.below&&n===u.above,a=r===u.above&&n===u.below;this.props.fireOnRapidScroll&&(o||a)&&(this.props.onEnter.call(this,{currentPosition:u.inside,previousPosition:r,event:e,waypointTop:t.waypointTop,waypointBottom:t.waypointBottom,viewportTop:t.viewportTop,viewportBottom:t.viewportBottom}),this.props.onLeave.call(this,{currentPosition:n,previousPosition:u.inside,event:e,waypointTop:t.waypointTop,waypointBottom:t.waypointBottom,viewportTop:t.viewportTop,viewportBottom:t.viewportBottom}))}}}}()},{key:"_getBounds",value:function(){return function(){var e=this.props.horizontal,t=this._ref.getBoundingClientRect(),n=t.left,r=t.top,i=t.right,o=t.bottom,a=e?n:r,s=e?i:o,u=void 0,l=void 0;this.scrollableAncestor===window?(u=e?window.innerWidth:window.innerHeight,l=0):(u=e?this.scrollableAncestor.offsetWidth:this.scrollableAncestor.offsetHeight,l=e?this.scrollableAncestor.getBoundingClientRect().left:this.scrollableAncestor.getBoundingClientRect().top);var d=this.props,f=d.bottomOffset;return{waypointTop:a,waypointBottom:s,viewportTop:l+c(d.topOffset,u),viewportBottom:l+u-c(f,u)}}}()},{key:"render",value:function(){return function(){var e=this,t=this.props.children;if(!t)return i.a.createElement("span",{ref:this.refElement,style:{fontSize:0}});if(f(t)){var n=function(n){e.refElement(n),t.ref&&t.ref(n)};return i.a.cloneElement(t,{ref:n})}return i.a.cloneElement(t,{innerRef:this.refElement})}}()}]),n}();_.propTypes={children:s.a.node,debug:s.a.bool,onEnter:s.a.func,onLeave:s.a.func,onPositionChange:s.a.func,fireOnRapidScroll:s.a.bool,scrollableAncestor:s.a.any,horizontal:s.a.bool,topOffset:s.a.oneOfType([s.a.string,s.a.number]),bottomOffset:s.a.oneOfType([s.a.string,s.a.number])},_.above=u.above,_.below=u.below,_.inside=u.inside,_.invisible=u.invisible,_.getWindow=function(){if("undefined"!=typeof window)return window},_.defaultProps=y,_.displayName="Waypoint",t.a=_}).call(this,n(96))},function(e,t,n){"use strict";n.d(t,"a",function(){return o}),n.d(t,"d",function(){return a}),n.d(t,"c",function(){return s}),n.d(t,"b",function(){return c}),n.d(t,"e",function(){return u});var r=n(77);function i(e){return e.courseProgress}function o(e){var t=i(e);return null==t?void 0:t.currentLesson}function a(e){var t=i(e);return null==t?void 0:t.percentComplete}function s(e){var t=i(e);return null==t?void 0:t.lessons}function c(e,t){var n=s(t);return null==n?void 0:n[e]}function u(e){return Object(r.d)(function(t){return c(e,t)})}},function(e,t,n){"use strict";n.d(t,"j",function(){return pt}),n.d(t,"e",function(){return mt}),n.d(t,"d",function(){return vt}),n.d(t,"a",function(){return kt}),n.d(t,"i",function(){return Et}),n.d(t,"b",function(){return Tt}),n.d(t,"c",function(){return Ct}),n.d(t,"f",function(){return Ot}),n.d(t,"h",function(){return Ht}),n.d(t,"g",function(){return Vt});var r=n(3),i=n.n(r),o=n(8),a=n(101),s=n(19),c=n(9),u=n(10),l=n(11),d=n(13),f=n(5),h=n(136),p=n.n(h),m=n(4),v=n.n(m),g=n(15),y=n.n(g),b=(n(2727),n(0)),_=n.n(b),w=n(130),x=n(77),k=n(241),E=n.n(k),S=n(203),T=n.n(S),C=n(153),O=n.n(C),j=n(2),A=n.n(j),P=n(100),M=n.n(P),N=n(7),L=n.n(N),I=n(54),D=n.n(I),R=n(49),B=n.n(R),F=n(65),U=n.n(F),q=n(31),z=n.n(q),H=n(30),V=n.n(H),W=n(28),Y=n.n(W),G=n(155),K=n.n(G),$=n(143),X=n.n($),Q=n(24),Z=n.n(Q),J=n(23),ee=n.n(J),te=n(92),ne=n.n(te),re=n(17),ie=n.n(re),oe=n(46),ae=n.n(oe),se=n(1098),ce=n.n(se),ue=n(86),le=n(32),de=n(59),fe=n(22),he=n(723),pe=n(154),me=n(73),ve=n(1241),ge=n(699),ye=n(42),be=n(1242),_e=n(44),we=n(41),xe=n.n(we),ke=(n(2728),n(561)),Ee=n(1243),Se=n(6),Te=(n(2729),n(110)),Ce=n(90),Oe=n(114),je=n(263),Ae=n(558),Pe=n(1244),Me=n(299);function Ne(e){var t=function(){if("undefined"==typeof Reflect||!i.a)return!1;if(i.a.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=Object(f.a)(e);if(t){var o=Object(f.a)(this).constructor;n=i()(r,arguments,o)}else n=r.apply(this,arguments);return Object(d.a)(this,n)}}var Le=function(e){Object(l.a)(n,e);var t=Ne(n);function n(){var e,r;Object(c.a)(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,v()(e=[this]).call(e,o))).handleClick=r.handleClick.bind(Object(Se.a)(r)),r.handleBlur=r.handleFocusChange.bind(Object(Se.a)(r),!1),r.handleFocus=r.handleFocusChange.bind(Object(Se.a)(r),!0),r.handleMouseEnter=r.handleMouseHover.bind(Object(Se.a)(r),!0),r.handleMouseLeave=r.handleMouseHover.bind(Object(Se.a)(r),!1),r.state={hasRestrictedFocus:!1},r}return Object(u.a)(n,[{key:"handleClick",value:function(e){var t=this.props.history,n=e.currentTarget.hash;e.preventDefault(),E.a.Events.scrollEvent.register("end",function(){t.push(xe()(n).call(n,1)),E.a.Events.scrollEvent.remove("end")}),E.a.animateScroll.scrollTo(0,{containerId:"overview"}),Object(Ce.a)(Object(je.d)(!0))}},{key:"handleFocusChange",value:function(e){this.setState({hasRestrictedFocus:e})}},{key:"handleMouseHover",value:function(e){e?this.props.onMouseEnter():this.props.onMouseLeave()}},{key:"render",value:function(){var e=this.props,t=e.allowTooltip,n=e.isRestricted,r=e.lesson,i=r.icon,o=r.id,a=r.title,s=e.passedQuiz,c=e.percentComplete,u=e.restrictedText,l=this.state.hasRestrictedFocus,d="#/lessons/".concat(o),f=_.a.createElement(b.Fragment,null,_.a.createElement("div",{className:"overview-list-item__icon","aria-hidden":"true"},_.a.createElement(Ae.a,{icon:i})),_.a.createElement("div",{className:"overview-list-item__title brand--ui"},a),_.a.createElement("div",{className:"overview-list-item__pie"},_.a.createElement(Pe.a,{percentComplete:c,passedQuiz:s})));if(n){var h,p=A()("runtime-tooltip",{"runtime-tooltip--show":t&&l});return _.a.createElement("li",{className:"overview-list-item overview-list-item--restricted",role:"listitem"},_.a.createElement(Me.a,{className:p},_.a.createElement("span",{"aria-disabled":"true","aria-label":v()(h="The ".concat(a," lesson is currently unavailable: ")).call(h,u,"."),className:"overview-list-item__link",onBlur:this.handleBlur,onFocus:this.handleFocus,onMouseEnter:this.handleMouseEnter,onMouseLeave:this.handleMouseLeave,role:"link",tabIndex:"0"},f,_.a.createElement(Me.b,{"aria-hidden":"true",side:"top"},u))))}return _.a.createElement("li",{className:"overview-list-item",role:"listitem"},_.a.createElement("a",{className:"overview-list-item__link",href:d,onClick:this.handleClick},f))}}],[{key:"defaultProps",get:function(){return{allowTooltip:!0,onMouseEnter:Oe.b,onMouseLeave:Oe.b}}}]),n}(b.PureComponent),Ie=Object(Te.g)(Le),De=Object(ke.a)("modernOverview"),Re=function(e){var t=e.course,n=e.courseProgress,r=e.labels,i=e.lessons,o=e.restrictingQuiz,a=Object(b.useState)(!1),s=Object(_e.a)(a,2),c=s[0],u=s[1],l=Object(b.useCallback)(u.bind(null,!0),[]),d=Object(b.useCallback)(u.bind(null,!1),[]),f=function(e){return e.reduce(function(e,t){return"section"===t.type?e.push([t]):e[e.length-1].push(t),e},[[]])}(i),h=A()("overview-list",{"overview-list--modern":De});return _.a.createElement("nav",{className:h},y()(f).call(f,function(e,i){var a=Object(be.a)(e),s=a[0],u=void 0===s?{}:s,f=xe()(a).call(a,1),h=u.title,p="section"===u.type,m=p?f:e;return _.a.createElement("section",{key:i},p&&h&&_.a.createElement("h3",{className:"overview-list__section-title brand--ui"},h),_.a.createElement("ol",{className:"overview-list__list",role:"list"},y()(m).call(m,function(e){var i=Object(pe.b)({course:t,courseProgress:n,lesson:e,restrictingQuiz:o}),a=Object(pe.a)({labels:r,restrictions:i}),s=Object(Ee.a)(n,e.id),u=s.percentComplete,f=s.passedQuiz;return _.a.createElement(Ie,{allowTooltip:!c,isRestricted:i.isRestricted,key:e.id,lesson:e,onMouseEnter:l,onMouseLeave:d,passedQuiz:f,percentComplete:u,restrictedText:a,failedQuizWithNoAttempts:void 0})})))}))},Be=Object(b.memo)(Re),Fe=n(127),Ue=n.n(Fe),qe=n(186),ze=n.n(qe),He=n(25),Ve=n.n(He),We=n(533),Ye=n.n(We),Ge=n(246),Ke=n.n(Ge),$e=Ve()(Ue()({}),Ye()(["first_name","last_name"]),ze()(" "),Ke.a),Xe=(n(2730),["className","decorative","size"]),Qe=function(e){var t=e.className,n=e.decorative,r=e.size,i=Object(a.a)(e,Xe),o=Z()(["avatars","medium"],i),s=n?"":$e(i)||"Unknown User";return o?_.a.createElement("img",{alt:s,className:t||"user-avatar",src:o,style:{height:r,width:r}}):_.a.createElement(le.D,{decorative:n,height:r,title:s,width:r})},Ze=n(726),Je=n(53),et=n.n(Je),tt=n(689),nt=n(690),rt=(n(2731),D()("partner-content-author-card__")),it=function(e){var t=e.courseId,n=e.partnerContent,r=e.publishedAt,i=e.tenantId,o=n.data,a=n.type,s=o.authors,c=o.bookImage,u=o.bookTitle,l=o.buyLink,d=o.internalId,f=o.nbicLink,h=et()(s).call(s,function(e){return e.name}),p={courseId:t,partnerContentId:n.id,partnerContentInternalId:d,tenantId:i,contentSubtype:a},m=A()(rt("flex"),rt("author-container")),v=function(e){return Object(de.f)({width:"122",height:"122",imageKey:e})};return _.a.createElement("ol",{className:"partner-content-author-card",role:"list"},_.a.createElement("li",{role:"listitem"},_.a.createElement("section",null,_.a.createElement("h2",{className:"visually-hidden"},"Authors"),y()(h).call(h,function(e){return _.a.createElement("li",{key:e.name,className:m},(t=e.image,n=e.name,_.a.createElement("div",{"aria-hidden":"true",className:rt("image-container")},t?_.a.createElement("img",{src:v(t),alt:n,className:rt("author-image")}):_.a.createElement("div",{className:rt("author-image")}))),_.a.createElement("p",{className:rt("author-name-text")},e.name));var t,n}))),_.a.createElement("li",{role:"listitem"},_.a.createElement(tt.a,{authors:s,bookImage:c,bookTitle:u,buyLink:l,publishedAt:r,trackingInfo:p})),_.a.createElement("li",{role:"listitem"},_.a.createElement(nt.a,{link:f,publishedAt:r,trackingInfo:p})))},ot=n(61),at=n(270),st=["enableModernOverview"],ct=["enableModernOverview"],ut=["children","enableModernOverview"],lt=["children","coverImage","enrolled","favoritedAt","hasModernOverview","isPreview","startAgain"];function dt(e){var t=function(){if("undefined"==typeof Reflect||!i.a)return!1;if(i.a.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=Object(f.a)(e);if(t){var o=Object(f.a)(this).constructor;n=i()(r,arguments,o)}else n=r.apply(this,arguments);return Object(d.a)(this,n)}}var ft=ot.a.learn.course.overview,ht=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 A()(t,function(e){var t=e.enableModernOverview,n=e.brand;return ce()(V()(L()(X()(T.a,!t),D()("brand--"))),Y.a,{})(n)}({enableModernOverview:e,brand:r}))},pt=function(e){Object(l.a)(n,e);var t=dt(n);function n(){return Object(c.a)(this,n),t.apply(this,arguments)}return Object(u.a)(n,[{key:"render",value:function(){var e=A()("overview",{"overview--modern":this.props.enableModernOverview});return _.a.createElement("div",{className:e,"data-ba":ft.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},c={width:e?s.offsetWidth:i.offsetWidth,height:e?s.offsetHeight:i.offsetHeight},u={width:e?i.offsetWidth:s.offsetWidth,height:e?i.offsetHeight:s.offsetHeight};return a.style.width="".concat(s.offsetWidth,"px"),o.style.width="".concat(c.width,"px"),o.style.height="".concat(c.height,"px"),r.classList.add(e?"overview--will-enter":"overview--will-exit"),setTimeout(function(){r.classList.add(e?"overview--will-enter-active":"overview--will-exit-active"),(e&&window.innerWidth<960||window.innerWidth>=960)&&(o.style.width="".concat(u.width,"px"),o.style.height="".concat(u.height,"px"))},10),new p.a(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("overview--will-enter","overview--will-enter-active","overview--will-exit","overview--will-exit-active"),n())})})}}]),n}(_.a.Component),mt=function(e){Object(l.a)(n,e);var t=dt(n);function n(e){var r;return Object(c.a)(this,n),(r=t.call(this,e)).state={coverImageLoaded:!1},r}return Object(u.a)(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?Object(de.a)(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=_.a.Children.toArray(this.props.children),c=a?{backgroundImage:"url('".concat(Object(de.a)(o),"')")}:null,u=A()("overview__side-panel",{"brand--background":!a});return _.a.createElement("div",{className:"overview__side","data-overview-side":!0},_.a.createElement("div",{className:u,"data-overview-side-panel":!0,style:c},this.state.coverImageLoaded?_.a.createElement(ge.a,{alpha:r}):null,_.a.createElement("div",{className:"overview__side-panel-content","data-overview-side-panel-content":!0},B()(ie()("type",Ze.a),s))),_.a.createElement("div",{className:"overview__side-content","data-overview-content":!0},_.a.createElement("div",{className:"overview__side-container"},_.a.createElement("div",{className:"overview__side-container-content"},B()(M()(ie.a)("type",Ze.a),s)))))}}]),n}(_.a.Component),vt=function(e){var t=e.children;return _.a.createElement("div",{className:"overview__main",id:"overview-main",tabIndex:"-1"},_.a.createElement("div",{className:"overview__content"},_.a.createElement("div",{className:"overview__container"},t)))},gt=function(e){return _.a.createElement("div",Object(s.a)({},e,{className:"overview__columns"}))},yt=function(e){return _.a.createElement("div",Object(s.a)({},e,{className:"overview__main-col"}))},bt=function(e){return _.a.createElement("div",Object(s.a)({},e,{className:"overview__aside"}))},_t=function(e){var t=e.enableModernOverview,n=Object(a.a)(e,st);return t?_.a.createElement(bt,n):null},wt=function(e){var t=e.enableModernOverview,n=Object(a.a)(e,ct),r=t?"overview__section-header":"visually-hidden";return _.a.createElement("header",Object(s.a)({},n,{className:r}))},xt=function(e){var t=e.children,n=e.enableModernOverview,r=Object(a.a)(e,ut),i=n?ht(n,"overview__heading","ui"):null;return _.a.createElement("h2",Object(s.a)({},r,{className:i}),t)},kt=function(e){var t=e.avatar,n=e.authorName,r=e.enableModernOverview;return t&&n?_.a.createElement("div",{className:ht(r,"overview__author","ui")},_.a.createElement("div",{className:"overview__author-image",style:{backgroundImage:"url(".concat(Object(me.p)(t),")")}}),_.a.createElement("div",null,_.a.createElement("span",{"aria-hidden":"true"},n),_.a.createElement("span",{className:"visually-hidden"},"By ",n))):null},Et=function(e){var t=e.enableModernOverview,n=e.children;return _.a.createElement("div",{className:"overview__title-wrap"},_.a.createElement(ye.a,{className:ht(t,"overview__title","head"),tagName:"h1",value:n}))},St=L()(ne()(["hasModernOverview","isPreview"]),ae()({},"global")),Tt=Object(x.b)(St,{})(function(e){var t=e.children,n=e.coverImage,r=e.enrolled,i=e.favoritedAt,o=e.hasModernOverview,c=e.isPreview,u=e.startAgain,l=Object(a.a)(e,lt),d=Z()(["media","image","key"],n),f=A()("overview__button",{"brand--color":!d,"brand--ui":!o,"overview__outline-btn":u,"overview__start-again":u,"overview__button-enrolled":r||i||c||Object(me.k)()});return _.a.createElement(w.b,Object(s.a)({className:f},l),t)}),Ct=function(e){var t=e.enableModernOverview,n=e.text;return _.a.createElement(E.a.Link,{className:"overview__details-trigger",containerId:"overview",duration:1e3,href:"#overview-main",smooth:!0,to:"overview-main"},_.a.createElement("span",{className:ht(t,"overview__details-trigger-text","ui")},n),_.a.createElement(le.f,null))},Ot=function(e){var t=e.src,n=e.width,r=e.height;return t?_.a.createElement("div",{className:"overview__logo"},_.a.createElement("img",{src:t,width:n,height:r,alt:"Logo"})):null},jt=function(e){return"<p><br></p>"===e?"":e},At=function(e){var t=e.publishedAt;if(!fe.e)return null;var n=K()(t);return n.isValid()&&_.a.createElement("span",{className:"overview__description-published"},n.format("[Published] MMMM D, YYYY"))},Pt=function(e){var t=e.enableModernOverview,n=e.numLessons,r=e.publishedAt,i=e.showTimeToComplete,o=e.text,a=e.timeToComplete,s=Object(at.b)(960);return jt(o)?_.a.createElement(b.Fragment,null,_.a.createElement(wt,{enableModernOverview:t},_.a.createElement(xt,{enableModernOverview:t},"Description"),s&&_.a.createElement(At,{publishedAt:r}),!s&&_.a.createElement(Nt,{numLessons:n,timeToComplete:a,showTimeToComplete:i,standalone:!1})),_.a.createElement(ye.a,{key:"text",value:jt(o),className:ht(t,"overview__description brand--linkColor","body")})):null},Mt=function(e,t){return 1===e?t:v()(t).call(t,"s")},Nt=function(e){var t,n=e.numLessons,r=e.timeToComplete,i=e.showTimeToComplete,o=e.standalone,a=void 0===o||o,s=r>=36e5?(t=K.a.duration(r).asHours(),Math.round(10*t)/10):K.a.duration(r).asMinutes(),c=A()("overview__stat",{"overview__stat-standalone":!a});return _.a.createElement("ul",{className:c,role:"list"},_.a.createElement("li",{className:"overview__stat-value-wrap",role:"listitem"},_.a.createElement("span",{className:"overview__stat-value"},n),"  Lessons"),fe.e&&i&&_.a.createElement("li",{className:"overview__stat-value-wrap",role:"listitem"},_.a.createElement("span",{className:"overview__stat-value"},s)," ",Mt(s,r>=36e5?"Hour":"Minute")))},Lt=function(e){var t=e.avatar,n=e.authorName,r=e.authorTitle,i=e.enableModernOverview;return t&&n?_.a.createElement("section",{className:ht(i,"overview__author-card","ui")},_.a.createElement("h2",{className:"visually-hidden"},"Course Author"),_.a.createElement("img",{className:"overview__author-card-image",src:Object(me.p)(t),alt:""}),_.a.createElement("span",{className:"overview__author-card-wrap"},_.a.createElement("span",{className:"overview__author-card-name"},n),r&&_.a.createElement("span",{className:"overview__author-card-title"},r))):null},It=function(e){var t,n=e.dueAt;if(!n)return null;var r=Object(he.b)(n),i=A()("overview__due-date","brand--border",(t={},Object(o.a)(t,"brand--color",!r),Object(o.a)(t,"overview__due-date--urgent brand--background",r),t));return _.a.createElement("div",{className:i},Object(he.a)(n))},Dt=function(e){var t=e.component;return _.a.createElement("span",{"aria-hidden":"true",className:"overview__requirements-icon"},_.a.createElement(t,{className:"overview__requirements-icon-svg"}))},Rt=function(e){var t,n=e.completedAt,r=e.courseProgress,i=e.dueAt,o=e.lessons,a=void 0===o?[]:o,s=e.numLessons,c=e.trackingCompletionPercentage,u=e.trackingQuizId,l=!z()(c),d=!!u,f=Math.ceil(c/100*s),h=U()(O()(ie()("type","quiz"),ie()("id",u)),a),p=ae()(void 0,"title",h),m=Z()(["settings","passingScore"],h),g=!l||r.percentComplete>=c,y=Object(pe.d)(r,h,u),w=y.outOfAttempts,x=y.quizPassed,k=!x&&w,E=g&&(x||k);return l||d?_.a.createElement("section",{className:"overview__requirements"},_.a.createElement("h2",{className:"overview__requirements-header"},"Course Requirements"),_.a.createElement("ul",{className:"overview__requirements-list",role:"list"},l&&!isNaN(f)&&_.a.createElement("li",{className:"overview__requirements-list-item",role:"listitem"},g?_.a.createElement("span",{className:"overview__requirements-icon"},_.a.createElement(le.e,{"aria-label":"Requirement complete"})):_.a.createElement(Dt,{component:le.E}),_.a.createElement("span",null,"Complete",f===s?" all ":v()(t=" ".concat(f," of ")).call(t,s," "),"lessons in this course")),d&&p&&_.a.createElement("li",{className:"overview__requirements-list-item",role:"listitem"},x?_.a.createElement("span",{className:"overview__requirements-icon"},_.a.createElement(le.e,{"aria-label":"Requirement complete"})):k?_.a.createElement("span",{className:"overview__requirements-icon"},_.a.createElement(le.J,{"aria-label":"Quiz failed"})):_.a.createElement(Dt,{component:le.v}),_.a.createElement("div",null,_.a.createElement("span",null,p,!z()(m)&&_.a.createElement(b.Fragment,null,_.a.createElement("span",{"aria-hidden":"true",className:"overview__requirements-separator"}," | "),"Score of ",m,"% or higher")),k&&_.a.createElement("div",{className:"overview__requirements-no-attempts"},"No attempts remaining."))),fe.e&&!E&&i&&_.a.createElement("li",{role:"listitem"},_.a.createElement(It,{dueAt:i})),n&&_.a.createElement("li",{className:"overview__requirements-completed",role:"listitem"},"Completed ",K()(n).format("L")))):null},Bt=function(e){return _.a.createElement("div",Object(s.a)({},e,{className:"overview__author-requirements-wrap"}))},Ft=function(e){var t=e.categories,n=void 0===t?[]:t;return 0===n.length?null:_.a.createElement("div",{className:"overview__categories-wrap"},_.a.createElement("section",{className:"overview__categories"},_.a.createElement("h2",{className:"overview__categories-header"},"Topics"),_.a.createElement("ul",{className:"overview__categories-list",role:"list"},y()(n).call(n,function(e,t){return _.a.createElement("li",{className:"overview__categories-list-item",key:t,role:"listitem"},_.a.createElement("span",{className:"overview__categories-icon","aria-hidden":"true"},_.a.createElement(le.c,null)),_.a.createElement("span",{className:"overview__categories-name"},e))}))))},Ut=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=A()({"overview__enroll-heart-filled":t,"overview__enroll-heart-outline":!t});return _.a.createElement("button",{"aria-pressed":!!t,className:"overview__enroll-button","data-ba":ft.favoriteButton,onClick:i,type:"button"},_.a.createElement(le.x,{isFilled:t,className:a}),o)},qt="".concat(Object(fe.c)("CDN_USER_CONTENT_URI"),"/assets/rise/assets/trophy.svg"),zt=function(e){var t=e.certificateDownload,n=e.currentUser,r=Object(at.a)(500);return _.a.createElement("div",{className:"overview__completion-wrap"},_.a.createElement("div",{className:"overview__completion-avatar"},_.a.createElement(Qe,Object(s.a)({},n,{decorative:!0,size:r?40:60})),_.a.createElement("img",{className:"overview__trophy",src:qt,alt:""})),_.a.createElement("div",{className:"overview__completed"},_.a.createElement("span",{"aria-hidden":"true"},"Completed"),_.a.createElement("span",{className:"visually-hidden"},"Course Completed")),t&&_.a.createElement("div",{className:"overview__certificate"},_.a.createElement(ve.b,null)))},Ht=function(e){var t=e.certificateDownload,n=e.completedQuizRequirement,r=e.courseBtnText,i=e.coverImage,o=e.currentUser,a=e.enrolled,s=e.enrollmentType,c=e.favoritedAt,u=e.handleAddFavoriteClick,l=e.handleRemoveFavoriteClick,d=e.nextLessonId,f=e.percentComplete,h=e.startAgain;return _.a.createElement("div",{className:A()("overview__continueWrapper",{"overview__start-again-wrapper":h&&a})},_.a.createElement("div",{className:"overview__continueButtonsWrap"},_.a.createElement(ue.a,{classNames:"overview__button-transition",in:a||!!c,timeout:0},_.a.createElement(Tt,{to:"/lessons/".concat(d),coverImage:i,"data-ba":ft.startButton,startAgain:h,enrolled:a,favoritedAt:c},_.a.createElement("span",{className:"overview__continueBtn"},r))),fe.e&&"preview"!==window.viewType&&_.a.createElement(Ut,{enrolled:a,enrollmentType:s,favoritedAt:c,onClick:u,onRemove:l,percentComplete:f,startAgain:h})),_.a.createElement("span",{className:"overview__spacer"}),h&&n&&!Object(me.k)()&&_.a.createElement(zt,{currentUser:o,certificateDownload:t}))},Vt=Object(x.b)(function(e){return{partnerContent:ee()([],["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,c=e.enableModernOverview,u=e.dueAt,l=e.labels,d=e.lessons,f=e.numLessons,h=e.partnerContent,p=e.restrictingQuiz,m=e.showTimeToComplete,v=e.sidebarEnabled,g=e.timeToComplete,y=e.trackingCompletionPercentage,w=e.trackingQuizId,x=a.description,k=a.id,E=a.publishedAt,S=a.selectedAuthorId,T=a.tenantId,C=U()(function(e){return e.id===S},h);return Object(at.b)(960)?_.a.createElement(b.Fragment,null,_.a.createElement(gt,null,_.a.createElement(_t,{enableModernOverview:c},_.a.createElement("section",null,_.a.createElement("h2",{className:"visually-hidden"},"Course Length"),_.a.createElement(Nt,{numLessons:f,timeToComplete:g,showTimeToComplete:m})),_.a.createElement(Bt,null,C?_.a.createElement(it,{courseId:k,partnerContent:C,publishedAt:E,tenantId:T}):_.a.createElement(Lt,{avatar:r,authorName:t,authorTitle:n}),_.a.createElement(Rt,{lessons:d,numLessons:f,trackingCompletionPercentage:y,trackingQuizId:w,courseProgress:s,dueAt:u,completedAt:o})),_.a.createElement(Ft,{categories:i})),_.a.createElement(yt,null,_.a.createElement("section",null,_.a.createElement(Pt,{enableModernOverview:c,text:x,publishedAt:E})),v&&_.a.createElement("section",null,_.a.createElement(wt,null,_.a.createElement(xt,{enableModernOverview:c},"Course Outline"),!x&&_.a.createElement(At,{publishedAt:E})),_.a.createElement(Be,{course:a,courseProgress:s,labels:l,lessons:d,restrictingQuiz:p,trackingQuizId:w}))))):_.a.createElement(b.Fragment,null,_.a.createElement(gt,null,c?_.a.createElement(_t,{enableModernOverview:!0},_.a.createElement("section",null,_.a.createElement(Pt,{enableModernOverview:!0,text:x,publishedAt:E,numLessons:f,timeToComplete:g,showTimeToComplete:m})),_.a.createElement(Bt,null,_.a.createElement(Rt,{lessons:d,numLessons:f,trackingCompletionPercentage:y,trackingQuizId:w,courseProgress:s,dueAt:u,completedAt:o})),_.a.createElement(Ft,{categories:i})):_.a.createElement("section",null,_.a.createElement(Pt,{enableModernOverview:!0,text:x,publishedAt:E,numLessons:f,timeToComplete:g,showTimeToComplete:m})),_.a.createElement(yt,null,v&&_.a.createElement("section",null,_.a.createElement(wt,null,_.a.createElement(xt,{enableModernOverview:c},"Course Outline"),!x&&_.a.createElement(At,{publishedAt:E})),_.a.createElement(Be,{course:a,courseProgress:s,labels:l,lessons:d,restrictingQuiz:p,trackingQuizId:w})))))})},function(e,t,n){var r,i,o=n(132),a=n(377),s=o.process,c=s&&s.versions,u=c&&c.v8;u?i=(r=u.split("."))[0]<4?1:r[0]+r[1]:a&&(!(r=a.match(/Edge\/(\d+)/))||r[1]>=74)&&(r=a.match(/Chrome\/(\d+)/))&&(i=r[1]),e.exports=i&&+i},function(e,t,n){"use strict";var r=n(218),i=n(476),o=n(335),a=n(278),s=n(604),c=a.set,u=a.getterFor("Array Iterator");e.exports=s(Array,"Array",function(e,t){c(this,{type:"Array Iterator",target:r(e),index:0,kind:t})},function(){var e=u(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")},function(e,t,n){
/** @license ISC License (c) copyright 2016 original and current authors */
var r=n(217),i=n(628);e.exports=function(e){return i(e)&&r("ap",e)}},function(e,t,n){
/** @license ISC License (c) copyright 2016 original and current authors */
var r=n(408),i=n(217);e.exports=function(e){return r(e)||!!e&&i("concat",e)}},function(e,t,n){var r=n(158);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")}},function(e,t,n){var r=n(202).f,i=n(244),o=n(176)("toStringTag");e.exports=function(e,t,n){e&&!i(e=n?e:e.prototype,o)&&r(e,o,{configurable:!0,value:t})}},function(e,t,n){var r=n(244),i=n(245),o=n(1204)("IE_PROTO"),a=n(2165),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}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,i=(r=n(1744))&&r.__esModule?r:{default:r};var o=function(e){return e?parseFloat((parseInt(e,16)/255).toFixed(2)):1},a=function(e){var t=(0,i.default)(e),n=t.slice(0,6),r=t.slice(6),a=parseInt(n,16);return[a>>16&255,a>>8&255,a>>0&255,o(r)]};t.default=a},function(e,t,n){"use strict";(function(e){n.d(t,"b",function(){return M}),n.d(t,"a",function(){return N});var r=n(3),i=n.n(r),o=n(9),a=n(10),s=n(6),c=n(11),u=n(13),l=n(5),d=n(15),f=n.n(d),h=n(41),p=n.n(h),m=(n(2244),n(2)),v=n.n(m),g=n(116),y=n.n(g),b=n(50),_=n.n(b),w=n(24),x=n.n(w),k=n(433),E=n.n(k),S=n(46),T=n.n(S),C=n(1),O=n.n(C),j=n(179),A=n.n(j);function P(e){var t=function(){if("undefined"==typeof Reflect||!i.a)return!1;if(i.a.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=Object(l.a)(e);if(t){var o=Object(l.a)(this).constructor;n=i()(r,arguments,o)}else n=r.apply(this,arguments);return Object(u.a)(this,n)}}var M=function(t){Object(c.a)(r,t);var n=P(r);function r(e){var t;return Object(o.a)(this,r),(t=n.call(this,e)).state={isSticky:!1},setTimeout(function(){document.getElementsByClassName("page-wrap")[0].addEventListener("scroll",t.onScrollRef=t.onScroll.bind(Object(s.a)(t)))},10),t}return Object(a.a)(r,[{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()("%","",x()([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 t=this,n=this.props,r=n.type,i=n.items,o=n.menuOpen,a=n.mobileMenuOpen,s=this.state.isSticky,c=v()("progress-wrap",{}),u=v()("lesson-progress-wrapper",{"lesson-progress-wrapper--visible":s&&!a,"lesson--open":o&&!this.isLessonPreview(),"lesson--open-mobile":a&&!this.isLessonPreview()}),l=v()("progress",{"progress--timeline":"timeline"===r,"progress--video":"video"===r}),d=this.progressValue(),h="timeline"===r&&i&&f()(i).call(i,function(t){var n,r=v()("progress__marker",{"progress__marker--active brand--background":parseInt(d)>=parseInt(p()(n=t.linePosition).call(n,0,-1))});return e.createElement("div",{className:r,style:{left:t.linePosition},key:t.id})}),m=e.createElement("div",{className:c},e.createElement("div",{className:l},e.createElement("div",{className:"progress__container"},e.createElement("div",{className:"progress__indicator brand--background",style:{transform:"translate3d(".concat(d,"%,0px,0px)")}}),h)));return e.createElement("div",{ref:function(e){return t.progresswrap=e}},m,e.createElement(E.a,null,e.createElement("div",{className:u},m)))}}],[{key:"propTypes",get:function(){return{id:O.a.any.isRequired,lessonProgress:O.a.object.isRequired,type:O.a.string.isRequired,items:O.a.array}}}]),r}(e.Component),N=e.createElement(M,{id:"abc123",lessonProgress:{},type:"foo"}).type}).call(this,n(0))},function(e,t,n){"use strict";var r=n(0),i=n(2629),o=n(2632);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)},function(e,t,n){"use strict";var r=n(22);t.a=function(e){return Object(r.d)()?e:((t=e)?"".concat(t," | "):"")+r.a;var t}},function(e,t,n){"use strict";n.d(t,"a",function(){return y}),n.d(t,"b",function(){return b}),n.d(t,"c",function(){return _}),n.d(t,"d",function(){return w});var r=n(48),i=n.n(r),o=n(87),a=n.n(o),s=n(28),c=n.n(s),u=n(69),l=n.n(u),d=n(57),f=n.n(d),h=n(25),p=n.n(h),m=n(72),v=n(365),g=n(67),y=i()(c.a)({isComplete:!0,percentComplete:100,percentViewed:100}),b=function(e){return function(t){return t(Object(g.g)({id:e,updateFn:v.a}))}},_=p()(f()(a()("items"),Object(m.e)(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(Object(g.g)({id:t,updateFn:Object(v.b)({itemId:n,isCorrect:r})}))}}},function(e,t,n){"use strict";(function(e){n.d(t,"a",function(){return X}),n.d(t,"b",function(){return Z});var r=n(3),i=n.n(r),o=n(19),a=n(9),s=n(10),c=n(6),u=n(11),l=n(13),d=n(5),f=n(4),h=n.n(f),p=n(15),m=n.n(p),v=(n(1932),n(1)),g=n.n(v),y=n(2),b=n.n(y),_=n(85),w=n(7),x=n.n(w),k=n(33),E=n.n(k),S=n(116),T=n.n(S),C=n(50),O=n.n(C),j=n(261),A=n.n(j),P=n(179),M=n.n(P),N=n(75),L=n.n(N),I=n(149),D=n.n(I),R=n(62),B=n(323),F=n.n(B),U=n(42),q=n(102),z=n(20),H=n(26),V=n(55),W=n(1159),Y=n(59);function G(e){var t=function(){if("undefined"==typeof Reflect||!i.a)return!1;if(i.a.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=Object(d.a)(e);if(t){var o=Object(d.a)(this).constructor;n=i()(r,arguments,o)}else n=r.apply(this,arguments);return Object(l.a)(this,n)}}var K=n(61).b.blocks,$={small:{longMin:51,totalMax:150},medium:{longMin:208,totalMax:390},large:{longMin:258,totalMax:707}},X=function(t){Object(u.a)(r,t);var n=G(r);function r(e){var t;return Object(a.a)(this,r),(t=n.call(this,e)).state={flipped:e.flipped,hasFlippedOnce:e.hasFlippedOnce},t.flip=t.flip.bind(Object(c.a)(t)),t.scrollDownIfNecessary=t.scrollDownIfNecessary.bind(Object(c.a)(t)),t.scrollUpIfNecessary=t.scrollUpIfNecessary.bind(Object(c.a)(t)),t.onKeyDown=t.onKeyDown.bind(Object(c.a)(t)),t}return Object(s.a)(r,[{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){E()([[H.e,this.flip],[H.m,this.scrollUpIfNecessary],[H.b,this.scrollDownIfNecessary]])(e)}},{key:"render",value:function(){var t=this,n=this.props,r=n.allowTabNavigation,i=n.card,o=n.index,a=n.labels,s=void 0===a?{}:a,c=n.showHint,u=n.size,l=s.blocksClickToFlip,d=this.state,f=d.flipped,h=d.hasFlippedOnce,p=i.front,m=void 0===p?{}:p,v=i.back,g=void 0===v?{}:v,y=L()(m,"type")||"description",w=L()(g,"type")||"description",x=Object(Y.a)(L()(m,"media.image")),k=Object(Y.a)(L()(g,"media.image")),E=L()(m,"media.image.alt"),S=L()(g,"media.image.alt"),T=m.description||"",C=g.description||"",O=b()("block-flashcard",{"block-flashcard--large":"large"===u,"block-flashcard--medium":"medium"===u,"block-flashcard--small":"small"===u,"block-flashcard--first":0===o,"block-flashcard--flipped":f,"block-flashcard--in-edge":_.a.isEdge,"block-flashcard--in-ie":_.a.isIe11}),j=b()("block-flashcard__front",{"block-flashcard__front--description":"description"===y,"block-flashcard__front--image":"image"===y,"block-flashcard__front--fullimage":"fullimage"===y}),A=b()("block-flashcard__back",{"block-flashcard__back--description":"description"===w,"block-flashcard__back--image":"image"===w,"block-flashcard__back--fullimage":"fullimage"===w}),P=b()("block-flashcard__content",{"brand--border":"fullimage"!==y}),M=b()("block-flashcard__flip brand--ui",{"block-flashcard__flip--detailed":!h}),N="fullimage"===y?{backgroundImage:"url('".concat(x,"')")}:{},I="fullimage"===w?{backgroundImage:"url('".concat(k,"')")}:{},D=r&&!f,R=r&&f,B=0===o&&!h&&l,F=e.createElement("button",{className:M,onClick:this.flip,ref:function(e){t.flipLink=e},tabIndex:z.h,type:"button"},e.createElement("span",{className:"flip-text"},B),e.createElement("span",{className:"flip-icon"},e.createElement(W.a,null)));return e.createElement("section",{className:O,onTouchEnd:function(e){e.stopPropagation()},ref:function(e){t.container=e}},e.createElement("div",{className:"block-flashcard__wrapper"},e.createElement("div",{"aria-hidden":!D,className:j,onClick:this.flip,onKeyDown:this.onKeyDown,ref:function(e){t.cardFront=e},role:"button",tabIndex:Object(z.l)(D)},e.createElement("div",{className:P,style:N},e.createElement(Q,{allowTabNavigation:D,alt:E,description:T,image:x,labels:s,ref:function(e){t.frontSide=e},side:"front",size:u,type:y})),c&&F),e.createElement("div",{"aria-hidden":!R,className:A,onBlur:function(){t.container.style.zIndex--},onFocus:function(){t.container.style.zIndex++},onClick:this.flip,onKeyDown:this.onKeyDown,ref:function(e){t.cardBack=e},role:"button",tabIndex:Object(z.l)(R)},e.createElement("div",{className:"block-flashcard__content",style:I},e.createElement(Q,{allowTabNavigation:R,alt:S,description:C,image:k,labels:s,ref:function(e){t.backSide=e},side:"back",size:u,type:w})),c&&F)))}}],[{key:"propTypes",get:function(){return{allowTabNavigation:g.a.bool,card:g.a.object.isRequired,index:g.a.number,onStep:g.a.func,showHint:g.a.bool,size:g.a.oneOf(["large","medium","small"])}}},{key:"defaultProps",get:function(){return{allowTabNavigation:!0,flipped:!1,hasFlippedOnce:!1,index:0,onStep:Function.prototype,showHint:!0,size:"large"}}}]),r}(e.Component),Q=function(t){Object(u.a)(r,t);var n=G(r);function r(e){var t;return Object(a.a)(this,r),(t=n.call(this,e)).state={hasOverflow:!1,isLong:!1},t.handleScroll=t.handleScroll.bind(Object(c.a)(t)),t.overflowMask=t.overflowMask.bind(Object(c.a)(t)),t}return Object(s.a)(r,[{key:"componentDidMount",value:function(){this.scrollContent.addEventListener("scroll",this.scrollRef=D()(this.handleScroll,50)),window.addEventListener("resize",this.maskRef=D()(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){Object(H.q)(this.scrollContent,e)}},{key:"scrollDown",value:function(e){Object(H.p)(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,c=o.flashcardBackLabel,u=o.flashcardFrontLabel,l="front"===a?u:c;return"image"===s||"fullimage"===s?r?h()(t="".concat(l," - ")).call(t,r):l:i?h()(e="".concat(l," - ")).call(e,Object(q.e)(i)):l}},{key:"render",value:function(){var t=this,n=this.props,r=n.allowTabNavigation,i=n.alt,o=n.size,a=n.type,s=n.description,c=n.image,u=n.side,l=this.state,d=l.hasOverflow,f=l.isLong,h=$[o],p=s,m=!!x()(A()(h.longMin),O.a,q.e,M()("&nbsp;"," "))(s)||f,v=b()("block-flashcard__center brand--linkColor",{"block-flashcard__center--long":m,"block-flashcard__center--long--front":m&&"front"===u,"block-flashcard__center--long--back":m&&"back"===u,"block-flashcard__center--overflow":d,"block-flashcard__center--column":"image"===a}),g='""'===i?"":i,y="fullimage"===a?g:null;return e.createElement("div",{ref:function(e){t.scrollContent=e},className:v,alt:y,title:y,"aria-label":this.ariaLabel()},"image"===a&&c&&e.createElement("figure",{className:"block-flashcard__image",style:{backgroundImage:"url(".concat(c,")")},title:g},e.createElement("img",{alt:g,src:c})),"description"===a&&e.createElement(U.a,{allowTabNavigation:r,className:"block-flashcard__description brand--head",value:p}))}}],[{key:"propTypes",get:function(){return{size:g.a.string,type:g.a.string,description:g.a.string,image:g.a.string}}}]),r}(e.Component),Z=function(t){Object(u.a)(r,t);var n=G(r);function r(){return Object(a.a)(this,r),n.apply(this,arguments)}return Object(s.a)(r,[{key:"render",value:function(){var t=this.props,n=t.animateBlockEntrance,r=t.isLearner,i=t.items,o=t.settings,a=t.stack,s=t.labels,c=t.onStep,u=o.backgroundColor,l=o.entranceAnimation,d=o.paddingBottom,f=o.paddingTop,h=o.showHint,p=b()("block-flashcards",{"blocks-flashcard--column":!a,"blocks-flashcard--stack":a,"block-flashcards--no-animation":!l}),v={backgroundColor:Object(R.a)("",u),paddingTop:"".concat(10*f,"px"),paddingBottom:"".concat(10*d,"px")},g=i.length,y=1===g?"large":2===g?"medium":"small",_=s.flashcardGridGroup,w=s.flashcardStackGroup,x=a?w:_;return e.createElement("div",{"aria-label":x,className:p,"data-ba":K.blockFlashcards,style:v},a?e.createElement(V.a,{animateBlockEntrance:n,animateIn:"fadeIn",isLearner:r,offset:400},e.createElement(J,{items:i,labels:s,onStep:c,showHint:h})):e.createElement(V.a,{animateBlockEntrance:n,animateIn:"fadeIn",className:"block-flashcards__animation",isLearner:r,siblingDelay:.25},e.createElement("div",{className:"block-flashcards__wrapper"},m()(i).call(i,function(t,n){return e.createElement(X,{card:t,index:n,key:t.id,labels:s,onStep:c,showHint:h,size:y})}))))}}],[{key:"propTypes",get:function(){return{items:g.a.array,settings:g.a.object.isRequired,stack:g.a.bool,onStep:g.a.func}}},{key:"defaultProps",get:function(){return{items:[],stack:!1,editable:!1,onStep:Function.prototype}}}]),r}(e.Component),J=function(t){Object(u.a)(r,t);var n=G(r);function r(){var e,t;Object(a.a)(this,r);for(var i=arguments.length,o=new Array(i),s=0;s<i;s++)o[s]=arguments[s];return(t=n.call.apply(n,h()(e=[this]).call(e,o))).state={current:1},t}return Object(s.a)(r,[{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 t=this,n=this.props,r=n.items,i=n.labels,a=n.onStep,s=n.showHint,c=this.state.current,u=r.length,l={dots:!1,draggable:!1,swipe:!1,speed:500,slidesToShow:1,slidesToScroll:1,fade:!0,infinite:!1,arrows:!0,beforeChange:this.handleBeforeChange.bind(this),nextArrow:e.createElement(te,{current:c,labels:i,length:u}),prevArrow:e.createElement(te,{previous:!0,current:c,labels:i,length:u})};return e.createElement("section",{className:"block-flashcards-slider block-flashcards-slider--full-carousel"},e.createElement("div",{className:"block-flashcards-slider__wrap"},e.createElement(F.a,Object(o.a)({className:"block-flashcards-slider__slides"},l),m()(r).call(r,function(n,r){return e.createElement("div",{className:"block-flashcards-slider__slide",key:"flashcard-".concat(r)},e.createElement(X,{allowTabNavigation:c===T()(r),card:n,index:r,labels:i,onStep:a,ref:function(e){t["flashcard-".concat(r)]=e},showHint:s}))})),e.createElement(ee,{ref:function(e){t.sliderInfo=e},labels:i,current:c,itemCount:r.length})))}}],[{key:"propTypes",get:function(){return{items:g.a.array,onStep:g.a.func,showHint:g.a.bool}}},{key:"defaultProps",get:function(){return{items:[],onStep:Function.prototype}}}]),r}(e.Component),ee=function(t){Object(u.a)(r,t);var n=G(r);function r(e){var t;return Object(a.a)(this,r),(t=n.call(this,e)).state={current:e.current},t}return Object(s.a)(r,[{key:"setCurrent",value:function(e){this.setState({current:e})}},{key:"render",value:function(){var t,n,r=this.props,i=r.itemCount,o=r.labels,a=void 0===o?{}:o,s=this.state.current,c=100*(s/i).toFixed(2),u={width:"".concat(c,"%")},l=a.blocksPreposition,d=void 0===l?"of":l;return e.createElement("div",{className:"block-flashcards-slider__info"},e.createElement("div",{className:"block-flashcards-slider__progress"},e.createElement("p",{className:"block-flashcards-slider__progress-text brand--body brand--linkColor"},h()(t=h()(n="".concat(s," ")).call(n,d," ")).call(t,i)),e.createElement("div",{className:"block-flashcards-slider__progress-line brand--background",style:u})))}}],[{key:"propTypes",get:function(){return{current:g.a.number.isRequired,itemCount:g.a.number.isRequired}}}]),r}(e.Component),te=function(t){Object(u.a)(r,t);var n=G(r);function r(){return Object(a.a)(this,r),n.apply(this,arguments)}return Object(s.a)(r,[{key:"render",value:function(){var t=this.props,n=t.current,r=t.labels,i=t.length,o=t.onClick,a=t.previous,s=r.nextFlashCardLabel,c=r.previousFlashCardLabel,u=1===n,l=n===i,d=b()("block-flashcards-slider__controls",{"block-flashcards-slider__controls--beginning":u,"block-flashcards-slider__controls--end":l}),f=b()("brand--background block-flashcards-slider__arrow",{"block-flashcards-slider__arrow--next":!a,"block-flashcards-slider__arrow--prev":a}),h=b()("icon",{"icon-chevron-right":!a,"icon-chevron-left":a}),p=a&&u||!a&&l;return e.createElement("div",{className:d},e.createElement("div",{"aria-disabled":p,"aria-label":a?c:s,className:f,onClick:o,onKeyDown:Object(H.a)(o),role:"button",tabIndex:Object(z.l)(!p)},e.createElement("i",{className:h})))}}],[{key:"propTypes",get:function(){return{onClick:g.a.func,previous:g.a.bool,current:g.a.number,length:g.a.number}}},{key:"defaultProps",get:function(){return{previous:!1,onClick:function(){},current:0,length:-1}}}]),r}(e.Component)}).call(this,n(0))},function(e,t,n){"use strict";n.d(t,"a",function(){return O}),n.d(t,"b",function(){return j}),n.d(t,"c",function(){return A});var r=n(27),i=n.n(r),o=n(48),a=n.n(o),s=n(87),c=n.n(s),u=n(28),l=n.n(u),d=n(69),f=n.n(d),h=n(57),p=n.n(h),m=n(25),v=n.n(m),g=n(72),y=n(225),b=n.n(y),_=n(91),w=n.n(_),x=n(17),k=n.n(x),E=n(39),S=n.n(E),T=n(438),C=(b()("activeIndex"),n(67)),O=function(e){var t=e.id,n=e.payload;return function(e){return e(Object(C.g)({id:t,updateFn:(r=n,o=r.itemId,a=r.activeIndex,v()(i()("activeIndex",a),p()(w()(["items",o]),i()("isComplete",!0)),T.a,S()(k()("percentComplete",100),i()("isComplete",!0))))}));var r,o,a}},j=v()(p()(c()("items"),Object(g.e)(i()("isComplete",!0))),a()(l.a)({isComplete:!0,percentComplete:100})),A=v()(p()(c()("items"),Object(g.e)(f()(["isComplete"]))),f()(["isComplete","percentComplete","activeIndex"]))},,function(e,t,n){"use strict";var r={}.propertyIsEnumerable,i=Object.getOwnPropertyDescriptor,o=i&&!r.call({1:2},1);t.f=o?function(e){var t=i(this,e);return!!t&&t.enumerable}:r},function(e,t,n){var r=n(147);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")}},function(e,t){var n=Math.ceil,r=Math.floor;e.exports=function(e){return isNaN(e=+e)?0:(e>0?r:n)(e)}},function(e,t){var n=0,r=Math.random();e.exports=function(e){return"Symbol("+String(void 0===e?"":e)+")_"+(++n+r).toString(36)}},function(e,t){e.exports=function(e){return null!=e&&"object"==typeof e&&!0===e["@@functional/placeholder"]}},function(e,t,n){var r=n(51),i=n(276),o=n(390);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)))))})},function(e,t,n){var r=n(51),i=n(390);e.exports=r(function(e){return i(e)?e.split("").reverse().join(""):Array.prototype.slice.call(e,0).reverse()})},function(e,t,n){var r=n(591),i=n(468),o=r("keys");e.exports=function(e){return o[e]||(o[e]=i(e))}},function(e,t,n){var r=n(94),i=n(1277);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,o){return r(n),i(o),t?e.call(n,o):n.__proto__=o,n}}():void 0)},function(e,t,n){"use strict";var r=n(466),i=n(199),o=n(300);e.exports=function(e,t,n){var a=r(t);a in e?i.f(e,a,o(0,n)):e[a]=n}},function(e,t,n){var r=n(121),i=n(124),o=n(450),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})}},function(e,t){e.exports=function(){}},function(e,t){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}},function(e,t,n){var r=n(219),i=n(469);e.exports=function e(t,n,o){return function(){for(var a=[],s=0,c=t,u=0;u<n.length||s<arguments.length;){var l;u<n.length&&(!i(n[u])||s>=arguments.length)?l=n[u]:(l=arguments[s],s+=1),a[u]=l,i(l)||(c-=1),u+=1}return c<=0?o.apply(this,a):r(c,e(t,a,o))}}},function(e,t){e.exports=function(e){return null!=e&&"object"==typeof e&&!0===e["@@functional/placeholder"]}},function(e,t,n){var r=n(175),i=n(1372),o=n(792),a=n(613),s=n(1374),c=n(336),u=n(793),l=r(i(["fantasy-land/map","map"],s,function(e,t){switch(Object.prototype.toString.call(t)){case"[object Function]":return c(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},{},u(t));default:return o(e,t)}}));e.exports=l},function(e,t,n){"use strict";(function(t){void 0===t||!t.version||0===t.version.indexOf("v0.")||0===t.version.indexOf("v1.")&&0!==t.version.indexOf("v1.8.")?e.exports={nextTick:function(e,n,r,i){if("function"!=typeof e)throw new TypeError('"callback" argument must be a function');var o,a,s=arguments.length;switch(s){case 0:case 1:return t.nextTick(e);case 2:return t.nextTick(function(){e.call(null,n)});case 3:return t.nextTick(function(){e.call(null,n,r)});case 4:return t.nextTick(function(){e.call(null,n,r,i)});default:for(o=new Array(s-1),a=0;a<o.length;)o[a++]=arguments[a];return t.nextTick(function(){e.apply(null,o)})}}}:e.exports=t}).call(this,n(280))},function(e,t,n){"use strict";t.__esModule=!0;var r,i=n(625);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},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(625)),o=a(n(823));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},function(e,t){e.exports=function(e){return"[object Function]"===Object.prototype.toString.call(e)}},function(e,t,n){var r=n(51),i=n(825);e.exports=r(function(e){return i(e.length,e)})},function(e,t){e.exports=function(e){try{return{error:!1,value:e()}}catch(e){return{error:!0,value:e}}}},function(e,t,n){
/** @license ISC License (c) copyright 2017 original and current authors */
var r=n(452),i=n(243),o=n(629),a=n(83),s=n(201),c=n(453),u=n(838),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)?m(n,p(function(e){return d([e])},a)):a.map(function(e){return d([e])}).ap(n)}}var h=function(e){return e.reduce(function(e,t){return e&&a(t)},!0)},p=function(e,t){return t.map(function(t){return e(t)})};function m(e,t){if(!t.length||!h(t))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:m,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(!c(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(!c(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)||!c(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=u(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=u(e);return n.reduceRight(f("traverse",t),r([]))},unset:function(e,t){return t.slice(0,e).concat(t.slice(e+1))}}},function(e,t,n){
/** @license ISC License (c) copyright 2017 original and current authors */
var r=n(217);e.exports=function(e){return!!e&&r("reduce",e)}},function(e,t,n){var r=n(18),i=n(30);e.exports=r(function(e,t){return function(n){return function(r){return i(function(e){return t(e,r)},n(e(r)))}}})},function(e,t,n){var r=n(18);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,c){return t.call(this,e,n,r,i,o,a,s,c)};case 9:return function(e,n,r,i,o,a,s,c,u){return t.call(this,e,n,r,i,o,a,s,c,u)};case 10:return function(e,n,r,i,o,a,s,c,u,l){return t.call(this,e,n,r,i,o,a,s,c,u,l)};default:throw new Error("First argument to nAry must be a non-negative integer no greater than ten")}})},function(e,t,n){var r=n(478),i=n(133),o=n(174),a=n(190),s=n(1544);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)}))},function(e,t){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}},function(e,t,n){var r=n(58),i=n(607),o=n(635);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)})},function(e,t){
/** @license ISC License (c) copyright 2018 original and current authors */
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"}},function(e,t){
/** @license ISC License (c) copyright 2018 original and current authors */
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"}},function(e,t,n){
/** @license ISC License (c) copyright 2017 original and current authors */
var r=n(83);e.exports=function(e,t){return r(e)?e(t):e.runWith(t)}},function(e,t,n){
/** @license ISC License (c) copyright 2016 original and current authors */
var r=n(640),i=n(411);e.exports=function(e){if(!i(e))throw new TypeError("curry: Function required");return r(e)}},function(e,t,n){var r=n(1770),i=n(1771),o=n(1772),a=n(1773),s=n(1774);function c(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])}}c.prototype.clear=r,c.prototype.delete=i,c.prototype.get=o,c.prototype.has=a,c.prototype.set=s,e.exports=c},function(e,t,n){var r=n(889);e.exports=function(e,t){for(var n=e.length;n--;)if(r(e[n][0],t))return n;return-1}},function(e,t,n){var r=n(222).Symbol;e.exports=r},function(e,t,n){var r=n(337)(Object,"create");e.exports=r},function(e,t,n){var r=n(1794);e.exports=function(e,t){var n=e.__data__;return r(t)?n["string"==typeof t?"string":"hash"]:n.map}},function(e,t,n){var r=n(1815),i=n(1820),o=n(901);e.exports=function(e){return o(e)?r(e):i(e)}},function(e,t,n){var r=n(338),i=n(339),o="[object Symbol]";e.exports=function(e){return"symbol"==typeof e||i(e)&&r(e)==o}},function(e,t,n){var r=n(504),i=1/0;e.exports=function(e){if("string"==typeof e||r(e))return e;var t=e+"";return"0"==t&&1/e==-i?"-0":t}},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(0)),o=a(n(84));function a(e){return e&&e.__esModule?e:{default:e}}var s=t.getOnDemandLazySlides=function(e){for(var t=[],n=c(e),r=u(e),i=n;i<r;i++)e.lazyLoadedList.indexOf(i)<0&&t.push(i);return t},c=(t.getRequiredLazySlides=function(e){for(var t=[],n=c(e),r=u(e),i=n;i<r;i++)t.push(i);return t},t.lazyStartIndex=function(e){return e.currentSlide-l(e)}),u=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},h=t.getHeight=function(e){return e&&e.offsetHeight||0},p=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?t=!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 c=e.centerMode&&2*parseInt(e.centerPadding);"string"==typeof e.centerPadding&&"%"===e.centerPadding.slice(-1)&&(c*=n/100),a=Math.ceil((n-c)/e.slidesToShow)}var u=o.default.findDOMNode(e.listRef)&&h(o.default.findDOMNode(e.listRef).querySelector('[data-index="0"]')),l=u*e.slidesToShow,d=void 0===e.currentSlide?e.initialSlide:e.currentSlide;e.rtl&&void 0===e.currentSlide&&(d=t-1-e.initialSlide);var p=e.lazyLoadedList||[],m=s({currentSlide:d,lazyLoadedList:p},e);p.concat(m);var v={slideCount:t,slideWidth:a,listWidth:n,trackWidth:r,currentSlide:d,slideHeight:u,listHeight:l,lazyLoadedList:p};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,c=e.slideCount,u=e.lazyLoadedList,l=e.lazyLoad,d=e.currentSlide,f=e.centerMode,h=e.slidesToScroll,p=e.slidesToShow,v=e.useCSS;if(t&&n)return{};var g=a,y=void 0,b=void 0,k=void 0,E={},S={};if(i){if(!o&&(a<0||a>=c))return{};a<0?g=a+c:a>=c&&(g=a-c),l&&u.indexOf(g)<0&&u.push(g),E={animating:!0,currentSlide:g,lazyLoadedList:u},S={animating:!1}}else y=g,g<0?(y=g+c,o?c%h!=0&&(y=c-c%h):y=0):!m(e)&&g>d?g=y=d:f&&g>=c?(g=o?c:c-1,y=o?0:c-1):g>=c&&(y=g-c,o?c%h!=0&&(y=0):y=c-p),b=x(r({},e,{slideIndex:g})),k=x(r({},e,{slideIndex:y})),o||(b===k&&(g=y),b=k),l&&u.concat(s(r({},e,{currentSlide:g}))),v?(E={animating:!0,currentSlide:y,trackStyle:w(r({},e,{left:b})),lazyLoadedList:u},S={animating:!1,currentSlide:y,trackStyle:_(r({},e,{left:k})),swipeLeft:null}):E={currentSlide:y,trackStyle:_(r({},e,{left:k})),lazyLoadedList:u};return{state:E,nextState:S}},t.changeSlide=function(e,t){var n,i,o,a,s=e.slidesToScroll,c=e.slidesToShow,u=e.slideCount,l=e.currentSlide,d=e.lazyLoad,f=e.infinite;if(n=u%s!=0?0:(u-l)%s,"previous"===t.message)a=l-(o=0===n?s:c-n),d&&!f&&(a=-1===(i=l-o)?u-1:i);else if("next"===t.message)a=l+(o=0===n?s:n),d&&!f&&(a=(l+s)%u+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 h=T(r({},e,{targetSlide:a}));a>t.currentSlide&&"left"===h?a-=u:a<t.currentSlide&&"right"===h&&(a+=u)}}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,c=t.rtl,u=t.currentSlide,l=t.edgeFriction,d=t.edgeDragged,f=t.onEdge,h=t.swiped,v=t.swiping,g=t.slideCount,y=t.slidesToScroll,b=t.infinite,w=t.touchObject,k=t.swipeEvent,E=t.listHeight,S=t.listWidth;if(!n){if(i)return e.preventDefault();o&&a&&s&&e.preventDefault();var T=void 0,C={},O=x(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 j=Math.round(Math.sqrt(Math.pow(w.curY-w.startY,2)));if(!s&&!v&&j>10)return{scrolling:!0};s&&(w.swipeLength=j);var A=(c?-1:1)*(w.curX>w.startX?1:-1);s&&(A=w.curY>w.startY?1:-1);var P=Math.ceil(g/y),M=p(t.touchObject,s),N=w.swipeLength;return b||(0===u&&"right"===M||u+1>=P&&"left"===M||!m(t)&&"left"===M)&&(N=w.swipeLength*l,!1===d&&f&&(f(M),C.edgeDragged=!0)),!h&&k&&(k(M),C.swiped=!0),T=o?O+N*(E/S)*A:c?O-N*A:O+N*A,s&&(T=O+N*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,c=t.verticalSwiping,u=t.listHeight,l=t.currentSlide,d=t.swipeToSlide,f=t.scrolling,h=t.onSwipe;if(!n)return i&&e.preventDefault(),{};var m=c?u/s:a/s,v=p(o,c),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(),h&&h(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 E=x(t);b.trackStyle=w(r({},t,{left:E}))}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+h(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)",c=e.vertical?"translateY("+e.left+"px)":"translateX("+e.left+"px)";o=r({},o,{WebkitTransform:a,transform:s,msTransform:c})}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},x=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,c=e.slideCount,u=e.slidesToShow,l=e.slidesToScroll,d=e.slideWidth,f=e.listWidth,h=e.variableWidth,p=e.slideHeight,m=e.fade,v=e.vertical;if(m||1===e.slideCount)return 0;var g=0;if(a?(g=-k(e),c%l!=0&&r+l>c&&(g=-(r>c?u-(r-c):c%l)),s&&(g+=parseInt(u/2))):(c%l!=0&&r+l>c&&(g=u-c%l),s&&(g=parseInt(u/2))),t=v?r*p*-1+g*p:r*d*-1+g*d,!0===h){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)},E=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+E(e)},T=t.siblingDirection=function(e){return e.targetSlide>e.currentSlide?e.targetSlide>e.currentSlide+C(e)?"left":"right":e.targetSlide<e.currentSlide-O(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},O=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)}},function(e,t,n){
/** @license ISC License (c) copyright 2017 original and current authors */
var r=n(253);e.exports=function(e,t){return r(t[e])||r(t["@@implements"])&&!!t["@@implements"](e)}},function(e,t){var n=RegExp("[\\u200d\\ud800-\\udfff\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff\\ufe0e\\ufe0f]");e.exports=function(e){return n.test(e)}},function(e,t,n){"use strict";var r,i={noop:function(){},uid:(r=0,function(){return r++}),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,n){return i.valueOrDefault(i.isArray(e)?e[t]:e,n)},callback:function(e,t,n){if(e&&"function"==typeof e.call)return e.apply(n,t)},each:function(e,t,n,r){var o,a,s;if(i.isArray(e))if(a=e.length,r)for(o=a-1;o>=0;o--)t.call(n,e[o],o);else for(o=0;o<a;o++)t.call(n,e[o],o);else if(i.isObject(e))for(a=(s=Object.keys(e)).length,o=0;o<a;o++)t.call(n,e[s[o]],s[o])},arrayEquals:function(e,t){var n,r,o,a;if(!e||!t||e.length!==t.length)return!1;for(n=0,r=e.length;n<r;++n)if(o=e[n],a=t[n],o instanceof Array&&a instanceof Array){if(!i.arrayEquals(o,a))return!1}else if(o!==a)return!1;return!0},clone:function(e){if(i.isArray(e))return e.map(i.clone);if(i.isObject(e)){for(var t={},n=Object.keys(e),r=n.length,o=0;o<r;++o)t[n[o]]=i.clone(e[n[o]]);return t}return e},_merger:function(e,t,n,r){var o=t[e],a=n[e];i.isObject(o)&&i.isObject(a)?i.merge(o,a,r):t[e]=i.clone(a)},_mergerIf:function(e,t,n){var r=t[e],o=n[e];i.isObject(r)&&i.isObject(o)?i.mergeIf(r,o):t.hasOwnProperty(e)||(t[e]=i.clone(o))},merge:function(e,t,n){var r,o,a,s,c,u=i.isArray(t)?t:[t],l=u.length;if(!i.isObject(e))return e;for(r=(n=n||{}).merger||i._merger,o=0;o<l;++o)if(t=u[o],i.isObject(t))for(c=0,s=(a=Object.keys(t)).length;c<s;++c)r(a[c],e,t,n);return e},mergeIf:function(e,t){return i.merge(e,t,{merger:i._mergerIf})},extend:function(e){for(var t=function(t,n){e[n]=t},n=1,r=arguments.length;n<r;++n)i.each(arguments[n],t);return e},inherits:function(e){var t=this,n=e&&e.hasOwnProperty("constructor")?e.constructor:function(){return t.apply(this,arguments)},r=function(){this.constructor=n};return r.prototype=t.prototype,n.prototype=new r,n.extend=i.inherits,e&&i.extend(n.prototype,e),n.__super__=t.prototype,n}};e.exports=i,i.callCallback=i.callback,i.indexOf=function(e,t,n){return Array.prototype.indexOf.call(e,t,n)},i.getValueOrDefault=i.valueOrDefault,i.getValueAtIndexOrDefault=i.valueAtIndexOrDefault},function(e,t,n){var r=n(2040),i=n(2041),o=n(2042),a=n(2043),s=n(2044);function c(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])}}c.prototype.clear=r,c.prototype.delete=i,c.prototype.get=o,c.prototype.has=a,c.prototype.set=s,e.exports=c},function(e,t,n){var r=n(1068);e.exports=function(e,t){for(var n=e.length;n--;)if(r(e[n][0],t))return n;return-1}},function(e,t,n){var r=n(254).Symbol;e.exports=r},function(e,t){e.exports=function(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}},function(e,t,n){var r=n(310)(Object,"create");e.exports=r},function(e,t,n){var r=n(2064);e.exports=function(e,t){var n=e.__data__;return r(t)?n["string"==typeof t?"string":"hash"]:n.map}},function(e,t,n){var r=n(2084),i=n(2091),o=n(655);e.exports=function(e){return o(e)?r(e):i(e)}},function(e,t,n){var r=n(417),i=n(418),o="[object Symbol]";e.exports=function(e){return"symbol"==typeof e||i(e)&&r(e)==o}},function(e,t,n){var r=n(517),i=1/0;e.exports=function(e){if("string"==typeof e||r(e))return e;var t=e+"";return"0"==t&&1/e==-i?"-0":t}},function(e,t,n){"use strict";if(n(188)){var r=n(126),i=n(47),o=n(2178),a=n(177),s=n(2167),c=n(577),u=n(659),l=n(311),d=n(184),f=n(2221),h=n(2234),p=n(454),m=n(244),v=n(1208),g=n(158),y=n(661),b=n(1090),_=n(660).f,w=n(2235),x=n(332)(0),k=n(734),E=n(202),S=n(331),T=n(381),C=T.get,O=T.set,j=E.f,A=S.f,P=r.RangeError,M=s.ArrayBuffer,N=s.DataView,L=a.NATIVE_ARRAY_BUFFER_VIEWS,I=a.TYPED_ARRAY_TAG,D=a.TypedArray,R=a.TypedArrayPrototype,B=a.aTypedArrayConstructor,F=a.isTypedArray,U=function(e,t){for(var n=0,r=t.length,i=new(B(e))(r);r>n;)i[n]=t[n++];return i},q=function(e,t){j(e,t,{get:function(){return C(this)[t]}})},z=function(e){var t;return e instanceof M||"ArrayBuffer"==(t=v(e))||"SharedArrayBuffer"==t},H=function(e,t){return F(e)&&"symbol"!=typeof t&&t in e&&String(+t)==String(t)},V=function(e,t){return H(e,t=p(t,!0))?u(2,e[t]):A(e,t)},W=function(e,t,n){return!(H(e,t=p(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?j(e,t,n):(e[t]=n.value,e)};L||(S.f=V,E.f=W,q(R,"buffer"),q(R,"byteOffset"),q(R,"byteLength"),q(R,"length")),i({target:"Object",stat:!0,forced:!L},{getOwnPropertyDescriptor:V,defineProperty:W}),e.exports=function(e,t,n,a){var s=e+(a?"Clamped":"")+"Array",u="get"+e,p="set"+e,m=r[s],v=m,E=v&&v.prototype,S={},T=function(e,n){j(e,n,{get:function(){return function(e,n){var r=C(e);return r.view[u](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[p](n*t+i.byteOffset,r,!0)}(this,n,e)},enumerable:!0})};L?o&&(v=n(function(e,n,r,i){return c(e,v,s),g(n)?z(n)?void 0!==i?new m(n,h(r,t),i):void 0!==r?new m(n,h(r,t)):new m(n):F(n)?U(v,n):w.call(v,n):new m(f(n))}),b&&b(v,D),x(_(m),function(e){e in v||l(v,e,m[e])}),v.prototype=E):(v=n(function(e,n,r,i){c(e,v,s);var o,a,u,l=0,p=0;if(g(n)){if(!z(n))return F(n)?U(v,n):w.call(v,n);o=n,p=h(r,t);var m=n.byteLength;if(void 0===i){if(m%t)throw P("Wrong length");if((a=m-p)<0)throw P("Wrong length")}else if((a=d(i)*t)+p>m)throw P("Wrong length");u=a/t}else u=f(n),o=new M(a=u*t);for(O(e,{buffer:o,byteOffset:p,byteLength:a,length:u,view:new N(o)});l<u;)T(e,l++)}),b&&b(v,D),E=v.prototype=y(R)),E.constructor!==v&&l(E,"constructor",v),I&&l(E,I,s),S[s]=v,i({global:!0,forced:v!=m,sham:!L},S),"BYTES_PER_ELEMENT"in v||l(v,"BYTES_PER_ELEMENT",t),"BYTES_PER_ELEMENT"in E||l(E,"BYTES_PER_ELEMENT",t),k(s)}}else e.exports=function(){}},function(e,t,n){var r=n(1226);e.exports=function(e){return function t(n){return 0===arguments.length||r(n)?t:e.apply(this,arguments)}}},function(e,t,n){var r=n(200),i=n(18),o=n(190),a=n(30);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)})},function(e,t,n){"use strict";e.exports=n(1264)},function(e,t,n){var r=n(219),i=n(1353),o=n(107),a=n(346);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)))}},function(e,t,n){var r=n(18);e.exports=r(function(e,t){return e||t})},function(e,t,n){var r=n(18),i=n(477),o=n(56),a=n(286),s=n(161),c=n(107);e.exports=r(function(e,t){return o(c(a,0,s("length",t)),function(){var n=arguments,r=this;return e.apply(r,i(function(e){return e.apply(r,n)},t))})})},function(e,t,n){var r=n(18);e.exports=r(function(e,t){return e.apply(this,t)})},function(e,t,n){var r=n(58);e.exports=r(function(e,t,n){var r=Array.prototype.slice.call(n,0);return r.splice(e,t),r})},function(e,t,n){var r=n(303),i=n(18);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})},function(e,t,n){var r=n(18),i=n(133),o=n(1547),a=n(178);e.exports=r(i(["drop"],o,function(e,t){return a(Math.max(0,e),1/0,t)}))},function(e,t,n){"use strict";var r,i,o=n(647).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]}},c=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])},u=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=c(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=u(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:c(e.subarray(0,4)),minorVersion:t.getUint32(4),compatibleBrands:[]},r=8;r<e.byteLength;)n.compatibleBrands.push(c(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:c(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],c=32&r.flags[2],u=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),c&&(r.defaultSampleFlags=n.getUint32(t)),u&&(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],c=2&n.flags[1],u=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),c&&(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),c&&(t.size=r.getUint32(f),f+=4),u&&(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=[],u=new ArrayBuffer(e.length),l=new Uint8Array(u),f=0;f<e.length;++f)l[f]=e[f];for(t=new DataView(u);a<e.byteLength;)n=t.getUint32(a),r=c(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:c,findBox:u,parseTraf:d.traf,parseTfdt:d.tfdt,parseHdlr:d.hdlr,parseTfhd:d.tfhd,parseTrun:d.trun,parseSidx:d.sidx}},function(e,t,n){var r=n(58);e.exports=r(function(e,t,n){var r=e(t),i=e(n);return r<i?-1:r>i?1:0})},function(e,t,n){var r=n(58),i=n(24);e.exports=r(function(e,t,n){return t.length>0&&e(i(t,n))})},function(e,t,n){var r=n(18);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})},function(e,t,n){var r,i=n(18);e.exports=(r=function(e){return{value:e,"fantasy-land/map":function(){return this}}},i(function(e,t){return e(r)(t).value}))},function(e,t,n){e.exports=n(1681)},function(e,t,n){e.exports=n(1268)},function(e,t,n){e.exports=n(1271)},function(e,t,n){e.exports=n(1274)},function(e,t,n){e.exports=n(1309)},function(e,t,n){e.exports=n(1338)},function(e,t,n){e.exports=n(1499)},function(e,t,n){"use strict";var r=Object.prototype.hasOwnProperty,i="~";function o(){}function a(e,t,n){this.fn=e,this.context=t,this.once=n||!1}function s(e,t,n,r,o){if("function"!=typeof n)throw new TypeError("The listener must be a function");var s=new a(n,r||e,o),c=i?i+t:t;return e._events[c]?e._events[c].fn?e._events[c]=[e._events[c],s]:e._events[c].push(s):(e._events[c]=s,e._eventsCount++),e}function c(e,t){0==--e._eventsCount?e._events=new o:delete e._events[t]}function u(){this._events=new o,this._eventsCount=0}Object.create&&(o.prototype=Object.create(null),(new o).__proto__||(i=!1)),u.prototype.eventNames=function(){var e,t,n=[];if(0===this._eventsCount)return n;for(t in e=this._events)r.call(e,t)&&n.push(i?t.slice(1):t);return Object.getOwnPropertySymbols?n.concat(Object.getOwnPropertySymbols(e)):n},u.prototype.listeners=function(e){var t=i?i+e:e,n=this._events[t];if(!n)return[];if(n.fn)return[n.fn];for(var r=0,o=n.length,a=new Array(o);r<o;r++)a[r]=n[r].fn;return a},u.prototype.listenerCount=function(e){var t=i?i+e:e,n=this._events[t];return n?n.fn?1:n.length:0},u.prototype.emit=function(e,t,n,r,o,a){var s=i?i+e:e;if(!this._events[s])return!1;var c,u,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,n),!0;case 4:return l.fn.call(l.context,t,n,r),!0;case 5:return l.fn.call(l.context,t,n,r,o),!0;case 6:return l.fn.call(l.context,t,n,r,o,a),!0}for(u=1,c=new Array(d-1);u<d;u++)c[u-1]=arguments[u];l.fn.apply(l.context,c)}else{var f,h=l.length;for(u=0;u<h;u++)switch(l[u].once&&this.removeListener(e,l[u].fn,void 0,!0),d){case 1:l[u].fn.call(l[u].context);break;case 2:l[u].fn.call(l[u].context,t);break;case 3:l[u].fn.call(l[u].context,t,n);break;case 4:l[u].fn.call(l[u].context,t,n,r);break;default:if(!c)for(f=1,c=new Array(d-1);f<d;f++)c[f-1]=arguments[f];l[u].fn.apply(l[u].context,c)}}return!0},u.prototype.on=function(e,t,n){return s(this,e,t,n,!1)},u.prototype.once=function(e,t,n){return s(this,e,t,n,!0)},u.prototype.removeListener=function(e,t,n,r){var o=i?i+e:e;if(!this._events[o])return this;if(!t)return c(this,o),this;var a=this._events[o];if(a.fn)a.fn!==t||r&&!a.once||n&&a.context!==n||c(this,o);else{for(var s=0,u=[],l=a.length;s<l;s++)(a[s].fn!==t||r&&!a[s].once||n&&a[s].context!==n)&&u.push(a[s]);u.length?this._events[o]=1===u.length?u[0]:u:c(this,o)}return this},u.prototype.removeAllListeners=function(e){var t;return e?(t=i?i+e:e,this._events[t]&&c(this,t)):(this._events=new o,this._eventsCount=0),this},u.prototype.off=u.prototype.removeListener,u.prototype.addListener=u.prototype.on,u.prefixed=i,u.EventEmitter=u,e.exports=u},function(e,t,n){var r=n(51),i=n(490);e.exports=r(function(e){return i(1,e)})},function(e,t,n){
/** @license ISC License (c) copyright 2017 original and current authors */
var r=n(115),i=n(410),o=n(496);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))}})},function(e,t,n){"use strict";n.d(t,"a",function(){return i});var r=n(54),i=n.n(r)()("rise/partnerContent/")("SET_ALL_PARTNER_CONTENT")},function(e,t,n){
/** @license ISC License (c) copyright 2017 original and current authors */
e.exports=n(408)},function(e,t,n){"use strict";var r=n(1117),i=n.n(r);t.a=function(e){var t=e.authors,n=e.author,r=e.selectedAuthorId;return i()(t,{id:r||n})||{}}},function(e,t,n){"use strict";var r=n(0),i=n.n(r);t.a=function(e){var t=e["aria-hidden"],n=e["aria-label"],r=e.className,o=e.desc,a=e.height,s=e.role,c=void 0===s?"img":s,u=e.title,l=e.width;return i.a.createElement("svg",{"aria-hidden":t,"aria-label":n,className:r,focusable:"false",height:a,role:c,viewBox:"0 0 493 493",width:l,xmlns:"http://www.w3.org/2000/svg"},u&&i.a.createElement("title",null,u),o&&i.a.createElement("desc",null,o),i.a.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"}))}},function(e,t,n){"use strict";n.d(t,"a",function(){return g});var r=n(315),i=n.n(r),o=n(30),a=n.n(o),s=n(7),c=n.n(s),u=n(186),l=n.n(u),d=(n(50),n(178),n(258)),f=n.n(d),h=n(677),p=n.n(h),m=n(227),v=n.n(m);n(39);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}new RegExp(/^[0-9]+$/);var y=c()(l()(""),i()(p.a,0));c()(l()(" "),a()(y),f()(" ")),c()(y,v.a)},function(e,t,n){
/** @license ISC License (c) copyright 2017 original and current authors */
e.exports=n(83)},function(e,t,n){"use strict";var r=n(16),i=n.n(r),o=n(33),a=n.n(o),s=n(48),c=n.n(s),u=n(230),l=n.n(u),d=n(229),f=n.n(d),h=n(64),p=n.n(h),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,u=c()(l.a),d=c()(f.a),h=b(e);if(Math.abs(o)>Math.abs(s))a()([[u(r),t],[d(-r),n],[p.a,i()()]])(o),h()}}},y=function(e){return function(){b(e)}},b=function(e){return function(){e.setState({xTouchDown:null,yTouchDown:null,xTouchMove:null,yTouchMove:null})}};t.a=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)}}}},function(e,t,n){"use strict";(function(e){n.d(t,"a",function(){return b});var r=n(3),i=n.n(r),o=n(9),a=n(10),s=n(11),c=n(13),u=n(5),l=n(4),d=n.n(l),f=(n(1971),n(2)),h=n.n(f),p=n(1),m=n.n(p),v=n(42),g=n(210);function y(e){var t=function(){if("undefined"==typeof Reflect||!i.a)return!1;if(i.a.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=Object(u.a)(e);if(t){var o=Object(u.a)(this).constructor;n=i()(r,arguments,o)}else n=r.apply(this,arguments);return Object(c.a)(this,n)}}var b=function(t){Object(s.a)(r,t);var n=y(r);function r(e){var t;return Object(o.a)(this,r),(t=n.call(this,e)).state={isMoving:!1,failed:!1,position:{x:0,y:0},reset:!0},t}return Object(a.a)(r,[{key:"componentDidMount",value:function(){var e=this;setTimeout(function(){e.setState({reset:!1})},300),Object(g.a)(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),Object(g.a)(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 t=this,n=this.state,r=n.isMoving,i=n.failed,o=n.reset,a=this.props,s=a.id,c=a.isDeckTopCard,u=a.title,l=h()("playing-card playing-card--draggable",{"playing-card--moving":r,"playing-card--fail":i,reset:o});return e.createElement("div",{"aria-hidden":!c,className:l,id:s,key:"card-".concat(s),ref:function(e){return t.card=e},style:this.cardStyle(),onMouseDown:function(e){e.preventDefault()}},e.createElement("div",{className:"playing-card__content brand--border"},e.createElement(v.a,{className:"playing-card__title brand--head",value:u}),e.createElement("div",{className:"playing-card__handle"}),e.createElement("div",{className:"playing-card__status brand--background"},e.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.a.any.isRequired,isIncorrect:m.a.bool,title:m.a.string}}}]),r}(e.Component)}).call(this,n(0))},function(e,t,n){"use strict";(function(e){n(1972);var r=n(20),i=n(114);t.a=function(t){var n=t.allowTabNavigation,o=void 0===n||n,a=t.onClick,s=t.onFocus,c=void 0===s?i.b:s,u=t.text;return e.createElement("button",{"aria-hidden":!o,className:"restart-button button brand--hoverColor",onClick:a,onFocus:c,tabIndex:Object(r.l)(o),type:"button"},e.createElement("div",{className:"restart-button__content"},e.createElement("span",{className:"restart-button__text brand--ui"},u),e.createElement("i",{"aria-hidden":"true",className:"restart-button__icon icon icon-reload"})))}}).call(this,n(0))},function(e,t,n){"use strict";(function(e){var n=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}()}(),r="undefined"!=typeof window&&"undefined"!=typeof document&&window.document===document,i=void 0!==e&&e.Math===Math?e:"undefined"!=typeof self&&self.Math===Math?self:"undefined"!=typeof window&&window.Math===Math?window:Function("return this")(),o="function"==typeof requestAnimationFrame?requestAnimationFrame.bind(i):function(e){return setTimeout(function(){return e(Date.now())},1e3/60)},a=2;var s=20,c=["top","right","bottom","left","width","height","size","weight"],u="undefined"!=typeof MutationObserver,l=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 s(){n&&(n=!1,e()),r&&u()}function c(){o(s)}function u(){var e=Date.now();if(n){if(e-i<a)return;r=!0}else n=!0,r=!1,setTimeout(c,t);i=e}return u}(this.refresh.bind(this),s)}return e.prototype.addObserver=function(e){~this.observers_.indexOf(e)||this.observers_.push(e),this.connected_||this.connect_()},e.prototype.removeObserver=function(e){var t=this.observers_,n=t.indexOf(e);~n&&t.splice(n,1),!t.length&&this.connected_&&this.disconnect_()},e.prototype.refresh=function(){this.updateObservers_()&&this.refresh()},e.prototype.updateObservers_=function(){var e=this.observers_.filter(function(e){return e.gatherActive(),e.hasActive()});return e.forEach(function(e){return e.broadcastActive()}),e.length>0},e.prototype.connect_=function(){r&&!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(){r&&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;c.some(function(e){return!!~n.indexOf(e)})&&this.refresh()},e.getInstance=function(){return this.instance_||(this.instance_=new e),this.instance_},e.instance_=null,e}(),d=function(e,t){for(var n=0,r=Object.keys(t);n<r.length;n++){var i=r[n];Object.defineProperty(e,i,{value:t[i],enumerable:!1,writable:!1,configurable:!0})}return e},f=function(e){return e&&e.ownerDocument&&e.ownerDocument.defaultView||i},h=b(0,0,0,0);function p(e){return parseFloat(e)||0}function m(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];return t.reduce(function(t,n){return t+p(e["border-"+n+"-width"])},0)}function v(e){var t=e.clientWidth,n=e.clientHeight;if(!t&&!n)return h;var r=f(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),c=p(r.height);if("border-box"===r.boxSizing&&(Math.round(s+o)!==t&&(s-=m(r,"left","right")+o),Math.round(c+a)!==n&&(c-=m(r,"top","bottom")+a)),!function(e){return e===f(e).document.documentElement}(e)){var u=Math.round(s+o)-t,l=Math.round(c+a)-n;1!==Math.abs(u)&&(s-=u),1!==Math.abs(l)&&(c-=l)}return b(i.left,i.top,s,c)}var g="undefined"!=typeof SVGGraphicsElement?function(e){return e instanceof f(e).SVGGraphicsElement}:function(e){return e instanceof f(e).SVGElement&&"function"==typeof e.getBBox};function y(e){return r?g(e)?function(e){var t=e.getBBox();return b(0,0,t.width,t.height)}(e):v(e):h}function b(e,t,n,r){return{x:e,y:t,width:n,height:r}}var _=function(){function e(e){this.broadcastWidth=0,this.broadcastHeight=0,this.contentRect_=b(0,0,0,0),this.target=e}return e.prototype.isActive=function(){var e=y(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}(),w=function(){return function(e,t){var n,r,i,o,a,s,c,u=(r=(n=t).x,i=n.y,o=n.width,a=n.height,s="undefined"!=typeof DOMRectReadOnly?DOMRectReadOnly:Object,c=Object.create(s.prototype),d(c,{x:r,y:i,width:o,height:a,top:i,right:r+o,bottom:a+i,left:r}),c);d(this,{target:e,contentRect:u})}}(),x=function(){function e(e,t,r){if(this.activeObservations_=[],this.observations_=new n,"function"!=typeof e)throw new TypeError("The callback provided as parameter 1 is not a function.");this.callback_=e,this.controller_=t,this.callbackCtx_=r}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 f(e).Element))throw new TypeError('parameter 1 is not of type "Element".');var t=this.observations_;t.has(e)||(t.set(e,new _(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 f(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 w(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}(),k="undefined"!=typeof WeakMap?new WeakMap:new n,E=function(){return 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=l.getInstance(),r=new x(t,n,this);k.set(this,r)}}();["observe","unobserve","disconnect"].forEach(function(e){E.prototype[e]=function(){var t;return(t=k.get(this))[e].apply(t,arguments)}});var S=void 0!==i.ResizeObserver?i.ResizeObserver:E;t.a=S}).call(this,n(96))},function(e,t,n){"use strict";e.exports=n(1994)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=s(n(2137)),i=s(n(2138)),o=s(n(457)),a=s(n(2139));function s(e){return e&&e.__esModule?e:{default:e}}function c(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")}()}var u=function(e,t,n){var s=c((0,o.default)(e),4),u=s[0],l=s[1],d=s[2],f=s[3],h=c((0,o.default)(t),4),p=h[0],m=h[1],v=h[2],g=h[3],y=(0,a.default)([(0,r.default)(u,p,n),(0,r.default)(l,m,n),(0,r.default)(d,v,n),(0,i.default)(f,g,n)]);return 1===f&&1===g?y.slice(0,7):y};t.default=u},function(e,t,n){"use strict";(function(e){n.d(t,"a",function(){return o});var r=n(118),i=n(1185);function o(t){var n=function(n){return e.createElement(i.a,n,e.createElement(t,null))};return n.displayName="ChartWrap(".concat(Object(r.b)(t),")"),n}}).call(this,n(0))},function(e,t,n){"use strict";n.d(t,"a",function(){return P});var r=n(3),i=n.n(r),o=n(9),a=n(10),s=n(11),c=n(13),u=n(5),l=n(582),d=n.n(l),f=n(4),h=n.n(f),p=n(0),m=n.n(p),v=n(16),g=n.n(v),y=n(2),b=n.n(y),_=n(33),w=n.n(_),x=n(37),k=n.n(x),E=n(1),S=n.n(E),T=n(64),C=n.n(T),O=n(32),j=n(240);function A(e){var t=function(){if("undefined"==typeof Reflect||!i.a)return!1;if(i.a.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=Object(u.a)(e);if(t){var o=Object(u.a)(this).constructor;n=i()(r,arguments,o)}else n=r.apply(this,arguments);return Object(c.a)(this,n)}}m.a.Component;function P(e){switch(e.icon){case j.b.ARTICLE:return m.a.createElement(O.a,null);case j.b.INTERACTION:return m.a.createElement(O.H,null);case j.b.QUIZ:return m.a.createElement(O.F,null);case j.b.VIDEO:return m.a.createElement(O.I,null);default:return m.a.createElement("i",{className:"icon icon-Master-02"})}}},function(e,t,n){"use strict";n.d(t,"a",function(){return g});var r=n(44),i=n(4),o=n.n(i),a=function(){return window.innerWidth},s=function(){return window.innerHeight},c=function(e,t,n){return n.setAttribute(e,t)},u=function(e,t){for(var n,r=(null===(n=t.parentNode)||void 0===n?void 0:n.children)||[],i=0;i<r.length;i++){var o=r[i];o&&o!==t&&e(o)}},l=function(e,t){t.removeAttribute(e)},d=function(e,t,n,r){r.style.setProperty(t,n,e)},f=function(e){return document.createElement(e)},h=function(e,t,n,r){void 0===r&&(r=!1),n.addEventListener(e,t,r)},p=function(e,t){return t.appendChild(e)},m=function(e,t,n,r){void 0===r&&(r=!1),n.removeEventListener(e,t,r)},v=function(e,t,n){var r=a()/(e+n),i=s()/(t+n);return Math.min(r,i)},g=function(){var e,t,n,i,v,g,k,E,S,T,C={closeText:"Unzoom image",modalText:"Zoomed item",openText:"Zoom image",overlayBgColor:"#fff",overlayOpacity:1,transitionDuration:300,zoomMargin:0,zoomZindex:2147483647},O=[],j="UNLOADED",A=C.transitionDuration,P=function(e){var t,n,r=e?0:A,u=(t=i)?t.getBoundingClientRect():{bottom:0,height:0,left:0,right:0,top:0,width:0,x:0,y:0},l=u.height,d=u.left,f=u.top,h=u.width,p=i,m=p.naturalHeight,v=p.naturalWidth,b=function(e,t){return function(e){return e.style}(t)[e]}("transform",i),w=_.test(i.currentSrc);if("LOADED"!==j)n="scale(1) translate(0,0)"+(b?" ".concat(b):"");else{var x,k,E=y(h,v,l,m,w,C.zoomMargin),S=(a()/2-(d+h/2))/E,T=(s()/2-(f+l/2))/E;n=o()(x=o()(k="scale(".concat(E,") translate(")).call(k,S,"px,")).call(x,T,"px)")+(b?" ".concat(b):"")}c("style","position:absolute;"+"width:".concat(h,"px;")+"height:".concat(l,"px;")+"left:".concat(d,"px;")+"top:".concat(f,"px;")+"transition:transform ".concat(r,"ms ease;")+"-webkit-transform:".concat(n,";")+"-ms-transform:".concat(n,";")+"transform:".concat(n,";"),g)},M=function(){d("","visibility","",i),j="UNLOADED",P(!0),q(),x(S),S=void 0},N=function(){x(n)},L=function(e){b(e)&&(e.stopPropagation(),H())},I=function(){"LOADED"===j?H():"UNLOADING"===j&&P(!1)},D=function(){P(!0)},R=function(){x(n)},B=function(){H()},F=function(){H()},U=function(){k=function(){var r=f("div");c("data-iz-overlay","",r),c("style","position:fixed;top:0;right:0;bottom:0;left:0;width:100%;height:100%;"+"z-index:".concat(C.zoomZindex,";"),r),h("click",F,r),T=f("div");var i=f("div");return c("aria-label",C.modalText,i),c("aria-modal","true",i),c("role","dialog",i),e=f("div"),c("tabindex","0",e),h("focus",R,e),t=f("div"),c("tabindex","0",t),h("focus",R,t),n=f("button"),c("aria-label",C.closeText,n),c("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),c("type","button",n),h("click",B,n),p(n,i),g=f("div"),p(v,g),p(g,i),p(T,r),p(e,r),p(i,r),p(t,r),r}(),p(k,document.body),h("keydown",L,document),h("scroll",I,window),h("resize",D,window),d("","visibility","hidden",i),h("transitionend",N,g),j="LOADED",P(!1),k&&u(function(e){if(!w(e)){var t=function(e,t){return t.getAttribute(e)}("aria-hidden",e);t&&O.push([e,t]),c("aria-hidden","true",e)}},k),c("style","position:absolute;top:0;right:0;bottom:0;left:0;"+"background-color:".concat(C.overlayBgColor,";")+"transition:opacity ".concat(A,"ms ease;")+"opacity:0;",T),d("","opacity",C.overlayOpacity,T)},q=function(){var r,o;m("resize",D,window),m("scroll",I,window),m("keydown",L,document),v&&m("load",U,v),g&&(m("transitionend",M,g),m("transitionend",N,g)),n&&m("click",B,n),e&&m("focus",R,e),t&&m("focus",R,t),k&&(m("click",F,k),r=k,(o=document.body).contains(r)&&o.removeChild(r)),E&&E.removeListener(z),O=[],e=void 0,t=void 0,n=void 0,i=void 0,v=void 0,g=void 0,k=void 0,E=void 0,T=void 0,j="UNLOADED"},z=function(){A=0},H=function(){var e;"LOADED"===j?(null==(e=n)||e.blur(),k&&u(function(e){w(e)||l("aria-hidden",e)},k),O.forEach(function(e){var t=Object(r.a)(e,2),n=t[0],i=t[1];n&&c("aria-hidden",i,n)}),O=[],h("transitionend",M,g),j="UNLOADING",P(!1),d("","opacity","0",T)):P(!1)};return(E=window.matchMedia("(prefers-reduced-motion:reduce)")).addListener(z),{cleanup:function(){q()},zoom:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};if("UNLOADED"===j){for(var r in i=e,S=t,n)C[r]=n[r];v=function(e,t){return void 0===e&&(e=!0),t.cloneNode(e)}(!0,e),l("id",v),c("data-iz-zoomed","",v),d("","max-width","100%",v),d("","max-height","100%",v),d("","width","100%",v),d("","height","auto",v),h("load",U,v)}}}},y=function(e,t,n,r,i,o){return!i&&r&&t?function(e,t,n,r,i){var o=v(t,r,i),a=t>r?t/e:r/n;return o>1?a:o*a}(e,t,n,r,o):v(e,n,o)},b=function(e){return"Escape"===e.key||27===e.keyCode},_=/\.svg$/i,w=function(e){var t=e.tagName;return"SCRIPT"===t||"NOSCRIPT"===t||"STYLE"===t},x=function(e,t){void 0===e&&(e={preventScroll:!1}),null==t||t.focus(e)}.bind(null,{preventScroll:!0})},function(e,t,n){"use strict";n.d(t,"a",function(){return Ae});var r=n(16),i=n.n(r),o=n(27),a=n.n(o),s=n(108),c=n.n(s),u=n(25),l=n.n(u),d=n(78),f=n.n(d),h=n(39),p=n.n(h),m=n(52),v=n.n(m),g=n(36),y=n.n(g),b=n(53),_=n.n(b),w=n(35),x=n.n(w),k=n(38),E=n.n(k),S=n(8),T=n(4),C=n.n(T),O=n(289),j=n.n(O),A=n(206),P=n.n(A),M=n(293),N=n.n(M),L=n(1156),I=n.n(L),D=n(1157),R=n.n(D),B=n(139),F=n.n(B),U=n(430),q=n.n(U),z=n(368),H=n.n(z),V=n(54),W=n.n(V),Y=n(48),G=n.n(Y),K=n(80),$=n.n(K),X=n(31),Q=n.n(X),Z=n(143),J=n.n(Z),ee=n(23),te=n.n(ee),ne=n(92),re=n.n(ne),ie=n(14),oe=n.n(ie),ae=n(205),se=n.n(ae),ce=n(181),ue=n(114),le=n(294),de=n(22);function fe(e,t){var n=v()(e);if(y.a){var r=y()(e);t&&(r=_()(r).call(r,function(t){return x()(e,t).enumerable})),n.push.apply(n,r)}return n}var he=G()(W.a),pe=function(e){return function(t){var n;return C()(n="".concat(e,"/")).call(n,t.id)}},me=function(e,t){return F()(function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?fe(Object(n),!0).forEach(function(t){Object(S.a)(e,t,n[t])}):E.a?Object.defineProperties(e,E()(n)):fe(Object(n)).forEach(function(t){Object.defineProperty(e,t,x()(n,t))})}return e}({data:Object(ce.action)(t),method:"POST",url:Object(ue.a)(he("/".concat(t)),oe()("url"),e)},re()(["headers","withCredentials"],e)))},ve=function(e){return function(t,n){return I()(t,pe(n),we(e,n))}},ge=function(){return!de.e&&Q()(Object(le.a)())},ye=function(e){var t=new Error("Nil token detected");return N.a.notify(t,function(e){return function(t){t.severity="info",t.addMetadata("payload",e)}}(e)),P.a.Rejected(t)},be=function(e){return function(t){return function(n){return function(r){return Object(ue.c)(r,me(t,n),$()(ge,ye,e),q()(function(e){return l()(te()({},["response","data"]),f()(oe()("type"),Object(ce.error)(e)))}(n),p()(c()("data"),oe()("data"))),H()($()(oe()("error"),P.a.Rejected,P.a.of)),function(e,t){return function(n){return e.postRequest?e.postRequest(t,n):n}}(t,{type:n,payload:r}))}}}},_e=P.a.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:j()(r),keepalive:!0}).then(function(e){return e.json()}).then(J()("data"))}),we=se()(3,be(le.b)),xe=se()(3,be(_e)),ke=function(e){return function(t,n){return R()(t,pe(n),we(e,n))}},Ee=function(e){return{debounce:ve(e),send:we(e),fetchWithKeepAlive:xe(e),throttle:ke(e)}}({headers:function(){return{"x-rise-authoring-client":"f61706e9abdf07b919c088e7c7223a986aad945c"}},postRequest:function(e,t){return t},url:"".concat(Object(de.c)("RISE_RUNTIME_URI"),"/ducks"),withCredentials:!0}),Se=n(673),Te=n.n(Se),Ce=n(93),Oe=Te()({context:{app:{name:"rise-frontend"}},payload:{articulate_user:Object(Ce.h)(),userRole:Object(Ce.c)(),subId:Object(Ce.g)(),subPlan:Object(Ce.e)(),subStatus:Object(Ce.f)()}}),je=W()("rise/track/")("TRACK"),Ae=l()(f()(c()("userId"),a()("userId",Object(Ce.a)())),p()(i()(de.e),Oe),Ee.send(je))},function(e,t,n){"use strict";n.d(t,"a",function(){return _});var r=n(108),i=n.n(r),o=n(31),a=n.n(o),s=n(22),c=n(363),u=n.n(c),l=n(109),d=n.n(l),f=Object(s.c)("SESSION_COOKIE_DOMAIN"),h=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}}(),p=function(e){return h?window.localStorage.getItem(e):null},m=function(e,t){if(!h)return null;window.localStorage.setItem(e,t)},v=(d()(function(e,t){return m(e,t),u.a.save(e,t,{domain:f}),t}),n(93)),g={copyLink:{name:"Course Copy Link",description:"Enables course copy link availability."},customVideo:{name:"Custom Videos",description:"Enables custom video blocks for streaming videos."},modernOverview:{name:"Modern Overview",defaults:{rise:!0},description:"Enables modern course overview.",overrides:{360:!1}}},y=function(e){return"feature-".concat(e)},b=function(e){var t=g[e];return!!t&&(!(!t.defaults||!t.defaults[Object(s.c)("SERVICE_PRODUCT")])&&t.defaults[Object(s.c)("SERVICE_PRODUCT")])},_=function(e){return function(e){var t=(g[e]||{}).overrides,n=Object(s.c)("SERVICE_PRODUCT");return t&&i()(n,t)}(e)?function(e){var t=(g[e]||{}).overrides,n=Object(s.c)("SERVICE_PRODUCT");return t&&t[n]}(e):Object(v.h)()?function(e){if(g[e]){var t=y(e),n=p(t);return a()(n)?b(e):"true"===n}}(e):b(e)}},function(e,t,n){"use strict";var r=n(1100),i=n(7),o=n.n(i),a=n(39),s=n.n(a)()(function(e){return void 0!==e},o()(JSON.parse,r.Base64.decode));t.a=s},function(e,t,n){"use strict";n.d(t,"c",function(){return l}),n.d(t,"a",function(){return d}),n.d(t,"b",function(){return f});var r=n(48),i=n.n(r),o=n(28),a=n.n(o),s=n(69),c=n.n(s),u=n(67),l=function(e){return function(t){return t(Object(u.g)({id:e,updateFn:d}))}},d=i()(a.a)({isComplete:!0,percentComplete:100}),f=c()(["isComplete","percentComplete"])},function(e,t,n){"use strict";n.d(t,"a",function(){return S}),n.d(t,"b",function(){return T}),n.d(t,"c",function(){return C});var r=n(27),i=n.n(r),o=n(7),a=n.n(o),s=n(48),c=n.n(s),u=n(91),l=n.n(u),d=n(87),f=n.n(d),h=n(28),p=n.n(h),m=n(69),v=n.n(m),g=n(57),y=n.n(g),b=n(17),_=n.n(b),w=n(39),x=n.n(w),k=n(72),E=n(67),S=function(e){var t=e.id,n=e.itemId;return function(e){return e(Object(E.g)({id:t,updateFn:O(n)}))}},T=a()(c()(p.a)({isComplete:!0,percentComplete:100}),y()(f()("items"),Object(k.e)(i()("isComplete",!0)))),C=a()(v()(["isComplete","percentComplete"]),y()(f()("items"),Object(k.e)(v()(["isComplete"])))),O=function(e){return a()(x()(_()("percentComplete",100),i()("isComplete",!0)),E.f,y()(l()(["items",e]),i()("isComplete",!0)))}},function(e,t,n){"use strict";n.d(t,"c",function(){return O}),n.d(t,"a",function(){return j}),n.d(t,"b",function(){return A});var r=n(16),i=n.n(r),o=n(27),a=n.n(o),s=n(7),c=n.n(s),u=n(48),l=n.n(u),d=n(229),f=n.n(d),h=n(286),p=n.n(h),m=n(28),v=n.n(m),g=n(143),y=n.n(g),b=n(69),_=n.n(b),w=n(17),x=n.n(w),k=n(46),E=n.n(k),S=n(39),T=n.n(S),C=n(67),O=function(e){var t=e.currentTime,n=e.id,r=e.percentComplete;return function(e){return e(Object(C.g)({id:n,updateFn:M({currentTime:t,percentComplete:r})}))}},j=l()(v.a)({currentTime:0,isComplete:!0,percentComplete:100}),A=_()(["currentTime","isComplete","percentComplete"]),P=T()(x()("percentComplete",100),a()("isComplete",!0)),M=function(e){var t=e.currentTime,n=e.percentComplete;return c()(a()("currentTime",t),P,function(e){return function(t){return c()(v()(t),y()("percentComplete"),Math.round,T()(f()(90),i()(100)),p()(e),E()(0,"percentComplete"))(t)}}(n))}},function(e,t,n){"use strict";n.d(t,"a",function(){return C}),n.d(t,"b",function(){return O});var r=n(109),i=n.n(r),o=n(56),a=n.n(o),s=n(127),c=n.n(s),u=n(119),l=n.n(u),d=n(89),f=n.n(d),h=n(313),p=n.n(h),m=n(30),v=n.n(m),g=n(117),y=n.n(g),b=n(24),_=n.n(b),w=n(25),x=n.n(w),k=n(78),E=n.n(k),S=i()(function(e){return f()({avatar:j(e),back:j(e),background:j(e),front:j(e),media:P(e)})}),T=i()(function(e){return f()({items:v()(S(e)),media:P(e)})}),C=i()(function(e){return f()({coverImage:j(e),lessons:v()(E()(p()(String),O(e))),media:P(e)})}),O=i()(function(e){return f()({items:v()(T(e)),media:P(e)})}),j=i()(function(e){return f()({media:P(e)})}),A=(i()(function(e){return x()(l()(_()(["media",e]),_()(["media","tmp",e])),c()({}))}),i()(function(e,t,n){return"tmp"===n?P(e,t):"string"==typeof t?e[t]:t})),P=a()(2,function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return y()(A(e),t)})},function(e,t,n){"use strict";(function(e){n.d(t,"a",function(){return z}),n.d(t,"b",function(){return H});var r=n(3),i=n.n(r),o=n(19),a=n(8),s=n(9),c=n(10),u=n(11),l=n(13),d=n(5),f=n(4),h=n.n(f),p=(n(1963),n(16)),m=n.n(p),v=n(27),g=n.n(v),y=n(2),b=n.n(y),_=n(54),w=n.n(_),x=n(33),k=n.n(x),E=n(230),S=n.n(E),T=n(31),C=n.n(T),O=n(229),j=n.n(O),A=n(117),P=n.n(A),M=n(1),N=n.n(M),L=n(64),I=n.n(L),D=n(32),R=n(20),B=n(42),F=n(26),U=n(180);function q(e){var t=function(){if("undefined"==typeof Reflect||!i.a)return!1;if(i.a.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=Object(d.a)(e);if(t){var o=Object(d.a)(this).constructor;n=i()(r,arguments,o)}else n=r.apply(this,arguments);return Object(l.a)(this,n)}}var z=function(t){Object(u.a)(r,t);var n=q(r);function r(){return Object(s.a)(this,r),n.apply(this,arguments)}return Object(c.a)(r,[{key:"render",value:function(){var t=this.props,n=t.children,r=t.current,i=t.description,o=t.entered,a=t.fade,s=t.hasNavigation,c=t.index,u=t.initiating,l=t.media,d=t.position,f=d.next,h=d.prev,p=t.previous,v=t.title,g=t.type,y=!C()(h)&&!C()(f),_=w()("process-card__"),x=b()("process-card",{"process-card--initiating":u,"process-card--entered":o,"process-card--intro":"intro"===g,"process-card--summary":"summary"===g,"process-card--active":r===c,"process-card--prev-active":p===c,"process-card--next":r+1===c,"process-card--prev":r-1===c,"process-card--slide-fade":a}),E=k()([[S()(c),m()({transform:"translate3d(".concat(f,"px, 0px, 0px)")})],[j()(c),m()({transform:"translate3d(-".concat(h,"px, 0px, 0px)")})],[I.a,m()(null)]])(r),T={className:x,style:y?E:null};return e.createElement("div",T,e.createElement("div",{className:"process-card__inner"},e.createElement("div",null,"step"===g&&$(this.props,_),v&&X(this.props,_),l&&Y(this.props,_),i&&V(this.props,_),s&&"intro"===g&&K(this.props,_),"intro"!==g&&n,s&&"summary"===g&&G(this.props,_))))}},{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:N.a.string.isRequired,children:N.a.node,current:N.a.number.isRequired,description:N.a.string,enableVideoPlaybackSpeed:N.a.bool,entered:N.a.bool,fade:N.a.bool,hasNavigation:N.a.bool,index:N.a.any.isRequired,initiating:N.a.bool,media:N.a.object,onMediaLoad:N.a.func,onNextClick:N.a.func.isRequired,onRestartClick:N.a.func.isRequired,number:N.a.number,position:N.a.object.isRequired,previous:N.a.number,settings:N.a.object.isRequired,title:N.a.string,type:N.a.oneOf(["intro","step","summary"])}}}]),r}(e.Component),H=function(t){Object(u.a)(r,t);var n=q(r);function r(){return Object(s.a)(this,r),n.apply(this,arguments)}return Object(c.a)(r,[{key:"render",value:function(){var t=this.props,n=t.children,r=t.current,i=t.description,o=t.entered,a=t.hasNavigation,s=t.index,c=t.initiating,u=t.media,l=t.title,d=t.type,f=t.width,h=k()([[S()(s),m()({transform:"translate3d(".concat(f,"px, 0px, 0px)")})],[j()(s),m()({transform:"translate3d(-".concat(f,"px, 0px, 0px)")})],[I.a,m()(null)]])(r),p=b()("process-card-mobile",{"process-card-mobile--entered":o,"process-card-mobile--intro":"intro"===d,"process-card-mobile--summary":"summary"===d,"process-card-mobile--active":r===s,"process-card-mobile--initiating":c}),v=w()("process-card-mobile__");return e.createElement("div",{className:p,style:h},e.createElement("div",{className:"process-card-mobile__inner"},e.createElement("div",null,"step"===d&&$(this.props,v),l&&X(this.props,v),u&&Y(this.props,v),i&&V(this.props,v),a&&"intro"===d&&K(this.props,v),"intro"!==d&&n,a&&"summary"===d&&G(this.props,v),W(this.props,v))))}},{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:N.a.string.isRequired,children:N.a.node,current:N.a.number.isRequired,description:N.a.string,enableVideoPlaybackSpeed:N.a.bool,entered:N.a.bool,hasNavigation:N.a.bool,id:N.a.string.isRequired,index:N.a.any.isRequired,initiating:N.a.bool.isRequired,labels:N.a.object.isRequired,media:N.a.object,onMediaLoad:N.a.func,onNextClick:N.a.func.isRequired,onRestartClick:N.a.func.isRequired,number:N.a.number,settings:N.a.object.isRequired,showHelp:N.a.bool,title:N.a.string,type:N.a.oneOf(["intro","step","summary"]),width:N.a.number}}}]),r}(e.Component),V=function(t,n){var r=t.current,i=t.description,o=t.index;return e.createElement(B.a,{allowTabNavigation:r===o,className:"".concat(n("description")," brand--body"),value:i})},W=function(t,n){var r=t.current,i=t.index,o=t.labels,s=t.showHelp,c=o.processSwipe,u=b()(n("help"),Object(a.a)({},"".concat(n("help"),"--show"),r===i&&s));return e.createElement("div",{className:u},e.createElement("span",null,c," ",e.createElement(D.f,null)))},Y=function(t,n){var r,i,o=t.blockId,a=t.current,s=t.enableVideoPlaybackSpeed,c=t.id,u=t.index,l=t.media,d=t.onMediaLoad,f=t.settings.zoomOnClick,p=a===u,v=P()(g()("pause",!0),l);return e.createElement("div",{className:n("media")},e.createElement(U.a,{allowTabNavigation:p,defaultAlign:"center",enableVideoPlaybackSpeed:s,hasPadding:!1,index:h()(r=h()(i="".concat(o,"-")).call(i,c,"-")).call(r,u),media:p?l:v,onLoad:p&&d?d:m.a,opts:{disableZoom:!f}}))},G=function(t,n){var r=t.current,i=t.index,o=t.labels,a=t.onRestartClick,s=o.processStartAgain,c=r===i?R.a:R.h,u={className:"".concat(n("restart")," brand--color"),onClick:a,onKeyDown:Object(F.a)(a),role:"button",tabIndex:c};return e.createElement("div",u,e.createElement("span",null,s),e.createElement("i",{className:"icon icon-reload"}))},K=function(t,n){var r=t.current,i=t.index,a=t.labels,s=t.onNextClick,c=a.processStart,u=r===i?R.a:R.h,l={className:"".concat(n("button")," brand--background"),onClick:s,onKeyDown:Object(F.a)(s),role:"button",tabIndex:u};return e.createElement("button",Object(o.a)({},l,{type:"button"}),e.createElement("span",null,c," ",e.createElement(D.f,null)))},$=function(t,n){var r,i=t.labels,o=t.number,a=t.settings,s=i.processStepName,c=a.stepLabel||s;return e.createElement("div",{className:"".concat(n("number")," brand--background brand--head")},e.createElement("p",null,h()(r="".concat(c," ")).call(r,o)))},X=function(t,n){return e.createElement("div",{className:"".concat(n("title")," brand--head")},e.createElement("h2",null,t.title))}}).call(this,n(0))},function(e,t,n){"use strict";
/*! @name @videojs/vhs-utils @version 1.3.0 @license MIT */function r(e){return e&&"object"==typeof e&&"default"in e?e.default:e}var i=r(n(1869)),o=r(n(287));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))}},function(e,t,n){"use strict";(function(e){n.d(t,"c",function(){return J}),n.d(t,"b",function(){return te}),n.d(t,"a",function(){return ne});var r=n(3),i=n.n(r),o=n(52),a=n.n(o),s=n(36),c=n.n(s),u=n(53),l=n.n(u),d=n(35),f=n.n(d),h=n(38),p=n.n(h),m=n(19),v=n(8),g=n(9),y=n(10),b=n(6),_=n(11),w=n(13),x=n(5),k=n(4),E=n.n(k),S=n(15),T=n.n(S),C=(n(1904),n(16)),O=n.n(C),j=n(2),A=n.n(j),P=n(54),M=n.n(P),N=n(33),L=n.n(N),I=n(322),D=n.n(I),R=n(37),B=n.n(R),F=n(89),U=n.n(F),q=n(1),z=n.n(q),H=n(64),V=n.n(H),W=n(20),Y=n(26),G=n(62),K=n(88),$=n(55);function X(e,t){var n=a()(e);if(c.a){var r=c()(e);t&&(r=l()(r).call(r,function(t){return f()(e,t).enumerable})),n.push.apply(n,r)}return n}function Q(e){var t=function(){if("undefined"==typeof Reflect||!i.a)return!1;if(i.a.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=Object(x.a)(e);if(t){var o=Object(x.a)(this).constructor;n=i()(r,arguments,o)}else n=r.apply(this,arguments);return Object(w.a)(this,n)}}var Z=n(61).b.blocks,J=function(t){Object(_.a)(r,t);var n=Q(r);function r(){var e,t;Object(g.a)(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))).renderItemDelegate=t.renderItem.bind(Object(b.a)(t)),t}return Object(y.a)(r,[{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(t){return e.createElement(ee,t)}},{key:"render",value:function(){var t=this,n=this.props,r=n.animateBlockEntrance,i=n.lessonId,o=n.blockId,a=n.isLearner,s=n.items,c=n.type,u=n.settings,l=n.editable,d=n.onStep,h=n.renderItem,m=void 0===h?this.renderItemDelegate:h,g=u.paddingTop,y=u.paddingBottom,b=u.backgroundColor,_=u.entranceAnimation,w=A()("block-list block-list--".concat(c),{"block-list--no-animation":!_}),x={backgroundColor:Object(G.a)("",b),paddingTop:"".concat(10*g,"px"),paddingBottom:"".concat(10*y,"px")};return e.createElement("div",{className:w,"data-ba":Z.blockList,style:x},e.createElement("div",{className:"block-list__container"},e.createElement("div",{className:"block-list__row"},e.createElement("div",{className:"block-list__col"},e.createElement($.a,{animateBlockEntrance:r,animateIn:"fadeInRight",className:"block-list__animated-item",isLearner:a,keepStructure:!0,siblingDelay:.25},e.createElement("ul",{className:"block-list__list",role:"list"},T()(s).call(s,function(e,n){return m(function(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){Object(v.a)(e,t,n[t])}):p.a?Object.defineProperties(e,p()(n)):X(Object(n)).forEach(function(t){Object.defineProperty(e,t,f()(n,t))})}return e}({key:e.id,index:n,lessonId:i,blockId:o,isDone:e.isDonw,type:c,editable:l,nextNumber:t.nextNumber.bind(t),onStep:d},e))})))))))}}],[{key:"propTypes",get:function(){return{animateBlockEntrance:z.a.bool.isRequired,lessonId:z.a.any,blockId:z.a.any,isLearner:z.a.bool.isRequired,items:z.a.array.isRequired,settings:z.a.object.isRequired,type:z.a.string,editable:z.a.bool,onStep:z.a.func}}},{key:"defaultProps",get:function(){return{editable:!1,items:[],onStep:Function.prototype,type:"numbered"}}}]),r}(e.Component),ee=function(t){Object(_.a)(r,t);var n=Q(r);function r(e){var t;Object(g.a)(this,r),(t=n.call(this,e)).renderTextDelegate=t.renderText.bind(Object(b.a)(t));var i="checkboxes"===e.type?D()():null;return t.state={labelId:i,isChecked:!1},t}return Object(y.a)(r,[{key:"checkBox",value:function(e){e.preventDefault(),this.setState({isChecked:!this.state.isChecked}),this.props.onStep(this.props)}},{key:"renderText",value:function(t){return e.createElement(K.a,t)}},{key:"renderItemText",value:function(t){var n=t.paragraphProps,r=this.props.renderText,i=void 0===r?this.renderTextDelegate:r,o=this.state.labelId;return o?e.createElement("div",{id:o},i(n)):i(n)}},{key:"renderIdentifier",value:function(t){return"checkboxes"===this.props.type?null:e.createElement("div",{className:"visually-hidden"},t)}},{key:"render",value:function(){var t=this,n=this.props,r=n.type,i=n.index,o=n.number,a=n.paragraph,s=n.editable,c=n.className,u=n.style,l=this.state,d=l.isChecked,f=l.labelId,h={allowTabNavigation:!0,className:"block-list__content brand--body brand--linkColor",editable:s,value:a},p=o||i+1,m="numbered"===r?p:"bullet",v=M()("hidden "),g=U()({allowTabNavigation:O()(!1),className:v},h),y=e.createElement("div",{"aria-hidden":!0,className:"block-list__number brand--background"},p),b=e.createElement("div",{className:"block-list__bullet brand--background"}),_=A()("block-list__checkbox","brand--border",{"block-list__checkbox--checked":d,"brand--background":d}),w=e.createElement("div",{className:_},e.createElement("i",{className:"block-list__checkbox__icon icon icon-checkmark-valid"}),e.createElement("div",{"aria-checked":d,"aria-labelledby":f,className:"block-list__checkbox__hitarea",onClick:this.checkBox.bind(this),onKeyDown:Object(Y.a)(this.checkBox.bind(this)),role:"checkbox",tabIndex:W.a})),x=L()([[B()("numbered"),O()(y)],[B()("bulleted"),O()(b)],[B()("checkboxes"),O()(w)],[V.a,O()(y)]]);return e.createElement("li",{role:"listitem",ref:function(e){return t.animateRef=e},className:"block-list__item ".concat(c),style:u},e.createElement("div",{className:"block-list__content__left"},x(r),this.renderText(g)),this.renderIdentifier(m),this.renderItemText({paragraphProps:h}))}}],[{key:"propTypes",get:function(){return{id:z.a.any.isRequired,lessonId:z.a.any,blockId:z.a.any.isRequired,isDone:z.a.bool,index:z.a.number.isRequired,type:z.a.string.isRequired,number:z.a.oneOfType([z.a.string,z.a.number]),paragraph:z.a.string,isNewlyInserted:z.a.bool,editable:z.a.bool,nextNumber:z.a.func.isRequired,onStep:z.a.func}}},{key:"defaultProps",get:function(){return{className:""}}}]),r}(e.Component),te=function(t){return e.createElement(J,Object(m.a)({type:"checkboxes"},t))},ne=function(t){return e.createElement(J,Object(m.a)({type:"bulleted"},t))}}).call(this,n(0))},function(e,t,n){"use strict";(function(e){n.d(t,"c",function(){return y}),n.d(t,"a",function(){return b}),n.d(t,"b",function(){return _});var r=n(3),i=n.n(r),o=n(19),a=n(9),s=n(10),c=n(11),u=n(13),l=n(5),d=(n(1907),n(2)),f=n.n(d),h=n(1),p=n.n(h),m=n(62);function v(e){var t=function(){if("undefined"==typeof Reflect||!i.a)return!1;if(i.a.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=Object(l.a)(e);if(t){var o=Object(l.a)(this).constructor;n=i()(r,arguments,o)}else n=r.apply(this,arguments);return Object(u.a)(this,n)}}var g=n(61).b.blocks,y=function(t){Object(c.a)(r,t);var n=v(r);function r(){return Object(a.a)(this,r),n.apply(this,arguments)}return Object(s.a)(r,[{key:"render",value:function(){var t=this.props,n=t.labels.numberedDividerGroup,r=t.number,i=t.settings,o=t.type,a=i.paddingTop,s=i.paddingBottom,c=i.backgroundColor,u=i.entranceAnimation,l=f()("block-divider block-divider--".concat(o," brand--afterHead"),{"block-divider--no-animation":!u}),d="numbered"===o,h=f()("block-divider__wrap",{"brand--beforeBorder brand--afterBackground":d}),p={backgroundColor:Object(m.a)("",c),paddingTop:"".concat(10*a,"px"),paddingBottom:"".concat(10*s,"px")},v=d?e.createElement("span",{className:"visually-hidden"},n," ",r):null;return e.createElement("div",{className:l,"data-ba":g.blockDivider,style:p},e.createElement("div",{"aria-hidden":"true",className:h,"data-number":r}),v)}}],[{key:"propTypes",get:function(){return{settings:p.a.object.isRequired,number:p.a.number,type:p.a.string}}},{key:"defaultProps",get:function(){return{type:"divider"}}}]),r}(e.Component),b=function(t){return e.createElement(y,Object(o.a)({type:"numbered"},t))},_=function(t){return e.createElement(y,Object(o.a)({type:"spacing"},t))}}).call(this,n(0))},function(e,t,n){"use strict";n.d(t,"a",function(){return D}),n.d(t,"b",function(){return R});var r=n(237),i=n.n(r),o=n(100),a=n.n(o),s=n(7),c=n.n(s),u=n(33),l=n.n(u),d=n(74),f=n.n(d),h=n(138),p=n.n(h),m=n(31),v=n.n(m),g=n(424),y=n.n(g),b=n(92),_=n.n(b),w=n(25),x=n.n(w),k=n(349),E=n.n(k),S=n(46),T=n.n(S),C=n(17),O=n.n(C),j=n(168),A=n.n(j),P=n(64),M=n.n(P),N=a()(v.a),L=function(e){var t=I(e)[0],n=(t||{}).feedback,r=x()(_()(["action","emotion","goTo","nextSlide"]),i()({description:n,type:"dialogue"}));return t?[t,r(t)]:[r(e)]},I=function(e){return[e.responses[e.response]]},D=function(e){var t=A()(N,"response"),n=O()("hasFeedback",!0),r=function(t){return c()(E()(e),t)};return l()([[n,r(L)],[t,r(I)],[M.a,y.a]])(e)},R=f()(function(e,t){if(t){var n=t.scene,r=t.slide,i=p()(O()("id",n),e),o=T()([],"slides",e[i]);return{scene:i,slide:p()(O()("id",r),o)}}})},function(e,t,n){var r=n(399)(n(613));e.exports=r},function(e,t,n){
/** @license ISC License (c) copyright 2017 original and current authors */
var r=n(201),i=n(1477),o=n(217),a=n(837),s=n(170),c=function(e,t){return e.valueOf()===t.valueOf()},u={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):(u[a(e)]||c)(e,t))}e.exports=d},function(e,t,n){var r=n(382),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)}},function(e,t,n){var r=n(176)("unscopables"),i=n(661),o=n(311),a=Array.prototype;null==a[r]&&o(a,r,i(null)),e.exports=function(e){a[r][e]=!0}},function(e,t,n){var r=n(420);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)}}},function(e,t){e.exports=function(e,t,n){if(!(e instanceof t))throw TypeError("Incorrect "+(n?n+" ":"")+"invocation");return e}},function(e,t,n){var r=n(167),i=n(420),o=n(176)("species");e.exports=function(e,t){var n,a=r(e).constructor;return void 0===a||null==(n=r(a)[o])?t:i(n)}},function(e,t,n){"use strict";var r=n(2),i=n.n(r),o=n(0),a=n.n(o);t.a=function(e){var t=e.width,n=void 0===t?"16":t,r=e.height,o=void 0===r?"16":r,s=e.className;return a.a.createElement("svg",{"aria-hidden":"true",viewBox:"0 0 15.6 14.7",width:n,height:o,className:i()("i i-search",s),focusable:"false",fill:"currentColor"},a.a.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"}))}},function(e,t,n){"use strict";(function(e){n.d(t,"c",function(){return pe}),n.d(t,"a",function(){return me}),n.d(t,"b",function(){return ve});var r=n(3),i=n.n(r),o=n(19),a=n(9),s=n(10),c=n(6),u=n(11),l=n(13),d=n(5),f=(n(1202),n(1946),n(182)),h=n.n(f),p=n(260),m=n.n(p),v=n(185),g=n.n(v),y=n(2),b=n.n(y),_=n(7),w=n.n(_),x=n(33),k=n.n(x),E=n(37),S=n.n(E),T=n(161),C=n.n(T),O=n(528),j=n.n(O),A=n(163),P=n.n(A),M=n(116),N=n.n(M),L=n(320),I=n.n(L),D=n(66),R=n.n(D),B=n(30),F=n.n(B),U=n(112),q=n.n(U),z=n(24),H=n.n(z),V=n(107),W=n.n(V),Y=n(233),G=n.n(Y),K=n(317),$=n.n(K),X=n(85),Q=n(716),Z=n(164),J=n(432),ee=n(72),te=n(95),ne=n(149),re=n.n(ne),ie=n(86),oe=n(20),ae=n(26),se=n(32);function ce(e){var t=function(){if("undefined"==typeof Reflect||!i.a)return!1;if(i.a.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=Object(d.a)(e);if(t){var o=Object(d.a)(this).constructor;n=i()(r,arguments,o)}else n=r.apply(this,arguments);return Object(l.a)(this,n)}}var ue=h()(F.a),le=w()(q.a,R.a),de=C()("title"),fe=function(t){Object(u.a)(r,t);var n=ce(r);function r(e){var t;return Object(a.a)(this,r),(t=n.call(this,e)).state={isDragging:!1},t.setDrag=t.setDrag.bind(Object(c.a)(t)),t}return Object(s.a)(r,[{key:"focus",value:function(){this.listItem.focus()}},{key:"setDrag",value:function(e){this.setState({isDragging:e})}},{key:"render",value:function(){var t=this,n=this.props,r=n.allowMovableKeySelect,i=n.allowTabNavigation,o=n.id,a=n.isEnabled,s=n.isKeySelected,c=n.isMatched,u=n.height,l=n.nextIndex,d=n.onDragEnd,f=n.onDragStart,h=n.onKeyDown,p=n.prefersKeyboardNavigation,m=n.prevIndex,v=n.text,g=n.willBeReplaced,y=i&&r,b=_e({isMatched:c,prefersKeyboardNavigation:p,willBeReplaced:g});return e.createElement(ie.d,{className:this.state.isDragging?"".concat(b," dragging"):b,component:"li",onKeyDown:h,style:{height:u}},e.createElement(J.a,{key:o},e.createElement(Q.a,{childRef:function(e){t.listItem=e},isEnabled:a,key:o,nextIndex:l,onDragEnd:d,onDragStart:f,prevIndex:m,setDrag:this.setDrag},e.createElement("div",{className:"quiz-match__item-wrapper","aria-hidden":!y,tabIndex:Object(oe.l)(y)},e.createElement(me,{className:ge({isKeySelected:s})}),e.createElement("div",{className:"quiz-match__item-content"},e.createElement(se.G,{className:"quiz-match__item-sortable"}),e.createElement(se.m,{className:"quiz-match__item-sortable--dots"}),e.createElement("span",{"data-match-content":!0},v))))))}}]),r}(e.Component),he=function(t){Object(u.a)(r,t);var n=ce(r);function r(){return Object(a.a)(this,r),n.apply(this,arguments)}return Object(s.a)(r,[{key:"focus",value:function(){this.listItem.focus()}},{key:"render",value:function(){var t=this,n=this.props,r=n.allowMovableKeySelect,i=n.allowTabNavigation,o=n.id,a=n.isEnabled,s=n.height,c=n.onDrop,u=n.onKeyDown,l=n.onKeyUp,d=n.onEnter,f=n.onLeave,h=n.prefersKeyboardNavigation,p=n.text,m=i&&!r;return e.createElement(Q.b,{activeClassName:"quiz-match__item--active",childRef:function(e){t.listItem=e},isEnabled:a,key:o,onDrop:c,onEnter:d,onLeave:f},e.createElement("li",{"aria-hidden":!m,className:we({prefersKeyboardNavigation:h}),onKeyDown:u,onKeyUp:l,style:{height:s},tabIndex:Object(oe.l)(m)},e.createElement(ve,{className:ye({isSelectable:!r})}),e.createElement("div",{className:"quiz-match__item-content"},e.createElement("span",{"data-match-content":!0},p))))}}]),r}(e.Component),pe=function(t){Object(u.a)(r,t);var n=ce(r);function r(e){var t;return Object(a.a)(this,r),(t=n.call(this,e)).state={allowMovableKeySelect:!0,dragIndex:null,dropZoneIndex:null,height:null,isLoaded:!1,keySelectedSourceIndex:null,titleIndices:e.titleIndices,toDropRow:null},t.moveableItems=[],t.matchItems=[],t.handleResize=re()(t.handleResize.bind(Object(c.a)(t)),100),t.handleCancelKeyDrop=t.handleCancelKeyDrop.bind(Object(c.a)(t)),t.handleIntersect=t.handleIntersect.bind(Object(c.a)(t)),t.observer=new IntersectionObserver(t.handleIntersect,{rootMargin:"10000px"}),t}return Object(s.a)(r,[{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,c=e.matches,u=e.matchIndices,l=e.titleIndices,d=a!==c,f=!o&&s;if(!R()(c)||r)if(d){var h=Object(ee.f)(u),p=G()(c).reduce(h,t);this.setState({titleIndices:p})}else if(r){var m=Ee({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()(de(t),de(n))||this.setHeights();var r=this.state,i=r.dragIndex,o=r.dropZoneIndex;m()(Z.b,[i,o])&&(this.props.onMatch({dragIndex:i,dropZoneIndex:o}),this.setState({dragIndex:null,dropZoneIndex:null}))}},{key:"render",value:function(){var t=this;return e.createElement("div",{className:this.getClassName(),ref:function(e){t.el=e}},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=ue(this.buildResultItem.bind(this));return w()(ke,e,ee.i)(this.props.matchIndices)}},{key:"buildResultItem",value:function(t){var n=this.props,r=n.isComplete,i=n.matchIndices,o=n.revealAnswers,a=this.state,s=a.height,c=r&&o,u=a.titleIndices[t],l=u===i[t],d=b()("quiz-match__item-feedback",{"quiz-match__item-feedback--hidden":!c});return c?l?e.createElement("li",{className:d,key:t,style:{height:s}},e.createElement(se.e,{"aria-label":"Check mark",className:"brand--fill"})):e.createElement("li",{className:d,key:t,style:{height:s}},e.createElement("span",{className:"quiz-match__item-feedback-bubble"},N()(I()(u,i)))):e.createElement("li",{className:d,key:t,style:{height:s}})}},{key:"buildMovableList",value:function(){var t=this,n=this.props,r=n.allowTabNavigation,i=n.answers,a=n.isActive,s=n.isComplete,c=n.matches,u=n.prefersKeyboardNavigation,l=this.state,d=l.allowMovableKeySelect,f=l.dragIndex,h=l.height,p=l.keySelectedSourceIndex,m=l.titleIndices,v=l.toDropRow;return w()(xe,ue(function(n,r){return e.createElement(fe,Object(o.a)({key:"movable-item-".concat(r),nextIndex:r,prevIndex:v,ref:function(e){t.moveableItems[r]=e}},n))}))(ue(function(e,n){var o=H()([e],i),l=o.id,g=o.title,y=Object(Z.b)(f)&&n===v&&v!==I()(f,m);return{allowMovableKeySelect:d,allowTabNavigation:r,height:h,id:l,isEnabled:a&&!s,isKeySelected:e===p,isMatched:Object(Z.b)(c[e]),onDragEnd:t.handleDragEnd.bind(t),onDragStart:t.handleDragStart.bind(t,e),onKeyDown:t.handleMovableKeyDown.bind(t,e,n),prefersKeyboardNavigation:u,text:g,willBeReplaced:y}},m))}},{key:"buildMatchList",value:function(){var t=this,n=this.props,r=n.allowTabNavigation,i=n.answers,a=n.isActive,s=n.matchIndices,c=n.prefersKeyboardNavigation,u=this.state,l=u.allowMovableKeySelect,d=u.height;return w()(xe,ue(function(n,r){return e.createElement(he,Object(o.a)({key:"match-item-".concat(r),ref:function(e){t.matchItems[r]=e}},n))}))(ue(function(e,n){var o=H()([e],i),s=o.id,u=o.matchTitle;return{allowMovableKeySelect:l,allowTabNavigation:r,height:d,id:s,isEnabled:a,onDrop:t.handleDrop.bind(t,e),onEnter:t.handleDropEnter.bind(t,n),onKeyDown:t.handleMatchKeyDown.bind(t,e,n),onKeyUp:t.handleMatchKeyUp.bind(t),onLeave:t.handleDropLeave.bind(t),prefersKeyboardNavigation:c,text:u}},s))}},{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=Object(te.a)(function(){return r.keySelectMovableAtIndex(e)}),a=Object(te.a)(function(){return Object(oe.f)({list:r.moveableItems,currentIndex:t})}),s=Object(te.a)(function(){return Object(oe.e)({list:r.moveableItems,currentIndex:t})}),c=Object(te.a)(function(){return!i&&Object(oe.d)({list:r.matchItems,index:t})});k()([[ae.k,o],[ae.b,s],[ae.m,a],[ae.i,c]])(n)}},{key:"handleMatchKeyDown",value:function(e,t,n){var r=this,i=this.props,o=i.canSubmit,a=i.onEnterToSubmit;if(o&&Object(ae.d)(n))a();else{var s=Object(te.a)(function(){return r.keySelectMatch(e,t)}),c=Object(te.a)(function(){return Object(oe.f)({list:r.matchItems,currentIndex:t})}),u=Object(te.a)(function(){return Object(oe.e)({list:r.matchItems,currentIndex:t})}),l=Object(te.a)(function(){return Object(oe.d)({list:r.moveableItems,index:t})});k()([[ae.e,s],[ae.b,u],[ae.m,c],[ae.g,l]])(n)}}},{key:"handleMatchKeyUp",value:function(e){Object(ae.e)(e)&&this.resetKeySelection()}},{key:"handleCancelKeyDrop",value:function(e){("mousedown"===e.type||Object(ae.f)(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=W()(function(e,t){return Math.max(e,t.offsetHeight+32)},0,e);this.setState({height:t,isLoaded:!0})}}]),r}(e.Component),me=function(t){var n=t.className;return e.createElement("svg",{className:n,viewBox:"-0.5 -0.5 315 55",preserveAspectRatio:"none",focusable:"false"},e.createElement("title",null,"Draggable item"),e.createElement("desc",null,"Rectangular shape with an arrow on the right side"),e.createElement("polygon",{points:"0,0  298.5,0  312,27.5  298.5,54  0,54"}),e.createElement("rect",{x:"0",y:"0",width:"5",height:"54"}))},ve=function(t){var n=t.className;return e.createElement("svg",{className:n,viewBox:"-0.5 -0.5 315 55",preserveAspectRatio:"none",focusable:"false"},e.createElement("title",null,"Drop zone item"),e.createElement("desc",null,"Rectangular shape with a fish-tail shape on the left side"),e.createElement("polygon",{points:"0,0  314,0  314,54  0,54  13.5,27.5  0,0"}))},ge=function(e){var t=e.isKeySelected;return b()("quiz-match__item-arrow",{"quiz-match__item-arrow--selected":t})},ye=function(e){var t=e.isSelectable;return b()("quiz-match__item-tail",{"quiz-match__item-tail--selectable":t})},be=X.a.isIe11||X.a.isEdge,_e=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&&be})},we=function(e){var t=e.prefersKeyboardNavigation;return b()("quiz-match__item quiz-match__item--immobile",{"quiz-match__item--ms_browser-focus":t&&be})},xe=function(t){return e.createElement("ul",{className:"quiz-match__list brand--body"},t)},ke=function(t){return e.createElement("ul",{className:"quiz-match__list quiz-match__list--results"},t)},Ee=function(e){var t=e.titleIndices,n=e.nextTitleIndices,r=e.isNewRetake,i=e.isLearner;if(r&&i)return n;var o=$()(t,n),a=j()(t,n);return le(a)?$()(a,t):le(o)?P()(g()(o,t)):t}}).call(this,n(0))},function(e,t,n){"use strict";var r=n(0),i=n.n(r),o=n(130),a=n(2),s=n.n(a),c=(n(1930),n(61).b.common);t.a=function(e){var t=e.bgColor,n=void 0===t?"brand":t,r=e.href,a=e.onClick,u=e.text,l=s()("continue-btn",{"continue-btn--gray":"gray"===n,"continue-btn--black":"black"===n,"brand--background":"brand"===n});return r?i.a.createElement(o.b,{className:l,onClick:a,to:r},u):i.a.createElement("button",{className:l,"data-ba":c.continueBtn,onClick:a,type:"button"},u)}},function(e,t,n){e.exports=n(2151)},function(e,t,n){"use strict";n.d(t,"a",function(){return w}),n.d(t,"b",function(){return x});var r=n(7),i=n.n(r),o=n(49),a=n.n(o),s=n(230),c=n.n(s),u=n(76),l=n.n(u),d=n(112),f=n.n(d),h=n(24),p=n.n(h),m=n(532),v=n.n(m),g=n(14),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,a()((t=b(r),i()(f.a,function(e){return p()([e,"passed"],t)},y()("id")))),a()(_),b)(n)||{}},x=function(e){var t=e.courseProgress,n=e.lesson,r=e.restrictingQuiz,o=function(e){return p()([e,"index"],b(t))},a=o(y()("id",n));return i()(c()(a),o,y()("id"))(r)?r:{}}},function(e,t,n){"use strict";var r=n(3),i=n.n(r),o=n(9),a=n(10),s=n(6),c=n(11),u=n(13),l=n(5),d=n(15),f=n.n(d),h=n(4),p=n.n(h),m=(n(1951),n(0)),v=n.n(m),g=n(77),y=n(16),b=n.n(y),_=n(2),w=n.n(_),x=n(7),k=n.n(x),E=n(322),S=n.n(E),T=n(109),C=n.n(T),O=n(89),j=n.n(O),A=n(28),P=n.n(A),M=n(24),N=n.n(M),L=n(353),I=n.n(L),D=n(39),R=n.n(D),B=n(1167),F=n(1168),U=n(55),q=n(1169),z=n(180),H=n(113),V=n(326),W=n.n(V),Y=(n(22),n(127)),G=n.n(Y),K=n(313),$=n.n(K),X=n(227),Q=n.n(X),Z=R()($()(Number),k()(Q.a,function(e){var t,n;return W()(t=W()(n=e.toString(16)).call(n,6,"0")).call(t,7,"#")})),J=k()(Z,G()("#ff631e")),ee=function(e){var t=e.course;return{brandColor:J(t&&t.color)}};function te(e){var t=function(){if("undefined"==typeof Reflect||!i.a)return!1;if(i.a.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=Object(l.a)(e);if(t){var o=Object(l.a)(this).constructor;n=i()(r,arguments,o)}else n=r.apply(this,arguments);return Object(u.a)(this,n)}}var ne=C()(function(e){return k()(j()({brandColor:function(t){return e||t}}),ee)}),re=function(e){var t=e.accentColor;return{accentColor:e.fontColor,fontColor:t}},ie=C()(k()(I()(P.a),function(e){return R()(b()(e),re)})),oe=function(e){Object(c.a)(n,e);var t=te(n);function n(e){var r;Object(o.a)(this,n),r=t.call(this,e);var i=e.isLearner;return r.afterAnimatedIn=r.afterAnimatedIn.bind(Object(s.a)(r)),r.createMarker=r.createMarker.bind(Object(s.a)(r)),r.onBubbleClose=r.onBubbleClose.bind(Object(s.a)(r)),r.onMarkerFocus=r.onMarkerFocus.bind(Object(s.a)(r)),r.markerRefs={},r.state={showMarkers:!i,uniqId:S()()},r}return Object(a.a)(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.animateBlockEntrance,r=t.blockId,i=t.brandColor,o=t.canvasClassNames,a=t.editable,s=t.imageLoaded,c=void 0===s||s,u=t.isBlock,l=t.isLearner,d=t.isPreview,h=t.items,g=t.labels,y=t.lesson,b=t.media,_=t.onItemClear,x=t.onItemHint,k=t.onItemSelected,E=t.onNextClick,S=t.onPreviousClick,T=t.onShowAltDialog,C=t.parentId,O=t.progress,j=t.selected,A=t.settings,P=void 0===A?{}:A,M=t.showBubbles,L=t.enableVideoPlaybackSpeed,I=P.markerColor,D=this.state,R=D.showMarkers,V=D.uniqId,W=Boolean(I),Y=a?"#FFFFFF":I||i,G=w()("map-item",{"map-item--animated":!a}),K=n?"fadeIn":"none",$=n?1:0,X=h.length>1,Q="lg-".concat(V),Z=W?function(e){return Object(H.b)(e)?"#FFFFFF":"#000000"}(Y):a?"#000000":"#FFFFFF",J=ie(!W&&!a,{accentClassName:Q,accentColor:Y,fontColor:Z});return v.a.createElement(m.Fragment,null,this.renderMarkerStyles(J),v.a.createElement(U.a,{afterAnimatedIn:this.afterAnimatedIn,animateBlockEntrance:!d,animateIn:K,duration:d?0:$,initiallyVisible:!n,isLearner:l,offset:300},v.a.createElement(F.a,{canvasClassNames:o,editable:a,imageLoaded:c,lesson:y,media:b,onCreateMarker:this.createMarker,onShowAltDialog:T,ref:function(t){e.canvas=t}},f()(h).call(h,function(t,n){var i,o,s=t.description,c=t.id,l=t.icon,d=t.media,f=t.title,h=t.x,m=t.y,y={top:m+"%",left:h+"%"},b=N()(["items",c,"isComplete"],O),w=j===c;return v.a.createElement("li",{className:G,key:c,role:"listitem"},v.a.createElement(q.a,{editable:a,icon:l,isActive:j===c,isComplete:b,isSelected:w,isVisible:R,itemId:c,key:c,labels:g,markerClassName:Q,onClick:function(){k(c)},onFocus:e.onMarkerFocus(c),onHover:function(){x()},onLeave:function(){_()},onSetPosition:e.onSetPosition.bind(e,c),parentId:C,ref:function(t){e.markerRefs[c]=t},styles:y,useLocalStateForCompletion:u}),!a&&M&&v.a.createElement(B.a,{accentColor:Y,allowNav:X,description:s,hasMedia:Boolean(d),isActive:w,key:"bubble-".concat(c),labels:g,onClose:e.onBubbleClose(c),onNextClick:function(){E(n)},onPreviousClick:function(){S(n)},title:f,x:h,y:m},d?v.a.createElement(z.a,{hasPadding:!1,index:p()(i=p()(o="".concat(r,"-")).call(o,c,"-")).call(i,n),labels:e.props.labels,media:d,enableVideoPlaybackSpeed:L}):null))}))))}},{key:"renderMarkerStyles",value:function(e){var t,n,r,i,o,a,s,c,u,l,d,f=e.accentClassName,h=e.accentColor,m=e.fontColor,g=Object(H.e)("#000000",h),y=Object(H.e)("#FFFFFF",m);return v.a.createElement("style",null,p()(t=p()(n=p()(r=p()(i=p()(o=p()(a=p()(s=p()(c=p()(u=p()(l=p()(d="\n        .".concat(f,"--normal {\n          background-color: ")).call(d,g,";\n          color: ")).call(l,y,";\n        }\n\n        .")).call(u,f,"--selected {\n          background-color: ")).call(c,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,c=this.findItemCoordinates({e:e}),u=c.x,l=c.y;o({index:r?s[0].items.length:s.length,lessonId:a,items:s,payload:{description:"",hasMedia:!1,icon:"01",id:S()(),isActive:!1,title:"",x:String(u),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,c=o.items,u=this.findItemCoordinates({e:t,offsetX:n,offsetY:r}),l=u.x,d=u.y;a({itemId:e,lessonId:s,items:c,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}(v.a.Component),ae=Object(g.b)(function(e,t){var n=t.accentColor;return ne(n,e)});t.a=ae(oe)},,function(e,t,n){"use strict";n.d(t,"c",function(){return k}),n.d(t,"a",function(){return E}),n.d(t,"b",function(){return S});var r=n(422),i=n.n(r),o=n(153),a=n.n(o),s=n(7),c=n.n(s),u=n(54),l=n.n(u),d=n(49),f=n.n(d),h=n(65),p=n.n(h),m=n(138),v=n.n(m),g=n(14),y=n.n(g),b=n(17),_=n.n(b),w=n(107),x=n.n(w),k=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)},E=function(e,t){var n=c()(p()(_()("id",t)),y()("children")),r=c()(p()(n),f()(_()("type","section")),k)(e);return r?[r.id]:[]},S=function(e){return v()(_()("id",e))},T=a()(_()("family","continue"),_()("variant","continue"));c()(i()(T),y()("items"))},,function(e,t,n){var r=n(121),i=n(389),o="".split;e.exports=r(function(){return!Object("z").propertyIsEnumerable(0)})?function(e){return"String"==i(e)?o.call(e,""):Object(e)}:Object},function(e,t,n){var r=n(132),i=n(147),o=r.document,a=i(o)&&i(o.createElement);e.exports=function(e){return a?o.createElement(e):{}}},function(e,t,n){var r=n(1259);e.exports=function(e){if(r(e))throw TypeError("The method doesn't accept regular expressions");return e}},function(e,t,n){var r=n(105),i=n(592);(e.exports=function(e,t){return i[e]||(i[e]=void 0!==t?t:{})})("versions",[]).push({version:"3.15.1",mode:r?"pure":"global",copyright:"© 2021 Denis Pushkarev (zloirock.ru)"})},function(e,t,n){var r=n(132),i=n(1260),o=r["__core-js_shared__"]||i("__core-js_shared__",{});e.exports=o},function(e,t,n){var r=n(450),i=n(121);e.exports=!!Object.getOwnPropertySymbols&&!i(function(){var e=Symbol();return!String(e)||!(Object(e)instanceof Symbol)||!Symbol.sham&&r&&r<41})},function(e,t,n){var r=n(124)("match");e.exports=function(e){var t=/./;try{"/./"[e](t)}catch(n){try{return t[r]=!1,"/./"[e](t)}catch(e){}}return!1}},function(e,t,n){var r=n(218),i=n(216),o=n(596),a=function(e){return function(t,n,a){var s,c=r(t),u=i(c.length),l=o(a,u);if(e&&n!=n){for(;u>l;)if((s=c[l++])!=s)return!0}else for(;u>l;l++)if((e||l in c)&&c[l]===n)return e||l||0;return!e&&-1}};e.exports={includes:a(!0),indexOf:a(!1)}},function(e,t,n){var r=n(467),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)}},function(e,t){e.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},function(e,t){},function(e,t,n){"use strict";var r=n(45),i=n(132),o=n(173),a=n(105),s=n(157),c=n(593),u=n(754),l=n(121),d=n(172),f=n(394),h=n(147),p=n(94),m=n(215),v=n(218),g=n(466),y=n(300),b=n(301),_=n(392),w=n(600),x=n(1280),k=n(601),E=n(275),S=n(199),T=n(465),C=n(198),O=n(302),j=n(591),A=n(472),P=n(393),M=n(468),N=n(124),L=n(602),I=n(125),D=n(277),R=n(278),B=n(395).forEach,F=A("hidden"),U=N("toPrimitive"),q=R.set,z=R.getterFor("Symbol"),H=Object.prototype,V=i.Symbol,W=o("JSON","stringify"),Y=E.f,G=S.f,K=x.f,$=T.f,X=j("symbols"),Q=j("op-symbols"),Z=j("string-to-symbol-registry"),J=j("symbol-to-string-registry"),ee=j("wks"),te=i.QObject,ne=!te||!te.prototype||!te.prototype.findChild,re=s&&l(function(){return 7!=b(G({},"a",{get:function(){return G(this,"a",{value:7}).a}})).a})?function(e,t,n){var r=Y(H,t);r&&delete H[t],G(e,t,n),r&&e!==H&&G(H,t,r)}:G,ie=function(e,t){var n=X[e]=b(V.prototype);return q(n,{type:"Symbol",tag:e,description:t}),s||(n.description=t),n},oe=u?function(e){return"symbol"==typeof e}:function(e){return Object(e)instanceof V},ae=function(e,t,n){e===H&&ae(Q,t,n),p(e);var r=g(t,!0);return p(n),d(X,r)?(n.enumerable?(d(e,F)&&e[F][r]&&(e[F][r]=!1),n=b(n,{enumerable:y(0,!1)})):(d(e,F)||G(e,F,y(1,{})),e[F][r]=!0),re(e,r,n)):G(e,r,n)},se=function(e,t){p(e);var n=v(t),r=_(n).concat(de(n));return B(r,function(t){s&&!ce.call(n,t)||ae(e,t,n[t])}),e},ce=function(e){var t=g(e,!0),n=$.call(this,t);return!(this===H&&d(X,t)&&!d(Q,t))&&(!(n||!d(this,t)||!d(X,t)||d(this,F)&&this[F][t])||n)},ue=function(e,t){var n=v(e),r=g(t,!0);if(n!==H||!d(X,r)||d(Q,r)){var i=Y(n,r);return!i||!d(X,r)||d(n,F)&&n[F][r]||(i.enumerable=!0),i}},le=function(e){var t=K(v(e)),n=[];return B(t,function(e){d(X,e)||d(P,e)||n.push(e)}),n},de=function(e){var t=e===H,n=K(t?Q:v(e)),r=[];return B(n,function(e){!d(X,e)||t&&!d(H,e)||r.push(X[e])}),r};(c||(O((V=function(){if(this instanceof V)throw TypeError("Symbol is not a constructor");var e=arguments.length&&void 0!==arguments[0]?String(arguments[0]):void 0,t=M(e),n=function(e){this===H&&n.call(Q,e),d(this,F)&&d(this[F],t)&&(this[F][t]=!1),re(this,t,y(1,e))};return s&&ne&&re(H,t,{configurable:!0,set:n}),ie(t,e)}).prototype,"toString",function(){return z(this).tag}),O(V,"withoutSetter",function(e){return ie(M(e),e)}),T.f=ce,S.f=ae,E.f=ue,w.f=x.f=le,k.f=de,L.f=function(e){return ie(N(e),e)},s&&(G(V.prototype,"description",{configurable:!0,get:function(){return z(this).description}}),a||O(H,"propertyIsEnumerable",ce,{unsafe:!0}))),r({global:!0,wrap:!0,forced:!c,sham:!c},{Symbol:V}),B(_(ee),function(e){I(e)}),r({target:"Symbol",stat:!0,forced:!c},{for:function(e){var t=String(e);if(d(Z,t))return Z[t];var n=V(t);return Z[t]=n,J[n]=t,n},keyFor:function(e){if(!oe(e))throw TypeError(e+" is not a symbol");if(d(J,e))return J[e]},useSetter:function(){ne=!0},useSimple:function(){ne=!1}}),r({target:"Object",stat:!0,forced:!c,sham:!s},{create:function(e,t){return void 0===t?b(e):se(b(e),t)},defineProperty:ae,defineProperties:se,getOwnPropertyDescriptor:ue}),r({target:"Object",stat:!0,forced:!c},{getOwnPropertyNames:le,getOwnPropertySymbols:de}),r({target:"Object",stat:!0,forced:l(function(){k.f(1)})},{getOwnPropertySymbols:function(e){return k.f(m(e))}}),W)&&r({target:"JSON",stat:!0,forced:!c||l(function(){var e=V();return"[null]"!=W([e])||"{}"!=W({a:e})||"{}"!=W(Object(e))})},{stringify:function(e,t,n){for(var r,i=[e],o=1;arguments.length>o;)i.push(arguments[o++]);if(r=t,(h(t)||void 0!==e)&&!oe(e))return f(t)||(t=function(e,t){if("function"==typeof r&&(t=r.call(this,e,t)),!oe(t))return t}),i[1]=t,W.apply(null,i)}});V.prototype[U]||C(V.prototype,U,V.prototype.valueOf),D(V,"Symbol"),P[F]=!0},function(e,t,n){var r=n(758),i=n(597).concat("length","prototype");t.f=Object.getOwnPropertyNames||function(e){return r(e,i)}},function(e,t){t.f=Object.getOwnPropertySymbols},function(e,t,n){var r=n(124);t.f=r},function(e,t,n){var r={};r[n(124)("toStringTag")]="z",e.exports="[object z]"===String(r)},function(e,t,n){"use strict";var r=n(45),i=n(766),o=n(396),a=n(473),s=n(277),c=n(198),u=n(302),l=n(124),d=n(105),f=n(335),h=n(767),p=h.IteratorPrototype,m=h.BUGGY_SAFARI_ITERATORS,v=l("iterator"),g=function(){return this};e.exports=function(e,t,n,l,h,y,b){i(n,t,l);var _,w,x,k=function(e){if(e===h&&O)return O;if(!m&&e in T)return T[e];switch(e){case"keys":case"values":case"entries":return function(){return new n(this,e)}}return function(){return new n(this)}},E=t+" Iterator",S=!1,T=e.prototype,C=T[v]||T["@@iterator"]||h&&T[h],O=!m&&C||k(h),j="Array"==t&&T.entries||C;if(j&&(_=o(j.call(new e)),p!==Object.prototype&&_.next&&(d||o(_)===p||(a?a(_,p):"function"!=typeof _[v]&&c(_,v,g)),s(_,E,!0,!0),d&&(f[E]=g))),"values"==h&&C&&"values"!==C.name&&(S=!0,O=function(){return C.call(this)}),d&&!b||T[v]===O||c(T,v,O),f[t]=O,h)if(w={values:k("values"),keys:y?O:k("keys"),entries:k("entries")},b)for(x in w)!m&&!S&&x in T||u(T,x,w[x]);else r({target:t,proto:!0,forced:m||S},w);return w}},function(e,t){e.exports=function(e){return"function"==typeof e["@@transducer/step"]}},function(e,t){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}},function(e,t){e.exports=function(e){return"[object Object]"===Object.prototype.toString.call(e)}},function(e,t){e.exports=function(e){return e}},function(e,t,n){var r=n(51);e.exports=r(function(e){return null===e?"Null":void 0===e?"Undefined":Object.prototype.toString.call(e).slice(8,-1)})},function(e,t,n){var r=n(18),i=n(133),o=n(1351),a=n(178);e.exports=r(i(["take"],o,function(e,t){return a(0,e<0?1/0:e,t)}))},function(e,t,n){"use strict";n(451);var r=n(45),i=n(173),o=n(782),a=n(302),s=n(612),c=n(277),u=n(766),l=n(278),d=n(398),f=n(172),h=n(166),p=n(329),m=n(94),v=n(147),g=n(301),y=n(300),b=n(783),_=n(397),w=n(124),x=i("fetch"),k=i("Headers"),E=w("iterator"),S=l.set,T=l.getterFor("URLSearchParams"),C=l.getterFor("URLSearchParamsIterator"),O=/\+/g,j=Array(4),A=function(e){return j[e-1]||(j[e-1]=RegExp("((?:%[\\da-f]{2}){"+e+"})","gi"))},P=function(e){try{return decodeURIComponent(e)}catch(t){return e}},M=function(e){var t=e.replace(O," "),n=4;try{return decodeURIComponent(t)}catch(e){for(;n;)t=t.replace(A(n--),P);return t}},N=/[!'()~]|%20/g,L={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+"},I=function(e){return L[e]},D=function(e){return encodeURIComponent(e).replace(N,I)},R=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:M(r.shift()),value:M(r.join("="))}))},B=function(e){this.entries.length=0,R(this.entries,e)},F=function(e,t){if(e<t)throw TypeError("Not enough arguments")},U=u(function(e,t){S(this,{type:"URLSearchParamsIterator",iterator:b(T(e).entries),kind:t})},"Iterator",function(){var e=C(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}),q=function(){d(this,q,"URLSearchParams");var e,t,n,r,i,o,a,s,c,u=arguments.length>0?arguments[0]:void 0,l=[];if(S(this,{type:"URLSearchParams",entries:l,updateURL:function(){},updateSearchParams:B}),void 0!==u)if(v(u))if("function"==typeof(e=_(u)))for(n=(t=e.call(u)).next;!(r=n.call(t)).done;){if((a=(o=(i=b(m(r.value))).next).call(i)).done||(s=o.call(i)).done||!o.call(i).done)throw TypeError("Expected sequence with length 2");l.push({key:a.value+"",value:s.value+""})}else for(c in u)f(u,c)&&l.push({key:c,value:u[c]+""});else R(l,"string"==typeof u?"?"===u.charAt(0)?u.slice(1):u:u+"")},z=q.prototype;s(z,{append:function(e,t){F(arguments.length,2);var n=T(this);n.entries.push({key:e+"",value:t+""}),n.updateURL()},delete:function(e){F(arguments.length,1);for(var t=T(this),n=t.entries,r=e+"",i=0;i<n.length;)n[i].key===r?n.splice(i,1):i++;t.updateURL()},get:function(e){F(arguments.length,1);for(var t=T(this).entries,n=e+"",r=0;r<t.length;r++)if(t[r].key===n)return t[r].value;return null},getAll:function(e){F(arguments.length,1);for(var t=T(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){F(arguments.length,1);for(var t=T(this).entries,n=e+"",r=0;r<t.length;)if(t[r++].key===n)return!0;return!1},set:function(e,t){F(arguments.length,1);for(var n,r=T(this),i=r.entries,o=!1,a=e+"",s=t+"",c=0;c<i.length;c++)(n=i[c]).key===a&&(o?i.splice(c--,1):(o=!0,n.value=s));o||i.push({key:a,value:s}),r.updateURL()},sort:function(){var e,t,n,r=T(this),i=r.entries,o=i.slice();for(i.length=0,n=0;n<o.length;n++){for(e=o[n],t=0;t<n;t++)if(i[t].key>e.key){i.splice(t,0,e);break}t===n&&i.push(e)}r.updateURL()},forEach:function(e){for(var t,n=T(this).entries,r=h(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 U(this,"keys")},values:function(){return new U(this,"values")},entries:function(){return new U(this,"entries")}},{enumerable:!0}),a(z,E,z.entries),a(z,"toString",function(){for(var e,t=T(this).entries,n=[],r=0;r<t.length;)e=t[r++],n.push(D(e.key)+"="+D(e.value));return n.join("&")},{enumerable:!0}),c(q,"URLSearchParams"),r({global:!0,forced:!o},{URLSearchParams:q}),o||"function"!=typeof x||"function"!=typeof k||r({global:!0,enumerable:!0,forced:!0},{fetch:function(e){var t,n,r,i=[e];return arguments.length>1&&(t=arguments[1],v(t)&&(n=t.body,"URLSearchParams"===p(n)&&((r=t.headers?new k(t.headers):new k).has("content-type")||r.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"),t=g(t,{body:y(0,String(n)),headers:y(0,r)}))),i.push(t)),x.apply(this,i)}}),e.exports={URLSearchParams:q,getState:T}},function(e,t,n){var r=n(302);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}},function(e,t,n){var r=n(1361),i=n(786),o=n(787);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 c="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[c])return a(e,t,n[c]());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")}},function(e,t){e.exports=Array.isArray||function(e){return null!=e&&e.length>=0&&"[object Array]"===Object.prototype.toString.call(e)}},function(e,t,n){(t=e.exports=n(802)).Stream=t,t.Readable=t,t.Writable=n(617),t.Duplex=n(305),t.Transform=n(806),t.PassThrough=n(1403)},function(e,t,n){var r=n(304),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)}},function(e,t,n){"use strict";(function(t,r,i){var o=n(481);function a(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?t.corkedRequestsFree.next=e:t.corkedRequestsFree=e}(t,e)}}e.exports=y;var s,c=!t.browser&&["v0.10","v0.9."].indexOf(t.version.slice(0,5))>-1?r:o.nextTick;y.WritableState=g;var u=Object.create(n(404));u.inherits=n(220);var l={deprecate:n(1401)},d=n(804),f=n(616).Buffer,h=i.Uint8Array||function(){};var p,m=n(805);function v(){}function g(e,t){s=s||n(305),e=e||{};var r=t instanceof s;this.objectMode=!!e.objectMode,r&&(this.objectMode=this.objectMode||!!e.writableObjectMode);var i=e.highWaterMark,u=e.writableHighWaterMark,l=this.objectMode?16:16384;this.highWaterMark=i||0===i?i:r&&(u||0===u)?u:l,this.highWaterMark=Math.floor(this.highWaterMark),this.finalCalled=!1,this.needDrain=!1,this.ending=!1,this.ended=!1,this.finished=!1,this.destroyed=!1;var d=!1===e.decodeStrings;this.decodeStrings=!d,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(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?(o.nextTick(i,r),o.nextTick(E,e,t),e._writableState.errorEmitted=!0,e.emit("error",r)):(i(r),e._writableState.errorEmitted=!0,e.emit("error",r),E(e,t))}(e,n,r,t,i);else{var a=x(n);a||n.corked||n.bufferProcessing||!n.bufferedRequest||w(e,n),r?c(_,e,n,a,i):_(e,n,a,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.bufferedRequestCount=0,this.corkedRequestsFree=new a(this)}function y(e){if(s=s||n(305),!(p.call(y,this)||this instanceof s))return new y(e);this._writableState=new g(e,this),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)),d.call(this)}function b(e,t,n,r,i,o,a){t.writelen=r,t.writecb=a,t.writing=!0,t.sync=!0,n?e._writev(i,t.onwrite):e._write(i,o,t.onwrite),t.sync=!1}function _(e,t,n,r){n||function(e,t){0===t.length&&t.needDrain&&(t.needDrain=!1,e.emit("drain"))}(e,t),t.pendingcb--,r(),E(e,t)}function w(e,t){t.bufferProcessing=!0;var n=t.bufferedRequest;if(e._writev&&n&&n.next){var r=t.bufferedRequestCount,i=new Array(r),o=t.corkedRequestsFree;o.entry=n;for(var s=0,c=!0;n;)i[s]=n,n.isBuf||(c=!1),n=n.next,s+=1;i.allBuffers=c,b(e,t,!0,t.length,i,"",o.finish),t.pendingcb++,t.lastBufferedRequest=null,o.next?(t.corkedRequestsFree=o.next,o.next=null):t.corkedRequestsFree=new a(t),t.bufferedRequestCount=0}else{for(;n;){var u=n.chunk,l=n.encoding,d=n.callback;if(b(e,t,!1,t.objectMode?1:u.length,u,l,d),n=n.next,t.bufferedRequestCount--,t.writing)break}null===n&&(t.lastBufferedRequest=null)}t.bufferedRequest=n,t.bufferProcessing=!1}function x(e){return e.ending&&0===e.length&&null===e.bufferedRequest&&!e.finished&&!e.writing}function k(e,t){e._final(function(n){t.pendingcb--,n&&e.emit("error",n),t.prefinished=!0,e.emit("prefinish"),E(e,t)})}function E(e,t){var n=x(t);return n&&(!function(e,t){t.prefinished||t.finalCalled||("function"==typeof e._final?(t.pendingcb++,t.finalCalled=!0,o.nextTick(k,e,t)):(t.prefinished=!0,e.emit("prefinish")))}(e,t),0===t.pendingcb&&(t.finished=!0,e.emit("finish"))),n}u.inherits(y,d),g.prototype.getBuffer=function(){for(var e=this.bufferedRequest,t=[];e;)t.push(e),e=e.next;return t},function(){try{Object.defineProperty(g.prototype,"buffer",{get:l.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]?(p=Function.prototype[Symbol.hasInstance],Object.defineProperty(y,Symbol.hasInstance,{value:function(e){return!!p.call(this,e)||this===y&&(e&&e._writableState instanceof g)}})):p=function(e){return e instanceof this},y.prototype.pipe=function(){this.emit("error",new Error("Cannot pipe, not readable"))},y.prototype.write=function(e,t,n){var r,i=this._writableState,a=!1,s=!i.objectMode&&(r=e,f.isBuffer(r)||r instanceof h);return s&&!f.isBuffer(e)&&(e=function(e){return f.from(e)}(e)),"function"==typeof t&&(n=t,t=null),s?t="buffer":t||(t=i.defaultEncoding),"function"!=typeof n&&(n=v),i.ended?function(e,t){var n=new Error("write after end");e.emit("error",n),o.nextTick(t,n)}(this,n):(s||function(e,t,n,r){var i=!0,a=!1;return null===n?a=new TypeError("May not write null values to stream"):"string"==typeof n||void 0===n||t.objectMode||(a=new TypeError("Invalid non-string/buffer chunk")),a&&(e.emit("error",a),o.nextTick(r,a),i=!1),i}(this,i,e,n))&&(i.pendingcb++,a=function(e,t,n,r,i,o){if(!n){var a=function(e,t,n){e.objectMode||!1===e.decodeStrings||"string"!=typeof t||(t=f.from(t,n));return t}(t,r,i);r!==a&&(n=!0,i="buffer",r=a)}var s=t.objectMode?1:r.length;t.length+=s;var c=t.length<t.highWaterMark;c||(t.needDrain=!0);if(t.writing||t.corked){var u=t.lastBufferedRequest;t.lastBufferedRequest={chunk:r,encoding:i,isBuf:n,callback:o,next:null},u?u.next=t.lastBufferedRequest:t.bufferedRequest=t.lastBufferedRequest,t.bufferedRequestCount+=1}else b(e,t,!1,s,r,i,o);return c}(this,i,s,e,t,n)),a},y.prototype.cork=function(){this._writableState.corked++},y.prototype.uncork=function(){var e=this._writableState;e.corked&&(e.corked--,e.writing||e.corked||e.finished||e.bufferProcessing||!e.bufferedRequest||w(this,e))},y.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 TypeError("Unknown encoding: "+e);return this._writableState.defaultEncoding=e,this},Object.defineProperty(y.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}}),y.prototype._write=function(e,t,n){n(new Error("_write() is not implemented"))},y.prototype._writev=null,y.prototype.end=function(e,t,n){var r=this._writableState;"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||r.finished||function(e,t,n){t.ending=!0,E(e,t),n&&(t.finished?o.nextTick(n):e.once("finish",n));t.ended=!0,e.writable=!1}(this,r,n)},Object.defineProperty(y.prototype,"destroyed",{get:function(){return void 0!==this._writableState&&this._writableState.destroyed},set:function(e){this._writableState&&(this._writableState.destroyed=e)}}),y.prototype.destroy=m.destroy,y.prototype._undestroy=m.undestroy,y.prototype._destroy=function(e,t){this.end(),t(e)}}).call(this,n(280),n(1399).setImmediate,n(96))},function(e,t,n){"use strict";var r=n(1402).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=c,this.end=u,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=h)}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 c(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 u(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 h(e){return e&&e.length?this.write(e):""}t.StringDecoder=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}},function(e,t,n){"use strict";t.__esModule=!0;var r,i=n(620);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},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=c(n(811)),o=c(n(819)),a=c(n(622)),s=c(n(820));function c(e){return e&&e.__esModule?e:{default:e}}var u=function(){function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if(function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(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=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}(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=u,e.exports=t.default},function(e,t,n){(function(e){function n(e,t){for(var n=0,r=e.length-1;r>=0;r--){var i=e[r];"."===i?e.splice(r,1):".."===i?(e.splice(r,1),n++):n&&(e.splice(r,1),n--)}if(t)for(;n--;n)e.unshift("..");return e}function r(e,t){if(e.filter)return e.filter(t);for(var n=[],r=0;r<e.length;r++)t(e[r],r,e)&&n.push(e[r]);return n}t.resolve=function(){for(var t="",i=!1,o=arguments.length-1;o>=-1&&!i;o--){var a=o>=0?arguments[o]:e.cwd();if("string"!=typeof a)throw new TypeError("Arguments to path.resolve must be strings");a&&(t=a+"/"+t,i="/"===a.charAt(0))}return(i?"/":"")+(t=n(r(t.split("/"),function(e){return!!e}),!i).join("/"))||"."},t.normalize=function(e){var o=t.isAbsolute(e),a="/"===i(e,-1);return(e=n(r(e.split("/"),function(e){return!!e}),!o).join("/"))||o||(e="."),e&&a&&(e+="/"),(o?"/":"")+e},t.isAbsolute=function(e){return"/"===e.charAt(0)},t.join=function(){var e=Array.prototype.slice.call(arguments,0);return t.normalize(r(e,function(e,t){if("string"!=typeof e)throw new TypeError("Arguments to path.join must be strings");return e}).join("/"))},t.relative=function(e,n){function r(e){for(var t=0;t<e.length&&""===e[t];t++);for(var n=e.length-1;n>=0&&""===e[n];n--);return t>n?[]:e.slice(t,n-t+1)}e=t.resolve(e).substr(1),n=t.resolve(n).substr(1);for(var i=r(e.split("/")),o=r(n.split("/")),a=Math.min(i.length,o.length),s=a,c=0;c<a;c++)if(i[c]!==o[c]){s=c;break}var u=[];for(c=s;c<i.length;c++)u.push("..");return(u=u.concat(o.slice(s))).join("/")},t.sep="/",t.delimiter=":",t.dirname=function(e){if("string"!=typeof e&&(e+=""),0===e.length)return".";for(var t=e.charCodeAt(0),n=47===t,r=-1,i=!0,o=e.length-1;o>=1;--o)if(47===(t=e.charCodeAt(o))){if(!i){r=o;break}}else i=!1;return-1===r?n?"/":".":n&&1===r?"/":e.slice(0,r)},t.basename=function(e,t){var n=function(e){"string"!=typeof e&&(e+="");var t,n=0,r=-1,i=!0;for(t=e.length-1;t>=0;--t)if(47===e.charCodeAt(t)){if(!i){n=t+1;break}}else-1===r&&(i=!1,r=t+1);return-1===r?"":e.slice(n,r)}(e);return t&&n.substr(-1*t.length)===t&&(n=n.substr(0,n.length-t.length)),n},t.extname=function(e){"string"!=typeof e&&(e+="");for(var t=-1,n=0,r=-1,i=!0,o=0,a=e.length-1;a>=0;--a){var s=e.charCodeAt(a);if(47!==s)-1===r&&(i=!1,r=a+1),46===s?-1===t?t=a:1!==o&&(o=1):-1!==t&&(o=-1);else if(!i){n=a+1;break}}return-1===t||-1===r||0===o||1===o&&t===r-1&&t===n+1?"":e.slice(t,r)};var i="b"==="ab".substr(-1)?function(e,t,n){return e.substr(t,n)}:function(e,t,n){return t<0&&(t=e.length+t),e.substr(t,n)}}).call(this,n(280))},function(e,t,n){"use strict";t.__esModule=!0,t.default=function(e,t){new o.default(t).stringify(e)};var r,i=n(819),o=(r=i)&&r.__esModule?r:{default:r};e.exports=t.default},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(1446)),i=o(n(814));function o(e){return e&&e.__esModule?e:{default:e}}e.exports=t.default},function(e,t,n){"use strict";t.__esModule=!0;var r,i=n(620);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},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(619)),o=a(n(624));function a(e){return e&&e.__esModule?e:{default:e}}var s=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,e.apply(this,arguments))}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),t.prototype.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,c=this.normalize(s,this.last),u=Array.isArray(c),l=0;for(c=u?c:c[Symbol.iterator]();;){var d;if(u){if(l>=c.length)break;d=c[l++]}else{if((l=c.next()).done)break;d=l.value}var f=d;this.nodes.push(f)}}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,c=this.normalize(s,this.first,"prepend").reverse(),u=c,l=Array.isArray(u),d=0;for(u=l?u:u[Symbol.iterator]();;){var f;if(l){if(d>=u.length)break;f=u[d++]}else{if((d=u.next()).done)break;f=d.value}var h=f;this.nodes.unshift(h)}for(var p in this.indexes)this.indexes[p]=this.indexes[p]+c.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 c=s;this.nodes.splice(e,0,c)}var u=void 0;for(var l in this.indexes)e<=(u=this.indexes[l])&&(this.indexes[l]=u+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 c=void 0;for(var u in this.indexes)e<(c=this.indexes[u])&&(this.indexes[u]=c+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=function e(t){return t.map(function(t){return t.nodes&&(t.nodes=e(t.nodes)),delete t.source,t})}(n(623)(e).nodes);else if(Array.isArray(e)){var a=e=e.slice(0),s=Array.isArray(a),c=0;for(a=s?a:a[Symbol.iterator]();;){var u;if(s){if(c>=a.length)break;u=a[c++]}else{if((c=a.next()).done)break;u=c.value}var l=u;l.parent&&l.parent.removeChild(l,"ignore")}}else if("root"===e.type){var d=e=e.nodes.slice(0),f=Array.isArray(d),h=0;for(d=f?d:d[Symbol.iterator]();;){var p;if(f){if(h>=d.length)break;p=d[h++]}else{if((h=d.next()).done)break;p=h.value}var m=p;m.parent&&m.parent.removeChild(m,"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(483))(e)]}else if(e.name){e=[new(n(482))(e)]}else{if(!e.text)throw new Error("Unknown node type in node creation");e=[new o.default(e)]}return 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})},t.prototype.rebuild=function(e,t){var r=this,a=void 0;if("root"===e.type){var s=n(626);a=new s}else if("atrule"===e.type){var c=n(482);a=new c}else if("rule"===e.type){var u=n(483);a=new u}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(620)).default);t.default=s,e.exports=t.default},function(e,t,n){"use strict";t.__esModule=!0;var r,i=n(625);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 c;if(a){if(s>=o.length)break;c=o[s++]}else{if((s=o.next()).done)break;c=s.value}c.raws.before=n.raws.before}}return i},t.prototype.toResult=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return new(n(822))(new(n(821)),this,e).stringify()},t}(((r=i)&&r.__esModule?r:{default:r}).default);t.default=o,e.exports=t.default},function(e,t,n){var r=n(389),i=n(132);e.exports="process"==r(i.process)},function(e,t,n){
/** @license ISC License (c) copyright 2016 original and current authors */
var r=n(217);e.exports=function(e){return!!e&&r("map",e)}},function(e,t,n){
/** @license ISC License (c) copyright 2016 original and current authors */
var r=n(281),i=n(836),o=n(573),a=n(170);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}},function(e,t){
/** @license ISC License (c) copyright 2017 original and current authors */
function n(e){return function(t,n){var r=e[n];return void 0!==r&&(t[n]=r),t}}function r(e,t){var r=Object.keys(t).reduce(n(t),{});return Object.keys(e).reduce(n(e),r)}e.exports={assign:r,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,n){var i;return r(((i={})[e]=t,i),n)},unset:function(e,t){return Object.keys(t).reduce(function(n,r){return void 0!==t[r]&&r!==e&&(n[r]=t[r]),n},{})}}},function(e,t,n){var r=n(1513);e.exports="function"==typeof Object.assign?Object.assign:r},function(e,t){e.exports=Number.isInteger||function(e){return e<<0===e}},function(e,t,n){var r=n(18),i=n(133),o=n(841),a=n(1536),s=n(30);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))}))},function(e,t,n){var r=n(492),i=n(18);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})},function(e,t,n){var r=n(58),i=n(174);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})},function(e,t){e.exports=
/** @license ISC License (c) copyright 2016 original and current authors */
function(e){return Array.isArray(e)}},function(e,t,n){
/** @license ISC License (c) copyright 2016 original and current authors */
var r=n(1669),i=n(250),o=n(870);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})},function(e,t){e.exports=
/** @license ISC License (c) copyright 2016 original and current authors */
function(e){return Array.isArray(e)}},function(e,t,n){
/** @license ISC License (c) copyright 2016 original and current authors */
var r=n(1715),i=n(251),o=n(885);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})},function(e,t,n){
/** @license ISC License (c) copyright 2016 original and current authors */
var r=n(1747),i=n(411);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}}},function(e,t,n){var r=n(337)(n(222),"Map");e.exports=r},function(e,t,n){var r=n(1786),i=n(1793),o=n(1795),a=n(1796),s=n(1797);function c(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])}}c.prototype.clear=r,c.prototype.delete=i,c.prototype.get=o,c.prototype.has=a,c.prototype.set=s,e.exports=c},function(e,t){var n=9007199254740991;e.exports=function(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=n}},function(e,t,n){var r=n(252),i=n(504),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)}},function(e,t){(function(t){e.exports=t}).call(this,{})},function(e,t){function n(t,r){return e.exports=n=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},e.exports.default=e.exports,e.exports.__esModule=!0,n(t,r)}e.exports=n,e.exports.default=e.exports,e.exports.__esModule=!0},function(e,t){e.exports={toUnsigned:function(e){return e>>>0},toHexString:function(e){return("00"+e.toString(16)).slice(-2)}}},function(e,t){e.exports=
/** @license ISC License (c) copyright 2016 original and current authors */
function(e){return Array.isArray(e)}},function(e,t,n){var r=n(650);e.exports=function(e){return function t(n){return 0===arguments.length||r(n)?t:e.apply(this,arguments)}}},function(e,t){e.exports=function(e){return null!=e&&"object"==typeof e&&!0===e["@@functional/placeholder"]}},function(e,t,n){var r=n(2039),i=n(418);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))}},function(e,t,n){var r=n(310)(n(254),"Map");e.exports=r},function(e,t,n){var r=n(2056),i=n(2063),o=n(2065),a=n(2066),s=n(2067);function c(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])}}c.prototype.clear=r,c.prototype.delete=i,c.prototype.get=o,c.prototype.has=a,c.prototype.set=s,e.exports=c},function(e,t){var n=9007199254740991;e.exports=function(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=n}},function(e,t,n){var r=n(1069),i=n(654);e.exports=function(e){return null!=e&&i(e.length)&&!r(e)}},function(e,t,n){var r=n(2102),i=n(2105),o=n(2116),a=n(255),s=n(2117);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)}},function(e,t,n){var r=n(255),i=n(517),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)}},function(e,t){e.exports=!1},function(e,t){e.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}},function(e,t,n){var r=n(2208),i=n(2160).concat("length","prototype");t.f=Object.getOwnPropertyNames||function(e){return r(e,i)}},function(e,t,n){var r=n(167),i=n(2211),o=n(2160),a=n(2212),s=n(2157),c=n(1204)("IE_PROTO"),u=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?(u.prototype=r(e),n=new u,u.prototype=null,n[c]=e):n=l(),void 0===t?n:i(n,t)},n(1084)[c]=!0},function(e,t,n){"use strict";var r=n(454),i=n(202),o=n(659);e.exports=function(e,t,n){var a=r(t);a in e?i.f(e,a,o(0,n)):e[a]=n}},function(e,t,n){var r=n(1083)("meta"),i=n(1091),o=n(158),a=n(244),s=n(202).f,c=0,u=Object.isExtensible||function(){return!0},l=function(e){s(e,r,{value:{objectID:"O"+ ++c,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(!u(e))return"F";if(!t)return"E";l(e)}return e[r].objectID},getWeakData:function(e,t){if(!a(e,r)){if(!u(e))return!0;if(!t)return!1;l(e)}return e[r].weakData},onFreeze:function(e){return i&&d.REQUIRED&&u(e)&&!a(e,r)&&l(e),e}};n(1084)[r]=!0},function(e,t,n){var r=n(1334),i=n(18);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})},function(e,t,n){"use strict";(function(e){var r=n(2),i=n.n(r);t.a=function(t){var n=t.title,r=void 0===n?"Export":n,o=t.desc,a=void 0===o?"An arrow pointing right":o,s=t.width,c=void 0===s?"16":s,u=t.height,l=void 0===u?"8":u,d=t.className,f=t.focusable,h=void 0===f?"false":f,p=t.decorative;return e.createElement("svg",{viewBox:"0 0 16 8",width:c,height:l,className:i()("i",d),focusable:h,"aria-hidden":p?"true":"false"},e.createElement("title",null,r),e.createElement("desc",null,a),e.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"}))}}).call(this,n(0))},function(e,t,n){"use strict";(function(e){var r=n(2),i=n.n(r);t.a=function(t){var n=t.title,r=void 0===n?"Bank":n,o=t.desc,a=void 0===o?"A building with four columns":o,s=t.width,c=void 0===s?"16":s,u=t.height,l=void 0===u?"16":u,d=t.className,f=t.focusable,h=void 0===f?"false":f;return e.createElement("svg",{viewBox:"0 0 16 16",width:c,height:l,className:i()("i i-bank",d),focusable:h},e.createElement("title",null,r),e.createElement("desc",null,a),e.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M3.625 7.98905V13.2473H5.375V7.98905H7.125V13.2473H8.875V7.98905H10.625V13.2473H12.375V7.98905H14.125V13.2473H15V15H1V13.2473H1.875V7.98905H3.625ZM7.65 1.06573C7.9125 0.978091 8.0875 0.978091 8.35 1.06573L14.475 3.69484C14.825 3.78247 15 4.13302 15 4.48357V6.23631C15 6.76213 14.65 7.11268 14.125 7.11268H1.875C1.35 7.11268 1 6.76213 1 6.23631V4.48357C1 4.13302 1.175 3.78247 1.525 3.69484L7.65 1.06573ZM8 3.6072C7.475 3.6072 7.125 3.95775 7.125 4.48357C7.125 5.00939 7.475 5.35994 8 5.35994C8.525 5.35994 8.875 5.00939 8.875 4.48357C8.875 3.95775 8.525 3.6072 8 3.6072Z"}))}}).call(this,n(0))},function(e,t,n){var r=n(18),i=n(133),o=n(1350),a=n(1352);e.exports=r(i([],a,o))},function(e,t,n){e.exports=n(1454)},function(e,t,n){var r=n(58);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})},function(e,t,n){var r=n(523),i=n(471);e.exports=function(){if(0===arguments.length)throw new Error("composeP requires at least one argument");return r.apply(this,i(arguments))}},function(e,t,n){var r=n(18),i=n(133),o=n(1556);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}}))},function(e,t,n){var r=n(18),i=n(493);e.exports=r(function(e,t){return i(function(e,t,n){return t},e,t)})},function(e,t,n){var r=n(18),i=n(493);e.exports=r(function(e,t){return i(function(e,t,n){return n},e,t)})},function(e,t,n){var r=n(51);e.exports=r(function(e){return-e})},function(e,t,n){var r=n(18),i=n(37),o=n(610);e.exports=r(function(e,t){return i(o(e.length,t),e)})},function(e,t,n){var r=n(18),i=n(54),o=n(528);e.exports=r(function(e,t){return i(o(e,t),o(t,e))})},function(e,t,n){var r=n(409);e.exports=r(0,"toUpperCase")},function(e,t,n){
/** @license ISC License (c) copyright 2016 original and current authors */
var r=n(1941),i=r.Nothing,o=r.Just,a=n(496),s=n(115),c=n(410);e.exports=s(function(e,t){if(!c(e))throw new TypeError("safe: Pred or predicate function required for first argument");return a(e,t)?o(t):i()})},function(e,t,n){"use strict";function r(e,t){return(r=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}n.d(t,"a",function(){return r})},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,"a",function(){return r})},function(e,t,n){"use strict";n.d(t,"a",function(){return u});var r=n(123),i=n.n(r),o=n(162),a=n.n(o),s=n(152),c=n.n(s);function u(e){if(void 0!==i.a&&null!=a()(e)||null!=e["@@iterator"])return c()(e)}},function(e,t,n){"use strict";t.a=function(e,t){return window.courseData?e(window.courseData):window.course?{course:e(window.course),media:[]}:t}},function(e,t,n){"use strict";n.d(t,"a",function(){return o});var r=n(540),i=n.n(r);function o(e){if(i()(e))return e}},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,"a",function(){return r})},function(e,t,n){"use strict";n.d(t,"a",function(){return j});var r=n(52),i=n.n(r),o=n(36),a=n.n(o),s=n(53),c=n.n(s),u=n(35),l=n.n(u),d=n(38),f=n.n(d),h=n(8),p=n(15),m=n.n(p),v=n(289),g=n.n(v),y=n(54),b=n.n(y),_=n(24),w=n.n(_),x=n(22),k=n(294);function E(e,t){var n=i()(e);if(a.a){var r=a()(e);t&&(r=c()(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?E(Object(n),!0).forEach(function(t){Object(h.a)(e,t,n[t])}):f.a?Object.defineProperties(e,f()(n)):E(Object(n)).forEach(function(t){Object.defineProperty(e,t,l()(n,t))})}return e}var T=Object(x.c)("RBC_URI"),C="".concat(T,"/api/partner_content"),O=("".concat(C,"/types"),b()("".concat(C,"/")),{transformRequest:[function(e,t){return t.Authorization="Bearer ".concat(Object(k.a)()),e}],headers:{"Content-Type":"application/json"}}),j=function(e){var t;return m()(t=Object(k.b)(S({method:"POST",url:C,data:g()({ids:e})},O))).call(t,w()(["data","content"]))}},function(e,t,n){e.exports=n(1734)},function(e,t,n){"use strict";n.d(t,"a",function(){return b});var r=n(368),i=n.n(r),o=n(7),a=n.n(o),s=n(54),c=n.n(s),u=n(23),l=n.n(u),d=n(46),f=n.n(d),h=n(347),p=n.n(h),m=n(114),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 Object(m.c)(r,c()(a),p.a)}},function(e,t,n){"use strict";n.d(t,"a",function(){return C});var r=n(4),i=n.n(r),o=n(136),a=n.n(o),s=n(15),c=n.n(s),u=n(7),l=n.n(u),d=n(54),f=n.n(d),h=n(48),p=n.n(h),m=n(186),v=n.n(m),g=n(82),y=n.n(g),b=n(30),_=n.n(b),w=(n(70),n(1115)),x=n.n(w),k=(n(1116),n(22)),E=(_()(p()(f.a)(":".concat("n3,n4,i4,n7,n9"))),l()(v()(","),y.a),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 x.a(t.name,{style:t.style,weight:t.weight}).load()},T=function(e){var t="url(".concat(Object(k.f)(e),") format('woff')");return("fonts"in document?E:S)(t,e)},C=function(e,t){var n,r=a.a.all(c()(e).call(e,T)),i=new a.a(function(e){n=setTimeout(e,5e3)});return a.a.race([r,i]).finally(function(){clearTimeout(n),t()})}},function(e,t,n){"use strict";var r=n(8),i=n(53),o=n.n(i),a=n(41),s=n.n(a),c=n(0),u=n.n(c),l=n(2),d=n.n(l),f=n(77),h=n(54),p=n.n(h),m=n(66),v=n.n(m),g=n(186),y=n.n(g),b=n(30),_=n.n(b),w=n(28),x=n.n(w),k=n(59),E=n(113),S=n(22),T=n(560),C=(n(1926),p()("partner-content-book-info__")),O={track:T.a};t.a=Object(f.b)(null,O)(function(e){var t=e.authors,n=e.backgroundColor,i=e.bookImage,a=e.bookTitle,l=e.buyLink,f=e.block,h=e.publishedAt,p=e.track,m=e.trackingInfo,g=o()(t).call(t,function(e){return!v()(e.name)}),b=_()(function(e){return e.name},g),w=b.length>1?y()(" & ",b):b[0],T="s"===s()(w).call(w,-1)?"":"s",O=Object(E.b)(n),j=d()(Object(r.a)({},C("book-image-block"),f&&!O),Object(r.a)({},C("book-image-block")&&C("dark-theme-book-image"),f&&O),Object(r.a)({},C("book-image-course"),!f)),A=C(f?"flex-block":"flex-course"),P=C(f?"image-container-block":"image-container-course"),M=d()(C("small-text"),Object(r.a)({},C("dark-theme"),O)),N=d()(C("black-text"),Object(r.a)({},C("dark-theme"),O)),L=d()(C("button"),Object(r.a)({},C("dark-theme-button"),O)),I=Object(k.f)({height:"210",width:"140",imageKey:i}),D=Object(c.useCallback)(function(){S.e&&h&&p({event:"Click Tracked",payload:x()(m,{type:"Buy Link"})})},[h,p,m]);return u.a.createElement("section",{className:A},u.a.createElement("h2",{className:"visually-hidden"},"Book Info"),u.a.createElement("div",{"aria-hidden":"true",className:P},i?u.a.createElement("img",{src:I,alt:"",className:j}):u.a.createElement("div",{className:j})),u.a.createElement("div",{className:C("text-container")},u.a.createElement("p",{className:M},"From ",w,"'",T),u.a.createElement("p",{className:N},a),u.a.createElement("a",{className:L,href:l,onClick:D,target:"_blank",rel:"noopener noreferrer"},"Buy the book")))})},function(e,t,n){"use strict";var r=n(8),i=n(0),o=n.n(i),a=n(2),s=n.n(a),c=n(54),u=n.n(c),l=n(28),d=n.n(l),f=n(77),h=n(59),p=n(113),m=n(22),v=n(560),g=(n(1927),u()("partner-content-partner-info__")),y={track:v.a};t.a=Object(f.b)(null,y)(function(e){var t=e.backgroundColor,n=e.block,a=e.link,c=e.publishedAt,u=e.track,l=e.trackingInfo,f=n?Object(h.d)():Object(h.e)(),v=g(n?"nbic-logo-light-bulb":"nbic-logo"),y=g(n?"block-logo-container":"logo-container"),b=Object(p.b)(t),_=s()(g("small-text"),Object(r.a)({},g("dark-theme"),b)),w=s()(g("black-text"),Object(r.a)({},g("dark-theme"),b)),x=s()(g("button"),Object(r.a)({},g("dark-theme-button"),b)),k=Object(i.useCallback)(function(){m.e&&c&&u({event:"Click Tracked",payload:d()(l,{type:"Partner Link"})})},[c,u,l]);return o.a.createElement("section",{className:g("flex")},o.a.createElement("h2",{className:"visually-hidden"},"Partner Info"),o.a.createElement("div",{"aria-hidden":"true",className:y},o.a.createElement("img",{src:f,alt:"",className:v})),o.a.createElement("div",{className:g("text-container")},o.a.createElement("p",{className:_},"In partnership with"),o.a.createElement("p",{className:w},"Next Big Idea Club"),o.a.createElement("a",{className:x,href:a,onClick:k,rel:"noopener noreferrer",target:"_blank"},"Learn more")))})},function(e,t,n){"use strict";n.d(t,"a",function(){return x}),n.d(t,"b",function(){return k});var r=n(52),i=n.n(r),o=n(36),a=n.n(o),s=n(53),c=n.n(s),u=n(35),l=n.n(u),d=n(38),f=n.n(d),h=(n(19),n(44)),p=n(8),m=n(0),v=n.n(m);function g(e,t){var n=i()(e);if(a.a){var r=a()(e);t&&(r=c()(r).call(r,function(t){return l()(e,t).enumerable})),n.push.apply(n,r)}return n}function y(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?g(Object(n),!0).forEach(function(t){Object(p.a)(e,t,n[t])}):f.a?Object.defineProperties(e,f()(n)):g(Object(n)).forEach(function(t){Object.defineProperty(e,t,l()(n,t))})}return e}var b=Object(m.createContext)();function _(e,t){var n=t.type,r=t.message;switch(n){case"polite":return y(y({},e),{},{politeMessage1:e.alternatePolite?r:"",politeMessage2:e.alternatePolite?"":r,alternatePolite:!e.alternatePolite});case"assertive":return y(y({},e),{},{assertiveMessage1:e.alternatePolite?r:"",assertiveMessage2:e.alternatePolite?"":r,alternateAssertive:!e.alternateAssertive});case"clear":default:return{politeMessage1:"",politeMessage2:"",alternatePolite:!1,assertiveMessage1:"",assertiveMessage2:"",alternateAssertive:!1}}}function w(e){var t=e.ariaLive,n=e.message;return v.a.createElement("div",{className:"visually-hidden-always",role:"log","aria-live":t,"aria-atomic":"true","aria-relevant":"additions"},n)}function x(e){var t=e.children,n=Object(m.useReducer)(_,{politeMessage1:"",politeMessage2:"",alternatePolite:!1,assertiveMessage1:"",assertiveMessage2:"",alternateAssertive:!1}),r=Object(h.a)(n,2),i=r[0],o=i.politeMessage1,a=i.politeMessage2,s=i.assertiveMessage1,c=i.assertiveMessage2,u=r[1],l=Object(m.useMemo)(function(){return{announcePolite:function(e){u({type:"polite",message:e})},announceAssertive:function(e){u({type:"assertive",message:e})},clearAnnouncements:function(){u({type:"clear"})}}},[u]);return v.a.createElement(b.Provider,{value:l},v.a.createElement(w,{id:"polite-announcer1",ariaLive:"polite",message:o}),v.a.createElement(w,{id:"polite-announcer2",ariaLive:"polite",message:a}),v.a.createElement(w,{id:"assertive-announcer1",ariaLive:"assertive",message:s}),v.a.createElement(w,{id:"assertive-announcer2",ariaLive:"assertive",message:c}),t)}function k(){return Object(m.useContext)(b)||{}}},function(e,t,n){"use strict";var r=n(0),i=n.n(r),o=n(2),a=n.n(o),s=n(32);n(1931);t.a=function(e){var t=e.bgType,n=e.text,r=e.iconType,o=void 0===r?"locked":r,c=a()("continue-hint",{"continue-hint--bg-transparent":"transparent"===t});return i.a.createElement("div",{className:c},i.a.createElement("div",{className:"continue-hint__content"},n),"locked"===o&&i.a.createElement(s.y,{"aria-label":"Closed padlock",className:"continue-hint__icon"}))}},function(e,t,n){"use strict";(function(e){n.d(t,"a",function(){return j});var r=n(3),i=n.n(r),o=n(19),a=n(9),s=n(10),c=n(6),u=n(11),l=n(13),d=n(5),f=(n(1950),n(2)),h=n.n(f),p=n(7),m=n.n(p),v=n(232),g=n.n(v),y=n(65),b=n.n(y),_=n(116),w=n.n(_),x=n(50),k=n.n(x),E=n(14),S=n.n(E),T=n(59),C=n(584);function O(e){var t=function(){if("undefined"==typeof Reflect||!i.a)return!1;if(i.a.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=Object(d.a)(e);if(t){var o=Object(d.a)(this).constructor;n=i()(r,arguments,o)}else n=r.apply(this,arguments);return Object(l.a)(this,n)}}var j=function(t){Object(u.a)(r,t);var n=O(r);function r(e){var t;return Object(a.a)(this,r),(t=n.call(this,e)).state={imageLoaded:!1},t.closeOpenedBubble=t.closeOpenedBubble.bind(Object(c.a)(t)),t.handleDocumentClick=t.handleDocumentClick.bind(Object(c.a)(t)),t.handleMarkerClick=t.handleMarkerClick.bind(Object(c.a)(t)),t.onItemSelected=t.onItemSelected.bind(Object(c.a)(t)),t.onNextClick=t.onNextClick.bind(Object(c.a)(t)),t.onPreviousClick=t.onPreviousClick.bind(Object(c.a)(t)),t.setImageLoaded=t.setImageLoaded.bind(Object(c.a)(t)),t}return Object(s.a)(r,[{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 t=this.state.imageLoaded,n=this.props,r=n.isPreview,i=n.items,a=n.parentId,s=n.settings,c=(void 0===s?{}:s).mediaWidth,u=void 0===c?"2":c,l=r?i[0].id:this.state.selectedItemId,d=h()("view-labeled-graphic",{"view-labeled-graphic--small":"0"===u,"view-labeled-graphic--medium":"1"===u,"view-labeled-graphic--full":"2"===u});return e.createElement("div",{"aria-label":"Labeled Graphic",className:d,role:"group"},e.createElement(C.a,Object(o.a)({},this.props,{canvasClassNames:this.getCanvasClassNames(),editable:!1,imageLoaded:t,markerDelay:1e3,onClose:this.closeOpenedBubble,onItemSelected:this.onItemSelected,onNextClick:this.onNextClick,onPreviousClick:this.onPreviousClick,parentId:a,selected:l})))}},{key:"setImageLoaded",value:function(){this.setState({imageLoaded:!0})}},{key:"loadImage",value:function(){var e=this,t=this.props.media.image,n=t.key,r=t.src,i=setTimeout(this.setImageLoaded,1e3),o=new Image,a=n?Object(T.a)(t):r;o.src=a,o.onload=function(){clearTimeout(i),e.setImageLoaded()}}},{key:"getCanvasClassNames",value:function(){return h()("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("page-wrap--noscroll")}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("page-wrap--noscroll")}this.setState({selectedItemId:void 0})}}],[{key:"defaultProps",get:function(){return{onItemSelected:Function.prototype,onStep:Function.prototype}}}]),r}(e.Component)}).call(this,n(0))},function(e,t,n){"use strict";(function(e){n.d(t,"a",function(){return Ke});var r=n(3),i=n.n(r),o=n(19),a=n(8),s=n(9),c=n(10),u=n(6),l=n(11),d=n(13),f=n(5),h=n(4),p=n.n(h),m=n(15),v=n.n(m),g=(n(1967),n(182)),y=n.n(g),b=n(16),_=n.n(b),w=n(237),x=n.n(w),k=n(27),E=n.n(k),S=n(153),T=n.n(S),C=n(2),O=n.n(C),j=n(100),A=n.n(j),P=n(7),M=n.n(P),N=n(33),L=n.n(N),I=n(86),D=n(37),R=n.n(D),B=n(89),F=n.n(B),U=n(65),q=n.n(U),z=n(163),H=n.n(z),V=n(429),W=n.n(V),Y=n(108),G=n.n(Y),K=n(76),$=n.n(K),X=n(43),Q=n.n(X),Z=n(80),J=n.n(Z),ee=n(66),te=n.n(ee),ne=n(31),re=n.n(ne),ie=n(30),oe=n.n(ie),ae=n(28),se=n.n(ae),ce=n(674),ue=n.n(ce),le=n(112),de=n.n(le),fe=n(145),he=n.n(fe),pe=n(23),me=n.n(pe),ve=n(92),ge=n.n(ve),ye=n(25),be=n.n(ye),_e=n(14),we=n.n(_e),xe=n(17),ke=n.n(xe),Ee=n(46),Se=n.n(Ee),Te=n(1),Ce=n.n(Te),Oe=n(107),je=n.n(Oe),Ae=n(64),Pe=n.n(Ae),Me=n(70),Ne=n.n(Me),Le=n(571),Ie=n(59),De=n(85),Re=n(32),Be=n(20),Fe=n(42),Ue=n(1175),qe=n(26);function ze(e){var t=function(){if("undefined"==typeof Reflect||!i.a)return!1;if(i.a.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=Object(f.a)(e);if(t){var o=Object(f.a)(this).constructor;n=i()(r,arguments,o)}else n=r.apply(this,arguments);return Object(d.a)(this,n)}}var He=function(e){return J()(re.a,Q.a,e)},Ve=A()(te.a),We=A()(re.a),Ye=T()(We,Ve),Ge=y()(je.a),Ke=function(t){Object(l.a)(r,t);var n=ze(r);function r(e){var t;Object(s.a)(this,r);return(t=n.call(this,e)).state=e.initialState||{activeScene:0,activeSlide:0,initiated:!1,prevScene:0,prevSlide:0,resizes:0,slides:[]},t.fetchCharacters=t.fetchCharacters.bind(Object(u.a)(t)),t.fetchCharacterPose=t.fetchCharacterPose.bind(Object(u.a)(t)),t.getCharacterPose=t.getCharacterPose.bind(Object(u.a)(t)),t.onClick=t.onClick.bind(Object(u.a)(t)),t.onFocus=t.onFocus.bind(Object(u.a)(t)),t.onInit=t.onInit.bind(Object(u.a)(t)),t.onResize=t.onResize.bind(Object(u.a)(t)),t.onResponseClick=t.onResponseClick.bind(Object(u.a)(t)),t.onTryAgainClick=t.onTryAgainClick.bind(Object(u.a)(t)),t.renderBackground=t.renderBackground.bind(Object(u.a)(t)),t.renderButton=t.renderButton.bind(Object(u.a)(t)),t.renderDetails=t.renderDetails.bind(Object(u.a)(t)),t.renderDialogues=t.renderDialogues.bind(Object(u.a)(t)),t.renderEnd=t.renderEnd.bind(Object(u.a)(t)),t.renderPose=t.renderPose.bind(Object(u.a)(t)),t.renderResponse=t.renderResponse.bind(Object(u.a)(t)),t.renderText=t.renderText.bind(Object(u.a)(t)),t.resetSlide=t.resetSlide.bind(Object(u.a)(t)),t.resetSlides=t.resetSlides.bind(Object(u.a)(t)),t.setNextSlide=t.setNextSlide.bind(Object(u.a)(t)),t}return Object(c.a)(r,[{key:"componentDidMount",value:function(){var e=this.props,t=e.initialState,n=e.items,r=M()(G()("poses"),Se()({},"character"),$.a);Ye(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=me()([],[i,"slides"],t),s=me()(null,[o,"goTo"],a),c=me()(null,[o,"type"],a);n&&("end"===s&&"text"===c||!s&&!c)&&W()(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=p()(n="".concat(e,".")).call(n,t),s=[a,"response"],c=[a,"hasFeedback"],u=me()(null,s,this.state.slides),l=me()(!1,c,this.state.slides),d=Se()("neutral","emotion",o),f=J()(_()(l),me()(d,["responses",u,"emotion"]),_()(d)),h=be()(me()(null,["poses",f(o)]),He(Ie.b));return{name:i.name,pose:h(i)}}},{key:"fetchCharacters",value:function(){var e=this.props,t=e.getCharacter,n=e.items,r=e.onItemUpdate,i=ge()(["id","name","poses","src"]);v()(n).call(n,function(e){var n,o=e.character,a=e.id;return Ye(o)&&t(o.id).then(function(e){return E()("poses",Object(Ue.a)(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=me()([],[n,"slides"],e),s=me()(!0,[r,"hasCharacter"],a);return We(i)&&de()(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,c=a.activeSlide,u=i[s].slides,l="dialogue"===Se()(null,"type",u[c]),d=s===i.length-1,f=c===u.length-1,h={activeSlide:c+1},p={activeScene:s+1,activeSlide:0},m={activeSlide:null},v=be()(Object(Le.b)(i),function(e){return{activeScene:e.scene,activeSlide:e.slide}}),g=L()([[_()(f&&d),_()(m)],[_()(f&&!d),_()(p)],[Pe.a,_()(h)]]),y=J()(_()(l),_()(m),_()({activeScene:0,activeSlide:0})),b=L()([[R()("slide"),he()(v,[t])],[R()("next"),g],[R()("end"),y]]);this.resetRef=setTimeout(this.resetSlide.bind(this,s,c),500),this.setState({prevScene:s,prevSlide:c}),this.setState(b(e),function(){return n.continueRef=setTimeout(n.setNextSlide,1300)}),"end"===e&&this.resetSlides(),"end"===e&&o&&W()(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,s=r.slides,c=p()(t="".concat(i,".")).call(t,o),u=E()("response",e),l=E()("hasFeedback",!0),d=F()(Object(a.a)({},"".concat(c),u)),f=F()(Object(a.a)({},"".concat(c),l)),h=M()(f,d);this.setState({slides:d(s)}),this.feedbackRef=setTimeout(function(){return n.setState({slides:h(s)})},1300)}},{key:"onTryAgainClick",value:function(){var e,t=this.state,n=t.activeScene,r=t.activeSlide,i=t.slides,o=p()(e="".concat(n,".")).call(e,r),s=x()({hasFeedback:null,response:null}),c=F()(Object(a.a)({},"".concat(o),s));this.setState({slides:c(i)})}},{key:"render",value:function(){var t,n=this.props,r=n.isPDF,i=n.items,o=n.menuOpen,a=this.state,s=a.activeScene,c=a.activeSlide,u=a.initiated,l=(i[s]||{}).slides,d=l&&l[c],f=M()(Ve,Se()({},"character"),$.a),h=M()(G()("poses"),Se()({},"character"),$.a),p=M()(Ne.a,me()({},["character","poses"])),m=M()(H.a,Ne.a,oe()(p)),g={"aria-label":"Scenario",className:O()("scenario-block",{"scenario-block--initiated":u,"scenario-block--mobile":De.a.isMobile,"scenario-block--sidebar-open":o,"scenario-block--loading":f(i)&&!h(i)}),ref:"scenario",role:"group",style:window.innerWidth<480?{height:window.innerHeight}:null,tabIndex:Be.a},y=be()($.a,me()(null,["background","media","image"]),He(Ie.a)),b=L()([[re.a,this.renderEnd],[ke()("type","dialogue"),this.renderDialogues],[ke()("type","text"),this.renderText],[Pe.a,_()(null)]]),w=d&&"text"===d.type&&!d.hasCharacter,x=O()("scenario-block__character",{"scenario-block__character--hidden":w});return e.createElement("div",null,e.createElement("div",g,e.createElement("div",{className:"scenario-block__spinner"}),e.createElement("div",{className:"scenario-block__background-wrapper"},Ye(i)&&v()(i).call(i,this.renderBackground)),e.createElement("img",{alt:"",onLoad:this.onInit,src:y(i)}),e.createElement("div",{className:"scenario-block__inner"},e.createElement("div",{className:x},h(i)&&v()(t=m(i)).call(t,this.renderPose)),e.createElement(I.d,null,Ye(i)&&b(d)))),r&&d&&this.renderDetails(d))}},{key:"renderBackground",value:function(t,n){var r=this.state.activeScene,i=t.id,o=me()(null,["background","media","image"],t),s={className:O()("scenario-block__background",Object(a.a)({},"scenario-block__background--active",r===n)),key:i,style:o&&{backgroundImage:"url(".concat(Object(Ie.a)(o),")")}};return o&&e.createElement("div",s)}},{key:"renderButton",value:function(t){var n=this.props.labels,r=n.scenarioContinue,i=n.scenarioTryAgain,a=t.action,s=t.goTo,c=t.nextSlide,u={appear:!0,classNames:"scenario-block__dialogue__button-",timeout:{enter:1e3,exit:400}},l="tryAgain"===a?e.createElement("span",null,i," ",e.createElement("i",{className:"icon icon-reload"})):e.createElement("span",null,r),d={className:"scenario-block__dialogue__button",key:"button",onClick:"tryAgain"===a?M()(this.onFocus,this.onTryAgainClick):M()(this.onFocus,he()(this.onClick,[s,c]))};return e.createElement(I.d,null,e.createElement(I.a,u,e.createElement("button",Object(o.a)({},d,{type:"button"}),l)))}},{key:"renderDetails",value:function(t){var n=this.props.items,r=this.state,i=r.activeScene,o=r.activeSlide,a=t.responses,s=t.type,c=function(t,n){return e.createElement("span",{key:t},t," ",e.createElement(Re.j,null)," ",n)},u=be()(Object(Le.b)(n),function(e){var t,n=e.scene,r=e.slide;return p()(t="Scene ".concat(n+1," Slide ")).call(t,r+1)}),l=function(e,t){var n=t.goTo,r=t.nextSlide;return L()([[R()("next"),he()(c,[e,"Next Slide"])],[R()("end"),he()(c,[e,"End of Scenario"])],[Pe.a,he()(c,[e,u(r||{})])]])(n)},d="text"===s?l("Continue",t):v()(a).call(a,function(e,t){return l(t,e)});return e.createElement("div",{className:"scenario-block__pdf-details"},e.createElement("h3",null,"Scene ",i+1," Slide ",o+1),d)}},{key:"renderDialogue",value:function(t,n,r){var i,o=n.description,s=n.id,c=n.type,u=t.count,l=t.firstKey,d=t.hasFeedback,f=0===r?s:r,h=1===r?l:r-1,p=0===r&&1===u,m=r===u,v=this.refs["dialogue-".concat(f)],g=m&&this.refs["dialogue-".concat(h)],y=v&&v.offsetHeight,b=m&&g&&g.offsetHeight,w=d?30:0,x=window.innerWidth<480?20:30,k=2*x+60+b-w,E=x+60-w,S=ue()(y+w-60),T=O()("scenario-block__dialogue",(i={},Object(a.a)(i,"scenario-block__dialogue--response",re()(c)),Object(a.a)(i,"scenario-block__dialogue--faded",r<u-1),i)),C=L()([[_()(p),_()(null)],[R()(u),_()({top:"".concat(k,"px")})],[R()(u-1),_()({top:"".concat(E,"px")})],[R()(u-2),_()({top:"".concat(S,"px")})],[Pe.a,_()({top:"-".concat(y+30,"px")})]]),j={className:T,ref:"dialogue-".concat(f),style:C(r)},A={appear:!0,classNames:"scenario-block__dialogue-",key:r,timeout:{enter:700,exit:400}},P=e.createElement("div",{className:"scenario-block__dialogue__bubble brand--body"},e.createElement(Fe.a,{value:o}));return e.createElement(I.a,A,e.createElement("div",null,e.createElement("div",j,Ye(o)&&P)))}},{key:"renderDialogues",value:function(t){var n,r=this.state,i=r.activeScene,o=r.activeSlide,a=r.slides,s=t.id,c=t.responses,u=a[p()(n="".concat(i,".")).call(n,o)]||{},l=M()(H.a,Le.a,se()(u))(t),d=u.hasFeedback,f=u.response,h=(c[f]||{}).feedback,m=re()(f)&&Ve(c),g=d?l.length-1:l.length,y=(1===g&&te()(c)||2===g&&Ve(c))&&d,b={count:g,firstKey:me()(null,[0,"id"],l),hasFeedback:d&&Ye(h)},_={classNames:"scenario-block__content-",key:s,timeout:400},w=e.createElement("div",{className:"scenario-block__dialogues__bottom"},e.createElement("div",{className:"scenario-block__dialogues__bottom__inner"},e.createElement("div",{className:"scenario-block__dialogues__responses"},e.createElement(I.d,null,v()(c).call(c,this.renderResponse)))));return e.createElement(I.a,_,e.createElement("div",{className:"scenario-block__dialogues scenario-block__content"},e.createElement("div",{className:"scenario-block__dialogues__inner"},e.createElement("div",{className:"scenario-block__dialogues__top"},e.createElement("div",{className:"scenario-block__dialogues__top__inner"},e.createElement(I.d,null,v()(l).call(l,this.renderDialogue.bind(this,b))))),m&&w,y&&this.renderButton(l[g-1]))))}},{key:"renderEnd",value:function(){var t=this.props.labels,n=t.scenarioComplete,r=t.scenarioStartOver,i=M()(this.onFocus,he()(this.onClick,["end",null])),o=O()(["scenario-block__text","scenario-block__text--end","scenario-block__content"]),a={classNames:"scenario-block__content-",key:"end",timeout:400},s={className:"scenario-block__text__end",onClick:i,onKeyDown:Object(qe.a)(i),role:"button",tabIndex:Be.a};return e.createElement(I.a,a,e.createElement("div",{className:o,key:"end"},e.createElement("div",{className:"scenario-block__text__inner"},e.createElement("div",{className:"scenario-block__text__title brand--head"},e.createElement("h2",null,n)),e.createElement("div",s,e.createElement("span",null,r),e.createElement("i",{className:"icon icon-reload"})))))}},{key:"renderPose",value:function(t){var n,r=this.getCharacterPose().pose,i=t.filters,o=t.id,a=t&&Object(Ie.b)(t),s=T()(ke()("name","style")),c=s(ke()("value","left_aligned")),u=s(ke()("value","right_aligned")),l=O()("scenario-block__character__inner",{"scenario-block__character__inner--active":r===a,"scenario-block__character__inner--right":q()(u,i),"scenario-block__character__inner--left":q()(c,i)});return e.createElement("div",{className:l,key:p()(n="".concat(o,"-")).call(n,Math.random())},e.createElement("img",{alt:"",role:"img",src:a}))}},{key:"renderResponse",value:function(t,n){var r=t.description,i=this.props.isPDF?_()():M()(this.onFocus,he()(this.onResponseClick,[n])),o={className:O()(["scenario-block__response","scenario-block__response--".concat(n),"brand--body"]),onClick:i,onKeyDown:Object(qe.a)(i),role:"button",tabIndex:Be.a},a={appear:!0,classNames:"scenario-block__response-",key:n,timeout:{enter:1600,exit:400}};return e.createElement(I.a,a,e.createElement("div",o,e.createElement("div",{className:"scenario-block__response__inner"},e.createElement("div",{className:"scenario-block__response__number"},n+1),e.createElement(Fe.a,{value:r}))))}},{key:"renderText",value:function(t){var n=t.description,r=t.goTo,i=t.hasCharacter,a=t.id,s=t.nextSlide,c=t.title,u=this.props.labels,l=u.scenarioContinue,d=u.scenarioStartOver,f=!n&&(c||"").length<22,h=O()("scenario-block__text","scenario-block__content",{"scenario-block__text--no-character":!i,"scenario-block__text--short":f}),p={classNames:"scenario-block__content-",key:a,timeout:400},m=e.createElement("div",{className:"scenario-block__text__title brand--head"},e.createElement("h2",null,e.createElement(Fe.a,{value:c}))),v=e.createElement("div",{className:"scenario-block__text__description brand--body"},e.createElement(Fe.a,{value:n})),g=M()(this.onFocus,he()(this.onClick,[r,s])),y={className:"scenario-block__text__continue brand--background",onClick:g,onKeyDown:Object(qe.a)(g),role:"button",tabIndex:Be.a},b={className:"scenario-block__text__end",onClick:g,onKeyDown:Object(qe.a)(g),role:"button",tabIndex:Be.a},_=e.createElement("button",Object(o.a)({},y,{type:"button"}),e.createElement("span",null,l)),w=e.createElement("div",b,e.createElement("span",null,d),e.createElement("i",{className:"icon icon-reload"}));return e.createElement(I.a,p,e.createElement("div",{className:h,key:a},e.createElement("div",{className:"scenario-block__text__inner"},c&&m,n&&v,"end"===r?w:_)))}},{key:"resetSlide",value:function(e,t){var n,r=this.state.slides,i=p()(n="".concat(e,".")).call(n,t);this.setState({slides:E()(i,{hasFeedback:!1,response:null},r)})}},{key:"resetSlides",value:function(){var e=this.props.items;this.setState({slides:Ge(function(e,t,n){return be()(we()("slides"),Ge((r=n,function(e,t,n){var i;return E()(p()(i="".concat(r,".")).call(i,n),{hasFeedback:!1,response:null},e)}),{}),x()(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,s=t[r].slides[i]||{},c=s.responses,u=void 0===c?[]:c,l=s.type,d=p()(e="".concat(r,".")).call(e,i),f=E()("hasFeedback",!0),h=F()(Object(a.a)({},d,f));"dialogue"===l&&te()(u)&&this.setState({slides:h(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:Ce.a.array.isRequired,labels:Ce.a.object.isRequired,menuOpen:Ce.a.bool,onItemUpdate:Ce.a.func,onStep:Ce.a.func}}}]),r}(e.Component)}).call(this,n(0))},function(e,t,n){"use strict";(function(e){n.d(t,"a",function(){return q});var r=n(3),i=n.n(r),o=n(9),a=n(10),s=n(11),c=n(13),u=n(5),l=(n(1969),n(182)),d=n.n(l),f=n(2),h=n.n(f),p=n(49),m=n.n(p),v=n(65),g=n.n(v),y=n(30),b=n.n(y),_=n(28),w=n.n(_),x=n(112),k=n.n(x),E=n(23),S=n.n(E),T=n(25),C=n.n(T),O=n(14),j=n.n(O),A=n(17),P=n.n(A),M=n(292),N=n.n(M),L=n(1177),I=n(1178),D=n(20);function R(e){var t=function(){if("undefined"==typeof Reflect||!i.a)return!1;if(i.a.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=Object(u.a)(e);if(t){var o=Object(u.a)(this).constructor;n=i()(r,arguments,o)}else n=r.apply(this,arguments);return Object(c.a)(this,n)}}var B=n(61).b.blocks,F=d()(b.a),U=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)},q=function(t){Object(s.a)(r,t);var n=R(r);function r(e){var t;return Object(o.a)(this,r),(t=n.call(this,e)).state={items:N()(e.items)},t.pileRefs=[],t}return Object(a.a)(r,[{key:"componentWillReceiveProps",value:function(e){if(j()("retryAttempts",this.props.progress)!==j()("retryAttempts",e.progress))this.setState({items:N()(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 t,n=this,r=this.state.items,i=this.props,o=i.hasDarkBackground,a=i.id,s=i.labels,c=i.progress,u=i.onCardDrop,l=i.onReplay,d=i.piles,f=s.sortingLandmark,p=U({items:r,progress:c});return e.createElement("div",{"aria-label":f,className:(t=o,h()("sorting",{"sorting-dark-theme":t})),"data-ba":B.blockSortingActivity,role:"group"},e.createElement("div",{className:"sorting__row"},e.createElement(L.a,{count:r.length,id:a,items:p,labels:s,onReplay:l,progress:c,ref:function(e){n.deck=e}})),e.createElement("div",{className:"sorting__row"},F(function(t,r){return e.createElement(I.a,{deckTopCard:p&&p[0],id:t.id,key:t.id,lessonId:a,onCardDrop:u,onNavigateToNext:function(){return Object(D.e)({list:n.pileRefs,currentIndex:r})},onNavigateToPrevious:function(){return Object(D.f)({list:n.pileRefs,currentIndex:r})},ref:function(e){n.pileRefs[r]=e},title:t.title,onKeyDropStart:function(){n.deck.startKeyDrop()},onKeyDropEnd:function(){n.deck.endKeyDrop()}})},d)))}}]),r}(e.Component)}).call(this,n(0))},function(e,t,n){"use strict";(function(e){n.d(t,"a",function(){return O});var r=n(3),i=n.n(r),o=n(9),a=n(10),s=n(6),c=n(11),u=n(13),l=n(5),d=n(15),f=n.n(d),h=(n(1975),n(2)),p=n.n(h),m=n(37),v=n.n(m),g=n(224),y=n.n(g),b=n(14),_=n.n(b),w=n(1),x=n.n(w),k=n(447),E=n(697),S=n(55);function T(e){var t=function(){if("undefined"==typeof Reflect||!i.a)return!1;if(i.a.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=Object(l.a)(e);if(t){var o=Object(l.a)(this).constructor;n=i()(r,arguments,o)}else n=r.apply(this,arguments);return Object(u.a)(this,n)}}var C=n(61).b.blocks,O=function(t){Object(c.a)(r,t);var n=T(r);function r(e){var t;return Object(o.a)(this,r),(t=n.call(this,e)).renderCard=t.renderCard.bind(Object(s.a)(t)),t}return Object(a.a)(r,[{key:"onEnterMarker",value:function(e,t,n){var r=n.previousPosition,i=this.props,o=i.id,a=i.onEnter;r===k.a.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,c=e-1;if(n===k.a.below&&r===k.a.inside&&c>-1){var u=y()(c,a);u&&s({id:o,payload:{activeIndex:c,itemId:u.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(t,n){var r=this.props,i=r.enableVideoPlaybackSpeed,o=r.id,a=r.isBlock,s=r.isLearner,c=r.labels,u=this.onFocus.bind(this,n,t.id),l=e.createElement(E.a,{enableVideoPlaybackSpeed:i,isActive:this.isActive(n),item:t,key:n,labels:c,loadMedia:!0,onFocus:u,lessonNumber:o});return a&&s?e.createElement(S.a,{animateBlockEntrance:!0,animateIn:"fadeIn",className:"timeline__animate",key:n,isLearner:!0},l):a&&!s?l:e.createElement(k.a,{bottomOffset:"60%",key:n,onEnter:this.onEnterMarker.bind(this,n,t.id),onLeave:this.onMarkerLeave.bind(this,n),topOffset:"30%"},l)}},{key:"render",value:function(){var t=this.props,n=t.hasDarkBackground,r=t.isBlock,i=t.items,o=t.labels.timelineLandmark,a=p()("page__content-container",{timeline__block:r,"timeline-dark-theme":n});return e.createElement("div",{"aria-label":o,className:a,"data-ba":C.blockTimeline,role:"group"},e.createElement("div",{className:"timeline__wrapper"},e.createElement("div",{className:"timeline"},e.createElement("div",{className:"timeline__container"},f()(i).call(i,this.renderCard)))))}}],[{key:"defaultProps",get:function(){return{onEnter:Function.prototype,onLeave:Function.prototype,progress:{}}}},{key:"propTypes",get:function(){return{enableVideoPlaybackSpeed:x.a.bool,id:x.a.any.isRequired,isBlock:x.a.bool,isLearner:x.a.bool,items:x.a.array.isRequired,labels:x.a.object.isRequired,onEnter:x.a.func.isRequired,onLeave:x.a.func.isRequired,progress:x.a.object.isRequired}}}]),r}(e.Component)}).call(this,n(0))},function(e,t,n){"use strict";(function(e){n.d(t,"a",function(){return j});var r=n(3),i=n.n(r),o=n(9),a=n(10),s=n(11),c=n(13),u=n(5),l=(n(1978),n(27)),d=n.n(l),f=n(2),h=n.n(f),p=n(117),m=n.n(p),v=n(92),g=n.n(v),y=n(46),b=n.n(y),_=n(1),w=n.n(_),x=n(20),k=n(239),E=n(103),S=n(1180),T=n(42),C=n(180);function O(e){var t=function(){if("undefined"==typeof Reflect||!i.a)return!1;if(i.a.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=Object(u.a)(e);if(t){var o=Object(u.a)(this).constructor;n=i()(r,arguments,o)}else n=r.apply(this,arguments);return Object(c.a)(this,n)}}var j=function(t){Object(s.a)(r,t);var n=O(r);function r(){return Object(o.a)(this,r),n.apply(this,arguments)}return Object(a.a)(r,[{key:"renderMedia",value:function(t,n){if(Object(S.a)(t)){var r=t.embed?Object(k.b)(t.embed):void 0,i=h()({"timeline-card__audio":t.audio,"timeline-card__visual":t.image||t.video,"timeline-card__linkEmbed":"link"===r,"timeline-card__videoEmbed":"video"===r}),o=m()(d()("pause",!0),t);return e.createElement("div",{className:i},e.createElement(C.a,{enableVideoPlaybackSpeed:this.props.enableVideoPlaybackSpeed,index:"".concat(this.props.item.id),labels:this.props.labels,opts:n,media:o,lessonNumber:this.props.lessonNumber}))}}},{key:"render",value:function(){var t=this.props,n=t.item,r=t.isActive,i=t.labels,o=t.loadMedia,a=t.onFocus,s=n.id,c=n.settings,u=b()({},"media",n),l=g()(["audio"],u),d=g()(["embed"],u),f=g()(["image","video"],u),p=h()("timeline-card",{"timeline-card--active":r});return e.createElement("div",{className:p,"data-id":s,ref:this.props.innerRef},e.createElement("div",{"aria-label":A(n,i),className:"timeline-card__body brand--beforeBackground",onFocus:a,role:E.b,tabIndex:x.a},e.createElement("div",{className:"timeline-card__main-wrap"},e.createElement("div",{className:"timeline-card__main"},e.createElement("div",{className:"timeline-card__date brand--color brand--body"},e.createElement("h2",null,n.date)),e.createElement("div",{className:"timeline-card__title brand--head"},e.createElement("h3",null,e.createElement(T.a,{value:n.title}))),o?this.renderMedia(l,c):null,o?this.renderMedia(d,c):null,e.createElement(T.a,{className:"timeline-card__description brand--body brand--linkColor",value:n.description}),o?this.renderMedia(f):null))))}}],[{key:"propTypes",get:function(){return{enableVideoPlaybackSpeed:w.a.bool,isActive:w.a.bool.isRequired,item:w.a.object.isRequired,labels:w.a.object.isRequired,loadMedia:w.a.bool.isRequired,onFocus:w.a.func.isRequired}}}]),r}(e.Component),A=function(e,t){var n=t.timelineCardGroupPrefix;return e.title||e.date?n+" - "+(e.date||e.title):n}}).call(this,n(0))},function(e,t,n){var r=n(283),i=/[\\^$.*+?()[\]{}|]/g,o=RegExp(i.source);e.exports=function(e){return(e=r(e))&&o.test(e)?e.replace(i,"\\$&"):e}},function(e,t,n){"use strict";n.d(t,"a",function(){return m});var r=n(3),i=n.n(r),o=n(9),a=n(10),s=n(11),c=n(13),u=n(5),l=n(0),d=n.n(l),f=n(1),h=n.n(f);function p(e){var t=function(){if("undefined"==typeof Reflect||!i.a)return!1;if(i.a.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=Object(u.a)(e);if(t){var o=Object(u.a)(this).constructor;n=i()(r,arguments,o)}else n=r.apply(this,arguments);return Object(c.a)(this,n)}}var m=function(e){Object(s.a)(n,e);var t=p(n);function n(){return Object(o.a)(this,n),t.apply(this,arguments)}return Object(a.a)(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 d.a.createElement("div",{className:t||n,style:{backgroundColor:this.getColor()}})}}],[{key:"propTypes",get:function(){return{alpha:h.a.number,classes:h.a.string,isPreview:h.a.bool,isSidebar:h.a.bool}}}]),n}(l.Component)},function(e,t,n){"use strict";n.d(t,"b",function(){return z});var r,i=n(8),o=n(206),a=n.n(o),s=n(16),c=n.n(s),u=n(139),l=n.n(u),d=n(27),f=n.n(d),h=n(100),p=n.n(h),m=n(54),v=n.n(m),g=n(48),y=n.n(g),b=n(108),_=n.n(b),w=n(423),x=n.n(w),k=n(25),E=n.n(k),S=n(14),T=n.n(S),C=n(39),O=n.n(C),j=n(181),A=n(205),P=n.n(A),M=n(430),N=n.n(M),L=P()(2,function(e){return N()(Object(j.error)(e),Object(j.action)(e))}),I=n(208),D=v()("rise/learningPathUpNext/"),R=D("FETCH_LP_UP_NEXT"),B=D("FETCH_LP_UP_NEXT_PENDING"),F=p()(_()("id")),U=y()(l()({nextCourse:O()(F,c()({})),learningPathComplete:F,lpHasFailedQuiz:T()("lpHasFailedQuiz"),isPending:!1,isSuccess:!0})),q=f()("isPending",!0),z=(t.a=Object(j.handle)({nextCourse:{},learningPathComplete:!1,isPending:!1,isSuccess:!1},(r={},Object(i.a)(r,R,Object(j.onSuccess)(U)),Object(i.a)(r,B,q),r)),x()([Object(j.action)(B),E()(a.a.fromPromise(I.e),L(R))]))},function(e,t,n){var r,i;
/*! @preserve
 * numeral.js
 * version : 2.0.6
 * author : Adam Draper
 * license : MIT
 * http://adamwdraper.github.com/Numeral-js/
 */void 0===(i="function"==typeof(r=function(){var e,t,n,r,i,o={},a={},s={currentLocale:"en",zeroFormat:null,nullFormat:null,defaultFormat:"0,0",scalePercentBy100:!0},c={currentLocale:s.currentLocale,zeroFormat:s.zeroFormat,nullFormat:s.nullFormat,defaultFormat:s.defaultFormat,scalePercentBy100:s.scalePercentBy100};function u(e,t){this._input=e,this._value=t}return(e=function(n){var r,i,a,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 o)if((s="function"==typeof o[i].regexps.unformat?o[i].regexps.unformat():o[i].regexps.unformat)&&n.match(s)){a=o[i].unformat;break}r=(a=a||e._.stringToNumber)(n)}else r=Number(n)||null;return new u(n,r)}).version="2.0.6",e.isNumeral=function(e){return e instanceof u},e._=t={numberToFormat:function(t,n,r){var i,o,s,c,u,l,d,f,h=a[e.options.currentLocale],p=!1,m=!1,v="",g="",y=!1;if(t=t||0,s=Math.abs(t),e._.includes(n,"(")?(p=!0,n=n.replace(/[\(|\)]/g,"")):(e._.includes(n,"+")||e._.includes(n,"-"))&&(l=e._.includes(n,"+")?n.indexOf("+"):t<0?n.indexOf("-"):-1,n=n.replace(/[\+|\-]/g,"")),e._.includes(n,"a")&&(o=!!(o=n.match(/a(k|m|b|t)?/))&&o[1],e._.includes(n," a")&&(v=" "),n=n.replace(new RegExp(v+"a[kmbt]?"),""),s>=1e12&&!o||"t"===o?(v+=h.abbreviations.trillion,t/=1e12):s<1e12&&s>=1e9&&!o||"b"===o?(v+=h.abbreviations.billion,t/=1e9):s<1e9&&s>=1e6&&!o||"m"===o?(v+=h.abbreviations.million,t/=1e6):(s<1e6&&s>=1e3&&!o||"k"===o)&&(v+=h.abbreviations.thousand,t/=1e3)),e._.includes(n,"[.]")&&(m=!0,n=n.replace("[.]",".")),c=t.toString().split(".")[0],u=n.split(".")[1],d=n.indexOf(","),i=(n.split(".")[0].split(",")[0].match(/0/g)||[]).length,u?(e._.includes(u,"[")?(u=(u=u.replace("]","")).split("["),g=e._.toFixed(t,u[0].length+u[1].length,r,u[1].length)):g=e._.toFixed(t,u.length,r),c=g.split(".")[0],g=e._.includes(g,".")?h.delimiters.decimal+g.split(".")[1]:"",m&&0===Number(g.slice(1))&&(g="")):c=e._.toFixed(t,0,r),v&&!o&&Number(c)>=1e3&&v!==h.abbreviations.trillion)switch(c=String(Number(c)/1e3),v){case h.abbreviations.thousand:v=h.abbreviations.million;break;case h.abbreviations.million:v=h.abbreviations.billion;break;case h.abbreviations.billion:v=h.abbreviations.trillion}if(e._.includes(c,"-")&&(c=c.slice(1),y=!0),c.length<i)for(var b=i-c.length;b>0;b--)c="0"+c;return d>-1&&(c=c.toString().replace(/(\d)(?=(\d{3})+(?!\d))/g,"$1"+h.delimiters.thousands)),0===n.indexOf(".")&&(c=""),f=c+g+(v||""),p?f=(p&&y?"(":"")+f+(p&&y?")":""):l>=0?f=0===l?(y?"-":"+")+f:f+(y?"-":"+"):y&&(f="-"+f),f},stringToNumber:function(e){var t,n,r,i=a[c.currentLocale],o=e,s={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,".")),s)if(r=new RegExp("[^a-zA-Z]"+i.abbreviations[t]+"(?:\\)|(\\"+i.currency.symbol+")?(?:\\))?)?$"),o.match(r)){n*=Math.pow(10,s[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,c=e.toString().split("."),u=t-(r||0);return i=2===c.length?Math.min(Math.max(c[1].length,u),t):u,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=o,e.locales=a,e.locale=function(e){return e&&(c.currentLocale=e.toLowerCase()),c.currentLocale},e.localeData=function(e){if(!e)return a[c.currentLocale];if(e=e.toLowerCase(),!a[e])throw new Error("Unknown locale : "+e);return a[e]},e.reset=function(){for(var e in s)c[e]=s[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,c,u,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{u=e.localeData(n)}catch(t){u=e.localeData(e.locale())}return o=u.currency.symbol,s=u.abbreviations,r=u.delimiters.decimal,i="."===u.delimiters.thousands?"\\.":u.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)||(c=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(c):1===a[0].length?!a[0].match(/^\d+$/)||a[0].match(c)||!a[1].match(/^\d+$/):!a[0].match(/^\d+.*\d$/)||a[0].match(c)||!a[1].match(/^\d+$/))))},e.fn=u.prototype={clone:function(){return e(this)},format:function(t,n){var r,i,a,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 o)if(u.match(o[r].regexps.format)){a=o[r].format;break}i=(a=a||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);return this._value=t.reduce([this._value,e],function(e,t,r,i){return e+Math.round(n*t)},0)/n,this},subtract:function(e){var n=t.correctionFactor.call(null,this._value,e);return this._value=t.reduce([e],function(e,t,r,i){return e-Math.round(n*t)},Math.round(this._value*n))/n,this},multiply:function(e){return this._value=t.reduce([this._value,e],function(e,n,r,i){var o=t.correctionFactor(e,n);return Math.round(e*o)*Math.round(n*o)/Math.round(o*o)},1),this},divide:function(e){return this._value=t.reduce([this._value,e],function(e,n,r,i){var o=t.correctionFactor(e,n);return Math.round(e*o)/Math.round(n*o)}),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,c,u=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<=u.suffixes.length;a++)if(s=Math.pow(u.base,a),c=Math.pow(u.base,a+1),null===t||0===t||t>=s&&t<c){l+=u.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]);return i=e._.includes(t,"e-")?i*=-1:i,e._.reduce([r,Math.pow(10,i)],function(t,n,r,i){var o=e._.correctionFactor(t,n);return t*o*(n*o)/(o*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})?r.call(t,n,t,e):r)||(e.exports=i)},function(e,t){e.exports=function(e){return e}},function(e,t,n){e.exports=n(1522)},function(e,t,n){var r,i,o;
/** @license
 * eventsource.js
 * Available under MIT License (MIT)
 * https://github.com/Yaffle/EventSource/
 */
/** @license
 * eventsource.js
 * Available under MIT License (MIT)
 * https://github.com/Yaffle/EventSource/
 */
!function(n){"use strict";var a=n.setTimeout,s=n.clearTimeout,c=n.XMLHttpRequest,u=n.XDomainRequest,l=n.ActiveXObject,d=n.EventSource,f=n.document,h=n.Promise,p=n.fetch,m=n.Response,v=n.TextDecoder,g=n.TextEncoder,y=n.AbortController;if("undefined"==typeof window||"readyState"in f||null!=f.body||(f.readyState="loading",window.addEventListener("load",function(e){f.readyState="complete"},!1)),null==c&&(c=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=p;p=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="",i=this.bitsNeeded,o=this.codePoint,a=0;a<e.length;a+=1){var s=e[a];0!==i&&(s<128||s>191||!t(o<<6|63&s,i-6,n(i,o)))&&(i=0,o=65533,r+=String.fromCharCode(o)),0===i?(s>=0&&s<=127?(i=0,o=s):s>=192&&s<=223?(i=6,o=31&s):s>=224&&s<=239?(i=12,o=15&s):s>=240&&s<=247?(i=18,o=7&s):(i=0,o=65533),0===i||t(o,i,n(i,o))||(i=0,o=65533)):(i-=6,o=o<<6|63&s),0===i&&(o<=65535?r+=String.fromCharCode(o):(r+=String.fromCharCode(55296+(o-65535-1>>10)),r+=String.fromCharCode(56320+(o-65535-1&1023))))}return this.bitsNeeded=i,this.codePoint=o,r};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 x(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 E(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 O(){this._listeners=Object.create(null)}function j(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 M(e,t){A.call(this,e),this.status=t.status,this.statusText=t.statusText,this.headers=t.headers}function N(e,t){A.call(this,e),this.error=t.error}x.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 u=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(u(),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&&u())}(e)}),!("contentType"in r)&&"ontimeout"in c.prototype||(t+=(-1===t.indexOf("?")?"?":"&")+"padding=true"),r.open(e,t,!0),"readyState"in r&&(o=a(function(){f()},0))},x.prototype.abort=function(){this._abort(!1)},x.prototype.getResponseHeader=function(e){return this._contentType},x.prototype.setRequestHeader=function(e,t){var n=this._xhr;"setRequestHeader"in n&&n.setRequestHeader(e,t)},x.prototype.getAllResponseHeaders=function(){return null!=this._xhr.getAllResponseHeaders&&this._xhr.getAllResponseHeaders()||""},x.prototype.send=function(){if("ontimeout"in c.prototype&&("sendAsBinary"in c.prototype||"mozAnon"in c.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)}},E.prototype.get=function(e){return this._map[k(e)]},null!=c&&null==c.HEADERS_RECEIVED&&(c.HEADERS_RECEIVED=2),S.prototype.open=function(e,t,n,r,i,o,a){e.open("GET",i);var s=0;for(var u 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===c.HEADERS_RECEIVED){var n=e.status,r=e.statusText,i=e.getResponseHeader("Content-Type"),o=e.getAllResponseHeaders();t(n,r,i,new E(o))}},e.withCredentials=o,a)Object.prototype.hasOwnProperty.call(a,u)&&e.setRequestHeader(u,a[u]);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,c=new y,u=c.signal,l=new v;return p(i,{headers:a,credentials:o?"include":"same-origin",signal:u,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 h(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(),c.abort()}}},O.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){j(e)}}},O.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)},O.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),M.prototype=Object.create(A.prototype),N.prototype=Object.create(A.prototype);var L=-1,I=0,D=1,R=2,B=-1,F=0,U=1,q=2,z=3,H=/^text\/event\-stream;?(\s*charset\=utf\-8)?$/i,V=function(e,t){var n=null==e?t:parseInt(e,10);return n!=n&&(n=t),W(n)},W=function(e){return Math.min(Math.max(e,1e3),18e6)},Y=function(e,t,n){try{"function"==typeof t&&t.call(e,n)}catch(e){j(e)}};function G(e,t){O.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=W(1e3),o=V(n.heartbeatTimeout,45e3),l="",d=i,f=!1,h=0,p=n.headers||{},m=n.Transport,v=K&&null==m?void 0:new x(null!=m?new m:null!=c&&"withCredentials"in c.prototype||null==u?new c:new u),g=null!=m&&"string"!=typeof m?new m:null==v?new C:new S,y=void 0,b=0,_=L,w="",k="",E="",T="",O=F,j=0,A=0,G=function(t,n,r,o){if(_===I)if(200===t&&null!=r&&H.test(r)){_=D,f=!0,d=i,e.readyState=D;var a=new M("open",{status:t,statusText:n,headers:o});e.dispatchEvent(a),Y(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.",Q();var a=new M("error",{status:t,statusText:n,headers:o});e.dispatchEvent(a),Y(e,e.onerror,a),console.error(s)}},$=function(t){if(_===D){for(var n=-1,r=0;r<t.length;r+=1){var c=t.charCodeAt(r);c!=="\n".charCodeAt(0)&&c!=="\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,h+=t.length);for(var p=0;p<u.length;p+=1){var c=u.charCodeAt(p);if(O===B&&c==="\n".charCodeAt(0))O=F;else if(O===B&&(O=F),c==="\r".charCodeAt(0)||c==="\n".charCodeAt(0)){if(O!==F){O===U&&(A=p+1);var m=u.slice(j,A-1),v=u.slice(A+(A<p&&u.charCodeAt(A)===" ".charCodeAt(0)?1:0),p);"data"===m?(w+="\n",w+=v):"id"===m?k=v:"event"===m?E=v:"retry"===m?(i=V(v,i),d=i):"heartbeatTimeout"===m&&(o=V(v,o),0!==b&&(s(b),b=a(function(){Z()},o)))}if(O===F){if(""!==w){l=k,""===E&&(E="message");var g=new P(E,{data:w.slice(1),lastEventId:k});if(e.dispatchEvent(g),"open"===E?Y(e,e.onopen,g):"message"===E?Y(e,e.onmessage,g):"error"===E&&Y(e,e.onerror,g),_===R)return}w="",E=""}O=c==="\r".charCodeAt(0)?B:F}else O===F&&(j=p,O=U),O===U?c===":".charCodeAt(0)&&(A=p+1,O=q):O===q&&(O=z)}}},X=function(t){if(_===D||_===I){_=L,0!==b&&(s(b),b=0),b=a(function(){Z()},d),d=W(Math.min(16*i,2*d)),e.readyState=I;var n=new N("error",{error:t});e.dispatchEvent(n),Y(e,e.onerror,n)}},Q=function(){_=R,null!=y&&(y.abort(),y=void 0),0!==b&&(s(b),b=0),e.readyState=R},Z=function(){if(b=0,_===L){f=!1,h=0,b=a(function(){Z()},o),_=I,w="",E="",k=l,T="",j=0,A=0,O=F;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 c in s)Object.prototype.hasOwnProperty.call(s,c)&&(i[c]=s[c]);try{y=g.open(v,G,$,X,n,r,i)}catch(e){throw Q(),e}}else f||null==y?(f=!1,b=a(function(){Z()},o)):(X(new Error("No activity within "+o+" milliseconds. "+(_===I?"No response received.":h+" chars received.")+" Reconnecting.")),null!=y&&(y.abort(),y=void 0))};e.url=t,e.readyState=I,e.withCredentials=r,e.headers=p,e._close=Q,Z()}(this,e,t)}var K=null!=p&&null!=m&&"body"in m.prototype;G.prototype=Object.create(O.prototype),G.prototype.CONNECTING=I,G.prototype.OPEN=D,G.prototype.CLOSED=R,G.prototype.close=function(){this._close()},G.CONNECTING=I,G.OPEN=D,G.CLOSED=R,G.prototype.withCredentials=void 0;var $=d;null==c||null!=d&&"withCredentials"in d.prototype||($=G),function(n){if("object"==typeof e.exports){var a=n(t);void 0!==a&&(e.exports=a)}else i=[t],void 0===(o="function"==typeof(r=n)?r.apply(t,i):r)||(e.exports=o)}(function(e){e.EventSourcePolyfill=G,e.NativeEventSource=d,e.EventSource=$})}("undefined"!=typeof window?window:"undefined"!=typeof self?self:this)},function(e,t,n){var r=n(1705),i=n(1727),o=n(535);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)})}},function(e,t,n){"use strict";(function(e){var r=n(0),i=n.n(r),o=n(140),a=n(1),s=n.n(a),c=1073741823,u="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:void 0!==e?e:{};var l=i.a.createContext||function(e,t){var n,i,a,l="__create-react-context-"+(u[a="__global_unique_id__"]=(u[a]||0)+1)+"__",d=function(e){function n(){var t,n,r;return(t=e.apply(this,arguments)||this).emitter=(n=t.props.value,r=[],{on:function(e){r.push(e)},off:function(e){r=r.filter(function(t){return t!==e})},get:function(){return n},set:function(e,t){n=e,r.forEach(function(e){return e(n,t)})}}),t}Object(o.a)(n,e);var r=n.prototype;return r.getChildContext=function(){var e;return(e={})[l]=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):c,0!=(n|=0)&&this.emitter.set(e.value,n))}var o,a},r.render=function(){return this.props.children},n}(r.Component);d.childContextTypes=((n={})[l]=s.a.object.isRequired,n);var f=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}Object(o.a)(n,t);var r=n.prototype;return r.componentWillReceiveProps=function(e){var t=e.observedBits;this.observedBits=null==t?c:t},r.componentDidMount=function(){this.context[l]&&this.context[l].on(this.onUpdate);var e=this.props.observedBits;this.observedBits=null==e?c:e},r.componentWillUnmount=function(){this.context[l]&&this.context[l].off(this.onUpdate)},r.getValue=function(){return this.context[l]?this.context[l].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 f.contextTypes=((i={})[l]=s.a.object,i),{Provider:d,Consumer:f}};t.a=l}).call(this,n(96))},function(e,t,n){var r=n(1728);e.exports=h,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],h=n.index;if(s+=e.slice(a,h),a=h+d.length,f)s+=f[1];else{var p=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!=p&&p!==m,x="+"===b||"*"===b,k="?"===b||"*"===b,E=n[2]||l,S=g||y;r.push({name:v||o++,prefix:m||"",delimiter:E,optional:k,repeat:x,partial:w,asterisk:!!_,pattern:S?u(S):_?".*":"[^"+c(E)+"]+?"})}}return a<e.length&&(s+=e.substr(a)),s&&r.push(s),r}function a(e){return encodeURI(e).replace(/[\/?#]/g,function(e){return"%"+e.charCodeAt(0).toString(16).toUpperCase()})}function s(e,t){for(var n=new Array(e.length),i=0;i<e.length;i++)"object"==typeof e[i]&&(n[i]=new RegExp("^(?:"+e[i].pattern+")$",d(t)));return function(t,i){for(var o="",s=t||{},c=(i||{}).pretty?a:encodeURIComponent,u=0;u<e.length;u++){var l=e[u];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 h=0;h<f.length;h++){if(d=c(f[h]),!n[u].test(d))throw new TypeError('Expected all "'+l.name+'" to match "'+l.pattern+'", but received `'+JSON.stringify(d)+"`");o+=(0===h?l.prefix:l.delimiter)+d}}else{if(d=l.asterisk?encodeURI(f).replace(/[?#]/g,function(e){return"%"+e.charCodeAt(0).toString(16).toUpperCase()}):c(f),!n[u].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 c(e){return e.replace(/([.+*?=^!:${}()[\]|\/\\])/g,"\\$1")}function u(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 u=e[s];if("string"==typeof u)a+=c(u);else{var f=c(u.prefix),h="(?:"+u.pattern+")";t.push(u),u.repeat&&(h+="(?:"+f+h+")*"),a+=h=u.optional?u.partial?f+"("+h+")?":"(?:"+f+"("+h+"))?":f+"("+h+")"}}var p=c(n.delimiter||"/"),m=a.slice(-p.length)===p;return i||(a=(m?a.slice(0,-p.length):a)+"(?:"+p+"(?=$))?"),a+=o?"$":i&&m?"":"(?="+p+"|$)",l(new RegExp("^"+a,d(n)),t)}function h(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(h(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)}},function(e,t,n){var r=n(797),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)},function(e,t,n){"use strict";var r=n(287),i=n(440),o=n(1862),a=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};function s(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 c(e,t,n){return u(t=s(e,t,n))}function u(e){if(void 0===e.callback)throw new Error("callback argument missing");var t=!1,n=function(n,r,i){t||(t=!0,e.callback(n,r,i))};function r(){var e=void 0;if(e=l.response?l.response:l.responseText||function(e){try{if("document"===e.responseType)return e.responseXML;var t=e.responseXML&&"parsererror"===e.responseXML.documentElement.nodeName;if(""===e.responseType&&!t)return e.responseXML}catch(e){}return null}(l),g)try{e=JSON.parse(e)}catch(e){}return e}function i(e){return clearTimeout(d),e instanceof Error||(e=new Error(""+(e||"Unknown XMLHttpRequest Error"))),e.statusCode=0,n(e,y)}function o(){if(!u){var t;clearTimeout(d),t=e.useXDR&&void 0===l.status?200:1223===l.status?204:l.status;var i=y,o=null;return 0!==t?(i={body:r(),statusCode:t,method:h,headers:{},url:f,rawRequest:l},l.getAllResponseHeaders&&(i.headers=a(l.getAllResponseHeaders()))):o=new Error("Internal XMLHttpRequest Error"),n(o,i,i.body)}}var s,u,l=e.xhr||null;l||(l=e.cors||e.useXDR?new c.XDomainRequest:new c.XMLHttpRequest);var d,f=l.url=e.uri||e.url,h=l.method=e.method||"GET",p=e.body||e.data,m=l.headers=e.headers||{},v=!!e.sync,g=!1,y={body:void 0,headers:{},statusCode:0,method:h,url:f,rawRequest:l};if("json"in e&&!1!==e.json&&(g=!0,m.accept||m.Accept||(m.Accept="application/json"),"GET"!==h&&"HEAD"!==h&&(m["content-type"]||m["Content-Type"]||(m["Content-Type"]="application/json"),p=JSON.stringify(!0===e.json?p:e.json))),l.onreadystatechange=function(){4===l.readyState&&setTimeout(o,0)},l.onload=o,l.onerror=i,l.onprogress=function(){},l.onabort=function(){u=!0},l.ontimeout=i,l.open(h,f,!v,e.username,e.password),v||(l.withCredentials=!!e.withCredentials),!v&&e.timeout>0&&(d=setTimeout(function(){if(!u){u=!0,l.abort("timeout");var e=new Error("XMLHttpRequest timeout");e.code="ETIMEDOUT",i(e)}},e.timeout)),l.setRequestHeader)for(s in m)m.hasOwnProperty(s)&&l.setRequestHeader(s,m[s]);else if(e.headers&&!function(e){for(var t in e)if(e.hasOwnProperty(t))return!1;return!0}(e.headers))throw new Error("Headers cannot be set on an XDomainRequest object");return"responseType"in e&&(l.responseType=e.responseType),"beforeSend"in e&&"function"==typeof e.beforeSend&&e.beforeSend(l),l.send(p||null),l}e.exports=c,e.exports.default=c,c.XMLHttpRequest=r.XMLHttpRequest||function(){},c.XDomainRequest="withCredentials"in new c.XMLHttpRequest?c.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){c["delete"===e?"del":e]=function(t,n,r){return(n=s(t,n,r)).method=e.toUpperCase(),u(n)}})},function(e,t,n){var r=n(287),i=e.exports={WebVTT:n(1863),VTTCue:n(1866),VTTRegion:n(1867)};r.vttjs=i,r.WebVTT=i.WebVTT;var o=i.VTTCue,a=i.VTTRegion,s=r.VTTCue,c=r.VTTRegion;i.shim=function(){r.VTTCue=o,r.VTTRegion=a},i.restore=function(){r.VTTCue=s,r.VTTRegion=c},r.VTTCue||i.shim()},function(e,t,n){var r,i,o,a,s;r=/^((?:[a-zA-Z0-9+\-.]+:)?)(\/\/[^\/?#]*)?((?:[^\/\?#]*\/)*.*?)??(;.*?)?(\?.*?)?(#.*?)?$/,i=/^([^\/?#]*)(.*)$/,o=/(?:\/|^)\.(?=\/)/g,a=/(?:\/|^)\.\.\/(?!\.\.\/).*?(?=\/)/g,s={buildAbsoluteURL:function(e,t,n){if(n=n||{},e=e.trim(),!(t=t.trim())){if(!n.alwaysNormalize)return e;var r=s.parseURL(e);if(!r)throw new Error("Error trying to parse base URL.");return r.path=s.normalizePath(r.path),s.buildURLFromParts(r)}var o=s.parseURL(t);if(!o)throw new Error("Error trying to parse relative URL.");if(o.scheme)return n.alwaysNormalize?(o.path=s.normalizePath(o.path),s.buildURLFromParts(o)):t;var a=s.parseURL(e);if(!a)throw new Error("Error trying to parse base URL.");if(!a.netLoc&&a.path&&"/"!==a.path[0]){var c=i.exec(a.path);a.netLoc=c[1],a.path=c[2]}a.netLoc&&!a.path&&(a.path="/");var u={scheme:a.scheme,netLoc:o.netLoc,path:null,params:o.params,query:o.query,fragment:o.fragment};if(!o.netLoc&&(u.netLoc=a.netLoc,"/"!==o.path[0]))if(o.path){var l=a.path,d=l.substring(0,l.lastIndexOf("/")+1)+o.path;u.path=s.normalizePath(d)}else u.path=a.path,o.params||(u.params=a.params,o.query||(u.query=a.query));return null===u.path&&(u.path=n.alwaysNormalize?s.normalizePath(o.path):o.path),s.buildURLFromParts(u)},parseURL:function(e){var t=r.exec(e);return t?{scheme:t[1]||"",netLoc:t[2]||"",path:t[3]||"",params:t[4]||"",query:t[5]||"",fragment:t[6]||""}:null},normalizePath:function(e){for(e=e.split("").reverse().join("").replace(o,"");e.length!==(e=e.replace(a,"")).length;);return e.split("").reverse().join("")},buildURLFromParts:function(e){return e.scheme+e.netLoc+e.path+e.params+e.query+e.fragment}},e.exports=s},function(e,t,n){"use strict";(function(e){n.d(t,"a",function(){return K});var r=n(3),i=n.n(r),o=n(9),a=n(10),s=n(6),c=n(11),u=n(13),l=n(5),d=n(4),f=n.n(d),h=n(41),p=n.n(h),m=n(15),v=n.n(m),g=(n(1909),n(139)),y=n.n(g),b=n(2),_=n.n(b),w=n(546),x=n.n(w),k=n(0),E=n(77),S=n(22),T=n(130),C=n(102),O=n(549),j=n(62),A=n(26),P=n(42),M=n(20),N=n(1),L=n.n(N),I=n(55),D=n(85),R=n(268),B=n(238),F=n(16),U=n.n(F),q=n(24),z=n.n(q);function H(e){var t=function(){if("undefined"==typeof Reflect||!i.a)return!1;if(i.a.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=Object(l.a)(e);if(t){var o=Object(l.a)(this).constructor;n=i()(r,arguments,o)}else n=r.apply(this,arguments);return Object(u.a)(this,n)}}var V=n(61).b.blocks,W=function(t){Object(c.a)(r,t);var n=H(r);function r(){var e,t;Object(o.a)(this,r);for(var i=arguments.length,a=new Array(i),c=0;c<i;c++)a[c]=arguments[c];return(t=n.call.apply(n,f()(e=[this]).call(e,a))).renderDescriptionDelegate=t.renderDescription.bind(Object(s.a)(t)),t}return Object(a.a)(r,[{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(t,n){var r=n||"";return e.createElement(P.a,{className:"blocks-button__description brand--head  brand--linkColor",value:r})}},{key:"getButton",value:function(t,n,r,i){return e.createElement("span",{className:n,dangerouslySetInnerHTML:{__html:i},onClick:t,onKeyDown:Object(A.a)(t),role:"button",style:r,tabIndex:M.a})}},{key:"renderButton",value:function(t){var n=t.editable,r=t.buttonStyle,i=t.color,o=t.courseTitle,a=t.text,s=t.type,c=t.destination,u=t.editBlock,l=this.getButtonStyles(r,i),d=_()("blocks-button__button brand--ui",{"brand--background":void 0===i});if(n)return this.getButton(u,d,l,a);if("lesson"===s){var h=this.props,p=h.handleNavigate,m=h.match,v="/lessons/".concat(c);m&&m.params.mode&&(v+="/".concat(m.params.mode));var g=""===c?"#":v;return e.createElement(T.b,{className:d,dangerouslySetInnerHTML:{__html:a},onClick:function(){return p(c)},role:"button",style:l,to:g})}if("exit-course"===s)return this.getButton(S.b,d,l,a);var y=Object(R.b)(U()("email"!==s),c);if("email"===s){var b,w=D.a.isIphoneSafari?"_top":"_self";return e.createElement("a",{className:d,dangerouslySetInnerHTML:{__html:a},href:f()(b="mailto:".concat(y,"?subject=")).call(b,o),style:l,tabIndex:M.a,target:w})}var k=this.props,E=k.externalLinksDisabled,C=k.showExternalLinksModal,O=E&&Object(B.a)(y),j=O?void 0:y,A=""===j?"#":j,P=x()(A)?"_blank":void 0,N="_blank"===P?"noopener noreferrer":void 0,L=O?"button":void 0,I=O?C:void 0;return e.createElement("a",{className:d,dangerouslySetInnerHTML:{__html:a},href:A,onClick:I,rel:N,role:L,style:l,tabIndex:M.a,target:P})}},{key:"render",value:function(){var t=this,n=this.props,r=n.animateBlockEntrance,i=n.courseTitle,o=n.editable,a=n.editBlock,s=n.isLearner,c=n.items,u=n.settings,l=n.renderDescription,d=void 0===l?this.renderDescriptionDelegate:l,f=c.length>0?p()(c).call(c,0,1):[],h=u.paddingTop,m=u.paddingBottom,g=u.backgroundColor,y=u.entranceAnimation,b=u.buttonColor||this.props.color,w=_()("blocks-button",{"blocks-button--no-animation":!y,"blocks-button--left":!1,"blocks-button--center":!1,"blocks-button--right":!0,"blocks-button--rounded":!0}),x={backgroundColor:Object(j.a)("",g),paddingTop:"".concat(10*h,"px"),paddingBottom:"".concat(10*m,"px")};return e.createElement("div",{className:w,"data-ba":V.blockButton,style:x},e.createElement(I.a,{animateBlockEntrance:r,animateIn:"fadeIn",isLearner:s,offset:100},v()(f).call(f,function(n){var r=n.id,s=n.label,c=n.type,u=n.destination,l=n.description,f=Object(O.a)(Object(C.e)(s),18);return e.createElement("section",{key:r,className:"blocks-button__container"},d(r,l),t.renderButton({editable:o,buttonStyle:"rounded",color:b,courseTitle:i,text:f,type:c,destination:u,editBlock:a}))})))}}],[{key:"propTypes",get:function(){return{lessonId:L.a.any,blockId:L.a.any,items:L.a.array,settings:L.a.object.isRequired,editable:L.a.bool,editBlock:L.a.func,courseTitle:L.a.string}}},{key:"defaultProps",get:function(){return{items:[],lessonId:"",blockId:"",editBlock:function(){}}}}]),r}(e.Component),Y=y()({externalLinksDisabled:z()(["course","externalLinksDisabled"])}),G=Object(E.b)(Y,{showExternalLinksModal:function(){return{type:"rise/globals/SHOW_EXTERNAL_LINKS_MODAL",payload:!0}}})(W);t.b=G;var K=function(t){Object(c.a)(r,t);var n=H(r);function r(){var e,t;Object(o.a)(this,r);for(var i=arguments.length,a=new Array(i),c=0;c<i;c++)a[c]=arguments[c];return(t=n.call.apply(n,f()(e=[this]).call(e,a))).renderButtonDelegate=t.renderButton.bind(Object(s.a)(t)),t}return Object(a.a)(r,[{key:"renderButton",value:function(t,n){var r=this.props,i=r.blockId,o=r.courseTitle,a=r.editable,s=r.editBlock,c=r.handleNavigate,u=r.isLearner,l=r.labels,d=r.lessonId;return e.createElement(G,{animateBlockEntrance:!1,blockId:i,courseTitle:o,editable:a,editBlock:s,isLearner:u,items:[t],labels:l,lessonId:d,settings:n,type:"right",handleNavigate:c})}},{key:"render",value:function(){var t=this.props,n=t.animateBlockEntrance,r=t.isLearner,i=t.items,o=t.settings,a=t.renderButton,s=void 0===a?this.renderButtonDelegate:a,c=o.paddingTop,u=o.paddingBottom,l=o.backgroundColor,d=o.entranceAnimation,f=_()("blocks-buttonstack",{"blocks-buttonstack--no-animation":!d}),h={backgroundColor:Object(j.a)("",l),paddingTop:"".concat(10*c,"px"),paddingBottom:"".concat(10*u,"px")},p={buttonColor:o.buttonColor||this.props.color,buttonStyle:o.buttonStyle};return e.createElement("div",{className:f,style:h},e.createElement(I.a,{animateBlockEntrance:n,animateIn:"fadeIn",isLearner:r},v()(i).call(i,function(t){return e.createElement(k.Fragment,{key:t.id},s(t,p))})))}}],[{key:"propTypes",get:function(){return{lessonId:L.a.any,blockId:L.a.any,items:L.a.array,settings:L.a.object.isRequired,editable:L.a.bool,editBlock:L.a.func,courseTitle:L.a.string}}},{key:"defaultProps",get:function(){return{items:[],lessonId:"",blockId:"",editBlock:function(){}}}}]),r}(e.Component)}).call(this,n(0))},function(e,t,n){
/** @license ISC License (c) copyright 2016 original and current authors */
e.exports=n(1940)},function(e,t,n){
/** @license ISC License (c) copyright 2017 original and current authors */
e.exports=n(912)},function(e,t,n){
/** @license ISC License (c) copyright 2017 original and current authors */
var r=n(115),i=n(410),o=n(496);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)})},function(e,t,n){"use strict";var r=n(1046);n.d(t,"a",function(){return r.a});var i=n(1047);n.d(t,"b",function(){return i.a})},function(e,t,n){var r;e.exports=function e(t,n,i){function o(s,c){if(!n[s]){if(!t[s]){var u="function"==typeof r&&r;if(!c&&u)return r(s,!0);if(a)return a(s,!0);var l=new Error("Cannot find module '"+s+"'");throw l.code="MODULE_NOT_FOUND",l}var d=n[s]={exports:{}};t[s][0].call(d.exports,function(e){var n=t[s][1][e];return o(n||e)},d,d.exports,e,t,n,i)}return n[s].exports}for(var a="function"==typeof r&&r,s=0;s<i.length;s++)o(i[s]);return o}({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";var r=e("./utils/extend.js");function i(e,t){for(var n=0;n<t.length;n++){var r=t[n];if(e.immediatePropagationStopped)break;r(e)}}var o=function(){function e(t){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.options=r({},t||{})}return e.prototype.fire=function(e){var t=void 0,n="on"+e.type,r=this.global;(t=this[e.type])&&i(e,t),this[n]&&this[n](e),!e.propagationStopped&&r&&(t=r[e.type])&&i(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=o},{"./utils/extend.js":41}],3:[function(e,t,n){"use strict";var r=e("./utils/extend"),i=e("./utils/getOriginXY"),o=e("./defaultOptions"),a=e("./utils/Signals").new(),s=function(){function e(t,n,s,c,u,l){var d=arguments.length>6&&void 0!==arguments[6]&&arguments[6];!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e);var f=t.target,h=(f&&f.options||o).deltaSource,p=i(f,u,s),m="start"===c,v="end"===c,g=m?t.startCoords:t.curCoords,y=t.prevEvent;u=u||t.element;var b=r({},g.page),_=r({},g.client);b.x-=p.x,b.y-=p.y,_.x-=p.x,_.y-=p.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=u,this.currentTarget=u,this.relatedTarget=l||null,this.preEnd=d,this.type=s+(c||""),this.interaction=t,this.interactable=f,this.t0=m?t.downTimes[t.downTimes.length-1]:y.t0;var w={interaction:t,event:n,action:s,phase:c,element:u,related:l,page:b,client:_,coords:g,starting:m,ending:v,deltaSource:h,iEvent:this};a.fire("set-xy",w),v?(this.pageX=y.pageX,this.pageY=y.pageY,this.clientX=y.clientX,this.clientY=y.clientY):(this.pageX=b.x,this.pageY=b.y,this.clientX=_.x,this.clientY=_.y),this.x0=t.startCoords.page.x-p.x,this.y0=t.startCoords.page.y-p.y,this.clientX0=t.startCoords.client.x-p.x,this.clientY0=t.startCoords.client.y-p.y,a.fire("set-delta",w),this.timeStamp=g.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=v||"inertiastart"===c?this.getSwipe():null,a.fire("new",w)}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;t<0&&(t+=360);var n=112.5<=t&&t<247.5,r=202.5<=t&&t<337.5,i=!n&&(292.5<=t||t<67.5),o=!r&&22.5<=t&&t<157.5;return{up:r,down:o,left:n,right:i,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}();a.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)}),s.signals=a,t.exports=s},{"./defaultOptions":18,"./utils/Signals":34,"./utils/extend":41,"./utils/getOriginXY":42}],4:[function(e,t,n){"use strict";var r=e("./utils/clone"),i=e("./utils/is"),o=e("./utils/events"),a=e("./utils/extend"),s=e("./actions/base"),c=e("./scope"),u=e("./Eventable"),l=e("./defaultOptions"),d=e("./utils/Signals").new(),f=e("./utils/domUtils"),h=f.getElementRect,p=f.nodeContains,m=f.trySelector,v=f.matchesSelector,g=e("./utils/window"),y=g.getWindow,b=e("./utils/arr"),_=b.contains,w=e("./utils/browser"),x=w.wheelEvent;c.interactables=[];var k=function(){function e(t,n){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),n=n||{},this.target=t,this.events=new u,this._context=n.context||c.document,this._win=y(m(t)?this._context:t),this._doc=this._win.document,d.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 i.function(t.onstart)&&(this.events[n+"start"]=t.onstart),i.function(t.onmove)&&(this.events[n+"move"]=t.onmove),i.function(t.onend)&&(this.events[n+"end"]=t.onend),i.function(t.oninertiastart)&&(this.events[n+"inertiastart"]=t.oninertiastart),this},e.prototype.setPerAction=function(e,t){for(var n in t)n in l[e]&&(i.object(t[n])?(this.options[e][n]=r(this.options[e][n]||{}),a(this.options[e][n],t[n]),i.object(l.perAction[n])&&"enabled"in l.perAction[n]&&(this.options[e][n].enabled=!1!==t[n].enabled)):i.bool(t[n])&&i.object(l.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,i.string(this.target)&&!i.element(e)&&(e=this._context.querySelector(this.target)),h(e)},e.prototype.rectChecker=function(e){return i.function(e)?(this.getRect=e,this):null===e?(delete this.options.getRect,this):this.getRect},e.prototype._backCompatOption=function(e,t){if(m(t)||i.object(t)){this.options[e]=t;for(var n=0;n<s.names.length;n++){var r=s.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||p(this._context,e)},e.prototype.fire=function(e){return this.events.fire(e),this},e.prototype._onOffMultiple=function(e,t,n,r){if(i.string(t)&&-1!==t.search(" ")&&(t=t.trim().split(/ +/)),i.array(t)){for(var o=0;o<t.length;o++){var a=t[o];this[e](a,n,r)}return!0}if(i.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)?this:("wheel"===t&&(t=x),_(e.eventTypes,t)?this.events.on(t,n):i.string(this.target)?o.addDelegate(this.target,this._context,t,n,r):o.add(this.target,t,n,r),this)},e.prototype.off=function(t,n,r){return this._onOffMultiple("off",t,n,r)?this:("wheel"===t&&(t=x),_(e.eventTypes,t)?this.events.off(t,n):i.string(this.target)?o.removeDelegate(this.target,this._context,t,n,r):o.remove(this.target,t,n,r),this)},e.prototype.set=function(t){i.object(t)||(t={}),this.options=r(l.base);var n=r(l.perAction);for(var o in s.methodDict){var a=s.methodDict[o];this.options[o]=r(l[o]),this.setPerAction(o,n),this[a](t[o])}for(var c=0;c<e.settingsMethods.length;c++){var u=e.settingsMethods[c];this.options[u]=l.base[u],u in t&&this[u](t[u])}return d.fire("set",{options:t,interactable:this}),this},e.prototype.unset=function(){if(o.remove(this.target,"all"),i.string(this.target))for(var e in o.delegatedEvents){var t=o.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)),o.remove(this._context,e,o.delegateListener),o.remove(this._context,e,o.delegateUseCapture,!0)}else o.remove(this,"all");d.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&&(i.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],o=void 0;if((i.string(r.target)?i.element(e)&&v(e,r.target):e===r.target)&&r.inContext(e)&&(o=t(r)),void 0!==o)return o}},k.eventTypes=c.eventTypes=[],k.signals=d,k.settingsMethods=["deltaSource","origin","preventDefault","rectChecker"],t.exports=k},{"./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";var r=e("./scope"),i=e("./utils"),o=e("./utils/events"),a=e("./utils/browser"),s=e("./utils/domObjects"),c=e("./utils/interactionFinder"),u=e("./utils/Signals").new(),l={},d=["pointerDown","pointerMove","pointerUp","updatePointer","removePointer"],f=0;r.interactions=[];for(var h=function(){function e(t){var n=t.pointerType;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(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,u.fire("new",this),r.interactions.push(this)}return e.prototype.pointerDown=function(e,t,n){var r=this.updatePointer(e,t,!0);u.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===r.interactions.indexOf(this)&&r.interactions.push(this),i.copyAction(this.prepared,e),this.target=t,this.element=n,u.fire("action-start",{interaction:this,event:this.downEvent}))},e.prototype.pointerMove=function(t,n,r){this.simulation||(this.updatePointer(t),i.setCoords(this.curCoords,this.pointers));var o=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=i.hypot(a,s)>e.pointerMoveTolerance);var c={pointer:t,pointerIndex:this.getPointerIndex(t),event:n,eventTarget:r,dx:a,dy:s,duplicate:o,interaction:this,interactingBeforeMove:this.interacting()};o||i.setCoordDeltas(this.pointerDelta,this.prevCoords,this.curCoords),u.fire("move",c),o||(this.interacting()&&this.doMove(c),this.pointerWasMoved&&i.copyCoords(this.prevCoords,this.curCoords))},e.prototype.doMove=function(e){e=i.extend({pointer:this.pointers[0],event:this.prevEvent,eventTarget:this._eventTarget,interaction:this},e||{}),u.fire("before-action-move",e),this._dontFireMove||u.fire("action-move",e),this._dontFireMove=!1},e.prototype.pointerUp=function(e,t,n,r){var i=this.getPointerIndex(e);u.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()&&u.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(){u.fire("stop",{interaction:this}),this._interacting&&(u.fire("stop-active",{interaction:this}),u.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(i.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=i.getPointerId(e),o=this.getPointerIndex(e);return-1===o&&(o=this.pointerIds.length,this.pointerIds[o]=r),n&&u.fire("update-pointer-down",{pointer:e,event:t,down:n,pointerId:r,pointerIndex:o,interaction:this}),this.pointers[o]=e,o},e.prototype.removePointer=function(e,t){var n=this.getPointerIndex(e);-1!==n&&(u.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}(),p=0;p<d.length;p++){var m=d[p];l[m]=v(m)}function v(e){return function(t){var n=i.getPointerType(t),o=i.getEventTargets(t),s=o[0],u=o[1],l=[];if(a.supportsTouch&&/touch/.test(t.type)){f=(new Date).getTime();for(var d=0;d<t.changedTouches.length;d++){var p=t.changedTouches[d],m=p,v=c.search(m,t.type,s);l.push([m,v||new h({pointerType:n})])}}else{var g=!1;if(!a.supportsPointerEvent&&/mouse/.test(t.type)){for(var y=0;y<r.interactions.length&&!g;y++)g="mouse"!==r.interactions[y].pointerType&&r.interactions[y].pointerIsDown;g=g||(new Date).getTime()-f<500||0===t.timeStamp}if(!g){var b=c.search(t,t.type,s);b||(b=new h({pointerType:n})),l.push([t,b])}}for(var _=0;_<l.length;_++){var w=l[_],x=w[0],k=w[1];k._updateEventTargets(s,u),k[e](x,t,s,u)}}}function g(e){for(var t=0;t<r.interactions.length;t++){var n=r.interactions[t];n.end(e),u.fire("endall",{event:e,interaction:n})}}var y={},b=a.pEventTypes;function _(e,t){var n=e.doc,i=0===t.indexOf("add")?o.add:o.remove;for(var s in r.delegatedEvents)i(n,s,o.delegateListener),i(n,s,o.delegateUseCapture,!0);for(var c in y)i(n,c,y[c],a.isIOS?{passive:!1}:void 0)}s.PointerEvent?(y[b.down]=l.pointerDown,y[b.move]=l.pointerMove,y[b.up]=l.pointerUp,y[b.cancel]=l.pointerUp):(y.mousedown=l.pointerDown,y.mousemove=l.pointerMove,y.mouseup=l.pointerUp,y.touchstart=l.pointerDown,y.touchmove=l.pointerMove,y.touchend=l.pointerUp,y.touchcancel=l.pointerUp),y.blur=g,u.on("update-pointer-down",function(e){var t=e.interaction,n=e.pointer,r=e.pointerId,o=e.pointerIndex,a=e.event,s=e.eventTarget,c=e.down;t.pointerIds[o]=r,t.pointers[o]=n,c&&(t.pointerIsDown=!0),t.interacting()||(i.setCoords(t.startCoords,t.pointers),i.copyCoords(t.curCoords,t.startCoords),i.copyCoords(t.prevCoords,t.startCoords),t.downEvent=a,t.downTimes[o]=t.curCoords.timeStamp,t.downTargets[o]=s||a&&i.getEventTargets(a)[0],t.pointerWasMoved=!1,i.pointerExtend(t.downPointer,n))}),r.signals.on("add-document",_),r.signals.on("remove-document",_),h.pointerMoveTolerance=1,h.doOnInteractions=v,h.endAll=g,h.signals=u,h.docEvents=y,r.endAllInteractions=g,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,n=e.event,r=e.preEnd;if(a(t,n,"move",r),!t.interacting())return!1}),r.signals.on("action-end",function(e){var t=e.interaction,n=e.event;a(t,n,"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"),c=e("../defaultOptions"),u={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=u,r.names.push("drag"),i.merge(a.eventTypes,["dragstart","dragmove","draginertiastart","draginertiaresume","dragend"]),r.methodDict.drag="draggable",c.drag=u.defaults,t.exports=u},{"../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"),c=e("../Interactable"),u=e("../Interaction"),l=e("../defaultOptions"),d={defaults:{enabled:!1,accept:null,overlap:"pointer"}},f=!1;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 p(e,t){var n=function(e,t){for(var n=[],r=[],a=0;a<o.interactables.length;a++){var s=o.interactables[a];if(s.options.drop.enabled){var c=s.options.drop.accept;if(!(i.is.element(c)&&c!==t||i.is.string(c)&&!i.matchesSelector(t,c)))for(var u=i.is.string(s.target)?s._context.querySelectorAll(s.target):[s.target],l=0;l<u.length;l++){var d=u[l];d!==t&&(n.push(s),r.push(d))}}}return{elements:r,dropzones:n}}(0,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 m(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 v(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}u.signals.on("action-start",function(e){var t=e.interaction;e.event;if("drag"===t.prepared.name){t.activeDrops.dropzones=[],t.activeDrops.elements=[],t.activeDrops.rects=[],t.dropEvents=null,t.dynamicDrop||p(t.activeDrops,t.element);var n=t.prevEvent,r=m(t,0,n);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 o=t.element,a=n,s=function(e,t,n){var r=e.interaction,o=[];f&&p(r.activeDrops,n);for(var a=0;a<r.activeDrops.dropzones.length;a++){var s=r.activeDrops.dropzones[a],c=r.activeDrops.elements[a],u=r.activeDrops.rects[a];o.push(s.dropCheck(e,t,r.target,n,c,u)?c:null)}var l=i.indexOfDeepestElement(o);return{dropzone:r.activeDrops.dropzones[l]||null,element:r.activeDrops.elements[l]||null}}(a,r,o);t.dropTarget=s.dropzone,t.dropElement=s.element,t.dropEvents=m(t,0,a)}}),u.signals.on("action-move",function(e){var t=e.interaction;"drag"===t.prepared.name&&v(t,t.dropEvents)}),u.signals.on("action-end",function(e){var t=e.interaction;"drag"===t.prepared.name&&v(t,t.dropEvents)}),u.signals.on("stop-drag",function(e){var t=e.interaction;t.activeDrops={dropzones:null,elements:null,rects:null},t.dropEvents=null}),c.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},c.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 c=this.options.drop.overlap;if("pointer"===c){var u=i.getOriginXY(n,r,"drag"),l=i.getPageXY(e);l.x+=u.x,l.y+=u.y;var d=l.x>a.left&&l.x<a.right,f=l.y>a.top&&l.y<a.bottom;s=d&&f}var h=n.getRect(r);if(h&&"center"===c){var p=h.left+h.width/2,m=h.top+h.height/2;s=p>=a.left&&p<=a.right&&m>=a.top&&m<=a.bottom}if(h&&i.is.number(c)){var v=Math.max(0,Math.min(a.right,h.right)-Math.max(a.left,h.left))*Math.max(0,Math.min(a.bottom,h.bottom)-Math.max(a.top,h.top)),g=v/(h.width*h.height);s=g>=c}return this.options.drop.checker&&(s=this.options.drop.checker(e,t,s,this,o,n,r)),s},c.signals.on("unset",function(e){var t=e.interactable;t.dropzone(!1)}),c.settingsMethods.push("dropChecker"),u.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:[]}}),u.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(c.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"),c=e("../defaultOptions"),u={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,c=e.ending,u=e.deltaSource;if("gesture"===r){var l=t.pointers;n.touches=[l[0],l[1]],s?(n.distance=i.touchDistance(l,u),n.box=i.touchBBox(l),n.scale=1,n.ds=0,n.angle=i.touchAngle(l,void 0,u),n.da=0):c||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,u),n.box=i.touchBBox(l),n.scale=n.distance/t.gesture.startDistance,n.angle=i.touchAngle(l,t.gesture.prevAngle,u),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=u,r.names.push("gesture"),i.merge(a.eventTypes,["gesturestart","gesturemove","gestureend"]),r.methodDict.gesture="gesturable",c.gesture=u.defaults,t.exports=u},{"../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"),c=e("../Interaction"),u=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),c=n.options;if(c.resize.enabled){var u=c.resize,d={left:!1,right:!1,top:!1,bottom:!1};if(i.is.object(u.edges)){for(var h in d)d[h]=f(h,u.edges[h],s,o._eventTarget,r,a,u.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 p="y"!==c.resize.axis&&s.x>a.right-l,m="x"!==c.resize.axis&&s.y>a.bottom-l;if(p||m)return{name:"resize",axes:(p?"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 c=i.is.number(a.width)?a.width:a.right-a.left,u=i.is.number(a.height)?a.height:a.bottom-a.top;if(c<0&&("left"===e?e="right":"right"===e&&(e="left")),u<0&&("top"===e?e="bottom":"bottom"===e&&(e="top")),"left"===e)return n.x<(c>=0?a.left:a.right)+s;if("top"===e)return n.y<(u>=0?a.top:a.bottom)+s;if("right"===e)return n.x>(c>=0?a.right:a.left)-s;if("bottom"===e)return n.y>(u>=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,c=r.prepared.edges,u=r.resizeRects.start,l=r.resizeRects.current,d=r.resizeRects.inverted,f=r.resizeRects.delta,h=i.extend(r.resizeRects.previous,d),p=c,m=t.dx,v=t.dy;if(o.preserveAspectRatio||o.square){var g=o.preserveAspectRatio?r.resizeStartAspectRatio:1;c=r.prepared._linkedEdges,p.left&&p.bottom||p.right&&p.top?v=-m/g:p.left||p.right?v=m/g:(p.top||p.bottom)&&(m=v*g)}if(c.top&&(l.top+=v),c.bottom&&(l.bottom+=v),c.left&&(l.left+=m),c.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,u.bottom),d.bottom=Math.max(l.bottom,u.top),d.left=Math.min(l.left,u.right),d.right=Math.max(l.right,u.left);for(var b in d.width=d.right-d.left,d.height=d.bottom-d.top,d)f[b]=d[b]-h[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=u.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},c.signals.on("new",function(e){e.resizeAxes="xy"}),a.signals.on("set-delta",function(e){var t=e.interaction,n=e.iEvent,r=e.action;if("resize"===r&&t.resizeAxes){var i=t.target.options;i.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",u.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"),c=e("./defaultOptions"),u={defaults:{enabled:!1,container:null,margin:60,speed:300},interaction:null,i:null,x:0,y:0,isScrolling:!1,prevTime:0,start:function(e){u.isScrolling=!0,r.cancel(u.i),u.interaction=e,u.prevTime=(new Date).getTime(),u.i=r.request(u.scroll)},stop:function(){u.isScrolling=!1,r.cancel(u.i)},scroll:function(){var e=u.interaction.target.options[u.interaction.prepared.name].autoScroll,t=e.container||i(u.interaction.element),n=(new Date).getTime(),a=(n-u.prevTime)/1e3,s=e.speed*a;s>=1&&(o.window(t)?t.scrollBy(u.x*s,u.y*s):t&&(t.scrollLeft+=u.x*s,t.scrollTop+=u.y*s),u.prevTime=n),u.isScrolling&&(r.cancel(u.i),u.i=r.request(u.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()&&u.check(t.target,t.prepared.name))if(t.simulation)u.x=u.y=0;else{var r=void 0,s=void 0,c=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<u.margin,r=n.clientY<u.margin,s=n.clientX>f.innerWidth-u.margin,c=n.clientY>f.innerHeight-u.margin;else{var h=a.getElementClientRect(f);l=n.clientX<h.left+u.margin,r=n.clientY<h.top+u.margin,s=n.clientX>h.right-u.margin,c=n.clientY>h.bottom-u.margin}u.x=s?1:l?-1:0,u.y=c?1:r?-1:0,u.isScrolling||(u.margin=d.margin,u.speed=d.speed,u.start(t))}}};s.signals.on("stop-active",function(){u.stop()}),s.signals.on("action-move",u.onInteractionMove),c.perAction.autoScroll=u.defaults,t.exports=u},{"./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"),c=s.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=c(function(e){return this._backCompatOption("ignoreFrom",e)},"Interactable.ignoreForm() has been deprecated. Use Interactble.draggable({ignoreFrom: newValue})."),r.prototype.allowFrom=c(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,c=0;c<i.names.length;c++){var u=i.names[c];if((!n.pointerIsDown||!/mouse|pointer/.test(n.pointerType)||0!=(a&this.options[u].mouseButtons))&&(s=i[u].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"),c=e("../scope"),u=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){u.extend(e.defaults,d.defaults.perAction)},validateAction:f};function f(e,t,n,r){return u.is.object(e)&&t.testIgnoreAllow(t.options[e.name],n,r)&&t.options[e.name].enabled&&v(t,n,e)?e:null}function h(e,t,n,r,i,o){for(var a=0,s=r.length;a<s;a++){var c=r[a],u=i[a],l=f(c.getAction(t,n,e,u),c,u,o);if(l)return{action:l,target:c,element:u}}return{}}function p(e,t,n,r){var i=[],o=[],a=r;function s(e){i.push(e),o.push(a)}for(;u.is.element(a);){i=[],o=[],c.interactables.forEachMatch(a,s);var l=h(e,t,n,i,o,r);if(l.action&&!l.target.options[l.action.name].manualStart)return l;a=u.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,u.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,u=0;if(i&&o&&d.maxInteractions){for(var l=0;l<c.interactions.length;l++){var f=c.interactions[l],h=f.prepared.name;if(f.interacting()){if(++a>=d.maxInteractions)return!1;if(f.target===e){if((s+=h===n.name|0)>=i)return!1;if(f.element===t&&(u++,h!==n.name||u>=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;if(!t.interacting()){var o=p(t,n,r,i);m(t,o)}}),o.signals.on("move",function(e){var t=e.interaction,n=e.pointer,r=e.event,i=e.eventTarget;if("mouse"===t.pointerType&&!t.pointerIsDown&&!t.interacting()){var o=p(t,n,r,i);m(t,o)}}),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,n=t.target;n&&n.options.styleCursor&&(n._doc.documentElement.style.cursor="")}),r.maxInteractions=function(e){return u.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,u.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"),s=a.parentNode;r.setActionDefaults(e("../actions/drag")),r.signals.on("before-start",function(e){var t=e.interaction,n=e.eventTarget,a=e.dx,c=e.dy;if("drag"===t.prepared.name){var u=Math.abs(a),l=Math.abs(c),d=t.target.options.drag,f=d.startAxis,h=u>l?"x":u<l?"y":"xy";if(t.prepared.axis="start"===d.lockAxis?h[0]:d.lockAxis,"xy"!==h&&"xy"!==f&&f!==h){t.prepared.name=null;for(var p=n,m=function(e){if(e!==t.target){var i=t.target.options.drag;if(!i.manualStart&&e.testIgnoreAllow(i,p,n)){var o=e.getAction(t.downPointer,t.downEvent,t,p);if(o&&"drag"===o.name&&function(e,t){if(!t)return!1;var n=t.options.drag.startAxis;return"xy"===e||"xy"===n||n===e}(h,e)&&r.validateAction(o,e,p,n))return e}}};o.element(p);){var v=i.interactables.forEachMatch(p,m);if(v){t.prepared.name="drag",t.target=v,t.element=p;break}p=s(p)}}}})},{"../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,n=o(t);n>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 c(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 function(){c(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)}.apply(e)},e.boundSmoothEndFrame=function(){return function(){c(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)}.apply(e)}}),i.signals.on("down",function(e){var t=e.interaction,n=e.event,c=e.pointer,u=e.eventTarget,l=t.inertiaStatus;if(l.active)for(var d=u;a.is.element(d);){if(d===t.element){s.cancel(l.i),l.active=!1,t.simulation=null,t.updatePointer(c),a.setCoords(t.curCoords,t.pointers);var f={interaction:t};i.signals.fire("before-action-move",f),i.signals.fire("action-resume",f);var h=new r(t,n,t.prepared.name,"inertiaresume",t.element);t.target.fire(h),t.prevEvent=h,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,u=c&&c.options,l=u&&t.prepared.name&&u[t.prepared.name].inertia,d=(new Date).getTime(),f={},h=a.extend({},t.curCoords.page),p=t.pointerDelta.client.speed,m=!1,v=void 0,g=l&&l.enabled&&"gesture"!==t.prepared.name&&n!==i.startEvent,y=g&&d-t.curCoords.timeStamp<50&&p>l.minSpeed&&p>l.endSpeed,b={interaction:t,pageCoords:h,statuses:f,preEnd:!0,requireEndOnly:!0};g&&!y&&(o.resetStatuses(f),(v=o.setAll(b)).shouldMove&&v.locked&&(m=!0)),(y||m)&&(a.copyCoords(i.upCoords,t.curCoords),t.pointers[0]=i.startEvent=new r(t,n,t.prepared.name,"inertiastart",t.element),i.t0=d,i.active=!0,i.allowResume=l.allowResume,t.simulation=i,c.fire(i.startEvent),y?(i.vx0=t.pointerDelta.client.vx,i.vy0=t.pointerDelta.client.vy,i.v0=p,function(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}(t,i),a.extend(h,t.curCoords.page),h.x+=i.xe,h.y+=i.ye,o.resetStatuses(f),v=o.setAll(b),i.modifiedXe+=v.dx,i.modifiedYe+=v.dy,i.i=s.request(t.boundInertiaFrame)):(i.smoothEnd=!0,i.xe=v.dx,i.ye=v.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"),c=e("./Interaction"),u={};function l(e,t){var n=a.interactables.get(e,t);return n||((n=new s(e,t)).events.global=u),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 c=e[r];l.on(c,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)?u[e]?u[e].push(t):u[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 c=e[r];l.off(c,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 u&&-1!==(f=u[e].indexOf(t))&&u[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)?(c.pointerMoveTolerance=e,l):c.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"),c=e("./utils/browser"),u=e("./utils/domUtils"),l=u.nodeContains,d=u.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)&&!c.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 h=["down","move","up","cancel"],p=0;p<h.length;p++){var m=h[p];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 c=0;c<a.names.length;c++){var u=a.names[c];e.options=r.options[t.prepared.name][u],e.options&&(t.modifierOffsets[u]=a[u].setOffset(e))}},setAll:function(e){var t=e.interaction,n=e.statuses,r=e.preEnd,i=e.requireEndOnly,c={dx:0,dy:0,changed:!1,locked:!1,shouldMove:!0};e.modifiedCoords=o({},e.pageCoords);for(var u=0;u<a.names.length;u++){var l=a.names[u],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,c.dx+=e.status.dx,c.dy+=e.status.dy,c.locked=!0))}return c.shouldMove=!e.status||!c.locked||e.status.changed,c},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],o=t.target.options[t.prepared.name][i];if(s(o,!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 c=a[s];r.status=n.modifierStatuses[s],t[s]=c.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),c=s(o.restriction,n,a);if(!c)return r;r.dx=0,r.dy=0,r.locked=!1;var u=c,l=a.x,d=a.y,f=n.modifierOffsets.restrict;"x"in c&&"y"in c?(l=Math.max(Math.min(u.x+u.width-f.right,a.x),u.x+f.left),d=Math.max(Math.min(u.y+u.height-f.bottom,a.y),u.y+f.top)):(l=Math.max(Math.min(u.right-f.right,a.x),u.left+f.left),d=Math.max(Math.min(u.bottom-f.bottom,a.y),u.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"),c=e("./restrict"),u=c.getRestrictionRect,l={top:1/0,left:1/0,bottom:-1/0,right:-1/0},d={top:-1/0,left:-1/0,bottom:1/0,right:1/0},f={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,c=n.prepared.linkedEdges||n.prepared.edges;if(n.interacting()&&c){var f=r.useStatusXY?{x:r.x,y:r.y}:i.extend({},t),h=o.xywhToTlbr(u(s.inner,n,f))||l,p=o.xywhToTlbr(u(s.outer,n,f))||d,m=f.x,v=f.y;r.dx=0,r.dy=0,r.locked=!1,c.top?v=Math.min(Math.max(p.top+a.top,f.y),h.top+a.top):c.bottom&&(v=Math.max(Math.min(p.bottom-a.bottom,f.y),h.bottom-a.bottom)),c.left?m=Math.min(Math.max(p.left+a.left,f.x),h.left+a.left):c.right&&(m=Math.max(Math.min(p.right-a.right,f.x),h.right-a.right)),r.dx=m-f.x,r.dy=v-f.y,r.changed=r.modifiedX!==m||r.modifiedY!==v,r.locked=!(!r.dx&&!r.dy),r.modifiedX=m,r.modifiedY=v}},modifyCoords:function(e){var t=e.page,n=e.client,r=e.status,i=e.phase,o=e.options;if(o&&o.enabled&&("start"!==i||!r.locked)&&r.locked)return t.x+=r.dx,t.y+=r.dy,n.x+=r.dx,n.y+=r.dy,{dx:r.dx,dy:r.dy}},noInner:l,noOuter:d,getRestrictionRect:u};r.restrictEdges=f,r.names.push("restrictEdges"),a.perAction.restrictEdges=f.defaults,s.defaults.restrictEdges=f.defaults,t.exports=f},{"../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"),c=e("../actions/resize"),u={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){var t=e.interaction;return t.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),c=a.tlbrToXywh(i.getRestrictionRect(n.min,t))||u,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-c.height,e.options.outer.top=s.bottom-d.height):r.bottom&&(e.options.inner.bottom=s.top+c.height,e.options.outer.bottom=s.top+d.height),r.left?(e.options.inner.left=s.right-c.width,e.options.outer.left=s.right-d.width):r.right&&(e.options.inner.right=s.left+c.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,c.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,c=[],u=o.rectToXY(o.resolveRectLike(s.origin)),l=u||o.getOriginXY(n,r,t.prepared.name);s=s||n.options[t.prepared.name].snap||{};var d=void 0;if("startCoords"===s.offset)d={x:t.startCoords.page.x-l.x,y:t.startCoords.page.y-l.y};else{var f=o.resolveRectLike(s.offset,n,r,[t]);d=o.rectToXY(f)||{x:0,y:0}}if(i&&s.relativePoints&&s.relativePoints.length)for(var h=0;h<s.relativePoints.length;h++){var p=s.relativePoints[h],m=p.x,v=p.y;c.push({x:a.left-i.width*m+d.x,y:a.top-i.height*v+d.y})}else c.push(d);return c},set:function(e){var t=e.interaction,n=e.modifiedCoords,r=e.status,i=e.options,a=e.offset,s=[],c=void 0,u=void 0,l=void 0;if(r.useStatusXY)u={x:r.x,y:r.y};else{var d=o.getOriginXY(t.target,t.element,t.prepared.name);(u=o.extend({},n)).x-=d.x,u.y-=d.y}r.realX=u.x,r.realY=u.y;for(var f=i.targets?i.targets.length:0,h=0;h<a.length;h++)for(var p=a[h],m=p.x,v=p.y,g=u.x-m,y=u.y-v,b=0;b<(i.targets||[]).length;b++){var _=(i.targets||[])[b];(c=o.is.function(_)?_(g,y,t):_)&&s.push({x:o.is.number(c.x)?c.x+m:g,y:o.is.number(c.y)?c.y+v:y,range:o.is.number(c.range)?c.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 x=(c=s[l]).range,k=c.x-u.x,E=c.y-u.y,S=o.hypot(k,E),T=S<=x;x===1/0&&w.inRange&&w.range!==1/0&&(T=!1),w.target&&!(T?w.inRange&&x!==1/0?S/x<w.distance/w.range:x===1/0&&w.range!==1/0||S<w.distance:!w.inRange&&S<w.distance)||(w.target=c,w.distance=S,w.range=x,w.inRange=T,w.dx=k,w.dy=E,r.range=x)}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),c=Math.round((n-a)/e.y),u=Math.max(r.left,Math.min(r.right,s*e.x+i)),l=Math.max(r.top,Math.min(r.bottom,c*e.y+a));return{x:u,y:l,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/"),c={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),c=a.x-r[0].x,u=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(c,u,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=c,r.names.push("snapSize"),o.perAction.snapSize=c.defaults,a.defaults.snapSize=c.defaults,t.exports=c},{"../actions/resize":10,"../defaultOptions":18,"../utils/":44,"./base":23,"./snap":27}],29:[function(e,t,n){"use strict";var r=e("../utils/pointerUtils");t.exports=function(){function e(t,n,i,o,a){if(function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),r.pointerExtend(this,i),i!==n&&r.pointerExtend(this,n),this.interaction=a,this.timeStamp=(new Date).getTime(),this.originalEvent=i,this.type=t,this.pointerId=r.getPointerId(n),this.pointerType=r.getPointerType(n),this.target=o,this.currentTarget=null,"tap"===t){var s=a.getPointerIndex(n);this.dt=this.timeStamp-a.downTimes[s];var c=this.timeStamp-a.tapTime;this.double=!!(a.prevTap&&"doubletap"!==a.prevTap.type&&a.prevTap.target===this.target&&c<500)}else"doubletap"===t&&(this.dt=n.timeStamp-a.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(),c=["down","up","cancel"],u=["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,c=e.type,u=void 0===c?e.pointerEvent.type:c,l=e.targets,h=void 0===l?f(e):l,p=e.pointerEvent,m=void 0===p?new r(u,n,i,a,t):p,v={interaction:t,pointer:n,event:i,eventTarget:a,targets:h,type:u,pointerEvent:m},g=0;g<h.length;g++){var y=h[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<h.length&&h[g+1].element!==m.currentTarget)break}if(s.fire("fired",v),"tap"===u){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,c=t.getPointerIndex(n);if("tap"===a&&(t.pointerWasMoved||!t.downTargets[c]||t.downTargets[c]!==i))return[];for(var u=o.getPath(i),l={interaction:t,pointer:n,event:r,eventTarget:i,type:a,path:u,targets:[],element:null},d=0;d<u.length;d++){var f=u[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[c].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,c=t.holdTimers[a],u=o.getPath(i),l={interaction:t,pointer:n,event:r,eventTarget:i,type:"hold",targets:[],path:u,element:null},f=0;f<u.length;f++){var h=u[f];l.element=h,s.fire("collect-targets",l)}if(l.targets.length){for(var p=1/0,m=0;m<l.targets.length;m++){var v=l.targets[m],g=v.eventable.options.holdDuration;g<p&&(p=g)}c.duration=p,c.timeout=setTimeout(function(){d({interaction:t,eventTarget:i,pointer:n,event:r,type:"hold"})},p)}}),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 h=["up","cancel"],p=0;p<h.length;p++){var m=h[p];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,o=t.eventTarget;d({interaction:n,eventTarget:o,pointer:r,event:i,type:e})}}for(var g=0;g<c.length;g++)i.signals.on(c[g],v(u[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",c),r.signals.on("fired",u);for(var o=["move","up","cancel","endall"],a=0;a<o.length;a++){var s=o[a];i.signals.on(s,l)}function c(e){var t=e.pointerEvent;"hold"===t.type&&(t.count=(t.count||0)+1)}function u(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:c,onFired:u,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"),c=e("../utils/arr"),u=c.merge;r.signals.on("collect-targets",function(e){var t=e.targets,n=e.element,r=e.type,i=e.eventTarget;a.interactables.forEachMatch(n,function(e){var a=e.events,s=a.options;a[r]&&o.element(n)&&e.testIgnoreAllow(s,n,i)&&t.push({element:n,eventable:a,props:{interactable:e}})})}),i.signals.on("new",function(e){var t=e.interactable;t.events.getRect=function(e){return t.getRect(e)}}),i.signals.on("set",function(e){var t=e.interactable,n=e.options;s(t.events.options,r.defaults),s(t.events.options,n)}),u(i.eventTypes,r.types),i.prototype.pointerEvents=function(e){return s(this.events.options,e),this};var l=i.prototype._backCompatOption;i.prototype._backCompatOption=function(e,t){var n=l.call(this,e,t);return n===this&&(this.events.options[e]=t),n},i.settingsMethods.push("pointerEvents")},{"../Interactable":4,"../scope":33,"../utils/arr":35,"../utils/extend":41,"../utils/is":46,"./base":30}],33:[function(e,t,n){"use strict";var r=e("./utils"),i=e("./utils/events"),o=e("./utils/Signals").new(),a=e("./utils/window"),s=a.getWindow,c={signals:o,events:i,utils:r,document:e("./utils/domObjects").document,documents:[],addDocument:function(e,t){if(r.contains(c.documents,e))return!1;t=t||s(e),c.documents.push(e),i.documents.push(e),e!==c.document&&i.add(t,"unload",c.onWindowUnload),o.fire("add-document",{doc:e,win:t})},removeDocument:function(e,t){var n=c.documents.indexOf(e);t=t||s(e),i.remove(t,"unload",c.onWindowUnload),c.documents.splice(n,1),i.documents.splice(n,1),o.fire("remove-document",{win:t,doc:e})},onWindowUnload:function(){c.removeDocument(this.document,this)}};t.exports=c},{"./utils":44,"./utils/Signals":34,"./utils/domObjects":38,"./utils/events":40,"./utils/window":52}],34:[function(e,t,n){"use strict";var r=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(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++){var i=n[r];if(!1===i(t,e))return}},e}();r.new=function(){return new r},t.exports=r},{}],35:[function(e,t,n){"use strict";t.exports={contains:function(e,t){return-1!==e.indexOf(t)},merge:function(e,t){for(var n=0;n<t.length;n++){var r=t[n];e.push(r)}return e}}},{}],36:[function(e,t,n){"use strict";var r=e("./window"),i=r.window,o=e("./is"),a=e("./domObjects"),s=a.Element,c=i.navigator,u={supportsTouch:!!("ontouchstart"in i||o.function(i.DocumentTouch)&&a.document instanceof i.DocumentTouch),supportsPointerEvent:!!a.PointerEvent,isIOS:/iP(hone|od|ad)/.test(c.platform),isIOS7:/iP(hone|od|ad)/.test(c.platform)&&/OS 7[^\d]/.test(c.appVersion),isIe9:/MSIE 9/.test(c.userAgent),prefixedMatchesSelector:"matches"in s.prototype?"matches":"webkitMatchesSelector"in s.prototype?"webkitMatchesSelector":"mozMatchesSelector"in s.prototype?"mozMatchesSelector":"oMatchesSelector"in s.prototype?"oMatchesSelector":"msMatchesSelector",pEventTypes:a.PointerEvent?a.PointerEvent===i.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 a.document?"mousewheel":"wheel"};u.isOperaMobile="Opera"===c.appName&&u.supportsTouch&&c.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,c=void 0,u=void 0,l=void 0;for(u=1;u<e.length;u++)if((r=e[u])&&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(c=d[0].lastChild;c;){if(c===d[1]){i=r,o=u,t=[];break}if(c===d[2])break;c=c.previousSibling}}else i=r,o=u}else i=r,o=u;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"),c=e("./window"),u=c.window,l=e("./arr"),d=l.contains,f=[],h=[],p={},m=[],v=(r=!1,u.document.createElement("div").addEventListener("test",null,{get capture(){r=!0}}),r);function g(e,t,n,r){var i=x(r),o=f.indexOf(e),a=h[o];a||(a={events:{},typeCount:0},o=f.push(e)-1,h.push(a)),a.events[t]||(a.events[t]=[],a.typeCount++),d(a.events[t],n)||(e.addEventListener(t,n,v?i:!!i.capture),a.events[t].push(n))}function y(e,t,n,r){var i=x(r),o=f.indexOf(e),a=h[o];if(a&&a.events)if("all"!==t){if(a.events[t]){var s=a.events[t].length;if("all"===n){for(var c=0;c<s;c++)y(e,t,a.events[t][c],i);return}for(var u=0;u<s;u++)if(a.events[t][u]===n){e.removeEventListener("on"+t,n,v?i:!!i.capture),a.events[t].splice(u,1);break}a.events[t]&&0===a.events[t].length&&(a.events[t]=null,a.typeCount--)}a.typeCount||(h.splice(o,1),f.splice(o,1))}else for(t in a.events)a.events.hasOwnProperty(t)&&y(e,t,"all")}function b(e,t){var n=x(t),r={},c=p[e.type],u=a.getEventTargets(e),l=u[0],d=l;for(s(r,e),r.originalEvent=e,r.preventDefault=w;i.element(d);){for(var f=0;f<c.selectors.length;f++){var h=c.selectors[f],m=c.contexts[f];if(o.matchesSelector(d,h)&&o.nodeContains(m,l)&&o.nodeContains(m,d)){var v=c.listeners[f];r.currentTarget=d;for(var g=0;g<v.length;g++){var y=v[g],b=y[0],_=y[1],k=y[2];_===!!n.capture&&k===n.passive&&b(r)}}}d=o.parentNode(d)}}function _(e){return b.call(this,e,!0)}function w(){this.originalEvent.preventDefault()}function x(e){return i.object(e)?e:{capture:e}}t.exports={add:g,remove:y,addDelegate:function(e,t,n,r,i){var o=x(i);if(!p[n]){p[n]={selectors:[],contexts:[],listeners:[]};for(var a=0;a<m.length;a++){var s=m[a];g(s,n,b),g(s,n,_,!0)}}var c=p[n],u=void 0;for(u=c.selectors.length-1;u>=0&&(c.selectors[u]!==e||c.contexts[u]!==t);u--);-1===u&&(u=c.selectors.length,c.selectors.push(e),c.contexts.push(t),c.listeners.push([])),c.listeners[u].push([r,!!o.capture,o.passive])},removeDelegate:function(e,t,n,r,i){var o=x(i),a=p[n],s=!1,c=void 0;if(a)for(c=a.selectors.length-1;c>=0;c--)if(a.selectors[c]===e&&a.contexts[c]===t){for(var u=a.listeners[c],l=u.length-1;l>=0;l--){var d=u[l],f=d[0],h=d[1],m=d[2];if(f===r&&h===!!o.capture&&m===o.passive){u.splice(l,1),u.length||(a.selectors.splice(c,1),a.contexts.splice(c,1),a.listeners.splice(c,1),y(t,n,b),y(t,n,_,!0),a.selectors.length||(p[n]=null)),s=!0;break}}if(s)break}},delegateListener:b,delegateUseCapture:_,delegatedEvents:p,documents:m,supportsOptions:v,_elements:f,_targets:h}},{"./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,s=a||e.options.origin,c=i(s,e,t,[e&&t]);return o(c)||{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=i.getPointerId(e),s={pointer:e,pointerId:a,pointerType:r,eventType:t,eventTarget:n},c=0;c<o.methodOrder.length;c++){var u=o.methodOrder[c],l=o[u](s);if(l)return l}},simulationResume:function(e){var t=e.pointerType,n=e.eventType,o=e.eventTarget;if(!/down|start/i.test(n))return null;for(var a=0;a<r.interactions.length;a++){var s=r.interactions[a],c=o;if(s.simulation&&s.simulation.allowResume&&s.pointerType===t)for(;c;){if(c===s.element)return s;c=i.parentNode(c)}}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 c=r.interactions[s];if(c.pointerType===n){if(c.simulation&&!i.contains(c.pointerIds,t))continue;if(c.interacting())return c;a||(a=c)}}if(a)return a;for(var u=0;u<r.interactions.length;u++){var l=r.interactions[u];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"),c=e("./is"),u=e("./pointerExtend"),l={copyCoords:function(e,t){e.page=e.page||{},e.page.x=t.page.x,e.page.y=t.page.y,e.client=e.client||{},e.client.x=t.client.x,e.client.y=t.client.y,e.timeStamp=t.timeStamp},setCoordDeltas:function(e,t,n){e.page.x=n.page.x-t.page.x,e.page.y=n.page.y-t.page.y,e.client.x=n.client.x-t.client.x,e.client.y=n.client.y-t.client.y,e.timeStamp=n.timeStamp-t.timeStamp;var i=Math.max(e.timeStamp/1e3,.001);e.page.speed=r(e.page.x,e.page.y)/i,e.page.vx=e.page.x/i,e.page.vy=e.page.y/i,e.client.speed=r(e.client.x,e.page.y)/i,e.client.vx=e.client.x/i,e.client.vy=e.client.y/i},isNativePointer:function(e){return e instanceof o.Event||e instanceof o.Touch},getXY:function(e,t,n){return e=e||"page",(n=n||{}).x=t[e+"X"],n.y=t[e+"Y"],n},getPageXY:function(e,t){return t=t||{},i.isOperaMobile&&l.isNativePointer(e)?(l.getXY("screen",e,t),t.x+=window.scrollX,t.y+=window.scrollY):l.getXY("page",e,t),t},getClientXY:function(e,t){return t=t||{},i.isOperaMobile&&l.isNativePointer(e)?l.getXY("screen",e,t):l.getXY("client",e,t),t},getPointerId:function(e){return c.number(e.pointerId)?e.pointerId:e.identifier},setCoords:function(e,t,n){var r=t.length>1?l.pointerAverage(t):t[0],i={};l.getPageXY(r,i),e.page.x=i.x,e.page.y=i.y,l.getClientXY(r,i),e.client.x=i.x,e.client.y=i.y,e.timeStamp=c.number(n)?n:(new Date).getTime()},pointerExtend:u,getTouchPair:function(e){var t=[];return c.array(e)?(t[0]=e[0],t[1]=e[1]):"touchend"===e.type?1===e.touches.length?(t[0]=e.touches[0],t[1]=e.changedTouches[0]):0===e.touches.length&&(t[0]=e.changedTouches[0],t[1]=e.changedTouches[1]):(t[0]=e.touches[0],t[1]=e.touches[1]),t},pointerAverage:function(e){for(var t={pageX:0,pageY:0,clientX:0,clientY:0,screenX:0,screenY:0},n=0;n<e.length;n++){var r=e[n];for(var i in t)t[i]+=r[i]}for(var o in t)t[o]/=e.length;return t},touchBBox:function(e){if(e.length||e.touches&&e.touches.length>1){var t=l.getTouchPair(e),n=Math.min(t[0].pageX,t[1].pageX),r=Math.min(t[0].pageY,t[1].pageY),i=Math.max(t[0].pageX,t[1].pageX),o=Math.max(t[0].pageY,t[1].pageY);return{x:n,y:r,left:n,top:r,width:i-n,height:o-r}}},touchDistance:function(e,t){var n=t+"X",i=t+"Y",o=l.getTouchPair(e),a=o[0][n]-o[1][n],s=o[0][i]-o[1][i];return r(a,s)},touchAngle:function(e,t,n){var r=n+"X",i=n+"Y",o=l.getTouchPair(e),a=o[1][r]-o[0][r],s=o[1][i]-o[0][i],c=180*Math.atan2(s,a)/Math.PI;return c},getPointerType:function(e){return c.string(e.pointerType)?e.pointerType:c.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=c.function(e.composedPath)?e.composedPath():e.path;return[a.getActualElement(t?t[0]:e.target),a.getActualElement(e.currentTarget)]}};t.exports=l},{"./browser":36,"./domObjects":38,"./domUtils":39,"./hypot":43,"./is":46,"./pointerExtend":48}],50:[function(e,t,n){"use strict";for(var r=e("./window"),i=r.window,o=["ms","moz","webkit","o"],a=0,s=void 0,c=void 0,u=0;u<o.length&&!i.requestAnimationFrame;u++)s=i[o[u]+"RequestAnimationFrame"],c=i[o[u]+"CancelAnimationFrame"]||i[o[u]+"CancelRequestAnimationFrame"];s||(s=function(e){var t=(new Date).getTime(),n=Math.max(0,16-(t-a)),r=setTimeout(function(){e(t+n)},n);return a=t+n,r}),c||(c=function(e){clearTimeout(e)}),t.exports={request:s,cancel:c}},{"./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,c=o.getElementRect,u={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=u.getStringOptionResult(e,t,n)||e,i.function(e)&&(e=e.apply(null,r)),i.element(e)&&(e=c(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=u},{"./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)},function(e,t,n){"use strict";n.d(t,"a",function(){return d});var r=n(7),i=n.n(r),o=n(24),a=n.n(o),s=n(111),c=n.n(s),u=c()(function(e){return e.preventDefault()}),l=c()(function(e){return e.stopPropagation()}),d=i()(l,u);a()(["target","value"])},function(e,t,n){"use strict";(function(e){n.d(t,"a",function(){return me}),n.d(t,"b",function(){return ve});var r=n(3),i=n.n(r),o=n(52),a=n.n(o),s=n(36),c=n.n(s),u=n(53),l=n.n(u),d=n(35),f=n.n(d),h=n(38),p=n.n(h),m=n(8),v=n(9),g=n(10),y=n(6),b=n(11),_=n(13),w=n(5),x=n(15),k=n.n(x),E=(n(1962),n(84)),S=n(165),T=n.n(S),C=n(16),O=n.n(C),j=n(185),A=n.n(j),P=n(2),M=n.n(P),N=n(33),L=n.n(N),I=n(37),D=n.n(I),R=n(49),B=n.n(R),F=n(65),U=n.n(F),q=n(48),z=n.n(q),H=n(31),V=n.n(H),W=n(261),Y=n.n(W),G=n(28),K=n.n(G),$=n(349),X=n.n($),Q=n(17),Z=n.n(Q),J=n(1),ee=n.n(J),te=n(178),ne=n.n(te),re=n(64),ie=n.n(re),oe=n(149),ae=n.n(oe),se=n(567),ce=n(1173),ue=n(85),le=n(720),de=n(551);function fe(e,t){var n=a()(e);if(c.a){var r=c()(e);t&&(r=l()(r).call(r,function(t){return f()(e,t).enumerable})),n.push.apply(n,r)}return n}function he(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?fe(Object(n),!0).forEach(function(t){Object(m.a)(e,t,n[t])}):p.a?Object.defineProperties(e,p()(n)):fe(Object(n)).forEach(function(t){Object.defineProperty(e,t,f()(n,t))})}return e}function pe(e){var t=function(){if("undefined"==typeof Reflect||!i.a)return!1;if(i.a.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=Object(w.a)(e);if(t){var o=Object(w.a)(this).constructor;n=i()(r,arguments,o)}else n=r.apply(this,arguments);return Object(_.a)(this,n)}}var me=function(t){Object(b.a)(r,t);var n=pe(r);function r(e){var t;return Object(v.a)(this,r),(t=n.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}},t.handleIntersect=t.handleIntersect.bind(Object(y.a)(t)),t.handleRestart=t.handleRestart.bind(Object(y.a)(t)),t.handleScroll=t.handleScroll.bind(Object(y.a)(t)),t.renderStep=t.renderStep.bind(Object(y.a)(t)),t.setArrows=t.setArrows.bind(Object(y.a)(t)),t.setHeight=t.setHeight.bind(Object(y.a)(t)),t.setPosition=t.setPosition.bind(Object(y.a)(t)),t.setWidth=t.setWidth.bind(Object(y.a)(t)),t.slideTo=t.slideTo.bind(Object(y.a)(t)),t.observer=new IntersectionObserver(t.handleIntersect,{rootMargin:"10000px"}),t}return Object(g.a)(r,[{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=ae()(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=Object(E.findDOMNode)(this.refs["slide-0"]).offsetHeight,a=this.container===window?"body, html":this.container,s=K()(this.state.arrow,{hidden:"prev"}),c=K()(this.state.scroll),u={active:!1,auto:!1,end:!1},l=K()(this.state.slide,{fade:!0}),d={active:!1,current:0,fade:!0,previous:r.length-1},f=K()(d,{fade:!1}),h=function(){e.setState({scroll:u,slide:d}),e.afterSlideRef=setTimeout(e.setArrows,300)};this.setState({scroll:c({auto:!0}),slide:l,style:{height:o}},function(){T()(a).stop().animate({scrollTop:i},300,h)}),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=Object(E.findDOMNode)(this.refs["slide-".concat(r)]),a=Object(E.findDOMNode)(this.refs["arrow-".concat(i)]),s=a&&a.firstChild||null;if(!n.auto&&o&&s){var c=o.getBoundingClientRect(),u=c.height,l=c.top,d=s.getBoundingClientRect().top,f=460-u,h=.005*(l-f+200),p=K()(n),m=K()(t);l<80&&l>f?this.setState({scroll:p({active:!0,end:!1})}):l<=f?this.setState({scroll:p({active:!1,end:!0}),arrow:m({opacity:h,top:d})}):this.setState({scroll:p({active:!1,end:!1}),arrow:m({opacity:h,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 t=this,n=this.props,r=n.menuOpen,i=n.steps,o=this.state,a=o.initiating,s=o.sidebar,c=o.slide,u=o.style,l=c.current,d=c.fade,f=i.length,h=l===f-1,p=0===l,m=Math.min(f-22,l-11),v=Math.max(24-l,l+12,23),g=p?0:Math.max(0,m),y=h?f:Math.min(f,v),b=ne()(g,y,i),_=f<23?b:X()(i[0],b),w=M()("process-block",{"process-block--with-sidebar":r&&s>0}),x={className:M()("process-block__inner",{"process-block__inner--fade":d||a}),ref:function(e){return t.inner=e},style:u};return e.createElement("div",{className:w},e.createElement("div",x,this.renderArrow("prev"),h?k()(_).call(_,this.renderStep):k()(b).call(b,this.renderStep),this.renderArrow("next")))}},{key:"renderArrow",value:function(t){var n=this.state,r=n.arrow,i=n.scroll,o=n.sidebar,a=n.slide,s=this.props,c=s.menuOpen,u=s.steps,l=this.container&&this.container!==window,d=u.length>1?r.hidden:"both",f=he(he({},r),{},{hidden:d,isSliding:a.active,offset:l?this.container.offsetWidth-this.container.clientWidth:0,onClick:this.handleSlide.bind(this,t),opacity:r.opacity>=0?r.opacity:0,ref:"arrow-".concat(t),scroll:i,sidebar:c?o:0,type:t});return e.createElement(ce.a,f)}},{key:"renderStep",value:function(t){var n=t.description,r=t.id,i=t.index,o=t.media,a=t.title,s=t.type,c=this.props,u=c.blockId,l=c.enableVideoPlaybackSpeed,d=c.entered,f=c.labels,h=c.settings,p=c.steps,m=this.state,v=m.initiating,g=m.position,y=m.slide,b=m.width,_=y.current,w=y.fade,x=y.previous,k=b.card,E=b.wrapper,S=function(e){return!V()(U()(Z()("type",e),p))},T=S("intro"),C=S("summary"),O=T?i:i+1,j=B()(Z()("type","step"),p).length+1,A={blockId:u,current:_,description:n,enableVideoPlaybackSpeed:l,entered:d,fade:w,hasNavigation:p.length>1,id:r,index:i,initiating:v,key:i,labels:f,media:o,onMediaLoad:this.setHeight,onNextClick:this.handleSlide.bind(this,"next"),onRestartClick:this.handleRestart,number:O,position:g,previous:x,ref:"slide-".concat(i),settings:h,title:a,type:s,width:k,wrapperWidth:E},P={current:_,hasSummary:C,isFirst:!T,length:j,slideTo:this.slideTo};return e.createElement(se.a,A,e.createElement(le.a,P))}},{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",c=Object(E.findDOMNode)(this.refs["slide-".concat(o)]),u=Object(E.findDOMNode)(this.refs["arrow-".concat(s)]),l=u&&u.firstChild||null,d=z()(Y.a),f=a?i:0,h=window.innerWidth;if(c&&l){var p=c.getBoundingClientRect(),m=p.height,v=p.left,g=p.width,y=l.getBoundingClientRect(),b=y.top,_=(h-g-v)/2-y.width,w=L()([[d(1280+f),O()(_+20)],[d(1350+f),O()(_)],[ie.a,O()(v-f-170)]])(h),x=L()([[d(1280+f),O()(_+20)],[d(1350+f),O()(_+40)],[ie.a,O()(v-f-130)]])(h);this.setState({arrow:{absolute:w,bottom:m-220,fixed:x,hidden:n,opacity:r,top:b}})}}},{key:"setHeight",value:function(e){var t=this.state.slide.current,n=Object(E.findDOMNode)(this.refs["slide-".concat(t)]),r="function"==typeof e?e:O.a;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=Object(E.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,c=a&&(o-i)/2+1.5*i,u={card:n&&n.offsetWidth,wrapper:t&&t.offsetWidth},l={prev:c,next:s};t&&n&&this.setState({position:l,sidebar:r,width:u})}},{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(),c=Object(E.findDOMNode)(this.refs["slide-".concat(e)]).offsetHeight,u=this.container===window?"body, html":this.container,l=K()(this.state.scroll),d={active:!1,auto:!1,end:!1},f=K()(this.state.arrow),h=K()({current:e,previous:t,fade:!1}),p=a[e],m=L()([[D()(0),O()({hidden:"prev"})],[D()(a.length-1),O()({hidden:"next"})],[ie.a,O()({hidden:null})]])(e),v=function(){n.setState({scroll:d}),n.afterSlideRef=setTimeout(n.setArrows,400)};this.setState({scroll:l({auto:!0}),slide:h({active:!0}),style:{height:c}},function(){T()(u).stop().animate({scrollTop:s},300,v)}),this.slideRef=setTimeout(function(){return n.setState({slide:h({active:!1})})},600),this.arrowAnimRef=setTimeout(function(){return n.setState({arrow:f(m)})},300),o&&o(p)}}}],[{key:"propTypes",get:function(){return{blockId:ee.a.string.isRequired,entered:ee.a.bool,getScrollTop:ee.a.func.isRequired,isPreview:ee.a.bool,labels:ee.a.object.isRequired,menuOpen:ee.a.bool,onStep:ee.a.func,settings:ee.a.object.isRequired,steps:ee.a.array.isRequired,visible:ee.a.bool}}}]),r}(e.Component),ve=function(t){Object(b.a)(r,t);var n=pe(r);function r(e){var t;return Object(v.a)(this,r),(t=n.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},t.handleRestart=t.handleRestart.bind(Object(y.a)(t)),t.preventScroll=t.preventScroll.bind(Object(y.a)(t)),t.renderStep=t.renderStep.bind(Object(y.a)(t)),t.setHeight=t.setHeight.bind(Object(y.a)(t)),t.setPosition=t.setPosition.bind(Object(y.a)(t)),t.setWidth=t.setWidth.bind(Object(y.a)(t)),t}return Object(g.a)(r,[{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=Object(de.a)(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"),T()(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(),c="next"===e?a+1:a-1;if(!(c<=-1||c>=o.length)){var u=o[c],l=this.container===window?"body, html":this.container,d=this.refs["slide-".concat(c)],f=d&&d.firstChild.offsetHeight||null,h=function(){t.preventScroll("end"),t.showHelp()};this.setState({current:c,height:f},function(){t.preventScroll("start"),T()(l).stop().animate({scrollTop:s},300,h)}),i&&i(u)}}},{key:"preventScroll",value:function(e){this.container!==window&&("start"===e&&ue.a.isMobile?this.container.style.overflowY="hidden":this.container.style.overflowY="")}},{key:"render",value:function(){var t=this,n=this.props.steps,r=this.state,i=r.current,o=r.fade,a=r.height,s=r.initiating,c=n.length,u=i===c-1,l=0===i?0:i-1,d=u?c:i+2,f=ne()(l,d,n),h=c<3?f:A()(n[0],f),p={className:M()("process-block-mobile__inner",{"process-block-mobile__inner--fade":o,"process-block-mobile__inner--initiating":s}),ref:function(e){return t.inner=e},style:a?{height:a}:null};return e.createElement("div",{className:"process-block-mobile"},e.createElement("div",p,u?k()(h).call(h,this.renderStep):k()(f).call(f,this.renderStep)))}},{key:"renderStep",value:function(t){var n=t.description,r=t.id,i=t.index,o=t.media,a=t.title,s=t.type,c=this.props,u=c.blockId,l=c.enableVideoPlaybackSpeed,d=c.entered,f=c.labels,h=c.settings,p=c.steps,m=c.visible,v=this.state,g=v.current,y=v.help,b=v.helped,_=v.initiating,w=function(e){return!V()(U()(Z()("type",e),p))},x=w("intro"),k=w("summary"),E=x?i:i+1,S=B()(Z()("type","step"),p).length+1,T={blockId:u,current:g,description:n,enableVideoPlaybackSpeed:l,entered:m&&d,hasNavigation:p.length>1,id:r,index:i,initiating:_,labels:f,media:o,onMediaLoad:this.setHeight,onNextClick:this.handleSlide.bind(this,"next"),onRestartClick:this.handleRestart,number:E,settings:h,showHelp:y&&b,title:a,type:s,width:this.inner&&this.inner.offsetWidth},C={current:g,hasSummary:k,isFirst:!x,length:S};return e.createElement("div",{key:i,ref:"slide-".concat(i)},e.createElement(se.b,T,e.createElement(le.a,C)))}},{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:O.a;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!==(!V()(U()(Z()("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:ee.a.string.isRequired,entered:ee.a.bool,getScrollTop:ee.a.func.isRequired,isPreview:ee.a.bool,menuOpen:ee.a.bool,onStep:ee.a.func,settings:ee.a.object.isRequired,steps:ee.a.array.isRequired,visible:ee.a.bool}}}]),r}(e.Component)}).call(this,n(0))},function(e,t,n){"use strict";(function(e){n.d(t,"a",function(){return N});var r=n(3),i=n.n(r),o=n(9),a=n(10),s=n(11),c=n(13),u=n(5),l=n(15),d=n.n(l),f=(n(1965),n(16)),h=n.n(f),p=n(2),m=n.n(p),v=n(33),g=n.n(v),y=n(427),b=n.n(y),_=n(31),w=n.n(_),x=n(261),k=n.n(x),E=n(1),S=n.n(E),T=n(425),C=n.n(T),O=n(64),j=n.n(O),A=n(32),P=n(85);function M(e){var t=function(){if("undefined"==typeof Reflect||!i.a)return!1;if(i.a.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=Object(u.a)(e);if(t){var o=Object(u.a)(this).constructor;n=i()(r,arguments,o)}else n=r.apply(this,arguments);return Object(c.a)(this,n)}}var N=function(t){Object(s.a)(r,t);var n=M(r);function r(){return Object(o.a)(this,r),n.apply(this,arguments)}return Object(a.a)(r,[{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(),c=a.offsetLeft+5,u=o.offsetWidth,l=this.counter.offsetWidth,d=s-l/2+u/2,f=c-l+u/2;return{lastItemPosition:c,position:g()([[b()(l/2),h()(0)],[k()(c-l/2),h()(f)],[j.a,h()(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 t,n=this,r=this.props,i=r.hasSummary,o=r.length,a=this.getCounterPosition(),s=a.lastItemPosition,c=a.position,u=a.width,l=this.getItemPosition(),f=i?o+1:o,h=m()("process-counter",{"process-counter--overflow-before":c>0,"process-counter--overflow-after":s>c+u}),p={transform:"translate3d(-".concat(c,"px, 0px, 0px)")},v={opacity:1,transform:"translate3d(".concat(l,"px, 0px, 0px)")},g={className:"process-counter__inner",style:!w()(c)&&c>0?p:{transform:"translate3d(0px, 0px, 0px)"},ref:function(e){return n.counter=e}},y={className:"process-counter__active brand--border",style:w()(l)?null:v};return e.createElement("div",{className:h},e.createElement("div",g,e.createElement("div",y),d()(t=C()(1,f)).call(t,this.renderItem.bind(this))))}},{key:"renderItem",value:function(t){var n=this.props,r=n.current,i=n.hasSummary,o=n.length,a=i&&t===o,s=n.isFirst?r+1:r,c=P.a.isMobile,u={className:m()("process-counter__item",{"process-counter__item--active":t===s,"process-counter__item--double":t>=10,"process-counter__item--disabled":c}),onClick:!c&&this.handleSlide.bind(this,t),key:t,ref:"item-".concat(t)};return e.createElement("div",u,e.createElement("span",null,a?e.createElement(A.d,null):t))}}],[{key:"propTypes",get:function(){return{current:S.a.number.isRequired,hasSummary:S.a.bool,isFirst:S.a.bool,length:S.a.number.isRequired,slideTo:S.a.func}}}]),r}(e.Component)}).call(this,n(0))},function(e,t,n){"use strict";n.d(t,"a",function(){return u});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(){return 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(){return 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(){return 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 c="__consolidated_events_handlers__";function u(e,t,n,r){e[c]||(e[c]=new s(e));var i=function(e){if(e)return o()?e:!!e.capture}(r);return e[c].add(t,n,i)}},function(e,t,n){"use strict";var r=n(8),i=n(101),o=n(15),a=n.n(o),s=(n(2636),n(2)),c=n.n(s),u=n(31),l=n.n(u),d=n(0),f=n.n(d),h=["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,c=e.onMouseDown,u=e.tabIndex,l=Object(i.a)(e,h);return f.a.createElement("button",{"aria-controls":t,"aria-expanded":n,"aria-hidden":r,"aria-label":o,"aria-pressed":a,className:m(l),"data-ba":l["data-ba"],disabled:l.disabled,onClick:s,onMouseDown:c,tabIndex:u},v(l.icon),g(l))},m=function(e){var t;return c()("button",(t={},Object(r.a)(t,e.className,!l()(e.className)),Object(r.a)(t,"button--default",void 0===e.mode),Object(r.a)(t,"button--extraPadding",e.extraPadding),Object(r.a)(t,"button--menu",e.menu),Object(r.a)(t,"button--menu button--menuMobile",e.mobileMenu),Object(r.a)(t,"button--sidebar brand--ui",e.sidebar),Object(r.a)(t,"button--header",e.header),Object(r.a)(t,"button--header-done",e.headerDone),Object(r.a)(t,"button--outline",e.outline),Object(r.a)(t,"button--outline button--outline-transparent",e.outlineTransparent),Object(r.a)(t,"button--condensed",e.condensed),Object(r.a)(t,"button--inverted",e.inverted),Object(r.a)(t,"button--inline","inline"===e.mode),Object(r.a)(t,"button--next",e.next),Object(r.a)(t,"button--disabled",e.disabled),Object(r.a)(t,"button--controls",e.controls),Object(r.a)(t,"brand--ui",e.accent),Object(r.a)(t,"brand--background brand--border",e.branded),t))},v=function(e){return e?f.a.createElement("i",{className:"button__icon icon-".concat(e)}):null},g=function(e){var t,n=e.onlyIcon,r=e.children;return a()(t=f.a.Children).call(t,r,function(e){return n&&void 0===e.type?null:e})};p.defaultProps={onClick:Function.prototype,onMouseDown:Function.prototype},t.a=p},function(e,t,n){"use strict";n.d(t,"a",function(){return o}),n.d(t,"b",function(){return a});var r=n(155),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")}},function(e,t,n){"use strict";n.d(t,"a",function(){return c});n(2723);var r=n(0),i=n.n(r),o=n(2),a=n.n(o),s=function(e){var t=a()("progress-bar__line",{"progress-bar__line-rounded":e.rounded}),n=a()("progress-bar",{"progress-bar-rounded":e.rounded,"progress-bar-lg":e.lg});return i.a.createElement("div",{className:n},i.a.createElement("div",{className:"progress-bar__percentage-top"},e.value,"% ",e.lessonComplete),i.a.createElement("div",{className:t},i.a.createElement("div",{className:"progress-bar__fill",style:{width:e.value+"%"}})),i.a.createElement("div",{className:"progress-bar__percentage-bottom"},e.value,"% ",e.lessonComplete))},c=i.a.createElement(s,{value:0,lessonComplete:"complete"}).type;t.b=s},function(e,t,n){"use strict";n.d(t,"a",function(){return gt}),n.d(t,"b",function(){return yt});var r=n(3),i=n.n(r),o=n(9),a=n(10),s=n(6),c=n(11),u=n(13),l=n(5),d=n(4),f=n.n(d),h=n(41),p=n.n(h),m=n(156),v=n.n(m),g=(n(1993),n(0)),y=n.n(g),b=n(554),_=n(139),w=n.n(_),x=n(7),k=n.n(x),E=n(437),S=n.n(E),T=n(23),C=n.n(T),O=n(555),j=n.n(O),A=n(443),P=n(77),M=n(44),N=n(15),L=n.n(N),I=(n(2135),n(66)),D=n.n(I),R=n(356),B=n.n(R),F=(n(2136),n(2)),U=n.n(F),q=n(31),z=n.n(q);function H(e){var t=function(){if("undefined"==typeof Reflect||!i.a)return!1;if(i.a.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=Object(l.a)(e);if(t){var o=Object(l.a)(this).constructor;n=i()(r,arguments,o)}else n=r.apply(this,arguments);return Object(u.a)(this,n)}}var V=function(e){Object(c.a)(n,e);var t=H(n);function n(){var e,r;Object(o.a)(this,n);for(var i=arguments.length,a=new Array(i),c=0;c<i;c++)a[c]=arguments[c];return(r=t.call.apply(t,f()(e=[this]).call(e,a))).handleMouseEnter=r.handleMouseEnter.bind(Object(s.a)(r)),r.handleMouseLeave=r.handleMouseLeave.bind(Object(s.a)(r)),r}return Object(a.a)(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=!z()(t)&&t!==r,s=U()("block-chart__cartesianLegendItem",{"block-chart__cartesianLegendItem--unfocused":a});return y.a.createElement("div",{className:s,onMouseEnter:this.handleMouseEnter,onMouseLeave:this.handleMouseLeave},y.a.createElement("dt",{className:"block-chart__cartesianLegendTerm"},n,"."),y.a.createElement("dd",{className:"block-chart__cartesianLegendDefn"},i,y.a.createElement("span",{className:"block-chart__cartesianLegendDefnPipe"},"|"),y.a.createElement("span",{className:"block-chart__cartesianLegendDefnVal"},o)))}}]),n}(g.PureComponent),W=function(e){var t=e.activeIndex,n=e.labels,r=e.letters,i=e.onEvent,o=v()(e),a=B()(r,B()(n,o));return D()(a)?null:y.a.createElement("dl",{"aria-hidden":"true",className:"block-chart__cartesianLegend"},L()(a).call(a,function(e,n){var r=Object(M.a)(e,2),o=r[0],a=Object(M.a)(r[1],2),s=a[0],c=a[1];return y.a.createElement(V,{activeIndex:t,identifier:o,index:n,key:o,label:s,onEvent:i,value:c})}))},Y=Object(g.memo)(W),G=n(556),K=n.n(G),$=n(72),X=function(e){var t=e.activeIndex,n=e.settings,r=n.backgroundColor,i=n.chartColor,o=n.lineCurve,a=v()(e),s=e.variant,c=i,u=i;if(!z()(t)){var l=K()(i,r||"#fff",.7);c=l,u=Object($.h)(l,i,a.length,t)}return"bar"===s?{backgroundColor:u,borderColor:c,data:a,hoverBackgroundColor:u,hoverBorderColor:u}:{borderColor:c,cubicInterpolationMode:"linear"===o?"default":"monotone",data:a,lineTension:"linear"===o?0:void 0,pointBackgroundColor:u,pointBorderColor:u,pointBorderWidth:0,pointHitRadius:20,pointHoverBackgroundColor:i,pointHoverBorderColor:i,pointHoverBorderWidth:0,pointRadius:4}},Q=n(442),Z=n.n(Q),J=n(186),ee=n.n(J),te=n(39),ne=n.n(te),re=n(288),ie=n.n(re)()(/([^\s].{0,14}(?![.{3}])(?=[\s\W]|$))/gm),oe=n(118),ae=function(e){var t,n=e[0],r=n.xLabel,i=n.yLabel,o=ne()(Z.a,ee()(" "),r);return f()(t="".concat(o,": ")).call(t,i)},se=function(e){var t=e.hasDarkBgColor,n=e.onEvent,r=e.shouldAnimate,i=v()(e);return{animation:{duration:r?1e3:0},defaultFontColor:t?"#fff":"#313537",defaultFontFamily:'"lato", sans-serif',elements:{line:{borderWidth:2,fill:!1}},layout:{padding:{bottom:0,left:0,right:0,top:50}},legend:{display:!1},onClick:n,onHover:n,plugins:{datalabels:{display:!1}},responsive:!1,scales:{xAxes:[{barPercentage:.6,gridLines:{color:t?"rgba(255, 255, 255, 0.2)":"rgba(0,0,0,0.1)",display:!1,drawBorder:!1,offsetGridLines:!0},maxBarThickness:60,offset:!0,scaleLabel:{display:!1},ticks:{autoSkip:!1,callback:ie,minor:{fontColor:t?"#fff":"#313537"},padding:10}}],yAxes:[{gridLines:{color:t?"rgba(255, 255, 255, 0.2)":"rgba(0,0,0,0.1)",drawBorder:!1,drawTicks:!1,zeroLineColor:Object(oe.a)(i)?t?"rgba(255, 255, 255, 0.4)":"rgba(0,0,0,0.25)":t?"rgba(255, 255, 255, 0.2)":"rgba(0,0,0,0.1)"},scaleLabel:{display:!1},ticks:{beginAtZero:!0,maxTicksLimit:8,minor:{fontColor:t?"#fff":"#313537"},padding:15}}]},tooltips:{backgroundColor:t?"#fff":"#000",callbacks:{label:function(){return null},title:ae},caretPadding:10,cornerRadius:3,displayColors:!1,titleFontColor:t?"#313537":"#fff",titleFontStyle:"normal",titleMarginBottom:0,titleSpacing:0,xAlign:"center",xPadding:14,yAlign:"bottom",yPadding:10}}},ce=n(127),ue=n.n(ce),le=n(14),de=n.n(le),fe=n(179),he=n.n(fe),pe=n(319),me=n.n(pe),ve=he()(/<mark>|<\/mark>/gm,""),ge=k()(function(e){return me()(e,{length:30})},ve,de()("type")),ye=k()(ue()(0),parseFloat,de()("value")),be=function(e){return{labels:L()(e).call(e,ge),values:L()(e).call(e,ye)}},_e=n(74),we=n.n(_e)()(function(e,t,n){var r=me()(t,{length:e});return n?Object(oe.e)(r,n):r}),xe={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)}},ke=function(e,t){var n=L()(t).call(t,function(e){var t;return f()(t="".concat(e.type,": ")).call(t,e.value)}).join(", ");return xe[e](n)},Ee=n(19);function Se(e){var t=function(){if("undefined"==typeof Reflect||!i.a)return!1;if(i.a.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=Object(l.a)(e);if(t){var o=Object(l.a)(this).constructor;n=i()(r,arguments,o)}else n=r.apply(this,arguments);return Object(u.a)(this,n)}}var Te=function(e){var t=function(t){Object(c.a)(r,t);var n=Se(r);function r(){var e,t;Object(o.a)(this,r);for(var i=arguments.length,a=new Array(i),c=0;c<i;c++)a[c]=arguments[c];return(t=n.call.apply(n,f()(e=[this]).call(e,a))).handleEvent=t.handleEvent.bind(Object(s.a)(t)),t.state={activeIndex:null},t}return Object(a.a)(r,[{key:"handleEvent",value:function(e){this.setState({activeIndex:e})}},{key:"render",value:function(){return y.a.createElement(e,Object(Ee.a)({},this.props,{activeIndex:this.state.activeIndex,onEvent:this.handleEvent}))}}]),r}(g.PureComponent);return t.displayName="ChartEvents(".concat(Object(oe.b)(e),")"),t};function Ce(e){var t=function(){if("undefined"==typeof Reflect||!i.a)return!1;if(i.a.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=Object(l.a)(e);if(t){var o=Object(l.a)(this).constructor;n=i()(r,arguments,o)}else n=r.apply(this,arguments);return Object(u.a)(this,n)}}var Oe=function(e){var t=function(t){Object(c.a)(r,t);var n=Ce(r);function r(){var e,t;Object(o.a)(this,r);for(var i=arguments.length,a=new Array(i),c=0;c<i;c++)a[c]=arguments[c];return(t=n.call.apply(n,f()(e=[this]).call(e,a))).chartRef=Object(g.createRef)(),t.handleResize=t.handleResize.bind(Object(s.a)(t)),t}return Object(a.a)(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 y.a.createElement(e,Object(Ee.a)({},this.props,{onResize:this.handleResize,ref:this.chartRef}))}}]),r}(g.PureComponent);return t.displayName="ChartUpdater(".concat(Object(oe.b)(e),")"),t},je=n(270);function Ae(e){var t=function(){if("undefined"==typeof Reflect||!i.a)return!1;if(i.a.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=Object(l.a)(e);if(t){var o=Object(l.a)(this).constructor;n=i()(r,arguments,o)}else n=r.apply(this,arguments);return Object(u.a)(this,n)}}var Pe="ABCDEFGHIJKLMNOPQRSTUVWXYZ".split(""),Me=function(e){Object(c.a)(n,e);var t=Ae(n);function n(){var e,r;Object(o.a)(this,n);for(var i=arguments.length,a=new Array(i),c=0;c<i;c++)a[c]=arguments[c];return(r=t.call.apply(t,f()(e=[this]).call(e,a))).handleEvent=r.handleEvent.bind(Object(s.a)(r)),r.handleResize=r.handleResize.bind(Object(s.a)(r)),r.wrapRef=Object(g.createRef)(),r.state={labelYTop:"50%"},r}return Object(a.a)(n,[{key:"componentDidMount",value:function(){var e,t,n,r,i;this.resizeObserver=new b.a(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 X({activeIndex:n,settings:r,values:e,variant:i})}},{key:"buildOptions",value:function(e){var t=this.props,n=t.hasDarkBgColor,r=t.shouldAnimate;return se({hasDarkBgColor:n,onEvent:this.handleEvent,shouldAnimate:r,values:e})}},{key:"handleEvent",value:function(e,t){return(0,this.props.onEvent)(C()(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=C()({},["scales","y-axis-0"],e),n=t.bottom,r=t.top;S()(n)&&S()(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,c=e.search,u=e.valuesLabel,l=e.variant,d=this.state.labelYTop,f=we(80,a,c),h=we(30,u,c),m=be(o),g=r?[]:p()(Pe).call(Pe,0,o.length),b=r?m.labels:g,_=i?v()(m):Object(oe.f)(0,o.length),w=this.buildOptions(_),x=this.buildDataset(_),k="line"===l?A.b:A.a,E=ke(l,o);return y.a.createElement("div",{className:"block-chart__cartesian"},y.a.createElement("div",{"aria-label":E,className:"block-chart__cartesianChart",ref:this.wrapRef,role:"img"},y.a.createElement(k,{data:{labels:b,datasets:[x]},options:w,ref:n}),h&&Object(oe.g)(h)&&y.a.createElement("div",{"aria-hidden":"true",className:"block-chart__cartesianLabelY",style:{top:d}},h)),f&&Object(oe.g)(f)&&y.a.createElement("div",{"aria-hidden":"true",className:"block-chart__cartesianLabelX"},f),!r&&y.a.createElement(Y,{activeIndex:t,labels:m.labels,letters:g,onEvent:s,values:_}))}}]),n}(g.PureComponent),Ne=w()({search:C()("",["search","term"])}),Le=k()(Te,Object(je.c)(960,"isDesktop","Desktop"),Oe,j.a,Object(P.b)(Ne))(Me);n(2145),n(2146),n(2147);function Ie(e){var t=function(){if("undefined"==typeof Reflect||!i.a)return!1;if(i.a.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=Object(l.a)(e);if(t){var o=Object(l.a)(this).constructor;n=i()(r,arguments,o)}else n=r.apply(this,arguments);return Object(u.a)(this,n)}}var De=function(e){Object(c.a)(n,e);var t=Ie(n);function n(){var e,r;Object(o.a)(this,n);for(var i=arguments.length,a=new Array(i),c=0;c<i;c++)a[c]=arguments[c];return(r=t.call.apply(t,f()(e=[this]).call(e,a))).handleMouseEnter=r.handleMouseEnter.bind(Object(s.a)(r)),r.handleMouseLeave=r.handleMouseLeave.bind(Object(s.a)(r)),r}return Object(a.a)(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=!z()(t)&&t!==r,a=U()("block-chart__circleLegendItem",{"block-chart__circleLegendItem--unfocused":o});return y.a.createElement("div",{className:a,onMouseEnter:this.handleMouseEnter,onMouseLeave:this.handleMouseLeave},y.a.createElement("svg",{"aria-hidden":"true",className:"block-chart__circleLegendSymbol",fill:n,focusable:"false",viewBox:"0 0 10 10"},y.a.createElement("rect",{width:"10",height:"10",rx:"1.5"})),y.a.createElement("div",{className:"block-chart__circleLegendText"},i))}}]),n}(g.PureComponent),Re=function(e){var t=e.activeIndex,n=e.colors,r=e.labels,i=e.onEvent,o=B()(r,n);return D()(o)?null:y.a.createElement("div",{"aria-hidden":"true",className:"block-chart__circleLegend"},L()(o).call(o,function(e,n){var r=Object(M.a)(e,2),o=r[0],a=r[1];return y.a.createElement(De,{activeIndex:t,backgroundColor:a,index:n,key:o,onEvent:i,text:o})}))},Be=Object(g.memo)(Re),Fe=n(8),Ue=n(53),qe=n.n(Ue),ze=n(52),He=n.n(ze),Ve=n(36),We=n.n(Ve),Ye=n(35),Ge=n.n(Ye),Ke=n(38),$e=n.n(Ke),Xe=n(203),Qe=n.n(Xe),Ze=n(427),Je=n.n(Ze),et=n(168);function tt(e,t){var n=He()(e);if(We.a){var r=We()(e);t&&(r=qe()(r).call(r,function(t){return Ge()(e,t).enumerable})),n.push.apply(n,r)}return n}function nt(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?tt(Object(n),!0).forEach(function(t){Object(Fe.a)(e,t,n[t])}):$e.a?Object.defineProperties(e,$e()(n)):tt(Object(n)).forEach(function(t){Object.defineProperty(e,t,Ge()(n,t))})}return e}var rt=n.n(et)()(Je()(Qe.a,0),"value"),it=function(e){var t=qe()(e).call(e,rt),n=be(t),r=L()(t).call(t,de()("color"));return nt(nt({},n),{},{colors:r})},ot=(n(2148),n(355)),at=n.n(ot),st=function(e){var t=C()(0,["dataIndex"],e),n=C()({},["dataset"],e),r=C()("#000",["backgroundColor",t],n);return Object(oe.c)(r)?"#fff":"#313537"},ct=function(e,t,n){return"numeric"===e?String(t):Object(oe.h)(t/at()(n.dataset.data))},ut=function(e,t,n){var r,i=C()(0,[0,"index"],t),o=C()("",["labels",i],n),a=C()([1],["datasets",0,"data"],n),s=a[i],c="numeric"===e?String(s):Object(oe.h)(s/at()(a));return f()(r="".concat(o,": ")).call(r,c)},lt=function(e,t){var n=C()(0,["dataIndex"],t),r=C()([1],["dataset","data"],t),i=r[n],o=z()(e)&&i/at()(r)>=.06;return e===n||o},dt=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:st,display:lt.bind(null,t),font:{size:12,style:"bold"},formatter:ct.bind(null,r)}},responsive:!1,rotation:.25*Math.PI,tooltips:{backgroundColor:"#000",callbacks:{label:function(){return null},title:ut.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}}},ft=function(e){var t=e.activeIndex,n=e.colors,r=e.settings.backgroundColor,i=v()(e),o=z()(t)?n:L()(n).call(n,function(e,n){return n===t?e:K()(e,r||"#fff",.5)});return{backgroundColor:o,hoverBackgroundColor:o,borderWidth:0,data:i}};function ht(e){var t=function(){if("undefined"==typeof Reflect||!i.a)return!1;if(i.a.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=Object(l.a)(e);if(t){var o=Object(l.a)(this).constructor;n=i()(r,arguments,o)}else n=r.apply(this,arguments);return Object(u.a)(this,n)}}var pt=function(e){Object(c.a)(n,e);var t=ht(n);function n(){var e,r;Object(o.a)(this,n);for(var i=arguments.length,a=new Array(i),c=0;c<i;c++)a[c]=arguments[c];return(r=t.call.apply(t,f()(e=[this]).call(e,a))).handleEvent=r.handleEvent.bind(Object(s.a)(r)),r.wrapRef=Object(g.createRef)(),r}return Object(a.a)(n,[{key:"componentDidMount",value:function(){var e,t,n,r,i;this.resizeObserver=new b.a(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=v()(e),r=this.props,i=r.activeIndex,o=r.settings;return ft({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 dt({activeIndex:t,onEvent:this.handleEvent,settings:n,shouldAnimate:r})}},{key:"handleEvent",value:function(e,t){return(0,this.props.onEvent)(C()(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=it(i),c=s.colors,u=s.labels,l=v()(s),d=r?l:Object(oe.f)(0,i.length),f=this.buildOptions(),h=this.buildDataset({colors:c,values:d}),p=ke(a,i);return y.a.createElement("div",{"aria-label":p,className:"block-chart__circle",role:"img"},y.a.createElement("div",{className:"block-chart__circleChart",ref:this.wrapRef},y.a.createElement(A.c,{data:{labels:u,datasets:[h]},options:f,ref:n})),y.a.createElement(Be,{activeIndex:t,colors:c,labels:u,onEvent:o}))}}]),n}(g.PureComponent),mt=k()(Te,Oe,j.a)(pt),vt=n(557),gt=Object(vt.a)(Le),yt=Object(vt.a)(mt)},function(e,t,n){"use strict";n.d(t,"b",function(){return Be}),n.d(t,"a",function(){return Fe});var r=n(3),i=n.n(r),o=n(9),a=n(10),s=n(6),c=n(11),u=n(13),l=n(5),d=(n(2722),n(0)),f=n.n(d),h=n(149),p=n.n(h),m=n(241),v=n(8),g=n(15),y=n.n(g),b=n(2),_=n.n(b),w=n(32),x=n(699),k=n(86),E=n(59),S=n(130),T=n(49),C=n.n(T),O=n(66),j=n.n(O),A=n(30),P=n.n(A),M=n(25),N=n.n(M),L=n(97),I=n.n(L),D=n(431),R=n(117),B=n.n(R),F=n(288),U=n.n(F),q=n(70),z=n.n(q),H=n(123),V=n.n(H),W=n(737),Y=n.n(W);function G(e){return(G="function"==typeof V.a&&"symbol"==typeof Y.a?function(e){return typeof e}:function(e){return e&&"function"==typeof V.a&&e.constructor===V.a&&e!==V.a.prototype?"symbol":typeof e})(e)}var K=n(31),$=n.n(K),X=Array.isArray,Q=function(e){return!$()(e)&&"object"===G(e)},Z=function(e){return"string"==typeof e},J=function(e,t){return function(n){return N()(B.a,z.a,I()(!0))(function(e,t){return function(n,r){var i=I()(r,e);return Q(n)?J(e,t)(n):!(!i||!Z(n)||j()(U()(t,Object(D.htmlDecode)(n))))}}(e,t),n)}},ee=J,te=n(257),ne=n.n(te),re=n(27),ie=n.n(re),oe=n(163),ae=n.n(oe),se=n(50),ce=n.n(se),ue=n(107),le=n.n(ue),de=function(e,t){return function(n){return B()(function(e,t){return function(n,r){var i=I()(r,e);return X(n)?z()(de(e,t)(n)):Q(n)?de(e,t)(n):i&&Z(n)?ce()(U()(t,Object(D.htmlDecode)(n))):0}}(e,t),n)}},fe=function e(t){return X(t)?P()(e,t):Q(t)?e(z()(t)):function(e){return"number"==typeof e}(t)?t:void 0},he=function(e,t){return function(n){return N()(de(e,t),z.a,P()(fe),ae.a,le()(ne.a,0),function(e){return ie()("results",e,n)})(n)}},pe=n(179),me=n.n(pe),ve=function(e,t,n){return function(r){return B()(function(e,t,n){return function(r,i){var o=I()(i,e);return X(r)?z()(ve(e,t,n)(r)):Q(r)?ve(e,t,n)(r):o&&Z(r)?me()(t,n,Object(D.htmlDecode)(r)):r}}(e,t,n),r)}},ge=ve,ye=function(e,t,n){var r=["caption","code","description","heading","message","name","paragraph","title","type"];if(j()(e))return!1;var i=e.replace(/[-[\]{}()"'*+?.,\\^$|#\s]/g,"\\$&"),o=new RegExp("(".concat(i,")(?![^<]*>)"),"ig"),a=ge(r,o,function(e){return"<mark>".concat(e,"</mark>")}),s=P()(a,t),c=ee(r,o),u=he(r,o);n(e,N()(C()(c),P()(u))(t),s)},be=n(579),_e=n(20),we=n(90),xe=n(26),ke=n(724),Ee=n(385),Se=n(16),Te=n.n(Se),Ce=n(7),Oe=n.n(Ce),je=n(89),Ae=n.n(je);function Pe(e){var t=function(){if("undefined"==typeof Reflect||!i.a)return!1;if(i.a.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=Object(l.a)(e);if(t){var o=Object(l.a)(this).constructor;n=i()(r,arguments,o)}else n=r.apply(this,arguments);return Object(u.a)(this,n)}}var Me=function(e){Object(c.a)(n,e);var t=Pe(n);function n(e){var r,i;return Object(o.a)(this,n),(i=t.call(this,e)).state={coverImageLoaded:!1,focusName:null,searchActive:!1,searchValue:"",showSkipButton:!1},i.focusRefs=(r={},Object(v.a)(r,Ie({isClone:!0}),{}),Object(v.a)(r,Ie({isClone:!1}),{}),r),i.handleBlur=i.handleBlur.bind(Object(s.a)(i)),i.handleFocus=i.handleFocus.bind(Object(s.a)(i)),i.handleSearchChange=i.handleSearchChange.bind(Object(s.a)(i)),i.handleSearchClose=i.handleSearchClose.bind(Object(s.a)(i)),i.handleSearchSubmit=i.handleSearchSubmit.bind(Object(s.a)(i)),i.handleSearchToggle=i.handleSearchToggle.bind(Object(s.a)(i)),i.handleSkipButtonBlur=i.setDisplaySkipButton.bind(Object(s.a)(i),!1),i.handleSkipButtonFocus=i.setDisplaySkipButton.bind(Object(s.a)(i),!0),i.handleSkipButtonClick=i.handleSkipButtonClick.bind(Object(s.a)(i)),i.handleTransitionEnd=i.handleTransitionEnd.bind(Object(s.a)(i)),i}return Object(a.a)(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,c=s&&Object(E.a)(a);s&&i&&(this.image=new Image,this.image.src=c,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,c=a.image,u=void 0===c?{}:c,l=u.key,d=l&&Object(E.a)(u),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?Object(_e.c)(this.header):this.header.focus()}},{key:"focusRef",value:function(e){var t=e.name,n=this.props.showClone,r=Ie({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=Ie({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 Object(we.a)([Object(Ee.b)(!0)])})}},{key:"handleSearchClose",value:function(e){Object(xe.f)(e)&&this.handleSearchToggle()}},{key:"handleSearchSubmit",value:function(e){e.preventDefault();var t=e.target.lastChild.value,n=this.props.lessons;ye(t,n,function(e,t,n){return Object(we.a)([Object(Ee.f)(e),Object(Ee.d)(t),Object(Ee.e)(n)])})}},{key:"handleSearchToggle",value:function(){var e=this,t=this.state.searchActive,n=this.props.showSearch;Object(we.a)([Object(Ee.b)(n),Object(Ee.c)(!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,c=r.showClone,u=this.state,l=u.showSkipButton,d=u.searchActive,h=De({allowTabNavigation:i,isClone:n,showClone:c}),p=_()("overview-sidebar__info",{"overview-sidebar__info--faded":d}),m=_()("overview-sidebar__skip-button",{"overview-sidebar__skip-button--offscreen":!l});return f.a.createElement("div",{className:p,ref:n?null:function(e){return t.header=e},tabIndex:_e.h},f.a.createElement(S.b,{to:"/",className:"overview-sidebar__title","data-focus-name":"title",innerRef:this.addFocusRef({isClone:n,name:"title"}),tabIndex:h},a),f.a.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:h,type:"button"},s),f.a.createElement("div",{className:"overview-sidebar__progress brand--ui"},Le(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,c=f.a.createElement(k.a,{classNames:"overview-sidebar__search",timeout:600},f.a.createElement("form",{className:"overview-sidebar__search",onSubmit:this.handleSearchSubmit},f.a.createElement("span",{className:"overview-sidebar__search__search-icon"},f.a.createElement(be.a,{height:13,width:13})),f.a.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:Object(_e.l)(a),type:"button"},f.a.createElement(w.i,null)),f.a.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:Object(_e.l)(a),type:"search",value:i})));return f.a.createElement(k.d,null,r&&c)}},{key:"renderSearchIcon",value:function(e){var t=e.isClone,n=this.props,r=n.allowTabNavigation,i=n.showClone,o=this.state.searchActive,a=De({allowTabNavigation:r,isClone:t,showClone:i}),s=f.a.createElement(k.a,{appear:!0,classNames:"overview-sidebar__search-icon",timeout:2e3},f.a.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"},f.a.createElement(be.a,null)));return f.a.createElement(k.d,null,!o&&s)}},{key:"renderClone",value:function(){var e=this,t=this.props.showClone,n=this.state.searchActive,r=_()("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=_()("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,c=s.allowSearch,u=s.allowTabNavigation,l=s.coverImage.alpha,d=this.state,h=d.coverImageLoaded,p=d.showSkipButton?Ae()({maxHeight:Te()("none")},o):o;return f.a.createElement("section",{"aria-hidden":!u||r,"aria-label":"Course Information",className:t,onFocus:this.handleFocus,onBlur:this.handleBlur,ref:n||null,style:p},c&&this.renderSearch({isClone:i}),f.a.createElement("div",{className:Ne(this.props),ref:a},f.a.createElement("div",{className:"overview-sidebar__header--background",style:this.coverStyles(i)}),h&&f.a.createElement(x.a,{alpha:l,isSidebar:!0}),c&&this.renderSearchIcon({isClone:i}),this.renderInfo({isClone:i})))}},{key:"render",value:function(){return f.a.createElement(d.Fragment,null,this.renderNormal(),this.renderClone())}}]),n}(d.Component),Ne=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 _()("overview-sidebar__header",{"brand--background":s})},Le=function(e){var t;return y()(t=f.a.Children).call(t,e,function(e){return e.type!==ke.a?null:e})},Ie=function(e){return e.isClone?"clone":"normal"},De=Oe()(_e.l,function(e){var t=e.allowTabNavigation,n=e.isClone,r=e.showClone;return t&&(r&&n||!r&&!n)});function Re(e){var t=function(){if("undefined"==typeof Reflect||!i.a)return!1;if(i.a.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=Object(l.a)(e);if(t){var o=Object(l.a)(this).constructor;n=i()(r,arguments,o)}else n=r.apply(this,arguments);return Object(u.a)(this,n)}}var Be=function(e){Object(c.a)(n,e);var t=Re(n);function n(e){var r;return Object(o.a)(this,n),(r=t.call(this,e)).handleFocus=r.handleFocus.bind(Object(s.a)(r)),r.onScroll=p()(r.onScroll.bind(Object(s.a)(r)),100),r.state={isShowingSidebarHeaderClone:!1},r}return Object(a.a)(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,c=t.labels,u=t.lessons,l=t.searchActive,d=t.sessionPreferences,h=t.skipLinkText,p=this.state.isShowingSidebarHeaderClone;return f.a.createElement("div",{id:"overview-sidebar-container",ref:function(t){return e.sidebar=t},className:"overview-sidebar","data-overview-sidebar":!0},f.a.createElement("div",{className:"overview-sidebar__header-wrap brand--head","data-overview-sidebar-header-wrap":!0,ref:function(t){return e.sidebarHeaderWrap=t}},f.a.createElement(Me,{allowSearch:n,allowTabNavigation:r,courseTitle:o,coverImage:a,focusLessonContent:s,labels:c,lessons:u,ref:function(t){e.sidebarHeader=t},sessionPreferences:d,showClone:p,showSearch:l,skipLinkText:h},i)),f.a.createElement("div",{className:"overview-sidebar__container"},f.a.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);m.animateScroll.scrollTo(o,{containerId:"overview-sidebar-container",duration:300,smooth:!0})}}}},{key:"onScroll",value:function(){var e=this.sidebarHeaderWrap.clientHeight,t=this.sidebar.scrollTop;this.setState({isShowingSidebarHeaderClone:t>e})}}]),n}(d.Component),Fe=f.a.createElement(Be,null).type},function(e,t,n){"use strict";var r=n(135),i=n(140),o=(n(1),n(0)),a=n.n(o),s=n(84),c=n.n(s),u=!1,l=n(362),d="unmounted",f="exited",h="entering",p="entered",m=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=f,r.appearStatus=h):i=p:i=t.unmountOnExit||t.mountOnEnter?d:f,r.state={status:i},r.nextCallback=null,r}Object(i.a)(t,e),t.getDerivedStateFromProps=function(e,t){return e.in&&t.status===d?{status:f}: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!==h&&n!==p&&(t=h):n!==h&&n!==p||(t="exiting")}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===h?this.performEnter(e):this.performExit()):this.props.unmountOnExit&&this.state.status===f&&this.setState({status:d})},n.performEnter=function(e){var t=this,n=this.props.enter,r=this.context?this.context.isMounting:e,i=this.props.nodeRef?[r]:[c.a.findDOMNode(this),r],o=i[0],a=i[1],s=this.getTimeouts(),l=r?s.appear:s.enter;!e&&!n||u?this.safeSetState({status:p},function(){t.props.onEntered(o)}):(this.props.onEnter(o,a),this.safeSetState({status:h},function(){t.props.onEntering(o,a),t.onTransitionEnd(l,function(){t.safeSetState({status:p},function(){t.props.onEntered(o,a)})})}))},n.performExit=function(){var e=this,t=this.props.exit,n=this.getTimeouts(),r=this.props.nodeRef?void 0:c.a.findDOMNode(this);t&&!u?(this.props.onExit(r),this.safeSetState({status:"exiting"},function(){e.props.onExiting(r),e.onTransitionEnd(n.exit,function(){e.safeSetState({status:f},function(){e.props.onExited(r)})})})):this.safeSetState({status:f},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:c.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],a=i[1];this.props.addEndListener(o,a)}null!=e&&setTimeout(this.nextCallback,e)}else setTimeout(this.nextCallback,0)},n.render=function(){var e=this.state.status;if(e===d)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,Object(r.a)(t,["children","in","mountOnEnter","unmountOnExit","appear","enter","exit","timeout","addEndListener","onEnter","onEntering","onEntered","onExit","onExiting","onExited","nodeRef"]));return a.a.createElement(l.a.Provider,{value:null},"function"==typeof n?n(e,i):a.a.cloneElement(a.a.Children.only(n),i))},t}(a.a.Component);function v(){}m.contextType=l.a,m.propTypes={},m.defaultProps={in:!1,mountOnEnter:!1,unmountOnExit:!1,appear:!1,enter:!0,exit:!0,onEnter:v,onEntering:v,onEntered:v,onExit:v,onExiting:v,onExited:v},m.UNMOUNTED=d,m.EXITED=f,m.ENTERING=h,m.ENTERED=p,m.EXITING="exiting";t.a=m},function(e,t,n){"use strict";var r=n(325),i=n(192),o=n(0),a=n.n(o);t.a=function(e){var t,n=e.hasOverlay,o=void 0!==n&&n,s=(null!==(t=Object(r.a)())&&void 0!==t?t:{}).coverImage,c=s.alpha,u=s.media,l=Object(i.a)({alpha:c,media:u,hasOverlay:o});return a.a.createElement("div",{className:"cover__header-graphic",style:l})}},,function(e,t,n){
/** @license ISC License (c) copyright 2016 original and current authors */
var r=n(217),i=n(452);e.exports=function(e){return i(e)&&(r("of",e)||r("of",e.constructor))}},function(e,t,n){var r=n(1979),i=n(1980),o=n(1983),a=RegExp("['’]","g");e.exports=function(e){return function(t){return r(o(i(t).replace(a,"")),e,"")}}},function(e,t,n){var r=n(2208),i=n(2160);e.exports=Object.keys||function(e){return r(e,i)}},function(e,t,n){var r=n(419);e.exports=Array.isArray||function(e){return"Array"==r(e)}},function(e,t,n){"use strict";var r=n(2166),i=n(202),o=n(188),a=n(176)("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}})}},function(e,t,n){var r=n(341);e.exports=function(e,t,n){for(var i in t)r(e,i,t[i],n);return e}},function(e,t,n){var r=n(380),i="["+n(1213)+"]",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}},function(e,t,n){e.exports=n(1306)},function(e,t,n){"use strict";var r=n(0),i=n.n(r);t.a=function(e){var t=e["aria-hidden"],n=e["aria-label"],r=e.className,o=e.desc,a=e.height,s=void 0===a?"15":a,c=e.role,u=void 0===c?"img":c,l=e.title,d=e.width,f=void 0===d?"16":d;return i.a.createElement("svg",{"aria-hidden":t,"aria-label":n,className:r,fill:"none",focusable:"false",height:s,role:u,viewBox:"0 0 16 15",width:f,xmlns:"http://www.w3.org/2000/svg"},l&&i.a.createElement("title",null,l),o&&i.a.createElement("desc",null,o),i.a.createElement("path",{d:"M2.34315 7.34315L8 13L13.6569 7.34315",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2"}),i.a.createElement("rect",{x:"7",y:"1",width:"2",height:"12",rx:"0.999999",fill:"currentColor"}))}},function(e,t,n){"use strict";var r=n(0),i=n.n(r);t.a=function(e){var t=e["aria-hidden"],n=e["aria-label"],r=e.className,o=e.desc,a=e.height,s=void 0===a?"15":a,c=e.role,u=void 0===c?"img":c,l=e.title,d=e.width,f=void 0===d?"16":d;return i.a.createElement("svg",{"aria-hidden":t,"aria-label":n,className:r,fill:"none",focusable:"false",height:s,role:u,viewBox:"0 0 16 15",width:f,xmlns:"http://www.w3.org/2000/svg"},l&&i.a.createElement("title",null,l),o&&i.a.createElement("desc",null,o),i.a.createElement("path",{d:"M13.6569 7.65685L8 2L2.34315 7.65686",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2"}),i.a.createElement("rect",{x:"9",y:"14",width:"2",height:"12",rx:"0.999999",transform:"rotate(180 9 14)",fill:"currentColor"}))}},function(e,t,n){var r=n(18),i=n(50),o=n(178);e.exports=r(function(e,t){return[o(0,e,t),o(e,i(t),t)]})},function(e,t,n){"use strict";(function(e){n.d(t,"a",function(){return se});var r=n(3),i=n.n(r),o=n(52),a=n.n(o),s=n(36),c=n.n(s),u=n(53),l=n.n(u),d=n(35),f=n.n(d),h=n(38),p=n.n(h),m=n(19),v=n(8),g=n(9),y=n(10),b=n(11),_=n(13),w=n(5),x=n(4),k=n.n(x),E=n(49),S=n.n(E),T=n(50),C=n.n(T),O=n(230),j=n.n(O),A=n(69),P=n.n(A),M=n(25),N=n.n(M),L=n(17),I=n.n(L),D=n(242),R=n(372),B=n(295),F=n(569),U=n(370),q=n(446),z=n(570),H=n(439),V=n(1153),W=n(712),Y=n(373),G=n(1158),K=n(462),$=n(374),X=n(1166),Q=n(1171),Z=n(1174),J=n(1176),ee=n(1179),te=n(725);function ne(e,t){var n=a()(e);if(c.a){var r=c()(e);t&&(r=l()(r).call(r,function(t){return f()(e,t).enumerable})),n.push.apply(n,r)}return n}function re(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?ne(Object(n),!0).forEach(function(t){Object(v.a)(e,t,n[t])}):p.a?Object.defineProperties(e,p()(n)):ne(Object(n)).forEach(function(t){Object.defineProperty(e,t,f()(n,t))})}return e}function ie(e){var t=function(){if("undefined"==typeof Reflect||!i.a)return!1;if(i.a.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=Object(w.a)(e);if(t){var o=Object(w.a)(this).constructor;n=i()(r,arguments,o)}else n=r.apply(this,arguments);return Object(_.a)(this,n)}}var oe=S()(I()("variant","storyline")),ae=N()(oe,C.a,j()(1)),se=function(t){Object(b.a)(r,t);var n=ie(r);function r(){return Object(g.a)(this,r),n.apply(this,arguments)}return Object(y.a)(r,[{key:"render",value:function(){var t,n=this.props,r=n.dividerNumber,i=n.family,o=n.handleStorylineFullscreen,a=n.menuOpen,s=n.partnerContent,c=n.variant,u=n.enableVideoPlaybackSpeed,l=k()(t="".concat(i," ")).call(t,c),d=re(re({},P()(["handleStorylineFullscreen","dividerNumber"],this.props)),{},{variant:c,enableVideoPlaybackSpeed:u,partnerContent:s});switch(l){case"text paragraph":case"text table":return e.createElement(D.h,d);case"text heading paragraph":return e.createElement(D.d,d);case"text subheading paragraph":return e.createElement(D.e,d);case"text heading":return e.createElement(D.b,d);case"text subheading":return e.createElement(D.c,d);case"text two column":return e.createElement(D.g,d);case"text three column":return e.createElement(D.f,d);case"text code":return e.createElement(D.a,d);case"impact a":return e.createElement(R.e,d);case"impact b":return e.createElement(R.a,d);case"impact c":return e.createElement(R.b,d);case"impact d":return e.createElement(R.c,d);case"impact note":return e.createElement(R.d,d);case"quote a":return e.createElement(B.f,d);case"quote b":return e.createElement(B.a,d);case"quote c":return e.createElement(B.c,d);case"quote d":return e.createElement(B.e,d);case"quote background":return e.createElement(B.b,d);case"quote carousel":return e.createElement(B.d,d);case"list numbered":return e.createElement(F.c,d);case"list checkboxes":return e.createElement(F.b,d);case"list bulleted":return e.createElement(F.a,d);case"image hero":return e.createElement(U.d,d);case"image full":return e.createElement(U.a,d);case"image text aside":return e.createElement(U.c,d);case"image text overlay":return e.createElement(U.b,d);case"gallery centered":case"gallery full":return e.createElement(q.b,d);case"gallery two column":return e.createElement(q.a,d);case"gallery three column":return e.createElement(q.a,Object(m.a)({width:3},d));case"gallery four column":return e.createElement(q.a,Object(m.a)({width:4},d));case"divider divider":return e.createElement(z.c,d);case"divider numbered divider":return e.createElement(z.a,Object(m.a)({number:r},d));case"divider spacing divider":return e.createElement(z.b,d);case"360 storyline":return e.createElement(V.a,Object(m.a)({},d,{isLesson:!0,menuOpen:a,handleStorylineFullscreen:o,hasManySlBlocks:this.hasManySlBlocks.bind(this)}));case"interactive accordion":return e.createElement(H.c,d);case"interactive tabs":return e.createElement(H.b,d);case"interactive-fullscreen labeledgraphic":return e.createElement(X.a,d);case"interactive-fullscreen process":return e.createElement(Q.a,d);case"interactive-fullscreen scenario":return e.createElement(Z.a,d);case"interactive-fullscreen sorting":return e.createElement(J.a,d);case"interactive-fullscreen timeline":return e.createElement(ee.a,d);case"buttons button":return e.createElement(W.b,d);case"buttons button stack":return e.createElement(W.a,d);case"flashcard flashcard":return e.createElement(K.b,d);case"flashcard stack":return e.createElement(K.b,Object(m.a)({stack:!0},d));case"knowledge knowledge":return e.createElement($.a,d);case"continue continue":return e.createElement(G.a,d);case"multimedia audio":return e.createElement(Y.b,d);case"multimedia video":return e.createElement(Y.d,d);case"multimedia custom video":return e.createElement(Y.d,Object(m.a)({},d,{type:"customVideo"}));case"multimedia embed":return e.createElement(Y.c,d);case"multimedia attachment":return e.createElement(Y.a,d);case"multimedia code":return e.createElement(D.a,d);case"knowledgeCheck multiple choice":case"knowledgeCheck multiple response":case"knowledgeCheck fillin":case"knowledgeCheck matching":return e.createElement($.a,d);case"chart bar":case"chart line":return e.createElement(te.a,d);case"chart pie":return e.createElement(te.b,d);default:return"Unknown type: ".concat(l)}}},{key:"hasManySlBlocks",value:function(){var e=this.props.items;return e&&ae(e)}}]),r}(e.Component)}).call(this,n(0))},function(e,t,n){"use strict";(function(e){n.d(t,"b",function(){return m}),n.d(t,"a",function(){return v}),n.d(t,"c",function(){return g});var r=n(3),i=n.n(r),o=n(9),a=n(10),s=n(11),c=n(13),u=n(5),l=(n(2150),n(1)),d=n.n(l),f=n(180),h=n(42);function p(e){var t=function(){if("undefined"==typeof Reflect||!i.a)return!1;if(i.a.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=Object(u.a)(e);if(t){var o=Object(u.a)(this).constructor;n=i()(r,arguments,o)}else n=r.apply(this,arguments);return Object(c.a)(this,n)}}var m=function(t){var n=t.processStepName,r=t.index,i=t.processStepPreposition,o=t.steps;return e.createElement("div",{className:"card__side"},e.createElement("div",{className:"card__step-label brand--background brand--body"},n," ",r," ",i," ",o))},v=function(t){var n=t.allowTabNavigation,r=t.description,i=t.index,o=t.labels,a=t.loadMedia,s=t.media,c=t.onFullScreenChange,u=t.settings,l=t.title,d=t.lessonNumber;return e.createElement("div",{className:"card__main"},e.createElement(h.a,{className:"card__title brand-afterBackground brand--lhead",tagName:"h1",value:l}),e.createElement("div",{className:"card__media"},a?e.createElement(f.a,{defaultAlign:"center",index:"".concat(i),labels:o,media:s,opts:u,onFullScreenChange:c,allowTabNavigation:n,lessonNumber:d}):null),e.createElement(h.a,{className:"card__description brand--lbody brand--linkColor",value:r,allowTabNavigation:n}))},g=function(t){Object(s.a)(r,t);var n=p(r);function r(){return Object(o.a)(this,r),n.apply(this,arguments)}return Object(a.a)(r,[{key:"render",value:function(){var t=this.props,n=t.index,r=t.labels,i=t.steps,o=r.processStepName,a=r.processStepPreposition;return e.createElement("div",{className:"card"},e.createElement("div",{className:"card__container"},e.createElement("div",{className:"card__row"},e.createElement(m,{processStepName:o,index:n,processStepPreposition:a,steps:i}),e.createElement(v,this.props))))}}],[{key:"defaultProps",get:function(){return{settings:{}}}},{key:"propTypes",get:function(){return{onClick:d.a.func,mediaSrc:d.a.string,mediaType:d.a.string,index:d.a.number.isRequired,title:d.a.string,description:d.a.string,loadMedia:d.a.bool.isRequired,allowTabNavigation:d.a.bool.isRequired}}}]),r}(e.Component)}).call(this,n(0))},function(e,t,n){"use strict";n.d(t,"a",function(){return i}),n.d(t,"b",function(){return o});var r=n(77);function i(e){var t;return null==e?void 0:null===(t=e.courseLabels)||void 0===t?void 0:t.labels}function o(){return Object(r.d)(function(e){return i(e)})}},function(e,t,n){"use strict";(function(e){n.d(t,"b",function(){return l}),n.d(t,"a",function(){return f});var r=n(101),i=n(79),o=n.n(i),a=n(0),s=["children"],c={},u=o()(Object(a.createContext)(c),{displayName:"BundleContext"});function l(t){var n=t.children,i=Object(r.a)(t,s);return e.createElement(u.Provider,{value:i},n)}function d(){return null}function f(t){function n(n){var r,i=null!==(r=Object(a.useContext)(u)[t])&&void 0!==r?r:d;return e.createElement(i,n)}return n.displayName="BundleComponent(".concat(t,")"),n}}).call(this,n(0))},function(e,t,n){"use strict";var r=n(325),i=n(192),o=n(0),a=n.n(o);t.a=function(e){var t,n=e.children,o=(null!==(t=Object(r.a)())&&void 0!==t?t:{}).coverImage,s=Object(i.a)(o);return a.a.createElement("div",{className:"cover__header-content brand--background",style:s},n)}},function(e,t,n){"use strict";n.d(t,"a",function(){return o}),n.d(t,"b",function(){return s});n(52),n(36),n(53),n(35),n(38),n(8),n(19);var r=n(0);var i=Object(r.createContext)({});i.displayName="FeatureFlagsContext";var o=i.Provider;i.Consumer;function a(){return Object(r.useContext)(i)}function s(e){var t;return null!==(t=a()[e])&&void 0!==t&&t}},,function(e,t,n){"use strict";n.d(t,"c",function(){return S}),n.d(t,"d",function(){return T}),n.d(t,"a",function(){return C}),n.d(t,"b",function(){return P});var r=n(1235),i=n.n(r),o=(n(2303),n(197)),a=n(154),s=n(386),c=n(0),u=n(77),l=(n(232),n(49)),d=n.n(l),f=n(76),h=n.n(f),p=(n(116),n(50)),m=n.n(p),v=n(161),g=n.n(v),y=n(14),b=n.n(y),_=n(46),w=n.n(_),x=n(448),k=n(327);function E(){return Object(o.a)(function(e){return e},function(e,t){return j(t)},function(e,t){return b()(e,t)})}function S(e){var t=Object(c.useMemo)(function(){return E()},[]);return Object(u.d)(function(n){return t(e,n)})}function T(e){var t=Object(c.useMemo)(function(){return e=C(),Object(o.a)(function(e){return e},function(t,n){return e(n)},function(e,t){return Object(s.c)(t)},function(e,t){return N(t)},function(e,t){return Object(x.c)(t)},function(e,t,n,r,i){var o=i[e],a=i[t];if(e!==t&&(null==o||!o.isComplete)&&(null==o?void 0:o.index)>(null==a?void 0:a.index)){var s,c,u,l=null!==(s=null===(c=i[null==r?void 0:r.id])||void 0===c?void 0:c.index)&&void 0!==s?s:1/0,d="restricted"===n&&null!==(u=null==a?void 0:a.index)&&void 0!==u?u:1/0;if((null==o?void 0:o.index)>Math.min(l,d))return d<l?{type:k.a.ORDER}:{type:k.a.QUIZ,data:r.title}}return null});var e},[]);return Object(u.d)(function(n){return t(e,n)})}function C(){return Object(o.a)(s.d,x.c,function(e,t){return Object(a.c)(t,e)})}var O=Object(o.a)(s.a,function(e){return w()([],"lessons",e)}),j=Object(o.a)(O,function(e){return e.reduce(function(e,t){return null!=t&&t.id&&(e[t.id]=t),e},{})}),A=Object(o.a)(s.a,function(e){return w()([],"lessonsOnly",e)}),P=(Object(o.a)(A,function(e){return e.reduce(function(e,t,n){return e[t.id]=n+1,e},{})}),Object(o.a)(A,function(e){return g()("id",e)}),Object(o.a)(A,function(e){return h()(e)})),M=function(e){var t=e.type,n=e.settings;return"quiz"!==t||n.asLesson||void 0===n.asLesson},N=(Object(o.a)(A,function(e){return m()(d()(M,e))}),Object(o.a)(O,function(e){return e.reduce(function(e,t){var n=e[e.length-1];return Object(k.d)(t)||null==n?e.push([t.id]):n.push(t.id),e},[])}),Object(o.a)(A,x.c,function(e,t){return i()(e).call(e,function(e){var n;return Object(k.c)(e)&&Object(k.b)(e)&&!(null!==(n=t[e.id])&&void 0!==n&&n.isComplete)})}))},,function(e,t,n){var r,i=n(256);
/*!
  Copyright (c) 2017 Jed Watson.
  Licensed under the MIT License (MIT), see
  http://jedwatson.github.io/classnames
*/
!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 c in n)o.call(n,c)&&n[c]&&e.push(c)}}return e.join(" ")}e.exports?(a.default=a,e.exports=a):"object"===i(n(645))&&n(645)?void 0===(r=function(){return a}.apply(t,[]))||(e.exports=r):window.classNames=a}()},function(e,t,n){"use strict";
/*
object-assign
(c) Sindre Sorhus
@license MIT
*/var r=Object.getOwnPropertySymbols,i=Object.prototype.hasOwnProperty,o=Object.prototype.propertyIsEnumerable;e.exports=function(){try{if(!Object.assign)return!1;var e=new String("abc");if(e[5]="de","5"===Object.getOwnPropertyNames(e)[0])return!1;for(var t={},n=0;n<10;n++)t["_"+String.fromCharCode(n)]=n;if("0123456789"!==Object.getOwnPropertyNames(t).map(function(e){return t[e]}).join(""))return!1;var r={};return"abcdefghijklmnopqrst".split("").forEach(function(e){r[e]=e}),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},r)).join("")}catch(e){return!1}}()?Object.assign:function(e,t){for(var n,a,s=function(e){if(null==e)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}(e),c=1;c<arguments.length;c++){for(var u in n=Object(arguments[c]))i.call(n,u)&&(s[u]=n[u]);if(r){a=r(n);for(var l=0;l<a.length;l++)o.call(n,a[l])&&(s[a[l]]=n[a[l]])}}return s}},function(e,t,n){var r=n(157),i=n(121),o=n(589);e.exports=!r&&!i(function(){return 7!=Object.defineProperty(o("div"),"a",{get:function(){return 7}}).a})},function(e,t,n){var r=n(121),i=/#|\.prototype\./,o=function(e,t){var n=s[a(e)];return n==u||n!=c&&("function"==typeof t?r(t):!!t)},a=o.normalize=function(e){return String(e).replace(i,".").toLowerCase()},s=o.data={},c=o.NATIVE="N",u=o.POLYFILL="P";e.exports=o},function(e,t,n){var r=n(593);e.exports=r&&!Symbol.sham&&"symbol"==typeof Symbol.iterator},function(e,t){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)}}()},function(e,t,n){var r=n(219),i=n(18);e.exports=i(function(e,t){return r(e.length,function(){return e.apply(t,arguments)})})},function(e,t,n){var r=n(157),i=n(199),o=n(94),a=n(392);e.exports=r?Object.defineProperties:function(e,t){o(e);for(var n,r=a(t),s=r.length,c=0;s>c;)i.f(e,n=r[c++],t[n]);return e}},function(e,t,n){var r=n(172),i=n(218),o=n(595).indexOf,a=n(393);e.exports=function(e,t){var n,s=i(e),c=0,u=[];for(n in s)!r(a,n)&&r(s,n)&&u.push(n);for(;t.length>c;)r(s,n=t[c++])&&(~o(u,n)||u.push(n));return u}},function(e,t,n){var r=n(173);e.exports=r("document","documentElement")},function(e,t,n){"use strict";var r=n(142),i=n(147),o=[].slice,a={};e.exports=Function.bind||function(e){var t=r(this),n=o.call(arguments,1),s=function(){var r=n.concat(o.call(arguments));return this instanceof 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)}(t,r.length,r):t.apply(e,r)};return i(t.prototype)&&(s.prototype=t.prototype),s}},function(e,t,n){"use strict";var r=n(45),i=n(121),o=n(394),a=n(147),s=n(215),c=n(216),u=n(474),l=n(762),d=n(475),f=n(124),h=n(450),p=f("isConcatSpreadable"),m=h>=51||!i(function(){var e=[];return e[p]=!1,e.concat()[0]!==e}),v=d("concat"),g=function(e){if(!a(e))return!1;var t=e[p];return void 0!==t?!!t:o(e)};r({target:"Array",proto:!0,forced:!m||!v},{concat:function(e){var t,n,r,i,o,a=s(this),d=l(a,0),f=0;for(t=-1,r=arguments.length;t<r;t++)if(o=-1===t?a:arguments[t],g(o)){if(f+(i=c(o.length))>9007199254740991)throw TypeError("Maximum allowed index exceeded");for(n=0;n<i;n++,f++)n in o&&u(d,f,o[n])}else{if(f>=9007199254740991)throw TypeError("Maximum allowed index exceeded");u(d,f++,o)}return d.length=f,d}})},function(e,t,n){var r=n(147),i=n(394),o=n(124)("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)}},function(e,t,n){var r=n(592),i=Function.toString;"function"!=typeof r.inspectSource&&(r.inspectSource=function(e){return i.call(e)}),e.exports=r.inspectSource},function(e,t,n){n(125)("iterator")},function(e,t,n){var r=n(467),i=n(248),o=function(e){return function(t,n){var o,a,s=String(i(t)),c=r(n),u=s.length;return c<0||c>=u?e?"":void 0:(o=s.charCodeAt(c))<55296||o>56319||c+1===u||(a=s.charCodeAt(c+1))<56320||a>57343?e?s.charAt(c):o:e?s.slice(c,c+2):a-56320+(o-55296<<10)+65536}};e.exports={codeAt:o(!1),charAt:o(!0)}},function(e,t,n){"use strict";var r=n(767).IteratorPrototype,i=n(301),o=n(300),a=n(277),s=n(335),c=function(){return this};e.exports=function(e,t,n){var u=t+" Iterator";return e.prototype=i(r,{next:o(1,n)}),a(e,u,!1,!0),s[u]=c,e}},function(e,t,n){"use strict";var r,i,o,a=n(121),s=n(396),c=n(198),u=n(172),l=n(124),d=n(105),f=l("iterator"),h=!1;[].keys&&("next"in(o=[].keys())?(i=s(s(o)))!==Object.prototype&&(r=i):h=!0);var p=null==r||a(function(){var e={};return r[f].call(e)!==e});p&&(r={}),d&&!p||u(r,f)||c(r,f,function(){return this}),e.exports={IteratorPrototype:r,BUGGY_SAFARI_ITERATORS:h}},function(e,t,n){var r=n(121);e.exports=!r(function(){function e(){}return e.prototype.constructor=null,Object.getPrototypeOf(new e)!==e.prototype})},function(e,t,n){"use strict";var r=n(157),i=n(121),o=n(392),a=n(601),s=n(465),c=n(215),u=n(588),l=Object.assign,d=Object.defineProperty;e.exports=!l||i(function(){if(r&&1!==l({b:1},l(d({},"a",{enumerable:!0,get:function(){d(this,"b",{value:3,enumerable:!1})}}),{b:2})).b)return!0;var e={},t={},n=Symbol();return e[n]=7,"abcdefghijklmnopqrst".split("").forEach(function(e){t[e]=e}),7!=l({},e)[n]||"abcdefghijklmnopqrst"!=o(l({},t)).join("")})?function(e,t){for(var n=c(e),i=arguments.length,l=1,d=a.f,f=s.f;i>l;)for(var h,p=u(arguments[l++]),m=d?o(p).concat(d(p)):o(p),v=m.length,g=0;v>g;)h=m[g++],r&&!f.call(p,h)||(n[h]=p[h]);return n}:l},function(e,t,n){var r=n(174);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)}}()},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,n=1==~~(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th";return e+n},week:{dow:1,doy:4}})}(n(155))},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,n=1==~~(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th";return e+n}})}(n(155))},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,n=1==~~(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th";return e+n},week:{dow:1,doy:4}})}(n(155))},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,n=1==~~(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th";return e+n},week:{dow:1,doy:4}})}(n(155))},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,n=1==~~(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th";return e+n},week:{dow:1,doy:4}})}(n(155))},function(e,t,n){var r=n(37);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}},function(e,t,n){var r=n(18);e.exports=r(function(e,t){return e===t?0!==e||1/e==1/t:e!=e&&t!=t})},function(e,t,n){"use strict";var r=n(166),i=n(215),o=n(1345),a=n(780),s=n(216),c=n(474),u=n(397);e.exports=function(e){var t,n,l,d,f,h,p=i(e),m="function"==typeof this?this:Array,v=arguments.length,g=v>1?arguments[1]:void 0,y=void 0!==g,b=u(p),_=0;if(y&&(g=r(g,v>2?arguments[2]:void 0,2)),null==b||m==Array&&a(b))for(n=new m(t=s(p.length));t>_;_++)h=y?g(p[_],_):p[_],c(n,_,h);else for(f=(d=b.call(p)).next,n=new m;!(l=f.call(d)).done;_++)h=y?o(d,g,[l.value,_],!0):l.value,c(n,_,h);return n.length=_,n}},function(e,t,n){var r=n(94);e.exports=function(e){var t=e.return;if(void 0!==t)return r(t.call(e)).value}},function(e,t,n){var r=n(124),i=n(335),o=r("iterator"),a=Array.prototype;e.exports=function(e){return void 0!==e&&(i.Array===e||a[o]===e)}},function(e,t,n){var r=n(124)("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}},function(e,t,n){var r=n(121),i=n(124),o=n(105),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})},function(e,t,n){var r=n(94),i=n(397);e.exports=function(e){var t=i(e);if("function"!=typeof t)throw TypeError(String(e)+" is not iterable");return r(t.call(e))}},function(e,t,n){var r=n(399)(function(e,t,n){var r={};for(var i in n)r[i]=n[i];return r[e]=t,r});e.exports=r},function(e,t){e.exports=function(e){return"[object String]"===Object.prototype.toString.call(e)}},function(e,t){var n=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 n(e)}},function(e,t,n){var r=n(400),i=n(175)(function(e,t){return r(e.length,function(){return e.apply(t,arguments)})});e.exports=i},function(e,t,n){var r=n(175),i=n(336),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},function(e,t){e.exports=function(e){return function(){return!e.apply(this,arguments)}}},function(e,t,n){var r=n(51),i=n(770),o=n(276),a=n(607),s=n(390);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})},function(e,t){e.exports=function(e){return new RegExp(e.source,(e.global?"g":"")+(e.ignoreCase?"i":"")+(e.multiline?"m":"")+(e.sticky?"y":"")+(e.unicode?"u":""))}},function(e,t){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}},function(e,t,n){var r=n(187),i=n(794),o=n(1376),a=!{toString:null}.propertyIsEnumerable("toString"),s=["constructor","valueOf","isPrototypeOf","toString","propertyIsEnumerable","hasOwnProperty","toLocaleString"],c=function(){"use strict";return arguments.propertyIsEnumerable("length")}(),u=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||c?function(e){if(Object(e)!==e)return[];var t,n,r=[],l=c&&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)&&!u(r,t)&&(r[r.length]=t),n-=1;return r}:function(e){return Object(e)!==e?[]:Object.keys(e)});e.exports=l},function(e,t){e.exports=function(e,t){return Object.prototype.hasOwnProperty.call(t,e)}},function(e,t,n){var r=n(187)(function(e){return function(){return e}});e.exports=r},function(e,t,n){var r=n(175)(function(e,t){return t>e?t:e});e.exports=r},function(e,t,n){var r=n(187),i=n(336),o=r(function(e){return i(e.length,e)});e.exports=o},function(e,t,n){var r=n(799),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 c(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(220)(c,n(345).EventEmitter),c.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()},c.prototype.ontext=function(e){this._updatePosition(1),this.endIndex--,this._cbs.ontext&&this._cbs.ontext(e)},c.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={})},c.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=""},c.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())}},c.prototype.onselfclosingtag=function(){this._options.xmlMode||this._options.recognizeSelfClosing?this._closeCurrentTag():this.onopentagend()},c.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())},c.prototype.onattribname=function(e){this._lowerCaseAttributeNames&&(e=e.toLowerCase()),this._attribname=e},c.prototype.onattribdata=function(e){this._attribvalue+=e},c.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=""},c.prototype._getInstructionName=function(e){var t=e.search(s),n=t<0?e:e.substr(0,t);return this._lowerCaseTagNames&&(n=n.toLowerCase()),n},c.prototype.ondeclaration=function(e){if(this._cbs.onprocessinginstruction){var t=this._getInstructionName(e);this._cbs.onprocessinginstruction("!"+t,"!"+e)}},c.prototype.onprocessinginstruction=function(e){if(this._cbs.onprocessinginstruction){var t=this._getInstructionName(e);this._cbs.onprocessinginstruction("?"+t,"?"+e)}},c.prototype.oncomment=function(e){this._updatePosition(4),this._cbs.oncomment&&this._cbs.oncomment(e),this._cbs.oncommentend&&this._cbs.oncommentend()},c.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+"]]")},c.prototype.onerror=function(e){this._cbs.onerror&&this._cbs.onerror(e)},c.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()},c.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)},c.prototype.parseComplete=function(e){this.reset(),this.end(e)},c.prototype.write=function(e){this._tokenizer.write(e)},c.prototype.end=function(e){this._tokenizer.end(e)},c.prototype.pause=function(){this._tokenizer.pause()},c.prototype.resume=function(){this._tokenizer.resume()},c.prototype.parseChunk=c.prototype.write,c.prototype.done=c.prototype.end,e.exports=c},function(e,t,n){e.exports=ye;var r,i,o=n(1384),a=n(1386),s=n(1387),c=n(1388),u=0,l=u++,d=u++,f=u++,h=u++,p=u++,m=u++,v=u++,g=u++,y=u++,b=u++,_=u++,w=u++,x=u++,k=u++,E=u++,S=u++,T=u++,C=u++,O=u++,j=u++,A=u++,P=u++,M=u++,N=u++,L=u++,I=u++,D=u++,R=u++,B=u++,F=u++,U=u++,q=u++,z=u++,H=u++,V=u++,W=u++,Y=u++,G=u++,K=u++,$=u++,X=u++,Q=u++,Z=u++,J=u++,ee=u++,te=u++,ne=u++,re=u++,ie=u++,oe=u++,ae=u++,se=u++,ce=u++,ue=u++,le=u++,de=0,fe=de++,he=de++,pe=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=p:"<"===e?(this._cbs.ontext(this._getSection()),this._sectionStart=this._index):">"===e||this._special!==fe||me(e)?this._state=l:"!"===e?(this._state=E,this._sectionStart=this._index+1):"?"===e?(this._state=T,this._sectionStart=this._index+1):(this._state=this._xmlMode||"s"!==e&&"S"!==e?f:U,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=q:(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=h: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=x,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=O,this._sectionStart=this._index+1):this._state=S},ye.prototype._stateInComment=function(e){"-"===e&&(this._state=j)},ye.prototype._stateAfterComment1=function(e){this._state="-"===e?A:O},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=O)},ye.prototype._stateBeforeCdata1=ve("C",M,S),ye.prototype._stateBeforeCdata2=ve("D",N,S),ye.prototype._stateBeforeCdata3=ve("A",L,S),ye.prototype._stateBeforeCdata4=ve("T",I,S),ye.prototype._stateBeforeCdata5=ve("A",D,S),ye.prototype._stateBeforeCdata6=function(e){"["===e?(this._state=R,this._sectionStart=this._index+1):(this._state=S,this._index--)},ye.prototype._stateInCdata=function(e){"]"===e&&(this._state=B)},ye.prototype._stateAfterCdata1=(r="]",i=F,function(e){e===r&&(this._state=i)}),ye.prototype._stateAfterCdata2=function(e){">"===e?(this._cbs.oncdata(this._buffer.substring(this._sectionStart,this._index-2)),this._state=l,this._sectionStart=this._index+1):"]"!==e&&(this._state=R)},ye.prototype._stateBeforeSpecial=function(e){"c"===e||"C"===e?this._state=z:"t"===e||"T"===e?this._state=Z:(this._state=f,this._index--)},ye.prototype._stateBeforeSpecialEnd=function(e){this._special!==he||"c"!==e&&"C"!==e?this._special!==pe||"t"!==e&&"T"!==e?this._state=l:this._state=ne:this._state=G},ye.prototype._stateBeforeScript1=ge("R",H),ye.prototype._stateBeforeScript2=ge("I",V),ye.prototype._stateBeforeScript3=ge("P",W),ye.prototype._stateBeforeScript4=ge("T",Y),ye.prototype._stateBeforeScript5=function(e){("/"===e||">"===e||me(e))&&(this._special=he),this._state=f,this._index--},ye.prototype._stateAfterScript1=ve("R",K,l),ye.prototype._stateAfterScript2=ve("I",$,l),ye.prototype._stateAfterScript3=ve("P",X,l),ye.prototype._stateAfterScript4=ve("T",Q,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",J),ye.prototype._stateBeforeStyle2=ge("L",ee),ye.prototype._stateBeforeStyle3=ge("E",te),ye.prototype._stateBeforeStyle4=function(e){("/"===e||">"===e||me(e))&&(this._special=pe),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,ce),ye.prototype._stateBeforeNumericEntity=ve("X",le,ue),ye.prototype._parseNamedEntityStrict=function(){if(this._sectionStart+1<this._index){var e=this._buffer.substring(this._sectionStart+1,this._index),t=this._xmlMode?c: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===p?this._stateBeforeCloseingTagName(e):this._state===m?this._stateInCloseingTagName(e):this._state===v?this._stateAfterCloseingTagName(e):this._state===h?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===x?this._stateInAttributeValueSingleQuotes(e):this._state===k?this._stateInAttributeValueNoQuotes(e):this._state===E?this._stateBeforeDeclaration(e):this._state===S?this._stateInDeclaration(e):this._state===T?this._stateInProcessingInstruction(e):this._state===C?this._stateBeforeComment(e):this._state===O?this._stateInComment(e):this._state===j?this._stateAfterComment1(e):this._state===A?this._stateAfterComment2(e):this._state===P?this._stateBeforeCdata1(e):this._state===M?this._stateBeforeCdata2(e):this._state===N?this._stateBeforeCdata3(e):this._state===L?this._stateBeforeCdata4(e):this._state===I?this._stateBeforeCdata5(e):this._state===D?this._stateBeforeCdata6(e):this._state===R?this._stateInCdata(e):this._state===B?this._stateAfterCdata1(e):this._state===F?this._stateAfterCdata2(e):this._state===U?this._stateBeforeSpecial(e):this._state===q?this._stateBeforeSpecialEnd(e):this._state===z?this._stateBeforeScript1(e):this._state===H?this._stateBeforeScript2(e):this._state===V?this._stateBeforeScript3(e):this._state===W?this._stateBeforeScript4(e):this._state===Y?this._stateBeforeScript5(e):this._state===G?this._stateAfterScript1(e):this._state===K?this._stateAfterScript2(e):this._state===$?this._stateAfterScript3(e):this._state===X?this._stateAfterScript4(e):this._state===Q?this._stateAfterScript5(e):this._state===Z?this._stateBeforeStyle1(e):this._state===J?this._stateBeforeStyle2(e):this._state===ee?this._stateBeforeStyle3(e):this._state===te?this._stateBeforeStyle4(e):this._state===ne?this._stateAfterStyle1(e):this._state===re?this._stateAfterStyle2(e):this._state===ie?this._stateAfterStyle3(e):this._state===oe?this._stateAfterStyle4(e):this._state===ae?this._stateBeforeEntity(e):this._state===se?this._stateBeforeNumericEntity(e):this._state===ce?this._stateInNamedEntity(e):this._state===ue?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===R||this._state===B||this._state===F?this._cbs.oncdata(e):this._state===O||this._state===j||this._state===A?this._cbs.oncomment(e):this._state!==ce||this._xmlMode?this._state!==ue||this._xmlMode?this._state!==le||this._xmlMode?this._state!==f&&this._state!==g&&this._state!==_&&this._state!==b&&this._state!==y&&this._state!==x&&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)}},function(e,t){var n=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 i[this.type]||i.element}},r={tagName:"name",childNodes:"children",parentNode:"parent",previousSibling:"prev",nextSibling:"next",nodeValue:"data"},i={element:1,text:3,cdata:4,comment:8};Object.keys(r).forEach(function(e){var t=r[e];Object.defineProperty(n,e,{get:function(){return this[t]||null},set:function(e){return this[t]=e,e}})})},function(e,t,n){e.exports=s;var r=n(798),i=n(1393).Writable||n(1408).Writable,o=n(618).StringDecoder,a=n(304).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(220)(s,i),i.prototype._write=function(e,t,n){e instanceof a&&(e=this._decoder.write(e)),this._parser.write(e),n()}},function(e,t,n){"use strict";(function(t,r){var i=n(481);e.exports=b;var o,a=n(803);b.ReadableState=y;n(345).EventEmitter;var s=function(e,t){return e.listeners(t).length},c=n(804),u=n(616).Buffer,l=t.Uint8Array||function(){};var d=Object.create(n(404));d.inherits=n(220);var f=n(1396),h=void 0;h=f&&f.debuglog?f.debuglog("stream"):function(){};var p,m=n(1397),v=n(805);d.inherits(b,c);var g=["error","close","destroy","pause","resume"];function y(e,t){e=e||{};var r=t instanceof(o=o||n(305));this.objectMode=!!e.objectMode,r&&(this.objectMode=this.objectMode||!!e.readableObjectMode);var i=e.highWaterMark,a=e.readableHighWaterMark,s=this.objectMode?16:16384;this.highWaterMark=i||0===i?i:r&&(a||0===a)?a:s,this.highWaterMark=Math.floor(this.highWaterMark),this.buffer=new m,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.destroyed=!1,this.defaultEncoding=e.defaultEncoding||"utf8",this.awaitDrain=0,this.readingMore=!1,this.decoder=null,this.encoding=null,e.encoding&&(p||(p=n(618).StringDecoder),this.decoder=new p(e.encoding),this.encoding=e.encoding)}function b(e){if(o=o||n(305),!(this instanceof b))return new b(e);this._readableState=new y(e,this),this.readable=!0,e&&("function"==typeof e.read&&(this._read=e.read),"function"==typeof e.destroy&&(this._destroy=e.destroy)),c.call(this)}function _(e,t,n,r,i){var o,a=e._readableState;null===t?(a.reading=!1,function(e,t){if(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,E(e)}(e,a)):(i||(o=function(e,t){var n;r=t,u.isBuffer(r)||r instanceof l||"string"==typeof t||void 0===t||e.objectMode||(n=new TypeError("Invalid non-string/buffer chunk"));var r;return n}(a,t)),o?e.emit("error",o):a.objectMode||t&&t.length>0?("string"==typeof t||a.objectMode||Object.getPrototypeOf(t)===u.prototype||(t=function(e){return u.from(e)}(t)),r?a.endEmitted?e.emit("error",new Error("stream.unshift() after end event")):w(e,a,t,!0):a.ended?e.emit("error",new Error("stream.push() after EOF")):(a.reading=!1,a.decoder&&!n?(t=a.decoder.write(t),a.objectMode||0!==t.length?w(e,a,t,!1):T(e,a)):w(e,a,t,!1))):r||(a.reading=!1));return function(e){return!e.ended&&(e.needReadable||e.length<e.highWaterMark||0===e.length)}(a)}function w(e,t,n,r){t.flowing&&0===t.length&&!t.sync?(e.emit("data",n),e.read(0)):(t.length+=t.objectMode?1:n.length,r?t.buffer.unshift(n):t.buffer.push(n),t.needReadable&&E(e)),T(e,t)}Object.defineProperty(b.prototype,"destroyed",{get:function(){return void 0!==this._readableState&&this._readableState.destroyed},set:function(e){this._readableState&&(this._readableState.destroyed=e)}}),b.prototype.destroy=v.destroy,b.prototype._undestroy=v.undestroy,b.prototype._destroy=function(e,t){this.push(null),t(e)},b.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=u.from(e,t),t=""),n=!0),_(this,e,t,!1,n)},b.prototype.unshift=function(e){return _(this,e,null,!0,!1)},b.prototype.isPaused=function(){return!1===this._readableState.flowing},b.prototype.setEncoding=function(e){return p||(p=n(618).StringDecoder),this._readableState.decoder=new p(e),this._readableState.encoding=e,this};var x=8388608;function k(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>=x?e=x:(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 E(e){var t=e._readableState;t.needReadable=!1,t.emittedReadable||(h("emitReadable",t.flowing),t.emittedReadable=!0,t.sync?i.nextTick(S,e):S(e))}function S(e){h("emit readable"),e.emit("readable"),A(e)}function T(e,t){t.readingMore||(t.readingMore=!0,i.nextTick(C,e,t))}function C(e,t){for(var n=t.length;!t.reading&&!t.flowing&&!t.ended&&t.length<t.highWaterMark&&(h("maybeReadMore read 0"),e.read(0),n!==t.length);)n=t.length;t.readingMore=!1}function O(e){h("readable nexttick read 0"),e.read(0)}function j(e,t){t.reading||(h("resume read 0"),e.read(0)),t.resumeScheduled=!1,t.awaitDrain=0,e.emit("resume"),A(e),t.flowing&&!t.reading&&e.read(0)}function A(e){var t=e._readableState;for(h("flow",t.flowing);t.flowing&&null!==e.read(););}function P(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.head.data:t.buffer.concat(t.length),t.buffer.clear()):n=function(e,t,n){var r;e<t.head.data.length?(r=t.head.data.slice(0,e),t.head.data=t.head.data.slice(e)):r=e===t.head.data.length?t.shift():n?function(e,t){var n=t.head,r=1,i=n.data;e-=i.length;for(;n=n.next;){var o=n.data,a=e>o.length?o.length:e;if(a===o.length?i+=o:i+=o.slice(0,e),0===(e-=a)){a===o.length?(++r,n.next?t.head=n.next:t.head=t.tail=null):(t.head=n,n.data=o.slice(a));break}++r}return t.length-=r,i}(e,t):function(e,t){var n=u.allocUnsafe(e),r=t.head,i=1;r.data.copy(n),e-=r.data.length;for(;r=r.next;){var o=r.data,a=e>o.length?o.length:e;if(o.copy(n,n.length-e,0,a),0===(e-=a)){a===o.length?(++i,r.next?t.head=r.next:t.head=t.tail=null):(t.head=r,r.data=o.slice(a));break}++i}return t.length-=i,n}(e,t);return r}(e,t.buffer,t.decoder),n);var n}function M(e){var t=e._readableState;if(t.length>0)throw new Error('"endReadable()" called on non-empty stream');t.endEmitted||(t.ended=!0,i.nextTick(N,t,e))}function N(e,t){e.endEmitted||0!==e.length||(e.endEmitted=!0,t.readable=!1,t.emit("end"))}function L(e,t){for(var n=0,r=e.length;n<r;n++)if(e[n]===t)return n;return-1}b.prototype.read=function(e){h("read",e),e=parseInt(e,10);var t=this._readableState,n=e;if(0!==e&&(t.emittedReadable=!1),0===e&&t.needReadable&&(t.length>=t.highWaterMark||t.ended))return h("read: emitReadable",t.length,t.ended),0===t.length&&t.ended?M(this):E(this),null;if(0===(e=k(e,t))&&t.ended)return 0===t.length&&M(this),null;var r,i=t.needReadable;return h("need readable",i),(0===t.length||t.length-e<t.highWaterMark)&&h("length less than watermark",i=!0),t.ended||t.reading?h("reading or ended",i=!1):i&&(h("do read"),t.reading=!0,t.sync=!0,0===t.length&&(t.needReadable=!0),this._read(t.highWaterMark),t.sync=!1,t.reading||(e=k(n,t))),null===(r=e>0?P(e,t):null)?(t.needReadable=!0,e=0):t.length-=e,0===t.length&&(t.ended||(t.needReadable=!0),n!==e&&t.ended&&M(this)),null!==r&&this.emit("data",r),r},b.prototype._read=function(e){this.emit("error",new Error("_read() is not implemented"))},b.prototype.pipe=function(e,t){var n=this,o=this._readableState;switch(o.pipesCount){case 0:o.pipes=e;break;case 1:o.pipes=[o.pipes,e];break;default:o.pipes.push(e)}o.pipesCount+=1,h("pipe count=%d opts=%j",o.pipesCount,t);var c=(!t||!1!==t.end)&&e!==r.stdout&&e!==r.stderr?l:b;function u(t,r){h("onunpipe"),t===n&&r&&!1===r.hasUnpiped&&(r.hasUnpiped=!0,h("cleanup"),e.removeListener("close",g),e.removeListener("finish",y),e.removeListener("drain",d),e.removeListener("error",v),e.removeListener("unpipe",u),n.removeListener("end",l),n.removeListener("end",b),n.removeListener("data",m),f=!0,!o.awaitDrain||e._writableState&&!e._writableState.needDrain||d())}function l(){h("onend"),e.end()}o.endEmitted?i.nextTick(c):n.once("end",c),e.on("unpipe",u);var d=function(e){return function(){var t=e._readableState;h("pipeOnDrain",t.awaitDrain),t.awaitDrain&&t.awaitDrain--,0===t.awaitDrain&&s(e,"data")&&(t.flowing=!0,A(e))}}(n);e.on("drain",d);var f=!1;var p=!1;function m(t){h("ondata"),p=!1,!1!==e.write(t)||p||((1===o.pipesCount&&o.pipes===e||o.pipesCount>1&&-1!==L(o.pipes,e))&&!f&&(h("false write response, pause",n._readableState.awaitDrain),n._readableState.awaitDrain++,p=!0),n.pause())}function v(t){h("onerror",t),b(),e.removeListener("error",v),0===s(e,"error")&&e.emit("error",t)}function g(){e.removeListener("finish",y),b()}function y(){h("onfinish"),e.removeListener("close",g),b()}function b(){h("unpipe"),n.unpipe(e)}return n.on("data",m),function(e,t,n){if("function"==typeof e.prependListener)return e.prependListener(t,n);e._events&&e._events[t]?a(e._events[t])?e._events[t].unshift(n):e._events[t]=[n,e._events[t]]:e.on(t,n)}(e,"error",v),e.once("close",g),e.once("finish",y),e.emit("pipe",n),o.flowing||(h("pipe resume"),n.resume()),e},b.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?this:(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,n);return this}var a=L(t.pipes,e);return-1===a?this:(t.pipes.splice(a,1),t.pipesCount-=1,1===t.pipesCount&&(t.pipes=t.pipes[0]),e.emit("unpipe",this,n),this)},b.prototype.on=function(e,t){var n=c.prototype.on.call(this,e,t);if("data"===e)!1!==this._readableState.flowing&&this.resume();else if("readable"===e){var r=this._readableState;r.endEmitted||r.readableListening||(r.readableListening=r.needReadable=!0,r.emittedReadable=!1,r.reading?r.length&&E(this):i.nextTick(O,this))}return n},b.prototype.addListener=b.prototype.on,b.prototype.resume=function(){var e=this._readableState;return e.flowing||(h("resume"),e.flowing=!0,function(e,t){t.resumeScheduled||(t.resumeScheduled=!0,i.nextTick(j,e,t))}(this,e)),this},b.prototype.pause=function(){return h("call pause flowing=%j",this._readableState.flowing),!1!==this._readableState.flowing&&(h("pause"),this._readableState.flowing=!1,this.emit("pause")),this},b.prototype.wrap=function(e){var t=this,n=this._readableState,r=!1;for(var i in e.on("end",function(){if(h("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){(h("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<g.length;o++)e.on(g[o],this.emit.bind(this,g[o]));return this._read=function(t){h("wrapped _read",t),r&&(r=!1,e.resume())},this},Object.defineProperty(b.prototype,"readableHighWaterMark",{enumerable:!1,get:function(){return this._readableState.highWaterMark}}),b._fromList=P}).call(this,n(96),n(280))},function(e,t){var n={}.toString;e.exports=Array.isArray||function(e){return"[object Array]"==n.call(e)}},function(e,t,n){e.exports=n(345).EventEmitter},function(e,t,n){"use strict";var r=n(481);function i(e,t){e.emit("error",t)}e.exports={destroy:function(e,t){var n=this,o=this._readableState&&this._readableState.destroyed,a=this._writableState&&this._writableState.destroyed;return o||a?(t?t(e):!e||this._writableState&&this._writableState.errorEmitted||r.nextTick(i,this,e),this):(this._readableState&&(this._readableState.destroyed=!0),this._writableState&&(this._writableState.destroyed=!0),this._destroy(e||null,function(e){!t&&e?(r.nextTick(i,n,e),n._writableState&&(n._writableState.errorEmitted=!0)):t&&t(e)}),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.finished=!1,this._writableState.errorEmitted=!1)}}},function(e,t,n){"use strict";e.exports=a;var r=n(305),i=Object.create(n(404));function o(e,t){var n=this._transformState;n.transforming=!1;var r=n.writecb;if(!r)return this.emit("error",new Error("write callback called multiple times"));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 a(e){if(!(this instanceof a))return new a(e);r.call(this,e),this._transformState={afterTransform:o.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",s)}function s(){var e=this;"function"==typeof this._flush?this._flush(function(t,n){c(e,t,n)}):c(this,null,null)}function c(e,t,n){if(t)return e.emit("error",t);if(null!=n&&e.push(n),e._writableState.length)throw new Error("Calling transform done when ws.length != 0");if(e._transformState.transforming)throw new Error("Calling transform done when still transforming");return e.push(null)}i.inherits=n(220),i.inherits(a,r),a.prototype.push=function(e,t){return this._transformState.needTransform=!1,r.prototype.push.call(this,e,t)},a.prototype._transform=function(e,t,n){throw new Error("_transform() is not implemented")},a.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)}},a.prototype._read=function(e){var t=this._transformState;null!==t.writechunk&&t.writecb&&!t.transforming?(t.transforming=!0,this._transform(t.writechunk,t.writeencoding,t.afterTransform)):t.needTransform=!0},a.prototype._destroy=function(e,t){var n=this;r.prototype._destroy.call(this,e,function(e){t(e),n.emit("close")})}},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(808)),o=r(n(1415)),a=r(n(809)),s=r(n(1416));function c(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=c(a.default),t.decodeHTMLStrict=c(i.default);var u=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(u),t=Object.keys(i.default).sort(u),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 c(e){return";"!==e.substr(-1)&&(e+=";"),s(e)}return function(e){return String(e).replace(a,c)}}()},function(e){e.exports=JSON.parse('{"Aacute":"Á","aacute":"á","Abreve":"Ă","abreve":"ă","ac":"∾","acd":"∿","acE":"∾̳","Acirc":"Â","acirc":"â","acute":"´","Acy":"А","acy":"а","AElig":"Æ","aelig":"æ","af":"⁡","Afr":"𝔄","afr":"𝔞","Agrave":"À","agrave":"à","alefsym":"ℵ","aleph":"ℵ","Alpha":"Α","alpha":"α","Amacr":"Ā","amacr":"ā","amalg":"⨿","amp":"&","AMP":"&","andand":"⩕","And":"⩓","and":"∧","andd":"⩜","andslope":"⩘","andv":"⩚","ang":"∠","ange":"⦤","angle":"∠","angmsdaa":"⦨","angmsdab":"⦩","angmsdac":"⦪","angmsdad":"⦫","angmsdae":"⦬","angmsdaf":"⦭","angmsdag":"⦮","angmsdah":"⦯","angmsd":"∡","angrt":"∟","angrtvb":"⊾","angrtvbd":"⦝","angsph":"∢","angst":"Å","angzarr":"⍼","Aogon":"Ą","aogon":"ą","Aopf":"𝔸","aopf":"𝕒","apacir":"⩯","ap":"≈","apE":"⩰","ape":"≊","apid":"≋","apos":"\'","ApplyFunction":"⁡","approx":"≈","approxeq":"≊","Aring":"Å","aring":"å","Ascr":"𝒜","ascr":"𝒶","Assign":"≔","ast":"*","asymp":"≈","asympeq":"≍","Atilde":"Ã","atilde":"ã","Auml":"Ä","auml":"ä","awconint":"∳","awint":"⨑","backcong":"≌","backepsilon":"϶","backprime":"‵","backsim":"∽","backsimeq":"⋍","Backslash":"∖","Barv":"⫧","barvee":"⊽","barwed":"⌅","Barwed":"⌆","barwedge":"⌅","bbrk":"⎵","bbrktbrk":"⎶","bcong":"≌","Bcy":"Б","bcy":"б","bdquo":"„","becaus":"∵","because":"∵","Because":"∵","bemptyv":"⦰","bepsi":"϶","bernou":"ℬ","Bernoullis":"ℬ","Beta":"Β","beta":"β","beth":"ℶ","between":"≬","Bfr":"𝔅","bfr":"𝔟","bigcap":"⋂","bigcirc":"◯","bigcup":"⋃","bigodot":"⨀","bigoplus":"⨁","bigotimes":"⨂","bigsqcup":"⨆","bigstar":"★","bigtriangledown":"▽","bigtriangleup":"△","biguplus":"⨄","bigvee":"⋁","bigwedge":"⋀","bkarow":"⤍","blacklozenge":"⧫","blacksquare":"▪","blacktriangle":"▴","blacktriangledown":"▾","blacktriangleleft":"◂","blacktriangleright":"▸","blank":"␣","blk12":"▒","blk14":"░","blk34":"▓","block":"█","bne":"=⃥","bnequiv":"≡⃥","bNot":"⫭","bnot":"⌐","Bopf":"𝔹","bopf":"𝕓","bot":"⊥","bottom":"⊥","bowtie":"⋈","boxbox":"⧉","boxdl":"┐","boxdL":"╕","boxDl":"╖","boxDL":"╗","boxdr":"┌","boxdR":"╒","boxDr":"╓","boxDR":"╔","boxh":"─","boxH":"═","boxhd":"┬","boxHd":"╤","boxhD":"╥","boxHD":"╦","boxhu":"┴","boxHu":"╧","boxhU":"╨","boxHU":"╩","boxminus":"⊟","boxplus":"⊞","boxtimes":"⊠","boxul":"┘","boxuL":"╛","boxUl":"╜","boxUL":"╝","boxur":"└","boxuR":"╘","boxUr":"╙","boxUR":"╚","boxv":"│","boxV":"║","boxvh":"┼","boxvH":"╪","boxVh":"╫","boxVH":"╬","boxvl":"┤","boxvL":"╡","boxVl":"╢","boxVL":"╣","boxvr":"├","boxvR":"╞","boxVr":"╟","boxVR":"╠","bprime":"‵","breve":"˘","Breve":"˘","brvbar":"¦","bscr":"𝒷","Bscr":"ℬ","bsemi":"⁏","bsim":"∽","bsime":"⋍","bsolb":"⧅","bsol":"\\\\","bsolhsub":"⟈","bull":"•","bullet":"•","bump":"≎","bumpE":"⪮","bumpe":"≏","Bumpeq":"≎","bumpeq":"≏","Cacute":"Ć","cacute":"ć","capand":"⩄","capbrcup":"⩉","capcap":"⩋","cap":"∩","Cap":"⋒","capcup":"⩇","capdot":"⩀","CapitalDifferentialD":"ⅅ","caps":"∩︀","caret":"⁁","caron":"ˇ","Cayleys":"ℭ","ccaps":"⩍","Ccaron":"Č","ccaron":"č","Ccedil":"Ç","ccedil":"ç","Ccirc":"Ĉ","ccirc":"ĉ","Cconint":"∰","ccups":"⩌","ccupssm":"⩐","Cdot":"Ċ","cdot":"ċ","cedil":"¸","Cedilla":"¸","cemptyv":"⦲","cent":"¢","centerdot":"·","CenterDot":"·","cfr":"𝔠","Cfr":"ℭ","CHcy":"Ч","chcy":"ч","check":"✓","checkmark":"✓","Chi":"Χ","chi":"χ","circ":"ˆ","circeq":"≗","circlearrowleft":"↺","circlearrowright":"↻","circledast":"⊛","circledcirc":"⊚","circleddash":"⊝","CircleDot":"⊙","circledR":"®","circledS":"Ⓢ","CircleMinus":"⊖","CirclePlus":"⊕","CircleTimes":"⊗","cir":"○","cirE":"⧃","cire":"≗","cirfnint":"⨐","cirmid":"⫯","cirscir":"⧂","ClockwiseContourIntegral":"∲","CloseCurlyDoubleQuote":"”","CloseCurlyQuote":"’","clubs":"♣","clubsuit":"♣","colon":":","Colon":"∷","Colone":"⩴","colone":"≔","coloneq":"≔","comma":",","commat":"@","comp":"∁","compfn":"∘","complement":"∁","complexes":"ℂ","cong":"≅","congdot":"⩭","Congruent":"≡","conint":"∮","Conint":"∯","ContourIntegral":"∮","copf":"𝕔","Copf":"ℂ","coprod":"∐","Coproduct":"∐","copy":"©","COPY":"©","copysr":"℗","CounterClockwiseContourIntegral":"∳","crarr":"↵","cross":"✗","Cross":"⨯","Cscr":"𝒞","cscr":"𝒸","csub":"⫏","csube":"⫑","csup":"⫐","csupe":"⫒","ctdot":"⋯","cudarrl":"⤸","cudarrr":"⤵","cuepr":"⋞","cuesc":"⋟","cularr":"↶","cularrp":"⤽","cupbrcap":"⩈","cupcap":"⩆","CupCap":"≍","cup":"∪","Cup":"⋓","cupcup":"⩊","cupdot":"⊍","cupor":"⩅","cups":"∪︀","curarr":"↷","curarrm":"⤼","curlyeqprec":"⋞","curlyeqsucc":"⋟","curlyvee":"⋎","curlywedge":"⋏","curren":"¤","curvearrowleft":"↶","curvearrowright":"↷","cuvee":"⋎","cuwed":"⋏","cwconint":"∲","cwint":"∱","cylcty":"⌭","dagger":"†","Dagger":"‡","daleth":"ℸ","darr":"↓","Darr":"↡","dArr":"⇓","dash":"‐","Dashv":"⫤","dashv":"⊣","dbkarow":"⤏","dblac":"˝","Dcaron":"Ď","dcaron":"ď","Dcy":"Д","dcy":"д","ddagger":"‡","ddarr":"⇊","DD":"ⅅ","dd":"ⅆ","DDotrahd":"⤑","ddotseq":"⩷","deg":"°","Del":"∇","Delta":"Δ","delta":"δ","demptyv":"⦱","dfisht":"⥿","Dfr":"𝔇","dfr":"𝔡","dHar":"⥥","dharl":"⇃","dharr":"⇂","DiacriticalAcute":"´","DiacriticalDot":"˙","DiacriticalDoubleAcute":"˝","DiacriticalGrave":"`","DiacriticalTilde":"˜","diam":"⋄","diamond":"⋄","Diamond":"⋄","diamondsuit":"♦","diams":"♦","die":"¨","DifferentialD":"ⅆ","digamma":"ϝ","disin":"⋲","div":"÷","divide":"÷","divideontimes":"⋇","divonx":"⋇","DJcy":"Ђ","djcy":"ђ","dlcorn":"⌞","dlcrop":"⌍","dollar":"$","Dopf":"𝔻","dopf":"𝕕","Dot":"¨","dot":"˙","DotDot":"⃜","doteq":"≐","doteqdot":"≑","DotEqual":"≐","dotminus":"∸","dotplus":"∔","dotsquare":"⊡","doublebarwedge":"⌆","DoubleContourIntegral":"∯","DoubleDot":"¨","DoubleDownArrow":"⇓","DoubleLeftArrow":"⇐","DoubleLeftRightArrow":"⇔","DoubleLeftTee":"⫤","DoubleLongLeftArrow":"⟸","DoubleLongLeftRightArrow":"⟺","DoubleLongRightArrow":"⟹","DoubleRightArrow":"⇒","DoubleRightTee":"⊨","DoubleUpArrow":"⇑","DoubleUpDownArrow":"⇕","DoubleVerticalBar":"∥","DownArrowBar":"⤓","downarrow":"↓","DownArrow":"↓","Downarrow":"⇓","DownArrowUpArrow":"⇵","DownBreve":"̑","downdownarrows":"⇊","downharpoonleft":"⇃","downharpoonright":"⇂","DownLeftRightVector":"⥐","DownLeftTeeVector":"⥞","DownLeftVectorBar":"⥖","DownLeftVector":"↽","DownRightTeeVector":"⥟","DownRightVectorBar":"⥗","DownRightVector":"⇁","DownTeeArrow":"↧","DownTee":"⊤","drbkarow":"⤐","drcorn":"⌟","drcrop":"⌌","Dscr":"𝒟","dscr":"𝒹","DScy":"Ѕ","dscy":"ѕ","dsol":"⧶","Dstrok":"Đ","dstrok":"đ","dtdot":"⋱","dtri":"▿","dtrif":"▾","duarr":"⇵","duhar":"⥯","dwangle":"⦦","DZcy":"Џ","dzcy":"џ","dzigrarr":"⟿","Eacute":"É","eacute":"é","easter":"⩮","Ecaron":"Ě","ecaron":"ě","Ecirc":"Ê","ecirc":"ê","ecir":"≖","ecolon":"≕","Ecy":"Э","ecy":"э","eDDot":"⩷","Edot":"Ė","edot":"ė","eDot":"≑","ee":"ⅇ","efDot":"≒","Efr":"𝔈","efr":"𝔢","eg":"⪚","Egrave":"È","egrave":"è","egs":"⪖","egsdot":"⪘","el":"⪙","Element":"∈","elinters":"⏧","ell":"ℓ","els":"⪕","elsdot":"⪗","Emacr":"Ē","emacr":"ē","empty":"∅","emptyset":"∅","EmptySmallSquare":"◻","emptyv":"∅","EmptyVerySmallSquare":"▫","emsp13":" ","emsp14":" ","emsp":" ","ENG":"Ŋ","eng":"ŋ","ensp":" ","Eogon":"Ę","eogon":"ę","Eopf":"𝔼","eopf":"𝕖","epar":"⋕","eparsl":"⧣","eplus":"⩱","epsi":"ε","Epsilon":"Ε","epsilon":"ε","epsiv":"ϵ","eqcirc":"≖","eqcolon":"≕","eqsim":"≂","eqslantgtr":"⪖","eqslantless":"⪕","Equal":"⩵","equals":"=","EqualTilde":"≂","equest":"≟","Equilibrium":"⇌","equiv":"≡","equivDD":"⩸","eqvparsl":"⧥","erarr":"⥱","erDot":"≓","escr":"ℯ","Escr":"ℰ","esdot":"≐","Esim":"⩳","esim":"≂","Eta":"Η","eta":"η","ETH":"Ð","eth":"ð","Euml":"Ë","euml":"ë","euro":"€","excl":"!","exist":"∃","Exists":"∃","expectation":"ℰ","exponentiale":"ⅇ","ExponentialE":"ⅇ","fallingdotseq":"≒","Fcy":"Ф","fcy":"ф","female":"♀","ffilig":"ﬃ","fflig":"ﬀ","ffllig":"ﬄ","Ffr":"𝔉","ffr":"𝔣","filig":"ﬁ","FilledSmallSquare":"◼","FilledVerySmallSquare":"▪","fjlig":"fj","flat":"♭","fllig":"ﬂ","fltns":"▱","fnof":"ƒ","Fopf":"𝔽","fopf":"𝕗","forall":"∀","ForAll":"∀","fork":"⋔","forkv":"⫙","Fouriertrf":"ℱ","fpartint":"⨍","frac12":"½","frac13":"⅓","frac14":"¼","frac15":"⅕","frac16":"⅙","frac18":"⅛","frac23":"⅔","frac25":"⅖","frac34":"¾","frac35":"⅗","frac38":"⅜","frac45":"⅘","frac56":"⅚","frac58":"⅝","frac78":"⅞","frasl":"⁄","frown":"⌢","fscr":"𝒻","Fscr":"ℱ","gacute":"ǵ","Gamma":"Γ","gamma":"γ","Gammad":"Ϝ","gammad":"ϝ","gap":"⪆","Gbreve":"Ğ","gbreve":"ğ","Gcedil":"Ģ","Gcirc":"Ĝ","gcirc":"ĝ","Gcy":"Г","gcy":"г","Gdot":"Ġ","gdot":"ġ","ge":"≥","gE":"≧","gEl":"⪌","gel":"⋛","geq":"≥","geqq":"≧","geqslant":"⩾","gescc":"⪩","ges":"⩾","gesdot":"⪀","gesdoto":"⪂","gesdotol":"⪄","gesl":"⋛︀","gesles":"⪔","Gfr":"𝔊","gfr":"𝔤","gg":"≫","Gg":"⋙","ggg":"⋙","gimel":"ℷ","GJcy":"Ѓ","gjcy":"ѓ","gla":"⪥","gl":"≷","glE":"⪒","glj":"⪤","gnap":"⪊","gnapprox":"⪊","gne":"⪈","gnE":"≩","gneq":"⪈","gneqq":"≩","gnsim":"⋧","Gopf":"𝔾","gopf":"𝕘","grave":"`","GreaterEqual":"≥","GreaterEqualLess":"⋛","GreaterFullEqual":"≧","GreaterGreater":"⪢","GreaterLess":"≷","GreaterSlantEqual":"⩾","GreaterTilde":"≳","Gscr":"𝒢","gscr":"ℊ","gsim":"≳","gsime":"⪎","gsiml":"⪐","gtcc":"⪧","gtcir":"⩺","gt":">","GT":">","Gt":"≫","gtdot":"⋗","gtlPar":"⦕","gtquest":"⩼","gtrapprox":"⪆","gtrarr":"⥸","gtrdot":"⋗","gtreqless":"⋛","gtreqqless":"⪌","gtrless":"≷","gtrsim":"≳","gvertneqq":"≩︀","gvnE":"≩︀","Hacek":"ˇ","hairsp":" ","half":"½","hamilt":"ℋ","HARDcy":"Ъ","hardcy":"ъ","harrcir":"⥈","harr":"↔","hArr":"⇔","harrw":"↭","Hat":"^","hbar":"ℏ","Hcirc":"Ĥ","hcirc":"ĥ","hearts":"♥","heartsuit":"♥","hellip":"…","hercon":"⊹","hfr":"𝔥","Hfr":"ℌ","HilbertSpace":"ℋ","hksearow":"⤥","hkswarow":"⤦","hoarr":"⇿","homtht":"∻","hookleftarrow":"↩","hookrightarrow":"↪","hopf":"𝕙","Hopf":"ℍ","horbar":"―","HorizontalLine":"─","hscr":"𝒽","Hscr":"ℋ","hslash":"ℏ","Hstrok":"Ħ","hstrok":"ħ","HumpDownHump":"≎","HumpEqual":"≏","hybull":"⁃","hyphen":"‐","Iacute":"Í","iacute":"í","ic":"⁣","Icirc":"Î","icirc":"î","Icy":"И","icy":"и","Idot":"İ","IEcy":"Е","iecy":"е","iexcl":"¡","iff":"⇔","ifr":"𝔦","Ifr":"ℑ","Igrave":"Ì","igrave":"ì","ii":"ⅈ","iiiint":"⨌","iiint":"∭","iinfin":"⧜","iiota":"℩","IJlig":"Ĳ","ijlig":"ĳ","Imacr":"Ī","imacr":"ī","image":"ℑ","ImaginaryI":"ⅈ","imagline":"ℐ","imagpart":"ℑ","imath":"ı","Im":"ℑ","imof":"⊷","imped":"Ƶ","Implies":"⇒","incare":"℅","in":"∈","infin":"∞","infintie":"⧝","inodot":"ı","intcal":"⊺","int":"∫","Int":"∬","integers":"ℤ","Integral":"∫","intercal":"⊺","Intersection":"⋂","intlarhk":"⨗","intprod":"⨼","InvisibleComma":"⁣","InvisibleTimes":"⁢","IOcy":"Ё","iocy":"ё","Iogon":"Į","iogon":"į","Iopf":"𝕀","iopf":"𝕚","Iota":"Ι","iota":"ι","iprod":"⨼","iquest":"¿","iscr":"𝒾","Iscr":"ℐ","isin":"∈","isindot":"⋵","isinE":"⋹","isins":"⋴","isinsv":"⋳","isinv":"∈","it":"⁢","Itilde":"Ĩ","itilde":"ĩ","Iukcy":"І","iukcy":"і","Iuml":"Ï","iuml":"ï","Jcirc":"Ĵ","jcirc":"ĵ","Jcy":"Й","jcy":"й","Jfr":"𝔍","jfr":"𝔧","jmath":"ȷ","Jopf":"𝕁","jopf":"𝕛","Jscr":"𝒥","jscr":"𝒿","Jsercy":"Ј","jsercy":"ј","Jukcy":"Є","jukcy":"є","Kappa":"Κ","kappa":"κ","kappav":"ϰ","Kcedil":"Ķ","kcedil":"ķ","Kcy":"К","kcy":"к","Kfr":"𝔎","kfr":"𝔨","kgreen":"ĸ","KHcy":"Х","khcy":"х","KJcy":"Ќ","kjcy":"ќ","Kopf":"𝕂","kopf":"𝕜","Kscr":"𝒦","kscr":"𝓀","lAarr":"⇚","Lacute":"Ĺ","lacute":"ĺ","laemptyv":"⦴","lagran":"ℒ","Lambda":"Λ","lambda":"λ","lang":"⟨","Lang":"⟪","langd":"⦑","langle":"⟨","lap":"⪅","Laplacetrf":"ℒ","laquo":"«","larrb":"⇤","larrbfs":"⤟","larr":"←","Larr":"↞","lArr":"⇐","larrfs":"⤝","larrhk":"↩","larrlp":"↫","larrpl":"⤹","larrsim":"⥳","larrtl":"↢","latail":"⤙","lAtail":"⤛","lat":"⪫","late":"⪭","lates":"⪭︀","lbarr":"⤌","lBarr":"⤎","lbbrk":"❲","lbrace":"{","lbrack":"[","lbrke":"⦋","lbrksld":"⦏","lbrkslu":"⦍","Lcaron":"Ľ","lcaron":"ľ","Lcedil":"Ļ","lcedil":"ļ","lceil":"⌈","lcub":"{","Lcy":"Л","lcy":"л","ldca":"⤶","ldquo":"“","ldquor":"„","ldrdhar":"⥧","ldrushar":"⥋","ldsh":"↲","le":"≤","lE":"≦","LeftAngleBracket":"⟨","LeftArrowBar":"⇤","leftarrow":"←","LeftArrow":"←","Leftarrow":"⇐","LeftArrowRightArrow":"⇆","leftarrowtail":"↢","LeftCeiling":"⌈","LeftDoubleBracket":"⟦","LeftDownTeeVector":"⥡","LeftDownVectorBar":"⥙","LeftDownVector":"⇃","LeftFloor":"⌊","leftharpoondown":"↽","leftharpoonup":"↼","leftleftarrows":"⇇","leftrightarrow":"↔","LeftRightArrow":"↔","Leftrightarrow":"⇔","leftrightarrows":"⇆","leftrightharpoons":"⇋","leftrightsquigarrow":"↭","LeftRightVector":"⥎","LeftTeeArrow":"↤","LeftTee":"⊣","LeftTeeVector":"⥚","leftthreetimes":"⋋","LeftTriangleBar":"⧏","LeftTriangle":"⊲","LeftTriangleEqual":"⊴","LeftUpDownVector":"⥑","LeftUpTeeVector":"⥠","LeftUpVectorBar":"⥘","LeftUpVector":"↿","LeftVectorBar":"⥒","LeftVector":"↼","lEg":"⪋","leg":"⋚","leq":"≤","leqq":"≦","leqslant":"⩽","lescc":"⪨","les":"⩽","lesdot":"⩿","lesdoto":"⪁","lesdotor":"⪃","lesg":"⋚︀","lesges":"⪓","lessapprox":"⪅","lessdot":"⋖","lesseqgtr":"⋚","lesseqqgtr":"⪋","LessEqualGreater":"⋚","LessFullEqual":"≦","LessGreater":"≶","lessgtr":"≶","LessLess":"⪡","lesssim":"≲","LessSlantEqual":"⩽","LessTilde":"≲","lfisht":"⥼","lfloor":"⌊","Lfr":"𝔏","lfr":"𝔩","lg":"≶","lgE":"⪑","lHar":"⥢","lhard":"↽","lharu":"↼","lharul":"⥪","lhblk":"▄","LJcy":"Љ","ljcy":"љ","llarr":"⇇","ll":"≪","Ll":"⋘","llcorner":"⌞","Lleftarrow":"⇚","llhard":"⥫","lltri":"◺","Lmidot":"Ŀ","lmidot":"ŀ","lmoustache":"⎰","lmoust":"⎰","lnap":"⪉","lnapprox":"⪉","lne":"⪇","lnE":"≨","lneq":"⪇","lneqq":"≨","lnsim":"⋦","loang":"⟬","loarr":"⇽","lobrk":"⟦","longleftarrow":"⟵","LongLeftArrow":"⟵","Longleftarrow":"⟸","longleftrightarrow":"⟷","LongLeftRightArrow":"⟷","Longleftrightarrow":"⟺","longmapsto":"⟼","longrightarrow":"⟶","LongRightArrow":"⟶","Longrightarrow":"⟹","looparrowleft":"↫","looparrowright":"↬","lopar":"⦅","Lopf":"𝕃","lopf":"𝕝","loplus":"⨭","lotimes":"⨴","lowast":"∗","lowbar":"_","LowerLeftArrow":"↙","LowerRightArrow":"↘","loz":"◊","lozenge":"◊","lozf":"⧫","lpar":"(","lparlt":"⦓","lrarr":"⇆","lrcorner":"⌟","lrhar":"⇋","lrhard":"⥭","lrm":"‎","lrtri":"⊿","lsaquo":"‹","lscr":"𝓁","Lscr":"ℒ","lsh":"↰","Lsh":"↰","lsim":"≲","lsime":"⪍","lsimg":"⪏","lsqb":"[","lsquo":"‘","lsquor":"‚","Lstrok":"Ł","lstrok":"ł","ltcc":"⪦","ltcir":"⩹","lt":"<","LT":"<","Lt":"≪","ltdot":"⋖","lthree":"⋋","ltimes":"⋉","ltlarr":"⥶","ltquest":"⩻","ltri":"◃","ltrie":"⊴","ltrif":"◂","ltrPar":"⦖","lurdshar":"⥊","luruhar":"⥦","lvertneqq":"≨︀","lvnE":"≨︀","macr":"¯","male":"♂","malt":"✠","maltese":"✠","Map":"⤅","map":"↦","mapsto":"↦","mapstodown":"↧","mapstoleft":"↤","mapstoup":"↥","marker":"▮","mcomma":"⨩","Mcy":"М","mcy":"м","mdash":"—","mDDot":"∺","measuredangle":"∡","MediumSpace":" ","Mellintrf":"ℳ","Mfr":"𝔐","mfr":"𝔪","mho":"℧","micro":"µ","midast":"*","midcir":"⫰","mid":"∣","middot":"·","minusb":"⊟","minus":"−","minusd":"∸","minusdu":"⨪","MinusPlus":"∓","mlcp":"⫛","mldr":"…","mnplus":"∓","models":"⊧","Mopf":"𝕄","mopf":"𝕞","mp":"∓","mscr":"𝓂","Mscr":"ℳ","mstpos":"∾","Mu":"Μ","mu":"μ","multimap":"⊸","mumap":"⊸","nabla":"∇","Nacute":"Ń","nacute":"ń","nang":"∠⃒","nap":"≉","napE":"⩰̸","napid":"≋̸","napos":"ŉ","napprox":"≉","natural":"♮","naturals":"ℕ","natur":"♮","nbsp":" ","nbump":"≎̸","nbumpe":"≏̸","ncap":"⩃","Ncaron":"Ň","ncaron":"ň","Ncedil":"Ņ","ncedil":"ņ","ncong":"≇","ncongdot":"⩭̸","ncup":"⩂","Ncy":"Н","ncy":"н","ndash":"–","nearhk":"⤤","nearr":"↗","neArr":"⇗","nearrow":"↗","ne":"≠","nedot":"≐̸","NegativeMediumSpace":"​","NegativeThickSpace":"​","NegativeThinSpace":"​","NegativeVeryThinSpace":"​","nequiv":"≢","nesear":"⤨","nesim":"≂̸","NestedGreaterGreater":"≫","NestedLessLess":"≪","NewLine":"\\n","nexist":"∄","nexists":"∄","Nfr":"𝔑","nfr":"𝔫","ngE":"≧̸","nge":"≱","ngeq":"≱","ngeqq":"≧̸","ngeqslant":"⩾̸","nges":"⩾̸","nGg":"⋙̸","ngsim":"≵","nGt":"≫⃒","ngt":"≯","ngtr":"≯","nGtv":"≫̸","nharr":"↮","nhArr":"⇎","nhpar":"⫲","ni":"∋","nis":"⋼","nisd":"⋺","niv":"∋","NJcy":"Њ","njcy":"њ","nlarr":"↚","nlArr":"⇍","nldr":"‥","nlE":"≦̸","nle":"≰","nleftarrow":"↚","nLeftarrow":"⇍","nleftrightarrow":"↮","nLeftrightarrow":"⇎","nleq":"≰","nleqq":"≦̸","nleqslant":"⩽̸","nles":"⩽̸","nless":"≮","nLl":"⋘̸","nlsim":"≴","nLt":"≪⃒","nlt":"≮","nltri":"⋪","nltrie":"⋬","nLtv":"≪̸","nmid":"∤","NoBreak":"⁠","NonBreakingSpace":" ","nopf":"𝕟","Nopf":"ℕ","Not":"⫬","not":"¬","NotCongruent":"≢","NotCupCap":"≭","NotDoubleVerticalBar":"∦","NotElement":"∉","NotEqual":"≠","NotEqualTilde":"≂̸","NotExists":"∄","NotGreater":"≯","NotGreaterEqual":"≱","NotGreaterFullEqual":"≧̸","NotGreaterGreater":"≫̸","NotGreaterLess":"≹","NotGreaterSlantEqual":"⩾̸","NotGreaterTilde":"≵","NotHumpDownHump":"≎̸","NotHumpEqual":"≏̸","notin":"∉","notindot":"⋵̸","notinE":"⋹̸","notinva":"∉","notinvb":"⋷","notinvc":"⋶","NotLeftTriangleBar":"⧏̸","NotLeftTriangle":"⋪","NotLeftTriangleEqual":"⋬","NotLess":"≮","NotLessEqual":"≰","NotLessGreater":"≸","NotLessLess":"≪̸","NotLessSlantEqual":"⩽̸","NotLessTilde":"≴","NotNestedGreaterGreater":"⪢̸","NotNestedLessLess":"⪡̸","notni":"∌","notniva":"∌","notnivb":"⋾","notnivc":"⋽","NotPrecedes":"⊀","NotPrecedesEqual":"⪯̸","NotPrecedesSlantEqual":"⋠","NotReverseElement":"∌","NotRightTriangleBar":"⧐̸","NotRightTriangle":"⋫","NotRightTriangleEqual":"⋭","NotSquareSubset":"⊏̸","NotSquareSubsetEqual":"⋢","NotSquareSuperset":"⊐̸","NotSquareSupersetEqual":"⋣","NotSubset":"⊂⃒","NotSubsetEqual":"⊈","NotSucceeds":"⊁","NotSucceedsEqual":"⪰̸","NotSucceedsSlantEqual":"⋡","NotSucceedsTilde":"≿̸","NotSuperset":"⊃⃒","NotSupersetEqual":"⊉","NotTilde":"≁","NotTildeEqual":"≄","NotTildeFullEqual":"≇","NotTildeTilde":"≉","NotVerticalBar":"∤","nparallel":"∦","npar":"∦","nparsl":"⫽⃥","npart":"∂̸","npolint":"⨔","npr":"⊀","nprcue":"⋠","nprec":"⊀","npreceq":"⪯̸","npre":"⪯̸","nrarrc":"⤳̸","nrarr":"↛","nrArr":"⇏","nrarrw":"↝̸","nrightarrow":"↛","nRightarrow":"⇏","nrtri":"⋫","nrtrie":"⋭","nsc":"⊁","nsccue":"⋡","nsce":"⪰̸","Nscr":"𝒩","nscr":"𝓃","nshortmid":"∤","nshortparallel":"∦","nsim":"≁","nsime":"≄","nsimeq":"≄","nsmid":"∤","nspar":"∦","nsqsube":"⋢","nsqsupe":"⋣","nsub":"⊄","nsubE":"⫅̸","nsube":"⊈","nsubset":"⊂⃒","nsubseteq":"⊈","nsubseteqq":"⫅̸","nsucc":"⊁","nsucceq":"⪰̸","nsup":"⊅","nsupE":"⫆̸","nsupe":"⊉","nsupset":"⊃⃒","nsupseteq":"⊉","nsupseteqq":"⫆̸","ntgl":"≹","Ntilde":"Ñ","ntilde":"ñ","ntlg":"≸","ntriangleleft":"⋪","ntrianglelefteq":"⋬","ntriangleright":"⋫","ntrianglerighteq":"⋭","Nu":"Ν","nu":"ν","num":"#","numero":"№","numsp":" ","nvap":"≍⃒","nvdash":"⊬","nvDash":"⊭","nVdash":"⊮","nVDash":"⊯","nvge":"≥⃒","nvgt":">⃒","nvHarr":"⤄","nvinfin":"⧞","nvlArr":"⤂","nvle":"≤⃒","nvlt":"<⃒","nvltrie":"⊴⃒","nvrArr":"⤃","nvrtrie":"⊵⃒","nvsim":"∼⃒","nwarhk":"⤣","nwarr":"↖","nwArr":"⇖","nwarrow":"↖","nwnear":"⤧","Oacute":"Ó","oacute":"ó","oast":"⊛","Ocirc":"Ô","ocirc":"ô","ocir":"⊚","Ocy":"О","ocy":"о","odash":"⊝","Odblac":"Ő","odblac":"ő","odiv":"⨸","odot":"⊙","odsold":"⦼","OElig":"Œ","oelig":"œ","ofcir":"⦿","Ofr":"𝔒","ofr":"𝔬","ogon":"˛","Ograve":"Ò","ograve":"ò","ogt":"⧁","ohbar":"⦵","ohm":"Ω","oint":"∮","olarr":"↺","olcir":"⦾","olcross":"⦻","oline":"‾","olt":"⧀","Omacr":"Ō","omacr":"ō","Omega":"Ω","omega":"ω","Omicron":"Ο","omicron":"ο","omid":"⦶","ominus":"⊖","Oopf":"𝕆","oopf":"𝕠","opar":"⦷","OpenCurlyDoubleQuote":"“","OpenCurlyQuote":"‘","operp":"⦹","oplus":"⊕","orarr":"↻","Or":"⩔","or":"∨","ord":"⩝","order":"ℴ","orderof":"ℴ","ordf":"ª","ordm":"º","origof":"⊶","oror":"⩖","orslope":"⩗","orv":"⩛","oS":"Ⓢ","Oscr":"𝒪","oscr":"ℴ","Oslash":"Ø","oslash":"ø","osol":"⊘","Otilde":"Õ","otilde":"õ","otimesas":"⨶","Otimes":"⨷","otimes":"⊗","Ouml":"Ö","ouml":"ö","ovbar":"⌽","OverBar":"‾","OverBrace":"⏞","OverBracket":"⎴","OverParenthesis":"⏜","para":"¶","parallel":"∥","par":"∥","parsim":"⫳","parsl":"⫽","part":"∂","PartialD":"∂","Pcy":"П","pcy":"п","percnt":"%","period":".","permil":"‰","perp":"⊥","pertenk":"‱","Pfr":"𝔓","pfr":"𝔭","Phi":"Φ","phi":"φ","phiv":"ϕ","phmmat":"ℳ","phone":"☎","Pi":"Π","pi":"π","pitchfork":"⋔","piv":"ϖ","planck":"ℏ","planckh":"ℎ","plankv":"ℏ","plusacir":"⨣","plusb":"⊞","pluscir":"⨢","plus":"+","plusdo":"∔","plusdu":"⨥","pluse":"⩲","PlusMinus":"±","plusmn":"±","plussim":"⨦","plustwo":"⨧","pm":"±","Poincareplane":"ℌ","pointint":"⨕","popf":"𝕡","Popf":"ℙ","pound":"£","prap":"⪷","Pr":"⪻","pr":"≺","prcue":"≼","precapprox":"⪷","prec":"≺","preccurlyeq":"≼","Precedes":"≺","PrecedesEqual":"⪯","PrecedesSlantEqual":"≼","PrecedesTilde":"≾","preceq":"⪯","precnapprox":"⪹","precneqq":"⪵","precnsim":"⋨","pre":"⪯","prE":"⪳","precsim":"≾","prime":"′","Prime":"″","primes":"ℙ","prnap":"⪹","prnE":"⪵","prnsim":"⋨","prod":"∏","Product":"∏","profalar":"⌮","profline":"⌒","profsurf":"⌓","prop":"∝","Proportional":"∝","Proportion":"∷","propto":"∝","prsim":"≾","prurel":"⊰","Pscr":"𝒫","pscr":"𝓅","Psi":"Ψ","psi":"ψ","puncsp":" ","Qfr":"𝔔","qfr":"𝔮","qint":"⨌","qopf":"𝕢","Qopf":"ℚ","qprime":"⁗","Qscr":"𝒬","qscr":"𝓆","quaternions":"ℍ","quatint":"⨖","quest":"?","questeq":"≟","quot":"\\"","QUOT":"\\"","rAarr":"⇛","race":"∽̱","Racute":"Ŕ","racute":"ŕ","radic":"√","raemptyv":"⦳","rang":"⟩","Rang":"⟫","rangd":"⦒","range":"⦥","rangle":"⟩","raquo":"»","rarrap":"⥵","rarrb":"⇥","rarrbfs":"⤠","rarrc":"⤳","rarr":"→","Rarr":"↠","rArr":"⇒","rarrfs":"⤞","rarrhk":"↪","rarrlp":"↬","rarrpl":"⥅","rarrsim":"⥴","Rarrtl":"⤖","rarrtl":"↣","rarrw":"↝","ratail":"⤚","rAtail":"⤜","ratio":"∶","rationals":"ℚ","rbarr":"⤍","rBarr":"⤏","RBarr":"⤐","rbbrk":"❳","rbrace":"}","rbrack":"]","rbrke":"⦌","rbrksld":"⦎","rbrkslu":"⦐","Rcaron":"Ř","rcaron":"ř","Rcedil":"Ŗ","rcedil":"ŗ","rceil":"⌉","rcub":"}","Rcy":"Р","rcy":"р","rdca":"⤷","rdldhar":"⥩","rdquo":"”","rdquor":"”","rdsh":"↳","real":"ℜ","realine":"ℛ","realpart":"ℜ","reals":"ℝ","Re":"ℜ","rect":"▭","reg":"®","REG":"®","ReverseElement":"∋","ReverseEquilibrium":"⇋","ReverseUpEquilibrium":"⥯","rfisht":"⥽","rfloor":"⌋","rfr":"𝔯","Rfr":"ℜ","rHar":"⥤","rhard":"⇁","rharu":"⇀","rharul":"⥬","Rho":"Ρ","rho":"ρ","rhov":"ϱ","RightAngleBracket":"⟩","RightArrowBar":"⇥","rightarrow":"→","RightArrow":"→","Rightarrow":"⇒","RightArrowLeftArrow":"⇄","rightarrowtail":"↣","RightCeiling":"⌉","RightDoubleBracket":"⟧","RightDownTeeVector":"⥝","RightDownVectorBar":"⥕","RightDownVector":"⇂","RightFloor":"⌋","rightharpoondown":"⇁","rightharpoonup":"⇀","rightleftarrows":"⇄","rightleftharpoons":"⇌","rightrightarrows":"⇉","rightsquigarrow":"↝","RightTeeArrow":"↦","RightTee":"⊢","RightTeeVector":"⥛","rightthreetimes":"⋌","RightTriangleBar":"⧐","RightTriangle":"⊳","RightTriangleEqual":"⊵","RightUpDownVector":"⥏","RightUpTeeVector":"⥜","RightUpVectorBar":"⥔","RightUpVector":"↾","RightVectorBar":"⥓","RightVector":"⇀","ring":"˚","risingdotseq":"≓","rlarr":"⇄","rlhar":"⇌","rlm":"‏","rmoustache":"⎱","rmoust":"⎱","rnmid":"⫮","roang":"⟭","roarr":"⇾","robrk":"⟧","ropar":"⦆","ropf":"𝕣","Ropf":"ℝ","roplus":"⨮","rotimes":"⨵","RoundImplies":"⥰","rpar":")","rpargt":"⦔","rppolint":"⨒","rrarr":"⇉","Rrightarrow":"⇛","rsaquo":"›","rscr":"𝓇","Rscr":"ℛ","rsh":"↱","Rsh":"↱","rsqb":"]","rsquo":"’","rsquor":"’","rthree":"⋌","rtimes":"⋊","rtri":"▹","rtrie":"⊵","rtrif":"▸","rtriltri":"⧎","RuleDelayed":"⧴","ruluhar":"⥨","rx":"℞","Sacute":"Ś","sacute":"ś","sbquo":"‚","scap":"⪸","Scaron":"Š","scaron":"š","Sc":"⪼","sc":"≻","sccue":"≽","sce":"⪰","scE":"⪴","Scedil":"Ş","scedil":"ş","Scirc":"Ŝ","scirc":"ŝ","scnap":"⪺","scnE":"⪶","scnsim":"⋩","scpolint":"⨓","scsim":"≿","Scy":"С","scy":"с","sdotb":"⊡","sdot":"⋅","sdote":"⩦","searhk":"⤥","searr":"↘","seArr":"⇘","searrow":"↘","sect":"§","semi":";","seswar":"⤩","setminus":"∖","setmn":"∖","sext":"✶","Sfr":"𝔖","sfr":"𝔰","sfrown":"⌢","sharp":"♯","SHCHcy":"Щ","shchcy":"щ","SHcy":"Ш","shcy":"ш","ShortDownArrow":"↓","ShortLeftArrow":"←","shortmid":"∣","shortparallel":"∥","ShortRightArrow":"→","ShortUpArrow":"↑","shy":"­","Sigma":"Σ","sigma":"σ","sigmaf":"ς","sigmav":"ς","sim":"∼","simdot":"⩪","sime":"≃","simeq":"≃","simg":"⪞","simgE":"⪠","siml":"⪝","simlE":"⪟","simne":"≆","simplus":"⨤","simrarr":"⥲","slarr":"←","SmallCircle":"∘","smallsetminus":"∖","smashp":"⨳","smeparsl":"⧤","smid":"∣","smile":"⌣","smt":"⪪","smte":"⪬","smtes":"⪬︀","SOFTcy":"Ь","softcy":"ь","solbar":"⌿","solb":"⧄","sol":"/","Sopf":"𝕊","sopf":"𝕤","spades":"♠","spadesuit":"♠","spar":"∥","sqcap":"⊓","sqcaps":"⊓︀","sqcup":"⊔","sqcups":"⊔︀","Sqrt":"√","sqsub":"⊏","sqsube":"⊑","sqsubset":"⊏","sqsubseteq":"⊑","sqsup":"⊐","sqsupe":"⊒","sqsupset":"⊐","sqsupseteq":"⊒","square":"□","Square":"□","SquareIntersection":"⊓","SquareSubset":"⊏","SquareSubsetEqual":"⊑","SquareSuperset":"⊐","SquareSupersetEqual":"⊒","SquareUnion":"⊔","squarf":"▪","squ":"□","squf":"▪","srarr":"→","Sscr":"𝒮","sscr":"𝓈","ssetmn":"∖","ssmile":"⌣","sstarf":"⋆","Star":"⋆","star":"☆","starf":"★","straightepsilon":"ϵ","straightphi":"ϕ","strns":"¯","sub":"⊂","Sub":"⋐","subdot":"⪽","subE":"⫅","sube":"⊆","subedot":"⫃","submult":"⫁","subnE":"⫋","subne":"⊊","subplus":"⪿","subrarr":"⥹","subset":"⊂","Subset":"⋐","subseteq":"⊆","subseteqq":"⫅","SubsetEqual":"⊆","subsetneq":"⊊","subsetneqq":"⫋","subsim":"⫇","subsub":"⫕","subsup":"⫓","succapprox":"⪸","succ":"≻","succcurlyeq":"≽","Succeeds":"≻","SucceedsEqual":"⪰","SucceedsSlantEqual":"≽","SucceedsTilde":"≿","succeq":"⪰","succnapprox":"⪺","succneqq":"⪶","succnsim":"⋩","succsim":"≿","SuchThat":"∋","sum":"∑","Sum":"∑","sung":"♪","sup1":"¹","sup2":"²","sup3":"³","sup":"⊃","Sup":"⋑","supdot":"⪾","supdsub":"⫘","supE":"⫆","supe":"⊇","supedot":"⫄","Superset":"⊃","SupersetEqual":"⊇","suphsol":"⟉","suphsub":"⫗","suplarr":"⥻","supmult":"⫂","supnE":"⫌","supne":"⊋","supplus":"⫀","supset":"⊃","Supset":"⋑","supseteq":"⊇","supseteqq":"⫆","supsetneq":"⊋","supsetneqq":"⫌","supsim":"⫈","supsub":"⫔","supsup":"⫖","swarhk":"⤦","swarr":"↙","swArr":"⇙","swarrow":"↙","swnwar":"⤪","szlig":"ß","Tab":"\\t","target":"⌖","Tau":"Τ","tau":"τ","tbrk":"⎴","Tcaron":"Ť","tcaron":"ť","Tcedil":"Ţ","tcedil":"ţ","Tcy":"Т","tcy":"т","tdot":"⃛","telrec":"⌕","Tfr":"𝔗","tfr":"𝔱","there4":"∴","therefore":"∴","Therefore":"∴","Theta":"Θ","theta":"θ","thetasym":"ϑ","thetav":"ϑ","thickapprox":"≈","thicksim":"∼","ThickSpace":"  ","ThinSpace":" ","thinsp":" ","thkap":"≈","thksim":"∼","THORN":"Þ","thorn":"þ","tilde":"˜","Tilde":"∼","TildeEqual":"≃","TildeFullEqual":"≅","TildeTilde":"≈","timesbar":"⨱","timesb":"⊠","times":"×","timesd":"⨰","tint":"∭","toea":"⤨","topbot":"⌶","topcir":"⫱","top":"⊤","Topf":"𝕋","topf":"𝕥","topfork":"⫚","tosa":"⤩","tprime":"‴","trade":"™","TRADE":"™","triangle":"▵","triangledown":"▿","triangleleft":"◃","trianglelefteq":"⊴","triangleq":"≜","triangleright":"▹","trianglerighteq":"⊵","tridot":"◬","trie":"≜","triminus":"⨺","TripleDot":"⃛","triplus":"⨹","trisb":"⧍","tritime":"⨻","trpezium":"⏢","Tscr":"𝒯","tscr":"𝓉","TScy":"Ц","tscy":"ц","TSHcy":"Ћ","tshcy":"ћ","Tstrok":"Ŧ","tstrok":"ŧ","twixt":"≬","twoheadleftarrow":"↞","twoheadrightarrow":"↠","Uacute":"Ú","uacute":"ú","uarr":"↑","Uarr":"↟","uArr":"⇑","Uarrocir":"⥉","Ubrcy":"Ў","ubrcy":"ў","Ubreve":"Ŭ","ubreve":"ŭ","Ucirc":"Û","ucirc":"û","Ucy":"У","ucy":"у","udarr":"⇅","Udblac":"Ű","udblac":"ű","udhar":"⥮","ufisht":"⥾","Ufr":"𝔘","ufr":"𝔲","Ugrave":"Ù","ugrave":"ù","uHar":"⥣","uharl":"↿","uharr":"↾","uhblk":"▀","ulcorn":"⌜","ulcorner":"⌜","ulcrop":"⌏","ultri":"◸","Umacr":"Ū","umacr":"ū","uml":"¨","UnderBar":"_","UnderBrace":"⏟","UnderBracket":"⎵","UnderParenthesis":"⏝","Union":"⋃","UnionPlus":"⊎","Uogon":"Ų","uogon":"ų","Uopf":"𝕌","uopf":"𝕦","UpArrowBar":"⤒","uparrow":"↑","UpArrow":"↑","Uparrow":"⇑","UpArrowDownArrow":"⇅","updownarrow":"↕","UpDownArrow":"↕","Updownarrow":"⇕","UpEquilibrium":"⥮","upharpoonleft":"↿","upharpoonright":"↾","uplus":"⊎","UpperLeftArrow":"↖","UpperRightArrow":"↗","upsi":"υ","Upsi":"ϒ","upsih":"ϒ","Upsilon":"Υ","upsilon":"υ","UpTeeArrow":"↥","UpTee":"⊥","upuparrows":"⇈","urcorn":"⌝","urcorner":"⌝","urcrop":"⌎","Uring":"Ů","uring":"ů","urtri":"◹","Uscr":"𝒰","uscr":"𝓊","utdot":"⋰","Utilde":"Ũ","utilde":"ũ","utri":"▵","utrif":"▴","uuarr":"⇈","Uuml":"Ü","uuml":"ü","uwangle":"⦧","vangrt":"⦜","varepsilon":"ϵ","varkappa":"ϰ","varnothing":"∅","varphi":"ϕ","varpi":"ϖ","varpropto":"∝","varr":"↕","vArr":"⇕","varrho":"ϱ","varsigma":"ς","varsubsetneq":"⊊︀","varsubsetneqq":"⫋︀","varsupsetneq":"⊋︀","varsupsetneqq":"⫌︀","vartheta":"ϑ","vartriangleleft":"⊲","vartriangleright":"⊳","vBar":"⫨","Vbar":"⫫","vBarv":"⫩","Vcy":"В","vcy":"в","vdash":"⊢","vDash":"⊨","Vdash":"⊩","VDash":"⊫","Vdashl":"⫦","veebar":"⊻","vee":"∨","Vee":"⋁","veeeq":"≚","vellip":"⋮","verbar":"|","Verbar":"‖","vert":"|","Vert":"‖","VerticalBar":"∣","VerticalLine":"|","VerticalSeparator":"❘","VerticalTilde":"≀","VeryThinSpace":" ","Vfr":"𝔙","vfr":"𝔳","vltri":"⊲","vnsub":"⊂⃒","vnsup":"⊃⃒","Vopf":"𝕍","vopf":"𝕧","vprop":"∝","vrtri":"⊳","Vscr":"𝒱","vscr":"𝓋","vsubnE":"⫋︀","vsubne":"⊊︀","vsupnE":"⫌︀","vsupne":"⊋︀","Vvdash":"⊪","vzigzag":"⦚","Wcirc":"Ŵ","wcirc":"ŵ","wedbar":"⩟","wedge":"∧","Wedge":"⋀","wedgeq":"≙","weierp":"℘","Wfr":"𝔚","wfr":"𝔴","Wopf":"𝕎","wopf":"𝕨","wp":"℘","wr":"≀","wreath":"≀","Wscr":"𝒲","wscr":"𝓌","xcap":"⋂","xcirc":"◯","xcup":"⋃","xdtri":"▽","Xfr":"𝔛","xfr":"𝔵","xharr":"⟷","xhArr":"⟺","Xi":"Ξ","xi":"ξ","xlarr":"⟵","xlArr":"⟸","xmap":"⟼","xnis":"⋻","xodot":"⨀","Xopf":"𝕏","xopf":"𝕩","xoplus":"⨁","xotime":"⨂","xrarr":"⟶","xrArr":"⟹","Xscr":"𝒳","xscr":"𝓍","xsqcup":"⨆","xuplus":"⨄","xutri":"△","xvee":"⋁","xwedge":"⋀","Yacute":"Ý","yacute":"ý","YAcy":"Я","yacy":"я","Ycirc":"Ŷ","ycirc":"ŷ","Ycy":"Ы","ycy":"ы","yen":"¥","Yfr":"𝔜","yfr":"𝔶","YIcy":"Ї","yicy":"ї","Yopf":"𝕐","yopf":"𝕪","Yscr":"𝒴","yscr":"𝓎","YUcy":"Ю","yucy":"ю","yuml":"ÿ","Yuml":"Ÿ","Zacute":"Ź","zacute":"ź","Zcaron":"Ž","zcaron":"ž","Zcy":"З","zcy":"з","Zdot":"Ż","zdot":"ż","zeetrf":"ℨ","ZeroWidthSpace":"​","Zeta":"Ζ","zeta":"ζ","zfr":"𝔷","Zfr":"ℨ","ZHcy":"Ж","zhcy":"ж","zigrarr":"⇝","zopf":"𝕫","Zopf":"ℤ","Zscr":"𝒵","zscr":"𝓏","zwj":"‍","zwnj":"‌"}')},function(e){e.exports=JSON.parse('{"amp":"&","apos":"\'","gt":">","lt":"<","quot":"\\""}')},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=c(r(n(809)).default),o=u(i);t.encodeXML=p(i,o);var a=c(r(n(808)).default),s=u(a);function c(e){return Object.keys(e).sort().reduce(function(t,n){return t[e[n]]="&"+n+";",t},{})}function u(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=p(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 h(e,t){return"&#x"+(1024*(e.charCodeAt(0)-55296)+e.charCodeAt(1)-56320+65536).toString(16).toUpperCase()+";"}function p(e,t){return function(n){return n.replace(t,function(t){return e[t]}).replace(d,h).replace(l,f)}}var m=u(i);t.escape=function(e){return e.replace(m,f).replace(d,h).replace(l,f)}},function(e,t,n){"use strict";t.__esModule=!0;var r=a(n(1433)),i=a(n(812)),o=a(n(1434));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),c=Math.min(this.line+2,a.length),u=String(c).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,c).map(function(e,n){var r=s+1+n,i=" "+(" "+r).slice(-u)+" | ";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},function(e,t){},function(e,t,n){"use strict";t.__esModule=!0,t.default=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=e.css.valueOf(),T=t.ignoreErrors,C=void 0,O=void 0,j=void 0,A=void 0,P=void 0,M=void 0,N=void 0,L=void 0,I=void 0,D=void 0,R=void 0,B=void 0,F=void 0,U=void 0,q=n.length,z=-1,H=1,V=0,W=[],Y=[];function G(t){throw e.error("Unclosed "+t,H,V-z)}return{back:function(e){Y.push(e)},nextToken:function(){if(Y.length)return Y.pop();if(V>=q)return;((C=n.charCodeAt(V))===s||C===u||C===d&&n.charCodeAt(V+1)!==s)&&(z=V,H+=1);switch(C){case s:case c:case l:case d:case u:O=V;do{O+=1,(C=n.charCodeAt(O))===s&&(z=O,H+=1)}while(C===c||C===s||C===l||C===d||C===u);U=["space",n.slice(V,O)],V=O-1;break;case f:U=["[","[",H,V-z];break;case h:U=["]","]",H,V-z];break;case v:U=["{","{",H,V-z];break;case g:U=["}","}",H,V-z];break;case _:U=[":",":",H,V-z];break;case y:U=[";",";",H,V-z];break;case p:if(B=W.length?W.pop()[1]:"",F=n.charCodeAt(V+1),"url"===B&&F!==r&&F!==i&&F!==c&&F!==s&&F!==l&&F!==u&&F!==d){O=V;do{if(D=!1,-1===(O=n.indexOf(")",O+1))){if(T){O=V;break}G("bracket")}for(R=O;n.charCodeAt(R-1)===o;)R-=1,D=!D}while(D);U=["brackets",n.slice(V,O+1),H,V-z,H,O-z],V=O}else O=n.indexOf(")",V+1),M=n.slice(V,O+1),-1===O||E.test(M)?U=["(","(",H,V-z]:(U=["brackets",M,H,V-z,H,O-z],V=O);break;case m:U=[")",")",H,V-z];break;case r:case i:j=C===r?"'":'"',O=V;do{if(D=!1,-1===(O=n.indexOf(j,O+1))){if(T){O=V+1;break}G("string")}for(R=O;n.charCodeAt(R-1)===o;)R-=1,D=!D}while(D);M=n.slice(V,O+1),A=M.split("\n"),(P=A.length-1)>0?(L=H+P,I=O-A[P].length):(L=H,I=z),U=["string",n.slice(V,O+1),H,V-z,L,O-I],z=I,H=L,V=O;break;case w:x.lastIndex=V+1,x.test(n),O=0===x.lastIndex?n.length-1:x.lastIndex-2,U=["at-word",n.slice(V,O+1),H,V-z,H,O-z],V=O;break;case o:for(O=V,N=!0;n.charCodeAt(O+1)===o;)O+=1,N=!N;if(C=n.charCodeAt(O+1),N&&C!==a&&C!==c&&C!==s&&C!==l&&C!==d&&C!==u&&(O+=1,S.test(n.charAt(O)))){for(;S.test(n.charAt(O+1));)O+=1;n.charCodeAt(O+1)===c&&(O+=1)}U=["word",n.slice(V,O+1),H,V-z,H,O-z],V=O;break;default:C===a&&n.charCodeAt(V+1)===b?(0===(O=n.indexOf("*/",V+2)+1)&&(T?O=n.length:G("comment")),M=n.slice(V,O+1),A=M.split("\n"),(P=A.length-1)>0?(L=H+P,I=O-A[P].length):(L=H,I=z),U=["comment",M,H,V-z,L,O-I],z=I,H=L,V=O):(k.lastIndex=V+1,k.test(n),O=0===k.lastIndex?n.length-1:k.lastIndex-2,U=["word",n.slice(V,O+1),H,V-z,H,O-z],W.push(U),V=O)}return V++,U},endOfFile:function(){return 0===Y.length&&V>=q}}};var r=39,i=34,o=92,a=47,s=10,c=32,u=12,l=9,d=13,f=91,h=93,p=40,m=41,v=123,g=125,y=59,b=42,_=58,w=64,x=/[ \n\t\r\f\{\(\)'"\\;/\[\]#]/g,k=/[ \n\t\r\f\(\)\{\}:;@!'"\\\]\[#]|\/(?=\*)/g,E=/.[\\\/\("'\n]/,S=/[a-f0-9]/i;e.exports=t.default},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(811)),o=s(n(1435)),a=s(n(621));function s(e){return e&&e.__esModule?e:{default:e}}var c=0,u=function(){function e(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(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=u,e.exports=t.default},function(e,t,n){t.SourceMapGenerator=n(816).SourceMapGenerator,t.SourceMapConsumer=n(1438).SourceMapConsumer,t.SourceNode=n(1441).SourceNode},function(e,t,n){var r=n(817),i=n(405),o=n(818).ArraySet,a=n(1437).MappingList;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,c=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 u=t.source;null==u||s.has(u)||s.add(u);var l=t.name;null==l||c.has(l)||c.add(l)},this),this._sources=s,this._names=c,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,c=0,u=0,l=0,d=0,f="",h=this._mappings.toArray(),p=0,m=h.length;p<m;p++){if(e="",(t=h[p]).generatedLine!==s)for(a=0;t.generatedLine!==s;)e+=";",s++;else if(p>0){if(!i.compareByGeneratedPositionsInflated(t,h[p-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-u),u=t.originalLine-1,e+=r.encode(t.originalColumn-c),c=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},function(e,t,n){var r=n(1436);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,c=e.length,u=0,l=0;do{if(t>=c)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),u+=(o&=31)<<l,l+=5}while(i);n.value=(s=(a=u)>>1,1==(1&a)?-s:s),n.rest=t}},function(e,t,n){var r=n(405),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.ArraySet=a},function(e,t,n){"use strict";t.__esModule=!0;var r={colon:": ",indent:"    ",beforeDecl:"\n",beforeRule:"\n",beforeOpen:" ",beforeClose:"\n",beforeComment:"\n",after:"\n",emptyBody:"",commentLeft:" ",commentRight:" "};var i=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,n){var i=void 0;if(n||(n=t),t&&void 0!==(i=e.raws[t]))return i;var o=e.parent;if("before"===n&&(!o||"root"===o.type&&o.first===e))return"";if(!o)return r[n];var a=e.root();if(a.rawCache||(a.rawCache={}),void 0!==a.rawCache[n])return a.rawCache[n];if("before"===n||"after"===n)return this.beforeAfter(e,n);var s,c="raw"+((s=n)[0].toUpperCase()+s.slice(1));return this[c]?i=this[c](a,e):a.walk(function(e){if(void 0!==(i=e.raws[t]))return!1}),void 0===i&&(i=r[n]),a.rawCache[n]=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=i,e.exports=t.default},function(e,t,n){"use strict";t.__esModule=!0,t.default=function(e){if(r[e])return;r[e]=!0,"undefined"!=typeof console&&console.warn&&console.warn(e)};var r={};e.exports=t.default},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(822),a=(r=o)&&r.__esModule?r:{default:r};var s=function(){function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(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=s,e.exports=t.default},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(1443)),a=l(n(622)),s=l(n(820)),c=l(n(1444)),u=l(n(623));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 c.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=u.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 c.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:(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},function(e,t,n){"use strict";t.__esModule=!0;var r={split:function(e,t,n){for(var r=[],i="",o=!1,a=0,s=!1,c=!1,u=0;u<e.length;u++){var l=e[u];s?c?c=!1:"\\"===l?c=!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 r.split(e,[" ","\n","\t"])},comma:function(e){return r.split(e,[","],!0)}};t.default=r,e.exports=t.default},function(e,t){e.exports=function(e){return"[object Number]"===Object.prototype.toString.call(e)}},function(e,t,n){var r=n(18),i=n(190),o=n(521),a=n(56),s=n(30);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))})})},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(1459),o=(r=i)&&r.__esModule?r:{default:r},a=["type","payload","error","meta"];function s(e){return a.indexOf(e)>-1}},function(e,t){var n=9007199254740991,r="[object Arguments]",i="[object Function]",o="[object GeneratorFunction]",a=Object.prototype,s=a.hasOwnProperty,c=a.toString,u=a.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<=n}(e.length)&&!function(e){var t=function(e){var t=typeof e;return!!e&&("object"==t||"function"==t)}(e)?c.call(e):"";return t==i||t==o}(e)}(e)}(e)&&s.call(e,"callee")&&(!u.call(e,"callee")||c.call(e)==r)}},function(e,t,n){"use strict";var r=n(45),i=n(396),o=n(473),a=n(301),s=n(198),c=n(300),u=n(134),l=function(e,t){var n=this;if(!(n instanceof l))return new l(e,t);o&&(n=o(new Error(void 0),i(n))),void 0!==t&&s(n,"message",String(t));var r=[];return u(e,r.push,{that:r}),s(n,"errors",r),n};l.prototype=a(Error.prototype,{constructor:c(5,l),message:c(5,""),name:c(5,"AggregateError")}),r({global:!0},{AggregateError:l})},function(e,t,n){var r=n(132);e.exports=r.Promise},function(e,t,n){"use strict";var r=n(173),i=n(199),o=n(124),a=n(157),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}})}},function(e,t,n){var r,i,o,a=n(132),s=n(121),c=n(166),u=n(759),l=n(589),d=n(832),f=n(627),h=a.location,p=a.setImmediate,m=a.clearImmediate,v=a.process,g=a.MessageChannel,y=a.Dispatch,b=0,_={},w=function(e){if(_.hasOwnProperty(e)){var t=_[e];delete _[e],t()}},x=function(e){return function(){w(e)}},k=function(e){w(e.data)},E=function(e){a.postMessage(e+"",h.protocol+"//"+h.host)};p&&m||(p=function(e){for(var t=[],n=1;arguments.length>n;)t.push(arguments[n++]);return _[++b]=function(){("function"==typeof e?e:Function(e)).apply(void 0,t)},r(b),b},m=function(e){delete _[e]},f?r=function(e){v.nextTick(x(e))}:y&&y.now?r=function(e){y.now(x(e))}:g&&!d?(o=(i=new g).port2,i.port1.onmessage=k,r=c(o.postMessage,o,1)):a.addEventListener&&"function"==typeof postMessage&&!a.importScripts&&h&&"file:"!==h.protocol&&!s(E)?(r=E,a.addEventListener("message",k,!1)):r="onreadystatechange"in l("script")?function(e){u.appendChild(l("script")).onreadystatechange=function(){u.removeChild(this),w(e)}}:function(e){setTimeout(x(e),0)}),e.exports={set:p,clear:m}},function(e,t,n){var r=n(377);e.exports=/(?:iphone|ipod|ipad).*applewebkit/i.test(r)},function(e,t,n){var r=n(94),i=n(147),o=n(407);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}},function(e,t,n){"use strict";var r=n(45),i=n(142),o=n(407),a=n(486),s=n(134);r({target:"Promise",stat:!0},{allSettled:function(e){var t=this,n=o.f(t),r=n.resolve,c=n.reject,u=a(function(){var n=i(t.resolve),o=[],a=0,c=1;s(e,function(e){var i=a++,s=!1;o.push(void 0),c++,n.call(t,e).then(function(e){s||(s=!0,o[i]={status:"fulfilled",value:e},--c||r(o))},function(e){s||(s=!0,o[i]={status:"rejected",reason:e},--c||r(o))})}),--c||r(o)});return u.error&&c(u.value),n.promise}})},function(e,t,n){"use strict";var r=n(45),i=n(142),o=n(173),a=n(407),s=n(486),c=n(134);r({target:"Promise",stat:!0},{any:function(e){var t=this,n=a.f(t),r=n.resolve,u=n.reject,l=s(function(){var n=i(t.resolve),a=[],s=0,l=1,d=!1;c(e,function(e){var i=s++,c=!1;a.push(void 0),l++,n.call(t,e).then(function(e){c||d||(d=!0,r(e))},function(e){c||d||(c=!0,a[i]=e,--l||u(new(o("AggregateError"))(a,"No one promise resolved")))})}),--l||u(new(o("AggregateError"))(a,"No one promise resolved"))});return l.error&&u(l.value),n.promise}})},function(e,t,n){
/** @license ISC License (c) copyright 2016 original and current authors */
var r=n(217),i=n(453);e.exports=function(e){return i(e)&&(r("empty",e)||r("empty",e.constructor))}},function(e,t,n){
/** @license ISC License (c) copyright 2017 original and current authors */
var r=n(83);e.exports=function(e){return e&&r(e.type)?e.type():{}.toString.call(e).slice(8,-1)}},function(e,t,n){
/** @license ISC License (c) copyright 2018 original and current authors */
var r=n(730),i=n(1478);e.exports=function(e){return function(t){return r(e)?e.of(t):i(Array,e)?[t]:e(t)}}},function(e,t,n){
/** @license ISC License (c) copyright 2017 original and current authors */
var r=n(840);e.exports=function(e){return r(e)&&isFinite(e)&&Math.floor(e)===e}},function(e,t){e.exports=
/** @license ISC License (c) copyright 2016 original and current authors */
function(e){return"number"==typeof e&&!isNaN(e)}},function(e,t,n){var r=n(470);e.exports=function(e){return function t(n){for(var i,o,a,s=[],c=0,u=n.length;c<u;){if(r(n[c]))for(a=0,o=(i=e?t(n[c]):n[c]).length;a<o;)s[s.length]=i[a],a+=1;else s[s.length]=n[c];c+=1}return s}}},function(e,t){e.exports="\t\n\v\f\r                　\u2028\u2029\ufeff"},function(e,t,n){var r=n(58),i=n(174),o=n(276),a=n(632),s=n(27),c=n(31);e.exports=r(function e(t,n,r){if(0===t.length)return n;var u=t[0];if(t.length>1){var l=!c(r)&&i(u,r)?r[u]:a(t[1])?[]:{};n=e(Array.prototype.slice.call(t,1),n,l)}if(a(u)&&o(r)){var d=[].concat(r);return d[u]=n,d}return s(u,n,r)})},function(e,t,n){var r=n(219),i=n(18);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))})})}},function(e,t,n){var r=n(18),i=n(279),o=n(148);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)})}()},function(e,t,n){var r=n(18);e.exports=r(function(e,t){return e&&t})},function(e,t,n){"use strict";var r=Object.prototype.hasOwnProperty,i=Array.isArray,o=function(){for(var e=[],t=0;t<256;++t)e.push("%"+((t<16?"0":"")+t.toString(16)).toUpperCase());return e}(),a=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:a,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 o=t[r],a=o.obj[o.prop],s=Object.keys(a),c=0;c<s.length;++c){var u=s[c],l=a[u];"object"==typeof l&&null!==l&&-1===n.indexOf(l)&&(t.push({obj:a,prop:u}),n.push(l))}return function(e){for(;e.length>1;){var t=e.pop(),n=t.obj[t.prop];if(i(n)){for(var r=[],o=0;o<n.length;++o)void 0!==n[o]&&r.push(n[o]);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){if(0===e.length)return e;var r="string"==typeof e?e:String(e);if("iso-8859-1"===n)return escape(r).replace(/%u[0-9a-f]{4}/gi,function(e){return"%26%23"+parseInt(e.slice(2),16)+"%3B"});for(var i="",a=0;a<r.length;++a){var s=r.charCodeAt(a);45===s||46===s||95===s||126===s||s>=48&&s<=57||s>=65&&s<=90||s>=97&&s<=122?i+=r.charAt(a):s<128?i+=o[s]:s<2048?i+=o[192|s>>6]+o[128|63&s]:s<55296||s>=57344?i+=o[224|s>>12]+o[128|s>>6&63]+o[128|63&s]:(a+=1,s=65536+((1023&s)<<10|1023&r.charCodeAt(a)),i+=o[240|s>>18]+o[128|s>>12&63]+o[128|s>>6&63]+o[128|63&s])}return i},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)},merge:function e(t,n,o){if(!n)return t;if("object"!=typeof n){if(i(t))t.push(n);else{if(!t||"object"!=typeof t)return[t,n];(o&&(o.plainObjects||o.allowPrototypes)||!r.call(Object.prototype,n))&&(t[n]=!0)}return t}if(!t||"object"!=typeof t)return[t].concat(n);var s=t;return i(t)&&!i(n)&&(s=a(t,o)),i(t)&&i(n)?(n.forEach(function(n,i){if(r.call(t,i)){var a=t[i];a&&"object"==typeof a&&n&&"object"==typeof n?t[i]=e(a,n,o):t.push(n)}else t[i]=n}),t):Object.keys(n).reduce(function(t,i){var a=n[i];return r.call(t,i)?t[i]=e(t[i],a,o):t[i]=a,t},s)}}},function(e,t,n){"use strict";var r=String.prototype.replace,i=/%20/g;e.exports={default:"RFC3986",formatters:{RFC1738:function(e){return r.call(e,i,"+")},RFC3986:function(e){return e}},RFC1738:"RFC1738",RFC3986:"RFC3986"}},function(e,t,n){var r=n(791),i=n(609);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 c in n[s+1]=t,o[s+1]=r,t)r[c]=a?e(t[c],n,o,!0):t[c];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}}},function(e,t,n){var r=n(633),i=n(7),o=n(30);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)}},function(e,t,n){var r=n(18),i=n(74),o=n(490);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,c,u,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,c);case 9:return new t(e,n,r,i,o,a,s,c,u);case 10:return new t(e,n,r,i,o,a,s,c,u,l)}}))})},function(e,t,n){var r=n(492),i=n(58);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})},function(e,t,n){var r=n(18),i=n(148);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)})}()},function(e,t,n){var r=n(18),i=n(133),o=n(853),a=n(144);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}))},function(e,t,n){var r=n(18),i=n(529);e.exports=r(function(e,t){return i(e>=0?t.length-e:0,t)})},function(e,t,n){var r=n(51),i=n(355);e.exports=r(function(e){return i(e)/e.length})},function(e,t,n){var r=n(18);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})},function(e,t,n){var r=n(18),i=n(56);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)))})})},function(e,t,n){var r=n(58);e.exports=r(function(e,t,n){for(var r=n.length-1;r>=0;)t=e(n[r],t),r-=1;return t})},function(e,t,n){var r=n(18);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})},function(e,t,n){var r=n(18),i=n(521),o=n(30),a=n(349),s=n(859);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)})},function(e,t,n){var r=n(18),i=n(174);e.exports=r(function(e,t){for(var n in e)if(i(n,e)&&!e[n](t[n]))return!1;return!0})},function(e,t,n){var r=n(393),i=n(147),o=n(172),a=n(199).f,s=n(468),c=n(1629),u=s("meta"),l=0,d=Object.isExtensible||function(){return!0},f=function(e){a(e,u,{value:{objectID:"O"+ ++l,weakData:{}}})},h=e.exports={REQUIRED:!1,fastKey:function(e,t){if(!i(e))return"symbol"==typeof e?e:("string"==typeof e?"S":"P")+e;if(!o(e,u)){if(!d(e))return"F";if(!t)return"E";f(e)}return e[u].objectID},getWeakData:function(e,t){if(!o(e,u)){if(!d(e))return!0;if(!t)return!1;f(e)}return e[u].weakData},onFreeze:function(e){return c&&h.REQUIRED&&d(e)&&!o(e,u)&&f(e),e}};r[u]=!0},function(e,t,n){"use strict";var r=n(94);e.exports=function(e,t){var n,i=r(this),o=arguments.length>2?arguments[2]:void 0;if("function"!=typeof t&&"function"!=typeof o)throw TypeError("At least one callback required");return i.has(e)?(n=i.get(e),"function"==typeof t&&(n=t(n),i.set(e,n))):"function"==typeof o&&(n=o(),i.set(e,n)),n}},function(e,t){
/** @license ISC License (c) copyright 2016 original and current authors */
var n=Object.prototype.toString;e.exports=function(e){return!!e&&"[object Object]"===n.call(e)}},function(e,t){e.exports=
/** @license ISC License (c) copyright 2016 original and current authors */
function(e){return"string"==typeof e}},function(e,t){
/** @license ISC License (c) copyright 2017 original and current authors */
var n={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"}},r=function(e){return n[e]||n.unk};e.exports={proxy:function(e,t){return{type:function(){return r(e)(t)}}},type:r,typeFn:function(e,t,n){return"crocks/"+r(e)(n)+"@"+(t||0)}}},function(e,t,n){
/** @license ISC License (c) copyright 2016 original and current authors */
var r=n(306),i=n(1665);e.exports=function(e){return i(e)&&r("ap",e)}},function(e,t,n){
/** @license ISC License (c) copyright 2016 original and current authors */
var r=n(866),i=n(306);e.exports=function(e){return r(e)||!!e&&i("concat",e)}},function(e,t,n){var r=n(41),i=n(250);
/** @license ISC License (c) copyright 2017 original and current authors */e.exports=function(e){var t;return e&&i(e.type)?e.type():r(t={}.toString.call(e)).call(t,8,-1)}},function(e,t,n){"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)}}},function(e,t,n){"use strict";var r=n(183);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}},function(e,t,n){"use strict";e.exports=function(e){return!(!e||!e.__CANCEL__)}},function(e,t,n){"use strict";(function(t){var r=n(183),i=n(1686),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,c={adapter:("undefined"!=typeof XMLHttpRequest?s=n(875):void 0!==t&&"[object process]"===Object.prototype.toString.call(t)&&(s=n(875)),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}};c.headers={common:{Accept:"application/json, text/plain, */*"}},r.forEach(["delete","get","head"],function(e){c.headers[e]={}}),r.forEach(["post","put","patch"],function(e){c.headers[e]=r.merge(o)}),e.exports=c}).call(this,n(280))},function(e,t,n){"use strict";var r=n(183),i=n(1687),o=n(872),a=n(1689),s=n(1692),c=n(1693),u=n(876);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 h=new XMLHttpRequest;if(e.auth){var p=e.auth.username||"",m=e.auth.password||"";f.Authorization="Basic "+btoa(p+":"+m)}var v=a(e.baseURL,e.url);if(h.open(e.method.toUpperCase(),o(v,e.params,e.paramsSerializer),!0),h.timeout=e.timeout,h.onreadystatechange=function(){if(h&&4===h.readyState&&(0!==h.status||h.responseURL&&0===h.responseURL.indexOf("file:"))){var n="getAllResponseHeaders"in h?s(h.getAllResponseHeaders()):null,r={data:e.responseType&&"text"!==e.responseType?h.response:h.responseText,status:h.status,statusText:h.statusText,headers:n,config:e,request:h};i(t,l,r),h=null}},h.onabort=function(){h&&(l(u("Request aborted",e,"ECONNABORTED",h)),h=null)},h.onerror=function(){l(u("Network Error",e,null,h)),h=null},h.ontimeout=function(){var t="timeout of "+e.timeout+"ms exceeded";e.timeoutErrorMessage&&(t=e.timeoutErrorMessage),l(u(t,e,"ECONNABORTED",h)),h=null},r.isStandardBrowserEnv()){var g=n(1694),y=(e.withCredentials||c(v))&&e.xsrfCookieName?g.read(e.xsrfCookieName):void 0;y&&(f[e.xsrfHeaderName]=y)}if("setRequestHeader"in h&&r.forEach(f,function(e,t){void 0===d&&"content-type"===t.toLowerCase()?delete f[t]:h.setRequestHeader(t,e)}),r.isUndefined(e.withCredentials)||(h.withCredentials=!!e.withCredentials),e.responseType)try{h.responseType=e.responseType}catch(t){if("json"!==e.responseType)throw t}"function"==typeof e.onDownloadProgress&&h.addEventListener("progress",e.onDownloadProgress),"function"==typeof e.onUploadProgress&&h.upload&&h.upload.addEventListener("progress",e.onUploadProgress),e.cancelToken&&e.cancelToken.promise.then(function(e){h&&(h.abort(),l(e),h=null)}),void 0===d&&(d=null),h.send(d)})}},function(e,t,n){"use strict";var r=n(1688);e.exports=function(e,t,n,i,o){var a=new Error(e);return r(a,t,n,i,o)}},function(e,t,n){"use strict";var r=n(183);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),c=Object.keys(t).filter(function(e){return-1===s.indexOf(e)});return r.forEach(c,function(r){void 0!==t[r]?n[r]=t[r]:void 0!==e[r]&&(n[r]=e[r])}),n}},function(e,t,n){"use strict";function r(e){this.message=e}r.prototype.toString=function(){return"Cancel"+(this.message?": "+this.message:"")},r.prototype.__CANCEL__=!0,e.exports=r},function(e,t,n){var r=n(614);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))}}},function(e,t){
/** @license ISC License (c) copyright 2016 original and current authors */
var n=Object.prototype.toString;e.exports=function(e){return!!e&&"[object Object]"===n.call(e)}},function(e,t){e.exports=
/** @license ISC License (c) copyright 2016 original and current authors */
function(e){return"string"==typeof e}},function(e,t){
/** @license ISC License (c) copyright 2017 original and current authors */
var n={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"}},r=function(e){return n[e]||n.unk};e.exports={proxy:function(e,t){return{type:function(){return r(e)(t)}}},type:r,typeFn:function(e,t,n){return"crocks/"+r(e)(n)+"@"+(t||0)}}},function(e,t,n){
/** @license ISC License (c) copyright 2016 original and current authors */
var r=n(307),i=n(1711);e.exports=function(e){return i(e)&&r("ap",e)}},function(e,t,n){
/** @license ISC License (c) copyright 2016 original and current authors */
var r=n(881),i=n(307);e.exports=function(e){return r(e)||!!e&&i("concat",e)}},function(e,t,n){
/** @license ISC License (c) copyright 2017 original and current authors */
var r=n(251);e.exports=function(e){return e&&r(e.type)?e.type():{}.toString.call(e).slice(8,-1)}},function(e,t){e.exports=
/** @license ISC License (c) copyright 2016 original and current authors */
function(e){return Array.isArray(e)}},function(e,t,n){var r=n(1768),i=n(1830),o=n(1837),a=n(252),s=n(1838);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)}},function(e,t,n){var r=n(498),i=n(1775),o=n(1776),a=n(1777),s=n(1778),c=n(1779);function u(e){var t=this.__data__=new r(e);this.size=t.size}u.prototype.clear=i,u.prototype.delete=o,u.prototype.get=a,u.prototype.has=s,u.prototype.set=c,e.exports=u},function(e,t){e.exports=function(e,t){return e===t||e!=e&&t!=t}},function(e,t,n){var r=n(338),i=n(308),o="[object AsyncFunction]",a="[object Function]",s="[object GeneratorFunction]",c="[object Proxy]";e.exports=function(e){if(!i(e))return!1;var t=r(e);return t==a||t==s||t==o||t==c}},function(e,t,n){(function(t){var n="object"==typeof t&&t&&t.Object===Object&&t;e.exports=n}).call(this,n(96))},function(e,t){var n=Function.prototype.toString;e.exports=function(e){if(null!=e){try{return n.call(e)}catch(e){}try{return e+""}catch(e){}}return""}},function(e,t,n){var r=n(1798),i=n(339);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))}},function(e,t,n){var r=n(1799),i=n(1802),o=n(1803),a=1,s=2;e.exports=function(e,t,n,c,u,l){var d=n&a,f=e.length,h=t.length;if(f!=h&&!(d&&h>f))return!1;var p=l.get(e);if(p&&l.get(t))return p==t;var m=-1,v=!0,g=n&s?new r:void 0;for(l.set(e,t),l.set(t,e);++m<f;){var y=e[m],b=t[m];if(c)var _=d?c(b,y,m,t,e,l):c(y,b,m,e,t,l);if(void 0!==_){if(_)continue;v=!1;break}if(g){if(!i(t,function(e,t){if(!o(g,t)&&(y===e||u(y,e,n,c,l)))return g.push(t)})){v=!1;break}}else if(y!==b&&!u(y,b,n,c,l)){v=!1;break}}return l.delete(e),l.delete(t),v}},function(e,t,n){var r=n(1817),i=n(339),o=Object.prototype,a=o.hasOwnProperty,s=o.propertyIsEnumerable,c=r(function(){return arguments}())?r:function(e){return i(e)&&a.call(e,"callee")&&!s.call(e,"callee")};e.exports=c},function(e,t,n){(function(e){var r=n(222),i=n(1818),o=t&&!t.nodeType&&t,a=o&&"object"==typeof e&&e&&!e.nodeType&&e,s=a&&a.exports===o?r.Buffer:void 0,c=(s?s.isBuffer:void 0)||i;e.exports=c}).call(this,n(249)(e))},function(e,t){var n=9007199254740991,r=/^(?:0|[1-9]\d*)$/;e.exports=function(e,t){var i=typeof e;return!!(t=null==t?n:t)&&("number"==i||"symbol"!=i&&r.test(e))&&e>-1&&e%1==0&&e<t}},function(e,t,n){var r=n(1819),i=n(899),o=n(900),a=o&&o.isTypedArray,s=a?i(a):r;e.exports=s},function(e,t){e.exports=function(e){return function(t){return e(t)}}},function(e,t,n){(function(e){var r=n(891),i=t&&!t.nodeType&&t,o=i&&"object"==typeof e&&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}).call(this,n(249)(e))},function(e,t,n){var r=n(890),i=n(643);e.exports=function(e){return null!=e&&i(e.length)&&!r(e)}},function(e,t,n){var r=n(308);e.exports=function(e){return e==e&&!r(e)}},function(e,t){e.exports=function(e,t){return function(n){return null!=n&&n[e]===t&&(void 0!==t||e in Object(n))}}},function(e,t,n){var r=n(905),i=n(505);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}},function(e,t,n){var r=n(252),i=n(644),o=n(1831),a=n(283);e.exports=function(e,t){return r(e)?e:i(e,t)?[e]:o(a(e))}},function(e,t,n){var r=n(500),i=n(907),o=n(252),a=n(504),s=1/0,c=r?r.prototype:void 0,u=c?c.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==-s?"-0":n}},function(e,t){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}},function(e,t){e.exports=function(e){return function(t){return null==t?void 0:t[e]}}},function(e,t,n){var r=n(1842);e.exports=function(e){var t=r(e),n=t%1;return t==t?n?t-n:t:0}},function(e,t,n){var r=n(308),i=n(504),o=NaN,a=/^\s+|\s+$/g,s=/^[-+]0x[0-9a-f]+$/i,c=/^0b[01]+$/i,u=/^0o[0-7]+$/i,l=parseInt;e.exports=function(e){if("number"==typeof e)return e;if(i(e))return o;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(a,"");var n=c.test(e);return n||u.test(e)?l(e.slice(2),n?2:8):s.test(e)?o:+e}},function(e,t,n){var r=n(175),i=n(1853),o=r(function(e,t){return i([e],t)});e.exports=o},function(e,t){e.exports=
/** @license ISC License (c) copyright 2017 original and current authors */
function(e){return null==e||e!=e}},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="http://www.w3.org/1999/xhtml",o={},a=o.ELEMENT_NODE=1,s=o.ATTRIBUTE_NODE=2,c=o.TEXT_NODE=3,u=o.CDATA_SECTION_NODE=4,l=o.ENTITY_REFERENCE_NODE=5,d=o.ENTITY_NODE=6,f=o.PROCESSING_INSTRUCTION_NODE=7,h=o.COMMENT_NODE=8,p=o.DOCUMENT_NODE=9,m=o.DOCUMENT_TYPE_NODE=10,v=o.DOCUMENT_FRAGMENT_NODE=11,g=o.NOTATION_NODE=12,y={},b={},_=(y.INDEX_SIZE_ERR=(b[1]="Index size error",1),y.DOMSTRING_SIZE_ERR=(b[2]="DOMString size error",2),y.HIERARCHY_REQUEST_ERR=(b[3]="Hierarchy request error",3)),w=(y.WRONG_DOCUMENT_ERR=(b[4]="Wrong document",4),y.INVALID_CHARACTER_ERR=(b[5]="Invalid character",5),y.NO_DATA_ALLOWED_ERR=(b[6]="No data allowed",6),y.NO_MODIFICATION_ALLOWED_ERR=(b[7]="No modification allowed",7),y.NOT_FOUND_ERR=(b[8]="Not found",8)),x=(y.NOT_SUPPORTED_ERR=(b[9]="Not supported",9),y.INUSE_ATTRIBUTE_ERR=(b[10]="Attribute in use",10));y.INVALID_STATE_ERR=(b[11]="Invalid state",11),y.SYNTAX_ERR=(b[12]="Syntax error",12),y.INVALID_MODIFICATION_ERR=(b[13]="Invalid modification",13),y.NAMESPACE_ERR=(b[14]="Invalid namespace",14),y.INVALID_ACCESS_ERR=(b[15]="Invalid access",15);function k(e,t){if(t instanceof Error)var n=t;else n=this,Error.call(this,b[e]),this.message=b[e],Error.captureStackTrace&&Error.captureStackTrace(this,k);return n.code=e,t&&(this.message=this.message+": "+t),n}function E(){}function S(e,t){this._node=e,this._refresh=t,T(this)}function T(e){var t=e._node._inc||e._node.ownerDocument._inc;if(e._inc!=t){var r=e._refresh(e._node);ne(e,"length",r.length),n(r,e),e._inc=t}}function C(){}function O(e,t){for(var n=e.length;n--;)if(e[n]===t)return n}function j(e,t,n,r){if(r?t[O(t,r)]=n:t[t.length++]=n,e){n.ownerElement=e;var i=e.ownerDocument;i&&(r&&D(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 A(e,t,n){var r=O(t,n);if(!(r>=0))throw k(w,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&&(D(o,e,n),n.ownerElement=null)}}function P(e){if(this._features={},e)for(var t in e)this._features=e[t]}function M(){}function N(e){return("<"==e?"&lt;":">"==e&&"&gt;")||"&"==e&&"&amp;"||'"'==e&&"&quot;"||"&#"+e.charCodeAt()+";"}function L(e,t){if(t(e))return!0;if(e=e.firstChild)do{if(L(e,t))return!0}while(e=e.nextSibling)}function I(){}function D(e,t,n,r){e&&e._inc++,"http://www.w3.org/2000/xmlns/"==n.namespaceURI&&delete t._nsMap[n.prefix?n.localName:""]}function R(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 B(e,t){var n=t.previousSibling,r=t.nextSibling;return n?n.nextSibling=r:e.firstChild=r,r?r.previousSibling=n:e.lastChild=n,R(e.ownerDocument,e),t}function F(e,t,n){var r=t.parentNode;if(r&&r.removeChild(t),t.nodeType===v){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 R(e.ownerDocument||e,e),t.nodeType==v&&(t.firstChild=t.lastChild=null),t}function U(){this._nsMap={}}function q(){}function z(){}function H(){}function V(){}function W(){}function Y(){}function G(){}function K(){}function $(){}function X(){}function Q(){}function Z(){}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 te(this,n,e,t,a),n.join("")}function ee(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 te(e,t,n,r,o){if(r){if(!(e=r(e)))return;if("string"==typeof e)return void t.push(e)}switch(e.nodeType){case a:o||(o=[]);o.length;var d=e.attributes,g=d.length,y=e.firstChild,b=e.tagName;n=i===e.namespaceURI||n,t.push("<",b);for(var _=0;_<g;_++){"xmlns"==(w=d.item(_)).prefix?o.push({prefix:w.localName,namespace:w.value}):"xmlns"==w.nodeName&&o.push({prefix:"",namespace:w.value})}for(_=0;_<g;_++){var w;if(ee(w=d.item(_),0,o)){var x=w.prefix||"",k=w.namespaceURI,E=x?" xmlns:"+x:" xmlns";t.push(E,'="',k,'"'),o.push({prefix:x,namespace:k})}te(w,t,n,r,o)}if(ee(e,0,o)){x=e.prefix||"",k=e.namespaceURI,E=x?" xmlns:"+x:" xmlns";t.push(E,'="',k,'"'),o.push({prefix:x,namespace:k})}if(y||n&&!/^(?:meta|link|img|br|hr|input)$/i.test(b)){if(t.push(">"),n&&/^script$/i.test(b))for(;y;)y.data?t.push(y.data):te(y,t,n,r,o),y=y.nextSibling;else for(;y;)te(y,t,n,r,o),y=y.nextSibling;t.push("</",b,">")}else t.push("/>");return;case p:case v:for(y=e.firstChild;y;)te(y,t,n,r,o),y=y.nextSibling;return;case s:return t.push(" ",e.name,'="',e.value.replace(/[<&"]/g,N),'"');case c:return t.push(e.data.replace(/[<&]/g,N));case u:return t.push("<![CDATA[",e.data,"]]>");case h:return t.push("\x3c!--",e.data,"--\x3e");case m:var S=e.publicId,T=e.systemId;if(t.push("<!DOCTYPE ",e.name),S)t.push(' PUBLIC "',S),T&&"."!=T&&t.push('" "',T),t.push('">');else if(T&&"."!=T)t.push(' SYSTEM "',T,'">');else{var C=e.internalSubset;C&&t.push(" [",C,"]"),t.push(">")}return;case f:return t.push("<?",e.target," ",e.data,"?>");case l:return t.push("&",e.nodeName,";");default:t.push("??",e.nodeName)}}function ne(e,t,n){e[t]=n}k.prototype=Error.prototype,n(y,k),E.prototype={length:0,item:function(e){return this[e]||null},toString:function(e,t){for(var n=[],r=0;r<this.length;r++)te(this[r],n,e,t);return n.join("")}},S.prototype.item=function(e){return T(this),this[e]},r(S,E),C.prototype={length:0,item:E.prototype.item,getNamedItem:function(e){for(var t=this.length;t--;){var n=this[t];if(n.nodeName==e)return n}},setNamedItem:function(e){var t=e.ownerElement;if(t&&t!=this._ownerElement)throw new k(x);var n=this.getNamedItem(e.nodeName);return j(this._ownerElement,this,e,n),n},setNamedItemNS:function(e){var t,n=e.ownerElement;if(n&&n!=this._ownerElement)throw new k(x);return t=this.getNamedItemNS(e.namespaceURI,e.localName),j(this._ownerElement,this,e,t),t},removeNamedItem:function(e){var t=this.getNamedItem(e);return A(this._ownerElement,this,t),t},removeNamedItemNS:function(e,t){var n=this.getNamedItemNS(e,t);return A(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}},P.prototype={hasFeature:function(e,t){var n=this._features[e.toLowerCase()];return!(!n||t&&!(t in n))},createDocument:function(e,t,n){var r=new I;if(r.implementation=this,r.childNodes=new E,r.doctype=n,n&&r.appendChild(n),t){var i=r.createElementNS(e,t);r.appendChild(i)}return r},createDocumentType:function(e,t,n){var r=new Y;return r.name=e,r.nodeName=e,r.publicId=t,r.systemId=n,r}},M.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 F(this,e,t)},replaceChild:function(e,t){this.insertBefore(e,t),t&&this.removeChild(t)},removeChild:function(e){return B(this,e)},appendChild:function(e){return this.insertBefore(e,null)},hasChildNodes:function(){return null!=this.firstChild},cloneNode:function(e){return function e(t,n,r){var i=new n.constructor;for(var o in n){var c=n[o];"object"!=typeof c&&c!=i[o]&&(i[o]=c)}n.childNodes&&(i.childNodes=new E);i.ownerDocument=t;switch(i.nodeType){case a:var u=n.attributes,l=i.attributes=new C,d=u.length;l._ownerElement=i;for(var f=0;f<d;f++)i.setAttributeNode(e(t,u.item(f),!0));break;case s:r=!0}if(r)for(var h=n.firstChild;h;)i.appendChild(e(t,h,r)),h=h.nextSibling;return i}(this.ownerDocument||this,this,e)},normalize:function(){for(var e=this.firstChild;e;){var t=e.nextSibling;t&&t.nodeType==c&&e.nodeType==c?(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==s?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==s?t.ownerDocument:t.parentNode}return null},isDefaultNamespace:function(e){return null==this.lookupPrefix(e)}},n(o,M),n(o,M.prototype),I.prototype={nodeName:"#document",nodeType:p,doctype:null,documentElement:null,_inc:1,insertBefore:function(e,t){if(e.nodeType==v){for(var n=e.firstChild;n;){var r=n.nextSibling;this.insertBefore(n,t),n=r}return e}return null==this.documentElement&&e.nodeType==a&&(this.documentElement=e),F(this,e,t),e.ownerDocument=this,e},removeChild:function(e){return this.documentElement==e&&(this.documentElement=null),B(this,e)},importNode:function(e,t){return function e(t,n,r){var i;switch(n.nodeType){case a:(i=n.cloneNode(!1)).ownerDocument=t;case v:break;case s:r=!0}i||(i=n.cloneNode(!1));i.ownerDocument=t;i.parentNode=null;if(r)for(var o=n.firstChild;o;)i.appendChild(e(t,o,r)),o=o.nextSibling;return i}(this,e,t)},getElementById:function(e){var t=null;return L(this.documentElement,function(n){if(n.nodeType==a&&n.getAttribute("id")==e)return t=n,!0}),t},createElement:function(e){var t=new U;return t.ownerDocument=this,t.nodeName=e,t.tagName=e,t.childNodes=new E,(t.attributes=new C)._ownerElement=t,t},createDocumentFragment:function(){var e=new X;return e.ownerDocument=this,e.childNodes=new E,e},createTextNode:function(e){var t=new H;return t.ownerDocument=this,t.appendData(e),t},createComment:function(e){var t=new V;return t.ownerDocument=this,t.appendData(e),t},createCDATASection:function(e){var t=new W;return t.ownerDocument=this,t.appendData(e),t},createProcessingInstruction:function(e,t){var n=new Q;return n.ownerDocument=this,n.tagName=n.target=e,n.nodeValue=n.data=t,n},createAttribute:function(e){var t=new q;return t.ownerDocument=this,t.name=e,t.nodeName=e,t.localName=e,t.specified=!0,t},createEntityReference:function(e){var t=new $;return t.ownerDocument=this,t.nodeName=e,t},createElementNS:function(e,t){var n=new U,r=t.split(":"),i=n.attributes=new C;return n.childNodes=new E,n.ownerDocument=this,n.nodeName=t,n.tagName=t,n.namespaceURI=e,2==r.length?(n.prefix=r[0],n.localName=r[1]):n.localName=t,i._ownerElement=n,n},createAttributeNS:function(e,t){var n=new q,r=t.split(":");return n.ownerDocument=this,n.nodeName=t,n.name=t,n.namespaceURI=e,n.specified=!0,2==r.length?(n.prefix=r[0],n.localName=r[1]):n.localName=t,n}},r(I,M),U.prototype={nodeType:a,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===v?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,R(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 S(this,function(t){var n=[];return L(t,function(r){r===t||r.nodeType!=a||"*"!==e&&r.tagName!=e||n.push(r)}),n})},getElementsByTagNameNS:function(e,t){return new S(this,function(n){var r=[];return L(n,function(i){i===n||i.nodeType!==a||"*"!==e&&i.namespaceURI!==e||"*"!==t&&i.localName!=t||r.push(i)}),r})}},I.prototype.getElementsByTagName=U.prototype.getElementsByTagName,I.prototype.getElementsByTagNameNS=U.prototype.getElementsByTagNameNS,r(U,M),q.prototype.nodeType=s,r(q,M),z.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(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(z,M),H.prototype={nodeName:"#text",nodeType:c,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(H,z),V.prototype={nodeName:"#comment",nodeType:h},r(V,z),W.prototype={nodeName:"#cdata-section",nodeType:u},r(W,z),Y.prototype.nodeType=m,r(Y,M),G.prototype.nodeType=g,r(G,M),K.prototype.nodeType=d,r(K,M),$.prototype.nodeType=l,r($,M),X.prototype.nodeName="#document-fragment",X.prototype.nodeType=v,r(X,M),Q.prototype.nodeType=f,r(Q,M),Z.prototype.serializeToString=function(e,t,n){return J.call(e,t,n)},M.prototype.toString=J;try{if(Object.defineProperty){Object.defineProperty(S.prototype,"length",{get:function(){return T(this),this.$$length}}),Object.defineProperty(M.prototype,"textContent",{get:function(){return function e(t){switch(t.nodeType){case a:case v:var n=[];for(t=t.firstChild;t;)7!==t.nodeType&&8!==t.nodeType&&n.push(e(t)),t=t.nextSibling;return n.join("");default:return t.nodeValue}}(this)},set:function(e){switch(this.nodeType){case a:case v: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}}}),ne=function(e,t,n){e["$$"+t]=n}}}catch(e){}t.DOMImplementation=P,t.XMLSerializer=Z},function(e,t,n){"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]?null:49!=(e.payload[1]<<8|e.payload[2])?null:"GA94"!==String.fromCharCode(e.payload[3],e.payload[4],e.payload[5],e.payload[6])?null: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[2+(i=3*n)],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}},function(e,t,n){"use strict";var r=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={}}}};r.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},r.prototype.push=function(e){this.trigger("data",e)},r.prototype.flush=function(e){this.trigger("done",e)},r.prototype.partialFlush=function(e){this.trigger("partialdone",e)},r.prototype.endTimeline=function(e){this.trigger("endedtimeline",e)},r.prototype.reset=function(e){this.trigger("reset",e)},e.exports=r},function(e,t,n){"use strict";e.exports={H264_STREAM_TYPE:27,ADTS_STREAM_TYPE:15,METADATA_STREAM_TYPE:21}},function(e,t,n){"use strict";(function(e){n(2)}).call(this,n(0))},function(e,t,n){"use strict";(function(e){n(2)}).call(this,n(0))},function(e,t,n){"use strict";(function(e){var r=n(2),i=n.n(r);t.a=function(t){var n=t.width,r=void 0===n?"16":n,o=t.height,a=void 0===o?"12":o,s=t.className;return e.createElement("svg",{"aria-hidden":"true",viewBox:"0 0 16 12",width:r,height:a,className:i()("i",s),focusable:"false"},e.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"}),e.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"}),e.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"}))}}).call(this,n(0))},function(e,t,n){"use strict";(function(e){}).call(this,n(0))},function(e,t,n){"use strict";(function(e){n(2)}).call(this,n(0))},function(e,t,n){"use strict";(function(e){n(2)}).call(this,n(0))},function(e,t,n){"use strict";(function(e){n(2)}).call(this,n(0))},function(e,t,n){"use strict";(function(e){}).call(this,n(0))},function(e,t,n){"use strict";(function(e){n(2)}).call(this,n(0))},function(e,t,n){"use strict";(function(e){n(2)}).call(this,n(0))},function(e,t,n){"use strict";(function(e){n(2)}).call(this,n(0))},function(e,t,n){"use strict";(function(e){n(2)}).call(this,n(0))},function(e,t,n){"use strict";(function(e){n(2)}).call(this,n(0))},function(e,t,n){"use strict";(function(e){t.a=function(t){var n=t.width,r=void 0===n?"17":n,i=t.height,o=void 0===i?"15":i,a=t.title,s=void 0===a?"Book":a,c=t.desc,u=void 0===c?"Book":c,l=t.focusable,d=void 0===l?"false":l,f=t.className;return e.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:r,height:o,viewBox:"0 0 17 15",focusable:d,className:f},e.createElement("title",null,s),e.createElement("desc",null,u),e.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"}))}}).call(this,n(0))},function(e,t,n){"use strict";(function(e){n(2)}).call(this,n(0))},function(e,t,n){"use strict";(function(e){}).call(this,n(0))},function(e,t,n){"use strict";(function(e){n(2)}).call(this,n(0))},function(e,t,n){"use strict";(function(e){}).call(this,n(0))},function(e,t,n){"use strict";(function(e){var r=n(2),i=n.n(r);t.a=function(t){var n=t.width,r=void 0===n?"16":n,o=t.height,a=void 0===o?"16":o,s=t.className,c=t.focusable,u=void 0===c?"false":c;return e.createElement("svg",{"aria-hidden":"true",viewBox:"0 0 16 16",width:r,height:a,className:i()("i i-chevronLeft",s),focusable:u},e.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 "}))}}).call(this,n(0))},function(e,t,n){"use strict";(function(e){n(2)}).call(this,n(0))},function(e,t,n){"use strict";(function(e){}).call(this,n(0))},function(e,t,n){"use strict";(function(e){n(2)}).call(this,n(0))},function(e,t,n){"use strict";(function(e){n(2)}).call(this,n(0))},function(e,t,n){"use strict";(function(e){n(2)}).call(this,n(0))},function(e,t,n){"use strict";(function(e){n(2)}).call(this,n(0))},function(e,t,n){"use strict";(function(e){}).call(this,n(0))},function(e,t,n){"use strict";(function(e){n(4),n(2)}).call(this,n(0))},function(e,t,n){"use strict";(function(e){}).call(this,n(0))},function(e,t,n){"use strict";(function(e){var r=n(2),i=n.n(r);t.a=function(t){var n=t.title,r=void 0===n?"DestinationArrow":n,o=t.desc,a=void 0===o?"DestinationArrow":o,s=t.width,c=void 0===s?"13":s,u=t.height,l=void 0===u?"10":u,d=t.className,f=t.focusable,h=void 0===f?"false":f;return e.createElement("svg",{viewBox:"0 0 13 10",width:c,height:l,className:i()("i i-destinationArrow",d),focusable:h},e.createElement("title",null,r),e.createElement("desc",null,a),e.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"}))}}).call(this,n(0))},function(e,t,n){"use strict";(function(e){n(2)}).call(this,n(0))},function(e,t,n){"use strict";(function(e){}).call(this,n(0))},function(e,t,n){"use strict";(function(e){}).call(this,n(0))},function(e,t,n){"use strict";(function(e){n(2)}).call(this,n(0))},function(e,t,n){"use strict";(function(e){var r=n(2),i=n.n(r);t.a=function(t){var n=t.title,r=void 0===n?"Download":n,o=t.desc,a=void 0===o?"Arrow down with horizontal line beneath it":o,s=t.width,c=void 0===s?"16":s,u=t.height,l=void 0===u?"19":u,d=t.className,f=t.focusable,h=void 0===f?"false":f;return e.createElement("svg",{viewBox:"0 0 16 19",width:c,height:l,className:i()("i i-download",d),focusable:h},e.createElement("title",null,r),e.createElement("desc",null,a),e.createElement("rect",{y:"17",width:"16",height:"2",rx:"1"}),e.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"}),e.createElement("path",{d:"M7 0h2v12H7z"}))}}).call(this,n(0))},function(e,t,n){"use strict";(function(e){n(2)}).call(this,n(0))},function(e,t,n){"use strict";(function(e){var r=n(2),i=n.n(r);t.a=function(t){var n=t.title,r=void 0===n?"Draw":n,o=t.desc,a=void 0===o?"Arrow down with horizontal line beneath it":o,s=t.width,c=void 0===s?"15":s,u=t.height,l=void 0===u?"15":u,d=t.className,f=t.focusable,h=void 0===f?"false":f;return e.createElement("svg",{viewBox:"0 0 15 15",width:c,height:l,className:i()("i i-drawFromQuestionBank",d),focusable:h},e.createElement("title",null,r),e.createElement("desc",null,a),e.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"}),e.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"}))}}).call(this,n(0))},function(e,t,n){"use strict";(function(e){n(2)}).call(this,n(0))},function(e,t,n){"use strict";(function(e){var r=n(2),i=n.n(r);t.a=function(t){var n=t.title,r=void 0===n?"Draggable":n,o=t.desc,a=void 0===o?"Three dots stacked on top of one another":o,s=t.width,c=void 0===s?"4":s,u=t.height,l=void 0===u?"14":u,d=t.className,f=t.focusable,h=void 0===f?"false":f;return e.createElement("svg",{viewBox:"0 0 4 14",width:c,height:l,className:i()("i i-ellipsis--vert",d),focusable:h},e.createElement("title",null,r),e.createElement("desc",null,a),e.createElement("g",{transform:"translate(.158 .445)"},e.createElement("circle",{cx:"1.5",cy:"11.5",r:"1.5"}),e.createElement("circle",{cx:"1.5",cy:"6.5",r:"1.5"}),e.createElement("circle",{cx:"1.5",cy:"1.5",r:"1.5"})))}}).call(this,n(0))},function(e,t,n){"use strict";(function(e){n(2)}).call(this,n(0))},function(e,t,n){"use strict";(function(e){n(2)}).call(this,n(0))},function(e,t,n){"use strict";(function(e){n(2)}).call(this,n(0))},function(e,t,n){"use strict";(function(e){n(2)}).call(this,n(0))},function(e,t,n){"use strict";(function(e){n(2)}).call(this,n(0))},function(e,t,n){"use strict";(function(e){n(2)}).call(this,n(0))},function(e,t,n){"use strict";(function(e){n(2)}).call(this,n(0))},function(e,t,n){"use strict";(function(e){var r=n(2),i=n.n(r);t.a=function(t){var n=t.title,r=void 0===n?"More":n,o=t.desc,a=void 0===o?"Filled caret pointing right":o,s=t.width,c=void 0===s?"7":s,u=t.height,l=void 0===u?"5":u,d=t.className,f=t.focusable,h=void 0===f?"false":f;return e.createElement("svg",{viewBox:"0 0 5 7",width:c,height:l,className:i()("i i-filledChevronRight",d),focusable:h},e.createElement("title",null,r),e.createElement("desc",null,a),e.createElement("g",null,e.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M4 3.625L1 1v5.25z"})))}}).call(this,n(0))},function(e,t,n){"use strict";(function(e){var r=n(2),i=n.n(r);t.a=function(t){var n=t.title,r=void 0===n?"Fill in the Blank":n,o=t.desc,a=void 0===o?"Pencil writing on a surface":o,s=t.width,c=void 0===s?"15":s,u=t.height,l=void 0===u?"15":u,d=t.className,f=t.focusable,h=void 0===f?"false":f;return e.createElement("svg",{viewBox:"0 0 15 15",width:c,height:l,className:i()("i i-fillInTheBlank",d),focusable:h},e.createElement("title",null,r),e.createElement("desc",null,a),e.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"}))}}).call(this,n(0))},function(e,t,n){"use strict";(function(e){}).call(this,n(0))},function(e,t,n){"use strict";(function(e){n(2)}).call(this,n(0))},function(e,t,n){"use strict";(function(e){n(2)}).call(this,n(0))},function(e,t,n){"use strict";(function(e){n(2)}).call(this,n(0))},function(e,t,n){"use strict";(function(e){n(2)}).call(this,n(0))},function(e,t,n){"use strict";(function(e){n(2)}).call(this,n(0))},function(e,t,n){"use strict";(function(e){n(2)}).call(this,n(0))},function(e,t,n){"use strict";(function(e){n(2)}).call(this,n(0))},function(e,t,n){"use strict";(function(e){n(2)}).call(this,n(0))},function(e,t,n){"use strict";(function(e){n(2)}).call(this,n(0))},function(e,t,n){"use strict";(function(e){var r=n(2),i=n.n(r);t.a=function(t){var n=t.className,r=t.decorative,o=void 0===r||r,a=t.desc,s=void 0===a?"Heart":a,c=t.focusable,u=void 0===c?"false":c,l=t.height,d=void 0===l?"16":l,f=t.isFilled,h=void 0===f||f,p=t.title,m=void 0===p?"Heart":p,v=t.width,g=void 0===v?"16":v;return e.createElement("svg",{"aria-hidden":o,viewBox:"0 0 16 16",width:g,height:d,className:i()("i i-heart".concat(h?"Filled":"Outline"),n),focusable:u},e.createElement("title",null,m),e.createElement("desc",null,s),e.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"}))}}).call(this,n(0))},function(e,t,n){"use strict";(function(e){n(2)}).call(this,n(0))},function(e,t,n){"use strict";(function(e){n(2)}).call(this,n(0))},function(e,t,n){"use strict";(function(e){n(2)}).call(this,n(0))},function(e,t,n){"use strict";(function(e){n(2)}).call(this,n(0))},function(e,t,n){"use strict";(function(e){}).call(this,n(0))},function(e,t,n){"use strict";(function(e){n(2)}).call(this,n(0))},function(e,t,n){"use strict";(function(e){n(2)}).call(this,n(0))},function(e,t,n){"use strict";(function(e){n(2)}).call(this,n(0))},function(e,t,n){"use strict";(function(e){t.a=function(t){var n=t["aria-hidden"],r=t["aria-label"],i=t.className,o=t.desc,a=t.height,s=t.role,c=void 0===s?"img":s,u=t.title,l=t.width;return e.createElement("svg",{"aria-hidden":n,"aria-label":r,className:i,fill:"none",focusable:"false",height:a,role:c,viewBox:"0 0 40 40",width:l,xmlns:"http://www.w3.org/2000/svg"},u&&e.createElement("title",null,u),o&&e.createElement("desc",null,o),e.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"}),e.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"}))}}).call(this,n(0))},function(e,t,n){"use strict";(function(e){n(2)}).call(this,n(0))},function(e,t,n){"use strict";(function(e){var r=n(2),i=n.n(r);t.a=function(t){var n=t.title,r=void 0===n?"Matching":n,o=t.desc,a=void 0===o?"Two rows of stacked squares":o,s=t.width,c=void 0===s?"15":s,u=t.height,l=void 0===u?"15":u,d=t.className,f=t.focusable,h=void 0===f?"false":f;return e.createElement("svg",{viewBox:"0 0 15 15",width:c,height:l,className:i()("i i-matching",d),focusable:h},e.createElement("title",null,r),e.createElement("desc",null,a),e.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"}))}}).call(this,n(0))},function(e,t,n){"use strict";(function(e){n(2)}).call(this,n(0))},function(e,t,n){"use strict";(function(e){var r=n(2),i=n.n(r);t.a=function(t){var n=t.title,r=void 0===n?"Multiple Choice":n,o=t.desc,a=void 0===o?"Stacked circles to the left of stacked lines":o,s=t.width,c=void 0===s?"16":s,u=t.height,l=void 0===u?"16":u,d=t.className,f=t.focusable,h=void 0===f?"false":f;return e.createElement("svg",{viewBox:"0 0 16 16",width:c,height:l,className:i()("i i-multipleChoice",d),focusable:h},e.createElement("title",null,r),e.createElement("desc",null,a),e.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"}),e.createElement("circle",{cx:"7.904",cy:"7.904",r:"1.904"}))}}).call(this,n(0))},function(e,t,n){"use strict";(function(e){var r=n(2),i=n.n(r);t.a=function(t){var n=t.title,r=void 0===n?"Multiple Response":n,o=t.desc,a=void 0===o?"A box with a checkmark in it":o,s=t.width,c=void 0===s?"16":s,u=t.height,l=void 0===u?"16":u,d=t.className,f=t.focusable,h=void 0===f?"false":f;return e.createElement("svg",{viewBox:"0 0 16 16",width:c,height:l,className:i()("i i-multipleResponse",d),focusable:h},e.createElement("title",null,r),e.createElement("desc",null,a),e.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"}))}}).call(this,n(0))},function(e,t,n){"use strict";(function(e){n(2)}).call(this,n(0))},function(e,t,n){"use strict";(function(e){n(2)}).call(this,n(0))},function(e,t,n){"use strict";(function(e){n(2)}).call(this,n(0))},function(e,t,n){"use strict";(function(e){var r=n(2),i=n.n(r);t.a=function(t){var n=t.title,r=void 0===n?"Not Allowed":n,o=t.desc,a=void 0===o?"A circle with a slanted line through it":o,s=t.width,c=void 0===s?"12":s,u=t.height,l=void 0===u?"12":u,d=t.className,f=t.focusable,h=void 0===f?"false":f;return e.createElement("svg",{viewBox:"0 0 12 12",width:c,height:l,className:i()("i i-notAllowed",d),focusable:h},e.createElement("title",null,r),e.createElement("desc",null,a),e.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"}))}}).call(this,n(0))},function(e,t,n){"use strict";(function(e){n(2)}).call(this,n(0))},function(e,t,n){"use strict";(function(e){n(2)}).call(this,n(0))},function(e,t,n){"use strict";(function(e){n(2)}).call(this,n(0))},function(e,t,n){"use strict";(function(e){n(2)}).call(this,n(0))},function(e,t,n){"use strict";(function(e){}).call(this,n(0))},function(e,t,n){"use strict";(function(e){n(2)}).call(this,n(0))},function(e,t,n){"use strict";(function(e){var r=n(2),i=n.n(r);t.a=function(t){var n=t.title,r=void 0===n?"Pick One":n,o=t.desc,a=void 0===o?"Pick One":o,s=t.width,c=void 0===s?"16":s,u=t.height,l=void 0===u?"14":u,d=t.className,f=t.focusable,h=void 0===f?"false":f;return e.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:c,height:l,viewBox:"0 0 16 14",className:i()("i i-pickOne",d),focusable:h},e.createElement("title",null,r),e.createElement("desc",null,a),e.createElement("g",{fillRule:"evenodd"},e.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"}),e.createElement("path",{d:"M8.862 1.324h7v2h-7zM8.862 4.324h7v2h-7zM8.862 8.324h7v2h-7zM8.862 11.324h7v2h-7z"})))}}).call(this,n(0))},function(e,t,n){"use strict";(function(e){n(2)}).call(this,n(0))},function(e,t,n){"use strict";(function(e){n(2)}).call(this,n(0))},function(e,t,n){"use strict";(function(e){var r=n(2),i=n.n(r);t.a=function(t){var n=t.title,r=void 0===n?"Question box":n,o=t.desc,a=void 0===o?"Question mark inside of a square":o,s=t.width,c=void 0===s?"16":s,u=t.height,l=void 0===u?"16":u,d=t.className,f=t.focusable,h=void 0===f?"false":f;return e.createElement("svg",{viewBox:"0 0 16 16",width:c,height:l,className:i()("i",d),focusable:h},e.createElement("title",null,r),e.createElement("desc",null,a),e.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"}),e.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"}),e.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"}))}}).call(this,n(0))},function(e,t,n){"use strict";(function(e){n(2)}).call(this,n(0))},function(e,t,n){"use strict";(function(e){n(2)}).call(this,n(0))},function(e,t,n){"use strict";(function(e){}).call(this,n(0))},function(e,t,n){"use strict";(function(e){n(2)}).call(this,n(0))},function(e,t,n){"use strict";(function(e){n(2)}).call(this,n(0))},function(e,t,n){"use strict";(function(e){var r=n(2),i=n.n(r);t.a=function(t){var n=t.title,r=void 0===n?"Sortable":n,o=t.desc,a=void 0===o?"Three horizontal lines stacked on top of each other":o,s=t.width,c=void 0===s?"22":s,u=t.height,l=void 0===u?"7":u,d=t.className,f=t.focusable,h=void 0===f?"false":f;return e.createElement("svg",{viewBox:"0 0 22 7",width:c,height:l,className:i()("i i-sortable",d),focusable:h},e.createElement("title",null,r),e.createElement("desc",null,a),e.createElement("rect",{x:"0",y:"0",width:"100%",height:"1",strokeWidth:"1"}),e.createElement("rect",{x:"0",y:"3",width:"100%",height:"1",strokeWidth:"1"}),e.createElement("rect",{x:"0",y:"6",width:"100%",height:"1",strokeWidth:"1"}))}}).call(this,n(0))},function(e,t,n){"use strict";(function(e){n(2)}).call(this,n(0))},function(e,t,n){"use strict";(function(e){n(2)}).call(this,n(0))},function(e,t,n){"use strict";(function(e){n(2)}).call(this,n(0))},function(e,t,n){"use strict";(function(e){n(2)}).call(this,n(0))},function(e,t,n){"use strict";(function(e){n(2)}).call(this,n(0))},function(e,t,n){"use strict";(function(e){n(2)}).call(this,n(0))},function(e,t,n){"use strict";(function(e){n(2)}).call(this,n(0))},function(e,t,n){"use strict";(function(e){n(2)}).call(this,n(0))},function(e,t,n){"use strict";(function(e){var r=n(2),i=n.n(r);t.a=function(t){var n=t.title,r=void 0===n?"Touch":n,o=t.desc,a=void 0===o?"Hand with a finger extended and a semi-circle around the finger":o,s=t.width,c=void 0===s?"15":s,u=t.height,l=void 0===u?"16":u,d=t.className,f=t.focusable,h=void 0===f?"false":f;return e.createElement("svg",{viewBox:"0 0 15 16",width:c,height:l,className:i()("i",d),focusable:h},e.createElement("title",null,r),e.createElement("desc",null,a),e.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"}),e.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"}))}}).call(this,n(0))},function(e,t,n){"use strict";(function(e){n(2)}).call(this,n(0))},function(e,t,n){"use strict";(function(e){n(2)}).call(this,n(0))},function(e,t,n){"use strict";(function(e){}).call(this,n(0))},function(e,t,n){"use strict";(function(e){n(2)}).call(this,n(0))},function(e,t,n){"use strict";(function(e){n(2)}).call(this,n(0))},function(e,t,n){"use strict";(function(e){}).call(this,n(0))},function(e,t,n){"use strict";(function(e){n(2)}).call(this,n(0))},function(e,t,n){"use strict";(function(e){n(2)}).call(this,n(0))},function(e,t,n){"use strict";(function(e){var r=n(2),i=n.n(r);t.a=function(t){var n=t.title,r=void 0===n?"Video camera":n,o=t.desc,a=void 0===o?"Video camera":o,s=t.width,c=void 0===s?"16":s,u=t.height,l=void 0===u?"12":u,d=t.className,f=t.focusable,h=void 0===f?"false":f;return e.createElement("svg",{viewBox:"0 0 16 12",width:c,height:l,className:i()("vgIcon",d),focusable:h},e.createElement("title",null,r),e.createElement("desc",null,a),e.createElement("g",{transform:"translate(-1 -2)"},e.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"})))}}).call(this,n(0))},function(e,t,n){"use strict";(function(e){n(2)}).call(this,n(0))},function(e,t,n){"use strict";(function(e){n(2)}).call(this,n(0))},function(e,t){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++);}}},function(e,t,n){
/** @license ISC License (c) copyright 2017 original and current authors */
var r=n(1031),i=n(1032),o=n(1033).type("Async"),a=n(1913),s=n(1034),c=n(1917),u=n(1918),l=n(648),d=n(1919),f=n(253),h=n(1920),p=n(1035),m=function(e){return e.reduce(function(e,t){return e&&p(g,t)},!0)},v=function(e){return g(function(t,n){return n(e)})};function g(e,t){if(!f(e))throw new TypeError("Async: Function required");var n,r=s(function(){n=!0},f(t)?t:u);function a(t,i,o){if(!f(t)||!f(i))throw new TypeError("Async.fork: Reject and resolve functions required");var a=f(o)?o:u;return e(function(e){return n?u():t(e)},function(e){return n?u():i(e)}),c(s(a,r))}return{fork:a,toPromise:function(){return new Promise(function(e,t){a(t,e)})},inspect:function(){return"Async"+i(e)},type:o,swap:function(e,t){if(!f(e)||!f(t))throw new TypeError("Async.swap: Functions required for both arguments");return g(function(n,r){a(s(r,e),s(n,t))},r)},coalesce:function(e,t){if(!f(e)||!f(t))throw new TypeError("Async.coalesce: Functions required for both arguments");return g(function(n,r){a(s(r,e),s(r,t))},r)},map:function(e){if(!f(e))throw new TypeError("Async.map: Function required");return g(function(t,n){a(t,s(n,e))},r)},bimap:function(e,t){if(!f(e)||!f(t))throw new TypeError("Async.bimap: Functions required for both arguments");return g(function(n,r){a(s(n,e),s(r,t))},r)},alt:function(e){var t=u;if(!p(g,e))throw new TypeError("Async.alt: Async required");return g(function(n,r){a(function(){t=e.fork(n,r)},r)},c(function(){return t(r())}))},ap:function(e){var t,n,i=!1,o=!1,l=u;if(!p(g,e))throw new TypeError("Async.ap: Async required");return g(function(r,u){var d=c(r);function h(){i&&o&&s(u,t)(n)}a(d,function(e){if(!f(e))throw new TypeError("Async.ap: Wrapped value must be a function");i=!0,t=e,h()}),l=e.fork(d,function(e){o=!0,n=e,h()})},c(function(){l(r())}))},chain:function(e){var t=u;if(!f(e))throw new TypeError("Async.chain: Async returning function required");return g(function(n,r){a(n,function(i){var o=e(i);if(!p(g,o))throw new TypeError("Async.chain: Function must return another Async");t=o.fork(n,r)})},c(function(){t(r())}))},of:v,constructor:g}}g.type=o,g.of=v,g.Rejected=function(e){return g(function(t){return t(e)})},g.Resolved=v,g.fromPromise=function(e){if(!f(e))throw new TypeError("Async.fromPromise: Promise returning function required");return function(){var t=arguments;return g(function(n,r){var i=e.apply(null,t);if(!h(i))throw new TypeError("Async.fromPromise: Promise returning function required");i.then(r).catch(n)})}},g.fromNode=function(e,t){if(!f(e))throw new TypeError("Async.fromNode: CPS function required");return function(){for(var n=[],r=arguments.length;r--;)n[r]=arguments[r];return g(function(r,i){e.apply(t,n.concat(function(e,t){return e?r(e):i(t)}))})}},g.all=function(e){if(!d(e)||!m(e))throw new TypeError("Async.all: Foldable structure of Asyncs required");return l(e)?a.sequence(g.of,e):e.sequence(g.of)},g["@@implements"]=r(["alt","ap","bimap","chain","map","of"]),e.exports=g},function(e,t){e.exports=function(e){return function(t){return-1!==e.indexOf(t)}}},function(e,t,n){
/** @license ISC License (c) copyright 2016 original and current authors */
var r=n(648),i=n(253),o=n(1911),a=n(1912);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},function(e,t){
/** @license ISC License (c) copyright 2017 original and current authors */
var n={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"},Unit:function(){return"Unit"},Writer:function(){return"Writer"}},r=function(e){return n[e]||n.unk};e.exports={proxy:function(e){return{type:r(e)}},type:r}},function(e,t){e.exports=
/** @license ISC License (c) copyright 2016 original and current authors */
function(e,t){return function(n){return e(t(n))}}},function(e,t,n){
/** @license ISC License (c) copyright 2016 original and current authors */
var r=n(1921),i=n(253),o=n(1922);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})},function(e,t,n){var r=n(649),i=n(1923),o=r(function(e){return i(e.length,e)});e.exports=o},function(e,t){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,c){return t.apply(this,arguments)};case 9:return function(e,n,r,i,o,a,s,c,u){return t.apply(this,arguments)};case 10:return function(e,n,r,i,o,a,s,c,u,l){return t.apply(this,arguments)};default:throw new Error("First argument to _arity must be a non-negative integer no greater than ten")}}},function(e,t,n){var r=n(649),i=n(650);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)}}}},function(e,t,n){
/** @license ISC License (c) copyright 2016 original and current authors */
var r=n(1031),i=n(1032),o=n(1033).type("IO"),a=n(1034),s=n(253),c=n(1035),u=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(!c(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(!c(l,e))throw new TypeError("IO.ap: IO required");return t(function(t){return e.map(t)})},of:u,chain:t,constructor:l}}l.of=u,l.type=o,l["@@implements"]=r(["ap","chain","map","of"]),e.exports=l},function(e,t,n){var r=n(1936);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}},function(e,t,n){"use strict";(function(e){var r=n(2),i=n.n(r),o=function(e){var t=e.canProceed;return i()("quiz-card__actions",{"quiz-card__actions--proceed":t})},a=function(e){var t=e.canSubmit;return i()("quiz-card__button",{"quiz-card__button--disabled":!t,"brand--background":t})};t.a=function(t){var n=t.canProceed,r=t.canSubmit,i=t.onSubmit,s=t.quizSubmit,c=!r||void 0;return e.createElement("div",{className:o({canProceed:n})},e.createElement("div",{className:"quiz-card__submit brand--ui"},e.createElement("button",{"aria-hidden":c,className:a({canSubmit:r}),disabled:c,onClick:i,type:"button"},s)))}}).call(this,n(0))},function(e,t,n){"use strict";(function(e){n(1944);var r=n(2),i=n.n(r),o=function(e){var t=e.isActive,n=e.isComplete;return i()("quiz-card",{"quiz-card--active":t,"quiz-card--done":n})};t.a=function(t){var n=t.children,r=t.isActive,i=t.isComplete;return e.createElement("div",{className:o({isActive:r,isComplete:i})},e.createElement("div",{className:"quiz-card__container"},e.createElement("div",{className:"quiz-card__row"},e.createElement("div",{className:"quiz-card__main"},n))))}}).call(this,n(0))},function(e,t,n){"use strict";(function(e){var r=n(2),i=n.n(r),o=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.a=function(t){var n=t.children,r=t.hasNoBorder,i=t.type;return e.createElement("div",{className:o({hasNoBorder:r,type:i})},n)}}).call(this,n(0))},function(e,t,n){"use strict";(function(e){var r=n(193),i=n.n(r),o=n(357),a=n.n(o),s=n(1161),c=n.n(s),u=n(1162),l=n.n(u),d=n(23),f=n.n(d),h=n(1163),p=n(164),m=n(180),v=i()(l()(["tmp"]),f()({},["media"])),g=c()(v,p.a),y=a()(g,p.a),b=Object(h.a)(y,function(t){var n=t.allowTabNavigation,r=t.blockId,i=t.enableVideoPlaybackSpeed,o=t.index,a=t.labels,s=t.media,c=t.settings;return e.createElement("div",{className:"quiz-card__media"},e.createElement(m.a,{allowTabNavigation:n,blockId:r,enableVideoPlaybackSpeed:i,index:o,labels:a,media:s,opts:c}))});t.a=b}).call(this,n(0))},function(e,t,n){"use strict";(function(e){var r=n(42);t.a=function(t){var n=t.allowTabNavigation,i=t.id,o=t.value;return e.createElement(r.a,{allowTabNavigation:n,className:"quiz-card__title brand--body brand--linkColor",id:i,value:o})}}).call(this,n(0))},function(e,t,n){"use strict";(function(e){n.d(t,"a",function(){return R});var r=n(3),i=n.n(r),o=n(9),a=n(10),s=n(6),c=n(11),u=n(13),l=n(5),d=n(4),f=n.n(d),h=n(136),p=n.n(h),m=n(2),v=n.n(m),g=n(210),y=n(31),b=n.n(y),_=n(91),w=n.n(_),x=n(28),k=n.n(x),E=n(57),S=n.n(E),T=n(23),C=n.n(T),O=n(534),j=n.n(O),A=n(39),P=n.n(A);function M(e){var t=function(){if("undefined"==typeof Reflect||!i.a)return!1;if(i.a.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=Object(l.a)(e);if(t){var o=Object(l.a)(this).constructor;n=i()(r,arguments,o)}else n=r.apply(this,arguments);return Object(u.a)(this,n)}}var N=w()(["draggableOptions","autoScroll","container"]),L=j()(N),I=P()(b.a,function(){return document.querySelector(".page-wrap, .block-knowledge__wrapper, .question-banks-draw-dialog")}),D=S()(N,I),R=function(t){Object(c.a)(r,t);var n=M(r);function r(e){var t;return Object(o.a)(this,r),(t=n.call(this,e)).state={isDragging:!1,x:0,y:0,zIndex:0},t.handleEnd=t.handleEnd.bind(Object(s.a)(t)),t.handleMove=t.handleMove.bind(Object(s.a)(t)),t.handleStart=t.handleStart.bind(Object(s.a)(t)),t}return Object(a.a)(r,[{key:"componentDidMount",value:function(){this.interact=Object(g.a)(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 t=this;return e.cloneElement(e.Children.only(this.props.children),{className:this.getClassName(),ref:function(e){t.el=e,t.props.childRef(e)},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 p.a(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=D(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,L(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}}}]),r}(e.Component)}).call(this,n(0))},function(e,t,n){"use strict";(function(e){n.d(t,"a",function(){return _});var r=n(3),i=n.n(r),o=n(8),a=n(9),s=n(10),c=n(6),u=n(11),l=n(13),d=n(5),f=n(2),h=n.n(f),p=n(210),m=n(28),v=n.n(m),g=n(23),y=n.n(g);function b(e){var t=function(){if("undefined"==typeof Reflect||!i.a)return!1;if(i.a.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=Object(d.a)(e);if(t){var o=Object(d.a)(this).constructor;n=i()(r,arguments,o)}else n=r.apply(this,arguments);return Object(l.a)(this,n)}}var _=function(t){Object(u.a)(r,t);var n=b(r);function r(e){var t;return Object(a.a)(this,r),(t=n.call(this,e)).state={isActive:!1},t.handleEnter=t.handleEnter.bind(Object(c.a)(t)),t.handleLeave=t.handleLeave.bind(Object(c.a)(t)),t.handleDrop=t.handleDrop.bind(Object(c.a)(t)),t}return Object(s.a)(r,[{key:"componentDidMount",value:function(){this.interact=Object(p.a)(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 t=this;return e.cloneElement(e.Children.only(this.props.children),{className:this.getClassName(),ref:function(e){t.el=e,t.props.childRef(e)},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 h()(a,Object(o.a)({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}}}]),r}(e.Component)}).call(this,n(0))},function(e,t,n){e.exports=n(1953)()},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(0)),o=a(n(1955));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],c=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"===c&&"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},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(84),o=(r=i)&&r.__esModule?r:{default:r};e.exports=t.default},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(84)),i=o(n(1956));function o(e){return e&&e.__esModule?e:{default:e}}e.exports=t.default},function(e,t,n){var r=n(1990);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)}},function(e,t,n){var r=n(1991),i=n(508),o=n(1992);e.exports=function(e){return i(e)?o(e):r(e)}},function(e,t,n){var r=n(2002),i=n(2004),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=e,r=void 0===t?.5:t,i=2*r-1,o=this.alpha()-n.alpha(),a=((i*o==-1?i:(i+o)/(1+i*o))+1)/2,s=1-a;return this.rgb(a*this.red()+s*n.red(),a*this.green()+s*n.green(),a*this.blue()+s*n.blue()).alpha(this.alpha()*r+n.alpha()*(1-r))},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,c=1;if(this.valid=!0,"alpha"===e)c=t;else if(t.length)o[e]=t.slice(0,e.length),c=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)];c=t.a}else if(void 0!==t[a[e][0]]){var u=a[e];for(n=0;n<e.length;n++)o[e][n]=t[u[n]];c=t.alpha}if(o.alpha=Math.max(0,Math.min(1,void 0===c?o.alpha:c)),"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]?this:(r[t]=n,this.setValues(e,r),this)},"undefined"!=typeof window&&(window.Color=o),e.exports=o},function(e,t,n){"use strict";var r=n(223);t=e.exports=r.extend({chart:null,currentStep:0,numSteps:60,easing:"",render:null,onAnimationProgress:null,onAnimationComplete:null});Object.defineProperty(t.prototype,"animationObject",{get:function(){return this}}),Object.defineProperty(t.prototype,"chartInstance",{get:function(){return this.chart},set:function(e){this.chart=e}})},function(e,t,n){"use strict";var r=n(106),i=n(81);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}}},function(e,t,n){"use strict";var r=n(81);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 c(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 u(e,t,n){var r=i(t,e);n.axis=n.axis||"x";var o=c(n.axis),u=n.intersect?a(e,r):s(e,r,!1,o),l=[];return u.length?(e.data.datasets.forEach(function(t,n){if(e.isDatasetVisible(n)){var r=e.getDatasetMeta(n).data[u[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:u,index:u,dataset:function(e,t,n){var r=i(t,e);n.axis=n.axis||"xy";var o=c(n.axis),u=n.intersect?a(e,r):s(e,r,!1,o);return u.length>0&&(u=e.getDatasetMeta(u[0]._datasetIndex).data),u},"x-axis":function(e,t){return u(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=c(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}}}},function(e,t,n){"use strict";var r=n(81),i=n(2010),o=n(2011),a=o._enabled?o:i;e.exports=r.extend({initialize:function(){},acquireContext:function(){},releaseContext:function(){},addEventListener:function(){},removeEventListener:function(){}},a)},function(e,t,n){"use strict";var r=n(106),i=n(81);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,c=this.descriptors(e),u=c.length;for(r=0;r<u;++r)if("function"==typeof(s=(o=(i=c[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}}},function(e,t,n){"use strict";var r=n(106),i=n(223),o=n(81);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,c=Number.POSITIVE_INFINITY;for(n=0,r=e.length;n<r;++n){var u=e[n];if(u&&u.hasValue()){var l=u.getCenterPoint(),d=o.distanceBetweenPoints(t,l);d<c&&(c=d,i=u)}}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 c(e,t){return t&&(o.isArray(t)?Array.prototype.push.apply(e,t):e.push(t)),e}function u(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 c([],u(e))}(e.exports=i.extend({initialize:function(){this._model=l(this._options),this._lastActive=[]},getTitle:function(){var e=this._options.callbacks,t=e.beforeTitle.apply(this,arguments),n=e.title.apply(this,arguments),r=e.afterTitle.apply(this,arguments),i=[];return i=c(i,u(t)),i=c(i,u(n)),i=c(i,u(r))},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:[]};c(o.before,u(r.beforeLabel.call(n,e,t))),c(o.lines,r.label.call(n,e,t)),c(o.after,u(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._options.callbacks,t=e.beforeFooter.apply(this,arguments),n=e.footer.apply(this,arguments),r=e.afterFooter.apply(this,arguments),i=[];return i=c(i,u(t)),i=c(i,u(n)),i=c(i,u(r))},update:function(e){var t,n,r,i,s,c,u,d=this,f=d._options,h=d._model,p=d._model=l(f),m=d._active,v=d._data,g={xAlign:h.xAlign,yAlign:h.yAlign},y={x:h.x,y:h.y},b={width:h.width,height:h.height},_={x:h.caretX,y:h.caretY};if(m.length){p.opacity=1;var w=[],x=[];_=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,c=void 0,u=void 0,i=r._xScale,s=r._yScale||r._scale,c=r._index,u=r._datasetIndex,{xLabel:i?i.getLabelForIndex(c,u):"",yLabel:s?s.getLabelForIndex(c,u):"",index:c,datasetIndex:u,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)),x.push(f.callbacks.labelTextColor.call(d,e,d._chart))}),p.title=d.getTitle(k,v),p.beforeBody=d.getBeforeBody(k,v),p.body=d.getBody(k,v),p.afterBody=d.getAfterBody(k,v),p.footer=d.getFooter(k,v),p.x=Math.round(_.x),p.y=Math.round(_.y),p.caretPadding=f.caretPadding,p.labelColors=w,p.labelTextColors=x,p.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 c=t.title.length,u=t.footer.length,l=t.titleFontSize,d=t.bodyFontSize,f=t.footerFontSize;r+=c*l,r+=c?(c-1)*t.titleSpacing:0,r+=c?t.titleMarginBottom:0,r+=s*d,r+=s?(s-1)*t.bodySpacing:0,r+=u?t.footerMarginTop:0,r+=u*f,r+=u?(u-1)*t.footerSpacing:0;var h=0,p=function(e){i=Math.max(i,n.measureText(e).width+h)};return n.font=o.fontString(l,t._titleFontStyle,t._titleFontFamily),o.each(t.title,p),n.font=o.fontString(d,t._bodyFontStyle,t._bodyFontFamily),o.each(t.beforeBody.concat(t.afterBody),p),h=t.displayColors?d+2:0,o.each(a,function(e){o.each(e.before,p),o.each(e.lines,p),o.each(e.after,p)}),h=0,n.font=o.fontString(f,t._footerFontStyle,t._footerFontFamily),o.each(t.footer,p),{width:i+=2*t.xPadding,height:r}}(this,p),y=function(e,t,n,r){var i=e.x,o=e.y,a=e.caretSize,s=e.caretPadding,c=e.cornerRadius,u=n.xAlign,l=n.yAlign,d=a+s,f=c+s;return"right"===u?i-=t.width:"center"===u&&((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"===u?i+=d:"right"===u&&(i-=d):"left"===u?i-=f:"right"===u&&(i+=f),{x:i,y:o}}(p,b,g=function(e,t){var n,r,i,o,a,s=e._model,c=e._chart,u=e._chart.chartArea,l="center",d="center";s.y<t.height?d="top":s.y>c.height-t.height&&(d="bottom");var f=(u.left+u.right)/2,h=(u.top+u.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>=c.width-t.width/2}),i=function(e){return e+t.width+s.caretSize+s.caretPadding>c.width},o=function(e){return e-t.width-s.caretSize-s.caretPadding<0},a=function(e){return e<=h?"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 p=e._options;return{xAlign:p.xAlign?p.xAlign:l,yAlign:p.yAlign?p.yAlign:d}}(this,b),d._chart)}else p.opacity=0;return p.xAlign=g.xAlign,p.yAlign=g.yAlign,p.x=y.x,p.y=y.y,p.width=b.width,p.height=b.height,p.caretX=_.x,p.caretY=_.y,d._model=p,e&&f.custom&&f.custom.call(d,p),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,c,u=n.caretSize,l=n.cornerRadius,d=n.xAlign,f=n.yAlign,h=e.x,p=e.y,m=t.width,v=t.height;if("center"===f)s=p+v/2,"left"===d?(i=(r=h)-u,o=r,a=s+u,c=s-u):(i=(r=h+m)+u,o=r,a=s-u,c=s+u);else if("left"===d?(r=(i=h+l+u)-u,o=i+u):"right"===d?(r=(i=h+m-l-u)-u,o=i+u):(r=(i=n.caretX)-u,o=i+u),"top"===f)s=(a=p)-u,c=a;else{s=(a=p+v)+u,c=a;var g=o;o=r,r=g}return{x1:r,x2:i,x3:o,y1:a,y2:s,y3:c}},drawTitle:function(e,t,n,r){var i=t.title;if(i.length){n.textAlign=t._titleAlign,n.textBaseline="top";var a,c,u=t.titleFontSize,l=t.titleSpacing;for(n.fillStyle=s(t.titleFontColor,r),n.font=o.fontString(u,t._titleFontStyle,t._titleFontFamily),a=0,c=i.length;a<c;++a)n.fillText(i[a],e.x,e.y),e.y+=u+l,a+1===i.length&&(e.y+=t.titleMarginBottom-l)}},drawBody:function(e,t,n,r){var i=t.bodyFontSize,a=t.bodySpacing,c=t.body;n.textAlign=t._bodyAlign,n.textBaseline="top",n.font=o.fontString(i,t._bodyFontStyle,t._bodyFontFamily);var u=0,l=function(t){n.fillText(t,e.x+u,e.y),e.y+=i+a};n.fillStyle=s(t.bodyFontColor,r),o.each(t.beforeBody,l);var d=t.displayColors;u=d?i+2:0,o.each(c,function(a,c){var u=s(t.labelTextColors[c],r);n.fillStyle=u,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[c].borderColor,r),n.strokeRect(e.x,e.y,i,i),n.fillStyle=s(t.labelColors[c].backgroundColor,r),n.fillRect(e.x+1,e.y+1,i-2,i-2),n.fillStyle=u),l(o)}),o.each(a.after,l)}),u=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,c=e.x,u=e.y,l=r.width,d=r.height,f=t.cornerRadius;n.beginPath(),n.moveTo(c+f,u),"top"===a&&this.drawCaret(e,r),n.lineTo(c+l-f,u),n.quadraticCurveTo(c+l,u,c+l,u+f),"center"===a&&"right"===o&&this.drawCaret(e,r),n.lineTo(c+l,u+d-f),n.quadraticCurveTo(c+l,u+d,c+l-f,u+d),"bottom"===a&&this.drawCaret(e,r),n.lineTo(c+f,u+d),n.quadraticCurveTo(c,u+d,c,u+d-f),"center"===a&&"left"===o&&this.drawCaret(e,r),n.lineTo(c,u+f),n.quadraticCurveTo(c,u,c+f,u),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}})).positioners=a},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,n=1==~~(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th";return e+n},week:{dow:1,doy:4}})}(n(309))},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,n=1==~~(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th";return e+n}})}(n(309))},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,n=1==~~(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th";return e+n},week:{dow:1,doy:4}})}(n(309))},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,n=1==~~(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th";return e+n},week:{dow:1,doy:4}})}(n(309))},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,n=1==~~(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th";return e+n}})}(n(309))},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,n=1==~~(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th";return e+n},week:{dow:1,doy:4}})}(n(309))},function(e,t,n){var r=n(510),i=n(2045),o=n(2046),a=n(2047),s=n(2048),c=n(2049);function u(e){var t=this.__data__=new r(e);this.size=t.size}u.prototype.clear=i,u.prototype.delete=o,u.prototype.get=a,u.prototype.has=s,u.prototype.set=c,e.exports=u},function(e,t){e.exports=function(e,t){return e===t||e!=e&&t!=t}},function(e,t,n){var r=n(417),i=n(513),o="[object AsyncFunction]",a="[object Function]",s="[object GeneratorFunction]",c="[object Proxy]";e.exports=function(e){if(!i(e))return!1;var t=r(e);return t==a||t==s||t==o||t==c}},function(e,t,n){(function(t){var n="object"==typeof t&&t&&t.Object===Object&&t;e.exports=n}).call(this,n(96))},function(e,t){var n=Function.prototype.toString;e.exports=function(e){if(null!=e){try{return n.call(e)}catch(e){}try{return e+""}catch(e){}}return""}},function(e,t,n){var r=n(2068),i=n(2071),o=n(2072),a=1,s=2;e.exports=function(e,t,n,c,u,l){var d=n&a,f=e.length,h=t.length;if(f!=h&&!(d&&h>f))return!1;var p=l.get(e);if(p&&l.get(t))return p==t;var m=-1,v=!0,g=n&s?new r:void 0;for(l.set(e,t),l.set(t,e);++m<f;){var y=e[m],b=t[m];if(c)var _=d?c(b,y,m,t,e,l):c(y,b,m,e,t,l);if(void 0!==_){if(_)continue;v=!1;break}if(g){if(!i(t,function(e,t){if(!o(g,t)&&(y===e||u(y,e,n,c,l)))return g.push(t)})){v=!1;break}}else if(y!==b&&!u(y,b,n,c,l)){v=!1;break}}return l.delete(e),l.delete(t),v}},function(e,t,n){var r=n(2086),i=n(418),o=Object.prototype,a=o.hasOwnProperty,s=o.propertyIsEnumerable,c=r(function(){return arguments}())?r:function(e){return i(e)&&a.call(e,"callee")&&!s.call(e,"callee")};e.exports=c},function(e,t,n){(function(e){var r=n(254),i=n(2087),o=t&&!t.nodeType&&t,a=o&&"object"==typeof e&&e&&!e.nodeType&&e,s=a&&a.exports===o?r.Buffer:void 0,c=(s?s.isBuffer:void 0)||i;e.exports=c}).call(this,n(249)(e))},function(e,t){var n=9007199254740991,r=/^(?:0|[1-9]\d*)$/;e.exports=function(e,t){return!!(t=null==t?n:t)&&("number"==typeof e||r.test(e))&&e>-1&&e%1==0&&e<t}},function(e,t,n){var r=n(2088),i=n(2089),o=n(2090),a=o&&o.isTypedArray,s=a?i(a):r;e.exports=s},function(e,t,n){var r=n(513);e.exports=function(e){return e==e&&!r(e)}},function(e,t){e.exports=function(e,t){return function(n){return null!=n&&n[e]===t&&(void 0!==t||e in Object(n))}}},function(e,t,n){var r=n(1080),i=n(518);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}},function(e,t,n){var r=n(255),i=n(657),o=n(2107),a=n(2110);e.exports=function(e,t){return r(e)?e:i(e,t)?[e]:o(a(e))}},function(e,t,n){"use strict";var r={}.propertyIsEnumerable,i=Object.getOwnPropertyDescriptor,o=i&&!r.call({1:2},1);t.f=o?function(e){var t=i(this,e);return!!t&&t.enumerable}:r},function(e,t,n){var r=n(126),i=n(2158),o=r["__core-js_shared__"]||i("__core-js_shared__",{});(e.exports=function(e,t){return o[e]||(o[e]=void 0!==t?t:{})})("versions",[]).push({version:"3.0.1",mode:n(658)?"pure":"global",copyright:"© 2019 Denis Pushkarev (zloirock.ru)"})},function(e,t){var n=0,r=Math.random();e.exports=function(e){return"Symbol(".concat(void 0===e?"":e,")_",(++n+r).toString(36))}},function(e,t){e.exports={}},function(e,t,n){var r=n(122),i=/#|\.prototype\./,o=function(e,t){var n=s[a(e)];return n==u||n!=c&&("function"==typeof t?r(t):!!t)},a=o.normalize=function(e){return String(e).replace(i,".").toLowerCase()},s=o.data={},c=o.NATIVE="N",u=o.POLYFILL="P";e.exports=o},function(e,t,n){var r=n(158),i=n(733),o=n(176)("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)}},function(e,t,n){var r=n(122),i=n(176)("species");e.exports=function(e){return!r(function(){var t=[];return(t.constructor={})[i]=function(){return{foo:1}},1!==t[e](Boolean).foo})}},function(e,t){e.exports={}},function(e,t,n){var r=n(1208),i=n(176)("iterator"),o=n(1088);e.exports=function(e){if(null!=e)return e[i]||e["@@iterator"]||o[r(e)]}},function(e,t,n){var r=n(2220);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)},function(e,t,n){e.exports=!n(122)(function(){return Object.isExtensible(Object.preventExtensions({}))})},function(e,t,n){var r=n(167),i=n(2163),o=n(184),a=n(576),s=n(1089),c=n(2217),u={};(e.exports=function(e,t,n,l,d){var f,h,p,m,v,g=a(t,n,l?2:1);if(d)f=e;else{if("function"!=typeof(h=s(e)))throw TypeError("Target is not iterable");if(i(h)){for(p=0,m=o(e.length);m>p;p++)if((l?g(r(v=e[p])[0],v[1]):g(e[p]))===u)return u;return}f=h.call(e)}for(;!(v=f.next()).done;)if(c(f,g,v.value,l)===u)return u}).BREAK=u},function(e,t,n){"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}}},function(e,t){function n(t){return"function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?(e.exports=n=function(e){return typeof e},e.exports.default=e.exports,e.exports.__esModule=!0):(e.exports=n=function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},e.exports.default=e.exports,e.exports.__esModule=!0),n(t)}e.exports=n,e.exports.default=e.exports,e.exports.__esModule=!0},function(e,t,n){var r=n(58),i=n(37);e.exports=r(function(e,t,n){return i(t[e],n[e])})},function(e,t,n){var r=n(491);e.exports=r(function(e,t){return t},null)},function(e,t,n){var r=n(18);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})})},function(e,t,n){var r=n(190),i=n(755),o=n(56);e.exports=o(4,function(e,t,n,o){return r(e("function"==typeof t?i(t):t),n,o)})},function(e,t,n){var r=n(18),i=n(37),o=n(30),a=n(862);e.exports=r(function(e,t){return a(o(i,e),t)})},function(e,t,n){(function(n){var r;!function(n,i){e.exports=function(n){"use strict";var i,o=(n=n||{}).Base64,a="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",s=function(e){for(var t={},n=0,r=e.length;n<r;n++)t[e.charAt(n)]=n;return t}(a),c=String.fromCharCode,u=function(e){if(e.length<2){var t=e.charCodeAt(0);return t<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)},l=/[\uD800-\uDBFF][\uDC00-\uDFFFF]|[^\x00-\x7F]/g,d=function(e){return e.replace(l,u)},f=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),r=[a.charAt(n>>>18),a.charAt(n>>>12&63),t>=2?"=":a.charAt(n>>>6&63),t>=1?"=":a.charAt(63&n)];return r.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,f)},p=function(e){return h(d(String(e)))},m=function(e){return e.replace(/[+\/]/g,function(e){return"+"==e?"-":"_"}).replace(/=/g,"")},v=function(e,t){return t?m(p(e)):p(e)};n.Uint8Array&&(i=function(e,t){for(var n="",r=0,i=e.length;r<i;r+=3){var o=e[r],s=e[r+1],c=e[r+2],u=o<<16|s<<8|c;n+=a.charAt(u>>>18)+a.charAt(u>>>12&63)+(void 0!==s?a.charAt(u>>>6&63):"=")+(void 0!==c?a.charAt(63&u):"=")}return t?m(n):n});var g,y=/[\xC0-\xDF][\x80-\xBF]|[\xE0-\xEF][\x80-\xBF]{2}|[\xF0-\xF7][\x80-\xBF]{3}/g,b=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),n=t-65536;return c(55296+(n>>>10))+c(56320+(1023&n));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))}},_=function(e){return e.replace(y,b)},w=function(e){var t=e.length,n=t%4,r=(t>0?s[e.charAt(0)]<<18:0)|(t>1?s[e.charAt(1)]<<12:0)|(t>2?s[e.charAt(2)]<<6:0)|(t>3?s[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,w)},k=function(e){return x(String(e).replace(/[^A-Za-z0-9\+\/]/g,""))},E=function(e){return String(e).replace(/[-_]/g,function(e){return"-"==e?"+":"/"}).replace(/[^A-Za-z0-9\+\/]/g,"")},S=function(e){return function(e){return _(x(e))}(E(e))};n.Uint8Array&&(g=function(e){return Uint8Array.from(k(E(e)),function(e){return e.charCodeAt(0)})});if(n.Base64={VERSION:"2.6.4",atob:k,btoa:h,fromBase64:S,toBase64:v,utob:d,encode:v,encodeURI:function(e){return v(e,!0)},btou:_,decode:S,noConflict:function(){var e=n.Base64;return n.Base64=o,e},fromUint8Array:i,toUint8Array:g},"function"==typeof Object.defineProperty){var T=function(e){return{value:e,enumerable:!1,writable:!0,configurable:!0}};n.Base64.extendString=function(){Object.defineProperty(String.prototype,"fromBase64",T(function(){return S(this)})),Object.defineProperty(String.prototype,"toBase64",T(function(e){return v(this,e)})),Object.defineProperty(String.prototype,"toBase64URI",T(function(){return v(this,!0)}))}}n.Meteor&&(Base64=n.Base64);e.exports?e.exports.Base64=n.Base64:void 0===(r=function(){return n.Base64}.apply(t,[]))||(e.exports=r);return{Base64:n.Base64}}(n)}("undefined"!=typeof self?self:"undefined"!=typeof window?window:void 0!==n?n:this)}).call(this,n(96))},function(e,t,n){"use strict";var r=n(402),i=n(1425),o=n(1426),a=n(1427),s=n(1428),c=n(1429),u=n(1432);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=p;var h=/^[^\0\t\n\f\r /<=>]+$/;function p(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(p.defaults,t)).parser?t.parser=i(m,t.parser):t.parser=m:(t=p.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 x,k={};l(t.transformTags,function(e,t){var n;"function"==typeof e?n=e:"string"==typeof e&&(n=p.simpleTransform(e)),"*"===t?x=n:k[t]=n});var E=0,S=[],T={},C={},O=!1,j=0,A=new r.Parser({onopentag:function(e,n){if(O)j++;else{var r=new g(e,n);S.push(r);var i,o=!1,p=!!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[E]=i.tagName)),x&&(i=x(e,n),r.attribs=n=i.attribs,e!==i.tagName&&(r.name=e=i.tagName,C[E]=i.tagName)),t.allowedTags&&-1===t.allowedTags.indexOf(e)&&(o=!0,-1!==_.indexOf(e)&&(O=!0,j=1),T[E]=!0),E++,o||(v+="<"+e,(!y||d(y,e)||y["*"])&&l(n,function(n,i){if(h.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)&&M(e,n))return void delete r.attribs[i];if("srcset"===i)try{var o;if(l(o=c.parse(n),function(e){M("srcset",e.url)&&(e.evil=!0)}),!(o=f(o,function(e){return!e.evil})).length)return void delete r.attribs[i];n=c.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{if(0===(n=function(e){return e.nodes[0].nodes.reduce(function(e,t){return e.push(t.prop+":"+t.value+";"),e},[]).join("")}(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){if(e.hasOwnProperty(n.prop)){var r=e[n.prop].some(function(e){return e.test(n.value)});r&&t.push(n)}return t}}(n),[]));return r}(u.parse(e+" {"+n+"}"),t.allowedStyles))).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||p||t.textFilter||(v+=r.innerText)))}},ontext:function(e){if(!O){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(O){if(--j)return;O=!1}var n=S.pop();if(n){if(O=!1,T[--E])return delete T[E],void n.updateParentNodeText();C[E]&&(e=C[E],delete C[E]),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 M(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};p.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},p.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}}}},function(e,t){e.exports=function(e){return function(t){return function(n){n&&"function"==typeof n.fork?n.fork(e.dispatch,e.dispatch):t(n)}}}},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};Object.defineProperty(t,"__esModule",{value:!0});var i=n(826);var o,a=(o="function",function(e){return(void 0===e?"undefined":(t=e)&&"undefined"!=typeof Symbol&&t.constructor===Symbol?"symbol":typeof t)===o;var t});t.default=function(e){return function(t){var n=t.dispatch,o=function(t){return t&&a(t[e])};return function(t){return function(a){return(0,i.isFSA)(a)?o(a.payload)?n(r({},a,{payload:a.payload[e]()})):t(a):o(a)?n(a[e]()):t(a)}}}}},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(826);function o(e){return e&&"function"==typeof e.then}e.exports=t.default},function(e,t,n){"use strict";function r(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)}}}}t.__esModule=!0;var i=r();i.withExtraArgument=r,t.default=i},function(e,t,n){
/** @license ISC License (c) copyright 2017 original and current authors */
var r=n(1512);e.exports=r.origFn("assoc")},function(e,t,n){
/** @license ISC License (c) copyright 2016 original and current authors */
var r=n(115),i=n(488),o=n(83),a=n(170);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)})},function(e,t,n){
/** @license ISC License (c) copyright 2016 original and current authors */
var r=n(378),i=n(379),o=n(191).type("IO"),a=n(191).typeFn(o(),2),s=n(170),c=n(282),u=n(83),l=n(201),d=function(e){return f(function(){return e})};function f(e){var t;if(!u(e))throw new TypeError("IO: Must wrap a function");var n=d,r=function(){return"IO"+i(e)};function h(t){return function(n){if(!u(n))throw new TypeError("IO."+t+": Function required");return f(c(n,e))}}function p(t){return function(n){if(!u(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(!u(n))throw new TypeError("IO.ap: Wrapped value must be a function");return t.map(n).run()})},of:n,map:h("map"),chain:p("chain")})[s.of]=n,t[s.map]=h(s.map),t[s.chain]=p(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},function(e,t,n){"use strict";var r=n(1518),i=n(1519),o=n(848);e.exports={formats:o,parse:i,stringify:r}},function(e,t,n){var r=n(1520),i=n(1521);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)}},function(e,t,n){"use strict";var r=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 t,n=parseInt(r("",e,"9")),i=0;return function(){var o=Math.floor(Math.random()*n);return o==t?i++:(i=0,t=o),r("".concat(o+=i),e,"0")}}},function(e,t,n){e.exports=n(1525)},function(e,t){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,c=a?r:n,u=-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)})));++u<l;)for(var f=0,h=t[u],p=i?i(h):h;(f=c(d,p,f,a))>-1;)d!==e&&o.call(d,f,1),o.call(e,f,1);return e}var c,u,l=(c=function(e,t){return e&&e.length&&t&&t.length?s(e,t):e},u=a(void 0===u?c.length-1:u,0),function(){for(var e=arguments,t=-1,n=a(e.length-u,0),r=Array(n);++t<n;)r[t]=e[u+t];t=-1;for(var i=Array(u+1);++t<u;)i[t]=e[t];return i[u]=r,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)}(c,this,i)});e.exports=l},function(e,t,n){var r=n(787),i=n(1697),o=n(1703),a=n(1704),s=i(r(Promise.reject,Promise),a(o(Error),Error));e.exports=s},function(e,t,n){!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,c=null,u=null,l=null;function d(){return null===l&&(l=!!document.fonts),l}function f(){if(null===u){var e=document.createElement("div");try{e.style.font="condensed 100px sans-serif"}catch(e){}u=""!==e.style.font}return u}function h(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",u=0,l=t||3e3,f=(new Date).getTime();return new Promise(function(e,t){if(d()&&!function(){if(null===c)if(d()&&/Apple/.test(window.navigator.vendor)){var e=/AppleWebKit\/([0-9]+)(?:\.([0-9]+))(?:\.([0-9]+))/.exec(window.navigator.userAgent);c=!!e&&603>parseInt(e[1],10)}else c=!1;return c}()){var p=new Promise(function(e,t){!function n(){(new Date).getTime()-f>=l?t(Error(l+"ms timeout exceeded")):document.fonts.load(h(i,'"'+i.family+'"'),a).then(function(t){1<=t.length?e():setTimeout(n,25)},t)}()}),m=new Promise(function(e,t){u=setTimeout(function(){t(Error(l+"ms timeout exceeded"))},l)});Promise.race([m,p]).then(function(){clearTimeout(u),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 c(){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&&(x.parentNode&&x.parentNode.removeChild(x),clearTimeout(u),e(i))}var d=new n(a),p=new n(a),m=new n(a),v=-1,g=-1,y=-1,b=-1,_=-1,w=-1,x=document.createElement("div");x.dir="ltr",r(d,h(i,"sans-serif")),r(p,h(i,"serif")),r(m,h(i,"monospace")),x.appendChild(d.a),x.appendChild(p.a),x.appendChild(m.a),document.body.appendChild(x),b=d.a.offsetWidth,_=p.a.offsetWidth,w=m.a.offsetWidth,function e(){if((new Date).getTime()-f>=l)x.parentNode&&x.parentNode.removeChild(x),t(Error(l+"ms timeout exceeded"));else{var n=document.hidden;!0!==n&&void 0!==n||(v=d.a.offsetWidth,g=p.a.offsetWidth,y=m.a.offsetWidth,c()),u=setTimeout(e,50)}}(),o(d,function(e){v=e,c()}),r(d,h(i,'"'+i.family+'",sans-serif')),o(p,function(e){g=e,c()}),r(p,h(i,'"'+i.family+'",serif')),o(m,function(e){y=e,c()}),r(m,h(i,'"'+i.family+'",monospace'))})})},e.exports=a}()},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 c(e,t){this.a=e,this.o=t||e,this.c=this.o.document}var u=!!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 h(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 p(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;u?(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 x(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 E(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 O(e){if(e.g){var t=p(e.f,e.a.c("wf","active")),n=[],r=[e.a.c("wf","loading")];t||n.push(e.a.c("wf","inactive")),h(e.f,n,r)}j(e,"inactive")}function j(e,t,n){e.j&&e.h[t]&&(n?e.h[t](n.c,E(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 M(e){d(e.c,"body",e.a)}function N(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 L(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 I(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=N(e=new x(this.a.c+",serif",E(this.a))),this.g.a.style.cssText=e,e=N(e=new x(this.a.c+",sans-serif",E(this.a))),this.h.a.style.cssText=e,e=N(e=new x("serif",E(this.a))),this.j.a.style.cssText=e,e=N(e=new x("sans-serif",E(this.a))),this.m.a.style.cssText=e,M(this.g),M(this.h),M(this.j),M(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)},L.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"},R=null;function B(){if(null===R){var e=/AppleWebKit\/([0-9]+)(?:\.([0-9]+))/.exec(window.navigator.userAgent);R=!!e&&(536>parseInt(e[1],10)||536===parseInt(e[1],10)&&11>=parseInt(e[2],10))}return R}function F(e,t,n){for(var r in D)if(D.hasOwnProperty(r)&&t===e.f[D[r]]&&n===e.f[D[r]])return!0;return!1}function U(e){var t,n=e.g.a.offsetWidth,r=e.h.a.offsetWidth;(t=n===e.f.serif&&r===e.f["sans-serif"])||(t=B()&&F(e,n,r)),t?s()-e.A>=e.w?B()&&F(e,n,r)&&(null===e.u||e.u.hasOwnProperty(e.a.c))?q(e,e.v):q(e,e.B):function(e){setTimeout(a(function(){U(this)},e),50)}(e):q(e,e.v)}function q(e,t){setTimeout(a(function(){f(this.g.a),f(this.h.a),f(this.j.a),f(this.m.a),t(this.a)},e),0)}function z(e,t,n){this.c=e,this.a=t,this.f=0,this.m=this.j=!1,this.s=n}I.prototype.start=function(){this.f.serif=this.j.a.offsetWidth,this.f["sans-serif"]=this.m.a.offsetWidth,this.A=s(),U(this)};var H=null;function V(e){0==--e.f&&e.j&&(e.m?((e=e.a).g&&h(e.f,[e.a.c("wf","active")],[e.a.c("wf","loading"),e.a.c("wf","inactive")]),j(e,"active")):O(e.a))}function W(e){this.j=e,this.a=new A,this.h=0,this.f=this.g=!0}function Y(e,t,n,r,i){var o=0==--e.h;(e.f||e.g)&&setTimeout(function(){var e=i||null,s=r||{};if(0===n.length&&o)O(t.a);else{t.f+=n.length,o&&(t.j=o);var c,u=[];for(c=0;c<n.length;c++){var l=n[c],d=s[l.c],f=t.a,p=l;if(f.g&&h(f.f,[f.a.c("wf",p.c,E(p).toString(),"loading")]),j(f,"fontloading",p),f=null,null===H)if(window.FontFace){p=/Gecko.*Firefox\/(\d+)/.exec(window.navigator.userAgent);var m=/OS X.*Version\/10\..*Safari/.exec(window.navigator.userAgent)&&/Apple/.exec(window.navigator.vendor);H=p?42<parseInt(p[1],10):!m}else H=!1;f=H?new L(a(t.g,t),a(t.h,t),t.c,l,t.s,d):new I(a(t.g,t),a(t.h,t),t.c,l,t.s,e,d),u.push(f)}for(c=0;c<u.length;c++)u[c].start()}},0)}function G(e,t){this.c=e,this.a=t}function K(e,t){this.c=e,this.a=t}function $(e,t){this.c=e||X,this.a=[],this.f=[],this.g=t||""}z.prototype.g=function(e){var t=this.a;t.g&&h(t.f,[t.a.c("wf",e.c,E(e).toString(),"active")],[t.a.c("wf",e.c,E(e).toString(),"loading"),t.a.c("wf",e.c,E(e).toString(),"inactive")]),j(t,"fontactive",e),this.m=!0,V(this)},z.prototype.h=function(e){var t=this.a;if(t.g){var n=p(t.f,t.a.c("wf",e.c,E(e).toString(),"active")),r=[],i=[t.a.c("wf",e.c,E(e).toString(),"loading")];n||r.push(t.a.c("wf",e.c,E(e).toString(),"inactive")),h(t.f,r,i)}j(t,"fontinactive",e),V(this)},W.prototype.load=function(e){this.c=new c(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&&h(e.f,[e.a.c("wf","loading")]),j(e,"loading")}(t);var 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),o=new z(e.c,t,i);for(e.h=r.length,t=0,n=r.length;t<n;t++)r[t].load(function(t,n,r){Y(e,o,t,n,r)})}(this,new C(this.c,e),e)},G.prototype.load=function(e){var t=this,n=t.a.projectId,r=t.a.version;if(n){var i=t.c.o;v(this.c,(t.a.api||"https://fast.fonts.net/jsapi")+"/"+n+".js"+(r?"?v="+r:""),function(r){r?e([]):(i["__MonotypeConfiguration__"+n]=function(){return t.a},function t(){if(i["__mti_fntLst"+n]){var r,o=i["__mti_fntLst"+n](),a=[];if(o)for(var s=0;s<o.length;s++){var c=o[s].fontfamily;null!=o[s].fontStyle&&null!=o[s].fontWeight?(r=o[s].fontStyle+o[s].fontWeight,a.push(new x(c,r))):a.push(new x(c))}e(a)}else setTimeout(function(){t()},50)}())}).id="__MonotypeAPIScript__"+n}else e([])},K.prototype.load=function(e){var t,n,r=this.a.urls||[],i=this.a.families||[],o=this.a.testStrings||{},a=new g;for(t=0,n=r.length;t<n;t++)m(this.c,r[t],y(a));var s=[];for(t=0,n=i.length;t<n;t++)if((r=i[t].split(":"))[1])for(var c=r[1].split(","),u=0;u<c.length;u+=1)s.push(new x(r[0],c[u]));else s.push(new x(r[0]));b(a,function(){e(s,o)})};var X="https://fonts.googleapis.com/css";function Q(e){this.f=e,this.a=[],this.c={}}var Z={latin:"BESbswy","latin-ext":"çöüğş",cyrillic:"йяЖ",greek:"αβΣ",khmer:"កខគ",Hanuman:"កខគ"},J={thin:"1",extralight:"2","extra-light":"2",ultralight:"2","ultra-light":"2",light:"3",regular:"4",book:"4",medium:"5","semi-bold":"6",semibold:"6","demi-bold":"6",demibold:"6",bold:"7","extra-bold":"8",extrabold:"8","ultra-bold":"8",ultrabold:"8",black:"9",heavy:"9",l:"3",r:"4",b:"7"},ee={i:"i",italic:"i",n:"n",normal:"n"},te=/^(thin|(?:(?:extra|ultra)-?)?light|regular|book|medium|(?:(?:semi|demi|extra|ultra)-?)?bold|black|heavy|l|r|b|[1-9]00)?(n|i|normal|italic)?$/;function ne(e,t){this.c=e,this.a=t}var re={Arimo:!0,Cousine:!0,Tinos:!0};function ie(e,t){this.c=e,this.a=t}function oe(e,t){this.c=e,this.f=t,this.a=[]}ne.prototype.load=function(e){var t=new g,n=this.c,r=new $(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 Q(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,c=(s=s.split(",")).length,u=0;u<c;u++){var l;if((l=s[u]).match(/^[\w-]+$/))if(null==(f=te.exec(l.toLowerCase())))l="";else{if(l=null==(l=f[2])||""==l?"n":ee[l],null==(f=f[1])||""==f)f="4";else var d=J[f],f=d||(isNaN(f)?"4":f.substr(0,1));l=[l,f].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=Z[r[0]])&&(e.c[i]=r))}for(e.c[i]||(r=Z[i])&&(e.c[i]=r),r=0;r<o.length;r+=1)e.a.push(new x(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 x(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 x(a.name,T("font-weight:"+a.weight+";font-style:"+a.style)))}e(r.a)},v(this.c,(this.f.api||"https://f.fontdeck.com/s/css/js/")+function(e){return e.o.location.hostname||e.a.location.hostname}(this.c)+"/"+t+".js",function(t){t&&e([])})):e([])};var ae=new W(window);ae.a.c.custom=function(e,t){return new K(t,e)},ae.a.c.fontdeck=function(e,t){return new oe(t,e)},ae.a.c.monotype=function(e,t){return new G(t,e)},ae.a.c.typekit=function(e,t){return new ie(t,e)},ae.a.c.google=function(e,t){return new ne(t,e)};var se={load:a(ae.load,ae)};void 0===(r=function(){return se}.call(t,n,t,e))||(e.exports=r)}()},function(e,t,n){var r=n(1767)(n(1840));e.exports=r},function(e,t,n){e.exports=n(1843)},function(e,t){e.exports=playerjs},function(e,t,n){var r=n(784),i=n(1199),o=n(1854),a=n(1855),s=n(911),c=n(788),u=n(1856);e.exports=c(3,function(e,t){return u(a(e),i(r(t),[s(e),o(e)]))})},function(e,t,n){
/** @license ISC License (c) copyright 2016 original and current authors */
var r=n(378),i=n(379),o=n(573),a=n(191).type("Any"),s=n(191).typeFn(a(),2),c=n(170),u=n(83),l=n(912),d=n(201),f=function(){return h(!1)};function h(e){var t,n=l(e)?f().valueOf():e;if(!arguments.length||u(n))throw new TypeError("Any: Non-function value required");var r=function(){return!!n},p=f,m=function(){return"Any"+i(r())},v=function(e){return d(h,e)&&o(n,e.valueOf())};function g(e){return function(t){if(!d(h,t))throw new TypeError("Any."+e+": Any required");return h(t.valueOf()||r())}}return(t={inspect:m,toString:m,equals:v,valueOf:r,type:a,empty:p})["@@type"]=s,t.concat=g("concat"),t[c.equals]=v,t[c.concat]=g(c.concat),t[c.empty]=p,t.constructor=h,t}h["@@implements"]=r(["equals","concat","empty"]),h.empty=f,h.type=a,h[c.empty]=f,h["@@type"]=s,e.exports=h},function(e,t,n){
/** @license ISC License (c) copyright 2016 original and current authors */
var r=n(115),i=n(83);e.exports=r(function(e,t){if(!i(t))throw new TypeError("applyTo: Function required for second argument");return t(e)})},function(e,t,n){
/** @license ISC License (c) copyright 2016 original and current authors */
var r=n(282),i=n(115),o=n(243),a=n(281),s=n(83),c=n(628),u=n(487),l=n(630),d=n(170);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 u.map(e,t);if(t&&c(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")})},function(e,t,n){
/** @license ISC License (c) copyright 2016 original and current authors */
var r=n(115),i=n(488),o=n(83),a=n(836),s=n(1857);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()})},function(e,t,n){
/** @license ISC License (c) copyright 2017 original and current authors */
var r=n(115),i=n(410),o=n(496);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))}})},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,i=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!==c(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(0)),o=n(1),a=(r=n(2187))&&r.__esModule?r:{default:r};function s(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return s=function(){return e},e}function c(e){return(c="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function u(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function l(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?u(Object(n),!0).forEach(function(t){d(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):u(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}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){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})(e,t)}function p(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(e){return!1}}();return function(){var n,r=v(e);if(t){var i=v(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return function(e,t){if(t&&("object"===c(t)||"function"==typeof t))return t;return m(e)}(this,n)}}function m(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function v(e){return(v=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var g=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&h(e,t)}(c,i.Component);var t,n,r,s=p(c);function c(){var e;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,c);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(m(e)),e.shouldBeFullWidth=e.shouldBeFullWidth.bind(m(e)),e.getParentDimensions=e.getParentDimensions.bind(m(e)),e}return t=c,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?void 0: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})})}}])&&f(t.prototype,n),r&&f(t,r),c}();t.default=g},function(e,t){e.exports=function(e,t){var n,r=null;try{n=JSON.parse(e,t)}catch(e){r=e}return[r,n]}},function(e,t,n){var r=n(646),i=n(1868);function o(t,n,a){return i()?(e.exports=o=Reflect.construct,e.exports.default=e.exports,e.exports.__esModule=!0):(e.exports=o=function(e,t,n){var i=[null];i.push.apply(i,t);var o=new(Function.bind.apply(e,i));return n&&r(o,n.prototype),o},e.exports.default=e.exports,e.exports.__esModule=!0),o.apply(null,arguments)}e.exports=o,e.exports.default=e.exports,e.exports.__esModule=!0},function(e,t,n){var r=n(646);e.exports=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&&r(e,t)},e.exports.default=e.exports,e.exports.__esModule=!0},function(e,t,n){"use strict";(function(t){var r,i=(r=n(287))&&"object"==typeof r&&"default"in r?r.default:r,o=function(e){return i.atob?i.atob(e):t.from(e,"base64").toString("binary")};e.exports=function(e){for(var t=o(e),n=new Uint8Array(t.length),r=0;r<t.length;r++)n[r]=t.charCodeAt(r);return n}}).call(this,n(304).Buffer)},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 c(e,t){e.currentElement?e.currentElement.appendChild(t):e.doc.appendChild(t)}r.prototype.parseFromString=function(e,t){var n=this.options,r=new u,o=n.domBuilder||new i,s=n.errorHandler,c=n.locator,l=n.xmlns||{},d={lt:"<",gt:">",amp:"&",quot:'"',apos:"'"};return c&&o.setDocumentLocator(c),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,c),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;c(this,a),this.currentElement=a,this.locator&&o(this.locator,a);for(var u=0;u<s;u++){e=r.getURI(u);var l=r.getValue(u),d=(n=r.getQName(u),i.createAttributeNS(e,n));this.locator&&o(r.getLocator(u),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),c(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),c(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),c(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 u=n(1870).XMLReader,l=t.DOMImplementation=n(913).DOMImplementation;t.XMLSerializer=n(913).XMLSerializer,t.DOMParser=r},function(e,t,n){"use strict";var r=n(914).discardEmulationPreventionBytes,i=n(1871).CaptionStream,o=n(369),a=n(530),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},c=function(e,t){var n=o.findBox(e,["moof","traf"]),i=o.findBox(e,["mdat"]),c={},u=[];return i.forEach(function(e,t){var r=n[t];u.push({mdat:e,traf:r})}),u.forEach(function(e){var n,i=e.mdat,u=e.traf,l=o.findBox(u,["tfhd"]),d=a.parseTfhd(l[0]),f=d.trackId,h=o.findBox(u,["tfdt"]),p=h.length>0?a.parseTfdt(h[0]).baseMediaDecodeTime:0,m=o.findBox(u,["trun"]);t===f&&m.length>0&&(n=function(e,t,n){var i,o,a,c,u=new DataView(e.buffer,e.byteOffset,e.byteLength),l=[];for(o=0;o+4<e.length;o+=a)if(a=u.getUint32(o),o+=4,!(a<=0))switch(31&e[o]){case 6: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,c=f):(i.pts=c.pts,i.dts=c.dts),l.push(i)}return l}(i,function(e,t,n){var r=t,i=n.defaultSampleDuration||0,o=n.defaultSampleSize||0,s=n.trackId,c=[];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}),c=c.concat(t)}),c}(m,p,d),f),c[f]||(c[f]=[]),c[f]=c[f].concat(n))}),c};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 u=t.shift();this.parse(u,i,a)}return null!==(s=function(e,t,n){return null===t?null:{seiNals:c(e,t)[t],timescale:n}}(e,n,r))&&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()}},function(e,t,n){"use strict";var r=n(916),i=n(1872).handleRollover,o={};o.ts=n(1873),o.aac=n(1874);var a=n(1875).ONE_SECOND_IN_TS,s=function(e,t,n){for(var r,i,a,s,c=0,u=188,l=!1;u<=e.byteLength;)if(71!==e[c]||71!==e[u]&&u!==e.byteLength)c++,u++;else{switch(r=e.subarray(c,u),o.ts.parseType(r,t.pid)){case"pes":i=o.ts.parsePesType(r,t.table),a=o.ts.parsePayloadUnitStartIndicator(r),"audio"===i&&a&&(s=o.ts.parsePesTime(r))&&(s.type="audio",n.audio.push(s),l=!0)}if(l)break;c+=188,u+=188}for(c=(u=e.byteLength)-188,l=!1;c>=0;)if(71!==e[c]||71!==e[u]&&u!==e.byteLength)c--,u--;else{switch(r=e.subarray(c,u),o.ts.parseType(r,t.pid)){case"pes":i=o.ts.parsePesType(r,t.table),a=o.ts.parsePayloadUnitStartIndicator(r),"audio"===i&&a&&(s=o.ts.parsePesTime(r))&&(s.type="audio",n.audio.push(s),l=!0)}if(l)break;c-=188,u-=188}},c=function(e,t,n){for(var r,i,a,s,c,u,l,d=0,f=188,h=!1,p={data:[],size:0};f<e.byteLength;)if(71!==e[d]||71!==e[f])d++,f++;else{switch(r=e.subarray(d,f),o.ts.parseType(r,t.pid)){case"pes":if(i=o.ts.parsePesType(r,t.table),a=o.ts.parsePayloadUnitStartIndicator(r),"video"===i&&(a&&!h&&(s=o.ts.parsePesTime(r))&&(s.type="video",n.video.push(s),h=!0),!n.firstKeyFrame)){if(a&&0!==p.size){for(c=new Uint8Array(p.size),u=0;p.data.length;)l=p.data.shift(),c.set(l,u),u+=l.byteLength;if(o.ts.videoPacketContainsKeyFrame(c)){var m=o.ts.parsePesTime(c);m?(n.firstKeyFrame=m,n.firstKeyFrame.type="video"):console.warn("Failed to extract PTS/DTS from PES at first keyframe. This could be an unusual TS segment, or else mux.js did not parse your TS segment correctly. If you know your TS segments do contain PTS/DTS on keyframes please file a bug report! You can try ffprobe to double check for yourself.")}p.size=0}p.data.push(r),p.size+=r.byteLength}}if(h&&n.firstKeyFrame)break;d+=188,f+=188}for(d=(f=e.byteLength)-188,h=!1;d>=0;)if(71!==e[d]||71!==e[f])d--,f--;else{switch(r=e.subarray(d,f),o.ts.parseType(r,t.pid)){case"pes":i=o.ts.parsePesType(r,t.table),a=o.ts.parsePayloadUnitStartIndicator(r),"video"===i&&a&&(s=o.ts.parsePesTime(r))&&(s.type="video",n.video.push(s),h=!0)}if(h)break;d-=188,f-=188}},u=function(e){var t={pid:null,table:null},n={};for(var i in function(e,t){for(var n,r=0,i=188;i<e.byteLength;)if(71!==e[r]||71!==e[i])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+=188,i+=188}}(e,t),t.table){if(t.table.hasOwnProperty(i))switch(t.table[i]){case r.H264_STREAM_TYPE:n.video=[],c(e,t,n),0===n.video.length&&delete n.video;break;case r.ADTS_STREAM_TYPE:n.audio=[],s(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,c=0,u=0;e.length-u>=3;){switch(o.aac.parseType(e,u)){case"timed-metadata":if(e.length-u<10){n=!0;break}if((c=o.aac.parseId3TagSize(e,u))>e.length){n=!0;break}null===s&&(t=e.subarray(u,u+c),s=o.aac.parseAacTimestamp(t)),u+=c;break;case"audio":if(e.length-u<7){n=!0;break}if((c=o.aac.parseAdtsSize(e,u))>e.length){n=!0;break}null===i&&(t=e.subarray(u,u+c),i=o.aac.parseSampleRate(t)),r++,u+=c;break;default:u++}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):u(e))&&(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_:s}},function(e,t,n){"use strict";var r=n(1135),i=n(1136),o=n(1137),a=n(1138),s=n(1139),c=n(1140),u=n(1141),l=n(1142),d=n(1143),f=n(1144),h=n(1145),p=n(1146),m=n(1147),v=n(1148),g=n(1149),y=n(1150);t.a={ar:r,cs:i,de:o,en:a,es:s,fr:c,it:u,ja:l,nl:d,pl:f,sk:h,tr:p,"pt-BR":m,"pt-PT":v,"zh-CN":g,"zh-TW":y}},function(e){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} قيد التحميل."}')},function(e){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á."}')},function(e){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."}')},function(e){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"}')},function(e){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."}')},function(e){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."}')},function(e){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."}')},function(e){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.":"この動画に対して互換性のあるソースが見つかりませんでした"}')},function(e){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."}')},function(e){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"}')},function(e){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."}')},function(e){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."}')},function(e){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."}')},function(e){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"}')},function(e){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}。"}')},function(e){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} 正在載入。"}')},function(e,t,n){
/*!
 * sweet-scroll
 * Modern and the sweet smooth scroll library.
 * @author tsuyoshiwada
 * @license MIT
 * @version 2.2.1
 */
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,c=Math.min,u=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}}(),h=n(2,53)-1,p={};function m(e){return null==e?"":"object"===(void 0===e?"undefined":l(e))||"function"==typeof e?p[Object.prototype.toString.call(e)]||"object":void 0===e?"undefined":l(e)}function v(e){return"string"===m(e)}function g(e){return"function"===m(e)}function y(e){return Array.isArray(e)}function b(e){var t=null==e?null:e.length;return function(e){return"number"===m(e)}(t)&&t>=0&&t<=h}function _(e,t){return e&&e.hasOwnProperty(t)}function w(e,t,n){if(null==e)return e;var r=n||e;if(function(e){return!y(e)&&"object"===m(e)}(e)){for(var i in e)if(_(e,i)&&!1===t.call(r,e[i],i))break}else if(b(e))for(var o=0;o<e.length&&!1!==t.call(r,e[o],o);o++);return e}function x(e){for(var t=arguments.length,n=Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];return w(n,function(t){w(t,function(t,n){e[n]=t})}),e}["Boolean","Number","String","Function","Array","Object"].forEach(function(e){p["[object "+e+"]"]=e.toLowerCase()});var k=!("undefined"==typeof window||!window.document||!window.document.createElement),E=function(){if(!k)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}(),S=k?window:null,T=k?document:null;function C(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;if(e)return(null==t?T:t).querySelector(e)}function O(e,t){for(var n=(e.document||e.ownerDocument).querySelectorAll(t),r=n.length;--r>=0&&n.item(r)!==e;);return r>-1}var j={y:"scrollTop",x:"scrollLeft"},A={y:"pageYOffset",x:"pageXOffset"};function P(e){return e===T.documentElement||e===T.body}function M(e){for(var t,n,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"y",i=!(arguments.length>2&&void 0!==arguments[2])||arguments[2],o=j[r],a=e instanceof Element?[e]:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;if(e)return(null==t?T:t).querySelectorAll(e)}(e),s=[],c=T.createElement("div"),u=0;u<a.length;u++){var l=a[u];if(l[o]>0?s.push(l):(c.style.width=l.clientWidth+1+"px",c.style.height=l.clientHeight+1+"px",l.appendChild(c),l[o]=1.5/(t=void 0,n=void 0,t=S.outerWidth,n=S.innerWidth,t?t/n:1),l[o]>0&&s.push(l),l[o]=0,l.removeChild(c)),!i&&s.length>0)break}return s}function N(e,t){var n=M(e,t,!1);return n.length>=1?n[0]:null}function L(e){return null!=e&&e===e.window?e:9===e.nodeType&&e.defaultView}function I(e){return s(e.scrollHeight,e.clientHeight,e.offsetHeight)}function D(e){return s(e.scrollWidth,e.clientWidth,e.offsetWidth)}function R(e){return{width:D(e),height:I(e)}}function B(e){return P(e)?{viewport:{width:c(S.innerWidth,T.documentElement.clientWidth),height:S.innerHeight},size:{width:s(D(T.body),D(T.documentElement)),height:s(I(T.body),I(T.documentElement))}}:{viewport:{width:e.clientWidth,height:e.clientHeight},size:R(e)}}function F(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"y",n=L(e);return n?n[A[t]]:e[j[t]]}function U(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"y",r=L(e),i="y"===n;r?r.scrollTo(i?r[A.x]:t,i?t:r[A.y]):e[j[n]]=t}function q(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||P(t))i=e.ownerDocument.documentElement,r.top=S.pageYOffset,r.left=S.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 z(e,t,n){var r=t.split(",");r.forEach(function(t){e.addEventListener(t.trim(),n,!1)})}function H(e,t,n){var r=t.split(",");r.forEach(function(t){e.removeEventListener(t.trim(),n,!1)})}function V(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 W(e,t,n,r,i){return r-V(0,i-t,0,r,i)+n}var Y=Object.freeze({linear:function(e){return e},InQuad:function(e,t,n,r,i){return r*(t/=i)*t+n},OutQuad:function(e,t,n,r,i){return-r*(t/=i)*(t-2)+n},InOutQuad:function(e,t,n,r,i){return(t/=i/2)<1?r/2*t*t+n:-r/2*(--t*(t-2)-1)+n},InCubic:function(e,t,n,r,i){return r*(t/=i)*t*t+n},OutCubic:function(e,t,n,r,i){return r*((t=t/i-1)*t*t+1)+n},InOutCubic:function(e,t,n,r,i){return(t/=i/2)<1?r/2*t*t*t+n:r/2*((t-=2)*t*t+2)+n},InQuart:function(e,t,n,r,i){return r*(t/=i)*t*t*t+n},OutQuart:function(e,t,n,r,i){return-r*((t=t/i-1)*t*t*t-1)+n},InOutQuart:function(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},InQuint:function(e,t,n,r,i){return r*(t/=i)*t*t*t*t+n},OutQuint:function(e,t,n,r,i){return r*((t=t/i-1)*t*t*t*t+1)+n},InOutQuint:function(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},InSine:function(t,n,r,i,o){return-i*e(n/o*(a/2))+i+r},OutSine:function(e,n,r,i,o){return i*t(n/o*(a/2))+r},InOutSine:function(t,n,r,i,o){return-i/2*(e(a*n/o)-1)+r},InExpo:function(e,t,r,i,o){return 0===t?r:i*n(2,10*(t/o-1))+r},OutExpo:function(e,t,r,i,o){return t===o?r+i:i*(1-n(2,-10*t/o))+r},InOutExpo:function(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},InCirc:function(e,t,n,r,o){return-r*(i(1-(t/=o)*t)-1)+n},OutCirc:function(e,t,n,r,o){return r*i(1-(t=t/o-1)*t)+n},InOutCirc:function(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},InElastic:function(e,i,s,c,u){var l=1.70158,d=0,f=c;return 0===i?s:1==(i/=u)?s+c:(d||(d=.3*u),f<r(c)?(f=c,l=d/4):l=d/(2*a)*o(c/f),-f*n(2,10*(i-=1))*t(2*a*(i*u-l)/d)+s)},OutElastic:function(e,i,s,c,u){var l=1.70158,d=0,f=c;return 0===i?s:1==(i/=u)?s+c:(d||(d=.3*u),f<r(c)?(f=c,l=d/4):l=d/(2*a)*o(c/f),f*n(2,-10*i)*t(2*a*(i*u-l)/d)+c+s)},InOutElastic:function(e,i,s,c,u){var l=1.70158,d=0,f=c;return 0===i?s:2==(i/=u/2)?s+c:(d||(d=u*(.3*1.5)),f<r(c)?(f=c,l=d/4):l=d/(2*a)*o(c/f),i<1?f*n(2,10*(i-=1))*t(2*a*(i*u-l)/d)*-.5+s:f*n(2,-10*(i-=1))*t(2*a*(i*u-l)/d)*.5+c+s)},InBack:function(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},OutBack:function(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},InOutBack:function(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},OutBounce:V,InBounce:W,InOutBounce:function(e,t,n,r,i){return t<i/2?.5*W(0,2*t,0,r,i)+n:.5*V(0,2*t-i,0,r,i)+.5*r+n}}),G=["ms","moz","webkit"],K=0,$=k?S.requestAnimationFrame:null,X=k?S.cancelAnimationFrame:null;if(k){for(var Q=0;Q<G.length&&!$;++Q)$=S[G[Q]+"RequestAnimationFrame"],X=S[G[Q]+"CancelAnimationFrame"]||S[G[Q]+"CancelRequestAnimationFrame"];$||($=function(e){var t=Date.now(),n=s(0,16-(t-K)),r=setTimeout(function(){e(t+n)},n);return K=t+n,r}),X||(X=function(e){clearTimeout(e)})}var Z=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=g(n.easing)?n.easing:Y[n.easing.replace("ease","")],this.progress=!0,setTimeout(function(){r.startProps=r.calcStartProps(e,t),r.rafId=$(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,X(this.rafId),e&&(U(this.el,this.props.x,"x"),U(this.el,this.props.y,"y")),g(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,h={},p=e-o,m=c(1,s(p/d,0));w(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);h[t]=u(n+r*i)}),w(h,function(e,t){U(n,e,t)}),p<=d?(f.call(this,m,h),this.rafId=$(function(e){return t._loop(e)})):this.stop(!0)}else this.stop(!1)}},{key:"calcStartProps",value:function(e,t){var n={x:F(this.el,"x"),y:F(this.el,"y")};if(this.options.quickMode){var i=B(this.el),o=i.viewport,a=o.width,s=o.height;r(n.y-t)>s&&(n.y=n.y>t?t+s:t-s),r(n.x-e)>a&&(n.x=n.x>e?e+a:e-a)}return n}}]),e}(),J=(k?"onwheel"in T?"wheel":"onmousewheel"in T?"mousewheel":"DOMMouseScroll":"wheel")+", touchstart, touchmove",ee=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=!k,this.options=x({},e.defaults,t),this.container=this.getContainer(n),null==this.container?(this.header=null,this.tween=null,this.isSSR||(/comp|inter|loaded/.test(T.readyState)?this.log('Not found scrollable container. => "'+n+'"'):this.log("Should be initialize later than DOMContentLoaded."))):(this.header=C(this.options.header),this.tween=new Z(this.container),this._trigger=null,this._shouldCallCancelScroll=!1,this.bindContainerClick())}return f(e,[{key:"log",value:function(e){this.options.outputLog&&function(e){"undefined"!=typeof console&&"function"==typeof console.error&&console.error(e);try{throw new Error(e)}catch(e){}}("[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&&v(e))if("#"===e)o={top:0,left:0};else{var a=C(e),c=q(a,n);if(!c)return;o=c}return o?(i&&(o.top+=i.top,o.left+=i.left),r&&(o.top=s(0,o.top-R(r).height)),o):null}},{key:"normalizeScrollOffset",value:function(e,t){var n=this.container,r=x({},e),i=B(n),o=i.viewport,a=i.size;return r.top=t.verticalScroll?s(0,c(a.height-o.height,r.top)):F(n,"y"),r.left=t.horizontalScroll?s(0,c(a.width-o.width,r.left)):F(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=x({},this.options,n),o=this._trigger,a=v(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!==S.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,x({},t,{verticalScroll:!0,horizontalScroll:!1}))}},{key:"toLeft",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.to(e,x({},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=q(e,this.container);this.to(n,x({},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=x({},this.options,e),this.header=C(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,n=this._options?this._options.verticalScroll:this.options.verticalScroll,r={top:0,left:0};if(_(e,"top")||_(e,"left"))r=x(r,e);else if(y(e))2===e.length?(r.top=e[0],r.left=e[1]):(r.top=n?e[0]:0,r.left=n?0:e[0]);else if(!y(t=e)&&t-parseFloat(t)+1>=0)r.top=n?e:0,r.left=n?0:e;else{if(!v(e))return null;var i=e.replace(/\s*/g,"")||"";if(/^\d+,\d+$/.test(i))i=i.split(","),r.top=i[0],r.left=i[1];else if(/^(top|left):\d+,?(?:(top|left):\d+)?$/.test(i)){var o=i.match(/top:(\d+)/),a=i.match(/left:(\d+)/);r.top=o?o[1]:0,r.left=a?a[1]:0}else{if(!this.container||!/^(\+|-)=(\d+)$/.test(i))return null;var s=F(this.container,n?"y":"x"),c=i.match(/^(\+|-)=(\d+)$/),u=c[1],l=parseInt(c[2],10);"+"===u?(r.top=n?s+l:0,r.left=n?0:s+l):(r.top=n?s-l:0,r.left=n?0:s-l)}}return r.top=parseInt(r.top,10),r.left=parseInt(r.left,10),r}},{key:"updateURLHash",value:function(e,t){!this.isSSR&&E&&t&&S.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?i:(n&&(i=N(e,"y")),!i&&r&&(i=N(e,"x")),i)}},{key:"bindContainerClick",value:function(){var e=this.container;e&&(this._containerClickListener=this.handleContainerClick.bind(this),z(e,"click",this._containerClickListener))}},{key:"unbindContainerClick",value:function(){var e=this.container;e&&this._containerClickListener&&(H(e,"click",this._containerClickListener),this._containerClickListener=null)}},{key:"bindContainerStop",value:function(){var e=this.container;e&&(this._stopScrollListener=this.handleStopScroll.bind(this),z(e,J,this._stopScrollListener))}},{key:"unbindContainerStop",value:function(){var e=this.container;e&&this._stopScrollListener&&(H(e,J,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(g(n)){var a=n.apply(this,i);if(void 0===a)return a}return this[t].apply(this,i)}},{key:"handleStopScroll",value:function(e){var t=this._options?this._options.stopScroll:this.options.stopScroll;t?this.stop():e.preventDefault()}},{key:"handleContainerClick",value:function(e){for(var t=this.options,n=e.target;n&&n!==T;n=n.parentNode)if(O(n,t.trigger)){var r=n.getAttribute("data-scroll"),i=this.parseDataOptions(n),o=r||n.getAttribute("href");(t=x({},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 ee.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},ee}()},function(e,t,n){"use strict";var r=n(256),i=n(35),o=n(539),a=n(152),s=n(79),c=n(15),u=n(4),l=n(668);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,c=n;r=!1,null===a&&(a=Function.prototype);var u=i(a,s);if(void 0!==u){if("value"in u)return u.value;var l=u.get;if(void 0===l)return;return l.call(c)}var d=o(a);if(null===d)return;e=d,t=s,n=c,r=!0,u=d=void 0}};function h(e){return e&&e.__esModule?e:{default:e}}function p(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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(0),g=h(v),y=h(n(1200)),b=h(n(1880)),_=function(e){function t(e){p(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,v.Component),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*n,c=s({},this.state.style,this.props.style,{animationDelay:a+"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,h=Array.isArray(t)?t:d;return f&&Array.isArray(h)?c(n=u(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(h.length)).call(i)))).call(n,function(t){return o.renderChild(h[t],e,t)}):this.renderChild(h,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)?c(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}();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){p(this,t),f(o(t.prototype),"constructor",this).call(this,e),this.state={hasAnimated:!1}}return m(t,v.Component),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 c(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}();w.defaultProps={keepStructure:!1},w.propTypes={classes:b.default.string,keepStructure:b.default.bool,style:b.default.object},e.exports=t.default},function(e,t,n){"use strict";(function(e){n.d(t,"a",function(){return C});var r=n(3),i=n.n(r),o=n(9),a=n(10),s=n(6),c=n(11),u=n(13),l=n(5),d=n(4),f=n.n(d),h=(n(1908),n(76)),p=n.n(h),m=n(78),v=n.n(m),g=n(7),y=n.n(g),b=n(2),_=n.n(b),w=n(55),x=n(22),k=n(62),E=n(73),S=n(195);function T(e){var t=function(){if("undefined"==typeof Reflect||!i.a)return!1;if(i.a.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=Object(l.a)(e);if(t){var o=Object(l.a)(this).constructor;n=i()(r,arguments,o)}else n=r.apply(this,arguments);return Object(u.a)(this,n)}}var C=function(t){Object(c.a)(r,t);var n=T(r);function r(){var e;return Object(o.a)(this,r),(e=n.call(this)).state={fullscreen:!1,reopenMenu:!1},e.iframe=null,e.canFullscreen=e.canFullscreen.bind(Object(s.a)(e)),e.handleCourseUpdate=e.handleCourseUpdate.bind(Object(s.a)(e)),e.handleFullscreenEnter=e.handleFullscreenEnter.bind(Object(s.a)(e)),e.handleFullscreenExit=e.handleFullscreenExit.bind(Object(s.a)(e)),e.handleMessages=e.handleMessages.bind(Object(s.a)(e)),e.renderItem=e.renderItem.bind(Object(s.a)(e)),e}return Object(a.a)(r,[{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=p()(t),i=y()(S.b,S.f);v()(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=p()(n);if(i===e.windowName&&Object(S.h)(e)){var a=Object(S.c)(e),s=a.score,c=a.success;if(Object(S.j)(e)){var u=100*s.scaled;Object(E.f)(i,c,!0,u)}else Object(E.f)(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 t=this.props,n=t.animateBlockEntrance,r=t.isLesson,i=t.isLearner,o=t.items,a=t.labels.storylineGroup,s=t.settings,c=t.takingSnapshot,u=p()(o),l=s.paddingTop,d=s.paddingBottom,f=s.backgroundColor,h=s.mediaWidth,m=void 0===h?"0":h,v={backgroundColor:Object(k.a)("",f),paddingTop:"".concat(10*l,"px"),paddingBottom:"".concat(10*d,"px"),display:r&&!Object(S.g)(u)?"none":"block"},g=_()("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 e.createElement("div",{className:"blocks-storyline",style:v},e.createElement(w.a,{animateBlockEntrance:n,animateIn:"fadeIn",isLearner:i},e.createElement("div",{"aria-label":a,className:g,role:"group"},c?this.renderThumbnail(u):this.renderStorylineBlock(u))))}},{key:"renderStorylineBlock",value:function(e){return Object(S.i)(e)?this.renderProcessing():Object(S.g)(e)?this.renderItem(e):this.renderEmpty()}},{key:"renderThumbnail",value:function(t){var n,r=Object(S.e)(t),i=f()(n="".concat(Object(x.c)("CDN_USER_CONTENT_URI"),"/")).call(n,r);return e.createElement("img",{src:i})}},{key:"renderEmpty",value:function(){var e=this.props.renderEmpty;return"function"==typeof e?e():null}},{key:"renderItem",value:function(t){var n=this,r=this.state.fullscreen,i=this.props,o=i.blockId,a=i.isLesson,s=i.previewType,c=Object(S.d)(t),u=c.src,l=c.meta,d=c.title,f=l.player,h=Object(S.a)(u,a,s),p=f.height/f.width,m={paddingBottom:"".concat(100*p,"%")},v=_()("blocks-storyline__item__iframe",{"blocks-storyline__item__iframe--fullscreen":r});return e.createElement("div",{className:"blocks-storyline__item",style:m},e.createElement("iframe",{allowtransparency:"true",ref:function(e){return n.iframe=e},name:o,className:v,src:Object(x.g)(h),title:d}))}},{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:""}}}]),r}(e.Component)}).call(this,n(0))},function(e,t,n){"use strict";(function(t){
/**
 * filesize
 *
 * @copyright 2017 Jason Mulligan <jason.mulligan@avoidwork.com>
 * @license BSD-3-Clause
 * @version 3.5.11
 */
!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,o,a,s,c,u,l,d,f,h,p,m,v=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},g=[],y=0,b=void 0,_=void 0;if(isNaN(e))throw new Error("Invalid arguments");return o=!0===v.bits,f=!0===v.unix,t=v.base||2,d=void 0!==v.round?v.round:f?1:2,h=void 0!==v.spacer?v.spacer:f?"":" ",m=v.symbols||v.suffixes||{},p=2===t&&v.standard||"jedec",l=v.output||"string",s=!0===v.fullform,c=v.fullforms instanceof Array?v.fullforms:[],b=void 0!==v.exponent?v.exponent:-1,a=t>2?1e3:1024,(u=(_=Number(e))<0)&&(_=-_),(-1===b||isNaN(b))&&(b=Math.floor(Math.log(_)/Math.log(a)))<0&&(b=0),b>8&&(b=8),0===_?(g[0]=0,g[1]=f?"":r[p][o?"bits":"bytes"][b]):(y=_/(2===t?Math.pow(2,10*b):Math.pow(1e3,b)),o&&(y*=8)>=a&&b<8&&(y/=a,b++),g[0]=Number(y.toFixed(b>0?d:0)),g[1]=10===t&&1===b?o?"kb":"kB":r[p][o?"bits":"bytes"][b],f&&(g[1]="jedec"===p?g[1].charAt(0):b>0?g[1].replace(/B$/,""):g[1],n.test(g[1])&&(g[0]=Math.floor(g[0]),g[1]=""))),u&&(g[0]=-g[0]),g[1]=m[g[1]]||g[1],"array"===l?g:"exponent"===l?b:"object"===l?{value:g[0],suffix:g[1],symbol:g[1]}:(s&&(g[1]=c[b]?c[b]:i[p][b]+(o?"bit":"byte")+(1===g[0]?"":"s")),g.join(h))}o.partial=function(e){return function(t){return o(t,e)}},e.exports=o}("undefined"!=typeof window&&window)}).call(this,n(96))},function(e,t,n){"use strict";var r=n(0),i=n.n(r),o=n(54),a=n.n(o),s=n(689),c=n(690),u=(n(1928),a()("partner-content-block-card__"));t.a=function(e){var t=e.backgroundColor,n=e.blockId,r=e.courseId,o=e.partnerContent,a=e.publishedAt,l=e.tenantId,d=o.data,f=o.type,h=d.authors,p=d.bookImage,m=d.bookTitle,v=d.buyLink,g=d.internalId,y=d.nbicLink,b={blockId:n,courseId:r,partnerContentId:g,tenantId:l,contentSubtype:f};return i.a.createElement("section",null,i.a.createElement("h2",{className:"visually-hidden"},"More Info"),i.a.createElement("ol",{className:"partner-content-block-card",role:"list"},i.a.createElement("li",{role:"listitem"},i.a.createElement(s.a,{authors:h,backgroundColor:t,block:!0,bookImage:p,bookTitle:m,buyLink:v,publishedAt:a,trackingInfo:b})),i.a.createElement("li",{role:"listitem"},i.a.createElement("div",{className:u("divider")})),i.a.createElement("li",{role:"listitem"},i.a.createElement(c.a,{backgroundColor:t,block:!0,link:y,publishedAt:a,trackingInfo:b}))))}},function(e,t,n){var r=n(1030),i=n(1036),o=n(1039);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})}})},function(e,t,n){var r=n(1030),i=n(1036),o=n(1039),a=n(1925);e.exports=i(function(e,t,n){var i={};return function(){for(var s=[],c=arguments.length;c--;)s[c]=arguments[c];return o(function(){var o=t.apply(null,s);i[o]||(i[o]={},i[o].async=r(function(e,t){Object.assign(i[o],{reject:e,resolve:t})})),i[o].args=s;var c=Date.now()-(i[o].last||0);if(!i[o].timeout){var u=a(0,e-c);i[o].timeout=setTimeout(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}.bind(null,o),u)}return i[o].async})}})},function(e,t,n){"use strict";n.d(t,"a",function(){return d});n(1929);var r=n(0),i=n.n(r),o=n(691),a=n(2188),s=n(62),c=n(581),u=n(692),l=n(55);function d(e){var t=e.animateBlockEntrance,n=e.canContinue,s=void 0!==n&&n,d=e.isComplete,h=e.isLearner,p=e.items,m=void 0===p?[]:p,v=e.onStep,g=void 0===v?Function.prototype:v,y=e.settings,b=Object(r.useRef)(),_=Object(a.a)(d),w=Object(o.b)().announcePolite,x=m[0]||{},k=x.buttonColor,E=x.completeHint,S=x.id,T=x.title,C=!x.type||s,O=Object(r.useCallback)(function(){var e=b.current;e&&(e.setAttribute("aria-live","off"),e.setAttribute("role","status"),e.setAttribute("tabindex","-1"),e.innerHTML="Continued",e.focus()),g({id:S})},[S,g]);return Object(r.useEffect)(function(){!_&&d&&(null==w||w("Additional lesson content has been loaded."))},[d,_,w]),i.a.createElement(i.a.Fragment,null,!d&&i.a.createElement("div",{style:f(y)},i.a.createElement(l.a,{animateBlockEntrance:t,animateIn:"fadeIn",isLearner:h,offset:25},i.a.createElement("div",{className:"block-text--onecol"},i.a.createElement("div",{className:"block-text__container"},i.a.createElement("div",{className:"block-text__row"},i.a.createElement("div",{className:"block-text__col"},C&&i.a.createElement(c.a,{bgColor:k,onClick:O,text:T}),!C&&i.a.createElement(u.a,{text:E}))))))),i.a.createElement("div",{className:"continued-alert visually-hidden-always",ref:b}))}function f(e){return{backgroundColor:Object(s.a)("",e.backgroundColor),paddingTop:"".concat(10*e.paddingTop,"px"),paddingBottom:"".concat(10*e.paddingBottom,"px")}}},function(e,t,n){"use strict";(function(e){t.a=function(){return e.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"23",height:"17",viewBox:"0 0 23 17",focusable:!1},e.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"}))}}).call(this,n(0))},function(e,t,n){
/** @license ISC License (c) copyright 2017 original and current authors */
e.exports=n(629)},function(e,t,n){
/** @license ISC License (c) copyright 2016 original and current authors */
var r=n(282),i=n(115),o=n(83),a=n(1201),s=n(170);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")})},function(e,t,n){
/** @license ISC License (c) copyright 2017 original and current authors */
var r=n(115),i=n(488),o=n(281);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),{})})},function(e,t,n){"use strict";var r=n(193),i=n.n(r),o=n(109),a=n.n(o),s=n(1164),c=n.n(s),u=n(1165),l=n.n(u),d=a()(function(e,t){return i()(c()(null),l()(e,t))});t.a=d},function(e,t,n){
/** @license ISC License (c) copyright 2016 original and current authors */
var r=n(115),i=n(83);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)})},function(e,t,n){
/** @license ISC License (c) copyright 2017 original and current authors */
var r=n(282),i=n(115),o=n(410),a=n(83),s=n(678),c=function(e){return function(t){return t.map(e)}};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(c(t),s(e))})},function(e,t,n){"use strict";(function(e){var r=n(19),i=(n(1949),n(24)),o=n.n(i),a=n(62),s=n(693),c=n(61).b.blocks;t.a=function(t){var n=t.blockId,i=t.progress,u=t.settings,l=u.backgroundColor,d=u.paddingTop,f=u.paddingBottom,h={backgroundColor:Object(a.a)("",l),paddingTop:"".concat(10*d,"px"),paddingBottom:"".concat(10*f,"px")},p=o()(["items",n],i);return e.createElement("div",{className:"block-labeled-graphic","data-ba":c.blockLabeledGraphic,style:h},e.createElement(s.a,Object(r.a)({},t,{editable:!1,isBlock:!0,parentId:n,progress:p})))}}).call(this,n(0))},function(e,t,n){"use strict";(function(e){n.d(t,"a",function(){return M});var r=n(3),i=n.n(r),o=n(9),a=n(10),s=n(6),c=n(11),u=n(13),l=n(5),d=n(15),f=n.n(d),h=(n(1952),n(544)),p=n.n(h),m=n(16),v=n.n(m),g=n(2),y=n.n(g),b=n(33),_=n.n(b),w=n(433),x=n.n(w),k=n(1),E=n.n(k),S=n(149),T=n.n(S),C=n(32),O=n(42),j=n(26),A=n(20);function P(e){var t=function(){if("undefined"==typeof Reflect||!i.a)return!1;if(i.a.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=Object(l.a)(e);if(t){var o=Object(l.a)(this).constructor;n=i()(r,arguments,o)}else n=r.apply(this,arguments);return Object(u.a)(this,n)}}var M=function(t){Object(c.a)(r,t);var n=P(r);function r(e){var t;return Object(o.a)(this,r),(t=n.call(this,e)).state={hasOverflow:!1},t.renderOverflowMask=t.renderOverflowMask.bind(Object(s.a)(t)),t.handleScroll=t.handleScroll.bind(Object(s.a)(t)),t.handleBubbleClick=t.handleBubbleClick.bind(Object(s.a)(t)),t.handleKeyDown=t.handleKeyDown.bind(Object(s.a)(t)),t.handleNextClick=t.handleNextClick.bind(Object(s.a)(t)),t.handlePreviousClick=t.handlePreviousClick.bind(Object(s.a)(t)),t}return Object(a.a)(r,[{key:"componentDidMount",value:function(){var e=this;setTimeout(function(){e.focusTarget=e.selectFocusTarget()},0)}},{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=this.contentRef;!e.isActive&&this.props.isActive&&(t.scrollTop=0,this.focusTarget&&this.focusTarget.focus()),this.state.hasOverflow&&e.isActive&&!this.props.isActive&&t.removeEventListener("scroll",this.scrollRef),this.stopVideoClickBubbling(e.isActive)}},{key:"render",value:function(){var t,n=this,r=this.props,i=r.accentColor,o=r.allowNav,a=r.children,s=r.description,c=r.isActive,u=r.labels,l=r.onClose,d=r.title,h=r.x,p=r.y,m=y()("bubble",{"bubble--active":c}),v=N({x:h,y:p}),g=L({hasOverflow:this.state.hasOverflow,x:h,y:p}),b={borderColor:i},_=u.labeledGraphicBubbleLabel,w=e.createElement("div",{ref:function(e){n.el=e},className:m,style:v},e.createElement("div",{"aria-hidden":!c,"aria-label":_,className:g,onClick:this.handleBubbleClick,onKeyDown:this.handleKeyDown,ref:function(e){n.bubbleRef=e},style:b,tabIndex:A.h},e.createElement("div",{className:"noOutline",ref:function(e){n.titleRef=e},tabIndex:A.h},e.createElement(O.a,{allowTabNavigation:c,className:"bubble__title brand--head",value:d})),e.createElement("div",{className:"bubble__content",ref:function(e){n.contentRef=e},tabIndex:A.h},e.createElement("div",{className:"bubble__media",ref:function(e){n.mediaRef=e},tabIndex:A.h},f()(t=e.Children).call(t,a,function(t){return t&&c?e.createElement("div",{className:"bubble__figure"},t):null})),e.createElement(O.a,{allowTabNavigation:c,className:"bubble__description brand--body brand--linkColor",value:s})),o&&this.renderControls(),e.createElement("button",{"aria-label":"Close modal",className:"bubble__close",onClick:l,type:"button"},e.createElement(C.i,{className:"bubble__close-icon"}))));return window.matchMedia("(max-width: 767px)").matches?e.createElement(x.a,null,w):w}},{key:"renderControls",value:function(){var t=this.props.labels,n=t.labeledGraphicPreviousMarkerLabel,r=t.labeledGraphicNextMarkerLabel;return e.createElement("div",{className:"bubble__controls"},e.createElement("div",{"aria-label":n,className:"bubble__prev brand--hoverColor",onClick:this.handlePreviousClick,onKeyDown:Object(j.a)(this.handlePreviousClick),role:"button",tabIndex:A.a},e.createElement("i",{className:"icon icon-chevron-left"})),e.createElement("div",{"aria-label":r,className:"bubble__next brand--hoverColor",onClick:this.handleNextClick,onKeyDown:Object(j.a)(this.handleNextClick),role:"button",tabIndex:A.a},e.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=T()(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=Object(j.r)(this.contentRef,this.state.hasOverflow),s=p()(v()(n));_()([[s(j.g),o],[s(j.i),i],[j.f,r],[j.n,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:"selectFocusTarget",value:function(){var e=this.props,t=e.description,n=e.hasMedia;return e.title?this.titleRef:n?this.mediaRef:t?this.contentRef:this.bubbleRef}},{key:"stopVideoClickBubbling",value:function(e){if(!e&&this.props.isActive&&!this.videoContainer&&window.matchMedia("(max-width: 767px)").matches){var t=this.el.querySelector(".videoContainer");t&&(this.videoContainer=t,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:E.a.string.isRequired,description:E.a.string.isRequired,isActive:E.a.bool.isRequired,onClose:E.a.func.isRequired,onNextClick:E.a.func.isRequired,onPreviousClick:E.a.func.isRequired,title:E.a.string.isRequired}}},{key:"defaultProps",get:function(){return{allowNav:!0,onClose:Function.prototype,onNextClick:Function.prototype,onPreviousClick:Function.prototype}}}]),r}(e.Component),N=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},L=function(e){var t=e.hasOverflow,n=e.x,r=e.y,i=n<50,o="top";return r>33&&(o=r>66?"bottom":"middle"),y()("bubble__body",{"bubble__body--has-overflow":t,"bubble__body--left":i,"bubble__body--right":!i,"bubble__body--top":"top"===o,"bubble__body--middle":"middle"===o,"bubble__body--bottom":"bottom"===o})}}).call(this,n(0))},function(e,t,n){"use strict";(function(e){n.d(t,"a",function(){return I});var r=n(3),i=n.n(r),o=n(52),a=n.n(o),s=n(36),c=n.n(s),u=n(53),l=n.n(u),d=n(35),f=n.n(d),h=n(38),p=n.n(h),m=n(8),v=n(9),g=n(10),y=n(11),b=n(13),_=n(5),w=(n(1958),n(2)),x=n.n(w),k=n(7),E=n.n(k),S=n(14),T=n.n(S),C=n(231),O=n.n(C),j=n(59),A=n(265),P=n(299);function M(e,t){var n=a()(e);if(c.a){var r=c()(e);t&&(r=l()(r).call(r,function(t){return f()(e,t).enumerable})),n.push.apply(n,r)}return n}function N(e){var t=function(){if("undefined"==typeof Reflect||!i.a)return!1;if(i.a.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=Object(_.a)(e);if(t){var o=Object(_.a)(this).constructor;n=i()(r,arguments,o)}else n=r.apply(this,arguments);return Object(b.a)(this,n)}}var L=E()(function(e){return e.substr(1)},T()("path"),O.a.parse),I=function(t){Object(y.a)(r,t);var n=N(r);function r(e){var t;return Object(v.a)(this,r),(t=n.call(this,e)).state={style:{}},t}return Object(g.a)(r,[{key:"render",value:function(){var t=this,n=this.props,r=n.canvasClassNames,i=n.children,o=n.editable,a=n.imageLoaded,s=n.media,c=void 0===s?{}:s,u=n.onCreateMarker,l=n.onShowAltDialog,d=this.state.style,h=c.image,v=void 0===h?{}:h,g=v.alt,y=v.key,b=v.originalUrl,_=v.src,w=!!v.alt,k=Object(A.a)({alt:g,fileName:b,key:y}),E=Object(A.b)(v),S=x()("labeled-graphic-canvas__figure",{"labeled-graphic-canvas__figure--editable":o}),T=y?Object(j.a)(v):Object(j.a)(function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?M(Object(n),!0).forEach(function(t){Object(m.a)(e,t,n[t])}):p.a?Object.defineProperties(e,p()(n)):M(Object(n)).forEach(function(t){Object.defineProperty(e,t,f()(n,t))})}return e}({key:L(_)},v));return e.createElement("div",{className:r||"labeled-graphic-canvas"},e.createElement("div",{className:"labeled-graphic-canvas__item"},e.createElement("div",{className:"labeled-graphic-canvas__bounds"},e.createElement("figure",{className:S},w&&o?e.createElement(P.a,{className:"item-media__tooltip"},e.createElement("div",{onClick:l,className:"labeled-graphic-canvas__alt-tag"},"ALT"),e.createElement(P.b,{side:"top"},"Edit alt text")):[],a&&e.createElement("img",{alt:k,className:"labeled-graphic-canvas__image",onClick:u,onLoad:function(){return t.setState({style:E})},ref:function(e){t.imageEl=e},role:"img",src:T,style:d}),e.createElement("ol",{role:"list"},i)))))}}]),r}(e.Component)}).call(this,n(0))},function(e,t,n){"use strict";(function(e){n.d(t,"a",function(){return x});var r=n(3),i=n.n(r),o=n(8),a=n(9),s=n(10),c=n(6),u=n(11),l=n(13),d=n(5),f=n(4),h=n.n(f),p=(n(1960),n(2)),m=n.n(p),v=n(1),g=n.n(v),y=n(1170),b=n(26),_=n(85);function w(e){var t=function(){if("undefined"==typeof Reflect||!i.a)return!1;if(i.a.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=Object(d.a)(e);if(t){var o=Object(d.a)(this).constructor;n=i()(r,arguments,o)}else n=r.apply(this,arguments);return Object(l.a)(this,n)}}var x=function(t){Object(u.a)(r,t);var n=w(r);function r(e){var t;return Object(a.a)(this,r),(t=n.call(this,e)).state={dragging:!1,hovering:!1,isComplete:!1,isDragged:!1,offsetX:0,offsetY:0,wasDragged:!1},t.onClick=t.onClick.bind(Object(c.a)(t)),t}return Object(s.a)(r,[{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 t,n=this,r=this.props,i=r.icon,a=r.isActive,s=r.isComplete,c=r.isSelected,u=r.isVisible,l=r.markerClassName,d=r.onFocus,f=r.labels,p=r.styles,v=r.useLocalStateForCompletion,g=Object(y.a)(i),_=v?this.state.isComplete:s,w=function(e){var t,n,r,i=e.icon,o=e.label,a=e.viewed;return h()(t=h()(n=h()(r=[]).call(r,o?[o]:[])).call(n,i?[i]:[])).call(t,[a?"Viewed":"Not Viewed"]).join(", ")}({icon:g,label:f&&f.labeledGraphicMarkerLabel||"",viewed:_}),x=m()("labeled-graphic-marker",{"labeled-graphic-marker--active":c,"labeled-graphic-marker--dragged":this.state.isDragged,"labeled-graphic-marker--visible":u,"labeled-graphic-marker--complete":_}),k=m()("labeled-graphic-marker__pin",(t={},Object(o.a)(t,"".concat(l,"--hover"),!c&&this.state.hovering),Object(o.a)(t,"".concat(l,"--normal"),!c),Object(o.a)(t,"".concat(l,"--selected"),c),t));return e.createElement("button",{"aria-expanded":a,"aria-label":w,className:x,onClick:this.onClick,onContextMenu:this.onItemRelease.bind(this),onFocus:d,onKeyDown:Object(b.a)(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){n.marker=e},style:p,type:"button"},e.createElement("div",{className:k},e.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={detail:{itemId:r,parentId:t.parentId}},a=null;_.a.isIe11?(a=document.createEvent("UIEvents")).initUIEvent("labeledGraphicMarkerClick",!1,!1,window,o):a=new CustomEvent("labeledGraphicMarkerClick",o),document.dispatchEvent(a),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=h()(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{editable:g.a.bool,isActive:g.a.bool,isDragged:g.a.bool,isSelected:g.a.bool,markerClassName:g.a.string.isRequired,onClick:g.a.func,onLeave:g.a.func,onSetPosition:g.a.func,styles:g.a.shape({top:g.a.string,left:g.a.string}).isRequired}}}]),r}(e.Component)}).call(this,n(0))},function(e,t,n){"use strict";n.d(t,"a",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]||""}},function(e,t,n){"use strict";(function(e){n.d(t,"a",function(){return A});var r=n(3),i=n.n(r),o=n(52),a=n.n(o),s=n(36),c=n.n(s),u=n(53),l=n.n(u),d=n(35),f=n.n(d),h=n(38),p=n.n(h),m=n(19),v=n(8),g=n(9),y=n(10),b=n(11),_=n(13),w=n(5),x=(n(1961),n(33)),k=n.n(x),E=n(20),S=n(26),T=n(1172);function C(e,t){var n=a()(e);if(c.a){var r=c()(e);t&&(r=l()(r).call(r,function(t){return f()(e,t).enumerable})),n.push.apply(n,r)}return n}function O(e){var t=function(){if("undefined"==typeof Reflect||!i.a)return!1;if(i.a.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=Object(w.a)(e);if(t){var o=Object(w.a)(this).constructor;n=i()(r,arguments,o)}else n=r.apply(this,arguments);return Object(_.a)(this,n)}}var j=n(61).b.blocks,A=function(t){Object(b.a)(r,t);var n=O(r);function r(){return Object(g.a)(this,r),n.apply(this,arguments)}return Object(y.a)(r,[{key:"onKeyDown",value:function(e){k()([[S.i,this.triggerSlide.bind(this,"next")],[S.g,this.triggerSlide.bind(this,"prev")]])(e)}},{key:"render",value:function(){var t=this,n=this.props.settings,r=n.paddingBottom,i=n.paddingTop,o={paddingBottom:"".concat(10*r,"px"),paddingTop:"".concat(10*i,"px")},a={className:"block-process",onKeyDown:this.onKeyDown.bind(this),style:o,tabIndex:E.a},s=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){Object(v.a)(e,t,n[t])}):p.a?Object.defineProperties(e,p()(n)):C(Object(n)).forEach(function(t){Object.defineProperty(e,t,f()(n,t))})}return e}({ref:function(e){return t.process=e}},this.props);return e.createElement("div",Object(m.a)({},a,{"data-ba":j.blockProcess}),e.createElement(T.a,s))}},{key:"triggerSlide",value:function(e){this.process.triggerSlide(e)}}]),r}(e.Component)}).call(this,n(0))},function(e,t,n){"use strict";(function(e){n.d(t,"a",function(){return Y});var r=n(3),i=n.n(r),o=n(19),a=n(141),s=n(9),c=n(10),u=n(6),l=n(11),d=n(13),f=n(5),h=n(4),p=n.n(h),m=n(15),v=n.n(m),g=n(84),y=n(165),b=n.n(y),_=n(185),w=n.n(_),x=n(27),k=n.n(x),E=n(7),S=n.n(E),T=n(49),C=n.n(T),O=n(65),j=n.n(O),A=n(43),P=n.n(A),M=n(31),N=n.n(M),L=n(30),I=n.n(L),D=n(17),R=n.n(D),B=n(1),F=n.n(B),U=n(129),q=n.n(U),z=n(719),H=n(85),V=n(55);function W(e){var t=function(){if("undefined"==typeof Reflect||!i.a)return!1;if(i.a.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=Object(f.a)(e);if(t){var o=Object(f.a)(this).constructor;n=i()(r,arguments,o)}else n=r.apply(this,arguments);return Object(d.a)(this,n)}}var Y=function(t){Object(l.a)(r,t);var n=W(r);function r(e){var t;return Object(s.a)(this,r),(t=n.call(this,e)).state={entered:!1,visible:!1},t.getScrollTop=t.getScrollTop.bind(Object(u.a)(t)),t.handleEntranceEnd=t.handleEntranceEnd.bind(Object(u.a)(t)),t.handleScroll=t.handleScroll.bind(Object(u.a)(t)),t.triggerSlide=t.triggerSlide.bind(Object(u.a)(t)),t}return Object(c.a)(r,[{key:"componentDidMount",value:function(){var e=this.props,t=e.onStep,n=e.previewType,r=document.getElementsByClassName("page-wrap")[0];this.container=N()(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=Object(g.findDOMNode)(this),r=b()(n).offset().top,i=10*e;return t===window?r-i:b()(t).scrollTop()+r-b()(t).offset().top-i}},{key:"getSteps",value:function(){var e,t=this.props.items,n=j()(R()("type","intro"),t),r=j()(R()("type","summary"),t),i=C()(R()("type","step"),t),o=p()(e=[n]).call(e,Object(a.a)(i),[r]),s=q()(R()("isHidden",!0),o);return v()(s).call(s,function(e,t){return k()("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 t=this,n=this.props,r=n.animateBlockEntrance,i=n.blockId,a=n.isLearner,s=n.labels,c=n.menuOpen,u=n.onStep,l=n.previewType,d=n.settings,f=n.enableVideoPlaybackSpeed,h=this.state,p=h.entered,m=h.visible,v=this.getSteps(),g=!N()(l),y=r?"fadeIn":"none",b=g&&r?1:0,_={afterAnimatedIn:this.handleEntranceEnd,animateBlockEntrance:g,animateIn:y,duration:b,initiallyVisible:!r,isLearner:a,offset:300},w={className:"process-block-wrapper",ref:function(e){return t.wrapper=e}},x={blockId:i,entered:p,getScrollTop:this.getScrollTop,labels:s,menuOpen:c,onStep:u,isPreview:g,settings:d,steps:v,visible:m,enableVideoPlaybackSpeed:f},E=k()("ref",function(e){return t.process=e},x),S=k()("ref",function(e){return t.processMobile=e},x),T=e.createElement(z.a,E),C=e.createElement(z.b,S);return e.createElement(V.a,_,e.createElement("div",Object(o.a)({"aria-label":"Process",role:"group"},w),H.a.isMobile?C:T))}},{key:"setProgress",value:function(){var e=this.props,t=e.items,n=e.onStep,r=this.getSteps(),i=C()(R()("isHidden",!0),t),o=r[0]?w()(r[0]):P.a;S()(I()(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){H.a.isMobile?this.processMobile.handleSlide(e):this.process.handleSlide(e)}}],[{key:"propTypes",get:function(){return{animateBlockEntrance:F.a.bool,blockId:F.a.string.isRequired,isLearner:F.a.bool,items:F.a.array.isRequired,labels:F.a.object.isRequired,menuOpen:F.a.bool,onStep:F.a.func,previewType:F.a.string,settings:F.a.object.isRequired}}}]),r}(e.Component)}).call(this,n(0))},function(e,t,n){"use strict";(function(e){n.d(t,"a",function(){return j});var r=n(3),i=n.n(r),o=n(9),a=n(10),s=n(11),c=n(13),u=n(5),l=(n(1964),n(16)),d=n.n(l),f=n(32),h=n(2),p=n.n(h),m=n(7),v=n.n(m),g=n(33),y=n.n(g),b=n(86),_=n(112),w=n.n(_),x=n(17),k=n.n(x),E=n(1),S=n.n(E),T=n(64),C=n.n(T);function O(e){var t=function(){if("undefined"==typeof Reflect||!i.a)return!1;if(i.a.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=Object(u.a)(e);if(t){var o=Object(u.a)(this).constructor;n=i()(r,arguments,o)}else n=r.apply(this,arguments);return Object(c.a)(this,n)}}var j=function(t){Object(s.a)(r,t);var n=O(r);function r(){return Object(o.a)(this,r),n.apply(this,arguments)}return Object(a.a)(r,[{key:"onClick",value:function(){var e=this.props,t=e.onClick;e.opacity>.5&&t()}},{key:"render",value:function(){var t=this.props,n=t.absolute,r=t.bottom,i=t.fixed,o=t.hidden,a=t.isSliding,s=t.offset,c=t.opacity,u=t.scroll,l=t.sidebar,h=t.top,m=t.type,v="next"===m,g="prev"===m,_=g&&"prev"===o||v&&"next"===o||"both"===o,w=u.active?i+l:n,x=u.active?i+s:n,E=y()([[k()("active",!0),d()(h)],[k()("end",!0),d()(r)],[C.a,d()(null)]])(u),S=p()("process-arrow",{"process-arrow--left":g,"process-arrow--right":v,"process-arrow--hidden":_,"process-arrow--scrolling":u.active,"process-arrow--disabled":c<=.5}),T={left:g?w:null,opacity:u.end?c:null,right:v?x:null,top:E},O={className:S,key:"arrow",onClick:this.onClick.bind(this),role:"button",style:T};return e.createElement(b.d,{component:"div"},!a&&e.createElement(b.a,{classNames:"process-arrow",timeout:{enter:300,exit:200}},e.createElement("div",O,e.createElement(f.f,null))))}},{key:"shouldComponentUpdate",value:function(e){var t=function(e,t){return v()(w.a,k()(e,t))};return y()([[t("absolute",this.props.absolute),d()(!0)],[t("fixed",this.props.fixed),d()(!0)],[t("isSliding",this.props.isSliding),d()(!0)],[t("opacity",this.props.opacity),d()(!0)],[t("scroll",this.props.scroll),d()(!0)],[t("top",this.props.top),d()(!0)],[C.a,d()(!1)]])(e)}}],[{key:"propTypes",get:function(){return{absolute:S.a.number,bottom:S.a.number,fixed:S.a.number,hidden:S.a.oneOf(["both","next",null,"prev"]),isSliding:S.a.bool,offset:S.a.number,onClick:S.a.func.isRequired,opacity:S.a.number,scroll:S.a.object,sidebar:S.a.number,top:S.a.number,type:S.a.oneOf(["next","prev"])}}}]),r}(e.Component)}).call(this,n(0))},function(e,t,n){"use strict";(function(e){n.d(t,"a",function(){return y});var r=n(3),i=n.n(r),o=n(9),a=n(10),s=n(11),c=n(13),u=n(5),l=(n(1966),n(31)),d=n.n(l),f=n(1),h=n.n(f),p=n(55),m=n(694);function v(e){var t=function(){if("undefined"==typeof Reflect||!i.a)return!1;if(i.a.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=Object(u.a)(e);if(t){var o=Object(u.a)(this).constructor;n=i()(r,arguments,o)}else n=r.apply(this,arguments);return Object(c.a)(this,n)}}var g=n(61).b.blocks,y=function(t){Object(s.a)(r,t);var n=v(r);function r(){return Object(o.a)(this,r),n.apply(this,arguments)}return Object(a.a)(r,[{key:"render",value:function(){var t=this.props,n=t.animateBlockEntrance,r=t.isLearner,i=t.previewType,o=t.settings,a=!d()(i),s=n?"fadeIn":"none",c=a&&n?1:0,u=o.backgroundColor,l=o.paddingBottom,f=o.paddingTop,h={backgroundColor:u,paddingBottom:"".concat(10*l,"px"),paddingTop:"".concat(10*f,"px")},v={animateBlockEntrance:a,animateIn:s,duration:c,initiallyVisible:!n,isLearner:r,offset:300};return e.createElement("div",{className:"block-scenario","data-ba":g.blockScenario,style:h},e.createElement(p.a,v,e.createElement(m.a,this.props)))}}],[{key:"propTypes",get:function(){return{animateBlockEntrance:h.a.bool,blockId:h.a.string.isRequired,isLearner:h.a.bool,items:h.a.array.isRequired,lessonId:h.a.string.isRequired,menuOpen:h.a.bool,onStep:h.a.func,onItemUpdate:h.a.func,previewType:h.a.string,settings:h.a.object.isRequired}}}]),r}(e.Component)}).call(this,n(0))},function(e,t,n){"use strict";n.d(t,"a",function(){return L});var r=n(27),i=n.n(r),o=n(100),a=n.n(o),s=n(7),c=n.n(s),u=n(49),l=n.n(u),d=n(65),f=n.n(d),h=n(290),p=n.n(h),m=n(66),v=n.n(m),g=n(30),y=n.n(g),b=n(117),_=n.n(b),w=n(25),x=n.n(w),k=n(14),E=n.n(k),S=n(17),T=n.n(S),C=n(346),O=n.n(C),j=n(231),A=n.n(j),P=x()(E()("filters"),l()(T()("name","rise_emotion")),a()(v.a)),M=x()(E()("filters"),f()(T()("name","rise_emotion")),E()("value")),N=c()(O.a,E()("pathname"),A.a.parse),L=x()(E()("poses"),l()(P),y()(function(e){return[M(e),e]}),p.a,_()(function(e){return x()(i()("key",N(e.src)),i()("thumbnailKey",N(e.thumbnail)))(e)}))},function(e,t,n){"use strict";(function(e){n(1968);var r=n(23),i=n.n(r),o=n(14),a=n.n(o),s=n(113),c=n(360),u=n(55),l=n(695),d=n(90),f=n(298),h=function(e){var t=e.blockId,n=e.lessonId;return function(e){var r=e.itemId,i=e.isCorrect;return Object(d.a)(Object(f.d)({itemId:r,lessonId:n,blockId:t,isCorrect:i}))}},p=function(e){var t=e.blockId,n=e.lessonId;return function(){return Object(d.a)(Object(f.b)({lessonId:n,blockId:t}))}};t.a=function(t){var n=t.animateBlockEntrance,r=t.blockId,o=t.items,d=t.labels,f=t.piles,m=t.progress,v=t.settings,g=a()("backgroundColor",v),y=Object(s.b)(g),b=t.onCardDrop||h,_=t.onReplay||p;return e.createElement(c.a,{settings:v,type:"sorting-activity"},e.createElement(u.a,{animateBlockEntrance:n,animateIn:"fadeIn",isLearner:!0},e.createElement(l.a,{hasDarkBackground:y,id:r,items:o,labels:d,onCardDrop:b(t),onReplay:_(t),piles:f,progress:i()({},["items",r],m)})))}}).call(this,n(0))},function(e,t,n){"use strict";(function(e){n.d(t,"a",function(){return A});var r=n(3),i=n.n(r),o=n(9),a=n(10),s=n(11),c=n(13),u=n(5),l=n(4),d=n.n(l),f=n(15),h=n.n(f),p=(n(1970),n(2)),m=n.n(p),v=n(76),g=n.n(v),y=n(145),b=n.n(y),_=n(17),w=n.n(_),x=n(46),k=n.n(x),E=n(552),S=n(553);function T(e){var t=function(){if("undefined"==typeof Reflect||!i.a)return!1;if(i.a.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=Object(u.a)(e);if(t){var o=Object(u.a)(this).constructor;n=i()(r,arguments,o)}else n=r.apply(this,arguments);return Object(c.a)(this,n)}}var C=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)},j=w()("percentViewed",100),A=function(t){Object(s.a)(r,t);var n=T(r);function r(e){var t;return Object(o.a)(this,r),(t=n.call(this,e)).cardRefs=[],t}return Object(a.a)(r,[{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 t=this,n=this.props,r=n.count,i=n.items,o=n.labels,a=n.id,s=n.progress,c=n.onReplay,u=j(s);return e.createElement("div",{className:C(s)},e.createElement("div",{className:"deck__spacer"}),e.createElement("div",{"aria-hidden":!u,className:"deck__cardholder"},e.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:s,count:r})," ",o.sortingCardsCorrect),e.createElement(S.a,{allowTabNavigation:u,onClick:b()(c,[a]),text:o.sortingReplay})),e.createElement("div",{className:"deck__content"},h()(i).call(i,function(n,r){return e.createElement(E.a,{id:n.id,isDeckTopCard:t.cardRefs[r]===g()(t.cardRefs),isIncorrect:O({item:n,progress:s}),key:n.id,ref:function(e){t.cardRefs[r]=e},title:n.title})})))}}]),r}(e.Component);A.defaultProps={onReplay:Function.prototype}}).call(this,n(0))},function(e,t,n){"use strict";(function(e){n.d(t,"a",function(){return E});var r=n(3),i=n.n(r),o=n(9),a=n(10),s=n(6),c=n(11),u=n(13),l=n(5),d=(n(1973),n(2)),f=n.n(d),h=n(33),p=n.n(h),m=n(210),v=n(1),g=n.n(v),y=n(20),b=n(552),_=n(42),w=n(26),x=n(95);function k(e){var t=function(){if("undefined"==typeof Reflect||!i.a)return!1;if(i.a.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=Object(l.a)(e);if(t){var o=Object(l.a)(this).constructor;n=i()(r,arguments,o)}else n=r.apply(this,arguments);return Object(u.a)(this,n)}}var E=function(t){Object(c.a)(r,t);var n=k(r);function r(e){var t;return Object(o.a)(this,r),(t=n.call(this,e)).state={isSuccess:!1,showFocusOutline:!0},t.handleDragEnter=t.handleDragEnter.bind(Object(s.a)(t)),t.handleDragLeave=t.handleDragLeave.bind(Object(s.a)(t)),t.handleMouseDrop=t.handleMouseDrop.bind(Object(s.a)(t)),t.handleKeyboardDrop=t.handleKeyboardDrop.bind(Object(s.a)(t)),t}return Object(a.a)(r,[{key:"focus",value:function(){this.pileContent.focus()}},{key:"componentDidMount",value:function(){Object(m.a)(this.pile).dropzone({overlap:"pointer"}).on("dragenter",this.handleDragEnter).on("dragleave",this.handleDragLeave).on("drop",this.handleMouseDrop)}},{key:"componentWillUnmount",value:function(){Object(m.a)(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=Object(x.a)(this.handleKeyboardDrop),o=Object(x.a)(r),a=Object(x.a)(n);p()([[w.e,i],[w.g,o],[w.i,a]])(e)}},{key:"onKeyUp",value:function(e){Object(w.e)(e)&&this.props.onKeyDropEnd()}},{key:"handleDragEnter",value:function(e){var t=m.a.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 t=this,n=this.props.title,r=this.state,i=r.activeCard,o=r.isSuccess,a=r.showFocusOutline,s=f()("pile",{"drop-success":o}),c=f()("pile__content",{"drop-animating":!a});return e.createElement("div",{className:s,ref:function(e){return t.pile=e}},e.createElement("div",{className:"pile__wrapwrap"},e.createElement("div",{className:"pile__wrap"},e.createElement("div",{className:"pile__message"},e.createElement(_.a,{className:"pile__title brand--head",value:n})),e.createElement("div",{className:c,onKeyDown:this.onKeyDown.bind(this),onKeyUp:this.onKeyUp.bind(this),ref:function(e){return t.pileContent=e},tabIndex:y.a},i&&e.createElement(b.a,{id:i.id,title:i.title})),e.createElement("div",{className:"pile__background"}))))}}],[{key:"propTypes",get:function(){return{id:g.a.any.isRequired,lessonId:g.a.any.isRequired,onCardDrop:g.a.func.isRequired,title:g.a.string}}},{key:"defaultProps",get:function(){return{onCardDrop:Function.prototype}}}]),r}(e.Component)}).call(this,n(0))},function(e,t,n){"use strict";(function(e){n(1974);var r=n(23),i=n.n(r),o=n(14),a=n.n(o),s=n(113),c=n(360),u=n(55),l=n(696),d=function(t){var n=t.animateBlockEntrance,r=t.blockId,o=t.enableVideoPlaybackSpeed,d=t.isLearner,f=t.items,h=t.labels,p=t.progress,m=t.settings,v=a()("backgroundColor",m),g=Object(s.b)(v);return e.createElement(c.a,{settings:m,type:"timeline"},e.createElement(u.a,{animateBlockEntrance:n,animateIn:"fadeIn",isLearner:!0},e.createElement(l.a,{enableVideoPlaybackSpeed:o,hasDarkBackground:g,id:r,isBlock:!0,isLearner:d,items:f,labels:h,progress:i()({},["items",r],p)})))};d.defaultProps={isLearner:!0},t.a=d}).call(this,n(0))},function(e,t,n){"use strict";n.d(t,"a",function(){return N});var r=n(64),i=n.n(r),o=n(7),a=n.n(o),s=n(33),c=n.n(s),u=n(74),l=n.n(u),d=n(290),f=n.n(d),h=n(43),p=n.n(h),m=n(82),v=n.n(m),g=n(50),y=n.n(g),b=n(30),_=n.n(b),w=n(25),x=n.n(w),k=(n(14),n(233)),E=n.n(k),S=(n(70),n(442)),T=n.n(S),C=n(441),O=n.n(C),j=n(1181),A=n.n(j),P=n(1182),M=n.n(P),N=(l()(function(e,t){return x()(E.a,_()(e),f.a)(t)}),a()(y.a,v.a)),L=function(e,t,n){var r={};for(var i in n)r[e(i)]=t(n[i]);return r},I=c()([[O.a,function(e){return L(M.a,I,e)}],[T.a,function(e){return _()(I,e)}],[i.a,p.a]]),D=c()([[O.a,function(e){return L(A.a,D,e)}],[T.a,function(e){return _()(D,e)}],[i.a,p.a]])},function(e,t,n){var r=n(731)(function(e,t,n){return e+(n?"_":"")+t.toLowerCase()});e.exports=r},function(e,t,n){var r=n(1987),i=n(731)(function(e,t,n){return t=t.toLowerCase(),e+(n?r(t):t)});e.exports=i},function(e,t,n){var r=n(2125),i=n(2127)(function(e,t,n){r(e,n,t)});e.exports=i},function(e,t,n){"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],c=a.slice(i,s),u="function"==typeof t?t.apply(null,e):t;r.push(c,u),i=s+o.length}),r.push(n.slice(i)),r}},function(e,t,n){"use strict";n.d(t,"a",function(){return O});var r=n(3),i=n.n(r),o=n(9),a=n(10),s=n(6),c=n(11),u=n(13),l=n(5),d=n(4),f=n.n(d),h=(n(2149),n(0)),p=n.n(h),m=n(7),v=n.n(m),g=n(2),y=n.n(g),b=n(14),_=n.n(b),w=n(118),x=n(360),k=n(55),E=n(42);function S(e){var t=function(){if("undefined"==typeof Reflect||!i.a)return!1;if(i.a.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=Object(l.a)(e);if(t){var o=Object(l.a)(this).constructor;n=i()(r,arguments,o)}else n=r.apply(this,arguments);return Object(u.a)(this,n)}}var T=n(61).b.blocks,C=v()(w.c,_()("backgroundColor")),O=function(e){Object(c.a)(n,e);var t=S(n);function n(){var e,r;Object(o.a)(this,n);for(var i=arguments.length,a=new Array(i),c=0;c<i;c++)a[c]=arguments[c];return(r=t.call.apply(t,f()(e=[this]).call(e,a))).handleAnimationEnd=r.handleAnimationEnd.bind(Object(s.a)(r)),r.renderTitle=r.renderTitle.bind(Object(s.a)(r)),r.state={isVisible:!r.props.animateBlockEntrance},r}return Object(a.a)(n,[{key:"handleAnimationEnd",value:function(){this.setState({isVisible:!0})}},{key:"renderTitle",value:function(){var e=this.props.title;return p.a.createElement(E.a,{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,c=e.title,u=e.valuesLabel,l=e.variant,d=e.renderTitle,f=void 0===d?this.renderTitle:d,h=this.state.isVisible,m=C(s),v=y()("block-chart__container",{"block-chart__container--darkTheme":m});return p.a.createElement(x.a,{settings:s,type:"chart"},p.a.createElement(k.a,{afterAnimatedIn:this.handleAnimationEnd,animateBlockEntrance:t,animateIn:"fadeIn",initiallyVisible:!t,isLearner:i},p.a.createElement("div",{className:v,"data-ba":T.blockChart},p.a.createElement("div",{className:"block-chart__row"},p.a.createElement("div",{className:"block-chart__rowInner"},(!r&&c||r)&&p.a.createElement("h2",{className:"block-chart__title brand--head"},f()),p.a.createElement("div",{className:"block-chart__chart"},p.a.cloneElement(p.a.Children.only(n),{hasDarkBgColor:m,isVisible:h,items:o,itemsLabel:a,settings:s,shouldAnimate:t,valuesLabel:u,variant:l})))))))}}]),n}(h.PureComponent)},function(e,t,n){"use strict";var r=n(8),i=n(53),o=n.n(i),a=n(15),s=n.n(a),c=n(0),u=n.n(c),l=n(54),d=n.n(l),f=n(65),h=n.n(f),p=n(24),m=n.n(p),v=n(17),g=n.n(v),y=n(2),b=n.n(y),_=n(59),w=(n(2156),d()("partner-content-course-author__"));t.a=function(e){var t=e.partnerContentAuthors,n=e.darkText,i=e.learn,a=e.lesson,c=e.selectedContentId,l=h()(g()("id",c),t),d=m()(["data","authors"],l),f=a?d:t,p=o()(f).call(f,function(e){return e.name}),v=b()(w("author-container"),Object(r.a)({},w("author-container-padding-top"),n)),y=b()(Object(r.a)({},w("gray-text"),!i)),x=function(e){return"url(".concat(Object(_.f)({width:"76",height:"76",imageKey:e.image}),")")};return u.a.createElement("section",null,u.a.createElement("h2",{className:"visually-hidden"},"Authors"),u.a.createElement("ol",{className:v,role:"list"},s()(p).call(p,function(e){return u.a.createElement("li",{key:e.name,className:w("author"),role:"listitem"},u.a.createElement("div",{"aria-hidden":"true",className:w("author-image"),style:{backgroundImage:x(e)}}),u.a.createElement("span",{className:y},e.name))})))}},function(e,t,n){"use strict";var r=n(1),i=n.n(r),o=n(0),a=n.n(o),s=n(1188),c=n.n(s),u=n(16),l=n.n(u),d=n(7),f=n.n(d),h=n(89),p=n.n(h),m=n(236),v=n.n(m),g=n(78),y=n.n(g)()(v()(/^#([0-9a-f]{3}|[0-9a-f]{6})$/i),l()("#FFF")),b=p()({color:y}),_=f()(function(e){var t=e.bodyTypeface,n=e.color,r=e.headingTypeface,i=e.uiTypeface;return a.a.createElement("div",{dangerouslySetInnerHTML:{__html:c()({bodyTypeface:t,color:n,headingTypeface:r,uiTypeface:i})}})},b);_.displayName="Branding",_.propTypes={bodyTypeface:i.a.string,color:i.a.string.isRequired,headingTypeface:i.a.string,uiTypeface:i.a.string},t.a=Object(o.memo)(_)},function(module,exports){module.exports=function(obj){obj||(obj={});var __t,__p="";with(obj)__p+="<style>\n  :root {\n    --color-accent: "+(null==(__t=color)?"":__t)+";\n    --font-family-body: "+(null==(__t=bodyTypeface)?"":__t)+";\n    --font-family-head: "+(null==(__t=headingTypeface)?"":__t)+";\n  }\n\n  .brand--head, .brand--head *   { font-family: "+(null==(__t=headingTypeface)?"":__t)+" !important; }\n  .brand--body, .brand--body *   { font-family: "+(null==(__t=bodyTypeface)?"":__t)+" !important; }\n  .brand--lhead, .brand--lhead * { font-family: "+(null==(__t=headingTypeface)?"":__t)+" !important; }\n  .brand--lbody, .brand--lbody * { font-family: "+(null==(__t=bodyTypeface)?"":__t)+" !important; }\n  .brand--ui, .brand--ui *       { font-family: "+(null==(__t=uiTypeface)?"":__t)+" !important; }\n\n  .brand--beforeHead:before { font-family: "+(null==(__t=uiTypeface)?"":__t)+" !important; }\n  .brand--afterHead:after   { font-family: "+(null==(__t=uiTypeface)?"":__t)+" !important; }\n\n  .brand--background             { background-color: "+(null==(__t=color)?"":__t)+" !important; }\n  .brand--background-transparent { background-color: "+(null==(__t=color+"1A")?"":__t)+" !important; }\n  .brand--background-all *       { background-color: "+(null==(__t=color)?"":__t)+" !important; }\n  .brand--border                 { border-color: "+(null==(__t=color)?"":__t)+" !important; }\n  .brand--color                  { color: "+(null==(__t=color)?"":__t)+" !important; }\n  .brand--color-all *            { color: "+(null==(__t=color)?"":__t)+" !important; }\n  .brand--shadow                 { box-shadow: 0 0 0 0.2rem "+(null==(__t=color)?"":__t)+" !important; }\n  .brand--shadow-all *           { box-shadow: 0 0 0 0.2rem "+(null==(__t=color)?"":__t)+" !important; }\n  .brand--fill                   { fill: "+(null==(__t=color)?"":__t)+" !important; }\n  .brand--stroke                 { stroke: "+(null==(__t=color)?"":__t)+" !important; }\n\n\n  .brand--beforeBackground:before { background-color: "+(null==(__t=color)?"":__t)+" !important; }\n  .brand--beforeBorder:before     { border-color: "+(null==(__t=color)?"":__t)+" !important; }\n  .brand--beforeColor:before      { color: "+(null==(__t=color)?"":__t)+" !important; }\n\n  .brand--afterBackground:after { background-color: "+(null==(__t=color)?"":__t)+" !important; }\n  .brand--afterBorder:after     { border-color: "+(null==(__t=color)?"":__t)+" !important; }\n  .brand--afterColor:after      { color: "+(null==(__t=color)?"":__t)+" !important; }\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    fill: "+(null==(__t=color)?"":__t)+" !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    fill: "+(null==(__t=color)?"":__t)+" !important;\n  }\n\n  /* should be applied to any single element that\n     needs to change color on hover */\n  .brand--hoverColor:hover { color: "+(null==(__t=color)?"":__t)+" !important; }\n\n  .brand--linkColor a:hover,\n  .button.brand--background:hover { opacity: .65 !important; }\n\n  .brandHover:hover .brandHover__target--fill { fill: "+(null==(__t=color)?"":__t)+" !important; }\n\n  @media (min-width: 47.9375em) { /* 768px */\n    .brand--min768--background { background-color: "+(null==(__t=color)?"":__t)+" !important; }\n    .brand--min768--border     { border-color: "+(null==(__t=color)?"":__t)+" !important; }\n    .brand--min768--color      { color: "+(null==(__t=color)?"":__t)+" !important; }\n  }\n\n  @media (max-width: 47.9375em) { /* 768px */\n    .brand--max768--background { background-color: "+(null==(__t=color)?"":__t)+" !important; }\n    .brand--max768--border     { border-color: "+(null==(__t=color)?"":__t)+" !important; }\n    .brand--max768--color      { color: "+(null==(__t=color)?"":__t)+" !important; }\n  }\n</style>\n";return __p}},function(e,t,n){"use strict";var r,i=n(52),o=n.n(i),a=n(36),s=n.n(a),c=n(53),u=n.n(c),l=n(35),d=n.n(l),f=n(38),h=n.n(f),p=n(8),m=n(235),v=n(28),g=n.n(v),y=n(60),b=Object(y.c)({},Object(p.a)({},m.a,function(e,t){var n=t.labelSet;return g()(e,n)})),_=n(67),w=n(54),x=n.n(w),k=n(111),E=n.n(k),S=n(688),T=n(209),C=n(90),O=(x()("rise/fonts/")("LOAD_FONTS"),g()({})),j=Object(y.c)({},(r={},Object(p.a)(r,m.a,function(e,t){var n=t.fonts;return g()(e,E()(A)(n))}),Object(p.a)(r,m.b,function(e,t){var n=t.fonts;return O(n)}),r)),A=function(e){return Object(S.a)(e,function(){return Object(C.a)(Object(T.e)(!0))})},P=n(561),M={hasModernOverview:Object(P.a)("modernOverview"),isPreview:"preview"===window.viewType,externalLinksModalVisible:!1},N=x()("rise/globals/")("SHOW_EXTERNAL_LINKS_MODAL"),L=Object(y.c)(M,Object(p.a)({},N,function(e,t){return g()(e,{externalLinksModalVisible:t})})),I=n(700),D=n(27),R=n.n(D),B=n(181),F=n(107),U=n.n(F),q=function(e,t){return R()(t.id,t,e)},z=Object(B.handle)({},Object(p.a)({},m.a,function(e,t){var n=t.media;return U()(q,{},n)})),H=n(185),V=n.n(H),W=n(89),Y=n.n(W),G=n(138),K=n.n(G),$=n(17),X=n.n($),Q=n(421),Z=n.n(Q),J=n(545),ee=function(e,t){var n=K()(X()("id",t.id),e.content),r=-1===n?V()(t):Z()(n,t);return Y()({content:r},e)},te=Object(p.a)({},J.a,function(e,t){return U()(ee,e,t)}),ne=Object(B.handle)({content:[]},te),re=n(385),ie=n(263);function oe(e,t){var n=o()(e);if(s.a){var r=s()(e);t&&(r=u()(r).call(r,function(t){return d()(e,t).enumerable})),n.push.apply(n,r)}return n}var ae=n(22).e?{learningPathUpNext:I.a}:{};t.a=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?oe(Object(n),!0).forEach(function(t){Object(p.a)(e,t,n[t])}):h.a?Object.defineProperties(e,h()(n)):oe(Object(n)).forEach(function(t){Object.defineProperty(e,t,d()(n,t))})}return e}({course:m.c,courseLabels:b,courseProgress:_.d,fonts:j,global:L,media:z,partnerContent:ne,search:re.a,sessionPreferences:ie.a,status:T.a},ae)},function(e,t,n){"use strict";(function(e){n.d(t,"a",function(){return i});n(2640);var r=n(22);function i(t){return t.enableExitCourse?e.createElement("button",{className:t.className,onClick:r.b,type:"button"},t.text):null}}).call(this,n(0))},function(e,t,n){"use strict";n.d(t,"a",function(){return s}),n.d(t,"b",function(){return c}),n.d(t,"c",function(){return u});var r=n(153),i=n.n(r),o=n(164),a=960;function s(){return document.querySelector(".page-wrap")}var c=i()(o.b,function(e){return e.getBoundingClientRect().bottom-e.offsetHeight/4<=window.innerHeight});function u(){return window.innerWidth<a}},function(e,t,n){var r=n(784),i=n(1199),o=n(2642),a=n(788);e.exports=a(3,function(e,t){return i(r(e),[t,o])})},function(e,t,n){"use strict";n.d(t,"a",function(){return $n}),n.d(t,"b",function(){return Xn});var r=n(8),i=n(16),o=n.n(i),a=n(1192),s=n.n(a),c=n(7),u=n.n(c),l=n(33),d=n.n(l),f=n(138),h=n.n(f),p=n(17),m=n.n(p),v=n(97),g=n.n(v),y=(n(49),n(163),n(48)),b=n.n(y),_=n(108),w=n.n(_),x=n(43),k=n.n(x),E=(n(80),n(66),n(1096),n(31)),S=n.n(E),T=(n(25),n(161),n(14)),C=n.n(T),O=n(168),j=n.n(O),A=n(129),P=n.n(A),M=n(64),N=n.n(M),L=(n(246),n(70),n(39),n(698),n(3)),I=n.n(L),D=n(41),R=n.n(D),B=n(152),F=n.n(B),U=n(123),q=n.n(U),z=n(162),H=n.n(z),V=n(36),W=n.n(V),Y=n(53),G=n.n(Y),K=n(35),$=n.n(K),X=n(38),Q=n.n(X),Z=n(101),J=n(44),ee=n(6),te=n(9),ne=n(10),re=n(11),ie=n(13),oe=n(5),ae=n(141),se=n(4),ce=n.n(se),ue=n(79),le=n.n(ue),de=n(52),fe=n.n(de),he=n(361),pe=n.n(he),me=n(156),ve=n.n(me),ge=n(15),ye=n.n(ge),be=n(98),_e=n.n(be),we=(n(1239),n(297)),xe=n.n(we),ke=n(21),Ee=n(0),Se=n.n(Ee),Te=(n(2324),n(149)),Ce=n.n(Te),Oe=n(313),je=n.n(Oe),Ae=n(69),Pe=n.n(Ae),Me=n(145),Ne=n.n(Me),Le=n(84),Ie=(n(319),n(155)),De=n.n(Ie),Re=["active","align","children","className","dropdownClassName","onClose","role","slideIn"],Be=["menu"],Fe=["children","enableHover"];function Ue(e,t){var n=fe()(e);if(W.a){var r=W()(e);t&&(r=G()(r).call(r,function(t){return $()(e,t).enumerable})),n.push.apply(n,r)}return n}function qe(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Ue(Object(n),!0).forEach(function(t){Object(r.a)(e,t,n[t])}):Q.a?Object.defineProperties(e,Q()(n)):Ue(Object(n)).forEach(function(t){Object.defineProperty(e,t,$()(n,t))})}return e}function ze(e,t){var n=void 0!==q.a&&H()(e)||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=function(e,t){var n;if(!e)return;if("string"==typeof e)return He(e,t);var r=R()(n=Object.prototype.toString.call(e)).call(n,8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return F()(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return He(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 He(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 Ve(e){var t=function(){if("undefined"==typeof Reflect||!I.a)return!1;if(I.a.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=Object(oe.a)(e);if(t){var i=Object(oe.a)(this).constructor;n=I()(r,arguments,i)}else n=r.apply(this,arguments);return Object(ie.a)(this,n)}}var We=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 ke.pipe.apply(void 0,n)(e)},Ye=Object(ke.sortBy)(Object(ke.compose)(ke.toLower,Object(ke.prop)("title"))),Ge=Object(ke.pipe)(function(e){var t=Object(ke.indexBy)(Object(ke.prop)("id"),e||[]);return Object(ke.reduce)(function(e){return function(t,n){return e[n.parentId]?t:Object(ke.append)(n,t)}}(t),[],e)},Object(ke.pluck)(["id"])),Ke=Object(ke.pipe)(function(e){return{folders:e,ids:Ge(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 ke.compose.apply(void 0,Object(ae.a)(Object(ke.dropLast)(1,t)))(Object(ke.last)(t))}(Ye,Object(ke.map)(function e(t){return function(n){var r=Object(ke.find)(Object(ke.propEq)("id",n),t),i=We(t,Object(ke.chain)(Object(ke.ifElse)(Object(ke.propEq)("parentId",n),Object(ke.pipe)(Object(ke.prop)("id"),e(t)),Object(ke.always)([]))),Ye);return Object(ke.assoc)("subfolders",i,r)}}(t)),n)}),$e=["viewer","editor","manager","owner"],Xe=function(e){var t=e.effectiveRole,n=e.requiredRole;return Object(ke.indexOf)(t,$e)>=Object(ke.indexOf)(n,$e)},Qe=function(e){Object(re.a)(n,e);var t=Ve(n);function n(){return Object(te.a)(this,n),t.apply(this,arguments)}return Object(ne.a)(n,[{key:"render",value:function(){return Se.a.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",version:"1.1","aria-hidden":this.props.decorative,"aria-label":this.props.title,role:this.props.role,className:xe()(this.props.className),focusable:"false",height:this.props.height,viewBox:this.props.viewBox,width:this.props.width},this.props.children)}}]),n}(Ee.Component),Ze=function(e){return Se.a.createElement(Qe,le()({},e,{viewBox:"0 0 6 10"}),Se.a.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"}))};Ze.defaultProps={width:"6",height:"10"};var Je=Object(Ee.memo)(Ze),et=function(e){return Se.a.createElement(Qe,le()({},e,{viewBox:"0 0 15 15"}),Se.a.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"}))};et.defaultProps={width:"15",height:"15"};var tt=Object(Ee.memo)(et),nt=[],rt=[];function it(e,t){if(e&&"undefined"!=typeof document){var n,r=!0===t.prepend?"prepend":"append",i=!0===t.singleTag,o="string"==typeof t.container?document.querySelector(t.container):document.getElementsByTagName("head")[0];if(i){var a=nt.indexOf(o);-1===a&&(a=nt.push(o)-1,rt[a]={}),n=rt[a]&&rt[a][r]?rt[a][r]:rt[a][r]=s()}else n=s();65279===e.charCodeAt(0)&&(e=e.substring(1)),n.styleSheet?n.styleSheet.cssText+=e:n.appendChild(document.createTextNode(e))}function s(){var e=document.createElement("style");if(e.setAttribute("type","text/css"),t.attributes)for(var n=fe()(t.attributes),i=0;i<n.length;i++)e.setAttribute(n[i],t.attributes[n[i]]);var a="prepend"===r?"afterbegin":"beforeend";return o.insertAdjacentElement(a,e),e}}var ot="Breadcrumb_breadcrumb__96763845",at="Breadcrumb_breadcrumbActive__96763845",st="Breadcrumb_breadcrumbDisabled__96763845",ct="Breadcrumb_breadcrumbRoot__96763845",ut="Breadcrumb_label__96763845",lt="Breadcrumb_caret__96763845";it(".Breadcrumb_breadcrumb__96763845{align-items:center;color:#6a737c;cursor:pointer;display:inline-flex;flex-shrink:1;font-size:1.5rem;line-height:2;margin-right:1.6rem;max-width:18.5rem}.Breadcrumb_breadcrumbActive__96763845{color:#313537;cursor:auto;font-weight:700;max-width:calc(100% - 7rem)}.Breadcrumb_breadcrumbDisabled__96763845{cursor:not-allowed}.Breadcrumb_breadcrumbRoot__96763845{cursor:auto}.Breadcrumb_label__96763845{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.Breadcrumb_caret__96763845{display:inline-block;line-height:0;margin-left:1.6rem;transform:scale(-1)}.Breadcrumb_caret__96763845 svg{fill:#6a737c;height:.7rem;width:auto}.Breadcrumb_dropdownTrigger__96763845{-webkit-appearance:none;-moz-appearance:none;appearance:none;background:none;border:none;cursor:pointer;line-height:1;outline:none;padding:0;position:relative}.Breadcrumb_dropdownTrigger__96763845 svg{fill:#6a737c;height:1.6rem;width:1.6rem}.Breadcrumb_dropdownWrap__96763845{left:-1.6rem;top:1.5rem}.Breadcrumb_dropdown__96763845{font-weight:400;max-width:25rem}.Breadcrumb_dropdownItem__96763845{align-items:center;display:flex}.Breadcrumb_dropdownLabel__96763845{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.Breadcrumb_dropdownCaret__96763845{border-bottom:.3rem solid #fff;border-left:.3rem solid transparent;border-right:.3rem solid transparent;display:inline-block;height:0;left:50%;position:absolute;top:50%;transform:translate(-50%,-50%) rotate(180deg);width:0}.Breadcrumb_dropdownCaretActive__96763845{transform:translate(-50%,-50%) rotate(0)}",{prepend:!0});var dt=d()([[je()(String),k.a],[S.a,o()(void 0)],[w()("displayName"),C()("displayName")],[w()("name"),C()("name")],[N.a,o()("Component")]]),ft=Pe()(["enableClickOutside","hideScroll","onClickOutside","preventDefault","stopPropagation"]),ht=function(e){Object(re.a)(n,e);var t=Ve(n);function n(){var e,r;Object(te.a)(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(Object(ee.a)(r)),r.onBodyClickDelegate=r.onBodyClick.bind(Object(ee.a)(r)),r.addDomEvents(),r}return Object(ne.a)(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 Se.a.createElement(e,ft(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=Object(Le.findDOMNode)(this);return t&&!this.cancel&&null!==n&&n!==e&&!n.contains(e)}}]),n}(Ee.Component);ht.defaultProps={onClickOutside:o()(),preventDefault:!0,stopPropagation:!0};var pt=ht.prototype;le()(pt,{addDomEvents:Ne()(pt.setupDomEvents,[!0]),removeDomEvents:Ne()(pt.setupDomEvents,[!1])});var mt,vt=(mt="div",function(e){Object(re.a)(n,e);var t=Ve(n);function n(){return Object(te.a)(this,n),t.apply(this,arguments)}return Object(ne.a)(n,[{key:"Child",get:function(){return mt}}],[{key:"displayName",get:function(){return"ClickableOutside(".concat(dt(mt),")")}}]),n}(ht)),gt="Dropdown_wrap__0a3aa899",yt="Dropdown_posLeft__0a3aa899",bt="Dropdown_posRight__0a3aa899",_t="Dropdown_posActive__0a3aa899 Dropdown_pos__0a3aa899",wt="Dropdown_posInactive__0a3aa899 Dropdown_pos__0a3aa899",xt="Dropdown_dropdownInactive__0a3aa899 Dropdown_dropdown__0a3aa899",kt="Dropdown_dropdownAlignLeft__0a3aa899",Et="Dropdown_dropdownSlideIn__0a3aa899",St="Dropdown_dropdownInPlace__0a3aa899",Tt="Dropdown_dropdownAlignCenter__0a3aa899",Ct="Dropdown_dropdownAlignRight__0a3aa899",Ot="Dropdown_dropdownActive__0a3aa899 Dropdown_dropdown__0a3aa899";it(".Dropdown_wrap__0a3aa899{display:inline-block;height:0;position:relative;width:0}.Dropdown_pos__0a3aa899{position:absolute;top:0;z-index:1000}.Dropdown_posLeft__0a3aa899{left:0}.Dropdown_posRight__0a3aa899{right:0}.Dropdown_posActive__0a3aa899{pointer-events:all}.Dropdown_posInactive__0a3aa899{pointer-events:none}.Dropdown_dropdown__0a3aa899{background:#fff;border-radius:.6rem;box-shadow:0 .5rem 4rem rgba(0,0,0,.1);padding:2rem 0;transition:all .25s ease-in-out;transition-property:opacity,transform,visibility}.Dropdown_dropdownInactive__0a3aa899{opacity:0;visibility:hidden}.Dropdown_dropdownInactive__0a3aa899.Dropdown_dropdownAlignLeft__0a3aa899.Dropdown_dropdownSlideIn__0a3aa899{transform:translateY(-1rem)}.Dropdown_dropdownInactive__0a3aa899.Dropdown_dropdownAlignLeft__0a3aa899.Dropdown_dropdownInPlace__0a3aa899{transform:translate(0)}.Dropdown_dropdownInactive__0a3aa899.Dropdown_dropdownAlignCenter__0a3aa899.Dropdown_dropdownSlideIn__0a3aa899{transform:translate(-50%,-1rem)}.Dropdown_dropdownInactive__0a3aa899.Dropdown_dropdownAlignCenter__0a3aa899.Dropdown_dropdownInPlace__0a3aa899{transform:translate(-50%)}.Dropdown_dropdownInactive__0a3aa899.Dropdown_dropdownAlignRight__0a3aa899.Dropdown_dropdownSlideIn__0a3aa899{transform:translateY(-1rem)}.Dropdown_dropdownInactive__0a3aa899.Dropdown_dropdownAlignRight__0a3aa899.Dropdown_dropdownInPlace__0a3aa899{transform:translate(0)}.Dropdown_dropdownActive__0a3aa899{opacity:1;visibility:visible}.Dropdown_dropdownActive__0a3aa899.Dropdown_dropdownAlignLeft__0a3aa899{transform:translate(0)}.Dropdown_dropdownActive__0a3aa899.Dropdown_dropdownAlignCenter__0a3aa899{transform:translate(-50%)}.Dropdown_dropdownActive__0a3aa899.Dropdown_dropdownAlignRight__0a3aa899{transform:translate(0)}.Dropdown_dropdownItem__0a3aa899{cursor:pointer;font-size:1.4rem;padding:1.1rem 2.2rem;white-space:nowrap}.Dropdown_dropdownItem__0a3aa899:hover{background:#fafafa}.Dropdown_dropdownItem__0a3aa899:hover svg{fill:#313537}.Dropdown_dropdownItem__0a3aa899 svg{fill:#adaeaf}",{prepend:!0});var jt=new pe.a,At=Ce()(function(){var e,t=ze(ve()(jt).call(jt));try{for(t.s();!(e=t.n()).done;)(0,e.value)()}catch(e){t.e(e)}finally{t.f()}},250);window.addEventListener("resize",At),window.addEventListener("orientationchange",At);var Pt=function(e){Object(re.a)(n,e);var t=Ve(n);function n(){var e,r;Object(te.a)(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=Se.a.createRef(),r.update(r.props),r}return Object(ne.a)(n,[{key:"componentWillReceiveProps",value:function(e){this.update(e,this.props)}},{key:"componentWillUnmount",value:function(){jt.delete(this)}},{key:"fitOnScreen",value:function(){var e=this.props.fit,t=this.posRef.current;if(e&&null!=t){le()(t.style,{left:"",right:""});var n=function e(t){return null==t?0:t.offsetLeft+e(t.offsetParent)}(t)+t.offsetWidth-window.innerWidth+20>0?["auto","0"]:["",""],r=Object(J.a)(n,2),i=r[0],o=r[1];le()(t.style,{left:i,right:o})}}},{key:"render",value:function(){var e,t,n=this.props,i=n.active,o=n.align,a=n.children,s=n.className,c=n.dropdownClassName,u=n.onClose,l=n.role,d=void 0===l?"menu":l,f=n.slideIn,h=Object(Z.a)(n,Re),p=xe()((e={},Object(r.a)(e,wt,!i),Object(r.a)(e,_t,i),Object(r.a)(e,yt,"right"!==o),Object(r.a)(e,bt,"right"===o),e)),m=qe({className:xe()(c,(t={},Object(r.a)(t,xt,!i),Object(r.a)(t,Ot,i),Object(r.a)(t,kt,"left"===o),Object(r.a)(t,Tt,"center"===o),Object(r.a)(t,Ct,"right"===o),Object(r.a)(t,Et,f),Object(r.a)(t,St,!f),t)),enableClickOutside:i,onClickOutside:u,role:d},Object(ke.omit)(["fit"],h));return Se.a.createElement("div",{className:s||gt},Se.a.createElement("div",{ref:this.posRef,className:p},Se.a.createElement(vt,le()({"aria-hidden":!i},m),a)))}},{key:"update",value:function(e){var t=e.fit,n=(arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}).fit;t&&!n?jt.set(this,this.fitOnScreen.bind(this)):!t&&n&&jt.delete(this)}}]),n}(Ee.Component);le()(Pt.prototype,{componentDidMount:Pt.prototype.fitOnScreen,componentDidUpdate:Pt.prototype.fitOnScreen}),Pt.defaultProps={align:"center"};var Mt=function(e){var t,n=e.active,i=e.allowViewer,o=e.effectiveRole,a=e.id,s=e.label,c=e.onClick,u=e.showCaret,l=e.showMenu,d=e.type,f=Object(ke.isNil)(a),h=function(e){var t=e.allowViewer,n=e.effectiveRole,r=e.id,i=e.type;return Object(ke.isNil)(r)||!("shared"===i)||Xe({effectiveRole:n,requiredRole:t?"viewer":"editor"})}({allowViewer:i,effectiveRole:o,id:a,type:d}),p=Object(Ee.useCallback)(function(e){h&&c(e)},[h,c]),m=Object(Ee.useCallback)(function(e){13===e.keyCode&&p(e)},[p]),v={className:xe()(ot,(t={},Object(r.a)(t,at,n),Object(r.a)(t,ct,(f||"deleted"===a)&&n),Object(r.a)(t,st,!h),t)),onClick:p,onKeyPress:m,role:"listitem","aria-current":n?"page":null};return Se.a.createElement("li",v,Se.a.createElement("span",{className:ut},s),l&&n&&Se.a.createElement(Lt,e),u&&!n&&Se.a.createElement(Nt,null))};Mt.defaultProps={allowViewer:!1};var Nt=function(){return Se.a.createElement("span",{className:lt},Se.a.createElement(Je,null))},Lt=function(e){var t=e.menu,n=Object(Z.a)(e,Be);return Se.a.createElement(t,Object(ke.pick)(["category","depth","id","isDeleted","type","effectiveRole"],n))};it(".Breadcrumbs_breadcrumbs__6dc850ec{align-items:center;display:flex;list-style-type:none;margin-right:auto;padding:0}",{prepend:!0});Object(ke.addIndex)(ke.forEach);var It=function(e){return function(t){13===t.keyCode&&e()}},Dt=(Object(ke.always)(),Object(ke.complement)(ke.isNil)),Rt=Object(ke.complement)(ke.isEmpty),Bt=Object(ke.both)(Dt,Rt),Ft=(Object(ke.either)(ke.isNil,ke.isEmpty),"FolderTree_wrap__bd3431f6"),Ut="FolderTree_folderWrap__bd3431f6",qt="FolderTree_folder__bd3431f6",zt="FolderTree_folderWrapOpen__bd3431f6",Ht="FolderTree_folderIcon__bd3431f6",Vt="FolderTree_folderCaret__bd3431f6",Wt="FolderTree_folderOptions__bd3431f6",Yt="FolderTree_folderMenu__bd3431f6",Gt="FolderTree_folderActive__bd3431f6",Kt="FolderTree_folderForceHover__bd3431f6",$t="FolderTree_folderHideCaret__bd3431f6",Xt="FolderTree_folderCaretWrap__bd3431f6",Qt="FolderTree_folderCaretOpen__bd3431f6",Zt="FolderTree_folderNameWrap__bd3431f6",Jt="FolderTree_folderName__bd3431f6",en="FolderTree_folderOptionsActive__bd3431f6";it(".FolderTree_wrap__bd3431f6{margin-bottom:1rem}.FolderTree_folderWrap__bd3431f6{max-height:4rem;transition:max-height .2s,opacity .2s,height .2s}.FolderTree_folderWrap__bd3431f6>.FolderTree_folderWrap__bd3431f6{max-height:0;opacity:0;transition:max-height .2s,opacity .2s,height .2s;visibility:hidden}.FolderTree_folderWrap__bd3431f6>.FolderTree_folderWrap__bd3431f6>.FolderTree_folder__bd3431f6{height:0}.FolderTree_folderWrapOpen__bd3431f6{max-height:none}.FolderTree_folderWrapOpen__bd3431f6>.FolderTree_folderWrap__bd3431f6{max-height:2000rem;opacity:1;visibility:visible}.FolderTree_folderWrapOpen__bd3431f6>.FolderTree_folderWrap__bd3431f6>.FolderTree_folder__bd3431f6{height:4rem}.FolderTree_folder__bd3431f6{background-color:transparent;color:#6a737c;cursor:pointer;display:flex;font-size:1.4rem;height:4rem;line-height:1;padding:0 1.5rem 0 2.1rem;position:relative;transition:all .2s;width:100%}.FolderTree_folder__bd3431f6:hover{background-color:#fafafa;color:#313537}.FolderTree_folder__bd3431f6:hover .FolderTree_folderIcon__bd3431f6 svg{fill:#313537}.FolderTree_folder__bd3431f6:hover .FolderTree_folderCaret__bd3431f6{border-color:#313537 transparent transparent}.FolderTree_folder__bd3431f6:hover .FolderTree_folderOptions__bd3431f6{transition:width 0s;visibility:visible;width:auto}.FolderTree_folder__bd3431f6:hover .FolderTree_folderMenu__bd3431f6{display:flex}.FolderTree_folderActive__bd3431f6{color:#313537;font-weight:700}.FolderTree_folderActive__bd3431f6 .FolderTree_folderCaret__bd3431f6{border-color:#313537 transparent transparent}.FolderTree_folderActive__bd3431f6 .FolderTree_folderIcon__bd3431f6 svg{fill:#313537}.FolderTree_folderForceHover__bd3431f6{background-color:#fafafa;color:#313537}.FolderTree_folderForceHover__bd3431f6 .FolderTree_folderIcon__bd3431f6 svg{fill:#313537}.FolderTree_folderForceHover__bd3431f6 .FolderTree_folderCaret__bd3431f6{border-color:#313537 transparent transparent}.FolderTree_folderForceHover__bd3431f6 .FolderTree_folderOptions__bd3431f6{transition:width 0s;visibility:visible;width:auto}.FolderTree_folderForceHover__bd3431f6 .FolderTree_folderMenu__bd3431f6{display:flex}.FolderTree_folderHideCaret__bd3431f6 .FolderTree_folderCaretWrap__bd3431f6{visibility:hidden}.FolderTree_folderCaretWrap__bd3431f6{align-items:center;display:inline-flex;flex:0 0 1.9rem;height:100%;vertical-align:top;width:1.9rem}.FolderTree_folderCaret__bd3431f6{border-color:#c9c9ca transparent transparent;border-style:solid solid none;border-width:.5rem .4rem;transform:rotate(-90deg);transition:all .2s}.FolderTree_folderCaretOpen__bd3431f6{transform:rotate(0deg)}.FolderTree_folderIcon__bd3431f6{align-items:center;display:inline-flex;height:100%;vertical-align:top}.FolderTree_folderIcon__bd3431f6 svg{fill:#c9c9ca;height:auto;margin-right:1.1rem;transition:fill .2s;width:1.4rem}.FolderTree_folderNameWrap__bd3431f6{align-items:center;display:inline-flex;height:100%;overflow:hidden;vertical-align:top;white-space:nowrap}.FolderTree_folderName__bd3431f6{overflow:hidden;text-overflow:ellipsis}.FolderTree_folderOptions__bd3431f6{flex-shrink:0;height:100%;margin-left:auto;transition:width 0s linear .2s;visibility:hidden;width:0}.FolderTree_folderOptionsActive__bd3431f6{transition:width 0s;visibility:visible;width:auto}.FolderTree_folderOptionsActive__bd3431f6 .FolderTree_folderMenu__bd3431f6{display:flex;z-index:2}.FolderTree_folderMenu__bd3431f6{align-items:center;display:none;height:100%;z-index:1}",{prepend:!0});var tn=function(e){return Se.a.createElement(Qe,le()({},e,{viewBox:"0 0 16 16"}),Se.a.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"}))};tn.defaultProps={width:"16",height:"16"};var nn=Object(Ee.memo)(tn),rn=Object(ke.flip)(ke.concat),on=Object(ke.propEq)("deleted",!0),an=function(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];return Object(ke.compose)(Object(ke.map)(Object(ke.assoc)("treeType","item")),Object(ke.when)(Object(ke.always)(t),Object(ke.reject)(Object(ke.propEq)("deleted",!0))),Object(ke.filter)(Object(ke.propEq)("folderId",e)))},sn=function(e){var t=e.deleted,n=e.id;return t?"".concat(n,"-deleted"):n},cn=Object(ke.compose)(Object(ke.pluck)("id"),function e(t){return We(t,Object(ke.propOr)([],"subfolders"),Object(ke.map)(e),ke.flatten,Object(ke.prepend)(un(t)))}),un=function(e){return on(e)?Object(ke.evolve)({id:rn("-deleted")},e):e},ln=function(e,t,n){var r,i=e.id,o=e.openFolders,a=e.setOpenFolders,s=sn(t),c=cn(t),u=Object(ke.compose)(a,Object(ke.without)([s])),l=Object(ke.compose)(a,Object(ke.without)(c)),d=document.getElementById(ce()(r="".concat(i,"-qbf-")).call(r,s));d.style.maxHeight="".concat(d.offsetHeight,"px"),d.style.overflow="hidden",n([setTimeout(function(){return u(o)},0),setTimeout(function(){return d.style.maxHeight=null},0),setTimeout(function(){return d.removeAttribute("style")},500),setTimeout(function(){return l(o)},200)])},dn=function(e,t,n,r){var i,o=e.id,a=e.openFolders,s=e.setOpenFolders,c=t.subfolders,u=sn(t),l=r?r.length:0,d=c&&c.length+1+l,f=Object(ke.compose)(s,Object(ke.append)(u)),h=document.getElementById(ce()(i="".concat(o,"-qbf-")).call(i,u));h.style.maxHeight="".concat(40*d,"px"),h.style.overflow="hidden",n([setTimeout(function(){return f(a)},0),setTimeout(function(){return h.removeAttribute("style")},300)])},fn=function(e){var t=e.props,n=e.folder,i=e.containedItems,o=Object(Ee.useState)([]),a=Object(J.a)(o,2),s=a[0],c=a[1];Object(Ee.useEffect)(function(){return function(){ye()(s).call(s,clearTimeout)}},[s]);var u=t.openFolders,l=sn(n),d=function(e,t,n,r){return function(i){var o=e.openFolders,a=sn(t),s=_e()(o).call(o,a)?ln:dn;i.stopPropagation(),s(e,t,r,n)}}(t,n,i,c),f=xe()(Vt,Object(r.a)({},Qt,_e()(u).call(u,l))),h={className:Xt,onClick:d,onKeyPress:It(d),role:"button"};return Se.a.createElement("div",h,Se.a.createElement("div",{className:f}))},hn=function e(t){var n,i,o,a,s=t.folder,c=t.props,u=c.active,l=c.activeClassName,d=c.activeMenu,f=c.activeType,h=c.className,p=c.id,m=c.items,v=c.itemIcon,g=c.menu,y=c.onFolderClick,b=c.onItemClick,_=c.openFolders,w=c.showItems,x=s.title,k=s.subfolders,E=s.treeType,S=s.type,T=sn(s),C=s.index||0,O=Object(Ee.useCallback)(function(){return"folder"===E?y(s):b(s)},[s,y,b,E]),j={paddingLeft:"".concat(21*(C+2),"px")},A=w?an(T)(m):[],P=Object(ke.compose)(function(t){return Se.a.createElement(e,{key:t.id,props:c,folder:t})},Object(ke.assoc)("treeType","folder"),Object(ke.assoc)("index",C+1)),M=Object(ke.compose)(function(t){return Se.a.createElement(e,{key:t.id,props:c,folder:t})},Object(ke.assoc)("treeType","item"),Object(ke.assoc)("index",C+1)),N=Object(ke.cond)([[Object(ke.propEq)("treeType","item"),M],[ke.T,P]]),L=xe()(Ut,Object(r.a)({},zt,_e()(_).call(_,T))),I=Bt(k)||Bt(A),D=I?ye()(n=ce()(i=[]).call(i,Object(ae.a)(k),Object(ae.a)(A))).call(n,N):null,R={className:xe()(qt,h,(o={},Object(r.a)(o,Gt,u===s.id),Object(r.a)(o,$t,!I),Object(r.a)(o,l,u===s.id),Object(r.a)(o,Kt,Boolean(d[s.id])),o)),onClick:O,onKeyPress:Object(Ee.useCallback)(It(O),[It,O]),role:"button",style:j,tabIndex:"0"},B="team"===S?nn:tt;return Se.a.createElement("div",{id:ce()(a="".concat(p,"-qbf-")).call(a,T),key:T,className:L},Se.a.createElement("div",R,Se.a.createElement(fn,{props:c,folder:s,containedItems:w?an(T)(m):[]}),Se.a.createElement("div",{className:Ht},"folder"===E?Se.a.createElement(B,null):Se.a.createElement(v,null)),Se.a.createElement("div",{className:Zt},Se.a.createElement("div",{className:Jt},x)),g&&Se.a.createElement(mn,le()({},c,{depth:C+1,folder:s,isActive:u===s.id&&f===S}))),D)},pn=function(e){var t=e.folders,n=e.folderTree,i=e.id,o=e.items,a=e.openFolders,s=e.root,c=e.showItems,u=xe()(Ut,Object(r.a)({},zt,_e()(a).call(a,"root")));return Se.a.createElement("div",{id:"".concat(i,"-qbf-root"),className:u},s&&Se.a.createElement(vn,e),Object(ke.compose)(Object(ke.map)(function(t){return Se.a.createElement(hn,{key:t.id,props:e,folder:t})}),Object(ke.map)(Object(ke.assoc)("treeType","folder")))(n),c&&Object(ke.compose)(Object(ke.map)(function(t){return Se.a.createElement(hn,{key:t.id,props:e,folder:t})}),Object(ke.map)(Object(ke.assoc)("treeType","item")),function(e){var t=We(e,Object(ke.pluck)("id"));return Object(ke.compose)(Object(ke.map)(Object(ke.assoc)("treeType","item")),Object(ke.filter)(function(e){return null===e.folderId||!Object(ke.contains)(e.folderId,t)}))}(t))(o))},mn=function(e){var t=e.activeMenu,n=e.category,i=e.depth,o=e.folder,a=o.deleted,s=o.effectiveRole,c=o.id,u=o.type,l=e.isActive,d=e.menu,f=e.setActiveMenu,h=xe()(Wt,Object(r.a)({},en,l)),p=null===c?"root":c,m=Object(Ee.useCallback)(function(){return f(qe(qe({},t),{},Object(r.a)({},p,!1)))},[t,p,f]),v=Object(Ee.useCallback)(function(){return f(qe(qe({},t),{},Object(r.a)({},p,!0)))},[t,p,f]);return Se.a.createElement("div",{className:h},Se.a.createElement(d,{category:n,className:Yt,depth:i,effectiveRole:s,id:c,isDeleted:a,onClose:m,onOpen:v,type:u}))},vn=function(e){var t,n=e.active,i=e.activeClassName,o=e.activeMenu,a=e.activeType,s=e.className,c=e.folders,u=e.items,l=e.onFolderClick,d=e.root,f=e.rootMenu,h=e.showItems,p=e.type,m=d.id,v=d.title,g=d.icon,y=Object(Ee.useCallback)(function(){return l(d)},[l,d]),b=n===m&&a===p,_={className:xe()(qt,s,(t={},Object(r.a)(t,Gt,b),Object(r.a)(t,$t,Object(ke.isEmpty)(c)),Object(r.a)(t,i,b),Object(r.a)(t,Kt,Boolean(o[d.id||"root"])),t)),onClick:y,onKeyPress:It(y),role:"button",tabIndex:"0"};return Se.a.createElement("div",_,Se.a.createElement(fn,{props:e,folder:{id:"root",subfolders:c},containedItems:h?an(m)(u):[]}),g&&Se.a.createElement("div",{className:Ht},g),Se.a.createElement("div",{className:Zt},Se.a.createElement("div",{className:Jt},v)),f&&Se.a.createElement(mn,le()({},e,{depth:0,menu:f,folder:d,isActive:b})))};(function(e){var t=e.id,n=e.active,r=e.deleted,i=e.folders,o=e.initialFolders,a=e.openToActive,s=e.reportOpenFolders,c=e.type,u=e.viewingTree,l=Object(Ee.useState)(!1),d=Object(J.a)(l,2),f=d[0],h=d[1],p=Object(Ee.useState)(u?o:[]),m=Object(J.a)(p,2),v=m[0],g=m[1],y=Object(Ee.useState)({}),b=Object(J.a)(y,2),_=b[0],w=b[1],x=Ke(i);Object(Ee.useEffect)(function(){s(r?"deleted":c,v)},[r,v,s,c]);var k=a?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=Object(ke.find)(Object(ke.propEq)("id",t),n);return void 0===o?[]:e(o.parentId,n,ce()(r=[o]).call(r,Object(ae.a)(i)))}(n,i):[];Object(Ee.useEffect)(function(){h(!1)},[n]),Object(Ee.useEffect)(function(){a&&!f&&(Object(ke.compose)(g,ke.flatten,Object(ke.flip)(ke.append)(v),ke.init,Object(ke.pluck)("id"))(k),h(!0))},[a,f,t,v,k]);var E=qe(qe({},e),{},{activeMenu:_,folders:i,folderTree:x,openFolders:v,setActiveMenu:w,setOpenFolders:g});return Se.a.createElement("div",{className:Ft},Se.a.createElement(pn,E))}).defaultProps={initialFolders:["root"],items:[],openToActive:!1,reportOpenFolders:function(){},showItems:!1,viewingTree:!0};var gn=function(e){return Se.a.createElement(Qe,le()({},e,{viewBox:"0 0 10 10"}),Se.a.createElement("g",{fillRule:"evenodd"},Se.a.createElement("path",{d:"M0 4.107h10v2H0z"}),Se.a.createElement("path",{d:"M4 0h2v10H4z"})))};gn.defaultProps={width:"10",height:"10"};it(".FoldersList_wrap__848156f2{margin-bottom:2.5rem}.FoldersList_label__848156f2{color:#6a737c;display:block;font-size:1.4rem;margin-bottom:1.5rem}.FoldersList_list__848156f2{display:flex;flex-wrap:wrap}.FoldersList_folder__848156f2{align-items:center;-webkit-appearance:none;-moz-appearance:none;appearance:none;background:#fff;border:.1rem solid #c9c9ca;border-radius:.6rem;color:#6a737c;cursor:pointer;display:inline-flex;font-family:Lato,sans-serif;font-size:1.4rem;height:5rem;-webkit-hyphens:auto;-ms-hyphens:auto;hyphens:auto;line-height:1.2;margin:0 1.5rem 1.5rem 0;overflow:hidden;padding:1.7rem 1rem 1.7rem 1.1rem;text-align:left;transition:all .2s;width:18.2rem;word-break:break-word}.FoldersList_folder__848156f2:hover{border-color:#313537;color:#313537}.FoldersList_folder__848156f2:hover svg{fill:#313537}.FoldersList_folderIcon__848156f2{display:inline-block;line-height:0;margin-right:1.1rem}.FoldersList_folderIcon__848156f2 svg{fill:#c9c9ca;transition:fill .2s}.FoldersList_addIcon__848156f2{display:inline-block;line-height:0;margin:0 1.6rem 0 .5rem}.FoldersList_addIcon__848156f2 svg{fill:#c9c9ca;transition:fill .2s}",{prepend:!0});var yn=function(e){return Se.a.createElement(Qe,le()({},e,{viewBox:"0 0 10 12"}),Se.a.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"}))};yn.defaultProps={height:"12",width:"10"};var bn=Object(Ee.memo)(yn),_n="QuestionBanksList_tr__d8f339f3",wn="QuestionBanksList_td__d8f339f3",xn="QuestionBanksList_menu__d8f339f3",kn="QuestionBanksList_tr_Deleted__d8f339f3",En="QuestionBanksList_trActive__d8f339f3",Sn="QuestionBanksList_title__d8f339f3",Tn="QuestionBanksList_titleText__d8f339f3",Cn="QuestionBanksList_editing__d8f339f3",On="QuestionBanksList_editingIcon__d8f339f3",jn="QuestionBanksList_menuTd__d8f339f3",An="QuestionBanksList_menuWrap__d8f339f3";it(".QuestionBanksList_wrap__d8f339f3{margin-bottom:22rem}.QuestionBanksList_label__d8f339f3{color:#6a737c;display:block;font-size:1.4rem;margin-bottom:1.5rem}.QuestionBanksList_table__d8f339f3{border-collapse:collapse;border-spacing:0;color:#313537;table-layout:fixed;width:100%}.QuestionBanksList_thead__d8f339f3{border-radius:.6rem}.QuestionBanksList_th__d8f339f3{font-size:1.4rem;letter-spacing:0}.QuestionBanksList_tr__d8f339f3{cursor:pointer}.QuestionBanksList_tr__d8f339f3:first-child td{border-top:none}.QuestionBanksList_tr__d8f339f3:last-child td{border-bottom:.1rem solid #eee}.QuestionBanksList_tr__d8f339f3:hover .QuestionBanksList_td__d8f339f3{background-color:#eee;border-color:transparent}.QuestionBanksList_tr__d8f339f3:hover+.QuestionBanksList_tr__d8f339f3 .QuestionBanksList_td__d8f339f3{border-top-color:transparent}.QuestionBanksList_tr__d8f339f3:hover .QuestionBanksList_menu__d8f339f3{visibility:visible}.QuestionBanksList_tr_Deleted__d8f339f3{cursor:default}.QuestionBanksList_trActive__d8f339f3 .QuestionBanksList_menu__d8f339f3{visibility:visible;z-index:2}.QuestionBanksList_td__d8f339f3{border-bottom:none;border-top:.1rem solid #eee;font-size:1.4rem;letter-spacing:0;transition:all .2s}.QuestionBanksList_td__d8f339f3:first-child{border-bottom-left-radius:.6rem;border-top-left-radius:.6rem}.QuestionBanksList_td__d8f339f3:last-child{border-bottom-right-radius:.6rem;border-top-right-radius:.6rem}.QuestionBanksList_colTitle__d8f339f3{width:40%}.QuestionBanksList_colQuestions__d8f339f3,.QuestionBanksList_colUpdated__d8f339f3{width:25%}.QuestionBanksList_colMenu__d8f339f3{width:10%}.QuestionBanksList_title__d8f339f3{align-items:center;display:flex}.QuestionBanksList_titleText__d8f339f3{font-weight:700;max-width:45rem;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.QuestionBanksList_editing__d8f339f3{align-items:center;color:#6a737c;display:inline-flex;font-size:1.2rem;font-weight:400;letter-spacing:0;margin-left:1.6rem}.QuestionBanksList_editingIcon__d8f339f3{align-items:center;background-color:#d8d8d8;border-radius:50%;display:inline-flex;height:2.1rem;justify-content:center;margin-right:.8rem;width:2.1rem}.QuestionBanksList_editingIcon__d8f339f3 svg{fill:#313537}.QuestionBanksList_menuTd__d8f339f3{padding:1rem 2rem;vertical-align:middle}.QuestionBanksList_menuWrap__d8f339f3{width:3rem}.QuestionBanksList_menu__d8f339f3{display:flex;letter-spacing:0;margin:0!important;visibility:hidden;z-index:1}",{prepend:!0});var Pn={table:"Table_table__657f403a",cellBase:"Table_cellBase__657f403a",cell:"Table_cell__657f403a Table_cellBase__657f403a",thcol:"Table_thcol__657f403a Table_cell__657f403a Table_cellBase__657f403a",thcolSortable:"Table_thcolSortable__657f403a Table_thcol__657f403a Table_cell__657f403a Table_cellBase__657f403a",thcolAsc:"Table_thcolAsc__657f403a Table_thcolSortable__657f403a Table_thcol__657f403a Table_cell__657f403a Table_cellBase__657f403a",thcolDesc:"Table_thcolDesc__657f403a Table_thcolAsc__657f403a Table_thcolSortable__657f403a Table_thcol__657f403a Table_cell__657f403a Table_cellBase__657f403a",thcolHover:"Table_thcolHover__657f403a Table_thcolAsc__657f403a Table_thcolSortable__657f403a Table_thcol__657f403a Table_cell__657f403a Table_cellBase__657f403a",thcolAscHover:"Table_thcolAscHover__657f403a Table_thcolHover__657f403a Table_thcolAsc__657f403a Table_thcolSortable__657f403a Table_thcol__657f403a Table_cell__657f403a Table_cellBase__657f403a",thcolDescHover:"Table_thcolDescHover__657f403a Table_thcolHover__657f403a Table_thcolAsc__657f403a Table_thcolSortable__657f403a Table_thcol__657f403a Table_cell__657f403a Table_cellBase__657f403a",tdBase:"Table_tdBase__657f403a",td:"Table_td__657f403a Table_cell__657f403a Table_cellBase__657f403a Table_tdBase__657f403a"};it('.Table_table__657f403a{border-collapse:collapse;max-width:100%;width:100%}.Table_cellBase__657f403a{color:#313537;letter-spacing:.05rem;padding-left:3rem;text-align:left}.Table_cell__657f403a{padding-bottom:2rem;padding-top:2rem}.Table_thcol__657f403a{background:#fafafa;font-size:1.7rem;font-weight:700;white-space:nowrap}.Table_thcol__657f403a:first-child{border-radius:.6rem 0 0 .6rem}.Table_thcol__657f403a:last-child{border-radius:0 .6rem .6rem 0}@media (max-width:1140px){.Table_thcol__657f403a:first-child,.Table_thcol__657f403a:last-child{border-radius:0}}@media (max-width:500px){.Table_thcol__657f403a{font-size:1.5rem}}.Table_thcolSortable__657f403a{cursor:pointer;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.Table_thcolSortable__657f403a:after{border-color:transparent;border-style:none solid solid;border-width:.6rem .5rem;content:"";display:inline-block;height:0;margin:0 0 0 .5em;vertical-align:calc(1ex - .6rem);width:0}.Table_thcolAsc__657f403a:after{border-bottom-color:#8894a3}.Table_thcolDesc__657f403a:after{transform:rotate(180deg)}.Table_thcolHover__657f403a:after{border-bottom-color:#d7dadf}.Table_thcolDescHover__657f403a:after{transform:rotate(180deg)}.Table_tdBase__657f403a{border-bottom:.1rem solid #eee;font-size:1.5rem;font-weight:400}@media (max-width:500px){.Table_tdBase__657f403a{font-size:1.4rem}}',{prepend:!0});var Mn=[1,2],Nn=Object(ke.prop)("sortable"),Ln=Object(ke.both)(Nn,Object(ke.propEq)("sortDirection",1)),In=Object(ke.both)(Nn,Object(ke.propEq)("sortDirection",2)),Dn=Object(ke.both)(Nn,Object(ke.compose)(Object(ke.prop)("hover"),Object(ke.nthArg)(1))),Rn=Object(ke.pipe)(Object(ke.cond)([[Object(ke.both)(Dn,Ln),Object(ke.always)("thcolAscHover")],[Object(ke.both)(Dn,In),Object(ke.always)("thcolDescHover")],[Dn,Object(ke.always)("thcolHover")],[Ln,Object(ke.always)("thcolAsc")],[In,Object(ke.always)("thcolDesc")],[Nn,Object(ke.always)("thcolSortable")],[ke.T,Object(ke.always)("thcol")]]),Object(ke.prop)(ke.__,Pn)),Bn=Object(ke.cond)([[Ln,Object(ke.always)("ascending")],[In,Object(ke.always)("descending")],[ke.T,Object(ke.always)("none")]]),Fn=Object(ke.pipe)(Object(ke.indexOf)(ke.__,Mn),Object(ke.ifElse)(Object(ke.equals)(Mn.length-1),Object(ke.always)(0),ke.inc),Object(ke.prop)(ke.__,Mn)),Un=Object(ke.omit)(["onSort","sortable","sortDirection","sortKey","className"]),qn=(Ee.Component,function(e){return Se.a.createElement("td",le()({className:xe()(Pn.td,e.className)},Object(ke.omit)(["className"],e)))}),zn=function(e){Object(re.a)(n,e);var t=Ve(n);function n(){var e,r;Object(te.a)(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(Object(ee.a)(r)),r.onMouseEnterDelegate=r.onMouseEnter.bind(Object(ee.a)(r)),r.onMouseLeaveDelegate=r.onMouseLeave.bind(Object(ee.a)(r)),r}return Object(ne.a)(n,[{key:"componentWillReceiveProps",value:function(e){var t=e.sortDirection,n=this.props.sortDirection,r=this.state.hover;this.setState({hover:r&&n===t})}},{key:"onClick",value:function(){var e=this.props,t=e.sortKey,n=e.sortDirection,r=e.onSort,i=Fn(n);r(0===i?0:t|i)}},{key:"onMouse",value:function(e){this.setState({hover:e})}},{key:"render",value:function(){var e,t=this.props,n=t.sortable,r=t.className;return Se.a.createElement("th",le()({"aria-sort":Bn(this.props),className:ce()(e="".concat(Rn(this.props,this.state)," ")).call(e,r),onClick:n?this.onClickDelegate:void 0,onMouseEnter:n?this.onMouseEnterDelegate:void 0,onMouseLeave:n?this.onMouseLeaveDelegate:void 0,role:"columnheader",scope:"col",tabIndex:n?"0":void 0},Un(this.props)))}}]),n}(Ee.Component);zn.defaultProps={sortable:!1,sortDirection:0,onSort:Object(ke.always)()},le()(zn.prototype,{onMouseEnter:Object(ke.partial)(zn.prototype.onMouse,[!0]),onMouseLeave:Object(ke.partial)(zn.prototype.onMouse,[!1])});var Hn=function(e){return Se.a.createElement("tr",e)},Vn=function(){return Se.a.createElement("div",{className:Cn,"data-testid":"editing"},Se.a.createElement("span",{className:On},Se.a.createElement(bn,null)),"Editing")},Wn=function(e){var t=e.deleted,n=e.effectiveRole,r=e.id,i=e.isLocked,o=e.menu,a=e.setActive,s=e.type,c=Object(Ee.useCallback)(function(){return a(null)},[a]),u=Object(Ee.useCallback)(function(){return a(r)},[r,a]);return Se.a.createElement("div",{className:An},Se.a.createElement(o,{className:xn,effectiveRole:n,id:r,isDeleted:t,isLocked:i,onClose:c,onOpen:u,type:s}))},Yn=function(e){var t,n,i=e.active,o=e.getCountLabel,a=e.locks,s=e.menu,c=e.onClick,u=e.index,l=e.row,d=l.deleted,f=l.id,h=l.questions,p=l.title,m=l.updatedAt,v=Object(Ee.useCallback)(function(){return c(l)},[c,l]),g=Object(ke.has)(f,a),y=xe()(_n,(t={},Object(r.a)(t,En,i===f),Object(r.a)(t,kn,d),t));return Se.a.createElement(Hn,{className:y,key:u,onClick:d?null:v},Se.a.createElement(qn,{className:wn},Se.a.createElement("div",{className:Sn},Se.a.createElement("span",{className:Tn},p),g&&Se.a.createElement(Vn,null))),Se.a.createElement(qn,{className:wn},o(h.length)),Se.a.createElement(qn,{className:wn},(n=m,De()(n).format("M/D/YY @ h:mma"))),Se.a.createElement(qn,{className:xe()(wn,jn)},s&&Se.a.createElement(Wn,le()({isLocked:g},e,l))))};Yn.defaultProps={locks:{}};var Gn,Kn=n(137),$n=(n(114),Gn={},Object(r.a)(Gn,Kn.b.FILL_IN_THE_BLANK,"fillin"),Object(r.a)(Gn,Kn.b.MATCHING,"matching"),Object(r.a)(Gn,Kn.b.MULTIPLE_CHOICE,"multiple choice"),Object(r.a)(Gn,Kn.b.MULTIPLE_RESPONSE,"multiple response"),Gn),Xn=function(e){var t=e.drawCount,n=e.questions,r=e.drawnQuestions,i=void 0===r?[]:r;if(i.length===t)return null;return u()(s()("index",function(e){return h()(m()("id",e.id),n)}),function(e){return e[Math.floor(Math.random()*e.length)]},P()(j()(b()(g.a)(i),"id")))(n)}},,function(e,t,n){"use strict";(function(e){var r=n(3),i=n.n(r),o=n(19),a=n(9),s=n(10),c=n(11),u=n(13),l=n(5),d=n(225),f=n.n(d),h=n(28),p=n.n(h),m=n(110);function v(e){var t=function(){if("undefined"==typeof Reflect||!i.a)return!1;if(i.a.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=Object(l.a)(e);if(t){var o=Object(l.a)(this).constructor;n=i()(r,arguments,o)}else n=r.apply(this,arguments);return Object(u.a)(this,n)}}var g=function(t){Object(c.a)(r,t);var n=v(r);function r(){return Object(a.a)(this,r),n.apply(this,arguments)}return Object(s.a)(r,[{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 t=this,n=this.props,r=n.childProps,i=n.component,a=f()("component",this.props);return e.createElement(m.a,Object(o.a)({},a,{render:function(n){var o=n.match,a=p()(r,{match:o,ref:function(e){return t.child=e}});return e.createElement(i,a)}}))}}]),r}(e.Component);t.a=g}).call(this,n(0))},function(e,t,n){
/** @license ISC License (c) copyright 2016 original and current authors */
var r=n(115),i=n(83);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)})},,function(e,t,n){"use strict";var r=n(121);e.exports=function(e,t){var n=[][e];return!!n&&r(function(){n.call(null,t||function(){throw 1},1)})}},function(e,t,n){var r=n(175),i=n(792),o=n(336),a=n(796),s=n(1852),c=n(572),u=r(function(e,t){return o(c(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=u},function(e,t,n){(function(t){var n="Expected a function",r=NaN,i="[object Symbol]",o=/^\s+|\s+$/g,a=/^[-+]0x[0-9a-f]+$/i,s=/^0b[01]+$/i,c=/^0o[0-7]+$/i,u=parseInt,l="object"==typeof t&&t&&t.Object===Object&&t,d="object"==typeof self&&self&&self.Object===Object&&self,f=l||d||Function("return this")(),h=Object.prototype.toString,p=Math.max,m=Math.min,v=function(){return f.Date.now()};function g(e,t,r){var i,o,a,s,c,u,l=0,d=!1,f=!1,h=!0;if("function"!=typeof e)throw new TypeError(n);function g(t){var n=i,r=o;return i=o=void 0,l=t,s=e.apply(r,n)}function _(e){var n=e-u;return void 0===u||n>=t||n<0||f&&e-l>=a}function w(){var e=v();if(_(e))return x(e);c=setTimeout(w,function(e){var n=t-(e-u);return f?m(n,a-(e-l)):n}(e))}function x(e){return c=void 0,h&&i?g(e):(i=o=void 0,s)}function k(){var e=v(),n=_(e);if(i=arguments,o=this,u=e,n){if(void 0===c)return function(e){return l=e,c=setTimeout(w,t),d?g(e):s}(u);if(f)return c=setTimeout(w,t),g(u)}return void 0===c&&(c=setTimeout(w,t)),s}return t=b(t)||0,y(r)&&(d=!!r.leading,a=(f="maxWait"in r)?p(b(r.maxWait)||0,t):a,h="trailing"in r?!!r.trailing:h),k.cancel=function(){void 0!==c&&clearTimeout(c),l=0,i=u=o=c=void 0},k.flush=function(){return void 0===c?s:x(v())},k}function y(e){var t=typeof e;return!!e&&("object"==t||"function"==t)}function b(e){if("number"==typeof e)return e;if(function(e){return"symbol"==typeof e||function(e){return!!e&&"object"==typeof e}(e)&&h.call(e)==i}(e))return r;if(y(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=y(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=e.replace(o,"");var n=s.test(e);return n||c.test(e)?u(e.slice(2),n?2:8):a.test(e)?r:+e}e.exports=function(e,t,r){var i=!0,o=!0;if("function"!=typeof e)throw new TypeError(n);return y(r)&&(i="leading"in r?!!r.leading:i,o="trailing"in r?!!r.trailing:o),g(e,t,{leading:i,maxWait:t,trailing:o})}}).call(this,n(96))},function(e,t,n){
/** @license ISC License (c) copyright 2017 original and current authors */
var r=n(217);e.exports=function(e){return!!e&&r("contramap",e)}},function(e,t,n){},function(e,t,n){var r=n(122),i=n(419),o="".split;e.exports=r(function(){return!Object("z").propertyIsEnumerable(0)})?function(e){return"String"==i(e)?o.call(e,""):Object(e)}:Object},function(e,t,n){var r=n(1082)("keys"),i=n(1083);e.exports=function(e){return r[e]||(r[e]=i(e))}},function(e,t,n){var r=n(340),i=n(184),o=n(574);e.exports=function(e){return function(t,n,a){var s,c=r(t),u=i(c.length),l=o(a,u);if(e&&n!=n){for(;u>l;)if((s=c[l++])!=s)return!0}else for(;u>l;l++)if((e||l in c)&&c[l]===n)return e||l||0;return!e&&-1}}},function(e,t){t.f=Object.getOwnPropertySymbols},function(e,t,n){var r=n(176)("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}},function(e,t,n){var r=n(419),i=n(176)("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}},function(e,t,n){"use strict";var r=n(340),i=n(575),o=n(1088),a=n(381),s=n(2164),c=a.set,u=a.getterFor("Array Iterator");e.exports=s(Array,"Array",function(e,t){c(this,{type:"Array Iterator",target:r(e),index:0,kind:t})},function(){var e=u(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")},function(e,t,n){"use strict";var r=n(122);e.exports=function(e,t){var n=[][e];return!n||!r(function(){n.call(null,t||function(){throw 1},1)})}},function(e,t,n){"use strict";var r=n(126),i=n(1085),o=n(47),a=n(341),s=n(663),c=n(1092),u=n(577),l=n(158),d=n(122),f=n(1207),h=n(455),p=n(2168);e.exports=function(e,t,n,m,v){var g=r[e],y=g&&g.prototype,b=g,_=m?"set":"add",w={},x=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,E=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){u(t,b,e);var r=p(new g,t,b);return null!=n&&c(n,r[_],r,m),r})).prototype=y,y.constructor=b),(S||C)&&(x("delete"),x("has"),m&&x("get")),(C||E)&&x(_),v&&y.clear&&delete y.clear}return w[e]=b,o({global:!0,forced:b!=g},w),h(b,e),v||n.setStrong(b,e,m),b}},function(e,t){var n=Math.expm1;e.exports=!n||n(10)>22025.465794806718||n(10)<22025.465794806718||-2e-17!=n(-2e-17)?function(e){return 0==(e=+e)?e:e>-1e-6&&e<1e-6?e+e*e/2:Math.exp(e)-1}:n},function(e,t){e.exports="\t\n\v\f\r                　\u2028\u2029\ufeff"},function(e,t,n){"use strict";e.exports=n(658)||!n(122)(function(){var e=Math.random();__defineSetter__.call(null,e,function(){}),delete n(126)[e]})},function(e,t,n){"use strict";var r=n(167);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}},function(e,t,n){"use strict";var r,i,o=n(1215),a=RegExp.prototype.exec,s=String.prototype.replace,c=a,u=(r=/a/,i=/b*/g,a.call(r,"a"),a.call(i,"a"),0!==r.lastIndex||0!==i.lastIndex),l=void 0!==/()??/.exec("")[1];(u||l)&&(c=function(e){var t,n,r,i,c=this;return l&&(n=new RegExp("^"+c.source+"$(?!\\s)",o.call(c))),u&&(t=c.lastIndex),r=a.call(c,e),u&&r&&(c.lastIndex=c.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=c},function(e,t,n){var r=n(382),i=n(380);e.exports=function(e,t,n){var o,a,s=String(i(e)),c=r(t),u=s.length;return c<0||c>=u?n?"":void 0:(o=s.charCodeAt(c))<55296||o>56319||c+1===u||(a=s.charCodeAt(c+1))<56320||a>57343?n?s.charAt(c):o:n?s.slice(c,c+2):a-56320+(o-55296<<10)+65536}},function(e,t,n){var r=n(419),i=n(1216);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)}},function(e,t,n){"use strict";var r=n(311),i=n(341),o=n(122),a=n(176),s=n(1216),c=a("species"),u=!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),h=!o(function(){var t={};return t[f]=function(){return 7},7!=""[e](t)}),p=h&&!o(function(){var t=!1,n=/a/;return n.exec=function(){return t=!0,null},"split"===e&&(n.constructor={},n.constructor[c]=function(){return n}),n[f](""),!t});if(!h||!p||"replace"===e&&!u||"split"===e&&!l){var m=/./[f],v=n(f,""[e],function(e,t,n,r,i){return t.exec===s?h&&!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)}}},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(1093)),o=s(n(2240)),a=s(n(2182));function s(e){return e&&e.__esModule?e:{default:e}}var c={},u=void 0;t.default={unmount:function(){c={}},register:function(e,t){c[e]=t},unregister:function(e){delete c[e]},get:function(e){return c[e]||document.getElementById(e)||document.getElementsByName(e)[0]||document.getElementsByClassName(e)[0]},setActiveLink:function(e){return u=e},getActiveLink:function(){return u},scrollTo:function(e,t){var n=this.get(e);if(n){var s=(t=r({},t,{absolute:!1})).containerId,c=t.container,u=void 0;u=s?document.getElementById(s):c&&c.nodeType?c:document,a.default.registered.begin&&a.default.registered.begin(e,n),t.absolute=!0;var l=i.default.scrollOffset(u,n)+(t.offset||0);if(!t.smooth)return u===document?window.scrollTo(0,l):u.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")}}},function(e,t,n){e.exports=n(2606)()},function(e,t,n){"use strict";(function(e){n.d(t,"a",function(){return o});var r=n(19),i=n(131);function o(t){return e.createElement(i.a,Object(r.a)({height:"6",width:"10",viewBox:"0 0 10 6"},t),e.createElement("path",{d:"M9 1L5 5L1 1",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2"}))}}).call(this,n(0))},function(e,t,n){"use strict";(function(e){function r(t){var n=t.className;return e.createElement("svg",{"aria-hidden":"true",className:n,fill:"none",focusable:"false",viewBox:"0 0 13 13",xmlns:"http://www.w3.org/2000/svg"},e.createElement("path",{d:"M3.33177 4.1487L6.48034 1.00013M9.6289 4.14869L6.48034 1.00013M6.48034 1.00013L6.47966 11.9601"}))}n.d(t,"a",function(){return r})}).call(this,n(0))},function(e,t,n){"use strict";(function(e){n.d(t,"a",function(){return o});var r=n(19),i=n(131);function o(t){return e.createElement(i.a,Object(r.a)({width:"14",height:"8",viewBox:"0 0 14 8"},t),e.createElement("path",{clipRule:"evenodd",d:"M13 1L7 7L1 1",stroke:"currentColor"}))}}).call(this,n(0))},function(e,t,n){"use strict";(function(e){n.d(t,"a",function(){return o});var r=n(19),i=n(131);function o(t){return e.createElement(i.a,Object(r.a)({height:"8",width:"12",viewBox:"0 0 12 8"},t),e.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"}))}}).call(this,n(0))},function(e,t,n){var r=n(256);e.exports=function(e){return null!=e&&"object"===r(e)&&!0===e["@@functional/placeholder"]}},function(e,t){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,c){return t.apply(this,arguments)};case 9:return function(e,n,r,i,o,a,s,c,u){return t.apply(this,arguments)};case 10:return function(e,n,r,i,o,a,s,c,u,l){return t.apply(this,arguments)};default:throw new Error("First argument to _arity must be a non-negative integer no greater than ten")}}},function(e,t){e.exports=function(e,t){return Object.prototype.hasOwnProperty.call(t,e)}},function(e,t,n){var r=n(52),i=n(520),o=n(1228),a=n(2676),s=!{toString:null}.propertyIsEnumerable("toString"),c=["constructor","valueOf","isPrototypeOf","toString","propertyIsEnumerable","hasOwnProperty","toLocaleString"],u=function(){"use strict";return arguments.propertyIsEnumerable("length")}(),l=function(e,t){for(var n=0;n<e.length;){if(e[n]===t)return!0;n+=1}return!1},d=i("function"!=typeof r||u?function(e){if(Object(e)!==e)return[];var t,n,r=[],i=u&&a(e);for(t in e)!o(t,e)||i&&"length"===t||(r[r.length]=t);if(s)for(n=c.length-1;n>=0;)o(t=c[n],e)&&!l(r,t)&&(r[r.length]=t),n-=1;return r}:function(e){return Object(e)!==e?[]:r(e)});e.exports=d},,,,,function(e,t,n){"use strict";e.exports=function(e,t,n,r,i,o,a,s){if(!e){var c;if(void 0===t)c=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var u=[n,r,i,o,a,s],l=0;(c=new Error(t.replace(/%s/g,function(){return u[l++]}))).name="Invariant Violation"}throw c.framesToPop=1,c}}},function(e,t,n){e.exports=n(2612)},function(e,t,n){"use strict";var r=n(0),i=n.n(r),o=n(2380);t.a=function(e){var t=e.className,n=e.cx,a=e.cy,s=e.diameter,c=e.onTransitionEnd,u=e.r,l=e.strokeLinecap,d=e.strokeWidth,f=e.transform,h=e.value,p=void 0===h?0:h,m=Object(r.useRef)(),v=Math.PI*(Number(s)-Number(d)),g=v*(100-p)/100,y=Object(r.useCallback)(function(){100===p&&c()},[c,p]);return Object(o.a)("transitionend",y,m.current),i.a.createElement("circle",{className:t,cx:n,cy:a,fill:"transparent",r:u,ref:m,strokeDasharray:v,strokeDashoffset:g,strokeLinecap:l,strokeWidth:d,transform:f})}},function(e,t,n){"use strict";n.d(t,"a",function(){return f});var r=n(57),i=n.n(r),o=n(91),a=n.n(o),s=n(27),c=n.n(s),u=n(67),l=function(e){return c()("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 Object(u.h)({id:n,updateFn:d({blockId:t,lessonId:n,itemId:r,playheadPercentage:i})})}},function(e,t,n){"use strict";n.d(t,"a",function(){return b});var r=n(3),i=n.n(r),o=n(9),a=n(10),s=n(6),c=n(11),u=n(13),l=n(5),d=n(4),f=n.n(d),h=n(0),p=n.n(h),m=n(149),v=n.n(m),g=n(1191);function y(e){var t=function(){if("undefined"==typeof Reflect||!i.a)return!1;if(i.a.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=Object(l.a)(e);if(t){var o=Object(l.a)(this).constructor;n=i()(r,arguments,o)}else n=r.apply(this,arguments);return Object(u.a)(this,n)}}var b=function(e){Object(c.a)(n,e);var t=y(n);function n(){var e,r;Object(o.a)(this,n);for(var i=arguments.length,a=new Array(i),c=0;c<i;c++)a[c]=arguments[c];return(r=t.call.apply(t,f()(e=[this]).call(e,a))).wrapRef=Object(h.createRef)(),r.check=r.check.bind(Object(s.a)(r)),r.onScroll=v()(r.check,100),r}return Object(a.a)(n,[{key:"componentDidMount",value:function(){this.scrollableContainer=Object(g.a)(),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.a.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&&Object(g.b)(e.current)&&(this.rmScrollListener(),this.props.onViewed())}}]),n}(h.Component)},function(e,t,n){e.exports=n(2644)},function(e,t,n){"use strict";(function(e){var r=n(3),i=n.n(r),o=n(19),a=n(9),s=n(10),c=n(6),u=n(11),l=n(13),d=n(5),f=n(85),h=n(149),p=n.n(h);function m(e){var t=function(){if("undefined"==typeof Reflect||!i.a)return!1;if(i.a.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=Object(d.a)(e);if(t){var o=Object(d.a)(this).constructor;n=i()(r,arguments,o)}else n=r.apply(this,arguments);return Object(l.a)(this,n)}}var v=function(){for(var e=window;e.parent!=e;)e=e.parent;try{e.innerHeight}catch(e){return window}return e};t.a=function(t){return function(n){Object(u.a)(i,n);var r=m(i);function i(e){var t;return Object(a.a)(this,i),(t=r.call(this,e)).state={orientation:{},navigationHidden:{}},t.applySafariLandscapeHack=t.applySafariLandscapeHack.bind(Object(c.a)(t)),t.root=v(),t}return Object(s.a)(i,[{key:"componentDidMount",value:function(){f.a.isIphoneSafari&&(this.applySafariLandscapeHack(),this.root.addEventListener("resize",this.resizeRef=p()(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 e.createElement(t,Object(o.a)({},this.props,{applySafariLandscapeHack:"landscape"===this.state.orientation&&0!==this.state.difference,safariLandscapeHackOffset:this.state.difference}))}}]),i}(e.Component)}}).call(this,n(0))},function(e,t,n){"use strict";n.d(t,"a",function(){return _});var r=n(44),i=n(0),o=n.n(i),a=n(535),s=n(234),c=n.n(s),u=n(318),l=n.n(u),d=n(2),f=n.n(d),h=n(208),p=n(22),m=(n(2662),"".concat(Object(p.c)("CDN_USER_CONTENT_URI"),"/assets/rise/assets/certificate-icon.svg")),v="".concat(Object(p.c)("CDN_USER_CONTENT_URI"),"/assets/rise/assets/error_x.svg"),g="".concat(Object(p.c)("CDN_USER_CONTENT_URI"),"/assets/rise/assets/loading_spinner.svg"),y="ok",b=function(e){var t=e.type,n=Object(i.useState)(function(){return c()("certdownload-")}),s=Object(r.a)(n,1)[0],u=Object(i.useState)(y),d=Object(r.a)(u,2),p=d[0],b=d[1],_=l()(p),w=Object(i.useRef)(),x="".concat(s,"-live"),k=f()("certificateDownload",{certificateDownloadContained:"contained"===t}),E=Object(i.useCallback)(function(){b("downloading")},[]);return Object(i.useEffect)(function(){return"downloading"===p&&"downloading"!==_&&Object(h.b)().then(function(){b(y)}).catch(function(e){Object(a.isCancel)(e)?b(y):b("error")}),function(){Object(h.c)()}},[_,p]),Object(i.useEffect)(function(){w.current&&("error"===p&&"error"!==_||p===y&&("error"===_||"downloading"===_))&&w.current.focus()},[_,p]),o.a.createElement("div",{className:k},o.a.createElement("div",{"aria-live":"polite",id:x,role:"status"},"downloading"===p&&o.a.createElement("span",{className:"certificateDownload__downloading"},o.a.createElement("img",{alt:"",className:"animation-loading certificateDownload__downloadingImg",height:"15",src:g,width:"15"}),"Downloading..."),"error"===p&&o.a.createElement("span",{className:"certificateDownload__error"},o.a.createElement("img",{alt:"Error",className:"certificateDownload__errorImg",height:"15",src:v,width:"15"}),o.a.createElement("span",{className:"visually-hidden"},"Failed to download certificate"))),(p===y||"error"===p)&&o.a.createElement("button",{"aria-controls":x,className:"certificateDownload__btn",onClick:E,ref:w,type:"button"},p===y&&"contained"===t&&o.a.createElement("img",{alt:"",className:"certificateDownload__okImg",height:"15",src:m,width:"15"}),p===y?"Download certificate":"Retry download"))},_=function(){return o.a.createElement(b,{type:"contained"})};t.b=Object(i.memo)(b)},function(e,t,n){"use strict";n.d(t,"a",function(){return s});var r=n(683),i=n(681),o=n(428),a=n(684);function s(e){return Object(r.a)(e)||Object(i.a)(e)||Object(o.a)(e)||Object(a.a)()}},function(e,t,n){"use strict";n.d(t,"a",function(){return s});var r=n(24),i=n.n(r),o=n(23),a=n.n(o),s=function(e,t){var n=i()(["lessons",t],e);return{percentComplete:a()(0,["percentComplete"],n),passedQuiz:i()(["passed"],n)}}},function(e,t,n){"use strict";var r=n(19),i=n(101),o=n(0),a=n.n(o),s=n(2),c=n.n(s),u=n(8),l=n(44),d=n(4),f=n.n(d),h=n(52),p=n.n(h),m=n(36),v=n.n(m),g=n(53),y=n.n(g),b=n(35),_=n.n(b),w=n(38),x=n.n(w),k=n(247),E=n.n(k);function S(e,t){var n=p()(e);if(v.a){var r=v()(e);t&&(r=y()(r).call(r,function(t){return _()(e,t).enumerable})),n.push.apply(n,r)}return n}function T(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){Object(u.a)(e,t,n[t])}):x.a?Object.defineProperties(e,x()(n)):S(Object(n)).forEach(function(t){Object.defineProperty(e,t,_()(n,t))})}return e}var C=function(e){var t,n,r,i,s,c,u,d,h,p,m=e.borderWidth,v=e.checkClassName,g=e.className,y=e.desc,b=e.diameter,_=e.percentComplete,w=e.progressClassName,x=e.progressColor,k=e.title,S=e.trackClassName,C=e.trackColor,j=e.transitionTiming,A=Number(m),P=Number(b),M=Number(_),N=Number(j),L=P/2,I=L-A,D=(Math.PI*I*2).toFixed(3),R=D*(100-M)/100,B=O/P,F=function(e){return e/B},U=Object(o.useState)(E()()),q=Object(l.a)(U,1)[0],z="pc-t-".concat(q),H="pc-d-".concat(q),V={opacity:"0",visibility:"hidden"},W=f()(t="opacity ".concat(N,"s ")).call(t,N,"s"),Y={transition:"none"},G=T(T(T({},{stroke:C,transition:W}),0===M?Y:{}),100===M?V:{}),K=T(T(T({},{stroke:x,transition:f()(n=f()(r="stroke-dashoffset ".concat(N+.1,"s ease-out, fill ")).call(r,N,"s ")).call(n,N,"s")}),0===M?Y:{}),100===M?{fill:x}:{}),$=T(T(T({},{transition:W}),100!==M?V:{}),0===M?Y:{}),X=k||"".concat(M,"% complete");return a.a.createElement("svg",{xmlns:"https://www.w3.org/2000/svg",version:"1.1","aria-labelledby":z,"aria-describedby":H,className:g,focusable:"false",height:P,role:"img",style:{display:"inline-block",verticalAlign:"middle"},width:P},a.a.createElement("title",{id:z},X),a.a.createElement("desc",{id:H},y),a.a.createElement("circle",{className:S,cx:L,cy:L,fill:"transparent",r:I,strokeWidth:A,style:G,transform:f()(i="rotate(-89.9 ".concat(L," ")).call(i,L,")")}),a.a.createElement("circle",{className:w,cx:L,cy:L,fill:"transparent",r:I,strokeDasharray:D,strokeDashoffset:R,strokeWidth:A,style:K,transform:f()(s="rotate(-89.9 ".concat(L," ")).call(s,L,")")}),a.a.createElement("path",{className:v,d:["M".concat(F(8.64)),"0L".concat(F(9.9)),f()(c="".concat(F(1.17),"L")).call(c,F(3.51)),"".concat(F(7.2),"L0"),f()(u="".concat(F(3.87),"L")).call(u,F(1.26)),f()(d="".concat(F(2.7),"l")).call(d,F(2.34)),f()(h="".concat(F(2.16),"L")).call(h,F(8.64)),"0z"].join(","),fill:"#fff",style:$,transform:f()(p="translate(".concat(F(5.5)," ")).call(p,F(7),")")}))};C.displayName="ProgressCircle";var O=21;C.defaultProps={borderWidth:2,desc:"A circle with a colored border representing one's progress.",diameter:O,percentComplete:0,progressColor:"#50abf1",trackColor:"rgba(49, 53, 55, 0.1)",transitionTiming:.3};var j=Object(o.memo)(C),A=n(32),P=["percentComplete","passedQuiz"],M=function(e){var t=e.percentComplete,n=e.passedQuiz,o=Object(i.a)(e,P);if(void 0!==n&&!n)return a.a.createElement(A.J,{"aria-label":"Quiz failed"});var s=c()("brand--stroke brand--fill-opacity",{"brand--fill":100===t});return a.a.createElement(j,Object(r.a)({},o,{desc:"A circle with a colored border representing one's progress through a lesson.",progressClassName:s,percentComplete:t}))};a.a.createElement(M,null).type,t.a=Object(o.memo)(M)},,function(e,t,n){"use strict";(function(e){n.d(t,"a",function(){return T}),n.d(t,"b",function(){return C});var r=n(3),i=n.n(r),o=n(9),a=n(10),s=n(6),c=n(11),u=n(13),l=n(5),d=n(4),f=n.n(d),h=(n(2656),n(130)),p=n(2),m=n.n(p),v=n(1),g=n.n(v),y=n(61),b=n(154),_=n(32),w=n(42),x=n(299),k=n(114);function E(e){var t=function(){if("undefined"==typeof Reflect||!i.a)return!1;if(i.a.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=Object(l.a)(e);if(t){var o=Object(l.a)(this).constructor;n=i()(r,arguments,o)}else n=r.apply(this,arguments);return Object(u.a)(this,n)}}var S=y.a.learn.course.lesson,T=function(t){var n=t.courseFinishLabel,r=t.onNextClick;return e.createElement("div",{className:"next-lesson brand--linkColorHover"},e.createElement(h.b,{className:"next-lesson__link",onClick:r,to:"/lessons/progress-summary"},e.createElement("div",{className:"next-lesson__name brand--ui"},n),e.createElement("div",{className:"brand--ui next-lesson__arrow"},e.createElement(_.f,null))))},C=function(t){Object(c.a)(r,t);var n=E(r);function r(){var e,t;Object(o.a)(this,r);for(var i=arguments.length,a=new Array(i),c=0;c<i;c++)a[c]=arguments[c];return(t=n.call.apply(n,f()(e=[this]).call(e,a))).onKeyBlur=t.handleKeyboardFocus.bind(Object(s.a)(t),!1),t.onKeyFocus=t.handleKeyboardFocus.bind(Object(s.a)(t),!0),t.onMouseEnter=t.handleMouseHover.bind(Object(s.a)(t),!0),t.onMouseLeave=t.handleMouseHover.bind(Object(s.a)(t),!1),t.state={hasFocus:!1},t}return Object(a.a)(r,[{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 t=this.props,n=t.allowTooltip,r=t.next,i=t.nextTitle,o=t.nextNumber,a=t.onNextClick,s=t.restrictions,c=t.isContinue,u=t.isLesson,l=t.labels,d=t.type,p=s.isRestricted,v=l.lessonName,g=l.quizContinue,y=this.state.hasFocus,k=m()("next-lesson","brand--linkColorHover",{"next-lesson--restricted":p,"next-lesson--map":"map"===d}),E=e.createElement(w.a,{className:"next-lesson__name--inline",value:i});if(p){var T,C,O=Object(b.a)({labels:l,restrictions:s}),j=u&&!c,A=c?g:E,P=m()("runtime-tooltip",{"runtime-tooltip--show":n&&y});return e.createElement(x.a,{className:P},e.createElement("div",{className:k},e.createElement("span",{"aria-disabled":"true","aria-label":f()(T="The ".concat(i," lesson is currently unavailable: ")).call(T,O),className:"next-lesson__link",onBlur:this.onKeyBlur,onFocus:this.onKeyFocus,onMouseEnter:this.onMouseEnter,onMouseLeave:this.onMouseLeave,role:"link",tabIndex:"0"},e.createElement("div",{className:"next-lesson__name brand--ui"},j?f()(C="".concat(v," ")).call(C,o," - "):""," ",A),e.createElement("div",{className:"brand--ui next-lesson__arrow"},e.createElement(_.f,null)))),e.createElement(x.b,{"aria-hidden":"true",side:"top"},O))}if(i||c){var M,N=u&&!c,L=c?g:E;return e.createElement("div",{className:k,"data-ba":S.nextLessonLink},e.createElement(h.b,{className:"next-lesson__link",to:"/lessons/"+encodeURIComponent(r),onClick:a},e.createElement("div",{className:"next-lesson__name brand--ui"},N?f()(M="".concat(v," ")).call(M,o," - "):""," ",L),e.createElement("div",{className:"brand--ui next-lesson__arrow"},e.createElement(_.f,null))))}return e.createElement("div",null)}}],[{key:"defaultProps",get:function(){return{onMouse:k.b}}},{key:"propTypes",get:function(){return{isContinue:g.a.bool,next:g.a.any.isRequired,nextTitle:g.a.string}}}]),r}(e.Component)}).call(this,n(0))},function(e,t,n){"use strict";(function(e){n.d(t,"c",function(){return y}),n.d(t,"b",function(){return b}),n.d(t,"a",function(){return _});var r=n(3),i=n.n(r),o=n(19),a=n(8),s=n(9),c=n(10),u=n(11),l=n(13),d=n(5),f=(n(2725),n(2)),h=n.n(f),p=n(61),m=n(85);function v(e){var t=function(){if("undefined"==typeof Reflect||!i.a)return!1;if(i.a.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=Object(d.a)(e);if(t){var o=Object(d.a)(this).constructor;n=i()(r,arguments,o)}else n=r.apply(this,arguments);return Object(l.a)(this,n)}}var g=p.a.learn.course.lesson,y=function(t){Object(u.a)(r,t);var n=v(r);function r(){return Object(s.a)(this,r),n.apply(this,arguments)}return Object(c.a)(r,[{key:"render",value:function(){var t=this.props,n=t.className,r=t.children;return e.createElement("div",{className:n,"data-ba":g.container,"data-lesson":!0,ref:this.props.contentRef},r)}}]),r}(e.Component),b=function(t){var n=t.children,r=t.hidden,i=t.id,s=t.label,c="".concat("lesson__sidebar","--safari"),u={className:h()("lesson__sidebar",Object(a.a)({},c,m.a.isSafari)),id:i};return e.createElement("section",Object(o.a)({"aria-hidden":r,"aria-label":s,"data-lesson-side":!0},u),n)},_=function(t){Object(u.a)(r,t);var n=v(r);function r(){return Object(s.a)(this,r),n.apply(this,arguments)}return Object(c.a)(r,[{key:"render",value:function(){var t=this.props.onMobileMenuActiveClick;return e.createElement("div",{className:"lesson__content",onClick:t},this.props.children)}}]),r}(e.Component)}).call(this,n(0))},function(e,t,n){"use strict";n.r(t),n.d(t,"components",function(){return r}),n.d(t,"icons",function(){return i});var r={};n.r(r),n.d(r,"CoverHeader",function(){return w}),n.d(r,"LessonHeader",function(){return x.a}),n.d(r,"LessonNavNext",function(){return L}),n.d(r,"LessonNavPrevious",function(){return B}),n.d(r,"LessonProgressCircle",function(){return W}),n.d(r,"Progress",function(){return Y.a}),n.d(r,"CoverAction",function(){return G}),n.d(r,"CoverAuthors",function(){return K}),n.d(r,"CoverDetailsContentHeading",function(){return $}),n.d(r,"CoverTitle",function(){return X}),n.d(r,"NavCompactHeaderCounter",function(){return Q}),n.d(r,"NavCompactHeaderProgress",function(){return Z}),n.d(r,"NavCompactOutline",function(){return J}),n.d(r,"NavSidebarHeaderProgress",function(){return ee}),n.d(r,"NavSidebarOutline",function(){return te}),n.d(r,"NavSidebarSearch",function(){return ne}),n.d(r,"OverviewListItem",function(){return re}),n.d(r,"OverviewListSectionTitle",function(){return ie});var i={};n.r(i),n.d(i,"ArrowDown",function(){return P.a}),n.d(i,"ArrowUp",function(){return I.a}),n.d(i,"AlignLeft",function(){return oe.a}),n.d(i,"ChevronDown",function(){return ae.a}),n.d(i,"ChevronelDown",function(){return ae.a}),n.d(i,"ChevronUp",function(){return se.a}),n.d(i,"QuestionBox",function(){return ce.a}),n.d(i,"Search",function(){return ue.a}),n.d(i,"ToggleDown",function(){return le.a}),n.d(i,"Touch",function(){return de.a}),n.d(i,"VideoCamera",function(){return fe.a}),n.d(i,"X",function(){return he.a});n(2620);var o=n(376),a=n(272),s=n(387),c=n(328),u=n(745),l=n(728),d=n(273),f=n(0),h=n.n(f),p=n(274),m=n(270),v=function(){return h.a.createElement(h.a.Fragment,null,h.a.createElement(u.a,null,h.a.createElement(d.a,null,h.a.createElement(s.a,null),h.a.createElement(p.a,null),h.a.createElement(a.a,null))))},g=function(){return h.a.createElement(h.a.Fragment,null,h.a.createElement(c.a,null,h.a.createElement(d.a,null,h.a.createElement(s.a,null),h.a.createElement(p.a,null),h.a.createElement(a.a,null))))},y=function(){return h.a.createElement(h.a.Fragment,null,h.a.createElement(l.a,null),h.a.createElement(c.a,null,h.a.createElement(d.a,null,h.a.createElement(s.a,null),h.a.createElement(p.a,null),h.a.createElement(a.a,null))))},b=function(){return h.a.createElement(h.a.Fragment,null,h.a.createElement(c.a,null,h.a.createElement(d.a,null,h.a.createElement(s.a,null),h.a.createElement(p.a,null),h.a.createElement(a.a,null))),h.a.createElement(l.a,null))};function _(e){switch(Object(m.a)(480)?"".concat(e.coverPageType,"_MOBILE"):e.coverPageType){default:case"LEFT_OVERLAY":case"CENTERED_OVERLAY":case"CENTERED_OVERLAY_MOBILE":case"SPLIT_LEFT_IMAGE_MOBILE":case"SPLIT_RIGHT_IMAGE_MOBILE":case"TWO_THIRDS_LEFT_IMAGE_MOBILE":case"TWO_THIRDS_RIGHT_IMAGE_MOBILE":return h.a.createElement(v,e);case"LEFT":case"LEFT_MOBILE":case"CENTERED":case"CENTERED_MOBILE":return h.a.createElement(g,e);case"SPLIT_LEFT_IMAGE":case"TWO_THIRDS_LEFT_IMAGE":return h.a.createElement(b,e);case"SPLIT_RIGHT_IMAGE":case"TWO_THIRDS_RIGHT_IMAGE":return h.a.createElement(y,e)}}function w(e){return h.a.createElement("div",{className:"cover__header"},h.a.createElement(_,e))}var x=n(2243),k=n(4),E=n.n(k),S=n(99),T=n(113),C=n(192),O=n(266),j=n(744),A=Object(j.a)("LessonNav"),P=n(738),M=function(e){var t=e["aria-hidden"],n=e["aria-label"],r=e.className,i=e.desc,o=e.height,a=void 0===o?"16":o,s=e.role,c=void 0===s?"img":s,u=e.title,l=e.width,d=void 0===l?"15":l;return h.a.createElement("svg",{"aria-hidden":t,"aria-label":n,className:r,fill:"none",focusable:"false",height:a,role:c,viewBox:"0 0 15 16",width:d,xmlns:"http://www.w3.org/2000/svg"},u&&h.a.createElement("title",null,u),i&&h.a.createElement("desc",null,i),h.a.createElement("path",{d:"M2 8L7.65685 13.6569L13.3137 8",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2"}))},N=Object(O.a)("lesson-nav");function L(e){var t,n,r=e.allowTooltip,i=e.buttonNavigationStyle,o=e.buttonScheme,a=e.color,s=e.lessonNameLabel,c=e.nextLesson,u=e.nextLessonNumber,l=e.restrictionData,d=e.restrictionType,f=null==c?void 0:c.id,p="FLOATING"===i,m=Object(C.b)(c)&&f,v=(null==c?void 0:c.title)||"",g=o===S.a.ACCENT,y=o===S.a.TINT,b=y?Object(T.a)(a):a,_=p?P.a:M,w=m?E()(t="".concat(s," ")).call(t,u," - "):"",x=p?"Next ".concat(s):E()(n="".concat(w)).call(n,v),k={color:b,backgroundColor:y&&!p?a:null},O={backgroundColor:p&&(y||g)?a:null};return h.a.createElement(A,{allowTooltip:r,direction:"next",isFloating:p,linkStyles:O,navLessonId:f,restrictionData:l,restrictionType:d,wrapStyles:k},h.a.createElement("span",{className:N("link-text").mix("brand--ui")},x),h.a.createElement(_,null))}var I=n(739),D=function(e){var t=e["aria-hidden"],n=e["aria-label"],r=e.className,i=e.desc,o=e.height,a=void 0===o?"16":o,s=e.role,c=void 0===s?"img":s,u=e.title,l=e.width,d=void 0===l?"15":l;return h.a.createElement("svg",{"aria-hidden":t,"aria-label":n,className:r,fill:"none",focusable:"false",height:a,role:c,viewBox:"0 0 15 16",width:d,xmlns:"http://www.w3.org/2000/svg"},u&&h.a.createElement("title",null,u),i&&h.a.createElement("desc",null,i),h.a.createElement("path",{d:"M2 8L7.65685 2.34315L13.3137 8",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2"}))},R=Object(O.a)("lesson-nav");function B(e){var t,n,r=e.allowTooltip,i=e.buttonNavigationStyle,o=e.buttonScheme,a=e.color,s=e.courseHomeLabel,c=e.lessonNameLabel,u=e.previousLesson,l=e.previousLessonNumber,d=null==u?void 0:u.id,f="FLOATING"===i,p=Object(C.b)(u)&&d,m=(null==u?void 0:u.title)||s,v=f?I.a:D,g=o===S.a.ACCENT,y=o===S.a.TINT,b=y?Object(T.a)(a):a,_=p?E()(t=E()(n="".concat(c," ")).call(n,l," - ")).call(t,m):m,w=p&&f?"Previous ".concat(c):_,x={color:b,backgroundColor:y&&!f?a:null},k={backgroundColor:f&&(y||g)?a:null};return h.a.createElement(A,{allowTooltip:r,direction:"previous",isFloating:f,linkStyles:k,navLessonId:d,wrapStyles:x},h.a.createElement(v,null),h.a.createElement("span",{className:R("link-text").mix("brand--ui")},w))}var F=n(44),U=n(2188),q=n(1236),z=S.h.COMPACT,H=S.h.SIDEBAR,V=Object(O.a)("progress-circle"),W=function(e){var t=e["aria-hidden"],n=e["aria-label"],r=e.color,i=e.isCurrent,o=e.isDark,a=e.isFailed,s=e.isPassed,c=e.scope,u=e.value,l=Object(f.useState)(100===u),d=Object(F.a)(l,2),p=d[0],m=d[1],v=Object(U.a)(u),g=V({compact:c===z,current:i,dark:o,light:!o,sidebar:c===H}),y=V("track",{dark:o,light:!o}),b=V("runner",{dark:o,done:p,failed:a,light:!o,passed:s,unstarted:0===u}),_=V("pass",{dark:o,done:p,light:!o,visible:s}),w=V("fail",{dark:o,done:p,light:!o,visible:a});Object(f.useEffect)(function(){100!==u&&100===v&&m(!1)},[v,u]);var x=Object(f.useCallback)(function(){m(!0)},[]);return h.a.createElement("svg",{"aria-hidden":t,"aria-label":n,className:g,fill:"none",focusable:"false",role:"img",style:{color:r},viewBox:"0 0 16 16",xmlns:"https://www.w3.org/2000/svg"},h.a.createElement("circle",{className:y,cx:"8",cy:"8",fill:"transparent",r:"7",strokeWidth:"2",transform:"rotate(-89.9 8 8)"}),h.a.createElement(q.a,{className:b,cx:"8",cy:"8",diameter:"16",onTransitionEnd:x,r:"7",strokeWidth:"2",transform:"rotate(-89.9 8 8)",value:u}),h.a.createElement("path",{className:_,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"}),h.a.createElement("path",{className:w,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"}))},Y=n(2245),G=o.b,K=o.b,$=o.b,X=o.a,Q=o.b,Z=o.b,J=o.b,ee=o.b,te=o.b,ne=o.b,re=o.b,ie=o.b,oe=n(2246),ae=n(1222),se=n(2247),ce=n(2248),ue=n(2249),le=n(2250),de=n(2251),fe=n(2252),he=n(2253)},,,function(e,t,n){"use strict";
/** @license React v16.13.1
 * react.production.min.js
 *
 * Copyright (c) Facebook, Inc. and its affiliates.
 *
 * This source code is licensed under the MIT license found in the
 * LICENSE file in the root directory of this source tree.
 */var r=n(751),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,c=i?Symbol.for("react.strict_mode"):60108,u=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,h=i?Symbol.for("react.suspense"):60113,p=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 x(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=x.prototype=new w;k.constructor=x,r(k,_.prototype),k.isPureReactComponent=!0;var E={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 c=arguments.length-2;if(1===c)i.children=n;else if(1<c){for(var u=Array(c),l=0;l<c;l++)u[l]=arguments[l+2];i.children=u}if(e&&e.defaultProps)for(r in c=e.defaultProps)void 0===i[r]&&(i[r]=c[r]);return{$$typeof:o,type:e,key:a,ref:s,props:i,_owner:E.current}}function O(e){return"object"==typeof e&&null!==e&&e.$$typeof===o}var j=/\/+/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 M(e){e.result=null,e.keyPrefix=null,e.func=null,e.context=null,e.count=0,10>A.length&&A.push(e)}function N(e,t,n){return null==e?0:function e(t,n,r,i){var s=typeof t;"undefined"!==s&&"boolean"!==s||(t=null);var c=!1;if(null===t)c=!0;else switch(s){case"string":case"number":c=!0;break;case"object":switch(t.$$typeof){case o:case a:c=!0}}if(c)return r(i,t,""===n?"."+L(t,0):n),1;if(c=0,n=""===n?".":n+":",Array.isArray(t))for(var u=0;u<t.length;u++){var l=n+L(s=t[u],u);c+=e(s,l,r,i)}else if(l=null===t||"object"!=typeof t?null:"function"==typeof(l=v&&t[v]||t["@@iterator"])?l:null,"function"==typeof l)for(t=l.call(t),u=0;!(s=t.next()).done;)c+=e(s=s.value,l=n+L(s,u++),r,i);else if("object"===s)throw r=""+t,Error(g(31,"[object Object]"===r?"object with keys {"+Object.keys(t).join(", ")+"}":r,""));return c}(e,"",t,n)}function L(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 I(e,t){e.func.call(e.context,t,e.count++)}function D(e,t,n){var r=e.result,i=e.keyPrefix;e=e.func.call(e.context,t,e.count++),Array.isArray(e)?R(e,r,n,function(e){return e}):null!=e&&(O(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(j,"$&/")+"/")+n)),r.push(e))}function R(e,t,n,r,i){var o="";null!=n&&(o=(""+n).replace(j,"$&/")+"/"),N(e,D,t=P(t,o,r,i)),M(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:E,IsSomeRendererActing:{current:!1},assign:r};t.Children={map:function(e,t,n){if(null==e)return e;var r=[];return R(e,r,null,t,n),r},forEach:function(e,t,n){if(null==e)return e;N(e,I,t=P(null,null,t,n)),M(t)},count:function(e){return N(e,function(){return null},null)},toArray:function(e){var t=[];return R(e,t,null,function(e){return e}),t},only:function(e){if(!O(e))throw Error(g(143));return e}},t.Component=_,t.Fragment=s,t.Profiler=u,t.PureComponent=x,t.StrictMode=c,t.Suspense=h,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,c=e._owner;if(null!=t){if(void 0!==t.ref&&(s=t.ref,c=E.current),void 0!==t.key&&(a=""+t.key),e.type&&e.type.defaultProps)var u=e.type.defaultProps;for(l in t)S.call(t,l)&&!T.hasOwnProperty(l)&&(i[l]=void 0===t[l]&&void 0!==u?u[l]:t[l])}var l=arguments.length-2;if(1===l)i.children=n;else if(1<l){u=Array(l);for(var d=0;d<l;d++)u[d]=arguments[d+2];i.children=u}return{$$typeof:o,type:e.type,key:a,ref:s,props:i,_owner:c}},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=O,t.lazy=function(e){return{$$typeof:m,_ctor:e,_status:-1,_result:null}},t.memo=function(e,t){return{$$typeof:p,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"},function(e,t,n){"use strict";
/** @license React v16.13.0
 * react-dom.production.min.js
 *
 * Copyright (c) Facebook, Inc. and its affiliates.
 *
 * This source code is licensed under the MIT license found in the
 * LICENSE file in the root directory of this source tree.
 */var r=n(0),i=n(751),o=n(1253);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));var s=!1,c=null,u=!1,l=null,d={onError:function(e){s=!0,c=e}};function f(e,t,n,r,i,o,a,u,l){s=!1,c=null,function(e,t,n,r,i,o,a,s,c){var u=Array.prototype.slice.call(arguments,3);try{t.apply(n,u)}catch(e){this.onError(e)}}.apply(d,arguments)}var h=null,p=null,m=null;function v(e,t,n){var r=e.type||"unknown-event";e.currentTarget=m(n),function(e,t,n,r,i,o,d,h,p){if(f.apply(this,arguments),s){if(!s)throw Error(a(198));var m=c;s=!1,c=null,u||(u=!0,l=m)}}(r,t,void 0,e),e.currentTarget=null}var g=r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;g.hasOwnProperty("ReactCurrentDispatcher")||(g.ReactCurrentDispatcher={current:null}),g.hasOwnProperty("ReactCurrentBatchConfig")||(g.ReactCurrentBatchConfig={suspense:null});var y=/^(.*)[\\\/]/,b="function"==typeof Symbol&&Symbol.for,_=b?Symbol.for("react.element"):60103,w=b?Symbol.for("react.portal"):60106,x=b?Symbol.for("react.fragment"):60107,k=b?Symbol.for("react.strict_mode"):60108,E=b?Symbol.for("react.profiler"):60114,S=b?Symbol.for("react.provider"):60109,T=b?Symbol.for("react.context"):60110,C=b?Symbol.for("react.concurrent_mode"):60111,O=b?Symbol.for("react.forward_ref"):60112,j=b?Symbol.for("react.suspense"):60113,A=b?Symbol.for("react.suspense_list"):60120,P=b?Symbol.for("react.memo"):60115,M=b?Symbol.for("react.lazy"):60116,N=b?Symbol.for("react.block"):60121,L="function"==typeof Symbol&&Symbol.iterator;function I(e){return null===e||"object"!=typeof e?null:"function"==typeof(e=L&&e[L]||e["@@iterator"])?e:null}function D(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 x:return"Fragment";case w:return"Portal";case E:return"Profiler";case k:return"StrictMode";case j:return"Suspense";case A:return"SuspenseList"}if("object"==typeof e)switch(e.$$typeof){case T:return"Context.Consumer";case S:return"Context.Provider";case O:var t=e.render;return t=t.displayName||t.name||"",e.displayName||(""!==t?"ForwardRef("+t+")":"ForwardRef");case P:return D(e.type);case N:return D(e.render);case M:if(e=1===e._status?e._result:null)return D(e)}return null}function R(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=D(e.type);n=null,r&&(n=D(r.type)),r=o,o="",i?o=" (at "+i.fileName.replace(y,"")+":"+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,c=r;if(H.hasOwnProperty(c))throw Error(a(99,c));H[c]=o;var u=o.phasedRegistrationNames;if(u){for(i in u)u.hasOwnProperty(i)&&q(u[i],s,c);i=!0}else o.registrationName?(q(o.registrationName,s,c),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 Q(e){if(e=p(e)){if("function"!=typeof K)throw Error(a(280));var t=e.stateNode;t&&(t=h(t),K(e.stateNode,e.type,t))}}function Z(e){$?X?X.push(e):X=[e]:$=e}function J(){if($){var e=$,t=X;if(X=$=null,Q(e),t)for(e=0;e<t.length;e++)Q(t[e])}}function ee(e,t){return e(t)}function te(e,t,n,r,i){return e(t,n,r,i)}function ne(){}var re=ee,ie=!1,oe=!1;function ae(){null===$&&null===X||(ne(),J())}function se(e,t,n){if(oe)return e(t,n);oe=!0;try{return re(e,t,n)}finally{oe=!1,ae()}}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]*$/,ue=Object.prototype.hasOwnProperty,le={},de={};function fe(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 fe(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 fe(t,1,!1,e[1],null,!1)}),["contentEditable","draggable","spellCheck","value"].forEach(function(e){he[e]=new fe(e,2,!1,e.toLowerCase(),null,!1)}),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){he[e]=new fe(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 fe(e,3,!1,e.toLowerCase(),null,!1)}),["checked","multiple","muted","selected"].forEach(function(e){he[e]=new fe(e,3,!0,e,null,!1)}),["capture","download"].forEach(function(e){he[e]=new fe(e,4,!1,e,null,!1)}),["cols","rows","size","span"].forEach(function(e){he[e]=new fe(e,6,!1,e,null,!1)}),["rowSpan","start"].forEach(function(e){he[e]=new fe(e,5,!1,e.toLowerCase(),null,!1)});var pe=/[\-:]([a-z])/g;function me(e){return e[1].toUpperCase()}function ve(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!!ue.call(de,e)||!ue.call(le,e)&&(ce.test(e)?de[e]=!0:(le[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 ge(e){switch(typeof e){case"boolean":case"number":case"object":case"string":case"undefined":return e;default:return""}}function ye(e){var t=e.type;return(e=e.nodeName)&&"input"===e.toLowerCase()&&("checkbox"===t||"radio"===t)}function be(e){e._valueTracker||(e._valueTracker=function(e){var t=ye(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 _e(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=ye(e)?e.checked?"true":"false":e.value),(e=r)!==n&&(t.setValue(e),!0)}function we(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 xe(e,t){var n=null==t.defaultValue?"":t.defaultValue,r=null!=t.checked?t.checked:t.defaultChecked;n=ge(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 ke(e,t){null!=(t=t.checked)&&ve(e,"checked",t,!1)}function Ee(e,t){ke(e,t);var n=ge(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")?Te(e,t.type,n):t.hasOwnProperty("defaultValue")&&Te(e,t.type,ge(t.defaultValue)),null==t.checked&&null!=t.defaultChecked&&(e.defaultChecked=!!t.defaultChecked)}function Se(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 Te(e,t,n){"number"===t&&e.ownerDocument.activeElement===e||(null==n?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}function Ce(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=""+ge(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 je(e,t){if(null!=t.dangerouslySetInnerHTML)throw Error(a(91));return i({},t,{value:void 0,defaultValue:void 0,children:""+e._wrapperState.initialValue})}function Ae(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:ge(n)}}function Pe(e,t){var n=ge(t.value),r=ge(t.defaultValue);null!=n&&((n=""+n)!==e.value&&(e.value=n),null==t.defaultValue&&e.defaultValue!==n&&(e.defaultValue=n)),null!=r&&(e.defaultValue=""+r)}function Me(e){var t=e.textContent;t===e._wrapperState.initialValue&&""!==t&&null!==t&&(e.value=t)}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach(function(e){var t=e.replace(pe,me);he[t]=new fe(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(pe,me);he[t]=new fe(t,1,!1,e,"http://www.w3.org/1999/xlink",!1)}),["xml:base","xml:lang","xml:space"].forEach(function(e){var t=e.replace(pe,me);he[t]=new fe(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1)}),["tabIndex","crossOrigin"].forEach(function(e){he[e]=new fe(e,1,!1,e.toLowerCase(),null,!1)}),he.xlinkHref=new fe("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0),["src","href","action","formAction"].forEach(function(e){he[e]=new fe(e,1,!1,e.toLowerCase(),null,!0)});var Ne="http://www.w3.org/1999/xhtml",Le="http://www.w3.org/2000/svg";function Ie(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 De(e,t){return null==e||"http://www.w3.org/1999/xhtml"===e?Ie(t):"http://www.w3.org/2000/svg"===e&&"foreignObject"===t?"http://www.w3.org/1999/xhtml":e}var Re,Be,Fe=(Be=function(e,t){if(e.namespaceURI!==Le||"innerHTML"in e)e.innerHTML=t;else{for((Re=Re||document.createElement("div")).innerHTML="<svg>"+t.valueOf().toString()+"</svg>",t=Re.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(" "),Qe=new("function"==typeof WeakMap?WeakMap:Map);function Ze(e){var t=Qe.get(e);return void 0===t&&(t=new Map,Qe.set(e,t)),t}function Je(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 et(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 tt(e){if(Je(e)!==e)throw Error(a(188))}function nt(e){if(!(e=function(e){var t=e.alternate;if(!t){if(null===(t=Je(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 tt(i),e;if(o===r)return tt(i),t;o=o.sibling}throw Error(a(188))}if(n.return!==r.return)n=i,r=o;else{for(var s=!1,c=i.child;c;){if(c===n){s=!0,n=i,r=o;break}if(c===r){s=!0,r=i,n=o;break}c=c.sibling}if(!s){for(c=o.child;c;){if(c===n){s=!0,n=o,r=i;break}if(c===r){s=!0,r=o,n=i;break}c=c.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)))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 rt(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 it(e,t,n){Array.isArray(e)?e.forEach(t,n):e&&t.call(n,e)}var ot=null;function at(e){if(e){var t=e._dispatchListeners,n=e._dispatchInstances;if(Array.isArray(t))for(var r=0;r<t.length&&!e.isPropagationStopped();r++)v(e,t[r],n[r]);else t&&v(e,t,n);e._dispatchListeners=null,e._dispatchInstances=null,e.isPersistent()||e.constructor.release(e)}}function st(e){if(null!==e&&(ot=rt(ot,e)),e=ot,ot=null,e){if(it(e,at),ot)throw Error(a(95));if(u)throw e=l,u=!1,l=null,e}}function ct(e){return(e=e.target||e.srcElement||window).correspondingUseElement&&(e=e.correspondingUseElement),3===e.nodeType?e.parentNode:e}function ut(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 lt=[];function dt(e){e.topLevelType=null,e.nativeEvent=null,e.targetInst=null,e.ancestors.length=0,10>lt.length&&lt.push(e)}function ft(e,t,n,r){if(lt.length){var i=lt.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=jn(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,c=0;c<z.length;c++){var u=z[c];u&&(u=u.extractEvents(r,t,o,i,a))&&(s=rt(s,u))}st(s)}}function pt(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":ut(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 mt,vt,gt,yt=!1,bt=[],_t=null,wt=null,xt=null,kt=new Map,Et=new Map,St=[],Tt="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(" "),Ct="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 jt(e,t){switch(e){case"focus":case"blur":_t=null;break;case"dragenter":case"dragleave":wt=null;break;case"mouseover":case"mouseout":xt=null;break;case"pointerover":case"pointerout":kt.delete(t.pointerId);break;case"gotpointercapture":case"lostpointercapture":Et.delete(t.pointerId)}}function At(e,t,n,r,i,o){return null===e||e.nativeEvent!==o?(e=Ot(t,n,r,i,o),null!==t&&(null!==(t=An(t))&&vt(t)),e):(e.eventSystemFlags|=r,e)}function Pt(e){var t=jn(e.target);if(null!==t){var n=Je(t);if(null!==n)if(13===(t=n.tag)){if(null!==(t=et(n)))return e.blockedOn=t,void o.unstable_runWithPriority(e.priority,function(){gt(n)})}else if(3===t&&n.stateNode.hydrate)return void(e.blockedOn=3===n.tag?n.stateNode.containerInfo:null)}e.blockedOn=null}function Mt(e){if(null!==e.blockedOn)return!1;var t=Xt(e.topLevelType,e.eventSystemFlags,e.container,e.nativeEvent);if(null!==t){var n=An(t);return null!==n&&vt(n),e.blockedOn=t,!1}return!0}function Nt(e,t,n){Mt(e)&&n.delete(t)}function Lt(){for(yt=!1;0<bt.length;){var e=bt[0];if(null!==e.blockedOn){null!==(e=An(e.blockedOn))&&mt(e);break}var t=Xt(e.topLevelType,e.eventSystemFlags,e.container,e.nativeEvent);null!==t?e.blockedOn=t:bt.shift()}null!==_t&&Mt(_t)&&(_t=null),null!==wt&&Mt(wt)&&(wt=null),null!==xt&&Mt(xt)&&(xt=null),kt.forEach(Nt),Et.forEach(Nt)}function It(e,t){e.blockedOn===t&&(e.blockedOn=null,yt||(yt=!0,o.unstable_scheduleCallback(o.unstable_NormalPriority,Lt)))}function Dt(e){function t(t){return It(t,e)}if(0<bt.length){It(bt[0],e);for(var n=1;n<bt.length;n++){var r=bt[n];r.blockedOn===e&&(r.blockedOn=null)}}for(null!==_t&&It(_t,e),null!==wt&&It(wt,e),null!==xt&&It(xt,e),kt.forEach(t),Et.forEach(t),n=0;n<St.length;n++)(r=St[n]).blockedOn===e&&(r.blockedOn=null);for(;0<St.length&&null===(n=St[0]).blockedOn;)Pt(n),null===n.blockedOn&&St.shift()}var Rt={},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),Rt[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=function(e,t,n,r){ie||ne();var i=$t,o=ie;ie=!0;try{te(i,e,t,n,r)}finally{(ie=o)||ae()}}.bind(null,t,1,e);break;case 1:r=function(e,t,n,r){Wt(Vt,$t.bind(null,e,t,n,r))}.bind(null,t,1,e);break;default:r=$t.bind(null,t,1,e)}n?e.addEventListener(t,r,!0):e.addEventListener(t,r,!1)}function $t(e,t,n,r){if(Yt)if(0<bt.length&&-1<Tt.indexOf(e))e=Ot(null,e,t,n,r),bt.push(e);else{var i=Xt(e,t,n,r);if(null===i)jt(e,r);else if(-1<Tt.indexOf(e))e=Ot(i,e,t,n,r),bt.push(e);else if(!function(e,t,n,r,i){switch(t){case"focus":return _t=At(_t,e,t,n,r,i),!0;case"dragenter":return wt=At(wt,e,t,n,r,i),!0;case"mouseover":return xt=At(xt,e,t,n,r,i),!0;case"pointerover":var o=i.pointerId;return kt.set(o,At(kt.get(o)||null,e,t,n,r,i)),!0;case"gotpointercapture":return o=i.pointerId,Et.set(o,At(Et.get(o)||null,e,t,n,r,i)),!0}return!1}(i,e,t,n,r)){jt(e,r),e=ft(e,r,null,t);try{se(ht,e)}finally{dt(e)}}}}function Xt(e,t,n,r){if(null!==(n=jn(n=ct(r)))){var i=Je(n);if(null===i)n=null;else{var o=i.tag;if(13===o){if(null!==(n=et(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=ft(e,r,n,t);try{se(ht,e)}finally{dt(e)}return null}var Qt={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},Zt=["Webkit","ms","Moz","O"];function Jt(e,t,n){return null==t||"boolean"==typeof t||""===t?"":n||"number"!=typeof t||0===t||Qt.hasOwnProperty(e)&&Qt[e]?(""+t).trim():t+"px"}function en(e,t){for(var n in e=e.style,t)if(t.hasOwnProperty(n)){var r=0===n.indexOf("--"),i=Jt(n,t[n],r);"float"===n&&(n="cssFloat"),r?e.setProperty(n,i):e[n]=i}}Object.keys(Qt).forEach(function(e){Zt.forEach(function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),Qt[t]=Qt[e]})});var tn=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 nn(e,t){if(t){if(tn[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 rn(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 on=Ne;function an(e,t){var n=Ze(e=9===e.nodeType||11===e.nodeType?e:e.ownerDocument);t=W[t];for(var r=0;r<t.length;r++)pt(t[r],e,n)}function sn(){}function cn(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 un(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function ln(e,t){var n,r=un(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=un(r)}}function dn(){for(var e=window,t=cn();t instanceof e.HTMLIFrameElement;){try{var n="string"==typeof t.contentWindow.location.href}catch(e){n=!1}if(!n)break;t=cn((e=t.contentWindow).document)}return t}function fn(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 hn="$",pn="/$",mn="$?",vn="$!",gn=null,yn=null;function bn(e,t){switch(e){case"button":case"input":case"select":case"textarea":return!!t.autoFocus}return!1}function _n(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 wn="function"==typeof setTimeout?setTimeout:void 0,xn="function"==typeof clearTimeout?clearTimeout:void 0;function kn(e){for(;null!=e;e=e.nextSibling){var t=e.nodeType;if(1===t||3===t)break}return e}function En(e){e=e.previousSibling;for(var t=0;e;){if(8===e.nodeType){var n=e.data;if(n===hn||n===vn||n===mn){if(0===t)return e;t--}else n===pn&&t++}e=e.previousSibling}return null}var Sn=Math.random().toString(36).slice(2),Tn="__reactInternalInstance$"+Sn,Cn="__reactEventHandlers$"+Sn,On="__reactContainere$"+Sn;function jn(e){var t=e[Tn];if(t)return t;for(var n=e.parentNode;n;){if(t=n[On]||n[Tn]){if(n=t.alternate,null!==t.child||null!==n&&null!==n.child)for(e=En(e);null!==e;){if(n=e[Tn])return n;e=En(e)}return t}n=(e=n).parentNode}return null}function An(e){return!(e=e[Tn]||e[On])||5!==e.tag&&6!==e.tag&&13!==e.tag&&3!==e.tag?null:e}function Pn(e){if(5===e.tag||6===e.tag)return e.stateNode;throw Error(a(33))}function Mn(e){return e[Cn]||null}function Nn(e){do{e=e.return}while(e&&5!==e.tag);return e||null}function Ln(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 In(e,t,n){(t=Ln(e,n.dispatchConfig.phasedRegistrationNames[t]))&&(n._dispatchListeners=rt(n._dispatchListeners,t),n._dispatchInstances=rt(n._dispatchInstances,e))}function Dn(e){if(e&&e.dispatchConfig.phasedRegistrationNames){for(var t=e._targetInst,n=[];t;)n.push(t),t=Nn(t);for(t=n.length;0<t--;)In(n[t],"captured",e);for(t=0;t<n.length;t++)In(n[t],"bubbled",e)}}function Rn(e,t,n){e&&n&&n.dispatchConfig.registrationName&&(t=Ln(e,n.dispatchConfig.registrationName))&&(n._dispatchListeners=rt(n._dispatchListeners,t),n._dispatchInstances=rt(n._dispatchInstances,e))}function Bn(e){e&&e.dispatchConfig.registrationName&&Rn(e._targetInst,null,e)}function Fn(e){it(e,Dn)}var Un=null,qn=null,zn=null;function Hn(){if(zn)return zn;var e,t,n=qn,r=n.length,i="value"in Un?Un.value:Un.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 zn=i.slice(e,1<t?1-t:void 0)}function Vn(){return!0}function Wn(){return!1}function Yn(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)?Vn:Wn,this.isPropagationStopped=Wn,this}function Gn(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 Kn(e){if(!(e instanceof this))throw Error(a(279));e.destructor(),10>this.eventPool.length&&this.eventPool.push(e)}function $n(e){e.eventPool=[],e.getPooled=Gn,e.release=Kn}i(Yn.prototype,{preventDefault:function(){this.defaultPrevented=!0;var e=this.nativeEvent;e&&(e.preventDefault?e.preventDefault():"unknown"!=typeof e.returnValue&&(e.returnValue=!1),this.isDefaultPrevented=Vn)},stopPropagation:function(){var e=this.nativeEvent;e&&(e.stopPropagation?e.stopPropagation():"unknown"!=typeof e.cancelBubble&&(e.cancelBubble=!0),this.isPropagationStopped=Vn)},persist:function(){this.isPersistent=Vn},isPersistent:Wn,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=Wn,this._dispatchInstances=this._dispatchListeners=null}}),Yn.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},Yn.extend=function(e){function t(){}function n(){return r.apply(this,arguments)}var r=this;t.prototype=r.prototype;var o=new t;return i(o,n.prototype),n.prototype=o,n.prototype.constructor=n,n.Interface=i({},r.Interface,e),n.extend=r.extend,$n(n),n},$n(Yn);var Xn=Yn.extend({data:null}),Qn=Yn.extend({data:null}),Zn=[9,13,27,32],Jn=G&&"CompositionEvent"in window,er=null;G&&"documentMode"in document&&(er=document.documentMode);var tr=G&&"TextEvent"in window&&!er,nr=G&&(!Jn||er&&8<er&&11>=er),rr=String.fromCharCode(32),ir={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(" ")}},or=!1;function ar(e,t){switch(e){case"keyup":return-1!==Zn.indexOf(t.keyCode);case"keydown":return 229!==t.keyCode;case"keypress":case"mousedown":case"blur":return!0;default:return!1}}function sr(e){return"object"==typeof(e=e.detail)&&"data"in e?e.data:null}var cr=!1;var ur={eventTypes:ir,extractEvents:function(e,t,n,r){var i;if(Jn)e:{switch(e){case"compositionstart":var o=ir.compositionStart;break e;case"compositionend":o=ir.compositionEnd;break e;case"compositionupdate":o=ir.compositionUpdate;break e}o=void 0}else cr?ar(e,n)&&(o=ir.compositionEnd):"keydown"===e&&229===n.keyCode&&(o=ir.compositionStart);return o?(nr&&"ko"!==n.locale&&(cr||o!==ir.compositionStart?o===ir.compositionEnd&&cr&&(i=Hn()):(qn="value"in(Un=r)?Un.value:Un.textContent,cr=!0)),o=Xn.getPooled(o,t,n,r),i?o.data=i:null!==(i=sr(n))&&(o.data=i),Fn(o),i=o):i=null,(e=tr?function(e,t){switch(e){case"compositionend":return sr(t);case"keypress":return 32!==t.which?null:(or=!0,rr);case"textInput":return(e=t.data)===rr&&or?null:e;default:return null}}(e,n):function(e,t){if(cr)return"compositionend"===e||!Jn&&ar(e,t)?(e=Hn(),zn=qn=Un=null,cr=!1,e):null;switch(e){case"paste":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 nr&&"ko"!==t.locale?null:t.data;default:return null}}(e,n))?((t=Qn.getPooled(ir.beforeInput,t,n,r)).data=e,Fn(t)):t=null,null===i?t:null===t?i:[i,t]}},lr={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 dr(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return"input"===t?!!lr[e.type]:"textarea"===t}var fr={change:{phasedRegistrationNames:{bubbled:"onChange",captured:"onChangeCapture"},dependencies:"blur change click focus input keydown keyup selectionchange".split(" ")}};function hr(e,t,n){return(e=Yn.getPooled(fr.change,e,t,n)).type="change",Z(n),Fn(e),e}var pr=null,mr=null;function vr(e){st(e)}function gr(e){if(_e(Pn(e)))return e}function yr(e,t){if("change"===e)return t}var br=!1;function _r(){pr&&(pr.detachEvent("onpropertychange",wr),mr=pr=null)}function wr(e){if("value"===e.propertyName&&gr(mr))if(e=hr(mr,e,ct(e)),ie)st(e);else{ie=!0;try{ee(vr,e)}finally{ie=!1,ae()}}}function xr(e,t,n){"focus"===e?(_r(),mr=n,(pr=t).attachEvent("onpropertychange",wr)):"blur"===e&&_r()}function kr(e){if("selectionchange"===e||"keyup"===e||"keydown"===e)return gr(mr)}function Er(e,t){if("click"===e)return gr(t)}function Sr(e,t){if("input"===e||"change"===e)return gr(t)}G&&(br=ut("input")&&(!document.documentMode||9<document.documentMode));var Tr={eventTypes:fr,_isInputEventSupported:br,extractEvents:function(e,t,n,r){var i=t?Pn(t):window,o=i.nodeName&&i.nodeName.toLowerCase();if("select"===o||"input"===o&&"file"===i.type)var a=yr;else if(dr(i))if(br)a=Sr;else{a=kr;var s=xr}else(o=i.nodeName)&&"input"===o.toLowerCase()&&("checkbox"===i.type||"radio"===i.type)&&(a=Er);if(a&&(a=a(e,t)))return hr(a,n,r);s&&s(e,i,t),"blur"===e&&(e=i._wrapperState)&&e.controlled&&"number"===i.type&&Te(i,"number",i.value)}},Cr=Yn.extend({view:null,detail:null}),Or={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function jr(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):!!(e=Or[e])&&!!t[e]}function Ar(){return jr}var Pr=0,Mr=0,Nr=!1,Lr=!1,Ir=Cr.extend({screenX:null,screenY:null,clientX:null,clientY:null,pageX:null,pageY:null,ctrlKey:null,shiftKey:null,altKey:null,metaKey:null,getModifierState:Ar,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=Pr;return Pr=e.screenX,Nr?"mousemove"===e.type?e.screenX-t:0:(Nr=!0,0)},movementY:function(e){if("movementY"in e)return e.movementY;var t=Mr;return Mr=e.screenY,Lr?"mousemove"===e.type?e.screenY-t:0:(Lr=!0,0)}}),Dr=Ir.extend({pointerId:null,width:null,height:null,pressure:null,tangentialPressure:null,tiltX:null,tiltY:null,twist:null,pointerType:null,isPrimary:null}),Rr={mouseEnter:{registrationName:"onMouseEnter",dependencies:["mouseout","mouseover"]},mouseLeave:{registrationName:"onMouseLeave",dependencies:["mouseout","mouseover"]},pointerEnter:{registrationName:"onPointerEnter",dependencies:["pointerout","pointerover"]},pointerLeave:{registrationName:"onPointerLeave",dependencies:["pointerout","pointerover"]}},Br={eventTypes:Rr,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)?jn(t):null)&&(t!==Je(t)||5!==t.tag&&6!==t.tag)&&(t=null)):a=null;if(a===t)return null;if("mouseout"===e||"mouseover"===e)var s=Ir,c=Rr.mouseLeave,u=Rr.mouseEnter,l="mouse";else"pointerout"!==e&&"pointerover"!==e||(s=Dr,c=Rr.pointerLeave,u=Rr.pointerEnter,l="pointer");if(e=null==a?o:Pn(a),o=null==t?o:Pn(t),(c=s.getPooled(c,a,n,r)).type=l+"leave",c.target=e,c.relatedTarget=o,(n=s.getPooled(u,t,n,r)).type=l+"enter",n.target=o,n.relatedTarget=e,l=t,(r=a)&&l)e:{for(u=l,a=0,e=s=r;e;e=Nn(e))a++;for(e=0,t=u;t;t=Nn(t))e++;for(;0<a-e;)s=Nn(s),a--;for(;0<e-a;)u=Nn(u),e--;for(;a--;){if(s===u||s===u.alternate)break e;s=Nn(s),u=Nn(u)}s=null}else s=null;for(u=s,s=[];r&&r!==u&&(null===(a=r.alternate)||a!==u);)s.push(r),r=Nn(r);for(r=[];l&&l!==u&&(null===(a=l.alternate)||a!==u);)r.push(l),l=Nn(l);for(l=0;l<s.length;l++)Rn(s[l],"bubbled",c);for(l=r.length;0<l--;)Rn(r[l],"captured",n);return 0==(64&i)?[c]:[c,n]}};var Fr="function"==typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t},Ur=Object.prototype.hasOwnProperty;function qr(e,t){if(Fr(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(!Ur.call(t,n[r])||!Fr(e[n[r]],t[n[r]]))return!1;return!0}var zr=G&&"documentMode"in document&&11>=document.documentMode,Hr={select:{phasedRegistrationNames:{bubbled:"onSelect",captured:"onSelectCapture"},dependencies:"blur contextmenu dragend focus keydown keyup mousedown mouseup selectionchange".split(" ")}},Vr=null,Wr=null,Yr=null,Gr=!1;function Kr(e,t){var n=t.window===t?t.document:9===t.nodeType?t:t.ownerDocument;return Gr||null==Vr||Vr!==cn(n)?null:("selectionStart"in(n=Vr)&&fn(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},Yr&&qr(Yr,n)?null:(Yr=n,(e=Yn.getPooled(Hr.select,Wr,e,t)).type="select",e.target=Vr,Fn(e),e))}var $r={eventTypes:Hr,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=Ze(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?Pn(t):window,e){case"focus":(dr(i)||"true"===i.contentEditable)&&(Vr=i,Wr=t,Yr=null);break;case"blur":Yr=Wr=Vr=null;break;case"mousedown":Gr=!0;break;case"contextmenu":case"mouseup":case"dragend":return Gr=!1,Kr(n,r);case"selectionchange":if(zr)break;case"keydown":case"keyup":return Kr(n,r)}return null}},Xr=Yn.extend({animationName:null,elapsedTime:null,pseudoElement:null}),Qr=Yn.extend({clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),Zr=Cr.extend({relatedTarget:null});function Jr(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 ei={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},ti={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"},ni=Cr.extend({key:function(e){if(e.key){var t=ei[e.key]||e.key;if("Unidentified"!==t)return t}return"keypress"===e.type?13===(e=Jr(e))?"Enter":String.fromCharCode(e):"keydown"===e.type||"keyup"===e.type?ti[e.keyCode]||"Unidentified":""},location:null,ctrlKey:null,shiftKey:null,altKey:null,metaKey:null,repeat:null,locale:null,getModifierState:Ar,charCode:function(e){return"keypress"===e.type?Jr(e):0},keyCode:function(e){return"keydown"===e.type||"keyup"===e.type?e.keyCode:0},which:function(e){return"keypress"===e.type?Jr(e):"keydown"===e.type||"keyup"===e.type?e.keyCode:0}}),ri=Ir.extend({dataTransfer:null}),ii=Cr.extend({touches:null,targetTouches:null,changedTouches:null,altKey:null,metaKey:null,ctrlKey:null,shiftKey:null,getModifierState:Ar}),oi=Yn.extend({propertyName:null,elapsedTime:null,pseudoElement:null}),ai=Ir.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}),si={eventTypes:Rt,extractEvents:function(e,t,n,r){var i=Bt.get(e);if(!i)return null;switch(e){case"keypress":if(0===Jr(n))return null;case"keydown":case"keyup":e=ni;break;case"blur":case"focus":e=Zr;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=Ir;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":e=ri;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":e=ii;break;case Ye:case Ge:case Ke:e=Xr;break;case $e:e=oi;break;case"scroll":e=Cr;break;case"wheel":e=ai;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=Dr;break;default:e=Yn}return Fn(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,p=An,m=Pn,Y({SimpleEventPlugin:si,EnterLeaveEventPlugin:Br,ChangeEventPlugin:Tr,SelectEventPlugin:$r,BeforeInputEventPlugin:ur});var ci=[],ui=-1;function li(e){0>ui||(e.current=ci[ui],ci[ui]=null,ui--)}function di(e,t){ci[++ui]=e.current,e.current=t}var fi={},hi={current:fi},pi={current:!1},mi=fi;function vi(e,t){var n=e.type.contextTypes;if(!n)return fi;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 gi(e){return null!=(e=e.childContextTypes)}function yi(){li(pi),li(hi)}function bi(e,t,n){if(hi.current!==fi)throw Error(a(168));di(hi,t),di(pi,n)}function _i(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,D(t)||"Unknown",o));return i({},n,{},r)}function wi(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||fi,mi=hi.current,di(hi,e),di(pi,pi.current),!0}function xi(e,t,n){var r=e.stateNode;if(!r)throw Error(a(169));n?(e=_i(e,t,mi),r.__reactInternalMemoizedMergedChildContext=e,li(pi),li(hi),di(hi,e)):li(pi),di(pi,n)}var ki=o.unstable_runWithPriority,Ei=o.unstable_scheduleCallback,Si=o.unstable_cancelCallback,Ti=o.unstable_requestPaint,Ci=o.unstable_now,Oi=o.unstable_getCurrentPriorityLevel,ji=o.unstable_ImmediatePriority,Ai=o.unstable_UserBlockingPriority,Pi=o.unstable_NormalPriority,Mi=o.unstable_LowPriority,Ni=o.unstable_IdlePriority,Li={},Ii=o.unstable_shouldYield,Di=void 0!==Ti?Ti:function(){},Ri=null,Bi=null,Fi=!1,Ui=Ci(),qi=1e4>Ui?Ci:function(){return Ci()-Ui};function zi(){switch(Oi()){case ji:return 99;case Ai:return 98;case Pi:return 97;case Mi:return 96;case Ni:return 95;default:throw Error(a(332))}}function Hi(e){switch(e){case 99:return ji;case 98:return Ai;case 97:return Pi;case 96:return Mi;case 95:return Ni;default:throw Error(a(332))}}function Vi(e,t){return e=Hi(e),ki(e,t)}function Wi(e,t,n){return e=Hi(e),Ei(e,t,n)}function Yi(e){return null===Ri?(Ri=[e],Bi=Ei(ji,Ki)):Ri.push(e),Li}function Gi(){if(null!==Bi){var e=Bi;Bi=null,Si(e)}Ki()}function Ki(){if(!Fi&&null!==Ri){Fi=!0;var e=0;try{var t=Ri;Vi(99,function(){for(;e<t.length;e++){var n=t[e];do{n=n(!0)}while(null!==n)}}),Ri=null}catch(t){throw null!==Ri&&(Ri=Ri.slice(e+1)),Ei(ji,Gi),t}finally{Fi=!1}}}function $i(e,t,n){return 1073741821-(1+((1073741821-e+t/10)/(n/=10)|0))*n}function Xi(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},Zi=null,Ji=null,eo=null;function to(){eo=Ji=Zi=null}function no(e){var t=Qi.current;li(Qi),e.type._context._currentValue=t}function ro(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 io(e,t){Zi=e,eo=Ji=null,null!==(e=e.dependencies)&&null!==e.firstContext&&(e.expirationTime>=t&&(Ma=!0),e.firstContext=null)}function oo(e,t){if(eo!==e&&!1!==t&&0!==t)if("number"==typeof t&&1073741823!==t||(eo=e,t=1073741823),t={context:e,observedBits:t,next:null},null===Ji){if(null===Zi)throw Error(a(308));Ji=t,Zi.dependencies={expirationTime:0,firstContext:t,responders:null}}else Ji=Ji.next=t;return e._currentValue}var ao=!1;function so(e){e.updateQueue={baseState:e.memoizedState,baseQueue:null,shared:{pending:null},effects:null}}function co(e,t){e=e.updateQueue,t.updateQueue===e&&(t.updateQueue={baseState:e.baseState,baseQueue:e.baseQueue,shared:e.shared,effects:e.effects})}function uo(e,t){return(e={expirationTime:e,suspenseConfig:t,tag:0,payload:null,callback:null,next:null}).next=e}function lo(e,t){if(null!==(e=e.updateQueue)){var n=(e=e.shared).pending;null===n?t.next=t:(t.next=n.next,n.next=t),e.pending=t}}function fo(e,t){var n=e.alternate;null!==n&&co(n,e),null===(n=(e=e.updateQueue).baseQueue)?(e.baseQueue=t.next=t,t.next=t):(t.next=n.next,n.next=t)}function ho(e,t,n,r){var o=e.updateQueue;ao=!1;var a=o.baseQueue,s=o.shared.pending;if(null!==s){if(null!==a){var c=a.next;a.next=s.next,s.next=c}a=s,o.shared.pending=null,null!==(c=e.alternate)&&(null!==(c=c.updateQueue)&&(c.baseQueue=s))}if(null!==a){c=a.next;var u=o.baseState,l=0,d=null,f=null,h=null;if(null!==c)for(var p=c;;){if((s=p.expirationTime)<r){var m={expirationTime:p.expirationTime,suspenseConfig:p.suspenseConfig,tag:p.tag,payload:p.payload,callback:p.callback,next:null};null===h?(f=h=m,d=u):h=h.next=m,s>l&&(l=s)}else{null!==h&&(h=h.next={expirationTime:1073741823,suspenseConfig:p.suspenseConfig,tag:p.tag,payload:p.payload,callback:p.callback,next:null}),mc(s,p.suspenseConfig);e:{var v=e,g=p;switch(s=t,m=n,g.tag){case 1:if("function"==typeof(v=g.payload)){u=v.call(m,u,s);break e}u=v;break e;case 3:v.effectTag=-4097&v.effectTag|64;case 0:if(null==(s="function"==typeof(v=g.payload)?v.call(m,u,s):v))break e;u=i({},u,s);break e;case 2:ao=!0}}null!==p.callback&&(e.effectTag|=32,null===(s=o.effects)?o.effects=[p]:s.push(p))}if(null===(p=p.next)||p===c){if(null===(s=o.shared.pending))break;p=a.next=s.next,s.next=c,o.baseQueue=a=s,o.shared.pending=null}}null===h?d=u:h.next=f,o.baseState=d,o.baseQueue=h,vc(l),e.expirationTime=l,e.memoizedState=u}}function po(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 mo=g.ReactCurrentBatchConfig,vo=(new r.Component).refs;function go(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 yo={isMounted:function(e){return!!(e=e._reactInternalFiber)&&Je(e)===e},enqueueSetState:function(e,t,n){e=e._reactInternalFiber;var r=rc(),i=mo.suspense;(i=uo(r=ic(r,e,i),i)).payload=t,null!=n&&(i.callback=n),lo(e,i),oc(e,r)},enqueueReplaceState:function(e,t,n){e=e._reactInternalFiber;var r=rc(),i=mo.suspense;(i=uo(r=ic(r,e,i),i)).tag=1,i.payload=t,null!=n&&(i.callback=n),lo(e,i),oc(e,r)},enqueueForceUpdate:function(e,t){e=e._reactInternalFiber;var n=rc(),r=mo.suspense;(r=uo(n=ic(n,e,r),r)).tag=2,null!=t&&(r.callback=t),lo(e,r),oc(e,n)}};function bo(e,t,n,r,i,o,a){return"function"==typeof(e=e.stateNode).shouldComponentUpdate?e.shouldComponentUpdate(r,o,a):!t.prototype||!t.prototype.isPureReactComponent||(!qr(n,r)||!qr(i,o))}function _o(e,t,n){var r=!1,i=fi,o=t.contextType;return"object"==typeof o&&null!==o?o=oo(o):(i=gi(t)?mi:hi.current,o=(r=null!=(r=t.contextTypes))?vi(e,i):fi),t=new t(n,o),e.memoizedState=null!==t.state&&void 0!==t.state?t.state:null,t.updater=yo,e.stateNode=t,t._reactInternalFiber=e,r&&((e=e.stateNode).__reactInternalMemoizedUnmaskedChildContext=i,e.__reactInternalMemoizedMaskedChildContext=o),t}function wo(e,t,n,r){e=t.state,"function"==typeof t.componentWillReceiveProps&&t.componentWillReceiveProps(n,r),"function"==typeof t.UNSAFE_componentWillReceiveProps&&t.UNSAFE_componentWillReceiveProps(n,r),t.state!==e&&yo.enqueueReplaceState(t,t.state,null)}function xo(e,t,n,r){var i=e.stateNode;i.props=n,i.state=e.memoizedState,i.refs=vo,so(e);var o=t.contextType;"object"==typeof o&&null!==o?i.context=oo(o):(o=gi(t)?mi:hi.current,i.context=vi(e,o)),ho(e,n,i,r),i.state=e.memoizedState,"function"==typeof(o=t.getDerivedStateFromProps)&&(go(e,t,o,n),i.state=e.memoizedState),"function"==typeof t.getDerivedStateFromProps||"function"==typeof i.getSnapshotBeforeUpdate||"function"!=typeof i.UNSAFE_componentWillMount&&"function"!=typeof i.componentWillMount||(t=i.state,"function"==typeof i.componentWillMount&&i.componentWillMount(),"function"==typeof i.UNSAFE_componentWillMount&&i.UNSAFE_componentWillMount(),t!==i.state&&yo.enqueueReplaceState(i,i.state,null),ho(e,n,i,r),i.state=e.memoizedState),"function"==typeof i.componentDidMount&&(e.effectTag|=4)}var ko=Array.isArray;function Eo(e,t,n){if(null!==(e=n.ref)&&"function"!=typeof e&&"object"!=typeof e){if(n._owner){if(n=n._owner){if(1!==n.tag)throw Error(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===vo&&(t=r.refs={}),null===e?delete t[i]:t[i]=e})._stringRef=i,t)}if("string"!=typeof e)throw Error(a(284));if(!n._owner)throw Error(a(290,e))}return e}function So(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 To(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=Lc(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 c(e,t,n,r){return null===t||6!==t.tag?((t=Rc(n,e.mode,r)).return=e,t):((t=i(t,n)).return=e,t)}function u(e,t,n,r){return null!==t&&t.elementType===n.type?((r=i(t,n.props)).ref=Eo(e,t,n),r.return=e,r):((r=Ic(n.type,n.key,n.props,null,e.mode,r)).ref=Eo(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=Bc(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=Dc(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=Rc(""+t,e.mode,n)).return=e,t;if("object"==typeof t&&null!==t){switch(t.$$typeof){case _:return(n=Ic(t.type,t.key,t.props,null,e.mode,n)).ref=Eo(e,null,t),n.return=e,n;case w:return(t=Bc(t,e.mode,n)).return=e,t}if(ko(t)||I(t))return(t=Dc(t,e.mode,n,null)).return=e,t;So(e,t)}return null}function h(e,t,n,r){var i=null!==t?t.key:null;if("string"==typeof n||"number"==typeof n)return null!==i?null:c(e,t,""+n,r);if("object"==typeof n&&null!==n){switch(n.$$typeof){case _:return n.key===i?n.type===x?d(e,t,n.props.children,r,i):u(e,t,n,r):null;case w:return n.key===i?l(e,t,n,r):null}if(ko(n)||I(n))return null!==i?null:d(e,t,n,r,null);So(e,n)}return null}function p(e,t,n,r,i){if("string"==typeof r||"number"==typeof r)return c(t,e=e.get(n)||null,""+r,i);if("object"==typeof r&&null!==r){switch(r.$$typeof){case _:return e=e.get(null===r.key?n:r.key)||null,r.type===x?d(t,e,r.props.children,i,r.key):u(t,e,r,i);case w:return l(t,e=e.get(null===r.key?n:r.key)||null,r,i)}if(ko(r)||I(r))return d(t,e=e.get(n)||null,r,i,null);So(t,r)}return null}function m(i,a,s,c){for(var u=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=h(i,d,s[m],c);if(null===g){null===d&&(d=v);break}e&&d&&null===g.alternate&&t(i,d),a=o(g,a,m),null===l?u=g:l.sibling=g,l=g,d=v}if(m===s.length)return n(i,d),u;if(null===d){for(;m<s.length;m++)null!==(d=f(i,s[m],c))&&(a=o(d,a,m),null===l?u=d:l.sibling=d,l=d);return u}for(d=r(i,d);m<s.length;m++)null!==(v=p(d,i,m,s[m],c))&&(e&&null!==v.alternate&&d.delete(null===v.key?m:v.key),a=o(v,a,m),null===l?u=v:l.sibling=v,l=v);return e&&d.forEach(function(e){return t(i,e)}),u}function v(i,s,c,u){var l=I(c);if("function"!=typeof l)throw Error(a(150));if(null==(c=l.call(c)))throw Error(a(151));for(var d=l=null,m=s,v=s=0,g=null,y=c.next();null!==m&&!y.done;v++,y=c.next()){m.index>v?(g=m,m=null):g=m.sibling;var b=h(i,m,y.value,u);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=c.next())null!==(y=f(i,y.value,u))&&(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=c.next())null!==(y=p(m,i,v,y.value,u))&&(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,c){var u="object"==typeof o&&null!==o&&o.type===x&&null===o.key;u&&(o=o.props.children);var l="object"==typeof o&&null!==o;if(l)switch(o.$$typeof){case _:e:{for(l=o.key,u=r;null!==u;){if(u.key===l){switch(u.tag){case 7:if(o.type===x){n(e,u.sibling),(r=i(u,o.props.children)).return=e,e=r;break e}break;default:if(u.elementType===o.type){n(e,u.sibling),(r=i(u,o.props)).ref=Eo(e,u,o),r.return=e,e=r;break e}}n(e,u);break}t(e,u),u=u.sibling}o.type===x?((r=Dc(o.props.children,e.mode,c,o.key)).return=e,e=r):((c=Ic(o.type,o.key,o.props,null,e.mode,c)).ref=Eo(e,r,o),c.return=e,e=c)}return s(e);case w:e:{for(u=o.key;null!==r;){if(r.key===u){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=Bc(o,e.mode,c)).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=Rc(o,e.mode,c)).return=e,e=r),s(e);if(ko(o))return m(e,r,o,c);if(I(o))return v(e,r,o,c);if(l&&So(e,o),void 0===o&&!u)switch(e.tag){case 1:case 0:throw e=e.type,Error(a(152,e.displayName||e.name||"Component"))}return n(e,r)}}var Co=To(!0),Oo=To(!1),jo={},Ao={current:jo},Po={current:jo},Mo={current:jo};function No(e){if(e===jo)throw Error(a(174));return e}function Lo(e,t){switch(di(Mo,t),di(Po,e),di(Ao,jo),e=t.nodeType){case 9:case 11:t=(t=t.documentElement)?t.namespaceURI:De(null,"");break;default:t=De(t=(e=8===e?t.parentNode:t).namespaceURI||null,e=e.tagName)}li(Ao),di(Ao,t)}function Io(){li(Ao),li(Po),li(Mo)}function Do(e){No(Mo.current);var t=No(Ao.current),n=De(t,e.type);t!==n&&(di(Po,e),di(Ao,n))}function Ro(e){Po.current===e&&(li(Ao),li(Po))}var Bo={current:0};function Fo(e){for(var t=e;null!==t;){if(13===t.tag){var n=t.memoizedState;if(null!==n&&(null===(n=n.dehydrated)||n.data===mn||n.data===vn))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 Uo(e,t){return{responder:e,props:t}}var qo=g.ReactCurrentDispatcher,zo=g.ReactCurrentBatchConfig,Ho=0,Vo=null,Wo=null,Yo=null,Go=!1;function Ko(){throw Error(a(321))}function $o(e,t){if(null===t)return!1;for(var n=0;n<t.length&&n<e.length;n++)if(!Fr(e[n],t[n]))return!1;return!0}function Xo(e,t,n,r,i,o){if(Ho=o,Vo=t,t.memoizedState=null,t.updateQueue=null,t.expirationTime=0,qo.current=null===e||null===e.memoizedState?ba:_a,e=n(r,i),t.expirationTime===Ho){o=0;do{if(t.expirationTime=0,!(25>o))throw Error(a(301));o+=1,Yo=Wo=null,t.updateQueue=null,qo.current=wa,e=n(r,i)}while(t.expirationTime===Ho)}if(qo.current=ya,t=null!==Wo&&null!==Wo.next,Ho=0,Yo=Wo=Vo=null,Go=!1,t)throw Error(a(300));return e}function Qo(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return null===Yo?Vo.memoizedState=Yo=e:Yo=Yo.next=e,Yo}function Zo(){if(null===Wo){var e=Vo.alternate;e=null!==e?e.memoizedState:null}else e=Wo.next;var t=null===Yo?Vo.memoizedState:Yo.next;if(null!==t)Yo=t,Wo=e;else{if(null===e)throw Error(a(310));e={memoizedState:(Wo=e).memoizedState,baseState:Wo.baseState,baseQueue:Wo.baseQueue,queue:Wo.queue,next:null},null===Yo?Vo.memoizedState=Yo=e:Yo=Yo.next=e}return Yo}function Jo(e,t){return"function"==typeof t?t(e):t}function ea(e){var t=Zo(),n=t.queue;if(null===n)throw Error(a(311));n.lastRenderedReducer=e;var r=Wo,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 c=s=o=null,u=i;do{var l=u.expirationTime;if(l<Ho){var d={expirationTime:u.expirationTime,suspenseConfig:u.suspenseConfig,action:u.action,eagerReducer:u.eagerReducer,eagerState:u.eagerState,next:null};null===c?(s=c=d,o=r):c=c.next=d,l>Vo.expirationTime&&(Vo.expirationTime=l,vc(l))}else null!==c&&(c=c.next={expirationTime:1073741823,suspenseConfig:u.suspenseConfig,action:u.action,eagerReducer:u.eagerReducer,eagerState:u.eagerState,next:null}),mc(l,u.suspenseConfig),r=u.eagerReducer===e?u.eagerState:e(r,u.action);u=u.next}while(null!==u&&u!==i);null===c?o=r:c.next=s,Fr(r,t.memoizedState)||(Ma=!0),t.memoizedState=r,t.baseState=o,t.baseQueue=c,n.lastRenderedState=r}return[t.memoizedState,n.dispatch]}function ta(e){var t=Zo(),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);Fr(o,t.memoizedState)||(Ma=!0),t.memoizedState=o,null===t.baseQueue&&(t.baseState=o),n.lastRenderedState=o}return[o,r]}function na(e){var t=Qo();return"function"==typeof e&&(e=e()),t.memoizedState=t.baseState=e,e=(e=t.queue={pending:null,dispatch:null,lastRenderedReducer:Jo,lastRenderedState:e}).dispatch=ga.bind(null,Vo,e),[t.memoizedState,e]}function ra(e,t,n,r){return e={tag:e,create:t,destroy:n,deps:r,next:null},null===(t=Vo.updateQueue)?(t={lastEffect:null},Vo.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 ia(){return Zo().memoizedState}function oa(e,t,n,r){var i=Qo();Vo.effectTag|=e,i.memoizedState=ra(1|t,n,void 0,void 0===r?null:r)}function aa(e,t,n,r){var i=Zo();r=void 0===r?null:r;var o=void 0;if(null!==Wo){var a=Wo.memoizedState;if(o=a.destroy,null!==r&&$o(r,a.deps))return void ra(t,n,o,r)}Vo.effectTag|=e,i.memoizedState=ra(1|t,n,o,r)}function sa(e,t){return oa(516,4,e,t)}function ca(e,t){return aa(516,4,e,t)}function ua(e,t){return aa(4,2,e,t)}function la(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 da(e,t,n){return n=null!=n?n.concat([e]):null,aa(4,2,la.bind(null,t,e),n)}function fa(){}function ha(e,t){return Qo().memoizedState=[e,void 0===t?null:t],e}function pa(e,t){var n=Zo();t=void 0===t?null:t;var r=n.memoizedState;return null!==r&&null!==t&&$o(t,r[1])?r[0]:(n.memoizedState=[e,t],e)}function ma(e,t){var n=Zo();t=void 0===t?null:t;var r=n.memoizedState;return null!==r&&null!==t&&$o(t,r[1])?r[0]:(e=e(),n.memoizedState=[e,t],e)}function va(e,t,n){var r=zi();Vi(98>r?98:r,function(){e(!0)}),Vi(97<r?97:r,function(){var r=zo.suspense;zo.suspense=void 0===t?null:t;try{e(!1),n()}finally{zo.suspense=r}})}function ga(e,t,n){var r=rc(),i=mo.suspense;i={expirationTime:r=ic(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===Vo||null!==o&&o===Vo)Go=!0,i.expirationTime=Ho,Vo.expirationTime=Ho;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,Fr(s,a))return}catch(e){}oc(e,r)}}var ya={readContext:oo,useCallback:Ko,useContext:Ko,useEffect:Ko,useImperativeHandle:Ko,useLayoutEffect:Ko,useMemo:Ko,useReducer:Ko,useRef:Ko,useState:Ko,useDebugValue:Ko,useResponder:Ko,useDeferredValue:Ko,useTransition:Ko},ba={readContext:oo,useCallback:ha,useContext:oo,useEffect:sa,useImperativeHandle:function(e,t,n){return n=null!=n?n.concat([e]):null,oa(4,2,la.bind(null,t,e),n)},useLayoutEffect:function(e,t){return oa(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=ga.bind(null,Vo,e),[r.memoizedState,e]},useRef:function(e){return e={current:e},Qo().memoizedState=e},useState:na,useDebugValue:fa,useResponder:Uo,useDeferredValue:function(e,t){var n=na(e),r=n[0],i=n[1];return sa(function(){var n=zo.suspense;zo.suspense=void 0===t?null:t;try{i(e)}finally{zo.suspense=n}},[e,t]),r},useTransition:function(e){var t=na(!1),n=t[0];return t=t[1],[ha(va.bind(null,t,e),[t,e]),n]}},_a={readContext:oo,useCallback:pa,useContext:oo,useEffect:ca,useImperativeHandle:da,useLayoutEffect:ua,useMemo:ma,useReducer:ea,useRef:ia,useState:function(){return ea(Jo)},useDebugValue:fa,useResponder:Uo,useDeferredValue:function(e,t){var n=ea(Jo),r=n[0],i=n[1];return ca(function(){var n=zo.suspense;zo.suspense=void 0===t?null:t;try{i(e)}finally{zo.suspense=n}},[e,t]),r},useTransition:function(e){var t=ea(Jo),n=t[0];return t=t[1],[pa(va.bind(null,t,e),[t,e]),n]}},wa={readContext:oo,useCallback:pa,useContext:oo,useEffect:ca,useImperativeHandle:da,useLayoutEffect:ua,useMemo:ma,useReducer:ta,useRef:ia,useState:function(){return ta(Jo)},useDebugValue:fa,useResponder:Uo,useDeferredValue:function(e,t){var n=ta(Jo),r=n[0],i=n[1];return ca(function(){var n=zo.suspense;zo.suspense=void 0===t?null:t;try{i(e)}finally{zo.suspense=n}},[e,t]),r},useTransition:function(e){var t=ta(Jo),n=t[0];return t=t[1],[pa(va.bind(null,t,e),[t,e]),n]}},xa=null,ka=null,Ea=!1;function Sa(e,t){var n=Mc(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 Ta(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);case 13:default:return!1}}function Ca(e){if(Ea){var t=ka;if(t){var n=t;if(!Ta(e,t)){if(!(t=kn(n.nextSibling))||!Ta(e,t))return e.effectTag=-1025&e.effectTag|2,Ea=!1,void(xa=e);Sa(xa,n)}xa=e,ka=kn(t.firstChild)}else e.effectTag=-1025&e.effectTag|2,Ea=!1,xa=e}}function Oa(e){for(e=e.return;null!==e&&5!==e.tag&&3!==e.tag&&13!==e.tag;)e=e.return;xa=e}function ja(e){if(e!==xa)return!1;if(!Ea)return Oa(e),Ea=!0,!1;var t=e.type;if(5!==e.tag||"head"!==t&&"body"!==t&&!_n(t,e.memoizedProps))for(t=ka;t;)Sa(e,t),t=kn(t.nextSibling);if(Oa(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===pn){if(0===t){ka=kn(e.nextSibling);break e}t--}else n!==hn&&n!==vn&&n!==mn||t++}e=e.nextSibling}ka=null}}else ka=xa?kn(e.stateNode.nextSibling):null;return!0}function Aa(){ka=xa=null,Ea=!1}var Pa=g.ReactCurrentOwner,Ma=!1;function Na(e,t,n,r){t.child=null===e?Oo(t,null,n,r):Co(t,e.child,n,r)}function La(e,t,n,r,i){n=n.render;var o=t.ref;return io(t,i),r=Xo(e,t,n,r,o,i),null===e||Ma?(t.effectTag|=1,Na(e,t,r,i),t.child):(t.updateQueue=e.updateQueue,t.effectTag&=-517,e.expirationTime<=i&&(e.expirationTime=0),Qa(e,t,i))}function Ia(e,t,n,r,i,o){if(null===e){var a=n.type;return"function"!=typeof a||Nc(a)||void 0!==a.defaultProps||null!==n.compare||void 0!==n.defaultProps?((e=Ic(n.type,null,r,null,t.mode,o)).ref=t.ref,e.return=t,t.child=e):(t.tag=15,t.type=a,Da(e,t,a,r,i,o))}return a=e.child,i<o&&(i=a.memoizedProps,(n=null!==(n=n.compare)?n:qr)(i,r)&&e.ref===t.ref)?Qa(e,t,o):(t.effectTag|=1,(e=Lc(a,r)).ref=t.ref,e.return=t,t.child=e)}function Da(e,t,n,r,i,o){return null!==e&&qr(e.memoizedProps,r)&&e.ref===t.ref&&(Ma=!1,i<o)?(t.expirationTime=e.expirationTime,Qa(e,t,o)):Ba(e,t,n,r,o)}function Ra(e,t){var n=t.ref;(null===e&&null!==n||null!==e&&e.ref!==n)&&(t.effectTag|=128)}function Ba(e,t,n,r,i){var o=gi(n)?mi:hi.current;return o=vi(t,o),io(t,i),n=Xo(e,t,n,r,o,i),null===e||Ma?(t.effectTag|=1,Na(e,t,n,i),t.child):(t.updateQueue=e.updateQueue,t.effectTag&=-517,e.expirationTime<=i&&(e.expirationTime=0),Qa(e,t,i))}function Fa(e,t,n,r,i){if(gi(n)){var o=!0;wi(t)}else o=!1;if(io(t,i),null===t.stateNode)null!==e&&(e.alternate=null,t.alternate=null,t.effectTag|=2),_o(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 c=a.context,u=n.contextType;"object"==typeof u&&null!==u?u=oo(u):u=vi(t,u=gi(n)?mi:hi.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||c!==u)&&wo(t,a,r,u),ao=!1;var f=t.memoizedState;a.state=f,ho(t,r,a,i),c=t.memoizedState,s!==r||f!==c||pi.current||ao?("function"==typeof l&&(go(t,n,l,r),c=t.memoizedState),(s=ao||bo(t,n,s,r,f,c,u))?(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=c),a.props=r,a.state=c,a.context=u,r=s):("function"==typeof a.componentDidMount&&(t.effectTag|=4),r=!1)}else a=t.stateNode,co(e,t),s=t.memoizedProps,a.props=t.type===t.elementType?s:Xi(t.type,s),c=a.context,"object"==typeof(u=n.contextType)&&null!==u?u=oo(u):u=vi(t,u=gi(n)?mi:hi.current),(d="function"==typeof(l=n.getDerivedStateFromProps)||"function"==typeof a.getSnapshotBeforeUpdate)||"function"!=typeof a.UNSAFE_componentWillReceiveProps&&"function"!=typeof a.componentWillReceiveProps||(s!==r||c!==u)&&wo(t,a,r,u),ao=!1,c=t.memoizedState,a.state=c,ho(t,r,a,i),f=t.memoizedState,s!==r||c!==f||pi.current||ao?("function"==typeof l&&(go(t,n,l,r),f=t.memoizedState),(l=ao||bo(t,n,s,r,c,f,u))?(d||"function"!=typeof a.UNSAFE_componentWillUpdate&&"function"!=typeof a.componentWillUpdate||("function"==typeof a.componentWillUpdate&&a.componentWillUpdate(r,f,u),"function"==typeof a.UNSAFE_componentWillUpdate&&a.UNSAFE_componentWillUpdate(r,f,u)),"function"==typeof a.componentDidUpdate&&(t.effectTag|=4),"function"==typeof a.getSnapshotBeforeUpdate&&(t.effectTag|=256)):("function"!=typeof a.componentDidUpdate||s===e.memoizedProps&&c===e.memoizedState||(t.effectTag|=4),"function"!=typeof a.getSnapshotBeforeUpdate||s===e.memoizedProps&&c===e.memoizedState||(t.effectTag|=256),t.memoizedProps=r,t.memoizedState=f),a.props=r,a.state=f,a.context=u,r=l):("function"!=typeof a.componentDidUpdate||s===e.memoizedProps&&c===e.memoizedState||(t.effectTag|=4),"function"!=typeof a.getSnapshotBeforeUpdate||s===e.memoizedProps&&c===e.memoizedState||(t.effectTag|=256),r=!1);return Ua(e,t,n,r,o,i)}function Ua(e,t,n,r,i,o){Ra(e,t);var a=0!=(64&t.effectTag);if(!r&&!a)return i&&xi(t,n,!1),Qa(e,t,o);r=t.stateNode,Pa.current=t;var s=a&&"function"!=typeof n.getDerivedStateFromError?null:r.render();return t.effectTag|=1,null!==e&&a?(t.child=Co(t,e.child,null,o),t.child=Co(t,null,s,o)):Na(e,t,s,o),t.memoizedState=r.state,i&&xi(t,n,!0),t.child}function qa(e){var t=e.stateNode;t.pendingContext?bi(0,t.pendingContext,t.pendingContext!==t.context):t.context&&bi(0,t.context,!1),Lo(e,t.containerInfo)}var za,Ha,Va,Wa,Ya={dehydrated:null,retryTime:0};function Ga(e,t,n){var r,i=t.mode,o=t.pendingProps,a=Bo.current,s=!1;if((r=0!=(64&t.effectTag))||(r=0!=(2&a)&&(null===e||null!==e.memoizedState)),r?(s=!0,t.effectTag&=-65):null!==e&&null===e.memoizedState||void 0===o.fallback||!0===o.unstable_avoidThisFallback||(a|=1),di(Bo,1&a),null===e){if(void 0!==o.fallback&&Ca(t),s){if(s=o.fallback,(o=Dc(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=Dc(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=Oo(t,null,i,n)}if(null!==e.memoizedState){if(i=(e=e.child).sibling,s){if(o=o.fallback,(n=Lc(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=Lc(i,o)).return=t,n.sibling=i,n.childExpirationTime=0,t.memoizedState=Ya,t.child=n,i}return n=Co(t,e.child,o.children,n),t.memoizedState=null,t.child=n}if(e=e.child,s){if(s=o.fallback,(o=Dc(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=Dc(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=Co(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),ro(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(Na(e,t,r.children,n),0!=(2&(r=Bo.current)))r=1&r|2,t.effectTag|=64;else{if(null!==e&&0!=(64&e.effectTag))e:for(e=t.child;null!==e;){if(13===e.tag)null!==e.memoizedState&&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(di(Bo,r),0==(2&t.mode))t.memoizedState=null;else switch(i){case"forwards":for(n=t.child,i=null;null!==n;)null!==(e=n.alternate)&&null===Fo(e)&&(i=n),n=n.sibling;null===(n=i)?(i=t.child,t.child=null):(i=n.sibling,n.sibling=null),$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===Fo(e)){t.child=i;break}e=i.sibling,i.sibling=n,n=i,i=e}$a(t,!0,n,null,o,t.lastEffect);break;case"together":$a(t,!1,null,null,void 0,t.lastEffect);break;default:t.memoizedState=null}return t.child}function Qa(e,t,n){null!==e&&(t.dependencies=e.dependencies);var r=t.expirationTime;if(0!==r&&vc(r),t.childExpirationTime<n)return null;if(null!==e&&t.child!==e.child)throw Error(a(153));if(null!==t.child){for(n=Lc(e=t.child,e.pendingProps),t.child=n,n.return=t;null!==e.sibling;)e=e.sibling,(n=n.sibling=Lc(e,e.pendingProps)).return=t;n.sibling=null}return t.child}function Za(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 Ja(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:return gi(t.type)&&yi(),null;case 3:return Io(),li(pi),li(hi),(n=t.stateNode).pendingContext&&(n.context=n.pendingContext,n.pendingContext=null),null!==e&&null!==e.child||!ja(t)||(t.effectTag|=4),Ha(t),null;case 5:Ro(t),n=No(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=No(Ao.current),ja(t)){r=t.stateNode,o=t.type;var s=t.memoizedProps;switch(r[Tn]=t,r[Cn]=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":xe(r,s),Gt("invalid",r),an(n,"onChange");break;case"select":r._wrapperState={wasMultiple:!!s.multiple},Gt("invalid",r),an(n,"onChange");break;case"textarea":Ae(r,s),Gt("invalid",r),an(n,"onChange")}for(var c in nn(o,s),e=null,s)if(s.hasOwnProperty(c)){var u=s[c];"children"===c?"string"==typeof u?r.textContent!==u&&(e=["children",u]):"number"==typeof u&&r.textContent!==""+u&&(e=["children",""+u]):V.hasOwnProperty(c)&&null!=u&&an(n,c)}switch(o){case"input":be(r),Se(r,s,!0);break;case"textarea":be(r),Me(r);break;case"select":case"option":break;default:"function"==typeof s.onClick&&(r.onclick=sn)}n=e,t.updateQueue=n,null!==n&&(t.effectTag|=4)}else{switch(c=9===n.nodeType?n:n.ownerDocument,e===on&&(e=Ie(o)),e===on?"script"===o?((e=c.createElement("div")).innerHTML="<script><\/script>",e=e.removeChild(e.firstChild)):"string"==typeof r.is?e=c.createElement(o,{is:r.is}):(e=c.createElement(o),"select"===o&&(c=e,r.multiple?c.multiple=!0:r.size&&(c.size=r.size))):e=c.createElementNS(e,o),e[Tn]=t,e[Cn]=r,za(e,t,!1,!1),t.stateNode=e,c=rn(o,r),o){case"iframe":case"object":case"embed":Gt("load",e),u=r;break;case"video":case"audio":for(u=0;u<Xe.length;u++)Gt(Xe[u],e);u=r;break;case"source":Gt("error",e),u=r;break;case"img":case"image":case"link":Gt("error",e),Gt("load",e),u=r;break;case"form":Gt("reset",e),Gt("submit",e),u=r;break;case"details":Gt("toggle",e),u=r;break;case"input":xe(e,r),u=we(e,r),Gt("invalid",e),an(n,"onChange");break;case"option":u=Ce(e,r);break;case"select":e._wrapperState={wasMultiple:!!r.multiple},u=i({},r,{value:void 0}),Gt("invalid",e),an(n,"onChange");break;case"textarea":Ae(e,r),u=je(e,r),Gt("invalid",e),an(n,"onChange");break;default:u=r}nn(o,u);var l=u;for(s in l)if(l.hasOwnProperty(s)){var d=l[s];"style"===s?en(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&&an(n,s):null!=d&&ve(e,s,d,c))}switch(o){case"input":be(e),Se(e,r,!1);break;case"textarea":be(e),Me(e);break;case"option":null!=r.value&&e.setAttribute("value",""+ge(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 u.onClick&&(e.onclick=sn)}bn(o,r)&&(t.effectTag|=4)}null!==t.ref&&(t.effectTag|=128)}return null;case 6:if(e&&null!=t.stateNode)Wa(e,t,e.memoizedProps,r);else{if("string"!=typeof r&&null===t.stateNode)throw Error(a(166));n=No(Mo.current),No(Ao.current),ja(t)?(n=t.stateNode,r=t.memoizedProps,n[Tn]=t,n.nodeValue!==r&&(t.effectTag|=4)):((n=(9===n.nodeType?n:n.ownerDocument).createTextNode(r))[Tn]=t,t.stateNode=n)}return null;case 13:return li(Bo),r=t.memoizedState,0!=(64&t.effectTag)?(t.expirationTime=n,t):(n=null!==r,r=!1,null===e?void 0!==t.memoizedProps.fallback&&ja(t):(r=null!==(o=e.memoizedState),n||null===o||null!==(o=e.child.sibling)&&(null!==(s=t.firstEffect)?(t.firstEffect=o,o.nextEffect=s):(t.firstEffect=t.lastEffect=o,o.nextEffect=null),o.effectTag=8)),n&&!r&&0!=(2&t.mode)&&(null===e&&!0!==t.memoizedProps.unstable_avoidThisFallback||0!=(1&Bo.current)?Rs===Cs&&(Rs=As):(Rs!==Cs&&Rs!==As||(Rs=Ps),0!==zs&&null!==Ls&&(qc(Ls,Ds),zc(Ls,zs)))),(n||r)&&(t.effectTag|=4),null);case 4:return Io(),Ha(t),null;case 10:return no(t),null;case 17:return gi(t.type)&&yi(),null;case 19:if(li(Bo),null===(r=t.memoizedState))return null;if(o=0!=(64&t.effectTag),null===(s=r.rendering)){if(o)Za(r,!1);else if(Rs!==Cs||null!==e&&0!=(64&e.effectTag))for(s=t.child;null!==s;){if(null!==(e=Fo(s))){for(t.effectTag|=64,Za(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 di(Bo,1&Bo.current|2),t.child}s=s.sibling}}else{if(!o)if(null!==(e=Fo(s))){if(t.effectTag|=64,o=!0,null!==(n=e.updateQueue)&&(t.updateQueue=n,t.effectTag|=4),Za(r,!0),null===r.tail&&"hidden"===r.tailMode&&!s.alternate)return null!==(t=t.lastEffect=r.lastEffect)&&(t.nextEffect=null),null}else 2*qi()-r.renderingStartTime>r.tailExpiration&&1<n&&(t.effectTag|=64,o=!0,Za(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=qi()+500),n=r.tail,r.rendering=n,r.tail=n.sibling,r.lastEffect=t.lastEffect,r.renderingStartTime=qi(),n.sibling=null,t=Bo.current,di(Bo,o?1&t|2:1&t),n):null}throw Error(a(156,t.tag))}function es(e){switch(e.tag){case 1:gi(e.type)&&yi();var t=e.effectTag;return 4096&t?(e.effectTag=-4097&t|64,e):null;case 3:if(Io(),li(pi),li(hi),0!=(64&(t=e.effectTag)))throw Error(a(285));return e.effectTag=-4097&t|64,e;case 5:return Ro(e),null;case 13:return li(Bo),4096&(t=e.effectTag)?(e.effectTag=-4097&t|64,e):null;case 19:return li(Bo),null;case 4:return Io(),null;case 10:return no(e),null;default:return null}}function ts(e,t){return{value:e,source:t,stack:R(t)}}za=function(e,t){for(var n=t.child;null!==n;){if(5===n.tag||6===n.tag)e.appendChild(n.stateNode);else if(4!==n.tag&&null!==n.child){n.child.return=n,n=n.child;continue}if(n===t)break;for(;null===n.sibling;){if(null===n.return||n.return===t)return;n=n.return}n.sibling.return=n.return,n=n.sibling}},Ha=function(){},Va=function(e,t,n,r,o){var a=e.memoizedProps;if(a!==r){var s,c,u=t.stateNode;switch(No(Ao.current),e=null,n){case"input":a=we(u,a),r=we(u,r),e=[];break;case"option":a=Ce(u,a),r=Ce(u,r),e=[];break;case"select":a=i({},a,{value:void 0}),r=i({},r,{value:void 0}),e=[];break;case"textarea":a=je(u,a),r=je(u,r),e=[];break;default:"function"!=typeof a.onClick&&"function"==typeof r.onClick&&(u.onclick=sn)}for(s in nn(n,r),n=null,a)if(!r.hasOwnProperty(s)&&a.hasOwnProperty(s)&&null!=a[s])if("style"===s)for(c in u=a[s])u.hasOwnProperty(c)&&(n||(n={}),n[c]="");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(u=null!=a?a[s]:void 0,r.hasOwnProperty(s)&&l!==u&&(null!=l||null!=u))if("style"===s)if(u){for(c in u)!u.hasOwnProperty(c)||l&&l.hasOwnProperty(c)||(n||(n={}),n[c]="");for(c in l)l.hasOwnProperty(c)&&u[c]!==l[c]&&(n||(n={}),n[c]=l[c])}else n||(e||(e=[]),e.push(s,n)),n=l;else"dangerouslySetInnerHTML"===s?(l=l?l.__html:void 0,u=u?u.__html:void 0,null!=l&&u!==l&&(e=e||[]).push(s,l)):"children"===s?u===l||"string"!=typeof l&&"number"!=typeof l||(e=e||[]).push(s,""+l):"suppressContentEditableWarning"!==s&&"suppressHydrationWarning"!==s&&(V.hasOwnProperty(s)?(null!=l&&an(o,s),e||u===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 ns="function"==typeof WeakSet?WeakSet:Set;function rs(e,t){var n=t.source,r=t.stack;null===r&&null!==n&&(r=R(n)),null!==n&&D(n.type),t=t.value,null!==e&&1===e.tag&&D(e.type);try{console.error(t)}catch(e){setTimeout(function(){throw e})}}function is(e){var t=e.ref;if(null!==t)if("function"==typeof t)try{t(null)}catch(t){Cc(e,t)}else t.current=null}function os(e,t){switch(t.tag){case 0:case 11:case 15:case 22: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:Xi(t.type,n),r),e.__reactInternalSnapshotBeforeUpdate=t}return;case 3:case 5:case 6:case 4:case 17:return}throw Error(a(163))}function as(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 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.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 ss(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:Xi(n.type,t.memoizedProps);e.componentDidUpdate(r,t.memoizedState,e.__reactInternalSnapshotBeforeUpdate)}return void(null!==(t=n.updateQueue)&&po(n,t,e));case 3:if(null!==(t=n.updateQueue)){if(e=null,null!==n.child)switch(n.child.tag){case 5:e=n.child.stateNode;break;case 1:e=n.child.stateNode}po(n,t,e)}return;case 5:return e=n.stateNode,void(null===t&&4&n.effectTag&&bn(n.type,n.memoizedProps)&&e.focus());case 6:case 4:case 12:return;case 13:return void(null===n.memoizedState&&(n=n.alternate,null!==n&&(n=n.memoizedState,null!==n&&(n=n.dehydrated,null!==n&&Dt(n)))));case 19:case 17:case 20:case 21:return}throw Error(a(163))}function us(e,t,n){switch("function"==typeof Ac&&Ac(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;Vi(97<n?97:n,function(){var e=r;do{var n=e.destroy;if(void 0!==n){var i=t;try{n()}catch(e){Cc(i,e)}}e=e.next}while(e!==r)})}break;case 1:is(t),"function"==typeof(n=t.stateNode).componentWillUnmount&&function(e,t){try{t.props=e.memoizedProps,t.state=e.memoizedState,t.componentWillUnmount()}catch(t){Cc(e,t)}}(t,n);break;case 5:is(t);break;case 4:hs(e,t,n)}}function ls(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&&ls(t)}function ds(e){return 5===e.tag||3===e.tag||4===e.tag}function fs(e){e:{for(var t=e.return;null!==t;){if(ds(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||ds(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?function e(t,n,r){var i=t.tag,o=5===i||6===i;if(o)t=o?t.stateNode:t.stateNode.instance,n?8===r.nodeType?r.parentNode.insertBefore(t,n):r.insertBefore(t,n):(8===r.nodeType?(n=r.parentNode,n.insertBefore(t,r)):(n=r,n.appendChild(t)),r=r._reactRootContainer,null!=r||null!==n.onclick||(n.onclick=sn));else if(4!==i&&(t=t.child,null!==t))for(e(t,n,r),t=t.sibling;null!==t;)e(t,n,r),t=t.sibling}(e,n,t):function e(t,n,r){var i=t.tag,o=5===i||6===i;if(o)t=o?t.stateNode:t.stateNode.instance,n?r.insertBefore(t,n):r.appendChild(t);else if(4!==i&&(t=t.child,null!==t))for(e(t,n,r),t=t.sibling;null!==t;)e(t,n,r),t=t.sibling}(e,n,t)}function hs(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 c=e,u=o,l=n,d=u;;)if(us(c,d,l),null!==d.child&&4!==d.tag)d.child.return=d,d=d.child;else{if(d===u)break e;for(;null===d.sibling;){if(null===d.return||d.return===u)break e;d=d.return}d.sibling.return=d.return,d=d.sibling}i?(c=r,u=o.stateNode,8===c.nodeType?c.parentNode.removeChild(u):c.removeChild(u)):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(us(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 ps(e,t){switch(t.tag){case 0:case 11:case 14:case 15:case 22:return void as(3,t);case 1: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[Cn]=r,"input"===e&&"radio"===r.type&&null!=r.name&&ke(n,r),rn(e,i),t=rn(e,r),i=0;i<o.length;i+=2){var s=o[i],c=o[i+1];"style"===s?en(n,c):"dangerouslySetInnerHTML"===s?Fe(n,c):"children"===s?Ue(n,c):ve(n,s,c,t)}switch(e){case"input":Ee(n,r);break;case"textarea":Pe(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,Dt(t.containerInfo)));case 12:return;case 13:if(n=t,null===t.memoizedState?r=!1:(r=!0,n=t.child,Vs=qi()),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=Jt("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 ms(t);case 19:return void ms(t);case 17:return}throw Error(a(163))}function ms(e){var t=e.updateQueue;if(null!==t){e.updateQueue=null;var n=e.stateNode;null===n&&(n=e.stateNode=new ns),t.forEach(function(t){var r=function(e,t){var n=e.stateNode;null!==n&&n.delete(t),0==(t=0)&&(t=ic(t=rc(),e,null)),null!==(e=ac(e,t))&&cc(e)}.bind(null,e,t);n.has(t)||(n.add(t),t.then(r,r))})}}var vs="function"==typeof WeakMap?WeakMap:Map;function gs(e,t,n){(n=uo(n,null)).tag=3,n.payload={element:null};var r=t.value;return n.callback=function(){Gs||(Gs=!0,Ks=r),rs(e,t)},n}function ys(e,t,n){(n=uo(n,null)).tag=3;var r=e.type.getDerivedStateFromError;if("function"==typeof r){var i=t.value;n.payload=function(){return rs(e,t),r(i)}}var o=e.stateNode;return null!==o&&"function"==typeof o.componentDidCatch&&(n.callback=function(){"function"!=typeof r&&(null===$s?$s=new Set([this]):$s.add(this),rs(e,t));var n=t.stack;this.componentDidCatch(t.value,{componentStack:null!==n?n:""})}),n}var bs,_s=Math.ceil,ws=g.ReactCurrentDispatcher,xs=g.ReactCurrentOwner,ks=0,Es=8,Ss=16,Ts=32,Cs=0,Os=1,js=2,As=3,Ps=4,Ms=5,Ns=ks,Ls=null,Is=null,Ds=0,Rs=Cs,Bs=null,Fs=1073741823,Us=1073741823,qs=null,zs=0,Hs=!1,Vs=0,Ws=500,Ys=null,Gs=!1,Ks=null,$s=null,Xs=!1,Qs=null,Zs=90,Js=null,ec=0,tc=null,nc=0;function rc(){return(Ns&(Ss|Ts))!==ks?1073741821-(qi()/10|0):0!==nc?nc:nc=1073741821-(qi()/10|0)}function ic(e,t,n){if(0==(2&(t=t.mode)))return 1073741823;var r=zi();if(0==(4&t))return 99===r?1073741823:1073741822;if((Ns&Ss)!==ks)return Ds;if(null!==n)e=$i(e,0|n.timeoutMs||5e3,250);else switch(r){case 99:e=1073741823;break;case 98:e=$i(e,150,100);break;case 97:case 96:e=$i(e,5e3,250);break;case 95:e=2;break;default:throw Error(a(326))}return null!==Ls&&e===Ds&&--e,e}function oc(e,t){if(50<ec)throw ec=0,tc=null,Error(a(185));if(null!==(e=ac(e,t))){var n=zi();1073741823===t?(Ns&Es)!==ks&&(Ns&(Ss|Ts))===ks?uc(e):(cc(e),Ns===ks&&Gi()):cc(e),(4&Ns)===ks||98!==n&&99!==n||(null===Js?Js=new Map([[e,t]]):(void 0===(n=Js.get(e))||n>t)&&Js.set(e,t))}}function ac(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&&(vc(t),Rs===Ps&&qc(i,Ds)),zc(i,t)),i}function sc(e){var t=e.lastExpiredTime;if(0!==t)return t;if(!Uc(e,t=e.firstPendingTime))return t;var n=e.lastPingedTime;return 2>=(e=n>(e=e.nextKnownPendingLevel)?n:e)&&t!==e?0:e}function cc(e){if(0!==e.lastExpiredTime)e.callbackExpirationTime=1073741823,e.callbackPriority=99,e.callbackNode=Yi(uc.bind(null,e));else{var t=sc(e),n=e.callbackNode;if(0===t)null!==n&&(e.callbackNode=null,e.callbackExpirationTime=0,e.callbackPriority=90);else{var r=rc();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!==Li&&Si(n)}e.callbackExpirationTime=t,e.callbackPriority=r,t=1073741823===t?Yi(uc.bind(null,e)):Wi(r,function e(t,n){nc=0;if(n)return n=rc(),Hc(t,n),cc(t),null;var r=sc(t);if(0!==r){if(n=t.callbackNode,(Ns&(Ss|Ts))!==ks)throw Error(a(327));if(Ec(),t===Ls&&r===Ds||fc(t,r),null!==Is){var i=Ns;Ns|=Ss;for(var o=pc();;)try{yc();break}catch(e){hc(t,e)}if(to(),Ns=i,ws.current=o,Rs===Os)throw n=Bs,fc(t,r),qc(t,r),cc(t),n;if(null===Is)switch(o=t.finishedWork=t.current.alternate,t.finishedExpirationTime=r,i=Rs,Ls=null,i){case Cs:case Os:throw Error(a(345));case js:Hc(t,2<r?2:r);break;case As:if(qc(t,r),i=t.lastSuspendedTime,r===i&&(t.nextKnownPendingLevel=wc(o)),1073741823===Fs&&10<(o=Vs+Ws-qi())){if(Hs){var s=t.lastPingedTime;if(0===s||s>=r){t.lastPingedTime=r,fc(t,r);break}}if(0!==(s=sc(t))&&s!==r)break;if(0!==i&&i!==r){t.lastPingedTime=i;break}t.timeoutHandle=wn(xc.bind(null,t),o);break}xc(t);break;case Ps:if(qc(t,r),i=t.lastSuspendedTime,r===i&&(t.nextKnownPendingLevel=wc(o)),Hs&&(0===(o=t.lastPingedTime)||o>=r)){t.lastPingedTime=r,fc(t,r);break}if(0!==(o=sc(t))&&o!==r)break;if(0!==i&&i!==r){t.lastPingedTime=i;break}if(1073741823!==Us?i=10*(1073741821-Us)-qi():1073741823===Fs?i=0:(i=10*(1073741821-Fs)-5e3,o=qi(),r=10*(1073741821-r)-o,0>(i=o-i)&&(i=0),i=(120>i?120:480>i?480:1080>i?1080:1920>i?1920:3e3>i?3e3:4320>i?4320:1960*_s(i/1960))-i,r<i&&(i=r)),10<i){t.timeoutHandle=wn(xc.bind(null,t),i);break}xc(t);break;case Ms:if(1073741823!==Fs&&null!==qs){s=Fs;var c=qs;if(0>=(i=0|c.busyMinDurationMs)?i=0:(o=0|c.busyDelayMs,s=qi()-(10*(1073741821-s)-(0|c.timeoutMs||5e3)),i=s<=o?0:o+i-s),10<i){qc(t,r),t.timeoutHandle=wn(xc.bind(null,t),i);break}}xc(t);break;default:throw Error(a(329))}if(cc(t),t.callbackNode===n)return e.bind(null,t)}}return null}.bind(null,e),{timeout:10*(1073741821-t)-qi()}),e.callbackNode=t}}}function uc(e){var t=e.lastExpiredTime;if(t=0!==t?t:1073741823,(Ns&(Ss|Ts))!==ks)throw Error(a(327));if(Ec(),e===Ls&&t===Ds||fc(e,t),null!==Is){var n=Ns;Ns|=Ss;for(var r=pc();;)try{gc();break}catch(t){hc(e,t)}if(to(),Ns=n,ws.current=r,Rs===Os)throw n=Bs,fc(e,t),qc(e,t),cc(e),n;if(null!==Is)throw Error(a(261));e.finishedWork=e.current.alternate,e.finishedExpirationTime=t,Ls=null,xc(e),cc(e)}return null}function lc(e,t){var n=Ns;Ns|=1;try{return e(t)}finally{(Ns=n)===ks&&Gi()}}function dc(e,t){var n=Ns;Ns&=-2,Ns|=Es;try{return e(t)}finally{(Ns=n)===ks&&Gi()}}function fc(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)&&yi();break;case 3:Io(),li(pi),li(hi);break;case 5:Ro(r);break;case 4:Io();break;case 13:case 19:li(Bo);break;case 10:no(r)}n=n.return}Ls=e,Is=Lc(e.current,null),Ds=t,Rs=Cs,Bs=null,Us=Fs=1073741823,qs=null,zs=0,Hs=!1}function hc(e,t){for(;;){try{if(to(),qo.current=ya,Go)for(var n=Vo.memoizedState;null!==n;){var r=n.queue;null!==r&&(r.pending=null),n=n.next}if(Ho=0,Yo=Wo=Vo=null,Go=!1,null===Is||null===Is.return)return Rs=Os,Bs=t,Is=null;e:{var i=e,o=Is.return,a=Is,s=t;if(t=Ds,a.effectTag|=2048,a.firstEffect=a.lastEffect=null,null!==s&&"object"==typeof s&&"function"==typeof s.then){var c=s;if(0==(2&a.mode)){var u=a.alternate;u?(a.memoizedState=u.memoizedState,a.expirationTime=u.expirationTime):a.memoizedState=null}var l=0!=(1&Bo.current),d=o;do{var f;if(f=13===d.tag){var h=d.memoizedState;if(null!==h)f=null!==h.dehydrated;else{var p=d.memoizedProps;f=void 0!==p.fallback&&(!0!==p.unstable_avoidThisFallback||!l)}}if(f){var m=d.updateQueue;if(null===m){var v=new Set;v.add(c),d.updateQueue=v}else m.add(c);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=uo(1073741823,null);g.tag=2,lo(a,g)}a.expirationTime=1073741823;break e}s=void 0,a=t;var y=i.pingCache;if(null===y?(y=i.pingCache=new vs,s=new Set,y.set(c,s)):void 0===(s=y.get(c))&&(s=new Set,y.set(c,s)),!s.has(a)){s.add(a);var b=Oc.bind(null,i,c,a);c.then(b,b)}d.effectTag|=4096,d.expirationTime=t;break e}d=d.return}while(null!==d);s=Error((D(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."+R(a))}Rs!==Ms&&(Rs=js),s=ts(s,a),d=o;do{switch(d.tag){case 3:c=s,d.effectTag|=4096,d.expirationTime=t,fo(d,gs(d,c,t));break e;case 1:c=s;var _=d.type,w=d.stateNode;if(0==(64&d.effectTag)&&("function"==typeof _.getDerivedStateFromError||null!==w&&"function"==typeof w.componentDidCatch&&(null===$s||!$s.has(w)))){d.effectTag|=4096,d.expirationTime=t,fo(d,ys(d,c,t));break e}}d=d.return}while(null!==d)}Is=_c(Is)}catch(e){t=e;continue}break}}function pc(){var e=ws.current;return ws.current=ya,null===e?ya:e}function mc(e,t){e<Fs&&2<e&&(Fs=e),null!==t&&e<Us&&2<e&&(Us=e,qs=t)}function vc(e){e>zs&&(zs=e)}function gc(){for(;null!==Is;)Is=bc(Is)}function yc(){for(;null!==Is&&!Ii();)Is=bc(Is)}function bc(e){var t=bs(e.alternate,e,Ds);return e.memoizedProps=e.pendingProps,null===t&&(t=_c(e)),xs.current=null,t}function _c(e){Is=e;do{var t=Is.alternate;if(e=Is.return,0==(2048&Is.effectTag)){if(t=Ja(t,Is,Ds),1===Ds||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=es(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===Cs&&(Rs=Ms),null}function wc(e){var t=e.expirationTime;return t>(e=e.childExpirationTime)?t:e}function xc(e){var t=zi();return Vi(99,function(e,t){do{Ec()}while(null!==Qs);if((Ns&(Ss|Ts))!==ks)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=wc(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,Ds=0),1<n.effectTag?null!==n.lastEffect?(n.lastEffect.nextEffect=n,i=n.firstEffect):i=n:i=n.firstEffect,null!==i){var o=Ns;Ns|=Ts,xs.current=null,gn=Yt;var s=dn();if(fn(s)){if("selectionStart"in s)var c={start:s.selectionStart,end:s.selectionEnd};else e:{var u=(c=(c=s.ownerDocument)&&c.defaultView||window).getSelection&&c.getSelection();if(u&&0!==u.rangeCount){c=u.anchorNode;var l=u.anchorOffset,d=u.focusNode;u=u.focusOffset;try{c.nodeType,d.nodeType}catch(e){c=null;break e}var f=0,h=-1,p=-1,m=0,v=0,g=s,y=null;t:for(;;){for(var b;g!==c||0!==l&&3!==g.nodeType||(h=f+l),g!==d||0!==u&&3!==g.nodeType||(p=f+u),3===g.nodeType&&(f+=g.nodeValue.length),null!==(b=g.firstChild);)y=g,g=b;for(;;){if(g===s)break t;if(y===c&&++m===l&&(h=f),y===d&&++v===u&&(p=f),null!==(b=g.nextSibling))break;y=(g=y).parentNode}g=b}c=-1===h||-1===p?null:{start:h,end:p}}else c=null}c=c||{start:0,end:0}}else c=null;yn={activeElementDetached:null,focusedElem:s,selectionRange:c},Yt=!1,Ys=i;do{try{kc()}catch(e){if(null===Ys)throw Error(a(330));Cc(Ys,e),Ys=Ys.nextEffect}}while(null!==Ys);Ys=i;do{try{for(s=e,c=t;null!==Ys;){var _=Ys.effectTag;if(16&_&&Ue(Ys.stateNode,""),128&_){var w=Ys.alternate;if(null!==w){var x=w.ref;null!==x&&("function"==typeof x?x(null):x.current=null)}}switch(1038&_){case 2:fs(Ys),Ys.effectTag&=-3;break;case 6:fs(Ys),Ys.effectTag&=-3,ps(Ys.alternate,Ys);break;case 1024:Ys.effectTag&=-1025;break;case 1028:Ys.effectTag&=-1025,ps(Ys.alternate,Ys);break;case 4:ps(Ys.alternate,Ys);break;case 8:hs(s,l=Ys,c),ls(l)}Ys=Ys.nextEffect}}catch(e){if(null===Ys)throw Error(a(330));Cc(Ys,e),Ys=Ys.nextEffect}}while(null!==Ys);if(x=yn,w=dn(),_=x.focusedElem,c=x.selectionRange,w!==_&&_&&_.ownerDocument&&function e(t,n){return!(!t||!n)&&(t===n||(!t||3!==t.nodeType)&&(n&&3===n.nodeType?e(t,n.parentNode):"contains"in t?t.contains(n):!!t.compareDocumentPosition&&!!(16&t.compareDocumentPosition(n))))}(_.ownerDocument.documentElement,_)){null!==c&&fn(_)&&(w=c.start,void 0===(x=c.end)&&(x=w),"selectionStart"in _?(_.selectionStart=w,_.selectionEnd=Math.min(x,_.value.length)):(x=(w=_.ownerDocument||document)&&w.defaultView||window).getSelection&&(x=x.getSelection(),l=_.textContent.length,s=Math.min(c.start,l),c=void 0===c.end?s:Math.min(c.end,l),!x.extend&&s>c&&(l=c,c=s,s=l),l=ln(_,s),d=ln(_,c),l&&d&&(1!==x.rangeCount||x.anchorNode!==l.node||x.anchorOffset!==l.offset||x.focusNode!==d.node||x.focusOffset!==d.offset)&&((w=w.createRange()).setStart(l.node,l.offset),x.removeAllRanges(),s>c?(x.addRange(w),x.extend(d.node,d.offset)):(w.setEnd(d.node,d.offset),x.addRange(w))))),w=[];for(x=_;x=x.parentNode;)1===x.nodeType&&w.push({element:x,left:x.scrollLeft,top:x.scrollTop});for("function"==typeof _.focus&&_.focus(),_=0;_<w.length;_++)(x=w[_]).element.scrollLeft=x.left,x.element.scrollTop=x.top}Yt=!!gn,yn=gn=null,e.current=n,Ys=i;do{try{for(_=e;null!==Ys;){var k=Ys.effectTag;if(36&k&&cs(_,Ys.alternate,Ys),128&k){w=void 0;var E=Ys.ref;if(null!==E){var S=Ys.stateNode;switch(Ys.tag){case 5:w=S;break;default:w=S}"function"==typeof E?E(w):E.current=w}}Ys=Ys.nextEffect}}catch(e){if(null===Ys)throw Error(a(330));Cc(Ys,e),Ys=Ys.nextEffect}}while(null!==Ys);Ys=null,Di(),Ns=o}else e.current=n;if(Xs)Xs=!1,Qs=e,Zs=t;else for(Ys=i;null!==Ys;)t=Ys.nextEffect,Ys.nextEffect=null,Ys=t;if(0===(t=e.firstPendingTime)&&($s=null),1073741823===t?e===tc?ec++:(ec=0,tc=e):ec=0,"function"==typeof jc&&jc(n.stateNode,r),cc(e),Gs)throw Gs=!1,e=Ks,Ks=null,e;return(Ns&Es)!==ks?null:(Gi(),null)}.bind(null,e,t)),null}function kc(){for(;null!==Ys;){var e=Ys.effectTag;0!=(256&e)&&os(Ys.alternate,Ys),0==(512&e)||Xs||(Xs=!0,Wi(97,function(){return Ec(),null})),Ys=Ys.nextEffect}}function Ec(){if(90!==Zs){var e=97<Zs?97:Zs;return Zs=90,Vi(e,Sc)}}function Sc(){if(null===Qs)return!1;var e=Qs;if(Qs=null,(Ns&(Ss|Ts))!==ks)throw Error(a(331));var t=Ns;for(Ns|=Ts,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:as(5,n),ss(5,n)}}catch(t){if(null===e)throw Error(a(330));Cc(e,t)}n=e.nextEffect,e.nextEffect=null,e=n}return Ns=t,Gi(),!0}function Tc(e,t,n){lo(e,t=gs(e,t=ts(n,t),1073741823)),null!==(e=ac(e,1073741823))&&cc(e)}function Cc(e,t){if(3===e.tag)Tc(e,e,t);else for(var n=e.return;null!==n;){if(3===n.tag){Tc(n,e,t);break}if(1===n.tag){var r=n.stateNode;if("function"==typeof n.type.getDerivedStateFromError||"function"==typeof r.componentDidCatch&&(null===$s||!$s.has(r))){lo(n,e=ys(n,e=ts(t,e),1073741823)),null!==(n=ac(n,1073741823))&&cc(n);break}}n=n.return}}function Oc(e,t,n){var r=e.pingCache;null!==r&&r.delete(t),Ls===e&&Ds===n?Rs===Ps||Rs===As&&1073741823===Fs&&qi()-Vs<Ws?fc(e,Ds):Hs=!0:Uc(e,n)&&(0!==(t=e.lastPingedTime)&&t<n||(e.lastPingedTime=n,cc(e)))}bs=function(e,t,n){var r=t.expirationTime;if(null!==e){var i=t.pendingProps;if(e.memoizedProps!==i||pi.current)Ma=!0;else{if(r<n){switch(Ma=!1,t.tag){case 3:qa(t),Aa();break;case 5:if(Do(t),4&t.mode&&1!==n&&i.hidden)return t.expirationTime=t.childExpirationTime=1,null;break;case 1:gi(t.type)&&wi(t);break;case 4:Lo(t,t.stateNode.containerInfo);break;case 10:r=t.memoizedProps.value,i=t.type._context,di(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):(di(Bo,1&Bo.current),null!==(t=Qa(e,t,n))?t.sibling:null);di(Bo,1&Bo.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),di(Bo,Bo.current),!r)return null}return Qa(e,t,n)}Ma=!1}}else Ma=!1;switch(t.expirationTime=0,t.tag){case 2:if(r=t.type,null!==e&&(e.alternate=null,t.alternate=null,t.effectTag|=2),e=t.pendingProps,i=vi(t,hi.current),io(t,n),i=Xo(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,gi(r)){var o=!0;wi(t)}else o=!1;t.memoizedState=null!==i.state&&void 0!==i.state?i.state:null,so(t);var s=r.getDerivedStateFromProps;"function"==typeof s&&go(t,r,s,e),i.updater=yo,t.stateNode=i,i._reactInternalFiber=t,xo(t,r,e,n),t=Ua(null,t,r,!0,o,n)}else t.tag=0,Na(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 Nc(e)?1:0;if(null!=e){if((e=e.$$typeof)===O)return 11;if(e===P)return 14}return 2}(i),e=Xi(i,e),o){case 0:t=Ba(null,t,i,e,n);break e;case 1:t=Fa(null,t,i,e,n);break e;case 11:t=La(null,t,i,e,n);break e;case 14:t=Ia(null,t,i,Xi(i.type,e),r,n);break e}throw Error(a(306,i,""))}return t;case 0:return r=t.type,i=t.pendingProps,Ba(e,t,r,i=t.elementType===r?i:Xi(r,i),n);case 1:return r=t.type,i=t.pendingProps,Fa(e,t,r,i=t.elementType===r?i:Xi(r,i),n);case 3:if(qa(t),r=t.updateQueue,null===e||null===r)throw Error(a(282));if(r=t.pendingProps,i=null!==(i=t.memoizedState)?i.element:null,co(e,t),ho(t,r,null,n),(r=t.memoizedState.element)===i)Aa(),t=Qa(e,t,n);else{if((i=t.stateNode.hydrate)&&(ka=kn(t.stateNode.containerInfo.firstChild),xa=t,i=Ea=!0),i)for(n=Oo(t,null,r,n),t.child=n;n;)n.effectTag=-3&n.effectTag|1024,n=n.sibling;else Na(e,t,r,n),Aa();t=t.child}return t;case 5:return Do(t),null===e&&Ca(t),r=t.type,i=t.pendingProps,o=null!==e?e.memoizedProps:null,s=i.children,_n(r,i)?s=null:null!==o&&_n(r,o)&&(t.effectTag|=16),Ra(e,t),4&t.mode&&1!==n&&i.hidden?(t.expirationTime=t.childExpirationTime=1,t=null):(Na(e,t,s,n),t=t.child),t;case 6:return null===e&&Ca(t),null;case 13:return Ga(e,t,n);case 4:return Lo(t,t.stateNode.containerInfo),r=t.pendingProps,null===e?t.child=Co(t,null,r,n):Na(e,t,r,n),t.child;case 11:return r=t.type,i=t.pendingProps,La(e,t,r,i=t.elementType===r?i:Xi(r,i),n);case 7:return Na(e,t,t.pendingProps,n),t.child;case 8:case 12:return Na(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 c=t.type._context;if(di(Qi,c._currentValue),c._currentValue=o,null!==s)if(c=s.value,0===(o=Fr(c,o)?0:0|("function"==typeof r._calculateChangedBits?r._calculateChangedBits(c,o):1073741823))){if(s.children===i.children&&!pi.current){t=Qa(e,t,n);break e}}else for(null!==(c=t.child)&&(c.return=t);null!==c;){var u=c.dependencies;if(null!==u){s=c.child;for(var l=u.firstContext;null!==l;){if(l.context===r&&0!=(l.observedBits&o)){1===c.tag&&((l=uo(n,null)).tag=2,lo(c,l)),c.expirationTime<n&&(c.expirationTime=n),null!==(l=c.alternate)&&l.expirationTime<n&&(l.expirationTime=n),ro(c.return,n),u.expirationTime<n&&(u.expirationTime=n);break}l=l.next}}else s=10===c.tag&&c.type===t.type?null:c.child;if(null!==s)s.return=c;else for(s=c;null!==s;){if(s===t){s=null;break}if(null!==(c=s.sibling)){c.return=s.return,s=c;break}s=s.return}c=s}Na(e,t,i.children,n),t=t.child}return t;case 9:return i=t.type,r=(o=t.pendingProps).children,io(t,n),r=r(i=oo(i,o.unstable_observedBits)),t.effectTag|=1,Na(e,t,r,n),t.child;case 14:return o=Xi(i=t.type,t.pendingProps),Ia(e,t,i,o=Xi(i.type,o),r,n);case 15:return Da(e,t,t.type,t.pendingProps,r,n);case 17:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:Xi(r,i),null!==e&&(e.alternate=null,t.alternate=null,t.effectTag|=2),t.tag=1,gi(r)?(e=!0,wi(t)):e=!1,io(t,n),_o(t,r,i),xo(t,r,i,n),Ua(null,t,r,!0,e,n);case 19:return Xa(e,t,n)}throw Error(a(156,t.tag))};var jc=null,Ac=null;function Pc(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 Mc(e,t,n,r){return new Pc(e,t,n,r)}function Nc(e){return!(!(e=e.prototype)||!e.isReactComponent)}function Lc(e,t){var n=e.alternate;return null===n?((n=Mc(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 Ic(e,t,n,r,i,o){var s=2;if(r=e,"function"==typeof e)Nc(e)&&(s=1);else if("string"==typeof e)s=5;else e:switch(e){case x:return Dc(n.children,i,o,t);case C:s=8,i|=7;break;case k:s=8,i|=1;break;case E:return(e=Mc(12,n,t,8|i)).elementType=E,e.type=E,e.expirationTime=o,e;case j:return(e=Mc(13,n,t,i)).type=j,e.elementType=j,e.expirationTime=o,e;case A:return(e=Mc(19,n,t,i)).elementType=A,e.expirationTime=o,e;default:if("object"==typeof e&&null!==e)switch(e.$$typeof){case S:s=10;break e;case T:s=9;break e;case O:s=11;break e;case P:s=14;break e;case M:s=16,r=null;break e;case N:s=22;break e}throw Error(a(130,null==e?e:typeof e,""))}return(t=Mc(s,n,t,i)).elementType=e,t.type=r,t.expirationTime=o,t}function Dc(e,t,n,r){return(e=Mc(7,e,r,t)).expirationTime=n,e}function Rc(e,t,n){return(e=Mc(6,e,null,t)).expirationTime=n,e}function Bc(e,t,n){return(t=Mc(4,null!==e.children?e.children:[],e.key,t)).expirationTime=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function Fc(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 Uc(e,t){var n=e.firstSuspendedTime;return e=e.lastSuspendedTime,0!==n&&n>=t&&e<=t}function qc(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 zc(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 Hc(e,t){var n=e.lastExpiredTime;(0===n||n>t)&&(e.lastExpiredTime=t)}function Vc(e,t,n,r){var i=t.current,o=rc(),s=mo.suspense;o=ic(o,i,s);e:if(n){t:{if(Je(n=n._reactInternalFiber)!==n||1!==n.tag)throw Error(a(170));var c=n;do{switch(c.tag){case 3:c=c.stateNode.context;break t;case 1:if(gi(c.type)){c=c.stateNode.__reactInternalMemoizedMergedChildContext;break t}}c=c.return}while(null!==c);throw Error(a(171))}if(1===n.tag){var u=n.type;if(gi(u)){n=_i(n,u,c);break e}}n=c}else n=fi;return null===t.context?t.context=n:t.pendingContext=n,(t=uo(o,s)).payload={element:e},null!==(r=void 0===r?null:r)&&(t.callback=r),lo(i,t),oc(i,o),o}function Wc(e){if(!(e=e.current).child)return null;switch(e.child.tag){case 5:default:return e.child.stateNode}}function Yc(e,t){null!==(e=e.memoizedState)&&null!==e.dehydrated&&e.retryTime<t&&(e.retryTime=t)}function Gc(e,t){Yc(e,t),(e=e.alternate)&&Yc(e,t)}function Kc(e,t,n){var r=new Fc(e,t,n=null!=n&&!0===n.hydrate),i=Mc(3,null,null,2===t?7:1===t?3:0);r.current=i,i.stateNode=r,so(i),e[On]=r.current,n&&0!==t&&function(e,t){var n=Ze(t);Tt.forEach(function(e){pt(e,t,n)}),Ct.forEach(function(e){pt(e,t,n)})}(0,9===e.nodeType?e:e.ownerDocument),this._internalRoot=r}function $c(e){return!(!e||1!==e.nodeType&&9!==e.nodeType&&11!==e.nodeType&&(8!==e.nodeType||" react-mount-point-unstable "!==e.nodeValue))}function Xc(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=Wc(a);s.call(e)}}Vc(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 Kc(e,0,t?{hydrate:!0}:void 0)}(n,r),a=o._internalRoot,"function"==typeof i){var c=i;i=function(){var e=Wc(a);c.call(e)}}dc(function(){Vc(t,a,e,i)})}return Wc(a)}function Qc(e,t){var n=2<arguments.length&&void 0!==arguments[2]?arguments[2]:null;if(!$c(t))throw Error(a(200));return function(e,t,n){var r=3<arguments.length&&void 0!==arguments[3]?arguments[3]:null;return{$$typeof:w,key:null==r?null:""+r,children:e,containerInfo:t,implementation:n}}(e,t,null,n)}Kc.prototype.render=function(e){Vc(e,this._internalRoot,null,null)},Kc.prototype.unmount=function(){var e=this._internalRoot,t=e.containerInfo;Vc(null,e,null,function(){t[On]=null})},mt=function(e){if(13===e.tag){var t=$i(rc(),150,100);oc(e,t),Gc(e,t)}},vt=function(e){13===e.tag&&(oc(e,3),Gc(e,3))},gt=function(e){if(13===e.tag){var t=rc();oc(e,t=ic(t,e,null)),Gc(e,t)}},K=function(e,t,n){switch(t){case"input":if(Ee(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));_e(r),Ee(r,i)}}}break;case"textarea":Pe(e,n);break;case"select":null!=(t=n.value)&&Oe(e,!!n.multiple,t,!1)}},ee=lc,te=function(e,t,n,r,i){var o=Ns;Ns|=4;try{return Vi(98,e.bind(null,t,n,r,i))}finally{(Ns=o)===ks&&Gi()}},ne=function(){(Ns&(1|Ss|Ts))===ks&&(function(){if(null!==Js){var e=Js;Js=null,e.forEach(function(e,t){Hc(t,e),cc(t)}),Gi()}}(),Ec())},re=function(e,t){var n=Ns;Ns|=2;try{return e(t)}finally{(Ns=n)===ks&&Gi()}};var Zc={Events:[An,Pn,Mn,Y,H,Fn,function(e){it(e,Bn)},Z,J,$t,st,Ec,{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);jc=function(e){try{t.onCommitFiberRoot(n,e,void 0,64==(64&e.current.effectTag))}catch(e){}},Ac=function(e){try{t.onCommitFiberUnmount(n,e)}catch(e){}}}catch(e){}})(i({},e,{overrideHookState:null,overrideProps:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:g.ReactCurrentDispatcher,findHostInstanceByFiber:function(e){return null===(e=nt(e))?null:e.stateNode},findFiberByHostInstance:function(e){return t?t(e):null},findHostInstancesForRefresh:null,scheduleRefresh:null,scheduleRoot:null,setRefreshHandler:null,getCurrentFiber:null}))}({findFiberByHostInstance:jn,bundleType:0,version:"16.13.0",rendererPackageName:"react-dom"}),t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=Zc,t.createPortal=Qc,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=nt(t))?null:e.stateNode},t.flushSync=function(e,t){if((Ns&(Ss|Ts))!==ks)throw Error(a(187));var n=Ns;Ns|=1;try{return Vi(99,e.bind(null,t))}finally{Ns=n,Gi()}},t.hydrate=function(e,t,n){if(!$c(t))throw Error(a(200));return Xc(null,e,t,!0,n)},t.render=function(e,t,n){if(!$c(t))throw Error(a(200));return Xc(null,e,t,!1,n)},t.unmountComponentAtNode=function(e){if(!$c(e))throw Error(a(40));return!!e._reactRootContainer&&(dc(function(){Xc(null,null,e,!1,function(){e._reactRootContainer=null,e[On]=null})}),!0)},t.unstable_batchedUpdates=lc,t.unstable_createPortal=function(e,t){return Qc(e,t,2<arguments.length&&void 0!==arguments[2]?arguments[2]:null)},t.unstable_renderSubtreeIntoContainer=function(e,t,n,r){if(!$c(n))throw Error(a(200));if(null==e||void 0===e._reactInternalFiber)throw Error(a(38));return Xc(e,t,n,!1,r)},t.version="16.13.0"},function(e,t,n){"use strict";e.exports=n(1254)},function(e,t,n){"use strict";
/** @license React v0.19.1
 * scheduler.production.min.js
 *
 * Copyright (c) Facebook, Inc. and its affiliates.
 *
 * This source code is licensed under the MIT license found in the
 * LICENSE file in the root directory of this source tree.
 */var r,i,o,a,s;if("undefined"==typeof window||"function"!=typeof MessageChannel){var c=null,u=null,l=function(){if(null!==c)try{var e=t.unstable_now();c(!0,e),c=null}catch(e){throw setTimeout(l,0),e}},d=Date.now();t.unstable_now=function(){return Date.now()-d},r=function(e){null!==c?setTimeout(r,0,e):(c=e,setTimeout(l,0))},i=function(e,t){u=setTimeout(e,t)},o=function(){clearTimeout(u)},a=function(){return!1},s=t.unstable_forceFrameRate=function(){}}else{var f=window.performance,h=window.Date,p=window.setTimeout,m=window.clearTimeout;if("undefined"!=typeof console){var v=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 v&&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 f&&"function"==typeof f.now)t.unstable_now=function(){return f.now()};else{var g=h.now();t.unstable_now=function(){return h.now()-g}}var y=!1,b=null,_=-1,w=5,x=0;a=function(){return t.unstable_now()>=x},s=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"):w=0<e?Math.floor(1e3/e):5};var k=new MessageChannel,E=k.port2;k.port1.onmessage=function(){if(null!==b){var e=t.unstable_now();x=e+w;try{b(!0,e)?E.postMessage(null):(y=!1,b=null)}catch(e){throw E.postMessage(null),e}}else y=!1},r=function(e){b=e,y||(y=!0,E.postMessage(null))},i=function(e,n){_=p(function(){e(t.unstable_now())},n)},o=function(){m(_),_=-1}}function S(e,t){var n=e.length;e.push(t);e:for(;;){var r=n-1>>>1,i=e[r];if(!(void 0!==i&&0<O(i,t)))break e;e[r]=t,e[n]=i,n=r}}function T(e){return void 0===(e=e[0])?null:e}function C(e){var t=e[0];if(void 0!==t){var n=e.pop();if(n!==t){e[0]=n;e:for(var r=0,i=e.length;r<i;){var o=2*(r+1)-1,a=e[o],s=o+1,c=e[s];if(void 0!==a&&0>O(a,n))void 0!==c&&0>O(c,a)?(e[r]=c,e[s]=n,r=s):(e[r]=a,e[o]=n,r=o);else{if(!(void 0!==c&&0>O(c,n)))break e;e[r]=c,e[s]=n,r=s}}}return t}return null}function O(e,t){var n=e.sortIndex-t.sortIndex;return 0!==n?n:e.id-t.id}var j=[],A=[],P=1,M=null,N=3,L=!1,I=!1,D=!1;function R(e){for(var t=T(A);null!==t;){if(null===t.callback)C(A);else{if(!(t.startTime<=e))break;C(A),t.sortIndex=t.expirationTime,S(j,t)}t=T(A)}}function B(e){if(D=!1,R(e),!I)if(null!==T(j))I=!0,r(F);else{var t=T(A);null!==t&&i(B,t.startTime-e)}}function F(e,n){I=!1,D&&(D=!1,o()),L=!0;var r=N;try{for(R(n),M=T(j);null!==M&&(!(M.expirationTime>n)||e&&!a());){var s=M.callback;if(null!==s){M.callback=null,N=M.priorityLevel;var c=s(M.expirationTime<=n);n=t.unstable_now(),"function"==typeof c?M.callback=c:M===T(j)&&C(j),R(n)}else C(j);M=T(j)}if(null!==M)var u=!0;else{var l=T(A);null!==l&&i(B,l.startTime-n),u=!1}return u}finally{M=null,N=r,L=!1}}function U(e){switch(e){case 1:return-1;case 2:return 250;case 5:return 1073741823;case 4:return 1e4;default:return 5e3}}var q=s;t.unstable_IdlePriority=5,t.unstable_ImmediatePriority=1,t.unstable_LowPriority=4,t.unstable_NormalPriority=3,t.unstable_Profiling=null,t.unstable_UserBlockingPriority=2,t.unstable_cancelCallback=function(e){e.callback=null},t.unstable_continueExecution=function(){I||L||(I=!0,r(F))},t.unstable_getCurrentPriorityLevel=function(){return N},t.unstable_getFirstCallbackNode=function(){return T(j)},t.unstable_next=function(e){switch(N){case 1:case 2:case 3:var t=3;break;default:t=N}var n=N;N=t;try{return e()}finally{N=n}},t.unstable_pauseExecution=function(){},t.unstable_requestPaint=q,t.unstable_runWithPriority=function(e,t){switch(e){case 1:case 2:case 3:case 4:case 5:break;default:e=3}var n=N;N=e;try{return t()}finally{N=n}},t.unstable_scheduleCallback=function(e,n,a){var s=t.unstable_now();if("object"==typeof a&&null!==a){var c=a.delay;c="number"==typeof c&&0<c?s+c:s,a="number"==typeof a.timeout?a.timeout:U(e)}else a=U(e),c=s;return e={id:P++,callback:n,priorityLevel:e,startTime:c,expirationTime:a=c+a,sortIndex:-1},c>s?(e.sortIndex=c,S(A,e),null===T(j)&&e===T(A)&&(D?o():D=!0,i(B,c-s))):(e.sortIndex=a,S(j,e),I||L||(I=!0,r(F))),e},t.unstable_shouldYield=function(){var e=t.unstable_now();R(e);var n=T(j);return n!==M&&null!==M&&null!==n&&null!==n.callback&&n.startTime<=e&&n.expirationTime<M.expirationTime||a()},t.unstable_wrapCallback=function(e){var t=N;return function(){var n=N;N=t;try{return e.apply(this,arguments)}finally{N=n}}}},function(e,t,n){var r=n(1256);e.exports=r},function(e,t,n){var r=n(1257),i=String.prototype;e.exports=function(e){var t=e.startsWith;return"string"==typeof e||e===i||e instanceof String&&t===i.startsWith?r:t}},function(e,t,n){n(1258);var r=n(151);e.exports=r("String").startsWith},function(e,t,n){"use strict";var r,i=n(45),o=n(275).f,a=n(216),s=n(590),c=n(248),u=n(594),l=n(105),d="".startsWith,f=Math.min,h=u("startsWith");i({target:"String",proto:!0,forced:!!(l||h||(r=o(String.prototype,"startsWith"),!r||r.writable))&&!h},{startsWith:function(e){var t=String(c(this));s(e);var n=a(f(arguments.length>1?arguments[1]:void 0,t.length)),r=String(e);return d?d.call(t,r,n):t.slice(n,n+r.length)===r}})},function(e,t,n){var r=n(147),i=n(389),o=n(124)("match");e.exports=function(e){var t;return r(e)&&(void 0!==(t=e[o])?!!t:"RegExp"==i(e))}},function(e,t,n){var r=n(132),i=n(198);e.exports=function(e,t){try{i(r,e,t)}catch(n){r[e]=t}return t}},function(e,t){e.exports=function(e,t){return function(){return t.call(this,e.apply(this,arguments))}}},function(e,t,n){"use strict";var r=n(1263);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}},function(e,t,n){"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},function(e,t,n){"use strict";
/** @license React v16.13.1
 * react-is.production.min.js
 *
 * Copyright (c) Facebook, Inc. and its affiliates.
 *
 * This source code is licensed under the MIT license found in the
 * LICENSE file in the root directory of this source tree.
 */var r="function"==typeof Symbol&&Symbol.for,i=r?Symbol.for("react.element"):60103,o=r?Symbol.for("react.portal"):60106,a=r?Symbol.for("react.fragment"):60107,s=r?Symbol.for("react.strict_mode"):60108,c=r?Symbol.for("react.profiler"):60114,u=r?Symbol.for("react.provider"):60109,l=r?Symbol.for("react.context"):60110,d=r?Symbol.for("react.async_mode"):60111,f=r?Symbol.for("react.concurrent_mode"):60111,h=r?Symbol.for("react.forward_ref"):60112,p=r?Symbol.for("react.suspense"):60113,m=r?Symbol.for("react.suspense_list"):60120,v=r?Symbol.for("react.memo"):60115,g=r?Symbol.for("react.lazy"):60116,y=r?Symbol.for("react.block"):60121,b=r?Symbol.for("react.fundamental"):60117,_=r?Symbol.for("react.responder"):60118,w=r?Symbol.for("react.scope"):60119;function x(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case i:switch(e=e.type){case d:case f:case a:case c:case s:case p:return e;default:switch(e=e&&e.$$typeof){case l:case h:case g:case v:case u:return e;default:return t}}case o:return t}}}function k(e){return x(e)===f}t.AsyncMode=d,t.ConcurrentMode=f,t.ContextConsumer=l,t.ContextProvider=u,t.Element=i,t.ForwardRef=h,t.Fragment=a,t.Lazy=g,t.Memo=v,t.Portal=o,t.Profiler=c,t.StrictMode=s,t.Suspense=p,t.isAsyncMode=function(e){return k(e)||x(e)===d},t.isConcurrentMode=k,t.isContextConsumer=function(e){return x(e)===l},t.isContextProvider=function(e){return x(e)===u},t.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===i},t.isForwardRef=function(e){return x(e)===h},t.isFragment=function(e){return x(e)===a},t.isLazy=function(e){return x(e)===g},t.isMemo=function(e){return x(e)===v},t.isPortal=function(e){return x(e)===o},t.isProfiler=function(e){return x(e)===c},t.isStrictMode=function(e){return x(e)===s},t.isSuspense=function(e){return x(e)===p},t.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===a||e===f||e===c||e===s||e===p||e===m||"object"==typeof e&&null!==e&&(e.$$typeof===g||e.$$typeof===v||e.$$typeof===u||e.$$typeof===l||e.$$typeof===h||e.$$typeof===b||e.$$typeof===_||e.$$typeof===w||e.$$typeof===y)},t.typeOf=x},function(e,t,n){var r=n(1266);e.exports=r},function(e,t,n){n(1267);var r=n(104);e.exports=r.Reflect.construct},function(e,t,n){var r=n(45),i=n(173),o=n(142),a=n(94),s=n(147),c=n(301),u=n(760),l=n(121),d=i("Reflect","construct"),f=l(function(){function e(){}return!(d(function(){},[],e)instanceof e)}),h=!l(function(){d(function(){})}),p=f||h;r({target:"Reflect",stat:!0,forced:p,sham:p},{construct:function(e,t){o(e),a(t);var n=arguments.length<3?e:o(arguments[2]);if(h&&!f)return d(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 r.push.apply(r,t),new(u.apply(e,r))}var i=n.prototype,l=c(s(i)?i:Object.prototype),p=Function.apply.call(e,l,t);return s(p)?p:l}})},function(e,t,n){var r=n(1269);e.exports=r},function(e,t,n){n(1270);var r=n(104).Object,i=e.exports=function(e,t,n){return r.defineProperty(e,t,n)};r.defineProperty.sham&&(i.sham=!0)},function(e,t,n){var r=n(45),i=n(157);r({target:"Object",stat:!0,forced:!i,sham:!i},{defineProperty:n(199).f})},function(e,t,n){var r=n(1272);e.exports=r},function(e,t,n){n(1273);var r=n(104).Object;e.exports=function(e,t){return r.create(e,t)}},function(e,t,n){n(45)({target:"Object",stat:!0,sham:!n(157)},{create:n(301)})},function(e,t,n){var r=n(1275);e.exports=r},function(e,t,n){n(1276);var r=n(104);e.exports=r.Object.setPrototypeOf},function(e,t,n){n(45)({target:"Object",stat:!0},{setPrototypeOf:n(473)})},function(e,t,n){var r=n(147);e.exports=function(e){if(!r(e)&&null!==e)throw TypeError("Can't set "+String(e)+" as a prototype");return e}},function(e,t,n){var r=n(1279);n(1299),n(1300),n(1301),n(1302),n(1303),n(1304),n(1305),e.exports=r},function(e,t,n){n(761),n(598),n(599),n(1283),n(1284),n(1285),n(1286),n(764),n(1287),n(1288),n(1289),n(1290),n(1291),n(1292),n(1293),n(1294),n(1295),n(1296),n(1297),n(1298);var r=n(104);e.exports=r.Symbol},function(e,t,n){var r=n(218),i=n(600).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))}},function(e,t,n){"use strict";var r=n(603),i=n(329);e.exports=r?{}.toString:function(){return"[object "+i(this)+"]"}},function(e,t,n){var r=n(132),i=n(763),o=r.WeakMap;e.exports="function"==typeof o&&/native code/.test(i(o))},function(e,t,n){n(125)("asyncIterator")},function(e,t){},function(e,t,n){n(125)("hasInstance")},function(e,t,n){n(125)("isConcatSpreadable")},function(e,t,n){n(125)("match")},function(e,t,n){n(125)("matchAll")},function(e,t,n){n(125)("replace")},function(e,t,n){n(125)("search")},function(e,t,n){n(125)("species")},function(e,t,n){n(125)("split")},function(e,t,n){n(125)("toPrimitive")},function(e,t,n){n(125)("toStringTag")},function(e,t,n){n(125)("unscopables")},function(e,t,n){var r=n(132);n(277)(r.JSON,"JSON",!0)},function(e,t){},function(e,t){},function(e,t,n){n(125)("asyncDispose")},function(e,t,n){n(125)("dispose")},function(e,t,n){n(125)("matcher")},function(e,t,n){n(125)("metadata")},function(e,t,n){n(125)("observable")},function(e,t,n){n(125)("patternMatch")},function(e,t,n){n(125)("replaceAll")},function(e,t,n){var r=n(1307);e.exports=r},function(e,t,n){n(764),n(334),n(330);var r=n(602);e.exports=r.f("iterator")},function(e,t){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}},function(e,t,n){var r=n(1310);e.exports=r},function(e,t,n){n(1311);var r=n(104);e.exports=r.Object.getPrototypeOf},function(e,t,n){var r=n(45),i=n(121),o=n(215),a=n(396),s=n(768);r({target:"Object",stat:!0,forced:i(function(){a(1)}),sham:!s},{getPrototypeOf:function(e){return a(o(e))}})},function(e,t,n){var r=n(1313);e.exports=r},function(e,t,n){n(1314);var r=n(104);e.exports=r.Object.assign},function(e,t,n){var r=n(45),i=n(769);r({target:"Object",stat:!0,forced:Object.assign!==i},{assign:i})},function(e,t,n){var r=n(1316);e.exports=r},function(e,t,n){var r=n(1317),i=Array.prototype;e.exports=function(e){var t=e.concat;return e===i||e instanceof Array&&t===i.concat?r:t}},function(e,t,n){n(761);var r=n(151);e.exports=r("Array").concat},function(e,t,n){var r=n(1319);e.exports=r},function(e,t,n){var r=n(1320),i=n(1322),o=Array.prototype,a=String.prototype;e.exports=function(e){var t=e.includes;return e===o||e instanceof Array&&t===o.includes?r:"string"==typeof e||e===a||e instanceof String&&t===a.includes?i:t}},function(e,t,n){n(1321);var r=n(151);e.exports=r("Array").includes},function(e,t,n){"use strict";var r=n(45),i=n(595).includes,o=n(476);r({target:"Array",proto:!0},{includes:function(e){return i(this,e,arguments.length>1?arguments[1]:void 0)}}),o("includes")},function(e,t,n){n(1323);var r=n(151);e.exports=r("String").includes},function(e,t,n){"use strict";var r=n(45),i=n(590),o=n(248);r({target:"String",proto:!0,forced:!n(594)("includes")},{includes:function(e){return!!~String(o(this)).indexOf(i(e),arguments.length>1?arguments[1]:void 0)}})},function(e,t,n){var r=n(1325);e.exports=r},function(e,t,n){n(1326);var r=n(104);e.exports=r.Object.keys},function(e,t,n){var r=n(45),i=n(215),o=n(392);r({target:"Object",stat:!0,forced:n(121)(function(){o(1)})},{keys:function(e){return o(i(e))}})},,,function(e,t,n){var r=n(18),i=n(148);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)})}()},function(e,t){e.exports=function(e){return[e]}},function(e,t,n){var r=n(18),i=n(148);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)})}()},function(e,t,n){var r=n(18),i=n(279),o=n(148);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)})}()},function(e,t,n){var r={"./en-au":771,"./en-au.js":771,"./en-ca":772,"./en-ca.js":772,"./en-gb":773,"./en-gb.js":773,"./en-ie":774,"./en-ie.js":774,"./en-nz":775,"./en-nz.js":775};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=1333},function(e,t,n){var r=n(303);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}()},function(e,t,n){var r=n(1336),i=n(1337),o=n(174),a=n(777),s=n(82),c=n(609);e.exports=function e(t,n,u,l){if(a(t,n))return!0;if(c(t)!==c(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(c(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()),u,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=u.length-1;f>=0;){if(u[f]===t)return l[f]===n;f-=1}for(u.push(t),l.push(n),f=d.length-1;f>=0;){var h=d[f];if(!o(h,n)||!e(n[h],t[h],u,l))return!1;f-=1}return u.pop(),l.pop(),!0}},function(e,t){e.exports=function(e){for(var t,n=[];!(t=e.next()).done;)n.push(t.value);return n}},function(e,t){e.exports=function(e){var t=String(e).match(/^function (\w*)/);return null==t?"":t[1]}},function(e,t,n){var r=n(1339);e.exports=r},function(e,t,n){n(1340);var r=n(104);e.exports=r.Array.isArray},function(e,t,n){n(45)({target:"Array",stat:!0},{isArray:n(394)})},function(e,t,n){n(330),n(334);var r=n(397);e.exports=r},function(e,t,n){var r=n(1343);e.exports=r},function(e,t,n){n(334),n(1344);var r=n(104);e.exports=r.Array.from},function(e,t,n){var r=n(45),i=n(778);r({target:"Array",stat:!0,forced:!n(781)(function(e){Array.from(e)})},{from:i})},function(e,t,n){var r=n(94),i=n(779);e.exports=function(e,t,n,o){try{return o?t(r(n)[0],n[1]):t(n)}catch(t){throw i(e),t}}},function(e,t,n){var r=n(1347);e.exports=r},function(e,t,n){var r=n(1348),i=Array.prototype;e.exports=function(e){var t=e.slice;return e===i||e instanceof Array&&t===i.slice?r:t}},function(e,t,n){n(1349);var r=n(151);e.exports=r("Array").slice},function(e,t,n){"use strict";var r=n(45),i=n(147),o=n(394),a=n(596),s=n(216),c=n(218),u=n(474),l=n(124),d=n(475)("slice"),f=l("species"),h=[].slice,p=Math.max;r({target:"Array",proto:!0,forced:!d},{slice:function(e,t){var n,r,l,d=c(this),m=s(d.length),v=a(e,m),g=a(void 0===t?m:t,m);if(o(d)&&("function"!=typeof(n=d.constructor)||n!==Array&&!o(n.prototype)?i(n)&&null===(n=n[f])&&(n=void 0):n=void 0,n===Array||void 0===n))return h.call(d,v,g);for(r=new(void 0===n?Array:n)(p(g-v,0)),l=0;v<g;v++,l++)v in d&&u(r,l,d[v]);return r.length=l,r}})},function(e,t,n){var r=n(610);e.exports=function(e,t){return r(e<t.length?t.length-e:0,t)}},function(e,t,n){var r=n(18),i=n(279),o=n(148);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)})}()},function(e,t,n){var r=n(18),i=n(148);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)})}()},function(e,t){e.exports=function(e,t){return function(){var n=this;return e.apply(n,arguments).then(function(e){return t.call(n,e)})}}},function(e,t,n){"use strict";var r=n(262),i=n.n(r),o=n(93),a=new i.a(window.location.hash.substr(1)),s=a.get("_course_token");s&&(a.delete("_course_token"),window.history.replaceState(null,null,"#".concat(a.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=s||Object(o.d)();navigator.serviceWorker.ready.then(function(e){e.active.postMessage({id:r,jsonrpc:"2.0",method:n,result:{token:i}})})}})},function(e,t,n){var r=n(1356);e.exports=r},function(e,t,n){var r=n(1357);e.exports=r},function(e,t,n){n(611);var r=n(104);e.exports=r.URLSearchParams},function(e,t,n){"use strict";
/*!
 * cookie
 * Copyright(c) 2012-2014 Roman Shtylman
 * Copyright(c) 2015 Douglas Christopher Wilson
 * MIT Licensed
 */t.parse=function(e,t){if("string"!=typeof e)throw new TypeError("argument str must be a string");for(var n={},i=t||{},a=e.split(o),c=i.decode||r,u=0;u<a.length;u++){var l=a[u],d=l.indexOf("=");if(!(d<0)){var f=l.substr(0,d).trim(),h=l.substr(++d,l.length).trim();'"'==h[0]&&(h=h.slice(1,-1)),null==n[f]&&(n[f]=s(h,c))}}return n},t.serialize=function(e,t,n){var r=n||{},o=r.encode||i;if("function"!=typeof o)throw new TypeError("option encode is invalid");if(!a.test(e))throw new TypeError("argument name is invalid");var s=o(t);if(s&&!a.test(s))throw new TypeError("argument val is invalid");var c=e+"="+s;if(null!=r.maxAge){var u=r.maxAge-0;if(isNaN(u))throw new Error("maxAge should be a Number");c+="; Max-Age="+Math.floor(u)}if(r.domain){if(!a.test(r.domain))throw new TypeError("option domain is invalid");c+="; Domain="+r.domain}if(r.path){if(!a.test(r.path))throw new TypeError("option path is invalid");c+="; Path="+r.path}if(r.expires){if("function"!=typeof r.expires.toUTCString)throw new TypeError("option expires is invalid");c+="; Expires="+r.expires.toUTCString()}r.httpOnly&&(c+="; HttpOnly");r.secure&&(c+="; Secure");if(r.sameSite){var l="string"==typeof r.sameSite?r.sameSite.toLowerCase():r.sameSite;switch(l){case!0:c+="; SameSite=Strict";break;case"lax":c+="; SameSite=Lax";break;case"strict":c+="; SameSite=Strict";break;default:throw new TypeError("option sameSite is invalid")}}return c};var r=decodeURIComponent,i=encodeURIComponent,o=/; */,a=/^[\u0009\u0020-\u007e\u0080-\u00ff]+$/;function s(e,t){try{return t(e)}catch(t){return e}}},function(e,t,n){var r=n(1360);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)}}},function(e,t){var n="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";function r(e){this.message=e}r.prototype=new Error,r.prototype.name="InvalidCharacterError",e.exports="undefined"!=typeof window&&window.atob&&window.atob.bind(window)||function(e){var t=String(e).replace(/=+$/,"");if(t.length%4==1)throw new r("'atob' failed: The string to be decoded is not correctly encoded.");for(var i,o,a=0,s=0,c="";o=t.charAt(s++);~o&&(i=a%4?64*i+o:o,a++%4)?c+=String.fromCharCode(255&i>>(-2*a&6)):0)o=n.indexOf(o);return c}},function(e,t,n){var r=n(187),i=n(614),o=n(785),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},function(e,t,n){var r=n(400),i=n(479);e.exports=function e(t,n,o){return function(){for(var a=[],s=0,c=t,u=0;u<n.length||s<arguments.length;){var l;u<n.length&&(!i(n[u])||s>=arguments.length)?l=n[u]:(l=arguments[s],s+=1),a[u]=l,i(l)||(c-=1),u+=1}return c<=0?o.apply(this,a):r(c,e(t,a,o))}}},function(e,t,n){var r=n(1364);e.exports=r},function(e,t,n){var r=n(1365),i=Array.prototype;e.exports=function(e){var t=e.map;return e===i||e instanceof Array&&t===i.map?r:t}},function(e,t,n){n(1366);var r=n(151);e.exports=r("Array").map},function(e,t,n){"use strict";var r=n(45),i=n(395).map;r({target:"Array",proto:!0,forced:!n(475)("map")},{map:function(e){return i(this,e,arguments.length>1?arguments[1]:void 0)}})},,function(e,t){e.exports=function(e){return"[object RegExp]"===Object.prototype.toString.call(e)}},function(e,t,n){var r=n(303),i=n(477),o=n(1370),a=n(1371),s=n(82),c=n(129);e.exports=function e(t,n){var u=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)+": "+u(e[t])},t.slice().sort())};switch(Object.prototype.toString.call(t)){case"[object Arguments]":return"(function() { return arguments; }("+i(u,t).join(", ")+"))";case"[object Array]":return"["+i(u,t).concat(l(t,c(function(e){return/^\d+$/.test(e)},s(t)))).join(", ")+"]";case"[object Boolean]":return"object"==typeof t?"new Boolean("+u(t.valueOf())+")":t.toString();case"[object Date]":return"new Date("+(isNaN(t.valueOf())?u(NaN):o(a(t)))+")";case"[object Null]":return"null";case"[object Number]":return"object"==typeof t?"new Number("+u(t.valueOf())+")":1/t==-1/0?"-0":t.toString(10);case"[object String]":return"object"==typeof t?"new String("+u(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(", ")+"}"}}},function(e,t){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,'\\"')+'"'}},function(e,t){var n;e.exports=(n=function(e){return(e<10?"0":"")+e},"function"==typeof Date.prototype.toISOString?function(e){return e.toISOString()}:function(e){return e.getUTCFullYear()+"-"+n(e.getUTCMonth()+1)+"-"+n(e.getUTCDate())+"T"+n(e.getUTCHours())+":"+n(e.getUTCMinutes())+":"+n(e.getUTCSeconds())+"."+(e.getUTCMilliseconds()/1e3).toFixed(3).slice(2,5)+"Z"})},function(e,t,n){var r=n(614),i=n(1373);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))return t.apply(null,o)(a)}return n.apply(this,arguments)}}},function(e,t){e.exports=function(e){return"function"==typeof e["@@transducer/step"]}},function(e,t,n){var r=n(175),i=n(1375),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},function(e,t){e.exports={init:function(){return this.xf["@@transducer/init"]()},result:function(e){return this.xf["@@transducer/result"](e)}}},function(e,t,n){var r=n(794),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)}}},function(e,t,n){var r=n(795),i=n(1378),o=n(797),a=n(336),s=n(1379),c=n(480),u=n(1381),l=n(1382),d=n(1383),f=o(function(e,t){return typeof t===e}),h=function(e){return l(c(p),Math.max,0,d(e))},p=i([[f("object"),h],[f("function"),s],[u,r(0)]]);e.exports=o(function(e,t){for(var n=[],r=arguments.length-2;r-- >0;)n[r]=arguments[r+2];var i=h(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))})},function(e,t,n){var r=n(400),i=n(187),o=n(480),a=n(796),s=n(572),c=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=c},function(e,t,n){var r=n(187),i=n(1380),o=r(function(e){return null!=e&&i(e.length)?e.length:NaN});e.exports=o},function(e,t){e.exports=function(e){return"[object Number]"===Object.prototype.toString.call(e)}},function(e,t,n){var r=n(795)(!0);e.exports=r},function(e,t,n){var r=n(613),i=n(786),o=n(336)(4,function(e,t,n,o){return r(e("function"==typeof t?i(t):t),n,o)});e.exports=o},function(e,t,n){var r=n(187),i=n(793),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},function(e,t,n){var r=n(1385);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)}},function(e){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}')},function(e){e.exports=JSON.parse('{"Aacute":"Á","aacute":"á","Abreve":"Ă","abreve":"ă","ac":"∾","acd":"∿","acE":"∾̳","Acirc":"Â","acirc":"â","acute":"´","Acy":"А","acy":"а","AElig":"Æ","aelig":"æ","af":"⁡","Afr":"𝔄","afr":"𝔞","Agrave":"À","agrave":"à","alefsym":"ℵ","aleph":"ℵ","Alpha":"Α","alpha":"α","Amacr":"Ā","amacr":"ā","amalg":"⨿","amp":"&","AMP":"&","andand":"⩕","And":"⩓","and":"∧","andd":"⩜","andslope":"⩘","andv":"⩚","ang":"∠","ange":"⦤","angle":"∠","angmsdaa":"⦨","angmsdab":"⦩","angmsdac":"⦪","angmsdad":"⦫","angmsdae":"⦬","angmsdaf":"⦭","angmsdag":"⦮","angmsdah":"⦯","angmsd":"∡","angrt":"∟","angrtvb":"⊾","angrtvbd":"⦝","angsph":"∢","angst":"Å","angzarr":"⍼","Aogon":"Ą","aogon":"ą","Aopf":"𝔸","aopf":"𝕒","apacir":"⩯","ap":"≈","apE":"⩰","ape":"≊","apid":"≋","apos":"\'","ApplyFunction":"⁡","approx":"≈","approxeq":"≊","Aring":"Å","aring":"å","Ascr":"𝒜","ascr":"𝒶","Assign":"≔","ast":"*","asymp":"≈","asympeq":"≍","Atilde":"Ã","atilde":"ã","Auml":"Ä","auml":"ä","awconint":"∳","awint":"⨑","backcong":"≌","backepsilon":"϶","backprime":"‵","backsim":"∽","backsimeq":"⋍","Backslash":"∖","Barv":"⫧","barvee":"⊽","barwed":"⌅","Barwed":"⌆","barwedge":"⌅","bbrk":"⎵","bbrktbrk":"⎶","bcong":"≌","Bcy":"Б","bcy":"б","bdquo":"„","becaus":"∵","because":"∵","Because":"∵","bemptyv":"⦰","bepsi":"϶","bernou":"ℬ","Bernoullis":"ℬ","Beta":"Β","beta":"β","beth":"ℶ","between":"≬","Bfr":"𝔅","bfr":"𝔟","bigcap":"⋂","bigcirc":"◯","bigcup":"⋃","bigodot":"⨀","bigoplus":"⨁","bigotimes":"⨂","bigsqcup":"⨆","bigstar":"★","bigtriangledown":"▽","bigtriangleup":"△","biguplus":"⨄","bigvee":"⋁","bigwedge":"⋀","bkarow":"⤍","blacklozenge":"⧫","blacksquare":"▪","blacktriangle":"▴","blacktriangledown":"▾","blacktriangleleft":"◂","blacktriangleright":"▸","blank":"␣","blk12":"▒","blk14":"░","blk34":"▓","block":"█","bne":"=⃥","bnequiv":"≡⃥","bNot":"⫭","bnot":"⌐","Bopf":"𝔹","bopf":"𝕓","bot":"⊥","bottom":"⊥","bowtie":"⋈","boxbox":"⧉","boxdl":"┐","boxdL":"╕","boxDl":"╖","boxDL":"╗","boxdr":"┌","boxdR":"╒","boxDr":"╓","boxDR":"╔","boxh":"─","boxH":"═","boxhd":"┬","boxHd":"╤","boxhD":"╥","boxHD":"╦","boxhu":"┴","boxHu":"╧","boxhU":"╨","boxHU":"╩","boxminus":"⊟","boxplus":"⊞","boxtimes":"⊠","boxul":"┘","boxuL":"╛","boxUl":"╜","boxUL":"╝","boxur":"└","boxuR":"╘","boxUr":"╙","boxUR":"╚","boxv":"│","boxV":"║","boxvh":"┼","boxvH":"╪","boxVh":"╫","boxVH":"╬","boxvl":"┤","boxvL":"╡","boxVl":"╢","boxVL":"╣","boxvr":"├","boxvR":"╞","boxVr":"╟","boxVR":"╠","bprime":"‵","breve":"˘","Breve":"˘","brvbar":"¦","bscr":"𝒷","Bscr":"ℬ","bsemi":"⁏","bsim":"∽","bsime":"⋍","bsolb":"⧅","bsol":"\\\\","bsolhsub":"⟈","bull":"•","bullet":"•","bump":"≎","bumpE":"⪮","bumpe":"≏","Bumpeq":"≎","bumpeq":"≏","Cacute":"Ć","cacute":"ć","capand":"⩄","capbrcup":"⩉","capcap":"⩋","cap":"∩","Cap":"⋒","capcup":"⩇","capdot":"⩀","CapitalDifferentialD":"ⅅ","caps":"∩︀","caret":"⁁","caron":"ˇ","Cayleys":"ℭ","ccaps":"⩍","Ccaron":"Č","ccaron":"č","Ccedil":"Ç","ccedil":"ç","Ccirc":"Ĉ","ccirc":"ĉ","Cconint":"∰","ccups":"⩌","ccupssm":"⩐","Cdot":"Ċ","cdot":"ċ","cedil":"¸","Cedilla":"¸","cemptyv":"⦲","cent":"¢","centerdot":"·","CenterDot":"·","cfr":"𝔠","Cfr":"ℭ","CHcy":"Ч","chcy":"ч","check":"✓","checkmark":"✓","Chi":"Χ","chi":"χ","circ":"ˆ","circeq":"≗","circlearrowleft":"↺","circlearrowright":"↻","circledast":"⊛","circledcirc":"⊚","circleddash":"⊝","CircleDot":"⊙","circledR":"®","circledS":"Ⓢ","CircleMinus":"⊖","CirclePlus":"⊕","CircleTimes":"⊗","cir":"○","cirE":"⧃","cire":"≗","cirfnint":"⨐","cirmid":"⫯","cirscir":"⧂","ClockwiseContourIntegral":"∲","CloseCurlyDoubleQuote":"”","CloseCurlyQuote":"’","clubs":"♣","clubsuit":"♣","colon":":","Colon":"∷","Colone":"⩴","colone":"≔","coloneq":"≔","comma":",","commat":"@","comp":"∁","compfn":"∘","complement":"∁","complexes":"ℂ","cong":"≅","congdot":"⩭","Congruent":"≡","conint":"∮","Conint":"∯","ContourIntegral":"∮","copf":"𝕔","Copf":"ℂ","coprod":"∐","Coproduct":"∐","copy":"©","COPY":"©","copysr":"℗","CounterClockwiseContourIntegral":"∳","crarr":"↵","cross":"✗","Cross":"⨯","Cscr":"𝒞","cscr":"𝒸","csub":"⫏","csube":"⫑","csup":"⫐","csupe":"⫒","ctdot":"⋯","cudarrl":"⤸","cudarrr":"⤵","cuepr":"⋞","cuesc":"⋟","cularr":"↶","cularrp":"⤽","cupbrcap":"⩈","cupcap":"⩆","CupCap":"≍","cup":"∪","Cup":"⋓","cupcup":"⩊","cupdot":"⊍","cupor":"⩅","cups":"∪︀","curarr":"↷","curarrm":"⤼","curlyeqprec":"⋞","curlyeqsucc":"⋟","curlyvee":"⋎","curlywedge":"⋏","curren":"¤","curvearrowleft":"↶","curvearrowright":"↷","cuvee":"⋎","cuwed":"⋏","cwconint":"∲","cwint":"∱","cylcty":"⌭","dagger":"†","Dagger":"‡","daleth":"ℸ","darr":"↓","Darr":"↡","dArr":"⇓","dash":"‐","Dashv":"⫤","dashv":"⊣","dbkarow":"⤏","dblac":"˝","Dcaron":"Ď","dcaron":"ď","Dcy":"Д","dcy":"д","ddagger":"‡","ddarr":"⇊","DD":"ⅅ","dd":"ⅆ","DDotrahd":"⤑","ddotseq":"⩷","deg":"°","Del":"∇","Delta":"Δ","delta":"δ","demptyv":"⦱","dfisht":"⥿","Dfr":"𝔇","dfr":"𝔡","dHar":"⥥","dharl":"⇃","dharr":"⇂","DiacriticalAcute":"´","DiacriticalDot":"˙","DiacriticalDoubleAcute":"˝","DiacriticalGrave":"`","DiacriticalTilde":"˜","diam":"⋄","diamond":"⋄","Diamond":"⋄","diamondsuit":"♦","diams":"♦","die":"¨","DifferentialD":"ⅆ","digamma":"ϝ","disin":"⋲","div":"÷","divide":"÷","divideontimes":"⋇","divonx":"⋇","DJcy":"Ђ","djcy":"ђ","dlcorn":"⌞","dlcrop":"⌍","dollar":"$","Dopf":"𝔻","dopf":"𝕕","Dot":"¨","dot":"˙","DotDot":"⃜","doteq":"≐","doteqdot":"≑","DotEqual":"≐","dotminus":"∸","dotplus":"∔","dotsquare":"⊡","doublebarwedge":"⌆","DoubleContourIntegral":"∯","DoubleDot":"¨","DoubleDownArrow":"⇓","DoubleLeftArrow":"⇐","DoubleLeftRightArrow":"⇔","DoubleLeftTee":"⫤","DoubleLongLeftArrow":"⟸","DoubleLongLeftRightArrow":"⟺","DoubleLongRightArrow":"⟹","DoubleRightArrow":"⇒","DoubleRightTee":"⊨","DoubleUpArrow":"⇑","DoubleUpDownArrow":"⇕","DoubleVerticalBar":"∥","DownArrowBar":"⤓","downarrow":"↓","DownArrow":"↓","Downarrow":"⇓","DownArrowUpArrow":"⇵","DownBreve":"̑","downdownarrows":"⇊","downharpoonleft":"⇃","downharpoonright":"⇂","DownLeftRightVector":"⥐","DownLeftTeeVector":"⥞","DownLeftVectorBar":"⥖","DownLeftVector":"↽","DownRightTeeVector":"⥟","DownRightVectorBar":"⥗","DownRightVector":"⇁","DownTeeArrow":"↧","DownTee":"⊤","drbkarow":"⤐","drcorn":"⌟","drcrop":"⌌","Dscr":"𝒟","dscr":"𝒹","DScy":"Ѕ","dscy":"ѕ","dsol":"⧶","Dstrok":"Đ","dstrok":"đ","dtdot":"⋱","dtri":"▿","dtrif":"▾","duarr":"⇵","duhar":"⥯","dwangle":"⦦","DZcy":"Џ","dzcy":"џ","dzigrarr":"⟿","Eacute":"É","eacute":"é","easter":"⩮","Ecaron":"Ě","ecaron":"ě","Ecirc":"Ê","ecirc":"ê","ecir":"≖","ecolon":"≕","Ecy":"Э","ecy":"э","eDDot":"⩷","Edot":"Ė","edot":"ė","eDot":"≑","ee":"ⅇ","efDot":"≒","Efr":"𝔈","efr":"𝔢","eg":"⪚","Egrave":"È","egrave":"è","egs":"⪖","egsdot":"⪘","el":"⪙","Element":"∈","elinters":"⏧","ell":"ℓ","els":"⪕","elsdot":"⪗","Emacr":"Ē","emacr":"ē","empty":"∅","emptyset":"∅","EmptySmallSquare":"◻","emptyv":"∅","EmptyVerySmallSquare":"▫","emsp13":" ","emsp14":" ","emsp":" ","ENG":"Ŋ","eng":"ŋ","ensp":" ","Eogon":"Ę","eogon":"ę","Eopf":"𝔼","eopf":"𝕖","epar":"⋕","eparsl":"⧣","eplus":"⩱","epsi":"ε","Epsilon":"Ε","epsilon":"ε","epsiv":"ϵ","eqcirc":"≖","eqcolon":"≕","eqsim":"≂","eqslantgtr":"⪖","eqslantless":"⪕","Equal":"⩵","equals":"=","EqualTilde":"≂","equest":"≟","Equilibrium":"⇌","equiv":"≡","equivDD":"⩸","eqvparsl":"⧥","erarr":"⥱","erDot":"≓","escr":"ℯ","Escr":"ℰ","esdot":"≐","Esim":"⩳","esim":"≂","Eta":"Η","eta":"η","ETH":"Ð","eth":"ð","Euml":"Ë","euml":"ë","euro":"€","excl":"!","exist":"∃","Exists":"∃","expectation":"ℰ","exponentiale":"ⅇ","ExponentialE":"ⅇ","fallingdotseq":"≒","Fcy":"Ф","fcy":"ф","female":"♀","ffilig":"ﬃ","fflig":"ﬀ","ffllig":"ﬄ","Ffr":"𝔉","ffr":"𝔣","filig":"ﬁ","FilledSmallSquare":"◼","FilledVerySmallSquare":"▪","fjlig":"fj","flat":"♭","fllig":"ﬂ","fltns":"▱","fnof":"ƒ","Fopf":"𝔽","fopf":"𝕗","forall":"∀","ForAll":"∀","fork":"⋔","forkv":"⫙","Fouriertrf":"ℱ","fpartint":"⨍","frac12":"½","frac13":"⅓","frac14":"¼","frac15":"⅕","frac16":"⅙","frac18":"⅛","frac23":"⅔","frac25":"⅖","frac34":"¾","frac35":"⅗","frac38":"⅜","frac45":"⅘","frac56":"⅚","frac58":"⅝","frac78":"⅞","frasl":"⁄","frown":"⌢","fscr":"𝒻","Fscr":"ℱ","gacute":"ǵ","Gamma":"Γ","gamma":"γ","Gammad":"Ϝ","gammad":"ϝ","gap":"⪆","Gbreve":"Ğ","gbreve":"ğ","Gcedil":"Ģ","Gcirc":"Ĝ","gcirc":"ĝ","Gcy":"Г","gcy":"г","Gdot":"Ġ","gdot":"ġ","ge":"≥","gE":"≧","gEl":"⪌","gel":"⋛","geq":"≥","geqq":"≧","geqslant":"⩾","gescc":"⪩","ges":"⩾","gesdot":"⪀","gesdoto":"⪂","gesdotol":"⪄","gesl":"⋛︀","gesles":"⪔","Gfr":"𝔊","gfr":"𝔤","gg":"≫","Gg":"⋙","ggg":"⋙","gimel":"ℷ","GJcy":"Ѓ","gjcy":"ѓ","gla":"⪥","gl":"≷","glE":"⪒","glj":"⪤","gnap":"⪊","gnapprox":"⪊","gne":"⪈","gnE":"≩","gneq":"⪈","gneqq":"≩","gnsim":"⋧","Gopf":"𝔾","gopf":"𝕘","grave":"`","GreaterEqual":"≥","GreaterEqualLess":"⋛","GreaterFullEqual":"≧","GreaterGreater":"⪢","GreaterLess":"≷","GreaterSlantEqual":"⩾","GreaterTilde":"≳","Gscr":"𝒢","gscr":"ℊ","gsim":"≳","gsime":"⪎","gsiml":"⪐","gtcc":"⪧","gtcir":"⩺","gt":">","GT":">","Gt":"≫","gtdot":"⋗","gtlPar":"⦕","gtquest":"⩼","gtrapprox":"⪆","gtrarr":"⥸","gtrdot":"⋗","gtreqless":"⋛","gtreqqless":"⪌","gtrless":"≷","gtrsim":"≳","gvertneqq":"≩︀","gvnE":"≩︀","Hacek":"ˇ","hairsp":" ","half":"½","hamilt":"ℋ","HARDcy":"Ъ","hardcy":"ъ","harrcir":"⥈","harr":"↔","hArr":"⇔","harrw":"↭","Hat":"^","hbar":"ℏ","Hcirc":"Ĥ","hcirc":"ĥ","hearts":"♥","heartsuit":"♥","hellip":"…","hercon":"⊹","hfr":"𝔥","Hfr":"ℌ","HilbertSpace":"ℋ","hksearow":"⤥","hkswarow":"⤦","hoarr":"⇿","homtht":"∻","hookleftarrow":"↩","hookrightarrow":"↪","hopf":"𝕙","Hopf":"ℍ","horbar":"―","HorizontalLine":"─","hscr":"𝒽","Hscr":"ℋ","hslash":"ℏ","Hstrok":"Ħ","hstrok":"ħ","HumpDownHump":"≎","HumpEqual":"≏","hybull":"⁃","hyphen":"‐","Iacute":"Í","iacute":"í","ic":"⁣","Icirc":"Î","icirc":"î","Icy":"И","icy":"и","Idot":"İ","IEcy":"Е","iecy":"е","iexcl":"¡","iff":"⇔","ifr":"𝔦","Ifr":"ℑ","Igrave":"Ì","igrave":"ì","ii":"ⅈ","iiiint":"⨌","iiint":"∭","iinfin":"⧜","iiota":"℩","IJlig":"Ĳ","ijlig":"ĳ","Imacr":"Ī","imacr":"ī","image":"ℑ","ImaginaryI":"ⅈ","imagline":"ℐ","imagpart":"ℑ","imath":"ı","Im":"ℑ","imof":"⊷","imped":"Ƶ","Implies":"⇒","incare":"℅","in":"∈","infin":"∞","infintie":"⧝","inodot":"ı","intcal":"⊺","int":"∫","Int":"∬","integers":"ℤ","Integral":"∫","intercal":"⊺","Intersection":"⋂","intlarhk":"⨗","intprod":"⨼","InvisibleComma":"⁣","InvisibleTimes":"⁢","IOcy":"Ё","iocy":"ё","Iogon":"Į","iogon":"į","Iopf":"𝕀","iopf":"𝕚","Iota":"Ι","iota":"ι","iprod":"⨼","iquest":"¿","iscr":"𝒾","Iscr":"ℐ","isin":"∈","isindot":"⋵","isinE":"⋹","isins":"⋴","isinsv":"⋳","isinv":"∈","it":"⁢","Itilde":"Ĩ","itilde":"ĩ","Iukcy":"І","iukcy":"і","Iuml":"Ï","iuml":"ï","Jcirc":"Ĵ","jcirc":"ĵ","Jcy":"Й","jcy":"й","Jfr":"𝔍","jfr":"𝔧","jmath":"ȷ","Jopf":"𝕁","jopf":"𝕛","Jscr":"𝒥","jscr":"𝒿","Jsercy":"Ј","jsercy":"ј","Jukcy":"Є","jukcy":"є","Kappa":"Κ","kappa":"κ","kappav":"ϰ","Kcedil":"Ķ","kcedil":"ķ","Kcy":"К","kcy":"к","Kfr":"𝔎","kfr":"𝔨","kgreen":"ĸ","KHcy":"Х","khcy":"х","KJcy":"Ќ","kjcy":"ќ","Kopf":"𝕂","kopf":"𝕜","Kscr":"𝒦","kscr":"𝓀","lAarr":"⇚","Lacute":"Ĺ","lacute":"ĺ","laemptyv":"⦴","lagran":"ℒ","Lambda":"Λ","lambda":"λ","lang":"⟨","Lang":"⟪","langd":"⦑","langle":"⟨","lap":"⪅","Laplacetrf":"ℒ","laquo":"«","larrb":"⇤","larrbfs":"⤟","larr":"←","Larr":"↞","lArr":"⇐","larrfs":"⤝","larrhk":"↩","larrlp":"↫","larrpl":"⤹","larrsim":"⥳","larrtl":"↢","latail":"⤙","lAtail":"⤛","lat":"⪫","late":"⪭","lates":"⪭︀","lbarr":"⤌","lBarr":"⤎","lbbrk":"❲","lbrace":"{","lbrack":"[","lbrke":"⦋","lbrksld":"⦏","lbrkslu":"⦍","Lcaron":"Ľ","lcaron":"ľ","Lcedil":"Ļ","lcedil":"ļ","lceil":"⌈","lcub":"{","Lcy":"Л","lcy":"л","ldca":"⤶","ldquo":"“","ldquor":"„","ldrdhar":"⥧","ldrushar":"⥋","ldsh":"↲","le":"≤","lE":"≦","LeftAngleBracket":"⟨","LeftArrowBar":"⇤","leftarrow":"←","LeftArrow":"←","Leftarrow":"⇐","LeftArrowRightArrow":"⇆","leftarrowtail":"↢","LeftCeiling":"⌈","LeftDoubleBracket":"⟦","LeftDownTeeVector":"⥡","LeftDownVectorBar":"⥙","LeftDownVector":"⇃","LeftFloor":"⌊","leftharpoondown":"↽","leftharpoonup":"↼","leftleftarrows":"⇇","leftrightarrow":"↔","LeftRightArrow":"↔","Leftrightarrow":"⇔","leftrightarrows":"⇆","leftrightharpoons":"⇋","leftrightsquigarrow":"↭","LeftRightVector":"⥎","LeftTeeArrow":"↤","LeftTee":"⊣","LeftTeeVector":"⥚","leftthreetimes":"⋋","LeftTriangleBar":"⧏","LeftTriangle":"⊲","LeftTriangleEqual":"⊴","LeftUpDownVector":"⥑","LeftUpTeeVector":"⥠","LeftUpVectorBar":"⥘","LeftUpVector":"↿","LeftVectorBar":"⥒","LeftVector":"↼","lEg":"⪋","leg":"⋚","leq":"≤","leqq":"≦","leqslant":"⩽","lescc":"⪨","les":"⩽","lesdot":"⩿","lesdoto":"⪁","lesdotor":"⪃","lesg":"⋚︀","lesges":"⪓","lessapprox":"⪅","lessdot":"⋖","lesseqgtr":"⋚","lesseqqgtr":"⪋","LessEqualGreater":"⋚","LessFullEqual":"≦","LessGreater":"≶","lessgtr":"≶","LessLess":"⪡","lesssim":"≲","LessSlantEqual":"⩽","LessTilde":"≲","lfisht":"⥼","lfloor":"⌊","Lfr":"𝔏","lfr":"𝔩","lg":"≶","lgE":"⪑","lHar":"⥢","lhard":"↽","lharu":"↼","lharul":"⥪","lhblk":"▄","LJcy":"Љ","ljcy":"љ","llarr":"⇇","ll":"≪","Ll":"⋘","llcorner":"⌞","Lleftarrow":"⇚","llhard":"⥫","lltri":"◺","Lmidot":"Ŀ","lmidot":"ŀ","lmoustache":"⎰","lmoust":"⎰","lnap":"⪉","lnapprox":"⪉","lne":"⪇","lnE":"≨","lneq":"⪇","lneqq":"≨","lnsim":"⋦","loang":"⟬","loarr":"⇽","lobrk":"⟦","longleftarrow":"⟵","LongLeftArrow":"⟵","Longleftarrow":"⟸","longleftrightarrow":"⟷","LongLeftRightArrow":"⟷","Longleftrightarrow":"⟺","longmapsto":"⟼","longrightarrow":"⟶","LongRightArrow":"⟶","Longrightarrow":"⟹","looparrowleft":"↫","looparrowright":"↬","lopar":"⦅","Lopf":"𝕃","lopf":"𝕝","loplus":"⨭","lotimes":"⨴","lowast":"∗","lowbar":"_","LowerLeftArrow":"↙","LowerRightArrow":"↘","loz":"◊","lozenge":"◊","lozf":"⧫","lpar":"(","lparlt":"⦓","lrarr":"⇆","lrcorner":"⌟","lrhar":"⇋","lrhard":"⥭","lrm":"‎","lrtri":"⊿","lsaquo":"‹","lscr":"𝓁","Lscr":"ℒ","lsh":"↰","Lsh":"↰","lsim":"≲","lsime":"⪍","lsimg":"⪏","lsqb":"[","lsquo":"‘","lsquor":"‚","Lstrok":"Ł","lstrok":"ł","ltcc":"⪦","ltcir":"⩹","lt":"<","LT":"<","Lt":"≪","ltdot":"⋖","lthree":"⋋","ltimes":"⋉","ltlarr":"⥶","ltquest":"⩻","ltri":"◃","ltrie":"⊴","ltrif":"◂","ltrPar":"⦖","lurdshar":"⥊","luruhar":"⥦","lvertneqq":"≨︀","lvnE":"≨︀","macr":"¯","male":"♂","malt":"✠","maltese":"✠","Map":"⤅","map":"↦","mapsto":"↦","mapstodown":"↧","mapstoleft":"↤","mapstoup":"↥","marker":"▮","mcomma":"⨩","Mcy":"М","mcy":"м","mdash":"—","mDDot":"∺","measuredangle":"∡","MediumSpace":" ","Mellintrf":"ℳ","Mfr":"𝔐","mfr":"𝔪","mho":"℧","micro":"µ","midast":"*","midcir":"⫰","mid":"∣","middot":"·","minusb":"⊟","minus":"−","minusd":"∸","minusdu":"⨪","MinusPlus":"∓","mlcp":"⫛","mldr":"…","mnplus":"∓","models":"⊧","Mopf":"𝕄","mopf":"𝕞","mp":"∓","mscr":"𝓂","Mscr":"ℳ","mstpos":"∾","Mu":"Μ","mu":"μ","multimap":"⊸","mumap":"⊸","nabla":"∇","Nacute":"Ń","nacute":"ń","nang":"∠⃒","nap":"≉","napE":"⩰̸","napid":"≋̸","napos":"ŉ","napprox":"≉","natural":"♮","naturals":"ℕ","natur":"♮","nbsp":" ","nbump":"≎̸","nbumpe":"≏̸","ncap":"⩃","Ncaron":"Ň","ncaron":"ň","Ncedil":"Ņ","ncedil":"ņ","ncong":"≇","ncongdot":"⩭̸","ncup":"⩂","Ncy":"Н","ncy":"н","ndash":"–","nearhk":"⤤","nearr":"↗","neArr":"⇗","nearrow":"↗","ne":"≠","nedot":"≐̸","NegativeMediumSpace":"​","NegativeThickSpace":"​","NegativeThinSpace":"​","NegativeVeryThinSpace":"​","nequiv":"≢","nesear":"⤨","nesim":"≂̸","NestedGreaterGreater":"≫","NestedLessLess":"≪","NewLine":"\\n","nexist":"∄","nexists":"∄","Nfr":"𝔑","nfr":"𝔫","ngE":"≧̸","nge":"≱","ngeq":"≱","ngeqq":"≧̸","ngeqslant":"⩾̸","nges":"⩾̸","nGg":"⋙̸","ngsim":"≵","nGt":"≫⃒","ngt":"≯","ngtr":"≯","nGtv":"≫̸","nharr":"↮","nhArr":"⇎","nhpar":"⫲","ni":"∋","nis":"⋼","nisd":"⋺","niv":"∋","NJcy":"Њ","njcy":"њ","nlarr":"↚","nlArr":"⇍","nldr":"‥","nlE":"≦̸","nle":"≰","nleftarrow":"↚","nLeftarrow":"⇍","nleftrightarrow":"↮","nLeftrightarrow":"⇎","nleq":"≰","nleqq":"≦̸","nleqslant":"⩽̸","nles":"⩽̸","nless":"≮","nLl":"⋘̸","nlsim":"≴","nLt":"≪⃒","nlt":"≮","nltri":"⋪","nltrie":"⋬","nLtv":"≪̸","nmid":"∤","NoBreak":"⁠","NonBreakingSpace":" ","nopf":"𝕟","Nopf":"ℕ","Not":"⫬","not":"¬","NotCongruent":"≢","NotCupCap":"≭","NotDoubleVerticalBar":"∦","NotElement":"∉","NotEqual":"≠","NotEqualTilde":"≂̸","NotExists":"∄","NotGreater":"≯","NotGreaterEqual":"≱","NotGreaterFullEqual":"≧̸","NotGreaterGreater":"≫̸","NotGreaterLess":"≹","NotGreaterSlantEqual":"⩾̸","NotGreaterTilde":"≵","NotHumpDownHump":"≎̸","NotHumpEqual":"≏̸","notin":"∉","notindot":"⋵̸","notinE":"⋹̸","notinva":"∉","notinvb":"⋷","notinvc":"⋶","NotLeftTriangleBar":"⧏̸","NotLeftTriangle":"⋪","NotLeftTriangleEqual":"⋬","NotLess":"≮","NotLessEqual":"≰","NotLessGreater":"≸","NotLessLess":"≪̸","NotLessSlantEqual":"⩽̸","NotLessTilde":"≴","NotNestedGreaterGreater":"⪢̸","NotNestedLessLess":"⪡̸","notni":"∌","notniva":"∌","notnivb":"⋾","notnivc":"⋽","NotPrecedes":"⊀","NotPrecedesEqual":"⪯̸","NotPrecedesSlantEqual":"⋠","NotReverseElement":"∌","NotRightTriangleBar":"⧐̸","NotRightTriangle":"⋫","NotRightTriangleEqual":"⋭","NotSquareSubset":"⊏̸","NotSquareSubsetEqual":"⋢","NotSquareSuperset":"⊐̸","NotSquareSupersetEqual":"⋣","NotSubset":"⊂⃒","NotSubsetEqual":"⊈","NotSucceeds":"⊁","NotSucceedsEqual":"⪰̸","NotSucceedsSlantEqual":"⋡","NotSucceedsTilde":"≿̸","NotSuperset":"⊃⃒","NotSupersetEqual":"⊉","NotTilde":"≁","NotTildeEqual":"≄","NotTildeFullEqual":"≇","NotTildeTilde":"≉","NotVerticalBar":"∤","nparallel":"∦","npar":"∦","nparsl":"⫽⃥","npart":"∂̸","npolint":"⨔","npr":"⊀","nprcue":"⋠","nprec":"⊀","npreceq":"⪯̸","npre":"⪯̸","nrarrc":"⤳̸","nrarr":"↛","nrArr":"⇏","nrarrw":"↝̸","nrightarrow":"↛","nRightarrow":"⇏","nrtri":"⋫","nrtrie":"⋭","nsc":"⊁","nsccue":"⋡","nsce":"⪰̸","Nscr":"𝒩","nscr":"𝓃","nshortmid":"∤","nshortparallel":"∦","nsim":"≁","nsime":"≄","nsimeq":"≄","nsmid":"∤","nspar":"∦","nsqsube":"⋢","nsqsupe":"⋣","nsub":"⊄","nsubE":"⫅̸","nsube":"⊈","nsubset":"⊂⃒","nsubseteq":"⊈","nsubseteqq":"⫅̸","nsucc":"⊁","nsucceq":"⪰̸","nsup":"⊅","nsupE":"⫆̸","nsupe":"⊉","nsupset":"⊃⃒","nsupseteq":"⊉","nsupseteqq":"⫆̸","ntgl":"≹","Ntilde":"Ñ","ntilde":"ñ","ntlg":"≸","ntriangleleft":"⋪","ntrianglelefteq":"⋬","ntriangleright":"⋫","ntrianglerighteq":"⋭","Nu":"Ν","nu":"ν","num":"#","numero":"№","numsp":" ","nvap":"≍⃒","nvdash":"⊬","nvDash":"⊭","nVdash":"⊮","nVDash":"⊯","nvge":"≥⃒","nvgt":">⃒","nvHarr":"⤄","nvinfin":"⧞","nvlArr":"⤂","nvle":"≤⃒","nvlt":"<⃒","nvltrie":"⊴⃒","nvrArr":"⤃","nvrtrie":"⊵⃒","nvsim":"∼⃒","nwarhk":"⤣","nwarr":"↖","nwArr":"⇖","nwarrow":"↖","nwnear":"⤧","Oacute":"Ó","oacute":"ó","oast":"⊛","Ocirc":"Ô","ocirc":"ô","ocir":"⊚","Ocy":"О","ocy":"о","odash":"⊝","Odblac":"Ő","odblac":"ő","odiv":"⨸","odot":"⊙","odsold":"⦼","OElig":"Œ","oelig":"œ","ofcir":"⦿","Ofr":"𝔒","ofr":"𝔬","ogon":"˛","Ograve":"Ò","ograve":"ò","ogt":"⧁","ohbar":"⦵","ohm":"Ω","oint":"∮","olarr":"↺","olcir":"⦾","olcross":"⦻","oline":"‾","olt":"⧀","Omacr":"Ō","omacr":"ō","Omega":"Ω","omega":"ω","Omicron":"Ο","omicron":"ο","omid":"⦶","ominus":"⊖","Oopf":"𝕆","oopf":"𝕠","opar":"⦷","OpenCurlyDoubleQuote":"“","OpenCurlyQuote":"‘","operp":"⦹","oplus":"⊕","orarr":"↻","Or":"⩔","or":"∨","ord":"⩝","order":"ℴ","orderof":"ℴ","ordf":"ª","ordm":"º","origof":"⊶","oror":"⩖","orslope":"⩗","orv":"⩛","oS":"Ⓢ","Oscr":"𝒪","oscr":"ℴ","Oslash":"Ø","oslash":"ø","osol":"⊘","Otilde":"Õ","otilde":"õ","otimesas":"⨶","Otimes":"⨷","otimes":"⊗","Ouml":"Ö","ouml":"ö","ovbar":"⌽","OverBar":"‾","OverBrace":"⏞","OverBracket":"⎴","OverParenthesis":"⏜","para":"¶","parallel":"∥","par":"∥","parsim":"⫳","parsl":"⫽","part":"∂","PartialD":"∂","Pcy":"П","pcy":"п","percnt":"%","period":".","permil":"‰","perp":"⊥","pertenk":"‱","Pfr":"𝔓","pfr":"𝔭","Phi":"Φ","phi":"φ","phiv":"ϕ","phmmat":"ℳ","phone":"☎","Pi":"Π","pi":"π","pitchfork":"⋔","piv":"ϖ","planck":"ℏ","planckh":"ℎ","plankv":"ℏ","plusacir":"⨣","plusb":"⊞","pluscir":"⨢","plus":"+","plusdo":"∔","plusdu":"⨥","pluse":"⩲","PlusMinus":"±","plusmn":"±","plussim":"⨦","plustwo":"⨧","pm":"±","Poincareplane":"ℌ","pointint":"⨕","popf":"𝕡","Popf":"ℙ","pound":"£","prap":"⪷","Pr":"⪻","pr":"≺","prcue":"≼","precapprox":"⪷","prec":"≺","preccurlyeq":"≼","Precedes":"≺","PrecedesEqual":"⪯","PrecedesSlantEqual":"≼","PrecedesTilde":"≾","preceq":"⪯","precnapprox":"⪹","precneqq":"⪵","precnsim":"⋨","pre":"⪯","prE":"⪳","precsim":"≾","prime":"′","Prime":"″","primes":"ℙ","prnap":"⪹","prnE":"⪵","prnsim":"⋨","prod":"∏","Product":"∏","profalar":"⌮","profline":"⌒","profsurf":"⌓","prop":"∝","Proportional":"∝","Proportion":"∷","propto":"∝","prsim":"≾","prurel":"⊰","Pscr":"𝒫","pscr":"𝓅","Psi":"Ψ","psi":"ψ","puncsp":" ","Qfr":"𝔔","qfr":"𝔮","qint":"⨌","qopf":"𝕢","Qopf":"ℚ","qprime":"⁗","Qscr":"𝒬","qscr":"𝓆","quaternions":"ℍ","quatint":"⨖","quest":"?","questeq":"≟","quot":"\\"","QUOT":"\\"","rAarr":"⇛","race":"∽̱","Racute":"Ŕ","racute":"ŕ","radic":"√","raemptyv":"⦳","rang":"⟩","Rang":"⟫","rangd":"⦒","range":"⦥","rangle":"⟩","raquo":"»","rarrap":"⥵","rarrb":"⇥","rarrbfs":"⤠","rarrc":"⤳","rarr":"→","Rarr":"↠","rArr":"⇒","rarrfs":"⤞","rarrhk":"↪","rarrlp":"↬","rarrpl":"⥅","rarrsim":"⥴","Rarrtl":"⤖","rarrtl":"↣","rarrw":"↝","ratail":"⤚","rAtail":"⤜","ratio":"∶","rationals":"ℚ","rbarr":"⤍","rBarr":"⤏","RBarr":"⤐","rbbrk":"❳","rbrace":"}","rbrack":"]","rbrke":"⦌","rbrksld":"⦎","rbrkslu":"⦐","Rcaron":"Ř","rcaron":"ř","Rcedil":"Ŗ","rcedil":"ŗ","rceil":"⌉","rcub":"}","Rcy":"Р","rcy":"р","rdca":"⤷","rdldhar":"⥩","rdquo":"”","rdquor":"”","rdsh":"↳","real":"ℜ","realine":"ℛ","realpart":"ℜ","reals":"ℝ","Re":"ℜ","rect":"▭","reg":"®","REG":"®","ReverseElement":"∋","ReverseEquilibrium":"⇋","ReverseUpEquilibrium":"⥯","rfisht":"⥽","rfloor":"⌋","rfr":"𝔯","Rfr":"ℜ","rHar":"⥤","rhard":"⇁","rharu":"⇀","rharul":"⥬","Rho":"Ρ","rho":"ρ","rhov":"ϱ","RightAngleBracket":"⟩","RightArrowBar":"⇥","rightarrow":"→","RightArrow":"→","Rightarrow":"⇒","RightArrowLeftArrow":"⇄","rightarrowtail":"↣","RightCeiling":"⌉","RightDoubleBracket":"⟧","RightDownTeeVector":"⥝","RightDownVectorBar":"⥕","RightDownVector":"⇂","RightFloor":"⌋","rightharpoondown":"⇁","rightharpoonup":"⇀","rightleftarrows":"⇄","rightleftharpoons":"⇌","rightrightarrows":"⇉","rightsquigarrow":"↝","RightTeeArrow":"↦","RightTee":"⊢","RightTeeVector":"⥛","rightthreetimes":"⋌","RightTriangleBar":"⧐","RightTriangle":"⊳","RightTriangleEqual":"⊵","RightUpDownVector":"⥏","RightUpTeeVector":"⥜","RightUpVectorBar":"⥔","RightUpVector":"↾","RightVectorBar":"⥓","RightVector":"⇀","ring":"˚","risingdotseq":"≓","rlarr":"⇄","rlhar":"⇌","rlm":"‏","rmoustache":"⎱","rmoust":"⎱","rnmid":"⫮","roang":"⟭","roarr":"⇾","robrk":"⟧","ropar":"⦆","ropf":"𝕣","Ropf":"ℝ","roplus":"⨮","rotimes":"⨵","RoundImplies":"⥰","rpar":")","rpargt":"⦔","rppolint":"⨒","rrarr":"⇉","Rrightarrow":"⇛","rsaquo":"›","rscr":"𝓇","Rscr":"ℛ","rsh":"↱","Rsh":"↱","rsqb":"]","rsquo":"’","rsquor":"’","rthree":"⋌","rtimes":"⋊","rtri":"▹","rtrie":"⊵","rtrif":"▸","rtriltri":"⧎","RuleDelayed":"⧴","ruluhar":"⥨","rx":"℞","Sacute":"Ś","sacute":"ś","sbquo":"‚","scap":"⪸","Scaron":"Š","scaron":"š","Sc":"⪼","sc":"≻","sccue":"≽","sce":"⪰","scE":"⪴","Scedil":"Ş","scedil":"ş","Scirc":"Ŝ","scirc":"ŝ","scnap":"⪺","scnE":"⪶","scnsim":"⋩","scpolint":"⨓","scsim":"≿","Scy":"С","scy":"с","sdotb":"⊡","sdot":"⋅","sdote":"⩦","searhk":"⤥","searr":"↘","seArr":"⇘","searrow":"↘","sect":"§","semi":";","seswar":"⤩","setminus":"∖","setmn":"∖","sext":"✶","Sfr":"𝔖","sfr":"𝔰","sfrown":"⌢","sharp":"♯","SHCHcy":"Щ","shchcy":"щ","SHcy":"Ш","shcy":"ш","ShortDownArrow":"↓","ShortLeftArrow":"←","shortmid":"∣","shortparallel":"∥","ShortRightArrow":"→","ShortUpArrow":"↑","shy":"­","Sigma":"Σ","sigma":"σ","sigmaf":"ς","sigmav":"ς","sim":"∼","simdot":"⩪","sime":"≃","simeq":"≃","simg":"⪞","simgE":"⪠","siml":"⪝","simlE":"⪟","simne":"≆","simplus":"⨤","simrarr":"⥲","slarr":"←","SmallCircle":"∘","smallsetminus":"∖","smashp":"⨳","smeparsl":"⧤","smid":"∣","smile":"⌣","smt":"⪪","smte":"⪬","smtes":"⪬︀","SOFTcy":"Ь","softcy":"ь","solbar":"⌿","solb":"⧄","sol":"/","Sopf":"𝕊","sopf":"𝕤","spades":"♠","spadesuit":"♠","spar":"∥","sqcap":"⊓","sqcaps":"⊓︀","sqcup":"⊔","sqcups":"⊔︀","Sqrt":"√","sqsub":"⊏","sqsube":"⊑","sqsubset":"⊏","sqsubseteq":"⊑","sqsup":"⊐","sqsupe":"⊒","sqsupset":"⊐","sqsupseteq":"⊒","square":"□","Square":"□","SquareIntersection":"⊓","SquareSubset":"⊏","SquareSubsetEqual":"⊑","SquareSuperset":"⊐","SquareSupersetEqual":"⊒","SquareUnion":"⊔","squarf":"▪","squ":"□","squf":"▪","srarr":"→","Sscr":"𝒮","sscr":"𝓈","ssetmn":"∖","ssmile":"⌣","sstarf":"⋆","Star":"⋆","star":"☆","starf":"★","straightepsilon":"ϵ","straightphi":"ϕ","strns":"¯","sub":"⊂","Sub":"⋐","subdot":"⪽","subE":"⫅","sube":"⊆","subedot":"⫃","submult":"⫁","subnE":"⫋","subne":"⊊","subplus":"⪿","subrarr":"⥹","subset":"⊂","Subset":"⋐","subseteq":"⊆","subseteqq":"⫅","SubsetEqual":"⊆","subsetneq":"⊊","subsetneqq":"⫋","subsim":"⫇","subsub":"⫕","subsup":"⫓","succapprox":"⪸","succ":"≻","succcurlyeq":"≽","Succeeds":"≻","SucceedsEqual":"⪰","SucceedsSlantEqual":"≽","SucceedsTilde":"≿","succeq":"⪰","succnapprox":"⪺","succneqq":"⪶","succnsim":"⋩","succsim":"≿","SuchThat":"∋","sum":"∑","Sum":"∑","sung":"♪","sup1":"¹","sup2":"²","sup3":"³","sup":"⊃","Sup":"⋑","supdot":"⪾","supdsub":"⫘","supE":"⫆","supe":"⊇","supedot":"⫄","Superset":"⊃","SupersetEqual":"⊇","suphsol":"⟉","suphsub":"⫗","suplarr":"⥻","supmult":"⫂","supnE":"⫌","supne":"⊋","supplus":"⫀","supset":"⊃","Supset":"⋑","supseteq":"⊇","supseteqq":"⫆","supsetneq":"⊋","supsetneqq":"⫌","supsim":"⫈","supsub":"⫔","supsup":"⫖","swarhk":"⤦","swarr":"↙","swArr":"⇙","swarrow":"↙","swnwar":"⤪","szlig":"ß","Tab":"\\t","target":"⌖","Tau":"Τ","tau":"τ","tbrk":"⎴","Tcaron":"Ť","tcaron":"ť","Tcedil":"Ţ","tcedil":"ţ","Tcy":"Т","tcy":"т","tdot":"⃛","telrec":"⌕","Tfr":"𝔗","tfr":"𝔱","there4":"∴","therefore":"∴","Therefore":"∴","Theta":"Θ","theta":"θ","thetasym":"ϑ","thetav":"ϑ","thickapprox":"≈","thicksim":"∼","ThickSpace":"  ","ThinSpace":" ","thinsp":" ","thkap":"≈","thksim":"∼","THORN":"Þ","thorn":"þ","tilde":"˜","Tilde":"∼","TildeEqual":"≃","TildeFullEqual":"≅","TildeTilde":"≈","timesbar":"⨱","timesb":"⊠","times":"×","timesd":"⨰","tint":"∭","toea":"⤨","topbot":"⌶","topcir":"⫱","top":"⊤","Topf":"𝕋","topf":"𝕥","topfork":"⫚","tosa":"⤩","tprime":"‴","trade":"™","TRADE":"™","triangle":"▵","triangledown":"▿","triangleleft":"◃","trianglelefteq":"⊴","triangleq":"≜","triangleright":"▹","trianglerighteq":"⊵","tridot":"◬","trie":"≜","triminus":"⨺","TripleDot":"⃛","triplus":"⨹","trisb":"⧍","tritime":"⨻","trpezium":"⏢","Tscr":"𝒯","tscr":"𝓉","TScy":"Ц","tscy":"ц","TSHcy":"Ћ","tshcy":"ћ","Tstrok":"Ŧ","tstrok":"ŧ","twixt":"≬","twoheadleftarrow":"↞","twoheadrightarrow":"↠","Uacute":"Ú","uacute":"ú","uarr":"↑","Uarr":"↟","uArr":"⇑","Uarrocir":"⥉","Ubrcy":"Ў","ubrcy":"ў","Ubreve":"Ŭ","ubreve":"ŭ","Ucirc":"Û","ucirc":"û","Ucy":"У","ucy":"у","udarr":"⇅","Udblac":"Ű","udblac":"ű","udhar":"⥮","ufisht":"⥾","Ufr":"𝔘","ufr":"𝔲","Ugrave":"Ù","ugrave":"ù","uHar":"⥣","uharl":"↿","uharr":"↾","uhblk":"▀","ulcorn":"⌜","ulcorner":"⌜","ulcrop":"⌏","ultri":"◸","Umacr":"Ū","umacr":"ū","uml":"¨","UnderBar":"_","UnderBrace":"⏟","UnderBracket":"⎵","UnderParenthesis":"⏝","Union":"⋃","UnionPlus":"⊎","Uogon":"Ų","uogon":"ų","Uopf":"𝕌","uopf":"𝕦","UpArrowBar":"⤒","uparrow":"↑","UpArrow":"↑","Uparrow":"⇑","UpArrowDownArrow":"⇅","updownarrow":"↕","UpDownArrow":"↕","Updownarrow":"⇕","UpEquilibrium":"⥮","upharpoonleft":"↿","upharpoonright":"↾","uplus":"⊎","UpperLeftArrow":"↖","UpperRightArrow":"↗","upsi":"υ","Upsi":"ϒ","upsih":"ϒ","Upsilon":"Υ","upsilon":"υ","UpTeeArrow":"↥","UpTee":"⊥","upuparrows":"⇈","urcorn":"⌝","urcorner":"⌝","urcrop":"⌎","Uring":"Ů","uring":"ů","urtri":"◹","Uscr":"𝒰","uscr":"𝓊","utdot":"⋰","Utilde":"Ũ","utilde":"ũ","utri":"▵","utrif":"▴","uuarr":"⇈","Uuml":"Ü","uuml":"ü","uwangle":"⦧","vangrt":"⦜","varepsilon":"ϵ","varkappa":"ϰ","varnothing":"∅","varphi":"ϕ","varpi":"ϖ","varpropto":"∝","varr":"↕","vArr":"⇕","varrho":"ϱ","varsigma":"ς","varsubsetneq":"⊊︀","varsubsetneqq":"⫋︀","varsupsetneq":"⊋︀","varsupsetneqq":"⫌︀","vartheta":"ϑ","vartriangleleft":"⊲","vartriangleright":"⊳","vBar":"⫨","Vbar":"⫫","vBarv":"⫩","Vcy":"В","vcy":"в","vdash":"⊢","vDash":"⊨","Vdash":"⊩","VDash":"⊫","Vdashl":"⫦","veebar":"⊻","vee":"∨","Vee":"⋁","veeeq":"≚","vellip":"⋮","verbar":"|","Verbar":"‖","vert":"|","Vert":"‖","VerticalBar":"∣","VerticalLine":"|","VerticalSeparator":"❘","VerticalTilde":"≀","VeryThinSpace":" ","Vfr":"𝔙","vfr":"𝔳","vltri":"⊲","vnsub":"⊂⃒","vnsup":"⊃⃒","Vopf":"𝕍","vopf":"𝕧","vprop":"∝","vrtri":"⊳","Vscr":"𝒱","vscr":"𝓋","vsubnE":"⫋︀","vsubne":"⊊︀","vsupnE":"⫌︀","vsupne":"⊋︀","Vvdash":"⊪","vzigzag":"⦚","Wcirc":"Ŵ","wcirc":"ŵ","wedbar":"⩟","wedge":"∧","Wedge":"⋀","wedgeq":"≙","weierp":"℘","Wfr":"𝔚","wfr":"𝔴","Wopf":"𝕎","wopf":"𝕨","wp":"℘","wr":"≀","wreath":"≀","Wscr":"𝒲","wscr":"𝓌","xcap":"⋂","xcirc":"◯","xcup":"⋃","xdtri":"▽","Xfr":"𝔛","xfr":"𝔵","xharr":"⟷","xhArr":"⟺","Xi":"Ξ","xi":"ξ","xlarr":"⟵","xlArr":"⟸","xmap":"⟼","xnis":"⋻","xodot":"⨀","Xopf":"𝕏","xopf":"𝕩","xoplus":"⨁","xotime":"⨂","xrarr":"⟶","xrArr":"⟹","Xscr":"𝒳","xscr":"𝓍","xsqcup":"⨆","xuplus":"⨄","xutri":"△","xvee":"⋁","xwedge":"⋀","Yacute":"Ý","yacute":"ý","YAcy":"Я","yacy":"я","Ycirc":"Ŷ","ycirc":"ŷ","Ycy":"Ы","ycy":"ы","yen":"¥","Yfr":"𝔜","yfr":"𝔶","YIcy":"Ї","yicy":"ї","Yopf":"𝕐","yopf":"𝕪","Yscr":"𝒴","yscr":"𝓎","YUcy":"Ю","yucy":"ю","yuml":"ÿ","Yuml":"Ÿ","Zacute":"Ź","zacute":"ź","Zcaron":"Ž","zcaron":"ž","Zcy":"З","zcy":"з","Zdot":"Ż","zdot":"ż","zeetrf":"ℨ","ZeroWidthSpace":"​","Zeta":"Ζ","zeta":"ζ","zfr":"𝔷","Zfr":"ℨ","ZHcy":"Ж","zhcy":"ж","zigrarr":"⇝","zopf":"𝕫","Zopf":"ℤ","Zscr":"𝒵","zscr":"𝓏","zwj":"‍","zwnj":"‌"}')},function(e){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":"ÿ"}')},function(e){e.exports=JSON.parse('{"amp":"&","apos":"\'","gt":">","lt":"<","quot":"\\""}')},function(e,t,n){var r=n(403),i=/\s+/g,o=n(800),a=n(1390);function s(e,t,n){"object"==typeof e?(n=t,t=e,e=null):"function"==typeof t&&(n=t,t=c),this._callback=e,this._options=t||c,this._elementCB=n,this.dom=[],this._done=!1,this._tagStack=[],this._parser=this._parser||null}var c={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},function(e,t,n){var r=n(800),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}})})},function(e,t,n){var r=n(402),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 c(e,t){return o.getElementsByTagName(e,t,!0,1)[0]}function u(e,t,n){return o.getText(o.getElementsByTagName(e,t,n,1)).trim()}function l(e,t,n,r,i){var o=u(n,r,i);o&&(e[t]=o)}n(220)(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=c(d,this.dom);r&&("feed"===r.name?(t=r.children,n.type="atom",l(n,"id","id",t),l(n,"title","title",t),(e=c("link",t))&&(e=e.attribs)&&(e=e.href)&&(n.link=e),l(n,"description","subtitle",t),(e=u("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=c("link",e))&&(t=t.attribs)&&(t=t.href)&&(n.link=t),(t=u("summary",e)||u("content",e))&&(n.description=t),(t=u("updated",e))&&(n.pubDate=new Date(t)),n})):(t=c("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=u("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=u("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},function(e,t,n){e.exports=i;var r=n(801);function i(e){r.call(this,new o(this),e)}function o(e){this.scope=e}n(220)(i,r),i.prototype.readable=!0;var a=n(402).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)}}})},function(e,t,n){e.exports=i;var r=n(345).EventEmitter;function i(){r.call(this)}n(220)(i,r),i.Readable=n(615),i.Writable=n(1404),i.Duplex=n(1405),i.Transform=n(1406),i.PassThrough=n(1407),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",c));var a=!1;function s(){a||(a=!0,e.end())}function c(){a||(a=!0,"function"==typeof e.destroy&&e.destroy())}function u(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",c),n.removeListener("error",u),e.removeListener("error",u),n.removeListener("end",l),n.removeListener("close",l),e.removeListener("close",l)}return n.on("error",u),e.on("error",u),n.on("end",l),n.on("close",l),e.on("close",l),e.emit("pipe",n),e}},function(e,t,n){"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,r=u(e),a=r[0],s=r[1],c=new o(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=i[e.charCodeAt(n)]<<18|i[e.charCodeAt(n+1)]<<12|i[e.charCodeAt(n+2)]<<6|i[e.charCodeAt(n+3)],c[l++]=t>>16&255,c[l++]=t>>8&255,c[l++]=255&t;2===s&&(t=i[e.charCodeAt(n)]<<2|i[e.charCodeAt(n+1)]>>4,c[l++]=255&t);1===s&&(t=i[e.charCodeAt(n)]<<10|i[e.charCodeAt(n+1)]<<4|i[e.charCodeAt(n+2)]>>2,c[l++]=t>>8&255,c[l++]=255&t);return c},t.fromByteArray=function(e){for(var t,n=e.length,i=n%3,o=[],a=0,s=n-i;a<s;a+=16383)o.push(l(e,a,a+16383>s?s:a+16383));1===i?(t=e[n-1],o.push(r[t>>2]+r[t<<4&63]+"==")):2===i&&(t=(e[n-2]<<8)+e[n-1],o.push(r[t>>10]+r[t>>4&63]+r[t<<2&63]+"="));return o.join("")};for(var r=[],i=[],o="undefined"!=typeof Uint8Array?Uint8Array:Array,a="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",s=0,c=a.length;s<c;++s)r[s]=a[s],i[a.charCodeAt(s)]=s;function u(e){var t=e.length;if(t%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var n=e.indexOf("=");return-1===n&&(n=t),[n,n===t?0:4-n%4]}function l(e,t,n){for(var i,o,a=[],s=t;s<n;s+=3)i=(e[s]<<16&16711680)+(e[s+1]<<8&65280)+(255&e[s+2]),a.push(r[(o=i)>>18&63]+r[o>>12&63]+r[o>>6&63]+r[63&o]);return a.join("")}i["-".charCodeAt(0)]=62,i["_".charCodeAt(0)]=63},function(e,t){
/*! ieee754. BSD-3-Clause License. Feross Aboukhadijeh <https://feross.org/opensource> */
t.read=function(e,t,n,r,i){var o,a,s=8*i-r-1,c=(1<<s)-1,u=c>>1,l=-7,d=n?i-1:0,f=n?-1:1,h=e[t+d];for(d+=f,o=h&(1<<-l)-1,h>>=-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-u;else{if(o===c)return a?NaN:1/0*(h?-1:1);a+=Math.pow(2,r),o-=u}return(h?-1:1)*a*Math.pow(2,o-r)},t.write=function(e,t,n,r,i,o){var a,s,c,u=8*o-i-1,l=(1<<u)-1,d=l>>1,f=23===i?Math.pow(2,-24)-Math.pow(2,-77):0,h=r?0:o-1,p=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*(c=Math.pow(2,-a))<1&&(a--,c*=2),(t+=a+d>=1?f/c:f*Math.pow(2,1-d))*c>=2&&(a++,c/=2),a+d>=l?(s=0,a=l):a+d>=1?(s=(t*c-1)*Math.pow(2,i),a+=d):(s=t*Math.pow(2,d-1)*Math.pow(2,i),a=0));i>=8;e[n+h]=255&s,h+=p,s/=256,i-=8);for(a=a<<i|s,u+=i;u>0;e[n+h]=255&a,h+=p,a/=256,u-=8);e[n+h-p]|=128*m}},function(e,t){},function(e,t,n){"use strict";var r=n(616).Buffer,i=n(1398);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}return e.prototype.push=function(e){var t={data:e,next:null};this.length>0?this.tail.next=t:this.head=t,this.tail=t,++this.length},e.prototype.unshift=function(e){var t={data:e,next:this.head};0===this.length&&(this.tail=t),this.head=t,++this.length},e.prototype.shift=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}},e.prototype.clear=function(){this.head=this.tail=null,this.length=0},e.prototype.join=function(e){if(0===this.length)return"";for(var t=this.head,n=""+t.data;t=t.next;)n+=e+t.data;return n},e.prototype.concat=function(e){if(0===this.length)return r.alloc(0);if(1===this.length)return this.head.data;for(var t,n,i,o=r.allocUnsafe(e>>>0),a=this.head,s=0;a;)t=a.data,n=o,i=s,t.copy(n,i),s+=a.data.length,a=a.next;return o},e}(),i&&i.inspect&&i.inspect.custom&&(e.exports.prototype[i.inspect.custom]=function(){var e=i.inspect({length:this.length});return this.constructor.name+" "+e})},function(e,t){},function(e,t,n){(function(e){var r=void 0!==e&&e||"undefined"!=typeof self&&self||window,i=Function.prototype.apply;function o(e,t){this._id=e,this._clearFn=t}t.setTimeout=function(){return new o(i.call(setTimeout,r,arguments),clearTimeout)},t.setInterval=function(){return new o(i.call(setInterval,r,arguments),clearInterval)},t.clearTimeout=t.clearInterval=function(e){e&&e.close()},o.prototype.unref=o.prototype.ref=function(){},o.prototype.close=function(){this._clearFn.call(r,this._id)},t.enroll=function(e,t){clearTimeout(e._idleTimeoutId),e._idleTimeout=t},t.unenroll=function(e){clearTimeout(e._idleTimeoutId),e._idleTimeout=-1},t._unrefActive=t.active=function(e){clearTimeout(e._idleTimeoutId);var t=e._idleTimeout;t>=0&&(e._idleTimeoutId=setTimeout(function(){e._onTimeout&&e._onTimeout()},t))},n(1400),t.setImmediate="undefined"!=typeof self&&self.setImmediate||void 0!==e&&e.setImmediate||this&&this.setImmediate,t.clearImmediate="undefined"!=typeof self&&self.clearImmediate||void 0!==e&&e.clearImmediate||this&&this.clearImmediate}).call(this,n(96))},function(e,t,n){(function(e,t){!function(e,n){"use strict";if(!e.setImmediate){var r,i,o,a,s,c=1,u={},l=!1,d=e.document,f=Object.getPrototypeOf&&Object.getPrototypeOf(e);f=f&&f.setTimeout?f:e,"[object process]"==={}.toString.call(e.process)?r=function(e){t.nextTick(function(){p(e)})}:!function(){if(e.postMessage&&!e.importScripts){var t=!0,n=e.onmessage;return e.onmessage=function(){t=!1},e.postMessage("","*"),e.onmessage=n,t}}()?e.MessageChannel?((o=new MessageChannel).port1.onmessage=function(e){p(e.data)},r=function(e){o.port2.postMessage(e)}):d&&"onreadystatechange"in d.createElement("script")?(i=d.documentElement,r=function(e){var t=d.createElement("script");t.onreadystatechange=function(){p(e),t.onreadystatechange=null,i.removeChild(t),t=null},i.appendChild(t)}):r=function(e){setTimeout(p,0,e)}:(a="setImmediate$"+Math.random()+"$",s=function(t){t.source===e&&"string"==typeof t.data&&0===t.data.indexOf(a)&&p(+t.data.slice(a.length))},e.addEventListener?e.addEventListener("message",s,!1):e.attachEvent("onmessage",s),r=function(t){e.postMessage(a+t,"*")}),f.setImmediate=function(e){"function"!=typeof e&&(e=new Function(""+e));for(var t=new Array(arguments.length-1),n=0;n<t.length;n++)t[n]=arguments[n+1];var i={callback:e,args:t};return u[c]=i,r(c),c++},f.clearImmediate=h}function h(e){delete u[e]}function p(e){if(l)setTimeout(p,0,e);else{var t=u[e];if(t){l=!0;try{!function(e){var t=e.callback,r=e.args;switch(r.length){case 0:t();break;case 1:t(r[0]);break;case 2:t(r[0],r[1]);break;case 3:t(r[0],r[1],r[2]);break;default:t.apply(n,r)}}(t)}finally{h(e),l=!1}}}}}("undefined"==typeof self?void 0===e?this:e:self)}).call(this,n(96),n(280))},function(e,t,n){(function(t){function n(e){try{if(!t.localStorage)return!1}catch(e){return!1}var n=t.localStorage[e];return null!=n&&"true"===String(n).toLowerCase()}e.exports=function(e,t){if(n("noDeprecation"))return e;var r=!1;return function(){if(!r){if(n("throwDeprecation"))throw new Error(t);n("traceDeprecation")?console.trace(t):console.warn(t),r=!0}return e.apply(this,arguments)}}}).call(this,n(96))},function(e,t,n){var r=n(304),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)}},function(e,t,n){"use strict";e.exports=o;var r=n(806),i=Object.create(n(404));function o(e){if(!(this instanceof o))return new o(e);r.call(this,e)}i.inherits=n(220),i.inherits(o,r),o.prototype._transform=function(e,t,n){n(null,e)}},function(e,t,n){e.exports=n(617)},function(e,t,n){e.exports=n(305)},function(e,t,n){e.exports=n(615).Transform},function(e,t,n){e.exports=n(615).PassThrough},function(e,t){},function(e,t,n){function r(e){this._cbs=e||{}}e.exports=r;var i=n(402).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)}}})},function(e,t,n){var r=e.exports;[n(1411),n(1419),n(1420),n(1421),n(1422),n(1423)].forEach(function(e){Object.keys(e).forEach(function(t){r[t]=e[t].bind(r)})})},function(e,t,n){var r=n(403),i=n(1412),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){if(Array.isArray(t))return t.map(e).join("");if(o(t))return"br"===t.name?"\n":e(t.children);if(t.type===r.CDATA)return e(t.children);if(t.type===r.Text)return t.data;return""}}},function(e,t,n){var r=n(1413),i=n(1414),o=n(1418);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},c=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+=c(o.children,t):r.isTag(o)?n+=l(o,t):o.type===r.Directive?n+=d(o):o.type===r.Comment?n+=p(o):o.type===r.CDATA?n+=h(o):n+=f(o,t)}return n},u=["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&&u.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+=c(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 h(e){return"<![CDATA["+e.children[0].data+"]]>"}function p(e){return"\x3c!--"+e.data+"--\x3e"}},function(e,t,n){"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"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(807),i=n(810);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(810);t.encodeXML=o.encodeXML,t.encodeHTML=o.encodeHTML,t.escape=o.escape,t.encodeHTML4=o.encodeHTML,t.encodeHTML5=o.encodeHTML;var a=n(807);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},function(e){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":"ÿ"}')},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(1417));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)}},function(e){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}')},function(e){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"}}')},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}},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}},function(e,t,n){var r=n(403).isTag;function i(e,t,n,r){for(var o,a=[],s=0,c=t.length;s<c&&!(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){var i=null;for(var 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}}},function(e,t,n){var r=n(403),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)}},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,c,u,l,d,f,h=[],p=[];if(e===t)return 0;for(s=e;s;)h.unshift(s),s=s.parent;for(s=t;s;)p.unshift(s),s=s.parent;for(f=0;h[f]===p[f];)f++;return 0===f?n:(u=(c=h[f-1]).children,l=h[f],d=p[f],u.indexOf(l)>u.indexOf(d)?c===t?i|a:i:c===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}},function(e,t,n){function r(e){this._cbs=e||{},this.events=[]}e.exports=r;var i=n(402).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])}}},function(e,t){e.exports=function(){for(var e={},t=0;t<arguments.length;t++){var r=arguments[t];for(var i in r)n.call(r,i)&&(e[i]=r[i])}return e};var n=Object.prototype.hasOwnProperty},function(e,t,n){(function(t){var n=1/0,r="[object Symbol]",i=/[\\^$.*+?()[\]{}|]/g,o=RegExp(i.source),a="object"==typeof t&&t&&t.Object===Object&&t,s="object"==typeof self&&self&&self.Object===Object&&self,c=a||s||Function("return this")(),u=Object.prototype.toString,l=c.Symbol,d=l?l.prototype:void 0,f=d?d.toString:void 0;function h(e){if("string"==typeof e)return e;if(function(e){return"symbol"==typeof e||function(e){return!!e&&"object"==typeof e}(e)&&u.call(e)==r}(e))return f?f.call(e):"";var t=e+"";return"0"==t&&1/e==-n?"-0":t}e.exports=function(e){var t;return(e=null==(t=e)?"":h(t))&&o.test(e)?e.replace(i,"\\$&"):e}}).call(this,n(96))},function(e,t,n){(function(e,n){var r=200,i="__lodash_hash_undefined__",o=9007199254740991,a="[object Arguments]",s="[object Boolean]",c="[object Date]",u="[object Function]",l="[object GeneratorFunction]",d="[object Map]",f="[object Number]",h="[object Object]",p="[object RegExp]",m="[object Set]",v="[object String]",g="[object Symbol]",y="[object ArrayBuffer]",b="[object DataView]",_="[object Float32Array]",w="[object Float64Array]",x="[object Int8Array]",k="[object Int16Array]",E="[object Int32Array]",S="[object Uint8Array]",T="[object Uint8ClampedArray]",C="[object Uint16Array]",O="[object Uint32Array]",j=/\w*$/,A=/^\[object .+?Constructor\]$/,P=/^(?:0|[1-9]\d*)$/,M={};M[a]=M["[object Array]"]=M[y]=M[b]=M[s]=M[c]=M[_]=M[w]=M[x]=M[k]=M[E]=M[d]=M[f]=M[h]=M[p]=M[m]=M[v]=M[g]=M[S]=M[T]=M[C]=M[O]=!0,M["[object Error]"]=M[u]=M["[object WeakMap]"]=!1;var N="object"==typeof e&&e&&e.Object===Object&&e,L="object"==typeof self&&self&&self.Object===Object&&self,I=N||L||Function("return this")(),D=t&&!t.nodeType&&t,R=D&&"object"==typeof n&&n&&!n.nodeType&&n,B=R&&R.exports===D;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=I["__core-js_shared__"],Q=(Y=/[^.]+$/.exec(X&&X.keys&&X.keys.IE_PROTO||""))?"Symbol(src)_1."+Y:"",Z=K.toString,J=$.hasOwnProperty,ee=$.toString,te=RegExp("^"+Z.call(J).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),ne=B?I.Buffer:void 0,re=I.Symbol,ie=I.Uint8Array,oe=V(Object.getPrototypeOf,Object),ae=Object.create,se=$.propertyIsEnumerable,ce=G.splice,ue=Object.getOwnPropertySymbols,le=ne?ne.isBuffer:void 0,de=V(Object.keys,Object),fe=Re(I,"DataView"),he=Re(I,"Map"),pe=Re(I,"Promise"),me=Re(I,"Set"),ve=Re(I,"WeakMap"),ge=Re(Object,"create"),ye=ze(fe),be=ze(he),_e=ze(pe),we=ze(me),xe=ze(ve),ke=re?re.prototype:void 0,Ee=ke?ke.valueOf:void 0;function Se(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 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 Oe(e){this.__data__=new Te(e)}function je(e,t){var n=Ve(e)||function(e){return function(e){return function(e){return!!e&&"object"==typeof e}(e)&&We(e)}(e)&&J.call(e,"callee")&&(!se.call(e,"callee")||ee.call(e)==a)}(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 o in e)!t&&!J.call(e,o)||i&&("length"==o||Ue(o,r))||n.push(o);return n}function Ae(e,t,n){var r=e[t];J.call(e,t)&&He(r,n)&&(void 0!==n||t in e)||(e[t]=n)}function Pe(e,t){for(var n=e.length;n--;)if(He(e[n][0],t))return n;return-1}function Me(e,t,n,r,i,o,A){var P;if(r&&(P=o?r(e,i,o,A):r(e)),void 0!==P)return P;if(!Ke(e))return e;var N=Ve(e);if(N){if(P=function(e){var t=e.length,n=e.constructor(t);t&&"string"==typeof e[0]&&J.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 L=Fe(e),I=L==u||L==l;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(L==h||L==a||I&&!o){if(z(e))return o?e:{};if(P=function(e){return"function"!=typeof e.constructor||qe(e)?{}:(t=oe(e),Ke(t)?ae(t):{});var t}(I?{}:e),!t)return function(e,t){return Ie(e,Be(e),t)}(e,function(e,t){return e&&Ie(t,$e(t),e)}(P,e))}else{if(!M[L])return o?e:{};P=function(e,t,n,r){var i=e.constructor;switch(t){case y:return Le(e);case s:case c:return new i(+e);case b:return function(e,t){var n=t?Le(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.byteLength)}(e,r);case _:case w:case x:case k:case E:case S:case T:case C:case O:return function(e,t){var n=t?Le(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.length)}(e,r);case d:return function(e,t,n){return q(t?n(H(e),!0):H(e),F,new e.constructor)}(e,r,n);case f:case v:return new i(e);case p:return(u=new(a=e).constructor(a.source,j.exec(a))).lastIndex=a.lastIndex,u;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,Ee?Object(Ee.call(o)):{}}var o;var a,u}(e,L,Me,t)}}A||(A=new Oe);var D=A.get(e);if(D)return D;if(A.set(e,P),!N)var R=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););}(R||e,function(i,o){R&&(i=e[o=i]),Ae(P,o,Me(i,t,n,r,o,e,A))}),P}function Ne(e){return!(!Ke(e)||(t=e,Q&&Q in t))&&(Ge(e)||z(e)?te:A).test(ze(e));var t}function Le(e){var t=new e.constructor(e.byteLength);return new ie(t).set(new ie(e)),t}function Ie(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;Ae(n,a,void 0===s?e[a]:s)}return n}function De(e,t){var n,r,i=e.__data__;return("string"==(r=typeof(n=t))||"number"==r||"symbol"==r||"boolean"==r?"__proto__"!==n:null===n)?i["string"==typeof t?"string":"hash"]:i.map}function Re(e,t){var n=function(e,t){return null==e?void 0:e[t]}(e,t);return Ne(n)?n:void 0}Se.prototype.clear=function(){this.__data__=ge?ge(null):{}},Se.prototype.delete=function(e){return this.has(e)&&delete this.__data__[e]},Se.prototype.get=function(e){var t=this.__data__;if(ge){var n=t[e];return n===i?void 0:n}return J.call(t,e)?t[e]:void 0},Se.prototype.has=function(e){var t=this.__data__;return ge?void 0!==t[e]:J.call(t,e)},Se.prototype.set=function(e,t){return this.__data__[e]=ge&&void 0===t?i:t,this},Te.prototype.clear=function(){this.__data__=[]},Te.prototype.delete=function(e){var t=this.__data__,n=Pe(t,e);return!(n<0||(n==t.length-1?t.pop():ce.call(t,n,1),0))},Te.prototype.get=function(e){var t=this.__data__,n=Pe(t,e);return n<0?void 0:t[n][1]},Te.prototype.has=function(e){return Pe(this.__data__,e)>-1},Te.prototype.set=function(e,t){var n=this.__data__,r=Pe(n,e);return r<0?n.push([e,t]):n[r][1]=t,this},Ce.prototype.clear=function(){this.__data__={hash:new Se,map:new(he||Te),string:new Se}},Ce.prototype.delete=function(e){return De(this,e).delete(e)},Ce.prototype.get=function(e){return De(this,e).get(e)},Ce.prototype.has=function(e){return De(this,e).has(e)},Ce.prototype.set=function(e,t){return De(this,e).set(e,t),this},Oe.prototype.clear=function(){this.__data__=new Te},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 Te){var i=n.__data__;if(!he||i.length<r-1)return i.push([e,t]),this;n=this.__data__=new Ce(i)}return n.set(e,t),this};var Be=ue?V(ue,Object):function(){return[]},Fe=function(e){return ee.call(e)};function Ue(e,t){return!!(t=null==t?o:t)&&("number"==typeof e||P.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 Z.call(e)}catch(e){}try{return e+""}catch(e){}}return""}function He(e,t){return e===t||e!=e&&t!=t}(fe&&Fe(new fe(new ArrayBuffer(1)))!=b||he&&Fe(new he)!=d||pe&&"[object Promise]"!=Fe(pe.resolve())||me&&Fe(new me)!=m||ve&&"[object WeakMap]"!=Fe(new ve))&&(Fe=function(e){var t=ee.call(e),n=t==h?e.constructor:void 0,r=n?ze(n):void 0;if(r)switch(r){case ye:return b;case be:return d;case _e:return"[object Promise]";case we:return m;case xe:return"[object WeakMap]"}return t});var Ve=Array.isArray;function We(e){return null!=e&&function(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=o}(e.length)&&!Ge(e)}var Ye=le||function(){return!1};function Ge(e){var t=Ke(e)?ee.call(e):"";return t==u||t==l}function Ke(e){var t=typeof e;return!!e&&("object"==t||"function"==t)}function $e(e){return We(e)?je(e):function(e){if(!qe(e))return de(e);var t=[];for(var n in Object(e))J.call(e,n)&&"constructor"!=n&&t.push(n);return t}(e)}n.exports=function(e){return Me(e,!0,!0)}}).call(this,n(96),n(249)(e))},function(e,t,n){(function(e,n){var r=200,i="__lodash_hash_undefined__",o=800,a=16,s=9007199254740991,c="[object Arguments]",u="[object AsyncFunction]",l="[object Function]",d="[object GeneratorFunction]",f="[object Null]",h="[object Object]",p="[object Proxy]",m="[object Undefined]",v=/^\[object .+?Constructor\]$/,g=/^(?:0|[1-9]\d*)$/,y={};y["[object Float32Array]"]=y["[object Float64Array]"]=y["[object Int8Array]"]=y["[object Int16Array]"]=y["[object Int32Array]"]=y["[object Uint8Array]"]=y["[object Uint8ClampedArray]"]=y["[object Uint16Array]"]=y["[object Uint32Array]"]=!0,y[c]=y["[object Array]"]=y["[object ArrayBuffer]"]=y["[object Boolean]"]=y["[object DataView]"]=y["[object Date]"]=y["[object Error]"]=y[l]=y["[object Map]"]=y["[object Number]"]=y[h]=y["[object RegExp]"]=y["[object Set]"]=y["[object String]"]=y["[object WeakMap]"]=!1;var b="object"==typeof e&&e&&e.Object===Object&&e,_="object"==typeof self&&self&&self.Object===Object&&self,w=b||_||Function("return this")(),x=t&&!t.nodeType&&t,k=x&&"object"==typeof n&&n&&!n.nodeType&&n,E=k&&k.exports===x,S=E&&b.process,T=function(){try{var e=k&&k.require&&k.require("util").types;return e||S&&S.binding&&S.binding("util")}catch(e){}}(),C=T&&T.isTypedArray;var O,j,A,P=Array.prototype,M=Function.prototype,N=Object.prototype,L=w["__core-js_shared__"],I=M.toString,D=N.hasOwnProperty,R=(O=/[^.]+$/.exec(L&&L.keys&&L.keys.IE_PROTO||""))?"Symbol(src)_1."+O:"",B=N.toString,F=I.call(Object),U=RegExp("^"+I.call(D).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),q=E?w.Buffer:void 0,z=w.Symbol,H=w.Uint8Array,V=q?q.allocUnsafe:void 0,W=(j=Object.getPrototypeOf,A=Object,function(e){return j(A(e))}),Y=Object.create,G=N.propertyIsEnumerable,K=P.splice,$=z?z.toStringTag:void 0,X=function(){try{var e=we(Object,"defineProperty");return e({},"",{}),e}catch(e){}}(),Q=q?q.isBuffer:void 0,Z=Math.max,J=Date.now,ee=we(w,"Map"),te=we(Object,"create"),ne=function(){function e(){}return function(t){if(!Ne(t))return{};if(Y)return Y(t);e.prototype=t;var n=new e;return e.prototype=void 0,n}}();function re(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 ie(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 oe(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 ae(e){var t=this.__data__=new ie(e);this.size=t.size}function se(e,t){var n=Oe(e),r=!n&&Ce(e),i=!n&&!r&&Ae(e),o=!n&&!r&&!i&&Ie(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):[],c=s.length;for(var u in e)!t&&!D.call(e,u)||a&&("length"==u||i&&("offset"==u||"parent"==u)||o&&("buffer"==u||"byteLength"==u||"byteOffset"==u)||xe(u,c))||s.push(u);return s}function ce(e,t,n){(void 0===n||Te(e[t],n))&&(void 0!==n||t in e)||de(e,t,n)}function ue(e,t,n){var r=e[t];D.call(e,t)&&Te(r,n)&&(void 0!==n||t in e)||de(e,t,n)}function le(e,t){for(var n=e.length;n--;)if(Te(e[n][0],t))return n;return-1}function de(e,t,n){"__proto__"==t&&X?X(e,t,{configurable:!0,enumerable:!0,value:n,writable:!0}):e[t]=n}re.prototype.clear=function(){this.__data__=te?te(null):{},this.size=0},re.prototype.delete=function(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t},re.prototype.get=function(e){var t=this.__data__;if(te){var n=t[e];return n===i?void 0:n}return D.call(t,e)?t[e]:void 0},re.prototype.has=function(e){var t=this.__data__;return te?void 0!==t[e]:D.call(t,e)},re.prototype.set=function(e,t){var n=this.__data__;return this.size+=this.has(e)?0:1,n[e]=te&&void 0===t?i:t,this},ie.prototype.clear=function(){this.__data__=[],this.size=0},ie.prototype.delete=function(e){var t=this.__data__,n=le(t,e);return!(n<0||(n==t.length-1?t.pop():K.call(t,n,1),--this.size,0))},ie.prototype.get=function(e){var t=this.__data__,n=le(t,e);return n<0?void 0:t[n][1]},ie.prototype.has=function(e){return le(this.__data__,e)>-1},ie.prototype.set=function(e,t){var n=this.__data__,r=le(n,e);return r<0?(++this.size,n.push([e,t])):n[r][1]=t,this},oe.prototype.clear=function(){this.size=0,this.__data__={hash:new re,map:new(ee||ie),string:new re}},oe.prototype.delete=function(e){var t=_e(this,e).delete(e);return this.size-=t?1:0,t},oe.prototype.get=function(e){return _e(this,e).get(e)},oe.prototype.has=function(e){return _e(this,e).has(e)},oe.prototype.set=function(e,t){var n=_e(this,e),r=n.size;return n.set(e,t),this.size+=n.size==r?0:1,this},ae.prototype.clear=function(){this.__data__=new ie,this.size=0},ae.prototype.delete=function(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n},ae.prototype.get=function(e){return this.__data__.get(e)},ae.prototype.has=function(e){return this.__data__.has(e)},ae.prototype.set=function(e,t){var n=this.__data__;if(n instanceof ie){var i=n.__data__;if(!ee||i.length<r-1)return i.push([e,t]),this.size=++n.size,this;n=this.__data__=new oe(i)}return n.set(e,t),this.size=n.size,this};var fe,he=function(e,t,n){for(var r=-1,i=Object(e),o=n(e),a=o.length;a--;){var s=o[fe?a:++r];if(!1===t(i[s],s,i))break}return e};function pe(e){return null==e?void 0===e?m:f:$&&$ in Object(e)?function(e){var t=D.call(e,$),n=e[$];try{e[$]=void 0;var r=!0}catch(e){}var i=B.call(e);r&&(t?e[$]=n:delete e[$]);return i}(e):function(e){return B.call(e)}(e)}function me(e){return Le(e)&&pe(e)==c}function ve(e){return!(!Ne(e)||(t=e,R&&R in t))&&(Pe(e)?U:v).test(function(e){if(null!=e){try{return I.call(e)}catch(e){}try{return e+""}catch(e){}}return""}(e));var t}function ge(e){if(!Ne(e))return function(e){var t=[];if(null!=e)for(var n in Object(e))t.push(n);return t}(e);var t=ke(e),n=[];for(var r in e)("constructor"!=r||!t&&D.call(e,r))&&n.push(r);return n}function ye(e,t,n,r,i){e!==t&&he(t,function(o,a){if(i||(i=new ae),Ne(o))!function(e,t,n,r,i,o,a){var s=Ee(e,n),c=Ee(t,n),u=a.get(c);if(u)return void ce(e,n,u);var l=o?o(s,c,n+"",e,t,a):void 0,d=void 0===l;if(d){var f=Oe(c),p=!f&&Ae(c),m=!f&&!p&&Ie(c);l=c,f||p||m?Oe(s)?l=s:Le(_=s)&&je(_)?l=function(e,t){var n=-1,r=e.length;t||(t=Array(r));for(;++n<r;)t[n]=e[n];return t}(s):p?(d=!1,l=function(e,t){if(t)return e.slice();var n=e.length,r=V?V(n):new e.constructor(n);return e.copy(r),r}(c,!0)):m?(d=!1,v=c,g=!0?(y=v.buffer,b=new y.constructor(y.byteLength),new H(b).set(new H(y)),b):v.buffer,l=new v.constructor(g,v.byteOffset,v.length)):l=[]:function(e){if(!Le(e)||pe(e)!=h)return!1;var t=W(e);if(null===t)return!0;var n=D.call(t,"constructor")&&t.constructor;return"function"==typeof n&&n instanceof n&&I.call(n)==F}(c)||Ce(c)?(l=s,Ce(s)?l=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],c=r?r(n[s],e[s],s,n,e):void 0;void 0===c&&(c=e[s]),i?de(n,s,c):ue(n,s,c)}return n}(e,De(e))}(s):Ne(s)&&!Pe(s)||(l=function(e){return"function"!=typeof e.constructor||ke(e)?{}:ne(W(e))}(c))):d=!1}var v,g,y,b;var _;d&&(a.set(c,l),i(l,c,r,o,a),a.delete(c));ce(e,n,l)}(e,t,a,n,ye,r,i);else{var s=r?r(Ee(e,a),o,a+"",e,t,i):void 0;void 0===s&&(s=o),ce(e,a,s)}},De)}function be(e,t){return Se(function(e,t,n){return t=Z(void 0===t?e.length-1:t,0),function(){for(var r=arguments,i=-1,o=Z(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),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)}(e,this,s)}}(e,t,Fe),e+"")}function _e(e,t){var n,r,i=e.__data__;return("string"==(r=typeof(n=t))||"number"==r||"symbol"==r||"boolean"==r?"__proto__"!==n:null===n)?i["string"==typeof t?"string":"hash"]:i.map}function we(e,t){var n=function(e,t){return null==e?void 0:e[t]}(e,t);return ve(n)?n:void 0}function xe(e,t){var n=typeof e;return!!(t=null==t?s:t)&&("number"==n||"symbol"!=n&&g.test(e))&&e>-1&&e%1==0&&e<t}function ke(e){var t=e&&e.constructor;return e===("function"==typeof t&&t.prototype||N)}function Ee(e,t){if(("constructor"!==t||"function"!=typeof e[t])&&"__proto__"!=t)return e[t]}var Se=function(e){var t=0,n=0;return function(){var r=J(),i=a-(r-n);if(n=r,i>0){if(++t>=o)return arguments[0]}else t=0;return e.apply(void 0,arguments)}}(X?function(e,t){return X(e,"toString",{configurable:!0,enumerable:!1,value:(n=t,function(){return n}),writable:!0});var n}:Fe);function Te(e,t){return e===t||e!=e&&t!=t}var Ce=me(function(){return arguments}())?me:function(e){return Le(e)&&D.call(e,"callee")&&!G.call(e,"callee")},Oe=Array.isArray;function je(e){return null!=e&&Me(e.length)&&!Pe(e)}var Ae=Q||function(){return!1};function Pe(e){if(!Ne(e))return!1;var t=pe(e);return t==l||t==d||t==u||t==p}function Me(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=s}function Ne(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}function Le(e){return null!=e&&"object"==typeof e}var Ie=C?function(e){return function(t){return e(t)}}(C):function(e){return Le(e)&&Me(e.length)&&!!y[pe(e)]};function De(e){return je(e)?se(e,!0):ge(e)}var Re,Be=(Re=function(e,t,n,r){ye(e,t,n,r)},be(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=Re.length>3&&"function"==typeof i?(r--,i):void 0,o&&function(e,t,n){if(!Ne(n))return!1;var r=typeof t;return!!("number"==r?je(n)&&xe(t,n.length):"string"==r&&t in n)&&Te(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&&Re(e,a,n,i)}return e}));function Fe(e){return e}n.exports=Be}).call(this,n(96),n(249)(e))},function(e,t,n){"use strict";var r=n(1430),i=n(1431),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),c=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(c))throw new Error("Invalid srcset descriptor: "+e+".");t.density=c}}),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(", ")}},function(e,t,n){"use strict";e.exports=Number.isNaN||function(e){return e!=e}},function(e,t,n){"use strict";(function(t){var n;"Set"in t?"function"==typeof Set.prototype.forEach&&(n=!1,new Set([!0]).forEach(function(e){n=e}),!0===n)?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}}).call(this,n(96))},function(e,t,n){"use strict";t.__esModule=!0;var r=h(n(619)),i=h(n(821)),o=h(n(622)),a=h(n(624)),s=h(n(482)),c=h(n(1447)),u=h(n(623)),l=h(n(823)),d=h(n(483)),f=h(n(626));function h(e){return e&&e.__esModule?e:{default:e}}function p(){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)}p.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 p([n(r)]).process(e,t)},n},p.stringify=o.default,p.parse=u.default,p.vendor=c.default,p.list=l.default,p.comment=function(e){return new a.default(e)},p.atRule=function(e){return new s.default(e)},p.decl=function(e){return new r.default(e)},p.rule=function(e){return new d.default(e)},p.root=function(e){return new f.default(e)},t.default=p,e.exports=t.default},function(e,t){},function(e,t,n){"use strict";t.__esModule=!0;var r=a(n(812)),i=a(n(813)),o=a(n(814));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},function(e,t,n){"use strict";(function(r){t.__esModule=!0;var i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},o=c(n(815)),a=c(n(621)),s=c(n(1442));function c(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 o.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),r?r.from&&r.from!==Uint8Array.from?r.from(n,"base64").toString():new r(n,"base64").toString():window.atob(n);var n,i=e.match(/data:application\/json;([^,]+),/)[1];throw new Error("Unsupported source map encoding "+i)},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&&s.default.existsSync&&s.default.existsSync(n))return s.default.readFileSync(n,"utf-8").toString().trim();throw new Error("Unable to load previous source map: "+n.toString())}if(t instanceof o.default.SourceMapConsumer)return o.default.SourceMapGenerator.fromSourceMap(t).toString();if(t instanceof o.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=a.default.join(a.default.dirname(e),r)),this.root=a.default.dirname(r),!(!s.default.existsSync||!s.default.existsSync(r))&&s.default.readFileSync(r,"utf-8").toString().trim()}},e.prototype.isMap=function(e){return"object"===(void 0===e?"undefined":i(e))&&("string"==typeof e.mappings||"string"==typeof e._mappings)},e}();t.default=u,e.exports=t.default}).call(this,n(304).Buffer)},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}},function(e,t,n){var r=n(405);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.MappingList=i},function(e,t,n){var r=n(405),i=n(1439),o=n(818).ArraySet,a=n(817),s=n(1440).quickSort;function c(e,t){var n=e;return"string"==typeof e&&(n=r.parseSourceMapInput(e)),null!=n.sections?new d(n,t):new u(n,t)}function u(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",[]),c=r.getArg(n,"sourceRoot",null),u=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);c&&(c=r.normalize(c)),a=a.map(String).map(r.normalize).map(function(e){return c&&r.isAbsolute(c)&&r.isAbsolute(e)?r.relative(c,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(c,e,t)}),this.sourceRoot=c,this.sourcesContent=u,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 c(r.getArg(e,"map"),t)}})}c.fromSourceMap=function(e,t){return u.fromSourceMap(e,t)},c.prototype._version=3,c.prototype.__generatedMappings=null,Object.defineProperty(c.prototype,"_generatedMappings",{configurable:!0,enumerable:!0,get:function(){return this.__generatedMappings||this._parseMappings(this._mappings,this.sourceRoot),this.__generatedMappings}}),c.prototype.__originalMappings=null,Object.defineProperty(c.prototype,"_originalMappings",{configurable:!0,enumerable:!0,get:function(){return this.__originalMappings||this._parseMappings(this._mappings,this.sourceRoot),this.__originalMappings}}),c.prototype._charIsMappingSeparator=function(e,t){var n=e.charAt(t);return";"===n||","===n},c.prototype._parseMappings=function(e,t){throw new Error("Subclasses must implement _parseMappings")},c.GENERATED_ORDER=1,c.ORIGINAL_ORDER=2,c.GREATEST_LOWER_BOUND=1,c.LEAST_UPPER_BOUND=2,c.prototype.eachMapping=function(e,t,n){var i,o=t||null;switch(n||c.GENERATED_ORDER){case c.GENERATED_ORDER:i=this._generatedMappings;break;case c.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)},c.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 c=s.originalLine;s&&s.originalLine===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];else for(var u=s.originalColumn;s&&s.originalLine===t&&s.originalColumn==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]}return o},t.SourceMapConsumer=c,u.prototype=Object.create(c.prototype),u.prototype.consumer=c,u.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},u.fromSourceMap=function(e,t){var n=Object.create(u.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 c=e._mappings.toArray().slice(),d=n.__generatedMappings=[],f=n.__originalMappings=[],h=0,p=c.length;h<p;h++){var m=c[h],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},u.prototype._version=3,Object.defineProperty(u.prototype,"sources",{get:function(){return this._absoluteSources.slice()}}),u.prototype._parseMappings=function(e,t){for(var n,i,o,c,u,d=1,f=0,h=0,p=0,m=0,v=0,g=e.length,y=0,b={},_={},w=[],x=[];y<g;)if(";"===e.charAt(y))d++,y++,f=0;else if(","===e.charAt(y))y++;else{for((n=new l).generatedLine=d,c=y;c<g&&!this._charIsMappingSeparator(e,c);c++);if(o=b[i=e.slice(y,c)])y+=i.length;else{for(o=[];y<c;)a.decode(e,y,_),u=_.value,y=_.rest,o.push(u);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=h+o[2],h=n.originalLine,n.originalLine+=1,n.originalColumn=p+o[3],p=n.originalColumn,o.length>4&&(n.name=v+o[4],v+=o[4])),x.push(n),"number"==typeof n.originalLine&&w.push(n)}s(x,r.compareByGeneratedPositionsDeflated),this.__generatedMappings=x,s(w,r.compareByOriginalPositions),this.__originalMappings=w},u.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)},u.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}},u.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",c.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}},u.prototype.hasContentsOfAllSources=function(){return!!this.sourcesContent&&(this.sourcesContent.length>=this._sources.size()&&!this.sourcesContent.some(function(e){return null==e}))},u.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.')},u.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",c.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}},t.BasicSourceMapConsumer=u,d.prototype=Object.create(c.prototype),d.prototype.constructor=c,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 c=o[a],u=i.consumer._sources.at(c.source);u=r.computeSourceURL(i.consumer.sourceRoot,u,this._sourceMapURL),this._sources.add(u),u=this._sources.indexOf(u);var l=null;c.name&&(l=i.consumer._names.at(c.name),this._names.add(l),l=this._names.indexOf(l));var d={source:u,generatedLine:c.generatedLine+(i.generatedOffset.generatedLine-1),generatedColumn:c.generatedColumn+(i.generatedOffset.generatedLine===c.generatedLine?i.generatedOffset.generatedColumn-1:0),originalLine:c.originalLine,originalColumn:c.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)},t.IndexedSourceMapConsumer=d},function(e,t){t.GREATEST_LOWER_BOUND=1,t.LEAST_UPPER_BOUND=2,t.search=function(e,n,r,i){if(0===n.length)return-1;var o=function e(n,r,i,o,a,s){var c=Math.floor((r-n)/2)+n,u=a(i,o[c],!0);return 0===u?c:u>0?r-c>1?e(c,r,i,o,a,s):s==t.LEAST_UPPER_BOUND?r<o.length?r:-1:c:c-n>1?e(n,c,i,o,a,s):s==t.LEAST_UPPER_BOUND?c:n<0?-1:n}(-1,n.length,e,n,r,i||t.GREATEST_LOWER_BOUND);if(o<0)return-1;for(;o-1>=0&&0===r(n[o],n[o-1],!0);)--o;return o}},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],c=i;c<o;c++)t(e[c],s)<=0&&n(e,a+=1,c);n(e,a+1,c);var u=a+1;r(e,t,i,u-1),r(e,t,u+1,o)}var l,d}t.quickSort=function(e,t){r(e,t,0,e.length-1)}},function(e,t,n){var r=n(816).SourceMapGenerator,i=n(405),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),c=0,u=function(){return e()+(e()||"");function e(){return c<a.length?a[c++]:void 0}},l=1,d=0,f=null;return t.eachMapping(function(e){if(null!==f){if(!(l<e.generatedLine)){var t=(n=a[c]||"").substr(0,e.generatedColumn-d);return a[c]=n.substr(e.generatedColumn-d),d=e.generatedColumn,h(f,t),void(f=e)}h(f,u()),l++,d=0}for(;l<e.generatedLine;)r.add(u()),l++;if(d<e.generatedColumn){var n=a[c]||"";r.add(n.substr(0,e.generatedColumn)),a[c]=n.substr(e.generatedColumn),d=e.generatedColumn}f=e},this),c<a.length&&(f&&h(f,u()),r.add(a.splice(c).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 h(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,c=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&&c===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,c=r.name,i=!0):i&&(n.addMapping({generated:{line:t.line,column:t.column}}),o=null,i=!1);for(var u=0,l=e.length;u<l;u++)10===e.charCodeAt(u)?(t.line++,t.column=0,u+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},function(e,t){},function(e,t,n){"use strict";(function(r){t.__esModule=!0;var i=a(n(815)),o=a(n(621));function a(e){return e&&e.__esModule?e:{default:e}}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.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 r;if(t){if(n>=e.length)break;r=e[n++]}else{if((n=e.next()).done)break;r=n.value}var a=r,s=this.relative(a.file),c=a.root||o.default.dirname(a.file),u=void 0;!1===this.mapOpts.sourcesContent?(u=new i.default.SourceMapConsumer(a.text)).sourcesContent&&(u.sourcesContent=u.sourcesContent.map(function(){return null})):u=a.consumer(),this.map.applySourceMap(u,s,this.relative(c))}},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 r?r.from&&r.from!==Uint8Array.from?r.from(e).toString("base64"):new r(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?o.default.dirname(this.opts.to):".";return"string"==typeof this.mapOpts.annotation&&(t=o.default.dirname(o.default.resolve(t,this.mapOpts.annotation))),e=o.default.relative(t,e),"\\"===o.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 i.default.SourceMapGenerator({file:this.outputFile()});var t=1,n=1,r=void 0,o=void 0;this.stringify(this.root,function(i,a,s){e.css+=i,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}})),(r=i.match(/\n/g))?(t+=r.length,o=i.lastIndexOf("\n"),n=i.length-o):n+=i.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=s,e.exports=t.default}).call(this,n(304).Buffer)},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(1445),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},function(e,t,n){"use strict";t.__esModule=!0;var r=function(){function e(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.type="warning",this.text=t,n.node&&n.node.source){var r=n.node.positionBy(n);this.line=r.line,this.column=r.column}for(var i in n)this[i]=n[i]}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},function(e,t,n){"use strict";t.__esModule=!0;var r=u(n(619)),i=u(n(813)),o=u(n(624)),a=u(n(482)),s=u(n(626)),c=u(n(483));function u(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 c.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 c.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 c=e.slice(0),u="",l=a;l>0;l--){var d=c[l][0];if(0===u.trim().indexOf("!")&&"space"!==d)break;u=c.pop()[1]+u}0===u.trim().indexOf("!")&&(t.important=!0,t.raws.important=u,e=c)}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,c=0;c<o;c+=1)"comment"===(i=(r=n[c])[0])||"space"===i&&c===o-1?s=!1:a+=r[1];if(!s){var u=n.reduce(function(e,t){return e+t[1]},"");e.raws[t]={value:a,raw:u}}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},function(e,t,n){"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},function(e,t,n){var r=n(1449);e.exports=r},function(e,t,n){var r=n(1450);e.exports=r},function(e,t,n){n(1451),n(1453),n(611);var r=n(104);e.exports=r.URL},function(e,t,n){"use strict";n(334);var r,i=n(45),o=n(157),a=n(782),s=n(132),c=n(757),u=n(302),l=n(398),d=n(172),f=n(769),h=n(778),p=n(765).codeAt,m=n(1452),v=n(277),g=n(611),y=n(278),b=s.URL,_=g.URLSearchParams,w=g.getState,x=y.set,k=y.getterFor("URL"),E=Math.floor,S=Math.pow,T=/[A-Za-z]/,C=/[\d+-.A-Za-z]/,O=/\d/,j=/^0x/i,A=/^[0-7]+$/,P=/^\d+$/,M=/^[\dA-Fa-f]+$/,N=/[\0\t\n\r #%/:<>?@[\\\]^|]/,L=/[\0\t\n\r #/:<>?@[\\\]^|]/,I=/^[\u0000-\u001F ]+|[\u0000-\u001F ]+$/g,D=/[\t\n\r]/g,R=function(e,t){var n,r,i;if("["==t.charAt(0)){if("]"!=t.charAt(t.length-1))return"Invalid host";if(!(n=F(t.slice(1,-1))))return"Invalid host";e.host=n}else if(G(e)){if(t=m(t),N.test(t))return"Invalid host";if(null===(n=B(t)))return"Invalid host";e.host=n}else{if(L.test(t))return"Invalid host";for(n="",r=h(t),i=0;i<r.length;i++)n+=W(r[i],q);e.host=n}},B=function(e){var t,n,r,i,o,a,s,c=e.split(".");if(c.length&&""==c[c.length-1]&&c.pop(),(t=c.length)>4)return e;for(n=[],r=0;r<t;r++){if(""==(i=c[r]))return e;if(o=10,i.length>1&&"0"==i.charAt(0)&&(o=j.test(i)?16:8,i=i.slice(8==o?1:2)),""===i)a=0;else{if(!(10==o?P:8==o?A:M).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>=S(256,5-t))return null}else if(a>255)return null;for(s=n.pop(),r=0;r<n.length;r++)s+=n[r]*S(256,3-r);return s},F=function(e){var t,n,r,i,o,a,s,c=[0,0,0,0,0,0,0,0],u=0,l=null,d=0,f=function(){return e.charAt(d)};if(":"==f()){if(":"!=e.charAt(1))return;d+=2,l=++u}for(;f();){if(8==u)return;if(":"!=f()){for(t=n=0;n<4&&M.test(f());)t=16*t+parseInt(f(),16),d++,n++;if("."==f()){if(0==n)return;if(d-=n,u>6)return;for(r=0;f();){if(i=null,r>0){if(!("."==f()&&r<4))return;d++}if(!O.test(f()))return;for(;O.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++}c[u]=256*c[u]+i,2!=++r&&4!=r||u++}if(4!=r)return;break}if(":"==f()){if(d++,!f())return}else if(f())return;c[u++]=t}else{if(null!==l)return;d++,l=++u}}if(null!==l)for(a=u-l,u=7;0!=u&&a>0;)s=c[u],c[u--]=c[l+a-1],c[l+--a]=s;else if(8!=u)return;return c},U=function(e){var t,n,r,i;if("number"==typeof e){for(t=[],n=0;n<4;n++)t.unshift(e%256),e=E(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},q={},z=f({},q,{" ":1,'"':1,"<":1,">":1,"`":1}),H=f({},z,{"#":1,"?":1,"{":1,"}":1}),V=f({},H,{"/":1,":":1,";":1,"=":1,"@":1,"[":1,"\\":1,"]":1,"^":1,"|":1}),W=function(e,t){var n=p(e,0);return n>32&&n<127&&!d(t,e)?e:encodeURIComponent(e)},Y={ftp:21,file:null,http:80,https:443,ws:80,wss:443},G=function(e){return d(Y,e.scheme)},K=function(e){return""!=e.username||""!=e.password},$=function(e){return!e.host||e.cannotBeABaseURL||"file"==e.scheme},X=function(e,t){var n;return 2==e.length&&T.test(e.charAt(0))&&(":"==(n=e.charAt(1))||!t&&"|"==n)},Q=function(e){var t;return e.length>1&&X(e.slice(0,2))&&(2==e.length||"/"===(t=e.charAt(2))||"\\"===t||"?"===t||"#"===t)},Z=function(e){var t=e.path,n=t.length;!n||"file"==e.scheme&&1==n&&X(t[0],!0)||t.pop()},J=function(e){return"."===e||"%2e"===e.toLowerCase()},ee={},te={},ne={},re={},ie={},oe={},ae={},se={},ce={},ue={},le={},de={},fe={},he={},pe={},me={},ve={},ge={},ye={},be={},_e={},we=function(e,t,n,i){var o,a,s,c,u,l=n||ee,f=0,p="",m=!1,v=!1,g=!1;for(n||(e.scheme="",e.username="",e.password="",e.host=null,e.port=null,e.path=[],e.query=null,e.fragment=null,e.cannotBeABaseURL=!1,t=t.replace(I,"")),t=t.replace(D,""),o=h(t);f<=o.length;){switch(a=o[f],l){case ee:if(!a||!T.test(a)){if(n)return"Invalid scheme";l=ne;continue}p+=a.toLowerCase(),l=te;break;case te:if(a&&(C.test(a)||"+"==a||"-"==a||"."==a))p+=a.toLowerCase();else{if(":"!=a){if(n)return"Invalid scheme";p="",l=ne,f=0;continue}if(n&&(G(e)!=d(Y,p)||"file"==p&&(K(e)||null!==e.port)||"file"==e.scheme&&!e.host))return;if(e.scheme=p,n)return void(G(e)&&Y[e.scheme]==e.port&&(e.port=null));p="","file"==e.scheme?l=he:G(e)&&i&&i.scheme==e.scheme?l=re:G(e)?l=se:"/"==o[f+1]?(l=ie,f++):(e.cannotBeABaseURL=!0,e.path.push(""),l=ye)}break;case ne:if(!i||i.cannotBeABaseURL&&"#"!=a)return"Invalid scheme";if(i.cannotBeABaseURL&&"#"==a){e.scheme=i.scheme,e.path=i.path.slice(),e.query=i.query,e.fragment="",e.cannotBeABaseURL=!0,l=_e;break}l="file"==i.scheme?he:oe;continue;case re:if("/"!=a||"/"!=o[f+1]){l=oe;continue}l=ce,f++;break;case ie:if("/"==a){l=ue;break}l=ge;continue;case oe: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&&G(e))l=ae;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="",l=be;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(),l=ge;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="",l=_e}break;case ae:if(!G(e)||"/"!=a&&"\\"!=a){if("/"!=a){e.username=i.username,e.password=i.password,e.host=i.host,e.port=i.port,l=ge;continue}l=ue}else l=ce;break;case se:if(l=ce,"/"!=a||"/"!=p.charAt(f+1))continue;f++;break;case ce:if("/"!=a&&"\\"!=a){l=ue;continue}break;case ue:if("@"==a){m&&(p="%40"+p),m=!0,s=h(p);for(var y=0;y<s.length;y++){var b=s[y];if(":"!=b||g){var _=W(b,V);g?e.password+=_:e.username+=_}else g=!0}p=""}else if(a==r||"/"==a||"?"==a||"#"==a||"\\"==a&&G(e)){if(m&&""==p)return"Invalid authority";f-=h(p).length+1,p="",l=le}else p+=a;break;case le:case de:if(n&&"file"==e.scheme){l=me;continue}if(":"!=a||v){if(a==r||"/"==a||"?"==a||"#"==a||"\\"==a&&G(e)){if(G(e)&&""==p)return"Invalid host";if(n&&""==p&&(K(e)||null!==e.port))return;if(c=R(e,p))return c;if(p="",l=ve,n)return;continue}"["==a?v=!0:"]"==a&&(v=!1),p+=a}else{if(""==p)return"Invalid host";if(c=R(e,p))return c;if(p="",l=fe,n==de)return}break;case fe:if(!O.test(a)){if(a==r||"/"==a||"?"==a||"#"==a||"\\"==a&&G(e)||n){if(""!=p){var w=parseInt(p,10);if(w>65535)return"Invalid port";e.port=G(e)&&w===Y[e.scheme]?null:w,p=""}if(n)return;l=ve;continue}return"Invalid port"}p+=a;break;case he:if(e.scheme="file","/"==a||"\\"==a)l=pe;else{if(!i||"file"!=i.scheme){l=ge;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="",l=be;else{if("#"!=a){Q(o.slice(f).join(""))||(e.host=i.host,e.path=i.path.slice(),Z(e)),l=ge;continue}e.host=i.host,e.path=i.path.slice(),e.query=i.query,e.fragment="",l=_e}}break;case pe:if("/"==a||"\\"==a){l=me;break}i&&"file"==i.scheme&&!Q(o.slice(f).join(""))&&(X(i.path[0],!0)?e.path.push(i.path[0]):e.host=i.host),l=ge;continue;case me:if(a==r||"/"==a||"\\"==a||"?"==a||"#"==a){if(!n&&X(p))l=ge;else if(""==p){if(e.host="",n)return;l=ve}else{if(c=R(e,p))return c;if("localhost"==e.host&&(e.host=""),n)return;p="",l=ve}continue}p+=a;break;case ve:if(G(e)){if(l=ge,"/"!=a&&"\\"!=a)continue}else if(n||"?"!=a)if(n||"#"!=a){if(a!=r&&(l=ge,"/"!=a))continue}else e.fragment="",l=_e;else e.query="",l=be;break;case ge:if(a==r||"/"==a||"\\"==a&&G(e)||!n&&("?"==a||"#"==a)){if(".."===(u=(u=p).toLowerCase())||"%2e."===u||".%2e"===u||"%2e%2e"===u?(Z(e),"/"==a||"\\"==a&&G(e)||e.path.push("")):J(p)?"/"==a||"\\"==a&&G(e)||e.path.push(""):("file"==e.scheme&&!e.path.length&&X(p)&&(e.host&&(e.host=""),p=p.charAt(0)+":"),e.path.push(p)),p="","file"==e.scheme&&(a==r||"?"==a||"#"==a))for(;e.path.length>1&&""===e.path[0];)e.path.shift();"?"==a?(e.query="",l=be):"#"==a&&(e.fragment="",l=_e)}else p+=W(a,H);break;case ye:"?"==a?(e.query="",l=be):"#"==a?(e.fragment="",l=_e):a!=r&&(e.path[0]+=W(a,q));break;case be:n||"#"!=a?a!=r&&("'"==a&&G(e)?e.query+="%27":e.query+="#"==a?"%23":W(a,q)):(e.fragment="",l=_e);break;case _e:a!=r&&(e.fragment+=W(a,z))}f++}},xe=function(e){var t,n,r=l(this,xe,"URL"),i=arguments.length>1?arguments[1]:void 0,a=String(e),s=x(r,{type:"URL"});if(void 0!==i)if(i instanceof xe)t=k(i);else if(n=we(t={},String(i)))throw TypeError(n);if(n=we(s,a,null,t))throw TypeError(n);var c=s.searchParams=new _,u=w(c);u.updateSearchParams(s.query),u.updateURL=function(){s.query=String(c)||null},o||(r.href=Ee.call(r),r.origin=Se.call(r),r.protocol=Te.call(r),r.username=Ce.call(r),r.password=Oe.call(r),r.host=je.call(r),r.hostname=Ae.call(r),r.port=Pe.call(r),r.pathname=Me.call(r),r.search=Ne.call(r),r.searchParams=Le.call(r),r.hash=Ie.call(r))},ke=xe.prototype,Ee=function(){var e=k(this),t=e.scheme,n=e.username,r=e.password,i=e.host,o=e.port,a=e.path,s=e.query,c=e.fragment,u=t+":";return null!==i?(u+="//",K(e)&&(u+=n+(r?":"+r:"")+"@"),u+=U(i),null!==o&&(u+=":"+o)):"file"==t&&(u+="//"),u+=e.cannotBeABaseURL?a[0]:a.length?"/"+a.join("/"):"",null!==s&&(u+="?"+s),null!==c&&(u+="#"+c),u},Se=function(){var e=k(this),t=e.scheme,n=e.port;if("blob"==t)try{return new xe(t.path[0]).origin}catch(e){return"null"}return"file"!=t&&G(e)?t+"://"+U(e.host)+(null!==n?":"+n:""):"null"},Te=function(){return k(this).scheme+":"},Ce=function(){return k(this).username},Oe=function(){return k(this).password},je=function(){var e=k(this),t=e.host,n=e.port;return null===t?"":null===n?U(t):U(t)+":"+n},Ae=function(){var e=k(this).host;return null===e?"":U(e)},Pe=function(){var e=k(this).port;return null===e?"":String(e)},Me=function(){var e=k(this),t=e.path;return e.cannotBeABaseURL?t[0]:t.length?"/"+t.join("/"):""},Ne=function(){var e=k(this).query;return e?"?"+e:""},Le=function(){return k(this).searchParams},Ie=function(){var e=k(this).fragment;return e?"#"+e:""},De=function(e,t){return{get:e,set:t,configurable:!0,enumerable:!0}};if(o&&c(ke,{href:De(Ee,function(e){var t=k(this),n=String(e),r=we(t,n);if(r)throw TypeError(r);w(t.searchParams).updateSearchParams(t.query)}),origin:De(Se),protocol:De(Te,function(e){var t=k(this);we(t,String(e)+":",ee)}),username:De(Ce,function(e){var t=k(this),n=h(String(e));if(!$(t)){t.username="";for(var r=0;r<n.length;r++)t.username+=W(n[r],V)}}),password:De(Oe,function(e){var t=k(this),n=h(String(e));if(!$(t)){t.password="";for(var r=0;r<n.length;r++)t.password+=W(n[r],V)}}),host:De(je,function(e){var t=k(this);t.cannotBeABaseURL||we(t,String(e),le)}),hostname:De(Ae,function(e){var t=k(this);t.cannotBeABaseURL||we(t,String(e),de)}),port:De(Pe,function(e){var t=k(this);$(t)||(""==(e=String(e))?t.port=null:we(t,e,fe))}),pathname:De(Me,function(e){var t=k(this);t.cannotBeABaseURL||(t.path=[],we(t,e+"",ve))}),search:De(Ne,function(e){var t=k(this);""==(e=String(e))?t.query=null:("?"==e.charAt(0)&&(e=e.slice(1)),t.query="",we(t,e,be)),w(t.searchParams).updateSearchParams(t.query)}),searchParams:De(Le),hash:De(Ie,function(e){var t=k(this);""!=(e=String(e))?("#"==e.charAt(0)&&(e=e.slice(1)),t.fragment="",we(t,e,_e)):t.fragment=null})}),u(ke,"toJSON",function(){return Ee.call(this)},{enumerable:!0}),u(ke,"toString",function(){return Ee.call(this)},{enumerable:!0}),b){var Re=b.createObjectURL,Be=b.revokeObjectURL;Re&&u(xe,"createObjectURL",function(e){return Re.apply(b,arguments)}),Be&&u(xe,"revokeObjectURL",function(e){return Be.apply(b,arguments)})}v(xe,"URL"),i({global:!0,forced:!a,sham:!o},{URL:xe})},function(e,t,n){"use strict";var r=/[^\0-\u007E]/,i=/[.\u3002\uFF0E\uFF61]/g,o="Overflow: input needs wider integers to process",a=Math.floor,s=String.fromCharCode,c=function(e){return e+22+75*(e<26)},u=function(e,t,n){var r=0;for(e=n?a(e/700):e>>1,e+=a(e/t);e>455;r+=36)e=a(e/35);return a(r+36*e/(e+38))},l=function(e){var t,n,r=[],i=(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)).length,l=128,d=0,f=72;for(t=0;t<e.length;t++)(n=e[t])<128&&r.push(s(n));var h=r.length,p=h;for(h&&r.push("-");p<i;){var m=2147483647;for(t=0;t<e.length;t++)(n=e[t])>=l&&n<m&&(m=n);var v=p+1;if(m-l>a((2147483647-d)/v))throw RangeError(o);for(d+=(m-l)*v,l=m,t=0;t<e.length;t++){if((n=e[t])<l&&++d>2147483647)throw RangeError(o);if(n==l){for(var g=d,y=36;;y+=36){var b=y<=f?1:y>=f+26?26:y-f;if(g<b)break;var _=g-b,w=36-b;r.push(s(c(b+_%w))),g=a(_/w)}r.push(s(c(g))),f=u(d,v,p==h),d=0,++p}}++d,++l}return r.join("")};e.exports=function(e){var t,n,o=[],a=e.toLowerCase().replace(i,".").split(".");for(t=0;t<a.length;t++)n=a[t],o.push(r.test(n)?"xn--"+l(n):n);return o.join(".")}},function(e,t){},function(e,t,n){var r=n(1455);e.exports=r},function(e,t,n){n(330);var r=n(1456),i=n(329),o=Array.prototype,a={DOMTokenList:!0,NodeList:!0};e.exports=function(e){var t=e.keys;return e===o||e instanceof Array&&t===o.keys||a.hasOwnProperty(i(e))?r:t}},function(e,t,n){var r=n(1457);e.exports=r},function(e,t,n){n(451);var r=n(151);e.exports=r("Array").keys},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),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}()},function(e,t,n){var r=n(1460),i=n(827),o=n(1461),a="[object Object]";var s=Object.prototype,c=s.hasOwnProperty,u=s.toString;e.exports=function(e){var t,n;return!(!function(e){return!!e&&"object"==typeof e}(e)||u.call(e)!=a||i(e)||!(c.call(e,"constructor")||"function"!=typeof(t=e.constructor)||t instanceof t))&&(r(e,function(e,t){n=t},o),void 0===n||c.call(e,n))}},function(e,t){var n,r=function(e,t,r){for(var i=-1,o=Object(e),a=r(e),s=a.length;s--;){var c=a[n?s:++i];if(!1===t(o[c],c,o))break}return e};e.exports=r},function(e,t,n){var r=n(827),i=n(1462),o=/^\d+$/,a=Object.prototype.hasOwnProperty,s=9007199254740991;function c(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[];var t,n;n=typeof(t=e),(!t||"object"!=n&&"function"!=n)&&(e=Object(e));var o=e.length;o=o&&function(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=s}(o)&&(i(e)||r(e))&&o||0;for(var u=e.constructor,l=-1,d="function"==typeof u&&u.prototype===e,f=Array(o),h=o>0;++l<o;)f[l]=l+"";for(var p in e)h&&c(p,o)||"constructor"==p&&(d||!a.call(e,p))||f.push(p);return f}},function(e,t){var n="[object Function]",r=/^\[object .+?Constructor\]$/;function i(e){return!!e&&"object"==typeof e}var o,a,s,c=Object.prototype,u=Function.prototype.toString,l=c.hasOwnProperty,d=c.toString,f=RegExp("^"+u.call(l).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),h=(o=Array,a="isArray",function(e){return null!=e&&(function(e){return function(e){var t=typeof e;return!!e&&("object"==t||"function"==t)}(e)&&d.call(e)==n}(e)?f.test(u.call(e)):i(e)&&r.test(e))}(s=null==o?void 0:o[a])?s:void 0),p=9007199254740991;var m=h||function(e){return i(e)&&function(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=p}(e.length)&&"[object Array]"==d.call(e)};e.exports=m},function(e,t,n){var r=n(1464);n(1471),n(1472),n(1473),n(1474),e.exports=r},function(e,t,n){n(828),n(598),n(1465),n(834),n(835),n(1470),n(334),n(330);var r=n(104);e.exports=r.Promise},function(e,t,n){"use strict";var r,i,o,a,s=n(45),c=n(105),u=n(132),l=n(173),d=n(829),f=n(302),h=n(612),p=n(473),m=n(277),v=n(830),g=n(147),y=n(142),b=n(398),_=n(763),w=n(134),x=n(781),k=n(406),E=n(831).set,S=n(1466),T=n(833),C=n(1468),O=n(407),j=n(486),A=n(278),P=n(753),M=n(124),N=n(1469),L=n(627),I=n(450),D=M("species"),R="Promise",B=A.get,F=A.set,U=A.getterFor(R),q=d&&d.prototype,z=d,H=q,V=u.TypeError,W=u.document,Y=u.process,G=O.f,K=G,$=!!(W&&W.createEvent&&u.dispatchEvent),X="function"==typeof PromiseRejectionEvent,Q=!1,Z=P(R,function(){var e=_(z)!==String(z);if(!e&&66===I)return!0;if(c&&!H.finally)return!0;if(I>=51&&/native code/.test(z))return!1;var t=new z(function(e){e(1)}),n=function(e){e(function(){},function(){})};return(t.constructor={})[D]=n,!(Q=t.then(function(){})instanceof n)||!e&&N&&!X}),J=Z||!x(function(e){z.all(e).catch(function(){})}),ee=function(e){var t;return!(!g(e)||"function"!=typeof(t=e.then))&&t},te=function(e,t){if(!e.notified){e.notified=!0;var n=e.reactions;S(function(){for(var r=e.value,i=1==e.state,o=0;n.length>o;){var a,s,c,u=n[o++],l=i?u.ok:u.fail,d=u.resolve,f=u.reject,h=u.domain;try{l?(i||(2===e.rejection&&oe(e),e.rejection=1),!0===l?a=r:(h&&h.enter(),a=l(r),h&&(h.exit(),c=!0)),a===u.promise?f(V("Promise-chain cycle")):(s=ee(a))?s.call(a,d,f):d(a)):f(r)}catch(e){h&&!c&&h.exit(),f(e)}}e.reactions=[],e.notified=!1,t&&!e.rejection&&re(e)})}},ne=function(e,t,n){var r,i;$?((r=W.createEvent("Event")).promise=t,r.reason=n,r.initEvent(e,!1,!0),u.dispatchEvent(r)):r={promise:t,reason:n},!X&&(i=u["on"+e])?i(r):"unhandledrejection"===e&&C("Unhandled promise rejection",n)},re=function(e){E.call(u,function(){var t,n=e.facade,r=e.value;if(ie(e)&&(t=j(function(){L?Y.emit("unhandledRejection",r,n):ne("unhandledrejection",n,r)}),e.rejection=L||ie(e)?2:1,t.error))throw t.value})},ie=function(e){return 1!==e.rejection&&!e.parent},oe=function(e){E.call(u,function(){var t=e.facade;L?Y.emit("rejectionHandled",t):ne("rejectionhandled",t,e.value)})},ae=function(e,t,n){return function(r){e(t,r,n)}},se=function(e,t,n){e.done||(e.done=!0,n&&(e=n),e.value=t,e.state=2,te(e,!0))},ce=function(e,t,n){if(!e.done){e.done=!0,n&&(e=n);try{if(e.facade===t)throw V("Promise can't be resolved itself");var r=ee(t);r?S(function(){var n={done:!1};try{r.call(t,ae(ce,n,e),ae(se,n,e))}catch(t){se(n,t,e)}}):(e.value=t,e.state=1,te(e,!1))}catch(t){se({done:!1},t,e)}}};if(Z&&(H=(z=function(e){b(this,z,R),y(e),r.call(this);var t=B(this);try{e(ae(ce,t),ae(se,t))}catch(e){se(t,e)}}).prototype,(r=function(e){F(this,{type:R,done:!1,notified:!1,parent:!1,reactions:[],rejection:!1,state:0,value:void 0})}).prototype=h(H,{then:function(e,t){var n=U(this),r=G(k(this,z));return r.ok="function"!=typeof e||e,r.fail="function"==typeof t&&t,r.domain=L?Y.domain:void 0,n.parent=!0,n.reactions.push(r),0!=n.state&&te(n,!1),r.promise},catch:function(e){return this.then(void 0,e)}}),i=function(){var e=new r,t=B(e);this.promise=e,this.resolve=ae(ce,t),this.reject=ae(se,t)},O.f=G=function(e){return e===z||e===o?new i(e):K(e)},!c&&"function"==typeof d&&q!==Object.prototype)){a=q.then,Q||(f(q,"then",function(e,t){var n=this;return new z(function(e,t){a.call(n,e,t)}).then(e,t)},{unsafe:!0}),f(q,"catch",H.catch,{unsafe:!0}));try{delete q.constructor}catch(e){}p&&p(q,H)}s({global:!0,wrap:!0,forced:Z},{Promise:z}),m(z,R,!1,!0),v(R),o=l(R),s({target:R,stat:!0,forced:Z},{reject:function(e){var t=G(this);return t.reject.call(void 0,e),t.promise}}),s({target:R,stat:!0,forced:c||Z},{resolve:function(e){return T(c&&this===o?z:this,e)}}),s({target:R,stat:!0,forced:J},{all:function(e){var t=this,n=G(t),r=n.resolve,i=n.reject,o=j(function(){var n=y(t.resolve),o=[],a=0,s=1;w(e,function(e){var c=a++,u=!1;o.push(void 0),s++,n.call(t,e).then(function(e){u||(u=!0,o[c]=e,--s||r(o))},i)}),--s||r(o)});return o.error&&i(o.value),n.promise},race:function(e){var t=this,n=G(t),r=n.reject,i=j(function(){var i=y(t.resolve);w(e,function(e){i.call(t,e).then(n.resolve,r)})});return i.error&&r(i.value),n.promise}})},function(e,t,n){var r,i,o,a,s,c,u,l,d=n(132),f=n(275).f,h=n(831).set,p=n(832),m=n(1467),v=n(627),g=d.MutationObserver||d.WebKitMutationObserver,y=d.document,b=d.process,_=d.Promise,w=f(d,"queueMicrotask"),x=w&&w.value;x||(r=function(){var e,t;for(v&&(e=b.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()},p||v||m||!g||!y?_&&_.resolve?((u=_.resolve(void 0)).constructor=_,l=u.then,a=function(){l.call(u,r)}):a=v?function(){b.nextTick(r)}:function(){h.call(d,r)}:(s=!0,c=y.createTextNode(""),new g(r).observe(c,{characterData:!0}),a=function(){c.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}},function(e,t,n){var r=n(377);e.exports=/web0s(?!.*chrome)/i.test(r)},function(e,t,n){var r=n(132);e.exports=function(e,t){var n=r.console;n&&n.error&&(1===arguments.length?n.error(e):n.error(e,t))}},function(e,t){e.exports="object"==typeof window},function(e,t,n){"use strict";var r=n(45),i=n(105),o=n(829),a=n(121),s=n(173),c=n(406),u=n(833),l=n(302);if(r({target:"Promise",proto:!0,real:!0,forced:!!o&&a(function(){o.prototype.finally.call({then:function(){}},function(){})})},{finally:function(e){var t=c(this,s("Promise")),n="function"==typeof e;return this.then(n?function(n){return u(t,e()).then(function(){return n})}:e,n?function(n){return u(t,e()).then(function(){throw n})}:e)}}),!i&&"function"==typeof o){var d=s("Promise").prototype.finally;o.prototype.finally!==d&&l(o.prototype,"finally",d,{unsafe:!0})}},function(e,t,n){n(828)},function(e,t,n){n(834)},function(e,t,n){"use strict";var r=n(45),i=n(407),o=n(486);r({target:"Promise",stat:!0},{try:function(e){var t=i.f(this),n=o(e);return(n.error?t.reject:t.resolve)(n.value),t.promise}})},function(e,t,n){n(835)},function(e,t){e.exports=
/** @license ISC License (c) copyright 2018 original and current authors */
function(e){return"symbol"==typeof e}},function(e,t){e.exports=
/** @license ISC License (c) copyright 2018 original and current authors */
function(e){return"[object Date]"===Object.prototype.toString.apply(e)&&!isNaN(e.valueOf())}},function(e,t){e.exports=
/** @license ISC License (c) copyright 2017 original and current authors */
function(e,t){return e===t?0!==e||1/e==1/t:e!=e&&t!=t}},function(e,t,n){
/** @license ISC License (c) copyright 2018 original and current authors */
var r=n(83);e.exports=function(e,t){return r(t)&&(e===t||e.name===t.name)}},function(e,t){e.exports=
/** @license ISC License (c) copyright 2017 original and current authors */
function(e){var t,n;return function(){return t||(t=!0,n=e.apply(null,arguments)),n}}},function(e,t){
/** @license ISC License (c) copyright 2017 original and current authors */
e.exports=Function.prototype},function(e,t,n){
/** @license ISC License (c) copyright 2017 original and current authors */
var r=n(83);e.exports=function(e){return!!e&&r(e.then)&&r(e.catch)}},function(e,t,n){var r=n(1483);e.exports=r},function(e,t,n){n(599);var r=n(104);e.exports=r.Object.getOwnPropertySymbols},function(e,t,n){var r=n(1485);e.exports=r},function(e,t,n){var r=n(1486),i=Array.prototype;e.exports=function(e){var t=e.filter;return e===i||e instanceof Array&&t===i.filter?r:t}},function(e,t,n){n(1487);var r=n(151);e.exports=r("Array").filter},function(e,t,n){"use strict";var r=n(45),i=n(395).filter;r({target:"Array",proto:!0,forced:!n(475)("filter")},{filter:function(e){return i(this,e,arguments.length>1?arguments[1]:void 0)}})},function(e,t,n){var r=n(1489);e.exports=r},function(e,t,n){n(1490);var r=n(104).Object,i=e.exports=function(e,t){return r.getOwnPropertyDescriptor(e,t)};r.getOwnPropertyDescriptor.sham&&(i.sham=!0)},function(e,t,n){var r=n(45),i=n(121),o=n(218),a=n(275).f,s=n(157),c=i(function(){a(1)});r({target:"Object",stat:!0,forced:!s||c,sham:!s},{getOwnPropertyDescriptor:function(e,t){return a(o(e),t)}})},function(e,t,n){var r=n(1492);e.exports=r},function(e,t,n){n(1493);var r=n(104);e.exports=r.Object.getOwnPropertyDescriptors},function(e,t,n){var r=n(45),i=n(157),o=n(1494),a=n(218),s=n(275),c=n(474);r({target:"Object",stat:!0,sham:!i},{getOwnPropertyDescriptors:function(e){for(var t,n,r=a(e),i=s.f,u=o(r),l={},d=0;u.length>d;)void 0!==(n=i(r,t=u[d++]))&&c(l,t,n);return l}})},function(e,t,n){var r=n(173),i=n(600),o=n(601),a=n(94);e.exports=r("Reflect","ownKeys")||function(e){var t=i.f(a(e)),n=o.f;return n?t.concat(n(e)):t}},function(e,t,n){var r=n(1496);e.exports=r},function(e,t,n){var r=n(1497),i=Array.prototype;e.exports=function(e){var t=e.indexOf;return e===i||e instanceof Array&&t===i.indexOf?r:t}},function(e,t,n){n(1498);var r=n(151);e.exports=r("Array").indexOf},function(e,t,n){"use strict";var r=n(45),i=n(595).indexOf,o=n(1198),a=[].indexOf,s=!!a&&1/[1].indexOf(1,-0)<0,c=o("indexOf");r({target:"Array",proto:!0,forced:s||!c},{indexOf:function(e){return s?a.apply(this,arguments)||0:i(this,e,arguments.length>1?arguments[1]:void 0)}})},function(e,t,n){var r=n(1500);e.exports=r},function(e,t,n){n(1501);var r=n(104);e.exports=r.Object.values},function(e,t,n){var r=n(45),i=n(1502).values;r({target:"Object",stat:!0},{values:function(e){return i(e)}})},function(e,t,n){var r=n(157),i=n(392),o=n(218),a=n(465).f,s=function(e){return function(t){for(var n,s=o(t),c=i(s),u=c.length,l=0,d=[];u>l;)n=c[l++],r&&!a.call(s,n)||d.push(e?[n,s[n]]:s[n]);return d}};e.exports={entries:s(!0),values:s(!1)}},function(e,t,n){var r=n(1504);e.exports=r},function(e,t,n){var r=n(1505),i=String.prototype;e.exports=function(e){var t=e.trim;return"string"==typeof e||e===i||e instanceof String&&t===i.trim?r:t}},function(e,t,n){n(1506);var r=n(151);e.exports=r("String").trim},function(e,t,n){"use strict";var r=n(45),i=n(1507).trim;r({target:"String",proto:!0,forced:n(1508)("trim")},{trim:function(){return i(this)}})},function(e,t,n){var r=n(248),i="["+n(842)+"]",o=RegExp("^"+i+i+"*"),a=RegExp(i+i+"*$"),s=function(e){return function(t){var n=String(r(t));return 1&e&&(n=n.replace(o,"")),2&e&&(n=n.replace(a,"")),n}};e.exports={start:s(1),end:s(2),trim:s(3)}},function(e,t,n){var r=n(121),i=n(842);e.exports=function(e){return r(function(){return!!i[e]()||"​᠎"!="​᠎"[e]()||i[e].name!==e})}},function(e,t,n){var r=n(1510);e.exports=r},function(e,t,n){n(1511);var r=n(104);r.JSON||(r.JSON={stringify:JSON.stringify}),e.exports=function(e,t,n){return r.JSON.stringify.apply(null,arguments)}},function(e,t,n){var r=n(45),i=n(173),o=n(121),a=i("JSON","stringify"),s=/[\uD800-\uDFFF]/g,c=/^[\uD800-\uDBFF]$/,u=/^[\uDC00-\uDFFF]$/,l=function(e,t,n){var r=n.charAt(t-1),i=n.charAt(t+1);return c.test(e)&&!u.test(i)||u.test(e)&&!c.test(r)?"\\u"+e.charCodeAt(0).toString(16):e},d=o(function(){return'"\\udf06\\ud834"'!==a("\udf06\ud834")||'"\\udead"'!==a("\udead")});a&&r({target:"JSON",stat:!0,forced:d},{stringify:function(e,t,n){var r=a.apply(null,arguments);return"string"==typeof r?r.replace(s,l):r}})},function(e,t,n){
/** @license ISC License (c) copyright 2018 original and current authors */
var r=n(115),i=n(243),o=n(839),a=n(281),s=n(408),c=n(487),u=n(630);function l(e){return r(function(t,n,r){if(a(r)){if(s(t))return u.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 c.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},function(e,t,n){var r=n(174);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}},function(e,t,n){var r=n(18),i=n(279),o=n(148);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)})}()},function(e,t,n){var r=n(18),i=n(279),o=n(148);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)})}()},function(e,t,n){var r=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 c(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===h){if("throw"===i)throw o;return j()}for(n.method=i,n.arg=o;;){var a=n.delegate;if(a){var s=E(a,n);if(s){if(s===p)continue;return s}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(r===l)throw r=h,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);r=f;var c=u(e,t,n);if("normal"===c.type){if(r=n.done?h:d,c.arg===p)continue;return{value:c.arg,done:n.done}}"throw"===c.type&&(r=h,n.method="throw",n.arg=c.arg)}}}(e,n,a),o}function u(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(e){return{type:"throw",arg:e}}}e.wrap=c;var l="suspendedStart",d="suspendedYield",f="executing",h="completed",p={};function m(){}function v(){}function g(){}var y={};y[o]=function(){return this};var b=Object.getPrototypeOf,_=b&&b(b(O([])));_&&_!==n&&r.call(_,o)&&(y=_);var w=g.prototype=m.prototype=Object.create(y);function x(e){["next","throw","return"].forEach(function(t){e[t]=function(e){return this._invoke(t,e)}})}function k(e,t){var n;this._invoke=function(i,o){function a(){return new t(function(n,a){!function n(i,o,a,s){var c=u(e[i],e,o);if("throw"!==c.type){var l=c.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(c.arg)}(i,o,n,a)})}return n=n?n.then(a,a):a()}}function E(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,E(e,n),"throw"===n.method))return p;n.method="throw",n.arg=new TypeError("The iterator does not provide a 'throw' method")}return p}var i=u(r,e.iterator,n.arg);if("throw"===i.type)return n.method="throw",n.arg=i.arg,n.delegate=null,p;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,p):o:(n.method="throw",n.arg=new TypeError("iterator result is not an object"),n.delegate=null,p)}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 O(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:j}}function j(){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}},x(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(c(t,n,r,i),o);return e.isGeneratorFunction(n)?a:a.next().then(function(e){return e.done?e.value:a.next()})},x(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=O,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 c=r.call(a,"catchLoc"),u=r.call(a,"finallyLoc");if(c&&u){if(this.prev<a.catchLoc)return i(a.catchLoc,!0);if(this.prev<a.finallyLoc)return i(a.finallyLoc)}else if(c){if(this.prev<a.catchLoc)return i(a.catchLoc,!0)}else{if(!u)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,p):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),p},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),p}},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:O(e),resultName:n,nextLoc:r},"next"===this.method&&(this.arg=t),p}},e}(e.exports);try{regeneratorRuntime=r}catch(e){Function("r","regeneratorRuntime = r")(r)}},function(e,t,n){e.exports=function(){var e=["navigation","request","process","log","user","state","error","manual"],t=function(e,t,n){for(var r=n,i=0,o=e.length;i<o;i++)r=t(r,e[i],i,e);return r},n=function(e,n){return t(e,function(e,t,r,i){return n(t,r,i)?e.concat(t):e},[])},r=function(e,n){return t(e,function(e,t,r,i){return!0===e||t===n},!1)},i=function(e){return"[object Array]"===Object.prototype.toString.call(e)},o=!{toString:null}.propertyIsEnumerable("toString"),a=["toString","toLocaleString","valueOf","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","constructor"],s=function(e){var t,n=[];for(t in e)Object.prototype.hasOwnProperty.call(e,t)&&n.push(t);if(!o)return n;for(var r=0,i=a.length;r<i;r++)Object.prototype.hasOwnProperty.call(e,a[r])&&n.push(a[r]);return n},c=function(e,t){return void 0===e&&(e=1),void 0===t&&(t=1/0),function(n){return"number"==typeof n&&parseInt(""+n,10)===n&&n>=e&&n<=t}},u=function(e){return"function"==typeof e||i(e)&&n(e,function(e){return"function"==typeof e}).length===e.length},l=function(e){return"string"==typeof e&&!!e.length},d={};d.schema={apiKey:{defaultValue:function(){return null},message:"is required",validate:l},appVersion:{defaultValue:function(){},message:"should be a string",validate:function(e){return void 0===e||l(e)}},appType:{defaultValue:function(){},message:"should be a string",validate:function(e){return void 0===e||l(e)}},autoDetectErrors:{defaultValue:function(){return!0},message:"should be true|false",validate:function(e){return!0===e||!1===e}},enabledErrorTypes:{defaultValue:function(){return{unhandledExceptions:!0,unhandledRejections:!0}},message:"should be an object containing the flags { unhandledExceptions:true|false, unhandledRejections:true|false }",allowPartialObject:!0,validate:function(e){if("object"!=typeof e||!e)return!1;var t=s(e),i=s({unhandledExceptions:!0,unhandledRejections:!0});return!(n(t,function(e){return r(i,e)}).length<t.length||n(s(e),function(t){return"boolean"!=typeof e[t]}).length>0)}},onError:{defaultValue:function(){return[]},message:"should be a function or array of functions",validate:u},onSession:{defaultValue:function(){return[]},message:"should be a function or array of functions",validate:u},onBreadcrumb:{defaultValue:function(){return[]},message:"should be a function or array of functions",validate:u},endpoints:{defaultValue:function(){return{notify:"https://notify.bugsnag.com",sessions:"https://sessions.bugsnag.com"}},message:"should be an object containing endpoint URLs { notify, sessions }",validate:function(e){return e&&"object"==typeof e&&l(e.notify)&&l(e.sessions)&&0===n(s(e),function(e){return!r(["notify","sessions"],e)}).length}},autoTrackSessions:{defaultValue:function(e){return!0},message:"should be true|false",validate:function(e){return!0===e||!1===e}},enabledReleaseStages:{defaultValue:function(){return null},message:"should be an array of strings",validate:function(e){return null===e||i(e)&&n(e,function(e){return"string"==typeof e}).length===e.length}},releaseStage:{defaultValue:function(){return"production"},message:"should be a string",validate:function(e){return"string"==typeof e&&e.length}},maxBreadcrumbs:{defaultValue:function(){return 25},message:"should be a number ≤100",validate:function(e){return c(0,100)(e)}},enabledBreadcrumbTypes:{defaultValue:function(){return e},message:"should be null or a list of available breadcrumb types ("+e.join(",")+")",validate:function(n){return null===n||i(n)&&t(n,function(t,n){return!1===t?t:r(e,n)},!0)}},context:{defaultValue:function(){},message:"should be a string",validate:function(e){return void 0===e||"string"==typeof e}},user:{defaultValue:function(){return{}},message:"should be an object with { id, email, name } properties",validate:function(e){return null===e||e&&t(s(e),function(e,t){return e&&r(["id","email","name"],t)},!0)}},metadata:{defaultValue:function(){return{}},message:"should be an object",validate:function(e){return"object"==typeof e&&null!==e}},logger:{defaultValue:function(){},message:"should be null or an object with methods { debug, info, warn, error }",validate:function(e){return!e||e&&t(["debug","info","warn","error"],function(t,n){return t&&"function"==typeof e[n]},!0)}},redactedKeys:{defaultValue:function(){return["password"]},message:"should be an array of strings|regexes",validate:function(e){return i(e)&&e.length===n(e,function(e){return"string"==typeof e||e&&"function"==typeof e.test}).length}},plugins:{defaultValue:function(){return[]},message:"should be an array of plugin objects",validate:function(e){return i(e)&&e.length===n(e,function(e){return e&&"object"==typeof e&&"function"==typeof e.load}).length}}};var f=function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},h=function(e,n){return t(e,function(e,t,r,i){return e.concat(n(t,r,i))},[])},p=d.schema,m={releaseStage:f({},p.releaseStage,{defaultValue:function(){return/^localhost(:\d+)?$/.test(window.location.host)?"development":"production"}}),logger:f({},p.logger,{defaultValue:function(){return"undefined"!=typeof console&&"function"==typeof console.debug?v():void 0}})},v=function(){var e={},t=console.log;return h(["debug","info","warn","error"],function(n){var r=console[n];e[n]="function"==typeof r?r.bind(console,"[bugsnag]"):t.bind(console,"[bugsnag]")}),e},g=function(){function e(e,t,n,r){void 0===r&&(r=new Date),this.type=n,this.message=e,this.metadata=t,this.timestamp=r}var t=e.prototype;return t.toJSON=function(){return{type:this.type,name:this.message,timestamp:this.timestamp,metaData:this.metadata}},e}(),y={};!function(e,t){"use strict";"object"==typeof y?y=t():e.StackFrame=t()}(this,function(){"use strict";function e(e){return!isNaN(parseFloat(e))&&isFinite(e)}function t(e){return e.charAt(0).toUpperCase()+e.substring(1)}function n(e){return function(){return this[e]}}var r=["isConstructor","isEval","isNative","isToplevel"],i=["columnNumber","lineNumber"],o=["fileName","functionName","source"],a=r.concat(i,o,["args"]);function s(e){if(e instanceof Object)for(var n=0;n<a.length;n++)e.hasOwnProperty(a[n])&&void 0!==e[a[n]]&&this["set"+t(a[n])](e[a[n]])}s.prototype={getArgs:function(){return this.args},setArgs:function(e){if("[object Array]"!==Object.prototype.toString.call(e))throw new TypeError("Args must be an Array");this.args=e},getEvalOrigin:function(){return this.evalOrigin},setEvalOrigin:function(e){if(e instanceof s)this.evalOrigin=e;else{if(!(e instanceof Object))throw new TypeError("Eval Origin must be an Object or StackFrame");this.evalOrigin=new s(e)}},toString:function(){var t=this.getFunctionName()||"{anonymous}",n="("+(this.getArgs()||[]).join(",")+")",r=this.getFileName()?"@"+this.getFileName():"",i=e(this.getLineNumber())?":"+this.getLineNumber():"",o=e(this.getColumnNumber())?":"+this.getColumnNumber():"";return t+n+r+i+o}};for(var c=0;c<r.length;c++)s.prototype["get"+t(r[c])]=n(r[c]),s.prototype["set"+t(r[c])]=function(e){return function(t){this[e]=Boolean(t)}}(r[c]);for(var u=0;u<i.length;u++)s.prototype["get"+t(i[u])]=n(i[u]),s.prototype["set"+t(i[u])]=function(t){return function(n){if(!e(n))throw new TypeError(t+" must be a Number");this[t]=Number(n)}}(i[u]);for(var l=0;l<o.length;l++)s.prototype["get"+t(o[l])]=n(o[l]),s.prototype["set"+t(o[l])]=function(e){return function(t){this[e]=String(t)}}(o[l]);return s});var b={};!function(e,t){"use strict";"object"==typeof b?b=t(y):e.ErrorStackParser=t(e.StackFrame)}(this,function(e){"use strict";var t=/(^|@)\S+\:\d+/,n=/^\s*at .*(\S+\:\d+|\(native\))/m,r=/^(eval@)?(\[native code\])?$/;return{parse:function(e){if(void 0!==e.stacktrace||void 0!==e["opera#sourceloc"])return this.parseOpera(e);if(e.stack&&e.stack.match(n))return this.parseV8OrIE(e);if(e.stack)return this.parseFFOrSafari(e);throw new Error("Cannot parse given Error object")},extractLocation:function(e){if(-1===e.indexOf(":"))return[e];var t=/(.+?)(?:\:(\d+))?(?:\:(\d+))?$/.exec(e.replace(/[\(\)]/g,""));return[t[1],t[2]||void 0,t[3]||void 0]},parseV8OrIE:function(t){var r=t.stack.split("\n").filter(function(e){return!!e.match(n)},this);return r.map(function(t){t.indexOf("(eval ")>-1&&(t=t.replace(/eval code/g,"eval").replace(/(\(eval at [^\()]*)|(\)\,.*$)/g,""));var n=t.replace(/^\s+/,"").replace(/\(eval code/g,"("),r=n.match(/ (\((.+):(\d+):(\d+)\)$)/),i=(n=r?n.replace(r[0],""):n).split(/\s+/).slice(1),o=this.extractLocation(r?r[1]:i.pop()),a=i.join(" ")||void 0,s=["eval","<anonymous>"].indexOf(o[0])>-1?void 0:o[0];return new e({functionName:a,fileName:s,lineNumber:o[1],columnNumber:o[2],source:t})},this)},parseFFOrSafari:function(t){var n=t.stack.split("\n").filter(function(e){return!e.match(r)},this);return n.map(function(t){if(t.indexOf(" > eval")>-1&&(t=t.replace(/ line (\d+)(?: > eval line \d+)* > eval\:\d+\:\d+/g,":$1")),-1===t.indexOf("@")&&-1===t.indexOf(":"))return new e({functionName:t});var n=/((.*".+"[^@]*)?[^@]*)(?:@)/,r=t.match(n),i=r&&r[1]?r[1]:void 0,o=this.extractLocation(t.replace(n,""));return new e({functionName:i,fileName:o[0],lineNumber:o[1],columnNumber:o[2],source:t})},this)},parseOpera:function(e){return!e.stacktrace||e.message.indexOf("\n")>-1&&e.message.split("\n").length>e.stacktrace.split("\n").length?this.parseOpera9(e):e.stack?this.parseOpera11(e):this.parseOpera10(e)},parseOpera9:function(t){for(var n=/Line (\d+).*script (?:in )?(\S+)/i,r=t.message.split("\n"),i=[],o=2,a=r.length;o<a;o+=2){var s=n.exec(r[o]);s&&i.push(new e({fileName:s[2],lineNumber:s[1],source:r[o]}))}return i},parseOpera10:function(t){for(var n=/Line (\d+).*script (?:in )?(\S+)(?:: In function (\S+))?$/i,r=t.stacktrace.split("\n"),i=[],o=0,a=r.length;o<a;o+=2){var s=n.exec(r[o]);s&&i.push(new e({functionName:s[3]||void 0,fileName:s[2],lineNumber:s[1],source:r[o]}))}return i},parseOpera11:function(n){var r=n.stack.split("\n").filter(function(e){return!!e.match(t)&&!e.match(/^Error created at/)},this);return r.map(function(t){var n,r=t.split("@"),i=this.extractLocation(r.pop()),o=r.shift()||"",a=o.replace(/<anonymous function(: (\w+))?>/,"$2").replace(/\([^\)]*\)/g,"")||void 0;o.match(/\(([^\)]*)\)/)&&(n=o.replace(/^[^\(]+\(([^\)]*)\)$/,"$1"));var s=void 0===n||"[arguments not available]"===n?void 0:n.split(",");return new e({functionName:a,args:s,fileName:i[0],lineNumber:i[1],columnNumber:i[2],source:t})},this)}}});var _=b,w=function(e){return!(!e||!e.stack&&!e.stacktrace&&!e["opera#sourceloc"]||"string"!=typeof(e.stack||e.stacktrace||e["opera#sourceloc"])||e.stack===e.name+": "+e.message)},x=function(e){switch(Object.prototype.toString.call(e)){case"[object Error]":case"[object Exception]":case"[object DOMException]":return!0;default:return e instanceof Error}},k="browserjs",E=function(e,t,n){"string"==typeof t&&(n?e[t]&&delete e[t][n]:delete e[t])},S={add:function(e,t,n,r){var i,o;if(t){if(null===n)return E(e,t);"object"==typeof n&&(o=n),"string"==typeof n&&((i={})[n]=r,o=i),o&&(e[t]||(e[t]={}),e[t]=f({},e[t],o))}},get:function(e,t,n){if("string"==typeof t)return n?e[t]?e[t][n]:void 0:e[t]},clear:E},T={};!function(e,t){"use strict";"object"==typeof T?T=t(y):e.StackGenerator=t(e.StackFrame)}(this,function(e){return{backtrace:function(t){var n=[],r=10;"object"==typeof t&&"number"==typeof t.maxStackSize&&(r=t.maxStackSize);for(var i=arguments.callee;i&&n.length<r&&i.arguments;){for(var o=new Array(i.arguments.length),a=0;a<o.length;++a)o[a]=i.arguments[a];/function(?:\s+([\w$]+))+\s*\(/.test(i.toString())?n.push(new e({functionName:RegExp.$1||void 0,args:o})):n.push(new e({args:o}));try{i=i.caller}catch(e){break}}return n}}});var C=function(){function e(e,n,r,i,o){void 0===r&&(r=[]),void 0===i&&(i=A()),this.apiKey=void 0,this.context=void 0,this.groupingHash=void 0,this.originalError=o,this._handledState=i,this.severity=this._handledState.severity,this.unhandled=this._handledState.unhandled,this.app={},this.device={},this.request={},this.breadcrumbs=[],this._metadata={},this._user={},this._session=void 0,this.errors=[{errorClass:P(e),errorMessage:P(n),type:k,stacktrace:t(r,function(e,t){var n=O(t);try{return"{}"===JSON.stringify(n)?e:e.concat(n)}catch(t){return e}},[])}]}var n=e.prototype;return n.addMetadata=function(e,t,n){return S.add(this._metadata,e,t,n)},n.getMetadata=function(e,t){return S.get(this._metadata,e,t)},n.clearMetadata=function(e,t){return S.clear(this._metadata,e,t)},n.getUser=function(){return this._user},n.setUser=function(e,t,n){this._user={id:e,email:t,name:n}},n.toJSON=function(){return{payloadVersion:"4",exceptions:h(this.errors,function(e){return f({},e,{message:e.errorMessage})}),severity:this.severity,unhandled:this._handledState.unhandled,severityReason:this._handledState.severityReason,app:this.app,device:this.device,request:this.request,breadcrumbs:this.breadcrumbs,context:this.context,groupingHash:this.groupingHash,metaData:this._metadata,user:this._user,session:this._session}},e}(),O=function(e){var t={file:e.fileName,method:j(e.functionName),lineNumber:e.lineNumber,columnNumber:e.columnNumber,code:void 0,inProject:void 0};return t.lineNumber>-1&&!t.file&&!t.method&&(t.file="global code"),t},j=function(e){return/^global code$/i.test(e)?"global code":e},A=function(){return{unhandled:!1,severity:"warning",severityReason:{type:"handledException"}}},P=function(e){return"string"==typeof e?e:""};C.getStacktrace=function(e,t,r){if(w(e))return _.parse(e).slice(t);try{return n(T.backtrace(),function(e){return-1===(e.functionName||"").indexOf("StackGenerator$$")}).slice(1+r)}catch(e){return[]}},C.create=function(e,t,n,r,i,o){void 0===i&&(i=0);var a,s=N(e,t,r,o),c=s[0],u=s[1];try{var l=C.getStacktrace(c,u>0?1+u+i:0,1+i);a=new C(c.name,c.message,l,n,e)}catch(t){a=new C(c.name,c.message,[],n,e)}return"InvalidError"===c.name&&a.addMetadata(""+r,"non-error parameter",M(e)),a};var M=function(e){return null===e?"null":void 0===e?"undefined":e},N=function(e,t,n,r){var i,o=0,a=function(e){r&&r.warn(n+' received a non-error: "'+e+'"');var t=new Error(n+' received a non-error. See "'+n+'" tab for more detail.');return t.name="InvalidError",t};if(t)switch(typeof e){case"string":case"number":case"boolean":i=new Error(String(e)),o+=1;break;case"function":i=a("function"),o+=2;break;case"object":null!==e&&x(e)?i=e:null!==e&&L(e)?((i=new Error(e.message||e.errorMessage)).name=e.name||e.errorClass,o+=1):(i=a(null===e?"null":"unsupported object"),o+=2);break;default:i=a("nothing"),o+=2}else x(e)?i=e:(i=a(typeof e),o+=2);if(!w(i))try{throw i}catch(e){w(e)&&(i=e,o=1)}return[i,o]},L=function(e){return!("string"!=typeof e.name&&"string"!=typeof e.errorClass||"string"!=typeof e.message&&"string"!=typeof e.errorMessage)},I=C,D=function(e,t,n,r){for(var i=!1,o=e.slice();!i&&o.length;)try{i=!1===o.pop()(t)}catch(e){r.error("Error occurred in "+n+" callback, continuing anyway…"),r.error(e)}return i},R=function(e,t){var n="000000000"+e;return n.substr(n.length-t)},B="object"==typeof window?window:self,F=0;for(var U in B)Object.hasOwnProperty.call(B,U)&&F++;var q=navigator.mimeTypes?navigator.mimeTypes.length:0,z=R((q+navigator.userAgent.length).toString(36)+F.toString(36),4),H=function(){return z},V=0,W=4,Y=36,G=Math.pow(Y,W);function K(){return R((Math.random()*G<<0).toString(Y),W)}function $(){var e=(new Date).getTime().toString(Y),t=R((V=V<G?V:0,++V-1).toString(Y),W),n=H(),r=K()+K();return"c"+e+t+n+r}$.fingerprint=H;var X=$,Q=function(){function e(){this.id=X(),this.startedAt=new Date,this._handled=0,this._unhandled=0,this._user={},this.app={},this.device={}}var t=e.prototype;return t.getUser=function(){return this._user},t.setUser=function(e,t,n){this._user={id:e,email:t,name:n}},t.toJSON=function(){return{id:this.id,startedAt:this.startedAt,events:{handled:this._handled,unhandled:this._unhandled}}},t._track=function(e){this[e._handledState.unhandled?"_unhandled":"_handled"]+=1},e}(),Z=function(){},J=function(){function i(e,t,n,r){var o=this;void 0===t&&(t=d.schema),void 0===n&&(n=[]),this._notifier=r,this._config={},this._schema=t,this._delivery={sendSession:Z,sendEvent:Z},this._logger={debug:Z,info:Z,warn:Z,error:Z},this._plugins={},this._breadcrumbs=[],this._session=null,this._metadata={},this._context=void 0,this._user={},this._cbs={e:[],s:[],sp:[],b:[]},this.Client=i,this.Event=I,this.Breadcrumb=g,this.Session=Q,this._config=this._configure(e,n),h(n.concat(this._config.plugins),function(e){e&&o._loadPlugin(e)}),this._depth=1;var a=this,s=this.notify;this.notify=function(){return s.apply(a,arguments)}}var o=i.prototype;return o.addMetadata=function(e,t,n){return S.add(this._metadata,e,t,n)},o.getMetadata=function(e,t){return S.get(this._metadata,e,t)},o.clearMetadata=function(e,t){return S.clear(this._metadata,e,t)},o.getContext=function(){return this._context},o.setContext=function(e){this._context=e},o._configure=function(e,n){var r=t(n,function(e,t){return t&&t.configSchema?f({},e,t.configSchema):e},this._schema),i=t(s(r),function(t,n){var i=r[n].defaultValue(e[n]);if(void 0!==e[n]){var o=r[n].validate(e[n]);o?r[n].allowPartialObject?t.config[n]=f(i,e[n]):t.config[n]=e[n]:(t.errors[n]=r[n].message,t.config[n]=i)}else t.config[n]=i;return t},{errors:{},config:{}}),o=i.errors,a=i.config;if(r.apiKey){if(!a.apiKey)throw new Error("No Bugsnag API Key set");/^[0-9a-f]{32}$/i.test(a.apiKey)||(o.apiKey="should be a string of 32 hexadecimal characters")}return this._metadata=f({},a.metadata),this._user=f({},a.user),this._context=a.context,a.logger&&(this._logger=a.logger),a.onError&&a.onError.length&&(this._cbs.e=this._cbs.e.concat(a.onError)),a.onBreadcrumb&&a.onBreadcrumb.length&&(this._cbs.b=this._cbs.b.concat(a.onBreadcrumb)),a.onSession&&a.onSession.length&&(this._cbs.s=this._cbs.s.concat(a.onSession)),s(o).length&&this._logger.warn(ee(o,e)),a},o.getUser=function(){return this._user},o.setUser=function(e,t,n){this._user={id:e,email:t,name:n}},o._loadPlugin=function(e){var t=e.load(this);return e.name&&(this._plugins["~"+e.name+"~"]=t),this},o.getPlugin=function(e){return this._plugins["~"+e+"~"]},o._setDelivery=function(e){this._delivery=e(this)},o.startSession=function(){var e=new Q;e.app.releaseStage=this._config.releaseStage,e.app.version=this._config.appVersion,e.app.type=this._config.appType,e._user=f({},this._user);var t=D(this._cbs.s,e,"onSession",this._logger);return t?(this._logger.debug("Session not started due to onSession callback"),this):this._sessionDelegate.startSession(this,e)},o.addOnError=function(e,t){void 0===t&&(t=!1),this._cbs.e[t?"unshift":"push"](e)},o.removeOnError=function(e){this._cbs.e=n(this._cbs.e,function(t){return t!==e})},o._addOnSessionPayload=function(e){this._cbs.sp.push(e)},o.addOnSession=function(e){this._cbs.s.push(e)},o.removeOnSession=function(e){this._cbs.s=n(this._cbs.s,function(t){return t!==e})},o.addOnBreadcrumb=function(e){this._cbs.b.push(e)},o.removeOnBreadcrumb=function(e){this._cbs.b=n(this._cbs.b,function(t){return t!==e})},o.pauseSession=function(){return this._sessionDelegate.pauseSession(this)},o.resumeSession=function(){return this._sessionDelegate.resumeSession(this)},o.leaveBreadcrumb=function(t,n,i){if(t="string"==typeof t?t:"",i="string"==typeof i&&r(e,i)?i:"manual",n="object"==typeof n&&null!==n?n:{},t){var o=new g(t,n,i),a=D(this._cbs.b,o,"onBreadcrumb",this._logger);a?this._logger.debug("Breadcrumb not attached due to onBreadcrumb callback"):(this._breadcrumbs.push(o),this._breadcrumbs.length>this._config.maxBreadcrumbs&&(this._breadcrumbs=this._breadcrumbs.slice(this._breadcrumbs.length-this._config.maxBreadcrumbs)))}},o.notify=function(e,t,n){void 0===n&&(n=Z);var r=I.create(e,!0,void 0,"notify()",this._depth+1,this._logger);this._notify(r,t,n)},o._notify=function(e,t,n){var o=this;if(void 0===n&&(n=Z),e.app=f({},e.app,{releaseStage:this._config.releaseStage,version:this._config.appVersion,type:this._config.appType}),e.context=e.context||this._context,e._metadata=f({},e._metadata,this._metadata),e._user=f({},e._user,this._user),e.breadcrumbs=this._breadcrumbs.slice(),this._session&&(this._session._track(e),e._session=this._session),null!==this._config.enabledReleaseStages&&!r(this._config.enabledReleaseStages,this._config.releaseStage))return this._logger.warn("Event not sent due to releaseStage/enabledReleaseStages configuration"),n(null,e);var a=e.severity,s=function(e){o._logger.error("Error occurred in onError callback, continuing anyway…"),o._logger.error(e)},c=[].concat(this._cbs.e).concat(t);!function(e,t,n,r){!function(e,t,n){var r=0,i=function(){if(r>=e.length)return n(null,!0);t(e[r],function(e,t){return e?n(e):!1===t?n(null,!1):(r++,void i())})};i()}(e,function(e,r){if("function"!=typeof e)return r(null);try{if(2!==e.length){var i=e(t);return i&&"function"==typeof i.then?i.then(function(e){return setTimeout(function(){return r(null,e)})},function(e){setTimeout(function(){return n(e),r(null,!0)})}):r(null,i)}e(t,function(e,t){if(e)return n(e),r(null);r(null,t)})}catch(e){n(e),r(null)}},r)}(c,e,s,function(t,c){if(t&&s(t),!c)return o._logger.debug("Event not sent due to onError callback"),n(null,e);r(o._config.enabledBreadcrumbTypes,"error")&&i.prototype.leaveBreadcrumb.call(o,e.errors[0].errorClass,{errorClass:e.errors[0].errorClass,errorMessage:e.errors[0].errorMessage,severity:e.severity},"error"),a!==e.severity&&(e._handledState.severityReason={type:"userCallbackSetSeverity"}),o._delivery.sendEvent({apiKey:e.apiKey||o._config.apiKey,notifier:o._notifier,events:[e]},function(t){return n(t,e)})})},i}(),ee=function(e,t){var n=new Error("Invalid configuration\n"+h(s(e),function(n){return"  - "+n+" "+e[n]+", got "+te(t[n])}).join("\n\n"));return n},te=function(e){switch(typeof e){case"string":case"number":case"object":return JSON.stringify(e);default:return String(e)}},ne=J,re=function(e,t,n,r){var i=r&&r.redactedKeys?r.redactedKeys:[],o=r&&r.redactedPaths?r.redactedPaths:[];return JSON.stringify(function(e,t,n){var r=[],i=0;return function e(o,a){function s(){return a.length>ae&&i>oe}if(i++,a.length>ie)return se;if(s())return se;if(null===o||"object"!=typeof o)return o;if(function(e,t){for(var n=0,r=e.length;n<r;n++)if(e[n]===t)return!0;return!1}(r,o))return"[Circular]";if(r.push(o),"function"==typeof o.toJSON)try{i--;var c=e(o.toJSON(),a);return r.pop(),c}catch(e){return ce(e)}var u,l=(u=o)instanceof Error||/^\[object (Error|(Dom)?Exception)\]$/.test(Object.prototype.toString.call(u));if(l){i--;var d=e({name:o.name,message:o.message},a);return r.pop(),d}if(function(e){return"[object Array]"===Object.prototype.toString.call(e)}(o)){for(var f=[],h=0,p=o.length;h<p;h++){if(s()){f.push(se);break}f.push(e(o[h],a.concat("[]")))}return r.pop(),f}var m={};try{for(var v in o)if(Object.prototype.hasOwnProperty.call(o,v))if(ue(n,a.join("."))&&le(t,v))m[v]="[REDACTED]";else{if(s()){m[v]=se;break}m[v]=e(de(o,v),a.concat(v))}}catch(e){}return r.pop(),m}(e,[])}(e,i,o),t,n)},ie=20,oe=25e3,ae=8,se="...";function ce(e){return"[Throws: "+(e?e.message:"?")+"]"}function ue(e,t){for(var n=0,r=e.length;n<r;n++)if(0===t.indexOf(e[n]))return!0;return!1}function le(e,t){for(var n=0,r=e.length;n<r;n++){if("string"==typeof e[n]&&e[n]===t)return!0;if(e[n]&&"function"==typeof e[n].test&&e[n].test(t))return!0}return!1}function de(e,t){try{return e[t]}catch(e){return ce(e)}}var fe={},he=["events.[].metaData","events.[].breadcrumbs.[].metaData","events.[].request"];fe.event=function(e,t){var n=re(e,null,null,{redactedPaths:he,redactedKeys:t});if(n.length>1e6&&(e.events[0]._metadata={notifier:"WARNING!\nSerialized payload was "+n.length/1e6+"MB (limit = 1MB)\nmetadata was removed"},(n=re(e,null,null,{redactedPaths:he,redactedKeys:t})).length>1e6))throw new Error("payload exceeded 1MB limit");return n},fe.session=function(e,t){var n=re(e,null,null);if(n.length>1e6)throw new Error("payload exceeded 1MB limit");return n};var pe={};pe=function(e,t){return void 0===t&&(t=window),{sendEvent:function(n,r){void 0===r&&(r=function(){});var i=me(e._config,"notify","4",t),o=new t.XDomainRequest;o.onload=function(){r(null)},o.open("POST",i),setTimeout(function(){try{o.send(fe.event(n,e._config.redactedKeys))}catch(t){e._logger.error(t),r(t)}},0)},sendSession:function(n,r){void 0===r&&(r=function(){});var i=me(e._config,"sessions","1",t),o=new t.XDomainRequest;o.onload=function(){r(null)},o.open("POST",i),setTimeout(function(){try{o.send(fe.session(n,e._config.redactedKeys))}catch(t){e._logger.error(t),r(t)}},0)}}};var me=function(e,t,n,r){var i=JSON.parse(JSON.stringify(new Date)),o=ve(e.endpoints[t],r.location.protocol);return o+"?apiKey="+encodeURIComponent(e.apiKey)+"&payloadVersion="+n+"&sentAt="+encodeURIComponent(i)},ve=pe._matchPageProtocol=function(e,t){return"http:"===t?e.replace(/^https:/,"http:"):e},ge=function(e,t){return void 0===t&&(t=window),{sendEvent:function(n,r){void 0===r&&(r=function(){});try{var i=e._config.endpoints.notify,o=new t.XMLHttpRequest;o.onreadystatechange=function(){o.readyState===t.XMLHttpRequest.DONE&&r(null)},o.open("POST",i),o.setRequestHeader("Content-Type","application/json"),o.setRequestHeader("Bugsnag-Api-Key",n.apiKey||e._config.apiKey),o.setRequestHeader("Bugsnag-Payload-Version","4"),o.setRequestHeader("Bugsnag-Sent-At",(new Date).toISOString()),o.send(fe.event(n,e._config.redactedKeys))}catch(t){e._logger.error(t)}},sendSession:function(n,r){void 0===r&&(r=function(){});try{var i=e._config.endpoints.sessions,o=new t.XMLHttpRequest;o.onreadystatechange=function(){o.readyState===t.XMLHttpRequest.DONE&&r(null)},o.open("POST",i),o.setRequestHeader("Content-Type","application/json"),o.setRequestHeader("Bugsnag-Api-Key",e._config.apiKey),o.setRequestHeader("Bugsnag-Payload-Version","1"),o.setRequestHeader("Bugsnag-Sent-At",(new Date).toISOString()),o.send(fe.session(n,e._config.redactedKeys))}catch(t){e._logger.error(t)}}}},ye=function(e){return void 0===e&&(e=window),{load:function(t){t.addOnError(function(t){t.request&&t.request.url||(t.request=f({},t.request,{url:e.location.href}))},!0)}}},be={load:function(e){e._sessionDelegate=_e}},_e={startSession:function(e,t){var n=e;return n._session=t,n._pausedSession=null,null===n._config.enabledReleaseStages||r(n._config.enabledReleaseStages,n._config.releaseStage)?(n._delivery.sendSession({notifier:n._notifier,device:t.device,app:t.app,sessions:[{id:t.id,startedAt:t.startedAt,user:t._user}]}),n):(n._logger.warn("Session not sent due to releaseStage/enabledReleaseStages configuration"),n)},resumeSession:function(e){return e._pausedSession?(e._session=e._pausedSession,e._pausedSession=null,e):e.startSession()},pauseSession:function(e){e._pausedSession=e._session,e._session=null}},we={load:function(e){e._config.collectUserIp||e.addOnError(function(e){e._user&&void 0===e._user.id&&delete e._user.id,e._user=f({id:"[REDACTED]"},e._user),e.request=f({clientIp:"[REDACTED]"},e.request)})},configSchema:{collectUserIp:{defaultValue:function(){return!0},message:"should be true|false",validate:function(e){return!0===e||!1===e}}}},xe={load:function(e){var n=/^dev(elopment)?$/.test(e._config.releaseStage);e._config.enabledBreadcrumbTypes&&r(e._config.enabledBreadcrumbTypes,"log")&&!n&&h(ke,function(n){var r=console[n];console[n]=function(){for(var i=arguments.length,o=new Array(i),a=0;a<i;a++)o[a]=arguments[a];e.leaveBreadcrumb("Console output",t(o,function(e,t,n){var r="[Unknown value]";try{r=String(t)}catch(e){}if("[object Object]"===r)try{r=JSON.stringify(t)}catch(e){}return e["["+n+"]"]=r,e},{severity:0===n.indexOf("group")?"log":n}),"log"),r.apply(console,o)},console[n]._restore=function(){console[n]=r}})}},ke=n(["log","debug","info","warn","error"],function(e){return"undefined"!=typeof console&&"function"==typeof console[e]}),Ee=function(e,r){return void 0===e&&(e=document),void 0===r&&(r=window),{load:function(i){if(i._config.trackInlineScripts){var o=r.location.href,a="",s=!1,c=function(){return e.documentElement.outerHTML};a=c();var u=e.onreadystatechange;e.onreadystatechange=function(){"interactive"===e.readyState&&(a=c(),s=!0);try{u.apply(this,arguments)}catch(e){}};var l=null,d=function(e){l=e},f=function(){var t=e.currentScript||l;if(!t&&!s){var n=e.scripts||e.getElementsByTagName("script");t=n[n.length-1]}return t};i.addOnError(function(e){e.errors[0].stacktrace=n(e.errors[0].stacktrace,function(e){return!/__trace__$/.test(e.method)});var r=e.errors[0].stacktrace[0];if(!r||!r.file||r.file.replace(/#.*$/,"")===o.replace(/#.*$/,"")){var i=f();if(i){var u=i.innerHTML;e.addMetadata("script","content",u.length<=5e5?u:u.substr(0,5e5))}r&&r.lineNumber&&(r.code=function(e){s&&a||(a=c());var n=["\x3c!-- DOC START --\x3e"].concat(a.split("\n")),r=e-1,i=Math.max(r-3,0),o=Math.min(r+3,n.length);return t(n.slice(i,o),function(e,t,n){return e[i+1+n]=t.length<=200?t:t.substr(0,200),e},{})}(r.lineNumber))}},!0);var p=h(["setTimeout","setInterval","setImmediate","requestAnimationFrame"],function(e){return Se(r,e,function(e){return v(e,function(e){return{get:function(){return e[0]},replace:function(t){e[0]=t}}})})}),m=p[0];h(["EventTarget","Window","Node","ApplicationCache","AudioTrackList","ChannelMergerNode","CryptoOperation","EventSource","FileReader","HTMLUnknownElement","IDBDatabase","IDBRequest","IDBTransaction","KeyOperation","MediaController","MessagePort","ModalWindow","Notification","SVGElementInstance","Screen","TextTrack","TextTrackCue","TextTrackList","WebSocket","WebSocketWorker","Worker","XMLHttpRequest","XMLHttpRequestEventTarget","XMLHttpRequestUpload"],function(e){r[e]&&r[e].prototype&&Object.prototype.hasOwnProperty.call(r[e].prototype,"addEventListener")&&(Se(r[e].prototype,"addEventListener",function(e){return v(e,Te)}),Se(r[e].prototype,"removeEventListener",function(e){return v(e,Te,!0)}))})}function v(e,t,n){return void 0===n&&(n=!1),function(){var r=[].slice.call(arguments);try{var i=t(r),o=i.get();if(n&&e.apply(this,r),"function"!=typeof o)return e.apply(this,r);if(o.__trace__)i.replace(o.__trace__);else{var a=f();o.__trace__=function(){d(a),m(function(){d(null)},0);var e=o.apply(this,arguments);return d(null),e},o.__trace__.__trace__=o.__trace__,i.replace(o.__trace__)}}catch(e){}if(e.apply)return e.apply(this,r);switch(r.length){case 1:return e(r[0]);case 2:return e(r[0],r[1]);default:return e()}}}},configSchema:{trackInlineScripts:{validate:function(e){return!0===e||!1===e},defaultValue:function(){return!0},message:"should be true|false"}}}};function Se(e,t,n){var r=e[t];if(!r)return r;var i=n(r);return e[t]=i,r}function Te(e){var t=!!e[1]&&"function"==typeof e[1].handleEvent;return{get:function(){return t?e[1].handleEvent:e[1]},replace:function(n){t?e[1].handleEvent=n:e[1]=n}}}var Ce=function(e){return void 0===e&&(e=window),{load:function(t){"addEventListener"in e&&t._config.enabledBreadcrumbTypes&&r(t._config.enabledBreadcrumbTypes,"user")&&e.addEventListener("click",function(n){var r,i;try{r=Oe(n.target),i=function e(t,n){var r=[t.tagName];if(t.id&&r.push("#"+t.id),t.className&&t.className.length&&r.push("."+t.className.split(" ").join(".")),!n.document.querySelectorAll||!Array.prototype.indexOf)return r.join("");try{if(1===n.document.querySelectorAll(r.join("")).length)return r.join("")}catch(e){return r.join("")}if(t.parentNode.childNodes.length>1){var i=Array.prototype.indexOf.call(t.parentNode.childNodes,t)+1;r.push(":nth-child("+i+")")}return 1===n.document.querySelectorAll(r.join("")).length?r.join(""):t.parentNode?e(t.parentNode,n)+" > "+r.join(""):r.join("")}(n.target,e)}catch(e){r="[hidden]",i="[hidden]",t._logger.error("Cross domain error when tracking click event. See docs: https://tinyurl.com/yy3rn63z")}t.leaveBreadcrumb("UI click",{targetText:r,targetSelector:i},"user")},!0)}}},Oe=function(e){var t,n,r=e.textContent||e.innerText||"";return r||"submit"!==e.type&&"button"!==e.type||(r=e.value),r=r.replace(/^\s+|\s+$/g,""),n=140,(t=r)&&t.length<=n?t:t.slice(0,n-"(...)".length)+"(...)"},je={};je=function(e){return void 0===e&&(e=window),{load:function(t){if("addEventListener"in e&&t._config.enabledBreadcrumbTypes&&r(t._config.enabledBreadcrumbTypes,"navigation")){var n=function(e){return function(){return t.leaveBreadcrumb(e,{},"navigation")}};e.addEventListener("pagehide",n("Page hidden"),!0),e.addEventListener("pageshow",n("Page shown"),!0),e.addEventListener("load",n("Page loaded"),!0),e.document.addEventListener("DOMContentLoaded",n("DOMContentLoaded"),!0),e.addEventListener("load",function(){return e.addEventListener("popstate",n("Navigated back"),!0)}),e.addEventListener("hashchange",function(n){var r=n.oldURL?{from:Ae(n.oldURL,e),to:Ae(n.newURL,e),state:Me(e)}:{to:Ae(e.location.href,e)};t.leaveBreadcrumb("Hash changed",r,"navigation")},!0),e.history.replaceState&&Pe(t,e.history,"replaceState",e),e.history.pushState&&Pe(t,e.history,"pushState",e),t.leaveBreadcrumb("Bugsnag loaded",{},"navigation")}}}};var Ae=function(e,t){var n=t.document.createElement("A");return n.href=e,""+n.pathname+n.search+n.hash},Pe=function(e,t,n,r){var i=t[n];t[n]=function(o,a,s){e.leaveBreadcrumb("History "+n,function(e,t,n,r){var i=Ae(e.location.href,e);return{title:n,state:t,prevState:Me(e),to:r||i,from:i}}(r,o,a,s),"navigation"),"function"==typeof e.resetEventCount&&e.resetEventCount(),e._config.autoTrackSessions&&e.startSession(),i.apply(t,[o,a].concat(void 0!==s?s:[]))}},Me=function(e){try{return e.history.state}catch(e){}},Ne="request",Le="BS~~S",Ie="BS~~U",De="BS~~M",Re=function(e,t){void 0===e&&(e=[]),void 0===t&&(t=window);var n={load:function(n){if(n._config.enabledBreadcrumbTypes&&r(n._config.enabledBreadcrumbTypes,"request")){var i=[n._config.endpoints.notify,n._config.endpoints.sessions].concat(e);!function(){if("addEventListener"in t.XMLHttpRequest.prototype){var e=t.XMLHttpRequest.prototype.open;t.XMLHttpRequest.prototype.open=function(t,n){this[Ie]=n,this[De]=t,this[Le]&&(this.removeEventListener("load",s),this.removeEventListener("error",c)),this.addEventListener("load",s),this.addEventListener("error",c),this[Le]=!0,e.apply(this,arguments)}}}(),function(){if("fetch"in t&&!t.fetch.polyfill){var e=t.fetch;t.fetch=function(){var t,n=arguments,r=arguments[0],i=arguments[1],s=null;return r&&"object"==typeof r?(s=r.url,i&&"method"in i?t=i.method:r&&"method"in r&&(t=r.method)):(s=r,i&&"method"in i&&(t=i.method)),void 0===t&&(t="GET"),new Promise(function(r,i){e.apply(void 0,n).then(function(e){o(e,t,s),r(e)}).catch(function(e){a(t,s),i(e)})})}}}();var o=function(e,t,r){var i={status:e.status,request:t+" "+r};e.status>=400?n.leaveBreadcrumb("fetch() failed",i,Ne):n.leaveBreadcrumb("fetch() succeeded",i,Ne)},a=function(e,t){n.leaveBreadcrumb("fetch() error",{request:e+" "+t},Ne)}}function s(){if(!r(i,this[Ie])){var e={status:this.status,request:this[De]+" "+this[Ie]};this.status>=400?n.leaveBreadcrumb("XMLHttpRequest failed",e,Ne):n.leaveBreadcrumb("XMLHttpRequest succeeded",e,Ne)}}function c(){r(i,this[Ie])||n.leaveBreadcrumb("XMLHttpRequest error",{request:this[De]+" "+this[Ie]},Ne)}}};return n},Be={load:function(e){var t=0;e.addOnError(function(n){if(t>=e._config.maxEvents)return!1;t++}),e.resetEventCount=function(){t=0}},configSchema:{maxEvents:{defaultValue:function(){return 10},message:"should be a positive integer ≤100",validate:function(e){return c(1,100)(e)}}}},Fe={},Ue=(Fe={load:function(e){e.addOnError(function(e){var n=t(e.errors,function(e,t){return e.concat(t.stacktrace)},[]);h(n,function(e){e.file=Ue(e.file)})})}})._strip=function(e){return"string"==typeof e?e.replace(/\?.*$/,"").replace(/#.*$/,""):e},qe=function(e){return void 0===e&&(e=window),{load:function(t){if(t._config.autoDetectErrors&&t._config.enabledErrorTypes.unhandledExceptions){var n=e.onerror;e.onerror=function(e,r,i,o,a){if(0===i&&/Script error\.?/.test(e))t._logger.warn("Ignoring cross-domain or eval script error. See docs: https://tinyurl.com/yy3rn63z");else{var s,c={severity:"error",unhandled:!0,severityReason:{type:"unhandledException"}};if(a)s=t.Event.create(a,!0,c,"window onerror",1),ze(s.errors[0].stacktrace,r,i,o);else if("object"!=typeof e||null===e||r&&"string"==typeof r||i||o||a)s=t.Event.create(e,!0,c,"window onerror",1),ze(s.errors[0].stacktrace,r,i,o);else{var u=e.type?"Event: "+e.type:"Error",l=e.message||e.detail||"";(s=t.Event.create({name:u,message:l},!0,c,"window onerror",1)).originalError=e,s.addMetadata("window onerror",{event:e,extraParameters:r})}t._notify(s)}"function"==typeof n&&n.apply(this,arguments)}}}}},ze=function(e,t,n,r){e[0]||e.push({});var i=e[0];i.file||"string"!=typeof t||(i.file=t),!i.lineNumber&&He(n)&&(i.lineNumber=n),i.columnNumber||(He(r)?i.columnNumber=r:window.event&&He(window.event.errorCharacter)&&(i.columnNumber=window.event.errorCharacter))},He=function(e){return"number"==typeof e&&"NaN"!==String.call(e)},Ve=function(e){void 0===e&&(e=window);var t={load:function(t){if(t._config.autoDetectErrors&&t._config.enabledErrorTypes.unhandledRejections){var n=function(e){var n=e.reason,r=!1;try{e.detail&&e.detail.reason&&(n=e.detail.reason,r=!0)}catch(e){}var i=t.Event.create(n,!1,{severity:"error",unhandled:!0,severityReason:{type:"unhandledPromiseRejection"}},"unhandledrejection handler",1,t._logger);r&&h(i.errors[0].stacktrace,We(n)),t._notify(i,function(e){var t;x(e.originalError)&&!e.originalError.stack&&e.addMetadata("unhandledRejection handler",((t={})[Object.prototype.toString.call(e.originalError)]={name:e.originalError.name,message:e.originalError.message,code:e.originalError.code},t))})};"addEventListener"in e?e.addEventListener("unhandledrejection",n):e.onunhandledrejection=function(e,t){n({detail:{reason:e,promise:t}})}}}};return t},We=function(e){return function(t){t.file!==e.toString()&&t.method&&(t.method=t.method.replace(/^\s+/,""))}},Ye={},Ge=f({},d.schema,m),Ke={_client:null,createClient:function(e){"string"==typeof e&&(e={apiKey:e}),e||(e={});var t,n,r=[(void 0===n&&(n=navigator),{load:function(e){var t={locale:n.browserLanguage||n.systemLanguage||n.userLanguage||n.language,userAgent:n.userAgent};e.addOnSession(function(e){e.device=f({},e.device,t)}),e.addOnError(function(e){e.device=f({},e.device,t,{time:new Date})},!0)}}),(void 0===t&&(t=window),{load:function(e){e.addOnError(function(e){void 0===e.context&&(e.context=t.location.pathname)},!0)}}),ye(),Be,be,we,Fe,qe(),Ve(),je(),Ce(),Re(),xe,Ee()],i=new ne(e,Ge,r,{name:"Bugsnag JavaScript",version:"7.0.1",url:"https://github.com/bugsnag/bugsnag-js"});return i._setDelivery(window.XDomainRequest?pe:ge),i._logger.debug("Loaded!"),i._config.autoTrackSessions?i.startSession():i},start:function(e){return Ke._client?(Ke._client._logger.warn("Bugsnag.start() was called more than once. Ignoring."),Ke._client):(Ke._client=Ke.createClient(e),Ke._client)}};return h(["resetEventCount"].concat(s(ne.prototype)),function(e){/^_/.test(e)||(Ke[e]=function(){if(!Ke._client)return console.log("Bugsnag."+e+"() was called before Bugsnag.start()");Ke._client._depth+=1;var t=Ke._client[e].apply(Ke._client,arguments);return Ke._client._depth-=1,t})}),(Ye=Ke).Client=ne,Ye.Event=I,Ye.Session=Q,Ye.Breadcrumb=g,Ye.default=Ke,Ye}()},function(e,t,n){"use strict";var r=n(847),i=n(848),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,c=Array.prototype.push,u=function(e,t){c.apply(e,s(t)?t:[t])},l=Date.prototype.toISOString,d={addQueryPrefix:!1,allowDots:!1,charset:"utf-8",charsetSentinel:!1,delimiter:"&",encode:!0,encoder:r.encode,encodeValuesOnly:!1,formatter:i.formatters[i.default],indices:!1,serializeDate:function(e){return l.call(e)},skipNulls:!1,strictNullHandling:!1},f=function e(t,n,i,o,a,c,l,f,h,p,m,v,g){var y=t;if("function"==typeof l?y=l(n,y):y instanceof Date?y=p(y):"comma"===i&&s(y)&&(y=y.join(",")),null===y){if(o)return c&&!v?c(n,d.encoder,g):n;y=""}if("string"==typeof y||"number"==typeof y||"boolean"==typeof y||r.isBuffer(y))return c?[m(v?n:c(n,d.encoder,g))+"="+m(c(y,d.encoder,g))]:[m(n)+"="+m(String(y))];var b,_=[];if(void 0===y)return _;if(s(l))b=l;else{var w=Object.keys(y);b=f?w.sort(f):w}for(var x=0;x<b.length;++x){var k=b[x];a&&null===y[k]||(s(y)?u(_,e(y[k],"function"==typeof i?i(n,k):n,i,o,a,c,l,f,h,p,m,v,g)):u(_,e(y[k],n+(h?"."+k:"["+k+"]"),i,o,a,c,l,f,h,p,m,v,g)))}return _};e.exports=function(e,t){var n,r=e,c=function(e){if(!e)return d;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||d.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=d.filter;return("function"==typeof e.filter||s(e.filter))&&(a=e.filter),{addQueryPrefix:"boolean"==typeof e.addQueryPrefix?e.addQueryPrefix:d.addQueryPrefix,allowDots:void 0===e.allowDots?d.allowDots:!!e.allowDots,charset:t,charsetSentinel:"boolean"==typeof e.charsetSentinel?e.charsetSentinel:d.charsetSentinel,delimiter:void 0===e.delimiter?d.delimiter:e.delimiter,encode:"boolean"==typeof e.encode?e.encode:d.encode,encoder:"function"==typeof e.encoder?e.encoder:d.encoder,encodeValuesOnly:"boolean"==typeof e.encodeValuesOnly?e.encodeValuesOnly:d.encodeValuesOnly,filter:a,formatter:r,serializeDate:"function"==typeof e.serializeDate?e.serializeDate:d.serializeDate,skipNulls:"boolean"==typeof e.skipNulls?e.skipNulls:d.skipNulls,sort:"function"==typeof e.sort?e.sort:null,strictNullHandling:"boolean"==typeof e.strictNullHandling?e.strictNullHandling:d.strictNullHandling}}(t);"function"==typeof c.filter?r=(0,c.filter)("",r):s(c.filter)&&(n=c.filter);var l,h=[];if("object"!=typeof r||null===r)return"";l=t&&t.arrayFormat in a?t.arrayFormat:t&&"indices"in t?t.indices?"indices":"repeat":"indices";var p=a[l];n||(n=Object.keys(r)),c.sort&&n.sort(c.sort);for(var m=0;m<n.length;++m){var v=n[m];c.skipNulls&&null===r[v]||u(h,f(r[v],v,p,c.strictNullHandling,c.skipNulls,c.encode?c.encoder:null,c.filter,c.sort,c.allowDots,c.serializeDate,c.formatter,c.encodeValuesOnly,c.charset))}var g=h.join(c.delimiter),y=!0===c.addQueryPrefix?"?":"";return c.charsetSentinel&&("iso-8859-1"===c.charset?y+="utf8=%26%2310003%3B&":y+="utf8=%E2%9C%93&"),g.length>0?y+g:""}},function(e,t,n){"use strict";var r=n(847),i=Object.prototype.hasOwnProperty,o={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},a=function(e){return e.replace(/&#(\d+);/g,function(e,t){return String.fromCharCode(parseInt(t,10))})},s=function(e,t,n){if(e){var r=n.allowDots?e.replace(/\.([^.[]+)/g,"[$1]"):e,o=/(\[[^[\]]*])/g,a=/(\[[^[\]]*])/.exec(r),s=a?r.slice(0,a.index):r,c=[];if(s){if(!n.plainObjects&&i.call(Object.prototype,s)&&!n.allowPrototypes)return;c.push(s)}for(var u=0;null!==(a=o.exec(r))&&u<n.depth;){if(u+=1,!n.plainObjects&&i.call(Object.prototype,a[1].slice(1,-1))&&!n.allowPrototypes)return;c.push(a[1])}return a&&c.push("["+r.slice(a.index)+"]"),function(e,t,n){for(var r=t,i=e.length-1;i>=0;--i){var o,a=e[i];if("[]"===a&&n.parseArrays)o=[].concat(r);else{o=n.plainObjects?Object.create(null):{};var s="["===a.charAt(0)&&"]"===a.charAt(a.length-1)?a.slice(1,-1):a,c=parseInt(s,10);n.parseArrays||""!==s?!isNaN(c)&&a!==s&&String(c)===s&&c>=0&&n.parseArrays&&c<=n.arrayLimit?(o=[])[c]=r:o[s]=r:o={0:r}}r=o}return r}(c,t,n)}};e.exports=function(e,t){var n=function(e){if(!e)return o;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 Error("The charset option must be either utf-8, iso-8859-1, or undefined");var t=void 0===e.charset?o.charset:e.charset;return{allowDots:void 0===e.allowDots?o.allowDots:!!e.allowDots,allowPrototypes:"boolean"==typeof e.allowPrototypes?e.allowPrototypes:o.allowPrototypes,arrayLimit:"number"==typeof e.arrayLimit?e.arrayLimit:o.arrayLimit,charset:t,charsetSentinel:"boolean"==typeof e.charsetSentinel?e.charsetSentinel:o.charsetSentinel,comma:"boolean"==typeof e.comma?e.comma:o.comma,decoder:"function"==typeof e.decoder?e.decoder:o.decoder,delimiter:"string"==typeof e.delimiter||r.isRegExp(e.delimiter)?e.delimiter:o.delimiter,depth:"number"==typeof e.depth?e.depth:o.depth,ignoreQueryPrefix:!0===e.ignoreQueryPrefix,interpretNumericEntities:"boolean"==typeof e.interpretNumericEntities?e.interpretNumericEntities:o.interpretNumericEntities,parameterLimit:"number"==typeof e.parameterLimit?e.parameterLimit:o.parameterLimit,parseArrays:!1!==e.parseArrays,plainObjects:"boolean"==typeof e.plainObjects?e.plainObjects:o.plainObjects,strictNullHandling:"boolean"==typeof e.strictNullHandling?e.strictNullHandling:o.strictNullHandling}}(t);if(""===e||null==e)return n.plainObjects?Object.create(null):{};for(var c="string"==typeof e?function(e,t){var n,s={},c=t.ignoreQueryPrefix?e.replace(/^\?/,""):e,u=t.parameterLimit===1/0?void 0:t.parameterLimit,l=c.split(t.delimiter,u),d=-1,f=t.charset;if(t.charsetSentinel)for(n=0;n<l.length;++n)0===l[n].indexOf("utf8=")&&("utf8=%E2%9C%93"===l[n]?f="utf-8":"utf8=%26%2310003%3B"===l[n]&&(f="iso-8859-1"),d=n,n=l.length);for(n=0;n<l.length;++n)if(n!==d){var h,p,m=l[n],v=m.indexOf("]="),g=-1===v?m.indexOf("="):v+1;-1===g?(h=t.decoder(m,o.decoder,f),p=t.strictNullHandling?null:""):(h=t.decoder(m.slice(0,g),o.decoder,f),p=t.decoder(m.slice(g+1),o.decoder,f)),p&&t.interpretNumericEntities&&"iso-8859-1"===f&&(p=a(p)),p&&t.comma&&p.indexOf(",")>-1&&(p=p.split(",")),i.call(s,h)?s[h]=r.combine(s[h],p):s[h]=p}return s}(e,n):e,u=n.plainObjects?Object.create(null):{},l=Object.keys(c),d=0;d<l.length;++d){var f=l[d],h=s(f,c[f],n);u=r.merge(u,h,n)}return r.compact(u)}},function(e,t){var n="undefined"!=typeof crypto&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto)||"undefined"!=typeof msCrypto&&"function"==typeof window.msCrypto.getRandomValues&&msCrypto.getRandomValues.bind(msCrypto);if(n){var r=new Uint8Array(16);e.exports=function(){return n(r),r}}else{var i=new Array(16);e.exports=function(){for(var e,t=0;t<16;t++)0==(3&t)&&(e=4294967296*Math.random()),i[t]=e>>>((3&t)<<3)&255;return i}}},function(e,t){for(var n=[],r=0;r<256;++r)n[r]=(r+256).toString(16).substr(1);e.exports=function(e,t){var r=t||0,i=n;return[i[e[r++]],i[e[r++]],i[e[r++]],i[e[r++]],"-",i[e[r++]],i[e[r++]],"-",i[e[r++]],i[e[r++]],"-",i[e[r++]],i[e[r++]],"-",i[e[r++]],i[e[r++]],i[e[r++]],i[e[r++]],i[e[r++]],i[e[r++]]].join("")}},function(e,t,n){var r=n(1523);e.exports=r},function(e,t,n){n(1524);var r=n(104);e.exports=r.Reflect.get},function(e,t,n){var r=n(45),i=n(147),o=n(94),a=n(172),s=n(275),c=n(396);r({target:"Reflect",stat:!0},{get:function e(t,n){var r,u,l=arguments.length<3?t:arguments[2];return o(t)===l?t[n]:(r=s.f(t,n))?a(r,"value")?r.value:void 0===r.get?void 0:r.get.call(l):i(u=c(t))?e(u,n,l):void 0}})},function(e,t,n){var r=n(1526);e.exports=r},function(e,t,n){var r=n(1527),i=Function.prototype;e.exports=function(e){var t=e.bind;return e===i||e instanceof Function&&t===i.bind?r:t}},function(e,t,n){n(1528);var r=n(151);e.exports=r("Function").bind},function(e,t,n){n(45)({target:"Function",proto:!0},{bind:n(760)})},function(e,t,n){var r=n(16);e.exports=r(!1)},function(e,t,n){var r=n(1531),i=n(18),o=n(133),a=n(1532);e.exports=i(o([],a,r))},function(e,t){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}},function(e,t,n){var r=n(200),i=n(18),o=n(148);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)})}()},function(e,t,n){var r=n(51),i=n(526),o=n(56),a=n(30),s=n(286),c=n(161),u=n(107),l=n(70);e.exports=r(function e(t){return t=a(function(t){return"function"==typeof t?t:e(t)},t),o(u(s,0,c("length",l(t))),function(){var e=arguments;return a(function(t){return i(t,e)},t)})})},function(e,t,n){var r=n(51),i=n(490);e.exports=r(function(e){return i(2,e)})},function(e,t,n){var r=n(74);e.exports=r(function(e){return e.apply(this,Array.prototype.slice.call(arguments,1))})},function(e,t,n){var r=n(18),i=n(1537),o=n(30);e.exports=r(function(e,t){return o(e,i(t))})},function(e,t,n){var r=n(1538),i=n(470),o=n(190),a=n(148);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])}}}},function(e,t){e.exports=function(e){return{"@@transducer/value":e,"@@transducer/reduced":!0}}},function(e,t,n){var r=n(58);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})},function(e,t,n){var r=n(849),i=n(51);e.exports=i(function(e){return null!=e&&"function"==typeof e.clone?e.clone():r(e,[],[],!0)})},function(e,t,n){var r=n(51);e.exports=r(function(e){return function(t,n){return e(t,n)?-1:e(n,t)?1:0}})},function(e,t,n){var r=n(51),i=n(851);e.exports=r(function(e){return i(e.length,e)})},function(e,t,n){var r=n(491);e.exports=r(function(e,t){return e+1},0)},function(e,t,n){var r=n(478),i=n(174),o=n(148);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)})}()},function(e,t,n){var r=n(58);e.exports=r(function(e,t,n){var r=e(t),i=e(n);return r>i?-1:r<i?1:0})},function(e,t,n){var r=n(18),i=n(632),o=n(27),a=n(225),s=n(527),c=n(421);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],u=Array.prototype.slice.call(t,1);return null==n[r]?n:i(t[0])?c(r,e(u,n[r]),n):o(r,e(u,n[r]),n)}})},function(e,t,n){var r=n(18),i=n(148);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)})}()},function(e,t,n){var r=n(18),i=n(133),o=n(1549),a=n(1550);e.exports=r(i([],a,o))},function(e,t){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)}},function(e,t,n){var r=n(18),i=n(190),o=n(148);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)})}()},function(e,t,n){var r=n(51),i=n(133),o=n(853),a=n(854),s=n(37);e.exports=r(i([],o(s),a(s)))},function(e,t,n){var r=n(18),i=n(133),o=n(1553);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)}))},function(e,t,n){var r=n(18),i=n(148);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)})}()},function(e,t,n){var r=n(18),i=n(37),o=n(855);e.exports=r(function(e,t){return i(o(e.length,t),e)})},function(e,t,n){var r=n(58),i=n(37);e.exports=r(function(e,t,n){return i(e(t),e(n))})},function(e,t,n){var r=n(18),i=n(148);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)})}()},function(e,t,n){var r=n(18),i=n(133),o=n(1558);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}))},function(e,t,n){var r=n(18),i=n(148);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)})}()},function(e,t,n){var r=n(18),i=n(82);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})},function(e,t,n){var r=n(391),i=n(18),o=n(491);e.exports=i(r("groupBy",o(function(e,t){return null==e&&(e=[]),e.push(t),e},null)))},function(e,t,n){var r=n(18);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})},function(e,t,n){var r=n(18);e.exports=r(function(e,t){return e in t})},function(e,t,n){var r=n(178);e.exports=r(0,-1)},function(e,t,n){var r=n(492),i=n(58),o=n(606);e.exports=i(function(e,t,n){return o(function(t){return r(e,t,n)},t)})},function(e,t,n){var r=n(58);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))})},function(e,t,n){var r=n(303),i=n(18),o=n(606),a=n(48),s=n(347);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))})},function(e,t,n){var r=n(492),i=n(58),o=n(634);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=[],c=0;c<a.length;)r(e,a[c],i)&&(s[s.length]=a[c]),c+=1;return o(e,s)})},function(e,t,n){var r=n(391),i=n(18);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}))},function(e,t,n){var r=n(849),i=n(58),o=n(605),a=n(190),s=n(1570);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)})},function(e,t,n){var r,i,o,a=n(631),s=n(608),c=n(470),u=n(605),l=n(143);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,c(t)?l(t[0],t[1]):t)},"@@transducer/result":s},function(e){if(u(e))return e;if(c(e))return r;if("string"==typeof e)return i;if("object"==typeof e)return o;throw new Error("Cannot create transformer for "+e)})},function(e,t,n){var r=n(51),i=n(174),o=n(82);e.exports=r(function(e){for(var t=o(e),n=t.length,r=0,a={};r<n;){var s=t[r],c=e[s],u=i(c,a)?a[c]:a[c]=[];u[u.length]=s,r+=1}return a})},function(e,t,n){var r=n(51),i=n(82);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})},function(e,t,n){var r=n(51);e.exports=r(function(e){var t,n=[];for(t in e)n[n.length]=t;return n})},function(e,t,n){var r=n(18),i=n(276),o=n(37);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)})},function(e,t,n){var r=n(51),i=n(489),o=n(224),a=n(421);e.exports=r(function(e){return i(o(e),a(e))})},function(e,t,n){var r=n(58);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]})},function(e,t,n){var r=n(58);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]]})},function(e,t,n){var r=n(18),i=n(632);e.exports=r(function(e,t){return i(e)?!i(t)||t<1?NaN:(e%t+t)%t:NaN})},function(e,t,n){var r=n(58);e.exports=r(function(e,t,n){return e(n)>e(t)?n:t})},function(e,t,n){var r=n(51),i=n(856);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))})},function(e,t,n){var r=n(348),i=n(401);e.exports=r(function(){return i(arguments)})},function(e,t,n){var r=n(58),i=n(493);e.exports=r(function(e,t,n){return i(function(t,n,r){return e(n,r)},t,n)})},function(e,t,n){var r=n(58),i=n(635);e.exports=r(function(e,t,n){return i(function(t,n,r){return e(n,r)},t,n)})},function(e,t,n){var r=n(18);e.exports=r(function(e,t){return t<e?t:e})},function(e,t,n){var r=n(58);e.exports=r(function(e,t,n){return e(n)<e(t)?n:t})},function(e,t,n){var r=n(18);e.exports=r(function(e,t){return e%t})},function(e,t,n){var r=n(789),i=n(18),o=n(133),a=n(845),s=n(422);e.exports=i(r(o(["any"],a,s)))},function(e,t,n){var r=n(51),i=n(56),o=n(224);e.exports=r(function(e){return i(e<0?1:e+1,function(){return o(e,arguments)})})},function(e,t,n){var r=n(58);e.exports=r(function(e,t,n){return e(t(n))})},function(e,t,n){var r=n(219),i=n(51);e.exports=i(function(e){var t,n=!1;return r(e.length,function(){return n?t:(n=!0,t=e.apply(this,arguments))})})},function(e,t,n){var r=n(18);e.exports=r(function(e,t){return[e,t]})},function(e,t,n){var r=n(200),i=n(844),o=n(48);e.exports=i(o(r))},function(e,t,n){var r=n(49),i=n(423),o=n(129);e.exports=i([r,o])},function(e,t,n){var r=n(18);e.exports=r(function(e,t){var n={};for(var r in t)e(t[r],r,t)&&(n[r]=t[r]);return n})},function(e,t,n){var r=n(850),i=n(471);e.exports=function(){if(0===arguments.length)throw new Error("pipeK requires at least one argument");return r.apply(this,i(arguments))}},function(e,t,n){var r=n(226),i=n(107);e.exports=i(r,1)},function(e,t,n){var r=n(477),i=n(43),o=n(857),a=n(858);e.exports=a(r,[o,i])},function(e,t,n){var r=n(58),i=n(313);e.exports=r(function(e,t,n){return i(e,n[t])})},function(e,t,n){var r=n(478),i=n(190),o=n(279);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)})},function(e,t,n){var r=n(51),i=n(279);e.exports=r(i)},function(e,t,n){var r=n(18),i=n(16),o=n(860);e.exports=r(function(e,t){return o(i(e),t)})},function(e,t,n){var r=n(58);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})},function(e,t,n){var r=n(18);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})})},function(e,t,n){var r=n(18),i=n(178);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})},function(e,t,n){var r=n(18);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)]})},function(e,t,n){var r=n(18);e.exports=r(function(e,t){return Number(e)-Number(t)})},function(e,t,n){var r=n(58),i=n(54),o=n(852);e.exports=r(function(e,t,n){return i(o(e,t,n),o(e,n,t))})},function(e,t,n){var r=n(18);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)})},function(e,t,n){var r=n(18),i=n(133),o=n(1610);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)}))},function(e,t,n){var r=n(18),i=n(279),o=n(148);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)})}()},function(e,t,n){var r=n(51);e.exports=r(function(e){var t=[];for(var n in e)t[t.length]=[n,e[n]];return t})},function(e,t,n){var r=n(51);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})},function(e,t,n){var r=n(58),i=n(30),o=n(861);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))})},function(e,t,n){var r=n(219),i=n(200),o=n(18);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))}})})},function(e,t,n){var r=n(51);e.exports=r(function(e){return function(){return e(Array.prototype.slice.call(arguments,0))}})},function(e,t,n){var r=n(18);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})},function(e,t,n){var r=n(200),i=n(18),o=n(7),a=n(347);e.exports=i(o(a,r))},function(e,t,n){var r=n(200),i=n(58),o=n(634);e.exports=i(function(e,t,n){return o(e,r(t,n))})},function(e,t,n){var r=n(608),i=n(633);e.exports=i(r)},function(e,t,n){var r=n(58);e.exports=r(function(e,t,n){for(var r=n;!e(r);)r=t(r);return r})},function(e,t,n){var r=n(51);e.exports=r(function(e){var t,n=[];for(t in e)n[n.length]=e[t];return n})},function(e,t,n){var r=n(18);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})},function(e,t,n){var r=n(18);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})},function(e,t,n){var r=n(58);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})},function(e,t,n){var r=n(1626);n(1631),n(1633),n(1635),n(1637),n(1639),n(1640),n(1641),n(1642),n(1643),n(1644),n(1646),n(1647),n(1648),n(1649),n(1650),n(1651),n(1652),n(1653),n(1654),n(1655),e.exports=r},function(e,t,n){n(1627),n(598),n(334),n(330);var r=n(104);e.exports=r.Map},function(e,t,n){"use strict";var r=n(1628),i=n(1630);e.exports=r("Map",function(e){return function(){return e(this,arguments.length?arguments[0]:void 0)}},i)},function(e,t,n){"use strict";var r=n(45),i=n(132),o=n(863),a=n(121),s=n(198),c=n(134),u=n(398),l=n(147),d=n(277),f=n(199).f,h=n(395).forEach,p=n(157),m=n(278),v=m.set,g=m.getterFor;e.exports=function(e,t,n){var m,y=-1!==e.indexOf("Map"),b=-1!==e.indexOf("Weak"),_=y?"set":"add",w=i[e],x=w&&w.prototype,k={};if(p&&"function"==typeof w&&(b||x.forEach&&!a(function(){(new w).entries().next()}))){m=t(function(t,n){v(u(t,m,e),{type:e,collection:new w}),null!=n&&c(n,t[_],{that:t,AS_ENTRIES:y})});var E=g(e);h(["add","clear","delete","forEach","get","has","set","keys","values","entries"],function(e){var t="add"==e||"set"==e;e in x&&(!b||"clear"!=e)&&s(m.prototype,e,function(n,r){var i=E(this).collection;if(!t&&b&&!l(n))return"get"==e&&void 0;var o=i[e](0===n?0:n,r);return t?this:o})}),b||f(m.prototype,"size",{configurable:!0,get:function(){return E(this).collection.size}})}else m=n.getConstructor(t,e,y,_),o.REQUIRED=!0;return d(m,e,!1,!0),k[e]=m,r({global:!0,forced:!0},k),b||n.setStrong(m,e,y),m}},function(e,t,n){var r=n(121);e.exports=!r(function(){return Object.isExtensible(Object.preventExtensions({}))})},function(e,t,n){"use strict";var r=n(199).f,i=n(301),o=n(612),a=n(166),s=n(398),c=n(134),u=n(604),l=n(830),d=n(157),f=n(863).fastKey,h=n(278),p=h.set,m=h.getterFor;e.exports={getConstructor:function(e,t,n,u){var l=e(function(e,r){s(e,l,t),p(e,{type:t,index:i(null),first:void 0,last:void 0,size:0}),d||(e.size=0),null!=r&&c(r,e[u],{that:e,AS_ENTRIES:n})}),h=m(t),v=function(e,t,n){var r,i,o=h(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=h(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=h(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=h(this),n=g(this,e);if(n){var r=n.next,i=n.previous;delete t.index[n.index],n.removed=!0,i&&(i.next=r),r&&(r.previous=i),t.first==n&&(t.first=r),t.last==n&&(t.last=i),d?t.size--:this.size--}return!!n},forEach:function(e){for(var t,n=h(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 h(this).size}}),l},setStrong:function(e,t,n){var r=t+" Iterator",i=m(t),o=m(r);u(e,t,function(e,t){p(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)}}},function(e,t,n){n(45)({target:"Map",stat:!0},{from:n(1632)})},function(e,t,n){"use strict";var r=n(142),i=n(166),o=n(134);e.exports=function(e){var t,n,a,s,c=arguments.length,u=c>1?arguments[1]:void 0;return r(this),(t=void 0!==u)&&r(u),null==e?new this:(n=[],t?(a=0,s=i(u,c>2?arguments[2]:void 0,2),o(e,function(e){n.push(s(e,a++))})):o(e,n.push,{that:n}),new this(n))}},function(e,t,n){n(45)({target:"Map",stat:!0},{of:n(1634)})},function(e,t,n){"use strict";e.exports=function(){for(var e=arguments.length,t=new Array(e);e--;)t[e]=arguments[e];return new this(t)}},function(e,t,n){"use strict";var r=n(45),i=n(105),o=n(1636);r({target:"Map",proto:!0,real:!0,forced:i},{deleteAll:function(){return o.apply(this,arguments)}})},function(e,t,n){"use strict";var r=n(94),i=n(142);e.exports=function(){for(var e,t=r(this),n=i(t.delete),o=!0,a=0,s=arguments.length;a<s;a++)e=n.call(t,arguments[a]),o=o&&e;return!!o}},function(e,t,n){"use strict";n(45)({target:"Map",proto:!0,real:!0,forced:n(105)},{emplace:n(1638)})},function(e,t,n){"use strict";var r=n(94);e.exports=function(e,t){var n=r(this),i=n.has(e)&&"update"in t?t.update(n.get(e),e,n):t.insert(e,n);return n.set(e,i),i}},function(e,t,n){"use strict";var r=n(45),i=n(105),o=n(94),a=n(166),s=n(221),c=n(134);r({target:"Map",proto:!0,real:!0,forced:i},{every:function(e){var t=o(this),n=s(t),r=a(e,arguments.length>1?arguments[1]:void 0,3);return!c(n,function(e,n,i){if(!r(n,e,t))return i()},{AS_ENTRIES:!0,IS_ITERATOR:!0,INTERRUPTED:!0}).stopped}})},function(e,t,n){"use strict";var r=n(45),i=n(105),o=n(173),a=n(94),s=n(142),c=n(166),u=n(406),l=n(221),d=n(134);r({target:"Map",proto:!0,real:!0,forced:i},{filter:function(e){var t=a(this),n=l(t),r=c(e,arguments.length>1?arguments[1]:void 0,3),i=new(u(t,o("Map"))),f=s(i.set);return d(n,function(e,n){r(n,e,t)&&f.call(i,e,n)},{AS_ENTRIES:!0,IS_ITERATOR:!0}),i}})},function(e,t,n){"use strict";var r=n(45),i=n(105),o=n(94),a=n(166),s=n(221),c=n(134);r({target:"Map",proto:!0,real:!0,forced:i},{find:function(e){var t=o(this),n=s(t),r=a(e,arguments.length>1?arguments[1]:void 0,3);return c(n,function(e,n,i){if(r(n,e,t))return i(n)},{AS_ENTRIES:!0,IS_ITERATOR:!0,INTERRUPTED:!0}).result}})},function(e,t,n){"use strict";var r=n(45),i=n(105),o=n(94),a=n(166),s=n(221),c=n(134);r({target:"Map",proto:!0,real:!0,forced:i},{findKey:function(e){var t=o(this),n=s(t),r=a(e,arguments.length>1?arguments[1]:void 0,3);return c(n,function(e,n,i){if(r(n,e,t))return i(e)},{AS_ENTRIES:!0,IS_ITERATOR:!0,INTERRUPTED:!0}).result}})},function(e,t,n){"use strict";var r=n(45),i=n(134),o=n(142);r({target:"Map",stat:!0},{groupBy:function(e,t){var n=new this;o(t);var r=o(n.has),a=o(n.get),s=o(n.set);return i(e,function(e){var i=t(e);r.call(n,i)?a.call(n,i).push(e):s.call(n,i,[e])}),n}})},function(e,t,n){"use strict";var r=n(45),i=n(105),o=n(94),a=n(221),s=n(1645),c=n(134);r({target:"Map",proto:!0,real:!0,forced:i},{includes:function(e){return c(a(o(this)),function(t,n,r){if(s(n,e))return r()},{AS_ENTRIES:!0,IS_ITERATOR:!0,INTERRUPTED:!0}).stopped}})},function(e,t){e.exports=function(e,t){return e===t||e!=e&&t!=t}},function(e,t,n){"use strict";var r=n(45),i=n(134),o=n(142);r({target:"Map",stat:!0},{keyBy:function(e,t){var n=new this;o(t);var r=o(n.set);return i(e,function(e){r.call(n,t(e),e)}),n}})},function(e,t,n){"use strict";var r=n(45),i=n(105),o=n(94),a=n(221),s=n(134);r({target:"Map",proto:!0,real:!0,forced:i},{keyOf:function(e){return s(a(o(this)),function(t,n,r){if(n===e)return r(t)},{AS_ENTRIES:!0,IS_ITERATOR:!0,INTERRUPTED:!0}).result}})},function(e,t,n){"use strict";var r=n(45),i=n(105),o=n(173),a=n(94),s=n(142),c=n(166),u=n(406),l=n(221),d=n(134);r({target:"Map",proto:!0,real:!0,forced:i},{mapKeys:function(e){var t=a(this),n=l(t),r=c(e,arguments.length>1?arguments[1]:void 0,3),i=new(u(t,o("Map"))),f=s(i.set);return d(n,function(e,n){f.call(i,r(n,e,t),n)},{AS_ENTRIES:!0,IS_ITERATOR:!0}),i}})},function(e,t,n){"use strict";var r=n(45),i=n(105),o=n(173),a=n(94),s=n(142),c=n(166),u=n(406),l=n(221),d=n(134);r({target:"Map",proto:!0,real:!0,forced:i},{mapValues:function(e){var t=a(this),n=l(t),r=c(e,arguments.length>1?arguments[1]:void 0,3),i=new(u(t,o("Map"))),f=s(i.set);return d(n,function(e,n){f.call(i,e,r(n,e,t))},{AS_ENTRIES:!0,IS_ITERATOR:!0}),i}})},function(e,t,n){"use strict";var r=n(45),i=n(105),o=n(94),a=n(142),s=n(134);r({target:"Map",proto:!0,real:!0,forced:i},{merge:function(e){for(var t=o(this),n=a(t.set),r=0;r<arguments.length;)s(arguments[r++],n,{that:t,AS_ENTRIES:!0});return t}})},function(e,t,n){"use strict";var r=n(45),i=n(105),o=n(94),a=n(142),s=n(221),c=n(134);r({target:"Map",proto:!0,real:!0,forced:i},{reduce:function(e){var t=o(this),n=s(t),r=arguments.length<2,i=r?void 0:arguments[1];if(a(e),c(n,function(n,o){r?(r=!1,i=o):i=e(i,o,n,t)},{AS_ENTRIES:!0,IS_ITERATOR:!0}),r)throw TypeError("Reduce of empty map with no initial value");return i}})},function(e,t,n){"use strict";var r=n(45),i=n(105),o=n(94),a=n(166),s=n(221),c=n(134);r({target:"Map",proto:!0,real:!0,forced:i},{some:function(e){var t=o(this),n=s(t),r=a(e,arguments.length>1?arguments[1]:void 0,3);return c(n,function(e,n,i){if(r(n,e,t))return i()},{AS_ENTRIES:!0,IS_ITERATOR:!0,INTERRUPTED:!0}).stopped}})},function(e,t,n){"use strict";var r=n(45),i=n(105),o=n(94),a=n(142);r({target:"Map",proto:!0,real:!0,forced:i},{update:function(e,t){var n=o(this),r=arguments.length;a(t);var i=n.has(e);if(!i&&r<3)throw TypeError("Updating absent value");var s=i?n.get(e):a(r>2?arguments[2]:void 0)(e,n);return n.set(e,t(s,e,n)),n}})},function(e,t,n){"use strict";n(45)({target:"Map",proto:!0,real:!0,forced:n(105)},{upsert:n(864)})},function(e,t,n){"use strict";n(45)({target:"Map",proto:!0,real:!0,forced:n(105)},{updateOrInsert:n(864)})},function(e,t,n){var r=n(1657);e.exports=r},function(e,t,n){n(330);var r=n(1658),i=n(329),o=Array.prototype,a={DOMTokenList:!0,NodeList:!0};e.exports=function(e){var t=e.values;return e===o||e instanceof Array&&t===o.values||a.hasOwnProperty(i(e))?r:t}},function(e,t,n){var r=n(1659);e.exports=r},function(e,t,n){n(451);var r=n(151);e.exports=r("Array").values},function(e,t){e.exports=function(e){return function(t){return-1!==e.indexOf(t)}}},function(e,t,n){var r=n(15),i=n(52),o=n(4),a=n(636),s=n(250),c=n(865),u=n(866),l=n(1662),d=n(1663);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)+" ]":c(e)?" { "+i(e).reduce(function(t,n){return o(t).call(t,[n+":"+f(e[n])])},[]).join(", ")+" }":u(e)?' "'+e+'"':l(e)||d(e)?" "+e.toString():" "+e;var t}e.exports=f},function(e,t,n){var r=n(256);
/** @license ISC License (c) copyright 2018 original and current authors */e.exports=function(e){return"symbol"===r(e)}},function(e,t){e.exports=
/** @license ISC License (c) copyright 2018 original and current authors */
function(e){return"[object Date]"===Object.prototype.toString.apply(e)&&!isNaN(e.valueOf())}},function(e,t,n){var r=n(4),i=n(15),o=n(41),a=n(868),s=n(636),c=n(1666),u=n(250),l=n(637),d=n(869),f=n(1671),h=function(e){return e},p=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)?y(n,g(function(e){return p([e])},o)):i(o).call(o,function(e){return p([e])}).ap(n)}}var v=function(e){return e.reduce(function(e,t){return e&&u(t)},!0)},g=function(e,t){return i(t).call(t,function(t){return e(t)})};function y(e,t){if(!t.length||!v(t))throw new TypeError("Array.ap: Second Array must all be functions");return t.reduce(function(t,n){return r(t).call(t,g(n,e))},[])}e.exports={ap:y,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(c(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(c(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:g,sequence:function(e,t){var n=f(e);return t.reduceRight(m("sequence",h),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))}}},function(e,t,n){
/** @license ISC License (c) copyright 2016 original and current authors */
var r=n(306);e.exports=function(e){return!!e&&r("map",e)}},function(e,t,n){var r=n(52),i=n(865),o=n(1667),a=n(1668),s=n(494);
/** @license ISC License (c) copyright 2016 original and current authors */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}},function(e,t,n){
/** @license ISC License (c) copyright 2016 original and current authors */
var r=n(306),i=n(869);e.exports=function(e){return i(e)&&(r("empty",e)||r("empty",e.constructor))}},function(e,t,n){var r=n(52),i=n(637),o=n(1670),a=n(306),s=n(870),c=n(494),u=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}};
/** @license ISC License (c) copyright 2017 original and current authors */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[c.equals]||t.equals).call(t,e):(l[s(e)]||u)(e,t))}e.exports=f},function(e,t,n){var r=n(4),i=n(250);
/** @license ISC License (c) copyright 2016 original and current authors */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,c=n.length?n:[void 0];if(c.length<t.length)return e(Function.bind.apply(t,r(s=[null]).call(s,c)));var u=c.length===t.length?t.apply(null,c):c.reduce(o,t);return i(u)?e(u):u}}},function(e,t){e.exports=
/** @license ISC License (c) copyright 2017 original and current authors */
function(e,t){return e===t?0!==e||1/e==1/t:e!=e&&t!=t}},function(e,t,n){
/** @license ISC License (c) copyright 2018 original and current authors */
var r=n(1672),i=n(1673);e.exports=function(e){return function(t){return r(e)?e.of(t):i(Array,e)?[t]:e(t)}}},function(e,t,n){
/** @license ISC License (c) copyright 2016 original and current authors */
var r=n(306),i=n(868);e.exports=function(e){return i(e)&&(r("of",e)||r("of",e.constructor))}},function(e,t,n){
/** @license ISC License (c) copyright 2018 original and current authors */
var r=n(250);e.exports=function(e,t){return r(t)&&(e===t||e.name===t.name)}},function(e,t){e.exports=
/** @license ISC License (c) copyright 2016 original and current authors */
function(e,t){return function(n){return e(t(n))}}},function(e,t){e.exports=
/** @license ISC License (c) copyright 2017 original and current authors */
function(e){var t,n;return function(){return t||(t=!0,n=e.apply(null,arguments)),n}}},function(e,t){
/** @license ISC License (c) copyright 2017 original and current authors */
e.exports=Function.prototype},function(e,t,n){
/** @license ISC License (c) copyright 2017 original and current authors */
var r=n(306);e.exports=function(e){return!!e&&r("reduce",e)}},function(e,t,n){
/** @license ISC License (c) copyright 2017 original and current authors */
var r=n(1679);e.exports=function(e){return r(e)&&isFinite(e)&&Math.floor(e)===e}},function(e,t){e.exports=
/** @license ISC License (c) copyright 2016 original and current authors */
function(e){return"number"==typeof e&&!isNaN(e)}},function(e,t,n){
/** @license ISC License (c) copyright 2017 original and current authors */
var r=n(250);e.exports=function(e){return!!e&&r(e.then)&&r(e.catch)}},function(e,t,n){"use strict";var r=n(183),i=n(871),o=n(1682),a=n(877);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 c=s(n(874));c.Axios=o,c.create=function(e){return s(a(c.defaults,e))},c.Cancel=n(878),c.CancelToken=n(1695),c.isCancel=n(873),c.all=function(e){return Promise.all(e)},c.spread=n(1696),e.exports=c,e.exports.default=c},function(e,t,n){"use strict";var r=n(183),i=n(872),o=n(1683),a=n(1684),s=n(877);function c(e){this.defaults=e,this.interceptors={request:new o,response:new o}}c.prototype.request=function(e){"string"==typeof e?(e=arguments[1]||{}).url=arguments[0]:e=e||{},(e=s(this.defaults,e)).method?e.method=e.method.toLowerCase():this.defaults.method?e.method=this.defaults.method.toLowerCase():e.method="get";var t=[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},c.prototype.getUri=function(e){return e=s(this.defaults,e),i(e.url,e.params,e.paramsSerializer).replace(/^\?/,"")},r.forEach(["delete","get","head","options"],function(e){c.prototype[e]=function(t,n){return this.request(r.merge(n||{},{method:e,url:t}))}}),r.forEach(["post","put","patch"],function(e){c.prototype[e]=function(t,n,i){return this.request(r.merge(i||{},{method:e,url:t,data:n}))}}),e.exports=c},function(e,t,n){"use strict";var r=n(183);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},function(e,t,n){"use strict";var r=n(183),i=n(1685),o=n(873),a=n(874);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)})}},function(e,t,n){"use strict";var r=n(183);e.exports=function(e,t,n){return r.forEach(n,function(n){e=n(e,t)}),e}},function(e,t,n){"use strict";var r=n(183);e.exports=function(e,t){r.forEach(e,function(n,r){r!==t&&r.toUpperCase()===t.toUpperCase()&&(e[t]=n,delete e[r])})}},function(e,t,n){"use strict";var r=n(876);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))}},function(e,t,n){"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}},function(e,t,n){"use strict";var r=n(1690),i=n(1691);e.exports=function(e,t){return e&&!r(t)?i(e,t):t}},function(e,t,n){"use strict";e.exports=function(e){return/^([a-z][a-z\d\+\-\.]*:)?\/\//i.test(e)}},function(e,t,n){"use strict";e.exports=function(e,t){return t?e.replace(/\/+$/,"")+"/"+t.replace(/^\/+/,""):e}},function(e,t,n){"use strict";var r=n(183),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}},function(e,t,n){"use strict";var r=n(183);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}},function(e,t,n){"use strict";var r=n(183);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(){}}},function(e,t,n){"use strict";var r=n(878);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},function(e,t,n){"use strict";e.exports=function(e){return function(t){return e.apply(null,t)}}},function(e,t,n){var r=n(1698),i=n(1702);e.exports=function(){if(0===arguments.length)throw new Error("compose requires at least one argument");return r.apply(this,i(arguments))}},function(e,t,n){var r=n(400),i=n(1699),o=n(572),a=n(1700);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)))}},function(e,t){e.exports=function(e,t){return function(){return t.call(this,e.apply(this,arguments))}}},function(e,t,n){var r=n(879),i=n(187)(r("tail",n(1701)(1,1/0)));e.exports=i},function(e,t,n){var r=n(879),i=n(399)(r("slice",function(e,t,n){return Array.prototype.slice.call(n,e,t)}));e.exports=i},function(e,t,n){var r=n(187),i=n(785),o=r(function(e){return i(e)?e.split("").reverse().join(""):Array.prototype.slice.call(e,0).reverse()});e.exports=o},function(e,t,n){var r=n(175)(function(e,t){return null!=t&&t.constructor===e||t instanceof e});e.exports=r},function(e,t,n){var r=n(399)(function(e,t,n){return e(n)?n:t(n)});e.exports=r},function(e,t,n){
/** @license ISC License (c) copyright 2017 original and current authors */
var r=n(1706),i=n(1707),o=n(882).type("Async"),a=n(882).typeFn(o(),5),s=n(495),c=n(1710),u=n(1720),l=n(1721),d=n(1722),f=n(638),h=n(1723),p=n(251),m=n(1724),v=n(1726),g=n(639),y=function(e){return e.reduce(function(e,t){return e&&g(_,t)},!0)},b=function(e){return _(function(t,n){return n(e)})};function _(e){var t;if(!p(e))throw new TypeError("Async: Function required");var n=b,r=function(){return"Async"+i(e)};function c(t,n,r){if(!p(t)||!p(n))throw new TypeError("Async.fork: Reject and resolve functions required");var i=!1,o=!1,a=p(r)?r:d,s=function(e,t){if(!o)return o=!0,i?d():e(t)},c=e(s.bind(null,t),s.bind(null,n)),u=p(c)?c:d;return l(function(){return a((u(),void(i=!0)))})}function f(e){return function(t){if(!p(t))throw new TypeError("Async."+e+": Function required");return _(function(e,n){return c(e,u(n,t))})}}function h(e){return function(t,n){if(!p(t)||!p(n))throw new TypeError("Async."+e+": Functions required for both arguments");return _(function(e,r){return c(u(e,t),u(r,n))})}}function m(e){return function(t){if(!g(_,t))throw new TypeError("Async."+e+": Async required");return _(function(e,n){var r=d,i=d;return r=c(function(){i=t.fork(e,n)},n),l(function(){return i(r())})})}}function v(e){return function(t){if(!p(t))throw new TypeError("Async."+e+": Async returning function required");return _(function(n,r){var i=d,o=d;return i=c(n,function(i){var a=t(i);if(!g(_,a))throw new TypeError("Async."+e+": Function must return another Async");o=a.fork(n,r)}),l(function(){return o(i())})})}}return(t={fork:c,toPromise:function(){return new Promise(function(e,t){c(t,e)})},inspect:r,toString:r,type:o,swap:function(e,t){if(!p(e)||!p(t))throw new TypeError("Async.swap: Functions required for both arguments");return _(function(n,r){return c(u(r,e),u(n,t))})},race:function(e){if(!g(_,e))throw new TypeError("Async.race: Async required");return _(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=c(o,i),s=e.fork(o,i);return function(){a(),s()}})},coalesce:function(e,t){if(!p(e)||!p(t))throw new TypeError("Async.coalesce: Functions required for both arguments");return _(function(n,r){return c(u(r,e),u(r,t))})},ap:function(e){if(!g(_,e))throw new TypeError("Async.ap: Async required");return _(function(t,n){var r=null,i=null,o=!1,a=!1,s=!1,d=l(t);function f(){!s&&o&&a&&u(n,r)(i)}var h=c(d,function(e){if(!p(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(){h(),m(),s=!0}})},of:n,alt:m("alt"),bimap:h("bimap"),map:f("map"),chain:v("chain"),bichain:function(e,t){var n="Async.bichain: Both arguments must be Async returning functions";if(!p(e)||!p(t))throw new TypeError(n);return _(function(r,i){var o=d,a=d;function s(e){return function(t){var o=e(t);if(!g(_,o))throw new TypeError(n);a=o.fork(r,i)}}return o=c(s(e),s(t)),l(function(){return a(o())})})}})[s.of]=n,t[s.alt]=m(s.alt),t[s.bimap]=h(s.bimap),t[s.map]=f(s.map),t[s.chain]=v(s.chain),t["@@type"]=a,t.constructor=_,t}_.of=b,_.type=o,_[s.of]=b,_["@@type"]=a,_.Rejected=function(e){return _(function(t){return t(e)})},_.Resolved=b,_.fromPromise=function(e){if(!p(e))throw new TypeError("Async.fromPromise: Promise returning function required");return function(){var t=arguments;return _(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)})}},_.fromNode=function(e,t){if(!p(e))throw new TypeError("Async.fromNode: CPS function required");return function(){for(var n=[],r=arguments.length;r--;)n[r]=arguments[r];return _(function(r,i){e.apply(t,n.concat(function(e,t){return e?r(e):i(t)}))})}},_.all=function(e){if(!h(e)||!y(e))throw new TypeError("Async.all: Foldable structure of Asyncs required");return f(e)?c.sequence(_.of,e):e.sequence(_.of)},_.rejectAfter=function(e,t){if(!(m(e)&&e>=0))throw new TypeError("Async.rejectAfter: Positive Integer required for first argument");return _(function(n){var r=setTimeout(function(){n(t)},e);return function(){clearTimeout(r)}})},_.resolveAfter=function(e,t){if(!(m(e)&&e>=0))throw new TypeError("Async.resolveAfter: Positive Integer required for first argument");return _(function(n,r){var i=setTimeout(function(){r(t)},e);return function(){clearTimeout(i)}})},_["@@implements"]=r(["alt","ap","bimap","chain","map","of"]),e.exports=_},function(e,t){e.exports=function(e){return function(t){return-1!==e.indexOf(t)}}},function(e,t,n){
/** @license ISC License (c) copyright 2016 original and current authors */
var r=n(638),i=n(251),o=n(880),a=n(881),s=n(1708),c=n(1709);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)||c(e)?" "+e.toString():" "+e;var t}e.exports=u},function(e,t){e.exports=
/** @license ISC License (c) copyright 2018 original and current authors */
function(e){return"symbol"==typeof e}},function(e,t){e.exports=
/** @license ISC License (c) copyright 2018 original and current authors */
function(e){return"[object Date]"===Object.prototype.toString.apply(e)&&!isNaN(e.valueOf())}},function(e,t,n){
/** @license ISC License (c) copyright 2017 original and current authors */
var r=n(883),i=n(638),o=n(1712),a=n(251),s=n(639),c=n(884),u=n(1717),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)?m(n,p(function(e){return d([e])},a)):a.map(function(e){return d([e])}).ap(n)}}var h=function(e){return e.reduce(function(e,t){return e&&a(t)},!0)},p=function(e,t){return t.map(function(t){return e(t)})};function m(e,t){if(!t.length||!h(t))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:m,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(!c(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(!c(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)||!c(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=u(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=u(e);return n.reduceRight(f("traverse",t),r([]))},unset:function(e,t){return t.slice(0,e).concat(t.slice(e+1))}}},function(e,t,n){
/** @license ISC License (c) copyright 2016 original and current authors */
var r=n(307);e.exports=function(e){return!!e&&r("map",e)}},function(e,t,n){
/** @license ISC License (c) copyright 2016 original and current authors */
var r=n(880),i=n(1713),o=n(1714),a=n(495);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}},function(e,t,n){
/** @license ISC License (c) copyright 2016 original and current authors */
var r=n(307),i=n(884);e.exports=function(e){return i(e)&&(r("empty",e)||r("empty",e.constructor))}},function(e,t,n){
/** @license ISC License (c) copyright 2017 original and current authors */
var r=n(639),i=n(1716),o=n(307),a=n(885),s=n(495),c=function(e,t){return e.valueOf()===t.valueOf()},u={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):(u[a(e)]||c)(e,t))}e.exports=d},function(e,t,n){
/** @license ISC License (c) copyright 2016 original and current authors */
var r=n(251);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}}},function(e,t){e.exports=
/** @license ISC License (c) copyright 2017 original and current authors */
function(e,t){return e===t?0!==e||1/e==1/t:e!=e&&t!=t}},function(e,t,n){
/** @license ISC License (c) copyright 2018 original and current authors */
var r=n(1718),i=n(1719);e.exports=function(e){return function(t){return r(e)?e.of(t):i(Array,e)?[t]:e(t)}}},function(e,t,n){
/** @license ISC License (c) copyright 2016 original and current authors */
var r=n(307),i=n(883);e.exports=function(e){return i(e)&&(r("of",e)||r("of",e.constructor))}},function(e,t,n){
/** @license ISC License (c) copyright 2018 original and current authors */
var r=n(251);e.exports=function(e,t){return r(t)&&(e===t||e.name===t.name)}},function(e,t){e.exports=
/** @license ISC License (c) copyright 2016 original and current authors */
function(e,t){return function(n){return e(t(n))}}},function(e,t){e.exports=
/** @license ISC License (c) copyright 2017 original and current authors */
function(e){var t,n;return function(){return t||(t=!0,n=e.apply(null,arguments)),n}}},function(e,t){
/** @license ISC License (c) copyright 2017 original and current authors */
e.exports=Function.prototype},function(e,t,n){
/** @license ISC License (c) copyright 2017 original and current authors */
var r=n(307);e.exports=function(e){return!!e&&r("reduce",e)}},function(e,t,n){
/** @license ISC License (c) copyright 2017 original and current authors */
var r=n(1725);e.exports=function(e){return r(e)&&isFinite(e)&&Math.floor(e)===e}},function(e,t){e.exports=
/** @license ISC License (c) copyright 2016 original and current authors */
function(e){return"number"==typeof e&&!isNaN(e)}},function(e,t,n){
/** @license ISC License (c) copyright 2017 original and current authors */
var r=n(251);e.exports=function(e){return!!e&&r(e.then)&&r(e.catch)}},function(e,t){var n=9007199254740991,r="[object Arguments]",i="[object Function]",o="[object GeneratorFunction]",a=/^(?:0|[1-9]\d*)$/;var s,c,u=Object.prototype,l=u.hasOwnProperty,d=u.toString,f=u.propertyIsEnumerable,h=(s=Object.keys,c=Object,function(e){return s(c(e))}),p=Math.max,m=!f.call({valueOf:1},"valueOf");function v(e,t){var n=w(e)||function(e){return function(e){return function(e){return!!e&&"object"==typeof e}(e)&&x(e)}(e)&&l.call(e,"callee")&&(!f.call(e,"callee")||d.call(e)==r)}(e)?function(e,t){for(var n=-1,r=Array(e);++n<e;)r[n]=t(n);return r}(e.length,String):[],i=n.length,o=!!i;for(var a in e)!t&&!l.call(e,a)||o&&("length"==a||y(a,i))||n.push(a);return n}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,t){return!!(t=null==t?n:t)&&("number"==typeof e||a.test(e))&&e>-1&&e%1==0&&e<t}function b(e){var t=e&&e.constructor;return e===("function"==typeof t&&t.prototype||u)}function _(e,t){return e===t||e!=e&&t!=t}var w=Array.isArray;function x(e){return null!=e&&function(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=n}(e.length)&&!function(e){var t=k(e)?d.call(e):"";return t==i||t==o}(e)}function k(e){var t=typeof e;return!!e&&("object"==t||"function"==t)}var E=function(e){return t=function(t,n){var r=-1,i=n.length,o=i>1?n[i-1]:void 0,a=i>2?n[2]:void 0;for(o=e.length>3&&"function"==typeof o?(i--,o):void 0,a&&function(e,t,n){if(!k(n))return!1;var r=typeof t;return!!("number"==r?x(n)&&y(t,n.length):"string"==r&&t in n)&&_(n[t],e)}(n[0],n[1],a)&&(o=i<3?void 0:o,i=1),t=Object(t);++r<i;){var s=n[r];s&&e(t,s,r,o)}return t},n=p(void 0===n?t.length-1:n,0),function(){for(var e=arguments,r=-1,i=p(e.length-n,0),o=Array(i);++r<i;)o[r]=e[n+r];r=-1;for(var a=Array(n+1);++r<n;)a[r]=e[r];return a[n]=o,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)}(t,this,a)};var t,n}(function(e,t){if(m||b(t)||x(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 x(e)?v(e):function(e){if(!b(e))return h(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])});e.exports=E},function(e,t){e.exports=Array.isArray||function(e){return"[object Array]"==Object.prototype.toString.call(e)}},function(e,t,n){(function(e,r){var i;/*! https://mths.be/punycode v1.4.1 by @mathias */!function(o){t&&t.nodeType,e&&e.nodeType;var a="object"==typeof r&&r;a.global!==a&&a.window!==a&&a.self;var s,c=2147483647,u=36,l=1,d=26,f=38,h=700,p=72,m=128,v="-",g=/^xn--/,y=/[^\x20-\x7E]/,b=/[\x2E\u3002\uFF0E\uFF61]/g,_={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},w=u-l,x=Math.floor,k=String.fromCharCode;function E(e){throw new RangeError(_[e])}function S(e,t){for(var n=e.length,r=[];n--;)r[n]=t(e[n]);return r}function T(e,t){var n=e.split("@"),r="";return n.length>1&&(r=n[0]+"@",e=n[1]),r+S((e=e.replace(b,".")).split("."),t).join(".")}function C(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 O(e){return S(e,function(e){var t="";return e>65535&&(t+=k((e-=65536)>>>10&1023|55296),e=56320|1023&e),t+=k(e)}).join("")}function j(e,t){return e+22+75*(e<26)-((0!=t)<<5)}function A(e,t,n){var r=0;for(e=n?x(e/h):e>>1,e+=x(e/t);e>w*d>>1;r+=u)e=x(e/w);return x(r+(w+1)*e/(e+f))}function P(e){var t,n,r,i,o,a,s,f,h,g,y,b=[],_=e.length,w=0,k=m,S=p;for((n=e.lastIndexOf(v))<0&&(n=0),r=0;r<n;++r)e.charCodeAt(r)>=128&&E("not-basic"),b.push(e.charCodeAt(r));for(i=n>0?n+1:0;i<_;){for(o=w,a=1,s=u;i>=_&&E("invalid-input"),((f=(y=e.charCodeAt(i++))-48<10?y-22:y-65<26?y-65:y-97<26?y-97:u)>=u||f>x((c-w)/a))&&E("overflow"),w+=f*a,!(f<(h=s<=S?l:s>=S+d?d:s-S));s+=u)a>x(c/(g=u-h))&&E("overflow"),a*=g;S=A(w-o,t=b.length+1,0==o),x(w/t)>c-k&&E("overflow"),k+=x(w/t),w%=t,b.splice(w++,0,k)}return O(b)}function M(e){var t,n,r,i,o,a,s,f,h,g,y,b,_,w,S,T=[];for(b=(e=C(e)).length,t=m,n=0,o=p,a=0;a<b;++a)(y=e[a])<128&&T.push(k(y));for(r=i=T.length,i&&T.push(v);r<b;){for(s=c,a=0;a<b;++a)(y=e[a])>=t&&y<s&&(s=y);for(s-t>x((c-n)/(_=r+1))&&E("overflow"),n+=(s-t)*_,t=s,a=0;a<b;++a)if((y=e[a])<t&&++n>c&&E("overflow"),y==t){for(f=n,h=u;!(f<(g=h<=o?l:h>=o+d?d:h-o));h+=u)S=f-g,w=u-g,T.push(k(j(g+S%w,0))),f=x(S/w);T.push(k(j(f,0))),o=A(n,_,r==i),n=0,++r}++n,++t}return T.join("")}s={version:"1.4.1",ucs2:{decode:C,encode:O},decode:P,encode:M,toASCII:function(e){return T(e,function(e){return y.test(e)?"xn--"+M(e):e})},toUnicode:function(e){return T(e,function(e){return g.test(e)?P(e.slice(4).toLowerCase()):e})}},void 0===(i=function(){return s}.call(t,n,t,e))||(e.exports=i)}()}).call(this,n(249)(e),n(96))},function(e,t,n){"use strict";e.exports={isString:function(e){return"string"==typeof e},isObject:function(e){return"object"==typeof e&&null!==e},isNull:function(e){return null===e},isNullOrUndefined:function(e){return null==e}}},function(e,t,n){"use strict";t.decode=t.parse=n(1732),t.encode=t.stringify=n(1733)},function(e,t,n){"use strict";function r(e,t){return Object.prototype.hasOwnProperty.call(e,t)}e.exports=function(e,t,n,o){t=t||"&",n=n||"=";var a={};if("string"!=typeof e||0===e.length)return a;var s=/\+/g;e=e.split(t);var c=1e3;o&&"number"==typeof o.maxKeys&&(c=o.maxKeys);var u=e.length;c>0&&u>c&&(u=c);for(var l=0;l<u;++l){var d,f,h,p,m=e[l].replace(s,"%20"),v=m.indexOf(n);v>=0?(d=m.substr(0,v),f=m.substr(v+1)):(d=m,f=""),h=decodeURIComponent(d),p=decodeURIComponent(f),r(a,h)?i(a[h])?a[h].push(p):a[h]=[a[h],p]:a[h]=p}return a};var i=Array.isArray||function(e){return"[object Array]"===Object.prototype.toString.call(e)}},function(e,t,n){"use strict";var r=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,t,n,s){return t=t||"&",n=n||"=",null===e&&(e=void 0),"object"==typeof e?o(a(e),function(a){var s=encodeURIComponent(r(a))+n;return i(e[a])?o(e[a],function(e){return s+encodeURIComponent(r(e))}).join(t):s+encodeURIComponent(r(e[a]))}).join(t):s?encodeURIComponent(r(s))+n+encodeURIComponent(r(e)):""};var i=Array.isArray||function(e){return"[object Array]"===Object.prototype.toString.call(e)};function o(e,t){if(e.map)return e.map(t);for(var n=[],r=0;r<e.length;r++)n.push(t(e[r],r));return n}var a=Object.keys||function(e){var t=[];for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.push(n);return t}},function(e,t,n){var r=n(1735);e.exports=r},function(e,t,n){n(1736);var r=n(104);e.exports=r.Number.isNaN},function(e,t,n){n(45)({target:"Number",stat:!0},{isNaN:function(e){return e!=e}})},function(e,t,n){var r=n(1738);e.exports=r},function(e,t,n){var r=n(1739),i=String.prototype;e.exports=function(e){var t=e.padStart;return"string"==typeof e||e===i||e instanceof String&&t===i.padStart?r:t}},function(e,t,n){n(1740);var r=n(151);e.exports=r("String").padStart},function(e,t,n){"use strict";var r=n(45),i=n(1741).start;r({target:"String",proto:!0,forced:n(1743)},{padStart:function(e){return i(this,e,arguments.length>1?arguments[1]:void 0)}})},function(e,t,n){var r=n(216),i=n(1742),o=n(248),a=Math.ceil,s=function(e){return function(t,n,s){var c,u,l=String(o(t)),d=l.length,f=void 0===s?" ":String(s),h=r(n);return h<=d||""==f?l:(c=h-d,(u=i.call(f,a(c/f.length))).length>c&&(u=u.slice(0,c)),e?l+u:u+l)}};e.exports={start:s(!1),end:s(!0)}},function(e,t,n){"use strict";var r=n(467),i=n(248);e.exports=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}},function(e,t,n){var r=n(377);e.exports=/Version\/10(?:\.\d+){1,2}(?: [\w./]+)?(?: Mobile\/\w+)? Safari\//.test(r)},function(e,t,n){"use strict";function r(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")}()}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=function(){var e=(arguments.length>0&&void 0!==arguments[0]?arguments[0]:"").replace(/^#/,""),t=e.length;return 3===t||4===t?function(e){return r(e).map(function(e){return e+e}).join("")}(e):e};t.default=i},function(e,t,n){
/** @license ISC License (c) copyright 2016 original and current authors */
var r=n(217),i=n(452);e.exports=function(e){return i(e)&&r("chain",e)}},function(e,t,n){var r=n(497);e.exports=r(function(e,t){return{type:e,payload:t}})},function(e,t){e.exports=
/** @license ISC License (c) copyright 2016 original and current authors */
function(e){return Array.prototype.slice.call(e)}},function(e,t,n){var r=n(497);e.exports=r(function(e,t){return[t,e]})},function(e,t,n){var r=n(497);e.exports=r(function(e,t){return{type:e,payload:t,error:!0}})},function(e,t,n){var r=n(497);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}})},function(e,t){e.exports=function(e,t,n){return n&&console.error(t),e}},function(e,t){e.exports=function(e){return function(t,n,r){return r?t:e(t,n)}}},function(e,t,n){var r=n(1754),i=n(1756);e.exports=function(e){return i(e).map(r({type:"SIDE_EFFECT"}))}},function(e,t,n){
/** @license ISC License (c) copyright 2016 original and current authors */
var r=n(640);e.exports=r(n(1755))},function(e,t){e.exports=function(e){return function(){return e}}},function(e,t,n){
/** @license ISC License (c) copyright 2016 original and current authors */
var r=n(1757),i=n(1758),o=n(1761).type("IO"),a=n(1762),s=n(411),c=n(1763),u=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(!c(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(!c(l,e))throw new TypeError("IO.ap: IO required");return t(function(t){return e.map(t)})},of:u,chain:t}}l.of=u,l.type=o,l["@@implements"]=r(["ap","chain","map","of"]),e.exports=l},function(e,t){e.exports=function(e){return function(t){return-1!==e.indexOf(t)}}},function(e,t,n){
/** @license ISC License (c) copyright 2016 original and current authors */
var r=n(886),i=n(411),o=n(1759),a=n(1760);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},function(e,t){e.exports=
/** @license ISC License (c) copyright 2016 original and current authors */
function(e){return!!e&&e.toString&&"[object Object]"===e.toString()}},function(e,t){e.exports=
/** @license ISC License (c) copyright 2016 original and current authors */
function(e){return"string"==typeof e}},function(e,t){
/** @license ISC License (c) copyright 2017 original and current authors */
var n={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"}},r=function(e){return n[e]||n.unk};e.exports={proxy:function(e){return{type:r(e)}},type:r}},function(e,t){e.exports=
/** @license ISC License (c) copyright 2016 original and current authors */
function(e,t){return function(n){return e(t(n))}}},function(e,t,n){
/** @license ISC License (c) copyright 2016 original and current authors */
var r=n(640),i=n(886),o=n(411),a=n(1764);function s(e){return!!e&&o(e.type)}function c(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)||c(e)===c(t)})},function(e,t){e.exports=
/** @license ISC License (c) copyright 2017 original and current authors */
function(e){return null==e||Number.isNaN(e)}},function(e,t,n){
/** @license ISC License (c) copyright 2017 original and current authors */
var r=n(217),i=n(628);e.exports=function(e){return i(e)&&r("bimap",e)}},function(e,t,n){},function(e,t,n){var r=n(887),i=n(901),o=n(503);e.exports=function(e){return function(t,n,a){var s=Object(t);if(!i(t)){var c=r(n,3);t=o(t),n=function(e){return c(s[e],e,s)}}var u=e(t,n,a);return u>-1?s[c?t[u]:u]:void 0}}},function(e,t,n){var r=n(1769),i=n(1829),o=n(903);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)}}},function(e,t,n){var r=n(888),i=n(893),o=1,a=2;e.exports=function(e,t,n,s){var c=n.length,u=c,l=!s;if(null==e)return!u;for(e=Object(e);c--;){var d=n[c];if(l&&d[2]?d[1]!==e[d[0]]:!(d[0]in e))return!1}for(;++c<u;){var f=(d=n[c])[0],h=e[f],p=d[1];if(l&&d[2]){if(void 0===h&&!(f in e))return!1}else{var m=new r;if(s)var v=s(h,p,f,e,t,m);if(!(void 0===v?i(p,h,o|a,s,m):v))return!1}}return!0}},function(e,t){e.exports=function(){this.__data__=[],this.size=0}},function(e,t,n){var r=n(499),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))}},function(e,t,n){var r=n(499);e.exports=function(e){var t=this.__data__,n=r(t,e);return n<0?void 0:t[n][1]}},function(e,t,n){var r=n(499);e.exports=function(e){return r(this.__data__,e)>-1}},function(e,t,n){var r=n(499);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}},function(e,t,n){var r=n(498);e.exports=function(){this.__data__=new r,this.size=0}},function(e,t){e.exports=function(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n}},function(e,t){e.exports=function(e){return this.__data__.get(e)}},function(e,t){e.exports=function(e){return this.__data__.has(e)}},function(e,t,n){var r=n(498),i=n(641),o=n(642),a=200;e.exports=function(e,t){var n=this.__data__;if(n instanceof r){var s=n.__data__;if(!i||s.length<a-1)return s.push([e,t]),this.size=++n.size,this;n=this.__data__=new o(s)}return n.set(e,t),this.size=n.size,this}},function(e,t,n){var r=n(890),i=n(1783),o=n(308),a=n(892),s=/^\[object .+?Constructor\]$/,c=Function.prototype,u=Object.prototype,l=c.toString,d=u.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))}},function(e,t,n){var r=n(500),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}},function(e,t){var n=Object.prototype.toString;e.exports=function(e){return n.call(e)}},function(e,t,n){var r,i=n(1784),o=(r=/[^.]+$/.exec(i&&i.keys&&i.keys.IE_PROTO||""))?"Symbol(src)_1."+r:"";e.exports=function(e){return!!o&&o in e}},function(e,t,n){var r=n(222)["__core-js_shared__"];e.exports=r},function(e,t){e.exports=function(e,t){return null==e?void 0:e[t]}},function(e,t,n){var r=n(1787),i=n(498),o=n(641);e.exports=function(){this.size=0,this.__data__={hash:new r,map:new(o||i),string:new r}}},function(e,t,n){var r=n(1788),i=n(1789),o=n(1790),a=n(1791),s=n(1792);function c(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])}}c.prototype.clear=r,c.prototype.delete=i,c.prototype.get=o,c.prototype.has=a,c.prototype.set=s,e.exports=c},function(e,t,n){var r=n(501);e.exports=function(){this.__data__=r?r(null):{},this.size=0}},function(e,t){e.exports=function(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t}},function(e,t,n){var r=n(501),i="__lodash_hash_undefined__",o=Object.prototype.hasOwnProperty;e.exports=function(e){var t=this.__data__;if(r){var n=t[e];return n===i?void 0:n}return o.call(t,e)?t[e]:void 0}},function(e,t,n){var r=n(501),i=Object.prototype.hasOwnProperty;e.exports=function(e){var t=this.__data__;return r?void 0!==t[e]:i.call(t,e)}},function(e,t,n){var r=n(501),i="__lodash_hash_undefined__";e.exports=function(e,t){var n=this.__data__;return this.size+=this.has(e)?0:1,n[e]=r&&void 0===t?i:t,this}},function(e,t,n){var r=n(502);e.exports=function(e){var t=r(this,e).delete(e);return this.size-=t?1:0,t}},function(e,t){e.exports=function(e){var t=typeof e;return"string"==t||"number"==t||"symbol"==t||"boolean"==t?"__proto__"!==e:null===e}},function(e,t,n){var r=n(502);e.exports=function(e){return r(this,e).get(e)}},function(e,t,n){var r=n(502);e.exports=function(e){return r(this,e).has(e)}},function(e,t,n){var r=n(502);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}},function(e,t,n){var r=n(888),i=n(894),o=n(1804),a=n(1808),s=n(1824),c=n(252),u=n(896),l=n(898),d=1,f="[object Arguments]",h="[object Array]",p="[object Object]",m=Object.prototype.hasOwnProperty;e.exports=function(e,t,n,v,g,y){var b=c(e),_=c(t),w=b?h:s(e),x=_?h:s(t),k=(w=w==f?p:w)==p,E=(x=x==f?p:x)==p,S=w==x;if(S&&u(e)){if(!u(t))return!1;b=!0,k=!1}if(S&&!k)return y||(y=new r),b||l(e)?i(e,t,n,v,g,y):o(e,t,w,n,v,g,y);if(!(n&d)){var T=k&&m.call(e,"__wrapped__"),C=E&&m.call(t,"__wrapped__");if(T||C){var O=T?e.value():e,j=C?t.value():t;return y||(y=new r),g(O,j,n,v,y)}}return!!S&&(y||(y=new r),a(e,t,n,v,g,y))}},function(e,t,n){var r=n(642),i=n(1800),o=n(1801);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},function(e,t){var n="__lodash_hash_undefined__";e.exports=function(e){return this.__data__.set(e,n),this}},function(e,t){e.exports=function(e){return this.__data__.has(e)}},function(e,t){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}},function(e,t){e.exports=function(e,t){return e.has(t)}},function(e,t,n){var r=n(500),i=n(1805),o=n(889),a=n(894),s=n(1806),c=n(1807),u=1,l=2,d="[object Boolean]",f="[object Date]",h="[object Error]",p="[object Map]",m="[object Number]",v="[object RegExp]",g="[object Set]",y="[object String]",b="[object Symbol]",_="[object ArrayBuffer]",w="[object DataView]",x=r?r.prototype:void 0,k=x?x.valueOf:void 0;e.exports=function(e,t,n,r,x,E,S){switch(n){case w:if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)return!1;e=e.buffer,t=t.buffer;case _:return!(e.byteLength!=t.byteLength||!E(new i(e),new i(t)));case d:case f:case m:return o(+e,+t);case h:return e.name==t.name&&e.message==t.message;case v:case y:return e==t+"";case p:var T=s;case g:var C=r&u;if(T||(T=c),e.size!=t.size&&!C)return!1;var O=S.get(e);if(O)return O==t;r|=l,S.set(e,t);var j=a(T(e),T(t),r,x,E,S);return S.delete(e),j;case b:if(k)return k.call(e)==k.call(t)}return!1}},function(e,t,n){var r=n(222).Uint8Array;e.exports=r},function(e,t){e.exports=function(e){var t=-1,n=Array(e.size);return e.forEach(function(e,r){n[++t]=[r,e]}),n}},function(e,t){e.exports=function(e){var t=-1,n=Array(e.size);return e.forEach(function(e){n[++t]=e}),n}},function(e,t,n){var r=n(1809),i=1,o=Object.prototype.hasOwnProperty;e.exports=function(e,t,n,a,s,c){var u=n&i,l=r(e),d=l.length;if(d!=r(t).length&&!u)return!1;for(var f=d;f--;){var h=l[f];if(!(u?h in t:o.call(t,h)))return!1}var p=c.get(e);if(p&&c.get(t))return p==t;var m=!0;c.set(e,t),c.set(t,e);for(var v=u;++f<d;){var g=e[h=l[f]],y=t[h];if(a)var b=u?a(y,g,h,t,e,c):a(g,y,h,e,t,c);if(!(void 0===b?g===y||s(g,y,n,a,c):b)){m=!1;break}v||(v="constructor"==h)}if(m&&!v){var _=e.constructor,w=t.constructor;_!=w&&"constructor"in e&&"constructor"in t&&!("function"==typeof _&&_ instanceof _&&"function"==typeof w&&w instanceof w)&&(m=!1)}return c.delete(e),c.delete(t),m}},function(e,t,n){var r=n(1810),i=n(1812),o=n(503);e.exports=function(e){return r(e,o,i)}},function(e,t,n){var r=n(1811),i=n(252);e.exports=function(e,t,n){var o=t(e);return i(e)?o:r(o,n(e))}},function(e,t){e.exports=function(e,t){for(var n=-1,r=t.length,i=e.length;++n<r;)e[i+n]=t[n];return e}},function(e,t,n){var r=n(1813),i=n(1814),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},function(e,t){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}},function(e,t){e.exports=function(){return[]}},function(e,t,n){var r=n(1816),i=n(895),o=n(252),a=n(896),s=n(897),c=n(898),u=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&&c(e),h=n||l||d||f,p=h?r(e.length,String):[],m=p.length;for(var v in e)!t&&!u.call(e,v)||h&&("length"==v||d&&("offset"==v||"parent"==v)||f&&("buffer"==v||"byteLength"==v||"byteOffset"==v)||s(v,m))||p.push(v);return p}},function(e,t){e.exports=function(e,t){for(var n=-1,r=Array(e);++n<e;)r[n]=t(n);return r}},function(e,t,n){var r=n(338),i=n(339),o="[object Arguments]";e.exports=function(e){return i(e)&&r(e)==o}},function(e,t){e.exports=function(){return!1}},function(e,t,n){var r=n(338),i=n(643),o=n(339),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)]}},function(e,t,n){var r=n(1821),i=n(1822),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}},function(e,t){var n=Object.prototype;e.exports=function(e){var t=e&&e.constructor;return e===("function"==typeof t&&t.prototype||n)}},function(e,t,n){var r=n(1823)(Object.keys,Object);e.exports=r},function(e,t){e.exports=function(e,t){return function(n){return e(t(n))}}},function(e,t,n){var r=n(1825),i=n(641),o=n(1826),a=n(1827),s=n(1828),c=n(338),u=n(892),l=u(r),d=u(i),f=u(o),h=u(a),p=u(s),m=c;(r&&"[object DataView]"!=m(new r(new ArrayBuffer(1)))||i&&"[object Map]"!=m(new i)||o&&"[object Promise]"!=m(o.resolve())||a&&"[object Set]"!=m(new a)||s&&"[object WeakMap]"!=m(new s))&&(m=function(e){var t=c(e),n="[object Object]"==t?e.constructor:void 0,r=n?u(n):"";if(r)switch(r){case l:return"[object DataView]";case d:return"[object Map]";case f:return"[object Promise]";case h:return"[object Set]";case p:return"[object WeakMap]"}return t}),e.exports=m},function(e,t,n){var r=n(337)(n(222),"DataView");e.exports=r},function(e,t,n){var r=n(337)(n(222),"Promise");e.exports=r},function(e,t,n){var r=n(337)(n(222),"Set");e.exports=r},function(e,t,n){var r=n(337)(n(222),"WeakMap");e.exports=r},function(e,t,n){var r=n(902),i=n(503);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}},function(e,t,n){var r=n(893),i=n(75),o=n(1834),a=n(644),s=n(902),c=n(903),u=n(505),l=1,d=2;e.exports=function(e,t){return a(e)&&s(t)?c(u(e),t):function(n){var a=i(n,e);return void 0===a&&a===t?o(n,e):r(t,a,l|d)}}},function(e,t,n){var r=n(1832),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},function(e,t,n){var r=n(1833),i=500;e.exports=function(e){var t=r(e,function(e){return n.size===i&&n.clear(),e}),n=t.cache;return t}},function(e,t,n){var r=n(642),i="Expected a function";function o(e,t){if("function"!=typeof e||null!=t&&"function"!=typeof t)throw new TypeError(i);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(o.Cache||r),n}o.Cache=r,e.exports=o},function(e,t,n){var r=n(1835),i=n(1836);e.exports=function(e,t){return null!=e&&i(e,t,r)}},function(e,t){e.exports=function(e,t){return null!=e&&t in Object(e)}},function(e,t,n){var r=n(905),i=n(895),o=n(252),a=n(897),s=n(643),c=n(505);e.exports=function(e,t,n){for(var u=-1,l=(t=r(t,e)).length,d=!1;++u<l;){var f=c(t[u]);if(!(d=null!=e&&n(e,f)))break;e=e[f]}return d||++u!=l?d:!!(l=null==e?0:e.length)&&s(l)&&a(f,l)&&(o(e)||i(e))}},function(e,t){e.exports=function(e){return e}},function(e,t,n){var r=n(908),i=n(1839),o=n(644),a=n(505);e.exports=function(e){return o(e)?r(a(e)):i(e)}},function(e,t,n){var r=n(904);e.exports=function(e){return function(t){return r(t,e)}}},function(e,t,n){var r=n(1841),i=n(887),o=n(909),a=Math.max;e.exports=function(e,t,n){var s=null==e?0:e.length;if(!s)return-1;var c=null==n?0:o(n);return c<0&&(c=a(s+c,0)),r(e,i(t,3),c)}},function(e,t){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}},function(e,t,n){var r=n(910),i=1/0,o=1.7976931348623157e308;e.exports=function(e){return e?(e=r(e))===i||e===-i?(e<0?-1:1)*o:e==e?e:0:0===e?e:0}},function(e,t,n){var r=n(1844);e.exports=r},function(e,t,n){var r=n(1845),i=String.prototype;e.exports=function(e){var t=e.endsWith;return"string"==typeof e||e===i||e instanceof String&&t===i.endsWith?r:t}},function(e,t,n){n(1846);var r=n(151);e.exports=r("String").endsWith},function(e,t,n){"use strict";var r,i=n(45),o=n(275).f,a=n(216),s=n(590),c=n(248),u=n(594),l=n(105),d="".endsWith,f=Math.min,h=u("endsWith");i({target:"String",proto:!0,forced:!!(l||h||(r=o(String.prototype,"endsWith"),!r||r.writable))&&!h},{endsWith:function(e){var t=String(c(this));s(e);var n=arguments.length>1?arguments[1]:void 0,r=a(t.length),i=void 0===n?r:f(a(n),r),o=String(e);return d?d.call(t,o,i):t.slice(i-o.length,i)===o}})},function(e,t,n){},function(e,t,n){},function(e,t,n){},function(e,t,n){},function(e,t,n){},function(e,t,n){var r=n(175),i=n(480),o=n(911),a=r(function(e,t){return i(o(e),t)});e.exports=a},function(e,t,n){var r=n(175)(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},function(e,t,n){var r=n(175)(function(e,t){var n={};for(var r in t)n[r]=t[r];return delete n[e],n});e.exports=r},function(e,t,n){var r=n(175)(function(e,t){return e in t});e.exports=r},function(e,t,n){var r=n(399)(function(e,t,n){return e(n)?t(n):n});e.exports=r},function(e,t,n){
/** @license ISC License (c) copyright 2016 original and current authors */
var r=n(282),i=function(e){return function(t,n){return t.concat(e(n))}};e.exports=function(e,t,n){return n.reduce(i(r(e,t)),e.empty())}},function(e,t,n){},function(e,t){},function(e,t,n){var r=n(1094).default,i=n(68);e.exports=function(e,t){return!t||"object"!==r(t)&&"function"!=typeof t?i(e):t},e.exports.default=e.exports,e.exports.__esModule=!0},function(e,t){function n(t){return e.exports=n=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},e.exports.default=e.exports,e.exports.__esModule=!0,n(t)}e.exports=n,e.exports.default=e.exports,e.exports.__esModule=!0},function(e,t){e.exports=function(e){var t=n.call(e);return"[object Function]"===t||"function"==typeof e&&"[object RegExp]"!==t||"undefined"!=typeof window&&(e===window.setTimeout||e===window.alert||e===window.confirm||e===window.prompt)};var n=Object.prototype.toString},function(e,t,n){var r=n(1864),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 c(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 u(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 u(){e=e.replace(/^\s+/,"")}if(u(),t.startTime=i(),u(),"--\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),u(),t.endTime=i(),u(),function(e,t){var r=new s;c(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)"},h={v:"title",lang:"lang"},p={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!p[t.localName]||p[t.localName]===e.localName}function i(t,n){var r=d[t];if(!r)return null;var i=e.document.createElement(r),o=h[t];return o&&n&&(i[o]=n.trim()),i}for(var o,s,c=e.document.createElement("div"),u=c,m=[];null!==(o=n());)if("<"!==o[0])u.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(),u=u.parentNode);continue}var v,g=a(o.substr(1,o.length-2));if(g){v=e.document.createProcessingInstruction("timestamp",g),u.appendChild(v);continue}var y=o.match(/^<([^.\s/0-9>]+)(\.[^\s\\>]+)?([^>\\]+)?(\\?)>?$/);if(!y)continue;if(!(v=i(y[1],y[3])))continue;if(!r(u,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]),u.appendChild(v),u=v}return c}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 x(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 c;switch(o.vertical){case"":s=["+y","-y"],c="height";break;case"rl":s=["+x","-x"],c="width";break;case"lr":s=["-x","+x"],c="width"}var u=i.lineHeight,l=u*Math.round(a),d=n[c]+u,f=s[0];Math.abs(l)>d&&(l=l<0?-1:1,l*=Math.ceil(d/u)*u),a<0&&(l+=""===o.vertical?n.height:n.width,s=s.reverse()),i.move(f,l)}else{var h=i.lineHeight/n.height*100;switch(o.lineAlign){case"center":a-=h/2;break;case"end":a-=h}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 p=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 c=e.intersectPercentage(n);a>c&&(i=new w(e),a=c),e=new w(o)}return i||o}(i,s);t.move(p.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,c=0;c<t.length;c++)s=t[c],n=new _(e,s,a),r.appendChild(n.div),x(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/)?c(e,function(e,n){switch(e){case"X-TIMESTAMP-MAP":r=n,i=new s,c(r,function(e,t){switch(e){case"MPEGT":i.integer(e+"S",t);break;case"LOCA":i.set(e+"L",a(t))}},/[^\d]:/,/,/),t.ontimestampmap&&t.ontimestampmap({MPEGTS:i.get("MPEGTS"),LOCAL:i.get("LOCAL")})}var r,i},/=/):c(e,function(e,n){switch(e){case"Region":!function(e){var n=new s;if(c(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{u(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(){try{if(this.buffer+=this.decoder.decode(),(this.cue||"HEADER"===this.state)&&(this.buffer+="\n\n",this.parse()),"INITIAL"===this.state)throw new o(o.Errors.BadSignature)}catch(e){this.reportOrThrowError(e)}return this.onflush&&this.onflush(),this}},e.exports=k},function(e,t,n){(function(t){var r,i=void 0!==t?t:"undefined"!=typeof window?window:{},o=n(1865);"undefined"!=typeof document?r=document:(r=i["__GLOBAL_DOCUMENT_CACHE@4"])||(r=i["__GLOBAL_DOCUMENT_CACHE@4"]=o),e.exports=r}).call(this,n(96))},function(e,t){},function(e,t){var n="auto",r={"":1,lr:1,rl:1},i={start:1,center:1,end:1,left:1,right:1,auto:1,"line-left":1,"line-right":1};function o(e){return"string"==typeof e&&(!!i[e.toLowerCase()]&&e.toLowerCase())}function a(e,t,i){this.hasBeenReset=!1;var a="",s=!1,c=e,u=t,l=i,d=null,f="",h=!0,p="auto",m="start",v="auto",g="auto",y=100,b="center";Object.defineProperties(this,{id:{enumerable:!0,get:function(){return a},set:function(e){a=""+e}},pauseOnExit:{enumerable:!0,get:function(){return s},set:function(e){s=!!e}},startTime:{enumerable:!0,get:function(){return c},set:function(e){if("number"!=typeof e)throw new TypeError("Start time must be set to a number.");c=e,this.hasBeenReset=!0}},endTime:{enumerable:!0,get:function(){return u},set:function(e){if("number"!=typeof e)throw new TypeError("End time must be set to a number.");u=e,this.hasBeenReset=!0}},text:{enumerable:!0,get:function(){return l},set:function(e){l=""+e,this.hasBeenReset=!0}},region:{enumerable:!0,get:function(){return d},set:function(e){d=e,this.hasBeenReset=!0}},vertical:{enumerable:!0,get:function(){return f},set:function(e){var t=function(e){return"string"==typeof e&&!!r[e.toLowerCase()]&&e.toLowerCase()}(e);if(!1===t)throw new SyntaxError("Vertical: an invalid or illegal direction string was specified.");f=t,this.hasBeenReset=!0}},snapToLines:{enumerable:!0,get:function(){return h},set:function(e){h=!!e,this.hasBeenReset=!0}},line:{enumerable:!0,get:function(){return p},set:function(e){if("number"!=typeof e&&e!==n)throw new SyntaxError("Line: an invalid number or illegal string was specified.");p=e,this.hasBeenReset=!0}},lineAlign:{enumerable:!0,get:function(){return m},set:function(e){var t=o(e);t?(m=t,this.hasBeenReset=!0):console.warn("lineAlign: an invalid or illegal string was specified.")}},position:{enumerable:!0,get:function(){return v},set:function(e){if(e<0||e>100)throw new Error("Position must be between 0 and 100.");v=e,this.hasBeenReset=!0}},positionAlign:{enumerable:!0,get:function(){return g},set:function(e){var t=o(e);t?(g=t,this.hasBeenReset=!0):console.warn("positionAlign: an invalid or illegal string was specified.")}},size:{enumerable:!0,get:function(){return y},set:function(e){if(e<0||e>100)throw new Error("Size must be between 0 and 100.");y=e,this.hasBeenReset=!0}},align:{enumerable:!0,get:function(){return b},set:function(e){var t=o(e);if(!t)throw new SyntaxError("align: an invalid or illegal alignment string was specified.");b=t,this.hasBeenReset=!0}}}),this.displayState=void 0}a.prototype.getCueAsHTML=function(){return WebVTT.convertCueToDOMTree(window,this.text)},e.exports=a},function(e,t){var n={"":!0,up:!0};function r(e){return"number"==typeof e&&e>=0&&e<=100}e.exports=function(){var e=100,t=3,i=0,o=100,a=0,s=100,c="";Object.defineProperties(this,{width:{enumerable:!0,get:function(){return e},set:function(t){if(!r(t))throw new Error("Width must be between 0 and 100.");e=t}},lines:{enumerable:!0,get:function(){return t},set:function(e){if("number"!=typeof e)throw new TypeError("Lines must be set to a number.");t=e}},regionAnchorY:{enumerable:!0,get:function(){return o},set:function(e){if(!r(e))throw new Error("RegionAnchorX must be between 0 and 100.");o=e}},regionAnchorX:{enumerable:!0,get:function(){return i},set:function(e){if(!r(e))throw new Error("RegionAnchorY must be between 0 and 100.");i=e}},viewportAnchorY:{enumerable:!0,get:function(){return s},set:function(e){if(!r(e))throw new Error("ViewportAnchorY must be between 0 and 100.");s=e}},viewportAnchorX:{enumerable:!0,get:function(){return a},set:function(e){if(!r(e))throw new Error("ViewportAnchorX must be between 0 and 100.");a=e}},scroll:{enumerable:!0,get:function(){return c},set:function(e){var t=function(e){return"string"==typeof e&&!!n[e.toLowerCase()]&&e.toLowerCase()}(e);!1===t?console.warn("Scroll: an invalid or illegal string was specified."):c=t}}})}},function(e,t){e.exports=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}},e.exports.default=e.exports,e.exports.__esModule=!0},function(e,t,n){var r,i,o,a,s;r=/^((?:[a-zA-Z0-9+\-.]+:)?)(\/\/[^\/?#]*)?((?:[^\/?#]*\/)*[^;?#]*)?(;[^?#]*)?(\?[^#]*)?(#.*)?$/,i=/^([^\/?#]*)(.*)$/,o=/(?:\/|^)\.(?=\/)/g,a=/(?:\/|^)\.\.\/(?!\.\.\/)[^\/]*(?=\/)/g,s={buildAbsoluteURL:function(e,t,n){if(n=n||{},e=e.trim(),!(t=t.trim())){if(!n.alwaysNormalize)return e;var r=s.parseURL(e);if(!r)throw new Error("Error trying to parse base URL.");return r.path=s.normalizePath(r.path),s.buildURLFromParts(r)}var o=s.parseURL(t);if(!o)throw new Error("Error trying to parse relative URL.");if(o.scheme)return n.alwaysNormalize?(o.path=s.normalizePath(o.path),s.buildURLFromParts(o)):t;var a=s.parseURL(e);if(!a)throw new Error("Error trying to parse base URL.");if(!a.netLoc&&a.path&&"/"!==a.path[0]){var c=i.exec(a.path);a.netLoc=c[1],a.path=c[2]}a.netLoc&&!a.path&&(a.path="/");var u={scheme:a.scheme,netLoc:o.netLoc,path:null,params:o.params,query:o.query,fragment:o.fragment};if(!o.netLoc&&(u.netLoc=a.netLoc,"/"!==o.path[0]))if(o.path){var l=a.path,d=l.substring(0,l.lastIndexOf("/")+1)+o.path;u.path=s.normalizePath(d)}else u.path=a.path,o.params||(u.params=a.params,o.query||(u.query=a.query));return null===u.path&&(u.path=n.alwaysNormalize?s.normalizePath(o.path):o.path),s.buildURLFromParts(u)},parseURL:function(e){var t=r.exec(e);return t?{scheme:t[1]||"",netLoc:t[2]||"",path:t[3]||"",params:t[4]||"",query:t[5]||"",fragment:t[6]||""}:null},normalizePath:function(e){for(e=e.split("").reverse().join("").replace(o,"");e.length!==(e=e.replace(a,"")).length;);return e.split("").reverse().join("")},buildURLFromParts:function(e){return e.scheme+e.netLoc+e.path+e.params+e.query+e.fragment}},e.exports=s},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+"*)?$"),o=0,a=1,s=2,c=3,u=4,l=5,d=6,f=7;function h(){}function p(e,t){return t.lineNumber=e.lineNumber,t.columnNumber=e.columnNumber,t}function m(e,t,n,r,i,h){for(var p,m=++t,v=o;;){var g=e.charAt(m);switch(g){case"=":if(v===a)p=e.slice(t,m),v=c;else{if(v!==s)throw new Error("attribute equal must after attrName");v=c}break;case"'":case'"':if(v===c||v===a){if(v===a&&(h.warning('attribute value must after "="'),p=e.slice(t,m)),t=m+1,!((m=e.indexOf(g,t))>0))throw new Error("attribute value no end '"+g+"' match");y=e.slice(t,m).replace(/&#?\w+;/g,i),n.add(p,y,t-1),v=l}else{if(v!=u)throw new Error('attribute value must after "="');y=e.slice(t,m).replace(/&#?\w+;/g,i),n.add(p,y,t),h.warning('attribute "'+p+'" missed start quot('+g+")!!"),t=m+1,v=l}break;case"/":switch(v){case o:n.setTagName(e.slice(t,m));case l:case d:case f:v=f,n.closed=!0;case u:case a:case s:break;default:throw new Error("attribute invalid close char('/')")}break;case"":return h.error("unexpected end of input"),v==o&&n.setTagName(e.slice(t,m)),m;case">":switch(v){case o:n.setTagName(e.slice(t,m));case l:case d:case f:break;case u:case a:"/"===(y=e.slice(t,m)).slice(-1)&&(n.closed=!0,y=y.slice(0,-1));case s:v===s&&(y=p),v==u?(h.warning('attribute "'+y+'" missed quot(")!!'),n.add(p,y.replace(/&#?\w+;/g,i),t)):("http://www.w3.org/1999/xhtml"===r[""]&&y.match(/^(?:disabled|checked|selected)$/i)||h.warning('attribute "'+y+'" missed value!! "'+y+'" instead!!'),n.add(y,y,t));break;case c:throw new Error("attribute value missed!!")}return m;case"":g=" ";default:if(g<=" ")switch(v){case o:n.setTagName(e.slice(t,m)),v=d;break;case a:p=e.slice(t,m),v=s;break;case u:var y=e.slice(t,m).replace(/&#?\w+;/g,i);h.warning('attribute "'+y+'" missed quot(")!!'),n.add(p,y,t);case l:v=d}else switch(v){case s:n.tagName;"http://www.w3.org/1999/xhtml"===r[""]&&p.match(/^(?:disabled|checked|selected)$/i)||h.warning('attribute "'+p+'" missed value!! "'+p+'" instead2!!'),n.add(p,p,t),t=m,v=a;break;case l:h.warning('attribute space is required"'+p+'"!!');case d:v=a,t=m;break;case c:v=u,t=m;break;case f:throw new Error("elements closed character '/' and '>' must be connected to")}}m++}}function v(e,t,n){for(var r=e.tagName,i=null,o=e.length;o--;){var a=e[o],s=a.qName,c=a.value;if((f=s.indexOf(":"))>0)var u=a.prefix=s.slice(0,f),l=s.slice(f+1),d="xmlns"===u&&l;else l=s,u=null,d="xmlns"===s&&"";a.localName=l,!1!==d&&(null==i&&(i={},b(n,n={})),n[d]=i[d]=c,a.uri="http://www.w3.org/2000/xmlns/",t.startPrefixMapping(d,c))}for(o=e.length;o--;){(u=(a=e[o]).prefix)&&("xml"===u&&(a.uri="http://www.w3.org/XML/1998/namespace"),"xmlns"!==u&&(a.uri=n[u||""]))}var f;(f=r.indexOf(":"))>0?(u=e.prefix=r.slice(0,f),l=e.localName=r.slice(f+1)):(u=null,l=e.localName=r);var h=e.uri=n[u||""];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(u in i)t.endPrefixMapping(u)}function g(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 y(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 b(e,t){for(var n in e)t[n]=e[n]}function _(e,t,n,r){switch(e.charAt(t+2)){case"-":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;default: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],c=a>3&&/^public$/i.test(o[2][0])&&o[3][0],u=a>4&&o[4][0],l=o[a-1];return n.startDTD(s,c&&c.replace(/^(['"])(.*?)\1$/,"$2"),u&&u.replace(/^(['"])(.*?)\1$/,"$2")),n.endDTD(),l.index+l[0].length}}return-1}function w(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 x(e){}function k(e,t){return e.__proto__=t,e}h.prototype={parse:function(e,t,n){var r=this.domBuilder;r.startDocument(),b(t,t={}),function(e,t,n,r,i){function o(e){var t=e.slice(1,-1);return t in n?n[t]:"#"===t.charAt(0)?function(e){if(e>65535){var t=55296+((e-=65536)>>10),n=56320+(1023&e);return String.fromCharCode(t,n)}return String.fromCharCode(e)}(parseInt(t.substr(1).replace("x","0x"))):(i.error("entity not found:"+e),e)}function a(t){if(t>b){var n=e.substring(b,t).replace(/&#?\w+;/g,o);d&&s(b),r.characters(n,0,t-b),b=t}}function s(t,n){for(;t>=u&&(n=l.exec(e));)c=n.index,u=c+n[0].length,d.lineNumber++;d.columnNumber=t-c+1}var c=0,u=0,l=/.*(?:\r\n?|\n)|.*$/g,d=r.locator,f=[{currentNSMap:t}],h={},b=0;for(;;){try{var k=e.indexOf("<",b);if(k<0){if(!e.substr(b).match(/^\s*$/)){var E=r.doc,S=E.createTextNode(e.substr(b));E.appendChild(S),r.currentElement=S}return}switch(k>b&&a(k),e.charAt(k+1)){case"/":var T=e.indexOf(">",k+3),C=e.substring(k+2,T),O=f.pop();T<0?(C=e.substring(k+2).replace(/[\s<].*/,""),i.error("end tag name: "+C+" is not complete:"+O.tagName),T=k+1+C.length):C.match(/\s</)&&(C=C.replace(/[\s<].*/,""),i.error("end tag name: "+C+" maybe not complete"),T=k+1+C.length);var j=O.localNSMap,A=O.tagName==C,P=A||O.tagName&&O.tagName.toLowerCase()==C.toLowerCase();if(P){if(r.endElement(O.uri,O.localName,C),j)for(var M in j)r.endPrefixMapping(M);A||i.fatalError("end tag name: "+C+" is not match the current start tagName:"+O.tagName)}else f.push(O);T++;break;case"?":d&&s(k),T=w(e,k,r);break;case"!":d&&s(k),T=_(e,k,r,i);break;default:d&&s(k);var N=new x,L=f[f.length-1].currentNSMap,T=m(e,k,N,L,o,i),I=N.length;if(!N.closed&&y(e,T,N.tagName,h)&&(N.closed=!0,n.nbsp||i.warning("unclosed xml attribute")),d&&I){for(var D=p(d,{}),R=0;R<I;R++){var B=N[R];s(B.offset),B.locator=p(d,{})}r.locator=D,v(N,r,L)&&f.push(N),r.locator=d}else v(N,r,L)&&f.push(N);"http://www.w3.org/1999/xhtml"!==N.uri||N.closed?T++:T=g(e,T,N.tagName,o,r)}}catch(e){i.error("element parse error: "+e),T=-1}T>b?b=T:a(Math.max(k,b)+1)}}(e,t,n,r,this.errorHandler),r.endDocument()}},x.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}},k({},k.prototype)instanceof k||(k=function(e,t){function n(){}for(t in n.prototype=t,n=new n,e)n[t]=e[t];return n}),t.XMLReader=h},function(e,t,n){"use strict";var r=n(915),i=n(914),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))},c=[4352,4384,4608,4640,5376,5408,5632,5664,5888,5920,4096,4864,4896,5120,5152],u=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_=u();else if(t===this.ERASE_NON_DISPLAYED_MEMORY_)this.nonDisplayed_=u();else if(t===this.RESUME_DIRECT_CAPTIONING_)"paintOn"!==this.mode_&&(this.flushDisplayed(e.pts),this.displayed_=u()),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=c.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_=u(),this.nonDisplayed_=u(),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_=u(),this.displayed_=u()),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}},function(e,t,n){"use strict";var r=n(915),i=function(e,t){var n=1;for(e>t&&(n=-1);Math.abs(t-e)>4294967296;)e+=8589934592*n;return e},o=function(e){var t,n;o.prototype.init.call(this),this.type_=e||"shared",this.push=function(e){"shared"!==this.type_&&e.type!==this.type_||(void 0===n&&(n=e.dts),e.dts=i(e.dts,n),e.pts=i(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")}};o.prototype=new r,e.exports={TimestampRolloverStream:o,handleRollover:i}},function(e,t,n){"use strict";var r=n(916),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 c=r+s;t[(31&e[c+1])<<8|e[c+2]]=e[c],s+=5+((15&e[c+3])<<8|e[c+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}}},function(e,t,n){"use strict";var r=[96e3,88200,64e3,48e3,44100,32e3,24e3,22050,16e3,12e3,11025,8e3,7350],i=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 t=0;t+5<e.length;){if(255===e[t]&&240==(246&e[t+1]))return r[(60&e[t+2])>>>2];t++}return null},parseAacTimestamp:function(e){var t,n,r;t=10,64&e[5]&&(t+=4,t+=i(e.subarray(10,14)));do{if((n=i(e.subarray(t+4,t+8)))<1)return null;if("PRIV"===String.fromCharCode(e[t],e[t+1],e[t+2],e[t+3])){r=e.subarray(t+10,t+n+10);for(var o=0;o<r.byteLength;o++)if(0===r[o]){if("com.apple.streaming.transportStreamTimestamp"===unescape(function(e,t,n){var r,i="";for(r=t;r<n;r++)i+="%"+("00"+e[r].toString(16)).slice(-2);return i}(r,0,o))){var a=r.subarray(o+1),s=(1&a[3])<<30|a[4]<<22|a[5]<<14|a[6]<<6|a[7]>>>2;return s*=4,s+=3&a[7]}break}}t+=10,t+=n}while(t<e.byteLength);return null}}},function(e,t){var n,r,i,o,a,s,c;n=function(e){return 9e4*e},r=function(e,t){return e*t},i=function(e){return e/9e4},o=function(e,t){return e/t},a=function(e,t){return n(o(e,t))},s=function(e,t){return r(i(e),t)},c=function(e,t,n){return i(n?e:e-t)},e.exports={ONE_SECOND_IN_TS:9e4,secondsToVideoTs:n,secondsToAudioTs:r,videoTsToSeconds:i,audioTsToSeconds:o,audioTsToVideoTs:a,videoTsToAudioTs:s,metadataTsToSeconds:c}},function(e,t,n){},function(e,t,n){var r=n(308),i=n(1878),o=n(910),a="Expected a function",s=Math.max,c=Math.min;e.exports=function(e,t,n){var u,l,d,f,h,p,m=0,v=!1,g=!1,y=!0;if("function"!=typeof e)throw new TypeError(a);function b(t){var n=u,r=l;return u=l=void 0,m=t,f=e.apply(r,n)}function _(e){var n=e-p;return void 0===p||n>=t||n<0||g&&e-m>=d}function w(){var e=i();if(_(e))return x(e);h=setTimeout(w,function(e){var n=t-(e-p);return g?c(n,d-(e-m)):n}(e))}function x(e){return h=void 0,y&&u?b(e):(u=l=void 0,f)}function k(){var e=i(),n=_(e);if(u=arguments,l=this,p=e,n){if(void 0===h)return function(e){return m=e,h=setTimeout(w,t),v?b(e):f}(p);if(g)return clearTimeout(h),h=setTimeout(w,t),b(p)}return void 0===h&&(h=setTimeout(w,t)),f}return t=o(t)||0,r(n)&&(v=!!n.leading,d=(g="maxWait"in n)?s(o(n.maxWait)||0,t):d,y="trailing"in n?!!n.trailing:y),k.cancel=function(){void 0!==h&&clearTimeout(h),m=0,u=p=l=h=void 0},k.flush=function(){return void 0===h?f:x(i())},k}},function(e,t,n){var r=n(222);e.exports=function(){return r.Date.now()}},function(e,t,n){},function(e,t,n){n(256),n(123),n(1881);e.exports=n(1884)()},function(e,t,n){e.exports=n(1882)},function(e,t,n){var r=n(1883);e.exports=r},function(e,t,n){n(599);var r=n(104);e.exports=r.Symbol.for},function(e,t,n){"use strict";var r=n(412),i=n(413),o=n(1885);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}},function(e,t,n){"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},function(e,t,n){},function(e,t,n){},function(e,t,n){},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=u(n(0)),o=n(1890),a=u(n(1897)),s=u(n(1899)),c=n(506);function u(e){return e&&e.__esModule?e:{default:e}}var l=(0,c.canUseDOM)()&&n(1900),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,c.canUseDOM)()&&e.media(i,function(){e.setState({breakpoint:n})})});var n=(0,a.default)({minWidth:t.slice(-1)[0]});(0,c.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 c=[],u=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 h=[],p=f;p<f+e.slidesPerRow&&(e.variableWidth&&a[p].props.style&&(u=a[p].props.style.width),!(p>=a.length));p+=1)h.push(i.default.cloneElement(a[p],{key:100*l+10*f+p,tabIndex:-1,style:{width:100/e.slidesPerRow+"%",display:"inline-block"}}));d.push(i.default.createElement("div",{key:10*l+f},h))}e.variableWidth?c.push(i.default.createElement("div",{key:l,style:{width:u}},d)):c.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},c)}return c.length<=e.slidesToShow&&(e.unslick=!0),i.default.createElement(o.InnerSlider,r({ref:this.innerSliderRefHandler},e),c)},t}(i.default.Component);t.default=d},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(0)),a=m(n(84)),s=m(n(1891)),c=m(n(1892)),u=m(n(2)),l=n(506),d=n(1893),f=n(1894),h=n(1895),p=m(n(1896));function m(e){return e&&e.__esModule?e:{default:e}}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 p.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),c=0;for(a=s?a:a[Symbol.iterator]();;){var u;if(s){if(c>=a.length)break;u=a[c++]}else{if((c=a.next()).done)break;u=c.value}var l=u;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,c.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 c=0;c<a;c++)e+=n[c];for(var u=0;u<m.state.currentSlide;u++)t+=n[u];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 h=o.default.Children.count(m.props.children),p=i({},m.props,m.state,{slideCount:h}),v=(0,l.getPreClones)(p)+(0,l.getPostClones)(p)+h,g=100/m.props.slidesToShow*v,y=100/v,b=-y*((0,l.getPreClones)(p)+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,c=n.afterChange,u=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,h=d.nextState;if(f){o&&o(u,f.currentSlide);var p=f.lazyLoadedList.filter(function(e){return m.state.lazyLoadedList.indexOf(e)<0});a&&p.length>0&&a(p),m.setState(f,function(){r&&r.innerSlider.state.currentSlide!==u&&r.innerSlider.slideHandler(e),h&&(m.animationEndCallback=setTimeout(function(){var e=h.animating,t=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}(h,["animating"]);m.setState(t,function(){m.callbackTimers.push(setTimeout(function(){return m.setState({animating:e})},10)),c&&c(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,u.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"]),c=m.props.pauseOnHover;if(s=i({},s,{onMouseEnter:c?m.onTrackOver:null,onMouseLeave:c?m.onTrackLeave:null,onMouseOver:c?m.onTrackOver:null,focusOnSelect:m.props.focusOnSelect?m.selectHandler:null}),!0===m.props.dots&&m.state.slideCount>=m.props.slidesToShow){var p=(0,l.extractObject)(a,["dotsClass","slideCount","slidesToShow","currentSlide","slidesToScroll","clickHandler","children","customPaging","infinite","appendDots"]),v=m.props.pauseOnDotsHover;p=i({},p,{clickHandler:m.changeSlide,onMouseEnter:v?m.onDotsLeave:null,onMouseOver:v?m.onDotsOver:null,onMouseLeave:v?m.onDotsLeave:null}),e=o.default.createElement(f.Dots,p)}var g=(0,l.extractObject)(a,["infinite","centerMode","currentSlide","slideCount","slidesToShow","prevArrow","nextArrow"]);g.clickHandler=m.changeSlide,m.props.arrows&&(t=o.default.createElement(h.PrevArrow,g),n=o.default.createElement(h.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,x={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&&(x={className:"slick-list"},k={className:r}),o.default.createElement("div",k,m.props.unslick?"":t,o.default.createElement("div",i({ref:m.listRefHandler},x),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)},function(e,t,n){"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}},function(e,t,n){(function(t){var n="Expected a function",r=NaN,i="[object Symbol]",o=/^\s+|\s+$/g,a=/^[-+]0x[0-9a-f]+$/i,s=/^0b[01]+$/i,c=/^0o[0-7]+$/i,u=parseInt,l="object"==typeof t&&t&&t.Object===Object&&t,d="object"==typeof self&&self&&self.Object===Object&&self,f=l||d||Function("return this")(),h=Object.prototype.toString,p=Math.max,m=Math.min,v=function(){return f.Date.now()};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)&&h.call(e)==i}(e))return r;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(o,"");var n=s.test(e);return n||c.test(e)?u(e.slice(2),n?2:8):a.test(e)?r:+e}e.exports=function(e,t,r){var i,o,a,s,c,u,l=0,d=!1,f=!1,h=!0;if("function"!=typeof e)throw new TypeError(n);function b(t){var n=i,r=o;return i=o=void 0,l=t,s=e.apply(r,n)}function _(e){var n=e-u;return void 0===u||n>=t||n<0||f&&e-l>=a}function w(){var e=v();if(_(e))return x(e);c=setTimeout(w,function(e){var n=t-(e-u);return f?m(n,a-(e-l)):n}(e))}function x(e){return c=void 0,h&&i?b(e):(i=o=void 0,s)}function k(){var e=v(),n=_(e);if(i=arguments,o=this,u=e,n){if(void 0===c)return function(e){return l=e,c=setTimeout(w,t),d?b(e):s}(u);if(f)return c=setTimeout(w,t),b(u)}return void 0===c&&(c=setTimeout(w,t)),s}return t=y(t)||0,g(r)&&(d=!!r.leading,a=(f="maxWait"in r)?p(y(r.maxWait)||0,t):a,h="trailing"in r?!!r.trailing:h),k.cancel=function(){void 0!==c&&clearTimeout(c),l=0,i=u=o=c=void 0},k.flush=function(){return void 0===c?s:x(v())},k}}).call(this,n(96))},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(0)),o=s(n(2)),a=n(506);function s(e){return e&&e.__esModule?e:{default:e}}var c=function(e){var t,n,r,i,o;return r=(o=e.rtl?e.slideCount-1-e.index:e.index)<0||o>=e.slideCount,e.centerMode?(i=Math.floor(e.slidesToShow/2),n=(o-e.currentSlide)%e.slideCount==0,o>e.currentSlide-i-1&&o<=e.currentSlide+i&&(t=!0)):t=e.currentSlide<=o&&o<e.currentSlide+e.slidesToShow,{"slick-slide":!0,"slick-active":t,"slick-center":n,"slick-cloned":r,"slick-current":o===e.currentSlide}},u=function(e,t){return e.key||t},l=function(e){var t,n=[],s=[],l=[],d=i.default.Children.count(e.children),f=(0,a.lazyStartIndex)(e),h=(0,a.lazyEndIndex)(e);return i.default.Children.forEach(e.children,function(p,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?p:i.default.createElement("div",null);var y=function(e){var t={};return void 0!==e.variableWidth&&!1!==e.variableWidth||(t.width=e.slideWidth),e.fade&&(t.position="relative",e.vertical?t.top=-e.index*parseInt(e.slideHeight):t.left=-e.index*parseInt(e.slideWidth),t.opacity=e.currentSlide===e.index?1:0,t.transition="opacity "+e.speed+"ms "+e.cssEase+", visibility "+e.speed+"ms "+e.cssEase,t.WebkitTransition="opacity "+e.speed+"ms "+e.cssEase+", visibility "+e.speed+"ms "+e.cssEase),t}(r({},e,{index:m})),b=v.props.className||"",_=c(r({},e,{index:m}));if(n.push(i.default.cloneElement(v,{key:"original"+u(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=d-m;w<=(0,a.getPreClones)(e)&&d!==e.slidesToShow&&((t=-w)>=f&&(v=p),_=c(r({},e,{index:t})),s.push(i.default.cloneElement(v,{key:"precloned"+u(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)}}))),d!==e.slidesToShow&&((t=d+m)<h&&(v=p),_=c(r({},e,{index:t})),l.push(i.default.cloneElement(v,{key:"postcloned"+u(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,l).reverse():s.concat(n,l)};t.Track=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,e.apply(this,arguments))}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),t.prototype.render=function(){var e=l(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)},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(0)),o=a(n(2));function a(e){return e&&e.__esModule?e:{default:e}}t.Dots=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,e.apply(this,arguments))}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),t.prototype.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},c=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}),c={message:"dots",index:n,slidesToScroll:t.props.slidesToScroll,currentSlide:t.props.currentSlide},u=t.clickHandler.bind(t,c);return i.default.createElement("li",{key:n,className:s},i.default.cloneElement(t.props.customPaging(n),{onClick:u}))});return i.default.cloneElement(this.props.appendDots(c),r({className:this.props.dotsClass},s))},t}(i.default.PureComponent)},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(0)),o=s(n(2)),a=n(506);function s(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 u(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function l(e,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 c(this,t),u(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 c(this,t),u(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)},function(e,t,n){"use strict";n.r(t),function(e){var n=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}()}(),r="undefined"!=typeof window&&"undefined"!=typeof document&&window.document===document,i=void 0!==e&&e.Math===Math?e:"undefined"!=typeof self&&self.Math===Math?self:"undefined"!=typeof window&&window.Math===Math?window:Function("return this")(),o="function"==typeof requestAnimationFrame?requestAnimationFrame.bind(i):function(e){return setTimeout(function(){return e(Date.now())},1e3/60)},a=2,s=["top","right","bottom","left","width","height","size","weight"],c="undefined"!=typeof MutationObserver,u=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 s(){n&&(n=!1,e()),r&&u()}function c(){o(s)}function u(){var e=Date.now();if(n){if(e-i<a)return;r=!0}else n=!0,r=!1,setTimeout(c,t);i=e}return u}(this.refresh.bind(this),20)};u.prototype.addObserver=function(e){~this.observers_.indexOf(e)||this.observers_.push(e),this.connected_||this.connect_()},u.prototype.removeObserver=function(e){var t=this.observers_,n=t.indexOf(e);~n&&t.splice(n,1),!t.length&&this.connected_&&this.disconnect_()},u.prototype.refresh=function(){this.updateObservers_()&&this.refresh()},u.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},u.prototype.connect_=function(){r&&!this.connected_&&(document.addEventListener("transitionend",this.onTransitionEnd_),window.addEventListener("resize",this.refresh),c?(this.mutationsObserver_=new MutationObserver(this.refresh),this.mutationsObserver_.observe(document,{attributes:!0,childList:!0,characterData:!0,subtree:!0})):(document.addEventListener("DOMSubtreeModified",this.refresh),this.mutationEventsAdded_=!0),this.connected_=!0)},u.prototype.disconnect_=function(){r&&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)},u.prototype.onTransitionEnd_=function(e){var t=e.propertyName;void 0===t&&(t=""),s.some(function(e){return!!~t.indexOf(e)})&&this.refresh()},u.getInstance=function(){return this.instance_||(this.instance_=new u),this.instance_},u.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||i},f=y(0,0,0,0);function h(e){return parseFloat(e)||0}function p(e){for(var t=[],n=arguments.length-1;n-- >0;)t[n]=arguments[n+1];return t.reduce(function(t,n){return t+h(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]=h(o)}return t}(r),o=i.left+i.right,a=i.top+i.bottom,s=h(r.width),c=h(r.height);if("border-box"===r.boxSizing&&(Math.round(s+o)!==t&&(s-=p(r,"left","right")+o),Math.round(c+a)!==n&&(c-=p(r,"top","bottom")+a)),!function(e){return e===d(e).document.documentElement}(e)){var u=Math.round(s+o)-t,l=Math.round(c+a)-n;1!==Math.abs(u)&&(s-=u),1!==Math.abs(l)&&(c-=l)}return y(i.left,i.top,s,c)}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 r?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,c,u=(r=(n=t).x,i=n.y,o=n.width,a=n.height,s="undefined"!=typeof DOMRectReadOnly?DOMRectReadOnly:Object,c=Object.create(s.prototype),l(c,{x:r,y:i,width:o,height:a,top:i,right:r+o,bottom:a+i,left:r}),c);l(this,{target:e,contentRect:u})},w=function(e,t,r){if(this.activeObservations_=[],this.observations_=new n,"function"!=typeof e)throw new TypeError("The callback provided as parameter 1 is not a function.");this.callback_=e,this.controller_=t,this.callbackCtx_=r};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 x="undefined"!=typeof WeakMap?new WeakMap:new n,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=u.getInstance(),n=new w(e,t,this);x.set(this,n)};["observe","unobserve","disconnect"].forEach(function(e){k.prototype[e]=function(){return(t=x.get(this))[e].apply(t,arguments);var t}});var E=void 0!==i.ResizeObserver?i.ResizeObserver:k;t.default=E}.call(this,n(96))},function(e,t,n){var r=n(1898),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)}},function(e,t){e.exports=function(e){return e.replace(/[A-Z]/g,function(e){return"-"+e.toLowerCase()}).toLowerCase()}},function(e,t,n){"use strict";t.__esModule=!0;var r,i=n(0),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},function(e,t,n){var r=n(1901);e.exports=new r},function(e,t,n){var r=n(1902),i=n(1029),o=i.each,a=i.isFunction,s=i.isArray;function c(){if(!window.matchMedia)throw new Error("matchMedia not present, legacy browsers require a polyfill");this.queries={},this.browserIsIncapable=!window.matchMedia("only all").matches}c.prototype={constructor:c,register:function(e,t,n){var i=this.queries,c=n&&this.browserIsIncapable;return i[e]||(i[e]=new r(e,c)),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=c},function(e,t,n){var r=n(1903),i=n(1029).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},function(e,t){function n(e){this.options=e,!e.deferSetup&&this.setup()}n.prototype={constructor:n,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=n},function(e,t,n){},function(e,t,n){},function(e,t,n){},function(e,t,n){},function(e,t,n){},function(e,t,n){},function(e,t,n){},function(e,t){e.exports=
/** @license ISC License (c) copyright 2016 original and current authors */
function(e){return!!e&&e.toString&&"[object Object]"===e.toString()}},function(e,t){e.exports=
/** @license ISC License (c) copyright 2016 original and current authors */
function(e){return"string"==typeof e}},function(e,t,n){
/** @license ISC License (c) copyright 2017 original and current authors */
var r=n(1914),i=n(648),o=n(253),a=function(e){return e},s=function(e){return function(t){return t.concat(e)}};function c(e,t){return function(n,i){var o=t(i);if(!r(n)||!r(o))throw new TypeError("Array."+e+": Must wrap Applicatives");return o.map(function(e){return s([e])}).ap(n)}}var u=function(e){return e.reduce(function(e,t){return e&&o(t)},!0)},l=function(e,t){return t.map(function(t){return e(t)})};e.exports={ap:function(e,t){if(!t.length||!u(t))throw new TypeError("Array.ap: Second Array must all be functions");return t.reduce(function(t,n){return t.concat(l(n,e))},[])},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)},[])},map:l,sequence:function(e,t){return t.reduce(c("sequence",a),e([]))},traverse:function(e,t,n){return n.reduce(c("traverse",t),e([]))}}},function(e,t,n){
/** @license ISC License (c) copyright 2016 original and current authors */
var r=n(507),i=n(1915);e.exports=function(e){return i(e)&&r("of",e)}},function(e,t,n){
/** @license ISC License (c) copyright 2016 original and current authors */
var r=n(507),i=n(1916);e.exports=function(e){return i(e)&&r("ap",e)}},function(e,t,n){
/** @license ISC License (c) copyright 2016 original and current authors */
var r=n(507);e.exports=function(e){return!!e&&r("map",e)}},function(e,t){e.exports=
/** @license ISC License (c) copyright 2017 original and current authors */
function(e){var t,n;return function(){return t||(t=!0,n=e.apply(null,arguments)),n}}},function(e,t){
/** @license ISC License (c) copyright 2017 original and current authors */
e.exports=Function.prototype},function(e,t,n){
/** @license ISC License (c) copyright 2017 original and current authors */
var r=n(507);e.exports=function(e){return!!e&&r("reduce",e)}},function(e,t,n){
/** @license ISC License (c) copyright 2017 original and current authors */
var r=n(253);e.exports=function(e){return!!e&&r(e.then)&&r(e.catch)}},function(e,t,n){
/** @license ISC License (c) copyright 2016 original and current authors */
var r=n(253);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}}},function(e,t,n){
/** @license ISC License (c) copyright 2017 original and current authors */
var r=n(253);e.exports=function(e){return e&&r(e.type)?e.type():{}.toString.call(e).slice(8,-1)}},function(e,t,n){var r=n(1037),i=n(649),o=n(1038),a=n(1924),s=o(function(e,t){return 1===e?i(t):r(e,a(e,[],t))});e.exports=s},function(e,t,n){var r=n(1037),i=n(650);e.exports=function e(t,n,o){return function(){for(var a=[],s=0,c=t,u=0;u<n.length||s<arguments.length;){var l;u<n.length&&(!i(n[u])||s>=arguments.length)?l=n[u]:(l=arguments[s],s+=1),a[u]=l,i(l)||(c-=1),u+=1}return c<=0?o.apply(this,a):r(c,e(t,a,o))}}},function(e,t,n){var r=n(1038)(function(e,t){return t>e?t:e});e.exports=r},function(e,t,n){},function(e,t,n){},function(e,t,n){},function(e,t,n){},function(e,t,n){},function(e,t,n){},function(e,t,n){},function(e,t,n){},function(e,t,n){var r=n(1935),i=n(1040);e.exports=function(e){return i(r(e))}},function(e,t){e.exports=function(e,t){var n=-1,r=e.length;for(t||(t=Array(r));++n<r;)t[n]=e[n];return t}},function(e,t){var n=Math.floor,r=Math.random;e.exports=function(e,t){return e+n(r()*(t-e+1))}},function(e,t,n){var r=n(1040),i=n(1938);e.exports=function(e){return r(i(e))}},function(e,t,n){var r=n(1939),i=n(503);e.exports=function(e){return null==e?[]:r(e,i(e))}},function(e,t,n){var r=n(907);e.exports=function(e,t){return r(t,function(t){return e[t]})}},function(e,t,n){
/** @license ISC License (c) copyright 2016 original and current authors */
var r=n(378),i=n(379),o=n(191).type("Pred"),a=n(191).typeFn(o(),2),s=n(170),c=n(282),u=n(83),l=n(201),d=function(){return f(function(){return!0})};function f(e){var t;if(!u(e))throw new TypeError("Pred: Predicate function required");var n=function(t){return!!e(t)},r=function(){return"Pred"+i(n)},h=d;function p(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(!u(t))throw new TypeError("Pred."+e+": Function required");return f(c(n,t))}}return(t={inspect:r,toString:r,runWith:n,type:o,valueOf:function(){return n},empty:h,concat:p("concat"),contramap:m("contramap")})[s.empty]=h,t[s.concat]=p(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},function(e,t,n){
/** @license ISC License (c) copyright 2016 original and current authors */
var r=n(1942),i=n(573),o=n(378),a=n(1943),s=n(379),c=n(191).type("Maybe"),u=n(191).typeFn(c(),4),l=n(170),d=n(838),f=n(282),h=n(730),p=n(452),m=n(243),v=n(83),g=n(201),y=function(e){return function(){return e}},b=function(e){return e},_=r({Nothing:[],Just:["a"]}),w=_.Nothing,x=_.Just;T.Nothing=f(T,w),T.Just=f(T,x);var k=f(T,x),E=f(T,w);function S(e){if(!p(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:x(e),r=k,o=E,w=function(e){return j(y(e),b)},C=function(e){return g(T,e)&&j(y(e.either(y(!0),y(!1))),function(t){return e.either(y(!1),function(e){return i(e,t)})})},O=function(){return j(y("Nothing"),function(e){return"Just"+s(e)})};function j(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 j(T.Nothing,a("Maybe."+e,t))}}function P(e){return function(t){if(!v(t))throw new TypeError("Maybe."+e+": Function required");return j(T.Nothing,f(T.Just,t))}}function M(e){return function(t){if(!g(T,t))throw new TypeError("Maybe."+e+": Maybe required");return j(y(t),T.Just)}}function N(e){return function(t){if(!v(t))throw new TypeError("Maybe."+e+": Function required");var n=j(T.Nothing,t);if(!g(T,n))throw new TypeError("Maybe."+e+": Function must return a Maybe");return n}}return(t={inspect:O,toString:O,either:j,option:w,type:c,equals:C,bichain:function(e,t){var n="Maybe.bichain: Both arguments must be Maybe returning functions";if(!v(e)||!v(t))throw new TypeError(n);var r=j(e,t);if(!g(T,r))throw new TypeError(n);return r},coalesce:function(e,t){if(!v(e)||!v(t))throw new TypeError("Maybe.coalesce: Requires both left and right functions");return T.Just(j(e,t))},zero:o,ap:function(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 j(T.Nothing,e.map)},of:r,sequence:function(e){if(!h(e)&&!v(e))throw new TypeError("Maybe.sequence: Applicative TypeRep or Apply returning function required");var t=d(e);return j(f(t,T.Nothing),S)},traverse:function(e,t){if(!h(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=j(f(n,T.Nothing),t);if(!p(r)&&!m(r))throw new TypeError("Maybe.traverse: Both functions must return an Apply of the same type");return j(y(r),y(r.map(k)))},alt:M("alt"),chain:N("chain"),concat:A("concat"),map:P("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]=P(l.map),t[l.chain]=N(l.chain),t["@@type"]=u,t.constructor=T,t}T.of=k,T.zero=E,T.type=c,T[l.of]=k,T[l.zero]=E,T["@@type"]=u,T["@@implements"]=o(["alt","ap","chain","concat","equals","map","of","traverse","zero"]),e.exports=T},function(e,t,n){
/** @license ISC License (c) copyright 2016 original and current authors */
var r=n(115),i=n(243),o=n(629),a=n(83),s=n(281),c=n(408),u=function(e){return function(){return e}},l=function(e){return c(e)&&e.length};function d(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 f=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&&l(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:u(n[r])},e},{tag:u(t)})}}(r,n),t},{caseOf:r(d(e)),includes:r(f(e))})}},function(e,t,n){
/** @license ISC License (c) copyright 2017 original and current authors */
var r=n(201),i=n(453);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)})}}},function(e,t,n){},function(e,t,n){},function(e,t,n){},function(e,t,n){},function(e,t,n){},function(e,t,n){},function(e,t,n){},function(e,t,n){},function(e,t,n){},function(e,t,n){"use strict";var r=n(412),i=n(413),o=n(1954);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}},function(e,t,n){"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){function t(t,n,r,i,o,a){var s=i||"<<anonymous>>",c=a||r;if(null==n[r])return t?new Error("Required "+o+" `"+c+"` was not specified in `"+s+"`."):null;for(var u=arguments.length,l=Array(u>6?u-6:0),d=6;d<u;d++)l[d-6]=arguments[d];return e.apply(void 0,[n,r,s,o,c].concat(l))}var n=t.bind(null,!1);return n.isRequired=t.bind(null,!0),n},e.exports=t.default},function(e,t,n){"use strict";t.__esModule=!0,t.default=function(e){return e&&e.ownerDocument||document},e.exports=t.default},function(e,t,n){"use strict";t.__esModule=!0;var r=u(n(1048)),i=u(n(1049)),o=u(n(0)),a=u(n(84)),s=u(n(1050)),c=u(n(1051));function u(e){return e&&e.__esModule?e:{default:e}}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(){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,u=Array(i),d=0;d<i;d++)u[d]=arguments[d];return n=r=l(this,e.call.apply(e,[this].concat(u))),r._mountOverlayTarget=function(){r._overlayTarget||(r._overlayTarget=document.createElement("div"),r._portalContainerNode=(0,s.default)(r.props.container,(0,c.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},l(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,c.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);d.displayName="Portal",d.propTypes={container:r.default.oneOfType([i.default,r.default.func]),onRendered:r.default.func},t.default=d,e.exports=t.default},function(e,t,n){},function(e,t,n){},function(e,t,n){},function(e,t,n){},function(e,t,n){},function(e,t,n){},function(e,t,n){},function(e,t,n){},function(e,t,n){},function(e,t,n){},function(e,t,n){},function(e,t,n){},function(e,t,n){},function(e,t,n){},function(e,t,n){},function(e,t,n){},function(e,t,n){},function(e,t,n){},function(e,t,n){"use strict";var r=n(412),i=n(413),o=n(1977);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}},function(e,t,n){"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},function(e,t,n){},function(e,t){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}},function(e,t,n){var r=n(1981),i=n(283),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,"")}},function(e,t,n){var r=n(1982)({"À":"A","Á":"A","Â":"A","Ã":"A","Ä":"A","Å":"A","à":"a","á":"a","â":"a","ã":"a","ä":"a","å":"a","Ç":"C","ç":"c","Ð":"D","ð":"d","È":"E","É":"E","Ê":"E","Ë":"E","è":"e","é":"e","ê":"e","ë":"e","Ì":"I","Í":"I","Î":"I","Ï":"I","ì":"i","í":"i","î":"i","ï":"i","Ñ":"N","ñ":"n","Ò":"O","Ó":"O","Ô":"O","Õ":"O","Ö":"O","Ø":"O","ò":"o","ó":"o","ô":"o","õ":"o","ö":"o","ø":"o","Ù":"U","Ú":"U","Û":"U","Ü":"U","ù":"u","ú":"u","û":"u","ü":"u","Ý":"Y","ý":"y","ÿ":"y","Æ":"Ae","æ":"ae","Þ":"Th","þ":"th","ß":"ss","Ā":"A","Ă":"A","Ą":"A","ā":"a","ă":"a","ą":"a","Ć":"C","Ĉ":"C","Ċ":"C","Č":"C","ć":"c","ĉ":"c","ċ":"c","č":"c","Ď":"D","Đ":"D","ď":"d","đ":"d","Ē":"E","Ĕ":"E","Ė":"E","Ę":"E","Ě":"E","ē":"e","ĕ":"e","ė":"e","ę":"e","ě":"e","Ĝ":"G","Ğ":"G","Ġ":"G","Ģ":"G","ĝ":"g","ğ":"g","ġ":"g","ģ":"g","Ĥ":"H","Ħ":"H","ĥ":"h","ħ":"h","Ĩ":"I","Ī":"I","Ĭ":"I","Į":"I","İ":"I","ĩ":"i","ī":"i","ĭ":"i","į":"i","ı":"i","Ĵ":"J","ĵ":"j","Ķ":"K","ķ":"k","ĸ":"k","Ĺ":"L","Ļ":"L","Ľ":"L","Ŀ":"L","Ł":"L","ĺ":"l","ļ":"l","ľ":"l","ŀ":"l","ł":"l","Ń":"N","Ņ":"N","Ň":"N","Ŋ":"N","ń":"n","ņ":"n","ň":"n","ŋ":"n","Ō":"O","Ŏ":"O","Ő":"O","ō":"o","ŏ":"o","ő":"o","Ŕ":"R","Ŗ":"R","Ř":"R","ŕ":"r","ŗ":"r","ř":"r","Ś":"S","Ŝ":"S","Ş":"S","Š":"S","ś":"s","ŝ":"s","ş":"s","š":"s","Ţ":"T","Ť":"T","Ŧ":"T","ţ":"t","ť":"t","ŧ":"t","Ũ":"U","Ū":"U","Ŭ":"U","Ů":"U","Ű":"U","Ų":"U","ũ":"u","ū":"u","ŭ":"u","ů":"u","ű":"u","ų":"u","Ŵ":"W","ŵ":"w","Ŷ":"Y","ŷ":"y","Ÿ":"Y","Ź":"Z","Ż":"Z","Ž":"Z","ź":"z","ż":"z","ž":"z","Ĳ":"IJ","ĳ":"ij","Œ":"Oe","œ":"oe","ŉ":"'n","ſ":"s"});e.exports=r},function(e,t){e.exports=function(e){return function(t){return null==e?void 0:e[t]}}},function(e,t,n){var r=n(1984),i=n(1985),o=n(283),a=n(1986);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)||[]}},function(e,t){var n=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g;e.exports=function(e){return e.match(n)||[]}},function(e,t){var n=/[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 n.test(e)}},function(e,t){var n="\\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",r="["+n+"]",i="\\d+",o="[\\u2700-\\u27bf]",a="[a-z\\xdf-\\xf6\\xf8-\\xff]",s="[^\\ud800-\\udfff"+n+i+"\\u2700-\\u27bfa-z\\xdf-\\xf6\\xf8-\\xffA-Z\\xc0-\\xd6\\xd8-\\xde]",c="(?:\\ud83c[\\udde6-\\uddff]){2}",u="[\\ud800-\\udbff][\\udc00-\\udfff]",l="[A-Z\\xc0-\\xd6\\xd8-\\xde]",d="(?:"+a+"|"+s+")",f="(?:"+l+"|"+s+")",h="(?:[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]|\\ud83c[\\udffb-\\udfff])?",p="[\\ufe0e\\ufe0f]?"+h+("(?:\\u200d(?:"+["[^\\ud800-\\udfff]",c,u].join("|")+")[\\ufe0e\\ufe0f]?"+h+")*"),m="(?:"+[o,c,u].join("|")+")"+p,v=RegExp([l+"?"+a+"+(?:['’](?:d|ll|m|re|s|t|ve))?(?="+[r,l,"$"].join("|")+")",f+"+(?:['’](?:D|LL|M|RE|S|T|VE))?(?="+[r,l+d,"$"].join("|")+")",l+"?"+d+"+(?:['’](?:d|ll|m|re|s|t|ve))?",l+"+(?:['’](?:D|LL|M|RE|S|T|VE))?","\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])","\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",i,m].join("|"),"g");e.exports=function(e){return e.match(v)||[]}},function(e,t,n){var r=n(283),i=n(1988);e.exports=function(e){return i(r(e).toLowerCase())}},function(e,t,n){var r=n(1989)("toUpperCase");e.exports=r},function(e,t,n){var r=n(1052),i=n(508),o=n(1053),a=n(283);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),c=n?r(n,1).join(""):t.slice(1);return s[e]()+c}}},function(e,t){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}},function(e,t){e.exports=function(e){return e.split("")}},function(e,t){var n="[\\ud800-\\udfff]",r="[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]",i="\\ud83c[\\udffb-\\udfff]",o="[^\\ud800-\\udfff]",a="(?:\\ud83c[\\udde6-\\uddff]){2}",s="[\\ud800-\\udbff][\\udc00-\\udfff]",c="(?:"+r+"|"+i+")"+"?",u="[\\ufe0e\\ufe0f]?"+c+("(?:\\u200d(?:"+[o,a,s].join("|")+")[\\ufe0e\\ufe0f]?"+c+")*"),l="(?:"+[o+r+"?",r,a,s,n].join("|")+")",d=RegExp(i+"(?="+i+")|"+l+u,"g");e.exports=function(e){return e.match(d)||[]}},function(e,t,n){},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),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(0));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}).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},function(e,t,n){"use strict";var r=n(412),i=n(413),o=n(1996);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}},function(e,t,n){"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},function(e,t,n){"use strict";n(106)._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}},function(e,t,n){"use strict";var r=n(509),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},function(e,t,n){"use strict";var r=n(509);t=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,c,u,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,h=-f,p=-f,m=Math.SQRT2*n;this.roundedRect(e,h,p,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":c=Math.cos(Math.PI/4)*n,u=Math.sin(Math.PI/4)*n,e.moveTo(-c,-u),e.lineTo(c,u),e.moveTo(-c,u),e.lineTo(c,-u);break;case"star":e.moveTo(0,n),e.lineTo(0,-n),e.moveTo(-n,0),e.lineTo(n,0),c=Math.cos(Math.PI/4)*n,u=Math.sin(Math.PI/4)*n,e.moveTo(-c,-u),e.lineTo(c,u),e.moveTo(-c,u),e.lineTo(c,-u);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=t.clear,r.drawRoundedRectangle=function(e){e.beginPath(),t.roundedRect.apply(t,arguments)}},function(e,t,n){"use strict";var r=n(509);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}}},function(e,t,n){"use strict";var r=n(1054),i=n(106),o=n(81),a=n(284);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),c=a.getComputedStyle(n)[r],u=a.getComputedStyle(s)[r],l=t(c),d=t(u),f=Number.POSITIVE_INFINITY;return l||d?Math.min(l?e(c,n,i):f,d?e(u,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,c,u=n[e].length;for(t[e]||(t[e]=[]),i=0;i<u;++i)c=n[e][i],s=o.valueOrDefault(c.type,"xAxes"===e?"category":"linear"),i>=t[e].length&&t[e].push({}),!t[e][i].type||c.type&&c.type!==t[e][i].type?o.merge(t[e][i],[a.getScaleDefaults(s),c]):o.merge(t[e][i],c)}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)),c=Math.sqrt(Math.pow(a.x-o.x,2)+Math.pow(a.y-o.y,2)),u=s/(s+c),l=c/(s+c),d=r*(u=isNaN(u)?0:u),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,c,u,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 h=i.model.x-r.model.x;r.deltaK=0!==h?(i.model.y-r.model.y)/h: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,(u=Math.pow(a,2)+Math.pow(s,2))<=9||(c=3/Math.sqrt(u),r.mK=a*c*r.deltaK,i.mK=s*c*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(),c=i.touches;c&&c.length>0?(n=c[0].clientX,r=c[0].clientY):(n=i.clientX,r=i.clientY);var u=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")),h=s.right-s.left-u-d,p=s.bottom-s.top-l-f;return{x:n=Math.round((n-s.left-u)/h*a.width/t.currentDevicePixelRatio),y:r=Math.round((r-s.top-l)/p*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 c=a.length/2;if(c>n.length){for(var u=0;u<c;u++)delete i[a[u]];a.splice(0,c)}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()}}},function(e,t,n){var r=n(2003),i=function(){return new u};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],c=a[2];(i[s]=i[s]||{})[c]=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 u=function(){this.convs={}};u.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))},u.prototype.setValues=function(e,t){return this.space=e,this.convs={},this.convs[e]=t,this},u.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){u.prototype[e]=function(t){return this.routeSpace(e,arguments)}}),e.exports=i},function(e,t){function n(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),c=s-a;return s==a?t=0:r==s?t=(i-o)/c:i==s?t=2+(o-r)/c:o==s&&(t=4+(r-i)/c),(t=Math.min(60*t,360))<0&&(t+=360),n=(a+s)/2,[t,100*(s==a?0:n<=.5?c/(s+a):c/(2-s-a)),100*n]}function i(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),c=s-a;return n=0==s?0:c/s*1e3/10,s==a?t=0:r==s?t=(i-o)/c:i==s?t=2+(o-r)/c:o==s&&(t=4+(r-i)/c),(t=Math.min(60*t,360))<0&&(t+=360),[t,n,s/255*1e3/10]}function o(e){var t=e[0],r=e[1],i=e[2];return[n(e)[0],100*(1/255*Math.min(t,Math.min(r,i))),100*(i=1-1/255*Math.max(t,Math.max(r,i)))]}function a(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 s(e){return E[JSON.stringify(e)]}function c(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=c(e),n=t[0],r=t[1],i=t[2];return r/=100,i/=108.883,n=(n/=95.047)>.008856?Math.pow(n,1/3):7.787*n+16/116,[116*(r=r>.008856?Math.pow(r,1/3):7.787*r+16/116)-16,500*(n-r),200*(r-(i=i>.008856?Math.pow(i,1/3):7.787*i+16/116))]}function l(e){var t,n,r,i,o,a=e[0]/360,s=e[1]/100,c=e[2]/100;if(0==s)return[o=255*c,o,o];t=2*c-(n=c<.5?c*(1+s):c+s-c*s),i=[0,0,0];for(var u=0;u<3;u++)(r=a+1/3*-(u-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[u]=255*o;return i}function d(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),c=255*r*(1-n*(1-o));r*=255;switch(i){case 0:return[r,c,a];case 1:return[s,r,a];case 2:return[a,r,c];case 3:return[a,s,r];case 4:return[c,a,r];case 5:return[r,a,s]}}function f(e){var t,n,i,o,a=e[0]/360,s=e[1]/100,c=e[2]/100,u=s+c;switch(u>1&&(s/=u,c/=u),i=6*a-(t=Math.floor(6*a)),0!=(1&t)&&(i=1-i),o=s+i*((n=1-c)-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 h(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 m(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 v(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 y(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 _(e){return p(v(e))}function w(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 x(e){return k[e]}e.exports={rgb2hsl:n,rgb2hsv:i,rgb2hwb:o,rgb2cmyk:a,rgb2keyword:s,rgb2xyz:c,rgb2lab:u,rgb2lch:function(e){return y(u(e))},hsl2rgb:l,hsl2hsv:function(e){var t=e[0],n=e[1]/100,r=e[2]/100;if(0===r)return[0,0,0];return[t,100*(2*(n*=(r*=2)<=1?r:2-r)/(r+n)),100*((r+n)/2)]},hsl2hwb:function(e){return o(l(e))},hsl2cmyk:function(e){return a(l(e))},hsl2keyword:function(e){return s(l(e))},hsv2rgb:d,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 o(d(e))},hsv2cmyk:function(e){return a(d(e))},hsv2keyword:function(e){return s(d(e))},hwb2rgb:f,hwb2hsl:function(e){return n(f(e))},hwb2hsv:function(e){return i(f(e))},hwb2cmyk:function(e){return a(f(e))},hwb2keyword:function(e){return s(f(e))},cmyk2rgb:h,cmyk2hsl:function(e){return n(h(e))},cmyk2hsv:function(e){return i(h(e))},cmyk2hwb:function(e){return o(h(e))},cmyk2keyword:function(e){return s(h(e))},keyword2rgb:x,keyword2hsl:function(e){return n(x(e))},keyword2hsv:function(e){return i(x(e))},keyword2hwb:function(e){return o(x(e))},keyword2cmyk:function(e){return a(x(e))},keyword2lab:function(e){return u(x(e))},keyword2xyz:function(e){return c(x(e))},xyz2rgb:p,xyz2lab:m,xyz2lch:function(e){return y(m(e))},lab2xyz:v,lab2rgb:_,lab2lch:y,lch2lab:w,lch2xyz:function(e){return v(w(e))},lch2rgb:function(e){return _(w(e))}};var k={aliceblue:[240,248,255],antiquewhite:[250,235,215],aqua:[0,255,255],aquamarine:[127,255,212],azure:[240,255,255],beige:[245,245,220],bisque:[255,228,196],black:[0,0,0],blanchedalmond:[255,235,205],blue:[0,0,255],blueviolet:[138,43,226],brown:[165,42,42],burlywood:[222,184,135],cadetblue:[95,158,160],chartreuse:[127,255,0],chocolate:[210,105,30],coral:[255,127,80],cornflowerblue:[100,149,237],cornsilk:[255,248,220],crimson:[220,20,60],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgoldenrod:[184,134,11],darkgray:[169,169,169],darkgreen:[0,100,0],darkgrey:[169,169,169],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkseagreen:[143,188,143],darkslateblue:[72,61,139],darkslategray:[47,79,79],darkslategrey:[47,79,79],darkturquoise:[0,206,209],darkviolet:[148,0,211],deeppink:[255,20,147],deepskyblue:[0,191,255],dimgray:[105,105,105],dimgrey:[105,105,105],dodgerblue:[30,144,255],firebrick:[178,34,34],floralwhite:[255,250,240],forestgreen:[34,139,34],fuchsia:[255,0,255],gainsboro:[220,220,220],ghostwhite:[248,248,255],gold:[255,215,0],goldenrod:[218,165,32],gray:[128,128,128],green:[0,128,0],greenyellow:[173,255,47],grey:[128,128,128],honeydew:[240,255,240],hotpink:[255,105,180],indianred:[205,92,92],indigo:[75,0,130],ivory:[255,255,240],khaki:[240,230,140],lavender:[230,230,250],lavenderblush:[255,240,245],lawngreen:[124,252,0],lemonchiffon:[255,250,205],lightblue:[173,216,230],lightcoral:[240,128,128],lightcyan:[224,255,255],lightgoldenrodyellow:[250,250,210],lightgray:[211,211,211],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightsalmon:[255,160,122],lightseagreen:[32,178,170],lightskyblue:[135,206,250],lightslategray:[119,136,153],lightslategrey:[119,136,153],lightsteelblue:[176,196,222],lightyellow:[255,255,224],lime:[0,255,0],limegreen:[50,205,50],linen:[250,240,230],magenta:[255,0,255],maroon:[128,0,0],mediumaquamarine:[102,205,170],mediumblue:[0,0,205],mediumorchid:[186,85,211],mediumpurple:[147,112,219],mediumseagreen:[60,179,113],mediumslateblue:[123,104,238],mediumspringgreen:[0,250,154],mediumturquoise:[72,209,204],mediumvioletred:[199,21,133],midnightblue:[25,25,112],mintcream:[245,255,250],mistyrose:[255,228,225],moccasin:[255,228,181],navajowhite:[255,222,173],navy:[0,0,128],oldlace:[253,245,230],olive:[128,128,0],olivedrab:[107,142,35],orange:[255,165,0],orangered:[255,69,0],orchid:[218,112,214],palegoldenrod:[238,232,170],palegreen:[152,251,152],paleturquoise:[175,238,238],palevioletred:[219,112,147],papayawhip:[255,239,213],peachpuff:[255,218,185],peru:[205,133,63],pink:[255,192,203],plum:[221,160,221],powderblue:[176,224,230],purple:[128,0,128],rebeccapurple:[102,51,153],red:[255,0,0],rosybrown:[188,143,143],royalblue:[65,105,225],saddlebrown:[139,69,19],salmon:[250,128,114],sandybrown:[244,164,96],seagreen:[46,139,87],seashell:[255,245,238],sienna:[160,82,45],silver:[192,192,192],skyblue:[135,206,235],slateblue:[106,90,205],slategray:[112,128,144],slategrey:[112,128,144],snow:[255,250,250],springgreen:[0,255,127],steelblue:[70,130,180],tan:[210,180,140],teal:[0,128,128],thistle:[216,191,216],tomato:[255,99,71],turquoise:[64,224,208],violet:[238,130,238],wheat:[245,222,179],white:[255,255,255],whitesmoke:[245,245,245],yellow:[255,255,0],yellowgreen:[154,205,50]},E={};for(var S in k)E[JSON.stringify(k[S])]=S},function(e,t,n){var r=n(2005);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 c(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 u(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 c(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:c,hslString:function(e,t){if(t<1||e[3]&&e[3]<1)return u(e,t);return"hsl("+e[0]+", "+e[1]+"%, "+e[2]+"%)"},hslaString:u,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 h in r)f[r[h]]=h},function(e,t,n){"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]}},function(e,t,n){"use strict";var r=n(106),i=n(223),o=n(81);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,c=n.endAngle;c<s;)c+=2*Math.PI;for(;i>c;)i-=2*Math.PI;for(;i<s;)i+=2*Math.PI;var u=i>=s&&i<=c,l=a>=n.innerRadius&&a<=n.outerRadius;return u&&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()}})},function(e,t,n){"use strict";var r=n(106),i=n(223),o=n(81),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._view,s=this._chart.ctx,c=i.spanGaps,u=this._children.slice(),l=a.elements.line,d=-1;for(this._loop&&u.length&&u.push(u[0]),s.save(),s.lineCap=i.borderCapStyle||l.borderCapStyle,s.setLineDash&&s.setLineDash(i.borderDash||l.borderDash),s.lineDashOffset=i.borderDashOffset||l.borderDashOffset,s.lineJoin=i.borderJoinStyle||l.borderJoinStyle,s.lineWidth=i.borderWidth||l.borderWidth,s.strokeStyle=i.borderColor||a.defaultColor,s.beginPath(),d=-1,e=0;e<u.length;++e)t=u[e],n=o.previousItem(u,e),r=t._view,0===e?r.skip||(s.moveTo(r.x,r.y),d=e):(n=-1===d?n:u[d],r.skip||(d!==e-1&&!c||-1===d?s.moveTo(r.x,r.y):o.canvas.lineTo(s,n._view,t._view),d=e));s.stroke(),s.restore()}})},function(e,t,n){"use strict";var r=n(106),i=n(223),o=n(81),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,c=t.rotation,u=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,u,l,d,c))}})},function(e,t,n){"use strict";var r=n(106),i=n(223);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 c=a.height/2;t=Math.min(a.x,a.base),n=Math.max(a.x,a.base),r=a.y-c,i=a.y+c}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,c=this._view,u=c.borderWidth;if(c.horizontal?(e=c.base,t=c.x,n=c.y-c.height/2,r=c.y+c.height/2,i=t>e?1:-1,o=1,a=c.borderSkipped||"left"):(e=c.x-c.width/2,t=c.x+c.width/2,n=c.y,i=1,o=(r=c.base)>n?1:-1,a=c.borderSkipped||"bottom"),u){var l=Math.min(Math.abs(e-t),Math.abs(n-r)),d=(u=u>l?l:u)/2,f=e+("left"!==a?d*i:0),h=t+("right"!==a?-d*i:0),p=n+("top"!==a?d*o:0),m=r+("bottom"!==a?-d*o:0);f!==h&&(n=p,r=m),p!==m&&(e=f,t=h)}s.beginPath(),s.fillStyle=c.backgroundColor,s.strokeStyle=c.borderColor,s.lineWidth=u;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(),u&&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){if(!this._view)return!1;var n=a(this);return o(this)?e>=n.left&&e<=n.right:t>=n.top&&t<=n.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}}})},function(e,t){e.exports={acquireContext:function(e){return e&&e.canvas&&(e=e.canvas),e&&e.getContext("2d")||null}}},function(e,t,n){"use strict";var r=n(81),i="$chartjs",o="chartjs-",a=o+"render-monitor",s=o+"render-animation",c=["animationstart","webkitAnimationStart"],u={touchstart:"mousedown",touchmove:"mousemove",touchend:"mouseup",pointerenter:"mouseenter",pointerdown:"mousedown",pointermove:"mousemove",pointerup:"mouseup",pointerleave:"mouseout",pointerout:"mouseout"};function l(e,t){var n=r.getStyle(e,t),i=n&&n.match(/^(\d+)(\.\d+)?px$/);return i?Number(i[1]):void 0}var d=!!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 f(e,t,n){e.addEventListener(t,n,d)}function h(e,t,n){e.removeEventListener(t,n,d)}function p(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 m(e,t,n){var u,l,d,h,m=e[i]||(e[i]={}),v=m.resizer=function(e){var t=document.createElement("div"),n=o+"size-monitor",r="position:absolute;left:0;top:0;right:0;bottom:0;overflow:hidden;pointer-events:none;visibility:hidden;z-index:-1;";t.style.cssText=r,t.className=n,t.innerHTML='<div class="'+n+'-expand" style="'+r+'"><div style="position:absolute;width:1000000px;height:1000000px;left:0;top:0"></div></div><div class="'+n+'-shrink" style="'+r+'"><div style="position:absolute;width:200%;height:200%;left:0; top:0"></div></div>';var i=t.childNodes[0],a=t.childNodes[1];t._reset=function(){i.scrollLeft=1e6,i.scrollTop=1e6,a.scrollLeft=1e6,a.scrollTop=1e6};var s=function(){t._reset(),e()};return f(i,"scroll",s.bind(i,"expand")),f(a,"scroll",s.bind(a,"shrink")),t}((u=function(){if(m.resizer)return t(p("resize",n))},d=!1,h=[],function(){h=Array.prototype.slice.call(arguments),l=l||this,d||(d=!0,r.requestAnimFrame.call(window,function(){d=!1,u.apply(l,h)}))}));!function(e,t){var n=e[i]||(e[i]={}),o=n.renderProxy=function(e){e.animationName===s&&t()};r.each(c,function(t){f(e,t,o)}),n.reflow=!!e.offsetParent,e.classList.add(a)}(e,function(){if(m.resizer){var t=e.parentNode;t&&t!==v.parentNode&&t.insertBefore(v,t.firstChild),v._reset()}})}function v(e){var t=e[i]||{},n=t.resizer;delete t.resizer,function(e){var t=e[i]||{},n=t.renderProxy;n&&(r.each(c,function(t){h(e,t,n)}),delete t.renderProxy),e.classList.remove(a)}(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 "+s+"{"+r+"}@keyframes "+s+"{"+r+"}."+a+"{-webkit-animation:"+s+" 0.001s;animation:"+s+" 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"),o=e.getAttribute("width");if(e[i]={initial:{height:r,width:o,style:{display:n.display,height:n.height,width:n.width}}},n.display=n.display||"block",null===o||""===o){var a=l(e,"width");void 0!==a&&(e.width=a)}if(null===r||""===r)if(""===e.style.height)e.height=e.width/(t.options.aspectRatio||2);else{var s=l(e,"height");void 0!==a&&(e.height=s)}}(e,t),n):null},releaseContext:function(e){var t=e.canvas;if(t[i]){var n=t[i].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[i]}},addEventListener:function(e,t,n){var o=e.canvas;if("resize"!==t){var a=n[i]||(n[i]={});f(o,t,(a.proxies||(a.proxies={}))[e.id+"_"+t]=function(t){n(function(e,t){var n=u[e.type]||e.type,i=r.getRelativePosition(e,t);return p(n,t,i.x,i.y,e)}(t,e))})}else m(o,n,e)},removeEventListener:function(e,t,n){var r=e.canvas;if("resize"!==t){var o=((n[i]||{}).proxies||{})[e.id+"_"+t];o&&h(r,t,o)}else v(r)}},r.addEvent=f,r.removeEvent=h},function(e,t,n){"use strict";var r=n(1055),i=n(1056),o=n(106),a=n(81),s=n(1057),c=n(414),u=n(1058),l=n(1059),d=n(284),f=n(1060);e.exports=function(e){function t(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=u.acquireContext(t,n),s=i&&i.canvas,c=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=c,r.aspectRatio=c?l/c: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 c={width:o,height:s};l.notify(t,"resize",[c]),t.options.onResize&&t.options.onResize(t,c),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,n=e.options,r=e.scales||{},i=[],o=Object.keys(r).reduce(function(e,t){return e[t]=!1,e},{});n.scales&&(i=i.concat((n.scales.xAxes||[]).map(function(e){return{options:e,dtype:"category",dposition:"bottom"}}),(n.scales.yAxes||[]).map(function(e){return{options:e,dtype:"linear",dposition:"left"}}))),n.scale&&i.push({options:n.scale,dtype:"radialLinear",isDefault:!0,dposition:"chartArea"}),a.each(i,function(n){var i=n.options,s=i.id,c=a.valueOrDefault(i.type,n.dtype);t(i.position)!==t(n.dposition)&&(i.position=n.dposition),o[s]=!0;var u=null;if(s in r&&r[s].type===c)(u=r[s]).options=i,u.ctx=e.ctx,u.chart=e;else{var l=d.getScaleConstructor(c);if(!l)return;u=new l({id:s,type:c,options:i,ctx:e.ctx,chart:e}),r[u.id]=u}u.mergeTicksOptions(),n.isDefault&&(e.scale=u)}),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 c=e.controllers[a.type];if(void 0===c)throw new Error('"'+a.type+'" is not a chart type.');a.controller=new c(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(t){var n,r,i=this;if(t&&"object"==typeof t||(t={duration:t,lazy:arguments[1]}),r=(n=i).options,a.each(n.scales,function(e){c.removeBox(n,e)}),r=a.configMerge(e.defaults.global,e.defaults[n.config.type],r),n.options=n.config.options=r,n.ensureScalesHaveIDs(),n.buildOrUpdateScales(),n.tooltip._options=r.tooltips,n.tooltip.initialize(),l._invalidate(i),!1!==l.notify(i,"beforeUpdate")){i.tooltip._data=i.data;var o=i.buildOrUpdateControllers();a.each(i.data.datasets,function(e,t){i.getDatasetMeta(t).controller.buildOrUpdateElements()},i),i.updateLayout(),i.options.animation&&i.options.animation.duration&&a.each(o,function(e){e.reset()}),i.updateDatasets(),i.tooltip.initialize(),i.lastActive=[],l.notify(i,"afterUpdate"),i._bufferedRender?i._bufferedRequest={duration:t.duration,easing:t.easing,lazy:t.lazy}:i.render(t)}},updateLayout:function(){!1!==l.notify(this,"beforeLayout")&&(c.update(this,this.width,this.height),l.notify(this,"afterScaleUpdate"),l.notify(this,"afterLayout"))},updateDatasets:function(){if(!1!==l.notify(this,"beforeDatasetsUpdate")){for(var e=0,t=this.data.datasets.length;e<t;++e)this.updateDataset(e);l.notify(this,"afterDatasetsUpdate")}},updateDataset:function(e){var t=this.getDatasetMeta(e),n={meta:t,index:e};!1!==l.notify(this,"beforeDatasetUpdate",[n])&&(t.controller.update(),l.notify(this,"afterDatasetUpdate",[n]))},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,c=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 u=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:c});i.addAnimation(t,u,n,o)}else t.draw(),c(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=0,n=(this.data.datasets||[]).length;t<n;++t)this.isDatasetVisible(t)&&this.getDatasetMeta(t).controller.transition(e);this.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.getDatasetMeta(e),r={meta:n,index:e,easingValue:t};!1!==l.notify(this,"beforeDatasetDraw",[r])&&(n.controller.draw(t),l.notify(this,"afterDatasetDraw",[r]))},_drawTooltip:function(e){var t=this.tooltip,n={tooltip:t,easingValue:e};!1!==l.notify(this,"beforeTooltipDraw",[n])&&(t.draw(),l.notify(this,"afterTooltipDraw",[n]))},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.data.datasets[e];t._meta||(t._meta={});var n=t._meta[this.id];return n||(n=t._meta[this.id]={type:null,data:[],dataset:null,controller:null,hidden:null,xAxisID:null,yAxisID:null}),n},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),u.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){u.addEventListener(e,r,n),t[r]=n}),e.options.responsive&&(n=function(){e.resize()},u.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){u.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}},function(e,t,n){"use strict";var r=n(81);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){this.chart=e,this.index=t,this.linkScales(),this.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.datasetElementType;return e&&new e({_chart:this.chart,_datasetIndex:this.index})},createMetaData:function(e){var t=this.dataElementType;return t&&new t({_chart:this.chart,_datasetIndex:this.index,_index:e})},addElements:function(){var e,t,n=this.getMeta(),r=this.getDataset().data||[],i=n.data;for(e=0,t=r.length;e<t;++e)i[e]=i[e]||this.createMetaData(e);n.dataset=n.dataset||this.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.getMeta(),t=this.getDataset().data,n=e.data.length,r=t.length;r<n?e.data.splice(r,n-r):r>n&&this.insertElements(n,r-n)},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}},function(e,t,n){"use strict";var r=n(81),i=n(415);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 c=Math.floor(t.min/o)*o,u=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)&&(c=e.min,u=e.max);var l=(u-c)/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))),c=Math.round(c*i)/i,u=Math.round(u*i)/i),a.push(void 0!==e.min?e.min:c);for(var d=1;d<l;++d)a.push(Math.round((c+d*o)*i)/i);return a.push(void 0!==e.max?e.max:u),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)}})}},function(e,t,n){"use strict";var r=n(415),i=n(284);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,c=s*(t-r.minIndex);return i&&(c+=s/2),r.left+Math.round(c)}var u=r.height/o,l=u*(t-r.minIndex);return i&&(l+=u/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"})}},function(e,t,n){"use strict";var r=n(106),i=n(81),o=n(284),a=n(416);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 c={};i.each(r,function(r,o){var s=n.getDatasetMeta(o),u=[s.type,void 0===t.stacked&&void 0===s.stack?o:"",s.stack].join(".");void 0===c[u]&&(c[u]={positiveValues:[],negativeValues:[]});var l=c[u].positiveValues,d=c[u].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(c,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?e.min=r:r<e.min&&(e.min=r),null===e.max?e.max=r: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.options.ticks;if(this.isHorizontal())e=Math.min(t.maxTicksLimit?t.maxTicksLimit:11,Math.ceil(this.width/50));else{var n=i.valueOrDefault(t.fontSize,r.global.defaultFontSize);e=Math.min(t.maxTicksLimit?t.maxTicksLimit:11,Math.ceil(this.height/(2*n)))}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)}},function(e,t,n){"use strict";var r=n(81),i=n(415),o=n(284),a=n(416);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 c={};r.each(i,function(i,o){var s=n.getDatasetMeta(o),u=[s.type,void 0===t.stacked&&void 0===s.stack?o:"",s.stack].join(".");n.isDatasetVisible(o)&&a(s)&&(void 0===c[u]&&(c[u]=[]),r.each(i.data,function(t,n){var r=c[u],i=+e.getRightValue(t);isNaN(i)||s.data[n].hidden||i<0||(r[n]=r[n]||0,r[n]+=i)}))}),r.each(c,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?e.min=r:r<e.min&&(e.min=r),null===e.max?e.max=r: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)))),c=Math.floor(r.log10(t.max)),u=Math.ceil(t.max/Math.pow(10,c));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<c||n===c&&i<u);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,c=this,u=c.options.ticks.reverse,l=r.log10,d=c._getFirstTickValue(c.minNotZero),f=0;return t=+c.getRightValue(t),u?(o=c.end,a=c.start,s=-1):(o=c.start,a=c.end,s=1),c.isHorizontal()?(n=c.width,i=u?c.right:c.left):(n=c.height,s*=-1,i=u?c.top:c.bottom),t!==o&&(0===o&&(n-=f=r.getValueOrDefault(c.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,c=s.options.ticks.reverse,u=r.log10,l=s._getFirstTickValue(s.minNotZero);if(c?(i=s.end,o=s.start):(i=s.start,o=s.end),s.isHorizontal()?(n=s.width,a=c?s.right-t:t-s.left):(n=s.height,a=c?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*=u(o)-u(i),a/=n,a=Math.pow(10,u(i)+a)}return a}});o.registerScaleType("logarithmic",n,t)}},function(e,t,n){"use strict";var r=n(106),i=n(81),o=n(284),a=n(416);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 c(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 u(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 h(e){return i.isNumber(e)?e:0}var p=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=c(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,h,p,m=s(e);for(t=0;t<m;t++){r=e.getPointPosition(t,a),f=e.ctx,h=o.size,p=e.pointLabels[t]||"",n=i.isArray(p)?{w:i.longestText(f,f.font,p),h:p.length*h+1.5*(p.length-1)*h}:{w:f.measureText(p).width,h:h},e._pointLabelSizes[t]=n;var v=e.getIndexAngle(t),g=i.toDegrees(v)%360,y=u(g,r.x,n.w,0,180),b=u(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=t.l/Math.sin(n.l),i=Math.max(t.r-this.width,0)/Math.sin(n.r),o=-t.t/Math.cos(n.t),a=-Math.max(t.b-this.height,0)/Math.cos(n.b);r=h(r),i=h(i),o=h(o),a=h(a),this.drawingArea=Math.min(Math.round(e-(r+i)/2),Math.round(e-(o+a)/2)),this.setCenterPoint(r,i,o,a)},setCenterPoint:function(e,t,n,r){var i=this,o=i.width-t-i.drawingArea,a=e+i.drawingArea,s=n+i.drawingArea,c=i.height-r-i.drawingArea;i.xCenter=Math.round((a+o)/2+i.left),i.yCenter=Math.round((s+c)/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.getIndexAngle(e)-Math.PI/2;return{x:Math.round(Math.cos(n)*t)+this.xCenter,y:Math.round(Math.sin(n)*t)+this.yCenter}},getPointPositionForValue:function(e,t){return this.getPointPosition(e,this.getDistanceFromCenterForValue(t))},getBasePosition:function(){var e=this.min,t=this.max;return this.getPointPositionForValue(0,this.beginAtZero?0:e<0&&t<0?t:e>0&&t>0?e:0)},draw:function(){var e=this,n=e.options,r=n.gridLines,o=n.ticks,a=i.valueOrDefault;if(n.display){var u=e.ctx,h=this.getIndexAngle(0),p=a(o.fontSize,t.defaultFontSize),m=a(o.fontStyle,t.defaultFontStyle),v=a(o.fontFamily,t.defaultFontFamily),g=i.fontString(p,m,v);i.each(e.ticks,function(n,c){if(c>0||o.reverse){var l=e.getDistanceFromCenterForValue(e.ticksAsNumbers[c]);if(r.display&&0!==c&&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 c=e.getPointPosition(0,n);o.moveTo(c.x,c.y);for(var u=1;u<a;u++)c=e.getPointPosition(u,n),o.lineTo(c.x,c.y);o.closePath(),o.stroke()}}(e,r,l,c),o.display){var d=a(o.fontColor,t.defaultFontColor);if(u.font=g,u.save(),u.translate(e.xCenter,e.yCenter),u.rotate(h),o.showLabelBackdrop){var f=u.measureText(n).width;u.fillStyle=o.backdropColor,u.fillRect(-f/2-o.backdropPaddingX,-l-p/2-o.backdropPaddingY,f+2*o.backdropPaddingX,p+2*o.backdropPaddingY)}u.textAlign="center",u.textBaseline="middle",u.fillStyle=d,u.fillText(n,0,-l),u.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 u=e.getDistanceFromCenterForValue(r.ticks.reverse?e.min:e.max),h=c(e);n.textBaseline="top";for(var p=s(e)-1;p>=0;p--){if(o.display){var m=e.getPointPosition(p,u);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(p,u+5),g=i.valueAtIndexOrDefault(a.fontColor,p,t.defaultFontColor);n.font=h.font,n.fillStyle=g;var y=e.getIndexAngle(p),b=i.toDegrees(y);n.textAlign=l(b),f(b,e._pointLabelSizes[p],v),d(n,e.pointLabels[p]||"",v,h.size)}}}(e)}}});o.registerScaleType("radialLinear",p,n)}},function(e,t,n){"use strict";var r=n(309);r="function"==typeof r?r:window.moment;var i=n(106),o=n(81),a=n(415),s=n(284),c=Number.MIN_SAFE_INTEGER||-9007199254740991,u=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 h(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 p(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],c=s?(n-o[t])/s:0,u=(a[r]-o[r])*c;return o[r]+u}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,c=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]:u,o.common&&Math.ceil((n-t)/(a*o.size))<=r)return d[i];return d[s-1]}(s.minUnit,e,t,n),f=g(c),h=o.valueOrDefault(s.stepSize,s.unitStepSize),p="week"===c&&s.isoWeekday,m=i.ticks.major.enabled,v=l[c],y=r(e),b=r(t),_=[];for(h||(h=function(e,t,n,r){var i,o,a,s=t-e,c=l[n],u=c.size,d=c.steps;if(!d)return Math.ceil(s/(r*u));for(i=0,o=d.length;i<o&&(a=d[i],!(Math.ceil(s/(u*a))<=r));++i);return a}(e,t,c,n)),p&&(y=y.isoWeekday(p),b=b.isoWeekday(p)),y=y.startOf(p?"day":c),(b=b.startOf(p?"day":c))<t&&b.add(1,c),a=r(y),m&&f&&!p&&!s.round&&(a.startOf(f),a.add(~~((y-a)/(v.size*h))*h,c));a<b;a.add(h,c))_.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.options;return e.time&&e.time.format&&console.warn("options.time.format is deprecated and replaced by options.time.parser."),a.prototype.update.apply(this,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,p=l.options.time,m=p.unit||"day",g=u,y=c,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=h(w).sort(f),g=Math.min(g,w[0]),y=Math.max(y,w[w.length-1])),b.length&&(b=h(b).sort(f),g=Math.min(g,b[0]),y=Math.max(y,b[b.length-1])),g=v(p.min,l)||g,y=v(p.max,l)||y,g=g===u?+r().startOf(m):g,y=y===c?+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,c=s.time,u=[],f=[];switch(s.ticks.source){case"data":u=i._timestamps.data;break;case"labels":u=i._timestamps.labels;break;case"auto":default:u=y(o,a,i.getLabelCapacity(o),s)}for("ticks"===s.bounds&&u.length&&(o=u[0],a=u[u.length-1]),o=v(c.min,i)||o,a=v(c.max,i)||a,e=0,t=u.length;e<t;++e)(n=u[e])>=o&&n<=a&&f.push(n);return i.min=o,i.max=a,i._unit=c.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,c.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,c,u=[],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)c=l[i+1],a=l[i-1],s=l[i],void 0!==a&&void 0!==c&&Math.round((c+a)/2)===s||u.push({time:s,pos:i/(o-1)});return u}(i._timestamps.data,o,a,s.distribution),i._offsets=function(e,t,n,r,i){var o,a,s=0,c=0;return i.offset&&t.length&&(i.time.min||(o=t.length>1?t[1]:r,a=t[0],s=(p(e,"time",o,"pos")-p(e,"time",a,"pos"))/2),i.time.max||(o=t[t.length-1],a=t.length>1?t[t.length-2]:n,c=(p(e,"time",o,"pos")-p(e,"time",a,"pos"))/2)),{left:s,right:c}}(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,c),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.chart.data,r=this.options.time,i=n.labels&&e<n.labels.length?n.labels[e]:"",a=n.datasets[t].data[e];return o.isObject(a)&&(i=this.getRightValue(a)),r.tooltipFormat?m(i,r).format(r.tooltipFormat):"string"==typeof i?i:m(i,r).format(this._labelFormat)},tickFormatFunction:function(e,t,n,r){var i=this.options,a=e.valueOf(),s=i.time.displayFormats,c=s[this._unit],u=this._majorUnit,l=s[u],d=e.clone().startOf(u).valueOf(),f=i.ticks.major,h=f.enabled&&u&&l&&a===d,p=e.format(r||(h?l:c)),m=h?f:i.ticks.minor,v=o.valueOrDefault(m.callback,m.userCallback);return v?v(p,t,n):p},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=p(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=null;if(void 0!==t&&void 0!==n&&(r=this._timestamps.datasets[n][t]),null===r&&(r=v(e,this)),null!==r)return this.getPixelForOffset(r)},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=p(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}}})}},function(e,t,n){var r={"./en-au":1061,"./en-au.js":1061,"./en-ca":1062,"./en-ca.js":1062,"./en-gb":1063,"./en-gb.js":1063,"./en-ie":1064,"./en-ie.js":1064,"./en-il":1065,"./en-il.js":1065,"./en-nz":1066,"./en-nz.js":1066};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=2020},function(e,t,n){"use strict";var r=n(106),i=n(285),o=n(81);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;e.DatasetController.prototype.initialize.apply(this,arguments),(t=this.getMeta()).stack=this.getDataset().stack,t.bar=!0},update:function(e){var t,n,r=this.getMeta().data;for(this._ruler=this.getRuler(),t=0,n=r.length;t<n;++t)this.updateElement(r[t],t,e)},updateElement:function(e,t,n){var r=this,i=r.chart,a=r.getMeta(),s=r.getDataset(),c=e.custom||{},u=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:c.borderSkipped?c.borderSkipped:u.borderSkipped,backgroundColor:c.backgroundColor?c.backgroundColor:o.valueAtIndexOrDefault(s.backgroundColor,t,u.backgroundColor),borderColor:c.borderColor?c.borderColor:o.valueAtIndexOrDefault(s.borderColor,t,u.borderColor),borderWidth:c.borderWidth?c.borderWidth:o.valueAtIndexOrDefault(s.borderWidth,t,u.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(),c=r._ruler||r.getRuler(),u=r.calculateBarValuePixels(r.index,t),l=r.calculateBarIndexPixels(r.index,t,c);i.horizontal=s,i.base=n?a:u.base,i.x=s?n?a:u.head:l.center,i.y=s?l.center:n?a:u.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=this.getIndexScale(),r=this.getStackCount(),i=this.index,a=n.isHorizontal(),s=a?n.left:n.top,c=s+(a?n.width:n.height),u=[];for(e=0,t=this.getMeta().data.length;e<t;++e)u.push(n.getPixelForValue(null,e,i));return{min:o.isNullOrUndef(n.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}(n,u):-1,pixels:u,start:s,end:c,stackCount:r,scale:n}},calculateBarValuePixels:function(e,t){var n,r,i,o,a,s,c=this.chart,u=this.getMeta(),l=this.getValueScale(),d=c.data.datasets,f=l.getRightValue(d[e].data[t]),h=l.options.stacked,p=u.stack,m=0;if(h||void 0===h&&void 0!==p)for(n=0;n<e;++n)(r=c.getDatasetMeta(n)).bar&&r.stack===p&&r.controller.getValueScaleId()===l.id&&c.isDatasetVisible(n)&&(i=l.getRightValue(d[n].data[t]),(f<0&&i<0||f>=0&&i>0)&&(m+=i));return o=l.getPixelForValue(m),{size:s=((a=l.getPixelForValue(m+f))-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,c=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*c,{chunk:(s-a)/2*c/t.stackCount,ratio:n.barPercentage,start:r}}(t,n,r):function(e,t,n){var r,i,a=n.barThickness,s=t.stackCount,c=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:c-r/2}}(t,n,r),a=this.getStackIndex(e,this.getMeta().stack),s=i.start+i.chunk*a+i.chunk/2,c=Math.min(o.valueOrDefault(r.maxBarThickness,1/0),i.chunk*i.ratio);return{base:s-c/2,head:s+c/2,center:s,size:c}},draw:function(){var e=this.chart,t=this.getValueScale(),n=this.getMeta().data,r=this.getDataset(),i=n.length,a=0;for(o.canvas.clipArea(e.ctx,e.chartArea);a<i;++a)isNaN(t.getRightValue(r.data[a]))||n[a].draw();o.canvas.unclipArea(e.ctx)}}),e.controllers.horizontalBar=e.controllers.bar.extend({getValueScaleId:function(){return this.getMeta().xAxisID},getIndexScaleId:function(){return this.getMeta().yAxisID}})}},function(e,t,n){"use strict";var r=n(106),i=n(285),o=n(81);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),c=r._resolveElementOptions(e,t),u=r.getDataset().data[t],l=r.index,d=n?a.getPixelForDecimal(.5):a.getPixelForValue("object"==typeof u?u:NaN,t,l),f=n?s.getBasePixel():s.getPixelForValue(u,t,l);e._xScale=a,e._yScale=s,e._options=c,e._datasetIndex=l,e._index=t,e._model={backgroundColor:c.backgroundColor,borderColor:c.borderColor,borderWidth:c.borderWidth,hitRadius:c.hitRadius,pointStyle:c.pointStyle,rotation:c.rotation,radius:n?0:c.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.chart,s=a.data.datasets[this.index],c=e.custom||{},u=a.options.elements.point,l=o.options.resolve,d=s.data[t],f={},h={chart:a,dataIndex:t,dataset:s,datasetIndex:this.index},p=["backgroundColor","borderColor","borderWidth","hoverBackgroundColor","hoverBorderColor","hoverBorderWidth","hoverRadius","hitRadius","pointStyle","rotation"];for(n=0,r=p.length;n<r;++n)f[i=p[n]]=l([c[i],s[i],u[i]],h,t);return f.radius=l([c.radius,d?d.r:void 0,s.radius,u.radius],h,t),f}})}},function(e,t,n){"use strict";var r=n(106),i=n(285),o=n(81);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],c=s&&s.custom||{},u=o.valueAtIndexOrDefault,l=e.options.elements.arc;return{text:n,fillStyle:c.backgroundColor?c.backgroundColor:u(a.backgroundColor,r,l.backgroundColor),strokeStyle:c.borderColor?c.borderColor:u(a.borderColor,r,l.borderColor),lineWidth:c.borderWidth?c.borderWidth:u(a.borderWidth,r,l.borderWidth),hidden:isNaN(a.data[r])||i.data[r].hidden,index:r}}):[]}},onClick:function(e,t){var n,r,i,o=t.index,a=this.chart;for(n=0,r=(a.data.datasets||[]).length;n<r;++n)(i=a.getDatasetMeta(n)).data[o]&&(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,c=r.bottom-r.top-a.borderWidth,u=Math.min(s,c),l={x:0,y:0},d=t.getMeta(),f=i.cutoutPercentage,h=i.circumference;if(h<2*Math.PI){var p=i.rotation%(2*Math.PI),m=(p+=2*Math.PI*(p>=Math.PI?-1:p<-Math.PI?1:0))+h,v={x:Math.cos(p),y:Math.sin(p)},g={x:Math.cos(m),y:Math.sin(m)},y=p<=0&&m>=0||p<=2*Math.PI&&2*Math.PI<=m,b=p<=.5*Math.PI&&.5*Math.PI<=m||p<=2.5*Math.PI&&2.5*Math.PI<=m,_=p<=-Math.PI&&-Math.PI<=m||p<=Math.PI&&Math.PI<=m,w=p<=.5*-Math.PI&&.5*-Math.PI<=m||p<=1.5*Math.PI&&1.5*Math.PI<=m,x=f/100,k={x:_?-1:Math.min(v.x*(v.x<0?1:x),g.x*(g.x<0?1:x)),y:w?-1:Math.min(v.y*(v.y<0?1:x),g.y*(g.y<0?1:x))},E={x:y?1:Math.max(v.x*(v.x>0?1:x),g.x*(g.x>0?1:x)),y:b?1:Math.max(v.y*(v.y>0?1:x),g.y*(g.y>0?1:x))},S={width:.5*(E.x-k.x),height:.5*(E.y-k.y)};u=Math.min(s/S.width,c/S.height),l={x:-.5*(E.x+k.x),y:-.5*(E.y+k.y)}}n.borderWidth=t.getMaxBorderWidth(d.data),n.outerRadius=Math.max((u-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,c=s.animation,u=(a.left+a.right)/2,l=(a.top+a.bottom)/2,d=s.rotation,f=s.rotation,h=r.getDataset(),p=n&&c.animateRotate?0:e.hidden?0:r.calculateCircumference(h.data[t])*(s.circumference/(2*Math.PI)),m=n&&c.animateScale?0:r.innerRadius,v=n&&c.animateScale?0:r.outerRadius,g=o.valueAtIndexOrDefault;o.extend(e,{_datasetIndex:r.index,_index:t,_model:{x:u+i.offsetX,y:l+i.offsetY,startAngle:d,endAngle:f,circumference:p,outerRadius:v,innerRadius:m,label:g(h.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:_(h.backgroundColor,t,w.backgroundColor),y.borderColor=b.borderColor?b.borderColor:_(h.borderColor,t,w.borderColor),y.borderWidth=b.borderWidth?b.borderWidth:_(h.borderWidth,t,w.borderWidth),n&&c.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}})}},function(e,t,n){"use strict";var r=n(106),i=n(285),o=n(81);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(),c=s.dataset,u=s.data||[],l=a.chart.options,d=l.elements.line,f=a.getScaleForId(s.yAxisID),h=a.getDataset(),p=t(h,l);for(p&&(i=c.custom||{},void 0!==h.tension&&void 0===h.lineTension&&(h.lineTension=h.tension),c._scale=f,c._datasetIndex=a.index,c._children=u,c._model={spanGaps:h.spanGaps?h.spanGaps:l.spanGaps,tension:i.tension?i.tension:o.valueOrDefault(h.lineTension,d.tension),backgroundColor:i.backgroundColor?i.backgroundColor:h.backgroundColor||d.backgroundColor,borderWidth:i.borderWidth?i.borderWidth:h.borderWidth||d.borderWidth,borderColor:i.borderColor?i.borderColor:h.borderColor||d.borderColor,borderCapStyle:i.borderCapStyle?i.borderCapStyle:h.borderCapStyle||d.borderCapStyle,borderDash:i.borderDash?i.borderDash:h.borderDash||d.borderDash,borderDashOffset:i.borderDashOffset?i.borderDashOffset:h.borderDashOffset||d.borderDashOffset,borderJoinStyle:i.borderJoinStyle?i.borderJoinStyle:h.borderJoinStyle||d.borderJoinStyle,fill:i.fill?i.fill:void 0!==h.fill?h.fill:d.fill,steppedLine:i.steppedLine?i.steppedLine:o.valueOrDefault(h.steppedLine,d.stepped),cubicInterpolationMode:i.cubicInterpolationMode?i.cubicInterpolationMode:o.valueOrDefault(h.cubicInterpolationMode,d.cubicInterpolationMode)},c.pivot()),n=0,r=u.length;n<r;++n)a.updateElement(u[n],n,e);for(p&&0!==c._model.tension&&a.updateBezierControlPoints(),n=0,r=u.length;n<r;++n)u[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(),c=e.custom||{},u=a.getDataset(),l=a.index,d=u.data[t],f=a.getScaleForId(s.yAxisID),h=a.getScaleForId(s.xAxisID),p=a.chart.options.elements.point;void 0!==u.radius&&void 0===u.pointRadius&&(u.pointRadius=u.radius),void 0!==u.hitRadius&&void 0===u.pointHitRadius&&(u.pointHitRadius=u.hitRadius),r=h.getPixelForValue("object"==typeof d?d:NaN,t,l),i=n?f.getBasePixel():a.calculatePointY(d,t,l),e._xScale=h,e._yScale=f,e._datasetIndex=l,e._index=t,e._model={x:r,y:i,skip:c.skip||isNaN(r)||isNaN(i),radius:c.radius||o.valueAtIndexOrDefault(u.pointRadius,t,p.radius),pointStyle:c.pointStyle||o.valueAtIndexOrDefault(u.pointStyle,t,p.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:c.hitRadius||o.valueAtIndexOrDefault(u.pointHitRadius,t,p.hitRadius)}},calculatePointY:function(e,t,n){var r,i,o,a=this.chart,s=this.getMeta(),c=this.getScaleForId(s.yAxisID),u=0,l=0;if(c.options.stacked){for(r=0;r<n;r++)if(i=a.data.datasets[r],"line"===(o=a.getDatasetMeta(r)).type&&o.yAxisID===c.id&&a.isDatasetVisible(r)){var d=Number(c.getRightValue(i.data[t]));d<0?l+=d||0:u+=d||0}var f=Number(c.getRightValue(e));return f<0?c.getPixelForValue(l+f):c.getPixelForValue(u+f)}return c.getPixelForValue(e)},updateBezierControlPoints:function(){var e,t,n,r,i=this.getMeta(),a=this.chart.chartArea,s=i.data||[];function c(e,t,n){return Math.max(Math.min(e,n),t)}if(i.dataset._model.spanGaps&&(s=s.filter(function(e){return!e._model.skip})),"monotone"===i.dataset._model.cubicInterpolationMode)o.splineCurveMonotone(s);else for(e=0,t=s.length;e<t;++e)n=s[e]._model,r=o.splineCurve(o.previousItem(s,e)._model,n,o.nextItem(s,e)._model,i.dataset._model.tension),n.controlPointPreviousX=r.previous.x,n.controlPointPreviousY=r.previous.y,n.controlPointNextX=r.next.x,n.controlPointNextY=r.next.y;if(this.chart.options.elements.line.capBezierPoints)for(e=0,t=s.length;e<t;++e)(n=s[e]._model).controlPointPreviousX=c(n.controlPointPreviousX,a.left,a.right),n.controlPointPreviousY=c(n.controlPointPreviousY,a.top,a.bottom),n.controlPointNextX=c(n.controlPointNextX,a.left,a.right),n.controlPointNextY=c(n.controlPointNextY,a.top,a.bottom)},draw:function(){var e,n=this.chart,r=this.getMeta(),i=r.data||[],a=n.chartArea,s=i.length,c=0;for(t(this.getDataset(),n.options)&&(e=(r.dataset._model.borderWidth||0)/2,o.canvas.clipArea(n.ctx,{left:a.left,right:a.right,top:a.top-e,bottom:a.bottom+e}),r.dataset.draw(),o.canvas.unclipArea(n.ctx));c<s;++c)i[c].draw(a)},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)}})}},function(e,t,n){"use strict";var r=n(106),i=n(285),o=n(81);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||{},c=o.valueAtIndexOrDefault,u=e.options.elements.arc;return{text:n,fillStyle:s.backgroundColor?s.backgroundColor:c(a.backgroundColor,r,u.backgroundColor),strokeStyle:s.borderColor?s.borderColor:c(a.borderColor,r,u.borderColor),lineWidth:s.borderWidth?s.borderWidth:c(a.borderWidth,r,u.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(),c=i.chart.options.startAngle||0,u=i._starts=[],l=i._angles=[];for(i._updateRadius(),s.count=i.countVisibleElements(),t=0,n=a.data.length;t<n;t++)u[t]=c,r=i._computeAngle(t),l[t]=r,c+=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,c=s.animation,u=i.scale,l=i.data.labels,d=u.xCenter,f=u.yCenter,h=s.startAngle,p=e.hidden?0:u.getDistanceFromCenterForValue(a.data[t]),m=r._starts[t],v=m+(e.hidden?0:r._angles[t]),g=c.animateScale?0:u.getDistanceFromCenterForValue(a.data[t]);o.extend(e,{_datasetIndex:r.index,_index:t,_scale:u,_model:{x:d,y:f,innerRadius:0,outerRadius:n?g:p,startAngle:n&&c.animateRotate?h:m,endAngle:n&&c.animateRotate?h: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)}})}},function(e,t,n){"use strict";var r=n(106),i=n(285),o=n(81);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(),c=t.chart.options.elements.line,u=t.chart.scale;void 0!==s.tension&&void 0===s.lineTension&&(s.lineTension=s.tension),o.extend(n.dataset,{_datasetIndex:t.index,_scale:u,_children:i,_loop:!0,_model:{tension:a.tension?a.tension:o.valueOrDefault(s.lineTension,c.tension),backgroundColor:a.backgroundColor?a.backgroundColor:s.backgroundColor||c.backgroundColor,borderWidth:a.borderWidth?a.borderWidth:s.borderWidth||c.borderWidth,borderColor:a.borderColor?a.borderColor:s.borderColor||c.borderColor,fill:a.fill?a.fill:void 0!==s.fill?s.fill:c.fill,borderCapStyle:a.borderCapStyle?a.borderCapStyle:s.borderCapStyle||c.borderCapStyle,borderDash:a.borderDash?a.borderDash:s.borderDash||c.borderDash,borderDashOffset:a.borderDashOffset?a.borderDashOffset:s.borderDashOffset||c.borderDashOffset,borderJoinStyle:a.borderJoinStyle?a.borderJoinStyle:s.borderJoinStyle||c.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,c=r.chart.options.elements.point,u=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:u.x,y:n?s.yCenter:u.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,c.radius),backgroundColor:i.backgroundColor?i.backgroundColor:o.valueAtIndexOrDefault(a.pointBackgroundColor,t,c.backgroundColor),borderColor:i.borderColor?i.borderColor:o.valueAtIndexOrDefault(a.pointBorderColor,t,c.borderColor),borderWidth:i.borderWidth?i.borderWidth:o.valueAtIndexOrDefault(a.pointBorderWidth,t,c.borderWidth),pointStyle:i.pointStyle?i.pointStyle:o.valueAtIndexOrDefault(a.pointStyle,t,c.pointStyle),rotation:i.rotation?i.rotation:o.valueAtIndexOrDefault(a.pointRotation,t,c.rotation),hitRadius:i.hitRadius?i.hitRadius:o.valueAtIndexOrDefault(a.pointHitRadius,t,c.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)}})}},function(e,t,n){"use strict";n(106)._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}},function(e,t,n){"use strict";e.exports=function(e){e.Bar=function(t,n){return n.type="bar",new e(t,n)}}},function(e,t,n){"use strict";e.exports=function(e){e.Bubble=function(t,n){return n.type="bubble",new e(t,n)}}},function(e,t,n){"use strict";e.exports=function(e){e.Doughnut=function(t,n){return n.type="doughnut",new e(t,n)}}},function(e,t,n){"use strict";e.exports=function(e){e.Line=function(t,n){return n.type="line",new e(t,n)}}},function(e,t,n){"use strict";e.exports=function(e){e.PolarArea=function(t,n){return n.type="polarArea",new e(t,n)}}},function(e,t,n){"use strict";e.exports=function(e){e.Radar=function(t,n){return n.type="radar",new e(t,n)}}},function(e,t,n){"use strict";e.exports=function(e){e.Scatter=function(t,n){return n.type="scatter",new e(t,n)}}},function(e,t,n){"use strict";e.exports={},e.exports.filler=n(2036),e.exports.legend=n(2037),e.exports.title=n(2038)},function(e,t,n){"use strict";var r=n(106),i=n(285),o=n(81);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 c(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 u(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,h=[];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,h.push(a);for(r=0;r<d;++r)(a=h[r])&&(a.fill=u(h,r,f),a.boundary=c(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,c=a._children||[],u=n.mapper,l=s.backgroundColor||r.global.defaultColor;u&&l&&c.length&&(o.canvas.clipArea(i,e.chartArea),function(e,t,n,r,i,o){var a,s,c,u,l,h,p,m=t.length,v=r.spanGaps,g=[],y=[],b=0,_=0;for(e.beginPath(),a=0,s=m+!!o;a<s;++a)l=n(u=t[c=a%m]._view,c,r),h=d(u),p=d(l),h&&p?(b=g.push(u),_=y.push(l)):b&&_&&(v?(h&&g.push(u),p&&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,c,u,s,l,a._loop),o.canvas.unclipArea(i))}}}},function(e,t,n){"use strict";var r=n(106),i=n(223),o=n(81),a=n(414),s=o.noop;function c(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 u=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,u=o.valueOrDefault,l=u(n.fontSize,s.defaultFontSize),d=u(n.fontStyle,s.defaultFontStyle),f=u(n.fontFamily,s.defaultFontFamily),h=o.fontString(l,d,f),p=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=h,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=c(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),p[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,x=0,k=0,E=l+b;o.each(e.legendItems,function(e,t){var r=c(n,l)+l/2+a.measureText(e.text).width;k+E>m.height&&(w+=x+n.padding,_.push(x),x=0,k=0),x=Math.max(x,r),k+=E,p[t]={left:0,top:0,width:r,height:l}}),w+=x,_.push(x),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,u=e.lineWidths;if(t.display){var l,d=e.ctx,f=o.valueOrDefault,h=f(n.fontColor,i.defaultFontColor),p=f(n.fontSize,i.defaultFontSize),m=f(n.fontStyle,i.defaultFontStyle),v=f(n.fontFamily,i.defaultFontFamily),g=o.fontString(p,m,v);d.textAlign="left",d.textBaseline="middle",d.lineWidth=.5,d.strokeStyle=h,d.fillStyle=h,d.font=g;var y=c(n,p),b=e.legendHitBoxes,_=e.isHorizontal();l=_?{x:e.left+(s-u[0])/2,y:e.top+n.padding,line:0}:{x:e.left+n.padding,y:e.top+n.padding,line:0};var w=p+n.padding;o.each(e.legendItems,function(r,c){var h=d.measureText(r.text).width,m=y+p/2+h,v=l.x,g=l.y;_?v+m>=s&&(g=l.y+=w,l.line++,v=l.x=e.left+(s-u[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 c=p*Math.SQRT2/2,u=c/Math.SQRT2,l=e+u,h=n+u;o.canvas.drawPoint(d,r.pointStyle,c,l,h)}else s||d.strokeRect(e,n,y,p),d.fillRect(e,n,y,p);d.restore()}}(v,g,r),b[c].left=v,b[c].top=g,function(e,t,n,r){var i=p/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,h),_?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,c=0;c<s.length;++c){var u=s[c];if(o>=u.left&&o<=u.left+u.width&&a>=u.top&&a<=u.top+u.height){if("click"===r){n.onClick.call(t,e.native,t.legendItems[c]),i=!0;break}if("mousemove"===r){n.onHover.call(t,e.native,t.legendItems[c]),i=!0;break}}}return i}});function l(e,t){var n=new u({ctx:e.ctx,options:t,chart:e});a.configure(e,n,t),a.addBox(e,n),e.legend=n}e.exports={id:"legend",_element:u,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)}}},function(e,t,n){"use strict";var r=n(106),i=n(223),o=n(81),a=n(414),s=o.noop;r._set("global",{title:{display:!1,fontStyle:"bold",fullWidth:!0,lineHeight:1.2,padding:10,position:"top",text:"",weight:2e3}});var c=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,c=o.isArray(n.text)?n.text.length:1,u=o.options.toLineHeight(n.lineHeight,a),l=i?c*u+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,c,u,l=n(i.fontSize,a.defaultFontSize),d=n(i.fontStyle,a.defaultFontStyle),f=n(i.fontFamily,a.defaultFontFamily),h=o.fontString(l,d,f),p=o.options.toLineHeight(i.lineHeight,l),m=p/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=h,e.isHorizontal()?(c=y+(_-y)/2,u=g+m,s=_-y):(c="left"===i.position?y+m:_-m,u=g+(b-g)/2,s=b-g,v=Math.PI*("left"===i.position?-.5:.5)),t.save(),t.translate(c,u),t.rotate(v),t.textAlign="center",t.textBaseline="middle";var w=i.text;if(o.isArray(w))for(var x=0,k=0;k<w.length;++k)t.fillText(w[k],0,x,s),x+=p;else t.fillText(w,0,0,s);t.restore()}}});function u(e,t){var n=new c({ctx:e.ctx,options:t,chart:e});a.configure(e,n,t),a.addBox(e,n),e.titleBlock=n}e.exports={id:"title",_element:c,beforeInit:function(e){var t=e.options.title;t&&u(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):u(e,t)):n&&(a.removeBox(e,n),delete e.titleBlock)}}},function(e,t,n){var r=n(1067),i=n(1072),o=n(2073),a=n(2077),s=n(2095),c=n(255),u=n(1074),l=n(1076),d=1,f="[object Arguments]",h="[object Array]",p="[object Object]",m=Object.prototype.hasOwnProperty;e.exports=function(e,t,n,v,g,y){var b=c(e),_=c(t),w=b?h:s(e),x=_?h:s(t),k=(w=w==f?p:w)==p,E=(x=x==f?p:x)==p,S=w==x;if(S&&u(e)){if(!u(t))return!1;b=!0,k=!1}if(S&&!k)return y||(y=new r),b||l(e)?i(e,t,n,v,g,y):o(e,t,w,n,v,g,y);if(!(n&d)){var T=k&&m.call(e,"__wrapped__"),C=E&&m.call(t,"__wrapped__");if(T||C){var O=T?e.value():e,j=C?t.value():t;return y||(y=new r),g(O,j,n,v,y)}}return!!S&&(y||(y=new r),a(e,t,n,v,g,y))}},function(e,t){e.exports=function(){this.__data__=[],this.size=0}},function(e,t,n){var r=n(511),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))}},function(e,t,n){var r=n(511);e.exports=function(e){var t=this.__data__,n=r(t,e);return n<0?void 0:t[n][1]}},function(e,t,n){var r=n(511);e.exports=function(e){return r(this.__data__,e)>-1}},function(e,t,n){var r=n(511);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}},function(e,t,n){var r=n(510);e.exports=function(){this.__data__=new r,this.size=0}},function(e,t){e.exports=function(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n}},function(e,t){e.exports=function(e){return this.__data__.get(e)}},function(e,t){e.exports=function(e){return this.__data__.has(e)}},function(e,t,n){var r=n(510),i=n(652),o=n(653),a=200;e.exports=function(e,t){var n=this.__data__;if(n instanceof r){var s=n.__data__;if(!i||s.length<a-1)return s.push([e,t]),this.size=++n.size,this;n=this.__data__=new o(s)}return n.set(e,t),this.size=n.size,this}},function(e,t,n){var r=n(1069),i=n(2053),o=n(513),a=n(1071),s=/^\[object .+?Constructor\]$/,c=Function.prototype,u=Object.prototype,l=c.toString,d=u.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))}},function(e,t,n){var r=n(512),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}},function(e,t){var n=Object.prototype.toString;e.exports=function(e){return n.call(e)}},function(e,t,n){var r,i=n(2054),o=(r=/[^.]+$/.exec(i&&i.keys&&i.keys.IE_PROTO||""))?"Symbol(src)_1."+r:"";e.exports=function(e){return!!o&&o in e}},function(e,t,n){var r=n(254)["__core-js_shared__"];e.exports=r},function(e,t){e.exports=function(e,t){return null==e?void 0:e[t]}},function(e,t,n){var r=n(2057),i=n(510),o=n(652);e.exports=function(){this.size=0,this.__data__={hash:new r,map:new(o||i),string:new r}}},function(e,t,n){var r=n(2058),i=n(2059),o=n(2060),a=n(2061),s=n(2062);function c(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])}}c.prototype.clear=r,c.prototype.delete=i,c.prototype.get=o,c.prototype.has=a,c.prototype.set=s,e.exports=c},function(e,t,n){var r=n(514);e.exports=function(){this.__data__=r?r(null):{},this.size=0}},function(e,t){e.exports=function(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t}},function(e,t,n){var r=n(514),i="__lodash_hash_undefined__",o=Object.prototype.hasOwnProperty;e.exports=function(e){var t=this.__data__;if(r){var n=t[e];return n===i?void 0:n}return o.call(t,e)?t[e]:void 0}},function(e,t,n){var r=n(514),i=Object.prototype.hasOwnProperty;e.exports=function(e){var t=this.__data__;return r?void 0!==t[e]:i.call(t,e)}},function(e,t,n){var r=n(514),i="__lodash_hash_undefined__";e.exports=function(e,t){var n=this.__data__;return this.size+=this.has(e)?0:1,n[e]=r&&void 0===t?i:t,this}},function(e,t,n){var r=n(515);e.exports=function(e){var t=r(this,e).delete(e);return this.size-=t?1:0,t}},function(e,t){e.exports=function(e){var t=typeof e;return"string"==t||"number"==t||"symbol"==t||"boolean"==t?"__proto__"!==e:null===e}},function(e,t,n){var r=n(515);e.exports=function(e){return r(this,e).get(e)}},function(e,t,n){var r=n(515);e.exports=function(e){return r(this,e).has(e)}},function(e,t,n){var r=n(515);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}},function(e,t,n){var r=n(653),i=n(2069),o=n(2070);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},function(e,t){var n="__lodash_hash_undefined__";e.exports=function(e){return this.__data__.set(e,n),this}},function(e,t){e.exports=function(e){return this.__data__.has(e)}},function(e,t){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}},function(e,t){e.exports=function(e,t){return e.has(t)}},function(e,t,n){var r=n(512),i=n(2074),o=n(1068),a=n(1072),s=n(2075),c=n(2076),u=1,l=2,d="[object Boolean]",f="[object Date]",h="[object Error]",p="[object Map]",m="[object Number]",v="[object RegExp]",g="[object Set]",y="[object String]",b="[object Symbol]",_="[object ArrayBuffer]",w="[object DataView]",x=r?r.prototype:void 0,k=x?x.valueOf:void 0;e.exports=function(e,t,n,r,x,E,S){switch(n){case w:if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)return!1;e=e.buffer,t=t.buffer;case _:return!(e.byteLength!=t.byteLength||!E(new i(e),new i(t)));case d:case f:case m:return o(+e,+t);case h:return e.name==t.name&&e.message==t.message;case v:case y:return e==t+"";case p:var T=s;case g:var C=r&u;if(T||(T=c),e.size!=t.size&&!C)return!1;var O=S.get(e);if(O)return O==t;r|=l,S.set(e,t);var j=a(T(e),T(t),r,x,E,S);return S.delete(e),j;case b:if(k)return k.call(e)==k.call(t)}return!1}},function(e,t,n){var r=n(254).Uint8Array;e.exports=r},function(e,t){e.exports=function(e){var t=-1,n=Array(e.size);return e.forEach(function(e,r){n[++t]=[r,e]}),n}},function(e,t){e.exports=function(e){var t=-1,n=Array(e.size);return e.forEach(function(e){n[++t]=e}),n}},function(e,t,n){var r=n(2078),i=1,o=Object.prototype.hasOwnProperty;e.exports=function(e,t,n,a,s,c){var u=n&i,l=r(e),d=l.length;if(d!=r(t).length&&!u)return!1;for(var f=d;f--;){var h=l[f];if(!(u?h in t:o.call(t,h)))return!1}var p=c.get(e);if(p&&c.get(t))return p==t;var m=!0;c.set(e,t),c.set(t,e);for(var v=u;++f<d;){var g=e[h=l[f]],y=t[h];if(a)var b=u?a(y,g,h,t,e,c):a(g,y,h,e,t,c);if(!(void 0===b?g===y||s(g,y,n,a,c):b)){m=!1;break}v||(v="constructor"==h)}if(m&&!v){var _=e.constructor,w=t.constructor;_!=w&&"constructor"in e&&"constructor"in t&&!("function"==typeof _&&_ instanceof _&&"function"==typeof w&&w instanceof w)&&(m=!1)}return c.delete(e),c.delete(t),m}},function(e,t,n){var r=n(2079),i=n(2081),o=n(516);e.exports=function(e){return r(e,o,i)}},function(e,t,n){var r=n(2080),i=n(255);e.exports=function(e,t,n){var o=t(e);return i(e)?o:r(o,n(e))}},function(e,t){e.exports=function(e,t){for(var n=-1,r=t.length,i=e.length;++n<r;)e[i+n]=t[n];return e}},function(e,t,n){var r=n(2082),i=n(2083),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},function(e,t){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}},function(e,t){e.exports=function(){return[]}},function(e,t,n){var r=n(2085),i=n(1073),o=n(255),a=n(1074),s=n(1075),c=n(1076),u=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&&c(e),h=n||l||d||f,p=h?r(e.length,String):[],m=p.length;for(var v in e)!t&&!u.call(e,v)||h&&("length"==v||d&&("offset"==v||"parent"==v)||f&&("buffer"==v||"byteLength"==v||"byteOffset"==v)||s(v,m))||p.push(v);return p}},function(e,t){e.exports=function(e,t){for(var n=-1,r=Array(e);++n<e;)r[n]=t(n);return r}},function(e,t,n){var r=n(417),i=n(418),o="[object Arguments]";e.exports=function(e){return i(e)&&r(e)==o}},function(e,t){e.exports=function(){return!1}},function(e,t,n){var r=n(417),i=n(654),o=n(418),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)]}},function(e,t){e.exports=function(e){return function(t){return e(t)}}},function(e,t,n){(function(e){var r=n(1070),i=t&&!t.nodeType&&t,o=i&&"object"==typeof e&&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}).call(this,n(249)(e))},function(e,t,n){var r=n(2092),i=n(2093),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}},function(e,t){var n=Object.prototype;e.exports=function(e){var t=e&&e.constructor;return e===("function"==typeof t&&t.prototype||n)}},function(e,t,n){var r=n(2094)(Object.keys,Object);e.exports=r},function(e,t){e.exports=function(e,t){return function(n){return e(t(n))}}},function(e,t,n){var r=n(2096),i=n(652),o=n(2097),a=n(2098),s=n(2099),c=n(417),u=n(1071),l=u(r),d=u(i),f=u(o),h=u(a),p=u(s),m=c;(r&&"[object DataView]"!=m(new r(new ArrayBuffer(1)))||i&&"[object Map]"!=m(new i)||o&&"[object Promise]"!=m(o.resolve())||a&&"[object Set]"!=m(new a)||s&&"[object WeakMap]"!=m(new s))&&(m=function(e){var t=c(e),n="[object Object]"==t?e.constructor:void 0,r=n?u(n):"";if(r)switch(r){case l:return"[object DataView]";case d:return"[object Map]";case f:return"[object Promise]";case h:return"[object Set]";case p:return"[object WeakMap]"}return t}),e.exports=m},function(e,t,n){var r=n(310)(n(254),"DataView");e.exports=r},function(e,t,n){var r=n(310)(n(254),"Promise");e.exports=r},function(e,t,n){var r=n(310)(n(254),"Set");e.exports=r},function(e,t,n){var r=n(310)(n(254),"WeakMap");e.exports=r},function(e,t,n){var r=n(2101)(n(2120));e.exports=r},function(e,t,n){var r=n(656),i=n(655),o=n(516);e.exports=function(e){return function(t,n,a){var s=Object(t);if(!i(t)){var c=r(n,3);t=o(t),n=function(e){return c(s[e],e,s)}}var u=e(t,n,a);return u>-1?s[c?t[u]:u]:void 0}}},function(e,t,n){var r=n(2103),i=n(2104),o=n(1078);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)}}},function(e,t,n){var r=n(1067),i=n(651),o=1,a=2;e.exports=function(e,t,n,s){var c=n.length,u=c,l=!s;if(null==e)return!u;for(e=Object(e);c--;){var d=n[c];if(l&&d[2]?d[1]!==e[d[0]]:!(d[0]in e))return!1}for(;++c<u;){var f=(d=n[c])[0],h=e[f],p=d[1];if(l&&d[2]){if(void 0===h&&!(f in e))return!1}else{var m=new r;if(s)var v=s(h,p,f,e,t,m);if(!(void 0===v?i(p,h,o|a,s,m):v))return!1}}return!0}},function(e,t,n){var r=n(1077),i=n(516);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}},function(e,t,n){var r=n(651),i=n(2106),o=n(2113),a=n(657),s=n(1077),c=n(1078),u=n(518),l=1,d=2;e.exports=function(e,t){return a(e)&&s(t)?c(u(e),t):function(n){var a=i(n,e);return void 0===a&&a===t?o(n,e):r(t,a,l|d)}}},function(e,t,n){var r=n(1079);e.exports=function(e,t,n){var i=null==e?void 0:r(e,t);return void 0===i?n:i}},function(e,t,n){var r=n(2108),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},function(e,t,n){var r=n(2109),i=500;e.exports=function(e){var t=r(e,function(e){return n.size===i&&n.clear(),e}),n=t.cache;return t}},function(e,t,n){var r=n(653),i="Expected a function";function o(e,t){if("function"!=typeof e||null!=t&&"function"!=typeof t)throw new TypeError(i);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(o.Cache||r),n}o.Cache=r,e.exports=o},function(e,t,n){var r=n(2111);e.exports=function(e){return null==e?"":r(e)}},function(e,t,n){var r=n(512),i=n(2112),o=n(255),a=n(517),s=1/0,c=r?r.prototype:void 0,u=c?c.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==-s?"-0":n}},function(e,t){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}},function(e,t,n){var r=n(2114),i=n(2115);e.exports=function(e,t){return null!=e&&i(e,t,r)}},function(e,t){e.exports=function(e,t){return null!=e&&t in Object(e)}},function(e,t,n){var r=n(1080),i=n(1073),o=n(255),a=n(1075),s=n(654),c=n(518);e.exports=function(e,t,n){for(var u=-1,l=(t=r(t,e)).length,d=!1;++u<l;){var f=c(t[u]);if(!(d=null!=e&&n(e,f)))break;e=e[f]}return d||++u!=l?d:!!(l=null==e?0:e.length)&&s(l)&&a(f,l)&&(o(e)||i(e))}},function(e,t){e.exports=function(e){return e}},function(e,t,n){var r=n(2118),i=n(2119),o=n(657),a=n(518);e.exports=function(e){return o(e)?r(a(e)):i(e)}},function(e,t){e.exports=function(e){return function(t){return null==t?void 0:t[e]}}},function(e,t,n){var r=n(1079);e.exports=function(e){return function(t){return r(t,e)}}},function(e,t,n){var r=n(2121),i=n(656),o=n(2122),a=Math.max;e.exports=function(e,t,n){var s=null==e?0:e.length;if(!s)return-1;var c=null==n?0:o(n);return c<0&&(c=a(s+c,0)),r(e,i(t,3),c)}},function(e,t){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}},function(e,t,n){var r=n(2123);e.exports=function(e){var t=r(e),n=t%1;return t==t?n?t-n:t:0}},function(e,t,n){var r=n(2124),i=1/0,o=1.7976931348623157e308;e.exports=function(e){return e?(e=r(e))===i||e===-i?(e<0?-1:1)*o:e==e?e:0:0===e?e:0}},function(e,t,n){var r=n(513),i=n(517),o=NaN,a=/^\s+|\s+$/g,s=/^[-+]0x[0-9a-f]+$/i,c=/^0b[01]+$/i,u=/^0o[0-7]+$/i,l=parseInt;e.exports=function(e){if("number"==typeof e)return e;if(i(e))return o;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(a,"");var n=c.test(e);return n||u.test(e)?l(e.slice(2),n?2:8):s.test(e)?o:+e}},function(e,t,n){var r=n(2126);e.exports=function(e,t,n){"__proto__"==t&&r?r(e,t,{configurable:!0,enumerable:!0,value:n,writable:!0}):e[t]=n}},function(e,t,n){var r=n(310),i=function(){try{var e=r(Object,"defineProperty");return e({},"",{}),e}catch(e){}}();e.exports=i},function(e,t,n){var r=n(2128),i=n(2129),o=n(656),a=n(255);e.exports=function(e,t){return function(n,s){var c=a(n)?r:i,u=t?t():{};return c(n,e,o(s,2),u)}}},function(e,t){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}},function(e,t,n){var r=n(2130);e.exports=function(e,t,n,i){return r(e,function(e,r,o){t(i,e,n(e),o)}),i}},function(e,t,n){var r=n(2131),i=n(2134)(r);e.exports=i},function(e,t,n){var r=n(2132),i=n(516);e.exports=function(e,t){return e&&r(e,t,i)}},function(e,t,n){var r=n(2133)();e.exports=r},function(e,t){e.exports=function(e){return function(t,n,r){for(var i=-1,o=Object(t),a=r(t),s=a.length;s--;){var c=a[e?s:++i];if(!1===n(o[c],c,o))break}return t}}},function(e,t,n){var r=n(655);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}}},function(e,t,n){},function(e,t,n){},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;return Math.round(Math.sqrt((1-n)*Math.pow(e,2)+n*Math.pow(t,2)))};t.default=r},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;return Number(((1-n)*e+n*t).toFixed(2))};t.default=r},function(e,t,n){"use strict";function r(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=[],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")}()}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=function(){var e=r(arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],4),t=e[0],n=void 0===t?0:t,i=e[1],o=void 0===i?0:i,a=e[2],s=void 0===a?0:a,c=e[3],u=void 0===c?1:c,l=(1<<24|n<<16|o<<8|s).toString(16).slice(1),d=(255*u).toString(16).padStart(2,"0").slice(0,2);return"#".concat(l).concat(d)};t.default=i},function(e,t,n){var r=n(2141),i=n(899),o=n(900),a=o&&o.isRegExp,s=a?i(a):r;e.exports=s},function(e,t,n){var r=n(338),i=n(339),o="[object RegExp]";e.exports=function(e){return i(e)&&r(e)==o}},function(e,t,n){var r=n(2143),i=n(508),o=n(2144);e.exports=function(e){return i(e)?o(e):r(e)}},function(e,t,n){var r=n(908)("length");e.exports=r},function(e,t){var n="[\\ud800-\\udfff]",r="[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]",i="\\ud83c[\\udffb-\\udfff]",o="[^\\ud800-\\udfff]",a="(?:\\ud83c[\\udde6-\\uddff]){2}",s="[\\ud800-\\udbff][\\udc00-\\udfff]",c="(?:"+r+"|"+i+")"+"?",u="[\\ufe0e\\ufe0f]?"+c+("(?:\\u200d(?:"+[o,a,s].join("|")+")[\\ufe0e\\ufe0f]?"+c+")*"),l="(?:"+[o+r+"?",r,a,s,n].join("|")+")",d=RegExp(i+"(?="+i+")|"+l+u,"g");e.exports=function(e){for(var t=d.lastIndex=0;d.test(e);)++t;return t}},function(e,t,n){},function(e,t,n){},function(e,t,n){},function(e,t,n){
/*!
 * @license
 * chartjs-plugin-datalabels
 * http://chartjs.org/
 * Version: 0.5.0
 *
 * Copyright 2018 Chart.js Contributors
 * Released under the MIT license
 * https://github.com/chartjs/chartjs-plugin-datalabels/blob/master/LICENSE.md
 */
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}}var o=0,a=1,s=2,c=4,u=8;function l(e,t,n){var r=o;return e<n.left?r|=a:e>n.right&&(r|=s),t<n.top?r|=u:t>n.bottom&&(r|=c),r}function d(e,t){var n,r,i=t.anchor,o=e;return t.clamp&&(o=function(e,t){for(var n,r,i,o=e.x0,d=e.y0,f=e.x1,h=e.y1,p=l(o,d,t),m=l(f,h,t);p|m&&!(p&m);)(n=p||m)&u?(r=o+(f-o)*(t.top-d)/(h-d),i=t.top):n&c?(r=o+(f-o)*(t.bottom-d)/(h-d),i=t.bottom):n&s?(i=d+(h-d)*(t.right-o)/(f-o),r=t.right):n&a&&(i=d+(h-d)*(t.left-o)/(f-o),r=t.left),n===p?p=l(o=r,d=i,t):m=l(f=r,h=i,t);return{x0:o,x1:f,y0:d,y1:h}}(o,t.area)),"start"===i?(n=o.x0,r=o.y0):"end"===i?(n=o.x1,r=o.y1):(n=(o.x0+o.x1)/2,r=(o.y0+o.y1)/2),function(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}}(n,r,e.vx,e.vy,t.align)}var f={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 d({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 d({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)),d({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 d({x0:e.x,y0:e.y,x1:e.x,y1:e.y,vx:n.x,vy:n.y},t)}},h=e.helpers,p=r.rasterize;function m(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 v(e,t,n){var r=e.shadowBlur,i=n.stroked,o=p(n.x),a=p(n.y),s=p(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))}var g=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};h.extend(g.prototype,{_modelize:function(t,n,i,o){var a,s=this._index,c=h.options.resolve,u=r.parseFont(c([i.font,{}],o,s)),l=c([i.color,e.defaults.global.defaultFontColor],o,s);return{align:c([i.align,"center"],o,s),anchor:c([i.anchor,"center"],o,s),area:o.chart.chartArea,backgroundColor:c([i.backgroundColor,null],o,s),borderColor:c([i.borderColor,null],o,s),borderRadius:c([i.borderRadius,0],o,s),borderWidth:c([i.borderWidth,0],o,s),clamp:c([i.clamp,!1],o,s),clip:c([i.clip,!1],o,s),color:l,display:t,font:u,lines:n,offset:c([i.offset,0],o,s),opacity:c([i.opacity,1],o,s),origin:m(this._el),padding:h.options.toPadding(c([i.padding,0],o,s)),positioner:(a=this._el,a instanceof e.elements.Arc?f.arc:a instanceof e.elements.Point?f.point:a instanceof e.elements.Rectangle?f.rect:f.fallback),rotation:c([i.rotation,0],o,s)*(Math.PI/180),size:r.textSize(this._ctx,n,u),textAlign:c([i.textAlign,"start"],o,s),textShadowBlur:c([i.textShadowBlur,0],o,s),textShadowColor:c([i.textShadowColor,l],o,s),textStrokeColor:c([i.textStrokeColor,l],o,s),textStrokeWidth:c([i.textStrokeWidth,0],o,s)}},update:function(e){var t,n,i,o=this,a=null,s=null,c=o._index,u=o._config,l=h.options.resolve([u.display,!0],e,c);l&&(t=e.dataset.data[c],n=h.valueOrDefault(h.callback(u.formatter,[t,e]),t),(i=h.isNullOrUndef(n)?[]:r.toTextLines(n)).length&&(a=o._modelize(l,i,u,e),s=function(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}}}(a))),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=e.ctx,o=this._model,a=this._rects;this.visible()&&(i.save(),o.clip&&(n=o.area,i.beginPath(),i.rect(n.left,n.top,n.right-n.left,n.bottom-n.top),i.clip()),i.globalAlpha=r.bound(0,o.opacity,1),i.translate(p(t.x),p(t.y)),i.rotate(o.rotation),function(e,t,n){var r=n.backgroundColor,i=n.borderColor,o=n.borderWidth;(r||i&&o)&&(e.beginPath(),h.canvas.roundedRect(e,p(t.x)+o/2,p(t.y)+o/2,p(t.w)-o,p(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()))}(i,a.frame,o),function(e,t,n,r){var i,o=r.textAlign,a=r.color,s=!!a,c=r.font,u=t.length,l=r.textStrokeColor,d=r.textStrokeWidth,f=l&&d;if(u&&(s||f))for(n=function(e,t,n){var r=n.lineHeight,i=e.w,o=e.x,a=e.y+r/2;return"center"===t?o+=i/2:"end"!==t&&"right"!==t||(o+=i),{h:r,w:i,x:o,y:a}}(n,o,c),e.font=c.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,u=t.length;i<u;++i)v(e,t[i],{stroked:f,filled:s,w:n.w,x:n.x,y:n.y+n.h*i})}(i,o.lines,a.text,o),i.restore())}});var y=e.helpers,b=Number.MIN_SAFE_INTEGER||-9007199254740991,_=Number.MAX_SAFE_INTEGER||9007199254740991;function w(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 x(e,t){var n,r,i,o,a,s=_,c=b,u=t.origin;for(n=0;n<e.length;++n)r=e[n],i=r.x-u.x,o=r.y-u.y,a=t.vx*i+t.vy*o,s=Math.min(s,a),c=Math.max(c,a);return{min:s,max:c}}function k(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 E=function(){this._rotation=0,this._rect={x:0,y:0,w:0,h:0}};function S(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,c=t.rotation,u=Math.abs(a/2*Math.cos(c))+Math.abs(s/2*Math.sin(c)),l=Math.abs(a/2*Math.sin(c))+Math.abs(s/2*Math.cos(c)),d=1/Math.max(Math.abs(i),Math.abs(o));return u*=i*d,l*=o*d,u+=t.offset*i,l+=t.offset*o,{x:r.x+u,y:r.y+l}}y.extend(E.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._rect;return!((e=w(e,this.center(),-this._rotation)).x<t.x-1||e.y<t.y-1||e.x>t.x+t.w+2||e.y>t.y+t.h+2)},intersects:function(e){var t,n,r,i=this._points(),o=e._points(),a=[k(i[0],i[1]),k(i[0],i[3])];for(this._rotation!==e._rotation&&a.push(k(o[0],o[1]),k(o[0],o[3])),t=0;t<a.length;++t)if(n=x(i,a[t]),r=x(o,a[t]),n.max<r.min||r.max<n.min)return!1;return!0},_points:function(){var e=this._rect,t=this._rotation,n=this.center();return[w({x:e.x,y:e.y},n,t),w({x:e.x+e.w,y:e.y},n,t),w({x:e.x+e.w,y:e.y+e.h},n,t),w({x:e.x,y:e.y+e.h},n,t)]}});var T={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 E,_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)r=e[t],i=r.model(),(o=r.$layout)._hidable=i&&"auto"===i.display,o._visible=r.visible(),a|=o._hidable;a&&function(e){var t,n,r,i,o,a;for(t=0,n=e.length;t<n;++t)r=e[t],(i=r.$layout)._visible&&(o=r.geometry(),a=S(r._el._model,r.model(),o),i._box.update(a,o,r.rotation()));!function(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)}(e,function(e,t){var n=e._hidable,r=t._hidable;n&&r||r?t._visible=!1:n&&(e._visible=!1)})}(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)i=t[n],(o=i.$layout)._visible&&(a=i.geometry(),s=S(i._el._view,i.model(),a),o._box.update(s,a,i.rotation()),i.draw(e,s))}},C=e.helpers,O={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(C.isNullOrUndef(e))return null;var t,n,r,i=e;if(C.isObject(e))if(C.isNullOrUndef(e.label))if(C.isNullOrUndef(e.r))for(i="",t=Object.keys(e),r=0,n=t.length;r<n;++r)i+=(0!==r?", ":"")+t[r]+": "+e[t[r]];else i=e.r;else i=e.label;return""+i},listeners:{},offset:4,opacity:1,padding:{top:4,right:4,bottom:4,left:4},rotation:0,textAlign:"start",textStrokeColor:void 0,textStrokeWidth:0,textShadowBlur:0,textShadowColor:void 0},j=e.helpers,A="$datalabels";function P(e,t,n){var r=t&&t[n.dataset];if(r){var i=n.label,o=i.$context;!0===j.callback(r,[o])&&(e[A]._dirty=!0,i.update(o))}}function M(e,t){var n,r,i=e[A],o=i._listeners;if(o.enter||o.leave){if("mousemove"===t.type)r=T.lookup(i._labels,t);else if("mouseout"!==t.type)return;n=i._hovered,i._hovered=r,function(e,t,n,r){var i,o;(n||r)&&(n?r?n.label!==r.label&&(o=i=!0):o=!0:i=!0,o&&P(e,t.leave,n),i&&P(e,t.enter,r))}(e,o,n,r)}}e.defaults.global.plugins.datalabels=O,e.defaults.global.plugins.datalabels=O;var N={id:"datalabels",beforeInit:function(e){e[A]={_actives:[]}},beforeUpdate:function(e){var t=e[A];t._listened=!1,t._listeners={},t._datasets=[],t._labels=[]},afterDatasetUpdate:function(e,t,n){var r,i,o,a=t.index,s=e[A],c=s._datasets[a]=[],u=e.isDatasetVisible(a),l=e.data.datasets[a],d=function(e,t){var n=e.datalabels;return!1===n?null:(!0===n&&(n={}),j.merge({},[t,n]))}(l,n),f=t.meta.data||[],h=f.length,p=e.ctx;for(p.save(),r=0;r<h;++r)i=f[r],u&&i&&!i.hidden&&!i._model.skip?(c.push(o=new g(d,p,i,r)),o.update(o.$context={active:!1,chart:e,dataIndex:r,dataset:l,datasetIndex:a})):o=null,i[A]=o;p.restore(),j.merge(s._listeners,d.listeners||{},{merger:function(e,n,r){n[e]=n[e]||{},n[e][t.index]=r[e],s._listened=!0}})},afterUpdate:function(e,t){e[A]._labels=T.prepare(e[A]._datasets,t)},afterDatasetsDraw:function(e){T.draw(e,e[A]._labels)},beforeEvent:function(e,t){if(e[A]._listened)switch(t.type){case"mousemove":case"mouseout":M(e,t);break;case"click":!function(e,t){var n=e[A],r=n._listeners.click,i=r&&T.lookup(n._labels,t);i&&P(e,r,i)}(e,t)}},afterEvent:function(e){var t,n,i,o,a=e[A],s=a._actives,c=a._actives=e.lastActive||[],u=r.arrayDiff(s,c);for(t=0,n=u.length;t<n;++t)(i=u[t])[1]&&(o=i[0][A])&&(o.$context.active=1===i[1],o.update(o.$context));(a._dirty||u.length)&&(T.update(a._labels),e.animating||e.render()),delete a._dirty}};return e.plugins.register(N),N}(n(324))},function(e,t,n){},function(e,t,n){},function(e,t,n){var r=n(2152);e.exports=r},function(e,t,n){var r=n(2153),i=Array.prototype;e.exports=function(e){var t=e.fill;return e===i||e instanceof Array&&t===i.fill?r:t}},function(e,t,n){n(2154);var r=n(151);e.exports=r("Array").fill},function(e,t,n){var r=n(45),i=n(2155),o=n(476);r({target:"Array",proto:!0},{fill:i}),o("fill")},function(e,t,n){"use strict";var r=n(215),i=n(596),o=n(216);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),c=a>2?arguments[2]:void 0,u=void 0===c?n:i(c,n);u>s;)t[s++]=e;return t}},function(e,t,n){},function(e,t,n){var r=n(158),i=n(126).document,o=r(i)&&r(i.createElement);e.exports=function(e){return o?i.createElement(e):{}}},function(e,t,n){var r=n(126),i=n(311);e.exports=function(e,t){try{i(r,e,t)}catch(n){r[e]=t}return t}},function(e,t,n){var r=n(660),i=n(1206),o=n(167),a=n(126).Reflect;e.exports=a&&a.ownKeys||function(e){var t=r.f(o(e)),n=i.f;return n?t.concat(n(e)):t}},function(e,t){e.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},function(e,t,n){e.exports=n(126)},function(e,t,n){"use strict";var r=n(245),i=n(574),o=n(184);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),c=a>2?arguments[2]:void 0,u=void 0===c?n:i(c,n);u>s;)t[s++]=e;return t}},function(e,t,n){var r=n(1088),i=n(176)("iterator"),o=Array.prototype;e.exports=function(e){return void 0!==e&&(r.Array===e||o[i]===e)}},function(e,t,n){"use strict";var r=n(47),i=n(2218),o=n(456),a=n(1090),s=n(455),c=n(311),u=n(341),l=n(658),d=n(176)("iterator"),f=n(1088),h=n(2219),p=h.IteratorPrototype,m=h.BUGGY_SAFARI_ITERATORS,v=function(){return this};e.exports=function(e,t,n,h,g,y,b){i(n,t,h);var _,w,x,k=function(e){if(e===g&&O)return O;if(!m&&e in T)return T[e];switch(e){case"keys":case"values":case"entries":return function(){return new n(this,e)}}return function(){return new n(this)}},E=t+" Iterator",S=!1,T=e.prototype,C=T[d]||T["@@iterator"]||g&&T[g],O=!m&&C||k(g),j="Array"==t&&T.entries||C;if(j&&(_=o(j.call(new e)),p!==Object.prototype&&_.next&&(l||o(_)===p||(a?a(_,p):"function"!=typeof _[d]&&c(_,d,v)),s(_,E,!0,!0),l&&(f[E]=v))),"values"==g&&C&&"values"!==C.name&&(S=!0,O=function(){return C.call(this)}),l&&!b||T[d]===O||c(T,d,O),f[t]=O,g)if(w={values:k("values"),keys:y?O:k("keys"),entries:k("entries")},b)for(x in w)!m&&!S&&x in T||u(T,x,w[x]);else r({target:t,proto:!0,forced:m||S},w);return w}},function(e,t,n){e.exports=!n(122)(function(){function e(){}return e.prototype.constructor=null,Object.getPrototypeOf(new e)!==e.prototype})},function(e,t,n){var r=n(2161),i=n(126),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]}},function(e,t,n){"use strict";var r=n(126),i=n(188),o=n(177).NATIVE_ARRAY_BUFFER,a=n(311),s=n(735),c=n(122),u=n(577),l=n(382),d=n(184),f=n(2221),h=n(660).f,p=n(202).f,m=n(2162),v=n(455),g=n(381),y=g.get,b=g.set,_=r.ArrayBuffer,w=_,x=r.DataView,k=r.Math,E=r.RangeError,S=k.abs,T=k.pow,C=k.floor,O=k.log,j=k.LN2,A=function(e,t,n){var r,i,o,a=new Array(n),s=8*n-t-1,c=(1<<s)-1,u=c>>1,l=23===t?T(2,-24)-T(2,-77):0,d=e<0||0===e&&1/e<0?1:0,f=0;for((e=S(e))!=e||e===1/0?(i=e!=e?1:0,r=c):(r=C(O(e)/j),e*(o=T(2,-r))<1&&(r--,o*=2),(e+=r+u>=1?l/o:l*T(2,1-u))*o>=2&&(r++,o/=2),r+u>=c?(i=0,r=c):r+u>=1?(i=(e*o-1)*T(2,t),r+=u):(i=e*T(2,u-1)*T(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},P=function(e,t){var n,r=e.length,i=8*r-t-1,o=(1<<i)-1,a=o>>1,s=i-7,c=r-1,u=e[c--],l=127&u;for(u>>=7;s>0;l=256*l+e[c],c--,s-=8);for(n=l&(1<<-s)-1,l>>=-s,s+=t;s>0;n=256*n+e[c],c--,s-=8);if(0===l)l=1-a;else{if(l===o)return n?NaN:u?-1/0:1/0;n+=T(2,t),l-=a}return(u?-1:1)*n*T(2,l-t)},M=function(e){return e[3]<<24|e[2]<<16|e[1]<<8|e[0]},N=function(e){return[255&e]},L=function(e){return[255&e,e>>8&255]},I=function(e){return[255&e,e>>8&255,e>>16&255,e>>24&255]},D=function(e){return A(e,23,4)},R=function(e){return A(e,52,8)},B=function(e,t){p(e.prototype,t,{get:function(){return y(this)[t]}})},F=function(e,t,n,r){var i=f(+n),o=y(e);if(i+t>o.byteLength)throw E("Wrong index");var a=y(o.buffer).bytes,s=i+o.byteOffset,c=a.slice(s,s+t);return r?c:c.reverse()},U=function(e,t,n,r,i,o){var a=f(+n),s=y(e);if(a+t>s.byteLength)throw E("Wrong index");for(var c=y(s.buffer).bytes,u=a+s.byteOffset,l=r(+i),d=0;d<t;d++)c[u+d]=l[o?d:t-d-1]};if(o){if(!c(function(){_(1)})||!c(function(){new _(-1)})||c(function(){return new _,new _(1.5),new _(NaN),"ArrayBuffer"!=_.name})){for(var q,z=(w=function(e){return u(this,w),new _(f(e))}).prototype=_.prototype,H=h(_),V=0;H.length>V;)(q=H[V++])in w||a(w,q,_[q]);z.constructor=w}var W=new x(new w(2)),Y=x.prototype.setInt8;W.setInt8(0,2147483648),W.setInt8(1,2147483649),!W.getInt8(0)&&W.getInt8(1)||s(x.prototype,{setInt8:function(e,t){Y.call(this,e,t<<24>>24)},setUint8:function(e,t){Y.call(this,e,t<<24>>24)}},{unsafe:!0})}else w=function(e){u(this,w,"ArrayBuffer");var t=f(e);b(this,{bytes:m.call(new Array(t),0),byteLength:t}),i||(this.byteLength=t)},x=function(e,t,n){u(this,x,"DataView"),u(e,w,"DataView");var r=y(e).byteLength,o=l(t);if(o<0||o>r)throw E("Wrong offset");if(o+(n=void 0===n?r-o:d(n))>r)throw E("Wrong length");b(this,{buffer:e,byteLength:n,byteOffset:o}),i||(this.buffer=e,this.byteLength=n,this.byteOffset=o)},i&&(B(w,"byteLength"),B(x,"buffer"),B(x,"byteLength"),B(x,"byteOffset")),s(x.prototype,{getInt8:function(e){return F(this,1,e)[0]<<24>>24},getUint8:function(e){return F(this,1,e)[0]},getInt16:function(e){var t=F(this,2,e,arguments[1]);return(t[1]<<8|t[0])<<16>>16},getUint16:function(e){var t=F(this,2,e,arguments[1]);return t[1]<<8|t[0]},getInt32:function(e){return M(F(this,4,e,arguments[1]))},getUint32:function(e){return M(F(this,4,e,arguments[1]))>>>0},getFloat32:function(e){return P(F(this,4,e,arguments[1]),23)},getFloat64:function(e){return P(F(this,8,e,arguments[1]),52)},setInt8:function(e,t){U(this,1,e,N,t)},setUint8:function(e,t){U(this,1,e,N,t)},setInt16:function(e,t){U(this,2,e,L,t,arguments[2])},setUint16:function(e,t){U(this,2,e,L,t,arguments[2])},setInt32:function(e,t){U(this,4,e,I,t,arguments[2])},setUint32:function(e,t){U(this,4,e,I,t,arguments[2])},setFloat32:function(e,t){U(this,4,e,D,t,arguments[2])},setFloat64:function(e,t){U(this,8,e,R,t,arguments[2])}});v(w,"ArrayBuffer"),v(x,"DataView"),t.ArrayBuffer=w,t.DataView=x},function(e,t,n){var r=n(158),i=n(1090);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}},function(e,t){e.exports=Math.sign||function(e){return 0==(e=+e)||e!=e?e:e<0?-1:1}},function(e,t,n){"use strict";var r=n(382),i=n(380);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}},function(e,t,n){var r,i,o,a=n(126),s=n(419),c=n(576),u=n(2212),l=n(2157),d=a.setImmediate,f=a.clearImmediate,h=a.process,p=a.MessageChannel,m=a.Dispatch,v=0,g={},y=function(){var e=+this;if(g.hasOwnProperty(e)){var t=g[e];delete g[e],t()}},b=function(e){y.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(h)?r=function(e){h.nextTick(c(y,e,1))}:m&&m.now?r=function(e){m.now(c(y,e,1))}:p?(o=(i=new p).port2,i.port1.onmessage=b,r=c(o.postMessage,o,1)):a.addEventListener&&"function"==typeof postMessage&&!a.importScripts?(r=function(e){a.postMessage(e+"","*")},a.addEventListener("message",b,!1)):r="onreadystatechange"in l("script")?function(e){u.appendChild(l("script")).onreadystatechange=function(){u.removeChild(this),y.call(e)}}:function(e){setTimeout(c(y,e,1),0)}),e.exports={set:d,clear:f}},function(e,t,n){var r=n(126).navigator;e.exports=r&&r.userAgent||""},function(e,t,n){var r=n(158),i=n(419),o=n(176)("match");e.exports=function(e){var t;return r(e)&&(void 0!==(t=e[o])?!!t:"RegExp"==i(e))}},function(e,t,n){var r=n(2173),i=n(380);e.exports=function(e,t,n){if(r(t))throw TypeError("String.prototype."+n+" doesn't accept regex");return String(i(e))}},function(e,t,n){var r=n(176)("match");e.exports=function(e){var t=/./;try{"/./"[e](t)}catch(n){try{return t[r]=!1,"/./"[e](t)}catch(e){}}return!1}},function(e,t,n){"use strict";var r=n(1217);e.exports=function(e,t,n){return t+(n?r(e,t,!0).length:1)}},function(e,t,n){var r=n(122),i=n(1213);e.exports=function(e){return r(function(){return!!i[e]()||"​᠎"!="​᠎"[e]()||i[e].name!==e})}},function(e,t,n){var r=n(126),i=n(122),o=n(1207),a=n(177).NATIVE_ARRAY_BUFFER_VIEWS,s=r.ArrayBuffer,c=r.Int8Array;e.exports=!a||!i(function(){c(1)})||!i(function(){new c(-1)})||!o(function(e){new c,new c(null),new c(1.5),new c(e)},!0)||i(function(){return 1!==new c(new s(2),1,void 0).length})},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(0)),a=(l(n(84)),l(n(1093)),l(n(2180))),s=l(n(1220)),c=l(n(1221)),u=l(n(2241));function l(e){return e&&e.__esModule?e:{default:e}}var d={to:c.default.string.isRequired,containerId:c.default.string,container:c.default.object,activeClass:c.default.string,spy:c.default.bool,smooth:c.default.oneOfType([c.default.bool,c.default.string]),offset:c.default.number,delay:c.default.number,isDynamic:c.default.bool,onClick:c.default.func,duration:c.default.oneOfType([c.default.number,c.default.func]),absolute:c.default.bool,onSetActive:c.default.func,onSetInactive:c.default.func,ignoreCancelEvents:c.default.bool,hashSpy:c.default.bool};t.default=function(e,t){var n=t||s.default,c=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,o.default.PureComponent),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&&(u.default.isMounted()||u.default.mount(n),u.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}(),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(!u.default.isMounted()||u.default.isInitialized()){var i=e.props.to,o=null,a=0,s=0,c=0;if(r.getBoundingClientRect)c=r.getBoundingClientRect().top;if(!o||e.props.isDynamic){if(!(o=n.get(i)))return;var l=o.getBoundingClientRect();s=(a=l.top-c+t)+l.height}var d=t-e.props.offset,f=d>=Math.floor(a)&&d<Math.floor(s),h=d<Math.floor(a)||d>=Math.floor(s),p=n.getActiveLink();h&&(i===p&&n.setActiveLink(void 0),e.props.hashSpy&&u.default.getHash()===i&&u.default.changeHash(),e.props.spy&&e.state.active&&(e.setState({active:!1}),e.props.onSetInactive&&e.props.onSetInactive(i,o))),!f||p===i&&!1!==e.state.active||(n.setActiveLink(i),e.props.hashSpy&&u.default.changeHash(i),e.props.spy&&(e.setState({active:!0}),e.props.onSetActive&&e.props.onSetActive(i,o)))}}};return c.propTypes=d,c.defaultProps={offset:0},c}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,i=n(1200),o=(r=i)&&r.__esModule?r:{default:r},a=n(2181);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},function(e,t,n){"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)}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r={registered:{},scrollEvent:{register:function(e,t){r.registered[e]=t},remove:function(e){r.registered[e]=null}}};t.default=r},function(e,t,n){var r=n(1227),i=n(520),o=n(312),a=n(2665),s=o(function(e,t){return 1===e?i(t):r(e,a(e,[],t))});e.exports=s},function(e,t,n){var r=n(520),i=n(312),o=n(1226);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)}}}},function(e,t,n){var r=n(123),i=n(737),o=n(2668),a=n(2670),s=n(2671);function c(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 u(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 u(e,t,n,"fantasy-land/reduce");if(null!=n[l])return c(e,t,n[l]());if("function"==typeof n.next)return c(e,t,n);if("function"==typeof n.reduce)return u(e,t,n,"reduce");throw new TypeError("reduce: list must be array or iterable")}},function(e,t){e.exports=Array.isArray||function(e){return null!=e&&e.length>=0&&"[object Array]"===Object.prototype.toString.call(e)}},function(e,t,n){"use strict";n.r(t);var r=n(12),i=n.n(r),o=n(29),a=n.n(o),s=n(440),c=n.n(s),u=n(68),l=n.n(u),d=(n(1860),n(1861),n(34)),f=n.n(d),h=n(1127),p=n.n(h),m=n(63),v=n.n(m),g=n(709),y=n.n(g),b=n(710),_=n.n(b),w=n(1128),x=n.n(w),k=n(1129),E=n.n(k),S=n(711),T=n.n(S),C=n(287),O=n.n(C);
/*! @name m3u8-parser @version 4.4.0 @license Apache-2.0 */
function j(){return(j=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 A(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,e.__proto__=t}var P=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}(),M=function(e){function t(){var t;return(t=e.call(this)||this).buffer="",t}return A(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}(P),N=function(e){for(var t,n=e.split(new RegExp('(?:^|,)((?:[^=]*)=(?:"[^"]*"|[^,]*))')),r={},i=n.length;i--;)""!==n[i]&&((t=/([^=]*)=(.*)/.exec(n[i]).slice(1))[0]=t[0].replace(/^\s+|\s+$/g,""),t[1]=t[1].replace(/^\s+|\s+$/g,""),t[1]=t[1].replace(/^['"](.*)['"]$/g,"$1"),r[t[0]]=t[1]);return r},L=function(e){function t(){var t;return(t=e.call(this)||this).customParsers=[],t.tagMappers=[],t}A(t,e);var n=t.prototype;return n.push=function(e){var t,n,r=this;0!==(e=e.trim()).length&&("#"===e[0]?this.tagMappers.reduce(function(t,n){var r=n(e);return r===e?t:t.concat([r])},[e]).forEach(function(e){for(var i=0;i<r.customParsers.length;i++)if(r.customParsers[i].call(r,e))return;if(0===e.indexOf("#EXT"))if(e=e.replace("\r",""),t=/^#EXTM3U/.exec(e))r.trigger("data",{type:"tag",tagType:"m3u"});else{if(t=/^#EXTINF:?([0-9\.]*)?,?(.*)?$/.exec(e))return n={type:"tag",tagType:"inf"},t[1]&&(n.duration=parseFloat(t[1])),t[2]&&(n.title=t[2]),void r.trigger("data",n);if(t=/^#EXT-X-TARGETDURATION:?([0-9.]*)?/.exec(e))return n={type:"tag",tagType:"targetduration"},t[1]&&(n.duration=parseInt(t[1],10)),void r.trigger("data",n);if(t=/^#ZEN-TOTAL-DURATION:?([0-9.]*)?/.exec(e))return n={type:"tag",tagType:"totalduration"},t[1]&&(n.duration=parseInt(t[1],10)),void r.trigger("data",n);if(t=/^#EXT-X-VERSION:?([0-9.]*)?/.exec(e))return n={type:"tag",tagType:"version"},t[1]&&(n.version=parseInt(t[1],10)),void r.trigger("data",n);if(t=/^#EXT-X-MEDIA-SEQUENCE:?(\-?[0-9.]*)?/.exec(e))return n={type:"tag",tagType:"media-sequence"},t[1]&&(n.number=parseInt(t[1],10)),void r.trigger("data",n);if(t=/^#EXT-X-DISCONTINUITY-SEQUENCE:?(\-?[0-9.]*)?/.exec(e))return n={type:"tag",tagType:"discontinuity-sequence"},t[1]&&(n.number=parseInt(t[1],10)),void r.trigger("data",n);if(t=/^#EXT-X-PLAYLIST-TYPE:?(.*)?$/.exec(e))return n={type:"tag",tagType:"playlist-type"},t[1]&&(n.playlistType=t[1]),void r.trigger("data",n);if(t=/^#EXT-X-BYTERANGE:?([0-9.]*)?@?([0-9.]*)?/.exec(e))return n={type:"tag",tagType:"byterange"},t[1]&&(n.length=parseInt(t[1],10)),t[2]&&(n.offset=parseInt(t[2],10)),void r.trigger("data",n);if(t=/^#EXT-X-ALLOW-CACHE:?(YES|NO)?/.exec(e))return n={type:"tag",tagType:"allow-cache"},t[1]&&(n.allowed=!/NO/.test(t[1])),void r.trigger("data",n);if(t=/^#EXT-X-MAP:?(.*)$/.exec(e)){if(n={type:"tag",tagType:"map"},t[1]){var o=N(t[1]);if(o.URI&&(n.uri=o.URI),o.BYTERANGE){var a=o.BYTERANGE.split("@"),s=a[0],c=a[1];n.byterange={},s&&(n.byterange.length=parseInt(s,10)),c&&(n.byterange.offset=parseInt(c,10))}}r.trigger("data",n)}else if(t=/^#EXT-X-STREAM-INF:?(.*)$/.exec(e)){if(n={type:"tag",tagType:"stream-inf"},t[1]){if(n.attributes=N(t[1]),n.attributes.RESOLUTION){var u=n.attributes.RESOLUTION.split("x"),l={};u[0]&&(l.width=parseInt(u[0],10)),u[1]&&(l.height=parseInt(u[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=N(t[1])),void r.trigger("data",n);if(t=/^#EXT-X-ENDLIST/.exec(e))r.trigger("data",{type:"tag",tagType:"endlist"});else if(t=/^#EXT-X-DISCONTINUITY/.exec(e))r.trigger("data",{type:"tag",tagType:"discontinuity"});else{if(t=/^#EXT-X-PROGRAM-DATE-TIME:?(.*)$/.exec(e))return n={type:"tag",tagType:"program-date-time"},t[1]&&(n.dateTimeString=t[1],n.dateTimeObject=new Date(t[1])),void r.trigger("data",n);if(t=/^#EXT-X-KEY:?(.*)$/.exec(e))return n={type:"tag",tagType:"key"},t[1]&&(n.attributes=N(t[1]),n.attributes.IV&&("0x"===n.attributes.IV.substring(0,2).toLowerCase()&&(n.attributes.IV=n.attributes.IV.substring(2)),n.attributes.IV=n.attributes.IV.match(/.{8}/g),n.attributes.IV[0]=parseInt(n.attributes.IV[0],16),n.attributes.IV[1]=parseInt(n.attributes.IV[1],16),n.attributes.IV[2]=parseInt(n.attributes.IV[2],16),n.attributes.IV[3]=parseInt(n.attributes.IV[3],16),n.attributes.IV=new Uint32Array(n.attributes.IV))),void r.trigger("data",n);if(t=/^#EXT-X-START:?(.*)$/.exec(e))return n={type:"tag",tagType:"start"},t[1]&&(n.attributes=N(t[1]),n.attributes["TIME-OFFSET"]=parseFloat(n.attributes["TIME-OFFSET"]),n.attributes.PRECISE=/YES/.test(n.attributes.PRECISE)),void r.trigger("data",n);if(t=/^#EXT-X-CUE-OUT-CONT:?(.*)?$/.exec(e))return n={type:"tag",tagType:"cue-out-cont"},t[1]?n.data=t[1]:n.data="",void r.trigger("data",n);if(t=/^#EXT-X-CUE-OUT:?(.*)?$/.exec(e))return n={type:"tag",tagType:"cue-out"},t[1]?n.data=t[1]:n.data="",void r.trigger("data",n);if(t=/^#EXT-X-CUE-IN:?(.*)?$/.exec(e))return n={type:"tag",tagType:"cue-in"},t[1]?n.data=t[1]:n.data="",void r.trigger("data",n);r.trigger("data",{type:"tag",data:e.slice(4)})}}}else r.trigger("data",{type:"comment",text:e.slice(1)})}):this.trigger("data",{type:"uri",uri:e}))},n.addParser=function(e){var t=this,n=e.expression,r=e.customType,i=e.dataParser,o=e.segment;"function"!=typeof i&&(i=function(e){return e}),this.customParsers.push(function(e){if(n.exec(e))return t.trigger("data",{type:"custom",data:i(e),customType:r,segment:o}),!0})},n.addTagMapper=function(e){var t=e.expression,n=e.map;this.tagMappers.push(function(e){return t.test(e)?n(e):e})},t}(P);function I(e){for(var t=O.a.atob(e||""),n=new Uint8Array(t.length),r=0;r<t.length;r++)n[r]=t.charCodeAt(r);return n}var D=function(e){function t(){var t;(t=e.call(this)||this).lineStream=new M,t.parseStream=new L,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={AUDIO:{},VIDEO:{},"CLOSED-CAPTIONS":{},SUBTITLES:{}},c=0;return t.manifest={allowCache:!0,discontinuityStarts:[],segments:[]},t.parseStream.on("data",function(e){var t,u;({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:I(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||s,e.attributes?(a.attributes||(a.attributes={}),j(a.attributes,e.attributes)):this.trigger("warn",{message:"ignoring empty stream-inf attributes"})},media:function(){if(this.manifest.mediaGroups=this.manifest.mediaGroups||s,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"]],(u={default:/yes/i.test(e.attributes.DEFAULT)}).default?u.autoselect=!0:u.autoselect=/yes/i.test(e.attributes.AUTOSELECT),e.attributes.LANGUAGE&&(u.language=e.attributes.LANGUAGE),e.attributes.URI&&(u.uri=e.attributes.URI),e.attributes["INSTREAM-ID"]&&(u.instreamId=e.attributes["INSTREAM-ID"]),e.attributes.CHARACTERISTICS&&(u.characteristics=e.attributes.CHARACTERISTICS),e.attributes.FORCED&&(u.forced=/yes/i.test(e.attributes.FORCED)),t[e.attributes.NAME]=u}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]||function(){}).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}A(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}(P),R=n(568),B=n.n(R),F=n(1130),U=n.n(F),q=n(1131),z=function(e){return!!e&&"object"==typeof e},H=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]):z(t[r])&&z(n[r])?t[r]=e(t[r],n[r]):t[r]=n[r]}),t},{})},V=function(e){return e.reduce(function(e,t){return e.concat(t)},[])},W=function(e){if(!e.length)return[];for(var t=[],n=0;n<e.length;n++)t.push(e[n]);return t},Y="INVALID_NUMBER_OF_PERIOD",G="DASH_EMPTY_MANIFEST",K="DASH_INVALID_XML",$="NO_BASE_URL",X="SEGMENT_TIME_UNSPECIFIED",Q="UNSUPPORTED_UTC_TIMING_SCHEME",Z=function(e){var t=e.baseUrl,n=void 0===t?"":t,r=e.source,i=void 0===r?"":r,o=e.range,a=void 0===o?"":o,s=e.indexRange,c=void 0===s?"":s,u={uri:i,resolvedUri:B()(n||"",i)};if(a||c){var l=(a||c).split("-"),d=parseInt(l[0],10),f=parseInt(l[1],10);u.byterange={length:f-d+1,offset:d}}return u},J={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,c=void 0===s?0:s,u=e.minimumUpdatePeriod,l=void 0===u?0:u,d=e.timeShiftBufferDepth,f=void 0===d?1/0:d,h=(t+n)/1e3,p=r+c,m=h+l-p,v=Math.ceil(m*o/a),g=Math.floor((h-p-f)*o/a),y=Math.floor((h-p)*o/a);return{start:Math.max(0,g),end:Math.min(v,y)}}},ee=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=J[n](e),c=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 u=c.length-1;c[u].duration=a-r/o*u}return c},te=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,c=void 0===s?"":s,u=e.duration;if(!t)throw new Error($);var l=Z({baseUrl:t,source:r.sourceURL,range:r.range}),d=Z({baseUrl:t,source:t,indexRange:c});if(d.map=l,u){var f=ee(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]},ne=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,c=t.timescale,u=t.references.filter(function(e){return 1!==e.referenceType}),l=[],d=s+t.firstOffset,f=0;f<u.length;f++){var h=t.references[f],p=h.referencedSize,m=h.subsegmentDuration,v=te({baseUrl:n,timescale:c,timeline:o,periodIndex:o,duration:m,sourceDuration:i,indexRange:d+"-"+(d+p-1)})[0];r&&(v.map=r),l.push(v),d+=p}return e.segments=l,e},re=function(e){var t;return(t=e.reduce(function(e,t){var n,r=t.attributes.id+(t.attributes.lang||"");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;return 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})},ie=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&&ne(r,o,r.sidx.resolvedUri)}}var a,s;return e},oe=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},ae=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},se=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,c=r.minimumUpdatePeriod,u=void 0===c?0:c,l=re(e.filter(function(e){var t=e.attributes;return"video/mp4"===t.mimeType||"video"===t.contentType})).map(ae),d=re(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}),h={allowCache:!0,discontinuityStarts:[],segments:[],endList:!0,mediaGroups:(n={AUDIO:{},VIDEO:{}},n["CLOSED-CAPTIONS"]={},n.SUBTITLES={},n),uri:"",duration:i,playlists:ie(l,t),minimumUpdatePeriod:1e3*u};return"dynamic"===a&&(h.suggestedPresentationDelay=s),d.length&&(h.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:(e[a]={language:o,autoselect:!0,default:"main"===i,playlists:ie([oe(r)],t),uri:""},void 0===n&&"main"===i&&((n=r).default=!0),e)},{});n||(r[Object.keys(r)[0]].default=!0);return r}(d,t)),f.length&&(h.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:(e[s]={language:s,default:!1,autoselect:!1,playlists:ie([(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)),h},ce=function(e,t,n){var r=e.NOW,i=e.clientOffset,o=e.availabilityStartTime,a=e.timescale,s=void 0===a?1:a,c=e.start,u=void 0===c?0:c,l=e.minimumUpdatePeriod,d=(r+i)/1e3+(void 0===l?0:l)-(o+u);return Math.ceil((d*s-t)/n)},ue=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,c=e.sourceDuration,u=e.timescale,l=void 0===u?1:u,d=e.startNumber,f=void 0===d?1:d,h=e.periodIndex,p=[],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 x=v+1;w=x===t.length?"dynamic"===r&&o>0&&s.indexOf("$Number$")>0?ce(e,m,y):(c*l-m)/y:(t[x].t-m)/y}else w=b+1;for(var k=f+p.length+w,E=f+p.length;E<k;)p.push({number:E,duration:y/l,time:m,timeline:h}),m+=y,E++}return p},le=/\$([A-z]*)(?:(%0)([0-9]+)d)?\$/g,de=function(e,t){return e.replace(le,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))},fe=function(e,t){var n={RepresentationID:e.id,Bandwidth:e.bandwidth||0},r=e.initialization,i=void 0===r?{sourceURL:"",range:""}:r,o=Z({baseUrl:e.baseUrl,source:de(i.sourceURL,n),range:i.range});return function(e,t){return e.duration||t?e.duration?ee(e):ue(e,t):[{number:e.startNumber||1,duration:e.sourceDuration,time:0,timeline:e.periodIndex}]}(e,t).map(function(t){n.Number=t.number,n.Time=t.time;var r=de(e.media||"",n);return{uri:r,timeline:t.timeline,duration:t.duration,resolvedUri:B()(e.baseUrl||"",r),map:o,number:t.number}})},he=function(e,t){var n=e.duration,r=e.segmentUrls,i=void 0===r?[]:r;if(!n&&!t||n&&t)throw new Error(X);var o,a=i.map(function(t){return function(e,t){var n=e.baseUrl,r=e.initialization,i=void 0===r?{}:r,o=Z({baseUrl:n,source:i.sourceURL,range:i.range}),a=Z({baseUrl:n,source:t.media,range:t.mediaRange});return a.map=o,a}(e,t)});return n&&(o=ee(e)),t&&(o=ue(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})},pe=function(e){var t,n,r=e.attributes,i=e.segmentInfo;i.template?(n=fe,t=H(r,i.template)):i.base?(n=te,t=H(r,i.base)):i.list&&(n=he,t=H(r,i.list));var o={attributes:r};if(!n)return o;var a=n(t,i.timeline);if(t.duration){var s=t,c=s.duration,u=s.timescale,l=void 0===u?1:u;t.duration=c/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},me=function(e,t){return W(e.childNodes).filter(function(e){return e.tagName===t})},ve=function(e){return e.textContent.trim()},ge=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],c=n[5];return 31536e3*parseFloat(r||0)+2592e3*parseFloat(i||0)+86400*parseFloat(o||0)+3600*parseFloat(a||0)+60*parseFloat(s||0)+parseFloat(c||0)},ye={mediaPresentationDuration:function(e){return ge(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 ge(e)},suggestedPresentationDelay:function(e){return ge(e)},type:function(e){return e},timeShiftBufferDepth:function(e){return ge(e)},start:function(e){return ge(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)?ge(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}},be=function(e){return e&&e.attributes?W(e.attributes).reduce(function(e,t){var n=ye[t.name]||ye.DEFAULT;return e[t.name]=n(t.value),e},{}):{}},_e={"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"},we=function(e,t){return t.length?V(e.map(function(e){return t.map(function(t){return B()(e,ve(t))})})):e},xe=function(e){var t=me(e,"SegmentTemplate")[0],n=me(e,"SegmentList")[0],r=n&&me(n,"SegmentURL").map(function(e){return H({tag:"SegmentURL"},be(e))}),i=me(e,"SegmentBase")[0],o=n||t,a=o&&me(o,"SegmentTimeline")[0],s=n||i||t,c=s&&me(s,"Initialization")[0],u=t&&be(t);u&&c?u.initialization=c&&be(c):u&&u.initialization&&(u.initialization={sourceURL:u.initialization});var l={template:u,timeline:a&&me(a,"S").map(function(e){return be(e)}),list:n&&H(be(n),{segmentUrls:r,initialization:be(c)}),base:i&&H(be(i),{initialization:be(c)})};return Object.keys(l).forEach(function(e){l[e]||delete l[e]}),l},ke=function(e,t,n){return function(r){var i=be(r),o=we(t,me(r,"BaseURL")),a=me(r,"Role")[0],s={role:be(a)},c=H(e,i,s),u=me(r,"ContentProtection").reduce(function(e,t){var n=be(t),r=_e[n.schemeIdUri];if(r){e[r]={attributes:n};var i=me(t,"cenc:pssh")[0];if(i){var o=ve(i),a=o&&U()(o);e[r].pssh=a}}return e},{});Object.keys(u).length&&(c=H(c,{contentProtection:u}));var l=xe(r),d=me(r,"Representation"),f=H(n,l);return V(d.map(function(e,t,n){return function(r){var i=me(r,"BaseURL"),o=we(t,i),a=H(e,be(r)),s=xe(r);return o.map(function(e){return{segmentInfo:H(n,s),attributes:H(a,{baseUrl:e})}})}}(c,o,f)))}},Ee=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,c=void 0===s?0:s,u=me(e,"Period");if(!u.length)throw new Error(Y);var l=be(e),d=we([i],me(e,"BaseURL"));return l.sourceDuration=l.mediaPresentationDuration||0,l.NOW=a,l.clientOffset=c,V(u.map(function(e,t){return function(n,r){var i=we(t,me(n,"BaseURL")),o=be(n),a=parseInt(o.id,10),s=O.a.isNaN(a)?r:a,c=H(e,{periodIndex:s}),u=me(n,"AdaptationSet"),l=xe(n);return V(u.map(ke(c,i,l)))}}(l,d)))},Se=function(e){if(""===e)throw new Error(G);var t=(new q.DOMParser).parseFromString(e,"application/xml"),n=t&&"MPD"===t.documentElement.tagName?t.documentElement:null;if(!n||n&&n.getElementsByTagName("parsererror").length>0)throw new Error(K);return n},Te=function(e,t){return void 0===t&&(t={}),se(Ee(Se(e),t).map(pe),t.sidxMapping)},Ce=function(e){return function(e){var t=me(e,"UTCTiming")[0];if(!t)return null;var n=be(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;case"urn:mpeg:dash:utc:http-ntp:2014":case"urn:mpeg:dash:utc:ntp:2014":case"urn:mpeg:dash:utc:sntp:2014":default:throw new Error(Q)}return n}(Se(e))},Oe=n(530),je=n.n(Oe),Ae=n(369),Pe=n.n(Ae),Me=n(1132),Ne=n.n(Me),Le=n(1133),Ie=n.n(Le);var De=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")},Re=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}}(),Be=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},Fe=function(){var e=[[[],[],[],[],[]],[[],[],[],[],[]]],t=e[0],n=e[1],r=t[4],i=n[4],o=void 0,a=void 0,s=void 0,c=[],u=[],l=void 0,d=void 0,f=void 0,h=void 0,p=void 0;for(o=0;o<256;o++)u[(c[o]=o<<1^283*(o>>7))^o]=o;for(a=s=0;!r[a];a^=l||1,s=u[s]||1)for(f=(f=s^s<<1^s<<2^s<<3^s<<4)>>8^255&f^99,r[a]=f,i[f]=a,p=16843009*c[d=c[l=c[a]]]^65537*d^257*l^16843008*a,h=257*c[f]^16843008*f,o=0;o<4;o++)t[o][a]=h=h<<24^h>>>8,n[o][f]=p=p<<24^p>>>8;for(o=0;o<5;o++)t[o]=t[o].slice(0),n[o]=n[o].slice(0);return e},Ue=null,qe=function(){function e(t){De(this,e),Ue||(Ue=Fe()),this._tables=[[Ue[0][0].slice(),Ue[0][1].slice(),Ue[0][2].slice(),Ue[0][3].slice(),Ue[0][4].slice()],[Ue[1][0].slice(),Ue[1][1].slice(),Ue[1][2].slice(),Ue[1][3].slice(),Ue[1][4].slice()]];var n=void 0,r=void 0,i=void 0,o=void 0,a=void 0,s=this._tables[0][4],c=this._tables[1],u=t.length,l=1;if(4!==u&&6!==u&&8!==u)throw new Error("Invalid aes key size");for(o=t.slice(0),a=[],this._key=[o,a],n=u;n<4*u+28;n++)i=o[n-1],(n%u==0||8===u&&n%u==4)&&(i=s[i>>>24]<<24^s[i>>16&255]<<16^s[i>>8&255]<<8^s[255&i],n%u==0&&(i=i<<8^i>>>24^l<<24,l=l<<1^283*(l>>7))),o[n]=o[n-u]^i;for(r=0;n;r++,n--)i=o[3&r?n:n-4],a[r]=n<=4||r<4?i:c[0][s[i>>>24]]^c[1][s[i>>16&255]]^c[2][s[i>>8&255]]^c[3][s[255&i]]}return e.prototype.decrypt=function(e,t,n,r,i,o){var a=this._key[1],s=e^a[0],c=r^a[1],u=n^a[2],l=t^a[3],d=void 0,f=void 0,h=void 0,p=a.length/4-2,m=void 0,v=4,g=this._tables[1],y=g[0],b=g[1],_=g[2],w=g[3],x=g[4];for(m=0;m<p;m++)d=y[s>>>24]^b[c>>16&255]^_[u>>8&255]^w[255&l]^a[v],f=y[c>>>24]^b[u>>16&255]^_[l>>8&255]^w[255&s]^a[v+1],h=y[u>>>24]^b[l>>16&255]^_[s>>8&255]^w[255&c]^a[v+2],l=y[l>>>24]^b[s>>16&255]^_[c>>8&255]^w[255&u]^a[v+3],v+=4,s=d,c=f,u=h;for(m=0;m<4;m++)i[(3&-m)+o]=x[s>>>24]<<24^x[c>>16&255]<<16^x[u>>8&255]<<8^x[255&l]^a[v++],d=s,s=c,c=u,u=l,l=d},e}(),ze=function(){function e(){De(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}(),He=function(e){function t(){De(this,t);var n=Be(this,e.call(this,ze));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}(ze),Ve=function(e){return e<<24|(65280&e)<<8|(16711680&e)>>8|e>>>24},We=function(e,t,n){var r=new Int32Array(e.buffer,e.byteOffset,e.byteLength>>2),i=new qe(Array.prototype.slice.call(t)),o=new Uint8Array(e.byteLength),a=new Int32Array(o.buffer),s=void 0,c=void 0,u=void 0,l=void 0,d=void 0,f=void 0,h=void 0,p=void 0,m=void 0;for(s=n[0],c=n[1],u=n[2],l=n[3],m=0;m<r.length;m+=4)d=Ve(r[m]),f=Ve(r[m+1]),h=Ve(r[m+2]),p=Ve(r[m+3]),i.decrypt(d,f,h,p,a,m),a[m]=Ve(a[m]^s),a[m+1]=Ve(a[m+1]^c),a[m+2]=Ve(a[m+2]^u),a[m+3]=Ve(a[m+3]^l),s=d,c=f,u=h,l=p;return o},Ye=function(){function e(t,n,r,i){De(this,e);var o=e.STEP,a=new Int32Array(t.buffer),s=new Uint8Array(t.byteLength),c=0;for(this.asyncStream_=new He,this.asyncStream_.push(this.decryptChunk_(a.subarray(c,c+o),n,r,s)),c=o;c<a.length;c+=o)r=new Uint32Array([Ve(a[c-4]),Ve(a[c-3]),Ve(a[c-2]),Ve(a[c-1])]),this.asyncStream_.push(this.decryptChunk_(a.subarray(c,c+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=We(e,t,n);r.set(i,e.byteOffset)}},Re(e,null,[{key:"STEP",get:function(){return 32e3}}]),e}(),Ge="7.8.4",Ke=[],$e=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+":"),Ke){Ke.push([].concat(o));var c=Ke.length-1e3;Ke.splice(0,c>0?c:0)}if(i.a.console){var u=i.a.console[n];u||"debug"!==n||(u=i.a.console.info||i.a.console.log),u&&a&&s.test(n)&&u[Array.isArray(o)?"apply":"call"](i.a.console,o)}}};var Xe=function e(t){var n,r="info",i=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=$e(t,i),i.createLogger=function(n){return e(t+": "+n)},i.levels={all:"debug|log|warn|error",off:"",debug:"debug|log|warn|error",info:"log|warn|error",warn:"warn|error",error:"error",DEFAULT:r},i.level=function(e){if("string"==typeof e){if(!i.levels.hasOwnProperty(e))throw new Error('"'+e+'" in not a valid log level');r=e}return r},(i.history=function(){return Ke?[].concat(Ke):[]}).filter=function(e){return(Ke||[]).filter(function(t){return new RegExp(".*"+e+".*").test(t[0])})},i.history.clear=function(){Ke&&(Ke.length=0)},i.history.disable=function(){null!==Ke&&(Ke.length=0,Ke=null)},i.history.enable=function(){null===Ke&&(Ke=[])},i.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)},i.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)},i.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)},i}("VIDEOJS"),Qe=Xe.createLogger,Ze=Object.prototype.toString,Je=function(e){return nt(e)?Object.keys(e):[]};function et(e,t){Je(e).forEach(function(n){return t(e[n],n)})}function tt(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?c.a.apply(void 0,[e].concat(n)):(n.forEach(function(t){t&&et(t,function(t,n){e[n]=t})}),e)}function nt(e){return!!e&&"object"==typeof e}function rt(e){return nt(e)&&"[object Object]"===Ze.call(e)&&e.constructor===Object}function it(e,t){if(!e||!t)return"";if("function"==typeof i.a.getComputedStyle){var n=i.a.getComputedStyle(e);return n?n.getPropertyValue(t)||n[t]:""}return""}function ot(e){return"string"==typeof e&&Boolean(e.trim())}function at(e){if(e.indexOf(" ")>=0)throw new Error("class has illegal whitespace characters")}function st(){return a.a===i.a.document}function ct(e){return nt(e)&&1===e.nodeType}function ut(){try{return i.a.parent!==i.a.self}catch(e){return!0}}function lt(e){return function(t,n){if(!ot(t))return a.a[e](null);ot(n)&&(n=a.a.querySelector(n));var r=ct(n)?n:a.a;return r[e]&&r[e](t)}}function dt(e,t,n,r){void 0===e&&(e="div"),void 0===t&&(t={}),void 0===n&&(n={});var i=a.a.createElement(e);return Object.getOwnPropertyNames(t).forEach(function(e){var n=t[e];-1!==e.indexOf("aria-")||"role"===e||"type"===e?(Xe.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?ft(i,n):i[e]!==n&&(i[e]=n)}),Object.getOwnPropertyNames(n).forEach(function(e){i.setAttribute(e,n[e])}),r&&Pt(i,r),i}function ft(e,t){return void 0===e.textContent?e.innerText=t:e.textContent=t,e}function ht(e,t){t.firstChild?t.insertBefore(e,t.firstChild):t.appendChild(e)}function pt(e,t){return at(t),e.classList?e.classList.contains(t):(n=t,new RegExp("(^|\\s)"+n+"($|\\s)")).test(e.className);var n}function mt(e,t){return e.classList?e.classList.add(t):pt(e,t)||(e.className=(e.className+" "+t).trim()),e}function vt(e,t){return e.classList?e.classList.remove(t):(at(t),e.className=e.className.split(/\s+/).filter(function(e){return e!==t}).join(" ")),e}function gt(e,t,n){var r=pt(e,t);if("function"==typeof n&&(n=n(e,t)),"boolean"!=typeof n&&(n=!r),n!==r)return n?mt(e,t):vt(e,t),e}function yt(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 bt(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 _t(e,t){return e.getAttribute(t)}function wt(e,t,n){e.setAttribute(t,n)}function xt(e,t){e.removeAttribute(t)}function kt(){a.a.body.focus(),a.a.onselectstart=function(){return!1}}function Et(){a.a.onselectstart=function(){return!0}}function St(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(it(e,"height"))),n.width||(n.width=parseFloat(it(e,"width"))),n}}function Tt(e){var t;if(e.getBoundingClientRect&&e.parentNode&&(t=e.getBoundingClientRect()),!t)return{left:0,top:0};var n=a.a.documentElement,r=a.a.body,o=n.clientLeft||r.clientLeft||0,s=i.a.pageXOffset||r.scrollLeft,c=t.left+s-o,u=n.clientTop||r.clientTop||0,l=i.a.pageYOffset||r.scrollTop,d=t.top+l-u;return{left:Math.round(c),top:Math.round(d)}}function Ct(e,t){var n={},r=Tt(e),i=e.offsetWidth,o=e.offsetHeight,a=r.top,s=r.left,c=t.pageY,u=t.pageX;return t.changedTouches&&(u=t.changedTouches[0].pageX,c=t.changedTouches[0].pageY),n.y=Math.max(0,Math.min(1,(a-c+o)/o)),n.x=Math.max(0,Math.min(1,(u-s)/i)),n}function Ot(e){return nt(e)&&3===e.nodeType}function jt(e){for(;e.firstChild;)e.removeChild(e.firstChild);return e}function At(e){return"function"==typeof e&&(e=e()),(Array.isArray(e)?e:[e]).map(function(e){return"function"==typeof e&&(e=e()),ct(e)||Ot(e)?e:"string"==typeof e&&/\S/.test(e)?a.a.createTextNode(e):void 0}).filter(function(e){return e})}function Pt(e,t){return At(t).forEach(function(t){return e.appendChild(t)}),e}function Mt(e,t){return Pt(jt(e),t)}function Nt(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 Lt,It=lt("querySelector"),Dt=lt("querySelectorAll"),Rt=Object.freeze({__proto__:null,isReal:st,isEl:ct,isInFrame:ut,createEl:dt,textContent:ft,prependTo:ht,hasClass:pt,addClass:mt,removeClass:vt,toggleClass:gt,setAttributes:yt,getAttributes:bt,getAttribute:_t,setAttribute:wt,removeAttribute:xt,blockTextSelection:kt,unblockTextSelection:Et,getBoundingClientRect:St,findPosition:Tt,getPointerPosition:Ct,isTextNode:Ot,emptyEl:jt,normalizeContent:At,appendContent:Pt,insertContent:Mt,isSingleLeftClick:Nt,$:It,$$:Dt}),Bt=!1,Ft=function(){if(st()&&!1!==Lt.options.autoSetup){var e=Array.prototype.slice.call(a.a.getElementsByTagName("video")),t=Array.prototype.slice.call(a.a.getElementsByTagName("audio")),n=Array.prototype.slice.call(a.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){Ut(1);break}void 0===s.player&&null!==s.getAttribute("data-setup")&&Lt(s)}else Bt||Ut(1)}};function Ut(e,t){t&&(Lt=t),i.a.setTimeout(Ft,e)}function qt(){Bt=!0,i.a.removeEventListener("load",qt)}st()&&("complete"===a.a.readyState?qt():i.a.addEventListener("load",qt));var zt,Ht=function(e){var t=a.a.createElement("style");return t.className=e,t},Vt=function(e,t){e.styleSheet?e.styleSheet.cssText=t:e.textContent=t},Wt=3;function Yt(){return Wt++}i.a.WeakMap||(zt=function(){function e(){this.vdata="vdata"+Math.floor(i.a.performance&&i.a.performance.now()||Date.now()),this.data={}}var t=e.prototype;return t.set=function(e,t){var n=e[this.vdata]||Yt();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];Xe("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 Gt,Kt=i.a.WeakMap?new WeakMap:new zt;function $t(e,t){if(Kt.has(e)){var n=Kt.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&&Kt.delete(e)}}function Xt(e,t,n,r){n.forEach(function(n){e(t,n,r)})}function Qt(e){if(e.fixed_)return e;function t(){return!0}function n(){return!1}if(!e||!e.isPropagationStopped){var r=e||i.a.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.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.a.documentElement,c=a.a.body;e.pageX=e.clientX+(s&&s.scrollLeft||c&&c.scrollLeft||0)-(s&&s.clientLeft||c&&c.clientLeft||0),e.pageY=e.clientY+(s&&s.scrollTop||c&&c.scrollTop||0)-(s&&s.clientTop||c&&c.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 Zt=function(){if("boolean"!=typeof Gt){Gt=!1;try{var e=Object.defineProperty({},"passive",{get:function(){Gt=!0}});i.a.addEventListener("test",null,e),i.a.removeEventListener("test",null,e)}catch(e){}}return Gt},Jt=["touchstart","touchmove"];function en(e,t,n){if(Array.isArray(t))return Xt(en,e,t,n);Kt.has(e)||Kt.set(e,{});var r=Kt.get(e);if(r.handlers||(r.handlers={}),r.handlers[t]||(r.handlers[t]=[]),n.guid||(n.guid=Yt()),r.handlers[t].push(n),r.dispatcher||(r.disabled=!1,r.dispatcher=function(t,n){if(!r.disabled){t=Qt(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){Xe.error(e)}}}),1===r.handlers[t].length)if(e.addEventListener){var i=!1;Zt()&&Jt.indexOf(t)>-1&&(i={passive:!0}),e.addEventListener(t,r.dispatcher,i)}else e.attachEvent&&e.attachEvent("on"+t,r.dispatcher)}function tn(e,t,n){if(Kt.has(e)){var r=Kt.get(e);if(r.handlers){if(Array.isArray(t))return Xt(tn,e,t,n);var i=function(e,t){r.handlers[t]=[],$t(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);$t(e,t)}else i(e,t)}else for(var s in r.handlers)Object.prototype.hasOwnProperty.call(r.handlers||{},s)&&i(e,s)}}}function nn(e,t,n){var r=Kt.has(e)?Kt.get(e):{},i=e.parentNode||e.ownerDocument;if("string"==typeof t?t={type:t,target:e}:t.target||(t.target=e),t=Qt(t),r.dispatcher&&r.dispatcher.call(e,t,n),i&&!t.isPropagationStopped()&&!0===t.bubbles)nn.call(null,i,t,n);else if(!i&&!t.defaultPrevented&&t.target&&t.target[t.type]){Kt.has(t.target)||Kt.set(t.target,{});var o=Kt.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 rn(e,t,n){if(Array.isArray(t))return Xt(rn,e,t,n);var r=function r(){tn(e,t,r),n.apply(this,arguments)};r.guid=n.guid=n.guid||Yt(),en(e,t,r)}function on(e,t,n){var r=function r(){tn(e,t,r),n.apply(this,arguments)};r.guid=n.guid=n.guid||Yt(),en(e,t,r)}var an,sn=Object.freeze({__proto__:null,fixEvent:Qt,on:en,off:tn,trigger:nn,one:rn,any:on}),cn=30,un=function(e,t,n){t.guid||(t.guid=Yt());var r=t.bind(e);return r.guid=n?n+"_"+t.guid:t.guid,r},ln=function(e,t){var n=i.a.performance.now();return function(){var r=i.a.performance.now();r-n>=t&&(e.apply(void 0,arguments),n=r)}},dn=function(e,t,n,r){var o;void 0===r&&(r=i.a);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},fn=function(){};fn.prototype.allowedEvents_={},fn.prototype.on=function(e,t){var n=this.addEventListener;this.addEventListener=function(){},en(this,e,t),this.addEventListener=n},fn.prototype.addEventListener=fn.prototype.on,fn.prototype.off=function(e,t){tn(this,e,t)},fn.prototype.removeEventListener=fn.prototype.off,fn.prototype.one=function(e,t){var n=this.addEventListener;this.addEventListener=function(){},rn(this,e,t),this.addEventListener=n},fn.prototype.any=function(e,t){var n=this.addEventListener;this.addEventListener=function(){},on(this,e,t),this.addEventListener=n},fn.prototype.trigger=function(e){var t=e.type||e;"string"==typeof e&&(e={type:t}),e=Qt(e),this.allowedEvents_[t]&&this["on"+t]&&this["on"+t](e),nn(this,e)},fn.prototype.dispatchEvent=fn.prototype.trigger,fn.prototype.queueTrigger=function(e){var t=this;an||(an=new Map);var n=e.type||e,r=an.get(this);r||(r=new Map,an.set(this,r));var o=r.get(n);r.delete(n),i.a.clearTimeout(o);var a=i.a.setTimeout(function(){0===r.size&&(r=null,an.delete(t)),t.trigger(e)},0);r.set(n,a)};var hn=function(e){return e instanceof fn||!!e.eventBusEl_&&["on","one","off","trigger"].every(function(t){return"function"==typeof e[t]})},pn=function(e){return"string"==typeof e&&/\S/.test(e)||Array.isArray(e)&&!!e.length},mn=function(e){if(!e.nodeName&&!hn(e))throw new Error("Invalid target; must be a DOM node or evented object.")},vn=function(e){if(!pn(e))throw new Error("Invalid event type; must be a non-empty string or array.")},gn=function(e){if("function"!=typeof e)throw new Error("Invalid listener; must be a function.")},yn=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]),mn(n),vn(r),gn(i),{isTargetingSelf:o,target:n,type:r,listener:i=un(e,i)}},bn=function(e,t,n,r){mn(e),e.nodeName?sn[t](e,n,r):e[t](n,r)},_n={on:function(){for(var e=this,t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];var i=yn(this,n),o=i.isTargetingSelf,a=i.target,s=i.type,c=i.listener;if(bn(a,"on",s,c),!o){var u=function(){return e.off(a,s,c)};u.guid=c.guid;var l=function(){return e.off("dispose",u)};l.guid=c.guid,bn(this,"on","dispose",u),bn(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=yn(this,n),o=i.isTargetingSelf,a=i.target,s=i.type,c=i.listener;if(o)bn(a,"one",s,c);else{var u=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];c.apply(null,r)};u.guid=c.guid,bn(a,"one",s,u)}},any:function(){for(var e=this,t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];var i=yn(this,n),o=i.isTargetingSelf,a=i.target,s=i.type,c=i.listener;if(o)bn(a,"any",s,c);else{var u=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];c.apply(null,r)};u.guid=c.guid,bn(a,"any",s,u)}},off:function(e,t,n){if(!e||pn(e))tn(this.eventBusEl_,e,t);else{var r=e,i=t;mn(r),vn(i),gn(n),n=un(this,n),this.off("dispose",n),r.nodeName?(tn(r,i,n),tn(r,"dispose",n)):hn(r)&&(r.off(i,n),r.off("dispose",n))}},trigger:function(e,t){return nn(this.eventBusEl_,e,t)}};function wn(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_=dt("span",{className:"vjs-event-bus"});return tt(e,_n),e.eventedCallbacks&&e.eventedCallbacks.forEach(function(e){e()}),e.on("dispose",function(){e.off(),i.a.setTimeout(function(){e.eventBusEl_=null},0)}),e}var xn={state:{},setState:function(e){var t,n=this;return"function"==typeof e&&(e=e()),et(e,function(e,r){n.state[r]!==e&&((t=t||{})[r]={from:n.state[r],to:e}),n.state[r]=e}),t&&hn(this)&&this.trigger({changes:t,type:"statechanged"}),t}};function kn(e,t){return tt(e,xn),e.state=tt({},e.state,t),"function"==typeof e.handleStateChanged&&hn(e)&&e.on("statechanged",e.handleStateChanged),e}var En=function(e){return"string"!=typeof e?e:e.replace(/./,function(e){return e.toLowerCase()})},Sn=function(e){return"string"!=typeof e?e:e.replace(/./,function(e){return e.toUpperCase()})};function Tn(){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&&et(t,function(t,n){rt(t)?(rt(e[n])||(e[n]={}),e[n]=Tn(e[n],t)):e[n]=t})}),e}var Cn=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_=Tn({},this.options_),t=this.options_=Tn(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_"+Yt()}var o;this.name_=t.name||null,t.el?this.el_=t.el:!1!==t.createEl&&(this.el_=this.createEl()),!1!==t.evented&&wn(this,{eventBusKey:this.el_?"el_":null}),kn(this,this.constructor.defaultState),this.children_=[],this.childIndex_={},this.childNameIndex_={},i.a.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.a.Set?new Set:new o,this.setIntervalIds_=i.a.Set?new Set:new o,this.rafIds_=i.a.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_),Kt.has(this.el_)&&Kt.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_=Tn(this.options_,e),this.options_):this.options_},t.el=function(){return this.el_},t.createEl=function(e,t,n){return dt(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],c=n;return o&&o[e]?c=o[e]:s&&s[e]&&(c=s[e]),t&&(c=c.replace(/\{(\d+)\}/g,function(e,n){var r=t[n-1],i=r;return void 0===r&&(i=e),i})),c},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=Sn(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&&Sn(i.name()))&&(this.childNameIndex_[o]=i,this.childNameIndex_[En(o)]=i),"function"==typeof i.el&&i.el()){var c=null;this.children_[r+1]&&(this.children_[r+1].el_?c=this.children_[r+1].el_:ct(this.children_[r+1])&&(c=this.children_[r+1])),this.contentEl().insertBefore(i.el(),c)}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_[Sn(e.name())]=null,this.childNameIndex_[En(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||Sn(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 It(e,t||this.contentEl())},t.$$=function(e,t){return Dt(e,t||this.contentEl())},t.hasClass=function(e){return pt(this.el_,e)},t.addClass=function(e){mt(this.el_,e)},t.removeClass=function(e){vt(this.el_,e)},t.toggleClass=function(e,t){gt(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 _t(this.el_,e)},t.setAttribute=function(e,t){wt(this.el_,e,t)},t.removeAttribute=function(e){xt(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"+Sn(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=it(this.el_,e),0===(t=parseFloat(t))||isNaN(t)){var n="offset"+Sn(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.a.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.a.performance.now()-t<200&&(r.preventDefault(),this.trigger("tap")))})},t.enableTouchActivity=function(){if(this.player()&&this.player().reportUserActivity){var e,t=un(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=un(this,e),this.clearTimersOnDispose_(),n=i.a.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.a.clearTimeout(e)),e},t.setInterval=function(e,t){e=un(this,e),this.clearTimersOnDispose_();var n=i.a.setInterval(e,t);return this.setIntervalIds_.add(n),n},t.clearInterval=function(e){return this.setIntervalIds_.has(e)&&(this.setIntervalIds_.delete(e),i.a.clearInterval(e)),e},t.requestAnimationFrame=function(e){var t,n=this;return this.supportsRaf_?(this.clearTimersOnDispose_(),e=un(this,e),t=i.a.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.a.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=Sn(t),e.components_||(e.components_={});var s=e.getComponent("Player");if("Player"===t&&s&&s.players){var c=s.players,u=Object.keys(c);if(c&&u.length>0&&u.map(function(e){return c[e]}).every(Boolean))throw new Error("Can not register Player component after player has been created.")}return e.components_[t]=n,e.components_[En(t)]=n,n},e.getComponent=function(t){if(t&&e.components_)return e.components_[t]},e}();Cn.prototype.supportsRaf_="function"==typeof i.a.requestAnimationFrame&&"function"==typeof i.a.cancelAnimationFrame,Cn.registerComponent("Component",Cn);var On,jn=i.a.navigator&&i.a.navigator.userAgent||"",An=/AppleWebKit\/([\d.]+)/i.exec(jn),Pn=An?parseFloat(An.pop()):null,Mn=/iPod/i.test(jn),Nn=(On=jn.match(/OS (\d+)_/i))&&On[1]?On[1]:null,Ln=/Android/i.test(jn),In=function(){var e=jn.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}(),Dn=Ln&&In<5&&Pn<537,Rn=/Firefox/i.test(jn),Bn=/Edg/i.test(jn),Fn=!Bn&&(/Chrome/i.test(jn)||/CriOS/i.test(jn)),Un=function(){var e=jn.match(/(Chrome|CriOS)\/(\d+)/);return e&&e[2]?parseFloat(e[2]):null}(),qn=function(){var e=/MSIE\s(\d+)\.\d/.exec(jn),t=e&&parseFloat(e[1]);return!t&&/Trident\/7.0/i.test(jn)&&/rv:11.0/.test(jn)&&(t=11),t}(),zn=/Safari/i.test(jn)&&!Fn&&!Ln&&!Bn,Hn=/Windows/i.test(jn),Vn=st()&&("ontouchstart"in i.a||i.a.navigator.maxTouchPoints||i.a.DocumentTouch&&i.a.document instanceof i.a.DocumentTouch),Wn=/iPad/i.test(jn)||zn&&Vn&&!/iPhone/i.test(jn),Yn=/iPhone/i.test(jn)&&!Wn,Gn=Yn||Wn||Mn,Kn=(zn||Gn)&&!Fn,$n=Object.freeze({__proto__:null,IS_IPOD:Mn,IOS_VERSION:Nn,IS_ANDROID:Ln,ANDROID_VERSION:In,IS_NATIVE_ANDROID:Dn,IS_FIREFOX:Rn,IS_EDGE:Bn,IS_CHROME:Fn,CHROME_VERSION:Un,IE_VERSION:qn,IS_SAFARI:zn,IS_WINDOWS:Hn,TOUCH_ENABLED:Vn,IS_IPAD:Wn,IS_IPHONE:Yn,IS_IOS:Gn,IS_ANY_SAFARI:Kn});function Xn(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 Qn(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:Xn.bind(null,"start",0,e),end:Xn.bind(null,"end",1,e)}}function Zn(e,t){return Array.isArray(e)?Qn(e):void 0===e||void 0===t?Qn():Qn([[e,t]])}function Jn(e,t){var n,r,i=0;if(!t)return 0;e&&e.length||(e=Zn(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 er,tr={prefixed:!0},nr=[["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"]],rr=nr[0],ir=0;ir<nr.length;ir++)if(nr[ir][1]in a.a){er=nr[ir];break}if(er){for(var or=0;or<er.length;or++)tr[rr[or]]=er[or];tr.prefixed=er[0]!==rr[0]}function ar(e){if(e instanceof ar)return e;"number"==typeof e?this.code=e:"string"==typeof e?this.message=e:nt(e)&&("number"==typeof e.code&&(this.code=e.code),tt(this,e)),this.message||(this.message=ar.defaultMessages[this.code]||"")}ar.prototype.code=0,ar.prototype.message="",ar.prototype.status=null,ar.errorTypes=["MEDIA_ERR_CUSTOM","MEDIA_ERR_ABORTED","MEDIA_ERR_NETWORK","MEDIA_ERR_DECODE","MEDIA_ERR_SRC_NOT_SUPPORTED","MEDIA_ERR_ENCRYPTED"],ar.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 sr=0;sr<ar.errorTypes.length;sr++)ar[ar.errorTypes[sr]]=sr,ar.prototype[ar.errorTypes[sr]]=sr;function cr(e){return null!=e&&"function"==typeof e.then}function ur(e){cr(e)&&e.then(null,function(e){})}var lr=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}})})},dr=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=lr(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(lr))},fr=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()},hr="vjs-modal-dialog",pr=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_=dt("div",{className:hr+"-content"},{role:"document"}),r.descEl_=dt("p",{className:hr+"-description vjs-control-text",id:r.el().getAttribute("aria-describedby")}),ft(r.descEl_,r.description()),r.el_.appendChild(r.descEl_),r.el_.appendChild(r.contentEl_),r}f()(t,e);var n=t.prototype;return n.createEl=function(){return e.prototype.createEl.call(this,"div",{className:this.buildCSSClass(),tabIndex:-1},{"aria-describedby":this.id()+"_description","aria-hidden":"true","aria-label":this.label(),role:"dialog"})},n.dispose=function(){this.contentEl_=null,this.descEl_=null,this.previouslyActiveEl_=null,e.prototype.dispose.call(this)},n.buildCSSClass=function(){return hr+" 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(),Mt(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"),jt(this.contentEl()),this.trigger("modalempty")},n.content=function(e){return void 0!==e&&(this.content_=e),this.content_},n.conditionalFocus_=function(){var e=a.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(),v.a.isEventKey(e,"Escape")&&this.closeable())return e.preventDefault(),void this.close();if(v.a.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.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.a.HTMLAnchorElement||e instanceof i.a.HTMLAreaElement)&&e.hasAttribute("href")||(e instanceof i.a.HTMLInputElement||e instanceof i.a.HTMLSelectElement||e instanceof i.a.HTMLTextAreaElement||e instanceof i.a.HTMLButtonElement)&&!e.hasAttribute("disabled")||e instanceof i.a.HTMLIFrameElement||e instanceof i.a.HTMLObjectElement||e instanceof i.a.HTMLEmbedElement||e.hasAttribute("tabindex")&&-1!==e.getAttribute("tabindex")||e.hasAttribute("contenteditable")})},t}(Cn);pr.prototype.options_={pauseOnOpen:!0,temporary:!0},Cn.registerComponent("ModalDialog",pr);var mr=function(e){function t(t){var n;void 0===t&&(t=[]),(n=e.call(this)||this).tracks_=[],Object.defineProperty(l()(n),"length",{get:function(){return this.tracks_.length}});for(var r=0;r<t.length;r++)n.addTrack(t[r]);return n}f()(t,e);var n=t.prototype;return n.addTrack=function(e){var t=this.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}(fn);for(var vr in mr.prototype.allowedEvents_={change:"change",addtrack:"addtrack",removetrack:"removetrack"},mr.prototype.allowedEvents_)mr.prototype["on"+vr]=null;var gr=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)},yr=function(e){function t(t){var n;void 0===t&&(t=[]);for(var r=t.length-1;r>=0;r--)if(t[r].enabled){gr(t,t[r]);break}return(n=e.call(this,t)||this).changing_=!1,n}f()(t,e);var n=t.prototype;return n.addTrack=function(t){var n=this;t.enabled&&gr(this,t),e.prototype.addTrack.call(this,t),t.addEventListener&&(t.enabledChange_=function(){n.changing_||(n.changing_=!0,gr(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}(mr),br=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)},_r=function(e){function t(t){var n;void 0===t&&(t=[]);for(var r=t.length-1;r>=0;r--)if(t[r].selected){br(t,t[r]);break}return(n=e.call(this,t)||this).changing_=!1,Object.defineProperty(l()(n),"selectedIndex",{get:function(){for(var e=0;e<this.length;e++)if(this[e].selected)return e;return-1},set:function(){}}),n}f()(t,e);var n=t.prototype;return n.addTrack=function(t){var n=this;t.selected&&br(this,t),e.prototype.addTrack.call(this,t),t.addEventListener&&(t.selectedChange_=function(){n.changing_||(n.changing_=!0,br(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}(mr),wr=function(e){function t(){return e.apply(this,arguments)||this}f()(t,e);var n=t.prototype;return n.addTrack=function(t){var n=this;e.prototype.addTrack.call(this,t),this.queueChange_||(this.queueChange_=function(){return n.queueTrigger("change")}),this.triggerSelectedlanguagechange||(this.triggerSelectedlanguagechange_=function(){return n.trigger("selectedlanguagechange")}),t.addEventListener("modechange",this.queueChange_);-1===["metadata","chapters"].indexOf(t.kind)&&t.addEventListener("modechange",this.triggerSelectedlanguagechange_)},n.removeTrack=function(t){e.prototype.removeTrack.call(this,t),t.removeEventListener&&(this.queueChange_&&t.removeEventListener("modechange",this.queueChange_),this.selectedlanguagechange_&&t.removeEventListener("modechange",this.triggerSelectedlanguagechange_))},t}(mr),xr=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}(),kr=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}(),Er={alternative:"alternative",captions:"captions",main:"main",sign:"sign",subtitles:"subtitles",commentary:"commentary"},Sr={alternative:"alternative",descriptions:"descriptions",main:"main","main-desc":"main-desc",translation:"translation",commentary:"commentary"},Tr={subtitles:"subtitles",captions:"captions",descriptions:"descriptions",chapters:"chapters",metadata:"metadata"},Cr={disabled:"disabled",hidden:"hidden",showing:"showing"},Or=function(e){function t(t){var n;void 0===t&&(t={}),n=e.call(this)||this;var r={id:t.id||"vjs_track_"+Yt(),kind:t.kind||"",label:t.label||"",language:t.language||""},i=function(e){Object.defineProperty(l()(n),e,{get:function(){return r[e]},set:function(){}})};for(var o in r)i(o);return n}return f()(t,e),t}(fn),jr=function(e){var t=["protocol","hostname","port","pathname","search","hash","host"],n=a.a.createElement("a");n.href=e;var r,o=""===n.host&&"file:"!==n.protocol;o&&((r=a.a.createElement("div")).innerHTML='<a href="'+e+'"></a>',n=r.firstChild,r.setAttribute("style","display:none; position:absolute;"),a.a.body.appendChild(r));for(var s={},c=0;c<t.length;c++)s[t[c]]=n[t[c]];return"http:"===s.protocol&&(s.host=s.host.replace(/:80$/,"")),"https:"===s.protocol&&(s.host=s.host.replace(/:443$/,"")),s.protocol||(s.protocol=i.a.location.protocol),o&&a.a.body.removeChild(r),s},Ar=function(e){if(!e.match(/^https?:\/\//)){var t=a.a.createElement("div");t.innerHTML='<a href="'+e+'">x</a>',e=t.firstChild.href}return e},Pr=function(e){if("string"==typeof e){var t=/^(\/?)([\s\S]*?)((?:\.{1,2}|[^\/]+?)(\.([^\.\/\?]+)))(?:[\/]*|[\?].*)$/.exec(e);if(t)return t.pop().toLowerCase()}return""},Mr=function(e,t){void 0===t&&(t=i.a.location);var n=jr(e);return(":"===n.protocol?t.protocol:n.protocol)+n.host!==t.protocol+t.host},Nr=Object.freeze({__proto__:null,parseUrl:jr,getAbsoluteURL:Ar,getFileExtension:Pr,isCrossOrigin:Mr}),Lr=function(e,t){var n=new i.a.WebVTT.Parser(i.a,i.a.vttjs,i.a.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.a.console&&i.a.console.groupCollapsed&&i.a.console.groupCollapsed("Text Track parsing errors for "+t.src),r.forEach(function(e){return Xe.error(e)}),i.a.console&&i.a.console.groupEnd&&i.a.console.groupEnd()),n.flush()},Ir=function(e,t){var n={uri:e},r=Mr(e);r&&(n.cors=r),y()(n,un(this,function(e,n,r){if(e)return Xe.error(e,n);t.loaded_=!0,"function"!=typeof i.a.WebVTT?t.tech_&&t.tech_.any(["vttjsloaded","vttjserror"],function(e){if("vttjserror"!==e.type)return Lr(r,t);Xe.error("vttjs failed to load, stopping trying to process "+t.src)}):Lr(r,t)}))},Dr=function(e){function t(t){var n;if(void 0===t&&(t={}),!t.tech)throw new Error("A tech was not provided.");var r=Tn(t,{kind:Tr[t.kind]||"subtitles",language:t.language||t.srclang||""}),i=Cr[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 kr(n.cues_),s=new kr(n.activeCues_),c=!1,u=un(l()(n),function(){this.activeCues=this.activeCues,c&&(this.trigger("cuechange"),c=!1)});return"disabled"!==i&&n.tech_.ready(function(){n.tech_.on("timeupdate",u)},!0),Object.defineProperties(l()(n),{default:{get:function(){return o},set:function(){}},mode:{get:function(){return i},set:function(e){var t=this;Cr[e]&&(i=e,this.preload_||"disabled"===i||0!==this.cues.length||Ir(this.src,this),"disabled"!==i?this.tech_.ready(function(){t.tech_.on("timeupdate",u)},!0):this.tech_.off("timeupdate",u),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?t.push(i):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)&&Ir(n.src,l()(n))):n.loaded_=!0,n}f()(t,e);var n=t.prototype;return n.addCue=function(e){var t=e;if(i.a.vttjs&&!(e instanceof i.a.vttjs.VTTCue)){for(var n in t=new i.a.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}(Or);Dr.prototype.allowedEvents_={cuechange:"cuechange"};var Rr=function(e){function t(t){var n;void 0===t&&(t={});var r=Tn(t,{kind:Sr[t.kind]||""});n=e.call(this,r)||this;var i=!1;return Object.defineProperty(l()(n),"enabled",{get:function(){return i},set:function(e){"boolean"==typeof e&&e!==i&&(i=e,this.trigger("enabledchange"))}}),r.enabled&&(n.enabled=r.enabled),n.loaded_=!0,n}return f()(t,e),t}(Or),Br=function(e){function t(t){var n;void 0===t&&(t={});var r=Tn(t,{kind:Er[t.kind]||""});n=e.call(this,r)||this;var i=!1;return Object.defineProperty(l()(n),"selected",{get:function(){return i},set:function(e){"boolean"==typeof e&&e!==i&&(i=e,this.trigger("selectedchange"))}}),r.selected&&(n.selected=r.selected),n}return f()(t,e),t}(Or),Fr=0,Ur=2,qr=function(e){function t(t){var n,r;void 0===t&&(t={}),n=e.call(this)||this;var i=new Dr(t);return n.kind=i.kind,n.src=i.src,n.srclang=i.language,n.label=i.label,n.default=i.default,Object.defineProperties(l()(n),{readyState:{get:function(){return r}},track:{get:function(){return i}}}),r=Fr,i.addEventListener("loadeddata",function(){r=Ur,n.trigger({type:"load",target:l()(n)})}),n}return f()(t,e),t}(fn);qr.prototype.allowedEvents_={load:"load"},qr.NONE=Fr,qr.LOADING=1,qr.LOADED=Ur,qr.ERROR=3;var zr={audio:{ListClass:yr,TrackClass:Rr,capitalName:"Audio"},video:{ListClass:_r,TrackClass:Br,capitalName:"Video"},text:{ListClass:wr,TrackClass:Dr,capitalName:"Text"}};Object.keys(zr).forEach(function(e){zr[e].getterName=e+"Tracks",zr[e].privateName=e+"Tracks_"});var Hr={remoteText:{ListClass:wr,TrackClass:Dr,capitalName:"RemoteText",getterName:"remoteTextTracks",privateName:"remoteTextTracks_"},remoteTextEl:{ListClass:xr,TrackClass:qr,capitalName:"RemoteTextTrackEls",getterName:"remoteTextTrackEls",privateName:"remoteTextTrackEls_"}},Vr=c()({},zr,Hr);Hr.names=Object.keys(Hr),zr.names=Object.keys(zr),Vr.names=[].concat(Hr.names).concat(zr.names);var Wr=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}),Vr.names.forEach(function(e){var n=Vr[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 Vr.text.ListClass,r.initTrackListeners(),t.nativeControlsForTouch||r.emitTapEvents(),r.constructor&&(r.name_=r.constructor.name||"Unknown Tech"),r}f()(t,e);var n=t.prototype;return n.triggerSourceset=function(e){var t=this;this.isReady_||this.one("ready",function(){return t.setTimeout(function(){return t.triggerSourceset(e)},1)}),this.trigger({src:e,type:"sourceset"})},n.manualProgressOn=function(){this.on("durationchange",this.onDurationChange),this.manualProgress=!0,this.one("ready",this.trackProgress)},n.manualProgressOff=function(){this.manualProgress=!1,this.stopTrackingProgress(),this.off("durationchange",this.onDurationChange)},n.trackProgress=function(e){this.stopTrackingProgress(),this.progressInterval=this.setInterval(un(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 Zn(0,0)},n.bufferedPercent=function(){return Jn(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(zr.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 ar(e),this.trigger("error")),this.error_},n.played=function(){return this.hasStarted_?Zn(0,0):Zn()},n.setCurrentTime=function(){this.manualTimeUpdates&&this.trigger({type:"timeupdate",target:this,manuallyTriggered:!0})},n.initTrackListeners=function(){var e=this;zr.names.forEach(function(t){var n=zr[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.a.WebVTT)if(a.a.body.contains(this.el())){if(!this.options_["vtt.js"]&&rt(_.a)&&Object.keys(_.a).length>0)return void this.trigger("vttjsloaded");var t=a.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.a.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 Vr.text.TrackClass(i);return o.addTrack(a),a}(this,e,t,n)},n.createRemoteTextTrack=function(e){var t=Tn(e,{tech:this});return new Hr.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&&(Xe.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.a.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=Sn(e),t.techs_[e]=n,t.techs_[En(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=Sn(e),i.a&&i.a.videojs&&i.a.videojs[e]?(Xe.warn("The "+e+" tech was added to the videojs object when it should be registered using videojs.registerTech(name, tech)"),i.a.videojs[e]):void 0)},t}(Cn);Vr.names.forEach(function(e){var t=Vr[e];Wr.prototype[t.getterName]=function(){return this[t.privateName]=this[t.privateName]||new t.ListClass,this[t.privateName]}}),Wr.prototype.featuresVolumeControl=!0,Wr.prototype.featuresMuteControl=!0,Wr.prototype.featuresFullscreenResize=!1,Wr.prototype.featuresPlaybackRate=!1,Wr.prototype.featuresProgressEvents=!1,Wr.prototype.featuresSourceset=!1,Wr.prototype.featuresTimeupdateEvents=!1,Wr.prototype.featuresNativeTextTracks=!1,Wr.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:Xe.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)}},Cn.registerComponent("Tech",Wr),Wr.registerTech("Tech",Wr),Wr.defaultTechOrder_=[];var Yr={},Gr={},Kr={};function $r(e,t,n){e.setTimeout(function(){return function e(t,n,r,i,o,a){void 0===t&&(t={});void 0===n&&(n=[]);void 0===o&&(o=[]);void 0===a&&(a=!1);var s=n,c=s[0],u=s.slice(1);if("string"==typeof c)e(t,Yr[c],r,i,o,a);else if(c){var l=function(e,t){var n=Gr[e.id()],r=null;if(null==n)return r=t(e),Gr[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)}null===r&&(r=t(e),n.push([t,r]));return r}(i,c);if(!l.setSource)return o.push(l),e(t,u,r,i,o,a);l.setSource(tt({},t),function(n,s){if(n)return e(t,u,r,i,o,a);o.push(l),e(s,t.type===s.type?u:Yr[s.type],r,i,o,a)})}else u.length?e(t,u,r,i,o,a):a?r(t,o):e(t,Yr["*"],r,i,o,!0)}(t,Yr[t.type],n,e)},1)}function Xr(e,t,n,r){void 0===r&&(r=null);var i="call"+Sn(n),o=e.reduce(ei(i),r),a=o===Kr,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 Qr={buffered:1,currentTime:1,duration:1,muted:1,played:1,paused:1,seekable:1,volume:1},Zr={setCurrentTime:1,setMuted:1,setVolume:1},Jr={play:1,pause:1};function ei(e){return function(t,n){return t===Kr?Kr:n[e]?n[e](t):t}}var ti={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"},ni=function(e){void 0===e&&(e="");var t=Pr(e);return ti[t.toLowerCase()]||""};function ri(e){if(!e.type){var t=ni(e.src);t&&(e.type=t)}return e}var ii=function(e){function t(t,n,r){var i,o=Tn({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 c=Sn(s[a]),u=Wr.getTech(c);if(c||(u=Cn.getComponent(c)),u&&u.isSupported()){t.loadTech_(c);break}}return i}return f()(t,e),t}(Cn);Cn.registerComponent("MediaLoader",ii);var oi=function(e){function t(t,n){var r;return(r=e.call(this,t,n)||this).emitTapEvents(),r.enable(),r}f()(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=tt({innerHTML:'<span aria-hidden="true" class="vjs-icon-placeholder"></span>',className:this.buildCSSClass(),tabIndex:0},n),"button"===t&&Xe.error("Creating a ClickableComponent with an HTML element of "+t+" is not supported; use a Button instead."),r=tt({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_=dt("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,ft(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){v.a.isEventKey(t,"Space")||v.a.isEventKey(t,"Enter")?(t.preventDefault(),t.stopPropagation(),this.trigger("click")):e.prototype.handleKeyDown.call(this,t)},t}(Cn);Cn.registerComponent("ClickableComponent",oi);var ai=function(e){function t(t,n){var r;return(r=e.call(this,t,n)||this).update(),t.on("posterchange",un(l()(r),r.update)),r}f()(t,e);var n=t.prototype;return n.dispose=function(){this.player().off("posterchange",this.update),e.prototype.dispose.call(this)},n.createEl=function(){return dt("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)||(qn||Bn)&&t||this.player_.tech(!0).focus(),this.player_.paused()?ur(this.player_.play()):this.player_.pause()}},t}(oi);Cn.registerComponent("PosterImage",ai);var si={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 ci(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 ui(e,t,n){try{e.style[t]=n}catch(e){return}}var li=function(e){function t(t,n,r){var o;o=e.call(this,t,n,r)||this;var a=un(l()(o),o.updateDisplay);return t.on("loadstart",un(l()(o),o.toggleDisplay)),t.on("texttrackchange",a),t.on("loadedmetadata",un(l()(o),o.preselectTrack)),t.ready(un(l()(o),function(){if(t.tech_&&t.tech_.featuresNativeTextTracks)this.hide();else{t.on("fullscreenchange",a),t.on("playerresize",a),i.a.addEventListener("orientationchange",a),t.on("dispose",function(){return i.a.removeEventListener("orientationchange",a)});for(var e=this.options_.playerOptions.tracks||[],n=0;n<e.length;n++)this.player_.addRemoteTextTrack(e[n],!0);this.preselectTrack()}})),o}f()(t,e);var n=t.prototype;return n.preselectTrack=function(){for(var e,t,n,r={captions:1,subtitles:1},i=this.player_.textTracks(),o=this.player_.cache_.selectedLanguage,a=0;a<i.length;a++){var s=i[a];o&&o.enabled&&o.language&&o.language===s.language&&s.kind in r?s.kind===o.kind?n=s:n||(n=s):o&&!o.enabled?(n=null,e=null,t=null):s.default&&("descriptions"!==s.kind||e?s.kind in r&&!t&&(t=s):e=s)}n?n.mode="showing":t?t.mode="showing":e&&(e.mode="showing")},n.toggleDisplay=function(){this.player_.tech_&&this.player_.tech_.featuresNativeTextTracks?this.hide():this.show()},n.createEl=function(){return e.prototype.createEl.call(this,"div",{className:"vjs-text-track-display"},{"aria-live":"off","aria-atomic":"true"})},n.clearDisplay=function(){"function"==typeof i.a.WebVTT&&i.a.WebVTT.processCues(i.a,[],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 c=e[s];"showing"===c.mode&&("descriptions"===c.kind?o=c:a=c)}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&&ui(a.firstChild,"color",ci(t.color||"#fff",t.textOpacity)),t.backgroundColor&&(a.firstChild.style.backgroundColor=t.backgroundColor),t.backgroundOpacity&&ui(a.firstChild,"backgroundColor",ci(t.backgroundColor||"#000",t.backgroundOpacity)),t.windowColor&&(t.windowOpacity?ui(a,"backgroundColor",ci(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.a.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=si[t.fontFamily])}}},n.updateForTrack=function(e){if(Array.isArray(e)||(e=[e]),"function"==typeof i.a.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.a.WebVTT.processCues(i.a,t,this.el_);for(var a=0;a<e.length;++a){for(var s=e[a],c=0;c<s.activeCues.length;++c){var u=s.activeCues[c].displayState;mt(u,"vjs-text-track-cue"),mt(u,"vjs-text-track-cue-"+(s.language?s.language:a))}this.player_.textTrackSettings&&this.updateDisplayState(s)}}},t}(Cn);Cn.registerComponent("TextTrackDisplay",li);var di=function(e){function t(){return e.apply(this,arguments)||this}return f()(t,e),t.prototype.createEl=function(){var t=this.player_.isAudio(),n=this.localize(t?"Audio Player":"Video Player"),r=dt("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}(Cn);Cn.registerComponent("LoadingSpinner",di);var fi=function(e){function t(){return e.apply(this,arguments)||this}f()(t,e);var n=t.prototype;return n.createEl=function(e,t,n){void 0===t&&(t={}),void 0===n&&(n={}),t=tt({innerHTML:'<span aria-hidden="true" class="vjs-icon-placeholder"></span>',className:this.buildCSSClass()},t),n=tt({type:"button"},n);var r=Cn.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 Xe.warn("Adding an actionable (user controllable) child to a Button ("+n+") is not supported; use a ClickableComponent instead."),Cn.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){v.a.isEventKey(t,"Space")||v.a.isEventKey(t,"Enter")?t.stopPropagation():e.prototype.handleKeyDown.call(this,t)},t}(oi);Cn.registerComponent("Button",fi);var hi=function(e){function t(t,n){var r;return(r=e.call(this,t,n)||this).mouseused_=!1,r.on("mousedown",r.handleMouseDown),r}f()(t,e);var n=t.prototype;return n.buildCSSClass=function(){return"vjs-big-play-button"},n.handleClick=function(e){var t=this.player_.play();if(this.mouseused_&&e.clientX&&e.clientY){var n=this.player_.usingPlugin("eme")&&this.player_.eme.sessions&&this.player_.eme.sessions.length>0;return ur(t),void(!this.player_.tech(!0)||(qn||Bn)&&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()};cr(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}(fi);hi.prototype.controlText_="Play Video",Cn.registerComponent("BigPlayButton",hi);var pi=function(e){function t(t,n){var r;return(r=e.call(this,t,n)||this).controlText(n&&n.controlText||r.localize("Close")),r}f()(t,e);var n=t.prototype;return n.buildCSSClass=function(){return"vjs-close-button "+e.prototype.buildCSSClass.call(this)},n.handleClick=function(e){this.trigger({type:"close",bubbles:!1})},n.handleKeyDown=function(t){v.a.isEventKey(t,"Esc")?(t.preventDefault(),t.stopPropagation(),this.trigger("click")):e.prototype.handleKeyDown.call(this,t)},t}(fi);Cn.registerComponent("CloseButton",pi);var mi=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}f()(t,e);var n=t.prototype;return n.buildCSSClass=function(){return"vjs-play-control "+e.prototype.buildCSSClass.call(this)},n.handleClick=function(e){this.player_.paused()?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}(fi);mi.prototype.controlText_="Play",Cn.registerComponent("PlayToggle",mi);var vi=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)},gi=vi;function yi(e,t){return void 0===t&&(t=e),gi(e,t)}var bi=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}f()(t,e);var n=t.prototype;return n.createEl=function(){var t=this.buildCSSClass(),n=e.prototype.createEl.call(this,"div",{className:t+" vjs-time-control vjs-control",innerHTML:'<span class="vjs-control-text" role="presentation">'+this.localize(this.labelText_)+" </span>"});return this.contentEl_=dt("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=yi(e),this.formattedTime_!==e&&(this.formattedTime_=e,this.requestAnimationFrame(function(){if(t.contentEl_){var e=t.textNode_;t.textNode_=a.a.createTextNode(t.formattedTime_),t.textNode_&&(e?t.contentEl_.replaceChild(t.textNode_,e):t.contentEl_.appendChild(t.textNode_))}}))},n.updateContent=function(e){},t}(Cn);bi.prototype.labelText_="Time",bi.prototype.controlText_="Time",Cn.registerComponent("TimeDisplay",bi);var _i=function(e){function t(){return e.apply(this,arguments)||this}f()(t,e);var n=t.prototype;return n.buildCSSClass=function(){return"vjs-current-time"},n.updateContent=function(e){var t;t=this.player_.ended()?this.player_.duration():this.player_.scrubbing()?this.player_.getCache().currentTime:this.player_.currentTime(),this.updateTextNode_(t)},t}(bi);_i.prototype.labelText_="Current Time",_i.prototype.controlText_="Current Time",Cn.registerComponent("CurrentTimeDisplay",_i);var wi=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}f()(t,e);var n=t.prototype;return n.buildCSSClass=function(){return"vjs-duration"},n.updateContent=function(e){var t=this.player_.duration();this.updateTextNode_(t)},t}(bi);wi.prototype.labelText_="Duration",wi.prototype.controlText_="Duration",Cn.registerComponent("DurationDisplay",wi);var xi=function(e){function t(){return e.apply(this,arguments)||this}return f()(t,e),t.prototype.createEl=function(){return e.prototype.createEl.call(this,"div",{className:"vjs-time-control vjs-time-divider",innerHTML:"<div><span>/</span></div>"},{"aria-hidden":!0})},t}(Cn);Cn.registerComponent("TimeDivider",xi);var ki=function(e){function t(t,n){var r;return(r=e.call(this,t,n)||this).on(t,"durationchange",r.updateContent),r}f()(t,e);var n=t.prototype;return n.buildCSSClass=function(){return"vjs-remaining-time"},n.createEl=function(){var t=e.prototype.createEl.call(this);return t.insertBefore(dt("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}(bi);ki.prototype.labelText_="Remaining Time",ki.prototype.controlText_="Remaining Time",Cn.registerComponent("RemainingTimeDisplay",ki);var Ei=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}f()(t,e);var n=t.prototype;return n.createEl=function(){var t=e.prototype.createEl.call(this,"div",{className:"vjs-live-control vjs-control"});return this.contentEl_=dt("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}(Cn);Cn.registerComponent("LiveDisplay",Ei);var Si=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}f()(t,e);var n=t.prototype;return n.createEl=function(){var t=e.prototype.createEl.call(this,"button",{className:"vjs-seek-to-live-control vjs-control"});return this.textEl_=dt("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}(fi);Si.prototype.controlText_="Seek to live, currently playing live",Cn.registerComponent("SeekToLive",Si);var Ti=function(e,t,n){return e=Number(e),Math.min(n,Math.max(t,isNaN(e)?t:e))},Ci=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}f()(t,e);var n=t.prototype;return n.enabled=function(){return this.enabled_},n.enable=function(){this.enabled()||(this.on("mousedown",this.handleMouseDown),this.on("touchstart",this.handleMouseDown),this.on("keydown",this.handleKeyDown),this.on("click",this.handleClick),this.on(this.player_,"controlsvisible",this.update),this.playerEvent&&this.on(this.player_,this.playerEvent,this.update),this.removeClass("disabled"),this.setAttribute("tabindex",0),this.enabled_=!0)},n.disable=function(){if(this.enabled()){var e=this.bar.el_.ownerDocument;this.off("mousedown",this.handleMouseDown),this.off("touchstart",this.handleMouseDown),this.off("keydown",this.handleKeyDown),this.off("click",this.handleClick),this.off(this.player_,"controlsvisible",this.update),this.off(e,"mousemove",this.handleMouseMove),this.off(e,"mouseup",this.handleMouseUp),this.off(e,"touchmove",this.handleMouseMove),this.off(e,"touchend",this.handleMouseUp),this.removeAttribute("tabindex"),this.addClass("disabled"),this.playerEvent&&this.off(this.player_,this.playerEvent,this.update),this.enabled_=!1}},n.createEl=function(t,n,r){return void 0===n&&(n={}),void 0===r&&(r={}),n.className=n.className+" vjs-slider",n=tt({tabIndex:0},n),r=tt({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||Fn||e.preventDefault(),kt(),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;Et(),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_?t:(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(Ti(this.getPercent(),0,1).toFixed(4))},n.calculateDistance=function(e){var t=Ct(this.el_,e);return this.vertical()?t.y:t.x},n.handleKeyDown=function(t){v.a.isEventKey(t,"Left")||v.a.isEventKey(t,"Down")?(t.preventDefault(),t.stopPropagation(),this.stepBack()):v.a.isEventKey(t,"Right")||v.a.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}(Cn);Cn.registerComponent("Slider",Ci);var Oi=function(e,t){return Ti(e/t*100,0,100).toFixed(2)+"%"},ji=function(e){function t(t,n){var r;return(r=e.call(this,t,n)||this).partEls_=[],r.on(t,"progress",r.update),r}f()(t,e);var n=t.prototype;return n.createEl=function(){var t=e.prototype.createEl.call(this,"div",{className:"vjs-load-progress"}),n=dt("span",{className:"vjs-control-text"}),r=dt("span",{textContent:this.localize("Loaded")}),i=a.a.createTextNode(": ");return this.percentageEl_=dt("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=Oi(i,r);t.percent_!==a&&(t.el_.style.width=a,ft(t.percentageEl_,a),t.percent_=a);for(var s=0;s<n.length;s++){var c=n.start(s),u=n.end(s),l=o[s];l||(l=t.el_.appendChild(dt()),o[s]=l),l.dataset.start===c&&l.dataset.end===u||(l.dataset.start=c,l.dataset.end=u,l.style.left=Oi(c,i),l.style.width=Oi(u-c,i))}for(var d=o.length;d>n.length;d--)t.el_.removeChild(o[d-1]);o.length=n.length})},t}(Cn);Cn.registerComponent("LoadProgressBar",ji);var Ai=function(e){function t(t,n){var r;return(r=e.call(this,t,n)||this).update=ln(un(l()(r),r.update),cn),r}f()(t,e);var n=t.prototype;return n.createEl=function(){return e.prototype.createEl.call(this,"div",{className:"vjs-time-tooltip"},{"aria-hidden":"true"})},n.update=function(e,t,n){var r=St(this.el_),i=St(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),c=r.width/2;a<c?c+=c-a:s<c&&(c=s),c<0?c=0:c>r.width&&(c=r.width),this.el_.style.right="-"+c+"px",this.write(n)}},n.write=function(e){ft(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(),c=s-t*s;o=(c<1?"":"-")+yi(c,s)}else o=yi(n,a);i.update(e,t,o),r&&r()})},t}(Cn);Cn.registerComponent("TimeTooltip",Ai);var Pi=function(e){function t(t,n){var r;return(r=e.call(this,t,n)||this).update=ln(un(l()(r),r.update),cn),r}f()(t,e);var n=t.prototype;return n.createEl=function(){return e.prototype.createEl.call(this,"div",{className:"vjs-play-progress vjs-slider-bar"},{"aria-hidden":"true"})},n.update=function(e,t){var n=this.getChild("timeTooltip");if(n){var r=this.player_.scrubbing()?this.player_.getCache().currentTime:this.player_.currentTime();n.updateTime(e,t,r)}},t}(Cn);Pi.prototype.options_={children:[]},Gn||Ln||Pi.prototype.options_.children.push("timeTooltip"),Cn.registerComponent("PlayProgressBar",Pi);var Mi=function(e){function t(t,n){var r;return(r=e.call(this,t,n)||this).update=ln(un(l()(r),r.update),cn),r}f()(t,e);var n=t.prototype;return n.createEl=function(){return e.prototype.createEl.call(this,"div",{className:"vjs-mouse-display"})},n.update=function(e,t){var n=this,r=t*this.player_.duration();this.getChild("timeTooltip").updateTime(e,t,r,function(){n.el_.style.left=e.width*t+"px"})},t}(Cn);Mi.prototype.options_={children:["timeTooltip"]},Cn.registerComponent("MouseTimeDisplay",Mi);var Ni=function(e){function t(t,n){var r;return(r=e.call(this,t,n)||this).setEventHandlers_(),r}f()(t,e);var n=t.prototype;return n.setEventHandlers_=function(){this.update_=un(this,this.update),this.update=ln(this.update_,cn),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.a&&"visibilityState"in a.a&&this.on(a.a,"visibilitychange",this.toggleVisibility_)},n.toggleVisibility_=function(e){a.a.hidden?this.disableInterval_(e):(this.enableInterval_(),this.update())},n.enableInterval_=function(){this.updateInterval||(this.updateInterval=this.setInterval(this.update,cn))},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}",[yi(e,i),yi(i,i)],"{1} of {2}")),n.currentTime_=e,n.duration_=i),n.bar&&n.bar.update(St(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){Nt(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(Nt(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?ur(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(v.a.isEventKey(t,"Space")||v.a.isEventKey(t,"Enter"))t.preventDefault(),t.stopPropagation(),this.handleAction(t);else if(v.a.isEventKey(t,"Home"))t.preventDefault(),t.stopPropagation(),this.player_.currentTime(0);else if(v.a.isEventKey(t,"End"))t.preventDefault(),t.stopPropagation(),this.player_.currentTime(this.player_.duration());else if(/^[0-9]$/.test(v()(t))){t.preventDefault(),t.stopPropagation();var n=10*(v.a.codes[v()(t)]-v.a.codes[0])/100;this.player_.currentTime(this.player_.duration()*n)}else v.a.isEventKey(t,"PgDn")?(t.preventDefault(),t.stopPropagation(),this.player_.currentTime(this.player_.currentTime()-60)):v.a.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.a&&"visibilityState"in a.a&&this.off(a.a,"visibilitychange",this.toggleVisibility_),e.prototype.dispose.call(this)},t}(Ci);Ni.prototype.options_={children:["loadProgressBar","playProgressBar"],barName:"playProgressBar"},Gn||Ln||Ni.prototype.options_.children.splice(1,0,"mouseTimeDisplay"),Cn.registerComponent("SeekBar",Ni);var Li=function(e){function t(t,n){var r;return(r=e.call(this,t,n)||this).handleMouseMove=ln(un(l()(r),r.handleMouseMove),cn),r.throttledHandleMouseSeek=ln(un(l()(r),r.handleMouseSeek),cn),r.enable(),r}f()(t,e);var n=t.prototype;return n.createEl=function(){return e.prototype.createEl.call(this,"div",{className:"vjs-progress-control vjs-control"})},n.handleMouseMove=function(e){var t=this.getChild("seekBar");if(t){var n=t.getChild("playProgressBar"),r=t.getChild("mouseTimeDisplay");if(n||r){var i=t.el(),o=St(i),a=Ct(i,e).x;a=Ti(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}(Cn);Li.prototype.options_={children:["seekBar"]},Cn.registerComponent("ProgressControl",Li);var Ii=function(e){function t(t,n){var r;return(r=e.call(this,t,n)||this).on(t,["enterpictureinpicture","leavepictureinpicture"],r.handlePictureInPictureChange),a.a.pictureInPictureEnabled||r.disable(),r}f()(t,e);var n=t.prototype;return n.buildCSSClass=function(){return"vjs-picture-in-picture-control "+e.prototype.buildCSSClass.call(this)},n.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}(fi);Ii.prototype.controlText_="Picture-in-Picture",Cn.registerComponent("PictureInPictureToggle",Ii);var Di=function(e){function t(t,n){var r;return(r=e.call(this,t,n)||this).on(t,"fullscreenchange",r.handleFullscreenChange),!1===a.a[t.fsApi_.fullscreenEnabled]&&r.disable(),r}f()(t,e);var n=t.prototype;return n.buildCSSClass=function(){return"vjs-fullscreen-control "+e.prototype.buildCSSClass.call(this)},n.handleFullscreenChange=function(e){this.player_.isFullscreen()?this.controlText("Non-Fullscreen"):this.controlText("Fullscreen")},n.handleClick=function(e){this.player_.isFullscreen()?this.player_.exitFullscreen():this.player_.requestFullscreen()},t}(fi);Di.prototype.controlText_="Fullscreen",Cn.registerComponent("FullscreenToggle",Di);var Ri=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")})},Bi=function(e){function t(){return e.apply(this,arguments)||this}return f()(t,e),t.prototype.createEl=function(){return e.prototype.createEl.call(this,"div",{className:"vjs-volume-level",innerHTML:'<span class="vjs-control-text"></span>'})},t}(Cn);Cn.registerComponent("VolumeLevel",Bi);var Fi=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}f()(t,e);var n=t.prototype;return n.createEl=function(){return e.prototype.createEl.call(this,"div",{className:"vjs-volume-bar vjs-slider-bar"},{"aria-label":this.localize("Volume Level"),"aria-live":"polite"})},n.handleMouseDown=function(t){Nt(t)&&e.prototype.handleMouseDown.call(this,t)},n.handleMouseMove=function(e){Nt(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}(Ci);Fi.prototype.options_={children:["volumeLevel"],barName:"volumeLevel"},Fi.prototype.playerEvent="volumechange",Cn.registerComponent("VolumeBar",Fi);var Ui=function(e){function t(t,n){var r;return void 0===n&&(n={}),n.vertical=n.vertical||!1,(void 0===n.volumeBar||rt(n.volumeBar))&&(n.volumeBar=n.volumeBar||{},n.volumeBar.vertical=n.vertical),r=e.call(this,t,n)||this,Ri(l()(r),t),r.throttledHandleMouseMove=ln(un(l()(r),r.handleMouseMove),cn),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}f()(t,e);var n=t.prototype;return n.createEl=function(){var t="vjs-volume-horizontal";return this.options_.vertical&&(t="vjs-volume-vertical"),e.prototype.createEl.call(this,"div",{className:"vjs-volume-control vjs-control "+t})},n.handleMouseDown=function(e){var t=this.el_.ownerDocument;this.on(t,"mousemove",this.throttledHandleMouseMove),this.on(t,"touchmove",this.throttledHandleMouseMove),this.on(t,"mouseup",this.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}(Cn);Ui.prototype.options_={children:["volumeBar"]},Cn.registerComponent("VolumeControl",Ui);var qi=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")})},zi=function(e){function t(t,n){var r;return r=e.call(this,t,n)||this,qi(l()(r),t),r.on(t,["loadstart","volumechange"],r.update),r}f()(t,e);var n=t.prototype;return n.buildCSSClass=function(){return"vjs-mute-control "+e.prototype.buildCSSClass.call(this)},n.handleClick=function(e){var t=this.player_.volume(),n=this.player_.lastVolume_();if(0===t){var r=n<.1?.1:n;this.player_.volume(r),this.player_.muted(!1)}else this.player_.muted(!this.player_.muted())},n.update=function(e){this.updateIcon_(),this.updateControlText_()},n.updateIcon_=function(){var e=this.player_.volume(),t=3;Gn&&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++)vt(this.el_,"vjs-vol-"+n);mt(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}(fi);zi.prototype.controlText_="Mute",Cn.registerComponent("MuteToggle",zi);var Hi=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||rt(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}f()(t,e);var n=t.prototype;return n.sliderActive_=function(){this.addClass("vjs-slider-active")},n.sliderInactive_=function(){this.removeClass("vjs-slider-active")},n.volumePanelState_=function(){this.volumeControl.hasClass("vjs-hidden")&&this.muteToggle.hasClass("vjs-hidden")&&this.addClass("vjs-hidden"),this.volumeControl.hasClass("vjs-hidden")&&!this.muteToggle.hasClass("vjs-hidden")&&this.addClass("vjs-mute-toggle-only")},n.createEl=function(){var t="vjs-volume-panel-horizontal";return this.options_.inline||(t="vjs-volume-panel-vertical"),e.prototype.createEl.call(this,"div",{className:"vjs-volume-panel vjs-control "+t})},n.dispose=function(){this.handleMouseOut(),e.prototype.dispose.call(this)},n.handleVolumeControlKeyUp=function(e){v.a.isEventKey(e,"Esc")&&this.muteToggle.focus()},n.handleMouseOver=function(e){this.addClass("vjs-hover"),en(a.a,"keyup",un(this,this.handleKeyPress))},n.handleMouseOut=function(e){this.removeClass("vjs-hover"),tn(a.a,"keyup",un(this,this.handleKeyPress))},n.handleKeyPress=function(e){v.a.isEventKey(e,"Esc")&&this.handleMouseOut()},t}(Cn);Hi.prototype.options_={children:["muteToggle","volumeControl"]},Cn.registerComponent("VolumePanel",Hi);var Vi=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_=un(l()(r),r.handleBlur),r.boundHandleTapClick_=un(l()(r),r.handleTapClick),r}f()(t,e);var n=t.prototype;return n.addEventListenerForItem=function(e){e instanceof Cn&&(this.on(e,"blur",this.boundHandleBlur_),this.on(e,["tap","click"],this.boundHandleTapClick_))},n.removeEventListenerForItem=function(e){e instanceof Cn&&(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_=dt(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_),en(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.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){v.a.isEventKey(e,"Left")||v.a.isEventKey(e,"Down")?(e.preventDefault(),e.stopPropagation(),this.stepForward()):(v.a.isEventKey(e,"Right")||v.a.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}(Cn);Cn.registerComponent("Menu",Vi);var Wi=function(e){function t(t,n){var r;void 0===n&&(n={}),(r=e.call(this,t,n)||this).menuButton_=new fi(t,n),r.menuButton_.controlText(r.controlText_),r.menuButton_.el_.setAttribute("aria-haspopup","true");var i=fi.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(),en(a.a,"keyup",un(l()(r),r.handleMenuKeyUp))}),r.on("mouseleave",r.handleMouseLeave),r.on("keydown",r.handleSubmenuKeyDown),r}f()(t,e);var n=t.prototype;return n.update=function(){var e=this.createMenu();this.menu&&(this.menu.dispose(),this.removeChild(this.menu)),this.menu=e,this.addChild(e),this.buttonPressed_=!1,this.menuButton_.el_.setAttribute("aria-expanded","false"),this.items&&this.items.length<=this.hideThreshold_?this.hide():this.show()},n.createMenu=function(){var e=new Vi(this.player_,{menuButton:this});if(this.hideThreshold_=0,this.options_.title){var t=dt("li",{className:"vjs-menu-title",innerHTML:Sn(this.options_.title),tabIndex:-1});this.hideThreshold_+=1;var n=new Cn(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+" "+fi.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"),tn(a.a,"keyup",un(this,this.handleMenuKeyUp))},n.focus=function(){this.menuButton_.focus()},n.blur=function(){this.menuButton_.blur()},n.handleKeyDown=function(e){v.a.isEventKey(e,"Esc")||v.a.isEventKey(e,"Tab")?(this.buttonPressed_&&this.unpressButton(),v.a.isEventKey(e,"Tab")||(e.preventDefault(),this.menuButton_.focus())):(v.a.isEventKey(e,"Up")||v.a.isEventKey(e,"Down"))&&(this.buttonPressed_||(e.preventDefault(),this.pressButton()))},n.handleMenuKeyUp=function(e){(v.a.isEventKey(e,"Esc")||v.a.isEventKey(e,"Tab"))&&this.removeClass("vjs-hover")},n.handleSubmenuKeyPress=function(e){this.handleSubmenuKeyDown(e)},n.handleSubmenuKeyDown=function(e){(v.a.isEventKey(e,"Esc")||v.a.isEventKey(e,"Tab"))&&(this.buttonPressed_&&this.unpressButton(),v.a.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"),Gn&&ut())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}(Cn);Cn.registerComponent("MenuButton",Wi);var Yi=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 l()(r);var o=un(l()(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 f()(t,e),t}(Wi);Cn.registerComponent("TrackButton",Yi);var Gi=["Tab","Esc","Up","Down","Right","Left"],Ki=function(e){function t(t,n){var r;return(r=e.call(this,t,n)||this).selectable=n.selectable,r.isSelected_=n.selected||!1,r.multiSelectable=n.multiSelectable,r.selected(r.isSelected_),r.selectable?r.multiSelectable?r.el_.setAttribute("role","menuitemcheckbox"):r.el_.setAttribute("role","menuitemradio"):r.el_.setAttribute("role","menuitem"),r}f()(t,e);var n=t.prototype;return n.createEl=function(t,n,r){return this.nonIconControl=!0,e.prototype.createEl.call(this,"li",tt({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){Gi.some(function(e){return v.a.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}(oi);Cn.registerComponent("MenuItem",Ki);var $i=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,u=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];r.handleTracksChange.apply(l()(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(l()(r),t)};(t.on(["loadstart","texttrackchange"],u),s.addEventListener("change",u),s.addEventListener("selectedlanguagechange",d),r.on("dispose",function(){t.off(["loadstart","texttrackchange"],u),s.removeEventListener("change",u),s.removeEventListener("selectedlanguagechange",d)}),void 0===s.onchange)&&r.on(["tap","click"],function(){if("object"!=typeof i.a.Event)try{c=new i.a.Event("change")}catch(e){}c||(c=a.a.createEvent("Event")).initEvent("change",!0,!0),s.dispatchEvent(c)});return r.handleTracksChange(),r}f()(t,e);var n=t.prototype;return n.handleClick=function(t){var n=this.track,r=this.player_.textTracks();if(e.prototype.handleClick.call(this,t),r)for(var i=0;i<r.length;i++){var o=r[i];-1!==this.kinds.indexOf(o.kind)&&(o===n?"showing"!==o.mode&&(o.mode="showing"):"disabled"!==o.mode&&(o.mode="disabled"))}},n.handleTracksChange=function(e){var t="showing"===this.track.mode;t!==this.isSelected_&&this.selected(t)},n.handleSelectedLanguageChange=function(e){if("showing"===this.track.mode){var t=this.player_.cache_.selectedLanguage;if(t&&t.enabled&&t.language===this.track.language&&t.kind!==this.track.kind)return;this.player_.cache_.selectedLanguage={enabled:!0,language:this.track.language,kind:this.track.kind}}},n.dispose=function(){this.track=null,e.prototype.dispose.call(this)},t}(Ki);Cn.registerComponent("TextTrackMenuItem",$i);var Xi=function(e){function t(t,n){return n.track={player:t,kind:n.kind,kinds:n.kinds,default:!1,mode:"disabled"},n.kinds||(n.kinds=[n.kind]),n.label?n.track.label=n.label:n.track.label=n.kinds.join(" and ")+" off",n.selectable=!0,n.multiSelectable=!1,e.call(this,t,n)||this}f()(t,e);var n=t.prototype;return n.handleTracksChange=function(e){for(var t=this.player().textTracks(),n=!0,r=0,i=t.length;r<i;r++){var o=t[r];if(this.options_.kinds.indexOf(o.kind)>-1&&"showing"===o.mode){n=!1;break}}n!==this.isSelected_&&this.selected(n)},n.handleSelectedLanguageChange=function(e){for(var t=this.player().textTracks(),n=!0,r=0,i=t.length;r<i;r++){var o=t[r];if(["captions","descriptions","subtitles"].indexOf(o.kind)>-1&&"showing"===o.mode){n=!1;break}}n&&(this.player_.cache_.selectedLanguage={enabled:!1})},t}($i);Cn.registerComponent("OffTextTrackMenuItem",Xi);var Qi=function(e){function t(t,n){return void 0===n&&(n={}),n.tracks=t.textTracks(),e.call(this,t,n)||this}return f()(t,e),t.prototype.createItems=function(e,t){var n;void 0===e&&(e=[]),void 0===t&&(t=$i),this.label_&&(n=this.label_+" off"),e.push(new Xi(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}(Yi);Cn.registerComponent("TextTrackButton",Qi);var Zi=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",un(l()(r),r.update)),r}f()(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}(Ki);Cn.registerComponent("ChaptersTrackMenuItem",Zi);var Ji=function(e){function t(t,n,r){return e.call(this,t,n,r)||this}f()(t,e);var n=t.prototype;return n.buildCSSClass=function(){return"vjs-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(Sn(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 Zi(this.player_,{track:this.track_,cue:i});e.push(o)}return e},t}(Qi);Ji.prototype.kind_="chapters",Ji.prototype.controlText_="Chapters",Cn.registerComponent("ChaptersButton",Ji);var eo=function(e){function t(t,n,r){var i;i=e.call(this,t,n,r)||this;var o=t.textTracks(),a=un(l()(i),i.handleTracksChange);return o.addEventListener("change",a),i.on("dispose",function(){o.removeEventListener("change",a)}),i}f()(t,e);var n=t.prototype;return n.handleTracksChange=function(e){for(var t=this.player().textTracks(),n=!1,r=0,i=t.length;r<i;r++){var o=t[r];if(o.kind!==this.kind_&&"showing"===o.mode){n=!0;break}}n?this.disable():this.enable()},n.buildCSSClass=function(){return"vjs-descriptions-button "+e.prototype.buildCSSClass.call(this)},n.buildWrapperCSSClass=function(){return"vjs-descriptions-button "+e.prototype.buildWrapperCSSClass.call(this)},t}(Qi);eo.prototype.kind_="descriptions",eo.prototype.controlText_="Descriptions",Cn.registerComponent("DescriptionsButton",eo);var to=function(e){function t(t,n,r){return e.call(this,t,n,r)||this}f()(t,e);var n=t.prototype;return n.buildCSSClass=function(){return"vjs-subtitles-button "+e.prototype.buildCSSClass.call(this)},n.buildWrapperCSSClass=function(){return"vjs-subtitles-button "+e.prototype.buildWrapperCSSClass.call(this)},t}(Qi);to.prototype.kind_="subtitles",to.prototype.controlText_="Subtitles",Cn.registerComponent("SubtitlesButton",to);var no=function(e){function t(t,n){var r;return n.track={player:t,kind:n.kind,label:n.kind+" settings",selectable:!1,default:!1,mode:"disabled"},n.selectable=!1,n.name="CaptionSettingsMenuItem",(r=e.call(this,t,n)||this).addClass("vjs-texttrack-settings"),r.controlText(", opens "+n.kind+" settings dialog"),r}return f()(t,e),t.prototype.handleClick=function(e){this.player().getChild("textTrackSettings").open()},t}($i);Cn.registerComponent("CaptionSettingsMenuItem",no);var ro=function(e){function t(t,n,r){return e.call(this,t,n,r)||this}f()(t,e);var n=t.prototype;return n.buildCSSClass=function(){return"vjs-captions-button "+e.prototype.buildCSSClass.call(this)},n.buildWrapperCSSClass=function(){return"vjs-captions-button "+e.prototype.buildWrapperCSSClass.call(this)},n.createItems=function(){var t=[];return this.player().tech_&&this.player().tech_.featuresNativeTextTracks||!this.player().getChild("textTrackSettings")||(t.push(new no(this.player_,{kind:this.kind_})),this.hideThreshold_+=1),e.prototype.createItems.call(this,t)},t}(Qi);ro.prototype.kind_="captions",ro.prototype.controlText_="Captions",Cn.registerComponent("CaptionsButton",ro);var io=function(e){function t(){return e.apply(this,arguments)||this}return f()(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,tt({innerHTML:i},n),r)},t}($i);Cn.registerComponent("SubsCapsMenuItem",io);var oo=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(Sn(r.label_)),r}f()(t,e);var n=t.prototype;return n.buildCSSClass=function(){return"vjs-subs-caps-button "+e.prototype.buildCSSClass.call(this)},n.buildWrapperCSSClass=function(){return"vjs-subs-caps-button "+e.prototype.buildWrapperCSSClass.call(this)},n.createItems=function(){var t=[];return this.player().tech_&&this.player().tech_.featuresNativeTextTracks||!this.player().getChild("textTrackSettings")||(t.push(new no(this.player_,{kind:this.label_})),this.hideThreshold_+=1),t=e.prototype.createItems.call(this,t,io)},t}(Qi);oo.prototype.kinds_=["captions","subtitles"],oo.prototype.controlText_="Subtitles",Cn.registerComponent("SubsCapsButton",oo);var ao=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(l()(r),t)};return o.addEventListener("change",a),r.on("dispose",function(){o.removeEventListener("change",a)}),r}f()(t,e);var n=t.prototype;return n.createEl=function(t,n,r){var i='<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,tt({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}(Ki);Cn.registerComponent("AudioTrackMenuItem",ao);var so=function(e){function t(t,n){return void 0===n&&(n={}),n.tracks=t.audioTracks(),e.call(this,t,n)||this}f()(t,e);var n=t.prototype;return n.buildCSSClass=function(){return"vjs-audio-button "+e.prototype.buildCSSClass.call(this)},n.buildWrapperCSSClass=function(){return"vjs-audio-button "+e.prototype.buildWrapperCSSClass.call(this)},n.createItems=function(e){void 0===e&&(e=[]),this.hideThreshold_=1;for(var t=this.player_.audioTracks(),n=0;n<t.length;n++){var r=t[n];e.push(new ao(this.player_,{track:r,selectable:!0,multiSelectable:!1}))}return e},t}(Yi);so.prototype.controlText_="Audio Track",Cn.registerComponent("AudioTrackButton",so);var co=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}f()(t,e);var n=t.prototype;return n.handleClick=function(t){e.prototype.handleClick.call(this),this.player().playbackRate(this.rate)},n.update=function(e){this.selected(this.player().playbackRate()===this.rate)},t}(Ki);co.prototype.contentElType="button",Cn.registerComponent("PlaybackRateMenuItem",co);var uo=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}f()(t,e);var n=t.prototype;return n.createEl=function(){var t=e.prototype.createEl.call(this);return this.labelEl_=dt("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 Vi(this.player()),t=this.playbackRates();if(t)for(var n=t.length-1;n>=0;n--)e.addChild(new co(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}(Wi);uo.prototype.controlText_="Playback Rate",Cn.registerComponent("PlaybackRateMenuButton",uo);var lo=function(e){function t(){return e.apply(this,arguments)||this}f()(t,e);var n=t.prototype;return n.buildCSSClass=function(){return"vjs-spacer "+e.prototype.buildCSSClass.call(this)},n.createEl=function(){return e.prototype.createEl.call(this,"div",{className:this.buildCSSClass()})},t}(Cn);Cn.registerComponent("Spacer",lo);var fo=function(e){function t(){return e.apply(this,arguments)||this}f()(t,e);var n=t.prototype;return n.buildCSSClass=function(){return"vjs-custom-control-spacer "+e.prototype.buildCSSClass.call(this)},n.createEl=function(){var t=e.prototype.createEl.call(this,{className:this.buildCSSClass()});return t.innerHTML=" ",t},t}(lo);Cn.registerComponent("CustomControlSpacer",fo);var ho=function(e){function t(){return e.apply(this,arguments)||this}return f()(t,e),t.prototype.createEl=function(){return e.prototype.createEl.call(this,"div",{className:"vjs-control-bar",dir:"ltr"})},t}(Cn);ho.prototype.options_={children:["playToggle","volumePanel","currentTimeDisplay","timeDivider","durationDisplay","progressControl","liveDisplay","seekToLive","remainingTimeDisplay","customControlSpacer","playbackRateMenuButton","chaptersButton","descriptionsButton","subsCapsButton","audioTrackButton","fullscreenToggle"]},"exitPictureInPicture"in a.a&&ho.prototype.options_.children.splice(ho.prototype.options_.children.length-1,0,"pictureInPictureToggle"),Cn.registerComponent("ControlBar",ho);var po=function(e){function t(t,n){var r;return(r=e.call(this,t,n)||this).on(t,"error",r.open),r}f()(t,e);var n=t.prototype;return n.buildCSSClass=function(){return"vjs-error-display "+e.prototype.buildCSSClass.call(this)},n.content=function(){var e=this.player().error();return e?this.localize(e.message):""},t}(pr);po.prototype.options_=c()({},pr.prototype.options_,{pauseOnOpen:!1,fillAlways:!0,temporary:!1,uncloseable:!0}),Cn.registerComponent("ErrorDisplay",po);var mo=["#000","Black"],vo=["#00F","Blue"],go=["#0FF","Cyan"],yo=["#0F0","Green"],bo=["#F0F","Magenta"],_o=["#F00","Red"],wo=["#FFF","White"],xo=["#FF0","Yellow"],ko=["1","Opaque"],Eo=["0.5","Semi-Transparent"],So=["0","Transparent"],To={backgroundColor:{selector:".vjs-bg-color > select",id:"captions-background-color-%s",label:"Color",options:[mo,wo,_o,yo,vo,xo,bo,go]},backgroundOpacity:{selector:".vjs-bg-opacity > select",id:"captions-background-opacity-%s",label:"Transparency",options:[ko,Eo,So]},color:{selector:".vjs-fg-color > select",id:"captions-foreground-color-%s",label:"Color",options:[wo,mo,_o,yo,vo,xo,bo,go]},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:[ko,Eo]},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:[So,Eo,ko]}};function Co(e,t){if(t&&(e=t(e)),e&&"none"!==e)return e}To.windowColor.options=To.backgroundColor.options;var Oo=function(e){function t(t,n){var r;return n.temporary=!1,(r=e.call(this,t,n)||this).updateDisplay=un(l()(r),r.updateDisplay),r.fill(),r.hasBeenOpened_=r.hasBeenFilled_=!0,r.endDialog=dt("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()}),et(To,function(e){r.on(r.$(e.selector),"change",r.updateDisplay)}),r.options_.persistTextTrackSettings&&r.restoreSettings(),r}f()(t,e);var n=t.prototype;return n.dispose=function(){this.endDialog=null,e.prototype.dispose.call(this)},n.createElSelect_=function(e,t,n){var r=this;void 0===t&&(t=""),void 0===n&&(n="label");var i=To[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 dt("div",{className:"vjs-track-settings-colors",innerHTML:[this.createElFgColor_(),this.createElBgColor_(),this.createElWinColor_()].join("")})},n.createElFont_=function(){return dt("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 dt("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,Co(i.options[i.options.selectedIndex].value,o));return void 0!==a&&(e[n]=a),e},void 0===(n={})&&(n=0),Je(e=To).reduce(function(n,r){return t(n,e[r],r)},n)},n.setValues=function(e){var t=this;et(To,function(n,r){!function(e,t,n){if(t)for(var r=0;r<e.options.length;r++)if(Co(e.options[r].value,n)===t){e.selectedIndex=r;break}}(t.$(n.selector),e[r],n.parser)})},n.setDefaults=function(){var e=this;et(To,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.a.localStorage.getItem("vjs-text-track-settings"))}catch(e){Xe.warn(e)}e&&this.setValues(e)},n.saveSettings=function(){if(this.options_.persistTextTrackSettings){var e=this.getValues();try{Object.keys(e).length?i.a.localStorage.setItem("vjs-text-track-settings",JSON.stringify(e)):i.a.localStorage.removeItem("vjs-text-track-settings")}catch(e){Xe.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}(pr);Cn.registerComponent("TextTrackSettings",Oo);var jo=function(e){function t(t,n){var r,o=n.ResizeObserver||i.a.ResizeObserver;null===n.ResizeObserver&&(o=!1);var a=Tn({createEl:!o,reportTouchActivity:!1},n);return(r=e.call(this,t,a)||this).ResizeObserver=n.ResizeObserver||i.a.ResizeObserver,r.loadListener_=null,r.resizeObserver_=null,r.debouncedHandler_=dn(function(){r.resizeHandler()},100,!1,l()(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(){tn(this,"resize",e),tn(this,"unload",t),t=null};en(r.el_.contentWindow,"unload",t),en(r.el_.contentWindow,"resize",e)}},r.one("load",r.loadListener_)),r}f()(t,e);var n=t.prototype;return n.createEl=function(){return e.prototype.createEl.call(this,"iframe",{className:"vjs-resize-manager",tabIndex:-1},{"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}(Cn);Cn.registerComponent("ResizeManager",jo);var Ao={trackingThreshold:30,liveTolerance:15},Po=function(e){function t(t,n){var r,i=Tn(Ao,n,{createEl:!1});return(r=e.call(this,t,i)||this).reset_(),r.on(r.player_,"durationchange",r.handleDurationchange),qn&&"hidden"in a.a&&"visibilityState"in a.a&&r.on(a.a,"visibilitychange",r.handleVisibilityChange),r}f()(t,e);var n=t.prototype;return n.handleVisibilityChange=function(){this.player_.duration()===1/0&&(a.a.hidden?this.stopTracking():this.startTracking())},n.trackLive_=function(){var e=this.player_.seekable();if(e&&e.length){var t=Number(i.a.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_,cn),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.a,"visibilitychange",this.handleVisibilityChange),this.stopTracking(),e.prototype.dispose.call(this)},t}(Cn);Cn.registerComponent("LiveTracker",Po);var Mo,No=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)},Lo=Object.defineProperty({},"innerHTML",{get:function(){return this.cloneNode(!0).innerHTML},set:function(e){var t=a.a.createElement(this.nodeName.toLowerCase());t.innerHTML=e;for(var n=a.a.createDocumentFragment();t.childNodes.length;)n.appendChild(t.childNodes[0]);return this.innerText="",i.a.Element.prototype.appendChild.call(this,n),this.innerHTML}}),Io=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},Do=function(e){var t=e.el();if(!t.resetSourceWatch_){var n={},r=function(e){return Io([e.el(),i.a.HTMLMediaElement.prototype,i.a.Element.prototype,Lo],"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 No(e),a}};["append","appendChild","insertAdjacentHTML"].forEach(function(e){t[e]&&(n[e]=t[e],t[e]=o(n[e]))}),Object.defineProperty(t,"innerHTML",Tn(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_)}},Ro=Object.defineProperty({},"src",{get:function(){return this.hasAttribute("src")?Ar(i.a.Element.prototype.getAttribute.call(this,"src")):""},set:function(e){return i.a.Element.prototype.setAttribute.call(this,"src",e),e}}),Bo=function(e){if(e.featuresSourceset){var t=e.el();if(!t.resetSourceset_){var n=function(e){return Io([e.el(),i.a.HTMLMediaElement.prototype,Ro],"src")}(e),r=t.setAttribute,o=t.load;Object.defineProperty(t,"src",Tn(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 No(e)||(e.triggerSourceset(""),Do(e)),n},t.currentSrc?e.triggerSourceset(t.currentSrc):No(e)||Do(e),t.resetSourceset_=function(){t.resetSourceset_=null,t.load=o,t.setAttribute=r,Object.defineProperty(t,"src",n),t.resetSourceWatch_&&t.resetSourceWatch_()}}}},Fo=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)},Uo=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,c=[];s--;){var u=a[s];"track"===u.nodeName.toLowerCase()&&(r.featuresNativeTextTracks?(r.remoteTextTrackEls().addTrackElement_(u),r.remoteTextTracks().addTrack(u.track),r.textTracks().addTrack(u.track),o||r.el_.hasAttribute("crossorigin")||!Mr(u.src)||(o=!0)):c.push(u))}for(var l=0;l<c.length;l++)r.el_.removeChild(c[l])}return r.proxyNativeTracks_(),r.featuresNativeTextTracks&&o&&Xe.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_(),(Vn||Yn||Dn)&&!0===t.nativeControlsForTouch&&r.setControls(!0),r.proxyWebkitFullscreen_(),r.triggerReady(),r}f()(t,e);var n=t.prototype;return n.dispose=function(){this.el_&&this.el_.resetSourceset_&&this.el_.resetSourceset_(),t.disposeMediaElement(this.el_),this.options_=null,e.prototype.dispose.call(this)},n.setupSourcesetHandling_=function(){Bo(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=zr[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[Hr.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;zr.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.a.createElement("video");var r=Tn({},this.options_.tag&&bt(this.options_.tag));Vn&&!0===this.options_.nativeControlsForTouch||delete r.controls,yt(e,tt(r,{id:this.options_.techId,class:"vjs-tech"}))}e.playerId=this.options_.playerId}void 0!==this.options_.preload&&wt(e,"preload",this.options_.preload);for(var i=["loop","muted","playsinline","autoplay"],o=0;o<i.length;o++){var s=i[o],c=this.options_[s];void 0!==c&&(c?wt(e,s,s):xt(e,s),e[s]=c)}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){Xe(e,"Video is not ready. (Video.js)")}},n.duration=function(){var e=this;if(this.el_.duration===1/0&&Ln&&Fn&&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.a.navigator&&i.a.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)ur(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.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.a.performance&&"function"==typeof i.a.performance.now?e.creationTime=i.a.performance.now():i.a.performance&&i.a.performance.timing&&"number"==typeof i.a.performance.timing.navigationStart&&(e.creationTime=i.a.Date.now()-i.a.performance.timing.navigationStart),e},t}(Wr);Fo(Uo,"TEST_VID",function(){if(st()){var e=a.a.createElement("video"),t=a.a.createElement("track");return t.kind="captions",t.srclang="en",t.label="English",e.appendChild(t),e}}),Uo.isSupported=function(){try{Uo.TEST_VID.volume=.5}catch(e){return!1}return!(!Uo.TEST_VID||!Uo.TEST_VID.canPlayType)},Uo.canPlayType=function(e){return Uo.TEST_VID.canPlayType(e)},Uo.canPlaySource=function(e,t){return Uo.canPlayType(e.type)},Uo.canControlVolume=function(){try{var e=Uo.TEST_VID.volume;return Uo.TEST_VID.volume=e/2+.1,e!==Uo.TEST_VID.volume}catch(e){return!1}},Uo.canMuteVolume=function(){try{var e=Uo.TEST_VID.muted;return Uo.TEST_VID.muted=!e,Uo.TEST_VID.muted?wt(Uo.TEST_VID,"muted","muted"):xt(Uo.TEST_VID,"muted"),e!==Uo.TEST_VID.muted}catch(e){return!1}},Uo.canControlPlaybackRate=function(){if(Ln&&Fn&&Un<58)return!1;try{var e=Uo.TEST_VID.playbackRate;return Uo.TEST_VID.playbackRate=e/2+.1,e!==Uo.TEST_VID.playbackRate}catch(e){return!1}},Uo.canOverrideAttributes=function(){try{var e=function(){};Object.defineProperty(a.a.createElement("video"),"src",{get:e,set:e}),Object.defineProperty(a.a.createElement("audio"),"src",{get:e,set:e}),Object.defineProperty(a.a.createElement("video"),"innerHTML",{get:e,set:e}),Object.defineProperty(a.a.createElement("audio"),"innerHTML",{get:e,set:e})}catch(e){return!1}return!0},Uo.supportsNativeTextTracks=function(){return Kn||Gn&&Fn},Uo.supportsNativeVideoTracks=function(){return!(!Uo.TEST_VID||!Uo.TEST_VID.videoTracks)},Uo.supportsNativeAudioTracks=function(){return!(!Uo.TEST_VID||!Uo.TEST_VID.audioTracks)},Uo.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];Fo(Uo.prototype,t,function(){return Uo[n]()},!0)}),Uo.prototype.movingMediaElementInDOM=!Gn,Uo.prototype.featuresFullscreenResize=!0,Uo.prototype.featuresProgressEvents=!0,Uo.prototype.featuresTimeupdateEvents=!0,Uo.patchCanPlayType=function(){In>=4&&!Rn&&!Fn&&(Mo=Uo.TEST_VID&&Uo.TEST_VID.constructor.prototype.canPlayType,Uo.TEST_VID.constructor.prototype.canPlayType=function(e){return e&&/^application\/(?:x-|vnd\.apple\.)mpegurl/i.test(e)?"maybe":Mo.call(this,e)})},Uo.unpatchCanPlayType=function(){var e=Uo.TEST_VID.constructor.prototype.canPlayType;return Mo&&(Uo.TEST_VID.constructor.prototype.canPlayType=Mo),e},Uo.patchCanPlayType(),Uo.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){}}()}},Uo.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){Uo.prototype[e]=function(){return this.el_[e]||this.el_.hasAttribute(e)}}),["muted","defaultMuted","autoplay","loop","playsinline"].forEach(function(e){Uo.prototype["set"+Sn(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){Uo.prototype[e]=function(){return this.el_[e]}}),["volume","src","poster","preload","playbackRate","defaultPlaybackRate","crossOrigin"].forEach(function(e){Uo.prototype["set"+Sn(e)]=function(t){this.el_[e]=t}}),["pause","load","play"].forEach(function(e){Uo.prototype[e]=function(){return this.el_[e]()}}),Wr.withSourceHandlers(Uo),Uo.nativeSourceHandler={},Uo.nativeSourceHandler.canPlayType=function(e){try{return Uo.TEST_VID.canPlayType(e)}catch(e){return""}},Uo.nativeSourceHandler.canHandleSource=function(e,t){if(e.type)return Uo.nativeSourceHandler.canPlayType(e.type);if(e.src){var n=Pr(e.src);return Uo.nativeSourceHandler.canPlayType("video/"+n)}return""},Uo.nativeSourceHandler.handleSource=function(e,t,n){t.setSrc(e.src)},Uo.nativeSourceHandler.dispose=function(){},Uo.registerSourceHandler(Uo.nativeSourceHandler),Wr.registerTech("Html5",Uo);var qo=["progress","abort","suspend","emptied","stalled","loadedmetadata","loadeddata","timeupdate","resize","volumechange","texttrackchange"],zo={canplay:"CanPlay",canplaythrough:"CanPlayThrough",playing:"Playing",seeked:"Seeked"},Ho=["tiny","xsmall","small","medium","large","xlarge","huge"],Vo={};Ho.forEach(function(e){var t="x"===e.charAt(0)?"x-"+e.substring(1):e;Vo[e]="vjs-layout-"+t});var Wo={tiny:210,xsmall:320,small:425,medium:768,large:1440,xlarge:2560,huge:1/0},Yo=function(e){function t(n,r,i){var o;if(n.id=n.id||r.id||"vjs_video_"+Yt(),(r=tt(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(bt(c).hasOwnProperty("lang")){r.language=c.getAttribute("lang");break}c=c.parentNode}if((o=e.call(this,null,r,i)||this).boundDocumentFullscreenChange_=un(l()(o),o.documentFullscreenChange_),o.boundFullWindowOnEscKey_=un(l()(o),o.fullWindowOnEscKey),o.isFullscreen_=!1,o.log=Qe(o.id_),o.fsApi_=tr,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&&bt(n),o.language(o.options_.language),r.languages){var u={};Object.getOwnPropertyNames(r.languages).forEach(function(e){u[e.toLowerCase()]=r.languages[e]}),o.languages_=u}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(),wn(l()(o),{eventBusKey:"el_"}),o.fsApi_.requestFullscreen&&(en(a.a,o.fsApi_.fullscreenchange,o.boundDocumentFullscreenChange_),o.on(o.fsApi_.fullscreenchange,o.boundDocumentFullscreenChange_)),o.fluid_&&o.on("playerreset",o.updateStyleEl_);var d=Tn(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"),Vn&&o.addClass("vjs-touch-enabled"),Gn||o.addClass("vjs-workinghover"),t.players[o.id_]=l()(o);var f=Ge.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}f()(t,e);var n=t.prototype;return n.dispose=function(){var n=this;this.trigger("dispose"),this.off("dispose"),tn(a.a,this.fsApi_.fullscreenchange,this.boundDocumentFullscreenChange_),tn(a.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),Gr[this.id()]=null,Vr.names.forEach(function(e){var t=Vr[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=bt(n);if(o){for(t=this.el_=n,n=this.tag=a.a.createElement("video");t.children.length;)n.appendChild(t.firstChild);pt(t,"video-js")||mt(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",(qn||Fn&&Hn)&&(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.a.VIDEOJS_NO_DYNAMIC_STYLE){this.styleEl_=Ht("vjs-styles-dimensions");var c=It(".vjs-styles-defaults"),u=It("head");u.insertBefore(this.styleEl_,c?c.nextSibling:u.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);mt(f,"vjs-hidden"),f.setAttribute("hidden","hidden")}return n.initNetworkState_=n.networkState,n.parentNode&&!r&&n.parentNode.insertBefore(t,n),ht(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):Xe.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)?Xe.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,hn(this)&&this.off("playerreset",this.updateStyleEl_),e?(this.addClass("vjs-fluid"),this.fill(!1),hn(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.a.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),Vt(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,c=this.tech_&&this.tech_.el();c&&(a>=0&&(c.width=a),s>=0&&(c.height=s))}},n.loadTech_=function(e,t){var n=this;this.tech_&&this.unloadTech_();var r=Sn(e),i=e.charAt(0).toLowerCase()+e.slice(1);"Html5"!==r&&this.tag&&(Wr.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};Vr.names.forEach(function(e){var t=Vr[e];o[t.getterName]=n[t.privateName]}),tt(o,this.options_[r]),tt(o,this.options_[i]),tt(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=Wr.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(un(this,this.handleTechReady_),!0),fr(this.textTracksJson_||[],this.tech_),qo.forEach(function(e){n.on(n.tech_,e,n["handleTech"+Sn(e)+"_"])}),Object.keys(zo).forEach(function(e){n.on(n.tech_,e,function(t){0===n.tech_.playbackRate()&&n.tech_.seeking()?n.queuedCallbacks_.push({callback:n["handleTech"+zo[e]+"_"].bind(n),event:t}):n["handleTech"+zo[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||ht(this.tech_.el(),this.el()),this.tag&&(this.tag.player=null,this.tag=null)},n.unloadTech_=function(){var e=this;Vr.names.forEach(function(t){var n=Vr[t];e[n.privateName]=e[n.getterName]()}),this.textTracksJson_=dr(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&&Xe.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(cr(r))return r.catch(n)};if("any"===e&&!0!==this.muted()?cr(n=this.play())&&(n=n.catch(r)):n="muted"===e&&!0!==this.muted()?r():this.play(),cr(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 ni(t)}(this,t)),this.cache_.source=Tn({},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 c=bt(o[s]);i.push(c),c.src&&c.src===t&&a.push(c.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&&(Xe.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){Nt(e)&&this.controls_&&(this.paused()?ur(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.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 Zr)return function(e,t,n,r){return t[n](e.reduce(ei(n),r))}(this.middleware_,this.tech_,e,t);if(e in Jr)return Xr(this.middleware_,this.tech_,e,t);try{this.tech_&&this.tech_[e](t)}catch(e){throw Xe(e),e}},!0)},n.techGet_=function(e){if(this.tech_&&this.tech_.isReady_){if(e in Qr)return function(e,t,n){return e.reduceRight(ei(n),t[n]())}(this.middleware_,this.tech_,e);if(e in Jr)return Xr(this.middleware_,this.tech_,e);try{return this.tech_[e]()}catch(t){if(void 0===this.tech_[e])throw Xe("Video.js: "+e+" method not defined for "+this.techName_+" playback technology.",t),t;if("TypeError"===t.name)throw Xe("Video.js: "+e+" unavailable on "+this.techName_+" playback technology element.",t),this.tech_.isReady_=!1,t;throw Xe(t),t}}},n.play=function(){var e=this,t=this.options_.Promise||i.a.Promise;return t?new t(function(t){e.play_(t)}):this.play_()},n.play_=function(e){var t=this;void 0===e&&(e=ur),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||!Kn&&!Gn||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")||Zn(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=Zn(0,0)),e},n.bufferedPercent=function(){return Jn(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.a.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.a.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.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.a.documentElement.style.overflow,en(a.a,"keydown",this.boundFullWindowOnEscKey_),a.a.documentElement.style.overflow="hidden",mt(a.a.body,"vjs-full-window"),this.trigger("enterFullWindow")},n.fullWindowOnEscKey=function(e){v.a.isEventKey(e,"Esc")&&(!0===this.isFullscreen()?this.exitFullscreen():this.exitFullWindow())},n.exitFullWindow=function(){this.isFullscreen(!1),this.isFullWindow=!1,tn(a.a,"keydown",this.boundFullWindowOnEscKey_),a.a.documentElement.style.overflow=this.docOrigOverflow,vt(a.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.a)return this.techGet_("requestPictureInPicture")},n.exitPictureInPicture=function(){if("pictureInPictureEnabled"in a.a)return a.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 v.a.isEventKey(e,"f")}:n,i=t.muteKey,o=void 0===i?function(e){return v.a.isEventKey(e,"m")}:i,s=t.playPauseKey,c=void 0===s?function(e){return v.a.isEventKey(e,"k")||v.a.isEventKey(e,"Space")}:s;if(r.call(this,e)){e.preventDefault(),e.stopPropagation();var u=Cn.getComponent("FullscreenToggle");!1!==a.a[this.fsApi_.fullscreenEnabled]&&u.prototype.handleClick.call(this,e)}else if(o.call(this,e)){e.preventDefault(),e.stopPropagation(),Cn.getComponent("MuteToggle").prototype.handleClick.call(this,e)}else if(c.call(this,e)){e.preventDefault(),e.stopPropagation(),Cn.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=Wr.getTech(i);if(o||(o=Cn.getComponent(i)),o){if(o.isSupported()&&(t=o.canPlayType(e)))return t}else Xe.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,Wr.getTech(e)]}).filter(function(e){var t=e[0],n=e[1];return n?n.isSupported():(Xe.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=function e(t){if(Array.isArray(t)){var n=[];t.forEach(function(t){t=e(t),Array.isArray(t)?n=n.concat(t):nt(t)&&n.push(t)}),t=n}else t="string"==typeof t&&t.trim()?[ri({src:t})]:nt(t)&&"string"==typeof t.src&&t.src&&t.src.trim()?[ri(t)]:[];return t}(e);n.length?(this.changingSrc_=!0,this.cache_.sources=n,this.updateSourceCaches_(n[0]),$r(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_,Sn(t)!==Sn(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.a.Promise;this.paused()||!t?this.doReset_():ur(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_(),hn(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 ar(e),this.addClass("vjs-error"),Xe.error("(CODE:"+this.error_.code+" "+ar.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=un(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||Gn||Ln||(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 Tn(t.prototype.options_.languages,this.languages_)},n.toJSON=function(){var e=Tn(this.options_),t=e.tracks;e.tracks=[];for(var n=0;n<t.length;n++){var r=t[n];(r=Tn(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 pr(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<Ho.length;n++){var r=Ho[n];if(t<=this.breakpoints_[r]){if(e===r)return;e&&this.removeClass(Vo[e]),this.addClass(Vo[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?tt(this.breakpoints_):(this.breakpoint_="",this.breakpoints_=tt({},Wo,e),this.updateCurrentBreakpoint_(),tt(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 Vo[this.breakpoint_]||""},n.loadMedia=function(e,t){var n=this;if(e&&"object"==typeof e){this.reset(),this.cache_.media=Tn(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:ni(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:ni(t.poster)}]),t}return Tn(this.cache_.media)},t.getTagSettings=function(e){var t={sources:[],tracks:[]},n=bt(e),r=n["data-setup"];if(pt(e,"vjs-fill")&&(n.fill=!0),pt(e,"vjs-fluid")&&(n.fluid=!0),null!==r){var i=p()(r||"{}"),o=i[0],a=i[1];o&&Xe.error(o),tt(n,a)}if(tt(t,n),e.hasChildNodes())for(var s=e.childNodes,c=0,u=s.length;c<u;c++){var l=s[c],d=l.nodeName.toLowerCase();"source"===d?t.sources.push(bt(l)):"track"===d&&t.tracks.push(bt(l))}return t},n.flexNotSupported_=function(){var e=a.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}(Cn);Vr.names.forEach(function(e){var t=Vr[e];Yo.prototype[t.getterName]=function(){return this.tech_?this.tech_[t.getterName]():(this[t.privateName]=this[t.privateName]||new t.ListClass,this[t.privateName])}}),Yo.prototype.crossorigin=Yo.prototype.crossOrigin,Yo.players={};var Go=i.a.navigator;Yo.prototype.options_={techOrder:Wr.defaultTechOrder_,html5:{},flash:{},inactivityTimeout:2e3,playbackRates:[],liveui:!1,children:["mediaLoader","posterImage","textTrackDisplay","loadingSpinner","bigPlayButton","liveTracker","controlBar","errorDisplay","textTrackSettings","resizeManager"],language:Go&&(Go.languages&&Go.languages[0]||Go.userLanguage||Go.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){Yo.prototype[e]=function(){return this.techGet_(e)}}),qo.forEach(function(e){Yo.prototype["handleTech"+Sn(e)+"_"]=function(){return this.trigger(e)}}),Cn.registerComponent("Player",Yo);var Ko={},$o=function(e){return Ko.hasOwnProperty(e)},Xo=function(e){return $o(e)?Ko[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)},Jo=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=x()(t,[this].concat(r));return this[e]=function(){return o},Zo(this,o.getEventHash()),o}},ea=function(){function e(t){if(this.constructor===e)throw new Error("Plugin must be sub-classed; not directly instantiated.");this.player=t,wn(this),delete this.trigger,kn(this,this.constructor.defaultState),Qo(t,this.name),this.dispose=un(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={}),nn(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]=Jo(e,Ko[e])},e.isBasic=function(t){var n="string"==typeof t?Xo(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($o(t))Xe.warn('A plugin named "'+t+'" already exists. You may want to avoid re-registering plugins!');else if(Yo.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 Ko[t]=n,"plugin"!==t&&(e.isBasic(n)?Yo.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):Yo.prototype[t]=Jo(t,n)),n},e.deregisterPlugin=function(e){if("plugin"===e)throw new Error("Cannot de-register base plugin.");$o(e)&&(delete Ko[e],delete Yo.prototype[e])},e.getPlugins=function(e){var t;return void 0===e&&(e=Object.keys(Ko)),e.forEach(function(e){var n=Xo(e);n&&((t=t||{})[e]=n)}),t},e.getPluginVersion=function(e){var t=Xo(e);return t&&t.VERSION||""},e}();ea.getPlugin=Xo,ea.BASE_PLUGIN_NAME="plugin",ea.registerPlugin("plugin",ea),Yo.prototype.usingPlugin=function(e){return!!this.activePlugins_&&!0===this.activePlugins_[e]},Yo.prototype.hasPlugin=function(e){return!!$o(e)};var ta=function(e){return 0===e.indexOf("#")?e.slice(1):e};function na(e,t,n){var r=na.getPlayer(e);if(r)return t&&Xe.warn('Player "'+e+'" is already initialised. Options will not be applied.'),n&&r.ready(n),r;var i="string"==typeof e?It("#"+ta(e)):e;if(!ct(i))throw new TypeError("The element or ID supplied is not valid. (videojs)");i.ownerDocument.defaultView&&i.ownerDocument.body.contains(i)||Xe.warn("The element supplied is not included in the DOM"),t=t||{},na.hooks("beforesetup").forEach(function(e){var n=e(i,Tn(t));nt(n)&&!Array.isArray(n)?t=Tn(t,n):Xe.error("please return an object in beforesetup hooks")});var o=Cn.getComponent("Player");return r=new o(i,t,n),na.hooks("setup").forEach(function(e){return e(r)}),r}if(na.hooks_={},na.hooks=function(e,t){return na.hooks_[e]=na.hooks_[e]||[],t&&(na.hooks_[e]=na.hooks_[e].concat(t)),na.hooks_[e]},na.hook=function(e,t){na.hooks(e,t)},na.hookOnce=function(e,t){na.hooks(e,[].concat(t).map(function(t){return function n(){return na.removeHook(e,n),t.apply(void 0,arguments)}}))},na.removeHook=function(e,t){var n=na.hooks(e).indexOf(t);return!(n<=-1)&&(na.hooks_[e]=na.hooks_[e].slice(),na.hooks_[e].splice(n,1),!0)},!0!==i.a.VIDEOJS_NO_DYNAMIC_STYLE&&st()){var ra=It(".vjs-styles-defaults");if(!ra){ra=Ht("vjs-styles-defaults");var ia=It("head");ia&&ia.insertBefore(ra,ia.firstChild),Vt(ra,"\n      .video-js {\n        width: 300px;\n        height: 150px;\n      }\n\n      .vjs-fluid {\n        padding-top: 56.25%\n      }\n    ")}}Ut(1,na),na.VERSION=Ge,na.options=Yo.prototype.options_,na.getPlayers=function(){return Yo.players},na.getPlayer=function(e){var t,n=Yo.players;if("string"==typeof e){var r=ta(e),i=n[r];if(i)return i;t=It("#"+r)}else t=e;if(ct(t)){var o=t,a=o.player,s=o.playerId;if(a||n[s])return a||n[s]}},na.getAllPlayers=function(){return Object.keys(Yo.players).map(function(e){return Yo.players[e]}).filter(Boolean)},na.players=Yo.players,na.getComponent=Cn.getComponent,na.registerComponent=function(e,t){Wr.isTech(t)&&Xe.warn("The "+e+" tech was registered as a component. It should instead be registered using videojs.registerTech(name, tech)"),Cn.registerComponent.call(Cn,e,t)},na.getTech=Wr.getTech,na.registerTech=Wr.registerTech,na.use=function(e,t){Yr[e]=Yr[e]||[],Yr[e].push(t)},Object.defineProperty(na,"middleware",{value:{},writeable:!1,enumerable:!0}),Object.defineProperty(na.middleware,"TERMINATOR",{value:Kr,writeable:!1,enumerable:!0}),na.browser=$n,na.TOUCH_ENABLED=Vn,na.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),E()(n,e),e&&(n.super_=e),r)r.hasOwnProperty(i)&&(n.prototype[i]=r[i]);return n},na.mergeOptions=Tn,na.bind=un,na.registerPlugin=ea.registerPlugin,na.deregisterPlugin=ea.deregisterPlugin,na.plugin=function(e,t){return Xe.warn("videojs.plugin() is deprecated; use videojs.registerPlugin() instead"),ea.registerPlugin(e,t)},na.getPlugins=ea.getPlugins,na.getPlugin=ea.getPlugin,na.getPluginVersion=ea.getPluginVersion,na.addLanguage=function(e,t){var n;return e=(""+e).toLowerCase(),na.options.languages=Tn(na.options.languages,((n={})[e]=t,n)),na.options.languages[e]},na.log=Xe,na.createLogger=Qe,na.createTimeRange=na.createTimeRanges=Zn,na.formatTime=yi,na.setFormatTime=function(e){gi=e},na.resetFormatTime=function(){gi=vi},na.parseUrl=jr,na.isCrossOrigin=Mr,na.EventTarget=fn,na.on=en,na.one=rn,na.off=tn,na.trigger=nn,na.xhr=y.a,na.TextTrack=Dr,na.AudioTrack=Rr,na.VideoTrack=Br,["isEl","isTextNode","createEl","hasClass","addClass","removeClass","toggleClass","setAttributes","getAttributes","emptyEl","appendContent","insertContent"].forEach(function(e){na[e]=function(){return Xe.warn("videojs."+e+"() is deprecated; use videojs.dom."+e+"() instead"),Rt[e].apply(null,arguments)}}),na.computedStyle=it,na.dom=Rt,na.url=Nr,na.defineLazyProperty=Fo;
/**
 * @videojs/http-streaming
 * @version 1.13.2
 * @copyright 2020 Brightcove, Inc
 * @license Apache-2.0
 */
var oa=function(e,t){return/^[a-z]+:/i.test(t)?t:(/\/\//i.test(e)||(e=T.a.buildAbsoluteURL(i.a.location.href,e)),T.a.buildAbsoluteURL(e,t))},aa=function(e,t,n){return e&&n.responseURL&&t!==n.responseURL?n.responseURL:t},sa=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")},ca=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}}(),ua=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)},la=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},da=function(){return 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")}}(),fa=na.mergeOptions,ha=na.EventTarget,pa=na.log,ma=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)}})},va=function(e,t){var n=fa(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=fa(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]=fa(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=oa(t,e.uri)),e.key&&!e.key.resolvedUri&&(e.key.resolvedUri=oa(t,e.key.uri)),e.map&&!e.map.resolvedUri&&(e.map.resolvedUri=oa(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},ga=function(e,t){return e+"-"+t},ya=function(e){for(var t=e.playlists.length;t--;){var n=e.playlists[t];n.resolvedUri=oa(e.uri,n.uri),n.id=ga(t,n.uri),e.playlists[n.id]=n,e.playlists[n.uri]=n,n.attributes||(n.attributes={},pa.warn("Invalid playlist STREAM-INF detected. Missing BANDWIDTH attribute."))}},ba=function(e){ma(e,function(t){t.uri&&(t.resolvedUri=oa(e.uri,t.uri))})},_a=function(e,t){var n=e.segments[e.segments.length-1];return t&&n&&n.duration?1e3*n.duration:500*(e.targetDuration||10)},wa=function(e){function t(e,n){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};sa(this,t);var i=la(this,(t.__proto__||Object.getPrototypeOf(t)).call(this)),o=r.withCredentials,a=void 0!==o&&o,s=r.handleManifestRedirects,c=void 0!==s&&s;i.srcUrl=e,i.hls_=n,i.withCredentials=a,i.handleManifestRedirects=c;var u=n.options_;if(i.customTagParsers=u&&u.customTagParsers||[],i.customTagMappers=u&&u.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:oa(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 ua(t,ha),ca(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 D;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=va(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.a.clearTimeout(this.mediaUpdateTimeout),this.mediaUpdateTimeout=i.a.setTimeout(function(){r.trigger("mediaupdatetimeout")},_a(this.media(),!!a))),this.trigger("loadedplaylist")}},{key:"dispose",value:function(){this.trigger("dispose"),this.stopRequest(),i.a.clearTimeout(this.mediaUpdateTimeout),i.a.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.a.clearTimeout(this.finalRenditionTimeout),t){var r=e.targetDuration/2*1e3||5e3;this.finalRenditionTimeout=i.a.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=aa(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.a.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.a.clearTimeout(this.mediaUpdateTimeout);var n=this.media();if(e){var r=n?n.targetDuration/2*1e3:5e3;this.mediaUpdateTimeout=i.a.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 D;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=aa(e.handleManifestRedirects,e.srcUrl,n),r.manifest.uri=e.srcUrl,r.manifest.playlists)return e.master=r.manifest,ya(e.master),ba(e.master),e.trigger("loadedplaylist"),void(e.request||e.media(r.manifest.playlists[0]));var o=ga(0,e.srcUrl);return e.master={mediaGroups:{AUDIO:{},VIDEO:{},"CLOSED-CAPTIONS":{},SUBTITLES:{}},uri:i.a.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}(),xa=na.createTimeRange,ka=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)).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)).precise?i.result:r.result+n},Ea=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.a.Infinity}return ka(e,t,n)},Sa=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},Ta=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)},Ca=function(e,t,n,r){if(!e||!e.segments)return null;if(e.endList)return Ea(e);if(null===t)return null;t=t||0;var i=n?Ta(e,r):e.segments.length;return ka(e,e.mediaSequence+i,t)},Oa=function(e){return e-Math.floor(e)==0},ja=function(e,t){if(Oa(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(Oa(o)||r===n)return(o+e)/i}},Aa=ja.bind(null,1),Pa=ja.bind(null,-1),Ma=function(e){return e.excludeUntil&&e.excludeUntil>Date.now()},Na=function(e){return e.excludeUntil&&e.excludeUntil===1/0},La=function(e){var t=Ma(e);return!e.disabled&&!t},Ia=function(e,t){return t.attributes&&t.attributes[e]},Da=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!!La(e)&&(e.attributes.BANDWIDTH||0)<n}).length},Ra={duration:Ea,seekable:function(e,t,n){var r=t||0,i=Ca(e,t,!0,n);return null===i?xa():xa(r,i)},safeLiveIndex:Ta,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+=Pa(o.duration))>0)return{mediaIndex:i,startTime:r-Sa(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-=Aa(o.duration))<0)return{mediaIndex:i,startTime:r+Sa(e,n,i)};return{mediaIndex:a-1,startTime:t}},isEnabled:La,isDisabled:function(e){return e.disabled},isBlacklisted:Ma,isIncompatible:Na,playlistEnd:Ca,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:Ia,estimateSegmentRequestTime:function(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:0;return Ia("BANDWIDTH",n)?(e*n.attributes.BANDWIDTH-8*r)/t:NaN},isLowestEnabledRendition:Da},Ba=na.xhr,Fa=na.mergeOptions,Ua=function(){return function e(t,n){t=Fa({timeout:45e3},t);var r=e.beforeRequest||na.Hls.xhr.beforeRequest;if(r&&"function"==typeof r){var i=r(t);i&&(t=i)}var o=Ba(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}},qa=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},za=function(e,t){return e.start(t)+"-"+e.end(t)},Ha=function(e,t){var n=e.toString(16);return"00".substring(0,2-n.length)+n+(t%2?" ":"")},Va=function(e){return e>=32&&e<126?String.fromCharCode(e):"."},Wa=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},Ya=function(e){var t=e.byterange||{length:1/0,offset:0};return[t.length,t.offset,e.resolvedUri].join(",")},Ga=function(e){return e.resolvedUri},Ka=function(e){for(var t=Array.prototype.slice.call(e),n="",r=0;r<t.length/16;r++)n+=t.slice(16*r,16*r+16).map(Ha).join("")+" "+t.slice(16*r,16*r+16).map(Va).join("")+"\n";return n},$a=Object.freeze({createTransferableMessage:Wa,initSegmentId:Ya,segmentKeyId:Ga,hexDump:Ka,tagDump:function(e){var t=e.bytes;return Ka(t)},textRanges:function(e){var t="",n=void 0;for(n=0;n<e.length;n++)t+=za(e,n)+" ";return t}}),Xa=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)},Qa=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,c=void 0===s||s,u=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&&!u.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,c=a.videoTimingInfo?(o=a.videoTimingInfo).transmuxedPresentationEnd-o.transmuxedPresentationStart-o.transmuxerPrependedSeconds:a.duration+.25*a.duration;return n>new Date(s.getTime()+1e3*c)?null:(n>s&&(r=a),{segment:r,estimatedStart:r.videoTimingInfo?r.videoTimingInfo.transmuxedPresentationStart:Ra.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,h=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+h),void u.one("seeked",function(){e({programTime:n,playlist:r,retryCount:o-1,seekTo:a,pauseAfterSeek:c,tech:u,callback:l})}));var p=f.start+h;u.one("seeked",function(){return l(null,u.currentTime())}),c&&u.pause(),a(p)},Za=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 na.createTimeRanges(n)},Ja=function(e,t){return Za(e,function(e,n){return e-.1<=t&&n+.1>=t})},es=function(e,t){return Za(e,function(e){return e-1/30>=t})},ts=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(", ")},ns=function(e){for(var t=[],n=0;n<e.length;n++)t.push({start:e.start(n),end:e.end(n)});return t},rs=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)},is=function(e){return isNaN(e)||Math.abs(e)===1/0?Number.MAX_VALUE:e},os=function(e,t,n){var r=i.a.WebKitDataCue||i.a.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=is(e.mediaSource_.duration);if(n.forEach(function(e){var t=e.cueTime+this.timestampOffset;!("number"!=typeof t||i.a.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 na.log.warn("cue.frame.id is deprecated. Use cue.value.key instead."),e.value.key}},value:{get:function(){return na.log.warn("cue.frame.value is deprecated. Use cue.value.data instead."),e.value.data}},privateData:{get:function(){return na.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=[],c=0;c<a.length;c++)a[c]&&s.push(a[c]);var u=s.reduce(function(e,t){var n=e[t.startTime]||[];return n.push(t),e[t.startTime]=n,e},{}),l=Object.keys(u).sort(function(e,t){return Number(e)-Number(t)});l.forEach(function(e,t){var n=u[e],r=Number(l[t+1])||o;n.forEach(function(e){e.endTime=r})})}}},as="undefined"!=typeof window?window:{},ss="undefined"==typeof Symbol?"__target":Symbol(),cs="application/javascript",us=as.BlobBuilder||as.WebKitBlobBuilder||as.MozBlobBuilder||as.MSBlobBuilder,ls=as.URL||as.webkitURL||ls&&ls.msURL,ds=as.Worker;function fs(e,t){return function(n){var r=this;if(!t)return new ds(e);if(ds&&!n){var i=vs(t.toString().replace(/^function.+?{/,"").slice(0,-1));return this[ss]=new ds(i),function(e,t){if(!e||!t)return;var n=e.terminate;e.objURL=t,e.terminate=function(){e.objURL&&ls.revokeObjectURL(e.objURL),n.call(e)}}(this[ss],i),this[ss]}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(ds){var hs,ps=vs("self.onmessage = function () {}"),ms=new Uint8Array(1);try{(hs=new ds(ps)).postMessage(ms,[ms.buffer])}catch(e){ds=null}finally{ls.revokeObjectURL(ps),hs&&hs.terminate()}}function vs(e){try{return ls.createObjectURL(new Blob([e],{type:cs}))}catch(n){var t=new us;return t.append(e),ls.createObjectURL(t.getBlob(type))}}var gs=new fs("./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,c,u,l,d,f,h,p,m,v,g,y,b,_,w,x,k,E,S,T,C,O,j,A,P,M,N,L,I,D,R,B,F,U,q,z=e,H=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)]);E=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]),O=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]),j={video:C,audio:O},M=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]),N=new Uint8Array([0,0,0,0,0,0,0,0]),L=N,I=new Uint8Array([0,0,0,0,0,0,0,0,0,0,0,0]),D=N,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,M))},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,j[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)},p=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))},c=function(e,n){for(var r=[],i=n.length;i--;)r[i]=_(n[i]);return t.apply(null,[k.moof,a(e)].concat(r))},u=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,L),t(k.stsz,I),t(k.stco,N))},b=function(e){return t(k.stsd,new Uint8Array([0,0,0,0,0,0,0,1]),"video"===e.type?R(e):B(e))},R=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 c=e.sarRatio[0],u=e.sarRatio[1];r.push(t(k.pasp,new Uint8Array([(4278190080&c)>>24,(16711680&c)>>16,(65280&c)>>8,255&c,(4278190080&u)>>24,(16711680&u)>>16,(65280&u)>>8,255&u])))}return t.apply(null,r)},B=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))},h=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/(H+1)),s=Math.floor(e.baseMediaDecodeTime%(H+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=x(e,92),t(k.traf,n,r,i)):(o=g(e),i=x(e,o.length+92),t(k.traf,n,r,i,o))},f=function(e){return e.duration=e.duration||4294967295,t(k.trak,h(e),p(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)},q=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]},U=function(e,n){var r,i,o,a;for(n+=20+16*(i=e.samples||[]).length,r=q(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))},F=function(e,n){var r,i,o,a;for(n+=20+8*(i=e.samples||[]).length,r=q(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))},x=function(e,t){return"audio"===e.type?F(e,t):U(e,t)};o=function(){return t(k.ftyp,E,S,E,T)};var V,W,Y,G,K,$,X,Q,Z=function(e){return t(k.mdat,e)},J=c,ee=function(e){var t,n=o(),r=u(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,c=[];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,c.push(i);return c},ae=function(e){var t,n,r,i,o,a,s=0,c=e.byteLength,u=e.nalCount,l=new Uint8Array(c+4*u),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],ce=[33,65,108,84,1,2,4,8,168,2,4,8,17,191,252],ue=function(e){for(var t=[];e--;)t.push(0);return t},le={96000:[se,[227,64],ue(154),[56]],88200:[se,[231],ue(170),[56]],64000:[se,[248,192],ue(240),[56]],48000:[se,[255,192],ue(268),[55,148,128],ue(54),[112]],44100:[se,[255,192],ue(268),[55,163,128],ue(84),[112]],32000:[se,[255,192],ue(268),[55,234],ue(226),[112]],24000:[se,[255,192],ue(268),[55,255,128],ue(268),[111,112],ue(126),[224]],16000:[se,[255,192],ue(268),[55,255,128],ue(268),[111,255],ue(269),[223,108],ue(195),[1,192]],12000:[ce,ue(268),[3,127,248],ue(268),[6,255,240],ue(268),[13,255,224],ue(268),[27,253,128],ue(259),[56]],11025:[ce,ue(268),[3,127,248],ue(268),[6,255,240],ue(268),[13,255,224],ue(268),[27,255,192],ue(268),[55,175,128],ue(108),[112]],8000:[ce,ue(268),[3,121,16],ue(47),[7]]},de=(V=le,Object.keys(V).reduce(function(e,t){return e[t]=new Uint8Array(V[t].reduce(function(e,t){return e.concat(t)},[])),e},{}));$=function(e,t){return W(K(e,t))},X=function(e,t){return Y(G(e),t)},Q=function(e,t,n){return G(n?e:e-t)};var fe=9e4,he=(W=function(e){return 9e4*e},Y=function(e,t){return e*t},G=function(e){return e/9e4},K=function(e,t){return e/t},$),pe=X,me=Q,ve=function(e,t,n,r){var i,o,a,s,c,u=0,l=0,d=0;if(t.length&&(i=he(e.baseMediaDecodeTime,e.samplerate),o=Math.ceil(fe/(e.samplerate/1024)),n&&r&&(u=i-Math.max(n,r),d=(l=Math.floor(u/o))*o),!(l<1||d>fe/2))){for((a=de[e.samplerate])||(a=t[0].data),s=0;s<l;s++)c=t[0],t.splice(0,0,{data:a,dts:c.dts-o,pts:c.pts-o});e.baseMediaDecodeTime-=Math.floor(pe(d,e.samplerate))}},ge=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)}))},ye=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},be=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},_e=fe,we=function(e){delete e.minSegmentDts,delete e.maxSegmentDts,delete e.minSegmentPts,delete e.maxSegmentPts},xe=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/_e,n=Math.floor(n)),n},ke=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))},Ee=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},Se=function(e){return 181!==e.payload[0]?null:49!=(e.payload[1]<<8|e.payload[2])?null:"GA94"!==String.fromCharCode(e.payload[3],e.payload[4],e.payload[5],e.payload[6])?null:3!==e.payload[7]?null:e.payload.subarray(8,e.payload.length-1)},Te=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[2+(i=3*n)],pts:e},4&t[i+2]&&(o.ccData=t[i+3]<<8|t[i+4],a.push(o));return a},Ce=4,Oe=function e(){e.prototype.init.call(this),this.captionPackets_=[],this.ccStreams_=[new Ne(0,0),new Ne(0,1),new Ne(1,0),new Ne(1,1)],this.reset(),this.ccStreams_.forEach(function(e){e.on("data",this.trigger.bind(this,"data")),e.on("partialdone",this.trigger.bind(this,"partialdone")),e.on("done",this.trigger.bind(this,"done"))},this)};(Oe.prototype=new z).push=function(e){var t,n,r;if("sei_rbsp"===e.nalUnitType&&(t=Ee(e.escapedRBSP)).payloadType===Ce&&(n=Se(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=Te(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 je={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},Ae=function(e){return null===e?"":(e=je[e]||e,String.fromCharCode(e))},Pe=[4352,4384,4608,4640,5376,5408,5632,5664,5888,5920,4096,4864,4896,5120,5152],Me=function(){for(var e=[],t=15;t--;)e.push("");return e},Ne=function e(t,n){e.prototype.init.call(this),this.field_=t||0,this.dataChannel_=n||0,this.name_="CC"+(1+(this.field_<<1|this.dataChannel_)),this.setConstants(),this.reset(),this.push=function(e){var t,n,r,i,o;if((t=32639&e.ccData)!==this.lastControlCode_){if(4096==(61440&t)?this.lastControlCode_=t:t!==this.PADDING_&&(this.lastControlCode_=null),r=t>>>8,i=255&t,t!==this.PADDING_)if(t===this.RESUME_CAPTION_LOADING_)this.mode_="popOn";else if(t===this.END_OF_CAPTION_)this.mode_="popOn",this.clearFormatting(e.pts),this.flushDisplayed(e.pts),n=this.displayed_,this.displayed_=this.nonDisplayed_,this.nonDisplayed_=n,this.startPts_=e.pts;else if(t===this.ROLL_UP_2_ROWS_)this.rollUpRows_=2,this.setRollUp(e.pts);else if(t===this.ROLL_UP_3_ROWS_)this.rollUpRows_=3,this.setRollUp(e.pts);else if(t===this.ROLL_UP_4_ROWS_)this.rollUpRows_=4,this.setRollUp(e.pts);else if(t===this.CARRIAGE_RETURN_)this.clearFormatting(e.pts),this.flushDisplayed(e.pts),this.shiftRowsUp_(),this.startPts_=e.pts;else if(t===this.BACKSPACE_)"popOn"===this.mode_?this.nonDisplayed_[this.row_]=this.nonDisplayed_[this.row_].slice(0,-1):this.displayed_[this.row_]=this.displayed_[this.row_].slice(0,-1);else if(t===this.ERASE_DISPLAYED_MEMORY_)this.flushDisplayed(e.pts),this.displayed_=Me();else if(t===this.ERASE_NON_DISPLAYED_MEMORY_)this.nonDisplayed_=Me();else if(t===this.RESUME_DIRECT_CAPTIONING_)"paintOn"!==this.mode_&&(this.flushDisplayed(e.pts),this.displayed_=Me()),this.mode_="paintOn",this.startPts_=e.pts;else if(this.isSpecialCharacter(r,i))o=Ae((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=Ae((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=Pe.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=Ae(r),o+=Ae(i),this[this.mode_](e.pts,o),this.column_+=o.length)}else this.lastControlCode_=null}};Ne.prototype=new z,Ne.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_})},Ne.prototype.reset=function(){this.mode_="popOn",this.topRow_=0,this.startPts_=0,this.displayed_=Me(),this.nonDisplayed_=Me(),this.lastControlCode_=null,this.column_=0,this.row_=14,this.rollUpRows_=2,this.formatting_=[]},Ne.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_},Ne.prototype.isSpecialCharacter=function(e,t){return e===this.EXT_&&t>=48&&t<=63},Ne.prototype.isExtCharacter=function(e,t){return(e===this.EXT_+1||e===this.EXT_+2)&&t>=32&&t<=63},Ne.prototype.isMidRowCode=function(e,t){return e===this.EXT_&&t>=32&&t<=47},Ne.prototype.isOffsetControlCode=function(e,t){return e===this.OFFSET_&&t>=33&&t<=35},Ne.prototype.isPAC=function(e,t){return e>=this.BASE_&&e<this.BASE_+8&&t>=64&&t<=127},Ne.prototype.isColorPAC=function(e){return e>=64&&e<=79||e>=96&&e<=127},Ne.prototype.isNormalChar=function(e){return e>=32&&e<=127},Ne.prototype.setRollUp=function(e,t){if("rollUp"!==this.mode_&&(this.row_=14,this.mode_="rollUp",this.flushDisplayed(e),this.nonDisplayed_=Me(),this.displayed_=Me()),void 0!==t&&t!==this.row_)for(var n=0;n<this.rollUpRows_;n++)this.displayed_[t-n]=this.displayed_[this.row_-n],this.displayed_[this.row_-n]="";void 0===t&&(t=this.row_),this.topRow_=t-this.rollUpRows_+1},Ne.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)},Ne.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)}},Ne.prototype.popOn=function(e,t){var n=this.nonDisplayed_[this.row_];n+=t,this.nonDisplayed_[this.row_]=n},Ne.prototype.rollUp=function(e,t){var n=this.displayed_[this.row_];n+=t,this.displayed_[this.row_]=n},Ne.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_]=""},Ne.prototype.paintOn=function(e,t){var n=this.displayed_[this.row_];n+=t,this.displayed_[this.row_]=n};var Le={CaptionStream:Oe,Cea608Stream:Ne},Ie={H264_STREAM_TYPE:27,ADTS_STREAM_TYPE:15,METADATA_STREAM_TYPE:21},De=function(e,t){var n=1;for(e>t&&(n=-1);Math.abs(t-e)>4294967296;)e+=8589934592*n;return e},Re=function e(t){var n,r;e.prototype.init.call(this),this.type_=t||"shared",this.push=function(e){"shared"!==this.type_&&e.type!==this.type_||(void 0===r&&(r=e.dts),e.dts=De(e.dts,r),e.pts=De(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")}};Re.prototype=new z;var Be,Fe=Re,Ue=function(e,t,n){var r,i="";for(r=t;r<n;r++)i+="%"+("00"+e[r].toString(16)).slice(-2);return i},qe=function(e,t,n){return decodeURIComponent(Ue(e,t,n))},ze=function(e){return e[0]<<21|e[1]<<14|e[2]<<7|e[3]},He={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=qe(e.data,1,t),e.value=qe(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=qe(e.data,1,t),e.url=qe(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(Ue(n,0,t)));break}e.privateData=e.data.subarray(t+1),e.data=e.privateData}};(Be=function(e){var t,n={debug:!(!e||!e.debug),descriptor:e&&e.descriptor},r=0,i=[],o=0;if(Be.prototype.init.call(this),this.dispatchType=Ie.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,c,u;if("timed-metadata"===e.type)if(e.dataAlignmentIndicator&&(o=0,i.length=0),0===i.length&&(e.data.length<10||e.data[0]!=="I".charCodeAt(0)||e.data[1]!=="D".charCodeAt(0)||e.data[2]!=="3".charCodeAt(0)))n.debug&&console.log("Skipping unrecognized metadata packet");else if(i.push(e),o+=e.data.byteLength,1===i.length&&(r=ze(e.data.subarray(6,10)),r+=10),!(o<r)){for(t={data:new Uint8Array(r),frames:[],pts:i[0].pts,dts:i[0].dts},u=0;u<r;)t.data.set(i[0].data.subarray(0,r-u),u),u+=i[0].data.byteLength,o-=i[0].data.byteLength,i.shift();a=10,64&t.data[5]&&(a+=4,a+=ze(t.data.subarray(10,14)),r-=ze(t.data.subarray(16,20)));do{if((s=ze(t.data.subarray(a+4,a+8)))<1)return console.log("Malformed ID3 frame encountered. Skipping metadata parsing.");if((c={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=c.id,He[c.id]&&(He[c.id](c),"com.apple.streaming.transportStreamTimestamp"===c.owner)){var l=c.data,d=(1&l[3])<<30|l[4]<<22|l[5]<<14|l[6]<<6|l[7]>>>2;d*=4,d+=3&l[7],c.timeStamp=d,void 0===t.pts&&void 0===t.dts&&(t.pts=c.timeStamp,t.dts=c.timeStamp),this.trigger("timestamp",c)}t.frames.push(c),a+=10,a+=s}while(a<r);this.trigger("data",t)}}}).prototype=new z;var Ve,We,Ye,Ge=Be,Ke=Fe;(Ve=function(){var e=new Uint8Array(188),t=0;Ve.prototype.init.call(this),this.push=function(n){var r,i=0,o=188;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+=188,o+=188);i<r.byteLength&&(e.set(r.subarray(i),0),t=r.byteLength-i)},this.flush=function(){188===t&&71===e[0]&&(this.trigger("data",e),t=0),this.trigger("done")},this.endTimeline=function(){this.flush(),this.trigger("endedtimeline")},this.reset=function(){t=0,this.trigger("reset")}}).prototype=new z,(We=function(){var e,t,n,r;We.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===Ie.H264_STREAM_TYPE&&null===r.programMapTable.video?r.programMapTable.video=a:o===Ie.ADTS_STREAM_TYPE&&null===r.programMapTable.audio?r.programMapTable.audio=a:o===Ie.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=Ie.H264_STREAM_TYPE:n.pid===this.programMapTable.audio?n.streamType=Ie.ADTS_STREAM_TYPE:n.streamType=this.programMapTable["timed-metadata"][n.pid],n.type="pes",n.data=e.subarray(t),this.trigger("data",n)}}).prototype=new z,We.STREAM_TYPES={h264:27,adts:15},(Ye=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},c=0,u=0;if(e.data.length&&!(e.size<9)){for(s.trackId=e.data[0].pid,c=0;c<e.data.length;c++)o=e.data[c],a.set(o.data,u),u+=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)}};Ye.prototype.init.call(this),this.push=function(a){({pat:function(){},pes:function(){var e,t;switch(a.streamType){case Ie.H264_STREAM_TYPE:case Ie.H264_STREAM_TYPE:e=n,t="video";break;case Ie.ADTS_STREAM_TYPE:e=r,t="audio";break;case Ie.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")}}).prototype=new z;var $e={PAT_PID:0,MP2T_PACKET_LENGTH:188,TransportPacketStream:Ve,TransportParseStream:We,ElementaryStream:Ye,TimestampRolloverStream:Ke,CaptionStream:Le.CaptionStream,Cea608Stream:Le.Cea608Stream,MetadataStream:Ge};for(var Xe in Ie)Ie.hasOwnProperty(Xe)&&($e[Xe]=Ie[Xe]);var Qe,Ze=$e,Je=fe,et=[96e3,88200,64e3,48e3,44100,32e3,24e3,22050,16e3,12e3,11025,8e3,7350];(Qe=function(e){var t,n=0;Qe.prototype.init.call(this),this.push=function(r){var i,o,a,s,c,u,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,u=(c=1024*(1+(3&t[l+6])))*Je/et[(60&t[l+2])>>>2],a=l+i,t.byteLength<a)return;if(this.trigger("data",{pts:r.pts+n*u,dts:r.dts+n*u,sampleCount:c,audioobjecttype:1+(t[l+2]>>>6&3),channelcount:(1&t[l+2])<<2|(192&t[l+3])>>>6,samplerate:et[(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")}}).prototype=new z;var tt,nt,rt,it=Qe,ot=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()};(nt=function(){var e,t,n=0;nt.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")}}).prototype=new z,rt={100:!0,110:!0,122:!0,244:!0,44:!0,83:!0,86:!0,118:!0,128:!0,138:!0,139:!0,134:!0},(tt=function(){var e,t,n,r,i,o,a,s=new nt;tt.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,c,u,l,d,f,h,p,m=0,v=0,g=0,y=0,b=1;if(n=(t=new ot(e)).readUnsignedByte(),i=t.readUnsignedByte(),r=t.readUnsignedByte(),t.skipUnsignedExpGolomb(),rt[n]&&(3===(o=t.readUnsignedExpGolomb())&&t.skipBits(1),t.skipUnsignedExpGolomb(),t.skipUnsignedExpGolomb(),t.skipBits(1),t.readBoolean()))for(f=3!==o?8:12,p=0;p<f;p++)t.readBoolean()&&a(p<6?16:64,t);if(t.skipUnsignedExpGolomb(),0===(s=t.readUnsignedExpGolomb()))t.readUnsignedExpGolomb();else if(1===s)for(t.skipBits(1),t.skipExpGolomb(),t.skipExpGolomb(),c=t.readUnsignedExpGolomb(),p=0;p<c;p++)t.skipExpGolomb();if(t.skipUnsignedExpGolomb(),t.skipBits(1),u=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:h=[1,1];break;case 2:h=[12,11];break;case 3:h=[10,11];break;case 4:h=[16,11];break;case 5:h=[40,33];break;case 6:h=[24,11];break;case 7:h=[20,11];break;case 8:h=[32,11];break;case 9:h=[80,33];break;case 10:h=[18,11];break;case 11:h=[15,11];break;case 12:h=[64,33];break;case 13:h=[160,99];break;case 14:h=[4,3];break;case 15:h=[3,2];break;case 16:h=[2,1];break;case 255:h=[t.readUnsignedByte()<<8|t.readUnsignedByte(),t.readUnsignedByte()<<8|t.readUnsignedByte()]}h&&(b=h[0]/h[1])}return{profileIdc:n,levelIdc:r,profileCompatibility:i,width:Math.ceil((16*(u+1)-2*m-2*v)*b),height:(2-d)*(l+1)*16-2*g-2*y,sarRatio:h}}}).prototype=new z;var at,st={H264Stream:tt,NalByteStream:nt},ct=function(e){return e[0]==="I".charCodeAt(0)&&e[1]==="D".charCodeAt(0)&&e[2]==="3".charCodeAt(0)},ut=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},lt=function(e,t){var n=(224&e[t+5])>>5,r=e[t+4]<<3;return 6144&e[t+3]|r|n};(at=function(){var e=new Uint8Array,t=0;at.prototype.init.call(this),this.setTimestamp=function(e){t=e},this.push=function(n){var r,i,o,a,s=0,c=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-c>=3;)if(e[c]!=="I".charCodeAt(0)||e[c+1]!=="D".charCodeAt(0)||e[c+2]!=="3".charCodeAt(0))if(255!=(255&e[c])||240!=(240&e[c+1]))c++;else{if(e.length-c<7)break;if(c+(s=lt(e,c))>e.length)break;o={type:"audio",data:e.subarray(c,c+s),pts:t,dts:t},this.trigger("data",o),c+=s}else{if(e.length-c<10)break;if(c+(s=ut(e,c))>e.length)break;i={type:"timed-metadata",data:e.subarray(c,c+s)},this.trigger("data",i),c+=s}r=e.length-c,e=r>0?e.subarray(c):new Uint8Array},this.reset=function(){e=new Uint8Array,this.trigger("reset")},this.endTimeline=function(){e=new Uint8Array,this.trigger("endedtimeline")}}).prototype=new z;var dt,ft,ht,pt,mt=at,vt=st.H264Stream,gt=ct,yt=fe,bt=["audioobjecttype","channelcount","samplerate","samplingfrequencyindex","samplesize"],_t=["width","height","profileIdc","levelIdc","profileCompatibility","sarRatio"],wt=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},xt=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}};(ft=function(e,t){var n=[],r=0,i=0,o=0,a=1/0;t=t||{},ft.prototype.init.call(this),this.push=function(t){ke(e,t),e&&bt.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,c,u,l,d;0!==n.length?(s=ge(n,e,i),e.baseMediaDecodeTime=xe(e,t.keepOriginalTimestamps),ve(e,s,o,a),e.samples=ye(s),u=Z(be(s)),n=[],c=J(r,[e]),l=new Uint8Array(c.byteLength+u.byteLength),r++,l.set(c),l.set(u,c.byteLength),we(e),d=Math.ceil(1024*yt/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(){we(e),n=[],this.trigger("reset")}}).prototype=new z,(dt=function(e,t){var n,r,i=0,o=[],a=[];t=t||{},dt.prototype.init.call(this),delete e.minPTS,this.gopCache_=[],this.push=function(t){ke(e,t),"seq_parameter_set_rbsp"!==t.nalUnitType||n||(n=t.config,e.sps=[t.data],_t.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,c,u,l,d,f,h=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))?(h=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 p;if(!(p=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");we(e),s=p}ke(e,s),e.samples=oe(s),u=Z(ae(s)),e.baseMediaDecodeTime=xe(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",xt(e.baseMediaDecodeTime,d.dts,d.pts,f.dts+f.duration,f.pts+f.duration,h)),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),c=J(i,[e]),l=new Uint8Array(c.byteLength+u.byteLength),i++,l.set(c),l.set(u,c.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(){we(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&&wt(e.pps[0],o.pps[0])&&e.sps&&wt(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,c,u;for(o=e.byteLength,s=e.nalCount,c=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,c-=i.duration);return 0===n?e:n===e.length?null:((u=e.slice(n)).byteLength=o,u.duration=c,u.nalCount=s,u.pts=u[0].pts,u.dts=u[0].dts,u)},this.alignGopsAtEnd_=function(e){var t,n,r,i,o,s,c;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===(c=s?n:o))return e;var u=e.slice(c),l=u.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 u.byteLength=l.byteLength,u.duration=l.duration,u.nalCount=l.nalCount,u.pts=u[0].pts,u.dts=u[0].dts,u},this.alignGopsWith=function(e){a=e}}).prototype=new z,(pt=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,pt.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))))}}).prototype=new z,pt.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,_t.forEach(function(e){a.info[e]=this.videoTrack[e]},this)):this.audioTrack&&(s=this.audioTrack.timelineStartInfo.pts,bt.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=me(t.startPts,s,this.keepOriginalTimestamps),t.endTime=me(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=me(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)},pt.prototype.setRemux=function(e){this.remuxTracks=e},(ht=function(e){var t,n,r=this,i=!0;ht.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 Ze.MetadataStream,i.aacStream=new mt,i.audioTimestampRolloverStream=new Ze.TimestampRolloverStream("audio"),i.timedMetadataTimestampRolloverStream=new Ze.TimestampRolloverStream("timed-metadata"),i.adtsStream=new it,i.coalesceStream=new pt(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 ft(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 Ze.MetadataStream,i.packetStream=new Ze.TransportPacketStream,i.parseStream=new Ze.TransportParseStream,i.elementaryStream=new Ze.ElementaryStream,i.timestampRolloverStream=new Ze.TimestampRolloverStream,i.adtsStream=new it,i.h264Stream=new vt,i.captionStream=new Ze.CaptionStream,i.coalesceStream=new pt(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 dt(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 ft(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,we(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,we(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=gt(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()}}).prototype=new z;var kt={Transmuxer:ht,VideoSegmentStream:dt,AudioSegmentStream:ft,AUDIO_PROPERTIES:bt,VIDEO_PROPERTIES:_t,generateVideoSegmentTimingInfo:xt},Et=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")},St=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),Tt=function(){function e(t,n){Et(this,e),this.options=n||{},this.self=t,this.init()}return St(e,[{key:"init",value:function(){var e,t;this.transmuxer&&this.transmuxer.dispose(),this.transmuxer=new kt.Transmuxer(this.options),e=this.self,(t=this.transmuxer).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})})}},{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}();new function(e){e.onmessage=function(t){"init"===t.data.action&&t.data.options?this.messageHandlers=new Tt(e,t.data.options):(this.messageHandlers||(this.messageHandlers=new Tt(e)),t.data&&t.data.action&&"init"!==t.data.action&&this.messageHandlers[t.data.action]&&this.messageHandlers[t.data.action](t.data))}}(n)}()}),ys={videoCodec:"avc1",videoObjectTypeIndicator:".4d400d",audioProfile:"2"},bs=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)})})},_s=function(){var e,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",n={codecCount:0};return n.codecCount=t.split(",").length,n.codecCount=n.codecCount||2,(e=/(^|\s|,)+(avc[13])([^ ,]*)/i.exec(t))&&(n.videoCodec=e[2],n.videoObjectTypeIndicator=e[3]),n.audioProfile=/(^|\s|,)+mp4a.[0-9A-Fa-f]+\.([0-9A-Fa-f]+)/i.exec(t),n.audioProfile=n.audioProfile&&n.audioProfile[2],n},ws=function(e,t,n){return e+"/"+t+'; codecs="'+n.filter(function(e){return!!e}).join(", ")+'"'},xs=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?_s(t.CODECS):ys}(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 c in a=!0,o=!1,s)if(!s[c].uri&&!s[c].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 _s(i.playlists[0].attributes.CODECS).audioProfile}return null}(e,i.AUDIO)),r.audioProfile||(na.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=ys.audioProfile));var u={};r.videoCodec&&(u.video=""+r.videoCodec+r.videoObjectTypeIndicator),r.audioProfile&&(u.audio="mp4a.40."+r.audioProfile);var l=ws("audio",n,[u.audio]),d=ws("video",n,[u.video]),f=ws("video",n,[u.video,u.audio]);return a?!o&&u.video?[d,l]:o||u.video?[f,l]:[l,l]:u.video?[f]:[l]},ks=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},Es=function(e){return/mp4a\.\d+.\d+/i.test(e)},Ss=function(e){return/avc1\.[\da-f]+/i.test(e)},Ts=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)},Cs=function(e,t,n){var r=null,i=null,o=0,a=[],s=[];if(!e&&!t)return na.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 na.createTimeRange();for(var c=e.buffered,u=t.buffered,l=c.length;l--;)a.push({time:c.start(l),type:"start"}),a.push({time:c.end(l),type:"end"});for(l=u.length;l--;)a.push({time:u.start(l),type:"start"}),a.push({time:u.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 na.createTimeRanges(s)},Os=function(e){function t(e,n){sa(this,t);var r=la(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,na.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_=na.browser.IE_VERSION>=11;var i={remux:!1,alignGopsAtEnd:r.safeAppend_};return r.codecs_.forEach(function(e){Es(e)?r.audioCodec_=e:Ss(e)&&(r.videoCodec_=e)}),r.transmuxer_=new gs,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 Cs(this.videoBuffer_,this.audioBuffer_,this.audioDisabled_)}}),r}return ua(t,e),ca(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/9e4,presentation:e.start.pts/9e4},end:{decode:e.end.dts/9e4,presentation:e.end.pts/9e4},baseMediaDecodeTime:e.baseMediaDecodeTime/9e4};e.prependedContentDuration&&(t.prependedContentDuration=e.prependedContentDuration/9e4),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:Ts(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 c=s+1;c--&&!(e[c].pts<=i););return c=Math.max(c,0),a.splice(c,s-c+1),a}(this.gopBuffer_,e,t,this.timeMapping_)),!this.audioDisabled_&&this.audioBuffer_&&(this.audioBuffer_.updating=!0,this.audioBuffer_.remove(e,t)),rs(e,t,this.metadataTrack_),this.inbandTextTracks_)for(var n in this.inbandTextTracks_)rs(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),os(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}(na.EventTarget),js=function(e){function t(){sa(this,t);var e=la(this,(t.__proto__||Object.getPrototypeOf(t)).call(this)),n=void 0;for(n in e.nativeMediaSource_=new i.a.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?na.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.a.querySelector('[src="'+e.url_+'"]');n&&(e.player_=na(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=is(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 ua(t,e),ca(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=ks(e);if(/^(video|audio)\/mp2t$/i.test(n.type)){var r=[];n.parameters&&n.parameters.codecs&&(r=n.parameters.codecs.split(","),r=(r=bs(r)).filter(function(e){return Es(e)||Ss(e)})),0===r.length&&(r=["avc1.4d400d","mp4a.40.2"]),t=new Os(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}(na.EventTarget),As=0;na.mediaSources={};var Ps=function(e,t){var n=na.mediaSources[e];if(!n)throw new Error("Media Source not found (Video.js)");n.trigger({type:"sourceopen",swfId:t})},Ms=function(){return!!i.a.MediaSource&&!!i.a.MediaSource.isTypeSupported&&i.a.MediaSource.isTypeSupported('video/mp4;codecs="avc1.4d400d,mp4a.40.2"')},Ns=function(){if(this.MediaSource={open:Ps,supportsNativeMediaSources:Ms},Ms())return new js;throw new Error("Cannot use create a virtual MediaSource for this video")};Ns.open=Ps,Ns.supportsNativeMediaSources=Ms;var Ls={createObjectURL:function(e){var t=void 0;return e instanceof js?(t=i.a.URL.createObjectURL(e.nativeMediaSource_),e.url_=t,t):e instanceof js?(t="blob:vjs-media-source/"+As,As++,na.mediaSources[t]=e,t):(t=i.a.URL.createObjectURL(e),e.url_=t,t)}};na.MediaSource=Ns,na.URL=Ls;var Is=na.EventTarget,Ds=na.mergeOptions,Rs=function(e,t){for(var n=void 0,r=Ds(e,{duration:t.duration,minimumUpdatePeriod:t.minimumUpdatePeriod}),i=0;i<t.playlists.length;i++){var o=va(r,t.playlists[i]);o?r=o:n=!0}return ma(t,function(e,t,i,o){if(e.playlists&&e.playlists.length){var a=e.playlists[0].id,s=va(r,e.playlists[0]);s&&((r=s).mediaGroups[t][i][o].playlists[0]=r.playlists[a],n=!1)}}),n?null:r},Bs=function(e){var t=e.byterange.offset+e.byterange.length-1;return e.uri+"-"+e.byterange.offset+"-"+t},Fs=function(e,t){var n,r,i={};for(var o in e){var a=e[o].sidx;if(a){var s=Bs(a);if(!t[s])break;var c=t[s].sidxInfo;n=c,r=a,(Boolean(!n.map&&!r.map)||Boolean(n.map&&r.map&&n.map.byterange.offset===r.map.byterange.offset&&n.map.byterange.length===r.map.byterange.length))&&n.uri===r.uri&&n.byterange.offset===r.byterange.offset&&n.byterange.length===r.byterange.length&&(i[s]=t[s])}}return i},Us=function(e,t,n,r,i){var o={uri:aa(r.handleManifestRedirects,e.resolvedUri),byterange:e.byterange,playlist:t};return n(na.mergeOptions(o,{responseType:"arraybuffer",headers:qa(o)}),i)},qs=function(e){function t(e,n){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},i=arguments[3];sa(this,t);var o=la(this,(t.__proto__||Object.getPrototypeOf(t)).call(this)),a=r.withCredentials,s=void 0!==a&&a,c=r.handleManifestRedirects,u=void 0!==c&&c;if(o.hls_=n,o.withCredentials=s,o.handleManifestRedirects=u,!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_={},la(o)):(o.setupChildLoader(i,e),o)}return ua(t,Is),ca(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.a.clearTimeout(this.minimumUpdatePeriodTimeout_),i.a.clearTimeout(this.mediaRequest_),i.a.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),c=je.a.parseSidx(s.subarray(8));return r(t,c)}}}},{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=Bs(e.sidx);a[s]={sidxInfo:e.sidx},this.request=Us(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.a.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.a.clearTimeout(this.mediaUpdateTimeout),i.a.clearTimeout(this.minimumUpdatePeriodTimeout_),"HAVE_NOTHING"===this.state&&(this.started=!1)}},{key:"load",value:function(e){var t=this;i.a.clearTimeout(this.mediaUpdateTimeout),i.a.clearTimeout(this.minimumUpdatePeriodTimeout_);var n=this.media();if(e){var r=n?n.targetDuration/2*1e3:5e3;this.mediaUpdateTimeout=i.a.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=Te(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 ma(e,function(t,n,r,i){if(t.playlists&&t.playlists.length){var o="placeholder-uri-"+n+"-"+r+"-"+i,a=ga(0,o);t.playlists[0].uri=o,t.playlists[0].id=a,e.playlists[a]=t.playlists[0],e.playlists[o]=t.playlists[0]}}),ya(e),ba(e),e}},{key:"start",value:function(){var e=this;this.started=!0,this.masterPlaylistLoader_?this.mediaRequest_=i.a.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=aa(e.handleManifestRedirects,e.srcUrl,n),e.syncClientServerClock_(e.onClientServerClockSync_.bind(e))}})}},{key:"syncClientServerClock_",value:function(e){var t=this,n=Ce(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:oa(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.a.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=Te(e,{manifestUri:t,clientOffset:n}),o=Fs(i.playlists,r);return ma(i,function(e,t,n,i){if(e.playlists&&e.playlists.length){var a=e.playlists;o=Ds(o,Fs(a,r))}}),o}(e.masterXml_,e.srcUrl,e.clientOffset_,e.sidxMapping_);var r=e.parseMasterXml(),o=Rs(e.master,r),a=e.media().sidx;if(o)if(a){var s=Bs(a);if(!e.sidxMapping_[s]){var c=e.media();e.request=Us(c.sidx,c,e.hls_.xhr,{handleManifestRedirects:e.handleManifestRedirects},e.sidxRequestFinished_(c,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.a.setTimeout(function(){e.trigger("minimumUpdatePeriod")},e.master.minimumUpdatePeriod),e.refreshMedia_(e.media().id)}))}}else e.master=o;e.minimumUpdatePeriodTimeout_=i.a.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=Rs(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.a.setTimeout(function(){t.trigger("mediaupdatetimeout")},_a(this.media(),!!o))),this.trigger("loadedplaylist")}}]),t}(),zs=function(e){return na.log.debug?na.log.debug.bind(na,"VHS:",e+" >"):function(){}};function Hs(){}var Vs=function(){function e(t,n,r,i){sa(this,e),this.callbacks_=[],this.pendingCallback_=null,this.timestampOffset_=0,this.mediaSource=t,this.processedAppend_=!1,this.type_=r,this.mimeType_=n,this.logger_=zs("SourceUpdater["+r+"]["+n+"]"),"closed"===t.readyState?t.addEventListener("sourceopen",this.createSourceBuffer_.bind(this,n,i)):this.createSourceBuffer_(n,i)}return ca(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 ["+ts(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:na.createTimeRanges()}},{key:"remove",value:function(e,t){var n=this,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:Hs;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_!==Hs}},{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}(),Ws={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},Ys=2,Gs=-101,Ks=-102,$s=function(e){e.forEach(function(e){e.abort()})},Xs=function(e,t){return t.timedout?{status:t.status,message:"HLS request timed-out at URL: "+t.uri,code:Gs,xhr:t}:t.aborted?{status:t.status,message:"HLS request aborted at URL: "+t.uri,code:Ks,xhr:t}:e?{status:t.status,message:"HLS request errored at URL: "+t.uri,code:Ys,xhr:t}:null},Qs=function(e,t,n){var r=0,i=!1;return function(o,a){if(!i)return o?(i=!0,$s(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(Wa({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}},Zs=function(e,t){return function(n){var r,i,o;return e.stats=na.mergeOptions(e.stats,(i=(r=n).target,(o={bandwidth:1/0,bytesReceived:0,roundTripTime:Date.now()-i.requestTime||0}).bytesReceived=r.loaded,o.bandwidth=Math.floor(o.bytesReceived/o.roundTripTime*8*1e3),o)),!e.stats.firstBytesReceivedAt&&e.stats.bytesReceived&&(e.stats.firstBytesReceivedAt=Date.now()),t(n,e)}},Js=function(e,t,n,r,i,o,a){var s=[],c=Qs(s,n,a);if(i.key&&!i.key.bytes){var u=e(na.mergeOptions(t,{uri:i.key.resolvedUri,responseType:"arraybuffer"}),function(e,t){return function(n,r){var i=r.response,o=Xs(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:Ys,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,c));s.push(u)}if(i.map&&!i.map.bytes){var l=e(na.mergeOptions(t,{uri:i.map.resolvedUri,responseType:"arraybuffer",headers:qa(i.map)}),function(e,t,n){return function(r,i){var o=i.response,a=Xs(r,i);return a?n(a,e):0===o.byteLength?n({status:i.status,message:"Empty HLS segment content at URL: "+i.uri,code:Ys,xhr:i},e):(e.map.bytes=new Uint8Array(i.response),t&&!t.isInitialized()&&t.init(),e.map.timescales=Pe.a.timescale(e.map.bytes),e.map.videoTrackIds=Pe.a.videoTrackIds(e.map.bytes),n(null,e))}}(i,r,c));s.push(l)}var d=e(na.mergeOptions(t,{uri:i.resolvedUri,responseType:"arraybuffer",headers:qa(i)}),function(e,t,n){return function(r,i){var o=i.response,a=Xs(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:Ys,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,c));return d.addEventListener("progress",Zs(i,o)),s.push(d),function(){return $s(s)}},ec=function(e,t){var n;return e&&(n=i.a.getComputedStyle(e))?n[t]:""},tc=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})},nc=function(e,t){var n=void 0,r=void 0;return e.attributes.BANDWIDTH&&(n=e.attributes.BANDWIDTH),n=n||i.a.Number.MAX_VALUE,t.attributes.BANDWIDTH&&(r=t.attributes.BANDWIDTH),n-(r=r||i.a.Number.MAX_VALUE)},rc=function(e){return"number"==typeof e&&isFinite(e)},ic=function(e){function t(e){sa(this,t);var n=la(this,(t.__proto__||Object.getPrototypeOf(t)).call(this));if(!e)throw new TypeError("Initialization settings are required");if("function"!=typeof e.currentTime)throw new TypeError("No currentTime getter specified");if(!e.mediaSource)throw new TypeError("No MediaSource specified");return n.bandwidth=e.bandwidth,n.throughput={rate:0,count:0},n.roundTrip=NaN,n.resetStats_(),n.mediaIndex=null,n.hasPlayed_=e.hasPlayed,n.currentTime_=e.currentTime,n.seekable_=e.seekable,n.seeking_=e.seeking,n.duration_=e.duration,n.mediaSource_=e.mediaSource,n.hls_=e.hls,n.loaderType_=e.loaderType,n.startingMedia_=void 0,n.segmentMetadataTrack_=e.segmentMetadataTrack,n.goalBufferLength_=e.goalBufferLength,n.sourceType_=e.sourceType,n.inbandTextTracks_=e.inbandTextTracks,n.state_="INIT",n.checkBufferTimeout_=null,n.error_=void 0,n.currentTimeline_=-1,n.pendingSegment_=null,n.mimeType_=null,n.sourceUpdater_=null,n.xhrOptions_=null,n.activeInitSegmentId_=null,n.initSegments_={},n.cacheEncryptionKeys_=e.cacheEncryptionKeys,n.keyCache_={},"main"===n.loaderType_?n.captionParser_=new Ne.a: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_=zs("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 ua(t,e),ca(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.a.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():na.createTimeRanges()}},{key:"initSegment",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if(!e)return null;var n=Ya(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=Ga(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 Vs(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.a.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),rs(e,t,this.segmentMetadataTrack_),this.inbandTextTracks_)for(var r in this.inbandTextTracks_)rs(e,t,this.inbandTextTracks_[r])}},{key:"monitorBuffer_",value:function(){this.checkBufferTimeout_&&i.a.clearTimeout(this.checkBufferTimeout_),this.checkBufferTimeout_=i.a.setTimeout(this.monitorBufferTick_.bind(this),1)}},{key:"monitorBufferTick_",value:function(){"READY"===this.state&&this.fillBuffer_(),this.checkBufferTimeout_&&i.a.clearTimeout(this.checkBufferTimeout_),this.checkBufferTimeout_=i.a.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){return function(e,t,n){if(!e||!t)return!1;var r=n===e.segments.length;return e.endList&&"open"===t.readyState&&r}(arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.playlist_,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 c=Math.max(0,a-i);if(!t.segments.length)return null;if(c>=this.goalBufferLength_())return null;if(!r&&c>=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 u=Ra.getMediaInfoForTime(t,a,o.segmentIndex,o.time);n=u.mediaIndex,s=u.startTime}else{var l=Ra.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=Ra.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,c=e.syncController,u=t.playlists.filter(function(e){return!Ra.isIncompatible(e)}),l=u.filter(Ra.isEnabled);l.length||(l=u.filter(function(e){return!Ra.isDisabled(e)}));var d=l.filter(Ra.hasAttribute.bind(null,"BANDWIDTH")).map(function(e){var t=c.getSyncPoint(e,i,s,n)?1:2;return{playlist:e,rebufferingImpact:Ra.estimateSegmentRequestTime(o,r,e)*t-a}}),f=d.filter(function(e){return e.rebufferingImpact<=0});return tc(f,function(e,t){return nc(t.playlist,e.playlist)}),f.length?f[0]:(tc(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,c=.5;return o<=1/30&&(c=1),!a.playlist||a.playlist.uri===this.playlist_.uri||s<c?!1:(this.bandwidth=a.playlist.attributes.BANDWIDTH*Ws.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=Js(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===Ks?void(this.mediaRequestsAborted+=1):(this.pause(),e.code===Gs?(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 c=r.segmentTimestampInfo[0].ptsTime,u=r.segmentTimestampInfo[0].dtsTime;t.timestampOffset-=c-u}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=Ya(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,c=void 0===s?[]:s,u=e.mediaIndex,l=e.timeline;return["appending ["+u+"] of ["+o+", "+(o+c.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(rc(n)&&rc(r)){rs(n,r,this.segmentMetadataTrack_);var o=i.a.WebKitDataCue||i.a.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}(na.EventTarget),oc=function(e){return decodeURIComponent(escape(String.fromCharCode.apply(null,e)))},ac=new Uint8Array("\n\n".split("").map(function(e){return e.charCodeAt(0)})),sc=function(e){function t(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};sa(this,t);var r=la(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e,n));return r.mediaSource_=null,r.subtitlesTrack_=null,r.featuresNativeTextTracks_=e.featuresNativeTextTracks,r}return ua(t,ic),ca(t,[{key:"buffered_",value:function(){if(!this.subtitlesTrack_||!this.subtitlesTrack_.cues.length)return na.createTimeRanges();var e=this.subtitlesTrack_.cues,t=e[0].startTime,n=e[e.length-1].startTime;return na.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=Ya(e),r=this.initSegments_[n];if(t&&!r&&e.bytes){var i=ac.byteLength+e.bytes.byteLength,o=new Uint8Array(i);o.set(e.bytes),o.set(ac,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_:(this.subtitlesTrack_=e,"INIT"===this.state&&this.couldBeginLoading_()&&this.init_(),this.subtitlesTrack_)}},{key:"remove",value:function(e,t){rs(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.a.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.a.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.a.TextDecoder?t=new i.a.TextDecoder("utf8"):(t=i.a.WebVTT.StringDecoder(),n=!0);var r=new i.a.WebVTT.Parser(i.a,i.a.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){na.log.warn("Error encountered when parsing cues: "+e.message)},e.segment.map){var o=e.segment.map.bytes;n&&(o=oc(o)),r.parse(o)}var a=e.bytes;n&&(a=oc(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}(),cc=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},uc=Ie.a.inspect,lc=[{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 c=0;c<o.length;c++){var u=o[c];if(u.dateTimeObject){var l=u.dateTimeObject.getTime()/1e3+e.datetimeToDisplayTime,d=Math.abs(i-l);if(null!==s&&(0===d||s<d))break;s=d,a={time:l,segmentIndex:c}}}return a}},{name:"Segment",run:function(e,t,n,r,i){var o=t.segments||[],a=null,s=null;i=i||0;for(var c=0;c<o.length;c++){var u=o[c];if(u.timeline===r&&void 0!==u.start){var l=Math.abs(i-u.start);if(null!==s&&s<l)break;(!a||null===s||s>=l)&&(s=l,a={time:u.start,segmentIndex:c})}}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 c=t.discontinuityStarts[s],u=t.discontinuitySequence+s+1,l=e.discontinuities[u];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:c})}}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}}],dc=function(e){function t(){sa(this,t);var e=la(this,(t.__proto__||Object.getPrototypeOf(t)).call(this));return e.inspectCache_=void 0,e.timelines=[],e.discontinuities=[],e.datetimeToDisplayTime=null,e.logger_=zs("SyncController"),e}return ua(t,e),ca(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+Sa(e,r.segmentIndex,0))}},{key:"runStrategies_",value:function(e,t,n,r){for(var i=[],o=0;o<lc.length;o++){var a=lc[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=Pe.a.timescale(t.map.bytes),r=Pe.a.compositionStartTime(n,e.bytes);return null!==e.timestampOffset&&(e.timestampOffset-=r),{start:r,end:r+t.duration}}},{key:"probeTsSegment_",value:function(e){var t=uc(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 c=void 0;c=a<0?n.start-Sa(t,e.mediaIndex,i):n.end+Sa(t,e.mediaIndex+1,i),this.discontinuities[o]={time:c,accuracy:s}}}}},{key:"dispose",value:function(){this.trigger("dispose"),this.off()}}]),t}(na.EventTarget),fc=new fs("./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=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},i=function(){var e=[[[],[],[],[],[]],[[],[],[],[],[]]],t=e[0],n=e[1],r=t[4],i=n[4],o=void 0,a=void 0,s=void 0,c=[],u=[],l=void 0,d=void 0,f=void 0,h=void 0,p=void 0;for(o=0;o<256;o++)u[(c[o]=o<<1^283*(o>>7))^o]=o;for(a=s=0;!r[a];a^=l||1,s=u[s]||1)for(f=(f=s^s<<1^s<<2^s<<3^s<<4)>>8^255&f^99,r[a]=f,i[f]=a,p=16843009*c[d=c[l=c[a]]]^65537*d^257*l^16843008*a,h=257*c[f]^16843008*f,o=0;o<4;o++)t[o][a]=h=h<<24^h>>>8,n[o][f]=p=p<<24^p>>>8;for(o=0;o<5;o++)t[o]=t[o].slice(0),n[o]=n[o].slice(0);return e},o=null,a=function(){function t(n){e(this,t),o||(o=i()),this._tables=[[o[0][0].slice(),o[0][1].slice(),o[0][2].slice(),o[0][3].slice(),o[0][4].slice()],[o[1][0].slice(),o[1][1].slice(),o[1][2].slice(),o[1][3].slice(),o[1][4].slice()]];var r=void 0,a=void 0,s=void 0,c=void 0,u=void 0,l=this._tables[0][4],d=this._tables[1],f=n.length,h=1;if(4!==f&&6!==f&&8!==f)throw new Error("Invalid aes key size");for(c=n.slice(0),u=[],this._key=[c,u],r=f;r<4*f+28;r++)s=c[r-1],(r%f==0||8===f&&r%f==4)&&(s=l[s>>>24]<<24^l[s>>16&255]<<16^l[s>>8&255]<<8^l[255&s],r%f==0&&(s=s<<8^s>>>24^h<<24,h=h<<1^283*(h>>7))),c[r]=c[r-f]^s;for(a=0;r;a++,r--)s=c[3&a?r:r-4],u[a]=r<=4||a<4?s:d[0][l[s>>>24]]^d[1][l[s>>16&255]]^d[2][l[s>>8&255]]^d[3][l[255&s]]}return t.prototype.decrypt=function(e,t,n,r,i,o){var a=this._key[1],s=e^a[0],c=r^a[1],u=n^a[2],l=t^a[3],d=void 0,f=void 0,h=void 0,p=a.length/4-2,m=void 0,v=4,g=this._tables[1],y=g[0],b=g[1],_=g[2],w=g[3],x=g[4];for(m=0;m<p;m++)d=y[s>>>24]^b[c>>16&255]^_[u>>8&255]^w[255&l]^a[v],f=y[c>>>24]^b[u>>16&255]^_[l>>8&255]^w[255&s]^a[v+1],h=y[u>>>24]^b[l>>16&255]^_[s>>8&255]^w[255&c]^a[v+2],l=y[l>>>24]^b[s>>16&255]^_[c>>8&255]^w[255&u]^a[v+3],v+=4,s=d,c=f,u=h;for(m=0;m<4;m++)i[(3&-m)+o]=x[s>>>24]<<24^x[c>>16&255]<<16^x[u>>8&255]<<8^x[255&l]^a[v++],d=s,s=c,c=u,u=l,l=d},t}(),s=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}(),c=function(t){function n(){e(this,n);var i=r(this,t.call(this,s));return i.jobs=[],i.delay=1,i.timeout_=null,i}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}(s),u=function(e){return e<<24|(65280&e)<<8|(16711680&e)>>8|e>>>24},l=function(){function n(t,r,i,o){e(this,n);var a=n.STEP,s=new Int32Array(t.buffer),l=new Uint8Array(t.byteLength),d=0;for(this.asyncStream_=new c,this.asyncStream_.push(this.decryptChunk_(s.subarray(d,d+a),r,i,l)),d=a;d<s.length;d+=a)i=new Uint32Array([u(s[d-4]),u(s[d-3]),u(s[d-2]),u(s[d-1])]),this.asyncStream_.push(this.decryptChunk_(s.subarray(d,d+a),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 i=function(e,t,n){var r=new Int32Array(e.buffer,e.byteOffset,e.byteLength>>2),i=new a(Array.prototype.slice.call(t)),o=new Uint8Array(e.byteLength),s=new Int32Array(o.buffer),c=void 0,l=void 0,d=void 0,f=void 0,h=void 0,p=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)h=u(r[g]),p=u(r[g+1]),m=u(r[g+2]),v=u(r[g+3]),i.decrypt(h,p,m,v,s,g),s[g]=u(s[g]^c),s[g+1]=u(s[g+1]^l),s[g+2]=u(s[g+2]^d),s[g+3]=u(s[g+3]^f),c=h,l=p,d=m,f=v;return o}(e,t,n);r.set(i,e.byteOffset)}},t(n,null,[{key:"STEP",get:function(){return 32e3}}]),n}();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 l(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)}()}),hc=function(e){var t=e.default?"main":"alternative";return e.characteristics&&e.characteristics.indexOf("public.accessibility.describes-video")>=0&&(t="main-desc"),t},pc=function(e,t){e.abort(),e.pause(),t&&t.activePlaylistLoader&&(t.activePlaylistLoader.pause(),t.activePlaylistLoader=null)},mc=function(e,t){t.activePlaylistLoader=e,e.load()},vc={AUDIO:function(e,t){return function(){var n=t.segmentLoaders[e],r=t.mediaTypes[e],i=t.blacklistCurrentPlaylist;pc(n,r);var o=r.activeTrack(),a=r.activeGroup(),s=(a.filter(function(e){return e.default})[0]||a[0]).id,c=r.tracks[s];if(o!==c){for(var u in na.log.warn("Problem encountered loading the alternate audio track.Switching back to default."),r.tracks)r.tracks[u].enabled=r.tracks[u]===c;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];na.log.warn("Problem encountered loading the subtitle track.Disabling subtitle track."),pc(n,r);var i=r.activeTrack();i&&(i.mode="disabled"),r.onTrackChanged()}}},gc={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",vc[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",vc[e](e,n))}},yc={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],c=s.groups,u=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 c[d]||(c[d]=[]),a[e][d]){var h=a[e][d][f],p=void 0;if(p=h.resolvedUri?new wa(h.resolvedUri,n,o):h.playlists&&"dash"===r?new qs(h.playlists[0],n,o,l):null,h=na.mergeOptions({id:f,playlistLoader:p},h),gc[e](e,h.playlistLoader,t),c[d].push(h),void 0===u[f]){var m=new na.AudioTrack({id:f,kind:hc(h),enabled:!1,language:h.language,default:h.default,label:f});u[f]=m}}i.on("error",vc[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,c=t.mediaTypes[e],u=c.groups,l=c.tracks,d=t.masterPlaylistLoader;for(var f in s[e])for(var h in u[f]||(u[f]=[]),s[e][f])if(!s[e][f][h].forced){var p=s[e][f][h],m=void 0;if("hls"===i?m=new wa(p.resolvedUri,r,a):"dash"===i&&(m=new qs(p.playlists[0],r,a,d)),p=na.mergeOptions({id:h,playlistLoader:m},p),gc[e](e,p.playlistLoader,t),u[f].push(p),void 0===l[h]){var v=n.addRemoteTextTrack({id:h,kind:"subtitles",default:p.default&&p.autoselect,language:p.language,label:h},!1).track;l[h]=v}}o.on("error",vc[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 c in o[s]||(o[s]=[]),r[e][s]){var u=r[e][s][c];if(u.instreamId.match(/CC\d/)&&(o[s].push(na.mergeOptions({id:c},u)),void 0===a[c])){var l=n.addRemoteTextTrack({id:u.instreamId,kind:"captions",default:u.default&&u.autoselect,language:u.language,label:c},!1).track;a[c]=l}}}},bc={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}}},_c=function(e){["AUDIO","SUBTITLES","CLOSED-CAPTIONS"].forEach(function(t){yc[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=bc[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),c=o.activePlaylistLoader;pc(r,o),s&&(s.playlistLoader?(r.resyncLoader(),mc(s.playlistLoader,o)):c&&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),c=o.activePlaylistLoader;pc(r,o),s&&(s.playlistLoader?c!==s.playlistLoader?(r.track&&r.track(a),r.resetEverything(),mc(s.playlistLoader,o)):mc(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 c 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[c])},wc=function(){var e={};return["AUDIO","SUBTITLES","CLOSED-CAPTIONS"].forEach(function(t){e[t]={groups:{},tracks:{},activePlaylistLoader:null,activeGroup:Hs,activeTrack:Hs,onGroupChanged:Hs,onTrackChanged:Hs}}),e},xc=void 0,kc=["mediaRequests","mediaRequestsAborted","mediaRequestsTimedout","mediaRequestsErrored","mediaTransferDuration","mediaBytesTransferred"],Ec=function(e){return this.audioSegmentLoader_[e]+this.mainSegmentLoader_[e]},Sc=function(e){function t(e){sa(this,t);var n=la(this,(t.__proto__||Object.getPrototypeOf(t)).call(this)),r=e.url,i=e.handleManifestRedirects,o=e.withCredentials,a=e.tech,s=e.bandwidth,c=e.externHls,u=e.useCueTags,l=e.blacklistDuration,d=e.enableLowInitialPlaylist,f=e.cacheEncryptionKeys,h=e.sourceType;if(!r)throw new Error("A non-empty playlist URL is required");xc=c,n.withCredentials=o,n.tech_=a,n.hls_=a.hls,n.sourceType_=h,n.useCueTags_=u,n.blacklistDuration=l,n.enableLowInitialPlaylist=d,n.useCueTags_&&(n.cueTagsTrack_=n.tech_.addTextTrack("metadata","ad-cues"),n.cueTagsTrack_.inBandMetadataTrackDispatchType=""),n.requestOptions_={withCredentials:o,handleManifestRedirects:i,timeout:null},n.mediaTypes_=wc(),n.mediaSource=new na.MediaSource,n.mediaSource.addEventListener("sourceopen",n.handleSourceOpen_.bind(n)),n.seekable_=na.createTimeRanges(),n.hasPlayed_=!1,n.syncController_=new dc(e),n.segmentMetadataTrack_=a.addRemoteTextTrack({kind:"metadata",label:"segment-metadata"},!1).track,n.decrypter_=new fc,n.inbandTextTracks_={};var p={hls:n.hls_,mediaSource:n.mediaSource,currentTime:n.tech_.currentTime.bind(n.tech_),seekable:function(){return n.seekable()},seeking:function(){return n.tech_.seeking()},duration:function(){return n.mediaSource.duration},hasPlayed:function(){return n.hasPlayed_},goalBufferLength:function(){return n.goalBufferLength()},bandwidth:s,syncController:n.syncController_,decrypter:n.decrypter_,sourceType:n.sourceType_,inbandTextTracks:n.inbandTextTracks_,cacheEncryptionKeys:f};return n.masterPlaylistLoader_="dash"===n.sourceType_?new qs(r,n.hls_,n.requestOptions_):new wa(r,n.hls_,n.requestOptions_),n.setupMasterPlaylistLoaderListeners_(),n.mainSegmentLoader_=new ic(na.mergeOptions(p,{segmentMetadataTrack:n.segmentMetadataTrack_,loaderType:"main"}),e),n.audioSegmentLoader_=new ic(na.mergeOptions(p,{loaderType:"audio"}),e),n.subtitleSegmentLoader_=new sc(na.mergeOptions(p,{loaderType:"vtt",featuresNativeTextTracks:n.tech_.featuresNativeTextTracks}),e),n.setupSegmentLoaderListeners_(),kc.forEach(function(e){n[e+"_"]=Ec.bind(n,e)}),n.logger_=zs("MPC"),n.masterPlaylistLoader_.load(),n}return ua(t,e),ca(t,[{key:"setupMasterPlaylistLoaderListeners_",value:function(){var e=this;this.masterPlaylistLoader_.on("loadedmetadata",function(){var t=e.masterPlaylistLoader_.media(),n=1.5*t.targetDuration*1e3;Da(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()),_c({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 na.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;Da(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"}),xc.Playlist.isAes(t)&&this.tech_.trigger({type:"usage",name:"hls-aes"}),xc.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;e.log;return n?!t.endList||o<Ws.MAX_BUFFER_LOW_WATER_LINE||n.attributes.BANDWIDTH<t.attributes.BANDWIDTH||r>=i:(na.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(){na.browser.IE_VERSION||na.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(na.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 na.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){na.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=xc.Playlist.playlistEnd(e,t),r=this.tech_.currentTime(),i=this.tech_.buffered();if(!i.length)return n-r<=.1;var o=i.end(i.length-1);return o-r<=.1&&n-o<=.1}},{key:"blacklistCurrentPlaylist",value:function(){var e,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=arguments[1],r=void 0;if(r=t.playlist||this.masterPlaylistLoader_.media(),n=n||t.blacklistDuration||this.blacklistDuration,!r){this.error=t;try{return this.mediaSource.endOfStream("network")}catch(e){return this.trigger("error")}}var i=1===this.masterPlaylistLoader_.master.playlists.filter(La).length,o=this.masterPlaylistLoader_.master.playlists;return 1===o.length?(na.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&&(na.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")),r.excludeUntil=Date.now()+1e3*n,this.tech_.trigger("blacklistplaylist"),this.tech_.trigger({type:"usage",name:"hls-rendition-blacklisted"}),e=this.selectPlaylist(),na.log.warn("Problem encountered with the current HLS playlist."+(t.message?" "+t.message:"")+" Switching to another playlist."),this.masterPlaylistLoader_.media(e,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=Ja(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:xc.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=xc.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=xc.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_=na.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 ["+ts(this.seekable_)+"]"),this.tech_.trigger("seekablechanged"))}}}}}},{key:"updateDuration",value:function(){var e=this,t=this.mediaSource.duration,n=xc.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){na.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=xs(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 na.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.a.MediaSource&&i.a.MediaSource.isTypeSupported&&!i.a.MediaSource.isTypeSupported('video/mp4; codecs="'+(t=e.attributes.CODECS,t.replace(/avc1\.(\d+)\.(\d+)/i,function(e){return bs([e])[0]}))+'"')&&(e.excludeUntil=1/0)})}},{key:"excludeIncompatibleVariants_",value:function(e){var t=2,n=null,r=void 0;e.attributes.CODECS&&(r=_s(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=_s(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=cc(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.a.VTTCue(r,r+s.duration,s.cueOut)).adStartTime=r,o.adEndTime=r+parseFloat(s.cueOut),t.addCue(o)),"cueOutCont"in s){var c,u,l=s.cueOutCont.split("/").map(parseFloat),d=da(l,2);c=d[0],u=d[1],(o=new i.a.VTTCue(r,r+s.duration,"")).adStartTime=r-c,o.adEndTime=o.adStartTime+u,t.addCue(o)}r+=s.duration}}(e,this.cueTagsTrack_,t)}},{key:"goalBufferLength",value:function(){var e=this.tech_.currentTime(),t=Ws.GOAL_BUFFER_LENGTH,n=Ws.GOAL_BUFFER_LENGTH_RATE,r=Math.max(t,Ws.MAX_GOAL_BUFFER_LENGTH);return Math.min(t+e*n,r)}},{key:"bufferLowWaterLine",value:function(){var e=this.tech_.currentTime(),t=Ws.BUFFER_LOW_WATER_LINE,n=Ws.BUFFER_LOW_WATER_LINE_RATE,r=Math.max(t,Ws.MAX_BUFFER_LOW_WATER_LINE);return Math.min(t+e*n,r)}}]),t}(na.EventTarget),Tc=function e(t,n,r){sa(this,e);var i,o,a,s=t.masterPlaylistController_,c=s[(t.options_.smoothQualityChange?"smooth":"fast")+"QualityChange_"].bind(s);if(n.attributes.RESOLUTION){var u=n.attributes.RESOLUTION;this.width=u.width,this.height=u.height}this.bandwidth=n.attributes.BANDWIDTH,this.id=r,this.enabled=(i=t.playlists,o=n.id,a=c,function(e){var t=i.master.playlists[o],n=Na(t),r=La(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)})},Cc=["seeking","seeked","pause","playing","error"],Oc=function(){function e(t){var n=this;sa(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_=zs("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(Cc,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(Cc,a),n.tech_.off("canplay",r),n.checkCurrentTimeTimeout_&&i.a.clearTimeout(n.checkCurrentTimeTimeout_),n.cancelTimer_()}}return ca(e,[{key:"monitorCurrentTime_",value:function(){this.checkCurrentTime_(),this.checkCurrentTimeTimeout_&&i.a.clearTimeout(this.checkCurrentTimeTimeout_),this.checkCurrentTimeTimeout_=i.a.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+.1>=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)+.1);return void 0!==n&&(this.logger_("Trying to seek outside of seekable at time "+t+" with seekable range "+ts(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=Ja(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=es(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)+.1;return!n.endList&&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)-.1)}},{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=es(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)+1/30),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 na.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 na.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}(),jc={errorInterval:30,getSource:function(e){return e(this.tech({IWillNotUseThisInPlugins:!0}).currentSource_)}},Ac=function(e){!function e(t,n){var r=0,i=0,o=na.mergeOptions(jc,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())},c=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);na.log.error("ERROR: reloadSourceOnError - The option getSource must be a function!")}},u=function e(){t.off("loadedmetadata",a),t.off("error",c),t.off("dispose",e)};t.on("error",c),t.on("dispose",u),t.reloadSourceOnError=function(n){u(),e(t,n)}}(this,e)},Pc={PlaylistLoader:wa,Playlist:Ra,Decrypter:Ye,AsyncStream:He,decrypt:We,utils:$a,STANDARD_PLAYLIST_SELECTOR:function(){var e=this.useDevicePixelRatio&&i.a.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.a.Number.MAX_VALUE,width:t,height:n,playlist:e}});tc(a,function(e,t){return e.bandwidth-t.bandwidth});var s=(a=a.filter(function(e){return!Ra.isIncompatible(e.playlist)})).filter(function(e){return Ra.isEnabled(e.playlist)});s.length||(s=a.filter(function(e){return!Ra.isDisabled(e.playlist)}));var c=s.filter(function(e){return e.bandwidth*Ws.BANDWIDTH_VARIANCE<t}),u=c[c.length-1],l=c.filter(function(e){return e.bandwidth===u.bandwidth})[0];if(!1===o){var d=l||s[0]||a[0];return d?d.playlist:null}var f=c.filter(function(e){return e.width&&e.height});tc(f,function(e,t){return e.width-t.width});var h=f.filter(function(e){return e.width===n&&e.height===r});u=h[h.length-1];var p=h.filter(function(e){return e.bandwidth===u.bandwidth})[0],m=void 0,v=void 0,g=void 0;p||(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}),u=v[v.length-1],g=v.filter(function(e){return e.bandwidth===u.bandwidth})[0]);var y=g||p||l||s[0]||a[0];return y?y.playlist:null}(this.playlists.master,this.systemBandwidth,parseInt(ec(this.tech_.el(),"width"),10)*e,parseInt(ec(this.tech_.el(),"height"),10)*e,this.limitRenditionByPlayerDimensions)},INITIAL_PLAYLIST_SELECTOR:function(){var e=this.playlists.master.playlists.filter(Ra.isEnabled);return tc(e,function(e,t){return nc(e,t)}),e.filter(function(e){return _s(e.attributes.CODECS).videoCodec})[0]||null},comparePlaylistBandwidth:nc,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.a.Number.MAX_VALUE,t.attributes.RESOLUTION&&t.attributes.RESOLUTION.width&&(r=t.attributes.RESOLUTION.width),n===(r=r||i.a.Number.MAX_VALUE)&&e.attributes.BANDWIDTH&&t.attributes.BANDWIDTH?e.attributes.BANDWIDTH-t.attributes.BANDWIDTH:n-r},xhr:Ua()};["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(Pc,e,{get:function(){return na.log.warn("using Hls."+e+" is UNSAFE be sure you know what you are doing"),Ws[e]},set:function(t){na.log.warn("using Hls."+e+" is UNSAFE be sure you know what you are doing"),"number"!=typeof t||t<0?na.log.warn("value of Hls."+e+" must be greater than or equal to 0"):Ws[e]=t}})});var Mc=function(e){if(/^(audio|video|application)\/(x-|vnd\.apple\.)?mpegurl/i.test(e))return"hls";return/^application\/dash\+xml/i.test(e)?"dash":null},Nc=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"})};Pc.canPlaySource=function(){return na.log.warn("HLS is no longer a tech. Please remove it from your player's techOrder.")};var Lc=function(e){var t=e.masterPlaylistController_.mainSegmentLoader_,n=e.masterPlaylistController_.audioSegmentLoader_,r=na.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=ks(t.mimeType_),a=o.parameters.codecs.split(","),s=void 0,c=void 0;a.forEach(function(e){e=e.trim(),Es(e)?s=e:Ss(e)&&(c=e)}),r=o.type+'; codecs="'+c+'"',i=o.type.replace("video","audio")+'; codecs="'+s+'"'}var u={},l=t.playlist_;for(var d in e)u[d]={audioContentType:i,videoContentType:r},l.contentProtection&&l.contentProtection[d]&&l.contentProtection[d].pssh&&(u[d].pssh=l.contentProtection[d].pssh),"string"==typeof e[d]&&(u[d].url=e[d]);return na.mergeOptions(e,u)}(e.source_.keySystems,t,n);i&&(r.currentSource().keySystems=i,11!==na.browser.IE_VERSION&&r.eme.initializeMediaKeys&&r.eme.initializeMediaKeys())}},Ic=function(){if(!window.localStorage)return null;var e=window.localStorage.getItem("videojs-vhs");if(!e)return null;try{return JSON.parse(e)}catch(e){return null}};Pc.supportsNativeHls=function(){var e=a.a.createElement("video");if(!na.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))})}(),Pc.supportsNativeDash=!!na.getTech("Html5").isSupported()&&/maybe|probably/i.test(a.a.createElement("video").canPlayType("application/dash+xml")),Pc.supportsTypeNatively=function(e){return"hls"===e?Pc.supportsNativeHls:"dash"===e&&Pc.supportsNativeDash},Pc.isSupported=function(){return na.log.warn("HLS is no longer a tech. Please remove it from your player's techOrder.")};var Dc=na.getComponent("Component"),Rc=function(e){function t(e,n,r){sa(this,t);var i=la(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,n,r.hls));if(n.options_&&n.options_.playerId){var o=na(n.options_.playerId);o.hasOwnProperty("hls")||Object.defineProperty(o,"hls",{get:function(){return na.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.a,["fullscreenchange","webkitfullscreenchange","mozfullscreenchange","MSFullscreenChange"],function(e){var t=a.a.fullscreenElement||a.a.webkitFullscreenElement||a.a.mozFullScreenElement||a.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 ua(t,Dc),ca(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=Ic();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=Ws.INITIAL_BANDWIDTH),this.options_.enableLowInitialPlaylist=this.options_.enableLowInitialPlaylist&&this.options_.bandwidth===Ws.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=Pc,this.options_.sourceType=Mc(t),this.options_.seekTo=function(e){n.tech_.setCurrentTime(e)},this.masterPlaylistController_=new Sc(this.options_),this.playbackWatcher_=new Oc(na.mergeOptions(this.options_,{seekable:function(){return n.seekable()},media:function(){return n.masterPlaylistController_.media()}})),this.masterPlaylistController_.on("error",function(){na.players[n.tech_.options_.playerId].error(n.masterPlaylistController_.error)}),this.masterPlaylistController_.selectPlaylist=this.selectPlaylist?this.selectPlaylist.bind(this):Pc.STANDARD_PLAYLIST_SELECTOR.bind(this),this.masterPlaylistController_.selectInitialPlaylist=Pc.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(){na.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 ns(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 ns(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=Ic();t=t?na.mergeOptions(t,e):e;try{window.localStorage.setItem("videojs-vhs",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!Na(e)}).map(function(t,n){return new Tc(e,t,t.id)}):[]},Lc(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(na.URL.createObjectURL(this.masterPlaylistController_.mediaSource)))}},{key:"setupQualityLevels_",value:function(){var e=this,t=na.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)}),Nc(t,n.playlists)}),this.playlists.on("mediachange",function(){Nc(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,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}(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"dispose",this).call(this)}},{key:"convertToProgramTime",value:function(e,t){return Xa({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 Qa({programTime:e,playlist:this.masterPlaylistController_.media(),retryCount:r,pauseAfterSeek:n,seekTo:this.options_.seekTo,tech:this.options_.tech,callback:t})}}]),t}(),Bc={name:"videojs-http-streaming",VERSION:"1.13.2",canHandleSource:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=na.mergeOptions(na.options,t);return Bc.canPlayType(e.type,n)},handleSource:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=na.mergeOptions(na.options,n);return t.hls=new Rc(e,t,r),t.hls.xhr=Ua(),t.hls.src(e.src,e.type),t.hls},canPlayType:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=na.mergeOptions(na.options,t).hls.overrideNative,r=Mc(e);return r&&(!Pc.supportsTypeNatively(r)||n)?"maybe":""}};void 0!==na.MediaSource&&void 0!==na.URL||(na.MediaSource=Ns,na.URL=Ls),Ns.supportsNativeMediaSources()&&na.getTech("Html5").registerSourceHandler(Bc,0),na.HlsHandler=Rc,na.HlsSourceHandler=Bc,na.Hls=Pc,na.use||na.registerComponent("Hls",Pc),na.options.hls=na.options.hls||{},na.registerPlugin?na.registerPlugin("reloadSourceOnError",Ac):na.plugin("reloadSourceOnError",Ac);t.default=na},function(e,t,n){"use strict";var r=n(0);t.a=function(e){var t=Object(r.useRef)();return Object(r.useEffect)(function(){t.current=e}),t.current}},,function(e,t,n){"use strict";(function(e){n.d(t,"a",function(){return o});var r=n(0),i=Object(r.createContext)(!1);i.Consumer;function o(){return Object(r.useContext)(i)}}).call(this,n(0))},function(e,t,n){"use strict";(function(e){n.d(t,"a",function(){return y});var r=n(3),i=n.n(r),o=n(9),a=n(10),s=n(11),c=n(13),u=n(5),l=n(165),d=n.n(l),f=n(2320),h=n(432),p=n(1240),m=n(86);function v(e){var t=function(){if("undefined"==typeof Reflect||!i.a)return!1;if(i.a.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=Object(u.a)(e);if(t){var o=Object(u.a)(this).constructor;n=i()(r,arguments,o)}else n=r.apply(this,arguments);return Object(c.a)(this,n)}}var g=Object(p.a)(f.a),y=function(t){Object(s.a)(r,t);var n=v(r);function r(){return Object(o.a)(this,r),n.apply(this,arguments)}return Object(a.a)(r,[{key:"displayFlex",value:function(e){e.css({display:"flex"})}},{key:"componentDidMount",value:function(){var e=this;d()(".page__content").addClass("page__content--appear");var t=d()("[data-page]:first-child [data-previous-lesson]"),n=document.getElementsByClassName("page-wrap");t.length>0?setTimeout(function(){var r=t.height();e.displayFlex(t),d()(n).scrollTop(r),d()("[data-lesson-header]").css({top:r})},50):d()(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 e.createElement(m.d,{className:"transition-group"},e.createElement(h.a,null,e.createElement(g,this.props)))}}]),r}(e.Component)}).call(this,n(0))},function(e,t,n){"use strict";(function(e){n.d(t,"a",function(){return m}),n.d(t,"b",function(){return v});var r=n(3),i=n.n(r),o=n(9),a=n(10),s=n(11),c=n(13),u=n(5),l=n(4),d=n.n(l),f=(n(2657),n(130)),h=n(42);function p(e){var t=function(){if("undefined"==typeof Reflect||!i.a)return!1;if(i.a.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=Object(u.a)(e);if(t){var o=Object(u.a)(this).constructor;n=i()(r,arguments,o)}else n=r.apply(this,arguments);return Object(c.a)(this,n)}}var m=function(t){var n=t.courseHomeLabel;return e.createElement("div",{className:"previous-lesson brand--linkColorHover","data-previous-lesson":!0},e.createElement(f.b,{className:"previous-lesson__link",to:"/"},e.createElement("i",{className:"icon icon-chevron-up"}),e.createElement("div",{className:"previous-lesson__title brand--ui"},n)))},v=function(t){Object(s.a)(r,t);var n=p(r);function r(){return Object(o.a)(this,r),n.apply(this,arguments)}return Object(a.a)(r,[{key:"render",value:function(){var t,n=this.props,r=n.previous,i=n.previousNumber,o=n.previousTitle,a=n.onPreviousClick,s=n.isLesson,c=n.labels.lessonName,u=e.createElement(h.a,{className:"previous-lesson__title--inline",value:o});return e.createElement("div",{className:"previous-lesson brand--linkColorHover","data-previous-lesson":!0},e.createElement(f.b,{className:"previous-lesson__link",to:"/lessons/"+encodeURIComponent(r),onClick:a},e.createElement("i",{className:"icon icon-chevron-up"}),e.createElement("div",{className:"previous-lesson__title brand--ui"},s?d()(t="".concat(c," ")).call(t,i," - "):""," ",u)))}}]),r}(e.Component)}).call(this,n(0))},function(e,t,n){"use strict";(function(e){n.d(t,"a",function(){return g});var r=n(3),i=n.n(r),o=n(9),a=n(10),s=n(11),c=n(13),u=n(5),l=n(2),d=n.n(l),f=n(1),h=n.n(f),p=n(26),m=n(20);function v(e){var t=function(){if("undefined"==typeof Reflect||!i.a)return!1;if(i.a.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=Object(u.a)(e);if(t){var o=Object(u.a)(this).constructor;n=i()(r,arguments,o)}else n=r.apply(this,arguments);return Object(c.a)(this,n)}}var g=function(t){Object(s.a)(r,t);var n=v(r);function r(e){var t;return Object(o.a)(this,r),(t=n.call(this,e)).state={hide:!1},t}return Object(a.a)(r,[{key:"focus",value:function(){this.controlDiv.focus()}},{key:"render",value:function(){var t=this,n=this.props,r=n.allowTabNavigation,i=n.atStart,o=n.isTransitioning,a=n.labels.processNextStep,s=n.onClick,c=n.type,u=this.state.hide,l="next"===c,f=l&&!o&&!i,h=d()("process__"+c,"brand--min768--background",{"brand--max768--color":i,"process__controls--hide":u,"process__controls--animating":o,"process__controls--clip":f}),v=l?"icon-chevron-right":"icon-chevron-left";return e.createElement("div",{"aria-hidden":!r,className:h,onClick:s,onKeyDown:Object(p.a)(s),ref:function(e){t.controlDiv=e},role:"button",tabIndex:Object(m.l)(r)},e.createElement("div",{className:"process__control-content","data-next-step":a},e.createElement("div",{className:"process__control-animation"},e.createElement("i",{className:v}))))}}],[{key:"propTypes",get:function(){return{type:h.a.string.isRequired,onClick:h.a.func.isRequired}}}]),r}(e.Component)}).call(this,n(0))},function(e,t,n){"use strict";(function(e){n.d(t,"b",function(){return s});var r=n(101),i=n(150),o=n(2334),a=["menuButtons","previousComponent"];t.a=function(t){var n=t.menuButtons,c=t.previousComponent,u=Object(r.a)(t,a);return e.createElement(i.c,{type:s.type},c,e.createElement(i.b,{type:s.type},n,e.createElement(i.a,{type:s.type},e.createElement(o.a,u))))};var s={type:"progress-summary",title:"Progress Summary",description:"Summary of course progress"}}).call(this,n(0))},function(e,t,n){"use strict";(function(e){n.d(t,"a",function(){return s}),n.d(t,"b",function(){return c});var r=n(130),i=n(31),o=n.n(i),a=(n(2663),n(2335)),s=function(t){var n=t.percentComplete,r=t.trackingCompletionPercentage;return o()(r)?null:e.createElement("div",{className:"progress-summary__requirement"},e.createElement("div",{className:"progress-summary__requirement-stats-wrap"},e.createElement("h2",{className:"progress-summary__requirement-title"},"Completion Requirement"),e.createElement("div",{className:"progress-summary__requirement-stats"},e.createElement("div",null,r,"% Completion"),e.createElement("div",null,"You completed: ",e.createElement("strong",{className:"progress-summary__requirement-stats-percent-achieved"},n,"%")))),e.createElement(u,{requirementMet:r<=n}))},c=function(t){var n=t.outOfAttempts,i=t.quizPassed,a=t.quizPassingScore,s=t.quizScore,c=t.quizTitle,l=t.trackingQuizId;return l?e.createElement("div",{className:"progress-summary__requirement"},e.createElement("div",{className:"progress-summary__requirement-stats-wrap"},e.createElement("h2",{className:"progress-summary__requirement-title"},"Quiz Requirement"),e.createElement("div",{className:"progress-summary__requirement-stats"},e.createElement("div",null,"Score of ",a,"% on ",c),o()(s)?e.createElement("div",null,e.createElement(r.b,{className:"progress-summary__requirement-stats-link brand--color",to:"/lessons/".concat(l)},"View quiz")):e.createElement("div",null,"You scored ",e.createElement("strong",{className:"progress-summary__requirement-stats-percent-achieved"},s,"%"))),n&&e.createElement("span",{className:"progress-summary__requirement-no-attempts"},"No attempts remaining.")),e.createElement(u,{requirementMet:i})):null},u=function(t){return t.requirementMet?e.createElement(a.a,{"aria-label":"Requirement completed, check mark",className:"progress-summary__requirement-checkbox-checked"}):e.createElement("div",{"aria-label":"Requirement not completed, empty square",className:"progress-summary__requirement-checkbox-empty",role:"img"})}}).call(this,n(0))},function(e,t,n){var r=n(2677)(1,"join");e.exports=r},function(e,t,n){
/** @license ISC License (c) copyright 2017 original and current authors */
var r=n(2709),i=n(115),o=n(1201),a=n(83),s=n(201),c=n(2710),u=function(e,t){return s(e,t)&&c(e)&&o(e)&&a(e.first)&&a(e.second)};e.exports=i(function(e,t){if(a(e)&&a(t))return function(n){return r(e(n),t(n))};if(u(e,t))return e.first().compose(t.second()).contramap(function(e){return r(e,e)});throw new TypeError("fanout: Arrows, Functions or Stars of the same type required for both arguments")})},function(e,t,n){"use strict";t.a={addEventListeners:function(e,t){e.addEventListener("animationend",t,!1)},removeEventListeners:function(e,t){e.removeEventListener("animationend",t,!1)}}},function(e,t,n){"use strict";(function(e){var r=n(3),i=n.n(r),o=n(9),a=n(10),s=n(6),c=n(11),u=n(13),l=n(5),d=n(4),f=n.n(d),h=(n(2721),n(0)),p=n(130),m=n(110),v=n(2),g=n.n(v),y=n(1),b=n.n(y),_=n(319),w=n.n(_),x=n(32),k=n(26),E=n(22),S=n(154),T=n(558),C=n(20),O=n(299),j=n(1244);function A(e){var t=function(){if("undefined"==typeof Reflect||!i.a)return!1;if(i.a.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=Object(l.a)(e);if(t){var o=Object(l.a)(this).constructor;n=i()(r,arguments,o)}else n=r.apply(this,arguments);return Object(u.a)(this,n)}}var P=function(e){return"/lessons/".concat(encodeURIComponent(e))},M=function(t){var n=t.allowTabNavigation,r=t.canComplete,i=t.isDisabled,o=t.onClick,a=t.passedQuiz,s=t.percentComplete,c=t.title,u=t.type,l=e.createElement("span",{"aria-hidden":"true"},e.createElement(j.a,{passedQuiz:a,percentComplete:s})),d=Object(C.l)(n);if(!r||"quiz"===u)return l;var f=E.e?"".concat(c," is complete"):"Mark ".concat(c," as incomplete"),h=100===s?f:"Mark ".concat(c," as complete"),p=E.e&&100===s;return e.createElement("button",{"aria-label":h,className:"lesson-link__button",disabled:i||p,onClick:o,tabIndex:d,type:"button"},l)},N=function(t){Object(c.a)(r,t);var n=A(r);function r(){var e,t;Object(o.a)(this,r);for(var i=arguments.length,a=new Array(i),c=0;c<i;c++)a[c]=arguments[c];return(t=n.call.apply(n,f()(e=[this]).call(e,a))).onClick=t.onClick.bind(Object(s.a)(t)),t.onKeyBlur=t.handleKeyboardFocus.bind(Object(s.a)(t),!1),t.onKeyFocus=t.handleKeyboardFocus.bind(Object(s.a)(t),!0),t.onMouseEnter=t.handleMouseHover.bind(Object(s.a)(t),!0),t.onMouseLeave=t.handleMouseHover.bind(Object(s.a)(t),!1),t.onSectionClick=t.onSectionClick.bind(Object(s.a)(t)),t}return Object(a.a)(r,[{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.id,a=n.isSectionActive,s=n.location,c=n.markComplete,u=n.percentComplete,l=n.restrictions,d=this.state,f=d.hasFocus,h=d.visited;return!!(r!==e.allowTabNavigation||o!==e.id||a!==e.isSectionActive||f!==t.hasFocus||s!==e.location||c!==e.markComplete||u!==e.percentComplete||l.isRestricted!==e.restrictions.isRestricted||l.currentLesson!==e.restrictions.currentLesson||h!==t.visited||f&&i!==e.allowTooltip)}},{key:"componentWillMount",value:function(){this.setState({visited:this.isActive()})}},{key:"handleKeyboardFocus",value:function(e){this.setState({hasFocus:e})}},{key:"handleMouseHover",value:function(e){this.props.onMouse(e)}},{key:"onClick",value:function(e){var t=this.props,n=t.focusLessonContent,r=t.id,i=t.lesson,o=t.onClick,a=t.onMobileActiveClick;if(this.isActive()){if(e.preventDefault(),!a)return n(),!1;a()}this.setState({visited:!0}),o({lesson:i,id:r})}},{key:"onSectionClick",value:function(){var e=this.props,t=e.id,n=e.lesson;(0,e.onClick)({id:t,lesson:n})}},{key:"renderLink",value:function(){var t,n=this.props,r=n.allowTabNavigation,i=n.allowTooltip,o=n.icon,a=n.id,s=n.labels,c=n.markComplete,u=n.onComplete,l=n.passedQuiz,d=n.percentComplete,m=n.restrictions,v=n.title,y=n.type,b=this.state,_=b.hasFocus,x=b.visited,k=m.isRestricted,E=k&&c,j=!m.isRestrictedCourse&&c,A=g()("lesson-link",{"lesson-link--visited":x,"lesson-link__restricted":k}),N=void 0===l||l?"".concat(d," Percent Complete"):"Quiz Failed",L=[e.createElement("div",{key:"icon-".concat(a),"aria-hidden":"true",className:"lesson-link__icon"},e.createElement(T.a,{icon:o})),e.createElement("div",{key:"name-".concat(a),className:"lesson-link__name brand--ui"},e.createElement("span",{"aria-hidden":"true"},w()(v,{length:60})),e.createElement("span",{className:"visually-hidden"},f()(t="".concat(v," ")).call(t,N)))],I=e.createElement("div",{key:"progress-".concat(a),className:"lesson-link__progress"},e.createElement(M,{allowTabNavigation:r,canComplete:j,isDisabled:E,onClick:u,passedQuiz:l,percentComplete:d,title:v,type:y})),D=Object(C.l)(r);if(k){var R,B=Object(S.a)({labels:s,restrictions:m}),F=g()("runtime-tooltip",{"runtime-tooltip--show":i&&_});return e.createElement(O.a,{className:F},e.createElement("span",{"aria-disabled":"true","aria-label":f()(R="The ".concat(v," lesson is currently unavailable: ")).call(R,B),className:A,onBlur:this.onKeyBlur,onFocus:this.onKeyFocus,onMouseEnter:this.onMouseEnter,onMouseLeave:this.onMouseLeave,role:"link",tabIndex:D},L),I,e.createElement(O.b,{"aria-hidden":"true",side:"top"},B))}return e.createElement(h.Fragment,null,e.createElement(p.c,{activeClassName:"lesson-link--active brand--beforeBackground",className:A,onClick:this.onClick,tabIndex:D,to:P(a)},L),I)}},{key:"renderSection",value:function(){var t=this,n=this.props,r=n.allowTabNavigation,i=n.isSectionActive,o=n.sectionId,a=n.title,s=Object(C.l)(r),c=g()({"chevron__rotate-down":i});return e.createElement("div",{"aria-controls":o,"aria-expanded":i,"aria-label":"Toggle ".concat(a," Section"),className:"lesson-link--section brand--ui",onClick:this.onSectionClick,onKeyPress:function(e){Object(k.e)(e)&&t.onSectionClick()},role:"button",tabIndex:s},e.createElement("div",{className:"lesson-link--section-content"},e.createElement("div",{className:"lesson-link--section-icon"},e.createElement(x.w,{className:c})),e.createElement("div",{className:"lesson-link--section-title"},a)))}},{key:"render",value:function(){return"section"===this.props.type?this.renderSection():this.renderLink()}}],[{key:"propTypes",get:function(){return{id:b.a.any.isRequired,icon:b.a.string,isSectionActive:b.a.bool,type:b.a.string.isRequired,title:b.a.string.isRequired,onClick:b.a.func.isRequired,focusLessonContent:b.a.func.isRequired}}},{key:"defaultProps",get:function(){return{isSectionActive:!1,restrictions:{}}}}]),r}(h.Component);t.a=Object(m.g)(N)}).call(this,n(0))},function(e,t,n){"use strict";(function(e){n.d(t,"a",function(){return Ae});var r=n(3),i=n.n(r),o=n(9),a=n(10),s=n(6),c=n(11),u=n(13),l=n(5),d=n(4),f=n.n(d),h=n(64),p=n.n(h),m=n(16),v=n.n(m),g=n(153),y=n.n(g),b=n(100),_=n.n(b),w=n(7),x=n.n(w),k=n(33),E=n.n(k),S=n(127),T=n.n(S),C=n(49),O=n.n(C),j=n(65),A=n.n(j),P=n(138),M=n.n(P),N=n(76),L=n.n(N),I=n(31),D=n.n(I),R=n(50),B=n.n(R),F=n(24),U=n.n(F),q=n(23),z=n.n(q),H=n(25),V=n.n(H),W=n(14),Y=n.n(W),G=n(17),K=n.n(G),$=n(46),X=n.n($),Q=n(168),Z=n.n(Q),J=n(39),ee=n.n(J),te=n(0),ne=n(241),re=n.n(ne),ie=n(459),oe=n.n(ie),ae=n(2),se=n.n(ae),ce=(n(2726),n(90)),ue=n(154),le=n(583),de=n(59),fe=n(26),he=n(22),pe=n(73),me=n(192),ve=n(366),ge=n(263),ye=n(1190),be=n(726),_e=n(724),we=n(547),xe=n(460),ke=n(561),Ee=n(32),Se=n(1186),Te=n(449);function Ce(e){var t=function(){if("undefined"==typeof Reflect||!i.a)return!1;if(i.a.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=Object(l.a)(e);if(t){var o=Object(l.a)(this).constructor;n=i()(r,arguments,o)}else n=r.apply(this,arguments);return Object(u.a)(this,n)}}var Oe=V()(T()([]),O()(_()(K()("type","section"))),B.a),je=E()([[K()("hasNextLesson",!0),Y()("nextLessonTitle")],[Z()(_()(D.a),"trackingQuizId"),Y()("quizTitle")],[p.a,v()("Nothing here")]]),Ae=function(t){Object(c.a)(r,t);var n=Ce(r);function r(){var e,t;Object(o.a)(this,r);for(var i=arguments.length,a=new Array(i),c=0;c<i;c++)a[c]=arguments[c];return(t=n.call.apply(n,f()(e=[this]).call(e,a))).addFavorite=t.addFavorite.bind(Object(s.a)(t)),t.removeFavorite=t.removeFavorite.bind(Object(s.a)(t)),t.handleStartButtonKeyDown=t.handleStartButtonKeyDown.bind(Object(s.a)(t)),t}return Object(a.a)(r,[{key:"componentDidMount",value:function(){re.a.Events.scrollEvent.register("end",function(e,t){t&&t.focus()})}},{key:"componentWillUnmount",value:function(){re.a.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 t,n=this,r=this.props,i=r.course,o=r.courseProgress,a=r.lessons,s=r.labels,c=z()([],["partnerContent","content"],this.props),u=U()(["lmsOptions","enableExitCourse"],i),l=z()({},["media","image"],i),d=l.key,f=l.width,h=l.height,p=d?Object(de.a)(l):null,m=s.courseStart,g=s.courseResume,b=s.courseDetails,_=s.courseExit,w=s.overviewPageTitleSuffix,k=i.author,E=i.authors,S=i.categories,T=i.certificateDownload,C=i.completedAt,j=i.dueAt,P=i.enrolled,N=i.favoritedAt,I=i.partnerContentId,R=i.riseComCurrentUser,B=i.riseComEnrollmentType,F=i.selectedAuthorId,q=i.showTimeToComplete,H=i.timeToComplete,V=i.trackingCompletionPercentage,W=i.trackingQuizId,G=Object(ke.a)("modernOverview")||Object(pe.k)()||Boolean(I),$=Object(me.d)(i),Q=Object(me.e)(i),Z=U()(["lessonsOnly",0,"id"],i),J=x()(X()("","title"),L.a,O()(K()("id",W)),Y()("lessons"))(i),ne=Object(pe.k)()?100===o.percentComplete:Object(pe.i)(),re=G&&"preview"!==window.viewType&&o.percentComplete&&!ne?ee()(y()(D.a,v()(W)),v()(W))(Object(ue.c)(o.lessons,W)):Z,ie=!D()(re),ae=G&&(ne||!ie&&D()(W)),ce=(t=g,ae?"Start Again":t),fe=o.percentComplete?ce:m,ve=ie?M()(K()("id",re))(i.lessonsOnly):-1,ge=ie?z()("",["lessonsOnly",ve,"title"],i):"",Ce=je({hasNextLesson:ie,nextLessonTitle:ge,trackingQuizId:W,quizTitle:J}),Ae=se()("overview__continueMessage",{"overview__continueMessage-hide":!P&&!N}),Pe=Object(we.a)({authors:E,author:k,selectedAuthorId:F}),Me=Pe.avatar,Ne=Pe.authorName,Le=Pe.title,Ie=Object(le.a)({course:i,courseProgress:o}),De=Oe(a),Re=!W||z()(!1,["lessons",W,"passed"],o),Be=A()(function(e){return e.id===F},c),Fe=Be&&Be.data.authors,Ue=Fe?e.createElement(Se.a,{partnerContentAuthors:Fe,learn:!0}):e.createElement(Te.a,{avatar:Me,authorName:Ne,enableModernOverview:G});return e.createElement(oe.a,{title:Object(xe.a)(i.title+" - "+w)},e.createElement(Te.j,{enableModernOverview:G,ref:function(e){return n.courseOverview=e},sidebarEnabled:$,sidebarOpen:Q},e.createElement(ye.a,{enableExitCourse:u,className:"courseExit courseExit--overview",text:_}),e.createElement("header",null,e.createElement(Te.e,{coverImage:i.coverImage},e.createElement(be.b,{courseTitle:i.title,coverImage:i.coverImage},e.createElement(_e.b,{lessonComplete:s.lessonComplete,value:o.percentComplete})),Ue,e.createElement(Te.i,{enableModernOverview:G},i.title),G&&0!==o.percentComplete&&e.createElement(te.Fragment,null,e.createElement("div",{className:"overview__progressBar"},e.createElement(_e.b,{lg:!0,rounded:!0,lessonComplete:s.lessonComplete,value:o.percentComplete})),!!o.percentComplete&&!ae&&e.createElement("div",{className:Ae},e.createElement(Ee.b,{className:"overview__continueIcon",decorative:!0}),e.createElement("span",{"aria-hidden":"true",className:"overview__nextLessonText"},Ce),e.createElement("span",{className:"visually-hidden"},"Next lesson: ",Ce))),e.createElement("div",null,he.e&&G||Object(pe.k)()?e.createElement(Te.h,{certificateDownload:T,completedQuizRequirement:Re,courseBtnText:fe,courseProgress:o,coverImage:i.coverImage,currentUser:R,enrolled:P,enrollmentType:B,favoritedAt:N,handleAddFavoriteClick:this.addFavorite,handleRemoveFavoriteClick:this.removeFavorite,handleKeyDown:this.handleStartButtonKeyDown,nextLessonId:re,nextLessonText:Ce,percentComplete:o.percentComplete,startAgain:ae}):e.createElement(Te.b,{to:"/lessons/".concat(ie?re:Z),coverImage:i.coverImage,onKeyDown:this.handleStartButtonKeyDown},fe),$&&!he.e&&!G&&e.createElement(Te.c,{text:b})))),e.createElement("main",{"aria-label":"Course Details"},e.createElement(Te.d,null,e.createElement(Te.f,{src:p,width:f,height:h}),e.createElement(Te.g,{authorName:Ne,authorTitle:Le,avatar:Me,categories:S,completedAt:C,course:i,courseProgress:o,enableModernOverview:G,dueAt:j,labels:s,lessons:a,numLessons:De,restrictingQuiz:Ie,showTimeToComplete:q,sidebarEnabled:$,timeToComplete:H,trackingCompletionPercentage:V,trackingQuizId:W})))))}},{key:"handleStartButtonKeyDown",value:function(e){Object(fe.e)(e)&&Object(ce.a)(Object(ge.c)(!0))}},{key:"addFavorite",value:function(){Object(ce.a)(Object(ve.c)())}},{key:"removeFavorite",value:function(){Object(ce.a)(Object(ve.f)())}}]),r}(e.Component)}).call(this,n(0))},function(e,t,n){"use strict";var r=n(3),i=n.n(r),o=n(9),a=n(10),s=n(6),c=n(11),u=n(13),l=n(5),d=n(0),f=n.n(d),h=n(77),p=n(86),m=n(139),v=n.n(m),g=n(459),y=n.n(g),b=n(2315),_=n.n(b),w=n(7),x=n.n(w),k=n(24),E=n.n(k),S=n(21),T=null,C=null;try{T=new Function("return function* () {}")().constructor,C=Object(S.is)(T)}catch(e){C=S.F}var O=Object(S.curryN)(1,Object(S.either)(Object(S.pipe)(S.type,Object(S.identical)("GeneratorFunction")),C)),j=Object(S.curryN)(1,Object(S.pipe)(S.type,Object(S.identical)("AsyncFunction"))),A=Object(S.anyPass)([Object(S.pipe)(S.type,Object(S.identical)("Function")),O,j]),P=Object(S.curryN)(1,A(Array.isArray)?Array.isArray:Object(S.pipe)(S.type,Object(S.identical)("Array"))),M=Object(S.complement)(P),N=Object(S.when)(M,S.of),L=n(110),I=n(1195),D=n(2316),R=n(1187),B=n(2317),F=n(85),U=n(90),q=n(2318),z=n(722),H=n(2319),V=function(e){var t=e.onClose;return f.a.createElement(H.a,{hideCloseButton:!0,hideHeader:!0,onClose:t,onConfirm:t,width:440},f.a.createElement("div",{className:"base-modal__content base-modal__content--centered"},f.a.createElement("p",null,"External links are disabled in trial accounts."),f.a.createElement("div",{className:"base-modal__btns"},f.a.createElement(z.a,{inverted:!0,onClick:t},"OKAY"))))},W=n(366),Y=n(238),G=n(73),K=n(2191),$=n(432),X=n(208),Q=n(2200),Z=n(209),J=n(2372),ee=n(20),te=n(460);function ne(e){var t=function(){if("undefined"==typeof Reflect||!i.a)return!1;if(i.a.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=Object(l.a)(e);if(t){var o=Object(l.a)(this).constructor;n=i()(r,arguments,o)}else n=r.apply(this,arguments);return Object(u.a)(this,n)}}var re=n(61).a.learn.course,ie=function(e){Object(c.a)(n,e);var t=ne(n);function n(e){var r;return Object(o.a)(this,n),(r=t.call(this,e)).state={previewType:"",failAttempt:!1,showPasswordDialog:!0},r.onSharePasswordSubmit=r.onSharePasswordSubmit.bind(Object(s.a)(r)),r.onFavoriteAdded=r.onFavoriteAdded.bind(Object(s.a)(r)),r.onFavoriteRemoved=r.onFavoriteRemoved.bind(Object(s.a)(r)),r.preventExternalLinking=r.preventExternalLinking.bind(Object(s.a)(r)),r.closeExternalLinkingModal=r.closeExternalLinkingModal.bind(Object(s.a)(r)),r}return Object(a.a)(n,[{key:"componentWillMount",value:function(){F.a.isIe11&&document.documentElement.classList.add("ie11"),F.a.isSafari9&&document.documentElement.classList.add("safari9"),F.a.isIphoneSafari&&document.documentElement.classList.add("iphone-safari"),F.a.isSafari&&"iframe"===this.props.match.params.mode&&_.a.enable(),window.addEventListener("message",this.handleMessages.bind(this)),Object(ee.k)()}},{key:"componentDidMount",value:function(){document.documentElement.lang=this.props.languageCode,Object(X.h)("favoriteAdded",this.onFavoriteAdded),Object(X.h)("favoriteRemoved",this.onFavoriteRemoved)}},{key:"updateConnectionStatus",value:function(e){Object(U.a)(Object(Z.b)(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)}},{key:"componentWillUnmount",value:function(){window.removeEventListener("message",this.handleMessages.bind(this)),document.removeEventListener("click",this.preventExternalLinking,!0),Object(X.g)("favoriteAdded",this.onFavoriteAdded),Object(X.g)("favoriteRemoved",this.onFavoriteRemoved)}},{key:"handleMessages",value:function(e){var t=this,n=e.data;e.origin===window.location.origin&&N(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 Object(G.u)(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(){Object(U.a)(Object(W.d)())}},{key:"onFavoriteRemoved",value:function(){Object(U.a)(Object(W.e)())}},{key:"preventExternalLinking",value:function(e){var t=e.target.closest("a, .fr-view");t&&"A"===t.tagName&&Object(Y.a)(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,c=e.partnerContent,u=e.search,l=e.sessionPreferences,d=this.state.previewType;if(!t)return null;var h=t.color,m=t.bodyTypeface,v=t.headingTypeface,g=t.uiTypeface,b=s.pathname.split("/")[1],_={key:s.pathname.split("/")[1],course:t,courseProgress:n,labels:o,lessons:a,location:s,partnerContent:c,previewType:d,search:u,sessionPreferences:l},w={bodyTypeface:m,color:h,headingTypeface:v,uiTypeface:g};return f.a.createElement(y.a,{title:Object(te.a)(t.title)},f.a.createElement("div",{id:"innerApp","data-ba":re.container,className:r},f.a.createElement(R.a,w),f.a.createElement(B.a,{env:"runtime"},f.a.createElement(p.d,{component:"div",className:"transition-group"},f.a.createElement($.a,{key:b},f.a.createElement(D.a,{location:s},f.a.createElement(I.a,{exact:!0,path:"/",component:Q.a,childProps:_}),f.a.createElement(I.a,{exact:!0,path:"/:mode",component:Q.a,childProps:_}),f.a.createElement(I.a,{exact:!0,path:"/lessons/:id",component:K.a,childProps:_}),f.a.createElement(I.a,{path:"/lessons/:id/:mode",component:K.a,childProps:_}))),i&&f.a.createElement(p.a,{classNames:"modal",timeout:400},f.a.createElement(V,{onClose:this.closeExternalLinkingModal}))))))}},{key:"render",value:function(){var e=this.props.course.hasPassword,t=this.state,n=t.failAttempt,r=t.showPasswordDialog&&Object(G.m)()&&(!!e||Object(G.l)()),i=this.onSharePasswordSubmit;return r?f.a.createElement(J.a,{failAttempt:n,onSubmit:i}):this.renderAppLayout()}}]),n}(d.Component),oe=v()({externalLinksModalVisible:E()(["global","externalLinksModalVisible"])}),ae=x()(q.a,L.g,Object(h.b)(oe,{showExternalLinksModal:function(){return{type:"rise/globals/SHOW_EXTERNAL_LINKS_MODAL",payload:!0}},hideExternalLinksModal:function(){return{type:"rise/globals/SHOW_EXTERNAL_LINKS_MODAL",payload:!1}}}));t.a=ae(ie)},function(e,t,n){"use strict";var r=n(71),i=n(135),o=n(140);n(1);function a(e,t){return e.replace(new RegExp("(^|\\s)"+t+"(?:\\s|$)","g"),"$1").replace(/\s+/g," ").replace(/^\s*|\s*$/g,"")}var s=n(0),c=n.n(s),u=n(727),l=function(e,t){return e&&t&&t.split(" ").forEach(function(t){return r=t,void((n=e).classList?n.classList.remove(r):"string"==typeof n.className?n.className=a(n.className,r):n.setAttribute("class",a(n.className&&n.className.baseVal||"",r)));var n,r})},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}Object(o.a)(t,e);var n=t.prototype;return n.addClass=function(e,t,n){var r=this.getClassNames(t)[n+"ClassName"],i=this.getClassNames("enter").doneClassName;"appear"===t&&"done"===n&&i&&(r+=" "+i),"active"===n&&e&&e.scrollTop,r&&(this.appliedClasses[t][n]=r,function(e,t){e&&t&&t.split(" ").forEach(function(t){return r=t,void((n=e).classList?n.classList.add(r):function(e,t){return e.classList?!!t&&e.classList.contains(t):-1!==(" "+(e.className.baseVal||e.className)+" ").indexOf(" "+t+" ")}(n,r)||("string"==typeof n.className?n.className=n.className+" "+r:n.setAttribute("class",(n.className&&n.className.baseVal||"")+" "+r)));var n,r})}(e,r))},n.removeClasses=function(e,t){var n=this.appliedClasses[t],r=n.base,i=n.active,o=n.done;this.appliedClasses[t]={},r&&l(e,r),i&&l(e,i),o&&l(e,o)},n.render=function(){var e=this.props,t=(e.classNames,Object(i.a)(e,["classNames"]));return c.a.createElement(u.a,Object(r.a)({},t,{onEnter:this.onEnter,onEntered:this.onEntered,onEntering:this.onEntering,onExit:this.onExit,onExiting:this.onExiting,onExited:this.onExited}))},t}(c.a.Component);d.defaultProps={classNames:""},d.propTypes={};t.a=d},function(e,t,n){"use strict";var r=n(135),i=n(71),o=n(333),a=n(140),s=(n(1),n(0)),c=n.n(s),u=n(362);function l(e,t){var n=Object.create(null);return e&&s.Children.map(e,function(e){return e}).forEach(function(e){n[e.key]=function(e){return t&&Object(s.isValidElement)(e)?t(e):e}(e)}),n}function d(e,t,n){return null!=n[t]?n[t]:e.props[t]}function f(e,t,n){var r=l(e.children),i=function(e,t){function n(n){return n in t?t[n]:e[n]}e=e||{},t=t||{};var r,i=Object.create(null),o=[];for(var a in e)a in t?o.length&&(i[a]=o,o=[]):o.push(a);var s={};for(var c in t){if(i[c])for(r=0;r<i[c].length;r++){var u=i[c][r];s[i[c][r]]=n(u)}s[c]=n(c)}for(r=0;r<o.length;r++)s[o[r]]=n(o[r]);return s}(t,r);return Object.keys(i).forEach(function(o){var a=i[o];if(Object(s.isValidElement)(a)){var c=o in t,u=o in r,l=t[o],f=Object(s.isValidElement)(l)&&!l.props.in;!u||c&&!f?u||!c||f?u&&c&&Object(s.isValidElement)(l)&&(i[o]=Object(s.cloneElement)(a,{onExited:n.bind(null,a),in:l.props.in,exit:d(a,"exit",e),enter:d(a,"enter",e)})):i[o]=Object(s.cloneElement)(a,{in:!1}):i[o]=Object(s.cloneElement)(a,{onExited:n.bind(null,a),in:!0,exit:d(a,"exit",e),enter:d(a,"enter",e)})}}),i}var h=Object.values||function(e){return Object.keys(e).map(function(t){return e[t]})},p=function(e){function t(t,n){var r,i=(r=e.call(this,t,n)||this).handleExited.bind(Object(o.a)(r));return r.state={contextValue:{isMounting:!0},handleExited:i,firstRender:!0},r}Object(a.a)(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,r,i=t.children,o=t.handleExited;return{children:t.firstRender?(n=e,r=o,l(n.children,function(e){return Object(s.cloneElement)(e,{onExited:r.bind(null,e),in:!0,appear:d(e,"appear",n),enter:d(e,"enter",n),exit:d(e,"exit",n)})})):f(e,i,o),firstRender:!1}},n.handleExited=function(e,t){var n=l(this.props.children);e.key in n||(e.props.onExited&&e.props.onExited(t),this.mounted&&this.setState(function(t){var n=Object(i.a)({},t.children);return delete n[e.key],{children:n}}))},n.render=function(){var e=this.props,t=e.component,n=e.childFactory,i=Object(r.a)(e,["component","childFactory"]),o=this.state.contextValue,a=h(this.state.children).map(n);return delete i.appear,delete i.enter,delete i.exit,null===t?c.a.createElement(u.a.Provider,{value:o},a):c.a.createElement(u.a.Provider,{value:o},c.a.createElement(t,i,a))},t}(c.a.Component);p.propTypes={},p.defaultProps={component:"div",childFactory:function(e){return e}};t.a=p},function(e,t,n){e.exports=!n(188)&&!n(122)(function(){return 7!=Object.defineProperty(n(2157)("div"),"a",{get:function(){return 7}}).a})},function(e,t,n){e.exports=n(1082)("native-function-to-string",Function.toString)},function(e,t,n){var r=n(2205),i=n(126).WeakMap;e.exports="function"==typeof i&&/native code/.test(r.call(i))},function(e,t,n){var r=n(244),i=n(2159),o=n(331),a=n(202);e.exports=function(e,t){for(var n=i(t),s=a.f,c=o.f,u=0;u<n.length;u++){var l=n[u];r(e,l)||s(e,l,c(t,l))}}},function(e,t,n){var r=n(244),i=n(340),o=n(1205)(!1),a=n(1084);e.exports=function(e,t){var n,s=i(e),c=0,u=[];for(n in s)!r(a,n)&&r(s,n)&&u.push(n);for(;t.length>c;)r(s,n=t[c++])&&(~o(u,n)||u.push(n));return u}},function(e,t,n){e.exports=!n(122)(function(){return!String(Symbol())})},function(e,t,n){t.f=n(176)},function(e,t,n){var r=n(188),i=n(202),o=n(167),a=n(732);e.exports=r?Object.defineProperties:function(e,t){o(e);for(var n,r=a(t),s=r.length,c=0;s>c;)i.f(e,n=r[c++],t[n]);return e}},function(e,t,n){var r=n(126).document;e.exports=r&&r.documentElement},function(e,t,n){var r=n(340),i=n(660).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))}},function(e,t,n){"use strict";var r=n(245),i=n(574),o=n(184);e.exports=[].copyWithin||function(e,t){var n=r(this),a=o(n.length),s=i(e,a),c=i(t,a),u=arguments.length>2?arguments[2]:void 0,l=Math.min((void 0===u?a:i(u,a))-c,a-s),d=1;for(c<s&&s<c+l&&(d=-1,c+=l-1,s+=l-1);l-- >0;)c in n?n[s]=n[c]:delete n[s],s+=d,c+=d;return n}},function(e,t,n){"use strict";var r=n(733),i=n(184),o=n(576),a=function(e,t,n,s,c,u,l,d){for(var f,h=c,p=0,m=!!l&&o(l,d,3);p<s;){if(p in n){if(f=m?m(n[p],p,t):n[p],u>0&&r(f))h=a(e,t,f,i(f.length),h,u-1)-1;else{if(h>=9007199254740991)throw TypeError("Exceed the acceptable array length");e[h]=f}h++}p++}return h};e.exports=a},function(e,t,n){"use strict";var r=n(576),i=n(245),o=n(2217),a=n(2163),s=n(184),c=n(662),u=n(1089);e.exports=function(e){var t,n,l,d,f=i(e),h="function"==typeof this?this:Array,p=arguments.length,m=p>1?arguments[1]:void 0,v=void 0!==m,g=0,y=u(f);if(v&&(m=r(m,p>2?arguments[2]:void 0,2)),null==y||h==Array&&a(y))for(n=new h(t=s(f.length));t>g;g++)c(n,g,v?m(f[g],g):f[g]);else for(d=y.call(f),n=new h;!(l=d.next()).done;g++)c(n,g,v?o(d,m,[l.value,g],!0):l.value);return n.length=g,n}},function(e,t,n){var r=n(167);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}}},function(e,t,n){"use strict";var r=n(2219).IteratorPrototype,i=n(661),o=n(659),a=n(455),s=n(1088),c=function(){return this};e.exports=function(e,t,n){var u=t+" Iterator";return e.prototype=i(r,{next:o(1,n)}),a(e,u,!1,!0),s[u]=c,e}},function(e,t,n){"use strict";var r,i,o,a=n(456),s=n(311),c=n(244),u=n(658),l=n(176)("iterator"),d=!1;[].keys&&("next"in(o=[].keys())?(i=a(a(o)))!==Object.prototype&&(r=i):d=!0),null==r&&(r={}),u||c(r,l)||s(r,l,function(){return this}),e.exports={IteratorPrototype:r,BUGGY_SAFARI_ITERATORS:d}},function(e,t,n){var r=n(158),i=n(167);e.exports=function(e,t){if(i(e),!r(t)&&null!==t)throw TypeError("Can't set "+String(t)+" as a prototype")}},function(e,t,n){var r=n(382),i=n(184);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}},function(e,t,n){"use strict";var r=n(202).f,i=n(661),o=n(735),a=n(576),s=n(577),c=n(1092),u=n(2164),l=n(734),d=n(188),f=n(663).fastKey,h=n(381),p=h.set,m=h.getterFor;e.exports={getConstructor:function(e,t,n,u){var l=e(function(e,r){s(e,l,t),p(e,{type:t,index:i(null),first:void 0,last:void 0,size:0}),d||(e.size=0),null!=r&&c(r,e[u],e,n)}),h=m(t),v=function(e,t,n){var r,i,o=h(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=h(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=h(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=h(this),n=g(this,e);if(n){var r=n.next,i=n.previous;delete t.index[n.index],n.removed=!0,i&&(i.next=r),r&&(r.previous=i),t.first==n&&(t.first=r),t.last==n&&(t.last=i),d?t.size--:this.size--}return!!n},forEach:function(e){for(var t,n=h(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 h(this).size}}),l},setStrong:function(e,t,n){var r=t+" Iterator",i=m(t),o=m(r);u(e,t,function(e,t){p(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)}}},function(e,t){e.exports=Math.log1p||function(e){return(e=+e)>-1e-8&&e<1e-8?e-e*e/2:Math.log(1+e)}},function(e,t,n){var r=n(158),i=Math.floor;e.exports=function(e){return!r(e)&&isFinite(e)&&i(e)===e}},function(e,t,n){"use strict";var r=n(732),i=n(1206),o=n(1081),a=n(245),s=n(1203),c=Object.assign;e.exports=!c||n(122)(function(){var e={},t={},n=Symbol();return e[n]=7,"abcdefghijklmnopqrst".split("").forEach(function(e){t[e]=e}),7!=c({},e)[n]||"abcdefghijklmnopqrst"!=r(c({},t)).join("")})?function(e,t){for(var n=a(e),c=arguments.length,u=1,l=i.f,d=o.f;c>u;)for(var f,h=s(arguments[u++]),p=l?r(h).concat(l(h)):r(h),m=p.length,v=0;m>v;)d.call(h,f=p[v++])&&(n[f]=h[f]);return n}:c},function(e,t,n){var r=n(732),i=n(340),o=n(1081).f;e.exports=function(e,t){for(var n,a=i(e),s=r(a),c=s.length,u=0,l=[];c>u;)o.call(a,n=s[u++])&&l.push(t?[n,a[n]]:a[n]);return l}},function(e,t){e.exports=Object.is||function(e,t){return e===t?0!==e||1/e==1/t:e!=e&&t!=t}},function(e,t,n){var r,i,o,a,s,c,u,l=n(126),d=n(331).f,f=n(419),h=n(2171).set,p=n(2172),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(p)?(s=!0,c=document.createTextNode(""),new m(r).observe(c,{characterData:!0}),a=function(){c.data=s=!s}):g&&g.resolve?(u=g.resolve(void 0),a=function(){u.then(r)}):a=function(){h.call(l,r)}),e.exports=_||function(e){var t={fn:e,next:void 0};o&&(o.next=t),i||(i=t,a()),o=t}},function(e,t,n){var r=n(167),i=n(158),o=n(2230);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}},function(e,t,n){"use strict";var r=n(420),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)}},function(e,t,n){"use strict";var r=n(1217),i=n(381),o=n(2164),a=i.set,s=i.getterFor("String Iterator");o(String,"String",function(e){a(this,{type:"String Iterator",string:String(e),index:0})},function(){var e,t=s(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})})},function(e,t,n){var r=n(184),i=n(2170),o=n(380);e.exports=function(e,t,n,a){var s,c,u=String(o(e)),l=u.length,d=void 0===n?" ":String(n),f=r(t);return f<=l||""==d?u:(s=f-l,(c=i.call(d,Math.ceil(s/d.length))).length>s&&(c=c.slice(0,s)),a?c+u:u+c)}},function(e,t,n){var r=n(2172);e.exports=/Version\/10\.\d+(\.\d+)?( Mobile\/\w+)? Safari\//.test(r)},function(e,t,n){var r=n(382);e.exports=function(e,t){var n=r(e);if(n<0||n%t)throw RangeError("Wrong offset");return n}},function(e,t,n){var r=n(245),i=n(184),o=n(1089),a=n(2163),s=n(576),c=n(177).aTypedArrayConstructor;e.exports=function(e){var t,n,u,l,d,f=r(e),h=arguments.length,p=h>1?arguments[1]:void 0,m=void 0!==p,v=o(f);if(null!=v&&!a(v))for(d=v.call(f),f=[];!(l=d.next()).done;)f.push(l.value);for(m&&h>2&&(p=s(p,arguments[2],2)),n=i(f.length),u=new(c(this))(n),t=0;n>t;t++)u[t]=m?p(f[t],t):f[t];return u}},function(e,t,n){"use strict";var r=n(735),i=n(663).getWeakData,o=n(167),a=n(158),s=n(577),c=n(1092),u=n(332),l=n(244),d=n(381),f=d.set,h=d.getterFor,p=u(5),m=u(6),v=0,g=function(e){return e.frozen||(e.frozen=new y)},y=function(){this.entries=[]},b=function(e,t){return p(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,u){var d=e(function(e,r){s(e,d,t),f(e,{type:t,id:v++,frozen:void 0}),null!=r&&c(r,e[u],e,n)}),p=h(t),m=function(e,t,n){var r=p(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=p(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=p(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=p(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}}},function(e,t){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}},function(e,t,n){var r=n(658),i=n(176)("iterator");e.exports=!n(122)(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})},function(e,t,n){"use strict";n(1209);var r=n(2238),i=n(341),o=n(735),a=n(2218),s=n(381),c=n(577),u=n(244),l=n(576),d=n(167),f=n(158),h=n(2596),p=n(1089),m=n(176)("iterator"),v=s.set,g=s.getterFor("URLSearchParams"),y=s.getterFor("URLSearchParamsIterator"),b=/\+/g,_=Array(4),w=function(e){return _[e-1]||(_[e-1]=RegExp("((?:%[\\da-f]{2}){"+e+"})","gi"))},x=function(e){try{return decodeURIComponent(e)}catch(t){return e}},k=function(e){for(var t=e.replace(b," "),n=4;n;)t=t.replace(w(n--),x);return t},E=/[!'()~]|%20/g,S={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+"},T=function(e){return S[e]},C=function(e){return encodeURIComponent(e).replace(E,T)},O=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:k(r.shift()),value:k(r.join("="))}));return e},j=function(e){this.entries.length=0,O(this.entries,e)},A=function(e,t){if(e<t)throw TypeError("Not enough arguments")},P=a(function(e,t){v(this,{type:"URLSearchParamsIterator",iterator:h(g(e).entries),kind:t})},"Iterator",function(){var e=y(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(){c(this,M,"URLSearchParams");var e,t,n,r,i,o,a,s=arguments.length>0?arguments[0]:void 0,l=[];if(v(this,{type:"URLSearchParams",entries:l,updateURL:null,updateSearchParams:j}),void 0!==s)if(f(s))if("function"==typeof(e=p(s)))for(t=e.call(s);!(n=t.next()).done;){if((i=(r=h(d(n.value))).next()).done||(o=r.next()).done||!r.next().done)throw TypeError("Expected sequence with length 2");l.push({key:i.value+"",value:o.value+""})}else for(a in s)u(s,a)&&l.push({key:a,value:s[a]+""});else O(l,"string"==typeof s?"?"===s.charAt(0)?s.slice(1):s:s+"")},N=M.prototype;o(N,{append:function(e,t){A(arguments.length,2);var n=g(this);n.entries.push({key:e+"",value:t+""}),n.updateURL&&n.updateURL()},delete:function(e){A(arguments.length,1);for(var t=g(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){A(arguments.length,1);for(var t=g(this).entries,n=e+"",r=0;r<t.length;r++)if(t[r].key===n)return t[r].value;return null},getAll:function(e){A(arguments.length,1);for(var t=g(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){A(arguments.length,1);for(var t=g(this).entries,n=e+"",r=0;r<t.length;)if(t[r++].key===n)return!0;return!1},set:function(e,t){A(arguments.length,1);for(var n,r=g(this),i=r.entries,o=!1,a=e+"",s=t+"",c=0;c<i.length;c++)(n=i[c]).key===a&&(o?i.splice(c--,1):(o=!0,n.value=s));o||i.push({key:a,value:s}),r.updateURL&&r.updateURL()},sort:function(){var e,t,n,r=g(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=g(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 P(this,"keys")},values:function(){return new P(this,"values")},entries:function(){return new P(this,"entries")}},{enumerable:!0}),i(N,m,N.entries),i(N,"toString",function(){for(var e,t=g(this).entries,n=[],r=0;r<t.length;)e=t[r++],n.push(C(e.key)+"="+C(e.value));return n.join("&")},{enumerable:!0}),n(455)(M,"URLSearchParams"),n(47)({global:!0,forced:!r},{URLSearchParams:M}),e.exports={URLSearchParams:M,getState:g}},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(1093)),s(n(2604))),o=s(n(2605)),a=s(n(2182));function s(e){return e&&e.__esModule?e:{default:e}}var c=function(e){return i.default[e.smooth]||i.default.defaultEasing},u=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){e.data.containerElement=e?e.containerId?document.getElementById(e.containerId):e.container&&e.container.nodeType?e.container:document:null},f=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}),d(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=c(t),f=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);u.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)}.bind(null,s,t);t&&t.delay>0?t.data.delayTimeout=window.setTimeout(function(){u.call(window,f)},t.delay):u.call(window,f)}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:f,getAnimationType:c,scrollToTop:function(e){f(0,h(e))},scrollToBottom:function(e){e=h(e),d(e),f(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){f(e,h(t))},scrollMore:function(e,t){t=h(t),d(t),f(l(t)+e,t)}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});n(2181);var r,i=n(1093),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},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},i=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),o=c(n(0)),a=(c(n(84)),c(n(1220))),s=c(n(1221));function c(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,o.default.Component),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}();return t.propTypes={name:s.default.string,id:s.default.string},t}},function(e,t,n){"use strict";(function(e){n.d(t,"a",function(){return s});var r=n(189),i=function(){return e.createElement("div",{className:"lesson-header accent-line"})},o=function(t){var n=t.accentColor,o=t.authorName,a=t.avatar,s=t.description,c=t.lessonName,u=t.lessonNumber,l=t.lessonPreposition,d=t.showAuthor,f=t.showLessonCount,h=t.title,p=t.totalLessons;return e.createElement("div",{className:"lesson-header__content"},a&&o&&d?e.createElement(r.a,{avatar:a,authorName:o}):e.createElement(r.e,null),e.createElement(r.f,{title:h,style:{color:n}}),s&&e.createElement(r.c,{description:s}),f&&e.createElement(r.b,{lessonName:c,lessonNumber:u,lessonPreposition:l,totalLessons:p}),e.createElement(i,null))},a=function(t){var n=t.authorName,i=t.avatar,o=t.description,a=t.lessonName,s=t.lessonNumber,c=t.lessonPreposition,u=t.showAuthor,l=t.showLessonCount,d=t.title,f=t.totalLessons;return e.createElement(e.Fragment,null,l&&e.createElement(r.b,{lessonName:a,lessonNumber:s,lessonPreposition:c,totalLessons:f}),e.createElement(r.f,{title:d}),o&&e.createElement(r.c,{description:o}),i&&n&&u&&e.createElement(r.a,{avatar:i,authorName:n}))};function s(t){var n=t.accentColor,r=t.authorName,i=t.avatar,s=t.description,c=t.lessonHeaderSize,u=t.lessonName,l=t.lessonNumber,d=t.lessonPreposition,f=t.showAuthor,h=t.showLessonCount,p=t.title,m=t.totalLessons,v="SMALL"===c?o:a;return e.createElement(v,{accentColor:n,authorName:r,avatar:i,description:s,lessonName:u,lessonNumber:l,lessonPreposition:d,showAuthor:f,showLessonCount:h,title:p,totalLessons:m})}}).call(this,n(0))},function(e,t,n){},function(e,t,n){"use strict";(function(e){n.d(t,"a",function(){return N});var r=n(3),i=n.n(r),o=n(9),a=n(10),s=n(6),c=n(11),u=n(13),l=n(5),d=n(15),f=n.n(d),h=n(41),p=n.n(h),m=(n(2244),n(99)),v=n(2),g=n.n(v),y=n(116),b=n.n(y),_=n(50),w=n.n(_),x=n(24),k=n.n(x),E=n(433),S=n.n(E),T=n(46),C=n.n(T),O=n(1),j=n.n(O),A=n(179),P=n.n(A);function M(e){var t=function(){if("undefined"==typeof Reflect||!i.a)return!1;if(i.a.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=Object(l.a)(e);if(t){var o=Object(l.a)(this).constructor;n=i()(r,arguments,o)}else n=r.apply(this,arguments);return Object(u.a)(this,n)}}var N=function(t){Object(c.a)(r,t);var n=M(r);function r(e){var t;return Object(o.a)(this,r),(t=n.call(this,e)).state={isSticky:!1},setTimeout(function(){document.getElementsByClassName("page-wrap")[0].addEventListener("scroll",t.onScrollRef=t.onScroll.bind(Object(s.a)(t)))},10),t}return Object(a.a)(r,[{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=C()(-1,"activeIndex",n),i=w()(t);return-1===r?0:b()(r)===i?100:P()("%","",k()([r,"linePosition"],t))}},{key:"processProgressValue",value:function(){var e=this.props,t=e.items,n=e.lessonProgress,r=C()(0,"activeIndex",n),i=w()(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 C()(0,"percentViewed",t);case"timeline":return this.timelineProgressValue();default:return C()(0,"percentComplete",t)}}},{key:"render",value:function(){var t=this,n=this.props,r=n.type,i=n.items,o=n.menuOpen,a=n.mobileMenuOpen,s=n.navigationType,c=this.state.isSticky,u=s===m.h.COMPACT,l=g()("progress-wrap",{}),d=g()("lesson-progress-wrapper",{"lesson-progress-wrapper--visible":c&&!a,"lesson--open":o&&!u&&!this.isLessonPreview(),"lesson--open-mobile":a&&!this.isLessonPreview()}),h=g()("progress",{"progress--timeline":"timeline"===r,"progress--video":"video"===r}),v=this.progressValue(),y="timeline"===r&&i&&f()(i).call(i,function(t){var n,r=g()("progress__marker",{"progress__marker--active brand--background":parseInt(v)>=parseInt(p()(n=t.linePosition).call(n,0,-1))});return e.createElement("div",{className:r,style:{left:t.linePosition},key:t.id})}),b=e.createElement("div",{className:l},e.createElement("div",{className:h},e.createElement("div",{className:"progress__container"},e.createElement("div",{className:"progress__indicator brand--background",style:{transform:"translate3d(".concat(v,"%,0px,0px)")}}),y)));return e.createElement("div",{ref:function(e){return t.progresswrap=e}},b,e.createElement(S.a,null,e.createElement("div",{className:d},b)))}}],[{key:"propTypes",get:function(){return{id:j.a.any.isRequired,lessonProgress:j.a.object.isRequired,navigationType:j.a.string.isRequired,type:j.a.string.isRequired,items:j.a.array}}}]),r}(e.Component);e.createElement(N,{id:"abc123",lessonProgress:{},type:"foo"}).type}).call(this,n(0))},function(e,t,n){"use strict";(function(e){n.d(t,"a",function(){return o});var r=n(19),i=n(131);function o(t){return e.createElement(i.a,Object(r.a)({height:"12",width:"18",viewBox:"0 0 18 12"},t),e.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"}))}}).call(this,n(0))},function(e,t,n){"use strict";(function(e){n.d(t,"a",function(){return o});var r=n(19),i=n(131);function o(t){return e.createElement(i.a,Object(r.a)({height:"6",width:"10",viewBox:"0 0 10 6"},t),e.createElement("path",{d:"M1 5L5 1L9 5",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2"}))}}).call(this,n(0))},function(e,t,n){"use strict";(function(e){n.d(t,"a",function(){return o});var r=n(19),i=n(131);function o(t){return e.createElement(i.a,Object(r.a)({height:"21",width:"20",viewBox:"0 0 20 21"},t),e.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"}),e.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"}),e.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"}))}}).call(this,n(0))},function(e,t,n){"use strict";(function(e){n.d(t,"a",function(){return o});var r=n(19),i=n(131);function o(t){return e.createElement(i.a,Object(r.a)({height:"12",width:"12",viewBox:"0 0 12 12"},t),e.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"}))}}).call(this,n(0))},function(e,t,n){"use strict";(function(e){n.d(t,"a",function(){return o});var r=n(19),i=n(131);function o(t){return e.createElement(i.a,Object(r.a)({height:"5",width:"10",viewBox:"0 0 10 5"},t),e.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"}))}}).call(this,n(0))},function(e,t,n){"use strict";(function(e){n.d(t,"a",function(){return o});var r=n(19),i=n(131);function o(t){return e.createElement(i.a,Object(r.a)({height:"18",width:"18",viewBox:"0 0 18 18"},t),e.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"}),e.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"}))}}).call(this,n(0))},function(e,t,n){"use strict";(function(e){n.d(t,"a",function(){return o});var r=n(19),i=n(131);function o(t){return e.createElement(i.a,Object(r.a)({height:"14",width:"20",viewBox:"0 0 20 14"},t),e.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"}),e.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"}))}}).call(this,n(0))},function(e,t,n){"use strict";(function(e){n.d(t,"a",function(){return o});var r=n(19),i=n(131);function o(t){return e.createElement(i.a,Object(r.a)({height:"10",width:"10",viewBox:"0 0 10 10"},t),e.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"}))}}).call(this,n(0))},function(e,t,n){"use strict";(function(e){n.d(t,"a",function(){return i});var r=n(189);function i(t){var n=t.authorName,i=t.avatar,o=t.lessonName,a=t.lessonNumber,s=t.lessonPreposition,c=t.showAuthor,u=t.showLessonCount,l=t.title,d=t.totalLessons;return e.createElement(e.Fragment,null,i&&n&&c&&e.createElement(r.a,{avatar:i,authorName:n}),e.createElement(r.f,{title:l}),u&&e.createElement(r.b,{lessonName:o,lessonNumber:a,lessonPreposition:s,totalLessons:d}))}}).call(this,n(0))},function(e,t,n){"use strict";(function(e){n.d(t,"a",function(){return a});var r=n(19),i=n(101),o=["Default"];function a(t){var n=t.Default,a=Object(i.a)(t,o);return e.createElement(n,Object(r.a)({},a,{hasOverlay:!1}))}}).call(this,n(0))},function(e,t,n){"use strict";(function(e){n.d(t,"a",function(){return o});var r=n(19),i=n(131);function o(t){return e.createElement(i.a,Object(r.a)({width:"14",height:"8",viewBox:"0 0 14 8"},t),e.createElement("path",{d:"M1 1L5 5L9 1",stroke:"currentColor",strokeWidth:"1"}))}}).call(this,n(0))},function(e,t,n){"use strict";(function(e){function r(t){var n=t.className;return e.createElement("svg",{className:n,fill:"none",viewBox:"0 0 15 15",xmlns:"http://www.w3.org/2000/svg"},e.createElement("circle",{cx:"6",cy:"6",r:"5"}),e.createElement("path",{d:"M9.5 9.5L14 14"}))}n.d(t,"a",function(){return r})}).call(this,n(0))},function(e,t,n){"use strict";(function(e){function r(t){var n=t.className;return e.createElement("svg",{"aria-hidden":"true",className:n,fill:"none",focusable:"false",viewBox:"0 0 10 7",xmlns:"http://www.w3.org/2000/svg"},e.createElement("path",{d:"M1 1.40002L5 5.40002L9 1.40002",strokeWidth:"1.6"}))}n.d(t,"a",function(){return r})}).call(this,n(0))},function(e,t,n){"use strict";(function(e){n.d(t,"a",function(){return o});var r=n(19),i=n(131);function o(){for(var t=arguments.length,n=new Array(t),o=0;o<t;o++)n[o]=arguments[o];return e.createElement(i.a,Object(r.a)({},n,{viewBox:"0 0 12 12"}),e.createElement("path",{d:"M10.7425 0.742189L11.4496 1.4493L1.55012 11.3488L0.843012 10.6417L10.7425 0.742189Z",fill:"currentColor"}),e.createElement("path",{d:"M11.1571 10.6417L10.45 11.3488L0.550537 1.44929L1.25764 0.742188L11.1571 10.6417Z",fill:"currentColor"}))}}).call(this,n(0))},function(e,t,n){"use strict";(function(e){n.d(t,"a",function(){return l});var r=n(189),i=n(270),o=function(){return e.createElement("div",{className:"lesson-header__author--hidden"})},a=function(t){var n=t.authorName,i=t.avatar,a=t.lessonName,s=t.lessonNumber,c=t.lessonPreposition,u=t.showAuthor,l=t.showLessonCount,d=t.title,f=t.totalLessons;return e.createElement(e.Fragment,null,i&&n&&u?e.createElement(r.a,{avatar:i,authorName:n,className:"lesson-header__author"}):e.createElement(o,null),e.createElement(r.f,{title:d}),l&&e.createElement(r.b,{lessonName:a,lessonNumber:s,lessonPreposition:c,totalLessons:f}))},s=function(t){var n=t.authorName,i=t.avatar,o=t.lessonName,a=t.lessonNumber,s=t.lessonPreposition,c=t.showAuthor,u=t.showLessonCount,l=t.title,d=t.totalLessons;return e.createElement(e.Fragment,null,e.createElement(r.f,{title:l}),e.createElement(r.d,null,i&&n&&c&&e.createElement(r.a,{avatar:i,authorName:n}),u&&e.createElement(r.b,{lessonName:o,lessonNumber:a,lessonPreposition:s,totalLessons:d})))},c=function(t){var n=t.authorName,i=t.avatar,o=t.lessonName,a=t.lessonNumber,s=t.lessonPreposition,c=t.showAuthor,u=t.showLessonCount,l=t.title,d=t.totalLessons;return e.createElement(e.Fragment,null,i&&n&&c&&e.createElement(r.a,{avatar:i,authorName:n}),e.createElement(r.f,{title:l}),u&&e.createElement(r.b,{lessonName:o,lessonNumber:a,lessonPreposition:s,totalLessons:d}))},u=function(t){var n=t.description,o=Object(i.a)(480);return e.createElement(e.Fragment,null,o?e.createElement(c,t):e.createElement(s,t),n&&e.createElement(r.c,{description:n}))};function l(t){var n="SMALL"===t.lessonHeaderSize?a:u;return e.createElement(n,t)}}).call(this,n(0))},function(e,t,n){"use strict";(function(e){n.d(t,"a",function(){return o});var r=n(19),i=n(131);function o(t){return e.createElement(i.a,Object(r.a)({height:"12",width:"16",viewBox:"0 0 16 12"},t),e.createElement("path",{clipRule:"evenodd",d:"M9.6665 2H0.666504V0H9.6665V2ZM12.6665 6H0.666504V4H12.6665V6ZM0.666504 10H7.6665V8H0.666504V10Z",fill:"currentColor",fillRule:"evenodd"}))}}).call(this,n(0))},function(e,t,n){"use strict";(function(e){n.d(t,"a",function(){return o});var r=n(19),i=n(131);function o(t){return e.createElement(i.a,Object(r.a)({width:"12",height:"8",viewBox:"0 0 12 8"},t),e.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"}))}}).call(this,n(0))},function(e,t,n){"use strict";(function(e){n.d(t,"a",function(){return o});var r=n(19),i=n(131);function o(t){return e.createElement(i.a,Object(r.a)({height:"8",width:"12",viewBox:"0 0 12 8"},t),e.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"}))}}).call(this,n(0))},function(e,t,n){"use strict";(function(e){n.d(t,"a",function(){return o});var r=n(19),i=n(131);function o(t){return e.createElement(i.a,Object(r.a)({height:"21",width:"20",viewBox:"0 0 20 21"},t),e.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"}),e.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"}),e.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"}))}}).call(this,n(0))},function(e,t,n){"use strict";(function(e){n.d(t,"a",function(){return o});var r=n(19),i=n(131);function o(t){return e.createElement(i.a,Object(r.a)({height:"15",width:"16",viewBox:"0 0 16 15"},t),e.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"}))}}).call(this,n(0))},function(e,t,n){"use strict";(function(e){n.d(t,"a",function(){return o});var r=n(19),i=n(131);function o(t){return e.createElement(i.a,Object(r.a)({height:"18",width:"18",viewBox:"0 0 18 18"},t),e.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"}),e.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"}))}}).call(this,n(0))},function(e,t,n){"use strict";(function(e){n.d(t,"a",function(){return o});var r=n(19),i=n(131);function o(t){return e.createElement(i.a,Object(r.a)({height:"14",width:"20",viewBox:"0 0 20 14"},t),e.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"}),e.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"}))}}).call(this,n(0))},function(e,t,n){"use strict";(function(e){n.d(t,"a",function(){return o});var r=n(19),i=n(131);function o(t){return e.createElement(i.a,Object(r.a)({height:"14",width:"14",viewBox:"0 0 14 14"},t),e.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"}))}}).call(this,n(0))},function(e,t,n){var r=n(41),i=n(2186);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))}}},function(e,t,n){var r=n(41),i=n(2186),o=n(2674);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 c=0;c<e.length;){if("function"==typeof s[e[c]])return s[e[c]].apply(s,a);c+=1}if(o(s))return t.apply(null,a)(s)}return n.apply(this,arguments)}}},function(e,t){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}},function(e,t){e.exports={init:function(){return this.xf["@@transducer/init"]()},result:function(e){return this.xf["@@transducer/result"](e)}}},,,,,,,,,,,,,,,,,,,,,,,,,,,,function(e,t,n){"use strict";(function(t){
/*!
Copyright (C) 2015-2017 Andrea Giammarchi - @WebReflection

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.

*/
function n(e){var t,n,i,o,a,s,c=Object.create(null);if(this[u]=c,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=(i=o[a]).indexOf("="))?d(c,f(i.slice(0,t)),f(i.slice(t+1))):i.length&&d(c,f(i),"");else if(r(e))for(a=0,s=e.length;a<s;a++)d(c,(i=e[a])[0],i[1]);else if(e.forEach)e.forEach(l,c);else for(n in e)d(c,n,e[n])}var r=Array.isArray,i=n.prototype,o=/[!'\(\)~]|%20|%00/g,a=/\+/g,s={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"},c=function(e){return s[e]},u="__URLSearchParams__:"+Math.random();function l(e,t){d(this,t,e)}function d(e,t,n){var i=r(n)?n.join(","):n;t in e?e[t].push(i):e[t]=[i]}function f(e){return decodeURIComponent(e.replace(a," "))}function h(e){return encodeURIComponent(e).replace(o,c)}i.append=function(e,t){d(this[u],e,t)},i.delete=function(e){delete this[u][e]},i.get=function(e){var t=this[u];return e in t?t[e][0]:null},i.getAll=function(e){var t=this[u];return e in t?t[e].slice(0):[]},i.has=function(e){return e in this[u]},i.set=function(e,t){this[u][e]=[""+t]},i.forEach=function(e,t){var n=this[u];Object.getOwnPropertyNames(n).forEach(function(r){n[r].forEach(function(n){e.call(t,n,r,this)},this)},this)},i.toJSON=function(){return{}},i.toString=function(){var e,t,n,r,i=this[u],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())})}((n=e.exports=t.URLSearchParams||n).prototype)}).call(this,n(96))},function(e,t,n){"use strict";(function(e){n.d(t,"a",function(){return s});var r=n(2377),i=n(2306),o=n(744),a={CoverAction:r.a,LessonNav:i.a};function s(t){var n=t.children;return e.createElement(o.b,a,n)}}).call(this,n(0))},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=o(n(457)),i=o(n(2611));function o(e){return e&&e.__esModule?e:{default:e}}function a(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")}()}var s=function(e,t){var n=a((0,r.default)(e),4),o=n[0],s=n[1],c=n[2],u=n[3],l=t||u;return(0,i.default)([o,s,c,l])};t.default=s},function(e,t,n){e.exports=n(2616)},function(e,t,n){
/*!
 * bem-cn v3.0.1
 * Friendly BEM class names generator, greate for React
 * @author Alexander Burtsev, https://github.com/albburtsev
 */
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)},c=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)},u=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?e.toString():"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:u.bind(null,t,e),is:c.bind(null,t,e,"is-"),has:c.bind(null,t,e,"has-"),state:c.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),c=n.filter(o).reduce(function(t,n){return t+e.el+n},"");c&&(s.name=s.name+c);var u=n.filter(a).reduce(function(e,t){return r.assign(e,t)},{});return s.mods=r.assign({},s.mods,u),d(s,e)}.bind(null,t,n);return i.mix=s.bind(null,t,n),i.split=u.bind(null,t,n),i.is=c.bind(null,t,n,"is-"),i.has=c.bind(null,t,n,"has-"),i.state=c.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}}])},function(e,t,n){var r=n(731)(function(e,t,n){return e+(n?"-":"")+t.toLowerCase()});e.exports=r},function(e,t,n){"use strict";(function(e){var r=n(8),i=n(19),o=n(0),a=n(99),s=n(77),c=n(130),u=n(386),l=n(743),d=n(266),f=n(2307),h=n(118),p=Object(d.a)("lesson-nav"),m=function(t){var n=t.children;return t.lessonId?e.createElement(f.a,Object(i.a)({className:"lesson-nav-link",tooltipClassName:"lesson-nav-link-tooltip"},t)):e.createElement("span",{className:"lesson-nav-link"},e.createElement(c.b,{className:"lesson-nav-link__link",to:"/"},n))};t.a=Object(s.b)(function(e){var t=Object(u.a)(e),n=Object(l.a)(e);return{buttonScheme:t.buttonScheme,color:t.color,labelLessonRestricted:n.lessonRestricted,labelQuizRequirePassingScore:n.quizRequirePassingScore}})(function(t){var n,i,s=t.buttonScheme,c=t.children,u=t.color,l=t.direction,d=t.isFloating,f=t.navLessonId,v=t.restrictionType,g=t.wrapStyles,y=null!=v,b=Object(o.useMemo)(function(){return Object(h.d)(u)},[u]),_=(i={className:p(null,(n={},Object(r.a)(n,l,!0),Object(r.a)(n,"accent",s===a.a.ACCENT),Object(r.a)(n,"accent-dark",s===a.a.ACCENT&&b),Object(r.a)(n,"accent-light",s===a.a.ACCENT&&!b),Object(r.a)(n,"dark",s===a.a.DARK),Object(r.a)(n,"floating",d),Object(r.a)(n,"full",!d),Object(r.a)(n,"light",s===a.a.LIGHT),Object(r.a)(n,"restricted",y),Object(r.a)(n,"tint",s===a.a.TINT),n))},Object(r.a)(i,"data-".concat(l,"-lesson"),!0),Object(r.a)(i,"style",g),i);return e.createElement("div",_,e.createElement(m,{lessonId:f},c))})}).call(this,n(0))},function(e,t,n){"use strict";(function(e){n.d(t,"a",function(){return T});var r=n(19),i=n(44),o=n(2308),a=n.n(o),s=n(79),c=n.n(s),u=n(4),l=n.n(u),d=n(0),f=n(84),h=n(130),p=n(2380),m=n(2309),v=n(743),g=n(448),y=n(748),b=n(2190),_=n(266),w=n(327),x=n(2310),k=Object(d.forwardRef)(function(t,n){var r=t.children,i=t.className,o=t.dark,s=t.visible,c=Object(d.useMemo)(function(){return Object(_.a)(i)},[i]),u=e.createElement("div",{"aria-hidden":"true",ref:n,style:{left:0,pointerEvents:"none",position:"absolute",top:0,zIndex:a.a}},e.createElement("div",{style:{pointerEvents:"all"}},e.createElement("div",{className:c({visible:s})},e.createElement("div",{className:c("inner",{dark:o,light:!o})},r))));return Object(f.createPortal)(u,document.getElementById("portal"))});function E(t){var n,r,o,a=t.children,s=t.className,u=t.dark,f=t.lessonId,h=t.restrictions,m=t.tooltipClassName,g=Object(d.useRef)(),_=Object(d.useRef)(),E=Object(v.b)(),S=Object(y.c)(f).title,T=Object(b.a)(),C=Object(d.useState)(!1),O=Object(i.a)(C,2),j=O[0],A=O[1],P=Object(d.useCallback)(function(){return A(!0)},[]),M=Object(d.useCallback)(function(){return A(!1)},[]),N=Object(d.useCallback)(function(){setTimeout(P,0)},[P]),L=Object(d.useCallback)(function(){if(j){var e,t=g.current.getBoundingClientRect(),n=_.current.offsetParent.getBoundingClientRect(),r=t.height,i=t.width,o=t.left-n.left,a=t.top-n.top;c()(_.current.style,{transform:l()(e="translate(".concat(o,"px, ")).call(e,a,"px)"),width:"".concat(i,"px"),height:"".concat(r,"px")})}},[j]);(Object(d.useEffect)(function(){T&&A(!1)},[T]),Object(d.useLayoutEffect)(function(){return L()},[L]),Object(p.a)("resize",L,window),Object(x.a)(g,M),h.type===w.a.QUIZ)?r=l()(o="".concat(E.quizRequirePassingScore,': "')).call(o,h.data,'"'):h.type===w.a.ORDER&&(r=E.lessonRestricted);return e.createElement(e.Fragment,null,e.createElement("span",{"aria-disabled":!0,"aria-label":l()(n="The ".concat(S," lesson is currently unavailable: ")).call(n,r,"."),className:s,onBlur:M,onFocus:N,onMouseLeave:M,ref:g,role:"link",tabIndex:T?-1:0},a),e.createElement(k,{className:m,dark:u,ref:_,visible:j},r))}function S(t){var n=t.b,i=t.dark,o=t.children,a=t.lessonId,s=t.isCurrentLesson,c=t.onClick,u=t.onNavigate,l=t.restrictions,f=Object(b.a)(),p=Object(d.useCallback)(function(e){c(e),u(a)},[a,c,u]),m=null!=(null==l?void 0:l.type),v=n("link",{active:s,dark:i,light:!i,restricted:m});return m?e.createElement(E,Object(r.a)({},t,{className:v})):e.createElement(h.b,{"aria-current":s?"page":void 0,className:v,onClick:p,to:Object(w.e)(a),tabIndex:f?-1:void 0},o)}function T(t){var n,i=t.className,o=t.dark,a=t.last,s=t.lessonId,c=Object(d.useMemo)(function(){return Object(_.a)(i)},[i]),u=s===Object(m.a)(),l=Object(y.d)(s),f=null!=(null==l?void 0:l.type),h=(null!==(n=Object(g.e)(s))&&void 0!==n?n:{}).isComplete,p=c({active:u,complete:void 0!==h&&h,dark:o,last:a,light:!o,restricted:f});return e.createElement("span",{className:p},e.createElement(S,Object(r.a)({},t,{b:c,isCurrentLesson:u,restrictions:l})))}k.defaultProps={className:"lesson-link-item-tooltip"},S.defaultProps={onClick:Function.prototype,onNavigate:Function.prototype},T.defaultProps={className:"lesson-link-item"}}).call(this,n(0))},function(e,t,n){e.exports=n(2625)},function(e,t,n){"use strict";n.d(t,"a",function(){return i});var r=n(110);function i(){var e,t=Object(r.f)("/lessons/:currentLessonId");return null==t?void 0:null===(e=t.params)||void 0===e?void 0:e.currentLessonId}},function(e,t,n){"use strict";n.d(t,"a",function(){return s});var r=n(98),i=n.n(r),o=n(0);function a(e){var t;return i()(t=["auto","hidden","scroll"]).call(t,e)}function s(e,t){Object(o.useLayoutEffect)(function(){for(var n=e.current;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])}},function(e,t,n){"use strict";(function(e){n.d(t,"a",function(){return a});var r=n(386),i=n(746),o={};function a(t){var n,a=t.children,s=Object(r.e)(),c=null!==(n=null==s?void 0:s.features)&&void 0!==n?n:o;return e.createElement(i.a,{value:c},a)}}).call(this,n(0))},function(e,t,n){"use strict";(function(e){var r=n(0),i=n(2373),o=n(2374),a=n(2313),s=n(746),c=n(2314),u=n(59),l=n(77),d=n(235),f=n(263),h=n(209),p=n(2201),m=p.a;function v(t){var n=Object(s.b)("rise-course-themes")?m:p.a;return e.createElement(n,t)}function g(){return Object(l.d)(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}})}Object(i.setConfig)({ignoreSFC:!0,pureRender:!0}),t.a=Object(o.hot)(function(){var t;t=Object(l.c)(),Object(r.useEffect)(function(){t(Object(d.d)()),t(Object(f.b)())},[t]),function(){var e=Object(l.c)(),t=Object(r.useCallback)(function(){e(Object(h.d)(!0))},[e]),n=g(),i=n.status,o=i.courseLoaded,a=i.coverLoaded;if(o&&!a){var s=n.course.coverImage,c=(void 0===s?{}:s).media,d=(void 0===c?{}:c).image,f=void 0===d?{}:d,p=f.key,m=f.src;if(p||m){var v=p?Object(u.a)(f):m,y=setTimeout(t,5e3),b=new Image;b.src=v,b.onload=function(){clearTimeout(y),t()}}else t()}}();var n=g(),i=n.status,o=i.courseLoaded,s=i.coverLoaded,p=i.fontsLoaded,m=i.notFound,y=i.partnerContentLoaded,b=o&&p&&s&&y,_=!b;return Object(r.useEffect)(function(){b&&window.parent!==window&&window.parent.postMessage({type:"course:ready"},window.location.origin)},[b]),m?e.createElement(a.a,null):_?e.createElement(c.a,{status:status}):e.createElement(v,n)})}).call(this,n(0))},function(e,t,n){"use strict";(function(e){n(2628);var r=n(459),i=n.n(r),o=n(460);t.a=function(){return e.createElement(i.a,{title:Object(o.a)()},e.createElement("div",null,e.createElement("div",{className:"not-found"},e.createElement("div",{className:"not-found__copy"},e.createElement("h1",{className:"not-found__copy--heading"},"Hmm..."),e.createElement("div",null,"We can't seem to find the page you're looking for.")))))}}).call(this,n(0))},function(e,t,n){"use strict";var r,i=n(44),o=(n(2635),n(153)),a=n.n(o),s=n(33),c=n.n(s),u=n(17),l=n.n(u),d=n(0),f=n.n(d),h=n(64),p=n.n(h),m=n(266),v=n(722),g=Object(m.a)("curtain"),y=function(e){var t=e.loadingText,n=e.showHeader,o=e.status,s=Object(d.useState)(!1),u=Object(i.a)(s,2),f=u[0],h=u[1],m=function(){return h(!0)},v=l()("status","error"),g=l()("status","fatalError"),y=a()(v,l()("reconnectFailed",!0));return Object(d.useEffect)(function(){return r=setTimeout(m,1e4),function(){clearTimeout(r)}},[]),c()([[g,w],[y,k],[v,x],[p.a,_(t)]])({showHeader:n,status:o,reconnectFailed:f})},b=function(){return window.location.reload(!0)},_=function(e){return function(t){var n=t.showHeader;return f.a.createElement("div",{className:g("container",{"show-header":n})},f.a.createElement("div",{className:g()},f.a.createElement("div",{className:g("spinner")}),f.a.createElement("div",{className:g("text")},e||"Your course is loading.")))}},w=function(e){var t=e.showHeader;return f.a.createElement("div",{className:g("container",{"show-header":t})},f.a.createElement("div",{className:g()},f.a.createElement("div",{className:g("title")},"Something went wrong."),f.a.createElement("div",{className:g("description")},"Click to refresh and try again."),f.a.createElement(v.a,{headerDone:!0,onClick:b},"Refresh")))},x=function(e){var t=e.showHeader;return f.a.createElement("div",{className:g("container",{"show-header":t})},f.a.createElement("div",{className:g()},f.a.createElement("div",{className:g("spinner",{reconnect:!0})}),f.a.createElement("div",{className:g("title")},"Your computer is offline."),f.a.createElement("div",{className:g("description")},"Attempting to reconnect…")))},k=function(e){var t=e.showHeader;return f.a.createElement("div",{className:g("container",{"show-header":t})},f.a.createElement("div",{className:g()},f.a.createElement("div",{className:g("title")},"Your session has timed out."),f.a.createElement("div",{className:g("description")},"Click refresh to restart your session."),f.a.createElement(v.a,{headerDone:!0,onClick:b},"Refresh")))};t.a=Object(d.memo)(y)},function(e,t,n){
/*! iNoBounce - v0.1.0
* https://github.com/lazd/iNoBounce/
* Copyright (c) 2013 Larry Davis <lazdnet@gmail.com>; Licensed BSD */
!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),c=t.scrollHeight>t.offsetHeight;if(s&&c){var u=e.touches?e.touches[0].screenY:e.screenY,l=n<=u&&0===t.scrollTop,d=n>=u&&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 c="getComputedStyle"in window&&"touch"===window.getComputedStyle(s)["-webkit-overflow-scrolling"];document.documentElement.removeChild(s),c&&a();var u={enable:a,disable:function(){window.removeEventListener("touchstart",o,!1),window.removeEventListener("touchmove",i,!1),r=!1},isEnabled:function(){return r}};e.exports&&(e.exports=u),"function"==typeof t.define?(0,t.define)("iNoBounce",[],function(){return u}):t.iNoBounce=u}(this)},function(e,t,n){"use strict";(function(e){var r=n(3),i=n.n(r),o=n(9),a=n(10),s=n(11),c=n(13),u=n(5),l=n(15),d=n.n(l),f=n(225),h=n.n(f),p=n(110);function m(e){var t=function(){if("undefined"==typeof Reflect||!i.a)return!1;if(i.a.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=Object(u.a)(e);if(t){var o=Object(u.a)(this).constructor;n=i()(r,arguments,o)}else n=r.apply(this,arguments);return Object(c.a)(this,n)}}var v=function(t){Object(s.a)(r,t);var n=m(r);function r(){return Object(o.a)(this,r),n.apply(this,arguments)}return Object(a.a)(r,[{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 t,n=this,r=this.props.children,i=h()("children",this.props);return e.createElement(p.c,i,r&&d()(t=e.Children).call(t,r,function(t){return null!==t&&e.cloneElement(t,{ref:function(e){return n.child=e}})}))}}]),r}(e.Component);t.a=v}).call(this,n(0))},function(e,t,n){"use strict";(function(e){n.d(t,"a",function(){return f});var r=n(3),i=n.n(r),o=n(9),a=n(10),s=n(11),c=n(13),u=n(5);n(2637);function l(e){var t=function(){if("undefined"==typeof Reflect||!i.a)return!1;if(i.a.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=Object(u.a)(e);if(t){var o=Object(u.a)(this).constructor;n=i()(r,arguments,o)}else n=r.apply(this,arguments);return Object(c.a)(this,n)}}var d={authoring:/Android|webOS|iPhone|iPad|iPod|BlackBerry|MSIE|Trident/,runtime:/MSIE/},f=function(t){Object(s.a)(r,t);var n=l(r);function r(){return Object(o.a)(this,r),n.apply(this,arguments)}return Object(a.a)(r,[{key:"render",value:function(){return e=this.props.env,new RegExp(d[e],"i").test(window.navigator.userAgent)&&!window.sessionStorage.getItem("riseUnsupportedBrowser")?this.renderUnsupported():this.props.children;var e}},{key:"renderUnsupported",value:function(){return e.createElement("div",null,this.props.children,e.createElement("div",{className:"browser-support"},e.createElement("div",{className:"browser-support__inner"},e.createElement("p",{className:"browser-support__text browser-support__text--full"},"You’re using an unsupported browser. For better results, use a modern browser. "),e.createElement("p",{className:"browser-support__text browser-support__text--mobile"},"Unsupported browser"),e.createElement("a",{href:"https://articulate.com/support/article/System-Requirements-for-Rise",rel:"noopener noreferrer",target:"_blank",className:"browser-support__link"},e.createElement("span",null,"Learn more"),e.createElement("i",{className:"icon icon-chevron-right"})),e.createElement("div",{className:"browser-support__dismiss",onClick:this.handleDismiss.bind(this)},e.createElement("span",{className:"browser-support__dismiss-icon"},"×")))))}},{key:"handleDismiss",value:function(){window.sessionStorage.setItem("riseUnsupportedBrowser","true"),this.forceUpdate()}}]),r}(e.Component)}).call(this,n(0))},function(e,t,n){"use strict";(function(e){n.d(t,"a",function(){return l});var r=n(19),i=n(79),o=n.n(i),a=n(2),s=n.n(a),c=n(0),u=n(746);function l(t){function n(n,i){var o,a=(o=Object(u.b)("big-head-mode"),s()({bigHeadMode:o}));return e.createElement(t,Object(r.a)({},n,{ref:i,easterEggClassNames:a}))}return o()(Object(c.forwardRef)(n),{displayName:"withEasterEggClassNames(".concat(t.displayName||t.name,")")})}}).call(this,n(0))},function(e,t,n){"use strict";(function(e){n.d(t,"a",function(){return v});var r=n(3),i=n.n(r),o=n(9),a=n(10),s=n(11),c=n(13),u=n(5),l=(n(2638),n(2639),n(1)),d=n.n(l),f=n(26),h=n(2),p=n.n(h);function m(e){var t=function(){if("undefined"==typeof Reflect||!i.a)return!1;if(i.a.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=Object(u.a)(e);if(t){var o=Object(u.a)(this).constructor;n=i()(r,arguments,o)}else n=r.apply(this,arguments);return Object(c.a)(this,n)}}var v=function(t){Object(s.a)(r,t);var n=m(r);function r(){return Object(o.a)(this,r),n.apply(this,arguments)}return Object(a.a)(r,[{key:"handleCloseClick",value:function(){this.props.onClose()}},{key:"handleKeyUp",value:function(e){var t=this.props,n=t.confirmDisabled,r=t.onConfirm;Object(f.f)(e)?this.handleCloseClick():Object(f.d)(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 t=this.props,n=t.className,r=t.darkOverlay,i=t.footer,o=t.forceToTop,a=void 0!==o&&o,s=t.heading,c=t.hideCloseButton,u=void 0!==c&&c,l=t.hideHeader,d=void 0!==l&&l,f=t.subHeading,h=t.subText,m=t.children,v=t.width,g=t.scroll,y=void 0!==g&&g,b=p()("modal",n,{"modal--force_to_top":a}),_=p()("modal__content",{"modal__content--with-footer":Boolean(i),"modal__content--force-scroll":Boolean(y)}),w=p()("modal__overlay",{"modal__overlay--dark":Boolean(r)});return e.createElement("div",{className:b,"data-ba":this.props["data-ba"]},e.createElement("div",{className:w,onClick:this.handleCloseClick.bind(this)}),e.createElement("div",{className:"modal__dialog",style:v?{width:v}:{}},!u&&e.createElement("div",{className:"modal__close",onClick:this.handleCloseClick.bind(this)},e.createElement("i",{className:"icon icon-remove"})),!d&&e.createElement("div",{className:"modal__header"},e.createElement("h1",{className:"modal__heading"},s,e.createElement("span",{className:"modal__subheading"},f)),h?e.createElement("h2",{className:"modal__subtitle"},h):[]),e.createElement("div",{className:_},m),i&&e.createElement(e.Fragment,null,e.createElement("div",{className:"modal__footer-shadow"}),e.createElement("div",{className:"modal__footer"},i))))}}],[{key:"propTypes",get:function(){return{confirmDisabled:d.a.bool,darkOverlay:d.a.bool,onClose:d.a.func.isRequired,onConfirm:d.a.func.isRequired}}}]),r}(e.Component)}).call(this,n(0))},function(e,t,n){"use strict";(function(e){n.d(t,"a",function(){return _e});var r=n(3),i=n.n(r),o=n(19),a=n(9),s=n(10),c=n(6),u=n(11),l=n(13),d=n(5),f=n(15),h=n.n(f),p=n(53),m=n.n(p),v=n(98),g=n.n(v),y=n(4),b=n.n(y),_=n(182),w=n.n(_),x=n(27),k=n.n(x),E=n(2),S=n.n(E),T=n(54),C=n.n(T),O=n(49),j=n.n(O),A=n(66),P=n.n(A),M=n(30),N=n.n(M),L=n(24),I=n.n(L),D=n(25),R=n.n(D),B=n(17),F=n.n(B),U=n(129),q=n.n(U),z=n(149),H=n.n(z),V=n(722),W=n(1190),Y=n(2321),G=n(2369),K=n(2370),$=n(2199),X=n(432),Q=n(726),Z=n(724),J=n(1),ee=n.n(J),te=n(2371),ne=n(551),re=n(22),ie=n(86),oe=n(263),ae=n(67),se=n(20),ce=n(90),ue=n(1243),le=n(154),de=n(583),fe=n(1191),he=n(192),pe=n(586),me=n(1247);function ve(e){var t=function(){if("undefined"==typeof Reflect||!i.a)return!1;if(i.a.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=Object(d.a)(e);if(t){var o=Object(d.a)(this).constructor;n=i()(r,arguments,o)}else n=r.apply(this,arguments);return Object(l.a)(this,n)}}var ge=w()(N.a),ye=q()(F()("type","section")),be=function(e){return function(){if(e){var t=document.querySelector(".page-wrap");Object(se.c)(t)}else{document.getElementById("no-menu").focus()}}},_e=function(t){Object(u.a)(r,t);var n=ve(r);function r(e){var t,i;Object(a.a)(this,r),i=n.call(this,e);var o=e.course,s=e.lessons,u=e.match.params;return i.state={activeSections:h()(t=m()(s).call(s,function(e){return"section"===e.type})).call(t,function(e){return e.id}),isMobile:!1,isProgressSummary:re.e&&"progress-summary"===u.id,isPreviewLesson:"preview-lesson"===u.mode,lastScreen:null,menuDisabled:!1,menuIsOpen:Object(he.e)(o),mobileMenuIsOpen:!1,selectedIndex:Object(pe.b)(u.id)(s),sidebarEnabled:Object(he.d)(o),xTouchDown:null,xTouchMove:null,yTouchDown:null,yTouchMove:null},i.forwardTransition=!0,i.root=window,i.closeMenu=i.closeMenu.bind(Object(c.a)(i)),i.handleLessonsListRowClick=i.handleLessonsListRowClick.bind(Object(c.a)(i)),i.handleMenuToggle=i.handleMenuToggle.bind(Object(c.a)(i)),i.handleNavigateDirection=i.handleNavigateDirection.bind(Object(c.a)(i)),i.handleNavigate=i.handleNavigate.bind(Object(c.a)(i)),i.handleNavHover=i.handleNavHover.bind(Object(c.a)(i)),i.handleStorylineFullscreen=i.handleStorylineFullscreen.bind(Object(c.a)(i)),i.renderLesson=i.renderLesson.bind(Object(c.a)(i)),i.renderSearchLesson=i.renderSearchLesson.bind(Object(c.a)(i)),i.setIsMobileState=i.setIsMobileState.bind(Object(c.a)(i)),i}return Object(s.a)(r,[{key:"componentDidMount",value:function(){this.setIsMobileState(),this.root.addEventListener("resize",this.resizeRef=H()(this.setIsMobileState,1e3)),this.swipeEvents=Object(ne.a)(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=C()(Object(pe.a)(e.lessons,e.match.params.id),this.state.activeSections),n=re.e&&"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=be(t);t?e?(n(),Object(ce.a)(Object(oe.d)(!1))):this.sidebar.focus():n()}},{key:"handleLessonListRowComplete",value:function(e,t,n,r){var i=e.id,o=e.type,a=this.props,s=a.course,c=a.courseProgress,u=n.isRestricted;if(!Object(he.c)(s)&&!u&&"quiz"!==o)return r.preventDefault(),r.stopPropagation(),I()(["lessons",i,"isComplete"],c)?Object(ce.a)(Object(ae.e)({id:i,type:o})):Object(ce.a)(Object(ae.b)({id:i,type:o}))}},{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:Object(fe.c)()&&!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=Object(pe.b)(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;g()(t).call(t,e.id)?this.setState({activeSections:m()(t).call(t,function(t){return t!==e.id})}):this.setState({activeSections:b()(t).call(t,e.id)})}},{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||g()(t).call(t,e.sectionId))}},{key:"handleLessonsListRowClick",value:function(e){var t=e.lesson,n=e.id;"section"===t.type?this.handleToggleSection(t):this.handleNavigate(n)}},{key:"handleNavHover",value:function(e){this.setState({isRestrictedNavHovering:e})}},{key:"renderLesson",value:function(t,n,r,i){var o=this.props,a=o.course,s=o.courseProgress,c=o.labels,u=o.lessons,l=o.location,d=this.state,f=d.activeSections,p=d.isRestrictedNavHovering,m=d.sidebarEnabled,v=r.id,y=r.type,_=r.title,w=r.icon,x=Object(le.b)({course:a,courseProgress:s,lesson:r,restrictingQuiz:n}),k=Object(ue.a)(s,v),E=k.percentComplete,S=k.passedQuiz;if(r.children){var T,C,O=g()(f).call(f,r.id),j=this.renderLesson.bind(this,t,n),A="section-".concat(v),P=b()(T="Course Section for ".concat(_,", with ")).call(T,r.children.length," Lessons");return e.createElement("div",{key:"item-".concat(v)},e.createElement($.a,{allowTabNavigation:t,allowTooltip:!p,focusLessonContent:be(m),icon:w,id:v,isSectionActive:O,labels:c,lesson:r,lessonIndex:u.indexOf(r),location:l,markComplete:a.markComplete,onClick:this.handleLessonsListRowClick,onComplete:this.handleLessonListRowComplete.bind(this,r,i,x),onMobileActiveClick:this.closeMenu,onMouse:this.handleNavHover,passedQuiz:S,percentComplete:E,restrictions:x,sectionId:A,title:_,type:y}),e.createElement(te.a,{isActive:O,sectionId:A,sectionLabel:P},h()(C=r.children).call(C,j)))}return e.createElement($.a,{allowTabNavigation:this.allowTabNavigationForLesson(r),allowTooltip:!p,focusLessonContent:be(m),icon:w,id:v,key:"item-".concat(v),labels:c,lesson:r,lessonIndex:u.indexOf(r),location:l,markComplete:a.markComplete,onClick:this.handleLessonsListRowClick,onComplete:this.handleLessonListRowComplete.bind(this,r,i,x),onMobileActiveClick:this.closeMenu,onMouse:this.handleNavHover,passedQuiz:S,percentComplete:E,restrictions:x,title:_,type:y})}},{key:"renderMenuButtons",value:function(){var t=this.props,n=t.course,r=t.labels,i=this.state.sidebarEnabled,o=n.lmsOptions,a=(void 0===o?{}:o).enableExitCourse,s=r.courseExit,c=this.allowTabNavigation(),u="Toggle ".concat("Course Overview");return e.createElement("div",{className:"page__menu"},i&&e.createElement(V.a,{ariaExpanded:c,ariaLabel:u,ariaControls:"courseOverviewSidebar",icon:"menu",menu:!0,onClick:this.handleMenuToggle,onlyIcon:!0,tabIndex:se.a}),e.createElement(W.a,{enableExitCourse:a,className:"courseExit courseExit--mobile",text:s}),e.createElement("div",{id:"no-menu",tabIndex:se.h}))}},{key:"renderSidebar",value:function(t){var n=this,r=t.allowTabNavigation,i=t.restrictingQuiz,o=this.props,a=o.course,s=o.courseProgress,c=o.labels,u=o.lessons,l=o.search,d=o.sessionPreferences,f=this.state.sidebarEnabled,h=c.courseSkipToLesson,p=l.active,m=this.renderLesson.bind(this,r,i);return e.createElement(me.b,{hidden:!r,id:"courseOverviewSidebar",label:"Course Overview"},e.createElement(Q.b,{allowSearch:!Object(he.c)(a)&&a.allowSearch,courseTitle:a.title,coverImage:a.coverImage,allowTabNavigation:r,focusLessonContent:be(f),labels:c,lessons:u,searchActive:p,sessionPreferences:d,ref:function(e){n.sidebar=e},skipLinkText:h},e.createElement(Z.b,{lessonComplete:c.lessonComplete,value:s.percentComplete}),e.createElement(G.a,{labels:c,search:l},p?this.renderSearchResults(r):ge(m,Object(pe.c)(u)))))}},{key:"render",value:function(){var t=this,n=this.props,r=n.applySafariLandscapeHack,i=n.course,a=n.courseProgress,s=n.labels,c=n.lessons,u=n.location,l=n.match,d=n.partnerContent,f=n.previewType,h=n.safariLandscapeHackOffset,p=n.search,m=n.sessionPreferences,v=this.state,g=v.isPreviewLesson,y=v.isProgressSummary,b=v.isRestrictedNavHovering,_=v.menuIsOpen,w=v.mobileMenuIsOpen,x=v.sidebarEnabled,E=i.lmsOptions,T=(void 0===E?{}:E).enableExitCourse,C=s.courseExit,O=function(e){var t=e.course,n=e.search;return R()(k()("lessons",n.lessons),k()("lessonsOnly",ye(n.lessons)))(t)}({course:i,search:p}),j=this.allowTabNavigation(),A=this.renderMenuButtons(),M=S()("lesson",{"lesson--preview":g,"lesson--open":_&&!g,"lesson--open-mobile":w&&!g}),N=Object(de.a)({course:i,courseProgress:a}),L=r?{paddingBottom:h}:{},I={allowRestrictedTooltip:!b,course:p.active&&!P()(p.lessons)?O:i,focusLessonContent:be(x),handleStorylineFullscreen:this.handleStorylineFullscreen,isProgressSummary:y,key:u.pathname,labels:s,lessonProgress:a.lessons[l.params.id],match:l,menuButtons:A,menuOpen:!g&&_,mobileMenuOpen:w,navigateDirection:this.handleNavigateDirection,onNavigate:this.handleNavigate,onNavMouse:this.handleNavHover,partnerContent:d,previewType:f,courseProgress:a,sessionPreferences:m,sidebarEnabled:x},D=y?{courseProgress:a,lessons:c}:{};return e.createElement(me.c,{className:M,contentRef:function(e){return t.node=e}},x&&this.renderSidebar({allowTabNavigation:j,restrictingQuiz:N}),e.createElement("div",{className:"lesson__wrap",ref:function(e){return t.wrap=e}}),e.createElement(me.a,{onMobileMenuActiveClick:this.closeMenu},e.createElement("div",{className:"page-view page-view--visible"},e.createElement(W.a,{enableExitCourse:T,className:"courseExit courseExit--standard",text:C}),e.createElement(ie.d,{component:"div",className:"page-wrap",id:"page-wrap",style:L},e.createElement(X.a,{key:u.pathname},e.createElement(Y.a,Object(o.a)({},I,D)))))))}},{key:"closeMenu",value:function(){return this.state.mobileMenuIsOpen?this.handleMenuToggle:Function.prototype}},{key:"renderSearchLesson",value:function(t,n,r){var i=this.props.labels,o=this.state.sidebarEnabled,a=n.icon,s=n.id,c=n.results,u=n.title,l=n.type;return e.createElement(K.a,{allowTabNavigation:t,focusLessonContent:be(o),icon:a,id:s,key:"item-".concat(s),labels:i,lessonIndex:r,onClick:this.handleNavigate,onMobileActiveClick:this.closeMenu,resultsCount:c,title:u,type:l})}},{key:"renderSearchResults",value:function(e){var t=this.props.search.activeLessons,n=this.renderSearchLesson.bind(this,e);return R()(j()(le.g),ge(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:ee.a.node,course:ee.a.object,courseProgress:ee.a.object,labels:ee.a.object,lessons:ee.a.array,location:ee.a.object.isRequired,match:ee.a.object.isRequired}}},{key:"defaultProps",get:function(){return{course:{},lessons:[]}}}]),r}(e.Component)}).call(this,n(0))},function(e,t,n){"use strict";(function(e){n.d(t,"a",function(){return oe});var r=n(3),i=n.n(r),o=n(19),a=n(9),s=n(10),c=n(11),u=n(13),l=n(5),d=n(4),f=n.n(d),h=n(165),p=n.n(h),m=n(65),v=n.n(m),g=n(66),y=n.n(g),b=n(144),_=n.n(b),w=n(23),x=n.n(w),k=n(17),E=n.n(k),S=n(46),T=n.n(S),C=n(1),O=n.n(C),j=n(84),A=n.n(j),P=n(459),M=n.n(P),N=n(67),L=n(90),I=n(154),D=n(583),R=n(586),B=n(291),F=n(2322),U=n(2325),q=n(2327),z=n(2328),H=n(1246),V=n(2192),W=n(2330),Y=n(458),G=n(2194),K=n(2350),$=n(547),X=n(2362),Q=n(2364),Z=n(2198),J=n(2366),ee=n(22),te=n(460),ne=n(2368),re=n(73);function ie(e){var t=function(){if("undefined"==typeof Reflect||!i.a)return!1;if(i.a.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=Object(l.a)(e);if(t){var o=Object(l.a)(this).constructor;n=i()(r,arguments,o)}else n=r.apply(this,arguments);return Object(u.a)(this,n)}}var oe=function(t){Object(c.a)(r,t);var n=ie(r);function r(e){var t;Object(a.a)(this,r),t=n.call(this,e);var i=e.course,o=e.isProgressSummary,s=e.lessonProgress,c=e.match.params,u=T()(null,"index",s),l=o?G.b:x()({},["lessons",u],i),d={course:i,lesson:l},f=o?_()(i.lessonsOnly):Object(I.j)(d),h=o?null:Object(I.i)(d);return t.state={color:i.color,hasTransitioned:!1,lessonNumber:o?0:Object(I.h)(d),mode:c.mode||"",model:l,next:h,nextNumber:Object(I.h)({course:i,lesson:h}),previous:f,previousNumber:Object(I.h)({course:i,lesson:f}),scrollPosition:0,totalLessons:Object(I.k)(i)},t}return Object(s.a)(r,[{key:"componentDidMount",value:function(){var e=this.props.match.params.id;this.setState({hasTransitioned:!0}),this.props.isProgressSummary||Object(re.t)(e),this.props.isProgressSummary||Object(L.a)(Object(N.a)(e))}},{key:"componentWillReceiveProps",value:function(e){if(!this.props.isProgressSummary){var t=e.course,n=e.lessonProgress,r=T()(null,"index",n),i=x()(null,["lessons",r],t),o={course:t,lesson:i},a=Object(I.j)(o),s=Object(I.i)(o);i&&this.setState({model:i,next:s,previous:a})}}},{key:"displayFlex",value:function(e){e.css({display:"flex"})}},{key:"componentWillEnter",value:function(e){p()("[data-lesson-header]").css({top:""}),this.transition("enter",e)}},{key:"componentDidEnter",value:function(){var e=p()("[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),p()(t).scrollTop(n),p()("[data-lesson-header]").css({top:n})}}},{key:"componentWillExit",value:function(e){var t=document.getElementsByClassName("page-wrap"),n=t[0].scrollTop;p()(t).scrollTop(0),this.lastScrollPosition=n,this.transition("leave",e),p()(A.a.findDOMNode(this)).scrollTop(this.lastScrollPosition)}},{key:"transitionComplete",value:function(){var e=A.a.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=A.a.findDOMNode(this);if(a){var s=f()(n="page ".concat(o,"-")).call(n,e);a.className=s,Z.a.addEventListeners(a,function n(){"enter"===e?(a.className="page ".concat(o,"-complete"),i()):a.className="page",Z.a.removeEventListeners(a,n),t()})}else t()}},{key:"handleFinishQuiz",value:function(){var e=this.props,t=e.course,n=e.courseProgress;Object(ne.a)(t,n)}},{key:"handleNextClick",value:function(e){var t=this.props.course.lessonsOnly;Object(R.b)(e)(t)>=t.length-1?ee.e&&(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;Object(R.b)(e)(t)<=0&&!this.props.isProgressSummary||this.props.onNavigate(this.state.previous.id)}},{key:"renderLessonType",value:function(t){var n=t.type,r=t.props,i=t.course,a=t.model;if(this.props.isProgressSummary)return e.createElement(G.a,Object(o.a)({},this.props,r));switch(n){case"blocks":return e.createElement(F.a,Object(o.a)({},r,{animateBlockEntrance:i.animateBlockEntrance,isFirstLesson:Object(I.f)({course:i,lesson:a})}));case"map":return e.createElement(z.a,r);case"process":return e.createElement(W.a,r);case"timeline":return e.createElement(Q.a,r);case"quiz":return e.createElement(K.a,r);case"sorting":return e.createElement(X.a,r);case"screencast":case"slidecast":case"video":return e.createElement(J.a,r);case"embed":return e.createElement(U.a,r);default:return null}}},{key:"render",value:function(){var t=this,n=this.state,r=n.color,i=n.lessonNumber,o=n.mode,a=n.model,s=n.next,c=n.nextNumber,u=n.previous,l=n.previousNumber,d=n.scrollPosition,f=n.totalLessons,h=this.props,p=h.allowRestrictedTooltip,m=h.course,g=h.courseProgress,b=h.handleStorylineFullscreen,_=h.isProgressSummary,w=h.labels,k=h.lessonProgress,S=h.location,C=h.match,O=h.menuButtons,j=h.menuOpen,A=h.mobileMenuOpen,P=h.onNavMouse,N=h.onNavigate,L=h.previewType,R=h.sessionPreferences.prefersKeyboardNavigation,F=h.sidebarEnabled,U=a.author,z=a.selectedAuthorId,W=a.settings,G=void 0===W?{}:W,K=a.type,X=m.authors,Q=m.enableVideoPlaybackSpeed,Z=m.id,J=m.publishedAt,ne=m.showLessonCount,ie=m.showNavigationButtons,oe=m.tenantId,ae=w.courseFinish,se=void 0===ae?"Finish":ae,ce=w.courseHome,ue=x()([],["partnerContent","content"],this.props),le=!y()(ue),de=le?v()(E()("id",z),ue):{},fe=le?x()(void 0,["data","authors"],de):void 0,he=Object($.a)({authors:X,author:U,selectedAuthorId:z}),pe=he.avatar,me=he.authorName,ve=a.items?a.items.length:0,ge=Object(D.a)({course:m,courseProgress:g}),ye=_?{}:Object(I.b)({course:m,courseProgress:g,lesson:s,restrictingQuiz:ge}),be="quiz"===K&&"continue"===G.continueType,_e=this.handleNextClick.bind(this,a.id),we=u&&"preview-lesson"!==o?e.createElement(V.b,{isLesson:Object(I.e)(u),key:"prev-".concat(a.id),labels:w,onPreviousClick:this.handlePreviousClick.bind(this,a.id),previous:u.id,previousNumber:l,previousTitle:u?u.title:"",ref:function(e){return t.previousLesson=e}}):"preview-lesson"!==o?e.createElement(V.a,{courseHomeLabel:ce}):null,xe=s&&"preview-lesson"!==o&&!be,ke=xe?e.createElement(H.b,{allowTooltip:p,id:a.id,isLesson:Object(I.e)(s),restrictions:ye,key:"next-".concat(a.id),labels:w,next:s.id,nextNumber:c,nextTitle:s.title,onMouse:P,onNextClick:_e,ref:function(e){return t.nextLesson=e},type:K}):!ee.e||"preview-lesson"===o||be||Object(re.j)()?null:e.createElement(H.a,{courseFinishLabel:se,onNextClick:_e}),Ee=xe&&!ie&&!F?e.createElement(H.b,{id:a.id,isContinue:!0,isLesson:Object(I.e)(s),restrictions:ye,key:"next-".concat(a.id),labels:w,next:s.id,nextNumber:c,onNextClick:_e,ref:function(e){return t.nextLesson=e},type:K}):null,Se=e.createElement(q.a,{authorName:me,avatar:pe,description:a.description,labels:w,length:a.length||"",lessonNumber:i,partnerContentAuthors:fe,ref:"header",showLessonCount:ne,steps:ve,title:a.title,totalLessons:f,type:a.type},"audio"===a.mediaType&&a.mediaSrc&&e.createElement(B.b,{id:"audio-".concat(a.cid),key:"audio-".concat(a.cid),labels:w,mediaSrc:a.mediaSrc}),!_&&e.createElement(Y.b,{id:a.id,items:a.items,lessonProgress:k,menuOpen:j,mobileMenuOpen:A,scrollPosition:d,type:a.type})),Te={authorName:me,avatar:pe,color:r,continueComponent:Ee,courseId:Z,courseTitle:m.title,data:a,enableVideoPlaybackSpeed:Q,handleNavigate:N,handleStorylineFullscreen:b,isLesson:Object(I.e)(a),labels:w,lessonHeader:Se,lessonNumber:i,lessonProgress:k,loadMedia:this.state.hasTransitioned,location:S,match:C,menuButtons:O,menuOpen:j,mobileMenuOpen:A,mode:o,nextComponent:ie&&ke,nextLesson:T()(null,"id",s),nextLessonRestrictions:ye,onNextClick:_e,partnerContent:ue,publishedAt:J,prefersKeyboardNavigation:R,previewType:L,previousComponent:ie&&we,scrollPosition:d,showLessonCount:ne,showNavigationButtons:ie,sidebarEnabled:F,tenantId:oe,totalLessons:f};return e.createElement(M.a,{title:Object(te.a)(m.title+" - "+a.title)},e.createElement("main",{"aria-label":"Lesson Content"},this.renderLessonType({type:K,props:Te,course:m,model:a})))}}],[{key:"propTypes",get:function(){return{focusLessonContent:O.a.func,match:O.a.object.isRequired,navigateDirection:O.a.func,onNavigate:O.a.func,partnerContent:O.a.object,previewType:O.a.string,sidebarEnabled:O.a.bool}}}]),r}(e.Component)}).call(this,n(0))},function(e,t,n){"use strict";(function(e){var r=n(23),i=n.n(r),o=n(14),a=n.n(o),s=n(77),c=n(2378),u=n(150);t.a=Object(s.b)(function(e){return{partnerContent:i()([],["partnerContent","content"],e)}})(function(t){var n=t.animateBlockEntrance,r=t.color,i=t.courseId,o=t.courseTitle,s=t.data,l=s.id,d=s.type,f=s.items,h=t.enableVideoPlaybackSpeed,p=t.handleNavigate,m=t.handleStorylineFullscreen,v=t.labels,g=t.lessonHeader,y=t.lessonProgress,b=t.loadMedia,_=t.match,w=t.menuButtons,x=t.menuOpen,k=t.nextComponent,E=t.nextLesson,S=t.partnerContent,T=t.prefersKeyboardNavigation,C=t.previewType,O=t.previousComponent,j=t.publishedAt,A=t.tenantId;return e.createElement(u.c,{type:d},O,e.createElement(u.b,{type:d},w,g,e.createElement(u.a,null,e.createElement(c.a,{animateBlockEntrance:n,blocks:f,color:r,courseId:i,courseTitle:o,enableVideoPlaybackSpeed:h,handleNavigate:p,handleStorylineFullscreen:m,isFirstLesson:!0,labels:v,lessonId:l,lessonProgress:y,loadMedia:b,match:_,menuOpen:x,nextLesson:E,partnerContent:S,previewType:C,prefersKeyboardNavigation:T,publishedAt:j,tenantId:A,type:d}))),a()("isComplete",y)?k:null)})}).call(this,n(0))},function(e,t,n){"use strict";(function(e){n.d(t,"a",function(){return p});var r=n(3),i=n.n(r),o=n(9),a=n(10),s=n(11),c=n(13),u=n(5),l=n(1),d=n.n(l),f=n(1238);function h(e){var t=function(){if("undefined"==typeof Reflect||!i.a)return!1;if(i.a.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=Object(u.a)(e);if(t){var o=Object(u.a)(this).constructor;n=i()(r,arguments,o)}else n=r.apply(this,arguments);return Object(c.a)(this,n)}}var p=function(t){Object(s.a)(r,t);var n=h(r);function r(){return Object(o.a)(this,r),n.apply(this,arguments)}return Object(a.a)(r,[{key:"render",value:function(){return e.createElement(f.a,{onViewed:this.handleViewed.bind(this,this.props.children.props),isFirstLesson:this.props.isFirstLesson},this.modifiedChildren())}},{key:"modifiedChildren",value:function(){return e.cloneElement(e.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()}}]),r}(e.Component);d.a.arrayOf,d.a.func,d.a.node,d.a.oneOfType}).call(this,n(0))},function(e,t,n){"use strict";var r=n(123),i=n(162),o=this&&this.__read||function(e,t){var n="function"==typeof r&&i(e);if(!n)return e;var o,a,s=n.call(e),c=[];try{for(;(void 0===t||t-- >0)&&!(o=s.next()).done;)c.push(o.value)}catch(e){a={error:e}}finally{try{o&&!o.done&&(n=s.return)&&n.call(s)}finally{if(a)throw a.error}}return c};Object.defineProperty(t,"__esModule",{value:!0});var a=n(0);t.default=function(){var e=o(a.useState(Object.create(null)),2)[1];return a.useCallback(function(){e(Object.create(null))},[e])}},function(e,t,n){"use strict";(function(e){var r=n(2326),i=n(150);t.a=function(t){var n=t.data,o=n.id,a=n.items,s=n.type,c=t.labels,u=t.lessonHeader,l=t.lessonProgress,d=t.menuButtons,f=t.nextComponent,h=t.previousComponent;return e.createElement(i.c,{type:s},h,e.createElement(i.b,{type:s},d,u,e.createElement(i.a,null,e.createElement(r.a,{id:o,items:a,labels:c,lessonProgress:l}))),f)}}).call(this,n(0))},function(e,t,n){"use strict";(function(e){n.d(t,"a",function(){return b});var r=n(3),i=n.n(r),o=n(9),a=n(10),s=n(11),c=n(13),u=n(5),l=(n(2653),n(24)),d=n.n(l),f=n(1),h=n.n(f),p=n(90),m=n(239),v=n(563),g=n(358);function y(e){var t=function(){if("undefined"==typeof Reflect||!i.a)return!1;if(i.a.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=Object(u.a)(e);if(t){var o=Object(u.a)(this).constructor;n=i()(r,arguments,o)}else n=r.apply(this,arguments);return Object(c.a)(this,n)}}var b=function(t){Object(s.a)(r,t);var n=y(r);function r(e){var t;return Object(o.a)(this,r),(t=n.call(this,e)).type=Object(m.a)(e.items),t.state={isLoaded:"video"!==t.type},t}return Object(a.a)(r,[{key:"componentDidMount",value:function(){var e=this,t=this.props.id;"video"===this.type&&setTimeout(function(){e.setState({isLoaded:!0})},800),Object(p.a)(Object(v.c)(t))}},{key:"render",value:function(){if(!this.state.isLoaded)return null;var t=this.props,n=t.id,r=t.items,i=t.labels,o=d()([0,"media","embed"],r),a=d()([0,"settings","showMetaData"],r);return e.createElement("section",{"aria-label":"URL/Embed Content",className:"embed-lesson"},e.createElement("div",{className:"embed-lesson__item",key:n},e.createElement("div",{className:"embed-lesson__row"},e.createElement("div",{className:"embed-lesson__main"},e.createElement(g.a,{data:o,isLesson:!0,labels:i,showMetaData:a})))))}}]),r}(e.Component);h.a.any,h.a.array,h.a.object}).call(this,n(0))},function(e,t,n){"use strict";(function(e){n.d(t,"a",function(){return k});var r=n(9),i=n(10),o=n(11),a=n(13),s=n(5),c=n(4),u=n.n(c),l=n(15),d=n.n(l),f=n(3),h=n.n(f),p=(n(2654),n(1)),m=n.n(p),v=n(73),g=n(291),y=n(42),b=n(458),_=n(59);function w(e){var t=function(){if("undefined"==typeof Reflect||!h.a)return!1;if(h.a.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=Object(s.a)(e);if(t){var i=Object(s.a)(this).constructor;n=h()(r,arguments,i)}else n=r.apply(this,arguments);return Object(a.a)(this,n)}}var x=function(t){var n,r,i,o,a=t.authorName,s=t.avatar,c=t.children,l=t.description,f=t.labels,h=t.lessonNumber,p=t.partnerContentAuthors,m=t.showLessonCount,b=t.title,w=t.totalLessons,x=f.lessonName,k=f.lessonPreposition,E=function(e){return"url(".concat(Object(_.f)({width:"76",height:"76",imageKey:e.image}),")")},S=m&&e.createElement("div",{className:"lesson-header__count"},u()(n=u()(r=u()(i="".concat(x," ")).call(i,h," ")).call(r,k," ")).call(n,w));return e.createElement("div",{className:"lesson-header"},e.createElement("div",{className:"lesson-header__top-wrap brand--afterBackground"},e.createElement(y.a,{className:"lesson-header__title brand--lhead",tagName:"h1",value:b}),p&&e.createElement("div",{className:"lesson-header__partner-content"},d()(p).call(p,function(t){return e.createElement("div",{key:t.name,className:"lesson-header__partner-content-author"},e.createElement("div",{className:"lesson-header__partner-content-author-img",style:{backgroundImage:E(t)}}),e.createElement("div",null,e.createElement("span",{className:"visually-hidden"},"by ",t.name),e.createElement("span",{"aria-hidden":"true"},t.name)))})),s&&a&&!p?e.createElement("div",{className:"lesson-header__author brand--ui"},e.createElement("img",{className:"lesson-header__author-img",src:Object(v.p)("".concat(s)),alt:""}),e.createElement("span",{className:"visually-hidden"},"by ",a),e.createElement("span",{"aria-hidden":"true"},a)):null,e.createElement("div",{className:"lesson-header__counter brand--body brand--linkColor"},S)),d()(o=e.Children).call(o,c,function(t){return t&&t.type===g.a?e.createElement("div",{className:"lesson-header__audio"},t):null}),e.createElement(y.a,{className:"lesson-header__description brand--lbody brand--linkColor",value:l}))},k=function(t){Object(o.a)(a,t);var n=w(a);function a(){return Object(r.a)(this,a),n.apply(this,arguments)}return Object(i.a)(a,[{key:"render",value:function(){var t,n=this.props.children;return e.createElement("header",{className:"page__header"},e.createElement("div",{className:"page__header-limit"},e.createElement("div",{className:"page__header-container"},e.createElement("div",{className:"lesson-header__row"},e.createElement("div",{className:"lesson-header__main"},e.createElement(x,this.props)))),d()(t=e.Children).call(t,n,function(e){return e&&e.type!==b.a?null:e})))}}],[{key:"propTypes",get:function(){return{authorName:m.a.string,avatar:m.a.string,description:m.a.string,showLessonCount:m.a.bool,steps:m.a.number,title:m.a.string.isRequired,type:m.a.string.isRequired}}}]),a}(e.Component)}).call(this,n(0))},function(e,t,n){"use strict";(function(e){var r=n(2329),i=n(150);t.a=function(t){var n=t.labels,o=t.lessonHeader,a=t.lessonProgress,s=t.menuButtons,c=t.nextComponent,u=t.previousComponent,l=t.data,d=l.id,f=l.items,h=l.media,p=l.type;return e.createElement(i.c,{type:p},u,e.createElement(i.b,{type:p},s,o,e.createElement(i.a,null,e.createElement(r.a,{id:d,items:f,labels:n,lessonProgress:a,image:h.image}))),c)}}).call(this,n(0))},function(e,t,n){"use strict";(function(e){n.d(t,"a",function(){return b});var r=n(3),i=n.n(r),o=n(9),a=n(10),s=n(6),c=n(11),u=n(13),l=n(5),d=(n(2655),n(2)),f=n.n(d),h=n(90),p=n(1),m=n.n(p),v=n(693),g=n(564);function y(e){var t=function(){if("undefined"==typeof Reflect||!i.a)return!1;if(i.a.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=Object(l.a)(e);if(t){var o=Object(l.a)(this).constructor;n=i()(r,arguments,o)}else n=r.apply(this,arguments);return Object(u.a)(this,n)}}var b=function(t){Object(c.a)(r,t);var n=y(r);function r(e){var t;return Object(o.a)(this,r),(t=n.call(this,e)).onItemSelected=t.onItemSelected.bind(Object(s.a)(t)),t}return Object(a.a)(r,[{key:"render",value:function(){var t=this.props,n=t.accentColor,r=t.id,i=t.image,o=void 0===i?{}:i,a=t.items,s=t.isPreview,c=t.labels,u=t.lessonProgress,l=t.readOnly,d=f()("page__content-container","labeled-graphic-lesson-content-container"),h={accentColor:n,animateBlockEntrance:!1,editable:!1,items:a,isPreview:s,isLearner:!0,labels:c,media:{image:o},onItemSelected:l?void 0:this.onItemSelected,parentId:r,progress:u};return e.createElement("section",{"aria-label":"Labeled Graphic Content",className:"page__content"},e.createElement("div",{className:d},e.createElement(v.a,h)))}},{key:"onItemSelected",value:function(e){var t=this.props.id;Object(h.a)(Object(g.a)({id:t,itemId:e}))}}],[{key:"propTypes",get:function(){return{accentColor:m.a.string,id:m.a.any.isRequired,image:m.a.object,items:m.a.array.isRequired,labels:m.a.object,lessonProgress:m.a.object,readOnly:m.a.bool}}}]),r}(e.Component)}).call(this,n(0))},function(e,t,n){"use strict";(function(e){var r=n(150),i=n(2331),o=n(458),a=n(1240),s=Object(a.a)(i.a);t.a=function(t){var n=t.authorName,i=t.avatar,a=t.data,c=a.description,u=a.id,l=a.items,d=a.title,f=a.type,h=t.labels,p=t.lessonNumber,m=t.lessonProgress,v=t.loadMedia,g=t.menuButtons,y=t.menuOpen,b=t.mobileMenuOpen,_=t.nextComponent,w=t.prefersKeyboardNavigation,x=t.previousComponent,k=t.showLessonCount,E=t.totalLessons;return e.createElement(r.c,{type:f},x,e.createElement(r.b,{type:f},g,e.createElement(r.a,{type:f,items:l},e.createElement(o.b,{id:u,items:l,lessonProgress:m,menuOpen:y,mobileMenuOpen:b,type:"process"}),e.createElement(s,{authorName:n,avatar:i,description:c,id:u,items:l,labels:h,loadMedia:v,lessonNumber:p,lessonProgress:m,menuOpen:y,mobileMenuOpen:b,nextComponent:_,prefersKeyboardNavigation:w,previousComponent:x,showLessonCount:k,title:d,totalLessons:E,type:f}))))}}).call(this,n(0))},function(e,t,n){"use strict";(function(e){n.d(t,"a",function(){return re});var r=n(3),i=n.n(r),o=n(9),a=n(10),s=n(6),c=n(11),u=n(13),l=n(5),d=n(15),f=n.n(d),h=(n(2658),n(2)),p=n.n(h),m=n(33),v=n.n(m),g=n(232),y=n.n(g),b=n(116),_=n.n(b),w=n(112),x=n.n(w),k=n(24),E=n.n(k),S=n(23),T=n.n(S),C=n(433),O=n.n(C),j=n(14),A=n.n(j),P=n(17),M=n.n(P),N=n(46),L=n.n(N),I=n(97),D=n.n(I),R=n(1),B=n.n(R),F=n(149),U=n.n(F),q=n(90),z=n(196),H=n(26),V=n(20),W=n(85),Y=n(2193),G=n(40),K=n(742),$=n(2332),X=n(2333),Q=n(551),Z=n(444);function J(e){var t=function(){if("undefined"==typeof Reflect||!i.a)return!1;if(i.a.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=Object(l.a)(e);if(t){var o=Object(l.a)(this).constructor;n=i()(r,arguments,o)}else n=r.apply(this,arguments);return Object(u.a)(this,n)}}var ee=Object(z.a)(".next-lesson__link"),te=Object(z.a)(".restart-button"),ne=T()(0,["lessonProgress","activeIndex"]),re=function(t){Object(c.a)(r,t);var n=J(r);function r(e){var t;return Object(o.a)(this,r),(t=n.call(this,e)).state={xTouchDown:null,xTouchMove:null,yTouchDown:null,yTouchMove:null,resetContentFocus:!1,isTransitioning:!1},t.handleKeyDown=t.handleKeyDown.bind(Object(s.a)(t)),t.handleReplay=t.handleReplay.bind(Object(s.a)(t)),t.handleScroll=t.handleScroll.bind(Object(s.a)(t)),t.leftSwipe=t.nextSlide.bind(Object(s.a)(t)),t.nextSlide=t.nextSlide.bind(Object(s.a)(t)),t.previousSlide=t.previousSlide.bind(Object(s.a)(t)),t.renderItem=t.renderItem.bind(Object(s.a)(t)),t.rightSwipe=t.previousSlide.bind(Object(s.a)(t)),t.handleAnimationEnd=t.handleAnimationEnd.bind(Object(s.a)(t)),t}return Object(a.a)(r,[{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-(W.a.isIphoneSafari?94:50);this.controls.style.transform="translate3d(0, ".concat(r,"px, 0)")}}},{key:"componentDidMount",value:function(){var e=this.controlsContainer;this.swipeEvents=Object(Q.a)(e,this,this.leftSwipe,this.rightSwipe),this.swipeEvents.addListeners(),document.addEventListener("keydown",this.handleKeyDown),W.a.isSafari9&&(this.scrollRef=U()(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),W.a.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 t,n=this,r=this.isAtStart(),i=this.isAtEnd(),o=this.props.labels.processLandmark;return e.createElement("section",{"aria-label":o,className:this.getClassName({isAtStart:r,isAtEnd:i}),ref:function(e){n.controlsContainer=e}},this.renderControls({isAtStart:r,isAtEnd:i}),e.createElement("div",{className:"process__wrap"},this.renderStart(),f()(t=this.props.items).call(t,this.renderItem),this.renderEnd()))}},{key:"renderControls",value:function(t){var n=this,r=t.isAtStart,i=t.isAtEnd,o=this.props,a=o.applySafariLandscapeHack,s=o.labels,c=o.safariLandscapeHackOffset,u=this.getControlsClassName({isAtStart:r,isAtEnd:i}),l=a?{bottom:c}:{},d=this.state.isTransitioning;return e.createElement(O.a,null,e.createElement("div",{className:this.getMenuClassName()},e.createElement("div",{ref:function(e){n.controls=e},className:u,style:l},e.createElement("div",{ref:function(e){n.nextContainer=e}},e.createElement(Y.a,{allowTabNavigation:!i,atStart:r,labels:s,onClick:this.nextSlide,ref:function(e){n.nextControl=e},isTransitioning:d,type:"next"})),e.createElement("div",{ref:function(e){n.previousContainer=e}},e.createElement(Y.a,{allowTabNavigation:!r,atStart:r,labels:s,onClick:this.previousSlide,ref:function(e){n.previousControl=e},isTransitioning:d,type:"previous"})))))}},{key:"renderStart",value:function(){var t=this,n=this.props,r=n.authorName,i=n.avatar,o=n.description,a=n.items,s=n.labels,c=n.lessonNumber,u=n.showLessonCount,l=n.title,d=n.totalLessons,f=n.type,h=this.isAtStart();return e.createElement("div",{"aria-hidden":!h,className:this.getItemClassName(0),ref:function(e){t["item-".concat(0)]=e}},e.createElement("div",{className:"process__item-wrap"},e.createElement(X.a,{allowTabNavigation:h,authorName:r,avatar:i,description:o,labels:s,lessonNumber:c,onFullScreenChange:this.handleFullScreenChange,showLessonCount:u,steps:a.length,title:l,totalLessons:d,type:f})))}},{key:"renderItem",value:function(t,n){var r=this,i=this.props,o=i.items,a=i.labels,s=i.loadMedia,c=i.lessonNumber,u=_()(n),l=ne(this.props),d=u===l;return e.createElement("div",{"aria-hidden":!d,className:this.getItemClassName(u),key:"item-".concat(t.id),ref:function(e){r["item-".concat(u)]=e}},e.createElement("div",{className:"process__item-wrap"},e.createElement(K.c,{allowTabNavigation:d,description:t.description,id:t.id,index:u,key:t.id,labels:a,lessonNumber:c,loadMedia:s,media:t.media,onFullScreenChange:this.handleFullScreenChange,settings:t.settings,steps:o.length,title:t.title})))}},{key:"renderEnd",value:function(){var t=this,n=this.props,r=n.applySafariLandscapeHack,i=n.items,o=n.labels,a=n.lessonNumber,s=n.nextComponent,c=_()(i.length);return e.createElement("div",{"aria-hidden":!this.isAtEnd(),className:this.getItemClassName(c),ref:function(e){t["item-".concat(c)]=e}},e.createElement("div",{className:"process__item-wrap"},e.createElement($.a,{applySafariLandscapeHack:r,current:a,labels:o,onReplay:this.handleReplay},s)))}},{key:"preventFocusOnOverflowElements",value:function(){var e=Object(V.l)(this.isAtEnd());Object(V.i)(ee(),e),Object(V.i)(te(),e)}},{key:"focusNextElement",value:function(){var e=this.nextControl,t=this.previousControl;if(this.isAtEnd()){var n=ee();n?n.focus():t.focus()}else this.isAtStart()&&e.focus()}},{key:"updateFocusForActiveCard",value:function(){!Object(V.c)(this["item-".concat(ne(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 p()("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 p()("process__controls",{"process__controls--at-start":t,"process__controls--at-end":n})}},{key:"getItemClassName",value:function(e){var t=ne(this.props);return p()("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 p()("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()(L()(0,"activeIndex",n)));this.setState({resetContentFocus:!0}),Object(q.a)(Object(Z.e)({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,_()(L()(0,"activeIndex",r))),o=E()([y()(i),"id"],n);this.setState({resetContentFocus:!0}),Object(q.a)(Object(Z.d)({activeIndex:i,id:t,itemId:o}))}}},{key:"handleKeyDown",value:function(e){v()([[H.g,this.previousSlide],[H.i,this.nextSlide]])(e)}},{key:"slidePrep",value:function(){G.a.pause(),this.setState({xTouchDown:null,xTouchMove:null,yTouchDown:null,yTouchMove:null})}},{key:"handleReplay",value:function(){Object(q.a)(Object(Z.b)({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 x()(A()("activeIndex",this.props.lessonProgress))}},{key:"isAtEnd",value:function(){var e=this.props,t=e.items,n=e.lessonProgress;return M()("activeIndex",_()(t.length),n)}}],[{key:"propTypes",get:function(){return{authorName:B.a.string.isRequired,avatar:B.a.string.isRequired,description:B.a.string.isRequired,id:B.a.any.isRequired,items:B.a.array.isRequired,labels:B.a.object.isRequired,lessonNumber:B.a.number.isRequired,lessonProgress:B.a.object.isRequired,loadMedia:B.a.bool.isRequired,menuOpen:B.a.bool.isRequired,mobileMenuOpen:B.a.bool.isRequired,nextComponent:B.a.object,previousComponent:B.a.object,title:B.a.string.isRequired,totalLessons:B.a.number.isRequired,type:B.a.string.isRequired}}}]),r}(e.Component)}).call(this,n(0))},function(e,t,n){"use strict";(function(e){var r=n(4),i=n.n(r),o=(n(2659),n(553)),a=n(2),s=n.n(a),c=function(e){var t,n,r=e.current,o=e.labels,a=o.processComplete,s=o.processLessonName;return i()(t=i()(n="".concat(s," ")).call(n,r," ")).call(t,a)};t.a=function(t){var n=t.applySafariLandscapeHack,r=t.children,i=t.current,a=t.labels,u=t.onReplay,l=s()("process-end__footer",{"process-end__footer--mobile-safari-landscape":n});return e.createElement("div",{className:"process-end"},e.createElement("div",{className:"process-end__container"},e.createElement("div",{className:"process-end__message"},e.createElement("h1",{className:"process-end__text brand--ui"},c({current:i,labels:a})))),e.createElement(o.a,{onClick:u,text:a.processStartAgain}),e.createElement("div",{className:l},r))}}).call(this,n(0))},function(e,t,n){"use strict";(function(e){n.d(t,"a",function(){return _});var r=n(3),i=n.n(r),o=n(9),a=n(10),s=n(11),c=n(13),u=n(5),l=n(4),d=n.n(l),f=n(15),h=n.n(f),p=(n(2660),n(1)),m=n.n(p),v=n(73),g=n(291),y=n(42);function b(e){var t=function(){if("undefined"==typeof Reflect||!i.a)return!1;if(i.a.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=Object(u.a)(e);if(t){var o=Object(u.a)(this).constructor;n=i()(r,arguments,o)}else n=r.apply(this,arguments);return Object(c.a)(this,n)}}var _=function(t){Object(s.a)(r,t);var n=b(r);function r(){return Object(o.a)(this,r),n.apply(this,arguments)}return Object(a.a)(r,[{key:"render",value:function(){var t,n=this.props,r=n.allowTabNavigation,i=n.authorName,o=n.avatar,a=n.children,s=n.description,c=n.labels,u=n.lessonNumber,l=n.showLessonCount,f=n.title,p=n.totalLessons,m=c.lessonName,b=c.lessonPreposition;return e.createElement("div",{className:"process-header"},e.createElement("div",{className:"process-header__container"},e.createElement("div",{className:"process-header__limit"},e.createElement("div",{className:"process-header__row"},e.createElement("div",{className:"process-header__main"},e.createElement("div",{className:"process-header__top-wrap brand--afterBackground"},e.createElement(y.a,{className:"process-header__title brand--lhead",tagName:"h1",value:f}),o&&i?e.createElement("div",{className:"process-header__author brand--ui"},e.createElement("img",{src:Object(v.p)("".concat(o)),alt:""}),e.createElement("span",{className:"visually-hidden"},"by ",i),e.createElement("span",{"aria-hidden":"true"},i)):null,l&&function(t){var n,r,i,o=t.lessonName,a=t.lessonNumber,s=t.lessonPreposition,c=t.totalLessons;return e.createElement("div",{className:"process-header__counter brand--body"},e.createElement("div",{className:"process-header__count"},d()(n=d()(r=d()(i="".concat(o," ")).call(i,a," ")).call(r,s," ")).call(n,c)))}({lessonName:m,lessonNumber:u,lessonPreposition:b,totalLessons:p})),h()(t=e.Children).call(t,a,function(t){return t&&t.type===g.a?e.createElement("div",{className:"process-header__audio"},t):null}),e.createElement(y.a,{className:"process-header__description brand--lbody editor-text brand--linkColor",value:s,allowTabNavigation:r}))),a)))}}],[{key:"propTypes",get:function(){return{steps:m.a.number,avatar:m.a.string,authorName:m.a.string,title:m.a.string.isRequired,type:m.a.string.isRequired,description:m.a.string,allowTabNavigation:m.a.bool.isRequired}}}]),r}(e.Component)}).call(this,n(0))},function(e,t,n){"use strict";(function(e){var r=n(0),i=n(77),o=n(130),a=n(2),s=n.n(a),c=n(16),u=n.n(c),l=n(153),d=n.n(l),f=n(7),h=n.n(f),p=n(65),m=n.n(p),v=n(49),g=n.n(v),y=n(80),b=n.n(y),_=n(31),w=n.n(_),x=n(50),k=n.n(x),E=n(23),S=n.n(E),T=n(92),C=n.n(T),O=n(17),j=n.n(O),A=n(14),P=n.n(A),M=n(46),N=n.n(M),L=n(70),I=n.n(L),D=n(155),R=n.n(D),B=n(459),F=n.n(B),U=(n(2661),n(22)),q=n(460),z=n(208),H=n(73),V=n(1241),W=n(700),Y=n(2195),G=n(2336),K=n(2337),$=n(2339),X=n(154),Q="".concat(Object(U.c)("CDN_USER_CONTENT_URI"),"/assets/rise/assets/trophy.svg"),Z=h()(k.a,g()(P()("isComplete")),I.a),J=h()(C()(["learningPathComplete","lpHasFailedQuiz"]),P()("learningPathUpNext"));t.a=Object(i.b)(J,function(e,t){var n=t.course,r=n.riseComCourseId,i=n.riseComLearningPathId;return{fetchLpUpNext:h()(e,W.b,u()({courseId:r,learningPathId:i}))}})(function(t){var n=t.color,i=t.course,a=void 0===i?{}:i,c=t.courseProgress,l=void 0===c?{}:c,f=t.fetchLpUpNext,p=t.lessons,v=void 0===p?[]:p,g=t.learningPathComplete,y=t.lpHasFailedQuiz,_=l.lessons,x=void 0===_?{}:_,k=l.percentComplete,E=a.dueAt,T=a.certificateDownload,C=a.completionCelebration,O=a.lessonsOnly,A=void 0===O?[]:O,M=a.riseComLearningPathId,L=a.trackingCompletionPercentage,I=a.trackingQuizId,D=w()(L)&&w()(I),B=D?100===k:Object(H.i)(),U=A.length,W=Z(x);Object(r.useEffect)(function(){M&&f()},[]);var J=Object(r.useMemo)(function(){return B?a.completedAt?a.completedAt:new Date:null},[a.completedAt,B]),ee=Object(r.useMemo)(function(){return m()(d()(j()("type","quiz"),j()("id",I)),v)},[I,v]),te=Object(r.useMemo)(function(){return N()(void 0,"title",ee)},[ee]),ne=Object(r.useMemo)(function(){return S()(100,["settings","passingScore"],ee)},[ee]),re=S()(null,["lessons",I,"passed"],l),ie=Object(r.useMemo)(function(){return h()(b()(j()("percentComplete",100),P()("score"),u()(null)),S()({},["lessons",I]))(l)},[l,I]),oe=Object(X.d)(l,ee,I).outOfAttempts,ae=!I||re,se=s()("progress-summary",{"progress-summary__no-req":D});return e.createElement(F.a,{title:Object(q.a)(a.title+" - Progress Summary")},e.createElement("div",{className:se},B&&C&&ae&&e.createElement(K.a,null),e.createElement("header",{className:"progress-summary__header"},e.createElement("h1",{className:"progress-summary__header-title"},B&&!D&&ae?"Congratulations!":"Progress Summary"),D?e.createElement("div",{className:"progress-summary__lessons-completed"},"You've completed ",W," of ",U," lessons."):B?e.createElement("div",{className:"progress-summary__header-completion-date"},ae&&e.createElement("img",{className:"progress-summary__header-trophy",src:Q,alt:"trophy"}),R()(J).format("MMMM Do, YYYY")):e.createElement(G.a,{dueAt:E})),e.createElement("section",{className:"progress-summary__section"},!D&&B&&e.createElement("div",{className:"progress-summary__requirements-met"},"You've met all the requirements."),D?!M&&e.createElement(o.b,{to:"/",className:"progress-summary__start-over"},"Start Over",e.createElement("i",{className:"progress-summary__start-over-icon icon icon-reload"})):e.createElement("div",{className:"progress-summary__requirements"},e.createElement(Y.a,{percentComplete:k,trackingCompletionPercentage:L}),e.createElement(Y.b,{outOfAttempts:oe,quizPassed:re,quizPassingScore:ne,quizScore:ie,quizTitle:te,trackingQuizId:I})),(B||D)&&e.createElement("div",{className:"progress-summary__completion-controls"},e.createElement("button",{role:"link",className:"progress-summary__btn-back progress-summary__completion-control brand--background",onClick:z.d,type:"button"},"Back to my learning"),B&&(!M&&T||M&&g)&&T&&ae&&!y&&e.createElement("span",{className:"progress-summary__completion-control"},e.createElement(V.a,null)))),B&&!!M&&e.createElement($.a,{color:n,learningPathId:M})))})}).call(this,n(0))},function(e,t,n){"use strict";(function(e){var r=n(2),i=n.n(r);t.a=function(t){var n=t["aria-label"],r=t.title,o=t.desc,a=t.width,s=void 0===a?"26":a,c=t.height,u=void 0===c?"24":c,l=t.className,d=t.focusable,f=void 0===d?"false":d,h=t.role,p=void 0===h?"img":h;return e.createElement("svg",{viewBox:"0 0 26 24",width:s,height:u,"aria-label":n,className:i()("i i-checkedbox",l),focusable:f,role:p},r&&e.createElement("title",null,r),o&&e.createElement("desc",null,o),e.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"}))}}).call(this,n(0))},function(e,t,n){"use strict";var r=n(0),i=n.n(r),o=n(723);t.a=function(e){var t=e.dueAt;return t?i.a.createElement("div",{className:"progress-summary__header-due brand--color brand--border"},Object(o.a)(t)):null}},function(e,t,n){"use strict";(function(e){var r=n(3),i=n.n(r),o=n(9),a=n(10),s=n(6),c=n(11),u=n(13),l=n(5),d=n(4),f=n.n(d),h=n(2338),p=n.n(h);function m(e){var t=function(){if("undefined"==typeof Reflect||!i.a)return!1;if(i.a.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=Object(l.a)(e);if(t){var o=Object(l.a)(this).constructor;n=i()(r,arguments,o)}else n=r.apply(this,arguments);return Object(u.a)(this,n)}}var v=["#eb524d","#ffac02","#ffcc00","#28cea9","#4fbdf4","#6788e4"],g=function(t){Object(c.a)(r,t);var n=m(r);function r(){var e,t;Object(o.a)(this,r);for(var i=arguments.length,a=new Array(i),c=0;c<i;c++)a[c]=arguments[c];return(t=n.call.apply(n,f()(e=[this]).call(e,a))).state={run:!1,recycle:!0},t.startConfetti=t.startConfetti.bind(Object(s.a)(t)),t}return Object(a.a)(r,[{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 t=this.state,n=t.recycle,r=t.run;return e.createElement("div",{className:"progress-summary__confetti"},e.createElement(p.a,{width:window.innerWidth,height:window.innerHeight,recycle:n,run:r,numberOfPieces:500,gravity:.4,colors:v}))}}]),r}(e.Component);t.a=g}).call(this,n(0))},function(e,t,n){var r;"undefined"!=typeof self&&self,e.exports=(r=n(0),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),c=n.n(s);function u(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=this.getOptions(),s=a.colors,c=a.initialVelocityX,l=a.initialVelocityY;this.context=t,this.x=r,this.y=o,this.w=u(5,20),this.h=u(5,20),this.radius=u(5,10),this.vx=u(-c,c),this.vy=u(-l,0),this.shape=Math.floor(0+3*Math.random()),this.angle=u(0,360)*Math.PI/180,this.angularSpin=u(-.2,.2),this.color=s[Math.floor(Math.random()*s.length)],this.rotateY=u(0,1),this.rotationDirection=u(0,1)?i.Positive:i.Negative}var t,n;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 c=.1*this.rotationDirection;if(this.rotateY+=c,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),e}();function h(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var p=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),h(this,"canvas",void 0),h(this,"context",void 0),h(this,"getOptions",void 0),h(this,"x",0),h(this,"y",0),h(this,"w",0),h(this,"h",0),h(this,"lastNumberOfPieces",0),h(this,"tweenInitTime",Date.now()),h(this,"particles",[]),h(this,"particlesGenerated",0),h(this,"removeParticleAt",function(e){r.particles.splice(e,1)}),h(this,"getParticle",function(){var e=u(r.x,r.w+r.x),t=u(r.y,r.h+r.y);return new f(r.context,r.getOptions,e,t)}),h(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,c=o.numberOfPieces,u=o.debug,l=o.tweenFunction,d=o.tweenDuration;if(!a)return!1;var f=r.particles.length,h=s?f:n,p=Date.now();if(h<c){i!==c&&(r.tweenInitTime=p,r.lastNumberOfPieces=c);for(var m=r.tweenInitTime,v=l(p-m>d?d:Math.max(0,p-m),h,c,d),g=Math.round(v-h),y=0;y<g;y++)r.particles.push(r.getParticle());r.particlesGenerated+=g}return u&&(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&&h<=c?r.particles[n]=r.getParticle():r.removeParticleAt(n))}),f>0||h<c}),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:c.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 p(this.canvas,function(){return r.options}),this.options=n,this.update()}var t,n;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),e}();function _(e){return(_="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 w(){return(w=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 x(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function k(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?x(n,!0).forEach(function(t){O(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):x(n).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}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)}}function S(e){return(S=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function T(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function C(e,t){return(C=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function O(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 P});var j=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"!==_(t)&&"function"!=typeof t?T(e):t}(this,(n=S(t)).call.apply(n,[this,e].concat(o))),O(T(r),"canvas",a.a.createRef()),O(T(r),"confetti",void 0),r.canvas=e.canvasRef||a.a.createRef(),r}var n,r;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&&C(e,t)}(t,o.Component),n=t,(r=[{key:"componentDidMount",value:function(){if(this.canvas.current){var e=A(this.props)[0];this.confetti=new b(this.canvas.current,e)}}},{key:"componentWillReceiveProps",value:function(e){var t=A(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=function(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")}()}(A(this.props),2),t=e[0],n=e[1],r=k({zIndex:2,position:"absolute",pointerEvents:"none",top:0,left:0,bottom:0,right:0},n.style);return a.a.createElement("canvas",w({width:t.width,height:t.height,ref:this.canvas},n,{style:r}))}}])&&E(n.prototype,r),t}();function A(e){var t={},n={},r=[].concat(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")}()}(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,{}]}O(j,"defaultProps",k({},y)),O(j,"displayName","ReactConfetti");var P=a.a.forwardRef(function(e,t){return a.a.createElement(j,w({canvasRef:t},e))});t.default=P}]).default)},function(e,t,n){"use strict";(function(e){var r=n(19),i=n(4),o=n.n(i),a=n(0),s=n(77),c=n(155),u=n.n(c),l=n(203),d=n.n(l),f=n(100),h=n.n(f),p=n(7),m=n.n(p),v=n(97),g=n.n(v),y=n(119),b=n.n(y),_=n(65),w=n.n(_),x=n(76),k=n.n(x),E=n(423),S=n.n(E),T=n(23),C=n.n(T),O=n(92),j=n.n(O),A=n(14),P=n.n(A),M=n(46),N=n.n(M),L=n(17),I=n.n(L),D=n(168),R=n.n(D),B=n(129),F=n.n(B),U=n(205),q=n.n(U),z=n(2379),H=(n(2664),n(723)),V=n(22),W=n(665),Y=n(208),G=n(21),K=Object(V.c)("IMAGES_URI"),$=["cardImageKey","color","coverImageKey","progress","score","title"],X=function(e,t){return 1===e?t:o()(t).call(t,"s")},Q=C()([],["course","course","lessons"]),Z=function(e){return m()(k.a,F()(b()(I()("type","section"),R()(g()(d.a,e),"id"))),Q)},J=function(e){var t=Q(e),n=e.trackingQuizId,r=e.score;if(n&&t.length){var i=w()(I()("id",n),t),o=i.settings;return r<(o=void 0===o?{}:o).passingScore&&i}},ee=m()(w()(h()(I()("type","section"))),Q),te=q()(2,function(e){return m()(N()("","id"),w()(Boolean),S()([Z(e),J,ee]))}),ne=function(e){var t=u.a.duration(e),n=t.hours(),r=t.minutes(),i=n+X(n,"hr"),o="".concat(r,"min");return n>=100?"100+ hrs":n>0&&r>0?[i,o].join(" "):n>0?i:o},re=P()("learningPathUpNext");t.a=Object(s.b)(re)(function(t){var n,i=t.color,s=t.learningPathComplete,c=t.learningPathId,u=t.isSuccess,l=t.nextCourse,d=t.nextCourse,f=(d=void 0===d?{}:d).dueAt,h=d.courseId,p=void 0===h?"":h,m=d.lessonCount,v=d.lessonsCompleted,g=void 0===v?[]:v,y=d.sourceType,b=d.timeToComplete,_=Object(a.useMemo)(function(){return te(g,l)},[l,g]);Object(G.isNil)(l.color)&&(l.color=i);var w=j()($,l),x=Object(a.useCallback)(function(){var e;"PACKAGE"===y?(top.sessionStorage.setItem("upNextCourseId",p),top.location.assign("/learning-path/".concat(c))):Object(Y.f)(o()(e="".concat(p,"/lessons/")).call(e,_))},[p,c,_,y]);return u&&!s&&e.createElement("div",{className:"progress-summary__lp-next"},e.createElement("div",{className:"progress-summary__lp-next-inner"},e.createElement("div",{className:"progress-summary__lp-next-label"},"Next up ",e.createElement(W.a,{className:"progress-summary__lp-next-label-icon",decorative:!0})),e.createElement("div",{className:"progress-summary__lp-next-card"},e.createElement(z.a,Object(r.a)({imagesUri:K,labelCount:o()(n="".concat(m," ")).call(n,X(m,"lesson")),labelDue:Object(H.a)(f),labelDuration:ne(b),noFavoriteBtn:!0,noCertDownload:!0,onClick:x},w)))))})}).call(this,n(0))},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},c=n(2),u=["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,c.getLineHeight)(e),n=t*this.props.lines,r=(0,c.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,h=d.containerHeight,p=d.lineHeight,m=(0,c.hexToRGB)(n);return s.default.createElement("div",{style:{maxHeight:h+"px",overflow:"hidden",position:"relative"}},s.default.createElement("div",i({ref:this.setContextRef},(0,c.omit)(u,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:p+"px"}},a)))}}]),t}();l.displayName="LineClamp",t.default=l},function(e,t){e.exports=n(0)},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),c=t.hexToG=a(2,4),u=t.hexToB=a(4,6),l=(t.hexToRGB=function(e){return[s(e),c(e),u(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},{})}}])},function(e,t,n){var r=n(312)(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},function(e,t,n){var r=n(41),i=n(312),o=n(2183),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},function(e,t,n){var r=n(2184)(function(e,t,n){return e(n)?t(n):n});e.exports=r},function(e,t,n){var r=n(312)(function(e,t){return e*t});e.exports=r},function(e,t,n){var r=n(1227),i=n(2666),o=n(2667),a=n(2672);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)))}},function(e,t,n){var r=n(256),i=n(312)(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},function(e,t,n){var r=n(520),i=n(1228),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},function(e,t,n){var r=n(312),i=n(2270),o=n(2271),a=n(2185),s=n(2675),c=n(2183),u=n(1229),l=r(i(["fantasy-land/map","map"],s,function(e,t){switch(Object.prototype.toString.call(t)){case"[object Function]":return c(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},{},u(t));default:return o(e,t)}}));e.exports=l},function(e,t,n){var r=n(312)(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},function(e,t,n){"use strict";(function(e){var r=n(52),i=n.n(r),o=n(36),a=n.n(o),s=n(53),c=n.n(s),u=n(35),l=n.n(u),d=n(38),f=n.n(d),h=n(8),p=n(127),m=n.n(p),v=n(269),g=n.n(v),y=n(91),b=n.n(y),_=n(57),w=n.n(_),x=n(150),k=n(458),E=n(2351),S=n(73);function T(e,t){var n=i()(e);if(a.a){var r=a()(e);t&&(r=c()(r).call(r,function(t){return l()(e,t).enumerable})),n.push.apply(n,r)}return n}var C=function(e){var t=e.id,n=e.settings,r=e.lessonProgress,i=void 0===r?{}:r;return w()(b()(["passingScore"]),function(e){var t=e.id,n=e.passingScore;return g()(m.a,Object(S.g)({id:t,passingScore:n}))}(function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?T(Object(n),!0).forEach(function(t){Object(h.a)(e,t,n[t])}):f.a?Object.defineProperties(e,f()(n)):T(Object(n)).forEach(function(t){Object.defineProperty(e,t,l()(n,t))})}return e}({id:t},i)),n)};t.a=function(t){var n=t.authorName,r=t.avatar,i=t.color,o=t.continueComponent,a=t.data,s=a.description,c=a.id,u=a.items,l=a.settings,d=a.title,f=a.type,h=t.enableVideoPlaybackSpeed,p=t.isLesson,m=t.labels,v=t.lessonNumber,g=t.lessonProgress,y=t.menuButtons,b=t.menuOpen,_=t.mobileMenuOpen,w=t.mode,S=t.nextComponent,T=t.nextLesson,O=t.nextLessonRestrictions,j=t.onNextClick,A=t.prefersKeyboardNavigation,P=t.previousComponent,M=t.showLessonCount,N=t.showNavigationButtons,L=t.sidebarEnabled,I=t.totalLessons;return e.createElement(x.c,{type:f},P,e.createElement(x.b,{type:f},y,e.createElement(x.a,{type:f,items:u},e.createElement(k.b,{id:c,lessonProgress:g,menuOpen:b,mobileMenuOpen:_,type:"quiz"}),e.createElement(E.a,{authorName:n,avatar:r,color:i,currentPassingScore:l.passingScore,description:s,enableVideoPlaybackSpeed:h,id:c,isLesson:p,items:u,labels:m,lessonNumber:v,lessonProgress:g,menuOpen:b,mobileMenuOpen:_,mode:w,nextComponent:o||S,nextLesson:T,nextLessonRestrictions:O,onNextClick:j,prefersKeyboardNavigation:A,previousComponent:P,settings:C({id:c,lessonProgress:g,settings:l}),showLessonCount:M,showNavigationButtons:N,sidebarEnabled:L,title:d,totalLessons:I}))))}}).call(this,n(0))},function(e,t,n){"use strict";(function(e){var r=n(314),i=n(23),o=n.n(i),a=n(2352),s=n(2354),c=n(2357),u=n(73),l=n(2358),d=n(2359),f=n(383),h=n(2360),p=n(2361),m=n(67),v=o()(0,["lessonProgress","activeIndex"]),g=o()(0,["lessonProgress","retryAttempts"]),y=function(t){return function(n){var r=t.color,i=t.currentPassingScore,o=t.id,a=t.labels,c=t.lessonNumber,u=t.lessonProgress,l=t.mode,d=t.nextComponent,f=t.nextLesson,h=t.nextLessonRestrictions,p=t.onNextClick,m=t.settings,y=m.continueType,b=m.passingScore,_=m.retryCount,w=t.showNavigationButtons,x=t.sidebarEnabled,k=n.length+1===v(t);return e.createElement(s.a,{allowTabNavigation:k,color:r,continueType:y,current:c,currentPassingScore:i,id:o,isAtEnd:k,labels:a,length:n.length,lessonProgress:u,mode:l,nextComponent:d,nextLesson:f,nextLessonRestrictions:h,onNextClick:p,passingScore:b,retryAttempts:g({lessonProgress:u}),retryCount:Number(_),showNavigationButtons:w,sidebarEnabled:x})}},b=function(t){return function(n){var r=t.authorName,i=t.avatar,o=t.description,a=t.id,s=t.isLesson,u=t.labels,l=t.lessonNumber,d=t.lessonProgress,f=t.showLessonCount,h=t.title,p=t.totalLessons,m=0===v(t);return e.createElement(c.a,{allowTabNavigation:m,authorName:r,avatar:i,description:o,id:a,isLesson:s,items:n,labels:u,lessonNumber:l,lessonProgress:d,showLessonCount:f,title:h,totalLessons:p})}},_={setFillInText:l.a,setMatchItems:d.a,setNextIndex:f.c,setSelectedIndex:h.a,submitAnswer:f.d,toggleSelectedIndex:p.a,updateLessonProgress:m.g},w=Object(r.b)(null,_);t.a=w(function(t){var n=t.color,r=t.id,i=t.items,o=t.labels,s=t.lessonProgress,c=t.previousComponent,l=t.setFillInText,d=t.setMatchItems,f=t.setNextIndex,h=t.setSelectedIndex,p=t.settings,m=t.submitAnswer,v=t.title,g=t.toggleSelectedIndex,_=t.updateLessonProgress;return e.createElement(a.a,{color:n,id:r,items:i,labels:o,onChoiceSelect:h,onFillInChange:l,onMatchSet:d,onResponseToggle:g,onSetIndex:f,onSubmit:m,previousComponent:c,progress:s,reportAnswer:u.o,quizEnd:y(t),quizHeader:b(t),settings:p,title:v,updateProgress:_})})}).call(this,n(0))},function(e,t,n){"use strict";(function(e){n.d(t,"a",function(){return B});var r=n(3),i=n.n(r),o=n(52),a=n.n(o),s=n(36),c=n.n(s),u=n(53),l=n.n(u),d=n(35),f=n.n(d),h=n(38),p=n.n(h),m=n(8),v=n(9),g=n(10),y=n(11),b=n(13),_=n(5),w=n(41),x=n.n(w),k=n(15),E=n.n(k),S=(n(2708),n(2)),T=n.n(S),C=n(23),O=n.n(C),j=n(388),A=n(114),P=n(2353);function M(e,t){var n=a()(e);if(c.a){var r=c()(e);t&&(r=l()(r).call(r,function(t){return f()(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?M(Object(n),!0).forEach(function(t){Object(m.a)(e,t,n[t])}):p.a?Object.defineProperties(e,p()(n)):M(Object(n)).forEach(function(t){Object.defineProperty(e,t,f()(n,t))})}return e}function L(e){var t=function(){if("undefined"==typeof Reflect||!i.a)return!1;if(i.a.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=Object(_.a)(e);if(t){var o=Object(_.a)(this).constructor;n=i()(r,arguments,o)}else n=r.apply(this,arguments);return Object(b.a)(this,n)}}var I=O()(0,["progress","activeIndex"]),D=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})}},R=O()(0,["progress","retryAttempts"]),B=function(t){Object(y.a)(r,t);var n=L(r);function r(e){var t;Object(v.a)(this,r),t=n.call(this,e);var i=e.updateProgress,o=Object(j.g)(N(N({},e),{},{updateProgress:i})),a=N(N({},e),o);return t.state={items:Object(j.c)(a),progress:a.progress},t}return Object(g.a)(r,[{key:"componentWillReceiveProps",value:function(e){var t=this.props.updateProgress;if(R(this.props)!==R(e)){var n=Object(j.g)(N(N({},e),{},{updateProgress:t})),r=N(N({},e),n);this.setState({items:Object(j.c)(r),progress:r.progress})}else{var i=Object(j.a)(N(N({},e),{},{currentItems:this.state.items})),o=i.items,a=i.progress,s=Object(j.h)(this.state.items,o);this.setState({items:s,progress:a})}}},{key:"render",value:function(){var t=this.props,n=t.labels.quizLandmark,r=t.quizEnd,i=t.quizHeader,o=this.state.items,a=I(this.state),s=function(e){return{start:e<2?0:e-2,end:e+2}}(a),c=s.start,u=s.end,l=x()(o).call(o,c,u);return e.createElement("section",{"aria-label":n,className:"quiz","data-quiz":!0},e.createElement("div",{className:"quiz__wrap"},i&&a<2?this.renderStart():null,E()(l).call(l,this.renderItem.bind(this,c)),r&&this.renderEnd()))}},{key:"renderEnd",value:function(){var t=this.props.quizEnd,n=this.state.items,r=I(this.state),i=D(r),o=n.length+1;return e.createElement("div",{className:i(o)},e.createElement("div",{className:"quiz__item-wrap"},t(n)))}},{key:"renderItem",value:function(t,n,r){var i=this.props,o=i.color,a=i.enableVideoPlaybackSpeed,s=i.id,c=i.isQuestionBankQuiz,u=i.labels,l=i.reportAnswer,d=i.onChoiceSelect,f=i.onFillInChange,h=i.onMatchSet,p=i.onResponseToggle,m=i.onSetIndex,v=i.onSubmit,g=i.previousComponent,y=i.prefersKeyboardNavigation,b=i.progress,_=i.quizHeader,w=i.settings,x=i.title,k=this.state.items,E=I(this.state),S=D(E);return e.createElement(P.a,{color:o,enableVideoPlaybackSpeed:a,getClassName:S,hasStart:!!_,id:s,index:r+t,isCard:!0,isQuestionBankQuiz:c,item:n,items:k,key:"item-".concat(n.id),labels:u,onChoiceSelect:d,onFillInChange:f,onMatchSet:h,onResponseToggle:p,prefersKeyboardNavigation:y,progress:b,quizTop:g?73:void 0,reportAnswer:l,retryAttempts:R({progress:b}),scrollId:"page-wrap",settings:w,setNextIndex:m,submitAction:v,title:x})}},{key:"renderStart",value:function(){var t=this.props.quizHeader,n=this.state.items,r=I(this.state),i=D(r);return e.createElement("div",{className:i(0)},e.createElement("div",{className:"quiz__item-wrap"},t(n)))}}],[{key:"defaultProps",get:function(){return{updateProgress:A.b}}}]),r}(e.Component)}).call(this,n(0))},function(e,t,n){"use strict";n.d(t,"a",function(){return se});var r=n(3),i=n.n(r),o=n(9),a=n(10),s=n(6),c=n(11),u=n(13),l=n(5),d=(n(2711),n(2)),f=n.n(d),h=n(153),p=n.n(h),m=n(7),v=n.n(m),g=n(54),y=n.n(g),b=n(97),_=n.n(b),w=n(37),x=n.n(w),k=n(116),E=n.n(k),S=n(82),T=n.n(S),C=n(50),O=n.n(C),j=n(23),A=n.n(j),P=n(14),M=n.n(P),N=n(46),L=n.n(N),I=n(1),D=n.n(I),R=n(0),B=n.n(R),F=n(241),U=n.n(F),q=n(371),z=n(42),H=n(164),V=n(40),W=n(137),Y=n(171),G=n(194),K=n(388);function $(e){var t=function(){if("undefined"==typeof Reflect||!i.a)return!1;if(i.a.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=Object(l.a)(e);if(t){var o=Object(l.a)(this).constructor;n=i()(r,arguments,o)}else n=r.apply(this,arguments);return Object(u.a)(this,n)}}var X=W.b.FILL_IN_THE_BLANK,Q=W.b.MATCHING,Z=W.b.MULTIPLE_CHOICE,J=W.b.MULTIPLE_RESPONSE,ee=q.a.ANY,te=q.a.CHOICE,ne=q.a.CORRECT_INCORRECT,re=y()("quiz-item__"),ie=A()(0,["progress","activeIndex"]),oe=v()(O.a,T.a,L()({},"matches")),ae={DONE:0,START:1,END:2},se=function(e){Object(c.a)(n,e);var t=$(n);function n(e){var r;return Object(o.a)(this,n),(r=t.call(this,e)).onChoiceSelect=r.onChoiceSelect.bind(Object(s.a)(r)),r.onFillInChange=r.onFillInChange.bind(Object(s.a)(r)),r.onAnimationStart=r.onAnimate.bind(Object(s.a)(r),ae.START),r.onAnimationEnd=r.onAnimate.bind(Object(s.a)(r),ae.END),r.onMatchSet=r.onMatchSet.bind(Object(s.a)(r)),r.onNextClick=r.onNextClick.bind(Object(s.a)(r)),r.onResponseToggle=r.onResponseToggle.bind(Object(s.a)(r)),r.onSubmit=r.onSubmit.bind(Object(s.a)(r)),r.state={startTime:Date.now(),matches:{},animating:{}},r}return Object(a.a)(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 X:return Object(H.b)(M()("text",t));case Q:return oe(t)===O()(M()("answers",n));case J:return v()(p()(H.b,H.c),M()("selectedIndices"))(t);case Z:default:return Object(H.b)(M()("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 te:return A()("",[n,"feedback"],i);case ne:return t?a:s;case ee:default:return o}}},{key:"getIndex",value:function(){return this.props.hasStart?E()(this.props.index):this.props.index}},{key:"getIsComplete",value:function(e){var t=e.itemProgress;return L()(!1,"isComplete",t)}},{key:"getIsDoneCard",value:function(){return this.getIndex()<ie(this.props)}},{key:"getIsCorrect",value:function(e){var t=e.itemProgress,n=this.props.item;switch(n.type){case X:return Object(K.b)({item:n,itemProgress:t});case Q:return Object(K.f)({itemProgress:t});case J:return Object(K.e)({item:n,itemProgress:t});case Z:default:return Object(K.d)({item:n,itemProgress:t})}}},{key:"getItemProgress",value:function(e){var t=e.props;return A()({},["items",t.item.id],t.progress)}},{key:"hasNoBorder",value:function(){return _()(this.props.item.type,[X,Q])}},{key:"isNewlyActive",value:function(e){var t=e.prevProps,n=ie(this.props),r=ie(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=ie(this.props),c=i||3;V.a.pause(),F.Events.scrollEvent.register("end",function(){F.Events.scrollEvent.remove("end"),e(t),a({activeIndex:E()(s),id:r})}),U.a.animateScroll.scrollTo(c,{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(){if(n){var e=t.props,o=e.id,a=e.item,s=e.reportAnswer,c=e.retryAttempts,u=e.settings,l=e.submitAction,d=e.title,f=t.state.startTime,h=a.id,p=u.passingScore,m=u.revealAnswers,v=u.passToContinue,g={startTime:f,stopTime:Date.now()},y=L()(-1,"retryCount",u),b=parseInt(y,10),_=parseInt(c,10),w=x()(b,_);s({duration:g,id:o,isCorrect:r,item:a,itemProgress:i,retryAttempts:c,title:d});var k={finalRetryAttempt:w,id:o,isCorrect:r,itemId:h,passingScore:p,passToContinue:v,revealAnswers:m};if(m)return l(k);t.onNextClick(l,k)}}}},{key:"onAnimate",value:function(e){var t=this;this.setState({animating:e},function(){e===ae.END&&t.setState({animating:ae.DONE})})}},{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===ie(this.props),r=this.getItemProgress({props:this.props}),i=this.getIsComplete({itemProgress:r}),o=this.getIsDoneCard(),a=f()(e(t),{"animation--start":o&&this.state.animating===ae.START,"animation--end":o&&this.state.animating===ae.END}),s=o?this.onAnimationStart:void 0,c=o?this.onAnimationEnd:void 0;return B.a.createElement("div",{className:a,onAnimationStart:s,onAnimationEnd:c},B.a.createElement("div",{className:re("card-wrap")},B.a.createElement(Y.b,{isActive:n,isComplete:i},B.a.createElement("div",{style:n||i?void 0:{display:"none"}},this.renderItem()))))}},{key:"renderDefault",value:function(){return B.a.createElement("div",{className:re("wrap")},this.renderItem())}},{key:"renderFeedback",value:function(e){var t=e.feedbackValue,n=e.isActive,r=e.isComplete;return B.a.createElement(z.a,{className:"quiz-card__feedback-text brand--body brand--linkColor",allowTabNavigation:r&&n,value:t})}},{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,c=t.onTakeAgain,u=t.progress,l=t.settings,d=t.showNextButton,h=s.feedbackGroup,p=s.quizAcceptableResponses,m=s.quizAnswerPlaceholder,v=s.quizCorrect,g=s.quizIncorrect,y=s.quizNext,b=s.quizRestart,_=s.quizQuestion,w=s.quizSubmit,x=o.id,k=o.media,E=o.title,S=l.revealAnswers,T=void 0!==S&&S,C=this.getIndex(),j=C===ie(this.props),A=this.getItemProgress({props:this.props}),P=this.getIsComplete({itemProgress:A}),N=this.getIsCorrect({itemProgress:A}),L=P&&T,I=!P&&this.getCanSubmit({itemProgress:A}),D=this.onSubmit({canSubmit:I,isCorrect:N,itemProgress:A}),F=M()("selectedIndex",A),U=this.getFeedback({isCorrect:N,selectedIndex:F}),q={feedbackValue:U,isActive:j,isComplete:P},z="q-".concat(x),H=f()("quiz-card__retake-container",{"quiz-card__retake-container--active":P}),V=f()("quiz-card__retake","brand--hoverColor",{"quiz-card__retake--active":P});return B.a.createElement(R.Fragment,null,B.a.createElement(Y.f,{isActive:j,num:r?C:C+1,quizQuestion:_,total:O()(a)}),B.a.createElement(Y.g,{allowTabNavigation:j,id:z,value:E}),B.a.createElement(Y.e,{allowTabNavigation:j,enableVideoPlaybackSpeed:n,index:String(C),labels:s,media:k,opts:l}),B.a.createElement(Y.d,{hasNoBorder:this.hasNoBorder()},this.renderType({canSubmit:I,isActive:j,isComplete:P,isCorrect:N,itemProgress:A,onSubmit:D,revealAnswers:T,questionHtmlId:z,quizAcceptableResponses:p,quizAnswerPlaceholder:m})),B.a.createElement(Y.a,{allowTabNavigation:j,canProceed:L,canSubmit:I,onSubmit:D,quizSubmit:w}),B.a.createElement(Y.c,{allowTabNavigation:j,canProceed:L,feedbackRef:function(t){e.feedback=t},feedbackGroup:h,hasFeedback:!!U,isCorrect:N,onNext:d?this.onNextFeedbackClick.bind(this,j):null,quizCorrect:v,quizIncorrect:g,quizNext:100===u.percentComplete&&i?b:y,renderText:this.renderFeedback.bind(this,q)}),c&&B.a.createElement("div",{className:H},B.a.createElement("button",{className:V,onClick:c,type:"button"},B.a.createElement("div",{className:"quiz-card__retake-content"},B.a.createElement("div",{className:"quiz-card__retake-text brand--ui"},"TAKE AGAIN"),B.a.createElement("i",{className:"quiz-card__retake-icon icon icon-reload"})))))}},{key:"renderMCOptionText",value:function(e,t){var n=t.title;return B.a.createElement(z.a,{allowTabNavigation:e,className:"quiz-multiple-choice-option__label brand--body",value:n})}},{key:"renderMROptionText",value:function(e,t){var n=t.title;return B.a.createElement(z.a,{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,c=e.questionHtmlId,u=e.quizAcceptableResponses,l=e.quizAnswerPlaceholder,d=this.props,f=d.color,h=d.item,p=d.prefersKeyboardNavigation,m=h.answers,v=h.correct,g=h.corrects,y=h.matchIndices,b=h.titleIndices,_=n&&!r;switch(h.type){case X:return B.a.createElement(G.a,{allowTabNavigation:n,isComplete:r,isCorrect:i,onChange:this.onFillInChange,onEnterToSubmit:a,options:m,revealAnswers:s,questionHtmlId:c,quizAcceptableResponses:u,quizAnswerPlaceholder:l,value:L()("","text",o)});case Q:return B.a.createElement(G.b,{allowTabNavigation:_,answers:m,canSubmit:t,isActive:n,isComplete:r,matches:L()({},"matches",o),matchIndices:y,onEnterToSubmit:a,onMatch:this.onMatchSet,prefersKeyboardNavigation:p,revealAnswers:s,titleIndices:b});case J:return B.a.createElement(G.d,{allowTabNavigation:n,correctIds:g,isComplete:r,onChange:this.onResponseToggle,onEnterToSubmit:a,options:m,prefersKeyboardNavigation:p,renderOptionText:this.renderMROptionText.bind(this,n),revealAnswers:s,selectedIndices:M()("selectedIndices",o)});case Z:default:return B.a.createElement(G.c,{allowTabNavigation:_,color:f,correctId:v,isComplete:r,onChange:this.onChoiceSelect,onEnterToSubmit:a,options:m,prefersKeyboardNavigation:p,questionHtmlId:c,renderOptionText:this.renderMCOptionText.bind(this,n),revealAnswers:s,selectedIndex:M()("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&&o;if(this.getIndex()===ie(this.props)&&a){var s=this.getItemProgress({props:n}),c=this.getIsComplete({itemProgress:s}),u=this.getItemProgress({props:this.props}),l=this.getIsComplete({itemProgress:u});!c&&l&&setTimeout(function(){var e=t.feedback,n=e.offsetHeight+e.offsetTop;U.a.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;U.a.animateScroll.scrollTo(r,{containerId:n||"page-wrap",smooth:!0})}}],[{key:"propTypes",get:function(){return{enableVideoPlaybackSpeed:D.a.bool,getClassName:D.a.func,hasStart:D.a.bool,id:D.a.string.isRequired,index:D.a.number,item:D.a.object.isRequired,items:D.a.arrayOf(D.a.object),labels:D.a.object,onChoiceSelect:D.a.func,onFillInChange:D.a.func,onMatchSet:D.a.func,onResponseToggle:D.a.func,prefersKeyboardNavigation:D.a.bool,progress:D.a.object,quizTop:D.a.number,reportAnswer:D.a.func,retryAttempts:D.a.number,scrollId:D.a.string,setNextIndex:D.a.func,settings:D.a.object,showNextButton:D.a.bool,submitAction:D.a.func,title:D.a.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:!0},showNextButton:!0,submitAction:function(){return[]}}}}]),n}(B.a.Component)},function(e,t,n){"use strict";(function(e){var r=n(101),i=(n(2712),n(2355)),o=["nextComponent"];t.a=function(t){var n=t.nextComponent,a=Object(r.a)(t,o);return e.createElement("div",{"aria-hidden":!a.allowTabNavigation,className:"quiz-end"},e.createElement("div",{className:"quiz-end__container"},e.createElement(i.a,a)),e.createElement("div",{className:"quiz-end__footer"},a.isAtEnd&&n))}}).call(this,n(0))},function(e,t,n){"use strict";n.d(t,"a",function(){return A});var r=n(3),i=n.n(r),o=n(9),a=n(10),s=n(6),c=n(11),u=n(13),l=n(5),d=n(4),f=n.n(d),h=(n(2713),n(0)),p=n.n(h),m=n(2),v=n.n(m),g=n(550),y=n.n(g),b=n(90),_=n(383),w=n(73),x=n(22),k=n(20),E=n(154),S=n(581),T=n(692),C=n(2356),O=n(553);function j(e){var t=function(){if("undefined"==typeof Reflect||!i.a)return!1;if(i.a.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=Object(l.a)(e);if(t){var o=Object(l.a)(this).constructor;n=i()(r,arguments,o)}else n=r.apply(this,arguments);return Object(u.a)(this,n)}}var A=function(e){Object(c.a)(n,e);var t=j(n);function n(){var e,r;Object(o.a)(this,n);for(var i=arguments.length,a=new Array(i),c=0;c<i;c++)a[c]=arguments[c];return(r=t.call.apply(t,f()(e=[this]).call(e,a))).animationTimeout=null,r.state={showFooter:!1},r.headingRef=Object(h.createRef)(),r.showFooter=r.showFooter.bind(Object(s.a)(r)),r.onTryAgainFocus=r.onTryAgainFocus.bind(Object(s.a)(r)),r}return Object(a.a)(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&&y()(this.headingRef.current.focus)&&this.headingRef.current.focus()}},{key:"showFooter",value:function(){var e=this;this.animationTimeout=setTimeout(function(){e.setState({showFooter:!0})},500)}},{key:"onTryAgainFocus",value:function(){this.animationTimeout&&(clearTimeout(this.animationTimeout),this.animationTimeout=null),this.setState({showFooter:!0})}},{key:"render",value:function(){var e,t,n=this.props,r=n.allowTabNavigation,i=n.color,o=n.continueType,a=n.currentPassingScore,s=n.id,c=n.isAtEnd,u=n.labels,l=n.lessonProgress,d=l.reportResults,h=l.score,m=n.mode,v=n.nextLesson,g=n.nextLessonRestrictions,y=n.onNextClick,b=n.passingScore,_=n.retryAttempts,w=n.retryCount,x=n.showNavigationButtons,E=n.sidebarEnabled,S=this.state.showFooter,T=u.quizPassing,O=u.quizResults,j=u.quizScore,A=h>=b,M=f()(e="".concat(j," ")).call(e,h,"%");return p.a.createElement("div",{className:P({isAtEnd:c})},p.a.createElement("div",{className:"quiz-results__header"},p.a.createElement("h1",{className:"quiz-results__label noOutline",ref:this.headingRef,tabIndex:k.h},O),p.a.createElement("div",{className:"quiz-results__passing"},p.a.createElement("div",{className:"odometer__passlabel brand--ui"},T),p.a.createElement("div",{className:"odometer__passpercent brand--ui"},"".concat(b,"%")))),p.a.createElement("div",{className:"visually-hidden"},p.a.createElement("div",null,M),p.a.createElement("div",null,"".concat(A?"Passed":"Failed")),p.a.createElement("div",null,f()(t="".concat(T," ")).call(t,b,"%"))),p.a.createElement("div",{"aria-hidden":"true",className:"quiz-results__results"},p.a.createElement(C.a,{atEnd:c,color:i,complete:d,isPass:A,onAnimationDone:this.showFooter,quizScore:j,quizPassing:T,score:h,scoreLabel:M,passingScore:b})),L({allowTabNavigation:r,continueType:o,currentPassingScore:a,id:s,isAtEnd:c,labels:u,mode:m,nextLesson:v,nextLessonRestrictions:g,onNextClick:y,onTryAgainFocus:this.onTryAgainFocus,retryAttempts:_,retryCount:w,showFooter:S,showNavigationButtons:x,sidebarEnabled:E}))}}]),n}(p.a.Component),P=function(e){var t=e.isAtEnd;return v()("quiz-results",{"quiz-results--active":t})},M=function(e){var t=e.isAtEnd,n=e.showFooter;return v()("quiz-results__footer",{"quiz-results__footer--active":t,"quiz-results__footer--hidden":!n})},N=function(e){var t=e.currentPassingScore,n=e.id;return function(){return Object(b.a)(Object(_.b)({currentPassingScore:t,id:n}))}},L=function(e){var t=e.allowTabNavigation,n=e.continueType,r=e.currentPassingScore,i=e.id,o=e.isAtEnd,a=e.labels,s=e.mode,c=e.nextLesson,u=e.nextLessonRestrictions,l=e.onNextClick,d=e.onTryAgainFocus,f=e.retryAttempts,h=e.retryCount,m=e.showFooter,v=e.showNavigationButtons,g=e.sidebarEnabled,y=u.isRestricted,b=a.courseFinish,_=void 0===b?"Finish":b,k=a.quizContinue,C=a.quizTakeAgain,j="continue"===n&&"preview-lesson"!==s&&!(g&&!v),A=j&&x.e&&!c&&v&&!Object(w.j)();return p.a.createElement("div",{className:M({isAtEnd:o,showFooter:m})},(-1===h||f<h)&&p.a.createElement(O.a,{allowTabNavigation:t,onClick:N({currentPassingScore:r,id:i}),onFocus:d,text:C}),j&&y&&c&&p.a.createElement(T.a,{bgType:"transparent",text:Object(E.a)({labels:a,restrictions:u})}),j&&!y&&c&&p.a.createElement(S.a,{href:"/lessons/".concat(encodeURIComponent(c)),onClick:l,text:k}),A&&p.a.createElement(S.a,{href:"/lessons/progress-summary",onClick:l,text:_}))}},function(e,t,n){"use strict";(function(e){n.d(t,"a",function(){return v});var r=n(3),i=n.n(r),o=n(9),a=n(10),s=n(11),c=n(13),u=n(5),l=n(582),d=n.n(l),f=(n(2714),n(2)),h=n.n(f),p=n(114);function m(e){var t=function(){if("undefined"==typeof Reflect||!i.a)return!1;if(i.a.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=Object(u.a)(e);if(t){var o=Object(u.a)(this).constructor;n=i()(r,arguments,o)}else n=r.apply(this,arguments);return Object(c.a)(this,n)}}var v=function(t){Object(s.a)(r,t);var n=m(r);function r(e){var t;return Object(o.a)(this,r),(t=n.call(this,e)).animationTimeout=null,t.state={animated:!1,counted:!1},t}return Object(a.a)(r,[{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 t=this,n=this.props,r=n.canvasHeight,i=n.canvasWidth,o=n.passingScore,a=n.quizPassing,s=n.quizScore,c=n.scoreLabel,u=this.state,l=u.pass,d=u.counted,f=h()("odometer__score brand--ui",{"odometer__score--pass":l,"odometer__score--fail":!1===l}),p=h()("odometer__score-percent",{"odometer__score-percent--hidden":d});return e.createElement("div",{className:"odometer"},e.createElement("canvas",{className:"odometer__canvas",id:"odometer",width:i,height:r}),e.createElement("canvas",{className:"odometer__fail",id:"fail",width:"170",height:"170"}),e.createElement("canvas",{className:"odometer__pass",id:"pass",width:"170",height:"170"}),e.createElement("div",{className:f},e.createElement("div",{className:"odometer__score-label"},s),e.createElement("div",{className:"odometer__pass-label brand--color"},c),e.createElement("div",{className:"odometer__fail-label"},c),e.createElement("div",{ref:function(e){t.scorePercent=e},className:p})),e.createElement("div",{ref:function(e){t.passmark=e},className:"odometer__passmark"},e.createElement("div",{className:"odometer__passlabel brand--ui"},a),e.createElement("div",{className:"odometer__passpercent brand--ui"},"".concat(o,"%"))))}},{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,n=t.passingScore,i=t.atEnd,o=t.canvasWidth,a=t.canvasHeight,s=t.color,c=document.getElementById("odometer").getContext("2d"),u=new Image,l=Math.PI/.8,f=.25*Math.PI;u.src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAcAAAAHCAYAAADEUlfTAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyhpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuNi1jMTExIDc5LjE1ODMyNSwgMjAxNS8wOS8xMC0wMToxMDoyMCAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RSZWY9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZVJlZiMiIHhtcDpDcmVhdG9yVG9vbD0iQWRvYmUgUGhvdG9zaG9wIENDIDIwMTUgKE1hY2ludG9zaCkiIHhtcE1NOkluc3RhbmNlSUQ9InhtcC5paWQ6MDFBQzM3NTBGMDA2MTFFNThENDVCMjlGQjVCNUU3OTQiIHhtcE1NOkRvY3VtZW50SUQ9InhtcC5kaWQ6MDFBQzM3NTFGMDA2MTFFNThENDVCMjlGQjVCNUU3OTQiPiA8eG1wTU06RGVyaXZlZEZyb20gc3RSZWY6aW5zdGFuY2VJRD0ieG1wLmlpZDowMUFDMzc0RUYwMDYxMUU1OEQ0NUIyOUZCNUI1RTc5NCIgc3RSZWY6ZG9jdW1lbnRJRD0ieG1wLmRpZDowMUFDMzc0RkYwMDYxMUU1OEQ0NUIyOUZCNUI1RTc5NCIvPiA8L3JkZjpEZXNjcmlwdGlvbj4gPC9yZGY6UkRGPiA8L3g6eG1wbWV0YT4gPD94cGFja2V0IGVuZD0iciI/Pq3YZDIAAAA6SURBVHjaYjQ0NVdiYGC4D8T/GRCAEYgVmXBJADEzEy4JIL7DhEsCpIkJlwRIkAmXBEwSqwQIAAQYABZQDs+U1J1TAAAAAElFTkSuQmCC";var h=null,p=function t(p){return function(m){!h&&p&&(h=m);var v,g,y,b,_,w,x,k,E,S,T,C=p?(m-h)/2e3:0;v=C,g=e.props.score/100,y=r.easeInOutCubic(Math.min(v,1)),b=(225+y*g*270-90)*Math.PI/180,_=.5*o+210*Math.cos(b),w=.5*a+210*Math.sin(b),x=(225+n/100*270-90)*Math.PI/180,k=.5*o+210*Math.cos(x),E=.5*a+210*Math.sin(x),S=k+3,T=E+3,e.passmark&&(e.passmark.style.left="".concat(k/o*100,"%"),e.passmark.style.top="".concat(E/a*100,"%")),c.clearRect(0,0,o,a),c.beginPath(),c.arc(o/2,a/2,219,f,1.52*Math.PI*(n/100-.03)-l,!0),c.lineWidth=16,c.strokeStyle=c.createPattern(u,"repeat"),c.stroke(),c.closePath(),c.beginPath(),c.moveTo(S,T),c.lineTo(S+38,T-38),c.lineTo(S-38,T-38),c.lineTo(S-38,T+38),c.fillStyle="#f5f5f5",d()(c).call(c),c.closePath(),c.beginPath(),c.moveTo(k,E),c.lineTo(k+35,E-35),c.strokeStyle="#c2c3c4",c.lineWidth=1,c.stroke(),c.closePath(),c.beginPath(),c.moveTo(k+35,E-35),c.lineTo(k+70,E-35),c.strokeStyle="#c2c3c4",c.lineWidth=1,c.stroke(),c.closePath(),c.beginPath(),c.strokeStyle="#dcdcdc",c.arc(o/2,a/2,210,-l,1.5*Math.PI-l,!1),c.lineWidth=3,c.stroke(),c.closePath(),i&&(c.beginPath(),c.arc(o/2,a/2,210,-l,1.5*Math.PI*y*g-l,!1),c.lineWidth=3,c.strokeStyle="#313537",Math.floor(y*g*100)>=n&&(c.strokeStyle=s),c.stroke(),c.closePath(),c.beginPath(),c.arc(_,w,6,0,2*Math.PI,!1),c.fillStyle="#313537",Math.floor(y*g*100)>=n&&(c.fillStyle=s),d()(c).call(c),c.closePath()),C<1&&p&&window.requestAnimationFrame(t(!0))}};window.requestAnimationFrame(p(!1)),setTimeout(function(){window.requestAnimationFrame(p(!0)),e.score()},1e3)}},{key:"score",value:function(){var e=this,t=null,n=function n(i){t||(t=i);var o=(i-t)/2e3;!function(t,n){var i=r.easeInOutQuad(Math.min(t,1)),o=Math.round(i*n*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(n)};t=null,window.requestAnimationFrame(n)}},{key:"pass",value:function(){var e=this,t=this.props.color,n=document.getElementById("pass").getContext("2d"),i=null,o=function o(a){i||(i=a);var s,c,u=(a-i)/750;s=u,e.props.score,c=r.easeInOutCubic(Math.min(s,1)),n.clearRect(0,0,170,170),n.beginPath(),n.moveTo(30,70),n.lineTo(30+40*Math.min(c,.5)*2,70+45*Math.min(c,.5)*2),c>=.5&&n.lineTo(70+90*(c-.5)*2,110-85*(c-.5)*2),n.strokeStyle=t,n.lineWidth=20,n.stroke(),n.closePath(),u<1&&window.requestAnimationFrame(o)};i=null,window.requestAnimationFrame(o)}},{key:"fail",value:function(){var e=this,t=document.getElementById("pass").getContext("2d"),n=null,i=function i(o){n||(n=o);var a,s,c=(o-n)/750;a=c,e.props.score,s=r.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()),c<1&&window.requestAnimationFrame(i)};n=null,window.requestAnimationFrame(i)}}],[{key:"defaultProps",get:function(){return{canvasWidth:590,canvasHeight:500,onAnimationDone:p.b,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}}]),r}(e.Component)}).call(this,n(0))},function(e,t,n){"use strict";var r=n(4),i=n.n(r),o=(n(2715),n(0)),a=n.n(o),s=n(7),c=n.n(s),u=n(116),l=n.n(u),d=n(550),f=n.n(d),h=n(269),p=n.n(h),m=n(230),v=n.n(m),g=n(46),y=n.n(g),b=n(90),_=n(73),w=n(114),x=n(383),k=n(42),E=n(102),S=n(20),T=c()(p()(v.a,0),y()(0,"retryAttempts")),C=function(e){var t=e.lessonProgress,n=e.quizStart,r=e.quizTakeAgain;return T(t)?r:n},O=function(e){var t,n,r,o=e.lessonName,s=e.lessonNumber,c=e.lessonPreposition,u=e.totalLessons;return a.a.createElement("div",{className:"quiz-header__count"},i()(t=i()(n=i()(r="".concat(o," ")).call(r,s," ")).call(n,c," ")).call(t,u))},j=function(e){var t=e.id,n=e.lessonProgress;return function(){return Object(b.a)(Object(x.c)({activeIndex:Math.max(0,l()(y()(0,"activeIndex",n))),id:t}))}};t.a=function(e){var t=e.allowTabNavigation,n=e.authorName,r=e.avatar,i=e.description,s=e.id,c=e.isLesson,u=e.labels,l=u.lessonName,d=u.lessonPreposition,h=u.quizStart,p=u.quizTakeAgain,m=e.lessonNumber,v=e.lessonProgress,g=e.showLessonCount,y=e.title,b=e.totalLessons,x=Object(o.useRef)(),A=t&&T(v);return Object(o.useEffect)(function(){A&&x&&x.current&&f()(x.current.focus)&&x.current.focus()},[A,x]),a.a.createElement("div",{"aria-hidden":!t,className:"quiz-header"},a.a.createElement("div",{className:"quiz-header__container"},a.a.createElement("div",{className:"quiz-header__limit"},a.a.createElement("div",{className:"quiz-header__row"},a.a.createElement("div",{className:"quiz-header__main"},a.a.createElement("div",{className:"quiz-header__top-wrap brand--afterBackground"},a.a.createElement("h1",{className:"noOutline",ref:x,tabIndex:S.h},a.a.createElement(k.a,{className:"quiz-header__title brand--lhead",value:Object(E.a)(y)})),r&&n?a.a.createElement("div",{className:"quiz-header__author brand--ui"},a.a.createElement("img",{src:Object(_.p)("".concat(r)),alt:""}),a.a.createElement("span",{className:"visually-hidden"},"by ",n),a.a.createElement("span",{"aria-hidden":"true"},n)):null,a.a.createElement("div",{className:"quiz-header__counter brand--body"},c&&g&&O({lessonName:l,lessonNumber:m,lessonPreposition:d,totalLessons:b}))),a.a.createElement(k.a,{className:"quiz-header__description brand--lbody brand--linkColor",value:i,allowTabNavigation:t}),a.a.createElement("button",{className:"quiz-header__start-quiz brand--color",onClick:t?j({id:s,lessonProgress:v}):w.b,tabIndex:Object(S.l)(t),type:"button"},a.a.createElement("span",{className:"brand--ui"},C({lessonProgress:v,quizStart:h,quizTakeAgain:p})),a.a.createElement("i",{className:"icon icon-chevron-right"})))))))}},function(e,t,n){"use strict";n.d(t,"a",function(){return y});var r=n(27),i=n.n(r),o=n(80),a=n.n(o),s=n(66),c=n.n(s),u=n(91),l=n.n(u),d=n(69),f=n.n(d),h=n(57),p=n.n(h),m=n(145),v=n.n(m),g=n(67),y=function(e){var t=e.id,n=e.itemId,r=e.text;return function(e){return e(Object(g.g)({id:t,type:"quiz",updateFn:b({itemId:n,text:r})}))}},b=function(e){var t=e.itemId,n=e.text;return p()(l()(["items",t]),a()(v()(c.a,[n]),f()(["text"]),i()("text",n)))}},function(e,t,n){"use strict";n.d(t,"a",function(){return g});var r=n(27),i=n.n(r),o=n(7),a=n.n(o),s=n(37),c=n.n(s),u=n(91),l=n.n(u),d=n(57),f=n.n(d),h=n(129),p=n.n(h),m=n(67),v=n(164),g=function(e){var t=e.id,n=e.itemId,r=e.dragIndex,i=e.dropZoneIndex;return function(e){return e(Object(m.g)({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),p()(c()(r)),v.d))}},function(e,t,n){"use strict";n.d(t,"a",function(){return l});var r=n(27),i=n.n(r),o=n(91),a=n.n(o),s=n(57),c=n.n(s),u=n(67),l=function(e){var t=e.id,n=e.itemId,r=e.selectedIndex;return function(e){return e(Object(u.g)({id:t,type:"quiz",updateFn:d({itemId:n,selectedIndex:r})}))}},d=function(e){var t=e.itemId,n=e.selectedIndex;return c()(a()(["items",t]),i()("selectedIndex",n))}},function(e,t,n){"use strict";n.d(t,"a",function(){return M});var r=n(185),i=n.n(r),o=n(7),a=n.n(o),s=n(97),c=n.n(s),u=n(80),l=n.n(u),d=n(66),f=n.n(d),h=n(31),p=n.n(h),m=n(91),v=n.n(m),g=n(87),y=n.n(g),b=n(424),_=n.n(b),w=n(69),x=n.n(w),k=n(57),E=n.n(k),S=n(534),T=n.n(S),C=n(39),O=n.n(C),j=n(317),A=n.n(j),P=n(67),M=function(e){var t=e.id,n=e.itemId,r=e.selectedIndex;return function(e){return e(Object(P.g)({id:t,type:"quiz",updateFn:I({itemId:n,selectedIndex:r})}))}},N=function(e){return v()(["items",e])},L=function(e){return a()(N(e),y()("selectedIndices"))},I=function(e){var t,n=e.itemId,r=e.selectedIndex;return a()(O()((t=n,a()(f.a,T()(L(t)))),function(e){return E()(N(e),x()(["selectedIndices"]))}(n)),function(e){var t=e.itemId,n=e.selectedIndex;return E()(L(t),a()(l()(c()(n),A()(_()(n)),i()(n)),O()(p.a,function(){return[]})))}({itemId:n,selectedIndex:r}))}},function(e,t,n){"use strict";(function(e){var r=n(14),i=n.n(r),o=n(150),a=n(2363);t.a=function(t){var n=t.data,r=n.id,s=n.items,c=n.piles,u=n.type,l=t.labels,d=t.lessonHeader,f=t.lessonProgress,h=t.menuButtons,p=t.nextComponent,m=t.previousComponent;return e.createElement(o.c,{type:u},m,e.createElement(o.b,{type:u},h,d,e.createElement(o.a,{type:u},e.createElement(a.a,{id:r,items:s,labels:l,progress:f,piles:c}))),i()("isComplete",f)?p:null)}}).call(this,n(0))},function(e,t,n){"use strict";(function(e){var r=n(19),i=(n(2716),n(7)),o=n.n(i),a=n(90),s=n(461),c=n(695);t.a=function(t){return e.createElement("section",{"aria-label":"Sorting Activity Content",className:"sorting-lesson"},e.createElement(c.a,Object(r.a)({},t,{onCardDrop:o()(a.a,s.d),onReplay:o()(a.a,s.b)})))}}).call(this,n(0))},function(e,t,n){"use strict";(function(e){var r=n(150),i=n(2365);t.a=function(t){var n=t.data,o=n.id,a=n.items,s=n.type,c=t.labels,u=t.lessonHeader,l=t.lessonProgress,d=t.loadMedia,f=t.menuButtons,h=t.nextComponent,p=t.previousComponent;return e.createElement(r.c,{type:s},p,e.createElement(r.b,{type:s},f,u,e.createElement(r.a,{type:s},e.createElement(i.a,{id:o,items:a,labels:c,lessonProgress:l,loadMedia:d}))),h)}}).call(this,n(0))},function(e,t,n){"use strict";(function(e){n.d(t,"a",function(){return j});var r=n(3),i=n.n(r),o=n(19),a=n(9),s=n(10),c=n(11),u=n(13),l=n(5),d=(n(2717),n(7)),f=n.n(d),h=n(24),p=n.n(h),m=n(25),v=n.n(m),g=n(14),y=n.n(g),b=n(1097),_=n.n(b),w=n(463),x=n(90),k=n(696);function E(e){var t=function(){if("undefined"==typeof Reflect||!i.a)return!1;if(i.a.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=Object(l.a)(e);if(t){var o=Object(l.a)(this).constructor;n=i()(r,arguments,o)}else n=r.apply(this,arguments);return Object(u.a)(this,n)}}var S=v()(y()("linePosition"),parseFloat),T=_()(S),C=f()(x.a,w.a),O=f()(x.a,w.a),j=function(t){Object(c.a)(r,t);var n=E(r);function r(){return Object(a.a)(this,r),n.apply(this,arguments)}return Object(s.a)(r,[{key:"componentDidMount",value:function(){var e=this.props,t=e.items,n=e.id,r=p()([0,"id"],t);C({id:n,payload:{activeIndex:0,itemId:r}})}},{key:"render",value:function(){var t=this.props.items;return e.createElement("section",{"aria-label":"Timeline Content",className:"timeline-lesson"},e.createElement(k.a,Object(o.a)({},this.props,{isLearner:!0,items:T(t),progress:y()("lessonProgress",this.props),onEnter:C,onLeave:O})))}}]),r}(e.Component)}).call(this,n(0))},function(e,t,n){"use strict";(function(e){var r=n(150),i=n(2367);t.a=function(t){var n=t.data,o=t.labels,a=t.lessonHeader,s=t.lessonProgress,c=t.menuButtons,u=t.nextComponent,l=t.prefersKeyboardNavigation,d=t.previousComponent,f=t.enableVideoPlaybackSpeed;return e.createElement(r.c,{type:n.type},d,e.createElement(r.b,{type:n.type},c,a,e.createElement(r.a,null,e.createElement(i.a,{data:n,labels:o,lessonProgress:s,prefersKeyboardNavigation:l,enableVideoPlaybackSpeed:f}))),u)}}).call(this,n(0))},function(e,t,n){"use strict";(function(e){n.d(t,"a",function(){return C});var r=n(3),i=n.n(r),o=n(9),a=n(10),s=n(11),c=n(13),u=n(5),l=(n(2718),n(2)),d=n.n(l),f=n(56),h=n.n(f),p=n(24),m=n.n(p),v=n(23),g=n.n(v),y=n(14),b=n.n(y),_=n(1),w=n.n(_),x=n(90),k=n(1237),E=n(565),S=n(359);function T(e){var t=function(){if("undefined"==typeof Reflect||!i.a)return!1;if(i.a.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=Object(u.a)(e);if(t){var o=Object(u.a)(this).constructor;n=i()(r,arguments,o)}else n=r.apply(this,arguments);return Object(c.a)(this,n)}}var C=function(t){Object(s.a)(r,t);var n=T(r);function r(e){var t;return Object(o.a)(this,r),(t=n.call(this,e)).state={load:!1},t}return Object(a.a)(r,[{key:"componentDidMount",value:function(){var e=this;setTimeout(function(){e.setState({load:!0})},800)}},{key:"render",value:function(){var t=this.props,n=t.enableVideoPlaybackSpeed,r=t.labels,i=t.lessonProgress,o=this.props.data,a=o.id,s=o.media,c=o.settings,u=g()(0,["audioVideoPlayhead"],i),l=b()("currentTime",i),f=m()(["video","key"],s),h=m()(["lessonProgress","percentComplete"],i),p=m()(["video","poster"],s),v=d()("video-lesson",{"video-lesson--visible":this.state.load});return e.createElement("div",null,e.createElement("div",{className:"page__content-container"},e.createElement("section",{"aria-label":"Video Content",className:v},this.state.load?e.createElement("div",{className:"video-lesson__item"},e.createElement(S.a,{audioVideoPlayhead:u,canAdjustPlaybackSpeed:n,canRestrictSeek:c.forwardSeekRestricted,currentTime:l,id:a,labels:r,percentComplete:h,poster:p,progressChanged:O(a),recordMediaPlayheadPosition:this.handleRecordMediaPlayheadPosition.bind(this,a),src:f})):null)))}},{key:"handleRecordMediaPlayheadPosition",value:function(e,t){Object(x.a)(Object(k.a)({lessonId:e,playheadPercentage:t}))}}],[{key:"propTypes",get:function(){return{id:w.a.any,labels:w.a.object,lessonProgress:w.a.object.isRequired,media:w.a.object,recordMediaPlayheadPosition:w.a.func}}},{key:"defaultProps",get:function(){return{lessonProgress:{audioVideoPlayhead:0,currentTime:0,percentComplete:0}}}}]),r}(e.Component),O=h()(2,function(e,t){var n=t.currentTime,r=t.percentComplete;return Object(x.a)(Object(E.c)({id:e,currentTime:n,percentComplete:r}))})}).call(this,n(0))},function(e,t,n){"use strict";n.d(t,"a",function(){return v});var r=n(37),i=n.n(r),o=n(65),a=n.n(o),s=n(31),c=n.n(s),u=n(14),l=n.n(u),d=n(17),f=n.n(d),h=n(46),p=n.n(h),m=n(73),v=function(e,t){var n=e.completedAt,r=e.lessons,o=e.trackingQuizId,s=t.percentComplete,u=function(e,t){return e&&a()(f()("id",e),t)}(o,r);if(u&&100===s&&c()(n)){var d=u.settings,h=t.lessons[o],v=l()("score",h);Object(m.e)(function(e,t){return t>=p()(-1,"passingScore",e)}(d,v),v,o,function(e){var t=p()(-1,"retryCount",e);return i()(parseInt(t,10),parseInt(e.retryAttempts,10))}(d))}}},function(e,t,n){"use strict";(function(e){var r=n(19),i=n(15),o=n.n(i),a=(n(2719),n(86)),s=n(2),c=n.n(s),u=function(t){var n=t.childElements,r=t.labels,i=t.search,s=i.activeLessons,u=i.term,l=r.noResults;return e.createElement(a.a,{classNames:"lesson-lists__list",key:"results",timeout:600},e.createElement(a.d,{className:"lesson-lists__list lesson-lists__list--results",component:"ol",role:"list",key:"results"},0===s.length?function(t){var n=t.noResults,r=t.searchTerm,i=c()("lesson-lists__item",{"visually-hidden":!(r&&r.length)});return e.createElement(a.a,{classNames:"lesson-lists__item",exit:!1,key:"no-results",timeout:400},e.createElement("li",{className:i},e.createElement("span",{className:"lesson-lists__no-results"},n,' "',r,'"')))}({noResults:l,searchTerm:u}):function(t){var n=t.activeLessons,r=t.childElements;return o()(r).call(r,function(t){return e.createElement(a.a,{classNames:"lesson-lists__item",exit:!1,key:t.key,timeout:100*n.length+300},t)})}({activeLessons:s,childElements:n})))},l=function(t){var n=t.children,i=t.index,o=t.isSearch?{role:"listitem"}:{};return e.createElement("li",Object(r.a)({className:"lesson-lists__item",style:{transitionDelay:"".concat(.1*i,"s")}},o),n)};t.a=function(t){var n,r=t.children,i=t.labels,s=t.search,c=s.active,d=o()(n=e.Children).call(n,r,function(t,n){return e.createElement(l,{index:n,isSearch:c},t)}),f=c?"Search Results":"Course Outline";return e.createElement(a.d,{"aria-label":f,className:"lesson-lists",component:"nav"},c?u({childElements:d,labels:i,search:s}):function(t){return e.createElement(a.a,{classNames:"lesson-lists__list",key:"list",timeout:600},e.createElement("ol",{className:"lesson-lists__list",key:"list"},t))}(d))}}).call(this,n(0))},function(e,t,n){"use strict";(function(e){var r=n(3),i=n.n(r),o=n(9),a=n(10),s=n(6),c=n(11),u=n(13),l=n(5),d=(n(2720),n(130)),f=n(110),h=n(2),p=n.n(h),m=n(1),v=n.n(m),g=n(319),y=n.n(g),b=n(42),_=n(558),w=n(20);function x(e){var t=function(){if("undefined"==typeof Reflect||!i.a)return!1;if(i.a.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=Object(l.a)(e);if(t){var o=Object(l.a)(this).constructor;n=i()(r,arguments,o)}else n=r.apply(this,arguments);return Object(u.a)(this,n)}}var k=function(t){Object(c.a)(r,t);var n=x(r);function r(e){var t;return Object(o.a)(this,r),(t=n.call(this,e)).onClick=t.onClick.bind(Object(s.a)(t)),t}return Object(a.a)(r,[{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 t=this.props,n=t.id,r=t.icon,i=t.labels,o=t.resultsCount,a=t.title,s=i.result,c=i.results,u=p()("lesson-link","lesson-search-link",{"lesson-link--visited lesson-search-link--visited":this.state.visited}),l=1===o?s:c,f=[e.createElement("div",{"aria-hidden":"true",className:"lesson-link__icon lesson-search-link__icon",key:"icon-".concat(n)},e.createElement(_.a,{icon:r})),e.createElement("div",{className:"lesson-link__name lesson-search-link__name brand--ui",key:"name-".concat(n)},e.createElement(b.a,{value:y()(a,{length:60})}),e.createElement("span",{className:"lesson-search-link__results"},o," ",l))],h=this.props.allowTabNavigation,m=Object(w.l)(h);return e.createElement(d.c,{activeClassName:"lesson-link--active lesson-search-link--active brand--beforeBackground","aria-hidden":!h,className:u,onClick:this.onClick,tabIndex:m,to:"/lessons/"+encodeURIComponent(n)},f)}}],[{key:"propTypes",get:function(){return{focusLessonContent:v.a.func.isRequired,icon:v.a.string.isRequired,id:v.a.any.isRequired,onClick:v.a.func.isRequired,resultsCount:v.a.number.isRequired,title:v.a.string.isRequired,type:v.a.string.isRequired}}}]),r}(e.Component);t.a=Object(f.g)(k)}).call(this,n(0))},function(e,t,n){"use strict";(function(e){var r=n(3),i=n.n(r),o=n(9),a=n(10),s=n(11),c=n(13),u=n(5),l=n(15),d=n.n(l),f=(n(2724),n(2)),h=n.n(f);function p(e){var t=function(){if("undefined"==typeof Reflect||!i.a)return!1;if(i.a.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=Object(u.a)(e);if(t){var o=Object(u.a)(this).constructor;n=i()(r,arguments,o)}else n=r.apply(this,arguments);return Object(c.a)(this,n)}}var m=function(t){Object(s.a)(r,t);var n=p(r);function r(){return Object(o.a)(this,r),n.apply(this,arguments)}return Object(a.a)(r,[{key:"render",value:function(){var t,n=this,r=this.props,i=r.children,o=r.isActive,a=r.sectionId,s=r.sectionLabel,c=h()("section-lists",{"section-lists__closed":!o}),u=this.ol?this.ol.offsetHeight:null;return e.createElement("div",{"aria-hidden":!o,"aria-label":s,className:c,id:a,style:{maxHeight:u}},e.createElement("ol",{ref:function(e){return n.ol=e}},d()(t=e.Children).call(t,i,function(t){return e.createElement("li",{className:"lesson-lists__item"},t)})))}}]),r}(e.Component);t.a=m}).call(this,n(0))},function(e,t,n){"use strict";(function(e){n.d(t,"a",function(){return m});var r=n(3),i=n.n(r),o=n(9),a=n(10),s=n(11),c=n(13),u=n(5),l=(n(2732),n(2)),d=n.n(l),f=n(1),h=n.n(f);function p(e){var t=function(){if("undefined"==typeof Reflect||!i.a)return!1;if(i.a.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=Object(u.a)(e);if(t){var o=Object(u.a)(this).constructor;n=i()(r,arguments,o)}else n=r.apply(this,arguments);return Object(c.a)(this,n)}}var m=function(t){Object(s.a)(r,t);var n=p(r);function r(e){var t;return Object(o.a)(this,r),(t=n.call(this,e)).state={failAttempt:!1,shouldShake:!1},t}return Object(a.a)(r,[{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 t=this,n=this.state.failAttempt,r=d()("brand--border","share-password-dialog",{"fail-password":n});return e.createElement("div",{className:r,ref:function(e){t.dialog=e}},e.createElement("h1",{className:"heading"},"Enter Password"),e.createElement("p",{className:"instructions"},"You need a password to view this course. If you don’t know it, ask the person who shared this with you."),e.createElement("form",{onSubmit:this.onSubmitPassword.bind(this)},e.createElement("label",{htmlFor:"share-password",className:"label"},"password"),e.createElement("input",{id:"share-password",ref:"password",type:"password",className:"input"}),e.createElement("div",{className:"dialog__toolbar"},e.createElement("input",{type:"submit",className:"button brand--background",value:"View"}))))}}],[{key:"propTypes",get:function(){return{onSubmit:h.a.func.isRequired,failAttempt:h.a.bool.isRequired}}}]),r}(e.Component)}).call(this,n(0))},function(e,t,n){"use strict";e.exports=n(2733)},function(e,t,n){t.hot=function(e){return e}},function(e,t,n){"use strict";n.r(t),n.d(t,"components",function(){return r}),n.d(t,"icons",function(){return i});var r={};n.r(r),n.d(r,"CoverHeader",function(){return G}),n.d(r,"CoverGraphic",function(){return T}),n.d(r,"CoverLayout",function(){return Z}),n.d(r,"LessonHeader",function(){return J.a}),n.d(r,"LessonProgressCircle",function(){return ie}),n.d(r,"Progress",function(){return oe});var i={};n.r(i),n.d(i,"ArrowDown",function(){return ae.a}),n.d(i,"ArrowUp",function(){return se.a}),n.d(i,"AlignLeft",function(){return ce.a}),n.d(i,"ChevronDown",function(){return ue.a}),n.d(i,"ChevronelDown",function(){return le.a}),n.d(i,"ToggleDown",function(){return ue.a}),n.d(i,"ChevronUp",function(){return de.a}),n.d(i,"QuestionBox",function(){return fe.a}),n.d(i,"Search",function(){return he.a}),n.d(i,"Touch",function(){return pe.a}),n.d(i,"VideoCamera",function(){return me.a}),n.d(i,"X",function(){return ve.a});n(2624);var o=n(52),a=n.n(o),s=n(36),c=n.n(s),u=n(53),l=n.n(u),d=n(35),f=n.n(d),h=n(38),p=n.n(h),m=n(8),v=n(98),g=n.n(v),y=n(272),b=n(387),_=n(328),w=n(745),x=n(325),k=n(192),E=n(0),S=n.n(E),T=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=Object(x.a)())&&void 0!==t?t:{}).coverImage,c=s.alpha,u=s.media,l=a?{backgroundColor:n}:Object(k.a)({alpha:c,media:u,hasOverlay:i});return S.a.createElement("div",{className:"cover__header-graphic-container"},S.a.createElement("div",{className:"cover__header-graphic",style:l}))},C=n(273),O=n(274),j=n(16),A=n.n(j),P=n(46),M=n.n(P),N={LEFT_OVERLAY_MOBILE:function(e){return S.a.createElement(L,e)},LEFT_MOBILE:function(e){return S.a.createElement(L,e)},CENTERED_MOBILE:function(e){return S.a.createElement(I,e,S.a.createElement("clipPath",{id:"cover-page-clip-path",clipPathUnits:"objectBoundingBox"},S.a.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"})))},CENTERED_OVERLAY_MOBILE:function(e){return S.a.createElement(I,e,S.a.createElement("clipPath",{id:"cover-page-clip-path",clipPathUnits:"objectBoundingBox"},S.a.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"})))},SPLIT_LEFT:function(e){return S.a.createElement(I,e,S.a.createElement("clipPath",{id:"cover-page-clip-path",clipPathUnits:"objectBoundingBox"},S.a.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"})))},SPLIT_LEFT_MOBILE:function(e){return S.a.createElement(L,e)},SPLIT_LEFT_IMAGE:function(e){return S.a.createElement(I,e,S.a.createElement("clipPath",{id:"cover-page-clip-path",clipPathUnits:"objectBoundingBox"},S.a.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"})))},SPLIT_LEFT_IMAGE_MOBILE:function(e){return S.a.createElement(L,e)},SPLIT_RIGHT:function(e){return S.a.createElement(I,e,S.a.createElement("clipPath",{id:"cover-page-clip-path",clipPathUnits:"objectBoundingBox"},S.a.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"})))},SPLIT_RIGHT_MOBILE:function(e){return S.a.createElement(L,e)},SPLIT_RIGHT_IMAGE:function(e){return S.a.createElement(I,e,S.a.createElement("clipPath",{id:"cover-page-clip-path",clipPathUnits:"objectBoundingBox"},S.a.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"})))},SPLIT_RIGHT_IMAGE_MOBILE:function(e){return S.a.createElement(L,e)}},L=function(e){return S.a.createElement(I,e,S.a.createElement("clipPath",{id:"cover-page-clip-path",clipPathUnits:"objectBoundingBox"},S.a.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"})))},I=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 S.a.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)},D=function(e){var t=e.className,n=e.coverPageType;return M()(A()(null),n,N)({className:t})},R=n(270);function B(e,t){var n=a()(e);if(c.a){var r=c()(e);t&&(r=l()(r).call(r,function(t){return f()(e,t).enumerable})),n.push.apply(n,r)}return n}function F(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?B(Object(n),!0).forEach(function(t){Object(m.a)(e,t,n[t])}):p.a?Object.defineProperties(e,p()(n)):B(Object(n)).forEach(function(t){Object.defineProperty(e,t,f()(n,t))})}return e}var U=function(e){var t=e.coverPageType;return S.a.createElement(S.a.Fragment,null,S.a.createElement(w.a,null,S.a.createElement(D,{coverPageType:t}),S.a.createElement(C.a,null,S.a.createElement(b.a,null),S.a.createElement(O.a,null),S.a.createElement(y.a,null))))},q=function(e){var t=e.coverPageType;return S.a.createElement(S.a.Fragment,null,S.a.createElement(_.a,null,S.a.createElement(D,{coverPageType:t}),S.a.createElement(C.a,null,S.a.createElement(b.a,null),S.a.createElement(O.a,null),S.a.createElement(y.a,null))))},z=function(e){var t=e.coverPageType;return S.a.createElement(S.a.Fragment,null,S.a.createElement(D,{coverPageType:t}),S.a.createElement(T,null),S.a.createElement(_.a,null,S.a.createElement(C.a,null,S.a.createElement(b.a,null),S.a.createElement(O.a,null),S.a.createElement(y.a,null))))},H=function(e){var t=e.accentColor,n=e.coverPageType;return S.a.createElement(S.a.Fragment,null,S.a.createElement(_.a,null,S.a.createElement(C.a,null,S.a.createElement(b.a,null),S.a.createElement(O.a,null),S.a.createElement(y.a,null))),S.a.createElement(D,{coverPageType:n}),S.a.createElement(T,{accentColor:t,isShape:!0}))},V=function(e){var t=e.coverPageType;return S.a.createElement(S.a.Fragment,null,S.a.createElement(_.a,null,S.a.createElement(C.a,null,S.a.createElement(b.a,null),S.a.createElement(O.a,null),S.a.createElement(y.a,null))),S.a.createElement(D,{coverPageType:t}),S.a.createElement(T,null))},W=function(e){var t=e.accentColor,n=e.coverPageType;return S.a.createElement(S.a.Fragment,null,S.a.createElement(D,{coverPageType:n}),S.a.createElement(T,{accentColor:t,isShape:!0}),S.a.createElement(_.a,null,S.a.createElement(C.a,null,S.a.createElement(b.a,null),S.a.createElement(O.a,null),S.a.createElement(y.a,null))))};function Y(e){var t,n=Object(R.a)(992),r=Object(R.a)(1200),i=!g()(t=e.coverPageType).call(t,"SPLIT"),o=n||r&&i?"".concat(e.coverPageType,"_MOBILE"):e.coverPageType,a=F(F({},e),{},{coverPageType:o});switch(o){default:case"LEFT_OVERLAY_MOBILE":case"CENTERED_OVERLAY_MOBILE":return S.a.createElement(U,a);case"SPLIT_LEFT_IMAGE_MOBILE":case"SPLIT_RIGHT_IMAGE_MOBILE":return S.a.createElement(U,a);case"LEFT":case"CENTERED":case"LEFT_MOBILE":case"CENTERED_MOBILE":return S.a.createElement(q,a);case"SPLIT_LEFT_MOBILE":case"SPLIT_RIGHT_MOBILE":return S.a.createElement(q,a);case"SPLIT_LEFT":return S.a.createElement(H,e);case"SPLIT_LEFT_IMAGE":return S.a.createElement(V,e);case"SPLIT_RIGHT":return S.a.createElement(W,e);case"SPLIT_RIGHT_IMAGE":return S.a.createElement(z,e)}}var G=function(e){return S.a.createElement("div",{className:"cover__header"},S.a.createElement(Y,e))},K=n(2305),$=n.n(K),X=n(266),Q=Object(X.a)("cover"),Z=function(e){var t=e.children,n=Object(x.a)().coverPageType,r=function(e,t){var n;return!!t&&g()(n=["SPLIT_LEFT","SPLIT_LEFT_IMAGE","SPLIT_RIGHT","SPLIT_RIGHT_IMAGE"]).call(n,e)}(n,Object(R.a)(992))?"".concat(n,"_MOBILE"):n,i=Object(E.useMemo)(function(){return $()(r)},[r]),o=Q(null,{layout:i});return S.a.createElement("div",{id:"cover",className:o},t)},J=n(2260),ee=n(44),te=n(2188),ne=n(1236),re=Object(X.a)("progress-circle"),ie=function(e){var t=e["aria-hidden"],n=e["aria-label"],r=e.isDark,i=e.isFailed,o=e.isPassed,a=e.value,s=Object(E.useState)(100===a),c=Object(ee.a)(s,2),u=c[0],l=c[1],d=Object(te.a)(a),f=re({dark:r,light:!r}),h=re("track",{dark:r,light:!r}),p=re("runner",{dark:r,done:u,failed:i,light:!r,passed:o,unstarted:0===a}),m=re("pass",{dark:r,done:u,light:!r,visible:o}),v=re("fail",{dark:r,done:u,light:!r,visible:i});Object(E.useEffect)(function(){100!==a&&100===d&&l(!1)},[d,a]);var g=Object(E.useCallback)(function(){l(!0)},[]);return S.a.createElement("svg",{"aria-hidden":t,"aria-label":n,className:f,fill:"none",focusable:"false",role:"img",viewBox:"0 0 15 15",xmlns:"https://www.w3.org/2000/svg"},S.a.createElement("circle",{className:h,cx:"7.5",cy:"7.5",fill:"transparent",r:"6.5",strokeWidth:"2",transform:"rotate(-89.9 7.5 7.5)"}),S.a.createElement(ne.a,{className:p,cx:"7.5",cy:"7.5",diameter:"15",onTransitionEnd:g,r:"6.5",strokeWidth:"2",transform:"rotate(-89.9 7.5 7.5)",value:a}),S.a.createElement("path",{className:m,d:"M5.36816 7.25119L7.03483 8.91815L9.9515 6.00098",strokeWidth:"1.50026"}),S.a.createElement("path",{className:v,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"}))},oe=function(){return null},ae=n(738),se=n(739),ce=n(2261),ue=n(1225),le=n(2262),de=n(2263),fe=n(2264),he=n(2265),pe=n(2266),me=n(2267),ve=n(2268)},function(e,t,n){"use strict";n.r(t),n.d(t,"components",function(){return r}),n.d(t,"icons",function(){return i});var r={};n.r(r),n.d(r,"CoverHeader",function(){return k}),n.d(r,"CoverTitle",function(){return O}),n.d(r,"LessonHeader",function(){return j.a}),n.d(r,"NavSidebarHeader",function(){return A.a}),n.d(r,"Progress",function(){return P});var i={};n.r(i),n.d(i,"ArrowDown",function(){return M.a}),n.d(i,"ArrowUp",function(){return M.a}),n.d(i,"ChevronDown",function(){return N.a}),n.d(i,"ChevronelDown",function(){return L.a}),n.d(i,"ChevronUp",function(){return N.a}),n.d(i,"Search",function(){return I.a}),n.d(i,"ToggleDown",function(){return D.a}),n.d(i,"X",function(){return R.a});n(2623);var o=n(272),a=n(328),s=n(745),c=n(728),u=n(273),l=n(0),d=n.n(l),f=n(274),h=n(118),p=n(266),m=Object(p.a)("cover"),v=function(e){var t=e.accentColor,n=e.coverPageType,r=Object(l.useMemo)(function(){return Object(h.d)(t)},[t]),i=m("header-star",{"accent-light":"CENTERED"===n&&!r});return d.a.createElement("svg",{"aria-hidden":"true",className:i,width:"18",height:"18",viewBox:"0 0 18 18",fill:"none",xmlns:"http://www.w3.org/2000/svg"},d.a.createElement("path",{d:"M9 0V18",strokeWidth:"0.75",strokeMiterlimit:"10"}),d.a.createElement("path",{d:"M18 9H0",strokeWidth:"0.75",strokeMiterlimit:"10"}),d.a.createElement("path",{d:"M15.3 15.3002L2.69995 2.7002",strokeWidth:"0.75",strokeMiterlimit:"10"}),d.a.createElement("path",{d:"M2.69995 15.3002L15.3 2.7002",strokeWidth:"0.75",strokeMiterlimit:"10"}))},g=function(){return d.a.createElement(d.a.Fragment,null,d.a.createElement(s.a,null,d.a.createElement(u.a,null,d.a.createElement(v,null),d.a.createElement(f.a,null),d.a.createElement(o.a,null))))},y=function(e){var t=e.accentColor,n=e.coverPageType;return d.a.createElement(d.a.Fragment,null,d.a.createElement(a.a,null,d.a.createElement(u.a,null,d.a.createElement(v,{accentColor:t,coverPageType:n}),d.a.createElement(f.a,null),d.a.createElement(o.a,null))))},b=function(){return d.a.createElement(d.a.Fragment,null,d.a.createElement(c.a,null),d.a.createElement(a.a,null,d.a.createElement(u.a,null,d.a.createElement(v,null),d.a.createElement(f.a,null),d.a.createElement(o.a,null))))},_=function(){return d.a.createElement(d.a.Fragment,null,d.a.createElement(a.a,null,d.a.createElement(u.a,null,d.a.createElement(v,null),d.a.createElement(f.a,null),d.a.createElement(o.a,null))),d.a.createElement(c.a,null))},w=function(){return d.a.createElement(d.a.Fragment,null,d.a.createElement(a.a,null,d.a.createElement(u.a,null,d.a.createElement(v,null),d.a.createElement(f.a,null),d.a.createElement(o.a,null))),d.a.createElement("div",{className:"cover__header-graphic-wrap"},d.a.createElement(c.a,null)))};function x(e){var t=e.accentColor,n=e.coverPageType;switch(n){default:case"CENTERED_IMAGE":return d.a.createElement(w,e);case"CENTERED":case"CENTERED_ACCENT_TINT":return d.a.createElement(y,{accentColor:t,coverPageType:n});case"SPLIT_LEFT_IMAGE":case"TWO_THIRDS_LEFT_IMAGE":return d.a.createElement(_,e);case"SPLIT_RIGHT_IMAGE":case"TWO_THIRDS_RIGHT_IMAGE":return d.a.createElement(b,e);case"CENTERED_OVERLAY":return d.a.createElement(g,e)}}function k(e){return d.a.createElement("div",{className:"cover__header"},d.a.createElement(x,e))}var E=n(2),S=n.n(E),T=n(113),C=n(325),O=function(){var e=Object(C.a)(),t=e.color,n=e.title,r=S()("cover__header-content-title",{"cover__header-content-title--light":Object(T.c)(t)});return d.a.createElement("h1",{className:r},n)},j=n(2254),A=n(2255),P=function(){return null},M=n(1223),N=n(1224),L=n(2256),I=n(2257),D=n(2258),R=n(2259)},function(e,t,n){"use strict";var r=n(77),i=n(241),o=n.n(i),a=n(73),s=n(130),c=n(386),u=n(748);var l=n(743),d=n(448),f=n(113),h=n(327),p=n(296),m=(Object(p.b)("ArrowDown"),Object(p.b)("ArrowUp"),Object(p.b)("AlignLeft"),Object(p.b)("ChevronDown"),Object(p.b)("ChevronelDown")),v=(Object(p.b)("ChevronUp"),Object(p.b)("QuestionBox"),Object(p.b)("Search"),Object(p.b)("ToggleDown"),Object(p.b)("Touch"),Object(p.b)("VideoCamera"),Object(p.b)("X"),n(2)),g=n.n(v),y=n(31),b=n.n(y),_=n(24),w=n.n(_),x=n(0),k=n.n(x),E=Object(p.a)("CoverAction",function(e){var t=e.className,n=void 0===t?"":t,r=e.colorAccent,i=e.courseDetails,c=e.courseResume,u=e.courseStart,l=e.coverImageKey,d=e.enrolled,p=e.favoritedAt,v=e.firstLessonId,y=e.isPreview,_=e.navigation,w=e.nextLessonId,x=e.percentComplete,E=e.trackingQuizId,S=Object(a.k)()?100===x:Object(a.i)(),T=!y&&x&&!S&&w,C=T?w:v,O=d||p||y||Object(a.k)(),j=S||!T&&b()(E),A=x?c:u,P=Object(f.c)(r),M=g()(n,"cover__header-content-action-link",{"brand--color":!l,"overview__outline-btn":j,"overview__start-again":j,"overview__button-enrolled":O}),N=g()("cover__header-content-details-trigger-text",{"cover__header-content-details-trigger-text--light":P,"cover__header-content-details-trigger-text--dark":!P}),L=g()("cover__header-content-details-trigger-icon",{"cover__header-content-details-trigger-icon--light":P,"cover__header-content-details-trigger-icon--dark":!P}),I=g()("cover__header-content-action-link-text",{"cover__header-content-action-link-text--dark":!Object(f.c)(r)});return k.a.createElement("div",{className:"cover__header-content-action-wrapper"},k.a.createElement(s.b,{className:M,to:Object(h.e)(C)},k.a.createElement("span",{className:I},null==A?void 0:A.toLowerCase())),_&&k.a.createElement(o.a.Link,{"aria-label":"Details",className:"cover__header-content-details-trigger",containerId:"cover",duration:1e3,href:"#cover-details-main",smooth:!0,to:"cover-details-main"},k.a.createElement("span",{className:N},null==i?void 0:i.toLowerCase()),k.a.createElement(m,{className:L})))});t.a=Object(r.b)(function(){var e=Object(u.a)();return function(t){var n=Object(c.a)(t),r=w()(["theme","colorAccent"],n),i=Object(u.b)(t),o=function(e){return e.global}(t),a=Object(l.a)(t),s=Object(d.d)(t),f=Object(c.b)(t)||{},h=w()(["media","image","key"],f),p=e(t);return{colorAccent:r,courseDetails:a.courseDetails,courseResume:a.courseResume,courseStart:a.courseStart,coverImageKey:h,enrolled:n.enrolled,favoritedAt:n.favoritedAt,firstLessonId:null==i?void 0:i.id,isPreview:null==o?void 0:o.isPreview,navigation:n.navigation,nextLessonId:p,percentComplete:s,trackingQuizId:n.trackingQuizId}}})(E)},function(e,t,n){"use strict";var r=n(3),i=n.n(r),o=n(52),a=n.n(o),s=n(36),c=n.n(s),u=n(35),l=n.n(u),d=n(38),f=n.n(d),h=n(101),p=n(8),m=n(9),v=n(10),g=n(11),y=n(13),b=n(5),_=n(4),w=n.n(_),x=n(53),k=n.n(x),E=n(15),S=n.n(E),T=n(41),C=n.n(T),O=n(98),j=n.n(O),A=(n(2641),n(0)),P=n.n(A),M=n(110),N=n(7),L=n.n(N),I=n(37),D=n.n(I),R=n(49),B=n.n(R),F=n(65),U=n.n(F),q=n(138),z=n.n(q),H=n(116),V=n.n(H),W=n(144),Y=n.n(W),G=n(50),K=n.n(G),$=n(28),X=n.n($),Q=n(69),Z=n.n(Q),J=n(23),ee=n.n(J),te=n(25),ne=n.n(te),re=n(14),ie=n.n(re),oe=n(17),ae=n.n(oe),se=n(241),ce=n.n(se),ue=n(70),le=n.n(ue),de=n(21),fe=Object(de.equals)(null),he=Object(de.complement)(fe),pe=n(90),me=n(72),ve=n(298),ge=n(1237),ye=n(741),be=n(2323),_e=n(1238),we=n(61),xe=n(1193),ke=["id"];function Ee(e,t){var n=a()(e);if(c.a){var r=c()(e);t&&(r=k()(r).call(r,function(t){return l()(e,t).enumerable})),n.push.apply(n,r)}return n}function Se(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){Object(p.a)(e,t,n[t])}):f.a?Object.defineProperties(e,f()(n)):Ee(Object(n)).forEach(function(t){Object.defineProperty(e,t,l()(n,t))})}return e}function Te(e){var t=function(){if("undefined"==typeof Reflect||!i.a)return!1;if(i.a.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=Object(b.a)(e);if(t){var o=Object(b.a)(this).constructor;n=i()(r,arguments,o)}else n=r.apply(this,arguments);return Object(y.a)(this,n)}}var Ce=we.b.lessonPreview,Oe=we.b.lessonEdit,je=["timeline"],Ae=function(e){Object(g.a)(n,e);var t=Te(n);function n(){var e,r;Object(m.a)(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,w()(e=[this]).call(e,o))).lastDivRef=Object(A.createRef)(),r.state={randomQuestions:{}},r}return Object(v.a)(n,[{key:"componentDidUpdate",value:function(){this.scrollIfContinued()}},{key:"render",value:function(){return this.dividerNumber=0,P.a.createElement("section",{className:"blocks-lesson","data-ba":Ce.container},this.renderBlocks(),P.a.createElement("div",{className:"noOutline",ref:this.lastDivRef}))}},{key:"getBlockType",value:function(e){var t,n=e.variant,r=w()(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,c=i.courseTitle,u=i.enableVideoPlaybackSpeed,l=i.handleNavigate,d=i.handleStorylineFullscreen,f=i.lessonId,h=i.loadMedia,m=i.labels,v=i.lessonProgress,g=i.match,y=i.menuOpen,b=i.partnerContent,_=i.publishedAt,x=i.prefersKeyboardNavigation,k=i.previewType,E=i.tenantId,S="audio"===n||"video"===n?{lessonId:f,blockId:e.blockId,itemId:e.items[0].id}:{},T=X()(Z()(["type"],e),{animateBlockEntrance:o,color:a,courseId:s,courseTitle:c,dividerNumber:this.dividerNumber,enableVideoPlaybackSpeed:u,handleNavigate:l,handleStorylineFullscreen:d,isLearner:!0,labels:m,lessonId:f,loadMedia:h,match:g,menuOpen:y,partnerContent:b,prefersKeyboardNavigation:x,previewType:k,progress:v,publishedAt:_,recordMediaPlayheadPosition:this.handleRecordMediaPlayheadPosition.bind(this,S),tenantId:E});if("knowledgeCheck draw from question bank"===r){var C=this.state.randomQuestions[T.blockId],O=null,j=T.items[0];if(!C&&j.questions?(O=Object(xe.b)(j),this.setState({randomQuestions:Se(Se({},this.state.randomQuestions),{},Object(p.a)({},T.blockId,O))})):O=C,O&&(T.originalVariant=T.variant,T.variant=xe.a[O.type],T.items=[O]),!O)return P.a.createElement("div",null)}return P.a.createElement(ye.a,T)}},{key:"renderBlocks",value:function(){var e,t;return k()(e=S()(t=function e(t,n,r){var i;if(t.length){var o=C()(t).call(t,-1)[0];if(!Ue(o.id,r))return t}var a=S()(i=Object(me.j)(Me(r),C()(n).call(n,t.length))).call(i,Pe);return a.length?e(w()(t).call(t,a),n,r):t}([],this.props.blocks,this.props.lessonProgress)).call(t,this.buildBlock.bind(this,this.props.lessonProgress))).call(e,he)}},{key:"buildBlock",value:function(e,t,n,r){var i=function(e,t,n){var r=e.id,i=Object(h.a)(e,ke);if("continue"===i.family){var o=ee()("",["items",0,"type"],i);return X()(Se({blockId:r},i),{canContinue:Fe({continueType:o,blocks:t,progress:n}),lessonProgress:n,isComplete:Ue(r,n)})}return Se({blockId:r},i)}(t,C()(r).call(r,0,-1),e),o=this.getBlockType(i);if(null===o)return null;var a=i.blockId,s=i.family,c=i.variant,u=i.items,l="block-".concat(a);return Ne({family:s,variant:c})?P.a.createElement("div",{className:"noOutline","data-ba":Oe.block,"data-ba-index":n,key:l,"data-block-id":a},P.a.createElement(be.a,{onStep:this.handleStep.bind(this,s,c,a,u),isFirstLesson:this.props.isFirstLesson,onViewed:this.handleViewed.bind(this,u,a)},o)):P.a.createElement("div",{className:"noOutline","data-ba":Oe.block,"data-ba-index":n,key:l,"data-block-id":a},P.a.createElement(_e.a,{key:l,onViewed:this.handleViewed.bind(this,u,a),isFirstLesson:this.props.isFirstLesson},o))}},{key:"handleRecordMediaPlayheadPosition",value:function(e,t){var n=e.lessonId,r=e.blockId,i=e.itemId;Object(pe.a)(Object(ge.a)({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,c=o.lessonProgress,u=o.nextLesson,l=o.history,d="draw from question bank"===t?r[0]:U()(ae()("id",i),r),f=ne()(Y.a,ae()("id",n))(a);"continue"!==e||Ue(i,c)||(this.continueFromId=n),Object(pe.a)(Object(ve.e)({id:n,lessonId:s,items:[d]})),"continue"===e&&f&&u&&l.push("/lessons/".concat(encodeURIComponent(u)))}},{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;Object(pe.a)(Object(ve.e)({id:t,lessonId:n,items:e}))}},{key:"scrollIfContinued",value:function(){if(this.continueFromId){var e=this.props.blocks,t=z()(ae()("id",this.continueFromId),e),n=V()(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;ce.a.animateScroll.scrollTo(a+i.scrollTop,{smooth:!0,containerId:"page-wrap"})}delete this.continueFromId}}}]),n}(P.a.Component);t.a=Object(M.g)(Ae);function Pe(e,t,n){var r=C()(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)?X()(e,{requiresInteraction:!0}):e}var Me=function(e){return function(t){var n=t.family,r=t.items,i=ee()({},0,r);return"continue"===n&&!Ue(i.id,e)}},Ne=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))&&!j()(je).call(je,n)},Le=B()(ae()("isComplete",!0)),Ie=L()(le.a,ie()("items")),De=L()(Le,Ie),Re=L()(K.a,De),Be=L()(ie()("id"),Y.a),Fe=function(e){var t=e.continueType,n=e.blocks,r=e.progress;switch(t){case"completeAll":return D()(K()(n),Re(r));case"completeBlock":return Ue(Be(n),r);default:return!0}},Ue=function(e,t){return ee()(!1,["items",e,"isComplete"],t)}},function(e,t,n){"use strict";var r,i=n(3),o=n.n(i),a=n(8),s=n(9),c=n(10),u=n(6),l=n(11),d=n(13),f=n(5),h=n(4),p=n.n(h),m=n(98),v=n.n(m),g=n(0),y=n.n(g),b=n(750),_=n.n(b),w=n(701),x=n.n(w),k=n(2340),E=n.n(k),S=n(52),T=n.n(S),C=n(36),O=n.n(C),j=n(53),A=n.n(j),P=n(35),M=n.n(P),N=n(38),L=n.n(N),I=n(101),D=n(686),R=n.n(D),B=n(79),F=n.n(B),U=n(2349),q=n.n(U),z=n(2342),H=n.n(z),V=n(2346),W=n.n(V),Y=n(2196),G=n.n(Y),K=n(2348),$=n.n(K),X=n(2344),Q=n.n(X),Z=n(2341),J=n.n(Z),ee=n(2345),te=n.n(ee),ne=n(2347),re=n.n(ne),ie=n(2343),oe=n.n(ie),ae=["alt"];function se(e,t){var n=T()(e);if(O.a){var r=O()(e);t&&(r=A()(r).call(r,function(t){return M()(e,t).enumerable})),n.push.apply(n,r)}return n}function ce(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){Object(a.a)(e,t,n[t])}):L.a?Object.defineProperties(e,L()(n)):se(Object(n)).forEach(function(t){Object.defineProperty(e,t,M()(n,t))})}return e}var ue=["a","alpha","b","background","c","colors","f","format","h","height","q","quality","r","rasterize","s","scale","w","width"];var le=J()(ue),de=function(e){return!R()(Number(e))},fe=H()(2,function(e){var t=oe()(de,Q()(e));return te()(le,W()({h:t,height:t,w:t,width:t}),re.a,$()(G()(":")),G()(","))}),he=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 p()(r=p()(i="".concat(e,"/")).call(i,n,"/")).call(r,t)}(t,r,fe(n?2:1,e));return{backgroundImage:'url("'.concat(i,'")')}}};var pe="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 me=q()(p()(r=["imagesUri","imageKey","hidpi","style"]).call(r,ue)),ve=function(e){return ce(ce({},e.style),he(e))},ge=function(e){var t=e.alt,n=Object(I.a)(e,ae);return y.a.createElement("span",F()({"aria-label":t,className:pe,role:"img",style:ve(n)},me(n)))};ge.defaultProps={alt:"Image",imagesUri:"",style:{}};var ye=ge,be=n(44),_e=n(247),we=n.n(_e),xe=function(e){var t=e["aria-hidden"],n=e.className,r=e.desc,i=e.height,o=e.role,a=e.title,s=e.width,c=Object(g.useState)(function(){return we()()}),u=Object(be.a)(c,1)[0],l="hft-".concat(u),d="hfd-".concat(u);return y.a.createElement("svg",{xmlns:"https://www.w3.org/2000/svg",version:"1.1","aria-describedby":d,"aria-hidden":t,"aria-labelledby":l,className:n,focusable:"false",height:i,role:o,viewBox:"0 0 14 13",width:s},y.a.createElement("title",{id:l},a),y.a.createElement("desc",{id:d},r),y.a.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"}))};xe.displayName="IconBookFilled",xe.defaultProps={desc:"Solid colored book",height:"12",title:"Book",width:"14"};var ke=function(e){var t=e["aria-hidden"],n=e.className,r=e.desc,i=e.height,o=e.role,a=e.title,s=e.width,c=Object(g.useState)(function(){return we()()}),u=Object(be.a)(c,1)[0],l="hft-".concat(u),d="hfd-".concat(u);return y.a.createElement("svg",{xmlns:"https://www.w3.org/2000/svg",version:"1.1","aria-describedby":d,"aria-hidden":t,"aria-labelledby":l,className:n,focusable:"false",height:i,role:o,viewBox:"0 0 11 8",width:s},y.a.createElement("title",{id:l},a),y.a.createElement("desc",{id:d},r),y.a.createElement("path",{fill:"currentColor",d:"M9.6,0L11,1.3L3.9,8L0,4.3L1.4,3l2.6,2.4L9.6,0z"}))};ke.displayName="IconCheckMark",ke.defaultProps={desc:"A check mark",height:"8",title:"Check mark",width:"11"};var Ee=function(e){var t=e["aria-hidden"],n=e.className,r=e.desc,i=e.height,o=e.role,a=e.title,s=e.width,c=Object(g.useState)(function(){return we()()}),u=Object(be.a)(c,1)[0],l="cct-".concat(u),d="ccd-".concat(u);return y.a.createElement("svg",{xmlns:"https://www.w3.org/2000/svg",version:"1.1","aria-describedby":d,"aria-hidden":t,"aria-labelledby":l,className:n,focusable:"false",height:i,role:o,viewBox:"0 0 15 15",width:s},y.a.createElement("title",{id:l},a),y.a.createElement("desc",{id:d},r),y.a.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"}))};Ee.displayName="IconCheckmarkCircle",Ee.defaultProps={desc:"Checkmark inside of a solid circle",height:"15",title:"Checkmark Circle",width:"15"};var Se=function(e){var t=e["aria-hidden"],n=e.className,r=e.desc,i=e.height,o=e.role,a=e.title,s=e.width,c=Object(g.useState)(function(){return we()()}),u=Object(be.a)(c,1)[0],l="cdt-".concat(u),d="cdd-".concat(u);return y.a.createElement("svg",{xmlns:"https://www.w3.org/2000/svg",version:"1.1","aria-describedby":d,"aria-hidden":t,"aria-labelledby":l,className:n,focusable:"false",height:i,role:o,viewBox:"0 0 8 5",width:s},y.a.createElement("title",{id:l},a),y.a.createElement("desc",{id:d},r),y.a.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"}))};Se.displayName="IconChevronDown",Se.defaultProps={desc:"Chevron pointing downwards",height:"5",title:"Chevron down",width:"8"};var Te=function(e){var t=e["aria-hidden"],n=e.className,r=e.desc,i=e.height,o=e.role,a=e.title,s=e.width,c=Object(g.useState)(function(){return we()()}),u=Object(be.a)(c,1)[0],l="hft-".concat(u),d="hfd-".concat(u);return y.a.createElement("svg",{xmlns:"https://www.w3.org/2000/svg",version:"1.1","aria-describedby":d,"aria-hidden":t,"aria-labelledby":l,className:n,focusable:"false",height:i,role:o,viewBox:"0 0 6 10",width:s},y.a.createElement("title",{id:l},a),y.a.createElement("desc",{id:d},r),y.a.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"}))};Te.displayName="IconChevronLeftRounded",Te.defaultProps={desc:"Rounded chevron pointing left",height:"10",title:"Rounded chevron left",width:"6"};var Ce=function(e){var t=e["aria-hidden"],n=e.className,r=e.desc,i=e.height,o=e.role,a=e.title,s=e.width,c=Object(g.useState)(function(){return we()()}),u=Object(be.a)(c,1)[0],l="cdt-".concat(u),d="cdd-".concat(u);return y.a.createElement("svg",{xmlns:"https://www.w3.org/2000/svg",version:"1.1","aria-describedby":d,"aria-hidden":t,"aria-labelledby":l,className:n,fill:"none",focusable:"false",height:i,role:o,viewBox:"0 0 13 13",width:s},y.a.createElement("title",{id:l},a),y.a.createElement("desc",{id:d},r),y.a.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"}),y.a.createElement("path",{clipRule:"evenodd",d:"M7.3125 3.25H5.6875V7.3125H9.75V5.6875H7.3125V3.25Z",fill:"currentColor",fillRule:"evenodd"}))};Ce.displayName="IconClock",Ce.defaultProps={desc:"An analog clock",height:"13",title:"Clock",width:"13"};var Oe=function(e){var t=e["aria-hidden"],n=e.className,r=e.desc,i=e.height,o=e.role,a=e.title,s=e.width,c=Object(g.useState)(function(){return we()()}),u=Object(be.a)(c,1)[0],l="hft-".concat(u),d="hfd-".concat(u);return y.a.createElement("svg",{xmlns:"https://www.w3.org/2000/svg",version:"1.1","aria-describedby":d,"aria-hidden":t,"aria-labelledby":l,className:n,focusable:"false",height:i,role:o,viewBox:"0 0 14 14",width:s},y.a.createElement("title",{id:l},a),y.a.createElement("desc",{id:d},r),y.a.createElement("g",{transform:"translate(-18 -659)"},y.a.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"})))};Oe.displayName="IconClose",Oe.defaultProps={desc:"Image of an X",height:"14",title:"Close",width:"14"};var je=function(e){var t=e["aria-hidden"],n=e.className,r=e.desc,i=e.height,o=e.role,a=e.title,s=e.width,c=Object(g.useState)(function(){return we()()}),u=Object(be.a)(c,1)[0],l="cdt-".concat(u),d="cdd-".concat(u);return y.a.createElement("svg",{xmlns:"https://www.w3.org/2000/svg",version:"1.1","aria-describedby":d,"aria-hidden":t,"aria-labelledby":l,className:n,fill:"none",focusable:"false",height:i,role:o,viewBox:"0 0 16 16",width:s},y.a.createElement("title",{id:l},a),y.a.createElement("desc",{id:d},r),y.a.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"}),y.a.createElement("path",{d:"M1.54669 4.10669L8.00003 7.33336L14.4534 4.10669",stroke:"currentColor",strokeWidth:"1.6",strokeLinecap:"round",strokeLinejoin:"round"}),y.a.createElement("path",{d:"M8 15.1733V7.33331",stroke:"currentColor",strokeWidth:"1.6",strokeLinecap:"round",strokeLinejoin:"round"}))};function Ae(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))}}je.displayName="IconCube",je.defaultProps={desc:"Image of a cube",height:"16",title:"Cube",width:"16"};Ae(".IconError_iconError__1pbVY{color:#d0021b}",{insertAt:"top"});var Pe=function(e){var t=e["aria-hidden"],n=e.className,r=e.desc,i=e.height,o=e.role,a=e.title,s=e.width,c=Object(g.useState)(function(){return we()()}),u=Object(be.a)(c,1)[0],l="hft-".concat(u),d="hfd-".concat(u);return y.a.createElement("svg",{xmlns:"https://www.w3.org/2000/svg",version:"1.1","aria-describedby":d,"aria-hidden":t,"aria-labelledby":l,className:n,focusable:"false",height:i,role:o,viewBox:"0 0 18 18",width:s},y.a.createElement("title",{id:l},a),y.a.createElement("desc",{id:d},r),y.a.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"}))};Pe.displayName="IconError",Pe.defaultProps={className:"IconError_iconError__1pbVY",desc:"A red circle with a white exclamation point in the middle",height:"18",title:"Error",width:"18"};var Me=function(e){var t=e["aria-hidden"],n=e.className,r=e.desc,i=e.height,o=e.role,a=e.title,s=e.width,c=Object(g.useState)(function(){return we()()}),u=Object(be.a)(c,1)[0],l="cdt-".concat(u),d="cdd-".concat(u);return y.a.createElement("svg",{xmlns:"https://www.w3.org/2000/svg",version:"1.1","aria-describedby":d,"aria-hidden":t,"aria-labelledby":l,className:n,fill:"none",focusable:"false",height:i,role:o,viewBox:"0 0 16 16",width:s},y.a.createElement("title",{id:l},a),y.a.createElement("desc",{id:d},r),y.a.createElement("svg",{fill:"none",height:"9",viewBox:"0 0 16 9",width:"16",xmlns:"http://www.w3.org/2000/svg"},y.a.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"})),y.a.createElement("svg",{fill:"none",height:"6",viewBox:"0 0 16 6",width:"16",xmlns:"http://www.w3.org/2000/svg",y:"40%"},y.a.createElement("path",{d:"M1.33325 1.33331L7.99992 4.66665L14.6666 1.33331",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.6"})),y.a.createElement("svg",{fill:"none",height:"6",viewBox:"0 0 16 6",width:"16",xmlns:"http://www.w3.org/2000/svg",y:"60%"},y.a.createElement("path",{d:"M1.33325 0.999634L7.99992 4.33297L14.6666 0.999634",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.6"})))};Me.displayName="IconFilter",Me.defaultProps={desc:"Three squares stacked on one another",height:"16",title:"Filter",width:"16"};var Ne=function(e){var t=e["aria-hidden"],n=e.className,r=e.desc,i=e.height,o=e.role,a=e.title,s=e.width,c=Object(g.useState)(function(){return we()()}),u=Object(be.a)(c,1)[0],l="hft-".concat(u),d="hfd-".concat(u);return y.a.createElement("svg",{xmlns:"https://www.w3.org/2000/svg",version:"1.1","aria-describedby":d,"aria-hidden":t,"aria-labelledby":l,className:n,focusable:"false",height:i,role:o,viewBox:"0 0 14 13",width:s},y.a.createElement("title",{id:l},a),y.a.createElement("desc",{id:d},r),y.a.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"}))};Ne.displayName="IconHeartFilled",Ne.defaultProps={desc:"Solid colored heart",height:"15",title:"Heart",width:"16"};var Le=function(e){var t=e["aria-hidden"],n=e.className,r=e.desc,i=e.height,o=e.role,a=e.title,s=e.width,c=Object(g.useState)(function(){return we()()}),u=Object(be.a)(c,1)[0],l="hft-".concat(u),d="hfd-".concat(u);return y.a.createElement("svg",{xmlns:"https://www.w3.org/2000/svg",version:"1.1","aria-describedby":d,"aria-hidden":t,"aria-labelledby":l,className:n,focusable:"false",height:i,role:o,viewBox:"0 0 16 15",width:s},y.a.createElement("title",{id:l},a),y.a.createElement("desc",{id:d},r),y.a.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"}))};Le.displayName="IconHeartOutline",Le.defaultProps={desc:"Outline of a heart",height:"15",title:"Heart",width:"16"};var Ie=function(e){var t=e["aria-hidden"],n=e.className,r=e.desc,i=e.height,o=e.role,a=e.title,s=e.width,c=Object(g.useState)(function(){return we()()}),u=Object(be.a)(c,1)[0],l="cdt-".concat(u),d="cdd-".concat(u);return y.a.createElement("svg",{xmlns:"https://www.w3.org/2000/svg",version:"1.1","aria-describedby":d,"aria-hidden":t,"aria-labelledby":l,className:n,fill:"none",focusable:"false",height:i,role:o,viewBox:"0 0 16 16",width:s},y.a.createElement("title",{id:l},a),y.a.createElement("desc",{id:d},r),y.a.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"}),y.a.createElement("path",{d:"M2 6H14",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.6"}),y.a.createElement("path",{d:"M6 14V6",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.6"}))};Ie.displayName="IconLayout",Ie.defaultProps={desc:"Rounded square with header and sidebar dividers",height:"16",title:"Layout",width:"16"};Ae(".IconLearningPath_defaultFill__3ksqg{color:#adaeaf}",{insertAt:"top"});var De=function(e){var t=e["aria-hidden"],n=e.className,r=e.desc,i=e.height,o=e.role,a=e.title,s=e.width,c=Object(g.useState)(function(){return we()()}),u=Object(be.a)(c,1)[0],l="lpt-".concat(u),d="lpd-".concat(u);return y.a.createElement("svg",{xmlns:"https://www.w3.org/2000/svg",version:"1.1","aria-describedby":d,"aria-hidden":t,"aria-labelledby":l,className:n,focusable:"false",height:i,role:o,viewBox:"0 0 9 9",width:s},y.a.createElement("title",{id:l},a),y.a.createElement("desc",{id:d},r),y.a.createElement("g",{fill:"none",fillRule:"evenodd"},y.a.createElement("path",{fill:"currentColor",d:"M7 2h2v7H2V7h5V2z"}),y.a.createElement("path",{fill:"currentColor",d:"M0 0h7v7H0z"}),y.a.createElement("path",{fill:"#000f20",opacity:"0.505",d:"M0 0h7v7H0z"})))};De.displayName="IconLearningPath",De.defaultProps={className:"IconLearningPath_defaultFill__3ksqg",desc:"Two stacked squares",height:"9",title:"Learning Path",width:"9"};var Re=function(e){var t=e["aria-hidden"],n=e.className,r=e.desc,i=e.height,o=e.role,a=e.title,s=e.width,c=Object(g.useState)(function(){return we()()}),u=Object(be.a)(c,1)[0],l="hft-".concat(u),d="hfd-".concat(u);return y.a.createElement("svg",{xmlns:"https://www.w3.org/2000/svg",version:"1.1","aria-describedby":d,"aria-hidden":t,"aria-labelledby":l,className:n,focusable:"false",height:i,role:o,viewBox:"0 0 16 16",width:s},y.a.createElement("title",{id:l},a),y.a.createElement("desc",{id:d},r),y.a.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"}))};Re.displayName="IconSearch",Re.defaultProps={desc:"Magnifying glass",height:"16",title:"Search",width:"16"};var Be=function(e){var t=e["aria-hidden"],n=e.className,r=e.desc,i=e.height,o=e.role,a=e.title,s=e.width,c=Object(g.useState)(function(){return we()()}),u=Object(be.a)(c,1)[0],l="cdt-".concat(u),d="cdd-".concat(u);return y.a.createElement("svg",{xmlns:"https://www.w3.org/2000/svg",version:"1.1","aria-describedby":d,"aria-hidden":t,"aria-labelledby":l,className:n,fill:"none",focusable:"false",height:i,role:o,viewBox:"0 0 17 11",width:s},y.a.createElement("title",{id:l},a),y.a.createElement("desc",{id:d},r),y.a.createElement("path",{d:"M5.99992 7.62108L3.8786 9.7424L1.75728 7.62108",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.6"}),y.a.createElement("path",{d:"M3.8786 1.99976L3.8786 8.99976",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.6"}),y.a.createElement("path",{d:"M9.35638 5.4624H15.3564",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.6"}),y.a.createElement("path",{d:"M9.35638 1.4624H15.3564",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.6"}),y.a.createElement("path",{d:"M9.35638 9.4624H15.3564",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.6"}))};Be.displayName="IconSortDesc",Be.defaultProps={desc:"Downward arrow with three horizontal lines",height:"11",title:"SortDesc",width:"17"};var Fe=function(e){var t=e["aria-hidden"],n=e.className,r=e.desc,i=e.height,o=e.role,a=e.title,s=e.width,c=Object(g.useState)(function(){return we()()}),u=Object(be.a)(c,1)[0],l="hft-".concat(u),d="hfd-".concat(u);return y.a.createElement("svg",{xmlns:"https://www.w3.org/2000/svg",version:"1.1","aria-describedby":d,"aria-hidden":t,"aria-labelledby":l,className:n,focusable:"false",height:i,role:o,viewBox:"0 0 32 32",width:s},y.a.createElement("title",{id:l},a),y.a.createElement("desc",{id:d},r),y.a.createElement("g",{fill:"none",fillRule:"evenodd",transform:"rotate(-90 15.5 15.5)"},y.a.createElement("circle",{cx:"15",cy:"16",r:"15",stroke:"currentColor",opacity:"0.083",strokeWidth:"2"}),y.a.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 Ue(e){var t=function(){if("undefined"==typeof Reflect||!o.a)return!1;if(o.a.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(o()(Boolean,[],function(){})),!0}catch(e){return!1}}();return function(){var n,r=Object(f.a)(e);if(t){var i=Object(f.a)(this).constructor;n=o()(r,arguments,i)}else n=r.apply(this,arguments);return Object(d.a)(this,n)}}function qe(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))}}Fe.displayName="IconSpinner",Fe.defaultProps={desc:"Hollow circle fading from transparent to gray",height:"32",title:"Spinner",width:"32"};var ze="styles_wrap__6_qdv",He="styles_content__nx_52",Ve="styles_image__32Tdo",We="styles_title__NDffz",Ye="styles_titleClamp__1-eSv",Ge="styles_score__2FWHt",Ke="styles_scoreText__2FWJg",$e="styles_scoreWrap__3GrXD",Xe="styles_lessonsInfo__SbVMH",Qe="styles_pipe__1XBpq",Ze="styles_lpIcon__3XeRQ",Je="styles_imageOverlay__RSsiC",et="styles_imageOverlayStarted__17CIL",tt="styles_imageOverlayAssignedToMe__1pYS_",nt="styles_statusText__1q5C8",rt="styles_statusTextNoProgress__39xCR",it="styles_status__1VLZS",ot="styles_completedStatus__A0RxX",at="styles_learningPathBadge__3vO-1",st="styles_progressBarWrap__24ETA",ct="styles_heartWrap__217al",ut="styles_heartFilled__35Shx",lt="styles_heartOutline__2fakg",dt="styles_completedAt__2Iu7h",ft="styles_due__SPTRi",ht="styles_dueUrgent__1j39c",pt="styles_downloadCertWrap__1wv7-";qe(".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 mt="ProgressBar_progressBarBase__1njSY",vt="ProgressBar_progressBarWrap__1dSL2",gt="ProgressBar_progressBar__14M3v";qe(".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 yt=function(e){var t=e.progress,n=_()(mt,vt),r=_()(mt,gt);return y.a.createElement("div",{className:n,role:"progressbar","aria-valuenow":t,"aria-valuemin":"0","aria-valuemax":"100"},y.a.createElement("div",{className:r,style:{width:"".concat(t,"%")}}))},bt=function(e){Object(l.a)(n,e);var t=Ue(n);function n(){var e,r;Object(s.a)(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,p()(e=[this]).call(e,o))).onClick=r.onClick.bind(Object(u.a)(r)),r.onKeyDown=r.onKeyDown.bind(Object(u.a)(r)),r.toggleFavorite=r.toggleFavorite.bind(Object(u.a)(r)),r.renderProgress=r.renderProgress.bind(Object(u.a)(r)),r.renderDueStatus=r.renderDueStatus.bind(Object(u.a)(r)),r.renderAssignedOrCompleted=r.renderAssignedOrCompleted.bind(Object(u.a)(r)),r.renderLessonsInfo=r.renderLessonsInfo.bind(Object(u.a)(r)),r}return Object(c.a)(n,[{key:"onClick",value:function(){var e=this.props,t=e.disable,n=e.onClick;t||n()}},{key:"onKeyDown",value:function(e){var t;v()(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?y.a.createElement("div",{className:st},y.a.createElement(yt,{progress:n})):null}},{key:"renderDueStatus",value:function(){var e=this.props,t=e.completedAt,n=e.isUrgent,r=e.labelDue,i=e.labelCompleted,o=null!=t,s=_()(ft,Object(a.a)({},ht,n));return o?y.a.createElement("div",{className:dt},i):r?y.a.createElement("div",null,y.a.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,o=_()(nt,Object(a.a)({},rt,!r));return i?y.a.createElement("div",{className:ot},y.a.createElement(Ee,{width:22,height:22,decorative:!0})):y.a.createElement("div",{className:o},y.a.createElement(xe,{decorative:!0}),y.a.createElement("span",{className:it},t))}},{key:"renderLessonsInfo",value:function(){var e=this.props,t=e.labelCount,n=e.durationHidden,r=e.labelDuration;return y.a.createElement("div",{className:Xe},t,!n&&y.a.createElement(y.a.Fragment,null,y.a.createElement("span",{className:Qe,"aria-hidden":"true"},"|"),r))}},{key:"render",value:function(){var e,t=this.props,n=t.cardImageKey,r=t.certDownloadComp,i=t.color,o=t.completedAt,s=t.coverImageKey,c=t.enrolledAt,u=t.favoritedAt,l=t.imagesUri,d=t.isLearningPath,f=t.labelHeartFilled,h=t.labelHeartOutline,p=t.labelLearningPath,m=t.labelQuizScore,v=t.noCertDownload,g=t.noFavoriteBtn,b=t.progress,w=t.score,k=t.title,S=t.extraScoreText,T=null!=o,C=c||T,O=_()((e={},Object(a.a)(e,et,!!b||T),Object(a.a)(e,tt,c&&!T),e)),j=n||s;return y.a.createElement("div",{"aria-label":k,className:ze,onClick:this.onClick,onKeyDown:this.onKeyDown,role:"link",tabIndex:"0"},y.a.createElement(ye,{className:Ve,b:"fff",f:"jpg",h:150,imagesUri:l,imageKey:j,style:{backgroundColor:i},w:300,s:"cover"}),(T||c||b||d)&&y.a.createElement("div",{className:Je},y.a.createElement("div",{className:O}),d&&y.a.createElement("div",{className:at},y.a.createElement(De,{height:7,width:7,className:Ze,decorative:!0})," ",p),this.renderProgress(),C&&this.renderAssignedOrCompleted()),y.a.createElement("div",{className:He},!g&&y.a.createElement("div",{className:ct,onClick:this.toggleFavorite,onKeyDown:this.toggleFavorite,role:"button",tabIndex:"0"},u?y.a.createElement(Ne,{title:f,className:ut}):y.a.createElement(Le,{title:h,className:lt})),this.renderDueStatus(),y.a.createElement("div",{className:We},y.a.createElement(E.a,{className:Ye,lines:4},k)),T&&null!=w&&y.a.createElement("div",{className:$e},m," ",y.a.createElement("span",{className:Ge},x()(w).divide(100).format("0%")),S&&y.a.createElement("span",{className:Ke},S)),!T||v?this.renderLessonsInfo():y.a.createElement("div",{className:pt},y.a.createElement(r,null))))}}]),n}(g.Component);bt.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:""};t.a=bt},function(e,t,n){"use strict";var r=n(0),i="object"==typeof window,o=(n(2622),i?window:null),a=function(e){return!!e.addEventListener},s=function(e){return!!e.on};t.a=function(e,t,n,i){void 0===n&&(n=o),Object(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)])}},,,,,,,,,,,,,,,,,,,,,function(e,t,n){"use strict";var r=n(126),i=n(244),o=n(188),a=n(658),s=n(47),c=n(341),u=n(1084),l=n(122),d=n(1082),f=n(455),h=n(1083),p=n(176),m=n(2210),v=n(342),g=n(2402),y=n(733),b=n(167),_=n(158),w=n(340),x=n(454),k=n(659),E=n(661),S=n(2213),T=n(331),C=n(202),O=n(1081),j=n(311),A=n(732),P=n(1204)("hidden"),M=n(381),N=M.set,L=M.getterFor("Symbol"),I=T.f,D=C.f,R=S.f,B=r.Symbol,F=r.JSON,U=F&&F.stringify,q=p("toPrimitive"),z=O.f,H=d("symbol-registry"),V=d("symbols"),W=d("op-symbols"),Y=d("wks"),G=Object.prototype,K=r.QObject,$=n(2209),X=!K||!K.prototype||!K.prototype.findChild,Q=o&&l(function(){return 7!=E(D({},"a",{get:function(){return D(this,"a",{value:7}).a}})).a})?function(e,t,n){var r=I(G,t);r&&delete G[t],D(e,t,n),r&&e!==G&&D(G,t,r)}:D,Z=function(e,t){var n=V[e]=E(B.prototype);return N(n,{type:"Symbol",tag:e,description:t}),o||(n.description=t),n},J=$&&"symbol"==typeof B.iterator?function(e){return"symbol"==typeof e}:function(e){return Object(e)instanceof B},ee=function(e,t,n){return e===G&&ee(W,t,n),b(e),t=x(t,!0),b(n),i(V,t)?(n.enumerable?(i(e,P)&&e[P][t]&&(e[P][t]=!1),n=E(n,{enumerable:k(0,!1)})):(i(e,P)||D(e,P,k(1,{})),e[P][t]=!0),Q(e,t,n)):D(e,t,n)},te=function(e,t){b(e);for(var n,r=g(t=w(t)),i=0,o=r.length;o>i;)ee(e,n=r[i++],t[n]);return e},ne=function(e){var t=z.call(this,e=x(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)},re=function(e,t){if(e=w(e),t=x(t,!0),e!==G||!i(V,t)||i(W,t)){var n=I(e,t);return!n||!i(V,t)||i(e,P)&&e[P][t]||(n.enumerable=!0),n}},ie=function(e){for(var t,n=R(w(e)),r=[],o=0;n.length>o;)i(V,t=n[o++])||i(u,t)||r.push(t);return r},oe=function(e){for(var t,n=e===G,r=R(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};$||(c((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=h(e),n=function(e){this===G&&n.call(W,e),i(this,P)&&i(this[P],t)&&(this[P][t]=!1),Q(this,t,k(1,e))};return o&&X&&Q(G,t,{configurable:!0,set:n}),Z(t,e)}).prototype,"toString",function(){return L(this).tag}),O.f=ne,C.f=ee,T.f=re,n(660).f=S.f=ie,n(1206).f=oe,o&&(D(B.prototype,"description",{configurable:!0,get:function(){return L(this).description}}),a||c(G,"propertyIsEnumerable",ne,{unsafe:!0})),m.f=function(e){return Z(p(e),e)}),s({global:!0,wrap:!0,forced:!$,sham:!$},{Symbol:B});for(var ae=A(Y),se=0;ae.length>se;)v(ae[se++]);s({target:"Symbol",stat:!0,forced:!$},{for:function(e){return i(H,e+="")?H[e]:H[e]=B(e)},keyFor:function(e){if(!J(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?E(e):te(E(e),t)},defineProperty:ee,defineProperties:te,getOwnPropertyDescriptor:re}),s({target:"Object",stat:!0,forced:!$},{getOwnPropertyNames:ie,getOwnPropertySymbols:oe}),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)&&!J(e))return y(t)||(t=function(e,t){if("function"==typeof n&&(t=n.call(this,e,t)),!J(t))return t}),r[1]=t,U.apply(F,r)}}),B.prototype[q]||j(B.prototype,q,B.prototype.valueOf),f(B,"Symbol"),u[P]=!0},function(e,t,n){var r=n(732),i=n(1206),o=n(1081);e.exports=function(e){var t=r(e),n=i.f;if(n)for(var a,s=n(e),c=o.f,u=0;s.length>u;)c.call(e,a=s[u++])&&t.push(a);return t}},function(e,t,n){"use strict";var r=n(188),i=n(244),o=n(158),a=n(202).f,s=n(2207),c=n(126).Symbol;if(r&&"function"==typeof c&&(!("description"in c.prototype)||void 0!==c().description)){var u={},l=function(){var e=arguments.length<1||void 0===arguments[0]?void 0:String(arguments[0]),t=this instanceof l?new c(e):void 0===e?c():c(e);return""===e&&(u[t]=!0),t};s(l,c);var d=l.prototype=c.prototype;d.constructor=l;var f=d.toString,h="Symbol(test)"==String(c("test")),p=/^Symbol\((.*)\)[^)]+$/;a(d,"description",{configurable:!0,get:function(){var e=o(this)?this.valueOf():this,t=f.call(e);if(i(u,e))return"";var n=h?t.slice(7,-1):t.replace(p,"$1");return""===n?void 0:n}}),n(47)({global:!0,forced:!0},{Symbol:l})}},function(e,t,n){n(342)("asyncIterator")},function(e,t,n){n(342)("hasInstance")},function(e,t,n){n(342)("isConcatSpreadable")},function(e,t,n){n(342)("iterator")},function(e,t,n){n(342)("match")},function(e,t,n){n(342)("replace")},function(e,t,n){n(342)("search")},function(e,t,n){n(342)("species")},function(e,t,n){n(342)("split")},function(e,t,n){n(342)("toPrimitive")},function(e,t,n){n(342)("toStringTag")},function(e,t,n){n(342)("unscopables")},function(e,t,n){"use strict";var r=n(733),i=n(158),o=n(245),a=n(184),s=n(662),c=n(1086),u=n(176)("isConcatSpreadable"),l=!n(122)(function(){var e=[];return e[u]=!1,e.concat()[0]!==e}),d=n(1087)("concat"),f=function(e){if(!i(e))return!1;var t=e[u];return void 0!==t?!!t:r(e)},h=!l||!d;n(47)({target:"Array",proto:!0,forced:h},{concat:function(e){var t,n,r,i,u,l=o(this),d=c(l,0),h=0;for(t=-1,r=arguments.length;t<r;t++)if(u=-1===t?l:arguments[t],f(u)){if(h+(i=a(u.length))>9007199254740991)throw TypeError("Maximum allowed index exceeded");for(n=0;n<i;n++,h++)n in u&&s(d,h,u[n])}else{if(h>=9007199254740991)throw TypeError("Maximum allowed index exceeded");s(d,h++,u)}return d.length=h,d}})},function(e,t,n){n(47)({target:"Array",proto:!0},{copyWithin:n(2214)}),n(575)("copyWithin")},function(e,t,n){n(47)({target:"Array",proto:!0},{fill:n(2162)}),n(575)("fill")},function(e,t,n){"use strict";var r=n(332)(2),i=n(1087)("filter");n(47)({target:"Array",proto:!0,forced:!i},{filter:function(e){return r(this,e,arguments[1])}})},function(e,t,n){"use strict";var r=n(332)(5),i=!0;"find"in[]&&Array(1).find(function(){i=!1}),n(47)({target:"Array",proto:!0,forced:i},{find:function(e){return r(this,e,arguments.length>1?arguments[1]:void 0)}}),n(575)("find")},function(e,t,n){"use strict";var r=n(332)(6),i=!0;"findIndex"in[]&&Array(1).findIndex(function(){i=!1}),n(47)({target:"Array",proto:!0,forced:i},{findIndex:function(e){return r(this,e,arguments.length>1?arguments[1]:void 0)}}),n(575)("findIndex")},function(e,t,n){"use strict";var r=n(2215),i=n(245),o=n(184),a=n(382),s=n(1086);n(47)({target:"Array",proto:!0},{flat:function(){var e=arguments[0],t=i(this),n=o(t.length),c=s(t,0);return c.length=r(c,t,t,n,0,void 0===e?1:a(e)),c}})},function(e,t,n){"use strict";var r=n(2215),i=n(245),o=n(184),a=n(420),s=n(1086);n(47)({target:"Array",proto:!0},{flatMap:function(e){var t,n=i(this),c=o(n.length);return a(e),(t=s(n,0)).length=r(t,n,n,c,0,1,e,arguments[1]),t}})},function(e,t,n){var r=!n(1207)(function(e){Array.from(e)});n(47)({target:"Array",stat:!0,forced:r},{from:n(2216)})},function(e,t,n){"use strict";var r=n(1205)(!0);n(47)({target:"Array",proto:!0},{includes:function(e){return r(this,e,arguments.length>1?arguments[1]:void 0)}}),n(575)("includes")},function(e,t,n){"use strict";var r=n(340),i=[].join,o=n(1203)!=Object,a=n(1210)("join",",");n(47)({target:"Array",proto:!0,forced:o||a},{join:function(e){return i.call(r(this),void 0===e?",":e)}})},function(e,t,n){"use strict";var r=n(332)(1),i=n(1087)("map");n(47)({target:"Array",proto:!0,forced:!i},{map:function(e){return r(this,e,arguments[1])}})},function(e,t,n){"use strict";var r=n(662),i=n(122)(function(){function e(){}return!(Array.of.call(e)instanceof e)});n(47)({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}})},function(e,t,n){"use strict";var r=n(733),i=[].reverse,o=[1,2];n(47)({target:"Array",proto:!0,forced:String(o)===String(o.reverse())},{reverse:function(){return r(this)&&(this.length=this.length),i.call(this)}})},function(e,t,n){"use strict";var r=n(158),i=n(733),o=n(574),a=n(184),s=n(340),c=n(662),u=n(176)("species"),l=[].slice,d=Math.max,f=n(1087)("slice");n(47)({target:"Array",proto:!0,forced:!f},{slice:function(e,t){var n,f,h,p=s(this),m=a(p.length),v=o(e,m),g=o(void 0===t?m:t,m);if(i(p)&&("function"!=typeof(n=p.constructor)||n!==Array&&!i(n.prototype)?r(n)&&null===(n=n[u])&&(n=void 0):n=void 0,n===Array||void 0===n))return l.call(p,v,g);for(f=new(void 0===n?Array:n)(d(g-v,0)),h=0;v<g;v++,h++)v in p&&c(f,h,p[v]);return f.length=h,f}})},function(e,t,n){"use strict";var r=n(420),i=n(245),o=n(122),a=[].sort,s=[1,2,3],c=o(function(){s.sort(void 0)}),u=o(function(){s.sort(null)}),l=n(1210)("sort"),d=c||!u||l;n(47)({target:"Array",proto:!0,forced:d},{sort:function(e){return void 0===e?a.call(i(this)):a.call(i(this),r(e))}})},function(e,t,n){n(734)("Array")},function(e,t,n){"use strict";var r=n(574),i=n(382),o=n(184),a=n(245),s=n(1086),c=n(662),u=Math.max,l=Math.min,d=n(1087)("splice");n(47)({target:"Array",proto:!0,forced:!d},{splice:function(e,t){var n,d,f,h,p,m,v=a(this),g=o(v.length),y=r(e,g),b=arguments.length;if(0===b?n=d=0:1===b?(n=0,d=g-y):(n=b-2,d=l(u(i(t),0),g-y)),g+n-d>9007199254740991)throw TypeError("Maximum allowed length exceeded");for(f=s(v,d),h=0;h<d;h++)(p=y+h)in v&&c(f,h,v[p]);if(f.length=d,n<d){for(h=y;h<g-d;h++)m=h+n,(p=h+d)in v?v[m]=v[p]:delete v[m];for(h=g;h>g-d+n;h--)delete v[h-1]}else if(n>d)for(h=g-d;h>y;h--)m=h+n-1,(p=h+d-1)in v?v[m]=v[p]:delete v[m];for(h=0;h<n;h++)v[h+y]=arguments[h+2];return v.length=g-d+n,f}})},function(e,t,n){n(575)("flat")},function(e,t,n){n(575)("flatMap")},function(e,t,n){"use strict";var r=n(2167).ArrayBuffer,i=n(126).ArrayBuffer;n(47)({global:!0,forced:i!==r},{ArrayBuffer:r}),n(734)("ArrayBuffer")},function(e,t,n){"use strict";var r=n(2167),i=n(167),o=n(574),a=n(184),s=n(578),c=r.ArrayBuffer,u=r.DataView,l=c.prototype.slice,d=n(122)(function(){return!new c(2).slice(1,void 0).byteLength});n(47)({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,c))(a(d-r)),h=new u(this),p=new u(f),m=0;r<d;)p.setUint8(m++,h.getUint8(r++));return f}})},function(e,t,n){var r=n(311),i=n(176)("toPrimitive"),o=n(2439),a=Date.prototype;i in a||r(a,i,o)},function(e,t,n){"use strict";var r=n(167),i=n(454);e.exports=function(e){if("string"!==e&&"number"!==e&&"default"!==e)throw TypeError("Incorrect hint");return i(r(this),"number"!==e)}},function(e,t,n){"use strict";var r=n(158),i=n(202),o=n(456),a=n(176)("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}})},function(e,t,n){var r=n(188),i=n(202).f,o=Function.prototype,a=o.toString,s=/^\s*function ([^ (]*)/;!r||"name"in o||i(o,"name",{configurable:!0,get:function(){try{return a.call(this).match(s)[1]}catch(e){return""}}})},function(e,t,n){n(455)(n(126).JSON,"JSON",!0)},function(e,t,n){"use strict";e.exports=n(1211)("Map",function(e){return function(){return e(this,arguments.length>0?arguments[0]:void 0)}},n(2222),!0)},function(e,t,n){var r=n(2223),i=Math.acosh,o=Math.log,a=Math.sqrt,s=Math.LN2,c=!i||710!=Math.floor(i(Number.MAX_VALUE))||i(1/0)!=1/0;n(47)({target:"Math",stat:!0,forced:c},{acosh:function(e){return(e=+e)<1?NaN:e>94906265.62425156?o(e)+s:r(e-1+a(e-1)*a(e+1))}})},function(e,t,n){var r=Math.asinh,i=Math.log,o=Math.sqrt;n(47)({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}})},function(e,t,n){var r=Math.atanh,i=Math.log;n(47)({target:"Math",stat:!0,forced:!(r&&1/r(-0)<0)},{atanh:function(e){return 0==(e=+e)?e:i((1+e)/(1-e))/2}})},function(e,t,n){var r=n(2169),i=Math.abs,o=Math.pow;n(47)({target:"Math",stat:!0},{cbrt:function(e){return r(e=+e)*o(i(e),1/3)}})},function(e,t,n){var r=Math.floor,i=Math.log,o=Math.LOG2E;n(47)({target:"Math",stat:!0},{clz32:function(e){return(e>>>=0)?31-r(i(e+.5)*o):32}})},function(e,t,n){var r=n(1212),i=Math.cosh,o=Math.abs,a=Math.E;n(47)({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)}})},function(e,t,n){var r=n(1212);n(47)({target:"Math",stat:!0,forced:r!=Math.expm1},{expm1:r})},function(e,t,n){n(47)({target:"Math",stat:!0},{fround:n(2452)})},function(e,t,n){var r=n(2169),i=Math.pow,o=i(2,-52),a=i(2,-23),s=i(2,127)*(2-a),c=i(2,-126);e.exports=Math.fround||function(e){var t,n,i=Math.abs(e),u=r(e);return i<c?u*(i/c/a+1/o-1/o)*c*a:(n=(t=(1+a/o)*i)-(t-i))>s||n!=n?u*(1/0):u*n}},function(e,t,n){var r=Math.abs,i=Math.sqrt;n(47)({target:"Math",stat:!0},{hypot:function(e,t){for(var n,o,a=0,s=0,c=arguments.length,u=0;s<c;)u<(n=r(arguments[s++]))?(a=a*(o=u/n)*o+1,u=n):a+=n>0?(o=n/u)*o:n;return u===1/0?1/0:u*i(a)}})},function(e,t,n){var r=Math.imul,i=n(122)(function(){return-5!=r(4294967295,5)||2!=r.length});n(47)({target:"Math",stat:!0,forced:i},{imul:function(e,t){var n=+e,r=+t,i=65535&n,o=65535&r;return 0|i*o+((65535&n>>>16)*o+i*(65535&r>>>16)<<16>>>0)}})},function(e,t,n){var r=Math.log,i=Math.LOG10E;n(47)({target:"Math",stat:!0},{log10:function(e){return r(e)*i}})},function(e,t,n){n(47)({target:"Math",stat:!0},{log1p:n(2223)})},function(e,t,n){var r=Math.log,i=Math.LN2;n(47)({target:"Math",stat:!0},{log2:function(e){return r(e)/i}})},function(e,t,n){n(47)({target:"Math",stat:!0},{sign:n(2169)})},function(e,t,n){var r=n(1212),i=Math.abs,o=Math.exp,a=Math.E,s=n(122)(function(){return-2e-17!=Math.sinh(-2e-17)});n(47)({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)}})},function(e,t,n){var r=n(1212),i=Math.exp;n(47)({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))}})},function(e,t,n){n(455)(Math,"Math",!0)},function(e,t,n){var r=Math.ceil,i=Math.floor;n(47)({target:"Math",stat:!0},{trunc:function(e){return(e>0?i:r)(e)}})},function(e,t,n){"use strict";var r=n(126),i=n(1085),o=n(244),a=n(419),s=n(2168),c=n(454),u=n(122),l=n(660).f,d=n(331).f,f=n(202).f,h=n(736),p=r.Number,m=p.prototype,v="Number"==a(n(661)(m)),g="trim"in String.prototype,y=function(e){var t,n,r,i,o,a,s,u,l=c(e,!1);if("string"==typeof l&&l.length>2)if(43===(t=(l=g?l.trim():h(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((u=o.charCodeAt(s))<48||u>i)return NaN;return parseInt(o,r)}return+l};if(i("Number",!p(" 0o1")||!p("0b1")||p("+0x1"))){for(var b,_=function(e){var t=arguments.length<1?0:e,n=this;return n instanceof _&&(v?u(function(){m.valueOf.call(n)}):"Number"!=a(n))?s(new p(y(t)),n,_):y(t)},w=n(188)?l(p):"MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,EPSILON,isFinite,isInteger,isNaN,isSafeInteger,MAX_SAFE_INTEGER,MIN_SAFE_INTEGER,parseFloat,parseInt,isInteger".split(","),x=0;w.length>x;x++)o(p,b=w[x])&&!o(_,b)&&f(_,b,d(p,b));_.prototype=m,m.constructor=_,n(341)(r,"Number",_)}},function(e,t,n){n(47)({target:"Number",stat:!0},{EPSILON:Math.pow(2,-52)})},function(e,t,n){n(47)({target:"Number",stat:!0},{isFinite:n(2466)})},function(e,t,n){var r=n(126).isFinite;e.exports=Number.isFinite||function(e){return"number"==typeof e&&r(e)}},function(e,t,n){n(47)({target:"Number",stat:!0},{isInteger:n(2224)})},function(e,t,n){n(47)({target:"Number",stat:!0},{isNaN:function(e){return e!=e}})},function(e,t,n){var r=n(2224),i=Math.abs;n(47)({target:"Number",stat:!0},{isSafeInteger:function(e){return r(e)&&i(e)<=9007199254740991}})},function(e,t,n){n(47)({target:"Number",stat:!0},{MAX_SAFE_INTEGER:9007199254740991})},function(e,t,n){n(47)({target:"Number",stat:!0},{MIN_SAFE_INTEGER:-9007199254740991})},function(e,t,n){var r=n(2473);n(47)({target:"Number",stat:!0,forced:Number.parseFloat!=r},{parseFloat:r})},function(e,t,n){var r=n(126).parseFloat,i=n(736),o=n(1213),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},function(e,t,n){var r=n(2475);n(47)({target:"Number",stat:!0,forced:Number.parseInt!=r},{parseInt:r})},function(e,t,n){var r=n(126).parseInt,i=n(736),o=n(1213),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},function(e,t,n){"use strict";var r=n(382),i=n(2477),o=n(2170),a=1..toFixed,s=Math.floor,c=[0,0,0,0,0,0],u=function(e,t){for(var n=-1,r=t;++n<6;)r+=e*c[n],c[n]=r%1e7,r=s(r/1e7)},l=function(e){for(var t=6,n=0;--t>=0;)n+=c[t],c[t]=s(n/e),n=n%e*1e7},d=function(){for(var e=6,t="";--e>=0;)if(""!==t||0===e||0!==c[e]){var n=String(c[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(47)({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(122)(function(){a.call({})})},{toFixed:function(e){var t,n,a,s,c=i(this),h=r(e),p="",m="0";if(h<0||h>20)throw RangeError("Incorrect fraction digits");if(c!=c)return"NaN";if(c<=-1e21||c>=1e21)return String(c);if(c<0&&(p="-",c=-c),c>1e-21)if(n=(t=function(e){for(var t=0,n=e;n>=4096;)t+=12,n/=4096;for(;n>=2;)t+=1,n/=2;return t}(c*f(2,69,1))-69)<0?c*f(2,-t,1):c/f(2,t,1),n*=4503599627370496,(t=52-t)>0){for(u(0,n),a=h;a>=7;)u(1e7,0),a-=7;for(u(f(10,a,1),0),a=t-1;a>=23;)l(1<<23),a-=23;l(1<<a),u(1,1),l(2),m=d()}else u(0,n),u(1<<-t,0),m=d()+o.call("0",h);return m=h>0?p+((s=m.length)<=h?"0."+o.call("0",h-s)+m:m.slice(0,s-h)+"."+m.slice(s-h)):p+m}})},function(e,t,n){var r=n(419);e.exports=function(e){if("number"!=typeof e&&"Number"!=r(e))throw TypeError("Incorrect invocation");return+e}},function(e,t,n){var r=n(2225);n(47)({target:"Object",stat:!0,forced:Object.assign!==r},{assign:r})},function(e,t,n){"use strict";var r=n(245),i=n(420),o=n(202),a=n(1214);n(188)&&n(47)({target:"Object",proto:!0,forced:a},{__defineGetter__:function(e,t){o.f(r(this),e,{get:i(t),enumerable:!0,configurable:!0})}})},function(e,t,n){"use strict";var r=n(245),i=n(420),o=n(202),a=n(1214);n(188)&&n(47)({target:"Object",proto:!0,forced:a},{__defineSetter__:function(e,t){o.f(r(this),e,{set:i(t),enumerable:!0,configurable:!0})}})},function(e,t,n){var r=n(2226);n(47)({target:"Object",stat:!0},{entries:function(e){return r(e,!0)}})},function(e,t,n){var r=n(158),i=n(663).onFreeze,o=Object.freeze,a=n(1091),s=n(122)(function(){o(1)});n(47)({target:"Object",stat:!0,forced:s,sham:!a},{freeze:function(e){return o&&r(e)?o(i(e)):e}})},function(e,t,n){var r=n(1092),i=n(662);n(47)({target:"Object",stat:!0},{fromEntries:function(e){var t={};return r(e,function(e,n){i(t,e,n)},void 0,!0),t}})},function(e,t,n){var r=n(340),i=n(331).f,o=n(188),a=n(122)(function(){i(1)}),s=!o||a;n(47)({target:"Object",stat:!0,forced:s,sham:!o},{getOwnPropertyDescriptor:function(e,t){return i(r(e),t)}})},function(e,t,n){var r=n(188),i=n(2159),o=n(340),a=n(331),s=n(662);n(47)({target:"Object",stat:!0,sham:!r},{getOwnPropertyDescriptors:function(e){for(var t,n,r=o(e),c=a.f,u=i(r),l={},d=0;u.length>d;)void 0!==(n=c(r,t=u[d++]))&&s(l,t,n);return l}})},function(e,t,n){var r=n(2213).f,i=n(122)(function(){Object.getOwnPropertyNames(1)});n(47)({target:"Object",stat:!0,forced:i},{getOwnPropertyNames:r})},function(e,t,n){var r=n(245),i=n(456),o=n(2165),a=n(122)(function(){i(1)});n(47)({target:"Object",stat:!0,forced:a,sham:!o},{getPrototypeOf:function(e){return i(r(e))}})},function(e,t,n){n(47)({target:"Object",stat:!0},{is:n(2227)})},function(e,t,n){var r=n(158),i=Object.isExtensible,o=n(122)(function(){i(1)});n(47)({target:"Object",stat:!0,forced:o},{isExtensible:function(e){return!!r(e)&&(!i||i(e))}})},function(e,t,n){var r=n(158),i=Object.isFrozen,o=n(122)(function(){i(1)});n(47)({target:"Object",stat:!0,forced:o},{isFrozen:function(e){return!r(e)||!!i&&i(e)}})},function(e,t,n){var r=n(158),i=Object.isSealed,o=n(122)(function(){i(1)});n(47)({target:"Object",stat:!0,forced:o},{isSealed:function(e){return!r(e)||!!i&&i(e)}})},function(e,t,n){var r=n(245),i=n(732),o=n(122)(function(){i(1)});n(47)({target:"Object",stat:!0,forced:o},{keys:function(e){return i(r(e))}})},function(e,t,n){"use strict";var r=n(245),i=n(454),o=n(456),a=n(331).f,s=n(1214);n(188)&&n(47)({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))}})},function(e,t,n){"use strict";var r=n(245),i=n(454),o=n(456),a=n(331).f,s=n(1214);n(188)&&n(47)({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))}})},function(e,t,n){var r=n(158),i=n(663).onFreeze,o=Object.preventExtensions,a=n(1091),s=n(122)(function(){o(1)});n(47)({target:"Object",stat:!0,forced:s,sham:!a},{preventExtensions:function(e){return o&&r(e)?o(i(e)):e}})},function(e,t,n){var r=n(158),i=n(663).onFreeze,o=Object.seal,a=n(1091),s=n(122)(function(){o(1)});n(47)({target:"Object",stat:!0,forced:s,sham:!a},{seal:function(e){return o&&r(e)?o(i(e)):e}})},function(e,t,n){var r=n(2498),i=Object.prototype;r!==i.toString&&n(341)(i,"toString",r,{unsafe:!0})},function(e,t,n){"use strict";var r=n(1208),i={};i[n(176)("toStringTag")]="z",e.exports="[object z]"!==String(i)?function(){return"[object "+r(this)+"]"}:i.toString},function(e,t,n){var r=n(2226);n(47)({target:"Object",stat:!0},{values:function(e){return r(e)}})},function(e,t,n){"use strict";var r,i,o,a="Promise",s=n(658),c=n(126),u=n(47),l=n(158),d=n(420),f=n(577),h=n(419),p=n(1092),m=n(1207),v=n(578),g=n(2171).set,y=n(2228),b=n(2229),_=n(2501),w=n(2230),x=n(2502),k=n(2172),E=n(176)("species"),S=n(381),T=n(1085),C=S.get,O=S.set,j=S.getterFor(a),A=c.Promise,P=c.TypeError,M=c.document,N=c.process,L=c.fetch,I=N&&N.versions,D=I&&I.v8||"",R=w.f,B=R,F="process"==h(N),U=!!(M&&M.createEvent&&c.dispatchEvent),q=T(a,function(){var e=A.resolve(1),t=function(){},n=(e.constructor={})[E]=function(e){e(t,t)};return!((F||"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,c=o?n.ok:n.fail,u=n.resolve,l=n.reject,d=n.domain;try{c?(o||(2===t.rejection&&K(e,t),t.rejection=1),!0===c?r=i:(d&&d.enter(),r=c(i),d&&(d.exit(),s=!0)),r===n.promise?l(P("Promise-chain cycle")):(a=H(r))?a.call(r,u,l):u(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;U?((r=M.createEvent("Event")).promise=t,r.reason=n,r.initEvent(e,!1,!0),c.dispatchEvent(r)):r={promise:t,reason:n},(i=c["on"+e])?i(r):"unhandledrejection"===e&&_("Unhandled promise rejection",n)},Y=function(e,t){g.call(c,function(){var n,r=t.value;if(G(t)&&(n=x(function(){F?N.emit("unhandledRejection",r,e):W("unhandledrejection",e,r)}),t.rejection=F||G(t)?2:1,n.error))throw n.value})},G=function(e){return 1!==e.rejection&&!e.parent},K=function(e,t){g.call(c,function(){F?N.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))},Q=function(e,t,n,r){if(!t.done){t.done=!0,r&&(t=r);try{if(e===n)throw P("Promise can't be resolved itself");var i=H(n);i?y(function(){var r={done:!1};try{i.call(n,$(Q,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($(Q,this,t),$(X,this,t))}catch(e){X(this,t,e)}},(r=function(e){O(this,{type:a,done:!1,notified:!1,parent:!1,reactions:[],rejection:!1,state:0,value:void 0})}).prototype=n(735)(A.prototype,{then:function(e,t){var n=j(this),r=R(v(this,A));return r.ok="function"!=typeof e||e,r.fail="function"==typeof t&&t,r.domain=F?N.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=$(Q,e,t),this.reject=$(X,e,t)},w.f=R=function(e){return e===A||e===o?new i(e):B(e)},s||"function"!=typeof L||u({global:!0,enumerable:!0,forced:!0},{fetch:function(e){return b(A,L.apply(c,arguments))}})),u({global:!0,wrap:!0,forced:q},{Promise:A}),n(455)(A,a,!1,!0),n(734)(a),o=n(2161).Promise,u({target:a,stat:!0,forced:q},{reject:function(e){var t=R(this);return t.reject.call(void 0,e),t.promise}}),u({target:a,stat:!0,forced:s||q},{resolve:function(e){return b(s&&this===o?A:this,e)}}),u({target:a,stat:!0,forced:z},{all:function(e){var t=this,n=R(t),r=n.resolve,i=n.reject,o=x(function(){var n=[],o=0,a=1;p(e,function(e){var s=o++,c=!1;n.push(void 0),a++,t.resolve(e).then(function(e){c||(c=!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=R(t),r=n.reject,i=x(function(){p(e,function(e){t.resolve(e).then(n.resolve,r)})});return i.error&&r(i.value),n.promise}})},function(e,t,n){var r=n(126);e.exports=function(e,t){var n=r.console;n&&n.error&&(1===arguments.length?n.error(e):n.error(e,t))}},function(e,t){e.exports=function(e){try{return{error:!1,value:e()}}catch(e){return{error:!0,value:e}}}},function(e,t,n){"use strict";var r=n(2166),i=n(578),o=n(2229);n(47)({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)}})},function(e,t,n){var r=n(420),i=n(167),o=(n(126).Reflect||{}).apply,a=Function.apply,s=!n(122)(function(){o(function(){})});n(47)({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)}})},function(e,t,n){var r=n(661),i=n(420),o=n(167),a=n(158),s=n(122),c=n(2506),u=(n(126).Reflect||{}).construct,l=s(function(){function e(){}return!(u(function(){},[],e)instanceof e)}),d=!s(function(){u(function(){})}),f=l||d;n(47)({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 u(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(c.apply(e,s))}var f=n.prototype,h=r(a(f)?f:Object.prototype),p=Function.apply.call(e,h,t);return a(p)?p:h}})},function(e,t,n){"use strict";var r=n(420),i=n(158),o=[].slice,a={};e.exports=Function.bind||function(e){var t=r(this),n=o.call(arguments,1),s=function(){var r=n.concat(o.call(arguments));return this instanceof 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)}(t,r.length,r):t.apply(e,r)};return i(t.prototype)&&(s.prototype=t.prototype),s}},function(e,t,n){var r=n(202),i=n(167),o=n(454),a=n(188),s=n(122)(function(){Reflect.defineProperty(r.f({},1,{value:1}),1,{value:2})});n(47)({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}}})},function(e,t,n){var r=n(331).f,i=n(167);n(47)({target:"Reflect",stat:!0},{deleteProperty:function(e,t){var n=r(i(e),t);return!(n&&!n.configurable)&&delete e[t]}})},function(e,t,n){var r=n(331),i=n(456),o=n(244),a=n(158),s=n(167);n(47)({target:"Reflect",stat:!0},{get:function e(t,n){var c,u,l=arguments.length<3?t:arguments[2];return s(t)===l?t[n]:(c=r.f(t,n))?o(c,"value")?c.value:void 0===c.get?void 0:c.get.call(l):a(u=i(t))?e(u,n,l):void 0}})},function(e,t,n){var r=n(331),i=n(167),o=n(188);n(47)({target:"Reflect",stat:!0,sham:!o},{getOwnPropertyDescriptor:function(e,t){return r.f(i(e),t)}})},function(e,t,n){var r=n(456),i=n(167),o=n(2165);n(47)({target:"Reflect",stat:!0,sham:!o},{getPrototypeOf:function(e){return r(i(e))}})},function(e,t,n){n(47)({target:"Reflect",stat:!0},{has:function(e,t){return t in e}})},function(e,t,n){var r=n(167),i=Object.isExtensible;n(47)({target:"Reflect",stat:!0},{isExtensible:function(e){return r(e),!i||i(e)}})},function(e,t,n){n(47)({target:"Reflect",stat:!0},{ownKeys:n(2159)})},function(e,t,n){var r=n(2166),i=n(167),o=n(1091);n(47)({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}}})},function(e,t,n){var r=n(202),i=n(331),o=n(456),a=n(244),s=n(659),c=n(167),u=n(158);n(47)({target:"Reflect",stat:!0},{set:function e(t,n,l){var d,f,h=arguments.length<4?t:arguments[3],p=i.f(c(t),n);if(!p){if(u(f=o(t)))return e(f,n,l,h);p=s(0)}if(a(p,"value")){if(!1===p.writable||!u(h))return!1;if(d=i.f(h,n)){if(d.get||d.set||!1===d.writable)return!1;d.value=l,r.f(h,n,d)}else r.f(h,n,s(0,l));return!0}return void 0!==p.set&&(p.set.call(h,l),!0)}})},function(e,t,n){var r=n(1090),i=n(2220);r&&n(47)({target:"Reflect",stat:!0},{setPrototypeOf:function(e,t){i(e,t);try{return r(e,t),!0}catch(e){return!1}}})},function(e,t,n){var r=n(188),i=n(176)("match"),o=n(126),a=n(1085),s=n(2168),c=n(202).f,u=n(660).f,l=n(2173),d=n(1215),f=n(341),h=n(122),p=o.RegExp,m=p.prototype,v=/a/g,g=/a/g,y=new p(v)!==v;if(a("RegExp",r&&(!y||h(function(){return g[i]=!1,p(v)!=v||p(g)==g||"/a/i"!=p(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 p(r&&!i?e.source:e,t):p((r=e instanceof b)?e.source:e,r&&i?d.call(e):t),n?this:m,b)},_=function(e){e in b||c(b,e,{configurable:!0,get:function(){return p[e]},set:function(t){p[e]=t}})},w=u(p),x=0;x<w.length;)_(w[x++]);m.constructor=b,b.prototype=m,f(o,"RegExp",b)}n(734)("RegExp")},function(e,t,n){"use strict";var r=n(1216);n(47)({target:"RegExp",proto:!0,forced:/./.exec!==r},{exec:r})},function(e,t,n){n(188)&&"g"!=/./g.flags&&n(202).f(RegExp.prototype,"flags",{configurable:!0,get:n(1215)})},function(e,t,n){"use strict";var r=n(167),i=n(122),o=n(1215),a=n(188),s=/./.toString,c=i(function(){return"/a/b"!=s.call({source:"a",flags:"b"})}),u="toString"!=s.name;(c||u)&&n(341)(RegExp.prototype,"toString",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})},function(e,t,n){"use strict";e.exports=n(1211)("Set",function(e){return function(){return e(this,arguments.length>0?arguments[0]:void 0)}},n(2222))},function(e,t,n){"use strict";var r=n(1217);n(47)({target:"String",proto:!0},{codePointAt:function(e){return r(this,e)}})},function(e,t,n){"use strict";var r=n(184),i=n(2174),o="".endsWith,a=Math.min,s=n(2175)("endsWith");n(47)({target:"String",proto:!0,forced:!s},{endsWith:function(e){var t=i(this,e,"endsWith"),n=arguments.length>1?arguments[1]:void 0,s=r(t.length),c=void 0===n?s:a(r(n),s),u=String(e);return o?o.call(t,u,c):t.slice(c-u.length,c)===u}})},function(e,t,n){var r=n(574),i=String.fromCharCode,o=String.fromCodePoint,a=!!o&&1!=o.length;n(47)({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("")}})},function(e,t,n){"use strict";var r=n(2174),i=n(2175)("includes");n(47)({target:"String",proto:!0,forced:!i},{includes:function(e){return!!~r(this,e,"includes").indexOf(e,arguments.length>1?arguments[1]:void 0)}})},function(e,t,n){"use strict";var r=n(167),i=n(184),o=n(380),a=n(2176),s=n(1218);n(1219)("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 c=r(e),u=String(this);if(!c.global)return s(c,u);var l=c.unicode;c.lastIndex=0;for(var d,f=[],h=0;null!==(d=s(c,u));){var p=String(d[0]);f[h]=p,""===p&&(c.lastIndex=a(u,i(c.lastIndex),l)),h++}return 0===h?null:f}]})},function(e,t,n){"use strict";var r=n(2232),i=n(2233);n(47)({target:"String",proto:!0,forced:i},{padEnd:function(e){return r(this,e,arguments.length>1?arguments[1]:void 0,!1)}})},function(e,t,n){"use strict";var r=n(2232),i=n(2233);n(47)({target:"String",proto:!0,forced:i},{padStart:function(e){return r(this,e,arguments.length>1?arguments[1]:void 0,!0)}})},function(e,t,n){var r=n(340),i=n(184);n(47)({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("")}})},function(e,t,n){n(47)({target:"String",proto:!0},{repeat:n(2170)})},function(e,t,n){"use strict";var r=n(167),i=n(245),o=n(184),a=n(382),s=n(380),c=n(2176),u=n(1218),l=Math.max,d=Math.min,f=Math.floor,h=/\$([$&`']|\d\d?|<[^>]*>)/g,p=/\$([$&`']|\d\d?)/g;n(1219)("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),h=String(this),p="function"==typeof i;p||(i=String(i));var v=f.global;if(v){var g=f.unicode;f.lastIndex=0}for(var y=[];;){var b=u(f,h);if(null===b)break;if(y.push(b),!v)break;""===String(b[0])&&(f.lastIndex=c(h,o(f.lastIndex),g))}for(var _,w="",x=0,k=0;k<y.length;k++){b=y[k];for(var E=String(b[0]),S=l(d(a(b.index),h.length),0),T=[],C=1;C<b.length;C++)T.push(void 0===(_=b[C])?_:String(_));var O=b.groups;if(p){var j=[E].concat(T,S,h);void 0!==O&&j.push(O);var A=String(i.apply(void 0,j))}else A=m(E,h,S,T,O,i);S>=x&&(w+=h.slice(x,S)+A,x=S+E.length)}return w+h.slice(x)}];function m(e,n,r,o,a,s){var c=r+e.length,u=o.length,l=p;return void 0!==a&&(a=i(a),l=h),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(c);case"<":s=a[i.slice(1,-1)];break;default:var l=+i;if(0===l)return t;if(l>u){var d=f(l/10);return 0===d?t:d<=u?void 0===o[d-1]?i.charAt(1):o[d-1]+i.charAt(1):t}s=o[l-1]}return void 0===s?"":s})}})},function(e,t,n){"use strict";var r=n(167),i=n(380),o=n(2227),a=n(1218);n(1219)("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),c=String(this),u=s.lastIndex;o(u,0)||(s.lastIndex=0);var l=a(s,c);return o(s.lastIndex,u)||(s.lastIndex=u),null===l?-1:l.index}]})},function(e,t,n){"use strict";var r=n(2173),i=n(167),o=n(380),a=n(578),s=n(2176),c=n(184),u=n(1218),l=n(1216),d=n(122),f=[].push,h=Math.min,p=!d(function(){return!RegExp(4294967295,"y")});n(1219)("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?4294967295:n>>>0;if(0===a)return[];if(void 0===e)return[i];if(!r(e))return t.call(i,e,a);for(var s,c,u,d=[],h=(e.ignoreCase?"i":"")+(e.multiline?"m":"")+(e.unicode?"u":"")+(e.sticky?"y":""),p=0,m=new RegExp(e.source,h+"g");(s=l.call(m,i))&&!((c=m.lastIndex)>p&&(d.push(i.slice(p,s.index)),s.length>1&&s.index<i.length&&f.apply(d,s.slice(1)),u=s[0].length,p=c,d.length>=a));)m.lastIndex===s.index&&m.lastIndex++;return p===i.length?!u&&m.test("")||d.push(""):d.push(i.slice(p)),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),m=a(l,RegExp),v=l.unicode,g=(l.ignoreCase?"i":"")+(l.multiline?"m":"")+(l.unicode?"u":"")+(p?"y":"g"),y=new m(p?l:"^(?:"+l.source+")",g),b=void 0===r?4294967295:r>>>0;if(0===b)return[];if(0===f.length)return null===u(y,f)?[f]:[];for(var _=0,w=0,x=[];w<f.length;){y.lastIndex=p?w:0;var k,E=u(y,p?f:f.slice(w));if(null===E||(k=h(c(y.lastIndex+(p?0:w)),f.length))===_)w=s(f,w,v);else{if(x.push(f.slice(_,w)),x.length===b)return x;for(var S=1;S<=E.length-1;S++)if(x.push(E[S]),x.length===b)return x;w=_=k}}return x.push(f.slice(_)),x}]},!p)},function(e,t,n){"use strict";var r=n(184),i=n(2174),o=n(2175)("startsWith"),a="".startsWith;n(47)({target:"String",proto:!0,forced:!o},{startsWith:function(e){var t=i(this,e,"startsWith"),n=r(Math.min(arguments.length>1?arguments[1]:void 0,t.length)),o=String(e);return a?a.call(t,o,n):t.slice(n,n+o.length)===o}})},function(e,t,n){"use strict";var r=n(736),i=n(2177)("trim");n(47)({target:"String",proto:!0,forced:i},{trim:function(){return r(this,3)}})},function(e,t,n){"use strict";var r=n(736),i=n(2177)("trimEnd"),o=i?function(){return r(this,2)}:"".trimEnd;n(47)({target:"String",proto:!0,forced:i},{trimEnd:o,trimRight:o})},function(e,t,n){"use strict";var r=n(736),i=n(2177)("trimStart"),o=i?function(){return r(this,1)}:"".trimStart;n(47)({target:"String",proto:!0,forced:i},{trimStart:o,trimLeft:o})},function(e,t,n){"use strict";var r=n(343),i=n(344)("anchor");n(47)({target:"String",proto:!0,forced:i},{anchor:function(e){return r(this,"a","name",e)}})},function(e,t,n){"use strict";var r=n(343),i=n(344)("big");n(47)({target:"String",proto:!0,forced:i},{big:function(){return r(this,"big","","")}})},function(e,t,n){"use strict";var r=n(343),i=n(344)("blink");n(47)({target:"String",proto:!0,forced:i},{blink:function(){return r(this,"blink","","")}})},function(e,t,n){"use strict";var r=n(343),i=n(344)("bold");n(47)({target:"String",proto:!0,forced:i},{bold:function(){return r(this,"b","","")}})},function(e,t,n){"use strict";var r=n(343),i=n(344)("fixed");n(47)({target:"String",proto:!0,forced:i},{fixed:function(){return r(this,"tt","","")}})},function(e,t,n){"use strict";var r=n(343),i=n(344)("fontcolor");n(47)({target:"String",proto:!0,forced:i},{fontcolor:function(e){return r(this,"font","color",e)}})},function(e,t,n){"use strict";var r=n(343),i=n(344)("fontsize");n(47)({target:"String",proto:!0,forced:i},{fontsize:function(e){return r(this,"font","size",e)}})},function(e,t,n){"use strict";var r=n(343),i=n(344)("italics");n(47)({target:"String",proto:!0,forced:i},{italics:function(){return r(this,"i","","")}})},function(e,t,n){"use strict";var r=n(343),i=n(344)("link");n(47)({target:"String",proto:!0,forced:i},{link:function(e){return r(this,"a","href",e)}})},function(e,t,n){"use strict";var r=n(343),i=n(344)("small");n(47)({target:"String",proto:!0,forced:i},{small:function(){return r(this,"small","","")}})},function(e,t,n){"use strict";var r=n(343),i=n(344)("strike");n(47)({target:"String",proto:!0,forced:i},{strike:function(){return r(this,"strike","","")}})},function(e,t,n){"use strict";var r=n(343),i=n(344)("sub");n(47)({target:"String",proto:!0,forced:i},{sub:function(){return r(this,"sub","","")}})},function(e,t,n){"use strict";var r=n(343),i=n(344)("sup");n(47)({target:"String",proto:!0,forced:i},{sup:function(){return r(this,"sup","","")}})},function(e,t,n){n(519)("Float32",4,function(e){return function(t,n,r){return e(this,t,n,r)}})},function(e,t,n){n(519)("Float64",8,function(e){return function(t,n,r){return e(this,t,n,r)}})},function(e,t,n){n(519)("Int8",1,function(e){return function(t,n,r){return e(this,t,n,r)}})},function(e,t,n){n(519)("Int16",2,function(e){return function(t,n,r){return e(this,t,n,r)}})},function(e,t,n){n(519)("Int32",4,function(e){return function(t,n,r){return e(this,t,n,r)}})},function(e,t,n){n(519)("Uint8",1,function(e){return function(t,n,r){return e(this,t,n,r)}})},function(e,t,n){n(519)("Uint8",1,function(e){return function(t,n,r){return e(this,t,n,r)}},!0)},function(e,t,n){n(519)("Uint16",2,function(e){return function(t,n,r){return e(this,t,n,r)}})},function(e,t,n){n(519)("Uint32",4,function(e){return function(t,n,r){return e(this,t,n,r)}})},function(e,t,n){"use strict";var r=n(2214),i=n(177),o=i.aTypedArray;i.exportProto("copyWithin",function(e,t){return r.call(o(this),e,t,arguments.length>2?arguments[2]:void 0)})},function(e,t,n){"use strict";var r=n(332)(4),i=n(177),o=i.aTypedArray;i.exportProto("every",function(e){return r(o(this),e,arguments.length>1?arguments[1]:void 0)})},function(e,t,n){"use strict";var r=n(2162),i=n(177),o=i.aTypedArray;i.exportProto("fill",function(e){return r.apply(o(this),arguments)})},function(e,t,n){"use strict";var r=n(578),i=n(177),o=n(332)(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,c=t.length,u=new(s(n))(c);c>i;)u[i]=t[i++];return u})},function(e,t,n){"use strict";var r=n(332)(5),i=n(177),o=i.aTypedArray;i.exportProto("find",function(e){return r(o(this),e,arguments.length>1?arguments[1]:void 0)})},function(e,t,n){"use strict";var r=n(332)(6),i=n(177),o=i.aTypedArray;i.exportProto("findIndex",function(e){return r(o(this),e,arguments.length>1?arguments[1]:void 0)})},function(e,t,n){"use strict";var r=n(332)(0),i=n(177),o=i.aTypedArray;i.exportProto("forEach",function(e){r(o(this),e,arguments.length>1?arguments[1]:void 0)})},function(e,t,n){"use strict";var r=n(2178),i=n(177),o=n(2235);i.exportStatic("from",o,r)},function(e,t,n){"use strict";var r=n(1205)(!0),i=n(177),o=i.aTypedArray;i.exportProto("includes",function(e){return r(o(this),e,arguments.length>1?arguments[1]:void 0)})},function(e,t,n){"use strict";var r=n(1205)(!1),i=n(177),o=i.aTypedArray;i.exportProto("indexOf",function(e){return r(o(this),e,arguments.length>1?arguments[1]:void 0)})},function(e,t,n){"use strict";var r=n(1209),i=n(126).Uint8Array,o=n(177),a=n(176)("iterator"),s=r.values,c=r.keys,u=r.entries,l=o.aTypedArray,d=o.exportProto,f=i&&i.prototype[a],h=!!f&&("values"==f.name||null==f.name),p=function(){return s.call(l(this))};d("entries",function(){return u.call(l(this))}),d("keys",function(){return c.call(l(this))}),d("values",p,!h),d(a,p,!h)},function(e,t,n){"use strict";var r=n(177),i=r.aTypedArray,o=[].join;r.exportProto("join",function(e){return o.apply(i(this),arguments)})},function(e,t,n){"use strict";var r=n(2574),i=n(177),o=i.aTypedArray;i.exportProto("lastIndexOf",function(e){return r.apply(o(this),arguments)})},function(e,t,n){"use strict";var r=n(340),i=n(382),o=n(184),a=[].lastIndexOf,s=!!a&&1/[1].lastIndexOf(1,-0)<0,c=n(1210)("lastIndexOf");e.exports=s||c?function(e){if(s)return a.apply(this,arguments)||0;var t=r(this),n=o(t.length),c=n-1;for(arguments.length>1&&(c=Math.min(c,i(arguments[1]))),c<0&&(c=n+c);c>=0;c--)if(c in t&&t[c]===e)return c||0;return-1}:a},function(e,t,n){"use strict";var r=n(578),i=n(177),o=i.aTypedArray,a=i.aTypedArrayConstructor,s=n(332)(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)})},function(e,t,n){"use strict";var r=n(2178),i=n(177),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)},function(e,t,n){"use strict";var r=n(177),i=r.aTypedArray,o=[].reduce;r.exportProto("reduce",function(e){return o.apply(i(this),arguments)})},function(e,t,n){"use strict";var r=n(177),i=r.aTypedArray,o=[].reduceRight;r.exportProto("reduceRight",function(e){return o.apply(i(this),arguments)})},function(e,t,n){"use strict";var r=n(177),i=r.aTypedArray;r.exportProto("reverse",function(){for(var e,t=i(this).length,n=Math.floor(t/2),r=0;r<n;)e=this[r],this[r++]=this[--t],this[t]=e;return this})},function(e,t,n){"use strict";var r=n(184),i=n(2234),o=n(245),a=n(177),s=a.aTypedArray,c=n(122)(function(){new Int8Array(1).set({})});a.exportProto("set",function(e){s(this);var t=i(arguments[1],1),n=this.length,a=o(e),c=r(a.length),u=0;if(c+t>n)throw RangeError("Wrong length");for(;u<c;)this[t+u]=a[u++]},c)},function(e,t,n){"use strict";var r=n(578),i=n(177),o=i.aTypedArray,a=i.aTypedArrayConstructor,s=[].slice,c=n(122)(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),c=0,u=n.length,l=new(a(i))(u);u>c;)l[c]=n[c++];return l},c)},function(e,t,n){"use strict";var r=n(332)(3),i=n(177),o=i.aTypedArray;i.exportProto("some",function(e){return r(o(this),e,arguments.length>1?arguments[1]:void 0)})},function(e,t,n){"use strict";var r=n(177),i=r.aTypedArray,o=[].sort;r.exportProto("sort",function(e){return o.call(i(this),e)})},function(e,t,n){"use strict";var r=n(184),i=n(574),o=n(578),a=n(177),s=a.aTypedArray;a.exportProto("subarray",function(e,t){var n=s(this),a=n.length,c=i(e,a);return new(o(n,n.constructor))(n.buffer,n.byteOffset+c*n.BYTES_PER_ELEMENT,r((void 0===t?a:i(t,a))-c))})},function(e,t,n){"use strict";var r=n(126).Int8Array,i=n(122),o=n(177),a=o.aTypedArray,s=[].toLocaleString,c=[].slice,u=!!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(u?c.call(a(this)):a(this),arguments)},l)},function(e,t,n){"use strict";var r=n(126).Uint8Array,i=r&&r.prototype,o=n(177),a=[].toString,s=[].join;n(122)(function(){a.call({})})&&(a=function(){return s.call(this)}),o.exportProto("toString",a,(i||{}).toString!=a)},function(e,t,n){"use strict";var r,i=n(126),o=n(735),a=n(663),s=n(2236),c=n(158),u=n(381).enforce,l=n(2206),d=!i.ActiveXObject&&"ActiveXObject"in i,f=Object.isExtensible,h=function(e){return function(){return e(this,arguments.length>0?arguments[0]:void 0)}},p=e.exports=n(1211)("WeakMap",h,s,!0,!0);if(l&&d){r=s.getConstructor(h,"WeakMap",!0),a.REQUIRED=!0;var m=p.prototype,v=m.delete,g=m.has,y=m.get,b=m.set;o(m,{delete:function(e){if(c(e)&&!f(e)){var t=u(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(c(e)&&!f(e)){var t=u(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(c(e)&&!f(e)){var t=u(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(c(e)&&!f(e)){var n=u(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}})}},function(e,t,n){"use strict";n(1211)("WeakSet",function(e){return function(){return e(this,arguments.length>0?arguments[0]:void 0)}},n(2236),!1,!0)},function(e,t,n){var r=n(2237),i=n(2590),o=n(311),a=n(126);for(var s in r){var c=a[s],u=c&&c.prototype;if(u&&u.forEach!==i)try{o(u,"forEach",i)}catch(e){u.forEach=i}}},function(e,t,n){"use strict";var r=[].forEach,i=n(332)(0),o=n(1210)("forEach");e.exports=o?function(e){return i(this,e,arguments[1])}:r},function(e,t,n){var r=n(2237),i=n(1209),o=n(126),a=n(311),s=n(176),c=s("iterator"),u=s("toStringTag"),l=i.values;for(var d in r){var f=o[d],h=f&&f.prototype;if(h){if(h[c]!==l)try{a(h,c,l)}catch(e){h[c]=l}if(h[u]||a(h,u,d),r[d])for(var p in i)if(h[p]!==i[p])try{a(h,p,i[p])}catch(e){h[p]=i[p]}}}},function(e,t,n){var r=n(126),i=n(2171),o=!r.setImmediate||!r.clearImmediate;n(47)({global:!0,bind:!0,enumerable:!0,forced:o},{setImmediate:i.set,clearImmediate:i.clear})},function(e,t,n){var r=n(2228),i=n(126).process,o="process"==n(419)(i);n(47)({global:!0,enumerable:!0,noTargetGet:!0},{queueMicrotask:function(e){var t=o&&i.domain;r(t?t.bind(e):e)}})},function(e,t,n){"use strict";n(2231);var r,i=n(188),o=n(2238),a=n(126).URL,s=n(2211),c=n(341),u=n(577),l=n(244),d=n(2225),f=n(2216),h=n(1217),p=n(2595),m=n(2239),v=m.URLSearchParams,g=m.getState,y=n(381),b=y.set,_=y.getterFor("URL"),w=Math.pow,x=/[a-zA-Z]/,k=/[a-zA-Z0-9+\-.]/,E=/\d/,S=/^(0x|0X)/,T=/^[0-7]+$/,C=/^\d+$/,O=/^[0-9A-Fa-f]+$/,j=/\u0000|\u0009|\u000A|\u000D|\u0020|#|%|\/|:|\?|@|\[|\\|\]/,A=/\u0000|\u0009|\u000A|\u000D|\u0020|#|\/|:|\?|@|\[|\\|\]/,P=/^[\u0000-\u001F\u0020]+|[\u0000-\u001F\u0020]+$/g,M=/\u0009|\u000A|\u000D/g,N=function(e,t){var n,r,i;if("["==t.charAt(0)){if("]"!=t.charAt(t.length-1))return"Invalid host";if(!(n=I(t.slice(1,-1))))return"Invalid host";e.host=n}else if(H(e)){if(t=p(t),j.test(t))return"Invalid host";if(null===(n=L(t)))return"Invalid host";e.host=n}else{if(A.test(t))return"Invalid host";for(n="",r=f(t),i=0;i<r.length;i++)n+=q(r[i],R);e.host=n}},L=function(e){var t,n,r,i,o,a,s,c=e.split(".");if(""==c[c.length-1]&&c.length&&c.pop(),(t=c.length)>4)return e;for(n=[],r=0;r<t;r++){if(""==(i=c[r]))return e;if(o=10,i.length>1&&"0"==i.charAt(0)&&(o=S.test(i)?16:8,i=i.slice(8==o?1:2)),""===i)a=0;else{if(!(10==o?C:8==o?T:O).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},I=function(e){var t,n,r,i,o,a,s,c=[0,0,0,0,0,0,0,0],u=0,l=null,d=0,f=function(){return e.charAt(d)};if(":"==f()){if(":"!=e.charAt(1))return;d+=2,l=++u}for(;f();){if(8==u)return;if(":"!=f()){for(t=n=0;n<4&&O.test(f());)t=16*t+parseInt(f(),16),d++,n++;if("."==f()){if(0==n)return;if(d-=n,u>6)return;for(r=0;f();){if(i=null,r>0){if(!("."==f()&&r<4))return;d++}if(!E.test(f()))return;for(;E.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++}c[u]=256*c[u]+i,2!=++r&&4!=r||u++}if(4!=r)return;break}if(":"==f()){if(d++,!f())return}else if(f())return;c[u++]=t}else{if(null!==l)return;d++,l=++u}}if(null!==l)for(a=u-l,u=7;0!=u&&a>0;)s=c[u],c[u--]=c[l+a-1],c[l+--a]=s;else if(8!=u)return;return c},D=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},R={},B=d({},R,{" ":1,'"':1,"<":1,">":1,"`":1}),F=d({},B,{"#":1,"?":1,"{":1,"}":1}),U=d({},F,{"/":1,":":1,";":1,"=":1,"@":1,"[":1,"\\":1,"]":1,"^":1,"|":1}),q=function(e,t){var n=h(e,0);return n>32&&n<127&&!l(t,e)?e:encodeURIComponent(e)},z={ftp:21,file:null,gopher:70,http:80,https:443,ws:80,wss:443},H=function(e){return l(z,e.scheme)},V=function(e){return""!=e.username||""!=e.password},W=function(e){return!e.host||e.cannotBeABaseURL||"file"==e.scheme},Y=function(e,t){var n;return 2==e.length&&x.test(e.charAt(0))&&(":"==(n=e.charAt(1))||!t&&"|"==n)},G=function(e){var t;return e.length>1&&Y(e.slice(0,2))&&(2==e.length||"/"===(t=e.charAt(2))||"\\"===t||"?"===t||"#"===t)},K=function(e){var t=e.path,n=t.length;!n||"file"==e.scheme&&1==n&&Y(t[0],!0)||t.pop()},$=function(e){return"."===e||"%2e"===e.toLowerCase()},X={},Q={},Z={},J={},ee={},te={},ne={},re={},ie={},oe={},ae={},se={},ce={},ue={},le={},de={},fe={},he={},pe={},me={},ve={},ge=function(e,t,n,i){var o,a,s,c,u,d=n||X,h=0,p="",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(P,"")),t=t.replace(M,""),o=f(t);h<=o.length;){switch(a=o[h],d){case X:if(!a||!x.test(a)){if(n)return"Invalid scheme";d=Z;continue}p+=a.toLowerCase(),d=Q;break;case Q:if(a&&(k.test(a)||"+"==a||"-"==a||"."==a))p+=a.toLowerCase();else{if(":"!=a){if(n)return"Invalid scheme";p="",d=Z,h=0;continue}if(n&&(H(e)!=l(z,p)||"file"==p&&(V(e)||null!==e.port)||"file"==e.scheme&&!e.host))return;if(e.scheme=p,n)return void(H(e)&&z[e.scheme]==e.port&&(e.port=null));p="","file"==e.scheme?d=ue:H(e)&&i&&i.scheme==e.scheme?d=J:H(e)?d=re:"/"==o[h+1]?(d=ee,h++):(e.cannotBeABaseURL=!0,e.path.push(""),d=pe)}break;case Z:if(!i||i.cannotBeABaseURL&&"#"!=a)return"Invalid scheme";if(i.cannotBeABaseURL&&"#"==a){e.scheme=i.scheme,e.path=i.path.slice(),e.query=i.query,e.fragment="",e.cannotBeABaseURL=!0,d=ve;break}d="file"==i.scheme?ue:te;continue;case J:if("/"!=a||"/"!=o[h+1]){d=te;continue}d=ie,h++;break;case ee:if("/"==a){d=oe;break}d=he;continue;case te: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&&H(e))d=ne;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=me;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=he;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=ve}break;case ne:if(!H(e)||"/"!=a&&"\\"!=a){if("/"!=a){e.username=i.username,e.password=i.password,e.host=i.host,e.port=i.port,d=he;continue}d=oe}else d=ie;break;case re:if(d=ie,"/"!=a||"/"!=p.charAt(h+1))continue;h++;break;case ie:if("/"!=a&&"\\"!=a){d=oe;continue}break;case oe:if("@"==a){m&&(p="%40"+p),m=!0,s=f(p);for(var y=0;y<s.length;y++){var b=s[y];if(":"!=b||g){var _=q(b,U);g?e.password+=_:e.username+=_}else g=!0}p=""}else if(a==r||"/"==a||"?"==a||"#"==a||"\\"==a&&H(e)){if(m&&""==p)return"Invalid authority";h-=f(p).length+1,p="",d=ae}else p+=a;break;case ae:case se:if(n&&"file"==e.scheme){d=de;continue}if(":"!=a||v){if(a==r||"/"==a||"?"==a||"#"==a||"\\"==a&&H(e)){if(H(e)&&""==p)return"Invalid host";if(n&&""==p&&(V(e)||null!==e.port))return;if(c=N(e,p))return c;if(p="",d=fe,n)return;continue}"["==a?v=!0:"]"==a&&(v=!1),p+=a}else{if(""==p)return"Invalid host";if(c=N(e,p))return c;if(p="",d=ce,n==se)return}break;case ce:if(!E.test(a)){if(a==r||"/"==a||"?"==a||"#"==a||"\\"==a&&H(e)||n){if(""!=p){var w=parseInt(p,10);if(w>65535)return"Invalid port";e.port=H(e)&&w===z[e.scheme]?null:w,p=""}if(n)return;d=fe;continue}return"Invalid port"}p+=a;break;case ue:if(e.scheme="file","/"==a||"\\"==a)d=le;else{if(!i||"file"!=i.scheme){d=he;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=me;else{if("#"!=a){G(o.slice(h).join(""))||(e.host=i.host,e.path=i.path.slice(),K(e)),d=he;continue}e.host=i.host,e.path=i.path.slice(),e.query=i.query,e.fragment="",d=ve}}break;case le:if("/"==a||"\\"==a){d=de;break}i&&"file"==i.scheme&&!G(o.slice(h).join(""))&&(Y(i.path[0],!0)?e.path.push(i.path[0]):e.host=i.host),d=he;continue;case de:if(a==r||"/"==a||"\\"==a||"?"==a||"#"==a){if(!n&&Y(p))d=he;else if(""==p){if(e.host="",n)return;d=fe}else{if(c=N(e,p))return c;if("localhost"==e.host&&(e.host=""),n)return;p="",d=fe}continue}p+=a;break;case fe:if(H(e)){if(d=he,"/"!=a&&"\\"!=a)continue}else if(n||"?"!=a)if(n||"#"!=a){if(a!=r&&(d=he,"/"!=a))continue}else e.fragment="",d=ve;else e.query="",d=me;break;case he:if(a==r||"/"==a||"\\"==a&&H(e)||!n&&("?"==a||"#"==a)){if(".."===(u=(u=p).toLowerCase())||"%2e."===u||".%2e"===u||"%2e%2e"===u?(K(e),"/"==a||"\\"==a&&H(e)||e.path.push("")):$(p)?"/"==a||"\\"==a&&H(e)||e.path.push(""):("file"==e.scheme&&!e.path.length&&Y(p)&&(e.host&&(e.host=""),p=p.charAt(0)+":"),e.path.push(p)),p="","file"==e.scheme&&(a==r||"?"==a||"#"==a))for(;e.path.length>1&&""===e.path[0];)e.path.shift();"?"==a?(e.query="",d=me):"#"==a&&(e.fragment="",d=ve)}else p+=q(a,F);break;case pe:"?"==a?(e.query="",d=me):"#"==a?(e.fragment="",d=ve):a!=r&&(e.path[0]+=q(a,R));break;case me:n||"#"!=a?a!=r&&("'"==a&&H(e)?e.query+="%27":e.query+="#"==a?"%23":q(a,R)):(e.fragment="",d=ve);break;case ve:a!=r&&(e.fragment+=q(a,B))}h++}},ye=function(e){var t,n,r=u(this,ye,"URL"),o=arguments.length>1?arguments[1]:void 0,a=String(e),s=b(r,{type:"URL"});if(void 0!==o)if(o instanceof ye)t=_(o);else if(n=ge(t={},String(o)))throw TypeError(n);if(n=ge(s,a,null,t))throw TypeError(n);var c=s.searchParams=new v,l=g(c);l.updateSearchParams(s.query),l.updateURL=function(){s.query=String(c)||null},i||(r.href=_e.call(r),r.origin=we.call(r),r.protocol=xe.call(r),r.username=ke.call(r),r.password=Ee.call(r),r.host=Se.call(r),r.hostname=Te.call(r),r.port=Ce.call(r),r.pathname=Oe.call(r),r.search=je.call(r),r.searchParams=Ae.call(r),r.hash=Pe.call(r))},be=ye.prototype,_e=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,c=e.fragment,u=t+":";return null!==i?(u+="//",V(e)&&(u+=n+(r?":"+r:"")+"@"),u+=D(i),null!==o&&(u+=":"+o)):"file"==t&&(u+="//"),u+=e.cannotBeABaseURL?a[0]:a.length?"/"+a.join("/"):"",null!==s&&(u+="?"+s),null!==c&&(u+="#"+c),u},we=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&&H(e)?t+"://"+D(e.host)+(null!==n?":"+n:""):"null"},xe=function(){return _(this).scheme+":"},ke=function(){return _(this).username},Ee=function(){return _(this).password},Se=function(){var e=_(this),t=e.host,n=e.port;return null===t?"":null===n?D(t):D(t)+":"+n},Te=function(){var e=_(this).host;return null===e?"":D(e)},Ce=function(){var e=_(this).port;return null===e?"":String(e)},Oe=function(){var e=_(this),t=e.path;return e.cannotBeABaseURL?t[0]:t.length?"/"+t.join("/"):""},je=function(){var e=_(this).query;return e?"?"+e:""},Ae=function(){return _(this).searchParams},Pe=function(){var e=_(this).fragment;return e?"#"+e:""},Me=function(e,t){return{get:e,set:t,configurable:!0,enumerable:!0}};if(i&&s(be,{href:Me(_e,function(e){var t=_(this),n=String(e),r=ge(t,n);if(r)throw TypeError(r);g(t.searchParams).updateSearchParams(t.query)}),origin:Me(we),protocol:Me(xe,function(e){var t=_(this);ge(t,String(e)+":",X)}),username:Me(ke,function(e){var t=_(this),n=f(String(e));if(!W(t)){t.username="";for(var r=0;r<n.length;r++)t.username+=q(n[r],U)}}),password:Me(Ee,function(e){var t=_(this),n=f(String(e));if(!W(t)){t.password="";for(var r=0;r<n.length;r++)t.password+=q(n[r],U)}}),host:Me(Se,function(e){var t=_(this);t.cannotBeABaseURL||ge(t,String(e),ae)}),hostname:Me(Te,function(e){var t=_(this);t.cannotBeABaseURL||ge(t,String(e),se)}),port:Me(Ce,function(e){var t=_(this);W(t)||(""==(e=String(e))?t.port=null:ge(t,e,ce))}),pathname:Me(Oe,function(e){var t=_(this);t.cannotBeABaseURL||(t.path=[],ge(t,e+"",fe))}),search:Me(je,function(e){var t=_(this);""==(e=String(e))?t.query=null:("?"==e.charAt(0)&&(e=e.slice(1)),t.query="",ge(t,e,me)),g(t.searchParams).updateSearchParams(t.query)}),searchParams:Me(Ae),hash:Me(Pe,function(e){var t=_(this);""!=(e=String(e))?("#"==e.charAt(0)&&(e=e.slice(1)),t.fragment="",ge(t,e,ve)):t.fragment=null})}),c(be,"toJSON",function(){return _e.call(this)},{enumerable:!0}),c(be,"toString",function(){return _e.call(this)},{enumerable:!0}),a){var Ne=a.createObjectURL,Le=a.revokeObjectURL;Ne&&c(ye,"createObjectURL",function(e){return Ne.apply(a,arguments)}),Le&&c(ye,"revokeObjectURL",function(e){return Le.apply(a,arguments)})}n(455)(ye,"URL"),n(47)({global:!0,forced:!o,sham:!i},{URL:ye})},function(e,t,n){"use strict";var r=/[^\0-\u007E]/,i=/[\u002E\u3002\uFF0E\uFF61]/g,o="Overflow: input needs wider integers to process",a=Math.floor,s=String.fromCharCode,c=function(e){return e+22+75*(e<26)},u=function(e,t,n){var r=0;for(e=n?a(e/700):e>>1,e+=a(e/t);e>455;r+=36)e=a(e/35);return a(r+36*e/(e+38))},l=function(e){var t,n,r=[],i=(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)).length,l=128,d=0,f=72;for(t=0;t<e.length;t++)(n=e[t])<128&&r.push(s(n));var h=r.length,p=h;for(h&&r.push("-");p<i;){var m=2147483647;for(t=0;t<e.length;t++)(n=e[t])>=l&&n<m&&(m=n);var v=p+1;if(m-l>a((2147483647-d)/v))throw RangeError(o);for(d+=(m-l)*v,l=m,t=0;t<e.length;t++){if((n=e[t])<l&&++d>2147483647)throw RangeError(o);if(n==l){for(var g=d,y=36;;y+=36){var b=y<=f?1:y>=f+26?26:y-f;if(g<b)break;var _=g-b,w=36-b;r.push(s(c(b+_%w))),g=a(_/w)}r.push(s(c(g))),f=u(d,v,p==h),d=0,++p}}++d,++l}return r.join("")};e.exports=function(e){var t,n,o=[],a=e.toLowerCase().replace(i,".").split(".");for(t=0;t<a.length;t++)n=a[t],o.push(r.test(n)?"xn--"+l(n):n);return o.join(".")}},function(e,t,n){var r=n(167),i=n(1089);e.exports=function(e){var t=i(e);if("function"!=typeof t)throw TypeError(String(e)+" is not iterable");return r(t.call(e))}},function(e,t,n){"use strict";n(47)({target:"URL",proto:!0,enumerable:!0},{toJSON:function(){return URL.prototype.toString.call(this)}})},function(e,t,n){var r=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 c(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===h){if("throw"===i)throw o;return j()}for(n.method=i,n.arg=o;;){var a=n.delegate;if(a){var s=E(a,n);if(s){if(s===p)continue;return s}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(r===l)throw r=h,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);r=f;var c=u(e,t,n);if("normal"===c.type){if(r=n.done?h:d,c.arg===p)continue;return{value:c.arg,done:n.done}}"throw"===c.type&&(r=h,n.method="throw",n.arg=c.arg)}}}(e,n,a),o}function u(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(e){return{type:"throw",arg:e}}}e.wrap=c;var l="suspendedStart",d="suspendedYield",f="executing",h="completed",p={};function m(){}function v(){}function g(){}var y={};y[o]=function(){return this};var b=Object.getPrototypeOf,_=b&&b(b(O([])));_&&_!==n&&r.call(_,o)&&(y=_);var w=g.prototype=m.prototype=Object.create(y);function x(e){["next","throw","return"].forEach(function(t){e[t]=function(e){return this._invoke(t,e)}})}function k(e){var t;this._invoke=function(n,i){function o(){return new Promise(function(t,o){!function t(n,i,o,a){var s=u(e[n],e,i);if("throw"!==s.type){var c=s.arg,l=c.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){c.value=e,o(c)},function(e){return t("throw",e,o,a)})}a(s.arg)}(n,i,t,o)})}return t=t?t.then(o,o):o()}}function E(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,E(e,n),"throw"===n.method))return p;n.method="throw",n.arg=new TypeError("The iterator does not provide a 'throw' method")}return p}var i=u(r,e.iterator,n.arg);if("throw"===i.type)return n.method="throw",n.arg=i.arg,n.delegate=null,p;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,p):o:(n.method="throw",n.arg=new TypeError("iterator result is not an object"),n.delegate=null,p)}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 O(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:j}}function j(){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}},x(k.prototype),k.prototype[a]=function(){return this},e.AsyncIterator=k,e.async=function(t,n,r,i){var o=new k(c(t,n,r,i));return e.isGeneratorFunction(n)?o:o.next().then(function(e){return e.done?e.value:o.next()})},x(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=O,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 c=r.call(a,"catchLoc"),u=r.call(a,"finallyLoc");if(c&&u){if(this.prev<a.catchLoc)return i(a.catchLoc,!0);if(this.prev<a.finallyLoc)return i(a.finallyLoc)}else if(c){if(this.prev<a.catchLoc)return i(a.catchLoc,!0)}else{if(!u)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,p):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),p},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),p}},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:O(e),resultName:n,nextLoc:r},"next"===this.method&&(this.arg=t),p}},e}(e.exports);try{regeneratorRuntime=r}catch(e){Function("r","regeneratorRuntime = r")(r)}},function(e,t){!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()}}}}()},function(e,t,n){"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(){var o;i=!1,"blur"===r.type&&Array.prototype.slice.call(e(r.target)).forEach((o="focus-within",function(e){var t=void 0!==e.getAttribute?e.getAttribute("class")||"":void 0;if(t){var r=t.indexOf(o);0<=r&&(0===r||0<=n.indexOf(t.charAt(r-1)))&&(""===(t=t.replace(o,"").trim())?e.removeAttribute("class"):e.setAttribute("class",t))}})),"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}()}}()},function(e,t){!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?d(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),c(e,"resize",r,!0)),c(t,"scroll",r,!0),a&&a.disconnect()});var u=this.root&&(this.root.ownerDocument||this.root)||e;if(t!=u){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;if(!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})){var o=this._monitoringUnsubscribes[n];if(this._monitoringDocuments.splice(n,1),this._monitoringUnsubscribes.splice(n,1),o(),t!=r){var a=i(t);a&&this._unmonitorIntersections(a.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=u(i),s=this._rootContainsTarget(i),c=r.entry,l=e&&s&&this._computeTargetAndRootIntersection(i,a,t),d=null;this._rootContainsTarget(i)?n&&!this.root||(d=t):d={top:0,bottom:0,left:0,right:0,width:0,height:0};var f=r.entry=new o({time:window.performance&&performance.now&&performance.now(),target:i,boundingClientRect:a,rootBounds:d,intersectionRect:l});c?e&&s?this._hasCrossedThreshold(c,f)&&this._queuedEntries.push(f):c&&c.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,s,c,l,f,p,m,v,g=i,y=h(t),b=!1;!b&&y;){var _=null,w=1==y.nodeType?window.getComputedStyle(y):{};if("none"==w.display)return null;if(y==this.root||9==y.nodeType)if(b=!0,y==this.root||y==e)n&&!this.root?!r||0==r.width&&0==r.height?(y=null,_=null,g=null):_=r:_=o;else{var x=h(y),k=x&&u(x),E=x&&this._computeTargetAndRootIntersection(x,k,o);k&&E?(y=x,_=d(k,E)):(y=null,g=null)}else{var S=y.ownerDocument;y!=S.body&&y!=S.documentElement&&"visible"!=w.overflow&&(_=u(y))}if(_&&(a=_,s=g,c=void 0,l=void 0,f=void 0,p=void 0,m=void 0,v=void 0,c=Math.max(a.top,s.top),l=Math.min(a.bottom,s.bottom),f=Math.max(a.left,s.left),p=Math.min(a.right,s.right),v=l-c,g=(m=p-f)>=0&&v>=0&&{top:c,bottom:l,left:f,right:p,width:m,height:v}||null),!g)break;y=y&&h(y)}return g}},a.prototype._getRootRect=function(){var t;if(this.root&&!p(this.root))t=u(this.root);else{var n=p(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||f(e,this.root)},a.prototype._rootContainsTarget=function(t){var n=this.root&&(this.root.ownerDocument||this.root)||e;return f(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=l(e.rootBounds),this.boundingClientRect=l(e.boundingClientRect),this.intersectionRect=l(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 c(e,t,n,r){"function"==typeof e.removeEventListener?e.removeEventListener(t,n,r||!1):"function"==typeof e.detatchEvent&&e.detatchEvent("on"+t,n)}function u(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 l(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 d(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 f(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 p(e){return e&&9===e.nodeType}}()},function(e,t,n){},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=o(n(0)),i=o(n(2179));function o(e){return e&&e.__esModule?e:{default:e}}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}var s=function(e){function t(){var e,n,i;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);for(var o=arguments.length,s=Array(o),c=0;c<o;c++)s[c]=arguments[c];return n=i=a(this,(e=t.__proto__||Object.getPrototypeOf(t)).call.apply(e,[this].concat(s))),i.render=function(){return r.default.createElement("a",i.props,i.props.children)},a(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,r.default.Component),t}();t.default=(0,i.default)(s)},function(e,t,n){"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}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(2181),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)})}}},function(e,t,n){"use strict";var r=n(412),i=n(413),o=n(2607);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}},function(e,t,n){"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},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(0)),o=a(n(2179));function a(e){return e&&e.__esModule?e:{default:e}}var s=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(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,i.default.Component),r(t,[{key:"render",value:function(){return i.default.createElement("input",this.props,this.props.children)}}]),t}();t.default=(0,o.default)(s)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},i=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),o=c(n(0)),a=c(n(2242)),s=c(n(1221));function c(e){return e&&e.__esModule?e:{default:e}}var u=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,o.default.Component),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}();u.propTypes={name:s.default.string,id:s.default.string},t.default=(0,a.default)(u)},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 c=n(0),u=(n(84),n(1093),n(2180)),l=n(1220),d=n(1221),f=n(2241),h={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},p={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 p.call(t),t.state={active:!1},t}return s(l,c.Component),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();u.isMounted(e)||u.mount(e),this.props.hashSpy&&(f.isMounted()||f.mount(n),f.mapContainer(this.props.to,e)),this.props.spy&&u.addStateHandler(this.stateHandler),u.addSpyHandler(this.spyHandler,e),this.setState({container:e})}}},{key:"componentWillUnmount",value:function(){u.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 h)n.hasOwnProperty(i)&&delete n[i];return n.className=t,n.onClick=this.handleClick,c.createElement(e,n)}}]),l}(),p=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,c=0;if(r.getBoundingClientRect)c=r.getBoundingClientRect().top;if(!o||e.props.isDynamic){if(!(o=n.get(i)))return;var l=o.getBoundingClientRect();s=(a=l.top-c+t)+l.height}var d=t-e.props.offset,h=d>=Math.floor(a)&&d<Math.floor(s),p=d<Math.floor(a)||d>=Math.floor(s),m=n.getActiveLink();return p?(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()),u.updateStates()):h&&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)),u.updateStates()):void 0}}};return d.propTypes=h,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,c.Component),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 c.createElement(e,r({},this.props,{parentBindings:this.childBindings}))}}]),n}();return t.propTypes={name:d.string,id:d.string},t}};e.exports=p},function(e,t,n){"use strict";function r(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=[],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")}()}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=function(){var e=r(arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],4),t=e[0],n=void 0===t?0:t,i=e[1],o=void 0===i?0:i,a=e[2],s=void 0===a?0:a,c=e[3],u=void 0===c?1:c;return"rgba(".concat(n,",").concat(o,",").concat(s,",").concat(u,")")};t.default=i},function(e,t,n){var r=n(2613);e.exports=r},function(e,t,n){var r=n(2614),i=Array.prototype;e.exports=function(e){var t=e.find;return e===i||e instanceof Array&&t===i.find?r:t}},function(e,t,n){n(2615);var r=n(151);e.exports=r("Array").find},function(e,t,n){"use strict";var r=n(45),i=n(395).find,o=n(476),a=!0;"find"in[]&&Array(1).find(function(){a=!1}),r({target:"Array",proto:!0,forced:a},{find:function(e){return i(this,e,arguments.length>1?arguments[1]:void 0)}}),o("find")},function(e,t,n){var r=n(2617);e.exports=r},function(e,t,n){var r=n(2618),i=Array.prototype;e.exports=function(e){var t=e.findIndex;return e===i||e instanceof Array&&t===i.findIndex?r:t}},function(e,t,n){n(2619);var r=n(151);e.exports=r("Array").findIndex},function(e,t,n){"use strict";var r=n(45),i=n(395).findIndex,o=n(476),a=!0;"findIndex"in[]&&Array(1).findIndex(function(){a=!1}),r({target:"Array",proto:!0,forced:a},{findIndex:function(e){return i(this,e,arguments.length>1?arguments[1]:void 0)}}),o("findIndex")},function(e,t,n){},function(e,t,n){},function(e,t,n){"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}},function(e,t,n){},function(e,t,n){},function(e,t,n){var r=n(2626);e.exports=r},function(e,t,n){n(2627),e.exports=9007199254740991},function(e,t,n){n(45)({target:"Number",stat:!0},{MAX_SAFE_INTEGER:9007199254740991})},function(e,t,n){},function(e,t,n){e.exports=n(2630)()},function(e,t,n){"use strict";var r=n(412),i=n(413),o=n(2631);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}},function(e,t,n){"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},function(e,t,n){"use strict";var r=n(0),i=s(r),o=s(n(2633)),a=s(n(2634));function s(e){return e&&e.__esModule?e:{default:e}}e.exports=function(e,t,n){if("function"!=typeof e)throw new Error("Expected reducePropsToState to be a function.");if("function"!=typeof t)throw new Error("Expected handleStateChangeOnClient to be a function.");if(void 0!==n&&"function"!=typeof n)throw new Error("Expected mapStateOnServer to either be undefined or a function.");return function(s){if("function"!=typeof s)throw new Error("Expected WrappedComponent to be a React component.");var c=[],u=void 0;function l(){u=e(c.map(function(e){return e.props})),d.canUseDOM?t(u):n&&(u=n(u))}var d=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,e.apply(this,arguments))}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),t.peek=function(){return u},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=u;return u=void 0,c=[],e},t.prototype.shouldComponentUpdate=function(e){return!(0,a.default)(e,this.props)},t.prototype.componentWillMount=function(){c.push(this),l()},t.prototype.componentDidUpdate=function(){l()},t.prototype.componentWillUnmount=function(){var e=c.indexOf(this);c.splice(e,1),l()},t.prototype.render=function(){return i.default.createElement(s,this.props)},t}(r.Component);return d.displayName="SideEffect("+function(e){return e.displayName||e.name||"Component"}(s)+")",d.canUseDOM=o.default.canUseDOM,d}}},function(e,t,n){var r;
/*!
  Copyright (c) 2015 Jed Watson.
  Based on code that is Copyright 2013-2015, Facebook, Inc.
  All rights reserved.
*/
/*!
  Copyright (c) 2015 Jed Watson.
  Based on code that is Copyright 2013-2015, Facebook, Inc.
  All rights reserved.
*/
!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)}()},function(e,t){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),c=0;c<o.length;c++){var u=o[c];if(!s(u))return!1;var l=e[u],d=t[u];if(!1===(i=n?n.call(r,l,d,u):void 0)||void 0===i&&l!==d)return!1}return!0}},function(e,t,n){},function(e,t,n){},function(e,t,n){},function(e,t,n){},function(e,t,n){},function(e,t,n){},function(e,t,n){},function(e,t,n){var r=n(187)(n(2643));e.exports=r},function(e,t){e.exports=function(e){return e}},function(e,t,n){var r=n(2645);e.exports=r},function(e,t,n){var r=n(2646),i=Array.prototype;e.exports=function(e){var t=e.sort;return e===i||e instanceof Array&&t===i.sort?r:t}},function(e,t,n){n(2647);var r=n(151);e.exports=r("Array").sort},function(e,t,n){"use strict";var r=n(45),i=n(142),o=n(215),a=n(216),s=n(121),c=n(2648),u=n(1198),l=n(2649),d=n(2650),f=n(450),h=n(2651),p=[],m=p.sort,v=s(function(){p.sort(void 0)}),g=s(function(){p.sort(null)}),y=u("sort"),b=!s(function(){if(f)return f<70;if(!(l&&l>3)){if(d)return!0;if(h)return h<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++)p.push({k:t+r,v:n})}for(p.sort(function(e,t){return t.v-e.v}),r=0;r<p.length;r++)t=p[r].k.charAt(0),i.charAt(i.length-1)!==t&&(i+=t);return"DGBEFHACIJK"!==i}});r({target:"Array",proto:!0,forced:v||!g||!y||!b},{sort:function(e){void 0!==e&&i(e);var t=o(this);if(b)return void 0===e?m.call(t):m.call(t,e);var n,r,s=[],u=a(t.length);for(r=0;r<u;r++)r in t&&s.push(t[r]);for(n=(s=c(s,function(e){return function(t,n){return void 0===n?-1:void 0===t?1:void 0!==e?+e(t,n)||0:String(t)>String(n)?1:-1}}(e))).length,r=0;r<n;)t[r]=s[r++];for(;r<u;)delete t[r++];return t}})},function(e,t){var n=Math.floor,r=function(e,t){var a=e.length,s=n(a/2);return a<8?i(e,t):o(r(e.slice(0,s),t),r(e.slice(s),t),t)},i=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},o=function(e,t,n){for(var r=e.length,i=t.length,o=0,a=0,s=[];o<r||a<i;)o<r&&a<i?s.push(n(e[o],t[a])<=0?e[o++]:t[a++]):s.push(o<r?e[o++]:t[a++]);return s};e.exports=r},function(e,t,n){var r=n(377).match(/firefox\/(\d+)/i);e.exports=!!r&&+r[1]},function(e,t,n){var r=n(377);e.exports=/MSIE|Trident/.test(r)},function(e,t,n){var r=n(377).match(/AppleWebKit\/(\d+)\./);e.exports=!!r&&+r[1]},function(e,t,n){},function(e,t,n){},function(e,t,n){},function(e,t,n){},function(e,t,n){},function(e,t,n){},function(e,t,n){},function(e,t,n){},function(e,t,n){},function(e,t,n){},function(e,t,n){},function(e,t,n){},function(e,t,n){},function(e,t,n){var r=n(1227),i=n(1226);e.exports=function e(t,n,o){return function(){for(var a=[],s=0,c=t,u=0;u<n.length||s<arguments.length;){var l;u<n.length&&(!i(n[u])||s>=arguments.length)?l=n[u]:(l=arguments[s],s+=1),a[u]=l,i(l)||(c-=1),u+=1}return c<=0?o.apply(this,a):r(c,e(t,a,o))}}},function(e,t){e.exports=function(e,t){return function(){return t.call(this,e.apply(this,arguments))}}},function(e,t,n){var r=n(2184)(n(2185));e.exports=r},function(e,t,n){var r=n(256),i=n(520),o=n(2186),a=n(2669),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},function(e,t){e.exports=function(e){return"[object String]"===Object.prototype.toString.call(e)}},function(e,t){var n=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 n(e)}},function(e,t,n){var r=n(1227),i=n(312)(function(e,t){return r(e.length,function(){return e.apply(t,arguments)})});e.exports=i},function(e,t,n){var r=n(2269),i=n(520)(r("tail",n(2673)(1,1/0)));e.exports=i},function(e,t,n){var r=n(41),i=n(2269),o=n(2184)(i("slice",function(e,t,n){return r(Array.prototype).call(n,e,t)}));e.exports=o},function(e,t){e.exports=function(e){return null!=e&&"function"==typeof e["@@transducer/step"]}},function(e,t,n){var r=n(312),i=n(2272),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},function(e,t,n){var r=n(1228),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},function(e,t,n){var r=n(41),i=n(312),o=n(2678),a=n(2183),s=n(2679),c=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=c},function(e,t){e.exports=function(e){return"[object Function]"===Object.prototype.toString.call(e)}},function(e,t,n){var r=n(520),i=n(2680),o=r(function(e){return i(e,[])});e.exports=o},function(e,t,n){var r=n(256),i=n(4),o=n(1239),a=n(41),s=n(2681),c=n(2271),u=n(2700),l=n(2701),d=n(1229),f=n(2702);e.exports=function e(t,n){var h,p=function(r){var o=i(n).call(n,[t]);return s(r,o)?"<Circular>":e(r,o)},m=function(e,t){var n;return c(function(t){return u(t)+": "+p(e[t])},o(n=a(t).call(t)).call(n))};switch(Object.prototype.toString.call(t)){case"[object Arguments]":return"(function() { return arguments; }("+c(p,t).join(", ")+"))";case"[object Array]":return"["+i(h=c(p,t)).call(h,m(t,f(function(e){return/^\d+$/.test(e)},d(t)))).join(", ")+"]";case"[object Boolean]":return"object"===r(t)?"new Boolean("+p(t.valueOf())+")":t.toString();case"[object Date]":return"new Date("+(isNaN(t.valueOf())?p(NaN):u(l(t)))+")";case"[object Null]":return"null";case"[object Number]":return"object"===r(t)?"new Number("+p(t.valueOf())+")":1/t==-1/0?"-0":t.toString(10);case"[object String]":return"object"===r(t)?"new String("+p(t.valueOf())+")":u(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(", ")+"}"}}},function(e,t,n){var r=n(2682);e.exports=function(e,t){return r(t,e,0)>=0}},function(e,t,n){var r=n(256),i=n(2683);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}},function(e,t,n){var r=n(312),i=n(2684),o=r(function(e,t){return i(e,t,[],[])});e.exports=o},function(e,t,n){var r=n(256),i=n(41),o=n(2685),a=n(4),s=n(156),c=n(2690),u=n(2691),l=n(2692),d=n(1228),f=n(2693),h=n(1229),p=n(2699);function m(e,t,n,r){var o=c(e),a=c(t);function s(e,t){return v(e,t,i(n).call(n),i(r).call(r))}return!u(function(e,t){return!u(s,t,e)},a,o)}function v(e,t,n,i){if(f(e,t))return!0;var c=p(e);if(c!==p(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(c){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 u=n.length-1;u>=0;){if(n[u]===e)return i[u]===t;u-=1}switch(c){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=h(e);if(g.length!==h(t).length)return!1;var y=a(n).call(n,[e]),b=a(i).call(i,[t]);for(u=g.length-1;u>=0;){var _=g[u];if(!d(_,t)||!v(t[_],e[_],y,b))return!1;u-=1}return!0}e.exports=v},function(e,t,n){e.exports=n(2686)},function(e,t,n){var r=n(2687);e.exports=r},function(e,t,n){n(330);var r=n(2688),i=n(329),o=Array.prototype,a={DOMTokenList:!0,NodeList:!0};e.exports=function(e){var t=e.entries;return e===o||e instanceof Array&&t===o.entries||a.hasOwnProperty(i(e))?r:t}},function(e,t,n){var r=n(2689);e.exports=r},function(e,t,n){n(451);var r=n(151);e.exports=r("Array").entries},function(e,t){e.exports=function(e){for(var t,n=[];!(t=e.next()).done;)n.push(t.value);return n}},function(e,t){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}},function(e,t){e.exports=function(e){var t=String(e).match(/^function (\w*)/);return null==t?"":t[1]}},function(e,t,n){var r=n(2694);e.exports="function"==typeof r?r:function(e,t){return e===t?0!==e||1/e==1/t:e!=e&&t!=t}},function(e,t,n){e.exports=n(2695)},function(e,t,n){var r=n(2696);e.exports=r},function(e,t,n){n(2697);var r=n(104);e.exports=r.Object.is},function(e,t,n){n(45)({target:"Object",stat:!0},{is:n(2698)})},function(e,t){e.exports=Object.is||function(e,t){return e===t?0!==e||1/e==1/t:e!=e&&t!=t}},function(e,t,n){var r=n(41),i=n(520)(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},function(e,t){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,'\\"')+'"'}},function(e,t,n){var r=n(41),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},function(e,t,n){var r=n(2703),i=n(312),o=n(2704),a=i(function(e,t){return o(r(e),t)});e.exports=a},function(e,t){e.exports=function(e){return function(){return!e.apply(this,arguments)}}},function(e,t,n){var r=n(312),i=n(2270),o=n(2705),a=n(2706),s=n(2185),c=n(2707),u=n(1229),l=r(i(["filter"],c,function(e,t){return a(t)?s(function(n,r){return e(t[r])&&(n[r]=t[r]),n},{},u(t)):o(e,t)}));e.exports=l},function(e,t){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}},function(e,t){e.exports=function(e){return"[object Object]"===Object.prototype.toString.call(e)}},function(e,t,n){var r=n(312),i=n(2272),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},function(e,t,n){},function(e,t,n){
/** @license ISC License (c) copyright 2016 original and current authors */
var r=n(573),i=n(378),o=n(379),a=n(191).type("Pair"),s=n(191).typeFn(a(),4),c=n(170),u=n(730),l=n(452),d=n(243),f=n(83),h=n(201),p=n(453);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)+" )"};function y(e){return h(m,e)&&r(e.fst(),i())&&r(e.snd(),v())}function b(e){return function(t){if(!h(m,t))throw new TypeError("Pair."+e+": Pair required");var n=i(),r=v(),o=t.fst(),a=t.snd();if(!p(n)||!p(r))throw new TypeError("Pair."+e+": Both Pairs must contain Semigroups of the same type");if(!h(n,o)||!h(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 _(n){return function(r){if(!f(r))throw new TypeError("Pair."+n+": Function required");return m(e,r(t))}}function w(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 x(e){return function(t){var n=i();if(!f(t))throw new TypeError("Pair."+e+": Function required");if(!p(n))throw new TypeError("Pair."+e+": Semigroups of the same type required for first values");var r=t(v());if(!h(m,r))throw new TypeError("Pair."+e+": Function must return a Pair");var o=r.fst();if(!h(n,o))throw new TypeError("Pair."+e+": Semigroups of the same type required for first values");return m(n.concat(o),r.snd())}}function k(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:function(){return[e,t]},type:a,merge:function(e){if(!f(e))throw new TypeError("Pair.merge: Binary function required");return e(i(),v())},equals:y,swap:function(n,r){if(!f(n)||!f(r))throw new TypeError("Pair.swap: Requires both left and right functions");return m(r(t),n(e))},ap:function(e){if(!h(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(!p(n)||!h(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()))},sequence:function(n){if(!u(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)})},traverse:function(n,r){if(!u(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)})},concat:b("concat"),map:_("map"),bimap:w("bimap"),chain:x("chain"),extend:k("extend")})[c.equals]=y,n[c.concat]=b(c.concat),n[c.map]=_(c.map),n[c.bimap]=w(c.bimap),n[c.chain]=x(c.chain),n[c.extend]=k(c.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},function(e,t,n){
/** @license ISC License (c) copyright 2017 original and current authors */
var r=n(217);e.exports=function(e){return!!e&&r("compose",e)}},function(e,t,n){},function(e,t,n){},function(e,t,n){},function(e,t,n){},function(e,t,n){},function(e,t,n){},function(e,t,n){},function(e,t,n){},function(e,t,n){},function(e,t,n){},function(e,t,n){},function(e,t,n){},function(e,t,n){},function(e,t,n){},function(e,t,n){},function(e,t,n){},function(e,t,n){},function(e,t,n){},function(e,t,n){},function(e,t,n){},function(e,t,n){},function(e,t,n){},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,i=(r=n(0))&&"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.AppContainer=o,t.hot=a,t.areComponentsEqual=function(e,t){return e===t},t.setConfig=function(){},t.cold=function(e){return e},t.configureComponent=function(){}},,function(e,t,n){"use strict";n.r(t);var r=n(262),i=n.n(r),o=(n(2401),n(2403),n(2404),n(2405),n(2406),n(2407),n(2408),n(2409),n(2410),n(2411),n(2412),n(2413),n(2414),n(2415),n(2416),n(2417),n(2418),n(2419),n(2420),n(2421),n(2422),n(2423),n(2424),n(2425),n(1209),n(2426),n(2427),n(2428),n(2429),n(2430),n(2431),n(2432),n(2433),n(2434),n(2435),n(2436),n(2437),n(2438),n(2440),n(2441),n(2442),n(2443),n(2444),n(2445),n(2446),n(2447),n(2448),n(2449),n(2450),n(2451),n(2453),n(2454),n(2455),n(2456),n(2457),n(2458),n(2459),n(2460),n(2461),n(2462),n(2463),n(2464),n(2465),n(2467),n(2468),n(2469),n(2470),n(2471),n(2472),n(2474),n(2476),n(2478),n(2479),n(2480),n(2481),n(2482),n(2483),n(2484),n(2485),n(2486),n(2487),n(2488),n(2489),n(2490),n(2491),n(2492),n(2493),n(2494),n(2495),n(2496),n(2497),n(2499),n(2500),n(2503),n(2504),n(2505),n(2507),n(2508),n(2509),n(2510),n(2511),n(2512),n(2513),n(2514),n(2515),n(2516),n(2517),n(2518),n(2519),n(2520),n(2521),n(2522),n(2523),n(2524),n(2525),n(2526),n(2231),n(2527),n(2528),n(2529),n(2530),n(2531),n(2532),n(2533),n(2534),n(2535),n(2536),n(2537),n(2538),n(2539),n(2540),n(2541),n(2542),n(2543),n(2544),n(2545),n(2546),n(2547),n(2548),n(2549),n(2550),n(2551),n(2552),n(2553),n(2554),n(2555),n(2556),n(2557),n(2558),n(2559),n(2560),n(2561),n(2562),n(2563),n(2564),n(2565),n(2566),n(2567),n(2568),n(2569),n(2570),n(2571),n(2572),n(2573),n(2575),n(2576),n(2577),n(2578),n(2579),n(2580),n(2581),n(2582),n(2583),n(2584),n(2585),n(2586),n(2587),n(2588),n(2589),n(2591),n(2592),n(2593),n(2594),n(2597),n(2239),n(2598),n(2599),n(2600),n(2601),n(2300)),a=n.n(o);window.URLSearchParams=i.a||a.a,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});var s=n(0),c=n.n(s),u=n(84),l=n(110),d=n(77),f=n(271),h=n.n(f),p=n(1234),m=n.n(p);function v(e){return"/"===e.charAt(0)}function g(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 y=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",n=e&&e.split("/")||[],r=t&&t.split("/")||[],i=e&&v(e),o=t&&v(t),a=i||o;if(e&&v(e)?r=n:n.length&&(r.pop(),r=r.concat(n)),!r.length)return"/";var s=void 0;if(r.length){var c=r[r.length-1];s="."===c||".."===c||""===c}else s=!1;for(var u=0,l=r.length;l>=0;l--){var d=r[l];"."===d?g(r,l):".."===d?(g(r,l),u++):u&&(g(r,l),u--)}if(!a)for(;u--;u)r.unshift("..");!a||""===r[0]||r[0]&&v(r[0])||r.unshift("");var f=r.join("/");return s&&"/"!==f.substr(-1)&&(f+="/"),f},b="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e};var _=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":b(t);if(r!==(void 0===n?"undefined":b(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},w=function(e){return"/"===e.charAt(0)?e:"/"+e},x=function(e){return"/"===e.charAt(0)?e.substr(1):e},k=function(e,t){return new RegExp("^"+t+"(\\/|\\?|#|$)","i").test(e)},E=function(e,t){return k(e,t)?e.substr(t.length):e},S=function(e){return"/"===e.charAt(e.length-1)?e.slice(0,-1):e},T=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},C=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},O=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)).state=t:(void 0===(i=C({},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=y(i.pathname,r.pathname)):i.pathname=r.pathname:i.pathname||(i.pathname="/"),i},j=function(){var e=null,t=[];return{setPrompt:function(t){return h()(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):(h()(!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)})}}},A=!("undefined"==typeof window||!window.document||!window.document.createElement),P=function(e,t,n){return e.addEventListener?e.addEventListener(t,n,!1):e.attachEvent("on"+t,n)},M=function(e,t,n){return e.removeEventListener?e.removeEventListener(t,n,!1):e.detachEvent("on"+t,n)},N=function(e,t){return t(window.confirm(e))},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={hashbang:{encodePath:function(e){return"!"===e.charAt(0)?e:"!/"+x(e)},decodePath:function(e){return"!"===e.charAt(0)?e.substr(1):e}},noslash:{encodePath:x,decodePath:w},slash:{encodePath:w,decodePath:w}},D=function(){var e=window.location.href,t=e.indexOf("#");return-1===t?"":e.substring(t+1)},R=function(e){var t=window.location.href.indexOf("#");window.location.replace(window.location.href.slice(0,t>=0?t:0)+"#"+e)},B=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};m()(A,"Hash history needs a DOM");var t=window.history,n=-1===window.navigator.userAgent.indexOf("Firefox"),r=e.getUserConfirmation,i=void 0===r?N:r,o=e.hashType,a=void 0===o?"slash":o,s=e.basename?S(w(e.basename)):"",c=I[a],u=c.encodePath,l=c.decodePath,d=function(){var e=l(D());return h()(!s||k(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(e,s)),O(e)},f=j(),p=function(e){L(W,e),W.length=t.length,f.notifyListeners(W.location,W.action)},v=!1,g=null,y=function(){var e,t,n=D(),r=u(n);if(n!==r)R(r);else{var i=d(),o=W.location;if(!v&&(t=i,(e=o).pathname===t.pathname&&e.search===t.search&&e.hash===t.hash&&e.key===t.key&&_(e.state,t.state)))return;if(g===T(i))return;g=null,b(i)}},b=function(e){v?(v=!1,p()):f.confirmTransitionTo(e,"POP",i,function(t){t?p({action:"POP",location:e}):x(e)})},x=function(e){var t=W.location,n=U.lastIndexOf(T(t));-1===n&&(n=0);var r=U.lastIndexOf(T(e));-1===r&&(r=0);var i=n-r;i&&(v=!0,q(i))},C=D(),B=u(C);C!==B&&R(B);var F=d(),U=[T(F)],q=function(e){h()(n,"Hash history go(n) causes a full page reload in this browser"),t.go(e)},z=0,H=function(e){1===(z+=e)?P(window,"hashchange",y):0===z&&M(window,"hashchange",y)},V=!1,W={length:t.length,action:"POP",location:F,createHref:function(e){return"#"+u(s+T(e))},push:function(e,t){h()(void 0===t,"Hash history cannot push state; it is ignored");var n=O(e,void 0,void 0,W.location);f.confirmTransitionTo(n,"PUSH",i,function(e){if(e){var t=T(n),r=u(s+t);if(D()!==r){g=t,function(e){window.location.hash=e}(r);var i=U.lastIndexOf(T(W.location)),o=U.slice(0,-1===i?0:i+1);o.push(t),U=o,p({action:"PUSH",location:n})}else h()(!1,"Hash history cannot PUSH the same path; a new entry will not be added to the history stack"),p()}})},replace:function(e,t){h()(void 0===t,"Hash history cannot replace state; it is ignored");var n=O(e,void 0,void 0,W.location);f.confirmTransitionTo(n,"REPLACE",i,function(e){if(e){var t=T(n),r=u(s+t);D()!==r&&(g=t,R(r));var i=U.indexOf(T(W.location));-1!==i&&(U[i]=t),p({action:"REPLACE",location:n})}})},go:q,goBack:function(){return q(-1)},goForward:function(){return q(1)},block:function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=f.setPrompt(e);return V||(H(1),V=!0),function(){return V&&(V=!1,H(-1)),t()}},listen:function(e){var t=f.appendListener(e);return H(1),function(){H(-1),t()}}};return W},F=("function"==typeof Symbol&&Symbol.iterator,Object.assign,n(2602),n(1354),n(691)),U=n(73),q=n(90),z=n(2301),H=n(2311),V=n(2312),W=B();Object(U.n)(W),Object(u.render)(c.a.createElement(s.Suspense,{fallback:null},c.a.createElement(d.a,{store:q.b},c.a.createElement(z.a,null,c.a.createElement(F.a,null,c.a.createElement(H.a,null,c.a.createElement(l.b,{history:W},c.a.createElement(l.a,{path:"/",component:V.a}))))))),document.getElementById("app"))}]);