!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=2825)}([function(e,t,n){"use strict";e.exports=n(1315)},function(e,t,n){e.exports=n(1326)()},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(1329)},function(e,t,n){e.exports=n(1378)},function(e,t,n){"use strict";n.d(t,"a",function(){return s});var r=n(566),i=n.n(r),o=n(567),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(24),i=n(499);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(564),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(564),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(565),i=n.n(r),o=n(373);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(108))},function(e,t,n){"use strict";n.d(t,"a",function(){return a});var r=n(280),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){e.exports=n(1428)},function(e,t,n){var r=n(19);e.exports=r(function(e,t){return t[e]})},function(e,t,n){var r=n(57);e.exports=r(function(e){return function(){return e}})},function(e,t,n){"use strict";n.d(t,"a",function(){return o});var r=n(63),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){var r=n(64),i=n(37);e.exports=r(function(e,t,n){return i(t,n[e])})},function(e,t,n){var r=n(57),i=n(497);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){e.exports={F:n(1694),T:n(71),__:n(224),add:n(281),addIndex:n(197),adjust:n(339),all:n(284),allPass:n(313),always:n(16),and:n(905),any:n(370),anyPass:n(308),ap:n(549),aperture:n(1695),append:n(203),apply:n(554),applySpec:n(1698),ascend:n(559),assoc:n(27),assocPath:n(196),binary:n(1699),bind:n(797),both:n(147),call:n(1700),chain:n(673),clamp:n(1704),clone:n(1705),comparator:n(1706),complement:n(109),compose:n(7),composeK:n(920),composeP:n(445),concat:n(55),cond:n(38),construct:n(1707),constructN:n(921),contains:n(110),converge:n(553),countBy:n(1708),curry:n(75),curryN:n(58),dec:n(253),defaultTo:n(160),descend:n(1710),difference:n(556),differenceWith:n(922),dissoc:n(248),dissocPath:n(1711),divide:n(283),drop:n(557),dropLast:n(703),dropLastWhile:n(1713),dropRepeats:n(1716),dropRepeatsWith:n(924),dropWhile:n(1717),either:n(126),empty:n(827),endsWith:n(1719),eqBy:n(1720),eqProps:n(1128),equals:n(37),evolve:n(129),filter:n(53),find:n(65),findIndex:n(150),findLast:n(704),findLastIndex:n(1721),flatten:n(173),flip:n(49),forEach:n(450),forEachObjIndexed:n(1723),fromPairs:n(309),groupBy:n(1724),groupWith:n(1725),gt:n(227),gte:n(446),has:n(124),hasIn:n(1726),head:n(86),identical:n(818),identity:n(43),ifElse:n(79),inc:n(121),indexBy:n(1727),indexOf:n(343),init:n(1728),innerJoin:n(1729),insert:n(706),insertAll:n(1730),intersection:n(1731),intersectionWith:n(1732),intersperse:n(1733),into:n(1734),invert:n(1736),invertObj:n(1737),invoker:n(428),is:n(699),isEmpty:n(60),isNil:n(29),join:n(204),juxt:n(442),keys:n(94),keysIn:n(1738),last:n(156),lastIndexOf:n(1739),length:n(56),lens:n(525),lensIndex:n(1740),lensPath:n(97),lensProp:n(98),lift:n(521),liftN:n(886),lt:n(250),lte:n(225),map:n(33),mapAccum:n(1741),mapAccumRight:n(1742),mapObjIndexed:n(135),match:n(306),mathMod:n(1743),max:n(303),maxBy:n(1744),mean:n(926),median:n(1745),memoize:n(1746),memoizeWith:n(371),merge:n(28),mergeAll:n(230),mergeDeepLeft:n(707),mergeDeepRight:n(708),mergeDeepWith:n(1747),mergeDeepWithKey:n(530),mergeWith:n(1748),mergeWithKey:n(675),min:n(1749),minBy:n(1750),modulo:n(1751),multiply:n(247),nAry:n(527),negate:n(709),none:n(1752),not:n(122),nth:n(246),nthArg:n(1753),o:n(1754),objOf:n(144),of:n(443),omit:n(72),once:n(1755),or:n(552),over:n(62),pair:n(1756),partial:n(157),partialRight:n(1757),partition:n(1758),path:n(26),pathEq:n(226),pathOr:n(21),pathSatisfies:n(560),pick:n(91),pickAll:n(927),pickBy:n(1759),pipe:n(24),pipeK:n(1760),pipeP:n(551),pluck:n(172),prepend:n(372),product:n(1761),project:n(1762),prop:n(15),propEq:n(18),propIs:n(1763),propOr:n(48),propSatisfies:n(165),props:n(561),range:n(444),reduce:n(120),reduceBy:n(528),reduceRight:n(929),reduceWhile:n(1764),reduced:n(1765),reject:n(128),remove:n(555),repeat:n(1766),replace:n(193),reverse:n(499),scan:n(1767),sequence:n(930),set:n(249),slice:n(191),sort:n(406),sortBy:n(1129),sortWith:n(1768),split:n(282),splitAt:n(775),splitEvery:n(1769),splitWhen:n(1770),startsWith:n(710),subtract:n(1771),sum:n(379),symmetricDifference:n(447),symmetricDifferenceWith:n(1772),tail:n(368),take:n(640),takeLast:n(925),takeLastWhile:n(1773),takeWhile:n(1774),tap:n(113),test:n(256),times:n(700),toLower:n(307),toPairs:n(254),toPairsIn:n(1776),toString:n(419),toUpper:n(711),transduce:n(1130),transpose:n(1777),traverse:n(1778),trim:n(267),tryCatch:n(1779),type:n(639),unapply:n(1780),unary:n(572),uncurryN:n(194),unfold:n(1781),union:n(1782),unionWith:n(1783),uniq:n(369),uniqBy:n(698),uniqWith:n(674),unless:n(89),unnest:n(1784),until:n(1785),update:n(441),useWith:n(928),values:n(80),valuesIn:n(1786),view:n(562),when:n(46),where:n(931),whereEq:n(1131),without:n(342),xprod:n(1787),zip:n(380),zipObj:n(1788),zipWith:n(1789)}},function(e,t,n){var r=n(64),i=n(160),o=n(26);e.exports=r(function(e,t,n){return i(e,o(t,n))})},function(e,t,n){"use strict";n.d(t,"c",function(){return f}),n.d(t,"e",function(){return p}),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(158),i=n.n(r),o=n(4),a=n.n(o),s=n(49),c=n.n(s),u=n(15),l=n.n(u),d=window.Runtime,f=c()(l.a)(window.env||{}),p=!1,h=function(e){return d&&d[e]},m="Rise 360";function v(e){return f("CDN_USER_CONTENT_URI")+"/"+e}function g(e){var t=e||"",n=h("resolvePath")?d.resolvePath.bind(d):v;return i()(t).call(t,"http")||i()(t).call(t,"data:")||i()(t).call(t,"//")?t:n(t)}function y(e){var t;if(h("resolveFontPath"))return d.resolveFontPath(e);var n=e.default?f("CDN_URI"):f("CDN_USER_CONTENT_URI");return a()(t="".concat(n,"/")).call(t,e.key)}function b(){h("exit")&&d.exit()}function _(){return!!h("isExport")&&d.isExport()}function w(){if(h("sendTouch"))return d.sendTouch()}},function(e,t,n){"use strict";n.d(t,"a",function(){return x}),n.d(t,"h",function(){return S}),n.d(t,"k",function(){return T}),n.d(t,"g",function(){return O}),n.d(t,"l",function(){return C}),n.d(t,"i",function(){return j}),n.d(t,"j",function(){return A}),n.d(t,"b",function(){return N}),n.d(t,"c",function(){return M}),n.d(t,"d",function(){return L}),n.d(t,"e",function(){return I}),n.d(t,"f",function(){return R});var r=n(86),i=n.n(r),o=n(156),a=n.n(o),s=n(79),c=n.n(s),u=n(16),l=n.n(u),d=n(121),f=n.n(d),p=n(253),h=n.n(p),m=n(56),v=n.n(m),g=n(216),y=n(25),b=n(115),_=n(78),w=n(229),E=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},x=0,S=-1,T=function(){var e=E();document.addEventListener("mousedown",function(){setTimeout(function(){e.innerHTML=":focus{outline: none}"},0),Object(_.a)(Object(w.c)(!1))}),window.addEventListener("keydown",O)},O=function(e){var t=e.target,n=E();(Object(y.l)(e)||Object(y.e)(e)&&!t.classList.contains("ignore-prefers"))&&(n.innerHTML="",Object(_.a)(Object(w.c)(!0)))},C=function(e){return e?x:S},j=function(e,t){var n=t!==x;(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)})},N=function(e){Object(g.b)(e.getElementsByTagName("*")).forEach(function(e){j(e,S)})},P=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)}},M=P(!0),L=(P(!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},R=function(e){var t=e.list,n=e.currentIndex,r=h()(n||v()(t));return L({list:t,index:r}),r}},function(e,t,n){var r=n(240),i=n(1325),o=n(120),a=n(368);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 C}),n.d(t,"l",function(){return j}),n.d(t,"k",function(){return A}),n.d(t,"f",function(){return N}),n.d(t,"m",function(){return P}),n.d(t,"b",function(){return M}),n.d(t,"g",function(){return L}),n.d(t,"i",function(){return I}),n.d(t,"c",function(){return R}),n.d(t,"e",function(){return D}),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(705),i=n.n(r),o=n(234),a=n.n(o),s=n(38),c=n.n(s),u=n(110),l=n.n(u),d=n(75),f=n.n(d),p=n(46),h=n.n(p),m=n(126),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},E={keys:["Escape","Esc"],keyCode:a.a.KEY_ESCAPE},k={keys:["ArrowUp"],keyCode:a.a.KEY_UP},x={keys:["ArrowDown"],keyCode:a.a.KEY_DOWN},S={keys:["ArrowLeft"],keyCode:a.a.KEY_LEFT},T={keys:["ArrowRight"],keyCode:a.a.KEY_RIGHT},O=function(e){var t=e.keyCode,n=i()(e);return function(e){return e.keyCode?e.keyCode===t:l()(e.key,n)}},C=(O(g),O(y)),j=(O(b),O(_)),A=O(w),N=O(E),P=O(k),M=O(x),L=O(S),I=O(T),R=v()(M,I),D=v()(A,C),B=(v()(j,C),v()(I,P)),F=v()(L,M),U=v()(P,M),q=v()(P,L),z=h()(D),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()([[M,r],[P,i]])(n)}}},function(e,t,n){var r=n(19);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(64);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(662),i=n(19);e.exports=i(function(e,t){return r({},e,t)})},function(e,t,n){var r=n(57);e.exports=r(function(e){return null==e})},function(e,t,n){(function(t){var r,i=void 0!==t?t:"undefined"!=typeof window?window:{},o=n(1940);"undefined"!=typeof document?r=document:(r=i["__GLOBAL_DOCUMENT_CACHE@4"])||(r=i["__GLOBAL_DOCUMENT_CACHE@4"]=o),e.exports=r}).call(this,n(108))},function(e,t,n){e.exports=n(1599)},function(e,t,n){e.exports=n(1593)},function(e,t,n){var r=n(19),i=n(146),o=n(504),a=n(208),s=n(1392),c=n(58),u=n(94);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){e.exports=n(1602)},function(e,t,n){"use strict";n.d(t,"a",function(){return l});var r=n(718),i=n(138),o=n.n(i),a=n(184),s=n.n(a);var c=n(448),u=n(719);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";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 a.a}),n.d(t,"e",function(){return d}),n.d(t,"f",function(){return f}),n.d(t,"g",function(){return p}),n.d(t,"h",function(){return h.a}),n.d(t,"i",function(){return m}),n.d(t,"j",function(){return v}),n.d(t,"k",function(){return g.a}),n.d(t,"l",function(){return O.a}),n.d(t,"m",function(){return C.a}),n.d(t,"n",function(){return j.a}),n.d(t,"o",function(){return A}),n.d(t,"p",function(){return N}),n.d(t,"q",function(){return P}),n.d(t,"r",function(){return M}),n.d(t,"s",function(){return L}),n.d(t,"t",function(){return I}),n.d(t,"u",function(){return R}),n.d(t,"v",function(){return D}),n.d(t,"x",function(){return B.a}),n.d(t,"w",function(){return F.a}),n.d(t,"y",function(){return q}),n.d(t,"z",function(){return z.a}),n.d(t,"A",function(){return H.a}),n.d(t,"B",function(){return V.a}),n.d(t,"C",function(){return W.a}),n.d(t,"D",function(){return Y.a}),n.d(t,"E",function(){return G.a}),n.d(t,"F",function(){return J}),n.d(t,"G",function(){return ee.a}),n.d(t,"H",function(){return te.a}),n.d(t,"I",function(){return ne.a}),n.d(t,"J",function(){return re.a}),n.d(t,"K",function(){return ie.a}),n.d(t,"L",function(){return oe});n(960),n(961);var r=n(962),i=(n(963),n(964),n(965),n(966),n(967)),o=(n(968),n(701)),a=(n(969),n(702),n(970),n(971),n(972),n(973)),s=(n(974),n(975),n(2)),c=n.n(s),u=n(0),l=n.n(u),d=(n(976),n(977),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,s=void 0===a?"8":a,u=e.role,d=void 0===u?"img":u,f=e.title,p=e.width,h=void 0===p?"11":p;return l.a.createElement("svg",{"aria-hidden":t,"aria-label":r,className:c()("i i-checkMark",i),focusable:"false",height:s,role:d,viewBox:"0 0 11 8",width:h,xmlns:"http://www.w3.org/2000/svg"},f&&l.a.createElement("title",null,f),o&&l.a.createElement("desc",null,o),l.a.createElement("path",{d:"M9.6,0L11,1.3L3.9,8L0,4.3L1.4,3l2.6,2.4L9.6,0z"}))}),f=function(e){var t=e["aria-hidden"],n=e["aria-label"],r=e.className,i=e.desc,o=e.height,a=void 0===o?"21":o,s=e.role,u=void 0===s?"img":s,d=e.title,f=e.width,p=void 0===f?"21":f;return l.a.createElement("svg",{"aria-hidden":t,"aria-label":n,className:c()("i i-checkMarkFilled",r),focusable:"false",height:a,role:u,viewBox:"0 0 21 21",width:p,xmlns:"http://www.w3.org/2000/svg"},d&&l.a.createElement("title",null,d),i&&l.a.createElement("desc",null,i),l.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"}))},p=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,s=e.height,u=void 0===s?"5":s,d=e.className,f=e.focusable,p=void 0===f?"false":f;return l.a.createElement("svg",{viewBox:"0 0 7 5",width:a,height:u,className:c()("i i-chevronDown",d),focusable:p},l.a.createElement("title",null,n),l.a.createElement("desc",null,i),l.a.createElement("g",{transform:"translate(-15 -14)"},l.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(978),n(979)),m=function(e){var t=e.className;return l.a.createElement("svg",{"aria-hidden":"true",className:t,fill:"currentColor",focusable:"false",viewBox:"0 0 10 10",xmlns:"http://www.w3.org/2000/svg"},l.a.createElement("circle",{cx:"5",cy:"5",r:"5"}))},v=(n(980),function(e){var t=e.className;return l.a.createElement("svg",{"aria-hidden":"true",className:t,fill:"currentColor",foocusable:"false",viewBox:"0 0 10 10",xmlns:"http://www.w3.org/2000/svg"},l.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"}))}),g=(n(981),n(982),n(983),n(984),n(985),n(986),n(987),n(988),n(989)),y=(n(990),n(991),n(17)),b=(n(70),n(3)),_=n.n(b),w=n(9),E=n(10),k=n(11),x=n(13),S=n(5);function T(e){var t=function(){if("undefined"==typeof Reflect||!_.a)return!1;if(_.a.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(_()(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=_()(r,arguments,i)}else n=r.apply(this,arguments);return Object(x.a)(this,n)}}u.Component,n(992),n(993);var O=n(994),C=(n(995),n(996)),j=(n(997),n(998)),A=(n(999),n(1e3),n(1001),n(1002),n(1003),function(e){var t=e["aria-hidden"],n=e["aria-label"],r=void 0===n?"X mark":n,i=e.className,o=e.desc,a=e.height,s=void 0===a?"10":a,u=e.role,d=void 0===u?"img":u,f=e.title,p=e.width,h=void 0===p?"10":p;return l.a.createElement("svg",{"aria-hidden":t,"aria-label":r,className:c()("i i-exMark",i),focusable:"false",height:s,role:d,viewBox:"0 0 10 10",width:h,xmlns:"http://www.w3.org/2000/svg"},f&&l.a.createElement("title",null,f),o&&l.a.createElement("desc",null,o),l.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"}))}),N=(n(1004),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,u=void 0===c?"img":c,d=e.title,f=void 0===d?"":d,p=e.width,h=void 0===p?"40":p;return l.a.createElement("svg",{"aria-hidden":t,"aria-label":n,className:r,fill:"none",focusable:"false",height:s,role:u,viewBox:"0 0 40 50",width:h,xmlns:"http://www.w3.org/2000/svg"},f&&l.a.createElement("title",null,f),o&&l.a.createElement("desc",null,o),l.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"}),l.a.createElement("path",{clipRule:"evenodd",d:"M26 0V14H40",fillRule:"evenodd",fill:"#C7CACC"}),l.a.createElement("path",{d:"M13.534 22.9863V24.4163H10.245V26.4458H12.984V27.8813H10.245V30.9998H8.375V22.9863H13.534Z",fill:"#414448"}),l.a.createElement("path",{d:"M17.533 30.9998H15.663V22.9863H17.533V30.9998Z",fill:"#414448"}),l.a.createElement("path",{d:"M21.8805 29.5148H24.8505V30.9998H20.0215V22.9863H21.8805V29.5148Z",fill:"#414448"}),l.a.createElement("path",{d:"M31.8846 22.9863V24.4163H28.5956V26.2863H31.1146V27.6613H28.5956V29.5698H31.8846V30.9998H26.7256V22.9863H31.8846Z",fill:"#414448"}))}),P=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,u=void 0===c?"img":c,d=e.title,f=void 0===d?"":d,p=e.width,h=void 0===p?"40":p;return l.a.createElement("svg",{"aria-hidden":t,"aria-label":n,className:r,fill:"none",focusable:"false",height:s,role:u,viewBox:"0 0 40 50",width:h,xmlns:"http://www.w3.org/2000/svg"},f&&l.a.createElement("title",null,f),o&&l.a.createElement("desc",null,o),l.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"}),l.a.createElement("path",{clipRule:"evenodd",d:"M26 0V14H40",fill:"#96A9E0",fillRule:"evenodd"}),l.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"}),l.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"}),l.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"}))},M=(n(1005),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,u=void 0===c?"img":c,d=e.title,f=void 0===d?"":d,p=e.width,h=void 0===p?"40":p;return l.a.createElement("svg",{"aria-hidden":t,"aria-label":n,className:r,fill:"none",focusable:"false",height:s,role:u,viewBox:"0 0 40 50",width:h,xmlns:"http://www.w3.org/2000/svg"},f&&l.a.createElement("title",null,f),o&&l.a.createElement("desc",null,o),l.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"}),l.a.createElement("path",{clipRule:"evenodd",d:"M26 0V14H40",fill:"#EDADA9",fillRule:"evenodd"}),l.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"}),l.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"}),l.a.createElement("path",{d:"M31.3465 22.9863V24.4163H28.0575V26.4458H30.7965V27.8813H28.0575V30.9998H26.1875V22.9863H31.3465Z",fill:"#771D18"}))}),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,u=void 0===c?"img":c,d=e.title,f=void 0===d?"":d,p=e.width,h=void 0===p?"40":p;return l.a.createElement("svg",{"aria-hidden":t,"aria-label":n,className:r,fill:"none",focusable:"false",height:s,role:u,viewBox:"0 0 40 50",width:h,xmlns:"http://www.w3.org/2000/svg"},f&&l.a.createElement("title",null,f),o&&l.a.createElement("desc",null,o),l.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"}),l.a.createElement("path",{clipRule:"evenodd",d:"M26 0V14H40",fill:"#F8BFA6",fillRule:"evenodd"}),l.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"}),l.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"}),l.a.createElement("path",{d:"M31.2008 22.9863V24.4603H28.9458V30.9998H27.0868V24.4603H24.8318V22.9863H31.2008Z",fill:"#7C2B0E"}))},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,u=void 0===c?"img":c,d=e.title,f=void 0===d?"":d,p=e.width,h=void 0===p?"40":p;return l.a.createElement("svg",{"aria-hidden":t,"aria-label":n,className:r,fill:"none",focusable:"false",height:s,role:u,viewBox:"0 0 40 50",width:h,xmlns:"http://www.w3.org/2000/svg"},f&&l.a.createElement("title",null,f),o&&l.a.createElement("desc",null,o),l.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"}),l.a.createElement("path",{clipRule:"evenodd",d:"M26 0V14H40",fill:"#ABDBF3",fillRule:"evenodd"}),l.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"}),l.a.createElement("path",{d:"M23.6162 22.9865V24.4605H21.3612V31H19.5022V24.4605H17.2472V22.9865H23.6162Z",fill:"#144E6C"}),l.a.createElement("path",{d:"M30.5411 22.9865V24.4165H27.2521V26.446H29.9911V27.8815H27.2521V31H25.3821V22.9865H30.5411Z",fill:"#144E6C"}))},R=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,u=void 0===c?"img":c,d=e.title,f=void 0===d?"":d,p=e.width,h=void 0===p?"40":p;return l.a.createElement("svg",{"aria-hidden":t,"aria-label":n,className:r,fill:"none",focusable:"false",height:s,role:u,viewBox:"0 0 40 50",width:h,xmlns:"http://www.w3.org/2000/svg"},f&&l.a.createElement("title",null,f),o&&l.a.createElement("desc",null,o),l.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"}),l.a.createElement("path",{clipRule:"evenodd",d:"M26 0V14H40",fill:"#AFD1AE",fillRule:"evenodd"}),l.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"}),l.a.createElement("path",{d:"M20.6017 29.5149H23.5717V30.9999H18.7427V22.9864H20.6017V29.5149Z",fill:"#265026"}),l.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"}))},D=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,u=void 0===c?"img":c,d=e.title,f=void 0===d?"":d,p=e.width,h=void 0===p?"40":p;return l.a.createElement("svg",{"aria-hidden":t,"aria-label":n,className:r,fill:"none",focusable:"false",height:s,role:u,viewBox:"0 0 40 50",width:h,xmlns:"http://www.w3.org/2000/svg"},f&&l.a.createElement("title",null,f),o&&l.a.createElement("desc",null,o),l.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"}),l.a.createElement("path",{clipRule:"evenodd",d:"M26 0V14H40",fillRule:"evenodd",fill:"#ABDBF3"}),l.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"}),l.a.createElement("path",{d:"M20.7826 30.9998H18.9126V22.9863H20.7826V30.9998Z",fill:"#124F6E"}),l.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"}))},B=n(1006),F=n(1007);n(1008),n(1009),n(1010),n(1011),n(1012),n(1013),n(1014),n(1015),n(1016),n(1017);function U(e){return l.a.createElement("svg",Object(y.a)({"aria-hidden":"true",fill:"currentColor",focusable:"false",xmlns:"http://www.w3.org/2000/svg"},e))}function q(e){return l.a.createElement(U,Object(y.a)({viewBox:"0 0 15 10"},e),l.a.createElement("path",{d:"M0 4h15v2H0zM0 0h15v2H0zM0 8h15v2H0z"}))}var z=n(1018),H=(n(1019),n(1020),n(1021),n(1022),n(1023),n(1024),n(1025),n(1026),n(1027)),V=(n(1028),n(1029)),W=(n(1030),n(1031)),Y=n(1032),G=(n(1033),n(1034),n(1035),n(1036)),K=(n(1037),n(1038),n(1039),n(1040),n(1041),n(1042),n(1043),n(4)),X=n.n(K),$=n(255),Q=n.n($);function Z(e){var t=function(){if("undefined"==typeof Reflect||!_.a)return!1;if(_.a.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(_()(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=_()(r,arguments,i)}else n=r.apply(this,arguments);return Object(x.a)(this,n)}}var J=function(e){Object(k.a)(n,e);var t=Z(n);function n(){var e,r;Object(w.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,X()(e=[this]).call(e,o))).maskId="person-unknown-mask-".concat(Q()()),r.pathId="person-unknown-path-".concat(Q()()),r}return Object(E.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,s=void 0===a?"38":a,u=e.className,d=e.decorative,f=e.focusable,p=void 0===f?"false":f;return l.a.createElement("svg",{"aria-hidden":d,viewBox:"0 0 38 38",width:o,height:s,className:c()("i i-person-unknown",u),focusable:p},n&&l.a.createElement("title",null,n),r&&l.a.createElement("desc",null,r),l.a.createElement("defs",null,l.a.createElement("circle",{id:this.pathId,cx:"19",cy:"19",r:"19"})),l.a.createElement("g",{stroke:"none",strokeWidth:"1",fill:"none",fillRule:"evenodd"},l.a.createElement("mask",{id:this.maskId,fill:"#fff"},l.a.createElement("use",{href:"#".concat(this.pathId)})),l.a.createElement("use",{fill:"#D8D8D8",href:"#".concat(this.pathId)}),l.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}(u.Component),ee=n(1044),te=(n(1045),n(1046),n(1047)),ne=(n(1048),n(1049),n(1050),n(607),n(1051),n(1052),n(1053));n(1054),n(1055),n(1056);n(1057),n(1058),n(1059),n(1060);var re=n(1061),ie=(n(1062),n(1063),n(1064),n(1065),n(1066),n(1067),n(1068),n(1069),n(1070)),oe=(n(1071),n(1072),function(e){var t=e["aria-hidden"],n=e["aria-label"],r=e.className,i=e.desc,o=void 0===i?"":i,a=e.height,s=void 0===a?"20":a,u=e.role,d=void 0===u?"img":u,f=e.title,p=void 0===f?"":f,h=e.width,m=void 0===h?"20":h;return l.a.createElement("svg",{"aria-hidden":t,"aria-label":n,className:c()("i i-xMarkFilled",r),focusable:"false",height:s,role:d,viewBox:"0 0 20 20",width:m,xmlns:"http://www.w3.org/2000/svg"},p&&l.a.createElement("title",null,p),o&&l.a.createElement("desc",null,o),l.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(19),i=n(1398);e.exports=r(function(e,t){return i(e,t,[],[])})},function(e,t,n){var r=n(240),i=n(57),o=n(33),a=n(303),s=n(120);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(683);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(1595)},function(e,t,n){e.exports=n(1409)},function(e,t,n){"use strict";var r=n(4),i=n.n(r),o=n(41),a=n.n(o),s=n(168),c=n.n(s),u=n(138),l=n.n(u),d=n(184),f=n.n(d),p=n(0),h=n.n(p),m=n(51),v=n(152),g=n.n(v),y=n(26),b=n.n(y),_=n(104),w=n(258);n(1516);function E(e,t){var n=void 0!==l.a&&f()(e)||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=function(e,t){var n;if(!e)return;if("string"==typeof e)return k(e,t);var r=a()(n=Object.prototype.toString.call(e)).call(n,8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return c()(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return k(e,t)}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,i=function(){};return{s:i,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:i}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,s=!0,u=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return s=e.done,e},e:function(e){u=!0,o=e},f:function(){try{s||null==n.return||n.return()}finally{if(u)throw o}}}}function k(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var x=function(e){var t=e.allowTabNavigation,n=e.className,r=void 0===n?"":n,o=e.externalLinksDisabled,a=e.id,s=e.showExternalLinksModal,c=e.tagName,u=e.value,l=Object(p.useRef)(null),d=Object(p.useCallback)(function(e){var t=e.target.closest(".fr-view a");t&&t.hasAttribute("data-external")&&s()},[s]),f=Object(p.useMemo)(function(){var e,n=Object(_.a)(u);return function(e,t){var n=document.createElement("div");n.innerHTML=t;var r,i=E(e);try{for(i.s();!(r=i.n()).done;){var o=r.value;o(n)}}catch(e){i.e(e)}finally{i.f()}return n.innerHTML}(i()(e=Array.prototype).call(e,S,o?T:[],t?C:O),n)},[t,o,u]);return h.a.createElement("div",{"aria-hidden":!t||void 0,className:"".concat(r," brand--linkColor"),onClickCapture:d,id:a,ref:l},Object(p.createElement)(c,{className:"fr-view",dangerouslySetInnerHTML:{__html:f}}))};function S(e){var t,n=E(e.querySelectorAll("table"));try{for(n.s();!(t=n.n()).done;){var r=t.value,i=document.createElement("div");i.className="rise-table-wrap",r.parentNode.replaceChild(i,r),i.appendChild(r)}}catch(e){n.e(e)}finally{n.f()}}function T(e){var t,n=E(e.querySelectorAll("a"));try{for(n.s();!(t=n.n()).done;){var r=t.value;Object(w.a)(r.href)&&(r.removeAttribute("href"),r.removeAttribute("rel"),r.removeAttribute("target"),r.setAttribute("data-external",""),r.setAttribute("role","button"))}}catch(e){n.e(e)}finally{n.f()}}function O(e){var t,n=E(e.querySelectorAll("a"));try{for(n.s();!(t=n.n()).done;){var r=t.value;r.setAttribute("aria-hidden","true"),r.setAttribute("tabindex","-1")}}catch(e){n.e(e)}finally{n.f()}}function C(e){var t,n=E(e.querySelectorAll("a"));try{for(n.s();!(t=n.n()).done;){var r=t.value;r.removeAttribute("aria-hidden"),r.hasAttribute("data-external")?r.setAttribute("tabindex","0"):r.removeAttribute("tabindex")}}catch(e){n.e(e)}finally{n.f()}}x.defaultProps={allowTabNavigation:!0,tagName:"div"};var j=g()({externalLinksDisabled:b()(["course","externalLinksDisabled"])}),A=Object(m.b)(j,{showExternalLinksModal:function(){return{type:"rise/globals/SHOW_EXTERNAL_LINKS_MODAL",payload:!0}}});t.a=A(x)},function(e,t,n){var r=n(57),i=n(638);e.exports=r(i)},function(e,t,n){"use strict";var r=n(142),i=n(293).f,o=n(794),a=n(112),s=n(176),c=n(219),u=n(182),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,p,h,m,v,g,y=e.target,b=e.global,_=e.stat,w=e.proto,E=b?r:_?r[y]:(r[y]||{}).prototype,k=b?a:a[y]||(a[y]={}),x=k.prototype;for(f in t)n=!o(b?f:y+(_?".":"#")+f,e.forced)&&E&&u(E,f),h=k[f],n&&(m=e.noTargetGet?(g=i(E,f))&&g.value:E[f]),p=n&&m?m:t[f],n&&typeof h==typeof p||(v=e.bind&&n?s(p,r):e.wrap&&n?l(p):w&&"function"==typeof p?s(Function.call,p):p,(e.sham||p&&p.sham||h&&h.sham)&&c(v,"sham",!0),k[f]=v,w&&(u(a,d=y+"Prototype")||c(a,d,{}),a[d][f]=p,e.real&&x&&!x[f]&&c(x,f,p)))}},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(367);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){var r=n(64);e.exports=r(function(e,t,n){return e(n)?t(n):n})},function(e,t,n){e.exports=n(1387)},function(e,t,n){var r=n(64),i=n(188);e.exports=r(function(e,t,n){return null!=n&&i(t,n)?n[t]:e})},function(e,t,n){var r=n(57),i=n(75);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(141),i=n(349).f,o=n(337),a=n(363),s=n(2227),c=n(2273),u=n(1118);e.exports=function(e,t){var n,l,d,f,p,h=e.target,m=e.global,v=e.stat;if(n=m?r:v?r[h]||s(h,{}):(r[h]||{}).prototype)for(l in t){if(f=t[l],d=e.noTargetGet?(p=i(n,l))&&p.value:n[l],!u(m?l:h+(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){"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(158),i=n.n(r),o=n(7),a=n.n(o),s=n(0);var c=n(305),u=n(85);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){"use strict";n.d(t,"a",function(){return g}),n.d(t,"b",function(){return O}),n.d(t,"c",function(){return T}),n.d(t,"e",function(){return _}),n.d(t,"f",function(){return w}),n.d(t,"g",function(){return k}),n.d(t,"h",function(){return S}),n.d(t,"d",function(){return C}),n.d(t,"i",function(){return E});var r=n(35),i=n(721),o=n.n(i),a=n(593),s=n.n(a),c=n(41),u=n.n(c),l=n(14),d=n.n(l),f=n(381),p=n.n(f),h=n(485),m=n.n(h),v=n(170),g=n.n(v)()({NEAR_BLACK:null,DARK:null,MED:null,LIGHT:null}),y=[[32,g.NEAR_BLACK],[64,g.DARK],[128,g.MED],[256,g.LIGHT]],b=function(e){if(!e)return 0;var t=m()(e),n=Object(r.a)(t,3);return.2126*n[0]+.7152*n[1]+.0722*n[2]},_=function(e){return!!e&&1-b(e)/255>.4},w=function(e){return!!e&&1-b(e)/255>.25},E=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},k=function(e){return function(t){var n,r=u()(n=m()(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 x(i)}},x=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("")},S=k(.9),T=k(-.5),O=k(-.2),C=function(e){var t,n=b(e);return null===(t=p()(y).call(y,function(e){return Object(r.a)(e,1)[0]>n}))||void 0===t?void 0:t[1]}},function(e,t,n){var r=n(19),i=n(146),o=n(636),a=n(637),s=n(208),c=n(1394),u=n(94);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){"use strict";n.d(t,"d",function(){return o}),n.d(t,"e",function(){return a}),n.d(t,"c",function(){return s}),n.d(t,"a",function(){return c}),n.d(t,"f",function(){return u}),n.d(t,"k",function(){return l}),n.d(t,"j",function(){return d}),n.d(t,"g",function(){return f}),n.d(t,"h",function(){return p}),n.d(t,"i",function(){return h}),n.d(t,"b",function(){return m}),n.d(t,"l",function(){return v});var r=n(170),i=n.n(r),o="#000",a="#fff",s=600,c=i()({ACCENT:null,BLACK:null,COLOR:null,DARK:null,GRAY:null,IMAGE:null,LIGHT:null,TINT:null}),u=i()({LARGE:null,MEDIUM:null,SMALL:null}),l=i()({COMPACT:null,OVERLAY:null,SIDEBAR:null}),d=i()({DARK:null,DARK_IMAGE:null,LIGHT:null,LIGHT_IMAGE:null}),f=i()({DARK:null,DARK_ACCENT:null,DARK_IMAGE:null,LIGHT:null,LIGHT_ACCENT:null,LIGHT_IMAGE:null}),p={FREE:"free",RESTRICTED:"restricted"},h=i()({ACCENT:null,DARK:null,IMAGE:null,LIGHT:null,TINT:null}),m=(i()({ACCENT:null,DARK:null,LIGHT:null}),i()({ACCENT:null,DARK:null,LIGHT:null,TINT:null})),v={CLOSED:"closed",HIDDEN:"hidden",OPEN:"open"}},function(e,t,n){var r=n(19),i=n(294),o=n(520),a=n(412),s=n(419);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){var r=n(57),i=n(884);e.exports=r(function(e){return null!=e&&i(e.length)?e.length:NaN})},function(e,t,n){var r=n(497);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(240),i=n(57),o=n(19),a=n(505);e.exports=o(function(e,t){return 1===e?i(t):r(e,a(e,[],t))})},function(e,t,n){"use strict";(function(e){n(1960);var r=n(1186),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,p=t.offset,h=t.siblingDelay;return f&&r?e.createElement(i.a,{afterAnimatedIn:n,animateIn:o,animateOnce:a,className:c,duration:u,initiallyVisible:d,keepStructure:l,offset:p,scrollableParentSelector:"#page-wrap",siblingDelay:h},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(57),i=n(827),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 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 E}),n.d(t,"e",function(){return k});var r=n(4),i=n.n(r),o=n(124),a=n.n(o),s=n(256),c=n.n(s),u=n(22),l=Object(u.c)("CDN_USER_CONTENT_URI"),d=Object(u.c)("CDN_URI"),f=a()("useCrushedKey"),p=Object(u.c)("IMAGES_URI"),h=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 p?f(e)&&a&&r?i()(t="".concat(p,"/f:jpg,b:fff,s:cover,t:true,w:340/")).call(t,r):i()(n="".concat(p,"/f:jpg,b:fff,s:cover,t:true,w:340/")).call(n,o):g(e)},b=function(e){var t;if(!e||!e.key)return"";var n,r,o,a=e.crushedKey,s=e.key,c=e.useCrushedKey;return p?h(s)?i()(n="".concat(p,"/f:jpg,a:retain,b:fff,w:1680,q:65/")).call(n,s):f(e)?c&&a?i()(r="".concat(l,"/")).call(r,a):i()(o="".concat(l,"/")).call(o,s):i()(t="".concat(p,"/f:jpg|png,a:retain,b:fff/")).call(t,s):g(e)},_=function(e){var t,n,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"src",o=e.key,a=e.src,s=e.thumbnail,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))},E=function(){var e,t=v||p,n="NBIC_logo_light_bulb.png";return t?i()(e="".concat(t,"/f:png,a:retain,s:cover,w:276,h:160/assets/rise/assets/partner-content/")).call(e,n):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){var r,i=n(64);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){e.exports=n(1375)},function(e,t,n){var r=n(57),i=n(19),o=n(497);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(19),i=n(146),o=n(1395);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){"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 pt}),n.d(t,"f",function(){return wt});var r,i=n(32),o=n.n(i),a=n(40),s=n.n(a),c=n(31),u=n.n(c),l=n(34),d=n.n(l),f=n(70),p=n(8),h=n(47),m=n.n(h),v=n(197),g=n.n(v),y=n(16),b=n.n(y),_=n(27),w=n.n(_),E=n(257),k=n.n(E),x=n(7),S=n.n(x),T=n(55),O=n.n(T),C=n(553),j=n.n(C),A=n(58),N=n.n(A),P=n(248),M=n.n(P),L=n(283),I=n.n(L),R=n(126),D=n.n(R),B=n(53),F=n.n(B),U=n(238),q=n.n(U),z=n(29),H=n.n(z),V=n(463),W=n.n(V),Y=n(94),G=n.n(Y),K=n(56),X=n.n(K),$=n(97),Q=n.n($),Z=n(98),J=n.n(Z),ee=n(28),te=n.n(ee),ne=n(247),re=n.n(ne),ie=n(144),oe=n.n(ie),ae=n(62),se=n.n(ae),ce=n(157),ue=n.n(ce),le=n(26),de=n.n(le),fe=n(91),pe=n.n(fe),he=n(24),me=n.n(he),ve=n(15),ge=n.n(ve),ye=n(18),be=n.n(ye),_e=n(120),we=n.n(_e),Ee=n(249),ke=n.n(Ee),xe=n(377),Se=n.n(xe),Te=n(113),Oe=n.n(Te),Ce=n(80),je=n.n(Ce),Ae=n(89),Ne=n.n(Ae),Pe=n(46),Me=n.n(Pe),Le=n(67),Ie=n(321),Re=n(589),De=n(590),Be=n(472),Fe=n(488),Ue=n(491),qe=n(591),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=O()("rise/course/"),Ge=Ye("BOOKMARK_LESSON"),Ke=Ye("COMPLETE_LESSON_PROGRESS"),Xe=Ye("RESET_LESSON_PROGRESS"),$e=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:Re.a});case"map":return e(t,{id:r,updateFn:De.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"),Ne()(W.a,b()(0))),tt=S()(et,pe()(["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 D()(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}),Oe()(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}),Me()(it({id:t,type:n},e),St),Oe()(Je(t)),Oe()(function(e){return S()(Me()(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(p.a)(r,Ge,function(e,t){return S()(Oe()(ue()(ze.a,[t])),w()("currentLesson",t))(e)}),Object(p.a)(r,Ke,ct),Object(p.a)(r,"rise/course/LOAD_COURSE",function(e,t){return te()(e,Object(ze.h)(ht(t)))}),Object(p.a)(r,Xe,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:Re.b});case"map":return ot(e,{id:n,updateFn:De.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(p.a)(r,$e,ot),Object(p.a)(r,Qe,function(e,t){var n=t.id,r=t.updateFn;return me()(rt({id:n,updateFn:r}),Oe()(Je(n)))(e)}),r));var ut=Object(Le.a)(Ke),lt=Object(Le.a)(Xe),dt=Object(Le.a)(Ge),ft=Object(Le.a)($e),pt=Object(Le.a)(Qe),ht=me()(pe()(["course"]),function(e){return me()(de()(["course","lessons"]),We(gt,{}),oe()("lessons"),te()(e))(e)},M()("course")),mt=function(e){var t=e.id,n=e.type,r=e.settings.passingScore;return Me()(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}),Ne()(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 Ne()(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(p.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=N()(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)),X.a,q()(I.a)(S()(X.a,G.a,ge()("items"))(e)),re()(100),Math.round)(e),e)}},wt=_t({key:"isComplete",percent:"percentComplete"}),Et=(_t({key:"isViewed",percent:"percentViewed"}),j()(ge.a,[ge()("currentLesson"),ge()("lessons")])),kt=S()(tt,Et),xt=function(e){return Se()(ze.q,kt,e)},St=function(e){return me()(ke()(J()("percentComplete"),Tt(e)),Oe()(xt))(e)},Tt=function(e){var t=e.lessons;return Math.round(X()(m()(F()(ge()("isComplete"),t)))/X()(m()(t))*100)}},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 p}),n.d(t,"d",function(){return h});var r=n(14),i=n.n(r),o=n(16),a=n.n(o),s=n(58),c=n.n(s),u=n(1143),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)}}}),p=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}}),h=function(e){var t;return i()(t=l()(e)).call(t,a()({type:"SIDE_EFFECT"}))};a()(h(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){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){"use strict";n.d(t,"a",function(){return u});var r=n(32),i=n.n(r),o=n(376),a=n.n(o),s=n(47),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){var r=n(16);e.exports=r(!0)},function(e,t,n){var r=n(329),i=n(19);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){"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 pn}),n.d(t,"m",function(){return hn}),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(114),s=n.n(a),c=n(158),u=n.n(c),l=n(26),d=n.n(l),f=n(15),p=n.n(f),h=n(49),m=n.n(h),v=n(179),g=n.n(v),y=n(104),b=n(8),_=n(7),w=n.n(_),E=n(129),k=n.n(E),x=n(53),S=n.n(x),T=n(173),O=n.n(T),C=n(33),j=n.n(C),A=n(135),N=n.n(A),P=n(246),M=n.n(P),L=n(172),I=n.n(L),R=n(18),D=n.n(R),B=n(80),F=n.n(B),U=function(e){return w()(y.d,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},$(e),e)},V=function(e){return q({FILL_IN_THE_BLANK:J,MATCHING:ae,MULTIPLE_CHOICE:ee,MULTIPLE_RESPONSE:ne},$(e),e)},W=function(e){var t=e.item,n=e.itemProgress,r={FILL_IN_THE_BLANK:U(p()("text")),MATCHING:se(t),MULTIPLE_CHOICE:te(t),MULTIPLE_RESPONSE:re(t)};return q(r,$(t),n)},Y=function(e){return[e]},G=w()(j()((r="title",k()(Object(b.a)({},r,y.d)))),p()("answers")),K=U(p()("id")),X=U(p()("title")),$=p()("type"),Q=function(e){return function(t){return S()(D()("id",t),G(e))}},Z=function(e){return m()(M.a)(G(e))},J=w()(I()("title"),G),ee=function(e){return w()(Q(e),p()("correct"))(e)},te=function(e){return w()(Y,Z(e),p()("selectedIndex"))},ne=function(e){return w()(O.a,j()(Q(e)),p()("corrects"))(e)},re=function(e){return w()(O.a,j()(Z(e)),p()("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(p()("matchTitle")),ae=w()(j()(function(e){var t=K(e);return ie({sourceId:t,sourceTitle:X(e),targetId:t,targetTitle:oe(e)})}),G),se=function(e){return w()(F.a,N()(function(e){return function(t,n){var r=Z(e)(n),i=Z(e)(t);return ie({sourceId:K(r),sourceTitle:X(r),targetId:K(i),targetTitle:oe(i)})}}(e)),p()("matches"))},ce=n(32),ue=n.n(ce),le=n(40),de=n.n(le),fe=n(31),pe=n.n(fe),he=n(34),me=n.n(he),ve=n(70),ge=n(4),ye=n.n(ge),be=n(47),_e=n.n(be),we=n(569),Ee=n.n(we),ke=n(63),xe=n.n(ke),Se=n(462),Te=n(43),Oe=n.n(Te),Ce=n(28),je=n.n(Ce),Ae="p",Ne="i",Pe=n(66),Me=n(312),Le=n(22),Ie=n(588),Re=n(717),De=n(720),Be=n(228),Fe=n.n(Be),Ue=n(193),qe=n.n(Ue),ze=n(24),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(313),Ge=n.n(Ye),Ke=n(27),Xe=n.n(Ke),$e=n(124),Qe=n.n($e),Ze=n(86),Je=n.n(Ze),et=n(60),tt=n.n(et),nt=n(29),rt=n.n(nt),it=n(94),ot=n.n(it),at=n(156),st=n.n(at),ct=n(98),ut=n.n(ct),lt=n(230),dt=n.n(lt),ft=n(91),pt=n.n(ft),ht=n(48),mt=n.n(ht),vt=n(249),gt=n.n(vt),yt=n(89),bt=n.n(yt),_t=n(46),wt=n.n(_t),Et=function(e){return!!e},kt=(i={},Object(b.a)(i,"a",["activeIndex",Oe.a]),Object(b.a)(i,"vp",["audioVideoPlayhead",Number]),Object(b.a)(i,"c",["isComplete",Et]),Object(b.a)(i,"n",["correctlyAnswered",Oe.a]),Object(b.a)(i,Ae,["percentComplete",Oe.a]),Object(b.a)(i,"r",["retryAttempts",Oe.a]),Object(b.a)(i,"s",["score",Oe.a]),Object(b.a)(i,"t",["currentTime",Oe.a]),Object(b.a)(i,"v",["percentViewed",Oe.a]),Object(b.a)(i,"rr",["reportResults",Oe.a]),Object(b.a)(i,"pq",["passed",Oe.a]),Object(b.a)(i,"ps",["passingScore",Oe.a]),Object(b.a)(i,"qd",["questionsDrawn",Oe.a]),Object(b.a)(i,"ql",["questionList",j()(j()(Oe.a))]),i),xt=function(e){return function(t,n){var r=st()(Ct[n])(t);return n===Ne&&(r=r(p()("items",e))),Object(b.a)({},Je()(Ct[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,N()(xt(t)))(n)})(t)}}(e))},Tt=w()(dt.a,F.a,N()(xt(null))),Ot=function(e){return function(t){var n=p()(Ne,e),r=p()("items",t);return w()(wt()(function(){return Ge()([Qe()("ql"),D()("qd",!0)])(e)},function(e){var t=j()(Tt,n);return Xe()("originalItemProgress",t,e)}),je()(t),bt()(function(){return tt()(n)},gt()(ut()("items"),St(n)(r))),dt.a,F.a,N()(function(e){return function(t,n){return Xe()([Je()(kt[n])],st()(kt[n])(t),e)}}(t)))(pt()(ot()(kt),e))}};var Ct=(o={},Object(b.a)(o,"vp",["audioVideoPlayhead",Number]),Object(b.a)(o,"n",["correctlyAnswered",Oe.a]),Object(b.a)(o,"c",["isComplete",Et]),Object(b.a)(o,"k",["isCorrect",Et]),Object(b.a)(o,"v",["isViewed",Et]),Object(b.a)(o,Ne,["items",St]),Object(b.a)(o,"pv",["percentViewed",Oe.a]),Object(b.a)(o,"m",["matches",Oe.a]),Object(b.a)(o,"s",["selectedIndex",Oe.a]),Object(b.a)(o,"x",["selectedIndices",Oe.a]),Object(b.a)(o,"t",["text",Oe.a]),o),jt=n(144),At=n.n(jt),Nt=n(128),Pt=n.n(Nt),Mt={activeIndex:["a",Oe.a],audioVideoPlayhead:["vp",Number],correctlyAnswered:["n",Oe.a],currentTime:["t",Oe.a],isComplete:["c",Number],passingScore:["ps",Oe.a],percentComplete:[Ae,Oe.a],percentViewed:["v",Oe.a],retryAttempts:["r",Oe.a],score:["s",Oe.a],questionsDrawn:["qd",Oe.a],questionList:["ql",j()(j()(Oe.a))],reportResults:["rr",Oe.a],passed:["pq",Oe.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()(p()("index",e))),dt.a,F.a,N()(Lt))(Pt()(tt.a,pt()(ot()(Bt),e)))})),Rt=function(e,t){return Object(b.a)({},Je()(Mt[t]),st()(Mt[t])(e))};var Dt=w()(At()(Ae),mt()(0,"percentComplete")),Bt={audioVideoPlayhead:["vp",Number],correctlyAnswered:["n",Oe.a],isComplete:["c",Number],isCorrect:["k",Number],isViewed:["v",Number],items:[Ne,It],matches:["m",Oe.a],percentViewed:["pv",Oe.a],selectedIndex:["s",Oe.a],selectedIndices:["x",j()(Number)],text:["t",Oe.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 pe()(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,pe()(n,t))})}return e}var Ht=function(e){return(window.env||{})[e]},Vt=function(){return!!window.contentId},Wt=Vt()&&!Le.e?We:Oe.a,Yt={fetch:function(){if(Xt.isExport||window.courseData||window.course)return Object(Re.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(p()("body")).then(Ie.a).then(Wt)},fetchPartnerContent:function(e){return Xt.isExport||window.partnerContent?g.a.of(window.partnerContent.content):Object(De.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(p()("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(Me.a)(e,zt({id:n},i)):Object(Pe.c)(e,{id:n,type:r})}(t,zt({id:i,type:o},a)).lessons[i])):n}};window.Rise=xe()(window.Rise||{},{completeLessons:function(e,t,n){var r=t.reduce(Kt(e,n),{}),i=_e()(n.lessons||{}).length,o=Ee()(r).reduce(Gt,0);return{lessons:r,p:Math.round(o/i*100)}},decodeCourseProgress:function(e,t){var n=p()("lessons",t);return bt()(function(){return tt()(n)},w()(Xe()("percentComplete",mt()(0,Ae,t)),k()({lessons:j()(function(e){var t=p()(e.index,n);return bt()(function(){return rt()(t)},Ot(t))(e)})})))(e)},encodeCourseProgress:Dt,encodeLessonProgress:function(e){var t=p()("items",e),n=p()("index",e);return w()(At()(n),bt()(function(){return tt()(t)},gt()(ut()(Ne),It(t))),dt.a,F.a,N()(Rt))(pt()(ot()(Mt),e))}});var Xt=je()(Yt,window.Runtime||{}),$t=Xt,Qt=(m()(p.a)(window.env||{}),function(e){return $t&&$t[e]});function Zt(e){return Qt("getMasteryScore")?$t.getMasteryScore(e):e.passingScore}function Jt(e){if(Qt("onCreateHistory"))return $t.onCreateHistory(e)}function en(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return Qt("fetch")?s.a.resolve($t.fetch()):s.a.resolve(e)}function tn(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];return Qt("fetchPartnerContent")?$t.fetchPartnerContent(e):g.a.of({content:[]})}function nn(e){if(Qt("bookmark"))return $t.bookmark(e)}function rn(e){return Qt("getProgress")?$t.getProgress(e):e}function on(e){return Qt("setLessonComplete")?$t.setLessonComplete(e):e}function an(e){return Qt("setLessonProgress")?$t.setLessonProgress(e):e}function sn(e,t){return Qt("setCourseProgress")?$t.setCourseProgress(e,t):e}function cn(e){if(Qt("finish"))return $t.finish(e)}function un(e,t,n,r){Qt("finishQuiz")&&$t.finishQuiz(e,t,n,r)}function ln(e,t,n,r){Qt("finishStoryline")&&$t.finishStoryline(e,t,n,r)}function dn(){return Qt("isComplete")?$t.isComplete():null}function fn(){return!!Qt("isExport")&&$t.isExport()}function pn(){if(Qt("isExport")){var e=d()(["partnerContent","content"],window);return $t.isExport()&&e}return!1}function hn(){return!!Qt("isShare")&&$t.isShare()}function mn(){return!!Qt("isPasswordProtected")&&$t.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:$t.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")?$t.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 $t.reportAnswer({id:t,type:l,isCorrect:n,itemId:c,questionTitle:Object(y.d)(u),quizTitle:Object(y.d)(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 $t.startLesson(e)}},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,n){var r=n(57),i=n(58);e.exports=r(function(e){return i(e.length,e)})},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){"use strict";var r=n(1204);t.a=Object(r.setup)({el:"__",mod:"--",modValue:"-"})},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(473),i=n(7),o=n.n(i),a=n(1137),s=n.n(a),c=n(1138),u=n.n(c),l=n(1139),d=n.n(l),f=n(1140),p=n.n(f),h=(n(73),n(67)),m=n(1220),v=(e.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__,o.a),g=Object(r.c)(Object(r.b)(m.a),v(Object(r.a)(p.a,d.a,u()("run"),s.a,h.b))),y=g.dispatch}).call(this,n(108))},function(e,t,n){var r=n(64),i=n(58);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){var r=n(57),i=n(94);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){e.exports=n(1381)},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 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 Ee}),n.d(t,"f",function(){return ke}),n.d(t,"i",function(){return xe}),n.d(t,"j",function(){return Se}),n.d(t,"e",function(){return Te}),n.d(t,"d",function(){return Ce}),n.d(t,"c",function(){return je}),n.d(t,"a",function(){return Ae}),n.d(t,"g",function(){return Pe}),n.d(t,"h",function(){return Me});var r=n(41),i=n.n(r),o=n(138),a=n.n(o),s=n(184),c=n.n(s),u=n(35),l=n(8),d=n(63),f=n.n(d),p=n(168),h=n.n(p),m=n(14),v=n.n(m),g=n(224),y=n.n(g),b=n(339),_=n.n(b),w=n(284),E=n.n(w),k=n(16),x=n.n(k),S=n(370),T=n.n(S),O=n(554),C=n.n(O),j=(n(109),n(7)),A=n.n(j),N=n(110),P=n.n(N),M=n(75),L=n.n(M),I=n(58),R=n.n(I),D=n(37),B=n.n(D),F=n(53),U=n.n(F),q=n(150),z=n.n(q),H=n(49),V=n.n(H),W=n(309),Y=n.n(W),G=n(79),K=n.n(G),X=n(343),$=n.n(X),Q=n(706),Z=n.n(Q),J=n(94),ee=n.n(J),te=n(56),ne=n.n(te),re=n(250),ie=n.n(re),oe=n(33),ae=n.n(oe),se=n(24),ce=n.n(se),ue=n(444),le=n.n(ue),de=n(555),fe=n.n(de),pe=n(254),he=n.n(pe);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 h()(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return ve(e,t)}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,o=function(){};return{s:o,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var s,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=R()(3,function(e,t,n){return n[e]==t}),_e=(R()(3,function(e,t,n){return ce()(z()(be("id",t)),K()(ge,x()(n),ye(e,n)))(n)}),R()(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=E()(function(e){var t=Object(u.a)(e,2),n=t[0],r=t[1];return B()(Number(n),Number(r))}),Ee=A()(we,he.a),ke=function(e){return function(t,n){var r=Object(u.a)(n,2),i=r[0],o=r[1],a=$()(Number(i),t),s=$()(Number(o),e);return a===s?t:_e(a,s,t)}},xe=A()(le()(0),ne.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=R()(2,function(e,t){return A()(Y.a,ae()(_()(e,1)),he.a)(t)}),Oe=R()(2,function(e,t){return A()(Y.a,U()(C()(e)),he.a)(t)}),Ce=R()(2,function(e,t){return A()(ee.a,Oe(function(e,n){return t(n)}))(e)}),je=R()(2,function(e,t){return U()(A()(V()(P.a)(t),e))}),Ae=T()(ie()(y.a,0)),Ne=A()(h.a,Array),Pe=L()(function(e,t){var n;return v()(n=Ne(t)).call(n,function(){return e})}),Me=L()(function(e,t,n,r){var i;return v()(i=Ne(n)).call(i,function(n,i){return i===r?t:e})})},function(e,t,n){"use strict";(function(e){n.d(t,"c",function(){return w}),n.d(t,"e",function(){return E}),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 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(17),f=n(4),p=n.n(f),h=n(158),m=n.n(h),v=n(0),g=n(2269),y=n(759),b=n(2268);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),E=Object(v.createContext)(!1),k=Object(v.forwardRef)(function(t,n){return e.createElement(E.Provider,{value:!0},e.createElement(g.a,Object(d.a)({ref:n},t)))});function x(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,p()(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=x(y.a),T=x(b.a);function O(t){var n=Object(v.forwardRef)(function(n,r){var i,o,a,s,c,u=(i=n,a=Object(v.useContext)(E),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="withTransitionableState(".concat(t.displayName||t.name,")"),n}}).call(this,n(0))},function(e,t,n){var r=n(246);e.exports=r(0)},function(e,t,n){var r=n(877);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){"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(1316)},function(e,t,n){var r=n(64);e.exports=r(function(e,t,n){return e(n)?n:t(n)})},function(e,t,n){"use strict";n.d(t,"j",function(){return S}),n.d(t,"l",function(){return T}),n.d(t,"c",function(){return O}),n.d(t,"a",function(){return C}),n.d(t,"f",function(){return j}),n.d(t,"b",function(){return A}),n.d(t,"i",function(){return N}),n.d(t,"k",function(){return P}),n.d(t,"h",function(){return D}),n.d(t,"e",function(){return B}),n.d(t,"g",function(){return F}),n.d(t,"d",function(){return U});var r=n(81),i=n.n(r),o=n(109),a=n.n(o),s=n(86),c=n.n(s),u=n(79),l=n.n(u),d=n(29),f=n.n(d),p=n(24),h=n.n(p),m=n(15),v=n.n(m),g=n(18),y=n.n(g),b=n(165),_=n.n(b),w=n(61),E=n(1275),k=n(54),x=n(139),S=a()(y()("sidebarMode","hidden")),T=y()("sidebarMode","open"),O=function(e){var t=e.type,n=e.settings;return"quiz"!==t||n.asLesson||void 0===n.asLesson},C=function(e){var t=e.alpha,n=e.hasOverlay,r=void 0===n||n,i=e.media,o=(void 0===i?{}:i).image,a=void 0===o?{}:o,s=a.key,c=a.src,u=s?Object(w.a)(a):c;return u?r?Object(E.a)({alpha:t/100,color:k.d,url:u}):{backgroundImage:'url("'.concat(u,'")')}:null},j=function(e){var t;return i()(t=[k.g.DARK,k.g.DARK_ACCENT,k.g.DARK_IMAGE,k.i.DARK,k.i.DARK_IMAGE,k.j.DARK,k.j.DARK_IMAGE]).call(t,e)},A=h()(v()("lessons"),c.a),N=y()("navigationMode",k.h.RESTRICTED),P=y()("sidebarMode",k.l.OPEN),M=a()(y()("sidebarMode",k.l.HIDDEN)),L=y()("navigationType",k.k.SIDEBAR),I=(y()("navigationType",k.k.OVERLAY),y()("navigationType",k.k.COMPACT)),R=l()(_()(f.a,"navigation"),M,y()("navigation",!0)),D=function(e){var t=e.course,n=e.search,r=e.isMobile;return t.type!==x.a&&((L(t)||I(t)&&!!r)&&R(t)||n.active)},B=function(e){var t=e.course,n=e.isMobile;return I(t)&&R(t)&&!n},F=function(e){var t;return i()(t=[k.g.DARK_IMAGE,k.g.LIGHT_IMAGE,k.i.DARK_IMAGE,k.i.LIGHT_IMAGE,k.j.DARK_IMAGE,k.j.LIGHT_IMAGE]).call(t,e)},U=function(e){var t;return i()(t=[k.g.LIGHT_ACCENT,k.g.DARK_ACCENT]).call(t,e)}},function(e,t,n){var r=n(19);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";(function(e){n.d(t,"b",function(){return o}),n.d(t,"a",function(){return a});n(2721);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){"use strict";e.exports=n(537),e.exports.easing=n(2067),e.exports.canvas=n(2068),e.exports.options=n(2069)},function(e,t,n){var r,i,o,a,s=n(57),c=n(188),u=n(811);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";n.d(t,"a",function(){return s}),n.d(t,"g",function(){return c}),n.d(t,"e",function(){return u}),n.d(t,"f",function(){return l}),n.d(t,"b",function(){return d}),n.d(t,"c",function(){return f}),n.d(t,"h",function(){return p}),n.d(t,"d",function(){return h});var r=n(205),i=n(51),o=n(90),a=n(139);function s(e){return null==e?void 0:e.course}function c(){return Object(i.d)(function(e){return s(e)})}function u(e){return s(e).navigationMode}function l(e){return s(e).trackingQuizId}function d(e){return s(e).coverImage}var f=Object(r.a)(d,function(e){return Object(o.a)(e)});function p(){return Object(i.d)(function(e){return function(e){var t=s(e);return null==t?void 0:t.type}(e)})}function h(e){var t=s(e);return(null==t?void 0:t.type)===a.a}},function(e,t,n){var r=n(57),i=n(196),o=n(525),a=n(26);e.exports=r(function(e){return o(a(e),i(e))})},function(e,t,n){var r=n(57),i=n(27),o=n(525),a=n(15);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 h});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 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 h=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.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){"use strict";n.d(t,"b",function(){return r}),n.d(t,"e",function(){return p}),n.d(t,"c",function(){return m.e}),n.d(t,"d",function(){return m.f}),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(75),s=n.n(a),c=n(731),u=n.n(c),l=n(1218),d=n.n(l),f=function(e,t){return o.a.createElement("mark",{key:t},e)},p=s()(function(e,t){return d()(new RegExp(u()(t),"igm"),f,e)}),h=n(185),m=(n.n(h)()(function(e,t){return t.reduce(function(t,n){return t+n[e]},0)}),n(52)),v=n(174),g=n(84),y=n(340)},function(e,t,n){"use strict";(function(e){n.d(t,"c",function(){return m}),n.d(t,"a",function(){return b}),n.d(t,"b",function(){return _});var r=n(17),i=n(70),o=n(63),a=n.n(o),s=n(0),c=n(1309),u=n(2448),l=n(2447),d=["themeId"],f=c,p={classic:c,default:c,imaginative:u,organic:l},h=a()(Object(s.createContext)(f),{displayName:"ThemeContext"});function m(t){var n,o=t.themeId,a=Object(i.a)(t,d);return e.createElement(h.Provider,Object(r.a)({},a,{value:null!==(n=p[o])&&void 0!==n?n:f}))}function v(t){return e.createElement(e.Fragment,null,t.children)}function g(){return null}function y(t,n,i){function o(o,a){var c,u,l=Object(s.useContext)(h),d=null!==(c=null==l?void 0:null===(u=l[t])||void 0===u?void 0:u[n])&&void 0!==c?c:i;return e.createElement(d,Object(r.a)({ref:a},o,{Default:i}))}return o.displayName="ThemeComponent(".concat(n,")"),Object(s.forwardRef)(o)}function b(e){return y("components",e,arguments.length>1&&void 0!==arguments[1]?arguments[1]:v)}function _(e){return y("icons",e,g)}}).call(this,n(0))},function(e,t,n){var r=n(151);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 f}),n.d(t,"c",function(){return p}),n.d(t,"b",function(){return h});var r=n(154),i=n(7),o=n.n(i),a=(n(38),n(703)),s=n.n(a),c=n(156),u=n.n(c),l=n(24),d=n.n(l),f=(n(551),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))}),p=function(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];return d.a.apply(void 0,n)(e)},h=Function.prototype},function(e,t,n){"use strict";n.d(t,"b",function(){return g}),n.d(t,"d",function(){return y}),n.d(t,"c",function(){return b});var r=n(16),i=n.n(r),o=n(49),a=n.n(o),s=n(43),c=n.n(s),u=n(79),l=n.n(u),d=n(1134),f=n.n(d),p=a()(f.a),h=p({allowedAttributes:{"*":["aria-*","class","colspan","rowspan","style"],a:["data-external","href","target","rel"],img:["alt","src"],span:["data-*"]},allowedClasses:["fr-*"],allowedSchemes:["data","http","https","mailto"],allowedTags:["a","b","blockquote","br","em","h2","h3","i","img","li","mark","ol","p","table","td","th","tbody","thead","tr","s","strong","span","sub","sup","u","ul"]}),m=p({allowedAttributes:{iframe:["align","allow","allowfullscreen","frameborder","height","longdesc","marginheight","marginwidth","name","referrerpolicy","sandbox","scrolling","src","width"]},allowedTags:["iframe"],allowedSchemes:["http","https"]}),v=l()(c.a,h,i()("")),g=l()(c.a,m,i()("")),y=p({allowedTags:[],allowedAttributes:[]}),b=p({allowedTags:["mark"],allowedAttributes:[]});t.a=v},function(e,t,n){e.exports=n(1662)},function(e,t,n){"use strict";n.d(t,"k",function(){return l}),n.d(t,"l",function(){return f}),n.d(t,"j",function(){return p}),n.d(t,"i",function(){return h}),n.d(t,"b",function(){return m}),n.d(t,"d",function(){return v}),n.d(t,"h",function(){return g}),n.d(t,"a",function(){return y}),n.d(t,"c",function(){return b}),n.d(t,"g",function(){return _}),n.d(t,"e",function(){return E}),n.d(t,"f",function(){return k});var r=n(4),i=n.n(r),o=n(737),a=n.n(o),s=n(233),c=n.n(s),u=(n(110),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)},p=function(){return document.cookie="".concat(d("_articulate_user_id",""),"; Max-Age=-99999999")},h=function(){return document.cookie="".concat(d("_rise_authoring_api_session",""),"; Max-Age=-99999999")},m=function(){return a.a.load("_articulate_user_id")},v=function(){return a.a.load(l())},g=function(){return!!v()&&c()(v()).staff},y=function(){return v()?c()(v()).riseId||c()(v()).sub||c()(v()).aid:""},b=function(){return v()?c()(v()).roles:[]},_=function(){return v()?c()(v()).tenantId:""},w=function(){return v()&&c()(v()).subscription||{}},E=function(){return w().plan_id||""},k=function(){return w().status||""}},function(e,t,n){"use strict";n.d(t,"a",function(){return i}),n.d(t,"b",function(){return o});var r=n(113),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(521),i=n(122);e.exports=r(i)},function(e,t,n){var r=n(329),i=n(19);e.exports=i(r)},function(e,t){e.exports=!0},function(e,t){e.exports={}},function(e,t,n){var r=n(19);e.exports=r(function(e,t){return e(t),t})},function(e,t,n){e.exports=n(1623)},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,n){"use strict";n.d(t,"a",function(){return C}),n.d(t,"b",function(){return k}),n.d(t,"c",function(){return L}),n.d(t,"d",function(){return E}),n.d(t,"e",function(){return O}),n.d(t,"f",function(){return D}),n.d(t,"g",function(){return B}),n.d(t,"h",function(){return I});var r=n(153),i=n(0),o=n.n(i),a=(n(1),n(83));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 p=i[f];"."===p?c(i,f):".."===p?(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 h=i.join("/");return n&&"/"!==h.substr(-1)&&(h+="/"),h};var l=n(169);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 p(){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 h(e,t,n){return Math.min(Math.max(e,t),n)}var m=n(741),v=n(742),g=n.n(v),y=(n(550),n(148)),b=n(459),_=n.n(b),w=function(e){var t=Object(m.a)();return t.displayName=e,t}("Router-History"),E=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(E.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 x={},S=1e4,T=0;function O(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=x[n]||(x[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 C=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(E.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?O(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(E.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 N(e){return"string"==typeof e?e:d(e)}function P(e){return function(){Object(l.a)(!1)}}function M(){}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(E.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?O(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(E.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 R=o.a.useContext;function D(){return R(w)}function B(e){var t=R(E).location,n=R(E).match;return e?O(t.pathname,e):n}},function(e,t,n){"use strict";var r=n(93);e.exports={_set:function(e,t){return r.merge(this[e]||(this[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 Ee}),n.d(t,"j",function(){return ke}),n.d(t,"k",function(){return xe}),n.d(t,"c",function(){return Ne}),n.d(t,"d",function(){return Pe});var r=n(16),i=n.n(r),o=n(7),a=n.n(o),s=n(185),c=n.n(s),u=n(253),l=n.n(u),d=n(160),f=n.n(d),p=n(126),h=n.n(p),m=n(1128),v=n.n(m),g=n(37),y=n.n(g),b=n(53),_=n.n(b),w=n(65),E=n.n(w),k=n(150),x=n.n(k),S=n(49),T=n.n(S),O=n(86),C=n.n(O),j=n(79),A=n.n(j),N=n(121),P=n.n(N),M=n(60),L=n.n(M),I=n(29),R=n.n(I),D=n(156),B=n.n(D),F=n(56),U=n.n(F),q=n(122),z=n.n(q),H=n(26),V=n.n(H),W=n(21),Y=n.n(W),G=n(91),K=n.n(G),X=n(24),$=n.n(X),Q=n(15),Z=n.n(Q),J=n(18),ee=n.n(J),te=n(165),ne=n.n(te),re=n(254),ie=n.n(re),oe=n(194),ae=n.n(oe),se=n(1131),ce=n.n(se),ue=n(22),le=n(73),de=n(407),fe=n(90);n.d(t,"e",function(){return fe.c});var pe=a()(z.a,L.a),he=a()(_()(fe.c),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,C()(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=e.lxpEnabled,a=void 0!==o&&o,s=Object(de.b)({courseProgress:n,lesson:r,restrictingQuiz:i}),c=Object(fe.i)(t),u=c||pe(s),l=function(e){var t=e.course,n=e.courseProgress;return E()(me(n))(t.lessonsOnly)}({course:t,courseProgress:n}),d=ue.e&&!t.enrolled&&!t.favoritedAt&&!Object(le.j)()&&!a,f=d&&!t.riseComLearningPathId&&"preview"!==window.viewType,p=d&&t.riseComLearningPathId&&"preview"!==window.viewType,h=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:f&&h||p&&h||u&&h&&z()(function(e){var t=e.lesson,n=e.currentLesson;return t&&ee()("id",t.id,n)}({lesson:r,currentLesson:l})),isRestrictedNotEnrolledCourse:f,isRestrictedNotEnrolledLP:p,restrictingQuiz:s,isRestrictedCourse:c,currentLesson:l}},be=function(e){var t=e.labels,n=e.restrictions,r=t.lessonRestricted,i=t.quizRequirePassingScore,o=n.isRestrictedCourse,a=n.isRestrictedNotEnrolledCourse,s=n.isRestrictedNotEnrolledLP,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 x()(ce()(K()(["id"],e||{})))}),we=function(e){var t=e.course,n=e.lesson;return a()(P.a,_e(n),he)(t)},Ee=function(e){var t=e.course,n=e.lesson;return!function(e){var t=e.course,n=e.lesson;return ee()("id",n.id,B()(Z()("lessonsOnly",t)))}({course:t,lesson:n})&&t.lessonsOnly[P()(_e(n,t.lessonsOnly))]},ke=function(e){var t=e.course,n=e.lesson;return!ve({course:t,lesson:n})&&t.lessonsOnly[l()(_e(n,t.lessonsOnly))]},xe=a()(U.a,he),Se=h()(R.a,L.a),Te=h()(R.a,y()(!1)),Oe=ne()(Te,"isComplete"),Ce=h()(ne()(y()(!1),"passed"),ne()(Te,"isComplete")),je=ae()(2,function(e){return E()(A()(a()(y()(e),C.a),a()(Ce,B.a),a()(Oe,B.a)))}),Ae=ae()(2,function(e){return $()(ie.a,je(e),f()([]),C.a)}),Ne=T()(ae()(2,function(e){return A()(Se,i()(e),Ae(e))})),Pe=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){"use strict";n.d(t,"a",function(){return P}),n.d(t,"b",function(){return B}),n.d(t,"c",function(){return q});var r=n(116),i=n(153),o=n(0),a=n.n(o),s=n(83);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 p=i[f];"."===p?u(i,f):".."===p?(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 h=i.join("/");return n&&"/"!==h.substr(-1)&&(h+="/"),h};var d=n(169);function f(e){return"/"===e.charAt(0)?e:"/"+e}function p(e){return"/"===e.charAt(0)?e.substr(1):e}function h(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",E="hashchange";function k(){try{return window.history.state||{}}catch(e){return{}}}function x(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,p=o.keyLength,x=void 0===p?6:p,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=h(o,S)),g(o,r,n)}function O(){return Math.random().toString(36).substr(2,x)}var C=y();function j(e){Object(s.a)(q,e),q.length=n.length,C.notifyListeners(q.location,q.action)}function A(e){(function(e){return void 0===e.state&&-1===navigator.userAgent.indexOf("CriOS")})(e)||M(T(e.state))}function N(){M(T(k()))}var P=!1;function M(e){if(P)P=!1,j();else{C.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&&(P=!0,D(i))}(e)})}}var L=T(k()),I=[L.key];function R(e){return S+v(e)}function D(e){n.go(e)}var B=0;function F(e){1===(B+=e)&&1===e?(window.addEventListener(w,A),i&&window.addEventListener(E,N)):0===B&&(window.removeEventListener(w,A),i&&window.removeEventListener(E,N))}var U=!1;var q={length:n.length,action:"POP",location:L,createHref:R,push:function(e,t){var i=g(e,t,O(),q.location);C.confirmTransitionTo(i,"PUSH",l,function(e){if(e){var t=R(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,O(),q.location);C.confirmTransitionTo(i,"REPLACE",l,function(e){if(e){var t=R(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:D,goBack:function(){D(-1)},goForward:function(){D(1)},block:function(e){void 0===e&&(e=!1);var t=C.setPrompt(e);return U||(F(1),U=!0),function(){return U&&(U=!1,F(-1)),t()}},listen:function(e){var t=C.appendListener(e);return F(1),function(){F(-1),t()}}};return q}var S="hashchange",T={hashbang:{encodePath:function(e){return"!"===e.charAt(0)?e:"!/"+p(e)},decodePath:function(e){return"!"===e.charAt(0)?e.substr(1):e}},noslash:{encodePath:p,decodePath:f},slash:{encodePath:f,decodePath:f}};function O(e){var t=e.indexOf("#");return-1===t?e:e.slice(0,t)}function C(){var e=window.location.href,t=e.indexOf("#");return-1===t?"":e.substring(t+1)}function j(e){window.location.replace(O(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,p=u.decodePath;function w(){var e=p(C());return c&&(e=h(e,c)),g(e)}var E=y();function k(e){Object(s.a)(U,e),U.length=t.length,E.notifyListeners(U.location,U.action)}var x=!1,A=null;function N(){var e,t,n=C(),r=l(n);if(n!==r)j(r);else{var o=w(),a=U.location;if(!x&&(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(x)x=!1,k();else{E.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&&(x=!0,R(i))}(e)})}}(o)}}var P=C(),M=l(P);P!==M&&j(M);var L=w(),I=[v(L)];function R(e){t.go(e)}var D=0;function B(e){1===(D+=e)&&1===e?window.addEventListener(S,N):0===D&&window.removeEventListener(S,N)}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=O(window.location.href)),n+"#"+l(c+v(e))},push:function(e,t){var n=g(e,void 0,void 0,U.location);E.confirmTransitionTo(n,"PUSH",i,function(e){if(e){var t=v(n),r=l(c+t);if(C()!==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);E.confirmTransitionTo(n,"REPLACE",i,function(e){if(e){var t=v(n),r=l(c+t);C()!==r&&(A=t,j(r));var i=I.indexOf(v(U.location));-1!==i&&(I[i]=t),k({action:"REPLACE",location:n})}})},go:R,goBack:function(){R(-1)},goForward:function(){R(1)},block:function(e){void 0===e&&(e=!1);var t=E.setPrompt(e);return F||(B(1),F=!0),function(){return F&&(F=!1,B(-1)),t()}},listen:function(e){var t=E.appendListener(e);return B(1),function(){B(-1),t()}}};return U}n(1);var N=n(148);a.a.Component;var P=function(e){function t(){for(var t,n=arguments.length,r=new Array(n),i=0;i<n;i++)r[i]=arguments[i];return(t=e.call.apply(e,[this].concat(r))||this).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 M=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},R=a.a.forwardRef;void 0===R&&(R=I);var D=R(function(e,t){var n=e.innerRef,r=e.navigate,i=e.onClick,o=Object(N.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!==R&&t||n,a.a.createElement("a",u)});var B=R(function(e,t){var n=e.component,i=void 0===n?D:n,o=e.replace,c=e.to,u=e.innerRef,l=Object(N.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(M(c,e.location),e.location),f=r?n.createHref(r):"",p=Object(s.a)({},l,{href:f,navigate:function(){var t=M(c,e.location);(o?n.replace:n.push)(t)}});return I!==R?p.ref=t||u:p.innerRef=u,a.a.createElement(i,p)})}),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,p=e.isActive,h=e.location,m=e.sensitive,v=e.strict,g=e.style,y=e.to,b=e.innerRef,_=Object(N.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=h||e.location,o=L(M(y,n),n),w=o.pathname,E=w&&w.replace(/([.+*?=^!:${}()[\]|/\\])/g,"\\$1"),k=E?Object(r.e)(n.pathname,{path:E,exact:f,sensitive:m,strict:v}):null,x=!!(p?p(k,n):k),S=x?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=x?Object(s.a)({},g,{},u):g,O=Object(s.a)({"aria-current":x&&i||null,className:S,style:T,to:o},_);return F!==U?O.ref=t||b:O.innerRef=b,a.a.createElement(B,O)})})},function(e,t,n){var r=n(64),i=n(208);e.exports=r(i)},function(e,t,n){var r=n(281);e.exports=r(1)},function(e,t,n){var r=n(57);e.exports=r(function(e){return!e})},function(e,t,n){"use strict";n.d(t,"a",function(){return o});var r=n(36),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.C,r.D,r.w,r.B,r.m,"draw from question bank");t.b=i},function(e,t,n){var r=n(19),i=n(188);e.exports=r(i)},function(e,t,n){
/** @license ISC License (c) copyright 2016 original and current authors */
var r=n(95),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(19),i=n(520),o=n(521),a=n(552);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){e.exports=function(e){try{return!!e()}catch(e){return!0}}},function(e,t,n){var r=n(826),i=n(19),o=n(53);e.exports=i(function(e,t){return o(r(e),t)})},function(e,t,n){var r=n(19);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){e.exports=function(e){try{return!!e()}catch(e){return!0}}},function(e,t,n){var r=n(4),i=n(114),o=n(14),a=n(1820),s=n(1821),c=n(934).type("Async"),u=n(934).typeFn(c(),5),l=n(531),d=n(1824),f=n(1834),p=n(1835),h=n(1836),m=n(677),v=n(1837),g=n(276),y=n(1838),b=n(1840),_=n(678),w=function(e){return e.reduce(function(e,t){return e&&_(k,t)},!0)},E=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=E,r=function(){return"Async"+s(e)};function a(t,n,r){if(!g(t)||!g(n))throw new TypeError("Async.fork: Reject and resolve functions required");var i=!1,o=!1,a=g(r)?r:h,s=function(e,t){if(!o)return o=!0,i?h():e(t)},c=e(s.bind(null,t),s.bind(null,n)),u=g(c)?c:h;return p(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=h,i=h;return r=a(function(){i=t.fork(e,n)},n),p(function(){return i(r())})})}}function y(e){return function(t){if(!g(t))throw new TypeError("Async."+e+": Async returning function required");return k(function(n,r){var i=h,o=h;return i=a(n,function(i){var a=t(i);if(!_(k,a))throw new TypeError("Async."+e+": Function must return another Async");o=a.fork(n,r)}),p(function(){return o(i())})})}}return(t={fork:a,toPromise:function(){return new i(function(e,t){a(t,e)})},inspect:r,toString:r,type: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=p(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=p(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()}),h=e.fork(u,function(e){s=!0,i=e,l()});return function(){d(),h(),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=h,s=h;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)),p(function(){return s(o())})})}})[l.of]=n,t[l.alt]=v(l.alt),t[l.bimap]=m(l.bimap),t[o(l)]=d(o(l)),t[l.chain]=y(l.chain),t["@@type"]=u,t.constructor=k,t}k.of=E,k.type=c,k[l.of]=E,k["@@type"]=u,k.Rejected=function(e){return k(function(t){return t(e)})},k.Resolved=E,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){"use strict";(function(e){n.d(t,"a",function(){return x}),n.d(t,"f",function(){return S}),n.d(t,"g",function(){return T}),n.d(t,"b",function(){return O}),n.d(t,"c",function(){return C}),n.d(t,"d",function(){return j}),n.d(t,"e",function(){return A}),n.d(t,"h",function(){return N});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(14),d=n.n(l),f=n(3),p=n.n(f),h=(n(2689),n(1)),m=n.n(h),v=n(22),g=n(286),y=n(42),b=n(486),_=n(61),w=n(54),E=n(101);function k(e){var t=function(){if("undefined"==typeof Reflect||!p.a)return!1;if(p.a.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(p()(Boolean,[],function(){})),!0}catch(e){return!1}}();return function(){var n,r=Object(s.a)(e);if(t){var i=Object(s.a)(this).constructor;p()(r,arguments,i)}else r.apply(this,arguments);return Object(a.a)(this,n)}}var x=Object(E.a)("LessonHeaderAuthor",function(t){var n=t.avatar,r=t.authorName,i=t.className,o=void 0===i?"":i;return e.createElement("div",{className:"lesson-header__author ".concat(o)},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))}),S=function(){return e.createElement("div",{className:"lesson-header__author"})},T=function(){return e.createElement("div",{className:"lesson-header__counter"})},O=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)))},C=function(t){var n=t.description;return e.createElement(y.a,{className:"lesson-header__description brand--lbody brand--linkColor",value:n})},j=function(t){var n=t.children;return e.createElement("div",{className:"lesson-header__grouped-row"},n)},A=function(t){var n=t.children,r=t.lessonHeaderLandmark,i=t.sectionStyles,o=t.topWrapClassName,a=t.topWrapStyles;return e.createElement("section",{"aria-label":r,className:"page__header",style:i},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("div",{className:"lesson-header"},e.createElement("div",{className:o,style:a},n)))))))},N=function(t){var n=t.title;return e.createElement(y.a,{className:"lesson-header__title brand--lhead",tagName:"h1",value:n})},P=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,p=t.showAuthor,h=t.showLessonCount,m=t.title,v=t.totalLessons,y=c.lessonName,b=c.lessonPreposition,E=function(e){return"url(".concat(Object(_.f)({width:"76",height:"76",imageKey:e.image}),")")},k=u===w.a.TINT?{color:a}:null,j=i&&r&&p&&!f;return e.createElement("div",{className:"lesson-header"},e.createElement("div",{className:"lesson-header__top-wrap",style:k},e.createElement(N,{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:E(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"},j?e.createElement(x,{avatar:i,authorName:r}):e.createElement(S,null),h?e.createElement(O,{lessonName:y,lessonNumber:l,lessonPreposition:b,totalLessons:v}):e.createElement(T,null))),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(C,{description:s}))};e.Component}).call(this,n(0))},function(e,t,n){var r=n(142),i=n(622),o=n(182),a=n(496),s=n(624),c=n(795),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){"use strict";n.d(t,"a",function(){return _}),n.d(t,"b",function(){return E}),n.d(t,"c",function(){return k}),n.d(t,"d",function(){return x});var r=n(47),i=n.n(r),o=n(32),a=n.n(o),s=n(40),c=n.n(s),u=n(31),l=n.n(u),d=n(34),f=n.n(d),p=n(8),h=n(17),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)({});b.displayName="FeatureFlagsContext";var _=b.Provider;b.Consumer;function w(){return Object(m.useContext)(b)}function E(e){var t;return null!==(t=w()[e])&&void 0!==t&&t}function k(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:e;return function(n){var r=v.a.forwardRef(function(r,i){var o=E(e),a=y(y({},r),{},Object(p.a)({},t,o));return v.a.createElement(n,Object(h.a)({ref:i},a))});return r.displayName="withFeatureFlag(".concat(n.displayName||n.name,")"),r}}var x=k("lxpEnabled","lxpEnabled")},function(e,t,n){var r=n(19),i=n(208),o=n(94);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,"e",function(){return A}),n.d(t,"q",function(){return N}),n.d(t,"a",function(){return M}),n.d(t,"d",function(){return L}),n.d(t,"r",function(){return I}),n.d(t,"f",function(){return R}),n.d(t,"b",function(){return D}),n.d(t,"c",function(){return B}),n.d(t,"n",function(){return F}),n.d(t,"o",function(){return H}),n.d(t,"l",function(){return V}),n.d(t,"k",function(){return Y}),n.d(t,"m",function(){return G}),n.d(t,"p",function(){return X}),n.d(t,"j",function(){return Q}),n.d(t,"h",function(){return Z}),n.d(t,"g",function(){return J}),n.d(t,"i",function(){return ee});var r=n(381),i=n.n(r),o=n(2373),a=n.n(o),s=n(205),c=n(118),u=n(96),l=n(0),d=n(51),f=n(253),p=n.n(f),h=n(53),m=n.n(h),v=n(86),g=n.n(v),y=n(121),b=n.n(y),_=n(56),w=n.n(_),E=n(172),k=n.n(E),x=n(15),S=n.n(x),T=n(48),O=n.n(T),C=n(260),j=n(262);function A(){return Object(s.a)(function(e){return e},function(e,t){return U(t)},function(e,t){return S()(e,t)})}function N(e){var t=Object(l.useMemo)(function(){return A()},[]);return Object(d.d)(function(n){return t(e,n)})}function P(){var e=A();return Object(s.a)(e,function(e){return Object(j.e)(e)})}function M(){return Object(s.a)(C.b,z,function(e,t){return O()(-1,e,t)})}function L(){var e=R();return Object(s.a)(function(e){return e},function(t,n){return e(n)},function(e,t){return Object(u.e)(t)},function(e,t){return K(t)},function(e,t){return Object(C.d)(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:j.b.ORDER}:{type:j.b.QUIZ,data:r.title}}return null})}function I(e){var t=Object(l.useMemo)(function(){return L()},[]);return Object(d.d)(function(n){return t(e,n)})}function R(){return Object(s.a)(u.f,C.d,function(e,t){return Object(c.c)(t,e)})}function D(){var e=A();return Object(s.a)(e,C.c,function(e,t){var n,r,i,o=null!==(n=null==t?void 0:t.percentComplete)&&void 0!==n?n:0,a=null!==(r=null==t?void 0:t.isComplete)&&void 0!==r&&r,s=null!==(i=null==t?void 0:t.passed)&&void 0!==i&&i;return 100===o&&(!a||Object(j.d)(e)&&!s)})}function B(){var e=A();return Object(s.a)(e,C.c,function(e,t){var n,r,i,o=null!==(n=null==t?void 0:t.percentComplete)&&void 0!==n?n:0,a=null!==(r=null==t?void 0:t.isComplete)&&void 0!==r&&r,s=null!==(i=null==t?void 0:t.passed)&&void 0!==i&&i;return 100===o&&a&&(!Object(j.d)(e)||s)})}var F=Object(s.a)(u.a,function(e){return O()([],"lessons",e)}),U=Object(s.a)(F,function(e){return e.reduce(function(e,t){return null!=t&&t.id&&(e[t.id]=t),e},{})}),q=Object(s.a)(u.a,function(e){return O()([],"lessonsOnly",e)}),z=Object(s.a)(q,function(e){return e.reduce(function(e,t,n){return e[t.id]=n+1,e},{})}),H=Object(s.a)(q,function(e){return k()("id",e)}),V=Object(s.a)(q,function(e){return g()(e)}),W=function(e){var t=e.type,n=e.settings;return"quiz"!==t||n.asLesson||void 0===n.asLesson},Y=Object(s.a)(q,function(e){return w()(m()(W,e))}),G=Object(s.a)(F,function(e){return e.reduce(function(e,t){var n=e[e.length-1];return Object(j.e)(t)||null==n?e.push([t.id]):n.push(t.id),e},[])}),K=Object(s.a)(q,C.d,function(e,t){return i()(e).call(e,function(e){var n;return Object(j.d)(e)&&Object(j.c)(e)&&!(null!==(n=t[e.id])&&void 0!==n&&n.isComplete)})});function X(e){var t=Object(l.useMemo)(P,[]);return Object(d.d)(function(n){return t(e[0],n)})}var $=function(e,t){return a()(t).call(t,function(t){return t.id===e})};function Q(){return Object(s.a)(function(e){return e},function(e,t){return q(t)},function(e,t){var n=$(e,t);return t[p()(n)]})}function Z(){return Object(s.a)(function(e){return e},function(e,t){return q(t)},function(e,t){var n=$(e,t);return t[b()(n)]})}function J(){return Object(s.a)(function(e){return e},function(e,t){return q(t)},function(e,t){var n=$(e,t);return b()(n)})}function ee(){return Object(s.a)(function(e){return e},function(e,t){return q(t)},function(e,t){return $(e,t)})}},,function(e,t,n){e.exports=n(1342)},function(e,t,n){"use strict";n.d(t,"e",function(){return r}),n.d(t,"d",function(){return i}),n.d(t,"c",function(){return o}),n.d(t,"a",function(){return a}),n.d(t,"b",function(){return s});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,a="onePage",s={SCROLL:"scroll",SLIDE:"slide"}},function(e,t,n){var r=n(112),i=n(182),o=n(632),a=n(220).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){(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(108))},function(e,t,n){var r=n(102),i=n(821),o=n(236),a=n(176),s=n(418),c=n(820),u=function(e,t){this.stopped=e,this.result=t};e.exports=function(e,t,n){var l,d,f,p,h,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+_),E=function(e){return l&&c(l),new u(!0,e)},k=function(e){return y?(r(e),_?w(e[0],e[1],E):w(e[0],e[1])):_?w(e,E):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,p=o(e.length);p>f;f++)if((h=k(e[f]))&&h instanceof u)return h;return new u(!1)}l=d.call(e)}for(m=l.next;!(v=m.call(l)).done;){try{h=k(v.value)}catch(e){throw c(l),e}if("object"==typeof h&&h&&h instanceof u)return h}return new u(!1)}},function(e,t,n){var r=n(19);e.exports=r(function(e,t){var n={};return n[e]=t,n})},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){var r=n(294),i=n(635);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(19),i=n(520),o=n(905),a=n(521);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";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){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,p=d.hasOwnProperty,h=p.toString,m=h.call(Object),v={},g=function(e){return"function"==typeof e&&"number"!=typeof e.nodeType&&"function"!=typeof e.item},y=function(e){return null!=e&&e===e.window},b=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 E(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 x(e){var t=!!e&&"length"in e&&e.length,n=E(e);return!g(e)&&!y(e)&&("array"===n||0===t||"number"==typeof t&&t>0&&t-1 in e)}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=p.call(t,"constructor")&&t.constructor)&&h.call(n)===m)},isEmptyObject:function(e){var t;for(t in e)return!1;return!0},globalEval:function(e,t,n){w(e,{nonce:t&&t.nonce},n)},each:function(e,t){var n,r=0;if(x(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&&(x(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(x(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,p,h,m,v,g,y,b,_="sizzle"+1*new Date,w=e.document,E=0,k=0,x=ce(),S=ce(),T=ce(),O=ce(),C=function(e,t){return e===t&&(d=!0),0},j={}.hasOwnProperty,A=[],N=A.pop,P=A.push,M=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},R="checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped",D="[\\x20\\t\\r\\n\\f]",B="(?:\\\\[\\da-fA-F]{1,6}"+D+"?|\\\\[^\\r\\n\\f]|[\\w-]|[^\0-\\x7f])+",F="\\["+D+"*("+B+")(?:"+D+"*([*^$|!~]?=)"+D+"*(?:'((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\"|("+B+"))|)"+D+"*\\]",U=":("+B+")(?:\\((('((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\")|((?:\\\\.|[^\\\\()[\\]]|"+F+")*)|.*)\\)|)",q=new RegExp(D+"+","g"),z=new RegExp("^"+D+"+|((?:^|[^\\\\])(?:\\\\.)*)"+D+"+$","g"),H=new RegExp("^"+D+"*,"+D+"*"),V=new RegExp("^"+D+"*([>+~]|"+D+")"+D+"*"),W=new RegExp(D+"|>"),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)(?:\\("+D+"*(even|odd|(([+-]|)(\\d*)n|)"+D+"*(?:([+-]|)"+D+"*(\\d+)|))"+D+"*\\)|)","i"),bool:new RegExp("^(?:"+R+")$","i"),needsContext:new RegExp("^"+D+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+D+"*((?:-\\d)?\\d*)"+D+"*\\)|)(?=[^-]|$)","i")},X=/HTML$/i,$=/^(?: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}"+D+"?|\\\\([^\\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{M.apply(A=L.call(w.childNodes),w.childNodes),A[w.childNodes.length].nodeType}catch(e){M={apply:A.length?function(e,t){P.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,h,g,y=t&&t.ownerDocument,w=t?t.nodeType:9;if(r=r||[],"string"!=typeof e||!e||1!==w&&9!==w&&11!==w)return r;if(!i&&(f(t),t=t||p,m)){if(11!==w&&(d=J.exec(e)))if(o=d[1]){if(9===w){if(!(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 M.apply(r,t.getElementsByTagName(e)),r;if((o=d[3])&&n.getElementsByClassName&&t.getElementsByClassName)return M.apply(r,t.getElementsByClassName(o)),r}if(n.qsa&&!O[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=(h=a(e)).length;s--;)h[s]=(l?"#"+l:":scope")+" "+be(h[s]);g=h.join(",")}try{return M.apply(r,y.querySelectorAll(g)),r}catch(t){O(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=p.createElement("fieldset");try{return!!e(t)}catch(e){return!1}finally{t.parentNode&&t.parentNode.removeChild(t),t=null}}function de(e,t){for(var n=e.split("|"),i=n.length;i--;)r.attrHandle[n[i]]=t}function fe(e,t){var n=t&&e,r=n&&1===e.nodeType&&1===t.nodeType&&e.sourceIndex-t.sourceIndex;if(r)return r;if(n)for(;n=n.nextSibling;)if(n===t)return-1;return e?1:-1}function pe(e){return function(t){return"input"===t.nodeName.toLowerCase()&&t.type===e}}function he(e){return function(t){var n=t.nodeName.toLowerCase();return("input"===n||"button"===n)&&t.type===e}}function me(e){return function(t){return"form"in t?t.parentNode&&!1===t.disabled?"label"in t?"label"in t.parentNode?t.parentNode.disabled===e:t.disabled===e:t.isDisabled===e||t.isDisabled!==!e&&ae(t)===e:t.disabled===e:"label"in t&&t.disabled===e}}function ve(e){return 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!X.test(t||n&&n.nodeName||"HTML")},f=se.setDocument=function(e){var t,i,a=e?e.ownerDocument||e:w;return a!=p&&9===a.nodeType&&a.documentElement?(h=(p=a).documentElement,m=!o(p),w!=p&&(i=p.defaultView)&&i.top!==i&&(i.addEventListener?i.addEventListener("unload",oe,!1):i.attachEvent&&i.attachEvent("onunload",oe)),n.scope=le(function(e){return h.appendChild(e).appendChild(p.createElement("div")),void 0!==e.querySelectorAll&&!e.querySelectorAll(":scope fieldset div").length}),n.attributes=le(function(e){return e.className="i",!e.getAttribute("className")}),n.getElementsByTagName=le(function(e){return e.appendChild(p.createComment("")),!e.getElementsByTagName("*").length}),n.getElementsByClassName=Z.test(p.getElementsByClassName),n.getById=le(function(e){return h.appendChild(e).id=_,!p.getElementsByName||!p.getElementsByName(_).length}),n.getById?(r.filter.ID=function(e){var t=e.replace(te,ne);return function(e){return e.getAttribute("id")===t}},r.find.ID=function(e,t){if(void 0!==t.getElementById&&m){var n=t.getElementById(e);return n?[n]:[]}}):(r.filter.ID=function(e){var t=e.replace(te,ne);return function(e){var n=void 0!==e.getAttributeNode&&e.getAttributeNode("id");return n&&n.value===t}},r.find.ID=function(e,t){if(void 0!==t.getElementById&&m){var n,r,i,o=t.getElementById(e);if(o){if((n=o.getAttributeNode("id"))&&n.value===e)return[o];for(i=t.getElementsByName(e),r=0;o=i[r++];)if((n=o.getAttributeNode("id"))&&n.value===e)return[o]}return[]}}),r.find.TAG=n.getElementsByTagName?function(e,t){return void 0!==t.getElementsByTagName?t.getElementsByTagName(e):n.qsa?t.querySelectorAll(e):void 0}:function(e,t){var n,r=[],i=0,o=t.getElementsByTagName(e);if("*"===e){for(;n=o[i++];)1===n.nodeType&&r.push(n);return r}return o},r.find.CLASS=n.getElementsByClassName&&function(e,t){if(void 0!==t.getElementsByClassName&&m)return t.getElementsByClassName(e)},g=[],v=[],(n.qsa=Z.test(p.querySelectorAll))&&(le(function(e){var t;h.appendChild(e).innerHTML="<a id='"+_+"'></a><select id='"+_+"-\r\\' msallowcapture=''><option selected=''></option></select>",e.querySelectorAll("[msallowcapture^='']").length&&v.push("[*^$]="+D+"*(?:''|\"\")"),e.querySelectorAll("[selected]").length||v.push("\\["+D+"*(?:value|"+R+")"),e.querySelectorAll("[id~="+_+"-]").length||v.push("~="),(t=p.createElement("input")).setAttribute("name",""),e.appendChild(t),e.querySelectorAll("[name='']").length||v.push("\\["+D+"*name"+D+"*="+D+"*(?:''|\"\")"),e.querySelectorAll(":checked").length||v.push(":checked"),e.querySelectorAll("a#"+_+"+*").length||v.push(".#.+[+~]"),e.querySelectorAll("\\\f"),v.push("[\\r\\n\\f]")}),le(function(e){e.innerHTML="<a href='' disabled='disabled'></a><select disabled='disabled'><option/></select>";var t=p.createElement("input");t.setAttribute("type","hidden"),e.appendChild(t).setAttribute("name","D"),e.querySelectorAll("[name=d]").length&&v.push("name"+D+"*[*^$|!~]?="),2!==e.querySelectorAll(":enabled").length&&v.push(":enabled",":disabled"),h.appendChild(e).disabled=!0,2!==e.querySelectorAll(":disabled").length&&v.push(":enabled",":disabled"),e.querySelectorAll("*,:x"),v.push(",.*:")})),(n.matchesSelector=Z.test(y=h.matches||h.webkitMatchesSelector||h.mozMatchesSelector||h.oMatchesSelector||h.msMatchesSelector))&&le(function(e){n.disconnectedMatch=y.call(e,"*"),y.call(e,"[s!='']:x"),g.push("!=",U)}),v=v.length&&new RegExp(v.join("|")),g=g.length&&new RegExp(g.join("|")),t=Z.test(h.compareDocumentPosition),b=t||Z.test(h.contains)?function(e,t){var n=9===e.nodeType?e.documentElement:e,r=t&&t.parentNode;return e===r||!(!r||1!==r.nodeType||!(n.contains?n.contains(r):e.compareDocumentPosition&&16&e.compareDocumentPosition(r)))}:function(e,t){if(t)for(;t=t.parentNode;)if(t===e)return!0;return!1},C=t?function(e,t){if(e===t)return d=!0,0;var r=!e.compareDocumentPosition-!t.compareDocumentPosition;return r||(1&(r=(e.ownerDocument||e)==(t.ownerDocument||t)?e.compareDocumentPosition(t):1)||!n.sortDetached&&t.compareDocumentPosition(e)===r?e==p||e.ownerDocument==w&&b(w,e)?-1:t==p||t.ownerDocument==w&&b(w,t)?1:l?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==p?-1:t==p?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},p):p},se.matches=function(e,t){return se(e,null,null,t)},se.matchesSelector=function(e,t){if(f(e),n.matchesSelector&&m&&!O[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){O(t,!0)}return se(t,p,null,[e]).length>0},se.contains=function(e,t){return(e.ownerDocument||e)!=p&&f(e),b(e,t)},se.attr=function(e,t){(e.ownerDocument||e)!=p&&f(e);var i=r.attrHandle[t.toLowerCase()],o=i&&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(C),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=x[e+" "];return t||(t=new RegExp("(^|"+D+")"+e+"("+D+"|$)"))&&x(e,function(e){return t.test("string"==typeof e.className&&e.className||void 0!==e.getAttribute&&e.getAttribute("class")||"")})},ATTR:function(e,t,n){return function(r){var i=se.attr(r,e);return null==i?"!="===t:!t||(i+="","="===t?i===n:"!="===t?i!==n:"^="===t?n&&0===i.indexOf(n):"*="===t?n&&i.indexOf(n)>-1:"$="===t?n&&i.slice(-n.length)===n:"~="===t?(" "+i.replace(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,p,h,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;h=m="only"===e&&!h&&"nextSibling"}return!0}if(h=[a?v.firstChild:v.lastChild],a&&y){for(b=(p=(u=(l=(d=(f=v)[_]||(f[_]={}))[f.uniqueID]||(d[f.uniqueID]={}))[e]||[])[0]===E&&u[1])&&u[2],f=p&&v.childNodes[p];f=++p&&f&&f[m]||(b=p=0)||h.pop();)if(1===f.nodeType&&++b&&f===t){l[e]=[E,p,b];break}}else if(y&&(b=p=(u=(l=(d=(f=t)[_]||(f[_]={}))[f.uniqueID]||(d[f.uniqueID]={}))[e]||[])[0]===E&&u[1]),!1===b)for(;(f=++p&&f&&f[m]||(b=p=0)||h.pop())&&((s?f.nodeName.toLowerCase()!==g:1!==f.nodeType)||!++b||(y&&((l=(d=f[_]||(f[_]={}))[f.uniqueID]||(d[f.uniqueID]={}))[e]=[E,b]),f!==t)););return(b-=i)===r||b%r==0&&b/r>=0}}},PSEUDO:function(e,t){var n,i=r.pseudos[e]||r.setFilters[e.toLowerCase()]||se.error("unsupported pseudo: "+e);return i[_]?i(t):i.length>1?(n=[e,e,"",t],r.setFilters.hasOwnProperty(e.toLowerCase())?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===h},focus:function(e){return e===p.activeElement&&(!p.hasFocus||p.hasFocus())&&!!(e.type||e.href||~e.tabIndex)},enabled:me(!1),disabled:me(!0),checked:function(e){var t=e.nodeName.toLowerCase();return"input"===t&&!!e.checked||"option"===t&&!!e.selected},selected:function(e){return e.parentNode&&e.parentNode.selectedIndex,!0===e.selected},empty:function(e){for(e=e.firstChild;e;e=e.nextSibling)if(e.nodeType<6)return!1;return!0},parent:function(e){return!r.pseudos.empty(e)},header:function(e){return Q.test(e.nodeName)},input:function(e){return $.test(e.nodeName)},button:function(e){var t=e.nodeName.toLowerCase();return"input"===t&&"button"===e.type||"button"===t},text:function(e){var t;return"input"===e.nodeName.toLowerCase()&&"text"===e.type&&(null==(t=e.getAttribute("type"))||"text"===t.toLowerCase())},first:ve(function(){return[0]}),last:ve(function(e,t){return[t-1]}),eq:ve(function(e,t,n){return[n<0?n+t:n]}),even:ve(function(e,t){for(var n=0;n<t;n+=2)e.push(n);return e}),odd:ve(function(e,t){for(var n=1;n<t;n+=2)e.push(n);return e}),lt:ve(function(e,t,n){for(var r=n<0?n+t:n>t?t:n;--r>=0;)e.push(r);return e}),gt:ve(function(e,t,n){for(var r=n<0?n+t:n;++r<t;)e.push(r);return e})}}).pseudos.nth=r.pseudos.eq,{radio:!0,checkbox:!0,file:!0,password:!0,image:!0})r.pseudos[t]=pe(t);for(t in{submit:!0,reset:!0})r.pseudos[t]=he(t);function ye(){}function be(e){for(var t=0,n=e.length,r="";t<n;t++)r+=e[t].value;return r}function _e(e,t,n){var r=t.dir,i=t.next,o=i||r,a=n&&"parentNode"===o,s=k++;return t.first?function(t,n,i){for(;t=t[r];)if(1===t.nodeType||a)return e(t,n,i);return!1}:function(t,n,c){var u,l,d,f=[E,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]===E&&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 Ee(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=[],p=[],h=a.length,m=o||function(e,t,n){for(var r=0,i=t.length;r<i;r++)se(e,t[r],n);return n}(t||"*",s.nodeType?[s]:s,[]),v=!e||!o&&t?m:Ee(m,f,e,s,c),g=n?i||(o?e:h||r)?[]:a:v;if(n&&n(v,g,s,c),r)for(u=Ee(g,p),r(u,[],s,c),l=u.length;l--;)(d=u[l])&&(g[p[l]]=!(v[p[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=Ee(g===a?g.splice(h,g.length):g),i?i(null,a,g,c):M.apply(a,g)})}function xe(e){for(var t,n,i,o=e.length,a=r.relative[e[0].type],s=a||r.relative[" "],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&&xe(e.slice(c,i)),i<o&&xe(e=e.slice(i)),i<o&&be(e))}f.push(n)}return we(f)}return ye.prototype=r.filters=r.pseudos,r.setFilters=new ye,a=se.tokenize=function(e,t){var n,i,o,a,s,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=xe(t[n]))[_]?i.push(s):o.push(s);(s=T(e,function(e,t){var n=t.length>0,i=e.length>0,o=function(o,a,s,c,l){var d,h,v,g=0,y="0",b=o&&[],_=[],w=u,k=o||i&&r.find.TAG("*",l),x=E+=null==w?1:Math.random()||.1,S=k.length;for(l&&(u=a==p||a||l);y!==S&&null!=(d=k[y]);y++){if(i&&d){for(h=0,a||d.ownerDocument==p||(f(d),s=!m);v=e[h++];)if(v(d,a||p,s)){c.push(d);break}l&&(E=x)}n&&((d=!v&&d)&&g--,o&&b.push(d))}if(g+=y,n&&y!==g){for(h=0;v=t[h++];)v(b,_,a,s);if(o){if(g>0)for(;y--;)b[y]||_[y]||(_[y]=N.call(c));_=Ee(_)}M.apply(c,_),l&&!o&&_.length>0&&g+t.length>1&&se.uniqueSort(c)}return l&&(E=x,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,p=!i&&a(e=f.selector||e);if(n=n||[],1===p.length){if((c=p[0]=p[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 M.apply(n,i),n;break}}return(f||s(e,p))(i,t,!m,n,!t||ee.test(e)&&ge(t.parentNode)||t),n},n.sortStable=_.split("").sort(C).join("")===_,n.detectDuplicates=!!d,f(),n.sortDetached=le(function(e){return 1&e.compareDocumentPosition(p.createElement("fieldset"))}),le(function(e){return e.innerHTML="<a href='#'></a>","#"===e.firstChild.getAttribute("href")})||de("type|href|height|width",function(e,t,n){if(!n)return e.getAttribute(t,"type"===t.toLowerCase()?1:2)}),n.attributes&&le(function(e){return e.innerHTML="<input/>",e.firstChild.setAttribute("value",""),""===e.firstChild.getAttribute("value")})||de("value",function(e,t,n){if(!n&&"input"===e.nodeName.toLowerCase())return e.defaultValue}),le(function(e){return null==e.getAttribute("disabled")})||de(R,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},O=function(e,t){for(var n=[];e;e=e.nextSibling)1===e.nodeType&&e!==t&&n.push(e);return n},C=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 N(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(N(this,e||[],!1))},not:function(e){return this.pushStack(N(this,e||[],!0))},is:function(e){return!!N(this,"string"==typeof e&&C.test(e)?k(e):e||[],!1).length}});var P,M=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]+))$/;(k.fn.init=function(e,t,n){var r,i;if(!e)return this;if(n=n||P,"string"==typeof e){if(!(r="<"===e[0]&&">"===e[e.length-1]&&e.length>=3?[null,e,null]:M.exec(e))||!r[1]&&t)return!t||t.jquery?(t||n).find(e):this.constructor(t).find(e);if(r[1]){if(t=t instanceof 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,P=k(b);var L=/^(?:parents|prev(?:Until|All))/,I={children:!0,contents:!0,next:!0,prev:!0};function R(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(!C.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 R(e,"nextSibling")},prev:function(e){return R(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 O((e.parentNode||{}).firstChild,e)},children:function(e){return O(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 D=/[^\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(D)||[],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"!==E(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"===E(n))for(s in i=!0,n)V(e,t,s,n[s],!0,o,a);else if(void 0!==r&&(i=!0,g(r)||(a=!0),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 X=function(e){return 1===e.nodeType||9===e.nodeType||!+e.nodeType};function $(){this.expando=k.expando+$.uid++}$.uid=1,$.prototype={cache:function(e){var t=e[this.expando];return t||(t={},X(e)&&(e.nodeType?e[this.expando]=t:Object.defineProperty(e,this.expando,{value:t,configurable:!0}))),t},set:function(e,t,n){var r,i=this.cache(e);if("string"==typeof t)i[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(D)||[]).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 $,Z=new $,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 pe,he,me=/^(?:checkbox|radio)$/i,ve=/<([a-z][^\/\0>\x20\t\r\n\f]*)/i,ge=/^$|^module$|\/(?:java|ecma)script/i;pe=b.createDocumentFragment().appendChild(b.createElement("div")),(he=b.createElement("input")).setAttribute("type","radio"),he.setAttribute("checked","checked"),he.setAttribute("name","t"),pe.appendChild(he),v.checkClone=pe.cloneNode(!0).cloneNode(!0).lastChild.checked,pe.innerHTML="<textarea>x</textarea>",v.noCloneChecked=!!pe.cloneNode(!0).lastChild.defaultValue,pe.innerHTML="<option></option>",v.option=!!pe.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 Ee(e,t,n,r,i){for(var o,a,s,c,u,l,d=t.createDocumentFragment(),f=[],p=0,h=e.length;p<h;p++)if((o=e[p])||0===o)if("object"===E(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="",p=0;o=f[p++];)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 xe(){return!0}function Se(){return!1}function Te(e,t){return e===function(){try{return b.activeElement}catch(e){}}()==("focus"===t)}function Oe(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)Oe(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 Ce(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,xe)}k.event={global:{},add:function(e,t,n,r,i){var o,a,s,c,u,l,d,f,p,h,m,v=Q.get(e);if(X(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(D)||[""]).length;u--;)p=m=(s=ke.exec(t[u])||[])[1],h=(s[2]||"").split(".").sort(),p&&(d=k.event.special[p]||{},p=(i?d.delegateType:d.bindType)||p,d=k.event.special[p]||{},l=k.extend({type:p,origType:m,data:r,handler:n,guid:n.guid,selector:i,needsContext:i&&k.expr.match.needsContext.test(i),namespace:h.join(".")},o),(f=c[p])||((f=c[p]=[]).delegateCount=0,d.setup&&!1!==d.setup.call(e,r,h,a)||e.addEventListener&&e.addEventListener(p,a)),d.add&&(d.add.call(e,l),l.handler.guid||(l.handler.guid=n.guid)),i?f.splice(f.delegateCount++,0,l):f.push(l),k.event.global[p]=!0)},remove:function(e,t,n,r,i){var o,a,s,c,u,l,d,f,p,h,m,v=Q.hasData(e)&&Q.get(e);if(v&&(c=v.events)){for(u=(t=(t||"").match(D)||[""]).length;u--;)if(p=m=(s=ke.exec(t[u])||[])[1],h=(s[2]||"").split(".").sort(),p){for(d=k.event.special[p]||{},f=c[p=(r?d.delegateType:d.bindType)||p]||[],s=s[2]&&new RegExp("(^|\\.)"+h.join("\\.(?:.*\\.|)")+"(\\.|$)"),a=o=f.length;o--;)l=f[o],!i&&m!==l.origType||n&&n.guid!==l.guid||s&&!s.test(l.namespace)||r&&r!==l.selector&&("**"!==r||!l.selector)||(f.splice(o,1),l.selector&&f.delegateCount--,d.remove&&d.remove.call(e,l));a&&!f.length&&(d.teardown&&!1!==d.teardown.call(e,h,v.handle)||k.removeEvent(e,p,v.handle),delete c[p])}else for(p in c)k.event.remove(e,p+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")&&Ce(t,"click",xe),!1},trigger:function(e){var t=this||e;return me.test(t.type)&&t.click&&j(t,"input")&&Ce(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?xe: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=xe,e&&!this.isSimulated&&e.preventDefault()},stopPropagation:function(){var e=this.originalEvent;this.isPropagationStopped=xe,e&&!this.isSimulated&&e.stopPropagation()},stopImmediatePropagation:function(){var e=this.originalEvent;this.isImmediatePropagationStopped=xe,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 Ce(this,e,Te),!1},trigger:function(){return Ce(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 Oe(this,e,t,n,r)},one:function(e,t,n,r){return Oe(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,Ne=/^\s*<!(?:\[CDATA\[|--)|(?:\]\]|--)>\s*$/g;function Pe(e,t){return j(e,"table")&&j(11!==t.nodeType?t:t.firstChild,"tr")&&k(e).children("tbody")[0]||e}function Me(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 Re(e,t,n,r){t=c(t);var i,o,a,s,u,l,d=0,f=e.length,p=f-1,h=t[0],m=g(h);if(m||f>1&&"string"==typeof h&&!v.checkClone&&Ae.test(h))return e.each(function(i){var o=e.eq(i);m&&(t[0]=h.call(this,i,o.html())),Re(o,t,n,r)});if(f&&(o=(i=Ee(t,e[0].ownerDocument,!1,e,r)).firstChild,1===i.childNodes.length&&(i=o),o||r)){for(s=(a=k.map(be(i,"script"),Me)).length;d<f;d++)u=i,d!==p&&(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(Ne,""),u,l))}return e}function De(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(X(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 De(this,e,!0)},remove:function(e){return De(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 Re(this,arguments,function(e){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||Pe(this,e).appendChild(e)})},prepend:function(){return Re(this,arguments,function(e){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var t=Pe(this,e);t.insertBefore(e,t.firstChild)}})},before:function(){return Re(this,arguments,function(e){this.parentNode&&this.parentNode.insertBefore(e,this)})},after:function(){return Re(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 Re(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]).+)/,Xe=/^--/,$e={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=Xe.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 Xe.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,$e,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(D);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,p={},h=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}p[r]=v&&v[r]||k.style(e,r)}if((c=!k.isEmptyObject(t))||!k.isEmptyObject(p))for(r in d&&1===e.nodeType&&(n.overflow=[h.overflow,h.overflowX,h.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(){h.display=u}),null==u&&(l=h.display,u="none"===l?"":l)),h.display="inline-block")),n.overflow&&(h.overflow="hidden",f.always(function(){h.overflow=n.overflow[0],h.overflowX=n.overflow[1],h.overflowY=n.overflow[2]})),c=!1,p)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"),p)k.style(e,r,p[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(D);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 pt=/^(?:input|select|textarea|button)$/i,ht=/^(?:a|area)$/i;function mt(e){return(e.match(D)||[]).join(" ")}function vt(e){return e.getAttribute&&e.getAttribute("class")||""}function gt(e){return Array.isArray(e)?e:"string"==typeof e&&e.match(D)||[]}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):pt.test(e.nodeName)||ht.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,h=[r||b],m=p.call(e,"type")?e.type:e,v=p.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)h.push(a),s=a;s===(r.ownerDocument||b)&&h.push(s.defaultView||s.parentWindow||n)}for(o=0;(a=h[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&&X(a)&&(e.result=l.apply(a,t),!1===e.result&&e.preventDefault());return e.type=m,i||e.isDefaultPrevented()||d._default&&!1!==d._default.apply(h.pop(),t)||!X(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,Et={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 xt=/\[\]$/,St=/\r?\n/g,Tt=/^(?:submit|button|image|reset|file)$/i,Ot=/^(?:input|select|textarea|keygen)/i;function Ct(e,t,n,r){var i;if(Array.isArray(t))k.each(t,function(t,i){n||xt.test(e)?r(e,i):Ct(e+"["+("object"==typeof i&&null!=i?t:"")+"]",i,n,r)});else if(n||"object"!==E(t))r(e,t);else for(i in t)Ct(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)Ct(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")&&Ot.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=/#.*$/,Nt=/([?&])_=[^&]*/,Pt=/^(.*?):[ \t]*([^\r\n]*)$/gm,Mt=/^(?:GET|HEAD)$/,Lt=/^\/\//,It={},Rt={},Dt="*/".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(D)||[];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===Rt;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:{"*":Dt,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(Rt),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,p=k.ajaxSetup({},t),h=p.context||p,m=p.context&&(h.nodeType||h.jquery)?k(h):k.event,v=k.Deferred(),g=k.Callbacks("once memory"),y=p.statusCode||{},_={},w={},E="canceled",x={readyState:0,getResponseHeader:function(e){var t;if(u){if(!a)for(a={};t=Pt.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&&(p.mimeType=e),this},statusCode:function(e){var t;if(e)if(u)x.always(e[x.status]);else for(t in e)y[t]=[y[t],e[t]];return this},abort:function(e){var t=e||E;return r&&r.abort(t),S(0,t),this}};if(v.promise(x),p.url=((e||p.url||wt.href)+"").replace(Lt,wt.protocol+"//"),p.type=t.method||t.type||p.method||p.type,p.dataTypes=(p.dataType||"*").toLowerCase().match(D)||[""],null==p.crossDomain){c=b.createElement("a");try{c.href=p.url,c.href=c.href,p.crossDomain=Bt.protocol+"//"+Bt.host!=c.protocol+"//"+c.host}catch(e){p.crossDomain=!0}}if(p.data&&p.processData&&"string"!=typeof p.data&&(p.data=k.param(p.data,p.traditional)),Ut(It,p,t,x),u)return x;for(d in(l=k.event&&p.global)&&0==k.active++&&k.event.trigger("ajaxStart"),p.type=p.type.toUpperCase(),p.hasContent=!Mt.test(p.type),i=p.url.replace(At,""),p.hasContent?p.data&&p.processData&&0===(p.contentType||"").indexOf("application/x-www-form-urlencoded")&&(p.data=p.data.replace(jt,"+")):(f=p.url.slice(i.length),p.data&&(p.processData||"string"==typeof p.data)&&(i+=(kt.test(i)?"&":"?")+p.data,delete p.data),!1===p.cache&&(i=i.replace(Nt,"$1"),f=(kt.test(i)?"&":"?")+"_="+Et.guid+++f),p.url=i+f),p.ifModified&&(k.lastModified[i]&&x.setRequestHeader("If-Modified-Since",k.lastModified[i]),k.etag[i]&&x.setRequestHeader("If-None-Match",k.etag[i])),(p.data&&p.hasContent&&!1!==p.contentType||t.contentType)&&x.setRequestHeader("Content-Type",p.contentType),x.setRequestHeader("Accept",p.dataTypes[0]&&p.accepts[p.dataTypes[0]]?p.accepts[p.dataTypes[0]]+("*"!==p.dataTypes[0]?", "+Dt+"; q=0.01":""):p.accepts["*"]),p.headers)x.setRequestHeader(d,p.headers[d]);if(p.beforeSend&&(!1===p.beforeSend.call(h,x,p)||u))return x.abort();if(E="abort",g.add(p.complete),x.done(p.success),x.fail(p.error),r=Ut(Rt,p,t,x)){if(x.readyState=1,l&&m.trigger("ajaxSend",[x,p]),u)return x;p.async&&p.timeout>0&&(s=n.setTimeout(function(){x.abort("timeout")},p.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,E=t;u||(u=!0,s&&n.clearTimeout(s),r=void 0,o=c||"",x.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]}(p,x,a)),!d&&k.inArray("script",p.dataTypes)>-1&&k.inArray("json",p.dataTypes)<0&&(p.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}}(p,_,x,d),d?(p.ifModified&&((w=x.getResponseHeader("Last-Modified"))&&(k.lastModified[i]=w),(w=x.getResponseHeader("etag"))&&(k.etag[i]=w)),204===e||"HEAD"===p.type?E="nocontent":304===e?E="notmodified":(E=_.state,f=_.data,d=!(b=_.error))):(b=E,!e&&E||(E="error",e<0&&(e=0))),x.status=e,x.statusText=(t||E)+"",d?v.resolveWith(h,[f,E,x]):v.rejectWith(h,[x,E,b]),x.statusCode(y),y=void 0,l&&m.trigger(d?"ajaxSuccess":"ajaxError",[x,p,d?f:b]),g.fireWith(h,[x,E]),l&&(m.trigger("ajaxComplete",[x,p]),--k.active||k.event.trigger("ajaxStop")))}return x},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+"_"+Et.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=Ee([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=E,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,Xt=n.$;return k.noConflict=function(e){return n.$===k&&(n.$=Xt),e&&n.jQuery===k&&(n.jQuery=Kt),k},void 0===i&&(n.jQuery=n.$=k),k})},function(e,t,n){var r=n(19),i=n(146),o=n(1661);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){e.exports=function(e){return"object"==typeof e?null!==e:"function"==typeof e}},function(e,t,n){var r=n(507),i=n(1440),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(713);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(568),i=n.n(r),o=n(460);var a=n(715),s=n(448);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(246);e.exports=r(-1)},function(e,t,n){var r=n(221),i=n(903);e.exports=i(r)},function(e,t,n){e.exports=n(1319)},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(19);e.exports=r(function(e,t){return null==t||t!=t?e:t})},function(e,t,n){var r=n(1958),i=n(317),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){var r=n(112);e.exports=function(e){return r[e+"Prototype"]}},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 p(e,t,n,r){return jt(e,t,n,r,!0).utc()}function h(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=h(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=p(NaN);return null!=e?f(h(t),e):h(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=h(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 E(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=E(t)),n}function x(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 O,C={};function j(e,t){null!=i.deprecationHandler&&i.deprecationHandler(e,t),C[e]||(S(t),C[e]=!0)}function A(e){return e instanceof Function||"[object Function]"===Object.prototype.toString.call(e)}function N(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 P(e){null!=e&&this.set(e)}i.suppressDeprecationWarnings=!1,i.deprecationHandler=null,O=Object.keys?Object.keys:function(e){var t,n=[];for(t in e)d(e,t)&&n.push(t);return n};var M={};function L(e,t){var n=e.toLowerCase();M[n]=M[n+"s"]=M[t]=e}function I(e){return"string"==typeof e?M[e]||M[e.toLowerCase()]:void 0}function R(e){var t,n,r={};for(n in e)d(e,n)&&(t=I(n))&&(r[t]=e[n]);return r}var D={};function B(e,t){D[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/,X=/\d{3}/,$=/\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 pe={};function he(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++)pe[e[n]]=r}function me(e,t){he(e,function(e,n,r,i){r._w=r._w||{},t(e,r._w,r,i)})}function ve(e,t,n){null!=t&&d(pe,e)&&pe[e](t,n._a,n,e)}var ge=0,ye=1,be=2,_e=3,we=4,Ee=5,ke=6,xe=7,Se=8;function Te(e){return Oe(e)?366:365}function Oe(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,$),le("YYYYY",re,Q),le("YYYYYY",re,Q),he(["YYYYY","YYYYYY"],ge),he("YYYY",function(e,t){t[ge]=2===e.length?i.parseTwoDigitYear(e):k(e)}),he("YY",function(e,t){t[ge]=i.parseTwoDigitYear(e)}),he("Y",function(e,t){t[ge]=parseInt(e,10)}),i.parseTwoDigitYear=function(e){return k(e)+(k(e)>68?1900:2e3)};var Ce,je=Ae("FullYear",!0);function Ae(e,t){return function(n){return null!=n?(Pe(this,e,n),i.updateOffset(this,t),this):Ne(this,e)}}function Ne(e,t){return e.isValid()?e._d["get"+(e._isUTC?"UTC":"")+t]():NaN}function Pe(e,t,n){e.isValid()&&!isNaN(n)&&("FullYear"===t&&Oe(e.year())&&1===e.month()&&29===e.date()?e._d["set"+(e._isUTC?"UTC":"")+t](n,e.month(),Me(n,e.month())):e._d["set"+(e._isUTC?"UTC":"")+t](n))}function Me(e,t){if(isNaN(e)||isNaN(t))return NaN;var n,r=(t%(n=12)+n)%n;return e+=(t-r)/12,1===r?Oe(e)?29:28:31-r%7%2}Ce=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)}),he(["M","MM"],function(e,t){t[ye]=k(e)-1}),he(["MMM","MMMM"],function(e,t,n,r){var i=n._locale.monthsParse(e,r,n._strict);null!=i?t[ye]=i:h(n).invalidMonth=e});var Le=/D[oD]?(\[[^\[\]]*\]|\s)+MMMM?/,Ie="January_February_March_April_May_June_July_August_September_October_November_December".split("_"),Re="Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_");function De(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(),Me(e.year(),t)),e._d["set"+(e._isUTC?"UTC":"")+"Month"](t,n),e}function Be(e){return null!=e?(De(this,e),i.updateOffset(this,!0),this):Ne(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=p([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:h(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("_"),Xe="Su_Mo_Tu_We_Th_Fr_Sa".split("_"),$e=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=p([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),he(["H","HH"],_e),he(["k","kk"],function(e,t,n){var r=k(e);t[_e]=24===r?0:r}),he(["a","A"],function(e,t,n){n._isPm=n._locale.isPM(e),n._meridiem=e}),he(["h","hh"],function(e,t,n){t[_e]=k(e),h(n).bigHour=!0}),he("hmm",function(e,t,n){var r=e.length-2;t[_e]=k(e.substr(0,r)),t[we]=k(e.substr(r)),h(n).bigHour=!0}),he("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[Ee]=k(e.substr(i)),h(n).bigHour=!0}),he("Hmm",function(e,t,n){var r=e.length-2;t[_e]=k(e.substr(0,r)),t[we]=k(e.substr(r))}),he("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[Ee]=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:Re,week:{dow:0,doy:6},weekdays:Ge,weekdaysMin:Xe,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(1396)("./"+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 P(N(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&&x(i,n,!0)>=t-1)break;t--}o++}return null}(e)}function pt(e){var t,n=e._a;return n&&-2===h(e).overflow&&(t=n[ye]<0||n[ye]>11?ye:n[be]<1||n[be]>Me(n[ge],n[ye])?be:n[_e]<0||n[_e]>24||24===n[_e]&&(0!==n[we]||0!==n[Ee]||0!==n[ke])?_e:n[we]<0||n[we]>59?we:n[Ee]<0||n[Ee]>59?Ee:n[ke]<0||n[ke]>999?ke:-1,h(e)._overflowDayOfYear&&(t<ge||t>be)&&(t=be),h(e)._overflowWeeks&&-1===t&&(t=xe),h(e)._overflowWeekday&&-1===t&&(t=Se),h(e).overflow=t),e}function ht(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=ht(t.GG,e._a[ge],We(At(),1,4).year),r=ht(t.W,1),((i=ht(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=ht(t.gg,e._a[ge],u.year),r=ht(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)?h(e)._overflowWeeks=!0:null!=c?h(e)._overflowWeekday=!0:(s=Ve(n,r,i,o,a),e._a[ge]=s.year,e._dayOfYear=s.dayOfYear)}(e),null!=e._dayOfYear&&(a=ht(e._a[ge],r[ge]),(e._dayOfYear>Te(a)||0===e._dayOfYear)&&(h(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[Ee]&&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&&(h(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 Et(e){var t,n,r,i,o,a,s=e._i,c=vt.exec(s)||gt.exec(s);if(c){for(h(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||""),Ot(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 xt(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=[xt(t),Re.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 h(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),h(e).rfc2822=!0}else e._isValid=!1}function Ot(e){if(e._f!==i.ISO_8601)if(e._f!==i.RFC_2822){e._a=[],h(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&&h(e).unusedInput.push(a),s=s.slice(s.indexOf(n)+n.length),u+=n.length),H[o]?(n?h(e).empty=!1:h(e).unusedTokens.push(o),ve(o,n,e)):e._strict&&!n&&h(e).unusedTokens.push(o);h(e).charsLeftOver=c-u,s.length>0&&h(e).unusedInput.push(s),e._a[_e]<=12&&!0===h(e).bigHour&&e._a[_e]>0&&(h(e).bigHour=void 0),h(e).parsedDateParts=e._a.slice(0),h(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?((p=l.isPM(f))&&d<12&&(d+=12),p||12!==d||(d=0),d):d),mt(e),pt(e)}else Tt(e);else Et(e);var l,d,f,p}function Ct(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 _(pt(t)):(u(t)?e._d=t:o(n)?function(e){var t,n,r,i,o;if(0===e._f.length)return h(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],Ot(t),m(t)&&(o+=h(t).charsLeftOver,o+=10*h(t).unusedTokens.length,h(t).score=o,(null==r||o<r)&&(r=o,n=t));f(e,n||t)}(e):n?Ot(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?(Et(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=R(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 _(pt(Ct(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 Nt=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()}),Pt=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 Mt(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=R(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===Ce.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 Rt(e){return e instanceof It}function Dt(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),he(["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 Rt(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[Ee])*n,ms:k(Dt(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),Rt(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 Xt(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),$t(this,Yt(n="string"==typeof n?+n:n,r),e),this}}function $t(e,t,n,r){var o=t._milliseconds,a=Dt(t._days),s=Dt(t._months);e.isValid()&&(r=null==r||r,s&&De(e,Ne(e,"Month")+s*n),a&&Pe(e,"Date",Ne(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=Xt(1,"add"),Zt=Xt(-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,$),le("gggg",ne,$),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),he("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}),he(["D","DD"],be),he("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",X),he(["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),he(["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),he(["s","ss"],Ee);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,X),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")he(cn,ln);var dn=Ae("Milliseconds",!1);V("z",0,0,"zoneAbbr"),V("zz",0,0,"zoneName");var fn=_.prototype;function pn(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:E(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 h(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=Pt,fn.min=Nt,fn.parsingFlags=function(){return f({},h(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:D[n]});return t.sort(function(e,t){return e.priority-t.priority}),t}(e=R(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 Oe(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 Me(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?$t(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=Ct(e))._a){var t=e._isUTC?p(e._a):At(e._a);this._isDSTShifted=this.isValid()&&x(e._a,t.toArray())>0}else this._isDSTShifted=!1;return this._isDSTShifted});var hn=P.prototype;function mn(e,t,n,r){var i=ft(),o=p().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}hn.calendar=function(e,t,n){var r=this._calendar[e]||this._calendar.sameElse;return A(r)?r.call(t,n):r},hn.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])},hn.invalidDate=function(){return this._invalidDate},hn.ordinal=function(e){return this._ordinal.replace("%d",e)},hn.preparse=pn,hn.postformat=pn,hn.relativeTime=function(e,t,n,r){var i=this._relativeTime[n];return A(i)?i(e,t,n,r):i.replace(/%d/i,e)},hn.pastFuture=function(e,t){var n=this._relativeTime[e>0?"future":"past"];return A(n)?n(t):n.replace(/%s/i,t)},hn.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)},hn.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},hn.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},hn.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=p([2e3,r]),this._shortMonthsParse[r]=this.monthsShort(o,"").toLocaleLowerCase(),this._longMonthsParse[r]=this.months(o,"").toLocaleLowerCase();return n?"MMM"===t?-1!==(i=Ce.call(this._shortMonthsParse,a))?i:null:-1!==(i=Ce.call(this._longMonthsParse,a))?i:null:"MMM"===t?-1!==(i=Ce.call(this._shortMonthsParse,a))?i:-1!==(i=Ce.call(this._longMonthsParse,a))?i:null:-1!==(i=Ce.call(this._longMonthsParse,a))?i:-1!==(i=Ce.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=p([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}},hn.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)},hn.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)},hn.week=function(e){return We(e,this._week.dow,this._week.doy).week},hn.firstDayOfYear=function(){return this._week.doy},hn.firstDayOfWeek=function(){return this._week.dow},hn.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},hn.weekdaysMin=function(e){return e?this._weekdaysMin[e.day()]:this._weekdaysMin},hn.weekdaysShort=function(e){return e?this._weekdaysShort[e.day()]:this._weekdaysShort},hn.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=p([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=Ce.call(this._weekdaysParse,a))?i:null:"ddd"===t?-1!==(i=Ce.call(this._shortWeekdaysParse,a))?i:null:-1!==(i=Ce.call(this._minWeekdaysParse,a))?i:null:"dddd"===t?-1!==(i=Ce.call(this._weekdaysParse,a))?i:-1!==(i=Ce.call(this._shortWeekdaysParse,a))?i:-1!==(i=Ce.call(this._minWeekdaysParse,a))?i:null:"ddd"===t?-1!==(i=Ce.call(this._shortWeekdaysParse,a))?i:-1!==(i=Ce.call(this._weekdaysParse,a))?i:-1!==(i=Ce.call(this._minWeekdaysParse,a))?i:null:-1!==(i=Ce.call(this._minWeekdaysParse,a))?i:-1!==(i=Ce.call(this._weekdaysParse,a))?i:-1!==(i=Ce.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=p([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}},hn.weekdaysRegex=function(e){return this._weekdaysParseExact?(d(this,"_weekdaysRegex")||Je.call(this),e?this._weekdaysStrictRegex:this._weekdaysRegex):(d(this,"_weekdaysRegex")||(this._weekdaysRegex=$e),this._weekdaysStrictRegex&&e?this._weekdaysStrictRegex:this._weekdaysRegex)},hn.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)},hn.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)},hn.isPM=function(e){return"p"===(e+"").toLowerCase().charAt(0)},hn.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 En(e){return 146097*e/4800}function kn(e){return function(){return this.as(e)}}var xn=kn("ms"),Sn=kn("s"),Tn=kn("m"),On=kn("h"),Cn=kn("d"),jn=kn("w"),An=kn("M"),Nn=kn("y");function Pn(e){return function(){return this.isValid()?this._data[e]:NaN}}var Mn=Pn("milliseconds"),Ln=Pn("seconds"),In=Pn("minutes"),Rn=Pn("hours"),Dn=Pn("days"),Bn=Pn("months"),Fn=Pn("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=E(n/60),t=E(e/60),n%=60,e%=60;var o=E(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?"-":"",p=Hn(this._months)!==Hn(d)?"-":"",h=Hn(this._days)!==Hn(d)?"-":"",m=Hn(this._milliseconds)!==Hn(d)?"-":"";return f+"P"+(o?p+o+"Y":"")+(a?p+a+"M":"")+(s?h+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(En(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=xn,Wn.asSeconds=Sn,Wn.asMinutes=Tn,Wn.asHours=On,Wn.asDays=Cn,Wn.asWeeks=jn,Wn.asMonths=An,Wn.asYears=Nn,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(En(s)+a),a=0,s=0),c.milliseconds=o%1e3,e=E(o/1e3),c.seconds=e%60,t=E(e/60),c.minutes=t%60,n=E(t/60),c.hours=n%24,a+=E(n/24),i=E(wn(a)),s+=i,a-=_n(En(i)),r=E(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=Mn,Wn.seconds=Ln,Wn.minutes=In,Wn.hours=Rn,Wn.days=Dn,Wn.weeks=function(){return E(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})?/),he("X",function(e,t,n){n._d=new Date(1e3*parseFloat(e,10))}),he("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 Mt("isBefore",[].slice.call(arguments,0))},i.max=function(){return Mt("isAfter",[].slice.call(arguments,0))},i.now=function(){return Date.now?Date.now():+new Date},i.utc=p,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=Rt,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=N(i,t),(n=new P(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 O(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(274)(e))},function(e,t,n){e.exports=n(1816)},function(e,t,n){var r=n(64);e.exports=r(function(e,t,n){return e(n[t])})},function(e,t,n){var r=n(127);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){e.exports=n(1405)},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){"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(2064)()},function(e,t,n){var r=n(19),i=n(33),o=n(15);e.exports=r(function(e,t){return i(o(e),t)})},function(e,t,n){var r=n(57),i=n(901);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 E});var r=n(748),i=n.n(r),o=n(375),a=n.n(o),s=n(1193),c=n.n(s),u=n(749),l=n.n(u),d=n(467),f=n.n(d),p=n(750),h=n.n(p),m=n(712),v=n.n(m),g=n(46),y=n.n(g),b=h()(l.a),_=y()(l.a,function(){return{}}),w=h()(c.a),E=a()(i()(w),i()(f.a));v()(E)},function(e,t,n){"use strict";n.d(t,"b",function(){return i}),n.d(t,"c",function(){return o}),n.d(t,"a",function(){return a}),n.d(t,"d",function(){return s}),n.d(t,"f",function(){return c}),n.d(t,"e",function(){return u}),n.d(t,"g",function(){return l}),n.d(t,"h",function(){return d}),n.d(t,"i",function(){return f}),n.d(t,"j",function(){return p}),n.d(t,"k",function(){return h}),n.d(t,"l",function(){return m});var r=n(101),i=Object(r.b)("ArrowDown"),o=Object(r.b)("ArrowUp"),a=Object(r.b)("AlignLeft"),s=Object(r.b)("ChevronDown"),c=Object(r.b)("ChevronelDown"),u=Object(r.b)("ChevronUp"),l=Object(r.b)("QuestionBox"),d=Object(r.b)("Search"),f=Object(r.b)("ToggleDown"),p=Object(r.b)("Touch"),h=Object(r.b)("VideoCamera"),m=Object(r.b)("X")},function(e,t,n){var r=n(155);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(206),i=n(508);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(167);e.exports=function(e){if(!r(e))throw TypeError(String(e)+" is not an object");return e}},function(e,t,n){
/** @license ISC License (c) copyright 2017 original and current authors */
var r=n(401),i=n(402),o=n(209).type("Async"),a=n(209).typeFn(o(),5),s=n(183),c=n(523),u=n(300),l=n(1639),d=n(1640),f=n(264),p=n(524),h=n(95),m=n(899),v=n(1641),g=n(222),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(!h(e))throw new TypeError("Async: Function required");var n=b,r=function(){return"Async"+i(e)};function c(t,n,r){if(!h(t)||!h(n))throw new TypeError("Async.fork: Reject and resolve functions required");var i=!1,o=!1,a=h(r)?r:d,s=function(e,t){if(!o)return o=!0,i?d():e(t)},c=e(s.bind(null,t),s.bind(null,n)),u=h(c)?c:d;return l(function(){return a((u(),void(i=!0)))})}function f(e){return function(t){if(!h(t))throw new TypeError("Async."+e+": Function required");return _(function(e,n){return c(e,u(n,t))})}}function p(e){return function(t,n){if(!h(t)||!h(n))throw new TypeError("Async."+e+": Functions required for both arguments");return _(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(!h(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(!h(e)||!h(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(!h(e)||!h(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 p=c(d,function(e){if(!h(e))throw new TypeError("Async.ap: Wrapped value must be a function");o=!0,r=e,f()}),m=e.fork(d,function(e){a=!0,i=e,f()});return function(){p(),m(),s=!0}})},of:n,alt:m("alt"),bimap:p("bimap"),map:f("map"),chain:v("chain"),bichain:function(e,t){var n="Async.bichain: Both arguments must be Async returning functions";if(!h(e)||!h(t))throw new TypeError(n);return _(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]=p(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(!h(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(!h(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(!p(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){t.action=n(1912),t.also=n(1914),t.error=n(1915),t.handle=n(1916),t.logError=n(1917),t.onSuccess=n(1918),t.sideEffect=n(1919)},function(e,t,n){e.exports=n(2045)()},function(e,t,n){var r=n(235),i={}.hasOwnProperty;e.exports=Object.hasOwn||function(e,t){return i.call(r(e),t)}},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){e.exports=n(1404)},function(e,t,n){
/** @license ISC License (c) copyright 2016 original and current authors */
var r=n(125),i=n(95);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 s}),n.d(t,"b",function(){return c.a}),n.d(t,"c",function(){return R}),n.d(t,"d",function(){return D.a}),n.d(t,"e",function(){return B.a}),n.d(t,"f",function(){return K}),n.d(t,"g",function(){return X.a});var r=n(2),i=n.n(r),o=n(0),a=n.n(o),s=function(e){var t=e.canProceed,n=e.canSubmit,r=e.onNext,o=e.onSubmit,s=e.quizNext,c=e.quizSubmit,u=e.allowNext,l=void 0!==u&&u,d=!t||void 0,f=!(n&&!t)||void 0,p=i()("quiz-card__actions",{"quiz-card__actions--proceed":t}),h=i()("quiz-card__button",{"brand--background":!f,"quiz-card__button--disabled":f}),m=i()("quiz-card__button","quiz-card__button--next","brand_ui",{"brand--background":t,"visually-hidden-always":!t});return a.a.createElement("div",{className:p},a.a.createElement("div",{className:"quiz-card__submit brand--ui"},a.a.createElement("button",{"aria-hidden":f,className:h,disabled:f,onClick:o,type:"button"},c)),l&&a.a.createElement("div",{className:"quiz-card__next brand--ui"},a.a.createElement("button",{"aria-hidden":d,className:m,disabled:d,onClick:r,type:"button"},s)))},c=n(1075),u=n(40),l=n.n(u),d=n(14),f=n.n(d),p=n(381),h=n.n(p),m=n(81),v=n.n(m),g=n(20),y=n(123),b=n(104),_=y.b.FILL_IN_THE_BLANK,w=y.b.MATCHING,E=y.b.MULTIPLE_CHOICE,k=y.b.MULTIPLE_RESPONSE,x="Correct answer",S="Your answer";function T(e){var t,n=e.answers;return l()(t=f()(n).call(n,function(e){return null==e?void 0:e.title})).call(t,Boolean).join(", ")}function O(e){var t,n=e.answers,r=e.correct,i=null!=r?Object(g.propEq)("id",r):Object(g.propEq)("correct",!0);return null===(t=h()(n).call(n,i))||void 0===t?void 0:t.title}function C(e,t){return l()(t).call(t,e).reduce(function(e,t,n){return 0===n?t.title:e+", "+t.title},"")}function j(e){var t=e.corrects;return C(function(e){var n;return Array.isArray(t)?null===(n=v()(t))||void 0===n?void 0:n.call(t,e.id):e.correct},e.answers)}function A(e){var t=e.answers,n=e.selection;return C(function(e,t){return v()(n).call(n,t)},t)}function N(e){var t=e.answers,n=e.selection,r=Object(g.invertObj)(n);return a.a.createElement("div",{className:"visually-hidden-always abs-center-x"},f()(t).call(t,function(e,n){var i,o=null==e?void 0:e.title,s=null==e?void 0:e.matchTitle,c=null==r?void 0:r[n],u=null==t?void 0:null===(i=t[c])||void 0===i?void 0:i.title;return a.a.createElement("div",{key:n},a.a.createElement("div",null,"Match Item: ",s),a.a.createElement("div",null,x,": ",o),a.a.createElement("div",null,S,": ",u))}))}function P(e){var t=e.correctAnswer,n=e.selectedAnswer,r=e.correctLabel,i=void 0===r?x:r;return t&&n?a.a.createElement("div",{className:"visually-hidden-always abs-center-x"},a.a.createElement("div",null,i,": ",Object(b.d)(t)),a.a.createElement("div",null,S,": ",Object(b.d)(n))):null}function M(e){var t,n=e.isCorrect,r=e.isComplete,i=e.item,o=e.selection;if(!i||!r||n)return null;var s,c,u=null!==(t=null==i?void 0:i.answers)&&void 0!==t?t:[],l=null==i?void 0:i.correct,d=null==i?void 0:i.corrects;switch(i.type){case w:return a.a.createElement(N,{answers:u,selection:o});case _:return a.a.createElement(P,{correctAnswer:T({answers:u}),selectedAnswer:o,correctLabel:"Acceptable responses"});case E:return a.a.createElement(P,{correctAnswer:O({answers:u,correct:l}),selectedAnswer:(s={answers:u,selection:o},null===(c=s.answers[s.selection])||void 0===c?void 0:c.title)});case k:return a.a.createElement(P,{correctAnswer:j({corrects:d,answers:u}),selectedAnswer:A({answers:u,selection:o})})}return null}var L=n(2256),I=n(452),R=function(e){var t=e.canProceed,n=e.feedbackRef,r=e.hasFeedback,s=e.isActive,c=e.isCorrect,u=e.item,l=e.feedbackGroup,d=e.quizCorrect,f=e.quizIncorrect,p=e.renderText,h=e.selection,m=Object(I.b)(),v=m.announcePolite,g=m.clearAnnouncements,y=Object(o.useRef)(),b=Object(L.a)(t),_=c?d:f,w=Object(o.useCallback)(function(){var e,t;null==y||null===(e=y.current)||void 0===e||null===(t=e.focus)||void 0===t||t.call(e),v(_)},[_,v]);Object(o.useLayoutEffect)(function(){!b&&t&&setTimeout(w,0)},[t,b,w]),Object(o.useEffect)(function(){return g},[g]);var E=i()("quiz-card__feedback",{"quiz-card__feedback--active":t,"quiz-card__feedback--frame":r}),k=i()("quiz-card__feedback-icon",{"quiz-card__feedback-icon--correct brand--color":c});return a.a.createElement(a.a.Fragment,null,a.a.createElement("div",{className:"visually-hidden-always abs-center-x",tabIndex:-1,ref:y},s&&t&&"Feedback has loaded"),a.a.createElement("div",{className:E,"aria-hidden":!s||void 0,ref:n},a.a.createElement("div",{className:"quiz-card__main--feedback"},a.a.createElement("div",{"aria-label":l,className:"quiz-card__feedback-wrap",role:"group"},a.a.createElement("div",{className:k},a.a.createElement("i",{"aria-hidden":"true",className:c?"icon icon-Master-05":"icon icon-Master-06"})),a.a.createElement("div",{className:"quiz-card__feedback-label brand--head"},_),a.a.createElement(M,{isComplete:t,isCorrect:c,item:u,selection:h}),a.a.createElement("div",null,p())))))},D=n(1076),B=n(1077),F=n(4),U=n.n(F),q=n(453),z=n.n(q),H=n(454),V=n.n(H),W=function(e,t){var n=V()(t);Object(o.useEffect)(function(){!n&&t&&e&&z()(e.focus)&&e.focus()},[t,n,e])},Y=n(340),G=n(23),K=function(e){var t,n,r=e.isActive,i=e.num,s=e.total,c=e.quizQuestion,u=Object(o.useRef)();return W(u.current,r),a.a.createElement("div",{className:"quiz-card__number"},a.a.createElement("h1",{className:"visually-hidden-always",ref:u,tabIndex:G.h},U()(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"},U()(n="".concat(Object(Y.b)(i),"/")).call(n,Object(Y.b)(s))))},X=n(1078)},function(e,t,n){var r=n(112),i=n(142),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(1115)("wks"),i=n(1116),o=n(141).Symbol,a=n(2275);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(207),o=n(141),a=n(167),s=n(265),c=n(1248),u=n(337),l=n(363),d=n(223).f,f=n(484),p=n(1123),h=n(189)("toStringTag"),m=n(1116)("TYPED_ARRAY_TAG"),v=o.DataView,g=v&&v.prototype,y=o.Int8Array,b=y&&y.prototype,_=o.Uint8ClampedArray,w=_&&_.prototype,E=y&&f(y),k=b&&f(b),x=Object.prototype,S=x.isPrototypeOf,T=!(!o.ArrayBuffer||!o.DataView),O=T&&!!p,C=!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]||(O=!1);if((!O||"function"!=typeof E||E===Function.prototype)&&(E=function(){throw TypeError("Incorrect invocation")},O))for(r in j)o[r]&&p(o[r],E);if((!O||!k||k===x)&&(k=E.prototype,O))for(r in j)o[r]&&p(o[r].prototype,k);if(O&&f(w)!==k&&p(w,k),i&&!s(k,h))for(r in C=!0,d(k,h,{get:function(){return a(this)?this[m]:void 0}}),j)o[r]&&u(o[r],m,r);T&&p&&f(g)!==x&&p(g,x),e.exports={NATIVE_ARRAY_BUFFER:T,NATIVE_ARRAY_BUFFER_VIEWS:O,TYPED_ARRAY_TAG:C&&m,aTypedArray:function(e){if(A(e))return e;throw TypeError("Target is not a typed array")},aTypedArrayConstructor:function(e){if(p){if(S.call(E,e))return e}else for(var t in 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:O&&b[e]||t)}},exportStatic:function(e,t,n){var r,a;if(i){if(p){if(n)for(r in j)(a=o[r])&&s(a,e)&&delete a[e];if(E[e]&&!n)return;try{return l(E,e,n?t:O&&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:E,TypedArrayPrototype:k}},function(e,t,n){var r=n(413),i=n(64);e.exports=i(r("slice",function(e,t,n){return Array.prototype.slice.call(n,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(1612),n(2)),p=n.n(f),h=n(1),m=n.n(h),v=n(16),g=n.n(v),y=n(375),b=n.n(y),_=n(46),w=n.n(_),E=n(286),k=n(382),x=n(288),S=n(383),T=n(61);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 C=function(e){return e&&(e.key||e.src)&&!e.isProcessing&&!e.error},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:"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(C(c))return e.createElement(E.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.asyncImgCn,a=r.defaultAlign,s=r.index,c=r.onLoad,u=r.opts,l=t.image,d=null!==(n=null==l?void 0:l.align)&&void 0!==n?n:a,f="image-".concat(s),p=u.disableZoom;if(C(l))return e.createElement(x.a,{align:d,asyncCn:o,key:f,src:Object(T.a)(l),alt:l.alt,disableZoom:p,allowTabNavigation:i,onLoad:c,imageKey:l.key,shouldFillWidth:l.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,p=a.onFullScreenChange,h=a.enableVideoPlaybackSpeed,m=(r=c,w()(g()(r),b()("-".concat(r))))(d()(n="video-".concat(u,"-")).call(n,l));if(C(o))return e.createElement(S.a,{allowTabNavigation:s,captionUID:o.captionUID,captions:o.captions,id:m,key:m,labels:f,onFullScreenChange:p,poster:o.poster,shouldPause:o.pause,src:o.key,canAdjustPlaybackSpeed:h})}},{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(C(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=p()({"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{asyncImgCn:m.a.bool,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{asyncImgCn:!1,defaultAlign:"left",media:{},index:"1",hasPadding:!0,opts:{},allowTabNavigation:!0,lessonNumber:1}}}]),r}(e.Component)}).call(this,n(0))},function(e,t,n){var r=n(64);e.exports=r(function(e,t,n){return n.replace(e,t)})},function(e,t,n){var r=n(19),i=n(58);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){"use strict";n.d(t,"a",function(){return y}),n.d(t,"c",function(){return b}),n.d(t,"b",function(){return _}),n.d(t,"d",function(){return w});var r=n(47),i=n.n(r),o=n(32),a=n.n(o),s=n(40),c=n.n(s),u=n(31),l=n.n(u),d=n(34),f=n.n(d),p=n(8),h=(n(81),n(170)),m=n.n(h);function v(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 g(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?v(Object(n),!0).forEach(function(t){Object(p.a)(e,t,n[t])}):f.a?Object.defineProperties(e,f()(n)):v(Object(n)).forEach(function(t){Object.defineProperty(e,t,l()(n,t))})}return e}var y=m()({BRAND:null,COLOR:null,IMAGE:null}),b=m()({BRANDED:null,UNBRANDED:null}),_=m()({WHITE:null,TRANSPARENT:null}),w=g(g({},{backgroundColor:"",backgroundMode:y.COLOR,cardMode:_.TRANSPARENT,entranceAnimation:!0,paddingBottom:3,paddingTop:3,styleMode:b.BRANDED}),{},{cardMode:_.WHITE})},function(e,t,n){var r=n(64),i=n(188),o=n(294),a=n(667),s=n(27),c=n(29);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(221),i=n(57),o=n(58);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";n.d(t,"d",function(){return S}),n.d(t,"c",function(){return T}),n.d(t,"a",function(){return O}),n.d(t,"b",function(){return C});var r=n(41),i=n.n(r),o=n(16),a=n.n(o),s=n(7),c=n.n(s),u=n(110),l=n.n(u),d=n(37),f=n.n(d),p=n(79),h=n.n(p),m=n(156),v=n.n(m),g=n(24),y=n.n(g),b=n(48),_=n.n(b),w=n(282),E=n.n(w),k=n(104),x=c()(l()(".svg"),_()("","originalUrl")),S=h()(x,a()({width:"500rem"}),a()({})),T=function(e){var t=e.alt,n=e.caption,r=e.fileName,o=e.key;if('""'===t)return"";if(t)return t;if(n){var a=Object(k.d)(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}},O=function(e){return e&&'""'!==e?e:void 0},C=function(e){return e?"img":void 0},j=function(e){return y()(_()("","originalUrl"),E()("."),v.a,f()(e))};j("svg"),j("gif")},function(e,t,n){"use strict";(function(e){n.d(t,"a",function(){return p}),n.d(t,"b",function(){return m}),n.d(t,"c",function(){return v}),n.d(t,"d",function(){return g}),n.d(t,"e",function(){return y}),n.d(t,"f",function(){return b});var r=n(63),i=n.n(r),o=n(381),a=n.n(o),s=n(0),c=n(65),u=n.n(c),l=n(18),d=n.n(l),f=i()(Object(s.createContext)(null),{displayName:"CourseContext"});function p(t){var n=t.children,r=t.course,i=t.partnerContent,o=t.search,a=Object(s.useMemo)(function(){return{course:r,partnerContent:i,search:o}},[r,i,o]);return e.createElement(f.Provider,{value:a},n)}f.Consumer;var h=s.useContext.bind(null,f);function m(){return h().course}function v(){var e,t=m();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})}function g(){var e=h(),t=e.course,n=e.partnerContent;return u()(d()("id",t.selectedAuthorId),n.content)}function y(){var e,t,n=g();return null!==(e=null==n?void 0:null===(t=n.data)||void 0===t?void 0:t.authors)&&void 0!==e?e:null}function b(){return h().search}}).call(this,n(0))},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 p}),n.d(t,"c",function(){return h}),n.d(t,"e",function(){return m});var r=n(114),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)},p=function(){if(a("downloadCertificate"))return o.downloadCertificate.apply(o,arguments)},h=function(){if(a("downloadCertificateCancel"))return o.downloadCertificateCancel.apply(o,arguments)},m=function(){if(a("fetchLpUpNext"))return o.fetchLpUpNext.apply(o,arguments)}},function(e,t,n){"use strict";var r=n(938),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(405),i=Math.min;e.exports=function(e){return e>0?i(r(e),9007199254740991):0}},function(e,t,n){var r=n(221),i=n(19);e.exports=i(function(e,t){return r(t,[e])})},function(e,t,n){var r=n(428);e.exports=r(1,"join")},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(508);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(130)(function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a})},function(e,t,n){var r=n(498),i=n(796),o=n(797);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,"e",function(){return l}),n.d(t,"c",function(){return d}),n.d(t,"b",function(){return f}),n.d(t,"d",function(){return p}),n.d(t,"f",function(){return h}),n.d(t,"g",function(){return m});var r=n(8),i=n(55),o=n.n(i),a=n(28),s=n.n(a),c=n(67),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})},p=function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];return Object(c.a)(u,{coverLoaded:e})},h=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){
/** @license ISC License (c) copyright 2016 original and current authors */
var r=n(95),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";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=p(n(2675)),i=p(n(2680)),o=p(n(2681)),a=p(n(1260)),s=p(n(2251)),c=p(n(2249)),u=p(n(2306)),l=p(n(2248)),d=p(n(2308)),f=p(n(2682));function p(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";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(35),i=n(4),o=n.n(i),a=(n(2012),n(0)),s=n.n(a),c=n(7),u=n.n(c),l=n(2),d=n.n(l),f=n(204),p=n.n(f),h=n(33),m=n.n(h),v=n(48),g=n.n(v),y=n(267),b=n.n(y),_=n(255),w=n.n(_),E=n(36),k=n(23),x=n(103),S=n(25),T=function(e){var t,n,i=e.allowTabNavigation,c=e.isComplete,u=e.isCorrect,l=e.onChange,f=e.onEnterToSubmit,p=e.options,h=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-")}),x=Object(r.a)(_,1)[0],T="".concat(x,"-feedback"),O="".concat(x,"-acceptable"),j="".concat(x,"-input"),A=c?o()(t="".concat(T," ")).call(t,O):void 0,N=c?void 0:v,P=i?0:k.h,M=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]),R=Object(a.useCallback)(function(e){Object(S.d)(e)&&f(e)},[f]),D=c?void 0:I,B=c?void 0:R;return s.a.createElement("div",{className:"quiz-fill"},s.a.createElement("div",{className:"quiz-fill__container"},s.a.createElement("input",{"aria-labelledby":h,"aria-describedby":A,"aria-hidden":!i,"aria-readonly":c,autoComplete:"off",className:"quiz-fill__input brand--body ignore-prefers",id:j,onChange:D,onKeyDown:B,placeholder:N,readOnly:c,ref:b,tabIndex:P,type:"text",value:y}),g&&s.a.createElement("div",{className:M,id:T},u&&s.a.createElement(E.f,{"aria-label":"Correct",className:"brand--fill"}),!u&&s.a.createElement(E.L,{"aria-label":"Incorrect"}))),g&&c&&s.a.createElement("div",{className:L,id:O},o()(n="".concat(m,": ")).call(n,C(p))))};T.defaultProps={onChange:x.b,onEnterToSubmit:x.b};var O,C=u()(p()(", "),m()(u()(b.a,g()("","title")))),j=T,A=n(608),N=n(8),P=n(14),M=n.n(P),L=(n(2014),n(454)),I=n.n(L),R=(O={},Object(N.a)(O,"NEXT",function(e,t){return t===e-1?0:t+1}),Object(N.a)(O,"PREV",function(e,t){return 0===t?e-1:t-1}),O),D=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,p=e.onChange,h=e.onEnterToSubmit,m=e.onNav,v=e.prefersKeyboardNavigation,g=e.renderOptionText,y=e.revealAnswers,b=e.title,_=Object(a.useState)(function(){return w()("qmc-")}),x=Object(r.a)(_,1)[0],T=Object(a.useRef)(),O=I()(f),C=c&&y,j="".concat(x,"-label"),A=C?"".concat(x,"-result"):void 0,N=c?"true":"false",P=t&&(f||l&&0===o)?0:k.h,M=c&&u&&y,L=c&&!u&&y,R=d()("quiz-multiple-choice-option-wrap",{"quiz-multiple-choice-option-wrap--complete":c}),D=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":M,"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":M}),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)?h(e):Object(S.c)(e)?(e.preventDefault(),m("NEXT")):Object(S.o)(e)?(e.preventDefault(),m("PREV")):Object(S.k)(e)&&(e.preventDefault(),p({selectedIndex:o})))},[o,p,h,m]),H=Object(a.useCallback)(function(e){"A"!==e.target.tagName&&p({selectedIndex:o})},[o,p]),V=c?void 0:H,W=c?void 0:z;return Object(a.useEffect)(function(){t&&!O&&f&&T.current&&T.current.focus()},[t,f,O]),s.a.createElement("div",{className:R,onClick:V},s.a.createElement("div",{"aria-checked":f,"aria-describedby":A,"aria-disabled":N,"aria-labelledby":j,className:D,onKeyDown:W,ref:T,role:"radio",tabIndex:P},s.a.createElement("div",{className:"quiz-multiple-choice-option__indicator",style:{color:n}},s.a.createElement(E.i,{className:B}),s.a.createElement(E.e,{"aria-hidden":"true",className:F}),s.a.createElement(E.o,{"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})),C&&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,p=e.renderOptionText,h=e.revealAnswers,m=e.selectedIndex,v=Object(a.useCallback)(function(e){var t=l.length;1!==t&&o({selectedIndex:R[e](t,m||0)})},[o,l.length,m]);return s.a.createElement("div",{"aria-labelledby":f,role:"radiogroup"},M()(l).call(l,function(e,a,u){return s.a.createElement(D,{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:p,revealAnswers:h,title:e.title})}))},F=(n(2015),n(110)),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,p=e.prefersKeyboardNavigation,h=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"),x=b?"".concat(y,"-result"):void 0,T=o?"true":"false",O=t?0:k.h,C=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":p,"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}),N=Object(a.useCallback)(function(e){Object(S.d)(e)?f(e):Object(S.k)(e)&&(e.preventDefault(),l({optionIndex:i}))},[i,f,l]),P=Object(a.useCallback)(function(e){"A"!==e.target.tagName&&l({optionIndex:i})},[i,l]),M=o?void 0:P,L=o?void 0:N;return s.a.createElement("li",{className:C,onClick:M,role:"listitem"},s.a.createElement("div",{"aria-checked":u,"aria-describedby":x,"aria-disabled":T,"aria-labelledby":_,className:j,onKeyDown:L,role:"checkbox",tabIndex:O},s.a.createElement("div",{className:"quiz-multiple-response-option__indicator"},s.a.createElement(E.e,{"aria-hidden":"true",className:"quiz-multiple-response-option__check brand--fill",width:"9",height:"7"}),s.a.createElement(E.o,{"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:_},h({optionId:n,title:v})),b&&s.a.createElement("div",{className:"visually-hidden-always",id:x},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,p=e.selectedIndices,h=void 0===p?[]:p;return s.a.createElement("ul",{role:"list"},M()(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,h),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 E}),n.d(t,"g",function(){return k}),n.d(t,"h",function(){return x}),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(35),c=n(4),u=n.n(c),l=n(75),d=n.n(l),f=n(86),p=n.n(f),h=n(26),m=n.n(h),v=n(21),g=n.n(v),y=["media","storyline"],b=g()(null,["payload","result"]),_=m()(y),w=m()(u()(r=[]).call(r,y,["thumbnail"])),E=m()(u()(i=[]).call(i,y,["meta","version"])),k=g()(null,u()(o=[]).call(o,y,["src"])),x=m()(["payload","result","completion"]),S=m()(u()(a=[]).call(a,y,["processing"])),T=g()(!1,["payload","result","score"]),O=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}),C={mobile:"?forcemobile=1&devicepreview=1&phone=1&rise=true",tablet:"?forcemobile=1&devicepreview=1&rise=true"},j=O({majorLimit:3,minorLimit:13}),A=function(e,t,n){var r,i,o,a=t&&(i=n,o=p()(i.split("-")),C[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 i}),n.d(t,"b",function(){return o});var r=n(51);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";n.d(t,"a",function(){return o}),n.d(t,"b",function(){return a});var r=n(41),i=n.n(r),o=(n(26),function(e){return function(){return document.querySelector(e)}}),a=function(e){return i()(Array.prototype).call(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(67),c=n(55),u=n.n(c)()("rise/search/"),l=u("RESET_SEARCH"),d=u("SET_SEARCH_ACTIVE"),f=u("SET_SEARCH_ACTIVE_LESSONS"),p=u("SET_SEARCH_LESSONS"),h=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,p,function(e,t){return a()("lessons",t,e)}),Object(i.a)(r,h,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)(p),_=Object(s.a)(h)},function(e,t,n){var r,i=n(280);
/*!
  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(682))&&n(682)?void 0===(r=function(){return a}.apply(t,[]))||(e.exports=r):window.classNames=a}()},function(e,t,n){var r=n(166),i=n(220),o=n(325);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(166),i=n(793),o=n(102),a=n(494),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(125),i=n(95),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){var r=n(207),i=n(2270),o=n(178),a=n(482),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(19);e.exports=r(function(e,t){return e<=t})},function(e,t,n){var r=n(64),i=n(37),o=n(26);e.exports=r(function(e,t,n){return i(o(e,n),t)})},function(e,t,n){var r=n(19);e.exports=r(function(e,t){return e>t})},function(e,t,n){e.exports=n(1656)},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(55),a=n.n(o),s=n(16),c=n.n(s),u=n(28),l=n.n(u),d=n(67),f=a()("rise/sessionPreferences/"),p=f("LOAD_SESSION_PREFERENCES"),h=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,p,l.a),Object(i.a)(r,h,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)(p,null)),g=Object(d.a)(h),y=Object(d.a)(m)},function(e,t,n){var r=n(662),i=n(57);e.exports=i(function(e){return r.apply(null,[{}].concat(e))})},function(e,t,n){"use strict";var r=n(752),i=n.n(r);i.a.dynamicDrop(!0),t.a=i.a},function(e,t,n){"use strict";(function(e){n.d(t,"a",function(){return E}),n.d(t,"b",function(){return k}),n.d(t,"c",function(){return x}),n.d(t,"d",function(){return S});var r=n(47),i=n.n(r),o=n(32),a=n.n(o),s=n(40),c=n.n(s),u=n(31),l=n.n(u),d=n(34),f=n.n(d),p=n(8),h=n(35),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(p.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(h.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(p.a)({},r,a)))}return s.displayName=v()(a="".concat(i,"(")).call(a,o.displayName||o.name,")"),s}}function E(e){return _("max-width",e-1)}function k(e){return _("min-width",e)}function x(e,t,n){return w("max-width",e-1,t,n)}function S(e,t,n){return w("min-width",e,t,n)}}).call(this,n(0))},function(e,t,n){"use strict";var r=n(1422);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){e.exports=n(1618).default},function(e,t,n){var r=n(272);e.exports=function(e){return Object(r(e))}},function(e,t,n){var r=n(495),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(95),i=n(183);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 2016 original and current authors */
var r=n(125),i=n(95);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){var r=n(619),i=n(272);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(866),i="object"==typeof self&&self&&self.Object===Object&&self,o=r||i||Function("return this")();e.exports=o},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(111),i=n(824);e.exports=r?i:function(e){return Map.prototype.entries.call(e)}},function(e,t,n){"use strict";var r=n(1087),i=n(93);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,p,h=Object.keys(n);for(o=0,a=h.length;o<a;++o)if(l=n[s=h[o]],t.hasOwnProperty(s)||(t[s]=l),(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&&(p=r(l)).valid){t[s]=p.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(19),i=n(412);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(19);e.exports=r(function(e,t){return e*t})},function(e,t,n){var r=n(19);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(64),i=n(16),o=n(62);e.exports=r(function(e,t,n){return o(e,i(t),n)})},function(e,t,n){var r=n(19);e.exports=r(function(e,t){return e<t})},function(e,t,n){"use strict";var r=n(1891),i=n(1892);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=["/","?","#"],p=/^[+a-z0-9A-Z_-]{0,63}$/,h=/^([+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(1893);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 E=(w=w[0]).toLowerCase();this.protocol=E,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 x,S,T=-1,O=0;O<f.length;O++){-1!==(C=b.indexOf(f[O]))&&(-1===T||C<T)&&(T=C)}-1!==(S=-1===T?b.lastIndexOf("@"):b.lastIndexOf("@",T))&&(x=b.slice(0,S),b=b.slice(S+1),this.auth=decodeURIComponent(x)),T=-1;for(O=0;O<d.length;O++){var C;-1!==(C=b.indexOf(d[O]))&&(-1===T||C<T)&&(T=C)}-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(/\./),N=(O=0,A.length);O<N;O++){var P=A[O];if(P&&!P.match(p)){for(var M="",L=0,I=P.length;L<I;L++)P.charCodeAt(L)>127?M+="x":M+=P[L];if(!M.match(p)){var R=A.slice(0,O),D=A.slice(O+1),B=P.match(h);B&&(R.push(B[1]),D.unshift(B[2])),D.length&&(b="/"+D.join(".")+b),this.hostname=R.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[E])for(O=0,N=l.length;O<N;O++){var q=l[O];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[E]&&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 p=d[f];n[p]=e[p]}return n.href=n.format(),n}if(n.protocol=e.protocol,e.host||v[e.protocol])n.pathname=e.pathname;else{for(var h=(e.pathname||"").split("/");h.length&&!(e.host=h.shift()););e.host||(e.host=""),e.hostname||(e.hostname=""),""!==h[0]&&h.unshift(""),h.length<2&&h.unshift(""),n.pathname=h.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,E=w,k=n.pathname&&n.pathname.split("/")||[],x=(h=e.pathname&&e.pathname.split("/")||[],n.protocol&&!g[n.protocol]);if(x&&(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&&(""===h[0]?h[0]=e.host:h.unshift(e.host)),e.host=null),w=w&&(""===h[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=h;else if(h.length)k||(k=[]),k.pop(),k=k.concat(h),n.search=e.search,n.query=e.query;else if(!i.isNullOrUndefined(e.search)){if(x)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,O=0,C=k.length;C>=0;C--)"."===(S=k[C])?k.splice(C,1):".."===S?(k.splice(C,1),O++):O&&(k.splice(C,1),O--);if(!w&&!E)for(;O--;O)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);x&&(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){"use strict";(function(e){n.d(t,"b",function(){return O}),n.d(t,"a",function(){return C});var r=n(47),i=n.n(r),o=n(32),a=n.n(o),s=n(40),c=n.n(s),u=n(31),l=n.n(u),d=n(34),f=n.n(d),p=n(8),h=n(70),m=n(63),v=n.n(m),g=n(29),y=n.n(g),b=n(128),_=n.n(b),w=n(0),E=n(195),k=["children"];function x(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?x(Object(n),!0).forEach(function(t){Object(p.a)(e,t,n[t])}):f.a?Object.defineProperties(e,f()(n)):x(Object(n)).forEach(function(t){Object.defineProperty(e,t,l()(n,t))})}return e}var T=v()(Object(w.createContext)(E.d),{displayName:"BlockSettingsContext"});function O(){return Object(w.useContext)(T)}function C(t){var n=t.children,r=Object(h.a)(t,k),i=O(),o=_()(y.a,r),a=S(S({},i),o);return e.createElement(T.Provider,{value:a},n)}T.Consumer}).call(this,n(0))},function(e,t,n){var r=n(281);e.exports=r(-1)},function(e,t,n){var r=n(57),i=n(188);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(298),i=0;e.exports=function(e){var t=++i;return r(e)+t}},function(e,t,n){var r=n(825),i=n(19),o=n(1424),a=n(419);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(125),i=n(299),o=n(666);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(374),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||p(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}},p=function(e){return!!e&&"mailto:"===i()(e).call(e,0,7)}},function(e,t,n){"use strict";n.d(t,"a",function(){return O}),n.d(t,"b",function(){return C});var r=n(27),i=n.n(r),o=n(7),a=n.n(o),s=(n(445),n(38),n(126)),c=n.n(s),u=n(26),l=n.n(u),d=n(21),f=n.n(d),p=n(24),h=n.n(p),m=n(15),v=n.n(m),g=n(1154),y=n.n(g),b=n(193),_=n.n(b),w=n(256),E=n.n(w),k=n(139),x=n(104),S=k.e.validIframe,T=k.e.validUrl,O=(i()("type","embed"),y()("type","embedType"),_()(/http:/i,"https:"),h()(f()({},[0]),c()(l()(["media","embed","embedType"]),l()(["media","embed","type"])))),C=c()(v()("embedType"),v()("type"));c()(a()(E()(S),x.b),E()(T))},function(e,t,n){"use strict";n.d(t,"a",function(){return i}),n.d(t,"b",function(){return o}),n.d(t,"e",function(){return a}),n.d(t,"g",function(){return s}),n.d(t,"d",function(){return c}),n.d(t,"c",function(){return u}),n.d(t,"f",function(){return l});var r=n(51);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(){return Object(r.d)(function(e){return a(e)})}function c(e){var t=i(e);return null==t?void 0:t.lessons}function u(e,t){var n=c(t);return null==n?void 0:n[e]}function l(e){return Object(r.d)(function(t){return u(e,t)})}},function(e,t,n){e.exports=n(1663)},function(e,t,n){"use strict";n.d(t,"a",function(){return u}),n.d(t,"b",function(){return l}),n.d(t,"f",function(){return d}),n.d(t,"e",function(){return p}),n.d(t,"d",function(){return h}),n.d(t,"c",function(){return m});var r=n(170),i=n.n(r),o=n(226),a=n.n(o),s=n(18),c=n.n(s),u={LESSON:"lesson",QUIZ:"quiz",SECTION:"section"},l=i()({ORDER:null,QUIZ:null}),d=function(e){return"/lessons/".concat(encodeURIComponent(e))},f=c()("type"),p=f(u.SECTION),h=f(u.QUIZ),m=a()(["settings","passToContinue"],!0)},function(e,t,n){"use strict";(function(e){n.d(t,"h",function(){return N}),n.d(t,"g",function(){return P}),n.d(t,"f",function(){return M}),n.d(t,"b",function(){return L}),n.d(t,"c",function(){return I}),n.d(t,"d",function(){return R}),n.d(t,"e",function(){return D}),n.d(t,"a",function(){return B});var r=n(3),i=n.n(r),o=n(17),a=n(9),s=n(10),c=n(6),u=n(11),l=n(13),d=n(5),f=n(4),p=n.n(f),h=n(14),m=n.n(h),v=n(41),g=n.n(v),y=(n(1967),n(0)),b=n(1),_=n.n(b),w=n(2),E=n.n(w),k=n(74),x=n(104),S=n(99),T=n(59),O=n(42),C=n(115);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(68).b.blocks,N=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,p()(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(O.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,p=c.paddingTop,h=c.paddingBottom,v=c.backgroundColor,b=c.entranceAnimation,_=E()("block-text block-text--".concat(o),{"block-text--no-animation":!b}),w={backgroundColor:Object(k.a)("",v),paddingTop:"".concat(10*p,"px"),paddingBottom:"".concat(10*h,"px")},x=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(x,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),P=function(t){return e.createElement(N,Object(o.a)({type:"twocol",columns:2},t))},M=function(t){return e.createElement(N,Object(o.a)({type:"threecol",columns:3},t))},L=function(t){return e.createElement(N,Object(o.a)({type:"heading",heading:"heading"},t))},I=function(t){return e.createElement(N,Object(o.a)({type:"heading",heading:"subheading"},t))},R=function(t){return e.createElement(N,Object(o.a)({heading:"heading"},t))},D=function(t){return e.createElement(N,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,p()(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,p=s.entranceAnimation,h=s.snippetBackgroundColor,v=E()("block-text block-text--code",{"block-text--padding-top":2===Number(l),"block-text--padding-bottom":2===Number(d),"block-text--no-animation":!p}),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(C.a)(t);return e.createElement("div",{className:"block-text__row",key:t.id},e.createElement("div",{"aria-label":a,className:"block-text__col",role:C.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)("",h)},dangerouslySetInnerHTML:{__html:Object(x.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(403);e.exports=function(e){return Object(r(e))}},function(e,t,n){var r,i=n(57);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){"use strict";var r=n(778);t.a=Object(r.a)("CoverAction")},function(e,t,n){"use strict";var r=n(0),i=n.n(r),o=n(36),a=n(101),s=n(22),c=n(199),u=n(77),l=Object(u.a)("cover"),d=function(e){var t=e.avatar;return t?i.a.createElement("div",{className:l("header-content-authors-avatar"),style:{backgroundImage:"url(".concat(Object(s.g)(t),")")}}):i.a.createElement("div",{className:l("header-content-authors-avatar-fallback")},i.a.createElement(o.F,{decorative:!0}))};t.a=Object(a.a)("CoverAuthors",function(e){var t,n,r=e.className,o=(null!==(t=Object(c.b)())&&void 0!==t?t:{}).selectedAuthorId,a=null!==(n=Object(c.c)())&&void 0!==n?n:{},s=a.authorName,u=a.avatar;if("none"===o)return null;var f=s||"Unknown User",p="By ".concat(f),h=l("header-content-authors").mix(r);return i.a.createElement("div",{className:h},i.a.createElement(d,{avatar:u}),i.a.createElement("div",{className:l("header-content-authors-name")},i.a.createElement("span",{"aria-hidden":"true"},f),i.a.createElement("span",{className:"visually-hidden"},p)))})},function(e,t,n){"use strict";(function(e){var r=n(77),i=n(199),o=Object(r.a)("cover");t.a=function(t){var n=t.children,r=!!Object(i.d)(),a=o("header-content-info",{rbc:r});return e.createElement("div",{className:a},n)}}).call(this,n(0))},function(e,t,n){"use strict";var r=n(0),i=n.n(r),o=n(101),a=n(199),s=n(77),c=Object(s.a)("cover");t.a=Object(o.a)("CoverTitle",function(e){var t=e.className,n=Object(a.b)().title;return i.a.createElement("h1",{className:c("header-content-title").mix(t)},n)})},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(1228),s=n(142),c=n(151),u=n(219),l=n(182),d=n(623),f=n(500),p=n(415),h=s.WeakMap;if(a||d.state){var m=d.state||(d.state=new h),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");p[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.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){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){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(1103),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(138),i=n(774);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(19);e.exports=r(function(e,t){return Number(e)+Number(t)})},function(e,t,n){var r=n(428);e.exports=r(1,"split")},function(e,t,n){var r=n(19);e.exports=r(function(e,t){return e/t})},function(e,t,n){var r=n(19),i=n(146),o=n(1660);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){e.exports=n(1418)},function(e,t,n){"use strict";n.d(t,"b",function(){return P}),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(41),f=n.n(d),p=(n(1613),n(0)),h=n.n(p),m=n(2),v=n.n(m),g=n(1),y=n.n(g),b=n(38),_=n.n(b),w=n(21),E=n.n(w),k=n(45),x=n(22),S=n(25),T=n(23),O=n(107),C=n(289),j=n(115);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 N=function(e){var t=e.currentTime,n=e.duration;return Math.round(t/n*100)||0},P=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(N(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=E()(null,["audio","currentTime"],this),d=E()(null,["audio","duration"],this),f=Object(T.l)(n),p=i.audioPlayerGroup,m=i.pauseButtonLabel,g=i.playButtonLabel,y=i.seekSliderLabel;return h.a.createElement("div",{key:"player-"+r,className:"audio-player"},h.a.createElement("div",{"aria-hidden":!n,"aria-label":p,className:"audio-player__housing",onKeyDown:this.onKeyDown.bind(this),role:j.b,tabIndex:f},h.a.createElement("div",{"aria-label":a?m:g,className:c,onClick:this.onPlayClick,role:"button",tabIndex:f}),h.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)},h.a.createElement("div",{ref:function(t){return e.trackerbar=t},className:"audio-player__tracker-bar"}),h.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})),h.a.createElement("div",{className:"audio-player__timer"},this.state.currentTime),h.a.createElement("div",{className:u,onClick:this.onVolumeClick.bind(this)},h.a.createElement("i",{className:"icon-volume"}),h.a.createElement("i",{className:"icon-mute"}))),h.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(x.g)("".concat(o)),key:"audio-"+r}))}},{key:"onKeyDown",value:function(e){var t=this,n=Object(O.b)(this.onPlayClick),r=Object(O.b)(function(){return t.keySeek(5)}),i=Object(O.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(N(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(N(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(x.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(N(e.target)),this.setState({playheadPositionSaveThrottle:a}))}},{key:"currentTime",value:function(){return n.timeMs(this.audio.currentTime)}}],[{key:"defaultProps",get:function(){return{allowTabNavigation:!0,labels:{audioPlayerGroup:C.a.audioPlayerGroup,pauseButtonLabel:C.a.pauseButtonLabel,playButtonLabel:C.a.playButtonLabel,seekSliderLabel:C.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}(h.a.Component),M=h.a.createElement(P,null).type},function(e,t,n){"use strict";n.d(t,"a",function(){return H}),n.d(t,"b",function(){return V}),n.d(t,"d",function(){return Z}),n.d(t,"e",function(){return J});var r,i=n(8),o=n(14),a=n.n(o),s=n(224),c=n.n(s),u=n(573),l=n.n(u),d=n(27),f=n.n(d),p=n(7),h=n.n(p),m=n(55),v=n.n(m),g=n(60),y=n.n(g),b=n(28),_=n.n(b),w=n(144),E=n.n(w),k=n(26),x=n.n(k),S=n(24),T=n.n(S),O=n(18),C=n.n(O),j=n(128),A=n.n(j),N=n(572),P=n.n(N),M=n(46),L=n.n(M),I=n(67),R=n(73),D=n(322),B=n(574),F=n(734),U=n(722),q=n(210),z=v()("rise/course/"),H=z("LOAD_COURSE"),V=z("UPDATE_COURSE_PREVIEW"),W=function(e){return h()(_()(e),E()("lessonsOnly"),A()(C()("type","section")))(e.lessons)},Y=l()(x()(["features","rise-course-themes"]),x()(["theme"])),G=L()(Y,F.b),K=P()(f()("favoritedAt",new Date)),X=P()(f()("favoritedAt",null));t.c=Object(I.c)({},(r={},Object(i.a)(r,D.a,K),Object(i.a)(r,D.b,X),Object(i.a)(r,H,function(e,t){var n=t.completedAt,r=t.course,i=t.favoritedAt,o=t.riseComCurrentUser,a=t.riseComCourseId,s=t.riseComEnrollmentType,u=t.riseComLearningPathId;return T()(W,_()(c.a,{completedAt:n,favoritedAt:i,riseComCourseId:a,riseComEnrollmentType:s,riseComCurrentUser:o,riseComLearningPathId:u}),G)(r)}),Object(i.a)(r,V,function(e,t){return t.course}),r));var $=function(e){return function(t){return t([Object(I.a)(B.a,e),Object(q.g)(!0)])}},Q=function(e){return y()(e)?Object(q.g)(!0):a()(t=Object(R.c)(e)).call(t,$);var t},Z=function(){return function(e){return Object(R.b)().then(function(e){return function(t){var n=t.course,r=Object(U.a)({course:n,lessons:n.lessons});e([Object(I.a)(H,t),Object(q.c)(!0),Q(r)])}}(e)).catch(function(e){return function(t){404===t.statusCode&&e(Object(q.f)(!0))}}(e))}},J=Object(I.a)(V)},function(e,t,n){"use strict";var r=n(35),i=n(0),o=n.n(i),a=n(2),s=n.n(a),c=n(198),u=n(585),l=n(577),d=(n(1932),function(e){var t=e.align,n=e.alt,a=e.allowTabNavigation,d=void 0===a||a,f=e.asyncCn,p=void 0!==f&&f,h=e.caption,m=e.disableZoom,v=e.fileName,g=e.shouldFillWidth,y=e.imageKey,b=e.onLoad,_=e.src,w=Object(i.useRef)(),E=Object(i.useRef)(),k=Object(i.useRef)(),x=Object(c.c)({alt:n,caption:h,fileName:v,key:y}),S=d&&!m,T=s()("img-img",{"img-img--left":"left"===t,"img-img--right":"right"===t,"img-img--center":!t||"center"===t,"img-img--fill":g,"img--zoom":S});k.current=T;var O=Object(i.useState)(T),C=Object(r.a)(O,2),j=C[0],A=C[1],N=Object(i.useCallback)(function(e){E.current.zoom(w.current,e.currentTarget,{})},[]),P=Object(i.useCallback)(function(){A(k.current),null==b||b()},[A,b]),M=Object(i.useCallback)(function(){var e=Object(u.a)();return E.current=e,function(){e.cleanup()}},[]),L=Object(i.useCallback)(function(){g||A(k.current)},[A,g]);Object(i.useEffect)(M,[]),Object(i.useEffect)(L,[t]);var I=S?N:void 0;return o.a.createElement("div",{className:"img"},o.a.createElement("img",{alt:x,className:p?j:k.current,onClick:I,onLoad:b||P,ref:w,role:"img",src:_}),S&&o.a.createElement("button",{"aria-label":"Zoom image",className:"img__btn visually-hidden",onClick:N,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,"a",function(){return N});var r,i,o=n(4),a=n.n(o),s=n(40),c=n.n(s),u=n(147),l=n.n(u),d=n(109),f=n.n(d),p=n(65),h=n.n(p),m=n(173),v=n.n(m),g=n(33),y=n.n(g),b=n(230),_=n.n(b),w=n(24),E=n.n(w),k=n(172),x=n.n(k),S=n(15),T=n.n(S),O=n(22),C=function(e){return"Accessibility"===e.title},j=f()(C),A=[{title:"Course Overview",labels:a()(r=[{name:"courseStart",text:"START COURSE"},{name:"courseResume",text:"RESUME COURSE"}]).call(r,O.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,O.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"}]}],N=(E()(h()(C),T()("labels"),x()("name"))(A),E()(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!O.e||"Exit Course (LMS)"!==t}))},function(e,t,n){"use strict";n.d(t,"b",function(){return F});var r=n(451),i=n(104),o=n(1155),a=n.n(o),s=n(16),c=n.n(s),u=n(1156),l=n.n(u),d=n(211),f=n.n(d),p=n(185),h=n.n(p),m=n(37),v=n.n(m),g=n(238),y=n.n(g),b=n(86),_=n.n(b),w=n(1157),E=n.n(w),k=n(1158),x=n.n(k),S=n(1159),T=n.n(S),O=n(282),C=n.n(O),j=n(710),A=n.n(j),N=n(89),P=n.n(N),M=n(71),L=n.n(M),I=E()(v.a,["http","https"]),R=f()(_.a,C()(":")),D=f()(y()(x()(a.a),I),l.a),B=f()(T()(A()("//"),D),R),F=h()(function(e){return f()(function(e){return P()((t=e,n=B,function(e){return!t(e)||n(e)}),c()(""));var t,n}(e),r.htmlDecode,i.d)}),U=F(L.a);t.a=U},function(e,t,n){"use strict";e.exports=function(){}},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(108))},function(e,t,n){var r=n(166),i=n(493),o=n(325),a=n(239),s=n(494),c=n(182),u=n(793),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(633),i=n(220).f,o=n(219),a=n(182),s=n(1345),c=n(133)("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){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&&p())}function p(){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 h(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 h(e,t)),1!==u.length||l||s(p)},h.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,n){var r=n(879);e.exports=function(e){return null==e?"":r(e)}},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){"use strict";var r=n(117),i=n(93),o=n(434);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(2075),e.exports.Line=n(2076),e.exports.Point=n(2077),e.exports.Rectangle=n(2078)},function(e,t,n){var r=n(19);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(108))},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 X});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(83),p=n(148),h=n(459),m=n.n(h),v=n(550),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 E(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 x(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,h=void 0===d?void 0:d,x=n.shouldHandleStateChanges,S=void 0===x||x,T=n.storeKey,O=void 0===T?"store":T,C=(n.withRef,n.forwardRef),j=void 0!==C&&C,A=n.context,N=void 0===A?o:A,P=Object(p.a)(n,["getDisplayName","methodName","renderCountProp","shouldHandleStateChanges","storeKey","withRef","forwardRef","context"]),M=N;return function(t){var n=t.displayName||t.name||"Component",o=s(n),a=Object(f.a)({},P,{getDisplayName:s,methodName:l,renderCountProp:h,shouldHandleStateChanges:S,storeKey:O,displayName:o,wrappedComponentName:n,WrappedComponent:t}),c=P.pure;var d=c?r.useMemo:function(e){return e()};function x(n){var o=Object(r.useMemo)(function(){var e=n.reactReduxForwardedRef,t=Object(p.a)(n,["reactReduxForwardedRef"]);return[n.context,e,t]},[n]),s=o[0],c=o[1],l=o[2],h=Object(r.useMemo)(function(){return s&&s.Consumer&&Object(v.isContextConsumer)(i.a.createElement(s.Consumer,null))?s:M},[s,M]),m=Object(r.useContext)(h),x=Boolean(n.store)&&Boolean(n.store.getState)&&Boolean(n.store.dispatch);Boolean(m)&&Boolean(m.store);var T=x?n.store:m.store,O=Object(r.useMemo)(function(){return function(t){return e(t.dispatch,a)}(T)},[T]),C=Object(r.useMemo)(function(){if(!S)return y;var e=new u(T,x?null:m.subscription),t=e.notifyNestedSubs.bind(e);return[e,t]},[T,x,m]),j=C[0],A=C[1],N=Object(r.useMemo)(function(){return x?m:Object(f.a)({},m,{subscription:j})},[x,m,j]),P=Object(r.useReducer)(b,g,k),L=P[0][0],I=P[1];if(L&&L.error)throw L.error;var R=Object(r.useRef)(),D=Object(r.useRef)(l),B=Object(r.useRef)(),F=Object(r.useRef)(!1),U=d(function(){return B.current&&l===D.current?B.current:O(T.getState(),l)},[T,L,l]);_(w,[D,R,F,l,U,B,A]),_(E,[S,T,j,O,D,R,F,B,A,I],[T,j,O]);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(h.Provider,{value:N},q):q},[h,q,N])}var T=c?i.a.memo(x):x;if(T.WrappedComponent=t,T.displayName=x.displayName=o,j){var C=i.a.forwardRef(function(e,t){return i.a.createElement(T,Object(f.a)({},e,{reactReduxForwardedRef:t}))});return C.displayName=o,C.WrappedComponent=t,m()(C,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 O(e){return function(t,n){var r=e(t,n);function i(){return r}return i.dependsOnOwnProps=!1,i}}function C(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=C(e);var i=r(t,n);return"function"==typeof i&&(r.mapToProps=i,r.dependsOnOwnProps=C(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:O(function(e){return{dispatch:e}})},function(e){return e&&"object"==typeof e?O(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 N=[function(e){return"function"==typeof e?j(e):void 0},function(e){return e?void 0:O(function(){return{}})}];function P(e,t,n){return Object(f.a)({},n,e,t)}var M=[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 P}}];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,p=!1;function h(i,p){var h,m,v=!d(p,a),g=!l(i,o);return o=i,a=p,v&&g?(s=e(o,a),t.dependsOnOwnProps&&(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?(h=e(o,a),m=!f(h,s),s=h,m&&(u=n(s,c,a)),u):u}return function(i,l){return p?h(i,l):(s=e(o=i,a=l),c=t(r,a),u=n(s,c,a),p=!0,u)}}function R(e,t){var n=t.initMapStateToProps,r=t.initMapDispatchToProps,i=t.initMergeProps,o=Object(p.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 D(e,t,n){for(var r=t.length-1;r>=0;r--){var i=t[r](e);if(i)return i}return function(t,r){throw new Error("Invalid value of type "+typeof e+" for "+n+" argument when connecting component "+r.wrappedComponentName+".")}}function B(e,t){return e===t}function F(e){var t=void 0===e?{}:e,n=t.connectHOC,r=void 0===n?x:n,i=t.mapStateToPropsFactories,o=void 0===i?N:i,a=t.mapDispatchToPropsFactories,s=void 0===a?A:a,c=t.mergePropsFactories,u=void 0===c?M:c,l=t.selectorFactory,d=void 0===l?R:l;return function(e,t,n,i){void 0===i&&(i={});var a=i,c=a.pure,l=void 0===c||c,h=a.areStatesEqual,m=void 0===h?B:h,v=a.areOwnPropsEqual,g=void 0===v?T:v,y=a.areStatePropsEqual,b=void 0===y?T:y,_=a.areMergedPropsEqual,w=void 0===_?T:_,E=Object(p.a)(a,["pure","areStatesEqual","areOwnPropsEqual","areStatePropsEqual","areMergedPropsEqual"]),k=D(e,o,"mapStateToProps"),x=D(t,s,"mapDispatchToProps"),S=D(n,u,"mergeProps");return r(d,Object(f.a)({methodName:"connect",getDisplayName:function(e){return"Connect("+e+")"},shouldHandleStateChanges:Boolean(e),initMapStateToProps:k,initMapDispatchToProps:x,initMergeProps:S,pure:l,areStatesEqual:m,areOwnPropsEqual:g,areStatePropsEqual:b,areMergedPropsEqual:w},E))}}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)(),p=Object(r.useRef)(),h=n.getState();try{if(e!==d.current||h!==f.current||c.current){var m=e(h);o=void 0!==p.current&&t(m,p.current)?p.current:m}else o=p.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=h,p.current=o,c.current=void 0}),l(function(){function e(){try{var e=n.getState(),r=d.current(e);if(t(r,p.current))return;p.current=r,f.current=e}catch(e){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,X=G(),$=n(88);K=$.unstable_batchedUpdates,a=K},function(e,t,n){var r=n(19);e.exports=r(function(e,t){return t.match(e)||[]})},function(e,t,n){var r=n(428);e.exports=r(0,"toLowerCase")},function(e,t,n){var r=n(57),i=n(58),o=n(303),a=n(172),s=n(120);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(57);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";(function(e){n.d(t,"a",function(){return h});var r=n(3),i=n.n(r),o=n(17),a=n(9),s=n(10),c=n(6),u=n(11),l=n(13),d=n(5),f=n(85);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(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 h=function(t){Object(u.a)(r,t);var n=p(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";(function(e){var r=n(17),i=n(8),o=n(70),a=n(4),s=n.n(a),c=n(63),u=n.n(c),l=n(2),d=n.n(l),f=n(72),p=n.n(f),h=n(0),m=n(578),v=n(252),g=n(134),y=n(61),b=n(77),_=n(195),w=n(52),E=n(74),k=n(198),x=(n(2028),["children","className","tag","type"]),S=p()(["settings"]),T=Object(b.a)("block-wrapper"),O=Object(b.a)("bg");function C(){var e=Object(g.b)("rise-authoring-controls"),t=Object(m.b)();if(!e)return null;var n=t.media,r=t.settings.backgroundMode,i=null==n?void 0:n.image;return r===_.a.IMAGE?i:null}var j=function(t,n){var a,c,l=Object(g.b)("rise-authoring-controls"),f=Object(v.b)(),p=t.children,m=t.className,b=t.tag,j=void 0===b?"div":b,A=t.type,N=Object(o.a)(t,x),P=f.accentColor,M=f.backgroundMode,L=f.courseColor,I=f.paddingTop,R=f.paddingBottom,D=f.styleMode,B=M===_.a.BRAND,F=M===_.a.IMAGE,U=D===_.c.BRANDED,q=D===_.c.UNBRANDED,z=Object(h.useCallback)(function(e){return l?"".concat(e,"rem"):"".concat(10*e,"px")},[l]),H=function(){var e,t=C();if(!t)return null;var n=t.alpha,r=Object(y.a)(t);return[s()(e="linear-gradient(rgba(0,0,0,".concat(n,"), rgba(0,0,0,")).call(e,n,"))"),"url('".concat(r,"')")].join(", ")}(),V=(c=C(),Object(k.a)(null==c?void 0:c.alt)),W=!H&&Object(E.a)("",B?L:f.backgroundColor),Y={paddingTop:z(I),paddingBottom:z(R)},G={backgroundColor:W,backgroundImage:H};l?null!=P&&u()(Y,{"--background-color-accent":P,"--background-color-accent-transparent":P+"1A","--border-color-accent":P,"--color-accent":P,"--color-accent-transparent":P+"1A"}):u()(Y,{backgroundColor:W});var K=W?Object(w.d)(W):w.a.LIGHT,X=Object(h.useCallback)(function(e){return!F&&e===K},[F,K]),$=d()(m,Object(i.a)({},"block-".concat(A),!!A)),Q=l?T({}).mix(O({light:X(w.a.LIGHT),med:X(w.a.MED),dark:X(w.a.DARK),"near-black":X(w.a.NEAR_BLACK),image:F,branded:U,unbranded:q})):"";return e.createElement(j,Object(r.a)({},S(N),{className:s()(a="".concat($," ")).call(a,Q),ref:n,style:Y}),p,e.createElement("div",{"aria-label":V,className:T("bg"),role:Object(k.b)(V),style:G}))};t.a=Object(h.forwardRef)(j)}).call(this,n(0))},function(e,t,n){"use strict";n.d(t,"c",function(){return pe}),n.d(t,"b",function(){return he}),n.d(t,"d",function(){return ge}),n.d(t,"a",function(){return Se});var r=n(281),i=n.n(r),o=n(284),a=n.n(o),s=n(16),c=n.n(s),u=n(27),l=n.n(u),d=n(147),f=n.n(d),p=n(109),h=n.n(p),m=n(7),v=n.n(m),g=n(185),y=n.n(g),b=n(160),_=n.n(b),w=n(283),E=n.n(w),k=n(37),x=n.n(k),S=n(53),T=n.n(S),O=n(49),C=n.n(O),j=n(79),A=n.n(j),N=n(121),P=n.n(N),M=n(29),L=n.n(M),I=n(94),R=n.n(I),D=n(56),B=n.n(D),F=n(97),U=n.n(F),q=n(98),z=n.n(q),H=n(28),V=n.n(H),W=n(247),Y=n.n(W),G=n(72),K=n.n(G),X=n(62),$=n.n(X),Q=n(21),Z=n.n(Q),J=n(91),ee=n.n(J),te=n(15),ne=n.n(te),re=n(18),ie=n.n(re),oe=n(80),ae=n.n(oe),se=n(46),ce=n.n(se),ue=n(73),le=n(84),de=n(103),fe=n(66),pe=function(e){var t=e.activeIndex,n=e.id;return function(e){return e(Object(fe.g)({id:n,updateFn:me({activeIndex:t})}))}},he=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()($()(z()("retryAttempts"),v()(P.a,_()(0))),ce()(ie()("passed",!1),K()(["passed"])),ce()(ie()("isComplete",!1),K()(["isComplete"])),K()(["activeIndex","originalItemProgress","percentComplete","score","reportResults","questionsDrawn","questionList"]),$()(z()("items"),Object(le.e)(ee()(["id","index"]))),$()(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,$()(U()(["items",r]),C()(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),C()(E.a)(v()(B.a,R.a,ne()("items"))(e)),B.a,T()(ie()("isCorrect",!0)),ae.a,ne()("items"))(e),e)},we=f()(v()(x()(3),B.a),a()(h()(L.a))),Ee=v()(ae.a,ee()(["passed","retryAttempts","score"])),ke=v()(we,Ee),xe=function(e){var t=e.id,n=e.state;return Object(de.c)(n,Z()({},["lessons",t,"items"]),R.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 $()(U()(["lessons",n]),C()(V.a)({isComplete:!0,activeIndex:xe({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(57),i=n(58),o=n(303),a=n(172),s=n(120);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){var r=n(2001),i=n(2004),o=n(275);e.exports=function(e){return(o(e)?r:i)(e)}},function(e,t,n){"use strict";n.d(t,"a",function(){return Fo}),n.d(t,"b",function(){return Uo});var r={};n.r(r),n.d(r,"request",function(){return Wi}),n.d(r,"callbackPath",function(){return ao}),n.d(r,"errorPath",function(){return so}),n.d(r,"getToken",function(){return co}),n.d(r,"login",function(){return po}),n.d(r,"initAuth",function(){return vo}),n.d(r,"logout",function(){return go}),n.d(r,"callbackComponent",function(){return _o});var i={};n.r(i),n.d(i,"request",function(){return Wi}),n.d(i,"callbackComponent",function(){return jo}),n.d(i,"callbackPath",function(){return Ao}),n.d(i,"getToken",function(){return No}),n.d(i,"login",function(){return Po}),n.d(i,"logout",function(){return Mo}),n.d(i,"initAuth",function(){return Do});var o=n(22),a=n(47),s=n.n(a),c=n(32),u=n.n(c),l=n(40),d=n.n(l),f=n(31),p=n.n(f),h=n(34),m=n.n(h),v=n(8),g=n(35),y=n(114),b=n.n(y);function _(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):b.a.resolve(c).then(r,i)}function w(e){return function(){var t=this,n=arguments;return new b.a(function(r,i){var o=e.apply(t,n);function a(e){_(o,r,i,a,s,"next",e)}function s(e){_(o,r,i,a,s,"throw",e)}a(void 0)})}}var E=n(105),k=n.n(E),x=n(4),S=n.n(x),T=n(285),O=n.n(T),C=n(261),j=n.n(C),A=n(16),N=n.n(A),P=n(7),M=n.n(P),L=n(29),I=n.n(L),R=n(191),D=n.n(R),B=n(113),F=n.n(B),U=n(0),q=n(116),z=n(1144),H=n.n(z),V=n(1145),W=n.n(V),Y=n(70),G=n(228),K=n.n(G),X=n(179),$=n.n(X),Q=n(570),Z=n.n(Q),J=n(341),ee=n.n(J),te=n(55),ne=n.n(te),re=n(129),ie=n.n(re),oe=n(43),ae=n.n(oe),se=n(79),ce=n.n(se),ue=n(28),le=n.n(ue),de=n(91),fe=n.n(de),pe=n(144),he=n.n(pe),me=n(24),ve=n.n(me),ge=n(15),ye=n.n(ge),be=n(103),_e=["baseURL"];function we(e,t){var n=s()(e);if(u.a){var r=u()(e);t&&(r=d()(r).call(r,function(t){return p()(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?we(Object(n),!0).forEach(function(t){Object(v.a)(e,t,n[t])}):m.a?Object.defineProperties(e,m()(n)):we(Object(n)).forEach(function(t){Object.defineProperty(e,t,p()(n,t))})}return e}var ke={"Content-Type":"application/json"},xe=[function(e,t){return t.Authorization="Bearer ".concat(Fo()),K()(e)}],Se=ce()(I.a,ae.a,fe()(["data","status","statusText"])),Te=ve()(fe()(["name","message","response"]),ie()({response:Se})),Oe=$.a.fromPromise(function(e){var t=e.data,n=e.method,r=e.url;return fetch(r,{body:K()(t),headers:Ee(Ee({},ke),{},{Authorization:"Bearer ".concat(Fo())}),keepalive:!0,method:n}).then(function(e){return e.json()}).then(he()("data"))}),Ce=function(e){var t=new Error("Nil token detected");return j.a.notify(t,je(e)),$.a.Rejected(t)},je=function(e){return function(t){t.severity="info",t.addMetadata("request",e)}},Ae=function(){return!o.e&&I()(Fo())},Ne=function(e){return function(t,n){return Z()(t,function(e){return function(t){var n,r,i=t.method,o=t.url;return S()(n=S()(r="".concat(i,":")).call(r,e)).call(n,o)}}(n),Pe(Uo,e))}},Pe=function(e,t){return function(n){return Object(be.c)(n,(r=t,function(e){return r.preRequest?r.preRequest(e):e}),function(e){var t=e.baseURL,n=Object(Y.a)(e,_e);return M()(le()({headers:ke,transformRequest:xe}),le()(n),ie()({url:ne()(t)}))}(t),ce()(Ae,Ce,e),ee()(Te,ye()("data")),function(e){return function(t){return e.postRequest?e.postRequest(t):t}}(t));var r}},Me=function(e){return{debounce:Ne(e),send:Pe(Uo,e),sendWithKeepAlive:Pe(Oe,e)}},Le=n(46),Ie=n.n(Le),Re=function(){return"visible"===document.visibilityState},De=function(e){document.addEventListener("visibilitychange",function(e){return Ie()(Re,function(){return e()})}(e)),window.addEventListener("focus",function(){return e()})},Be=n(38),Fe=n.n(Be),Ue=n(124),qe=n.n(Ue),ze=n(226),He=n.n(ze),Ve=n(71),We=n.n(Ve),Ye=n(462),Ge=function(e){return Object(Ye.a)({method:"POST",url:"".concat(Object(o.c)("RISE_RUNTIME_URI"),"/analytics"),json:!0,data:e})},Ke=Object(o.c)("SUBSCRIPTIONS_ENDPOINT"),Xe=Object(o.c)("THREESIXTY_FRONTEND_URI"),$e=He()(["error","status"],404),Qe=M()(he()("error"),ye()("response")),Ze=function(){return window.location.href=Xe},Je=[function(e,t){return t.Authorization="Bearer ".concat(Fo()),e}],et=function(){var e=w(k.a.mark(function e(t){var n,r,i,o;return k.a.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return n="".concat(Ke,"/users/authorized_status"),e.next=3,Uo({transformRequest:Je,url:n}).toPromise().catch(Qe);case 3:return r=e.sent,i=M()(t,F()(function(e){return Ge({event:"Unexpected Logout",payload:{category:"auth",data:e,detail:"Subscription Error"}})})),o=Fe()([[$e,Ze],[qe()("error"),i],[We.a,ye()("data")]]),e.abrupt("return",o(r));case 7:case"end":return e.stop()}},e)}));return function(t){return e.apply(this,arguments)}}(),tt=n(313),nt=n.n(tt),rt=n(126),it=n.n(rt),ot=n(18),at=n.n(ot),st=(n(139),at()("status","active"),at()("status","inactive")),ct=(at()("plan","individual"),He()(["features","enable_review"],!0),He()(["features","enable_rise"],!0)),ut=(at()("plan","trial"),nt()([at()("plan","trial"),at()("status","inactive"),at()("is_retrial_eligible",!1)])),lt=(it()(at()("plan","team"),at()("plan","individual")),nt()([at()("plan","team"),at()("is_team_admin",!0)]),nt()([at()("plan","trial"),at()("is_team_admin",!0)]),n(75)),dt=n.n(lt),ft=n(33),pt=n.n(ft),ht=n(157),mt=n.n(ht),vt=n(58),gt=n.n(vt),yt=n(63),bt=n.n(yt),_t=n(563),wt=n.n(_t),Et=n(371),kt=n.n(Et),xt=kt()(String,function(e){return wt.a.create({baseURL:e,withCredentials:!0})});function St(){return(St=w(k.a.mark(function e(t,n,r){var i,o,a,s,c,u;return k.a.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return i=r.email,o=r.googleIdToken,a=r.password,s=r.tenantId,e.prev=1,c=o?{tenantId:s,token:o}:{password:a,tenantId:s,username:i},u=o?"google/signin":"signin",e.next=6,xt(t.HEYOKRA_AUTH_SERVICE_URI).post(u,c);case 6:e.next=11;break;case 8:throw e.prev=8,e.t0=e.catch(1),bt()(new Error,e.t0.response.data);case 11:case"end":return e.stop()}},e,null,[[1,8]])}))).apply(this,arguments)}var Tt=gt()(3,function(e,t,n){return St.apply(this,arguments)}),Ot=n(26),Ct=n.n(Ot);function jt(){return(jt=w(k.a.mark(function e(t,n,r){var i,o,a,s,c,u;return k.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,e.next=4,xt(t.AUTH_SERVICE_URI).post("/api/v1/authn",{password:s,username:o||S()(c="".concat(a,"/")).call(c,i),options:{multiOptionalFactorEnroll:!1,warnBeforePasswordExpired:!1}});case 4:return u=e.sent,e.abrupt("return",Ct()(["data","sessionToken"],u));case 8:throw e.prev=8,e.t0=e.catch(1),bt()(new Error,e.t0.response.data);case 11:case"end":return e.stop()}},e,null,[[1,8]])}))).apply(this,arguments)}var At=gt()(3,function(e,t,n){return jt.apply(this,arguments)});function Nt(){return(Nt=w(k.a.mark(function e(t,n,r){return k.a.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if("heyokra"!==r.idp){e.next=7;break}return e.next=4,Tt(t,n,r);case 4:e.t0=e.sent,e.next=10;break;case 7:return e.next=9,At(t,n,r);case 9:e.t0=e.sent;case 10:return e.abrupt("return",e.t0);case 11:case"end":return e.stop()}},e)}))).apply(this,arguments)}var Pt=gt()(3,function(e,t,n){return Nt.apply(this,arguments)}),Mt=n(1149),Lt=n.n(Mt),It=n(89),Rt=n.n(It);function Dt(){return window.tenant&&"heyokra"===window.tenant.idp}function Bt(){return(Bt=w(k.a.mark(function e(t,n,r,i){var o;return k.a.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return i.clear(),o=Dt()?r.HEYOKRA_AUTH_SERVICE_URI:r.AUTH_SERVICE_URI,e.next=4,xt(o).delete("/api/v1/sessions/me").then(F()(function(){return n.emit&&t.emit("session:closed")})).catch(Rt()(He()(["response","status"],404),Lt.a));case 4:case"end":return e.stop()}},e)}))).apply(this,arguments)}var Ft=gt()(4,function(e,t,n,r){return Bt.apply(this,arguments)}),Ut=n(374),qt=n.n(Ut),zt=n(128),Ht=n.n(zt),Vt=n(1146),Wt=n.n(Vt)()(9),Yt=Ht()(I.a);function Gt(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,p=new O.a(Yt({client_id:t,idp:r,nonce:i||Wt(),prompt:a,redirect_uri:c,response_mode:u,response_type:"id_token token",scope:l,sessionToken:d,state:f}));return bt()(new qt.a("".concat(n,"/v1/authorize"),window.location.origin),{search:p.toString()}).toString()}var Kt=n(3),Xt=n.n(Kt),$t=n(154),Qt=n(9),Zt=n(10),Jt=n(6),en=n(471),tn=n(11),nn=n(13),rn=n(5),on=n(571),an=n.n(on);function sn(e){var t=function(){if("undefined"==typeof Reflect||!Xt.a)return!1;if(Xt.a.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Xt()(Boolean,[],function(){})),!0}catch(e){return!1}}();return function(){var n,r=Object(rn.a)(e);if(t){var i=Object(rn.a)(this).constructor;n=Xt()(r,arguments,i)}else n=r.apply(this,arguments);return Object(nn.a)(this,n)}}var cn=function(e){Object(tn.a)(n,e);var t=sn(n);function n(){var e,r;Object(Qt.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,S()(e=[this]).call(e,o)),navigator.serviceWorker&&navigator.serviceWorker.addEventListener("message",r._handleMessage.bind(Object(Jt.a)(r))),r}return Object(Zt.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=Object(en.a)(Object(rn.a)(n.prototype),"emit",this)).call.apply(e,S()(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=Object(en.a)(Object(rn.a)(n.prototype),"emit",this)).call.apply(t,S()(r=[this]).call(r,Object($t.a)(e.data.params)))}}]),n}(an.a),un=n(14),ln=n.n(un),dn=n(81),fn=n.n(dn),pn=n(131),hn=n.n(pn),mn=n(308),vn=n.n(mn),gn=n(465),yn=n.n(gn),bn=n(1150),_n=n.n(bn),wn=n(147),En=n.n(wn),kn=n(109),xn=n.n(kn),Sn=n(445),Tn=n.n(Sn),On=n(37),Cn=n.n(On),jn=n(225),An=n.n(jn),Nn=n(21),Pn=n.n(Nn),Mn=n(165),Ln=n.n(Mn),In=n(447),Rn=n.n(In),Dn=n(194),Bn=n.n(Dn),Fn=n(41),Un=n.n(Fn),qn=n(168),zn=n.n(qn),Hn=n(184),Vn=n.n(Hn),Wn=n(386),Yn=n.n(Wn),Gn=n(565),Kn=n.n(Gn),Xn=n(373),$n=n(376),Qn=n.n($n);var Zn=n(1147),Jn=n.n(Zn);function er(e,t,n){return(er=function(){if("undefined"==typeof Reflect||!Xt.a)return!1;if(Xt.a.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Xt()(Boolean,[],function(){})),!0}catch(e){return!1}}()?Xt.a:function(e,t,n){var r=[null];r.push.apply(r,t);var i=new(Jn()(Function).apply(e,r));return n&&Object(Xn.a)(i,n.prototype),i}).apply(null,arguments)}function tr(e){var t="function"==typeof Yn.a?new Yn.a:void 0;return(tr=function(e){if(null===e||(n=e,-1===Qn()(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 er(e,arguments,Object(rn.a)(this).constructor)}return i.prototype=Kn()(e.prototype,{constructor:{value:i,enumerable:!1,writable:!0,configurable:!0}}),Object(Xn.a)(i,e)})(e)}var nr=n(138),rr=n.n(nr),ir=n(164),or=n.n(ir);function ar(e,t){return t&&(n=0,r=e*Math.pow(t,2),Math.round(n+Math.random()+(r-n)));var n,r}var sr=gt()(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?We.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?hn.a.resolveAfter(ar(r,a)).chain(u):hn.a.Rejected(e)}function u(){return t.apply(void 0,n).bichain(ce()(s,c,hn.a.Rejected),hn.a.of)}return u()}}),cr=n(233);function ur(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 lr=function(e,t){var n;void 0===t&&(t=ur);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(cr).a);function dr(e,t){var n=void 0!==rr.a&&Vn()(e)||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=function(e,t){var n;if(!e)return;if("string"==typeof e)return fr(e,t);var r=Un()(n=Object.prototype.toString.call(e)).call(n,8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return zn()(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return fr(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 fr(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 pr(e){var t=function(){if("undefined"==typeof Reflect||!Xt.a)return!1;if(Xt.a.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Xt()(Boolean,[],function(){})),!0}catch(e){return!1}}();return function(){var n,r=Object(rn.a)(e);if(t){var i=Object(rn.a)(this).constructor;n=Xt()(r,arguments,i)}else n=r.apply(this,arguments);return Object(nn.a)(this,n)}}var hr=5e3,mr=rr()("TimeoutError"),vr=function(e){Object(tn.a)(n,e);var t=pr(n);function n(){return Object(Qt.a)(this,n),t.call(this,"Authorization timed out")}return n}(tr(Error));vr.prototype[mr]=!0;var gr=sr({tries:2,when:function(e){return e[mr]}}),yr={},br=0,_r=kt()(ye()("AUTH_SERVICE_URI"),function(e){window.addEventListener("message",function(t){var n=new qt.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=yr[c];u&&(o?u.reject(new Error([o,a].join(", "))):u.resolve({access_token:i,id_token:s}))}})});var wr=function(e,t){return[e.AUTH_SERVICE_URI,t].join("|")};var Er,kr,xr=gt()(3,(Er=gr(function(e,t,n){return new hn.a(function(r,i){var o=F()(function(){delete yr[a],document.body.removeChild(c)});_r(e);var a=br++,s=Wt(),c=document.createElement("iframe");return c.style.display="none",document.body.appendChild(c),hn()(function(t,r){var i=Dt(),o={resolve:r,reject:t};yr[a]=o,c.addEventListener("error",M()(t,ye()("error"))),c.src=Gt({client_id:e.OKTA_CLIENT_ID,issuer:i?e.HEYOKRA_OIDC_ISSUER_URI:e.OIDC_ISSUER_URI,nonce:s,redirect_uri:e.REDIRECT_URI,response_mode:i?"post_message":"okta_post_message",scope:e.OIDC_SCOPE,sessionToken:n,state:a})}).race(hn.a.rejectAfter(hr,new vr)).chain(function(e){var n,r=e.id_token,i=e.access_token,o=r?lr(r):null;return s!==o.nonce?hn.a.Reject(new Error(S()(n="Expected nonce ".concat(s," but received ")).call(n,o.nonce))):(t.set(r,i),hn.a.of(t.get()))}).bimap(o,o).fork(r,i,o)})}),kr={},function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return hn()(function(e,n){var r={resolve:n,reject:e},i=wr.apply(void 0,t),o=rr()();null==kr[i]&&(kr[i]={listeners:new Yn.a});var a=kr[i];if(a.listeners.set(o,r),1===a.listeners.size){var s=function(e){return function(t){var n,r,o=[],s=dr(or()(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 kr[i],o.length>0)throw o[0]}};a.cancel=Er.apply(void 0,t).fork(s("reject"),s("resolve"))}return function(){a.listeners.delete(o),0===a.listeners.size&&a.cancel&&a.cancel()}})})),Sr=b.a.reject.bind(b.a),Tr=function(e){return e instanceof Response},Or=function(e){return Ln()(e,"status")},Cr=En()(Tr,Or(An()(500))),jr=xn()(Tr),Ar=Tn()(Rt()(ye()("ok"),Sr),function(e){return window.fetch(e.clone())}),Nr=_n()({when:it()(Cr,jr),tries:3},Ar),Pr=Bn()(2,function(e){return En()(N()(qe()("OKTA_CLIENT_ID",e)),Or(vn()(pt()(Cn.a,[401,403]))))}),Mr=Pn()([],["roles"]),Lr=Pn()("",["subscription","status"]),Ir=dt()(function(e,t,n){var r,i,o=Object(g.a)(n,2)[1],a=ln()(r=[t,o]).call(r,Mr),s=Object(g.a)(a,2),c=s[0],u=s[1],l=ln()(i=[t,o]).call(i,Lr),d=Object(g.a)(l,2),f=d[0],p=d[1];Rn()(c,u).length>0&&e.emit("change:roles",o,t),f!==p&&e.emit("change:status",o,t)}),Rr=dt()(function(e,t,n){var r,i=t.RISE_ACCOUNTS_URI;return function(e){var t;return fn()(t=window.location.hostname).call(t,e)}(t.RISE_DOMAIN)&&i&&fn()(r=n.message).call(r,"redirect_uri")?yn()({method:"GET",url:"".concat(i,"/api/subdomain_active")}).chain(function(t){return!1===t.data?e.emit("change:subdomain"):e.emit("unauthorized",n),hn.a.Rejected(n)}).toPromise():(n instanceof DOMException&&"AbortError"===n.name||e.emit("unauthorized",n),b.a.reject(n))}),Dr=dt()(function(e,t,n,r){if(null!=n&&n.sub!==r[1].sub)throw e.emit("unauthorized",t),t;return r}),Br=dt()(function(e,t,n,r,i){var o,a,s=n.get(),c=Object(g.a)(s,2)[1];return(o=xr(t,n,void 0),a=r.signal,new b.a(function(e,t){if(a instanceof AbortSignal){var n=function(){return t(new DOMException("Aborted","AbortError"))};if(a.aborted)n();else{var r=Function.prototype,i=function(){return r()};a.addEventListener("abort",i);var s=function(e){return function(t){a.removeEventListener("abort",i),e(t)}};r=o.fork(s(t),s(e),s(n))}}else o.fork(t,e)})).then(Dr(e,i,c),Rr(e,t)).then(F()(Ir(e,c))).then(function(){return Nr(r)})}),Fr=Bn()(5,function(e,t,n,r){return ce()(Pr(t),Br(e,t,n,r),Sr)}),Ur=Rt()(Tr,Sr),qr=function(e){return function(t,n,r,i){var o=new Request(r,i);return Nr(o).catch(Fr(e,t,n,o)).catch(Ur)}},zr=n(1148),Hr=n.n(zr),Vr=n(20),Wr=n(740),Yr=gt()(3,function(){return xr.apply(void 0,arguments).toPromise()}),Gr=new O.a(window.location.hash.substr(1)),Kr=Gr.get("id_token"),Xr=Gr.get("access_token");function $r(e,t){return Qr.apply(this,arguments)}function Qr(){return(Qr=w(k.a.mark(function e(t,n){return k.a.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(!Kr){e.next=5;break}n.set(Kr,Xr),Kr=Xr=void 0,e.next=8;break;case 5:if(n.get()[0]){e.next=8;break}return e.next=8,Yr(t,n,void 0);case 8:return e.abrupt("return",n.get());case 9:case"end":return e.stop()}},e)}))).apply(this,arguments)}function Zr(e,t){return Jr.apply(this,arguments)}function Jr(){return(Jr=w(k.a.mark(function e(t,n){return k.a.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return n.clear(),e.next=3,$r(t,n);case 3:return e.abrupt("return",e.sent);case 4:case"end":return e.stop()}},e)}))).apply(this,arguments)}function ei(e){var t=function(){if("undefined"==typeof Reflect||!Xt.a)return!1;if(Xt.a.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Xt()(Boolean,[],function(){})),!0}catch(e){return!1}}();return function(){var n,r=Object(rn.a)(e);if(t){var i=Object(rn.a)(this).constructor;n=Xt()(r,arguments,i)}else n=r.apply(this,arguments);return Object(nn.a)(this,n)}}function ti(e,t){var n=void 0!==rr.a&&Vn()(e)||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=function(e,t){var n;if(!e)return;if("string"==typeof e)return ni(e,t);var r=Un()(n=Object.prototype.toString.call(e)).call(n,8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return zn()(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return ni(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 ni(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}Kr&&(Gr.delete("id_token"),window.history.replaceState(null,null,"#".concat(Gr.toString()))),Xr&&(Gr.delete("access_token"),Gr.delete("expires_in"),Gr.delete("scope"),Gr.delete("token_type"),window.history.replaceState(null,null,"#".concat(Gr.toString())));var ri=function(){function e(t,n){Object(Qt.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 an.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(Zt.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=er(Wr.EventSourcePolyfill,Object($t.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=ti(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):(Zr(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):(Hr()(this._listeners[e],[t]),this._source.removeEventListener(e,t))}}]),e}();function ii(e,t){return function(n){Object(tn.a)(i,n);var r=ei(i);function i(){var n;Object(Qt.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,S()(n=[this,e,t]).call(n,a))}return i}(ri)}["onerror","onmessage","onopen"].forEach(function(e){Object.defineProperty(ri.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(ri.prototype,e,{get:function(){return this._source[e]}})}),bt()(ri.prototype,Object(Vr.pick)(["CONNECTING","OPEN","CLOSED"],Wr.EventSourcePolyfill.prototype));var oi=n(248),ai=n.n(oi),si=n(560),ci=n.n(si);var ui=gt()(2,function(e,t){return e?hn()(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}),li=function(e){return ci()(e,["response","status"])},di=dt()(function(e){return En()(N()(qe()("OKTA_CLIENT_ID",e)),li(vn()(pt()(Cn.a,[401,403]))))}),fi=li(An()(500)),pi=xn()(li(Boolean)),hi=sr({when:it()(fi,pi),tries:3},yn.a),mi=Pn()([],["roles"]),vi=Pn()("",["subscription","status"]),gi=dt()(function(e,t,n){var r,i,o=Object(g.a)(n,2)[1],a=ln()(r=[t,o]).call(r,mi),s=Object(g.a)(a,2),c=s[0],u=s[1],l=ln()(i=[t,o]).call(i,vi),d=Object(g.a)(l,2),f=d[0],p=d[1];Rn()(c,u).length>0&&e.emit("change:roles",o,t),f!==p&&e.emit("change:status",o,t)}),yi=dt()(function(e,t,n){var r,i=t.RISE_ACCOUNTS_URI;return function(e){var t;return fn()(t=window.location.hostname).call(t,e)}(t.RISE_DOMAIN)&&i&&fn()(r=n.message).call(r,"redirect_uri")?yn()({method:"GET",url:"".concat(i,"/api/subdomain_active")}).chain(function(t){return!1===t.data?e.emit("change:subdomain"):e.emit("unauthorized",n),hn.a.Rejected(n)}):(e.emit("unauthorized",n),hn.a.Rejected(n))}),bi=dt()(function(e,t,n,r){return null!=n&&n.sub!==r[1].sub?(e.emit("unauthorized",t),hn.a.Rejected(t)):hn.a.of(r)}),_i=dt()(function(e,t,n,r,i){var o,a=n.get(),s=Object(g.a)(a,2)[1];return ln()(o=xr(t,n,void 0).bichain(yi(e,t),bi(e,i,s))).call(o,F()(gi(e,s))).chain(function(){return hi(r)})}),wi=Bn()(4,function(e,t,n,r){return ce()(di(t),_i(e,t,n,r),hn.a.Rejected)}),Ei=dt()(function(e,t,n,r){return hi(r).bichain(wi(e,t,n,r),hn.a.of)}),ki=dt()(function(e,t,n,r){return ui(r.timeout,Ei(e,t,n,ai()("timeout",r)))}),xi=function(e){return Ct()([1,"sub"],e.get())};function Si(){return(Si=w(k.a.mark(function e(t,n,r,i){var o,a,s,c;return k.a.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return o=xi(r),e.next=3,Ft(t,{emit:!1},n,r);case 3:return e.prev=3,e.next=6,Pt(n,r,i);case 6:return a=e.sent,e.next=9,Yr(n,r,a);case 9:return s=e.sent,c=xi(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 Ti=gt()(4,function(e,t,n,r){return Si.apply(this,arguments)}),Oi=n(378),Ci=n.n(Oi);function ji(e){return Ci.a.parse(document.cookie)[e]}var Ai=gt()(2,function(e,t){var n=e.SESSION_COOKIE_DOMAIN||window.location.host;document.cookie=Ci.a.serialize(t,"",{domain:n,expires:new Date(0),path:"/",secure:!0})});var Ni=gt()(3,function(e,t,n){var r=Object(g.a)(n,1)[0];if(t){var i=e.SESSION_COOKIE_DOMAIN||window.location.host;document.cookie=Ci.a.serialize(t,r,{domain:i,path:"/",secure:!0})}});function Pi(e,t){var n=s()(e);if(u.a){var r=u()(e);t&&(r=d()(r).call(r,function(t){return p()(e,t).enumerable})),n.push.apply(n,r)}return n}function Mi(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Pi(Object(n),!0).forEach(function(t){Object(v.a)(e,t,n[t])}):m.a?Object.defineProperties(e,m()(n)):Pi(Object(n)).forEach(function(t){Object.defineProperty(e,t,p()(n,t))})}return e}var Li=["addListener","listenerCount","listeners","off","on","once","removeAllListeners","removeListener"],Ii=dt()(function(e,t,n){return mt()(n,[e,t])}),Ri=function(e){return Li.reduce(function(t,n){return t[n]=e[n].bind(e),t},{})};var Di,Bi,Fi,Ui=n(106),qi=o.e?window.env:le()(window.env,{ACCESS_COOKIE_NAME:Object(Ui.k)(),REDIRECT_URI:window.location.origin+"/auth-callback"}),zi=(Di=qi,Bi=new cn,Fi=function(e){return{clear:function(){Ai(e,e.SESSION_COOKIE_NAME),Ai(e,e.ACCESS_COOKIE_NAME)},get:function(){var t=ji(e.SESSION_COOKIE_NAME),n=ji(e.ACCESS_COOKIE_NAME);return[t,t?lr(t):null,n,n?lr(n):null]},set:function(t,n){var r=t?lr(t):null,i=n?lr(n):null;Ni(e,e.SESSION_COOKIE_NAME,[t,r]),Ni(e,e.ACCESS_COOKIE_NAME,[n,i])}}}(Di),Mi(Mi({getAuthorizationUrl:Gt,EventSource:ii(Di,Fi)},Ri(Bi)),pt()(Ii(Di,Fi),{authenticate:Pt,closeSession:Ft(Bi,{emit:!0}),fetch:qr(Bi),request:ki(Bi),resetSession:Zr,resumeSession:$r,startSession:Ti(Bi)}))),Hi=zi.closeSession,Vi=zi.on,Wi=zi.request,Yi=zi.resetSession,Gi=zi.resumeSession,Ki=(zi.startSession,zi.getAuthorizationUrl),Xi=n(152),$i=n.n(Xi),Qi=n(72),Zi=n.n(Qi),Ji=n(48),eo=n.n(Ji),to=function(e,t){var n,r;return S()(n=S()(r="".concat(Object(o.c)("ID_MAPPER_URI"),"/v1/avatars/")).call(r,encodeURIComponent(e),"?size=")).call(n,t)},no=$i()({features:eo()({},"features"),subscription:Zi()(["features"])}),ro=vn()([ut,st,xn()(ct)]);function io(e,t){var n=s()(e);if(u.a){var r=u()(e);t&&(r=d()(r).call(r,function(t){return p()(e,t).enumerable})),n.push.apply(n,r)}return n}function oo(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?io(Object(n),!0).forEach(function(t){Object(v.a)(e,t,n[t])}):m.a?Object.defineProperties(e,m()(n)):io(Object(n)).forEach(function(t){Object.defineProperty(e,t,p()(n,t))})}return e}var ao="/auth-callback",so="/auth-error",co=Ui.d,uo=function(){return window.location.pathname===ao},lo=!1,fo=!1,po=function(){var e=new O.a(window.location.search);return function(e){var t;if(!lo){var n=W()();lo=!0,window.localStorage.setItem(n,e);var r=Ki({client_id:Object(o.c)("OKTA_CLIENT_ID"),issuer:Object(o.c)("OIDC_ISSUER_URI"),redirect_uri:S()(t="".concat(window.location.origin)).call(t,ao),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)},ho=function(){if(!fo){var e=Object(Ui.b)(),t=Object(Ui.a)();I()(e)?(Ge({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"})}),fo=!0,go({onLogout:function(){return window.location.reload(!0)},reason:"Unexpected logout: user id/session cookie missing"})):e!==t&&(Ge({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"})}),fo=!0,Yi().then(function(){return window.location.reload(!0)}))}},mo=function(){var e=w(k.a.mark(function e(t){var n,r,i,a,s,c,u,l,d,f,p,h,m,v,y;return k.a.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,Gi();case 3:if(n=e.sent,r=Object(g.a)(n,4),i=r[1],a=r[2],s=r[3],c=s.aid,Ge({event:"Setting Session Cookie",payload:{category:"auth",userId:c,detail:"Resuming existing session"}}),Object(Ui.l)(c),!uo()){e.next=14;break}return t(),e.abrupt("return");case 14:return u=i.first_name,l=i.last_name,d=i.launchdarkly,f=i.staff,p={large:to(b=c,"large"),medium:to(b,"medium"),micro:to(b,"micro"),mini:to(b,"mini"),small:to(b,"small")},h={author:c,profile:{avatars:p,first_name:u,user_id:c,last_name:l,staff:f}},m=function(){return go({onLogout:N()(null)})},v=function(e){return t(oo(oo(oo({},h),no(e)),{},{launchdarkly:d,token:a}))},e.next=22,et(m).then(F()(v)).catch(function(){return t(oo(oo({},h),{},{token:a}))});case 22:if(y=e.sent,!ro(y)){e.next=28;break}return Ge({event:"Unexpected Logout",payload:{category:"auth",userId:Object(Ui.b)(),subscription:y,detail:"Invalid Subscription"}}),j.a.notify("Unexpected Logout",function(e){e.severity="info",e.addMetadata("User Meta",{userIdFromCookie:Object(Ui.b)(),subscription:y,detail:"Invalid Subscription"})}),go({onLogout:function(){return window.location="".concat(Object(o.c)("THREESIXTY_FRONTEND_URI"),"/rise")}}),e.abrupt("return");case 28:De(ho),e.next=36;break;case 31:e.prev=31,e.t0=e.catch(0),Ge({event:"Unexpected Logout",payload:{category:"auth",userId:Object(Ui.b)(),error:e.t0,detail:"Error Resuming Session"}}),j.a.notify(e.t0,function(e){e.severity="info",e.addMetadata("User Meta",{userId:Object(Ui.b)(),detail:"Error Resuming Session"})}),go({onLogout:function(){return window.location.reload(!0)}});case 36:case"end":return e.stop()}var b},e,null,[[0,31]])}));return function(t){return e.apply(this,arguments)}}(),vo=function(e){var t=e.onFetchTokens;if(uo())mo(t);else{var n=Object(Ui.b)(),r=Object(Ui.a)();I()(n)||n!==r?po():mo(t)}},go=function(e){var t=e.onLogout,n=e.reason;n&&Ge({event:"Logout",payload:{category:"auth",userId:Object(Ui.b)(),detail:n}});var r=Object(o.c)("RISE_AUTHORING_URI"),i=function(){Object(Ui.j)(),Object(Ui.i)(),Hi().then(t)};(o.e?b.a.resolve():Me({baseURL:r}).send({method:"DELETE",url:"/logout"})).fork(function(e){console.error("Failed to log out of rise-authoring-api",e),i()},i)},yo=M()(H.a.parse,D()(1,1/0)),bo=function(e){var t=e.location;return function(){var e,n,r=t.hash,i=t.pathname,o=yo(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})}),go({onLogout:(n=c,function(){var e;return window.location.href=S()(e="".concat("/auth-error","?description=")).call(e,n)}),reason:S()(e="Error encountered when parsing auth callback. Error: ".concat(s,"; description: ")).call(e,c)})):vo({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}})}},_o=Object(q.h)(function(e){return Object(U.useEffect)(bo(e),[]),null}),wo=n(224),Eo=n.n(wo),ko=n(110),xo=n.n(ko),So=n(561),To=n.n(So),Oo=function(){var e,t=pt()(encodeURIComponent,To()(["hash","pathname"],window.location)),n=Object(g.a)(t,2),r=n[0],i=n[1];window.location.href=S()(e="/login#c=".concat(i)).call(e,r)},Co=function(){window.location.href="/"},jo=null,Ao=null,No=Ui.d,Po=Oo,Mo=Hi,Lo=ve()(eo()([],"roles"),Rt()(xo()("author"),Co)),Io=ve()(Pn()("",["subscription","status"]),Rt()(xo()(Eo.a,["active","in_trial","non_renewing"]),Co)),Ro=function(){return window.location.reload()},Do=function(){var e=w(k.a.mark(function e(t){var n,r,i,o,a,s,c,u,l,d,f;return k.a.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return n=t.onFetchTokens,e.prev=1,e.next=4,Gi();case 4:return r=e.sent,i=Object(g.a)(r,2),o=i[0],a=i[1],s=a.launchdarkly,c=a.riseId,u=a.sub,l=a.staff,d=a.subscription,f={staff:l,user_id:c||u},Io(a),n({author:f.user_id,launchdarkly:s,profile:f,subscription:d,token:o}),Vi("change:roles",Lo),Vi("change:status",Io),Vi("change:subdomain",Ro),Vi("unauthorized",Oo),Vi("session:closed",Oo),e.abrupt("return",o);case 20:e.prev=20,e.t0=e.catch(1),Oo();case 23:case"end":return e.stop()}},e,null,[[1,20]])}));return function(t){return e.apply(this,arguments)}}(),Bo=o.e?i:r,Fo=Bo.getToken,Uo=Bo.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(17),a=n(35),s=n(9),c=n(10),u=n(6),l=n(11),d=n(13),f=n(5),p=n(4),h=n.n(p),m=n(14),v=n.n(m),g=(n(1969),n(0)),y=n.n(g),b=n(2),_=n.n(b),w=n(87),E=n.n(w),k=n(345),x=n.n(k),S=n(1),T=n.n(S),O=n(38),C=n.n(O),j=n(61),A=n(74),N=n(99),P=n(23),M=n(25),L=n(216),I=n(115),R=n(59);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(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(68).b.blocks,F=function(e){var t=e.quote,n=e.name;return y.a.createElement("div",{className:"visually-hidden"},y.a.createElement(N.a,{value:t}),y.a.createElement(N.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(R.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=D(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,h()(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(N.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(N.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,p=s.paddingTop,h=s.paddingBottom,m=s.backgroundColor,v=s.entranceAnimation,g=Object(a.a)(i,1)[0],b=g.paragraph,w=g.name,k=g.avatar,x=g.background,S=E()(k,"media.image"),T=Object(j.c)(S),O=E()(k,"media.image.alt"),C=Object(j.a)(E()(x,"media.image")),N=b||"",P=_()("block-quote block-quote--".concat(c),{"block-quote--no-animation":!v}),M={backgroundColor:Object(A.a)("",m),paddingTop:"".concat(10*p,"px"),paddingBottom:"".concat(10*h,"px")},L=y.a.createElement("div",{"aria-hidden":"true",className:"block-quote__wrap"},y.a.createElement(R.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:O},L);break;case"background":e=y.a.createElement(H,{type:c,avatar:T,alt:O,background:C},L);break;default:e=y.a.createElement(q,{type:c,animateBlockEntrance:n,avatar:T,alt:O,backgroundColor:m,isLearner:r},L)}var D=o.quoteGroup;return y.a.createElement("div",{"aria-label":D,className:P,"data-ba":B.blockQuote,role:I.b,style:M},e,y.a.createElement(F,{name:w,quote:N}))}}],[{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))},X=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("span",{className:"block-quote__arrow-icon"}))},$=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("span",{className:"block-quote__arrow-icon"}))},Q=function(e){Object(l.a)(n,e);var t=D(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(P.b)(t)})}},{key:"disableCarouselDotsIfNecessary",value:function(){var e=this.sliderContainer.querySelector(".block-quote__dots-list"),t=this.state.isDotKeyboardFocusDisabled;e&&!t&&(Object(P.b)(e),this.setState({isDotKeyboardFocusDisabled:!0}))}},{key:"componentDidUpdate",value:function(){this.disableCarouselDotsIfNecessary(),this.disableFocusForClonedSlides()}},{key:"onKeyDown",value:function(e){var t=this.slider;C()([[M.i,t.slickNext.bind(t)],[M.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(N.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(N.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,p=s.paddingTop,h=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*p,"px"),paddingBottom:"".concat(10*h,"px")},T=this.state.currentIndex,O=v()(i).call(i,function(t,i){var o=i===T,a=E()(t.avatar,"media.image.alt"),s=E()(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(R.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)))))}),C={slidesToShow:1,slidesToScroll:1,arrows:O.length>1,nextArrow:y.a.createElement(X,null),prevArrow:y.a.createElement($,null),dots:O.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:P.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(x.a,Object(o.a)({className:"block-quote__wrapper",ref:function(t){e.slider=t}},C),O))))))))}}],[{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){e.exports=function(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}},function(e,t,n){"use strict";var r=n(0),i=n(2698),o=n(2701);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";(function(e){n.d(t,"a",function(){return a});var r=n(0),i=n(215),o=n(598);n(2802);function a(t){var n=t.children,a=Object(r.useRef)(),s=Object(i.b)(),c=Object(r.useCallback)(function(){var e,t;null===(e=a.current)||void 0===e||null===(t=e.focus)||void 0===t||t.call(e)},[]);return Object(o.c)(c),e.createElement("main",{"aria-label":null==s?void 0:s.lessonContentLandmark,className:"lesson-main",ref:a,tabIndex:"-1"},n)}}).call(this,n(0))},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(70),i=n(8),o=n(27),a=n.n(o),s=n(7),c=n.n(s),u=n(283),l=n.n(u),d=n(37),f=n.n(d),p=n(129),h=n.n(p),m=n(53),v=n.n(m),g=n(49),y=n.n(g),b=n(60),_=n.n(b),w=n(94),E=n.n(w),k=n(56),x=n.n(k),S=n(97),T=n.n(S),O=n(98),C=n.n(O),j=n(28),A=n.n(j),N=n(72),P=n.n(N),M=n(552),L=n.n(M),I=n(62),R=n.n(I),D=n(24),B=n.n(D),F=n(15),U=n.n(F),q=n(18),z=n.n(q),H=n(80),V=n.n(H),W=n(46),Y=n.n(W),G=n(84),K=n(66),X=n(389),$=["lessonId"],Q=["lessonId"],Z=c()(y()(A.a)({isComplete:!0,percentComplete:100}),R()(C()("items"),Object(G.e)(c()(R()(C()("items"),Object(G.e)(a()("isComplete",!0))),a()("isComplete",!0))))),J=function(e){var t=e.id,n=e.items;return B()(R()(T()(["items",t,"items"]),ae(n)),R()(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=P()(["correctlyAnswered","percentComplete","percentViewed","isComplete"]),ne=R()(C()("items"),Object(G.e)(P()(["isComplete","isCorrect","isViewed"]))),re=Object(G.e)(c()(ne,te)),ie=B()(P()(["isComplete","percentComplete"]),R()(C()("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)),x.a,y()(l.a)(c()(x.a,E.a,U()("items"))(e)),f()(1))(e)}(e))},a()("isComplete",!0)),ae=function(e){return function(t){return h()(e.reduce(ee,{}),t)}},se=function(e){var t=e.lessonId,n=Object(r.a)(e,$);return function(e){return e(Object(K.g)({id:t,updateFn:(r=n,i=r.blockId,R()(T()(["items",i]),X.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()(R()(T()(["items",o]),Object(X.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}),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 p});var r=n(55),i=n.n(r),o=n(67),a=n(200),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)},p=function(){return Object(o.a)(u,void 0)}},function(e,t,n){"use strict";n.d(t,"a",function(){return c}),n.d(t,"b",function(){return u});var r=n(17),i=n(70),o=(n(2026),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(102),o=n(798),a=n(628),s=n(415),c=n(800),u=n(620),l=n(500),d=l("IE_PROTO"),f=function(){},p=function(e){return"<script>"+e+"<\/script>"},h=function(){try{r=document.domain&&new ActiveXObject("htmlfile")}catch(e){}var e,t;h=r?function(e){e.write(p("")),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(p("document.F=Object")),e.close(),e.F);for(var n=a.length;n--;)delete h.prototype[a[n]];return h()};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=h(),void 0===t?n:o(n,t)}},function(e,t,n){var r=n(219);e.exports=function(e,t,n,i){i&&i.enumerable?e[t]=n:r(e,t,n)}},function(e,t,n){n(478);var r=n(1371),i=n(142),o=n(348),a=n(219),s=n(357),c=n(133)("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(817);e.exports=function(e,t){return r(t,e,0)>=0}},function(e,t,n){var r=n(420),i=n(206),o=n(177),a=n(1438),s=o(function(e,t){return 1===e?i(t):r(e,a(e,[],t))});e.exports=s},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(1456),i=n(1457),o=n(842);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|h(t,n),i=(e=s(e,r)).write(t,n);i!==r&&(e=e.slice(0,i));return e}(e,t,n):function(e,t){if(c.isBuffer(t)){var n=0|p(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|p(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|p(t.length);e=s(e,n);for(var r=0;r<n;r+=1)e[r]=255&t[r];return e}function p(e){if(e>=a())throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+a().toString(16)+" bytes");return 0|e}function h(e,t){if(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 E(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 x(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=h,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 O(this,t,n);case"latin1":case"binary":return C(this,t,n);case"base64":return x(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 E(this,e,t,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return k(this,e,t,n);default:if(o)throw new TypeError("Unknown encoding: "+r);r=(""+r).toLowerCase(),o=!0}},c.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};var T=4096;function O(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 C(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 N(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 P(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 M(e,t,n,r){t<0&&(t=65535+t+1);for(var i=0,o=Math.min(e.length-n,2);i<o;++i)e[n+i]=(t&255<<8*(r?i:1-i))>>>8*(r?i:1-i)}function 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 R(e,t,n,r,o){return o||I(e,0,n,4),i.write(e,t,n,r,23,4),n+4}function D(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||N(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||N(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||N(e,1,this.length),this[e]},c.prototype.readUInt16LE=function(e,t){return t||N(e,2,this.length),this[e]|this[e+1]<<8},c.prototype.readUInt16BE=function(e,t){return t||N(e,2,this.length),this[e]<<8|this[e+1]},c.prototype.readUInt32LE=function(e,t){return t||N(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||N(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||N(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||N(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||N(e,1,this.length),128&this[e]?-1*(255-this[e]+1):this[e]},c.prototype.readInt16LE=function(e,t){t||N(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||N(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||N(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||N(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||N(e,4,this.length),i.read(this,e,!0,23,4)},c.prototype.readFloatBE=function(e,t){return t||N(e,4,this.length),i.read(this,e,!1,23,4)},c.prototype.readDoubleLE=function(e,t){return t||N(e,8,this.length),i.read(this,e,!0,52,8)},c.prototype.readDoubleBE=function(e,t){return t||N(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)||P(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)||P(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||P(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||P(this,e,t,2,65535,0),c.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8):M(this,e,t,!0),t+2},c.prototype.writeUInt16BE=function(e,t,n){return e=+e,t|=0,n||P(this,e,t,2,65535,0),c.TYPED_ARRAY_SUPPORT?(this[t]=e>>>8,this[t+1]=255&e):M(this,e,t,!1),t+2},c.prototype.writeUInt32LE=function(e,t,n){return e=+e,t|=0,n||P(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||P(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);P(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);P(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||P(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||P(this,e,t,2,32767,-32768),c.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8):M(this,e,t,!0),t+2},c.prototype.writeInt16BE=function(e,t,n){return e=+e,t|=0,n||P(this,e,t,2,32767,-32768),c.TYPED_ARRAY_SUPPORT?(this[t]=e>>>8,this[t+1]=255&e):M(this,e,t,!1),t+2},c.prototype.writeInt32LE=function(e,t,n){return e=+e,t|=0,n||P(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||P(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 R(this,e,t,!0,n)},c.prototype.writeFloatBE=function(e,t,n){return R(this,e,t,!1,n)},c.prototype.writeDoubleLE=function(e,t,n){return D(this,e,t,!0,n)},c.prototype.writeDoubleBE=function(e,t,n){return D(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(108))},function(e,t,n){"use strict";var r=n(509),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(423));o.inherits=n(241);var a=n(841),s=n(648);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(p,this)}function p(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(276),i=n(531);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(277),i=n(532);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){(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 p(e,t,n,r){return jt(e,t,n,r,!0).utc()}function h(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=h(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=p(NaN);return null!=e?f(h(t),e):h(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=h(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 E(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=E(t)),n}function x(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 O,C={};function j(e,t){null!=i.deprecationHandler&&i.deprecationHandler(e,t),C[e]||(S(t),C[e]=!0)}function A(e){return e instanceof Function||"[object Function]"===Object.prototype.toString.call(e)}function N(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 P(e){null!=e&&this.set(e)}i.suppressDeprecationWarnings=!1,i.deprecationHandler=null,O=Object.keys?Object.keys:function(e){var t,n=[];for(t in e)d(e,t)&&n.push(t);return n};var M={};function L(e,t){var n=e.toLowerCase();M[n]=M[n+"s"]=M[t]=e}function I(e){return"string"==typeof e?M[e]||M[e.toLowerCase()]:void 0}function R(e){var t,n,r={};for(n in e)d(e,n)&&(t=I(n))&&(r[t]=e[n]);return r}var D={};function B(e,t){D[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/,X=/\d{3}/,$=/\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 pe={};function he(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++)pe[e[n]]=r}function me(e,t){he(e,function(e,n,r,i){r._w=r._w||{},t(e,r._w,r,i)})}function ve(e,t,n){null!=t&&d(pe,e)&&pe[e](t,n._a,n,e)}var ge=0,ye=1,be=2,_e=3,we=4,Ee=5,ke=6,xe=7,Se=8;function Te(e){return Oe(e)?366:365}function Oe(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,$),le("YYYYY",re,Q),le("YYYYYY",re,Q),he(["YYYYY","YYYYYY"],ge),he("YYYY",function(e,t){t[ge]=2===e.length?i.parseTwoDigitYear(e):k(e)}),he("YY",function(e,t){t[ge]=i.parseTwoDigitYear(e)}),he("Y",function(e,t){t[ge]=parseInt(e,10)}),i.parseTwoDigitYear=function(e){return k(e)+(k(e)>68?1900:2e3)};var Ce,je=Ae("FullYear",!0);function Ae(e,t){return function(n){return null!=n?(Pe(this,e,n),i.updateOffset(this,t),this):Ne(this,e)}}function Ne(e,t){return e.isValid()?e._d["get"+(e._isUTC?"UTC":"")+t]():NaN}function Pe(e,t,n){e.isValid()&&!isNaN(n)&&("FullYear"===t&&Oe(e.year())&&1===e.month()&&29===e.date()?e._d["set"+(e._isUTC?"UTC":"")+t](n,e.month(),Me(n,e.month())):e._d["set"+(e._isUTC?"UTC":"")+t](n))}function Me(e,t){if(isNaN(e)||isNaN(t))return NaN;var n,r=(t%(n=12)+n)%n;return e+=(t-r)/12,1===r?Oe(e)?29:28:31-r%7%2}Ce=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)}),he(["M","MM"],function(e,t){t[ye]=k(e)-1}),he(["MMM","MMMM"],function(e,t,n,r){var i=n._locale.monthsParse(e,r,n._strict);null!=i?t[ye]=i:h(n).invalidMonth=e});var Le=/D[oD]?(\[[^\[\]]*\]|\s)+MMMM?/,Ie="January_February_March_April_May_June_July_August_September_October_November_December".split("_"),Re="Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_");function De(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(),Me(e.year(),t)),e._d["set"+(e._isUTC?"UTC":"")+"Month"](t,n),e}function Be(e){return null!=e?(De(this,e),i.updateOffset(this,!0),this):Ne(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=p([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:h(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("_"),Xe="Su_Mo_Tu_We_Th_Fr_Sa".split("_"),$e=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=p([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),he(["H","HH"],_e),he(["k","kk"],function(e,t,n){var r=k(e);t[_e]=24===r?0:r}),he(["a","A"],function(e,t,n){n._isPm=n._locale.isPM(e),n._meridiem=e}),he(["h","hh"],function(e,t,n){t[_e]=k(e),h(n).bigHour=!0}),he("hmm",function(e,t,n){var r=e.length-2;t[_e]=k(e.substr(0,r)),t[we]=k(e.substr(r)),h(n).bigHour=!0}),he("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[Ee]=k(e.substr(i)),h(n).bigHour=!0}),he("Hmm",function(e,t,n){var r=e.length-2;t[_e]=k(e.substr(0,r)),t[we]=k(e.substr(r))}),he("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[Ee]=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:Re,week:{dow:0,doy:6},weekdays:Ge,weekdaysMin:Xe,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(2089)("./"+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 P(N(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&&x(i,n,!0)>=t-1)break;t--}o++}return rt}(e)}function pt(e){var t,n=e._a;return n&&-2===h(e).overflow&&(t=n[ye]<0||n[ye]>11?ye:n[be]<1||n[be]>Me(n[ge],n[ye])?be:n[_e]<0||n[_e]>24||24===n[_e]&&(0!==n[we]||0!==n[Ee]||0!==n[ke])?_e:n[we]<0||n[we]>59?we:n[Ee]<0||n[Ee]>59?Ee:n[ke]<0||n[ke]>999?ke:-1,h(e)._overflowDayOfYear&&(t<ge||t>be)&&(t=be),h(e)._overflowWeeks&&-1===t&&(t=xe),h(e)._overflowWeekday&&-1===t&&(t=Se),h(e).overflow=t),e}function ht(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=ht(t.GG,e._a[ge],We(At(),1,4).year),r=ht(t.W,1),((i=ht(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=ht(t.gg,e._a[ge],u.year),r=ht(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)?h(e)._overflowWeeks=!0:null!=c?h(e)._overflowWeekday=!0:(s=Ve(n,r,i,o,a),e._a[ge]=s.year,e._dayOfYear=s.dayOfYear)}(e),null!=e._dayOfYear&&(a=ht(e._a[ge],r[ge]),(e._dayOfYear>Te(a)||0===e._dayOfYear)&&(h(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[Ee]&&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&&(h(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 Et(e){var t,n,r,i,o,a,s=e._i,c=vt.exec(s)||gt.exec(s);if(c){for(h(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||""),Ot(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 xt(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=[xt(t),Re.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 h(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),h(e).rfc2822=!0}else e._isValid=!1}function Ot(e){if(e._f!==i.ISO_8601)if(e._f!==i.RFC_2822){e._a=[],h(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&&h(e).unusedInput.push(a),s=s.slice(s.indexOf(n)+n.length),u+=n.length),H[o]?(n?h(e).empty=!1:h(e).unusedTokens.push(o),ve(o,n,e)):e._strict&&!n&&h(e).unusedTokens.push(o);h(e).charsLeftOver=c-u,s.length>0&&h(e).unusedInput.push(s),e._a[_e]<=12&&!0===h(e).bigHour&&e._a[_e]>0&&(h(e).bigHour=void 0),h(e).parsedDateParts=e._a.slice(0),h(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?((p=l.isPM(f))&&d<12&&(d+=12),p||12!==d||(d=0),d):d),mt(e),pt(e)}else Tt(e);else Et(e);var l,d,f,p}function Ct(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 _(pt(t)):(u(t)?e._d=t:o(n)?function(e){var t,n,r,i,o;if(0===e._f.length)return h(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],Ot(t),m(t)&&(o+=h(t).charsLeftOver,o+=10*h(t).unusedTokens.length,h(t).score=o,(null==r||o<r)&&(r=o,n=t));f(e,n||t)}(e):n?Ot(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?(Et(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=R(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 _(pt(Ct(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 Nt=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()}),Pt=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 Mt(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=R(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===Ce.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 Rt(e){return e instanceof It}function Dt(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),he(["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 Rt(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[Ee])*n,ms:k(Dt(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),Rt(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 Xt(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),$t(this,Yt(n="string"==typeof n?+n:n,r),e),this}}function $t(e,t,n,r){var o=t._milliseconds,a=Dt(t._days),s=Dt(t._months);e.isValid()&&(r=null==r||r,s&&De(e,Ne(e,"Month")+s*n),a&&Pe(e,"Date",Ne(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=Xt(1,"add"),Zt=Xt(-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,$),le("gggg",ne,$),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),he("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}),he(["D","DD"],be),he("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",X),he(["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),he(["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),he(["s","ss"],Ee);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,X),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")he(cn,ln);var dn=Ae("Milliseconds",!1);V("z",0,0,"zoneAbbr"),V("zz",0,0,"zoneName");var fn=_.prototype;function pn(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:E(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 h(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=Pt,fn.min=Nt,fn.parsingFlags=function(){return f({},h(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:D[n]});return t.sort(function(e,t){return e.priority-t.priority}),t}(e=R(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 Oe(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 Me(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?$t(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=Ct(e))._a){var t=e._isUTC?p(e._a):At(e._a);this._isDSTShifted=this.isValid()&&x(e._a,t.toArray())>0}else this._isDSTShifted=!1;return this._isDSTShifted});var hn=P.prototype;function mn(e,t,n,r){var i=ft(),o=p().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}hn.calendar=function(e,t,n){var r=this._calendar[e]||this._calendar.sameElse;return A(r)?r.call(t,n):r},hn.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])},hn.invalidDate=function(){return this._invalidDate},hn.ordinal=function(e){return this._ordinal.replace("%d",e)},hn.preparse=pn,hn.postformat=pn,hn.relativeTime=function(e,t,n,r){var i=this._relativeTime[n];return A(i)?i(e,t,n,r):i.replace(/%d/i,e)},hn.pastFuture=function(e,t){var n=this._relativeTime[e>0?"future":"past"];return A(n)?n(t):n.replace(/%s/i,t)},hn.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)},hn.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},hn.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},hn.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=p([2e3,r]),this._shortMonthsParse[r]=this.monthsShort(o,"").toLocaleLowerCase(),this._longMonthsParse[r]=this.months(o,"").toLocaleLowerCase();return n?"MMM"===t?-1!==(i=Ce.call(this._shortMonthsParse,a))?i:null:-1!==(i=Ce.call(this._longMonthsParse,a))?i:null:"MMM"===t?-1!==(i=Ce.call(this._shortMonthsParse,a))?i:-1!==(i=Ce.call(this._longMonthsParse,a))?i:null:-1!==(i=Ce.call(this._longMonthsParse,a))?i:-1!==(i=Ce.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=p([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}},hn.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)},hn.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)},hn.week=function(e){return We(e,this._week.dow,this._week.doy).week},hn.firstDayOfYear=function(){return this._week.doy},hn.firstDayOfWeek=function(){return this._week.dow},hn.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},hn.weekdaysMin=function(e){return e?this._weekdaysMin[e.day()]:this._weekdaysMin},hn.weekdaysShort=function(e){return e?this._weekdaysShort[e.day()]:this._weekdaysShort},hn.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=p([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=Ce.call(this._weekdaysParse,a))?i:null:"ddd"===t?-1!==(i=Ce.call(this._shortWeekdaysParse,a))?i:null:-1!==(i=Ce.call(this._minWeekdaysParse,a))?i:null:"dddd"===t?-1!==(i=Ce.call(this._weekdaysParse,a))?i:-1!==(i=Ce.call(this._shortWeekdaysParse,a))?i:-1!==(i=Ce.call(this._minWeekdaysParse,a))?i:null:"ddd"===t?-1!==(i=Ce.call(this._shortWeekdaysParse,a))?i:-1!==(i=Ce.call(this._weekdaysParse,a))?i:-1!==(i=Ce.call(this._minWeekdaysParse,a))?i:null:-1!==(i=Ce.call(this._minWeekdaysParse,a))?i:-1!==(i=Ce.call(this._weekdaysParse,a))?i:-1!==(i=Ce.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=p([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}},hn.weekdaysRegex=function(e){return this._weekdaysParseExact?(d(this,"_weekdaysRegex")||Je.call(this),e?this._weekdaysStrictRegex:this._weekdaysRegex):(d(this,"_weekdaysRegex")||(this._weekdaysRegex=$e),this._weekdaysStrictRegex&&e?this._weekdaysStrictRegex:this._weekdaysRegex)},hn.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)},hn.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)},hn.isPM=function(e){return"p"===(e+"").toLowerCase().charAt(0)},hn.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 En(e){return 146097*e/4800}function kn(e){return function(){return this.as(e)}}var xn=kn("ms"),Sn=kn("s"),Tn=kn("m"),On=kn("h"),Cn=kn("d"),jn=kn("w"),An=kn("M"),Nn=kn("y");function Pn(e){return function(){return this.isValid()?this._data[e]:NaN}}var Mn=Pn("milliseconds"),Ln=Pn("seconds"),In=Pn("minutes"),Rn=Pn("hours"),Dn=Pn("days"),Bn=Pn("months"),Fn=Pn("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=E(n/60),t=E(e/60),n%=60,e%=60;var o=E(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?"-":"",p=Hn(this._months)!==Hn(d)?"-":"",h=Hn(this._days)!==Hn(d)?"-":"",m=Hn(this._milliseconds)!==Hn(d)?"-":"";return f+"P"+(o?p+o+"Y":"")+(a?p+a+"M":"")+(s?h+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(En(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=xn,Wn.asSeconds=Sn,Wn.asMinutes=Tn,Wn.asHours=On,Wn.asDays=Cn,Wn.asWeeks=jn,Wn.asMonths=An,Wn.asYears=Nn,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(En(s)+a),a=0,s=0),c.milliseconds=o%1e3,e=E(o/1e3),c.seconds=e%60,t=E(e/60),c.minutes=t%60,n=E(t/60),c.hours=n%24,a+=E(n/24),i=E(wn(a)),s+=i,a-=_n(En(i)),r=E(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=Mn,Wn.seconds=Ln,Wn.minutes=In,Wn.hours=Rn,Wn.days=Dn,Wn.weeks=function(){return E(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})?/),he("X",function(e,t,n){n._d=new Date(1e3*parseFloat(e,10))}),he("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 Mt("isBefore",[].slice.call(arguments,0))},i.max=function(){return Mt("isAfter",[].slice.call(arguments,0))},i.now=function(){return Date.now?Date.now():+new Date},i.utc=p,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=Rt,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=N(i,t),(n=new P(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 O(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(274)(e))},function(e,t,n){var r=n(2119),i=n(2124);e.exports=function(e,t){var n=i(e,t);return r(n)?n:void 0}},function(e,t,n){var r=n(223),i=n(693);e.exports=n(207)?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(548),i=n(1266);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(221),i=n(64);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(75),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){
/** @license ISC License (c) copyright 2016 original and current authors */
var r=n(125),i=n(1686),o=n(95),a=n(183);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){var r=n(329),i=n(19),o=n(49),a=n(128);e.exports=i(function(e,t){return a(o(r)(e),t)})},function(e,t,n){var r=n(19),i=n(817),o=n(294);e.exports=r(function(e,t){return"function"!=typeof t.indexOf||o(t)?i(t,e,0):t.indexOf(e)})},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(1970),o=(r=i)&&r.__esModule?r:{default:r};t.default=o.default},function(e,t,n){var r=n(2066)();r.helpers=n(93),n(2070)(r),r.Animation=n(1088),r.animationService=n(1089),r.defaults=n(117),r.Element=n(245),r.elements=n(302),r.Interaction=n(1090),r.layouts=n(434),r.platform=n(1091),r.plugins=n(1092),r.Scale=n(435),r.scaleService=n(301),r.Ticks=n(436),r.Tooltip=n(1093),n(2081)(r),n(2082)(r),n(2083)(r),n(2084)(r),n(2085)(r),n(2086)(r),n(2087)(r),n(2088)(r),n(2090)(r),n(2091)(r),n(2092)(r),n(2093)(r),n(2094)(r),n(2095)(r),n(2096)(r),n(2097)(r),n(2098)(r),n(2099)(r),n(2100)(r),n(2101)(r),n(2102)(r),n(2103)(r);var i=n(2104);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";var r=n(2),i=n.n(r),o=n(0),a=n.n(o),s=n(101);t.a=Object(s.a)("CoverContentNoImage",function(e){var t=e.className,n=e.children,r=i()(t,"cover__header-content");return a.a.createElement("div",{className:r},n)})},function(e,t,n){var r=n(633),i=n(411),o=n(133)("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){var r=n(207),i=n(1114),o=n(693),a=n(362),s=n(482),c=n(265),u=n(2270),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(604),i=n(1243),o=n(266),a=n(202),s=n(1119);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,p=t||s;return function(t,s,h){for(var m,v,g=o(t),y=i(g),b=r(s,h,3),_=a(y.length),w=0,E=n?p(t,_):c?p(t,0):void 0;_>w;w++)if((f||w in y)&&(v=b(m=y[w],w,g),e))if(n)E[w]=v;else if(v)switch(e){case 3:return!0;case 5:return m;case 6:return w;case 2:E.push(m)}else if(l)return!1;return d?-1:u||l?l: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){"use strict";n.d(t,"d",function(){return S}),n.d(t,"a",function(){return T}),n.d(t,"b",function(){return O}),n.d(t,"c",function(){return j});var r=n(370),i=n.n(r),o=n(147),a=n.n(o),s=n(7),c=n.n(s),u=n(55),l=n.n(u),d=n(53),f=n.n(d),p=n(65),h=n.n(p),m=n(150),v=n.n(m),g=n(15),y=n.n(g),b=n(18),_=n.n(b),w=n(48),E=n.n(w),k=n(120),x=n.n(k),S=function(e){var t="";return x()(function(e,n){if("section"===n.type)return t=n.id,n.children=[],l()(e,[n]);if(t){n.sectionId=t;var r=v()(_()("id",t))(e);return e[r].children=l()(e[r].children,[n]),e}return l()(e,[n])},[],e)},T=function(e,t){var n=c()(h()(_()("id",t)),y()("children")),r=c()(h()(n),f()(_()("type","section")),S)(e);return r?[r.id]:[]},O=function(e){return v()(_()("id",e))},C=a()(_()("family","continue"),_()("variant","continue")),j=c()(i()(C),E()([],"items"))},function(e,t,n){"use strict";(function(e){var r=n(3),i=n.n(r),o=n(17),a=n(9),s=n(10),c=n(11),u=n(13),l=n(5),d=n(248),f=n.n(d),p=n(28),h=n.n(p),m=n(116);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=h()(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){"use strict";(function(e){n.d(t,"a",function(){return s}),n.d(t,"b",function(){return c}),n.d(t,"c",function(){return u});var r=n(17),i=n(70),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("background"),c=a("head"),u=a("ui")}).call(this,n(0))},function(e,t,n){var r=n(176),i=n(619),o=n(235),a=n(236),s=n(803),c=[].push,u=function(e){var t=1==e,n=2==e,u=3==e,l=4==e,d=6==e,f=7==e,p=5==e||d;return function(h,m,v,g){for(var y,b,_=o(h),w=i(_),E=r(m,v,3),k=a(w.length),x=0,S=g||s,T=t?S(h,k):n||f?S(h,0):void 0;k>x;x++)if((p||x in w)&&(b=E(y=w[x],x,_),e))if(t)T[x]=b;else if(b)switch(e){case 3:return!0;case 5:return y;case 6:return x;case 2:c.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){"use strict";var r=n(806).charAt,i=n(273),o=n(634),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(206),i=n(177),o=n(508);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(1530),i=n(1535);e.exports=function(e,t){var n=i(e,t);return r(n)?n:void 0}},function(e,t,n){var r=n(514),i=n(1531),o=n(1532),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(1243),i=n(403);e.exports=function(e){return r(i(e))}},function(e,t,n){var r=n(141),i=n(337),o=n(265),a=n(2227),s=n(2271),c=n(404),u=c.get,l=c.enforce,d=String(s).split("toString");n(1115)("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(2230),i=n(265),o=n(2276),a=n(223).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(403),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(130);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 p(e,t,n){var r=e._events;if(void 0===r)return[];var i=r[t];return void 0===i?[]:"function"==typeof i?n?[i.listener||i]:[i]:n?function(e){for(var t=new Array(e.length),n=0;n<t.length;++n)t[n]=e[n].listener||e[n];return t}(i):m(i,i.length)}function h(e){var t=this._events;if(void 0!==t){var n=t[e];if("function"==typeof n)return 1;if(void 0!==n)return n.length}return 0}function m(e,t){for(var n=new Array(t),r=0;r<t;++r)n[r]=e[r];return n}function 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 p(this,e,!0)},s.prototype.rawListeners=function(e){return p(this,e,!1)},s.listenerCount=function(e,t){return"function"==typeof e.listenerCount?e.listenerCount(t):h.call(e,t)},s.prototype.listenerCount=h,s.prototype.eventNames=function(){return this._eventsCount>0?r(this._events):[]}},function(e,t,n){var r=n(413),i=n(57),o=n(191);e.exports=i(r("tail",o(1,1/0)))},function(e,t,n){var r=n(43),i=n(698);e.exports=i(r)},function(e,t,n){var r=n(19),i=n(146),o=n(904);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(240),i=n(19),o=n(188);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(221),i=n(19);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(566),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(1510)},function(e,t,n){
/** @license ISC License (c) copyright 2016 original and current authors */
var r=n(125),i=n(222),o=n(480),a=n(183);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){e.exports=n(1642)},function(e,t,n){
/** @license ISC License (c) copyright 2016 original and current authors */
var r=n(125),i=n(95);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(388),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(281),i=n(120);e.exports=i(r,0)},function(e,t,n){var r=n(19);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){e.exports=n(1906)},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(81),p=n.n(f),h=(n(1931),n(51)),m=n(1153),v=n.n(m),g=n(1),y=n.n(g),b=n(251),_=n.n(b),w=n(152),E=n.n(w),k=n(284),x=n.n(k),S=n(2),T=n.n(S),O=n(7),C=n.n(O),j=n(38),A=n.n(j),N=n(43),P=n.n(N),M=n(26),L=n.n(M),I=n(46),R=n.n(I),D=n(42),B=n(22),F=n(288),U=n(45),q=n(23),z=n(289),H=n(259),V=n(258),W=n(107),Y=n(115),G=n(82),K=n(290),X=n(104),$=n(25);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=C()(R()(P.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 x()(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()([[$.k,n],[$.i,r],[$.g,i],[$.m,o],[$.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,p=d?i:void 0,h=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:h,onClick:p,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,p=o.description,h=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,E=b?void 0:y,k=b?void 0:"noopener noreferrer",x=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:E,onClick:w,rel:k,role:x,tabIndex:Object(q.l)(i),target:S},e.createElement(D.a,{value:f}))),e.createElement(D.a,{className:"embed__description brand--body brand--linkColor",value:p}),e.createElement("a",{className:"embed__readMore brand--hoverColor","data-external":_,href:E,onClick:w,rel:k,role:x,tabIndex:Object(q.l)(i),target:S},"link"===g?d()(t="".concat(m," ")).call(t,h):d()(n="".concat(v," ")).call(n,h),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,h=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(X.b)(d);var _=b.firstChild,w=_&&_.tagName&&"iframe"===_.tagName.toLowerCase(),E=100,k=32,x=d;if(w){var S=_.width.match(/%/),T=parseInt(_.width);_.src=Object(K.a)(_.src),x=b.innerHTML,E=S?T/100*700:T||16,k=parseInt(_.height)}var O=w?"".concat(100*(k/E),"%"):"3rem",C=w?x:"<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:C},style:{paddingBottom:O},ref:function(e){t.iFrameContainer=e}}))}if(a){var j,A=Object(K.a)(d),N=o&&Object(V.a)(A),P=N?"":void 0,M=N?c:void 0,L=N?void 0:A,I=N?void 0:"noopener noreferrer",R=N?"button":void 0,B=N?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(),p()(j=["link","photo"]).call(j,y)?e.createElement("a",{"data-external":P,href:L,onClick:M,rel:I,role:R,tabIndex:Object(q.l)(r),target:B},e.createElement("img",{alt:f?h:null,className:"embed__img",src:Z(f)})):this.renderEmbedIframe({allowTabNavigation:r,labels:s,src:d,thumbnail:f,title:h,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,$=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(D.a,{className:"embed__title brand--head",value:h}),e.createElement(D.a,{className:"embed__description",value:l}),e.createElement("a",{className:"embed__readMore brand--hoverColor",dataExternal:z,href:G,onClick:W,rel:$,role:Q,target:J},g))}return e.createElement("div",{className:"embed embed--media brand--head"},u?e.createElement(D.a,{"aria-hidden":!r,className:"embed__title brand--head",value:h}):null,this.renderEmbedIframe({allowTabNavigation:r,labels:s,src:d,thumbnail:f,title:h,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 embed__media-wrap--photo"},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=E()({externalLinksDisabled:L()(["course","externalLinksDisabled"])}),re=Object(h.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(47),a=n.n(o),s=n(32),c=n.n(s),u=n(40),l=n.n(u),d=n(31),f=n.n(d),p=n(34),h=n.n(p),m=n(8),v=n(9),g=n(10),y=n(6),b=n(11),_=n(13),w=n(5),E=n(4),k=n.n(E),x=n(14),S=n.n(x),T=n(81),O=n.n(T),C=(n(1939),n(2)),j=n.n(C),A=n(7),N=n.n(A),P=n(38),M=n.n(P),L=n(557),I=n.n(L),R=n(15),D=n.n(R),B=n(1),F=n.n(B),U=n(88),q=n.n(U),z=n(251),H=n.n(z),V=n(1160),W=n.n(V),Y=(n(1957),n(82)),G=n(289),K=n(1168),X=n(45),$=n(216),Q=n(36),Z=n(107),J=n(22),ee=n(23),te=n(25);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($.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&&X.a.isPlaying&&(this.video.player.pause(),X.a.isPlaying=!1)}},{key:"setMaxTime",value:function(e){this.maxTime=e,this.video.player.controlBar.progressControl.seekBar.setMaxTime(e)}},{key:"componentDidMount",value:function(){var e=this,t=this.video.player,n=this.props,r=n.audioVideoPlayhead,i=n.canRestrictSeek,o=n.currentTime,a=n.id,s=n.onFullScreenChange,c=n.percentComplete,u=n.progressChanged,l=n.recordMediaPlayheadPosition,d=n.type;if(this.setState({shouldLoadPlayheadPosition:!0}),this.wasPaused=!1,this.seeking=!1,this.setMaxTime(o),this.updateContentFocusability(),i){var f=this.video.player.controlBar.progressControl.seekBar;f.disableSeek(),f.on("showRestrictSeekTooltip",function(t,n){return e.showRestrictSeekTooltip(n)}),this.configureSeekDiv()}t.ready(function(){t.el_&&(t.el_.removeAttribute("role"),t.el_.removeAttribute("aria-label")),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.setMaxTime(n),i&&e.updateSeekTooltip();var d=t.ended()&&!e.seeking,f=!a&&!e.seeking;if(!i||d||f){n>e.maxTime&&e.setMaxTime(n);var p=n/o*100;d&&(p=100),u&&u({currentTime:n,percentComplete:p}),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(){X.a.isPlaying&&X.a.playerId!==a&&(X.a.isPlaying=!1),X.a.playerId=a,X.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(){X.a.playerId===a&&(X.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()}),X.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)),X.a.isPlaying=!1,X.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=N()(I()(1),D()("pathname"),H.a.parse),p=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 E=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])}):h.a?Object.defineProperties(e,h()(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,p,"-")).call(t,a),options:w,poster:v,ref:function(e){return r.video=e}},_),x=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,E,e.createElement("source",{src:T,type:y}),!s&&u&&x,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)});M()([[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:"configureSeekDiv",value:function(){var t,n=this.video.player.controlBar,r=n.el();this.progressBarElement=n.progressControl.seekBar.playProgressBar.el(),this.seekDiv=((t=document.createElement("div")).classList.add("seek-tooltip"),t.classList.add("seek-tooltip--hidden"),t),r.appendChild(this.seekDiv),q.a.render(e.createElement(Q.E,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;X.a.playerId===e&&(X.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.func,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)&&O()(t).call(t,"vjs-volume-bar");return Object(te.e)(e)&&(O()(t).call(t,"vjs-control")||O()(t).call(t,"vjs-big-play-button"))||n}}).call(this,n(0))},function(e,t,n){"use strict";n.d(t,"a",function(){return g});var r=n(339),i=n.n(r),o=n(33),a=n.n(o),s=n(7),c=n.n(s),u=n(204),l=n.n(u),d=(n(56),n(191),n(282)),f=n.n(d),p=n(711),h=n.n(p),m=n(307),v=n.n(m);n(46);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()(h.a,0));c()(l()(" "),a()(y),f()(" ")),c()(y,v.a)},function(e,t,n){var r=n(879),i=n(1085),o=n(536),a=n(317),s=n(2209),c=n(2211),u=n(1086),l=n(882),d=n(298),f=30,p="...",h=/\w*$/;e.exports=function(e,t){var n=f,m=p;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,E=_;for(v.global||(v=RegExp(v.source,d(h.exec(v))+"g")),v.lastIndex=0;w=v.exec(E);)var k=w.index;_=_.slice(0,void 0===k?b:k)}}else if(e.indexOf(r(v),b)!=b){var x=_.lastIndexOf(v);x>-1&&(_=_.slice(0,x))}return _+m}},function(e,t,n){e.exports=n(1790)},function(e,t,n){"use strict";var r=n(0),i=n.n(r);t.a=i.a.createContext(null)},function(e,t,n){e.exports=n(1650)},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(160),c=n.n(s),u=n(53),l=n.n(u),d=n(49),f=n.n(d),p=n(121),h=n.n(p),m=n(56),v=n.n(m),g=n(97),y=n.n(g),b=n(98),_=n.n(b),w=n(28),E=n.n(w),k=n(72),x=n.n(k),S=n(62),T=n.n(S),O=n(226),C=n.n(O),j=n(24),A=n.n(j),N=n(15),P=n.n(N),M=n(18),L=n.n(M),I=n(89),R=n.n(I),D=n(80),B=n.n(D),F=n(46),U=n.n(F),q=n(84),z=n(464),H=function(e){return i()("correctlyAnswered",A()(P()("items"),B.a,l()(L()("isCorrect",!0)),v.a)(e),e)},V=A()(T()(_()("items"),Object(q.e)(x()(["isViewed","isCorrect"]))),x()(["percentViewed","correctlyAnswered"]),T()(_()("retryAttempts"),a()(h.a,c()(0)))),W=function(e){var t=e.itemId,n=e.isCorrect;return A()(T()(y()(["items",t]),A()(f()(E.a)({isComplete:n,isViewed:n}),E()({isCorrect:n}))),U()(C()(["items",t,"isCorrect"],!1),i()("lastIncorrectCardId",t)),H,R()(L()("percentComplete",100),z.a),z.b,U()(L()("percentComplete",100),i()("isComplete",!0)))}},function(e,t,n){
/** @license ISC License (c) copyright 2018 original and current authors */
var r=n(125),i=n(95);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(523).chain,i=n(125),o=n(264),a=n(1911),s=n(95),c=n(183);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(684).toUnsigned,u=n(684).toHexString,l=n(558);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 p,h=l.findBox(f,[i.codec])[0];h&&(/^[a-z]vc[1-9]$/i.test(i.codec)?(p=h.subarray(78),"avcC"===l.parseType(p.subarray(4,8))&&p.length>11?(i.codec+=".",i.codec+=u(p[9]),i.codec+=u(p[10]),i.codec+=u(p[11])):i.codec="avc1.4d400d"):/^mp4[a,v]$/i.test(i.codec)&&(p=h.subarray(28),"esds"===l.parseType(p.subarray(4,8))&&p.length>20&&0!==p[19]?(i.codec+="."+u(p[19]),i.codec+="."+u(p[20]>>>2&63).replace(/^0/,"")):i.codec="mp4a.40.2"))}var m=l.findBox(e,["mdia","mdhd"])[0];if(m&&o){var v=0===r?12:20;i.timescale=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 N}),n.d(t,"a",function(){return P}),n.d(t,"b",function(){return M});var r=n(3),i=n.n(r),o=n(17),a=n(9),s=n(10),c=n(6),u=n(11),l=n(13),d=n(5),f=n(4),p=n.n(f),h=(n(1986),n(2)),m=n.n(h),v=n(87),g=n.n(v),y=n(1),b=n.n(y),_=n(74),w=n(288),E=n(99),k=n(59),x=n(61),S=n(115),T=n(198),O=n(52);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(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(68).b.blocks,A=function(t){Object(u.a)(r,t);var n=C(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,p()(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(E.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,p=s.entranceAnimation,h=s.zoomOnClick,v=m()("block-image block-image--".concat(a),{"block-image--no-animation":!p,"block-image--dark":Object(O.e)(f)}),y={backgroundColor:Object(_.a)("",f),paddingTop:"".concat(10*l,"px"),paddingBottom:"".concat(10*d,"px")},b=o[0],E=b.id,T=b.caption,C=g()(b,"media.image.alt"),A=g()(b,"media.image.key"),N=Object(x.a)(g()(b,"media.image")),P=Object(S.a)({caption:T,editable:r,id:E}),M=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(P.tagName,{"aria-labelledby":P.figcaptionId,className:"block-image__figure",role:P.role},e.createElement("div",{className:"block-image__image"},e.createElement(w.a,{alt:C,caption:T,disableZoom:!h,fileName:M,imageKey:A,src:N})),(r||T)&&e.createElement("figcaption",{id:P.figcaptionId},u(E,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),N=function(t){Object(u.a)(r,t);var n=C(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,p()(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(E.a,{className:"block-image__text brand--body brand--linkColor",value:n})}},{key:"renderCaption",value:function(t,n){return e.createElement(E.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(x.a)(g()(r,"media.image")),f=Object(S.a)({caption:n,editable:a,id:t}),p=g()(r,"media.image.originalUrl"),h=this.props,m=h.animateBlockEntrance,v=h.isLearner,y=h.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:p,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,p="right"===d,h=m()("block-image block-image--".concat(i),{"block-image--small":"small"===f,"block-image--large":"large"===f,"block-image--reverse":p,"block-image--no-animation":!l,"block-image--dark":Object(O.e)(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:h,"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"},p?a(y,w):this.renderImage(y,b,g,"left")),e.createElement("div",{className:"block-image__col"},p?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),P=function(t){Object(u.a)(r,t);var n=C(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,p()(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(E.a,{className:"block-image__caption brand--head brand--linkColor",value:n})}},{key:"renderOverlay",value:function(t,n){return e.createElement(E.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,p=a.entranceAnimation,h=a.opacity,v=a.opacityColor,y=m()("block-image block-image--".concat(s),{"block-image--no-animation":!p,"block-image--dark":Object(O.e)(f)}),b={backgroundColor:Object(_.a)("",f),paddingTop:"".concat(10*l,"px"),paddingBottom:"".concat(10*d,"px")},w={opacity:h||.6,backgroundColor:v||"transparent"},E=o[0],C=E.id,A=E.caption,N=g()(E,"media.image.key"),P=Object(x.a)(g()(E,"media.image")),M=g()(E,"media.image.alt"),L=g()(E,"media.image.originalUrl"),I=Object(T.c)({alt:M,caption:A,fileName:L,key:N}),R="overlay"===s,D=Object(S.a)({caption:A,editable:r,id:C,isOverlayType:R});return e.createElement(D.tagName,{"aria-labelledby":D.figcaptionId,className:y,"data-ba":j.blockImage,role:D.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,R,i,e.createElement("div",{className:"block-image__figure"},N&&e.createElement("div",{className:"block-image__image",style:{backgroundImage:"url('".concat(P,"')")}},e.createElement("img",{src:P,alt:I,role:"img"}),e.createElement("div",{className:"block-image__overlay",style:w})),R?this.renderOverlayCaption(C,A,s):null)),!R&&(r||A)&&e.createElement("figcaption",{className:"block-image__container brand--body",id:D.figcaptionId},u(C,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),M=function(t){return e.createElement(P,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(38),a=n.n(o),s=n(37),c=n.n(s),u=n(71),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 O}),n.d(t,"a",function(){return C}),n.d(t,"b",function(){return j}),n.d(t,"c",function(){return A}),n.d(t,"d",function(){return N});var r=n(3),i=n.n(r),o=n(17),a=n(9),s=n(10),c=n(6),u=n(11),l=n(13),d=n(5),f=n(4),p=n.n(f),h=n(14),m=n.n(h),v=n(41),g=n.n(v),y=(n(1968),n(2)),b=n.n(y),_=n(1),w=n.n(_),E=n(74),k=n(99),x=n(59);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(68).b.blocks,O=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,p()(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,p=c.backgroundColor,h=c.entranceAnimation,v=b()("block-impact block-impact--".concat(s),{"block-impact--no-animation":!h}),y={backgroundColor:Object(E.a)("",p),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(x.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),C=function(t){return e.createElement(O,Object(o.a)({type:"b"},t))},j=function(t){return e.createElement(O,Object(o.a)({type:"c"},t))},A=function(t){return e.createElement(O,Object(o.a)({type:"d"},t))},N=function(t){return e.createElement(O,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),p=n(41),h=n.n(p),m=n(14),v=n.n(m),g=(n(1991),n(51)),y=n(152),b=n.n(y),_=n(1),w=n.n(_),E=n(2),k=n.n(E),x=n(1188),S=n.n(x),T=n(65),O=n.n(T),C=n(124),j=n.n(C),A=n(60),N=n.n(A),P=n(28),M=n.n(P),L=n(26),I=n.n(L),R=n(21),D=n.n(R),B=n(18),F=n.n(B),U=n(286),q=n(99),z=n(382),H=n(59),V=n(42),W=n(1189),Y=n(383),G=n(259),K=n(22),X=n(74),$=n(36);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(68).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,p=void 0===d?this.renderCaptionDelegate:d,h=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,h),w=D()(0,["items",o,"items",h,"audioVideoPlayhead"],u);return e.createElement("div",{key:h,className:"block-audio__item"},c?e.createElement(U.b,{audioVideoPlayhead:w,key:_,id:_,labels:a,mediaSrc:b,onEnd:this.handleOnEnd.bind(this,h),recordMediaPlayheadPosition:l}):null,p(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(X.a)("",u),paddingTop:"".concat(10*s,"px"),paddingBottom:"".concat(10*c,"px")},p=o.length>0?h()(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()(p).call(p,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,p=t.captions,h=t.captionUID,m=t.id,v=t.key,g=t.keyId,y=t.partnerContentId,b=t.poster,_=t.subtitle,w=v||t.src,E=D()(0,["items",r,"items",m,"audioVideoPlayhead"],c),k=O()(F()("id",y),s)||{},x=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:E,canAdjustPlaybackSpeed:o,canRestrictSeek:l.forwardSeekRestricted&&!i,captionUID:h,captions:p,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?x: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,p=i.tenantId,h=i.renderCaption,m=void 0===h?this.renderCaptionDelegate:h,v=d.backgroundColor,g=d.mediaWidth,y=void 0===g?"1":g,b=t.id,_=t.media,w=t.partnerContentId,E=_.customVideo,x=void 0===E?{}:E,S=_.tmp,T=void 0===S?{}:S,C=_.video,A=void 0===C?{}:C,P=j()("poster",A)?A:M()(A,x),L=j()("poster",T.video||{})&&T.video,I=Object(K.d)()?P:L||P,R=I.captionUID,D=I.captions,B=I.key,U=I.poster,q=I.src,z=I.subtitle,H={captionUID:R,captions:D,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=O()(F()("id",w),u)||{},Y=V&&!N()(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:p}))}},{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(X.a)("",u),paddingTop:"".concat(10*s,"px"),paddingBottom:"".concat(10*c,"px")},p=o.length>0?h()(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()(p).call(p,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,p=s.showMetaData,h=d.showBorder,m=void 0===h||h,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:p}))}},{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,p=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"===p,"block-embed__wrapper--full":m&&"2"===p}),b={backgroundColor:Object(X.a)("",l),paddingTop:"".concat(10*c,"px"),paddingBottom:"".concat(10*u,"px")},_=a.length>0?h()(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,p=s?void 0:"noopener noreferrer",h=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:p,role:h,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($.l,{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($.p,{"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($.u,{"aria-label":"Microsoft Excel Spreadsheet"}):/pdf/.test(t)?e.createElement($.r,{"aria-label":"PDF File"}):/word/.test(t)?e.createElement($.q,{"aria-label":"Microsoft Word Document"}):/powerpoint|presentation/.test(t)?e.createElement($.s,{"aria-label":"PowerPoint Presentation"}):/rtf|richtext/.test(t)?e.createElement($.t,{"aria-label":"Rich Text File"}):/zip/.test(t)?e.createElement($.v,{"aria-label":"ZIP File"}):e.createElement($.p,{"aria-label":"File"})}},{key:"styles",value:function(e){return{backgroundColor:Object(X.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){var r=n(685);e.exports=function(e,t){return r(e,t)}},function(e,t,n){"use strict";n.d(t,"a",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),p=n(81),h=n.n(p),m=n(41),v=n.n(m),g=n(14),y=n.n(g),b=(n(2e3),n(203)),_=n.n(b),w=n(7),E=n.n(w),k=n(27),x=n.n(k),S=n(37),T=n.n(S),O=n(60),C=n.n(O),j=n(29),A=n.n(j),N=n(56),P=n.n(N),M=n(122),L=n.n(M),I=n(21),R=n.n(I),D=n(128),B=n.n(D),F=n(314),U=n.n(F),q=n(342),z=n.n(q),H=n(2),V=n.n(H),W=n(1),Y=n.n(W),G=n(0),K=n.n(G),X=n(74),$=n(23),Q=n(174),Z=n(84),J=n(99),ee=n(59),te=n(42),ne=n(186),re=n(394),ie=n(123),oe=n(213),ae=n(16),se=n.n(ae),ce=n(559),ue=n.n(ce),le=n(110),de=n.n(le),fe=n(53),pe=n.n(fe),he=n(150),me=n.n(he),ve=n(49),ge=n.n(ve),ye=n(86),be=n.n(ye),_e=n(43),we=n.n(_e),Ee=n(94),ke=n.n(Ee),xe=n(33),Se=n.n(xe),Te=n(24),Oe=n.n(Te),Ce=n(172),je=n.n(Ce),Ae=n(15),Ne=n.n(Ae),Pe=n(48),Me=n.n(Pe),Le=n(18),Ie=n.n(Le),Re=n(406),De=n.n(Re),Be=n(307),Fe=n.n(Be),Ue=n(267),qe=n.n(Ue),ze=n(46),He=n.n(ze),Ve=n(36),We=ue()(we.a),Ye=pe()(Ie()("correct",!0)),Ge=E()(He()(T()(-1),se()(0)),me()(Ie()("correct",!0))),Ke=function(e){return{MATCHING:we.a,FILL_IN_THE_BLANK:Qe,MULTIPLE_CHOICE:we.a,MULTIPLE_RESPONSE:we.a}[e]},Xe=E()(je()("id"),Ye),$e=E()(be.a,Xe),Qe=pe()(Ie()("correct",!0)),Ze=E()(Ne()("id"),be.a),Je=E()(P.a,ke.a),et=(Ve.C,Ve.D,Ve.w,Ve.B,n(26)),tt=n.n(et),nt=n(113),rt=n.n(nt),it=rt()(function(e){return e.preventDefault()}),ot=rt()(function(e){return e.stopPropagation()}),at=E()(ot,it);tt()(["target","value"]);function st(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 ct=n(68).b.blocks,ut=ie.b.FILL_IN_THE_BLANK,lt=ie.b.MATCHING,dt=ie.b.MULTIPLE_CHOICE,ft=ie.b.MULTIPLE_RESPONSE,pt=re.a.ANY,ht=re.a.CHOICE,mt=re.a.CORRECT_INCORRECT,vt={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"},gt=R()(null,[0,"type"]),yt=function(e){Object(c.a)(n,e);var t=st(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))).state={selectedAnswer:null,selectedIndices:[],chosen:!1,answered:!1,fillInValue:"",matches:{}},r.retakeAnimationStageOne=null,r.retakeAnimationStageTwo=null,r.getSelection=r.getSelection.bind(Object(s.a)(r)),r.handleFillIn=r.handleFillIn.bind(Object(s.a)(r)),r.handleChoiceSelect=r.handleChoiceSelect.bind(Object(s.a)(r)),r.handleMatch=r.handleMatch.bind(Object(s.a)(r)),r.handleMultipleResponseChange=r.handleMultipleResponseChange.bind(Object(s.a)(r)),r.handleRetake=r.handleRetake.bind(Object(s.a)(r)),r.renderQuestionTitle=r.renderQuestionTitle.bind(Object(s.a)(r)),r.renderMultipleResponseOptionText=r.renderMultipleResponseOptionText.bind(Object(s.a)(r)),r.renderMultipleChoiceOptionText=r.renderMultipleChoiceOptionText.bind(Object(s.a)(r)),r}return Object(a.a)(n,[{key:"componentDidUpdate",value:function(e,t){t.answered&&!this.state.answered&&this.getType()!==ut&&Object($.c)(this.wrapper)}},{key:"componentWillUnmount",value:function(){this.retakeAnimationStageOne&&(clearTimeout(this.retakeAnimationStageOne),this.retakeAnimationStageOne=null),this.retakeAnimationStageTwo&&(clearTimeout(this.retakeAnimationStageTwo),this.retakeAnimationStageTwo=null)}},{key:"getSelection",value:function(e){switch(e.item.type){case ut:return this.state.fillInValue;case lt:return this.state.matches;case ft:return this.state.selectedIndices;case dt:default:return this.state.selectedAnswer}}},{key:"handleMatch",value:function(e){var t=e.dragIndex,n=e.dropZoneIndex,r=this.state.matches,i=E()(x()(t,n),B()(T()(n)),Q.d)(r);this.setState({matches:i})}},{key:"handleMultipleResponseChange",value:function(e){var t=e.optionIndex,n=this.state.selectedIndices,r=h()(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()===ut&&Object($.c)(e.wrapper),e.retakeAnimationStageTwo=null})},950)}},{key:"renderQuestionTitle",value:function(e,t){var n=e.title;return K.a.createElement(J.a,{className:"quiz-card__title brand--body brand--linkColor",value:n,component:"div",id:t})}},{key:"renderQuestion",value:function(e){var t=this.state,n=t.answered,r=t.retake,i=t.selectedAnswer,o=this.props,a=o.blockId,s=o.enableVideoPlaybackSpeed,c=o.labels,u=o.renderQuestionTitle,l=void 0===u?this.renderQuestionTitle:u,d=c.feedbackGroup,f=c.quizCorrect,p=c.quizIncorrect,h=c.quizSubmit,m=c.quizTakeAgain,v=e.id,g=e.media,y=e.settings,b=e.type,_=this.state.answered,w=this.getIsCorrect({item:e}),E=this.getCanSubmit({item:e}),k=this.onSubmit.bind(this,v,E),x=this.getFeedback({item:e,isCorrect:w,selectedAnswer:i}),S="q-".concat(v),T=this.getSelection({item:e}),O=V()("block-knowledge__retake-container",{"block-knowledge__retake-container--active":n}),C=V()("block-knowledge__retake","brand--hoverColor",{"block-knowledge__retake--active":n&&!r});return K.a.createElement(ne.b,{key:v},l(e,S),K.a.createElement(ne.e,{blockId:a,enableVideoPlaybackSpeed:s,labels:c,media:g,opts:y}),K.a.createElement(ne.d,{type:b},this.renderType({isCorrect:w,item:e,onSubmit:k,canSubmit:E,questionHtmlId:S})),K.a.createElement(ne.a,{allowTabNavigation:!n,canProceed:_,canSubmit:E,onSubmit:k,quizSubmit:h}),K.a.createElement(ne.c,{canProceed:_,hasFeedback:!!x,isActive:n,isCorrect:w,item:e,feedbackGroup:d,quizCorrect:f,quizIncorrect:p,renderText:function(){return K.a.createElement(te.a,{className:"quiz-card__feedback-text brand--body brand--linkColor",allowTabNavigation:n,value:x})},selection:T}),K.a.createElement("div",{className:O},K.a.createElement("button",{"aria-hidden":!n||void 0,className:C,onClick:this.handleRetake,tabIndex:n?void 0:-1,type:"button"},K.a.createElement("div",{className:"block-knowledge__retake-content"},K.a.createElement("div",{className:"block-knowledge__retake-text brand--ui"},m),K.a.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 ut:return function(e){var t=e.answers,n=e.fillInValue,r=e.isCaseSensitive?qe.a:E()(qe.a,Fe.a);return Oe()(Se()(Me()("","title")),Se()(r),de()(r(n)))(t)}({answers:Qe(s),fillInValue:r,isCaseSensitive:u});case lt:return Object(Z.b)(i);case ft:return function(e){var t=e.answers,n=e.selectedIndices;return T()(De()(We,n),E()(De()(We),Se()(E()(ge()(me.a)(t),Ie()("id"))),Xe)(t))}({answers:s,selectedIndices:a});case dt:default:return o===Ge(s)}}},{key:"getType",value:function(){var e=this.props.items;return gt(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 ut:return L()(C()(o))&&L()(i);case lt:return Je(a)===P()(n);case ft:return L()(C()(c))&&L()(i);case dt: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 ht:return R()("",[r,"feedback"],i);case mt:return n?a:s;case pt:default:return o}}},{key:"getTypeLabel",value:function(){var e=this.getType();return e&&vt[e]||"Knowledge Check"}},{key:"renderMultipleResponseOptionText",value:function(e,t){var n=t.title;return K.a.createElement(J.a,{className:"cursorAuto",value:n,onClick:at,component:"span"})}},{key:"renderMultipleChoiceOptionText",value:function(e,t){var n=t.title;return K.a.createElement(J.a,{className:"quiz-multiple-choice-option__label brand--body cursorAuto",value:n,onClick:at,component:"div"})}},{key:"renderType",value:function(e){var t=e.isCorrect,n=e.item,r=e.onSubmit,i=e.canSubmit,o=e.questionHtmlId,a=this.props,s=a.color,c=a.isLearner,u=a.labels,l=a.prefersKeyboardNavigation,d=a.renderMultipleResponseOptionText,f=void 0===d?this.renderMultipleResponseOptionText:d,p=a.renderMultipleChoiceOptionText,h=void 0===p?this.renderMultipleChoiceOptionText:p,m=this.state,v=m.answered,g=m.fillInValue,y=m.matches,b=m.retake,_=m.selectedAnswer,w=m.selectedIndices,E=n.answers,k=void 0===E?[]:E,x=n.type,S=u.quizAcceptableResponses,T=u.quizAnswerPlaceholder,O=Object(Z.i)(k),C=O,j=U()(O);switch(x){case ut:return K.a.createElement(oe.a,{allowTabNavigation:!0,isComplete:v,isCorrect:t,onChange:this.handleFillIn,onEnterToSubmit:r,options:Qe(k),revealAnswers:!0,questionHtmlId:o,quizAcceptableResponses:S,quizAnswerPlaceholder:T,value:g});case lt:return K.a.createElement(oe.b,{allowTabNavigation:!0,answers:Ke(x)(k),canSubmit:i,isActive:!0,isComplete:v,isLearner:c,matchIndices:C,matches:y,onEnterToSubmit:r,onMatch:this.handleMatch,prefersKeyboardNavigation:!0,revealAnswers:!0,titleIndices:j,isKnowledgeCheck:!0,isRetake:b});case ft:return K.a.createElement(oe.d,{allowTabNavigation:!0,correctIds:Xe(k),isComplete:v,onChange:this.handleMultipleResponseChange,onEnterToSubmit:r,options:k,prefersKeyboardNavigation:l,renderOptionText:f.bind(this,n),revealAnswers:!0,selectedIndices:w});case dt:default:return K.a.createElement(oe.c,{allowTabNavigation:!0,color:s,correctId:$e(k)||Ze(k),isComplete:v,onChange:this.handleChoiceSelect,onEnterToSubmit:r,options:k,prefersKeyboardNavigation:l,questionHtmlId:o,renderOptionText:h.bind(this,n),revealAnswers:!0,selectedIndex:_})}}},{key:"render",value:function(){var e=this,t=this.props,n=t.animateBlockEntrance,r=t.isLearner,i=t.items,o=t.settings,a=this.state,s=a.answered,c=a.retake,u=o.paddingTop,l=o.paddingBottom,d=o.backgroundColor,f=o.entranceAnimation,p=V()("block-knowledge",{"block-knowledge--no-animation":!f,"block-knowledge--answered":s,"block-knowledge--retake":c}),h={backgroundColor:Object(X.a)("",d),paddingTop:"".concat(10*u,"px"),paddingBottom:"".concat(10*l,"px")},m=i.length>0?v()(i).call(i,0,1):[];return K.a.createElement("div",{className:p,"data-ba":ct.blockKnowledge,style:h,ref:function(t){e.block=t}},K.a.createElement(ee.a,{animateBlockEntrance:n,animateIn:"fadeIn",isLearner:r},K.a.createElement("div",{className:"block-knowledge__container"},K.a.createElement("div",{className:"block-knowledge__row"},K.a.createElement("div",{className:"block-knowledge__col"},K.a.createElement("div",{"aria-label":this.getTypeLabel(),className:"block-knowledge__wrapper",ref:function(t){e.wrapper=t}},y()(m).call(m,function(t){return e.renderQuestion(t)})))))))}}],[{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}}}]),n}(K.a.Component)},function(e,t,n){var r=n(187);e.exports=r("navigator","userAgent")||""},function(e,t){e.exports=function(e,t,n){if(!(e instanceof t))throw TypeError("Incorrect "+(n?n+" ":"")+"invocation");return e}},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(264),i=n(95),o=n(299),a=n(425),s=n(1635),c=n(1636);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(2272),s=n(167),c=n(337),u=n(265),l=n(1244),d=n(1117),f=n(141).WeakMap;if(a){var p=new f,h=p.get,m=p.has,v=p.set;r=function(e,t){return v.call(p,e,t),t},i=function(e){return h.call(p,e)||{}},o=function(e){return m.call(p,e)}}else{var g=l("state");d[g]=!0,r=function(e,t){return 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){var r=n(19);e.exports=r(function(e,t){return Array.prototype.slice.call(t,0).sort(e)})},function(e,t,n){"use strict";n.d(t,"a",function(){return w}),n.d(t,"b",function(){return E});var r=n(7),i=n.n(r),o=n(53),a=n.n(o),s=n(227),c=n.n(s),u=n(86),l=n.n(u),d=n(122),f=n.n(d),p=n(26),h=n.n(p),m=n(560),v=n.n(m),g=n(15),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 h()([e,"passed"],t)},y()("id")))),a()(_),b)(n)||{}},E=function(e){var t=e.courseProgress,n=e.lesson,r=e.restrictingQuiz,o=function(e){return h()([e,"index"],b(t))},a=o(y()("id",n));return i()(c()(a),o,y()("id"))(r)?r:{}}},function(e,t,n){"use strict";var r=n(778);t.a=Object(r.a)("LessonNav")},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 pt}),n.d(t,"a",function(){return vt}),n.d(t,"g",function(){return bt}),n.d(t,"c",function(){return wt});var r=n(47),i=n.n(r),o=n(32),a=n.n(o),s=n(40),c=n.n(s),u=n(31),l=n.n(u),d=n(34),f=n.n(d),p=n(487),h=n(8),m=n(35),v=n(154),g=n(4),y=n.n(g),b=n(41),_=n.n(b),w=n(16),E=n.n(w),k=n(559),x=n.n(k),S=n(257),T=n.n(S),O=n(1222),C=n.n(O),j=n(341),A=n.n(j),N=n(7),P=n.n(N),M=n(38),L=n.n(M),I=n(110),R=n.n(I),D=n(185),B=n.n(D),F=n(37),U=n.n(F),q=n(129),z=n.n(q),H=n(2263),V=n.n(H),W=n(53),Y=n.n(W),G=n(65),K=n.n(G),X=n(150),$=n.n(X),Q=n(49),Z=n.n(Q),J=n(238),ee=n.n(J),te=n(450),ne=n.n(te),re=n(43),ie=n.n(re),oe=n(79),ae=n.n(oe),se=n(33),ce=n.n(se),ue=n(28),le=n.n(ue),de=n(1227),fe=n.n(de),pe=n(122),he=n.n(pe),me=n(144),ve=n.n(me),ge=n(21),ye=n.n(ge),be=n(24),_e=n.n(be),we=n(15),Ee=n.n(we),ke=n(18),xe=n.n(ke),Se=n(48),Te=n.n(Se),Oe=n(314),Ce=n.n(Oe),je=n(406),Ae=n.n(je),Ne=n(775),Pe=n.n(Ne),Me=n(71),Le=n.n(Me),Ie=n(368),Re=n.n(Ie),De=n(307),Be=n.n(De),Fe=n(267),Ue=n.n(Fe),qe=n(80),ze=n.n(qe),He=n(46),Ve=n.n(He),We=n(84),Ye=n(103),Ge=n(1225),Ke=n(123);function Xe(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 $e(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Xe(Object(n),!0).forEach(function(t){Object(h.a)(e,t,n[t])}):f.a?Object.defineProperties(e,f()(n)):Xe(Object(n)).forEach(function(t){Object.defineProperty(e,t,l()(n,t))})}return e}var Qe=P()(Ue.a,Be.a),Ze=ye()(!1,["settings","isCaseSensitive"]),Je=function(e){return ae()(E()(Ze(e)),Ue.a,Qe)},et=function(e){var t=e.item,n=e.itemProgress;return Ee()("text",n)&&function(e){var t=e.item,n=e.itemProgress;return Object(Ye.c)(t,Te()([],"answers"),ce()(P()(Je(t),Ee()("title"))),R()(Object(Ye.a)(Je(t),Ee()("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()(Ee()("selectedIndex",o),(n=(t=i).answers,r=t.correct,$()(xe()("id",r),n)))},rt=x()(ie.a),it=Z()($.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()(P()(it(Te()([],"answers",e)),xe()("id"))),Ae()(rt))}(n))},at=function(e){var t=e.item,n=e.itemProgress;return Ee()("selectedIndices",n)&&ot({item:t,itemProgress:n})},st=function(e){return Object(Ye.c)(e,P()(We.i,Te()([],"answers")),ve()("matchIndices"),C()("titleIndices",P()(Ce.a,Ee()("matchIndices"))),le()(e))},ct=ye()(!1,["settings","shuffleAnswerChoices"]),ut=function(e){return L()([[xe()("type",Ke.b.MATCHING),st],[function(){return ct(e)},z()({answers:Ce.a})],[Le.a,ie.a]])},lt=C()("items",function(e){var t=e.items,n=(e.progress||{}).items,r=P()(String,Ee()("id")),i=Object(We.d)(n,Ee()("isComplete")),o=Object(We.c)(r,i)(t),a=P()(he.a,Ee()("isComplete")),s=Object(We.d)(n,a),c=Object(We.c)(r,s)(t);return y()(o).call(o,Ce()(c))}),dt=B()(function(e){return V()(function(e){return P()(ee()(K.a,e),xe()("id"),Ee()("id"))}(e),ie.a)}),ft=_e()(A()(Ee()("answers"),Ee()("answers")),fe()(B()(function(e){return ce()(function(e){return P()(fe()(T.a),dt(e))}(e))})),ve()("answers")),pt=ee()(function(e){return ce()((t=e,_e()(dt(t),V()(ft,fe()(T.a)),fe()(T.a))));var t}),ht=Y()(xe()("drawn",!0)),mt=$()(xe()("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=Pe()(o,i),c=Object(m.a)(s,2),u=c[0],l=c[1],d=Re()(l),f=ht(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=P()(K()(xe()("index",r)),ze.a)(e.items);return t[i]=$e($e($e({},a),s),{},{id:i,index:r}),t}},yt=function(e){var t=e.questionIndexList,n=e.items,r=e.progress;return $e($e({},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=Pe()(a,o),n=Object(m.a)(t,2),i=n[0],u=n[1],l=Object(p.a)(u),d=l[0],f=_()(l).call(l,1),h=d.drawCount,g=d.questions,b=[],w=[],E=[];b.length<h;)if(r.questionsDrawn){var k=r.questionList[c];ne()(function(e){var t,n=g[e];b.push($e($e({},n),{},{drawn:!0,id:y()(t="".concat(d.id,"-")).call(t,n.id)}))},k),E.push.apply(E,Object(v.a)(k))}else{var x,S=Object(Ge.b)({drawCount:h,questions:g,drawnQuestions:w});b.push($e($e({},S),{},{drawn:!0,id:y()(x="".concat(d.id,"-")).call(x,S.id)})),w.push(S.id),E.push(S.index)}o=y()(e=[]).call(e,Object(v.a)(i),b,Object(v.a)(f)),s.push(E),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)},Ee()("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(294);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(799),i=n(628);e.exports=Object.keys||function(e){return r(e,i)}},function(e,t){e.exports={}},function(e,t,n){var r=n(411);e.exports=Array.isArray||function(e){return"Array"==r(e)}},function(e,t,n){var r=n(182),i=n(235),o=n(500),a=n(809),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(348),i=n(357),o=n(133)("iterator");e.exports=function(e){if(null!=e)return e[o]||e["@@iterator"]||i[r(e)]}},function(e,t,n){var r=n(57),i=n(1425);e.exports=r(function(e){return 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,n){var r=n(837),i=n(1451);function o(t,n){return delete e.exports[t],e.exports[t]=n,n}e.exports={Parser:r,Tokenizer:n(838),ElementType:n(422),DomHandler:i,get FeedHandler(){return o("FeedHandler",n(1453))},get Stream(){return o("Stream",n(1454))},get WritableStream(){return o("WritableStream",n(840))},get ProxyHandler(){return o("ProxyHandler",n(1471))},get DomUtils(){return o("DomUtils",n(1472))},get CollectingHandler(){return o("CollectingHandler",n(1486))},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(331).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){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(102),i=n(155),o=n(133)("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(155),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){var r=n(19),i=n(520),o=n(58),a=n(419);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 2017 original and current authors */
var r=n(243),i=n(669);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 2018 original and current authors */
var r=n(209).proxy("Pred"),i=n(95),o=n(222);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(93);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"),p=i(e.boxes,"right"),h=i(e.boxes,"top"),m=i(e.boxes,"bottom"),v=i(e.boxes,"chartArea");o(f,!0),o(p,!1),o(h,!0),o(m,!1);var g=t-c-u,y=n-l-d,b=y/2,_=(t-g/2)/(f.length+p.length),w=(n-b)/(h.length+m.length),E=g,k=y,x=[];r.each(f.concat(p,h,m),function(e){var t,n=e.isHorizontal();n?(t=e.update(e.fullWidth?g:E,w),k-=t.height):(t=e.update(_,k),E-=t.width),x.push({horizontal:n,minSize:t,box:e})});var S=0,T=0,O=0,C=0;r.each(h.concat(m),function(e){if(e.getPadding){var t=e.getPadding();S=Math.max(S,t.left),T=Math.max(T,t.right)}}),r.each(f.concat(p),function(e){if(e.getPadding){var t=e.getPadding();O=Math.max(O,t.top),C=Math.max(C,t.bottom)}});var j=c,A=u,N=l,P=d;r.each(f.concat(p),F),r.each(f,function(e){j+=e.width}),r.each(p,function(e){A+=e.width}),r.each(h.concat(m),F),r.each(h,function(e){N+=e.height}),r.each(m,function(e){P+=e.height}),r.each(f.concat(p),function(e){var t=r.findNextWhere(x,function(t){return t.box===e}),n={left:0,right:0,top:N,bottom:P};t&&e.update(t.minSize.width,k,n)}),j=c,A=u,N=l,P=d,r.each(f,function(e){j+=e.width}),r.each(p,function(e){A+=e.width}),r.each(h,function(e){N+=e.height}),r.each(m,function(e){P+=e.height});var M=Math.max(S-j,0);j+=M,A+=Math.max(T-A,0);var L=Math.max(O-N,0);N+=L,P+=Math.max(C-P,0);var I=n-N-P,R=t-j-A;R===E&&I===k||(r.each(f,function(e){e.height=I}),r.each(p,function(e){e.height=I}),r.each(h,function(e){e.fullWidth||(e.width=R)}),r.each(m,function(e){e.fullWidth||(e.width=R)}),k=I,E=R);var D=c+M,B=l+L;r.each(f.concat(h),U),D+=E,B+=k,r.each(p,U),r.each(m,U),e.chartArea={left:j,top:N,right:j+E,bottom:N+k},r.each(v,function(t){t.left=e.chartArea.left,t.top=e.chartArea.top,t.right=e.chartArea.right,t.bottom=e.chartArea.bottom,t.update(E,k)})}function F(e){var t=r.findNextWhere(x,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:E,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+E,e.top=B,e.bottom=B+e.height,B=e.bottom):(e.left=D,e.right=D+e.width,e.top=N,e.bottom=N+k,D=e.right)}}}},function(e,t,n){"use strict";var r=n(117),i=n(245),o=n(93),a=n(436);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 p=o.toRadians(a);if(c=Math.cos(p),Math.sin(p)*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,p=e.isHorizontal(),h=l(i),m=r.gridLines.tickMarkLength;if(t.width=p?e.isFullWidth()?e.maxWidth-e.margins.left-e.margins.right:e.maxWidth:f&&c.drawTicks?m:0,t.height=p?f&&c.drawTicks?m:0:e.maxHeight,a.display&&f){var v=d(a)+o.options.toPadding(a.padding).height;p?t.height+=v:t.width+=v}if(i.display&&f){var g=o.longestText(e.ctx,h.font,n,e.longestTextCache),y=o.numberOfLabelLines(n),b=.5*h.size,_=e.options.ticks.padding;if(p){e.longestLabelWidth=g;var w=o.toRadians(e.labelRotation),E=Math.cos(w),k=Math.sin(w)*g+h.size*y+b*(y-1)+b;t.height=Math.min(e.maxHeight,t.height+k+_),e.ctx.font=h.font;var x=u(e.ctx,n[0],h.font),S=u(e.ctx,n[n.length-1],h.font);0!==e.labelRotation?(e.paddingLeft="bottom"===r.position?E*x+3:E*b+3,e.paddingRight="bottom"===r.position?E*b+3:E*S+3):(e.paddingLeft=x/2+3,e.paddingRight=S/2+3)}else i.mirror?g=0:g+=_+b,t.width=Math.min(e.maxWidth,t.width+g),e.paddingTop=h.size/2,e.paddingBottom=h.size/2}e.handleMargins(),e.width=t.width,e.height=t.height},handleMargins:function(){var e=this;e.margins&&(e.paddingLeft=Math.max(e.paddingLeft-e.margins.left,0),e.paddingTop=Math.max(e.paddingTop-e.margins.top,0),e.paddingRight=Math.max(e.paddingRight-e.margins.right,0),e.paddingBottom=Math.max(e.paddingBottom-e.margins.bottom,0))},afterFit:function(){o.callback(this.options.afterFit,[this])},isHorizontal:function(){return"top"===this.options.position||"bottom"===this.options.position},isFullWidth:function(){return this.options.fullWidth},getRightValue:function(e){if(o.isNullOrUndef(e))return NaN;if("number"==typeof e&&!isFinite(e))return NaN;if(e)if(this.isHorizontal()){if(void 0!==e.x)return this.getRightValue(e.x)}else if(void 0!==e.y)return this.getRightValue(e.y);return e},getLabelForIndex:o.noop,getPixelForValue:o.noop,getValueForPixel:o.noop,getPixelForTick:function(e){var t=this,n=t.options.offset;if(t.isHorizontal()){var r=(t.width-(t.paddingLeft+t.paddingRight))/Math.max(t._ticks.length-(n?0:1),1),i=r*e+t.paddingLeft;n&&(i+=r/2);var o=t.left+Math.round(i);return o+=t.isFullWidth()?t.margins.left:0}var a=t.height-(t.paddingTop+t.paddingBottom);return t.top+e*(a/(t._ticks.length-1))},getPixelForDecimal:function(e){var t=this;if(t.isHorizontal()){var n=(t.width-(t.paddingLeft+t.paddingRight))*e+t.paddingLeft,r=t.left+Math.round(n);return r+=t.isFullWidth()?t.margins.left:0}return t.top+e*t.height},getBasePixel:function(){return this.getPixelForValue(this.getBaseValue())},getBaseValue:function(){var e=this.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,p=[];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,p.push(r);return p},draw:function(e){var t=this,n=t.options;if(n.display){var i=t.ctx,a=r.global,s=n.ticks.minor,u=n.ticks.major||s,f=n.gridLines,p=n.scaleLabel,h=0!==t.labelRotation,m=t.isHorizontal(),v=s.autoSkip?t._autoSkip(t.getTicks()):t.getTicks(),g=o.valueOrDefault(s.fontColor,a.defaultFontColor),y=l(s),b=o.valueOrDefault(u.fontColor,a.defaultFontColor),_=l(u),w=f.drawTicks?f.tickMarkLength:0,E=o.valueOrDefault(p.fontColor,a.defaultFontColor),k=l(p),x=o.options.toPadding(p.padding),S=o.toRadians(t.labelRotation),T=[],O=t.options.gridLines.lineWidth,C="right"===n.position?t.left:t.right-O-w,j="right"===n.position?t.left+w:t.right,A="bottom"===n.position?t.top+O:t.bottom-w-O,N="bottom"===n.position?t.top+O+w:t.bottom+O;if(o.each(v,function(r,i){if(!o.isNullOrUndef(r.label)){var u,l,d,p,g,y,b,_,E,k,x,P,M,L,I=r.label;i===t.zeroLineIndex&&n.offset===f.offsetGridLines?(u=f.zeroLineWidth,l=f.zeroLineColor,d=f.zeroLineBorderDash,p=f.zeroLineBorderDashOffset):(u=o.valueAtIndexOrDefault(f.lineWidth,i),l=o.valueAtIndexOrDefault(f.color,i),d=o.valueOrDefault(f.borderDash,a.borderDash),p=o.valueOrDefault(f.borderDashOffset,a.borderDashOffset));var R="middle",D="middle",B=s.padding;if(m){var F=w+B;"bottom"===n.position?(D=h?"middle":"top",R=h?"right":"center",L=t.top+F):(D=h?"middle":"bottom",R=h?"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),M=t.getPixelForTick(i)+s.labelOffset,g=b=E=x=U,y=A,_=N,k=e.top,P=e.bottom+O}else{var q,z="left"===n.position;s.mirror?(R=z?"left":"right",q=B):(R=z?"right":"left",q=w+B),M=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=C,b=j,E=e.left,x=e.right+O,y=_=k=P=H}T.push({tx1:g,ty1:y,tx2:b,ty2:_,x1:E,y1:k,x2:x,y2:P,labelX:M,labelY:L,glWidth:u,glColor:l,glBorderDash:d,glBorderDashOffset:p,rotation:-1*S,label:I,major:r.major,textBaseline:D,textAlign:R})}}),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()}}),p.display){var P,M,L=0,I=d(p)/2;if(m)P=t.left+(t.right-t.left)/2,M="bottom"===n.position?t.bottom-I-x.bottom:t.top+I+x.top;else{var R="left"===n.position;P=R?t.left+I+x.top:t.right-I-x.top,M=t.top+(t.bottom-t.top)/2,L=R?-.5*Math.PI:.5*Math.PI}i.save(),i.translate(P,M),i.rotate(L),i.textAlign="center",i.textBaseline="middle",i.fillStyle=E,i.font=k.font,i.fillText(p.labelString,0,0),i.restore()}if(f.drawBorder){i.lineWidth=o.valueAtIndexOrDefault(f.lineWidth,0),i.strokeStyle=o.valueAtIndexOrDefault(f.color,0);var D=t.left,B=t.right+O,F=t.top,U=t.bottom+O,q=o.aliasPixel(i.lineWidth);m?(F=U="top"===n.position?t.bottom:t.top,F+=q,U+=q):(D=B="left"===n.position?t.right:t.left,D+=q,B+=q),i.beginPath(),i.moveTo(D,F),i.lineTo(B,U),i.stroke()}}}})},function(e,t,n){"use strict";var r=n(93);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(540),i=n(2120),o=n(2121),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(64),i=n(339),o=n(16);e.exports=r(function(e,t,n){return i(o(t),e,n)})},function(e,t,n){var r=n(57),i=n(553);e.exports=r(function(e){return i(function(){return Array.prototype.slice.call(arguments,0)},e)})},function(e,t,n){var r=n(57),i=n(1393);e.exports=r(i)},function(e,t,n){var r=n(19),i=n(884);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(551),i=n(499);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(19);e.exports=r(function(e,t){return e>=t})},function(e,t,n){var r=n(19),i=n(55),o=n(556);e.exports=r(function(e,t){return i(o(e,t),o(t,e))})},function(e,t,n){"use strict";n.d(t,"a",function(){return c});var r=n(41),i=n.n(r),o=n(168),a=n.n(o),s=n(460);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){"use strict";var r=n(1135),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){var r=n(413),i=n(19);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){(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(682),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(297),n(108))},function(e,t,n){"use strict";n.d(t,"a",function(){return E}),n.d(t,"b",function(){return k});var r=n(47),i=n.n(r),o=n(32),a=n.n(o),s=n(40),c=n.n(s),u=n(31),l=n.n(u),d=n(34),f=n.n(d),p=(n(17),n(35)),h=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(h.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 text"},n)}function E(e){var t=e.children,n=Object(m.useReducer)(_,{politeMessage1:"",politeMessage2:"",alternatePolite:!1,assertiveMessage1:"",assertiveMessage2:"",alternateAssertive:!1}),r=Object(p.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){
/** @license ISC License (c) copyright 2017 original and current authors */
e.exports=n(95)},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){"use strict";t.__esModule=!0;var r=l(n(1081)),i=l(n(1082)),o=l(n(0)),a=l(n(88)),s=l(n(1083)),c=l(n(1084)),u=l(n(2024));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(16),i=n.n(r),o=n(38),a=n.n(o),s=n(49),c=n.n(s),u=n(227),l=n.n(u),d=n(250),f=n.n(d),p=n(71),h=n.n(p),m=function(e){return function(t){e.setState({xTouchDown:t.touches[0].clientX,yTouchDown:t.touches[0].clientY})}},v=function(e){return function(t){e.setState({xTouchMove:t.touches[0].clientX,yTouchMove:t.touches[0].clientY})}},g=function(e,t,n,r){return function(){if(e.state.xTouchDown&&e.state.xTouchMove){var o=e.state.xTouchDown-e.state.xTouchMove,s=e.state.yTouchDown-e.state.yTouchMove,u=c()(l.a),d=c()(f.a),p=b(e);if(Math.abs(o)>Math.abs(s))a()([[u(r),t],[d(-r),n],[h.a,i()()]])(o),p()}}},y=function(e){return function(){b(e)}},b=function(e){return function(){e.setState({xTouchDown:null,yTouchDown:null,xTouchMove:null,yTouchMove:null})}};t.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){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},p=b(0,0,0,0);function h(e){return parseFloat(e)||0}function m(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];return t.reduce(function(t,n){return t+h(e["border-"+n+"-width"])},0)}function v(e){var t=e.clientWidth,n=e.clientHeight;if(!t&&!n)return p;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]=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-=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):p}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})}}(),E=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,x=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 E(t,n,this);k.set(this,r)}}();["observe","unobserve","disconnect"].forEach(function(e){x.prototype[e]=function(){var t;return(t=k.get(this))[e].apply(t,arguments)}});var S=void 0!==i.ResizeObserver?i.ResizeObserver:x;t.a=S}).call(this,n(108))},function(e,t,n){"use strict";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(612),d=n.n(l),f=n(4),p=n.n(f),h=n(0),m=n.n(h),v=n(16),g=n.n(v),y=n(2),b=n.n(y),_=n(38),w=n.n(_),E=n(37),k=n.n(E),x=n(1),S=n.n(x),T=n(71),O=n.n(T),C=n(36),j=n(139);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 N(e){switch(e.icon){case j.d.ARTICLE:return m.a.createElement(C.a,null);case j.d.INTERACTION:return m.a.createElement(C.J,null);case j.d.QUIZ:return m.a.createElement(C.H,null);case j.d.VIDEO:return m.a.createElement(C.K,null);default:return m.a.createElement("i",{className:"icon icon-Master-02"})}}},function(e,t,n){"use strict";var r=n(550),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,p=Object.getPrototypeOf,h=Object.prototype;e.exports=function e(t,n,r){if("string"!=typeof n){if(h){var i=p(n);i&&i!==h&&e(t,i,r)}var a=l(n);d&&(a=a.concat(d(n)));for(var s=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";(function(e){n.d(t,"c",function(){return Oe}),n.d(t,"a",function(){return Ne}),n.d(t,"b",function(){return Me});var r=n(3),i=n.n(r),o=n(47),a=n.n(o),s=n(32),c=n.n(s),u=n(40),l=n.n(u),d=n(31),f=n.n(d),p=n(34),h=n.n(p),m=n(6),v=n(8),g=n(9),y=n(10),b=n(11),_=n(13),w=n(5),E=n(63),k=n.n(E),x=n(4),S=n.n(x),T=n(14),O=n.n(T),C=n(81),j=n.n(C),A=n(1136),N=n.n(A),P=n(41),M=n.n(P),L=(n(1610),n(1)),I=n.n(L),R=n(281),D=n.n(R),B=n(56),F=n.n(B),U=n(306),q=n.n(U),z=n(135),H=n.n(z),V=n(247),W=n.n(V),Y=n(704),G=n.n(Y),K=n(38),X=n.n(K),$=n(75),Q=n.n($),Z=n(49),J=n.n(Z),ee=n(24),te=n.n(ee),ne=n(192),re=n(45),ie=n(2),oe=n.n(ie),ae=n(344),se=n.n(ae),ce=n(104),ue=n(384),le=n(74),de=n(1185),fe=n.n(de),pe=n(161),he=n.n(pe),me=n(99),ve=n(59),ge=n(42),ye=n(36),be=n(25),_e=n(23),we=n(115),Ee=n(107);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 xe(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])}):h.a?Object.defineProperties(e,h()(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(68).b.blocks,Oe=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,p=u.backgroundColor,h=u.entranceAnimation,m=u.accordionBehavior,v=void 0===m?"keepOpen":m,g=oe()("blocks-accordion",{"blocks-accordion--no-animation":!h}),y={backgroundColor:Object(le.a)("",p),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),Ce={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]||Ce))}}(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"},O()(r).call(r,function(n,r){return e.createElement(Ne,{blockId:c,disableZoom:!d,editable:o,focused:l[n.id].isActive,index:r,item:xe(xe({},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),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];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)&&N()(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,p=void 0===f?this.renderDescription:f,h=r.renderTitle,m=void 0===h?this.renderTitle:h,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}),E=oe()("blocks-accordion__item",{"blocks-accordion__item--closed":!d}),x=oe()("blocks-accordion__header",{"brand--border":d&&u}),T=oe()("blocks-accordion__content",{"blocks-accordion__content--will-enter":d,"brand--border":d&&u}),O=oe()("blocks-accordion__media","blocks-accordion__".concat(Pe(b))),C="title-".concat(this.id),j="panel-".concat(this.id);return e.createElement("section",{className:E},e.createElement("div",{role:we.c,"aria-level":"2"},e.createElement("button",{"aria-controls":j,"aria-expanded":d,className:x,onClick:this.toggle,onKeyDown:!o&&Object(be.a)(this.toggle)||null,type:"button"},m(C),e.createElement("span",{className:"blocks-accordion__toggler"},d?"–":"+"))),e.createElement("section",{"aria-labelledby":C,className:T,id:j,ref:function(e){n.content=e}},p(),e.createElement("div",{className:O},e.createElement(ne.a,{asyncImgCn:!0,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),Pe=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"},Me=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=he()(this.handleControls.bind(this),50)),window.addEventListener("resize",this.tabResize=he()(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(Ee.a)(function(){var r=Object(_e.f)({list:n.tabs,currentIndex:e});n.setActive(r,t)}),i=Object(Ee.a)(function(){var r=Object(_e.e)({list:n.tabs,currentIndex:e});n.setActive(r,t)});X()([[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},O()(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),D()(30))(a),f=te()(ce.c,J()(Q()(ue.a))(d),function(e){return"<span>".concat(e,"</span>")})(a),p="item-header-".concat(o),h=n.tabPanels[o];return e.createElement("button",{"aria-controls":h?h.id:null,"aria-selected":s,className:l,dangerouslySetInnerHTML:{__html:f},id:p,key:p,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.h,{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.h,{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,p=void 0===f?{}:f,h=t.settings,m=void 0===h?{}:h,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(Pe(p))},e.createElement(ne.a,{asyncImgCn:!0,className:"blocks-tabs__img",index:S()(i="".concat(s,"-")).call(i,n),media:p,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,p=oe()("blocks-tabs",{"blocks-tabs--no-animation":!d}),h={backgroundColor:Object(le.a)("",l),paddingTop:"".concat(10*c,"px"),paddingBottom:"".concat(10*u,"px")},m=o.length>0?M()(o).call(o,0,30):[],v=oe()("blocks-tabs__container",{"blocks-tabs--single":1===m.length});return e.createElement("div",{className:p,"data-ba":Te.blockTabs,style:h},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"},O()(m).call(m,function(e,n){return t.renderItem(xe(xe({},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,n){"use strict";n.d(t,"a",function(){return T});var r=n(388),i=n.n(r),o=n(228),a=n.n(o),s=n(114),c=n.n(s),u=n(1141),l=n.n(u),d=n(211),f=n.n(d),p=n(738),h=n.n(p),m=n(1142),v=n.n(m),g=n(160),y=n.n(g),b=n(282),_=n.n(b),w=n(307),E=n.n(w),k=n(106);function x(e,t){return void 0===t?e:t}f()(v()(function(e,t){var n,r,o=t.split("=");return l()(i()(n=o[0]).call(n),i()(r=o[1]).call(r),e)},{}),_()(/; */));function S(e,t){var n,r,o=t.indexOf(":"),a=i()(n=t.substr(0,o)).call(n).toLowerCase(),s=i()(r=t.substr(o+1)).call(r);return a&&(e[a]=e[a]?e[a]+", "+s:s),e}function T(e){var t=e.data,n=x(h.a,e.deserialize),r=x({},e.headers),i=x(!1,e.json),o=x(!1,e.jwt),s=x(null,e.token),u=x("GET",e.method),l=e.onUploadProgress,d=x(h.a,e.serialize),f=e.url,p=x(!1,e.withCredentials),m=new XMLHttpRequest;if(m.withCredentials=p,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()(E.a,y()(""))},function(e,t,n){
/** @license ISC License (c) copyright 2017 original and current authors */
e.exports=n(900)},function(e,t,n){"use strict";n.d(t,"a",function(){return V}),n.d(t,"b",function(){return W});var r=n(197),i=n.n(r),o=n(27),a=n.n(o),s=n(109),c=n.n(s),u=n(7),l=n.n(u),d=n(283),f=n.n(d),p=n(53),h=n.n(p),m=n(49),v=n.n(m),g=n(29),y=n.n(g),b=n(94),_=n.n(b),w=n(56),E=n.n(w),k=n(97),x=n.n(k),S=n(247),T=n.n(S),O=n(24),C=n.n(O),j=n(15),A=n.n(j),N=n(18),P=n.n(N),M=n(120),L=n.n(M),I=n(249),R=n.n(I),D=n(80),B=n.n(D),F=n(46),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,C()(A()("items"),B.a,h()(P()(t,!0)),E.a,v()(f.a)(l()(E.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 C()(a()(i,{index:r}),U()(function(){return q(o)},function(t){return R()(x()([i,"items"]),z(e,{},o))(t)}))(t)},{}),H({key:"isComplete",percent:"percentComplete"})),W=H({key:"isViewed",percent:"percentViewed"})},function(e,t,n){var r=n(1865),i=n(1887),o=n(563);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){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(299)},function(e,t,n){
/** @license ISC License (c) copyright 2017 original and current authors */
e.exports=n(264)},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 E});var r=n(0),i=n.n(r),o=n(171),a=n.n(o),s=n(346),c=n.n(s),u=n(397),l=n.n(u),d=(n(2169),n(1217)),f=n.n(d),p=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e};function h(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:"c505674afbbe63a023b523d9ce20446ae994c59e",DATADOG_RUM_APPLICATION_ID:"0bee3e39-361c-4a5d-8329-f815a0449459",DATADOG_RUM_CLIENT_TOKEN:"pubf65cd823927d3be4c9fa1d9575b98520",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=p({},e,{datasets:e.datasets&&e.datasets.map(function(e){return p({},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=h(t,["data"]);return p({},n,r)}return t});n.datasets;var a=h(n,["datasets"]);this.chartInstance.config.data=p({},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,p({},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,p({},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,p({},this.props,{ref:function(t){return e.chartInstance=t&&t.chartInstance},type:"line"}))},t}(i.a.Component),E=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,p({},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,p({},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,p({},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,p({},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,p({},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,p({},this.props,{ref:function(t){return e.chartInstance=t&&t.chartInstance},type:"scatter"}))}}(i.a.Component),c.a.defaults}).call(this,n(297))},function(e,t,n){"use strict";(function(e){n.d(t,"a",function(){return o}),n.d(t,"b",function(){return a});var r=n(0),i=Object(r.createContext)(!1);function o(t){var n=t.children,r=t.inert,o=a();return e.createElement(i.Provider,{value:o||r},n)}i.Consumer;function a(){return Object(r.useContext)(i)}}).call(this,n(0))},function(e,t,n){"use strict";n.d(t,"a",function(){return c});var r=n(739),i=n.n(r),o=n(31),a=n.n(o),s=n(5);function c(e,t,n){return(c="undefined"!=typeof Reflect&&i.a?i.a:function(e,t,n){var r=function(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=Object(s.a)(e)););return e}(e,t);if(r){var i=a()(r,t);return i.get?i.get.call(n):i.value}})(e,t,n||e)}},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 N}),n.d(t,"a",function(){return I}),n.d(t,"c",function(){return R});var r=n(27),i=n.n(r),o=n(7),a=n.n(o),s=n(49),c=n.n(s),u=n(29),l=n.n(u),d=n(97),f=n.n(d),p=n(98),h=n.n(p),m=n(28),v=n.n(m),g=n(122),y=n.n(g),b=n(72),_=n.n(b),w=n(62),E=n.n(w),k=n(18),x=n.n(k),S=n(46),T=n.n(S),O=n(84),C=n(66),j=function(e){var t=e.id;return function(e){return e(Object(C.g)({id:t,updateFn:P}))}},A=function(e){var t=e.activeIndex,n=e.id;return function(e){return e(Object(C.g)({id:n,updateFn:M(t)}))}},N=function(e){var t=e.activeIndex,n=e.id,r=e.itemId;return function(e){return e(Object(C.g)({id:n,updateFn:L({activeIndex:t,itemId:r})}))}},P=_()(["activeIndex","direction"]),M=function(e){return c()(v.a)({activeIndex:e,direction:"backwards"})},L=function(e){var t=e.activeIndex,n=e.itemId;return a()(T()(x()("percentComplete",100),i()("isComplete",!0)),C.f,T()(function(){return y()(l()(n))},E()(f()(["items",n]),i()("isComplete",!0))),i()("activeIndex",t),_()(["direction"]))},I=a()(c()(v.a)({isComplete:!0,percentComplete:100}),P,E()(h()("items"),Object(O.e)(i()("isComplete",!0)))),R=a()(_()(["activeIndex","direction","isComplete","percentComplete"]),E()(h()("items"),Object(O.e)(_()(["isComplete"]))))},function(e,t,n){"use strict";n.d(t,"a",function(){return p}),n.d(t,"b",function(){return f}),n.d(t,"c",function(){return d});var r=n(714);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,p=!1;function h(){f===c&&(f=c.slice())}function m(){if(p)throw new Error(a(3));return o}function v(e){if("function"!=typeof e)throw new Error(a(4));if(p)throw new Error(a(5));var t=!0;return h(),f.push(e),function(){if(t){if(p)throw new Error(a(6));t=!1,h();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(p)throw new Error(a(9));try{p=!0,o=i(o,e)}finally{p=!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 p(){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(17),a=n(9),s=n(10),c=n(6),u=n(11),l=n(13),d=n(5),f=n(4),p=n.n(f),h=n(14),m=n.n(h),v=(n(1987),n(0)),g=n.n(v),y=n(345),b=n.n(y),_=n(2),w=n.n(_),E=n(87),k=n.n(E),x=n(1),S=n.n(x),T=n(38),O=n.n(T),C=n(288),j=n(74),A=n(23),N=n(25),P=n(216),M=n(99),L=n(59),I=n(61),R=n(115),D=n(198),B=n(585),F=n(577);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(68).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,p()(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(M.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;O()([[N.i,t.slickNext.bind(t)],[N.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=r?"Previous image":"Next image",a=window.document.documentMode,s=w()("block-gallery__controls",{"block-gallery__controls--ie":a&&!t,"block-gallery__controls--ie-menu-open":a&&t});return g.a.createElement("div",{className:s},g.a.createElement("button",{className:i,onClick:n,type:"button","aria-label":o},g.a.createElement("span",{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(P.b)(this.carousel.querySelectorAll(".slick-slide.slick-active button")),t=Object(P.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(C.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,p=w()("block-gallery block-gallery--".concat(a),{"block-gallery--no-animation":!d}),h={backgroundColor:Object(j.a)("",l),paddingTop:"".concat(10*c,"px"),paddingBottom:"".concat(10*u,"px")};return g.a.createElement("div",{style:h},g.a.createElement(L.a,{animateBlockEntrance:n,animateIn:"fadeIn",offset:200,isLearner:r},g.a.createElement("div",{className:p,"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,p=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}),h={backgroundColor:Object(j.a)("",l),paddingTop:"".concat(10*c,"px"),paddingBottom:"".concat(10*u,"px")};return g.a.createElement("div",{className:p,"data-ba":q.blockGallery,style:h},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(R.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(X,{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)),X=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(D.c)({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}),p=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:p,ref:s,role:"img",src:a})),!r&&g.a.createElement("button",{"aria-label":"Zoom image",className:"img__btn 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(755),a=n(181),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 p="<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 h=void 0,m=[];function v(e){m.push(e),h||(h=setTimeout(function(){h=null;for(var e=void 0;e=m.shift();)e()},0));var t=!0;return function(){return function(){if(t){t=!1;var n=m.indexOf(e);-1!==n&&(m.splice(n,1),!m.length&&h&&(clearTimeout(h),h=null))}}}()}var g=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}();var y={topOffset:"0px",bottomOffset:"0px",horizontal:!1,onEnter:function(){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(p)}(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(108))},function(e,t,n){"use strict";n.d(t,"j",function(){return ct}),n.d(t,"e",function(){return ut}),n.d(t,"d",function(){return lt}),n.d(t,"a",function(){return gt}),n.d(t,"i",function(){return yt}),n.d(t,"b",function(){return _t}),n.d(t,"c",function(){return wt}),n.d(t,"f",function(){return Et}),n.d(t,"h",function(){return Dt}),n.d(t,"g",function(){return Bt});var r=n(3),i=n.n(r),o=n(8),a=n(70),s=n(17),c=n(9),u=n(10),l=n(11),d=n(13),f=n(5),p=n(114),h=n.n(p),m=n(4),v=n.n(m),g=n(14),y=n.n(g),b=(n(2795),n(0)),_=n.n(b),w=n(119),E=n(51),k=n(212),x=n.n(k),S=n(224),T=n.n(S),O=n(147),C=n.n(O),j=n(2),A=n.n(j),N=n(109),P=n.n(N),M=n(7),L=n.n(M),I=n(55),R=n.n(I),D=n(53),B=n.n(D),F=n(65),U=n.n(F),q=n(29),z=n.n(q),H=n(33),V=n.n(H),W=n(28),Y=n.n(W),G=n(163),K=n.n(G),X=n(144),$=n.n(X),Q=n(26),Z=n.n(Q),J=n(21),ee=n.n(J),te=n(91),ne=n.n(te),re=n(18),ie=n.n(re),oe=n(48),ae=n.n(oe),se=n(1130),ce=n.n(se),ue=n(85),le=n(36),de=n(61),fe=n(22),pe=n(617),he=n(118),me=n(73),ve=n(1287),ge=n(732),ye=n(42),be=n(487),_e=n(35),we=n(41),Ee=n.n(we),ke=(n(2343),n(784)),xe=n(6),Se=(n(2796),n(116)),Te=n(78),Oe=n(103),Ce=n(229),je=n(458),Ae=n(1304),Ne=n(323);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(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 Me=function(e){Object(l.a)(n,e);var t=Pe(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(xe.a)(r)),r.handleBlur=r.handleFocusChange.bind(Object(xe.a)(r),!1),r.handleFocus=r.handleFocusChange.bind(Object(xe.a)(r),!0),r.handleMouseEnter=r.handleMouseHover.bind(Object(xe.a)(r),!0),r.handleMouseLeave=r.handleMouseHover.bind(Object(xe.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(),x.a.Events.scrollEvent.register("end",function(){t.push(Ee()(n).call(n,1)),x.a.Events.scrollEvent.remove("end")}),x.a.animateScroll.scrollTo(0,{containerId:"overview"}),Object(Te.a)(Object(Ce.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(je.a,{icon:i})),_.a.createElement("div",{className:"overview-list-item__title brand--ui"},a),_.a.createElement("div",{className:"overview-list-item__pie"},_.a.createElement(Ae.a,{percentComplete:c,passedQuiz:s})));if(n){var p,h=A()("runtime-tooltip",{"runtime-tooltip--show":t&&l});return _.a.createElement("li",{className:"overview-list-item overview-list-item--restricted",role:"listitem"},_.a.createElement(Ne.a,{className:h},_.a.createElement("span",{"aria-disabled":"true","aria-label":v()(p="The ".concat(a," lesson is currently unavailable: ")).call(p,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(Ne.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),Le=Object(Se.h)(Me),Ie=n(134),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=Object(Ie.b)("lxpEnabled"),p=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":fe.e});return _.a.createElement("nav",{className:h},y()(p).call(p,function(e,i){var a=Object(be.a)(e),s=a[0],u=void 0===s?{}:s,p=Ee()(a).call(a,1),h=u.title,m="section"===u.type,v=m?p:e;return _.a.createElement("section",{key:i},m&&h&&_.a.createElement("h3",{className:"overview-list__section-title brand--ui"},h),_.a.createElement("ol",{className:"overview-list__list",role:"list"},y()(v).call(v,function(e){var i=Object(he.b)({course:t,courseProgress:n,lesson:e,lxpEnabled:f,restrictingQuiz:o}),a=Object(he.a)({labels:r,restrictions:i}),s=Object(ke.a)(n,e.id),u=s.percentComplete,p=s.passedQuiz;return _.a.createElement(Le,{allowTooltip:!c,isRestricted:i.isRestricted,key:e.id,lesson:e,onMouseEnter:l,onMouseLeave:d,passedQuiz:p,percentComplete:u,restrictedText:a,failedQuizWithNoAttempts:void 0})})))}))},De=Object(b.memo)(Re),Be=n(160),Fe=n.n(Be),Ue=n(204),qe=n.n(Ue),ze=n(24),He=n.n(ze),Ve=n(561),We=n.n(Ve),Ye=n(267),Ge=n.n(Ye),Ke=He()(Fe()({}),We()(["first_name","last_name"]),qe()(" "),Ge.a),Xe=(n(2797),["className","decorative","size"]),$e=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?"":Ke(i)||"Unknown User";return o?_.a.createElement("img",{alt:s,className:t||"user-avatar",src:o,style:{height:r,width:r}}):_.a.createElement(le.F,{decorative:n,height:r,title:s,width:r})},Qe=n(760),Ze=n(1299),Je=n(68),et=n(232),tt=["enableModernOverview"],nt=["enableModernOverview"],rt=["children","enableModernOverview"],it=["children","coverImage","enableModernOverview","enrolled","favoritedAt","isPreview","startAgain"];function ot(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 at=Je.a.learn.course.overview,st=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()($()(T.a,!t),R()("brand--"))),Y.a,{})(n)}({enableModernOverview:e,brand:r}))},ct=function(e){Object(l.a)(n,e);var t=ot(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":at.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 h.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),ut=function(e){Object(l.a)(n,e);var t=ot(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",Qe.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()(P()(ie.a)("type",Qe.a),s)))))}}]),n}(_.a.Component),lt=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)))},dt=function(e){return _.a.createElement("div",Object(s.a)({},e,{className:"overview__columns"}))},ft=function(e){return _.a.createElement("div",Object(s.a)({},e,{className:"overview__main-col"}))},pt=function(e){return _.a.createElement("div",Object(s.a)({},e,{className:"overview__aside"}))},ht=function(e){var t=e.enableModernOverview,n=Object(a.a)(e,tt);return t?_.a.createElement(pt,n):null},mt=function(e){var t=e.enableModernOverview,n=Object(a.a)(e,nt),r=t?"overview__section-header":"visually-hidden";return _.a.createElement("header",Object(s.a)({},n,{className:r}))},vt=function(e){var t=e.children,n=e.enableModernOverview,r=Object(a.a)(e,rt),i=n?st(n,"overview__heading","ui"):null;return _.a.createElement("h2",Object(s.a)({},r,{className:i}),t)},gt=function(e){var t=e.avatar,n=e.authorName,r=e.enableModernOverview;return t&&n?_.a.createElement("div",{className:st(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},yt=function(e){var t=e.enableModernOverview,n=e.children;return _.a.createElement("div",{className:"overview__title-wrap"},_.a.createElement(ye.a,{className:st(t,"overview__title","head"),tagName:"h1",value:n}))},bt=L()(ne()(["isPreview"]),ae()({},"global")),_t=Object(E.b)(bt,{})(function(e){var t=e.children,n=e.coverImage,r=e.enableModernOverview,i=e.enrolled,o=e.favoritedAt,c=e.isPreview,u=e.startAgain,l=Object(a.a)(e,it),d=Z()(["media","image","key"],n),f=Object(Ie.b)("lxpEnabled"),p=A()("overview__button",{"brand--color":!d,"brand--ui":fe.e,"overview__outline-btn":u,"overview__start-again":u,"overview__button-enrolled":f||i||o||c||Object(me.k)()||!fe.e&&r});return _.a.createElement(w.b,Object(s.a)({className:p},l),t)}),wt=function(e){var t=e.enableModernOverview,n=e.text;return _.a.createElement(x.a.Link,{className:"overview__details-trigger",containerId:"overview",duration:1e3,href:"#overview-main",smooth:!0,to:"overview-main"},_.a.createElement("span",{className:st(t,"overview__details-trigger-text","ui")},n),_.a.createElement(le.g,null))},Et=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},kt=function(e){return"<p><br></p>"===e?"":e},xt=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"))},St=function(e){var t=e.enableModernOverview,n=e.numLessons,r=e.publishedAt,i=e.showTimeToComplete,o=e.text,a=e.timeToComplete,s=Object(et.b)(960);return kt(o)?_.a.createElement(b.Fragment,null,_.a.createElement(mt,{enableModernOverview:t},_.a.createElement(vt,{enableModernOverview:t},"Description"),s&&_.a.createElement(xt,{publishedAt:r}),!s&&_.a.createElement(Ot,{numLessons:n,timeToComplete:a,showTimeToComplete:i,standalone:!1})),_.a.createElement(ye.a,{key:"text",value:kt(o),className:st(t,"overview__description brand--linkColor","body")})):null},Tt=function(e,t){return 1===e?t:v()(t).call(t,"s")},Ot=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)," ",Tt(n,"Lesson")),fe.e&&i&&_.a.createElement("li",{className:"overview__stat-value-wrap",role:"listitem"},_.a.createElement("span",{className:"overview__stat-value"},s)," ",Tt(s,r>=36e5?"Hour":"Minute")))},Ct=function(e){var t=e.avatar,n=e.authorName,r=e.authorTitle,i=e.enableModernOverview;return t&&n?_.a.createElement("section",{className:st(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},jt=function(e){var t,n=e.dueAt;if(!n)return null;var r=Object(pe.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(pe.a)(n))},At=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"}))},Nt=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),p=U()(C()(ie()("type","quiz"),ie()("id",u)),a),h=ae()(void 0,"title",p),m=Z()(["settings","passingScore"],p),g=!l||r.percentComplete>=c,y=Object(he.d)(r,p,u),w=y.outOfAttempts,E=y.quizPassed,k=!E&&w,x=g&&(E||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.f,{"aria-label":"Requirement complete"})):_.a.createElement(At,{component:le.G}),_.a.createElement("span",null,"Complete",f===s?" all ":v()(t=" ".concat(f," of ")).call(t,s," "),"lessons in this course")),d&&h&&_.a.createElement("li",{className:"overview__requirements-list-item",role:"listitem"},E?_.a.createElement("span",{className:"overview__requirements-icon"},_.a.createElement(le.f,{"aria-label":"Requirement complete"})):k?_.a.createElement("span",{className:"overview__requirements-icon"},_.a.createElement(le.L,{"aria-label":"Quiz failed"})):_.a.createElement(At,{component:le.w}),_.a.createElement("div",null,_.a.createElement("span",null,h,!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&&!x&&i&&_.a.createElement("li",{role:"listitem"},_.a.createElement(jt,{dueAt:i})),n&&_.a.createElement("li",{className:"overview__requirements-completed",role:"listitem"},"Completed ",K()(n).format("L")))):null},Pt=function(e){return _.a.createElement("div",Object(s.a)({},e,{className:"overview__author-requirements-wrap"}))},Mt=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.d,null)),_.a.createElement("span",{className:"overview__categories-name"},e))}))))},Lt=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=t?"Saved to Favorites":"Save to Favorites",s=Object(Ie.b)("lxpEnabled"),c=A()({"overview__enroll-heart-filled":t,"overview__enroll-heart-outline":!t}),u=A()("overview__enroll-button",{"overview__enroll-button--lxp":s});return _.a.createElement("button",{"aria-pressed":!!t,className:u,"data-ba":at.favoriteButton,onClick:i,type:"button"},_.a.createElement(le.z,{isFilled:t,className:c}),s?a:o)},It="".concat(Object(fe.c)("CDN_USER_CONTENT_URI"),"/assets/rise/assets/trophy.svg"),Rt=function(e){var t=e.certificateDownload,n=e.currentUser,r=Object(et.a)(500);return _.a.createElement("div",{className:"overview__completion-wrap"},_.a.createElement("div",{className:"overview__completion-avatar"},_.a.createElement($e,Object(s.a)({},n,{decorative:!0,size:r?40:60})),_.a.createElement("img",{className:"overview__trophy",src:It,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)))},Dt=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,p=e.startAgain,h=Object(Ie.b)("lxpEnabled");return _.a.createElement("div",{className:A()("overview__continueWrapper",{"overview__start-again-wrapper":p&&a})},_.a.createElement("div",{className:"overview__continueButtonsWrap"},_.a.createElement(ue.a,{classNames:"overview__button-transition",in:h||a||!!c,timeout:0},_.a.createElement(_t,{coverImage:i,"data-ba":at.startButton,enableModernOverview:!0,enrolled:a,favoritedAt:c,startAgain:p,to:"/lessons/".concat(d)},_.a.createElement("span",{className:"overview__continueBtn"},r))),fe.e&&"preview"!==window.viewType&&_.a.createElement(Lt,{enrolled:a,enrollmentType:s,favoritedAt:c,onClick:u,onRemove:l,percentComplete:f,startAgain:p})),_.a.createElement("span",{className:"overview__spacer"}),p&&n&&!Object(me.k)()&&_.a.createElement(Rt,{currentUser:o,certificateDownload:t}))},Bt=Object(E.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,p=e.partnerContent,h=e.restrictingQuiz,m=e.showTimeToComplete,v=e.sidebarEnabled,g=e.timeToComplete,y=e.trackingCompletionPercentage,w=e.trackingQuizId,E=a.description,k=a.id,x=a.publishedAt,S=a.selectedAuthorId,T=a.tenantId,O=U()(function(e){return e.id===S},p);return Object(et.b)(960)?_.a.createElement(b.Fragment,null,_.a.createElement(dt,null,_.a.createElement(ht,{enableModernOverview:c},_.a.createElement("section",null,_.a.createElement("h2",{className:"visually-hidden"},"Course Length"),_.a.createElement(Ot,{numLessons:f,timeToComplete:g,showTimeToComplete:m})),_.a.createElement(Pt,null,O?_.a.createElement(Ze.a,{courseId:k,partnerContent:O,publishedAt:x,tenantId:T}):_.a.createElement(Ct,{avatar:r,authorName:t,authorTitle:n}),_.a.createElement(Nt,{lessons:d,numLessons:f,trackingCompletionPercentage:y,trackingQuizId:w,courseProgress:s,dueAt:u,completedAt:o})),_.a.createElement(Mt,{categories:i})),_.a.createElement(ft,null,_.a.createElement("section",null,_.a.createElement(St,{enableModernOverview:c,text:E,publishedAt:x})),v&&_.a.createElement("section",null,_.a.createElement(mt,null,_.a.createElement(vt,{enableModernOverview:c},"Course Outline"),!E&&_.a.createElement(xt,{publishedAt:x})),_.a.createElement(De,{course:a,courseProgress:s,labels:l,lessons:d,restrictingQuiz:h,trackingQuizId:w}))))):_.a.createElement(b.Fragment,null,_.a.createElement(dt,null,c?_.a.createElement(ht,{enableModernOverview:!0},_.a.createElement("section",null,_.a.createElement(St,{enableModernOverview:c,text:E,publishedAt:x,numLessons:f,timeToComplete:g,showTimeToComplete:m})),_.a.createElement(Pt,null,_.a.createElement(Nt,{lessons:d,numLessons:f,trackingCompletionPercentage:y,trackingQuizId:w,courseProgress:s,dueAt:u,completedAt:o})),_.a.createElement(Mt,{categories:i})):_.a.createElement("section",null,_.a.createElement(St,{enableModernOverview:c,text:E,publishedAt:x,numLessons:f,timeToComplete:g,showTimeToComplete:m})),_.a.createElement(ft,null,v&&_.a.createElement("section",null,_.a.createElement(mt,null,_.a.createElement(vt,{enableModernOverview:c},"Course Outline"),!E&&_.a.createElement(xt,{publishedAt:x})),_.a.createElement(De,{course:a,courseProgress:s,labels:l,lessons:d,restrictingQuiz:h,trackingQuizId:w})))))})},function(e,t,n){var r,i,o=n(142),a=n(399),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(239),i=n(479),o=n(357),a=n(273),s=n(634),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){e.exports=function(){}},function(e,t,n){
/** @license ISC License (c) copyright 2016 original and current authors */
var r=n(425),i=n(237);e.exports=function(e){return r(e)||!!e&&i("concat",e)}},function(e,t,n){
/** @license ISC License (c) copyright 2016 original and current authors */
var r=n(237),i=n(664);e.exports=function(e){return i(e)&&r("ap",e)}},function(e,t,n){var r=n(167);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(223).f,i=n(265),o=n(189)("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(265),i=n(266),o=n(1244)("IE_PROTO"),a=n(2234),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(1910))&&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 P}),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(14),f=n.n(d),p=n(41),h=n.n(p),m=(n(2311),n(2)),v=n.n(m),g=n(121),y=n.n(g),b=n(56),_=n.n(b),w=n(26),E=n.n(w),k=n(455),x=n.n(k),S=n(48),T=n.n(S),O=n(1),C=n.n(O),j=n(193),A=n.n(j);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(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(t){Object(c.a)(r,t);var n=N(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()("%","",E()([r,"linePosition"],t))}},{key:"processProgressValue",value:function(){var e=this.props,t=e.items,n=e.lessonProgress,r=T()(0,"activeIndex",n),i=_()(t);return r>i?100:Math.round(r/i*100)}},{key:"progressValue",value:function(){var e=this.props,t=e.lessonProgress;switch(e.type){case"process":return this.processProgressValue();case"sorting":return T()(0,"percentViewed",t);case"timeline":return this.timelineProgressValue();default:return T()(0,"percentComplete",t)}}},{key:"render",value:function(){var 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(),p="timeline"===r&&i&&f()(i).call(i,function(t){var n,r=v()("progress__marker",{"progress__marker--active brand--background":parseInt(d)>=parseInt(h()(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)")}}),p)));return e.createElement("div",{ref:function(e){return t.progresswrap=e}},m,e.createElement(x.a,null,e.createElement("div",{className:u},m)))}}],[{key:"propTypes",get:function(){return{id:C.a.any.isRequired,lessonProgress:C.a.object.isRequired,type:C.a.string.isRequired,items:C.a.array}}}]),r}(e.Component),M=e.createElement(P,{id:"abc123",lessonProgress:{},type:"foo"}).type}).call(this,n(0))},function(e,t,n){"use strict";n.d(t,"a",function(){return s});var r=n(718),i=n(715),o=n(448),a=n(719);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 y}),n.d(t,"b",function(){return b}),n.d(t,"c",function(){return _}),n.d(t,"d",function(){return w});var r=n(49),i=n.n(r),o=n(98),a=n.n(o),s=n(28),c=n.n(s),u=n(72),l=n.n(u),d=n(62),f=n.n(d),p=n(24),h=n.n(p),m=n(84),v=n(389),g=n(66),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}))}},_=h()(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 $}),n.d(t,"b",function(){return Z});var r=n(3),i=n.n(r),o=n(17),a=n(9),s=n(10),c=n(6),u=n(11),l=n(13),d=n(5),f=n(4),p=n.n(f),h=n(14),m=n.n(h),v=(n(1999),n(1)),g=n.n(v),y=n(2),b=n.n(y),_=n(82),w=n(7),E=n.n(w),k=n(38),x=n.n(k),S=n(121),T=n.n(S),O=n(56),C=n.n(O),j=n(225),A=n.n(j),N=n(193),P=n.n(N),M=n(87),L=n.n(M),I=n(161),R=n.n(I),D=n(74),B=n(345),F=n.n(B),U=n(42),q=n(104),z=n(23),H=n(25),V=n(59),W=n(1192),Y=n(61);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(68).b.blocks,X={small:{longMin:51,totalMax:150},medium:{longMin:208,totalMax:390},large:{longMin:258,totalMax:707}},$=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){x()([[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,p=d.hasFlippedOnce,h=i.front,m=void 0===h?{}:h,v=i.back,g=void 0===v?{}:v,y=L()(m,"type")||"description",w=L()(g,"type")||"description",E=Object(Y.a)(L()(m,"media.image")),k=Object(Y.a)(L()(g,"media.image")),x=L()(m,"media.image.alt"),S=L()(g,"media.image.alt"),T=m.description||"",O=g.description||"",C=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}),N=b()("block-flashcard__content",{"brand--border":"fullimage"!==y}),P=b()("block-flashcard__flip brand--ui",{"block-flashcard__flip--detailed":!p}),M="fullimage"===y?{backgroundImage:"url('".concat(E,"')")}:{},I="fullimage"===w?{backgroundImage:"url('".concat(k,"')")}:{},R=r&&!f,D=r&&f,B=0===o&&!p&&l,F=e.createElement("button",{className:P,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:C,onTouchEnd:function(e){e.stopPropagation()},ref:function(e){t.container=e}},e.createElement("div",{className:"block-flashcard__wrapper"},e.createElement("div",{"aria-hidden":!R,className:j,onClick:this.flip,onKeyDown:this.onKeyDown,ref:function(e){t.cardFront=e},role:"button",tabIndex:Object(z.l)(R)},e.createElement("div",{className:N,style:M},e.createElement(Q,{allowTabNavigation:R,alt:x,description:T,image:E,labels:s,ref:function(e){t.frontSide=e},side:"front",size:u,type:y})),c&&F),e.createElement("div",{"aria-hidden":!D,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)(D)},e.createElement("div",{className:"block-flashcard__content",style:I},e.createElement(Q,{allowTabNavigation:D,alt:S,description:O,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=R()(this.handleScroll,50)),window.addEventListener("resize",this.maskRef=R()(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?p()(t="".concat(l," - ")).call(t,r):l:i?p()(e="".concat(l," - ")).call(e,Object(q.d)(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,p=X[o],h=s,m=!!E()(A()(p.longMin),C.a,q.d,P()("&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:h}))}}],[{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,p=o.showHint,h=b()("block-flashcards",{"blocks-flashcard--column":!a,"blocks-flashcard--stack":a,"block-flashcards--no-animation":!l}),v={backgroundColor:Object(D.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,E=a?w:_;return e.createElement("div",{"aria-label":E,className:h,"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:p})):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($,{card:t,index:n,key:t.id,labels:s,onStep:c,showHint:p,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,p()(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($,{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"},p()(t=p()(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}),p=b()("icon",{"icon-chevron-right":!a,"icon-chevron-left":a}),h=a&&u||!a&&l;return e.createElement("div",{className:d},e.createElement("div",{"aria-disabled":h,"aria-label":a?c:s,className:f,onClick:o,onKeyDown:Object(H.a)(o),role:"button",tabIndex:Object(z.l)(!h)},e.createElement("i",{className:p})))}}],[{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";(function(e){n.d(t,"a",function(){return c}),n.d(t,"c",function(){return u}),n.d(t,"e",function(){return l}),n.d(t,"b",function(){return d}),n.d(t,"d",function(){return f});var r=n(17),i=n(90),o=n(199),a=n(232),s=960;function c(){return Object(a.a)(s)}var u=Object(a.c)(s,"isMobile","Mobile");function l(t){function n(n){var a,s,u,l=(a=Object(o.b)(),s=c(),u=Object(o.f)(),Object(i.h)({course:a,isMobile:s,search:u}));return e.createElement(t,Object(r.a)({},n,{sidebarAvailable:l}))}return n.displayName="withNavSidebarAvailable(".concat(t.displayName||t.name,")"),n}function d(){var e=Object(o.b)(),t=c();return Object(i.e)({course:e,isMobile:t})}function f(t){function n(n){var i=d();return e.createElement(t,Object(r.a)({},n,{compactAvailable:i}))}return n.displayName="withNavCompactAvailable(".concat(t.displayName||t.name,")"),n}}).call(this,n(0))},function(e,t,n){"use strict";n.d(t,"a",function(){return C}),n.d(t,"b",function(){return j}),n.d(t,"c",function(){return A});var r=n(27),i=n.n(r),o=n(49),a=n.n(o),s=n(98),c=n.n(s),u=n(28),l=n.n(u),d=n(72),f=n.n(d),p=n(62),h=n.n(p),m=n(24),v=n.n(m),g=n(84),y=n(248),b=n.n(y),_=n(97),w=n.n(_),E=n(18),k=n.n(E),x=n(46),S=n.n(x),T=n(464),O=(b()("activeIndex"),n(66)),C=function(e){var t=e.id,n=e.payload;return function(e){return e(Object(O.g)({id:t,updateFn:(r=n,o=r.itemId,a=r.activeIndex,v()(i()("activeIndex",a),h()(w()(["items",o]),i()("isComplete",!0)),T.a,S()(k()("percentComplete",100),i()("isComplete",!0))))}));var r,o,a}},j=v()(h()(c()("items"),Object(g.e)(i()("isComplete",!0))),a()(l.a)({isComplete:!0,percentComplete:100})),A=v()(h()(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(151);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(57),i=n(294),o=n(412);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(57),i=n(412);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(622),i=n(496),o=r("keys");e.exports=function(e){return o[e]||(o[e]=i(e))}},function(e,t,n){var r=n(102),i=n(1341);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(494),i=n(220),o=n(325);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(127),i=n(133),o=n(477),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(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(240),i=n(497);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(327);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(177),i=n(1433),o=n(828),a=n(643),s=n(1436),c=n(330),u=n(832),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){e.exports=function(e){return null!=e&&"object"==typeof e&&!0===e["@@functional/placeholder"]}},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(297))},function(e,t,n){"use strict";t.__esModule=!0;var r,i=n(656);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(656)),o=a(n(862));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,n){var r=n(1520),i=n(1521),o=n(1522),a=n(1523),s=n(1524);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(763);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(242).Symbol;e.exports=r},function(e,t,n){var r=n(359)(Object,"create");e.exports=r},function(e,t,n){var r=n(1544);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(1565),i=n(1570),o=n(765);e.exports=function(e){return o(e)?r(e):i(e)}},function(e,t,n){var r=n(360),i=n(361),o="[object Symbol]";e.exports=function(e){return"symbol"==typeof e||i(e)&&r(e)==o}},function(e,t,n){var r=n(518),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){e.exports=function(e){return"[object Function]"===Object.prototype.toString.call(e)}},function(e,t,n){var r=n(57),i=n(886);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(481),i=n(264),o=n(665),a=n(95),s=n(222),c=n(480),u=n(898),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,h(function(e){return d([e])},a)):a.map(function(e){return d([e])}).ap(n)}}var p=function(e){return e.reduce(function(e,t){return e&&a(t)},!0)},h=function(e,t){return t.map(function(t){return e(t)})};function m(e,t){if(!t.length||!p(t))throw new TypeError("Array.ap: Second Array must all be functions");return t.reduce(function(t,n){return t.concat(h(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:h,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(237);e.exports=function(e){return!!e&&r("reduce",e)}},function(e,t,n){var r=n(19),i=n(33);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){
/** @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"},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){return{type:r(e)}},type:r,typeFn:function(e,t,n){return"crocks/"+r(e)(n)+"@"+(t||0)}}},function(e,t,n){var r=n(19);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(505),i=n(146),o=n(188),a=n(208),s=n(1709);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(64),i=n(637),o=n(675);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(95);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(681),i=n(431);e.exports=function(e){if(!i(e))throw new TypeError("curry: Function required");return r(e)}},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(88));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},p=t.getHeight=function(e){return e&&e.offsetHeight||0},h=t.getSwipeDirection=function(e){var t,n,r,i,o=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return t=e.startX-e.curX,n=e.startY-e.curY,r=Math.atan2(n,t),(i=Math.round(180*r/Math.PI))<0&&(i=360-Math.abs(i)),i<=45&&i>=0||i<=360&&i>=315?"left":i>=135&&i<=225?"right":!0===o?i>=35&&i<=135?"up":"down":"vertical"},m=t.canGoNext=function(e){var t=!0;return e.infinite||(e.centerMode&&e.currentSlide>=e.slideCount-1?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)&&p(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 h=e.lazyLoadedList||[],m=s({currentSlide:d,lazyLoadedList:h},e);h.concat(m);var v={slideCount:t,slideWidth:a,listWidth:n,trackWidth:r,currentSlide:d,slideHeight:u,listHeight:l,lazyLoadedList:h};return null===e.autoplaying&&e.autoplay&&(v.autoplaying="playing"),v},t.slideHandler=function(e){var t=e.waitForAnimate,n=e.animating,i=e.fade,o=e.infinite,a=e.index,c=e.slideCount,u=e.lazyLoadedList,l=e.lazyLoad,d=e.currentSlide,f=e.centerMode,p=e.slidesToScroll,h=e.slidesToShow,v=e.useCSS;if(t&&n)return{};var g=a,y=void 0,b=void 0,k=void 0,x={},S={};if(i){if(!o&&(a<0||a>=c))return{};a<0?g=a+c:a>=c&&(g=a-c),l&&u.indexOf(g)<0&&u.push(g),x={animating:!0,currentSlide:g,lazyLoadedList:u},S={animating:!1}}else y=g,g<0?(y=g+c,o?c%p!=0&&(y=c-c%p):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%p!=0&&(y=0):y=c-h),b=E(r({},e,{slideIndex:g})),k=E(r({},e,{slideIndex:y})),o||(b===k&&(g=y),b=k),l&&u.concat(s(r({},e,{currentSlide:g}))),v?(x={animating:!0,currentSlide:y,trackStyle:w(r({},e,{left:b})),lazyLoadedList:u},S={animating:!1,currentSlide:y,trackStyle:_(r({},e,{left:k})),swipeLeft:null}):x={currentSlide:y,trackStyle:_(r({},e,{left:k})),lazyLoadedList:u};return{state:x,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 p=T(r({},e,{targetSlide:a}));a>t.currentSlide&&"left"===p?a-=u:a<t.currentSlide&&"right"===p&&(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,p=t.swiped,v=t.swiping,g=t.slideCount,y=t.slidesToScroll,b=t.infinite,w=t.touchObject,k=t.swipeEvent,x=t.listHeight,S=t.listWidth;if(!n){if(i)return e.preventDefault();o&&a&&s&&e.preventDefault();var T=void 0,O={},C=E(t);w.curX=e.touches?e.touches[0].pageX:e.clientX,w.curY=e.touches?e.touches[0].pageY:e.clientY,w.swipeLength=Math.round(Math.sqrt(Math.pow(w.curX-w.startX,2)));var 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 N=Math.ceil(g/y),P=h(t.touchObject,s),M=w.swipeLength;return b||(0===u&&"right"===P||u+1>=N&&"left"===P||!m(t)&&"left"===P)&&(M=w.swipeLength*l,!1===d&&f&&(f(P),O.edgeDragged=!0)),!p&&k&&(k(P),O.swiped=!0),T=o?C+M*(x/S)*A:c?C-M*A:C+M*A,s&&(T=C+M*A),O=r({},O,{touchObject:w,swipeLeft:T,trackStyle:_(r({},t,{left:T}))}),Math.abs(w.curX-w.startX)<.8*Math.abs(w.curY-w.startY)?O:(w.swipeLength>10&&(O.swiping=!0,e.preventDefault()),O)}},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,p=t.onSwipe;if(!n)return i&&e.preventDefault(),{};var m=c?u/s:a/s,v=h(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(),p&&p(v);var _=void 0,k=void 0;switch(v){case"left":case"up":k=l+y(t),_=d?g(t,k):k,b.currentDirection=0;break;case"right":case"down":k=l-y(t),_=d?g(t,k):k,b.currentDirection=1;break;default:_=l}b.triggerSlideHandler=_}else{var x=E(t);b.trackStyle=w(r({},t,{left:x}))}return b},t.getNavigableIndexes=function(e){for(var t=e.infinite?2*e.slideCount:e.slideCount,n=e.infinite?-1*e.slidesToShow:0,r=e.infinite?-1*e.slidesToShow:0,i=[];n<t;)i.push(n),n=r+e.slidesToScroll,r+=Math.min(e.slidesToScroll,e.slidesToShow);return i}),g=t.checkNavigable=function(e,t){var n=v(e),r=0;if(t>n[n.length-1])t=n[n.length-1];else for(var i in n){if(t<n[i]){t=r;break}r=n[i]}return t},y=t.getSlideCount=function(e){var t=e.centerMode?e.slideWidth*Math.floor(e.slidesToShow/2):0;if(e.swipeToSlide){var n=void 0,r=o.default.findDOMNode(e.listRef).querySelectorAll(".slick-slide");if(Array.from(r).every(function(r){if(e.vertical){if(r.offsetTop+p(r)/2>-1*e.swipeLeft)return n=r,!1}else if(r.offsetLeft-t+f(r)/2>-1*e.swipeLeft)return n=r,!1;return!0}),!n)return 0;var i=!0===e.rtl?e.slideCount-e.currentSlide:e.currentSlide;return Math.abs(n.dataset.index-i)||1}return e.slidesToScroll},b=t.checkSpecKeys=function(e,t){return t.reduce(function(t,n){return t&&e.hasOwnProperty(n)},!0)?null:console.error("Keys Missing:",e)},_=t.getTrackCSS=function(e){b(e,["left","variableWidth","slideCount","slidesToShow","slideWidth"]);var t=void 0,n=void 0,i=e.slideCount+2*e.slidesToShow;e.vertical?n=i*e.slideHeight:t=S(e)*e.slideWidth;var o={opacity:1,transition:"",WebkitTransition:""};if(e.useTransform){var a=e.vertical?"translate3d(0px, "+e.left+"px, 0px)":"translate3d("+e.left+"px, 0px, 0px)",s=e.vertical?"translate3d(0px, "+e.left+"px, 0px)":"translate3d("+e.left+"px, 0px, 0px)",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},E=t.getTrackLeft=function(e){if(e.unslick)return 0;b(e,["slideIndex","trackRef","infinite","centerMode","slideCount","slidesToShow","slidesToScroll","slideWidth","listWidth","variableWidth","slideHeight"]);var t,n,r=e.slideIndex,i=e.trackRef,a=e.infinite,s=e.centerMode,c=e.slideCount,u=e.slidesToShow,l=e.slidesToScroll,d=e.slideWidth,f=e.listWidth,p=e.variableWidth,h=e.slideHeight,m=e.fade,v=e.vertical;if(m||1===e.slideCount)return 0;var g=0;if(a?(g=-k(e),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*h*-1+g*h:r*d*-1+g*d,!0===p){var y,_=o.default.findDOMNode(i);if(y=r+k(e),t=(n=_&&_.childNodes[y])?-1*n.offsetLeft:0,!0===s){y=a?r+k(e):r,n=_&&_.children[y],t=0;for(var w=0;w<y;w++)t-=_&&_.children[w]&&_.children[w].offsetWidth;t-=parseInt(e.centerPadding),t+=n&&(f-n.offsetWidth)/2}}return t},k=t.getPreClones=function(e){return e.unslick||!e.infinite?0:e.variableWidth?e.slideCount:e.slidesToShow+(e.centerMode?1:0)},x=t.getPostClones=function(e){return e.unslick||!e.infinite?0:e.slideCount},S=t.getTotalSlides=function(e){return 1===e.slideCount?1:k(e)+e.slideCount+x(e)},T=t.siblingDirection=function(e){return e.targetSlide>e.currentSlide?e.targetSlide>e.currentSlide+O(e)?"left":"right":e.targetSlide<e.currentSlide-C(e)?"right":"left"},O=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},C=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){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(2109),i=n(2110),o=n(2111),a=n(2112),s=n(2113);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(1101);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(278).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(336)(Object,"create");e.exports=r},function(e,t,n){var r=n(2133);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(2153),i=n(2160),o=n(689);e.exports=function(e){return o(e)?r(e):i(e)}},function(e,t,n){var r=n(437),i=n(438),o="[object Symbol]";e.exports=function(e){return"symbol"==typeof e||i(e)&&r(e)==o}},function(e,t,n){var r=n(545),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(207)){var r=n(141),i=n(50),o=n(2247),a=n(190),s=n(2236),c=n(605),u=n(693),l=n(337),d=n(202),f=n(2287),p=n(2300),h=n(482),m=n(265),v=n(1248),g=n(167),y=n(695),b=n(1123),_=n(694).f,w=n(2301),E=n(350)(0),k=n(771),x=n(223),S=n(349),T=n(404),O=T.get,C=T.set,j=x.f,A=S.f,N=r.RangeError,P=s.ArrayBuffer,M=s.DataView,L=a.NATIVE_ARRAY_BUFFER_VIEWS,I=a.TYPED_ARRAY_TAG,R=a.TypedArray,D=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 O(this)[t]}})},z=function(e){var t;return e instanceof P||"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=h(t,!0))?u(2,e[t]):A(e,t)},W=function(e,t,n){return!(H(e,t=h(t,!0))&&g(n)&&m(n,"value"))||m(n,"get")||m(n,"set")||n.configurable||m(n,"writable")&&!n.writable||m(n,"enumerable")&&!n.enumerable?j(e,t,n):(e[t]=n.value,e)};L||(S.f=V,x.f=W,q(D,"buffer"),q(D,"byteOffset"),q(D,"byteLength"),q(D,"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,h="set"+e,m=r[s],v=m,x=v&&v.prototype,S={},T=function(e,n){j(e,n,{get:function(){return function(e,n){var r=O(e);return r.view[u](n*t+r.byteOffset,!0)}(this,n)},set:function(e){return function(e,n,r){var i=O(e);a&&(r=(r=Math.round(r))<0?0:r>255?255:255&r),i.view[h](n*t+i.byteOffset,r,!0)}(this,n,e)},enumerable:!0})};L?o&&(v=n(function(e,n,r,i){return c(e,v,s),g(n)?z(n)?void 0!==i?new m(n,p(r,t),i):void 0!==r?new m(n,p(r,t)):new m(n):F(n)?U(v,n):w.call(v,n):new m(f(n))}),b&&b(v,R),E(_(m),function(e){e in v||l(v,e,m[e])}),v.prototype=x):(v=n(function(e,n,r,i){c(e,v,s);var o,a,u,l=0,h=0;if(g(n)){if(!z(n))return F(n)?U(v,n):w.call(v,n);o=n,h=p(r,t);var m=n.byteLength;if(void 0===i){if(m%t)throw N("Wrong length");if((a=m-h)<0)throw N("Wrong length")}else if((a=d(i)*t)+h>m)throw N("Wrong length");u=a/t}else u=f(n),o=new P(a=u*t);for(C(e,{buffer:o,byteOffset:h,byteLength:a,length:u,view:new M(o)});l<u;)T(e,l++)}),b&&b(v,R),x=v.prototype=y(D)),x.constructor!==v&&l(x,"constructor",v),I&&l(x,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 x||l(x,"BYTES_PER_ELEMENT",t),k(s)}}else e.exports=function(){}},function(e,t,n){var r=n(1266);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(221),i=n(19),o=n(208),a=n(33);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(1328)},function(e,t,n){var r=n(240),i=n(1416),o=n(120),a=n(368);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(19);e.exports=r(function(e,t){return e||t})},function(e,t,n){var r=n(19),i=n(504),o=n(58),a=n(303),s=n(172),c=n(120);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(19);e.exports=r(function(e,t){return e.apply(this,t)})},function(e,t,n){var r=n(64);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(329),i=n(19);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(19),i=n(146),o=n(1712),a=n(191);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(684).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(64);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(64),i=n(26);e.exports=r(function(e,t,n){return t.length>0&&e(i(t,n))})},function(e,t,n){var r=n(19);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(19);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(1841)},function(e,t,n){e.exports=n(1332)},function(e,t,n){e.exports=n(1335)},function(e,t,n){e.exports=n(1338)},function(e,t,n){e.exports=n(1372)},function(e,t,n){e.exports=n(1401)},function(e,t,n){e.exports=n(1646)},function(e,t,n){var r=n(908),i=n(915),o=n(918);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){"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,p=l.length;for(u=0;u<p;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(57),i=n(527);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(125),i=n(430),o=n(533);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(55),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(425)},function(e,t,n){"use strict";n.d(t,"a",function(){return O});var r=n(4),i=n.n(r),o=n(114),a=n.n(o),s=n(14),c=n.n(s),u=n(7),l=n.n(u),d=n(55),f=n.n(d),p=n(49),h=n.n(p),m=n(204),v=n.n(m),g=n(94),y=n.n(g),b=n(33),_=n.n(b),w=(n(80),n(1151)),E=n.n(w),k=(n(1152),n(22)),x=(_()(h()(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 E.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?x:S)(t,e)},O=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(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";(function(e){n.d(t,"a",function(){return u}),n.d(t,"b",function(){return l});var r=n(35),i=n(63),o=n.n(i),a=n(0),s=n(252),c=o()(Object(a.createContext)(),{displayName:"BlockContext"});function u(t){var n=t.block,i=t.children,o=Object(a.useState)(n),u=Object(r.a)(o,2),l=u[0],d=u[1];return Object(a.useEffect)(function(){return d(function(e){return n||e})},[n]),e.createElement(c.Provider,{value:l},e.createElement(s.a,null==l?void 0:l.settings,i))}c.Consumer;function l(){return Object(a.useContext)(c)}}).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(4),d=n.n(l),f=(n(2039),n(2)),p=n.n(f),h=n(1),m=n.n(h),v=n(580),g=n(134),y=n(42),b=n(231);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(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 w=function(t){Object(s.a)(r,t);var n=_(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(b.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(b.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.fusion,c=a.id,u=a.isDeckTopCard,l=a.title,d=p()("playing-card playing-card--draggable",{"playing-card--legacy":!s,"playing-card--moving":r,"playing-card--fail":i,reset:o});return e.createElement("div",{"aria-hidden":!u,className:d,id:c,key:"card-".concat(c),ref:function(e){return t.card=e},style:this.cardStyle(),onMouseDown:function(e){e.preventDefault()}},e.createElement(v.a,{className:"playing-card__content brand--border"},e.createElement(y.a,{className:"playing-card__title brand--head",value:l}),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);t.a=Object(g.c)("rise-authoring-controls","fusion")(w)}).call(this,n(0))},function(e,t,n){"use strict";(function(e){var r,i,o=n(17),a=n(70),s=n(8),c=n(0),u=n(252),l=n(134),d=n(195),f=n(52),p=(n(2040),["className","children","tag"]),h=(r={},Object(s.a)(r,f.a.NEAR_BLACK,Object(f.g)(.1)),Object(s.a)(r,f.a.DARK,Object(f.g)(-.4)),Object(s.a)(r,f.a.MED,Object(f.g)(-.2)),Object(s.a)(r,f.a.LIGHT,Object(f.g)(.3)),r),m=(i={},Object(s.a)(i,f.a.NEAR_BLACK,"bg--near-black"),Object(s.a)(i,f.a.DARK,"bg--dark"),Object(s.a)(i,f.a.MED,"bg--med"),Object(s.a)(i,f.a.LIGHT,"bg--light"),i);function v(t,n){var r=Object(l.b)("rise-authoring-controls"),i=Object(u.b)(),s=t.className,c=void 0===s?"":s,v=t.children,g=t.tag,y=void 0===g?"div":g,b=Object(a.a)(t,p),_=i.courseColor,w=i.backgroundMode,E=i.backgroundColor,k=i.cardMode,x=w===d.a.BRAND,S=w===d.a.IMAGE,T=k===d.b.WHITE,O=[c,"block-card","bg"],C={};if(r)if(T)O.push("block-card--white","bg--light");else if(S)O.push("block-card--bg-image","bg--dark");else{var j=x?_:null!=E?E:"#ffffff",A=Object(f.d)(j),N=h[A](j),P=Object(f.d)(N);O.push(m[P]),C.backgroundColor=N}else O.push("bg--light","bg--legacy");return e.createElement(y,Object(o.a)({},b,{className:O.join(" "),ref:n,style:C}),v)}t.a=Object(c.forwardRef)(v)}).call(this,n(0))},function(e,t,n){"use strict";(function(e){n(2041);var r=n(23),i=n(103);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";e.exports=n(2063)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=s(n(2206)),i=s(n(2207)),o=s(n(485)),a=s(n(2208));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],p=c((0,o.default)(t),4),h=p[0],m=p[1],v=p[2],g=p[3],y=(0,a.default)([(0,r.default)(u,h,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(100),i=n(1219);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 g});var r=n(35),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)},p=function(e,t,n,r){void 0===r&&(r=!1),n.addEventListener(e,t,r)},h=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,x,S,T,O={closeText:"Unzoom image",modalText:"Zoomed item",openText:"Zoom image",overlayBgColor:"#fff",overlayOpacity:1,transitionDuration:300,zoomMargin:0,zoomZindex:2147483647},C=[],j="UNLOADED",A=O.transitionDuration,N=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,p=u.width,h=i,m=h.naturalHeight,v=h.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 E,k,x=y(p,v,l,m,w,O.zoomMargin),S=(a()/2-(d+p/2))/x,T=(s()/2-(f+l/2))/x;n=o()(E=o()(k="scale(".concat(x,") translate(")).call(k,S,"px,")).call(E,T,"px)")+(b?" ".concat(b):"")}c("style","position:absolute;"+"width:".concat(p,"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)},P=function(){d("","visibility","",i),j="UNLOADED",N(!0),q(),E(S),S=void 0},M=function(){E(n)},L=function(e){b(e)&&(e.stopPropagation(),H())},I=function(){"LOADED"===j?H():"UNLOADING"===j&&N(!1)},R=function(){N(!0)},D=function(){E(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(O.zoomZindex,";"),r),p("click",F,r),T=f("div");var i=f("div");return c("aria-label",O.modalText,i),c("aria-modal","true",i),c("role","dialog",i),e=f("div"),c("tabindex","0",e),p("focus",D,e),t=f("div"),c("tabindex","0",t),p("focus",D,t),n=f("button"),c("aria-label",O.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),p("click",B,n),h(n,i),g=f("div"),h(v,g),h(g,i),h(T,r),h(e,r),h(i,r),h(t,r),r}(),h(k,document.body),p("keydown",L,document),p("scroll",I,window),p("resize",R,window),d("","visibility","hidden",i),p("transitionend",M,g),j="LOADED",N(!1),k&&u(function(e){if(!w(e)){var t=function(e,t){return t.getAttribute(e)}("aria-hidden",e);t&&C.push([e,t]),c("aria-hidden","true",e)}},k),c("style","position:absolute;top:0;right:0;bottom:0;left:0;"+"background-color:".concat(O.overlayBgColor,";")+"transition:opacity ".concat(A,"ms ease;")+"opacity:0;",T),d("","opacity",O.overlayOpacity,T)},q=function(){var r,o;m("resize",R,window),m("scroll",I,window),m("keydown",L,document),v&&m("load",U,v),g&&(m("transitionend",P,g),m("transitionend",M,g)),n&&m("click",B,n),e&&m("focus",D,e),t&&m("focus",D,t),k&&(m("click",F,k),r=k,(o=document.body).contains(r)&&o.removeChild(r)),x&&x.removeListener(z),C=[],e=void 0,t=void 0,n=void 0,i=void 0,v=void 0,g=void 0,k=void 0,x=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),C.forEach(function(e){var t=Object(r.a)(e,2),n=t[0],i=t[1];n&&c("aria-hidden",i,n)}),C=[],p("transitionend",P,g),j="UNLOADING",N(!1),d("","opacity","0",T)):N(!1)};return(x=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)O[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),p("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},E=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(124),c=n.n(s),u=n(24),l=n.n(u),d=n(89),f=n.n(d),p=n(46),h=n.n(p),m=n(47),v=n.n(m),g=n(32),y=n.n(g),b=n(40),_=n.n(b),w=n(31),E=n.n(w),k=n(34),x=n.n(k),S=n(8),T=n(4),O=n.n(T),C=n(228),j=n.n(C),A=n(179),N=n.n(A),P=n(261),M=n.n(P),L=n(570),I=n.n(L),R=n(1190),D=n.n(R),B=n(152),F=n.n(B),U=n(341),q=n.n(U),z=n(391),H=n.n(z),V=n(55),W=n.n(V),Y=n(49),G=n.n(Y),K=n(79),X=n.n(K),$=n(29),Q=n.n($),Z=n(144),J=n.n(Z),ee=n(21),te=n.n(ee),ne=n(91),re=n.n(ne),ie=n(15),oe=n.n(ie),ae=n(194),se=n.n(ae),ce=n(180),ue=n(103),le=n(315),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 E()(e,t).enumerable})),n.push.apply(n,r)}return n}var pe=G()(W.a),he=function(e){return function(t){var n;return O()(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])}):x.a?Object.defineProperties(e,x()(n)):fe(Object(n)).forEach(function(t){Object.defineProperty(e,t,E()(n,t))})}return e}({data:Object(ce.action)(t),method:"POST",url:Object(ue.a)(pe("/".concat(t)),oe()("url"),e)},re()(["headers","withCredentials"],e)))},ve=function(e){return function(t,n){return I()(t,he(n),we(e,n))}},ge=function(){return!de.e&&Q()(Object(le.a)())},ye=function(e){var t=new Error("Nil token detected");return M.a.notify(t,function(e){return function(t){t.severity="info",t.addMetadata("payload",e)}}(e)),N.a.Rejected(t)},be=function(e){return function(t){return function(n){return function(r){return Object(ue.c)(r,me(t,n),X()(ge,ye,e),q()(function(e){return l()(te()({},["response","data"]),f()(oe()("type"),Object(ce.error)(e)))}(n),h()(c()("data"),oe()("data"))),H()(X()(oe()("error"),N.a.Rejected,N.a.of)),function(e,t){return function(n){return e.postRequest?e.postRequest(t,n):n}}(t,{type:n,payload:r}))}}}},_e=N.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)),Ee=se()(3,be(_e)),ke=function(e){return function(t,n){return D()(t,he(n),we(e,n))}},xe=function(e){return{debounce:ve(e),send:we(e),fetchWithKeepAlive:Ee(e),throttle:ke(e)}}({headers:function(){return{"x-rise-authoring-client":"c505674afbbe63a023b523d9ce20446ae994c59e"}},postRequest:function(e,t){return t},url:"".concat(Object(de.c)("RISE_RUNTIME_URI"),"/ducks"),withCredentials:!0}),Se=n(708),Te=n.n(Se),Oe=n(106),Ce=Te()({context:{app:{name:"rise-frontend"}},payload:{articulate_user:Object(Oe.h)(),userRole:Object(Oe.c)(),subId:Object(Oe.g)(),subPlan:Object(Oe.e)(),subStatus:Object(Oe.f)()}}),je=W()("rise/track/")("TRACK"),Ae=l()(f()(c()("userId"),a()("userId",Object(Oe.a)())),h()(i()(de.e),Ce),xe.send(je))},function(e,t,n){"use strict";n.r(t);var r=n(12),i=n.n(r),o=n(30),a=n.n(o),s=n(466),c=n.n(s),u=n(76),l=n.n(u),d=(n(1941),n(1942),n(39)),f=n.n(d),p=n(1161),h=n.n(p),m=n(69),v=n.n(m),g=n(744),y=n.n(g),b=n(745),_=n.n(b),w=n(1162),E=n.n(w),k=n(1163),x=n.n(k),S=n(746),T=n.n(S),O=n(304),C=n.n(O);
/*! @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 N=function(){function e(){this.listeners={}}var t=e.prototype;return t.on=function(e,t){this.listeners[e]||(this.listeners[e]=[]),this.listeners[e].push(t)},t.off=function(e,t){if(!this.listeners[e])return!1;var n=this.listeners[e].indexOf(t);return this.listeners[e].splice(n,1),n>-1},t.trigger=function(e){var t,n,r,i=this.listeners[e];if(i)if(2===arguments.length)for(n=i.length,t=0;t<n;++t)i[t].call(this,arguments[1]);else for(r=Array.prototype.slice.call(arguments,1),n=i.length,t=0;t<n;++t)i[t].apply(this,r)},t.dispose=function(){this.listeners={}},t.pipe=function(e){this.on("data",function(t){e.push(t)})},e}(),P=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}(N),M=function(e){for(var t,n=e.split(new RegExp('(?:^|,)((?:[^=]*)=(?:"[^"]*"|[^,]*))')),r={},i=n.length;i--;)""!==n[i]&&((t=/([^=]*)=(.*)/.exec(n[i]).slice(1))[0]=t[0].replace(/^\s+|\s+$/g,""),t[1]=t[1].replace(/^\s+|\s+$/g,""),t[1]=t[1].replace(/^['"](.*)['"]$/g,"$1"),r[t[0]]=t[1]);return r},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=M(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=M(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=M(t[1])),void r.trigger("data",n);if(t=/^#EXT-X-ENDLIST/.exec(e))r.trigger("data",{type:"tag",tagType:"endlist"});else if(t=/^#EXT-X-DISCONTINUITY/.exec(e))r.trigger("data",{type:"tag",tagType:"discontinuity"});else{if(t=/^#EXT-X-PROGRAM-DATE-TIME:?(.*)$/.exec(e))return n={type:"tag",tagType:"program-date-time"},t[1]&&(n.dateTimeString=t[1],n.dateTimeObject=new Date(t[1])),void r.trigger("data",n);if(t=/^#EXT-X-KEY:?(.*)$/.exec(e))return n={type:"tag",tagType:"key"},t[1]&&(n.attributes=M(t[1]),n.attributes.IV&&("0x"===n.attributes.IV.substring(0,2).toLowerCase()&&(n.attributes.IV=n.attributes.IV.substring(2)),n.attributes.IV=n.attributes.IV.match(/.{8}/g),n.attributes.IV[0]=parseInt(n.attributes.IV[0],16),n.attributes.IV[1]=parseInt(n.attributes.IV[1],16),n.attributes.IV[2]=parseInt(n.attributes.IV[2],16),n.attributes.IV[3]=parseInt(n.attributes.IV[3],16),n.attributes.IV=new Uint32Array(n.attributes.IV))),void r.trigger("data",n);if(t=/^#EXT-X-START:?(.*)$/.exec(e))return n={type:"tag",tagType:"start"},t[1]&&(n.attributes=M(t[1]),n.attributes["TIME-OFFSET"]=parseFloat(n.attributes["TIME-OFFSET"]),n.attributes.PRECISE=/YES/.test(n.attributes.PRECISE)),void r.trigger("data",n);if(t=/^#EXT-X-CUE-OUT-CONT:?(.*)?$/.exec(e))return n={type:"tag",tagType:"cue-out-cont"},t[1]?n.data=t[1]:n.data="",void r.trigger("data",n);if(t=/^#EXT-X-CUE-OUT:?(.*)?$/.exec(e))return n={type:"tag",tagType:"cue-out"},t[1]?n.data=t[1]:n.data="",void r.trigger("data",n);if(t=/^#EXT-X-CUE-IN:?(.*)?$/.exec(e))return n={type:"tag",tagType:"cue-in"},t[1]?n.data=t[1]:n.data="",void r.trigger("data",n);r.trigger("data",{type:"tag",data:e.slice(4)})}}}else r.trigger("data",{type:"comment",text:e.slice(1)})}):this.trigger("data",{type:"uri",uri:e}))},n.addParser=function(e){var t=this,n=e.expression,r=e.customType,i=e.dataParser,o=e.segment;"function"!=typeof i&&(i=function(e){return e}),this.customParsers.push(function(e){if(n.exec(e))return t.trigger("data",{type:"custom",data:i(e),customType:r,segment:o}),!0})},n.addTagMapper=function(e){var t=e.expression,n=e.map;this.tagMappers.push(function(e){return t.test(e)?n(e):e})},t}(N);function I(e){for(var t=C.a.atob(e||""),n=new Uint8Array(t.length),r=0;r<t.length;r++)n[r]=t.charCodeAt(r);return n}var R=function(e){function t(){var t;(t=e.call(this)||this).lineStream=new P,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}(N),D=n(594),B=n.n(D),F=n(1164),U=n.n(F),q=n(1165),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",X="NO_BASE_URL",$="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,p=(t+n)/1e3,h=r+c,m=p+l-h,v=Math.ceil(m*o/a),g=Math.floor((p-h-f)*o/a),y=Math.floor((p-h)*o/a);return{start:Math.max(0,g),end:Math.min(v,y)}}},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(X);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 p=t.references[f],h=p.referencedSize,m=p.subsegmentDuration,v=te({baseUrl:n,timescale:c,timeline:o,periodIndex:o,duration:m,sourceDuration:i,indexRange:d+"-"+(d+h-1)})[0];r&&(v.map=r),l.push(v),d+=h}return e.segments=l,e},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}),p={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&&(p.suggestedPresentationDelay=s),d.length&&(p.mediaGroups.AUDIO.audio=function(e,t){var n;void 0===t&&(t={});var r=e.reduce(function(e,r){var i=r.attributes.role&&r.attributes.role.value||"",o=r.attributes.lang||"",a="main";if(o){var s=i?" ("+i+")":"";a=""+r.attributes.lang+s}return e[a]&&e[a].playlists[0].attributes.BANDWIDTH>r.attributes.bandwidth?e:(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&&(p.mediaGroups.SUBTITLES.subs=function(e,t){return void 0===t&&(t={}),e.reduce(function(e,n){var r,i,o,a,s=n.attributes.lang||"text";return e[s]?e:(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)),p},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,p=e.periodIndex,h=[],m=-1,v=0;v<t.length;v++){var g=t[v],y=g.d,b=g.r||0,_=g.t||0;m<0&&(m=_),_&&_>m&&(m=_);var w=void 0;if(b<0){var E=v+1;w=E===t.length?"dynamic"===r&&o>0&&s.indexOf("$Number$")>0?ce(e,m,y):(c*l-m)/y:(t[E].t-m)/y}else w=b+1;for(var k=f+h.length+w,x=f+h.length;x<k;)h.push({number:x,duration:y/l,time:m,timeline:p}),m+=y,x++}return h},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}})},pe=function(e,t){var n=e.duration,r=e.segmentUrls,i=void 0===r?[]:r;if(!n&&!t||n&&t)throw new Error($);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})},he=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=pe,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},Ee=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=Ee(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=Ee(r);return o.map(function(e){return{segmentInfo:H(n,s),attributes:H(a,{baseUrl:e})}})}}(c,o,f)))}},xe=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=C.a.isNaN(a)?r:a,c=H(e,{periodIndex:s}),u=me(n,"AdaptationSet"),l=Ee(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(xe(Se(e),t).map(he),t.sidxMapping)},Oe=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))},Ce=n(558),je=n.n(Ce),Ae=n(392),Ne=n.n(Ae),Pe=n(1166),Me=n.n(Pe),Le=n(1167),Ie=n.n(Le);var Re=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")},De=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,p=void 0,h=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,h=16843009*c[d=c[l=c[a]]]^65537*d^257*l^16843008*a,p=257*c[f]^16843008*f,o=0;o<4;o++)t[o][a]=p=p<<24^p>>>8,n[o][f]=h=h<<24^h>>>8;for(o=0;o<5;o++)t[o]=t[o].slice(0),n[o]=n[o].slice(0);return e},Ue=null,qe=function(){function e(t){Re(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,p=void 0,h=a.length/4-2,m=void 0,v=4,g=this._tables[1],y=g[0],b=g[1],_=g[2],w=g[3],E=g[4];for(m=0;m<h;m++)d=y[s>>>24]^b[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],p=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=p;for(m=0;m<4;m++)i[(3&-m)+o]=E[s>>>24]<<24^E[c>>16&255]<<16^E[u>>8&255]<<8^E[255&l]^a[v++],d=s,s=c,c=u,u=l,l=d},e}(),ze=function(){function e(){Re(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(){Re(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,p=void 0,h=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]),p=Ve(r[m+2]),h=Ve(r[m+3]),i.decrypt(d,f,p,h,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=p,l=h;return o},Ye=function(){function e(t,n,r,i){Re(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)}},De(e,null,[{key:"STEP",get:function(){return 32e3}}]),e}(),Ge="7.8.4",Ke=[],Xe=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 $e=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=Xe(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=$e.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?($e.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&&Nt(i,r),i}function ft(e,t){return void 0===e.textContent?e.innerText=t:e.textContent=t,e}function pt(e,t){t.firstChild?t.insertBefore(e,t.firstChild):t.appendChild(e)}function ht(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):ht(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=ht(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 Et(e,t){e.removeAttribute(t)}function kt(){a.a.body.focus(),a.a.onselectstart=function(){return!1}}function xt(){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 Ot(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 Ct(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)||Ct(e)?e:"string"==typeof e&&/\S/.test(e)?a.a.createTextNode(e):void 0}).filter(function(e){return e})}function Nt(e,t){return At(t).forEach(function(t){return e.appendChild(t)}),e}function Pt(e,t){return Nt(jt(e),t)}function Mt(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"),Rt=lt("querySelectorAll"),Dt=Object.freeze({__proto__:null,isReal:st,isEl:ct,isInFrame:ut,createEl:dt,textContent:ft,prependTo:pt,hasClass:ht,addClass:mt,removeClass:vt,toggleClass:gt,setAttributes:yt,getAttributes:bt,getAttribute:_t,setAttribute:wt,removeAttribute:Et,blockTextSelection:kt,unblockTextSelection:xt,getBoundingClientRect:St,findPosition:Tt,getPointerPosition:Ot,isTextNode:Ct,emptyEl:jt,normalizeContent:At,appendContent:Nt,insertContent:Pt,isSingleLeftClick:Mt,$:It,$$:Rt}),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];$e("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 Xt(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 $t(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 $t(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){$e.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 $t(tn,e,t,n);var i=function(e,t){r.handlers[t]=[],Xt(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);Xt(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 $t(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 pn=function(e){return e instanceof fn||!!e.eventBusEl_&&["on","one","off","trigger"].every(function(t){return"function"==typeof e[t]})},hn=function(e){return"string"==typeof e&&/\S/.test(e)||Array.isArray(e)&&!!e.length},mn=function(e){if(!e.nodeName&&!pn(e))throw new Error("Invalid target; must be a DOM node or evented object.")},vn=function(e){if(!hn(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||hn(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)):pn(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 En={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&&pn(this)&&this.trigger({changes:t,type:"statechanged"}),t}};function kn(e,t){return tt(e,En),e.state=tt({},e.state,t),"function"==typeof e.handleStateChanged&&pn(e)&&e.on("statechanged",e.handleStateChanged),e}var xn=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 On=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_[xn(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_[xn(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 Rt(e,t||this.contentEl())},t.hasClass=function(e){return ht(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){Et(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_[xn(t)]=n,n},e.getComponent=function(t){if(t&&e.components_)return e.components_[t]},e}();On.prototype.supportsRaf_="function"==typeof i.a.requestAnimationFrame&&"function"==typeof i.a.cancelAnimationFrame,On.registerComponent("Component",On);var Cn,jn=i.a.navigator&&i.a.navigator.userAgent||"",An=/AppleWebKit\/([\d.]+)/i.exec(jn),Nn=An?parseFloat(An.pop()):null,Pn=/iPod/i.test(jn),Mn=(Cn=jn.match(/OS (\d+)_/i))&&Cn[1]?Cn[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}(),Rn=Ln&&In<5&&Nn<537,Dn=/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||Pn,Kn=(zn||Gn)&&!Fn,Xn=Object.freeze({__proto__:null,IS_IPOD:Pn,IOS_VERSION:Mn,IS_ANDROID:Ln,ANDROID_VERSION:In,IS_NATIVE_ANDROID:Rn,IS_FIREFOX:Dn,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 $n(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:$n.bind(null,"start",0,e),end:$n.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()},pr="vjs-modal-dialog",hr=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:pr+"-content"},{role:"document"}),r.descEl_=dt("p",{className:pr+"-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 pr+" 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(),Pt(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}(On);hr.prototype.options_={pauseOnOpen:!0,temporary:!0},On.registerComponent("ModalDialog",hr);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),Er=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}(),xr={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"},Or={disabled:"disabled",hidden:"hidden",showing:"showing"},Cr=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},Nr=function(e){if("string"==typeof e){var t=/^(\/?)([\s\S]*?)((?:\.{1,2}|[^\/]+?)(\.([^\.\/\?]+)))(?:[\/]*|[\?].*)$/.exec(e);if(t)return t.pop().toLowerCase()}return""},Pr=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},Mr=Object.freeze({__proto__:null,parseUrl:jr,getAbsoluteURL:Ar,getFileExtension:Nr,isCrossOrigin:Pr}),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 $e.error(e)}),i.a.console&&i.a.console.groupEnd&&i.a.console.groupEnd()),n.flush()},Ir=function(e,t){var n={uri:e},r=Pr(e);r&&(n.cors=r),y()(n,un(this,function(e,n,r){if(e)return $e.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);$e.error("vttjs failed to load, stopping trying to process "+t.src)}):Lr(r,t)}))},Rr=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=Or[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;Or[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}(Cr);Rr.prototype.allowedEvents_={cuechange:"cuechange"};var Dr=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}(Cr),Br=function(e){function t(t){var n;void 0===t&&(t={});var r=Tn(t,{kind:xr[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}(Cr),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 Rr(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:Dr,capitalName:"Audio"},video:{ListClass:_r,TrackClass:Br,capitalName:"Video"},text:{ListClass:wr,TrackClass:Rr,capitalName:"Text"}};Object.keys(zr).forEach(function(e){zr[e].getterName=e+"Tracks",zr[e].privateName=e+"Tracks_"});var Hr={remoteText:{ListClass:wr,TrackClass:Rr,capitalName:"RemoteText",getterName:"remoteTextTracks",privateName:"remoteTextTracks_"},remoteTextEl:{ListClass:Er,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&&($e.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_[xn(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]?($e.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}(On);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:$e.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)}},On.registerComponent("Tech",Wr),Wr.registerTech("Tech",Wr),Wr.defaultTechOrder_=[];var Yr={},Gr={},Kr={};function Xr(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 $r(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=Nr(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=On.getComponent(c)),u&&u.isSupported()){t.loadTech_(c);break}}return i}return f()(t,e),t}(On);On.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&&$e.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}(On);On.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);On.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}(On);On.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}(On);On.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=On.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 $e.warn("Adding an actionable (user controllable) child to a Button ("+n+") is not supported; use a ClickableComponent instead."),On.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);On.registerComponent("Button",fi);var pi=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);pi.prototype.controlText_="Play Video",On.registerComponent("BigPlayButton",pi);var hi=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);On.registerComponent("CloseButton",hi);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",On.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}(On);bi.prototype.labelText_="Time",bi.prototype.controlText_="Time",On.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",On.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",On.registerComponent("DurationDisplay",wi);var Ei=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}(On);On.registerComponent("TimeDivider",Ei);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",On.registerComponent("RemainingTimeDisplay",ki);var xi=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}(On);On.registerComponent("LiveDisplay",xi);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",On.registerComponent("SeekToLive",Si);var Ti=function(e,t,n){return e=Number(e),Math.min(n,Math.max(t,isNaN(e)?t:e))},Oi=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;xt(),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=Ot(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}(On);On.registerComponent("Slider",Oi);var Ci=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=Ci(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=Ci(c,i),l.style.width=Ci(u-c,i))}for(var d=o.length;d>n.length;d--)t.el_.removeChild(o[d-1]);o.length=n.length})},t}(On);On.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}(On);On.registerComponent("TimeTooltip",Ai);var Ni=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}(On);Ni.prototype.options_={children:[]},Gn||Ln||Ni.prototype.options_.children.push("timeTooltip"),On.registerComponent("PlayProgressBar",Ni);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-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}(On);Pi.prototype.options_={children:["timeTooltip"]},On.registerComponent("MouseTimeDisplay",Pi);var Mi=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){Mt(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(Mt(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}(Oi);Mi.prototype.options_={children:["loadProgressBar","playProgressBar"],barName:"playProgressBar"},Gn||Ln||Mi.prototype.options_.children.splice(1,0,"mouseTimeDisplay"),On.registerComponent("SeekBar",Mi);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=Ot(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}(On);Li.prototype.options_={children:["seekBar"]},On.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",On.registerComponent("PictureInPictureToggle",Ii);var Ri=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);Ri.prototype.controlText_="Fullscreen",On.registerComponent("FullscreenToggle",Ri);var Di=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}(On);On.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){Mt(t)&&e.prototype.handleMouseDown.call(this,t)},n.handleMouseMove=function(e){Mt(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}(Oi);Fi.prototype.options_={children:["volumeLevel"],barName:"volumeLevel"},Fi.prototype.playerEvent="volumechange",On.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,Di(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}(On);Ui.prototype.options_={children:["volumeBar"]},On.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",On.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}(On);Hi.prototype.options_={children:["muteToggle","volumeControl"]},On.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 On&&(this.on(e,"blur",this.boundHandleBlur_),this.on(e,["tap","click"],this.boundHandleTapClick_))},n.removeEventListenerForItem=function(e){e instanceof On&&(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}(On);On.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 On(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}(On);On.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);On.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);On.registerComponent("MenuItem",Ki);var Xi=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);On.registerComponent("TextTrackMenuItem",Xi);var $i=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}(Xi);On.registerComponent("OffTextTrackMenuItem",$i);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=Xi),this.label_&&(n=this.label_+" off"),e.push(new $i(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);On.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);On.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",On.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",On.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",On.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}(Xi);On.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",On.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}(Xi);On.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",On.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);On.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",On.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",On.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",On.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}(On);On.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);On.registerComponent("CustomControlSpacer",fo);var po=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}(On);po.prototype.options_={children:["playToggle","volumePanel","currentTimeDisplay","timeDivider","durationDisplay","progressControl","liveDisplay","seekToLive","remainingTimeDisplay","customControlSpacer","playbackRateMenuButton","chaptersButton","descriptionsButton","subsCapsButton","audioTrackButton","fullscreenToggle"]},"exitPictureInPicture"in a.a&&po.prototype.options_.children.splice(po.prototype.options_.children.length-1,0,"pictureInPictureToggle"),On.registerComponent("ControlBar",po);var ho=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}(hr);ho.prototype.options_=c()({},hr.prototype.options_,{pauseOnOpen:!1,fillAlways:!0,temporary:!1,uncloseable:!0}),On.registerComponent("ErrorDisplay",ho);var mo=["#000","Black"],vo=["#00F","Blue"],go=["#0FF","Cyan"],yo=["#0F0","Green"],bo=["#F0F","Magenta"],_o=["#F00","Red"],wo=["#FFF","White"],Eo=["#FF0","Yellow"],ko=["1","Opaque"],xo=["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,Eo,bo,go]},backgroundOpacity:{selector:".vjs-bg-opacity > select",id:"captions-background-opacity-%s",label:"Transparency",options:[ko,xo,So]},color:{selector:".vjs-fg-color > select",id:"captions-foreground-color-%s",label:"Color",options:[wo,mo,_o,yo,vo,Eo,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,xo]},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,xo,ko]}};function Oo(e,t){if(t&&(e=t(e)),e&&"none"!==e)return e}To.windowColor.options=To.backgroundColor.options;var Co=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,Oo(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(Oo(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){$e.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){$e.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}(hr);On.registerComponent("TextTrackSettings",Co);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}(On);On.registerComponent("ResizeManager",jo);var Ao={trackingThreshold:30,liveTolerance:15},No=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}(On);On.registerComponent("LiveTracker",No);var Po,Mo=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},Ro=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 Mo(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_)}},Do=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,Do],"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 Mo(e)||(e.triggerSourceset(""),Ro(e)),n},t.currentSrc?e.triggerSourceset(t.currentSrc):Mo(e)||Ro(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")||!Pr(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&&$e.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||Rn)&&!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):Et(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){$e(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"):Et(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&&!Dn&&!Fn&&(Po=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":Po.call(this,e)})},Uo.unpatchCanPlayType=function(){var e=Uo.TEST_VID.constructor.prototype.canPlayType;return Po&&(Uo.TEST_VID.constructor.prototype.canPlayType=Po),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=Nr(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);ht(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),pt(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):$e.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)?$e.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,pn(this)&&this.off("playerreset",this.updateStyleEl_),e?(this.addClass("vjs-fluid"),this.fill(!1),pn(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||pt(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&&$e.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&&($e.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){Mt(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 $r(this.middleware_,this.tech_,e,t);try{this.tech_&&this.tech_[e](t)}catch(e){throw $e(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 $r(this.middleware_,this.tech_,e);try{return this.tech_[e]()}catch(t){if(void 0===this.tech_[e])throw $e("Video.js: "+e+" method not defined for "+this.techName_+" playback technology.",t),t;if("TypeError"===t.name)throw $e("Video.js: "+e+" unavailable on "+this.techName_+" playback technology element.",t),this.tech_.isReady_=!1,t;throw $e(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=On.getComponent("FullscreenToggle");!1!==a.a[this.fsApi_.fullscreenEnabled]&&u.prototype.handleClick.call(this,e)}else if(o.call(this,e)){e.preventDefault(),e.stopPropagation(),On.getComponent("MuteToggle").prototype.handleClick.call(this,e)}else if(c.call(this,e)){e.preventDefault(),e.stopPropagation(),On.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=On.getComponent(i)),o){if(o.isSupported()&&(t=o.canPlayType(e)))return t}else $e.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():($e.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]),Xr(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_(),pn(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"),$e.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 hr(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(ht(e,"vjs-fill")&&(n.fill=!0),ht(e,"vjs-fluid")&&(n.fluid=!0),null!==r){var i=h()(r||"{}"),o=i[0],a=i[1];o&&$e.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}(On);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)}}),On.registerComponent("Player",Yo);var Ko={},Xo=function(e){return Ko.hasOwnProperty(e)},$o=function(e){return Xo(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=E()(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?$o(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(Xo(t))$e.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.");Xo(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=$o(e);n&&((t=t||{})[e]=n)}),t},e.getPluginVersion=function(e){var t=$o(e);return t&&t.VERSION||""},e}();ea.getPlugin=$o,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!!Xo(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&&$e.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)||$e.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):$e.error("please return an object in beforesetup hooks")});var o=On.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=On.getComponent,na.registerComponent=function(e,t){Wr.isTech(t)&&$e.warn("The "+e+" tech was registered as a component. It should instead be registered using videojs.registerTech(name, tech)"),On.registerComponent.call(On,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=Xn,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),x()(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 $e.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=$e,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=Pr,na.EventTarget=fn,na.on=en,na.one=rn,na.off=tn,na.trigger=nn,na.xhr=y.a,na.TextTrack=Rr,na.AudioTrack=Dr,na.VideoTrack=Br,["isEl","isTextNode","createEl","hasClass","addClass","removeClass","toggleClass","setAttributes","getAttributes","emptyEl","appendContent","insertContent"].forEach(function(e){na[e]=function(){return $e.warn("videojs."+e+"() is deprecated; use videojs.dom."+e+"() instead"),Dt[e].apply(null,arguments)}}),na.computedStyle=it,na.dom=Dt,na.url=Mr,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,pa=na.EventTarget,ha=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={},ha.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,pa),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 R;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 R;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}(),Ea=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},xa=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)},Oa=function(e,t,n,r){if(!e||!e.segments)return null;if(e.endList)return xa(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)},Ca=function(e){return e-Math.floor(e)==0},ja=function(e,t){if(Ca(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(Ca(o)||r===n)return(o+e)/i}},Aa=ja.bind(null,1),Na=ja.bind(null,-1),Pa=function(e){return e.excludeUntil&&e.excludeUntil>Date.now()},Ma=function(e){return e.excludeUntil&&e.excludeUntil===1/0},La=function(e){var t=Pa(e);return!e.disabled&&!t},Ia=function(e,t){return t.attributes&&t.attributes[e]},Ra=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},Da={duration:xa,seekable:function(e,t,n){var r=t||0,i=Oa(e,t,!0,n);return null===i?Ea():Ea(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+=Na(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:Pa,isIncompatible:Ma,playlistEnd:Oa,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:Ra},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},Xa=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}}),$a=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:Da.duration(t,t.mediaSequence+t.segments.indexOf(r)),type:r.videoTimingInfo?"accurate":"estimate"})}(n,r);if(!d)return l({message:n+" was not found in the stream"});var f=d.segment,p=function(e,t){var n=void 0,r=void 0;try{n=new Date(e),r=new Date(t)}catch(e){}var i=n.getTime();return(r.getTime()-i)/1e3}(f.dateTimeObject,n);if("estimate"===d.type)return 0===o?l({message:n+" is not buffered yet. Try again"}):(a(d.estimatedStart+p),void u.one("seeked",function(){e({programTime:n,playlist:r,retryCount:o-1,seekTo:a,pauseAfterSeek:c,tech:u,callback:l})}));var h=f.start+p;u.one("seeked",function(){return l(null,u.currentTime())}),c&&u.pause(),a(h)},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 ps,hs=vs("self.onmessage = function () {}"),ms=new Uint8Array(1);try{(ps=new ds(hs)).postMessage(ms,[ms.buffer])}catch(e){ds=null}finally{ls.revokeObjectURL(hs),ps&&ps.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,p,h,m,v,g,y,b,_,w,E,k,x,S,T,O,C,j,A,N,P,M,L,I,R,D,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)]);x=new Uint8Array(["i".charCodeAt(0),"s".charCodeAt(0),"o".charCodeAt(0),"m".charCodeAt(0)]),T=new Uint8Array(["a".charCodeAt(0),"v".charCodeAt(0),"c".charCodeAt(0),"1".charCodeAt(0)]),S=new Uint8Array([0,0,0,1]),O=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]),C=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:O,audio:C},P=new Uint8Array([0,0,0,0,0,0,0,1,0,0,0,12,117,114,108,32,0,0,0,1]),N=new Uint8Array([0,0,0,0,0,0,0,0]),M=new Uint8Array([0,0,0,0,0,0,0,0]),L=M,I=new Uint8Array([0,0,0,0,0,0,0,0,0,0,0,0]),R=M,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,P))},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)},h=function(e){return t(k.mdia,m(e),v(e.type),s(e))},a=function(e){return t(k.mfhd,new Uint8Array([0,0,0,0,(4278190080&e)>>24,(16711680&e)>>16,(65280&e)>>8,255&e]))},s=function(e){return t(k.minf,"video"===e.type?t(k.vmhd,A):t(k.smhd,N),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,R),t(k.stsc,L),t(k.stsz,I),t(k.stco,M))},b=function(e){return t(k.stsd,new Uint8Array([0,0,0,0,0,0,0,1]),"video"===e.type?D(e):B(e))},D=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))},p=function(e){var n=new Uint8Array([0,0,0,7,0,0,0,0,0,0,0,0,(4278190080&e.id)>>24,(16711680&e.id)>>16,(65280&e.id)>>8,255&e.id,0,0,0,0,(4278190080&e.duration)>>24,(16711680&e.duration)>>16,(65280&e.duration)>>8,255&e.duration,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,64,0,0,0,(65280&e.width)>>8,255&e.width,0,0,(65280&e.height)>>8,255&e.height,0,0]);return t(k.tkhd,n)},_=function(e){var n,r,i,o,a,s;return n=t(k.tfhd,new Uint8Array([0,0,0,58,(4278190080&e.id)>>24,(16711680&e.id)>>16,(65280&e.id)>>8,255&e.id,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0])),a=Math.floor(e.baseMediaDecodeTime/(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=E(e,92),t(k.traf,n,r,i)):(o=g(e),i=E(e,o.length+92),t(k.traf,n,r,i,o))},f=function(e){return e.duration=e.duration||4294967295,t(k.trak,p(e),h(e))},w=function(e){var n=new Uint8Array([0,0,0,0,(4278190080&e.id)>>24,(16711680&e.id)>>16,(65280&e.id)>>8,255&e.id,0,0,0,1,0,0,0,0,0,0,0,0,0,1,0,1]);return"video"!==e.type&&(n[n.length-1]=0),t(k.trex,n)},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))},E=function(e,t){return"audio"===e.type?F(e,t):U(e,t)};o=function(){return t(k.ftyp,x,S,x,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},{}));X=function(e,t){return W(K(e,t))},$=function(e,t){return Y(G(e),t)},Q=function(e,t,n){return G(n?e:e-t)};var fe=9e4,pe=(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},X),he=$,me=Q,ve=function(e,t,n,r){var i,o,a,s,c,u=0,l=0,d=0;if(t.length&&(i=pe(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(he(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},Ee=function(e,t){var n,r=e.minSegmentDts;return t||(r-=e.timelineStartInfo.dts),n=e.timelineStartInfo.baseMediaDecodeTime,n+=r,n=Math.max(0,n),"audio"===e.type&&(n*=e.samplerate/_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))},xe=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},Oe=4,Ce=function e(){e.prototype.init.call(this),this.captionPackets_=[],this.ccStreams_=[new Me(0,0),new Me(0,1),new Me(1,0),new Me(1,1)],this.reset(),this.ccStreams_.forEach(function(e){e.on("data",this.trigger.bind(this,"data")),e.on("partialdone",this.trigger.bind(this,"partialdone")),e.on("done",this.trigger.bind(this,"done"))},this)};(Ce.prototype=new z).push=function(e){var t,n,r;if("sei_rbsp"===e.nalUnitType&&(t=xe(e.escapedRBSP)).payloadType===Oe&&(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}},Ce.prototype.flushCCStreams=function(e){this.ccStreams_.forEach(function(t){return"flush"===e?t.flush():t.partialFlush()},this)},Ce.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)},Ce.prototype.flush=function(){return this.flushStream("flush")},Ce.prototype.partialFlush=function(){return this.flushStream("partialFlush")},Ce.prototype.reset=function(){this.latestDts_=null,this.ignoreNextEqualDts_=!1,this.numSameDts_=0,this.activeCea608Channel_=[null,null],this.ccStreams_.forEach(function(e){e.reset()})},Ce.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)},Ce.prototype.setsChannel1Active=function(e){return 4096==(30720&e.ccData)},Ce.prototype.setsChannel2Active=function(e){return 6144==(30720&e.ccData)},Ce.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))},Ne=[4352,4384,4608,4640,5376,5408,5632,5664,5888,5920,4096,4864,4896,5120,5152],Pe=function(){for(var e=[],t=15;t--;)e.push("");return e},Me=function e(t,n){e.prototype.init.call(this),this.field_=t||0,this.dataChannel_=n||0,this.name_="CC"+(1+(this.field_<<1|this.dataChannel_)),this.setConstants(),this.reset(),this.push=function(e){var t,n,r,i,o;if((t=32639&e.ccData)!==this.lastControlCode_){if(4096==(61440&t)?this.lastControlCode_=t:t!==this.PADDING_&&(this.lastControlCode_=null),r=t>>>8,i=255&t,t!==this.PADDING_)if(t===this.RESUME_CAPTION_LOADING_)this.mode_="popOn";else if(t===this.END_OF_CAPTION_)this.mode_="popOn",this.clearFormatting(e.pts),this.flushDisplayed(e.pts),n=this.displayed_,this.displayed_=this.nonDisplayed_,this.nonDisplayed_=n,this.startPts_=e.pts;else if(t===this.ROLL_UP_2_ROWS_)this.rollUpRows_=2,this.setRollUp(e.pts);else if(t===this.ROLL_UP_3_ROWS_)this.rollUpRows_=3,this.setRollUp(e.pts);else if(t===this.ROLL_UP_4_ROWS_)this.rollUpRows_=4,this.setRollUp(e.pts);else if(t===this.CARRIAGE_RETURN_)this.clearFormatting(e.pts),this.flushDisplayed(e.pts),this.shiftRowsUp_(),this.startPts_=e.pts;else if(t===this.BACKSPACE_)"popOn"===this.mode_?this.nonDisplayed_[this.row_]=this.nonDisplayed_[this.row_].slice(0,-1):this.displayed_[this.row_]=this.displayed_[this.row_].slice(0,-1);else if(t===this.ERASE_DISPLAYED_MEMORY_)this.flushDisplayed(e.pts),this.displayed_=Pe();else if(t===this.ERASE_NON_DISPLAYED_MEMORY_)this.nonDisplayed_=Pe();else if(t===this.RESUME_DIRECT_CAPTIONING_)"paintOn"!==this.mode_&&(this.flushDisplayed(e.pts),this.displayed_=Pe()),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=Ne.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}};Me.prototype=new z,Me.prototype.flushDisplayed=function(e){var t=this.displayed_.map(function(e){try{return e.trim()}catch(e){return console.error("Skipping malformed caption."),""}}).join("\n").replace(/^\n+|\n+$/g,"");t.length&&this.trigger("data",{startPts:this.startPts_,endPts:e,text:t,stream:this.name_})},Me.prototype.reset=function(){this.mode_="popOn",this.topRow_=0,this.startPts_=0,this.displayed_=Pe(),this.nonDisplayed_=Pe(),this.lastControlCode_=null,this.column_=0,this.row_=14,this.rollUpRows_=2,this.formatting_=[]},Me.prototype.setConstants=function(){0===this.dataChannel_?(this.BASE_=16,this.EXT_=17,this.CONTROL_=(20|this.field_)<<8,this.OFFSET_=23):1===this.dataChannel_&&(this.BASE_=24,this.EXT_=25,this.CONTROL_=(28|this.field_)<<8,this.OFFSET_=31),this.PADDING_=0,this.RESUME_CAPTION_LOADING_=32|this.CONTROL_,this.END_OF_CAPTION_=47|this.CONTROL_,this.ROLL_UP_2_ROWS_=37|this.CONTROL_,this.ROLL_UP_3_ROWS_=38|this.CONTROL_,this.ROLL_UP_4_ROWS_=39|this.CONTROL_,this.CARRIAGE_RETURN_=45|this.CONTROL_,this.RESUME_DIRECT_CAPTIONING_=41|this.CONTROL_,this.BACKSPACE_=33|this.CONTROL_,this.ERASE_DISPLAYED_MEMORY_=44|this.CONTROL_,this.ERASE_NON_DISPLAYED_MEMORY_=46|this.CONTROL_},Me.prototype.isSpecialCharacter=function(e,t){return e===this.EXT_&&t>=48&&t<=63},Me.prototype.isExtCharacter=function(e,t){return(e===this.EXT_+1||e===this.EXT_+2)&&t>=32&&t<=63},Me.prototype.isMidRowCode=function(e,t){return e===this.EXT_&&t>=32&&t<=47},Me.prototype.isOffsetControlCode=function(e,t){return e===this.OFFSET_&&t>=33&&t<=35},Me.prototype.isPAC=function(e,t){return e>=this.BASE_&&e<this.BASE_+8&&t>=64&&t<=127},Me.prototype.isColorPAC=function(e){return e>=64&&e<=79||e>=96&&e<=127},Me.prototype.isNormalChar=function(e){return e>=32&&e<=127},Me.prototype.setRollUp=function(e,t){if("rollUp"!==this.mode_&&(this.row_=14,this.mode_="rollUp",this.flushDisplayed(e),this.nonDisplayed_=Pe(),this.displayed_=Pe()),void 0!==t&&t!==this.row_)for(var n=0;n<this.rollUpRows_;n++)this.displayed_[t-n]=this.displayed_[this.row_-n],this.displayed_[this.row_-n]="";void 0===t&&(t=this.row_),this.topRow_=t-this.rollUpRows_+1},Me.prototype.addFormatting=function(e,t){this.formatting_=this.formatting_.concat(t);var n=t.reduce(function(e,t){return e+"<"+t+">"},"");this[this.mode_](e,n)},Me.prototype.clearFormatting=function(e){if(this.formatting_.length){var t=this.formatting_.reverse().reduce(function(e,t){return e+"</"+t+">"},"");this.formatting_=[],this[this.mode_](e,t)}},Me.prototype.popOn=function(e,t){var n=this.nonDisplayed_[this.row_];n+=t,this.nonDisplayed_[this.row_]=n},Me.prototype.rollUp=function(e,t){var n=this.displayed_[this.row_];n+=t,this.displayed_[this.row_]=n},Me.prototype.shiftRowsUp_=function(){var e;for(e=0;e<this.topRow_;e++)this.displayed_[e]="";for(e=this.row_+1;e<15;e++)this.displayed_[e]="";for(e=this.topRow_;e<this.row_;e++)this.displayed_[e]=this.displayed_[e+1];this.displayed_[this.row_]=""},Me.prototype.paintOn=function(e,t){var n=this.displayed_[this.row_];n+=t,this.displayed_[this.row_]=n};var Le={CaptionStream:Ce,Cea608Stream:Me},Ie={H264_STREAM_TYPE:27,ADTS_STREAM_TYPE:15,METADATA_STREAM_TYPE:21},Re=function(e,t){var n=1;for(e>t&&(n=-1);Math.abs(t-e)>4294967296;)e+=8589934592*n;return e},De=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=Re(e.dts,r),e.pts=Re(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")}};De.prototype=new z;var Be,Fe=De,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 Xe={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 $e in Ie)Ie.hasOwnProperty($e)&&(Xe[$e]=Ie[$e]);var Qe,Ze=Xe,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,p,h,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,h=0;h<f;h++)t.readBoolean()&&a(h<6?16:64,t);if(t.skipUnsignedExpGolomb(),0===(s=t.readUnsignedExpGolomb()))t.readUnsignedExpGolomb();else if(1===s)for(t.skipBits(1),t.skipExpGolomb(),t.skipExpGolomb(),c=t.readUnsignedExpGolomb(),h=0;h<c;h++)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:p=[1,1];break;case 2:p=[12,11];break;case 3:p=[10,11];break;case 4:p=[16,11];break;case 5:p=[40,33];break;case 6:p=[24,11];break;case 7:p=[20,11];break;case 8:p=[32,11];break;case 9:p=[80,33];break;case 10:p=[18,11];break;case 11:p=[15,11];break;case 12:p=[64,33];break;case 13:p=[160,99];break;case 14:p=[4,3];break;case 15:p=[3,2];break;case 16:p=[2,1];break;case 255:p=[t.readUnsignedByte()<<8|t.readUnsignedByte(),t.readUnsignedByte()<<8|t.readUnsignedByte()]}p&&(b=p[0]/p[1])}return{profileIdc:n,levelIdc:r,profileCompatibility:i,width:Math.ceil((16*(u+1)-2*m-2*v)*b),height:(2-d)*(l+1)*16-2*g-2*y,sarRatio:p}}}).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,pt,ht,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},Et=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=Ee(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,p=0;o.length&&"access_unit_delimiter_rbsp"!==o[0].nalUnitType;)o.shift();if(0===o.length)return this.resetStream_(),void this.trigger("done","VideoSegmentStream");if(n=ne(o),(s=re(n))[0][0].keyFrame||((r=this.getGopForFusion_(o[0],e))?(p=r.duration,s.unshift(r),s.byteLength+=r.byteLength,s.nalCount+=r.nalCount,s.pts=r.pts,s.dts=r.dts,s.duration+=r.duration):s=ie(s)),a.length){var h;if(!(h=t.alignGopsAtEnd?this.alignGopsAtEnd_(s):this.alignGopsAtStart_(s)))return this.gopCache_.unshift({gop:s.pop(),pps:e.pps,sps:e.sps}),this.gopCache_.length=Math.min(6,this.gopCache_.length),o=[],this.resetStream_(),void this.trigger("done","VideoSegmentStream");we(e),s=h}ke(e,s),e.samples=oe(s),u=Z(ae(s)),e.baseMediaDecodeTime=Ee(e,t.keepOriginalTimestamps),this.trigger("processedGopsInfo",s.map(function(e){return{pts:e.pts,dts:e.dts,byteLength:e.byteLength}})),d=s[0],f=s[s.length-1],this.trigger("segmentTimingInfo",Et(e.baseMediaDecodeTime,d.dts,d.pts,f.dts+f.duration,f.pts+f.duration,p)),this.trigger("timingInfo",{start:s[0].pts,end:s[s.length-1].pts+s[s.length-1].duration}),this.gopCache_.unshift({gop:s.pop(),pps:e.pps,sps:e.sps}),this.gopCache_.length=Math.min(6,this.gopCache_.length),o=[],this.trigger("baseMediaDecodeTime",e.baseMediaDecodeTime),this.trigger("timelineStartInfo",e.timelineStartInfo),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,(ht=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,ht.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,ht.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)},ht.prototype.setRemux=function(e){this.remuxTracks=e},(pt=function(e){var t,n,r=this,i=!0;pt.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 ht(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 ht(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:pt,VideoSegmentStream:dt,AudioSegmentStream:ft,AUDIO_PROPERTIES:bt,VIDEO_PROPERTIES:_t,generateVideoSegmentTimingInfo:Et},xt=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){xt(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(", ")+'"'},Es=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},xs=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)},Os=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)},Cs=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){xs(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 Os(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 xs(e)||Ss(e)})),0===r.length&&(r=["avc1.4d400d","mp4a.40.2"]),t=new Cs(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 Ns=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})},Ps=function(){return!!i.a.MediaSource&&!!i.a.MediaSource.isTypeSupported&&i.a.MediaSource.isTypeSupported('video/mp4;codecs="avc1.4d400d,mp4a.40.2"')},Ms=function(){if(this.MediaSource={open:Ns,supportsNativeMediaSources:Ps},Ps())return new js;throw new Error("Cannot use create a virtual MediaSource for this video")};Ms.open=Ns,Ms.supportsNativeMediaSources=Ps;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=Ms,na.URL=Ls;var Is=na.EventTarget,Rs=na.mergeOptions,Ds=function(e,t){for(var n=void 0,r=Rs(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=Oe(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=Rs(o,Fs(a,r))}}),o}(e.masterXml_,e.srcUrl,e.clientOffset_,e.sidxMapping_);var r=e.parseMasterXml(),o=Ds(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=Ds(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,Xs=function(e){e.forEach(function(e){e.abort()})},$s=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,Xs(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=$s(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=$s(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=Ne.a.timescale(e.map.bytes),e.map.videoTrackIds=Ne.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=$s(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 Xs(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 Me.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=Da.getMediaInfoForTime(t,a,o.segmentIndex,o.time);n=u.mediaIndex,s=u.startTime}else{var l=Da.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=Da.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!Da.isIncompatible(e)}),l=u.filter(Da.isEnabled);l.length||(l=u.filter(function(e){return!Da.isDisabled(e)}));var d=l.filter(Da.hasAttribute.bind(null,"BANDWIDTH")).map(function(e){var t=c.getSyncPoint(e,i,s,n)?1:2;return{playlist:e,rebufferingImpact:Da.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=Ne.a.timescale(t.map.bytes),r=Ne.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,p=void 0,h=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,h=16843009*c[d=c[l=c[a]]]^65537*d^257*l^16843008*a,p=257*c[f]^16843008*f,o=0;o<4;o++)t[o][a]=p=p<<24^p>>>8,n[o][f]=h=h<<24^h>>>8;for(o=0;o<5;o++)t[o]=t[o].slice(0),n[o]=n[o].slice(0);return e},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,p=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^p<<24,p=p<<1^283*(p>>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,p=void 0,h=a.length/4-2,m=void 0,v=4,g=this._tables[1],y=g[0],b=g[1],_=g[2],w=g[3],E=g[4];for(m=0;m<h;m++)d=y[s>>>24]^b[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],p=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=p;for(m=0;m<4;m++)i[(3&-m)+o]=E[s>>>24]<<24^E[c>>16&255]<<16^E[u>>8&255]<<8^E[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,p=void 0,h=void 0,m=void 0,v=void 0,g=void 0;for(c=n[0],l=n[1],d=n[2],f=n[3],g=0;g<r.length;g+=4)p=u(r[g]),h=u(r[g+1]),m=u(r[g+2]),v=u(r[g+3]),i.decrypt(p,h,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=p,l=h,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)}()}),pc=function(e){var t=e.default?"main":"alternative";return e.characteristics&&e.characteristics.indexOf("public.accessibility.describes-video")>=0&&(t="main-desc"),t},hc=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;hc(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."),hc(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 p=a[e][d][f],h=void 0;if(h=p.resolvedUri?new wa(p.resolvedUri,n,o):p.playlists&&"dash"===r?new qs(p.playlists[0],n,o,l):null,p=na.mergeOptions({id:f,playlistLoader:h},p),gc[e](e,p.playlistLoader,t),c[d].push(p),void 0===u[f]){var m=new na.AudioTrack({id:f,kind:pc(p),enabled:!1,language:p.language,default:p.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 p in u[f]||(u[f]=[]),s[e][f])if(!s[e][f][p].forced){var h=s[e][f][p],m=void 0;if("hls"===i?m=new wa(h.resolvedUri,r,a):"dash"===i&&(m=new qs(h.playlists[0],r,a,d)),h=na.mergeOptions({id:p,playlistLoader:m},h),gc[e](e,h.playlistLoader,t),u[f].push(h),void 0===l[p]){var v=n.addRemoteTextTrack({id:p,kind:"subtitles",default:h.default&&h.autoselect,language:h.language,label:p},!1).track;l[p]=v}}o.on("error",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;hc(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;hc(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},Ec=void 0,kc=["mediaRequests","mediaRequestsAborted","mediaRequestsTimedout","mediaRequestsErrored","mediaTransferDuration","mediaBytesTransferred"],xc=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,p=e.sourceType;if(!r)throw new Error("A non-empty playlist URL is required");Ec=c,n.withCredentials=o,n.tech_=a,n.hls_=a.hls,n.sourceType_=p,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 h={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(h,{segmentMetadataTrack:n.segmentMetadataTrack_,loaderType:"main"}),e),n.audioSegmentLoader_=new ic(na.mergeOptions(h,{loaderType:"audio"}),e),n.subtitleSegmentLoader_=new sc(na.mergeOptions(h,{loaderType:"vtt",featuresNativeTextTracks:n.tech_.featuresNativeTextTracks}),e),n.setupSegmentLoaderListeners_(),kc.forEach(function(e){n[e+"_"]=xc.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;Ra(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;Ra(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"}),Ec.Playlist.isAes(t)&&this.tech_.trigger({type:"usage",name:"hls-aes"}),Ec.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=Ec.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:Ec.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=Ec.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=Ec.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=Ec.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=Es(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=Ma(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)})},Oc=["seeking","seeked","pause","playing","error"],Cc=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(Oc,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(Oc,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)},Nc={PlaylistLoader:wa,Playlist:Da,Decrypter:Ye,AsyncStream:He,decrypt:We,utils:Xa,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!Da.isIncompatible(e.playlist)})).filter(function(e){return Da.isEnabled(e.playlist)});s.length||(s=a.filter(function(e){return!Da.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 p=f.filter(function(e){return e.width===n&&e.height===r});u=p[p.length-1];var h=p.filter(function(e){return e.bandwidth===u.bandwidth})[0],m=void 0,v=void 0,g=void 0;h||(v=(m=f.filter(function(e){return e.width>n||e.height>r})).filter(function(e){return e.width===m[0].width&&e.height===m[0].height}),u=v[v.length-1],g=v.filter(function(e){return e.bandwidth===u.bandwidth})[0]);var y=g||h||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(Da.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(Nc,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 Pc=function(e){if(/^(audio|video|application)\/(x-|vnd\.apple\.)?mpegurl/i.test(e))return"hls";return/^application\/dash\+xml/i.test(e)?"dash":null},Mc=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"})};Nc.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(),xs(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}};Nc.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))})}(),Nc.supportsNativeDash=!!na.getTech("Html5").isSupported()&&/maybe|probably/i.test(a.a.createElement("video").canPlayType("application/dash+xml")),Nc.supportsTypeNatively=function(e){return"hls"===e?Nc.supportsNativeHls:"dash"===e&&Nc.supportsNativeDash},Nc.isSupported=function(){return na.log.warn("HLS is no longer a tech. Please remove it from your player's techOrder.")};var Rc=na.getComponent("Component"),Dc=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,Rc),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=Nc,this.options_.sourceType=Pc(t),this.options_.seekTo=function(e){n.tech_.setCurrentTime(e)},this.masterPlaylistController_=new Sc(this.options_),this.playbackWatcher_=new Cc(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):Nc.STANDARD_PLAYLIST_SELECTOR.bind(this),this.masterPlaylistController_.selectInitialPlaylist=Nc.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!Ma(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)}),Mc(t,n.playlists)}),this.playlists.on("mediachange",function(){Mc(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 $a({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 Dc(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=Pc(e);return r&&(!Nc.supportsTypeNatively(r)||n)?"maybe":""}};void 0!==na.MediaSource&&void 0!==na.URL||(na.MediaSource=Ms,na.URL=Ls),Ms.supportsNativeMediaSources()&&na.getTech("Html5").registerSourceHandler(Bc,0),na.HlsHandler=Dc,na.HlsSourceHandler=Bc,na.Hls=Nc,na.use||na.registerComponent("Hls",Nc),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(1133),i=n(7),o=n.n(i),a=n(46),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(49),i=n.n(r),o=n(28),a=n.n(o),s=n(72),c=n.n(s),u=n(66),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 O});var r=n(27),i=n.n(r),o=n(7),a=n.n(o),s=n(49),c=n.n(s),u=n(97),l=n.n(u),d=n(98),f=n.n(d),p=n(28),h=n.n(p),m=n(72),v=n.n(m),g=n(62),y=n.n(g),b=n(18),_=n.n(b),w=n(46),E=n.n(w),k=n(84),x=n(66),S=function(e){var t=e.id,n=e.itemId;return function(e){return e(Object(x.g)({id:t,updateFn:C(n)}))}},T=a()(c()(h.a)({isComplete:!0,percentComplete:100}),y()(f()("items"),Object(k.e)(i()("isComplete",!0)))),O=a()(v()(["isComplete","percentComplete"]),y()(f()("items"),Object(k.e)(v()(["isComplete"])))),C=function(e){return a()(E()(_()("percentComplete",100),i()("isComplete",!0)),x.f,y()(l()(["items",e]),i()("isComplete",!0)))}},function(e,t,n){"use strict";n.d(t,"c",function(){return C}),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(49),l=n.n(u),d=n(250),f=n.n(d),p=n(303),h=n.n(p),m=n(28),v=n.n(m),g=n(144),y=n.n(g),b=n(72),_=n.n(b),w=n(18),E=n.n(w),k=n(48),x=n.n(k),S=n(46),T=n.n(S),O=n(66),C=function(e){var t=e.currentTime,n=e.id,r=e.percentComplete;return function(e){return e(Object(O.g)({id:n,updateFn:P({currentTime:t,percentComplete:r})}))}},j=l()(v.a)({currentTime:0,isComplete:!0,percentComplete:100}),A=_()(["currentTime","isComplete","percentComplete"]),N=T()(E()("percentComplete",100),a()("isComplete",!0)),P=function(e){var t=e.currentTime,n=e.percentComplete;return c()(a()("currentTime",t),N,function(e){return function(t){return c()(v()(t),y()("percentComplete"),Math.round,T()(f()(90),i()(100)),h()(e),x()(0,"percentComplete"))(t)}}(n))}},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(17),a=n(8),s=n(9),c=n(10),u=n(11),l=n(13),d=n(5),f=n(4),p=n.n(f),h=(n(2031),n(16)),m=n.n(h),v=n(27),g=n.n(v),y=n(2),b=n.n(y),_=n(55),w=n.n(_),E=n(38),k=n.n(E),x=n(227),S=n.n(x),T=n(29),O=n.n(T),C=n(250),j=n.n(C),A=n(135),N=n.n(A),P=n(1),M=n.n(P),L=n(71),I=n.n(L),R=n(36),D=n(23),B=n(42),F=n(25),U=n(192);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,p=d.prev,h=t.previous,v=t.title,g=t.type,y=!O()(p)&&!O()(f),_=w()("process-card__"),E=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":h===c,"process-card--next":r+1===c,"process-card--prev":r-1===c,"process-card--slide-fade":a}),x=k()([[S()(c),m()({transform:"translate3d(".concat(f,"px, 0px, 0px)")})],[j()(c),m()({transform:"translate3d(-".concat(p,"px, 0px, 0px)")})],[I.a,m()(null)]])(r),T={className:E,style:y?x:null};return e.createElement("div",T,e.createElement("div",{className:"process-card__inner"},e.createElement("div",null,"step"===g&&X(this.props,_),v&&$(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:M.a.string.isRequired,children:M.a.node,current:M.a.number.isRequired,description:M.a.string,enableVideoPlaybackSpeed:M.a.bool,entered:M.a.bool,fade:M.a.bool,hasNavigation:M.a.bool,index:M.a.any.isRequired,initiating:M.a.bool,media:M.a.object,onMediaLoad:M.a.func,onNextClick:M.a.func.isRequired,onRestartClick:M.a.func.isRequired,number:M.a.number,position:M.a.object.isRequired,previous:M.a.number,settings:M.a.object.isRequired,title:M.a.string,type:M.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,p=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),h=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:h,style:p},e.createElement("div",{className:"process-card-mobile__inner"},e.createElement("div",null,"step"===d&&X(this.props,v),l&&$(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:M.a.string.isRequired,children:M.a.node,current:M.a.number.isRequired,description:M.a.string,enableVideoPlaybackSpeed:M.a.bool,entered:M.a.bool,hasNavigation:M.a.bool,id:M.a.string.isRequired,index:M.a.any.isRequired,initiating:M.a.bool.isRequired,labels:M.a.object.isRequired,media:M.a.object,onMediaLoad:M.a.func,onNextClick:M.a.func.isRequired,onRestartClick:M.a.func.isRequired,number:M.a.number,settings:M.a.object.isRequired,showHelp:M.a.bool,title:M.a.string,type:M.a.oneOf(["intro","step","summary"]),width:M.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(R.g,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,h=a===u,v=N()(g()("pause",!0),l);return e.createElement("div",{className:n("media")},e.createElement(U.a,{allowTabNavigation:h,defaultAlign:"center",enableVideoPlaybackSpeed:s,hasPadding:!1,index:p()(r=p()(i="".concat(o,"-")).call(i,c,"-")).call(r,u),media:h?l:v,onLoad:h&&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?D.a:D.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",{className:"brand--ui"},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?D.a:D.h,l={className:"".concat(n("button")," brand--background brand--ui"),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(R.g,null)))},X=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,p()(r="".concat(c," ")).call(r,o)))},$=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){e.exports=n(1899)},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(1950)),o=r(n(304));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 ee}),n.d(t,"b",function(){return ne}),n.d(t,"a",function(){return re});var r=n(3),i=n.n(r),o=n(47),a=n.n(o),s=n(32),c=n.n(s),u=n(40),l=n.n(u),d=n(31),f=n.n(d),p=n(34),h=n.n(p),m=n(17),v=n(8),g=n(9),y=n(10),b=n(6),_=n(11),w=n(13),E=n(5),k=n(4),x=n.n(k),S=n(14),T=n.n(S),O=(n(1985),n(16)),C=n.n(O),j=n(2),A=n.n(j),N=n(55),P=n.n(N),M=n(38),L=n.n(M),I=n(344),R=n.n(I),D=n(37),B=n.n(D),F=n(129),U=n.n(F),q=n(1),z=n.n(q),H=n(71),V=n.n(H),W=n(23),Y=n(25),G=n(74),K=n(99),X=n(59),$=n(36);function Q(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 Z(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(E.a)(e);if(t){var o=Object(E.a)(this).constructor;n=i()(r,arguments,o)}else n=r.apply(this,arguments);return Object(w.a)(this,n)}}var J=n(68).b.blocks,ee=function(t){Object(_.a)(r,t);var n=Z(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,x()(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(te,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,p=n.renderItem,m=void 0===p?this.renderItemDelegate:p,g=u.paddingTop,y=u.paddingBottom,b=u.backgroundColor,_=u.entranceAnimation,w=A()("block-list block-list--".concat(c),{"block-list--no-animation":!_}),E={backgroundColor:Object(G.a)("",b),paddingTop:"".concat(10*g,"px"),paddingBottom:"".concat(10*y,"px")};return e.createElement("div",{className:w,"data-ba":J.blockList,style:E},e.createElement("div",{className:"block-list__container"},e.createElement("div",{className:"block-list__row"},e.createElement("div",{className:"block-list__col"},e.createElement(X.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?Q(Object(n),!0).forEach(function(t){Object(v.a)(e,t,n[t])}):h.a?Object.defineProperties(e,h()(n)):Q(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),te=function(t){Object(_.a)(r,t);var n=Z(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?R()():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,p={allowTabNavigation:!0,className:"block-list__content brand--body brand--linkColor",editable:s,value:a},h=o||i+1,m="numbered"===r?h:"bullet",v=P()("hidden "),g=U()({allowTabNavigation:C()(!1),className:v},p),y=e.createElement("div",{"aria-hidden":!0,className:"block-list__number brand--background"},h),b=e.createElement($.i,{className:"block-list__bullet brand--color"}),_=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})),E=L()([[B()("numbered"),C()(y)],[B()("bulleted"),C()(b)],[B()("checkboxes"),C()(w)],[V.a,C()(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"},E(r),this.renderText(g)),this.renderIdentifier(m),this.renderItemText({paragraphProps:p}))}}],[{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),ne=function(t){return e.createElement(ee,Object(m.a)({type:"checkboxes"},t))},re=function(t){return e.createElement(ee,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(17),a=n(9),s=n(10),c=n(11),u=n(13),l=n(5),d=(n(1988),n(2)),f=n.n(d),p=n(1),h=n.n(p),m=n(74);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(68).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,p=f()("block-divider__wrap",{"brand--beforeBorder brand--afterBackground":d}),h={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:h},e.createElement("div",{"aria-hidden":"true",className:p,"data-number":r}),v)}}],[{key:"propTypes",get:function(){return{settings:h.a.object.isRequired,number:h.a.number,type:h.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 R}),n.d(t,"b",function(){return D});var r=n(257),i=n.n(r),o=n(109),a=n.n(o),s=n(7),c=n.n(s),u=n(38),l=n.n(u),d=n(75),f=n.n(d),p=n(150),h=n.n(p),m=n(29),v=n.n(m),g=n(443),y=n.n(g),b=n(91),_=n.n(b),w=n(24),E=n.n(w),k=n(372),x=n.n(k),S=n(48),T=n.n(S),O=n(18),C=n.n(O),j=n(165),A=n.n(j),N=n(71),P=n.n(N),M=a()(v.a),L=function(e){var t=I(e)[0],n=(t||{}).feedback,r=E()(_()(["action","emotion","goTo","nextSlide"]),i()({description:n,type:"dialogue"}));return t?[t,r(t)]:[r(e)]},I=function(e){return[e.responses[e.response]]},R=function(e){var t=A()(M,"response"),n=C()("hasFeedback",!0),r=function(t){return c()(x()(e),t)};return l()([[n,r(L)],[t,r(I)],[P.a,y.a]])(e)},D=f()(function(e,t){if(t){var n=t.scene,r=t.slide,i=h()(C()("id",n),e),o=T()([],"slides",e[i]);return{scene:i,slide:h()(C()("id",r),o)}}})},function(e,t,n){"use strict";(function(e){n.d(t,"a",function(){return a}),n.d(t,"c",function(){return s}),n.d(t,"b",function(){return c});var r=n(1310),i=n(36),o=n(599);n(2696);function a(){return e.createElement("button",{className:"btn-skip-to-lesson brand--ui",onClick:c,type:"button"},e.createElement("span",{className:"btn-skip-to-lesson__wrap"},"Skip to Lesson",e.createElement("span",{"aria-hidden":"true"},e.createElement(i.b,{className:"btn-skip-to-lesson__icon"}))))}function s(e){Object(r.a)(o.a,e,document)}function c(){document.dispatchEvent(new CustomEvent(o.a))}}).call(this,n(0))},function(e,t,n){"use strict";n.d(t,"a",function(){return r}),n.d(t,"b",function(){return i});var r="focus-lesson-content",i="preview-open-sidebar-nav"},function(e,t){},function(e,t,n){
/** @license ISC License (c) copyright 2017 original and current authors */
var r=n(222),i=n(1637),o=n(237),a=n(885),s=n(183),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(405),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(189)("unscopables"),i=n(695),o=n(337),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(440);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(178),i=n(440),o=n(189)("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 he}),n.d(t,"a",function(){return me}),n.d(t,"b",function(){return ve});var r=n(3),i=n.n(r),o=n(17),a=n(9),s=n(10),c=n(6),u=n(11),l=n(13),d=n(5),f=(n(1242),n(2013),n(197)),p=n.n(f),h=n(284),m=n.n(h),v=n(203),g=n.n(v),y=n(2),b=n.n(y),_=n(7),w=n.n(_),E=n(38),k=n.n(E),x=n(37),S=n.n(x),T=n(172),O=n.n(T),C=n(556),j=n.n(C),A=n(173),N=n.n(A),P=n(121),M=n.n(P),L=n(343),I=n.n(L),R=n(60),D=n.n(R),B=n(33),F=n.n(B),U=n(122),q=n.n(U),z=n(26),H=n.n(z),V=n(120),W=n.n(V),Y=n(254),G=n.n(Y),K=n(342),X=n.n(K),$=n(82),Q=n(751),Z=n(174),J=n(310),ee=n(84),te=n(107),ne=n(161),re=n.n(ne),ie=n(85),oe=n(23),ae=n(25),se=n(36);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=p()(F.a),le=w()(q.a,D.a),de=O()("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,p=n.onKeyDown,h=n.prefersKeyboardNavigation,m=n.prevIndex,v=n.text,g=n.willBeReplaced,y=i&&r,b=_e({isMatched:c,prefersKeyboardNavigation:h,willBeReplaced:g});return e.createElement(ie.d,{className:this.state.isDragging?"".concat(b," dragging"):b,component:"li",onKeyDown:p,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.I,{className:"quiz-match__item-sortable"}),e.createElement(se.n,{className:"quiz-match__item-sortable--dots"}),e.createElement("span",{"data-match-content":!0},v))))))}}]),r}(e.Component),pe=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,p=n.prefersKeyboardNavigation,h=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:p}),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},h))))}}]),r}(e.Component),he=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(!D()(c)||r)if(d){var p=Object(ee.f)(u),h=G()(c).reduce(p,t);this.setState({titleIndices:h})}else if(r){var m=xe({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.f,{"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"},M()(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,p=l.height,h=l.keySelectedSourceIndex,m=l.titleIndices,v=l.toDropRow;return w()(Ee,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:p,id:l,isEnabled:a&&!s,isKeySelected:e===h,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()(Ee,ue(function(n,r){return e.createElement(pe,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=$.a.isIe11||$.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})},Ee=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)},xe=function(e){var t=e.titleIndices,n=e.nextTitleIndices,r=e.isNewRetake,i=e.isLearner;if(r&&i)return n;var o=X()(t,n),a=j()(t,n);return le(a)?X()(a,t):le(o)?N()(g()(o,t)):t}}).call(this,n(0))},function(e,t,n){"use strict";n.d(t,"b",function(){return u});var r=n(8),i=n(180),o=n(27),a=n.n(o),s=n(49),c=n.n(s);t.a=Object(i.handle)({lessonNavNextButton:null},Object(r.a)({},"rise/ui/SET_LESSON_NAV_NEXT_BUTTON_UI",c()(a()("lessonNavNextButton"))));var u=Object(i.action)("rise/ui/SET_LESSON_NAV_NEXT_BUTTON_UI")},function(e,t,n){"use strict";var r=n(0),i=n.n(r),o=n(119),a=n(2),s=n.n(a),c=(n(1997),n(68).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","brand--ui",{"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){"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(14),f=n.n(d),p=n(4),h=n.n(p),m=(n(2018),n(0)),v=n.n(m),g=n(16),y=n.n(g),b=n(2),_=n.n(b),w=n(7),E=n.n(w),k=n(344),x=n.n(k),S=n(185),T=n.n(S),O=n(28),C=n.n(O),j=n(26),A=n.n(j),N=n(377),P=n.n(N),M=n(46),L=n.n(M),I=n(1200),R=n(1201),D=n(59),B=n(1202),F=n(192),U=n(52);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=function(e){var t=e.accentColor;return{accentColor:e.fontColor,fontColor:t}},H=T()(E()(P()(C.a),function(e){return L()(y()(e),z)})),V=function(e){Object(c.a)(n,e);var t=q(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:x()()},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.accentColor,r=t.animateBlockEntrance,i=t.blockId,o=t.color,a=t.canvasClassNames,s=t.editable,c=t.imageLoaded,u=void 0===c||c,l=t.isBlock,d=t.isLearner,p=t.isPreview,g=t.items,y=t.labels,b=t.lesson,w=t.media,E=t.onItemClear,k=t.onItemHint,x=t.onItemSelected,S=t.onNextClick,T=t.onPreviousClick,O=t.onShowAltDialog,C=t.parentId,j=t.progress,N=t.selected,P=t.settings,M=void 0===P?{}:P,L=t.showBubbles,q=t.enableVideoPlaybackSpeed,z=M.markerColor,V=this.state,W=V.showMarkers,Y=V.uniqId,G=n||o,K=Boolean(z),X=s?"#FFFFFF":z||G,$=_()("map-item",{"map-item--animated":!s}),Q=r?"fadeIn":"none",Z=r?1:0,J=g.length>1,ee="lg-".concat(Y),te=K?function(e){return Object(U.e)(e)?"#FFFFFF":"#000000"}(X):s?"#000000":"#FFFFFF",ne=H(!K&&!s,{accentClassName:ee,accentColor:X,fontColor:te});return v.a.createElement(m.Fragment,null,this.renderMarkerStyles(ne),v.a.createElement(D.a,{afterAnimatedIn:this.afterAnimatedIn,animateBlockEntrance:!p,animateIn:Q,duration:p?0:Z,initiallyVisible:!r,isLearner:d,offset:300},v.a.createElement(R.a,{canvasClassNames:a,editable:s,imageLoaded:u,lesson:b,media:w,onCreateMarker:this.createMarker,onShowAltDialog:O,ref:function(t){e.canvas=t}},f()(g).call(g,function(t,n){var r,o,a=t.description,c=t.id,u=t.icon,d=t.media,f=t.title,p=t.x,m=t.y,g={top:m+"%",left:p+"%"},b=A()(["items",c,"isComplete"],j),_=N===c;return v.a.createElement("li",{className:$,key:c,role:"listitem"},v.a.createElement(B.a,{editable:s,icon:u,isActive:N===c,isComplete:b,isSelected:_,isVisible:W,itemId:c,key:c,labels:y,markerClassName:ee,onClick:function(){x(c)},onFocus:e.onMarkerFocus(c),onHover:function(){k()},onLeave:function(){E()},onSetPosition:e.onSetPosition.bind(e,c),parentId:C,ref:function(t){e.markerRefs[c]=t},styles:g,useLocalStateForCompletion:l}),!s&&L&&v.a.createElement(I.a,{accentColor:X,allowNav:J,description:a,hasMedia:Boolean(d),isActive:_,key:"bubble-".concat(c),labels:y,onClose:e.onBubbleClose(c),onNextClick:function(){S(n)},onPreviousClick:function(){T(n)},title:f,x:p,y:m},d?v.a.createElement(F.a,{hasPadding:!1,index:h()(r=h()(o="".concat(i,"-")).call(o,c,"-")).call(r,n),labels:e.props.labels,media:d,enableVideoPlaybackSpeed:q}):null))}))))}},{key:"renderMarkerStyles",value:function(e){var t,n,r,i,o,a,s,c,u,l,d,f=e.accentClassName,p=e.accentColor,m=e.fontColor,g=Object(U.i)("#000000",p),y=Object(U.i)("#FFFFFF",m);return v.a.createElement("style",null,h()(t=h()(n=h()(r=h()(i=h()(o=h()(a=h()(s=h()(c=h()(u=h()(l=h()(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:x()(),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);t.a=V},function(e,t,n){e.exports=n(2220)},function(e,t,n){"use strict";(function(e){n.d(t,"a",function(){return T});var r=n(17),i=n(35),o=n(2375),a=n.n(o),s=n(63),c=n.n(s),u=n(4),l=n.n(u),d=n(0),f=n(88),p=n(119),h=n(1310),m=n(598),v=n(215),g=n(260),y=n(136),b=n(470),_=n(77),w=n(262),E=n(2376),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 x(t){var n,r,o,a=t.children,s=t.className,u=t.dark,f=t.lessonId,p=t.restrictions,m=t.tooltipClassName,g=t.style,_=Object(d.useRef)(),x=Object(d.useRef)(),S=Object(v.b)(),T=Object(y.q)(f).title,O=Object(b.b)(),C=Object(d.useState)(!1),j=Object(i.a)(C,2),A=j[0],N=j[1],P=Object(d.useCallback)(function(){return N(!0)},[]),M=Object(d.useCallback)(function(){return N(!1)},[]),L=Object(d.useCallback)(function(){setTimeout(P,0)},[P]),I=Object(d.useCallback)(function(){if(A){var e,t=_.current.getBoundingClientRect(),n=x.current.offsetParent.getBoundingClientRect(),r=t.height,i=t.width,o=t.left-n.left,a=t.top-n.top;c()(x.current.style,{transform:l()(e="translate(".concat(o,"px, ")).call(e,a,"px)"),width:"".concat(i,"px"),height:"".concat(r,"px")})}},[A]);(Object(d.useEffect)(function(){O&&N(!1)},[O]),Object(d.useLayoutEffect)(function(){return I()},[I]),Object(h.a)("resize",I,window),Object(E.a)(_,M),p.type===w.b.QUIZ)?r=l()(o="".concat(S.quizRequirePassingScore,': "')).call(o,p.data,'"'):p.type===w.b.ORDER&&(r=S.lessonRestricted);return e.createElement(e.Fragment,null,e.createElement("span",{"aria-disabled":!0,"aria-label":l()(n="The ".concat(T," lesson is currently unavailable: ")).call(n,r,"."),className:s,onBlur:M,onFocus:L,onMouseLeave:M,ref:_,role:"link",tabIndex:O?-1:0,style:g},a),e.createElement(k,{className:m,dark:u,ref:x,visible:A},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=t.style,h=Object(b.b)(),v=Object(d.useCallback)(function(e){c(e),s?(e.preventDefault(),Object(m.b)()):u(a)},[a,s,c,u]),g=null!=(null==l?void 0:l.type),y=n("link",{active:s,dark:i,light:!i,restricted:g}).toString();return g?e.createElement(x,Object(r.a)({},t,{className:y,style:f})):e.createElement(p.c,{"aria-current":"page",className:y.toString(),onClick:v,to:Object(w.f)(a),tabIndex:h?-1:void 0,style:f},o)}function T(t){var n,i=t.className,o=t.dark,a=t.isCurrentLesson,s=t.last,c=t.lessonId,u=t.style,l=Object(d.useMemo)(function(){return Object(_.a)(i)},[i]),f=Object(y.r)(c),p=null!=(null==f?void 0:f.type),h=(null!==(n=Object(g.f)(c))&&void 0!==n?n:{}).isComplete,m=l({active:a,complete:void 0!==h&&h,dark:o,last:s,light:!o,restricted:p});return e.createElement("div",{className:m},e.createElement(S,Object(r.a)({},t,{b:l,isCurrentLesson:a,restrictions:f,style:u})))}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){"use strict";(function(e){var r=n(3),i=n.n(r),o=n(17),a=n(9),s=n(10),c=n(6),u=n(11),l=n(13),d=n(5),f=n(82),p=n(161),h=n.n(p);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=h()(this.applySafariLandscapeHack,500)))}},{key:"componentWillUnmount",value:function(){this.root.removeEventListener("resize",this.resizeRef)}},{key:"applySafariLandscapeHack",value:function(){var e=this.root,t=window.matchMedia("(orientation: portrait)").matches?"portrait":"landscape",n=("landscape"===t?screen.width:screen.height)-e.innerHeight;t==this.state.orientation&&n==this.state.difference||("landscape"===t&&0!==n&&setTimeout(function(){e.document.body.scrollTop=0},0),this.setState({orientation:t,difference:n}))}},{key:"render",value:function(){return 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 i});var r=n(116);function i(){var e,t=Object(r.g)("/lessons/:currentLessonId");return null==t?void 0:null===(e=t.params)||void 0===e?void 0:e.currentLessonId}},function(e,t,n){"use strict";(function(e){n.d(t,"a",function(){return i});n(2709);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 o}),n.d(t,"b",function(){return a});var r=n(163),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){var r=n(127),i=n(411),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(142),i=n(151),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(1323);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(111),i=n(623);(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(142),i=n(1324),o=r["__core-js_shared__"]||i("__core-js_shared__",{});e.exports=o},function(e,t,n){var r=n(477),i=n(127);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(133)("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(239),i=n(236),o=n(627),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(495),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,n){"use strict";var r=n(44),i=n(142),o=n(187),a=n(111),s=n(166),c=n(624),u=n(795),l=n(127),d=n(182),f=n(416),p=n(151),h=n(102),m=n(235),v=n(239),g=n(494),y=n(325),b=n(326),_=n(414),w=n(630),E=n(1344),k=n(631),x=n(293),S=n(220),T=n(493),O=n(219),C=n(327),j=n(622),A=n(500),N=n(415),P=n(496),M=n(133),L=n(632),I=n(140),R=n(295),D=n(273),B=n(355).forEach,F=A("hidden"),U=M("toPrimitive"),q=D.set,z=D.getterFor("Symbol"),H=Object.prototype,V=i.Symbol,W=o("JSON","stringify"),Y=x.f,G=S.f,K=E.f,X=T.f,$=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=$[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),h(e);var r=g(t,!0);return h(n),d($,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){h(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=X.call(this,t);return!(this===H&&d($,t)&&!d(Q,t))&&(!(n||!d(this,t)||!d($,t)||d(this,F)&&this[F][t])||n)},ue=function(e,t){var n=v(e),r=g(t,!0);if(n!==H||!d($,r)||d(Q,r)){var i=Y(n,r);return!i||!d($,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($,e)||d(N,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($,e)||t&&!d(H,e)||r.push($[e])}),r};(c||(C((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=P(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}),C(V,"withoutSetter",function(e){return ie(P(e),e)}),T.f=ce,S.f=ae,x.f=ue,w.f=E.f=le,k.f=de,L.f=function(e){return ie(M(e),e)},s&&(G(V.prototype,"description",{configurable:!0,get:function(){return z(this).description}}),a||C(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,(p(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]||O(V.prototype,U,V.prototype.valueOf),R(V,"Symbol"),N[F]=!0},function(e,t,n){var r=n(799),i=n(628).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(133);t.f=r},function(e,t,n){var r={};r[n(133)("toStringTag")]="z",e.exports="[object z]"===String(r)},function(e,t,n){"use strict";var r=n(44),i=n(807),o=n(417),a=n(501),s=n(295),c=n(219),u=n(327),l=n(133),d=n(111),f=n(357),p=n(808),h=p.IteratorPrototype,m=p.BUGGY_SAFARI_ITERATORS,v=l("iterator"),g=function(){return this};e.exports=function(e,t,n,l,p,y,b){i(n,t,l);var _,w,E,k=function(e){if(e===p&&C)return C;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)}},x=t+" Iterator",S=!1,T=e.prototype,O=T[v]||T["@@iterator"]||p&&T[p],C=!m&&O||k(p),j="Array"==t&&T.entries||O;if(j&&(_=o(j.call(new e)),h!==Object.prototype&&_.next&&(d||o(_)===h||(a?a(_,h):"function"!=typeof _[v]&&c(_,v,g)),s(_,x,!0,!0),d&&(f[x]=g))),"values"==p&&O&&"values"!==O.name&&(S=!0,C=function(){return O.call(this)}),d&&!b||T[v]===C||c(T,v,C),f[t]=C,p)if(w={values:k("values"),keys:y?C:k("keys"),entries:k("entries")},b)for(E in w)!m&&!S&&E in T||u(T,E,w[E]);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(57);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(19),i=n(146),o=n(1414),a=n(191);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(478);var r=n(44),i=n(187),o=n(823),a=n(327),s=n(506),c=n(295),u=n(807),l=n(273),d=n(400),f=n(182),p=n(176),h=n(348),m=n(102),v=n(151),g=n(326),y=n(325),b=n(824),_=n(418),w=n(133),E=i("fetch"),k=i("Headers"),x=w("iterator"),S=l.set,T=l.getterFor("URLSearchParams"),O=l.getterFor("URLSearchParamsIterator"),C=/\+/g,j=Array(4),A=function(e){return j[e-1]||(j[e-1]=RegExp("((?:%[\\da-f]{2}){"+e+"})","gi"))},N=function(e){try{return decodeURIComponent(e)}catch(t){return e}},P=function(e){var t=e.replace(C," "),n=4;try{return decodeURIComponent(t)}catch(e){for(;n;)t=t.replace(A(n--),N);return t}},M=/[!'()~]|%20/g,L={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+"},I=function(e){return L[e]},R=function(e){return encodeURIComponent(e).replace(M,I)},D=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:P(r.shift()),value:P(r.join("="))}))},B=function(e){this.entries.length=0,D(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=O(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 D(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=p(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,x,z.entries),a(z,"toString",function(){for(var e,t=T(this).entries,n=[],r=0;r<t.length;)e=t[r++],n.push(R(e.key)+"="+R(e.value));return n.join("&")},{enumerable:!0}),c(q,"URLSearchParams"),r({global:!0,forced:!o},{URLSearchParams:q}),o||"function"!=typeof E||"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"===h(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)),E.apply(this,i)}}),e.exports={URLSearchParams:q,getState: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(1435),i=n(830),o=n(831);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,n){var r=n(358)(n(643));e.exports=r},function(e,t,n){var r=n(206),i=n(330),o=r(function(e){return i(e.length,e)});e.exports=o},function(e,t,n){(t=e.exports=n(841)).Stream=t,t.Readable=t,t.Writable=n(648),t.Duplex=n(332),t.Transform=n(845),t.PassThrough=n(1465)},function(e,t,n){var r=n(331),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(509);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(423));u.inherits=n(241);var l={deprecate:n(1463)},d=n(843),f=n(647).Buffer,p=i.Uint8Array||function(){};var h,m=n(844);function v(){}function g(e,t){s=s||n(332),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(x,e,t),e._writableState.errorEmitted=!0,e.emit("error",r)):(i(r),e._writableState.errorEmitted=!0,e.emit("error",r),x(e,t))}(e,n,r,t,i);else{var a=E(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(332),!(h.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(),x(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 E(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"),x(e,t)})}function x(e,t){var n=E(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]?(h=Function.prototype[Symbol.hasInstance],Object.defineProperty(y,Symbol.hasInstance,{value:function(e){return!!h.call(this,e)||this===y&&(e&&e._writableState instanceof g)}})):h=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 p);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,x(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(297),n(1461).setImmediate,n(108))},function(e,t,n){"use strict";var r=n(1464).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=p)}this.lastNeed=0,this.lastTotal=0,this.lastChar=r.allocUnsafe(t)}function a(e){return e<=127?0:e>>5==6?2:e>>4==14?3:e>>3==30?4:e>>6==2?-1:-2}function s(e){var t=this.lastTotal-this.lastNeed,n=function(e,t,n){if(128!=(192&t[0]))return e.lastNeed=0,"�";if(e.lastNeed>1&&t.length>1){if(128!=(192&t[1]))return e.lastNeed=1,"�";if(e.lastNeed>2&&t.length>2&&128!=(192&t[2]))return e.lastNeed=2,"�"}}(this,e);return void 0!==n?n:this.lastNeed<=e.length?(e.copy(this.lastChar,t,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal)):(e.copy(this.lastChar,t,0,e.length),void(this.lastNeed-=e.length))}function 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 p(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(651);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(850)),o=c(n(858)),a=c(n(653)),s=c(n(859));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(297))},function(e,t,n){"use strict";t.__esModule=!0,t.default=function(e,t){new o.default(t).stringify(e)};var r,i=n(858),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(1508)),i=o(n(853));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(651);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(650)),o=a(n(655));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 p=f;this.nodes.unshift(p)}for(var h in this.indexes)this.indexes[h]=this.indexes[h]+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(654)(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),p=0;for(d=f?d:d[Symbol.iterator]();;){var h;if(f){if(p>=d.length)break;h=d[p++]}else{if((p=d.next()).done)break;h=p.value}var m=h;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(511))(e)]}else if(e.name){e=[new(n(510))(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(657);a=new s}else if("atrule"===e.type){var c=n(510);a=new c}else if("rule"===e.type){var u=n(511);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(651)).default);t.default=s,e.exports=t.default},function(e,t,n){"use strict";t.__esModule=!0;var r,i=n(656);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(861))(new(n(860)),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(359)(n(242),"Map");e.exports=r},function(e,t,n){var r=n(1536),i=n(1543),o=n(1545),a=n(1546),s=n(1547);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(275),i=n(518),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,n){var r=n(1592);e.exports="function"==typeof Object.assign?Object.assign:r},function(e,t,n){var r=n(411),i=n(142);e.exports="process"==r(i.process)},function(e,t,n){
/** @license ISC License (c) copyright 2016 original and current authors */
var r=n(237);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(299),i=n(897),o=n(601),a=n(183);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){e.exports=Number.isInteger||function(e){return e<<0===e}},function(e,t){e.exports=
/** @license ISC License (c) copyright 2016 original and current authors */
function(e){return Array.isArray(e)}},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",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 2016 original and current authors */
var r=n(1672),i=n(243),o=n(1673);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(672);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(19),i=n(146),o=n(901),a=n(1701),s=n(33);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(529),i=n(19);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(64),i=n(188);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,n){var r=n(415),i=n(151),o=n(182),a=n(220).f,s=n(496),c=n(1793),u=s("meta"),l=0,d=Object.isExtensible||function(){return!0},f=function(e){a(e,u,{value:{objectID:"O"+ ++l,weakData:{}}})},p=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&&p.REQUIRED&&d(e)&&!o(e,u)&&f(e),e}};r[u]=!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,n){
/** @license ISC License (c) copyright 2016 original and current authors */
var r=n(1829),i=n(276),o=n(937);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(1875),i=n(277),o=n(952);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(1913),i=n(431);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){(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,n){var r=n(2108),i=n(438);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(336)(n(278),"Map");e.exports=r},function(e,t,n){var r=n(2125),i=n(2132),o=n(2134),a=n(2135),s=n(2136);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(1102),i=n(688);e.exports=function(e){return null!=e&&i(e.length)&&!r(e)}},function(e,t,n){var r=n(2171),i=n(2174),o=n(2185),a=n(279),s=n(2186);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(279),i=n(545),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(2274),i=n(2229).concat("length","prototype");t.f=Object.getOwnPropertyNames||function(e){return r(e,i)}},function(e,t,n){var r=n(178),i=n(2277),o=n(2229),a=n(2278),s=n(2226),c=n(1244)("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(1117)[c]=!0},function(e,t,n){"use strict";var r=n(482),i=n(223),o=n(693);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(1116)("meta"),i=n(1124),o=n(167),a=n(265),s=n(223).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(1117)[r]=!0},function(e,t,n){var r=n(1397),i=n(19);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){var r=n(19);e.exports=r(function(e,t){return null!=t&&t.constructor===e||t instanceof e})},function(e,t,n){var r=n(19);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){"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,p=void 0===f?"false":f,h=t.decorative;return e.createElement("svg",{viewBox:"0 0 16 8",width:c,height:l,className:i()("i",d),focusable:p,"aria-hidden":h?"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,p=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:p},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(19),i=n(146),o=n(1413),a=n(1415);e.exports=r(i([],a,o))},function(e,t,n){var r=n(19),i=n(146),o=n(1611);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){e.exports=n(1614)},function(e,t,n){var r=n(64);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(19),i=n(530);e.exports=r(function(e,t){return i(function(e,t,n){return t},e,t)})},function(e,t,n){var r=n(19),i=n(530);e.exports=r(function(e,t){return i(function(e,t,n){return n},e,t)})},function(e,t,n){var r=n(57);e.exports=r(function(e){return-e})},function(e,t,n){var r=n(19),i=n(37),o=n(640);e.exports=r(function(e,t){return i(o(e.length,t),e)})},function(e,t,n){var r=n(428);e.exports=r(0,"toUpperCase")},function(e,t,n){
/** @license ISC License (c) copyright 2016 original and current authors */
var r=n(2008),i=r.Nothing,o=r.Just,a=n(533),s=n(125),c=n(430);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(138),i=n.n(r),o=n(184),a=n.n(o),s=n(168),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";var r=n(1),i=n.n(r),o=n(0),a=n.n(o),s=n(1132),c=n.n(s),u=n(16),l=n.n(u),d=n(7),f=n.n(d),p=n(129),h=n.n(p),m=n(256),v=n.n(m),g=n(89),y=n.n(g)()(v()(/^#([0-9a-f]{3}|[0-9a-f]{6})$/i),l()("#FFF")),b=h()({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,colorTransparent:n+"1A",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(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(568),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(47),i=n.n(r),o=n(32),a=n.n(o),s=n(40),c=n.n(s),u=n(31),l=n.n(u),d=n(34),f=n.n(d),p=n(8),h=n(14),m=n.n(h),v=n(228),g=n.n(v),y=n(55),b=n.n(y),_=n(26),w=n.n(_),E=n(22),k=n(315);function x(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?x(Object(n),!0).forEach(function(t){Object(p.a)(e,t,n[t])}):f.a?Object.defineProperties(e,f()(n)):x(Object(n)).forEach(function(t){Object.defineProperty(e,t,l()(n,t))})}return e}var T=Object(E.c)("RBC_URI"),O="".concat(T,"/api/partner_content"),C=("".concat(O,"/types"),b()("".concat(O,"/")),{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:O,data:g()({ids:e})},C))).call(t,w()(["data","content"]))}},function(e,t,n){e.exports=n(1896)},function(e,t,n){"use strict";n.d(t,"a",function(){return b});var r=n(391),i=n.n(r),o=n(7),a=n.n(o),s=n(55),c=n.n(s),u=n(21),l=n.n(u),d=n(48),f=n.n(d),p=n(369),h=n.n(p),m=n(103),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),h.a)}},function(e,t,n){"use strict";var r=n(8),i=n(40),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(51),p=n(55),h=n.n(p),m=n(60),v=n.n(m),g=n(204),y=n.n(g),b=n(33),_=n.n(b),w=n(28),E=n.n(w),k=n(61),x=n(52),S=n(22),T=n(586),O=(n(1993),h()("partner-content-book-info__")),C={track:T.a};t.a=Object(f.b)(null,C)(function(e){var t=e.authors,n=e.backgroundColor,i=e.bookImage,a=e.bookTitle,l=e.buyLink,f=e.block,p=e.publishedAt,h=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",C=Object(x.e)(n),j=d()(Object(r.a)({},O("book-image-block"),f&&!C),Object(r.a)({},O("book-image-block")&&O("dark-theme-book-image"),f&&C),Object(r.a)({},O("book-image-course"),!f)),A=O(f?"flex-block":"flex-course"),N=O(f?"image-container-block":"image-container-course"),P=d()(O("small-text"),Object(r.a)({},O("dark-theme"),C)),M=d()(O("black-text"),Object(r.a)({},O("dark-theme"),C)),L=d()(O("button"),Object(r.a)({},O("dark-theme-button"),C)),I=Object(k.f)({height:"210",width:"140",imageKey:i}),R=Object(c.useCallback)(function(){S.e&&p&&h({event:"Click Tracked",payload:E()(m,{type:"Buy Link"})})},[p,h,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:N},i?u.a.createElement("img",{src:I,alt:"",className:j}):u.a.createElement("div",{className:j})),u.a.createElement("div",{className:O("text-container")},u.a.createElement("p",{className:P},"From ",w,"'",T),u.a.createElement("p",{className:M},a),u.a.createElement("a",{className:L,href:l,onClick:R,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(55),u=n.n(c),l=n(28),d=n.n(l),f=n(51),p=n(61),h=n(52),m=n(22),v=n(586),g=(n(1994),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(p.d)():Object(p.e)(),v=g(n?"nbic-logo-light-bulb":"nbic-logo"),y=g(n?"block-logo-container":"logo-container"),b=Object(h.e)(t),_=s()(g("small-text"),Object(r.a)({},g("dark-theme"),b)),w=s()(g("black-text"),Object(r.a)({},g("dark-theme"),b)),E=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:E,href:a,onClick:k,rel:"noopener noreferrer",target:"_blank"},"Learn more")))})},function(e,t,n){"use strict";var r=n(0),i=n.n(r),o=n(2),a=n.n(o),s=n(36);n(1998);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.A,{"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(17),a=n(9),s=n(10),c=n(6),u=n(11),l=n(13),d=n(5),f=(n(2017),n(2)),p=n.n(f),h=n(7),m=n.n(h),v=n(253),g=n.n(v),y=n(65),b=n.n(y),_=n(121),w=n.n(_),E=n(56),k=n.n(E),x=n(15),S=n.n(x),T=n(61),O=n(611);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(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=C(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=p()("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(O.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 p()("labeled-graphic-canvas",{"labeled-graphic-canvas--visible":this.state.imageLoaded})}},{key:"onNextClick",value:function(e){var t=this.props.items,n=S()("id",t[w()(e)]||t[0]);this.onItemSelected(n)}},{key:"onPreviousClick",value:function(e){var t=this.props.items,n=S()("id",t[g()(e)]||t[g()(k()(t))]);this.onItemSelected(n)}},{key:"onItemSelected",value:function(e){var t=this.props,n=t.editBlock,r=t.items,i=t.onItemSelected,o=t.onStep,a=this.state.selectedItemId;n&&window.matchMedia("(max-width: 768px)").matches||(a===e?this.closeOpenedBubble():(this.openBubble(e),m()(o,b()(function(t){return t.id===e}))(r)),i(e))}},{key:"handleDocumentClick",value:function(){document.querySelector("[data-iz-overlay]")||this.closeOpenedBubble()}},{key:"handleMarkerClick",value:function(e){var t=e.detail,n=t.itemId,r=t.parentId,i=this.state.selectedItemId;r===this.props.parentId&&i===n||this.closeOpenedBubble()}},{key:"openBubble",value:function(e){if(window.matchMedia("(max-width: 767px)").matches){var t=document.querySelector(".page-wrap");t&&t.classList.add("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(17),a=n(8),s=n(9),c=n(10),u=n(6),l=n(11),d=n(13),f=n(5),p=n(4),h=n.n(p),m=n(14),v=n.n(m),g=(n(2035),n(197)),y=n.n(g),b=n(16),_=n.n(b),w=n(257),E=n.n(w),k=n(27),x=n.n(k),S=n(147),T=n.n(S),O=n(2),C=n.n(O),j=n(109),A=n.n(j),N=n(7),P=n.n(N),M=n(38),L=n.n(M),I=n(85),R=n(37),D=n.n(R),B=n(129),F=n.n(B),U=n(65),q=n.n(U),z=n(173),H=n.n(z),V=n(450),W=n.n(V),Y=n(124),G=n.n(Y),K=n(86),X=n.n(K),$=n(43),Q=n.n($),Z=n(79),J=n.n(Z),ee=n(60),te=n.n(ee),ne=n(29),re=n.n(ne),ie=n(33),oe=n.n(ie),ae=n(28),se=n.n(ae),ce=n(709),ue=n.n(ce),le=n(122),de=n.n(le),fe=n(157),pe=n.n(fe),he=n(21),me=n.n(he),ve=n(91),ge=n.n(ve),ye=n(24),be=n.n(ye),_e=n(15),we=n.n(_e),Ee=n(18),ke=n.n(Ee),xe=n(48),Se=n.n(xe),Te=n(1),Oe=n.n(Te),Ce=n(120),je=n.n(Ce),Ae=n(71),Ne=n.n(Ae),Pe=n(80),Me=n.n(Pe),Le=n(597),Ie=n(61),Re=n(82),De=n(36),Be=n(23),Fe=n(42),Ue=n(1209),qe=n(25);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=P()(G()("poses"),Se()({},"character"),X.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=h()(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)),p=be()(me()(null,["poses",f(o)]),He(Ie.b));return{name:i.name,pose:p(i)}}},{key:"fetchCharacters",value:function(){var e=this.props,t=e.getCharacter,n=e.items,r=e.onItemUpdate,i=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 x()("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,p={activeSlide:c+1},h={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),_()(h)],[Ne.a,_()(p)]]),y=J()(_()(l),_()(m),_()({activeScene:0,activeSlide:0})),b=L()([[D()("slide"),pe()(v,[t])],[D()("next"),g],[D()("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=h()(t="".concat(i,".")).call(t,o),u=x()("response",e),l=x()("hasFeedback",!0),d=F()(Object(a.a)({},"".concat(c),u)),f=F()(Object(a.a)({},"".concat(c),l)),p=P()(f,d);this.setState({slides:d(s)}),this.feedbackRef=setTimeout(function(){return n.setState({slides:p(s)})},1300)}},{key:"onTryAgainClick",value:function(){var e,t=this.state,n=t.activeScene,r=t.activeSlide,i=t.slides,o=h()(e="".concat(n,".")).call(e,r),s=E()({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=P()(Ve,Se()({},"character"),X.a),p=P()(G()("poses"),Se()({},"character"),X.a),h=P()(Me.a,me()({},["character","poses"])),m=P()(H.a,Me.a,oe()(h)),g={"aria-label":"Scenario",className:C()("scenario-block",{"scenario-block--initiated":u,"scenario-block--mobile":Re.a.isMobile,"scenario-block--sidebar-open":o,"scenario-block--loading":f(i)&&!p(i)}),ref:"scenario",role:"group",style:window.innerWidth<480?{height:window.innerHeight}:null,tabIndex:Be.a},y=be()(X.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],[Ne.a,_()(null)]]),w=d&&"text"===d.type&&!d.hasCharacter,E=C()("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:E},p(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:C()("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?P()(this.onFocus,this.onTryAgainClick):P()(this.onFocus,pe()(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(De.k,null)," ",n)},u=be()(Object(Le.b)(n),function(e){var t,n=e.scene,r=e.slide;return h()(t="Scene ".concat(n+1," Slide ")).call(t,r+1)}),l=function(e,t){var n=t.goTo,r=t.nextSlide;return L()([[D()("next"),pe()(c,[e,"Next Slide"])],[D()("end"),pe()(c,[e,"End of Scenario"])],[Ne.a,pe()(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,p=1===r?l:r-1,h=0===r&&1===u,m=r===u,v=this.refs["dialogue-".concat(f)],g=m&&this.refs["dialogue-".concat(p)],y=v&&v.offsetHeight,b=m&&g&&g.offsetHeight,w=d?30:0,E=window.innerWidth<480?20:30,k=2*E+60+b-w,x=E+60-w,S=ue()(y+w-60),T=C()("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)),O=L()([[_()(h),_()(null)],[D()(u),_()({top:"".concat(k,"px")})],[D()(u-1),_()({top:"".concat(x,"px")})],[D()(u-2),_()({top:"".concat(S,"px")})],[Ne.a,_()({top:"-".concat(y+30,"px")})]]),j={className:T,ref:"dialogue-".concat(f),style:O(r)},A={appear:!0,classNames:"scenario-block__dialogue-",key:r,timeout:{enter:700,exit:400}},N=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)&&N)))}},{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[h()(n="".concat(i,".")).call(n,o)]||{},l=P()(H.a,Le.a,se()(u))(t),d=u.hasFeedback,f=u.response,p=(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(p)},_={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=P()(this.onFocus,pe()(this.onClick,["end",null])),o=C()(["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=C()("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:h()(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?_()():P()(this.onFocus,pe()(this.onResponseClick,[n])),o={className:C()(["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,p=C()("scenario-block__text","scenario-block__content",{"scenario-block__text--no-character":!i,"scenario-block__text--short":f}),h={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=P()(this.onFocus,pe()(this.onClick,[r,s])),y={className:"scenario-block__text__continue brand--background brand--ui",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,h,e.createElement("div",{className:p,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=h()(n="".concat(e,".")).call(n,t);this.setState({slides:x()(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 x()(h()(i="".concat(r,".")).call(i,n),{hasFeedback:!1,response:null},e)}),{}),E()(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=h()(e="".concat(r,".")).call(e,i),f=x()("hasFeedback",!0),p=F()(Object(a.a)({},d,f));"dialogue"===l&&te()(u)&&this.setState({slides:p(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:Oe.a.array.isRequired,labels:Oe.a.object.isRequired,menuOpen:Oe.a.bool,onItemUpdate:Oe.a.func,onStep:Oe.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(2037),n(197)),d=n.n(l),f=n(2),p=n.n(f),h=n(53),m=n.n(h),v=n(65),g=n.n(v),y=n(33),b=n.n(y),_=n(28),w=n.n(_),E=n(122),k=n.n(E),x=n(21),S=n.n(x),T=n(24),O=n.n(T),C=n(15),j=n.n(C),A=n(18),N=n.n(A),P=n(314),M=n.n(P),L=n(1211),I=n(1212),R=n(23);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 B=n(68).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=D(r);function r(e){var t;return Object(o.a)(this,r),(t=n.call(this,e)).state={items:M()(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:M()(e.items)});else{var t=b()(function(e){return function(t){return O()(g()(N()("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,h=U({items:r,progress:c});return e.createElement("div",{"aria-label":f,className:(t=o,p()("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:h,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:h&&h[0],id:t.id,key:t.id,lessonId:a,onCardDrop:u,onNavigateToNext:function(){return Object(R.e)({list:n.pileRefs,currentIndex:r})},onNavigateToPrevious:function(){return Object(R.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 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(14),f=n.n(d),p=(n(2044),n(2)),h=n.n(p),m=n(37),v=n.n(m),g=n(246),y=n.n(g),b=n(15),_=n.n(b),w=n(1),E=n.n(w),k=n(475),x=n(730),S=n(59);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 O=n(68).b.blocks,C=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(x.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=h()("page__content-container",{timeline__block:r,"timeline-dark-theme":n});return e.createElement("div",{"aria-label":o,className:a,"data-ba":O.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:E.a.bool,id:E.a.any.isRequired,isBlock:E.a.bool,isLearner:E.a.bool,items:E.a.array.isRequired,labels:E.a.object.isRequired,onEnter:E.a.func.isRequired,onLeave:E.a.func.isRequired,progress:E.a.object.isRequired}}}]),r}(e.Component)}).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(2047),n(27)),d=n.n(l),f=n(2),p=n.n(f),h=n(135),m=n.n(h),v=n(91),g=n.n(v),y=n(48),b=n.n(y),_=n(1),w=n.n(_),E=n(580),k=n(23),x=n(259),S=n(115),T=n(1214),O=n(42),C=n(192);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(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 A=function(t){Object(s.a)(r,t);var n=j(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(T.a)(t)){var r=t.embed?Object(x.b)(t.embed):void 0,i=p()({"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),h=p()("timeline-card",{"timeline-card--active":r});return e.createElement("div",{className:h,"data-id":s,ref:this.props.innerRef},e.createElement(E.a,{"aria-label":N(n,i),className:"timeline-card__body brand--beforeBackground",onFocus:a,role:S.b,tabIndex:k.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(O.a,{value:n.title}))),o?this.renderMedia(l,c):null,o?this.renderMedia(d,c):null,e.createElement(O.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),N=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(298),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),p=n.n(f);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 m=function(e){Object(s.a)(n,e);var t=h(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:p.a.number,classes:p.a.string,isPreview:p.a.bool,isSidebar:p.a.bool}}}]),n}(l.Component)},function(e,t,n){"use strict";var r=n(8),i=n(40),o=n.n(i),a=n(14),s=n.n(a),c=n(0),u=n.n(c),l=n(55),d=n.n(l),f=n(65),p=n.n(f),h=n(26),m=n.n(h),v=n(18),g=n.n(v),y=n(2),b=n.n(y),_=n(61),w=(n(2225),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=p()(g()("id",c),t),d=m()(["data","authors"],l),f=a?d:t,h=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)),E=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()(h).call(h,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:E(e)}}),u.a.createElement("span",{className:y},e.name))})))}},function(e,t,n){"use strict";n.d(t,"b",function(){return J}),n.d(t,"a",function(){return ee});var r=n(41),i=n.n(r),o=n(7),a=n.n(o),s=n(390),c=n.n(s),u=n(79),l=n.n(u),d=n(575),f=n.n(d),p=n(28),h=n.n(p),m=n(707),v=n.n(m),g=n(26),y=n.n(g),b=n(21),_=n.n(b),w=n(165),E=n.n(w),k=n(251),x=n.n(k),S=c()(h.a,function(e){var t=e.src;return{media:{image:{key:T(t),src:t}}}},function(e){return{alpha:e.alpha,overlayColor:e.overlayColor}}),T=function(e){var t;return f()(e)?i()(t=x.a.parse(e).pathname).call(t,1):""},O=E()(Boolean,"theme"),C=function(e,t){return c()(v.a,function(e){return y()([e])}(t),function(e){return a()(S,e,_()({},["theme"]))}(e))},j=function(e,t){return l()(O,C(e,t),y()([t]))},A=n(52),N=n(152),P=n.n(N),M=n(185),L=n.n(M),I=n(160),R=n.n(I),D=n(29),B=n.n(D),F=n(91),U=n.n(F),q=n(743),z=n.n(q),H=n(377),V=n.n(H),W=n(89),Y=n.n(W),G=n(54),K=["bodyTypeface","coverImage","headingTypeface","lessonHeaderImage","media","theme","uiTypeface"],X=c()(R.a,y()(["color"]),y()(["theme","colorAccent"])),$=c()(R.a,y()(["showLessonCount"]),y()(["theme","showLessonCount"])),Q=a()(z()({coverImageAlpha:"alpha",coverImage:"src"}),U()(["coverImageAlpha","coverImage"])),Z=a()(z()({lessonHeaderImageAlpha:"alpha",lessonHeaderImageColor:"overlayColor",lessonHeaderImage:"src"}),U()(["lessonHeaderImageAlpha","lessonHeaderImage","lessonHeaderImageColor"])),J=Y()(E()(B.a,"theme"),V()(h.a,P()({allowSearch:y()(["theme","allowSearch"]),animateBlockEntrance:_()(!0,["theme","animateBlockEntrance"]),buttonNavigationStyle:y()(["theme","buttonNavigationStyle"]),buttonScheme:y()(["theme","buttonScheme"]),color:X,colorAccentTint:a()(A.h,X),coverImage:j(Q,"coverImage"),coverPageType:y()(["theme","coverPageType"]),enableVideoPlaybackSpeed:_()(!0,["theme","enableVideoPlaybackSpeed"]),lessonHeaderImage:j(Z,"lessonHeaderImage"),lessonHeaderSize:y()(["theme","lessonHeaderSize"]),lessonHeaderStyle:y()(["theme","lessonHeaderStyle"]),markComplete:_()(!1,["theme","markLessonsComplete"]),navigation:_()(!0,["theme","navigation"]),navigationMode:function(e){return e.theme.navigationRestricted?G.h.RESTRICTED:G.h.FREE},navigationRestricted:_()(!1,["theme","navigationRestricted"]),navigationStyle:y()(["theme","navigationStyle"]),navigationType:_()(G.k.SIDEBAR,["theme","navigationType"]),themeId:_()("classic",["theme","themeId"]),showAuthor:_()(!0,["theme","showAuthor"]),showLessonCount:$,sidebarMode:function(e){var t=e.theme.sidebarStartsOpen;return B()(t)||t?G.l.OPEN:G.l.CLOSED},sidebarStartsOpen:_()(!0,["theme","sidebarMode"]),showNavigationButtons:_()(!0,["theme","showNavigationButtons"])}))),ee=L()(function(e){return a()(J,h()(e),U()(K))})},function(e,t,n){"use strict";n.d(t,"b",function(){return z});var r,i=n(8),o=n(179),a=n.n(o),s=n(16),c=n.n(s),u=n(152),l=n.n(u),d=n(27),f=n.n(d),p=n(109),h=n.n(p),m=n(55),v=n.n(m),g=n(49),y=n.n(g),b=n(124),_=n.n(b),w=n(442),E=n.n(w),k=n(24),x=n.n(k),S=n(15),T=n.n(S),O=n(46),C=n.n(O),j=n(180),A=n(194),N=n.n(A),P=n(341),M=n.n(P),L=N()(2,function(e){return M()(Object(j.error)(e),Object(j.action)(e))}),I=n(200),R=v()("rise/learningPathUpNext/"),D=R("FETCH_LP_UP_NEXT"),B=R("FETCH_LP_UP_NEXT_PENDING"),F=h()(_()("id")),U=y()(l()({nextCourse:C()(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,D,Object(j.onSuccess)(U)),Object(i.a)(r,B,q),r)),E()([Object(j.action)(B),x()(a.a.fromPromise(I.e),L(D))]))},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,p=a[e.options.currentLocale],h=!1,m=!1,v="",g="",y=!1;if(t=t||0,s=Math.abs(t),e._.includes(n,"(")?(h=!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+=p.abbreviations.trillion,t/=1e12):s<1e12&&s>=1e9&&!o||"b"===o?(v+=p.abbreviations.billion,t/=1e9):s<1e9&&s>=1e6&&!o||"m"===o?(v+=p.abbreviations.million,t/=1e6):(s<1e6&&s>=1e3&&!o||"k"===o)&&(v+=p.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,".")?p.delimiters.decimal+g.split(".")[1]:"",m&&0===Number(g.slice(1))&&(g="")):c=e._.toFixed(t,0,r),v&&!o&&Number(c)>=1e3&&v!==p.abbreviations.trillion)switch(c=String(Number(c)/1e3),v){case p.abbreviations.thousand:v=p.abbreviations.million;break;case p.abbreviations.million:v=p.abbreviations.billion;break;case p.abbreviations.billion:v=p.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"+p.delimiters.thousands)),0===n.indexOf(".")&&(c=""),f=c+g+(v||""),h?f=(h&&y?"(":"")+f+(h&&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,n){var r=n(1421);"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){e.exports=function(e){return e}},function(e,t,n){e.exports=n(1687)},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,p=n.Promise,h=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=h;h=function(e,t){var n=t.signal;return b(e,{headers:t.headers,credentials:t.credentials,cache:t.cache}).then(function(e){var t=e.body.getReader();return n._reader=t,n._aborted&&n._reader.cancel(),{status:e.status,statusText:e.statusText,headers:e.headers,body:{getReader:function(){return t}}}})},y=function(){this.signal={_reader:null,_aborted:!1},this.abort=function(){null!=this.signal._reader&&this.signal._reader.cancel(),this.signal._aborted=!0}}}function _(){this.bitsNeeded=0,this.codePoint=0}_.prototype.decode=function(e){function t(e,t,n){if(1===n)return e>=128>>t&&e<<t<=2047;if(2===n)return e>=2048>>t&&e<<t<=55295||e>=57344>>t&&e<<t<=65535;if(3===n)return e>=65536>>t&&e<<t<=1114111;throw new Error}function n(e,t){if(6===e)return t>>6>15?3:t>31?2:1;if(12===e)return t>15?3:2;if(18===e)return 3;throw new Error}for(var r="",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 E(e){this.withCredentials=!1,this.readyState=0,this.status=0,this.statusText="",this.responseText="",this.onprogress=w,this.onload=w,this.onerror=w,this.onreadystatechange=w,this._contentType="",this._xhr=e,this._sendTimeout=0,this._abort=w}function k(e){return e.replace(/[A-Z]/g,function(e){return String.fromCharCode(e.charCodeAt(0)+32)})}function x(e){for(var t=Object.create(null),n=e.split("\r\n"),r=0;r<n.length;r+=1){var i=n[r].split(": "),o=i.shift(),a=i.join(": ");t[k(o)]=a}this._map=t}function S(){}function T(e){this._headers=e}function O(){}function C(){this._listeners=Object.create(null)}function j(e){a(function(){throw e},0)}function A(e){this.type=e,this.target=void 0}function N(e,t){A.call(this,e),this.data=t.data,this.lastEventId=t.lastEventId}function P(e,t){A.call(this,e),this.status=t.status,this.statusText=t.statusText,this.headers=t.headers}function M(e,t){A.call(this,e),this.error=t.error}E.prototype.open=function(e,t){this._abort(!0);var n=this,r=this._xhr,i=1,o=0;this._abort=function(e){0!==n._sendTimeout&&(s(n._sendTimeout),n._sendTimeout=0),1!==i&&2!==i&&3!==i||(i=4,r.onload=w,r.onerror=w,r.onabort=w,r.onprogress=w,r.onreadystatechange=w,r.abort(),0!==o&&(s(o),o=0),e||(n.readyState=4,n.onabort(null),n.onreadystatechange())),i=0};var 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))},E.prototype.abort=function(){this._abort(!1)},E.prototype.getResponseHeader=function(e){return this._contentType},E.prototype.setRequestHeader=function(e,t){var n=this._xhr;"setRequestHeader"in n&&n.setRequestHeader(e,t)},E.prototype.getAllResponseHeaders=function(){return null!=this._xhr.getAllResponseHeaders&&this._xhr.getAllResponseHeaders()||""},E.prototype.send=function(){if("ontimeout"in 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)}},x.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 x(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)},O.prototype.open=function(e,t,n,r,i,o,a){var s=null,c=new y,u=c.signal,l=new v;return h(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 p(function(e,t){var r=function(){s.read().then(function(t){if(t.done)e(void 0);else{var i=l.decode(t.value,{stream:!0});n(i),r()}}).catch(function(e){t(e)})};r()})}).catch(function(e){return"AbortError"===e.name?void 0:e}).then(function(e){r(e)}),{abort:function(){null!=s&&s.cancel(),c.abort()}}},C.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)}}},C.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)},C.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}},N.prototype=Object.create(A.prototype),P.prototype=Object.create(A.prototype),M.prototype=Object.create(A.prototype);var L=-1,I=0,R=1,D=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){C.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,p=0,h=n.headers||{},m=n.Transport,v=K&&null==m?void 0:new E(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 O:new S,y=void 0,b=0,_=L,w="",k="",x="",T="",C=F,j=0,A=0,G=function(t,n,r,o){if(_===I)if(200===t&&null!=r&&H.test(r)){_=R,f=!0,d=i,e.readyState=R;var a=new P("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 P("error",{status:t,statusText:n,headers:o});e.dispatchEvent(a),Y(e,e.onerror,a),console.error(s)}},X=function(t){if(_===R){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,p+=t.length);for(var h=0;h<u.length;h+=1){var c=u.charCodeAt(h);if(C===B&&c==="\n".charCodeAt(0))C=F;else if(C===B&&(C=F),c==="\r".charCodeAt(0)||c==="\n".charCodeAt(0)){if(C!==F){C===U&&(A=h+1);var m=u.slice(j,A-1),v=u.slice(A+(A<h&&u.charCodeAt(A)===" ".charCodeAt(0)?1:0),h);"data"===m?(w+="\n",w+=v):"id"===m?k=v:"event"===m?x=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(C===F){if(""!==w){l=k,""===x&&(x="message");var g=new N(x,{data:w.slice(1),lastEventId:k});if(e.dispatchEvent(g),"open"===x?Y(e,e.onopen,g):"message"===x?Y(e,e.onmessage,g):"error"===x&&Y(e,e.onerror,g),_===D)return}w="",x=""}C=c==="\r".charCodeAt(0)?B:F}else C===F&&(j=h,C=U),C===U?c===":".charCodeAt(0)&&(A=h+1,C=q):C===q&&(C=z)}}},$=function(t){if(_===R||_===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 M("error",{error:t});e.dispatchEvent(n),Y(e,e.onerror,n)}},Q=function(){_=D,null!=y&&(y.abort(),y=void 0),0!==b&&(s(b),b=0),e.readyState=D},Z=function(){if(b=0,_===L){f=!1,p=0,b=a(function(){Z()},o),_=I,w="",x="",k=l,T="",j=0,A=0,C=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)):($(new Error("No activity within "+o+" milliseconds. "+(_===I?"No response received.":p+" chars received.")+" Reconnecting.")),null!=y&&(y.abort(),y=void 0))};e.url=t,e.readyState=I,e.withCredentials=r,e.headers=h,e._close=Q,Z()}(this,e,t)}var K=null!=h&&null!=m&&"body"in m.prototype;G.prototype=Object.create(C.prototype),G.prototype.CONNECTING=I,G.prototype.OPEN=R,G.prototype.CLOSED=D,G.prototype.close=function(){this._close()},G.CONNECTING=I,G.OPEN=R,G.CLOSED=D,G.prototype.withCredentials=void 0;var X=d;null==c||null!=d&&"withCredentials"in d.prototype||(X=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=X})}("undefined"!=typeof window?window:"undefined"!=typeof self?self:this)},function(e,t,n){"use strict";(function(e){var r=n(0),i=n.n(r),o=n(153),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(108))},function(e,t,n){var r=n(1890);e.exports=p,e.exports.parse=o,e.exports.compile=function(e,t){return s(o(e,t),t)},e.exports.tokensToFunction=s,e.exports.tokensToRegExp=f;var i=new RegExp(["(\\\\.)","([\\/.])?(?:(?:\\:(\\w+)(?:\\(((?:\\\\.|[^\\\\()])+)\\))?|\\(((?:\\\\.|[^\\\\()])+)\\))([+*?])?|(\\*))"].join("|"),"g");function o(e,t){for(var n,r=[],o=0,a=0,s="",l=t&&t.delimiter||"/";null!=(n=i.exec(e));){var d=n[0],f=n[1],p=n.index;if(s+=e.slice(a,p),a=p+d.length,f)s+=f[1];else{var h=e[a],m=n[2],v=n[3],g=n[4],y=n[5],b=n[6],_=n[7];s&&(r.push(s),s="");var w=null!=m&&null!=h&&h!==m,E="+"===b||"*"===b,k="?"===b||"*"===b,x=n[2]||l,S=g||y;r.push({name:v||o++,prefix:m||"",delimiter:x,optional:k,repeat:E,partial:w,asterisk:!!_,pattern:S?u(S):_?".*":"[^"+c(x)+"]+?"})}}return a<e.length&&(s+=e.substr(a)),s&&r.push(s),r}function a(e){return encodeURI(e).replace(/[\/?#]/g,function(e){return"%"+e.charCodeAt(0).toString(16).toUpperCase()})}function s(e,t){for(var n=new Array(e.length),i=0;i<e.length;i++)"object"==typeof e[i]&&(n[i]=new RegExp("^(?:"+e[i].pattern+")$",d(t)));return function(t,i){for(var o="",s=t||{},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 p=0;p<f.length;p++){if(d=c(f[p]),!n[u].test(d))throw new TypeError('Expected all "'+l.name+'" to match "'+l.pattern+'", but received `'+JSON.stringify(d)+"`");o+=(0===p?l.prefix:l.delimiter)+d}}else{if(d=l.asterisk?encodeURI(f).replace(/[?#]/g,function(e){return"%"+e.charCodeAt(0).toString(16).toUpperCase()}):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),p="(?:"+u.pattern+")";t.push(u),u.repeat&&(p+="(?:"+f+p+")*"),a+=p=u.optional?u.partial?f+"("+p+")?":"(?:"+f+"("+p+"))?":f+"("+p+")"}}var h=c(n.delimiter||"/"),m=a.slice(-h.length)===h;return i||(a=(m?a.slice(0,-h.length):a)+"(?:"+h+"(?=$))?"),a+=o?"$":i&&m?"":"(?="+h+"|$)",l(new RegExp("^"+a,d(n)),t)}function p(e,t,n){return r(t)||(n=t||n,t=[]),n=n||{},e instanceof RegExp?function(e,t){var n=e.source.match(/\((?!\?)/g);if(n)for(var r=0;r<n.length;r++)t.push({name:r,prefix:null,delimiter:null,optional:!1,repeat:!1,partial:!1,asterisk:!1,pattern:null});return l(e,t)}(e,t):r(e)?function(e,t,n){for(var r=[],i=0;i<e.length;i++)r.push(p(e[i],t,n).source);return l(new RegExp("(?:"+r.join("|")+")",d(n)),t)}(e,t,n):function(e,t,n){return f(o(e,n),t,n)}(e,t,n)}},function(e,t,n){var r=n(645),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(304),i=n(466),o=n(1943),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:p,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,p=l.method=e.method||"GET",h=e.body||e.data,m=l.headers=e.headers||{},v=!!e.sync,g=!1,y={body:void 0,headers:{},statusCode:0,method:p,url:f,rawRequest:l};if("json"in e&&!1!==e.json&&(g=!0,m.accept||m.Accept||(m.Accept="application/json"),"GET"!==p&&"HEAD"!==p&&(m["content-type"]||m["Content-Type"]||(m["Content-Type"]="application/json"),h=JSON.stringify(!0===e.json?h: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(p,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(h||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(304),i=e.exports={WebVTT:n(1944),VTTCue:n(1947),VTTRegion:n(1948)};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),p=n(41),h=n.n(p),m=n(14),v=n.n(m),g=(n(1990),n(152)),y=n.n(g),b=n(2),_=n.n(b),w=n(575),E=n.n(w),k=n(0),x=n(51),S=n(22),T=n(119),O=n(104),C=n(384),j=n(74),A=n(25),N=n(42),P=n(23),M=n(1),L=n.n(M),I=n(59),R=n(82),D=n(290),B=n(258),F=n(16),U=n.n(F),q=n(26),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(68).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(N.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:P.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 p=this.props,h=p.handleNavigate,m=p.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 h(c)},role:"button",style:l,to:g})}if("exit-course"===s)return this.getButton(S.b,d,l,a);var y=Object(D.b)(U()("email"!==s),c);if("email"===s){var b,w=R.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:P.a,target:w})}var k=this.props,x=k.externalLinksDisabled,O=k.showExternalLinksModal,C=x&&Object(B.a)(y),j=C?void 0:y,A=""===j?"#":j,N=E()(A)?"_blank":void 0,M="_blank"===N?"noopener noreferrer":void 0,L=C?"button":void 0,I=C?O:void 0;return e.createElement("a",{className:d,dangerouslySetInnerHTML:{__html:a},href:A,onClick:I,rel:M,role:L,style:l,tabIndex:P.a,target:N})}},{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?h()(c).call(c,0,1):[],p=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}),E={backgroundColor:Object(j.a)("",g),paddingTop:"".concat(10*p,"px"),paddingBottom:"".concat(10*m,"px")};return e.createElement("div",{className:w,"data-ba":V.blockButton,style:E},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(C.a)(Object(O.d)(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(x.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}),p={backgroundColor:Object(j.a)("",l),paddingTop:"".concat(10*c,"px"),paddingBottom:"".concat(10*u,"px")},h={buttonColor:o.buttonColor||this.props.color,buttonStyle:o.buttonStyle};return e.createElement("div",{className:f,style:p},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,h))})))}}],[{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(2007)},function(e,t,n){
/** @license ISC License (c) copyright 2017 original and current authors */
e.exports=n(955)},function(e,t,n){
/** @license ISC License (c) copyright 2017 original and current authors */
var r=n(125),i=n(430),o=n(533);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(1079);n.d(t,"a",function(){return r.a});var i=n(1080);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,p=(f&&f.options||o).deltaSource,h=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-=h.x,b.y-=h.y,_.x-=h.x,_.y-=h.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:p,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-h.x,this.y0=t.startCoords.page.y-h.y,this.clientX0=t.startCoords.client.x-h.x,this.clientY0=t.startCoords.client.y-h.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[p].speed,this.velocityX=t.pointerDelta[p].vx,this.velocityY=t.pointerDelta[p].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"),p=f.getElementRect,h=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"),E=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)),p(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||h(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=E),_(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=E),_(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 p=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}(),h=0;h<d.length;h++){var m=d[h];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 h=t.changedTouches[d],m=h,v=c.search(m,t.type,s);l.push([m,v||new p({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 p({pointerType:n})),l.push([t,b])}}for(var _=0;_<l.length;_++){var w=l[_],E=w[0],k=w[1];k._updateEventTargets(s,u),k[e](E,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",_),p.pointerMoveTolerance=1,p.doOnInteractions=v,p.endAll=g,p.signals=u,p.docEvents=y,r.endAllInteractions=g,t.exports=p},{"./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 p(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 h(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&&p(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||h(t.activeDrops,t.element);var n=t.prevEvent,r=m(t,0,n);r.activate&&p(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&&h(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 p=n.getRect(r);if(p&&"center"===c){var h=p.left+p.width/2,m=p.top+p.height/2;s=h>=a.left&&h<=a.right&&m>=a.top&&m<=a.bottom}if(p&&i.is.number(c)){var v=Math.max(0,Math.min(a.right,p.right)-Math.max(a.left,p.left))*Math.max(0,Math.min(a.bottom,p.bottom)-Math.max(a.top,p.top)),g=v/(p.width*p.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 p in d)d[p]=f(p,u.edges[p],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 h="y"!==c.resize.axis&&s.x>a.right-l,m="x"!==c.resize.axis&&s.y>a.bottom-l;if(h||m)return{name:"resize",axes:(h?"x":"")+(m?"y":"")}}}return null},cursors:o.isIe9?{x:"e-resize",y:"s-resize",xy:"se-resize",top:"n-resize",left:"w-resize",bottom:"s-resize",right:"e-resize",topleft:"se-resize",bottomright:"se-resize",topright:"ne-resize",bottomleft:"ne-resize"}:{x:"ew-resize",y:"ns-resize",xy:"nwse-resize",top:"ns-resize",left:"ew-resize",bottom:"ns-resize",right:"ew-resize",topleft:"nwse-resize",bottomright:"nwse-resize",topright:"nesw-resize",bottomleft:"nesw-resize"},getCursor:function(e){if(e.axis)return d.cursors[e.name+e.axis];if(e.edges){for(var t="",n=["top","bottom","left","right"],r=0;r<4;r++)e.edges[n[r]]&&(t+=n[r]);return d.cursors[t]}}};function f(e,t,n,r,o,a,s){if(!t)return!1;if(!0===t){var 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,p=i.extend(r.resizeRects.previous,d),h=c,m=t.dx,v=t.dy;if(o.preserveAspectRatio||o.square){var g=o.preserveAspectRatio?r.resizeStartAspectRatio:1;c=r.prepared._linkedEdges,h.left&&h.bottom||h.right&&h.top?v=-m/g:h.left||h.right?v=m/g:(h.top||h.bottom)&&(m=v*g)}if(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]-p[b];t.edges=r.prepared.edges,t.rect=d,t.deltaRect=f}}),s.prototype.resizable=function(e){return i.is.object(e)?(this.options.resize.enabled=!1!==e.enabled,this.setPerAction("resize",e),this.setOnEvents("resize",e),/^x$|^y$|^xy$/.test(e.axis)?this.options.resize.axis=e.axis:null===e.axis&&(this.options.resize.axis=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 p=a.getElementClientRect(f);l=n.clientX<p.left+u.margin,r=n.clientY<p.top+u.margin,s=n.clientX>p.right-u.margin,c=n.clientY>p.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 p(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 h(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=p(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],p=f.prepared.name;if(f.interacting()){if(++a>=d.maxInteractions)return!1;if(f.target===e){if((s+=p===n.name|0)>=i)return!1;if(f.element===t&&(u++,p!==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=h(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=h(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,p=u>l?"x":u<l?"y":"xy";if(t.prepared.axis="start"===d.lockAxis?p[0]:d.lockAxis,"xy"!==p&&"xy"!==f&&f!==p){t.prepared.name=null;for(var h=n,m=function(e){if(e!==t.target){var i=t.target.options.drag;if(!i.manualStart&&e.testIgnoreAllow(i,h,n)){var o=e.getAction(t.downPointer,t.downEvent,t,h);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}(p,e)&&r.validateAction(o,e,h,n))return e}}};o.element(h);){var v=i.interactables.forEachMatch(h,m);if(v){t.prepared.name="drag",t.target=v,t.element=h;break}h=s(h)}}}})},{"../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 p=new r(t,n,t.prepared.name,"inertiaresume",t.element);t.target.fire(p),t.prevEvent=p,o.resetStatuses(t.modifierStatuses),a.copyCoords(t.prevCoords,t.curCoords);break}d=a.parentNode(d)}}),i.signals.on("up",function(e){var t=e.interaction,n=e.event,i=t.inertiaStatus;if(t.interacting()&&!i.active){var c=t.target,u=c&&c.options,l=u&&t.prepared.name&&u[t.prepared.name].inertia,d=(new Date).getTime(),f={},p=a.extend({},t.curCoords.page),h=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&&h>l.minSpeed&&h>l.endSpeed,b={interaction:t,pageCoords:p,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=h,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(p,t.curCoords.page),p.x+=i.xe,p.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 p=["down","move","up","cancel"],h=0;h<p.length;h++){var m=p[h];i.signals.on(m,f)}i.docEvents.dragstart=function(e){for(var t=0;t<o.interactions.length;t++){var n=o.interactions[t];if(n.element&&(n.element===e.target||l(n.element,e.target)))return void n.target.checkAndPreventDefault(e)}}},{"./Interactable":4,"./Interaction":5,"./scope":33,"./utils/browser":36,"./utils/domUtils":39,"./utils/events":40,"./utils/is":46}],23:[function(e,t,n){"use strict";var r=e("../InteractEvent"),i=e("../Interaction"),o=e("../utils/extend"),a={names:[],setOffsets:function(e){var t=e.interaction,n=e.pageCoords,r=t.target,i=t.element,o=t.startOffset,s=r.getRect(i);s?(o.left=n.x-s.left,o.top=n.y-s.top,o.right=s.right-n.x,o.bottom=s.bottom-n.y,"width"in s||(s.width=s.right-s.left),"height"in s||(s.height=s.bottom-s.top)):o.left=o.top=o.right=o.bottom=0,e.rect=s,e.interactable=r,e.element=i;for(var 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),p=o.xywhToTlbr(u(s.inner,n,f))||l,h=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(h.top+a.top,f.y),p.top+a.top):c.bottom&&(v=Math.max(Math.min(h.bottom-a.bottom,f.y),p.bottom-a.bottom)),c.left?m=Math.min(Math.max(h.left+a.left,f.x),p.left+a.left):c.right&&(m=Math.max(Math.min(h.right-a.right,f.x),p.right-a.right)),r.dx=m-f.x,r.dy=v-f.y,r.changed=r.modifiedX!==m||r.modifiedY!==v,r.locked=!(!r.dx&&!r.dy),r.modifiedX=m,r.modifiedY=v}},modifyCoords:function(e){var t=e.page,n=e.client,r=e.status,i=e.phase,o=e.options;if(o&&o.enabled&&("start"!==i||!r.locked)&&r.locked)return t.x+=r.dx,t.y+=r.dy,n.x+=r.dx,n.y+=r.dy,{dx:r.dx,dy:r.dy}},noInner:l,noOuter: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 p=0;p<s.relativePoints.length;p++){var h=s.relativePoints[p],m=h.x,v=h.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,p=0;p<a.length;p++)for(var h=a[p],m=h.x,v=h.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 E=(c=s[l]).range,k=c.x-u.x,x=c.y-u.y,S=o.hypot(k,x),T=S<=E;E===1/0&&w.inRange&&w.range!==1/0&&(T=!1),w.target&&!(T?w.inRange&&E!==1/0?S/E<w.distance/w.range:E===1/0&&w.range!==1/0||S<w.distance:!w.inRange&&S<w.distance)||(w.target=c,w.distance=S,w.range=E,w.inRange=T,w.dx=k,w.dy=x,r.range=E)}var O=void 0;w.target?(O=r.modifiedX!==w.target.x||r.modifiedY!==w.target.y,r.modifiedX=w.target.x,r.modifiedY=w.target.y):(O=!0,r.modifiedX=NaN,r.modifiedY=NaN),r.dx=w.dx,r.dy=w.dy,r.changed=O||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,p=void 0===l?f(e):l,h=e.pointerEvent,m=void 0===h?new r(u,n,i,a,t):h,v={interaction:t,pointer:n,event:i,eventTarget:a,targets:p,type:u,pointerEvent:m},g=0;g<p.length;g++){var y=p[g];for(var b in y.props||{})m[b]=y.props[b];var _=o.getOriginXY(y.eventable,y.element);if(m.subtractOrigin(_),m.eventable=y.eventable,m.currentTarget=y.element,y.eventable.fire(m),m.addOrigin(_),m.immediatePropagationStopped||m.propagationStopped&&g+1<p.length&&p[g+1].element!==m.currentTarget)break}if(s.fire("fired",v),"tap"===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 p=u[f];l.element=p,s.fire("collect-targets",l)}if(l.targets.length){for(var h=1/0,m=0;m<l.targets.length;m++){var v=l.targets[m],g=v.eventable.options.holdDuration;g<h&&(h=g)}c.duration=h,c.timeout=setTimeout(function(){d({interaction:t,eventTarget:i,pointer:n,event:r,type:"hold"})},h)}}),i.signals.on("up",function(e){var t=e.interaction,n=e.pointer,r=e.event,i=e.eventTarget;t.pointerWasMoved||d({interaction:t,eventTarget:i,pointer:n,event:r,type:"tap"})});for(var p=["up","cancel"],h=0;h<p.length;h++){var m=p[h];i.signals.on(m,function(e){var t=e.interaction,n=e.pointerIndex;t.holdTimers[n]&&clearTimeout(t.holdTimers[n].timeout)})}function v(e){return function(t){var n=t.interaction,r=t.pointer,i=t.event,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=[],p=[],h={},m=[],v=(r=!1,u.document.createElement("div").addEventListener("test",null,{get capture(){r=!0}}),r);function g(e,t,n,r){var i=E(r),o=f.indexOf(e),a=p[o];a||(a={events:{},typeCount:0},o=f.push(e)-1,p.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=E(r),o=f.indexOf(e),a=p[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||(p.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=E(t),r={},c=h[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 p=c.selectors[f],m=c.contexts[f];if(o.matchesSelector(d,p)&&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 E(e){return i.object(e)?e:{capture:e}}t.exports={add:g,remove:y,addDelegate:function(e,t,n,r,i){var o=E(i);if(!h[n]){h[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=h[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=E(i),a=h[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],p=d[1],m=d[2];if(f===r&&p===!!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||(h[n]=null)),s=!0;break}}if(s)break}},delegateListener:b,delegateUseCapture:_,delegatedEvents:h,documents:m,supportsOptions:v,_elements:f,_targets:p}},{"./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";(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(47),a=n.n(o),s=n(32),c=n.n(s),u=n(40),l=n.n(u),d=n(31),f=n.n(d),p=n(34),h=n.n(p),m=n(8),v=n(9),g=n(10),y=n(6),b=n(11),_=n(13),w=n(5),E=n(14),k=n.n(E),x=(n(2030),n(88)),S=n(149),T=n.n(S),O=n(16),C=n.n(O),j=n(203),A=n.n(j),N=n(2),P=n.n(N),M=n(38),L=n.n(M),I=n(37),R=n.n(I),D=n(53),B=n.n(D),F=n(65),U=n.n(F),q=n(49),z=n.n(q),H=n(29),V=n.n(H),W=n(225),Y=n.n(W),G=n(28),K=n.n(G),X=n(372),$=n.n(X),Q=n(18),Z=n.n(Q),J=n(1),ee=n.n(J),te=n(191),ne=n.n(te),re=n(71),ie=n.n(re),oe=n(161),ae=n.n(oe),se=n(592),ce=n(1207),ue=n(82),le=n(754),de=n(456);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 pe(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?fe(Object(n),!0).forEach(function(t){Object(m.a)(e,t,n[t])}):h.a?Object.defineProperties(e,h()(n)):fe(Object(n)).forEach(function(t){Object.defineProperty(e,t,f()(n,t))})}return e}function he(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=he(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(x.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}),p=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,p)}),this.slideRef=setTimeout(function(){return e.setState({slide:f})},700),this.arrowAnimRef=setTimeout(function(){return e.setState({arrow:s})},300)}},{key:"handleScroll",value:function(){var e=this.state,t=e.arrow,n=e.scroll,r=e.slide.current,i="prev"===t.hidden?"next":"prev",o=Object(x.findDOMNode)(this.refs["slide-".concat(r)]),a=Object(x.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,p=.005*(l-f+200),h=K()(n),m=K()(t);l<80&&l>f?this.setState({scroll:h({active:!0,end:!1})}):l<=f?this.setState({scroll:h({active:!1,end:!0}),arrow:m({opacity:p,top:d})}):this.setState({scroll:h({active:!1,end:!1}),arrow:m({opacity:p,top:d})})}}},{key:"handleSlide",value:function(e){var t=this.props.steps,n=this.state.slide.current,r="next"===e?n+1:n-1;r<=-1||r>=t.length||this.slideTo(r,n)}},{key:"render",value:function(){var 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,p=l===f-1,h=0===l,m=Math.min(f-22,l-11),v=Math.max(24-l,l+12,23),g=h?0:Math.max(0,m),y=p?f:Math.min(f,v),b=ne()(g,y,i),_=f<23?b:$()(i[0],b),w=P()("process-block",{"process-block--with-sidebar":r&&s>0}),E={className:P()("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",E,this.renderArrow("prev"),p?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=pe(pe({},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,p=c.settings,h=c.steps,m=this.state,v=m.initiating,g=m.position,y=m.slide,b=m.width,_=y.current,w=y.fade,E=y.previous,k=b.card,x=b.wrapper,S=function(e){return!V()(U()(Z()("type",e),h))},T=S("intro"),O=S("summary"),C=T?i:i+1,j=B()(Z()("type","step"),h).length+1,A={blockId:u,current:_,description:n,enableVideoPlaybackSpeed:l,entered:d,fade:w,hasNavigation:h.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:C,position:g,previous:E,ref:"slide-".concat(i),settings:p,title:a,type:s,width:k,wrapperWidth:x},N={current:_,hasSummary:O,isFirst:!T,length:j,slideTo:this.slideTo};return e.createElement(se.a,A,e.createElement(le.a,N))}},{key:"setArrows",value:function(){var e=this.state,t=e.arrow,n=t.hidden,r=t.opacity,i=e.sidebar,o=e.slide.current,a=this.props.menuOpen,s="prev"===n?"next":"prev",c=Object(x.findDOMNode)(this.refs["slide-".concat(o)]),u=Object(x.findDOMNode)(this.refs["arrow-".concat(s)]),l=u&&u.firstChild||null,d=z()(Y.a),f=a?i:0,p=window.innerWidth;if(c&&l){var h=c.getBoundingClientRect(),m=h.height,v=h.left,g=h.width,y=l.getBoundingClientRect(),b=y.top,_=(p-g-v)/2-y.width,w=L()([[d(1280+f),C()(_+20)],[d(1350+f),C()(_)],[ie.a,C()(v-f-170)]])(p),E=L()([[d(1280+f),C()(_+20)],[d(1350+f),C()(_+40)],[ie.a,C()(v-f-130)]])(p);this.setState({arrow:{absolute:w,bottom:m-220,fixed:E,hidden:n,opacity:r,top:b}})}}},{key:"setHeight",value:function(e){var t=this.state.slide.current,n=Object(x.findDOMNode)(this.refs["slide-".concat(t)]),r="function"==typeof e?e:C.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(x.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(x.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),p=K()({current:e,previous:t,fade:!1}),h=a[e],m=L()([[R()(0),C()({hidden:"prev"})],[R()(a.length-1),C()({hidden:"next"})],[ie.a,C()({hidden:null})]])(e),v=function(){n.setState({scroll:d}),n.afterSlideRef=setTimeout(n.setArrows,400)};this.setState({scroll:l({auto:!0}),slide:p({active:!0}),style:{height:c}},function(){T()(u).stop().animate({scrollTop:s},300,v)}),this.slideRef=setTimeout(function(){return n.setState({slide:p({active:!1})})},600),this.arrowAnimRef=setTimeout(function(){return n.setState({arrow:f(m)})},300),o&&o(h)}}}],[{key:"propTypes",get:function(){return{blockId: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=he(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,p=function(){t.preventScroll("end"),t.showHelp()};this.setState({current:c,height:f},function(){t.preventScroll("start"),T()(l).stop().animate({scrollTop:s},300,p)}),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),p=c<3?f:A()(n[0],f),h={className:P()("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",h,u?k()(p).call(p,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,p=c.settings,h=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),h))},E=w("intro"),k=w("summary"),x=E?i:i+1,S=B()(Z()("type","step"),h).length+1,T={blockId:u,current:g,description:n,enableVideoPlaybackSpeed:l,entered:m&&d,hasNavigation:h.length>1,id:r,index:i,initiating:_,labels:f,media:o,onMediaLoad:this.setHeight,onNextClick:this.handleSlide.bind(this,"next"),onRestartClick:this.handleRestart,number:x,settings:p,showHelp:y&&b,title:a,type:s,width:this.inner&&this.inner.offsetWidth},O={current:g,hasSummary:k,isFirst:!E,length:S};return e.createElement("div",{key:i,ref:"slide-".concat(i)},e.createElement(se.b,T,e.createElement(le.a,O)))}},{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:C.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 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(14),d=n.n(l),f=(n(2033),n(16)),p=n.n(f),h=n(2),m=n.n(h),v=n(38),g=n.n(v),y=n(446),b=n.n(y),_=n(29),w=n.n(_),E=n(225),k=n.n(E),x=n(1),S=n.n(x),T=n(444),O=n.n(T),C=n(71),j=n.n(C),A=n(36),N=n(82);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:"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),p()(0)],[k()(c-l/2),p()(f)],[j.a,p()(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,p=m()("process-counter",{"process-counter--overflow-before":c>0,"process-counter--overflow-after":s>c+u}),h={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?h:{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:p},e.createElement("div",g,e.createElement("div",y),d()(t=O()(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=N.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.e,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";n.d(t,"a",function(){return s}),n.d(t,"b",function(){return c}),n.d(t,"c",function(){return u});var r=n(147),i=n.n(r),o=n(174),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){"use strict";n.d(t,"a",function(){return c});n(2792);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 St}),n.d(t,"b",function(){return Tt});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),p=n(41),h=n.n(p),m=n(164),v=n.n(m),g=(n(2062),n(0)),y=n.n(g),b=n(457),_=n(152),w=n.n(_),E=n(7),k=n.n(E),x=n(463),S=n.n(x),T=n(21),O=n.n(T),C=n(582),j=n.n(C),A=n(469),N=n(51),P=n(35),M=n(14),L=n.n(M),I=(n(2204),n(60)),R=n.n(I),D=n(380),B=n.n(D),F=(n(2205),n(2)),U=n.n(F),q=n(29),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 R()(a)?null:y.a.createElement("dl",{"aria-hidden":"true",className:"block-chart__cartesianLegend"},L()(a).call(a,function(e,n){var r=Object(P.a)(e,2),o=r[0],a=Object(P.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(583),K=n.n(G),X=n(84),$=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(X.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(468),Z=n.n(Q),J=n(196),ee=n.n(J),te=n(204),ne=n.n(te),re=n(46),ie=n.n(re),oe=n(306),ae=n.n(oe)()(/([^\s].{0,14}(?![.{3}])(?=[\s\W]|$))/gm),se=n(252),ce=n(134),ue=n(100),le=n(195),de=n(52),fe=n(103),pe={defaultFontFamily:'"lato", sans-serif',elements:{line:{borderWidth:2,fill:!1}},layout:{padding:{bottom:0,left:0,right:0,top:50}},legend:{display:!1},plugins:{datalabels:{display:!1}},responsive:!1,scales:{xAxes:[{barPercentage:.6,gridLines:{display:!1,drawBorder:!1,offsetGridLines:!0},maxBarThickness:60,offset:!0,scaleLabel:{display:!1},ticks:{autoSkip:!1,callback:ae,padding:10}}],yAxes:[{gridLines:{drawBorder:!1,drawTicks:!1},scaleLabel:{display:!1},ticks:{beginAtZero:!0,maxTicksLimit:8,padding:15}}]},tooltips:{callbacks:{label:function(){return null},title:function(e){var t,n=e[0],r=n.xLabel,i=n.yLabel,o=ie()(Z.a,ne()(" "),r);return f()(t="".concat(o,": ")).call(t,i)}},caretPadding:10,cornerRadius:3,displayColors:!1,titleFontStyle:"normal",titleMarginBottom:0,titleSpacing:0,xAlign:"center",xPadding:14,yAlign:"bottom",yPadding:10}},he=function(e){var t=e.onEvent,n=e.shouldAnimate,r=v()(e),i=Object(ce.b)("rise-authoring-controls"),o=Object(se.b)(),a=o.backgroundColor,s=o.styleMode,c=Object(g.useMemo)(function(){return Object(ue.a)(r)},[r]);return Object(g.useMemo)(function(){var e,r=Object(de.d)(a)===de.a.LIGHT,o=s===le.c.UNBRANDED,u=n?1e3:0,l=r?"#313537":"#fff",d=r?"#000":"#fff",f=r?"#fff":"#313537",p=e=o?r?"#00000080":"#ffffff80":r?"#e1e1e1":"#ffffff80";if(c&&(p=o?r?"#0000001a":"#ffffffe9":r?"#c9c9c9":"#ffffffe9"),!i){var h=Object(de.e)(a);l=h?"#fff":"#313537",e=h?"#ffffff33":"#0000001a",p=c?h?"#ffffff66":"#00000040":h?"#ffffff33":"#0000001a"}return Object(fe.c)(pe,ee()(["animation","duration"],u),ee()(["defaultFontColor"],l),ee()(["onClick"],t),ee()(["onHover"],t),ee()(["scales","xAxes",0,"gridLines","color"],e),ee()(["scales","xAxes",0,"ticks","minor","fontColor"],l),ee()(["scales","yAxes",0,"gridLines","color"],e),ee()(["scales","yAxes",0,"gridLines","zeroLineColor"],p),ee()(["scales","yAxes",0,"ticks","minor","fontColor"],l),ee()(["tooltips","backgroundColor"],d),ee()(["tooltips","titleFontColor"],f))},[c,a,i,t,n,s])};function me(e){var t=e.children,n=e.onEvent,r=e.shouldAnimate,i=v()(e);return t(he({onEvent:n,shouldAnimate:r,values:i}))}var ve=n(160),ge=n.n(ve),ye=n(15),be=n.n(ye),_e=n(193),we=n.n(_e),Ee=n(385),ke=n.n(Ee),xe=we()(/<mark>|<\/mark>/gm,""),Se=k()(function(e){return ke()(e,{length:30})},xe,be()("type")),Te=k()(ge()(0),parseFloat,be()("value")),Oe=function(e){return{labels:L()(e).call(e,Se),values:L()(e).call(e,Te)}},Ce=n(75),je=n.n(Ce)()(function(e,t,n){var r=ke()(t,{length:e});return n?Object(ue.e)(r,n):r}),Ae={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)}},Ne=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 Ae[e](n)},Pe=n(17);function Me(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 Le=function(e){var t=function(t){Object(c.a)(r,t);var n=Me(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(Pe.a)({},this.props,{activeIndex:this.state.activeIndex,onEvent:this.handleEvent}))}}]),r}(g.PureComponent);return t.displayName="ChartEvents(".concat(Object(ue.b)(e),")"),t};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 Re=function(e){var t=function(t){Object(c.a)(r,t);var n=Ie(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(Pe.a)({},this.props,{onResize:this.handleResize,ref:this.chartRef}))}}]),r}(g.PureComponent);return t.displayName="ChartUpdater(".concat(Object(ue.b)(e),")"),t},De=n(232);function Be(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 Fe="ABCDEFGHIJKLMNOPQRSTUVWXYZ".split(""),Ue=function(e){Object(c.a)(n,e);var t=Be(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 $({activeIndex:n,settings:r,values:e,variant:i})}},{key:"handleEvent",value:function(e,t){return(0,this.props.onEvent)(O()(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=O()({},["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.shouldAnimate,l=e.valuesLabel,d=e.variant,f=this.state.labelYTop,p=je(80,a,c),m=je(30,l,c),g=Oe(o),b=r?[]:h()(Fe).call(Fe,0,o.length),_=r?g.labels:b,w=i?v()(g):Object(ue.f)(0,o.length),E=this.buildDataset(w),k="line"===d?A.b:A.a,x=Ne(d,o);return y.a.createElement("div",{className:"block-chart__cartesian"},y.a.createElement("div",{"aria-label":x,className:"block-chart__cartesianChart",ref:this.wrapRef,role:"img"},y.a.createElement(me,{onEvent:this.handleEvent,shouldAnimate:u,values:w},function(e){return y.a.createElement(k,{data:{labels:_,datasets:[E]},options:e,ref:n})}),m&&Object(ue.g)(m)&&y.a.createElement("div",{"aria-hidden":"true",className:"block-chart__cartesianLabelY",style:{top:f}},m)),p&&Object(ue.g)(p)&&y.a.createElement("div",{"aria-hidden":"true",className:"block-chart__cartesianLabelX"},p),!r&&y.a.createElement(Y,{activeIndex:t,labels:g.labels,letters:b,onEvent:s,values:w}))}}]),n}(g.PureComponent),qe=w()({search:O()("",["search","term"])}),ze=k()(Le,Object(De.d)(960,"isDesktop","Desktop"),Re,j.a,Object(N.b)(qe))(Ue);n(2214),n(2215),n(2216);function He(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 Ve=function(e){Object(c.a)(n,e);var t=He(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),We=function(e){var t=e.activeIndex,n=e.colors,r=e.labels,i=e.onEvent,o=B()(r,n);return R()(o)?null:y.a.createElement("div",{"aria-hidden":"true",className:"block-chart__circleLegend"},L()(o).call(o,function(e,n){var r=Object(P.a)(e,2),o=r[0],a=r[1];return y.a.createElement(Ve,{activeIndex:t,backgroundColor:a,index:n,key:o,onEvent:i,text:o})}))},Ye=Object(g.memo)(We),Ge=n(8),Ke=n(40),Xe=n.n(Ke),$e=n(47),Qe=n.n($e),Ze=n(32),Je=n.n(Ze),et=n(31),tt=n.n(et),nt=n(34),rt=n.n(nt),it=n(224),ot=n.n(it),at=n(446),st=n.n(at),ct=n(165);function ut(e,t){var n=Qe()(e);if(Je.a){var r=Je()(e);t&&(r=Xe()(r).call(r,function(t){return tt()(e,t).enumerable})),n.push.apply(n,r)}return n}function lt(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?ut(Object(n),!0).forEach(function(t){Object(Ge.a)(e,t,n[t])}):rt.a?Object.defineProperties(e,rt()(n)):ut(Object(n)).forEach(function(t){Object.defineProperty(e,t,tt()(n,t))})}return e}var dt=n.n(ct)()(st()(ot.a,0),"value"),ft=function(e){var t=Xe()(e).call(e,dt),n=Oe(t),r=L()(t).call(t,be()("color"));return lt(lt({},n),{},{colors:r})},pt=(n(2217),n(379)),ht=n.n(pt),mt=function(e){var t=O()(0,["dataIndex"],e),n=O()({},["dataset"],e),r=O()("#000",["backgroundColor",t],n);return Object(ue.c)(r)?"#fff":"#313537"},vt=function(e,t,n){return"numeric"===e?String(t):Object(ue.h)(t/ht()(n.dataset.data))},gt=function(e,t,n){var r,i=O()(0,[0,"index"],t),o=O()("",["labels",i],n),a=O()([1],["datasets",0,"data"],n),s=a[i],c="numeric"===e?String(s):Object(ue.h)(s/ht()(a));return f()(r="".concat(o,": ")).call(r,c)},yt=function(e,t){var n=O()(0,["dataIndex"],t),r=O()([1],["dataset","data"],t),i=r[n],o=z()(e)&&i/ht()(r)>=.06;return e===n||o},bt=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:mt,display:yt.bind(null,t),font:{size:12,style:"bold"},formatter:vt.bind(null,r)}},responsive:!1,rotation:.25*Math.PI,tooltips:{backgroundColor:"#000",callbacks:{label:function(){return null},title:gt.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}}},_t=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 wt(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 Et=function(e){Object(c.a)(n,e);var t=wt(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 _t({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 bt({activeIndex:t,onEvent:this.handleEvent,settings:n,shouldAnimate:r})}},{key:"handleEvent",value:function(e,t){return(0,this.props.onEvent)(O()(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=ft(i),c=s.colors,u=s.labels,l=v()(s),d=r?l:Object(ue.f)(0,i.length),f=this.buildOptions(),p=this.buildDataset({colors:c,values:d}),h=Ne(a,i);return y.a.createElement("div",{"aria-label":h,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:[p]},options:f,ref:n})),y.a.createElement(Ye,{activeIndex:t,colors:c,labels:u,onEvent:o}))}}]),n}(g.PureComponent),kt=k()(Le,Re,j.a)(Et),xt=n(584),St=Object(xt.a)(ze),Tt=Object(xt.a)(kt)},function(e,t,n){"use strict";var r=n(148),i=n(153),o=(n(1),n(0)),a=n.n(o),s=n(88),c=n.n(s),u=!1,l=n(387),d="unmounted",f="exited",p="entering",h="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=p):i=h: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!==p&&n!==h&&(t=p):n!==p&&n!==h||(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===p?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:h},function(){t.props.onEntered(o)}):(this.props.onEnter(o,a),this.safeSetState({status:p},function(){t.props.onEntering(o,a),t.onTransitionEnd(l,function(){t.safeSetState({status:h},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=p,m.ENTERED=h,m.EXITING="exiting";t.a=m},function(e,t,n){"use strict";n.d(t,"b",function(){return Y}),n.d(t,"a",function(){return G});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(2791),n(0)),f=n.n(d),p=n(161),h=n.n(p),m=n(212),v=n(8),g=n(14),y=n.n(g),b=n(2),_=n.n(b),w=n(36),E=n(732),k=n(85),x=n(61),S=n(119),T=n(1303),O=n(607),C=n(23),j=n(78),A=n(25),N=n(757),P=n(217),M=n(16),L=n.n(M),I=n(7),R=n.n(I),D=n(129),B=n.n(D);function F(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 U=function(e){Object(c.a)(n,e);var t=F(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,H({isClone:!0}),{}),Object(v.a)(r,H({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(x.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(x.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(C.c)(this.header):this.header.focus()}},{key:"focusRef",value:function(e){var t=e.name,n=this.props.showClone,r=H({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=H({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(j.a)([Object(P.b)(!0)])})}},{key:"handleSearchClose",value:function(e){Object(A.f)(e)&&this.handleSearchToggle()}},{key:"handleSearchSubmit",value:function(e){e.preventDefault();var t=e.target.lastChild.value,n=this.props.lessons;Object(T.a)(t,n,function(e,t,n){return Object(j.a)([Object(P.f)(e),Object(P.d)(t),Object(P.e)(n)])})}},{key:"handleSearchToggle",value:function(){var e=this,t=this.state.searchActive,n=this.props.showSearch;Object(j.a)([Object(P.b)(n),Object(P.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,p=V({allowTabNavigation:i,isClone:n,showClone:c}),h=_()("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:h,ref:n?null:function(e){return t.header=e},tabIndex:C.h},f.a.createElement(S.b,{to:"/",className:"overview-sidebar__title","data-focus-name":"title",innerRef:this.addFocusRef({isClone:n,name:"title"}),tabIndex:p},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:p,type:"button"},s),f.a.createElement("div",{className:"overview-sidebar__progress brand--ui"},z(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(O.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(C.l)(a),type:"button"},f.a.createElement(w.j,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(C.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=V({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(O.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,p=d.coverImageLoaded,h=d.showSkipButton?B()({maxHeight:L()("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:h},c&&this.renderSearch({isClone:i}),f.a.createElement("div",{className:q(this.props),ref:a},f.a.createElement("div",{className:"overview-sidebar__header--background",style:this.coverStyles(i)}),p&&f.a.createElement(E.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),q=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})},z=function(e){var t;return y()(t=f.a.Children).call(t,e,function(e){return e.type!==N.a?null:e})},H=function(e){return e.isClone?"clone":"normal"},V=R()(C.l,function(e){var t=e.allowTabNavigation,n=e.isClone,r=e.showClone;return t&&(r&&n||!r&&!n)});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(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 Y=function(e){Object(c.a)(n,e);var t=W(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=h()(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,p=t.skipLinkText,h=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(U,{allowSearch:n,allowTabNavigation:r,courseTitle:o,coverImage:a,focusLessonContent:s,labels:c,lessons:u,ref:function(t){e.sidebarHeader=t},sessionPreferences:d,showClone:h,showSearch:l,skipLinkText:p},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),G=f.a.createElement(Y,null).type},function(e,t,n){"use strict";var r=n(199),i=n(90),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.b)())&&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){e.exports=function(e,t){return e===t||e!=e&&t!=t}},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(865),i=n(660);e.exports=function(e){return null!=e&&i(e.length)&&!r(e)}},function(e,t,n){
/** @license ISC License (c) copyright 2016 original and current authors */
var r=n(237),i=n(481);e.exports=function(e){return i(e)&&(r("of",e)||r("of",e.constructor))}},function(e,t,n){"use strict";var r=n(102);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,n){var r=n(2048),i=n(2049),o=n(2052),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(2274),i=n(2229);e.exports=Object.keys||function(e){return r(e,i)}},function(e,t,n){var r=n(439);e.exports=Array.isArray||function(e){return"Array"==r(e)}},function(e,t,n){"use strict";var r=n(2235),i=n(223),o=n(207),a=n(189)("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(363);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(403),i="["+n(1253)+"]",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(1369)},function(e,t,n){var r=n(19),i=n(56),o=n(191);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 ue});var r=n(3),i=n.n(r),o=n(47),a=n.n(o),s=n(32),c=n.n(s),u=n(40),l=n.n(u),d=n(31),f=n.n(d),p=n(34),h=n.n(p),m=n(17),v=n(8),g=n(9),y=n(10),b=n(11),_=n(13),w=n(5),E=n(4),k=n.n(E),x=n(53),S=n.n(x),T=n(56),O=n.n(T),C=n(227),j=n.n(C),A=n(72),N=n.n(A),P=n(24),M=n.n(P),L=n(18),I=n.n(L),R=n(263),D=n(395),B=n(316),F=n(595),U=n(393),q=n(474),z=n(596),H=n(461),V=n(1187),W=n(747),Y=n(396),G=n(1191),K=n(489),X=n(398),$=n(1199),Q=n(1205),Z=n(1208),J=n(1210),ee=n(1213),te=n(758),ne=n(578);function re(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 ie(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?re(Object(n),!0).forEach(function(t){Object(v.a)(e,t,n[t])}):h.a?Object.defineProperties(e,h()(n)):re(Object(n)).forEach(function(t){Object.defineProperty(e,t,f()(n,t))})}return e}function oe(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 ae=S()(I()("variant","storyline")),se=M()(ae,O.a,j()(1)),ce=function(t){Object(b.a)(r,t);var n=oe(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=ie(ie({},N()(["handleStorylineFullscreen","dividerNumber"],this.props)),{},{variant:c,enableVideoPlaybackSpeed:u,partnerContent:s});switch(l){case"text paragraph":case"text table":return e.createElement(R.h,d);case"text heading paragraph":return e.createElement(R.d,d);case"text subheading paragraph":return e.createElement(R.e,d);case"text heading":return e.createElement(R.b,d);case"text subheading":return e.createElement(R.c,d);case"text two column":return e.createElement(R.g,d);case"text three column":return e.createElement(R.f,d);case"text code":return e.createElement(R.a,d);case"impact a":return e.createElement(D.e,d);case"impact b":return e.createElement(D.a,d);case"impact c":return e.createElement(D.b,d);case"impact d":return e.createElement(D.c,d);case"impact note":return e.createElement(D.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($.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(X.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(R.a,d);case"knowledgeCheck multiple choice":case"knowledgeCheck multiple response":case"knowledgeCheck fillin":case"knowledgeCheck matching":return e.createElement(X.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&&se(e)}}]),r}(e.Component);function ue(t){return e.createElement(ne.a,{block:t},e.createElement(ce,t))}}).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(2219),n(1)),d=n.n(l),f=n(192),p=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 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(p.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(p.a,{className:"card__description brand--lbody brand--linkColor",value:r,allowTabNavigation:n}))},g=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.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";(function(e){n.d(t,"b",function(){return d}),n.d(t,"a",function(){return p});var r=n(17),i=n(70),o=n(63),a=n.n(o),s=n(0),c=["children"],u={},l=a()(Object(s.createContext)(u),{displayName:"BundleContext"});function d(t){var n=t.children,r=Object(i.a)(t,c);return e.createElement(l.Provider,{value:r},n)}function f(){return null}function p(t){function n(n,i){var o,a=null!==(o=Object(s.useContext)(l)[t])&&void 0!==o?o:f;return e.createElement(a,Object(r.a)({ref:i},n))}return n.displayName="BundleComponent(".concat(t,")"),Object(s.forwardRef)(n)}}).call(this,n(0))},function(e,t,n){"use strict";var r=n(199),i=n(90),o=n(0),a=n.n(o);t.a=function(e){var t,n=e.children,o=(null!==(t=Object(r.b)())&&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,"b",function(){return i}),n.d(t,"a",function(){return o});var r=n(232),i=r.a.bind(null,768),o=r.a.bind(null,480)},function(e,t,n){var r=n(768)(function(e,t,n){return e+(n?"-":"")+t.toLowerCase()});e.exports=r},function(e,t,n){"use strict";n.d(t,"b",function(){return i}),n.d(t,"c",function(){return o}),n.d(t,"a",function(){return a});var r=n(232),i=r.a.bind(null,480),o=r.a.bind(null,768),a=r.a.bind(null,992)},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(14),d=n.n(l),f=n(248),p=n.n(f),h=n(116);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=p()("children",this.props);return e.createElement(h.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";n.d(t,"a",function(){return s});var r=n(26),i=n.n(r),o=n(21),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(101);t.a=Object(r.a)("Progress")},function(e,t,n){"use strict";var r=n(3),i=n.n(r),o=n(47),a=n.n(o),s=n(32),c=n.n(s),u=n(31),l=n.n(u),d=n(34),f=n.n(d),p=n(70),h=n(8),m=n(9),v=n(10),g=n(11),y=n(13),b=n(5),_=n(4),w=n.n(_),E=n(40),k=n.n(E),x=n(14),S=n.n(x),T=n(41),O=n.n(T),C=n(81),j=n.n(C),A=(n(2710),n(0)),N=n.n(A),P=n(116),M=n(7),L=n.n(M),I=n(37),R=n.n(I),D=n(53),B=n.n(D),F=n(65),U=n.n(F),q=n(150),z=n.n(q),H=n(121),V=n.n(H),W=n(156),Y=n.n(W),G=n(56),K=n.n(G),X=n(28),$=n.n(X),Q=n(72),Z=n.n(Q),J=n(21),ee=n.n(J),te=n(24),ne=n.n(te),re=n(15),ie=n.n(re),oe=n(18),ae=n.n(oe),se=n(212),ce=n.n(se),ue=n(80),le=n.n(ue),de=n(20),fe=Object(de.equals)(null),pe=Object(de.complement)(fe),he=n(2),me=n.n(he),ve=n(78),ge=n(84),ye=n(321),be=n(1282),_e=n(776),we=n(2384),Ee=n(1283),ke=n(68),xe=n(1225),Se=["id"];function Te(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 Oe(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Te(Object(n),!0).forEach(function(t){Object(h.a)(e,t,n[t])}):f.a?Object.defineProperties(e,f()(n)):Te(Object(n)).forEach(function(t){Object.defineProperty(e,t,l()(n,t))})}return e}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(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 je=ke.b.lessonPreview,Ae=ke.b.lessonEdit,Ne=["timeline"],Pe=function(e){Object(g.a)(n,e);var t=Ce(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(){var e=this.props,t=e.className,n=e.sectionRef;this.dividerNumber=0;var r=me()("blocks-lesson",t);return N.a.createElement("section",{className:r,"data-ba":je.container,ref:n},this.renderBlocks(),N.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,p=i.loadMedia,m=i.labels,v=i.lessonProgress,g=i.match,y=i.menuOpen,b=i.partnerContent,_=i.publishedAt,E=i.prefersKeyboardNavigation,k=i.previewType,x=i.tenantId,S="audio"===n||"video"===n?{lessonId:f,blockId:e.blockId,itemId:e.items[0].id}:{},T=$()(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:p,match:g,menuOpen:y,partnerContent:b,prefersKeyboardNavigation:E,previewType:k,progress:v,publishedAt:_,recordMediaPlayheadPosition:this.handleRecordMediaPlayheadPosition.bind(this,S),tenantId:x});if("knowledgeCheck draw from question bank"===r){var O=this.state.randomQuestions[T.blockId],C=null,j=T.items[0];if(!O&&j.questions?(C=Object(xe.b)(j),this.setState({randomQuestions:Oe(Oe({},this.state.randomQuestions),{},Object(h.a)({},T.blockId,C))})):C=O,C&&(T.originalVariant=T.variant,T.variant=xe.a[C.type],T.items=[C]),!C)return N.a.createElement("div",null)}return N.a.createElement(_e.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=O()(t).call(t,-1)[0];if(!ze(o.id,r))return t}var a=S()(i=Object(ge.j)(Le(r),O()(n).call(n,t.length))).call(i,Me);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,pe)}},{key:"buildBlock",value:function(e,t,n,r){var i=function(e,t,n){var r=e.id,i=Object(p.a)(e,Se);if("continue"===i.family){var o=ee()("",["items",0,"type"],i);return $()(Oe({blockId:r},i),{canContinue:qe({continueType:o,blocks:t,progress:n}),lessonProgress:n,isComplete:ze(r,n)})}return Oe({blockId:r},i)}(t,O()(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 Ie({family:s,variant:c})?N.a.createElement("div",{className:"noOutline","data-ba":Ae.block,"data-ba-index":n,key:l,"data-block-id":a},N.a.createElement(we.a,{onStep:this.handleStep.bind(this,s,c,a,u),isFirstLesson:this.props.isFirstLesson,onViewed:this.handleViewed.bind(this,u,a)},o)):N.a.createElement("div",{className:"noOutline","data-ba":Ae.block,"data-ba-index":n,key:l,"data-block-id":a},N.a.createElement(Ee.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(ve.a)(Object(be.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||ze(i,c)||(this.continueFromId=n),Object(ve.a)(Object(ye.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(ve.a)(Object(ye.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}(N.a.Component);t.a=Object(P.h)(Pe);function Me(e,t,n){var r=O()(n).call(n,-1)[0]||{},i="continue"===r.family&&ee()(!1,["items",0,"type"],r);return"continue"===e.variant||i&&("completeBlock"!==i||t===n.length-1||t===n.length-2)?$()(e,{requiresInteraction:!0}):e}var Le=function(e){return function(t){var n=t.family,r=t.items,i=ee()({},0,r);return"continue"===n&&!ze(i.id,e)}},Ie=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()(Ne).call(Ne,n)},Re=B()(ae()("isComplete",!0)),De=L()(le.a,ie()("items")),Be=L()(Re,De),Fe=L()(K.a,Be),Ue=L()(ie()("id"),Y.a),qe=function(e){var t=e.continueType,n=e.blocks,r=e.progress;switch(t){case"completeAll":return R()(K()(n),Fe(r));case"completeBlock":return ze(Ue(n),r);default:return!0}},ze=function(e,t){return ee()(!1,["items",e,"isComplete"],t)}},,function(e,t,n){"use strict";(function(e){n.d(t,"b",function(){return s});var r=n(70),i=n(92),o=n(2392),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";t.a={addEventListeners:function(e,t){e.addEventListener("animationend",t,!1)},removeEventListeners:function(e,t){e.removeEventListener("animationend",t,!1)}}},,function(e,t,n){var r,i=n(280);
/*!
  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(682))&&n(682)?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(166),i=n(127),o=n(620);e.exports=!r&&!i(function(){return 7!=Object.defineProperty(o("div"),"a",{get:function(){return 7}}).a})},function(e,t,n){var r=n(127),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(624);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(240),i=n(19);e.exports=i(function(e,t){return r(e.length,function(){return e.apply(t,arguments)})})},function(e,t,n){var r=n(166),i=n(220),o=n(102),a=n(414);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(182),i=n(239),o=n(626).indexOf,a=n(415);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(187);e.exports=r("document","documentElement")},function(e,t,n){"use strict";var r=n(155),i=n(151),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(44),i=n(127),o=n(416),a=n(151),s=n(235),c=n(236),u=n(502),l=n(803),d=n(503),f=n(133),p=n(477),h=f("isConcatSpreadable"),m=p>=51||!i(function(){var e=[];return e[h]=!1,e.concat()[0]!==e}),v=d("concat"),g=function(e){if(!a(e))return!1;var t=e[h];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(151),i=n(416),o=n(133)("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(623),i=Function.toString;"function"!=typeof r.inspectSource&&(r.inspectSource=function(e){return i.call(e)}),e.exports=r.inspectSource},function(e,t,n){n(140)("iterator")},function(e,t,n){var r=n(495),i=n(272),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(808).IteratorPrototype,i=n(326),o=n(325),a=n(295),s=n(357),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(127),s=n(417),c=n(219),u=n(182),l=n(133),d=n(111),f=l("iterator"),p=!1;[].keys&&("next"in(o=[].keys())?(i=s(s(o)))!==Object.prototype&&(r=i):p=!0);var h=null==r||a(function(){var e={};return r[f].call(e)!==e});h&&(r={}),d&&!h||u(r,f)||c(r,f,function(){return this}),e.exports={IteratorPrototype:r,BUGGY_SAFARI_ITERATORS:p}},function(e,t,n){var r=n(127);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(166),i=n(127),o=n(414),a=n(631),s=n(493),c=n(235),u=n(619),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 p,h=u(arguments[l++]),m=d?o(h).concat(d(h)):o(h),v=m.length,g=0;v>g;)p=m[g++],r&&!f.call(h,p)||(n[p]=h[p]);return n}:l},function(e,t,n){var r=n(188);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(163))},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(163))},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(163))},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(163))},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(163))},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(19);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(176),i=n(235),o=n(1408),a=n(821),s=n(236),c=n(502),u=n(418);e.exports=function(e){var t,n,l,d,f,p,h=i(e),m="function"==typeof this?this:Array,v=arguments.length,g=v>1?arguments[1]:void 0,y=void 0!==g,b=u(h),_=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(h.length));t>_;_++)p=y?g(h[_],_):h[_],c(n,_,p);else for(f=(d=b.call(h)).next,n=new m;!(l=f.call(d)).done;_++)p=y?o(d,g,[l.value,_],!0):l.value,c(n,_,p);return n.length=_,n}},function(e,t,n){var r=n(102);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(133),i=n(357),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(133)("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(127),i=n(133),o=n(111),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(102),i=n(418);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){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){return function(){return!e.apply(this,arguments)}}},function(e,t,n){var r=n(57),i=n(811),o=n(294),a=n(637),s=n(412);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,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=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(420),i=n(177)(function(e,t){return r(e.length,function(){return e.apply(t,arguments)})});e.exports=i},function(e,t,n){var r=n(206),i=n(833),o=n(1439),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(206)(function(e){return function(){return e}});e.exports=r},function(e,t,n){var r=n(177)(function(e,t){return t>e?t:e});e.exports=r},function(e,t,n){var r=n(834)(!0);e.exports=r},function(e,t,n){var r=n(838),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(241)(c,n(367).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(1446),a=n(1448),s=n(1449),c=n(1450),u=0,l=u++,d=u++,f=u++,p=u++,h=u++,m=u++,v=u++,g=u++,y=u++,b=u++,_=u++,w=u++,E=u++,k=u++,x=u++,S=u++,T=u++,O=u++,C=u++,j=u++,A=u++,N=u++,P=u++,M=u++,L=u++,I=u++,R=u++,D=u++,B=u++,F=u++,U=u++,q=u++,z=u++,H=u++,V=u++,W=u++,Y=u++,G=u++,K=u++,X=u++,$=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++,pe=de++,he=de++;function me(e){return" "===e||"\n"===e||"\t"===e||"\f"===e||"\r"===e}function ve(e,t,n){var r=e.toLowerCase();return e===r?function(e){e===r?this._state=t:(this._state=n,this._index--)}:function(i){i===r||i===e?this._state=t:(this._state=n,this._index--)}}function ge(e,t){var n=e.toLowerCase();return function(r){r===n||r===e?this._state=t:(this._state=f,this._index--)}}function ye(e,t){this._state=l,this._buffer="",this._sectionStart=0,this._index=0,this._bufferOffset=0,this._baseState=l,this._special=fe,this._cbs=t,this._running=!0,this._ended=!1,this._xmlMode=!(!e||!e.xmlMode),this._decodeEntities=!(!e||!e.decodeEntities)}ye.prototype._stateText=function(e){"<"===e?(this._index>this._sectionStart&&this._cbs.ontext(this._getSection()),this._state=d,this._sectionStart=this._index):this._decodeEntities&&this._special===fe&&"&"===e&&(this._index>this._sectionStart&&this._cbs.ontext(this._getSection()),this._baseState=l,this._state=ae,this._sectionStart=this._index)},ye.prototype._stateBeforeTagName=function(e){"/"===e?this._state=h:"<"===e?(this._cbs.ontext(this._getSection()),this._sectionStart=this._index):">"===e||this._special!==fe||me(e)?this._state=l:"!"===e?(this._state=x,this._sectionStart=this._index+1):"?"===e?(this._state=T,this._sectionStart=this._index+1):(this._state=this._xmlMode||"s"!==e&&"S"!==e?f: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=p:me(e)||(this._state=y,this._sectionStart=this._index)},ye.prototype._stateInSelfClosingTag=function(e){">"===e?(this._cbs.onselfclosingtag(),this._state=l,this._sectionStart=this._index+1):me(e)||(this._state=g,this._index--)},ye.prototype._stateInAttributeName=function(e){("="===e||"/"===e||">"===e||me(e))&&(this._cbs.onattribname(this._getSection()),this._sectionStart=-1,this._state=b,this._index--)},ye.prototype._stateAfterAttributeName=function(e){"="===e?this._state=_:"/"===e||">"===e?(this._cbs.onattribend(),this._state=g,this._index--):me(e)||(this._cbs.onattribend(),this._state=y,this._sectionStart=this._index)},ye.prototype._stateBeforeAttributeValue=function(e){'"'===e?(this._state=w,this._sectionStart=this._index+1):"'"===e?(this._state=E,this._sectionStart=this._index+1):me(e)||(this._state=k,this._sectionStart=this._index,this._index--)},ye.prototype._stateInAttributeValueDoubleQuotes=function(e){'"'===e?(this._emitToken("onattribdata"),this._cbs.onattribend(),this._state=g):this._decodeEntities&&"&"===e&&(this._emitToken("onattribdata"),this._baseState=this._state,this._state=ae,this._sectionStart=this._index)},ye.prototype._stateInAttributeValueSingleQuotes=function(e){"'"===e?(this._emitToken("onattribdata"),this._cbs.onattribend(),this._state=g):this._decodeEntities&&"&"===e&&(this._emitToken("onattribdata"),this._baseState=this._state,this._state=ae,this._sectionStart=this._index)},ye.prototype._stateInAttributeValueNoQuotes=function(e){me(e)||">"===e?(this._emitToken("onattribdata"),this._cbs.onattribend(),this._state=g,this._index--):this._decodeEntities&&"&"===e&&(this._emitToken("onattribdata"),this._baseState=this._state,this._state=ae,this._sectionStart=this._index)},ye.prototype._stateBeforeDeclaration=function(e){this._state="["===e?N:"-"===e?O: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=C,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:C},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=C)},ye.prototype._stateBeforeCdata1=ve("C",P,S),ye.prototype._stateBeforeCdata2=ve("D",M,S),ye.prototype._stateBeforeCdata3=ve("A",L,S),ye.prototype._stateBeforeCdata4=ve("T",I,S),ye.prototype._stateBeforeCdata5=ve("A",R,S),ye.prototype._stateBeforeCdata6=function(e){"["===e?(this._state=D,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=D)},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!==pe||"c"!==e&&"C"!==e?this._special!==he||"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=pe),this._state=f,this._index--},ye.prototype._stateAfterScript1=ve("R",K,l),ye.prototype._stateAfterScript2=ve("I",X,l),ye.prototype._stateAfterScript3=ve("P",$,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=he),this._state=f,this._index--},ye.prototype._stateAfterStyle1=ve("Y",re,l),ye.prototype._stateAfterStyle2=ve("L",ie,l),ye.prototype._stateAfterStyle3=ve("E",oe,l),ye.prototype._stateAfterStyle4=function(e){">"===e||me(e)?(this._special=fe,this._state=m,this._sectionStart=this._index-5,this._index--):this._state=l},ye.prototype._stateBeforeEntity=ve("#",se,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===h?this._stateBeforeCloseingTagName(e):this._state===m?this._stateInCloseingTagName(e):this._state===v?this._stateAfterCloseingTagName(e):this._state===p?this._stateInSelfClosingTag(e):this._state===g?this._stateBeforeAttributeName(e):this._state===y?this._stateInAttributeName(e):this._state===b?this._stateAfterAttributeName(e):this._state===_?this._stateBeforeAttributeValue(e):this._state===w?this._stateInAttributeValueDoubleQuotes(e):this._state===E?this._stateInAttributeValueSingleQuotes(e):this._state===k?this._stateInAttributeValueNoQuotes(e):this._state===x?this._stateBeforeDeclaration(e):this._state===S?this._stateInDeclaration(e):this._state===T?this._stateInProcessingInstruction(e):this._state===O?this._stateBeforeComment(e):this._state===C?this._stateInComment(e):this._state===j?this._stateAfterComment1(e):this._state===A?this._stateAfterComment2(e):this._state===N?this._stateBeforeCdata1(e):this._state===P?this._stateBeforeCdata2(e):this._state===M?this._stateBeforeCdata3(e):this._state===L?this._stateBeforeCdata4(e):this._state===I?this._stateBeforeCdata5(e):this._state===R?this._stateBeforeCdata6(e):this._state===D?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===X?this._stateAfterScript3(e):this._state===$?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===D||this._state===B||this._state===F?this._cbs.oncdata(e):this._state===C||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!==E&&this._state!==w&&this._state!==k&&this._state!==m&&this._cbs.ontext(e):(this._decodeNumericEntity(3,16),this._sectionStart<this._index&&(this._state=this._baseState,this._handleTrailingData())):(this._decodeNumericEntity(2,10),this._sectionStart<this._index&&(this._state=this._baseState,this._handleTrailingData())):(this._parseLegacyEntity(),this._sectionStart<this._index&&(this._state=this._baseState,this._handleTrailingData()))},ye.prototype.reset=function(){ye.call(this,{xmlMode:this._xmlMode,decodeEntities:this._decodeEntities},this._cbs)},ye.prototype.getAbsoluteIndex=function(){return this._bufferOffset+this._index},ye.prototype._getSection=function(){return this._buffer.substring(this._sectionStart,this._index)},ye.prototype._emitToken=function(e){this._cbs[e](this._getSection()),this._sectionStart=-1},ye.prototype._emitPartial=function(e){this._baseState!==l?this._cbs.onattribdata(e):this._cbs.ontext(e)}},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(837),i=n(1455).Writable||n(1470).Writable,o=n(649).StringDecoder,a=n(331).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(241)(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(509);e.exports=b;var o,a=n(842);b.ReadableState=y;n(367).EventEmitter;var s=function(e,t){return e.listeners(t).length},c=n(843),u=n(647).Buffer,l=t.Uint8Array||function(){};var d=Object.create(n(423));d.inherits=n(241);var f=n(1458),p=void 0;p=f&&f.debuglog?f.debuglog("stream"):function(){};var h,m=n(1459),v=n(844);d.inherits(b,c);var g=["error","close","destroy","pause","resume"];function y(e,t){e=e||{};var r=t instanceof(o=o||n(332));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&&(h||(h=n(649).StringDecoder),this.decoder=new h(e.encoding),this.encoding=e.encoding)}function b(e){if(o=o||n(332),!(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,x(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&&x(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 h||(h=n(649).StringDecoder),this._readableState.decoder=new h(e),this._readableState.encoding=e,this};var E=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>=E?e=E:(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 x(e){var t=e._readableState;t.needReadable=!1,t.emittedReadable||(p("emitReadable",t.flowing),t.emittedReadable=!0,t.sync?i.nextTick(S,e):S(e))}function S(e){p("emit readable"),e.emit("readable"),A(e)}function T(e,t){t.readingMore||(t.readingMore=!0,i.nextTick(O,e,t))}function O(e,t){for(var n=t.length;!t.reading&&!t.flowing&&!t.ended&&t.length<t.highWaterMark&&(p("maybeReadMore read 0"),e.read(0),n!==t.length);)n=t.length;t.readingMore=!1}function C(e){p("readable nexttick read 0"),e.read(0)}function j(e,t){t.reading||(p("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(p("flow",t.flowing);t.flowing&&null!==e.read(););}function N(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 P(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(M,t,e))}function M(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){p("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 p("read: emitReadable",t.length,t.ended),0===t.length&&t.ended?P(this):x(this),null;if(0===(e=k(e,t))&&t.ended)return 0===t.length&&P(this),null;var r,i=t.needReadable;return p("need readable",i),(0===t.length||t.length-e<t.highWaterMark)&&p("length less than watermark",i=!0),t.ended||t.reading?p("reading or ended",i=!1):i&&(p("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?N(e,t):null)?(t.needReadable=!0,e=0):t.length-=e,0===t.length&&(t.ended||(t.needReadable=!0),n!==e&&t.ended&&P(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,p("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){p("onunpipe"),t===n&&r&&!1===r.hasUnpiped&&(r.hasUnpiped=!0,p("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(){p("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;p("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 h=!1;function m(t){p("ondata"),h=!1,!1!==e.write(t)||h||((1===o.pipesCount&&o.pipes===e||o.pipesCount>1&&-1!==L(o.pipes,e))&&!f&&(p("false write response, pause",n._readableState.awaitDrain),n._readableState.awaitDrain++,h=!0),n.pause())}function v(t){p("onerror",t),b(),e.removeListener("error",v),0===s(e,"error")&&e.emit("error",t)}function g(){e.removeListener("finish",y),b()}function y(){p("onfinish"),e.removeListener("close",g),b()}function b(){p("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||(p("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&&x(this):i.nextTick(C,this))}return n},b.prototype.addListener=b.prototype.on,b.prototype.resume=function(){var e=this._readableState;return e.flowing||(p("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 p("call pause flowing=%j",this._readableState.flowing),!1!==this._readableState.flowing&&(p("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(p("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){(p("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){p("wrapped _read",t),r&&(r=!1,e.resume())},this},Object.defineProperty(b.prototype,"readableHighWaterMark",{enumerable:!1,get:function(){return this._readableState.highWaterMark}}),b._fromList=N}).call(this,n(108),n(297))},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(367).EventEmitter},function(e,t,n){"use strict";var r=n(509);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(332),i=Object.create(n(423));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(241),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(847)),o=r(n(1477)),a=r(n(848)),s=r(n(1478));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(848)).default),o=u(i);t.encodeXML=h(i,o);var a=c(r(n(847)).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=h(a,s);var l=/[^\0-\x7F]/g,d=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g;function f(e){return"&#x"+e.charCodeAt(0).toString(16).toUpperCase()+";"}function p(e,t){return"&#x"+(1024*(e.charCodeAt(0)-55296)+e.charCodeAt(1)-56320+65536).toString(16).toUpperCase()+";"}function h(e,t){return function(n){return n.replace(t,function(t){return e[t]}).replace(d,p).replace(l,f)}}var m=u(i);t.escape=function(e){return e.replace(m,f).replace(d,p).replace(l,f)}},function(e,t,n){"use strict";t.__esModule=!0;var r=a(n(1495)),i=a(n(851)),o=a(n(1496));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,O=void 0,C=void 0,j=void 0,A=void 0,N=void 0,P=void 0,M=void 0,L=void 0,I=void 0,R=void 0,D=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;((O=n.charCodeAt(V))===s||O===u||O===d&&n.charCodeAt(V+1)!==s)&&(z=V,H+=1);switch(O){case s:case c:case l:case d:case u:C=V;do{C+=1,(O=n.charCodeAt(C))===s&&(z=C,H+=1)}while(O===c||O===s||O===l||O===d||O===u);U=["space",n.slice(V,C)],V=C-1;break;case f:U=["[","[",H,V-z];break;case p: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 h: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){C=V;do{if(R=!1,-1===(C=n.indexOf(")",C+1))){if(T){C=V;break}G("bracket")}for(D=C;n.charCodeAt(D-1)===o;)D-=1,R=!R}while(R);U=["brackets",n.slice(V,C+1),H,V-z,H,C-z],V=C}else C=n.indexOf(")",V+1),P=n.slice(V,C+1),-1===C||x.test(P)?U=["(","(",H,V-z]:(U=["brackets",P,H,V-z,H,C-z],V=C);break;case m:U=[")",")",H,V-z];break;case r:case i:j=O===r?"'":'"',C=V;do{if(R=!1,-1===(C=n.indexOf(j,C+1))){if(T){C=V+1;break}G("string")}for(D=C;n.charCodeAt(D-1)===o;)D-=1,R=!R}while(R);P=n.slice(V,C+1),A=P.split("\n"),(N=A.length-1)>0?(L=H+N,I=C-A[N].length):(L=H,I=z),U=["string",n.slice(V,C+1),H,V-z,L,C-I],z=I,H=L,V=C;break;case w:E.lastIndex=V+1,E.test(n),C=0===E.lastIndex?n.length-1:E.lastIndex-2,U=["at-word",n.slice(V,C+1),H,V-z,H,C-z],V=C;break;case o:for(C=V,M=!0;n.charCodeAt(C+1)===o;)C+=1,M=!M;if(O=n.charCodeAt(C+1),M&&O!==a&&O!==c&&O!==s&&O!==l&&O!==d&&O!==u&&(C+=1,S.test(n.charAt(C)))){for(;S.test(n.charAt(C+1));)C+=1;n.charCodeAt(C+1)===c&&(C+=1)}U=["word",n.slice(V,C+1),H,V-z,H,C-z],V=C;break;default:O===a&&n.charCodeAt(V+1)===b?(0===(C=n.indexOf("*/",V+2)+1)&&(T?C=n.length:G("comment")),P=n.slice(V,C+1),A=P.split("\n"),(N=A.length-1)>0?(L=H+N,I=C-A[N].length):(L=H,I=z),U=["comment",P,H,V-z,L,C-I],z=I,H=L,V=C):(k.lastIndex=V+1,k.test(n),C=0===k.lastIndex?n.length-1:k.lastIndex-2,U=["word",n.slice(V,C+1),H,V-z,H,C-z],W.push(U),V=C)}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,p=93,h=40,m=41,v=123,g=125,y=59,b=42,_=58,w=64,E=/[ \n\t\r\f\{\(\)'"\\;/\[\]#]/g,k=/[ \n\t\r\f\(\)\{\}:;@!'"\\\]\[#]|\/(?=\*)/g,x=/.[\\\/\("'\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(850)),o=s(n(1497)),a=s(n(652));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(855).SourceMapGenerator,t.SourceMapConsumer=n(1500).SourceMapConsumer,t.SourceNode=n(1503).SourceNode},function(e,t,n){var r=n(856),i=n(424),o=n(857).ArraySet,a=n(1499).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="",p=this._mappings.toArray(),h=0,m=p.length;h<m;h++){if(e="",(t=p[h]).generatedLine!==s)for(a=0;t.generatedLine!==s;)e+=";",s++;else if(h>0){if(!i.compareByGeneratedPositionsInflated(t,p[h-1]))continue;e+=","}e+=r.encode(t.generatedColumn-a),a=t.generatedColumn,null!=t.source&&(o=this._sources.indexOf(t.source),e+=r.encode(o-d),d=o,e+=r.encode(t.originalLine-1-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(1498);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(424),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(861),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(1505)),a=l(n(653)),s=l(n(859)),c=l(n(1506)),u=l(n(654));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,n){var r=n(1518),i=n(1580),o=n(1587),a=n(275),s=n(1588);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(512),i=n(1525),o=n(1526),a=n(1527),s=n(1528),c=n(1529);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,n){var r=n(360),i=n(317),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(108))},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(1548),i=n(361);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(1549),i=n(1552),o=n(1553),a=1,s=2;e.exports=function(e,t,n,c,u,l){var d=n&a,f=e.length,p=t.length;if(f!=p&&!(d&&p>f))return!1;var h=l.get(e);if(h&&l.get(t))return h==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(1567),i=n(361),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(242),i=n(1568),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(274)(e))},function(e,t,n){var r=n(1569),i=n(873),o=n(874),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(866),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(274)(e))},function(e,t,n){var r=n(317);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(878),i=n(519);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(275),i=n(661),o=n(1581),a=n(298);e.exports=function(e,t){return r(e)?e:i(e,t)?[e]:o(a(e))}},function(e,t,n){var r=n(514),i=n(880),o=n(275),a=n(518),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(1230);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(317),i=n(518),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){e.exports=function(e){return"[object Number]"===Object.prototype.toString.call(e)}},function(e,t,n){
/** @license ISC License (c) copyright 2017 original and current authors */
var r=n(95);e.exports=function(e){return e&&r(e.type)?e.type():{}.toString.call(e).slice(8,-1)}},function(e,t,n){var r=n(19),i=n(208),o=n(549),a=n(58),s=n(33);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(1619),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(44),i=n(417),o=n(501),a=n(326),s=n(219),c=n(325),u=n(143),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(142);e.exports=r.Promise},function(e,t,n){"use strict";var r=n(187),i=n(220),o=n(133),a=n(166),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(142),s=n(127),c=n(176),u=n(800),l=n(620),d=n(893),f=n(663),p=a.location,h=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()}},E=function(e){return function(){w(e)}},k=function(e){w(e.data)},x=function(e){a.postMessage(e+"",p.protocol+"//"+p.host)};h&&m||(h=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(E(e))}:y&&y.now?r=function(e){y.now(E(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&&p&&"file:"!==p.protocol&&!s(x)?(r=x,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(E(e),0)}),e.exports={set:h,clear:m}},function(e,t,n){var r=n(399);e.exports=/(?:iphone|ipod|ipad).*applewebkit/i.test(r)},function(e,t,n){var r=n(102),i=n(151),o=n(427);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(44),i=n(155),o=n(427),a=n(522),s=n(143);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(44),i=n(155),o=n(187),a=n(427),s=n(522),c=n(143);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(237),i=n(480);e.exports=function(e){return i(e)&&(r("empty",e)||r("empty",e.constructor))}},function(e,t,n){
/** @license ISC License (c) copyright 2018 original and current authors */
var r=n(766),i=n(1638);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(900);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(498);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(240),i=n(19);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(19),i=n(296),o=n(159);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(19);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){
/** @license ISC License (c) copyright 2017 original and current authors */
var r=n(909),i=n(910),o=n(526).type("Async"),a=n(526).typeFn(o(),3),s=n(669),c=n(1669),u=n(914),l=n(1678),d=n(1679),f=n(668),p=n(1680),h=n(243),m=n(1681),v=n(1683),g=n(670),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(!h(e))throw new TypeError("Async: Function required");var n=b,r=function(){return"Async"+i(e)};function c(t,n,r){if(!h(t)||!h(n))throw new TypeError("Async.fork: Reject and resolve functions required");var i=!1,o=!1,a=h(r)?r:d,s=function(e,t){if(!o)return o=!0,i?d():e(t)},c=e(s.bind(null,t),s.bind(null,n)),u=h(c)?c:d;return l(function(){return a((u(),void(i=!0)))})}function f(e){return function(t){if(!h(t))throw new TypeError("Async."+e+": Function required");return _(function(e,n){return c(e,u(n,t))})}}function p(e){return function(t,n){if(!h(t)||!h(n))throw new TypeError("Async."+e+": Functions required for both arguments");return _(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(!h(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(!h(e)||!h(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(!h(e)||!h(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 p=c(d,function(e){if(!h(e))throw new TypeError("Async.ap: Wrapped value must be a function");o=!0,r=e,f()}),m=e.fork(d,function(e){a=!0,i=e,f()});return function(){p(),m(),s=!0}})},of:n,alt:m("alt"),bimap:p("bimap"),map:f("map"),chain:v("chain")})[s.of]=n,t[s.alt]=m(s.alt),t[s.bimap]=p(s.bimap),t[s.map]=f(s.map),t[s.chain]=v(s.chain),t["@@type"]=a,t.constructor=_,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(!h(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).catch(n)})}},_.fromNode=function(e,t){if(!h(e))throw new TypeError("Async.fromNode: CPS function required");return function(){for(var n=[],r=arguments.length;r--;)n[r]=arguments[r];return _(function(r,i){e.apply(t,n.concat(function(e,t){return e?r(e):i(t)}))})}},_.all=function(e){if(!p(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(668),i=n(243),o=n(911),a=n(912),s=n(1668);function c(e){return e&&i(e.inspect)?" "+e.inspect():i(e)?" Function":r(e)?" ["+((t=e).length?t.map(c).reduce(function(e,t){return e+","+t}):t)+" ]":o(e)?" { "+Object.keys(e).reduce(function(t,n){return t.concat([n+":"+c(e[n])])},[]).join(", ")+" }":a(e)?' "'+e+'"':s(e)?" "+e.toString():" "+e;var t}e.exports=c},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,n){
/** @license ISC License (c) copyright 2016 original and current authors */
var r=n(429),i=n(1670);e.exports=function(e){return i(e)&&r("ap",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(671),i=n(1684),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(671),i=n(672);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(909),i=n(910),o=n(526).type("IO"),a=n(526).typeFn(o(),2),s=n(669),c=n(914),u=n(243),l=n(670),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 p(t){return function(n){if(!u(n))throw new TypeError("IO."+t+": Function required");return f(c(n,e))}}function h(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:p("map"),chain:h("chain")})[s.of]=n,t[s.map]=p(s.map),t[s.chain]=h(s.chain),t["@@type"]=a,t.constructor=f,t}f.of=d,f.type=o,f[s.of]=d,f["@@type"]=a,f["@@implements"]=r(["ap","chain","map","of"]),e.exports=f},function(e,t,n){var r=n(825),i=n(639);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(673),i=n(7),o=n(33);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(19),i=n(75),o=n(527);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(529),i=n(64);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(19),i=n(159);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(19),i=n(146),o=n(923),a=n(156);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(19),i=n(557);e.exports=r(function(e,t){return i(e>=0?t.length-e:0,t)})},function(e,t,n){var r=n(57),i=n(379);e.exports=r(function(e){return i(e)/e.length})},function(e,t,n){var r=n(19);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(19),i=n(58);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(64);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(19),i=n(549),o=n(33),a=n(372),s=n(929);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(19),i=n(188);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){
/** @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(333),i=n(1825);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(933),i=n(333);e.exports=function(e){return r(e)||!!e&&i("concat",e)}},function(e,t,n){var r=n(41),i=n(276);
/** @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(201);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(201),i=n(1846),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(942):void 0!==t&&"[object process]"===Object.prototype.toString.call(t)&&(s=n(942)),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(297))},function(e,t,n){"use strict";var r=n(201),i=n(1847),o=n(939),a=n(1849),s=n(1852),c=n(1853),u=n(943);e.exports=function(e){return new Promise(function(t,l){var d=e.data,f=e.headers;r.isFormData(d)&&delete f["Content-Type"];var p=new XMLHttpRequest;if(e.auth){var h=e.auth.username||"",m=e.auth.password||"";f.Authorization="Basic "+btoa(h+":"+m)}var v=a(e.baseURL,e.url);if(p.open(e.method.toUpperCase(),o(v,e.params,e.paramsSerializer),!0),p.timeout=e.timeout,p.onreadystatechange=function(){if(p&&4===p.readyState&&(0!==p.status||p.responseURL&&0===p.responseURL.indexOf("file:"))){var n="getAllResponseHeaders"in p?s(p.getAllResponseHeaders()):null,r={data:e.responseType&&"text"!==e.responseType?p.response:p.responseText,status:p.status,statusText:p.statusText,headers:n,config:e,request:p};i(t,l,r),p=null}},p.onabort=function(){p&&(l(u("Request aborted",e,"ECONNABORTED",p)),p=null)},p.onerror=function(){l(u("Network Error",e,null,p)),p=null},p.ontimeout=function(){var t="timeout of "+e.timeout+"ms exceeded";e.timeoutErrorMessage&&(t=e.timeoutErrorMessage),l(u(t,e,"ECONNABORTED",p)),p=null},r.isStandardBrowserEnv()){var g=n(1854),y=(e.withCredentials||c(v))&&e.xsrfCookieName?g.read(e.xsrfCookieName):void 0;y&&(f[e.xsrfHeaderName]=y)}if("setRequestHeader"in p&&r.forEach(f,function(e,t){void 0===d&&"content-type"===t.toLowerCase()?delete f[t]:p.setRequestHeader(t,e)}),r.isUndefined(e.withCredentials)||(p.withCredentials=!!e.withCredentials),e.responseType)try{p.responseType=e.responseType}catch(t){if("json"!==e.responseType)throw t}"function"==typeof e.onDownloadProgress&&p.addEventListener("progress",e.onDownloadProgress),"function"==typeof e.onUploadProgress&&p.upload&&p.upload.addEventListener("progress",e.onUploadProgress),e.cancelToken&&e.cancelToken.promise.then(function(e){p&&(p.abort(),l(e),p=null)}),void 0===d&&(d=null),p.send(d)})}},function(e,t,n){"use strict";var r=n(1848);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(201);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(642);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(334),i=n(1871);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(948),i=n(334);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(277);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(177),i=n(1934),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,p=o.COMMENT_NODE=8,h=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)),E=(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 x(){}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 O(){}function C(e,t){for(var n=e.length;n--;)if(e[n]===t)return n}function j(e,t,n,r){if(r?t[C(t,r)]=n:t[t.length++]=n,e){n.ownerElement=e;var i=e.ownerDocument;i&&(r&&R(i,e,r),function(e,t,n){e&&e._inc++,"http://www.w3.org/2000/xmlns/"==n.namespaceURI&&(t._nsMap[n.prefix?n.localName:""]=n.value)}(i,e,n))}}function A(e,t,n){var r=C(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&&(R(o,e,n),n.ownerElement=null)}}function N(e){if(this._features={},e)for(var t in e)this._features=e[t]}function P(){}function M(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 R(e,t,n,r){e&&e._inc++,"http://www.w3.org/2000/xmlns/"==n.namespaceURI&&delete t._nsMap[n.prefix?n.localName:""]}function D(e,t,n){if(e&&e._inc){e._inc++;var r=t.childNodes;if(n)r[r.length++]=n;else{for(var i=t.firstChild,o=0;i;)r[o++]=i,i=i.nextSibling;r.length=o}}}function 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,D(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 D(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 X(){}function $(){}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 E=w.prefix||"",k=w.namespaceURI,x=E?" xmlns:"+E:" xmlns";t.push(x,'="',k,'"'),o.push({prefix:E,namespace:k})}te(w,t,n,r,o)}if(ee(e,0,o)){E=e.prefix||"",k=e.namespaceURI,x=E?" xmlns:"+E:" xmlns";t.push(x,'="',k,'"'),o.push({prefix:E,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 h: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,M),'"');case c:return t.push(e.data.replace(/[<&]/g,M));case u:return t.push("<![CDATA[",e.data,"]]>");case p: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 O=e.internalSubset;O&&t.push(" [",O,"]"),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),x.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,x),O.prototype={length:0,item:x.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(E);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(E);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}},N.prototype={hasFeature:function(e,t){var n=this._features[e.toLowerCase()];return!(!n||t&&!(t in n))},createDocument:function(e,t,n){var r=new I;if(r.implementation=this,r.childNodes=new x,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}},P.prototype={firstChild:null,lastChild:null,previousSibling:null,nextSibling:null,attributes:null,parentNode:null,childNodes:null,ownerDocument:null,nodeValue:null,namespaceURI:null,prefix:null,localName:null,insertBefore:function(e,t){return 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 x);i.ownerDocument=t;switch(i.nodeType){case a:var u=n.attributes,l=i.attributes=new O,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 p=n.firstChild;p;)i.appendChild(e(t,p,r)),p=p.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,P),n(o,P.prototype),I.prototype={nodeName:"#document",nodeType:h,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 x,(t.attributes=new O)._ownerElement=t,t},createDocumentFragment:function(){var e=new $;return e.ownerDocument=this,e.childNodes=new x,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 X;return t.ownerDocument=this,t.nodeName=e,t},createElementNS:function(e,t){var n=new U,r=t.split(":"),i=n.attributes=new O;return n.childNodes=new x,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,P),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,D(e.ownerDocument,e,t),t}(this,e)},setAttributeNode:function(e){return this.attributes.setNamedItem(e)},setAttributeNodeNS:function(e){return this.attributes.setNamedItemNS(e)},removeAttributeNode:function(e){return this.attributes.removeNamedItem(e.nodeName)},removeAttributeNS:function(e,t){var n=this.getAttributeNodeNS(e,t);n&&this.removeAttributeNode(n)},hasAttributeNS:function(e,t){return null!=this.getAttributeNodeNS(e,t)},getAttributeNS:function(e,t){var n=this.getAttributeNodeNS(e,t);return n&&n.value||""},setAttributeNS:function(e,t,n){var r=this.ownerDocument.createAttributeNS(e,t);r.value=r.nodeValue=""+n,this.setAttributeNode(r)},getAttributeNodeNS:function(e,t){return this.attributes.getNamedItemNS(e,t)},getElementsByTagName:function(e){return new 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,P),q.prototype.nodeType=s,r(q,P),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,P),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:p},r(V,z),W.prototype={nodeName:"#cdata-section",nodeType:u},r(W,z),Y.prototype.nodeType=m,r(Y,P),G.prototype.nodeType=g,r(G,P),K.prototype.nodeType=d,r(K,P),X.prototype.nodeType=l,r(X,P),$.prototype.nodeName="#document-fragment",$.prototype.nodeType=v,r($,P),Q.prototype.nodeType=f,r(Q,P),Z.prototype.serializeToString=function(e,t,n){return J.call(e,t,n)},P.prototype.toString=J;try{if(Object.defineProperty){Object.defineProperty(S.prototype,"length",{get:function(){return T(this),this.$$length}}),Object.defineProperty(P.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=N,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){t.a=function(t){var n=t.className,r=t.width,i=void 0===r?"20":r,o=t.height,a=void 0===o?"20":o,s=t.focusable,c=void 0===s?"false":s;return e.createElement("svg",{className:n,width:i,height:a,viewBox:"0 0 20 20",fill:"none",focusable:c,xmlns:"http://www.w3.org/2000/svg"},e.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M10.0002 3.33334C10.4604 3.33334 10.8335 3.70644 10.8335 4.16668V15.8333C10.8335 16.2936 10.4604 16.6667 10.0002 16.6667C9.53992 16.6667 9.16683 16.2936 9.16683 15.8333V4.16668C9.16683 3.70644 9.53992 3.33334 10.0002 3.33334Z",fill:"currentColor"}),e.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M3.57757 9.41075C3.90301 9.08532 4.43065 9.08532 4.75609 9.41075L10.0002 14.6548L15.2442 9.41075C15.5697 9.08532 16.0973 9.08532 16.4228 9.41075C16.7482 9.73619 16.7482 10.2638 16.4228 10.5893L10.5894 16.4226C10.264 16.748 9.73634 16.748 9.41091 16.4226L3.57757 10.5893C3.25214 10.2638 3.25214 9.73619 3.57757 9.41075Z",fill:"currentColor"}))}}).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){}).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,p=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:p},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,p=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:p},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,p=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:p},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,p=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:p},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,p=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:p},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,p=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:p},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,p=void 0===f||f,h=t.title,m=void 0===h?"Heart":h,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(p?"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,p=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:p},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,p=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:p},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,p=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:p},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,p=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:p},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){}).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,p=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:p},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,p=void 0===f?"false":f;return e.createElement("svg",{viewBox:"0 0 16 16",width:c,height:l,className:i()("i",d),focusable:p},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,p=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:p},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){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,p=void 0===f?"false":f;return e.createElement("svg",{viewBox:"0 0 15 16",width:c,height:l,className:i()("i",d),focusable:p},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,p=void 0===f?"false":f;return e.createElement("svg",{viewBox:"0 0 16 12",width:c,height:l,className:i()("vgIcon",d),focusable:p},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){var r=n(2003);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){n(2011);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(211),i=n.n(r),o=n(375),a=n.n(o),s=n(1194),c=n.n(s),u=n(1195),l=n.n(u),d=n(21),f=n.n(d),p=n(1196),h=n(174),m=n(192),v=i()(l()(["tmp"]),f()({},["media"])),g=c()(v,h.a),y=a()(g,h.a),b=Object(p.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 D});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),p=n(114),h=n.n(p),m=n(2),v=n.n(m),g=n(231),y=n(29),b=n.n(y),_=n(97),w=n.n(_),E=n(28),k=n.n(E),x=n(62),S=n.n(x),T=n(21),O=n.n(T),C=n(562),j=n.n(C),A=n(46),N=n.n(A);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=w()(["draggableOptions","autoScroll","container"]),L=j()(M),I=N()(b.a,function(){return document.querySelector(".page-wrap, .block-knowledge__wrapper, .question-banks-draw-dialog")}),R=S()(M,I),D=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={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 h.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=R(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=O()("",["props","className"],t);return v()(r,{draggable:n,"draggable--dragging":this.state.isDragging})}},{key:"getStyle",value:function(){var e,t,n,r,i,o=O()({},["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),p=n.n(f),h=n(231),m=n(28),v=n.n(m),g=n(21),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(h.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 p()(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(2020)()},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(2022));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(88),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(88)),i=o(n(2023));function o(e){return e&&e.__esModule?e:{default:e}}e.exports=t.default},function(e,t,n){var r=n(2059);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(2060),i=n(536),o=n(2061);e.exports=function(e){return i(e)?o(e):r(e)}},function(e,t,n){var r=n(2071),i=n(2073),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(245);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(117),i=n(93);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(93);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(93),i=n(2079),o=n(2080),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(117),i=n(93);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(117),i=n(245),o=n(93);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,p=d._model,h=d._model=l(f),m=d._active,v=d._data,g={xAlign:p.xAlign,yAlign:p.yAlign},y={x:p.x,y:p.y},b={width:p.width,height:p.height},_={x:p.caretX,y:p.caretY};if(m.length){h.opacity=1;var w=[],E=[];_=a[f.position].call(d,m,d._eventPosition);var k=[];for(t=0,n=m.length;t<n;++t)k.push((r=m[t],i=void 0,s=void 0,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)),E.push(f.callbacks.labelTextColor.call(d,e,d._chart))}),h.title=d.getTitle(k,v),h.beforeBody=d.getBeforeBody(k,v),h.body=d.getBody(k,v),h.afterBody=d.getAfterBody(k,v),h.footer=d.getFooter(k,v),h.x=Math.round(_.x),h.y=Math.round(_.y),h.caretPadding=f.caretPadding,h.labelColors=w,h.labelTextColors=E,h.dataPoints=k,b=function(e,t){var n=e._chart.ctx,r=2*t.yPadding,i=0,a=t.body,s=a.reduce(function(e,t){return e+t.before.length+t.lines.length+t.after.length},0);s+=t.beforeBody.length+t.afterBody.length;var 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 p=0,h=function(e){i=Math.max(i,n.measureText(e).width+p)};return n.font=o.fontString(l,t._titleFontStyle,t._titleFontFamily),o.each(t.title,h),n.font=o.fontString(d,t._bodyFontStyle,t._bodyFontFamily),o.each(t.beforeBody.concat(t.afterBody),h),p=t.displayColors?d+2:0,o.each(a,function(e){o.each(e.before,h),o.each(e.lines,h),o.each(e.after,h)}),p=0,n.font=o.fontString(f,t._footerFontStyle,t._footerFontFamily),o.each(t.footer,h),{width:i+=2*t.xPadding,height:r}}(this,h),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}}(h,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,p=(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<=p?"top":"bottom"},n(s.x)?(l="left",i(s.x)&&(l="center",d=a(s.y))):r(s.x)&&(l="right",o(s.x)&&(l="center",d=a(s.y)));var h=e._options;return{xAlign:h.xAlign?h.xAlign:l,yAlign:h.yAlign?h.yAlign:d}}(this,b),d._chart)}else h.opacity=0;return h.xAlign=g.xAlign,h.yAlign=g.yAlign,h.x=y.x,h.y=y.y,h.width=b.width,h.height=b.height,h.caretX=_.x,h.caretY=_.y,d._model=h,e&&f.custom&&f.custom.call(d,h),d},drawCaret:function(e,t){var n=this._chart.ctx,r=this._view,i=this.getCaretPosition(e,t,r);n.lineTo(i.x1,i.y1),n.lineTo(i.x2,i.y2),n.lineTo(i.x3,i.y3)},getCaretPosition:function(e,t,n){var r,i,o,a,s,c,u=n.caretSize,l=n.cornerRadius,d=n.xAlign,f=n.yAlign,p=e.x,h=e.y,m=t.width,v=t.height;if("center"===f)s=h+v/2,"left"===d?(i=(r=p)-u,o=r,a=s+u,c=s-u):(i=(r=p+m)+u,o=r,a=s-u,c=s+u);else if("left"===d?(r=(i=p+l+u)-u,o=i+u):"right"===d?(r=(i=p+m-l-u)-u,o=i+u):(r=(i=n.caretX)-u,o=i+u),"top"===f)s=(a=h)-u,c=a;else{s=(a=h+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(335))},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(335))},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(335))},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(335))},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(335))},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(335))},function(e,t,n){var r=n(538),i=n(2114),o=n(2115),a=n(2116),s=n(2117),c=n(2118);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(437),i=n(541),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(108))},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(2137),i=n(2140),o=n(2141),a=1,s=2;e.exports=function(e,t,n,c,u,l){var d=n&a,f=e.length,p=t.length;if(f!=p&&!(d&&p>f))return!1;var h=l.get(e);if(h&&l.get(t))return h==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(2155),i=n(438),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(278),i=n(2156),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(274)(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(2157),i=n(2158),o=n(2159),a=o&&o.isTypedArray,s=a?i(a):r;e.exports=s},function(e,t,n){var r=n(541);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(1113),i=n(546);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(279),i=n(691),o=n(2176),a=n(2179);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(141),i=n(2227),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(692)?"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(130),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(167),i=n(770),o=n(189)("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(130),i=n(189)("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(1248),i=n(189)("iterator"),o=n(1121);e.exports=function(e){if(null!=e)return e[i]||e["@@iterator"]||o[r(e)]}},function(e,t,n){var r=n(2286);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(130)(function(){return Object.isExtensible(Object.preventExtensions({}))})},function(e,t,n){var r=n(178),i=n(2232),o=n(202),a=n(604),s=n(1122),c=n(2283),u={};(e.exports=function(e,t,n,l,d){var f,p,h,m,v,g=a(t,n,l?2:1);if(d)f=e;else{if("function"!=typeof(p=s(e)))throw TypeError("Target is not iterable");if(i(p)){for(h=0,m=o(e.length);m>h;h++)if((l?g(r(v=e[h])[0],v[1]):g(e[h]))===u)return u;return}f=p.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(64),i=n(37);e.exports=r(function(e,t,n){return i(t[e],n[e])})},function(e,t,n){var r=n(19);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(208),i=n(796),o=n(58);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(19),i=n(37),o=n(33),a=n(931);e.exports=r(function(e,t){return a(o(i,e),t)})},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    --color-accent-transparent: "+(null==(__t=colorTransparent)?"":__t)+";\n    --background-color-accent: var(--color-accent);\n    --background-color-accent-transparent: var(--color-accent-transparent);\n    --border-color-accent: var(--color-accent);\n    --font-family-body: "+(null==(__t=bodyTypeface)?"":__t)+";\n    --font-family-head: "+(null==(__t=headingTypeface)?"":__t)+";\n    --font-family-ui: "+(null==(__t=uiTypeface)?"":__t)+";\n  }\n\n  .brand--head, .brand--head *   { \n    font-family: "+(null==(__t=headingTypeface)?"":__t)+" !important;\n    font-family: var(--font-family-head) !important;\n  }\n\n  .brand--body, .brand--body *   {\n    font-family: "+(null==(__t=bodyTypeface)?"":__t)+" !important;\n    font-family: var(--font-family-body) !important;\n  }\n\n  .brand--lhead, .brand--lhead * { \n    font-family: "+(null==(__t=headingTypeface)?"":__t)+" !important;\n    font-family: var(--font-family-head) !important;\n  }\n\n  .brand--lbody, .brand--lbody * { \n    font-family: "+(null==(__t=bodyTypeface)?"":__t)+" !important;\n    font-family: var(--font-family-body) !important;\n  }\n\n  .brand--ui, .brand--ui * { \n    font-family: "+(null==(__t=uiTypeface)?"":__t)+" !important;\n    font-family: var(--font-family-ui) !important;\n  }\n\n  .brand--beforeHead:before { \n    font-family: "+(null==(__t=uiTypeface)?"":__t)+" !important;\n    font-family: var(--font-family-ui) !important;\n  }\n\n  .brand--afterHead:after {\n    font-family: "+(null==(__t=uiTypeface)?"":__t)+" !important;\n    font-family: var(--font-family-ui) !important;\n  }\n\n  .brand--background {\n    background-color: "+(null==(__t=color)?"":__t)+" !important;\n    background-color: var(--background-color-accent) !important;\n  }\n\n  .brand--background-transparent {\n    background-color: "+(null==(__t=color+"1A")?"":__t)+" !important;\n    background-color: var(--background-color-accent-transparent) !important;\n  }\n\n  .brand--background-all * {\n    background-color: "+(null==(__t=color)?"":__t)+" !important;\n    background-color: var(--background-color-accent) !important;\n  }\n\n  .brand--border {\n    border-color: "+(null==(__t=color)?"":__t)+" !important;\n    border-color: var(--border-color-accent) !important;\n  }\n\n  .brand--color {\n    color: "+(null==(__t=color)?"":__t)+" !important;\n    color: var(--color-accent) !important;\n  }\n\n  .brand--color-all * {\n    color: "+(null==(__t=color)?"":__t)+" !important;\n    color: var(--color-accent) !important;\n  }\n\n  .brand--shadow {\n    box-shadow: 0 0 0 0.2rem "+(null==(__t=color)?"":__t)+" !important;\n    box-shadow: 0 0 0 0.2rem var(--color-accent) !important;\n  }\n\n  .brand--shadow-all * {\n    box-shadow: 0 0 0 0.2rem "+(null==(__t=color)?"":__t)+" !important;\n    box-shadow: 0 0 0 0.2rem var(--color-accent) !important;\n  }\n\n  .brand--fill {\n    fill: "+(null==(__t=color)?"":__t)+" !important;\n    fill: var(--color-accent) !important;\n  }\n\n  .brand--stroke {\n    stroke: "+(null==(__t=color)?"":__t)+" !important;\n    stroke: var(--color-accent) !important;\n  }\n\n\n  .brand--beforeBackground:before {\n    background-color: "+(null==(__t=color)?"":__t)+" !important;\n    background-color: var(--background-color-accent) !important;\n  }\n\n  .brand--beforeBorder:before {\n    border-color: "+(null==(__t=color)?"":__t)+" !important;\n    border-color: var(--border-color-accent) !important;\n  }\n\n  .brand--beforeColor:before {\n    color: "+(null==(__t=color)?"":__t)+" !important;\n    color: var(--color-accent) !important;\n  }\n\n  .brand--afterBackground:after {\n    background-color: "+(null==(__t=color)?"":__t)+" !important;\n    background-color: var(--background-color-accent) !important;\n  }\n\n  .brand--afterBorder:after {\n    border-color: "+(null==(__t=color)?"":__t)+" !important;\n    border-color: var(--border-color-accent) !important;\n  }\n\n  .brand--afterColor:after {\n    color: "+(null==(__t=color)?"":__t)+" !important;\n    color: var(--color-accent) !important;\n  }\n\n  /* should be applied to containers where links\n     need to appear in brand color */\n  .brand--linkColor a {\n    color: "+(null==(__t=color)?"":__t)+" !important;\n    color: var(--color-accent) !important;\n    fill: "+(null==(__t=color)?"":__t)+" !important;\n    fill: var(--color-accent) !important;\n  }\n\n  /* should be applied to containers where links\n     need to change to brand color on hover */\n  .brand--linkColorHover a:hover {\n    color: "+(null==(__t=color)?"":__t)+" !important;\n    color: var(--color-accent) !important;\n    fill: "+(null==(__t=color)?"":__t)+" !important;\n    fill: var(--color-accent) !important;\n  }\n\n  /* should be applied to any single element that\n     needs to change color on hover */\n  .brand--hoverColor:hover {\n    color: "+(null==(__t=color)?"":__t)+" !important;\n    color: var(--color-accent) !important;\n  }\n\n  .button.brand--background:hover { opacity: .65 !important; }\n\n  .brandHover:hover {\n    fill: "+(null==(__t=color)?"":__t)+" !important;\n    fill: var(--color-accent) !important;\n  }\n\n\n  @media (min-width: 47.9375em) { /* 768px */\n    .brand--min768--background {\n      background-color: "+(null==(__t=color)?"":__t)+" !important;\n      background-color: var(--background-color-accent) !important;\n    }\n\n    .brand--min768--border {\n      border-color: "+(null==(__t=color)?"":__t)+" !important;\n      border-color: var(--border-color-accent) !important;\n    }\n\n    .brand--min768--color {\n      color: "+(null==(__t=color)?"":__t)+" !important;\n      color: var(--color-accent) !important;\n    }\n  }\n\n  @media (max-width: 47.9375em) { /* 768px */\n    .brand--max768--background {\n      background-color: "+(null==(__t=color)?"":__t)+" !important;\n      background-color: var(--background-color-accent) !important;\n    }\n\n    .brand--max768--border {\n      border-color: "+(null==(__t=color)?"":__t)+" !important;\n      border-color: var(--border-color-accent) !important;\n    }\n\n    .brand--max768--color {\n      color: "+(null==(__t=color)?"":__t)+" !important;\n      color: var(--color-accent) !important;\n    }\n  }\n</style>\n";return __p}},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("")},p=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)},h=function(e){return p(d(String(e)))},m=function(e){return e.replace(/[+\/]/g,function(e){return"+"==e?"-":"_"}).replace(/=/g,"")},v=function(e,t){return t?m(h(e)):h(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("")},E=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 E(String(e).replace(/[^A-Za-z0-9\+\/]/g,""))},x=function(e){return String(e).replace(/[-_]/g,function(e){return"-"==e?"+":"/"}).replace(/[^A-Za-z0-9\+\/]/g,"")},S=function(e){return function(e){return _(E(e))}(x(e))};n.Uint8Array&&(g=function(e){return Uint8Array.from(k(x(e)),function(e){return e.charCodeAt(0)})});if(n.Base64={VERSION:"2.6.4",atob:k,btoa:p,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(108))},function(e,t,n){"use strict";var r=n(421),i=n(1487),o=n(1488),a=n(1489),s=n(1490),c=n(1491),u=n(1494);function l(e,t){e&&Object.keys(e).forEach(function(n){t(e[n],n)})}function d(e,t){return{}.hasOwnProperty.call(e,t)}function f(e,t){var n=[];return l(e,function(e){t(e)&&n.push(e)}),n}e.exports=h;var p=/^[^\0\t\n\f\r /<=>]+$/;function h(e,t,n){var v="";function g(e,t){var n=this;this.tag=e,this.attribs=t||{},this.tagPosition=v.length,this.text="",this.updateParentNodeText=function(){S.length&&(S[S.length-1].text+=n.text)}}t?(t=i(h.defaults,t)).parser?t.parser=i(m,t.parser):t.parser=m:(t=h.defaults).parser=m;var y,b,_=t.nonTextTags||["script","style","textarea"];t.allowedAttributes&&(y={},b={},l(t.allowedAttributes,function(e,t){y[t]=[];var n=[];e.forEach(function(e){e.indexOf("*")>=0?n.push(o(e).replace(/\\\*/g,".*")):y[t].push(e)}),b[t]=new RegExp("^("+n.join("|")+")$")}));var w={};l(t.allowedClasses,function(e,t){y&&(d(y,t)||(y[t]=[]),y[t].push("class")),w[t]=e});var E,k={};l(t.transformTags,function(e,t){var n;"function"==typeof e?n=e:"string"==typeof e&&(n=h.simpleTransform(e)),"*"===t?E=n:k[t]=n});var x=0,S=[],T={},O={},C=!1,j=0,A=new r.Parser({onopentag:function(e,n){if(C)j++;else{var r=new g(e,n);S.push(r);var i,o=!1,h=!!r.text;d(k,e)&&(i=k[e](e,n),r.attribs=n=i.attribs,void 0!==i.text&&(r.innerText=i.text),e!==i.tagName&&(r.name=e=i.tagName,O[x]=i.tagName)),E&&(i=E(e,n),r.attribs=n=i.attribs,e!==i.tagName&&(r.name=e=i.tagName,O[x]=i.tagName)),t.allowedTags&&-1===t.allowedTags.indexOf(e)&&(o=!0,-1!==_.indexOf(e)&&(C=!0,j=1),T[x]=!0),x++,o||(v+="<"+e,(!y||d(y,e)||y["*"])&&l(n,function(n,i){if(p.test(i))if(!y||d(y,e)&&-1!==y[e].indexOf(i)||y["*"]&&-1!==y["*"].indexOf(i)||d(b,e)&&b[e].test(i)||b["*"]&&b["*"].test(i)){if(("href"===i||"src"===i)&&P(e,n))return void delete r.attribs[i];if("srcset"===i)try{var o;if(l(o=c.parse(n),function(e){P("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+='="'+N(n)+'"')}else delete r.attribs[i];else delete r.attribs[i]}),-1!==t.selfClosing.indexOf(e)?v+=" />":(v+=">",!r.innerText||h||t.textFilter||(v+=r.innerText)))}},ontext:function(e){if(!C){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=N(e);t.textFilter?v+=t.textFilter(i):v+=i}if(S.length)S[S.length-1].text+=e}},onclosetag:function(e){if(C){if(--j)return;C=!1}var n=S.pop();if(n){if(C=!1,T[--x])return delete T[x],void n.updateParentNodeText();O[x]&&(e=O[x],delete O[x]),t.exclusiveFilter&&t.exclusiveFilter(n)?v=v.substr(0,n.tagPosition):(n.updateParentNodeText(),-1===t.selfClosing.indexOf(e)&&(v+="</"+e+">"))}}},t.parser);return A.write(e),A.end(),v;function N(e){return"string"!=typeof e&&(e+=""),e.replace(/\&/g,"&amp;").replace(/</g,"&lt;").replace(/\>/g,"&gt;").replace(/\"/g,"&quot;")}function P(e,n){var r=(n=(n=n.replace(/[\x00-\x20]+/g,"")).replace(/<\!\-\-.*?\-\-\>/g,"")).match(/^([a-zA-Z]+)\:/);if(!r)return!!n.match(/^[\/\\]{2}/)&&!t.allowProtocolRelative;var i=r[1].toLowerCase();return d(t.allowedSchemesByTag,e)?-1===t.allowedSchemesByTag[e].indexOf(i):!t.allowedSchemes||-1===t.allowedSchemes.indexOf(i)}}var m={decodeEntities:!0};h.defaults={allowedTags:["h3","h4","h5","h6","blockquote","p","a","ul","ol","nl","li","b","i","strong","em","strike","code","hr","br","div","table","thead","caption","tbody","tr","th","td","pre"],allowedAttributes:{a:["href","name","target"],img:["src"]},selfClosing:["img","br","hr","area","base","basefont","input","link","meta"],allowedSchemes:["http","https","ftp","mailto"],allowedSchemesByTag:{},allowProtocolRelative:!0},h.simpleTransform=function(e,t,n){return n=void 0===n||n,t=t||{},function(r,i){var o;if(n)for(o in t)i[o]=t[o];else i=t;return{tagName:e,attribs:i}}}},function(e,t,n){var r=n(1517)(n(1590));e.exports=r},function(e,t,n){e.exports=n(1606)},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(887);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(887);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(1659);e.exports=r.origFn("assoc")},function(e,t,n){
/** @license ISC License (c) copyright 2016 original and current authors */
var r=n(125),i=n(524),o=n(95),a=n(183);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(401),i=n(402),o=n(209).type("IO"),a=n(209).typeFn(o(),2),s=n(183),c=n(300),u=n(95),l=n(222),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 p(t){return function(n){if(!u(n))throw new TypeError("IO."+t+": Function required");return f(c(n,e))}}function h(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:p("map"),chain:h("chain")})[s.of]=n,t[s.map]=p(s.map),t[s.chain]=h(s.chain),t["@@type"]=a,t.constructor=f,t}f.of=d,f.type=o,f[s.of]=d,f["@@type"]=a,f["@@implements"]=r(["ap","chain","map","of"]),e.exports=f},function(e,t,n){"use strict";var r=n(1664),i=n(1665),o=n(907);e.exports={formats:o,parse:i,stringify:r}},function(e,t,n){var r=n(1666),i=n(1667);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(1690)},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,p=t[u],h=i?i(p):p;(f=c(d,h,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(831),i=n(1857),o=n(1863),a=n(1864),s=i(r(Promise.reject,Promise),a(o(Error),Error));e.exports=s},function(e,t,n){var r=n(1888),i=n(645),o=n(1889),a=n(836),s=Promise.reject.bind(Promise),c=function(e,t){return t&&u(0,e*Math.pow(2,t))},u=function(e,t){return e+Math.random()*(t-e)};e.exports=i(function(e,t){void 0===e&&(e={});var n=e.base;void 0===n&&(n=250);var i=e.tries;void 0===i&&(i=10);var u=e.when;void 0===u&&(u=a);return function(){for(var e=[],a=arguments.length;a--;)e[a]=arguments[a];var l=0,d=function(){return Promise.resolve(e).then(r(t)).catch(o(u,f,s))},f=function(e){return++l<i?new Promise(function(e,t){setTimeout(function(){d().then(e,t)},c(n,l))}):s(e)};return d()}})},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 p(e,t){return[e.style,e.weight,f()?e.stretch:"","100px",t].join(" ")}a.prototype.load=function(e,t){var i=this,a=e||"BESbswy",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 h=new Promise(function(e,t){!function n(){(new Date).getTime()-f>=l?t(Error(l+"ms timeout exceeded")):document.fonts.load(p(i,'"'+i.family+'"'),a).then(function(t){1<=t.length?e():setTimeout(n,25)},t)}()}),m=new Promise(function(e,t){u=setTimeout(function(){t(Error(l+"ms timeout exceeded"))},l)});Promise.race([m,h]).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&&(E.parentNode&&E.parentNode.removeChild(E),clearTimeout(u),e(i))}var d=new n(a),h=new n(a),m=new n(a),v=-1,g=-1,y=-1,b=-1,_=-1,w=-1,E=document.createElement("div");E.dir="ltr",r(d,p(i,"sans-serif")),r(h,p(i,"serif")),r(m,p(i,"monospace")),E.appendChild(d.a),E.appendChild(h.a),E.appendChild(m.a),document.body.appendChild(E),b=d.a.offsetWidth,_=h.a.offsetWidth,w=m.a.offsetWidth,function e(){if((new Date).getTime()-f>=l)E.parentNode&&E.parentNode.removeChild(E),t(Error(l+"ms timeout exceeded"));else{var n=document.hidden;!0!==n&&void 0!==n||(v=d.a.offsetWidth,g=h.a.offsetWidth,y=m.a.offsetWidth,c()),u=setTimeout(e,50)}}(),o(d,function(e){v=e,c()}),r(d,p(i,'"'+i.family+'",sans-serif')),o(h,function(e){g=e,c()}),r(h,p(i,'"'+i.family+'",serif')),o(m,function(e){y=e,c()}),r(m,p(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 p(e,t,n){t=t||[],n=n||[];for(var r=e.className.split(/\s+/),i=0;i<t.length;i+=1){for(var o=!1,a=0;a<r.length;a+=1)if(t[i]===r[a]){o=!0;break}o||r.push(t[i])}for(t=[],i=0;i<r.length;i+=1){for(o=!1,a=0;a<n.length;a+=1)if(r[i]===n[a]){o=!0;break}o||t.push(r[i])}e.className=t.join(" ").replace(/\s+/g," ").replace(/^\s+|\s+$/,"")}function h(e,t){for(var n=e.className.split(/\s+/),r=0,i=n.length;r<i;r++)if(n[r]==t)return!0;return!1}function m(e,t,n){function r(){s&&i&&o&&(s(a),s=null)}t=l(e,"link",{rel:"stylesheet",href:t,media:"all"});var i=!1,o=!0,a=null,s=n||null;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 E(e,t){this.c=e,this.f=4,this.a="n";var n=(t||"n4").match(/^([nio])([1-9])$/i);n&&(this.a=n[1],this.f=parseInt(n[2],10))}function k(e){var t=[];e=e.split(/,\s*/);for(var n=0;n<e.length;n++){var r=e[n].replace(/['"]/g,"");-1!=r.indexOf(" ")||/^\d/.test(r)?t.push("'"+r+"'"):t.push(r)}return t.join(",")}function x(e){return e.a+e.f}function S(e){var t="normal";return"o"===e.a?t="oblique":"i"===e.a&&(t="italic"),t}function T(e){var t=4,n="n",r=null;return e&&((r=e.match(/(normal|oblique|italic)/i))&&r[1]&&(n=r[1].substr(0,1).toLowerCase()),(r=e.match(/([1-9]00|normal|bold)/i))&&r[1]&&(/bold/i.test(r[1])?t=7:/[1-9]00/.test(r[1])&&(t=parseInt(r[1].substr(0,1),10)))),n+t}function O(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 C(e){if(e.g){var t=h(e.f,e.a.c("wf","active")),n=[],r=[e.a.c("wf","loading")];t||n.push(e.a.c("wf","inactive")),p(e.f,n,r)}j(e,"inactive")}function j(e,t,n){e.j&&e.h[t]&&(n?e.h[t](n.c,x(n)):e.h[t]())}function A(){this.c={}}function N(e,t){this.c=e,this.f=t,this.a=l(this.c,"span",{"aria-hidden":"true"},this.f)}function P(e){d(e.c,"body",e.a)}function M(e){return"display:block;position:absolute;top:-9999px;left:-9999px;font-size:300px;width:auto;height:auto;line-height:normal;margin:0;padding:0;font-variant:normal;white-space:nowrap;font-family:"+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 N(this.c,this.s),this.h=new N(this.c,this.s),this.j=new N(this.c,this.s),this.m=new N(this.c,this.s),e=M(e=new E(this.a.c+",serif",x(this.a))),this.g.a.style.cssText=e,e=M(e=new E(this.a.c+",sans-serif",x(this.a))),this.h.a.style.cssText=e,e=M(e=new E("serif",x(this.a))),this.j.a.style.cssText=e,e=M(e=new E("sans-serif",x(this.a))),this.m.a.style.cssText=e,P(this.g),P(this.h),P(this.j),P(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 R={D:"serif",C:"sans-serif"},D=null;function B(){if(null===D){var e=/AppleWebKit\/([0-9]+)(?:\.([0-9]+))/.exec(window.navigator.userAgent);D=!!e&&(536>parseInt(e[1],10)||536===parseInt(e[1],10)&&11>=parseInt(e[2],10))}return D}function F(e,t,n){for(var r in R)if(R.hasOwnProperty(r)&&t===e.f[R[r]]&&n===e.f[R[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&&p(e.f,[e.a.c("wf","active")],[e.a.c("wf","loading"),e.a.c("wf","inactive")]),j(e,"active")):C(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)C(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,h=l;if(f.g&&p(f.f,[f.a.c("wf",h.c,x(h).toString(),"loading")]),j(f,"fontloading",h),f=null,null===H)if(window.FontFace){h=/Gecko.*Firefox\/(\d+)/.exec(window.navigator.userAgent);var m=/OS X.*Version\/10\..*Safari/.exec(window.navigator.userAgent)&&/Apple/.exec(window.navigator.vendor);H=h?42<parseInt(h[1],10):!m}else H=!1;f=H?new 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 X(e,t){this.c=e||$,this.a=[],this.f=[],this.g=t||""}z.prototype.g=function(e){var t=this.a;t.g&&p(t.f,[t.a.c("wf",e.c,x(e).toString(),"active")],[t.a.c("wf",e.c,x(e).toString(),"loading"),t.a.c("wf",e.c,x(e).toString(),"inactive")]),j(t,"fontactive",e),this.m=!0,V(this)},z.prototype.h=function(e){var t=this.a;if(t.g){var n=h(t.f,t.a.c("wf",e.c,x(e).toString(),"active")),r=[],i=[t.a.c("wf",e.c,x(e).toString(),"loading")];n||r.push(t.a.c("wf",e.c,x(e).toString(),"inactive")),p(t.f,r,i)}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&&p(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 O(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 E(c,r))):a.push(new E(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 E(r[0],c[u]));else s.push(new E(r[0]));b(a,function(){e(s,o)})};var $="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 X(this.a.api,this.a.text),i=this.a.families;!function(e,t){for(var n=t.length,r=0;r<n;r++){var i=t[r].split(":");3==i.length&&e.f.push(i.pop());var o="";2==i.length&&""!=i[1]&&(o=":"),e.a.push(i.join(o))}}(r,i);var o=new 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 E(i,o[r]))}}(o),m(n,function(e){if(0==e.a.length)throw Error("No fonts to load!");if(-1!=e.c.indexOf("kit="))return e.c;for(var t=e.a.length,n=[],r=0;r<t;r++)n.push(e.a[r].replace(/ /g,"+"));return t=e.c+"?family="+n.join("%7C"),0<e.f.length&&(t+="&subset="+e.f.join(",")),0<e.g.length&&(t+="&text="+encodeURIComponent(e.g)),t}(r),y(t)),b(t,function(){e(o.a,o.c,re)})},ie.prototype.load=function(e){var t=this.a.id,n=this.c.o;t?v(this.c,(this.a.api||"https://use.typekit.net")+"/"+t+".js",function(t){if(t)e([]);else if(n.Typekit&&n.Typekit.config&&n.Typekit.config.fn){t=n.Typekit.config.fn;for(var r=[],i=0;i<t.length;i+=2)for(var o=t[i],a=t[i+1],s=0;s<a.length;s++)r.push(new E(o,a[s]));try{n.Typekit.load({events:!1,classes:!1,async:!0})}catch(e){}e(r)}},2e3):e([])},oe.prototype.load=function(e){var t=this.f.id,n=this.c.o,r=this;t?(n.__webfontfontdeckmodule__||(n.__webfontfontdeckmodule__={}),n.__webfontfontdeckmodule__[t]=function(t,n){for(var i=0,o=n.fonts.length;i<o;++i){var a=n.fonts[i];r.a.push(new E(a.name,T("font-weight:"+a.weight+";font-style:"+a.style)))}e(r.a)},v(this.c,(this.f.api||"https://f.fontdeck.com/s/css/js/")+function(e){return e.o.location.hostname||e.a.location.hostname}(this.c)+"/"+t+".js",function(t){t&&e([])})):e([])};var ae=new 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){e.exports=playerjs},function(e,t,n){var r=n(1237),i=n(1238),o=n(1935),a=n(1936),s=n(954),c=n(1239),u=n(1937);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(401),i=n(402),o=n(601),a=n(209).type("Any"),s=n(209).typeFn(a(),2),c=n(183),u=n(95),l=n(955),d=n(222),f=function(){return p(!1)};function p(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},h=f,m=function(){return"Any"+i(r())},v=function(e){return d(p,e)&&o(n,e.valueOf())};function g(e){return function(t){if(!d(p,t))throw new TypeError("Any."+e+": Any required");return p(t.valueOf()||r())}}return(t={inspect:m,toString:m,equals:v,valueOf:r,type:a,empty:h})["@@type"]=s,t.concat=g("concat"),t[c.equals]=v,t[c.concat]=g(c.concat),t[c.empty]=h,t.constructor=p,t}p["@@implements"]=r(["equals","concat","empty"]),p.empty=f,p.type=a,p[c.empty]=f,p["@@type"]=s,e.exports=p},function(e,t,n){
/** @license ISC License (c) copyright 2016 original and current authors */
var r=n(125),i=n(95);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(300),i=n(125),o=n(264),a=n(299),s=n(95),c=n(664),u=n(523),l=n(666),d=n(183);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(125),i=n(524),o=n(95),a=n(897),s=n(1938);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(125),i=n(430),o=n(533);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(587))&&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 p(e,t){return(p=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function h(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return 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&&p(e,t)}(c,i.Component);var t,n,r,s=h(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(683),i=n(1949);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(683);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(304))&&"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(331).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(1951).XMLReader,l=t.DOMImplementation=n(956).DOMImplementation;t.XMLSerializer=n(956).XMLSerializer,t.DOMParser=r},function(e,t,n){"use strict";var r=n(957).discardEmulationPreventionBytes,i=n(1952).CaptionStream,o=n(392),a=n(558),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,p=o.findBox(u,["tfdt"]),h=p.length>0?a.parseTfdt(p[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,h,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(959),i=n(1953).handleRollover,o={};o.ts=n(1954),o.aac=n(1955);var a=n(1956).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,p=!1,h={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&&!p&&(s=o.ts.parsePesTime(r))&&(s.type="video",n.video.push(s),p=!0),!n.firstKeyFrame)){if(a&&0!==h.size){for(c=new Uint8Array(h.size),u=0;h.data.length;)l=h.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.")}h.size=0}h.data.push(r),h.size+=r.byteLength}}if(p&&n.firstKeyFrame)break;d+=188,f+=188}for(d=(f=e.byteLength)-188,p=!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),p=!0)}if(p)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(1169),i=n(1170),o=n(1171),a=n(1172),s=n(1173),c=n(1174),u=n(1175),l=n(1176),d=n(1177),f=n(1178),p=n(1179),h=n(1180),m=n(1181),v=n(1182),g=n(1183),y=n(1184);t.a={ar:r,cs:i,de:o,en:a,es:s,fr:c,it:u,ja:l,nl:d,pl:f,sk:p,tr:h,"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}}(),p=n(2,53)-1,h={};function m(e){return null==e?"":"object"===(void 0===e?"undefined":l(e))||"function"==typeof e?h[Object.prototype.toString.call(e)]||"object":void 0===e?"undefined":l(e)}function v(e){return"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<=p}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 E(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){h["[object "+e+"]"]=e.toLowerCase()});var k=!("undefined"==typeof window||!window.document||!window.document.createElement),x=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 O(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;if(e)return(null==t?T:t).querySelector(e)}function C(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 N(e){return e===T.documentElement||e===T.body}function P(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 M(e,t){var n=P(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 R(e){return s(e.scrollWidth,e.clientWidth,e.offsetWidth)}function D(e){return{width:R(e),height:I(e)}}function B(e){return N(e)?{viewport:{width:c(S.innerWidth,T.documentElement.clientWidth),height:S.innerHeight},size:{width:s(R(T.body),R(T.documentElement)),height:s(I(T.body),I(T.documentElement))}}:{viewport:{width:e.clientWidth,height:e.clientHeight},size:D(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||N(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,X=k?S.requestAnimationFrame:null,$=k?S.cancelAnimationFrame:null;if(k){for(var Q=0;Q<G.length&&!X;++Q)X=S[G[Q]+"RequestAnimationFrame"],$=S[G[Q]+"CancelAnimationFrame"]||S[G[Q]+"CancelRequestAnimationFrame"];X||(X=function(e){var t=Date.now(),n=s(0,16-(t-K)),r=setTimeout(function(){e(t+n)},n);return K=t+n,r}),$||($=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=X(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,$(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,p={},h=e-o,m=c(1,s(h/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);p[t]=u(n+r*i)}),w(p,function(e,t){U(n,e,t)}),h<=d?(f.call(this,m,p),this.rafId=X(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=E({},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=O(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=O(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-D(r).height)),o):null}},{key:"normalizeScrollOffset",value:function(e,t){var n=this.container,r=E({},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=E({},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,E({},t,{verticalScroll:!0,horizontalScroll:!1}))}},{key:"toLeft",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.to(e,E({},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,E({},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=E({},this.options,e),this.header=O(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=E(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&&x&&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=M(e,"y")),!i&&r&&(i=M(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(C(n,t.trigger)){var r=n.getAttribute("data-scroll"),i=this.parseDataOptions(n),o=r||n.getAttribute("href");(t=E({},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(280),i=n(31),o=n(567),a=n(168),s=n(63),c=n(14),u=n(4),l=n(705);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 p(e){return e&&e.__esModule?e:{default:e}}function h(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function m(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+r(t));e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var v=n(0),g=p(v),y=p(n(1240)),b=p(n(1961)),_=function(e){function t(e){h(this,t),f(o(t.prototype),"constructor",this).call(this,e),this.serverSide="undefined"==typeof window,this.listener=(0,y.default)(this.handleScroll.bind(this),50),this.visibility={inViewport:!1,onScreen:!1},this.state={classes:"animated",style:{animationDuration:this.props.duration+"s",opacity:this.props.initiallyVisible?1:0}}}return m(t,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,p=Array.isArray(t)?t:d;return f&&Array.isArray(p)?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(p.length)).call(i)))).call(n,function(t){return o.renderChild(p[t],e,t)}):this.renderChild(p,e)}},{key:"renderWrapped",value:function(e){var t=this;return g.default.createElement("div",{ref:function(e){t.node=e}},this.renderChildren(e))}},{key:"renderStructure",value:function(e){var t,n=this,r=this.props.children;return 1===g.default.Children.count(r)?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){h(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 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),p=(n(1989),n(86)),h=n.n(p),m=n(89),v=n.n(m),g=n(7),y=n.n(g),b=n(2),_=n.n(b),w=n(59),E=n(22),k=n(74),x=n(73),S=n(214);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 O=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=h()(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=h()(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(x.f)(i,c,!0,u)}else Object(x.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=h()(o),l=s.paddingTop,d=s.paddingBottom,f=s.backgroundColor,p=s.mediaWidth,m=void 0===p?"0":p,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(E.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,p=Object(S.a)(u,a,s),h=f.height/f.width,m={paddingBottom:"".concat(100*h,"%")},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(E.g)(p),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,p,h,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,p=void 0!==v.spacer?v.spacer:f?"":" ",m=v.symbols||v.suffixes||{},h=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[h][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[h][o?"bits":"bytes"][b],f&&(g[1]="jedec"===h?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[h][b]+(o?"bit":"byte")+(1===g[0]?"":"s")),g.join(p))}o.partial=function(e){return function(t){return o(t,e)}},e.exports=o}("undefined"!=typeof window&&window)}).call(this,n(108))},function(e,t,n){"use strict";var r=n(0),i=n.n(r),o=n(55),a=n.n(o),s=n(723),c=n(724),u=(n(1995),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,p=d.authors,h=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:p,backgroundColor:t,block:!0,bookImage:h,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(908),i=n(915),o=n(918),a=n(1992);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(1996);var r=n(0),i=n.n(r),o=n(452),a=n(2256),s=n(74),c=n(610),u=n(725),l=n(59);function d(e){var t=e.animateBlockEntrance,n=e.canContinue,s=void 0!==n&&n,d=e.isComplete,p=e.isLearner,h=e.items,m=void 0===h?[]:h,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,E=m[0]||{},k=E.buttonColor,x=E.completeHint,S=E.id,T=E.title,O=!E.type||s,C=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:p,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"},O&&i.a.createElement(c.a,{bgColor:k,onClick:C,text:T}),!O&&i.a.createElement(u.a,{text:x}))))))),i.a.createElement("div",{className:"abs-center-x 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(665)},function(e,t,n){
/** @license ISC License (c) copyright 2016 original and current authors */
var r=n(300),i=n(125),o=n(95),a=n(1241),s=n(183);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(125),i=n(524),o=n(299);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(211),i=n.n(r),o=n(185),a=n.n(o),s=n(1197),c=n.n(s),u=n(1198),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(125),i=n(95);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(300),i=n(125),o=n(430),a=n(95),s=n(712),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(17),i=(n(2016),n(26)),o=n.n(i),a=n(726),s=n(311),c=n(68).b.blocks;t.a=function(t){var n=t.blockId,i=t.progress,u=t.settings,l=o()(["items",n],i);return e.createElement(s.a,{className:"block-labeled-graphic","data-ba":c.blockLabeledGraphic,settings:u},e.createElement(a.a,Object(r.a)({},t,{editable:!1,isBlock:!0,parentId:n,progress:l})))}}).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(6),c=n(11),u=n(13),l=n(5),d=n(14),f=n.n(d),p=(n(2019),n(573)),h=n.n(p),m=n(16),v=n.n(m),g=n(2),y=n.n(g),b=n(38),_=n.n(b),w=n(455),E=n.n(w),k=n(1),x=n.n(k),S=n(161),T=n.n(S),O=n(36),C=n(42),j=n(25),A=n(23);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(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(t){Object(c.a)(r,t);var n=N(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,p=r.x,h=r.y,m=y()("bubble",{"bubble--active":c}),v=M({x:p,y:h}),g=L({hasOverflow:this.state.hasOverflow,x:p,y:h}),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(C.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(C.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(O.j,{className:"bubble__close-icon"}))));return window.matchMedia("(max-width: 767px)").matches?e.createElement(E.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=h()(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:x.a.string.isRequired,description:x.a.string.isRequired,isActive:x.a.bool.isRequired,onClose:x.a.func.isRequired,onNextClick:x.a.func.isRequired,onPreviousClick:x.a.func.isRequired,title:x.a.string.isRequired}}},{key:"defaultProps",get:function(){return{allowNav:!0,onClose:Function.prototype,onNextClick:Function.prototype,onPreviousClick:Function.prototype}}}]),r}(e.Component),M=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(47),a=n.n(o),s=n(32),c=n.n(s),u=n(40),l=n.n(u),d=n(31),f=n.n(d),p=n(34),h=n.n(p),m=n(8),v=n(9),g=n(10),y=n(11),b=n(13),_=n(5),w=(n(2025),n(2)),E=n.n(w),k=n(7),x=n.n(k),S=n(15),T=n.n(S),O=n(251),C=n.n(O),j=n(61),A=n(198),N=n(323);function P(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 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(_.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=x()(function(e){return e.substr(1)},T()("path"),C.a.parse),I=function(t){Object(y.a)(r,t);var n=M(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,p=c.image,v=void 0===p?{}:p,g=v.alt,y=v.key,b=v.originalUrl,_=v.src,w=!!v.alt,k=Object(A.c)({alt:g,fileName:b,key:y}),x=Object(A.d)(v),S=E()("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?P(Object(n),!0).forEach(function(t){Object(m.a)(e,t,n[t])}):h.a?Object.defineProperties(e,h()(n)):P(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(N.a,{className:"item-media__tooltip"},e.createElement("div",{onClick:l,className:"labeled-graphic-canvas__alt-tag"},"ALT"),e.createElement(N.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:x})},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 E});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),p=n.n(f),h=(n(2027),n(2)),m=n.n(h),v=n(1),g=n.n(v),y=n(1203),b=n(25),_=n(82);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 E=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,h=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 p()(t=p()(n=p()(r=[]).call(r,o?[o]:[])).call(n,i?[i]:[])).call(t,[a?"Viewed":"Not Viewed"]).join(", ")}({icon:g,label:f&&f.labeledGraphicMarkerLabel||"",viewed:_}),E=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:E,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:h,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=p()(t="translate3d(".concat(n,"px, ")).call(t,r,"px, 0)")}}},{key:"onItemRelease",value:function(e){var t=this.props.editable,n={isDragged:!1};this.marker.style.transform="translate3d(0, 0, 0)",this.state.isDragged&&this.state.posX===e.clientX&&this.state.posY===e.clientY?this.props.onClick():t&&e.currentTarget&&e.currentTarget.classList.contains("labeled-graphic-marker")?this.props.onSetPosition(e,this.state.offsetX,this.state.offsetY):this.state.isDragged&&(n.offsetX=0,n.offsetY=0),this.setState(n)}}],[{key:"propTypes",get:function(){return{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){
/*!
 * 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){"use strict";(function(e){n.d(t,"a",function(){return A});var r=n(3),i=n.n(r),o=n(47),a=n.n(o),s=n(32),c=n.n(s),u=n(40),l=n.n(u),d=n(31),f=n.n(d),p=n(34),h=n.n(p),m=n(17),v=n(8),g=n(9),y=n(10),b=n(11),_=n(13),w=n(5),E=(n(2029),n(38)),k=n.n(E),x=n(23),S=n(25),T=n(1206);function O(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 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(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(68).b.blocks,A=function(t){Object(b.a)(r,t);var n=C(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:x.a},s=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?O(Object(n),!0).forEach(function(t){Object(v.a)(e,t,n[t])}):h.a?Object.defineProperties(e,h()(n)):O(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(17),a=n(154),s=n(9),c=n(10),u=n(6),l=n(11),d=n(13),f=n(5),p=n(4),h=n.n(p),m=n(14),v=n.n(m),g=n(88),y=n(149),b=n.n(y),_=n(203),w=n.n(_),E=n(27),k=n.n(E),x=n(7),S=n.n(x),T=n(53),O=n.n(T),C=n(65),j=n.n(C),A=n(43),N=n.n(A),P=n(29),M=n.n(P),L=n(33),I=n.n(L),R=n(18),D=n.n(R),B=n(1),F=n.n(B),U=n(128),q=n.n(U),z=n(753),H=n(82),V=n(59);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=M()(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()(D()("type","intro"),t),r=j()(D()("type","summary"),t),i=O()(D()("type","step"),t),o=h()(e=[n]).call(e,Object(a.a)(i),[r]),s=q()(D()("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,p=this.state,h=p.entered,m=p.visible,v=this.getSteps(),g=!M()(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}},E={blockId:i,entered:h,getScrollTop:this.getScrollTop,labels:s,menuOpen:c,onStep:u,isPreview:g,settings:d,steps:v,visible:m,enableVideoPlaybackSpeed:f},x=k()("ref",function(e){return t.process=e},E),S=k()("ref",function(e){return t.processMobile=e},E),T=e.createElement(z.a,x),O=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?O:T))}},{key:"setProgress",value:function(){var e=this.props,t=e.items,n=e.onStep,r=this.getSteps(),i=O()(D()("isHidden",!0),t),o=r[0]?w()(r[0]):N.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(2032),n(16)),d=n.n(l),f=n(36),p=n(2),h=n.n(p),m=n(7),v=n.n(m),g=n(38),y=n.n(g),b=n(85),_=n(122),w=n.n(_),E=n(18),k=n.n(E),x=n(1),S=n.n(x),T=n(71),O=n.n(T);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 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:"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,p=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,E=u.active?i+s:n,x=y()([[k()("active",!0),d()(p)],[k()("end",!0),d()(r)],[O.a,d()(null)]])(u),S=h()("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?E:null,top:x},C={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",C,e.createElement(f.g,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)],[O.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(2034),n(29)),d=n.n(l),f=n(1),p=n.n(f),h=n(59),m=n(727);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(68).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,p={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:p},e.createElement(h.a,v,e.createElement(m.a,this.props)))}}],[{key:"propTypes",get:function(){return{animateBlockEntrance:p.a.bool,blockId:p.a.string.isRequired,isLearner:p.a.bool,items:p.a.array.isRequired,lessonId:p.a.string.isRequired,menuOpen:p.a.bool,onStep:p.a.func,onItemUpdate:p.a.func,previewType:p.a.string,settings:p.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(109),a=n.n(o),s=n(7),c=n.n(s),u=n(53),l=n.n(u),d=n(65),f=n.n(d),p=n(309),h=n.n(p),m=n(60),v=n.n(m),g=n(33),y=n.n(g),b=n(135),_=n.n(b),w=n(24),E=n.n(w),k=n(15),x=n.n(k),S=n(18),T=n.n(S),O=n(368),C=n.n(O),j=n(251),A=n.n(j),N=E()(x()("filters"),l()(T()("name","rise_emotion")),a()(v.a)),P=E()(x()("filters"),f()(T()("name","rise_emotion")),x()("value")),M=c()(C.a,x()("pathname"),A.a.parse),L=E()(x()("poses"),l()(N),y()(function(e){return[P(e),e]}),h.a,_()(function(e){return E()(i()("key",M(e.src)),i()("thumbnailKey",M(e.thumbnail)))(e)}))},function(e,t,n){"use strict";(function(e){n(2036);var r=n(21),i=n.n(r),o=n(15),a=n.n(o),s=n(52),c=n(311),u=n(59),l=n(728),d=n(78),f=n(321),p=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}))}},h=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.e)(g),b=t.onCardDrop||p,_=t.onReplay||h;return e.createElement(c.a,{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(14),p=n.n(f),h=(n(2038),n(2)),m=n.n(h),v=n(86),g=n.n(v),y=n(157),b=n.n(y),_=n(18),w=n.n(_),E=n(48),k=n.n(E),x=n(579),S=n(581);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 O=function(e){return m()("deck",{"deck--complete":w()("percentViewed",100,e)})},C=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:O(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"},p()(i).call(i,function(n,r){return e.createElement(x.a,{id:n.id,isDeckTopCard:t.cardRefs[r]===g()(t.cardRefs),isIncorrect:C({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){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(2042),n(2)),f=n.n(d),p=n(38),h=n.n(p),m=n(231),v=n(1),g=n.n(v),y=n(134),b=n(23),_=n(579),w=n(42),E=n(25),k=n(107);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 S=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)).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(k.a)(this.handleKeyboardDrop),o=Object(k.a)(r),a=Object(k.a)(n);h()([[E.e,i],[E.g,o],[E.i,a]])(e)}},{key:"onKeyUp",value:function(e){Object(E.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,r=n.fusion,i=n.title,o=this.state,a=o.activeCard,s=o.isSuccess,c=o.showFocusOutline,u=f()("pile",{"pile--legacy":!r,"drop-success":s}),l=f()("pile__content",{"drop-animating":!c});return e.createElement("div",{className:u,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(w.a,{className:"pile__title brand--head",value:i})),e.createElement("div",{className:l,onKeyDown:this.onKeyDown.bind(this),onKeyUp:this.onKeyUp.bind(this),ref:function(e){return t.pileContent=e},tabIndex:b.a},a&&e.createElement(_.a,{id:a.id,title:a.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);t.a=Object(y.c)("rise-authoring-controls","fusion")(S)}).call(this,n(0))},function(e,t,n){"use strict";(function(e){n(2043);var r=n(21),i=n.n(r),o=n(15),a=n.n(o),s=n(52),c=n(311),u=n(59),l=n(729),d=function(t){var n=t.animateBlockEntrance,r=t.blockId,o=t.enableVideoPlaybackSpeed,d=t.isLearner,f=t.items,p=t.labels,h=t.progress,m=t.settings,v=a()("backgroundColor",m),g=Object(s.e)(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:p,progress:i()({},["items",r],h)})))};d.defaultProps={isLearner:!0},t.a=d}).call(this,n(0))},function(e,t,n){"use strict";n.d(t,"a",function(){return M});var r=n(71),i=n.n(r),o=n(7),a=n.n(o),s=n(38),c=n.n(s),u=n(75),l=n.n(u),d=n(309),f=n.n(d),p=n(43),h=n.n(p),m=n(94),v=n.n(m),g=n(56),y=n.n(g),b=n(33),_=n.n(b),w=n(24),E=n.n(w),k=(n(15),n(254)),x=n.n(k),S=(n(80),n(468)),T=n.n(S),O=n(467),C=n.n(O),j=n(1215),A=n.n(j),N=n(1216),P=n.n(N),M=(l()(function(e,t){return E()(x.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()([[C.a,function(e){return L(P.a,I,e)}],[T.a,function(e){return _()(I,e)}],[i.a,h.a]]),R=c()([[C.a,function(e){return L(A.a,R,e)}],[T.a,function(e){return _()(R,e)}],[i.a,h.a]])},function(e,t,n){var r=n(768)(function(e,t,n){return e+(n?"_":"")+t.toLowerCase()});e.exports=r},function(e,t,n){var r=n(2056),i=n(768)(function(e,t,n){return t=t.toLowerCase(),e+(n?r(t):t)});e.exports=i},function(e,t,n){var r=n(2194),i=n(2196)(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 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),p=(n(2218),n(0)),h=n.n(p),m=n(7),v=n.n(m),g=n(2),y=n.n(g),b=n(15),_=n.n(b),w=n(100),E=n(311),k=n(59),x=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(68).b.blocks,O=v()(w.c,_()("backgroundColor")),C=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 h.a.createElement(x.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,p=this.state.isVisible,m=O(s),v=y()("block-chart__container",{"block-chart__container--darkTheme":m});return h.a.createElement(E.a,{type:"chart"},h.a.createElement(k.a,{afterAnimatedIn:this.handleAnimationEnd,animateBlockEntrance:t,animateIn:"fadeIn",initiallyVisible:!t,isLearner:i},h.a.createElement("div",{className:v,"data-ba":T.blockChart},h.a.createElement("div",{className:"block-chart__row"},h.a.createElement("div",{className:"block-chart__rowInner"},(!r&&c||r)&&h.a.createElement("h2",{className:"block-chart__title brand--head"},f()),h.a.createElement("div",{className:"block-chart__chart"},h.a.cloneElement(h.a.Children.only(n),{hasDarkBgColor:m,isVisible:p,items:o,itemsLabel:a,settings:s,shouldAnimate:t,valuesLabel:u,variant:l})))))))}}]),n}(p.PureComponent)},function(e,t,n){"use strict";var r,i=n(47),o=n.n(i),a=n(32),s=n.n(a),c=n(40),u=n.n(c),l=n(31),d=n.n(l),f=n(34),p=n.n(f),h=n(8),m=n(287),v=n(28),g=n.n(v),y=n(67),b=Object(y.c)({},Object(h.a)({},m.a,function(e,t){var n=t.labelSet;return g()(e,n)})),_=n(66),w=n(55),E=n.n(w),k=n(113),x=n.n(k),S=n(576),T=n(210),O=n(78),C=(E()("rise/fonts/")("LOAD_FONTS"),g()({})),j=Object(y.c)({},(r={},Object(h.a)(r,m.a,function(e,t){var n=t.fonts;return g()(e,x()(A)(n))}),Object(h.a)(r,m.b,function(e,t){var n=t.fonts;return C(n)}),r)),A=function(e){return Object(S.a)(e,function(){return Object(O.a)(Object(T.e)(!0))})},N={isPreview:"preview"===window.viewType,externalLinksModalVisible:!1},P=E()("rise/globals/")("SHOW_EXTERNAL_LINKS_MODAL"),M=Object(y.c)(N,Object(h.a)({},P,function(e,t){return g()(e,{externalLinksModalVisible:t})})),L=n(735),I=n(203),R=n.n(I),D=n(129),B=n.n(D),F=n(150),U=n.n(F),q=n(18),z=n.n(q),H=n(120),V=n.n(H),W=n(441),Y=n.n(W),G=n(180),K=n(574),X=function(e,t){var n=U()(z()("id",t.id),e.content),r=-1===n?R()(t):Y()(n,t);return B()({content:r},e)},$=Object(h.a)({},K.a,function(e,t){return V()(X,e,t)}),Q=Object(G.handle)({content:[]},$),Z=n(217),J=n(229),ee=n(609);function te(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 ne=n(22).e?{learningPathUpNext:L.a}:{};t.a=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?te(Object(n),!0).forEach(function(t){Object(h.a)(e,t,n[t])}):p.a?Object.defineProperties(e,p()(n)):te(Object(n)).forEach(function(t){Object.defineProperty(e,t,d()(n,t))})}return e}({course:m.c,courseLabels:b,courseProgress:_.d,fonts:j,global:M,partnerContent:Q,search:Z.a,sessionPreferences:J.a,status:T.a,ui:ee.a},ne)},function(e,t,n){"use strict";var r=n(8),i=n(70),o=n(14),a=n.n(o),s=(n(2705),n(2)),c=n.n(s),u=n(29),l=n.n(u),d=n(0),f=n.n(d),p=["ariaControls","ariaExpanded","ariaHidden","ariaLabel","ariaPressed","onClick","onMouseDown","tabIndex"],h=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,p);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--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})};h.defaultProps={onClick:Function.prototype,onMouseDown:Function.prototype},t.a=h},function(e,t,n){var r=n(1237),i=n(1238),o=n(2711),a=n(1239);e.exports=a(3,function(e,t){return i(r(e),[t,o])})},function(e,t,n){e.exports=n(2713)},function(e,t,n){"use strict";n.d(t,"a",function(){return gn});var r=n(3),i=n.n(r),o=n(17),a=n(9),s=n(10),c=n(11),u=n(13),l=n(5),d=n(54),f=n(8),p=n(6),h=n(14),m=n.n(h),v=n(40),g=n.n(v),y=n(81),b=n.n(y),_=n(4),w=n.n(_),E=n(0),k=n.n(E),x=n(88),S=n(1),T=n.n(S),O=n(27),C=n.n(O),j=n(2),A=n.n(j),N=n(7),P=n.n(N),M=n(55),L=n.n(M),I=n(60),R=n.n(I),D=n(24),B=n.n(D),F=n(18),U=n.n(F),q=n(128),z=n.n(q),H=n(616),V=n(2422),W=n(310),Y=n(51),G=n(119),K=n(101),X=Object(K.a)("ProgressLine",function(e){var t=e["aria-describedby"],n=e["aria-hidden"],r=e["aria-label"],i=e.color,o=e.progress,a=void 0===o?0:o,s=e.runnerClass,c=e.trackClass;return k.a.createElement("div",{"aria-describedby":t,"aria-hidden":n,"aria-label":r,"aria-valuemax":100,"aria-valuemin":0,"aria-valuenow":a,className:c,role:"progressbar",style:{color:i}},k.a.createElement("div",{className:s,style:{width:"".concat(a,"%")}}))}),$=n(1301),Q=n(217),Z=n(96),J=n(215),ee=n(136),te=n(260),ne=n(205);function re(e){return null==e?void 0:e.search}function ie(){return Object(Y.d)(function(e){return re(e)})}var oe=Object(ne.a)(function(e){var t=re(e);return null==t?void 0:t.activeLessons},function(e){return e.reduce(function(e,t){return null!=t&&t.id&&(e[t.id]=t),e},{})});function ae(e){var t=Object(E.useMemo)(function(){return Object(ne.a)(function(e){return e},function(e,t){return oe(t)},function(e,t){return null==t?void 0:t[e]})},[]);return Object(Y.d)(function(n){return t(e,n)})}var se=n(90),ce=n(52),ue=n(175),le=Object(K.a)("NavCompactHeaderCounter",function(e){var t,n,r,i=e.className,o=void 0===i?"":i,a=e.lessonPosition,s=e.labelLessonName,c=e.labelLessonPreposition,u=e.totalLessons;return a<=0?null:k.a.createElement("div",{className:"".concat(o," nav-compact__header-counter")},w()(t=w()(n=w()(r="".concat(s," ")).call(r,a," ")).call(n,c," ")).call(t,u))}),de=Object(K.a)("NavCompactHeaderProgress",function(e){var t=e.className,n=void 0===t?"":t,r=e.classProgressRunner,i=e.classProgressText,o=e.classProgressTrack,a=e.color,s=e.percentComplete,c=e.percentCompleteText;return k.a.createElement("div",{className:"".concat(n," nav-compact__header-progress")},k.a.createElement("div",{"aria-hidden":"true",className:i},c),k.a.createElement(X,{color:a,progress:s,runnerClass:r,trackClass:o}))});var fe=Object(Y.b)(function(){var e=Object(ee.a)();return function(t){var n=Object(Z.a)(t),r=Object(te.e)(t),i=Object(J.a)(t),o=Object(ee.o)(t),a=e(t),s=Object(Z.c)(t),c=re(t);return{allowSearch:n.allowSearch,color:n.color,coverImageBgStyle:null==s?void 0:s.backgroundImage,labelLessonComplete:i.lessonComplete,labelLessonName:i.lessonName,labelLessonPreposition:i.lessonPreposition,lessonPosition:a,lessonsOnlyIds:o,navigationMode:n.navigationMode,navigationStyle:n.navigationStyle,percentComplete:r,searchActive:c.active,themeId:n.themeId,title:n.title}}})(function(e){var t,n=e.allowSearch,r=e.color,i=e.coverImageBgStyle,o=e.dispatch,a=e.isExpanded,s=e.labelLessonComplete,c=e.labelLessonName,u=e.labelLessonPreposition,l=e.lessonPosition,d=e.lessonsOnlyIds,f=e.navigationMode,p=e.navigationStyle,h=e.percentComplete,m=e.searchActive,v=e.title,g=Object(E.useMemo)(function(){return Object(se.f)(p)},[p]),y=Object(E.useMemo)(function(){return Object(se.g)(p)},[p]),b=Object(E.useMemo)(function(){return Object(se.d)(p)},[p]),_=Object(E.useMemo)(function(){return Object(ce.f)(r)},[r]),x=Object($.b)(),S=Object(E.useCallback)(function(){a?x.collapseNav():x.expandNav()},[a,x]),T=w()(t="".concat(h,"% ")).call(t,s),O=a?"Collapse course outline":"Expand course outline",C=A()("nav-compact__header",{"nav-compact__header--collapsed":!a,"nav-compact__header--dark":g,"nav-compact__header--light":!g,"nav-compact__header--accent":b}),j=A()("nav-compact__header-image",{"nav-compact__header-image--collapsed":!a}),N=A()("nav-compact__header-inner",{"nav-compact__header-inner--dark":g,"nav-compact__header-inner--accent":b,"nav-compact__header-inner--accent-dark":b&&_,"nav-compact__header-inner--accent-light":b&&!_,"nav-compact__header-inner--light":!g,"nav-compact__header-inner--image":y}),P=A()("nav-compact__header-control",{"nav-compact__header-control--image":y,"nav-compact__header-control--dark":g&&!y}),M=A()("brand--head","nav-compact__header-title-link",{"nav-compact__header-title-link--collapsed":!a}),L=A()("nav-compact__header-progress-text",{"nav-compact__header-progress-text--collapsed":!a}),I=A()("nav-compact__header-progress-track",{"nav-compact__header-progress-track--collapsed":!a,"nav-compact__header-progress-track--image":y,"nav-compact__header-progress-track--accent":b,"nav-compact__header-progress-track--dark":g}),R=A()("nav-compact__header-progress-runner",{"nav-compact__header-progress-runner--collapsed":!a,"nav-compact__header-progress-runner--image":y,"nav-compact__header-progress-runner--accent":b}),D=A()("nav-compact__header-strip",{"nav-compact__header-strip--accent":b,"nav-compact__header-strip--accent-dark":b&&_,"nav-compact__header-strip--accent-light":b&&!_}),B=Object(E.useCallback)(function(){o(Object(Q.c)(!m))},[o,m]);return k.a.createElement("section",{"aria-label":"Course Information",className:C,style:{color:r}},y&&i&&k.a.createElement("div",{className:j,style:{backgroundImage:i}}),k.a.createElement("div",{className:N},k.a.createElement("div",{className:D},k.a.createElement("div",{className:"nav-compact__header-controls"},n&&"restricted"!==f&&a&&k.a.createElement("button",{"aria-label":"Show Search Bar",className:"".concat(P," nav-compact__header-search"),onClick:B,type:"button"},k.a.createElement(ue.h,{className:"nav-compact__header-control-icon nav-compact__header-search-icon"})),k.a.createElement("button",{"aria-controls":"nav-compact-outline","aria-label":O,"aria-expanded":a,className:"".concat(P," nav-compact__header-toggle"),onClick:S,type:"button"},a&&k.a.createElement(ue.d,{className:"nav-compact__header-control-icon nav-compact__header-toggle-icon"}),!a&&k.a.createElement(ue.e,{className:"nav-compact__header-control-icon nav-compact__header-toggle-icon"}))),k.a.createElement(le,{lessonPosition:l,labelLessonName:c,labelLessonPreposition:u,totalLessons:d.length})),k.a.createElement("div",{className:"nav-compact__header-title"},k.a.createElement(G.b,{className:M,to:"/"},v)),k.a.createElement(de,{classProgressRunner:R,classProgressText:L,classProgressTrack:I,color:r,percentComplete:h,percentCompleteText:T})))}),pe=n(384),he=n(613),me=n(615),ve=n(78),ge=n(262),ye=n(22),be=n(77),_e=n(66),we=Object(be.a)("lesson-progress"),Ee=d.k.COMPACT,ke=d.k.SIDEBAR,xe=Object(K.a)("LessonProgressCircle");var Se=Object(Y.b)(function(){var e=Object(ee.e)(),t=Object(ee.b)(),n=Object(ee.c)(),r=Object(ee.d)();return function(i,o){var a,s=Object(Z.a)(i),c=e(o.id,i),u=Object(te.c)(o.id,i),l=t(o.id,i),d=n(o.id,i),f=r(o.id,i);return{color:s.color,hasRestriction:null!=(null==f?void 0:f.type),isComplete:null==u?void 0:u.isComplete,isFailed:l,isPassed:d,markCompleteSetting:s.markComplete,navigationMode:s.navigationMode,navigationStyle:s.navigationStyle,percentComplete:null!==(a=null==u?void 0:u.percentComplete)&&void 0!==a?a:0,themeId:s.themeId,title:c.title,type:c.type}}})(function(e){var t=e.color,n=e.hasRestriction,r=e.id,i=e.isComplete,o=e.isEnabled,a=e.isFailed,s=e.isPassed,c=e.markCompleteSetting,u=e.navigationMode,l=e.navigationStyle,f=e.percentComplete,p=e.scope,h=e.title,m=e.type,v=Object(E.useMemo)(function(){return Object(se.f)(l)},[l]),g=Object(me.a)(),y=r===g,b=(p===Ee||p===ke)&&u!==d.h.RESTRICTED&&c&&!n&&m!==ge.a.QUIZ&&!(ye.e&&100===f),_=we({compact:p===Ee,inactive:!b,sidebar:p===ke}),w=Object(E.useCallback)(function(){i?Object(ve.a)(Object(_e.e)({id:r,type:m})):Object(ve.a)(Object(_e.b)({id:r,type:m}))},[r,i,m]);return k.a.createElement("div",{className:_},k.a.createElement("div",{className:we("graphic")},k.a.createElement(xe,{"aria-label":"".concat(f,"% complete"),color:t,isCurrent:y,isDark:v,isFailed:a,isPassed:s,scope:p,value:f})),b&&k.a.createElement("button",{"aria-label":i?"Mark lesson as incomplete: ".concat(h):"Mark lesson as complete: ".concat(h),className:we("action"),disabled:!o,onClick:w,type:"button"}))});var Te=Object(Y.b)(function(){var e=Object(ee.e)();return function(t,n){var r=Object(Z.a)(t),i=e(n.id,t);return{currentLesson:Object(te.b)(t),navigationStyle:r.navigationStyle,title:i.title}}})(function(e){var t=e.id,n=e.isEnabled,r=e.isSectionLesson,i=e.last,o=e.navigationStyle,a=e.title,s=Object(E.useMemo)(function(){return Object(se.f)(o)},[o]),c=t===Object(me.a)(),u=Object(pe.a)(a||"",45),l=r?"nav-compact__outline-section-item":"nav-compact__outline-item",f=k.a.createElement(Se,{id:t,isEnabled:n,scope:d.k.COMPACT});return k.a.createElement("li",{className:"nav-compact__outline-list-item",role:"listitem"},k.a.createElement(he.a,{className:l,dark:s,isCurrentLesson:c,last:i,lessonId:t,tooltipClassName:"".concat(l,"-tooltip")},u),f)}),Oe=n(487),Ce=n(41),je=n.n(Ce);var Ae=Object(Y.b)(function(){var e=Object(ee.e)();return function(t,n){var r=Object(Z.a)(t),i=e(n.id,t);return{navigationStyle:r.navigationStyle,title:i.title}}})(function(e){var t=e.navigationStyle,n=e.title,r=Object(E.useMemo)(function(){return Object(se.f)(t)},[t]),i=A()("nav-compact__outline-section-text",{"nav-compact__outline-section-text--dark":r,"nav-compact__outline-section-text--light":!r});return k.a.createElement("span",{className:i},n)}),Ne=n(35),Pe=n(470);var Me=Object(Y.b)(function(){var e=Object(ee.e)();return function(t,n){var r=Object(Z.a)(t),i=e(n.id,t);return{navigationStyle:r.navigationStyle,themeId:r.themeId,title:i.title}}})(function(e){var t=e.index,n=e.isEnabled,r=e.lessonIds,i=e.navigationStyle,o=e.themeId,a=e.title,s=Object(E.useState)(!0),c=Object(Ne.a)(s,2),u=c[0],l=c[1],d=Object(E.useState)(),f=Object(Ne.a)(d,2),p=f[0],h=f[1],v=Object(E.useRef)(),g=Object(E.useMemo)(function(){return Object(se.f)(i)},[i]),y="sublistCompact-".concat(t),b=Object(pe.a)(a||"",45),_=A()("nav-compact__outline-section-toggle-icon",{"nav-compact__outline-section-toggle-icon--collapsed":!u,"nav-compact__outline-section-toggle-icon--dark":g,"nav-compact__outline-section-toggle-icon--light":!g}),w=A()("nav-compact__outline-section-list",{"nav-compact__outline-section-list--collapsed":!u}),x=A()("nav-compact__outline-section-toggle",{"nav-compact__outline-section-toggle--collapsed":!u,"nav-compact__outline-section-toggle--dark":g,"nav-compact__outline-section-toggle--light":!g}),S=Object(E.useCallback)(function(){l(function(e){return!e})},[]);return Object(E.useLayoutEffect)(function(){var e=setTimeout(function(){v.current&&h(v.current.scrollHeight)},0);return function(){clearTimeout(e)}},[r.length,o]),k.a.createElement(k.a.Fragment,null,k.a.createElement("button",{"aria-label":"Toggle section: ".concat(a),"aria-controls":y,"aria-expanded":u,className:x,onClick:S,tabIndex:n?void 0:-1,type:"button"},k.a.createElement("span",{className:"nav-compact__outline-section-toggle-text"},b),k.a.createElement(ue.i,{className:_})),k.a.createElement(Pe.a,{inert:!u},k.a.createElement("ol",{"aria-hidden":!u||void 0,className:w,id:y,ref:v,role:"list",style:{maxHeight:p}},m()(r).call(r,function(e){return k.a.createElement(Te,{id:e,isEnabled:n&&u,isSectionLesson:!0,key:e})}))))}),Le=function(e){var t=e.index,n=e.isEnabled,r=e.lessonIds,i=Object(Oe.a)(r),o=i[0],a=je()(i).call(i,1),s="nav-compact__outline-item nav-compact__outline-section";return R()(a)?k.a.createElement("li",{className:s,role:"listitem"},k.a.createElement(Ae,{id:o})):k.a.createElement("li",{className:s,role:"listitem"},k.a.createElement(Me,{id:o,index:t,isEnabled:n,lessonIds:a}))},Ie=function(e){var t=e.index,n=e.isEnabled,r=e.lessonIds;return Object(ee.p)(r)?k.a.createElement(Le,{index:t,isEnabled:n,lessonIds:r}):m()(r).call(r,function(e,t){return k.a.createElement(Te,{id:e,isEnabled:n,isSectionLesson:!1,key:e,last:t===r.length-1})})},Re=n(100),De=Object(K.a)("NavCompactOutline",function(e){var t=e.color,n=e.className,r=void 0===n?"":n,i=e.isEnabled,o=e.lessonIdGroups,a=e.navigationStyle,s=Object(E.useMemo)(function(){return Object(se.f)(a)},[a]),c=Object(E.useMemo)(function(){return Object(Re.d)(t)},[t]),u=A()(r,"nav-compact__outline",{"nav-compact__outline--collapsed":!i,"nav-compact__outline--dark":s,"nav-compact__outline--light":!s,"nav-compact__outline--accent-light":!c,"nav-compact__outline--accent-dark":c});return k.a.createElement("section",{"aria-label":"Course Outline",className:u,id:"nav-compact-outline",style:{color:t}},Object(Re.g)(o)&&k.a.createElement("ol",{className:"nav-compact__outline-list",role:"list"},m()(o).call(o,function(e,t){return R()(e)?null:k.a.createElement(Ie,{index:t,isEnabled:i,key:t,lessonIds:e})})))});var Be=Object(Y.b)(function(e){var t=Object(Z.a)(e),n=Object(ee.m)(e);return{color:t.color,lessonIdGroups:n,navigationStyle:t.navigationStyle}})(De),Fe=Object(be.a)("nav-compact");var Ue=P()(Object(Y.b)(function(e){return{navigationStyle:Object(Z.a)(e).navigationStyle,translateY:function(e){var t,n,r;return"FULL"===Object(Z.a)(e).buttonNavigationStyle?Math.round(-(null!==(t=null===(n=e.ui.lessonNavNextButton)||void 0===n?void 0:null===(r=n.intersectionRect)||void 0===r?void 0:r.height)&&void 0!==t?t:0)):0}(e)}},null,null,{forwardRef:!0}),E.forwardRef)(function(e,t){var n=e.navigationStyle,r=e.translateY,i=e.isExpanded,o=Object(E.useMemo)(function(){return Object(se.f)(n)},[n]),a=Object(E.useMemo)(function(){return Object(se.d)(n)},[n]),s=Fe({collapsed:!i,dark:o,"dark-accent":o&&a,light:!o,"light-accent":!o&&a}),c=Fe("wrap",{collapsed:!i}),u={transform:"translateY(".concat(r,"px)")};return k.a.createElement("nav",{"aria-label":"Course Navigation",className:s,ref:t,style:u},k.a.createElement("div",{className:c},k.a.createElement(fe,{isExpanded:i}),k.a.createElement(Pe.a,{inert:!i},k.a.createElement(Be,{isEnabled:i}))))}),qe=n(1302),ze=n(168),He=n.n(ze),Ve=n(138),We=n.n(Ve),Ye=n(184),Ge=n.n(Ye),Ke=n(47),Xe=n.n(Ke),$e=n(32),Qe=n.n($e),Ze=n(31),Je=n.n(Ze),et=n(34),tt=n.n(et),nt=n(2442),rt=n.n(nt),it=n(63),ot=n.n(it),at=n(2256),st=n(2828),ct=n(1310),ut=n(457),lt=n(26),dt=n.n(lt),ft=n(198),pt=n(490),ht=n(25),mt=n(1303),vt=(n(2818),Object(be.a)("nav-sidebar-search")),gt=Object(K.a)("NavSidebarSearch",function(e){var t=e.className,n=void 0===t?"":t,r=e.isEnabled,i=Object(Y.c)(),o=Object(at.a)(r),a=Object(Z.g)().lessons,s=ie(),c=Object(E.useRef)(),u=vt({disabled:!r}).mix(n),l=vt("icon"),d=vt("input"),f=vt("close"),p=vt("close-icon"),h=null==s?void 0:s.term,m=r?void 0:"disabled",v=Object(E.useCallback)(function(){i([Object(Q.b)(!0),Object(Q.c)(!1),Object(Q.f)(null)]),setTimeout(function(){c.current&&(c.current.value="")},350)},[i]),g=Object(E.useCallback)(function(e){Object(ht.f)(e)&&v()},[v]),y=Object(E.useCallback)(function(){null!=h&&i(Object(Q.f)(null))},[i,h]),b=Object(E.useCallback)(function(e){e.preventDefault(),Object(mt.a)(c.current.value,a,function(e,t,n){return i([Object(Q.f)(e),Object(Q.d)(t),Object(Q.e)(n)])})},[i,a]);return Object(E.useEffect)(function(){!o&&r&&c.current.focus()},[r,o]),k.a.createElement("form",{autoComplete:"off",className:u,onSubmit:b},k.a.createElement(ue.h,{className:l}),k.a.createElement("input",{"aria-label":"Search",className:d,disabled:m,name:"search",onChange:y,onKeyDown:g,placeholder:"Search",ref:c,type:"search"}),k.a.createElement("button",{"aria-label":"Close the search form",className:f,onClick:v,type:"reset"},k.a.createElement(ue.l,{className:p})))});n(2819);function yt(e,t){var n=Xe()(e);if(Qe.a){var r=Qe()(e);t&&(r=g()(r).call(r,function(t){return Je()(e,t).enumerable})),n.push.apply(n,r)}return n}function bt(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?yt(Object(n),!0).forEach(function(t){Object(f.a)(e,t,n[t])}):tt.a?Object.defineProperties(e,tt()(n)):yt(Object(n)).forEach(function(t){Object.defineProperty(e,t,Je()(n,t))})}return e}function _t(e,t){var n=void 0!==We.a&&Ge()(e)||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=function(e,t){var n;if(!e)return;if("string"==typeof e)return wt(e,t);var r=je()(n=Object.prototype.toString.call(e)).call(n,8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return He()(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return wt(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 wt(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 Et=Object(be.a)("nav-sidebar-header"),kt=Object(be.a)("nav-sidebar-header-ghost"),xt=new rt.a,St=new ut.a(function(e){var t,n=_t(e);try{for(n.s();!(t=n.n()).done;){var r,i=t.value;null===(r=xt.get(i))||void 0===r||r(i)}}catch(e){n.e(e)}finally{n.f()}}),Tt=Object(K.a)("NavSidebarHeaderProgress",function(e){var t=e.className,n=e.classProgressRunner,r=e.classProgressText,i=e.classProgressTrack,o=e.color,a=e.percentComplete,s=e.percentCompleteText;return k.a.createElement("div",{className:t},k.a.createElement(X,{"aria-hidden":"true",color:o,progress:a,runnerClass:n,trackClass:i}),k.a.createElement("div",{className:r},s))}),Ot=Object(K.a)("NavSidebarHeader",function(e){var t,n,r=e.className,i=e.hasOverlay,o=e.isEnabled,a=Object(Y.c)(),s=Object(E.useState)(!1),c=Object(Ne.a)(s,2),u=c[0],l=c[1],d=Object(E.useState)({height:0,width:0}),f=Object(Ne.a)(d,2),p=f[0],h=f[1],m=Object(E.useState)(p),v=Object(Ne.a)(m,2),g=v[0],y=v[1],b=Object(E.useState)(p),_=Object(Ne.a)(b,2),x=_[0],S=_[1],T=Object(E.useRef)(),O=Object(E.useRef)(),C=Object(E.useState)(null),j=Object(Ne.a)(C,2),A=j[0],N=j[1],P=Object(Z.g)(),M=Object(J.b)(),L=Object(te.g)(),I=ie(),R=(null==P?void 0:P.allowSearch)&&"restricted"!==(null==P?void 0:P.navigationMode),D=null==P?void 0:P.color,B=null==P?void 0:P.coverImage,F=null==P?void 0:P.navigationStyle,U=null==P?void 0:P.title,q=Object(E.useMemo)(function(){return Object(se.g)(F)},[F]),z=Object(E.useMemo)(function(){return Object(Re.d)(D)},[D]),H=Object(pt.b)(),V=null!==(t=(null==I?void 0:I.active)||H)&&void 0!==t&&t,W=Object(at.a)(V),K=Object(E.useState)(!0),X=Object(Ne.a)(K,2),$=X[0],ee=X[1],ne=Object(E.useState)(null),re=Object(Ne.a)(ne,2),oe=re[0],ae=re[1],ce=Et({compact:u,searching:V,transition:$}).mix(r),le=Et("inner",{compact:u,"dark-accent":!q&&z,"light-accent":!q&&!z}),de=Et("content",{compact:u,hidden:V}),fe=Et("graphic",{"dark-accent":z&&!q,image:q,"light-accent":!z&&!q}),pe=Et("progress-runner"),he=Et("progress-text",{compact:u}),me=Et("progress-track",{image:q}),ve=Et("search-area",{hidden:!V}),ge=Et("search-btn",{hidden:V}),ye=Et("search-icon",{"light-accent":!z,"dark-accent":z,image:q}),be=Et("title",{compact:u}).mix("brand--head"),_e=kt({compact:u,searching:V}),we=w()(n="".concat(L,"% ")).call(n,null==M?void 0:M.lessonComplete),Ee=o&&!V?void 0:-1,ke=o&&!V?void 0:-1,xe=dt()(["media","image","alt"],B),Se=Object(E.useMemo)(function(){return Object(ft.a)(xe)},[xe]),Te=Object(E.useMemo)(function(){return Object(ft.b)(Se)},[Se]),Oe=Object(E.useMemo)(function(){var e={};return q&&ot()(e,Object(se.a)(bt(bt({},B),{},{hasOverlay:null==i?B.hasOverlay:i}))),V&&(e.height=g.height),e},[B,q,i,V,g.height]),Ce=Object(E.useMemo)(function(){var e={};return u&&(e.width=g.width),p.height&&(e.height=p.height,e.overflow="hidden"),e},[u,p.height,g.width]),je=V?void 0:{height:x.height},Ae=Object(E.useCallback)(function(){y(p),a(Object(Q.c)(!0))},[a,p]);Object(E.useLayoutEffect)(function(){ae(document.querySelector("[data-nav-scrollable]"))},[]);var Pe=(Object(st.a)(T,{root:oe,threshold:0})||{}).isIntersecting,Me=void 0!==Pe&&Pe,Le=Object(at.a)(Me);Object(E.useEffect)(function(){Le&&!Me?l(!0):!Le&&Me&&l(!1)},[Me,Le]);var Ie,De,Be=Object(E.useCallback)(function(e){var t,n,r=e.target,i={height:null!==(t=null==r?void 0:r.scrollHeight)&&void 0!==t?t:0,width:null!==(n=null==r?void 0:r.scrollWidth)&&void 0!==n?n:0};h(i),y(i),u||S(i)},[u]);Ie=A,De=Be,Object(E.useEffect)(function(){if(Ie)return xt.set(Ie,De),function(){return xt.delete(Ie)}},[Ie,De]),Object(E.useEffect)(function(){if(Ie)return St.observe(Ie),function(){return St.unobserve(Ie)}},[Ie]),Object(E.useLayoutEffect)(function(){var e,t,n=null==oe?void 0:oe.scrollTop;oe&&(oe.scrollTop=0);var r={height:null!==(e=null==A?void 0:A.scrollHeight)&&void 0!==e?e:0,width:null!==(t=null==A?void 0:A.scrollWidth)&&void 0!==t?t:0};h(r),y(r),S(r),n>0&&(oe.scrollTop=0)},[oe,A]),Object(E.useEffect)(function(){R&&W&&!V&&O.current.focus()},[R,W,V]),Object(E.useEffect)(function(){V?ee(!0):u&&ee(!1)},[V,u]);var Fe=Object(E.useCallback)(function(e){if(u){var t=A.getBoundingClientRect(),n=e.target.getBoundingClientRect();t.bottom>n.top&&(oe.scrollTop-=t.height-n.top)}},[oe,u,A]);return Object(ct.a)("focusin",Fe,oe),k.a.createElement(k.a.Fragment,null,k.a.createElement("div",{className:_e,ref:T,style:je}),k.a.createElement("div",{className:ce,style:Ce},k.a.createElement("div",{className:le,ref:N,style:{color:D}},k.a.createElement("div",{"aria-label":Se,className:fe,role:Te,style:Oe}),R&&k.a.createElement("button",{"aria-label":"Show search bar",className:ge,onClick:Ae,ref:O,tabIndex:Ee,type:"button"},k.a.createElement(ue.h,{className:ye})),k.a.createElement("div",{className:ve},k.a.createElement(gt,{isEnabled:o&&V})),k.a.createElement("div",{className:de},k.a.createElement(G.b,{className:be,tabIndex:ke,to:"/"},U),k.a.createElement(Tt,{classProgressRunner:pe,classProgressText:he,classProgressTrack:me,color:D,percentComplete:L,percentCompleteText:we})))))}),Ct=n(82),jt=n(70),At=n(139),Nt=["icon"],Pt=function(e){var t=e.icon,n=Object(jt.a)(e,Nt);switch(t){case At.d.INTERACTION:return k.a.createElement(ue.j,n);case At.d.QUIZ:return k.a.createElement(ue.g,n);case At.d.VIDEO:return k.a.createElement(ue.k,n);default:return k.a.createElement(ue.a,n)}},Mt=Object(be.a)("nav-sidebar");var Lt=Object(Y.b)(function(){var e=Object(ee.e)();return function(t,n){var r=Object(Z.a)(t),i=e(n.id,t);return{icon:i.icon,navigationStyle:r.navigationStyle,title:i.title}}})(function(e){var t,n=e.icon,r=e.id,i=e.isEnabled,o=e.isSectionLesson,a=e.last,s=e.navigationStyle,c=e.title,u=Object(qe.b)(),l=r===Object(me.a)(),p=Object(E.useMemo)(function(){return Object(se.f)(s)},[s]),h=Object(pt.a)(),m=o?"nav-sidebar__outline-section-item":"nav-sidebar__outline-item",v=A()("".concat(m,"-link-icon"),(t={},Object(f.a)(t,"".concat(m,"-link-icon--dark"),p),Object(f.a)(t,"".concat(m,"-link-icon--light"),!p),t)),g=k.a.createElement(Pt,{className:v,icon:n}),y=k.a.createElement(Se,{id:r,isEnabled:i,scope:d.k.SIDEBAR});return k.a.createElement("li",{className:Mt("outline-list-item",{last:a}),role:"listitem"},k.a.createElement(he.a,{className:m,dark:p,isCurrentLesson:l,lessonId:r,onNavigate:function(){l&&h&&u.closeMenu()},tooltipClassName:"".concat(m,"-tooltip")},g,c),y)});var It=Object(Y.b)(function(){var e=Object(ee.e)();return function(t,n){var r=Object(Z.a)(t),i=e(n.id,t);return{navigationStyle:r.navigationStyle,title:i.title}}})(function(e){var t=e.navigationStyle,n=e.title,r=Object(E.useMemo)(function(){return Object(se.f)(t)},[t]),i=A()("nav-sidebar__outline-section-text",{"nav-sidebar__outline-section-text--dark":r,"nav-sidebar__outline-section-text--light":!r});return k.a.createElement("span",{className:i},n)});var Rt=Object(Y.b)(function(){var e=Object(ee.e)();return function(t,n){var r=Object(Z.a)(t),i=e(n.id,t);return{navigationStyle:r.navigationStyle,themeId:r.themeId,title:i.title}}})(function(e){var t=e.index,n=e.isEnabled,r=e.lessonIds,i=e.navigationStyle,o=e.themeId,a=e.title,s=Object(E.useState)(!0),c=Object(Ne.a)(s,2),u=c[0],l=c[1],d=Object(E.useState)(),f=Object(Ne.a)(d,2),p=f[0],h=f[1],v=Object(E.useRef)(),g=Object(E.useMemo)(function(){return Object(se.f)(i)},[i]),y="sublist-".concat(t),b=A()("nav-sidebar__outline-section-toggle-icon",{"nav-sidebar__outline-section-toggle-icon--collapsed":!u,"nav-sidebar__outline-section-toggle-icon--dark":g,"nav-sidebar__outline-section-toggle-icon--light":!g}),_=A()("nav-sidebar__outline-section-list",{"nav-sidebar__outline-section-list--collapsed":!u}),w=A()("nav-sidebar__outline-section-toggle",{"nav-sidebar__outline-section-toggle--dark":g,"nav-sidebar__outline-section-toggle--light":!g}),x=Object(E.useCallback)(function(){l(function(e){return!e})},[]);return Object(E.useLayoutEffect)(function(){var e=setTimeout(function(){v.current&&h(v.current.scrollHeight)},0);return function(){clearTimeout(e)}},[r.length,o]),k.a.createElement(k.a.Fragment,null,k.a.createElement("button",{"aria-label":"Toggle section: ".concat(a),"aria-controls":y,"aria-expanded":u,className:w,onClick:x,tabIndex:n?void 0:-1,type:"button"},k.a.createElement("span",{className:"nav-sidebar__outline-section-toggle-text"},a),k.a.createElement(ue.i,{className:b})),k.a.createElement(Pe.a,{inert:!u},k.a.createElement("ol",{"aria-hidden":!u||void 0,className:_,id:y,ref:v,role:"list",style:{maxHeight:p}},m()(r).call(r,function(e){return k.a.createElement(Lt,{id:e,isEnabled:n&&u,isSectionLesson:!0,key:e})}))))}),Dt=function(e){var t=e.index,n=e.isEnabled,r=e.lessonIds,i=Object(Oe.a)(r),o=i[0],a=je()(i).call(i,1),s="nav-sidebar__outline-item nav-sidebar__outline-section";return R()(a)?k.a.createElement("li",{className:s,role:"listitem"},k.a.createElement(It,{id:o})):k.a.createElement("li",{className:s,role:"listitem"},k.a.createElement(Rt,{id:o,index:t,isEnabled:n,lessonIds:a}))},Bt=function(e){var t=e.index,n=e.isEnabled,r=e.lessonIds;return Object(ee.p)(r)?k.a.createElement(Dt,{index:t,isEnabled:n,lessonIds:r}):m()(r).call(r,function(e,t){return k.a.createElement(Lt,{id:e,isEnabled:n,isSectionLesson:!1,key:e,last:t===r.length-1})})},Ft=Object(K.a)("NavSidebarOutline",function(e){var t=e.className,n=void 0===t?"":t,r=e.color,i=e.isEnabled,o=e.lessonIdGroups,a=e.navigationStyle,s=Object(at.a)(i),c=Object(E.useState)(!i),u=Object(Ne.a)(c,2),l=u[0],d=u[1],f=Object(E.useRef)(),p=Object(E.useMemo)(function(){return Object(se.f)(a)},[a]),h=Object(E.useMemo)(function(){return Object(Re.d)(r)},[r]),v=A()(n,"nav-sidebar__outline",{"nav-sidebar__outline--dark":p,"nav-sidebar__outline--light":!p,"nav-sidebar__outline--hidden":l,"nav-sidebar__outline--safari":Ct.a.isSafari,"nav-sidebar__outline--accent-light":!h,"nav-sidebar__outline--accent-dark":h}),g=A()("nav-sidebar__outline-list",{"nav-sidebar__outline-list--disabled":!i,"nav-sidebar__outline-list--hidden":l});return Object(E.useEffect)(function(){var e;return s&&!i?e=setTimeout(function(){d(!0)},350):!s&&i&&l&&d(!1),function(){clearTimeout(e)}},[i,l,s]),k.a.createElement("section",{"aria-label":"Course Outline",className:v,id:"nav-sidebar-outline",style:{color:r}},Object(Re.g)(o)&&k.a.createElement("ol",{className:g,ref:f,role:"list"},m()(o).call(o,function(e,t){return R()(e)?null:k.a.createElement(Bt,{index:t,isEnabled:i,key:t,lessonIds:e})})))});var Ut=Object(Y.b)(function(e){var t=Object(Z.a)(e),n=Object(ee.m)(e);return{color:t.color,lessonIdGroups:n,navigationStyle:t.navigationStyle}})(Ft),qt=n(20),zt=Object(qt.complement)(qt.isEmpty),Ht=Object(qt.complement)(qt.isNil),Vt=n(118),Wt=n(116),Yt=(n(2820),Object(be.a)("nav-sidebar-result")),Gt=function(e){var t,n,r,i=e.id,o=e.index,a=e.isEnabled,s=Object(Z.g)(),c=Object(J.b)(),u=Object(Wt.g)(),l=ae(i),d=(null==u?void 0:null===(t=u.params)||void 0===t?void 0:t.id)===i,f=d?"page":void 0,p=null==l?void 0:l.icon,h=null==l?void 0:l.title,m=null!==(n=null==l?void 0:l.results)&&void 0!==n?n:0,v=1===m?null==c?void 0:c.result:null==c?void 0:c.results,g=null==s?void 0:s.color,y=null==s?void 0:s.navigationStyle,b=a?void 0:-1,_={animationDelay:"".concat(o/10,"s")},x=Object(E.useMemo)(function(){return Object(se.f)(y)},[y]),S=Yt(),T=Yt("inner",{active:d}),O=Yt("link",{dark:x,light:!x}),C=Yt("icon"),j=Yt("title"),A=Yt("count");return k.a.createElement("li",{className:S,role:"listitem",style:_},k.a.createElement("div",{className:T,style:{color:g}},k.a.createElement(G.b,{"aria-current":f,className:O,tabIndex:b,to:Object(ge.f)(i)},k.a.createElement(Pt,{className:C,icon:p}),k.a.createElement("span",{className:j},h),k.a.createElement("span",{className:A},w()(r="".concat(m," ")).call(r,v)))))},Kt=(n(2821),Object(be.a)("nav-sidebar-results")),Xt=function(e){var t,n,r,i=e.isEnabled,o=Object(Z.g)(),a=ie(),s=Object(J.b)(),c=null!==(t=null==a?void 0:a.activeLessons)&&void 0!==t?t:[],u=null==a?void 0:a.term,l=zt(c),d=Ht(u),f=null!==(n=null==s?void 0:s.noResults)&&void 0!==n?n:"",p=null==o?void 0:o.navigationStyle,h=Object(E.useMemo)(function(){return Object(se.f)(p)},[p]),v=Kt(),y=Kt("message",{dark:h,light:!h}),b=Kt("term"),_=Kt("list");return k.a.createElement("div",{className:v},!l&&d&&k.a.createElement("div",{className:y},f," ",k.a.createElement("span",{className:b},'"',u,'"')),l&&d&&k.a.createElement("ol",{className:_,role:"list"},m()(r=g()(c).call(c,Vt.g)).call(r,function(e,t){return k.a.createElement(Gt,{key:e.id,isEnabled:i,id:e.id,index:t})})))},$t=(n(2822),Object(be.a)("nav-sidebar")),Qt=function(e){var t,n=e.isExpanded,r=Object(Z.g)(),i=ie(),o=null==r?void 0:r.navigationStyle,a=null!==(t=null==i?void 0:i.active)&&void 0!==t&&t,s=a||n?void 0:"true",c=Object(E.useMemo)(function(){return Object(se.f)(o)},[o]),u=Object(E.useMemo)(function(){return Object(se.g)(o)},[o]),l=$t(),d=$t("header"),f=$t("body"),p=$t("content",{collapsed:!n,dark:c,light:!c,image:u,searching:a});return k.a.createElement("nav",{"aria-hidden":s,"aria-label":"Course Navigation",className:l},k.a.createElement("div",{className:p,"data-nav-scrollable":!0,id:"nav-content"},k.a.createElement(Ot,{className:d,isEnabled:n}),k.a.createElement("div",{className:f},k.a.createElement(Ut,{isEnabled:n&&!a}),k.a.createElement(Xt,{isEnabled:n&&a}))))},Zt=n(598),Jt=n(456),en=n(85),tn=n(229),nn=n(36),rn=n(756),on=n(352);n(2342);function an(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 sn=function(e){Object(c.a)(n,e);var t=an(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.className,n=e.children;return k.a.createElement("div",{className:t,"data-lesson":!0,ref:this.props.contentRef},n)}}]),n}(k.a.Component),cn=function(e){Object(c.a)(n,e);var t=an(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.onMobileMenuActiveClick;return k.a.createElement("div",{className:"lesson__content",onClick:e},this.props.children)}}]),n}(k.a.Component),un=n(232);function ln(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 dn=z()(U()("type","section")),fn=function(e){Object(c.a)(n,e);var t=ln(n);function n(e){var r,i;Object(a.a)(this,n),i=t.call(this,e);var o=e.course,s=e.lessons,c=e.match.params;return i.refCompactNav=Object(E.createRef)(),i.refPageWrap=Object(E.createRef)(),i.state={activeSections:m()(r=g()(s).call(s,function(e){return"section"===e.type})).call(r,function(e){return e.id}),compactNavIsExpanded:!1,isProgressSummary:ye.e&&"progress-summary"===c.id,isPreviewLesson:"preview-lesson"===c.mode,lastScreen:null,menuDisabled:!1,menuIsOpen:Object(se.k)(o),mobileMenuIsOpen:!1,selectedIndex:Object(on.b)(c.id)(s),xTouchDown:null,xTouchMove:null,yTouchDown:null,yTouchMove:null},i.root=window,i.closeMenu=i.closeMenu.bind(Object(p.a)(i)),i.handleCollapseCompactNav=i.handleCollapseCompactNav.bind(Object(p.a)(i)),i.handleExpandCompactNav=i.handleExpandCompactNav.bind(Object(p.a)(i)),i.openMenu=i.openMenu.bind(Object(p.a)(i)),i.handleMenuToggle=i.handleMenuToggle.bind(Object(p.a)(i)),i.handleNavHover=i.handleNavHover.bind(Object(p.a)(i)),i.handleNavigateDirection=i.handleNavigateDirection.bind(Object(p.a)(i)),i.handlePageWrapScroll=i.handlePageWrapScroll.bind(Object(p.a)(i)),i.handleStorylineFullscreen=i.handleStorylineFullscreen.bind(Object(p.a)(i)),i.renderCompact=i.renderCompact.bind(Object(p.a)(i)),i.renderSidebar=i.renderSidebar.bind(Object(p.a)(i)),i.setRefPageWrap=i.setRefPageWrap.bind(Object(p.a)(i)),i}return Object(s.a)(n,[{key:"componentDidMount",value:function(){this.swipeEvents=Object(Jt.a)(this.node,this,this.handleMenuToggle,Function.prototype),this.setFocusIfNecessary(),this.displayFloatingButtons()}},{key:"componentWillReceiveProps",value:function(e){var t=this;if(e.match.params.id!==this.props.match.params.id){var n=L()(Object(on.a)(e.lessons,e.match.params.id),this.state.activeSections),r=ye.e&&"progress-summary"===e.match.params.id;this.setState({activeSections:n,isProgressSummary:r}),this.displayFloatingButtons()}var i=e.compactAvailable&&e.search.active&&!this.props.search.active,o=e.compactAvailable&&e.isMobile&&!this.props.isMobile;(i||o)&&this.setState({menuIsOpen:!e.isMobile,mobileMenuIsOpen:e.isMobile,xTouchDown:null,yTouchDown:null,xTouchMove:null,yTouchMove:null},function(){t.resetSwipeListeners()})}},{key:"componentDidUpdate",value:function(e){var t,n,r,i;(null===(t=e.course)||void 0===t?void 0:null===(n=t.theme)||void 0===n?void 0:n.buttonNavigationStyle)!==(null===(r=this.props.course)||void 0===r?void 0:null===(i=r.theme)||void 0===i?void 0:i.buttonNavigationStyle)&&this.displayFloatingButtons()}},{key:"componentWillUnmount",value:function(){this.root.removeEventListener("resize",this.resizeRef),this.swipeEvents.removeListeners()}},{key:"setFocusIfNecessary",value:function(){var e=this.props,t=e.sessionPreferences.startedCourseWithLessonSelected;e.sidebarAvailable?t&&(Object(Zt.b)(),Object(ve.a)(Object(tn.d)(!1))):Object(Zt.b)()}},{key:"handleNavigateDirection",value:function(){var e=this,t=this.props.match.params,n=this.state,r=n.isProgressSummary,i=n.selectedIndex,o=Object(on.b)(t.id)(this.props.lessons);return this.setState({selectedIndex:o,mobileMenuIsOpen:!1,xTouchDown:null,yTouchDown:null,xTouchMove:null,yTouchMove:null},function(){e.resetSwipeListeners()}),r||o<i?"page-transition-back":"page-transition"}},{key:"handleMenuToggle",value:function(){var e=this,t=this.state,n=t.menuIsOpen,r=t.mobileMenuIsOpen;this.setState({menuIsOpen:!n,mobileMenuIsOpen:Object(rn.c)()&&!r,xTouchDown:null,yTouchDown:null,xTouchMove:null,yTouchMove:null},function(){e.resetSwipeListeners()})}},{key:"handleCollapseCompactNav",value:function(){this.setState({compactNavIsExpanded:!1})}},{key:"handleExpandCompactNav",value:function(){this.setState({compactNavIsExpanded:!0})}},{key:"handlePageWrapScroll",value:function(){this.displayFloatingButtons()}},{key:"setRefPageWrap",value:function(e){var t=e?Object(x.findDOMNode)(e):null;this.refPageWrap.current=t}},{key:"displayFloatingButtons",value:function(){var e=this.props.match.params.id,t=this.refPageWrap.current;if(t){var n=t.querySelector('[data-lesson-id="'.concat(e,'"] .lesson-nav--previous.lesson-nav--floating')),r=t.querySelector('[data-lesson-id="'.concat(e,'"] .lesson-nav--next.lesson-nav--floating'));if(n){var i=0===t.scrollTop&&"true"!==n.dataset.scrolling;n.dataset.visible=i,n.dataset.hidden=!i}if(r){var o=t.scrollTop+t.offsetHeight>=t.scrollHeight;r.dataset.visible=o,r.dataset.hidden=!o}}}},{key:"handleStorylineFullscreen",value:function(e){this.setState({menuDisabled:e,menuIsOpen:!e})}},{key:"handleToggleSection",value:function(e){var t=this.state.activeSections;b()(t).call(t,e.id)?this.setState({activeSections:g()(t).call(t,function(t){return t!==e.id})}):this.setState({activeSections:w()(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.props,t=e.sidebarAvailable,n=e.isMobile,r=this.state,i=r.isPreviewLesson,o=r.menuIsOpen,a=r.mobileMenuIsOpen;return!i&&t&&(n?a:o)}},{key:"allowTabNavigationForLesson",value:function(e){var t=this.state.activeSections;return this.allowTabNavigation()&&(!e||!e.sectionId||b()(t).call(t,e.sectionId))}},{key:"handleNavHover",value:function(e){this.setState({isRestrictedNavHovering:e})}},{key:"renderMenuButtons",value:function(){var e,t=this.props,n=t.compactAvailable,r=t.course,i=t.labels,o=t.sidebarAvailable,a=r.color,s=r.lessonHeaderImage,c=r.lessonHeaderStyle,u=r.lmsOptions,l=void 0===u?{}:u,f=null===(e=r.theme)||void 0===e?void 0:e.lessonHeaderColor,p=l.enableExitCourse,h=i.courseExit,m=this.allowTabNavigation(),v="Toggle ".concat("Course Navigation"),g=c===d.a.ACCENT&&Object(Re.d)(a),y=c===d.a.COLOR&&Object(Re.d)(f),b=(null==s?void 0:s.overlayColor)===d.a.DARK||(null==s?void 0:s.overlayColor)===d.a.ACCENT&&Object(Re.d)(a),_=c===d.a.IMAGE&&b,w=c===d.a.DARK||c===d.a.BLACK||g||y||_,E=A()("page-menu-toggle",{"page-menu-toggle--dark":w});return k.a.createElement("div",{className:"page__menu"},o&&!n&&k.a.createElement("button",{"aria-controls":"nav-content","aria-expanded":m,"aria-label":v,className:E,onClick:this.handleMenuToggle,type:"button"},k.a.createElement(nn.y,{className:"page-menu-toggle__icon"})),k.a.createElement(H.a,{enableExitCourse:p,className:"courseExit courseExit--mobile",text:h}))}},{key:"renderCompact",value:function(){var e=this.state.compactNavIsExpanded;return k.a.createElement($.a,{collapseNav:this.handleCollapseCompactNav,expandNav:this.handleExpandCompactNav},k.a.createElement(Ue,{isExpanded:e,ref:this.refCompactNav}))}},{key:"renderSidebar",value:function(){var e=this.allowTabNavigation(),t=this.props.search.active;return k.a.createElement(qe.a,{openMenu:this.openMenu,closeMenu:this.closeMenu},k.a.createElement(Qt,{isExpanded:e,searchActive:t}))}},{key:"render",value:function(){var e,t,n,r=this,i=this.props,a=i.applySafariLandscapeHack,s=i.compactAvailable,c=i.course,u=i.courseProgress,l=i.labels,d=i.isMobile,p=i.isMobileHeader,h=i.lessons,m=i.location,v=i.match,g=i.partnerContent,y=i.previewType,b=i.safariLandscapeHackOffset,_=i.search,w=i.sessionPreferences,E=i.sidebarAvailable,x=i.themeId,S=i.isEntering,T=i.isExiting,O=this.state,j=O.isPreviewLesson,N=O.isProgressSummary,P=O.isRestrictedNavHovering,M=O.menuIsOpen,L=O.mobileMenuIsOpen,I=c.lmsOptions,D=(void 0===I?{}:I).enableExitCourse,F=function(e){var t=e.course,n=e.search;return B()(C()("lessons",n.lessons),C()("lessonsOnly",dn(n.lessons)))(t)}({course:c,search:_}),U=this.renderMenuButtons(),q=E&&M&&!j,z=E&&L&&!j,Y=c.type===At.a&&(null===(e=Object(se.b)(c))||void 0===e?void 0:null===(t=e.settings)||void 0===t?void 0:t.playbackMode)===At.b.SLIDE?"-slide":"",G="lesson--entering".concat(Y),K="lesson--exiting".concat(Y),X=A()("lesson",(n={},Object(f.a)(n,G,S),Object(f.a)(n,K,T),Object(f.a)(n,"lesson--preview",j),Object(f.a)(n,"lesson--open",q),Object(f.a)(n,"lesson--open-mobile",z),n)),$=a?{paddingBottom:b}:{},Q={allowRestrictedTooltip:!P,course:_.active&&!R()(_.lessons)?F:c,focusLessonContent:Zt.b,isMobileHeader:p,isProgressSummary:N,key:m.pathname,labels:l,lessonProgress:u.lessons[v.params.id],match:v,menuButtons:U,menuOpen:!j&&M,mobileMenuOpen:L,navigateDirection:this.handleNavigateDirection,onNavMouse:this.handleNavHover,partnerContent:g,previewType:y,courseProgress:u,sessionPreferences:w,sidebarAvailable:E,themeId:x},Z=N?{courseProgress:u,lessons:h}:{};return k.a.createElement("div",{className:"page-lesson-wrap"},k.a.createElement(Zt.a,null),k.a.createElement("div",{className:"page-lesson"},k.a.createElement(sn,{className:X,contentRef:function(e){return r.node=e}},k.a.createElement(Pe.a,{inert:d?!z:!q},k.a.createElement(en.d,null,k.a.createElement(en.b,{in:E,mountOnEnter:!0,unmountOnExit:!0,timeout:300},this.renderSidebar))),s&&this.renderCompact(),k.a.createElement("div",{className:"lesson__wrap",ref:function(e){return r.wrap=e}}),k.a.createElement(cn,{onMobileMenuActiveClick:this.closeMenu},k.a.createElement("div",{className:"page-view page-view--visible"},k.a.createElement(H.a,{enableExitCourse:D,className:"courseExit courseExit--standard",text:l.courseExit}),k.a.createElement(en.d,{component:"div",className:"page-wrap",id:"page-wrap",onScroll:this.handlePageWrapScroll,ref:this.setRefPageWrap,style:$},k.a.createElement(W.a,{key:m.pathname},k.a.createElement(V.a,Object(o.a)({},Q,Z,{isMobile:this.props.isMobile})))))))))}},{key:"openMenu",value:function(){this.setState({menuIsOpen:!this.props.isMobile,mobileMenuIsOpen:this.props.isMobile})}},{key:"closeMenu",value:function(){var e=this.state.mobileMenuIsOpen;return this.handleCollapseCompactNav(),e?this.handleMenuToggle:Function.prototype}}],[{key:"propTypes",get:function(){return{children:T.a.node,course:T.a.object,courseProgress:T.a.object,labels:T.a.object,lessons:T.a.array,location:T.a.object.isRequired,match:T.a.object.isRequired}}},{key:"defaultProps",get:function(){return{course:{},lessons:[]}}}]),n}(k.a.Component),pn=P()(pt.c,pt.e,pt.d,Object(un.c)(480,"isMobileHeader","Mobile"))(fn),hn=n(614);function mn(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 vn=Object(hn.a)(pn),gn=function(e){Object(c.a)(n,e);var t=mn(n);function n(e){var r;return Object(a.a)(this,n),(r=t.call(this,e)).state={isEntering:!1,isExiting:!1},r}return Object(s.a)(n,[{key:"displayFlex",value:function(e){e.style.display="flex"}},{key:"updatePrevLinkDisplayAndScrollPosition",value:function(e){var t=e.previousLessonLink,n=e.pageWrap;this.displayFlex(t),t.dataset.scrolling="true";var r=t.offsetHeight;n.scrollTop=r;var i=document.querySelector("[data-lesson-header]");i&&(i.style.top="".concat(r,"px")),delete t.dataset.scrolling}},{key:"updateNextLinkDisplay",value:function(e){var t=this,n=e.nextLessonLink;this.navButtonTimeout=setTimeout(function(){t.displayFlex(n)},50)}},{key:"componentDidMount",value:function(){var e=document.querySelector(".page__content");e&&e.classList.add("page__content--appear");var t=document.querySelector("[data-page]:first-child [data-previous-lesson]"),n=document.querySelector("[data-page]:first-child [data-next-lesson]"),r=document.querySelector(".page-wrap");r&&(t?this.updatePrevLinkDisplayAndScrollPosition({previousLessonLink:t,pageWrap:r}):r.scrollTop=0,n&&this.updateNextLinkDisplay({nextLessonLink:n}))}},{key:"componentDidEnter",value:function(){this.setState({isEntering:!1})}},{key:"componentDidUpdate",value:function(e){var t,n,r=document.querySelector("[data-page]:first-child [data-previous-lesson]"),i=document.querySelector("[data-page]:first-child [data-next-lesson]"),o=document.querySelector(".page-wrap"),a=null==e?void 0:null===(t=e.course)||void 0===t?void 0:t.showNavigationButtons,s=null===(n=this.props.course)||void 0===n?void 0:n.showNavigationButtons;!1===a&&s&&(this.updatePrevLinkDisplayAndScrollPosition({previousLessonLink:r,pageWrap:o}),i&&this.updateNextLinkDisplay({nextLessonLink:i}))}},{key:"componentWillEnter",value:function(e){var t=this;this.setState({isEntering:!0},function(){t.willEnterTimeout=setTimeout(e,d.c)})}},{key:"componentWillExit",value:function(e){var t=this;this.setState({isExiting:!0},function(){t.willExitTimeout=setTimeout(e,d.c)})}},{key:"componentWillUnmount",value:function(){clearTimeout(this.willEnterTimeout),clearTimeout(this.willExitTimeout),clearTimeout(this.navButtonTimeout)}},{key:"render",value:function(){var e=this.state,t=e.isEntering,n=e.isExiting;return k.a.createElement(vn,Object(o.a)({isEntering:t,isExiting:n},this.props))}}]),n}(E.Component)},function(e,t,n){"use strict";n.d(t,"a",function(){return nr}),n.d(t,"b",function(){return rr});var r=n(8),i=n(1222),o=n.n(i),a=n(71),s=n.n(a),c=(n(313),n(16)),u=n.n(c),l=(n(370),n(308),n(7)),d=n.n(l),f=n(38),p=n.n(f),h=n(110),m=n.n(h),v=(n(53),n(65),n(150)),g=n.n(v),y=(n(173),n(49)),b=n.n(y),_=n(43),w=n.n(_),E=(n(79),n(60),n(29)),k=n.n(E),x=(n(33),n(24),n(172),n(15)),S=n.n(x),T=n(18),O=n.n(T),C=n(165),j=n.n(C),A=n(128),N=n.n(A),P=(n(267),n(80),n(46),n(731),n(3)),M=n.n(P),L=n(41),I=n.n(L),R=n(168),D=n.n(R),B=n(138),F=n.n(B),U=n(184),q=n.n(U),z=n(32),H=n.n(z),V=n(40),W=n.n(V),Y=n(31),G=n.n(Y),K=n(34),X=n.n(K),$=n(70),Q=n(35),Z=n(6),J=n(9),ee=n(10),te=n(11),ne=n(13),re=n(5),ie=n(154),oe=n(4),ae=n.n(oe),se=n(63),ce=n.n(se),ue=n(47),le=n.n(ue),de=n(386),fe=n.n(de),pe=n(164),he=n.n(pe),me=n(14),ve=n.n(me),ge=n(81),ye=n.n(ge),be=(n(1223),n(218)),_e=n.n(be),we=n(20),Ee=n(0),ke=n.n(Ee),xe=(n(2385),n(161)),Se=n.n(xe),Te=n(124),Oe=n.n(Te),Ce=n(699),je=n.n(Ce),Ae=n(72),Ne=n.n(Ae),Pe=n(157),Me=n.n(Pe),Le=n(88),Ie=n(163),Re=n.n(Ie),De=["active","align","children","className","dropdownClassName","onClose","role","slideIn"],Be=["menu"],Fe=["children","enableHover"];function Ue(e,t){var n=le()(e);if(H.a){var r=H()(e);t&&(r=W()(r).call(r,function(t){return G()(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])}):X.a?Object.defineProperties(e,X()(n)):Ue(Object(n)).forEach(function(t){Object.defineProperty(e,t,G()(n,t))})}return e}function ze(e,t){var n=void 0!==F.a&&q()(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=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 D()(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||!M.a)return!1;if(M.a.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(M()(Boolean,[],function(){})),!0}catch(e){return!1}}();return function(){var n,r=Object(re.a)(e);if(t){var i=Object(re.a)(this).constructor;n=M()(r,arguments,i)}else n=r.apply(this,arguments);return Object(ne.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 we.pipe.apply(void 0,n)(e)},Ye=Object(we.sortBy)(Object(we.compose)(we.toLower,Object(we.prop)("title"))),Ge=Object(we.pipe)(function(e){var t=Object(we.indexBy)(Object(we.prop)("id"),e||[]);return Object(we.reduce)(function(e){return function(t,n){return e[n.parentId]?t:Object(we.append)(n,t)}}(t),[],e)},Object(we.pluck)(["id"])),Ke=Object(we.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 we.compose.apply(void 0,Object(ie.a)(Object(we.dropLast)(1,t)))(Object(we.last)(t))}(Ye,Object(we.map)(function e(t){return function(n){var r=Object(we.find)(Object(we.propEq)("id",n),t),i=We(t,Object(we.chain)(Object(we.ifElse)(Object(we.propEq)("parentId",n),Object(we.pipe)(Object(we.prop)("id"),e(t)),Object(we.always)([]))),Ye);return Object(we.assoc)("subfolders",i,r)}}(t)),n)}),Xe=["viewer","editor","manager","owner"],$e=function(e){var t=e.effectiveRole,n=e.requiredRole;return Object(we.indexOf)(t,Xe)>=Object(we.indexOf)(n,Xe)},Qe=function(e){Object(te.a)(n,e);var t=Ve(n);function n(){return Object(J.a)(this,n),t.apply(this,arguments)}return Object(ee.a)(n,[{key:"render",value:function(){return ke.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:_e()(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 ke.a.createElement(Qe,ce()({},e,{viewBox:"0 0 15 15"}),ke.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"}))};Ze.defaultProps={width:"15",height:"15"};var Je=Object(Ee.memo)(Ze),et=[],tt=[];function nt(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=et.indexOf(o);-1===a&&(a=et.push(o)-1,tt[a]={}),n=tt[a]&&tt[a][r]?tt[a][r]:tt[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=le()(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 rt="Breadcrumb_breadcrumb__b9ef77dc",it="Breadcrumb_breadcrumbActive__b9ef77dc",ot="Breadcrumb_breadcrumbDisabled__b9ef77dc",at="Breadcrumb_breadcrumbRoot__b9ef77dc",st="Breadcrumb_label__b9ef77dc",ct="Breadcrumb_caret__b9ef77dc";nt(".Breadcrumb_breadcrumb__b9ef77dc{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__b9ef77dc{color:#313537;cursor:auto;font-weight:700;max-width:calc(100% - 7rem)}.Breadcrumb_breadcrumbDisabled__b9ef77dc{cursor:not-allowed}.Breadcrumb_breadcrumbRoot__b9ef77dc{cursor:auto}.Breadcrumb_label__b9ef77dc{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.Breadcrumb_caret__b9ef77dc{display:inline-block;line-height:0;margin-left:1.6rem;transform:scale(-1)}.Breadcrumb_caret__b9ef77dc svg{fill:#6a737c;height:.7rem;width:auto}.Breadcrumb_dropdownTrigger__b9ef77dc{-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__b9ef77dc svg{fill:#6a737c;height:1.6rem;width:1.6rem}.Breadcrumb_dropdownWrap__b9ef77dc{left:-1.6rem;top:1.5rem}.Breadcrumb_dropdown__b9ef77dc{font-weight:400;max-width:25rem}.Breadcrumb_dropdownItem__b9ef77dc{align-items:center;display:flex}.Breadcrumb_dropdownLabel__b9ef77dc{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.Breadcrumb_dropdownCaret__b9ef77dc{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__b9ef77dc{transform:translate(-50%,-50%) rotate(0)}",{prepend:!0});var ut="Dropdown_wrap__0a3aa899",lt="Dropdown_posLeft__0a3aa899",dt="Dropdown_posRight__0a3aa899",ft="Dropdown_posActive__0a3aa899 Dropdown_pos__0a3aa899",pt="Dropdown_posInactive__0a3aa899 Dropdown_pos__0a3aa899",ht="Dropdown_dropdownInactive__0a3aa899 Dropdown_dropdown__0a3aa899",mt="Dropdown_dropdownAlignLeft__0a3aa899",vt="Dropdown_dropdownSlideIn__0a3aa899",gt="Dropdown_dropdownInPlace__0a3aa899",yt="Dropdown_dropdownAlignCenter__0a3aa899",bt="Dropdown_dropdownAlignRight__0a3aa899",_t="Dropdown_dropdownActive__0a3aa899 Dropdown_dropdown__0a3aa899";nt(".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 wt=p()([[je()(String),w.a],[k.a,u()(void 0)],[Oe()("displayName"),S()("displayName")],[Oe()("name"),S()("name")],[s.a,u()("Component")]]),Et=Ne()(["enableClickOutside","hideScroll","onClickOutside","preventDefault","stopPropagation"]),kt=function(e){Object(te.a)(n,e);var t=Ve(n);function n(){var e,r;Object(J.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,ae()(e=[this]).call(e,o))).onBodyMouseDownDelegate=r.onBodyMouseDown.bind(Object(Z.a)(r)),r.onBodyClickDelegate=r.onBodyClick.bind(Object(Z.a)(r)),r.addDomEvents(),r}return Object(ee.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 ke.a.createElement(e,Et(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);kt.defaultProps={onClickOutside:u()(),preventDefault:!0,stopPropagation:!0};var xt=kt.prototype;ce()(xt,{addDomEvents:Me()(xt.setupDomEvents,[!0]),removeDomEvents:Me()(xt.setupDomEvents,[!1])});var St,Tt=(St="div",function(e){Object(te.a)(n,e);var t=Ve(n);function n(){return Object(J.a)(this,n),t.apply(this,arguments)}return Object(ee.a)(n,[{key:"Child",get:function(){return St}}],[{key:"displayName",get:function(){return"ClickableOutside(".concat(wt(St),")")}}]),n}(kt)),Ot=new fe.a,Ct=Se()(function(){var e,t=ze(he()(Ot).call(Ot));try{for(t.s();!(e=t.n()).done;)(0,e.value)()}catch(e){t.e(e)}finally{t.f()}},250);window.addEventListener("resize",Ct),window.addEventListener("orientationchange",Ct);var jt=function(e){Object(te.a)(n,e);var t=Ve(n);function n(){var e,r;Object(J.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,ae()(e=[this]).call(e,o))).posRef=ke.a.createRef(),r.update(r.props),r}return Object(ee.a)(n,[{key:"componentWillReceiveProps",value:function(e){this.update(e,this.props)}},{key:"componentWillUnmount",value:function(){Ot.delete(this)}},{key:"fitOnScreen",value:function(){var e=this.props.fit,t=this.posRef.current;if(e&&null!=t){ce()(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(Q.a)(n,2),i=r[0],o=r[1];ce()(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,p=Object($.a)(n,De),h=_e()((e={},Object(r.a)(e,pt,!i),Object(r.a)(e,ft,i),Object(r.a)(e,lt,"right"!==o),Object(r.a)(e,dt,"right"===o),e)),m=qe({className:_e()(c,(t={},Object(r.a)(t,ht,!i),Object(r.a)(t,_t,i),Object(r.a)(t,mt,"left"===o),Object(r.a)(t,yt,"center"===o),Object(r.a)(t,bt,"right"===o),Object(r.a)(t,vt,f),Object(r.a)(t,gt,!f),t)),enableClickOutside:i,onClickOutside:u,role:d},Object(we.omit)(["fit"],p));return ke.a.createElement("div",{className:s||ut},ke.a.createElement("div",{ref:this.posRef,className:h},ke.a.createElement(Tt,ce()({"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?Ot.set(this,this.fitOnScreen.bind(this)):!t&&n&&Ot.delete(this)}}]),n}(Ee.Component);ce()(jt.prototype,{componentDidMount:jt.prototype.fitOnScreen,componentDidUpdate:jt.prototype.fitOnScreen}),jt.defaultProps={align:"center"};var At=function(e){return ke.a.createElement(Qe,ce()({},e,{viewBox:"0 0 6 10"}),ke.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"}))};At.defaultProps={width:"6",height:"10"};var Nt=Object(Ee.memo)(At),Pt=function(){return ke.a.createElement("span",{className:ct},ke.a.createElement(Nt,null))};nt(".Breadcrumbs_breadcrumbs__6dc850ec{align-items:center;display:flex;list-style-type:none;margin-right:auto;padding:0}",{prepend:!0});var Mt=function(e){var t=e.menu,n=Object($.a)(e,Be);return ke.a.createElement(t,Object(we.pick)(["category","depth","id","isDeleted","type","effectiveRole"],n))},Lt=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(we.isNil)(a),p=function(e){var t=e.allowViewer,n=e.effectiveRole,r=e.id,i=e.type;return Object(we.isNil)(r)||!("shared"===i)||$e({effectiveRole:n,requiredRole:t?"viewer":"editor"})}({allowViewer:i,effectiveRole:o,id:a,type:d}),h=Object(Ee.useCallback)(function(e){p&&c(e)},[p,c]),m=Object(Ee.useCallback)(function(e){13===e.keyCode&&h(e)},[h]),v={className:_e()(rt,(t={},Object(r.a)(t,it,n),Object(r.a)(t,at,(f||"deleted"===a)&&n),Object(r.a)(t,ot,!p),t)),onClick:h,onKeyPress:m,role:"listitem","aria-current":n?"page":null};return ke.a.createElement("li",v,ke.a.createElement("span",{className:st},s),l&&n&&ke.a.createElement(Mt,e),u&&!n&&ke.a.createElement(Pt,null))};Lt.defaultProps={allowViewer:!1};Object(we.addIndex)(we.forEach);var It="FolderTree_wrap__5751546f",Rt="FolderTree_folderWrap__5751546f",Dt="FolderTree_folder__5751546f",Bt="FolderTree_folderWrapOpen__5751546f",Ft="FolderTree_folderIcon__5751546f",Ut="FolderTree_folderCaret__5751546f",qt="FolderTree_folderOptions__5751546f",zt="FolderTree_folderMenu__5751546f",Ht="FolderTree_folderActive__5751546f",Vt="FolderTree_folderForceHover__5751546f",Wt="FolderTree_folderHideCaret__5751546f",Yt="FolderTree_folderCaretWrap__5751546f",Gt="FolderTree_folderCaretOpen__5751546f",Kt="FolderTree_folderNameWrap__5751546f",Xt="FolderTree_folderName__5751546f",$t="FolderTree_folderOptionsActive__5751546f";nt(".FolderTree_wrap__5751546f{margin-bottom:1rem}.FolderTree_folderWrap__5751546f{max-height:4rem;transition:max-height .2s,opacity .2s,height .2s}.FolderTree_folderWrap__5751546f>.FolderTree_folderWrap__5751546f{max-height:0;opacity:0;transition:max-height .2s,opacity .2s,height .2s;visibility:hidden}.FolderTree_folderWrap__5751546f>.FolderTree_folderWrap__5751546f>.FolderTree_folder__5751546f{height:0}.FolderTree_folderWrapOpen__5751546f{max-height:none}.FolderTree_folderWrapOpen__5751546f>.FolderTree_folderWrap__5751546f{max-height:2000rem;opacity:1;visibility:visible}.FolderTree_folderWrapOpen__5751546f>.FolderTree_folderWrap__5751546f>.FolderTree_folder__5751546f{height:4rem}.FolderTree_folder__5751546f{background-color:transparent;color:#6a737c;cursor:pointer;display:flex;font-size:1.4rem;height:4rem;line-height:1.4;padding:0 1.5rem 0 2.1rem;position:relative;transition:all .2s;width:100%}.FolderTree_folder__5751546f:hover{background-color:#fafafa;color:#313537}.FolderTree_folder__5751546f:hover .FolderTree_folderIcon__5751546f svg{fill:#313537}.FolderTree_folder__5751546f:hover .FolderTree_folderCaret__5751546f{border-color:#313537 transparent transparent}.FolderTree_folder__5751546f:hover .FolderTree_folderOptions__5751546f{transition:width 0s;visibility:visible;width:auto}.FolderTree_folder__5751546f:hover .FolderTree_folderMenu__5751546f{display:flex}.FolderTree_folderActive__5751546f{color:#313537;font-weight:700}.FolderTree_folderActive__5751546f .FolderTree_folderCaret__5751546f{border-color:#313537 transparent transparent}.FolderTree_folderActive__5751546f .FolderTree_folderIcon__5751546f svg{fill:#313537}.FolderTree_folderForceHover__5751546f{background-color:#fafafa;color:#313537}.FolderTree_folderForceHover__5751546f .FolderTree_folderIcon__5751546f svg{fill:#313537}.FolderTree_folderForceHover__5751546f .FolderTree_folderCaret__5751546f{border-color:#313537 transparent transparent}.FolderTree_folderForceHover__5751546f .FolderTree_folderOptions__5751546f{transition:width 0s;visibility:visible;width:auto}.FolderTree_folderForceHover__5751546f .FolderTree_folderMenu__5751546f{display:flex}.FolderTree_folderHideCaret__5751546f .FolderTree_folderCaretWrap__5751546f{visibility:hidden}.FolderTree_folderCaretWrap__5751546f{align-items:center;display:inline-flex;flex:0 0 1.9rem;height:100%;vertical-align:top;width:1.9rem}.FolderTree_folderCaret__5751546f{border-color:#c9c9ca transparent transparent;border-style:solid solid none;border-width:.5rem .4rem;transform:rotate(-90deg);transition:all .2s}.FolderTree_folderCaretOpen__5751546f{transform:rotate(0deg)}.FolderTree_folderIcon__5751546f{align-items:center;display:inline-flex;height:100%;vertical-align:top}.FolderTree_folderIcon__5751546f svg{fill:#c9c9ca;height:auto;margin-right:1.1rem;transition:fill .2s;width:1.4rem}.FolderTree_folderNameWrap__5751546f{align-items:center;display:inline-flex;height:100%;overflow:hidden;vertical-align:top;white-space:nowrap}.FolderTree_folderName__5751546f{overflow:hidden;text-overflow:ellipsis}.FolderTree_folderOptions__5751546f{flex-shrink:0;height:100%;margin-left:auto;transition:width 0s linear .2s;visibility:hidden;width:0}.FolderTree_folderOptionsActive__5751546f{transition:width 0s;visibility:visible;width:auto}.FolderTree_folderOptionsActive__5751546f .FolderTree_folderMenu__5751546f{display:flex;z-index:2}.FolderTree_folderMenu__5751546f{align-items:center;display:none;height:100%;z-index:1}",{prepend:!0});var Qt=function(e){return function(t){13===t.keyCode&&e()}},Zt=(Object(we.always)(),Object(we.complement)(we.isNil)),Jt=Object(we.complement)(we.isEmpty),en=Object(we.both)(Zt,Jt),tn=(Object(we.either)(we.isNil,we.isEmpty),Object(we.compose)(Object(we.pluck)("id"),function e(t){return We(t,Object(we.propOr)([],"subfolders"),Object(we.map)(e),we.flatten,Object(we.prepend)(t))})),nn=function(e,t,n){var r,i=e.id,o=e.openFolders,a=e.setOpenFolders,s=t.id,c=tn(t),u=Object(we.compose)(a,Object(we.without)([s])),l=Object(we.compose)(a,Object(we.without)(c)),d=document.getElementById(ae()(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)])},rn=function(e,t,n,r){var i,o=e.id,a=e.openFolders,s=e.setOpenFolders,c=t.subfolders,u=t.id,l=r?r.length:0,d=c&&c.length+1+l,f=Object(we.compose)(s,Object(we.append)(u)),p=document.getElementById(ae()(i="".concat(o,"-qbf-")).call(i,u));p.style.maxHeight="".concat(40*d,"px"),p.style.overflow="hidden",n([setTimeout(function(){return f(a)},0),setTimeout(function(){return p.removeAttribute("style")},300)])},on=function(e){var t=e.props,n=e.folder,i=e.containedItems,o=Object(Ee.useState)([]),a=Object(Q.a)(o,2),s=a[0],c=a[1];Object(Ee.useEffect)(function(){return function(){ve()(s).call(s,clearTimeout)}},[s]);var u=t.openFolders,l=n.id,d=function(e,t,n,r){return function(i){var o=e.openFolders,a=t.id,s=ye()(o).call(o,a)?nn:rn;i.stopPropagation(),s(e,t,r,n)}}(t,n,i,c),f=_e()(Ut,Object(r.a)({},Gt,ye()(u).call(u,l))),p={className:Yt,onClick:d,onKeyPress:Qt(d),role:"button"};return ke.a.createElement("div",p,ke.a.createElement("div",{className:f}))},an=function(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];return Object(we.compose)(Object(we.map)(Object(we.assoc)("treeType","item")),Object(we.when)(Object(we.always)(t),Object(we.reject)(Object(we.propEq)("deleted",!0))),Object(we.filter)(Object(we.propEq)("folderId",e)))},sn=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,p=_e()(qt,Object(r.a)({},$t,l)),h=null===c?"root":c,m=Object(Ee.useCallback)(function(){return f(qe(qe({},t),{},Object(r.a)({},h,!1)))},[t,h,f]),v=Object(Ee.useCallback)(function(){return f(qe(qe({},t),{},Object(r.a)({},h,!0)))},[t,h,f]);return ke.a.createElement("div",{className:p},ke.a.createElement(d,{category:n,className:zt,depth:i,effectiveRole:s,id:c,isDeleted:a,onClose:m,onOpen:v,type:u}))},cn=function(e){var t,n=e.children,i=e.forceHover,o=e.hasItems,a=e.isActive,s=e.onClick,c=e.onKeyPress,u=e.props,l=u.activeClassName,d=u.className,f=e.style,p={className:_e()(Dt,d,(t={},Object(r.a)(t,Ht,a),Object(r.a)(t,l,a),Object(r.a)(t,Vt,i),Object(r.a)(t,Wt,!o),t)),onClick:s,onKeyPress:c,role:"button",style:f,tabIndex:"0"};return ke.a.createElement("div",p,n)},un=function(e){var t=e.active,n=e.activeMenu,r=e.activeType,i=e.folders,o=e.items,a=e.onFolderClick,s=e.root,c=e.rootMenu,u=e.showItems,l=e.type,d=s.id,f=s.title,p=s.icon,h=Object(Ee.useCallback)(function(){return a(s)},[a,s]),m=t===d&&r===l;return ke.a.createElement(cn,{forceHover:Boolean(n[s.id||"root"]),hasItems:!Object(we.isEmpty)(i),isActive:m,onClick:h,onKeyPress:Qt(h),props:e},ke.a.createElement(on,{props:e,folder:{id:"root",subfolders:i},containedItems:u?an(d)(o):[]}),p&&ke.a.createElement("div",{className:Ft},p),ke.a.createElement("div",{className:Kt},ke.a.createElement("div",{className:Xt},f)),c&&ke.a.createElement(sn,ce()({},e,{depth:0,menu:c,folder:s,isActive:m})))},ln=function(e){return ke.a.createElement(Qe,ce()({},e,{viewBox:"0 0 16 16"}),ke.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"}))};ln.defaultProps={width:"16",height:"16"};var dn=Object(Ee.memo)(ln),fn=function e(t){var n,i,o,a=t.folder,s=t.props,c=s.active,u=s.activeMenu,l=s.activeType,d=s.id,f=s.items,p=s.itemIcon,h=s.menu,m=s.onFolderClick,v=s.onItemClick,g=s.openFolders,y=s.showItems,b=a.title,_=a.subfolders,w=a.treeType,E=a.type,k=a.id,x=a.index||0,S=Object(Ee.useCallback)(function(){return"folder"===w?m(a):v(a)},[a,m,v,w]),T={paddingLeft:"".concat(21*(x+2),"px")},O=y?an(k)(f):[],C=Object(we.compose)(function(t){return ke.a.createElement(e,{key:t.id,props:s,folder:t})},Object(we.assoc)("treeType","folder"),Object(we.assoc)("index",x+1)),j=Object(we.compose)(function(t){return ke.a.createElement(e,{key:t.id,props:s,folder:t})},Object(we.assoc)("treeType","item"),Object(we.assoc)("index",x+1)),A=Object(we.cond)([[Object(we.propEq)("treeType","item"),j],[we.T,C]]),N=_e()(Rt,Object(r.a)({},Bt,ye()(g).call(g,k))),P=en(_)||en(O),M=P?ve()(n=ae()(i=[]).call(i,Object(ie.a)(_),Object(ie.a)(O))).call(n,A):null,L=Object(Ee.useCallback)(Qt(S),[Qt,S]),I="team"===E?dn:Je;return ke.a.createElement("div",{id:ae()(o="".concat(d,"-qbf-")).call(o,k),key:k,className:N},ke.a.createElement(cn,{forceHover:Boolean(u[a.id]),hasItems:P,isActive:c===a.id,onClick:S,onKeyPress:L,props:s,style:T},ke.a.createElement(on,{props:s,folder:a,containedItems:y?an(k)(f):[]}),ke.a.createElement("div",{className:Ft},"folder"===w?ke.a.createElement(I,null):ke.a.createElement(p,null)),ke.a.createElement("div",{className:Kt},ke.a.createElement("div",{className:Xt},b)),h&&ke.a.createElement(sn,ce()({},s,{depth:x+1,folder:a,isActive:c===a.id&&l===E}))),M)},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=_e()(Rt,Object(r.a)({},Bt,ye()(a).call(a,"root")));return ke.a.createElement("div",{id:"".concat(i,"-qbf-root"),className:u},s&&ke.a.createElement(un,e),Object(we.compose)(Object(we.map)(function(t){return ke.a.createElement(fn,{key:t.id,props:e,folder:t})}),Object(we.map)(Object(we.assoc)("treeType","folder")))(n),c&&Object(we.compose)(Object(we.map)(function(t){return ke.a.createElement(fn,{key:t.id,props:e,folder:t})}),Object(we.map)(Object(we.assoc)("treeType","item")),function(e){var t=We(e,Object(we.pluck)("id"));return Object(we.compose)(Object(we.map)(Object(we.assoc)("treeType","item")),Object(we.filter)(function(e){return null===e.folderId||!Object(we.contains)(e.folderId,t)}))}(t))(o))};(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(Q.a)(l,2),f=d[0],p=d[1],h=Object(Ee.useState)(u?o:[]),m=Object(Q.a)(h,2),v=m[0],g=m[1],y=Object(Ee.useState)({}),b=Object(Q.a)(y,2),_=b[0],w=b[1],E=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(we.find)(Object(we.propEq)("id",t),n);return void 0===o?[]:e(o.parentId,n,ae()(r=[o]).call(r,Object(ie.a)(i)))}(n,i):[];Object(Ee.useEffect)(function(){p(!1)},[n]),Object(Ee.useEffect)(function(){var e;a&&!f&&(Object(we.compose)(g,(e=Object(we.pluck)("id",i),Object(we.filter)(function(t){return"root"===t||ye()(e).call(e,t)})),we.uniq,Object(we.when)(function(e){return e.length>0},Object(we.append)("root")),we.flatten,Object(we.flip)(we.append)(v),we.init,Object(we.pluck)("id"))(k),p(!0))},[a,f,t,v,k,i]);var x=qe(qe({},e),{},{activeMenu:_,folders:i,folderTree:E,openFolders:v,setActiveMenu:w,setOpenFolders:g});return ke.a.createElement("div",{className:It},ke.a.createElement(pn,x))}).defaultProps={initialFolders:["root"],items:[],openToActive:!1,reportOpenFolders:function(){},showItems:!1,viewingTree:!0};var hn=function(e){return ke.a.createElement(Qe,ce()({},e,{viewBox:"0 0 10 10"}),ke.a.createElement("g",{fillRule:"evenodd"},ke.a.createElement("path",{d:"M0 4.107h10v2H0z"}),ke.a.createElement("path",{d:"M4 0h2v10H4z"})))};hn.defaultProps={width:"10",height:"10"};nt(".Button_addIcon__db4c319a{display:inline-block;line-height:0;padding:0 .5rem}.Button_addIcon__db4c319a svg{fill:#c9c9ca;transition:fill .2s}",{prepend:!0});nt(".Folder_folder__d15db469{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;text-overflow:ellipsis;transition:all .2s;width:18.2rem;word-break:break-word}.Folder_folder__d15db469:hover{background-color:#fafafa;border-color:#313537;color:#313537}.Folder_folder__d15db469:hover .Folder_folderIcon__d15db469 svg{fill:#313537}.Folder_folder__d15db469 .Folder_folderIcon__d15db469{display:inline-block;flex-grow:0;line-height:0;margin-right:1.1rem}.Folder_folder__d15db469 .Folder_folderIcon__d15db469 svg{fill:#c9c9ca;transition:fill .2s}.Folder_folder__d15db469 .Folder_label__d15db469{flex-grow:1;white-space:nowrap;width:12.7rem}.Folder_folder__d15db469 .Folder_label__d15db469 div{overflow:hidden;text-overflow:ellipsis}",{prepend:!0});nt(".FoldersList_wrap__36cf697f{margin-bottom:2.5rem}.FoldersList_wrap__36cf697f>.FoldersList_label__36cf697f{color:#6a737c;display:block;font-size:1.4rem;margin-bottom:1.5rem}.FoldersList_wrap__36cf697f>.FoldersList_list__36cf697f{display:flex;flex-wrap:wrap}",{prepend:!0});var mn="QuestionBanksList_tr__08067dad",vn="QuestionBanksList_td__08067dad",gn="QuestionBanksList_menu__08067dad",yn="QuestionBanksList_tr_Deleted__08067dad",bn="QuestionBanksList_trActive__08067dad",_n="QuestionBanksList_colQuestions__08067dad",wn="QuestionBanksList_colOwner__08067dad",En="QuestionBanksList_colUpdated__08067dad",kn="QuestionBanksList_title__08067dad",xn="QuestionBanksList_titleText__08067dad",Sn="QuestionBanksList_editing__08067dad",Tn="QuestionBanksList_editingIcon__08067dad",On="QuestionBanksList_avatarHolder__08067dad",Cn="QuestionBanksList_avatarIcon__08067dad",jn="QuestionBanksList_avatarName__08067dad",An="QuestionBanksList_menuTd__08067dad",Nn="QuestionBanksList_menuWrap__08067dad";nt(".QuestionBanksList_wrap__08067dad{margin-bottom:22rem}.QuestionBanksList_label__08067dad{color:#6a737c;display:block;font-size:1.4rem;margin-bottom:1.5rem}.QuestionBanksList_table__08067dad{border-collapse:collapse;border-spacing:0;color:#313537;table-layout:fixed;width:100%}.QuestionBanksList_thead__08067dad{border-radius:.6rem}.QuestionBanksList_th__08067dad{font-size:1.4rem;letter-spacing:0}.QuestionBanksList_tr__08067dad{cursor:pointer}.QuestionBanksList_tr__08067dad:first-child td{border-top:none}.QuestionBanksList_tr__08067dad:last-child td{border-bottom:.1rem solid #eee}.QuestionBanksList_tr__08067dad:hover .QuestionBanksList_td__08067dad{background-color:#eee;border-color:transparent}.QuestionBanksList_tr__08067dad:hover+.QuestionBanksList_tr__08067dad .QuestionBanksList_td__08067dad{border-top-color:transparent}.QuestionBanksList_tr__08067dad:hover .QuestionBanksList_menu__08067dad{visibility:visible}.QuestionBanksList_tr_Deleted__08067dad{cursor:default}.QuestionBanksList_trActive__08067dad .QuestionBanksList_menu__08067dad{visibility:visible;z-index:2}.QuestionBanksList_td__08067dad{border-bottom:none;border-top:.1rem solid #eee;font-size:1.4rem;height:5.5rem;letter-spacing:0;padding-bottom:0;padding-top:0;transition:all .2s;vertical-align:middle}.QuestionBanksList_td__08067dad:first-child{border-bottom-left-radius:.6rem;border-top-left-radius:.6rem}.QuestionBanksList_td__08067dad:last-child{border-bottom-right-radius:.6rem;border-top-right-radius:.6rem}.QuestionBanksList_colQuestions__08067dad{width:14rem}.QuestionBanksList_colOwner__08067dad{width:20%}@media (max-width:1000px){.QuestionBanksList_colOwner__08067dad{display:none}}.QuestionBanksList_colUpdated__08067dad{width:17rem}@media (max-width:900px){.QuestionBanksList_colUpdated__08067dad{display:none}}.QuestionBanksList_colMenu__08067dad{width:7rem}.QuestionBanksList_title__08067dad{align-items:center;display:flex}.QuestionBanksList_titleText__08067dad{font-weight:700;max-width:45rem;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.QuestionBanksList_editing__08067dad{align-items:center;color:#6a737c;display:inline-flex;font-size:1.2rem;font-weight:400;letter-spacing:0;margin-left:1.6rem}.QuestionBanksList_editingIcon__08067dad{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__08067dad svg{fill:#313537}.QuestionBanksList_avatarHolder__08067dad{align-items:center;display:flex}.QuestionBanksList_avatarHolder__08067dad .QuestionBanksList_avatarIcon__08067dad{align-items:center;background-color:#d8d8d8;background-size:cover;border-radius:50%;display:inline-flex;flex:0 0 2.4rem;height:2.4rem;justify-content:center;margin-right:.8rem;width:2.4rem}.QuestionBanksList_avatarHolder__08067dad .QuestionBanksList_avatarName__08067dad{max-width:20rem;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.QuestionBanksList_menuTd__08067dad{padding:1rem 2rem;vertical-align:middle}.QuestionBanksList_menuWrap__08067dad{margin-left:auto;margin-right:0;width:3rem}.QuestionBanksList_menu__08067dad{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"};nt('.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],Ln=Object(we.prop)("sortable"),In=Object(we.both)(Ln,Object(we.propEq)("sortDirection",1)),Rn=Object(we.both)(Ln,Object(we.propEq)("sortDirection",2)),Dn=Object(we.both)(Ln,Object(we.compose)(Object(we.prop)("hover"),Object(we.nthArg)(1))),Bn=Object(we.pipe)(Object(we.cond)([[Object(we.both)(Dn,In),Object(we.always)("thcolAscHover")],[Object(we.both)(Dn,Rn),Object(we.always)("thcolDescHover")],[Dn,Object(we.always)("thcolHover")],[In,Object(we.always)("thcolAsc")],[Rn,Object(we.always)("thcolDesc")],[Ln,Object(we.always)("thcolSortable")],[we.T,Object(we.always)("thcol")]]),Object(we.prop)(we.__,Pn)),Fn=Object(we.cond)([[In,Object(we.always)("ascending")],[Rn,Object(we.always)("descending")],[we.T,Object(we.always)("none")]]),Un=Object(we.pipe)(Object(we.indexOf)(we.__,Mn),Object(we.ifElse)(Object(we.equals)(Mn.length-1),Object(we.always)(0),we.inc),Object(we.prop)(we.__,Mn)),qn=Object(we.omit)(["onSort","sortable","sortDirection","sortKey","className"]),zn=(Ee.Component,function(e){return ke.a.createElement("td",ce()({className:_e()(Pn.td,e.className)},Object(we.omit)(["className"],e)))}),Hn=function(e){Object(te.a)(n,e);var t=Ve(n);function n(){var e,r;Object(J.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,ae()(e=[this]).call(e,o))).state={hover:!1},r.onClickDelegate=r.onClick.bind(Object(Z.a)(r)),r.onMouseEnterDelegate=r.onMouseEnter.bind(Object(Z.a)(r)),r.onMouseLeaveDelegate=r.onMouseLeave.bind(Object(Z.a)(r)),r}return Object(ee.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=Un(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 ke.a.createElement("th",ce()({"aria-sort":Fn(this.props),className:ae()(e="".concat(Bn(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},qn(this.props)))}}]),n}(Ee.Component);Hn.defaultProps={sortable:!1,sortDirection:0,onSort:Object(we.always)()},ce()(Hn.prototype,{onMouseEnter:Object(we.partial)(Hn.prototype.onMouse,[!0]),onMouseLeave:Object(we.partial)(Hn.prototype.onMouse,[!1])});var Vn=function(e){return ke.a.createElement("tr",e)},Wn=function(e){return ke.a.createElement(Qe,ce()({},e,{viewBox:"0 0 10 12"}),ke.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"}))};Wn.defaultProps={height:"12",width:"10"};var Yn=Object(Ee.memo)(Wn),Gn=Object(we.pathOr)("",["links","micro"]),Kn=function(e){var t,n=e.profile,r=e.updateCol;if(!n)return ke.a.createElement("span",null,"Loading...");var i=ae()(t="".concat(n.firstName," ")).call(t,n.lastName),o=Gn(n);return ke.a.createElement("div",{className:On},r&&ke.a.createElement("span",null,"Updated by: "),ke.a.createElement("span",{className:Cn,style:{backgroundImage:"url(".concat(o,")")}}),ke.a.createElement("span",{className:jn},i))},Xn=function(e,t){return t[e]},$n=function(e){var t,n=e.active,i=e.displayOwnerColumn,o=e.getCountLabel,a=e.index,s=e.locks,c=e.menu,u=e.onClick,l=e.profiles,d=e.row,f=e.showMenu,p=e.tooltipFn,h=e.type,m=e.userId,v=d.authorId,g=d.deleted,y=d.id,b=d.lastEditedBy,_=d.questions,w=d.title,E=d.updatedAt,k=Xn(v,l),x=Xn(b,l),S=Object(Ee.useCallback)(function(){return u(d)},[u,d]),T=Object(we.has)(y,s),O=_e()(mn,(t={},Object(r.a)(t,bn,n===y),Object(r.a)(t,yn,g),t)),C=Qn(E);return ke.a.createElement(Vn,{className:O,key:a,onClick:g?null:S},ke.a.createElement(zn,{className:vn},ke.a.createElement("div",{className:kn},ke.a.createElement("span",{className:xn},w),T&&ke.a.createElement(Zn,null))),ke.a.createElement(zn,{className:_e()(vn,_n)},o(_.length)),i&&ke.a.createElement(zn,{className:_e()(vn,wn)},ke.a.createElement(Kn,{profile:k})),ke.a.createElement(zn,{className:_e()(vn,En)},x&&"team"===h?p(C,ke.a.createElement(Kn,{profile:x,updateCol:!0})):C),ke.a.createElement(zn,{className:_e()(vn,An)},c&&(f||d.authorId===m)&&ke.a.createElement(Jn,ce()({isLocked:T},e,d))))},Qn=function(e){return Re()(e).format("M/D/YY @ h:mma")},Zn=function(){return ke.a.createElement("div",{className:Sn,"data-testid":"editing"},ke.a.createElement("span",{className:Tn},ke.a.createElement(Yn,null)),"Editing")},Jn=function(e){var t=e.deleted,n=e.effectiveRole,r=e.id,i=e.isLocked,o=e.menu,a=e.row,s=e.setActive,c=e.type,u=Object(Ee.useCallback)(function(){return s(null)},[s]),l=Object(Ee.useCallback)(function(){return s(r)},[r,s]);return ke.a.createElement("div",{className:Nn},ke.a.createElement(o,{authorId:a.authorId,className:gn,effectiveRole:n,id:r,isDeleted:t,isLocked:i,onClose:u,onOpen:l,type:c}))};$n.defaultProps={locks:{}};var er,tr=n(123),nr=(n(103),er={},Object(r.a)(er,tr.b.FILL_IN_THE_BLANK,"fillin"),Object(r.a)(er,tr.b.MATCHING,"matching"),Object(r.a)(er,tr.b.MULTIPLE_CHOICE,"multiple choice"),Object(r.a)(er,tr.b.MULTIPLE_RESPONSE,"multiple response"),er),rr=function(e){var t=e.drawCount,n=e.questions,r=e.drawnQuestions,i=void 0===r?[]:r;if(i.length===t)return null;return d()(o()("index",function(e){return g()(O()("id",e.id),n)}),function(e){return e[Math.floor(Math.random()*e.length)]},N()(j()(b()(m.a)(i),"id")))(n)}},,function(e,t,n){
/** @license ISC License (c) copyright 2016 original and current authors */
var r=n(125),i=n(95);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){var r=n(142),i=n(804),o=r.WeakMap;e.exports="function"==typeof o&&/native code/.test(i(o))},,function(e,t,n){var r=n(883),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){"use strict";var r=n(127);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(44),i=n(142),o=n(676),a=n(127),s=n(219),c=n(143),u=n(400),l=n(151),d=n(295),f=n(220).f,p=n(355).forEach,h=n(166),m=n(273),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],E=w&&w.prototype,k={};if(h&&"function"==typeof w&&(b||E.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 x=g(e);p(["add","clear","delete","forEach","get","has","set","keys","values","entries"],function(e){var t="add"==e||"set"==e;e in E&&(!b||"clear"!=e)&&s(m.prototype,e,function(n,r){var i=x(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 x(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){"use strict";var r=n(155),i=n(176),o=n(143);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){"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(102),i=n(155);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";var r=n(102);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){var r=n(358)(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,n){var r=n(177),i=n(828),o=n(330),a=n(835),s=n(1933),c=n(644),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){var r=n(177),i=n(330),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,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")(),p=Object.prototype.toString,h=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,p=!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 E(e);c=setTimeout(w,function(e){var n=t-(e-u);return f?m(n,a-(e-l)):n}(e))}function E(e){return c=void 0,p&&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)?h(b(r.maxWait)||0,t):a,p="trailing"in r?!!r.trailing:p),k.cancel=function(){void 0!==c&&clearTimeout(c),l=0,i=u=o=c=void 0},k.flush=function(){return void 0===c?s:E(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)&&p.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(108))},function(e,t,n){
/** @license ISC License (c) copyright 2017 original and current authors */
var r=n(237);e.exports=function(e){return!!e&&r("contramap",e)}},function(e,t,n){},function(e,t,n){var r=n(130),i=n(439),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(1115)("keys"),i=n(1116);e.exports=function(e){return r[e]||(r[e]=i(e))}},function(e,t,n){var r=n(362),i=n(202),o=n(602);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(189)("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(439),i=n(189)("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(362),i=n(603),o=n(1121),a=n(404),s=n(2233),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(130);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(141),i=n(1118),o=n(50),a=n(363),s=n(697),c=n(1125),u=n(605),l=n(167),d=n(130),f=n(1247),p=n(483),h=n(2237);e.exports=function(e,t,n,m,v){var g=r[e],y=g&&g.prototype,b=g,_=m?"set":"add",w={},E=function(e){var t=y[e];a(y,e,"add"==e?function(e){return t.call(this,0===e?0:e),this}:"delete"==e?function(e){return!(v&&!l(e))&&t.call(this,0===e?0:e)}:"get"==e?function(e){return v&&!l(e)?void 0:t.call(this,0===e?0:e)}:"has"==e?function(e){return!(v&&!l(e))&&t.call(this,0===e?0:e)}:function(e,n){return t.call(this,0===e?0:e,n),this})};if(i(e,"function"!=typeof g||!(v||y.forEach&&!d(function(){(new g).entries().next()}))))b=n.getConstructor(t,e,m,_),s.REQUIRED=!0;else if(i(e,!0)){var k=new b,x=k[_](v?{}:-0,1)!=k,S=d(function(){k.has(1)}),T=f(function(e){new g(e)}),O=!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=h(new g,t,b);return null!=n&&c(n,r[_],r,m),r})).prototype=y,y.constructor=b),(S||O)&&(E("delete"),E("has"),m&&E("get")),(O||x)&&E(_),v&&y.clear&&delete y.clear}return w[e]=b,o({global:!0,forced:b!=g},w),p(b,e),v||n.setStrong(b,e,m),b}},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(692)||!n(130)(function(){var e=Math.random();__defineSetter__.call(null,e,function(){}),delete n(141)[e]})},function(e,t,n){"use strict";var r=n(178);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(1255),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(405),i=n(403);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(439),i=n(1256);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(337),i=n(363),o=n(130),a=n(189),s=n(1256),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),p=!o(function(){var t={};return t[f]=function(){return 7},7!=""[e](t)}),h=p&&!o(function(){var t=!1,n=/a/;return n.exec=function(){return t=!0,null},"split"===e&&(n.constructor={},n.constructor[c]=function(){return n}),n[f](""),!t});if(!p||!h||"replace"===e&&!u||"split"===e&&!l){var m=/./[f],v=n(f,""[e],function(e,t,n,r,i){return t.exec===s?p&&!i?{done:!0,value:m.call(t,n,r)}:{done:!0,value:e.call(n,t,r)}:{done:!1}}),g=v[0],y=v[1];i(String.prototype,e,g),i(RegExp.prototype,f,2==t?function(e,t){return y.call(e,this,t)}:function(e){return y.call(e,this)}),d&&r(RegExp.prototype[f],"sham",!0)}}},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(1126)),o=s(n(2306)),a=s(n(2251));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(2678)()},function(e,t,n){"use strict";(function(e){n.d(t,"a",function(){return o});var r=n(17),i=n(145);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(17),i=n(145);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(17),i=n(145);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(280);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(47),i=n(548),o=n(1268),a=n(2746),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){"use strict";var r=n(4),i=n.n(r),o=n(2372),a=n.n(o);t.a=function(e){var t,n,r=e.alpha,o=e.color,s=e.url,c=a()(o,r);return{backgroundImage:i()(t=i()(n="linear-gradient(0deg,".concat(c,",")).call(n,c,'), url("')).call(t,s,'")')}}},function(e,t,n){"use strict";n.d(t,"a",function(){return a});var r=n(199),i=n(780),o={SPLIT_LEFT_IMAGE:"LEFT_OVERLAY",SPLIT_RIGHT_IMAGE:"LEFT_OVERLAY",TWO_THIRDS_LEFT_IMAGE:"LEFT_OVERLAY",TWO_THIRDS_RIGHT_IMAGE:"LEFT_OVERLAY"};function a(){var e,t=Object(r.b)().coverPageType;return Object(i.b)()&&null!==(e=o[t])&&void 0!==e?e:t}},function(e,t,n){"use strict";var r=n(0),i=n.n(r),o=n(1310);t.a=function(e){var t=e.className,n=e.cx,a=e.cy,s=e.diameter,c=e.onTransitionEnd,u=void 0===c?Function.prototype:c,l=e.r,d=e.strokeLinecap,f=e.strokeWidth,p=e.transform,h=e.value,m=void 0===h?0:h,v=Object(r.useRef)(),g=Math.PI*(Number(s)-Number(f)),y=g*(100-m)/100,b=Object(r.useCallback)(function(){100===m&&u()},[u,m]);return Object(o.a)("transitionend",b,v.current),i.a.createElement("circle",{className:t,cx:n,cy:a,fill:"transparent",r:l,ref:v,strokeDasharray:g,strokeDashoffset:y,strokeLinecap:d,strokeWidth:f,transform:p})}},function(e,t,n){"use strict";n.d(t,"a",function(){return a});var r=n(199),i=n(782),o={SPLIT_LEFT_IMAGE:"CENTERED_OVERLAY",SPLIT_RIGHT_IMAGE:"CENTERED_OVERLAY",TWO_THIRDS_LEFT_IMAGE:"CENTERED_OVERLAY",TWO_THIRDS_RIGHT_IMAGE:"CENTERED_OVERLAY"};function a(){var e,t=Object(r.b)().coverPageType;return Object(i.c)()&&null!==(e=o[t])&&void 0!==e?e:t}},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){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(2706);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(17),i=n(63),o=n.n(i),a=n(2),s=n.n(a),c=n(0),u=n(134);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";n.d(t,"a",function(){return f});var r=n(62),i=n.n(r),o=n(97),a=n.n(o),s=n(27),c=n.n(s),u=n(66),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),p=n(0),h=n.n(p),m=n(161),v=n.n(m),g=n(756);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(p.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 h.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}(p.Component)},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(2722),n(26)),d=n.n(l),f=n(1),p=n.n(f),h=n(78),m=n(259),v=n(589),g=n(382);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(h.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);p.a.any,p.a.array,p.a.object}).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(2724),n(2)),f=n.n(d),p=n(78),h=n(1),m=n.n(h),v=n(726),g=n(590);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"),p={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,p)))}},{key:"onItemSelected",value:function(e){var t=this.props.id;Object(p.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){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(14),f=n.n(d),p=(n(2727),n(2)),h=n.n(p),m=n(38),v=n.n(m),g=n(253),y=n.n(g),b=n(121),_=n.n(b),w=n(122),E=n.n(w),k=n(26),x=n.n(k),S=n(21),T=n.n(S),O=n(455),C=n.n(O),j=n(15),A=n.n(j),N=n(18),P=n.n(N),M=n(48),L=n.n(M),I=n(110),R=n.n(I),D=n(1),B=n.n(D),F=n(161),U=n.n(F),q=n(78),z=n(216),H=n(25),V=n(23),W=n(82),Y=n(2260),G=n(45),K=n(777),X=n(2390),$=n(2391),Q=n(456),Z=n(472);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(C.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,p=this.isAtStart();return e.createElement("div",{"aria-hidden":!p,className:this.getItemClassName(0),ref:function(e){t["item-".concat(0)]=e}},e.createElement("div",{className:"process__item-wrap"},e.createElement($.a,{allowTabNavigation:p,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(X.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=R()(t,["showcard","showcardUp"]);(this.state.isTransitioning&&this.setState({isTransitioning:!1}),n&&this.state.resetContentFocus)?(this.props.prefersKeyboardNavigation&&this.updateFocusForActiveCard(),this.setState({resetContentFocus:!1})):"showFoot"===t&&this.focusNextElement()}},{key:"getClassName",value:function(e){var t=e.isAtStart,n=e.isAtEnd;return h()("process",{"process--reverse-animation":"backwards"===this.props.lessonProgress.direction,"process--at-start":t,"process--at-end":n})}},{key:"getControlsClassName",value:function(e){var t=e.isAtStart,n=e.isAtEnd;return h()("process__controls",{"process__controls--at-start":t,"process__controls--at-end":n})}},{key:"getItemClassName",value:function(e){var t=ne(this.props);return h()("process__item",{"process__item--active":e===t,"process__item--done":e<t,"process__item--next":y()(e)===t})}},{key:"getMenuClassName",value:function(){var e=this.props,t=e.menuOpen,n=e.mobileMenuOpen,r=!!document.querySelector(".lesson--preview");return h()("lesson-controls-wrapper",{"lesson--open":t&&!r,"lesson--open-mobile":n&&!r})}},{key:"previousSlide",value:function(){if(!this.isAtStart()){this.slidePrep();var e=this.props,t=e.id,n=e.lessonProgress,r=Math.max(0,y()(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=x()([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 E()(A()("activeIndex",this.props.lessonProgress))}},{key:"isAtEnd",value:function(){var e=this.props,t=e.items,n=e.lessonProgress;return P()("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";n.d(t,"a",function(){return _});var r=n(35),i=n(0),o=n.n(i),a=n(563),s=n(255),c=n.n(s),u=n(454),l=n.n(u),d=n(2),f=n.n(d),p=n(200),h=n(22),m=(n(2731),"".concat(Object(h.c)("CDN_USER_CONTENT_URI"),"/assets/rise/assets/certificate-icon.svg")),v="".concat(Object(h.c)("CDN_USER_CONTENT_URI"),"/assets/rise/assets/error_x.svg"),g="".concat(Object(h.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),h=d[0],b=d[1],_=l()(h),w=Object(i.useRef)(),E="".concat(s,"-live"),k=f()("certificateDownload",{certificateDownloadContained:"contained"===t}),x=Object(i.useCallback)(function(){b("downloading")},[]);return Object(i.useEffect)(function(){return"downloading"===h&&"downloading"!==_&&Object(p.b)().then(function(){b(y)}).catch(function(e){Object(a.isCancel)(e)?b(y):b("error")}),function(){Object(p.c)()}},[_,h]),Object(i.useEffect)(function(){w.current&&("error"===h&&"error"!==_||h===y&&("error"===_||"downloading"===_))&&w.current.focus()},[_,h]),o.a.createElement("div",{className:k},o.a.createElement("div",{"aria-live":"polite",id:E,role:"status"},"downloading"===h&&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"===h&&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"))),(h===y||"error"===h)&&o.a.createElement("button",{"aria-controls":E,className:"certificateDownload__btn",onClick:x,ref:w,type:"button"},h===y&&"contained"===t&&o.a.createElement("img",{alt:"",className:"certificateDownload__okImg",height:"15",src:m,width:"15"}),h===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";var r,i=n(47),o=n.n(i),a=n(32),s=n.n(a),c=n(40),u=n.n(c),l=n(31),d=n.n(l),f=n(34),p=n.n(f),h=n(70),m=n(8),v=n(4),g=n.n(v),y=n(721),b=n.n(y),_=n(63),w=n.n(_),E=n(0),k=n.n(E),x=n(2407),S=n.n(x),T=n(2400),O=n.n(T),C=n(2404),j=n.n(C),A=n(2262),N=n.n(A),P=n(2406),M=n.n(P),L=n(2402),I=n.n(L),R=n(2399),D=n.n(R),B=n(2403),F=n.n(B),U=n(2405),q=n.n(U),z=n(2401),H=n.n(z),V=["alt"];function W(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}function Y(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?W(Object(n),!0).forEach(function(t){Object(m.a)(e,t,n[t])}):p.a?Object.defineProperties(e,p()(n)):W(Object(n)).forEach(function(t){Object.defineProperty(e,t,d()(n,t))})}return e}var G=["a","alpha","b","background","c","colors","f","format","h","height","q","quality","r","rasterize","s","scale","w","width"];var K=D()(G),X=function(e){return!b()(Number(e))},$=O()(2,function(e){var t=H()(X,I()(e));return F()(K,j()({h:t,height:t,w:t,width:t}),q.a,M()(N()(":")),N()(","))}),Q=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 g()(r=g()(i="".concat(e,"/")).call(i,n,"/")).call(r,t)}(t,r,$(n?2:1,e));return{backgroundImage:'url("'.concat(i,'")')}}};var Z="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 J=S()(g()(r=["imagesUri","imageKey","hidpi","style"]).call(r,G)),ee=function(e){return Y(Y({},e.style),Q(e))},te=function(e){var t=e.alt,n=Object(h.a)(e,V);return k.a.createElement("span",w()({"aria-label":t,className:Z,role:"img",style:ee(n)},J(n)))};te.defaultProps={alt:"Image",imagesUri:"",style:{}},t.a=te},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(47),a=n.n(o),s=n(32),c=n.n(s),u=n(40),l=n.n(u),d=n(31),f=n.n(d),p=n(34),h=n.n(p),m=n(8),v=n(9),g=n(10),y=n(11),b=n(13),_=n(5),w=n(41),E=n.n(w),k=n(14),x=n.n(k),S=(n(2778),n(2)),T=n.n(S),O=n(21),C=n.n(O),j=n(409),A=n(103),N=n(2411);function P(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 M(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?P(Object(n),!0).forEach(function(t){Object(m.a)(e,t,n[t])}):h.a?Object.defineProperties(e,h()(n)):P(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=C()(0,["progress","activeIndex"]),R=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})}},D=C()(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)(M(M({},e),{},{updateProgress:i})),a=M(M({},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(D(this.props)!==D(e)){var n=Object(j.g)(M(M({},e),{},{updateProgress:t})),r=M(M({},e),n);this.setState({items:Object(j.c)(r),progress:r.progress})}else{var i=Object(j.a)(M(M({},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=E()(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,x()(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=R(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,p=i.onMatchSet,h=i.onResponseToggle,m=i.onSetIndex,v=i.onSubmit,g=i.previousComponent,y=i.prefersKeyboardNavigation,b=i.progress,_=i.quizHeader,w=i.settings,E=i.title,k=this.state.items,x=I(this.state),S=R(x);return e.createElement(N.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:p,onResponseToggle:h,prefersKeyboardNavigation:y,progress:b,quizTop:g?73:void 0,reportAnswer:l,retryAttempts:D({progress:b}),scrollId:"page-wrap",settings:w,setNextIndex:m,submitAction:v,title:E})}},{key:"renderStart",value:function(){var t=this.props.quizHeader,n=this.state.items,r=I(this.state),i=R(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";(function(e){var r=n(70),i=(n(2782),n(2412)),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 y});var r=n(27),i=n.n(r),o=n(79),a=n.n(o),s=n(60),c=n.n(s),u=n(97),l=n.n(u),d=n(72),f=n.n(d),p=n(62),h=n.n(p),m=n(157),v=n.n(m),g=n(66),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 h()(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(97),l=n.n(u),d=n(62),f=n.n(d),p=n(128),h=n.n(p),m=n(66),v=n(174),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),h()(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(97),a=n.n(o),s=n(62),c=n.n(s),u=n(66),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 P});var r=n(203),i=n.n(r),o=n(7),a=n.n(o),s=n(110),c=n.n(s),u=n(79),l=n.n(u),d=n(60),f=n.n(d),p=n(29),h=n.n(p),m=n(97),v=n.n(m),g=n(98),y=n.n(g),b=n(443),_=n.n(b),w=n(72),E=n.n(w),k=n(62),x=n.n(k),S=n(562),T=n.n(S),O=n(46),C=n.n(O),j=n(342),A=n.n(j),N=n(66),P=function(e){var t=e.id,n=e.itemId,r=e.selectedIndex;return function(e){return e(Object(N.g)({id:t,type:"quiz",updateFn:I({itemId:n,selectedIndex:r})}))}},M=function(e){return v()(["items",e])},L=function(e){return a()(M(e),y()("selectedIndices"))},I=function(e){var t,n=e.itemId,r=e.selectedIndex;return a()(C()((t=n,a()(f.a,T()(L(t)))),function(e){return x()(M(e),E()(["selectedIndices"]))}(n)),function(e){var t=e.itemId,n=e.selectedIndex;return x()(L(t),a()(l()(c()(n),A()(_()(n)),i()(n)),C()(h.a,function(){return[]})))}({itemId:n,selectedIndex:r}))}},function(e,t,n){"use strict";(function(e){var r=n(17),i=(n(2785),n(7)),o=n.n(i),a=n(78),s=n(488),c=n(728);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){n.d(t,"a",function(){return j});var r=n(3),i=n.n(r),o=n(17),a=n(9),s=n(10),c=n(11),u=n(13),l=n(5),d=(n(2786),n(7)),f=n.n(d),p=n(26),h=n.n(p),m=n(24),v=n.n(m),g=n(15),y=n.n(g),b=n(1129),_=n.n(b),w=n(491),E=n(78),k=n(729);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 S=v()(y()("linePosition"),parseFloat),T=_()(S),O=f()(E.a,w.a),C=f()(E.a,w.a),j=function(t){Object(c.a)(r,t);var n=x(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=h()([0,"id"],t);O({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:O,onLeave:C})))}}]),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(11),c=n(13),u=n(5),l=(n(2787),n(2)),d=n.n(l),f=n(58),p=n.n(f),h=n(26),m=n.n(h),v=n(21),g=n.n(v),y=n(15),b=n.n(y),_=n(1),w=n.n(_),E=n(78),k=n(1282),x=n(591),S=n(383);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 O=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),p=m()(["lessonProgress","percentComplete"],i),h=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:p,poster:h,progressChanged:C(a),recordMediaPlayheadPosition:this.handleRecordMediaPlayheadPosition.bind(this,a),src:f})):null)))}},{key:"handleRecordMediaPlayheadPosition",value:function(e,t){Object(E.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),C=p()(2,function(e,t){var n=t.currentTime,r=t.percentComplete;return Object(E.a)(Object(x.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(29),c=n.n(s),u=n(15),l=n.n(u),d=n(18),f=n.n(d),p=n(48),h=n.n(p),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,p=t.lessons[o],v=l()("score",p);Object(m.e)(function(e,t){return t>=h()(-1,"passingScore",e)}(d,v),v,o,function(e){var t=h()(-1,"retryCount",e);return i()(parseInt(t,10),parseInt(e.retryAttempts,10))}(d))}}},function(e,t,n){"use strict";var r=n(40),i=n.n(r),o=n(14),a=n.n(o),s=n(0),c=n.n(s),u=n(55),l=n.n(u),d=n(2),f=n.n(d),p=n(723),h=n(724),m=n(61),v=(n(2798),l()("partner-content-author-card__"));t.a=function(e){var t=e.courseId,n=e.partnerContent,r=e.publishedAt,o=e.tenantId,s=n.data,u=n.type,l=s.authors,d=s.bookImage,g=s.bookTitle,y=s.buyLink,b=s.internalId,_=s.nbicLink,w=i()(l).call(l,function(e){return e.name}),E={courseId:t,partnerContentId:n.id,partnerContentInternalId:b,tenantId:o,contentSubtype:u},k=f()(v("flex"),v("author-container")),x=function(e){return Object(m.f)({width:"122",height:"122",imageKey:e})};return c.a.createElement("ol",{className:"partner-content-author-card",role:"list"},c.a.createElement("li",{role:"listitem"},c.a.createElement("section",null,c.a.createElement("h2",{className:"visually-hidden"},"Authors"),a()(w).call(w,function(e){return c.a.createElement("li",{key:e.name,className:k},(t=e.image,n=e.name,c.a.createElement("div",{"aria-hidden":"true",className:v("image-container")},t?c.a.createElement("img",{src:x(t),alt:n,className:v("author-image")}):c.a.createElement("div",{className:v("author-image")}))),c.a.createElement("p",{className:v("author-name-text")},e.name));var t,n}))),c.a.createElement("li",{role:"listitem"},c.a.createElement(p.a,{authors:l,bookImage:d,bookTitle:g,buyLink:y,publishedAt:r,trackingInfo:E})),c.a.createElement("li",{role:"listitem"},c.a.createElement(h.a,{link:_,publishedAt:r,trackingInfo: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(2799),n(2)),d=n.n(l),f=n(1),p=n.n(f),h=n(51),m=n(96);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={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.props.isOnePage,r=this.state.failAttempt,i=d()("brand--border","share-password-dialog",{"fail-password":r}),o=n?"You need a password to view this lesson. If you don’t know it, ask the person who shared this with you.":"You need a password to view this course. If you don’t know it, ask the person who shared this with you.";return e.createElement("div",{className:i,ref:function(e){t.dialog=e}},e.createElement("h1",{className:"heading"},"Enter Password"),e.createElement("p",{className:"instructions"},o),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:p.a.func.isRequired,failAttempt:p.a.bool.isRequired}}}]),r}(e.Component);t.a=Object(h.b)(function(e){return{isOnePage:Object(m.d)(e)}})(g)}).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(63),i=n.n(r),o=n(0),a=i()(Object(o.createContext)(null),{displayName:"CompactNavControlContext"});function s(t){var n=t.children,r=t.collapseNav,i=t.expandNav;return e.createElement(a.Provider,{value:{expandNav:i,collapseNav:r}},n)}a.Consumer;var c=o.useContext.bind(null,a)}).call(this,n(0))},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(63),i=n.n(r),o=n(0),a=n(1310),s=n(599),c=i()(Object(o.createContext)(null),{displayName:"SidebarNavControlContext"});function u(t){var n=t.children,r=t.openMenu,i=t.closeMenu;return Object(a.a)(s.b,e.useCallback(r,[r])),e.createElement(c.Provider,{value:{openMenu:r,closeMenu:i}},n)}c.Consumer;var l=o.useContext.bind(null,c)}).call(this,n(0))},function(e,t,n){"use strict";var r=n(53),i=n.n(r),o=n(60),a=n.n(o),s=n(33),c=n.n(s),u=n(24),l=n.n(u),d=n(110),f=n.n(d),p=n(451),h=n(135),m=n.n(h),v=n(306),g=n.n(v),y=n(80),b=n.n(y),_=n(138),w=n.n(_),E=n(774),k=n.n(E);function x(e){return(x="function"==typeof w.a&&"symbol"==typeof k.a?function(e){return typeof e}:function(e){return e&&"function"==typeof w.a&&e.constructor===w.a&&e!==w.a.prototype?"symbol":typeof e})(e)}var S=n(29),T=n.n(S),O=Array.isArray,C=function(e){return!T()(e)&&"object"===x(e)},j=function(e){return"string"==typeof e},A=function(e,t){return function(n){return l()(m.a,b.a,f()(!0))(function(e,t){return function(n,r){var i=f()(r,e);return C(n)?A(e,t)(n):!(!i||!j(n)||a()(g()(t,Object(p.htmlDecode)(n))))}}(e,t),n)}},N=A,P=n(281),M=n.n(P),L=n(27),I=n.n(L),R=n(173),D=n.n(R),B=n(56),F=n.n(B),U=n(120),q=n.n(U),z=function(e,t){return function(n){return m()(function(e,t){return function(n,r){var i=f()(r,e);return O(n)?b()(z(e,t)(n)):C(n)?z(e,t)(n):i&&j(n)?F()(g()(t,Object(p.htmlDecode)(n))):0}}(e,t),n)}},H=function e(t){return O(t)?c()(e,t):C(t)?e(b()(t)):function(e){return"number"==typeof e}(t)?t:void 0},V=function(e,t){return function(n){return l()(z(e,t),b.a,c()(H),D.a,q()(M.a,0),function(e){return I()("results",e,n)})(n)}},W=n(193),Y=n.n(W),G=function(e,t,n){return function(r){return m()(function(e,t,n){return function(r,i){var o=f()(i,e);return O(r)?b()(G(e,t,n)(r)):C(r)?G(e,t,n)(r):o&&j(r)?Y()(t,n,Object(p.htmlDecode)(r)):r}}(e,t,n),r)}},K=G;t.a=function(e,t,n){var r=["caption","code","description","heading","message","name","paragraph","title","type"];if(a()(e))return!1;var o=e.replace(/[-[\]{}()"'*+?.,\\^$|#\s]/g,"\\$&"),s=new RegExp("(".concat(o,")(?![^<]*>)"),"ig"),u=K(r,s,function(e){return"<mark>".concat(e,"</mark>")}),d=c()(u,t),f=N(r,s),p=V(r,s);n(e,l()(i()(f),c()(p))(t),d)}},function(e,t,n){"use strict";var r=n(17),i=n(70),o=n(0),a=n.n(o),s=n(2),c=n.n(s),u=n(47),l=n.n(u),d=n(32),f=n.n(d),p=n(40),h=n.n(p),m=n(31),v=n.n(m),g=n(34),y=n.n(g),b=n(8),_=n(4),w=n.n(_);function E(e,t){var n=l()(e);if(f.a){var r=f()(e);t&&(r=h()(r).call(r,function(t){return v()(e,t).enumerable})),n.push.apply(n,r)}return n}function k(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?E(Object(n),!0).forEach(function(t){Object(b.a)(e,t,n[t])}):y.a?Object.defineProperties(e,y()(n)):E(Object(n)).forEach(function(t){Object.defineProperty(e,t,v()(n,t))})}return e}var x=function(e){var t,n,r,i,o,s,c,u,l,d,f=e.borderWidth,p=e.checkClassName,h=e.className,m=e.diameter,v=e.percentComplete,g=e.progressClassName,y=e.progressColor,b=e.title,_=e.trackClassName,E=e.trackColor,x=e.transitionTiming,T=Number(f),O=Number(m),C=Number(v),j=Number(x),A=O/2,N=A-T,P=(Math.PI*N*2).toFixed(3),M=P*(100-C)/100,L=S/O,I=function(e){return e/L},R={opacity:"0",visibility:"hidden"},D=w()(t="opacity ".concat(j,"s ")).call(t,j,"s"),B={transition:"none"},F=k(k(k({},{stroke:E,transition:D}),0===C?B:{}),100===C?R:{}),U=k(k(k({},{stroke:y,transition:w()(n=w()(r="stroke-dashoffset ".concat(j+.1,"s ease-out, fill ")).call(r,j,"s ")).call(n,j,"s")}),0===C?B:{}),100===C?{fill:y}:{}),q=k(k(k({},{transition:D}),100!==C?R:{}),0===C?B:{}),z=b||"".concat(C,"% complete");return a.a.createElement("svg",{xmlns:"https://www.w3.org/2000/svg",version:"1.1","aria-label":z,className:h,focusable:"false",height:O,role:"img",style:{display:"inline-block",verticalAlign:"middle"},width:O},a.a.createElement("circle",{className:_,cx:A,cy:A,fill:"transparent",r:N,strokeWidth:T,style:F,transform:w()(i="rotate(-89.9 ".concat(A," ")).call(i,A,")")}),a.a.createElement("circle",{className:g,cx:A,cy:A,fill:"transparent",r:N,strokeDasharray:P,strokeDashoffset:M,strokeWidth:T,style:U,transform:w()(o="rotate(-89.9 ".concat(A," ")).call(o,A,")")}),a.a.createElement("path",{className:p,d:["M".concat(I(8.64)),"0L".concat(I(9.9)),w()(s="".concat(I(1.17),"L")).call(s,I(3.51)),"".concat(I(7.2),"L0"),w()(c="".concat(I(3.87),"L")).call(c,I(1.26)),w()(u="".concat(I(2.7),"l")).call(u,I(2.34)),w()(l="".concat(I(2.16),"L")).call(l,I(8.64)),"0z"].join(","),fill:"#fff",style:q,transform:w()(d="translate(".concat(I(5.5)," ")).call(d,I(7),")")}))};x.displayName="ProgressCircle";var S=21;x.defaultProps={borderWidth:2,desc:"A circle with a colored border representing one's progress.",diameter:S,percentComplete:0,progressColor:"#50abf1",trackColor:"rgba(49, 53, 55, 0.1)",transitionTiming:.3};var T=Object(o.memo)(x),O=n(36),C=["percentComplete","passedQuiz"],j=function(e){var t=e.percentComplete,n=e.passedQuiz,o=Object(i.a)(e,C);if(void 0!==n&&!n)return a.a.createElement(O.L,{"aria-label":"Quiz failed"});var s=c()("brand--stroke brand--fill-opacity",{"brand--fill":100===t});return a.a.createElement(T,Object(r.a)({},o,{progressClassName:s,percentComplete:t}))};a.a.createElement(j,null).type,t.a=Object(o.memo)(j)},,function(e,t,n){"use strict";(function(e){n.d(t,"a",function(){return s});var r=n(14),i=n.n(r),o=n(61),a=function(e){return"url(".concat(Object(o.f)({width:"76",height:"76",imageKey:null==e?void 0:e.image}),")")},s=function(t){var n=t.partnerContentAuthors,r=i()(n).call(n,function(e){return e.name}).join(", ");return e.createElement("div",{className:"lesson-header__partner-content--mobile"},e.createElement("div",{className:"lesson-header__partner-content-author"},i()(n).call(n,function(t){return e.createElement("div",{key:t.name,className:"lesson-header__partner-content-author-img",style:{backgroundImage:a(t)}})})),e.createElement("div",{className:"lesson-header__author-name","aria-hidden":"true"},r))};t.b=function(t){var n=t.partnerContentAuthors;return e.createElement("div",{className:"lesson-header__partner-content"},i()(n).call(n,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:a(t)}}),e.createElement("div",null,e.createElement("span",{className:"visually-hidden"},"by ",t.name),e.createElement("span",{className:"lesson-header__author-name","aria-hidden":"true"},t.name)))}))}}).call(this,n(0))},function(e,t,n){"use strict";(function(e){n.d(t,"a",function(){return T}),n.d(t,"b",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),p=(n(2725),n(119)),h=n(2),m=n.n(h),v=n(1),g=n.n(v),y=n(68),b=n(118),_=n(36),w=n(42),E=n(323),k=n(103);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 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(p.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(_.g,null))))},O=function(t){Object(c.a)(r,t);var n=x(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,h=s.isRestricted,v=l.lessonName,g=l.quizContinue,y=this.state.hasFocus,k=m()("next-lesson","brand--linkColorHover",{"next-lesson--restricted":h,"next-lesson--map":"map"===d}),x=e.createElement(w.a,{className:"next-lesson__name--inline",value:i});if(h){var T,O,C=Object(b.a)({labels:l,restrictions:s}),j=u&&!c,A=c?g:x,N=m()("runtime-tooltip",{"runtime-tooltip--show":n&&y});return e.createElement(E.a,{className:N},e.createElement("div",{className:k},e.createElement("span",{"aria-disabled":"true","aria-label":f()(T="The ".concat(i," lesson is currently unavailable: ")).call(T,C),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()(O="".concat(v," ")).call(O,o," - "):""," ",A),e.createElement("div",{className:"brand--ui next-lesson__arrow"},e.createElement(_.g,null)))),e.createElement(E.b,{"aria-hidden":"true",side:"top"},C))}if(i||c){var P,M=u&&!c,L=c?g:x;return e.createElement("div",{className:k,"data-ba":S.nextLessonLink},e.createElement(p.b,{className:"next-lesson__link",to:"/lessons/"+encodeURIComponent(r),onClick:a},e.createElement("div",{className:"next-lesson__name brand--ui"},M?f()(P="".concat(v," ")).call(P,o," - "):""," ",L),e.createElement("div",{className:"brand--ui next-lesson__arrow"},e.createElement(_.g,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(17),a=n(8),s=n(9),c=n(10),u=n(11),l=n(13),d=n(5),f=(n(2342),n(2)),p=n.n(f),h=n(68),m=n(82);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=h.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:p()("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,"CoverAuthors",function(){return v}),n.d(r,"CoverDetails",function(){return b}),n.d(r,"CoverHeader",function(){return M}),n.d(r,"CoverLayout",function(){return L.a}),n.d(r,"LessonHeader",function(){return I.a}),n.d(r,"LessonNavNext",function(){return Y}),n.d(r,"LessonNavFinish",function(){return X}),n.d(r,"LessonNavPrevious",function(){return J}),n.d(r,"LessonProgressCircle",function(){return ae}),n.d(r,"Progress",function(){return se.a}),n.d(r,"CoverAction",function(){return ce}),n.d(r,"CoverContentNoImage",function(){return ue}),n.d(r,"CoverDetailsContentHeading",function(){return le}),n.d(r,"CoverTitle",function(){return de}),n.d(r,"LessonHeaderAuthor",function(){return fe}),n.d(r,"NavCompactHeaderCounter",function(){return pe}),n.d(r,"NavCompactHeaderProgress",function(){return he}),n.d(r,"NavCompactOutline",function(){return me}),n.d(r,"NavSidebarHeaderProgress",function(){return ve}),n.d(r,"NavSidebarOutline",function(){return ge}),n.d(r,"NavSidebarSearch",function(){return ye}),n.d(r,"OverviewListItem",function(){return be}),n.d(r,"OverviewListSectionTitle",function(){return _e});var i={};n.r(i),n.d(i,"ArrowDown",function(){return z}),n.d(i,"ArrowUp",function(){return $}),n.d(i,"AlignLeft",function(){return we.a}),n.d(i,"ChevronDown",function(){return Ee.a}),n.d(i,"ChevronelDown",function(){return Ee.a}),n.d(i,"ChevronUp",function(){return ke.a}),n.d(i,"QuestionBox",function(){return xe.a}),n.d(i,"Search",function(){return Se.a}),n.d(i,"ToggleDown",function(){return Te.a}),n.d(i,"Touch",function(){return Oe.a}),n.d(i,"VideoCamera",function(){return Ce.a}),n.d(i,"X",function(){return je.a});n(2688);var o=n(354),a=n(70),s=n(0),c=n.n(s),u=n(29),l=n.n(u),d=n(77),f=n(733),p=n(199),h=["Default"],m=Object(d.a)("cover"),v=function(e){var t,n=e.Default,r=Object(a.a)(e,h),i=(null!==(t=Object(p.b)())&&void 0!==t?t:{}).partnerContentId,o=Object(p.e)();return Boolean(i)&&!l()(o)?c.a.createElement("div",{className:m("header-content-partner-content-authors")},c.a.createElement(f.a,{learn:!0,partnerContentAuthors:o})):c.a.createElement(n,r)},g=n(17),y=["Default"],b=function(e){var t=e.Default,n=Object(a.a)(e,y);return c.a.createElement(t,Object(g.a)({},n,{showPartnerContent:!0}))},_=n(268),w=n(269),E=n(347),k=n(779),x=n(761),S=n(270),T=n(271),O=n(1276),C=function(){return c.a.createElement(c.a.Fragment,null,c.a.createElement(k.a,null,c.a.createElement(S.a,null,c.a.createElement(w.a,null),c.a.createElement(T.a,null),c.a.createElement(_.a,null))))},j=function(){return c.a.createElement(c.a.Fragment,null,c.a.createElement(E.a,null,c.a.createElement(S.a,null,c.a.createElement(w.a,null),c.a.createElement(T.a,null),c.a.createElement(_.a,null))))},A=function(){return c.a.createElement(c.a.Fragment,null,c.a.createElement(x.a,null),c.a.createElement(E.a,null,c.a.createElement(S.a,null,c.a.createElement(w.a,null),c.a.createElement(T.a,null),c.a.createElement(_.a,null))))},N=function(){return c.a.createElement(c.a.Fragment,null,c.a.createElement(E.a,null,c.a.createElement(S.a,null,c.a.createElement(w.a,null),c.a.createElement(T.a,null),c.a.createElement(_.a,null))),c.a.createElement(x.a,null))};function P(e){switch(Object(O.a)()){default:case"LEFT_OVERLAY":case"CENTERED_OVERLAY":return c.a.createElement(C,e);case"LEFT":case"CENTERED":return c.a.createElement(j,e);case"SPLIT_LEFT_IMAGE":case"TWO_THIRDS_LEFT_IMAGE":return c.a.createElement(N,e);case"SPLIT_RIGHT_IMAGE":case"TWO_THIRDS_RIGHT_IMAGE":return c.a.createElement(A,e)}}function M(e){return c.a.createElement("header",{className:"cover__header"},c.a.createElement(P,e))}var L=n(2309),I=n(2310),R=n(4),D=n.n(R),B=n(54),F=n(52),U=n(90),q=n(408),z=function(e){var t=e.className;return c.a.createElement("svg",{"aria-hidden":"true",className:t,fill:"none",focusable:"false",role:"img",viewBox:"0 0 16 15",height:"15",width:"16",xmlns:"http://www.w3.org/2000/svg"},c.a.createElement("path",{d:"M2.34315 7.34315L8 13L13.6569 7.34315",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2"}),c.a.createElement("rect",{x:"7",y:"1",width:"2",height:"12",rx:"0.999999",fill:"currentColor"}))},H=function(e){var t=e.className;return c.a.createElement("svg",{"aria-hidden":"true",className:t,fill:"none",focusable:"false",viewBox:"0 0 15 16",xmlns:"http://www.w3.org/2000/svg"},c.a.createElement("path",{d:"M2 8L7.65685 13.6569L13.3137 8",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2"}))},V=Object(d.a)("lesson-nav");function W(e,t){var n,r,i=e.allowTooltip,o=e.buttonNavigationStyle,a=e.buttonScheme,s=e.color,u=e.lessonNameLabel,l=e.nextLesson,d=e.nextLessonNumber,f=e.restrictionData,p=e.restrictionType,h=null==l?void 0:l.id,m="FLOATING"===o,v=Object(U.c)(l)&&h,g=(null==l?void 0:l.title)||"",y=a===B.b.ACCENT,b=a===B.b.TINT,_=b?Object(F.b)(s):s,w=m?z:H,E=v?D()(n="".concat(u," ")).call(n,d," - "):"",k=m?"Next ".concat(u):D()(r="".concat(E)).call(r,g),x={color:_,backgroundColor:b&&!m?s:null},S={backgroundColor:m&&(b||y)?s:null,borderColor:m&&b?s:null};return c.a.createElement(q.a,{allowTooltip:i,direction:"next",isFloating:m,linkStyles:S,navLessonId:h,ref:t,restrictionData:f,restrictionType:p,wrapStyles:x},c.a.createElement("span",{className:V("link-text").mix("brand--ui")},k),c.a.createElement(w,{className:V("link-icon")}))}var Y=Object(s.forwardRef)(W),G=Object(d.a)("lesson-nav");function K(e,t){var n=e.allowTooltip,r=e.buttonNavigationStyle,i=e.buttonScheme,o=e.color,a=e.courseFinishLabel,s=e.nextLesson,u=e.restrictionData,l=e.restrictionType,d=null==s?void 0:s.id,f="FLOATING"===r,p=i===B.b.ACCENT,h=i===B.b.TINT,m=h?Object(F.c)(o):o,v=f?z:H,g={color:m,backgroundColor:h&&!f?o:null},y={backgroundColor:f&&(h||p)?o:null};return c.a.createElement(q.a,{allowTooltip:n,direction:"next",finish:!0,isFloating:f,linkStyles:y,navLessonId:d,ref:t,restrictionData:u,restrictionType:l,wrapStyles:g},c.a.createElement("span",{className:G("link-text").mix("brand--ui")},a),c.a.createElement(v,{className:G("link-icon")}))}var X=Object(s.forwardRef)(K),$=function(e){var t=e.className;return c.a.createElement("svg",{"aria-hidden":"true",className:t,fill:"none",focusable:"false",role:"img",viewBox:"0 0 16 15",height:"15",width:"16",xmlns:"http://www.w3.org/2000/svg"},c.a.createElement("path",{d:"M13.6569 7.65685L8 2L2.34315 7.65686",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2"}),c.a.createElement("rect",{x:"9",y:"14",width:"2",height:"12",rx:"0.999999",transform:"rotate(180 9 14)",fill:"currentColor"}))},Q=function(e){var t=e.className;return c.a.createElement("svg",{"aria-hidden":"true",className:t,fill:"none",focusable:"false",viewBox:"0 0 15 16",xmlns:"http://www.w3.org/2000/svg"},c.a.createElement("path",{d:"M2 8L7.65685 2.34315L13.3137 8",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2"}))},Z=Object(d.a)("lesson-nav");function J(e){var t,n,r=e.allowTooltip,i=e.buttonNavigationStyle,o=e.buttonScheme,a=e.color,s=e.courseHomeLabel,u=e.lessonNameLabel,l=e.previousLesson,d=e.previousLessonNumber,f=null==l?void 0:l.id,p="FLOATING"===i,h=Object(U.c)(l)&&f,m=(null==l?void 0:l.title)||s,v=p?$:Q,g=o===B.b.ACCENT,y=o===B.b.TINT,b=y?Object(F.b)(a):a,_=h?D()(t=D()(n="".concat(u," ")).call(n,d," - ")).call(t,m):m,w=h&&p?"Previous ".concat(u):_,E={color:b,backgroundColor:y&&!p?a:null},k={backgroundColor:p&&(y||g)?a:null,borderColor:p&&y?a:null};return c.a.createElement(q.a,{allowTooltip:r,direction:"previous",isFloating:p,linkStyles:k,navLessonId:f,wrapStyles:E},c.a.createElement(v,{className:Z("link-icon")}),c.a.createElement("span",{className:Z("link-text").mix("brand--ui")},w))}var ee=n(35),te=n(2256),ne=n(1277),re=B.k.COMPACT,ie=B.k.SIDEBAR,oe=Object(d.a)("progress-circle"),ae=function(e){var t=e["aria-hidden"],n=e["aria-label"],r=e.color,i=e.isCurrent,o=e.isDark,a=e.isFailed,u=e.isPassed,l=e.scope,d=e.value,f=Object(s.useState)(100===d),p=Object(ee.a)(f,2),h=p[0],m=p[1],v=Object(te.a)(d),g=oe({compact:l===re,current:i,dark:o,light:!o,sidebar:l===ie}),y=oe("track",{dark:o,light:!o}),b=oe("runner",{dark:o,done:h,failed:a,light:!o,passed:u,unstarted:0===d}),_=oe("pass",{dark:o,done:h,light:!o,visible:u}),w=oe("fail",{dark:o,done:h,light:!o,visible:a});return Object(s.useEffect)(function(){if(100!==d&&100===v)m(!1);else if(100===d&&!h){var e=setTimeout(function(){return m(!0)},300);return clearTimeout.bind(null,e)}},[h,v,d]),c.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"},c.a.createElement("circle",{className:y,cx:"8",cy:"8",fill:"transparent",r:"7",strokeWidth:"2",transform:"rotate(-89.9 8 8)"}),c.a.createElement(ne.a,{className:b,cx:"8",cy:"8",diameter:"16",r:"7",strokeWidth:"2",transform:"rotate(-89.9 8 8)",value:d}),c.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"}),c.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"}))},se=n(2312),ce=o.c,ue=o.a,le=o.c,de=o.b,fe=o.c,pe=o.c,he=o.c,me=o.c,ve=o.c,ge=o.c,ye=o.c,be=o.c,_e=o.c,we=n(2313),Ee=n(1262),ke=n(2314),xe=n(2315),Se=n(2316),Te=n(2317),Oe=n(2318),Ce=n(2319),je=n(2320)},function(e,t,n){"use strict";var r=n(0),i="object"==typeof window,o=(n(2690),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";
/** @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(792),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,p=i?Symbol.for("react.suspense"):60113,h=i?Symbol.for("react.memo"):60115,m=i?Symbol.for("react.lazy"):60116,v="function"==typeof Symbol&&Symbol.iterator;function g(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,n=1;n<arguments.length;n++)t+="&args[]="+encodeURIComponent(arguments[n]);return"Minified React error #"+e+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var y={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},b={};function _(e,t,n){this.props=e,this.context=t,this.refs=b,this.updater=n||y}function w(){}function E(e,t,n){this.props=e,this.context=t,this.refs=b,this.updater=n||y}_.prototype.isReactComponent={},_.prototype.setState=function(e,t){if("object"!=typeof e&&"function"!=typeof e&&null!=e)throw Error(g(85));this.updater.enqueueSetState(this,e,t,"setState")},_.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")},w.prototype=_.prototype;var k=E.prototype=new w;k.constructor=E,r(k,_.prototype),k.isPureReactComponent=!0;var x={current:null},S=Object.prototype.hasOwnProperty,T={key:!0,ref:!0,__self:!0,__source:!0};function O(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:x.current}}function C(e){return"object"==typeof e&&null!==e&&e.$$typeof===o}var j=/\/+/g,A=[];function N(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 P(e){e.result=null,e.keyPrefix=null,e.func=null,e.context=null,e.count=0,10>A.length&&A.push(e)}function M(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 R(e,t,n){var r=e.result,i=e.keyPrefix;e=e.func.call(e.context,t,e.count++),Array.isArray(e)?D(e,r,n,function(e){return e}):null!=e&&(C(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 D(e,t,n,r,i){var o="";null!=n&&(o=(""+n).replace(j,"$&/")+"/"),M(e,R,t=N(t,o,r,i)),P(t)}var B={current:null};function F(){var e=B.current;if(null===e)throw Error(g(321));return e}var U={ReactCurrentDispatcher:B,ReactCurrentBatchConfig:{suspense:null},ReactCurrentOwner:x,IsSomeRendererActing:{current:!1},assign:r};t.Children={map:function(e,t,n){if(null==e)return e;var r=[];return D(e,r,null,t,n),r},forEach:function(e,t,n){if(null==e)return e;M(e,I,t=N(null,null,t,n)),P(t)},count:function(e){return M(e,function(){return null},null)},toArray:function(e){var t=[];return D(e,t,null,function(e){return e}),t},only:function(e){if(!C(e))throw Error(g(143));return e}},t.Component=_,t.Fragment=s,t.Profiler=u,t.PureComponent=E,t.StrictMode=c,t.Suspense=p,t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=U,t.cloneElement=function(e,t,n){if(null==e)throw Error(g(267,e));var i=r({},e.props),a=e.key,s=e.ref,c=e._owner;if(null!=t){if(void 0!==t.ref&&(s=t.ref,c=x.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=O,t.createFactory=function(e){var t=O.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=C,t.lazy=function(e){return{$$typeof:m,_ctor:e,_status:-1,_result:null}},t.memo=function(e,t){return{$$typeof:h,type:e,compare:void 0===t?null:t}},t.useCallback=function(e,t){return F().useCallback(e,t)},t.useContext=function(e,t){return F().useContext(e,t)},t.useDebugValue=function(){},t.useEffect=function(e,t){return F().useEffect(e,t)},t.useImperativeHandle=function(e,t,n){return F().useImperativeHandle(e,t,n)},t.useLayoutEffect=function(e,t){return F().useLayoutEffect(e,t)},t.useMemo=function(e,t){return F().useMemo(e,t)},t.useReducer=function(e,t,n){return F().useReducer(e,t,n)},t.useRef=function(e){return F().useRef(e)},t.useState=function(e){return F().useState(e)},t.version="16.13.1"},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(792),o=n(1317);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 p=null,h=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,p,h){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,E=b?Symbol.for("react.fragment"):60107,k=b?Symbol.for("react.strict_mode"):60108,x=b?Symbol.for("react.profiler"):60114,S=b?Symbol.for("react.provider"):60109,T=b?Symbol.for("react.context"):60110,O=b?Symbol.for("react.concurrent_mode"):60111,C=b?Symbol.for("react.forward_ref"):60112,j=b?Symbol.for("react.suspense"):60113,A=b?Symbol.for("react.suspense_list"):60120,N=b?Symbol.for("react.memo"):60115,P=b?Symbol.for("react.lazy"):60116,M=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 R(e){if(null==e)return null;if("function"==typeof e)return e.displayName||e.name||null;if("string"==typeof e)return e;switch(e){case E:return"Fragment";case w:return"Portal";case x: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 C:var t=e.render;return t=t.displayName||t.name||"",e.displayName||(""!==t?"ForwardRef("+t+")":"ForwardRef");case N:return R(e.type);case M:return R(e.render);case P:if(e=1===e._status?e._result:null)return R(e)}return null}function D(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=R(e.type);n=null,r&&(n=R(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,X=null,$=null;function Q(e){if(e=h(e)){if("function"!=typeof K)throw Error(a(280));var t=e.stateNode;t&&(t=p(t),K(e.stateNode,e.type,t))}}function Z(e){X?$?$.push(e):$=[e]:X=e}function J(){if(X){var e=X,t=$;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===X&&null===$||(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 pe={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){pe[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];pe[t]=new fe(t,1,!1,e[1],null,!1)}),["contentEditable","draggable","spellCheck","value"].forEach(function(e){pe[e]=new fe(e,2,!1,e.toLowerCase(),null,!1)}),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){pe[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){pe[e]=new fe(e,3,!1,e.toLowerCase(),null,!1)}),["checked","multiple","muted","selected"].forEach(function(e){pe[e]=new fe(e,3,!0,e,null,!1)}),["capture","download"].forEach(function(e){pe[e]=new fe(e,4,!1,e,null,!1)}),["cols","rows","size","span"].forEach(function(e){pe[e]=new fe(e,6,!1,e,null,!1)}),["rowSpan","start"].forEach(function(e){pe[e]=new fe(e,5,!1,e.toLowerCase(),null,!1)});var he=/[\-:]([a-z])/g;function me(e){return e[1].toUpperCase()}function ve(e,t,n,r){var i=pe.hasOwnProperty(t)?pe[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 Ee(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 xe(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 Oe(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 Ce(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 Ne(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 Pe(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(he,me);pe[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(he,me);pe[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(he,me);pe[t]=new fe(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1)}),["tabIndex","crossOrigin"].forEach(function(e){pe[e]=new fe(e,1,!1,e.toLowerCase(),null,!1)}),pe.xlinkHref=new fe("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0),["src","href","action","formAction"].forEach(function(e){pe[e]=new fe(e,1,!1,e.toLowerCase(),null,!0)});var Me="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 Re(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 De,Be,Fe=(Be=function(e,t){if(e.namespaceURI!==Le||"innerHTML"in e)e.innerHTML=t;else{for((De=De||document.createElement("div")).innerHTML="<svg>"+t.valueOf().toString()+"</svg>",t=De.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"),Xe=We("transitionend"),$e="abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange seeked seeking stalled suspend timeupdate volumechange waiting".split(" "),Qe=new("function"==typeof WeakMap?WeakMap:Map);function 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 pt(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 ht(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===$e.indexOf(e)&&Gt(e,t)}n.set(e,null)}}var mt,vt,gt,yt=!1,bt=[],_t=null,wt=null,Et=null,kt=new Map,xt=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(" "),Ot="focus blur dragenter dragleave mouseover mouseout pointerover pointerout gotpointercapture lostpointercapture".split(" ");function Ct(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":Et=null;break;case"pointerover":case"pointerout":kt.delete(t.pointerId);break;case"gotpointercapture":case"lostpointercapture":xt.delete(t.pointerId)}}function At(e,t,n,r,i,o){return null===e||e.nativeEvent!==o?(e=Ct(t,n,r,i,o),null!==t&&(null!==(t=An(t))&&vt(t)),e):(e.eventSystemFlags|=r,e)}function Nt(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 Pt(e){if(null!==e.blockedOn)return!1;var t=$t(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 Mt(e,t,n){Pt(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=$t(e.topLevelType,e.eventSystemFlags,e.container,e.nativeEvent);null!==t?e.blockedOn=t:bt.shift()}null!==_t&&Pt(_t)&&(_t=null),null!==wt&&Pt(wt)&&(wt=null),null!==Et&&Pt(Et)&&(Et=null),kt.forEach(Mt),xt.forEach(Mt)}function It(e,t){e.blockedOn===t&&(e.blockedOn=null,yt||(yt=!0,o.unstable_scheduleCallback(o.unstable_NormalPriority,Lt)))}function Rt(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!==Et&&It(Et,e),kt.forEach(t),xt.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;)Nt(n),null===n.blockedOn&&St.shift()}var Dt={},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",Xe,"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),Dt[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=Xt,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,Xt.bind(null,e,t,n,r))}.bind(null,t,1,e);break;default:r=Xt.bind(null,t,1,e)}n?e.addEventListener(t,r,!0):e.addEventListener(t,r,!1)}function Xt(e,t,n,r){if(Yt)if(0<bt.length&&-1<Tt.indexOf(e))e=Ct(null,e,t,n,r),bt.push(e);else{var i=$t(e,t,n,r);if(null===i)jt(e,r);else if(-1<Tt.indexOf(e))e=Ct(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 Et=At(Et,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,xt.set(o,At(xt.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(pt,e)}finally{dt(e)}}}}function $t(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(pt,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=Me;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++)ht(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 pn="$",hn="/$",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,En="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 xn(e){e=e.previousSibling;for(var t=0;e;){if(8===e.nodeType){var n=e.data;if(n===pn||n===vn||n===mn){if(0===t)return e;t--}else n===hn&&t++}e=e.previousSibling}return null}var Sn=Math.random().toString(36).slice(2),Tn="__reactInternalInstance$"+Sn,On="__reactEventHandlers$"+Sn,Cn="__reactContainere$"+Sn;function jn(e){var t=e[Tn];if(t)return t;for(var n=e.parentNode;n;){if(t=n[Cn]||n[Tn]){if(n=t.alternate,null!==t.child||null!==n&&null!==n.child)for(e=xn(e);null!==e;){if(n=e[Tn])return n;e=xn(e)}return t}n=(e=n).parentNode}return null}function An(e){return!(e=e[Tn]||e[Cn])||5!==e.tag&&6!==e.tag&&13!==e.tag&&3!==e.tag?null:e}function Nn(e){if(5===e.tag||6===e.tag)return e.stateNode;throw Error(a(33))}function Pn(e){return e[On]||null}function Mn(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=p(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 Rn(e){if(e&&e.dispatchConfig.phasedRegistrationNames){for(var t=e._targetInst,n=[];t;)n.push(t),t=Mn(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 Dn(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&&Dn(e._targetInst,null,e)}function Fn(e){it(e,Rn)}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 Xn(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,Xn(n),n},Xn(Yn);var $n=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=$n.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 pr(e,t,n){return(e=Yn.getPooled(fr.change,e,t,n)).type="change",Z(n),Fn(e),e}var hr=null,mr=null;function vr(e){st(e)}function gr(e){if(_e(Nn(e)))return e}function yr(e,t){if("change"===e)return t}var br=!1;function _r(){hr&&(hr.detachEvent("onpropertychange",wr),mr=hr=null)}function wr(e){if("value"===e.propertyName&&gr(mr))if(e=pr(mr,e,ct(e)),ie)st(e);else{ie=!0;try{ee(vr,e)}finally{ie=!1,ae()}}}function Er(e,t,n){"focus"===e?(_r(),mr=n,(hr=t).attachEvent("onpropertychange",wr)):"blur"===e&&_r()}function kr(e){if("selectionchange"===e||"keyup"===e||"keydown"===e)return gr(mr)}function xr(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?Nn(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=Er}else(o=i.nodeName)&&"input"===o.toLowerCase()&&("checkbox"===i.type||"radio"===i.type)&&(a=xr);if(a&&(a=a(e,t)))return pr(a,n,r);s&&s(e,i,t),"blur"===e&&(e=i._wrapperState)&&e.controlled&&"number"===i.type&&Te(i,"number",i.value)}},Or=Yn.extend({view:null,detail:null}),Cr={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function jr(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):!!(e=Cr[e])&&!!t[e]}function Ar(){return jr}var Nr=0,Pr=0,Mr=!1,Lr=!1,Ir=Or.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=Nr;return Nr=e.screenX,Mr?"mousemove"===e.type?e.screenX-t:0:(Mr=!0,0)},movementY:function(e){if("movementY"in e)return e.movementY;var t=Pr;return Pr=e.screenY,Lr?"mousemove"===e.type?e.screenY-t:0:(Lr=!0,0)}}),Rr=Ir.extend({pointerId:null,width:null,height:null,pressure:null,tangentialPressure:null,tiltX:null,tiltY:null,twist:null,pointerType:null,isPrimary:null}),Dr={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:Dr,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=Dr.mouseLeave,u=Dr.mouseEnter,l="mouse";else"pointerout"!==e&&"pointerover"!==e||(s=Rr,c=Dr.pointerLeave,u=Dr.pointerEnter,l="pointer");if(e=null==a?o:Nn(a),o=null==t?o:Nn(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=Mn(e))a++;for(e=0,t=u;t;t=Mn(t))e++;for(;0<a-e;)s=Mn(s),a--;for(;0<e-a;)u=Mn(u),e--;for(;a--;){if(s===u||s===u.alternate)break e;s=Mn(s),u=Mn(u)}s=null}else s=null;for(u=s,s=[];r&&r!==u&&(null===(a=r.alternate)||a!==u);)s.push(r),r=Mn(r);for(r=[];l&&l!==u&&(null===(a=l.alternate)||a!==u);)r.push(l),l=Mn(l);for(l=0;l<s.length;l++)Dn(s[l],"bubbled",c);for(l=r.length;0<l--;)Dn(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 Xr={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?Nn(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}},$r=Yn.extend({animationName:null,elapsedTime:null,pseudoElement:null}),Qr=Yn.extend({clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),Zr=Or.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=Or.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=Or.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:Dt,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=$r;break;case Xe:e=oi;break;case"scroll":e=Or;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=Rr;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(),p=Pn,h=An,m=Nn,Y({SimpleEventPlugin:si,EnterLeaveEventPlugin:Br,ChangeEventPlugin:Tr,SelectEventPlugin:Xr,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={},pi={current:fi},hi={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(hi),li(pi)}function bi(e,t,n){if(pi.current!==fi)throw Error(a(168));di(pi,t),di(hi,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,R(t)||"Unknown",o));return i({},n,{},r)}function wi(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||fi,mi=pi.current,di(pi,e),di(hi,hi.current),!0}function Ei(e,t,n){var r=e.stateNode;if(!r)throw Error(a(169));n?(e=_i(e,t,mi),r.__reactInternalMemoizedMergedChildContext=e,li(hi),li(pi),di(pi,e)):li(hi),di(hi,n)}var ki=o.unstable_runWithPriority,xi=o.unstable_scheduleCallback,Si=o.unstable_cancelCallback,Ti=o.unstable_requestPaint,Oi=o.unstable_now,Ci=o.unstable_getCurrentPriorityLevel,ji=o.unstable_ImmediatePriority,Ai=o.unstable_UserBlockingPriority,Ni=o.unstable_NormalPriority,Pi=o.unstable_LowPriority,Mi=o.unstable_IdlePriority,Li={},Ii=o.unstable_shouldYield,Ri=void 0!==Ti?Ti:function(){},Di=null,Bi=null,Fi=!1,Ui=Oi(),qi=1e4>Ui?Oi:function(){return Oi()-Ui};function zi(){switch(Ci()){case ji:return 99;case Ai:return 98;case Ni:return 97;case Pi:return 96;case Mi:return 95;default:throw Error(a(332))}}function Hi(e){switch(e){case 99:return ji;case 98:return Ai;case 97:return Ni;case 96:return Pi;case 95:return Mi;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),xi(e,t,n)}function Yi(e){return null===Di?(Di=[e],Bi=xi(ji,Ki)):Di.push(e),Li}function Gi(){if(null!==Bi){var e=Bi;Bi=null,Si(e)}Ki()}function Ki(){if(!Fi&&null!==Di){Fi=!0;var e=0;try{var t=Di;Vi(99,function(){for(;e<t.length;e++){var n=t[e];do{n=n(!0)}while(null!==n)}}),Di=null}catch(t){throw null!==Di&&(Di=Di.slice(e+1)),xi(ji,Gi),t}finally{Fi=!1}}}function Xi(e,t,n){return 1073741821-(1+((1073741821-e+t/10)/(n/=10)|0))*n}function $i(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&&(Pa=!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 po(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,p=null;if(null!==c)for(var h=c;;){if((s=h.expirationTime)<r){var m={expirationTime:h.expirationTime,suspenseConfig:h.suspenseConfig,tag:h.tag,payload:h.payload,callback:h.callback,next:null};null===p?(f=p=m,d=u):p=p.next=m,s>l&&(l=s)}else{null!==p&&(p=p.next={expirationTime:1073741823,suspenseConfig:h.suspenseConfig,tag:h.tag,payload:h.payload,callback:h.callback,next:null}),mc(s,h.suspenseConfig);e:{var v=e,g=h;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!==h.callback&&(e.effectTag|=32,null===(s=o.effects)?o.effects=[h]:s.push(h))}if(null===(h=h.next)||h===c){if(null===(s=o.shared.pending))break;h=a.next=s.next,s.next=c,o.baseQueue=a=s,o.shared.pending=null}}null===p?d=u:p.next=f,o.baseState=d,o.baseQueue=p,vc(l),e.expirationTime=l,e.memoizedState=u}}function ho(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:pi.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 Eo(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:pi.current,i.context=vi(e,o)),po(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),po(e,n,i,r),i.state=e.memoizedState),"function"==typeof i.componentDidMount&&(e.effectTag|=4)}var ko=Array.isArray;function xo(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=Dc(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=xo(e,t,n),r.return=e,r):((r=Ic(n.type,n.key,n.props,null,e.mode,r)).ref=xo(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=Rc(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=Dc(""+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=xo(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=Rc(t,e.mode,n,null)).return=e,t;So(e,t)}return null}function p(e,t,n,r){var i=null!==t?t.key:null;if("string"==typeof n||"number"==typeof n)return null!==i?null:c(e,t,""+n,r);if("object"==typeof n&&null!==n){switch(n.$$typeof){case _:return n.key===i?n.type===E?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 h(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===E?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=p(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=h(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=p(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=h(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===E&&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===E){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=xo(e,u,o),r.return=e,e=r;break e}}n(e,u);break}t(e,u),u=u.sibling}o.type===E?((r=Rc(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=xo(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=Dc(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 Oo=To(!0),Co=To(!1),jo={},Ao={current:jo},No={current:jo},Po={current:jo};function Mo(e){if(e===jo)throw Error(a(174));return e}function Lo(e,t){switch(di(Po,t),di(No,e),di(Ao,jo),e=t.nodeType){case 9:case 11:t=(t=t.documentElement)?t.namespaceURI:Re(null,"");break;default:t=Re(t=(e=8===e?t.parentNode:t).namespaceURI||null,e=e.tagName)}li(Ao),di(Ao,t)}function Io(){li(Ao),li(No),li(Po)}function Ro(e){Mo(Po.current);var t=Mo(Ao.current),n=Re(t,e.type);t!==n&&(di(No,e),di(Ao,n))}function Do(e){No.current===e&&(li(Ao),li(No))}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 Xo(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 $o(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)||(Pa=!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)||(Pa=!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&&Xo(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 pa(e,t){return Qo().memoizedState=[e,void 0===t?null:t],e}function ha(e,t){var n=Zo();t=void 0===t?null:t;var r=n.memoizedState;return null!==r&&null!==t&&Xo(t,r[1])?r[0]:(n.memoizedState=[e,t],e)}function ma(e,t){var n=Zo();t=void 0===t?null:t;var r=n.memoizedState;return null!==r&&null!==t&&Xo(t,r[1])?r[0]:(e=e(),n.memoizedState=[e,t],e)}function 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:pa,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],[pa(va.bind(null,t,e),[t,e]),n]}},_a={readContext:oo,useCallback:ha,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],[ha(va.bind(null,t,e),[t,e]),n]}},wa={readContext:oo,useCallback:ha,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],[ha(va.bind(null,t,e),[t,e]),n]}},Ea=null,ka=null,xa=!1;function Sa(e,t){var n=Pc(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 Oa(e){if(xa){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,xa=!1,void(Ea=e);Sa(Ea,n)}Ea=e,ka=kn(t.firstChild)}else e.effectTag=-1025&e.effectTag|2,xa=!1,Ea=e}}function Ca(e){for(e=e.return;null!==e&&5!==e.tag&&3!==e.tag&&13!==e.tag;)e=e.return;Ea=e}function ja(e){if(e!==Ea)return!1;if(!xa)return Ca(e),xa=!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(Ca(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===hn){if(0===t){ka=kn(e.nextSibling);break e}t--}else n!==pn&&n!==vn&&n!==mn||t++}e=e.nextSibling}ka=null}}else ka=Ea?kn(e.stateNode.nextSibling):null;return!0}function Aa(){ka=Ea=null,xa=!1}var Na=g.ReactCurrentOwner,Pa=!1;function Ma(e,t,n,r){t.child=null===e?Co(t,null,n,r):Oo(t,e.child,n,r)}function La(e,t,n,r,i){n=n.render;var o=t.ref;return io(t,i),r=$o(e,t,n,r,o,i),null===e||Pa?(t.effectTag|=1,Ma(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||Mc(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,Ra(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 Ra(e,t,n,r,i,o){return null!==e&&qr(e.memoizedProps,r)&&e.ref===t.ref&&(Pa=!1,i<o)?(t.expirationTime=e.expirationTime,Qa(e,t,o)):Ba(e,t,n,r,o)}function Da(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:pi.current;return o=vi(t,o),io(t,i),n=$o(e,t,n,r,o,i),null===e||Pa?(t.effectTag|=1,Ma(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),Eo(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:pi.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,po(t,r,a,i),c=t.memoizedState,s!==r||f!==c||hi.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:$i(t.type,s),c=a.context,"object"==typeof(u=n.contextType)&&null!==u?u=oo(u):u=vi(t,u=gi(n)?mi:pi.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,po(t,r,a,i),f=t.memoizedState,s!==r||c!==f||hi.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){Da(e,t);var a=0!=(64&t.effectTag);if(!r&&!a)return i&&Ei(t,n,!1),Qa(e,t,o);r=t.stateNode,Na.current=t;var s=a&&"function"!=typeof n.getDerivedStateFromError?null:r.render();return t.effectTag|=1,null!==e&&a?(t.child=Oo(t,e.child,null,o),t.child=Oo(t,null,s,o)):Ma(e,t,s,o),t.memoizedState=r.state,i&&Ei(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&&Oa(t),s){if(s=o.fallback,(o=Rc(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=Rc(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=Co(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=Oo(t,e.child,o.children,n),t.memoizedState=null,t.child=n}if(e=e.child,s){if(s=o.fallback,(o=Rc(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=Rc(s,i,n,null)).return=t,o.sibling=n,n.effectTag|=2,o.childExpirationTime=0,t.memoizedState=Ya,t.child=o,n}return t.memoizedState=null,t.child=Oo(t,e,o.children,n)}function Ka(e,t){e.expirationTime<t&&(e.expirationTime=t);var n=e.alternate;null!==n&&n.expirationTime<t&&(n.expirationTime=t),ro(e.return,t)}function Xa(e,t,n,r,i,o){var a=e.memoizedState;null===a?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:r,tail:n,tailExpiration:0,tailMode:i,lastEffect:o}:(a.isBackwards=t,a.rendering=null,a.renderingStartTime=0,a.last=r,a.tail=n,a.tailExpiration=0,a.tailMode=i,a.lastEffect=o)}function $a(e,t,n){var r=t.pendingProps,i=r.revealOrder,o=r.tail;if(Ma(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),Xa(t,!1,i,n,o,t.lastEffect);break;case"backwards":for(n=null,i=t.child,t.child=null;null!==i;){if(null!==(e=i.alternate)&&null===Fo(e)){t.child=i;break}e=i.sibling,i.sibling=n,n=i,i=e}Xa(t,!0,n,null,o,t.lastEffect);break;case"together":Xa(t,!1,null,null,void 0,t.lastEffect);break;default:t.memoizedState=null}return t.child}function Qa(e,t,n){null!==e&&(t.dependencies=e.dependencies);var r=t.expirationTime;if(0!==r&&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(hi),li(pi),(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:Do(t),n=Mo(Po.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=Mo(Ao.current),ja(t)){r=t.stateNode,o=t.type;var s=t.memoizedProps;switch(r[Tn]=t,r[On]=s,o){case"iframe":case"object":case"embed":Gt("load",r);break;case"video":case"audio":for(e=0;e<$e.length;e++)Gt($e[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":Ee(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),Pe(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[On]=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<$e.length;u++)Gt($e[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":Ee(e,r),u=we(e,r),Gt("invalid",e),an(n,"onChange");break;case"option":u=Oe(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),Pe(e);break;case"option":null!=r.value&&e.setAttribute("value",""+ge(r.value));break;case"select":e.multiple=!!r.multiple,null!=(n=r.value)?Ce(e,!!r.multiple,n,!1):null!=r.defaultValue&&Ce(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=Mo(Po.current),Mo(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)?Ds===Os&&(Ds=As):(Ds!==Os&&Ds!==As||(Ds=Ns),0!==zs&&null!==Ls&&(qc(Ls,Rs),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(Ds!==Os||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(hi),li(pi),0!=(64&(t=e.effectTag)))throw Error(a(285));return e.effectTag=-4097&t|64,e;case 5:return Do(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:D(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(Mo(Ao.current),e=null,n){case"input":a=we(u,a),r=we(u,r),e=[];break;case"option":a=Oe(u,a),r=Oe(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=D(n)),null!==n&&R(n.type),t=t.value,null!==e&&1===e.tag&&R(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){Oc(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:$i(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:$i(n.type,t.memoizedProps);e.componentDidUpdate(r,t.memoizedState,e.__reactInternalSnapshotBeforeUpdate)}return void(null!==(t=n.updateQueue)&&ho(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}ho(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&&Rt(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){Oc(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){Oc(e,t)}}(t,n);break;case 5:is(t);break;case 4:ps(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 ps(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 hs(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[On]=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":xe(n,r);break;case"textarea":Ne(n,r);break;case"select":t=n._wrapperState.wasMultiple,n._wrapperState.wasMultiple=!!r.multiple,null!=(e=r.value)?Ce(n,!!r.multiple,e,!1):t!==!!r.multiple&&(null!=r.defaultValue?Ce(n,!!r.multiple,r.defaultValue,!0):Ce(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,Rt(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===Xs?Xs=new Set([this]):Xs.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,Es=g.ReactCurrentOwner,ks=0,xs=8,Ss=16,Ts=32,Os=0,Cs=1,js=2,As=3,Ns=4,Ps=5,Ms=ks,Ls=null,Is=null,Rs=0,Ds=Os,Bs=null,Fs=1073741823,Us=1073741823,qs=null,zs=0,Hs=!1,Vs=0,Ws=500,Ys=null,Gs=!1,Ks=null,Xs=null,$s=!1,Qs=null,Zs=90,Js=null,ec=0,tc=null,nc=0;function rc(){return(Ms&(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((Ms&Ss)!==ks)return Rs;if(null!==n)e=Xi(e,0|n.timeoutMs||5e3,250);else switch(r){case 99:e=1073741823;break;case 98:e=Xi(e,150,100);break;case 97:case 96:e=Xi(e,5e3,250);break;case 95:e=2;break;default:throw Error(a(326))}return null!==Ls&&e===Rs&&--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?(Ms&xs)!==ks&&(Ms&(Ss|Ts))===ks?uc(e):(cc(e),Ms===ks&&Gi()):cc(e),(4&Ms)===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),Ds===Ns&&qc(i,Rs)),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,(Ms&(Ss|Ts))!==ks)throw Error(a(327));if(xc(),t===Ls&&r===Rs||fc(t,r),null!==Is){var i=Ms;Ms|=Ss;for(var o=hc();;)try{yc();break}catch(e){pc(t,e)}if(to(),Ms=i,ws.current=o,Ds===Cs)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=Ds,Ls=null,i){case Os:case Cs: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(Ec.bind(null,t),o);break}Ec(t);break;case Ns: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(Ec.bind(null,t),i);break}Ec(t);break;case Ps: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(Ec.bind(null,t),i);break}}Ec(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,(Ms&(Ss|Ts))!==ks)throw Error(a(327));if(xc(),e===Ls&&t===Rs||fc(e,t),null!==Is){var n=Ms;Ms|=Ss;for(var r=hc();;)try{gc();break}catch(t){pc(e,t)}if(to(),Ms=n,ws.current=r,Ds===Cs)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,Ec(e),cc(e)}return null}function lc(e,t){var n=Ms;Ms|=1;try{return e(t)}finally{(Ms=n)===ks&&Gi()}}function dc(e,t){var n=Ms;Ms&=-2,Ms|=xs;try{return e(t)}finally{(Ms=n)===ks&&Gi()}}function fc(e,t){e.finishedWork=null,e.finishedExpirationTime=0;var n=e.timeoutHandle;if(-1!==n&&(e.timeoutHandle=-1,En(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(hi),li(pi);break;case 5:Do(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),Rs=t,Ds=Os,Bs=null,Us=Fs=1073741823,qs=null,zs=0,Hs=!1}function pc(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 Ds=Cs,Bs=t,Is=null;e:{var i=e,o=Is.return,a=Is,s=t;if(t=Rs,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 p=d.memoizedState;if(null!==p)f=null!==p.dehydrated;else{var h=d.memoizedProps;f=void 0!==h.fallback&&(!0!==h.unstable_avoidThisFallback||!l)}}if(f){var m=d.updateQueue;if(null===m){var v=new Set;v.add(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=Cc.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((R(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."+D(a))}Ds!==Ps&&(Ds=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===Xs||!Xs.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 hc(){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,Rs);return e.memoizedProps=e.pendingProps,null===t&&(t=_c(e)),Es.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,Rs),1===Rs||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 Ds===Os&&(Ds=Ps),null}function wc(e){var t=e.expirationTime;return t>(e=e.childExpirationTime)?t:e}function Ec(e){var t=zi();return Vi(99,function(e,t){do{xc()}while(null!==Qs);if((Ms&(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,Rs=0),1<n.effectTag?null!==n.lastEffect?(n.lastEffect.nextEffect=n,i=n.firstEffect):i=n:i=n.firstEffect,null!==i){var o=Ms;Ms|=Ts,Es.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,p=-1,h=-1,m=0,v=0,g=s,y=null;t:for(;;){for(var b;g!==c||0!==l&&3!==g.nodeType||(p=f+l),g!==d||0!==u&&3!==g.nodeType||(h=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&&(p=f),y===d&&++v===u&&(h=f),null!==(b=g.nextSibling))break;y=(g=y).parentNode}g=b}c=-1===p||-1===h?null:{start:p,end:h}}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));Oc(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 E=w.ref;null!==E&&("function"==typeof E?E(null):E.current=null)}}switch(1038&_){case 2:fs(Ys),Ys.effectTag&=-3;break;case 6:fs(Ys),Ys.effectTag&=-3,hs(Ys.alternate,Ys);break;case 1024:Ys.effectTag&=-1025;break;case 1028:Ys.effectTag&=-1025,hs(Ys.alternate,Ys);break;case 4:hs(Ys.alternate,Ys);break;case 8:ps(s,l=Ys,c),ls(l)}Ys=Ys.nextEffect}}catch(e){if(null===Ys)throw Error(a(330));Oc(Ys,e),Ys=Ys.nextEffect}}while(null!==Ys);if(E=yn,w=dn(),_=E.focusedElem,c=E.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===(E=c.end)&&(E=w),"selectionStart"in _?(_.selectionStart=w,_.selectionEnd=Math.min(E,_.value.length)):(E=(w=_.ownerDocument||document)&&w.defaultView||window).getSelection&&(E=E.getSelection(),l=_.textContent.length,s=Math.min(c.start,l),c=void 0===c.end?s:Math.min(c.end,l),!E.extend&&s>c&&(l=c,c=s,s=l),l=ln(_,s),d=ln(_,c),l&&d&&(1!==E.rangeCount||E.anchorNode!==l.node||E.anchorOffset!==l.offset||E.focusNode!==d.node||E.focusOffset!==d.offset)&&((w=w.createRange()).setStart(l.node,l.offset),E.removeAllRanges(),s>c?(E.addRange(w),E.extend(d.node,d.offset)):(w.setEnd(d.node,d.offset),E.addRange(w))))),w=[];for(E=_;E=E.parentNode;)1===E.nodeType&&w.push({element:E,left:E.scrollLeft,top:E.scrollTop});for("function"==typeof _.focus&&_.focus(),_=0;_<w.length;_++)(E=w[_]).element.scrollLeft=E.left,E.element.scrollTop=E.top}Yt=!!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 x=Ys.ref;if(null!==x){var S=Ys.stateNode;switch(Ys.tag){case 5:w=S;break;default:w=S}"function"==typeof x?x(w):x.current=w}}Ys=Ys.nextEffect}}catch(e){if(null===Ys)throw Error(a(330));Oc(Ys,e),Ys=Ys.nextEffect}}while(null!==Ys);Ys=null,Ri(),Ms=o}else e.current=n;if($s)$s=!1,Qs=e,Zs=t;else for(Ys=i;null!==Ys;)t=Ys.nextEffect,Ys.nextEffect=null,Ys=t;if(0===(t=e.firstPendingTime)&&(Xs=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(Ms&xs)!==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)||$s||($s=!0,Wi(97,function(){return xc(),null})),Ys=Ys.nextEffect}}function xc(){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,(Ms&(Ss|Ts))!==ks)throw Error(a(331));var t=Ms;for(Ms|=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));Oc(e,t)}n=e.nextEffect,e.nextEffect=null,e=n}return Ms=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 Oc(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===Xs||!Xs.has(r))){lo(n,e=ys(n,e=ts(t,e),1073741823)),null!==(n=ac(n,1073741823))&&cc(n);break}}n=n.return}}function Cc(e,t,n){var r=e.pingCache;null!==r&&r.delete(t),Ls===e&&Rs===n?Ds===Ns||Ds===As&&1073741823===Fs&&qi()-Vs<Ws?fc(e,Rs):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||hi.current)Pa=!0;else{if(r<n){switch(Pa=!1,t.tag){case 3:qa(t),Aa();break;case 5:if(Ro(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 $a(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)}Pa=!1}}else Pa=!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,pi.current),io(t,n),i=$o(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,Eo(t,r,e,n),t=Ua(null,t,r,!0,o,n)}else t.tag=0,Ma(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 Mc(e)?1:0;if(null!=e){if((e=e.$$typeof)===C)return 11;if(e===N)return 14}return 2}(i),e=$i(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,$i(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:$i(r,i),n);case 1:return r=t.type,i=t.pendingProps,Fa(e,t,r,i=t.elementType===r?i:$i(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),po(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),Ea=t,i=xa=!0),i)for(n=Co(t,null,r,n),t.child=n;n;)n.effectTag=-3&n.effectTag|1024,n=n.sibling;else Ma(e,t,r,n),Aa();t=t.child}return t;case 5:return Ro(t),null===e&&Oa(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),Da(e,t),4&t.mode&&1!==n&&i.hidden?(t.expirationTime=t.childExpirationTime=1,t=null):(Ma(e,t,s,n),t=t.child),t;case 6:return null===e&&Oa(t),null;case 13:return Ga(e,t,n);case 4:return Lo(t,t.stateNode.containerInfo),r=t.pendingProps,null===e?t.child=Oo(t,null,r,n):Ma(e,t,r,n),t.child;case 11:return r=t.type,i=t.pendingProps,La(e,t,r,i=t.elementType===r?i:$i(r,i),n);case 7:return Ma(e,t,t.pendingProps,n),t.child;case 8:case 12:return Ma(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&&!hi.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}Ma(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,Ma(e,t,r,n),t.child;case 14:return o=$i(i=t.type,t.pendingProps),Ia(e,t,i,o=$i(i.type,o),r,n);case 15:return Ra(e,t,t.type,t.pendingProps,r,n);case 17:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:$i(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),Eo(t,r,i,n),Ua(null,t,r,!0,e,n);case 19:return $a(e,t,n)}throw Error(a(156,t.tag))};var jc=null,Ac=null;function Nc(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 Pc(e,t,n,r){return new Nc(e,t,n,r)}function Mc(e){return!(!(e=e.prototype)||!e.isReactComponent)}function Lc(e,t){var n=e.alternate;return null===n?((n=Pc(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)Mc(e)&&(s=1);else if("string"==typeof e)s=5;else e:switch(e){case E:return Rc(n.children,i,o,t);case O:s=8,i|=7;break;case k:s=8,i|=1;break;case x:return(e=Pc(12,n,t,8|i)).elementType=x,e.type=x,e.expirationTime=o,e;case j:return(e=Pc(13,n,t,i)).type=j,e.elementType=j,e.expirationTime=o,e;case A:return(e=Pc(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 C:s=11;break e;case N:s=14;break e;case P:s=16,r=null;break e;case M:s=22;break e}throw Error(a(130,null==e?e:typeof e,""))}return(t=Pc(s,n,t,i)).elementType=e,t.type=r,t.expirationTime=o,t}function Rc(e,t,n,r){return(e=Pc(7,e,r,t)).expirationTime=n,e}function Dc(e,t,n){return(e=Pc(6,e,null,t)).expirationTime=n,e}function Bc(e,t,n){return(t=Pc(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=Pc(3,null,null,2===t?7:1===t?3:0);r.current=i,i.stateNode=r,so(i),e[Cn]=r.current,n&&0!==t&&function(e,t){var n=Ze(t);Tt.forEach(function(e){ht(e,t,n)}),Ot.forEach(function(e){ht(e,t,n)})}(0,9===e.nodeType?e:e.ownerDocument),this._internalRoot=r}function Xc(e){return!(!e||1!==e.nodeType&&9!==e.nodeType&&11!==e.nodeType&&(8!==e.nodeType||" react-mount-point-unstable "!==e.nodeValue))}function $c(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(!Xc(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[Cn]=null})},mt=function(e){if(13===e.tag){var t=Xi(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(xe(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=Pn(r);if(!i)throw Error(a(90));_e(r),xe(r,i)}}}break;case"textarea":Ne(e,n);break;case"select":null!=(t=n.value)&&Ce(e,!!n.multiple,t,!1)}},ee=lc,te=function(e,t,n,r,i){var o=Ms;Ms|=4;try{return Vi(98,e.bind(null,t,n,r,i))}finally{(Ms=o)===ks&&Gi()}},ne=function(){(Ms&(1|Ss|Ts))===ks&&(function(){if(null!==Js){var e=Js;Js=null,e.forEach(function(e,t){Hc(t,e),cc(t)}),Gi()}}(),xc())},re=function(e,t){var n=Ms;Ms|=2;try{return e(t)}finally{(Ms=n)===ks&&Gi()}};var Zc={Events:[An,Nn,Pn,Y,H,Fn,function(e){it(e,Bn)},Z,J,Xt,st,xc,{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((Ms&(Ss|Ts))!==ks)throw Error(a(187));var n=Ms;Ms|=1;try{return Vi(99,e.bind(null,t))}finally{Ms=n,Gi()}},t.hydrate=function(e,t,n){if(!Xc(t))throw Error(a(200));return $c(null,e,t,!0,n)},t.render=function(e,t,n){if(!Xc(t))throw Error(a(200));return $c(null,e,t,!1,n)},t.unmountComponentAtNode=function(e){if(!Xc(e))throw Error(a(40));return!!e._reactRootContainer&&(dc(function(){$c(null,null,e,!1,function(){e._reactRootContainer=null,e[Cn]=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(!Xc(n))throw Error(a(200));if(null==e||void 0===e._reactInternalFiber)throw Error(a(38));return $c(e,t,n,!1,r)},t.version="16.13.0"},function(e,t,n){"use strict";e.exports=n(1318)},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,p=window.Date,h=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=p.now();t.unstable_now=function(){return p.now()-g}}var y=!1,b=null,_=-1,w=5,E=0;a=function(){return t.unstable_now()>=E},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,x=k.port2;k.port1.onmessage=function(){if(null!==b){var e=t.unstable_now();E=e+w;try{b(!0,e)?x.postMessage(null):(y=!1,b=null)}catch(e){throw x.postMessage(null),e}}else y=!1},r=function(e){b=e,y||(y=!0,x.postMessage(null))},i=function(e,n){_=h(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<C(i,t)))break e;e[r]=t,e[n]=i,n=r}}function T(e){return void 0===(e=e[0])?null:e}function O(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>C(a,n))void 0!==c&&0>C(c,a)?(e[r]=c,e[s]=n,r=s):(e[r]=a,e[o]=n,r=o);else{if(!(void 0!==c&&0>C(c,n)))break e;e[r]=c,e[s]=n,r=s}}}return t}return null}function C(e,t){var n=e.sortIndex-t.sortIndex;return 0!==n?n:e.id-t.id}var j=[],A=[],N=1,P=null,M=3,L=!1,I=!1,R=!1;function D(e){for(var t=T(A);null!==t;){if(null===t.callback)O(A);else{if(!(t.startTime<=e))break;O(A),t.sortIndex=t.expirationTime,S(j,t)}t=T(A)}}function B(e){if(R=!1,D(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,R&&(R=!1,o()),L=!0;var r=M;try{for(D(n),P=T(j);null!==P&&(!(P.expirationTime>n)||e&&!a());){var s=P.callback;if(null!==s){P.callback=null,M=P.priorityLevel;var c=s(P.expirationTime<=n);n=t.unstable_now(),"function"==typeof c?P.callback=c:P===T(j)&&O(j),D(n)}else O(j);P=T(j)}if(null!==P)var u=!0;else{var l=T(A);null!==l&&i(B,l.startTime-n),u=!1}return u}finally{P=null,M=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 M},t.unstable_getFirstCallbackNode=function(){return T(j)},t.unstable_next=function(e){switch(M){case 1:case 2:case 3:var t=3;break;default:t=M}var n=M;M=t;try{return e()}finally{M=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=M;M=e;try{return t()}finally{M=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:N++,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)&&(R?o():R=!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();D(e);var n=T(j);return n!==P&&null!==P&&null!==n&&null!==n.callback&&n.startTime<=e&&n.expirationTime<P.expirationTime||a()},t.unstable_wrapCallback=function(e){var t=M;return function(){var n=M;M=t;try{return e.apply(this,arguments)}finally{M=n}}}},function(e,t,n){var r=n(1320);e.exports=r},function(e,t,n){var r=n(1321),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(1322);var r=n(162);e.exports=r("String").startsWith},function(e,t,n){"use strict";var r,i=n(44),o=n(293).f,a=n(236),s=n(621),c=n(272),u=n(625),l=n(111),d="".startsWith,f=Math.min,p=u("startsWith");i({target:"String",proto:!0,forced:!!(l||p||(r=o(String.prototype,"startsWith"),!r||r.writable))&&!p},{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(151),i=n(411),o=n(133)("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(142),i=n(219);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(1327);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,p=r?Symbol.for("react.forward_ref"):60112,h=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 E(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 h:return e;default:switch(e=e&&e.$$typeof){case l:case p:case g:case v:case u:return e;default:return t}}case o:return t}}}function k(e){return E(e)===f}t.AsyncMode=d,t.ConcurrentMode=f,t.ContextConsumer=l,t.ContextProvider=u,t.Element=i,t.ForwardRef=p,t.Fragment=a,t.Lazy=g,t.Memo=v,t.Portal=o,t.Profiler=c,t.StrictMode=s,t.Suspense=h,t.isAsyncMode=function(e){return k(e)||E(e)===d},t.isConcurrentMode=k,t.isContextConsumer=function(e){return E(e)===l},t.isContextProvider=function(e){return E(e)===u},t.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===i},t.isForwardRef=function(e){return E(e)===p},t.isFragment=function(e){return E(e)===a},t.isLazy=function(e){return E(e)===g},t.isMemo=function(e){return E(e)===v},t.isPortal=function(e){return E(e)===o},t.isProfiler=function(e){return E(e)===c},t.isStrictMode=function(e){return E(e)===s},t.isSuspense=function(e){return E(e)===h},t.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===a||e===f||e===c||e===s||e===h||e===m||"object"==typeof e&&null!==e&&(e.$$typeof===g||e.$$typeof===v||e.$$typeof===u||e.$$typeof===l||e.$$typeof===p||e.$$typeof===b||e.$$typeof===_||e.$$typeof===w||e.$$typeof===y)},t.typeOf=E},function(e,t,n){var r=n(1330);e.exports=r},function(e,t,n){n(1331);var r=n(112);e.exports=r.Reflect.construct},function(e,t,n){var r=n(44),i=n(187),o=n(155),a=n(102),s=n(151),c=n(326),u=n(801),l=n(127),d=i("Reflect","construct"),f=l(function(){function e(){}return!(d(function(){},[],e)instanceof e)}),p=!l(function(){d(function(){})}),h=f||p;r({target:"Reflect",stat:!0,forced:h,sham:h},{construct:function(e,t){o(e),a(t);var n=arguments.length<3?e:o(arguments[2]);if(p&&!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),h=Function.apply.call(e,l,t);return s(h)?h:l}})},function(e,t,n){var r=n(1333);e.exports=r},function(e,t,n){n(1334);var r=n(112).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(44),i=n(166);r({target:"Object",stat:!0,forced:!i,sham:!i},{defineProperty:n(220).f})},function(e,t,n){var r=n(1336);e.exports=r},function(e,t,n){n(1337);var r=n(112).Object;e.exports=function(e,t){return r.create(e,t)}},function(e,t,n){n(44)({target:"Object",stat:!0,sham:!n(166)},{create:n(326)})},function(e,t,n){var r=n(1339);e.exports=r},function(e,t,n){n(1340);var r=n(112);e.exports=r.Object.setPrototypeOf},function(e,t,n){n(44)({target:"Object",stat:!0},{setPrototypeOf:n(501)})},function(e,t,n){var r=n(151);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(1343);n(1362),n(1363),n(1364),n(1365),n(1366),n(1367),n(1368),e.exports=r},function(e,t,n){n(802),n(600),n(629),n(1346),n(1347),n(1348),n(1349),n(805),n(1350),n(1351),n(1352),n(1353),n(1354),n(1355),n(1356),n(1357),n(1358),n(1359),n(1360),n(1361);var r=n(112);e.exports=r.Symbol},function(e,t,n){var r=n(239),i=n(630).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(633),i=n(348);e.exports=r?{}.toString:function(){return"[object "+i(this)+"]"}},function(e,t,n){n(140)("asyncIterator")},function(e,t){},function(e,t,n){n(140)("hasInstance")},function(e,t,n){n(140)("isConcatSpreadable")},function(e,t,n){n(140)("match")},function(e,t,n){n(140)("matchAll")},function(e,t,n){n(140)("replace")},function(e,t,n){n(140)("search")},function(e,t,n){n(140)("species")},function(e,t,n){n(140)("split")},function(e,t,n){n(140)("toPrimitive")},function(e,t,n){n(140)("toStringTag")},function(e,t,n){n(140)("unscopables")},function(e,t,n){var r=n(142);n(295)(r.JSON,"JSON",!0)},function(e,t){},function(e,t){},function(e,t,n){n(140)("asyncDispose")},function(e,t,n){n(140)("dispose")},function(e,t,n){n(140)("matcher")},function(e,t,n){n(140)("metadata")},function(e,t,n){n(140)("observable")},function(e,t,n){n(140)("patternMatch")},function(e,t,n){n(140)("replaceAll")},function(e,t,n){var r=n(1370);e.exports=r},function(e,t,n){n(805),n(356),n(328);var r=n(632);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(1373);e.exports=r},function(e,t,n){n(1374);var r=n(112);e.exports=r.Object.getPrototypeOf},function(e,t,n){var r=n(44),i=n(127),o=n(235),a=n(417),s=n(809);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(1376);e.exports=r},function(e,t,n){n(1377);var r=n(112);e.exports=r.Object.assign},function(e,t,n){var r=n(44),i=n(810);r({target:"Object",stat:!0,forced:Object.assign!==i},{assign:i})},function(e,t,n){var r=n(1379);e.exports=r},function(e,t,n){var r=n(1380),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(802);var r=n(162);e.exports=r("Array").concat},function(e,t,n){var r=n(1382);e.exports=r},function(e,t,n){var r=n(1383),i=n(1385),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(1384);var r=n(162);e.exports=r("Array").includes},function(e,t,n){"use strict";var r=n(44),i=n(626).includes,o=n(479);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(1386);var r=n(162);e.exports=r("String").includes},function(e,t,n){"use strict";var r=n(44),i=n(621),o=n(272);r({target:"String",proto:!0,forced:!n(625)("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(1388);e.exports=r},function(e,t,n){n(1389);var r=n(112);e.exports=r.Object.keys},function(e,t,n){var r=n(44),i=n(235),o=n(414);r({target:"Object",stat:!0,forced:n(127)(function(){o(1)})},{keys:function(e){return o(i(e))}})},,,function(e,t,n){var r=n(19),i=n(159);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(19),i=n(159);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(19),i=n(296),o=n(159);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":812,"./en-au.js":812,"./en-ca":813,"./en-ca.js":813,"./en-gb":814,"./en-gb.js":814,"./en-ie":815,"./en-ie.js":815,"./en-nz":816,"./en-nz.js":816};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=1396},function(e,t,n){var r=n(329);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(1399),i=n(1400),o=n(188),a=n(818),s=n(94),c=n(639);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 p=d[f];if(!o(p,n)||!e(n[p],t[p],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(1402);e.exports=r},function(e,t,n){n(1403);var r=n(112);e.exports=r.Array.isArray},function(e,t,n){n(44)({target:"Array",stat:!0},{isArray:n(416)})},function(e,t,n){n(328),n(356);var r=n(418);e.exports=r},function(e,t,n){var r=n(1406);e.exports=r},function(e,t,n){n(356),n(1407);var r=n(112);e.exports=r.Array.from},function(e,t,n){var r=n(44),i=n(819);r({target:"Array",stat:!0,forced:!n(822)(function(e){Array.from(e)})},{from:i})},function(e,t,n){var r=n(102),i=n(820);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(1410);e.exports=r},function(e,t,n){var r=n(1411),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(1412);var r=n(162);e.exports=r("Array").slice},function(e,t,n){"use strict";var r=n(44),i=n(151),o=n(416),a=n(627),s=n(236),c=n(239),u=n(502),l=n(133),d=n(503)("slice"),f=l("species"),p=[].slice,h=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 p.call(d,v,g);for(r=new(void 0===n?Array:n)(h(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(640);e.exports=function(e,t){return r(e<t.length?t.length-e:0,t)}},function(e,t,n){var r=n(19),i=n(296),o=n(159);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(19),i=n(159);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(285),i=n.n(r),o=n(106),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(1419);e.exports=r},function(e,t,n){var r=n(1420);e.exports=r},function(e,t,n){n(641);var r=n(112);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(),p=l.substr(++d,l.length).trim();'"'==p[0]&&(p=p.slice(1,-1)),null==n[f]&&(n[f]=s(p,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(1423);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){e.exports=function(e){return"[object RegExp]"===Object.prototype.toString.call(e)}},function(e,t,n){var r=n(329),i=n(504),o=n(1426),a=n(1427),s=n(94),c=n(128);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(1429);e.exports=r},function(e,t,n){var r=n(1430),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(1431);var r=n(162);e.exports=r("Array").map},function(e,t,n){"use strict";var r=n(44),i=n(355).map;r({target:"Array",proto:!0,forced:!n(503)("map")},{map:function(e){return i(this,e,arguments.length>1?arguments[1]:void 0)}})},,function(e,t,n){var r=n(642),i=n(1434);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(206),i=n(642),o=n(829),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(177),i=n(1437),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(420),i=n(508);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(833),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(834),i=n(1441),o=n(645),a=n(330),s=n(1442),c=n(507),u=n(836),l=n(1444),d=n(1445),f=o(function(e,t){return typeof t===e}),p=function(e){return l(c(h),Math.max,0,d(e))},h=i([[f("object"),p],[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=p(t),o=a(i+1,e);return 0===n.length?0===i?function(){for(var e=[],n=arguments.length;n--;)e[n]=arguments[n];return o.apply(void 0,[t].concat(e))}:o(t):o.apply(void 0,[t].concat(n))})},function(e,t,n){var r=n(420),i=n(206),o=n(507),a=n(835),s=n(644),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(206),i=n(1443),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(643),i=n(830),o=n(330)(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(206),i=n(832),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(1447);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(422),i=/\s+/g,o=n(839),a=n(1452);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(839),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(421),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(241)(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(840);function i(e){r.call(this,new o(this),e)}function o(e){this.scope=e}n(241)(i,r),i.prototype.readable=!0;var a=n(421).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(367).EventEmitter;function i(){r.call(this)}n(241)(i,r),i.Readable=n(646),i.Writable=n(1466),i.Duplex=n(1467),i.Transform=n(1468),i.PassThrough=n(1469),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,p=e[t+d];for(d+=f,o=p&(1<<-l)-1,p>>=-l,l+=s;l>0;o=256*o+e[t+d],d+=f,l-=8);for(a=o&(1<<-l)-1,o>>=-l,l+=r;l>0;a=256*a+e[t+d],d+=f,l-=8);if(0===o)o=1-u;else{if(o===c)return a?NaN:1/0*(p?-1:1);a+=Math.pow(2,r),o-=u}return(p?-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,p=r?0:o-1,h=r?1:-1,m=t<0||0===t&&1/t<0?1:0;for(t=Math.abs(t),isNaN(t)||t===1/0?(s=isNaN(t)?1:0,a=l):(a=Math.floor(Math.log(t)/Math.LN2),t*(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+p]=255&s,p+=h,s/=256,i-=8);for(a=a<<i|s,u+=i;u>0;e[n+p]=255&a,p+=h,a/=256,u-=8);e[n+p-h]|=128*m}},function(e,t){},function(e,t,n){"use strict";var r=n(647).Buffer,i=n(1460);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(1462),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(108))},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(){h(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){h(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(){h(e),t.onreadystatechange=null,i.removeChild(t),t=null},i.appendChild(t)}):r=function(e){setTimeout(h,0,e)}:(a="setImmediate$"+Math.random()+"$",s=function(t){t.source===e&&"string"==typeof t.data&&0===t.data.indexOf(a)&&h(+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=p}function p(e){delete u[e]}function h(e){if(l)setTimeout(h,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{p(e),l=!1}}}}}("undefined"==typeof self?void 0===e?this:e:self)}).call(this,n(108),n(297))},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(108))},function(e,t,n){var r=n(331),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(845),i=Object.create(n(423));function o(e){if(!(this instanceof o))return new o(e);r.call(this,e)}i.inherits=n(241),i.inherits(o,r),o.prototype._transform=function(e,t,n){n(null,e)}},function(e,t,n){e.exports=n(648)},function(e,t,n){e.exports=n(332)},function(e,t,n){e.exports=n(646).Transform},function(e,t,n){e.exports=n(646).PassThrough},function(e,t){},function(e,t,n){function r(e){this._cbs=e||{}}e.exports=r;var i=n(421).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(1473),n(1481),n(1482),n(1483),n(1484),n(1485)].forEach(function(e){Object.keys(e).forEach(function(t){r[t]=e[t].bind(r)})})},function(e,t,n){var r=n(422),i=n(1474),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(1475),i=n(1476),o=n(1480);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+=h(o):o.type===r.CDATA?n+=p(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 p(e){return"<![CDATA["+e.children[0].data+"]]>"}function h(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(846),i=n(849);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(849);t.encodeXML=o.encodeXML,t.encodeHTML=o.encodeHTML,t.escape=o.escape,t.encodeHTML4=o.encodeHTML,t.encodeHTML5=o.encodeHTML;var a=n(846);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(1479));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(422).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(422),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,p=[],h=[];if(e===t)return 0;for(s=e;s;)p.unshift(s),s=s.parent;for(s=t;s;)h.unshift(s),s=s.parent;for(f=0;p[f]===h[f];)f++;return 0===f?n:(u=(c=p[f-1]).children,l=p[f],d=h[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(421).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 p(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)?"":p(t))&&o.test(e)?e.replace(i,"\\$&"):e}}).call(this,n(108))},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]",p="[object Object]",h="[object RegExp]",m="[object Set]",v="[object String]",g="[object Symbol]",y="[object ArrayBuffer]",b="[object DataView]",_="[object Float32Array]",w="[object Float64Array]",E="[object Int8Array]",k="[object Int16Array]",x="[object Int32Array]",S="[object Uint8Array]",T="[object Uint8ClampedArray]",O="[object Uint16Array]",C="[object Uint32Array]",j=/\w*$/,A=/^\[object .+?Constructor\]$/,N=/^(?:0|[1-9]\d*)$/,P={};P[a]=P["[object Array]"]=P[y]=P[b]=P[s]=P[c]=P[_]=P[w]=P[E]=P[k]=P[x]=P[d]=P[f]=P[p]=P[h]=P[m]=P[v]=P[g]=P[S]=P[T]=P[O]=P[C]=!0,P["[object Error]"]=P[u]=P["[object WeakMap]"]=!1;var M="object"==typeof e&&e&&e.Object===Object&&e,L="object"==typeof self&&self&&self.Object===Object&&self,I=M||L||Function("return this")(),R=t&&!t.nodeType&&t,D=R&&"object"==typeof n&&n&&!n.nodeType&&n,B=D&&D.exports===R;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,X=Object.prototype,$=I["__core-js_shared__"],Q=(Y=/[^.]+$/.exec($&&$.keys&&$.keys.IE_PROTO||""))?"Symbol(src)_1."+Y:"",Z=K.toString,J=X.hasOwnProperty,ee=X.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=X.propertyIsEnumerable,ce=G.splice,ue=Object.getOwnPropertySymbols,le=ne?ne.isBuffer:void 0,de=V(Object.keys,Object),fe=De(I,"DataView"),pe=De(I,"Map"),he=De(I,"Promise"),me=De(I,"Set"),ve=De(I,"WeakMap"),ge=De(Object,"create"),ye=ze(fe),be=ze(pe),_e=ze(he),we=ze(me),Ee=ze(ve),ke=re?re.prototype:void 0,xe=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 Oe(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){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 Ne(e,t){for(var n=e.length;n--;)if(He(e[n][0],t))return n;return-1}function Pe(e,t,n,r,i,o,A){var N;if(r&&(N=o?r(e,i,o,A):r(e)),void 0!==N)return N;if(!Ke(e))return e;var M=Ve(e);if(M){if(N=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,N)}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==p||L==a||I&&!o){if(z(e))return o?e:{};if(N=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,Xe(t),e)}(N,e))}else{if(!P[L])return o?e:{};N=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 E:case k:case x:case S:case T:case O:case C: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 h: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,xe?Object(xe.call(o)):{}}var o;var a,u}(e,L,Pe,t)}}A||(A=new Ce);var R=A.get(e);if(R)return R;if(A.set(e,N),!M)var D=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,Xe,Be)}(e):Xe(e);return function(e,t){for(var n=-1,r=e?e.length:0;++n<r&&!1!==t(e[n],n,e););}(D||e,function(i,o){D&&(i=e[o=i]),Ae(N,o,Pe(i,t,n,r,o,e,A))}),N}function Me(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 Re(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 De(e,t){var n=function(e,t){return null==e?void 0:e[t]}(e,t);return Me(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=Ne(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=Ne(t,e);return n<0?void 0:t[n][1]},Te.prototype.has=function(e){return Ne(this.__data__,e)>-1},Te.prototype.set=function(e,t){var n=this.__data__,r=Ne(n,e);return r<0?n.push([e,t]):n[r][1]=t,this},Oe.prototype.clear=function(){this.__data__={hash:new Se,map:new(pe||Te),string:new Se}},Oe.prototype.delete=function(e){return Re(this,e).delete(e)},Oe.prototype.get=function(e){return Re(this,e).get(e)},Oe.prototype.has=function(e){return Re(this,e).has(e)},Oe.prototype.set=function(e,t){return Re(this,e).set(e,t),this},Ce.prototype.clear=function(){this.__data__=new Te},Ce.prototype.delete=function(e){return this.__data__.delete(e)},Ce.prototype.get=function(e){return this.__data__.get(e)},Ce.prototype.has=function(e){return this.__data__.has(e)},Ce.prototype.set=function(e,t){var n=this.__data__;if(n instanceof Te){var i=n.__data__;if(!pe||i.length<r-1)return i.push([e,t]),this;n=this.__data__=new Oe(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||N.test(e))&&e>-1&&e%1==0&&e<t}function qe(e){var t=e&&e.constructor;return e===("function"==typeof t&&t.prototype||X)}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||pe&&Fe(new pe)!=d||he&&"[object Promise]"!=Fe(he.resolve())||me&&Fe(new me)!=m||ve&&"[object WeakMap]"!=Fe(new ve))&&(Fe=function(e){var t=ee.call(e),n=t==p?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 Ee: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 Xe(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 Pe(e,!0,!0)}}).call(this,n(108),n(274)(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]",p="[object Object]",h="[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[p]=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")(),E=t&&!t.nodeType&&t,k=E&&"object"==typeof n&&n&&!n.nodeType&&n,x=k&&k.exports===E,S=x&&b.process,T=function(){try{var e=k&&k.require&&k.require("util").types;return e||S&&S.binding&&S.binding("util")}catch(e){}}(),O=T&&T.isTypedArray;var C,j,A,N=Array.prototype,P=Function.prototype,M=Object.prototype,L=w["__core-js_shared__"],I=P.toString,R=M.hasOwnProperty,D=(C=/[^.]+$/.exec(L&&L.keys&&L.keys.IE_PROTO||""))?"Symbol(src)_1."+C:"",B=M.toString,F=I.call(Object),U=RegExp("^"+I.call(R).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),q=x?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=M.propertyIsEnumerable,K=N.splice,X=z?z.toStringTag:void 0,$=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(!Me(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=Ce(e),r=!n&&Oe(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&&!R.call(e,u)||a&&("length"==u||i&&("offset"==u||"parent"==u)||o&&("buffer"==u||"byteLength"==u||"byteOffset"==u)||Ee(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];R.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&&$?$(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 R.call(t,e)?t[e]:void 0},re.prototype.has=function(e){var t=this.__data__;return te?void 0!==t[e]:R.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,pe=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 he(e){return null==e?void 0===e?m:f:X&&X in Object(e)?function(e){var t=R.call(e,X),n=e[X];try{e[X]=void 0;var r=!0}catch(e){}var i=B.call(e);r&&(t?e[X]=n:delete e[X]);return i}(e):function(e){return B.call(e)}(e)}function me(e){return Le(e)&&he(e)==c}function ve(e){return!(!Me(e)||(t=e,D&&D in t))&&(Ne(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(!Me(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&&R.call(e,r))&&n.push(r);return n}function ye(e,t,n,r,i){e!==t&&pe(t,function(o,a){if(i||(i=new ae),Me(o))!function(e,t,n,r,i,o,a){var s=xe(e,n),c=xe(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=Ce(c),h=!f&&Ae(c),m=!f&&!h&&Ie(c);l=c,f||h||m?Ce(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):h?(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)||he(e)!=p)return!1;var t=W(e);if(null===t)return!0;var n=R.call(t,"constructor")&&t.constructor;return"function"==typeof n&&n instanceof n&&I.call(n)==F}(c)||Oe(c)?(l=s,Oe(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,Re(e))}(s):Me(s)&&!Ne(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(xe(e,a),o,a+"",e,t,i):void 0;void 0===s&&(s=o),ce(e,a,s)}},Re)}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 Ee(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||M)}function xe(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)}}($?function(e,t){return $(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 Oe=me(function(){return arguments}())?me:function(e){return Le(e)&&R.call(e,"callee")&&!G.call(e,"callee")},Ce=Array.isArray;function je(e){return null!=e&&Pe(e.length)&&!Ne(e)}var Ae=Q||function(){return!1};function Ne(e){if(!Me(e))return!1;var t=he(e);return t==l||t==d||t==u||t==h}function Pe(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=s}function Me(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}function Le(e){return null!=e&&"object"==typeof e}var Ie=O?function(e){return function(t){return e(t)}}(O):function(e){return Le(e)&&Pe(e.length)&&!!y[he(e)]};function Re(e){return je(e)?se(e,!0):ge(e)}var De,Be=(De=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=De.length>3&&"function"==typeof i?(r--,i):void 0,o&&function(e,t,n){if(!Me(n))return!1;var r=typeof t;return!!("number"==r?je(n)&&Ee(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&&De(e,a,n,i)}return e}));function Fe(e){return e}n.exports=Be}).call(this,n(108),n(274)(e))},function(e,t,n){"use strict";var r=n(1492),i=n(1493),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(108))},function(e,t,n){"use strict";t.__esModule=!0;var r=p(n(650)),i=p(n(860)),o=p(n(653)),a=p(n(655)),s=p(n(510)),c=p(n(1509)),u=p(n(654)),l=p(n(862)),d=p(n(511)),f=p(n(657));function p(e){return e&&e.__esModule?e:{default:e}}function h(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];return 1===t.length&&Array.isArray(t[0])&&(t=t[0]),new i.default(t)}h.plugin=function(e,t){var n=function(){var n=t.apply(void 0,arguments);return n.postcssPlugin=e,n.postcssVersion=(new i.default).version,n},r=void 0;return Object.defineProperty(n,"postcss",{get:function(){return r||(r=n()),r}}),n.process=function(e,t,r){return h([n(r)]).process(e,t)},n},h.stringify=o.default,h.parse=u.default,h.vendor=c.default,h.list=l.default,h.comment=function(e){return new a.default(e)},h.atRule=function(e){return new s.default(e)},h.decl=function(e){return new r.default(e)},h.rule=function(e){return new d.default(e)},h.root=function(e){return new f.default(e)},t.default=h,e.exports=t.default},function(e,t){},function(e,t,n){"use strict";t.__esModule=!0;var r=a(n(851)),i=a(n(852)),o=a(n(853));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(854)),a=c(n(652)),s=c(n(1504));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(331).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(424);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(424),i=n(1501),o=n(857).ArraySet,a=n(856),s=n(1502).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=[],p=0,h=c.length;p<h;p++){var m=c[p],v=new l;v.generatedLine=m.generatedLine,v.generatedColumn=m.generatedColumn,m.source&&(v.source=a.indexOf(m.source),v.originalLine=m.originalLine,v.originalColumn=m.originalColumn,m.name&&(v.name=i.indexOf(m.name)),f.push(v)),d.push(v)}return s(n.__originalMappings,r.compareByOriginalPositions),n},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,p=0,h=0,m=0,v=0,g=e.length,y=0,b={},_={},w=[],E=[];y<g;)if(";"===e.charAt(y))d++,y++,f=0;else if(","===e.charAt(y))y++;else{for((n=new l).generatedLine=d,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=p+o[2],p=n.originalLine,n.originalLine+=1,n.originalColumn=h+o[3],h=n.originalColumn,o.length>4&&(n.name=v+o[4],v+=o[4])),E.push(n),"number"==typeof n.originalLine&&w.push(n)}s(E,r.compareByGeneratedPositionsDeflated),this.__generatedMappings=E,s(w,r.compareByOriginalPositions),this.__originalMappings=w},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(855).SourceMapGenerator,i=n(424),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,p(f,t),void(f=e)}p(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&&p(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 p(e,t){if(null===e||void 0===e.source)r.add(t);else{var o=n?i.join(n,e.source):e.source;r.add(new s(e.originalLine,e.originalColumn,o,t,e.name))}}},s.prototype.add=function(e){if(Array.isArray(e))e.forEach(function(e){this.add(e)},this);else{if(!e[a]&&"string"!=typeof e)throw new TypeError("Expected a SourceNode, string, or an array of SourceNodes and strings. Got "+e);e&&this.children.push(e)}return this},s.prototype.prepend=function(e){if(Array.isArray(e))for(var t=e.length-1;t>=0;t--)this.prepend(e[t]);else{if(!e[a]&&"string"!=typeof e)throw new TypeError("Expected a SourceNode, string, or an array of SourceNodes and strings. Got "+e);this.children.unshift(e)}return this},s.prototype.walk=function(e){for(var t,n=0,r=this.children.length;n<r;n++)(t=this.children[n])[a]?t.walk(e):""!==t&&e(t,{source:this.source,line:this.line,column:this.column,name:this.name})},s.prototype.join=function(e){var t,n,r=this.children.length;if(r>0){for(t=[],n=0;n<r-1;n++)t.push(this.children[n]),t.push(e);t.push(this.children[n]),this.children=t}return this},s.prototype.replaceRight=function(e,t){var n=this.children[this.children.length-1];return n[a]?n.replaceRight(e,t):"string"==typeof n?this.children[this.children.length-1]=n.replace(e,t):this.children.push("".replace(e,t)),this},s.prototype.setSourceContent=function(e,t){this.sourceContents[i.toSetString(e)]=t},s.prototype.walkSourceContents=function(e){for(var t=0,n=this.children.length;t<n;t++)this.children[t][a]&&this.children[t].walkSourceContents(e);var r=Object.keys(this.sourceContents);for(t=0,n=r.length;t<n;t++)e(i.fromSetString(r[t]),this.sourceContents[r[t]])},s.prototype.toString=function(){var e="";return this.walk(function(t){e+=t}),e},s.prototype.toStringWithSourceMap=function(e){var t={code:"",line:1,column:0},n=new r(e),i=!1,o=null,a=null,s=null,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(854)),o=a(n(652));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(331).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(1507),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(650)),i=u(n(852)),o=u(n(655)),a=u(n(510)),s=u(n(657)),c=u(n(511));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(1511);e.exports=r},function(e,t,n){var r=n(1512);e.exports=r},function(e,t,n){n(1513),n(1515),n(641);var r=n(112);e.exports=r.URL},function(e,t,n){"use strict";n(356);var r,i=n(44),o=n(166),a=n(823),s=n(142),c=n(798),u=n(327),l=n(400),d=n(182),f=n(810),p=n(819),h=n(806).codeAt,m=n(1514),v=n(295),g=n(641),y=n(273),b=s.URL,_=g.URLSearchParams,w=g.getState,E=y.set,k=y.getterFor("URL"),x=Math.floor,S=Math.pow,T=/[A-Za-z]/,O=/[\d+-.A-Za-z]/,C=/\d/,j=/^0x/i,A=/^[0-7]+$/,N=/^\d+$/,P=/^[\dA-Fa-f]+$/,M=/[\0\t\n\r #%/:<>?@[\\\]^|]/,L=/[\0\t\n\r #/:<>?@[\\\]^|]/,I=/^[\u0000-\u001F ]+|[\u0000-\u001F ]+$/g,R=/[\t\n\r]/g,D=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),M.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=p(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?N:8==o?A:P).test(i))return e;a=parseInt(i,o)}n.push(a)}for(r=0;r<t;r++)if(a=n[r],r==t-1){if(a>=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&&P.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(!C.test(f()))return;for(;C.test(f());){if(o=parseInt(f(),10),null===i)i=o;else{if(0==i)return;i=10*i+o}if(i>255)return;d++}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=x(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=h(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},X=function(e){return!e.host||e.cannotBeABaseURL||"file"==e.scheme},$=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&&$(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&&$(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={},pe={},he={},me={},ve={},ge={},ye={},be={},_e={},we=function(e,t,n,i){var o,a,s,c,u,l=n||ee,f=0,h="",m=!1,v=!1,g=!1;for(n||(e.scheme="",e.username="",e.password="",e.host=null,e.port=null,e.path=[],e.query=null,e.fragment=null,e.cannotBeABaseURL=!1,t=t.replace(I,"")),t=t.replace(R,""),o=p(t);f<=o.length;){switch(a=o[f],l){case ee:if(!a||!T.test(a)){if(n)return"Invalid scheme";l=ne;continue}h+=a.toLowerCase(),l=te;break;case te:if(a&&(O.test(a)||"+"==a||"-"==a||"."==a))h+=a.toLowerCase();else{if(":"!=a){if(n)return"Invalid scheme";h="",l=ne,f=0;continue}if(n&&(G(e)!=d(Y,h)||"file"==h&&(K(e)||null!==e.port)||"file"==e.scheme&&!e.host))return;if(e.scheme=h,n)return void(G(e)&&Y[e.scheme]==e.port&&(e.port=null));h="","file"==e.scheme?l=pe: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?pe: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||"/"!=h.charAt(f+1))continue;f++;break;case ce:if("/"!=a&&"\\"!=a){l=ue;continue}break;case ue:if("@"==a){m&&(h="%40"+h),m=!0,s=p(h);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}h=""}else if(a==r||"/"==a||"?"==a||"#"==a||"\\"==a&&G(e)){if(m&&""==h)return"Invalid authority";f-=p(h).length+1,h="",l=le}else h+=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)&&""==h)return"Invalid host";if(n&&""==h&&(K(e)||null!==e.port))return;if(c=D(e,h))return c;if(h="",l=ve,n)return;continue}"["==a?v=!0:"]"==a&&(v=!1),h+=a}else{if(""==h)return"Invalid host";if(c=D(e,h))return c;if(h="",l=fe,n==de)return}break;case fe:if(!C.test(a)){if(a==r||"/"==a||"?"==a||"#"==a||"\\"==a&&G(e)||n){if(""!=h){var w=parseInt(h,10);if(w>65535)return"Invalid port";e.port=G(e)&&w===Y[e.scheme]?null:w,h=""}if(n)return;l=ve;continue}return"Invalid port"}h+=a;break;case pe:if(e.scheme="file","/"==a||"\\"==a)l=he;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 he:if("/"==a||"\\"==a){l=me;break}i&&"file"==i.scheme&&!Q(o.slice(f).join(""))&&($(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&&$(h))l=ge;else if(""==h){if(e.host="",n)return;l=ve}else{if(c=D(e,h))return c;if("localhost"==e.host&&(e.host=""),n)return;h="",l=ve}continue}h+=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=h).toLowerCase())||"%2e."===u||".%2e"===u||"%2e%2e"===u?(Z(e),"/"==a||"\\"==a&&G(e)||e.path.push("")):J(h)?"/"==a||"\\"==a&&G(e)||e.path.push(""):("file"==e.scheme&&!e.path.length&&$(h)&&(e.host&&(e.host=""),h=h.charAt(0)+":"),e.path.push(h)),h="","file"==e.scheme&&(a==r||"?"==a||"#"==a))for(;e.path.length>1&&""===e.path[0];)e.path.shift();"?"==a?(e.query="",l=be):"#"==a&&(e.fragment="",l=_e)}else h+=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++}},Ee=function(e){var t,n,r=l(this,Ee,"URL"),i=arguments.length>1?arguments[1]:void 0,a=String(e),s=E(r,{type:"URL"});if(void 0!==i)if(i instanceof Ee)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=xe.call(r),r.origin=Se.call(r),r.protocol=Te.call(r),r.username=Oe.call(r),r.password=Ce.call(r),r.host=je.call(r),r.hostname=Ae.call(r),r.port=Ne.call(r),r.pathname=Pe.call(r),r.search=Me.call(r),r.searchParams=Le.call(r),r.hash=Ie.call(r))},ke=Ee.prototype,xe=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 Ee(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+":"},Oe=function(){return k(this).username},Ce=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)},Ne=function(){var e=k(this).port;return null===e?"":String(e)},Pe=function(){var e=k(this),t=e.path;return e.cannotBeABaseURL?t[0]:t.length?"/"+t.join("/"):""},Me=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:""},Re=function(e,t){return{get:e,set:t,configurable:!0,enumerable:!0}};if(o&&c(ke,{href:Re(xe,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:Re(Se),protocol:Re(Te,function(e){var t=k(this);we(t,String(e)+":",ee)}),username:Re(Oe,function(e){var t=k(this),n=p(String(e));if(!X(t)){t.username="";for(var r=0;r<n.length;r++)t.username+=W(n[r],V)}}),password:Re(Ce,function(e){var t=k(this),n=p(String(e));if(!X(t)){t.password="";for(var r=0;r<n.length;r++)t.password+=W(n[r],V)}}),host:Re(je,function(e){var t=k(this);t.cannotBeABaseURL||we(t,String(e),le)}),hostname:Re(Ae,function(e){var t=k(this);t.cannotBeABaseURL||we(t,String(e),de)}),port:Re(Ne,function(e){var t=k(this);X(t)||(""==(e=String(e))?t.port=null:we(t,e,fe))}),pathname:Re(Pe,function(e){var t=k(this);t.cannotBeABaseURL||(t.path=[],we(t,e+"",ve))}),search:Re(Me,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:Re(Le),hash:Re(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 xe.call(this)},{enumerable:!0}),u(ke,"toString",function(){return xe.call(this)},{enumerable:!0}),b){var De=b.createObjectURL,Be=b.revokeObjectURL;De&&u(Ee,"createObjectURL",function(e){return De.apply(b,arguments)}),Be&&u(Ee,"revokeObjectURL",function(e){return Be.apply(b,arguments)})}v(Ee,"URL"),i({global:!0,forced:!a,sham:!o},{URL:Ee})},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 p=r.length,h=p;for(p&&r.push("-");h<i;){var m=2147483647;for(t=0;t<e.length;t++)(n=e[t])>=l&&n<m&&(m=n);var v=h+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,h==p),d=0,++h}}++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){},function(e,t,n){var r=n(863),i=n(765),o=n(517);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(1519),i=n(1579),o=n(876);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(864),i=n(868),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],p=e[f],h=d[1];if(l&&d[2]){if(void 0===p&&!(f in e))return!1}else{var m=new r;if(s)var v=s(p,h,f,e,t,m);if(!(void 0===v?i(h,p,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(513),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(513);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(513);e.exports=function(e){return r(this.__data__,e)>-1}},function(e,t,n){var r=n(513);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(512);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(512),i=n(658),o=n(659),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(865),i=n(1533),o=n(317),a=n(867),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(514),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(1534),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(242)["__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(1537),i=n(512),o=n(658);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(1538),i=n(1539),o=n(1540),a=n(1541),s=n(1542);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(515);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(515),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(515),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(515),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(516);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(516);e.exports=function(e){return r(this,e).get(e)}},function(e,t,n){var r=n(516);e.exports=function(e){return r(this,e).has(e)}},function(e,t,n){var r=n(516);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(864),i=n(869),o=n(1554),a=n(1558),s=n(1574),c=n(275),u=n(871),l=n(872),d=1,f="[object Arguments]",p="[object Array]",h="[object Object]",m=Object.prototype.hasOwnProperty;e.exports=function(e,t,n,v,g,y){var b=c(e),_=c(t),w=b?p:s(e),E=_?p:s(t),k=(w=w==f?h:w)==h,x=(E=E==f?h:E)==h,S=w==E;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__"),O=x&&m.call(t,"__wrapped__");if(T||O){var C=T?e.value():e,j=O?t.value():t;return y||(y=new r),g(C,j,n,v,y)}}return!!S&&(y||(y=new r),a(e,t,n,v,g,y))}},function(e,t,n){var r=n(659),i=n(1550),o=n(1551);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(514),i=n(1555),o=n(763),a=n(869),s=n(1556),c=n(1557),u=1,l=2,d="[object Boolean]",f="[object Date]",p="[object Error]",h="[object Map]",m="[object Number]",v="[object RegExp]",g="[object Set]",y="[object String]",b="[object Symbol]",_="[object ArrayBuffer]",w="[object DataView]",E=r?r.prototype:void 0,k=E?E.valueOf:void 0;e.exports=function(e,t,n,r,E,x,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||!x(new i(e),new i(t)));case d:case f:case m:return o(+e,+t);case p:return e.name==t.name&&e.message==t.message;case v:case y:return e==t+"";case h:var T=s;case g:var O=r&u;if(T||(T=c),e.size!=t.size&&!O)return!1;var C=S.get(e);if(C)return C==t;r|=l,S.set(e,t);var j=a(T(e),T(t),r,E,x,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(242).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(1559),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 p=l[f];if(!(u?p in t:o.call(t,p)))return!1}var h=c.get(e);if(h&&c.get(t))return h==t;var m=!0;c.set(e,t),c.set(t,e);for(var v=u;++f<d;){var g=e[p=l[f]],y=t[p];if(a)var b=u?a(y,g,p,t,e,c):a(g,y,p,e,t,c);if(!(void 0===b?g===y||s(g,y,n,a,c):b)){m=!1;break}v||(v="constructor"==p)}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(1560),i=n(1562),o=n(517);e.exports=function(e){return r(e,o,i)}},function(e,t,n){var r=n(1561),i=n(275);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(1563),i=n(1564),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(1566),i=n(870),o=n(275),a=n(871),s=n(764),c=n(872),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),p=n||l||d||f,h=p?r(e.length,String):[],m=h.length;for(var v in e)!t&&!u.call(e,v)||p&&("length"==v||d&&("offset"==v||"parent"==v)||f&&("buffer"==v||"byteLength"==v||"byteOffset"==v)||s(v,m))||h.push(v);return h}},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(360),i=n(361),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(360),i=n(660),o=n(361),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(1571),i=n(1572),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(1573)(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(1575),i=n(658),o=n(1576),a=n(1577),s=n(1578),c=n(360),u=n(867),l=u(r),d=u(i),f=u(o),p=u(a),h=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 p:return"[object Set]";case h:return"[object WeakMap]"}return t}),e.exports=m},function(e,t,n){var r=n(359)(n(242),"DataView");e.exports=r},function(e,t,n){var r=n(359)(n(242),"Promise");e.exports=r},function(e,t,n){var r=n(359)(n(242),"Set");e.exports=r},function(e,t,n){var r=n(359)(n(242),"WeakMap");e.exports=r},function(e,t,n){var r=n(875),i=n(517);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(868),i=n(87),o=n(1584),a=n(661),s=n(875),c=n(876),u=n(519),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(1582),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(1583),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(659),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(1585),i=n(1586);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(878),i=n(870),o=n(275),a=n(764),s=n(660),c=n(519);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(881),i=n(1589),o=n(661),a=n(519);e.exports=function(e){return o(e)?r(a(e)):i(e)}},function(e,t,n){var r=n(877);e.exports=function(e){return function(t){return r(t,e)}}},function(e,t,n){var r=n(1591),i=n(863),o=n(882),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(188);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(1594);e.exports=r},function(e,t,n){n(629);var r=n(112);e.exports=r.Object.getOwnPropertySymbols},function(e,t,n){var r=n(1596);e.exports=r},function(e,t,n){var r=n(1597),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(1598);var r=n(162);e.exports=r("Array").filter},function(e,t,n){"use strict";var r=n(44),i=n(355).filter;r({target:"Array",proto:!0,forced:!n(503)("filter")},{filter:function(e){return i(this,e,arguments.length>1?arguments[1]:void 0)}})},function(e,t,n){var r=n(1600);e.exports=r},function(e,t,n){n(1601);var r=n(112).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(44),i=n(127),o=n(239),a=n(293).f,s=n(166),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(1603);e.exports=r},function(e,t,n){n(1604);var r=n(112);e.exports=r.Object.getOwnPropertyDescriptors},function(e,t,n){var r=n(44),i=n(166),o=n(1605),a=n(239),s=n(293),c=n(502);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(187),i=n(630),o=n(631),a=n(102);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(1607);e.exports=r},function(e,t,n){var r=n(1608),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(1609);var r=n(162);e.exports=r("String").endsWith},function(e,t,n){"use strict";var r,i=n(44),o=n(293).f,a=n(236),s=n(621),c=n(272),u=n(625),l=n(111),d="".endsWith,f=Math.min,p=u("endsWith");i({target:"String",proto:!0,forced:!!(l||p||(r=o(String.prototype,"endsWith"),!r||r.writable))&&!p},{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){var r=n(19),i=n(159);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){},function(e,t,n){},function(e,t,n){var r=n(1615);e.exports=r},function(e,t,n){n(328);var r=n(1616),i=n(348),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(1617);e.exports=r},function(e,t,n){n(478);var r=n(162);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(1620),i=n(888),o=n(1621),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(888),i=n(1622),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),p=o>0;++l<o;)f[l]=l+"";for(var h in e)p&&c(h,o)||"constructor"==h&&(d||!a.call(e,h))||f.push(h);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.*?")+"$"),p=(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),h=9007199254740991;var m=p||function(e){return i(e)&&function(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=h}(e.length)&&"[object Array]"==d.call(e)};e.exports=m},function(e,t,n){var r=n(1624);n(1631),n(1632),n(1633),n(1634),e.exports=r},function(e,t,n){n(889),n(600),n(1625),n(895),n(896),n(1630),n(356),n(328);var r=n(112);e.exports=r.Promise},function(e,t,n){"use strict";var r,i,o,a,s=n(44),c=n(111),u=n(142),l=n(187),d=n(890),f=n(327),p=n(506),h=n(501),m=n(295),v=n(891),g=n(151),y=n(155),b=n(400),_=n(804),w=n(143),E=n(822),k=n(426),x=n(892).set,S=n(1626),T=n(894),O=n(1628),C=n(427),j=n(522),A=n(273),N=n(794),P=n(133),M=n(1629),L=n(663),I=n(477),R=P("species"),D="Promise",B=A.get,F=A.set,U=A.getterFor(D),q=d&&d.prototype,z=d,H=q,V=u.TypeError,W=u.document,Y=u.process,G=C.f,K=G,X=!!(W&&W.createEvent&&u.dispatchEvent),$="function"==typeof PromiseRejectionEvent,Q=!1,Z=N(D,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={})[R]=n,!(Q=t.then(function(){})instanceof n)||!e&&M&&!$}),J=Z||!E(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,p=u.domain;try{l?(i||(2===e.rejection&&oe(e),e.rejection=1),!0===l?a=r:(p&&p.enter(),a=l(r),p&&(p.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){p&&!c&&p.exit(),f(e)}}e.reactions=[],e.notified=!1,t&&!e.rejection&&re(e)})}},ne=function(e,t,n){var r,i;X?((r=W.createEvent("Event")).promise=t,r.reason=n,r.initEvent(e,!1,!0),u.dispatchEvent(r)):r={promise:t,reason:n},!$&&(i=u["on"+e])?i(r):"unhandledrejection"===e&&O("Unhandled promise rejection",n)},re=function(e){x.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){x.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,D),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:D,done:!1,notified:!1,parent:!1,reactions:[],rejection:!1,state:0,value:void 0})}).prototype=p(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)},C.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){}h&&h(q,H)}s({global:!0,wrap:!0,forced:Z},{Promise:z}),m(z,D,!1,!0),v(D),o=l(D),s({target:D,stat:!0,forced:Z},{reject:function(e){var t=G(this);return t.reject.call(void 0,e),t.promise}}),s({target:D,stat:!0,forced:c||Z},{resolve:function(e){return T(c&&this===o?z:this,e)}}),s({target:D,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(142),f=n(293).f,p=n(892).set,h=n(893),m=n(1627),v=n(663),g=d.MutationObserver||d.WebKitMutationObserver,y=d.document,b=d.process,_=d.Promise,w=f(d,"queueMicrotask"),E=w&&w.value;E||(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()},h||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(){p.call(d,r)}:(s=!0,c=y.createTextNode(""),new g(r).observe(c,{characterData:!0}),a=function(){c.data=s=!s})),e.exports=E||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(399);e.exports=/web0s(?!.*chrome)/i.test(r)},function(e,t,n){var r=n(142);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(44),i=n(111),o=n(890),a=n(127),s=n(187),c=n(426),u=n(894),l=n(327);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(889)},function(e,t,n){n(895)},function(e,t,n){"use strict";var r=n(44),i=n(427),o=n(522);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(896)},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(95);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(95);e.exports=function(e){return!!e&&r(e.then)&&r(e.catch)}},function(e,t,n){var r=n(1643);e.exports=r},function(e,t,n){var r=n(1644),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(1645);var r=n(162);e.exports=r("Array").indexOf},function(e,t,n){"use strict";var r=n(44),i=n(626).indexOf,o=n(1231),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(1647);e.exports=r},function(e,t,n){n(1648);var r=n(112);e.exports=r.Object.values},function(e,t,n){var r=n(44),i=n(1649).values;r({target:"Object",stat:!0},{values:function(e){return i(e)}})},function(e,t,n){var r=n(166),i=n(414),o=n(239),a=n(493).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(1651);e.exports=r},function(e,t,n){var r=n(1652),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(1653);var r=n(162);e.exports=r("String").trim},function(e,t,n){"use strict";var r=n(44),i=n(1654).trim;r({target:"String",proto:!0,forced:n(1655)("trim")},{trim:function(){return i(this)}})},function(e,t,n){var r=n(272),i="["+n(902)+"]",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(127),i=n(902);e.exports=function(e){return r(function(){return!!i[e]()||"​᠎"!="​᠎"[e]()||i[e].name!==e})}},function(e,t,n){var r=n(1657);e.exports=r},function(e,t,n){n(1658);var r=n(112);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(44),i=n(187),o=n(127),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(125),i=n(264),o=n(899),a=n(299),s=n(425),c=n(523),u=n(666);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(19),i=n(296),o=n(159);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(19),i=n(296),o=n(159);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 O(r||[]);return o._invoke=function(e,t,n){var r=l;return function(i,o){if(r===f)throw new Error("Generator is already running");if(r===p){if("throw"===i)throw o;return j()}for(n.method=i,n.arg=o;;){var a=n.delegate;if(a){var s=x(a,n);if(s){if(s===h)continue;return s}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(r===l)throw r=p,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);r=f;var c=u(e,t,n);if("normal"===c.type){if(r=n.done?p:d,c.arg===h)continue;return{value:c.arg,done:n.done}}"throw"===c.type&&(r=p,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",p="completed",h={};function m(){}function v(){}function g(){}var y={};y[o]=function(){return this};var b=Object.getPrototypeOf,_=b&&b(b(C([])));_&&_!==n&&r.call(_,o)&&(y=_);var w=g.prototype=m.prototype=Object.create(y);function E(e){["next","throw","return"].forEach(function(t){e[t]=function(e){return this._invoke(t,e)}})}function k(e,t){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 x(e,n){var r=e.iterator[n.method];if(r===t){if(n.delegate=null,"throw"===n.method){if(e.iterator.return&&(n.method="return",n.arg=t,x(e,n),"throw"===n.method))return h;n.method="throw",n.arg=new TypeError("The iterator does not provide a 'throw' method")}return h}var i=u(r,e.iterator,n.arg);if("throw"===i.type)return n.method="throw",n.arg=i.arg,n.delegate=null,h;var o=i.arg;return o?o.done?(n[e.resultName]=o.value,n.next=e.nextLoc,"return"!==n.method&&(n.method="next",n.arg=t),n.delegate=null,h):o:(n.method="throw",n.arg=new TypeError("iterator result is not an object"),n.delegate=null,h)}function S(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function T(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function O(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(S,this),this.reset(!0)}function C(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}},E(k.prototype),k.prototype[a]=function(){return this},e.AsyncIterator=k,e.async=function(t,n,r,i,o){void 0===o&&(o=Promise);var a=new k(c(t,n,r,i),o);return e.isGeneratorFunction(n)?a:a.next().then(function(e){return e.done?e.value:a.next()})},E(w),w[s]="Generator",w[o]=function(){return this},w.toString=function(){return"[object Generator]"},e.keys=function(e){var t=[];for(var n in e)t.push(n);return t.reverse(),function n(){for(;t.length;){var r=t.pop();if(r in e)return n.value=r,n.done=!1,n}return n.done=!0,n}},e.values=C,O.prototype={constructor:O,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,h):this.complete(a)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),h},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),T(n),h}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var r=n.completion;if("throw"===r.type){var i=r.arg;T(n)}return i}}throw new Error("illegal catch attempt")},delegateYield:function(e,n,r){return this.delegate={iterator:C(e),resultName:n,nextLoc:r},"next"===this.method&&(this.arg=t),h}},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},p=function(e,n){return t(e,function(e,t,r,i){return e.concat(n(t,r,i))},[])},h=d.schema,m={releaseStage:f({},h.releaseStage,{defaultValue:function(){return/^localhost(:\d+)?$/.test(window.location.host)?"development":"production"}}),logger:f({},h.logger,{defaultValue:function(){return"undefined"!=typeof console&&"function"==typeof console.debug?v():void 0}})},v=function(){var e={},t=console.log;return p(["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)},E=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",x=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 x(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:x},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 O=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:N(e),errorMessage:N(n),type:k,stacktrace:t(r,function(e,t){var n=C(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:p(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}(),C=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"}}},N=function(e){return"string"==typeof e?e:""};O.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[]}},O.create=function(e,t,n,r,i,o){void 0===i&&(i=0);var a,s=M(e,t,r,o),c=s[0],u=s[1];try{var l=O.getStacktrace(c,u>0?1+u+i:0,1+i);a=new O(c.name,c.message,l,n,e)}catch(t){a=new O(c.name,c.message,[],n,e)}return"InvalidError"===c.name&&a.addMetadata(""+r,"non-error parameter",P(e)),a};var P=function(e){return null===e?"null":void 0===e?"undefined":e},M=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&&E(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 E(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=O,R=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},D=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=D((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 D((Math.random()*G<<0).toString(Y),W)}function X(){var e=(new Date).getTime().toString(Y),t=D((V=V<G?V:0,++V-1).toString(Y),W),n=H(),r=K()+K();return"c"+e+t+n+r}X.fingerprint=H;var $=X,Q=function(){function e(){this.id=$(),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),p(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=R(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=R(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"+p(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=[],p=0,h=o.length;p<h;p++){if(s()){f.push(se);break}f.push(e(o[p],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={},pe=["events.[].metaData","events.[].breadcrumbs.[].metaData","events.[].request"];fe.event=function(e,t){var n=re(e,null,null,{redactedPaths:pe,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:pe,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 he={};he=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=he._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}}}},Ee={load:function(e){var n=/^dev(elopment)?$/.test(e._config.releaseStage);e._config.enabledBreadcrumbTypes&&r(e._config.enabledBreadcrumbTypes,"log")&&!n&&p(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]}),xe=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 h=p(["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=h[0];p(["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 Oe=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=Ce(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)}}},Ce=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:Pe(e)}:{to:Ae(e.location.href,e)};t.leaveBreadcrumb("Hash changed",r,"navigation")},!0),e.history.replaceState&&Ne(t,e.history,"replaceState",e),e.history.pushState&&Ne(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},Ne=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:Pe(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:[]))}},Pe=function(e){try{return e.history.state}catch(e){}},Me="request",Le="BS~~S",Ie="BS~~U",Re="BS~~M",De=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[Re]=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,Me):n.leaveBreadcrumb("fetch() succeeded",i,Me)},a=function(e,t){n.leaveBreadcrumb("fetch() error",{request:e+" "+t},Me)}}function s(){if(!r(i,this[Ie])){var e={status:this.status,request:this[Re]+" "+this[Ie]};this.status>=400?n.leaveBreadcrumb("XMLHttpRequest failed",e,Me):n.leaveBreadcrumb("XMLHttpRequest succeeded",e,Me)}}function c(){r(i,this[Ie])||n.leaveBreadcrumb("XMLHttpRequest error",{request:this[Re]+" "+this[Ie]},Me)}}};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)},[]);p(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&&p(i.errors[0].stacktrace,We(n)),t._notify(i,function(e){var t;E(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(),Oe(),De(),Ee,xe()],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?he: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 p(["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(906),i=n(907),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,p,h,m,v,g){var y=t;if("function"==typeof l?y=l(n,y):y instanceof Date?y=h(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 E=0;E<b.length;++E){var k=b[E];a&&null===y[k]||(s(y)?u(_,e(y[k],"function"==typeof i?i(n,k):n,i,o,a,c,l,f,p,h,m,v,g)):u(_,e(y[k],n+(p?"."+k:"["+k+"]"),i,o,a,c,l,f,p,h,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,p=[];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 h=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(p,f(r[v],v,h,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=p.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(906),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 p,h,m=l[n],v=m.indexOf("]="),g=-1===v?m.indexOf("="):v+1;-1===g?(p=t.decoder(m,o.decoder,f),h=t.strictNullHandling?null:""):(p=t.decoder(m.slice(0,g),o.decoder,f),h=t.decoder(m.slice(g+1),o.decoder,f)),h&&t.interpretNumericEntities&&"iso-8859-1"===f&&(h=a(h)),h&&t.comma&&h.indexOf(",")>-1&&(h=h.split(",")),i.call(s,p)?s[p]=r.combine(s[p],h):s[p]=h}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],p=s(f,c[f],n);u=r.merge(u,p,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){e.exports=
/** @license ISC License (c) copyright 2018 original and current authors */
function(e){return"symbol"==typeof e}},function(e,t,n){
/** @license ISC License (c) copyright 2017 original and current authors */
var r=n(913),i=n(668),o=n(1671),a=n(243),s=n(670),c=n(1674),u=n(1675),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,h(function(e){return d([e])},a)):a.map(function(e){return d([e])}).ap(n)}}var p=function(e){return e.reduce(function(e,t){return e&&a(t)},!0)},h=function(e,t){return t.map(function(t){return e(t)})};function m(e,t){if(!t.length||!p(t))throw new TypeError("Array.ap: Second Array must all be functions");return t.reduce(function(t,n){return t.concat(h(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:h,sequence:function(e,t){var n=u(e);return t.reduceRight(f("sequence",l),n([]))},traverse:function(e,t,n){var r=u(e);return n.reduceRight(f("traverse",t),r([]))}}},function(e,t,n){
/** @license ISC License (c) copyright 2016 original and current authors */
var r=n(429);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(911);e.exports=function(e){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(243);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(243);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 2016 original and current authors */
var r=n(912),i=n(429);e.exports=function(e){return r(e)||!!e&&i("concat",e)}},function(e,t,n){
/** @license ISC License (c) copyright 2018 original and current authors */
var r=n(1676),i=n(1677);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(429),i=n(913);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(243);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(429);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(1682);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(243);e.exports=function(e){return!!e&&r(e.then)&&r(e.catch)}},function(e,t,n){var r=n(916),i=n(671),o=n(917),a=n(1685),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(916),i=n(672);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){
/** @license ISC License (c) copyright 2017 original and current authors */
var r=n(237),i=n(664);e.exports=function(e){return i(e)&&r("bimap",e)}},function(e,t,n){var r=n(1688);e.exports=r},function(e,t,n){n(1689);var r=n(112);e.exports=r.Reflect.get},function(e,t,n){var r=n(44),i=n(151),o=n(102),a=n(182),s=n(293),c=n(417);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(1691);e.exports=r},function(e,t,n){var r=n(1692),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(1693);var r=n(162);e.exports=r("Function").bind},function(e,t,n){n(44)({target:"Function",proto:!0},{bind:n(801)})},function(e,t,n){var r=n(16);e.exports=r(!1)},function(e,t,n){var r=n(1696),i=n(19),o=n(146),a=n(1697);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(221),i=n(19),o=n(159);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(57),i=n(554),o=n(58),a=n(33),s=n(303),c=n(172),u=n(120),l=n(80);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(57),i=n(527);e.exports=r(function(e){return i(2,e)})},function(e,t,n){var r=n(75);e.exports=r(function(e){return e.apply(this,Array.prototype.slice.call(arguments,1))})},function(e,t,n){var r=n(19),i=n(1702),o=n(33);e.exports=r(function(e,t){return o(e,i(t))})},function(e,t,n){var r=n(1703),i=n(498),o=n(208),a=n(159);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(64);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(919),i=n(57);e.exports=i(function(e){return null!=e&&"function"==typeof e.clone?e.clone():r(e,[],[],!0)})},function(e,t,n){var r=n(57);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(57),i=n(921);e.exports=r(function(e){return i(e.length,e)})},function(e,t,n){var r=n(528);e.exports=r(function(e,t){return e+1},0)},function(e,t,n){var r=n(505),i=n(188),o=n(159);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(64);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(19),i=n(667),o=n(27),a=n(248),s=n(555),c=n(441);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(19),i=n(159);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(19),i=n(146),o=n(1714),a=n(1715);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(19),i=n(208),o=n(159);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(57),i=n(146),o=n(923),a=n(924),s=n(37);e.exports=r(i([],o(s),a(s)))},function(e,t,n){var r=n(19),i=n(146),o=n(1718);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(19),i=n(159);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(19),i=n(37),o=n(925);e.exports=r(function(e,t){return i(o(e.length,t),e)})},function(e,t,n){var r=n(64),i=n(37);e.exports=r(function(e,t,n){return i(e(t),e(n))})},function(e,t,n){var r=n(19),i=n(146),o=n(1722);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(19),i=n(159);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(19),i=n(94);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(413),i=n(19),o=n(528);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(19);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(19);e.exports=r(function(e,t){return e in t})},function(e,t,n){var r=n(528);e.exports=r(function(e,t){return t},null)},function(e,t,n){var r=n(191);e.exports=r(0,-1)},function(e,t,n){var r=n(529),i=n(64),o=n(636);e.exports=i(function(e,t,n){return o(function(t){return r(e,t,n)},t)})},function(e,t,n){var r=n(64);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(329),i=n(19),o=n(636),a=n(49),s=n(369);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(529),i=n(64),o=n(674);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(413),i=n(19);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(919),i=n(64),o=n(635),a=n(208),s=n(1735);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(662),s=n(638),c=n(498),u=n(635),l=n(144);e.exports=(r={"@@transducer/init":Array,"@@transducer/step":function(e,t){return e.push(t),e},"@@transducer/result":s},i={"@@transducer/init":String,"@@transducer/step":function(e,t){return e+t},"@@transducer/result":s},o={"@@transducer/init":Object,"@@transducer/step":function(e,t){return a(e,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(57),i=n(188),o=n(94);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(57),i=n(94);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(57);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(19),i=n(294),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(57),i=n(525),o=n(246),a=n(441);e.exports=r(function(e){return i(o(e),a(e))})},function(e,t,n){var r=n(64);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(64);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(19),i=n(667);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(64);e.exports=r(function(e,t,n){return e(n)>e(t)?n:t})},function(e,t,n){var r=n(57),i=n(926);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(371),i=n(419);e.exports=r(function(){return i(arguments)})},function(e,t,n){var r=n(64),i=n(530);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(64),i=n(675);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(19);e.exports=r(function(e,t){return t<e?t:e})},function(e,t,n){var r=n(64);e.exports=r(function(e,t,n){return e(n)<e(t)?n:t})},function(e,t,n){var r=n(19);e.exports=r(function(e,t){return e%t})},function(e,t,n){var r=n(826),i=n(19),o=n(146),a=n(904),s=n(370);e.exports=i(r(o(["any"],a,s)))},function(e,t,n){var r=n(57),i=n(58),o=n(246);e.exports=r(function(e){return i(e<0?1:e+1,function(){return o(e,arguments)})})},function(e,t,n){var r=n(64);e.exports=r(function(e,t,n){return e(t(n))})},function(e,t,n){var r=n(240),i=n(57);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(19);e.exports=r(function(e,t){return[e,t]})},function(e,t,n){var r=n(221),i=n(903),o=n(49);e.exports=i(o(r))},function(e,t,n){var r=n(53),i=n(442),o=n(128);e.exports=i([r,o])},function(e,t,n){var r=n(19);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(920),i=n(499);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(247),i=n(120);e.exports=i(r,1)},function(e,t,n){var r=n(504),i=n(43),o=n(927),a=n(928);e.exports=a(r,[o,i])},function(e,t,n){var r=n(64),i=n(699);e.exports=r(function(e,t,n){return i(e,n[t])})},function(e,t,n){var r=n(505),i=n(208),o=n(296);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(57),i=n(296);e.exports=r(i)},function(e,t,n){var r=n(19),i=n(16),o=n(700);e.exports=r(function(e,t){return o(i(e),t)})},function(e,t,n){var r=n(64);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(19);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(19),i=n(191);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(19);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(19);e.exports=r(function(e,t){return Number(e)-Number(t)})},function(e,t,n){var r=n(64),i=n(55),o=n(922);e.exports=r(function(e,t,n){return i(o(e,t,n),o(e,n,t))})},function(e,t,n){var r=n(19);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(19),i=n(146),o=n(1775);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(19),i=n(296),o=n(159);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(57);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(57);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(64),i=n(33),o=n(930);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(240),i=n(221),o=n(19);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(57);e.exports=r(function(e){return function(){return e(Array.prototype.slice.call(arguments,0))}})},function(e,t,n){var r=n(19);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(221),i=n(19),o=n(7),a=n(369);e.exports=i(o(a,r))},function(e,t,n){var r=n(221),i=n(64),o=n(674);e.exports=i(function(e,t,n){return o(e,r(t,n))})},function(e,t,n){var r=n(638),i=n(673);e.exports=i(r)},function(e,t,n){var r=n(64);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(57);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(19);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(19);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(64);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(1791);n(1795),n(1796),n(1797),n(1798),n(1799),n(1800),n(1801),n(1802),n(1803),n(1804),n(1806),n(1807),n(1808),n(1809),n(1810),n(1811),n(1812),n(1813),n(1814),n(1815),e.exports=r},function(e,t,n){n(1792),n(600),n(356),n(328);var r=n(112);e.exports=r.Map},function(e,t,n){"use strict";var r=n(1232),i=n(1794);e.exports=r("Map",function(e){return function(){return e(this,arguments.length?arguments[0]:void 0)}},i)},function(e,t,n){var r=n(127);e.exports=!r(function(){return Object.isExtensible(Object.preventExtensions({}))})},function(e,t,n){"use strict";var r=n(220).f,i=n(326),o=n(506),a=n(176),s=n(400),c=n(143),u=n(634),l=n(891),d=n(166),f=n(676).fastKey,p=n(273),h=p.set,m=p.getterFor;e.exports={getConstructor:function(e,t,n,u){var l=e(function(e,r){s(e,l,t),h(e,{type:t,index:i(null),first:void 0,last:void 0,size:0}),d||(e.size=0),null!=r&&c(r,e[u],{that:e,AS_ENTRIES:n})}),p=m(t),v=function(e,t,n){var r,i,o=p(e),a=g(e,t);return a?a.value=n:(o.last=a={index:i=f(t,!0),key:t,value:n,previous:r=o.last,next:void 0,removed:!1},o.first||(o.first=a),r&&(r.next=a),d?o.size++:e.size++,"F"!==i&&(o.index[i]=a)),e},g=function(e,t){var n,r=p(e),i=f(t);if("F"!==i)return r.index[i];for(n=r.first;n;n=n.next)if(n.key==t)return n};return o(l.prototype,{clear:function(){for(var e=p(this),t=e.index,n=e.first;n;)n.removed=!0,n.previous&&(n.previous=n.previous.next=void 0),delete t[n.index],n=n.next;e.first=e.last=void 0,d?e.size=0:this.size=0},delete:function(e){var t=p(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=p(this),r=a(e,arguments.length>1?arguments[1]:void 0,3);t=t?t.next:n.first;)for(r(t.value,t.key,this);t&&t.removed;)t=t.previous},has:function(e){return!!g(this,e)}}),o(l.prototype,n?{get:function(e){var t=g(this,e);return t&&t.value},set:function(e,t){return v(this,0===e?0:e,t)}}:{add:function(e){return v(this,e=0===e?0:e,e)}}),d&&r(l.prototype,"size",{get:function(){return p(this).size}}),l},setStrong:function(e,t,n){var r=t+" Iterator",i=m(t),o=m(r);u(e,t,function(e,t){h(this,{type:r,target:e,state:i(e),kind:t,last:void 0})},function(){for(var e=o(this),t=e.kind,n=e.last;n&&n.removed;)n=n.previous;return e.target&&(e.last=n=n?n.next:e.state.first)?"keys"==t?{value:n.key,done:!1}:"values"==t?{value:n.value,done:!1}:{value:[n.key,n.value],done:!1}:(e.target=void 0,{value:void 0,done:!0})},n?"entries":"values",!n,!0),l(t)}}},function(e,t,n){n(44)({target:"Map",stat:!0},{from:n(1233)})},function(e,t,n){n(44)({target:"Map",stat:!0},{of:n(1234)})},function(e,t,n){"use strict";var r=n(44),i=n(111),o=n(1235);r({target:"Map",proto:!0,real:!0,forced:i},{deleteAll:function(){return o.apply(this,arguments)}})},function(e,t,n){"use strict";n(44)({target:"Map",proto:!0,real:!0,forced:n(111)},{emplace:n(1236)})},function(e,t,n){"use strict";var r=n(44),i=n(111),o=n(102),a=n(176),s=n(244),c=n(143);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(44),i=n(111),o=n(187),a=n(102),s=n(155),c=n(176),u=n(426),l=n(244),d=n(143);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(44),i=n(111),o=n(102),a=n(176),s=n(244),c=n(143);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(44),i=n(111),o=n(102),a=n(176),s=n(244),c=n(143);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(44),i=n(143),o=n(155);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(44),i=n(111),o=n(102),a=n(244),s=n(1805),c=n(143);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(44),i=n(143),o=n(155);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(44),i=n(111),o=n(102),a=n(244),s=n(143);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(44),i=n(111),o=n(187),a=n(102),s=n(155),c=n(176),u=n(426),l=n(244),d=n(143);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(44),i=n(111),o=n(187),a=n(102),s=n(155),c=n(176),u=n(426),l=n(244),d=n(143);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(44),i=n(111),o=n(102),a=n(155),s=n(143);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(44),i=n(111),o=n(102),a=n(155),s=n(244),c=n(143);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(44),i=n(111),o=n(102),a=n(176),s=n(244),c=n(143);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(44),i=n(111),o=n(102),a=n(155);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(44)({target:"Map",proto:!0,real:!0,forced:n(111)},{upsert:n(767)})},function(e,t,n){"use strict";n(44)({target:"Map",proto:!0,real:!0,forced:n(111)},{updateOrInsert:n(767)})},function(e,t,n){var r=n(1817);e.exports=r},function(e,t,n){n(328);var r=n(1818),i=n(348),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(1819);e.exports=r},function(e,t,n){n(478);var r=n(162);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(14),i=n(47),o=n(4),a=n(677),s=n(276),c=n(932),u=n(933),l=n(1822),d=n(1823);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(280);
/** @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(14),o=n(41),a=n(935),s=n(677),c=n(1826),u=n(276),l=n(678),d=n(936),f=n(1831),p=function(e){return e},h=function(e){return function(t){return r(e).call(e,t)}};function m(e,t){return function(n,r){var o=t(r);if(!a(n)&&!s(n)||!l(n,o))throw new TypeError("Array."+e+": Must wrap Applys of the same type");return s(o)?y(n,g(function(e){return h([e])},o)):i(o).call(o,function(e){return h([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",p),n([]))},set:function(e,t,n){var r=o(n).call(n);return r[e]=t,r},traverse:function(e,t,n){var r=f(e);return n.reduceRight(m("traverse",t),r([]))},unset:function(e,t){var n;return r(n=o(t).call(t,0,e)).call(n,o(t).call(t,e+1))}}},function(e,t,n){
/** @license ISC License (c) copyright 2016 original and current authors */
var r=n(333);e.exports=function(e){return!!e&&r("map",e)}},function(e,t,n){var r=n(47),i=n(932),o=n(1827),a=n(1828),s=n(531);
/** @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(333),i=n(936);e.exports=function(e){return i(e)&&(r("empty",e)||r("empty",e.constructor))}},function(e,t,n){var r=n(47),i=n(678),o=n(1830),a=n(333),s=n(937),c=n(531),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(276);
/** @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(1832),i=n(1833);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(333),i=n(935);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(276);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(333);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(1839);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(276);e.exports=function(e){return!!e&&r(e.then)&&r(e.catch)}},function(e,t,n){"use strict";var r=n(201),i=n(938),o=n(1842),a=n(944);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(941));c.Axios=o,c.create=function(e){return s(a(c.defaults,e))},c.Cancel=n(945),c.CancelToken=n(1855),c.isCancel=n(940),c.all=function(e){return Promise.all(e)},c.spread=n(1856),e.exports=c,e.exports.default=c},function(e,t,n){"use strict";var r=n(201),i=n(939),o=n(1843),a=n(1844),s=n(944);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(201);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(201),i=n(1845),o=n(940),a=n(941);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(201);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(201);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(943);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(1850),i=n(1851);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(201),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(201);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(201);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(945);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(1858),i=n(1862);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(420),i=n(1859),o=n(644),a=n(1860);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(946),i=n(206)(r("tail",n(1861)(1,1/0)));e.exports=i},function(e,t,n){var r=n(946),i=n(358)(r("slice",function(e,t,n){return Array.prototype.slice.call(n,e,t)}));e.exports=i},function(e,t,n){var r=n(206),i=n(829),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(177)(function(e,t){return null!=t&&t.constructor===e||t instanceof e});e.exports=r},function(e,t,n){var r=n(358)(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(1866),i=n(1867),o=n(949).type("Async"),a=n(949).typeFn(o(),5),s=n(532),c=n(1870),u=n(1880),l=n(1881),d=n(1882),f=n(679),p=n(1883),h=n(277),m=n(1884),v=n(1886),g=n(680),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(!h(e))throw new TypeError("Async: Function required");var n=b,r=function(){return"Async"+i(e)};function c(t,n,r){if(!h(t)||!h(n))throw new TypeError("Async.fork: Reject and resolve functions required");var i=!1,o=!1,a=h(r)?r:d,s=function(e,t){if(!o)return o=!0,i?d():e(t)},c=e(s.bind(null,t),s.bind(null,n)),u=h(c)?c:d;return l(function(){return a((u(),void(i=!0)))})}function f(e){return function(t){if(!h(t))throw new TypeError("Async."+e+": Function required");return _(function(e,n){return c(e,u(n,t))})}}function p(e){return function(t,n){if(!h(t)||!h(n))throw new TypeError("Async."+e+": Functions required for both arguments");return _(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(!h(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(!h(e)||!h(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(!h(e)||!h(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 p=c(d,function(e){if(!h(e))throw new TypeError("Async.ap: Wrapped value must be a function");o=!0,r=e,f()}),m=e.fork(d,function(e){a=!0,i=e,f()});return function(){p(),m(),s=!0}})},of:n,alt:m("alt"),bimap:p("bimap"),map:f("map"),chain:v("chain"),bichain:function(e,t){var n="Async.bichain: Both arguments must be Async returning functions";if(!h(e)||!h(t))throw new TypeError(n);return _(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]=p(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(!h(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(!h(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(!p(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(679),i=n(277),o=n(947),a=n(948),s=n(1868),c=n(1869);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(950),i=n(679),o=n(1872),a=n(277),s=n(680),c=n(951),u=n(1877),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,h(function(e){return d([e])},a)):a.map(function(e){return d([e])}).ap(n)}}var p=function(e){return e.reduce(function(e,t){return e&&a(t)},!0)},h=function(e,t){return t.map(function(t){return e(t)})};function m(e,t){if(!t.length||!p(t))throw new TypeError("Array.ap: Second Array must all be functions");return t.reduce(function(t,n){return t.concat(h(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:h,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(334);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(947),i=n(1873),o=n(1874),a=n(532);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(334),i=n(951);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(680),i=n(1876),o=n(334),a=n(952),s=n(532),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(277);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(1878),i=n(1879);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(334),i=n(950);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(277);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(334);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(1885);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(277);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,p=(s=Object.keys,c=Object,function(e){return s(c(e))}),h=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)&&E(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 E(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 x=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?E(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=h(void 0===n?t.length-1:n,0),function(){for(var e=arguments,r=-1,i=h(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)||E(t))!function(e,t,n,r){n||(n={});for(var i=-1,o=t.length;++i<o;){var a=t[i],s=r?r(n[a],e[a],a,n,e):void 0;g(n,a,void 0===s?e[a]:s)}}(t,function(e){return E(e)?v(e):function(e){if(!b(e))return p(e);var t=[];for(var n in Object(e))l.call(e,n)&&"constructor"!=n&&t.push(n);return t}(e)}(t),e);else for(var n in t)l.call(t,n)&&g(e,n,t[n])});e.exports=x},function(e,t,n){var r=n(177)(function(e,t){return e.apply(this,t)});e.exports=r},function(e,t,n){var r=n(358),i=n(330),o=r(function(e,t,n){return i(Math.max(e.length,t.length,n.length),function(){return e.apply(this,arguments)?t.apply(this,arguments):n.apply(this,arguments)})});e.exports=o},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,p=700,h=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,E=Math.floor,k=String.fromCharCode;function x(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 O(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 C(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?E(e/p):e>>1,e+=E(e/t);e>w*d>>1;r+=u)e=E(e/w);return E(r+(w+1)*e/(e+f))}function N(e){var t,n,r,i,o,a,s,f,p,g,y,b=[],_=e.length,w=0,k=m,S=h;for((n=e.lastIndexOf(v))<0&&(n=0),r=0;r<n;++r)e.charCodeAt(r)>=128&&x("not-basic"),b.push(e.charCodeAt(r));for(i=n>0?n+1:0;i<_;){for(o=w,a=1,s=u;i>=_&&x("invalid-input"),((f=(y=e.charCodeAt(i++))-48<10?y-22:y-65<26?y-65:y-97<26?y-97:u)>=u||f>E((c-w)/a))&&x("overflow"),w+=f*a,!(f<(p=s<=S?l:s>=S+d?d:s-S));s+=u)a>E(c/(g=u-p))&&x("overflow"),a*=g;S=A(w-o,t=b.length+1,0==o),E(w/t)>c-k&&x("overflow"),k+=E(w/t),w%=t,b.splice(w++,0,k)}return C(b)}function P(e){var t,n,r,i,o,a,s,f,p,g,y,b,_,w,S,T=[];for(b=(e=O(e)).length,t=m,n=0,o=h,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>E((c-n)/(_=r+1))&&x("overflow"),n+=(s-t)*_,t=s,a=0;a<b;++a)if((y=e[a])<t&&++n>c&&x("overflow"),y==t){for(f=n,p=u;!(f<(g=p<=o?l:p>=o+d?d:p-o));p+=u)S=f-g,w=u-g,T.push(k(j(g+S%w,0))),f=E(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:O,encode:C},decode:N,encode:P,toASCII:function(e){return T(e,function(e){return y.test(e)?"xn--"+P(e):e})},toUnicode:function(e){return T(e,function(e){return g.test(e)?N(e.slice(4).toLowerCase()):e})}},void 0===(i=function(){return s}.call(t,n,t,e))||(e.exports=i)}()}).call(this,n(274)(e),n(108))},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(1894),t.encode=t.stringify=n(1895)},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,p,h,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=""),p=decodeURIComponent(d),h=decodeURIComponent(f),r(a,p)?i(a[p])?a[p].push(h):a[p]=[a[p],h]:a[p]=h}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(1897);e.exports=r},function(e,t,n){n(1898);var r=n(112);e.exports=r.Number.isNaN},function(e,t,n){n(44)({target:"Number",stat:!0},{isNaN:function(e){return e!=e}})},function(e,t,n){var r=n(1900);e.exports=r},function(e,t,n){var r=n(1901),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(1902);var r=n(162);e.exports=r("String").padStart},function(e,t,n){"use strict";var r=n(44),i=n(1903).start;r({target:"String",proto:!0,forced:n(1905)},{padStart:function(e){return i(this,e,arguments.length>1?arguments[1]:void 0)}})},function(e,t,n){var r=n(236),i=n(1904),o=n(272),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),p=r(n);return p<=d||""==f?l:(c=p-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(495),i=n(272);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(399);e.exports=/Version\/10(?:\.\d+){1,2}(?: [\w./]+)?(?: Mobile\/\w+)? Safari\//.test(r)},function(e,t,n){var r=n(1907);e.exports=r},function(e,t,n){var r=n(1908),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(1909);var r=n(162);e.exports=r("Array").find},function(e,t,n){"use strict";var r=n(44),i=n(355).find,o=n(479),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){"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(237),i=n(481);e.exports=function(e){return i(e)&&r("chain",e)}},function(e,t,n){var r=n(534);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(534);e.exports=r(function(e,t){return[t,e]})},function(e,t,n){var r=n(534);e.exports=r(function(e,t){return{type:e,payload:t,error:!0}})},function(e,t,n){var r=n(534);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(1920),i=n(1922);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(681);e.exports=r(n(1921))},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(1923),i=n(1924),o=n(1927).type("IO"),a=n(1928),s=n(431),c=n(1929),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(953),i=n(431),o=n(1925),a=n(1926);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(681),i=n(953),o=n(431),a=n(1930);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){},function(e,t,n){},function(e,t,n){var r=n(177),i=n(507),o=n(954),a=r(function(e,t){return i(o(e),t)});e.exports=a},function(e,t,n){var r=n(177)(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(177)(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(177)(function(e,t){return e in t});e.exports=r},function(e,t,n){var r=n(358)(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(300),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(1127).default,i=n(76);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(1945),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)"},p={v:"title",lang:"lang"},h={rt:"ruby"};function m(e,t){function n(){if(!t)return null;var e,n=t.match(/^([^<]*)(<[^>]*>?)?/);return e=n[1]?n[1]:n[2],t=t.substr(e.length),e}function r(e,t){return!h[t.localName]||h[t.localName]===e.localName}function i(t,n){var r=d[t];if(!r)return null;var i=e.document.createElement(r),o=p[t];return o&&n&&(i[o]=n.trim()),i}for(var o,s,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 E(e,t,n,r){var i=new w(t),o=t.cue,a=function(e){if("number"==typeof e.line&&(e.snapToLines||e.line>=0&&e.line<=100))return e.line;if(!e.track||!e.track.textTrackList||!e.track.textTrackList.mediaElement)return-1;for(var t=e.track,n=t.textTrackList,r=0,i=0;i<n.length&&n[i]!==t;i++)"showing"===n[i].mode&&r++;return-1*++r}(o),s=[];if(o.snapToLines){var 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 p=i.lineHeight/n.height*100;switch(o.lineAlign){case"center":a-=p/2;break;case"end":a-=p}switch(o.vertical){case"":t.applyStyles({top:t.formatStyle(a,"%")});break;case"rl":t.applyStyles({left:t.formatStyle(a,"%")});break;case"lr":t.applyStyles({right:t.formatStyle(a,"%")})}s=["+y","-x","+x","-y"],i=new w(t)}var h=function(e,t){for(var i,o=new w(e),a=1,s=0;s<t.length;s++){for(;e.overlapsOppositeAxis(n,t[s])||e.within(n)&&e.overlapsAny(r);)e.move(t[s]);if(e.within(n))return e;var c=e.intersectPercentage(n);a>c&&(i=new w(e),a=c),e=new w(o)}return i||o}(i,s);t.move(h.toCSSCompatValues(n))}function k(){}b.prototype.applyStyles=function(e,t){for(var n in t=t||this.div,e)e.hasOwnProperty(n)&&(t.style[n]=e[n])},b.prototype.formatStyle=function(e,t){return 0===e?0:e+t},_.prototype=i(b.prototype),_.prototype.constructor=_,w.prototype.move=function(e,t){switch(t=void 0!==t?t:this.lineHeight,e){case"+x":this.left+=t,this.right+=t;break;case"-x":this.left-=t,this.right-=t;break;case"+y":this.top+=t,this.bottom+=t;break;case"-y":this.top-=t,this.bottom-=t}},w.prototype.overlaps=function(e){return this.left<e.right&&this.right>e.left&&this.top<e.bottom&&this.bottom>e.top},w.prototype.overlapsAny=function(e){for(var t=0;t<e.length;t++)if(this.overlaps(e[t]))return!0;return!1},w.prototype.within=function(e){return this.top>=e.top&&this.bottom<=e.bottom&&this.left>=e.left&&this.right<=e.right},w.prototype.overlapsOppositeAxis=function(e,t){switch(t){case"+x":return this.left<e.left;case"-x":return this.right>e.right;case"+y":return this.top<e.top;case"-y":return this.bottom>e.bottom}},w.prototype.intersectPercentage=function(e){return Math.max(0,Math.min(this.right,e.right)-Math.max(this.left,e.left))*Math.max(0,Math.min(this.bottom,e.bottom)-Math.max(this.top,e.top))/(this.height*this.width)},w.prototype.toCSSCompatValues=function(e){return{top:this.top-e.top,bottom:e.bottom-this.bottom,left:this.left-e.left,right:e.right-this.right,height:this.height,width:this.width}},w.getSimpleBoxPosition=function(e){var t=e.div?e.div.offsetHeight:e.tagName?e.offsetHeight:0,n=e.div?e.div.offsetWidth:e.tagName?e.offsetWidth:0,r=e.div?e.div.offsetTop:e.tagName?e.offsetTop:0;return{left:(e=e.div?e.div.getBoundingClientRect():e.tagName?e.getBoundingClientRect():e).left,right:e.right,top:e.top||r,height:e.height||t,bottom:e.bottom||r+(e.height||t),width:e.width||n}},k.StringDecoder=function(){return{decode:function(e){if(!e)return"";if("string"!=typeof e)throw new Error("Error - expected string data.");return decodeURIComponent(encodeURIComponent(e))}}},k.convertCueToDOMTree=function(e,t){return e&&t?m(e,t):null};k.processCues=function(e,t,n){if(!e||!t||!n)return null;for(;n.firstChild;)n.removeChild(n.firstChild);var r=e.document.createElement("div");if(r.style.position="absolute",r.style.left="0",r.style.right="0",r.style.top="0",r.style.bottom="0",r.style.margin="1.5%",n.appendChild(r),function(e){for(var t=0;t<e.length;t++)if(e[t].hasBeenReset||!e[t].displayState)return!0;return!1}(t)){var i=[],o=w.getSimpleBoxPosition(r),a={font:Math.round(.05*o.height*100)/100+"px sans-serif"};!function(){for(var n,s,c=0;c<t.length;c++)s=t[c],n=new _(e,s,a),r.appendChild(n.div),E(0,n,o,i),s.displayState=n.div,i.push(w.getSimpleBoxPosition(n))}()}else for(var s=0;s<t.length;s++)r.appendChild(t[s].displayState)},k.Parser=function(e,t,n){n||(n=t,t={}),t||(t={}),this.window=e,this.vttjs=t,this.state="INITIAL",this.buffer="",this.decoder=n||new TextDecoder("utf8"),this.regionList=[]},k.Parser.prototype={reportOrThrowError:function(e){if(!(e instanceof o))throw e;this.onparsingerror&&this.onparsingerror(e)},parse:function(e){var t=this;function n(){for(var e=t.buffer,n=0;n<e.length&&"\r"!==e[n]&&"\n"!==e[n];)++n;var r=e.substr(0,n);return"\r"===e[n]&&++n,"\n"===e[n]&&++n,t.buffer=e.substr(n),r}function r(e){e.match(/X-TIMESTAMP-MAP/)?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(1946);"undefined"!=typeof document?r=document:(r=i["__GLOBAL_DOCUMENT_CACHE@4"])||(r=i["__GLOBAL_DOCUMENT_CACHE@4"]=o),e.exports=r}).call(this,n(108))},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="",p=!0,h="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 p},set:function(e){p=!!e,this.hasBeenReset=!0}},line:{enumerable:!0,get:function(){return h},set:function(e){if("number"!=typeof e&&e!==n)throw new SyntaxError("Line: an invalid number or illegal string was specified.");h=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 p(){}function h(e,t){return t.lineNumber=e.lineNumber,t.columnNumber=e.columnNumber,t}function m(e,t,n,r,i,p){for(var h,m=++t,v=o;;){var g=e.charAt(m);switch(g){case"=":if(v===a)h=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&&(p.warning('attribute value must after "="'),h=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(h,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(h,y,t),p.warning('attribute "'+h+'" 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 p.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=h),v==u?(p.warning('attribute "'+y+'" missed quot(")!!'),n.add(h,y.replace(/&#?\w+;/g,i),t)):("http://www.w3.org/1999/xhtml"===r[""]&&y.match(/^(?:disabled|checked|selected)$/i)||p.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:h=e.slice(t,m),v=s;break;case u:var y=e.slice(t,m).replace(/&#?\w+;/g,i);p.warning('attribute "'+y+'" missed quot(")!!'),n.add(h,y,t);case l:v=d}else switch(v){case s:n.tagName;"http://www.w3.org/1999/xhtml"===r[""]&&h.match(/^(?:disabled|checked|selected)$/i)||p.warning('attribute "'+h+'" missed value!! "'+h+'" instead2!!'),n.add(h,h,t),t=m,v=a;break;case l:p.warning('attribute space is required"'+h+'"!!');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 p=e.uri=n[u||""];if(t.startElement(p,l,r,e),!e.closed)return e.currentNSMap=n,e.localNSMap=i,!0;if(t.endElement(p,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 E(e){}function k(e,t){return e.__proto__=t,e}p.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}],p={},b=0;for(;;){try{var k=e.indexOf("<",b);if(k<0){if(!e.substr(b).match(/^\s*$/)){var x=r.doc,S=x.createTextNode(e.substr(b));x.appendChild(S),r.currentElement=S}return}switch(k>b&&a(k),e.charAt(k+1)){case"/":var T=e.indexOf(">",k+3),O=e.substring(k+2,T),C=f.pop();T<0?(O=e.substring(k+2).replace(/[\s<].*/,""),i.error("end tag name: "+O+" is not complete:"+C.tagName),T=k+1+O.length):O.match(/\s</)&&(O=O.replace(/[\s<].*/,""),i.error("end tag name: "+O+" maybe not complete"),T=k+1+O.length);var j=C.localNSMap,A=C.tagName==O,N=A||C.tagName&&C.tagName.toLowerCase()==O.toLowerCase();if(N){if(r.endElement(C.uri,C.localName,O),j)for(var P in j)r.endPrefixMapping(P);A||i.fatalError("end tag name: "+O+" is not match the current start tagName:"+C.tagName)}else f.push(C);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 M=new E,L=f[f.length-1].currentNSMap,T=m(e,k,M,L,o,i),I=M.length;if(!M.closed&&y(e,T,M.tagName,p)&&(M.closed=!0,n.nbsp||i.warning("unclosed xml attribute")),d&&I){for(var R=h(d,{}),D=0;D<I;D++){var B=M[D];s(B.offset),B.locator=h(d,{})}r.locator=R,v(M,r,L)&&f.push(M),r.locator=d}else v(M,r,L)&&f.push(M);"http://www.w3.org/1999/xhtml"!==M.uri||M.closed?T++:T=g(e,T,M.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()}},E.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=p},function(e,t,n){"use strict";var r=n(958),i=n(957),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(958),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(959),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){"use strict";var r=n(3),i=n.n(r),o=n(9),a=n(10),s=n(6),c=n(471),u=n(11),l=n(13),d=n(5),f=n(8),p=n(587);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 m=function(e){Object(u.a)(n,e);var t=h(n);function n(e){var r;return Object(o.a)(this,n),r=t.call(this,e,[]),Object(f.a)(Object(s.a)(r),"seekDisabled",!1),Object(f.a)(Object(s.a)(r),"maxTime",0),r}return Object(a.a)(n,[{key:"disableSeek",value:function(){this.seekDisabled=!0}},{key:"setMaxTime",value:function(e){this.maxTime=e}},{key:"handleMouseMove",value:function(e){if(!this.seekDisabled)return Object(c.a)(Object(d.a)(n.prototype),"handleMouseMove",this).call(this,e);var t=this.player(),r=this.calculateDistance(e)*t.duration();r>this.maxTime?(this.trigger("showRestrictSeekTooltip",!0),r=this.maxTime):this.trigger("showRestrictSeekTooltip",!1),r===t.duration()&&(r-=.1),t.currentTime(r)}}]),n}(p.default.getComponent("SeekBar"));p.default.registerComponent("SeekBar",m)},function(e,t,n){var r=n(317),i=n(1959),o=n(883),a="Expected a function",s=Math.max,c=Math.min;e.exports=function(e,t,n){var u,l,d,f,p,h,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-h;return void 0===h||n>=t||n<0||g&&e-m>=d}function w(){var e=i();if(_(e))return E(e);p=setTimeout(w,function(e){var n=t-(e-h);return g?c(n,d-(e-m)):n}(e))}function E(e){return p=void 0,y&&u?b(e):(u=l=void 0,f)}function k(){var e=i(),n=_(e);if(u=arguments,l=this,h=e,n){if(void 0===p)return function(e){return m=e,p=setTimeout(w,t),v?b(e):f}(h);if(g)return clearTimeout(p),p=setTimeout(w,t),b(h)}return void 0===p&&(p=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!==p&&clearTimeout(p),m=0,u=h=l=p=void 0},k.flush=function(){return void 0===p?f:E(i())},k}},function(e,t,n){var r=n(242);e.exports=function(){return r.Date.now()}},function(e,t,n){},function(e,t,n){n(280),n(138),n(1962);e.exports=n(1965)()},function(e,t,n){e.exports=n(1963)},function(e,t,n){var r=n(1964);e.exports=r},function(e,t,n){n(629);var r=n(112);e.exports=r.Symbol.for},function(e,t,n){"use strict";var r=n(432),i=n(433),o=n(1966);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(1971),a=u(n(1978)),s=u(n(1980)),c=n(535);function u(e){return e&&e.__esModule?e:{default:e}}var l=(0,c.canUseDOM)()&&n(1981),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 p=[],h=f;h<f+e.slidesPerRow&&(e.variableWidth&&a[h].props.style&&(u=a[h].props.style.width),!(h>=a.length));h+=1)p.push(i.default.cloneElement(a[h],{key:100*l+10*f+h,tabIndex:-1,style:{width:100/e.slidesPerRow+"%",display:"inline-block"}}));d.push(i.default.createElement("div",{key:10*l+f},p))}e.variableWidth?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(88)),s=m(n(1972)),c=m(n(1973)),u=m(n(2)),l=n(535),d=n(1974),f=n(1975),p=n(1976),h=m(n(1977));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 h.default(function(){m.state.animating?(m.onWindowResized(!1),m.callbackTimers.push(setTimeout(function(){return m.onWindowResized()},m.props.speed))):m.onWindowResized()}),m.ro.observe(m.list),Array.prototype.forEach.call(document.querySelectorAll(".slick-slide"),function(e){e.onfocus=m.props.pauseOnFocus?m.onSlideFocus:null,e.onblur=m.props.pauseOnFocus?m.onSlideBlur:null}),window&&(window.addEventListener?window.addEventListener("resize",m.onWindowResized):window.attachEvent("onresize",m.onWindowResized))},m.componentWillUnmount=function(){m.animationEndCallback&&clearTimeout(m.animationEndCallback),m.lazyLoadTimer&&clearInterval(m.lazyLoadTimer),m.callbackTimers.length&&(m.callbackTimers.forEach(function(e){return clearTimeout(e)}),m.callbackTimers=[]),window.addEventListener?window.removeEventListener("resize",m.onWindowResized):window.detachEvent("onresize",m.onWindowResized),m.autoplayTimer&&clearInterval(m.autoplayTimer)},m.componentWillReceiveProps=function(e){var t=i({listRef:m.list,trackRef:m.track},e,m.state),n=!1,a=Object.keys(m.props),s=Array.isArray(a),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 p=o.default.Children.count(m.props.children),h=i({},m.props,m.state,{slideCount:p}),v=(0,l.getPreClones)(h)+(0,l.getPostClones)(h)+p,g=100/m.props.slidesToShow*v,y=100/v,b=-y*((0,l.getPreClones)(h)+m.state.currentSlide)*g/100;m.props.centerMode&&(b+=(100-y*g/100)/2);var _={width:g+"%",left:b+"%"};m.setState({slideWidth:y+"%",trackStyle:_})}},m.checkImagesLoad=function(){var e=document.querySelectorAll(".slick-slide img"),t=e.length,n=0;Array.prototype.forEach.call(e,function(e){var r=function(){return++n&&n>=t&&m.onWindowResized()};if(e.onclick){var i=e.onclick;e.onclick=function(){i(),e.parentNode.focus()}}else e.onclick=function(){return e.parentNode.focus()};e.onload||(m.props.lazyLoad?e.onload=function(){m.adaptHeight(),m.callbackTimers.push(setTimeout(m.onWindowResized,m.props.speed))}:(e.onload=r,e.onerror=function(){r(),m.props.onLazyLoadError&&m.props.onLazyLoadError()}))})},m.progressiveLazyLoad=function(){for(var e=[],t=i({},m.props,m.state),n=m.state.currentSlide;n<m.state.slideCount+(0,l.getPostClones)(t);n++)if(m.state.lazyLoadedList.indexOf(n)<0){e.push(n);break}for(var r=m.state.currentSlide-1;r>=-(0,l.getPreClones)(t);r--)if(m.state.lazyLoadedList.indexOf(r)<0){e.push(r);break}e.length>0?(m.setState(function(t){return{lazyLoadedList:t.lazyLoadedList.concat(e)}}),m.props.onLazyLoad&&m.props.onLazyLoad(e)):m.lazyLoadTimer&&(clearInterval(m.lazyLoadTimer),delete m.lazyLoadTimer)},m.slideHandler=function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=m.props,r=n.asNavFor,o=n.beforeChange,a=n.onLazyLoad,s=n.speed,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,p=d.nextState;if(f){o&&o(u,f.currentSlide);var h=f.lazyLoadedList.filter(function(e){return m.state.lazyLoadedList.indexOf(e)<0});a&&h.length>0&&a(h),m.setState(f,function(){r&&r.innerSlider.state.currentSlide!==u&&r.innerSlider.slideHandler(e),p&&(m.animationEndCallback=setTimeout(function(){var e=p.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}(p,["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 h=(0,l.extractObject)(a,["dotsClass","slideCount","slidesToShow","currentSlide","slidesToScroll","clickHandler","children","customPaging","infinite","appendDots"]),v=m.props.pauseOnDotsHover;h=i({},h,{clickHandler:m.changeSlide,onMouseEnter:v?m.onDotsLeave:null,onMouseOver:v?m.onDotsOver:null,onMouseLeave:v?m.onDotsLeave:null}),e=o.default.createElement(f.Dots,h)}var g=(0,l.extractObject)(a,["infinite","centerMode","currentSlide","slideCount","slidesToShow","prevArrow","nextArrow"]);g.clickHandler=m.changeSlide,m.props.arrows&&(t=o.default.createElement(p.PrevArrow,g),n=o.default.createElement(p.NextArrow,g));var y=null;m.props.vertical&&(y={height:m.state.listHeight});var b=null;!1===m.props.vertical?!0===m.props.centerMode&&(b={padding:"0px "+m.props.centerPadding}):!0===m.props.centerMode&&(b={padding:m.props.centerPadding+" 0px"});var _=i({},y,b),w=m.props.touchMove,E={className:"slick-list",style:_,onClick:m.clickHandler,onMouseDown:w?m.swipeStart:null,onMouseMove:m.state.dragging&&w?m.swipeMove:null,onMouseUp:w?m.swipeEnd:null,onMouseLeave:m.state.dragging&&w?m.swipeEnd:null,onTouchStart:w?m.swipeStart:null,onTouchMove:m.state.dragging&&w?m.swipeMove:null,onTouchEnd:w?m.swipeEnd:null,onTouchCancel:m.state.dragging&&w?m.swipeEnd:null,onKeyDown:m.props.accessibility?m.keyHandler:null},k={className:r,dir:"ltr"};return m.props.unslick&&(E={className:"slick-list"},k={className:r}),o.default.createElement("div",k,m.props.unslick?"":t,o.default.createElement("div",i({ref:m.listRefHandler},E),o.default.createElement(d.Track,i({ref:m.trackRefHandler},s),m.props.children)),m.props.unslick?"":n,m.props.unslick?"":e)},m.list=null,m.track=null,m.state=i({},s.default,{currentSlide:m.props.initialSlide,slideCount:o.default.Children.count(m.props.children)}),m.callbackTimers=[],m.clickable=!0,m.debouncedResize=null,m}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),t}(o.default.Component)},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")(),p=Object.prototype.toString,h=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)&&p.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,p=!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 E(e);c=setTimeout(w,function(e){var n=t-(e-u);return f?m(n,a-(e-l)):n}(e))}function E(e){return c=void 0,p&&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)?h(y(r.maxWait)||0,t):a,p="trailing"in r?!!r.trailing:p),k.cancel=function(){void 0!==c&&clearTimeout(c),l=0,i=u=o=c=void 0},k.flush=function(){return void 0===c?s:E(v())},k}}).call(this,n(108))},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(535);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),p=(0,a.lazyEndIndex)(e);return i.default.Children.forEach(e.children,function(h,m){var v=void 0,g={message:"children",index:m,slidesToScroll:e.slidesToScroll,currentSlide:e.currentSlide};v=!e.lazyLoad||e.lazyLoad&&e.lazyLoadedList.indexOf(m)>=0?h:i.default.createElement("div",null);var y=function(e){var t={};return void 0!==e.variableWidth&&!1!==e.variableWidth||(t.width=e.slideWidth),e.fade&&(t.position="relative",e.vertical?t.top=-e.index*parseInt(e.slideHeight):t.left=-e.index*parseInt(e.slideWidth),t.opacity=e.currentSlide===e.index?1:0,t.transition="opacity "+e.speed+"ms "+e.cssEase+", visibility "+e.speed+"ms "+e.cssEase,t.WebkitTransition="opacity "+e.speed+"ms "+e.cssEase+", visibility "+e.speed+"ms "+e.cssEase),t}(r({},e,{index:m})),b=v.props.className||"",_=c(r({},e,{index:m}));if(n.push(i.default.cloneElement(v,{key:"original"+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=h),_=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)<p&&(v=h),_=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(535);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 p(e){return parseFloat(e)||0}function h(e){for(var t=[],n=arguments.length-1;n-- >0;)t[n]=arguments[n+1];return t.reduce(function(t,n){return t+p(e["border-"+n+"-width"])},0)}function m(e){var t=e.clientWidth,n=e.clientHeight;if(!t&&!n)return f;var r=d(e).getComputedStyle(e),i=function(e){for(var t={},n=0,r=["top","right","bottom","left"];n<r.length;n+=1){var i=r[n],o=e["padding-"+i];t[i]=p(o)}return t}(r),o=i.left+i.right,a=i.top+i.bottom,s=p(r.width),c=p(r.height);if("border-box"===r.boxSizing&&(Math.round(s+o)!==t&&(s-=h(r,"left","right")+o),Math.round(c+a)!==n&&(c-=h(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 E="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);E.set(this,n)};["observe","unobserve","disconnect"].forEach(function(e){k.prototype[e]=function(){return(t=E.get(this))[e].apply(t,arguments);var t}});var x=void 0!==i.ResizeObserver?i.ResizeObserver:k;t.default=x}.call(this,n(108))},function(e,t,n){var r=n(1979),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(1982);e.exports=new r},function(e,t,n){var r=n(1983),i=n(1073),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(1984),i=n(1073).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,n){var r=n(917)(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(2002),i=n(1074);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(1074),i=n(2005);e.exports=function(e){return r(i(e))}},function(e,t,n){var r=n(2006),i=n(517);e.exports=function(e){return null==e?[]:r(e,i(e))}},function(e,t,n){var r=n(880);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(401),i=n(402),o=n(209).type("Pred"),a=n(209).typeFn(o(),2),s=n(183),c=n(300),u=n(95),l=n(222),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)},p=d;function h(e){return function(t){if(!l(f,t))throw new TypeError("Pred."+e+": Pred required");return f(function(e){return!!n(e)&&!!t.runWith(e)})}}function m(e){return function(t){if(!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:p,concat:h("concat"),contramap:m("contramap")})[s.empty]=p,t[s.concat]=h(s.concat),t[s.contramap]=m(s.contramap),t["@@type"]=a,t.constructor=f,t}f.empty=d,f.type=o,f[s.empty]=d,f["@@type"]=a,f["@@implements"]=r(["concat","contramap","empty"]),e.exports=f},function(e,t,n){
/** @license ISC License (c) copyright 2016 original and current authors */
var r=n(2009),i=n(601),o=n(401),a=n(2010),s=n(402),c=n(209).type("Maybe"),u=n(209).typeFn(c(),4),l=n(183),d=n(898),f=n(300),p=n(766),h=n(481),m=n(264),v=n(95),g=n(222),y=function(e){return function(){return e}},b=function(e){return e},_=r({Nothing:[],Just:["a"]}),w=_.Nothing,E=_.Just;T.Nothing=f(T,w),T.Just=f(T,E);var k=f(T,E),x=f(T,w);function S(e){if(!h(e)&&!m(e))throw new TypeError("Maybe.sequence: Must wrap an Apply");return e.map(k)}function T(e){var t;if(!arguments.length)throw new TypeError("Maybe: Must wrap something, try using Nothing or Just constructors");var n=_.includes(e)?e:E(e),r=k,o=x,w=function(e){return j(y(e),b)},O=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)})})},C=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 N(e){return function(t){if(!v(t))throw new TypeError("Maybe."+e+": Function required");return j(T.Nothing,f(T.Just,t))}}function P(e){return function(t){if(!g(T,t))throw new TypeError("Maybe."+e+": Maybe required");return j(y(t),T.Just)}}function M(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:C,toString:C,either:j,option:w,type:c,equals:O,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(!p(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(!p(e)&&!v(e))throw new TypeError("Maybe.traverse: Applicative TypeRep or Apply returning function required for first argument");if(!v(t))throw new TypeError("Maybe.traverse: Apply returning function required for second argument");var n=d(e),r=j(f(n,T.Nothing),t);if(!h(r)&&!m(r))throw new TypeError("Maybe.traverse: Both functions must return an Apply of the same type");return j(y(r),y(r.map(k)))},alt:P("alt"),chain:M("chain"),concat:A("concat"),map:N("map")})[l.zero]=o,t[l.of]=r,t[l.equals]=O,t[l.alt]=P(l.alt),t[l.concat]=A(l.concat),t[l.map]=N(l.map),t[l.chain]=M(l.chain),t["@@type"]=u,t.constructor=T,t}T.of=k,T.zero=x,T.type=c,T[l.of]=k,T[l.zero]=x,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(125),i=n(264),o=n(665),a=n(95),s=n(299),c=n(425),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(222),i=n(480);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(432),i=n(433),o=n(2021);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(1081)),i=u(n(1082)),o=u(n(0)),a=u(n(88)),s=u(n(1083)),c=u(n(1084));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){},function(e,t,n){},function(e,t,n){"use strict";var r=n(432),i=n(433),o=n(2046);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(2050),i=n(298),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(2051)({"À":"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(2053),i=n(2054),o=n(298),a=n(2055);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+")",p="(?:[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]|\\ud83c[\\udffb-\\udfff])?",h="[\\ufe0e\\ufe0f]?"+p+("(?:\\u200d(?:"+["[^\\ud800-\\udfff]",c,u].join("|")+")[\\ufe0e\\ufe0f]?"+p+")*"),m="(?:"+[o,c,u].join("|")+")"+h,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(298),i=n(2057);e.exports=function(e){return i(r(e).toLowerCase())}},function(e,t,n){var r=n(2058)("toUpperCase");e.exports=r},function(e,t,n){var r=n(1085),i=n(536),o=n(1086),a=n(298);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(432),i=n(433),o=n(2065);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(117)._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(537),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(537);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,p=-f,h=-f,m=Math.SQRT2*n;this.roundedRect(e,p,h,m,m,.425*n);break;case"rectRot":d=1/Math.SQRT2*n,e.moveTo(-d,0),e.lineTo(0,d),e.lineTo(d,0),e.lineTo(0,-d),e.closePath();break;case"cross":e.moveTo(0,n),e.lineTo(0,-n),e.moveTo(-n,0),e.lineTo(n,0);break;case"crossRot":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(537);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(1087),i=n(117),o=n(93),a=n(301);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 p=i.model.x-r.model.x;r.deltaK=0!==p?(i.model.y-r.model.y)/p:0}!n||n.model.skip?r.mK=r.deltaK:!i||i.model.skip?r.mK=n.deltaK:this.sign(n.deltaK)!==this.sign(r.deltaK)?r.mK=0:r.mK=(n.deltaK+r.deltaK)/2}for(t=0;t<f-1;++t)r=d[t],i=d[t+1],r.model.skip||i.model.skip||(o.almostEquals(r.deltaK,0,this.EPSILON)?r.mK=i.mK=0:(a=r.mK/r.deltaK,s=i.mK/r.deltaK,(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")),p=s.right-s.left-u-d,h=s.bottom-s.top-l-f;return{x:n=Math.round((n-s.left-u)/p*a.width/t.currentDevicePixelRatio),y:r=Math.round((r-s.top-l)/h*a.height/t.currentDevicePixelRatio)}},o.getConstraintWidth=function(e){return n(e,"max-width","clientWidth")},o.getConstraintHeight=function(e){return n(e,"max-height","clientHeight")},o._calculatePadding=function(e,t,n){return(t=o.getStyle(e,t)).indexOf("%")>-1?n/parseInt(t,10):parseInt(t,10)},o._getParentNode=function(e){var t=e.parentNode;return t&&t.host&&(t=t.host),t},o.getMaximumWidth=function(e){var t=o._getParentNode(e);if(!t)return e.clientWidth;var n=t.clientWidth,r=n-o._calculatePadding(t,"padding-left",n)-o._calculatePadding(t,"padding-right",n),i=o.getConstraintWidth(e);return isNaN(i)?r:Math.min(r,i)},o.getMaximumHeight=function(e){var t=o._getParentNode(e);if(!t)return e.clientHeight;var n=t.clientHeight,r=n-o._calculatePadding(t,"padding-top",n)-o._calculatePadding(t,"padding-bottom",n),i=o.getConstraintHeight(e);return isNaN(i)?r:Math.min(r,i)},o.getStyle=function(e,t){return e.currentStyle?e.currentStyle[t]:document.defaultView.getComputedStyle(e,null).getPropertyValue(t)},o.retinaScale=function(e,t){var n=e.currentDevicePixelRatio=t||"undefined"!=typeof window&&window.devicePixelRatio||1;if(1!==n){var r=e.canvas,i=e.height,o=e.width;r.height=i*n,r.width=o*n,e.ctx.scale(n,n),r.style.height||r.style.width||(r.style.height=i+"px",r.style.width=o+"px")}},o.fontString=function(e,t,n){return t+" "+e+"px "+n},o.longestText=function(e,t,n,r){var i=(r=r||{}).data=r.data||{},a=r.garbageCollect=r.garbageCollect||[];r.font!==t&&(i=r.data={},a=r.garbageCollect=[],r.font=t),e.font=t;var s=0;o.each(n,function(t){null!=t&&!0!==o.isArray(t)?s=o.measureText(e,i,a,s,t):o.isArray(t)&&o.each(t,function(t){null==t||o.isArray(t)||(s=o.measureText(e,i,a,s,t))})});var 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(2072),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 x[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 p(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 h(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 h(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 E(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:p,cmyk2hsl:function(e){return n(p(e))},cmyk2hsv:function(e){return i(p(e))},cmyk2hwb:function(e){return o(p(e))},cmyk2keyword:function(e){return s(p(e))},keyword2rgb:E,keyword2hsl:function(e){return n(E(e))},keyword2hsv:function(e){return i(E(e))},keyword2hwb:function(e){return o(E(e))},keyword2cmyk:function(e){return a(E(e))},keyword2lab:function(e){return u(E(e))},keyword2xyz:function(e){return c(E(e))},xyz2rgb:h,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]},x={};for(var S in k)x[JSON.stringify(k[S])]=S},function(e,t,n){var r=n(2074);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 p in r)f[r[p]]=p},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(117),i=n(245),o=n(93);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(117),i=n(245),o=n(93),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(117),i=n(245),o=n(93),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(117),i=n(245);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),p=t+("right"!==a?-d*i:0),h=n+("top"!==a?d*o:0),m=r+("bottom"!==a?-d*o:0);f!==p&&(n=h,r=m),h!==m&&(e=f,t=p)}s.beginPath(),s.fillStyle=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(93),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 p(e,t,n){e.removeEventListener(t,n,d)}function h(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,p,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(h("resize",n))},d=!1,p=[],function(){p=Array.prototype.slice.call(arguments),l=l||this,d||(d=!0,r.requestAnimFrame.call(window,function(){d=!1,u.apply(l,p)}))}));!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){p(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 h(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&&p(r,t,o)}else v(r)}},r.addEvent=f,r.removeEvent=p},function(e,t,n){"use strict";var r=n(1088),i=n(1089),o=n(117),a=n(93),s=n(1090),c=n(434),u=n(1091),l=n(1092),d=n(301),f=n(1093);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(93);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(93),i=n(435);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(435),i=n(301);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(117),i=n(93),o=n(301),a=n(436);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(93),i=n(435),o=n(301),a=n(436);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(117),i=n(93),o=n(301),a=n(436);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 p(e){return i.isNumber(e)?e:0}var h=e.LinearScaleBase.extend({setDimensions:function(){var e=this,n=e.options,r=n.ticks;e.width=e.maxWidth,e.height=e.maxHeight,e.xCenter=Math.round(e.width/2),e.yCenter=Math.round(e.height/2);var o=i.min([e.height,e.width]),a=i.valueOrDefault(r.fontSize,t.defaultFontSize);e.drawingArea=n.display?o/2-(a/2+r.backdropPaddingY):o/2},determineDataLimits:function(){var e=this,t=e.chart,n=Number.POSITIVE_INFINITY,r=Number.NEGATIVE_INFINITY;i.each(t.data.datasets,function(o,a){if(t.isDatasetVisible(a)){var s=t.getDatasetMeta(a);i.each(o.data,function(t,i){var o=+e.getRightValue(t);isNaN(o)||s.data[i].hidden||(n=Math.min(o,n),r=Math.max(o,r))})}}),e.min=n===Number.POSITIVE_INFINITY?0:n,e.max=r===Number.NEGATIVE_INFINITY?0:r,e.handleTickRangeOptions()},getTickLimit:function(){var e=this.options.ticks,n=i.valueOrDefault(e.fontSize,t.defaultFontSize);return Math.min(e.maxTicksLimit?e.maxTicksLimit:11,Math.ceil(this.drawingArea/(1.5*n)))},convertTicksToLabels:function(){var t=this;e.LinearScaleBase.prototype.convertTicksToLabels.call(t),t.pointLabels=t.chart.data.labels.map(t.options.pointLabels.callback,t)},getLabelForIndex:function(e,t){return+this.getRightValue(this.chart.data.datasets[t].data[e])},fit:function(){var e,t;this.options.pointLabels.display?function(e){var t,n,r,o=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,p,h,m=s(e);for(t=0;t<m;t++){r=e.getPointPosition(t,a),f=e.ctx,p=o.size,h=e.pointLabels[t]||"",n=i.isArray(h)?{w:i.longestText(f,f.font,h),h:h.length*p+1.5*(h.length-1)*p}:{w:f.measureText(h).width,h:p},e._pointLabelSizes[t]=n;var v=e.getIndexAngle(t),g=i.toDegrees(v)%360,y=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=p(r),i=p(i),o=p(o),a=p(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,p=this.getIndexAngle(0),h=a(o.fontSize,t.defaultFontSize),m=a(o.fontStyle,t.defaultFontStyle),v=a(o.fontFamily,t.defaultFontFamily),g=i.fontString(h,m,v);i.each(e.ticks,function(n,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(p),o.showLabelBackdrop){var f=u.measureText(n).width;u.fillStyle=o.backdropColor,u.fillRect(-f/2-o.backdropPaddingX,-l-h/2-o.backdropPaddingY,f+2*o.backdropPaddingX,h+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),p=c(e);n.textBaseline="top";for(var h=s(e)-1;h>=0;h--){if(o.display){var m=e.getPointPosition(h,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(h,u+5),g=i.valueAtIndexOrDefault(a.fontColor,h,t.defaultFontColor);n.font=p.font,n.fillStyle=g;var y=e.getIndexAngle(h),b=i.toDegrees(y);n.textAlign=l(b),f(b,e._pointLabelSizes[h],v),d(n,e.pointLabels[h]||"",v,p.size)}}}(e)}}});o.registerScaleType("radialLinear",h,n)}},function(e,t,n){"use strict";var r=n(335);r="function"==typeof r?r:window.moment;var i=n(117),o=n(93),a=n(435),s=n(301),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 p(e){var t,n,r,i={},o=[];for(t=0,n=e.length;t<n;++t)i[r=e[t]]||(i[r]=!0,o.push(r));return o}function h(e,t,n,r){var i=function(e,t,n){for(var r,i,o,a=0,s=e.length-1;a>=0&&a<=s;){if(i=e[(r=a+s>>1)-1]||null,o=e[r],!i)return{lo:null,hi:o};if(o[t]<n)a=r+1;else{if(!(i[t]>n))return{lo:i,hi:o};s=r-1}}return{lo:o,hi:null}}(e,t,n),o=i.lo?i.hi?i.lo:e[e.length-2]:e[0],a=i.lo?i.hi?i.hi:e[e.length-1]:e[1],s=a[t]-o[t],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),p=o.valueOrDefault(s.stepSize,s.unitStepSize),h="week"===c&&s.isoWeekday,m=i.ticks.major.enabled,v=l[c],y=r(e),b=r(t),_=[];for(p||(p=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)),h&&(y=y.isoWeekday(h),b=b.isoWeekday(h)),y=y.startOf(h?"day":c),(b=b.startOf(h?"day":c))<t&&b.add(1,c),a=r(y),m&&f&&!h&&!s.round&&(a.startOf(f),a.add(~~((y-a)/(v.size*p))*p,c));a<b;a.add(p,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,h=l.options.time,m=h.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=p(w).sort(f),g=Math.min(g,w[0]),y=Math.max(y,w[w.length-1])),b.length&&(b=p(b).sort(f),g=Math.min(g,b[0]),y=Math.max(y,b[b.length-1])),g=v(h.min,l)||g,y=v(h.max,l)||y,g=g===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=(h(e,"time",o,"pos")-h(e,"time",a,"pos"))/2),i.time.max||(o=t[t.length-1],a=t.length>1?t[t.length-2]:n,c=(h(e,"time",o,"pos")-h(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,p=f.enabled&&u&&l&&a===d,h=e.format(r||(p?l:c)),m=p?f:i.ticks.minor,v=o.valueOrDefault(m.callback,m.userCallback);return v?v(h,t,n):h},convertTicksToLabels:function(e){var t,n,i=[];for(t=0,n=e.length;t<n;++t)i.push(this.tickFormatFunction(r(e[t].value),t,e));return i},getPixelForOffset:function(e){var t=this,n=t._horizontal?t.width:t.height,r=t._horizontal?t.left:t.top,i=h(t._table,"time",e,"pos");return r+n*(t._offsets.left+i)/(t._offsets.left+1+t._offsets.right)},getPixelForValue:function(e,t,n){var r=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=h(t._table,"pos",o,"time");return r(a)},getLabelWidth:function(e){var t=this.options.ticks,n=this.ctx.measureText(e).width,r=o.toRadians(t.maxRotation),a=Math.cos(r),s=Math.sin(r);return n*a+o.valueOrDefault(t.fontSize,i.global.defaultFontSize)*s},getLabelCapacity:function(e){var t=this,n=t.options.time.displayFormats.millisecond,i=t.tickFormatFunction(r(e),0,[],n),o=t.getLabelWidth(i),a=t.isHorizontal()?t.width:t.height,s=Math.floor(a/o);return s>0?s:1}});s.registerScaleType("time",e,{position:"bottom",distribution:"linear",bounds:"data",time:{parser:!1,format:!1,unit:!1,round:!1,displayFormat:!1,isoWeekday:!1,minUnit:"millisecond",displayFormats:{millisecond:"h:mm:ss.SSS a",second:"h:mm:ss a",minute:"h:mm a",hour:"hA",day:"MMM D",week:"ll",month:"MMM YYYY",quarter:"[Q]Q - YYYY",year:"YYYY"}},ticks:{autoSkip:!1,source:"auto",major:{enabled:!1}}})}},function(e,t,n){var r={"./en-au":1094,"./en-au.js":1094,"./en-ca":1095,"./en-ca.js":1095,"./en-gb":1096,"./en-gb.js":1096,"./en-ie":1097,"./en-ie.js":1097,"./en-il":1098,"./en-il.js":1098,"./en-nz":1099,"./en-nz.js":1099};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=2089},function(e,t,n){"use strict";var r=n(117),i=n(302),o=n(93);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]),p=l.options.stacked,h=u.stack,m=0;if(p||void 0===p&&void 0!==h)for(n=0;n<e;++n)(r=c.getDatasetMeta(n)).bar&&r.stack===h&&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(117),i=n(302),o=n(93);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={},p={chart:a,dataIndex:t,dataset:s,datasetIndex:this.index},h=["backgroundColor","borderColor","borderWidth","hoverBackgroundColor","hoverBorderColor","hoverBorderWidth","hoverRadius","hitRadius","pointStyle","rotation"];for(n=0,r=h.length;n<r;++n)f[i=h[n]]=l([c[i],s[i],u[i]],p,t);return f.radius=l([c.radius,d?d.r:void 0,s.radius,u.radius],p,t),f}})}},function(e,t,n){"use strict";var r=n(117),i=n(302),o=n(93);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,p=i.circumference;if(p<2*Math.PI){var h=i.rotation%(2*Math.PI),m=(h+=2*Math.PI*(h>=Math.PI?-1:h<-Math.PI?1:0))+p,v={x:Math.cos(h),y:Math.sin(h)},g={x:Math.cos(m),y:Math.sin(m)},y=h<=0&&m>=0||h<=2*Math.PI&&2*Math.PI<=m,b=h<=.5*Math.PI&&.5*Math.PI<=m||h<=2.5*Math.PI&&2.5*Math.PI<=m,_=h<=-Math.PI&&-Math.PI<=m||h<=Math.PI&&Math.PI<=m,w=h<=.5*-Math.PI&&.5*-Math.PI<=m||h<=1.5*Math.PI&&1.5*Math.PI<=m,E=f/100,k={x:_?-1:Math.min(v.x*(v.x<0?1:E),g.x*(g.x<0?1:E)),y:w?-1:Math.min(v.y*(v.y<0?1:E),g.y*(g.y<0?1:E))},x={x:y?1:Math.max(v.x*(v.x>0?1:E),g.x*(g.x>0?1:E)),y:b?1:Math.max(v.y*(v.y>0?1:E),g.y*(g.y>0?1:E))},S={width:.5*(x.x-k.x),height:.5*(x.y-k.y)};u=Math.min(s/S.width,c/S.height),l={x:-.5*(x.x+k.x),y:-.5*(x.y+k.y)}}n.borderWidth=t.getMaxBorderWidth(d.data),n.outerRadius=Math.max((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,p=r.getDataset(),h=n&&c.animateRotate?0:e.hidden?0:r.calculateCircumference(p.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:h,outerRadius:v,innerRadius:m,label:g(p.label,t,i.data.labels[t])}});var y=e._model,b=e.custom||{},_=o.valueAtIndexOrDefault,w=this.chart.options.elements.arc;y.backgroundColor=b.backgroundColor?b.backgroundColor:_(p.backgroundColor,t,w.backgroundColor),y.borderColor=b.borderColor?b.borderColor:_(p.borderColor,t,w.borderColor),y.borderWidth=b.borderWidth?b.borderWidth:_(p.borderWidth,t,w.borderWidth),n&&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(117),i=n(302),o=n(93);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),p=a.getDataset(),h=t(p,l);for(h&&(i=c.custom||{},void 0!==p.tension&&void 0===p.lineTension&&(p.lineTension=p.tension),c._scale=f,c._datasetIndex=a.index,c._children=u,c._model={spanGaps:p.spanGaps?p.spanGaps:l.spanGaps,tension:i.tension?i.tension:o.valueOrDefault(p.lineTension,d.tension),backgroundColor:i.backgroundColor?i.backgroundColor:p.backgroundColor||d.backgroundColor,borderWidth:i.borderWidth?i.borderWidth:p.borderWidth||d.borderWidth,borderColor:i.borderColor?i.borderColor:p.borderColor||d.borderColor,borderCapStyle:i.borderCapStyle?i.borderCapStyle:p.borderCapStyle||d.borderCapStyle,borderDash:i.borderDash?i.borderDash:p.borderDash||d.borderDash,borderDashOffset:i.borderDashOffset?i.borderDashOffset:p.borderDashOffset||d.borderDashOffset,borderJoinStyle:i.borderJoinStyle?i.borderJoinStyle:p.borderJoinStyle||d.borderJoinStyle,fill:i.fill?i.fill:void 0!==p.fill?p.fill:d.fill,steppedLine:i.steppedLine?i.steppedLine:o.valueOrDefault(p.steppedLine,d.stepped),cubicInterpolationMode:i.cubicInterpolationMode?i.cubicInterpolationMode:o.valueOrDefault(p.cubicInterpolationMode,d.cubicInterpolationMode)},c.pivot()),n=0,r=u.length;n<r;++n)a.updateElement(u[n],n,e);for(h&&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),p=a.getScaleForId(s.xAxisID),h=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=p.getPixelForValue("object"==typeof d?d:NaN,t,l),i=n?f.getBasePixel():a.calculatePointY(d,t,l),e._xScale=p,e._yScale=f,e._datasetIndex=l,e._index=t,e._model={x:r,y:i,skip:c.skip||isNaN(r)||isNaN(i),radius:c.radius||o.valueAtIndexOrDefault(u.pointRadius,t,h.radius),pointStyle:c.pointStyle||o.valueAtIndexOrDefault(u.pointStyle,t,h.pointStyle),rotation:a.getPointRotation(e,t),backgroundColor:a.getPointBackgroundColor(e,t),borderColor:a.getPointBorderColor(e,t),borderWidth:a.getPointBorderWidth(e,t),tension:s.dataset._model?s.dataset._model.tension:0,steppedLine:!!s.dataset._model&&s.dataset._model.steppedLine,hitRadius:c.hitRadius||o.valueAtIndexOrDefault(u.pointHitRadius,t,h.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(117),i=n(302),o=n(93);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,p=s.startAngle,h=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:h,startAngle:n&&c.animateRotate?p:m,endAngle:n&&c.animateRotate?p:v,label:o.valueAtIndexOrDefault(l,t,l[t])}});var y=this.chart.options.elements.arc,b=e.custom||{},_=o.valueAtIndexOrDefault,w=e._model;w.backgroundColor=b.backgroundColor?b.backgroundColor:_(a.backgroundColor,t,y.backgroundColor),w.borderColor=b.borderColor?b.borderColor:_(a.borderColor,t,y.borderColor),w.borderWidth=b.borderWidth?b.borderWidth:_(a.borderWidth,t,y.borderWidth),e.pivot()},countVisibleElements:function(){var e=this.getDataset(),t=this.getMeta(),n=0;return o.each(t.data,function(t,r){isNaN(e.data[r])||t.hidden||n++}),n},_computeAngle:function(e){var t=this,n=this.getMeta().count,r=t.getDataset(),i=t.getMeta();if(isNaN(r.data[e])||i.data[e].hidden)return 0;var a={chart:t.chart,dataIndex:e,dataset:r,datasetIndex:t.index};return o.options.resolve([t.chart.options.elements.arc.angle,2*Math.PI/n],a,e)}})}},function(e,t,n){"use strict";var r=n(117),i=n(302),o=n(93);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(117)._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(2105),e.exports.legend=n(2106),e.exports.title=n(2107)},function(e,t,n){"use strict";var r=n(117),i=n(302),o=n(93);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,p=[];for(r=0;r<d;++r)a=null,(o=(n=e.getDatasetMeta(r)).dataset)&&o._model&&o instanceof i.Line&&(a={visible:e.isDatasetVisible(r),fill:s(o,r,d),chart:e,el:o}),n.$filler=a,p.push(a);for(r=0;r<d;++r)(a=p[r])&&(a.fill=u(p,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,p,h,m=t.length,v=r.spanGaps,g=[],y=[],b=0,_=0;for(e.beginPath(),a=0,s=m+!!o;a<s;++a)l=n(u=t[c=a%m]._view,c,r),p=d(u),h=d(l),p&&h?(b=g.push(u),_=y.push(l)):b&&_&&(v?(p&&g.push(u),h&&y.push(l)):(f(e,g,y,b,_),b=_=0,g=[],y=[]));f(e,g,y,b,_),e.closePath(),e.fillStyle=i,e.fill()}(i,c,u,s,l,a._loop),o.canvas.unclipArea(i))}}}},function(e,t,n){"use strict";var r=n(117),i=n(245),o=n(93),a=n(434),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),p=o.fontString(l,d,f),h=e.legendHitBoxes=[],m=e.minSize,v=e.isHorizontal();if(v?(m.width=e.maxWidth,m.height=i?10:0):(m.width=i?10:0,m.height=e.maxHeight),i)if(a.font=p,v){var g=e.lineWidths=[0],y=e.legendItems.length?l+n.padding:0;a.textAlign="left",a.textBaseline="top",o.each(e.legendItems,function(t,r){var i=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),h[r]={left:0,top:0,width:i,height:l},g[g.length-1]+=i+n.padding}),m.height+=y}else{var b=n.padding,_=e.columnWidths=[],w=n.padding,E=0,k=0,x=l+b;o.each(e.legendItems,function(e,t){var r=c(n,l)+l/2+a.measureText(e.text).width;k+x>m.height&&(w+=E+n.padding,_.push(E),E=0,k=0),E=Math.max(E,r),k+=x,h[t]={left:0,top:0,width:r,height:l}}),w+=E,_.push(E),m.width+=w}e.width=m.width,e.height=m.height},afterFit:s,isHorizontal:function(){return"top"===this.options.position||"bottom"===this.options.position},draw:function(){var e=this,t=e.options,n=t.labels,i=r.global,a=i.elements.line,s=e.width,u=e.lineWidths;if(t.display){var l,d=e.ctx,f=o.valueOrDefault,p=f(n.fontColor,i.defaultFontColor),h=f(n.fontSize,i.defaultFontSize),m=f(n.fontStyle,i.defaultFontStyle),v=f(n.fontFamily,i.defaultFontFamily),g=o.fontString(h,m,v);d.textAlign="left",d.textBaseline="middle",d.lineWidth=.5,d.strokeStyle=p,d.fillStyle=p,d.font=g;var y=c(n,h),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=h+n.padding;o.each(e.legendItems,function(r,c){var p=d.measureText(r.text).width,m=y+h/2+p,v=l.x,g=l.y;_?v+m>=s&&(g=l.y+=w,l.line++,v=l.x=e.left+(s-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=h*Math.SQRT2/2,u=c/Math.SQRT2,l=e+u,p=n+u;o.canvas.drawPoint(d,r.pointStyle,c,l,p)}else s||d.strokeRect(e,n,y,h),d.fillRect(e,n,y,h);d.restore()}}(v,g,r),b[c].left=v,b[c].top=g,function(e,t,n,r){var i=h/2,o=y+i+e,a=t+i;d.fillText(n.text,o,a),n.hidden&&(d.beginPath(),d.lineWidth=2,d.moveTo(o,a),d.lineTo(o+r,a),d.stroke())}(v,g,r,p),_?l.x+=m+n.padding:l.y+=w})}},handleEvent:function(e){var t=this,n=t.options,r="mouseup"===e.type?"click":e.type,i=!1;if("mousemove"===r){if(!n.onHover)return}else{if("click"!==r)return;if(!n.onClick)return}var o=e.x,a=e.y;if(o>=t.left&&o<=t.right&&a>=t.top&&a<=t.bottom)for(var s=t.legendHitBoxes,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(117),i=n(245),o=n(93),a=n(434),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),p=o.fontString(l,d,f),h=o.options.toLineHeight(i.lineHeight,l),m=h/2+i.padding,v=0,g=e.top,y=e.left,b=e.bottom,_=e.right;t.fillStyle=n(i.fontColor,a.defaultFontColor),t.font=p,e.isHorizontal()?(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 E=0,k=0;k<w.length;++k)t.fillText(w[k],0,E,s),E+=h;else t.fillText(w,0,0,s);t.restore()}}});function 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(1100),i=n(1105),o=n(2142),a=n(2146),s=n(2164),c=n(279),u=n(1107),l=n(1109),d=1,f="[object Arguments]",p="[object Array]",h="[object Object]",m=Object.prototype.hasOwnProperty;e.exports=function(e,t,n,v,g,y){var b=c(e),_=c(t),w=b?p:s(e),E=_?p:s(t),k=(w=w==f?h:w)==h,x=(E=E==f?h:E)==h,S=w==E;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__"),O=x&&m.call(t,"__wrapped__");if(T||O){var C=T?e.value():e,j=O?t.value():t;return y||(y=new r),g(C,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(539),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(539);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(539);e.exports=function(e){return r(this.__data__,e)>-1}},function(e,t,n){var r=n(539);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(538);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(538),i=n(686),o=n(687),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(1102),i=n(2122),o=n(541),a=n(1104),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(540),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(2123),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(278)["__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(2126),i=n(538),o=n(686);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(2127),i=n(2128),o=n(2129),a=n(2130),s=n(2131);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(542);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(542),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(542),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(542),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(543);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(543);e.exports=function(e){return r(this,e).get(e)}},function(e,t,n){var r=n(543);e.exports=function(e){return r(this,e).has(e)}},function(e,t,n){var r=n(543);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(687),i=n(2138),o=n(2139);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(540),i=n(2143),o=n(1101),a=n(1105),s=n(2144),c=n(2145),u=1,l=2,d="[object Boolean]",f="[object Date]",p="[object Error]",h="[object Map]",m="[object Number]",v="[object RegExp]",g="[object Set]",y="[object String]",b="[object Symbol]",_="[object ArrayBuffer]",w="[object DataView]",E=r?r.prototype:void 0,k=E?E.valueOf:void 0;e.exports=function(e,t,n,r,E,x,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||!x(new i(e),new i(t)));case d:case f:case m:return o(+e,+t);case p:return e.name==t.name&&e.message==t.message;case v:case y:return e==t+"";case h:var T=s;case g:var O=r&u;if(T||(T=c),e.size!=t.size&&!O)return!1;var C=S.get(e);if(C)return C==t;r|=l,S.set(e,t);var j=a(T(e),T(t),r,E,x,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(278).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(2147),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 p=l[f];if(!(u?p in t:o.call(t,p)))return!1}var h=c.get(e);if(h&&c.get(t))return h==t;var m=!0;c.set(e,t),c.set(t,e);for(var v=u;++f<d;){var g=e[p=l[f]],y=t[p];if(a)var b=u?a(y,g,p,t,e,c):a(g,y,p,e,t,c);if(!(void 0===b?g===y||s(g,y,n,a,c):b)){m=!1;break}v||(v="constructor"==p)}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(2148),i=n(2150),o=n(544);e.exports=function(e){return r(e,o,i)}},function(e,t,n){var r=n(2149),i=n(279);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(2151),i=n(2152),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(2154),i=n(1106),o=n(279),a=n(1107),s=n(1108),c=n(1109),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),p=n||l||d||f,h=p?r(e.length,String):[],m=h.length;for(var v in e)!t&&!u.call(e,v)||p&&("length"==v||d&&("offset"==v||"parent"==v)||f&&("buffer"==v||"byteLength"==v||"byteOffset"==v)||s(v,m))||h.push(v);return h}},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(437),i=n(438),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(437),i=n(688),o=n(438),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(1103),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(274)(e))},function(e,t,n){var r=n(2161),i=n(2162),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(2163)(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(2165),i=n(686),o=n(2166),a=n(2167),s=n(2168),c=n(437),u=n(1104),l=u(r),d=u(i),f=u(o),p=u(a),h=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 p:return"[object Set]";case h:return"[object WeakMap]"}return t}),e.exports=m},function(e,t,n){var r=n(336)(n(278),"DataView");e.exports=r},function(e,t,n){var r=n(336)(n(278),"Promise");e.exports=r},function(e,t,n){var r=n(336)(n(278),"Set");e.exports=r},function(e,t,n){var r=n(336)(n(278),"WeakMap");e.exports=r},function(e,t,n){var r=n(2170)(n(2189));e.exports=r},function(e,t,n){var r=n(690),i=n(689),o=n(544);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(2172),i=n(2173),o=n(1111);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(1100),i=n(685),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],p=e[f],h=d[1];if(l&&d[2]){if(void 0===p&&!(f in e))return!1}else{var m=new r;if(s)var v=s(p,h,f,e,t,m);if(!(void 0===v?i(h,p,o|a,s,m):v))return!1}}return!0}},function(e,t,n){var r=n(1110),i=n(544);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(685),i=n(2175),o=n(2182),a=n(691),s=n(1110),c=n(1111),u=n(546),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(1112);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(2177),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(2178),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(687),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(2180);e.exports=function(e){return null==e?"":r(e)}},function(e,t,n){var r=n(540),i=n(2181),o=n(279),a=n(545),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(2183),i=n(2184);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(1113),i=n(1106),o=n(279),a=n(1108),s=n(688),c=n(546);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(2187),i=n(2188),o=n(691),a=n(546);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(1112);e.exports=function(e){return function(t){return r(t,e)}}},function(e,t,n){var r=n(2190),i=n(690),o=n(2191),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(2192);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(2193),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(541),i=n(545),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(2195);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(336),i=function(){try{var e=r(Object,"defineProperty");return e({},"",{}),e}catch(e){}}();e.exports=i},function(e,t,n){var r=n(2197),i=n(2198),o=n(690),a=n(279);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(2199);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(2200),i=n(2203)(r);e.exports=i},function(e,t,n){var r=n(2201),i=n(544);e.exports=function(e,t){return e&&r(e,t,i)}},function(e,t,n){var r=n(2202)();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(689);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(2210),i=n(873),o=n(874),a=o&&o.isRegExp,s=a?i(a):r;e.exports=s},function(e,t,n){var r=n(360),i=n(361),o="[object RegExp]";e.exports=function(e){return i(e)&&r(e)==o}},function(e,t,n){var r=n(2212),i=n(536),o=n(2213);e.exports=function(e){return i(e)?o(e):r(e)}},function(e,t,n){var r=n(881)("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,p=e.y1,h=l(o,d,t),m=l(f,p,t);h|m&&!(h&m);)(n=h||m)&u?(r=o+(f-o)*(t.top-d)/(p-d),i=t.top):n&c?(r=o+(f-o)*(t.bottom-d)/(p-d),i=t.bottom):n&s?(i=d+(p-d)*(t.right-o)/(f-o),r=t.right):n&a&&(i=d+(p-d)*(t.left-o)/(f-o),r=t.left),n===h?h=l(o=r,d=i,t):m=l(f=r,p=i,t);return{x0:o,x1:f,y0:d,y1:p}}(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)}},p=e.helpers,h=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=h(n.x),a=h(n.y),s=h(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};p.extend(g.prototype,{_modelize:function(t,n,i,o){var a,s=this._index,c=p.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:p.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=p.options.resolve([u.display,!0],e,c);l&&(t=e.dataset.data[c],n=p.valueOrDefault(p.callback(u.formatter,[t,e]),t),(i=p.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(h(t.x),h(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(),p.canvas.roundedRect(e,h(t.x)+o/2,h(t.y)+o/2,h(t.w)-o,h(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 E(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 x=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(x.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=E(i,a[t]),r=E(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 x,_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))}},O=e.helpers,C={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(O.isNullOrUndef(e))return null;var t,n,r,i=e;if(O.isObject(e))if(O.isNullOrUndef(e.label))if(O.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 N(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 P(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&&N(e,t.leave,n),i&&N(e,t.enter,r))}(e,o,n,r)}}e.defaults.global.plugins.datalabels=C,e.defaults.global.plugins.datalabels=C;var M={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||[],p=f.length,h=e.ctx;for(h.save(),r=0;r<p;++r)i=f[r],u&&i&&!i.hidden&&!i._model.skip?(c.push(o=new g(d,h,i,r)),o.update(o.$context={active:!1,chart:e,dataIndex:r,dataset:l,datasetIndex:a})):o=null,i[A]=o;h.restore(),j.merge(s._listeners,d.listeners||{},{merger:function(e,n,r){n[e]=n[e]||{},n[e][t.index]=r[e],s._listened=!0}})},afterUpdate:function(e,t){e[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":P(e,t);break;case"click":!function(e,t){var n=e[A],r=n._listeners.click,i=r&&T.lookup(n._labels,t);i&&N(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(M),M}(n(346))},function(e,t,n){},function(e,t,n){},function(e,t,n){var r=n(2221);e.exports=r},function(e,t,n){var r=n(2222),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(2223);var r=n(162);e.exports=r("Array").fill},function(e,t,n){var r=n(44),i=n(2224),o=n(479);r({target:"Array",proto:!0},{fill:i}),o("fill")},function(e,t,n){"use strict";var r=n(235),i=n(627),o=n(236);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(167),i=n(141).document,o=r(i)&&r(i.createElement);e.exports=function(e){return o?i.createElement(e):{}}},function(e,t,n){var r=n(141),i=n(337);e.exports=function(e,t){try{i(r,e,t)}catch(n){r[e]=t}return t}},function(e,t,n){var r=n(694),i=n(1246),o=n(178),a=n(141).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(141)},function(e,t,n){"use strict";var r=n(266),i=n(602),o=n(202);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(1121),i=n(189)("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(50),i=n(2284),o=n(484),a=n(1123),s=n(483),c=n(337),u=n(363),l=n(692),d=n(189)("iterator"),f=n(1121),p=n(2285),h=p.IteratorPrototype,m=p.BUGGY_SAFARI_ITERATORS,v=function(){return this};e.exports=function(e,t,n,p,g,y,b){i(n,t,p);var _,w,E,k=function(e){if(e===g&&C)return C;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)}},x=t+" Iterator",S=!1,T=e.prototype,O=T[d]||T["@@iterator"]||g&&T[g],C=!m&&O||k(g),j="Array"==t&&T.entries||O;if(j&&(_=o(j.call(new e)),h!==Object.prototype&&_.next&&(l||o(_)===h||(a?a(_,h):"function"!=typeof _[d]&&c(_,d,v)),s(_,x,!0,!0),l&&(f[x]=v))),"values"==g&&O&&"values"!==O.name&&(S=!0,C=function(){return O.call(this)}),l&&!b||T[d]===C||c(T,d,C),f[t]=C,g)if(w={values:k("values"),keys:y?C:k("keys"),entries:k("entries")},b)for(E in w)!m&&!S&&E in T||u(T,E,w[E]);else r({target:t,proto:!0,forced:m||S},w);return w}},function(e,t,n){e.exports=!n(130)(function(){function e(){}return e.prototype.constructor=null,Object.getPrototypeOf(new e)!==e.prototype})},function(e,t,n){var r=n(2230),i=n(141),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(141),i=n(207),o=n(190).NATIVE_ARRAY_BUFFER,a=n(337),s=n(772),c=n(130),u=n(605),l=n(405),d=n(202),f=n(2287),p=n(694).f,h=n(223).f,m=n(2231),v=n(483),g=n(404),y=g.get,b=g.set,_=r.ArrayBuffer,w=_,E=r.DataView,k=r.Math,x=r.RangeError,S=k.abs,T=k.pow,O=k.floor,C=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=O(C(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},N=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)},P=function(e){return e[3]<<24|e[2]<<16|e[1]<<8|e[0]},M=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]},R=function(e){return A(e,23,4)},D=function(e){return A(e,52,8)},B=function(e,t){h(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 x("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 x("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=p(_),V=0;H.length>V;)(q=H[V++])in w||a(w,q,_[q]);z.constructor=w}var W=new E(new w(2)),Y=E.prototype.setInt8;W.setInt8(0,2147483648),W.setInt8(1,2147483649),!W.getInt8(0)&&W.getInt8(1)||s(E.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)},E=function(e,t,n){u(this,E,"DataView"),u(e,w,"DataView");var r=y(e).byteLength,o=l(t);if(o<0||o>r)throw x("Wrong offset");if(o+(n=void 0===n?r-o:d(n))>r)throw x("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(E,"buffer"),B(E,"byteLength"),B(E,"byteOffset")),s(E.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 P(F(this,4,e,arguments[1]))},getUint32:function(e){return P(F(this,4,e,arguments[1]))>>>0},getFloat32:function(e){return N(F(this,4,e,arguments[1]),23)},getFloat64:function(e){return N(F(this,8,e,arguments[1]),52)},setInt8:function(e,t){U(this,1,e,M,t)},setUint8:function(e,t){U(this,1,e,M,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,R,t,arguments[2])},setFloat64:function(e,t){U(this,8,e,D,t,arguments[2])}});v(w,"ArrayBuffer"),v(E,"DataView"),t.ArrayBuffer=w,t.DataView=E},function(e,t,n){var r=n(167),i=n(1123);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(405),i=n(403);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(141),s=n(439),c=n(604),u=n(2278),l=n(2226),d=a.setImmediate,f=a.clearImmediate,p=a.process,h=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(p)?r=function(e){p.nextTick(c(y,e,1))}:m&&m.now?r=function(e){m.now(c(y,e,1))}:h?(o=(i=new h).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(141).navigator;e.exports=r&&r.userAgent||""},function(e,t,n){var r=n(167),i=n(439),o=n(189)("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(2242),i=n(403);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(189)("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(1257);e.exports=function(e,t,n){return t+(n?r(e,t,!0).length:1)}},function(e,t,n){var r=n(130),i=n(1253);e.exports=function(e){return r(function(){return!!i[e]()||"​᠎"!="​᠎"[e]()||i[e].name!==e})}},function(e,t,n){var r=n(141),i=n(130),o=n(1247),a=n(190).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(88)),l(n(1126)),l(n(2249))),s=l(n(1260)),c=l(n(1261)),u=l(n(2307));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),p=d<Math.floor(a)||d>=Math.floor(s),h=n.getActiveLink();p&&(i===h&&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||h===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(1240),o=(r=i)&&r.__esModule?r:{default:r},a=n(2250);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(1267),i=n(548),o=n(338),a=n(2735),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(548),i=n(338),o=n(1266);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(138),i=n(774),o=n(2738),a=n(2740),s=n(2741);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";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 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(149),d=n.n(l),f=n(2381),p=n(310),h=n(614),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(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(h.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(p.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(2726),n(119)),p=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 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=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,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(p.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),p=n.n(f),h=n(25),m=n(23);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,p=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:p,onClick:s,onKeyDown:Object(h.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:p.a.string.isRequired,onClick:p.a.func.isRequired}}}]),r}(e.Component)}).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(119),i=n(29),o=n.n(i),a=(n(2732),n(2393)),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(2747)(1,"join");e.exports=r},function(e,t,n){
/** @license ISC License (c) copyright 2017 original and current authors */
var r=n(2779),i=n(125),o=n(1241),a=n(95),s=n(222),c=n(2780),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";(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),p=(n(2790),n(0)),h=n(119),m=n(116),v=n(2),g=n.n(v),y=n(1),b=n.n(y),_=n(385),w=n.n(_),E=n(36),k=n(25),x=n(22),S=n(118),T=n(458),O=n(23),C=n(323),j=n(1304);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 N=function(e){return"/lessons/".concat(encodeURIComponent(e))},P=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(O.l)(n);if(!r||"quiz"===u)return l;var f=x.e?"".concat(c," is complete"):"Mark ".concat(c," as incomplete"),p=100===s?f:"Mark ".concat(c," as complete"),h=x.e&&100===s;return e.createElement("button",{"aria-label":p,className:"lesson-link__button",disabled:i||h,onClick:o,tabIndex:d,type:"button"},l)},M=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,p=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||p!==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,E=b.visited,k=m.isRestricted,x=k&&c,j=!m.isRestrictedCourse&&c,A=g()("lesson-link",{"lesson-link--visited":E,"lesson-link__restricted":k}),M=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,M)))],I=e.createElement("div",{key:"progress-".concat(a),className:"lesson-link__progress"},e.createElement(P,{allowTabNavigation:r,canComplete:j,isDisabled:x,onClick:u,passedQuiz:l,percentComplete:d,title:v,type:y})),R=Object(O.l)(r);if(k){var D,B=Object(S.a)({labels:s,restrictions:m}),F=g()("runtime-tooltip",{"runtime-tooltip--show":i&&_});return e.createElement(C.a,{className:F},e.createElement("span",{"aria-disabled":"true","aria-label":f()(D="The ".concat(v," lesson is currently unavailable: ")).call(D,B),className:A,onBlur:this.onKeyBlur,onFocus:this.onKeyFocus,onMouseEnter:this.onMouseEnter,onMouseLeave:this.onMouseLeave,role:"link",tabIndex:R},L),I,e.createElement(C.b,{"aria-hidden":"true",side:"top"},B))}return e.createElement(p.Fragment,null,e.createElement(h.c,{activeClassName:"lesson-link--active brand--beforeBorder",className:A,onClick:this.onClick,tabIndex:R,to:N(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(O.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(E.x,{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}(p.Component);t.a=Object(m.h)(M)}).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(4),f=n.n(d),p=n(71),h=n.n(p),m=n(16),v=n.n(m),g=n(147),y=n.n(g),b=n(109),_=n.n(b),w=n(7),E=n.n(w),k=n(38),x=n.n(k),S=n(160),T=n.n(S),O=n(53),C=n.n(O),j=n(65),A=n.n(j),N=n(150),P=n.n(N),M=n(86),L=n.n(M),I=n(29),R=n.n(I),D=n(56),B=n.n(D),F=n(26),U=n.n(F),q=n(21),z=n.n(q),H=n(24),V=n.n(H),W=n(15),Y=n.n(W),G=n(18),K=n.n(G),X=n(48),$=n.n(X),Q=n(165),Z=n.n(Q),J=n(46),ee=n.n(J),te=n(0),ne=n(212),re=n.n(ne),ie=n(318),oe=n.n(ie),ae=n(2),se=n.n(ae),ce=(n(2794),n(78)),ue=n(118),le=n(407),de=n(61),fe=n(25),pe=n(22),he=n(73),me=n(90),ve=n(322),ge=n(229),ye=n(616),be=n(760),_e=n(757),we=n(449),Ee=n(319),ke=n(36),xe=n(733),Se=n(476);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 Oe=V()(T()([]),C()(_()(K()("type","section"))),B.a),Ce=x()([[K()("hasNextLesson",!0),Y()("nextLessonTitle")],[Z()(_()(R.a),"trackingQuizId"),Y()("quizTitle")],[h.a,v()("Nothing here")]]),je=function(t){Object(c.a)(r,t);var n=Te(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,p=l.height,h=d?Object(de.a)(l):null,m=s.courseStart,g=s.courseResume,b=s.courseDetails,_=s.courseExit,w=s.overviewPageTitleSuffix,k=i.author,x=i.authors,S=i.categories,T=i.certificateDownload,O=i.completedAt,j=i.dueAt,N=i.enrolled,M=i.favoritedAt,I=i.partnerContentId,D=i.riseComCurrentUser,B=i.riseComEnrollmentType,F=i.selectedAuthorId,q=i.showTimeToComplete,H=i.timeToComplete,V=i.trackingCompletionPercentage,W=i.trackingQuizId,G=pe.e||Object(he.k)()||Boolean(I),X=Object(me.j)(i),Q=Object(me.l)(i),Z=U()(["lessonsOnly",0,"id"],i),J=E()($()("","title"),L.a,C()(K()("id",W)),Y()("lessons"))(i),ne=Object(he.k)()?100===o.percentComplete:Object(he.i)(),re=G&&"preview"!==window.viewType&&o.percentComplete&&!ne?ee()(y()(R.a,v()(W)),v()(W))(Object(ue.c)(o.lessons,W)):Z,ie=!R()(re),ae=G&&(ne||!ie&&R()(W)),ce=(t=g,ae?"Start Again":t),fe=o.percentComplete?ce:m,ve=ie?P()(K()("id",re))(i.lessonsOnly):-1,ge=ie?z()("",["lessonsOnly",ve,"title"],i):"",Te=Ce({hasNextLesson:ie,nextLessonTitle:ge,trackingQuizId:W,quizTitle:J}),je=se()("overview__continueMessage",{"overview__continueMessage-hide":!N&&!M}),Ae=Object(we.a)({authors:x,author:k,selectedAuthorId:F}),Ne=Ae.avatar,Pe=Ae.authorName,Me=Ae.title,Le=Object(le.a)({course:i,courseProgress:o}),Ie=Oe(a),Re=!W||z()(!1,["lessons",W,"passed"],o),De=A()(function(e){return e.id===F},c),Be=De&&De.data.authors,Fe=Be?e.createElement(xe.a,{partnerContentAuthors:Be,learn:!0}):e.createElement(Se.a,{avatar:Ne,authorName:Pe,enableModernOverview:G});return e.createElement(oe.a,{title:Object(Ee.a)(i.title+" - "+w)},e.createElement(Se.j,{enableModernOverview:G,ref:function(e){return n.courseOverview=e},sidebarEnabled:X,sidebarOpen:Q},e.createElement(ye.a,{enableExitCourse:u,className:"courseExit courseExit--overview",text:_}),e.createElement("header",null,e.createElement(Se.e,{coverImage:i.coverImage},e.createElement(be.b,{courseTitle:i.title,coverImage:i.coverImage},e.createElement(_e.b,{lessonComplete:s.lessonComplete,value:o.percentComplete})),Fe,e.createElement(Se.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:je},e.createElement(ke.c,{className:"overview__continueIcon",decorative:!0}),e.createElement("span",{"aria-hidden":"true",className:"overview__nextLessonText"},Te),e.createElement("span",{className:"visually-hidden"},"Next lesson: ",Te))),e.createElement("div",null,G?e.createElement(Se.h,{certificateDownload:T,completedQuizRequirement:Re,courseBtnText:fe,courseProgress:o,coverImage:i.coverImage,currentUser:D,enrolled:N,enrollmentType:B,favoritedAt:M,handleAddFavoriteClick:this.addFavorite,handleRemoveFavoriteClick:this.removeFavorite,handleKeyDown:this.handleStartButtonKeyDown,nextLessonId:re,nextLessonText:Te,percentComplete:o.percentComplete,startAgain:ae}):e.createElement(Se.b,{to:"/lessons/".concat(ie?re:Z),coverImage:i.coverImage,onKeyDown:this.handleStartButtonKeyDown},fe),X&&!pe.e&&!G&&e.createElement(Se.c,{text:b})))),e.createElement("main",{"aria-label":"Course Details"},e.createElement(Se.d,null,e.createElement(Se.f,{src:h,width:f,height:p}),e.createElement(Se.g,{authorName:Pe,authorTitle:Me,avatar:Ne,categories:S,completedAt:O,course:i,courseProgress:o,enableModernOverview:G,dueAt:j,labels:s,lessons:a,numLessons:Ie,restrictingQuiz:Le,showTimeToComplete:q,sidebarEnabled:X,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);t.a=je}).call(this,n(0))},function(e,t,n){"use strict";var r=n(3),i=n.n(r),o=n(8),a=n(9),s=n(10),c=n(11),u=n(13),l=n(5),d=n(0),f=n.n(d),p=n(119),h=n(268),m=n(269),v=n(270),g=n(271),y=n(77),b=n(175),_=n(54),w=n(139),E=n(90),k=n(262);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 S=Object(y.a)("one-page"),T=Object(y.a)("cover"),O=function(e){Object(c.a)(n,e);var t=x(n);function n(e){var r;return Object(a.a)(this,n),(r=t.call(this,e)).state={entering:!1,exiting:!1},r}return Object(s.a)(n,[{key:"componentDidEnter",value:function(){this.setState({entering:!1})}},{key:"componentWillEnter",value:function(e){var t=this;this.setState({entering:!0},function(){t.willEnterTimeout=setTimeout(e,_.c)})}},{key:"componentWillExit",value:function(e){var t=this;this.setState({exiting:!0},function(){t.willExitTimeout=setTimeout(e,_.c)})}},{key:"componentWillUnmount",value:function(){clearTimeout(this.willEnterTimeout),clearTimeout(this.willExitTimeout)}},{key:"render",value:function(){var e,t,n=this.props.course,r=this.state,i=r.entering,a=r.exiting,s=null==n?void 0:n.coverImage,c=Object(E.b)(n),u=null==c?void 0:c.id,l=(null==c?void 0:null===(e=c.settings)||void 0===e?void 0:e.playbackMode)===w.b.SLIDE,d=Object(E.a)(s),y=l?"slide":"fade",_="entering-".concat(y),x="exiting-".concat(y),O=S("wrapper",(t={},Object(o.a)(t,_,i),Object(o.a)(t,x,a),t)).mix(T("header-content"));return f.a.createElement("div",{className:O,style:d},f.a.createElement(v.a,null,f.a.createElement(m.a,null),f.a.createElement(g.a,null),f.a.createElement(h.a,null)),f.a.createElement("div",{className:S("start-wrapper")},f.a.createElement(p.b,{to:Object(k.f)(u)},f.a.createElement(b.b,{className:S("start-icon")}))))}}]),n}(f.a.Component);t.a=O},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(4),d=n.n(l),f=n(54),p=n(77),h=n(17),m=n(70),v=n(0),g=n.n(v),y=n(65),b=n.n(y),_=n(29),w=n.n(_),E=n(21),k=n.n(E),x=n(18),S=n.n(x),T=n(51),O=n(96),C=n(42);var j=Object(T.b)(function(e){return{description:Object(O.a)(e).description}})(function(e){var t,n=e.description;return g.a.createElement(C.a,{className:"cover__details-content-description brand--body brand--linkColor",key:"text",value:(t=n,"<p><br></p>"===t?"":t)})}),A=n(61);var N=Object(T.b)(function(e){var t=Object(O.a)(e),n=k()({},["media","image"],t);return{imageKey:n.key,width:n.width,height:n.height,crushedKey:n.crushedKey,useCrushedKey:n.useCrushedKey}})(function(e){var t=e.className,n=void 0===t?"cover__details-logo":t,r=e.crushedKey,i=e.height,o=e.imageClassName,a=void 0===o?"cover__details-logo-image":o,s=e.imageKey,c=e.useCrushedKey,u=e.width;if(!s)return null;var l=Object(A.a)({crushedKey:r,key:s,useCrushedKey:c});return g.a.createElement("div",{className:n},g.a.createElement("img",{className:a,src:l,width:u,height:i,alt:""}))}),P=n(72),M=n.n(P),L=n(487),I=n(35),R=n(14),D=n.n(R),B=n(41),F=n.n(B),U=(n(2343),n(118)),q=n(784),z=n(407),H=n(260),V=n(215),W=n(136),Y=n(101),G=n(6),K=n(116),X=n(78),$=n(229),Q=n(36),Z=n(458),J=n(212),ee=n.n(J),te=n(613),ne=n(100);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(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 ie=Object(Y.a)("LessonProgressCircle"),oe=function(e){Object(s.a)(n,e);var t=re(n);function n(){var e,r;Object(o.a)(this,n);for(var i=arguments.length,a=new Array(i),s=0;s<i;s++)a[s]=arguments[s];return(r=t.call.apply(t,d()(e=[this]).call(e,a))).handleClick=r.handleClick.bind(Object(G.a)(r)),r}return Object(a.a)(n,[{key:"handleClick",value:function(e){var t=this.props.history,n=e.currentTarget.hash;e.preventDefault(),ee.a.Events.scrollEvent.register("end",function(){t.push(F()(n).call(n,1)),ee.a.Events.scrollEvent.remove("end")}),ee.a.animateScroll.scrollTo(0,{containerId:"overview"}),Object(X.a)(Object($.d)(!0))}},{key:"render",value:function(){var e=this.props,t=e.className,n=void 0===t?"":t,r=e.color,i=e.lesson,o=i.icon,a=i.id,s=i.title,c=e.passedQuiz,u=e.percentComplete,l=Object(ne.d)(r),d=!w()(c)&&!c,f=g.a.createElement(v.Fragment,null,g.a.createElement("span",{className:"overview-list-item__icon","aria-hidden":"true"},g.a.createElement(Z.a,{icon:o})),g.a.createElement("span",{className:"overview-list-item__title"},s),g.a.createElement("span",{className:"overview-list-item__pie"},d?g.a.createElement(Q.L,{"aria-label":"Quiz failed",className:"overview-list-item__quiz-fail"}):g.a.createElement(ie,{"aria-label":"".concat(u,"% complete"),color:r,isDark:l,isPassed:100===u,value:u})));return g.a.createElement("li",{className:"overview-list__li",role:"listitem"},g.a.createElement(te.a,{className:"".concat(n," overview-list-item"),lessonId:a,onClick:this.handleClick,tooltipClassName:"overview-list-item-tooltip"},f))}}],[{key:"defaultProps",get:function(){return{allowTooltip:!0}}}]),n}(v.Component),ae=Object(Y.a)("OverviewListItem",oe),se=Object(K.h)(ae),ce=n(134),ue=["className"],le=Object(p.a)("overview-list"),de=Object(Y.a)("OverviewListSectionTitle",function(e){var t=e.className,n=void 0===t?"":t,r=Object(m.a)(e,ue),i=M()(["Default"],r);return g.a.createElement("h3",Object(h.a)({},i,{className:"".concat(n," overview-list__section-title")}))});var fe=Object(v.memo)(Object(T.b)(function(e){var t=Object(O.a)(e),n=Object(H.a)(e);return{course:t,courseProgress:n,labels:Object(V.a)(e),lessons:Object(W.n)(e),restrictingQuiz:Object(z.a)({course:t,courseProgress:n})}})(function(e){var t,n,r=e.course,i=e.courseProgress,o=e.labels,a=e.lessons,s=e.restrictingQuiz,c=Object(v.useState)(!1),u=Object(I.a)(c,2),l=u[0],d=u[1],f=Object(v.useCallback)(d.bind(null,!0),[]),p=Object(v.useCallback)(d.bind(null,!1),[]),h=function(e){return e.reduce(function(e,t){return"section"===t.type?e.push([t]):e[e.length-1]?e[e.length-1].push(t):e.push([t]),e},[])}(a),m=null!==(t=null===(n=r.theme)||void 0===n?void 0:n.colorAccent)&&void 0!==t?t:r.color,y=Object(ce.b)("lxpEnabled");return g.a.createElement("nav",{className:"overview-list"},D()(h).call(h,function(e,t){var n=Object(L.a)(e),a=n[0],c=void 0===a?{}:a,u=F()(n).call(n,1),d=c.title,h="section"===c.type,v=h?u:e,b=le("list",{sectionless:!h});return g.a.createElement("section",{key:t},h&&d&&g.a.createElement(de,null,d),g.a.createElement("ol",{className:b,role:"list"},D()(v).call(v,function(e){var t=Object(U.b)({course:r,courseProgress:i,lesson:e,lxpEnabled:y,restrictingQuiz:s}),n=Object(U.a)({labels:o,restrictions:t}),a=Object(q.a)(i,e.id),c=a.percentComplete,u=a.passedQuiz;return g.a.createElement(se,{allowTooltip:!l,color:m,isRestricted:t.isRestricted,key:e.id,lesson:e,onMouseEnter:f,onMouseLeave:p,passedQuiz:u,percentComplete:c,restrictedText:n,failedQuizWithNoAttempts:void 0})})))}))})),pe=n(1299);var he=["className"],me=Object(p.a)("cover"),ve=Object(Y.a)("CoverDetailsContentHeading",function(e){var t=e.className,n=void 0===t?"":t,r=Object(m.a)(e,he),i=M()(["Default"],r);return g.a.createElement("header",Object(h.a)({},i,{className:me("details-content-heading").mix(n)}))}),ge=function(e){var t=e.children,n=e.title,r=e.type;return g.a.createElement("section",{className:me("details-content-section",{type:r})},g.a.createElement(ve,null,g.a.createElement("h2",null,n)),t)},ye=Object(Y.a)("CoverDetails",function(e){var t=e.showNewLineLogo,n=e.showPartnerContent,r=Object(O.g)(),i=r.description,o=r.id,a=r.media,s=r.navigation,c=r.partnerContentId,u=r.publishedAt,l=r.selectedAuthorId,d=r.tenantId,f=Object(T.d)(function(e){return function(e){var t,n;return null!==(t=null==e?void 0:null===(n=e.partnerContent)||void 0===n?void 0:n.content)&&void 0!==t?t:{}}(e)}),p=b()(S()("id",l),f),h=Boolean(c)&&p,m=k()(void 0,["image","key"],a),v=!w()(m),y=me("details-content-aside",{logo:v});return g.a.createElement("main",{id:"cover-details-main","aria-label":"Course Details",className:me("details")},g.a.createElement("div",{className:me("details-content-wrap")},t&&g.a.createElement(N,{className:me("details-logo")}),g.a.createElement("div",{className:me("details-content-columns")},g.a.createElement("div",{className:me("details-content")},!t&&g.a.createElement(N,{className:me("details-logo")}),i&&g.a.createElement(ge,{title:"Description",type:"description"},g.a.createElement(j,null)),s&&g.a.createElement(ge,{title:"Course Outline",type:"outline"},g.a.createElement(fe,null))),n&&h&&g.a.createElement("div",{className:y},g.a.createElement(ge,{title:"More Info",type:"partner-content"},g.a.createElement(pe.a,{courseId:o,partnerContent:p,publishedAt:u,tenantId:d}))))))}),be=n(318),_e=n.n(be);n(2800);var we=Object(Y.a)("CoverHeader"),Ee=Object(T.b)(function(e){var t=Object(O.a)(e);return{accentColor:t.color,themeId:t.themeId,coverPageType:t.coverPageType}})(we),ke=(n(2801),Object(Y.a)("CoverLayout")),xe=n(319);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(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 Te=Object(p.a)("cover-container"),Oe=function(e){Object(s.a)(n,e);var t=Se(n);function n(e){var r;return Object(o.a)(this,n),(r=t.call(this,e)).state={isEntering:!1,isExiting:!1},r}return Object(a.a)(n,[{key:"componentDidEnter",value:function(){this.setState({isEntering:!1})}},{key:"componentWillEnter",value:function(e){var t=this;this.setState({isEntering:!0},function(){t.willEnterTimeout=setTimeout(e,f.c)})}},{key:"componentWillExit",value:function(e){var t=this;this.setState({isExiting:!0},function(){t.willExitTimeout=setTimeout(e,f.c)})}},{key:"componentWillUnmount",value:function(){clearTimeout(this.willEnterTimeout),clearTimeout(this.willExitTimeout)}},{key:"render",value:function(){var e,t=this.props,n=t.course,r=t.labels,i=this.state,o=i.isEntering,a=i.isExiting,s=n.title,c=r.overviewPageTitleSuffix,u=Object(xe.a)(d()(e="".concat(s," - ")).call(e,c));return g.a.createElement(_e.a,{title:u},g.a.createElement("div",{className:Te({entering:o,exiting:a})},g.a.createElement(ke,null,g.a.createElement(Ee,null),g.a.createElement(ye,null))))}}]),n}(v.Component);t.a=Oe},function(e,t,n){"use strict";var r=n(83),i=n(148),o=n(153);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(759),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(148),i=n(83),o=n(351),a=n(153),s=(n(1),n(0)),c=n.n(s),u=n(387);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 p=Object.values||function(e){return Object.keys(e).map(function(t){return e[t]})},h=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=p(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);h.propTypes={},h.defaultProps={component:"div",childFactory:function(e){return e}};t.a=h},function(e,t,n){e.exports=!n(207)&&!n(130)(function(){return 7!=Object.defineProperty(n(2226)("div"),"a",{get:function(){return 7}}).a})},function(e,t,n){e.exports=n(1115)("native-function-to-string",Function.toString)},function(e,t,n){var r=n(2271),i=n(141).WeakMap;e.exports="function"==typeof i&&/native code/.test(r.call(i))},function(e,t,n){var r=n(265),i=n(2228),o=n(349),a=n(223);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(265),i=n(362),o=n(1245)(!1),a=n(1117);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(130)(function(){return!String(Symbol())})},function(e,t,n){t.f=n(189)},function(e,t,n){var r=n(207),i=n(223),o=n(178),a=n(769);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(141).document;e.exports=r&&r.documentElement},function(e,t,n){var r=n(362),i=n(694).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(266),i=n(602),o=n(202);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(770),i=n(202),o=n(604),a=function(e,t,n,s,c,u,l,d){for(var f,p=c,h=0,m=!!l&&o(l,d,3);h<s;){if(h in n){if(f=m?m(n[h],h,t):n[h],u>0&&r(f))p=a(e,t,f,i(f.length),p,u-1)-1;else{if(p>=9007199254740991)throw TypeError("Exceed the acceptable array length");e[p]=f}p++}h++}return p};e.exports=a},function(e,t,n){"use strict";var r=n(604),i=n(266),o=n(2283),a=n(2232),s=n(202),c=n(696),u=n(1122);e.exports=function(e){var t,n,l,d,f=i(e),p="function"==typeof this?this:Array,h=arguments.length,m=h>1?arguments[1]:void 0,v=void 0!==m,g=0,y=u(f);if(v&&(m=r(m,h>2?arguments[2]:void 0,2)),null==y||p==Array&&a(y))for(n=new p(t=s(f.length));t>g;g++)c(n,g,v?m(f[g],g):f[g]);else for(d=y.call(f),n=new p;!(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(178);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(2285).IteratorPrototype,i=n(695),o=n(693),a=n(483),s=n(1121),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(484),s=n(337),c=n(265),u=n(692),l=n(189)("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(167),i=n(178);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(405),i=n(202);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(223).f,i=n(695),o=n(772),a=n(604),s=n(605),c=n(1125),u=n(2233),l=n(771),d=n(207),f=n(697).fastKey,p=n(404),h=p.set,m=p.getterFor;e.exports={getConstructor:function(e,t,n,u){var l=e(function(e,r){s(e,l,t),h(e,{type:t,index:i(null),first:void 0,last:void 0,size:0}),d||(e.size=0),null!=r&&c(r,e[u],e,n)}),p=m(t),v=function(e,t,n){var r,i,o=p(e),a=g(e,t);return a?a.value=n:(o.last=a={index:i=f(t,!0),key:t,value:n,previous:r=o.last,next:void 0,removed:!1},o.first||(o.first=a),r&&(r.next=a),d?o.size++:e.size++,"F"!==i&&(o.index[i]=a)),e},g=function(e,t){var n,r=p(e),i=f(t);if("F"!==i)return r.index[i];for(n=r.first;n;n=n.next)if(n.key==t)return n};return o(l.prototype,{clear:function(){for(var e=p(this),t=e.index,n=e.first;n;)n.removed=!0,n.previous&&(n.previous=n.previous.next=void 0),delete t[n.index],n=n.next;e.first=e.last=void 0,d?e.size=0:this.size=0},delete:function(e){var t=p(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=p(this),r=a(e,arguments.length>1?arguments[1]:void 0,3);t=t?t.next:n.first;)for(r(t.value,t.key,this);t&&t.removed;)t=t.previous},has:function(e){return!!g(this,e)}}),o(l.prototype,n?{get:function(e){var t=g(this,e);return t&&t.value},set:function(e,t){return v(this,0===e?0:e,t)}}:{add:function(e){return v(this,e=0===e?0:e,e)}}),d&&r(l.prototype,"size",{get:function(){return p(this).size}}),l},setStrong:function(e,t,n){var r=t+" Iterator",i=m(t),o=m(r);u(e,t,function(e,t){h(this,{type:r,target:e,state:i(e),kind:t,last:void 0})},function(){for(var e=o(this),t=e.kind,n=e.last;n&&n.removed;)n=n.previous;return e.target&&(e.last=n=n?n.next:e.state.first)?"keys"==t?{value:n.key,done:!1}:"values"==t?{value:n.value,done:!1}:{value:[n.key,n.value],done:!1}:(e.target=void 0,{value:void 0,done:!0})},n?"entries":"values",!n,!0),l(t)}}},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(167),i=Math.floor;e.exports=function(e){return!r(e)&&isFinite(e)&&i(e)===e}},function(e,t,n){"use strict";var r=n(769),i=n(1246),o=n(1114),a=n(266),s=n(1243),c=Object.assign;e.exports=!c||n(130)(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,p=s(arguments[u++]),h=l?r(p).concat(l(p)):r(p),m=h.length,v=0;m>v;)d.call(p,f=h[v++])&&(n[f]=p[f]);return n}:c},function(e,t,n){var r=n(769),i=n(362),o=n(1114).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(141),d=n(349).f,f=n(439),p=n(2240).set,h=n(2241),m=l.MutationObserver||l.WebKitMutationObserver,v=l.process,g=l.Promise,y="process"==f(v),b=d(l,"queueMicrotask"),_=b&&b.value;_||(r=function(){var e,t;for(y&&(e=v.domain)&&e.exit();i;){t=i.fn,i=i.next;try{t()}catch(e){throw i?a():o=void 0,e}}o=void 0,e&&e.enter()},y?a=function(){v.nextTick(r)}:m&&!/(iPhone|iPod|iPad).*AppleWebKit/i.test(h)?(s=!0,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(){p.call(l,r)}),e.exports=_||function(e){var t={fn:e,next:void 0};o&&(o.next=t),i||(i=t,a()),o=t}},function(e,t,n){var r=n(178),i=n(167),o=n(2296);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(440),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(1257),i=n(404),o=n(2233),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(202),i=n(2239),o=n(403);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(2241);e.exports=/Version\/10\.\d+(\.\d+)?( Mobile\/\w+)? Safari\//.test(r)},function(e,t,n){var r=n(405);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(266),i=n(202),o=n(1122),a=n(2232),s=n(604),c=n(190).aTypedArrayConstructor;e.exports=function(e){var t,n,u,l,d,f=r(e),p=arguments.length,h=p>1?arguments[1]:void 0,m=void 0!==h,v=o(f);if(null!=v&&!a(v))for(d=v.call(f),f=[];!(l=d.next()).done;)f.push(l.value);for(m&&p>2&&(h=s(h,arguments[2],2)),n=i(f.length),u=new(c(this))(n),t=0;n>t;t++)u[t]=m?h(f[t],t):f[t];return u}},function(e,t,n){"use strict";var r=n(772),i=n(697).getWeakData,o=n(178),a=n(167),s=n(605),c=n(1125),u=n(350),l=n(265),d=n(404),f=d.set,p=d.getterFor,h=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 h(e.entries,function(e){return e[0]===t})};y.prototype={get:function(e){var t=b(this,e);if(t)return t[1]},has:function(e){return!!b(this,e)},set:function(e,t){var n=b(this,e);n?n[1]=t:this.entries.push([e,t])},delete:function(e){var t=m(this.entries,function(t){return t[0]===e});return~t&&this.entries.splice(t,1),!!~t}},e.exports={getConstructor:function(e,t,n,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)}),h=p(t),m=function(e,t,n){var r=h(e),a=i(o(t),!0);return!0===a?g(r).set(t,n):a[r.id]=n,e};return r(d.prototype,{delete:function(e){var t=h(this);if(!a(e))return!1;var n=i(e);return!0===n?g(t).delete(e):n&&l(n,t.id)&&delete n[t.id]},has:function(e){var t=h(this);if(!a(e))return!1;var n=i(e);return!0===n?g(t).has(e):n&&l(n,t.id)}}),r(d.prototype,n?{get:function(e){var t=h(this);if(a(e)){var n=i(e);return!0===n?g(t).get(e):n?n[t.id]:void 0}},set:function(e,t){return m(this,e,t)}}:{add:function(e){return m(this,e,!0)}}),d}}},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(692),i=n(189)("iterator");e.exports=!n(130)(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(1249);var r=n(2304),i=n(363),o=n(772),a=n(2284),s=n(404),c=n(605),u=n(265),l=n(604),d=n(178),f=n(167),p=n(2668),h=n(1122),m=n(189)("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"))},E=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--),E);return t},x=/[!'()~]|%20/g,S={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+"},T=function(e){return S[e]},O=function(e){return encodeURIComponent(e).replace(x,T)},C=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,C(this.entries,e)},A=function(e,t){if(e<t)throw TypeError("Not enough arguments")},N=a(function(e,t){v(this,{type:"URLSearchParamsIterator",iterator:p(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}),P=function(){c(this,P,"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=h(s)))for(t=e.call(s);!(n=t.next()).done;){if((i=(r=p(d(n.value))).next()).done||(o=r.next()).done||!r.next().done)throw TypeError("Expected sequence with length 2");l.push({key:i.value+"",value:o.value+""})}else for(a in s)u(s,a)&&l.push({key:a,value:s[a]+""});else C(l,"string"==typeof s?"?"===s.charAt(0)?s.slice(1):s:s+"")},M=P.prototype;o(M,{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 N(this,"keys")},values:function(){return new N(this,"values")},entries:function(){return new N(this,"entries")}},{enumerable:!0}),i(M,m,M.entries),i(M,"toString",function(){for(var e,t=g(this).entries,n=[],r=0;r<t.length;)e=t[r++],n.push(O(e.key)+"="+O(e.value));return n.join("&")},{enumerable:!0}),n(483)(P,"URLSearchParams"),n(50)({global:!0,forced:!r},{URLSearchParams:P}),e.exports={URLSearchParams:P,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(1126)),s(n(2676))),o=s(n(2677)),a=s(n(2251));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)},p=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,p(e))},scrollToBottom:function(e){e=p(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,p(t))},scrollMore:function(e,t){t=p(t),d(t),f(l(t)+e,t)}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});n(2250);var r,i=n(1126),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(88)),c(n(1260))),s=c(n(1261));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 u});var r=n(781),i=n.n(r),o=n(0),a=n(77),s=n(1276),c=Object(a.a)("cover");function u(t){var n=t.children,r=Object(s.a)(),a=Object(o.useMemo)(function(){return i()(r)},[r]),u=c(null,{layout:a});return e.createElement("div",{id:"cover",className:u},n)}}).call(this,n(0))},function(e,t,n){"use strict";(function(e){var r=n(29),i=n.n(r),o=n(132),a=n(54),s=n(780),c=n(1306),u=function(t){var n=t.authorName,r=t.avatar,a=t.description,s=t.lessonName,u=t.lessonNumber,l=t.lessonPreposition,d=t.partnerContentAuthors,f=t.showAuthor,p=t.showLessonCount,h=t.title,m=t.totalLessons,v=!i()(d)&&f,g=r&&n&&f&&!v,y=g||v||p,b=p&&f;return e.createElement("div",{className:"lesson-header__content"},y&&e.createElement("div",{className:"lesson-header__info-row"},g?e.createElement(o.a,{avatar:r,authorName:n}):e.createElement(o.f,null),v&&e.createElement(c.b,{partnerContentAuthors:d}),b&&e.createElement("span",{"aria-hidden":"true",className:"lesson-header__info-row--divider"},"|"),p?e.createElement(o.b,{lessonName:s,lessonNumber:u,lessonPreposition:l,totalLessons:m}):e.createElement(o.g,null)),e.createElement("div",null,e.createElement(o.h,{title:h}),a&&e.createElement(o.c,{description:a})))},l=function(t){var n=t.authorName,r=t.avatar,a=t.description,s=t.lessonName,u=t.lessonNumber,l=t.lessonPreposition,d=t.partnerContentAuthors,f=t.showAuthor,p=t.showLessonCount,h=t.title,m=t.totalLessons,v=e.useMemo(function(){return r&&n&&f&&!g},[r,n,f,g]),g=!i()(d);return e.createElement("div",{className:"lesson-header__content"},p?e.createElement(o.b,{lessonName:s,lessonNumber:u,lessonPreposition:l,totalLessons:m}):e.createElement(o.g,null),v&&e.createElement(o.a,{avatar:r,authorName:n}),f&&g&&e.createElement(c.a,{partnerContentAuthors:d}),e.createElement(o.h,{title:h}),a&&e.createElement(o.c,{description:a}))},d=function(t){var n=t.authorName,r=t.avatar,a=t.description,s=t.lessonName,u=t.lessonNumber,l=t.lessonPreposition,d=t.partnerContentAuthors,f=t.showAuthor,p=t.showLessonCount,h=t.title,m=t.totalLessons,v=e.useMemo(function(){return r&&n&&f&&!g},[r,n,f,g]),g=!i()(d);return e.createElement("div",{className:"lesson-header__content"},p?e.createElement(o.b,{lessonName:s,lessonNumber:u,lessonPreposition:l,totalLessons:m}):e.createElement(o.g,null),e.createElement(o.h,{title:h}),v?e.createElement(o.a,{avatar:r,authorName:n}):e.createElement(o.f,null),f&&g&&e.createElement(c.b,{partnerContentAuthors:d}),a&&e.createElement(o.c,{description:a}))};t.a=function(t){var n=Object(s.a)();return t.lessonHeaderSize!==a.f.SMALL||n?n?e.createElement(l,t):e.createElement(d,t):e.createElement(u,t)}}).call(this,n(0))},function(e,t,n){},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(14),f=n.n(d),p=n(41),h=n.n(p),m=(n(2311),n(490)),v=n(2),g=n.n(v),y=n(121),b=n.n(y),_=n(56),w=n.n(_),E=n(26),k=n.n(E),x=n(455),S=n.n(x),T=n(48),O=n.n(T),C=n(1),j=n.n(C),A=n(193),N=n.n(A);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=O()(-1,"activeIndex",n),i=w()(t);return-1===r?0:b()(r)===i?100:N()("%","",k()([r,"linePosition"],t))}},{key:"processProgressValue",value:function(){var e=this.props,t=e.items,n=e.lessonProgress,r=O()(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 O()(0,"percentViewed",t);case"timeline":return this.timelineProgressValue();default:return O()(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.sidebarAvailable,c=this.state.isSticky,u=g()("progress-wrap",{}),l=g()("lesson-progress-wrapper",{"lesson-progress-wrapper--visible":c&&!a,"lesson--open":o&&s&&!this.isLessonPreview(),"lesson--open-mobile":s&&a&&!this.isLessonPreview()}),d=g()("progress",{"progress--timeline":"timeline"===r,"progress--video":"video"===r}),p=this.progressValue(),m="timeline"===r&&i&&f()(i).call(i,function(t){var n,r=g()("progress__marker",{"progress__marker--active brand--background":parseInt(p)>=parseInt(h()(n=t.linePosition).call(n,0,-1))});return e.createElement("div",{className:r,style:{left:t.linePosition},key:t.id})}),v=e.createElement("div",{className:u},e.createElement("div",{className:d},e.createElement("div",{className:"progress__container"},e.createElement("div",{className:"progress__indicator brand--background",style:{transform:"translate3d(".concat(p,"%,0px,0px)")}}),m)));return e.createElement("div",{ref:function(e){return t.progresswrap=e}},v,e.createElement(S.a,null,e.createElement("div",{className:l},v)))}}],[{key:"propTypes",get:function(){return{id:j.a.any.isRequired,lessonProgress:j.a.object.isRequired,navigationType:j.a.string,type:j.a.string.isRequired,items:j.a.array}}}]),r}(e.Component);t.a=Object(m.e)(M);e.createElement(M,{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(17),i=n(145);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(17),i=n(145);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(17),i=n(145);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(17),i=n(145);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(17),i=n(145);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(17),i=n(145);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(17),i=n(145);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(17),i=n(145);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 u});var r=n(781),i=n.n(r),o=n(0),a=n(77),s=n(1278),c=Object(a.a)("cover");function u(t){var n=t.children,r=Object(s.a)(),a=Object(o.useMemo)(function(){return i()(r)},[r]),u=c(null,{layout:a});return e.createElement("div",{id:"cover",className:u},n)}}).call(this,n(0))},function(e,t,n){"use strict";(function(e){var r=n(132),i=n(782),o=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,f=i&&n&&c;return e.createElement(e.Fragment,null,u?e.createElement(r.b,{lessonName:o,lessonNumber:a,lessonPreposition:s,totalLessons:d}):e.createElement(r.g,null),f&&e.createElement(r.a,{avatar:i,authorName:n}),e.createElement(r.h,{title:l}))},a=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,null),e.createElement(r.h,{title:l}),u?e.createElement(r.b,{lessonName:o,lessonNumber:a,lessonPreposition:s,totalLessons:d}):e.createElement(r.g,null))};t.a=function(t){return Object(i.b)()?e.createElement(o,t):e.createElement(a,t)}}).call(this,n(0))},function(e,t,n){"use strict";(function(e){n.d(t,"a",function(){return a});var r=n(17),i=n(70),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(17),i=n(145);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(17),i=n(145);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){var r=n(132),i=n(54),o=n(780),a=function(){return e.createElement("div",{className:"lesson-header__author--hidden"})},s=function(t){var n=t.authorName,i=t.avatar,o=t.description,s=t.lessonName,c=t.lessonNumber,u=t.lessonPreposition,l=t.showAuthor,d=t.showLessonCount,f=t.title,p=t.totalLessons;return e.createElement(e.Fragment,null,i&&n&&l?e.createElement(r.a,{avatar:i,authorName:n,className:"lesson-header__author"}):e.createElement(a,null),e.createElement(r.h,{title:f}),d?e.createElement(r.b,{lessonName:s,lessonNumber:c,lessonPreposition:u,totalLessons:p}):e.createElement(r.g,null),o&&e.createElement(r.c,{description:o}))},c=function(t){var n=t.authorName,i=t.avatar,o=t.description,s=t.lessonName,c=t.lessonNumber,u=t.lessonPreposition,l=t.showAuthor,d=t.showLessonCount,f=t.title,p=t.totalLessons;return e.createElement(e.Fragment,null,e.createElement(r.h,{title:f}),e.createElement(r.d,null,i&&n&&l?e.createElement(r.a,{avatar:i,authorName:n}):e.createElement(a,null),d?e.createElement(r.b,{lessonName:s,lessonNumber:c,lessonPreposition:u,totalLessons:p}):e.createElement(r.g,null)),o&&e.createElement(r.c,{description:o}))},u=function(t){var n=t.authorName,i=t.avatar,o=t.description,s=t.lessonName,c=t.lessonNumber,u=t.lessonPreposition,l=t.showAuthor,d=t.showLessonCount,f=t.title,p=t.totalLessons,h=i&&n&&l;return e.createElement(e.Fragment,null,d?e.createElement(r.b,{lessonName:s,lessonNumber:c,lessonPreposition:u,totalLessons:p}):e.createElement(r.g,null),h?e.createElement(r.a,{avatar:i,authorName:n}):e.createElement(a,null),e.createElement(r.h,{title:f}),o&&e.createElement(r.c,{description:o}))};t.a=function(t){var n=Object(o.a)();return t.lessonHeaderSize!==i.f.SMALL||n?n?e.createElement(u,t):e.createElement(c,t):e.createElement(s,t)}}).call(this,n(0))},function(e,t,n){"use strict";(function(e){n.d(t,"a",function(){return o});var r=n(17),i=n(145);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(17),i=n(145);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(17),i=n(145);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(17),i=n(145);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(17),i=n(145);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(17),i=n(145);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(17),i=n(145);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(17),i=n(145);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(2255);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(2255),o=n(2744);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){},function(e,t,n){},function(e,t,n){},,,,,,,,,,,,,,,,,,,,,,,,,,,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 p(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=p(t),e=0,r=i[t];e<r.length;e++)o.push(n+"="+p(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(108))},function(e,t,n){"use strict";(function(e){n.d(t,"a",function(){return s});var r=n(2450),i=n(2374),o=n(778),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(485)),i=o(n(2683));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(2684)},function(e,t,n){"use strict";(function(e){var r=n(8),i=n(17),o=n(7),a=n.n(o),s=n(0),c=n(54),u=n(51),l=n(119),d=n(96),f=n(215),p=n(77),h=n(613),m=n(100),v=Object(p.a)("lesson-nav"),g=function(t){var n=t.children,r=t.finish,o=t.lessonId,a=t.style;if(o)return e.createElement(h.a,Object(i.a)({className:"lesson-nav-link",tooltipClassName:"lesson-nav-link-tooltip",style:a},t));var s=r?"/lessons/progress-summary":"/";return e.createElement("span",{className:"lesson-nav-link"},e.createElement(l.b,{className:"lesson-nav-link__link",to:s,style:a},n))};var y=a()(Object(u.b)(function(e){var t=Object(d.a)(e),n=Object(f.a)(e);return{buttonScheme:t.buttonScheme,color:t.color,labelLessonRestricted:n.lessonRestricted,labelQuizRequirePassingScore:n.quizRequirePassingScore}},null,null,{forwardRef:!0}),s.forwardRef);t.a=y(function(t,n){var o,a,u=t.buttonScheme,l=t.children,d=t.color,f=t.direction,p=t.finish,h=t.isFloating,y=t.linkStyles,b=t.navLessonId,_=t.restrictionType,w=t.wrapStyles,E=null!=_,k=Object(s.useMemo)(function(){return Object(m.d)(d)},[d]),x=(a={className:v(null,(o={},Object(r.a)(o,f,!0),Object(r.a)(o,"accent",u===c.b.ACCENT),Object(r.a)(o,"accent-dark",u===c.b.ACCENT&&k),Object(r.a)(o,"accent-light",u===c.b.ACCENT&&!k),Object(r.a)(o,"dark",u===c.b.DARK),Object(r.a)(o,"floating",h),Object(r.a)(o,"finish",p),Object(r.a)(o,"full",!h),Object(r.a)(o,"light",u===c.b.LIGHT),Object(r.a)(o,"restricted",E),Object(r.a)(o,"tint",u===c.b.TINT),o))},Object(r.a)(a,"data-".concat(f,"-lesson"),!0),Object(r.a)(a,"style",w),a);return e.createElement("div",Object(i.a)({ref:n},x),e.createElement(g,{lessonId:b,finish:p,style:y},l))})}).call(this,n(0))},function(e,t,n){e.exports=n(2693)},function(e,t,n){"use strict";n.d(t,"a",function(){return s});var r=n(81),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(96),i=n(134),o={};function a(t){var n,a=t.children,s=Object(r.g)(),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(2444),o=n(2445),a=n(2379),s=n(134),c=n(2446),u=n(61),l=n(51),d=n(287),f=n(229),p=n(210),h=n(2451),m=e.lazy(function(){return Promise.resolve().then(n.bind(null,2826))});function v(t){var n=Object(s.b)("rise-course-themes")?m:h.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(p.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,h=f.key,m=f.src;if(h||m){var v=h?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,h=i.fontsLoaded,m=i.notFound,y=i.partnerContentLoaded,b=o&&h&&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(2697);var r=n(318),i=n.n(r),o=n(319);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";(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(2707),n(2708),n(1)),d=n.n(l),f=n(25),p=n(2),h=n.n(p);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,p=t.subText,m=t.children,v=t.width,g=t.scroll,y=void 0!==g&&g,b=h()("modal",n,{"modal--force_to_top":a}),_=h()("modal__content",{"modal__content--with-footer":Boolean(i),"modal__content--force-scroll":Boolean(y)}),w=h()("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)),p?e.createElement("h2",{className:"modal__subtitle"},p):[]),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){var r=n(3),i=n.n(r),o=n(17),a=n(9),s=n(10),c=n(6),u=n(11),l=n(13),d=n(5),f=n(14),p=n.n(f),h=n(40),m=n.n(h),v=n(81),g=n.n(v),y=n(4),b=n.n(y),_=n(197),w=n.n(_),E=n(27),k=n.n(E),x=n(2),S=n.n(x),T=n(55),O=n.n(T),C=n(53),j=n.n(C),A=n(60),N=n.n(A),P=n(33),M=n.n(P),L=n(26),I=n.n(L),R=n(24),D=n.n(R),B=n(18),F=n.n(B),U=n(128),q=n.n(U),z=n(161),H=n.n(z),V=n(616),W=n(2382),Y=n(2418),G=n(2419),K=n(2264),X=n(310),$=n(760),Q=n(757),Z=n(1),J=n.n(Z),ee=n(2420),te=n(456),ne=n(36),re=n(22),ie=n(85),oe=n(229),ae=n(66),se=n(23),ce=n(78),ue=n(784),le=n(118),de=n(407),fe=n(756),pe=n(90),he=n(352),me=n(1308),ve=n(134);function ge(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 ye=w()(M.a),be=q()(F()("type","section")),_e=function(e){return function(){if(e){var t=document.querySelector(".page-wrap");Object(se.c)(t)}else{document.getElementById("no-menu").focus()}}},we=function(t){Object(u.a)(r,t);var n=ge(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:p()(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(pe.l)(o),mobileMenuIsOpen:!1,selectedIndex:Object(he.b)(u.id)(s),sidebarEnabled:Object(pe.j)(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(te.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=O()(Object(he.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=_e(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(pe.i)(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(he.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=o.lxpEnabled,f=this.state,h=f.activeSections,m=f.isRestrictedNavHovering,v=f.sidebarEnabled,y=r.id,_=r.type,w=r.title,E=r.icon,k=Object(le.b)({course:a,courseProgress:s,lesson:r,lxpEnabled:d,restrictingQuiz:n}),x=Object(ue.a)(s,y),S=x.percentComplete,T=x.passedQuiz;if(r.children){var O,C,j=g()(h).call(h,r.id),A=this.renderLesson.bind(this,t,n),N="section-".concat(y),P=b()(O="Course Section for ".concat(w,", with ")).call(O,r.children.length," Lessons");return e.createElement("div",{key:"item-".concat(y)},e.createElement(K.a,{allowTabNavigation:t,allowTooltip:!m,focusLessonContent:_e(v),icon:E,id:y,isSectionActive:j,labels:c,lesson:r,lessonIndex:u.indexOf(r),location:l,markComplete:a.markComplete,onClick:this.handleLessonsListRowClick,onComplete:this.handleLessonListRowComplete.bind(this,r,i,k),onMobileActiveClick:this.closeMenu,onMouse:this.handleNavHover,passedQuiz:T,percentComplete:S,restrictions:k,sectionId:N,title:w,type:_}),e.createElement(ee.a,{isActive:j,sectionId:N,sectionLabel:P},p()(C=r.children).call(C,A)))}return e.createElement(K.a,{allowTabNavigation:this.allowTabNavigationForLesson(r),allowTooltip:!m,focusLessonContent:_e(v),icon:E,id:y,key:"item-".concat(y),labels:c,lesson:r,lessonIndex:u.indexOf(r),location:l,markComplete:a.markComplete,onClick:this.handleLessonsListRowClick,onComplete:this.handleLessonListRowComplete.bind(this,r,i,k),onMobileActiveClick:this.closeMenu,onMouse:this.handleNavHover,passedQuiz:T,percentComplete:S,restrictions:k,title:w,type:_})}},{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("button",{"aria-controls":"courseOverviewSidebar","aria-expanded":c,"aria-label":u,className:"page-menu-toggle",onClick:this.handleMenuToggle,tabIndex:"0",type:"button"},e.createElement(ne.y,{className:"page-menu-toggle__icon"})),e.createElement(V.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,p=c.courseSkipToLesson,h=l.active,m=this.renderLesson.bind(this,r,i);return e.createElement(me.b,{hidden:!r,id:"courseOverviewSidebar",label:"Course Overview"},e.createElement($.b,{allowSearch:!Object(pe.i)(a)&&a.allowSearch,courseTitle:a.title,coverImage:a.coverImage,allowTabNavigation:r,focusLessonContent:_e(f),labels:c,lessons:u,searchActive:h,sessionPreferences:d,ref:function(e){n.sidebar=e},skipLinkText:p},e.createElement(Q.b,{lessonComplete:c.lessonComplete,value:s.percentComplete}),e.createElement(Y.a,{labels:c,search:l},h?this.renderSearchResults(r):ye(m,Object(he.d)(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,p=n.safariLandscapeHackOffset,h=n.search,m=n.sessionPreferences,v=this.state,g=v.isPreviewLesson,y=v.isProgressSummary,b=v.isRestrictedNavHovering,_=v.menuIsOpen,w=v.mobileMenuIsOpen,E=v.sidebarEnabled,x=i.lmsOptions,T=(void 0===x?{}:x).enableExitCourse,O=s.courseExit,C=function(e){var t=e.course,n=e.search;return D()(k()("lessons",n.lessons),k()("lessonsOnly",be(n.lessons)))(t)}({course:i,search:h}),j=this.allowTabNavigation(),A=this.renderMenuButtons(),P=S()("lesson",{"lesson--preview":g,"lesson--open":_&&!g,"lesson--open-mobile":w&&!g}),M=Object(de.a)({course:i,courseProgress:a}),L=r?{paddingBottom:p}:{},I={allowRestrictedTooltip:!b,course:h.active&&!N()(h.lessons)?C:i,focusLessonContent:_e(E),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:E},R=y?{courseProgress:a,lessons:c}:{};return e.createElement(me.c,{className:P,contentRef:function(e){return t.node=e}},E&&this.renderSidebar({allowTabNavigation:j,restrictingQuiz:M}),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(V.a,{enableExitCourse:T,className:"courseExit courseExit--standard",text:O}),e.createElement(ie.d,{component:"div",className:"page-wrap",id:"page-wrap",style:L},e.createElement(X.a,{key:u.pathname},e.createElement(W.a,Object(o.a)({},I,R)))))))}},{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(G.a,{allowTabNavigation:t,focusLessonContent:_e(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 D()(j()(le.g),ye(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:J.a.node,course:J.a.object,courseProgress:J.a.object,labels:J.a.object,lessons:J.a.array,location:J.a.object.isRequired,match:J.a.object.isRequired}}},{key:"defaultProps",get:function(){return{course:{},lessons:[]}}}]),r}(e.Component);t.a=Object(ve.d)(we)}).call(this,n(0))},function(e,t,n){"use strict";(function(e){var r=n(3),i=n.n(r),o=n(17),a=n(9),s=n(10),c=n(11),u=n(13),l=n(5),d=n(4),f=n.n(d),p=n(149),h=n.n(p),m=n(65),v=n.n(m),g=n(60),y=n.n(g),b=n(156),_=n.n(b),w=n(21),E=n.n(w),k=n(18),x=n.n(k),S=n(48),T=n.n(S),O=n(1),C=n.n(O),j=n(88),A=n.n(j),N=n(318),P=n.n(N),M=n(66),L=n(78),I=n(118),R=n(407),D=n(352),B=n(286),F=n(2383),U=n(2386),q=n(2387),z=n(2388),H=n(1307),V=n(2259),W=n(2389),Y=n(486),G=n(788),K=n(2409),X=n(449),$=n(2415),Q=n(2416),Z=n(789),J=n(2417),ee=n(22),te=n(319),ne=n(1298),re=n(73),ie=n(134);function oe(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 ae=function(t){Object(c.a)(r,t);var n=oe(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:E()({},["lessons",u],i),d={course:i,lesson:l},f=o?_()(i.lessonsOnly):Object(I.j)(d),p=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:p,nextNumber:Object(I.h)({course:i,lesson:p}),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(M.a)(e))}},{key:"componentWillReceiveProps",value:function(e){if(!this.props.isProgressSummary){var t=e.course,n=e.lessonProgress,r=T()(null,"index",n),i=E()(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){h()("[data-lesson-header]").css({top:""}),this.transition("enter",e)}},{key:"componentDidEnter",value:function(){var e=h()("[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),h()(t).scrollTop(n),h()("[data-lesson-header]").css({top:n})}}},{key:"componentWillExit",value:function(e){var t=document.getElementsByClassName("page-wrap"),n=t[0].scrollTop;h()(t).scrollTop(0),this.lastScrollPosition=n,this.transition("leave",e),h()(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(D.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(D.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($.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,p=this.props,h=p.allowRestrictedTooltip,m=p.course,g=p.courseProgress,b=p.handleStorylineFullscreen,_=p.isProgressSummary,w=p.labels,k=p.lessonProgress,S=p.location,O=p.lxpEnabled,C=p.match,j=p.menuButtons,A=p.menuOpen,N=p.mobileMenuOpen,M=p.onNavMouse,L=p.onNavigate,D=p.previewType,F=p.sessionPreferences.prefersKeyboardNavigation,U=p.sidebarEnabled,z=a.author,W=a.selectedAuthorId,G=a.settings,K=void 0===G?{}:G,$=a.type,Q=m.authors,Z=m.enableVideoPlaybackSpeed,J=m.id,ne=m.publishedAt,ie=m.showLessonCount,oe=m.showNavigationButtons,ae=m.tenantId,se=w.courseFinish,ce=void 0===se?"Finish":se,ue=w.courseHome,le=E()([],["partnerContent","content"],this.props),de=!y()(le),fe=de?v()(x()("id",W),le):{},pe=de?E()(void 0,["data","authors"],fe):void 0,he=Object(X.a)({authors:Q,author:z,selectedAuthorId:W}),me=he.avatar,ve=he.authorName,ge=a.items?a.items.length:0,ye=Object(R.a)({course:m,courseProgress:g}),be=_?{}:Object(I.b)({course:m,courseProgress:g,lesson:s,lxpEnabled:O,restrictingQuiz:ye}),_e="quiz"===$&&"continue"===K.continueType,we=this.handleNextClick.bind(this,a.id),Ee=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:ue}):null,ke=s&&"preview-lesson"!==o&&!_e,xe=ke?e.createElement(H.b,{allowTooltip:h,id:a.id,isLesson:Object(I.e)(s),restrictions:be,key:"next-".concat(a.id),labels:w,next:s.id,nextNumber:c,nextTitle:s.title,onMouse:M,onNextClick:we,ref:function(e){return t.nextLesson=e},type:$}):!ee.e||"preview-lesson"===o||_e||Object(re.j)()?null:e.createElement(H.a,{courseFinishLabel:ce,onNextClick:we}),Se=ke&&!oe&&!U?e.createElement(H.b,{id:a.id,isContinue:!0,isLesson:Object(I.e)(s),restrictions:be,key:"next-".concat(a.id),labels:w,next:s.id,nextNumber:c,onNextClick:we,ref:function(e){return t.nextLesson=e},type:$}):null,Te=e.createElement(q.a,{authorName:ve,avatar:me,description:a.description,labels:w,length:a.length||"",lessonNumber:i,partnerContentAuthors:pe,ref:"header",showLessonCount:ie,steps:ge,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:A,mobileMenuOpen:N,scrollPosition:d,type:a.type})),Oe={authorName:ve,avatar:me,color:r,continueComponent:Se,courseId:J,courseTitle:m.title,data:a,enableVideoPlaybackSpeed:Z,handleNavigate:L,handleStorylineFullscreen:b,isLesson:Object(I.e)(a),labels:w,lessonHeader:Te,lessonNumber:i,lessonProgress:k,loadMedia:this.state.hasTransitioned,location:S,match:C,menuButtons:j,menuOpen:A,mobileMenuOpen:N,mode:o,nextComponent:oe&&xe,nextLesson:T()(null,"id",s),nextLessonRestrictions:be,onNextClick:we,partnerContent:le,publishedAt:ne,prefersKeyboardNavigation:F,previewType:D,previousComponent:oe&&Ee,scrollPosition:d,showLessonCount:ie,showNavigationButtons:oe,sidebarEnabled:U,tenantId:ae,totalLessons:f};return e.createElement(P.a,{title:Object(te.a)(m.title+" - "+a.title)},e.createElement("main",{"aria-label":"Lesson Content"},this.renderLessonType({type:$,props:Oe,course:m,model:a})))}}],[{key:"propTypes",get:function(){return{focusLessonContent:C.a.func,match:C.a.object.isRequired,navigateDirection:C.a.func,onNavigate:C.a.func,partnerContent:C.a.object,previewType:C.a.string,sidebarEnabled:C.a.bool}}}]),r}(e.Component);t.a=Object(ie.d)(ae)}).call(this,n(0))},function(e,t,n){"use strict";(function(e){var r=n(21),i=n.n(r),o=n(15),a=n.n(o),s=n(51),c=n(786),u=n(92);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,p=t.enableVideoPlaybackSpeed,h=t.handleNavigate,m=t.handleStorylineFullscreen,v=t.labels,g=t.lessonHeader,y=t.lessonProgress,b=t.loadMedia,_=t.match,w=t.menuButtons,E=t.menuOpen,k=t.nextComponent,x=t.nextLesson,S=t.partnerContent,T=t.prefersKeyboardNavigation,O=t.previewType,C=t.previousComponent,j=t.publishedAt,A=t.tenantId;return e.createElement(u.c,{type:d},C,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:p,handleNavigate:h,handleStorylineFullscreen:m,isFirstLesson:!0,labels:v,lessonId:l,lessonProgress:y,loadMedia:b,match:_,menuOpen:E,nextLesson:x,partnerContent:S,previewType:O,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 h});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(1283);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 h=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(){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(138),i=n(184),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(1284),i=n(92);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,p=t.previousComponent;return e.createElement(i.c,{type:s},p,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 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(14),d=n.n(l),f=n(3),p=n.n(f),h=(n(2723),n(1)),m=n.n(h),v=n(73),g=n(286),y=n(42),b=n(486),_=n(61);function w(e){var t=function(){if("undefined"==typeof Reflect||!p.a)return!1;if(p.a.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(p()(Boolean,[],function(){})),!0}catch(e){return!1}}();return function(){var n,r=Object(s.a)(e);if(t){var i=Object(s.a)(this).constructor;n=p()(r,arguments,i)}else n=r.apply(this,arguments);return Object(a.a)(this,n)}}var E=function(t){var n,r,i,o,a=t.authorName,s=t.avatar,c=t.children,l=t.description,f=t.labels,p=t.lessonNumber,h=t.partnerContentAuthors,m=t.showLessonCount,b=t.title,w=t.totalLessons,E=f.lessonName,k=f.lessonPreposition,x=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(E," ")).call(i,p," ")).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}),h&&e.createElement("div",{className:"lesson-header__partner-content"},d()(h).call(h,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)))})),s&&a&&!h?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(E,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(1285),i=n(92);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,p=l.media,h=l.type;return e.createElement(i.c,{type:h},u,e.createElement(i.b,{type:h},s,o,e.createElement(i.a,null,e.createElement(r.a,{id:d,items:f,labels:n,lessonProgress:a,image:p.image}))),c)}}).call(this,n(0))},function(e,t,n){"use strict";(function(e){var r=n(92),i=n(1286),o=n(486),a=n(614),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,p=t.labels,h=t.lessonNumber,m=t.lessonProgress,v=t.loadMedia,g=t.menuButtons,y=t.menuOpen,b=t.mobileMenuOpen,_=t.nextComponent,w=t.prefersKeyboardNavigation,E=t.previousComponent,k=t.showLessonCount,x=t.totalLessons;return e.createElement(r.c,{type:f},E,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:p,loadMedia:v,lessonNumber:h,lessonProgress:m,menuOpen:y,mobileMenuOpen:b,nextComponent:_,prefersKeyboardNavigation:w,previousComponent:E,showLessonCount:k,title:d,totalLessons:x,type:f}))))}}).call(this,n(0))},function(e,t,n){"use strict";(function(e){var r=n(4),i=n.n(r),o=(n(2728),n(581)),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(14),p=n.n(f),h=(n(2729),n(1)),m=n.n(h),v=n(73),g=n(286),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,h=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:h})),p()(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(51),o=n(119),a=n(2),s=n.n(a),c=n(16),u=n.n(c),l=n(147),d=n.n(l),f=n(7),p=n.n(f),h=n(65),m=n.n(h),v=n(53),g=n.n(v),y=n(79),b=n.n(y),_=n(29),w=n.n(_),E=n(56),k=n.n(E),x=n(21),S=n.n(x),T=n(91),O=n.n(T),C=n(18),j=n.n(C),A=n(15),N=n.n(A),P=n(48),M=n.n(P),L=n(80),I=n.n(L),R=n(163),D=n.n(R),B=n(318),F=n.n(B),U=(n(2730),n(22)),q=n(319),z=n(200),H=n(73),V=n(1287),W=n(735),Y=n(2261),G=n(2394),K=n(2395),X=n(2397),$=n(118),Q="".concat(Object(U.c)("CDN_USER_CONTENT_URI"),"/assets/rise/assets/trophy.svg"),Z=p()(k.a,g()(N()("isComplete")),I.a),J=p()(O()(["learningPathComplete","lpHasFailedQuiz"]),N()("learningPathUpNext"));t.a=Object(i.b)(J,function(e,t){var n=t.course,r=n.riseComCourseId,i=n.riseComLearningPathId;return{fetchLpUpNext:p()(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,h=t.lessons,v=void 0===h?[]:h,g=t.learningPathComplete,y=t.lpHasFailedQuiz,_=l.lessons,E=void 0===_?{}:_,k=l.percentComplete,x=a.dueAt,T=a.certificateDownload,O=a.completionCelebration,C=a.lessonsOnly,A=void 0===C?[]:C,P=a.riseComLearningPathId,L=a.trackingCompletionPercentage,I=a.trackingQuizId,R=w()(L)&&w()(I),B=R?100===k:Object(H.i)(),U=A.length,W=Z(E);Object(r.useEffect)(function(){P&&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 M()(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 p()(b()(j()("percentComplete",100),N()("score"),u()(null)),S()({},["lessons",I]))(l)},[l,I]),oe=Object($.d)(l,ee,I).outOfAttempts,ae=!I||re,se=s()("progress-summary",{"progress-summary__no-req":R});return e.createElement(F.a,{title:Object(q.a)(a.title+" - Progress Summary")},e.createElement("div",{className:se},B&&O&&ae&&e.createElement(K.a,null),e.createElement("header",{className:"progress-summary__header"},e.createElement("h1",{className:"progress-summary__header-title"},B&&!R&&ae?"Congratulations!":"Progress Summary"),R?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"}),D()(J).format("MMMM Do, YYYY")):e.createElement(G.a,{dueAt:x})),e.createElement("section",{className:"progress-summary__section"},!R&&B&&e.createElement("div",{className:"progress-summary__requirements-met"},"You've met all the requirements."),R?!P&&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||R)&&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&&(!P&&T||P&&g)&&T&&ae&&!y&&e.createElement("span",{className:"progress-summary__completion-control"},e.createElement(V.a,null)))),B&&!!P&&e.createElement(X.a,{color:n,learningPathId:P})))})}).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,p=t.role,h=void 0===p?"img":p;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:h},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(617);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),p=n(2396),h=n.n(p);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(h.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 p(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var h=function e(t,n){var r=this;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),p(this,"canvas",void 0),p(this,"context",void 0),p(this,"getOptions",void 0),p(this,"x",0),p(this,"y",0),p(this,"w",0),p(this,"h",0),p(this,"lastNumberOfPieces",0),p(this,"tweenInitTime",Date.now()),p(this,"particles",[]),p(this,"particlesGenerated",0),p(this,"removeParticleAt",function(e){r.particles.splice(e,1)}),p(this,"getParticle",function(){var e=u(r.x,r.w+r.x),t=u(r.y,r.h+r.y);return new f(r.context,r.getOptions,e,t)}),p(this,"animate",function(){var e=r.canvas,t=r.context,n=r.particlesGenerated,i=r.lastNumberOfPieces,o=r.getOptions(),a=o.run,s=o.recycle,c=o.numberOfPieces,u=o.debug,l=o.tweenFunction,d=o.tweenDuration;if(!a)return!1;var f=r.particles.length,p=s?f:n,h=Date.now();if(p<c){i!==c&&(r.tweenInitTime=h,r.lastNumberOfPieces=c);for(var m=r.tweenInitTime,v=l(h-m>d?d:Math.max(0,h-m),p,c,d),g=Math.round(v-p),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&&p<=c?r.particles[n]=r.getParticle():r.removeParticleAt(n))}),f>0||p<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 h(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 E(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function k(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?E(n,!0).forEach(function(t){C(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):E(n).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function x(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 O(e,t){return(O=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function C(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}n.d(t,"ReactConfetti",function(){return N});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))),C(T(r),"canvas",a.a.createRef()),C(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&&O(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}))}}])&&x(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,{}]}C(j,"defaultProps",k({},y)),C(j,"displayName","ReactConfetti");var N=a.a.forwardRef(function(e,t){return a.a.createElement(j,w({canvasRef:t},e))});t.default=N}]).default)},function(e,t,n){"use strict";(function(e){var r=n(17),i=n(4),o=n.n(i),a=n(0),s=n(51),c=n(163),u=n.n(c),l=n(224),d=n.n(l),f=n(109),p=n.n(f),h=n(7),m=n.n(h),v=n(110),g=n.n(v),y=n(126),b=n.n(y),_=n(65),w=n.n(_),E=n(86),k=n.n(E),x=n(442),S=n.n(x),T=n(21),O=n.n(T),C=n(91),j=n.n(C),A=n(15),N=n.n(A),P=n(48),M=n.n(P),L=n(18),I=n.n(L),R=n(165),D=n.n(R),B=n(128),F=n.n(B),U=n(194),q=n.n(U),z=n(2452),H=n(134),V=(n(2733),n(617)),W=n(22),Y=n(701),G=n(200),K=n(20),X=n(2398),$=Object(W.c)("IMAGES_URI"),Q=["cardImageKey","color","coverImageKey","progress","score","title"],Z=function(e,t){return 1===e?t:o()(t).call(t,"s")},J=O()([],["course","course","lessons"]),ee=function(e){return m()(k.a,F()(b()(I()("type","section"),D()(g()(d.a,e),"id"))),J)},te=function(e){var t=J(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}},ne=m()(w()(p()(I()("type","section"))),J),re=q()(2,function(e){return m()(M()("","id"),w()(Boolean),S()([ee(e),te,ne]))}),ie=function(e){var t,n=u.a.duration(e),r=n.hours(),i=n.minutes(),a=o()(t="".concat(r," ")).call(t,Z(r,"hr")),s="".concat(i," min");return r>=100?"100+ hrs":r>0&&i>0?[a,s].join(" "):r>0?a:s},oe=N()("learningPathUpNext");t.a=Object(s.b)(oe)(function(t){var n,i,s=t.color,c=t.learningPathComplete,u=t.learningPathId,l=t.isSuccess,d=t.nextCourse,f=t.nextCourse,p=(f=void 0===f?{}:f).dueAt,h=f.courseId,m=void 0===h?"":h,v=f.lessonCount,g=f.lessonsCompleted,y=void 0===g?[]:g,b=f.sourceType,_=f.timeToComplete,w=Object(H.b)("lxpEnabled"),E=Object(a.useMemo)(function(){return re(y,d)},[d,y]);Object(K.isNil)(d.color)&&(d.color=s);var k=j()(Q,d),x=Object(a.useCallback)(function(){var e;"PACKAGE"===b?(top.sessionStorage.setItem("upNextCourseId",m),top.location.assign("/learning-path/".concat(u))):Object(G.f)(o()(e="".concat(m,"/lessons/")).call(e,E))},[m,u,E,b]);return l&&!c&&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(Y.a,{className:"progress-summary__lp-next-label-icon",decorative:!0})),w?e.createElement("div",{className:"progress-summary__lp-next-cardV2"},e.createElement(X.a,Object(r.a)({imagesUri:$,labelCount:o()(n="".concat(v," ")).call(n,Z(v,"lesson")),labelDue:Object(V.a)(p),labelDuration:ie(_),noFavoriteBtn:!0,noCertDownload:!0,onClick:x},k))):e.createElement("div",{className:"progress-summary__lp-next-card"},e.createElement(z.a,Object(r.a)({imagesUri:$,labelCount:o()(i="".concat(v," ")).call(i,Z(v,"lesson")),labelDue:Object(V.a)(p),labelDuration:ie(_),noFavoriteBtn:!0,noCertDownload:!0,onClick:x},k)))))})}).call(this,n(0))},function(e,t,n){"use strict";var r=n(8),i=n(1288),o=n(2),a=n.n(o),s=n(163),c=n.n(s),u=n(0),l=n.n(u),d=n(103),f=n(25),p=(n(2734),n(77)),h=Object(p.a)("progress-summary-card"),m=function(e){var t=e.completeLabel,n=e.isComplete,i=e.isUrgent,o=e.completedDate,s=e.labelDue;return n?l.a.createElement("div",{className:"progress-summary-card__completed-label"},t,l.a.createElement("span",{className:"progress-summary-card__completed-date"},o)):s?l.a.createElement("div",{className:a()("progress-summary-card__due-label",Object(r.a)({},"brand--color",i))},s):null};t.a=function(e){var t=e.cardImageKey,n=void 0===t?null:t,o=e.className,s=e.color,p=void 0===s?"#ff6602":s,v=e.completedAt,g=void 0===v?null:v,y=e.coverImageKey,b=void 0===y?null:y,_=e.disable,w=void 0!==_&&_,E=e.durationHidden,k=void 0!==E&&E,x=e.enrolledAt,S=void 0===x?null:x,T=e.hidden,O=void 0!==T&&T,C=e.imagesUri,j=void 0===C?"":C,A=e.isLearningPath,N=void 0!==A&&A,P=e.isUrgent,M=void 0!==P&&P,L=e.labelAssignedToMe,I=void 0===L?"":L,R=e.labelDue,D=void 0===R?"":R,B=e.labelDuration,F=void 0===B?"":B,U=e.labelLearningPath,q=void 0===U?"":U,z=e.onClick,H=void 0===z?d.b:z,V=e.progress,W=void 0===V?0:V,Y=e.title,G=void 0===Y?"":Y,K=null!==g,X=Object(u.useCallback)(function(){w||null==H||H()},[w,H]),$=Object(u.useCallback)(function(e){Object(f.k)(e)&&e.preventDefault(),!w&&Object(f.d)(e)&&(null==H||H())},[w,H]),Q=n||b,Z="".concat(Math.round(W),"% Complete"),J="".concat(c()(new Date(g)).format("MM/DD/YY")),ee=h("card",{disabled:w}),te=h("image-overlay",{"not-started":!(W||K),"in-progress-completed":W||K});return l.a.createElement("div",{"aria-hidden":O,className:ee,onClick:X},l.a.createElement("div",{className:"progress-summary-card__content"},l.a.createElement("button",{"aria-disabled":w,className:a()("progress-summary-card__title-button",Object(r.a)({},o,o)),tabIndex:O?-1:void 0,role:"link",type:"button",onKeyDown:$},l.a.createElement("span",{className:"progress-summary-card__title"},G||"(No Title)")),l.a.createElement("div",{className:"progress-summary-card__course-info"},N&&l.a.createElement("div",{className:"progress-summary-card__hide"},q),S&&l.a.createElement("div",{className:"progress-summary-card__hide"},I),Boolean(W)&&!w&&!g&&l.a.createElement("span",{className:"progress-summary-card__hide"},Z),!k&&!K&&l.a.createElement("div",{className:"progress-summary-card__duration"},F),l.a.createElement(m,{isComplete:K,isUrgent:M,completedDate:J,labelDue:D,completeLabel:"Completed: "}))),l.a.createElement("div",{className:"progress-summary-card__image-wrap"},l.a.createElement(i.a,{alt:"","aria-hidden":"true",b:"fff",className:"progress-summary-card__image",f:"jpg",h:150,imageKey:Q,imagesUri:j,s:"cover",style:{backgroundColor:p},w:300}),l.a.createElement("div",{className:te}),l.a.createElement("div",{className:"progress-summary-card__image-overlay-bottom-bar"},Boolean(W)&&!w&&!K&&l.a.createElement("div",{"aria-hidden":"true",className:"progress-summary-card__progress-bar-wrap"},l.a.createElement("div",{className:"progress-summary-card__wrap-light"},l.a.createElement("div",{className:"progress-summary-card__progress-bar",style:{width:"".concat(W,"%")}}))))))}},function(e,t,n){var r=n(338)(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(338),o=n(2252),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(2253)(function(e,t,n){return e(n)?t(n):n});e.exports=r},function(e,t,n){var r=n(338)(function(e,t){return e*t});e.exports=r},function(e,t,n){var r=n(1267),i=n(2736),o=n(2737),a=n(2742);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(280),i=n(338)(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(548),i=n(1268),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(338),i=n(2338),o=n(2339),a=n(2254),s=n(2745),c=n(2252),u=n(1269),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(338)(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){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,p=d.containerHeight,h=d.lineHeight,m=(0,c.hexToRGB)(n);return s.default.createElement("div",{style:{maxHeight:p+"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:h+"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){"use strict";(function(e){var r=n(47),i=n.n(r),o=n(32),a=n.n(o),s=n(40),c=n.n(s),u=n(31),l=n.n(u),d=n(34),f=n.n(d),p=n(8),h=n(160),m=n.n(h),v=n(238),g=n.n(v),y=n(97),b=n.n(y),_=n(62),w=n.n(_),E=n(92),k=n(486),x=n(2410),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 O=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(p.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,p=t.enableVideoPlaybackSpeed,h=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,C=t.nextLessonRestrictions,j=t.onNextClick,A=t.prefersKeyboardNavigation,N=t.previousComponent,P=t.showLessonCount,M=t.showNavigationButtons,L=t.sidebarEnabled,I=t.totalLessons;return e.createElement(E.c,{type:f},N,e.createElement(E.b,{type:f},y,e.createElement(E.a,{type:f,items:u},e.createElement(k.b,{id:c,lessonProgress:g,menuOpen:b,mobileMenuOpen:_,type:"quiz"}),e.createElement(x.a,{authorName:n,avatar:r,color:i,currentPassingScore:l.passingScore,description:s,enableVideoPlaybackSpeed:p,id:c,isLesson:h,items:u,labels:m,lessonNumber:v,lessonProgress:g,menuOpen:b,mobileMenuOpen:_,mode:w,nextComponent:o||S,nextLesson:T,nextLessonRestrictions:C,onNextClick:j,prefersKeyboardNavigation:A,previousComponent:N,settings:O({id:c,lessonProgress:g,settings:l}),showLessonCount:P,showNavigationButtons:M,sidebarEnabled:L,title:d,totalLessons:I}))))}}).call(this,n(0))},function(e,t,n){"use strict";(function(e){var r=n(305),i=n(21),o=n.n(i),a=n(1289),s=n(1290),c=n(2414),u=n(73),l=n(1291),d=n(1292),f=n(312),p=n(1293),h=n(1294),m=n(66),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,p=t.nextLessonRestrictions,h=t.onNextClick,m=t.settings,y=m.continueType,b=m.passingScore,_=m.retryCount,w=t.showNavigationButtons,E=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:p,onNextClick:h,passingScore:b,retryAttempts:g({lessonProgress:u}),retryCount:Number(_),showNavigationButtons:w,sidebarEnabled:E})}},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,p=t.title,h=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:p,totalLessons:h})}},_={setFillInText:l.a,setMatchItems:d.a,setNextIndex:f.c,setSelectedIndex:p.a,submitAnswer:f.d,toggleSelectedIndex:h.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,p=t.setSelectedIndex,h=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:p,onFillInChange:l,onMatchSet:d,onResponseToggle:g,onSetIndex:f,onSubmit:m,previousComponent:c,progress:s,reportAnswer:u.o,quizEnd:y(t),quizHeader:b(t),settings:h,title:v,updateProgress:_})})}).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(2781),n(2)),f=n.n(d),p=n(147),h=n.n(p),m=n(7),v=n.n(m),g=n(55),y=n.n(g),b=n(110),_=n.n(b),w=n(37),E=n.n(w),k=n(121),x=n.n(k),S=n(94),T=n.n(S),O=n(56),C=n.n(O),j=n(21),A=n.n(j),N=n(15),P=n.n(N),M=n(48),L=n.n(M),I=n(1),R=n.n(I),D=n(0),B=n.n(D),F=n(212),U=n.n(F),q=n(394),z=n(42),H=n(174),V=n(45),W=n(123),Y=n(186),G=n(213),K=n(409);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 $=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()(C.a,T.a,L()({},"matches")),ae={DONE:0,START:1,END:2},se=function(e){Object(c.a)(n,e);var t=X(n);function n(e){var r;return Object(o.a)(this,n),(r=t.call(this,e)).getSelection=r.getSelection.bind(Object(s.a)(r)),r.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 $:return Object(H.b)(P()("text",t));case Q:return oe(t)===C()(P()("answers",n));case J:return v()(h()(H.b,H.c),P()("selectedIndices"))(t);case Z:default:return Object(H.b)(P()("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?x()(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 $: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:"getSelection",value:function(e){var t=e.itemProgress;switch(this.props.item.type){case $:return t.text;case Q:return t.matches;case J:return t.selectedIndices;case Z:default:return t.selectedIndex}}},{key:"hasNoBorder",value:function(){return _()(this.props.item.type,[$,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:x()(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(e){if(e.preventDefault(),n){var o=t.props,a=o.id,s=o.item,c=o.reportAnswer,u=o.retryAttempts,l=o.settings,d=o.submitAction,f=o.title,p=t.state.startTime,h=s.id,m=l.passingScore,v=l.revealAnswers,g=l.passToContinue,y={startTime:p,stopTime:Date.now()},b=L()(-1,"retryCount",l),_=parseInt(b,10),w=parseInt(u,10),k=E()(_,w);c({duration:y,id:a,isCorrect:r,item:s,itemProgress:i,retryAttempts:u,title:f});var x={finalRetryAttempt:k,id:a,isCorrect:r,itemId:h,passingScore:m,passToContinue:g,revealAnswers:v};if(v)return d(x);t.onNextClick(d,x)}}}},{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,p=s.feedbackGroup,h=s.quizAcceptableResponses,m=s.quizAnswerPlaceholder,v=s.quizCorrect,g=s.quizIncorrect,y=s.quizNext,b=s.quizRestart,_=s.quizQuestion,w=s.quizSubmit,E=o.id,k=o.media,x=o.title,S=l.revealAnswers,T=void 0!==S&&S,O=this.getIndex(),j=O===ie(this.props),A=this.getItemProgress({props:this.props}),N=this.getIsComplete({itemProgress:A}),M=this.getIsCorrect({itemProgress:A}),L=N&&T,I=!N&&this.getCanSubmit({itemProgress:A}),R=this.onSubmit({canSubmit:I,isCorrect:M,itemProgress:A}),D=P()("selectedIndex",A),F=this.getFeedback({isCorrect:M,selectedIndex:D}),U={feedbackValue:F,isActive:j,isComplete:N},q="q-".concat(E),z=this.getSelection({itemProgress:A}),H=f()("quiz-card__retake-container",{"quiz-card__retake-container--active":N}),V=f()("quiz-card__retake","brand--hoverColor",{"quiz-card__retake--active":N});return B.a.createElement(B.a.Fragment,null,B.a.createElement(Y.f,{isActive:j,num:r?O:O+1,quizQuestion:_,total:C()(a)}),B.a.createElement(Y.g,{allowTabNavigation:j,id:q,value:x}),B.a.createElement(Y.e,{allowTabNavigation:j,enableVideoPlaybackSpeed:n,index:String(O),labels:s,media:k,opts:l}),B.a.createElement(Y.d,{hasNoBorder:this.hasNoBorder()},this.renderType({canSubmit:I,isActive:j,isComplete:N,isCorrect:M,itemProgress:A,onSubmit:R,revealAnswers:T,questionHtmlId:q,quizAcceptableResponses:h,quizAnswerPlaceholder:m})),B.a.createElement(Y.c,{canProceed:L,feedbackGroup:p,feedbackRef:function(t){e.feedback=t},hasFeedback:!!F,isActive:j,isCorrect:M,item:o,progress:A,quizCorrect:v,quizIncorrect:g,renderText:this.renderFeedback.bind(this,U),selection:z}),B.a.createElement(Y.a,{allowNext:!c,allowTabNavigation:j,canProceed:L,canSubmit:I,item:o,onNext:d?this.onNextFeedbackClick.bind(this,j):null,onSubmit:R,quizNext:100===u.percentComplete&&i?b:y,quizSubmit:w}),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,p=d.item,h=d.prefersKeyboardNavigation,m=p.answers,v=p.correct,g=p.corrects,y=p.matchIndices,b=p.titleIndices,_=n&&!r;switch(p.type){case $: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:h,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:h,renderOptionText:this.renderMROptionText.bind(this,n),revealAnswers:s,selectedIndices:P()("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:h,questionHtmlId:c,renderOptionText:this.renderMCOptionText.bind(this,n),revealAnswers:s,selectedIndex:P()("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:R.a.bool,getClassName:R.a.func,hasStart:R.a.bool,id:R.a.string.isRequired,index:R.a.number,item:R.a.object.isRequired,items:R.a.arrayOf(R.a.object),labels:R.a.object,onChoiceSelect:R.a.func,onFillInChange:R.a.func,onMatchSet:R.a.func,onResponseToggle:R.a.func,prefersKeyboardNavigation:R.a.bool,progress:R.a.object,quizTop:R.a.number,reportAnswer:R.a.func,retryAttempts:R.a.number,scrollId:R.a.string,setNextIndex:R.a.func,settings:R.a.object,showNextButton:R.a.bool,submitAction:R.a.func,title:R.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";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),p=(n(2783),n(0)),h=n.n(p),m=n(2),v=n.n(m),g=n(453),y=n.n(g),b=n(78),_=n(312),w=n(73),E=n(22),k=n(23),x=n(118),S=n(610),T=n(725),O=n(2413),C=n(581);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(p.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,p=l.score,m=n.mode,v=n.nextLesson,g=n.nextLessonRestrictions,y=n.onNextClick,b=n.passingScore,_=n.retryAttempts,w=n.retryCount,E=n.showNavigationButtons,x=n.sidebarEnabled,S=this.state.showFooter,T=u.quizPassing,C=u.quizResults,j=u.quizScore,A=p>=b,P=f()(e="".concat(j," ")).call(e,p,"%");return h.a.createElement("div",{className:N({isAtEnd:c})},h.a.createElement("div",{className:"quiz-results__header"},h.a.createElement("h1",{className:"quiz-results__label noOutline brand--ui",ref:this.headingRef,tabIndex:k.h},C),h.a.createElement("div",{className:"quiz-results__passing"},h.a.createElement("div",{className:"odometer__passlabel brand--ui"},T),h.a.createElement("div",{className:"odometer__passpercent brand--ui"},"".concat(b,"%")))),h.a.createElement("div",{className:"visually-hidden"},h.a.createElement("div",null,P),h.a.createElement("div",null,"".concat(A?"Passed":"Failed")),h.a.createElement("div",null,f()(t="".concat(T," ")).call(t,b,"%"))),h.a.createElement("div",{"aria-hidden":"true",className:"quiz-results__results"},h.a.createElement(O.a,{atEnd:c,color:i,complete:d,isPass:A,onAnimationDone:this.showFooter,quizScore:j,quizPassing:T,score:p,scoreLabel:P,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:E,sidebarEnabled:x}))}}]),n}(h.a.Component),N=function(e){var t=e.isAtEnd;return v()("quiz-results",{"quiz-results--active":t})},P=function(e){var t=e.isAtEnd,n=e.showFooter;return v()("quiz-results__footer",{"quiz-results__footer--active":t,"quiz-results__footer--hidden":!n})},M=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,p=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,O=a.quizTakeAgain,j="continue"===n&&"preview-lesson"!==s&&!(g&&!v),A=j&&E.e&&!c&&v&&!Object(w.j)();return h.a.createElement("div",{className:P({isAtEnd:o,showFooter:m})},(-1===p||f<p)&&h.a.createElement(C.a,{allowTabNavigation:t,onClick:M({currentPassingScore:r,id:i}),onFocus:d,text:O}),j&&y&&c&&h.a.createElement(T.a,{bgType:"transparent",text:Object(x.a)({labels:a,restrictions:u})}),j&&!y&&c&&h.a.createElement(S.a,{href:"/lessons/".concat(encodeURIComponent(c)),onClick:l,text:k}),A&&h.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(612),d=n.n(l),f=(n(2784),n(2)),p=n.n(f),h=n(103);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=p()("odometer__score brand--ui",{"odometer__score--pass":l,"odometer__score--fail":!1===l}),h=p()("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:h})),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 p=null,h=function t(h){return function(m){!p&&h&&(p=m);var v,g,y,b,_,w,E,k,x,S,T,O=h?(m-p)/2e3:0;v=O,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),E=(225+n/100*270-90)*Math.PI/180,k=.5*o+210*Math.cos(E),x=.5*a+210*Math.sin(E),S=k+3,T=x+3,e.passmark&&(e.passmark.style.left="".concat(k/o*100,"%"),e.passmark.style.top="".concat(x/a*100,"%")),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,x),c.lineTo(k+35,x-35),c.strokeStyle="#c2c3c4",c.lineWidth=1,c.stroke(),c.closePath(),c.beginPath(),c.moveTo(k+35,x-35),c.lineTo(k+70,x-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()),O<1&&h&&window.requestAnimationFrame(t(!0))}};window.requestAnimationFrame(h(!1)),setTimeout(function(){window.requestAnimationFrame(h(!0)),e.score()},1e3)}},{key:"score",value:function(){var e=this,t=null,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:h.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(2341),n(0)),a=n.n(o),s=n(7),c=n.n(s),u=n(121),l=n.n(u),d=n(453),f=n.n(d),p=n(238),h=n.n(p),m=n(227),v=n.n(m),g=n(48),y=n.n(g),b=n(78),_=n(73),w=n(103),E=n(312),k=n(42),x=n(104),S=n(23),T=c()(h()(v.a,0),y()(0,"retryAttempts")),O=function(e){var t=e.lessonProgress,n=e.quizStart,r=e.quizTakeAgain;return T(t)?r:n},C=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(E.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,p=u.quizStart,h=u.quizTakeAgain,m=e.lessonNumber,v=e.lessonProgress,g=e.showLessonCount,y=e.title,b=e.totalLessons,E=Object(o.useRef)(),A=t&&T(v);return Object(o.useEffect)(function(){A&&E&&E.current&&f()(E.current.focus)&&E.current.focus()},[A,E]),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:E,tabIndex:S.h},a.a.createElement(k.a,{className:"quiz-header__title brand--lhead",value:Object(x.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&&C({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"},O({lessonProgress:v,quizStart:p,quizTakeAgain:h})),a.a.createElement("i",{className:"icon icon-chevron-right"})))))))}},function(e,t,n){"use strict";(function(e){var r=n(15),i=n.n(r),o=n(92),a=n(1295);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,p=t.menuButtons,h=t.nextComponent,m=t.previousComponent;return e.createElement(o.c,{type:u},m,e.createElement(o.b,{type:u},p,d,e.createElement(o.a,{type:u},e.createElement(a.a,{id:r,items:s,labels:l,progress:f,piles:c}))),i()("isComplete",f)?h:null)}}).call(this,n(0))},function(e,t,n){"use strict";(function(e){var r=n(92),i=n(1296);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,p=t.nextComponent,h=t.previousComponent;return e.createElement(r.c,{type:s},h,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}))),p)}}).call(this,n(0))},function(e,t,n){"use strict";(function(e){var r=n(92),i=n(1297);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){var r=n(17),i=n(14),o=n.n(i),a=(n(2788),n(85)),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(2789),n(119)),f=n(116),p=n(2),h=n.n(p),m=n(1),v=n.n(m),g=n(385),y=n.n(g),b=n(42),_=n(458),w=n(23);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 k=function(t){Object(c.a)(r,t);var n=E(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=h()("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))],p=this.props.allowTabNavigation,m=Object(w.l)(p);return e.createElement(d.c,{activeClassName:"lesson-link--active lesson-search-link--active brand--beforeBackground","aria-hidden":!p,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.h)(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(14),d=n.n(l),f=(n(2793),n(2)),p=n.n(f);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 m=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,n=this,r=this.props,i=r.children,o=r.isActive,a=r.sectionId,s=r.sectionLabel,c=p()("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){var r=n(353),i=n(783),o=n(310),a=n(85),s=n(2267),c=n(1224);t.a=function(t){var n=t.location,u=n.pathname.split("/")[1];return e.createElement(a.d,{component:"div",className:"transition-group"},e.createElement(o.a,{key:u},e.createElement(i.a,{location:n},e.createElement(r.a,{exact:!0,path:"/",component:s.a,childProps:t}),e.createElement(r.a,{exact:!0,path:"/:mode",component:s.a,childProps:t}),e.createElement(r.a,{exact:!0,path:"/lessons/:id",component:c.a,childProps:t}),e.createElement(r.a,{path:"/lessons/:id/:mode",component:c.a,childProps:t}))))}}).call(this,n(0))},function(e,t,n){"use strict";(function(e){var r=n(3),i=n.n(r),o=n(17),a=n(9),s=n(10),c=n(6),u=n(11),l=n(13),d=n(5),f=n(4),p=n.n(f),h=n(149),m=n.n(h),v=n(65),g=n.n(v),y=n(60),b=n.n(y),_=n(21),w=n.n(_),E=n(18),k=n.n(E),x=n(48),S=n.n(x),T=n(1),O=n.n(T),C=n(0),j=n(88),A=n.n(j),N=n(318),P=n.n(N),M=n(2),L=n.n(M),I=n(66),R=n(78),D=n(118),B=n(352),F=n(407),U=n(286),q=n(2423),z=n(2429),H=n(2430),V=n(2431),W=n(788),Y=n(2432),G=n(449),K=n(2435),X=n(2436),$=n(789),Q=n(2437),Z=n(22),J=n(319),ee=n(1298),te=n(73),ne=n(100),re=n(54),ie=n(2438),oe=n(2449),ae=n(2440),se=n(2441),ce=n(785),ue=n(139),le=n(134);function de(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 fe=re.f.LARGE,pe=re.f.SMALL,he=re.a.ACCENT,me=re.a.BLACK,ve=re.a.COLOR,ge=re.a.DARK,ye=re.a.GRAY,be=re.a.IMAGE,_e=re.a.LIGHT,we=re.a.TINT,Ee=function(t){Object(u.a)(r,t);var n=de(r);function r(e){var t;Object(a.a)(this,r),(t=n.call(this,e)).refMain=Object(C.createRef)(),t.handleFocusLessonContent=t.handleFocusLessonContent.bind(Object(c.a)(t));var i=e.course,o=e.isProgressSummary,s=e.lessonProgress,u=e.match.params,l=S()(null,"index",s),d=o?W.b:w()({},["lessons",l],i),f={course:i,lesson:d},p=o?null:Object(D.i)(f);return t.state={hasTransitioned:!1,lessonNumber:o?0:Object(D.h)(f),mode:u.mode||"",model:d,next:p,nextNumber:Object(D.h)({course:i,lesson:p}),scrollPosition:0,totalLessons:Object(D.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(te.t)(e),this.props.isProgressSummary||Object(R.a)(Object(I.a)(e)),m()("[data-page]:first-child [data-previous-lesson]").hide().attr("data-scrolling","true")}},{key:"componentWillReceiveProps",value:function(e){if(!this.props.isProgressSummary){var t=e.course,n=e.lessonProgress,r=S()(null,"index",n),i=w()(null,["lessons",r],t),o={course:t,lesson:i},a=Object(D.i)(o);i&&this.setState({model:i,next:a})}}},{key:"displayFlex",value:function(e){e.css({display:"flex"})}},{key:"componentWillEnter",value:function(e){m()("[data-lesson-header]").css({top:""}),this.transition("enter",e)}},{key:"componentDidEnter",value:function(){var e=m()("[data-page]:first-child [data-previous-lesson]"),t=m()("[data-page]:first-child [data-next-lesson]"),n=document.getElementsByClassName("page-wrap");if(this.setState({hasTransitioned:!0}),e.length>0){var r=e.outerHeight();this.displayFlex(e),m()(n).scrollTop(r),m()("[data-lesson-header]").css({top:r}),e.removeAttr("data-scrolling")}t.length>0&&(t.hide(),this.displayFlex(t))}},{key:"componentWillExit",value:function(e){var t=document.getElementsByClassName("page-wrap"),n=t[0].scrollTop;m()(t).scrollTop(0),this.lastScrollPosition=n,this.transition("leave",e),m()(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=p()(n="page ".concat(o,"-")).call(n,e);a.className=s,$.a.addEventListeners(a,function n(){"enter"===e?(a.className="page ".concat(o,"-complete"),i()):a.className="page",$.a.removeEventListeners(a,n),t()})}else t()}},{key:"handleFinishQuiz",value:function(){var e=this.props,t=e.course,n=e.courseProgress;Object(ee.a)(t,n)}},{key:"handleFocusLessonContent",value:function(){var e,t;null===(e=this.refMain.current)||void 0===e||null===(t=e.focus)||void 0===t||t.call(e)}},{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(W.a,Object(o.a)({},this.props,r));switch(n){case"blocks":return e.createElement(q.a,Object(o.a)({},r,{animateBlockEntrance:i.animateBlockEntrance,isFirstLesson:Object(D.f)({course:i,lesson:a})}));case"map":return e.createElement(H.a,r);case"process":return e.createElement(V.a,r);case"timeline":return e.createElement(X.a,r);case"quiz":return e.createElement(Y.a,r);case"sorting":return e.createElement(K.a,r);case"screencast":case"slidecast":case"video":return e.createElement(Q.a,r);case"embed":return e.createElement(z.a,r);default:return null}}},{key:"render",value:function(){var t,n=this.state,r=n.lessonNumber,i=n.mode,o=n.model,a=n.next,s=n.scrollPosition,c=n.totalLessons,u=this.props,l=u.allowRestrictedTooltip,d=u.course,f=u.courseProgress,p=u.handleStorylineFullscreen,h=u.isMobileHeader,m=u.isProgressSummary,v=u.labels,y=u.lessonProgress,_=u.location,E=u.lxpEnabled,x=u.match,T=u.menuButtons,O=u.menuOpen,C=u.mobileMenuOpen,j=u.previewType,A=u.sessionPreferences.prefersKeyboardNavigation,N=u.sidebarEnabled,M=u.themeId,I=o.author,R=o.selectedAuthorId,q=o.settings,z=void 0===q?{}:q,H=o.type,V=d.authors,W=d.color,Y=d.colorAccentTint,K=d.enableVideoPlaybackSpeed,X=d.id,$=d.lessonHeaderImage,Q=d.lessonHeaderSize,ee=d.lessonHeaderStyle,re=d.publishedAt,le=d.showAuthor,de=d.showLessonCount,Ee=d.showNavigationButtons,ke=d.tenantId,xe=d.theme,Se=xe.lessonHeaderColor,Te=xe.navigationType,Oe=$.overlayColor,Ce=w()([],["partnerContent","content"],this.props),je=!b()(Ce),Ae=je?g()(k()("id",R),Ce):{},Ne=je?w()(void 0,["data","authors"],Ae):void 0,Pe=Object(ne.d)(W),Me=Object(ne.d)(Se),Le=Object(G.a)({authors:V,author:I,selectedAuthorId:R}),Ie=Le.avatar,Re=Le.authorName,De=Object(F.a)({course:d,courseProgress:f}),Be=m?{}:Object(D.b)({course:d,courseProgress:f,lesson:a,lxpEnabled:E,restrictingQuiz:De}),Fe="quiz"===H&&"continue"===z.continueType,Ue=Object(B.c)(o),qe=a&&"preview-lesson"!==i&&Ee&&!Fe,ze=(null===(t=o.settings)||void 0===t?void 0:t.playbackMode)===ue.b.SLIDE,He="preview-lesson"!==i&&Ee&&!ze?e.createElement(ie.a,{lessonId:o.id}):null,Ve=qe?e.createElement(oe.a,{allowTooltip:l,lessonId:o.id}):!Z.e||"preview-lesson"===i||Fe||Object(te.j)()?null:e.createElement(ae.a,null),We=e.createElement(se.a,{authorName:Re,avatar:Ie,color:W,course:d,description:o.description,labels:v,lessonHeaderColor:Se,lessonHeaderImage:$,lessonHeaderStyle:ee,lessonHeaderSize:Q,lessonNumber:r,partnerContentAuthors:Ne,showAuthor:le,showLessonCount:de,themeId:M,title:o.title,totalLessons:c},"audio"===o.mediaType&&o.mediaSrc&&e.createElement(U.b,{id:"audio-".concat(o.cid),key:"audio-".concat(o.cid),labels:v,mediaSrc:o.mediaSrc}),!m&&e.createElement(ce.a,{id:o.id,items:o.items,lessonProgress:y,menuOpen:O,mobileMenuOpen:C,navigationType:Te,scrollPosition:s,type:o.type})),Ye=L()("lesson-header-wrap ",{"lesson-header-wrap--small":Q===pe&&!h,"lesson-header-wrap--large":Q===fe&&!h,"lesson-header-wrap--mobile":h,"lesson-header-wrap--accent":ee===he,"lesson-header-wrap--black":ee===me,"lesson-header-wrap--tint":ee===we,"lesson-header-wrap--dark":ee===ge,"lesson-header-wrap--gray":ee===ye,"lesson-header-wrap--light":ee===_e,"lesson-header-wrap--custom":ee===ve,"lesson-header-wrap--dark-with-image":ee===be&&Oe===ge,"lesson-header-wrap--light-with-image":ee===be&&Oe===_e,"lesson-header-wrap--accent-with-image":ee===be&&Oe===he,"lesson-header-wrap--bg-light":ee===he&&!Pe||ee===ve&&!Me,"lesson-header-wrap--bg-dark":ee===he&&Pe||ee===ve&&Me}),Ge={authorName:Re,avatar:Ie,color:W,colorAccentTint:Y,courseId:X,courseTitle:d.title,data:o,enableVideoPlaybackSpeed:K,handleStorylineFullscreen:p,isLesson:Object(D.e)(o),labels:v,lessonHeader:We,lessonHeaderImage:$,lessonHeaderStyle:ee,lessonHeaderWrapClasses:Ye,lessonHasContinues:Ue,lessonNumber:r,lessonProgress:y,loadMedia:this.state.hasTransitioned,location:_,match:x,menuButtons:T,menuOpen:O,mobileMenuOpen:C,mode:i,nextComponent:Ve,nextLesson:S()(null,"id",a),nextLessonRestrictions:Be,partnerContent:Ce,publishedAt:re,prefersKeyboardNavigation:A,previewType:j,previousComponent:He,scrollPosition:s,showAuthor:le,showLessonCount:de,showNavigationButtons:Ee,sidebarEnabled:N,tenantId:ke,totalLessons:c};return e.createElement(P.a,{title:Object(J.a)(d.title+" - "+o.title)},e.createElement("div",{"data-lesson-id":x.params.id},this.renderLessonType({type:H,props:Ge,course:d,model:o})))}}],[{key:"propTypes",get:function(){return{focusLessonContent:O.a.func,match:O.a.object.isRequired,navigateDirection:O.a.func,partnerContent:O.a.object,previewType:O.a.string,sidebarEnabled:O.a.bool}}}]),r}(e.Component);t.a=Object(le.d)(Ee)}).call(this,n(0))},function(e,t,n){"use strict";(function(e){var r=n(21),i=n.n(r),o=n(15),a=n.n(o),s=n(0),c=n(51),u=n(786),l=n(92),d=n(320),f=n(54),p=n(2424),h=n(139),m=f.a.TINT;t.a=Object(c.b)(function(e){return{partnerContent:i()([],["partnerContent","content"],e)}})(function(t){var n=t.animateBlockEntrance,r=t.color,i=t.colorAccentTint,o=t.courseId,c=t.courseTitle,f=t.data,v=t.enableVideoPlaybackSpeed,g=t.handleNavigate,y=t.handleStorylineFullscreen,b=t.labels,_=t.lessonHeader,w=t.lessonHeaderStyle,E=t.lessonHasContinues,k=t.lessonHeaderWrapClasses,x=t.lessonProgress,S=t.loadMedia,T=t.match,O=t.menuButtons,C=t.menuOpen,j=t.nextComponent,A=t.nextLesson,N=t.partnerContent,P=t.prefersKeyboardNavigation,M=t.previewType,L=t.previousComponent,I=t.publishedAt,R=t.tenantId,D=f.id,B=f.items,F=f.settings,U=f.type,q=(null==F?void 0:F.playbackMode)===h.b.SLIDE,z=Object(s.useMemo)(function(){return!E||a()("isComplete",x)},[E,x]),H=Object(s.useMemo)(function(){return w===m?i:r},[r,i,w]),V={animateBlockEntrance:n,blocks:B,color:r,courseId:o,courseTitle:c,enableVideoPlaybackSpeed:v,handleNavigate:g,handleStorylineFullscreen:y,isFirstLesson:!0,labels:b,lessonId:D,lessonProgress:x,loadMedia:S,match:T,menuOpen:C,nextLesson:A,partnerContent:N,previewType:M,prefersKeyboardNavigation:P,publishedAt:I,tenantId:R,type:U};return e.createElement(l.c,{type:U},L,e.createElement(l.b,{type:U},O,e.createElement(d.a,null,!q&&e.createElement("div",{className:k,style:{color:H}},_),e.createElement(l.a,null,q?e.createElement(p.a,V):e.createElement(u.a,V)))),z&&j)})}).call(this,n(0))},function(e,t,n){"use strict";(function(e){var r=n(17),i=n(35),o=n(70),a=n(0),s=n(116),c=n(2425),u=n(2426),l=n(2428),d=["blocks"],f=function(t,n){var f=t.blocks,p=Object(o.a)(t,d);Object(a.useImperativeHandle)(n,Function.prototype,[]);var h=Object(a.useState)(0),m=Object(i.a)(h,2),v=m[0],g=m[1],y=Object(s.f)(),b=Object(a.useMemo)(function(){return Object(l.a)(f)},[f]),_=b.length,w=b[v],E=Object(a.useCallback)(function(e){return g(e)},[]),k=Object(a.useCallback)(function(){return y.push("/")},[y]),x=Object(a.useCallback)(function(){v>0?E(v-1):k()},[E,v,k]),S=Object(a.useCallback)(function(){v<_-1&&E(v+1)},[E,_,v]),T=Object(a.useCallback)(function(e){e!==v&&E(e)},[E,v]);return e.createElement("div",null,e.createElement(c.a,Object(r.a)({},p,{slide:w})),e.createElement(u.a,{activeSlideIndex:v,numberOfSlides:_,onNextClick:S,onPrevClick:x,onSlideClick:T,onTopClick:k}))};t.a=Object(a.forwardRef)(f)}).call(this,n(0))},function(e,t,n){"use strict";(function(e){var r=n(17),i=n(70),o=(n(2803),n(786)),a=n(77),s=["slide"],c=Object(a.a)("blocks-lesson-slide");t.a=function(t){var n=t.slide,a=Object(i.a)(t,s),u=c("lesson").toString();return e.createElement(o.a,Object(r.a)({},a,{blocks:n,className:u}))}}).call(this,n(0))},function(e,t,n){"use strict";(function(e){n(2804);var r=n(2427),i=n(77),o=n(700),a=n.n(o),s=n(175),c=Object(i.a)("blocks-slide-controls");t.a=function(t){var n=t.activeSlideIndex,i=t.numberOfSlides,o=t.onNextClick,u=t.onPrevClick,l=t.onSlideClick,d=t.onTopClick,f=c("button",{prev:!0}),p=c("button",{next:!0}),h=n===i-1;return e.createElement("div",{className:c("slide-controls")},e.createElement("button",{"aria-label":"Previous Slide",className:f,onClick:u,type:"button"},e.createElement(s.c,null)),e.createElement("div",{className:c("page-control")},a()(function(t){return e.createElement(r.a,{active:t===n,key:t,onClick:l,slideIndex:t})},i)),h?e.createElement("button",{"aria-label":"Back to Top",className:c("top-button"),onClick:d,type:"button"},e.createElement(s.c,null),e.createElement("div",{className:c("top-button-label")},"Back to top")):e.createElement("button",{"aria-label":"Next Slide",className:p,onClick:o,type:"button"},e.createElement(s.b,null)))}}).call(this,n(0))},function(e,t,n){"use strict";(function(e){n(2805);var r=n(77),i=n(0),o=Object(r.a)("blocks-slide-indicator");t.a=function(t){var n=t.active,r=t.onClick,a=t.slideIndex,s=Object(i.useCallback)(function(){return r(a)},[r,a]);return e.createElement("button",{className:o({active:n}),onClick:s,type:"button"})}}).call(this,n(0))},function(e,t,n){"use strict";n.d(t,"a",function(){return a});var r=n(120),i=n.n(r),o=function(e,t){var n,r=e.slides,i=e.currentSlide;return i.push(t),null!==(n=t.settings)&&void 0!==n&&n.attachedToNextBlock||(r.push(i),i=[]),{slides:r,currentSlide:i}},a=function(e){return i()(o,{slides:[],currentSlide:[]},e).slides}},function(e,t,n){"use strict";(function(e){var r=n(1284),i=n(92),o=n(320);t.a=function(t){var n=t.color,a=t.data,s=a.id,c=a.items,u=a.type,l=t.labels,d=t.lessonHeader,f=t.lessonHeaderWrapClasses,p=t.lessonProgress,h=t.menuButtons,m=t.nextComponent,v=t.previousComponent;return e.createElement(i.c,{type:u},v,e.createElement(i.b,{type:u},h,e.createElement(o.a,null,e.createElement("div",{className:f,style:{color:n}},d),e.createElement(i.a,null,e.createElement(r.a,{id:s,items:c,labels:l,lessonProgress:p})))),m)}}).call(this,n(0))},function(e,t,n){"use strict";(function(e){var r=n(1285),i=n(92),o=n(320);t.a=function(t){var n=t.color,a=t.labels,s=t.lessonHeader,c=t.lessonHeaderWrapClasses,u=t.lessonProgress,l=t.menuButtons,d=t.nextComponent,f=t.previousComponent,p=t.data,h=p.id,m=p.items,v=p.media,g=p.type;return e.createElement(i.c,{type:g},f,e.createElement(i.b,{type:g},l,e.createElement(o.a,null,e.createElement("div",{className:c,style:{color:n}},s),e.createElement(i.a,null,e.createElement(r.a,{id:h,items:m,labels:a,lessonProgress:u,image:v.image})))),d)}}).call(this,n(0))},function(e,t,n){"use strict";(function(e){var r=n(92),i=n(320),o=n(1286),a=n(785),s=n(614),c=Object(s.a)(o.a);t.a=function(t){var n=t.authorName,o=t.avatar,s=t.data,u=s.description,l=s.id,d=s.items,f=s.title,p=s.type,h=t.labels,m=t.lessonNumber,v=t.lessonProgress,g=t.loadMedia,y=t.menuButtons,b=t.menuOpen,_=t.mobileMenuOpen,w=t.nextComponent,E=t.prefersKeyboardNavigation,k=t.previousComponent,x=t.showLessonCount,S=t.totalLessons;return e.createElement(r.c,{type:p},k,e.createElement(r.b,{type:p},y,e.createElement(i.a,null,e.createElement(r.a,{type:p,items:d},e.createElement(a.a,{id:l,items:d,lessonProgress:v,menuOpen:b,mobileMenuOpen:_,type:"process"}),e.createElement(c,{authorName:n,avatar:o,description:u,id:l,items:d,labels:h,loadMedia:g,lessonNumber:m,lessonProgress:v,menuOpen:b,mobileMenuOpen:_,nextComponent:w,prefersKeyboardNavigation:E,previousComponent:k,showLessonCount:x,title:f,totalLessons:S,type:p})))))}}).call(this,n(0))},function(e,t,n){"use strict";(function(e){var r=n(47),i=n.n(r),o=n(32),a=n.n(o),s=n(40),c=n.n(s),u=n(31),l=n.n(u),d=n(34),f=n.n(d),p=n(8),h=n(160),m=n.n(h),v=n(238),g=n.n(v),y=n(97),b=n.n(y),_=n(62),w=n.n(_),E=n(92),k=n(320),x=n(785),S=n(2433),T=n(73);function O(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(T.g)({id:t,passingScore:n}))}(function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?O(Object(n),!0).forEach(function(t){Object(p.a)(e,t,n[t])}):f.a?Object.defineProperties(e,f()(n)):O(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,p=t.enableVideoPlaybackSpeed,h=t.isLesson,m=t.labels,v=t.lessonNumber,g=t.lessonProgress,y=t.menuButtons,b=t.menuOpen,_=t.mobileMenuOpen,w=t.mode,T=t.nextComponent,O=t.nextLesson,j=t.nextLessonRestrictions,A=t.onNextClick,N=t.prefersKeyboardNavigation,P=t.previousComponent,M=t.showAuthor,L=t.showLessonCount,I=t.showNavigationButtons,R=t.sidebarEnabled,D=t.totalLessons;return e.createElement(E.c,{type:f},P,e.createElement(E.b,{type:f},y,e.createElement(k.a,null,e.createElement(E.a,{type:f,items:u},e.createElement(x.a,{id:c,lessonProgress:g,menuOpen:b,mobileMenuOpen:_,type:"quiz"}),e.createElement(S.a,{authorName:n,avatar:r,color:i,currentPassingScore:l.passingScore,description:s,enableVideoPlaybackSpeed:p,id:c,isLesson:h,items:u,labels:m,lessonNumber:v,lessonProgress:g,menuOpen:b,mobileMenuOpen:_,mode:w,nextComponent:o||T,nextLesson:O,nextLessonRestrictions:j,onNextClick:A,prefersKeyboardNavigation:N,previousComponent:P,settings:C({id:c,lessonProgress:g,settings:l}),showAuthor:M,showLessonCount:L,showNavigationButtons:I,sidebarEnabled:R,title:d,totalLessons:D})))))}}).call(this,n(0))},function(e,t,n){"use strict";(function(e){var r=n(305),i=n(21),o=n.n(i),a=n(1289),s=n(1290),c=n(2434),u=n(73),l=n(1291),d=n(1292),f=n(312),p=n(1293),h=n(1294),m=n(66),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,p=t.nextLessonRestrictions,h=t.onNextClick,m=t.settings,y=m.continueType,b=m.passingScore,_=m.retryCount,w=t.showNavigationButtons,E=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:p,onNextClick:h,passingScore:b,retryAttempts:g({lessonProgress:u}),retryCount:Number(_),showNavigationButtons:w,sidebarEnabled:E})}},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.showAuthor,p=t.showLessonCount,h=t.title,m=t.totalLessons,g=0===v(t);return e.createElement(c.a,{allowTabNavigation:g,authorName:r,avatar:i,description:o,id:a,isLesson:s,items:n,labels:u,lessonNumber:l,lessonProgress:d,showAuthor:f,showLessonCount:p,title:h,totalLessons:m})}},_={setFillInText:l.a,setMatchItems:d.a,setNextIndex:f.c,setSelectedIndex:p.a,submitAnswer:f.d,toggleSelectedIndex:h.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,p=t.setSelectedIndex,h=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:p,onFillInChange:l,onMatchSet:d,onResponseToggle:g,onSetIndex:f,onSubmit:m,previousComponent:c,progress:s,reportAnswer:u.o,quizEnd:y(t),quizHeader:b(t),settings:h,title:v,updateProgress:_})})}).call(this,n(0))},function(e,t,n){"use strict";var r=n(4),i=n.n(r),o=(n(2341),n(0)),a=n.n(o),s=n(7),c=n.n(s),u=n(121),l=n.n(u),d=n(453),f=n.n(d),p=n(238),h=n.n(p),m=n(227),v=n.n(m),g=n(48),y=n.n(g),b=n(78),_=n(73),w=n(103),E=n(312),k=n(42),x=n(104),S=n(23),T=c()(h()(v.a,0),y()(0,"retryAttempts")),O=function(e){var t=e.lessonProgress,n=e.quizStart,r=e.quizTakeAgain;return T(t)?r:n},C=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(E.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,p=u.quizStart,h=u.quizTakeAgain,m=e.lessonNumber,v=e.lessonProgress,g=e.showAuthor,y=e.showLessonCount,b=e.title,E=e.totalLessons,A=Object(o.useRef)(),N=t&&T(v);return Object(o.useEffect)(function(){N&&A&&A.current&&f()(A.current.focus)&&A.current.focus()},[N,A]),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:A,tabIndex:S.h},a.a.createElement(k.a,{className:"quiz-header__title brand--lhead",value:Object(x.a)(b)})),g&&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&&y&&C({lessonName:l,lessonNumber:m,lessonPreposition:d,totalLessons:E}))),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"},O({lessonProgress:v,quizStart:p,quizTakeAgain:h})),a.a.createElement("i",{className:"icon icon-chevron-right"})))))))}},function(e,t,n){"use strict";(function(e){var r=n(15),i=n.n(r),o=n(92),a=n(320),s=n(1295);t.a=function(t){var n=t.color,r=t.data,c=r.id,u=r.items,l=r.piles,d=r.type,f=t.labels,p=t.lessonHeader,h=t.lessonHeaderWrapClasses,m=t.lessonProgress,v=t.menuButtons,g=t.nextComponent,y=t.previousComponent;return e.createElement(o.c,{type:d},y,e.createElement(o.b,{type:d},v,e.createElement(a.a,null,e.createElement("div",{className:h,style:{color:n}},p),e.createElement(o.a,{type:d},e.createElement(s.a,{id:c,items:u,labels:f,progress:m,piles:l})))),i()("isComplete",m)?g:null)}}).call(this,n(0))},function(e,t,n){"use strict";(function(e){var r=n(92),i=n(320),o=n(1296);t.a=function(t){var n=t.color,a=t.data,s=a.id,c=a.items,u=a.type,l=t.labels,d=t.lessonHeader,f=t.lessonHeaderWrapClasses,p=t.lessonProgress,h=t.loadMedia,m=t.menuButtons,v=t.nextComponent,g=t.previousComponent;return e.createElement(r.c,{type:u},g,e.createElement(r.b,{type:u},m,e.createElement(i.a,null,e.createElement("div",{className:f,style:{color:n}},d),e.createElement(r.a,{type:u},e.createElement(o.a,{id:s,items:c,labels:l,lessonProgress:p,loadMedia:h})))),v)}}).call(this,n(0))},function(e,t,n){"use strict";(function(e){var r=n(92),i=n(320),o=n(1297);t.a=function(t){var n=t.color,a=t.data,s=t.labels,c=t.lessonHeader,u=t.lessonHeaderWrapClasses,l=t.lessonProgress,d=t.menuButtons,f=t.nextComponent,p=t.prefersKeyboardNavigation,h=t.previousComponent,m=t.enableVideoPlaybackSpeed;return e.createElement(r.c,{type:a.type},h,e.createElement(r.b,{type:a.type},d,e.createElement(i.a,null,e.createElement("div",{className:u,style:{color:n}},c),e.createElement(r.a,null,e.createElement(o.a,{data:a,labels:s,lessonProgress:l,prefersKeyboardNavigation:p,enableVideoPlaybackSpeed:m})))),f)}}).call(this,n(0))},function(e,t,n){"use strict";var r=n(4),i=n.n(r),o=n(54),a=n(51),s=n(52),c=n(118),u=n(96),l=n(215),d=n(101),f=n(175),p=n(77),h=n(408),m=n(0),v=n.n(m),g=n(136),y=Object(p.a)("lesson-nav"),b=Object(d.a)("LessonNavPrevious",function(e){var t,n,r,a=e.allowTooltip,u=e.buttonNavigationStyle,l=e.buttonScheme,d=e.color,p=e.courseHomeLabel,m=e.lessonNameLabel,g=e.lessonPrepositionLabel,b=e.onNavigate,_=e.previousLesson,w=e.previousLessonNumber,E=e.totalLessons,k=null==_?void 0:_.id,x="FLOATING"===u,S=Object(c.e)(_)&&k,T=(null==_?void 0:_.title)||p,O=l===o.b.TINT,C=O?Object(s.c)(d):d,j=S?i()(t=i()(n=i()(r="".concat(w," ")).call(r,g," ")).call(n,E," — ")).call(t,T):T,A=x&&S?"Previous ".concat(m):j,N={color:O?C:null};return v.a.createElement(h.a,{allowTooltip:a,direction:"previous",isFloating:x,linkStyles:N,navLessonId:k,onNavigate:b},v.a.createElement(f.c,{className:y("link-icon")}),v.a.createElement("span",{className:y("link-text")},A))});t.a=Object(a.b)(function(){var e=Object(g.j)(),t=Object(g.i)();return function(n,r){var i=r.lessonId,o=Object(u.a)(n),a=e(i,n)||{},s=t(i,n),c=Object(l.a)(n),d=Object(g.k)(n);return{buttonNavigationStyle:o.buttonNavigationStyle,buttonScheme:o.buttonScheme,color:o.color,courseHomeLabel:c.courseHome,lessonNameLabel:c.lessonName,lessonPrepositionLabel:c.lessonPreposition,previousLesson:a,previousLessonNumber:s,totalLessons:d}}})(b)},function(e,t,n){var r=n(2806)();e.exports=r},function(e,t,n){"use strict";var r=n(54),i=n(51),o=n(52),a=n(96),s=n(215),c=n(101),u=n(175),l=n(77),d=n(408),f=n(0),p=n.n(f),h=Object(l.a)("lesson-nav"),m=function(e,t){var n=e.allowTooltip,i=e.buttonNavigationStyle,a=e.buttonScheme,s=e.color,c=e.courseFinishLabel,l=e.onNavigate,f=e.restrictionData,m=e.restrictionType,v="FLOATING"===i,g=a===r.b.TINT,y=g?Object(o.c)(s):s,b={color:g?y:null};return p.a.createElement(d.a,{allowTooltip:n,direction:"next",finish:!0,isFloating:v,linkStyles:b,onNavigate:l,ref:t,restrictionData:f,restrictionType:m},p.a.createElement(u.b,{className:h("link-icon")}),p.a.createElement("span",{className:h("link-text")},c))},v=Object(c.a)("LessonNavFinish",Object(f.forwardRef)(m));t.a=Object(i.b)(function(e){var t,n=Object(a.a)(e),r=Object(s.a)(e);return{buttonNavigationStyle:n.buttonNavigationStyle,buttonScheme:n.buttonScheme,color:n.color,courseFinishLabel:null!==(t=r.courseFinishLabel)&&void 0!==t?t:"Finish"}})(v)},function(e,t,n){"use strict";(function(e){var r=n(0),i=n(61),o=n(77),a=n(1275),s=n(52),c=n(26),u=n.n(c),l=n(101),d=n(96),f=n(139),p=n(54),h=n(132),m=Object(l.a)("LessonHeader"),v=Object(o.a)("lesson-header");t.a=function(t){var n=t.authorName,o=t.avatar,c=t.children,l=t.color,g=t.description,y=t.labels,b=y.lessonName,_=y.lessonPreposition,w=y.lessonHeaderLandmark,E=t.lessonHeaderColor,k=t.lessonHeaderImage,x=t.lessonHeaderSize,S=t.lessonHeaderStyle,T=t.partnerContentAuthors,O=t.totalLessons,C=t.lessonNumber,j=t.showAuthor,A=t.showLessonCount,N=t.title,P={DARK:p.d,LIGHT:p.e,ACCENT:l},M=Object(d.h)()===f.a,L=S===p.a.TINT?{color:l}:null,I=S===p.a.IMAGE,R=S===p.a.ACCENT&&Object(s.f)(l),D=S===p.a.COLOR&&Object(s.f)(E),B=I||R||D,F=v("top-wrap",{"bg-light":!B,"bg-dark":B}),U=Object(r.useMemo)(function(){if(S===p.a.COLOR)return{backgroundColor:E};var e=u()(["media","image"],k),t=k.alpha,n=k.overlayColor,r=P[n||"DARK"];return e&&S===p.a.IMAGE?Object(a.a)({alpha:t,color:r,url:Object(i.a)(e)}):void 0},[P,E,k,S]);return e.createElement(e.Fragment,null,e.createElement(h.e,{sectionStyles:U,lessonHeaderLandmark:w,topWrapStyles:L,topWrapClassName:F},e.createElement(m,{authorName:n,avatar:o,description:g,lessonName:b,lessonNumber:C,lessonHeaderSize:x,lessonPreposition:_,partnerContentAuthors:T,showAuthor:j,showLessonCount:A&&!M,title:N,totalLessons:O})),c)}}).call(this,n(0))},function(e,t,n){e.exports=n(2809)},function(e,t,n){"use strict";(function(e){var r=n(353),i=n(783),o=n(1224),a=n(310),s=n(2266),c=n(85);t.a=function(t){var n=t.location,u=n.pathname.split("/")[1];return e.createElement(c.d,{component:"div",className:"transition-group"},e.createElement(a.a,{key:u},e.createElement(i.a,{location:n},e.createElement(r.a,{exact:!0,path:"/",component:s.a,childProps:t}),e.createElement(r.a,{exact:!0,path:"/:mode",component:s.a,childProps:t}),e.createElement(r.a,{exact:!0,path:"/lessons/:id",component:o.a,childProps:t}))))}}).call(this,n(0))},function(e,t,n){"use strict";e.exports=n(2823)},function(e,t,n){t.hot=function(e){return e}},function(e,t,n){"use strict";var r=n(35),i=(n(2704),n(147)),o=n.n(i),a=n(38),s=n.n(a),c=n(18),u=n.n(c),l=n(0),d=n.n(l),f=n(71),p=n.n(f),h=n(77),m=n(1221);var v=function(){return(v=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e}).apply(this,arguments)};function g(){for(var e=0,t=0,n=arguments.length;t<n;t++)e+=arguments[t].length;var r=Array(e),i=0;for(t=0;t<n;t++)for(var o=arguments[t],a=0,s=o.length;a<s;a++,i++)r[i]=o[a];return r}var y={log:console.log.bind(console),warn:console.warn.bind(console),error:console.error.bind(console)},b="?";function _(e){var t=[],n=T(e,"stack");return n&&n.split("\n").forEach(function(e){var n=function(e){var t=w.exec(e);if(!t)return;var n=t[2]&&0===t[2].indexOf("native"),r=t[2]&&0===t[2].indexOf("eval"),i=E.exec(t[2]);r&&i&&(t[2]=i[1],t[3]=i[2],t[4]=i[3]);return{args:n?[t[2]]:[],column:t[4]?+t[4]:void 0,func:t[1]||b,line:t[3]?+t[3]:void 0,url:n?void 0:t[2]}}(e)||function(e){var t=k.exec(e);if(!t)return;return{args:[],column:t[4]?+t[4]:void 0,func:t[1]||b,line:+t[3],url:t[2]}}(e)||function(e){var t=x.exec(e);if(!t)return;var n=t[3]&&t[3].indexOf(" > eval")>-1,r=S.exec(t[3]);n&&r&&(t[3]=r[1],t[4]=r[2],t[5]=void 0);return{args:t[2]?t[2].split(","):[],column:t[5]?+t[5]:void 0,func:t[1]||b,line:t[4]?+t[4]:void 0,url:t[3]}}(e);n&&(!n.func&&n.line&&(n.func=b),t.push(n))}),{message:T(e,"message"),name:T(e,"name"),stack:t}}var w=/^\s*at (.*?) ?\(((?:file|https?|blob|chrome-extension|native|eval|webpack|<anonymous>|\/).*?)(?::(\d+))?(?::(\d+))?\)?\s*$/i,E=/\((\S*)(?::(\d+))(?::(\d+))\)/;var k=/^\s*at (?:((?:\[object object\])?.+) )?\(?((?:file|ms-appx|https?|webpack|blob):.*?):(\d+)(?::(\d+))?\)?\s*$/i;var x=/^\s*(.*?)(?:\((.*?)\))?(?:^|@)((?:file|https?|blob|chrome|webpack|resource|capacitor|\[native).*?|[^@]*bundle)(?::(\d+))?(?::(\d+))?\s*$/i,S=/(\S+) line (\d+)(?: > eval line \d+)* > eval/i;function T(e,t){if("object"==typeof e&&e&&t in e){var n=e[t];return"string"==typeof n?n:void 0}}var O,C,j=1e3,A=60*j,N=60*A,P=365*(24*N),M=1024;function L(e,t,n){var r,i,o=!n||void 0===n.leading||n.leading,a=!n||void 0===n.trailing||n.trailing,s=!1;return{throttled:function(){for(var n=[],c=0;c<arguments.length;c++)n[c]=arguments[c];s?r=n:(o?e.apply(void 0,n):r=n,s=!0,i=setTimeout(function(){a&&r&&e.apply(void 0,r),s=!1,r=void 0},t))},cancel:function(){clearTimeout(i),s=!1,r=void 0}}}function I(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];t.forEach(function(t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})}function R(e){return e?(parseInt(e,10)^16*Math.random()>>parseInt(e,10)/4).toString(16):(1e7+"-1000-4000-8000-100000000000").replace(/[018]/g,R)}function D(e){return 0!==e&&100*Math.random()<=e}function B(e,t){return+e.toFixed(t)}function F(){}function U(e,t,n){if(null==e)return JSON.stringify(e);var r=[!1,void 0];q(e)&&(r=[!0,e.toJSON],delete e.toJSON);var i,o,a=[!1,void 0];"object"==typeof e&&q(i=Object.getPrototypeOf(e))&&(a=[!0,i.toJSON],delete i.toJSON);try{o=JSON.stringify(e,t,n)}catch(e){o="<error: unable to serialize object>"}finally{r[0]&&(e.toJSON=r[1]),a[0]&&(i.toJSON=a[1])}return o}function q(e){return"object"==typeof e&&null!==e&&Object.prototype.hasOwnProperty.call(e,"toJSON")}function z(e,t){return-1!==e.indexOf(t)}function H(e,t){for(var n=0;n<e.length;n+=1){var r=e[n];if(t(r,n,e))return r}}function V(e){return W(e)&&e>=0&&e<=100}function W(e){return"number"==typeof e}function Y(e){return Object.keys(e).map(function(t){return e[t]})}function G(e){return Object.keys(e).map(function(t){return[t,e[t]]})}function K(e){return 0===Object.keys(e).length}function X(){if("object"==typeof globalThis)return globalThis;Object.defineProperty(Object.prototype,"_dd_temp_",{get:function(){return this},configurable:!0});var e=_dd_temp_;return delete Object.prototype._dd_temp_,"object"!=typeof e&&(e="object"==typeof self?self:"object"==typeof window?window:{}),e}function $(e){if(e.origin)return e.origin;var t=e.host.replace(/(:80|:443)$/,"");return e.protocol+"//"+t}function Q(e,t){var n=new RegExp("(?:^|;)\\s*"+t+"\\s*=\\s*([^;]+)").exec(e);return n?n[1]:void 0}function Z(e,t,n,r){return J(e,[t],n,r)}function J(e,t,n,r){var i=void 0===r?{}:r,o=i.once,a=i.capture,s=i.passive,c=ke(o?function(e){l(),n(e)}:n),u=s?{capture:a,passive:s}:a;t.forEach(function(t){return e.addEventListener(t,c,u)});var l=function(){return t.forEach(function(t){return e.removeEventListener(t,c,u)})};return{stop:l}}function ee(e,t){document.readyState===e||"complete"===document.readyState?t():Z(window,"complete"===e?"load":"DOMContentLoaded",t,{once:!0})}function te(e){return null===e?"null":Array.isArray(e)?"array":typeof e}function ne(e,t,n){if(void 0===n&&(n=function(){if("undefined"!=typeof WeakSet){var e=new WeakSet;return{hasAlreadyBeenSeen:function(t){var n=e.has(t);return n||e.add(t),n}}}var t=[];return{hasAlreadyBeenSeen:function(e){var n=t.indexOf(e)>=0;return n||t.push(e),n}}}()),void 0===t)return e;if("object"!=typeof t||null===t)return t;if(t instanceof Date)return new Date(t.getTime());if(t instanceof RegExp){var r=t.flags||[t.global?"g":"",t.ignoreCase?"i":"",t.multiline?"m":"",t.sticky?"y":"",t.unicode?"u":""].join("");return new RegExp(t.source,r)}if(!n.hasAlreadyBeenSeen(t)){if(Array.isArray(t)){for(var i=Array.isArray(e)?e:[],o=0;o<t.length;++o)i[o]=ne(i[o],t[o],n);return i}var a="object"===te(e)?e:{};for(var s in t)Object.prototype.hasOwnProperty.call(t,s)&&(a[s]=ne(a[s],t[s],n));return a}}function re(e){return ne(void 0,e)}function ie(){for(var e,t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];for(var r=0,i=t;r<i.length;r++){var o=i[r];null!=o&&(e=ne(e,o))}return e}!function(e){e.DOCUMENT="document",e.XHR="xhr",e.BEACON="beacon",e.FETCH="fetch",e.CSS="css",e.JS="js",e.IMAGE="image",e.FONT="font",e.MEDIA="media",e.OTHER="other"}(O||(O={})),function(e){e.FETCH="fetch",e.XHR="xhr"}(C||(C={}));var oe,ae={AGENT:"agent",CONSOLE:"console",CUSTOM:"custom",LOGGER:"logger",NETWORK:"network",SOURCE:"source"};function se(e,t,n,r){return e&&(void 0!==e.message||t instanceof Error)?{message:e.message||"Empty message",stack:ce(e),handlingStack:r,type:e.name}:{message:n+" "+U(t),stack:"No stack, consider using an instance of Error",handlingStack:r,type:e&&e.name}}function ce(e){var t=ue(e);return e.stack.forEach(function(e){var n="?"===e.func?"<anonymous>":e.func,r=e.args&&e.args.length>0?"("+e.args.join(", ")+")":"",i=e.line?":"+e.line:"",o=e.line&&e.column?":"+e.column:"";t+="\n  at "+n+r+" @ "+e.url+i+o}),t}function ue(e){return(e.name||"Error")+": "+e.message}function le(){var e,t=new Error;if(!t.stack)try{throw t}catch(e){}return xe(function(){var n=_(t);n.stack=n.stack.slice(2),e=ce(n)}),e}function de(){var e=X().DatadogEventBridge;if(e)return{getAllowedWebViewHosts:function(){return JSON.parse(e.getAllowedWebViewHosts())},send:function(t,n){e.send(JSON.stringify({eventType:t,event:n}))}}}function fe(){var e=de();return!!e&&z(e.getAllowedWebViewHosts(),window.location.hostname)}!function(e){e.HANDLED="handled",e.UNHANDLED="unhandled"}(oe||(oe={}));var pe,he=/[^\u0000-\u007F]/,me=function(){function e(e,t,n,r,i,o){void 0===o&&(o=F),this.request=e,this.maxSize=t,this.bytesLimit=n,this.maxMessageSize=r,this.flushTimeout=i,this.beforeUnloadCallback=o,this.pushOnlyBuffer=[],this.upsertBuffer={},this.bufferBytesSize=0,this.bufferMessageCount=0,this.flushOnVisibilityHidden(),this.flushPeriodically()}return e.prototype.add=function(e){this.addOrUpdate(e)},e.prototype.upsert=function(e,t){this.addOrUpdate(e,t)},e.prototype.flush=function(e){if(0!==this.bufferMessageCount){var t=g(this.pushOnlyBuffer,Y(this.upsertBuffer));this.request.send(t.join("\n"),this.bufferBytesSize,e),this.pushOnlyBuffer=[],this.upsertBuffer={},this.bufferBytesSize=0,this.bufferMessageCount=0}},e.prototype.sizeInBytes=function(e){return he.test(e)?void 0!==window.TextEncoder?(new TextEncoder).encode(e).length:new Blob([e]).size:e.length},e.prototype.addOrUpdate=function(e,t){var n=this.process(e),r=n.processedMessage,i=n.messageBytesSize;i>=this.maxMessageSize?y.warn("Discarded a message whose size was bigger than the maximum allowed size "+this.maxMessageSize+"KB."):(this.hasMessageFor(t)&&this.remove(t),this.willReachedBytesLimitWith(i)&&this.flush("willReachedBytesLimitWith"),this.push(r,i,t),this.isFull()&&this.flush("isFull"))},e.prototype.process=function(e){var t=U(e);return{processedMessage:t,messageBytesSize:this.sizeInBytes(t)}},e.prototype.push=function(e,t,n){this.bufferMessageCount>0&&(this.bufferBytesSize+=1),void 0!==n?this.upsertBuffer[n]=e:this.pushOnlyBuffer.push(e),this.bufferBytesSize+=t,this.bufferMessageCount+=1},e.prototype.remove=function(e){var t=this.upsertBuffer[e];delete this.upsertBuffer[e];var n=this.sizeInBytes(t);this.bufferBytesSize-=n,this.bufferMessageCount-=1,this.bufferMessageCount>0&&(this.bufferBytesSize-=1)},e.prototype.hasMessageFor=function(e){return void 0!==e&&void 0!==this.upsertBuffer[e]},e.prototype.willReachedBytesLimitWith=function(e){return this.bufferBytesSize+e+1>=this.bytesLimit},e.prototype.isFull=function(){return this.bufferMessageCount===this.maxSize||this.bufferBytesSize>=this.bytesLimit},e.prototype.flushPeriodically=function(){var e=this;setTimeout(ke(function(){e.flush("flushPeriodically"),e.flushPeriodically()}),this.flushTimeout)},e.prototype.flushOnVisibilityHidden=function(){var e=this;navigator.sendBeacon&&(Z(window,"beforeunload",this.beforeUnloadCallback),Z(document,"visibilitychange",function(){"hidden"===document.visibilityState&&e.flush("visibilitychange")}),Z(window,"beforeunload",function(){return e.flush("beforeunload")}))},e}(),ve=!1,ge=function(){function e(e,t){this.endpointBuilder=e,this.bytesLimit=t}return e.prototype.send=function(e,t,n){var r=this.endpointBuilder.build(),i=!!navigator.sendBeacon&&t<this.bytesLimit;if(i)try{if(navigator.sendBeacon(r,e))return}catch(e){!function(e){ye||(ye=!0,Te(e))}(e)}var o=new XMLHttpRequest;o.addEventListener("loadend",ke(function(e){return function(e){var o=null==e?void 0:e.currentTarget;o.status>=200&&o.status<300||ve||(ve=!0,Se("XHR fallback failed",{on_line:navigator.onLine,size:t,url:r,try_beacon:i,flush_reason:n,event:{is_trusted:e.isTrusted,total:e.total,loaded:e.loaded},request:{status:o.status,ready_state:o.readyState,response_text:o.responseText.slice(0,512)}}))}(e)})),o.open("POST",r,!0),o.send(e)},e}(),ye=!1;!function(e){e.info="info",e.error="error"}(pe||(pe={}));var be,_e,we={maxMessagesPerPage:0,sentMessageCount:0};function Ee(e){var t;if(fe()){var n=de();be=function(e){return n.send("internal_log",i(e))}}else if(e.internalMonitoringEndpointBuilder){var r=function(e){var t,n=r(e.internalMonitoringEndpointBuilder);function r(t){return new me(new ge(t,e.batchBytesLimit),e.maxBatchSize,e.batchBytesLimit,e.maxMessageSize,e.flushTimeout)}return void 0!==e.replica&&(t=r(e.replica.internalMonitoringEndpointBuilder)),{add:function(e){n.add(e),t&&t.add(e)}}}(e);be=function(e){return r.add(i(e))}}function i(e){return ie({date:(new Date).getTime()},void 0!==t?t():{},e)}return I(we,{maxMessagesPerPage:e.maxInternalMonitoringMessagesPerPage,sentMessageCount:0}),{setExternalContextProvider:function(e){t=e}}}function ke(e){return function(){return xe(e,this,arguments)}}function xe(e,t,n){try{return e.apply(t,n)}catch(e){je(e);try{Te(e)}catch(e){je(e)}}}function Se(e,t){!function(e,t){we.debugMode&&y.log("[MONITORING MESSAGE]",e,t)}(e,t),Oe(v(v({message:e},t),{status:pe.info}))}function Te(e){Oe(v(v({},function(e){if(e instanceof Error){var t=_(e);return{error:{kind:t.name,stack:ce(t)},message:t.message}}return{error:{stack:"Not an instance of error"},message:"Uncaught "+U(e)}}(e)),{status:pe.error}))}function Oe(e){be&&we.sentMessageCount<we.maxMessagesPerPage&&(we.sentMessageCount+=1,be(e))}function Ce(e){we.debugMode=e}function je(e){we.debugMode&&y.error("[INTERNAL ERROR]",e)}function Ae(e,t){return function(){for(var n=[],r=0;r<arguments.length;r++)n[r]=arguments[r];try{return e.apply(void 0,n)}catch(e){y.error(t,e)}}}!function(e){e.RELEASE="release",e.CANARY="canary",e.E2E_TEST="e2e-test"}(_e||(_e={}));var Ne,Pe=function(){function e(){this.buffer=[]}return e.prototype.add=function(e){this.buffer.push(e)>500&&this.buffer.splice(0,1)},e.prototype.drain=function(){this.buffer.forEach(function(e){return e()}),this.buffer.length=0},e}();function Me(e){return{relative:e,timeStamp:Le(e)}}function Le(e){var t=Date.now()-performance.now();return t>qe()?Math.round(t+e):function(e){return Math.round(qe()+e)}(e)}function Ie(e){return W(e)?B(1e6*e,0):e}function Re(){return Date.now()}function De(){return performance.now()}function Be(){return{relative:De(),timeStamp:Re()}}function Fe(){return{relative:0,timeStamp:qe()}}function Ue(e,t){return t-e}function qe(){return void 0===Ne&&(Ne=performance.timing.navigationStart),Ne}var ze,He,Ve,We=j;function Ye(e,t,n,r){var i=new Date;i.setTime(i.getTime()+n);var o="expires="+i.toUTCString(),a=r&&r.crossSite?"none":"strict",s=r&&r.domain?";domain="+r.domain:"",c=r&&r.secure?";secure":"";document.cookie=e+"="+t+";"+o+";path=/;samesite="+a+s+c}function Ge(e){return Q(document.cookie,e)}function Ke(e,t){Ye(e,"",0,t)}function Xe(e){return Qe(e,$(window.location)).href}function $e(e){return $(Qe(e))}function Qe(e,t){if(function(){if(void 0!==Ve)return Ve;try{var e=new URL("http://test/path");return Ve="http://test/path"===e.href}catch(e){Ve=!1}return Ve}())return void 0!==t?new URL(e,t):new URL(e);if(void 0===t&&!/:/.test(e))throw new Error("Invalid URL: '"+e+"'");var n=document,r=n.createElement("a");if(void 0!==t){var i=(n=document.implementation.createHTMLDocument("")).createElement("base");i.href=t,n.head.appendChild(i),n.body.appendChild(r)}return r.href=e,r}var Ze={logs:"logs",rum:"rum",sessionReplay:"session-replay"},Je={logs:"logs",rum:"rum",sessionReplay:"replay"},et="datadoghq.com";function tt(e,t,n,r,i){var o=e.site,a=void 0===o?et:o,s=e.clientToken,c=a.split("."),u=c.pop(),l="https://"+(Ze[n]+".browser-intake-"+c.join("-")+"."+u)+"/api/v2/"+Je[n],d=e.proxyUrl&&Xe(e.proxyUrl);return{build:function(){var e="ddsource="+(i||"browser")+"&ddtags="+encodeURIComponent(["sdk_version:"+t.sdkVersion].concat(r).join(","))+"&dd-api-key="+s+"&dd-evp-origin-version="+encodeURIComponent(t.sdkVersion)+"&dd-evp-origin=browser&dd-request-id="+R();"rum"===n&&(e+="&batch_time="+Re());var o=l+"?"+e;return d?d+"?ddforward="+encodeURIComponent(o):o},buildIntakeUrl:function(){return d?d+"?ddforward":l}}}var nt=200;var rt=/[^a-z0-9_:./-]/;function it(e,t){var n=nt-e.length-1;return(t.length>n||rt.test(t))&&y.warn(e+" value doesn't meet tag requirements and will be sanitized"),e+":"+t.replace(/,/g,"_")}function ot(e,t){var n=function(e){var t=e.env,n=e.service,r=e.version,i=e.datacenter,o=[];return t&&o.push(it("env",t)),n&&o.push(it("service",n)),r&&o.push(it("version",r)),i&&o.push(it("datacenter",i)),o}(e),r=function(e,t,n){if(t.buildMode===_e.E2E_TEST){var r=function(e){return{build:function(){return e},buildIntakeUrl:function(){return e}}};return{logsEndpointBuilder:r("<<< E2E LOGS ENDPOINT >>>"),rumEndpointBuilder:r("<<< E2E RUM ENDPOINT >>>"),sessionReplayEndpointBuilder:r("<<< E2E SESSION REPLAY ENDPOINT >>>"),internalMonitoringEndpointBuilder:r("<<< E2E INTERNAL MONITORING ENDPOINT >>>")}}var i={logsEndpointBuilder:tt(e,t,"logs",n),rumEndpointBuilder:tt(e,t,"rum",n),sessionReplayEndpointBuilder:tt(e,t,"sessionReplay",n)};if(e.internalMonitoringApiKey)return v(v({},i),{internalMonitoringEndpointBuilder:tt(v(v({},e),{clientToken:e.internalMonitoringApiKey}),t,"logs",n,"browser-agent-internal-monitoring")});return i}(e,t,n),i=Y(r).map(function(e){return e.buildIntakeUrl()}),o=function(e,t,n,r){if(!e.replica)return;var i=v(v({},e),{site:et,clientToken:e.replica.clientToken}),o={logsEndpointBuilder:tt(i,t,"logs",r),rumEndpointBuilder:tt(i,t,"rum",r),internalMonitoringEndpointBuilder:tt(i,t,"logs",r,"browser-agent-internal-monitoring")};return n.push.apply(n,Y(o).map(function(e){return e.buildIntakeUrl()})),v({applicationId:e.replica.applicationId},o)}(e,t,i,n);return v(v({isIntakeUrl:function(e){return i.some(function(t){return 0===e.indexOf(t)})}},r),{replica:o})}var at,st,ct,ut={ALLOW:"allow",MASK:"mask",MASK_USER_INPUT:"mask-user-input"};function lt(e,t){var n;if(e&&e.clientToken){var r;if(void 0===e.sampleRate||V(e.sampleRate))return r=e.enableExperimentalFeatures,Array.isArray(r)&&(He||(He=new Set(r)),r.filter(function(e){return"string"==typeof e}).forEach(function(e){He.add(e)})),v(v({},ot(e,t)),{beforeSend:e.beforeSend&&Ae(e.beforeSend,"beforeSend threw an error:"),cookieOptions:dt(e),sampleRate:null!==(n=e.sampleRate)&&void 0!==n?n:100,service:e.service,silentMultipleInit:!!e.silentMultipleInit,batchBytesLimit:16*M,eventRateLimiterThreshold:3e3,maxInternalMonitoringMessagesPerPage:15,flushTimeout:30*j,maxBatchSize:50,maxMessageSize:256*M});y.error("Sample Rate should be a number between 0 and 100")}else y.error("Client Token is not configured, we will not send any data.")}function dt(e){var t={};return t.secure=function(e){return!!e.useSecureSessionCookie||!!e.useCrossSiteSessionCookie}(e),t.crossSite=!!e.useCrossSiteSessionCookie,e.trackSessionAcrossSubdomains&&(t.domain=function(){if(void 0===ze){for(var e="dd_site_test_"+R(),t=window.location.hostname.split("."),n=t.pop();t.length&&!Ge(e);)n=t.pop()+"."+n,Ye(e,"test",j,{domain:n});Ke(e,{domain:n}),ze=n}return ze}()),t}!function(e){e.ACTION="action",e.ERROR="error",e.LONG_TASK="long_task",e.VIEW="view",e.RESOURCE="resource"}(at||(at={})),function(e){e.INITIAL_LOAD="initial_load",e.ROUTE_CHANGE="route_change"}(st||(st={})),function(e){e.CLICK="click",e.CUSTOM="custom"}(ct||(ct={}));var ft="datadog-synthetics-public-id",pt="datadog-synthetics-result-id",ht="datadog-synthetics-injects-rum";function mt(){return Boolean(window._DATADOG_SYNTHETICS_INJECTS_RUM||Ge(ht))}var vt={buildMode:"release",sdkVersion:"4.5.0"};var gt,yt=function(){function e(e){this.onFirstSubscribe=e,this.observers=[]}return e.prototype.subscribe=function(e){var t=this;return!this.observers.length&&this.onFirstSubscribe&&(this.onLastUnsubscribe=this.onFirstSubscribe()||void 0),this.observers.push(e),{unsubscribe:function(){t.observers=t.observers.filter(function(t){return e!==t}),!t.observers.length&&t.onLastUnsubscribe&&t.onLastUnsubscribe()}}},e.prototype.notify=function(e){this.observers.forEach(function(t){return t(e)})},e}();function bt(){var e,t=window;if(t.Zone){var n=t.Zone.__symbol__("MutationObserver");e=t[n]}return e||(e=t.MutationObserver),e}!function(e){e[e.PERFORMANCE_ENTRIES_COLLECTED=0]="PERFORMANCE_ENTRIES_COLLECTED",e[e.AUTO_ACTION_CREATED=1]="AUTO_ACTION_CREATED",e[e.AUTO_ACTION_COMPLETED=2]="AUTO_ACTION_COMPLETED",e[e.AUTO_ACTION_DISCARDED=3]="AUTO_ACTION_DISCARDED",e[e.VIEW_CREATED=4]="VIEW_CREATED",e[e.VIEW_UPDATED=5]="VIEW_UPDATED",e[e.VIEW_ENDED=6]="VIEW_ENDED",e[e.REQUEST_STARTED=7]="REQUEST_STARTED",e[e.REQUEST_COMPLETED=8]="REQUEST_COMPLETED",e[e.SESSION_EXPIRED=9]="SESSION_EXPIRED",e[e.SESSION_RENEWED=10]="SESSION_RENEWED",e[e.BEFORE_UNLOAD=11]="BEFORE_UNLOAD",e[e.RAW_RUM_EVENT_COLLECTED=12]="RAW_RUM_EVENT_COLLECTED",e[e.RUM_EVENT_COLLECTED=13]="RUM_EVENT_COLLECTED",e[e.RAW_ERROR_COLLECTED=14]="RAW_ERROR_COLLECTED"}(gt||(gt={}));var _t=function(){function e(){this.callbacks={}}return e.prototype.notify=function(e,t){var n=this.callbacks[e];n&&n.forEach(function(e){return e(t)})},e.prototype.subscribe=function(e,t){var n=this;return this.callbacks[e]||(this.callbacks[e]=[]),this.callbacks[e].push(t),{unsubscribe:function(){n.callbacks[e]=n.callbacks[e].filter(function(e){return t!==e})}}},e}(),wt="initial_document",Et=[[O.DOCUMENT,function(e){return wt===e}],[O.XHR,function(e){return"xmlhttprequest"===e}],[O.FETCH,function(e){return"fetch"===e}],[O.BEACON,function(e){return"beacon"===e}],[O.CSS,function(e,t){return/\.css$/i.test(t)}],[O.JS,function(e,t){return/\.js$/i.test(t)}],[O.IMAGE,function(e,t){return z(["image","img","icon"],e)||null!==/\.(gif|jpg|jpeg|tiff|png|svg|ico)$/i.exec(t)}],[O.FONT,function(e,t){return null!==/\.(woff|eot|woff2|ttf)$/i.exec(t)}],[O.MEDIA,function(e,t){return z(["audio","video"],e)||null!==/\.(mp3|mp4)$/i.exec(t)}]];function kt(e){var t=e.name;if(!function(e){try{return!!Qe(e)}catch(e){return!1}}(t))return Se('Failed to construct URL for "'+e.name+'"'),O.OTHER;for(var n=function(e){var t=Qe(e).pathname;return"/"===t[0]?t:"/"+t}(t),r=0,i=Et;r<i.length;r++){var o=i[r],a=o[0];if((0,o[1])(e.initiatorType,n))return a}return O.OTHER}function xt(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];for(var n=1;n<e.length;n+=1)if(e[n-1]>e[n])return!1;return!0}function St(e){var t=Tt(e);if(t){var n=t.startTime,r=t.fetchStart,i=t.redirectStart,o=t.redirectEnd,a=t.domainLookupStart,s=t.domainLookupEnd,c=t.connectStart,u=t.secureConnectionStart,l=t.connectEnd,d=t.requestStart,f=t.responseStart,p={download:Ct(n,f,t.responseEnd),first_byte:Ct(n,d,f)};return l!==r&&(p.connect=Ct(n,c,l),xt(c,u,l)&&(p.ssl=Ct(n,u,l))),s!==r&&(p.dns=Ct(n,a,s)),Ot(e)&&(p.redirect=Ct(n,i,o)),p}}function Tt(e){if(xt(e.startTime,e.fetchStart,e.domainLookupStart,e.domainLookupEnd,e.connectStart,e.connectEnd,e.requestStart,e.responseStart,e.responseEnd)){if(!Ot(e))return e;var t=e.redirectStart,n=e.redirectEnd;if(t<e.startTime&&(t=e.startTime),n<e.startTime&&(n=e.fetchStart),xt(e.startTime,t,n,e.fetchStart))return v(v({},e),{redirectEnd:n,redirectStart:t})}}function Ot(e){return e.fetchStart!==e.startTime}function Ct(e,t,n){return{duration:Ie(Ue(t,n)),start:Ie(Ue(e,t))}}function jt(e){if(e.startTime<e.responseStart)return e.decodedBodySize}function At(e,t){return t&&!e.isIntakeUrl(t)}var Nt=2*A;function Pt(e){var t=function(e){var t=e.querySelector("meta[name=dd-trace-id]"),n=e.querySelector("meta[name=dd-trace-time]");return Mt(t&&t.content,n&&n.content)}(e)||function(e){var t=function(e){for(var t=0;t<e.childNodes.length;t+=1){var n=Lt(e.childNodes[t]);if(n)return n}if(e.body)for(var t=e.body.childNodes.length-1;t>=0;t-=1){var r=e.body.childNodes[t],n=Lt(r);if(n)return n;if(!It(r))break}}(e);if(!t)return;return Mt(Q(t,"trace-id"),Q(t,"trace-time"))}(e);if(t&&!(t.traceTime<=Date.now()-Nt))return t.traceId}function Mt(e,t){var n=t&&Number(t);if(e&&n)return{traceId:e,traceTime:n}}function Lt(e){if(e&&function(e){return"#comment"===e.nodeName}(e)){var t=/^\s*DATADOG;(.*?)\s*$/.exec(e.data);if(t)return t[1]}}function It(e){return"#text"===e.nodeName}function Rt(){return void 0!==window.performance&&"getEntries"in performance}function Dt(e){return window.PerformanceObserver&&void 0!==PerformanceObserver.supportedEntryTypes&&PerformanceObserver.supportedEntryTypes.includes(e)}function Bt(e,t){var n;if(n=function(n){Ut(e,t,[n])},ee("interactive",function(){var e,t={entryType:"resource",initiatorType:wt,traceId:Pt(document)};if(Dt("navigation")&&performance.getEntriesByType("navigation").length>0){var r=performance.getEntriesByType("navigation")[0];e=v(v({},r.toJSON()),t)}else{var i=Ft();e=v(v(v({},i),{decodedBodySize:0,duration:i.responseEnd,name:window.location.href,startTime:0}),t)}n(e)}),Rt()&&Ut(e,t,performance.getEntries()),window.PerformanceObserver){var r=ke(function(n){return Ut(e,t,n.getEntries())}),i=["resource","navigation","longtask","paint"],o=["largest-contentful-paint","first-input","layout-shift"];try{o.forEach(function(e){new PerformanceObserver(r).observe({type:e,buffered:!0})})}catch(e){i.push.apply(i,o)}new PerformanceObserver(r).observe({entryTypes:i}),Rt()&&"addEventListener"in performance&&performance.addEventListener("resourcetimingbufferfull",function(){performance.clearResourceTimings()})}Dt("navigation")||function(e){function t(){e(v(v({},Ft()),{entryType:"navigation"}))}ee("complete",function(){setTimeout(ke(t))})}(function(n){Ut(e,t,[n])}),Dt("first-input")||function(e){var t=Date.now(),n=!1,r=J(window,["click","mousedown","keydown","touchstart","pointerdown"],function(e){if(e.cancelable){var t={entryType:"first-input",processingStart:De(),startTime:e.timeStamp};"pointerdown"===e.type?function(e){J(window,["pointerup","pointercancel"],function(t){"pointerup"===t.type&&i(e)},{once:!0})}(t):i(t)}},{passive:!0,capture:!0}).stop;function i(i){if(!n){n=!0,r();var o=i.processingStart-i.startTime;o>=0&&o<Date.now()-t&&e(i)}}}(function(n){Ut(e,t,[n])})}function Ft(){var e={},t=performance.timing;for(var n in t)if(W(t[n])){var r=n,i=t[r];e[r]=0===i?0:i-qe()}return e}function Ut(e,t,n){var r=n.filter(function(e){return"resource"===e.entryType||"navigation"===e.entryType||"paint"===e.entryType||"longtask"===e.entryType||"largest-contentful-paint"===e.entryType||"first-input"===e.entryType||"layout-shift"===e.entryType}).filter(function(e){return!function(e){return"navigation"===e.entryType&&e.loadEventEnd<=0}(e)&&!function(e,t){return"resource"===t.entryType&&!At(e,t.name)}(t,e)});r.length&&e.notify(gt.PERFORMANCE_ENTRIES_COLLECTED,r)}function qt(e,t,n){var r=0,i=!1;return{isLimitReached:function(){if(0===r&&setTimeout(function(){r=0},A),(r+=1)<=t||i)return i=!1,!1;if(r===t+1){i=!0;try{n({message:"Reached max number of "+e+"s by minute: "+t,source:ae.AGENT,startClocks:Be()})}finally{i=!1}}return!0}}}function zt(e,t){for(var n=e,r=0,i=t.split(".");r<i.length;r++){var o=i[r];if(!Vt(n,o))return;n=n[o]}return n}function Ht(e,t,n){for(var r=e,i=t.split("."),o=0;o<i.length;o+=1){var a=i[o];if(!Vt(r,a))return;o!==i.length-1?r=r[a]:r[a]=n}}function Vt(e,t){return"object"==typeof e&&null!==e&&t in e}var Wt=A,Yt=function(){function e(e){var t=this;this.expireDelay=e,this.previousContexts=[],this.clearOldContextsInterval=setInterval(function(){return t.clearOldContexts()},Wt)}return e.prototype.find=function(e){if(void 0===e||void 0!==this.current&&void 0!==this.currentStart&&e>=this.currentStart)return this.current;for(var t=0,n=this.previousContexts;t<n.length;t++){var r=n[t];if(e>r.endTime)break;if(e>=r.startTime)return r.context}},e.prototype.setCurrent=function(e,t){this.current=e,this.currentStart=t},e.prototype.getCurrent=function(){return this.current},e.prototype.clearCurrent=function(){this.current=void 0,this.currentStart=void 0},e.prototype.closeCurrent=function(e){void 0!==this.current&&void 0!==this.currentStart&&(this.previousContexts.unshift({endTime:e,context:this.current,startTime:this.currentStart}),this.clearCurrent())},e.prototype.clearOldContexts=function(){for(var e=De()-this.expireDelay;this.previousContexts.length>0&&this.previousContexts[this.previousContexts.length-1].startTime<e;)this.previousContexts.pop()},e.prototype.reset=function(){this.clearCurrent(),this.previousContexts=[]},e.prototype.stop=function(){clearInterval(this.clearOldContextsInterval)},e}();var Gt=15*A,Kt=4*N;function Xt(e,t,n){var r=new yt,i=new yt,o=setInterval(ke(function(){rn({options:e,process:function(e){return u(e)?void 0:{}},after:s})}),We),a=function(){var e=ln();if(u(e))return e;return{}}();function s(e){return u(e)||(e={}),c()&&(!function(e){return a.id!==e.id||a[t]!==e[t]}(e)?a=e:(a={},i.notify())),e}function c(){return void 0!==a[t]}function u(e){return(void 0===e.created||Date.now()-Number(e.created)<Kt)&&(void 0===e.expire||Date.now()<Number(e.expire))}return{expandOrRenewSession:L(ke(function(){var i;rn({options:e,process:function(e){var r=s(e);return i=function(e){var r=n(e[t]),i=r.trackingType,o=r.isTracked;return e[t]=i,o&&!e.id&&(e.id=R(),e.created=String(Date.now())),o}(r),r},after:function(e){i&&!c()&&function(e){a=e,r.notify()}(e),a=e}})}),We).throttled,expandSession:function(){rn({options:e,process:function(e){return c()?s(e):void 0}})},getSession:function(){return a},renewObservable:r,expireObservable:i,stop:function(){clearInterval(o)}}}var $t,Qt=/^([a-z]+)=([a-z0-9-]+)$/,Zt="&",Jt="_dd_s",en=10,tn=100,nn=[];function rn(e,t){var n;if(void 0===t&&(t=0),$t||($t=e),e===$t)if(t>=tn)sn();else{var r,i=ln();if(on()){if(i.lock)return void an(e,t);if(r=R(),i.lock=r,un(i,e.options),(i=ln()).lock!==r)return void an(e,t)}var o=e.process(i);if(on()&&(i=ln()).lock!==r)an(e,t);else{if(o&&cn(o,e.options),on()&&(!o||!dn(o))){if((i=ln()).lock!==r)return void an(e,t);delete i.lock,un(i,e.options),o=i}null===(n=e.after)||void 0===n||n.call(e,o||i),sn()}}else nn.push(e)}function on(){return!!window.chrome||/HeadlessChrome/.test(window.navigator.userAgent)}function an(e,t){setTimeout(ke(function(){rn(e,t+1)}),en)}function sn(){$t=void 0;var e=nn.shift();e&&rn(e)}function cn(e,t){dn(e)?function(e){Ye(Jt,"",0,e)}(t):(e.expire=String(Date.now()+Gt),un(e,t))}function un(e,t){Ye(Jt,function(e){return G(e).map(function(e){var t=e[0],n=e[1];return t+"="+n}).join(Zt)}(e),Gt,t)}function ln(){var e=Ge(Jt),t={};return function(e){return void 0!==e&&(-1!==e.indexOf(Zt)||Qt.test(e))}(e)&&e.split(Zt).forEach(function(e){var n=Qt.exec(e);if(null!==n){var r=n[1],i=n[2];t[r]=i}}),t}function dn(e){return K(e)}var fn="_dd",pn="_dd_r",hn="_dd_l",mn="rum",vn="logs";var gn=A,yn=Kt,bn=[];function _n(e,t,n){!function(e){var t=Ge(Jt),n=Ge(fn),r=Ge(pn),i=Ge(hn);if(!t){var o={};n&&(o.id=n),i&&/^[01]$/.test(i)&&(o[vn]=i),r&&/^[012]$/.test(r)&&(o[mn]=r),cn(o,e)}}(e);var r=Xt(e,t,n);bn.push(function(){return r.stop()});var i,o=new Yt(yn);function a(){return{id:r.getSession().id,trackingType:r.getSession()[t]}}return bn.push(function(){return o.stop()}),r.renewObservable.subscribe(function(){o.setCurrent(a(),De())}),r.expireObservable.subscribe(function(){o.closeCurrent(De())}),r.expandOrRenewSession(),o.setCurrent(a(),Fe().relative),i=J(window,["click","touchstart","keydown","scroll"],function(){return r.expandOrRenewSession()},{capture:!0,passive:!0}).stop,bn.push(i),function(e){var t=ke(function(){"visible"===document.visibilityState&&e()}),n=Z(document,"visibilitychange",t).stop;bn.push(n);var r=setInterval(t,gn);bn.push(function(){clearInterval(r)})}(function(){return r.expandSession()}),{findActiveSession:function(e){return o.find(e)},renewObservable:r.renewObservable,expireObservable:r.expireObservable}}var wn,En,kn,xn="rum";function Sn(e,t){var n=_n(e.cookieOptions,xn,function(t){return function(e,t){var n;n=function(e){return e===En.NOT_TRACKED||e===En.TRACKED_REPLAY||e===En.TRACKED_LITE}(t)?t:D(e.sampleRate)?D(e.replaySampleRate)?En.TRACKED_REPLAY:En.TRACKED_LITE:En.NOT_TRACKED;return{trackingType:n,isTracked:Tn(n)}}(e,t)});return n.expireObservable.subscribe(function(){t.notify(gt.SESSION_EXPIRED)}),n.renewObservable.subscribe(function(){t.notify(gt.SESSION_RENEWED)}),{findTrackedSession:function(e){var t=n.findActiveSession(e);if(t&&Tn(t.trackingType))return{id:t.id,hasReplayPlan:t.trackingType===En.TRACKED_REPLAY,hasLitePlan:t.trackingType===En.TRACKED_LITE}}}}function Tn(e){return e===En.TRACKED_LITE||e===En.TRACKED_REPLAY}!function(e){e[e.LITE=1]="LITE",e[e.REPLAY=2]="REPLAY"}(wn||(wn={})),function(e){e.NOT_TRACKED="0",e.TRACKED_REPLAY="1",e.TRACKED_LITE="2"}(En||(En={})),function(e){e.SYNTHETICS="synthetics",e.USER="user",e.CI_TEST="ci_test"}(kn||(kn={}));var On=["view.url","view.referrer","action.target.name","error.message","error.stack","error.resource.url","resource.url"],Cn=g(On,["context"]);function jn(e,t,n,r,i,o){var a,s=function(e){t.notify(gt.RAW_ERROR_COLLECTED,{error:e})},c=((a={})[at.ERROR]=qt(at.ERROR,e.eventRateLimiterThreshold,s),a[at.ACTION]=qt(at.ACTION,e.eventRateLimiterThreshold,s),a),u=function(){var e=window._DATADOG_SYNTHETICS_PUBLIC_ID||Ge(ft),t=window._DATADOG_SYNTHETICS_RESULT_ID||Ge(pt);if("string"==typeof e&&"string"==typeof t)return{test_id:e,result_id:t,injected:mt()}}(),l=function(){var e,t=null===(e=window.Cypress)||void 0===e?void 0:e.env("traceId");if("string"==typeof t)return{test_execution_id:t}}();t.subscribe(gt.RAW_RUM_EVENT_COLLECTED,function(a){var s,d=a.startTime,f=a.rawRumEvent,p=a.domainContext,h=a.savedCommonContext,m=a.customerContext,v=r.findView(d),g=i.findUrl(d),b=n.findTrackedSession(f.type!==at.VIEW?d:void 0);if(b&&v&&g){var _=r.findAction(d),w=h||o(),E={_dd:{format_version:2,drift:Math.round(Date.now()-(qe()+performance.now())),session:{plan:b.hasReplayPlan?wn.REPLAY:wn.LITE},browser_sdk_version:fe()?vt.sdkVersion:void 0},application:{id:e.applicationId},date:Re(),service:e.service,source:"browser",session:{id:b.id,type:u?kn.SYNTHETICS:l?kn.CI_TEST:kn.USER},synthetics:u,ci_test:l},k=(s=f,-1!==[at.ERROR,at.RESOURCE,at.LONG_TASK].indexOf(s.type)?ie(E,g,v,_,f):ie(E,g,v,f));k.context=ie(w.context,m),"has_replay"in k.session||(k.session.has_replay=w.hasReplay),K(w.user)||(k.usr=w.user),function(e,t,n,r){var i;if(t){var o=function(e,t,n){var r=re(e),i=n(r);return t.forEach(function(t){var n=zt(e,t),i=zt(r,t),o=te(n),a=te(i);a===o?Ht(e,t,i):"object"!==o||"undefined"!==a&&"null"!==a||Ht(e,t,{})}),i}(e,e.type===at.VIEW?On:Cn,function(e){return t(e,n)});if(!1===o&&e.type!==at.VIEW)return!1;!1===o&&y.warn("Can't dismiss view events using beforeSend!")}return!(null===(i=r[e.type])||void 0===i?void 0:i.isLimitReached())}(k,e.beforeSend,p,c)&&(K(k.context)&&delete k.context,t.notify(gt.RUM_EVENT_COLLECTED,k))}})}var An=500,Nn=2500,Pn=[];function Mn(){document.hasFocus()&&Ln();var e,t,n=(e=Ln,Z(window,"focus",function(t){t.isTrusted&&e()})).stop,r=(t=In,Z(window,"blur",function(e){e.isTrusted&&t()})).stop;return{isInForegroundAt:Rn,selectInForegroundPeriodsFor:Dn,stop:function(){Pn=[],n(),r()}}}function Ln(){if(!(Pn.length>Nn)){var e=Pn[Pn.length-1],t=De();void 0!==e&&void 0===e.end||Pn.push({start:t})}}function In(){if(0!==Pn.length){var e=Pn[Pn.length-1],t=De();void 0===e.end&&(e.end=t)}}function Rn(e){for(var t=Pn.length-1;t>=0;t--){var n=Pn[t];if(void 0!==n.end&&e>n.end)break;if(e>n.start&&(void 0===n.end||e<n.end))return!0}return!1}function Dn(e,t){for(var n=e+t,r=[],i=Math.max(0,Pn.length-An),o=Pn.length-1;o>=i;o--){var a=Pn[o];if(void 0!==a.end&&e>a.end)break;if(!(n<a.start)){var s=e>a.start?e:a.start,c=Ue(e,s),u=Ue(s,void 0===a.end||n<a.end?n:a.end);r.unshift({start:Ie(c),duration:Ie(u)})}}return r}var Bn,Fn=Kt,Un=5*A;function qn(e,t,n){var r=e[t],i=n(r),o=function(){return i.apply(this,arguments)};return e[t]=o,{stop:function(){e[t]===o?e[t]=r:i=r}}}function zn(e,t,n){var r=n.before,i=n.after;return qn(e,t,function(e){return function(){var t,n=arguments;return r&&xe(r,this,n),"function"==typeof e&&(t=e.apply(this,n)),i&&xe(i,this,n),t}})}var Hn,Vn=new WeakMap;function Wn(){var e;return Bn||(e=new yt(function(){var t=zn(XMLHttpRequest.prototype,"open",{before:Yn}).stop,n=zn(XMLHttpRequest.prototype,"send",{before:function(){(function(e){var t=this,n=Vn.get(this);if(!n)return;var r=n;r.state="start",r.startTime=De(),r.startClocks=Be(),r.isAborted=!1,r.xhr=this;var i=!1,o=zn(this,"onreadystatechange",{before:function(){this.readyState===XMLHttpRequest.DONE&&a()}}).stop,a=ke(function(){if(t.removeEventListener("loadend",a),o(),!i){i=!0;var s=n;s.state="complete",s.duration=Ue(r.startClocks.timeStamp,Re()),s.status=t.status,e.notify(v({},s))}});this.addEventListener("loadend",a),e.notify(r)}).call(this,e)}}).stop,r=zn(XMLHttpRequest.prototype,"abort",{before:Gn}).stop;return function(){t(),n(),r()}}),Bn=e),Bn}function Yn(e,t){Vn.set(this,{state:"open",method:e,url:Xe(t)})}function Gn(){var e=Vn.get(this);e&&(e.isAborted=!0)}function Kn(){var e;return Hn||(e=new yt(function(){if(window.fetch){var t=qn(window,"fetch",function(t){return function(n,r){var i,o=xe(Xn,null,[e,n,r]);return o?(i=t.call(this,o.input,o.init),xe($n,null,[e,i,o])):i=t.call(this,n,r),i}}).stop;return t}}),Hn=e),Hn}function Xn(e,t,n){var r=n&&n.method||"object"==typeof t&&t.method||"GET",i=Xe("object"==typeof t&&t.url||t),o={state:"start",init:n,input:t,method:r,startClocks:Be(),url:i};return e.notify(o),o}function $n(e,t,n){var r=function(t){var r=n;r.state="complete",r.duration=Ue(r.startClocks.timeStamp,Re()),"stack"in t||t instanceof Error?(r.status=0,r.isAborted=t instanceof DOMException&&t.code===DOMException.ABORT_ERR,r.error=t,e.notify(r)):"status"in t&&(r.response=t,r.responseType=t.type,r.status=t.status,r.isAborted=!1,e.notify(r))};t.then(ke(r),ke(r))}function Qn(e){0!==e.status||e.isAborted||(e.traceId=void 0,e.spanId=void 0)}function Zn(e,t,n,r){var i;void 0!==Jn()&&function(e,t){for(var n=$e(t),r=0,i=e.allowedTracingOrigins;r<i.length;r++){var o=i[r];if(n===o||o instanceof RegExp&&o.test(n))return!0}return!1}(e,t.url)&&n.findTrackedSession()&&(t.traceId=new er,t.spanId=new er,r((i=t.traceId,{"x-datadog-origin":"rum","x-datadog-parent-id":t.spanId.toDecimalString(),"x-datadog-sampled":"1","x-datadog-sampling-priority":"1","x-datadog-trace-id":i.toDecimalString()})))}function Jn(){return window.crypto||window.msCrypto}var er=function(){function e(){this.buffer=new Uint8Array(8),Jn().getRandomValues(this.buffer),this.buffer[0]=127&this.buffer[0]}return e.prototype.toString=function(e){var t=this.readInt32(0),n=this.readInt32(4),r="";do{var i=t%e*4294967296+n;t=Math.floor(t/e),n=Math.floor(i/e),r=(i%e).toString(e)+r}while(t||n);return r},e.prototype.toDecimalString=function(){return this.toString(10)},e.prototype.readInt32=function(e){return 16777216*this.buffer[e]+(this.buffer[e+1]<<16)+(this.buffer[e+2]<<8)+this.buffer[e+3]},e}(),tr=1;function nr(e,t,n){var r=function(e,t){return{clearTracingIfNeeded:Qn,traceFetch:function(n){return Zn(e,n,t,function(e){var t;if(n.input instanceof Request&&!(null===(t=n.init)||void 0===t?void 0:t.headers))n.input=new Request(n.input),Object.keys(e).forEach(function(t){n.input.headers.append(t,e[t])});else{n.init=v({},n.init);var r=[];n.init.headers instanceof Headers?n.init.headers.forEach(function(e,t){r.push([t,e])}):Array.isArray(n.init.headers)?n.init.headers.forEach(function(e){r.push(e)}):n.init.headers&&Object.keys(n.init.headers).forEach(function(e){r.push([e,n.init.headers[e]])}),n.init.headers=r.concat(G(e))}})},traceXhr:function(n,r){return Zn(e,n,t,function(e){Object.keys(e).forEach(function(t){r.setRequestHeader(t,e[t])})})}}}(t,n);!function(e,t,n){var r=Wn().subscribe(function(r){var i=r;if(At(t,i.url))switch(i.state){case"start":n.traceXhr(i,i.xhr),i.requestIndex=rr(),e.notify(gt.REQUEST_STARTED,{requestIndex:i.requestIndex});break;case"complete":n.clearTracingIfNeeded(i),e.notify(gt.REQUEST_COMPLETED,{duration:i.duration,method:i.method,requestIndex:i.requestIndex,spanId:i.spanId,startClocks:i.startClocks,status:i.status,traceId:i.traceId,type:C.XHR,url:i.url,xhr:i.xhr})}})}(e,t,r),function(e,t,n){var r=Kn().subscribe(function(r){var i=r;if(At(t,i.url))switch(i.state){case"start":n.traceFetch(i),i.requestIndex=rr(),e.notify(gt.REQUEST_STARTED,{requestIndex:i.requestIndex});break;case"complete":n.clearTracingIfNeeded(i),e.notify(gt.REQUEST_COMPLETED,{duration:i.duration,method:i.method,requestIndex:i.requestIndex,responseType:i.responseType,spanId:i.spanId,startClocks:i.startClocks,status:i.status,traceId:i.traceId,type:C.FETCH,url:i.url,response:i.response,init:i.init,input:i.input})}})}(e,t,r)}function rr(){var e=tr;return tr+=1,e}function ir(e,t){void 0===t&&(t=F);var n={errorCount:0,longTaskCount:0,resourceCount:0,userActionCount:0},r=e.subscribe(gt.RUM_EVENT_COLLECTED,function(e){switch(e.type){case at.ERROR:n.errorCount+=1,t(n);break;case at.ACTION:n.userActionCount+=1,t(n);break;case at.LONG_TASK:n.longTaskCount+=1,t(n);break;case at.RESOURCE:n.resourceCount+=1,t(n)}});return{stop:function(){r.unsubscribe()},eventCounts:n}}var or=100,ar=100;function sr(e,t,n,r){return function(e,t,n){var r,i=!1,o=setTimeout(ke(function(){return u({hadActivity:!1})}),or),a=n&&setTimeout(ke(function(){return u({hadActivity:!0,end:Re()})}),n),s=e.subscribe(function(e){var t=e.isBusy;clearTimeout(o),clearTimeout(r);var n=Re();t||(r=setTimeout(ke(function(){return u({hadActivity:!0,end:n})}),ar))}),c=function(){i=!0,clearTimeout(o),clearTimeout(r),clearTimeout(a),s.unsubscribe()};function u(e){i||(c(),t(e))}return{stop:c}}(function(e,t){var n=new yt(function(){var n,i=[],o=0;return i.push(t.subscribe(function(){return r(o)}),e.subscribe(gt.PERFORMANCE_ENTRIES_COLLECTED,function(e){e.some(function(e){var t=e.entryType;return"resource"===t})&&r(o)}),e.subscribe(gt.REQUEST_STARTED,function(e){void 0===n&&(n=e.requestIndex),r(++o)}),e.subscribe(gt.REQUEST_COMPLETED,function(e){void 0===n||e.requestIndex<n||r(--o)})),function(){return i.forEach(function(e){return e.unsubscribe()})}});function r(e){n.notify({isBusy:e>0})}return n}(e,t),n,r)}var cr="data-dd-action-name";function ur(e,t){var n;if(function(){void 0===dr&&(dr="closest"in HTMLElement.prototype);return dr}())n=e.closest("["+t+"]");else for(var r=e;r;){if(r.hasAttribute(t)){n=r;break}r=r.parentElement}if(n)return gr(vr(n.getAttribute(t).trim()))}var lr,dr,fr=[function(e,t){if(function(){void 0===lr&&(lr="labels"in HTMLInputElement.prototype);return lr}()){if("labels"in e&&e.labels&&e.labels.length>0)return yr(e.labels[0],t)}else if(e.id){var n=e.ownerDocument&&e.ownerDocument.querySelector('label[for="'+e.id.replace('"','\\"')+'"]');return n&&yr(n,t)}},function(e){if("INPUT"===e.nodeName){var t=e,n=t.getAttribute("type");if("button"===n||"submit"===n||"reset"===n)return t.value}},function(e,t){if("BUTTON"===e.nodeName||"LABEL"===e.nodeName||"button"===e.getAttribute("role"))return yr(e,t)},function(e){return e.getAttribute("aria-label")},function(e,t){var n=e.getAttribute("aria-labelledby");if(n)return n.split(/\s+/).map(function(t){return function(e,t){return e.ownerDocument?e.ownerDocument.getElementById(t):null}(e,t)}).filter(function(e){return Boolean(e)}).map(function(e){return yr(e,t)}).join(" ")},function(e){return e.getAttribute("alt")},function(e){return e.getAttribute("name")},function(e){return e.getAttribute("title")},function(e){return e.getAttribute("placeholder")},function(e,t){if("options"in e&&e.options.length>0)return yr(e.options[0],t)}],pr=[function(e,t){return yr(e,t)}],hr=10;function mr(e,t,n){for(var r=e,i=0;i<=hr&&r&&"BODY"!==r.nodeName&&"HTML"!==r.nodeName&&"HEAD"!==r.nodeName;){for(var o=0,a=n;o<a.length;o++){var s=(0,a[o])(r,t);if("string"==typeof s){var c=s.trim();if(c)return gr(vr(c))}}if("FORM"===r.nodeName)break;r=r.parentElement,i+=1}}function vr(e){return e.replace(/\s+/g," ")}function gr(e){return e.length>100?(n=100,((r=(t=e).charCodeAt(n-1))>=55296&&r<=56319?t.slice(0,n+1):t.slice(0,n))+" [...]"):e;var t,n,r}function yr(e,t){if(!e.isContentEditable){if("innerText"in e){var n=e.innerText,r=function(t){for(var r=e.querySelectorAll(t),i=0;i<r.length;i+=1){var o=r[i];if("innerText"in o){var a=o.innerText;a&&a.trim().length>0&&(n=n.replace(a,""))}}};return Boolean(document.documentMode)&&r("script, style"),r("["+cr+"]"),t&&r("["+t+"]"),n}return e.textContent}}var br=10*j;function _r(e,t,n){var r=n.actionNameAttribute,i=function(e,t){var n,r;return{create:function(i,o,a){if(!n){var s=new wr(e,i,o,a);n=s,r=sr(e,t,function(e){if(e.hadActivity){var t=Ue(s.startClocks.timeStamp,e.end);t>=0?s.complete(t):s.discard()}else s.discard();n=void 0},br).stop}},discardCurrent:function(){n&&(r(),n.discard(),n=void 0)}}}(e,t);e.subscribe(gt.VIEW_CREATED,function(){i.discardCurrent()});var o=Z(window,"click",function(e){if(e.target instanceof Element){var t,n,o=(t=e.target,n=r,ur(t,cr)||n&&ur(t,n)||mr(t,n,fr)||mr(t,n,pr)||"");o&&i.create(ct.CLICK,o,e)}},{capture:!0}).stop;return{stop:function(){i.discardCurrent(),o()}}}var wr=function(){function e(e,t,n,r){this.lifeCycle=e,this.type=t,this.name=n,this.event=r,this.id=R(),this.startClocks=Be(),this.eventCountsSubscription=ir(e),this.lifeCycle.notify(gt.AUTO_ACTION_CREATED,{id:this.id,startClocks:this.startClocks})}return e.prototype.complete=function(e){var t=this.eventCountsSubscription.eventCounts;this.lifeCycle.notify(gt.AUTO_ACTION_COMPLETED,{counts:{errorCount:t.errorCount,longTaskCount:t.longTaskCount,resourceCount:t.resourceCount},duration:e,id:this.id,name:this.name,startClocks:this.startClocks,type:this.type,event:this.event}),this.eventCountsSubscription.stop()},e.prototype.discard=function(){this.lifeCycle.notify(gt.AUTO_ACTION_DISCARDED),this.eventCountsSubscription.stop()},e}();function Er(e,t){var n=kr(e)?{action:{error:{count:e.counts.errorCount},id:e.id,loading_time:Ie(e.duration),long_task:{count:e.counts.longTaskCount},resource:{count:e.counts.resourceCount}}}:void 0,r=kr(e)?void 0:e.context,i=ie({action:{id:R(),target:{name:e.name},type:e.type},date:e.startClocks.timeStamp,type:at.ACTION},n),o=t.isInForegroundAt(e.startClocks.relative);return void 0!==o&&(i.view={in_foreground:o}),{customerContext:r,rawRumEvent:i,startTime:e.startClocks.relative,domainContext:kr(e)?{event:e.event}:{}}}function kr(e){return e.type!==ct.CUSTOM}var xr=/^(?:[Uu]ncaught (?:exception: )?)?(?:((?:Eval|Internal|Range|Reference|Syntax|Type|URI|)Error): )?(.*)$/;function Sr(e){var t=function(e){return zn(window,"onerror",{before:function(t,n,r,i,o){var a;if(o)a=_(o),e(a,o);else{var s,c={url:n,column:i,line:r},u=t;if("[object String]"==={}.toString.call(t)){var l=xr.exec(u);l&&(s=l[1],u=l[2])}e(a={name:s,message:"string"==typeof u?u:void 0,stack:[c]},t)}}})}(e).stop,n=function(e){return zn(window,"onunhandledrejection",{before:function(t){var n=t.reason||"Empty reason",r=_(n);e(r,n)}})}(e).stop;return{stop:function(){t(),n()}}}var Tr,Or,Cr={log:"log",debug:"debug",info:"info",warn:"warn",error:"error"},jr={};function Ar(e){var t=e.map(function(e){return jr[e]||(jr[e]=function(e){var t=new yt(function(){var n=console[e];return console[e]=function(){for(var r=[],i=0;i<arguments.length;i++)r[i]=arguments[i];n.apply(console,r);var o=le();xe(function(){t.notify(function(e,t,n){var r={message:g(["console "+t+":"],e).map(function(e){return function(e){if("string"==typeof e)return e;if(e instanceof Error)return ue(_(e));return U(e,void 0,2)}(e)}).join(" "),api:t};if(t===Cr.error){var i=H(e,function(e){return e instanceof Error});r.stack=i?ce(_(i)):void 0,r.handlingStack=n}return r}(r,e,o))})},function(){console[e]=n}});return t}(e)),jr[e]});return function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var n=new yt(function(){var t=e.map(function(e){return e.subscribe(function(e){return n.notify(e)})});return function(){return t.forEach(function(e){return e.unsubscribe()})}});return n}.apply(void 0,t)}function Nr(e,t){var n=new yt;return function(e){var t=Ar([Cr.error]).subscribe(function(t){return e.notify({startClocks:Be(),message:t.message,stack:t.stack,source:ae.CONSOLE,handling:oe.HANDLED,handlingStack:t.handlingStack})})}(n),function(e){Sr(function(t,n){var r=se(t,n,"Uncaught"),i=r.stack,o=r.message,a=r.type;e.notify({message:o,stack:i,type:a,source:ae.SOURCE,startClocks:Be(),originalError:n,handling:oe.UNHANDLED})})}(n),n.subscribe(function(t){return e.notify(gt.RAW_ERROR_COLLECTED,{error:t})}),function(e,t){return e.subscribe(gt.RAW_ERROR_COLLECTED,function(n){var r=n.error,i=n.customerContext,o=n.savedCommonContext;e.notify(gt.RAW_RUM_EVENT_COLLECTED,v({customerContext:i,savedCommonContext:o},function(e,t){var n={date:e.startClocks.timeStamp,error:{id:R(),message:e.message,resource:e.resource?{method:e.resource.method,status_code:e.resource.statusCode,url:e.resource.url}:void 0,source:e.source,stack:e.stack,handling_stack:e.handlingStack,type:e.type,handling:e.handling,source_type:"browser"},type:at.ERROR},r=t.isInForegroundAt(e.startClocks.relative);return void 0!==r&&(n.view={in_foreground:r}),{rawRumEvent:n,startTime:e.startClocks.relative,domainContext:{error:e.originalError}}}(r,t)))}),{addError:function(t,n){var r=t.error,i=t.handlingStack,o=t.startClocks,a=t.context,s=function(e,t,n){var r=e instanceof Error?_(e):void 0;return v(v({startClocks:n,source:ae.CUSTOM,originalError:e},se(r,e,"Provided",t)),{handling:oe.HANDLED})}(r,i,o);e.notify(gt.RAW_ERROR_COLLECTED,{customerContext:a,savedCommonContext:n,error:s})}}}(e,t)}function Pr(e){if(performance&&"getEntriesByName"in performance){var t=performance.getEntriesByName(e.url,"resource");if(t.length&&"toJSON"in t[0]){var n,r=t.map(function(e){return e.toJSON()}).filter(Tt).filter(function(t){return n=t,r=e.startClocks.relative,i=Mr({startTime:e.startClocks.relative,duration:e.duration}),n.startTime>=r-1&&Mr(n)<=i+1;var n,r,i});return 1===r.length?r[0]:2===r.length&&Mr((n=r)[0])<=n[1].startTime?r[1]:void 0}}}function Mr(e){return e.startTime+e.duration}function Lr(e){e.subscribe(gt.REQUEST_COMPLETED,function(t){e.notify(gt.RAW_RUM_EVENT_COLLECTED,function(e){var t=e.type===C.XHR?O.XHR:O.FETCH,n=Pr(e),r=n?Me(n.startTime):e.startClocks,i=n?Rr(n):void 0,o=function(e){if(!e.traceId||!e.spanId)return;return{_dd:{span_id:e.spanId.toDecimalString(),trace_id:e.traceId.toDecimalString()}}}(e),a=ie({date:r.timeStamp,resource:{id:R(),type:t,duration:Ie(e.duration),method:e.method,status_code:e.status,url:e.url},type:at.RESOURCE},o,i);return{startTime:r.relative,rawRumEvent:a,domainContext:{performanceEntry:n&&Dr(n),xhr:e.xhr,response:e.response,requestInput:e.input,requestInit:e.init,error:e.error}}}(t))}),e.subscribe(gt.PERFORMANCE_ENTRIES_COLLECTED,function(t){for(var n=0,r=t;n<r.length;n++){var i=r[n];"resource"===i.entryType&&("xmlhttprequest"!==(o=i).initiatorType&&"fetch"!==o.initiatorType)&&e.notify(gt.RAW_RUM_EVENT_COLLECTED,Ir(i))}var o})}function Ir(e){var t=kt(e),n=Rr(e),r=function(e){return e.traceId?{_dd:{trace_id:e.traceId}}:void 0}(e),i=Me(e.startTime),o=ie({date:i.timeStamp,resource:{id:R(),type:t,url:e.name},type:at.RESOURCE},r,n);return{startTime:i.relative,rawRumEvent:o,domainContext:{performanceEntry:Dr(e)}}}function Rr(e){return{resource:v({duration:(t=e,n=t.duration,r=t.startTime,i=t.responseEnd,Ie(0===n&&r<i?Ue(r,i):n)),size:jt(e)},St(e))};var t,n,r,i}function Dr(e){return"function"==typeof PerformanceEntry&&e instanceof PerformanceEntry&&e.toJSON(),e}function Br(e){return void 0===e&&(e=window),Tr||("hidden"===document.visibilityState?Tr={timeStamp:0}:(Tr={timeStamp:1/0},Or=J(e,["pagehide","visibilitychange"],function(e){"pagehide"!==e.type&&"hidden"!==document.visibilityState||(Tr.timeStamp=e.timeStamp,Or())},{capture:!0}).stop)),Tr}var Fr=10*A;function Ur(e,t){var n;function r(e){n=v(v({},n),e),t(n)}var i=function(e,t){return{stop:e.subscribe(gt.PERFORMANCE_ENTRIES_COLLECTED,function(e){for(var n=0,r=e;n<r.length;n++){var i=r[n];"navigation"===i.entryType&&t({domComplete:i.domComplete,domContentLoaded:i.domContentLoadedEventEnd,domInteractive:i.domInteractive,loadEvent:i.loadEventEnd})}}).unsubscribe}}(e,r).stop,o=function(e,t){var n=Br();return{stop:e.subscribe(gt.PERFORMANCE_ENTRIES_COLLECTED,function(e){var r=H(e,function(e){return"paint"===e.entryType&&"first-contentful-paint"===e.name&&e.startTime<n.timeStamp&&e.startTime<Fr});r&&t(r.startTime)}).unsubscribe}}(e,function(e){return r({firstContentfulPaint:e})}).stop,a=function(e,t,n){var r=Br(),i=1/0,o=J(t,["pointerdown","keydown"],function(e){i=e.timeStamp},{capture:!0,once:!0}).stop,a=e.subscribe(gt.PERFORMANCE_ENTRIES_COLLECTED,function(e){var t=function(e,t){for(var n=e.length-1;n>=0;n-=1){var r=e[n];if(t(r,n,e))return r}}(e,function(e){return"largest-contentful-paint"===e.entryType&&e.startTime<i&&e.startTime<r.timeStamp&&e.startTime<Fr});t&&n(t.startTime)}).unsubscribe;return{stop:function(){o(),a()}}}(e,window,function(e){r({largestContentfulPaint:e})}).stop,s=function(e,t){var n=Br();return{stop:e.subscribe(gt.PERFORMANCE_ENTRIES_COLLECTED,function(e){var r=H(e,function(e){return"first-input"===e.entryType&&e.startTime<n.timeStamp});if(r){var i=Ue(r.startTime,r.processingStart);t({firstInputDelay:i>=0?i:0,firstInputTime:r.startTime})}}).unsubscribe}}(e,function(e){r({firstInputDelay:e.firstInputDelay,firstInputTime:e.firstInputTime})}).stop;return{stop:function(){i(),o(),a(),s()}}}function qr(e,t,n,r,i){var o,a={eventCounts:{errorCount:0,longTaskCount:0,resourceCount:0,userActionCount:0}},s=ir(e,function(e){a.eventCounts=e,n()}).stop,c=function(e,t,n,r,i){var o=n===st.INITIAL_LOAD,a=!0,s=[];function c(){!a&&!o&&s.length>0&&i(Math.max.apply(Math,s))}return{stop:sr(e,t,function(e){a&&(a=!1,e.hadActivity&&s.push(Ue(r.timeStamp,e.end)),c())}).stop,setLoadEvent:function(e){o&&(o=!1,s.push(e),c())}}}(e,t,r,i,function(e){a.loadingTime=e,n()}),u=c.stop,l=c.setLoadEvent;return Dt("layout-shift")?(a.cumulativeLayoutShift=0,o=function(e,t){var n=0,r=(a=0,{update:function(e){var t=void 0===i||e.startTime-o>=j||e.startTime-i>=5*j;t?(i=o=e.startTime,a=e.value):(a+=e.value,o=e.startTime)},value:function(){return a}});var i,o,a;return{stop:e.subscribe(gt.PERFORMANCE_ENTRIES_COLLECTED,function(e){for(var i=0,o=e;i<o.length;i++){var a=o[i];"layout-shift"!==a.entryType||a.hadRecentInput||(r.update(a),r.value()>n&&(n=r.value(),t(B(n,4))))}}).unsubscribe}}(e,function(e){a.cumulativeLayoutShift=e,n()}).stop):o=F,{stop:function(){s(),u(),o()},setLoadEvent:l,viewMetrics:a}}var zr=3e3,Hr=5*A;function Vr(e,t,n,r,i,o){var a,s=function(r){var i=Wr(t,n,e,st.INITIAL_LOAD,Fe(),r),o=Ur(t,function(e){i.updateTimings(e),i.scheduleUpdate()}).stop;return{initialView:i,stop:o}}(o),c=s.stop,u=s.initialView,l=function(){t.subscribe(gt.SESSION_RENEWED,function(){u.end(),u=d(void 0,u.name)}),t.subscribe(gt.BEFORE_UNLOAD,function(){u.end(),u.triggerUpdate()});var e=window.setInterval(ke(function(){u.triggerUpdate()}),Hr);return{stop:function(){clearInterval(e)}}}().stop;function d(r,i){return Wr(t,n,e,st.ROUTE_CHANGE,r,i)}return i&&(a=function(e){return e.subscribe(function(e){var t,n,r,i,o=e.oldLocation,a=e.newLocation;if(n=a,(t=o).pathname!==n.pathname||(r=n.hash,i=r.substr(1),!document.getElementById(i)&&Yr(n.hash)!==Yr(t.hash)))return u.end(),u.triggerUpdate(),void(u=d())})}(r)),{addTiming:function(e,t){void 0===t&&(t=Re()),u.addTiming(e,t),u.scheduleUpdate()},startView:function(e,t){u.end(t),u.triggerUpdate(),u=d(t,e)},stop:function(){null==a||a.unsubscribe(),c(),l(),u.end()}}}function Wr(e,t,n,r,i,o){void 0===i&&(i=Be());var a,s=R(),c={},u={},l=0,d=v({},n);e.notify(gt.VIEW_CREATED,{id:s,name:o,startClocks:i});var f=L(ke(w),zr,{leading:!1}),p=f.throttled,h=f.cancel,m=qr(e,t,p,r,i),g=m.setLoadEvent,b=m.stop,_=m.viewMetrics;function w(){l+=1;var t=void 0===a?Re():a.timeStamp;e.notify(gt.VIEW_UPDATED,v(v({},_),{customTimings:u,documentVersion:l,id:s,name:o,loadingType:r,location:d,startClocks:i,timings:c,duration:Ue(i.timeStamp,t),isActive:void 0===a}))}return w(),{name:o,scheduleUpdate:p,end:function(t){void 0===t&&(t=Be()),a=t,b(),e.notify(gt.VIEW_ENDED,{endClocks:a})},triggerUpdate:function(){h(),w()},updateTimings:function(e){c=e,void 0!==e.loadEvent&&g(e.loadEvent)},addTiming:function(e,t){var n=function(e){return e<P}(t)?t:Ue(i.timeStamp,t);u[function(e){var t=e.replace(/[^a-zA-Z0-9-_.@$]/g,"_");t!==e&&y.warn("Invalid timing name: "+e+", sanitized to: "+t);return t}(e)]=n}}}function Yr(e){var t=e.indexOf("?");return t<0?e:e.slice(0,t)}function Gr(e,t,n,r,i,o,a,s){return e.subscribe(gt.VIEW_UPDATED,function(t){return e.notify(gt.RAW_RUM_EVENT_COLLECTED,function(e,t,n){var r=n.getReplayStats(e.id),i={_dd:{document_version:e.documentVersion,replay_stats:r},date:e.startClocks.timeStamp,type:at.VIEW,view:{action:{count:e.eventCounts.userActionCount},cumulative_layout_shift:e.cumulativeLayoutShift,dom_complete:Ie(e.timings.domComplete),dom_content_loaded:Ie(e.timings.domContentLoaded),dom_interactive:Ie(e.timings.domInteractive),error:{count:e.eventCounts.errorCount},first_contentful_paint:Ie(e.timings.firstContentfulPaint),first_input_delay:Ie(e.timings.firstInputDelay),first_input_time:Ie(e.timings.firstInputTime),is_active:e.isActive,name:e.name,largest_contentful_paint:Ie(e.timings.largestContentfulPaint),load_event:Ie(e.timings.loadEvent),loading_time:(o=Ie(e.loadingTime),W(o)&&o<0?void 0:o),loading_type:e.loadingType,long_task:{count:e.eventCounts.longTaskCount},resource:{count:e.eventCounts.resourceCount},time_spent:Ie(e.duration),in_foreground_periods:t.selectInForegroundPeriodsFor(e.startClocks.relative,e.duration)},session:{has_replay:!!r||void 0}};var o;K(e.customTimings)||(i.view.custom_timings=function(e,t){for(var n={},r=0,i=Object.keys(e);r<i.length;r++){var o=i[r];n[o]=t(e[o])}return n}(e.customTimings,Ie));return{rawRumEvent:i,startTime:e.startClocks.relative,domainContext:{location:e.location}}}(t,o,a))}),Vr(n,e,r,i,!t.trackViewsManually,s)}function Kr(e,t){var n=function(e,t){var n,r=o(e.rumEndpointBuilder,function(){return t.notify(gt.BEFORE_UNLOAD)}),i=e.replica;void 0!==i&&(n=o(i.rumEndpointBuilder));function o(t,n){return new me(new ge(t,e.batchBytesLimit),e.maxBatchSize,e.batchBytesLimit,e.maxMessageSize,e.flushTimeout,n)}function a(e){return ie(e,{application:{id:i.applicationId}})}var s=!1;return{add:function(e){s||(r.add(e),n&&n.add(a(e)))},stop:function(){s=!0},upsert:function(e,t){s||(r.upsert(e,t),n&&n.upsert(a(e),t))}}}(e,t);return t.subscribe(gt.RUM_EVENT_COLLECTED,function(e){e.type===at.VIEW?n.upsert(e,e.view.id):n.add(e)}),{stop:function(){return n.stop()}}}var Xr=Kt;function $r(e){var t=v({},e),n=new yt(function(){var e,t,n,i,o,a=(e=r,t=zn(history,"pushState",{after:e}).stop,n=zn(history,"replaceState",{after:e}).stop,i=Z(window,"popstate",e).stop,{stop:function(){t(),n(),i()}}).stop,s=(o=r,Z(window,"hashchange",o)).stop;return function(){a(),s()}});function r(){if(t.href!==e.href){var r=v({},e);n.notify({newLocation:r,oldLocation:t}),t=r}}return n}var Qr={FullSnapshot:2,IncrementalSnapshot:3,Meta:4,Focus:6,ViewEnd:7,VisualViewport:8},Zr=v(v({},ut),{IGNORE:"ignore",HIDDEN:"hidden"}),Jr="data-dd-privacy",ei="allow",ti="mask",ni="mask-user-input",ri="hidden",ii="dd-privacy-allow",oi="dd-privacy-mask",ai="dd-privacy-mask-user-input",si="dd-privacy-hidden",ci="***",ui="data:image/gif;base64,R0lGODlhAQABAIAAAMLCwgAAACH5BAAAAAAALAAAAAABAAEAAAICRAEAOw==",li={INPUT:!0,OUTPUT:!0,TEXTAREA:!0,SELECT:!0,OPTION:!0,DATALIST:!0,OPTGROUP:!0},di=1e5;function fi(e,t){var n=e.parentNode?fi(e.parentNode,t):t;return pi(hi(e),n)}function pi(e,t){switch(t){case Zr.HIDDEN:case Zr.IGNORE:return t}switch(e){case Zr.ALLOW:case Zr.MASK:case Zr.MASK_USER_INPUT:case Zr.HIDDEN:case Zr.IGNORE:return e;default:return t}}function hi(e){if(function(e){return e.nodeType===e.ELEMENT_NODE}(e)){var t=e.getAttribute(Jr);if("BASE"===e.tagName)return Zr.ALLOW;if("INPUT"===e.tagName){var n=e;if("password"===n.type||"email"===n.type||"tel"===n.type)return Zr.MASK;if("hidden"===n.type)return Zr.MASK;var r=n.getAttribute("autocomplete");if(r&&0===r.indexOf("cc-"))return Zr.MASK}return t===ri||e.classList.contains(si)?Zr.HIDDEN:t===ti||e.classList.contains(oi)?Zr.MASK:t===ni||e.classList.contains(ai)?Zr.MASK_USER_INPUT:t===ei||e.classList.contains(ii)?Zr.ALLOW:function(e){if("SCRIPT"===e.nodeName)return!0;if("LINK"===e.nodeName){var t=i("rel");return"preload"===t&&"script"===i("as")||"shortcut icon"===t||"icon"===t}if("META"===e.nodeName){var n=i("name"),t=i("rel"),r=i("property");return/^msapplication-tile(image|color)$/.test(n)||"application-name"===n||"icon"===t||"apple-touch-icon"===t||"shortcut icon"===t||"keywords"===n||"description"===n||/^(og|twitter|fb):/.test(r)||/^(og|twitter):/.test(n)||"pinterest"===n||"robots"===n||"googlebot"===n||"bingbot"===n||e.hasAttribute("http-equiv")||"author"===n||"generator"===n||"framework"===n||"publisher"===n||"progid"===n||/^article:/.test(r)||/^product:/.test(r)||"google-site-verification"===n||"yandex-verification"===n||"csrf-token"===n||"p:domain_verify"===n||"verify-v1"===n||"verification"===n||"shopify-checkout-api-token"===n}function i(t){return(e.getAttribute(t)||"").toLowerCase()}return!1}(e)?Zr.IGNORE:void 0}}function mi(e,t){switch(t){case Zr.MASK:case Zr.HIDDEN:case Zr.IGNORE:return!0;case Zr.MASK_USER_INPUT:return function(e){return e.nodeType===e.TEXT_NODE}(e)?vi(e.parentNode):vi(e);default:return!1}}function vi(e){if(!e||e.nodeType!==e.ELEMENT_NODE)return!1;var t=e;if("INPUT"===t.tagName)switch(t.type){case"button":case"color":case"reset":case"submit":return!1}return!!li[t.tagName]}var gi,yi=function(e){return e.replace(/\S/g,"x")};function bi(e,t,n){var r,i=null===(r=e.parentElement)||void 0===r?void 0:r.tagName,o=e.textContent||"";if(!t||o.trim()){var a=n,s="STYLE"===i||void 0;if("SCRIPT"===i)o=ci;else if(a===Zr.HIDDEN)o=ci;else if(mi(e,a)&&!s)if("DATALIST"===i||"SELECT"===i||"OPTGROUP"===i){if(!o.trim())return}else o="OPTION"===i?ci:yi(o);return o}}!function(e){e[e.Mutation=0]="Mutation",e[e.MouseMove=1]="MouseMove",e[e.MouseInteraction=2]="MouseInteraction",e[e.Scroll=3]="Scroll",e[e.ViewportResize=4]="ViewportResize",e[e.Input=5]="Input",e[e.TouchMove=6]="TouchMove",e[e.MediaInteraction=7]="MediaInteraction",e[e.StyleSheetRule=8]="StyleSheetRule"}(gi||(gi={}));var _i,wi=0,Ei=1,ki=2,xi=3,Si=4,Ti=5,Oi=6,Ci=7,ji=9,Ai={Play:0,Pause:1};!function(e){e[e.Document=0]="Document",e[e.DocumentType=1]="DocumentType",e[e.Element=2]="Element",e[e.Text=3]="Text",e[e.CDATA=4]="CDATA",e[e.Comment=5]="Comment"}(_i||(_i={}));var Ni=new WeakMap;function Pi(e){return Ni.has(e)}function Mi(e){return Ni.get(e)}function Li(e,t){var n=e.tagName,r=e.value;if(mi(e,t)){var i=e.type;if("INPUT"===n&&("button"===i||"submit"===i||"reset"===i))return r;if(!r||"OPTION"===n)return;return ci}return"OPTION"===n||"SELECT"===n?e.value:"INPUT"===n||"TEXTAREA"===n?r:void 0}function Ii(e){return Boolean(e.changedTouches)}function Ri(e,t){Array.prototype.forEach.call(e,t)}function Di(e,t){return Bi(e,{document:e,parentNodePrivacyLevel:t})}function Bi(e,t){var n=function(e,t){switch(e.nodeType){case e.DOCUMENT_NODE:return function(e,t){return{type:_i.Document,childNodes:Fi(e,t)}}(e,t);case e.DOCUMENT_TYPE_NODE:return n=e,{type:_i.DocumentType,name:n.name,publicId:n.publicId,systemId:n.systemId};case e.ELEMENT_NODE:return function(e,t){var n,r=Hi(e.tagName),i=(a=e,"svg"===a.tagName||a instanceof SVGElement||void 0),o=pi(hi(e),t.parentNodePrivacyLevel);var a;if(o===Zr.HIDDEN){var s=e.getBoundingClientRect(),c=s.width,u=s.height;return{type:_i.Element,tagName:r,attributes:(n={rr_width:c+"px",rr_height:u+"px"},n[Jr]=ri,n),childNodes:[],isSVG:i}}if(o===Zr.IGNORE)return;var l=function(e,t){if(t===Zr.HIDDEN)return{};for(var n={},r=Hi(e.tagName),i=e.ownerDocument,o=0;o<e.attributes.length;o+=1){var a=e.attributes.item(o),s=a.name,c=Ui(e,t,s);null!==c&&(n[s]=c)}if(e.value&&("textarea"===r||"select"===r||"option"===r||"input"===r)){var u=Li(e,t);void 0!==u&&(n.value=u)}if("option"===r&&t===Zr.ALLOW){var l=e;l.selected&&(n.selected=l.selected)}if("link"===r){var d=Array.from(i.styleSheets).find(function(t){return t.href===e.href}),f=Vi(d);f&&d&&(delete n.rel,delete n.href,n._cssText=f)}if("style"===r&&e.sheet&&!(e.innerText||e.textContent||"").trim().length){var f=Vi(e.sheet);f&&(n._cssText=f)}var p=e;"input"!==r||"radio"!==p.type&&"checkbox"!==p.type||(t===Zr.ALLOW?n.checked=!!p.checked:mi(p,t)&&(n.checked=ci));if("audio"===r||"video"===r){var h=e;n.rr_mediaState=h.paused?"paused":"played"}e.scrollLeft&&(n.rr_scrollLeft=Math.round(e.scrollLeft));e.scrollTop&&(n.rr_scrollTop=Math.round(e.scrollTop));return n}(e,o),d=[];if(e.childNodes.length){var f=void 0;f=t.parentNodePrivacyLevel===o&&t.ignoreWhiteSpace===("head"===r)?t:v(v({},t),{parentNodePrivacyLevel:o,ignoreWhiteSpace:"head"===r}),d=Fi(e,f)}return{type:_i.Element,tagName:r,attributes:l,childNodes:d,isSVG:i}}(e,t);case e.TEXT_NODE:return function(e,t){var n,r=null===(n=e.parentElement)||void 0===n?void 0:n.tagName,i=bi(e,t.ignoreWhiteSpace||!1,t.parentNodePrivacyLevel);if(!i)return;return{type:_i.Text,textContent:i,isStyle:"STYLE"===r||void 0}}(e,t);case e.CDATA_SECTION_NODE:return{type:_i.CDATA,textContent:""}}var n}(e,t);if(!n)return null;var r=Mi(e)||qi++,i=n;return i.id=r,function(e,t){Ni.set(e,t)}(e,r),t.serializedNodeIds&&t.serializedNodeIds.add(r),i}function Fi(e,t){var n=[];return Ri(e.childNodes,function(e){var r=Bi(e,t);r&&n.push(r)}),n}function Ui(e,t,n){if(t===Zr.HIDDEN)return null;var r=e.getAttribute(n);if(t===Zr.MASK){var i=e.tagName;switch(n){case"title":case"alt":return ci}if(!("IMG"!==i&&"SOURCE"!==i||"src"!==n&&"srcset"!==n))return ui;if("A"===i&&"href"===n)return ci;if(r&&0===n.indexOf("data-")&&n!==Jr)return ci}return r&&"string"==typeof r&&r.length>di&&"data:"===r.slice(0,5)?"data:truncated":r}var qi=1;var zi=/[^a-z1-6-_]/;function Hi(e){var t=e.toLowerCase().trim();return zi.test(t)?"div":t}function Vi(e){try{var t=e.rules||e.cssRules;return t?Array.from(t).map(Wi).join(""):null}catch(e){return null}}function Wi(e){return function(e){return"styleSheet"in e}(e)?Vi(e.styleSheet)||"":e.cssText}var Yi=100;function Gi(e){var t=F,n=[];function r(){t(),e(n),n=[]}return{addMutations:function(e){0===n.length&&(t=function(e){var t=window;if(t.requestIdleCallback){var n=t.requestIdleCallback(ke(e),{timeout:Yi});return function(){return t.cancelIdleCallback(n)}}var r=t.requestAnimationFrame(ke(e));return function(){return t.cancelAnimationFrame(r)}}(r)),n.push.apply(n,e)},flush:r,stop:function(){t()}}}function Ki(e,t,n){var r=bt();if(!r)return{stop:F};var i=Gi(function(e){!function(e,t,n){var r=e.filter(function(e){return document.contains(e.target)&&function(e){for(var t=e;t;){if(!Pi(t))return!1;t=t.parentNode}return!0}(e.target)&&fi(e.target,n)!==Zr.HIDDEN}),i=function(e,t){for(var n=new Set,r=new Map,i=function(e){Ri(e.addedNodes,function(e){n.add(e)}),Ri(e.removedNodes,function(t){n.has(t)||r.set(t,e.target),n.delete(t)})},o=0,a=e;o<a.length;o++){var s=a[o];i(s)}var c=Array.from(n);u=c,u.sort(function(e,t){var n=e.compareDocumentPosition(t);return n&Node.DOCUMENT_POSITION_CONTAINED_BY?-1:n&Node.DOCUMENT_POSITION_CONTAINS?1:n&Node.DOCUMENT_POSITION_FOLLOWING?1:n&Node.DOCUMENT_POSITION_PRECEDING?-1:0});var u;for(var l=new Set,d=[],f=0,p=c;f<p.length;f++){var h=p[f];if(!y(h)){var m=fi(h.parentNode,t);if(m!==Zr.HIDDEN&&m!==Zr.IGNORE){var v=Bi(h,{document:document,serializedNodeIds:l,parentNodePrivacyLevel:m});v&&d.push({nextId:b(h),parentId:Mi(h.parentNode),node:v})}}}var g=[];return r.forEach(function(e,t){Pi(t)&&g.push({parentId:Mi(e),id:Mi(t)})}),{adds:d,removes:g,hasBeenSerialized:y};function y(e){return Pi(e)&&l.has(Mi(e))}function b(e){for(var t=e.nextSibling;t;){if(Pi(t))return Mi(t);t=t.nextSibling}return null}}(r.filter(function(e){return"childList"===e.type}),n),o=i.adds,a=i.removes,s=i.hasBeenSerialized,c=function(e,t){for(var n,r=[],i=new Set,o=e.filter(function(e){return!i.has(e.target)&&(i.add(e.target),!0)}),a=0,s=o;a<s.length;a++){var c=s[a],u=c.target.textContent;if(u!==c.oldValue){var l=fi(c.target.parentNode,t);l!==Zr.HIDDEN&&l!==Zr.IGNORE&&r.push({id:Mi(c.target),value:null!==(n=bi(c.target,!1,l))&&void 0!==n?n:null})}}return r}(r.filter(function(e){return"characterData"===e.type&&!s(e.target)}),n),u=function(e,t){for(var n=[],r=new Map,i=e.filter(function(e){var t=r.get(e.target);return(null==t||!t.has(e.attributeName))&&(t?t.add(e.attributeName):r.set(e.target,new Set([e.attributeName])),!0)}),o=new Map,a=0,s=i;a<s.length;a++){var c=s[a],u=c.target.getAttribute(c.attributeName);if(u!==c.oldValue){var l=fi(c.target,t),d=Ui(c.target,l,c.attributeName),f=void 0;if("value"===c.attributeName){var p=Li(c.target,l);if(void 0===p)continue;f=p}else f=d&&"string"==typeof d?d:null;var h=o.get(c.target);h||(h={id:Mi(c.target),attributes:{}},n.push(h),o.set(c.target,h)),h.attributes[c.attributeName]=f}}return n}(r.filter(function(e){return"attributes"===e.type&&!s(e.target)}),n);if(!(c.length||u.length||a.length||o.length))return;t({adds:o,removes:a,texts:c,attributes:u})}(e.concat(o.takeRecords()),t,n)}),o=new r(ke(i.addMutations));return o.observe(document,{attributeOldValue:!0,attributes:!0,characterData:!0,characterDataOldValue:!0,childList:!0,subtree:!0}),e.onFlush(i.flush),{stop:function(){o.disconnect(),i.stop()}}}var Xi=function(){function e(){}return e.prototype.flush=function(){var e;null===(e=this.flushListener)||void 0===e||e.call(this)},e.prototype.onFlush=function(e){this.flushListener=e},e}();var $i=25;var Qi,Zi=function(e,t){var n=window.visualViewport,r={layoutViewportX:e,layoutViewportY:t,visualViewportX:e,visualViewportY:t};return n?(!function(){var e=window.visualViewport;return Math.abs(e.pageTop-e.offsetTop-window.scrollY)>$i||Math.abs(e.pageLeft-e.offsetLeft-window.scrollX)>$i}()?(r.visualViewportX=Math.round(e-n.offsetLeft),r.visualViewportY=Math.round(t-n.offsetTop)):(r.layoutViewportX=Math.round(e+n.offsetLeft),r.layoutViewportY=Math.round(t+n.offsetTop)),r):r},Ji=function(){var e=window.visualViewport;return{scale:e.scale,offsetLeft:e.offsetLeft,offsetTop:e.offsetTop,pageLeft:e.pageLeft,pageTop:e.pageTop,height:e.height,width:e.width}};function eo(){var e=window.visualViewport;return e?e.width*e.scale:window.innerWidth||0}function to(){var e=window.visualViewport;return e?e.height*e.scale:window.innerHeight||0}function no(){var e=window.visualViewport;return e?e.pageLeft-e.offsetLeft:void 0!==window.scrollX?window.scrollX:window.pageXOffset||0}function ro(){var e=window.visualViewport;return e?e.pageTop-e.offsetTop:void 0!==window.scrollY?window.scrollY:window.pageYOffset||0}var io=50,oo=100,ao=200;function so(e){var t,n,r,i,o=(t=e.mutationController,n=e.mutationCb,r=e.defaultPrivacyLevel,Ki(t,n,r).stop),a=function(e){var t=L(ke(function(t){var n=t.target;if(Pi(n)){var r=Ii(t)?t.changedTouches[0]:t,i=r.clientX,o=r.clientY,a={id:Mi(n),timeOffset:0,x:i,y:o};if(window.visualViewport){var s=Zi(i,o),c=s.visualViewportX,u=s.visualViewportY;a.x=c,a.y=u}e([a],Ii(t)?gi.TouchMove:gi.MouseMove)}}),io,{trailing:!1}).throttled;return J(document,["mousemove","touchmove"],t,{capture:!0,passive:!0}).stop}(e.mousemoveCb),s=function(e,t){return J(document,Object.keys(co),function(n){var r=n.target;if(fi(r,t)===Zr.HIDDEN||!Pi(r))return;var i=Ii(n)?n.changedTouches[0]:n,o=i.clientX,a=i.clientY,s={id:Mi(r),type:co[n.type],x:o,y:a};if(window.visualViewport){var c=Zi(o,a),u=c.visualViewportX,l=c.visualViewportY;s.x=u,s.y=l}e(s)},{capture:!0,passive:!0}).stop}(e.mouseInteractionCb,e.defaultPrivacyLevel),c=function(e,t){var n=L(ke(function(n){var r=n.target;if(r&&fi(r,t)!==Zr.HIDDEN&&Pi(r)){var i=Mi(r);r===document?e({id:i,x:no(),y:ro()}):e({id:i,x:r.scrollLeft,y:r.scrollTop})}}),oo).throttled;return Z(document,"scroll",n,{capture:!0,passive:!0}).stop}(e.scrollCb,e.defaultPrivacyLevel),u=function(e){var t=L(ke(function(){var t=to(),n=eo();e({height:Number(t),width:Number(n)})}),200).throttled;return Z(window,"resize",t,{capture:!0,passive:!0}).stop}(e.viewportResizeCb),l=function(e,t){function n(e){var n=e.target,i=fi(n,t);if(n&&n.tagName&&z(uo,n.tagName)&&i!==Zr.HIDDEN){var o,a=n.type;if("radio"===a||"checkbox"===a){if(mi(n,i))return;o={isChecked:n.checked}}else{var s=Li(n,i);if(void 0===s)return;o={text:s}}r(n,o);var c=n.name;"radio"===a&&c&&n.checked&&Ri(document.querySelectorAll('input[type="radio"][name="'+c+'"]'),function(e){e!==n&&r(e,{isChecked:!1})})}}function r(t,n){if(Pi(t)){var r=lo.get(t);r&&r.text===n.text&&r.isChecked===n.isChecked||(lo.set(t,n),e(v(v({},n),{id:Mi(t)})))}}var i=J(document,["input","change"],n,{capture:!0,passive:!0}).stop,o=Object.getOwnPropertyDescriptor(HTMLInputElement.prototype,"value"),a=[[HTMLInputElement.prototype,"value"],[HTMLInputElement.prototype,"checked"],[HTMLSelectElement.prototype,"value"],[HTMLTextAreaElement.prototype,"value"],[HTMLSelectElement.prototype,"selectedIndex"]],s=[];o&&o.set&&s.push.apply(s,a.map(function(e){return t=e[0],r=e[1],i={set:ke(function(){n({target:this})})},o=Object.getOwnPropertyDescriptor(t,r),Object.defineProperty(t,r,{set:function(e){var t=this;setTimeout(function(){i.set.call(t,e)},0),o&&o.set&&o.set.call(this,e)}}),function(){Object.defineProperty(t,r,o||{})};var t,r,i,o}));return function(){s.forEach(function(e){return e()}),i()}}(e.inputCb,e.defaultPrivacyLevel),d=function(e,t){return J(document,["play","pause"],function(n){var r=n.target;r&&fi(r,t)!==Zr.HIDDEN&&Pi(r)&&e({id:Mi(r),type:"play"===n.type?Ai.Play:Ai.Pause})},{capture:!0,passive:!0}).stop}(e.mediaInteractionCb,e.defaultPrivacyLevel),f=function(e){var t=CSSStyleSheet.prototype.insertRule;CSSStyleSheet.prototype.insertRule=function(n,r){var i=this;return xe(function(){Pi(i.ownerNode)&&e({id:Mi(i.ownerNode),adds:[{rule:n,index:r}]})}),t.call(this,n,r)};var n=CSSStyleSheet.prototype.deleteRule;return CSSStyleSheet.prototype.deleteRule=function(t){var r=this;return xe(function(){Pi(r.ownerNode)&&e({id:Mi(r.ownerNode),removes:[{index:t}]})}),n.call(this,t)},function(){CSSStyleSheet.prototype.insertRule=t,CSSStyleSheet.prototype.deleteRule=n}}(e.styleSheetRuleCb),p=(i=e.focusCb,J(window,["focus","blur"],function(){i({has_focus:document.hasFocus()})}).stop),h=function(e){if(!window.visualViewport)return F;var t=L(ke(function(){e(Ji())}),ao,{trailing:!1}),n=t.throttled,r=t.cancel,i=J(window.visualViewport,["resize","scroll"],n,{capture:!0,passive:!0}).stop;return function(){i(),r()}}(e.visualViewportResizeCb);return function(){o(),a(),s(),c(),u(),l(),d(),f(),p(),h()}}var co=((Qi={}).mouseup=wi,Qi.mousedown=Ei,Qi.click=ki,Qi.contextmenu=xi,Qi.dblclick=Si,Qi.focus=Ti,Qi.blur=Oi,Qi.touchstart=Ci,Qi.touchend=ji,Qi);var uo=["INPUT","TEXTAREA","SELECT"],lo=new WeakMap;var fo=6e4;function po(e,t,n,r,i){var o=new FormData;o.append("segment",new Blob([t],{type:"application/octet-stream"}),n.session.id+"-"+n.start),function e(t,n,r){void 0===r&&(r="");G(t).forEach(function(t){var i=t[0],o=t[1];"object"==typeof o&&null!==o?e(o,n,""+r+i+"."):n(""+r+i,String(o))})}(n,function(e,t){return o.append(e,t)}),o.append("raw_segment_size",r.toString()),new ge(e,fo).send(o,t.byteLength,i)}var ho,mo=10;function vo(e){return bo(e).segments_count}function go(e){bo(e).records_count+=1}function yo(e){return null==ho?void 0:ho.get(e)}function bo(e){var t;return ho||(ho=new Map),ho.has(e)?t=ho.get(e):(t={records_count:0,segments_count:0,segments_total_raw_size:0},ho.set(e,t),ho.size>mo&&function(){if(!ho)return;if(ho.keys)ho.delete(ho.keys().next().value);else{var e=!0;ho.forEach(function(t,n){e&&(ho.delete(n),e=!1)})}}()),t}var _o,wo=0,Eo=function(){function e(e,t,n,r,i,o){var a=this;this.worker=e,this.isFlushed=!1,this.id=wo++;var s=t.view.id;this.metadata=v({start:r.timestamp,end:r.timestamp,creation_reason:n,records_count:1,has_full_snapshot:r.type===Qr.FullSnapshot,index_in_view:vo(s)},t),function(e){bo(e).segments_count+=1}(s),go(s);var c=ke(function(t){var n=t.data;"errored"!==n.type&&"initialized"!==n.type&&(n.id===a.id?(!function(e,t){bo(e).segments_total_raw_size+=t}(s,n.additionalRawSize),"flushed"===n.type?(o(n.result,n.rawSize),e.removeEventListener("message",c)):i(n.compressedSize)):n.id>a.id&&(e.removeEventListener("message",c),Se("Segment did not receive a 'flush' response before being replaced.")))});e.addEventListener("message",c),this.worker.postMessage({data:'{"records":['+JSON.stringify(r),id:this.id,action:"write"})}return e.prototype.addRecord=function(e){var t;this.metadata.end=e.timestamp,this.metadata.records_count+=1,go(this.metadata.view.id),(t=this.metadata).has_full_snapshot||(t.has_full_snapshot=e.type===Qr.FullSnapshot),this.worker.postMessage({data:","+JSON.stringify(e),id:this.id,action:"write"})},e.prototype.flush=function(e){this.worker.postMessage({data:"],"+JSON.stringify(this.metadata).slice(1)+"\n",id:this.id,action:"flush"}),this.isFlushed=!0,this.flushReason=e},e}(),ko=3e4,xo=fo;function So(e,t,n,r,i,o){return function(e,t,n,r,i){void 0===i&&(i=window);var o={status:0,nextSegmentCreationReason:"init"},a=e.subscribe(gt.VIEW_CREATED,function(){u("view_change")}).unsubscribe,s=e.subscribe(gt.BEFORE_UNLOAD,function(){u("before_unload")}).unsubscribe,c=Z(i,"visibilitychange",function(){"hidden"===document.visibilityState&&u("visibility_hidden")},{capture:!0}).stop;function u(e){1===o.status&&(o.segment.flush(e||"sdk_stopped"),clearTimeout(o.expirationTimeoutId)),o=e?{status:0,nextSegmentCreationReason:e}:{status:2}}return{addRecord:function(e){switch(o.status){case 0:!function(e,i){var a=t();if(!a)return;var s=new Eo(r,a,e,i,function(e){!s.isFlushed&&e>xo&&u("max_size")},function(e,t){n(e,s.metadata,t,s.flushReason)});o={status:1,segment:s,expirationTimeoutId:setTimeout(ke(function(){u("max_duration")}),ko)}}(o.nextSegmentCreationReason,e);break;case 1:o.segment.addRecord(e)}},stop:function(){u(),a(),s(),c()}}}(e,function(){return function(e,t,n){var r=t.findTrackedSession(),i=n.findView();if(!r||!i)return;return{application:{id:e},session:{id:r.id},view:{id:i.view.id}}}(t,n,r)},i,o)}function To(){return _o||(_o=URL.createObjectURL(new Blob(["("+Oo+")(self)"]))),new Worker(_o)}function Oo(){function e(e){return function(){try{return e.apply(this,arguments)}catch(e){try{self.postMessage({type:"errored",error:e})}catch(t){self.postMessage({type:"errored",error:""+e})}}}}e(function(){var t=function(){function e(e){for(var t=e.length;--t>=0;)e[t]=0}var t=new Uint8Array([0,0,0,0,0,0,0,0,1,1,1,1,2,2,2,2,3,3,3,3,4,4,4,4,5,5,5,5,0]),n=new Uint8Array([0,0,0,0,1,1,2,2,3,3,4,4,5,5,6,6,7,7,8,8,9,9,10,10,11,11,12,12,13,13]),r=new Uint8Array([0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,3,7]),i=new Uint8Array([16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15]),o=new Array(576);e(o);var a=new Array(60);e(a);var s=new Array(512);e(s);var c=new Array(256);e(c);var u=new Array(29);e(u);var l,d,f,p=new Array(30);function h(e,t,n,r,i){this.static_tree=e,this.extra_bits=t,this.extra_base=n,this.elems=r,this.max_length=i,this.has_stree=e&&e.length}function m(e,t){this.dyn_tree=e,this.max_code=0,this.stat_desc=t}e(p);var v=function(e){return e<256?s[e]:s[256+(e>>>7)]},g=function(e,t){e.pending_buf[e.pending++]=255&t,e.pending_buf[e.pending++]=t>>>8&255},y=function(e,t,n){e.bi_valid>16-n?(e.bi_buf|=t<<e.bi_valid&65535,g(e,e.bi_buf),e.bi_buf=t>>16-e.bi_valid,e.bi_valid+=n-16):(e.bi_buf|=t<<e.bi_valid&65535,e.bi_valid+=n)},b=function(e,t,n){y(e,n[2*t],n[2*t+1])},_=function(e,t){var n=0;do{n|=1&e,e>>>=1,n<<=1}while(--t>0);return n>>>1},w=function(e,t,n){var r,i,o=new Array(16),a=0;for(r=1;r<=15;r++)o[r]=a=a+n[r-1]<<1;for(i=0;i<=t;i++){var s=e[2*i+1];0!==s&&(e[2*i]=_(o[s]++,s))}},E=function(e){var t;for(t=0;t<286;t++)e.dyn_ltree[2*t]=0;for(t=0;t<30;t++)e.dyn_dtree[2*t]=0;for(t=0;t<19;t++)e.bl_tree[2*t]=0;e.dyn_ltree[512]=1,e.opt_len=e.static_len=0,e.last_lit=e.matches=0},k=function(e){e.bi_valid>8?g(e,e.bi_buf):e.bi_valid>0&&(e.pending_buf[e.pending++]=e.bi_buf),e.bi_buf=0,e.bi_valid=0},x=function(e,t,n,r){var i=2*t,o=2*n;return e[i]<e[o]||e[i]===e[o]&&r[t]<=r[n]},S=function(e,t,n){for(var r=e.heap[n],i=n<<1;i<=e.heap_len&&(i<e.heap_len&&x(t,e.heap[i+1],e.heap[i],e.depth)&&i++,!x(t,r,e.heap[i],e.depth));)e.heap[n]=e.heap[i],n=i,i<<=1;e.heap[n]=r},T=function(e,r,i){var o,a,s,l,d=0;if(0!==e.last_lit)do{o=e.pending_buf[e.d_buf+2*d]<<8|e.pending_buf[e.d_buf+2*d+1],a=e.pending_buf[e.l_buf+d],d++,0===o?b(e,a,r):(s=c[a],b(e,s+256+1,r),0!==(l=t[s])&&(a-=u[s],y(e,a,l)),s=v(--o),b(e,s,i),0!==(l=n[s])&&(o-=p[s],y(e,o,l)))}while(d<e.last_lit);b(e,256,r)},O=function(e,t){var n,r,i,o=t.dyn_tree,a=t.stat_desc.static_tree,s=t.stat_desc.has_stree,c=t.stat_desc.elems,u=-1;for(e.heap_len=0,e.heap_max=573,n=0;n<c;n++)0!==o[2*n]?(e.heap[++e.heap_len]=u=n,e.depth[n]=0):o[2*n+1]=0;for(;e.heap_len<2;)i=e.heap[++e.heap_len]=u<2?++u:0,o[2*i]=1,e.depth[i]=0,e.opt_len--,s&&(e.static_len-=a[2*i+1]);for(t.max_code=u,n=e.heap_len>>1;n>=1;n--)S(e,o,n);i=c;do{n=e.heap[1],e.heap[1]=e.heap[e.heap_len--],S(e,o,1),r=e.heap[1],e.heap[--e.heap_max]=n,e.heap[--e.heap_max]=r,o[2*i]=o[2*n]+o[2*r],e.depth[i]=(e.depth[n]>=e.depth[r]?e.depth[n]:e.depth[r])+1,o[2*n+1]=o[2*r+1]=i,e.heap[1]=i++,S(e,o,1)}while(e.heap_len>=2);e.heap[--e.heap_max]=e.heap[1],function(e,t){var n,r,i,o,a,s,c=t.dyn_tree,u=t.max_code,l=t.stat_desc.static_tree,d=t.stat_desc.has_stree,f=t.stat_desc.extra_bits,p=t.stat_desc.extra_base,h=t.stat_desc.max_length,m=0;for(o=0;o<=15;o++)e.bl_count[o]=0;for(c[2*e.heap[e.heap_max]+1]=0,n=e.heap_max+1;n<573;n++)r=e.heap[n],(o=c[2*c[2*r+1]+1]+1)>h&&(o=h,m++),c[2*r+1]=o,r>u||(e.bl_count[o]++,a=0,r>=p&&(a=f[r-p]),s=c[2*r],e.opt_len+=s*(o+a),d&&(e.static_len+=s*(l[2*r+1]+a)));if(0===m)return;do{for(o=h-1;0===e.bl_count[o];)o--;e.bl_count[o]--,e.bl_count[o+1]+=2,e.bl_count[h]--,m-=2}while(m>0);for(o=h;0!==o;o--)for(r=e.bl_count[o];0!==r;)(i=e.heap[--n])>u||(c[2*i+1]!==o&&(e.opt_len+=(o-c[2*i+1])*c[2*i],c[2*i+1]=o),r--)}(e,t),w(o,u,e.bl_count)},C=function(e,t,n){var r,i,o=-1,a=t[1],s=0,c=7,u=4;for(0===a&&(c=138,u=3),t[2*(n+1)+1]=65535,r=0;r<=n;r++)i=a,a=t[2*(r+1)+1],++s<c&&i===a||(s<u?e.bl_tree[2*i]+=s:0!==i?(i!==o&&e.bl_tree[2*i]++,e.bl_tree[32]++):s<=10?e.bl_tree[34]++:e.bl_tree[36]++,s=0,o=i,0===a?(c=138,u=3):i===a?(c=6,u=3):(c=7,u=4))},j=function(e,t,n){var r,i,o=-1,a=t[1],s=0,c=7,u=4;for(0===a&&(c=138,u=3),r=0;r<=n;r++)if(i=a,a=t[2*(r+1)+1],!(++s<c&&i===a)){if(s<u)do{b(e,i,e.bl_tree)}while(0!=--s);else 0!==i?(i!==o&&(b(e,i,e.bl_tree),s--),b(e,16,e.bl_tree),y(e,s-3,2)):s<=10?(b(e,17,e.bl_tree),y(e,s-3,3)):(b(e,18,e.bl_tree),y(e,s-11,7));s=0,o=i,0===a?(c=138,u=3):i===a?(c=6,u=3):(c=7,u=4)}},A=!1,N=function(e,t,n,r){y(e,0+(r?1:0),3),function(e,t,n,r){k(e),r&&(g(e,n),g(e,~n));e.pending_buf.set(e.window.subarray(t,t+n),e.pending),e.pending+=n}(e,t,n,!0)},P={_tr_init:function(e){A||(!function(){var e,i,m,v,g,y=new Array(16);for(m=0,v=0;v<28;v++)for(u[v]=m,e=0;e<1<<t[v];e++)c[m++]=v;for(c[m-1]=v,g=0,v=0;v<16;v++)for(p[v]=g,e=0;e<1<<n[v];e++)s[g++]=v;for(g>>=7;v<30;v++)for(p[v]=g<<7,e=0;e<1<<n[v]-7;e++)s[256+g++]=v;for(i=0;i<=15;i++)y[i]=0;e=0;for(;e<=143;)o[2*e+1]=8,e++,y[8]++;for(;e<=255;)o[2*e+1]=9,e++,y[9]++;for(;e<=279;)o[2*e+1]=7,e++,y[7]++;for(;e<=287;)o[2*e+1]=8,e++,y[8]++;for(w(o,287,y),e=0;e<30;e++)a[2*e+1]=5,a[2*e]=_(e,5);l=new h(o,t,257,286,15),d=new h(a,n,0,30,15),f=new h(new Array(0),r,0,19,7)}(),A=!0),e.l_desc=new m(e.dyn_ltree,l),e.d_desc=new m(e.dyn_dtree,d),e.bl_desc=new m(e.bl_tree,f),e.bi_buf=0,e.bi_valid=0,E(e)},_tr_stored_block:N,_tr_flush_block:function(e,t,n,r){var s,c,u=0;e.level>0?(2===e.strm.data_type&&(e.strm.data_type=function(e){var t,n=4093624447;for(t=0;t<=31;t++,n>>>=1)if(1&n&&0!==e.dyn_ltree[2*t])return 0;if(0!==e.dyn_ltree[18]||0!==e.dyn_ltree[20]||0!==e.dyn_ltree[26])return 1;for(t=32;t<256;t++)if(0!==e.dyn_ltree[2*t])return 1;return 0}(e)),O(e,e.l_desc),O(e,e.d_desc),u=function(e){var t;for(C(e,e.dyn_ltree,e.l_desc.max_code),C(e,e.dyn_dtree,e.d_desc.max_code),O(e,e.bl_desc),t=18;t>=3&&0===e.bl_tree[2*i[t]+1];t--);return e.opt_len+=3*(t+1)+5+5+4,t}(e),s=e.opt_len+3+7>>>3,(c=e.static_len+3+7>>>3)<=s&&(s=c)):s=c=n+5;n+4<=s&&-1!==t?N(e,t,n,r):4===e.strategy||c===s?(y(e,2+(r?1:0),3),T(e,o,a)):(y(e,4+(r?1:0),3),function(e,t,n,r){var o;for(y(e,t-257,5),y(e,n-1,5),y(e,r-4,4),o=0;o<r;o++)y(e,e.bl_tree[2*i[o]+1],3);j(e,e.dyn_ltree,t-1),j(e,e.dyn_dtree,n-1)}(e,e.l_desc.max_code+1,e.d_desc.max_code+1,u+1),T(e,e.dyn_ltree,e.dyn_dtree));E(e),r&&k(e)},_tr_tally:function(e,t,n){return e.pending_buf[e.d_buf+2*e.last_lit]=t>>>8&255,e.pending_buf[e.d_buf+2*e.last_lit+1]=255&t,e.pending_buf[e.l_buf+e.last_lit]=255&n,e.last_lit++,0===t?e.dyn_ltree[2*n]++:(e.matches++,t--,e.dyn_ltree[2*(c[n]+256+1)]++,e.dyn_dtree[2*v(t)]++),e.last_lit===e.lit_bufsize-1},_tr_align:function(e){y(e,2,3),b(e,256,o),function(e){16===e.bi_valid?(g(e,e.bi_buf),e.bi_buf=0,e.bi_valid=0):e.bi_valid>=8&&(e.pending_buf[e.pending++]=255&e.bi_buf,e.bi_buf>>=8,e.bi_valid-=8)}(e)}},M=function(e,t,n,r){for(var i=65535&e|0,o=e>>>16&65535|0,a=0;0!==n;){n-=a=n>2e3?2e3:n;do{i=i+t[r++]|0,o=o+i|0}while(--a);i%=65521,o%=65521}return i|o<<16|0},L=new Uint32Array(function(){for(var e,t=[],n=0;n<256;n++){e=n;for(var r=0;r<8;r++)e=1&e?3988292384^e>>>1:e>>>1;t[n]=e}return t}()),I=function(e,t,n,r){var i=L,o=r+n;e^=-1;for(var a=r;a<o;a++)e=e>>>8^i[255&(e^t[a])];return-1^e},R={2:"need dictionary",1:"stream end",0:"","-1":"file error","-2":"stream error","-3":"data error","-4":"insufficient memory","-5":"buffer error","-6":"incompatible version"},D={Z_NO_FLUSH:0,Z_PARTIAL_FLUSH:1,Z_SYNC_FLUSH:2,Z_FULL_FLUSH:3,Z_FINISH:4,Z_BLOCK:5,Z_TREES:6,Z_OK:0,Z_STREAM_END:1,Z_NEED_DICT:2,Z_ERRNO:-1,Z_STREAM_ERROR:-2,Z_DATA_ERROR:-3,Z_MEM_ERROR:-4,Z_BUF_ERROR:-5,Z_NO_COMPRESSION:0,Z_BEST_SPEED:1,Z_BEST_COMPRESSION:9,Z_DEFAULT_COMPRESSION:-1,Z_FILTERED:1,Z_HUFFMAN_ONLY:2,Z_RLE:3,Z_FIXED:4,Z_DEFAULT_STRATEGY:0,Z_BINARY:0,Z_TEXT:1,Z_UNKNOWN:2,Z_DEFLATED:8},B=P._tr_init,F=P._tr_stored_block,U=P._tr_flush_block,q=P._tr_tally,z=P._tr_align,H=D.Z_NO_FLUSH,V=D.Z_PARTIAL_FLUSH,W=D.Z_FULL_FLUSH,Y=D.Z_FINISH,G=D.Z_BLOCK,K=D.Z_OK,X=D.Z_STREAM_END,$=D.Z_STREAM_ERROR,Q=D.Z_DATA_ERROR,Z=D.Z_BUF_ERROR,J=D.Z_DEFAULT_COMPRESSION,ee=D.Z_FILTERED,te=D.Z_HUFFMAN_ONLY,ne=D.Z_RLE,re=D.Z_FIXED,ie=D.Z_DEFAULT_STRATEGY,oe=D.Z_UNKNOWN,ae=D.Z_DEFLATED,se=286,ce=30,ue=19,le=2*se+1,de=15,fe=function(e,t){return e.msg=R[t],t},pe=function(e){return(e<<1)-(e>4?9:0)},he=function(e){for(var t=e.length;--t>=0;)e[t]=0},me=function(e,t,n){return(t<<e.hash_shift^n)&e.hash_mask},ve=function(e){var t=e.state,n=t.pending;n>e.avail_out&&(n=e.avail_out),0!==n&&(e.output.set(t.pending_buf.subarray(t.pending_out,t.pending_out+n),e.next_out),e.next_out+=n,t.pending_out+=n,e.total_out+=n,e.avail_out-=n,t.pending-=n,0===t.pending&&(t.pending_out=0))},ge=function(e,t){U(e,e.block_start>=0?e.block_start:-1,e.strstart-e.block_start,t),e.block_start=e.strstart,ve(e.strm)},ye=function(e,t){e.pending_buf[e.pending++]=t},be=function(e,t){e.pending_buf[e.pending++]=t>>>8&255,e.pending_buf[e.pending++]=255&t},_e=function(e,t,n,r){var i=e.avail_in;return i>r&&(i=r),0===i?0:(e.avail_in-=i,t.set(e.input.subarray(e.next_in,e.next_in+i),n),1===e.state.wrap?e.adler=M(e.adler,t,i,n):2===e.state.wrap&&(e.adler=I(e.adler,t,i,n)),e.next_in+=i,e.total_in+=i,i)},we=function(e,t){var n,r,i=e.max_chain_length,o=e.strstart,a=e.prev_length,s=e.nice_match,c=e.strstart>e.w_size-262?e.strstart-(e.w_size-262):0,u=e.window,l=e.w_mask,d=e.prev,f=e.strstart+258,p=u[o+a-1],h=u[o+a];e.prev_length>=e.good_match&&(i>>=2),s>e.lookahead&&(s=e.lookahead);do{if(u[(n=t)+a]===h&&u[n+a-1]===p&&u[n]===u[o]&&u[++n]===u[o+1]){o+=2,n++;do{}while(u[++o]===u[++n]&&u[++o]===u[++n]&&u[++o]===u[++n]&&u[++o]===u[++n]&&u[++o]===u[++n]&&u[++o]===u[++n]&&u[++o]===u[++n]&&u[++o]===u[++n]&&o<f);if(r=258-(f-o),o=f-258,r>a){if(e.match_start=t,a=r,r>=s)break;p=u[o+a-1],h=u[o+a]}}}while((t=d[t&l])>c&&0!=--i);return a<=e.lookahead?a:e.lookahead},Ee=function(e){var t,n,r,i,o,a=e.w_size;do{if(i=e.window_size-e.lookahead-e.strstart,e.strstart>=a+(a-262)){e.window.set(e.window.subarray(a,a+a),0),e.match_start-=a,e.strstart-=a,e.block_start-=a,n=e.hash_size,t=n;do{r=e.head[--t],e.head[t]=r>=a?r-a:0}while(--n);t=n=a;do{r=e.prev[--t],e.prev[t]=r>=a?r-a:0}while(--n);i+=a}if(0===e.strm.avail_in)break;if(n=_e(e.strm,e.window,e.strstart+e.lookahead,i),e.lookahead+=n,e.lookahead+e.insert>=3)for(o=e.strstart-e.insert,e.ins_h=e.window[o],e.ins_h=me(e,e.ins_h,e.window[o+1]);e.insert&&(e.ins_h=me(e,e.ins_h,e.window[o+3-1]),e.prev[o&e.w_mask]=e.head[e.ins_h],e.head[e.ins_h]=o,o++,e.insert--,!(e.lookahead+e.insert<3)););}while(e.lookahead<262&&0!==e.strm.avail_in)},ke=function(e,t){for(var n,r;;){if(e.lookahead<262){if(Ee(e),e.lookahead<262&&t===H)return 1;if(0===e.lookahead)break}if(n=0,e.lookahead>=3&&(e.ins_h=me(e,e.ins_h,e.window[e.strstart+3-1]),n=e.prev[e.strstart&e.w_mask]=e.head[e.ins_h],e.head[e.ins_h]=e.strstart),0!==n&&e.strstart-n<=e.w_size-262&&(e.match_length=we(e,n)),e.match_length>=3)if(r=q(e,e.strstart-e.match_start,e.match_length-3),e.lookahead-=e.match_length,e.match_length<=e.max_lazy_match&&e.lookahead>=3){e.match_length--;do{e.strstart++,e.ins_h=me(e,e.ins_h,e.window[e.strstart+3-1]),n=e.prev[e.strstart&e.w_mask]=e.head[e.ins_h],e.head[e.ins_h]=e.strstart}while(0!=--e.match_length);e.strstart++}else e.strstart+=e.match_length,e.match_length=0,e.ins_h=e.window[e.strstart],e.ins_h=me(e,e.ins_h,e.window[e.strstart+1]);else r=q(e,0,e.window[e.strstart]),e.lookahead--,e.strstart++;if(r&&(ge(e,!1),0===e.strm.avail_out))return 1}return e.insert=e.strstart<2?e.strstart:2,t===Y?(ge(e,!0),0===e.strm.avail_out?3:4):e.last_lit&&(ge(e,!1),0===e.strm.avail_out)?1:2},xe=function(e,t){for(var n,r,i;;){if(e.lookahead<262){if(Ee(e),e.lookahead<262&&t===H)return 1;if(0===e.lookahead)break}if(n=0,e.lookahead>=3&&(e.ins_h=me(e,e.ins_h,e.window[e.strstart+3-1]),n=e.prev[e.strstart&e.w_mask]=e.head[e.ins_h],e.head[e.ins_h]=e.strstart),e.prev_length=e.match_length,e.prev_match=e.match_start,e.match_length=2,0!==n&&e.prev_length<e.max_lazy_match&&e.strstart-n<=e.w_size-262&&(e.match_length=we(e,n),e.match_length<=5&&(e.strategy===ee||3===e.match_length&&e.strstart-e.match_start>4096)&&(e.match_length=2)),e.prev_length>=3&&e.match_length<=e.prev_length){i=e.strstart+e.lookahead-3,r=q(e,e.strstart-1-e.prev_match,e.prev_length-3),e.lookahead-=e.prev_length-1,e.prev_length-=2;do{++e.strstart<=i&&(e.ins_h=me(e,e.ins_h,e.window[e.strstart+3-1]),n=e.prev[e.strstart&e.w_mask]=e.head[e.ins_h],e.head[e.ins_h]=e.strstart)}while(0!=--e.prev_length);if(e.match_available=0,e.match_length=2,e.strstart++,r&&(ge(e,!1),0===e.strm.avail_out))return 1}else if(e.match_available){if((r=q(e,0,e.window[e.strstart-1]))&&ge(e,!1),e.strstart++,e.lookahead--,0===e.strm.avail_out)return 1}else e.match_available=1,e.strstart++,e.lookahead--}return e.match_available&&(r=q(e,0,e.window[e.strstart-1]),e.match_available=0),e.insert=e.strstart<2?e.strstart:2,t===Y?(ge(e,!0),0===e.strm.avail_out?3:4):e.last_lit&&(ge(e,!1),0===e.strm.avail_out)?1:2};function Se(e,t,n,r,i){this.good_length=e,this.max_lazy=t,this.nice_length=n,this.max_chain=r,this.func=i}var Te=[new Se(0,0,0,0,function(e,t){var n=65535;for(n>e.pending_buf_size-5&&(n=e.pending_buf_size-5);;){if(e.lookahead<=1){if(Ee(e),0===e.lookahead&&t===H)return 1;if(0===e.lookahead)break}e.strstart+=e.lookahead,e.lookahead=0;var r=e.block_start+n;if((0===e.strstart||e.strstart>=r)&&(e.lookahead=e.strstart-r,e.strstart=r,ge(e,!1),0===e.strm.avail_out))return 1;if(e.strstart-e.block_start>=e.w_size-262&&(ge(e,!1),0===e.strm.avail_out))return 1}return e.insert=0,t===Y?(ge(e,!0),0===e.strm.avail_out?3:4):(e.strstart>e.block_start&&(ge(e,!1),e.strm.avail_out),1)}),new Se(4,4,8,4,ke),new Se(4,5,16,8,ke),new Se(4,6,32,32,ke),new Se(4,4,16,16,xe),new Se(8,16,32,32,xe),new Se(8,16,128,128,xe),new Se(8,32,128,256,xe),new Se(32,128,258,1024,xe),new Se(32,258,258,4096,xe)];function Oe(){this.strm=null,this.status=0,this.pending_buf=null,this.pending_buf_size=0,this.pending_out=0,this.pending=0,this.wrap=0,this.gzhead=null,this.gzindex=0,this.method=ae,this.last_flush=-1,this.w_size=0,this.w_bits=0,this.w_mask=0,this.window=null,this.window_size=0,this.prev=null,this.head=null,this.ins_h=0,this.hash_size=0,this.hash_bits=0,this.hash_mask=0,this.hash_shift=0,this.block_start=0,this.match_length=0,this.prev_match=0,this.match_available=0,this.strstart=0,this.match_start=0,this.lookahead=0,this.prev_length=0,this.max_chain_length=0,this.max_lazy_match=0,this.level=0,this.strategy=0,this.good_match=0,this.nice_match=0,this.dyn_ltree=new Uint16Array(2*le),this.dyn_dtree=new Uint16Array(2*(2*ce+1)),this.bl_tree=new Uint16Array(2*(2*ue+1)),he(this.dyn_ltree),he(this.dyn_dtree),he(this.bl_tree),this.l_desc=null,this.d_desc=null,this.bl_desc=null,this.bl_count=new Uint16Array(de+1),this.heap=new Uint16Array(2*se+1),he(this.heap),this.heap_len=0,this.heap_max=0,this.depth=new Uint16Array(2*se+1),he(this.depth),this.l_buf=0,this.lit_bufsize=0,this.last_lit=0,this.d_buf=0,this.opt_len=0,this.static_len=0,this.matches=0,this.insert=0,this.bi_buf=0,this.bi_valid=0}var Ce=function(e){if(!e||!e.state)return fe(e,$);e.total_in=e.total_out=0,e.data_type=oe;var t=e.state;return t.pending=0,t.pending_out=0,t.wrap<0&&(t.wrap=-t.wrap),t.status=t.wrap?42:113,e.adler=2===t.wrap?0:1,t.last_flush=H,B(t),K},je=function(e){var t,n=Ce(e);return n===K&&((t=e.state).window_size=2*t.w_size,he(t.head),t.max_lazy_match=Te[t.level].max_lazy,t.good_match=Te[t.level].good_length,t.nice_match=Te[t.level].nice_length,t.max_chain_length=Te[t.level].max_chain,t.strstart=0,t.block_start=0,t.lookahead=0,t.insert=0,t.match_length=t.prev_length=2,t.match_available=0,t.ins_h=0),n},Ae=function(e,t,n,r,i,o){if(!e)return $;var a=1;if(t===J&&(t=6),r<0?(a=0,r=-r):r>15&&(a=2,r-=16),i<1||i>9||n!==ae||r<8||r>15||t<0||t>9||o<0||o>re)return fe(e,$);8===r&&(r=9);var s=new Oe;return e.state=s,s.strm=e,s.wrap=a,s.gzhead=null,s.w_bits=r,s.w_size=1<<s.w_bits,s.w_mask=s.w_size-1,s.hash_bits=i+7,s.hash_size=1<<s.hash_bits,s.hash_mask=s.hash_size-1,s.hash_shift=~~((s.hash_bits+3-1)/3),s.window=new Uint8Array(2*s.w_size),s.head=new Uint16Array(s.hash_size),s.prev=new Uint16Array(s.w_size),s.lit_bufsize=1<<i+6,s.pending_buf_size=4*s.lit_bufsize,s.pending_buf=new Uint8Array(s.pending_buf_size),s.d_buf=1*s.lit_bufsize,s.l_buf=3*s.lit_bufsize,s.level=t,s.strategy=o,s.method=n,je(e)},Ne={deflateInit:function(e,t){return Ae(e,t,ae,15,8,ie)},deflateInit2:Ae,deflateReset:je,deflateResetKeep:Ce,deflateSetHeader:function(e,t){return e&&e.state?2!==e.state.wrap?$:(e.state.gzhead=t,K):$},deflate:function(e,t){var n,r;if(!e||!e.state||t>G||t<0)return e?fe(e,$):$;var i=e.state;if(!e.output||!e.input&&0!==e.avail_in||666===i.status&&t!==Y)return fe(e,0===e.avail_out?Z:$);i.strm=e;var o=i.last_flush;if(i.last_flush=t,42===i.status)if(2===i.wrap)e.adler=0,ye(i,31),ye(i,139),ye(i,8),i.gzhead?(ye(i,(i.gzhead.text?1:0)+(i.gzhead.hcrc?2:0)+(i.gzhead.extra?4:0)+(i.gzhead.name?8:0)+(i.gzhead.comment?16:0)),ye(i,255&i.gzhead.time),ye(i,i.gzhead.time>>8&255),ye(i,i.gzhead.time>>16&255),ye(i,i.gzhead.time>>24&255),ye(i,9===i.level?2:i.strategy>=te||i.level<2?4:0),ye(i,255&i.gzhead.os),i.gzhead.extra&&i.gzhead.extra.length&&(ye(i,255&i.gzhead.extra.length),ye(i,i.gzhead.extra.length>>8&255)),i.gzhead.hcrc&&(e.adler=I(e.adler,i.pending_buf,i.pending,0)),i.gzindex=0,i.status=69):(ye(i,0),ye(i,0),ye(i,0),ye(i,0),ye(i,0),ye(i,9===i.level?2:i.strategy>=te||i.level<2?4:0),ye(i,3),i.status=113);else{var a=ae+(i.w_bits-8<<4)<<8,s=-1;s=i.strategy>=te||i.level<2?0:i.level<6?1:6===i.level?2:3,a|=s<<6,0!==i.strstart&&(a|=32),a+=31-a%31,i.status=113,be(i,a),0!==i.strstart&&(be(i,e.adler>>>16),be(i,65535&e.adler)),e.adler=1}if(69===i.status)if(i.gzhead.extra){for(n=i.pending;i.gzindex<(65535&i.gzhead.extra.length)&&(i.pending!==i.pending_buf_size||(i.gzhead.hcrc&&i.pending>n&&(e.adler=I(e.adler,i.pending_buf,i.pending-n,n)),ve(e),n=i.pending,i.pending!==i.pending_buf_size));)ye(i,255&i.gzhead.extra[i.gzindex]),i.gzindex++;i.gzhead.hcrc&&i.pending>n&&(e.adler=I(e.adler,i.pending_buf,i.pending-n,n)),i.gzindex===i.gzhead.extra.length&&(i.gzindex=0,i.status=73)}else i.status=73;if(73===i.status)if(i.gzhead.name){n=i.pending;do{if(i.pending===i.pending_buf_size&&(i.gzhead.hcrc&&i.pending>n&&(e.adler=I(e.adler,i.pending_buf,i.pending-n,n)),ve(e),n=i.pending,i.pending===i.pending_buf_size)){r=1;break}r=i.gzindex<i.gzhead.name.length?255&i.gzhead.name.charCodeAt(i.gzindex++):0,ye(i,r)}while(0!==r);i.gzhead.hcrc&&i.pending>n&&(e.adler=I(e.adler,i.pending_buf,i.pending-n,n)),0===r&&(i.gzindex=0,i.status=91)}else i.status=91;if(91===i.status)if(i.gzhead.comment){n=i.pending;do{if(i.pending===i.pending_buf_size&&(i.gzhead.hcrc&&i.pending>n&&(e.adler=I(e.adler,i.pending_buf,i.pending-n,n)),ve(e),n=i.pending,i.pending===i.pending_buf_size)){r=1;break}r=i.gzindex<i.gzhead.comment.length?255&i.gzhead.comment.charCodeAt(i.gzindex++):0,ye(i,r)}while(0!==r);i.gzhead.hcrc&&i.pending>n&&(e.adler=I(e.adler,i.pending_buf,i.pending-n,n)),0===r&&(i.status=103)}else i.status=103;if(103===i.status&&(i.gzhead.hcrc?(i.pending+2>i.pending_buf_size&&ve(e),i.pending+2<=i.pending_buf_size&&(ye(i,255&e.adler),ye(i,e.adler>>8&255),e.adler=0,i.status=113)):i.status=113),0!==i.pending){if(ve(e),0===e.avail_out)return i.last_flush=-1,K}else if(0===e.avail_in&&pe(t)<=pe(o)&&t!==Y)return fe(e,Z);if(666===i.status&&0!==e.avail_in)return fe(e,Z);if(0!==e.avail_in||0!==i.lookahead||t!==H&&666!==i.status){var c=i.strategy===te?function(e,t){for(var n;;){if(0===e.lookahead&&(Ee(e),0===e.lookahead)){if(t===H)return 1;break}if(e.match_length=0,n=q(e,0,e.window[e.strstart]),e.lookahead--,e.strstart++,n&&(ge(e,!1),0===e.strm.avail_out))return 1}if(e.insert=0,t===Y)return ge(e,!0),0===e.strm.avail_out?3:4;if(e.last_lit&&(ge(e,!1),0===e.strm.avail_out))return 1;return 2}(i,t):i.strategy===ne?function(e,t){for(var n,r,i,o,a=e.window;;){if(e.lookahead<=258){if(Ee(e),e.lookahead<=258&&t===H)return 1;if(0===e.lookahead)break}if(e.match_length=0,e.lookahead>=3&&e.strstart>0&&(i=e.strstart-1,(r=a[i])===a[++i]&&r===a[++i]&&r===a[++i])){o=e.strstart+258;do{}while(r===a[++i]&&r===a[++i]&&r===a[++i]&&r===a[++i]&&r===a[++i]&&r===a[++i]&&r===a[++i]&&r===a[++i]&&i<o);e.match_length=258-(o-i),e.match_length>e.lookahead&&(e.match_length=e.lookahead)}if(e.match_length>=3?(n=q(e,1,e.match_length-3),e.lookahead-=e.match_length,e.strstart+=e.match_length,e.match_length=0):(n=q(e,0,e.window[e.strstart]),e.lookahead--,e.strstart++),n&&(ge(e,!1),0===e.strm.avail_out))return 1}if(e.insert=0,t===Y)return ge(e,!0),0===e.strm.avail_out?3:4;if(e.last_lit&&(ge(e,!1),0===e.strm.avail_out))return 1;return 2}(i,t):Te[i.level].func(i,t);if(3!==c&&4!==c||(i.status=666),1===c||3===c)return 0===e.avail_out&&(i.last_flush=-1),K;if(2===c&&(t===V?z(i):t!==G&&(F(i,0,0,!1),t===W&&(he(i.head),0===i.lookahead&&(i.strstart=0,i.block_start=0,i.insert=0))),ve(e),0===e.avail_out))return i.last_flush=-1,K}return t!==Y?K:i.wrap<=0?X:(2===i.wrap?(ye(i,255&e.adler),ye(i,e.adler>>8&255),ye(i,e.adler>>16&255),ye(i,e.adler>>24&255),ye(i,255&e.total_in),ye(i,e.total_in>>8&255),ye(i,e.total_in>>16&255),ye(i,e.total_in>>24&255)):(be(i,e.adler>>>16),be(i,65535&e.adler)),ve(e),i.wrap>0&&(i.wrap=-i.wrap),0!==i.pending?K:X)},deflateEnd:function(e){if(!e||!e.state)return $;var t=e.state.status;return 42!==t&&69!==t&&73!==t&&91!==t&&103!==t&&113!==t&&666!==t?fe(e,$):(e.state=null,113===t?fe(e,Q):K)},deflateSetDictionary:function(e,t){var n=t.length;if(!e||!e.state)return $;var r=e.state,i=r.wrap;if(2===i||1===i&&42!==r.status||r.lookahead)return $;if(1===i&&(e.adler=M(e.adler,t,n,0)),r.wrap=0,n>=r.w_size){0===i&&(he(r.head),r.strstart=0,r.block_start=0,r.insert=0);var o=new Uint8Array(r.w_size);o.set(t.subarray(n-r.w_size,n),0),t=o,n=r.w_size}var a=e.avail_in,s=e.next_in,c=e.input;for(e.avail_in=n,e.next_in=0,e.input=t,Ee(r);r.lookahead>=3;){var u=r.strstart,l=r.lookahead-2;do{r.ins_h=me(r,r.ins_h,r.window[u+3-1]),r.prev[u&r.w_mask]=r.head[r.ins_h],r.head[r.ins_h]=u,u++}while(--l);r.strstart=u,r.lookahead=2,Ee(r)}return r.strstart+=r.lookahead,r.block_start=r.strstart,r.insert=r.lookahead,r.lookahead=0,r.match_length=r.prev_length=2,r.match_available=0,e.next_in=s,e.input=c,e.avail_in=a,r.wrap=i,K},deflateInfo:"pako deflate (from Nodeca project)"};function Pe(e){return(Pe="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)}var Me=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},Le={assign:function(e){for(var t=Array.prototype.slice.call(arguments,1);t.length;){var n=t.shift();if(n){if("object"!==Pe(n))throw new TypeError(n+"must be non-object");for(var r in n)Me(n,r)&&(e[r]=n[r])}}return e},flattenChunks:function(e){for(var t=0,n=0,r=e.length;n<r;n++)t+=e[n].length;for(var i=new Uint8Array(t),o=0,a=0,s=e.length;o<s;o++){var c=e[o];i.set(c,a),a+=c.length}return i}};try{String.fromCharCode.apply(null,new Uint8Array(1))}catch(e){!1}for(var Ie=new Uint8Array(256),Re=0;Re<256;Re++)Ie[Re]=Re>=252?6:Re>=248?5:Re>=240?4:Re>=224?3:Re>=192?2:1;Ie[254]=Ie[254]=1;var De=function(){this.input=null,this.next_in=0,this.avail_in=0,this.total_in=0,this.output=null,this.next_out=0,this.avail_out=0,this.total_out=0,this.msg="",this.state=null,this.data_type=2,this.adler=0},Be=Object.prototype.toString,Fe=D.Z_NO_FLUSH,Ue=D.Z_SYNC_FLUSH,qe=D.Z_FULL_FLUSH,ze=D.Z_FINISH,He=D.Z_OK,Ve=D.Z_STREAM_END,We=D.Z_DEFAULT_COMPRESSION,Ye=D.Z_DEFAULT_STRATEGY,Ge=D.Z_DEFLATED;function Ke(e){this.options=Le.assign({level:We,method:Ge,chunkSize:16384,windowBits:15,memLevel:8,strategy:Ye},e||{});var t=this.options;t.raw&&t.windowBits>0?t.windowBits=-t.windowBits:t.gzip&&t.windowBits>0&&t.windowBits<16&&(t.windowBits+=16),this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new De,this.strm.avail_out=0;var n=Ne.deflateInit2(this.strm,t.level,t.method,t.windowBits,t.memLevel,t.strategy);if(n!==He)throw new Error(R[n]);if(t.header&&Ne.deflateSetHeader(this.strm,t.header),t.dictionary){var r;if(r="[object ArrayBuffer]"===Be.call(t.dictionary)?new Uint8Array(t.dictionary):t.dictionary,(n=Ne.deflateSetDictionary(this.strm,r))!==He)throw new Error(R[n]);this._dict_set=!0}}return Ke.prototype.push=function(e,t){var n,r,i=this.strm,o=this.options.chunkSize;if(this.ended)return!1;for(r=t===~~t?t:!0===t?ze:Fe,"[object ArrayBuffer]"===Be.call(e)?i.input=new Uint8Array(e):i.input=e,i.next_in=0,i.avail_in=i.input.length;;)if(0===i.avail_out&&(i.output=new Uint8Array(o),i.next_out=0,i.avail_out=o),(r===Ue||r===qe)&&i.avail_out<=6)this.onData(i.output.subarray(0,i.next_out)),i.avail_out=0;else{if((n=Ne.deflate(i,r))===Ve)return i.next_out>0&&this.onData(i.output.subarray(0,i.next_out)),n=Ne.deflateEnd(this.strm),this.onEnd(n),this.ended=!0,n===He;if(0!==i.avail_out){if(r>0&&i.next_out>0)this.onData(i.output.subarray(0,i.next_out)),i.avail_out=0;else if(0===i.avail_in)break}else this.onData(i.output)}return!0},Ke.prototype.onData=function(e){this.chunks.push(e)},Ke.prototype.onEnd=function(e){e===He&&(this.result=Le.flattenChunks(this.chunks)),this.chunks=[],this.err=e,this.msg=this.strm.msg},{Deflate:Ke,constants:D,string2buf:function(e){if("function"==typeof TextEncoder&&TextEncoder.prototype.encode)return(new TextEncoder).encode(e);var t,n,r,i,o,a=e.length,s=0;for(i=0;i<a;i++)55296==(64512&(n=e.charCodeAt(i)))&&i+1<a&&56320==(64512&(r=e.charCodeAt(i+1)))&&(n=65536+(n-55296<<10)+(r-56320),i++),s+=n<128?1:n<2048?2:n<65536?3:4;for(t=new Uint8Array(s),o=0,i=0;o<s;i++)55296==(64512&(n=e.charCodeAt(i)))&&i+1<a&&56320==(64512&(r=e.charCodeAt(i+1)))&&(n=65536+(n-55296<<10)+(r-56320),i++),n<128?t[o++]=n:n<2048?(t[o++]=192|n>>>6,t[o++]=128|63&n):n<65536?(t[o++]=224|n>>>12,t[o++]=128|n>>>6&63,t[o++]=128|63&n):(t[o++]=240|n>>>18,t[o++]=128|n>>>12&63,t[o++]=128|n>>>6&63,t[o++]=128|63&n);return t}}}(),n=t.Deflate,r=t.constants,i=t.string2buf,o=new n,a=0;function s(e){var t=i(e);return o.push(t,r.Z_SYNC_FLUSH),a+=t.length,t.length}self.addEventListener("message",e(function(e){var t=e.data;switch(t.action){case"init":self.postMessage({type:"initialized"});break;case"write":var i=s(t.data);self.postMessage({type:"wrote",id:t.id,compressedSize:o.chunks.reduce(function(e,t){return e+t.length},0),additionalRawSize:i});break;case"flush":i=t.data?s(t.data):0;o.push("",r.Z_FINISH),self.postMessage({type:"flushed",id:t.id,result:o.result,additionalRawSize:i,rawSize:a}),o=new n,a=0}}))})()}var Co={status:0};function jo(e,t){switch(void 0===t&&(t=To),Co.status){case 0:Co={status:1,callbacks:[e]},function(e){void 0===e&&(e=To);try{var t=e();t.addEventListener("error",ke(Ao)),t.addEventListener("message",ke(function(e){var n,r=e.data;"errored"===r.type?Ao(r.error):"initialized"===r.type&&(n=t,1===Co.status&&(Co.callbacks.forEach(function(e){return e(n)}),Co={status:3,worker:n}))})),t.postMessage({action:"init"})}catch(e){Ao(e)}}(t);break;case 1:Co.callbacks.push(e);break;case 2:e();break;case 3:e(Co.worker)}}function Ao(e){1===Co.status?(y.error("Session Replay recording failed to start: an error occurred while creating the Worker:",e),e instanceof Event||e instanceof Error&&z(e.message,"Content Security Policy")?y.error("Please make sure CSP is correctly configured https://docs.datadoghq.com/real_user_monitoring/faq/content_security_policy"):Te(e),Co.callbacks.forEach(function(e){return e()}),Co={status:2}):Te(e)}var No,Po,Mo,Lo,Io=function(e,t,n){var r,i,o,a,s=(void 0===n?{}:n).ignoreInitIfSyntheticsWillInjectRum,c=void 0===s||s,u=!1,l=(r={},{get:function(){return r},add:function(e,t){r[e]=t},remove:function(e){delete r[e]},set:function(e){r=e}}),d={},f=function(){},p=function(){},h=new Pe,m=function(e,t){void 0===t&&(t=Re()),h.add(function(){return m(e,t)})},g=function(e,t){void 0===t&&(t=Be()),h.add(function(){return g(e,t)})},b=function(e,t){void 0===t&&(t=w()),h.add(function(){return b(e,t)})},_=function(e,t){void 0===t&&(t=w()),h.add(function(){return _(e,t)})};function w(){return re({context:l.get(),user:d})}function E(n,r,i){var o=e(n,r,function(){return{user:d,context:l.get(),hasReplay:!!t.isRecording()||void 0}},t,i);g=o.startView,b=o.addAction,_=o.addError,m=o.addTiming,f=o.getInternalContext,h.drain(),t.onRumStart(o.lifeCycle,n,o.session,o.parentContexts)}return i=vt,o={init:ke(function(e){if(!c||!mt()){if(fe())e=function(e){return v(v({},e),{applicationId:"00000000-aaaa-0000-aaaa-000000000000",clientToken:"empty",sampleRate:100})}(e);else if(!function(e){return function(e){if(void 0===document.cookie||null===document.cookie)return!1;try{var t="dd_cookie_test_"+R();Ye(t,"test",j,e);var n="test"===Ge(t);return Ke(t,e),n}catch(e){return y.error(e),!1}}(dt(e))?"file:"!==window.location.protocol||(y.error("Execution is not allowed in the current context."),!1):(y.warn("Cookies are not authorized, we will not send any data."),!1)}(e))return;if(function(e){return!u||(e.silentMultipleInit||y.error("DD_RUM is already initialized."),!1)}(e)){var t=function(e){var t,n;if(e.applicationId)if(void 0===e.replaySampleRate||V(e.replaySampleRate)){if(void 0!==e.allowedTracingOrigins){if(!Array.isArray(e.allowedTracingOrigins))return void y.error("Allowed Tracing Origins should be an array");if(0!==e.allowedTracingOrigins.length&&void 0===e.service)return void y.error("Service need to be configured when tracing is enabled")}var r,i,o=lt(e,vt);if(o)return v(v({},o),{applicationId:e.applicationId,actionNameAttribute:e.actionNameAttribute,replaySampleRate:null!==(t=e.replaySampleRate)&&void 0!==t?t:100,allowedTracingOrigins:null!==(n=e.allowedTracingOrigins)&&void 0!==n?n:[],trackInteractions:!!e.trackInteractions,trackViewsManually:!!e.trackViewsManually,defaultPrivacyLevel:(r=ut,i=e.defaultPrivacyLevel,Object.keys(r).some(function(e){return r[e]===i})?e.defaultPrivacyLevel:ut.MASK_USER_INPUT)})}else y.error("Replay Sample Rate should be a number between 0 and 100");else y.error("Application ID is not configured, no RUM data will be collected.")}(e);if(t){var n=Ee(t);if(t.trackViewsManually){var r=h;h=new Pe,g=function(e){E(t,n,e)},r.drain()}else E(t,n);p=function(){return re(e)},u=!0}}}}),addRumGlobalContext:ke(l.add),removeRumGlobalContext:ke(l.remove),getRumGlobalContext:ke(l.get),setRumGlobalContext:ke(l.set),getInternalContext:ke(function(e){return f(e)}),getInitConfiguration:ke(function(){return p()}),addAction:ke(function(e,t){b({name:e,context:re(t),startClocks:Be(),type:ct.CUSTOM})}),addError:function(e,t){var n=le();xe(function(){_({error:e,handlingStack:n,context:re(t),startClocks:Be()})})},addTiming:ke(function(e,t){m(e,t)}),setUser:ke(function(e){var t=function(e){if("object"==typeof e&&e){var t=re(e);return"id"in t&&(t.id=String(t.id)),"name"in t&&(t.name=String(t.name)),"email"in t&&(t.email=String(t.email)),t}}(e);t?d=t:y.error("Unsupported user:",e)}),removeUser:ke(function(){d={}}),startView:ke(function(e){g(e)}),startSessionReplayRecording:ke(t.start),stopSessionReplayRecording:ke(t.stop)},a=v(v({},o),{version:i.sdkVersion,onReady:function(e){e()}}),Object.defineProperty(a,"_setDebug",{get:function(){return Ce},enumerable:!1}),a}(function(e,t,n,r,i){var o,a,s=new _t,c=fe()?function(){var e={id:"00000000-aaaa-0000-aaaa-000000000000",hasReplayPlan:!0,hasLitePlan:!1};return{findTrackedSession:function(){return e}}}():Sn(e,s),u=(o=bt(),a=new yt(function(){if(o){var e=new o(ke(function(){return a.notify()}));return e.observe(document,{attributes:!0,characterData:!0,childList:!0,subtree:!0}),function(){return e.disconnect()}}})),l=$r(location);t.setExternalContextProvider(function(){var t;return ie({application_id:e.applicationId,session:{id:null===(t=c.findTrackedSession())||void 0===t?void 0:t.id}},f.findView(),{view:{name:null}})});var d=function(e,t,n,r,i,o){var a,s=function(e){var t=new Yt(Fn),n=new Yt(Un);function r(e){return{view:{id:e.id,name:e.name}}}return e.subscribe(gt.VIEW_CREATED,function(e){t.setCurrent(r(e),e.startClocks.relative)}),e.subscribe(gt.VIEW_UPDATED,function(e){var n=t.getCurrent();n&&n.view.id===e.id&&t.setCurrent(r(e),e.startClocks.relative)}),e.subscribe(gt.VIEW_ENDED,function(e){var n=e.endClocks;t.closeCurrent(n.relative)}),e.subscribe(gt.AUTO_ACTION_CREATED,function(e){n.setCurrent(function(e){return{action:{id:e.id}}}(e),e.startClocks.relative)}),e.subscribe(gt.AUTO_ACTION_COMPLETED,function(e){if(n.getCurrent()){var t=e.startClocks.relative+e.duration;n.closeCurrent(t)}}),e.subscribe(gt.AUTO_ACTION_DISCARDED,function(){n.clearCurrent()}),e.subscribe(gt.SESSION_RENEWED,function(){t.reset(),n.reset()}),{findAction:function(e){return n.find(e)},findView:function(e){return t.find(e)},stop:function(){t.stop(),n.stop()}}}(e),c=function(e,t,n){var r,i=new Yt(Xr);e.subscribe(gt.VIEW_ENDED,function(e){var t=e.endClocks;i.closeCurrent(t.relative)}),e.subscribe(gt.VIEW_CREATED,function(e){var t=e.startClocks,o=n.href;i.setCurrent(a({url:o,referrer:r||document.referrer}),t.relative),r=o});var o=t.subscribe(function(e){var t=e.newLocation,n=i.getCurrent();if(n){var r=De();i.closeCurrent(r),i.setCurrent(a({url:t.href,referrer:n.view.referrer}),r)}});function a(e){return{view:{url:e.url,referrer:e.referrer}}}return{findUrl:function(e){return i.find(e)},stop:function(){o.unsubscribe(),i.stop()}}}(e,i,n),u=Mn();return fe()?function(e){var t=de();e.subscribe(gt.RUM_EVENT_COLLECTED,function(e){t.send("rum",e)})}(e):a=Kr(t,e).stop,jn(t,e,r,s,c,o),{parentContexts:s,foregroundContexts:u,urlContexts:c,stop:function(){null==a||a(),s.stop(),u.stop()}}}(s,e,location,c,l,n),f=d.parentContexts,p=d.foregroundContexts,h=d.urlContexts;!function(e,t){e.subscribe(gt.PERFORMANCE_ENTRIES_COLLECTED,function(n){for(var r=0,i=n;r<i.length;r++){var o=i[r];if("longtask"!==o.entryType)break;var a=t.findTrackedSession(o.startTime);if(!a||a.hasLitePlan)break;var s=Me(o.startTime),c={date:s.timeStamp,long_task:{id:R(),duration:Ie(o.duration)},type:at.LONG_TASK};e.notify(gt.RAW_RUM_EVENT_COLLECTED,{rawRumEvent:c,startTime:s.relative,domainContext:{performanceEntry:o.toJSON()}})}})}(s,c),Lr(s);var m=Gr(s,e,location,u,l,p,r,i),g=m.addTiming,y=m.startView,b=Nr(s,p).addError,_=function(e,t,n,r){return e.subscribe(gt.AUTO_ACTION_COMPLETED,function(t){return e.notify(gt.RAW_RUM_EVENT_COLLECTED,Er(t,r))}),n.trackInteractions&&_r(e,t,n),{addAction:function(t,n){e.notify(gt.RAW_RUM_EVENT_COLLECTED,v({savedCommonContext:n},Er(t,r)))}}}(s,u,e,p).addAction;nr(s,e,c),Bt(s,e);var w=function(e,t,n,r){return{get:function(i){var o=n.findView(i),a=r.findUrl(i),s=t.findTrackedSession(i);if(s&&o&&a){var c=n.findAction(i);return{application_id:e,session_id:s.id,user_action:c?{id:c.action.id}:void 0,view:v(v({},o.view),a.view)}}}}}(e.applicationId,c,f,h);return{addAction:_,addError:b,addTiming:g,startView:y,lifeCycle:s,parentContexts:f,session:c,getInternalContext:w.get}},function(e,t){if(void 0===t&&(t=jo),fe())return{start:F,stop:F,getReplayStats:function(){},onRumStart:F,isRecording:function(){return!1}};var n={status:0},r=function(){n={status:1}},i=function(){n={status:0}};return{start:function(){return r()},stop:function(){return i()},getReplayStats:yo,onRumStart:function(o,a,s,c){o.subscribe(gt.SESSION_EXPIRED,function(){2!==n.status&&3!==n.status||(i(),n={status:1})}),o.subscribe(gt.SESSION_RENEWED,function(){1===n.status&&r()}),r=function(){var r=s.findTrackedSession();r&&r.hasReplayPlan?2!==n.status&&3!==n.status&&(n={status:2},ee("interactive",function(){2===n.status&&t(function(t){if(2===n.status)if(t){var r=e(o,a,s,c,t).stop;n={status:3,stopRecording:r}}else n={status:0}})})):n={status:1}},i=function(){0!==n.status&&(3===n.status&&n.stopRecording(),n={status:0})},1===n.status&&r()},isRecording:function(){return 3===n.status}}}(function(e,t,n,r,i){var o=So(e,t.applicationId,n,r,function(e,n,r,i){return po(t.sessionReplayEndpointBuilder,e,n,r,i)},i),a=o.addRecord,s=o.stop;function c(e){a(v(v({},e),{timestamp:Date.now()}))}var u=function(e){var t=e.emit;if(!t)throw new Error("emit function is required");var n=new Xi,r=function(){n.flush(),t({data:{height:to(),href:window.location.href,width:eo()},type:Qr.Meta}),t({data:{has_focus:document.hasFocus()},type:Qr.Focus}),t({data:{node:Di(document,e.defaultPrivacyLevel),initialOffset:{left:no(),top:ro()}},type:Qr.FullSnapshot}),window.visualViewport&&t({data:Ji(),type:Qr.VisualViewport})};return r(),{stop:so({mutationController:n,defaultPrivacyLevel:e.defaultPrivacyLevel,inputCb:function(e){return t({data:v({source:gi.Input},e),type:Qr.IncrementalSnapshot})},mediaInteractionCb:function(e){return t({data:v({source:gi.MediaInteraction},e),type:Qr.IncrementalSnapshot})},mouseInteractionCb:function(e){return t({data:v({source:gi.MouseInteraction},e),type:Qr.IncrementalSnapshot})},mousemoveCb:function(e,n){return t({data:{positions:e,source:n},type:Qr.IncrementalSnapshot})},mutationCb:function(e){return t({data:v({source:gi.Mutation},e),type:Qr.IncrementalSnapshot})},scrollCb:function(e){return t({data:v({source:gi.Scroll},e),type:Qr.IncrementalSnapshot})},styleSheetRuleCb:function(e){return t({data:v({source:gi.StyleSheetRule},e),type:Qr.IncrementalSnapshot})},viewportResizeCb:function(e){return t({data:v({source:gi.ViewportResize},e),type:Qr.IncrementalSnapshot})},focusCb:function(e){return t({type:Qr.Focus,data:e})},visualViewportResizeCb:function(e){t({data:e,type:Qr.VisualViewport})}}),takeFullSnapshot:r,flushMutations:function(){return n.flush()}}}({emit:c,defaultPrivacyLevel:t.defaultPrivacyLevel}),l=u.stop,d=u.takeFullSnapshot,f=u.flushMutations,p=e.subscribe(gt.VIEW_ENDED,function(){f(),c({type:Qr.ViewEnd})}).unsubscribe,h=e.subscribe(gt.VIEW_CREATED,d).unsubscribe;return{stop:function(){p(),h(),l(),s()}}}));No=X(),Mo=Io,Lo=No[Po="DD_RUM"],No[Po]=Mo,Lo&&Lo.q&&Lo.q.forEach(function(e){return Ae(e,"onReady callback threw an error:")()});var Ro=n(22),Do=Ro.e?[/https:\/\/.*(\.dev)?\.rise\.(com|zone).*/,location.origin]:[/https:\/\/(rise(\.dev)?|360)\.articulate\.(com|zone).*/];Io.init({applicationId:"0bee3e39-361c-4a5d-8329-f815a0449459",clientToken:"pubf65cd823927d3be4c9fa1d9575b98520",site:"datadoghq.com",service:Object(Ro.c)("SERVICE_PRODUCT"),version:Object(Ro.c)("RISE_FRONTEND_MANIFEST_SHA"),env:Object(Ro.c)("SERVICE_ENV"),sampleRate:100,trackInteractions:!0,allowedTracingOrigins:Do});var Bo,Fo=Io,Uo=Object(h.a)("curtain"),qo=function(e){var t=e.loadingText,n=e.showHeader,i=e.status,a=Object(l.useState)(!1),c=Object(r.a)(a,2),d=c[0],f=c[1],h=function(){return f(!0)},m=u()("status","error"),v=u()("status","fatalError"),g=o()(m,u()("reconnectFailed",!0));return Object(l.useEffect)(function(){return Bo=setTimeout(h,1e4),function(){clearTimeout(Bo)}},[]),Object(l.useEffect)(function(){if("error"===i){var e=new Error("There was a socket connection error. The renderReconnect curtain was displayed");Fo.addError(e)}},[i]),s()([[v,Vo],[g,Yo],[m,Wo],[p.a,Ho(t)]])({showHeader:n,status:i,reconnectFailed:d})},zo=function(){return window.location.reload(!0)},Ho=function(e){return function(t){var n=t.showHeader;return d.a.createElement("div",{className:Uo("container",{"show-header":n})},d.a.createElement("div",{className:Uo()},d.a.createElement("div",{className:Uo("spinner")}),d.a.createElement("div",{className:Uo("text")},e||"Your content is loading.")))}},Vo=function(e){var t=e.showHeader;return d.a.createElement("div",{className:Uo("container",{"show-header":t})},d.a.createElement("div",{className:Uo()},d.a.createElement("div",{className:Uo("title")},"Something went wrong."),d.a.createElement("div",{className:Uo("description")},"Click to refresh and try again."),d.a.createElement(m.a,{headerDone:!0,onClick:zo},"Refresh")))},Wo=function(e){var t=e.showHeader;return d.a.createElement("div",{className:Uo("container",{"show-header":t})},d.a.createElement("div",{className:Uo()},d.a.createElement("div",{className:Uo("spinner",{reconnect:!0})}),d.a.createElement("div",{className:Uo("title")},"Your computer is offline."),d.a.createElement("div",{className:Uo("description")},"Attempting to reconnect…")))},Yo=function(e){var t=e.showHeader;return d.a.createElement("div",{className:Uo("container",{"show-header":t})},d.a.createElement("div",{className:Uo()},d.a.createElement("div",{className:Uo("title")},"Your session has timed out."),d.a.createElement("div",{className:Uo("description")},"Click refresh to restart your session."),d.a.createElement(m.a,{headerDone:!0,onClick:zo},"Refresh")))};t.a=Object(l.memo)(qo)},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 $}),n.d(r,"CoverGraphic",function(){return x}),n.d(r,"CoverLayout",function(){return te}),n.d(r,"LessonHeader",function(){return ne.a}),n.d(r,"LessonProgressCircle",function(){return se}),n.d(r,"NavSidebarHeaderProgress",function(){return ue}),n.d(r,"ProgressLine",function(){return ce});var i={};n.r(i),n.d(i,"ArrowDown",function(){return le}),n.d(i,"ArrowUp",function(){return de}),n.d(i,"AlignLeft",function(){return fe.a}),n.d(i,"ChevronDown",function(){return pe.a}),n.d(i,"ChevronelDown",function(){return he.a}),n.d(i,"ToggleDown",function(){return pe.a}),n.d(i,"ChevronUp",function(){return me.a}),n.d(i,"QuestionBox",function(){return ve.a}),n.d(i,"Search",function(){return ge.a}),n.d(i,"Touch",function(){return ye.a}),n.d(i,"VideoCamera",function(){return be.a}),n.d(i,"X",function(){return _e.a});n(2692);var o=n(47),a=n.n(o),s=n(32),c=n.n(s),u=n(40),l=n.n(u),d=n(31),f=n.n(d),p=n(34),h=n.n(p),m=n(8),v=n(268),g=n(269),y=n(347),b=n(779),_=n(199),w=n(90),E=n(0),k=n.n(E),x=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(_.b)())&&void 0!==t?t:{}).coverImage,c=s.alpha,u=s.media,l=a?{backgroundColor:n}:Object(w.a)({alpha:c,media:u,hasOverlay:i});return k.a.createElement("div",{className:"cover__header-graphic-container"},k.a.createElement("div",{className:"cover__header-graphic",style:l}))},S=n(270),T=n(271),O=n(16),C=n.n(O),j=n(48),A=n.n(j),N=function(e){return k.a.createElement(R,e,k.a.createElement("clipPath",{id:"cover-page-clip-path",clipPathUnits:"objectBoundingBox"},k.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"})))},P=function(e){return k.a.createElement(R,e,k.a.createElement("clipPath",{id:"cover-page-clip-path",clipPathUnits:"objectBoundingBox"},k.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"})))},M=function(e){return k.a.createElement(R,e,k.a.createElement("clipPath",{id:"cover-page-clip-path",clipPathUnits:"objectBoundingBox"},k.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"})))},L=function(e){return k.a.createElement(R,e,k.a.createElement("clipPath",{id:"cover-page-clip-path",clipPathUnits:"objectBoundingBox"},k.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"})))},I={LEFT_OVERLAY:N,LEFT:N,CENTERED:P,CENTERED_OVERLAY:P,SPLIT_LEFT:M,SPLIT_LEFT_IMAGE:M,SPLIT_RIGHT:L,SPLIT_RIGHT_IMAGE:L},R=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 k.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 A()(C()(null),n,I)({className:t})},B=n(232).a.bind(null,768),F={SPLIT_LEFT:"LEFT",SPLIT_LEFT_IMAGE:"LEFT_OVERLAY",SPLIT_RIGHT:"LEFT",SPLIT_RIGHT_IMAGE:"LEFT_OVERLAY"};function U(){var e,t=Object(_.b)().coverPageType;return B()&&null!==(e=F[t])&&void 0!==e?e:t}function q(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 z(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?q(Object(n),!0).forEach(function(t){Object(m.a)(e,t,n[t])}):h.a?Object.defineProperties(e,h()(n)):q(Object(n)).forEach(function(t){Object.defineProperty(e,t,f()(n,t))})}return e}var H=function(e){var t=e.coverPageType;return k.a.createElement(k.a.Fragment,null,k.a.createElement(b.a,null,k.a.createElement(D,{coverPageType:t}),k.a.createElement(S.a,null,k.a.createElement(g.a,null),k.a.createElement(T.a,null),k.a.createElement(v.a,null))))},V=function(e){var t=e.coverPageType;return k.a.createElement(k.a.Fragment,null,k.a.createElement(y.a,null,k.a.createElement(D,{coverPageType:t}),k.a.createElement(S.a,null,k.a.createElement(g.a,null),k.a.createElement(T.a,null),k.a.createElement(v.a,null))))},W=function(e){var t=e.coverPageType;return k.a.createElement(k.a.Fragment,null,k.a.createElement(D,{coverPageType:t}),k.a.createElement(x,null),k.a.createElement(y.a,null,k.a.createElement(S.a,null,k.a.createElement(g.a,null),k.a.createElement(T.a,null),k.a.createElement(v.a,null))))},Y=function(e){var t=e.accentColor,n=e.coverPageType;return k.a.createElement(k.a.Fragment,null,k.a.createElement(y.a,null,k.a.createElement(S.a,null,k.a.createElement(g.a,null),k.a.createElement(T.a,null),k.a.createElement(v.a,null))),k.a.createElement(D,{coverPageType:n}),k.a.createElement(x,{accentColor:t,isShape:!0}))},G=function(e){var t=e.coverPageType;return k.a.createElement(k.a.Fragment,null,k.a.createElement(y.a,null,k.a.createElement(S.a,null,k.a.createElement(g.a,null),k.a.createElement(T.a,null),k.a.createElement(v.a,null))),k.a.createElement(D,{coverPageType:t}),k.a.createElement(x,null))},K=function(e){var t=e.accentColor,n=e.coverPageType;return k.a.createElement(k.a.Fragment,null,k.a.createElement(D,{coverPageType:n}),k.a.createElement(x,{accentColor:t,isShape:!0}),k.a.createElement(y.a,null,k.a.createElement(S.a,null,k.a.createElement(g.a,null),k.a.createElement(T.a,null),k.a.createElement(v.a,null))))};function X(e){var t=U(),n=z(z({},e),{},{coverPageType:t});switch(t){default:case"LEFT_OVERLAY":case"CENTERED_OVERLAY":return k.a.createElement(H,n);case"LEFT":case"CENTERED":return k.a.createElement(V,n);case"SPLIT_LEFT":return k.a.createElement(Y,n);case"SPLIT_LEFT_IMAGE":return k.a.createElement(G,n);case"SPLIT_RIGHT":return k.a.createElement(K,n);case"SPLIT_RIGHT_IMAGE":return k.a.createElement(W,n)}}var $=function(e){return k.a.createElement("header",{className:"cover__header"},k.a.createElement(X,e))},Q=n(781),Z=n.n(Q),J=n(77),ee=Object(J.a)("cover"),te=function(e){var t=e.children,n=U(),r=Object(E.useMemo)(function(){return Z()(n)},[n]),i=ee(null,{layout:r});return k.a.createElement("div",{id:"cover",className:i},t)},ne=n(2328),re=n(35),ie=n(2256),oe=n(1277),ae=Object(J.a)("progress-circle"),se=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(re.a)(s,2),u=c[0],l=c[1],d=Object(ie.a)(a),f=ae({dark:r,light:!r}),p=ae("track",{dark:r,light:!r}),h=ae("runner",{dark:r,done:u,failed:i,light:!r,passed:o,unstarted:0===a}),m=ae("pass",{dark:r,done:u,light:!r,visible:o}),v=ae("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 k.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"},k.a.createElement("circle",{className:p,cx:"7.5",cy:"7.5",fill:"transparent",r:"6.5",strokeWidth:"2",transform:"rotate(-89.9 7.5 7.5)"}),k.a.createElement(oe.a,{className:h,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}),k.a.createElement("path",{className:m,d:"M5.36816 7.25119L7.03483 8.91815L9.9515 6.00098",strokeWidth:"1.50026"}),k.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"}))},ce=function(e){var t=e["aria-describedby"],n=e["aria-hidden"],r=e["aria-label"],i=e.color,o=e.progress,a=void 0===o?0:o,s=e.runnerClass,c=e.trackClass;return k.a.createElement("div",{"aria-describedby":t,"aria-hidden":n,"aria-label":r,"aria-valuemax":100,"aria-valuemin":0,"aria-valuenow":a,className:c,role:"progressbar",style:{color:i}},k.a.createElement("div",{className:s,style:{width:"".concat(a,"%")}}))},ue=function(e){var t=e.className,n=e.classProgressRunner,r=e.classProgressText,i=e.classProgressTrack,o=e.color,a=e.percentComplete,s=e.percentCompleteText;return k.a.createElement("div",{className:t},k.a.createElement("div",{className:r},s),k.a.createElement(ce,{"aria-hidden":"true",color:o,progress:a,runnerClass:n,trackClass:i}))},le=function(e){var t=e.className;return k.a.createElement("svg",{"aria-hidden":"true",className:t,fill:"currentColor",focusable:"false",role:"img",viewBox:"0 0 17 17",height:"17",width:"17",xmlns:"http://www.w3.org/2000/svg"},k.a.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M8.029 16.2343L8.7361 16.9414L9.44321 16.2343L16.707 8.97048L15.2928 7.55627L9.73903 13.11L9.73903 1.99985L7.73903 1.99985L7.73904 13.1159L2.17939 7.55627L0.765176 8.97048L8.029 16.2343Z"}))},de=function(e){var t=e.className;return k.a.createElement("svg",{"aria-hidden":"true",className:t,fill:"currentColor",focusable:"false",version:"1.1",viewBox:"0 0 17 17",xmlns:"http://www.w3.org/2000/svg"},k.a.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M8.971 0.7657L8.2639 0.0585938L7.55679 0.765701L0.292969 8.02952L1.70718 9.44374L7.26096 3.88995L7.26097 15.0002H9.26097L9.26096 3.88409L14.8206 9.44373L16.2348 8.02952L8.971 0.7657Z"}))},fe=n(2329),pe=n(1265),he=n(2330),me=n(2331),ve=n(2332),ge=n(2333),ye=n(2334),be=n(2335),_e=n(2336)},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,"CoverDetails",function(){return d}),n.d(r,"CoverHeader",function(){return j}),n.d(r,"CoverLayout",function(){return A.a}),n.d(r,"LessonHeader",function(){return N.a}),n.d(r,"NavSidebarHeader",function(){return P.a}),n.d(r,"Progress",function(){return M});var i={};n.r(i),n.d(i,"ArrowDown",function(){return L.a}),n.d(i,"ArrowUp",function(){return L.a}),n.d(i,"ChevronDown",function(){return I.a}),n.d(i,"ChevronelDown",function(){return R.a}),n.d(i,"ChevronUp",function(){return I.a}),n.d(i,"Search",function(){return D.a}),n.d(i,"ToggleDown",function(){return B.a}),n.d(i,"X",function(){return F.a});n(2691);var o=n(17),a=n(70),s=n(0),c=n.n(s),u=n(782),l=["Default"],d=function(e){var t=e.Default,n=Object(a.a)(e,l),r=Object(u.a)();return c.a.createElement(t,Object(o.a)({},n,{showNewLineLogo:r}))},f=n(268),p=n(269),h=n(347),m=n(779),v=n(761),g=n(270),y=n(271),b=n(77),_=Object(b.a)("cover"),w=function(){return c.a.createElement("svg",{"aria-hidden":"true",className:_("header-star"),width:"18",height:"18",viewBox:"0 0 18 18",fill:"none",xmlns:"http://www.w3.org/2000/svg"},c.a.createElement("path",{d:"M9 0V18",strokeWidth:"0.75",strokeMiterlimit:"10"}),c.a.createElement("path",{d:"M18 9H0",strokeWidth:"0.75",strokeMiterlimit:"10"}),c.a.createElement("path",{d:"M15.3 15.3002L2.69995 2.7002",strokeWidth:"0.75",strokeMiterlimit:"10"}),c.a.createElement("path",{d:"M2.69995 15.3002L15.3 2.7002",strokeWidth:"0.75",strokeMiterlimit:"10"}))},E=n(1278),k=function(){return c.a.createElement(c.a.Fragment,null,c.a.createElement(m.a,null,c.a.createElement(g.a,null,c.a.createElement(w,null),c.a.createElement(p.a,null),c.a.createElement(y.a,null),c.a.createElement(f.a,null))))},x=function(){return c.a.createElement(c.a.Fragment,null,c.a.createElement(h.a,null,c.a.createElement(g.a,null,c.a.createElement(w,null),c.a.createElement(p.a,null),c.a.createElement(y.a,null),c.a.createElement(f.a,null))))},S=function(){return c.a.createElement(c.a.Fragment,null,c.a.createElement(v.a,null),c.a.createElement(h.a,null,c.a.createElement(g.a,null,c.a.createElement(w,null),c.a.createElement(p.a,null),c.a.createElement(y.a,null),c.a.createElement(f.a,null))))},T=function(){return c.a.createElement(c.a.Fragment,null,c.a.createElement(h.a,null,c.a.createElement(g.a,null,c.a.createElement(w,null),c.a.createElement(p.a,null),c.a.createElement(y.a,null),c.a.createElement(f.a,null))),c.a.createElement(v.a,null))},O=function(){return c.a.createElement(c.a.Fragment,null,c.a.createElement(h.a,null,c.a.createElement(g.a,null,c.a.createElement(w,null),c.a.createElement(p.a,null),c.a.createElement(y.a,null),c.a.createElement(f.a,null))),c.a.createElement("div",{className:"cover__header-graphic-wrap"},c.a.createElement(v.a,null)))};function C(){switch(Object(E.a)()){default:case"CENTERED_IMAGE":return c.a.createElement(O,null);case"CENTERED":case"CENTERED_ACCENT_TINT":return c.a.createElement(x,null);case"SPLIT_LEFT_IMAGE":case"TWO_THIRDS_LEFT_IMAGE":return c.a.createElement(T,null);case"SPLIT_RIGHT_IMAGE":case"TWO_THIRDS_RIGHT_IMAGE":return c.a.createElement(S,null);case"CENTERED_OVERLAY":return c.a.createElement(k,null)}}function j(){return c.a.createElement("header",{className:"cover__header"},c.a.createElement(C,null))}var A=n(2321),N=n(2322),P=n(2323),M=function(){return null},L=n(1263),I=n(1264),R=n(2324),D=n(2325),B=n(2326),F=n(2327)},function(e,t,n){"use strict";var r=n(17),i=n(4),o=n.n(i),a=n(54),s=n(51),c=n(52),u=n(118),l=n(96),d=n(215),f=n(101),p=n(175),h=n(77),m=n(408),v=n(609),g=n(615),y=n(0),b=n.n(y),_=n(2828),w=function(e){Object(y.useEffect)(e,[])},E=function(e){var t=Object(y.useRef)(e);t.current=e,w(function(){return function(){return t.current()}})},k=n(2439),x=n.n(k),S=n(136),T=Object(h.a)("lesson-nav"),O=function(e,t){var n,r,i,s=e.allowTooltip,l=e.buttonNavigationStyle,d=e.buttonScheme,f=e.color,h=e.lessonNameLabel,v=e.lessonPrepositionLabel,g=e.nextLesson,y=e.nextLessonNumber,_=e.onNavigate,w=e.restrictionData,E=e.restrictionType,k=e.totalLessons,x=null==g?void 0:g.id,S="FLOATING"===l,O=Object(u.e)(g)&&x,C=(null==g?void 0:g.title)||"",j=d===a.b.TINT,A=j?Object(c.c)(f):f,N=O?o()(n=o()(r=o()(i="".concat(y," ")).call(i,v," ")).call(r,k," — ")).call(n,C):C,P=S?"Next ".concat(h):N,M={color:j?A:null};return b.a.createElement(m.a,{allowTooltip:s,direction:"next",isFloating:S,linkStyles:M,navLessonId:x,onNavigate:_,ref:t,restrictionData:w,restrictionType:E},b.a.createElement(p.b,{className:T("link-icon")}),b.a.createElement("span",{className:T("link-text")},P))},C=Object(f.a)("LessonNavNext",Object(y.forwardRef)(O)),j=x()(0,1,.01);t.a=Object(s.b)(function(){var e=Object(S.h)(),t=Object(S.g)(),n=Object(S.d)();return function(r,i){var o=i.lessonId,a=Object(l.a)(r),s=e(o,r)||{},c=t(s.id,r),u=Object(d.a)(r),f=n(s.id,r),p=Object(S.k)(r);return{buttonNavigationStyle:a.buttonNavigationStyle,buttonScheme:a.buttonScheme,color:a.color,lessonNameLabel:u.lessonName,lessonPrepositionLabel:u.lessonPreposition,nextLesson:s,nextLessonNumber:c,restrictionData:null==f?void 0:f.data,restrictionType:null==f?void 0:f.type,totalLessons:p}}})(function(e){var t=e.dispatch,n=Object(y.useRef)(),i=Object(_.a)(n,{threshold:j}),o=Object(g.a)();return Object(y.useLayoutEffect)(function(){var e=n.current.closest("[data-lesson-id]");o===e.dataset.lessonId&&t(Object(v.b)({intersectionRect:null==i?void 0:i.intersectionRect}))},[o,t,i]),E(function(){return t(Object(v.b)(null))}),b.a.createElement(C,Object(r.a)({ref:n},e))})},function(e,t,n){"use strict";var r=n(51),i=n(212),o=n.n(i),a=n(73),s=n(119),c=n(96),u=n(136);var l=n(215),d=n(260),f=n(52),p=n(262),h=n(101),m=n(175),v=n(2),g=n.n(v),y=n(29),b=n.n(y),_=n(26),w=n.n(_),E=n(0),k=n.n(E),x=n(139),S=Object(h.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,h=e.favoritedAt,v=e.firstLessonId,y=e.isOnePage,_=e.isPreview,w=e.navigation,E=e.nextLessonId,x=e.percentComplete,S=e.trackingQuizId,T=Object(a.k)()?100===x:Object(a.i)(),O=!_&&x&&!T&&E,C=O?E:v,j=d||h||_||Object(a.k)(),A=T||!O&&b()(S),N=x?c:u,P=Object(f.f)(r),M=g()(n,"cover__header-content-action-link",{"brand--color":!l,"overview__outline-btn":A,"overview__start-again":A,"overview__button-enrolled":j}),L=g()("cover__header-content-details-trigger-text",{"cover__header-content-details-trigger-text--light":P,"cover__header-content-details-trigger-text--dark":!P}),I=g()("cover__header-content-details-trigger-icon",{"cover__header-content-details-trigger-icon--light":P,"cover__header-content-details-trigger-icon--dark":!P}),R=g()("cover__header-content-action-link-text",{"cover__header-content-action-link-text--dark":!Object(f.f)(r)});return k.a.createElement("div",{className:"cover__header-content-action-wrapper"},k.a.createElement(s.b,{className:M,to:Object(p.f)(C)},k.a.createElement("span",{className:R},null==N?void 0:N.toLowerCase())),w&&!y&&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:L},null==i?void 0:i.toLowerCase()),k.a.createElement(m.f,{className:I})))});t.a=Object(r.b)(function(){var e=Object(u.f)();return function(t){var n=Object(c.a)(t),r=w()(["theme","colorAccent"],n),i=Object(u.l)(t),o=function(e){return e.global}(t),a=Object(l.a)(t),s=Object(d.e)(t),f=Object(c.b)(t)||{},p=w()(["media","image","key"],f),h=e(t);return{colorAccent:r,courseDetails:a.courseDetails,courseResume:a.courseResume,courseStart:a.courseStart,coverImageKey:p,enrolled:n.enrolled,favoritedAt:n.favoritedAt,firstLessonId:null==i?void 0:i.id,isOnePage:n.type===x.a,isPreview:null==o?void 0:o.isPreview,navigation:n.navigation,nextLessonId:h,percentComplete:s,trackingQuizId:n.trackingQuizId}}})(S)},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),p=n(51),h=n(85),m=n(152),v=n.n(m),g=n(318),y=n.n(g),b=n(1279),_=n.n(b),w=n(7),E=n.n(w),k=n(26),x=n.n(k),S=n(2829),T=n(116),O=n(353),C=n(783),j=n(716),A=n(1280),N=n(82),P=n(78),M=n(1281),L=n(1221),I=n(2380),R=function(e){var t=e.onClose;return f.a.createElement(I.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(L.a,{inverted:!0,onClick:t},"OKAY"))))},D=n(322),B=n(258),F=n(73),U=n(2258),q=n(310),z=n(200),H=n(2265),V=n(210),W=n(1300),Y=n(23),G=n(319),K=n(68),X=n(252);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 Q=K.a.learn.course,Z=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)).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(){N.a.isIe11&&document.documentElement.classList.add("ie11"),N.a.isSafari9&&document.documentElement.classList.add("safari9"),N.a.isIphoneSafari&&document.documentElement.classList.add("iphone-safari"),N.a.isSafari&&"iframe"===this.props.match.params.mode&&_.a.enable(),window.addEventListener("message",this.handleMessages.bind(this)),Object(Y.k)()}},{key:"componentDidMount",value:function(){document.documentElement.lang=this.props.languageCode,Object(z.h)("favoriteAdded",this.onFavoriteAdded),Object(z.h)("favoriteRemoved",this.onFavoriteRemoved)}},{key:"updateConnectionStatus",value:function(e){Object(P.a)(Object(V.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(z.g)("favoriteAdded",this.onFavoriteAdded),Object(z.g)("favoriteRemoved",this.onFavoriteRemoved)}},{key:"handleMessages",value:function(e){var t=this,n=e.data;e.origin===window.location.origin&&Object(S.a)(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(F.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(P.a)(Object(D.d)())}},{key:"onFavoriteRemoved",value:function(){Object(P.a)(Object(D.e)())}},{key:"preventExternalLinking",value:function(e){var t=e.target.closest("a, .fr-view");t&&"A"===t.tagName&&Object(B.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 p=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:p,headingTypeface:v,uiTypeface:g};return f.a.createElement(X.a,{courseColor:p},f.a.createElement(y.a,{title:Object(G.a)(t.title)},f.a.createElement("div",{id:"innerApp","data-ba":Q.container,className:r},f.a.createElement(j.a,w),f.a.createElement(A.a,{env:"runtime"},f.a.createElement(h.d,{component:"div",className:"transition-group"},f.a.createElement(q.a,{key:b},f.a.createElement(C.a,{location:s},f.a.createElement(O.a,{exact:!0,path:"/",component:H.a,childProps:_}),f.a.createElement(O.a,{exact:!0,path:"/:mode",component:H.a,childProps:_}),f.a.createElement(O.a,{exact:!0,path:"/lessons/:id",component:U.a,childProps:_}),f.a.createElement(O.a,{path:"/lessons/:id/:mode",component:U.a,childProps:_}))),i&&f.a.createElement(h.a,{classNames:"modal",timeout:400},f.a.createElement(R,{onClose:this.closeExternalLinkingModal})))))))}},{key:"render",value:function(){var e=this.props.course.hasPassword,t=this.state,n=t.failAttempt,r=t.showPasswordDialog&&Object(F.m)()&&(!!e||Object(F.l)()),i=this.onSharePasswordSubmit;return r?f.a.createElement(W.a,{failAttempt:n,onSubmit:i}):this.renderAppLayout()}}]),n}(d.Component),J=v()({externalLinksModalVisible:x()(["global","externalLinksModalVisible"])}),ee=E()(M.a,T.h,Object(p.b)(J,{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=ee(Z)},function(e,t,n){"use strict";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),p=n.n(f),h=n(81),m=n.n(h),v=n(0),g=n.n(v),y=n(791),b=n.n(y),_=n(736),w=n.n(_),E=n(2408),k=n.n(E),x=n(1288),S=n(35),T=n(292),O=n.n(T),C=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(v.useState)(function(){return O()()}),u=Object(S.a)(c,1)[0],l="hft-".concat(u),d="hfd-".concat(u);return g.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},g.a.createElement("title",{id:l},a),g.a.createElement("desc",{id:d},r),g.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"}))};C.displayName="IconBookFilled",C.defaultProps={desc:"Solid colored book",height:"12",title:"Book",width:"14"};var j=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(v.useState)(function(){return O()()}),u=Object(S.a)(c,1)[0],l="hft-".concat(u),d="hfd-".concat(u);return g.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},g.a.createElement("title",{id:l},a),g.a.createElement("desc",{id:d},r),g.a.createElement("path",{fill:"currentColor",d:"M9.6,0L11,1.3L3.9,8L0,4.3L1.4,3l2.6,2.4L9.6,0z"}))};j.displayName="IconCheckMark",j.defaultProps={desc:"A check mark",height:"8",title:"Check mark",width:"11"};var A=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(v.useState)(function(){return O()()}),u=Object(S.a)(c,1)[0],l="cct-".concat(u),d="ccd-".concat(u);return g.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},g.a.createElement("title",{id:l},a),g.a.createElement("desc",{id:d},r),g.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"}))};A.displayName="IconCheckmarkCircle",A.defaultProps={desc:"Checkmark inside of a solid circle",height:"15",title:"Checkmark Circle",width:"15"};var N=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(v.useState)(function(){return O()()}),u=Object(S.a)(c,1)[0],l="cdt-".concat(u),d="cdd-".concat(u);return g.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},g.a.createElement("title",{id:l},a),g.a.createElement("desc",{id:d},r),g.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"}))};N.displayName="IconChevronDown",N.defaultProps={desc:"Chevron pointing downwards",height:"5",title:"Chevron down",width:"8"};var P=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(v.useState)(function(){return O()()}),u=Object(S.a)(c,1)[0],l="hft-".concat(u),d="hfd-".concat(u);return g.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},g.a.createElement("title",{id:l},a),g.a.createElement("desc",{id:d},r),g.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"}))};P.displayName="IconChevronLeftRounded",P.defaultProps={desc:"Rounded chevron pointing left",height:"10",title:"Rounded chevron left",width:"6"};var M=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(v.useState)(function(){return O()()}),u=Object(S.a)(c,1)[0],l="cdt-".concat(u),d="cdd-".concat(u);return g.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},g.a.createElement("title",{id:l},a),g.a.createElement("desc",{id:d},r),g.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"}),g.a.createElement("path",{clipRule:"evenodd",d:"M7.3125 3.25H5.6875V7.3125H9.75V5.6875H7.3125V3.25Z",fill:"currentColor",fillRule:"evenodd"}))};M.displayName="IconClock",M.defaultProps={desc:"An analog clock",height:"13",title:"Clock",width:"13"};var L=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(v.useState)(function(){return O()()}),u=Object(S.a)(c,1)[0],l="hft-".concat(u),d="hfd-".concat(u);return g.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},g.a.createElement("title",{id:l},a),g.a.createElement("desc",{id:d},r),g.a.createElement("g",{transform:"translate(-18 -659)"},g.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"})))};L.displayName="IconClose",L.defaultProps={desc:"Image of an X",height:"14",title:"Close",width:"14"};var I=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(v.useState)(function(){return O()()}),u=Object(S.a)(c,1)[0],l="cdt-".concat(u),d="cdd-".concat(u);return g.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},g.a.createElement("title",{id:l},a),g.a.createElement("desc",{id:d},r),g.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"}),g.a.createElement("path",{d:"M1.54669 4.10669L8.00003 7.33336L14.4534 4.10669",stroke:"currentColor",strokeWidth:"1.6",strokeLinecap:"round",strokeLinejoin:"round"}),g.a.createElement("path",{d:"M8 15.1733V7.33331",stroke:"currentColor",strokeWidth:"1.6",strokeLinecap:"round",strokeLinejoin:"round"}))};function R(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))}}I.displayName="IconCube",I.defaultProps={desc:"Image of a cube",height:"16",title:"Cube",width:"16"};R(".IconError_iconError__1pbVY{color:#d0021b}",{insertAt:"top"});var D=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(v.useState)(function(){return O()()}),u=Object(S.a)(c,1)[0],l="hft-".concat(u),d="hfd-".concat(u);return g.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},g.a.createElement("title",{id:l},a),g.a.createElement("desc",{id:d},r),g.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"}))};D.displayName="IconError",D.defaultProps={className:"IconError_iconError__1pbVY",desc:"A red circle with a white exclamation point in the middle",height:"18",title:"Error",width:"18"};var B=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(v.useState)(function(){return O()()}),u=Object(S.a)(c,1)[0],l="cdt-".concat(u),d="cdd-".concat(u);return g.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},g.a.createElement("title",{id:l},a),g.a.createElement("desc",{id:d},r),g.a.createElement("svg",{fill:"none",height:"9",viewBox:"0 0 16 9",width:"16",xmlns:"http://www.w3.org/2000/svg"},g.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"})),g.a.createElement("svg",{fill:"none",height:"6",viewBox:"0 0 16 6",width:"16",xmlns:"http://www.w3.org/2000/svg",y:"40%"},g.a.createElement("path",{d:"M1.33325 1.33331L7.99992 4.66665L14.6666 1.33331",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.6"})),g.a.createElement("svg",{fill:"none",height:"6",viewBox:"0 0 16 6",width:"16",xmlns:"http://www.w3.org/2000/svg",y:"60%"},g.a.createElement("path",{d:"M1.33325 0.999634L7.99992 4.33297L14.6666 0.999634",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.6"})))};B.displayName="IconFilter",B.defaultProps={desc:"Three squares stacked on one another",height:"16",title:"Filter",width:"16"};var F=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(v.useState)(function(){return O()()}),u=Object(S.a)(c,1)[0],l="hft-".concat(u),d="hfd-".concat(u);return g.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},g.a.createElement("title",{id:l},a),g.a.createElement("desc",{id:d},r),g.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"}))};F.displayName="IconHeartFilled",F.defaultProps={desc:"Solid colored heart",height:"15",title:"Heart",width:"16"};var U=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(v.useState)(function(){return O()()}),u=Object(S.a)(c,1)[0],l="hft-".concat(u),d="hfd-".concat(u);return g.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},g.a.createElement("title",{id:l},a),g.a.createElement("desc",{id:d},r),g.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"}))};U.displayName="IconHeartOutline",U.defaultProps={desc:"Outline of a heart",height:"15",title:"Heart",width:"16"};var q=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(v.useState)(function(){return O()()}),u=Object(S.a)(c,1)[0],l="cdt-".concat(u),d="cdd-".concat(u);return g.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},g.a.createElement("title",{id:l},a),g.a.createElement("desc",{id:d},r),g.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"}),g.a.createElement("path",{d:"M2 6H14",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.6"}),g.a.createElement("path",{d:"M6 14V6",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.6"}))};q.displayName="IconLayout",q.defaultProps={desc:"Rounded square with header and sidebar dividers",height:"16",title:"Layout",width:"16"};R(".IconLearningPath_defaultFill__3ksqg{color:#adaeaf}",{insertAt:"top"});var z=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(v.useState)(function(){return O()()}),u=Object(S.a)(c,1)[0],l="lpt-".concat(u),d="lpd-".concat(u);return g.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},g.a.createElement("title",{id:l},a),g.a.createElement("desc",{id:d},r),g.a.createElement("g",{fill:"none",fillRule:"evenodd"},g.a.createElement("path",{fill:"currentColor",d:"M7 2h2v7H2V7h5V2z"}),g.a.createElement("path",{fill:"currentColor",d:"M0 0h7v7H0z"}),g.a.createElement("path",{fill:"#000f20",opacity:"0.505",d:"M0 0h7v7H0z"})))};z.displayName="IconLearningPath",z.defaultProps={className:"IconLearningPath_defaultFill__3ksqg",desc:"Two stacked squares",height:"9",title:"Learning Path",width:"9"};var H=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(v.useState)(function(){return O()()}),u=Object(S.a)(c,1)[0],l="hft-".concat(u),d="hfd-".concat(u);return g.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},g.a.createElement("title",{id:l},a),g.a.createElement("desc",{id:d},r),g.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"}))};H.displayName="IconSearch",H.defaultProps={desc:"Magnifying glass",height:"16",title:"Search",width:"16"};var V=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(v.useState)(function(){return O()()}),u=Object(S.a)(c,1)[0],l="cdt-".concat(u),d="cdd-".concat(u);return g.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},g.a.createElement("title",{id:l},a),g.a.createElement("desc",{id:d},r),g.a.createElement("path",{d:"M5.99992 7.62108L3.8786 9.7424L1.75728 7.62108",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.6"}),g.a.createElement("path",{d:"M3.8786 1.99976L3.8786 8.99976",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.6"}),g.a.createElement("path",{d:"M9.35638 5.4624H15.3564",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.6"}),g.a.createElement("path",{d:"M9.35638 1.4624H15.3564",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.6"}),g.a.createElement("path",{d:"M9.35638 9.4624H15.3564",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.6"}))};V.displayName="IconSortDesc",V.defaultProps={desc:"Downward arrow with three horizontal lines",height:"11",title:"SortDesc",width:"17"};var W=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(v.useState)(function(){return O()()}),u=Object(S.a)(c,1)[0],l="hft-".concat(u),d="hfd-".concat(u);return g.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},g.a.createElement("title",{id:l},a),g.a.createElement("desc",{id:d},r),g.a.createElement("g",{fill:"none",fillRule:"evenodd",transform:"rotate(-90 15.5 15.5)"},g.a.createElement("circle",{cx:"15",cy:"16",r:"15",stroke:"currentColor",opacity:"0.083",strokeWidth:"2"}),g.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 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(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)}}function G(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))}}W.displayName="IconSpinner",W.defaultProps={desc:"Hollow circle fading from transparent to gray",height:"32",title:"Spinner",width:"32"};var K="styles_wrap__6_qdv",X="styles_content__nx_52",$="styles_image__32Tdo",Q="styles_title__NDffz",Z="styles_titleClamp__1-eSv",J="styles_score__2FWHt",ee="styles_scoreText__2FWJg",te="styles_scoreWrap__3GrXD",ne="styles_lessonsInfo__SbVMH",re="styles_pipe__1XBpq",ie="styles_lpIcon__3XeRQ",oe="styles_imageOverlay__RSsiC",ae="styles_imageOverlayStarted__17CIL",se="styles_imageOverlayAssignedToMe__1pYS_",ce="styles_statusText__1q5C8",ue="styles_statusTextNoProgress__39xCR",le="styles_status__1VLZS",de="styles_completedStatus__A0RxX",fe="styles_learningPathBadge__3vO-1",pe="styles_progressBarWrap__24ETA",he="styles_heartWrap__217al",me="styles_heartFilled__35Shx",ve="styles_heartOutline__2fakg",ge="styles_completedAt__2Iu7h",ye="styles_due__SPTRi",be="styles_dueUrgent__1j39c",_e="styles_downloadCertWrap__1wv7-";G(".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 we="ProgressBar_progressBarBase__1njSY",Ee="ProgressBar_progressBarWrap__1dSL2",ke="ProgressBar_progressBar__14M3v";G(".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 xe=function(e){var t=e.progress,n=b()(we,Ee),r=b()(we,ke);return g.a.createElement("div",{className:n,role:"progressbar","aria-valuenow":t,"aria-valuemin":"0","aria-valuemax":"100"},g.a.createElement("div",{className:r,style:{width:"".concat(t,"%")}}))},Se=function(e){Object(u.a)(n,e);var t=Y(n);function n(){var e,r;Object(a.a)(this,n);for(var i=arguments.length,o=new Array(i),s=0;s<i;s++)o[s]=arguments[s];return(r=t.call.apply(t,p()(e=[this]).call(e,o))).onClick=r.onClick.bind(Object(c.a)(r)),r.onKeyDown=r.onKeyDown.bind(Object(c.a)(r)),r.toggleFavorite=r.toggleFavorite.bind(Object(c.a)(r)),r.renderProgress=r.renderProgress.bind(Object(c.a)(r)),r.renderDueStatus=r.renderDueStatus.bind(Object(c.a)(r)),r.renderAssignedOrCompleted=r.renderAssignedOrCompleted.bind(Object(c.a)(r)),r.renderLessonsInfo=r.renderLessonsInfo.bind(Object(c.a)(r)),r}return Object(s.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;m()(t=[13,32]).call(t,e.keyCode)&&(e.preventDefault(),this.onClick())}},{key:"toggleFavorite",value:function(e){var t=this.props,n=t.favoritedAt,r=t.onAddFavorite,i=t.onRemoveFavorite;e.stopPropagation(),n?i():r()}},{key:"renderProgress",value:function(){var e=this.props,t=e.disable,n=e.progress;return n&&!t?g.a.createElement("div",{className:pe},g.a.createElement(xe,{progress:n})):null}},{key:"renderDueStatus",value:function(){var e=this.props,t=e.completedAt,n=e.isUrgent,r=e.labelDue,i=e.labelCompleted,a=null!=t,s=b()(ye,Object(o.a)({},be,n));return a?g.a.createElement("div",{className:ge},i):r?g.a.createElement("div",null,g.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,a=b()(ce,Object(o.a)({},ue,!r));return i?g.a.createElement("div",{className:de},g.a.createElement(A,{width:22,height:22,decorative:!0})):g.a.createElement("div",{className:a},g.a.createElement(C,{decorative:!0}),g.a.createElement("span",{className:le},t))}},{key:"renderLessonsInfo",value:function(){var e=this.props,t=e.labelCount,n=e.durationHidden,r=e.labelDuration;return g.a.createElement("div",{className:ne},t,!n&&g.a.createElement(g.a.Fragment,null,g.a.createElement("span",{className:re,"aria-hidden":"true"},"|"),r))}},{key:"render",value:function(){var e,t=this.props,n=t.cardImageKey,r=t.certDownloadComp,i=t.color,a=t.completedAt,s=t.coverImageKey,c=t.enrolledAt,u=t.favoritedAt,l=t.imagesUri,d=t.isLearningPath,f=t.labelHeartFilled,p=t.labelHeartOutline,h=t.labelLearningPath,m=t.labelQuizScore,v=t.noCertDownload,y=t.noFavoriteBtn,_=t.progress,E=t.score,S=t.title,T=t.extraScoreText,O=null!=a,C=c||O,j=b()((e={},Object(o.a)(e,ae,!!_||O),Object(o.a)(e,se,c&&!O),e)),A=n||s;return g.a.createElement("div",{"aria-label":S,className:K,onClick:this.onClick,onKeyDown:this.onKeyDown,role:"link",tabIndex:"0"},g.a.createElement(x.a,{className:$,b:"fff",f:"jpg",h:150,imagesUri:l,imageKey:A,style:{backgroundColor:i},w:300,s:"cover"}),(O||c||_||d)&&g.a.createElement("div",{className:oe},g.a.createElement("div",{className:j}),d&&g.a.createElement("div",{className:fe},g.a.createElement(z,{height:7,width:7,className:ie,decorative:!0})," ",h),this.renderProgress(),C&&this.renderAssignedOrCompleted()),g.a.createElement("div",{className:X},!y&&g.a.createElement("div",{className:he,onClick:this.toggleFavorite,onKeyDown:this.toggleFavorite,role:"button",tabIndex:"0"},u?g.a.createElement(F,{title:f,className:me}):g.a.createElement(U,{title:p,className:ve})),this.renderDueStatus(),g.a.createElement("div",{className:Q},g.a.createElement(k.a,{className:Z,lines:4},S)),O&&null!=E&&g.a.createElement("div",{className:te},m," ",g.a.createElement("span",{className:J},w()(E).divide(100).format("0%")),T&&g.a.createElement("span",{className:ee},T)),!O||v?this.renderLessonsInfo():g.a.createElement("div",{className:_e},g.a.createElement(r,null))))}}]),n}(v.Component);Se.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=Se},,,,,,,,,,,,,,,,,,,,,function(e,t,n){"use strict";var r=n(141),i=n(265),o=n(207),a=n(692),s=n(50),c=n(363),u=n(1117),l=n(130),d=n(1115),f=n(483),p=n(1116),h=n(189),m=n(2276),v=n(364),g=n(2474),y=n(770),b=n(178),_=n(167),w=n(362),E=n(482),k=n(693),x=n(695),S=n(2279),T=n(349),O=n(223),C=n(1114),j=n(337),A=n(769),N=n(1244)("hidden"),P=n(404),M=P.set,L=P.getterFor("Symbol"),I=T.f,R=O.f,D=S.f,B=r.Symbol,F=r.JSON,U=F&&F.stringify,q=h("toPrimitive"),z=C.f,H=d("symbol-registry"),V=d("symbols"),W=d("op-symbols"),Y=d("wks"),G=Object.prototype,K=r.QObject,X=n(2275),$=!K||!K.prototype||!K.prototype.findChild,Q=o&&l(function(){return 7!=x(R({},"a",{get:function(){return R(this,"a",{value:7}).a}})).a})?function(e,t,n){var r=I(G,t);r&&delete G[t],R(e,t,n),r&&e!==G&&R(G,t,r)}:R,Z=function(e,t){var n=V[e]=x(B.prototype);return M(n,{type:"Symbol",tag:e,description:t}),o||(n.description=t),n},J=X&&"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=E(t,!0),b(n),i(V,t)?(n.enumerable?(i(e,N)&&e[N][t]&&(e[N][t]=!1),n=x(n,{enumerable:k(0,!1)})):(i(e,N)||R(e,N,k(1,{})),e[N][t]=!0),Q(e,t,n)):R(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=E(e,!0));return!(this===G&&i(V,e)&&!i(W,e))&&(!(t||!i(this,e)||!i(V,e)||i(this,N)&&this[N][e])||t)},re=function(e,t){if(e=w(e),t=E(t,!0),e!==G||!i(V,t)||i(W,t)){var n=I(e,t);return!n||!i(V,t)||i(e,N)&&e[N][t]||(n.enumerable=!0),n}},ie=function(e){for(var t,n=D(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=D(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};X||(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=p(e),n=function(e){this===G&&n.call(W,e),i(this,N)&&i(this[N],t)&&(this[N][t]=!1),Q(this,t,k(1,e))};return o&&$&&Q(G,t,{configurable:!0,set:n}),Z(t,e)}).prototype,"toString",function(){return L(this).tag}),C.f=ne,O.f=ee,T.f=re,n(694).f=S.f=ie,n(1246).f=oe,o&&(R(B.prototype,"description",{configurable:!0,get:function(){return L(this).description}}),a||c(G,"propertyIsEnumerable",ne,{unsafe:!0})),m.f=function(e){return Z(h(e),e)}),s({global:!0,wrap:!0,forced:!X,sham:!X},{Symbol:B});for(var ae=A(Y),se=0;ae.length>se;)v(ae[se++]);s({target:"Symbol",stat:!0,forced:!X},{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(){$=!0},useSimple:function(){$=!1}}),s({target:"Object",stat:!0,forced:!X,sham:!o},{create:function(e,t){return void 0===t?x(e):te(x(e),t)},defineProperty:ee,defineProperties:te,getOwnPropertyDescriptor:re}),s({target:"Object",stat:!0,forced:!X},{getOwnPropertyNames:ie,getOwnPropertySymbols:oe}),F&&s({target:"JSON",stat:!0,forced:!X||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[N]=!0},function(e,t,n){var r=n(769),i=n(1246),o=n(1114);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(207),i=n(265),o=n(167),a=n(223).f,s=n(2273),c=n(141).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,p="Symbol(test)"==String(c("test")),h=/^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=p?t.slice(7,-1):t.replace(h,"$1");return""===n?void 0:n}}),n(50)({global:!0,forced:!0},{Symbol:l})}},function(e,t,n){n(364)("asyncIterator")},function(e,t,n){n(364)("hasInstance")},function(e,t,n){n(364)("isConcatSpreadable")},function(e,t,n){n(364)("iterator")},function(e,t,n){n(364)("match")},function(e,t,n){n(364)("replace")},function(e,t,n){n(364)("search")},function(e,t,n){n(364)("species")},function(e,t,n){n(364)("split")},function(e,t,n){n(364)("toPrimitive")},function(e,t,n){n(364)("toStringTag")},function(e,t,n){n(364)("unscopables")},function(e,t,n){"use strict";var r=n(770),i=n(167),o=n(266),a=n(202),s=n(696),c=n(1119),u=n(189)("isConcatSpreadable"),l=!n(130)(function(){var e=[];return e[u]=!1,e.concat()[0]!==e}),d=n(1120)("concat"),f=function(e){if(!i(e))return!1;var t=e[u];return void 0!==t?!!t:r(e)},p=!l||!d;n(50)({target:"Array",proto:!0,forced:p},{concat:function(e){var t,n,r,i,u,l=o(this),d=c(l,0),p=0;for(t=-1,r=arguments.length;t<r;t++)if(u=-1===t?l:arguments[t],f(u)){if(p+(i=a(u.length))>9007199254740991)throw TypeError("Maximum allowed index exceeded");for(n=0;n<i;n++,p++)n in u&&s(d,p,u[n])}else{if(p>=9007199254740991)throw TypeError("Maximum allowed index exceeded");s(d,p++,u)}return d.length=p,d}})},function(e,t,n){n(50)({target:"Array",proto:!0},{copyWithin:n(2280)}),n(603)("copyWithin")},function(e,t,n){n(50)({target:"Array",proto:!0},{fill:n(2231)}),n(603)("fill")},function(e,t,n){"use strict";var r=n(350)(2),i=n(1120)("filter");n(50)({target:"Array",proto:!0,forced:!i},{filter:function(e){return r(this,e,arguments[1])}})},function(e,t,n){"use strict";var r=n(350)(5),i=!0;"find"in[]&&Array(1).find(function(){i=!1}),n(50)({target:"Array",proto:!0,forced:i},{find:function(e){return r(this,e,arguments.length>1?arguments[1]:void 0)}}),n(603)("find")},function(e,t,n){"use strict";var r=n(350)(6),i=!0;"findIndex"in[]&&Array(1).findIndex(function(){i=!1}),n(50)({target:"Array",proto:!0,forced:i},{findIndex:function(e){return r(this,e,arguments.length>1?arguments[1]:void 0)}}),n(603)("findIndex")},function(e,t,n){"use strict";var r=n(2281),i=n(266),o=n(202),a=n(405),s=n(1119);n(50)({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(2281),i=n(266),o=n(202),a=n(440),s=n(1119);n(50)({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(1247)(function(e){Array.from(e)});n(50)({target:"Array",stat:!0,forced:r},{from:n(2282)})},function(e,t,n){"use strict";var r=n(1245)(!0);n(50)({target:"Array",proto:!0},{includes:function(e){return r(this,e,arguments.length>1?arguments[1]:void 0)}}),n(603)("includes")},function(e,t,n){"use strict";var r=n(362),i=[].join,o=n(1243)!=Object,a=n(1250)("join",",");n(50)({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(350)(1),i=n(1120)("map");n(50)({target:"Array",proto:!0,forced:!i},{map:function(e){return r(this,e,arguments[1])}})},function(e,t,n){"use strict";var r=n(696),i=n(130)(function(){function e(){}return!(Array.of.call(e)instanceof e)});n(50)({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(770),i=[].reverse,o=[1,2];n(50)({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(167),i=n(770),o=n(602),a=n(202),s=n(362),c=n(696),u=n(189)("species"),l=[].slice,d=Math.max,f=n(1120)("slice");n(50)({target:"Array",proto:!0,forced:!f},{slice:function(e,t){var n,f,p,h=s(this),m=a(h.length),v=o(e,m),g=o(void 0===t?m:t,m);if(i(h)&&("function"!=typeof(n=h.constructor)||n!==Array&&!i(n.prototype)?r(n)&&null===(n=n[u])&&(n=void 0):n=void 0,n===Array||void 0===n))return l.call(h,v,g);for(f=new(void 0===n?Array:n)(d(g-v,0)),p=0;v<g;v++,p++)v in h&&c(f,p,h[v]);return f.length=p,f}})},function(e,t,n){"use strict";var r=n(440),i=n(266),o=n(130),a=[].sort,s=[1,2,3],c=o(function(){s.sort(void 0)}),u=o(function(){s.sort(null)}),l=n(1250)("sort"),d=c||!u||l;n(50)({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(771)("Array")},function(e,t,n){"use strict";var r=n(602),i=n(405),o=n(202),a=n(266),s=n(1119),c=n(696),u=Math.max,l=Math.min,d=n(1120)("splice");n(50)({target:"Array",proto:!0,forced:!d},{splice:function(e,t){var n,d,f,p,h,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),p=0;p<d;p++)(h=y+p)in v&&c(f,p,v[h]);if(f.length=d,n<d){for(p=y;p<g-d;p++)m=p+n,(h=p+d)in v?v[m]=v[h]:delete v[m];for(p=g;p>g-d+n;p--)delete v[p-1]}else if(n>d)for(p=g-d;p>y;p--)m=p+n-1,(h=p+d-1)in v?v[m]=v[h]:delete v[m];for(p=0;p<n;p++)v[p+y]=arguments[p+2];return v.length=g-d+n,f}})},function(e,t,n){n(603)("flat")},function(e,t,n){n(603)("flatMap")},function(e,t,n){"use strict";var r=n(2236).ArrayBuffer,i=n(141).ArrayBuffer;n(50)({global:!0,forced:i!==r},{ArrayBuffer:r}),n(771)("ArrayBuffer")},function(e,t,n){"use strict";var r=n(2236),i=n(178),o=n(602),a=n(202),s=n(606),c=r.ArrayBuffer,u=r.DataView,l=c.prototype.slice,d=n(130)(function(){return!new c(2).slice(1,void 0).byteLength});n(50)({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)),p=new u(this),h=new u(f),m=0;r<d;)h.setUint8(m++,p.getUint8(r++));return f}})},function(e,t,n){var r=n(337),i=n(189)("toPrimitive"),o=n(2511),a=Date.prototype;i in a||r(a,i,o)},function(e,t,n){"use strict";var r=n(178),i=n(482);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(167),i=n(223),o=n(484),a=n(189)("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(207),i=n(223).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(483)(n(141).JSON,"JSON",!0)},function(e,t,n){"use strict";e.exports=n(1251)("Map",function(e){return function(){return e(this,arguments.length>0?arguments[0]:void 0)}},n(2288),!0)},function(e,t,n){var r=n(2289),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(50)({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(50)({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(50)({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(2238),i=Math.abs,o=Math.pow;n(50)({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(50)({target:"Math",stat:!0},{clz32:function(e){return(e>>>=0)?31-r(i(e+.5)*o):32}})},function(e,t,n){var r=n(1252),i=Math.cosh,o=Math.abs,a=Math.E;n(50)({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(1252);n(50)({target:"Math",stat:!0,forced:r!=Math.expm1},{expm1:r})},function(e,t,n){n(50)({target:"Math",stat:!0},{fround:n(2524)})},function(e,t,n){var r=n(2238),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(50)({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(130)(function(){return-5!=r(4294967295,5)||2!=r.length});n(50)({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(50)({target:"Math",stat:!0},{log10:function(e){return r(e)*i}})},function(e,t,n){n(50)({target:"Math",stat:!0},{log1p:n(2289)})},function(e,t,n){var r=Math.log,i=Math.LN2;n(50)({target:"Math",stat:!0},{log2:function(e){return r(e)/i}})},function(e,t,n){n(50)({target:"Math",stat:!0},{sign:n(2238)})},function(e,t,n){var r=n(1252),i=Math.abs,o=Math.exp,a=Math.E,s=n(130)(function(){return-2e-17!=Math.sinh(-2e-17)});n(50)({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(1252),i=Math.exp;n(50)({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(483)(Math,"Math",!0)},function(e,t,n){var r=Math.ceil,i=Math.floor;n(50)({target:"Math",stat:!0},{trunc:function(e){return(e>0?i:r)(e)}})},function(e,t,n){"use strict";var r=n(141),i=n(1118),o=n(265),a=n(439),s=n(2237),c=n(482),u=n(130),l=n(694).f,d=n(349).f,f=n(223).f,p=n(773),h=r.Number,m=h.prototype,v="Number"==a(n(695)(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():p(l,3)).charCodeAt(0))||45===t){if(88===(n=l.charCodeAt(2))||120===n)return NaN}else if(48===t){switch(l.charCodeAt(1)){case 66:case 98:r=2,i=49;break;case 79:case 111:r=8,i=55;break;default:return+l}for(a=(o=l.slice(2)).length,s=0;s<a;s++)if((u=o.charCodeAt(s))<48||u>i)return NaN;return parseInt(o,r)}return+l};if(i("Number",!h(" 0o1")||!h("0b1")||h("+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 h(y(t)),n,_):y(t)},w=n(207)?l(h):"MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,EPSILON,isFinite,isInteger,isNaN,isSafeInteger,MAX_SAFE_INTEGER,MIN_SAFE_INTEGER,parseFloat,parseInt,isInteger".split(","),E=0;w.length>E;E++)o(h,b=w[E])&&!o(_,b)&&f(_,b,d(h,b));_.prototype=m,m.constructor=_,n(363)(r,"Number",_)}},function(e,t,n){n(50)({target:"Number",stat:!0},{EPSILON:Math.pow(2,-52)})},function(e,t,n){n(50)({target:"Number",stat:!0},{isFinite:n(2538)})},function(e,t,n){var r=n(141).isFinite;e.exports=Number.isFinite||function(e){return"number"==typeof e&&r(e)}},function(e,t,n){n(50)({target:"Number",stat:!0},{isInteger:n(2290)})},function(e,t,n){n(50)({target:"Number",stat:!0},{isNaN:function(e){return e!=e}})},function(e,t,n){var r=n(2290),i=Math.abs;n(50)({target:"Number",stat:!0},{isSafeInteger:function(e){return r(e)&&i(e)<=9007199254740991}})},function(e,t,n){n(50)({target:"Number",stat:!0},{MAX_SAFE_INTEGER:9007199254740991})},function(e,t,n){n(50)({target:"Number",stat:!0},{MIN_SAFE_INTEGER:-9007199254740991})},function(e,t,n){var r=n(2545);n(50)({target:"Number",stat:!0,forced:Number.parseFloat!=r},{parseFloat:r})},function(e,t,n){var r=n(141).parseFloat,i=n(773),o=n(1253),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(2547);n(50)({target:"Number",stat:!0,forced:Number.parseInt!=r},{parseInt:r})},function(e,t,n){var r=n(141).parseInt,i=n(773),o=n(1253),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(405),i=n(2549),o=n(2239),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(50)({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(130)(function(){a.call({})})},{toFixed:function(e){var t,n,a,s,c=i(this),p=r(e),h="",m="0";if(p<0||p>20)throw RangeError("Incorrect fraction digits");if(c!=c)return"NaN";if(c<=-1e21||c>=1e21)return String(c);if(c<0&&(h="-",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=p;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",p);return m=p>0?h+((s=m.length)<=p?"0."+o.call("0",p-s)+m:m.slice(0,s-p)+"."+m.slice(s-p)):h+m}})},function(e,t,n){var r=n(439);e.exports=function(e){if("number"!=typeof e&&"Number"!=r(e))throw TypeError("Incorrect invocation");return+e}},function(e,t,n){var r=n(2291);n(50)({target:"Object",stat:!0,forced:Object.assign!==r},{assign:r})},function(e,t,n){"use strict";var r=n(266),i=n(440),o=n(223),a=n(1254);n(207)&&n(50)({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(266),i=n(440),o=n(223),a=n(1254);n(207)&&n(50)({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(2292);n(50)({target:"Object",stat:!0},{entries:function(e){return r(e,!0)}})},function(e,t,n){var r=n(167),i=n(697).onFreeze,o=Object.freeze,a=n(1124),s=n(130)(function(){o(1)});n(50)({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(1125),i=n(696);n(50)({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(362),i=n(349).f,o=n(207),a=n(130)(function(){i(1)}),s=!o||a;n(50)({target:"Object",stat:!0,forced:s,sham:!o},{getOwnPropertyDescriptor:function(e,t){return i(r(e),t)}})},function(e,t,n){var r=n(207),i=n(2228),o=n(362),a=n(349),s=n(696);n(50)({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(2279).f,i=n(130)(function(){Object.getOwnPropertyNames(1)});n(50)({target:"Object",stat:!0,forced:i},{getOwnPropertyNames:r})},function(e,t,n){var r=n(266),i=n(484),o=n(2234),a=n(130)(function(){i(1)});n(50)({target:"Object",stat:!0,forced:a,sham:!o},{getPrototypeOf:function(e){return i(r(e))}})},function(e,t,n){n(50)({target:"Object",stat:!0},{is:n(2293)})},function(e,t,n){var r=n(167),i=Object.isExtensible,o=n(130)(function(){i(1)});n(50)({target:"Object",stat:!0,forced:o},{isExtensible:function(e){return!!r(e)&&(!i||i(e))}})},function(e,t,n){var r=n(167),i=Object.isFrozen,o=n(130)(function(){i(1)});n(50)({target:"Object",stat:!0,forced:o},{isFrozen:function(e){return!r(e)||!!i&&i(e)}})},function(e,t,n){var r=n(167),i=Object.isSealed,o=n(130)(function(){i(1)});n(50)({target:"Object",stat:!0,forced:o},{isSealed:function(e){return!r(e)||!!i&&i(e)}})},function(e,t,n){var r=n(266),i=n(769),o=n(130)(function(){i(1)});n(50)({target:"Object",stat:!0,forced:o},{keys:function(e){return i(r(e))}})},function(e,t,n){"use strict";var r=n(266),i=n(482),o=n(484),a=n(349).f,s=n(1254);n(207)&&n(50)({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(266),i=n(482),o=n(484),a=n(349).f,s=n(1254);n(207)&&n(50)({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(167),i=n(697).onFreeze,o=Object.preventExtensions,a=n(1124),s=n(130)(function(){o(1)});n(50)({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(167),i=n(697).onFreeze,o=Object.seal,a=n(1124),s=n(130)(function(){o(1)});n(50)({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(2570),i=Object.prototype;r!==i.toString&&n(363)(i,"toString",r,{unsafe:!0})},function(e,t,n){"use strict";var r=n(1248),i={};i[n(189)("toStringTag")]="z",e.exports="[object z]"!==String(i)?function(){return"[object "+r(this)+"]"}:i.toString},function(e,t,n){var r=n(2292);n(50)({target:"Object",stat:!0},{values:function(e){return r(e)}})},function(e,t,n){"use strict";var r,i,o,a="Promise",s=n(692),c=n(141),u=n(50),l=n(167),d=n(440),f=n(605),p=n(439),h=n(1125),m=n(1247),v=n(606),g=n(2240).set,y=n(2294),b=n(2295),_=n(2573),w=n(2296),E=n(2574),k=n(2241),x=n(189)("species"),S=n(404),T=n(1118),O=S.get,C=S.set,j=S.getterFor(a),A=c.Promise,N=c.TypeError,P=c.document,M=c.process,L=c.fetch,I=M&&M.versions,R=I&&I.v8||"",D=w.f,B=D,F="process"==p(M),U=!!(P&&P.createEvent&&c.dispatchEvent),q=T(a,function(){var e=A.resolve(1),t=function(){},n=(e.constructor={})[x]=function(e){e(t,t)};return!((F||"function"==typeof PromiseRejectionEvent)&&(!s||e.finally)&&e.then(t)instanceof n&&0!==R.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(N("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=P.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=E(function(){F?M.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?M.emit("rejectionHandled",e):W("rejectionhandled",e,t.value)})},X=function(e,t,n,r){return function(i){e(t,n,i,r)}},$=function(e,t,n,r){t.done||(t.done=!0,r&&(t=r),t.value=n,t.state=2,V(e,t,!0))},Q=function(e,t,n,r){if(!t.done){t.done=!0,r&&(t=r);try{if(e===n)throw N("Promise can't be resolved itself");var i=H(n);i?y(function(){var r={done:!1};try{i.call(n,X(Q,e,r,t),X($,e,r,t))}catch(n){$(e,r,n,t)}}):(t.value=n,t.state=1,V(e,t,!1))}catch(n){$(e,{done:!1},n,t)}}};q&&(A=function(e){f(this,A,a),d(e),r.call(this);var t=O(this);try{e(X(Q,this,t),X($,this,t))}catch(e){$(this,t,e)}},(r=function(e){C(this,{type:a,done:!1,notified:!1,parent:!1,reactions:[],rejection:!1,state:0,value:void 0})}).prototype=n(772)(A.prototype,{then:function(e,t){var n=j(this),r=D(v(this,A));return r.ok="function"!=typeof e||e,r.fail="function"==typeof t&&t,r.domain=F?M.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=O(e);this.promise=e,this.resolve=X(Q,e,t),this.reject=X($,e,t)},w.f=D=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(483)(A,a,!1,!0),n(771)(a),o=n(2230).Promise,u({target:a,stat:!0,forced:q},{reject:function(e){var t=D(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=D(t),r=n.resolve,i=n.reject,o=E(function(){var n=[],o=0,a=1;h(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=D(t),r=n.reject,i=E(function(){h(e,function(e){t.resolve(e).then(n.resolve,r)})});return i.error&&r(i.value),n.promise}})},function(e,t,n){var r=n(141);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(2235),i=n(606),o=n(2295);n(50)({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(440),i=n(178),o=(n(141).Reflect||{}).apply,a=Function.apply,s=!n(130)(function(){o(function(){})});n(50)({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(695),i=n(440),o=n(178),a=n(167),s=n(130),c=n(2578),u=(n(141).Reflect||{}).construct,l=s(function(){function e(){}return!(u(function(){},[],e)instanceof e)}),d=!s(function(){u(function(){})}),f=l||d;n(50)({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,p=r(a(f)?f:Object.prototype),h=Function.apply.call(e,p,t);return a(h)?h:p}})},function(e,t,n){"use strict";var r=n(440),i=n(167),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(223),i=n(178),o=n(482),a=n(207),s=n(130)(function(){Reflect.defineProperty(r.f({},1,{value:1}),1,{value:2})});n(50)({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(349).f,i=n(178);n(50)({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(349),i=n(484),o=n(265),a=n(167),s=n(178);n(50)({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(349),i=n(178),o=n(207);n(50)({target:"Reflect",stat:!0,sham:!o},{getOwnPropertyDescriptor:function(e,t){return r.f(i(e),t)}})},function(e,t,n){var r=n(484),i=n(178),o=n(2234);n(50)({target:"Reflect",stat:!0,sham:!o},{getPrototypeOf:function(e){return r(i(e))}})},function(e,t,n){n(50)({target:"Reflect",stat:!0},{has:function(e,t){return t in e}})},function(e,t,n){var r=n(178),i=Object.isExtensible;n(50)({target:"Reflect",stat:!0},{isExtensible:function(e){return r(e),!i||i(e)}})},function(e,t,n){n(50)({target:"Reflect",stat:!0},{ownKeys:n(2228)})},function(e,t,n){var r=n(2235),i=n(178),o=n(1124);n(50)({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(223),i=n(349),o=n(484),a=n(265),s=n(693),c=n(178),u=n(167);n(50)({target:"Reflect",stat:!0},{set:function e(t,n,l){var d,f,p=arguments.length<4?t:arguments[3],h=i.f(c(t),n);if(!h){if(u(f=o(t)))return e(f,n,l,p);h=s(0)}if(a(h,"value")){if(!1===h.writable||!u(p))return!1;if(d=i.f(p,n)){if(d.get||d.set||!1===d.writable)return!1;d.value=l,r.f(p,n,d)}else r.f(p,n,s(0,l));return!0}return void 0!==h.set&&(h.set.call(p,l),!0)}})},function(e,t,n){var r=n(1123),i=n(2286);r&&n(50)({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(207),i=n(189)("match"),o=n(141),a=n(1118),s=n(2237),c=n(223).f,u=n(694).f,l=n(2242),d=n(1255),f=n(363),p=n(130),h=o.RegExp,m=h.prototype,v=/a/g,g=/a/g,y=new h(v)!==v;if(a("RegExp",r&&(!y||p(function(){return g[i]=!1,h(v)!=v||h(g)==g||"/a/i"!=h(v,"i")})))){for(var b=function(e,t){var n=this instanceof b,r=l(e),i=void 0===t;return!n&&r&&e.constructor===b&&i?e:s(y?new h(r&&!i?e.source:e,t):h((r=e instanceof b)?e.source:e,r&&i?d.call(e):t),n?this:m,b)},_=function(e){e in b||c(b,e,{configurable:!0,get:function(){return h[e]},set:function(t){h[e]=t}})},w=u(h),E=0;E<w.length;)_(w[E++]);m.constructor=b,b.prototype=m,f(o,"RegExp",b)}n(771)("RegExp")},function(e,t,n){"use strict";var r=n(1256);n(50)({target:"RegExp",proto:!0,forced:/./.exec!==r},{exec:r})},function(e,t,n){n(207)&&"g"!=/./g.flags&&n(223).f(RegExp.prototype,"flags",{configurable:!0,get:n(1255)})},function(e,t,n){"use strict";var r=n(178),i=n(130),o=n(1255),a=n(207),s=/./.toString,c=i(function(){return"/a/b"!=s.call({source:"a",flags:"b"})}),u="toString"!=s.name;(c||u)&&n(363)(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(1251)("Set",function(e){return function(){return e(this,arguments.length>0?arguments[0]:void 0)}},n(2288))},function(e,t,n){"use strict";var r=n(1257);n(50)({target:"String",proto:!0},{codePointAt:function(e){return r(this,e)}})},function(e,t,n){"use strict";var r=n(202),i=n(2243),o="".endsWith,a=Math.min,s=n(2244)("endsWith");n(50)({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(602),i=String.fromCharCode,o=String.fromCodePoint,a=!!o&&1!=o.length;n(50)({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(2243),i=n(2244)("includes");n(50)({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(178),i=n(202),o=n(403),a=n(2245),s=n(1258);n(1259)("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=[],p=0;null!==(d=s(c,u));){var h=String(d[0]);f[p]=h,""===h&&(c.lastIndex=a(u,i(c.lastIndex),l)),p++}return 0===p?null:f}]})},function(e,t,n){"use strict";var r=n(2298),i=n(2299);n(50)({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(2298),i=n(2299);n(50)({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(362),i=n(202);n(50)({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(50)({target:"String",proto:!0},{repeat:n(2239)})},function(e,t,n){"use strict";var r=n(178),i=n(266),o=n(202),a=n(405),s=n(403),c=n(2245),u=n(1258),l=Math.max,d=Math.min,f=Math.floor,p=/\$([$&`']|\d\d?|<[^>]*>)/g,h=/\$([$&`']|\d\d?)/g;n(1259)("replace",2,function(e,t,n){return[function(n,r){var i=s(this),o=null==n?void 0:n[e];return void 0!==o?o.call(n,i,r):t.call(String(i),n,r)},function(e,i){var s=n(t,e,this,i);if(s.done)return s.value;var f=r(e),p=String(this),h="function"==typeof i;h||(i=String(i));var v=f.global;if(v){var g=f.unicode;f.lastIndex=0}for(var y=[];;){var b=u(f,p);if(null===b)break;if(y.push(b),!v)break;""===String(b[0])&&(f.lastIndex=c(p,o(f.lastIndex),g))}for(var _,w="",E=0,k=0;k<y.length;k++){b=y[k];for(var x=String(b[0]),S=l(d(a(b.index),p.length),0),T=[],O=1;O<b.length;O++)T.push(void 0===(_=b[O])?_:String(_));var C=b.groups;if(h){var j=[x].concat(T,S,p);void 0!==C&&j.push(C);var A=String(i.apply(void 0,j))}else A=m(x,p,S,T,C,i);S>=E&&(w+=p.slice(E,S)+A,E=S+x.length)}return w+p.slice(E)}];function m(e,n,r,o,a,s){var c=r+e.length,u=o.length,l=h;return void 0!==a&&(a=i(a),l=p),t.call(s,l,function(t,i){var s;switch(i.charAt(0)){case"$":return"$";case"&":return e;case"`":return n.slice(0,r);case"'":return n.slice(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(178),i=n(403),o=n(2293),a=n(1258);n(1259)("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(2242),i=n(178),o=n(403),a=n(606),s=n(2245),c=n(202),u=n(1258),l=n(1256),d=n(130),f=[].push,p=Math.min,h=!d(function(){return!RegExp(4294967295,"y")});n(1259)("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=[],p=(e.ignoreCase?"i":"")+(e.multiline?"m":"")+(e.unicode?"u":"")+(e.sticky?"y":""),h=0,m=new RegExp(e.source,p+"g");(s=l.call(m,i))&&!((c=m.lastIndex)>h&&(d.push(i.slice(h,s.index)),s.length>1&&s.index<i.length&&f.apply(d,s.slice(1)),u=s[0].length,h=c,d.length>=a));)m.lastIndex===s.index&&m.lastIndex++;return h===i.length?!u&&m.test("")||d.push(""):d.push(i.slice(h)),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":"")+(h?"y":"g"),y=new m(h?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,E=[];w<f.length;){y.lastIndex=h?w:0;var k,x=u(y,h?f:f.slice(w));if(null===x||(k=p(c(y.lastIndex+(h?0:w)),f.length))===_)w=s(f,w,v);else{if(E.push(f.slice(_,w)),E.length===b)return E;for(var S=1;S<=x.length-1;S++)if(E.push(x[S]),E.length===b)return E;w=_=k}}return E.push(f.slice(_)),E}]},!h)},function(e,t,n){"use strict";var r=n(202),i=n(2243),o=n(2244)("startsWith"),a="".startsWith;n(50)({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(773),i=n(2246)("trim");n(50)({target:"String",proto:!0,forced:i},{trim:function(){return r(this,3)}})},function(e,t,n){"use strict";var r=n(773),i=n(2246)("trimEnd"),o=i?function(){return r(this,2)}:"".trimEnd;n(50)({target:"String",proto:!0,forced:i},{trimEnd:o,trimRight:o})},function(e,t,n){"use strict";var r=n(773),i=n(2246)("trimStart"),o=i?function(){return r(this,1)}:"".trimStart;n(50)({target:"String",proto:!0,forced:i},{trimStart:o,trimLeft:o})},function(e,t,n){"use strict";var r=n(365),i=n(366)("anchor");n(50)({target:"String",proto:!0,forced:i},{anchor:function(e){return r(this,"a","name",e)}})},function(e,t,n){"use strict";var r=n(365),i=n(366)("big");n(50)({target:"String",proto:!0,forced:i},{big:function(){return r(this,"big","","")}})},function(e,t,n){"use strict";var r=n(365),i=n(366)("blink");n(50)({target:"String",proto:!0,forced:i},{blink:function(){return r(this,"blink","","")}})},function(e,t,n){"use strict";var r=n(365),i=n(366)("bold");n(50)({target:"String",proto:!0,forced:i},{bold:function(){return r(this,"b","","")}})},function(e,t,n){"use strict";var r=n(365),i=n(366)("fixed");n(50)({target:"String",proto:!0,forced:i},{fixed:function(){return r(this,"tt","","")}})},function(e,t,n){"use strict";var r=n(365),i=n(366)("fontcolor");n(50)({target:"String",proto:!0,forced:i},{fontcolor:function(e){return r(this,"font","color",e)}})},function(e,t,n){"use strict";var r=n(365),i=n(366)("fontsize");n(50)({target:"String",proto:!0,forced:i},{fontsize:function(e){return r(this,"font","size",e)}})},function(e,t,n){"use strict";var r=n(365),i=n(366)("italics");n(50)({target:"String",proto:!0,forced:i},{italics:function(){return r(this,"i","","")}})},function(e,t,n){"use strict";var r=n(365),i=n(366)("link");n(50)({target:"String",proto:!0,forced:i},{link:function(e){return r(this,"a","href",e)}})},function(e,t,n){"use strict";var r=n(365),i=n(366)("small");n(50)({target:"String",proto:!0,forced:i},{small:function(){return r(this,"small","","")}})},function(e,t,n){"use strict";var r=n(365),i=n(366)("strike");n(50)({target:"String",proto:!0,forced:i},{strike:function(){return r(this,"strike","","")}})},function(e,t,n){"use strict";var r=n(365),i=n(366)("sub");n(50)({target:"String",proto:!0,forced:i},{sub:function(){return r(this,"sub","","")}})},function(e,t,n){"use strict";var r=n(365),i=n(366)("sup");n(50)({target:"String",proto:!0,forced:i},{sup:function(){return r(this,"sup","","")}})},function(e,t,n){n(547)("Float32",4,function(e){return function(t,n,r){return e(this,t,n,r)}})},function(e,t,n){n(547)("Float64",8,function(e){return function(t,n,r){return e(this,t,n,r)}})},function(e,t,n){n(547)("Int8",1,function(e){return function(t,n,r){return e(this,t,n,r)}})},function(e,t,n){n(547)("Int16",2,function(e){return function(t,n,r){return e(this,t,n,r)}})},function(e,t,n){n(547)("Int32",4,function(e){return function(t,n,r){return e(this,t,n,r)}})},function(e,t,n){n(547)("Uint8",1,function(e){return function(t,n,r){return e(this,t,n,r)}})},function(e,t,n){n(547)("Uint8",1,function(e){return function(t,n,r){return e(this,t,n,r)}},!0)},function(e,t,n){n(547)("Uint16",2,function(e){return function(t,n,r){return e(this,t,n,r)}})},function(e,t,n){n(547)("Uint32",4,function(e){return function(t,n,r){return e(this,t,n,r)}})},function(e,t,n){"use strict";var r=n(2280),i=n(190),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(350)(4),i=n(190),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(2231),i=n(190),o=i.aTypedArray;i.exportProto("fill",function(e){return r.apply(o(this),arguments)})},function(e,t,n){"use strict";var r=n(606),i=n(190),o=n(350)(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(350)(5),i=n(190),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(350)(6),i=n(190),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(350)(0),i=n(190),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(2247),i=n(190),o=n(2301);i.exportStatic("from",o,r)},function(e,t,n){"use strict";var r=n(1245)(!0),i=n(190),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(1245)(!1),i=n(190),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(1249),i=n(141).Uint8Array,o=n(190),a=n(189)("iterator"),s=r.values,c=r.keys,u=r.entries,l=o.aTypedArray,d=o.exportProto,f=i&&i.prototype[a],p=!!f&&("values"==f.name||null==f.name),h=function(){return s.call(l(this))};d("entries",function(){return u.call(l(this))}),d("keys",function(){return c.call(l(this))}),d("values",h,!p),d(a,h,!p)},function(e,t,n){"use strict";var r=n(190),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(2646),i=n(190),o=i.aTypedArray;i.exportProto("lastIndexOf",function(e){return r.apply(o(this),arguments)})},function(e,t,n){"use strict";var r=n(362),i=n(405),o=n(202),a=[].lastIndexOf,s=!!a&&1/[1].lastIndexOf(1,-0)<0,c=n(1250)("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(606),i=n(190),o=i.aTypedArray,a=i.aTypedArrayConstructor,s=n(350)(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(2247),i=n(190),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(190),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(190),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(190),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(202),i=n(2300),o=n(266),a=n(190),s=a.aTypedArray,c=n(130)(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(606),i=n(190),o=i.aTypedArray,a=i.aTypedArrayConstructor,s=[].slice,c=n(130)(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(350)(3),i=n(190),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(190),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(202),i=n(602),o=n(606),a=n(190),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(141).Int8Array,i=n(130),o=n(190),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(141).Uint8Array,i=r&&r.prototype,o=n(190),a=[].toString,s=[].join;n(130)(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(141),o=n(772),a=n(697),s=n(2302),c=n(167),u=n(404).enforce,l=n(2272),d=!i.ActiveXObject&&"ActiveXObject"in i,f=Object.isExtensible,p=function(e){return function(){return e(this,arguments.length>0?arguments[0]:void 0)}},h=e.exports=n(1251)("WeakMap",p,s,!0,!0);if(l&&d){r=s.getConstructor(p,"WeakMap",!0),a.REQUIRED=!0;var m=h.prototype,v=m.delete,g=m.has,y=m.get,b=m.set;o(m,{delete:function(e){if(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(1251)("WeakSet",function(e){return function(){return e(this,arguments.length>0?arguments[0]:void 0)}},n(2302),!1,!0)},function(e,t,n){var r=n(2303),i=n(2662),o=n(337),a=n(141);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(350)(0),o=n(1250)("forEach");e.exports=o?function(e){return i(this,e,arguments[1])}:r},function(e,t,n){var r=n(2303),i=n(1249),o=n(141),a=n(337),s=n(189),c=s("iterator"),u=s("toStringTag"),l=i.values;for(var d in r){var f=o[d],p=f&&f.prototype;if(p){if(p[c]!==l)try{a(p,c,l)}catch(e){p[c]=l}if(p[u]||a(p,u,d),r[d])for(var h in i)if(p[h]!==i[h])try{a(p,h,i[h])}catch(e){p[h]=i[h]}}}},function(e,t,n){var r=n(141),i=n(2240),o=!r.setImmediate||!r.clearImmediate;n(50)({global:!0,bind:!0,enumerable:!0,forced:o},{setImmediate:i.set,clearImmediate:i.clear})},function(e,t,n){var r=n(2294),i=n(141).process,o="process"==n(439)(i);n(50)({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(2297);var r,i=n(207),o=n(2304),a=n(141).URL,s=n(2277),c=n(363),u=n(605),l=n(265),d=n(2291),f=n(2282),p=n(1257),h=n(2667),m=n(2305),v=m.URLSearchParams,g=m.getState,y=n(404),b=y.set,_=y.getterFor("URL"),w=Math.pow,E=/[a-zA-Z]/,k=/[a-zA-Z0-9+\-.]/,x=/\d/,S=/^(0x|0X)/,T=/^[0-7]+$/,O=/^\d+$/,C=/^[0-9A-Fa-f]+$/,j=/\u0000|\u0009|\u000A|\u000D|\u0020|#|%|\/|:|\?|@|\[|\\|\]/,A=/\u0000|\u0009|\u000A|\u000D|\u0020|#|\/|:|\?|@|\[|\\|\]/,N=/^[\u0000-\u001F\u0020]+|[\u0000-\u001F\u0020]+$/g,P=/\u0009|\u000A|\u000D/g,M=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=h(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],D);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?O:8==o?T:C).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&&C.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(!x.test(f()))return;for(;x.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},R=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},D={},B=d({},D,{" ":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=p(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&&E.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()},X=function(e){return"."===e||"%2e"===e.toLowerCase()},$={},Q={},Z={},J={},ee={},te={},ne={},re={},ie={},oe={},ae={},se={},ce={},ue={},le={},de={},fe={},pe={},he={},me={},ve={},ge=function(e,t,n,i){var o,a,s,c,u,d=n||$,p=0,h="",m=!1,v=!1,g=!1;for(n||(e.scheme="",e.username="",e.password="",e.host=null,e.port=null,e.path=[],e.query=null,e.fragment=null,e.cannotBeABaseURL=!1,t=t.replace(N,"")),t=t.replace(P,""),o=f(t);p<=o.length;){switch(a=o[p],d){case $:if(!a||!E.test(a)){if(n)return"Invalid scheme";d=Z;continue}h+=a.toLowerCase(),d=Q;break;case Q:if(a&&(k.test(a)||"+"==a||"-"==a||"."==a))h+=a.toLowerCase();else{if(":"!=a){if(n)return"Invalid scheme";h="",d=Z,p=0;continue}if(n&&(H(e)!=l(z,h)||"file"==h&&(V(e)||null!==e.port)||"file"==e.scheme&&!e.host))return;if(e.scheme=h,n)return void(H(e)&&z[e.scheme]==e.port&&(e.port=null));h="","file"==e.scheme?d=ue:H(e)&&i&&i.scheme==e.scheme?d=J:H(e)?d=re:"/"==o[p+1]?(d=ee,p++):(e.cannotBeABaseURL=!0,e.path.push(""),d=he)}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[p+1]){d=te;continue}d=ie,p++;break;case ee:if("/"==a){d=oe;break}d=pe;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=pe;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=pe;continue}d=oe}else d=ie;break;case re:if(d=ie,"/"!=a||"/"!=h.charAt(p+1))continue;p++;break;case ie:if("/"!=a&&"\\"!=a){d=oe;continue}break;case oe:if("@"==a){m&&(h="%40"+h),m=!0,s=f(h);for(var y=0;y<s.length;y++){var b=s[y];if(":"!=b||g){var _=q(b,U);g?e.password+=_:e.username+=_}else g=!0}h=""}else if(a==r||"/"==a||"?"==a||"#"==a||"\\"==a&&H(e)){if(m&&""==h)return"Invalid authority";p-=f(h).length+1,h="",d=ae}else h+=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)&&""==h)return"Invalid host";if(n&&""==h&&(V(e)||null!==e.port))return;if(c=M(e,h))return c;if(h="",d=fe,n)return;continue}"["==a?v=!0:"]"==a&&(v=!1),h+=a}else{if(""==h)return"Invalid host";if(c=M(e,h))return c;if(h="",d=ce,n==se)return}break;case ce:if(!x.test(a)){if(a==r||"/"==a||"?"==a||"#"==a||"\\"==a&&H(e)||n){if(""!=h){var w=parseInt(h,10);if(w>65535)return"Invalid port";e.port=H(e)&&w===z[e.scheme]?null:w,h=""}if(n)return;d=fe;continue}return"Invalid port"}h+=a;break;case ue:if(e.scheme="file","/"==a||"\\"==a)d=le;else{if(!i||"file"!=i.scheme){d=pe;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(p).join(""))||(e.host=i.host,e.path=i.path.slice(),K(e)),d=pe;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(p).join(""))&&(Y(i.path[0],!0)?e.path.push(i.path[0]):e.host=i.host),d=pe;continue;case de:if(a==r||"/"==a||"\\"==a||"?"==a||"#"==a){if(!n&&Y(h))d=pe;else if(""==h){if(e.host="",n)return;d=fe}else{if(c=M(e,h))return c;if("localhost"==e.host&&(e.host=""),n)return;h="",d=fe}continue}h+=a;break;case fe:if(H(e)){if(d=pe,"/"!=a&&"\\"!=a)continue}else if(n||"?"!=a)if(n||"#"!=a){if(a!=r&&(d=pe,"/"!=a))continue}else e.fragment="",d=ve;else e.query="",d=me;break;case pe:if(a==r||"/"==a||"\\"==a&&H(e)||!n&&("?"==a||"#"==a)){if(".."===(u=(u=h).toLowerCase())||"%2e."===u||".%2e"===u||"%2e%2e"===u?(K(e),"/"==a||"\\"==a&&H(e)||e.path.push("")):X(h)?"/"==a||"\\"==a&&H(e)||e.path.push(""):("file"==e.scheme&&!e.path.length&&Y(h)&&(e.host&&(e.host=""),h=h.charAt(0)+":"),e.path.push(h)),h="","file"==e.scheme&&(a==r||"?"==a||"#"==a))for(;e.path.length>1&&""===e.path[0];)e.path.shift();"?"==a?(e.query="",d=me):"#"==a&&(e.fragment="",d=ve)}else h+=q(a,F);break;case he:"?"==a?(e.query="",d=me):"#"==a?(e.fragment="",d=ve):a!=r&&(e.path[0]+=q(a,D));break;case me:n||"#"!=a?a!=r&&("'"==a&&H(e)?e.query+="%27":e.query+="#"==a?"%23":q(a,D)):(e.fragment="",d=ve);break;case ve:a!=r&&(e.fragment+=q(a,B))}p++}},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=Ee.call(r),r.username=ke.call(r),r.password=xe.call(r),r.host=Se.call(r),r.hostname=Te.call(r),r.port=Oe.call(r),r.pathname=Ce.call(r),r.search=je.call(r),r.searchParams=Ae.call(r),r.hash=Ne.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+=R(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+"://"+R(e.host)+(null!==n?":"+n:""):"null"},Ee=function(){return _(this).scheme+":"},ke=function(){return _(this).username},xe=function(){return _(this).password},Se=function(){var e=_(this),t=e.host,n=e.port;return null===t?"":null===n?R(t):R(t)+":"+n},Te=function(){var e=_(this).host;return null===e?"":R(e)},Oe=function(){var e=_(this).port;return null===e?"":String(e)},Ce=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},Ne=function(){var e=_(this).fragment;return e?"#"+e:""},Pe=function(e,t){return{get:e,set:t,configurable:!0,enumerable:!0}};if(i&&s(be,{href:Pe(_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:Pe(we),protocol:Pe(Ee,function(e){var t=_(this);ge(t,String(e)+":",$)}),username:Pe(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:Pe(xe,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:Pe(Se,function(e){var t=_(this);t.cannotBeABaseURL||ge(t,String(e),ae)}),hostname:Pe(Te,function(e){var t=_(this);t.cannotBeABaseURL||ge(t,String(e),se)}),port:Pe(Oe,function(e){var t=_(this);W(t)||(""==(e=String(e))?t.port=null:ge(t,e,ce))}),pathname:Pe(Ce,function(e){var t=_(this);t.cannotBeABaseURL||(t.path=[],ge(t,e+"",fe))}),search:Pe(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:Pe(Ae),hash:Pe(Ne,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 Me=a.createObjectURL,Le=a.revokeObjectURL;Me&&c(ye,"createObjectURL",function(e){return Me.apply(a,arguments)}),Le&&c(ye,"revokeObjectURL",function(e){return Le.apply(a,arguments)})}n(483)(ye,"URL"),n(50)({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 p=r.length,h=p;for(p&&r.push("-");h<i;){var m=2147483647;for(t=0;t<e.length;t++)(n=e[t])>=l&&n<m&&(m=n);var v=h+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,h==p),d=0,++h}}++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(178),i=n(1122);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(50)({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 O(r||[]);return o._invoke=function(e,t,n){var r=l;return function(i,o){if(r===f)throw new Error("Generator is already running");if(r===p){if("throw"===i)throw o;return j()}for(n.method=i,n.arg=o;;){var a=n.delegate;if(a){var s=x(a,n);if(s){if(s===h)continue;return s}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(r===l)throw r=p,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);r=f;var c=u(e,t,n);if("normal"===c.type){if(r=n.done?p:d,c.arg===h)continue;return{value:c.arg,done:n.done}}"throw"===c.type&&(r=p,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",p="completed",h={};function m(){}function v(){}function g(){}var y={};y[o]=function(){return this};var b=Object.getPrototypeOf,_=b&&b(b(C([])));_&&_!==n&&r.call(_,o)&&(y=_);var w=g.prototype=m.prototype=Object.create(y);function E(e){["next","throw","return"].forEach(function(t){e[t]=function(e){return this._invoke(t,e)}})}function k(e){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 x(e,n){var r=e.iterator[n.method];if(r===t){if(n.delegate=null,"throw"===n.method){if(e.iterator.return&&(n.method="return",n.arg=t,x(e,n),"throw"===n.method))return h;n.method="throw",n.arg=new TypeError("The iterator does not provide a 'throw' method")}return h}var i=u(r,e.iterator,n.arg);if("throw"===i.type)return n.method="throw",n.arg=i.arg,n.delegate=null,h;var o=i.arg;return o?o.done?(n[e.resultName]=o.value,n.next=e.nextLoc,"return"!==n.method&&(n.method="next",n.arg=t),n.delegate=null,h):o:(n.method="throw",n.arg=new TypeError("iterator result is not an object"),n.delegate=null,h)}function S(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function T(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function O(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(S,this),this.reset(!0)}function C(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}},E(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()})},E(w),w[s]="Generator",w[o]=function(){return this},w.toString=function(){return"[object Generator]"},e.keys=function(e){var t=[];for(var n in e)t.push(n);return t.reverse(),function n(){for(;t.length;){var r=t.pop();if(r in e)return n.value=r,n.done=!1,n}return n.done=!0,n}},e.values=C,O.prototype={constructor:O,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,h):this.complete(a)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),h},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),T(n),h}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var r=n.completion;if("throw"===r.type){var i=r.arg;T(n)}return i}}throw new Error("illegal catch attempt")},delegateYield:function(e,n,r){return this.delegate={iterator:C(e),resultName:n,nextLoc:r},"next"===this.method&&(this.arg=t),h}},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,h,m,v,g=i,y=p(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 E=p(y),k=E&&u(E),x=E&&this._computeTargetAndRootIntersection(E,k,o);k&&x?(y=E,_=d(k,x)):(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,h=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),h=Math.min(a.right,s.right),v=l-c,g=(m=h-f)>=0&&v>=0&&{top:c,bottom:l,left:f,right:h,width:m,height:v}||null),!g)break;y=y&&p(y)}return g}},a.prototype._getRootRect=function(){var t;if(this.root&&!h(this.root))t=u(this.root);else{var n=h(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=p(n)}return!1}function p(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 h(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(2248));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(2250),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(432),i=n(433),o=n(2679);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(2248));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(2308)),s=c(n(1261));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(88),n(1126),n(2249)),l=n(1260),d=n(1261),f=n(2307),p={to:d.string.isRequired,containerId:d.string,container:d.object,activeClass:d.string,spy:d.bool,smooth:d.oneOfType([d.bool,d.string]),offset:d.number,delay:d.number,isDynamic:d.bool,onClick:d.func,duration:d.oneOfType([d.number,d.func]),absolute:d.bool,onSetActive:d.func,onSetInactive:d.func,ignoreCancelEvents:d.bool,hashSpy:d.bool},h={Scroll:function(e,t){console.warn("Helpers.Scroll is deprecated since v1.7.0");var n=t||l,d=function(t){function l(e){o(this,l);var t=a(this,(l.__proto__||Object.getPrototypeOf(l)).call(this,e));return h.call(t),t.state={active:!1},t}return s(l,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 p)n.hasOwnProperty(i)&&delete n[i];return n.className=t,n.onClick=this.handleClick,c.createElement(e,n)}}]),l}(),h=function(){var e=this;this.scrollTo=function(t,i){n.scrollTo(t,r({},e.state,i))},this.handleClick=function(t){e.props.onClick&&e.props.onClick(t),t.stopPropagation&&t.stopPropagation(),t.preventDefault&&t.preventDefault(),e.scrollTo(e.props.to,e.props)},this.stateHandler=function(){n.getActiveLink()!==e.props.to&&(null!==e.state&&e.state.active&&e.props.onSetInactive&&e.props.onSetInactive(),e.setState({active:!1}))},this.spyHandler=function(t){var r=e.getScrollSpyContainer();if(!f.isMounted()||f.isInitialized()){var i=e.props.to,o=null,a=0,s=0,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,p=d>=Math.floor(a)&&d<Math.floor(s),h=d<Math.floor(a)||d>=Math.floor(s),m=n.getActiveLink();return h?(i===m&&n.setActiveLink(void 0),e.props.hashSpy&&f.getHash()===i&&f.changeHash(),e.props.spy&&e.state.active&&(e.setState({active:!1}),e.props.onSetInactive&&e.props.onSetInactive()),u.updateStates()):p&&m!==i?(n.setActiveLink(i),e.props.hashSpy&&f.changeHash(i),e.props.spy&&(e.setState({active:!0}),e.props.onSetActive&&e.props.onSetActive(i)),u.updateStates()):void 0}}};return d.propTypes=p,d.defaultProps={offset:0},d},Element:function(e){console.warn("Helpers.Element is deprecated since v1.7.0");var t=function(t){function n(e){o(this,n);var t=a(this,(n.__proto__||Object.getPrototypeOf(n)).call(this,e));return t.childBindings={domNode:null},t}return s(n,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=h},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(2685);e.exports=r},function(e,t,n){var r=n(2686),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(2687);var r=n(162);e.exports=r("Array").findIndex},function(e,t,n){"use strict";var r=n(44),i=n(355).findIndex,o=n(479),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(2694);e.exports=r},function(e,t,n){n(2695),e.exports=9007199254740991},function(e,t,n){n(44)({target:"Number",stat:!0},{MAX_SAFE_INTEGER:9007199254740991})},function(e,t,n){},function(e,t,n){},function(e,t,n){e.exports=n(2699)()},function(e,t,n){"use strict";var r=n(432),i=n(433),o=n(2700);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(2702)),a=s(n(2703));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(206)(n(2712));e.exports=r},function(e,t){e.exports=function(e){return e}},function(e,t,n){var r=n(2714);e.exports=r},function(e,t,n){var r=n(2715),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(2716);var r=n(162);e.exports=r("Array").sort},function(e,t,n){"use strict";var r=n(44),i=n(155),o=n(235),a=n(236),s=n(127),c=n(2717),u=n(1231),l=n(2718),d=n(2719),f=n(477),p=n(2720),h=[],m=h.sort,v=s(function(){h.sort(void 0)}),g=s(function(){h.sort(null)}),y=u("sort"),b=!s(function(){if(f)return f<70;if(!(l&&l>3)){if(d)return!0;if(p)return p<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++)h.push({k:t+r,v:n})}for(h.sort(function(e,t){return t.v-e.v}),r=0;r<h.length;r++)t=h[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(399).match(/firefox\/(\d+)/i);e.exports=!!r&&+r[1]},function(e,t,n){var r=n(399);e.exports=/MSIE|Trident/.test(r)},function(e,t,n){var r=n(399).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){},function(e,t,n){var r=n(1267),i=n(1266);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(2253)(n(2254));e.exports=r},function(e,t,n){var r=n(280),i=n(548),o=n(2255),a=n(2739),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(1267),i=n(338)(function(e,t){return r(e.length,function(){return e.apply(t,arguments)})});e.exports=i},function(e,t,n){var r=n(2337),i=n(548)(r("tail",n(2743)(1,1/0)));e.exports=i},function(e,t,n){var r=n(41),i=n(2337),o=n(2253)(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(338),i=n(2340),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(1268),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(338),o=n(2748),a=n(2252),s=n(2749),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(548),i=n(2750),o=r(function(e){return i(e,[])});e.exports=o},function(e,t,n){var r=n(280),i=n(4),o=n(1223),a=n(41),s=n(2751),c=n(2339),u=n(2770),l=n(2771),d=n(1269),f=n(2772);e.exports=function e(t,n){var p,h=function(r){var o=i(n).call(n,[t]);return s(r,o)?"<Circular>":e(r,o)},m=function(e,t){var n;return c(function(t){return u(t)+": "+h(e[t])},o(n=a(t).call(t)).call(n))};switch(Object.prototype.toString.call(t)){case"[object Arguments]":return"(function() { return arguments; }("+c(h,t).join(", ")+"))";case"[object Array]":return"["+i(p=c(h,t)).call(p,m(t,f(function(e){return/^\d+$/.test(e)},d(t)))).join(", ")+"]";case"[object Boolean]":return"object"===r(t)?"new Boolean("+h(t.valueOf())+")":t.toString();case"[object Date]":return"new Date("+(isNaN(t.valueOf())?h(NaN):u(l(t)))+")";case"[object Null]":return"null";case"[object Number]":return"object"===r(t)?"new Number("+h(t.valueOf())+")":1/t==-1/0?"-0":t.toString(10);case"[object String]":return"object"===r(t)?"new String("+h(t.valueOf())+")":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(2752);e.exports=function(e,t){return r(t,e,0)>=0}},function(e,t,n){var r=n(280),i=n(2753);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(338),i=n(2754),o=r(function(e,t){return i(e,t,[],[])});e.exports=o},function(e,t,n){var r=n(280),i=n(41),o=n(2755),a=n(4),s=n(164),c=n(2760),u=n(2761),l=n(2762),d=n(1268),f=n(2763),p=n(1269),h=n(2769);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=h(e);if(c!==h(t))return!1;if(null==e||null==t)return!1;if("function"==typeof e["fantasy-land/equals"]||"function"==typeof t["fantasy-land/equals"])return"function"==typeof e["fantasy-land/equals"]&&e["fantasy-land/equals"](t)&&"function"==typeof t["fantasy-land/equals"]&&t["fantasy-land/equals"](e);if("function"==typeof e.equals||"function"==typeof t.equals)return"function"==typeof e.equals&&e.equals(t)&&"function"==typeof t.equals&&t.equals(e);switch(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=p(e);if(g.length!==p(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(2756)},function(e,t,n){var r=n(2757);e.exports=r},function(e,t,n){n(328);var r=n(2758),i=n(348),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(2759);e.exports=r},function(e,t,n){n(478);var r=n(162);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(2764);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(2765)},function(e,t,n){var r=n(2766);e.exports=r},function(e,t,n){n(2767);var r=n(112);e.exports=r.Object.is},function(e,t,n){n(44)({target:"Object",stat:!0},{is:n(2768)})},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(548)(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(2773),i=n(338),o=n(2774),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(338),i=n(2338),o=n(2775),a=n(2776),s=n(2254),c=n(2777),u=n(1269),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(338),i=n(2340),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(601),i=n(401),o=n(402),a=n(209).type("Pair"),s=n(209).typeFn(a(),4),c=n(183),u=n(766),l=n(481),d=n(264),f=n(95),p=n(222),h=n(480);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 p(m,e)&&r(e.fst(),i())&&r(e.snd(),v())}function b(e){return function(t){if(!p(m,t))throw new TypeError("Pair."+e+": Pair required");var n=i(),r=v(),o=t.fst(),a=t.snd();if(!h(n)||!h(r))throw new TypeError("Pair."+e+": Both Pairs must contain Semigroups of the same type");if(!p(n,o)||!p(r,a))throw new TypeError("Pair."+e+": Both Pairs must contain Semigroups of the same type");return m(n.concat(o),r.concat(a))}}function _(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 E(e){return function(t){var n=i();if(!f(t))throw new TypeError("Pair."+e+": Function required");if(!h(n))throw new TypeError("Pair."+e+": Semigroups of the same type required for first values");var r=t(v());if(!p(m,r))throw new TypeError("Pair."+e+": Function must return a Pair");var o=r.fst();if(!p(n,o))throw new TypeError("Pair."+e+": Semigroups of the same type required for first values");return m(n.concat(o),r.snd())}}function 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(!p(m,e))throw new TypeError("Pair.ap: Pair required");var t=v();if(!f(t))throw new TypeError("Pair.ap: Function required for second value");var n=i(),r=e.fst();if(!h(n)||!p(n,r))throw new TypeError("Pair.ap: Semigroups of the same type is required for first values");return m(n.concat(r),t(e.snd()))},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:E("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]=E(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(237);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){},function(e,t,n){},function(e,t,n){},function(e,t,n){var r=n(2807),i=n(2808),o=n(1230);e.exports=function(e){return function(t,n,a){return a&&"number"!=typeof a&&i(t,n,a)&&(n=a=void 0),t=o(t),void 0===n?(n=t,t=0):n=o(n),a=void 0===a?t<n?1:-1:o(a),r(t,n,a,e)}}},function(e,t){var n=Math.ceil,r=Math.max;e.exports=function(e,t,i,o){for(var a=-1,s=r(n((t-e)/(i||1)),0),c=Array(s);s--;)c[o?s:++a]=e,e+=i;return c}},function(e,t,n){var r=n(763),i=n(765),o=n(764),a=n(317);e.exports=function(e,t,n){if(!a(n))return!1;var s=typeof t;return!!("number"==s?i(n)&&o(t,n.length):"string"==s&&t in n)&&r(n[t],e)}},function(e,t,n){var r=n(2810);n(2813),n(2814),n(2815),n(2816),n(2817),e.exports=r},function(e,t,n){n(600),n(2811),n(328);var r=n(112);e.exports=r.WeakMap},function(e,t,n){"use strict";var r,i=n(142),o=n(506),a=n(676),s=n(1232),c=n(2812),u=n(151),l=n(273).enforce,d=n(1228),f=!i.ActiveXObject&&"ActiveXObject"in i,p=Object.isExtensible,h=function(e){return function(){return e(this,arguments.length?arguments[0]:void 0)}},m=e.exports=s("WeakMap",h,c);if(d&&f){r=c.getConstructor(h,"WeakMap",!0),a.REQUIRED=!0;var v=m.prototype,g=v.delete,y=v.has,b=v.get,_=v.set;o(v,{delete:function(e){if(u(e)&&!p(e)){var t=l(this);return t.frozen||(t.frozen=new r),g.call(this,e)||t.frozen.delete(e)}return g.call(this,e)},has:function(e){if(u(e)&&!p(e)){var t=l(this);return t.frozen||(t.frozen=new r),y.call(this,e)||t.frozen.has(e)}return y.call(this,e)},get:function(e){if(u(e)&&!p(e)){var t=l(this);return t.frozen||(t.frozen=new r),y.call(this,e)?b.call(this,e):t.frozen.get(e)}return b.call(this,e)},set:function(e,t){if(u(e)&&!p(e)){var n=l(this);n.frozen||(n.frozen=new r),y.call(this,e)?_.call(this,e,t):n.frozen.set(e,t)}else _.call(this,e,t);return this}})}},function(e,t,n){"use strict";var r=n(506),i=n(676).getWeakData,o=n(102),a=n(151),s=n(400),c=n(143),u=n(355),l=n(182),d=n(273),f=d.set,p=d.getterFor,h=u.find,m=u.findIndex,v=0,g=function(e){return e.frozen||(e.frozen=new y)},y=function(){this.entries=[]},b=function(e,t){return h(e.entries,function(e){return e[0]===t})};y.prototype={get:function(e){var t=b(this,e);if(t)return t[1]},has:function(e){return!!b(this,e)},set:function(e,t){var n=b(this,e);n?n[1]=t:this.entries.push([e,t])},delete:function(e){var t=m(this.entries,function(t){return t[0]===e});return~t&&this.entries.splice(t,1),!!~t}},e.exports={getConstructor:function(e,t,n,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],{that:e,AS_ENTRIES:n})}),h=p(t),m=function(e,t,n){var r=h(e),a=i(o(t),!0);return!0===a?g(r).set(t,n):a[r.id]=n,e};return r(d.prototype,{delete:function(e){var t=h(this);if(!a(e))return!1;var n=i(e);return!0===n?g(t).delete(e):n&&l(n,t.id)&&delete n[t.id]},has:function(e){var t=h(this);if(!a(e))return!1;var n=i(e);return!0===n?g(t).has(e):n&&l(n,t.id)}}),r(d.prototype,n?{get:function(e){var t=h(this);if(a(e)){var n=i(e);return!0===n?g(t).get(e):n?n[t.id]:void 0}},set:function(e,t){return m(this,e,t)}}:{add:function(e){return m(this,e,!0)}}),d}}},function(e,t,n){"use strict";n(44)({target:"WeakMap",proto:!0,real:!0,forced:n(111)},{emplace:n(1236)})},function(e,t,n){n(44)({target:"WeakMap",stat:!0},{from:n(1233)})},function(e,t,n){n(44)({target:"WeakMap",stat:!0},{of:n(1234)})},function(e,t,n){"use strict";var r=n(44),i=n(111),o=n(1235);r({target:"WeakMap",proto:!0,real:!0,forced:i},{deleteAll:function(){return o.apply(this,arguments)}})},function(e,t,n){"use strict";n(44)({target:"WeakMap",proto:!0,real:!0,forced:n(111)},{upsert:n(767)})},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(285),i=n.n(r),o=(n(2473),n(2475),n(2476),n(2477),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(1249),n(2498),n(2499),n(2500),n(2501),n(2502),n(2503),n(2504),n(2505),n(2506),n(2507),n(2508),n(2509),n(2510),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(2525),n(2526),n(2527),n(2528),n(2529),n(2530),n(2531),n(2532),n(2533),n(2534),n(2535),n(2536),n(2537),n(2539),n(2540),n(2541),n(2542),n(2543),n(2544),n(2546),n(2548),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(2571),n(2572),n(2575),n(2576),n(2577),n(2579),n(2580),n(2581),n(2582),n(2583),n(2584),n(2585),n(2586),n(2587),n(2588),n(2589),n(2590),n(2591),n(2592),n(2593),n(2594),n(2595),n(2596),n(2597),n(2598),n(2297),n(2599),n(2600),n(2601),n(2602),n(2603),n(2604),n(2605),n(2606),n(2607),n(2608),n(2609),n(2610),n(2611),n(2612),n(2613),n(2614),n(2615),n(2616),n(2617),n(2618),n(2619),n(2620),n(2621),n(2622),n(2623),n(2624),n(2625),n(2626),n(2627),n(2628),n(2629),n(2630),n(2631),n(2632),n(2633),n(2634),n(2635),n(2636),n(2637),n(2638),n(2639),n(2640),n(2641),n(2642),n(2643),n(2644),n(2645),n(2647),n(2648),n(2649),n(2650),n(2651),n(2652),n(2653),n(2654),n(2655),n(2656),n(2657),n(2658),n(2659),n(2660),n(2661),n(2663),n(2664),n(2665),n(2666),n(2669),n(2305),n(2670),n(2671),n(2672),n(2673),n(2370)),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}),"function"!=typeof window.CustomEvent&&(window.CustomEvent=function(e,t){t=t||{bubbles:!1,cancelable:!1,detail:void 0};var n=document.createEvent("CustomEvent");return n.initCustomEvent(e,t.bubbles,t.cancelable,t.detail),n},window.CustomEvent.prototype=window.Event.prototype);var s=n(0),c=n.n(s),u=n(88),l=n(116),d=n(51),f=n(291),p=n.n(f),h=n(1274),m=n.n(h);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},E=function(e){return"/"===e.charAt(0)?e.substr(1):e},k=function(e,t){return new RegExp("^"+t+"(\\/|\\?|#|$)","i").test(e)},x=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},O=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},C=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=O({},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 p()(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):(p()(!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),N=function(e,t,n){return e.addEventListener?e.addEventListener(t,n,!1):e.attachEvent("on"+t,n)},P=function(e,t,n){return e.removeEventListener?e.removeEventListener(t,n,!1):e.detachEvent("on"+t,n)},M=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:"!/"+E(e)},decodePath:function(e){return"!"===e.charAt(0)?e.substr(1):e}},noslash:{encodePath:E,decodePath:w},slash:{encodePath:w,decodePath:w}},R=function(){var e=window.location.href,t=e.indexOf("#");return-1===t?"":e.substring(t+1)},D=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?M: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(R());return p()(!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=x(e,s)),C(e)},f=j(),h=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=R(),r=u(n);if(n!==r)D(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,h()):f.confirmTransitionTo(e,"POP",i,function(t){t?h({action:"POP",location:e}):E(e)})},E=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))},O=R(),B=u(O);O!==B&&D(B);var F=d(),U=[T(F)],q=function(e){p()(n,"Hash history go(n) causes a full page reload in this browser"),t.go(e)},z=0,H=function(e){1===(z+=e)?N(window,"hashchange",y):0===z&&P(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){p()(void 0===t,"Hash history cannot push state; it is ignored");var n=C(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(R()!==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,h({action:"PUSH",location:n})}else p()(!1,"Hash history cannot PUSH the same path; a new entry will not be added to the history stack"),h()}})},replace:function(e,t){p()(void 0===t,"Hash history cannot replace state; it is ignored");var n=C(e,void 0,void 0,W.location);f.confirmTransitionTo(n,"REPLACE",i,function(e){if(e){var t=T(n),r=u(s+t);R()!==r&&(g=t,D(r));var i=U.indexOf(T(W.location));-1!==i&&(U[i]=t),h({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(2674),n(1417),n(452)),U=n(73),q=n(78),z=n(2371),H=n(2377),V=n(2378),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"))},function(e,t,n){"use strict";n.r(t);var r=n(9),i=n(10),o=n(6),a=n(11),s=n(13),c=n(5),u=n(63),l=n.n(u),d=n(81),f=n.n(d),p=n(3),h=n.n(p),m=n(0),v=n.n(m),g=n(318),y=n.n(g),b=n(2),_=n.n(b),w=n(1279),E=n.n(w),k=n(116),x=n(179),S=n.n(x);function T(e){return null!=e&&"object"==typeof e&&(1===e.nodeType||11===e.nodeType)}function O(e,t){return(!t||"hidden"!==e)&&("visible"!==e&&"clip"!==e)}function C(e,t){if(e.clientHeight<e.scrollHeight||e.clientWidth<e.scrollWidth){var n=getComputedStyle(e,null);return O(n.overflowY,t)||O(n.overflowX,t)}return!1}function j(e,t,n,r,i,o,a,s){return o<e&&a>t||o>e&&a<t?0:o<e&&s<n||a>t&&s>n?o-e-r:a>t&&s<n||o<e&&s>n?a-t+i:0}var A=function(e,t){var n=t.scrollMode,r=t.block,i=t.inline,o=t.boundary,a=t.skipOverflowHiddenElements,s="function"==typeof o?o:function(e){return e!==o};if(!T(e))throw new TypeError("Invalid target");for(var c=document.scrollingElement||document.documentElement,u=[],l=e;T(l)&&s(l);){if((l=l.parentNode||l.host)===c){u.push(l);break}l===document.body&&C(l)&&!C(document.documentElement)||C(l,a)&&u.push(l)}for(var d=window.visualViewport?visualViewport.width:innerWidth,f=window.visualViewport?visualViewport.height:innerHeight,p=window.scrollX||pageXOffset,h=window.scrollY||pageYOffset,m=e.getBoundingClientRect(),v=m.height,g=m.width,y=m.top,b=m.right,_=m.bottom,w=m.left,E="start"===r||"nearest"===r?y:"end"===r?_:y+v/2,k="center"===i?w+g/2:"end"===i?b:w,x=[],S=0;S<u.length;S++){var O=u[S],A=O.getBoundingClientRect(),N=A.height,P=A.width,M=A.top,L=A.right,I=A.bottom,R=A.left;if("if-needed"===n&&y>=0&&w>=0&&_<=f&&b<=d&&y>=M&&_<=I&&w>=R&&b<=L)return x;var D=getComputedStyle(O),B=parseInt(D.borderLeftWidth,10),F=parseInt(D.borderTopWidth,10),U=parseInt(D.borderRightWidth,10),q=parseInt(D.borderBottomWidth,10),z=0,H=0,V="offsetWidth"in O?O.offsetWidth-O.clientWidth-B-U:0,W="offsetHeight"in O?O.offsetHeight-O.clientHeight-F-q:0;if(c===O)z="start"===r?E:"end"===r?E-f:"nearest"===r?j(h,h+f,f,F,q,h+E,h+E+v,v):E-f/2,H="start"===i?k:"center"===i?k-d/2:"end"===i?k-d:j(p,p+d,d,B,U,p+k,p+k+g,g),z=Math.max(0,z+h),H=Math.max(0,H+p);else{z="start"===r?E-M-F:"end"===r?E-I+q+W:"nearest"===r?j(M,I,N,F,q+W,E,E+v,v):E-(M+N/2)+W/2,H="start"===i?k-R-B:"center"===i?k-(R+P/2)+V/2:"end"===i?k-L+U+V:j(R,L,P,B,U+V,k,k+g,g);var Y=O.scrollLeft,G=O.scrollTop;E+=G-(z=Math.max(0,Math.min(G+z,O.scrollHeight-N+W))),k+=Y-(H=Math.max(0,Math.min(Y+H,O.scrollWidth-P+V)))}x.push({el:O,top:z,left:H})}return x};function N(e){return e===Object(e)&&0!==Object.keys(e).length}var P=function(e,t){if(N(t)&&"function"==typeof t.behavior)return t.behavior(A(e,t));var n=function(e){return!1===e?{block:"end",inline:"nearest"}:N(e)?e:{block:"start",inline:"nearest"}}(t);return function(e,t){void 0===t&&(t="auto");var n="scrollBehavior"in document.body.style;e.forEach(function(e){var r=e.el,i=e.top,o=e.left;r.scroll&&n?r.scroll({top:i,left:o,behavior:t}):(r.scrollTop=i,r.scrollLeft=o)})}(A(e,n),n.behavior)},M=n(716),L=n(1280),I=n(82),R=n(78),D=n(1281),B=n(322),F=n(73),U=n(200),q=n(210),z=n(1300),H=n(23),V=n(319),W=n(52),Y=n(576),G=n(252),K=n(199),X=n(101),$=n(2421),Q=n(2443),Z=n(139),J=n(599),ee=n(27),te=n.n(ee),ne=n(7),re=n.n(ne),ie=n(2829),oe=n(734),ae=n(287);function se(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(c.a)(e);if(t){var i=Object(c.a)(this).constructor;n=h()(r,arguments,i)}else n=r.apply(this,arguments);return Object(s.a)(this,n)}}var ce=l()(document.createElement("div"),{id:"portal"});function ue(e){(null!=e?e:document.body).appendChild(ce),ce.style.display=e?"":"none"}ue();var le=function(e){Object(a.a)(n,e);var t=se(n);function n(e){var i;return Object(r.a)(this,n),(i=t.call(this,e)).state={previewType:"",failAttempt:!1,scrollTo:null,showPasswordDialog:!0},i.onSharePasswordSubmit=i.onSharePasswordSubmit.bind(Object(o.a)(i)),i.onFavoriteAdded=i.onFavoriteAdded.bind(Object(o.a)(i)),i.onFavoriteRemoved=i.onFavoriteRemoved.bind(Object(o.a)(i)),i}return Object(i.a)(n,[{key:"componentWillMount",value:function(){I.a.isIe11&&document.documentElement.classList.add("ie11"),I.a.isSafari9&&document.documentElement.classList.add("safari9"),I.a.isIphoneSafari&&document.documentElement.classList.add("iphone-safari"),I.a.isSafari&&"iframe"===this.props.match.params.mode&&E.a.enable(),window.addEventListener("message",this.handleMessages.bind(this)),Object(H.k)()}},{key:"componentDidMount",value:function(){document.documentElement.lang=this.props.languageCode,Object(U.h)("favoriteAdded",this.onFavoriteAdded),Object(U.h)("favoriteRemoved",this.onFavoriteRemoved)}},{key:"updateConnectionStatus",value:function(e){Object(R.a)(Object(q.b)(e))}},{key:"componentDidUpdate",value:function(e){var t=this.props.languageCode;!e.languageCode&&t&&(document.documentElement.lang=t)}},{key:"componentWillUnmount",value:function(){window.removeEventListener("message",this.handleMessages.bind(this)),Object(U.g)("favoriteAdded",this.onFavoriteAdded),Object(U.g)("favoriteRemoved",this.onFavoriteRemoved)}},{key:"handleMessages",value:function(e){var t=this,n=e.data;if(function(e){return e===window.location.origin}(e.origin)){var r=this.props,i=r.history,o=r.location.pathname,a=this.props.course.lessonsOnly;Object(ie.a)(n).forEach(function(e){var n=e.type,r=e.data;if(function(e){var t;return f()(t=["preview:menuOpen","preview:navigate","preview:scrollto","preview:themeUpdate","preview:update"]).call(t,e)}(n)){if("preview:update"===n&&t.setState({previewType:r}),"preview:themeUpdate"===n&&t.handleThemePreviewUpdate(r),"preview:menuOpen"===n&&window.dispatchEvent(new CustomEvent(J.b)),"preview:navigate"===n){var s=r.type;(function(e,t){return!("firstLesson"===e&&f()(t).call(t,"/lessons/")||"cover"===e&&("/"===t||"/preview"===t))})(s,o)&&("firstLesson"===s?i.push("/lessons/".concat(a[0].id)):"cover"===s&&i.push("/"))}if("preview:scrollto"===n&&"string"==typeof r.target){var c=document.querySelector(r.target);c&&P(c,{behavior:"smooth",block:"start"})}}})}}},{key:"handleThemePreviewUpdate",value:function(e){var t=e.course,n=e.fonts,r=e.theme;this.cancelThemePreviewUpdate();var i=this.props.course,o=te()("theme",r,t),a=Object(oe.a)(i,o),s=new S.a(function(e,t){Object(Y.a)(n,t)});this.cancelThemePreviewUpdate=s.fork(console.warn,function(){Object(R.a)(Object(ae.e)({course:a,fonts:n}))})}},{key:"onSharePasswordSubmit",value:function(e){var t=this;return Object(F.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(R.a)(Object(B.d)())}},{key:"onFavoriteRemoved",value:function(){Object(R.a)(Object(B.e)())}},{key:"renderAppLayout",value:function(){if(!this.props.course)return null;var e=this.props,t=e.easterEggClassNames,n=e.course,r=e.course,i=r.bodyTypeface,o=r.color,a=r.headingTypeface,s=r.themeId,c=r.type,u=r.uiTypeface,l=e.courseProgress,d=e.labels,f=e.lessons,p=e.location,h=e.partnerContent,m=e.search,g=e.sessionPreferences,b={course:n,courseProgress:l,labels:d,lessons:f,location:p,partnerContent:h,previewType:this.state.previewType,search:m,sessionPreferences:g,themeId:s},w={bodyTypeface:i,color:o,headingTypeface:a,uiTypeface:u},E=Object(W.f)(o),k=_()("theme",t,s,{"dark-accent":E,"light-accent":!E}),x=c===Z.a;return v.a.createElement(K.a,{course:n,partnerContent:h,search:m},v.a.createElement(X.c,{themeId:s},v.a.createElement(G.a,{courseColor:o},v.a.createElement(y.a,{title:Object(V.a)(n.title)},v.a.createElement("div",{id:"innerApp",className:k,ref:ue},v.a.createElement(M.a,w),v.a.createElement(L.a,{env:"runtime"},x?v.a.createElement(Q.a,b):v.a.createElement($.a,b)))))))}},{key:"render",value:function(){var e=this.props.course.hasPassword,t=this.state,n=t.failAttempt,r=t.showPasswordDialog&&Object(F.m)()&&(!!e||Object(F.l)()),i=this.onSharePasswordSubmit;return r?v.a.createElement(z.a,{failAttempt:n,onSubmit:i}):this.renderAppLayout()}}]),n}(m.Component);le.prototype.cancelThemePreviewUpdate=Function.prototype;var de=re()(D.a,k.h);t.default=de(le)},,function(e,t,n){"use strict";var r=n(0);t.a=function(e,t){var n=Object(r.useState)(null),i=n[0],o=n[1];return Object(r.useEffect)(function(){if(e.current&&"function"==typeof IntersectionObserver){var n=new IntersectionObserver(function(e){o(e[0])},t);return n.observe(e.current),function(){o(null),n.disconnect()}}return function(){}},[e.current,t.threshold,t.root,t.rootMargin]),i}},function(e,t,n){"use strict";var r=n(20),i=null,o=null;try{i=new Function("return function* () {}")().constructor,o=Object(r.is)(i)}catch(e){o=r.F}var a=Object(r.curryN)(1,Object(r.either)(Object(r.pipe)(r.type,Object(r.identical)("GeneratorFunction")),o)),s=Object(r.curryN)(1,Object(r.pipe)(r.type,Object(r.identical)("AsyncFunction"))),c=Object(r.anyPass)([Object(r.pipe)(r.type,Object(r.identical)("Function")),a,s]),u=Object(r.curryN)(1,c(Array.isArray)?Array.isArray:Object(r.pipe)(r.type,Object(r.identical)("Array"))),l=Object(r.complement)(u),d=Object(r.when)(l,r.of);t.a=d}]);