@canopycanopycanopy/b-ber-reader-react 1.2.13-media-queries.60

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js ADDED
@@ -0,0 +1,35 @@
1
+ !function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t(require("react"),require("react-dom")):"function"==typeof define&&define.amd?define(["react","react-dom"],t):"object"==typeof exports?exports.BberReader=t(require("react"),require("react-dom")):e.BberReader=t(e.React,e.ReactDOM)}(window,(function(e,t){return function(e){var t={};function r(n){if(t[n])return t[n].exports;var o=t[n]={i:n,l:!1,exports:{}};return e[n].call(o.exports,o,o.exports,r),o.l=!0,o.exports}return r.m=e,r.c=t,r.d=function(e,t,n){r.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},r.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},r.t=function(e,t){if(1&t&&(e=r(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(r.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)r.d(n,o,function(t){return e[t]}.bind(null,o));return n},r.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return r.d(t,"a",t),t},r.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},r.p="/",r(r.s=446)}([function(t,r){t.exports=e},function(e,t,r){var n=r(196),o=r(39),i=r(462);n||o(Object.prototype,"toString",i,{unsafe:!0})},function(e,t,r){"use strict";var n=r(48),o=r(197),i=r(123),a=r(43),u=r(31).f,s=r(198),c=r(62),l=r(23),f=a.set,p=a.getterFor("Array Iterator");e.exports=s(Array,"Array",(function(e,t){f(this,{type:"Array Iterator",target:n(e),index:0,kind:t})}),(function(){var e=p(this),t=e.target,r=e.kind,n=e.index++;return!t||n>=t.length?(e.target=void 0,{value:void 0,done:!0}):"keys"==r?{value:n,done:!1}:"values"==r?{value:t[n],done:!1}:{value:[n,t[n]],done:!1}}),"values");var d=i.Arguments=i.Array;if(o("keys"),o("values"),o("entries"),!c&&l&&"values"!==d.name)try{u(d,"name",{value:"values"})}catch(e){}},function(e,t,r){r(454),r(458),r(459),r(460),r(461)},function(e,t,r){"use strict";var n=r(199).charAt,o=r(38),i=r(43),a=r(198),u=i.set,s=i.getterFor("String Iterator");a(String,"String",(function(e){u(this,{type:"String Iterator",string:o(e),index:0})}),(function(){var e,t=s(this),r=t.string,o=t.index;return o>=r.length?{value:void 0,done:!0}:(e=n(r,o),t.index+=e.length,{value:e,done:!1})}))},function(e,t,r){var n=r(13),o=r(308),i=r(309),a=r(2),u=r(63),s=r(18),c=s("iterator"),l=s("toStringTag"),f=a.values,p=function(e,t){if(e){if(e[c]!==f)try{u(e,c,f)}catch(t){e[c]=f}if(e[l]||u(e,l,t),o[t])for(var r in a)if(e[r]!==a[r])try{u(e,r,a[r])}catch(t){e[r]=a[r]}}};for(var d in o)p(n[d]&&n[d].prototype,d);p(i,"DOMTokenList")},function(e,t,r){var n=r(23),o=r(101).EXISTS,i=r(10),a=r(31).f,u=Function.prototype,s=i(u.toString),c=/function\b(?:\s|\/\*[\S\s]*?\*\/|\/\/[^\n\r]*[\n\r]+)*([^\s(/]*)/,l=i(c.exec);n&&!o&&a(u,"name",{configurable:!0,get:function(){try{return l(c,s(this))[1]}catch(e){return""}}})},function(e,t,r){"use strict";var n=r(12),o=r(23),i=r(13),a=r(10),u=r(25),s=r(21),c=r(61),l=r(38),f=r(31).f,p=r(299),d=i.Symbol,h=d&&d.prototype;if(o&&s(d)&&(!("description"in h)||void 0!==d().description)){var y={},v=function(){var e=arguments.length<1||void 0===arguments[0]?void 0:l(arguments[0]),t=c(h,this)?new d(e):void 0===e?d():d(e);return""===e&&(y[t]=!0),t};p(v,d),v.prototype=h,h.constructor=v;var m="Symbol(test)"==String(d("test")),b=a(h.toString),g=a(h.valueOf),w=/^Symbol\((.*)\)[^)]+$/,S=a("".replace),O=a("".slice);f(h,"description",{configurable:!0,get:function(){var e=g(this),t=b(e);if(u(y,e))return"";var r=m?O(t,7,-1):S(t,w,"$1");return""===r?void 0:r}}),n({global:!0,constructor:!0,forced:!0},{Symbol:v})}},function(e,t,r){r(150)("iterator")},function(e,t){e.exports=function(e){try{return!!e()}catch(e){return!0}}},function(e,t,r){var n=r(114),o=Function.prototype,i=o.bind,a=o.call,u=n&&i.bind(a,a);e.exports=n?function(e){return e&&u(e)}:function(e){return e&&function(){return a.apply(e,arguments)}}},function(e,t,r){"use strict";function n(e){return(n="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)}r(2),r(1),r(4),r(15),r(5),r(14),r(17),r(16),r(3),r(7),r(8),Object.defineProperty(t,"__esModule",{value:!0});var o={tokenize:!0,tokenTypes:!0,tokenNames:!0};Object.defineProperty(t,"tokenNames",{enumerable:!0,get:function(){return c.default}}),t.tokenTypes=void 0,t.tokenize=function(e,t){function r(t){return t<l?e.charCodeAt(t):0}function n(){return p=(0,u.consumeNumber)(e,p),(0,a.isIdentifierStart)(r(p),r(p+1),r(p+2))?(c=i.Dimension,void(p=(0,u.consumeName)(e,p))):37===r(p)?(c=i.Percentage,void p++):void(c=i.Number)}function o(){var t=p;return p=(0,u.consumeName)(e,p),(0,u.cmpStr)(e,t,p,"url")&&40===r(p)?34===r(p=(0,u.findWhiteSpaceEnd)(e,p+1))||39===r(p)?(c=i.Function,void(p=t+4)):void function(){for(c=i.Url,p=(0,u.findWhiteSpaceEnd)(e,p);p<e.length;p++){var t=e.charCodeAt(p);switch((0,a.charCodeCategory)(t)){case 41:return void p++;case a.WhiteSpaceCategory:return 41===r(p=(0,u.findWhiteSpaceEnd)(e,p))||p>=e.length?void(p<e.length&&p++):(p=(0,u.consumeBadUrlRemnants)(e,p),void(c=i.BadUrl));case 34:case 39:case 40:case a.NonPrintableCategory:return p=(0,u.consumeBadUrlRemnants)(e,p),void(c=i.BadUrl);case 92:if((0,a.isValidEscape)(t,r(p+1))){p=(0,u.consumeEscaped)(e,p)-1;break}return p=(0,u.consumeBadUrlRemnants)(e,p),void(c=i.BadUrl)}}}():40===r(p)?(c=i.Function,void p++):void(c=i.Ident)}function s(t){for(t||(t=r(p++)),c=i.String;p<e.length;p++){var n=e.charCodeAt(p);switch((0,a.charCodeCategory)(n)){case t:return void p++;case a.WhiteSpaceCategory:if((0,a.isNewline)(n))return p+=(0,u.getNewlineLength)(e,p,n),void(c=i.BadString);break;case 92:if(p===e.length-1)break;var o=r(p+1);(0,a.isNewline)(o)?p+=(0,u.getNewlineLength)(e,p+1,o):(0,a.isValidEscape)(n,o)&&(p=(0,u.consumeEscaped)(e,p)-1)}}}var c,l=(e=String(e||"")).length,f=(0,a.isBOM)(r(0)),p=f;for(;p<l;){var d=e.charCodeAt(p);switch((0,a.charCodeCategory)(d)){case a.WhiteSpaceCategory:c=i.WhiteSpace,p=(0,u.findWhiteSpaceEnd)(e,p+1);break;case 34:s();break;case 35:(0,a.isName)(r(p+1))||(0,a.isValidEscape)(r(p+1),r(p+2))?(c=i.Hash,p=(0,u.consumeName)(e,p+1)):(c=i.Delim,p++);break;case 39:s();break;case 40:c=i.LeftParenthesis,p++;break;case 41:c=i.RightParenthesis,p++;break;case 43:(0,a.isNumberStart)(d,r(p+1),r(p+2))?n():(c=i.Delim,p++);break;case 44:c=i.Comma,p++;break;case 45:(0,a.isNumberStart)(d,r(p+1),r(p+2))?n():45===r(p+1)&&62===r(p+2)?(c=i.CDC,p+=3):(0,a.isIdentifierStart)(d,r(p+1),r(p+2))?o():(c=i.Delim,p++);break;case 46:(0,a.isNumberStart)(d,r(p+1),r(p+2))?n():(c=i.Delim,p++);break;case 47:42===r(p+1)?(c=i.Comment,p=-1===(p=e.indexOf("*/",p+2))?e.length:p+2):(c=i.Delim,p++);break;case 58:c=i.Colon,p++;break;case 59:c=i.Semicolon,p++;break;case 60:33===r(p+1)&&45===r(p+2)&&45===r(p+3)?(c=i.CDO,p+=4):(c=i.Delim,p++);break;case 64:(0,a.isIdentifierStart)(r(p+1),r(p+2),r(p+3))?(c=i.AtKeyword,p=(0,u.consumeName)(e,p+1)):(c=i.Delim,p++);break;case 91:c=i.LeftSquareBracket,p++;break;case 92:(0,a.isValidEscape)(d,r(p+1))?o():(c=i.Delim,p++);break;case 93:c=i.RightSquareBracket,p++;break;case 123:c=i.LeftCurlyBracket,p++;break;case 125:c=i.RightCurlyBracket,p++;break;case a.DigitCategory:n();break;case a.NameStartCategory:o();break;default:c=i.Delim,p++}t(c,f,f=p)}};var i=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!==n(e)&&"function"!=typeof e)return{default:e};var r=p(t);if(r&&r.has(e))return r.get(e);var o={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if("default"!==a&&Object.prototype.hasOwnProperty.call(e,a)){var u=i?Object.getOwnPropertyDescriptor(e,a):null;u&&(u.get||u.set)?Object.defineProperty(o,a,u):o[a]=e[a]}o.default=e,r&&r.set(e,o);return o}(r(411));t.tokenTypes=i,Object.keys(i).forEach((function(e){"default"!==e&&"__esModule"!==e&&(Object.prototype.hasOwnProperty.call(o,e)||e in t&&t[e]===i[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return i[e]}}))}));var a=r(245);Object.keys(a).forEach((function(e){"default"!==e&&"__esModule"!==e&&(Object.prototype.hasOwnProperty.call(o,e)||e in t&&t[e]===a[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return a[e]}}))}));var u=r(412);Object.keys(u).forEach((function(e){"default"!==e&&"__esModule"!==e&&(Object.prototype.hasOwnProperty.call(o,e)||e in t&&t[e]===u[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return u[e]}}))}));var s,c=(s=r(413))&&s.__esModule?s:{default:s},l=r(736);Object.keys(l).forEach((function(e){"default"!==e&&"__esModule"!==e&&(Object.prototype.hasOwnProperty.call(o,e)||e in t&&t[e]===l[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return l[e]}}))}));var f=r(773);function p(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,r=new WeakMap;return(p=function(e){return e?r:t})(e)}Object.keys(f).forEach((function(e){"default"!==e&&"__esModule"!==e&&(Object.prototype.hasOwnProperty.call(o,e)||e in t&&t[e]===f[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return f[e]}}))}))},function(e,t,r){var n=r(13),o=r(71).f,i=r(63),a=r(39),u=r(194),s=r(299),c=r(119);e.exports=function(e,t){var r,l,f,p,d,h=e.target,y=e.global,v=e.stat;if(r=y?n:v?n[h]||u(h,{}):(n[h]||{}).prototype)for(l in t){if(p=t[l],f=e.dontCallGetSet?(d=o(r,l))&&d.value:r[l],!c(y?l:h+(v?".":"#")+l,e.forced)&&void 0!==f){if(typeof p==typeof f)continue;s(p,f)}(e.sham||f&&f.sham)&&i(p,"sham",!0),a(r,l,p,e)}}},function(e,t,r){(function(t){var r=function(e){return e&&e.Math==Math&&e};e.exports=r("object"==typeof globalThis&&globalThis)||r("object"==typeof window&&window)||r("object"==typeof self&&self)||r("object"==typeof t&&t)||function(){return this}()||Function("return this")()}).call(this,r(51))},function(e,t,r){var n=r(12),o=r(9),i=r(48),a=r(71).f,u=r(23),s=o((function(){a(1)}));n({target:"Object",stat:!0,forced:!u||s,sham:!u},{getOwnPropertyDescriptor:function(e,t){return a(i(e),t)}})},function(e,t,r){r(465)},function(e,t,r){var n=r(12),o=r(40),i=r(120);n({target:"Object",stat:!0,forced:r(9)((function(){i(1)}))},{keys:function(e){return i(o(e))}})},function(e,t,r){var n=r(13),o=r(308),i=r(309),a=r(463),u=r(63),s=function(e){if(e&&e.forEach!==a)try{u(e,"forEach",a)}catch(t){e.forEach=a}};for(var c in o)o[c]&&s(n[c]&&n[c].prototype);s(i)},function(e,t,r){var n=r(13),o=r(100),i=r(25),a=r(117),u=r(98),s=r(294),c=o("wks"),l=n.Symbol,f=l&&l.for,p=s?l:l&&l.withoutSetter||a;e.exports=function(e){if(!i(c,e)||!u&&"string"!=typeof c[e]){var t="Symbol."+e;u&&i(l,e)?c[e]=l[e]:c[e]=s&&f?f(t):p(t)}return c[e]}},function(e,t,r){"use strict";var n=r(12),o=r(158);n({target:"RegExp",proto:!0,forced:/./.exec!==o},{exec:o})},function(e,t,r){var n=r(114),o=Function.prototype.call;e.exports=n?o.bind(o):function(){return o.apply(o,arguments)}},function(e,t){e.exports=function(e){return"function"==typeof e}},function(e,t,r){"use strict";var n,o,i,a=r(416),u=r(23),s=r(13),c=r(21),l=r(24),f=r(25),p=r(76),d=r(85),h=r(63),y=r(39),v=r(31).f,m=r(61),b=r(124),g=r(86),w=r(18),S=r(117),O=r(43),_=O.enforce,x=O.get,E=s.Int8Array,P=E&&E.prototype,k=s.Uint8ClampedArray,j=k&&k.prototype,T=E&&b(E),A=P&&b(P),C=Object.prototype,L=s.TypeError,R=w("toStringTag"),I=S("TYPED_ARRAY_TAG"),N=a&&!!g&&"Opera"!==p(s.opera),M=!1,D={Int8Array:1,Uint8Array:1,Uint8ClampedArray:1,Int16Array:2,Uint16Array:2,Int32Array:4,Uint32Array:4,Float32Array:4,Float64Array:8},U={BigInt64Array:8,BigUint64Array:8},F=function(e){var t=b(e);if(l(t)){var r=x(t);return r&&f(r,"TypedArrayConstructor")?r.TypedArrayConstructor:F(t)}},B=function(e){if(!l(e))return!1;var t=p(e);return f(D,t)||f(U,t)};for(n in D)(i=(o=s[n])&&o.prototype)?_(i).TypedArrayConstructor=o:N=!1;for(n in U)(i=(o=s[n])&&o.prototype)&&(_(i).TypedArrayConstructor=o);if((!N||!c(T)||T===Function.prototype)&&(T=function(){throw L("Incorrect invocation")},N))for(n in D)s[n]&&g(s[n],T);if((!N||!A||A===C)&&(A=T.prototype,N))for(n in D)s[n]&&g(s[n].prototype,A);if(N&&b(j)!==A&&g(j,A),u&&!f(A,R))for(n in M=!0,v(A,R,{get:function(){return l(this)?this[I]:void 0}}),D)s[n]&&h(s[n],I,n);e.exports={NATIVE_ARRAY_BUFFER_VIEWS:N,TYPED_ARRAY_TAG:M&&I,aTypedArray:function(e){if(B(e))return e;throw L("Target is not a typed array")},aTypedArrayConstructor:function(e){if(c(e)&&(!g||m(T,e)))return e;throw L(d(e)+" is not a typed array constructor")},exportTypedArrayMethod:function(e,t,r,n){if(u){if(r)for(var o in D){var i=s[o];if(i&&f(i.prototype,e))try{delete i.prototype[e]}catch(r){try{i.prototype[e]=t}catch(e){}}}A[e]&&!r||y(A,e,r?t:N&&P[e]||t,n)}},exportTypedArrayStaticMethod:function(e,t,r){var n,o;if(u){if(g){if(r)for(n in D)if((o=s[n])&&f(o,e))try{delete o[e]}catch(e){}if(T[e]&&!r)return;try{return y(T,e,r?t:N&&T[e]||t)}catch(e){}}for(n in D)!(o=s[n])||o[e]&&!r||y(o,e,t)}},getTypedArrayConstructor:F,isView:function(e){if(!l(e))return!1;var t=p(e);return"DataView"===t||f(D,t)||f(U,t)},isTypedArray:B,TypedArray:T,TypedArrayPrototype:A}},function(e,t,r){var n=r(9);e.exports=!n((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]}))},function(e,t,r){var n=r(21);e.exports=function(e){return"object"==typeof e?null!==e:n(e)}},function(e,t,r){var n=r(10),o=r(40),i=n({}.hasOwnProperty);e.exports=Object.hasOwn||function(e,t){return i(o(e),t)}},function(e,t,r){"use strict";var n=r(12),o=r(151),i=r(152),a=r(24),u=r(75),s=r(44),c=r(48),l=r(122),f=r(18),p=r(153),d=r(102),h=p("slice"),y=f("species"),v=Array,m=Math.max;n({target:"Array",proto:!0,forced:!h},{slice:function(e,t){var r,n,f,p=c(this),h=s(p),b=u(e,h),g=u(void 0===t?h:t,h);if(o(p)&&(r=p.constructor,(i(r)&&(r===v||o(r.prototype))||a(r)&&null===(r=r[y]))&&(r=void 0),r===v||void 0===r))return d(p,b,g);for(n=new(void 0===r?v:r)(m(g-b,0)),f=0;b<g;b++,f++)b in p&&l(n,f,p[b]);return n.length=f,n}})},function(e,t,r){"use strict";var n=r(12),o=r(46).filter;n({target:"Array",proto:!0,forced:!r(153)("filter")},{filter:function(e){return o(this,e,arguments.length>1?arguments[1]:void 0)}})},function(e,t,r){r(12)({target:"Object",stat:!0},{setPrototypeOf:r(86)})},function(e,t,r){var n=r(12),o=r(9),i=r(40),a=r(124),u=r(312);n({target:"Object",stat:!0,forced:o((function(){a(1)})),sham:!u},{getPrototypeOf:function(e){return a(i(e))}})},function(e,t,r){var n=r(24),o=String,i=TypeError;e.exports=function(e){if(n(e))return e;throw i(o(e)+" is not an object")}},function(e,t,r){var n=r(23),o=r(295),i=r(296),a=r(30),u=r(116),s=TypeError,c=Object.defineProperty,l=Object.getOwnPropertyDescriptor;t.f=n?i?function(e,t,r){if(a(e),t=u(t),a(r),"function"==typeof e&&"prototype"===t&&"value"in r&&"writable"in r&&!r.writable){var n=l(e,t);n&&n.writable&&(e[t]=r.value,r={configurable:"configurable"in r?r.configurable:n.configurable,enumerable:"enumerable"in r?r.enumerable:n.enumerable,writable:!1})}return c(e,t,r)}:c:function(e,t,r){if(a(e),t=u(t),a(r),o)try{return c(e,t,r)}catch(e){}if("get"in r||"set"in r)throw s("Accessors not supported");return"value"in r&&(e[t]=r.value),e}},function(e,t,r){"use strict";var n=r(12),o=r(9),i=r(151),a=r(24),u=r(40),s=r(44),c=r(503),l=r(122),f=r(306),p=r(153),d=r(18),h=r(99),y=d("isConcatSpreadable"),v=h>=51||!o((function(){var e=[];return e[y]=!1,e.concat()[0]!==e})),m=p("concat"),b=function(e){if(!a(e))return!1;var t=e[y];return void 0!==t?!!t:i(e)};n({target:"Array",proto:!0,arity:1,forced:!v||!m},{concat:function(e){var t,r,n,o,i,a=u(this),p=f(a,0),d=0;for(t=-1,n=arguments.length;t<n;t++)if(b(i=-1===t?a:arguments[t]))for(o=s(i),c(d+o),r=0;r<o;r++,d++)r in i&&l(p,d,i[r]);else c(d+1),l(p,d++,i);return p.length=d,p}})},function(e,t,r){var n=r(12),o=r(49),i=r(77),a=r(556),u=r(208),s=r(30),c=r(24),l=r(67),f=r(9),p=o("Reflect","construct"),d=Object.prototype,h=[].push,y=f((function(){function e(){}return!(p((function(){}),[],e)instanceof e)})),v=!f((function(){p((function(){}))})),m=y||v;n({target:"Reflect",stat:!0,forced:m,sham:m},{construct:function(e,t){u(e),s(t);var r=arguments.length<3?e:u(arguments[2]);if(v&&!y)return p(e,t,r);if(e==r){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 n=[null];return i(h,n,t),new(i(a,e,n))}var o=r.prototype,f=l(c(o)?o:d),m=i(e,f,t);return c(m)?m:f}})},function(e,t,r){var n=r(12),o=r(23),i=r(300),a=r(48),u=r(71),s=r(122);n({target:"Object",stat:!0,sham:!o},{getOwnPropertyDescriptors:function(e){for(var t,r,n=a(e),o=u.f,c=i(n),l={},f=0;c.length>f;)void 0!==(r=o(n,t=c[f++]))&&s(l,t,r);return l}})},function(e,t,r){var n=r(12),o=r(325);n({target:"Array",stat:!0,forced:!r(156)((function(e){Array.from(e)}))},{from:o})},function(e,t,r){var n=r(12),o=r(328);n({target:"Object",stat:!0,arity:2,forced:Object.assign!==o},{assign:o})},function(e,t,r){"use strict";r.r(t),r.d(t,"Provider",(function(){return f})),r.d(t,"connectAdvanced",(function(){return P})),r.d(t,"ReactReduxContext",(function(){return i})),r.d(t,"connect",(function(){return H})),r.d(t,"useDispatch",(function(){return $})),r.d(t,"createDispatchHook",(function(){return Y})),r.d(t,"useSelector",(function(){return Z})),r.d(t,"createSelectorHook",(function(){return Q})),r.d(t,"useStore",(function(){return K})),r.d(t,"createStoreHook",(function(){return G})),r.d(t,"shallowEqual",(function(){return j})),r.d(t,"batch",(function(){return ee.unstable_batchedUpdates}));var n=r(0),o=r.n(n),i=o.a.createContext(null);var a=function(e){e()};function u(){var e=a,t=null,r=null;return{clear:function(){t=null,r=null},notify:function(){e((function(){for(var e=t;e;)e.callback(),e=e.next}))},get:function(){for(var e=[],r=t;r;)e.push(r),r=r.next;return e},subscribe:function(e){var n=!0,o=r={callback:e,next:null,prev:r};return o.prev?o.prev.next=o:t=o,function(){n&&null!==t&&(n=!1,o.next?o.next.prev=o.prev:r=o.prev,o.prev?o.prev.next=o.next:t=o.next)}}}}var s={notify:function(){},get:function(){return[]}};function c(e,t){var r,n=s;function o(){a.onStateChange&&a.onStateChange()}function i(){r||(r=t?t.addNestedSub(o):e.subscribe(o),n=u())}var a={addNestedSub:function(e){return i(),n.subscribe(e)},notifyNestedSubs:function(){n.notify()},handleChangeWrapper:o,isSubscribed:function(){return Boolean(r)},trySubscribe:i,tryUnsubscribe:function(){r&&(r(),r=void 0,n.clear(),n=s)},getListeners:function(){return n}};return a}var l="undefined"!=typeof window&&void 0!==window.document&&void 0!==window.document.createElement?n.useLayoutEffect:n.useEffect;var f=function(e){var t=e.store,r=e.context,a=e.children,u=Object(n.useMemo)((function(){var e=c(t);return{store:t,subscription:e}}),[t]),s=Object(n.useMemo)((function(){return t.getState()}),[t]);l((function(){var e=u.subscription;return e.onStateChange=e.notifyNestedSubs,e.trySubscribe(),s!==t.getState()&&e.notifyNestedSubs(),function(){e.tryUnsubscribe(),e.onStateChange=null}}),[u,s]);var f=r||i;return o.a.createElement(f.Provider,{value:u},a)},p=r(47);function d(e,t){if(null==e)return{};var r,n,o={},i=Object.keys(e);for(n=0;n<i.length;n++)r=i[n],t.indexOf(r)>=0||(o[r]=e[r]);return o}var h=r(291),y=r.n(h),v=r(445),m=["getDisplayName","methodName","renderCountProp","shouldHandleStateChanges","storeKey","withRef","forwardRef","context"],b=["reactReduxForwardedRef"],g=[],w=[null,null];function S(e,t){var r=e[1];return[t.payload,r+1]}function O(e,t,r){l((function(){return e.apply(void 0,t)}),r)}function _(e,t,r,n,o,i,a){e.current=n,t.current=o,r.current=!1,i.current&&(i.current=null,a())}function x(e,t,r,n,o,i,a,u,s,c){if(e){var l=!1,f=null,p=function(){if(!l){var e,r,p=t.getState();try{e=n(p,o.current)}catch(e){r=e,f=e}r||(f=null),e===i.current?a.current||s():(i.current=e,u.current=e,a.current=!0,c({type:"STORE_UPDATED",payload:{error:r}}))}};r.onStateChange=p,r.trySubscribe(),p();return function(){if(l=!0,r.tryUnsubscribe(),r.onStateChange=null,f)throw f}}}var E=function(){return[null,0]};function P(e,t){void 0===t&&(t={});var r=t,a=r.getDisplayName,u=void 0===a?function(e){return"ConnectAdvanced("+e+")"}:a,s=r.methodName,l=void 0===s?"connectAdvanced":s,f=r.renderCountProp,h=void 0===f?void 0:f,P=r.shouldHandleStateChanges,k=void 0===P||P,j=r.storeKey,T=void 0===j?"store":j,A=(r.withRef,r.forwardRef),C=void 0!==A&&A,L=r.context,R=void 0===L?i:L,I=d(r,m),N=R;return function(t){var r=t.displayName||t.name||"Component",i=u(r),a=Object(p.a)({},I,{getDisplayName:u,methodName:l,renderCountProp:h,shouldHandleStateChanges:k,storeKey:T,displayName:i,wrappedComponentName:r,WrappedComponent:t}),s=I.pure;var f=s?n.useMemo:function(e){return e()};function m(r){var i=Object(n.useMemo)((function(){var e=r.reactReduxForwardedRef,t=d(r,b);return[r.context,e,t]}),[r]),u=i[0],s=i[1],l=i[2],h=Object(n.useMemo)((function(){return u&&u.Consumer&&Object(v.isContextConsumer)(o.a.createElement(u.Consumer,null))?u:N}),[u,N]),y=Object(n.useContext)(h),m=Boolean(r.store)&&Boolean(r.store.getState)&&Boolean(r.store.dispatch);Boolean(y)&&Boolean(y.store);var P=m?r.store:y.store,j=Object(n.useMemo)((function(){return function(t){return e(t.dispatch,a)}(P)}),[P]),T=Object(n.useMemo)((function(){if(!k)return w;var e=c(P,m?null:y.subscription),t=e.notifyNestedSubs.bind(e);return[e,t]}),[P,m,y]),A=T[0],C=T[1],L=Object(n.useMemo)((function(){return m?y:Object(p.a)({},y,{subscription:A})}),[m,y,A]),R=Object(n.useReducer)(S,g,E),I=R[0][0],M=R[1];if(I&&I.error)throw I.error;var D=Object(n.useRef)(),U=Object(n.useRef)(l),F=Object(n.useRef)(),B=Object(n.useRef)(!1),q=f((function(){return F.current&&l===U.current?F.current:j(P.getState(),l)}),[P,I,l]);O(_,[U,D,B,l,q,F,C]),O(x,[k,P,A,j,U,D,B,F,C,M],[P,A,j]);var W=Object(n.useMemo)((function(){return o.a.createElement(t,Object(p.a)({},q,{ref:s}))}),[s,t,q]);return Object(n.useMemo)((function(){return k?o.a.createElement(h.Provider,{value:L},W):W}),[h,W,L])}var P=s?o.a.memo(m):m;if(P.WrappedComponent=t,P.displayName=m.displayName=i,C){var j=o.a.forwardRef((function(e,t){return o.a.createElement(P,Object(p.a)({},e,{reactReduxForwardedRef:t}))}));return j.displayName=i,j.WrappedComponent=t,y()(j,t)}return y()(P,t)}}function k(e,t){return e===t?0!==e||0!==t||1/e==1/t:e!=e&&t!=t}function j(e,t){if(k(e,t))return!0;if("object"!=typeof e||null===e||"object"!=typeof t||null===t)return!1;var r=Object.keys(e),n=Object.keys(t);if(r.length!==n.length)return!1;for(var o=0;o<r.length;o++)if(!Object.prototype.hasOwnProperty.call(t,r[o])||!k(e[r[o]],t[r[o]]))return!1;return!0}function T(e){return function(t,r){var n=e(t,r);function o(){return n}return o.dependsOnOwnProps=!1,o}}function A(e){return null!==e.dependsOnOwnProps&&void 0!==e.dependsOnOwnProps?Boolean(e.dependsOnOwnProps):1!==e.length}function C(e,t){return function(t,r){r.displayName;var n=function(e,t){return n.dependsOnOwnProps?n.mapToProps(e,t):n.mapToProps(e)};return n.dependsOnOwnProps=!0,n.mapToProps=function(t,r){n.mapToProps=e,n.dependsOnOwnProps=A(e);var o=n(t,r);return"function"==typeof o&&(n.mapToProps=o,n.dependsOnOwnProps=A(o),o=n(t,r)),o},n}}var L=[function(e){return"function"==typeof e?C(e):void 0},function(e){return e?void 0:T((function(e){return{dispatch:e}}))},function(e){return e&&"object"==typeof e?T((function(t){return function(e,t){var r={},n=function(n){var o=e[n];"function"==typeof o&&(r[n]=function(){return t(o.apply(void 0,arguments))})};for(var o in e)n(o);return r}(e,t)})):void 0}];var R=[function(e){return"function"==typeof e?C(e):void 0},function(e){return e?void 0:T((function(){return{}}))}];function I(e,t,r){return Object(p.a)({},r,e,t)}var N=[function(e){return"function"==typeof e?function(e){return function(t,r){r.displayName;var n,o=r.pure,i=r.areMergedPropsEqual,a=!1;return function(t,r,u){var s=e(t,r,u);return a?o&&i(s,n)||(n=s):(a=!0,n=s),n}}}(e):void 0},function(e){return e?void 0:function(){return I}}];var M=["initMapStateToProps","initMapDispatchToProps","initMergeProps"];function D(e,t,r,n){return function(o,i){return r(e(o,i),t(n,i),i)}}function U(e,t,r,n,o){var i,a,u,s,c,l=o.areStatesEqual,f=o.areOwnPropsEqual,p=o.areStatePropsEqual,d=!1;function h(o,d){var h,y,v=!f(d,a),m=!l(o,i);return i=o,a=d,v&&m?(u=e(i,a),t.dependsOnOwnProps&&(s=t(n,a)),c=r(u,s,a)):v?(e.dependsOnOwnProps&&(u=e(i,a)),t.dependsOnOwnProps&&(s=t(n,a)),c=r(u,s,a)):m?(h=e(i,a),y=!p(h,u),u=h,y&&(c=r(u,s,a)),c):c}return function(o,l){return d?h(o,l):(u=e(i=o,a=l),s=t(n,a),c=r(u,s,a),d=!0,c)}}function F(e,t){var r=t.initMapStateToProps,n=t.initMapDispatchToProps,o=t.initMergeProps,i=d(t,M),a=r(e,i),u=n(e,i),s=o(e,i);return(i.pure?U:D)(a,u,s,e,i)}var B=["pure","areStatesEqual","areOwnPropsEqual","areStatePropsEqual","areMergedPropsEqual"];function q(e,t,r){for(var n=t.length-1;n>=0;n--){var o=t[n](e);if(o)return o}return function(t,n){throw new Error("Invalid value of type "+typeof e+" for "+r+" argument when connecting component "+n.wrappedComponentName+".")}}function W(e,t){return e===t}function z(e){var t=void 0===e?{}:e,r=t.connectHOC,n=void 0===r?P:r,o=t.mapStateToPropsFactories,i=void 0===o?R:o,a=t.mapDispatchToPropsFactories,u=void 0===a?L:a,s=t.mergePropsFactories,c=void 0===s?N:s,l=t.selectorFactory,f=void 0===l?F:l;return function(e,t,r,o){void 0===o&&(o={});var a=o,s=a.pure,l=void 0===s||s,h=a.areStatesEqual,y=void 0===h?W:h,v=a.areOwnPropsEqual,m=void 0===v?j:v,b=a.areStatePropsEqual,g=void 0===b?j:b,w=a.areMergedPropsEqual,S=void 0===w?j:w,O=d(a,B),_=q(e,i,"mapStateToProps"),x=q(t,u,"mapDispatchToProps"),E=q(r,c,"mergeProps");return n(f,Object(p.a)({methodName:"connect",getDisplayName:function(e){return"Connect("+e+")"},shouldHandleStateChanges:Boolean(e),initMapStateToProps:_,initMapDispatchToProps:x,initMergeProps:E,pure:l,areStatesEqual:y,areOwnPropsEqual:m,areStatePropsEqual:g,areMergedPropsEqual:S},O))}}var H=z();function V(){return Object(n.useContext)(i)}function G(e){void 0===e&&(e=i);var t=e===i?V:function(){return Object(n.useContext)(e)};return function(){return t().store}}var K=G();function Y(e){void 0===e&&(e=i);var t=e===i?K:G(e);return function(){return t().dispatch}}var $=Y(),X=function(e,t){return e===t};function Q(e){void 0===e&&(e=i);var t=e===i?V:function(){return Object(n.useContext)(e)};return function(e,r){void 0===r&&(r=X);var o=t(),i=function(e,t,r,o){var i,a=Object(n.useReducer)((function(e){return e+1}),0)[1],u=Object(n.useMemo)((function(){return c(r,o)}),[r,o]),s=Object(n.useRef)(),f=Object(n.useRef)(),p=Object(n.useRef)(),d=Object(n.useRef)(),h=r.getState();try{if(e!==f.current||h!==p.current||s.current){var y=e(h);i=void 0!==d.current&&t(y,d.current)?d.current:y}else i=d.current}catch(e){throw s.current&&(e.message+="\nThe error may be correlated with this previous error:\n"+s.current.stack+"\n\n"),e}return l((function(){f.current=e,p.current=h,d.current=i,s.current=void 0})),l((function(){function e(){try{var e=r.getState();if(e===p.current)return;var n=f.current(e);if(t(n,d.current))return;d.current=n,p.current=e}catch(e){s.current=e}a()}return u.onStateChange=e,u.trySubscribe(),e(),function(){return u.tryUnsubscribe()}}),[r,u]),i}(e,r,o.store,o.subscription);return Object(n.useDebugValue)(i),i}}var J,Z=Q(),ee=r(292);J=ee.unstable_batchedUpdates,a=J},function(e,t,r){var n=r(76),o=String;e.exports=function(e){if("Symbol"===n(e))throw TypeError("Cannot convert a Symbol value to a string");return o(e)}},function(e,t,r){var n=r(21),o=r(31),i=r(297),a=r(194);e.exports=function(e,t,r,u){u||(u={});var s=u.enumerable,c=void 0!==u.name?u.name:t;if(n(r)&&i(r,c,u),u.global)s?e[t]=r:a(t,r);else{try{u.unsafe?e[t]&&(s=!0):delete e[t]}catch(e){}s?e[t]=r:o.f(e,t,{value:r,enumerable:!1,configurable:!u.nonConfigurable,writable:!u.nonWritable})}return e}},function(e,t,r){var n=r(60),o=Object;e.exports=function(e){return o(n(e))}},function(e,t,r){"use strict";r(26),r(1),r(6),r(35),r(4),r(19),r(3),r(7),r(8),r(2),r(5),r(16),r(27),r(14),r(17),r(34),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=r(45);function o(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function i(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?o(Object(r),!0).forEach((function(t){f(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):o(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function a(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null==r)return;var n,o,i=[],a=!0,u=!1;try{for(r=r.call(e);!(a=(n=r.next()).done)&&(i.push(n.value),!t||i.length!==t);a=!0);}catch(e){u=!0,o=e}finally{try{a||null==r.return||r.return()}finally{if(u)throw o}}return i}(e,t)||u(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function u(e,t){if(e){if("string"==typeof e)return s(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?s(e,t):void 0}}function s(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function c(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function l(e,t,r){return t&&c(e.prototype,t),r&&c(e,r),Object.defineProperty(e,"prototype",{writable:!1}),e}function f(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var p=l((function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e)}));f(p,"isMinimumScrollingAspectRatio",(function(){return window.matchMedia(n.MEDIA_QUERY_MIN_SCROLLING_ASPECT_RATIO).matches})),f(p,"isSingleColumn",(function(){var e=p.getCss().css;return 1===parseInt(e.columns,10)||p.isMinimumScrollingAspectRatio()})),f(p,"isVerticallyScrolling",(function(e){var t=e.layout;return p.isSingleColumn()||t===n.layouts.SCROLL})),f(p,"isTouch",(function(){return"ontouchstart"in window||window.navigator.msPointerEnabled||"ontouchstart"in document.documentElement})),f(p,"isPixelValue",(function(e){return"px"===(e||"").substring(e.length-2)})),f(p,"isPercentageValue",(function(e){return"%"===(e||"").substring(e.length-1)})),f(p,"parseStringWidthValue",(function(e){var t=0;return p.isPixelValue(e)?t=parseInt(e,10):p.isPercentageValue(e)?t=window.innerWidth*parseInt(e,10)/100:console.error("Unsupported value `%s`",e),t})),f(p,"parseStringHeightValue",(function(e){var t=0;return p.isPixelValue(e)?t=parseInt(e,10):p.isPercentageValue(e)?t=window.innerHeight*parseInt(e,10)/100:console.error("Unsupported value `%s`",e),t})),f(p,"getHorizontalSpacing",(function(e){if("auto"===e)return 0;var t=p.parseStringWidthValue(e);return(window.innerWidth-t)/2})),f(p,"getVerticalSpacing",(function(e){if("auto"===e)return 0;var t=p.parseStringHeightValue(e);return t=(window.innerHeight-t)/2,t=Math.max(0,t)})),f(p,"getCss",(function(){var e,t=n.MEDIA_QUERY_DESKTOP_MD,r=n.horizontalBreakpoints.get(t),o=function(e,t){var r="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!r){if(Array.isArray(e)||(r=u(e))||t&&e&&"number"==typeof e.length){r&&(e=r);var n=0,o=function(){};return{s:o,n:function(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]}},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 i,a=!0,s=!1;return{s:function(){r=r.call(e)},n:function(){var e=r.next();return a=e.done,e},e:function(e){s=!0,i=e},f:function(){try{a||null==r.return||r.return()}finally{if(s)throw i}}}}(n.horizontalBreakpoints);try{for(o.s();!(e=o.n()).done;){var s=a(e.value,2),c=s[0],l=s[1];if(window.matchMedia(c).matches){r=i({},l),t=c;break}}}catch(e){o.e(e)}finally{o.f()}return{css:r,mediaQuery:t}})),f(p,"getStyles",(function(){var e=p.getCss().css,t=e.maxWidth,r=e.maxHeight,n=e.columnGap,o=e.columns,i=e.paddingLeft,a=e.paddingRight,u=e.paddingTop,s=e.paddingBottom,c=e.fontSize,l=p.getHorizontalSpacing(t),f=p.getVerticalSpacing(r);return{paddingLeft:l+parseInt(i,10),paddingRight:l+parseInt(a,10),paddingTop:f+parseInt(u,10),paddingBottom:f+parseInt(s,10),columnGap:parseInt(n,10),fontSize:c,columns:o}})),f(p,"styles",(function(){return p.getStyles()}));var d=p;t.default=d},function(e,t,r){var n=r(82),o=r(184);e.exports=function(e){return function t(r,i){switch(arguments.length){case 0:return t;case 1:return o(r)?t:n((function(t){return e(r,t)}));default:return o(r)&&o(i)?t:o(r)?n((function(t){return e(t,i)})):o(i)?n((function(t){return e(r,t)})):e(r,i)}}}},function(e,t,r){var n,o,i,a=r(298),u=r(13),s=r(10),c=r(24),l=r(63),f=r(25),p=r(193),d=r(147),h=r(118),y=u.TypeError,v=u.WeakMap;if(a||p.state){var m=p.state||(p.state=new v),b=s(m.get),g=s(m.has),w=s(m.set);n=function(e,t){if(g(m,e))throw new y("Object already initialized");return t.facade=e,w(m,e,t),t},o=function(e){return b(m,e)||{}},i=function(e){return g(m,e)}}else{var S=d("state");h[S]=!0,n=function(e,t){if(f(e,S))throw new y("Object already initialized");return t.facade=e,l(e,S,t),t},o=function(e){return f(e,S)?e[S]:{}},i=function(e){return f(e,S)}}e.exports={set:n,get:o,has:i,enforce:function(e){return i(e)?o(e):n(e,{})},getterFor:function(e){return function(t){var r;if(!c(t)||(r=o(t)).type!==e)throw y("Incompatible receiver, "+e+" required");return r}}}},function(e,t,r){var n=r(65);e.exports=function(e){return n(e.length)}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.transitions=t.themes=t.messagesTypes=t.layouts=t.horizontalBreakpoints=t.RESIZE_DEBOUNCE_TIMER=t.MUTATION_DEBOUNCE_TIMER=t.MEDIA_QUERY_TABLET=t.MEDIA_QUERY_SLIDING=t.MEDIA_QUERY_SCROLLING=t.MEDIA_QUERY_MOBILE=t.MEDIA_QUERY_MIN_SCROLLING_ASPECT_RATIO=t.MEDIA_QUERY_DESKTOP_XL=t.MEDIA_QUERY_DESKTOP_SM=t.MEDIA_QUERY_DESKTOP_MD=t.MEDIA_QUERY_DESKTOP_LG=t.MEDIA_PLAYBACK_RATES=t.MEDIA_CONTROLS_PRESETS=t.DEFERRED_CALLBACK_TIMER=void 0,r(2),r(1),r(89),r(4),r(5),r(94);t.RESIZE_DEBOUNCE_TIMER=60;t.MUTATION_DEBOUNCE_TIMER=60;t.DEFERRED_CALLBACK_TIMER=60;t.transitions={SLIDE:"slide",FADE:"fade"};t.themes={DEFAULT:"default",LIGHT:"light",DARK:"dark"};t.messagesTypes={PAGINATION_EVENT:"PAGINATION_EVENT",DEFERRED_EVENT:"DEFERRED_EVENT",CLICK_EVENT:"CLICK_EVENT",KEYDOWN_EVENT:"KEYDOWN_EVENT",NAVIGATION_EVENT:"NAVIGATION_EVENT",DOWNLOAD_EVENT:"DOWNLOAD_EVENT",SCROLL_EVENT:"SCROLL_EVENT"};t.MEDIA_PLAYBACK_RATES={SLOW:.5,NORMAL:1,FAST:1.5};var n=new Set(["simple","normal","full"]);t.MEDIA_CONTROLS_PRESETS=n;t.layouts={SCROLL:"scroll",COLUMNS:"columns"};t.MEDIA_QUERY_MIN_SCROLLING_ASPECT_RATIO="only screen and (min-aspect-ratio: 13 / 5)";t.MEDIA_QUERY_MOBILE="only screen and (max-width: 768px)";var o="only screen and (min-width: 768px) and (max-width: 1140px)";t.MEDIA_QUERY_TABLET=o;t.MEDIA_QUERY_DESKTOP_SM="only screen and (min-width: 1140px) and (max-width: 1140px)";t.MEDIA_QUERY_DESKTOP_MD="only screen and (min-width: 1140px) and (max-width: 1440px)";t.MEDIA_QUERY_DESKTOP_LG="only screen and (min-width: 1440px) and (max-width: 1920px)";t.MEDIA_QUERY_DESKTOP_XL="only screen and (min-width: 1920px)";t.MEDIA_QUERY_SCROLLING="only screen and (max-width: 1140px), (min-aspect-ratio: 13 / 5)";t.MEDIA_QUERY_SLIDING="only screen and (min-width: 1140px) and (max-aspect-ratio: 13 / 5)";var i=new Map([["only screen and (max-width: 768px)",{maxWidth:"100%",maxHeight:"auto",columnGap:"45px",columns:1,paddingLeft:"15px",paddingRight:"15px",paddingTop:0,paddingBottom:"80px",fontSize:"clamp(130%, 1.5vw, 160%)"}],[o,{maxWidth:"738px",maxHeight:"auto",columnGap:"45px",columns:1,paddingLeft:0,paddingRight:0,paddingTop:0,paddingBottom:"80px",fontSize:"clamp(130%, 1.5vw, 160%)"}],["only screen and (min-width: 1140px) and (max-width: 1140px)",{maxWidth:"900px",maxHeight:"500px",columnGap:"45px",columns:2,paddingLeft:0,paddingRight:0,paddingTop:0,paddingBottom:0,fontSize:"137%"}],["only screen and (min-width: 1140px) and (max-width: 1440px)",{maxWidth:"1080px",maxHeight:"720px",columnGap:"45px",columns:2,paddingLeft:0,paddingRight:0,paddingTop:0,paddingBottom:0,fontSize:"137%"}],["only screen and (min-width: 1440px) and (max-width: 1920px)",{maxWidth:"1280px",maxHeight:"750px",columnGap:"45px",columns:2,paddingLeft:0,paddingRight:0,paddingTop:0,paddingBottom:0,fontSize:"155%"}],["only screen and (min-width: 1920px)",{maxWidth:"1680px",maxHeight:"900px",columnGap:"125px",columns:2,paddingLeft:0,paddingRight:0,paddingTop:0,paddingBottom:0,fontSize:"195%"}]]);t.horizontalBreakpoints=i},function(e,t,r){var n=r(68),o=r(10),i=r(115),a=r(40),u=r(44),s=r(306),c=o([].push),l=function(e){var t=1==e,r=2==e,o=3==e,l=4==e,f=6==e,p=7==e,d=5==e||f;return function(h,y,v,m){for(var b,g,w=a(h),S=i(w),O=n(y,v),_=u(S),x=0,E=m||s,P=t?E(h,_):r||p?E(h,0):void 0;_>x;x++)if((d||x in S)&&(g=O(b=S[x],x,w),e))if(t)P[x]=g;else if(g)switch(e){case 3:return!0;case 5:return b;case 6:return x;case 2:c(P,b)}else switch(e){case 4:return!1;case 7:c(P,b)}return f?-1:o||l?l:P}};e.exports={forEach:l(0),map:l(1),filter:l(2),some:l(3),every:l(4),find:l(5),findIndex:l(6),filterReject:l(7)}},function(e,t,r){"use strict";function n(){return(n=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(this,arguments)}r.d(t,"a",(function(){return n}))},function(e,t,r){var n=r(115),o=r(60);e.exports=function(e){return n(o(e))}},function(e,t,r){var n=r(13),o=r(21),i=function(e){return o(e)?e:void 0};e.exports=function(e,t){return arguments.length<2?i(n[e]):n[e]&&n[e][t]}},function(e,t,r){"use strict";var n=r(373),o=Object.prototype.toString;function i(e){return"[object Array]"===o.call(e)}function a(e){return void 0===e}function u(e){return null!==e&&"object"==typeof e}function s(e){if("[object Object]"!==o.call(e))return!1;var t=Object.getPrototypeOf(e);return null===t||t===Object.prototype}function c(e){return"[object Function]"===o.call(e)}function l(e,t){if(null!=e)if("object"!=typeof e&&(e=[e]),i(e))for(var r=0,n=e.length;r<n;r++)t.call(null,e[r],r,e);else for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.call(null,e[o],o,e)}e.exports={isArray:i,isArrayBuffer:function(e){return"[object ArrayBuffer]"===o.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:u,isPlainObject:s,isUndefined:a,isDate:function(e){return"[object Date]"===o.call(e)},isFile:function(e){return"[object File]"===o.call(e)},isBlob:function(e){return"[object Blob]"===o.call(e)},isFunction:c,isStream:function(e){return u(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:l,merge:function e(){var t={};function r(r,n){s(t[n])&&s(r)?t[n]=e(t[n],r):s(r)?t[n]=e({},r):i(r)?t[n]=r.slice():t[n]=r}for(var n=0,o=arguments.length;n<o;n++)l(arguments[n],r);return t},extend:function(e,t,r){return l(t,(function(t,o){e[o]=r&&"function"==typeof t?n(t,r):t})),e},trim:function(e){return e.trim?e.trim():e.replace(/^\s+|\s+$/g,"")},stripBOM:function(e){return 65279===e.charCodeAt(0)&&(e=e.slice(1)),e}}},function(e,t){var r;r=function(){return this}();try{r=r||new Function("return this")()}catch(e){"object"==typeof window&&(r=window)}e.exports=r},function(e,t,r){"use strict";var n=r(12),o=r(46).map;n({target:"Array",proto:!0,forced:!r(153)("map")},{map:function(e){return o(this,e,arguments.length>1?arguments[1]:void 0)}})},function(e,t,r){var n=r(21),o=r(85),i=TypeError;e.exports=function(e){if(n(e))return e;throw i(o(e)+" is not a function")}},function(e,t,r){var n=r(31).f,o=r(25),i=r(18)("toStringTag");e.exports=function(e,t,r){e&&!r&&(e=e.prototype),e&&!o(e,i)&&n(e,i,{configurable:!0,value:t})}},function(e,t,r){var n=r(322),o="object"==typeof self&&self&&self.Object===Object&&self,i=n||o||Function("return this")();e.exports=i},function(e,t){var r=Array.isArray;e.exports=r},function(e,t,r){"use strict";r(3),r(7),r(1),r(8),r(2),r(4),r(5),r(35),r(26),Object.defineProperty(t,"__esModule",{value:!0}),t.unlessDefined=t.rand=t.noop=t.mergeDeep=t.isBrowser=t.getControlsPreset=void 0,r(32),r(91),r(6),r(52),r(19),r(80),r(69);var n=h(r(174)),o=h(r(56)),i=h(r(129)),a=h(r(167)),u=h(r(172)),s=h(r(538)),c=h(r(542)),l=h(r(543)),f=h(r(545)),p=h(r(176)),d=r(45);function h(e){return e&&e.__esModule?e:{default:e}}function y(e){return(y="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 v(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null==r)return;var n,o,i=[],a=!0,u=!1;try{for(r=r.call(e);!(a=(n=r.next()).done)&&(i.push(n.value),!t||i.length!==t);a=!0);}catch(e){u=!0,o=e}finally{try{a||null==r.return||r.return()}finally{if(u)throw o}}return i}(e,t)||b(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function m(e){return function(e){if(Array.isArray(e))return g(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||b(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 b(e,t){if(e){if("string"==typeof e)return g(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?g(e,t):void 0}}function g(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}t.noop=function(){};t.rand=function(){return String(Math.random()).substring(2)};t.unlessDefined=function(){for(var e,t=arguments.length,r=new Array(t),o=0;o<t;o++)r[o]=arguments[o];do{e=r.shift()}while((0,n.default)(e)&&r.length);return e};t.mergeDeep=function e(t){for(var r=arguments.length,n=new Array(r>1?r-1:0),u=1;u<r;u++)n[u-1]=arguments[u];for(var s=0;s<n.length;s++)if((0,o.default)(n[s]))t=[].concat(m(t||[]),m(n[s]));else if((0,i.default)(n[s]))for(var c=0,l=Object.entries(n[s]);c<l.length;c++){var f=v(l[c],2),p=f[0],d=f[1];(0,a.default)(n[s],p)&&(y(t[p])!==y(d)?t[p]=d:t[p]=e(t[p],d))}else t=n[s];return t};var w,S=(w={eq:u.default,gt:s.default,gte:c.default,lt:l.default,lte:f.default},function(e,t,r){return w[e].call(null,t,r)});t.isBrowser=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;if(!p.default||p.default.name!==e)return!1;if(!t||!r)return!0;var n=p.default.version.split(".").map(Number),o=v(n,1),i=o[0];return S(t,i,r)};t.getControlsPreset=function(e){var t=e.controls;return d.MEDIA_CONTROLS_PRESETS.has(t)?t:!(0,n.default)(t)}},function(e,t,r){var n;
2
+ /*!
3
+ Copyright (c) 2018 Jed Watson.
4
+ Licensed under the MIT License (MIT), see
5
+ http://jedwatson.github.io/classnames
6
+ */!function(){"use strict";var r={}.hasOwnProperty;function o(){for(var e=[],t=0;t<arguments.length;t++){var n=arguments[t];if(n){var i=typeof n;if("string"===i||"number"===i)e.push(n);else if(Array.isArray(n)){if(n.length){var a=o.apply(null,n);a&&e.push(a)}}else if("object"===i)if(n.toString===Object.prototype.toString)for(var u in n)r.call(n,u)&&n[u]&&e.push(u);else e.push(n.toString())}}return e.join(" ")}e.exports?(o.default=o,e.exports=o):void 0===(n=function(){return o}.apply(t,[]))||(e.exports=n)}()},function(e,t,r){"use strict";function n(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function o(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function i(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?o(Object(r),!0).forEach((function(t){n(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):o(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,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. "}r.r(t),r.d(t,"__DO_NOT_USE__ActionTypes",(function(){return c})),r.d(t,"applyMiddleware",(function(){return m})),r.d(t,"bindActionCreators",(function(){return y})),r.d(t,"combineReducers",(function(){return d})),r.d(t,"compose",(function(){return v})),r.d(t,"createStore",(function(){return f})),r.d(t,"legacy_createStore",(function(){return p}));var u="function"==typeof Symbol&&Symbol.observable||"@@observable",s=function(){return Math.random().toString(36).substring(7).split("").join(".")},c={INIT:"@@redux/INIT"+s(),REPLACE:"@@redux/REPLACE"+s(),PROBE_UNKNOWN_ACTION:function(){return"@@redux/PROBE_UNKNOWN_ACTION"+s()}};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 f(e,t,r){var n;if("function"==typeof t&&"function"==typeof r||"function"==typeof r&&"function"==typeof arguments[3])throw new Error(a(0));if("function"==typeof t&&void 0===r&&(r=t,t=void 0),void 0!==r){if("function"!=typeof r)throw new Error(a(1));return r(f)(e,t)}if("function"!=typeof e)throw new Error(a(2));var o=e,i=t,s=[],p=s,d=!1;function h(){p===s&&(p=s.slice())}function y(){if(d)throw new Error(a(3));return i}function v(e){if("function"!=typeof e)throw new Error(a(4));if(d)throw new Error(a(5));var t=!0;return h(),p.push(e),function(){if(t){if(d)throw new Error(a(6));t=!1,h();var r=p.indexOf(e);p.splice(r,1),s=null}}}function m(e){if(!l(e))throw new Error(a(7));if(void 0===e.type)throw new Error(a(8));if(d)throw new Error(a(9));try{d=!0,i=o(i,e)}finally{d=!1}for(var t=s=p,r=0;r<t.length;r++){(0,t[r])()}return e}function b(e){if("function"!=typeof e)throw new Error(a(10));o=e,m({type:c.REPLACE})}function g(){var e,t=v;return(e={subscribe:function(e){if("object"!=typeof e||null===e)throw new Error(a(11));function r(){e.next&&e.next(y())}return r(),{unsubscribe:t(r)}}})[u]=function(){return this},e}return m({type:c.INIT}),(n={dispatch:m,subscribe:v,getState:y,replaceReducer:b})[u]=g,n}var p=f;function d(e){for(var t=Object.keys(e),r={},n=0;n<t.length;n++){var o=t[n];0,"function"==typeof e[o]&&(r[o]=e[o])}var i,u=Object.keys(r);try{!function(e){Object.keys(e).forEach((function(t){var r=e[t];if(void 0===r(void 0,{type:c.INIT}))throw new Error(a(12));if(void 0===r(void 0,{type:c.PROBE_UNKNOWN_ACTION()}))throw new Error(a(13))}))}(r)}catch(e){i=e}return function(e,t){if(void 0===e&&(e={}),i)throw i;for(var n=!1,o={},s=0;s<u.length;s++){var c=u[s],l=r[c],f=e[c],p=l(f,t);if(void 0===p){t&&t.type;throw new Error(a(14))}o[c]=p,n=n||p!==f}return(n=n||u.length!==Object.keys(e).length)?o:e}}function h(e,t){return function(){return t(e.apply(this,arguments))}}function y(e,t){if("function"==typeof e)return h(e,t);if("object"!=typeof e||null===e)throw new Error(a(16));var r={};for(var n in e){var o=e[n];"function"==typeof o&&(r[n]=h(o,t))}return r}function v(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return 0===t.length?function(e){return e}:1===t.length?t[0]:t.reduce((function(e,t){return function(){return e(t.apply(void 0,arguments))}}))}function m(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return function(e){return function(){var r=e.apply(void 0,arguments),n=function(){throw new Error(a(15))},o={getState:r.getState,dispatch:function(){return n.apply(void 0,arguments)}},u=t.map((function(e){return e(o)}));return n=v.apply(void 0,u)(r.dispatch),i(i({},r),{},{dispatch:n})}}}},function(e,t){var r=TypeError;e.exports=function(e){if(null==e)throw r("Can't call method on "+e);return e}},function(e,t,r){var n=r(10);e.exports=n({}.isPrototypeOf)},function(e,t){e.exports=!1},function(e,t,r){var n=r(23),o=r(31),i=r(83);e.exports=n?function(e,t,r){return o.f(e,t,i(1,r))}:function(e,t,r){return e[t]=r,e}},function(e,t,r){var n=r(453);e.exports=function(e){var t=+e;return t!=t||0===t?0:n(t)}},function(e,t,r){var n=r(64),o=Math.min;e.exports=function(e){return e>0?o(n(e),9007199254740991):0}},function(e,t,r){"use strict";function n(e){return function(e){if(Array.isArray(e))return a(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||i(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 o(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null==r)return;var n,o,i=[],a=!0,u=!1;try{for(r=r.call(e);!(a=(n=r.next()).done)&&(i.push(n.value),!t||i.length!==t);a=!0);}catch(e){u=!0,o=e}finally{try{a||null==r.return||r.return()}finally{if(u)throw o}}return i}(e,t)||i(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function i(e,t){if(e){if("string"==typeof e)return a(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?a(e,t):void 0}}function a(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function u(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}r(3),r(7),r(8),r(6),r(35),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,r(2),r(1),r(4),r(5),r(88),r(19),r(92),r(210),r(17),r(91),r(32),r(166),r(26),r(162),r(80),r(27);var s=window,c=s.decodeURI,l=s.encodeURI,f=s.encodeURIComponent,p=s.URLSearchParams,d=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e)}var t,r,i;return t=e,i=[{key:"slug",value:function(e){return String(e).toLowerCase().trim().replace(/[\s-]+/g,"-").replace(/[^\w-]+/g,"").replace(/-+/g,"-")}},{key:"queryStringKey",value:function(e){return f(e)}},{key:"queryStringValue",value:function(e){return f(e&&e.constructor===Array?JSON.stringify(e):e)}},{key:"buildQueryString",value:function(t){var r=[];return Object.entries(t).forEach((function(t){var n=o(t,2),i=n[0],a=n[1];return r.push("".concat(e.queryStringKey(i),"=").concat(e.queryStringValue(a)))})),r.join("&")}},{key:"parseQueryString",value:function(e){var t=new p(e),r={};return t.forEach((function(e,t){return r[t]=e})),r}},{key:"ensureDecodedURL",value:function(e){var t=String(e);if(!t)return t;for(;t!==c(t);)t=c(t);return t}},{key:"isMailTo",value:function(e){return/^mailto:/.test(e)}},{key:"isRelative",value:function(t){return!1===/^http/.test(t)&&!1===e.isMailTo(t)}},{key:"stripTrailingSlash",value:function(e){return e.replace(/\/+$/,"")}},{key:"trimSlashes",value:function(e){return e.replace(/(^\/+|\/+$)/g,"")}},{key:"addTrailingSlash",value:function(t){return"".concat(e.stripTrailingSlash(t),"/")}},{key:"addLeadingSlash",value:function(t){return"/".concat(e.trimSlashes(t))}},{key:"trimFilenameFromResponse",value:function(t){var r=e.trimSlashes(t);return r=r.slice(0,r.lastIndexOf("/"))}},{key:"resolveRelativeURL",value:function(t,r){if(!t||!r)return console.warn("Url#resolveRelativeURL: No 'url' or 'path' param provided",t,r),"/";var n=e.trimSlashes(r),o=t;if(!0!==/^http/.test(o))return o=e.resolveRelativeURL("".concat(window.location.origin).concat(window.location.pathname),o),e.resolveRelativeURL(o,n);o=e.addTrailingSlash(t);var i=new window.URL(n,o).href;return i=e.ensureDecodedURL(i),l(i)}},{key:"toAbsoluteUrl",value:function(t,r){var n=e.stripTrailingSlash(t),o=e.trimSlashes(r),i="".concat(n,"/").concat(o);return i=e.ensureDecodedURL(i),l(i)}},{key:"resolveOverlappingURL",value:function(t,r){var o=new window.URL(t),i=e.trimSlashes(r).split("/"),a=o.origin,u=o.pathname,s=e.trimSlashes(u).split("/");s.pop();for(var c=s.length-1;c>=0;c--)s[c]===i[0]&&i.shift();var f=[].concat(n(s),n(i)).join("/"),p=new window.URL(e.ensureDecodedURL(f),a).href;return l(p)}},{key:"stripQuery",value:function(e){return e.split("?")[0]}},{key:"stripHash",value:function(e){return e.split("#")[0]}},{key:"stripQueryAndHash",value:function(t){return e.stripQuery(t),e.stripHash(t)}},{key:"createPath",value:function(t){var r=String(t);return r&&"/"!==r?(r=e.ensureDecodedURL(r),r=(r=(r=e.stripQueryAndHash(r)).split("/").filter(Boolean).join("/")).length?"/".concat(r,"/"):"/"):"/"}},{key:"isInternal",value:function(t){if(e.isRelative(t))return!1;var r=new window.URL(t);return window.location.origin===r.origin}},{key:"isHosted",value:function(t){if(e.isRelative(t))return!1;if(window.location===window.parent.location)return e.isInternal(t);var r=new window.URL(t);return new window.URL(document.referrer).origin===r.origin}},{key:"isExternal",value:function(t){return!e.isRelative(t)&&!1===e.isInternal(t)&&!1===e.isHosted(t)}}],(r=null)&&u(t.prototype,r),i&&u(t,i),Object.defineProperty(t,"prototype",{writable:!1}),e}();t.default=d},function(e,t,r){var n,o=r(30),i=r(302),a=r(195),u=r(118),s=r(303),c=r(145),l=r(147),f=l("IE_PROTO"),p=function(){},d=function(e){return"<script>"+e+"<\/script>"},h=function(e){e.write(d("")),e.close();var t=e.parentWindow.Object;return e=null,t},y=function(){try{n=new ActiveXObject("htmlfile")}catch(e){}var e,t;y="undefined"!=typeof document?document.domain&&n?h(n):((t=c("iframe")).style.display="none",s.appendChild(t),t.src=String("javascript:"),(e=t.contentWindow.document).open(),e.write(d("document.F=Object")),e.close(),e.F):h(n);for(var r=a.length;r--;)delete y.prototype[a[r]];return y()};u[f]=!0,e.exports=Object.create||function(e,t){var r;return null!==e?(p.prototype=o(e),r=new p,p.prototype=null,r[f]=e):r=y(),void 0===t?r:i.f(r,t)}},function(e,t,r){var n=r(10),o=r(53),i=r(114),a=n(n.bind);e.exports=function(e,t){return o(e),void 0===t?e:i?a(e,t):function(){return e.apply(t,arguments)}}},function(e,t,r){"use strict";var n=r(23),o=r(13),i=r(10),a=r(119),u=r(39),s=r(25),c=r(157),l=r(61),f=r(97),p=r(192),d=r(9),h=r(74).f,y=r(71).f,v=r(31).f,m=r(335),b=r(330).trim,g=o.Number,w=g.prototype,S=o.TypeError,O=i("".slice),_=i("".charCodeAt),x=function(e){var t=p(e,"number");return"bigint"==typeof t?t:E(t)},E=function(e){var t,r,n,o,i,a,u,s,c=p(e,"number");if(f(c))throw S("Cannot convert a Symbol value to a number");if("string"==typeof c&&c.length>2)if(c=b(c),43===(t=_(c,0))||45===t){if(88===(r=_(c,2))||120===r)return NaN}else if(48===t){switch(_(c,1)){case 66:case 98:n=2,o=49;break;case 79:case 111:n=8,o=55;break;default:return+c}for(a=(i=O(c,2)).length,u=0;u<a;u++)if((s=_(i,u))<48||s>o)return NaN;return parseInt(i,n)}return+c};if(a("Number",!g(" 0o1")||!g("0b1")||g("+0x1"))){for(var P,k=function(e){var t=arguments.length<1?0:g(x(e)),r=this;return l(w,r)&&d((function(){m(r)}))?c(Object(t),r,k):t},j=n?h(g):"MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,EPSILON,MAX_SAFE_INTEGER,MIN_SAFE_INTEGER,isFinite,isInteger,isNaN,isSafeInteger,parseFloat,parseInt,fromString,range".split(","),T=0;j.length>T;T++)s(g,P=j[T])&&!s(k,P)&&v(k,P,y(g,P));k.prototype=w,w.constructor=k,u(o,"Number",k,{constructor:!0})}},function(e,t,r){"use strict";var n=this&&this.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r);var o=Object.getOwnPropertyDescriptor(t,r);o&&!("get"in o?!t.__esModule:o.writable||o.configurable)||(o={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,n,o)}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]}),o=this&&this.__exportStar||function(e,t){for(var r in e)"default"===r||Object.prototype.hasOwnProperty.call(t,r)||n(t,e,r)};Object.defineProperty(t,"__esModule",{value:!0}),t.DomHandler=void 0;var i=r(141),a=r(395);o(r(395),t);var u=/\s+/g,s={normalizeWhitespace:!1,withStartIndices:!1,withEndIndices:!1,xmlMode:!1},c=function(){function e(e,t,r){this.dom=[],this.root=new a.Document(this.dom),this.done=!1,this.tagStack=[this.root],this.lastNode=null,this.parser=null,"function"==typeof t&&(r=t,t=s),"object"==typeof e&&(t=e,e=void 0),this.callback=null!=e?e:null,this.options=null!=t?t:s,this.elementCB=null!=r?r:null}return e.prototype.onparserinit=function(e){this.parser=e},e.prototype.onreset=function(){this.dom=[],this.root=new a.Document(this.dom),this.done=!1,this.tagStack=[this.root],this.lastNode=null,this.parser=null},e.prototype.onend=function(){this.done||(this.done=!0,this.parser=null,this.handleCallback(null))},e.prototype.onerror=function(e){this.handleCallback(e)},e.prototype.onclosetag=function(){this.lastNode=null;var e=this.tagStack.pop();this.options.withEndIndices&&(e.endIndex=this.parser.endIndex),this.elementCB&&this.elementCB(e)},e.prototype.onopentag=function(e,t){var r=this.options.xmlMode?i.ElementType.Tag:void 0,n=new a.Element(e,t,void 0,r);this.addNode(n),this.tagStack.push(n)},e.prototype.ontext=function(e){var t=this.options.normalizeWhitespace,r=this.lastNode;if(r&&r.type===i.ElementType.Text)t?r.data=(r.data+e).replace(u," "):r.data+=e,this.options.withEndIndices&&(r.endIndex=this.parser.endIndex);else{t&&(e=e.replace(u," "));var n=new a.Text(e);this.addNode(n),this.lastNode=n}},e.prototype.oncomment=function(e){if(this.lastNode&&this.lastNode.type===i.ElementType.Comment)this.lastNode.data+=e;else{var t=new a.Comment(e);this.addNode(t),this.lastNode=t}},e.prototype.oncommentend=function(){this.lastNode=null},e.prototype.oncdatastart=function(){var e=new a.Text(""),t=new a.NodeWithChildren(i.ElementType.CDATA,[e]);this.addNode(t),e.parent=t,this.lastNode=e},e.prototype.oncdataend=function(){this.lastNode=null},e.prototype.onprocessinginstruction=function(e,t){var r=new a.ProcessingInstruction(e,t);this.addNode(r)},e.prototype.handleCallback=function(e){if("function"==typeof this.callback)this.callback(e,this.dom);else if(e)throw e},e.prototype.addNode=function(e){var t=this.tagStack[this.tagStack.length-1],r=t.children[t.children.length-1];this.options.withStartIndices&&(e.startIndex=this.parser.startIndex),this.options.withEndIndices&&(e.endIndex=this.parser.endIndex),t.children.push(e),r&&(e.prev=r,r.next=e),e.parent=t,this.lastNode=null},e}();t.DomHandler=c,t.default=c},function(e,t,r){var n=r(23),o=r(20),i=r(144),a=r(83),u=r(48),s=r(116),c=r(25),l=r(295),f=Object.getOwnPropertyDescriptor;t.f=n?f:function(e,t){if(e=u(e),t=s(t),l)try{return f(e,t)}catch(e){}if(c(e,t))return a(!o(i.f,e,t),e[t])}},function(e,t,r){var n=r(10),o=n({}.toString),i=n("".slice);e.exports=function(e){return i(o(e),8,-1)}},function(e,t,r){var n=r(49);e.exports=n("navigator","userAgent")||""},function(e,t,r){var n=r(301),o=r(195).concat("length","prototype");t.f=Object.getOwnPropertyNames||function(e){return n(e,o)}},function(e,t,r){var n=r(64),o=Math.max,i=Math.min;e.exports=function(e,t){var r=n(e);return r<0?o(r+t,0):i(r,t)}},function(e,t,r){var n=r(196),o=r(21),i=r(72),a=r(18)("toStringTag"),u=Object,s="Arguments"==i(function(){return arguments}());e.exports=n?i:function(e){var t,r,n;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(r=function(e,t){try{return e[t]}catch(e){}}(t=u(e),a))?r:s?i(t):"Object"==(n=i(t))&&o(t.callee)?"Arguments":n}},function(e,t,r){var n=r(114),o=Function.prototype,i=o.apply,a=o.call;e.exports="object"==typeof Reflect&&Reflect.apply||(n?a.bind(i):function(){return a.apply(i,arguments)})},function(e,t,r){var n=r(61),o=TypeError;e.exports=function(e,t){if(n(t,e))return e;throw o("Incorrect invocation")}},function(e,t){e.exports=function(e){return null!=e&&"object"==typeof e}},function(e,t,r){"use strict";var n=r(77),o=r(20),i=r(10),a=r(159),u=r(329),s=r(30),c=r(60),l=r(163),f=r(209),p=r(65),d=r(38),h=r(84),y=r(121),v=r(160),m=r(158),b=r(204),g=r(9),w=b.UNSUPPORTED_Y,S=Math.min,O=[].push,_=i(/./.exec),x=i(O),E=i("".slice);a("split",(function(e,t,r){var i;return i="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,r){var i=d(c(this)),a=void 0===r?4294967295:r>>>0;if(0===a)return[];if(void 0===e)return[i];if(!u(e))return o(t,i,e,a);for(var s,l,f,p=[],h=(e.ignoreCase?"i":"")+(e.multiline?"m":"")+(e.unicode?"u":"")+(e.sticky?"y":""),v=0,b=new RegExp(e.source,h+"g");(s=o(m,b,i))&&!((l=b.lastIndex)>v&&(x(p,E(i,v,s.index)),s.length>1&&s.index<i.length&&n(O,p,y(s,1)),f=s[0].length,v=l,p.length>=a));)b.lastIndex===s.index&&b.lastIndex++;return v===i.length?!f&&_(b,"")||x(p,""):x(p,E(i,v)),p.length>a?y(p,0,a):p}:"0".split(void 0,0).length?function(e,r){return void 0===e&&0===r?[]:o(t,this,e,r)}:t,[function(t,r){var n=c(this),a=null==t?void 0:h(t,e);return a?o(a,t,n,r):o(i,d(n),t,r)},function(e,n){var o=s(this),a=d(e),u=r(i,o,a,n,i!==t);if(u.done)return u.value;var c=l(o,RegExp),h=o.unicode,y=(o.ignoreCase?"i":"")+(o.multiline?"m":"")+(o.unicode?"u":"")+(w?"g":"y"),m=new c(w?"^(?:"+o.source+")":o,y),b=void 0===n?4294967295:n>>>0;if(0===b)return[];if(0===a.length)return null===v(m,a)?[a]:[];for(var g=0,O=0,_=[];O<a.length;){m.lastIndex=w?0:O;var P,k=v(m,w?E(a,O):a);if(null===k||(P=S(p(m.lastIndex+(w?O:0)),a.length))===g)O=f(a,O,h);else{if(x(_,E(a,g,O)),_.length===b)return _;for(var j=1;j<=k.length-1;j++)if(x(_,k[j]),_.length===b)return _;O=g=P}}return x(_,E(a,g)),_}]}),!!g((function(){var e=/(?:)/,t=e.exec;e.exec=function(){return t.apply(this,arguments)};var r="ab".split(e);return 2!==r.length||"a"!==r[0]||"b"!==r[1]})),w)},function(e,t){e.exports=function(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}},function(e,t,r){var n=r(184);e.exports=function(e){return function t(r){return 0===arguments.length||n(r)?t:e.apply(this,arguments)}}},function(e,t){e.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}},function(e,t,r){var n=r(53);e.exports=function(e,t){var r=e[t];return null==r?void 0:n(r)}},function(e,t){var r=String;e.exports=function(e){try{return r(e)}catch(e){return"Object"}}},function(e,t,r){var n=r(10),o=r(30),i=r(464);e.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var e,t=!1,r={};try{(e=n(Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set))(r,[]),t=r instanceof Array}catch(e){}return function(r,n){return o(r),i(n),t?e(r,n):r.__proto__=n,r}}():void 0)},function(e,t,r){"use strict";var n=r(101).PROPER,o=r(39),i=r(30),a=r(38),u=r(9),s=r(316),c=RegExp.prototype.toString,l=u((function(){return"/a/b"!=c.call({source:"a",flags:"b"})})),f=n&&"toString"!=c.name;(l||f)&&o(RegExp.prototype,"toString",(function(){var e=i(this);return"/"+a(e.source)+"/"+a(s(e))}),{unsafe:!0})},function(e,t,r){r(320)},function(e,t,r){r(473)},function(e,t,r){"use strict";r(3),r(7),r(8),r(6),r(35),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,r(1),r(87),r(2),r(4),r(5),r(162),r(88),r(19),r(17),r(91),r(16),r(52),r(80),r(210),r(211),r(92),r(26);var n=s(r(479)),o=s(r(480)),i=s(r(481)),a=s(r(482)),u=r(131);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 r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null==r)return;var n,o,i=[],a=!0,u=!1;try{for(r=r.call(e);!(a=(n=r.next()).done)&&(i.push(n.value),!t||i.length!==t);a=!0);}catch(e){u=!0,o=e}finally{try{a||null==r.return||r.return()}finally{if(u)throw o}}return i}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return l(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return l(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function l(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function f(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}var p=(0,o.default)({quotes:"'"}),d=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e)}var t,r,o;return t=e,o=[{key:"createHash",value:function(e){var t=0,r=String(e);if(0===r.length)return String(t);for(var n=0;n<r.length;n++)t=(t<<5)-t+r.charCodeAt(n),t|=0;return t>>>=0,String(t)}},{key:"createId",value:function(){return"_".concat(Math.random().toString(36).substr(2,9))}},{key:"appendBookStyles",value:function(e,t){var r=new window.Blob([e],{type:"text/css"}),n=document.createElement("link"),o=document.querySelector("head");n.rel="stylesheet",n.type="text/css",n.id="_".concat(t),n.href=window.URL.createObjectURL(r),o.appendChild(n)}},{key:"removeBookStyles",value:function(e){var t=document.querySelector("#_".concat(e));if(t){var r=t.getAttribute("href");r&&/^blob:/.test(r)&&window.URL.revokeObjectURL(r),t.parentNode.removeChild(t)}}},{key:"convertToReactAttrs",value:function(e){var t={};if(Object.entries(e).forEach((function(e){var r=c(e,2),o=r[0],i=r[1];"playsinline"===o?t.playsInline=i:t[(0,n.default)(o)]=i})),!e||Object.keys(e).length<1)return t;if(!e.style)return t;var r={},o={moz:"Moz",webkit:"Webkit",o:"O"},s=/^-(moz|webkit|o)-/;return e.style.split(";").map((function(e){var t,n=c(e.split(":").map((function(e){return e.trim()})),2),l=n[0],f=n[1];return l&&f?((t=l.match(s))?(l=l.replace(s,"".concat(o[t[1]],"-")),l=(l=(0,a.default)(l))[0].toUpperCase()+l.slice(1)):l=(0,a.default)(l),f=(0,u.isNumeric)(f)?p((0,i.default)(f)):f,r[l]=f,r):null})),t.style=r,t}}],(r=null)&&f(t.prototype,r),o&&f(t,o),Object.defineProperty(t,"prototype",{writable:!1}),e}();t.default=d},function(e,t,r){var n=r(12),o=r(476).entries;n({target:"Object",stat:!0},{entries:function(e){return o(e)}})},function(e,t,r){"use strict";var n=r(77),o=r(20),i=r(10),a=r(159),u=r(9),s=r(30),c=r(21),l=r(64),f=r(65),p=r(38),d=r(60),h=r(209),y=r(84),v=r(478),m=r(160),b=r(18)("replace"),g=Math.max,w=Math.min,S=i([].concat),O=i([].push),_=i("".indexOf),x=i("".slice),E="$0"==="a".replace(/./,"$0"),P=!!/./[b]&&""===/./[b]("a","$0");a("replace",(function(e,t,r){var i=P?"$":"$0";return[function(e,r){var n=d(this),i=null==e?void 0:y(e,b);return i?o(i,e,n,r):o(t,p(n),e,r)},function(e,o){var a=s(this),u=p(e);if("string"==typeof o&&-1===_(o,i)&&-1===_(o,"$<")){var d=r(t,a,u,o);if(d.done)return d.value}var y=c(o);y||(o=p(o));var b=a.global;if(b){var E=a.unicode;a.lastIndex=0}for(var P=[];;){var k=m(a,u);if(null===k)break;if(O(P,k),!b)break;""===p(k[0])&&(a.lastIndex=h(u,f(a.lastIndex),E))}for(var j,T="",A=0,C=0;C<P.length;C++){for(var L=p((k=P[C])[0]),R=g(w(l(k.index),u.length),0),I=[],N=1;N<k.length;N++)O(I,void 0===(j=k[N])?j:String(j));var M=k.groups;if(y){var D=S([L],I,R,u);void 0!==M&&O(D,M);var U=p(n(o,void 0,D))}else U=v(L,u,R,I,M,o);R>=A&&(T+=x(u,A,R)+U,A=R+L.length)}return T+x(u,A)}]}),!!u((function(){var e=/./;return e.exec=function(){var e=[];return e.groups={a:"7"},e},"7"!=="".replace(e,"$<a>")}))||!E||P)},function(e,t,r){var n=r(517),o=r(520);e.exports=function(e,t){var r=o(e,t);return n(r)?r:void 0}},function(e,t,r){r(536)},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n,o=(n=r(0))&&n.__esModule?n:{default:n};var i={lastSpread:!1,spreadIndex:0,getTranslateX:function(){return 0},navigateToChapterByURL:r(57).noop},a=o.default.createContext(i);a.displayName="ReaderContext";var u=a;t.default=u},function(e,t,r){"use strict";var n=r(183),o=Object.keys||function(e){var t=[];for(var r in e)t.push(r);return t};e.exports=f;var i=Object.create(r(140));i.inherits=r(113);var a=r(383),u=r(236);i.inherits(f,a);for(var s=o(u.prototype),c=0;c<s.length;c++){var l=s[c];f.prototype[l]||(f.prototype[l]=u.prototype[l])}function f(e){if(!(this instanceof f))return new f(e);a.call(this,e),u.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",p)}function p(){this.allowHalfOpen||this._writableState.ended||n.nextTick(d,this)}function d(e){e.end()}Object.defineProperty(f.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}}),Object.defineProperty(f.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)}}),f.prototype._destroy=function(e,t){this.push(null),this.end(),n.nextTick(t,e)}},function(e,t,r){var n=r(49),o=r(21),i=r(61),a=r(294),u=Object;e.exports=a?function(e){return"symbol"==typeof e}:function(e){var t=n("Symbol");return o(t)&&i(t.prototype,u(e))}},function(e,t,r){var n=r(99),o=r(9);e.exports=!!Object.getOwnPropertySymbols&&!o((function(){var e=Symbol();return!String(e)||!(Object(e)instanceof Symbol)||!Symbol.sham&&n&&n<41}))},function(e,t,r){var n,o,i=r(13),a=r(73),u=i.process,s=i.Deno,c=u&&u.versions||s&&s.version,l=c&&c.v8;l&&(o=(n=l.split("."))[0]>0&&n[0]<4?1:+(n[0]+n[1])),!o&&a&&(!(n=a.match(/Edge\/(\d+)/))||n[1]>=74)&&(n=a.match(/Chrome\/(\d+)/))&&(o=+n[1]),e.exports=o},function(e,t,r){var n=r(62),o=r(193);(e.exports=function(e,t){return o[e]||(o[e]=void 0!==t?t:{})})("versions",[]).push({version:"3.23.3",mode:n?"pure":"global",copyright:"© 2014-2022 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.23.3/LICENSE",source:"https://github.com/zloirock/core-js"})},function(e,t,r){var n=r(23),o=r(25),i=Function.prototype,a=n&&Object.getOwnPropertyDescriptor,u=o(i,"name"),s=u&&"something"===function(){}.name,c=u&&(!n||n&&a(i,"name").configurable);e.exports={EXISTS:u,PROPER:s,CONFIGURABLE:c}},function(e,t,r){var n=r(10);e.exports=n([].slice)},function(e,t,r){var n=r(104),o=r(469),i=r(470),a=n?n.toStringTag:void 0;e.exports=function(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":a&&a in Object(e)?o(e):i(e)}},function(e,t,r){var n=r(55).Symbol;e.exports=n},function(e,t){var r,n,o=e.exports={};function i(){throw new Error("setTimeout has not been defined")}function a(){throw new Error("clearTimeout has not been defined")}function u(e){if(r===setTimeout)return setTimeout(e,0);if((r===i||!r)&&setTimeout)return r=setTimeout,setTimeout(e,0);try{return r(e,0)}catch(t){try{return r.call(null,e,0)}catch(t){return r.call(this,e,0)}}}!function(){try{r="function"==typeof setTimeout?setTimeout:i}catch(e){r=i}try{n="function"==typeof clearTimeout?clearTimeout:a}catch(e){n=a}}();var s,c=[],l=!1,f=-1;function p(){l&&s&&(l=!1,s.length?c=s.concat(c):f=-1,c.length&&d())}function d(){if(!l){var e=u(p);l=!0;for(var t=c.length;t;){for(s=c,c=[];++f<t;)s&&s[f].run();f=-1,t=c.length}s=null,l=!1,function(e){if(n===clearTimeout)return clearTimeout(e);if((n===a||!n)&&clearTimeout)return n=clearTimeout,clearTimeout(e);try{n(e)}catch(t){try{return n.call(null,e)}catch(t){return n.call(this,e)}}}(e)}}function h(e,t){this.fun=e,this.array=t}function y(){}o.nextTick=function(e){var t=new Array(arguments.length-1);if(arguments.length>1)for(var r=1;r<arguments.length;r++)t[r-1]=arguments[r];c.push(new h(e,t)),1!==c.length||l||u(d)},h.prototype.run=function(){this.fun.apply(null,this.array)},o.title="browser",o.browser=!0,o.env={},o.argv=[],o.version="",o.versions={},o.on=y,o.addListener=y,o.once=y,o.off=y,o.removeListener=y,o.removeAllListeners=y,o.emit=y,o.prependListener=y,o.prependOnceListener=y,o.listeners=function(e){return[]},o.binding=function(e){throw new Error("process.binding is not supported")},o.cwd=function(){return"/"},o.chdir=function(e){throw new Error("process.chdir is not supported")},o.umask=function(){return 0}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"App",{enumerable:!0,get:function(){return p.default}}),Object.defineProperty(t,"Audio",{enumerable:!0,get:function(){return g.default}}),Object.defineProperty(t,"Controls",{enumerable:!0,get:function(){return n.default}}),Object.defineProperty(t,"Footnote",{enumerable:!0,get:function(){return l.default}}),Object.defineProperty(t,"Frame",{enumerable:!0,get:function(){return o.default}}),Object.defineProperty(t,"Iframe",{enumerable:!0,get:function(){return w.default}}),Object.defineProperty(t,"Layout",{enumerable:!0,get:function(){return a.default}}),Object.defineProperty(t,"Library",{enumerable:!0,get:function(){return f.default}}),Object.defineProperty(t,"Link",{enumerable:!0,get:function(){return i.default}}),Object.defineProperty(t,"Marker",{enumerable:!0,get:function(){return s.default}}),Object.defineProperty(t,"Reader",{enumerable:!0,get:function(){return c.default}}),Object.defineProperty(t,"Spinner",{enumerable:!0,get:function(){return d.default}}),Object.defineProperty(t,"Spread",{enumerable:!0,get:function(){return u.default}}),Object.defineProperty(t,"SpreadFigure",{enumerable:!0,get:function(){return h.default}}),Object.defineProperty(t,"SpreadImageStyles",{enumerable:!0,get:function(){return y.default}}),Object.defineProperty(t,"Ultimate",{enumerable:!0,get:function(){return v.default}}),Object.defineProperty(t,"Video",{enumerable:!0,get:function(){return b.default}}),Object.defineProperty(t,"Vimeo",{enumerable:!0,get:function(){return m.default}});var n=S(r(555)),o=S(r(566)),i=S(r(567)),a=S(r(568)),u=S(r(576)),s=S(r(577)),c=S(r(618)),l=S(r(816)),f=S(r(820)),p=S(r(821)),d=S(r(822)),h=S(r(823)),y=S(r(824)),v=S(r(825)),m=S(r(826)),b=S(r(875)),g=S(r(888)),w=S(r(890));function S(e){return e&&e.__esModule?e:{default:e}}},function(e,t,r){"use strict";r(16),r(3),r(27),r(14),r(34),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,r(2),r(94),r(1),r(4),r(5),r(17);var n=r(57),o=r(45),i=r(132);function a(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function u(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?a(Object(r),!0).forEach((function(t){c(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):a(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function s(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function c(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var l=new Map,f=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e)}var t,r,a;return t=e,a=[{key:"getListeners",value:function(){return l}},{key:"getConstants",value:function(){return o.messagesTypes}},{key:"getDomain",value:function(){return e.MESSAGE_DOMAIN}},{key:"sendPaginationEvent",value:function(t){var r=t.spreadIndex,n=t.lastSpreadIndex,o=t.firstSpread,a=t.lastSpread,u=t.firstChapter,s=t.lastChapter,c=t.spreadDelta,l=new i.PageEvent({spreadIndex:r,lastSpreadIndex:n,firstChapter:u,lastChapter:s,firstSpread:o,lastSpread:a,spreadDelta:c});window.parent.postMessage(l,e.MESSAGE_DOMAIN)}},{key:"sendDeferredEvent",value:function(){var t=new i.DeferredEvent;window.parent.postMessage(t,e.MESSAGE_DOMAIN)}},{key:"sendClickEvent",value:function(t){window.parent.postMessage(u(u({},t),{},{type:o.messagesTypes.CLICK_EVENT}),e.MESSAGE_DOMAIN)}},{key:"sendDownloadEvent",value:function(t){window.parent.postMessage({url:t,type:o.messagesTypes.DOWNLOAD_EVENT},e.MESSAGE_DOMAIN)}},{key:"sendKeydownEvent",value:function(t){window.parent.postMessage(u(u({},t),{},{keyCode:t.keyCode,metaKey:t.metaKey,type:o.messagesTypes.KEYDOWN_EVENT}),e.MESSAGE_DOMAIN)}},{key:"sendScrollEvent",value:function(t,r,n){window.parent.postMessage(u(u({},t),{},{scrollTop:r,documentHeight:n,type:o.messagesTypes.SCROLL_EVENT}),e.MESSAGE_DOMAIN)}},{key:"register",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,r=(0,n.rand)(),o="message",i=function(r){return(!t||t===r.data.type)&&e(r)};return l.set(r,{event:o,type:t,handler:i,callback:e}),window.addEventListener(o,i),r}},{key:"deregister",value:function(e){if(e){var t=l.get(e).handler;window.removeEventListener("message",t),l.delete(e)}}},{key:"clear",value:function(){l.forEach((function(t,r){return t.handler&&e.deregister(r)})),l.clear()}}],(r=null)&&s(t.prototype,r),a&&s(t,a),Object.defineProperty(t,"prototype",{writable:!1}),e}();c(f,"MESSAGE_DOMAIN","*");var p=f;t.default=p},function(e,t,r){r(619),r(626),r(627),r(628),r(629),r(630)},function(e,t,r){r(150)("asyncIterator")},function(e,t,r){var n=r(49),o=r(150),i=r(54);o("toStringTag"),i(n("Symbol"),"Symbol")},function(e,t,r){var n=r(13);r(54)(n.JSON,"JSON",!0)},function(e,t,r){r(54)(Math,"Math",!0)},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 r=function(){};r.prototype=t.prototype,e.prototype=new r,e.prototype.constructor=e}}},function(e,t,r){var n=r(9);e.exports=!n((function(){var e=function(){}.bind();return"function"!=typeof e||e.hasOwnProperty("prototype")}))},function(e,t,r){var n=r(10),o=r(9),i=r(72),a=Object,u=n("".split);e.exports=o((function(){return!a("z").propertyIsEnumerable(0)}))?function(e){return"String"==i(e)?u(e,""):a(e)}:a},function(e,t,r){var n=r(192),o=r(97);e.exports=function(e){var t=n(e,"string");return o(t)?t:t+""}},function(e,t,r){var n=r(10),o=0,i=Math.random(),a=n(1..toString);e.exports=function(e){return"Symbol("+(void 0===e?"":e)+")_"+a(++o+i,36)}},function(e,t){e.exports={}},function(e,t,r){var n=r(9),o=r(21),i=/#|\.prototype\./,a=function(e,t){var r=s[u(e)];return r==l||r!=c&&(o(t)?n(t):!!t)},u=a.normalize=function(e){return String(e).replace(i,".").toLowerCase()},s=a.data={},c=a.NATIVE="N",l=a.POLYFILL="P";e.exports=a},function(e,t,r){var n=r(301),o=r(195);e.exports=Object.keys||function(e){return n(e,o)}},function(e,t,r){var n=r(75),o=r(44),i=r(122),a=Array,u=Math.max;e.exports=function(e,t,r){for(var s=o(e),c=n(t,s),l=n(void 0===r?s:r,s),f=a(u(l-c,0)),p=0;c<l;c++,p++)i(f,p,e[c]);return f.length=p,f}},function(e,t,r){"use strict";var n=r(116),o=r(31),i=r(83);e.exports=function(e,t,r){var a=n(t);a in e?o.f(e,a,i(0,r)):e[a]=r}},function(e,t){e.exports={}},function(e,t,r){var n=r(25),o=r(21),i=r(40),a=r(147),u=r(312),s=a("IE_PROTO"),c=Object,l=c.prototype;e.exports=u?c.getPrototypeOf:function(e){var t=i(e);if(n(t,s))return t[s];var r=t.constructor;return o(r)&&t instanceof r?r.prototype:t instanceof c?l:null}},function(e,t,r){var n=r(39);e.exports=function(e,t,r){for(var o in t)n(e,o,t[o],r);return e}},function(e,t,r){var n=r(12),o=r(10),i=r(118),a=r(24),u=r(25),s=r(31).f,c=r(74),l=r(304),f=r(313),p=r(117),d=r(314),h=!1,y=p("meta"),v=0,m=function(e){s(e,y,{value:{objectID:"O"+v++,weakData:{}}})},b=e.exports={enable:function(){b.enable=function(){},h=!0;var e=c.f,t=o([].splice),r={};r[y]=1,e(r).length&&(c.f=function(r){for(var n=e(r),o=0,i=n.length;o<i;o++)if(n[o]===y){t(n,o,1);break}return n},n({target:"Object",stat:!0,forced:!0},{getOwnPropertyNames:l.f}))},fastKey:function(e,t){if(!a(e))return"symbol"==typeof e?e:("string"==typeof e?"S":"P")+e;if(!u(e,y)){if(!f(e))return"F";if(!t)return"E";m(e)}return e[y].objectID},getWeakData:function(e,t){if(!u(e,y)){if(!f(e))return!0;if(!t)return!1;m(e)}return e[y].weakData},onFreeze:function(e){return d&&h&&f(e)&&!u(e,y)&&m(e),e}};i[y]=!0},function(e,t,r){var n=r(68),o=r(20),i=r(30),a=r(85),u=r(201),s=r(44),c=r(61),l=r(155),f=r(128),p=r(315),d=TypeError,h=function(e,t){this.stopped=e,this.result=t},y=h.prototype;e.exports=function(e,t,r){var v,m,b,g,w,S,O,_=r&&r.that,x=!(!r||!r.AS_ENTRIES),E=!(!r||!r.IS_ITERATOR),P=!(!r||!r.INTERRUPTED),k=n(t,_),j=function(e){return v&&p(v,"normal",e),new h(!0,e)},T=function(e){return x?(i(e),P?k(e[0],e[1],j):k(e[0],e[1])):P?k(e,j):k(e)};if(E)v=e;else{if(!(m=f(e)))throw d(a(e)+" is not iterable");if(u(m)){for(b=0,g=s(e);g>b;b++)if((w=T(e[b]))&&c(y,w))return w;return new h(!1)}v=l(e,m)}for(S=v.next;!(O=o(S,v)).done;){try{w=T(O.value)}catch(e){p(v,"throw",e)}if("object"==typeof w&&w&&c(y,w))return w}return new h(!1)}},function(e,t,r){var n=r(76),o=r(84),i=r(123),a=r(18)("iterator");e.exports=function(e){if(null!=e)return o(e,a)||o(e,"@@iterator")||i[n(e)]}},function(e,t,r){var n=r(103),o=r(207),i=r(79),a=Function.prototype,u=Object.prototype,s=a.toString,c=u.hasOwnProperty,l=s.call(Object);e.exports=function(e){if(!i(e)||"[object Object]"!=n(e))return!1;var t=o(e);if(null===t)return!0;var r=c.call(t,"constructor")&&t.constructor;return"function"==typeof r&&r instanceof r&&s.call(r)==l}},function(e,t,r){var n=r(484);e.exports=function(e){return null==e?"":n(e)}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isNumeric=t.isInt=t.isFloat=void 0,r(500),r(69),r(501);var n=function(e){return"number"==typeof e&&!1===Number.isNaN(e)&&!0===Number.isFinite(e)};t.isNumeric=n;t.isInt=function(e){return n(e)&&e%1==0};t.isFloat=function(e){return n(e)&&e%1!=0}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"BookMetadata",{enumerable:!0,get:function(){return n.default}}),Object.defineProperty(t,"DeferredEvent",{enumerable:!0,get:function(){return c.default}}),Object.defineProperty(t,"GuideItem",{enumerable:!0,get:function(){return i.default}}),Object.defineProperty(t,"MediaStyleSheet",{enumerable:!0,get:function(){return u.default}}),Object.defineProperty(t,"PageEvent",{enumerable:!0,get:function(){return s.default}}),Object.defineProperty(t,"Script",{enumerable:!0,get:function(){return l.default}}),Object.defineProperty(t,"SpineItem",{enumerable:!0,get:function(){return o.default}}),Object.defineProperty(t,"ViewerSettings",{enumerable:!0,get:function(){return a.default}});var n=f(r(506)),o=f(r(507)),i=f(r(508)),a=f(r(509)),u=f(r(537)),s=f(r(548)),c=f(r(549)),l=f(r(550));function f(e){return e&&e.__esModule?e:{default:e}}},function(e,t,r){var n=r(164);e.exports=function(e){if("string"==typeof e||n(e))return e;var t=e+"";return"0"==t&&1/e==-1/0?"-0":t}},function(e,t,r){var n=r(81),o=r(571),i=r(217),a=Math.max,u=Math.min;e.exports=function(e,t,r){var s,c,l,f,p,d,h=0,y=!1,v=!1,m=!0;if("function"!=typeof e)throw new TypeError("Expected a function");function b(t){var r=s,n=c;return s=c=void 0,h=t,f=e.apply(n,r)}function g(e){return h=e,p=setTimeout(S,t),y?b(e):f}function w(e){var r=e-d;return void 0===d||r>=t||r<0||v&&e-h>=l}function S(){var e=o();if(w(e))return O(e);p=setTimeout(S,function(e){var r=t-(e-d);return v?u(r,l-(e-h)):r}(e))}function O(e){return p=void 0,m&&s?b(e):(s=c=void 0,f)}function _(){var e=o(),r=w(e);if(s=arguments,c=this,d=e,r){if(void 0===p)return g(d);if(v)return clearTimeout(p),p=setTimeout(S,t),b(d)}return void 0===p&&(p=setTimeout(S,t)),f}return t=i(t)||0,n(r)&&(y=!!r.leading,l=(v="maxWait"in r)?a(i(r.maxWait)||0,t):l,m="trailing"in r?!!r.trailing:m),_.cancel=function(){void 0!==p&&clearTimeout(p),h=0,s=d=c=p=void 0},_.flush=function(){return void 0===p?f:O(o())},_}},function(e,t,r){var n=r(360),o=r(600),i=r(228);e.exports=function(e){return i(e)?n(e):o(e)}},function(e,t,r){var n=r(13);e.exports=n.Promise},function(e,t,r){var n=r(13),o=r(136),i=r(21),a=r(119),u=r(146),s=r(18),c=r(625),l=r(62),f=r(99),p=o&&o.prototype,d=s("species"),h=!1,y=i(n.PromiseRejectionEvent),v=a("Promise",(function(){var e=u(o),t=e!==String(o);if(!t&&66===f)return!0;if(l&&(!p.catch||!p.finally))return!0;if(f>=51&&/native code/.test(e))return!1;var r=new o((function(e){e(1)})),n=function(e){e((function(){}),(function(){}))};return(r.constructor={})[d]=n,!(h=r.then((function(){}))instanceof n)||!t&&c&&!y}));e.exports={CONSTRUCTOR:v,REJECTION_EVENT:y,SUBCLASSING:h}},function(e,t,r){"use strict";var n=r(53),o=function(e){var t,r;this.promise=new e((function(e,n){if(void 0!==t||void 0!==r)throw TypeError("Bad Promise constructor");t=e,r=n})),this.resolve=n(t),this.reject=n(r)};e.exports.f=function(e){return new o(e)}},function(e,t,r){"use strict";(function(e){
7
+ /*!
8
+ * The buffer module from node.js, for the browser.
9
+ *
10
+ * @author Feross Aboukhadijeh <http://feross.org>
11
+ * @license MIT
12
+ */
13
+ var n=r(663),o=r(664),i=r(382);function a(){return s.TYPED_ARRAY_SUPPORT?2147483647:1073741823}function u(e,t){if(a()<t)throw new RangeError("Invalid typed array length");return s.TYPED_ARRAY_SUPPORT?(e=new Uint8Array(t)).__proto__=s.prototype:(null===e&&(e=new s(t)),e.length=t),e}function s(e,t,r){if(!(s.TYPED_ARRAY_SUPPORT||this instanceof s))return new s(e,t,r);if("number"==typeof e){if("string"==typeof t)throw new Error("If encoding is specified then the first argument must be a string");return f(this,e)}return c(this,e,t,r)}function c(e,t,r,n){if("number"==typeof t)throw new TypeError('"value" argument must not be a number');return"undefined"!=typeof ArrayBuffer&&t instanceof ArrayBuffer?function(e,t,r,n){if(t.byteLength,r<0||t.byteLength<r)throw new RangeError("'offset' is out of bounds");if(t.byteLength<r+(n||0))throw new RangeError("'length' is out of bounds");t=void 0===r&&void 0===n?new Uint8Array(t):void 0===n?new Uint8Array(t,r):new Uint8Array(t,r,n);s.TYPED_ARRAY_SUPPORT?(e=t).__proto__=s.prototype:e=p(e,t);return e}(e,t,r,n):"string"==typeof t?function(e,t,r){"string"==typeof r&&""!==r||(r="utf8");if(!s.isEncoding(r))throw new TypeError('"encoding" must be a valid string encoding');var n=0|h(t,r),o=(e=u(e,n)).write(t,r);o!==n&&(e=e.slice(0,o));return e}(e,t,r):function(e,t){if(s.isBuffer(t)){var r=0|d(t.length);return 0===(e=u(e,r)).length||t.copy(e,0,0,r),e}if(t){if("undefined"!=typeof ArrayBuffer&&t.buffer instanceof ArrayBuffer||"length"in t)return"number"!=typeof t.length||(n=t.length)!=n?u(e,0):p(e,t);if("Buffer"===t.type&&i(t.data))return p(e,t.data)}var n;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 f(e,t){if(l(t),e=u(e,t<0?0:0|d(t)),!s.TYPED_ARRAY_SUPPORT)for(var r=0;r<t;++r)e[r]=0;return e}function p(e,t){var r=t.length<0?0:0|d(t.length);e=u(e,r);for(var n=0;n<r;n+=1)e[n]=255&t[n];return e}function d(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(s.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 r=e.length;if(0===r)return 0;for(var n=!1;;)switch(t){case"ascii":case"latin1":case"binary":return r;case"utf8":case"utf-8":case void 0:return B(e).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*r;case"hex":return r>>>1;case"base64":return q(e).length;default:if(n)return B(e).length;t=(""+t).toLowerCase(),n=!0}}function y(e,t,r){var n=!1;if((void 0===t||t<0)&&(t=0),t>this.length)return"";if((void 0===r||r>this.length)&&(r=this.length),r<=0)return"";if((r>>>=0)<=(t>>>=0))return"";for(e||(e="utf8");;)switch(e){case"hex":return T(this,t,r);case"utf8":case"utf-8":return P(this,t,r);case"ascii":return k(this,t,r);case"latin1":case"binary":return j(this,t,r);case"base64":return E(this,t,r);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return A(this,t,r);default:if(n)throw new TypeError("Unknown encoding: "+e);e=(e+"").toLowerCase(),n=!0}}function v(e,t,r){var n=e[t];e[t]=e[r],e[r]=n}function m(e,t,r,n,o){if(0===e.length)return-1;if("string"==typeof r?(n=r,r=0):r>2147483647?r=2147483647:r<-2147483648&&(r=-2147483648),r=+r,isNaN(r)&&(r=o?0:e.length-1),r<0&&(r=e.length+r),r>=e.length){if(o)return-1;r=e.length-1}else if(r<0){if(!o)return-1;r=0}if("string"==typeof t&&(t=s.from(t,n)),s.isBuffer(t))return 0===t.length?-1:b(e,t,r,n,o);if("number"==typeof t)return t&=255,s.TYPED_ARRAY_SUPPORT&&"function"==typeof Uint8Array.prototype.indexOf?o?Uint8Array.prototype.indexOf.call(e,t,r):Uint8Array.prototype.lastIndexOf.call(e,t,r):b(e,[t],r,n,o);throw new TypeError("val must be string, number or Buffer")}function b(e,t,r,n,o){var i,a=1,u=e.length,s=t.length;if(void 0!==n&&("ucs2"===(n=String(n).toLowerCase())||"ucs-2"===n||"utf16le"===n||"utf-16le"===n)){if(e.length<2||t.length<2)return-1;a=2,u/=2,s/=2,r/=2}function c(e,t){return 1===a?e[t]:e.readUInt16BE(t*a)}if(o){var l=-1;for(i=r;i<u;i++)if(c(e,i)===c(t,-1===l?0:i-l)){if(-1===l&&(l=i),i-l+1===s)return l*a}else-1!==l&&(i-=i-l),l=-1}else for(r+s>u&&(r=u-s),i=r;i>=0;i--){for(var f=!0,p=0;p<s;p++)if(c(e,i+p)!==c(t,p)){f=!1;break}if(f)return i}return-1}function g(e,t,r,n){r=Number(r)||0;var o=e.length-r;n?(n=Number(n))>o&&(n=o):n=o;var i=t.length;if(i%2!=0)throw new TypeError("Invalid hex string");n>i/2&&(n=i/2);for(var a=0;a<n;++a){var u=parseInt(t.substr(2*a,2),16);if(isNaN(u))return a;e[r+a]=u}return a}function w(e,t,r,n){return W(B(t,e.length-r),e,r,n)}function S(e,t,r,n){return W(function(e){for(var t=[],r=0;r<e.length;++r)t.push(255&e.charCodeAt(r));return t}(t),e,r,n)}function O(e,t,r,n){return S(e,t,r,n)}function _(e,t,r,n){return W(q(t),e,r,n)}function x(e,t,r,n){return W(function(e,t){for(var r,n,o,i=[],a=0;a<e.length&&!((t-=2)<0);++a)r=e.charCodeAt(a),n=r>>8,o=r%256,i.push(o),i.push(n);return i}(t,e.length-r),e,r,n)}function E(e,t,r){return 0===t&&r===e.length?n.fromByteArray(e):n.fromByteArray(e.slice(t,r))}function P(e,t,r){r=Math.min(e.length,r);for(var n=[],o=t;o<r;){var i,a,u,s,c=e[o],l=null,f=c>239?4:c>223?3:c>191?2:1;if(o+f<=r)switch(f){case 1:c<128&&(l=c);break;case 2:128==(192&(i=e[o+1]))&&(s=(31&c)<<6|63&i)>127&&(l=s);break;case 3:i=e[o+1],a=e[o+2],128==(192&i)&&128==(192&a)&&(s=(15&c)<<12|(63&i)<<6|63&a)>2047&&(s<55296||s>57343)&&(l=s);break;case 4:i=e[o+1],a=e[o+2],u=e[o+3],128==(192&i)&&128==(192&a)&&128==(192&u)&&(s=(15&c)<<18|(63&i)<<12|(63&a)<<6|63&u)>65535&&s<1114112&&(l=s)}null===l?(l=65533,f=1):l>65535&&(l-=65536,n.push(l>>>10&1023|55296),l=56320|1023&l),n.push(l),o+=f}return function(e){var t=e.length;if(t<=4096)return String.fromCharCode.apply(String,e);var r="",n=0;for(;n<t;)r+=String.fromCharCode.apply(String,e.slice(n,n+=4096));return r}(n)}t.Buffer=s,t.SlowBuffer=function(e){+e!=e&&(e=0);return s.alloc(+e)},t.INSPECT_MAX_BYTES=50,s.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(),s.poolSize=8192,s._augment=function(e){return e.__proto__=s.prototype,e},s.from=function(e,t,r){return c(null,e,t,r)},s.TYPED_ARRAY_SUPPORT&&(s.prototype.__proto__=Uint8Array.prototype,s.__proto__=Uint8Array,"undefined"!=typeof Symbol&&Symbol.species&&s[Symbol.species]===s&&Object.defineProperty(s,Symbol.species,{value:null,configurable:!0})),s.alloc=function(e,t,r){return function(e,t,r,n){return l(t),t<=0?u(e,t):void 0!==r?"string"==typeof n?u(e,t).fill(r,n):u(e,t).fill(r):u(e,t)}(null,e,t,r)},s.allocUnsafe=function(e){return f(null,e)},s.allocUnsafeSlow=function(e){return f(null,e)},s.isBuffer=function(e){return!(null==e||!e._isBuffer)},s.compare=function(e,t){if(!s.isBuffer(e)||!s.isBuffer(t))throw new TypeError("Arguments must be Buffers");if(e===t)return 0;for(var r=e.length,n=t.length,o=0,i=Math.min(r,n);o<i;++o)if(e[o]!==t[o]){r=e[o],n=t[o];break}return r<n?-1:n<r?1:0},s.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}},s.concat=function(e,t){if(!i(e))throw new TypeError('"list" argument must be an Array of Buffers');if(0===e.length)return s.alloc(0);var r;if(void 0===t)for(t=0,r=0;r<e.length;++r)t+=e[r].length;var n=s.allocUnsafe(t),o=0;for(r=0;r<e.length;++r){var a=e[r];if(!s.isBuffer(a))throw new TypeError('"list" argument must be an Array of Buffers');a.copy(n,o),o+=a.length}return n},s.byteLength=h,s.prototype._isBuffer=!0,s.prototype.swap16=function(){var e=this.length;if(e%2!=0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var t=0;t<e;t+=2)v(this,t,t+1);return this},s.prototype.swap32=function(){var e=this.length;if(e%4!=0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(var t=0;t<e;t+=4)v(this,t,t+3),v(this,t+1,t+2);return this},s.prototype.swap64=function(){var e=this.length;if(e%8!=0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(var t=0;t<e;t+=8)v(this,t,t+7),v(this,t+1,t+6),v(this,t+2,t+5),v(this,t+3,t+4);return this},s.prototype.toString=function(){var e=0|this.length;return 0===e?"":0===arguments.length?P(this,0,e):y.apply(this,arguments)},s.prototype.equals=function(e){if(!s.isBuffer(e))throw new TypeError("Argument must be a Buffer");return this===e||0===s.compare(this,e)},s.prototype.inspect=function(){var e="",r=t.INSPECT_MAX_BYTES;return this.length>0&&(e=this.toString("hex",0,r).match(/.{2}/g).join(" "),this.length>r&&(e+=" ... ")),"<Buffer "+e+">"},s.prototype.compare=function(e,t,r,n,o){if(!s.isBuffer(e))throw new TypeError("Argument must be a Buffer");if(void 0===t&&(t=0),void 0===r&&(r=e?e.length:0),void 0===n&&(n=0),void 0===o&&(o=this.length),t<0||r>e.length||n<0||o>this.length)throw new RangeError("out of range index");if(n>=o&&t>=r)return 0;if(n>=o)return-1;if(t>=r)return 1;if(this===e)return 0;for(var i=(o>>>=0)-(n>>>=0),a=(r>>>=0)-(t>>>=0),u=Math.min(i,a),c=this.slice(n,o),l=e.slice(t,r),f=0;f<u;++f)if(c[f]!==l[f]){i=c[f],a=l[f];break}return i<a?-1:a<i?1:0},s.prototype.includes=function(e,t,r){return-1!==this.indexOf(e,t,r)},s.prototype.indexOf=function(e,t,r){return m(this,e,t,r,!0)},s.prototype.lastIndexOf=function(e,t,r){return m(this,e,t,r,!1)},s.prototype.write=function(e,t,r,n){if(void 0===t)n="utf8",r=this.length,t=0;else if(void 0===r&&"string"==typeof t)n=t,r=this.length,t=0;else{if(!isFinite(t))throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");t|=0,isFinite(r)?(r|=0,void 0===n&&(n="utf8")):(n=r,r=void 0)}var o=this.length-t;if((void 0===r||r>o)&&(r=o),e.length>0&&(r<0||t<0)||t>this.length)throw new RangeError("Attempt to write outside buffer bounds");n||(n="utf8");for(var i=!1;;)switch(n){case"hex":return g(this,e,t,r);case"utf8":case"utf-8":return w(this,e,t,r);case"ascii":return S(this,e,t,r);case"latin1":case"binary":return O(this,e,t,r);case"base64":return _(this,e,t,r);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return x(this,e,t,r);default:if(i)throw new TypeError("Unknown encoding: "+n);n=(""+n).toLowerCase(),i=!0}},s.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};function k(e,t,r){var n="";r=Math.min(e.length,r);for(var o=t;o<r;++o)n+=String.fromCharCode(127&e[o]);return n}function j(e,t,r){var n="";r=Math.min(e.length,r);for(var o=t;o<r;++o)n+=String.fromCharCode(e[o]);return n}function T(e,t,r){var n=e.length;(!t||t<0)&&(t=0),(!r||r<0||r>n)&&(r=n);for(var o="",i=t;i<r;++i)o+=F(e[i]);return o}function A(e,t,r){for(var n=e.slice(t,r),o="",i=0;i<n.length;i+=2)o+=String.fromCharCode(n[i]+256*n[i+1]);return o}function C(e,t,r){if(e%1!=0||e<0)throw new RangeError("offset is not uint");if(e+t>r)throw new RangeError("Trying to access beyond buffer length")}function L(e,t,r,n,o,i){if(!s.isBuffer(e))throw new TypeError('"buffer" argument must be a Buffer instance');if(t>o||t<i)throw new RangeError('"value" argument is out of bounds');if(r+n>e.length)throw new RangeError("Index out of range")}function R(e,t,r,n){t<0&&(t=65535+t+1);for(var o=0,i=Math.min(e.length-r,2);o<i;++o)e[r+o]=(t&255<<8*(n?o:1-o))>>>8*(n?o:1-o)}function I(e,t,r,n){t<0&&(t=4294967295+t+1);for(var o=0,i=Math.min(e.length-r,4);o<i;++o)e[r+o]=t>>>8*(n?o:3-o)&255}function N(e,t,r,n,o,i){if(r+n>e.length)throw new RangeError("Index out of range");if(r<0)throw new RangeError("Index out of range")}function M(e,t,r,n,i){return i||N(e,0,r,4),o.write(e,t,r,n,23,4),r+4}function D(e,t,r,n,i){return i||N(e,0,r,8),o.write(e,t,r,n,52,8),r+8}s.prototype.slice=function(e,t){var r,n=this.length;if((e=~~e)<0?(e+=n)<0&&(e=0):e>n&&(e=n),(t=void 0===t?n:~~t)<0?(t+=n)<0&&(t=0):t>n&&(t=n),t<e&&(t=e),s.TYPED_ARRAY_SUPPORT)(r=this.subarray(e,t)).__proto__=s.prototype;else{var o=t-e;r=new s(o,void 0);for(var i=0;i<o;++i)r[i]=this[i+e]}return r},s.prototype.readUIntLE=function(e,t,r){e|=0,t|=0,r||C(e,t,this.length);for(var n=this[e],o=1,i=0;++i<t&&(o*=256);)n+=this[e+i]*o;return n},s.prototype.readUIntBE=function(e,t,r){e|=0,t|=0,r||C(e,t,this.length);for(var n=this[e+--t],o=1;t>0&&(o*=256);)n+=this[e+--t]*o;return n},s.prototype.readUInt8=function(e,t){return t||C(e,1,this.length),this[e]},s.prototype.readUInt16LE=function(e,t){return t||C(e,2,this.length),this[e]|this[e+1]<<8},s.prototype.readUInt16BE=function(e,t){return t||C(e,2,this.length),this[e]<<8|this[e+1]},s.prototype.readUInt32LE=function(e,t){return t||C(e,4,this.length),(this[e]|this[e+1]<<8|this[e+2]<<16)+16777216*this[e+3]},s.prototype.readUInt32BE=function(e,t){return t||C(e,4,this.length),16777216*this[e]+(this[e+1]<<16|this[e+2]<<8|this[e+3])},s.prototype.readIntLE=function(e,t,r){e|=0,t|=0,r||C(e,t,this.length);for(var n=this[e],o=1,i=0;++i<t&&(o*=256);)n+=this[e+i]*o;return n>=(o*=128)&&(n-=Math.pow(2,8*t)),n},s.prototype.readIntBE=function(e,t,r){e|=0,t|=0,r||C(e,t,this.length);for(var n=t,o=1,i=this[e+--n];n>0&&(o*=256);)i+=this[e+--n]*o;return i>=(o*=128)&&(i-=Math.pow(2,8*t)),i},s.prototype.readInt8=function(e,t){return t||C(e,1,this.length),128&this[e]?-1*(255-this[e]+1):this[e]},s.prototype.readInt16LE=function(e,t){t||C(e,2,this.length);var r=this[e]|this[e+1]<<8;return 32768&r?4294901760|r:r},s.prototype.readInt16BE=function(e,t){t||C(e,2,this.length);var r=this[e+1]|this[e]<<8;return 32768&r?4294901760|r:r},s.prototype.readInt32LE=function(e,t){return t||C(e,4,this.length),this[e]|this[e+1]<<8|this[e+2]<<16|this[e+3]<<24},s.prototype.readInt32BE=function(e,t){return t||C(e,4,this.length),this[e]<<24|this[e+1]<<16|this[e+2]<<8|this[e+3]},s.prototype.readFloatLE=function(e,t){return t||C(e,4,this.length),o.read(this,e,!0,23,4)},s.prototype.readFloatBE=function(e,t){return t||C(e,4,this.length),o.read(this,e,!1,23,4)},s.prototype.readDoubleLE=function(e,t){return t||C(e,8,this.length),o.read(this,e,!0,52,8)},s.prototype.readDoubleBE=function(e,t){return t||C(e,8,this.length),o.read(this,e,!1,52,8)},s.prototype.writeUIntLE=function(e,t,r,n){(e=+e,t|=0,r|=0,n)||L(this,e,t,r,Math.pow(2,8*r)-1,0);var o=1,i=0;for(this[t]=255&e;++i<r&&(o*=256);)this[t+i]=e/o&255;return t+r},s.prototype.writeUIntBE=function(e,t,r,n){(e=+e,t|=0,r|=0,n)||L(this,e,t,r,Math.pow(2,8*r)-1,0);var o=r-1,i=1;for(this[t+o]=255&e;--o>=0&&(i*=256);)this[t+o]=e/i&255;return t+r},s.prototype.writeUInt8=function(e,t,r){return e=+e,t|=0,r||L(this,e,t,1,255,0),s.TYPED_ARRAY_SUPPORT||(e=Math.floor(e)),this[t]=255&e,t+1},s.prototype.writeUInt16LE=function(e,t,r){return e=+e,t|=0,r||L(this,e,t,2,65535,0),s.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8):R(this,e,t,!0),t+2},s.prototype.writeUInt16BE=function(e,t,r){return e=+e,t|=0,r||L(this,e,t,2,65535,0),s.TYPED_ARRAY_SUPPORT?(this[t]=e>>>8,this[t+1]=255&e):R(this,e,t,!1),t+2},s.prototype.writeUInt32LE=function(e,t,r){return e=+e,t|=0,r||L(this,e,t,4,4294967295,0),s.TYPED_ARRAY_SUPPORT?(this[t+3]=e>>>24,this[t+2]=e>>>16,this[t+1]=e>>>8,this[t]=255&e):I(this,e,t,!0),t+4},s.prototype.writeUInt32BE=function(e,t,r){return e=+e,t|=0,r||L(this,e,t,4,4294967295,0),s.TYPED_ARRAY_SUPPORT?(this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e):I(this,e,t,!1),t+4},s.prototype.writeIntLE=function(e,t,r,n){if(e=+e,t|=0,!n){var o=Math.pow(2,8*r-1);L(this,e,t,r,o-1,-o)}var i=0,a=1,u=0;for(this[t]=255&e;++i<r&&(a*=256);)e<0&&0===u&&0!==this[t+i-1]&&(u=1),this[t+i]=(e/a>>0)-u&255;return t+r},s.prototype.writeIntBE=function(e,t,r,n){if(e=+e,t|=0,!n){var o=Math.pow(2,8*r-1);L(this,e,t,r,o-1,-o)}var i=r-1,a=1,u=0;for(this[t+i]=255&e;--i>=0&&(a*=256);)e<0&&0===u&&0!==this[t+i+1]&&(u=1),this[t+i]=(e/a>>0)-u&255;return t+r},s.prototype.writeInt8=function(e,t,r){return e=+e,t|=0,r||L(this,e,t,1,127,-128),s.TYPED_ARRAY_SUPPORT||(e=Math.floor(e)),e<0&&(e=255+e+1),this[t]=255&e,t+1},s.prototype.writeInt16LE=function(e,t,r){return e=+e,t|=0,r||L(this,e,t,2,32767,-32768),s.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8):R(this,e,t,!0),t+2},s.prototype.writeInt16BE=function(e,t,r){return e=+e,t|=0,r||L(this,e,t,2,32767,-32768),s.TYPED_ARRAY_SUPPORT?(this[t]=e>>>8,this[t+1]=255&e):R(this,e,t,!1),t+2},s.prototype.writeInt32LE=function(e,t,r){return e=+e,t|=0,r||L(this,e,t,4,2147483647,-2147483648),s.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8,this[t+2]=e>>>16,this[t+3]=e>>>24):I(this,e,t,!0),t+4},s.prototype.writeInt32BE=function(e,t,r){return e=+e,t|=0,r||L(this,e,t,4,2147483647,-2147483648),e<0&&(e=4294967295+e+1),s.TYPED_ARRAY_SUPPORT?(this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e):I(this,e,t,!1),t+4},s.prototype.writeFloatLE=function(e,t,r){return M(this,e,t,!0,r)},s.prototype.writeFloatBE=function(e,t,r){return M(this,e,t,!1,r)},s.prototype.writeDoubleLE=function(e,t,r){return D(this,e,t,!0,r)},s.prototype.writeDoubleBE=function(e,t,r){return D(this,e,t,!1,r)},s.prototype.copy=function(e,t,r,n){if(r||(r=0),n||0===n||(n=this.length),t>=e.length&&(t=e.length),t||(t=0),n>0&&n<r&&(n=r),n===r)return 0;if(0===e.length||0===this.length)return 0;if(t<0)throw new RangeError("targetStart out of bounds");if(r<0||r>=this.length)throw new RangeError("sourceStart out of bounds");if(n<0)throw new RangeError("sourceEnd out of bounds");n>this.length&&(n=this.length),e.length-t<n-r&&(n=e.length-t+r);var o,i=n-r;if(this===e&&r<t&&t<n)for(o=i-1;o>=0;--o)e[o+t]=this[o+r];else if(i<1e3||!s.TYPED_ARRAY_SUPPORT)for(o=0;o<i;++o)e[o+t]=this[o+r];else Uint8Array.prototype.set.call(e,this.subarray(r,r+i),t);return i},s.prototype.fill=function(e,t,r,n){if("string"==typeof e){if("string"==typeof t?(n=t,t=0,r=this.length):"string"==typeof r&&(n=r,r=this.length),1===e.length){var o=e.charCodeAt(0);o<256&&(e=o)}if(void 0!==n&&"string"!=typeof n)throw new TypeError("encoding must be a string");if("string"==typeof n&&!s.isEncoding(n))throw new TypeError("Unknown encoding: "+n)}else"number"==typeof e&&(e&=255);if(t<0||this.length<t||this.length<r)throw new RangeError("Out of range index");if(r<=t)return this;var i;if(t>>>=0,r=void 0===r?this.length:r>>>0,e||(e=0),"number"==typeof e)for(i=t;i<r;++i)this[i]=e;else{var a=s.isBuffer(e)?e:B(new s(e,n).toString()),u=a.length;for(i=0;i<r-t;++i)this[i+t]=a[i%u]}return this};var U=/[^+\/0-9A-Za-z-_]/g;function F(e){return e<16?"0"+e.toString(16):e.toString(16)}function B(e,t){var r;t=t||1/0;for(var n=e.length,o=null,i=[],a=0;a<n;++a){if((r=e.charCodeAt(a))>55295&&r<57344){if(!o){if(r>56319){(t-=3)>-1&&i.push(239,191,189);continue}if(a+1===n){(t-=3)>-1&&i.push(239,191,189);continue}o=r;continue}if(r<56320){(t-=3)>-1&&i.push(239,191,189),o=r;continue}r=65536+(o-55296<<10|r-56320)}else o&&(t-=3)>-1&&i.push(239,191,189);if(o=null,r<128){if((t-=1)<0)break;i.push(r)}else if(r<2048){if((t-=2)<0)break;i.push(r>>6|192,63&r|128)}else if(r<65536){if((t-=3)<0)break;i.push(r>>12|224,r>>6&63|128,63&r|128)}else{if(!(r<1114112))throw new Error("Invalid code point");if((t-=4)<0)break;i.push(r>>18|240,r>>12&63|128,r>>6&63|128,63&r|128)}}return i}function q(e){return n.toByteArray(function(e){if((e=function(e){return e.trim?e.trim():e.replace(/^\s+|\s+$/g,"")}(e).replace(U,"")).length<2)return"";for(;e.length%4!=0;)e+="=";return e}(e))}function W(e,t,r,n){for(var o=0;o<n&&!(o+r>=t.length||o>=e.length);++o)t[o+r]=e[o];return o}}).call(this,r(51))},function(e,t,r){(function(e){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=e.isBuffer}).call(this,r(139).Buffer)},function(e,t,r){"use strict";var n;function o(e){return e.type===n.Tag||e.type===n.Script||e.type===n.Style}r.r(t),r.d(t,"ElementType",(function(){return n})),r.d(t,"isTag",(function(){return o})),r.d(t,"Root",(function(){return i})),r.d(t,"Text",(function(){return a})),r.d(t,"Directive",(function(){return u})),r.d(t,"Comment",(function(){return s})),r.d(t,"Script",(function(){return c})),r.d(t,"Style",(function(){return l})),r.d(t,"Tag",(function(){return f})),r.d(t,"CDATA",(function(){return p})),r.d(t,"Doctype",(function(){return d})),function(e){e.Root="root",e.Text="text",e.Directive="directive",e.Comment="comment",e.Script="script",e.Style="style",e.Tag="tag",e.CDATA="cdata",e.Doctype="doctype"}(n||(n={}));const i=n.Root,a=n.Text,u=n.Directive,s=n.Comment,c=n.Script,l=n.Style,f=n.Tag,p=n.CDATA,d=n.Doctype},function(e,t,r){var n=r(435),o=r(436);e.exports=function(e,t,r,i){var a=!r;r||(r={});for(var u=-1,s=t.length;++u<s;){var c=t[u],l=i?i(r[c],e[c],c,r,e):void 0;void 0===l&&(l=e[c]),a?o(r,c,l):n(r,c,l)}return r}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n,o=(n=r(0))&&n.__esModule?n:{default:n};var i=function(e){return o.default.createElement("div",{className:"bber-media__slider"},o.default.createElement("div",{className:"bber-media__slider--before",style:{width:"".concat(e.progress/e.duration*100,"%")}}),o.default.createElement("input",{className:"bber-input",type:"range",min:"0",max:e.duration,step:e.duration/100,value:e.progress,onChange:e.seek}))};t.default=i},function(e,t,r){"use strict";var n={}.propertyIsEnumerable,o=Object.getOwnPropertyDescriptor,i=o&&!n.call({1:2},1);t.f=i?function(e){var t=o(this,e);return!!t&&t.enumerable}:n},function(e,t,r){var n=r(13),o=r(24),i=n.document,a=o(i)&&o(i.createElement);e.exports=function(e){return a?i.createElement(e):{}}},function(e,t,r){var n=r(10),o=r(21),i=r(193),a=n(Function.toString);o(i.inspectSource)||(i.inspectSource=function(e){return a(e)}),e.exports=i.inspectSource},function(e,t,r){var n=r(100),o=r(117),i=n("keys");e.exports=function(e){return i[e]||(i[e]=o(e))}},function(e,t,r){var n=r(48),o=r(75),i=r(44),a=function(e){return function(t,r,a){var u,s=n(t),c=i(s),l=o(a,c);if(e&&r!=r){for(;c>l;)if((u=s[l++])!=u)return!0}else for(;c>l;l++)if((e||l in s)&&s[l]===r)return e||l||0;return!e&&-1}};e.exports={includes:a(!0),indexOf:a(!1)}},function(e,t){t.f=Object.getOwnPropertySymbols},function(e,t,r){var n=r(455),o=r(25),i=r(305),a=r(31).f;e.exports=function(e){var t=n.Symbol||(n.Symbol={});o(t,e)||a(t,e,{value:i.f(e)})}},function(e,t,r){var n=r(72);e.exports=Array.isArray||function(e){return"Array"==n(e)}},function(e,t,r){var n=r(10),o=r(9),i=r(21),a=r(76),u=r(49),s=r(146),c=function(){},l=[],f=u("Reflect","construct"),p=/^\s*(?:class|function)\b/,d=n(p.exec),h=!p.exec(c),y=function(e){if(!i(e))return!1;try{return f(c,l,e),!0}catch(e){return!1}},v=function(e){if(!i(e))return!1;switch(a(e)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return h||!!d(p,s(e))}catch(e){return!0}};v.sham=!0,e.exports=!f||o((function(){var e;return y(y.call)||!y(Object)||!y((function(){e=!0}))||e}))?v:y},function(e,t,r){var n=r(9),o=r(18),i=r(99),a=o("species");e.exports=function(e){return i>=51||!n((function(){var t=[];return(t.constructor={})[a]=function(){return{foo:1}},1!==t[e](Boolean).foo}))}},function(e,t,r){"use strict";var n=r(9);e.exports=function(e,t){var r=[][e];return!!r&&n((function(){r.call(null,t||function(){return 1},1)}))}},function(e,t,r){var n=r(20),o=r(53),i=r(30),a=r(85),u=r(128),s=TypeError;e.exports=function(e,t){var r=arguments.length<2?u(e):t;if(o(r))return i(n(r,e));throw s(a(e)+" is not iterable")}},function(e,t,r){var n=r(18)("iterator"),o=!1;try{var i=0,a={next:function(){return{done:!!i++}},return:function(){o=!0}};a[n]=function(){return this},Array.from(a,(function(){throw 2}))}catch(e){}e.exports=function(e,t){if(!t&&!o)return!1;var r=!1;try{var i={};i[n]=function(){return{next:function(){return{done:r=!0}}}},e(i)}catch(e){}return r}},function(e,t,r){var n=r(21),o=r(24),i=r(86);e.exports=function(e,t,r){var a,u;return i&&n(a=t.constructor)&&a!==r&&o(u=a.prototype)&&u!==r.prototype&&i(e,u),e}},function(e,t,r){"use strict";var n,o,i=r(20),a=r(10),u=r(38),s=r(203),c=r(204),l=r(100),f=r(67),p=r(43).get,d=r(317),h=r(318),y=l("native-string-replace",String.prototype.replace),v=RegExp.prototype.exec,m=v,b=a("".charAt),g=a("".indexOf),w=a("".replace),S=a("".slice),O=(o=/b*/g,i(v,n=/a/,"a"),i(v,o,"a"),0!==n.lastIndex||0!==o.lastIndex),_=c.BROKEN_CARET,x=void 0!==/()??/.exec("")[1];(O||x||_||d||h)&&(m=function(e){var t,r,n,o,a,c,l,d=this,h=p(d),E=u(e),P=h.raw;if(P)return P.lastIndex=d.lastIndex,t=i(m,P,E),d.lastIndex=P.lastIndex,t;var k=h.groups,j=_&&d.sticky,T=i(s,d),A=d.source,C=0,L=E;if(j&&(T=w(T,"y",""),-1===g(T,"g")&&(T+="g"),L=S(E,d.lastIndex),d.lastIndex>0&&(!d.multiline||d.multiline&&"\n"!==b(E,d.lastIndex-1))&&(A="(?: "+A+")",L=" "+L,C++),r=new RegExp("^(?:"+A+")",T)),x&&(r=new RegExp("^"+A+"$(?!\\s)",T)),O&&(n=d.lastIndex),o=i(v,j?r:d,L),j?o?(o.input=S(o.input,C),o[0]=S(o[0],C),o.index=d.lastIndex,d.lastIndex+=o[0].length):d.lastIndex=0:O&&o&&(d.lastIndex=d.global?o.index+o[0].length:n),x&&o&&o.length>1&&i(y,o[0],r,(function(){for(a=1;a<arguments.length-2;a++)void 0===arguments[a]&&(o[a]=void 0)})),o&&k)for(o.groups=c=f(null),a=0;a<k.length;a++)c[(l=k[a])[0]]=o[l[1]];return o}),e.exports=m},function(e,t,r){"use strict";r(19);var n=r(10),o=r(39),i=r(158),a=r(9),u=r(18),s=r(63),c=u("species"),l=RegExp.prototype;e.exports=function(e,t,r,f){var p=u(e),d=!a((function(){var t={};return t[p]=function(){return 7},7!=""[e](t)})),h=d&&!a((function(){var t=!1,r=/a/;return"split"===e&&((r={}).constructor={},r.constructor[c]=function(){return r},r.flags="",r[p]=/./[p]),r.exec=function(){return t=!0,null},r[p](""),!t}));if(!d||!h||r){var y=n(/./[p]),v=t(p,""[e],(function(e,t,r,o,a){var u=n(e),s=t.exec;return s===i||s===l.exec?d&&!a?{done:!0,value:y(t,r,o)}:{done:!0,value:u(r,t,o)}:{done:!1}}));o(String.prototype,e,v[0]),o(l,p,v[1])}f&&s(l[p],"sham",!0)}},function(e,t,r){var n=r(20),o=r(30),i=r(21),a=r(72),u=r(158),s=TypeError;e.exports=function(e,t){var r=e.exec;if(i(r)){var c=n(r,e,t);return null!==c&&o(c),c}if("RegExp"===a(e))return n(u,e,t);throw s("RegExp#exec called on incompatible receiver")}},function(e,t,r){"use strict";var n=r(49),o=r(31),i=r(18),a=r(23),u=i("species");e.exports=function(e){var t=n(e),r=o.f;a&&t&&!t[u]&&r(t,u,{configurable:!0,get:function(){return this}})}},function(e,t,r){r(474)},function(e,t,r){var n=r(30),o=r(208),i=r(18)("species");e.exports=function(e,t){var r,a=n(e).constructor;return void 0===a||null==(r=n(a)[i])?t:o(r)}},function(e,t,r){var n=r(103),o=r(79);e.exports=function(e){return"symbol"==typeof e||o(e)&&"[object Symbol]"==n(e)}},function(e,t,r){"use strict";function n(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o,i,a,u=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e)}var t,r,o;return t=e,o=[{key:"get",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:e.localStorageKey,r="{}";try{r=window.localStorage.getItem(t)||r}catch(e){console.warn("window.localStorage is unavailable.")}return r=JSON.parse(r)}},{key:"set",value:function(t){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:e.localStorageKey,n=t;"string"!=typeof n&&(n=JSON.stringify(n));try{window.localStorage.setItem(r,n)}catch(e){console.warn("window.localStorage is unavailable")}}},{key:"clear",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:e.localStorageKey,r=String(t);if(r)try{window.localStorage.removeItem(t)}catch(e){console.warn("window.localStorage is unavailable")}}}],(r=null)&&n(t.prototype,r),o&&n(t,o),Object.defineProperty(t,"prototype",{writable:!1}),e}();a="bber_reader",(i="localStorageKey")in(o=u)?Object.defineProperty(o,i,{value:a,enumerable:!0,configurable:!0,writable:!0}):o[i]=a;var s=u;t.default=s},function(e,t,r){"use strict";var n=r(12),o=r(10),i=r(115),a=r(48),u=r(154),s=o([].join),c=i!=Object,l=u("join",",");n({target:"Array",proto:!0,forced:c||!l},{join:function(e){return s(a(this),void 0===e?",":e)}})},function(e,t,r){var n=r(510),o=r(338);e.exports=function(e,t){return null!=e&&o(e,t,n)}},function(e,t,r){var n=r(56),o=r(212),i=r(511),a=r(130);e.exports=function(e,t){return n(e)?e:o(e,t)?[e]:i(a(e))}},function(e,t,r){var n=r(93)(Object,"create");e.exports=n},function(e,t,r){var n=r(525),o=r(526),i=r(527),a=r(528),u=r(529);function s(e){var t=-1,r=null==e?0:e.length;for(this.clear();++t<r;){var n=e[t];this.set(n[0],n[1])}}s.prototype.clear=n,s.prototype.delete=o,s.prototype.get=i,s.prototype.has=a,s.prototype.set=u,e.exports=s},function(e,t,r){var n=r(172);e.exports=function(e,t){for(var r=e.length;r--;)if(n(e[r][0],t))return r;return-1}},function(e,t){e.exports=function(e,t){return e===t||e!=e&&t!=t}},function(e,t,r){var n=r(531);e.exports=function(e,t){var r=e.__data__;return n(t)?r["string"==typeof t?"string":"hash"]:r.map}},function(e,t){e.exports=function(e){return void 0===e}},function(e,t,r){var n=r(217);e.exports=function(e){return function(t,r){return"string"==typeof t&&"string"==typeof r||(t=n(t),r=n(r)),e(t,r)}}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=(0,r(546).detect)();t.default=n},function(e,t,r){"use strict";function n(e){return(n="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)}r(2),r(1),r(4),r(15),r(5),r(14),r(3),r(7),r(8),Object.defineProperty(t,"__esModule",{value:!0}),t.updateUltimateNodePosition=t.updateLastSpreadIndex=t.unload=t.queueDeferredCallbacks=t.load=t.dequeueDeferredCallbacks=void 0;var o=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!==n(e)&&"function"!=typeof e)return{default:e};var r=i(t);if(r&&r.has(e))return r.get(e);var o={},a=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var u in e)if("default"!==u&&Object.prototype.hasOwnProperty.call(e,u)){var s=a?Object.getOwnPropertyDescriptor(e,u):null;s&&(s.get||s.set)?Object.defineProperty(o,u,s):o[u]=e[u]}o.default=e,r&&r.set(e,o);return o}(r(343));function i(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,r=new WeakMap;return(i=function(e){return e?r:t})(e)}t.load=function(){return{type:o.LOAD,payload:!0}};t.unload=function(){return{type:o.UNLOAD,payload:!1}};t.updateUltimateNodePosition=function(e){return{type:o.UPDATE_ULTIMATE_NODE_POSITION,payload:e}};t.updateLastSpreadIndex=function(e){return{type:o.UPDATE_LAST_SPREAD_INDEX,payload:e}};t.queueDeferredCallbacks=function(){return{type:o.QUEUE_DEFERRED_CALLBACKS,payload:!0}};t.dequeueDeferredCallbacks=function(){return{type:o.DEQUEUE_DEFERRED_CALLBACKS,payload:!1}}},function(e,t,r){"use strict";function n(e){return(n="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)}r(28),r(29),r(1),r(33),r(36),r(3),r(7),r(8),r(2),r(4),r(5),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,r(69),r(350);var o=f(r(0)),i=f(r(346)),a=f(r(134)),u=r(37),s=f(r(352)),c=r(57),l=f(r(95));function f(e){return e&&e.__esModule?e:{default:e}}function p(){return(p=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(this,arguments)}function d(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function h(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function y(e,t,r){return t&&h(e.prototype,t),r&&h(e,r),Object.defineProperty(e,"prototype",{writable:!1}),e}function v(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}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&m(e,t)}function m(e,t){return(m=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function b(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 Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var r,n=S(e);if(t){var o=S(this).constructor;r=Reflect.construct(n,arguments,o)}else r=n.apply(this,arguments);return g(this,r)}}function g(e,t){if(t&&("object"===n(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return w(e)}function w(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function S(e){return(S=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function O(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var _=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=function(r){v(u,r);var n=b(u);function u(e){var r;return d(this,u),O(w(r=n.call(this,e)),"state",{verso:null,recto:null,spreadIndex:null,currentSpreadIndex:null,elementEdgeLeft:null}),O(w(r),"elemRef",o.default.createRef()),O(w(r),"elementEdgeIsInAllowableRange",(function(e){return e>=48&&e<=52||e>=0&&e<=5})),O(w(r),"getRef",(function(){var e,t;r.settings.useParentDimensions?e=null!==(t=r.elemRef.current)&&void 0!==t&&t.parentElement?r.elemRef.current.parentElement:null:e=r.elemRef.current;return e})),O(w(r),"calculateNodePositionUsingOffsetLeft",(function(){var e=r.getRef();if(!e)return console.error("Element does not exist");var t=r.settings.isMarker,n=r.props.viewerSettings,o=n.paddingLeft,i=n.columnGap,a=window.getComputedStyle(e.parentElement.parentElement),u=a.marginLeft,c=a.paddingLeft,l=e.offsetLeft-parseFloat(u)-parseFloat(c),f=(window.innerWidth-2*o-i)/2,p=window.innerWidth-2*o+i,d=l-i-f;e.offsetWidth!==window.innerWidth&&(d-=o);var h=Math.abs(d/p),y=Number((h%1).toFixed(2).substring(2)),v=y>=48&&y<=52,m=y>=0&&y<=5,b=Math.floor(Number(h.toFixed(2)));(!1===r.elementEdgeIsInAllowableRange(y)||!1===v&&!1===m)&&(e.style.display="none",e.style.display="block"),r.setState({verso:v,recto:m,spreadIndex:b,elementEdgeLeft:l}),t&&(s.default.removeStyleSheets(),s.default.createStyleSheets({paddingLeft:o,columnGap:i}),s.default.appendStyleSheets())})),O(w(r),"calculateNodePositionUsingBoundingClientRect",(function(){var e=r.getRef();if(!e)return console.error("Element does not exist");var t=r.props.view.ultimateOffsetLeft,n=r.props.viewerSettings,o=n.paddingLeft,i=n.columnGap,a=Math.abs(r.context.getTranslateX()),u=e.getBoundingClientRect().x+a,s=window.innerWidth-2*o+i,c=t/s-(t-u)/s;c=Math.round(c),r.setState({verso:!0,recto:!1,spreadIndex:c})})),r.calculateNodePositionUsingOffsetLeft=r.calculateNodePositionUsingOffsetLeft.bind(w(r)),r.calculateNodePositionAfterResize=function(){},r.settings={useParentDimensions:(0,c.unlessDefined)(r.props.useParentDimensions,t.useParentDimensions,!1),useElementOffsetLeft:(0,c.unlessDefined)(r.props.useElementOffsetLeft,t.useElementOffsetLeft,!0),useFullscreenElementWidth:(0,c.unlessDefined)(r.props.useFullscreenElementWidth,t.useFullscreenElementWidth,!1),isMarker:(0,c.unlessDefined)(t.isMarker,!1)},r}return y(u,[{key:"componentDidMount",value:function(){this.settings.useElementOffsetLeft?(this.calculateNodePositionAfterResize=(0,a.default)(this.calculateNodePositionUsingOffsetLeft,0,{leading:!1,trailing:!0}).bind(this),this.connectObserver()):this.calculateNodePositionUsingBoundingClientRect()}},{key:"componentWillUnmount",value:function(){this.settings.useElementOffsetLeft&&this.disconnectObservers()}},{key:"componentWillReceiveProps",value:function(e){this.settings.useElementOffsetLeft||e.ultimateOffsetLeft!==this.props.view.ultimateOffsetLeft&&this.calculateNodePositionUsingBoundingClientRect()}},{key:"connectObserver",value:function(){var e=this.getRef();if(!e)return console.error("No element to conenct to ResizeObserver");this.resizeObserver=new i.default(this.calculateNodePositionAfterResize),this.resizeObserver.observe(e)}},{key:"disconnectObservers",value:function(){this.resizeObserver.disconnect()}},{key:"render",value:function(){return o.default.createElement(e,p({elemRef:this.elemRef},this.state,this.props))}}]),u}(o.default.Component);return O(r,"contextType",l.default),(0,u.connect)((function(e){return{readerSettings:e.readerSettings,viewerSettings:e.viewerSettings,view:e.view}}),(function(){return{}}))(r)};t.default=_},function(e,t,r){var n=r(578)(r(365));e.exports=n},function(e,t,r){var n=r(602),o=r(214),i=r(603),a=r(604),u=r(605),s=r(103),c=r(340),l=c(n),f=c(o),p=c(i),d=c(a),h=c(u),y=s;(n&&"[object DataView]"!=y(new n(new ArrayBuffer(1)))||o&&"[object Map]"!=y(new o)||i&&"[object Promise]"!=y(i.resolve())||a&&"[object Set]"!=y(new a)||u&&"[object WeakMap]"!=y(new u))&&(y=function(e){var t=s(e),r="[object Object]"==t?e.constructor:void 0,n=r?c(r):"";if(n)switch(n){case l:return"[object DataView]";case f:return"[object Map]";case p:return"[object Promise]";case d:return"[object Set]";case h:return"[object WeakMap]"}return t}),e.exports=y},function(e,t,r){var n,o,i,a,u=r(13),s=r(77),c=r(68),l=r(21),f=r(25),p=r(9),d=r(303),h=r(102),y=r(145),v=r(205),m=r(367),b=r(230),g=u.setImmediate,w=u.clearImmediate,S=u.process,O=u.Dispatch,_=u.Function,x=u.MessageChannel,E=u.String,P=0,k={};try{n=u.location}catch(e){}var j=function(e){if(f(k,e)){var t=k[e];delete k[e],t()}},T=function(e){return function(){j(e)}},A=function(e){j(e.data)},C=function(e){u.postMessage(E(e),n.protocol+"//"+n.host)};g&&w||(g=function(e){v(arguments.length,1);var t=l(e)?e:_(e),r=h(arguments,1);return k[++P]=function(){s(t,void 0,r)},o(P),P},w=function(e){delete k[e]},b?o=function(e){S.nextTick(T(e))}:O&&O.now?o=function(e){O.now(T(e))}:x&&!m?(a=(i=new x).port2,i.port1.onmessage=A,o=c(a.postMessage,a)):u.addEventListener&&l(u.postMessage)&&!u.importScripts&&n&&"file:"!==n.protocol&&!p(C)?(o=C,u.addEventListener("message",A,!1)):o="onreadystatechange"in y("script")?function(e){d.appendChild(y("script")).onreadystatechange=function(){d.removeChild(this),j(e)}}:function(e){setTimeout(T(e),0)}),e.exports={set:g,clear:w}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=i(r(641)),o=i(r(66));function i(e){return e&&e.__esModule?e:{default:e}}function a(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}var u=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e)}var t,r,i;return t=e,i=[{key:"get",value:function(e){return n.default.get(e)}},{key:"getBooks",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",r="".concat(o.default.stripTrailingSlash(t),"/api/books.json");return e.get(r)}}],(r=null)&&a(t.prototype,r),i&&a(t,i),Object.defineProperty(t,"prototype",{writable:!1}),e}();t.default=u},function(e,t,r){"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,r,n,o){if("function"!=typeof e)throw new TypeError('"callback" argument must be a function');var i,a,u=arguments.length;switch(u){case 0:case 1:return t.nextTick(e);case 2:return t.nextTick((function(){e.call(null,r)}));case 3:return t.nextTick((function(){e.call(null,r,n)}));case 4:return t.nextTick((function(){e.call(null,r,n,o)}));default:for(i=new Array(u-1),a=0;a<i.length;)i[a++]=arguments[a];return t.nextTick((function(){e.apply(null,i)}))}}}:e.exports=t}).call(this,r(105))},function(e,t){e.exports=function(e){return null!=e&&"object"==typeof e&&!0===e["@@functional/placeholder"]}},function(e,t,r){var n=r(240),o=r(681);e.exports=function(e,t,r){return function(){if(0===arguments.length)return r();var i=arguments[arguments.length-1];if(!n(i)){for(var a=0;a<e.length;){if("function"==typeof i[e[a]])return i[e[a]].apply(i,Array.prototype.slice.call(arguments,0,-1));a+=1}if(o(i)){var u=t.apply(null,Array.prototype.slice.call(arguments,0,-1));return u(i)}}return r.apply(this,arguments)}}},function(e,t){e.exports={init:function(){return this.xf["@@transducer/init"]()},result:function(e){return this.xf["@@transducer/result"](e)}}},function(e,t){e.exports=function(e,t){return Object.prototype.hasOwnProperty.call(t,e)}},function(e,t,r){var n=r(22),o=r(163),i=n.aTypedArrayConstructor,a=n.getTypedArrayConstructor;e.exports=function(e){return i(o(e,a(e)))}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.parseStartTime=function(e){return p(e,s)},t.parseEndTime=function(e){return p(e,c)},t.randomString=function(){return Math.random().toString(36).substr(2,5)},t.queryString=function(e){return Object.keys(e).map((function(t){return"".concat(t,"=").concat(e[t])})).join("&")},t.getSDK=function(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:function(){return!0},i=arguments.length>4&&void 0!==arguments[4]?arguments[4]:n.default,a=d(t);if(a&&o(a))return Promise.resolve(a);return new Promise((function(n,o){if(h[e])h[e].push({resolve:n,reject:o});else{h[e]=[{resolve:n,reject:o}];var a=function(t){h[e].forEach((function(e){return e.resolve(t)}))};if(r){var u=window[r];window[r]=function(){u&&u(),a(d(t))}}i(e,(function(n){n?(h[e].forEach((function(e){return e.reject(n)})),h[e]=null):r||a(d(t))}))}}))},t.getConfig=function(e,t){return(0,o.default)(t.config,e.config)},t.omit=function(e){for(var t,r=arguments.length,n=new Array(r>1?r-1:0),o=1;o<r;o++)n[o-1]=arguments[o];for(var i=(t=[]).concat.apply(t,n),a={},u=Object.keys(e),s=0,c=u;s<c.length;s++){var l=c[s];-1===i.indexOf(l)&&(a[l]=e[l])}return a},t.callPlayer=function(e){var t;if(!this.player||!this.player[e]){var r="ReactPlayer: ".concat(this.constructor.displayName," player could not call %c").concat(e,"%c – ");return this.player?this.player[e]||(r+="The method was not available"):r+="The player was not available",console.warn(r,"font-weight: bold",""),null}for(var n=arguments.length,o=new Array(n>1?n-1:0),i=1;i<n;i++)o[i-1]=arguments[i];return(t=this.player)[e].apply(t,o)},t.isMediaStream=function(e){return"undefined"!=typeof window&&void 0!==window.MediaStream&&e instanceof window.MediaStream},t.isBlobUrl=function(e){return/^blob:/.test(e)},t.supportsWebKitPresentationMode=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:document.createElement("video"),t=!1===/iPhone|iPod/.test(navigator.userAgent);return e.webkitSupportsPresentationMode&&"function"==typeof e.webkitSetPresentationMode&&t};var n=i(r(830)),o=i(r(431));function i(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){if("undefined"==typeof Symbol||!(Symbol.iterator in Object(e)))return;var r=[],n=!0,o=!1,i=void 0;try{for(var a,u=e[Symbol.iterator]();!(n=(a=u.next()).done)&&(r.push(a.value),!t||r.length!==t);n=!0);}catch(e){o=!0,i=e}finally{try{n||null==u.return||u.return()}finally{if(o)throw i}}return r}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return u(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return u(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function u(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}var s=/[?&#](?:start|t)=([0-9hms]+)/,c=/[?&#]end=([0-9hms]+)/,l=/(\d+)(h|m|s)/g,f=/^\d+$/;function p(e,t){if(!(e instanceof Array)){var r=e.match(t);if(r){var n=r[1];if(n.match(l))return function(e){var t=0,r=l.exec(e);for(;null!==r;){var n=a(r,3),o=n[1],i=n[2];"h"===i&&(t+=60*parseInt(o,10)*60),"m"===i&&(t+=60*parseInt(o,10)),"s"===i&&(t+=parseInt(o,10)),r=l.exec(e)}return t}(n);if(f.test(n))return parseInt(n)}}}function d(e){return window[e]?window[e]:window.exports&&window.exports[e]?window.exports[e]:window.module&&window.module.exports&&window.module.exports[e]?window.module.exports[e]:null}var h={}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n,o=(n=r(0))&&n.__esModule?n:{default:n};var i=function(e){var t=e.time;return o.default.createElement("div",{className:"bber-media__time"},t)};t.default=i},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n,o=(n=r(0))&&n.__esModule?n:{default:n};var i=function(e){return e.paused?o.default.createElement("button",{className:"bber-button material-icons bber-media__button__play",onClick:e.play},"play_arrow"):o.default.createElement("button",{className:"bber-button material-icons bber-media__button__pause",onClick:e.pause},"pause")};t.default=i},function(e,t,r){var n=r(20),o=r(24),i=r(97),a=r(84),u=r(452),s=r(18),c=TypeError,l=s("toPrimitive");e.exports=function(e,t){if(!o(e)||i(e))return e;var r,s=a(e,l);if(s){if(void 0===t&&(t="default"),r=n(s,e,t),!o(r)||i(r))return r;throw c("Can't convert object to primitive value")}return void 0===t&&(t="number"),u(e,t)}},function(e,t,r){var n=r(13),o=r(194),i=n["__core-js_shared__"]||o("__core-js_shared__",{});e.exports=i},function(e,t,r){var n=r(13),o=Object.defineProperty;e.exports=function(e,t){try{o(n,e,{value:t,configurable:!0,writable:!0})}catch(r){n[e]=t}return t}},function(e,t){e.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},function(e,t,r){var n={};n[r(18)("toStringTag")]="z",e.exports="[object z]"===String(n)},function(e,t,r){var n=r(18),o=r(67),i=r(31).f,a=n("unscopables"),u=Array.prototype;null==u[a]&&i(u,a,{configurable:!0,value:o(null)}),e.exports=function(e){u[a][e]=!0}},function(e,t,r){"use strict";var n=r(12),o=r(20),i=r(62),a=r(101),u=r(21),s=r(310),c=r(124),l=r(86),f=r(54),p=r(63),d=r(39),h=r(18),y=r(123),v=r(311),m=a.PROPER,b=a.CONFIGURABLE,g=v.IteratorPrototype,w=v.BUGGY_SAFARI_ITERATORS,S=h("iterator"),O=function(){return this};e.exports=function(e,t,r,a,h,v,_){s(r,t,a);var x,E,P,k=function(e){if(e===h&&L)return L;if(!w&&e in A)return A[e];switch(e){case"keys":case"values":case"entries":return function(){return new r(this,e)}}return function(){return new r(this)}},j=t+" Iterator",T=!1,A=e.prototype,C=A[S]||A["@@iterator"]||h&&A[h],L=!w&&C||k(h),R="Array"==t&&A.entries||C;if(R&&(x=c(R.call(new e)))!==Object.prototype&&x.next&&(i||c(x)===g||(l?l(x,g):u(x[S])||d(x,S,O)),f(x,j,!0,!0),i&&(y[j]=O)),m&&"values"==h&&C&&"values"!==C.name&&(!i&&b?p(A,"name","values"):(T=!0,L=function(){return o(C,this)})),h)if(E={values:k("values"),keys:v?L:k("keys"),entries:k("entries")},_)for(P in E)(w||T||!(P in A))&&d(A,P,E[P]);else n({target:t,proto:!0,forced:w||T},E);return i&&!_||A[S]===L||d(A,S,L,{name:h}),y[t]=L,E}},function(e,t,r){var n=r(10),o=r(64),i=r(38),a=r(60),u=n("".charAt),s=n("".charCodeAt),c=n("".slice),l=function(e){return function(t,r){var n,l,f=i(a(t)),p=o(r),d=f.length;return p<0||p>=d?e?"":void 0:(n=s(f,p))<55296||n>56319||p+1===d||(l=s(f,p+1))<56320||l>57343?e?u(f,p):n:e?c(f,p,p+2):l-56320+(n-55296<<10)+65536}};e.exports={codeAt:l(!1),charAt:l(!0)}},function(e,t,r){"use strict";var n=r(12),o=r(13),i=r(10),a=r(119),u=r(39),s=r(126),c=r(127),l=r(78),f=r(21),p=r(24),d=r(9),h=r(156),y=r(54),v=r(157);e.exports=function(e,t,r){var m=-1!==e.indexOf("Map"),b=-1!==e.indexOf("Weak"),g=m?"set":"add",w=o[e],S=w&&w.prototype,O=w,_={},x=function(e){var t=i(S[e]);u(S,e,"add"==e?function(e){return t(this,0===e?0:e),this}:"delete"==e?function(e){return!(b&&!p(e))&&t(this,0===e?0:e)}:"get"==e?function(e){return b&&!p(e)?void 0:t(this,0===e?0:e)}:"has"==e?function(e){return!(b&&!p(e))&&t(this,0===e?0:e)}:function(e,r){return t(this,0===e?0:e,r),this})};if(a(e,!f(w)||!(b||S.forEach&&!d((function(){(new w).entries().next()})))))O=r.getConstructor(t,e,m,g),s.enable();else if(a(e,!0)){var E=new O,P=E[g](b?{}:-0,1)!=E,k=d((function(){E.has(1)})),j=h((function(e){new w(e)})),T=!b&&d((function(){for(var e=new w,t=5;t--;)e[g](t,t);return!e.has(-0)}));j||((O=t((function(e,t){l(e,S);var r=v(new w,e,O);return null!=t&&c(t,r[g],{that:r,AS_ENTRIES:m}),r}))).prototype=S,S.constructor=O),(k||T)&&(x("delete"),x("has"),m&&x("get")),(T||P)&&x(g),b&&S.clear&&delete S.clear}return _[e]=O,n({global:!0,constructor:!0,forced:O!=w},_),y(O,e),b||r.setStrong(O,e,m),O}},function(e,t,r){var n=r(18),o=r(123),i=n("iterator"),a=Array.prototype;e.exports=function(e){return void 0!==e&&(o.Array===e||a[i]===e)}},function(e,t,r){"use strict";function n(e){return(n="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)}r(15),r(14),r(3),r(7),r(8),Object.defineProperty(t,"__esModule",{value:!0}),t.updateQueryString=t.updateLocation=t.updateLocalStorage=t.setInitialSearchParams=t.locationStates=void 0,r(1),r(87),r(19),r(319),r(2),r(4),r(5),r(88);var o=p(r(129)),i=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!==n(e)&&"function"!=typeof e)return{default:e};var r=f(t);if(r&&r.has(e))return r.get(e);var o={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if("default"!==a&&Object.prototype.hasOwnProperty.call(e,a)){var u=i?Object.getOwnPropertyDescriptor(e,a):null;u&&(u.get||u.set)?Object.defineProperty(o,a,u):o[a]=e[a]}o.default=e,r&&r.set(e,o);return o}(r(324)),a=r(471),u=p(r(90)),s=p(r(165)),c=p(r(66)),l=p(r(504));function f(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,r=new WeakMap;return(f=function(e){return e?r:t})(e)}function p(e){return e&&e.__esModule?e:{default:e}}var d={MEMORY:"memory",QUERY_PARAMS:"searchParams",LOCAL_STORAGE:"localStorage"};t.locationStates=d;var h=function(e){return function(t,r){var n=r().readerSettings.bookURL,o=u.default.createHash(n),a=s.default.get()||{};return a[o]=a[o]||{},a[o].location=e,s.default.set(a),t({type:i.LOCATION_UPDATE,payload:e})}};t.updateLocalStorage=h;var y=function(e){return function(t,r){var n=r(),o=n.readerSettings.searchParamKeys,u=n.readerLocation.searchParams,s=e.searchParams,f=o.slug,p=c.default.parseQueryString(u),d=c.default.parseQueryString(s),h=p[f],y=d[f],v=h&&h!==y?"push":"replace",m=(0,a.appendExternalParams)(s,o).toString();return l.default[v]({search:m}),t({type:i.LOCATION_UPDATE,payload:e})}};t.updateQueryString=y;t.setInitialSearchParams=function(){return function(e,t){var r=t().readerSettings,n=r.bookURL,c=r.searchParamKeys,l=r.locationState,f=r.searchParams;(0,o.default)(f)&&(f=(0,a.ensureSearchParams)(f,c).toString());var p={searchParams:""};if(f)p.searchParams=f;else if(l===d.QUERY_PARAMS){var h;if(window.location.search&&(0,a.hasSearchParams)(window.location.search,c))h=new URLSearchParams(window.location.search);else{var y,v,m=u.default.createHash(n);h=(null===(y=(s.default.get()||{})[m])||void 0===y||null===(v=y.location)||void 0===v?void 0:v.searchParams)||""}h=(0,a.ensureSearchParams)(h,c),p={searchParams:(h=(0,a.appendExternalParams)(h,c)).toString()}}else if(l===d.LOCAL_STORAGE){var b,g;n||console.error("Err! No `bookURL` provided");var w=u.default.createHash(n),S=s.default.get()||{};S[w]=S[w]||{},g=(null===(b=S[w].location)||void 0===b?void 0:b.searchParams)||"",p={searchParams:(g=(0,a.ensureSearchParams)(g,c)).toString()},S[w].location=p,s.default.set(S)}return e({type:i.LOCATION_UPDATE,payload:p})}};t.updateLocation=function(e){return function(t,r){var n=r().readerSettings.locationState;return n===d.QUERY_PARAMS?t(y(e)):n===d.LOCAL_STORAGE?t(h(e)):void 0}}},function(e,t,r){"use strict";var n=r(30);e.exports=function(){var e=n(this),t="";return e.hasIndices&&(t+="d"),e.global&&(t+="g"),e.ignoreCase&&(t+="i"),e.multiline&&(t+="m"),e.dotAll&&(t+="s"),e.unicode&&(t+="u"),e.unicodeSets&&(t+="v"),e.sticky&&(t+="y"),t}},function(e,t,r){var n=r(9),o=r(13).RegExp,i=n((function(){var e=o("a","y");return e.lastIndex=2,null!=e.exec("abcd")})),a=i||n((function(){return!o("a","y").sticky})),u=i||n((function(){var e=o("^r","gy");return e.lastIndex=2,null!=e.exec("str")}));e.exports={BROKEN_CARET:u,MISSED_STICKY:a,UNSUPPORTED_Y:i}},function(e,t){var r=TypeError;e.exports=function(e,t){if(e<t)throw r("Not enough arguments");return e}},function(e,t,r){var n=r(121),o=Math.floor,i=function(e,t){var r=e.length,s=o(r/2);return r<8?a(e,t):u(e,i(n(e,0,s),t),i(n(e,s),t),t)},a=function(e,t){for(var r,n,o=e.length,i=1;i<o;){for(n=i,r=e[i];n&&t(e[n-1],r)>0;)e[n]=e[--n];n!==i++&&(e[n]=r)}return e},u=function(e,t,r,n){for(var o=t.length,i=r.length,a=0,u=0;a<o||u<i;)e[a+u]=a<o&&u<i?n(t[a],r[u])<=0?t[a++]:r[u++]:a<o?t[a++]:r[u++];return e};e.exports=i},function(e,t,r){var n=r(323)(Object.getPrototypeOf,Object);e.exports=n},function(e,t,r){var n=r(152),o=r(85),i=TypeError;e.exports=function(e){if(n(e))return e;throw i(o(e)+" is not a constructor")}},function(e,t,r){"use strict";var n=r(199).charAt;e.exports=function(e,t,r){return t+(r?n(e,t).length:1)}},function(e,t,r){"use strict";var n=r(12),o=r(330).trim;n({target:"String",proto:!0,forced:r(477)("trim")},{trim:function(){return o(this)}})},function(e,t,r){"use strict";var n=r(20),o=r(159),i=r(30),a=r(65),u=r(38),s=r(60),c=r(84),l=r(209),f=r(160);o("match",(function(e,t,r){return[function(t){var r=s(this),o=null==t?void 0:c(t,e);return o?n(o,t,r):new RegExp(t)[e](u(r))},function(e){var n=i(this),o=u(e),s=r(t,n,o);if(s.done)return s.value;if(!n.global)return f(n,o);var c=n.unicode;n.lastIndex=0;for(var p,d=[],h=0;null!==(p=f(n,o));){var y=u(p[0]);d[h]=y,""===y&&(n.lastIndex=l(o,a(n.lastIndex),c)),h++}return 0===h?null:d}]}))},function(e,t,r){var n=r(56),o=r(164),i=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,a=/^\w*$/;e.exports=function(e,t){if(n(e))return!1;var r=typeof e;return!("number"!=r&&"symbol"!=r&&"boolean"!=r&&null!=e&&!o(e))||(a.test(e)||!i.test(e)||null!=t&&e in Object(t))}},function(e,t,r){var n=r(514),o=r(530),i=r(532),a=r(533),u=r(534);function s(e){var t=-1,r=null==e?0:e.length;for(this.clear();++t<r;){var n=e[t];this.set(n[0],n[1])}}s.prototype.clear=n,s.prototype.delete=o,s.prototype.get=i,s.prototype.has=a,s.prototype.set=u,e.exports=s},function(e,t,r){var n=r(93)(r(55),"Map");e.exports=n},function(e,t,r){var n=r(535),o=r(79),i=Object.prototype,a=i.hasOwnProperty,u=i.propertyIsEnumerable,s=n(function(){return arguments}())?n:function(e){return o(e)&&a.call(e,"callee")&&!u.call(e,"callee")};e.exports=s},function(e,t){e.exports=function(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=9007199254740991}},function(e,t,r){var n=r(540),o=r(81),i=r(164),a=/^[-+]0x[0-9a-f]+$/i,u=/^0b[01]+$/i,s=/^0o[0-7]+$/i,c=parseInt;e.exports=function(e){if("number"==typeof e)return e;if(i(e))return NaN;if(o(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=o(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=n(e);var r=u.test(e);return r||s.test(e)?c(e.slice(2),r?2:8):a.test(e)?NaN:+e}},function(e,t,r){"use strict";function n(e){return(n="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)}r(2),r(1),r(4),r(15),r(5),r(14),r(3),r(7),r(8),Object.defineProperty(t,"__esModule",{value:!0}),t.update=t.showSpinner=t.hideSpinner=t.enablePageTransitions=t.enableEventHandling=t.disablePageTransitions=t.disableEventHandling=void 0;var o=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!==n(e)&&"function"!=typeof e)return{default:e};var r=i(t);if(r&&r.has(e))return r.get(e);var o={},a=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var u in e)if("default"!==u&&Object.prototype.hasOwnProperty.call(e,u)){var s=a?Object.getOwnPropertyDescriptor(e,u):null;s&&(s.get||s.set)?Object.defineProperty(o,u,s):o[u]=e[u]}o.default=e,r&&r.set(e,o);return o}(r(344));function i(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,r=new WeakMap;return(i=function(e){return e?r:t})(e)}t.update=function(e){return{type:o.UPDATE,payload:e}};t.enablePageTransitions=function(){return{type:o.PAGE_TRANSITIONS_UPDATE,payload:!0}};t.disablePageTransitions=function(){return{type:o.PAGE_TRANSITIONS_UPDATE,payload:!1}};t.enableEventHandling=function(){return{type:o.EVENT_HANDLING_UPDATE,payload:!0}};t.disableEventHandling=function(){return{type:o.EVENT_HANDLING_UPDATE,payload:!1}};t.showSpinner=function(){return{type:o.SPINNER_UPDATE,payload:!0}};t.hideSpinner=function(){return{type:o.SPINNER_UPDATE,payload:!1}}},function(e,t,r){e.exports=r(569)()},function(e,t,r){var n=r(170),o=r(581),i=r(582),a=r(583),u=r(584),s=r(585);function c(e){var t=this.__data__=new n(e);this.size=t.size}c.prototype.clear=o,c.prototype.delete=i,c.prototype.get=a,c.prototype.has=u,c.prototype.set=s,e.exports=c},function(e,t){e.exports=function(e,t){for(var r=-1,n=t.length,o=e.length;++r<n;)e[o+r]=t[r];return e}},function(e,t,r){var n=r(596),o=r(359),i=Object.prototype.propertyIsEnumerable,a=Object.getOwnPropertySymbols,u=a?function(e){return null==e?[]:(e=Object(e),n(a(e),(function(t){return i.call(e,t)})))}:o;e.exports=u},function(e,t,r){(function(e){var n=r(55),o=r(598),i=t&&!t.nodeType&&t,a=i&&"object"==typeof e&&e&&!e.nodeType&&e,u=a&&a.exports===i?n.Buffer:void 0,s=(u?u.isBuffer:void 0)||o;e.exports=s}).call(this,r(224)(e))},function(e,t){e.exports=function(e){return e.webpackPolyfill||(e.deprecate=function(){},e.paths=[],e.children||(e.children=[]),Object.defineProperty(e,"loaded",{enumerable:!0,get:function(){return e.l}}),Object.defineProperty(e,"id",{enumerable:!0,get:function(){return e.i}}),e.webpackPolyfill=1),e}},function(e,t){e.exports=function(e){return function(t){return e(t)}}},function(e,t,r){(function(e){var n=r(322),o=t&&!t.nodeType&&t,i=o&&"object"==typeof e&&e&&!e.nodeType&&e,a=i&&i.exports===o&&n.process,u=function(){try{var e=i&&i.require&&i.require("util").types;return e||a&&a.binding&&a.binding("util")}catch(e){}}();e.exports=u}).call(this,r(224)(e))},function(e,t){var r=Object.prototype;e.exports=function(e){var t=e&&e.constructor;return e===("function"==typeof t&&t.prototype||r)}},function(e,t,r){var n=r(339),o=r(216);e.exports=function(e){return null!=e&&o(e.length)&&!n(e)}},function(e,t,r){var n=r(168),o=r(133);e.exports=function(e,t){for(var r=0,i=(t=n(t,e)).length;null!=e&&r<i;)e=e[o(t[r++])];return r&&r==i?e:void 0}},function(e,t,r){var n=r(72),o=r(13);e.exports="process"==n(o.process)},function(e,t){e.exports=function(e){try{return{error:!1,value:e()}}catch(e){return{error:!0,value:e}}}},function(e,t,r){"use strict";(function(t){var n=r(50),o=r(647),i=r(375),a={"Content-Type":"application/x-www-form-urlencoded"};function u(e,t){!n.isUndefined(e)&&n.isUndefined(e["Content-Type"])&&(e["Content-Type"]=t)}var s,c={transitional:{silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},adapter:(("undefined"!=typeof XMLHttpRequest||void 0!==t&&"[object process]"===Object.prototype.toString.call(t))&&(s=r(376)),s),transformRequest:[function(e,t){return o(t,"Accept"),o(t,"Content-Type"),n.isFormData(e)||n.isArrayBuffer(e)||n.isBuffer(e)||n.isStream(e)||n.isFile(e)||n.isBlob(e)?e:n.isArrayBufferView(e)?e.buffer:n.isURLSearchParams(e)?(u(t,"application/x-www-form-urlencoded;charset=utf-8"),e.toString()):n.isObject(e)||t&&"application/json"===t["Content-Type"]?(u(t,"application/json"),function(e,t,r){if(n.isString(e))try{return(t||JSON.parse)(e),n.trim(e)}catch(e){if("SyntaxError"!==e.name)throw e}return(r||JSON.stringify)(e)}(e)):e}],transformResponse:[function(e){var t=this.transitional,r=t&&t.silentJSONParsing,o=t&&t.forcedJSONParsing,a=!r&&"json"===this.responseType;if(a||o&&n.isString(e)&&e.length)try{return JSON.parse(e)}catch(e){if(a){if("SyntaxError"===e.name)throw i(e,this,"E_JSON_PARSE");throw e}}return e}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,validateStatus:function(e){return e>=200&&e<300}};c.headers={common:{Accept:"application/json, text/plain, */*"}},n.forEach(["delete","get","head"],(function(e){c.headers[e]={}})),n.forEach(["post","put","patch"],(function(e){c.headers[e]=n.merge(a)})),e.exports=c}).call(this,r(105))},function(e,t,r){"use strict";var n,o="object"==typeof Reflect?Reflect:null,i=o&&"function"==typeof o.apply?o.apply:function(e,t,r){return Function.prototype.apply.call(e,t,r)};n=o&&"function"==typeof o.ownKeys?o.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 u(){u.init.call(this)}e.exports=u,e.exports.once=function(e,t){return new Promise((function(r,n){function o(r){e.removeListener(t,i),n(r)}function i(){"function"==typeof e.removeListener&&e.removeListener("error",o),r([].slice.call(arguments))}m(e,t,i,{once:!0}),"error"!==t&&function(e,t,r){"function"==typeof e.on&&m(e,"error",t,r)}(e,o,{once:!0})}))},u.EventEmitter=u,u.prototype._events=void 0,u.prototype._eventsCount=0,u.prototype._maxListeners=void 0;var s=10;function c(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?u.defaultMaxListeners:e._maxListeners}function f(e,t,r,n){var o,i,a,u;if(c(r),void 0===(i=e._events)?(i=e._events=Object.create(null),e._eventsCount=0):(void 0!==i.newListener&&(e.emit("newListener",t,r.listener?r.listener:r),i=e._events),a=i[t]),void 0===a)a=i[t]=r,++e._eventsCount;else if("function"==typeof a?a=i[t]=n?[r,a]:[a,r]:n?a.unshift(r):a.push(r),(o=l(e))>0&&a.length>o&&!a.warned){a.warned=!0;var s=new Error("Possible EventEmitter memory leak detected. "+a.length+" "+String(t)+" listeners added. Use emitter.setMaxListeners() to increase limit");s.name="MaxListenersExceededWarning",s.emitter=e,s.type=t,s.count=a.length,u=s,console&&console.warn&&console.warn(u)}return e}function p(){if(!this.fired)return this.target.removeListener(this.type,this.wrapFn),this.fired=!0,0===arguments.length?this.listener.call(this.target):this.listener.apply(this.target,arguments)}function d(e,t,r){var n={fired:!1,wrapFn:void 0,target:e,type:t,listener:r},o=p.bind(n);return o.listener=r,n.wrapFn=o,o}function h(e,t,r){var n=e._events;if(void 0===n)return[];var o=n[t];return void 0===o?[]:"function"==typeof o?r?[o.listener||o]:[o]:r?function(e){for(var t=new Array(e.length),r=0;r<t.length;++r)t[r]=e[r].listener||e[r];return t}(o):v(o,o.length)}function y(e){var t=this._events;if(void 0!==t){var r=t[e];if("function"==typeof r)return 1;if(void 0!==r)return r.length}return 0}function v(e,t){for(var r=new Array(t),n=0;n<t;++n)r[n]=e[n];return r}function m(e,t,r,n){if("function"==typeof e.on)n.once?e.once(t,r):e.on(t,r);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 o(i){n.once&&e.removeEventListener(t,o),r(i)}))}}Object.defineProperty(u,"defaultMaxListeners",{enumerable:!0,get:function(){return s},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+".");s=e}}),u.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},u.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},u.prototype.getMaxListeners=function(){return l(this)},u.prototype.emit=function(e){for(var t=[],r=1;r<arguments.length;r++)t.push(arguments[r]);var n="error"===e,o=this._events;if(void 0!==o)n=n&&void 0===o.error;else if(!n)return!1;if(n){var a;if(t.length>0&&(a=t[0]),a instanceof Error)throw a;var u=new Error("Unhandled error."+(a?" ("+a.message+")":""));throw u.context=a,u}var s=o[e];if(void 0===s)return!1;if("function"==typeof s)i(s,this,t);else{var c=s.length,l=v(s,c);for(r=0;r<c;++r)i(l[r],this,t)}return!0},u.prototype.addListener=function(e,t){return f(this,e,t,!1)},u.prototype.on=u.prototype.addListener,u.prototype.prependListener=function(e,t){return f(this,e,t,!0)},u.prototype.once=function(e,t){return c(t),this.on(e,d(this,e,t)),this},u.prototype.prependOnceListener=function(e,t){return c(t),this.prependListener(e,d(this,e,t)),this},u.prototype.removeListener=function(e,t){var r,n,o,i,a;if(c(t),void 0===(n=this._events))return this;if(void 0===(r=n[e]))return this;if(r===t||r.listener===t)0==--this._eventsCount?this._events=Object.create(null):(delete n[e],n.removeListener&&this.emit("removeListener",e,r.listener||t));else if("function"!=typeof r){for(o=-1,i=r.length-1;i>=0;i--)if(r[i]===t||r[i].listener===t){a=r[i].listener,o=i;break}if(o<0)return this;0===o?r.shift():function(e,t){for(;t+1<e.length;t++)e[t]=e[t+1];e.pop()}(r,o),1===r.length&&(n[e]=r[0]),void 0!==n.removeListener&&this.emit("removeListener",e,a||t)}return this},u.prototype.off=u.prototype.removeListener,u.prototype.removeAllListeners=function(e){var t,r,n;if(void 0===(r=this._events))return this;if(void 0===r.removeListener)return 0===arguments.length?(this._events=Object.create(null),this._eventsCount=0):void 0!==r[e]&&(0==--this._eventsCount?this._events=Object.create(null):delete r[e]),this;if(0===arguments.length){var o,i=Object.keys(r);for(n=0;n<i.length;++n)"removeListener"!==(o=i[n])&&this.removeAllListeners(o);return this.removeAllListeners("removeListener"),this._events=Object.create(null),this._eventsCount=0,this}if("function"==typeof(t=r[e]))this.removeListener(e,t);else if(void 0!==t)for(n=t.length-1;n>=0;n--)this.removeListener(e,t[n]);return this},u.prototype.listeners=function(e){return h(this,e,!0)},u.prototype.rawListeners=function(e){return h(this,e,!1)},u.listenerCount=function(e,t){return"function"==typeof e.listenerCount?e.listenerCount(t):y.call(e,t)},u.prototype.listenerCount=y,u.prototype.eventNames=function(){return this._eventsCount>0?n(this._events):[]}},function(e,t,r){(t=e.exports=r(383)).Stream=t,t.Readable=t,t.Writable=r(236),t.Duplex=r(96),t.Transform=r(386),t.PassThrough=r(671)},function(e,t,r){var n=r(139),o=n.Buffer;function i(e,t){for(var r in e)t[r]=e[r]}function a(e,t,r){return o(e,t,r)}o.from&&o.alloc&&o.allocUnsafe&&o.allocUnsafeSlow?e.exports=n:(i(n,t),t.Buffer=a),i(o,a),a.from=function(e,t,r){if("number"==typeof e)throw new TypeError("Argument must not be a number");return o(e,t,r)},a.alloc=function(e,t,r){if("number"!=typeof e)throw new TypeError("Argument must be a number");var n=o(e);return void 0!==t?"string"==typeof r?n.fill(t,r):n.fill(t):n.fill(0),n},a.allocUnsafe=function(e){if("number"!=typeof e)throw new TypeError("Argument must be a number");return o(e)},a.allocUnsafeSlow=function(e){if("number"!=typeof e)throw new TypeError("Argument must be a number");return n.SlowBuffer(e)}},function(e,t,r){"use strict";(function(t,n,o){var i=r(183);function a(e){var t=this;this.next=null,this.entry=null,this.finish=function(){!function(e,t,r){var n=e.entry;e.entry=null;for(;n;){var o=n.callback;t.pendingcb--,o(r),n=n.next}t.corkedRequestsFree?t.corkedRequestsFree.next=e:t.corkedRequestsFree=e}(t,e)}}e.exports=b;var u,s=!t.browser&&["v0.10","v0.9."].indexOf(t.version.slice(0,5))>-1?n:i.nextTick;b.WritableState=m;var c=Object.create(r(140));c.inherits=r(113);var l={deprecate:r(669)},f=r(384),p=r(235).Buffer,d=o.Uint8Array||function(){};var h,y=r(385);function v(){}function m(e,t){u=u||r(96),e=e||{};var n=t instanceof u;this.objectMode=!!e.objectMode,n&&(this.objectMode=this.objectMode||!!e.writableObjectMode);var o=e.highWaterMark,c=e.writableHighWaterMark,l=this.objectMode?16:16384;this.highWaterMark=o||0===o?o:n&&(c||0===c)?c: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 f=!1===e.decodeStrings;this.decodeStrings=!f,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 r=e._writableState,n=r.sync,o=r.writecb;if(function(e){e.writing=!1,e.writecb=null,e.length-=e.writelen,e.writelen=0}(r),t)!function(e,t,r,n,o){--t.pendingcb,r?(i.nextTick(o,n),i.nextTick(x,e,t),e._writableState.errorEmitted=!0,e.emit("error",n)):(o(n),e._writableState.errorEmitted=!0,e.emit("error",n),x(e,t))}(e,r,n,t,o);else{var a=O(r);a||r.corked||r.bufferProcessing||!r.bufferedRequest||S(e,r),n?s(w,e,r,a,o):w(e,r,a,o)}}(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 b(e){if(u=u||r(96),!(h.call(b,this)||this instanceof u))return new b(e);this._writableState=new m(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)),f.call(this)}function g(e,t,r,n,o,i,a){t.writelen=n,t.writecb=a,t.writing=!0,t.sync=!0,r?e._writev(o,t.onwrite):e._write(o,i,t.onwrite),t.sync=!1}function w(e,t,r,n){r||function(e,t){0===t.length&&t.needDrain&&(t.needDrain=!1,e.emit("drain"))}(e,t),t.pendingcb--,n(),x(e,t)}function S(e,t){t.bufferProcessing=!0;var r=t.bufferedRequest;if(e._writev&&r&&r.next){var n=t.bufferedRequestCount,o=new Array(n),i=t.corkedRequestsFree;i.entry=r;for(var u=0,s=!0;r;)o[u]=r,r.isBuf||(s=!1),r=r.next,u+=1;o.allBuffers=s,g(e,t,!0,t.length,o,"",i.finish),t.pendingcb++,t.lastBufferedRequest=null,i.next?(t.corkedRequestsFree=i.next,i.next=null):t.corkedRequestsFree=new a(t),t.bufferedRequestCount=0}else{for(;r;){var c=r.chunk,l=r.encoding,f=r.callback;if(g(e,t,!1,t.objectMode?1:c.length,c,l,f),r=r.next,t.bufferedRequestCount--,t.writing)break}null===r&&(t.lastBufferedRequest=null)}t.bufferedRequest=r,t.bufferProcessing=!1}function O(e){return e.ending&&0===e.length&&null===e.bufferedRequest&&!e.finished&&!e.writing}function _(e,t){e._final((function(r){t.pendingcb--,r&&e.emit("error",r),t.prefinished=!0,e.emit("prefinish"),x(e,t)}))}function x(e,t){var r=O(t);return r&&(!function(e,t){t.prefinished||t.finalCalled||("function"==typeof e._final?(t.pendingcb++,t.finalCalled=!0,i.nextTick(_,e,t)):(t.prefinished=!0,e.emit("prefinish")))}(e,t),0===t.pendingcb&&(t.finished=!0,e.emit("finish"))),r}c.inherits(b,f),m.prototype.getBuffer=function(){for(var e=this.bufferedRequest,t=[];e;)t.push(e),e=e.next;return t},function(){try{Object.defineProperty(m.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(b,Symbol.hasInstance,{value:function(e){return!!h.call(this,e)||this===b&&(e&&e._writableState instanceof m)}})):h=function(e){return e instanceof this},b.prototype.pipe=function(){this.emit("error",new Error("Cannot pipe, not readable"))},b.prototype.write=function(e,t,r){var n,o=this._writableState,a=!1,u=!o.objectMode&&(n=e,p.isBuffer(n)||n instanceof d);return u&&!p.isBuffer(e)&&(e=function(e){return p.from(e)}(e)),"function"==typeof t&&(r=t,t=null),u?t="buffer":t||(t=o.defaultEncoding),"function"!=typeof r&&(r=v),o.ended?function(e,t){var r=new Error("write after end");e.emit("error",r),i.nextTick(t,r)}(this,r):(u||function(e,t,r,n){var o=!0,a=!1;return null===r?a=new TypeError("May not write null values to stream"):"string"==typeof r||void 0===r||t.objectMode||(a=new TypeError("Invalid non-string/buffer chunk")),a&&(e.emit("error",a),i.nextTick(n,a),o=!1),o}(this,o,e,r))&&(o.pendingcb++,a=function(e,t,r,n,o,i){if(!r){var a=function(e,t,r){e.objectMode||!1===e.decodeStrings||"string"!=typeof t||(t=p.from(t,r));return t}(t,n,o);n!==a&&(r=!0,o="buffer",n=a)}var u=t.objectMode?1:n.length;t.length+=u;var s=t.length<t.highWaterMark;s||(t.needDrain=!0);if(t.writing||t.corked){var c=t.lastBufferedRequest;t.lastBufferedRequest={chunk:n,encoding:o,isBuf:r,callback:i,next:null},c?c.next=t.lastBufferedRequest:t.bufferedRequest=t.lastBufferedRequest,t.bufferedRequestCount+=1}else g(e,t,!1,u,n,o,i);return s}(this,o,u,e,t,r)),a},b.prototype.cork=function(){this._writableState.corked++},b.prototype.uncork=function(){var e=this._writableState;e.corked&&(e.corked--,e.writing||e.corked||e.finished||e.bufferProcessing||!e.bufferedRequest||S(this,e))},b.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(b.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}}),b.prototype._write=function(e,t,r){r(new Error("_write() is not implemented"))},b.prototype._writev=null,b.prototype.end=function(e,t,r){var n=this._writableState;"function"==typeof e?(r=e,e=null,t=null):"function"==typeof t&&(r=t,t=null),null!=e&&this.write(e,t),n.corked&&(n.corked=1,this.uncork()),n.ending||n.finished||function(e,t,r){t.ending=!0,x(e,t),r&&(t.finished?i.nextTick(r):e.once("finish",r));t.ended=!0,e.writable=!1}(this,n,r)},Object.defineProperty(b.prototype,"destroyed",{get:function(){return void 0!==this._writableState&&this._writableState.destroyed},set:function(e){this._writableState&&(this._writableState.destroyed=e)}}),b.prototype.destroy=y.destroy,b.prototype._undestroy=y.undestroy,b.prototype._destroy=function(e,t){this.end(),t(e)}}).call(this,r(105),r(370).setImmediate,r(51))},function(e,t,r){"use strict";var n=r(670).Buffer,o=n.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 i(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&&(n.isEncoding===o||!o(e)))throw new Error("Unknown encoding: "+e);return t||e}(e),this.encoding){case"utf16le":this.text=s,this.end=c,t=4;break;case"utf8":this.fillLast=u,t=4;break;case"base64":this.text=l,this.end=f,t=3;break;default:return this.write=p,void(this.end=d)}this.lastNeed=0,this.lastTotal=0,this.lastChar=n.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 u(e){var t=this.lastTotal-this.lastNeed,r=function(e,t,r){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!==r?r: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 s(e,t){if((e.length-t)%2==0){var r=e.toString("utf16le",t);if(r){var n=r.charCodeAt(r.length-1);if(n>=55296&&n<=56319)return this.lastNeed=2,this.lastTotal=4,this.lastChar[0]=e[e.length-2],this.lastChar[1]=e[e.length-1],r.slice(0,-1)}return r}return this.lastNeed=1,this.lastTotal=2,this.lastChar[0]=e[e.length-1],e.toString("utf16le",t,e.length-1)}function c(e){var t=e&&e.length?this.write(e):"";if(this.lastNeed){var r=this.lastTotal-this.lastNeed;return t+this.lastChar.toString("utf16le",0,r)}return t}function l(e,t){var r=(e.length-t)%3;return 0===r?e.toString("base64",t):(this.lastNeed=3-r,this.lastTotal=3,1===r?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-r))}function f(e){var t=e&&e.length?this.write(e):"";return this.lastNeed?t+this.lastChar.toString("base64",0,3-this.lastNeed):t}function p(e){return e.toString(this.encoding)}function d(e){return e&&e.length?this.write(e):""}t.StringDecoder=i,i.prototype.write=function(e){if(0===e.length)return"";var t,r;if(this.lastNeed){if(void 0===(t=this.fillLast(e)))return"";r=this.lastNeed,this.lastNeed=0}else r=0;return r<e.length?t?t+this.text(e,r):this.text(e,r):t||""},i.prototype.end=function(e){var t=e&&e.length?this.write(e):"";return this.lastNeed?t+"�":t},i.prototype.text=function(e,t){var r=function(e,t,r){var n=t.length-1;if(n<r)return 0;var o=a(t[n]);if(o>=0)return o>0&&(e.lastNeed=o-1),o;if(--n<r||-2===o)return 0;if((o=a(t[n]))>=0)return o>0&&(e.lastNeed=o-2),o;if(--n<r||-2===o)return 0;if((o=a(t[n]))>=0)return o>0&&(2===o?o=0:e.lastNeed=o-3),o;return 0}(this,e,t);if(!this.lastNeed)return e.toString("utf8",t);this.lastTotal=r;var n=e.length-(r-this.lastNeed);return e.copy(this.lastChar,0,n),e.toString("utf8",t,n)},i.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,r){var n=r(239).isArray;e.exports={copyOptions:function(e){var t,r={};for(t in e)e.hasOwnProperty(t)&&(r[t]=e[t]);return r},ensureFlagExists:function(e,t){e in t&&"boolean"==typeof t[e]||(t[e]=!1)},ensureSpacesExists:function(e){(!("spaces"in e)||"number"!=typeof e.spaces&&"string"!=typeof e.spaces)&&(e.spaces=0)},ensureAlwaysArrayExists:function(e){"alwaysArray"in e&&("boolean"==typeof e.alwaysArray||n(e.alwaysArray))||(e.alwaysArray=!1)},ensureKeyExists:function(e,t){e+"Key"in t&&"string"==typeof t[e+"Key"]||(t[e+"Key"]=t.compact?"_"+e:e)},checkFnExists:function(e,t){return e+"Fn"in t}}},function(e,t){e.exports={isArray:function(e){return Array.isArray?Array.isArray(e):"[object Array]"===Object.prototype.toString.call(e)}}},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,r){var n=r(688),o=r(690),i=r(691);function a(e,t,r){for(var n=r.next();!n.done;){if((t=e["@@transducer/step"](t,n.value))&&t["@@transducer/reduced"]){t=t["@@transducer/value"];break}n=r.next()}return e["@@transducer/result"](t)}function u(e,t,r,n){return e["@@transducer/result"](r[n](i(e["@@transducer/step"],e),t))}var s="undefined"!=typeof Symbol?Symbol.iterator:"@@iterator";e.exports=function(e,t,r){if("function"==typeof e&&(e=o(e)),n(r))return function(e,t,r){for(var n=0,o=r.length;n<o;){if((t=e["@@transducer/step"](t,r[n]))&&t["@@transducer/reduced"]){t=t["@@transducer/value"];break}n+=1}return e["@@transducer/result"](t)}(e,t,r);if("function"==typeof r["fantasy-land/reduce"])return u(e,t,r,"fantasy-land/reduce");if(null!=r[s])return a(e,t,r[s]());if("function"==typeof r.next)return a(e,t,r);if("function"==typeof r.reduce)return u(e,t,r,"reduce");throw new TypeError("reduce: list must be array or iterable")}},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,r){return t.apply(this,arguments)};case 3:return function(e,r,n){return t.apply(this,arguments)};case 4:return function(e,r,n,o){return t.apply(this,arguments)};case 5:return function(e,r,n,o,i){return t.apply(this,arguments)};case 6:return function(e,r,n,o,i,a){return t.apply(this,arguments)};case 7:return function(e,r,n,o,i,a,u){return t.apply(this,arguments)};case 8:return function(e,r,n,o,i,a,u,s){return t.apply(this,arguments)};case 9:return function(e,r,n,o,i,a,u,s,c){return t.apply(this,arguments)};case 10:return function(e,r,n,o,i,a,u,s,c,l){return t.apply(this,arguments)};default:throw new Error("First argument to _arity must be a non-negative integer no greater than ten")}}},function(e,t,r){var n=r(82),o=r(187),i=r(693),a=!{toString:null}.propertyIsEnumerable("toString"),u=["constructor","valueOf","isPrototypeOf","toString","propertyIsEnumerable","hasOwnProperty","toLocaleString"],s=function(){"use strict";return arguments.propertyIsEnumerable("length")}(),c=function(e,t){for(var r=0;r<e.length;){if(e[r]===t)return!0;r+=1}return!1},l="function"!=typeof Object.keys||s?n((function(e){if(Object(e)!==e)return[];var t,r,n=[],l=s&&i(e);for(t in e)!o(t,e)||l&&"length"===t||(n[n.length]=t);if(a)for(r=u.length-1;r>=0;)o(t=u[r],e)&&!c(n,t)&&(n[n.length]=t),r-=1;return n})):n((function(e){return Object(e)!==e?[]:Object.keys(e)}));e.exports=l},function(e,t,r){"use strict";function n(e){return(n="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 o(e){return function(e){if(Array.isArray(e))return u(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||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 i(e,t){var r="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!r){if(Array.isArray(e)||(r=a(e))||t&&e&&"number"==typeof e.length){r&&(e=r);var n=0,o=function(){};return{s:o,n:function(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]}},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 i,u=!0,s=!1;return{s:function(){r=r.call(e)},n:function(){var e=r.next();return u=e.done,e},e:function(e){s=!0,i=e},f:function(){try{u||null==r.return||r.return()}finally{if(s)throw i}}}}function a(e,t){if(e){if("string"==typeof e)return u(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?u(e,t):void 0}}function u(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function s(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */s=function(){return e};var e={},t=Object.prototype,r=t.hasOwnProperty,o="function"==typeof Symbol?Symbol:{},i=o.iterator||"@@iterator",a=o.asyncIterator||"@@asyncIterator",u=o.toStringTag||"@@toStringTag";function c(e,t,r){return Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{c({},"")}catch(e){c=function(e,t,r){return e[t]=r}}function l(e,t,r,n){var o=t&&t.prototype instanceof d?t:d,i=Object.create(o.prototype),a=new E(n||[]);return i._invoke=function(e,t,r){var n="suspendedStart";return function(o,i){if("executing"===n)throw new Error("Generator is already running");if("completed"===n){if("throw"===o)throw i;return k()}for(r.method=o,r.arg=i;;){var a=r.delegate;if(a){var u=O(a,r);if(u){if(u===p)continue;return u}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if("suspendedStart"===n)throw n="completed",r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);n="executing";var s=f(e,t,r);if("normal"===s.type){if(n=r.done?"completed":"suspendedYield",s.arg===p)continue;return{value:s.arg,done:r.done}}"throw"===s.type&&(n="completed",r.method="throw",r.arg=s.arg)}}}(e,r,a),i}function f(e,t,r){try{return{type:"normal",arg:e.call(t,r)}}catch(e){return{type:"throw",arg:e}}}e.wrap=l;var p={};function d(){}function h(){}function y(){}var v={};c(v,i,(function(){return this}));var m=Object.getPrototypeOf,b=m&&m(m(P([])));b&&b!==t&&r.call(b,i)&&(v=b);var g=y.prototype=d.prototype=Object.create(v);function w(e){["next","throw","return"].forEach((function(t){c(e,t,(function(e){return this._invoke(t,e)}))}))}function S(e,t){var o;this._invoke=function(i,a){function u(){return new t((function(o,u){!function o(i,a,u,s){var c=f(e[i],e,a);if("throw"!==c.type){var l=c.arg,p=l.value;return p&&"object"==n(p)&&r.call(p,"__await")?t.resolve(p.__await).then((function(e){o("next",e,u,s)}),(function(e){o("throw",e,u,s)})):t.resolve(p).then((function(e){l.value=e,u(l)}),(function(e){return o("throw",e,u,s)}))}s(c.arg)}(i,a,o,u)}))}return o=o?o.then(u,u):u()}}function O(e,t){var r=e.iterator[t.method];if(void 0===r){if(t.delegate=null,"throw"===t.method){if(e.iterator.return&&(t.method="return",t.arg=void 0,O(e,t),"throw"===t.method))return p;t.method="throw",t.arg=new TypeError("The iterator does not provide a 'throw' method")}return p}var n=f(r,e.iterator,t.arg);if("throw"===n.type)return t.method="throw",t.arg=n.arg,t.delegate=null,p;var o=n.arg;return o?o.done?(t[e.resultName]=o.value,t.next=e.nextLoc,"return"!==t.method&&(t.method="next",t.arg=void 0),t.delegate=null,p):o:(t.method="throw",t.arg=new TypeError("iterator result is not an object"),t.delegate=null,p)}function _(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 x(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function E(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(_,this),this.reset(!0)}function P(e){if(e){var t=e[i];if(t)return t.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var n=-1,o=function t(){for(;++n<e.length;)if(r.call(e,n))return t.value=e[n],t.done=!1,t;return t.value=void 0,t.done=!0,t};return o.next=o}}return{next:k}}function k(){return{value:void 0,done:!0}}return h.prototype=y,c(g,"constructor",y),c(y,"constructor",h),h.displayName=c(y,u,"GeneratorFunction"),e.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===h||"GeneratorFunction"===(t.displayName||t.name))},e.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,y):(e.__proto__=y,c(e,u,"GeneratorFunction")),e.prototype=Object.create(g),e},e.awrap=function(e){return{__await:e}},w(S.prototype),c(S.prototype,a,(function(){return this})),e.AsyncIterator=S,e.async=function(t,r,n,o,i){void 0===i&&(i=Promise);var a=new S(l(t,r,n,o),i);return e.isGeneratorFunction(r)?a:a.next().then((function(e){return e.done?e.value:a.next()}))},w(g),c(g,u,"Generator"),c(g,i,(function(){return this})),c(g,"toString",(function(){return"[object Generator]"})),e.keys=function(e){var t=[];for(var r in e)t.push(r);return t.reverse(),function r(){for(;t.length;){var n=t.pop();if(n in e)return r.value=n,r.done=!1,r}return r.done=!0,r}},e.values=P,E.prototype={constructor:E,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(x),!e)for(var t in this)"t"===t.charAt(0)&&r.call(this,t)&&!isNaN(+t.slice(1))&&(this[t]=void 0)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var t=this;function n(r,n){return a.type="throw",a.arg=e,t.next=r,n&&(t.method="next",t.arg=void 0),!!n}for(var o=this.tryEntries.length-1;o>=0;--o){var i=this.tryEntries[o],a=i.completion;if("root"===i.tryLoc)return n("end");if(i.tryLoc<=this.prev){var u=r.call(i,"catchLoc"),s=r.call(i,"finallyLoc");if(u&&s){if(this.prev<i.catchLoc)return n(i.catchLoc,!0);if(this.prev<i.finallyLoc)return n(i.finallyLoc)}else if(u){if(this.prev<i.catchLoc)return n(i.catchLoc,!0)}else{if(!s)throw new Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return n(i.finallyLoc)}}}},abrupt:function(e,t){for(var n=this.tryEntries.length-1;n>=0;--n){var o=this.tryEntries[n];if(o.tryLoc<=this.prev&&r.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var i=o;break}}i&&("break"===e||"continue"===e)&&i.tryLoc<=t&&t<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=e,a.arg=t,i?(this.method="next",this.next=i.finallyLoc,p):this.complete(a)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),p},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.finallyLoc===e)return this.complete(r.completion,r.afterLoc),x(r),p}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.tryLoc===e){var n=r.completion;if("throw"===n.type){var o=n.arg;x(r)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(e,t,r){return this.delegate={iterator:P(e),resultName:t,nextLoc:r},"next"===this.method&&(this.arg=void 0),p}},e}function c(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}r(109),r(110),r(111),r(112),r(29),r(17),r(6),r(28),r(108),r(26),r(35),r(19),Object.defineProperty(t,"__esModule",{value:!0}),t.List=void 0,r(8),r(2),r(1),r(4),r(5),r(3),r(7);var l=null,f=function(e){function t(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),this.head=null,this.tail=null,this.cursor=null}var r,n,a;return r=t,a=[{key:"createItem",value:function(e){return{prev:null,next:null,data:e}}}],(n=[{key:"createItem",value:function(e){return t.createItem(e)}},{key:"allocateCursor",value:function(e,t){var r;return null!==l?(r=l,l=l.cursor,r.prev=e,r.next=t,r.cursor=this.cursor):r={prev:e,next:t,cursor:this.cursor},this.cursor=r,r}},{key:"releaseCursor",value:function(){var e=this.cursor;this.cursor=e.cursor,e.prev=null,e.next=null,e.cursor=l,l=e}},{key:"updateCursors",value:function(e,t,r,n){for(var o=this.cursor;null!==o;)o.prev===e&&(o.prev=t),o.next===r&&(o.next=n),o=o.cursor}},{key:e,value:s().mark((function e(){var t;return s().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:t=this.head;case 1:if(null===t){e.next=7;break}return e.next=4,t.data;case 4:t=t.next,e.next=1;break;case 7:case"end":return e.stop()}}),e,this)}))},{key:"size",get:function(){for(var e=0,t=this.head;null!==t;t=t.next)e++;return e}},{key:"isEmpty",get:function(){return null===this.head}},{key:"first",get:function(){return this.head&&this.head.data}},{key:"last",get:function(){return this.tail&&this.tail.data}},{key:"fromArray",value:function(e){var r=null;this.head=null;var n,o=i(e);try{for(o.s();!(n=o.n()).done;){var a=n.value,u=t.createItem(a);null!==r?r.next=u:this.head=u,u.prev=r,r=u}}catch(e){o.e(e)}finally{o.f()}return this.tail=r,this}},{key:"toArray",value:function(){return o(this)}},{key:"toJSON",value:function(){return o(this)}},{key:"forEach",value:function(e){for(var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this,r=this.allocateCursor(null,this.head);null!==r.next;){var n=r.next;r.next=n.next,e.call(t,n.data,n,this)}this.releaseCursor()}},{key:"forEachRight",value:function(e){for(var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this,r=this.allocateCursor(this.tail,null);null!==r.prev;){var n=r.prev;r.prev=n.prev,e.call(t,n.data,n,this)}this.releaseCursor()}},{key:"reduce",value:function(e,t){for(var r,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:this,o=this.allocateCursor(null,this.head),i=t;null!==o.next;)r=o.next,o.next=r.next,i=e.call(n,i,r.data,r,this);return this.releaseCursor(),i}},{key:"reduceRight",value:function(e,t){for(var r,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:this,o=this.allocateCursor(this.tail,null),i=t;null!==o.prev;)r=o.prev,o.prev=r.prev,i=e.call(n,i,r.data,r,this);return this.releaseCursor(),i}},{key:"some",value:function(e){for(var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this,r=this.head;null!==r;r=r.next)if(e.call(t,r.data,r,this))return!0;return!1}},{key:"map",value:function(e){for(var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this,n=new t,o=this.head;null!==o;o=o.next)n.appendData(e.call(r,o.data,o,this));return n}},{key:"filter",value:function(e){for(var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this,n=new t,o=this.head;null!==o;o=o.next)e.call(r,o.data,o,this)&&n.appendData(o.data);return n}},{key:"nextUntil",value:function(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:this;if(null!==e){for(var n=this.allocateCursor(null,e);null!==n.next;){var o=n.next;if(n.next=o.next,t.call(r,o.data,o,this))break}this.releaseCursor()}}},{key:"prevUntil",value:function(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:this;if(null!==e){for(var n=this.allocateCursor(e,null);null!==n.prev;){var o=n.prev;if(n.prev=o.prev,t.call(r,o.data,o,this))break}this.releaseCursor()}}},{key:"clear",value:function(){this.head=null,this.tail=null}},{key:"copy",value:function(){var e,r=new t,n=i(this);try{for(n.s();!(e=n.n()).done;){var o=e.value;r.appendData(o)}}catch(e){n.e(e)}finally{n.f()}return r}},{key:"prepend",value:function(e){return this.updateCursors(null,e,this.head,e),null!==this.head?(this.head.prev=e,e.next=this.head):this.tail=e,this.head=e,this}},{key:"prependData",value:function(e){return this.prepend(t.createItem(e))}},{key:"append",value:function(e){return this.insert(e)}},{key:"appendData",value:function(e){return this.insert(t.createItem(e))}},{key:"insert",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;if(null!==t)if(this.updateCursors(t.prev,e,t,e),null===t.prev){if(this.head!==t)throw new Error("before doesn't belong to list");this.head=e,t.prev=e,e.next=t,this.updateCursors(null,e)}else t.prev.next=e,e.prev=t.prev,t.prev=e,e.next=t;else this.updateCursors(this.tail,e,null,e),null!==this.tail?(this.tail.next=e,e.prev=this.tail):this.head=e,this.tail=e;return this}},{key:"insertData",value:function(e,r){return this.insert(t.createItem(e),r)}},{key:"remove",value:function(e){if(this.updateCursors(e,e.prev,e,e.next),null!==e.prev)e.prev.next=e.next;else{if(this.head!==e)throw new Error("item doesn't belong to list");this.head=e.next}if(null!==e.next)e.next.prev=e.prev;else{if(this.tail!==e)throw new Error("item doesn't belong to list");this.tail=e.prev}return e.prev=null,e.next=null,e}},{key:"push",value:function(e){this.insert(t.createItem(e))}},{key:"pop",value:function(){return null!==this.tail?this.remove(this.tail):null}},{key:"unshift",value:function(e){this.prepend(t.createItem(e))}},{key:"shift",value:function(){return null!==this.head?this.remove(this.head):null}},{key:"prependList",value:function(e){return this.insertList(e,this.head)}},{key:"appendList",value:function(e){return this.insertList(e)}},{key:"insertList",value:function(e,t){return null===e.head||(null!=t?(this.updateCursors(t.prev,e.tail,t,e.head),null!==t.prev?(t.prev.next=e.head,e.head.prev=t.prev):this.head=e.head,t.prev=e.tail,e.tail.next=t):(this.updateCursors(this.tail,e.tail,null,e.head),null!==this.tail?(this.tail.next=e.head,e.head.prev=this.tail):this.head=e.head,this.tail=e.tail),e.head=null,e.tail=null),this}},{key:"replace",value:function(e,t){"head"in t?this.insertList(t,e):this.insert(t,e),this.remove(e)}}])&&c(r.prototype,n),a&&c(r,a),Object.defineProperty(r,"prototype",{writable:!1}),t}(Symbol.iterator);t.List=f},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.WhiteSpaceCategory=t.NonPrintableCategory=t.NameStartCategory=t.EofCategory=t.DigitCategory=void 0,t.charCodeCategory=function(e){return e<128?d[e]:132},t.isBOM=function(e){if(65279===e)return 1;if(65534===e)return 1;return 0},t.isDigit=n,t.isHexDigit=function(e){return n(e)||e>=65&&e<=70||e>=97&&e<=102},t.isIdentifierStart=function(e,t,r){if(45===e)return s(t)||45===t||p(t,r);if(s(e))return!0;if(92===e)return p(e,t);return!1},t.isLetter=a,t.isLowercaseLetter=i,t.isName=function(e){return s(e)||n(e)||45===e},t.isNameStart=s,t.isNewline=l,t.isNonAscii=u,t.isNonPrintable=c,t.isNumberStart=function(e,t,r){if(43===e||45===e)return n(t)?2:46===t&&n(r)?3:0;if(46===e)return n(t)?2:0;if(n(e))return 1;return 0},t.isUppercaseLetter=o,t.isValidEscape=p,t.isWhiteSpace=f;function n(e){return e>=48&&e<=57}function o(e){return e>=65&&e<=90}function i(e){return e>=97&&e<=122}function a(e){return o(e)||i(e)}function u(e){return e>=128}function s(e){return a(e)||u(e)||95===e}function c(e){return e>=0&&e<=8||11===e||e>=14&&e<=31||127===e}function l(e){return 10===e||13===e||12===e}function f(e){return l(e)||32===e||9===e}function p(e,t){return 92===e&&(!l(t)&&0!==t)}var d=new Array(128);t.EofCategory=128;t.WhiteSpaceCategory=130;t.DigitCategory=131;t.NameStartCategory=132;t.NonPrintableCategory=133;for(var h=0;h<d.length;h++)d[h]=(f(h)?130:n(h)&&131)||s(h)&&132||c(h)&&133||h||128},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.decode=function(e){for(var t=e.length,r=e.charCodeAt(0),o=34===r||39===r?1:0,i=1===o&&t>1&&e.charCodeAt(t-1)===r?t-2:t-1,a="",u=o;u<=i;u++){var s=e.charCodeAt(u);if(92===s){if(u===i){u!==t-1&&(a=e.substr(u+1));break}if(s=e.charCodeAt(++u),(0,n.isValidEscape)(92,s)){var c=u-1,l=(0,n.consumeEscaped)(e,c);u=l-1,a+=(0,n.decodeEscaped)(e.substring(c+1,l))}else 13===s&&10===e.charCodeAt(u+1)&&u++}else a+=e[u]}return a},t.encode=function(e,t){for(var r=t?"'":'"',o=t?39:34,i="",a=!1,u=0;u<e.length;u++){var s=e.charCodeAt(u);0!==s?s<=31||127===s?(i+="\\"+s.toString(16),a=!0):s===o||92===s?(i+="\\"+e.charAt(u),a=!1):(a&&((0,n.isHexDigit)(s)||(0,n.isWhiteSpace)(s))&&(i+=" "),i+=e.charAt(u),a=!1):i+="�"}return r+i+r},r(1),r(87);var n=r(11)},function(e,t,r){"use strict";r(6),Object.defineProperty(t,"__esModule",{value:!0}),t.generate=function(e){if(e.a){var t=("+1"===e.a||"1"===e.a?"n":"-1"===e.a&&"-n")||e.a+"n";if(e.b){var r="-"===e.b[0]||"+"===e.b[0]?e.b:"+"+e.b;this.tokenize(t+r)}else this.tokenize(t)}else this.tokenize(e.b)},t.name=void 0,t.parse=function(){var e=this.tokenStart,t=null,r=null;if(this.tokenType===n.Number)a.call(this,!1),r=this.consume(n.Number);else if(this.tokenType===n.Ident&&this.cmpChar(this.tokenStart,45))switch(t="-1",u.call(this,1,o),this.tokenEnd-this.tokenStart){case 2:this.next(),r=s.call(this);break;case 3:u.call(this,2,45),this.next(),this.skipSC(),a.call(this,!0),r="-"+this.consume(n.Number);break;default:u.call(this,2,45),i.call(this,3,!0),this.next(),r=this.substrToCursor(e+2)}else if(this.tokenType===n.Ident||this.isDelim(43)&&this.lookupType(1)===n.Ident){var c=0;switch(t="1",this.isDelim(43)&&(c=1,this.next()),u.call(this,0,o),this.tokenEnd-this.tokenStart){case 1:this.next(),r=s.call(this);break;case 2:u.call(this,1,45),this.next(),this.skipSC(),a.call(this,!0),r="-"+this.consume(n.Number);break;default:u.call(this,1,45),i.call(this,2,!0),this.next(),r=this.substrToCursor(e+c+1)}}else if(this.tokenType===n.Dimension){for(var l=this.charCodeAt(this.tokenStart),f=43===l||45===l,p=this.tokenStart+f;p<this.tokenEnd&&(0,n.isDigit)(this.charCodeAt(p));p++);p===this.tokenStart+f&&this.error("Integer is expected",this.tokenStart+f),u.call(this,p-this.tokenStart,o),t=this.substring(e,p),p+1===this.tokenEnd?(this.next(),r=s.call(this)):(u.call(this,p-this.tokenStart+1,45),p+2===this.tokenEnd?(this.next(),this.skipSC(),a.call(this,!0),r="-"+this.consume(n.Number)):(i.call(this,p-this.tokenStart+2,!0),this.next(),r=this.substrToCursor(p+1)))}else this.error();null!==t&&43===t.charCodeAt(0)&&(t=t.substr(1));null!==r&&43===r.charCodeAt(0)&&(r=r.substr(1));return{type:"AnPlusB",loc:this.getLocation(e,this.tokenStart),a:t,b:r}},t.structure=void 0;var n=r(11),o=110;function i(e,t){var r=this.tokenStart+e,o=this.charCodeAt(r);for(43!==o&&45!==o||(t&&this.error("Number sign is not allowed"),r++);r<this.tokenEnd;r++)(0,n.isDigit)(this.charCodeAt(r))||this.error("Integer is expected",r)}function a(e){return i.call(this,0,e)}function u(e,t){if(!this.cmpChar(this.tokenStart+e,t)){var r="";switch(t){case o:r="N is expected";break;case 45:r="HyphenMinus is expected"}this.error(r,this.tokenStart+e)}}function s(){for(var e=0,t=0,r=this.tokenType;r===n.WhiteSpace||r===n.Comment;)r=this.lookupType(++e);if(r!==n.Number){if(!this.isDelim(43,e)&&!this.isDelim(45,e))return null;t=this.isDelim(43,e)?43:45;do{r=this.lookupType(++e)}while(r===n.WhiteSpace||r===n.Comment);r!==n.Number&&(this.skip(e),a.call(this,!0))}return e>0&&this.skip(e),0===t&&43!==(r=this.charCodeAt(this.tokenStart))&&45!==r&&this.error("Number sign is expected"),a.call(this,0!==t),45===t?"-"+this.consume(n.Number):this.consume(n.Number)}t.name="AnPlusB";var c={a:[String,null],b:[String,null]};t.structure=c},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.generate=function(e){this.token(n.AtKeyword,"@"+e.name),null!==e.prelude&&this.node(e.prelude);e.block?this.node(e.block):this.token(n.Semicolon,";")},t.name=void 0,t.parse=function(){var e,t,r=this.tokenStart,a=null,u=null;this.eat(n.AtKeyword),e=this.substrToCursor(r+1),t=e.toLowerCase(),this.skipSC(),!1===this.eof&&this.tokenType!==n.LeftCurlyBracket&&this.tokenType!==n.Semicolon&&(a=this.parseAtrulePrelude?this.parseWithFallback(this.AtrulePrelude.bind(this,e),o):o.call(this,this.tokenIndex),this.skipSC());switch(this.tokenType){case n.Semicolon:this.next();break;case n.LeftCurlyBracket:u=hasOwnProperty.call(this.atrule,t)&&"function"==typeof this.atrule[t].block?this.atrule[t].block.call(this):this.Block(i.call(this))}return{type:"Atrule",loc:this.getLocation(r,this.tokenStart),name:e,prelude:a,block:u}},t.walkContext=t.structure=void 0,r(6);var n=r(11);function o(e){return this.Raw(e,this.consumeUntilLeftCurlyBracketOrSemicolon,!0)}function i(){for(var e,t=1;e=this.lookupType(t);t++){if(e===n.RightCurlyBracket)return!0;if(e===n.LeftCurlyBracket||e===n.AtKeyword)return!1}return!1}t.name="Atrule";t.walkContext="atrule";var a={name:String,prelude:["AtrulePrelude","Raw",null],block:["Block",null]};t.structure=a},function(e,t,r){"use strict";r(6),Object.defineProperty(t,"__esModule",{value:!0}),t.generate=function(e){this.children(e)},t.name=void 0,t.parse=function(e){var t=null;null!==e&&(e=e.toLowerCase());this.skipSC(),t=hasOwnProperty.call(this.atrule,e)&&"function"==typeof this.atrule[e].prelude?this.atrule[e].prelude.call(this):this.readSequence(this.scope.AtrulePrelude);this.skipSC(),!0!==this.eof&&this.tokenType!==n.LeftCurlyBracket&&this.tokenType!==n.Semicolon&&this.error("Semicolon or block is expected");return{type:"AtrulePrelude",loc:this.getLocationFromList(t),children:t}},t.walkContext=t.structure=void 0;var n=r(11);t.name="AtrulePrelude";t.walkContext="atrulePrelude";t.structure={children:[[]]}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.generate=function(e){this.token(n.Delim,"["),this.node(e.name),null!==e.matcher&&(this.tokenize(e.matcher),this.node(e.value));null!==e.flags&&this.token(n.Ident,e.flags);this.token(n.Delim,"]")},t.name=void 0,t.parse=function(){var e,t=this.tokenStart,r=null,a=null,u=null;this.eat(n.LeftSquareBracket),this.skipSC(),e=o.call(this),this.skipSC(),this.tokenType!==n.RightSquareBracket&&(this.tokenType!==n.Ident&&(r=i.call(this),this.skipSC(),a=this.tokenType===n.String?this.String():this.Identifier(),this.skipSC()),this.tokenType===n.Ident&&(u=this.consume(n.Ident),this.skipSC()));return this.eat(n.RightSquareBracket),{type:"AttributeSelector",loc:this.getLocation(t,this.tokenStart),name:e,matcher:r,value:a,flags:u}},t.structure=void 0,r(6),r(796);var n=r(11);function o(){this.eof&&this.error("Unexpected end of input");var e=this.tokenStart,t=!1;return this.isDelim(42)?(t=!0,this.next()):this.isDelim(124)||this.eat(n.Ident),this.isDelim(124)?61!==this.charCodeAt(this.tokenStart+1)?(this.next(),this.eat(n.Ident)):t&&this.error("Identifier is expected",this.tokenEnd):t&&this.error("Vertical line is expected"),{type:"Identifier",loc:this.getLocation(e,this.tokenStart),name:this.substrToCursor(e)}}function i(){var e=this.tokenStart,t=this.charCodeAt(e);return 61!==t&&126!==t&&94!==t&&36!==t&&42!==t&&124!==t&&this.error("Attribute selector (=, ~=, ^=, $=, *=, |=) is expected"),this.next(),61!==t&&(this.isDelim(61)||this.error("Equal sign is expected"),this.next()),this.substrToCursor(e)}t.name="AttributeSelector";var a={name:"Identifier",matcher:[String,null],value:["String","Identifier",null],flags:[String,null]};t.structure=a},function(e,t,r){"use strict";r(6),Object.defineProperty(t,"__esModule",{value:!0}),t.generate=function(e){var t=this;this.token(n.LeftCurlyBracket,"{"),this.children(e,(function(e){"Declaration"===e.type&&t.token(n.Semicolon,";")})),this.token(n.RightCurlyBracket,"}")},t.name=void 0,t.parse=function(e){var t=e?u:i,r=this.tokenStart,a=this.createList();this.eat(n.LeftCurlyBracket);e:for(;!this.eof;)switch(this.tokenType){case n.RightCurlyBracket:break e;case n.WhiteSpace:case n.Comment:this.next();break;case n.AtKeyword:a.push(this.parseWithFallback(this.Atrule,o));break;default:a.push(t.call(this))}this.eof||this.eat(n.RightCurlyBracket);return{type:"Block",loc:this.getLocation(r,this.tokenStart),children:a}},t.walkContext=t.structure=void 0;var n=r(11);function o(e){return this.Raw(e,null,!0)}function i(){return this.parseWithFallback(this.Rule,o)}function a(e){return this.Raw(e,this.consumeUntilSemicolonIncluded,!0)}function u(){if(this.tokenType===n.Semicolon)return a.call(this,this.tokenIndex);var e=this.parseWithFallback(this.Declaration,a);return this.tokenType===n.Semicolon&&this.next(),e}t.name="Block";t.walkContext="block";t.structure={children:[["Atrule","Rule","Declaration"]]}},function(e,t,r){"use strict";r(6),Object.defineProperty(t,"__esModule",{value:!0}),t.generate=function(e){this.token(n.Delim,"["),this.children(e),this.token(n.Delim,"]")},t.name=void 0,t.parse=function(e,t){var r,o=this.tokenStart;this.eat(n.LeftSquareBracket),r=e.call(this,t),this.eof||this.eat(n.RightSquareBracket);return{type:"Brackets",loc:this.getLocation(o,this.tokenStart),children:r}},t.structure=void 0;var n=r(11);t.name="Brackets";t.structure={children:[[]]}},function(e,t,r){"use strict";r(6),Object.defineProperty(t,"__esModule",{value:!0}),t.generate=function(){this.token(n.CDC,"--\x3e")},t.name=void 0,t.parse=function(){var e=this.tokenStart;return this.eat(n.CDC),{type:"CDC",loc:this.getLocation(e,this.tokenStart)}},t.structure=void 0;var n=r(11);t.name="CDC";t.structure=[]},function(e,t,r){"use strict";r(6),Object.defineProperty(t,"__esModule",{value:!0}),t.generate=function(){this.token(n.CDO,"\x3c!--")},t.name=void 0,t.parse=function(){var e=this.tokenStart;return this.eat(n.CDO),{type:"CDO",loc:this.getLocation(e,this.tokenStart)}},t.structure=void 0;var n=r(11);t.name="CDO";t.structure=[]},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.generate=function(e){this.token(n.Delim,"."),this.token(n.Ident,e.name)},t.name=void 0,t.parse=function(){return this.eatDelim(46),{type:"ClassSelector",loc:this.getLocation(this.tokenStart-1,this.tokenEnd),name:this.consume(n.Ident)}},t.structure=void 0,r(6);var n=r(11);t.name="ClassSelector";var o={name:String};t.structure=o},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.generate=function(e){this.tokenize(e.name)},t.name=void 0,t.parse=function(){var e,t=this.tokenStart;switch(this.tokenType){case n.WhiteSpace:e=" ";break;case n.Delim:switch(this.charCodeAt(this.tokenStart)){case 62:case 43:case 126:this.next();break;case 47:this.next(),this.eatIdent("deep"),this.eatDelim(47);break;default:this.error("Combinator is expected")}e=this.substrToCursor(t)}return{type:"Combinator",loc:this.getLocation(t,this.tokenStart),name:e}},t.structure=void 0,r(6);var n=r(11);t.name="Combinator";var o={name:String};t.structure=o},function(e,t,r){"use strict";r(6),Object.defineProperty(t,"__esModule",{value:!0}),t.generate=function(e){this.token(n.Comment,"/*"+e.value+"*/")},t.name=void 0,t.parse=function(){var e=this.tokenStart,t=this.tokenEnd;this.eat(n.Comment),t-e+2>=2&&42===this.charCodeAt(t-2)&&47===this.charCodeAt(t-1)&&(t-=2);return{type:"Comment",loc:this.getLocation(e,this.tokenStart),value:this.substring(e+2,t)}},t.structure=void 0;var n=r(11);t.name="Comment";var o={value:String};t.structure=o},function(e,t,r){"use strict";r(6),Object.defineProperty(t,"__esModule",{value:!0}),t.generate=function(e){this.token(o.Ident,e.property),this.token(o.Colon,":"),this.node(e.value),e.important&&(this.token(o.Delim,"!"),this.token(o.Ident,!0===e.important?"important":e.important))},t.name=void 0,t.parse=function(){var e,t=this.tokenStart,r=this.tokenIndex,s=c.call(this),f=(0,n.isCustomProperty)(s),p=f?this.parseCustomProperty:this.parseValue,d=f?a:i,h=!1;this.skipSC(),this.eat(o.Colon);var y=this.tokenIndex;f||this.skipSC();e=p?this.parseWithFallback(u,d):d.call(this,this.tokenIndex);if(f&&"Value"===e.type&&e.children.isEmpty)for(var v=y-this.tokenIndex;v<=0;v++)if(this.lookupType(v)===o.WhiteSpace){e.children.appendData({type:"WhiteSpace",loc:null,value:" "});break}this.isDelim(33)&&(h=l.call(this),this.skipSC());!1===this.eof&&this.tokenType!==o.Semicolon&&!1===this.isBalanceEdge(r)&&this.error();return{type:"Declaration",loc:this.getLocation(t,this.tokenStart),important:h,property:s,value:e}},t.walkContext=t.structure=void 0;var n=r(425),o=r(11);function i(e){return this.Raw(e,this.consumeUntilExclamationMarkOrSemicolon,!0)}function a(e){return this.Raw(e,this.consumeUntilExclamationMarkOrSemicolon,!1)}function u(){var e=this.tokenIndex,t=this.Value();return"Raw"!==t.type&&!1===this.eof&&this.tokenType!==o.Semicolon&&!1===this.isDelim(33)&&!1===this.isBalanceEdge(e)&&this.error(),t}t.name="Declaration";t.walkContext="declaration";var s={important:[Boolean,String],property:String,value:["Value","Raw"]};function c(){var e=this.tokenStart;if(this.tokenType===o.Delim)switch(this.charCodeAt(this.tokenStart)){case 42:case 36:case 43:case 35:case 38:this.next();break;case 47:this.next(),this.isDelim(47)&&this.next()}return this.tokenType===o.Hash?this.eat(o.Hash):this.eat(o.Ident),this.substrToCursor(e)}function l(){this.eat(o.Delim),this.skipSC();var e=this.consume(o.Ident);return"important"===e||e}t.structure=s},function(e,t,r){"use strict";r(6),Object.defineProperty(t,"__esModule",{value:!0}),t.generate=function(e){var t=this;this.children(e,(function(e){"Declaration"===e.type&&t.token(n.Semicolon,";")}))},t.name=void 0,t.parse=function(){var e=this.createList();for(;!this.eof;)switch(this.tokenType){case n.WhiteSpace:case n.Comment:case n.Semicolon:this.next();break;default:e.push(this.parseWithFallback(this.Declaration,o))}return{type:"DeclarationList",loc:this.getLocationFromList(e),children:e}},t.structure=void 0;var n=r(11);function o(e){return this.Raw(e,this.consumeUntilSemicolonIncluded,!0)}t.name="DeclarationList";t.structure={children:[["Declaration"]]}},function(e,t,r){"use strict";r(6),Object.defineProperty(t,"__esModule",{value:!0}),t.generate=function(e){this.token(n.Dimension,e.value+e.unit)},t.name=void 0,t.parse=function(){var e=this.tokenStart,t=this.consumeNumber(n.Dimension);return{type:"Dimension",loc:this.getLocation(e,this.tokenStart),value:t,unit:this.substring(e+t.length,this.tokenStart)}},t.structure=void 0;var n=r(11);t.name="Dimension";var o={value:String,unit:String};t.structure=o},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.generate=function(e){this.token(n.Function,e.name+"("),this.children(e),this.token(n.RightParenthesis,")")},t.name=void 0,t.parse=function(e,t){var r,o=this.tokenStart,i=this.consumeFunctionName(),a=i.toLowerCase();r=t.hasOwnProperty(a)?t[a].call(this,t):e.call(this,t),this.eof||this.eat(n.RightParenthesis);return{type:"Function",loc:this.getLocation(o,this.tokenStart),name:i,children:r}},t.walkContext=t.structure=void 0,r(6);var n=r(11);t.name="Function";t.walkContext="function";var o={name:String,children:[[]]};t.structure=o},function(e,t,r){"use strict";r(6),Object.defineProperty(t,"__esModule",{value:!0}),t.generate=function(e){this.token(n.Hash,"#"+e.value)},t.name=void 0,t.parse=function(){var e=this.tokenStart;return this.eat(n.Hash),{type:"Hash",loc:this.getLocation(e,this.tokenStart),value:this.substrToCursor(e+1)}},t.xxx=t.structure=void 0;var n=r(11);t.xxx="XXX";t.name="Hash";var o={value:String};t.structure=o},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.generate=function(e){this.token(n.Ident,e.name)},t.name=void 0,t.parse=function(){return{type:"Identifier",loc:this.getLocation(this.tokenStart,this.tokenEnd),name:this.consume(n.Ident)}},t.structure=void 0,r(6);var n=r(11);t.name="Identifier";var o={name:String};t.structure=o},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.generate=function(e){this.token(n.Delim,"#"+e.name)},t.name=void 0,t.parse=function(){var e=this.tokenStart;return this.eat(n.Hash),{type:"IdSelector",loc:this.getLocation(e,this.tokenStart),name:this.substrToCursor(e+1)}},t.structure=void 0,r(6);var n=r(11);t.name="IdSelector";var o={name:String};t.structure=o},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.generate=function(e){this.token(n.LeftParenthesis,"("),this.token(n.Ident,e.name),null!==e.value&&(this.token(n.Colon,":"),this.node(e.value));this.token(n.RightParenthesis,")")},t.name=void 0,t.parse=function(){var e,t=this.tokenStart,r=null;if(this.eat(n.LeftParenthesis),this.skipSC(),e=this.consume(n.Ident),this.skipSC(),this.tokenType!==n.RightParenthesis){switch(this.eat(n.Colon),this.skipSC(),this.tokenType){case n.Number:r=this.lookupNonWSType(1)===n.Delim?this.Ratio():this.Number();break;case n.Dimension:r=this.Dimension();break;case n.Ident:r=this.Identifier();break;default:this.error("Number, dimension, ratio or identifier is expected")}this.skipSC()}return this.eat(n.RightParenthesis),{type:"MediaFeature",loc:this.getLocation(t,this.tokenStart),name:e,value:r}},t.structure=void 0,r(6);var n=r(11);t.name="MediaFeature";var o={name:String,value:["Identifier","Number","Dimension","Ratio",null]};t.structure=o},function(e,t,r){"use strict";r(6),Object.defineProperty(t,"__esModule",{value:!0}),t.generate=function(e){this.children(e)},t.name=void 0,t.parse=function(){var e=this.createList(),t=null;this.skipSC();e:for(;!this.eof;){switch(this.tokenType){case n.Comment:case n.WhiteSpace:this.next();continue;case n.Ident:t=this.Identifier();break;case n.LeftParenthesis:t=this.MediaFeature();break;default:break e}e.push(t)}null===t&&this.error("Identifier or parenthesis is expected");return{type:"MediaQuery",loc:this.getLocationFromList(e),children:e}},t.structure=void 0;var n=r(11);t.name="MediaQuery";t.structure={children:[["Identifier","MediaFeature","WhiteSpace"]]}},function(e,t,r){"use strict";r(6),Object.defineProperty(t,"__esModule",{value:!0}),t.generate=function(e){var t=this;this.children(e,(function(){return t.token(n.Comma,",")}))},t.name=void 0,t.parse=function(){var e=this.createList();this.skipSC();for(;!this.eof&&(e.push(this.MediaQuery()),this.tokenType===n.Comma);)this.next();return{type:"MediaQueryList",loc:this.getLocationFromList(e),children:e}},t.structure=void 0;var n=r(11);t.name="MediaQueryList";t.structure={children:[["MediaQuery"]]}},function(e,t,r){"use strict";r(6),Object.defineProperty(t,"__esModule",{value:!0}),t.generate=function(e){this.node(e.nth),null!==e.selector&&(this.token(n.Ident,"of"),this.node(e.selector))},t.name=void 0,t.parse=function(){this.skipSC();var e,t=this.tokenStart,r=t,n=null;e=this.lookupValue(0,"odd")||this.lookupValue(0,"even")?this.Identifier():this.AnPlusB();r=this.tokenStart,this.skipSC(),this.lookupValue(0,"of")&&(this.next(),n=this.SelectorList(),r=this.tokenStart);return{type:"Nth",loc:this.getLocation(t,r),nth:e,selector:n}},t.structure=void 0;var n=r(11);t.name="Nth";t.structure={nth:["AnPlusB","Identifier"],selector:["SelectorList",null]}},function(e,t,r){"use strict";r(6),Object.defineProperty(t,"__esModule",{value:!0}),t.generate=function(e){this.token(n.Number,e.value)},t.name=void 0,t.parse=function(){return{type:"Number",loc:this.getLocation(this.tokenStart,this.tokenEnd),value:this.consume(n.Number)}},t.structure=void 0;var n=r(11);t.name="Number";var o={value:String};t.structure=o},function(e,t,r){"use strict";r(6),Object.defineProperty(t,"__esModule",{value:!0}),t.generate=function(e){this.tokenize(e.value)},t.name=void 0,t.parse=function(){var e=this.tokenStart;return this.next(),{type:"Operator",loc:this.getLocation(e,this.tokenStart),value:this.substrToCursor(e)}},t.structure=void 0;t.name="Operator";var n={value:String};t.structure=n},function(e,t,r){"use strict";r(6),Object.defineProperty(t,"__esModule",{value:!0}),t.generate=function(e){this.token(n.LeftParenthesis,"("),this.children(e),this.token(n.RightParenthesis,")")},t.name=void 0,t.parse=function(e,t){var r,o=this.tokenStart;this.eat(n.LeftParenthesis),r=e.call(this,t),this.eof||this.eat(n.RightParenthesis);return{type:"Parentheses",loc:this.getLocation(o,this.tokenStart),children:r}},t.structure=void 0;var n=r(11);t.name="Parentheses";t.structure={children:[[]]}},function(e,t,r){"use strict";r(6),Object.defineProperty(t,"__esModule",{value:!0}),t.generate=function(e){this.token(n.Percentage,e.value+"%")},t.name=void 0,t.parse=function(){return{type:"Percentage",loc:this.getLocation(this.tokenStart,this.tokenEnd),value:this.consumeNumber(n.Percentage)}},t.structure=void 0;var n=r(11);t.name="Percentage";var o={value:String};t.structure=o},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.generate=function(e){this.token(n.Colon,":"),null===e.children?this.token(n.Ident,e.name):(this.token(n.Function,e.name+"("),this.children(e),this.token(n.RightParenthesis,")"))},t.name=void 0,t.parse=function(){var e,t,r=this.tokenStart,o=null;this.eat(n.Colon),this.tokenType===n.Function?(e=this.consumeFunctionName(),t=e.toLowerCase(),hasOwnProperty.call(this.pseudo,t)?(this.skipSC(),o=this.pseudo[t].call(this),this.skipSC()):(o=this.createList()).push(this.Raw(this.tokenIndex,null,!1)),this.eat(n.RightParenthesis)):e=this.consume(n.Ident);return{type:"PseudoClassSelector",loc:this.getLocation(r,this.tokenStart),name:e,children:o}},t.walkContext=t.structure=void 0,r(6);var n=r(11);t.name="PseudoClassSelector";t.walkContext="function";var o={name:String,children:[["Raw"],null]};t.structure=o},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.generate=function(e){this.token(n.Colon,":"),this.token(n.Colon,":"),null===e.children?this.token(n.Ident,e.name):(this.token(n.Function,e.name+"("),this.children(e),this.token(n.RightParenthesis,")"))},t.name=void 0,t.parse=function(){var e,t,r=this.tokenStart,o=null;this.eat(n.Colon),this.eat(n.Colon),this.tokenType===n.Function?(e=this.consumeFunctionName(),t=e.toLowerCase(),hasOwnProperty.call(this.pseudo,t)?(this.skipSC(),o=this.pseudo[t].call(this),this.skipSC()):(o=this.createList()).push(this.Raw(this.tokenIndex,null,!1)),this.eat(n.RightParenthesis)):e=this.consume(n.Ident);return{type:"PseudoElementSelector",loc:this.getLocation(r,this.tokenStart),name:e,children:o}},t.walkContext=t.structure=void 0,r(6);var n=r(11);t.name="PseudoElementSelector";t.walkContext="function";var o={name:String,children:[["Raw"],null]};t.structure=o},function(e,t,r){"use strict";r(6),Object.defineProperty(t,"__esModule",{value:!0}),t.generate=function(e){this.token(n.Number,e.left),this.token(n.Delim,"/"),this.token(n.Number,e.right)},t.name=void 0,t.parse=function(){var e,t=this.tokenStart,r=o.call(this);return this.skipSC(),this.eatDelim(47),e=o.call(this),{type:"Ratio",loc:this.getLocation(t,this.tokenStart),left:r,right:e}},t.structure=void 0,r(69);var n=r(11);function o(){this.skipSC();for(var e=this.consume(n.Number),t=0;t<e.length;t++){var r=e.charCodeAt(t);(0,n.isDigit)(r)||46===r||this.error("Unsigned number is expected",this.tokenStart-e.length+t)}return 0===Number(e)&&this.error("Zero number is not allowed",this.tokenStart-e.length),e}t.name="Ratio";var i={left:String,right:String};t.structure=i},function(e,t,r){"use strict";r(6),Object.defineProperty(t,"__esModule",{value:!0}),t.generate=function(e){this.tokenize(e.value)},t.name=void 0,t.parse=function(e,t,r){var n,i=this.getTokenStart(e);this.skipUntilBalanced(e,t||this.consumeUntilBalanceEnd),n=r&&this.tokenStart>i?o.call(this):this.tokenStart;return{type:"Raw",loc:this.getLocation(i,n),value:this.substring(i,n)}},t.structure=void 0;var n=r(11);function o(){return this.tokenIndex>0&&this.lookupType(-1)===n.WhiteSpace?this.tokenIndex>1?this.getTokenStart(this.tokenIndex-1):this.firstCharOffset:this.tokenStart}t.name="Raw";var i={value:String};t.structure=i},function(e,t,r){"use strict";r(6),Object.defineProperty(t,"__esModule",{value:!0}),t.generate=function(e){this.node(e.prelude),this.node(e.block)},t.name=void 0,t.parse=function(){var e,t,r=this.tokenIndex,n=this.tokenStart;e=this.parseRulePrelude?this.parseWithFallback(i,o):o.call(this,r);return t=this.Block(!0),{type:"Rule",loc:this.getLocation(n,this.tokenStart),prelude:e,block:t}},t.walkContext=t.structure=void 0;var n=r(11);function o(e){return this.Raw(e,this.consumeUntilLeftCurlyBracket,!0)}function i(){var e=this.SelectorList();return"Raw"!==e.type&&!1===this.eof&&this.tokenType!==n.LeftCurlyBracket&&this.error(),e}t.name="Rule";t.walkContext="rule";t.structure={prelude:["SelectorList","Raw"],block:["Block"]}},function(e,t,r){"use strict";r(6),Object.defineProperty(t,"__esModule",{value:!0}),t.generate=function(e){this.children(e)},t.name=void 0,t.parse=function(){var e=this.readSequence(this.scope.Selector);null===this.getFirstListNode(e)&&this.error("Selector is expected");return{type:"Selector",loc:this.getLocationFromList(e),children:e}},t.structure=void 0;t.name="Selector";t.structure={children:[["TypeSelector","IdSelector","ClassSelector","AttributeSelector","PseudoClassSelector","PseudoElementSelector","Combinator","WhiteSpace"]]}},function(e,t,r){"use strict";r(6),Object.defineProperty(t,"__esModule",{value:!0}),t.generate=function(e){var t=this;this.children(e,(function(){return t.token(n.Comma,",")}))},t.name=void 0,t.parse=function(){var e=this.createList();for(;!this.eof&&(e.push(this.Selector()),this.tokenType===n.Comma);)this.next();return{type:"SelectorList",loc:this.getLocationFromList(e),children:e}},t.walkContext=t.structure=void 0;var n=r(11);t.name="SelectorList";t.walkContext="selector";t.structure={children:[["Selector","Raw"]]}},function(e,t,r){"use strict";r(6),Object.defineProperty(t,"__esModule",{value:!0}),t.generate=function(e){this.token(n.String,(0,o.encode)(e.value))},t.name=void 0,t.parse=function(){return{type:"String",loc:this.getLocation(this.tokenStart,this.tokenEnd),value:(0,o.decode)(this.consume(n.String))}},t.structure=void 0;var n=r(11),o=r(246);t.name="String";var i={value:String};t.structure=i},function(e,t,r){"use strict";r(6),Object.defineProperty(t,"__esModule",{value:!0}),t.generate=function(e){this.children(e)},t.name=void 0,t.parse=function(){var e,t=this.tokenStart,r=this.createList();for(;!this.eof;){switch(this.tokenType){case n.WhiteSpace:this.next();continue;case n.Comment:if(33!==this.charCodeAt(this.tokenStart+2)){this.next();continue}e=this.Comment();break;case n.CDO:e=this.CDO();break;case n.CDC:e=this.CDC();break;case n.AtKeyword:e=this.parseWithFallback(this.Atrule,o);break;default:e=this.parseWithFallback(this.Rule,o)}r.push(e)}return{type:"StyleSheet",loc:this.getLocation(t,this.tokenStart),children:r}},t.walkContext=t.structure=void 0;var n=r(11);function o(e){return this.Raw(e,null,!1)}t.name="StyleSheet";t.walkContext="stylesheet";t.structure={children:[["Comment","CDO","CDC","Atrule","Rule","Raw"]]}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.generate=function(e){this.tokenize(e.name)},t.name=void 0,t.parse=function(){var e=this.tokenStart;this.isDelim(124)?(this.next(),o.call(this)):(o.call(this),this.isDelim(124)&&(this.next(),o.call(this)));return{type:"TypeSelector",loc:this.getLocation(e,this.tokenStart),name:this.substrToCursor(e)}},t.structure=void 0,r(6);var n=r(11);function o(){this.tokenType!==n.Ident&&!1===this.isDelim(42)&&this.error("Identifier or asterisk is expected"),this.next()}t.name="TypeSelector";var i={name:String};t.structure=i},function(e,t,r){"use strict";r(6),Object.defineProperty(t,"__esModule",{value:!0}),t.generate=function(e){this.tokenize(e.value)},t.name=void 0,t.parse=function(){var e=this.tokenStart;return this.eatIdent("u"),u.call(this),{type:"UnicodeRange",loc:this.getLocation(e,this.tokenStart),value:this.substrToCursor(e)}},t.structure=void 0;var n=r(11);function o(e,t){for(var r=0,i=this.tokenStart+e;i<this.tokenEnd;i++){var a=this.charCodeAt(i);if(45===a&&t&&0!==r)return o.call(this,e+r+1,!1),-1;(0,n.isHexDigit)(a)||this.error(t&&0!==r?"Hyphen minus"+(r<6?" or hex digit":"")+" is expected":r<6?"Hex digit is expected":"Unexpected input",i),++r>6&&this.error("Too many hex digits",i)}return this.next(),r}function i(e){for(var t=0;this.isDelim(63);)++t>e&&this.error("Too many question marks"),this.next()}function a(e){this.charCodeAt(this.tokenStart)!==e&&this.error((43===e?"Plus sign":"Hyphen minus")+" is expected")}function u(){var e=0;switch(this.tokenType){case n.Number:if(e=o.call(this,1,!0),this.isDelim(63)){i.call(this,6-e);break}if(this.tokenType===n.Dimension||this.tokenType===n.Number){a.call(this,45),o.call(this,1,!1);break}break;case n.Dimension:(e=o.call(this,1,!0))>0&&i.call(this,6-e);break;default:if(this.eatDelim(43),this.tokenType===n.Ident){(e=o.call(this,0,!0))>0&&i.call(this,6-e);break}if(this.isDelim(63)){this.next(),i.call(this,5);break}this.error("Hex digit or question mark is expected")}}t.name="UnicodeRange";var s={value:String};t.structure=s},function(e,t,r){"use strict";function n(e){return(n="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)}r(6),r(2),r(1),r(4),r(15),r(5),r(14),r(3),r(7),r(8),Object.defineProperty(t,"__esModule",{value:!0}),t.generate=function(e){this.token(a.Url,o.encode(e.value))},t.name=void 0,t.parse=function(){var e,t=this.tokenStart;switch(this.tokenType){case a.Url:e=o.decode(this.consume(a.Url));break;case a.Function:this.cmpStr(this.tokenStart,this.tokenEnd,"url(")||this.error("Function name must be `url`"),this.eat(a.Function),this.skipSC(),e=i.decode(this.consume(a.String)),this.skipSC(),this.eof||this.eat(a.RightParenthesis);break;default:this.error("Url or Function is expected")}return{type:"Url",loc:this.getLocation(t,this.tokenStart),value:e}},t.structure=void 0;var o=s(r(427)),i=s(r(246)),a=r(11);function u(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,r=new WeakMap;return(u=function(e){return e?r:t})(e)}function s(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!==n(e)&&"function"!=typeof e)return{default:e};var r=u(t);if(r&&r.has(e))return r.get(e);var o={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if("default"!==a&&Object.prototype.hasOwnProperty.call(e,a)){var s=i?Object.getOwnPropertyDescriptor(e,a):null;s&&(s.get||s.set)?Object.defineProperty(o,a,s):o[a]=e[a]}return o.default=e,r&&r.set(e,o),o}t.name="Url";var c={value:String};t.structure=c},function(e,t,r){"use strict";r(6),Object.defineProperty(t,"__esModule",{value:!0}),t.generate=function(e){this.children(e)},t.name=void 0,t.parse=function(){var e=this.tokenStart,t=this.readSequence(this.scope.Value);return{type:"Value",loc:this.getLocation(e,this.tokenStart),children:t}},t.structure=void 0;t.name="Value";t.structure={children:[[]]}},function(e,t,r){"use strict";r(6),Object.defineProperty(t,"__esModule",{value:!0}),t.generate=function(e){this.token(n.WhiteSpace,e.value)},t.name=void 0,t.parse=function(){return this.eat(n.WhiteSpace),o},t.structure=void 0,r(426);var n=r(11),o=Object.freeze({type:"WhiteSpace",loc:null,value:" "});t.name="WhiteSpace";var i={value:String};t.structure=i},function(e,t){t.getArg=function(e,t,r){if(t in e)return e[t];if(3===arguments.length)return r;throw new Error('"'+t+'" is a required argument.')};var r=/^(?:([\w+\-.]+):)?\/\/(?:(\w+:\w+)@)?([\w.-]*)(?::(\d+))?(.*)$/,n=/^data:.+\,.+$/;function o(e){var t=e.match(r);return t?{scheme:t[1],auth:t[2],host:t[3],port:t[4],path:t[5]}:null}function i(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}t.urlParse=o,t.urlGenerate=i;var a,u,s=(a=function(e){var r=e,n=o(e);if(n){if(!n.path)return e;r=n.path}for(var a=t.isAbsolute(r),u=[],s=0,c=0;;){if(s=c,-1===(c=r.indexOf("/",s))){u.push(r.slice(s));break}for(u.push(r.slice(s,c));c<r.length&&"/"===r[c];)c++}var l,f=0;for(c=u.length-1;c>=0;c--)"."===(l=u[c])?u.splice(c,1):".."===l?f++:f>0&&(""===l?(u.splice(c+1,f),f=0):(u.splice(c,2),f--));return""===(r=u.join("/"))&&(r=a?"/":"."),n?(n.path=r,i(n)):r},u=[],function(e){for(var t=0;t<u.length;t++)if(u[t].input===e){var r=u[0];return u[0]=u[t],u[t]=r,u[0].result}var n=a(e);return u.unshift({input:e,result:n}),u.length>32&&u.pop(),n});function c(e,t){""===e&&(e="."),""===t&&(t=".");var r=o(t),a=o(e);if(a&&(e=a.path||"/"),r&&!r.scheme)return a&&(r.scheme=a.scheme),i(r);if(r||t.match(n))return t;if(a&&!a.host&&!a.path)return a.host=t,i(a);var u="/"===t.charAt(0)?t:s(e.replace(/\/+$/,"")+"/"+t);return a?(a.path=u,i(a)):u}t.normalize=s,t.join=c,t.isAbsolute=function(e){return"/"===e.charAt(0)||r.test(e)},t.relative=function(e,t){""===e&&(e="."),e=e.replace(/\/$/,"");for(var r=0;0!==t.indexOf(e+"/");){var n=e.lastIndexOf("/");if(n<0)return t;if((e=e.slice(0,n)).match(/^([^\/]+:\/)?\/*$/))return t;++r}return Array(r+1).join("../")+t.substr(e.length+1)};var l=!("__proto__"in Object.create(null));function f(e){return e}function p(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 r=t-10;r>=0;r--)if(36!==e.charCodeAt(r))return!1;return!0}function d(e,t){return e===t?0:null===e?1:null===t?-1:e>t?1:-1}t.toSetString=l?f:function(e){return p(e)?"$"+e:e},t.fromSetString=l?f:function(e){return p(e)?e.slice(1):e},t.compareByOriginalPositions=function(e,t,r){var n=d(e.source,t.source);return 0!==n||0!==(n=e.originalLine-t.originalLine)||0!==(n=e.originalColumn-t.originalColumn)||r||0!==(n=e.generatedColumn-t.generatedColumn)||0!==(n=e.generatedLine-t.generatedLine)?n:d(e.name,t.name)},t.compareByOriginalPositionsNoSource=function(e,t,r){var n;return 0!==(n=e.originalLine-t.originalLine)||0!==(n=e.originalColumn-t.originalColumn)||r||0!==(n=e.generatedColumn-t.generatedColumn)||0!==(n=e.generatedLine-t.generatedLine)?n:d(e.name,t.name)},t.compareByGeneratedPositionsDeflated=function(e,t,r){var n=e.generatedLine-t.generatedLine;return 0!==n||0!==(n=e.generatedColumn-t.generatedColumn)||r||0!==(n=d(e.source,t.source))||0!==(n=e.originalLine-t.originalLine)||0!==(n=e.originalColumn-t.originalColumn)?n:d(e.name,t.name)},t.compareByGeneratedPositionsDeflatedNoLine=function(e,t,r){var n=e.generatedColumn-t.generatedColumn;return 0!==n||r||0!==(n=d(e.source,t.source))||0!==(n=e.originalLine-t.originalLine)||0!==(n=e.originalColumn-t.originalColumn)?n:d(e.name,t.name)},t.compareByGeneratedPositionsInflated=function(e,t){var r=e.generatedLine-t.generatedLine;return 0!==r||0!==(r=e.generatedColumn-t.generatedColumn)||0!==(r=d(e.source,t.source))||0!==(r=e.originalLine-t.originalLine)||0!==(r=e.originalColumn-t.originalColumn)?r:d(e.name,t.name)},t.parseSourceMapInput=function(e){return JSON.parse(e.replace(/^\)]}'[^\n]*\n/,""))},t.computeSourceURL=function(e,t,r){if(t=t||"",e&&("/"!==e[e.length-1]&&"/"!==t[0]&&(e+="/"),t=e+t),r){var n=o(r);if(!n)throw new Error("sourceMapURL could not be parsed");if(n.path){var a=n.path.lastIndexOf("/");a>=0&&(n.path=n.path.substring(0,a+1))}t=c(i(n),t)}return s(t)}},function(e,t,r){var n=r(360),o=r(843),i=r(228);e.exports=function(e){return i(e)?n(e,!0):o(e)}},function(e,t,r){var n=r(356);e.exports=function(e){var t=new e.constructor(e.byteLength);return new n(t).set(new n(e)),t}},function(e,t,r){"use strict";function n(e){return(n="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)}r(28),r(29),r(1),r(33),r(3),r(7),r(8),r(2),r(4),r(5),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=u(r(0)),i=u(r(58)),a=u(r(143));function u(e){return e&&e.__esModule?e:{default:e}}function s(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function c(e,t){return(c=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function l(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 Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var r,n=d(e);if(t){var o=d(this).constructor;r=Reflect.construct(n,arguments,o)}else r=n.apply(this,arguments);return f(this,r)}}function f(e,t){if(t&&("object"===n(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return p(e)}function p(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function d(e){return(d=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var h=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}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&c(e,t)}(f,e);var t,r,n,u=l(f);function f(){var e,t,r,n;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,f),e=u.call(this),t=p(e),n=function(){return e.setState((function(e){return{open:!e.open}}))},(r="toggle")in t?Object.defineProperty(t,r,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[r]=n,e.state={open:!1},e}return t=f,(r=[{key:"render",value:function(){var e=this.state.open;return o.default.createElement(o.default.Fragment,null,o.default.createElement("div",{className:(0,i.default)("bber-slider__volume",{"bber-open":e})},o.default.createElement(a.default,{duration:1,progress:this.props.volume,seek:this.props.updateVolume})),o.default.createElement("button",{className:(0,i.default)("bber-button material-icons bber-media__button__volume_up",{"bber-hover":e}),onClick:this.toggle},"volume_up"))}}])&&s(t.prototype,r),n&&s(t,n),Object.defineProperty(t,"prototype",{writable:!1}),f}(o.default.Component);t.default=h},function(e,t,r){"use strict";var n=r(447),o={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},i={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},u={};function s(e){return n.isMemo(e)?a:u[e.$$typeof]||o}u[n.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},u[n.Memo]=a;var c=Object.defineProperty,l=Object.getOwnPropertyNames,f=Object.getOwnPropertySymbols,p=Object.getOwnPropertyDescriptor,d=Object.getPrototypeOf,h=Object.prototype;e.exports=function e(t,r,n){if("string"!=typeof r){if(h){var o=d(r);o&&o!==h&&e(t,o,n)}var a=l(r);f&&(a=a.concat(f(r)));for(var u=s(t),y=s(r),v=0;v<a.length;++v){var m=a[v];if(!(i[m]||n&&n[m]||y&&y[m]||u&&u[m])){var b=p(r,m);try{c(t,m,b)}catch(e){}}}}return t}},function(e,r){e.exports=t},function(e,t,r){"use strict";function n(e){return(n="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)}r(16),r(3),r(27),r(1),r(14),r(17),r(34),r(2),r(4),r(15),r(5),r(7),r(8),Object.defineProperty(t,"__esModule",{value:!0}),t.initialState=t.default=void 0;var o=r(202),i=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!==n(e)&&"function"!=typeof e)return{default:e};var r=a(t);if(r&&r.has(e))return r.get(e);var o={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var u in e)if("default"!==u&&Object.prototype.hasOwnProperty.call(e,u)){var s=i?Object.getOwnPropertyDescriptor(e,u):null;s&&(s.get||s.set)?Object.defineProperty(o,u,s):o[u]=e[u]}o.default=e,r&&r.set(e,o);return o}(r(336));function a(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,r=new WeakMap;return(a=function(e){return e?r:t})(e)}function u(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function s(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?u(Object(r),!0).forEach((function(t){c(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):u(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function c(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var l={books:[],bookURL:"",downloads:[],projectURL:"",disableBodyStyles:!1,NavigationHeader:null,NavigationFooter:null,SidebarChapters:null,SidebarDownloads:null,SidebarMetadata:null,SidebarSettings:null,uiOptions:{navigation:{header_icons:{home:!0,toc:!0,downloads:!0,info:!0},footer_icons:{chapter:!0,page:!0}}},searchParamKeys:{slug:"slug",currentSpineItemIndex:"currentSpineItemIndex",spreadIndex:"spreadIndex"},locationState:o.locationStates.QUERY_PARAMS,searchParams:"",style:{},className:"",cache:!0,layout:"columns"};t.initialState=l;var f=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:l,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};switch(t.type){case i.SETTINGS_UPDATE:return s(s({},e),t.payload);default:return e}};t.default=f},function(e,t,r){var n=r(98);e.exports=n&&!Symbol.sham&&"symbol"==typeof Symbol.iterator},function(e,t,r){var n=r(23),o=r(9),i=r(145);e.exports=!n&&!o((function(){return 7!=Object.defineProperty(i("div"),"a",{get:function(){return 7}}).a}))},function(e,t,r){var n=r(23),o=r(9);e.exports=n&&o((function(){return 42!=Object.defineProperty((function(){}),"prototype",{value:42,writable:!1}).prototype}))},function(e,t,r){var n=r(9),o=r(21),i=r(25),a=r(23),u=r(101).CONFIGURABLE,s=r(146),c=r(43),l=c.enforce,f=c.get,p=Object.defineProperty,d=a&&!n((function(){return 8!==p((function(){}),"length",{value:8}).length})),h=String(String).split("String"),y=e.exports=function(e,t,r){"Symbol("===String(t).slice(0,7)&&(t="["+String(t).replace(/^Symbol\(([^)]*)\)/,"$1")+"]"),r&&r.getter&&(t="get "+t),r&&r.setter&&(t="set "+t),(!i(e,"name")||u&&e.name!==t)&&(a?p(e,"name",{value:t,configurable:!0}):e.name=t),d&&r&&i(r,"arity")&&e.length!==r.arity&&p(e,"length",{value:r.arity});try{r&&i(r,"constructor")&&r.constructor?a&&p(e,"prototype",{writable:!1}):e.prototype&&(e.prototype=void 0)}catch(e){}var n=l(e);return i(n,"source")||(n.source=h.join("string"==typeof t?t:"")),e};Function.prototype.toString=y((function(){return o(this)&&f(this).source||s(this)}),"toString")},function(e,t,r){var n=r(13),o=r(21),i=r(146),a=n.WeakMap;e.exports=o(a)&&/native code/.test(i(a))},function(e,t,r){var n=r(25),o=r(300),i=r(71),a=r(31);e.exports=function(e,t,r){for(var u=o(t),s=a.f,c=i.f,l=0;l<u.length;l++){var f=u[l];n(e,f)||r&&n(r,f)||s(e,f,c(t,f))}}},function(e,t,r){var n=r(49),o=r(10),i=r(74),a=r(149),u=r(30),s=o([].concat);e.exports=n("Reflect","ownKeys")||function(e){var t=i.f(u(e)),r=a.f;return r?s(t,r(e)):t}},function(e,t,r){var n=r(10),o=r(25),i=r(48),a=r(148).indexOf,u=r(118),s=n([].push);e.exports=function(e,t){var r,n=i(e),c=0,l=[];for(r in n)!o(u,r)&&o(n,r)&&s(l,r);for(;t.length>c;)o(n,r=t[c++])&&(~a(l,r)||s(l,r));return l}},function(e,t,r){var n=r(23),o=r(296),i=r(31),a=r(30),u=r(48),s=r(120);t.f=n&&!o?Object.defineProperties:function(e,t){a(e);for(var r,n=u(t),o=s(t),c=o.length,l=0;c>l;)i.f(e,r=o[l++],n[r]);return e}},function(e,t,r){var n=r(49);e.exports=n("document","documentElement")},function(e,t,r){var n=r(72),o=r(48),i=r(74).f,a=r(121),u="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[];e.exports.f=function(e){return u&&"Window"==n(e)?function(e){try{return i(e)}catch(e){return a(u)}}(e):i(o(e))}},function(e,t,r){var n=r(18);t.f=n},function(e,t,r){var n=r(457);e.exports=function(e,t){return new(n(e))(0===t?0:t)}},function(e,t,r){var n=r(98);e.exports=n&&!!Symbol.for&&!!Symbol.keyFor},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,r){var n=r(145)("span").classList,o=n&&n.constructor&&n.constructor.prototype;e.exports=o===Object.prototype?void 0:o},function(e,t,r){"use strict";var n=r(311).IteratorPrototype,o=r(67),i=r(83),a=r(54),u=r(123),s=function(){return this};e.exports=function(e,t,r,c){var l=t+" Iterator";return e.prototype=o(n,{next:i(+!c,r)}),a(e,l,!1,!0),u[l]=s,e}},function(e,t,r){"use strict";var n,o,i,a=r(9),u=r(21),s=r(67),c=r(124),l=r(39),f=r(18),p=r(62),d=f("iterator"),h=!1;[].keys&&("next"in(i=[].keys())?(o=c(c(i)))!==Object.prototype&&(n=o):h=!0),null==n||a((function(){var e={};return n[d].call(e)!==e}))?n={}:p&&(n=s(n)),u(n[d])||l(n,d,(function(){return this})),e.exports={IteratorPrototype:n,BUGGY_SAFARI_ITERATORS:h}},function(e,t,r){var n=r(9);e.exports=!n((function(){function e(){}return e.prototype.constructor=null,Object.getPrototypeOf(new e)!==e.prototype}))},function(e,t,r){var n=r(9),o=r(24),i=r(72),a=r(466),u=Object.isExtensible,s=n((function(){u(1)}));e.exports=s||a?function(e){return!!o(e)&&((!a||"ArrayBuffer"!=i(e))&&(!u||u(e)))}:u},function(e,t,r){var n=r(9);e.exports=!n((function(){return Object.isExtensible(Object.preventExtensions({}))}))},function(e,t,r){var n=r(20),o=r(30),i=r(84);e.exports=function(e,t,r){var a,u;o(e);try{if(!(a=i(e,"return"))){if("throw"===t)throw r;return r}a=n(a,e)}catch(e){u=!0,a=e}if("throw"===t)throw r;if(u)throw a;return o(a),r}},function(e,t,r){var n=r(20),o=r(25),i=r(61),a=r(203),u=RegExp.prototype;e.exports=function(e){var t=e.flags;return void 0!==t||"flags"in u||o(e,"flags")||!i(u,e)?t:n(a,e)}},function(e,t,r){var n=r(9),o=r(13).RegExp;e.exports=n((function(){var e=o(".","s");return!(e.dotAll&&e.exec("\n")&&"s"===e.flags)}))},function(e,t,r){var n=r(9),o=r(13).RegExp;e.exports=n((function(){var e=o("(?<a>b)","g");return"b"!==e.exec("b").groups.a||"bc"!=="b".replace(e,"$<a>c")}))},function(e,t,r){"use strict";var n=r(20),o=r(159),i=r(30),a=r(60),u=r(468),s=r(38),c=r(84),l=r(160);o("search",(function(e,t,r){return[function(t){var r=a(this),o=null==t?void 0:c(t,e);return o?n(o,t,r):new RegExp(t)[e](s(r))},function(e){var n=i(this),o=s(e),a=r(t,n,o);if(a.done)return a.value;var c=n.lastIndex;u(c,0)||(n.lastIndex=0);var f=l(n,o);return u(n.lastIndex,c)||(n.lastIndex=c),null===f?-1:f.index}]}))},function(e,t,r){"use strict";r(2);var n=r(12),o=r(13),i=r(20),a=r(10),u=r(23),s=r(321),c=r(39),l=r(125),f=r(54),p=r(310),d=r(43),h=r(78),y=r(21),v=r(25),m=r(68),b=r(76),g=r(30),w=r(24),S=r(38),O=r(67),_=r(83),x=r(155),E=r(128),P=r(205),k=r(18),j=r(206),T=k("iterator"),A=d.set,C=d.getterFor("URLSearchParams"),L=d.getterFor("URLSearchParamsIterator"),R=Object.getOwnPropertyDescriptor,I=function(e){if(!u)return o[e];var t=R(o,e);return t&&t.value},N=I("fetch"),M=I("Request"),D=I("Headers"),U=M&&M.prototype,F=D&&D.prototype,B=o.RegExp,q=o.TypeError,W=o.decodeURIComponent,z=o.encodeURIComponent,H=a("".charAt),V=a([].join),G=a([].push),K=a("".replace),Y=a([].shift),$=a([].splice),X=a("".split),Q=a("".slice),J=/\+/g,Z=Array(4),ee=function(e){return Z[e-1]||(Z[e-1]=B("((?:%[\\da-f]{2}){"+e+"})","gi"))},te=function(e){try{return W(e)}catch(t){return e}},re=function(e){var t=K(e,J," "),r=4;try{return W(t)}catch(e){for(;r;)t=K(t,ee(r--),te);return t}},ne=/[!'()~]|%20/g,oe={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+"},ie=function(e){return oe[e]},ae=function(e){return K(z(e),ne,ie)},ue=p((function(e,t){A(this,{type:"URLSearchParamsIterator",iterator:x(C(e).entries),kind:t})}),"Iterator",(function(){var e=L(this),t=e.kind,r=e.iterator.next(),n=r.value;return r.done||(r.value="keys"===t?n.key:"values"===t?n.value:[n.key,n.value]),r}),!0),se=function(e){this.entries=[],this.url=null,void 0!==e&&(w(e)?this.parseObject(e):this.parseQuery("string"==typeof e?"?"===H(e,0)?Q(e,1):e:S(e)))};se.prototype={type:"URLSearchParams",bindURL:function(e){this.url=e,this.update()},parseObject:function(e){var t,r,n,o,a,u,s,c=E(e);if(c)for(r=(t=x(e,c)).next;!(n=i(r,t)).done;){if(a=(o=x(g(n.value))).next,(u=i(a,o)).done||(s=i(a,o)).done||!i(a,o).done)throw q("Expected sequence with length 2");G(this.entries,{key:S(u.value),value:S(s.value)})}else for(var l in e)v(e,l)&&G(this.entries,{key:l,value:S(e[l])})},parseQuery:function(e){if(e)for(var t,r,n=X(e,"&"),o=0;o<n.length;)(t=n[o++]).length&&(r=X(t,"="),G(this.entries,{key:re(Y(r)),value:re(V(r,"="))}))},serialize:function(){for(var e,t=this.entries,r=[],n=0;n<t.length;)e=t[n++],G(r,ae(e.key)+"="+ae(e.value));return V(r,"&")},update:function(){this.entries.length=0,this.parseQuery(this.url.query)},updateURL:function(){this.url&&this.url.update()}};var ce=function(){h(this,le);var e=arguments.length>0?arguments[0]:void 0;A(this,new se(e))},le=ce.prototype;if(l(le,{append:function(e,t){P(arguments.length,2);var r=C(this);G(r.entries,{key:S(e),value:S(t)}),r.updateURL()},delete:function(e){P(arguments.length,1);for(var t=C(this),r=t.entries,n=S(e),o=0;o<r.length;)r[o].key===n?$(r,o,1):o++;t.updateURL()},get:function(e){P(arguments.length,1);for(var t=C(this).entries,r=S(e),n=0;n<t.length;n++)if(t[n].key===r)return t[n].value;return null},getAll:function(e){P(arguments.length,1);for(var t=C(this).entries,r=S(e),n=[],o=0;o<t.length;o++)t[o].key===r&&G(n,t[o].value);return n},has:function(e){P(arguments.length,1);for(var t=C(this).entries,r=S(e),n=0;n<t.length;)if(t[n++].key===r)return!0;return!1},set:function(e,t){P(arguments.length,1);for(var r,n=C(this),o=n.entries,i=!1,a=S(e),u=S(t),s=0;s<o.length;s++)(r=o[s]).key===a&&(i?$(o,s--,1):(i=!0,r.value=u));i||G(o,{key:a,value:u}),n.updateURL()},sort:function(){var e=C(this);j(e.entries,(function(e,t){return e.key>t.key?1:-1})),e.updateURL()},forEach:function(e){for(var t,r=C(this).entries,n=m(e,arguments.length>1?arguments[1]:void 0),o=0;o<r.length;)n((t=r[o++]).value,t.key,this)},keys:function(){return new ue(this,"keys")},values:function(){return new ue(this,"values")},entries:function(){return new ue(this,"entries")}},{enumerable:!0}),c(le,T,le.entries,{name:"entries"}),c(le,"toString",(function(){return C(this).serialize()}),{enumerable:!0}),f(ce,"URLSearchParams"),n({global:!0,constructor:!0,forced:!s},{URLSearchParams:ce}),!s&&y(D)){var fe=a(F.has),pe=a(F.set),de=function(e){if(w(e)){var t,r=e.body;if("URLSearchParams"===b(r))return t=e.headers?new D(e.headers):new D,fe(t,"content-type")||pe(t,"content-type","application/x-www-form-urlencoded;charset=UTF-8"),O(e,{body:_(0,S(r)),headers:_(0,t)})}return e};if(y(N)&&n({global:!0,enumerable:!0,dontCallGetSet:!0,forced:!0},{fetch:function(e){return N(e,arguments.length>1?de(arguments[1]):{})}}),y(M)){var he=function(e){return h(this,U),new M(e,arguments.length>1?de(arguments[1]):{})};U.constructor=he,he.prototype=U,n({global:!0,constructor:!0,dontCallGetSet:!0,forced:!0},{Request:he})}}e.exports={URLSearchParams:ce,getState:C}},function(e,t,r){var n=r(9),o=r(18),i=r(62),a=o("iterator");e.exports=!n((function(){var e=new URL("b?a=1&b=2&c=3","http://a"),t=e.searchParams,r="";return e.pathname="c%20d",t.forEach((function(e,n){t.delete("b"),r+=n+e})),i&&!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"!==r||"x"!==new URL("http://x",void 0).host}))},function(e,t,r){(function(t){var r="object"==typeof t&&t&&t.Object===Object&&t;e.exports=r}).call(this,r(51))},function(e,t){e.exports=function(e,t){return function(r){return e(t(r))}}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.LOCATION_UPDATE=void 0;t.LOCATION_UPDATE="LOCATION_UPDATE"},function(e,t,r){"use strict";var n=r(68),o=r(20),i=r(40),a=r(472),u=r(201),s=r(152),c=r(44),l=r(122),f=r(155),p=r(128),d=Array;e.exports=function(e){var t=i(e),r=s(this),h=arguments.length,y=h>1?arguments[1]:void 0,v=void 0!==y;v&&(y=n(y,h>2?arguments[2]:void 0));var m,b,g,w,S,O,_=p(t),x=0;if(!_||this===d&&u(_))for(m=c(t),b=r?new this(m):d(m);m>x;x++)O=v?y(t[x],x):t[x],l(b,x,O);else for(S=(w=f(t,_)).next,b=r?new this:[];!(g=o(S,w)).done;x++)O=v?a(w,y,[g.value,x],!0):g.value,l(b,x,O);return b.length=x,b}},function(e,t,r){"use strict";var n=r(31).f,o=r(67),i=r(125),a=r(68),u=r(78),s=r(127),c=r(198),l=r(161),f=r(23),p=r(126).fastKey,d=r(43),h=d.set,y=d.getterFor;e.exports={getConstructor:function(e,t,r,c){var l=e((function(e,n){u(e,d),h(e,{type:t,index:o(null),first:void 0,last:void 0,size:0}),f||(e.size=0),null!=n&&s(n,e[c],{that:e,AS_ENTRIES:r})})),d=l.prototype,v=y(t),m=function(e,t,r){var n,o,i=v(e),a=b(e,t);return a?a.value=r:(i.last=a={index:o=p(t,!0),key:t,value:r,previous:n=i.last,next:void 0,removed:!1},i.first||(i.first=a),n&&(n.next=a),f?i.size++:e.size++,"F"!==o&&(i.index[o]=a)),e},b=function(e,t){var r,n=v(e),o=p(t);if("F"!==o)return n.index[o];for(r=n.first;r;r=r.next)if(r.key==t)return r};return i(d,{clear:function(){for(var e=v(this),t=e.index,r=e.first;r;)r.removed=!0,r.previous&&(r.previous=r.previous.next=void 0),delete t[r.index],r=r.next;e.first=e.last=void 0,f?e.size=0:this.size=0},delete:function(e){var t=v(this),r=b(this,e);if(r){var n=r.next,o=r.previous;delete t.index[r.index],r.removed=!0,o&&(o.next=n),n&&(n.previous=o),t.first==r&&(t.first=n),t.last==r&&(t.last=o),f?t.size--:this.size--}return!!r},forEach:function(e){for(var t,r=v(this),n=a(e,arguments.length>1?arguments[1]:void 0);t=t?t.next:r.first;)for(n(t.value,t.key,this);t&&t.removed;)t=t.previous},has:function(e){return!!b(this,e)}}),i(d,r?{get:function(e){var t=b(this,e);return t&&t.value},set:function(e,t){return m(this,0===e?0:e,t)}}:{add:function(e){return m(this,e=0===e?0:e,e)}}),f&&n(d,"size",{get:function(){return v(this).size}}),l},setStrong:function(e,t,r){var n=t+" Iterator",o=y(t),i=y(n);c(e,t,(function(e,t){h(this,{type:n,target:e,state:o(e),kind:t,last:void 0})}),(function(){for(var e=i(this),t=e.kind,r=e.last;r&&r.removed;)r=r.previous;return e.target&&(e.last=r=r?r.next:e.state.first)?"keys"==t?{value:r.key,done:!1}:"values"==t?{value:r.value,done:!1}:{value:[r.key,r.value],done:!1}:(e.target=void 0,{value:void 0,done:!0})}),r?"entries":"values",!r,!0),l(t)}}},function(e,t,r){var n=r(297),o=r(31);e.exports=function(e,t,r){return r.get&&n(r.get,t,{getter:!0}),r.set&&n(r.set,t,{setter:!0}),o.f(e,t,r)}},function(e,t,r){"use strict";var n=r(23),o=r(10),i=r(20),a=r(9),u=r(120),s=r(149),c=r(144),l=r(40),f=r(115),p=Object.assign,d=Object.defineProperty,h=o([].concat);e.exports=!p||a((function(){if(n&&1!==p({b:1},p(d({},"a",{enumerable:!0,get:function(){d(this,"b",{value:3,enumerable:!1})}}),{b:2})).b)return!0;var e={},t={},r=Symbol();return e[r]=7,"abcdefghijklmnopqrst".split("").forEach((function(e){t[e]=e})),7!=p({},e)[r]||"abcdefghijklmnopqrst"!=u(p({},t)).join("")}))?function(e,t){for(var r=l(e),o=arguments.length,a=1,p=s.f,d=c.f;o>a;)for(var y,v=f(arguments[a++]),m=p?h(u(v),p(v)):u(v),b=m.length,g=0;b>g;)y=m[g++],n&&!i(d,v,y)||(r[y]=v[y]);return r}:p},function(e,t,r){var n=r(24),o=r(72),i=r(18)("match");e.exports=function(e){var t;return n(e)&&(void 0!==(t=e[i])?!!t:"RegExp"==o(e))}},function(e,t,r){var n=r(10),o=r(60),i=r(38),a=r(331),u=n("".replace),s="["+a+"]",c=RegExp("^"+s+s+"*"),l=RegExp(s+s+"*$"),f=function(e){return function(t){var r=i(o(t));return 1&e&&(r=u(r,c,"")),2&e&&(r=u(r,l,"")),r}};e.exports={start:f(1),end:f(2),trim:f(3)}},function(e,t){e.exports="\t\n\v\f\r                 \u2028\u2029\ufeff"},function(e,t){e.exports=function(e,t){for(var r=-1,n=null==e?0:e.length,o=Array(n);++r<n;)o[r]=t(e[r],r,e);return o}},function(e,t){e.exports=function(e,t,r){var n=-1,o=e.length;t<0&&(t=-t>o?0:o+t),(r=r>o?o:r)<0&&(r+=o),o=t>r?0:r-t>>>0,t>>>=0;for(var i=Array(o);++n<o;)i[n]=e[n+t];return i}},function(e,t){var r=RegExp("[\\u200d\\ud800-\\udfff\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff\\ufe0e\\ufe0f]");e.exports=function(e){return r.test(e)}},function(e,t,r){var n=r(10);e.exports=n(1..valueOf)},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.SETTINGS_UPDATE=void 0;t.SETTINGS_UPDATE="SETTINGS_UPDATE"},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.SETTINGS_UPDATE=t.SETTINGS_SAVE=t.SETTINGS_LOAD=void 0;t.SETTINGS_LOAD="SETTINGS_LOAD";t.SETTINGS_SAVE="SETTINGS_SAVE";t.SETTINGS_UPDATE="SETTINGS_UPDATE"},function(e,t,r){var n=r(168),o=r(215),i=r(56),a=r(341),u=r(216),s=r(133);e.exports=function(e,t,r){for(var c=-1,l=(t=n(t,e)).length,f=!1;++c<l;){var p=s(t[c]);if(!(f=null!=e&&r(e,p)))break;e=e[p]}return f||++c!=l?f:!!(l=null==e?0:e.length)&&u(l)&&a(p,l)&&(i(e)||o(e))}},function(e,t,r){var n=r(103),o=r(81);e.exports=function(e){if(!o(e))return!1;var t=n(e);return"[object Function]"==t||"[object GeneratorFunction]"==t||"[object AsyncFunction]"==t||"[object Proxy]"==t}},function(e,t){var r=Function.prototype.toString;e.exports=function(e){if(null!=e){try{return r.call(e)}catch(e){}try{return e+""}catch(e){}}return""}},function(e,t){var r=/^(?:0|[1-9]\d*)$/;e.exports=function(e,t){var n=typeof e;return!!(t=null==t?9007199254740991:t)&&("number"==n||"symbol"!=n&&r.test(e))&&e>-1&&e%1==0&&e<t}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.UPDATE=void 0;t.UPDATE="UPDATE"},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.UPDATE_ULTIMATE_NODE_POSITION=t.UPDATE_LAST_SPREAD_INDEX=t.UNLOAD=t.QUEUE_DEFERRED_CALLBACKS=t.LOAD=t.DEQUEUE_DEFERRED_CALLBACKS=void 0;t.LOAD="LOAD";t.UNLOAD="UNLOAD";t.UPDATE_ULTIMATE_NODE_POSITION="UPDATE_ULTIMATE_NODE_POSITION";t.UPDATE_LAST_SPREAD_INDEX="UPDATE_LAST_SPREAD_INDEX";t.QUEUE_DEFERRED_CALLBACKS="QUEUE_DEFERRED_CALLBACKS";t.DEQUEUE_DEFERRED_CALLBACKS="DEQUEUE_DEFERRED_CALLBACKS"},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.UPDATE=t.SPINNER_UPDATE=t.PAGE_TRANSITIONS_UPDATE=t.EVENT_HANDLING_UPDATE=void 0;t.UPDATE="UPDATE";t.PAGE_TRANSITIONS_UPDATE="PAGE_TRANSITIONS_UPDATE";t.EVENT_HANDLING_UPDATE="EVENT_HANDLING_UPDATE";t.SPINNER_UPDATE="SPINNER_UPDATE"},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.PagePrevious=t.PageNext=t.Menu=t.Info=t.Home=t.Download=t.Close=t.ChapterPrevious=t.ChapterNext=void 0;var n,o=(n=r(0))&&n.__esModule?n:{default:n};t.Home=function(){return o.default.createElement("svg",{style:{top:1},viewBox:"0 0 32 32",version:"1.1",xmlns:"http://www.w3.org/2000/svg"},o.default.createElement("g",{stroke:"none",strokeWidth:"1",fill:"none",fillRule:"evenodd"},o.default.createElement("g",{transform:"translate(1.000000, 0.615224)",stroke:"#222222"},o.default.createElement("circle",{id:"Oval",cx:"15",cy:"15",r:"15"}),o.default.createElement("circle",{id:"Oval",cx:"15.5",cy:"15.5",r:"7.5"}))))};t.Download=function(){return o.default.createElement("svg",{viewBox:"0 0 18 22",version:"1.1",xmlns:"http://www.w3.org/2000/svg"},o.default.createElement("g",{stroke:"none",strokeWidth:"0",fill:"none",fillRule:"evenodd"},o.default.createElement("g",{transform:"translate(-6.000000, -3.000000)",fill:"#000000"},o.default.createElement("path",{d:"M23.75,11.25 L18.75,11.25 L18.75,3.75 L11.25,3.75 L11.25,11.25 L6.25,11.25 L15,20 L23.75,11.25 L23.75,11.25 Z M6.25,22.5 L6.25,25 L23.75,25 L23.75,22.5 L6.25,22.5 L6.25,22.5 Z"}))))};t.Close=function(){return o.default.createElement("svg",{viewBox:"0 0 12 13",version:"1.1",xmlns:"http://www.w3.org/2000/svg"},o.default.createElement("g",{stroke:"none",strokeWidth:"0",fill:"none",fillRule:"evenodd"},o.default.createElement("g",{transform:"translate(0.000000, 0.422836)",fill:"#000000",fillRule:"nonzero"},o.default.createElement("polygon",{points:"5.97909408 6.7 1.6097561 12 0 12 5.18466899 5.83333333 0.209059233 0 1.86062718 0 5.97909408 5.05 10.1184669 0 11.7700348 0 6.83623693 5.83333333 12 12 10.369338 12"}))))};t.Info=function(){return o.default.createElement("svg",{style:{top:1},viewBox:"0 0 26 26",version:"1.1",xmlns:"http://www.w3.org/2000/svg"},o.default.createElement("g",{stroke:"none",strokeWidth:"0",fill:"none",fillRule:"evenodd"},o.default.createElement("g",{transform:"translate(-2.000000, -2.000000)",fill:"#222222"},o.default.createElement("path",{d:"M13.75,21.25 L16.25,21.25 L16.25,13.75 L13.75,13.75 L13.75,21.25 L13.75,21.25 Z M15,2.5 C8.1,2.5 2.5,8.1 2.5,15 C2.5,21.9 8.1,27.5 15,27.5 C21.9,27.5 27.5,21.9 27.5,15 C27.5,8.1 21.9,2.5 15,2.5 L15,2.5 Z M15,25 C9.4875,25 5,20.5125 5,15 C5,9.4875 9.4875,5 15,5 C20.5125,5 25,9.4875 25,15 C25,20.5125 20.5125,25 15,25 L15,25 Z M13.75,11.25 L16.25,11.25 L16.25,8.75 L13.75,8.75 L13.75,11.25 L13.75,11.25 Z"}))))};t.Menu=function(){return o.default.createElement("svg",{viewBox:"0 0 22 18",version:"1.1",xmlns:"http://www.w3.org/2000/svg"},o.default.createElement("g",{stroke:"none",strokeWidth:"0",fill:"none",fillRule:"evenodd"},o.default.createElement("g",{transform:"translate(-5.000000, -6.192388)",fill:"#000000"},o.default.createElement("path",{d:"M5,17.5 L10,17.5 L10,12.5 L5,12.5 L5,17.5 L5,17.5 Z M5,23.75 L10,23.75 L10,18.75 L5,18.75 L5,23.75 L5,23.75 Z M5,11.25 L10,11.25 L10,6.25 L5,6.25 L5,11.25 L5,11.25 Z M11.25,17.5 L26.25,17.5 L26.25,12.5 L11.25,12.5 L11.25,17.5 L11.25,17.5 Z M11.25,23.75 L26.25,23.75 L26.25,18.75 L11.25,18.75 L11.25,23.75 L11.25,23.75 Z M11.25,6.25 L11.25,11.25 L26.25,11.25 L26.25,6.25 L11.25,6.25 L11.25,6.25 Z"}))))};t.PageNext=function(){return o.default.createElement("svg",{width:"24px",height:"36px",viewBox:"0 0 24 36",version:"1.1",xmlns:"http://www.w3.org/2000/svg"},o.default.createElement("g",{stroke:"none",strokeWidth:"1",fill:"none",fillRule:"evenodd"},o.default.createElement("path",{d:"M17.5200443,5.70178107 L16.571811,30.7509443 L11.7255751,30.4658716 L11.9160509,11.3057745 L-7.24404621,11.4962503 L-7.52911892,6.65001438 L17.5200443,5.70178107 Z",stroke:"#FFFFFF",fill:"#333333",fillRule:"nonzero",transform:"translate(5.000000, 18.221825) rotate(-315.000000) translate(-5.000000, -18.221825) "})))};t.PagePrevious=function(){return o.default.createElement("svg",{style:{transform:"scale(-1)"},width:"24px",height:"36px",viewBox:"0 0 24 36",version:"1.1",xmlns:"http://www.w3.org/2000/svg"},o.default.createElement("g",{stroke:"none",strokeWidth:"1",fill:"none",fillRule:"evenodd"},o.default.createElement("path",{d:"M17.5200443,5.70178107 L16.571811,30.7509443 L11.7255751,30.4658716 L11.9160509,11.3057745 L-7.24404621,11.4962503 L-7.52911892,6.65001438 L17.5200443,5.70178107 Z",stroke:"#FFFFFF",fill:"#333333",fillRule:"nonzero",transform:"translate(5.000000, 18.221825) rotate(-315.000000) translate(-5.000000, -18.221825) "})))};t.ChapterNext=function(){return o.default.createElement("svg",{width:"16px",height:"24px",viewBox:"0 0 16 24",version:"1.1",xmlns:"http://www.w3.org/2000/svg"},o.default.createElement("g",{stroke:"none",strokeWidth:"1",fill:"none",fillRule:"evenodd"},o.default.createElement("path",{d:"M11.5200443,3.81700476 L10.912505,19.866168 L7.51421865,19.6662688 L7.63313975,7.70390934 L-4.32921972,7.82283044 L-4.52911892,4.42454406 L11.5200443,3.81700476 Z",stroke:"#FFFFFF",fill:"#333333",fillRule:"nonzero",transform:"translate(3.500000, 11.837049) rotate(-315.000000) translate(-3.500000, -11.837049) "})))};t.ChapterPrevious=function(){return o.default.createElement("svg",{style:{transform:"scale(-1)"},width:"16px",height:"24px",viewBox:"0 0 16 24",version:"1.1",xmlns:"http://www.w3.org/2000/svg"},o.default.createElement("g",{stroke:"none",strokeWidth:"1",fill:"none",fillRule:"evenodd"},o.default.createElement("path",{d:"M11.5200443,3.81700476 L10.912505,19.866168 L7.51421865,19.6662688 L7.63313975,7.70390934 L-4.32921972,7.82283044 L-4.52911892,4.42454406 L11.5200443,3.81700476 Z",stroke:"#FFFFFF",fill:"#333333",fillRule:"nonzero",transform:"translate(3.500000, 11.837049) rotate(-315.000000) translate(-3.500000, -11.837049) "})))}},function(e,t,r){"use strict";r.r(t),function(e){var r=function(){if("undefined"!=typeof Map)return Map;function e(e,t){var r=-1;return e.some((function(e,n){return e[0]===t&&(r=n,!0)})),r}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 r=e(this.__entries__,t),n=this.__entries__[r];return n&&n[1]},t.prototype.set=function(t,r){var n=e(this.__entries__,t);~n?this.__entries__[n][1]=r:this.__entries__.push([t,r])},t.prototype.delete=function(t){var r=this.__entries__,n=e(r,t);~n&&r.splice(n,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 r=0,n=this.__entries__;r<n.length;r++){var o=n[r];e.call(t,o[1],o[0])}},t}()}(),n="undefined"!=typeof window&&"undefined"!=typeof document&&window.document===document,o=void 0!==e&&e.Math===Math?e:"undefined"!=typeof self&&self.Math===Math?self:"undefined"!=typeof window&&window.Math===Math?window:Function("return this")(),i="function"==typeof requestAnimationFrame?requestAnimationFrame.bind(o):function(e){return setTimeout((function(){return e(Date.now())}),1e3/60)};var a=["top","right","bottom","left","width","height","size","weight"],u="undefined"!=typeof MutationObserver,s=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 r=!1,n=!1,o=0;function a(){r&&(r=!1,e()),n&&s()}function u(){i(a)}function s(){var e=Date.now();if(r){if(e-o<2)return;n=!0}else r=!0,n=!1,setTimeout(u,t);o=e}return s}(this.refresh.bind(this),20)}return e.prototype.addObserver=function(e){~this.observers_.indexOf(e)||this.observers_.push(e),this.connected_||this.connect_()},e.prototype.removeObserver=function(e){var t=this.observers_,r=t.indexOf(e);~r&&t.splice(r,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(){n&&!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(){n&&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,r=void 0===t?"":t;a.some((function(e){return!!~r.indexOf(e)}))&&this.refresh()},e.getInstance=function(){return this.instance_||(this.instance_=new e),this.instance_},e.instance_=null,e}(),c=function(e,t){for(var r=0,n=Object.keys(t);r<n.length;r++){var o=n[r];Object.defineProperty(e,o,{value:t[o],enumerable:!1,writable:!1,configurable:!0})}return e},l=function(e){return e&&e.ownerDocument&&e.ownerDocument.defaultView||o},f=m(0,0,0,0);function p(e){return parseFloat(e)||0}function d(e){for(var t=[],r=1;r<arguments.length;r++)t[r-1]=arguments[r];return t.reduce((function(t,r){return t+p(e["border-"+r+"-width"])}),0)}function h(e){var t=e.clientWidth,r=e.clientHeight;if(!t&&!r)return f;var n=l(e).getComputedStyle(e),o=function(e){for(var t={},r=0,n=["top","right","bottom","left"];r<n.length;r++){var o=n[r],i=e["padding-"+o];t[o]=p(i)}return t}(n),i=o.left+o.right,a=o.top+o.bottom,u=p(n.width),s=p(n.height);if("border-box"===n.boxSizing&&(Math.round(u+i)!==t&&(u-=d(n,"left","right")+i),Math.round(s+a)!==r&&(s-=d(n,"top","bottom")+a)),!function(e){return e===l(e).document.documentElement}(e)){var c=Math.round(u+i)-t,h=Math.round(s+a)-r;1!==Math.abs(c)&&(u-=c),1!==Math.abs(h)&&(s-=h)}return m(o.left,o.top,u,s)}var y="undefined"!=typeof SVGGraphicsElement?function(e){return e instanceof l(e).SVGGraphicsElement}:function(e){return e instanceof l(e).SVGElement&&"function"==typeof e.getBBox};function v(e){return n?y(e)?function(e){var t=e.getBBox();return m(0,0,t.width,t.height)}(e):h(e):f}function m(e,t,r,n){return{x:e,y:t,width:r,height:n}}var b=function(){function e(e){this.broadcastWidth=0,this.broadcastHeight=0,this.contentRect_=m(0,0,0,0),this.target=e}return e.prototype.isActive=function(){var e=v(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}(),g=function(e,t){var r,n,o,i,a,u,s,l=(n=(r=t).x,o=r.y,i=r.width,a=r.height,u="undefined"!=typeof DOMRectReadOnly?DOMRectReadOnly:Object,s=Object.create(u.prototype),c(s,{x:n,y:o,width:i,height:a,top:o,right:n+i,bottom:a+o,left:n}),s);c(this,{target:e,contentRect:l})},w=function(){function e(e,t,n){if(this.activeObservations_=[],this.observations_=new r,"function"!=typeof e)throw new TypeError("The callback provided as parameter 1 is not a function.");this.callback_=e,this.controller_=t,this.callbackCtx_=n}return e.prototype.observe=function(e){if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");if("undefined"!=typeof Element&&Element instanceof Object){if(!(e instanceof l(e).Element))throw new TypeError('parameter 1 is not of type "Element".');var t=this.observations_;t.has(e)||(t.set(e,new b(e)),this.controller_.addObserver(this),this.controller_.refresh())}},e.prototype.unobserve=function(e){if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");if("undefined"!=typeof Element&&Element instanceof Object){if(!(e instanceof l(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 g(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}(),S="undefined"!=typeof WeakMap?new WeakMap:new r,O=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 r=s.getInstance(),n=new w(t,r,this);S.set(this,n)};["observe","unobserve","disconnect"].forEach((function(e){O.prototype[e]=function(){var t;return(t=S.get(this))[e].apply(t,arguments)}}));var _=void 0!==o.ResizeObserver?o.ResizeObserver:O;t.default=_}.call(this,r(51))},function(e,t,r){"use strict";e.exports={debug:!1,showBreakoints:!1,showGrid:!1,logTime:!1,useLocalStorage:!0,verboseOutput:!1}},function(e,t,r){"use strict";function n(e){return(n="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)}r(2),r(1),r(4),r(15),r(5),r(14),r(3),r(7),r(8),Object.defineProperty(t,"__esModule",{value:!0}),t.update=t.save=t.load=void 0;var o,i=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!==n(e)&&"function"!=typeof e)return{default:e};var r=u(t);if(r&&r.has(e))return r.get(e);var o={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if("default"!==a&&Object.prototype.hasOwnProperty.call(e,a)){var s=i?Object.getOwnPropertyDescriptor(e,a):null;s&&(s.get||s.set)?Object.defineProperty(o,a,s):o[a]=e[a]}o.default=e,r&&r.set(e,o);return o}(r(337)),a=(o=r(165))&&o.__esModule?o:{default:o};function u(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,r=new WeakMap;return(u=function(e){return e?r:t})(e)}t.load=function(){return function(e){return e({type:i.SETTINGS_LOAD})}};t.save=function(){return function(e,t){var r=t().viewerSettings,n={viewerSettings:r};return a.default.set(n),e({type:i.SETTINGS_SAVE,payload:r})}};t.update=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return function(t){return t({type:i.SETTINGS_UPDATE,payload:e})}}},function(e,t,r){"use strict";var n;Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o={left:"0px",layout:"columns"},i=((n=r(0))&&n.__esModule?n:{default:n}).default.createContext(o);i.displayName="SpreadContext";var a=i;t.default=a},function(e,t,r){"use strict";var n=r(12),o=r(10),i=r(64),a=r(335),u=r(351),s=r(9),c=RangeError,l=String,f=Math.floor,p=o(u),d=o("".slice),h=o(1..toFixed),y=function(e,t,r){return 0===t?r:t%2==1?y(e,t-1,r*e):y(e*e,t/2,r)},v=function(e,t,r){for(var n=-1,o=r;++n<6;)o+=t*e[n],e[n]=o%1e7,o=f(o/1e7)},m=function(e,t){for(var r=6,n=0;--r>=0;)n+=e[r],e[r]=f(n/t),n=n%t*1e7},b=function(e){for(var t=6,r="";--t>=0;)if(""!==r||0===t||0!==e[t]){var n=l(e[t]);r=""===r?n:r+p("0",7-n.length)+n}return r};n({target:"Number",proto:!0,forced:s((function(){return"0.000"!==h(8e-5,3)||"1"!==h(.9,0)||"1.25"!==h(1.255,2)||"1000000000000000128"!==h(0xde0b6b3a7640080,0)}))||!s((function(){h({})}))},{toFixed:function(e){var t,r,n,o,u=a(this),s=i(e),f=[0,0,0,0,0,0],h="",g="0";if(s<0||s>20)throw c("Incorrect fraction digits");if(u!=u)return"NaN";if(u<=-1e21||u>=1e21)return l(u);if(u<0&&(h="-",u=-u),u>1e-21)if(r=(t=function(e){for(var t=0,r=e;r>=4096;)t+=12,r/=4096;for(;r>=2;)t+=1,r/=2;return t}(u*y(2,69,1))-69)<0?u*y(2,-t,1):u/y(2,t,1),r*=4503599627370496,(t=52-t)>0){for(v(f,0,r),n=s;n>=7;)v(f,1e7,0),n-=7;for(v(f,y(10,n,1),0),n=t-1;n>=23;)m(f,1<<23),n-=23;m(f,1<<n),v(f,1,1),m(f,2),g=b(f)}else v(f,0,r),v(f,1<<-t,0),g=b(f)+p("0",s);return g=s>0?h+((o=g.length)<=s?"0."+p("0",s-o)+g:d(g,0,o-s)+"."+d(g,o-s)):h+g}})},function(e,t,r){"use strict";var n=r(64),o=r(38),i=r(60),a=RangeError;e.exports=function(e){var t=o(i(this)),r="",u=n(e);if(u<0||u==1/0)throw a("Wrong number of repetitions");for(;u>0;(u>>>=1)&&(t+=t))1&u&&(r+=t);return r}},function(e,t,r){"use strict";r(3),r(7),r(8),r(2),r(5),r(26),r(6),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,r(32),r(1),r(17),r(19),r(35),r(4),r(52),r(27);var n,o=(n=r(179))&&n.__esModule?n:{default:n},i=r(616),a=r(132),u=r(45);function s(e){return function(e){if(Array.isArray(e))return c(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(!e)return;if("string"==typeof e)return c(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return c(e,t)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function c(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function l(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}var f={root:null,document:null,styleSheets:[],scripts:[],requestURI:""},p=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e)}var t,r,n;return t=e,n=[{key:"setContextDocument",value:function(e){f.document=e}},{key:"setRootDocument",value:function(e){f.root=e}},{key:"setRequestURI",value:function(e){f.requestURI=e}},{key:"createStyleSheets",value:function(){f.styleSheets=[].concat(s(f.styleSheets),[new a.MediaStyleSheet({media:u.MEDIA_QUERY_SLIDING,styles:i.mediaSliding}),new a.MediaStyleSheet({media:u.MEDIA_QUERY_SCROLLING,styles:i.mediaScrolling})])}},{key:"appendStyleSheets",value:function(){f.styleSheets.forEach((function(e){return null===f.root.querySelector("#".concat(e.id))&&e.appendSheet(f.root)}))}},{key:"appendScripts",value:function(){f.scripts.forEach((function(e){return/(?:text|application)\/(?:(x-)?java|ecma)script/.test(e.type)&&e.appendScript(f.root)}))}},{key:"createScriptElements",value:function(){var e=Array.from(f.document.querySelectorAll("script")||[]),t=f.requestURI,r=f.scripts;return e?(f.scripts=e.map((function(e){return new a.Script({node:e,requestURI:t})})),f.scripts):r}},{key:"removeScriptElements",value:function(){for(var e=f.document.querySelectorAll("script"),t=0;t<e.length;t++)e[t].parentNode.removeChild(e[t])}},{key:"getStyleSheetByMediaOrId",value:function(e){var t,r=e.id,n=e.media;if(!r&&!n)return console.warn("DocumentPreProcessor#updateStyleSheet requires either an `id` or a `media` parameter");if(r)t=r;else if(n){var i=(0,o.default)(this.styleSheets,{media:n});if(!i)return console.warn("No styleSheet exists for provided `id` or `media`",r,n);t=i.id}var a=f.root.querySelector("#".concat(t));return a?{styleSheetElement:a,styleSheetId:t}:console.warn("No styleSheet exists for provided `id` or `media`",r,n)}},{key:"removeStyleSheet",value:function(t){var r=t.id,n=t.media,o=e.getStyleSheetByMediaOrId({id:r,media:n}).styleSheetElement;o.parentNode.removeChild(o),f.styleSheets=s(f.styleSheets.filter((function(e){return e.id!==r})))}},{key:"removeStyleSheets",value:function(){for(var t;t=f.styleSheets.pop();)e.removeStyleSheet({id:t.id})}},{key:"removeScript",value:function(e){var t=e.id,r=f.root.querySelector("#".concat(t));r&&r.parentNode.removeChild(r),f.scripts=s(f.scripts.filter((function(e){return e.id!==t})))}},{key:"removeScripts",value:function(){for(var t;t=f.scripts.pop();)e.removeScript({id:t.id})}},{key:"swapStyleSheet",value:function(){}},{key:"swapStyleSheets",value:function(){}},{key:"getStyleSheets",value:function(){return f.styleSheets}},{key:"getContextDocument",value:function(){return f.document}},{key:"getRootDocument",value:function(){return f.root}},{key:"parseXML",value:function(t){return e.removeScriptElements(),e.appendStyleSheets(),e.appendScripts(),t&&"function"==typeof t?t(null,f.document):f.document}}],(r=null)&&l(t.prototype,r),n&&l(t,n),Object.defineProperty(t,"prototype",{writable:!1}),e}();t.default=p},function(e,t,r){var n=r(579),o=r(607),i=r(364),a=r(56),u=r(611);e.exports=function(e){return"function"==typeof e?e:null==e?i:"object"==typeof e?a(e)?o(e[0],e[1]):n(e):u(e)}},function(e,t,r){var n=r(586),o=r(79);e.exports=function e(t,r,i,a,u){return t===r||(null==t||null==r||!o(t)&&!o(r)?t!=t&&r!=r:n(t,r,i,a,e,u))}},function(e,t,r){var n=r(587),o=r(590),i=r(591);e.exports=function(e,t,r,a,u,s){var c=1&r,l=e.length,f=t.length;if(l!=f&&!(c&&f>l))return!1;var p=s.get(e),d=s.get(t);if(p&&d)return p==t&&d==e;var h=-1,y=!0,v=2&r?new n:void 0;for(s.set(e,t),s.set(t,e);++h<l;){var m=e[h],b=t[h];if(a)var g=c?a(b,m,h,t,e,s):a(m,b,h,e,t,s);if(void 0!==g){if(g)continue;y=!1;break}if(v){if(!o(t,(function(e,t){if(!i(v,t)&&(m===e||u(m,e,r,a,s)))return v.push(t)}))){y=!1;break}}else if(m!==b&&!u(m,b,r,a,s)){y=!1;break}}return s.delete(e),s.delete(t),y}},function(e,t,r){var n=r(55).Uint8Array;e.exports=n},function(e,t,r){var n=r(358),o=r(222),i=r(135);e.exports=function(e){return n(e,i,o)}},function(e,t,r){var n=r(221),o=r(56);e.exports=function(e,t,r){var i=t(e);return o(e)?i:n(i,r(e))}},function(e,t){e.exports=function(){return[]}},function(e,t,r){var n=r(597),o=r(215),i=r(56),a=r(223),u=r(341),s=r(361),c=Object.prototype.hasOwnProperty;e.exports=function(e,t){var r=i(e),l=!r&&o(e),f=!r&&!l&&a(e),p=!r&&!l&&!f&&s(e),d=r||l||f||p,h=d?n(e.length,String):[],y=h.length;for(var v in e)!t&&!c.call(e,v)||d&&("length"==v||f&&("offset"==v||"parent"==v)||p&&("buffer"==v||"byteLength"==v||"byteOffset"==v)||u(v,y))||h.push(v);return h}},function(e,t,r){var n=r(599),o=r(225),i=r(226),a=i&&i.isTypedArray,u=a?o(a):n;e.exports=u},function(e,t,r){var n=r(81);e.exports=function(e){return e==e&&!n(e)}},function(e,t){e.exports=function(e,t){return function(r){return null!=r&&(r[e]===t&&(void 0!==t||e in Object(r)))}}},function(e,t){e.exports=function(e){return e}},function(e,t,r){var n=r(614),o=r(353),i=r(366),a=Math.max;e.exports=function(e,t,r){var u=null==e?0:e.length;if(!u)return-1;var s=null==r?0:i(r);return s<0&&(s=a(u+s,0)),n(e,o(t,3),s)}},function(e,t,r){var n=r(615);e.exports=function(e){var t=n(e),r=t%1;return t==t?r?t-r:t:0}},function(e,t,r){var n=r(73);e.exports=/(?:ipad|iphone|ipod).*applewebkit/i.test(n)},function(e,t,r){var n=r(136),o=r(156),i=r(137).CONSTRUCTOR;e.exports=i||!o((function(e){n.all(e).then(void 0,(function(){}))}))},function(e,t,r){r(12)({target:"Math",stat:!0},{sign:r(632)})},function(e,t,r){(function(e){var n=void 0!==e&&e||"undefined"!=typeof self&&self||window,o=Function.prototype.apply;function i(e,t){this._id=e,this._clearFn=t}t.setTimeout=function(){return new i(o.call(setTimeout,n,arguments),clearTimeout)},t.setInterval=function(){return new i(o.call(setInterval,n,arguments),clearInterval)},t.clearTimeout=t.clearInterval=function(e){e&&e.close()},i.prototype.unref=i.prototype.ref=function(){},i.prototype.close=function(){this._clearFn.call(n,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))},r(371),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,r(51))},function(e,t,r){(function(e,t){!function(e,r){"use strict";if(!e.setImmediate){var n,o,i,a,u,s=1,c={},l=!1,f=e.document,p=Object.getPrototypeOf&&Object.getPrototypeOf(e);p=p&&p.setTimeout?p:e,"[object process]"==={}.toString.call(e.process)?n=function(e){t.nextTick((function(){h(e)}))}:!function(){if(e.postMessage&&!e.importScripts){var t=!0,r=e.onmessage;return e.onmessage=function(){t=!1},e.postMessage("","*"),e.onmessage=r,t}}()?e.MessageChannel?((i=new MessageChannel).port1.onmessage=function(e){h(e.data)},n=function(e){i.port2.postMessage(e)}):f&&"onreadystatechange"in f.createElement("script")?(o=f.documentElement,n=function(e){var t=f.createElement("script");t.onreadystatechange=function(){h(e),t.onreadystatechange=null,o.removeChild(t),t=null},o.appendChild(t)}):n=function(e){setTimeout(h,0,e)}:(a="setImmediate$"+Math.random()+"$",u=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",u,!1):e.attachEvent("onmessage",u),n=function(t){e.postMessage(a+t,"*")}),p.setImmediate=function(e){"function"!=typeof e&&(e=new Function(""+e));for(var t=new Array(arguments.length-1),r=0;r<t.length;r++)t[r]=arguments[r+1];var o={callback:e,args:t};return c[s]=o,n(s),s++},p.clearImmediate=d}function d(e){delete c[e]}function h(e){if(l)setTimeout(h,0,e);else{var t=c[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(void 0,r)}}(t)}finally{d(e),l=!1}}}}}("undefined"==typeof self?void 0===e?this:e:self)}).call(this,r(51),r(105))},function(e,t,r){"use strict";function n(e){return(n="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)}r(2),r(1),r(4),r(15),r(5),r(14),r(3),r(7),r(8),Object.defineProperty(t,"__esModule",{value:!0}),t.updateSettings=void 0;var o=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!==n(e)&&"function"!=typeof e)return{default:e};var r=i(t);if(r&&r.has(e))return r.get(e);var o={},a=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var u in e)if("default"!==u&&Object.prototype.hasOwnProperty.call(e,u)){var s=a?Object.getOwnPropertyDescriptor(e,u):null;s&&(s.get||s.set)?Object.defineProperty(o,u,s):o[u]=e[u]}o.default=e,r&&r.set(e,o);return o}(r(336));function i(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,r=new WeakMap;return(i=function(e){return e?r:t})(e)}t.updateSettings=function(e){return{type:o.SETTINGS_UPDATE,payload:e}}},function(e,t,r){"use strict";e.exports=function(e,t){return function(){for(var r=new Array(arguments.length),n=0;n<r.length;n++)r[n]=arguments[n];return e.apply(t,r)}}},function(e,t,r){"use strict";var n=r(50);function o(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}e.exports=function(e,t,r){if(!t)return e;var i;if(r)i=r(t);else if(n.isURLSearchParams(t))i=t.toString();else{var a=[];n.forEach(t,(function(e,t){null!=e&&(n.isArray(e)?t+="[]":e=[e],n.forEach(e,(function(e){n.isDate(e)?e=e.toISOString():n.isObject(e)&&(e=JSON.stringify(e)),a.push(o(t)+"="+o(e))})))})),i=a.join("&")}if(i){var u=e.indexOf("#");-1!==u&&(e=e.slice(0,u)),e+=(-1===e.indexOf("?")?"?":"&")+i}return e}},function(e,t,r){"use strict";e.exports=function(e,t,r,n,o){return e.config=t,r&&(e.code=r),e.request=n,e.response=o,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,r){"use strict";var n=r(50),o=r(648),i=r(649),a=r(374),u=r(650),s=r(653),c=r(654),l=r(377);e.exports=function(e){return new Promise((function(t,r){var f=e.data,p=e.headers,d=e.responseType;n.isFormData(f)&&delete p["Content-Type"];var h=new XMLHttpRequest;if(e.auth){var y=e.auth.username||"",v=e.auth.password?unescape(encodeURIComponent(e.auth.password)):"";p.Authorization="Basic "+btoa(y+":"+v)}var m=u(e.baseURL,e.url);function b(){if(h){var n="getAllResponseHeaders"in h?s(h.getAllResponseHeaders()):null,i={data:d&&"text"!==d&&"json"!==d?h.response:h.responseText,status:h.status,statusText:h.statusText,headers:n,config:e,request:h};o(t,r,i),h=null}}if(h.open(e.method.toUpperCase(),a(m,e.params,e.paramsSerializer),!0),h.timeout=e.timeout,"onloadend"in h?h.onloadend=b:h.onreadystatechange=function(){h&&4===h.readyState&&(0!==h.status||h.responseURL&&0===h.responseURL.indexOf("file:"))&&setTimeout(b)},h.onabort=function(){h&&(r(l("Request aborted",e,"ECONNABORTED",h)),h=null)},h.onerror=function(){r(l("Network Error",e,null,h)),h=null},h.ontimeout=function(){var t="timeout of "+e.timeout+"ms exceeded";e.timeoutErrorMessage&&(t=e.timeoutErrorMessage),r(l(t,e,e.transitional&&e.transitional.clarifyTimeoutError?"ETIMEDOUT":"ECONNABORTED",h)),h=null},n.isStandardBrowserEnv()){var g=(e.withCredentials||c(m))&&e.xsrfCookieName?i.read(e.xsrfCookieName):void 0;g&&(p[e.xsrfHeaderName]=g)}"setRequestHeader"in h&&n.forEach(p,(function(e,t){void 0===f&&"content-type"===t.toLowerCase()?delete p[t]:h.setRequestHeader(t,e)})),n.isUndefined(e.withCredentials)||(h.withCredentials=!!e.withCredentials),d&&"json"!==d&&(h.responseType=e.responseType),"function"==typeof e.onDownloadProgress&&h.addEventListener("progress",e.onDownloadProgress),"function"==typeof e.onUploadProgress&&h.upload&&h.upload.addEventListener("progress",e.onUploadProgress),e.cancelToken&&e.cancelToken.promise.then((function(e){h&&(h.abort(),r(e),h=null)})),f||(f=null),h.send(f)}))}},function(e,t,r){"use strict";var n=r(375);e.exports=function(e,t,r,o,i){var a=new Error(e);return n(a,t,r,o,i)}},function(e,t,r){"use strict";e.exports=function(e){return!(!e||!e.__CANCEL__)}},function(e,t,r){"use strict";var n=r(50);e.exports=function(e,t){t=t||{};var r={},o=["url","method","data"],i=["headers","auth","proxy","params"],a=["baseURL","transformRequest","transformResponse","paramsSerializer","timeout","timeoutMessage","withCredentials","adapter","responseType","xsrfCookieName","xsrfHeaderName","onUploadProgress","onDownloadProgress","decompress","maxContentLength","maxBodyLength","maxRedirects","transport","httpAgent","httpsAgent","cancelToken","socketPath","responseEncoding"],u=["validateStatus"];function s(e,t){return n.isPlainObject(e)&&n.isPlainObject(t)?n.merge(e,t):n.isPlainObject(t)?n.merge({},t):n.isArray(t)?t.slice():t}function c(o){n.isUndefined(t[o])?n.isUndefined(e[o])||(r[o]=s(void 0,e[o])):r[o]=s(e[o],t[o])}n.forEach(o,(function(e){n.isUndefined(t[e])||(r[e]=s(void 0,t[e]))})),n.forEach(i,c),n.forEach(a,(function(o){n.isUndefined(t[o])?n.isUndefined(e[o])||(r[o]=s(void 0,e[o])):r[o]=s(void 0,t[o])})),n.forEach(u,(function(n){n in t?r[n]=s(e[n],t[n]):n in e&&(r[n]=s(void 0,e[n]))}));var l=o.concat(i).concat(a).concat(u),f=Object.keys(e).concat(Object.keys(t)).filter((function(e){return-1===l.indexOf(e)}));return n.forEach(f,c),r}},function(e,t,r){"use strict";function n(e){this.message=e}n.prototype.toString=function(){return"Cancel"+(this.message?": "+this.message:"")},n.prototype.__CANCEL__=!0,e.exports=n},function(e,t,r){var n,o,i=r(662),a=r(238),u=r(239).isArray;function s(e){var t=Number(e);if(!isNaN(t))return t;var r=e.toLowerCase();return"true"===r||"false"!==r&&e}function c(e,t){var r;if(n.compact){if(!o[n[e+"Key"]]&&(u(n.alwaysArray)?-1!==n.alwaysArray.indexOf(n[e+"Key"]):n.alwaysArray)&&(o[n[e+"Key"]]=[]),o[n[e+"Key"]]&&!u(o[n[e+"Key"]])&&(o[n[e+"Key"]]=[o[n[e+"Key"]]]),e+"Fn"in n&&"string"==typeof t&&(t=n[e+"Fn"](t,o)),"instruction"===e&&("instructionFn"in n||"instructionNameFn"in n))for(r in t)if(t.hasOwnProperty(r))if("instructionFn"in n)t[r]=n.instructionFn(t[r],r,o);else{var i=t[r];delete t[r],t[n.instructionNameFn(r,i,o)]=i}u(o[n[e+"Key"]])?o[n[e+"Key"]].push(t):o[n[e+"Key"]]=t}else{o[n.elementsKey]||(o[n.elementsKey]=[]);var a={};if(a[n.typeKey]=e,"instruction"===e){for(r in t)if(t.hasOwnProperty(r))break;a[n.nameKey]="instructionNameFn"in n?n.instructionNameFn(r,t,o):r,n.instructionHasAttributes?(a[n.attributesKey]=t[r][n.attributesKey],"instructionFn"in n&&(a[n.attributesKey]=n.instructionFn(a[n.attributesKey],r,o))):("instructionFn"in n&&(t[r]=n.instructionFn(t[r],r,o)),a[n.instructionKey]=t[r])}else e+"Fn"in n&&(t=n[e+"Fn"](t,o)),a[n[e+"Key"]]=t;n.addParent&&(a[n.parentKey]=o),o[n.elementsKey].push(a)}}function l(e){var t;if("attributesFn"in n&&e&&(e=n.attributesFn(e,o)),(n.trim||"attributeValueFn"in n||"attributeNameFn"in n||n.nativeTypeAttributes)&&e)for(t in e)if(e.hasOwnProperty(t)&&(n.trim&&(e[t]=e[t].trim()),n.nativeTypeAttributes&&(e[t]=s(e[t])),"attributeValueFn"in n&&(e[t]=n.attributeValueFn(e[t],t,o)),"attributeNameFn"in n)){var r=e[t];delete e[t],e[n.attributeNameFn(t,e[t],o)]=r}return e}function f(e){var t={};if(e.body&&("xml"===e.name.toLowerCase()||n.instructionHasAttributes)){for(var r,i=/([\w:-]+)\s*=\s*(?:"([^"]*)"|'([^']*)'|(\w+))\s*/g;null!==(r=i.exec(e.body));)t[r[1]]=r[2]||r[3]||r[4];t=l(t)}if("xml"===e.name.toLowerCase()){if(n.ignoreDeclaration)return;o[n.declarationKey]={},Object.keys(t).length&&(o[n.declarationKey][n.attributesKey]=t),n.addParent&&(o[n.declarationKey][n.parentKey]=o)}else{if(n.ignoreInstruction)return;n.trim&&(e.body=e.body.trim());var a={};n.instructionHasAttributes&&Object.keys(t).length?(a[e.name]={},a[e.name][n.attributesKey]=t):a[e.name]=e.body,c("instruction",a)}}function p(e,t){var r;if("object"==typeof e&&(t=e.attributes,e=e.name),t=l(t),"elementNameFn"in n&&(e=n.elementNameFn(e,o)),n.compact){var i;if(r={},!n.ignoreAttributes&&t&&Object.keys(t).length)for(i in r[n.attributesKey]={},t)t.hasOwnProperty(i)&&(r[n.attributesKey][i]=t[i]);!(e in o)&&(u(n.alwaysArray)?-1!==n.alwaysArray.indexOf(e):n.alwaysArray)&&(o[e]=[]),o[e]&&!u(o[e])&&(o[e]=[o[e]]),u(o[e])?o[e].push(r):o[e]=r}else o[n.elementsKey]||(o[n.elementsKey]=[]),(r={})[n.typeKey]="element",r[n.nameKey]=e,!n.ignoreAttributes&&t&&Object.keys(t).length&&(r[n.attributesKey]=t),n.alwaysChildren&&(r[n.elementsKey]=[]),o[n.elementsKey].push(r);r[n.parentKey]=o,o=r}function d(e){n.ignoreText||(e.trim()||n.captureSpacesBetweenElements)&&(n.trim&&(e=e.trim()),n.nativeType&&(e=s(e)),n.sanitize&&(e=e.replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;")),c("text",e))}function h(e){n.ignoreComment||(n.trim&&(e=e.trim()),c("comment",e))}function y(e){var t=o[n.parentKey];n.addParent||delete o[n.parentKey],o=t}function v(e){n.ignoreCdata||(n.trim&&(e=e.trim()),c("cdata",e))}function m(e){n.ignoreDoctype||(e=e.replace(/^ /,""),n.trim&&(e=e.trim()),c("doctype",e))}function b(e){e.note=e}e.exports=function(e,t){var r=i.parser(!0,{}),u={};if(o=u,n=function(e){return n=a.copyOptions(e),a.ensureFlagExists("ignoreDeclaration",n),a.ensureFlagExists("ignoreInstruction",n),a.ensureFlagExists("ignoreAttributes",n),a.ensureFlagExists("ignoreText",n),a.ensureFlagExists("ignoreComment",n),a.ensureFlagExists("ignoreCdata",n),a.ensureFlagExists("ignoreDoctype",n),a.ensureFlagExists("compact",n),a.ensureFlagExists("alwaysChildren",n),a.ensureFlagExists("addParent",n),a.ensureFlagExists("trim",n),a.ensureFlagExists("nativeType",n),a.ensureFlagExists("nativeTypeAttributes",n),a.ensureFlagExists("sanitize",n),a.ensureFlagExists("instructionHasAttributes",n),a.ensureFlagExists("captureSpacesBetweenElements",n),a.ensureAlwaysArrayExists(n),a.ensureKeyExists("declaration",n),a.ensureKeyExists("instruction",n),a.ensureKeyExists("attributes",n),a.ensureKeyExists("text",n),a.ensureKeyExists("comment",n),a.ensureKeyExists("cdata",n),a.ensureKeyExists("doctype",n),a.ensureKeyExists("type",n),a.ensureKeyExists("name",n),a.ensureKeyExists("elements",n),a.ensureKeyExists("parent",n),a.checkFnExists("doctype",n),a.checkFnExists("instruction",n),a.checkFnExists("cdata",n),a.checkFnExists("comment",n),a.checkFnExists("text",n),a.checkFnExists("instructionName",n),a.checkFnExists("elementName",n),a.checkFnExists("attributeName",n),a.checkFnExists("attributeValue",n),a.checkFnExists("attributes",n),n}(t),r.opt={strictEntities:!0},r.onopentag=p,r.ontext=d,r.oncomment=h,r.onclosetag=y,r.onerror=b,r.oncdata=v,r.ondoctype=m,r.onprocessinginstruction=f,r.write(e).close(),u[n.elementsKey]){var s=u[n.elementsKey];delete u[n.elementsKey],u[n.elementsKey]=s,delete u.text}return u}},function(e,t){var r={}.toString;e.exports=Array.isArray||function(e){return"[object Array]"==r.call(e)}},function(e,t,r){"use strict";(function(t,n){var o=r(183);e.exports=g;var i,a=r(382);g.ReadableState=b;r(233).EventEmitter;var u=function(e,t){return e.listeners(t).length},s=r(384),c=r(235).Buffer,l=t.Uint8Array||function(){};var f=Object.create(r(140));f.inherits=r(113);var p=r(666),d=void 0;d=p&&p.debuglog?p.debuglog("stream"):function(){};var h,y=r(667),v=r(385);f.inherits(g,s);var m=["error","close","destroy","pause","resume"];function b(e,t){e=e||{};var n=t instanceof(i=i||r(96));this.objectMode=!!e.objectMode,n&&(this.objectMode=this.objectMode||!!e.readableObjectMode);var o=e.highWaterMark,a=e.readableHighWaterMark,u=this.objectMode?16:16384;this.highWaterMark=o||0===o?o:n&&(a||0===a)?a:u,this.highWaterMark=Math.floor(this.highWaterMark),this.buffer=new y,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=r(237).StringDecoder),this.decoder=new h(e.encoding),this.encoding=e.encoding)}function g(e){if(i=i||r(96),!(this instanceof g))return new g(e);this._readableState=new b(e,this),this.readable=!0,e&&("function"==typeof e.read&&(this._read=e.read),"function"==typeof e.destroy&&(this._destroy=e.destroy)),s.call(this)}function w(e,t,r,n,o){var i,a=e._readableState;null===t?(a.reading=!1,function(e,t){if(t.ended)return;if(t.decoder){var r=t.decoder.end();r&&r.length&&(t.buffer.push(r),t.length+=t.objectMode?1:r.length)}t.ended=!0,_(e)}(e,a)):(o||(i=function(e,t){var r;n=t,c.isBuffer(n)||n instanceof l||"string"==typeof t||void 0===t||e.objectMode||(r=new TypeError("Invalid non-string/buffer chunk"));var n;return r}(a,t)),i?e.emit("error",i):a.objectMode||t&&t.length>0?("string"==typeof t||a.objectMode||Object.getPrototypeOf(t)===c.prototype||(t=function(e){return c.from(e)}(t)),n?a.endEmitted?e.emit("error",new Error("stream.unshift() after end event")):S(e,a,t,!0):a.ended?e.emit("error",new Error("stream.push() after EOF")):(a.reading=!1,a.decoder&&!r?(t=a.decoder.write(t),a.objectMode||0!==t.length?S(e,a,t,!1):E(e,a)):S(e,a,t,!1))):n||(a.reading=!1));return function(e){return!e.ended&&(e.needReadable||e.length<e.highWaterMark||0===e.length)}(a)}function S(e,t,r,n){t.flowing&&0===t.length&&!t.sync?(e.emit("data",r),e.read(0)):(t.length+=t.objectMode?1:r.length,n?t.buffer.unshift(r):t.buffer.push(r),t.needReadable&&_(e)),E(e,t)}Object.defineProperty(g.prototype,"destroyed",{get:function(){return void 0!==this._readableState&&this._readableState.destroyed},set:function(e){this._readableState&&(this._readableState.destroyed=e)}}),g.prototype.destroy=v.destroy,g.prototype._undestroy=v.undestroy,g.prototype._destroy=function(e,t){this.push(null),t(e)},g.prototype.push=function(e,t){var r,n=this._readableState;return n.objectMode?r=!0:"string"==typeof e&&((t=t||n.defaultEncoding)!==n.encoding&&(e=c.from(e,t),t=""),r=!0),w(this,e,t,!1,r)},g.prototype.unshift=function(e){return w(this,e,null,!0,!1)},g.prototype.isPaused=function(){return!1===this._readableState.flowing},g.prototype.setEncoding=function(e){return h||(h=r(237).StringDecoder),this._readableState.decoder=new h(e),this._readableState.encoding=e,this};function O(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>=8388608?e=8388608:(e--,e|=e>>>1,e|=e>>>2,e|=e>>>4,e|=e>>>8,e|=e>>>16,e++),e}(e)),e<=t.length?e:t.ended?t.length:(t.needReadable=!0,0))}function _(e){var t=e._readableState;t.needReadable=!1,t.emittedReadable||(d("emitReadable",t.flowing),t.emittedReadable=!0,t.sync?o.nextTick(x,e):x(e))}function x(e){d("emit readable"),e.emit("readable"),T(e)}function E(e,t){t.readingMore||(t.readingMore=!0,o.nextTick(P,e,t))}function P(e,t){for(var r=t.length;!t.reading&&!t.flowing&&!t.ended&&t.length<t.highWaterMark&&(d("maybeReadMore read 0"),e.read(0),r!==t.length);)r=t.length;t.readingMore=!1}function k(e){d("readable nexttick read 0"),e.read(0)}function j(e,t){t.reading||(d("resume read 0"),e.read(0)),t.resumeScheduled=!1,t.awaitDrain=0,e.emit("resume"),T(e),t.flowing&&!t.reading&&e.read(0)}function T(e){var t=e._readableState;for(d("flow",t.flowing);t.flowing&&null!==e.read(););}function A(e,t){return 0===t.length?null:(t.objectMode?r=t.buffer.shift():!e||e>=t.length?(r=t.decoder?t.buffer.join(""):1===t.buffer.length?t.buffer.head.data:t.buffer.concat(t.length),t.buffer.clear()):r=function(e,t,r){var n;e<t.head.data.length?(n=t.head.data.slice(0,e),t.head.data=t.head.data.slice(e)):n=e===t.head.data.length?t.shift():r?function(e,t){var r=t.head,n=1,o=r.data;e-=o.length;for(;r=r.next;){var i=r.data,a=e>i.length?i.length:e;if(a===i.length?o+=i:o+=i.slice(0,e),0===(e-=a)){a===i.length?(++n,r.next?t.head=r.next:t.head=t.tail=null):(t.head=r,r.data=i.slice(a));break}++n}return t.length-=n,o}(e,t):function(e,t){var r=c.allocUnsafe(e),n=t.head,o=1;n.data.copy(r),e-=n.data.length;for(;n=n.next;){var i=n.data,a=e>i.length?i.length:e;if(i.copy(r,r.length-e,0,a),0===(e-=a)){a===i.length?(++o,n.next?t.head=n.next:t.head=t.tail=null):(t.head=n,n.data=i.slice(a));break}++o}return t.length-=o,r}(e,t);return n}(e,t.buffer,t.decoder),r);var r}function C(e){var t=e._readableState;if(t.length>0)throw new Error('"endReadable()" called on non-empty stream');t.endEmitted||(t.ended=!0,o.nextTick(L,t,e))}function L(e,t){e.endEmitted||0!==e.length||(e.endEmitted=!0,t.readable=!1,t.emit("end"))}function R(e,t){for(var r=0,n=e.length;r<n;r++)if(e[r]===t)return r;return-1}g.prototype.read=function(e){d("read",e),e=parseInt(e,10);var t=this._readableState,r=e;if(0!==e&&(t.emittedReadable=!1),0===e&&t.needReadable&&(t.length>=t.highWaterMark||t.ended))return d("read: emitReadable",t.length,t.ended),0===t.length&&t.ended?C(this):_(this),null;if(0===(e=O(e,t))&&t.ended)return 0===t.length&&C(this),null;var n,o=t.needReadable;return d("need readable",o),(0===t.length||t.length-e<t.highWaterMark)&&d("length less than watermark",o=!0),t.ended||t.reading?d("reading or ended",o=!1):o&&(d("do read"),t.reading=!0,t.sync=!0,0===t.length&&(t.needReadable=!0),this._read(t.highWaterMark),t.sync=!1,t.reading||(e=O(r,t))),null===(n=e>0?A(e,t):null)?(t.needReadable=!0,e=0):t.length-=e,0===t.length&&(t.ended||(t.needReadable=!0),r!==e&&t.ended&&C(this)),null!==n&&this.emit("data",n),n},g.prototype._read=function(e){this.emit("error",new Error("_read() is not implemented"))},g.prototype.pipe=function(e,t){var r=this,i=this._readableState;switch(i.pipesCount){case 0:i.pipes=e;break;case 1:i.pipes=[i.pipes,e];break;default:i.pipes.push(e)}i.pipesCount+=1,d("pipe count=%d opts=%j",i.pipesCount,t);var s=(!t||!1!==t.end)&&e!==n.stdout&&e!==n.stderr?l:g;function c(t,n){d("onunpipe"),t===r&&n&&!1===n.hasUnpiped&&(n.hasUnpiped=!0,d("cleanup"),e.removeListener("close",m),e.removeListener("finish",b),e.removeListener("drain",f),e.removeListener("error",v),e.removeListener("unpipe",c),r.removeListener("end",l),r.removeListener("end",g),r.removeListener("data",y),p=!0,!i.awaitDrain||e._writableState&&!e._writableState.needDrain||f())}function l(){d("onend"),e.end()}i.endEmitted?o.nextTick(s):r.once("end",s),e.on("unpipe",c);var f=function(e){return function(){var t=e._readableState;d("pipeOnDrain",t.awaitDrain),t.awaitDrain&&t.awaitDrain--,0===t.awaitDrain&&u(e,"data")&&(t.flowing=!0,T(e))}}(r);e.on("drain",f);var p=!1;var h=!1;function y(t){d("ondata"),h=!1,!1!==e.write(t)||h||((1===i.pipesCount&&i.pipes===e||i.pipesCount>1&&-1!==R(i.pipes,e))&&!p&&(d("false write response, pause",r._readableState.awaitDrain),r._readableState.awaitDrain++,h=!0),r.pause())}function v(t){d("onerror",t),g(),e.removeListener("error",v),0===u(e,"error")&&e.emit("error",t)}function m(){e.removeListener("finish",b),g()}function b(){d("onfinish"),e.removeListener("close",m),g()}function g(){d("unpipe"),r.unpipe(e)}return r.on("data",y),function(e,t,r){if("function"==typeof e.prependListener)return e.prependListener(t,r);e._events&&e._events[t]?a(e._events[t])?e._events[t].unshift(r):e._events[t]=[r,e._events[t]]:e.on(t,r)}(e,"error",v),e.once("close",m),e.once("finish",b),e.emit("pipe",r),i.flowing||(d("pipe resume"),r.resume()),e},g.prototype.unpipe=function(e){var t=this._readableState,r={hasUnpiped:!1};if(0===t.pipesCount)return this;if(1===t.pipesCount)return e&&e!==t.pipes||(e||(e=t.pipes),t.pipes=null,t.pipesCount=0,t.flowing=!1,e&&e.emit("unpipe",this,r)),this;if(!e){var n=t.pipes,o=t.pipesCount;t.pipes=null,t.pipesCount=0,t.flowing=!1;for(var i=0;i<o;i++)n[i].emit("unpipe",this,r);return this}var a=R(t.pipes,e);return-1===a||(t.pipes.splice(a,1),t.pipesCount-=1,1===t.pipesCount&&(t.pipes=t.pipes[0]),e.emit("unpipe",this,r)),this},g.prototype.on=function(e,t){var r=s.prototype.on.call(this,e,t);if("data"===e)!1!==this._readableState.flowing&&this.resume();else if("readable"===e){var n=this._readableState;n.endEmitted||n.readableListening||(n.readableListening=n.needReadable=!0,n.emittedReadable=!1,n.reading?n.length&&_(this):o.nextTick(k,this))}return r},g.prototype.addListener=g.prototype.on,g.prototype.resume=function(){var e=this._readableState;return e.flowing||(d("resume"),e.flowing=!0,function(e,t){t.resumeScheduled||(t.resumeScheduled=!0,o.nextTick(j,e,t))}(this,e)),this},g.prototype.pause=function(){return d("call pause flowing=%j",this._readableState.flowing),!1!==this._readableState.flowing&&(d("pause"),this._readableState.flowing=!1,this.emit("pause")),this},g.prototype.wrap=function(e){var t=this,r=this._readableState,n=!1;for(var o in e.on("end",(function(){if(d("wrapped end"),r.decoder&&!r.ended){var e=r.decoder.end();e&&e.length&&t.push(e)}t.push(null)})),e.on("data",(function(o){(d("wrapped data"),r.decoder&&(o=r.decoder.write(o)),r.objectMode&&null==o)||(r.objectMode||o&&o.length)&&(t.push(o)||(n=!0,e.pause()))})),e)void 0===this[o]&&"function"==typeof e[o]&&(this[o]=function(t){return function(){return e[t].apply(e,arguments)}}(o));for(var i=0;i<m.length;i++)e.on(m[i],this.emit.bind(this,m[i]));return this._read=function(t){d("wrapped _read",t),n&&(n=!1,e.resume())},this},Object.defineProperty(g.prototype,"readableHighWaterMark",{enumerable:!1,get:function(){return this._readableState.highWaterMark}}),g._fromList=A}).call(this,r(51),r(105))},function(e,t,r){e.exports=r(233).EventEmitter},function(e,t,r){"use strict";var n=r(183);function o(e,t){e.emit("error",t)}e.exports={destroy:function(e,t){var r=this,i=this._readableState&&this._readableState.destroyed,a=this._writableState&&this._writableState.destroyed;return i||a?(t?t(e):!e||this._writableState&&this._writableState.errorEmitted||n.nextTick(o,this,e),this):(this._readableState&&(this._readableState.destroyed=!0),this._writableState&&(this._writableState.destroyed=!0),this._destroy(e||null,(function(e){!t&&e?(n.nextTick(o,r,e),r._writableState&&(r._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,r){"use strict";e.exports=a;var n=r(96),o=Object.create(r(140));function i(e,t){var r=this._transformState;r.transforming=!1;var n=r.writecb;if(!n)return this.emit("error",new Error("write callback called multiple times"));r.writechunk=null,r.writecb=null,null!=t&&this.push(t),n(e);var o=this._readableState;o.reading=!1,(o.needReadable||o.length<o.highWaterMark)&&this._read(o.highWaterMark)}function a(e){if(!(this instanceof a))return new a(e);n.call(this,e),this._transformState={afterTransform:i.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",u)}function u(){var e=this;"function"==typeof this._flush?this._flush((function(t,r){s(e,t,r)})):s(this,null,null)}function s(e,t,r){if(t)return e.emit("error",t);if(null!=r&&e.push(r),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)}o.inherits=r(113),o.inherits(a,n),a.prototype.push=function(e,t){return this._transformState.needTransform=!1,n.prototype.push.call(this,e,t)},a.prototype._transform=function(e,t,r){throw new Error("_transform() is not implemented")},a.prototype._write=function(e,t,r){var n=this._transformState;if(n.writecb=r,n.writechunk=e,n.writeencoding=t,!n.transforming){var o=this._readableState;(n.needTransform||o.needReadable||o.length<o.highWaterMark)&&this._read(o.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 r=this;n.prototype._destroy.call(this,e,(function(e){t(e),r.emit("close")}))}},function(e,t,r){var n,o,i=r(238),a=r(239).isArray;function u(e,t,r){return(!r&&e.spaces?"\n":"")+Array(t+1).join(e.spaces)}function s(e,t,r){if(t.ignoreAttributes)return"";"attributesFn"in t&&(e=t.attributesFn(e,o,n));var i,a,s,c,l=[];for(i in e)e.hasOwnProperty(i)&&null!==e[i]&&void 0!==e[i]&&(c=t.noQuotesForNativeAttributes&&"string"!=typeof e[i]?"":'"',a=(a=""+e[i]).replace(/"/g,"&quot;"),s="attributeNameFn"in t?t.attributeNameFn(i,a,o,n):i,l.push(t.spaces&&t.indentAttributes?u(t,r+1,!1):" "),l.push(s+"="+c+("attributeValueFn"in t?t.attributeValueFn(a,i,o,n):a)+c));return e&&Object.keys(e).length&&t.spaces&&t.indentAttributes&&l.push(u(t,r,!1)),l.join("")}function c(e,t,r){return n=e,o="xml",t.ignoreDeclaration?"":"<?xml"+s(e[t.attributesKey],t,r)+"?>"}function l(e,t,r){if(t.ignoreInstruction)return"";var i;for(i in e)if(e.hasOwnProperty(i))break;var a="instructionNameFn"in t?t.instructionNameFn(i,e[i],o,n):i;if("object"==typeof e[i])return n=e,o=a,"<?"+a+s(e[i][t.attributesKey],t,r)+"?>";var u=e[i]?e[i]:"";return"instructionFn"in t&&(u=t.instructionFn(u,i,o,n)),"<?"+a+(u?" "+u:"")+"?>"}function f(e,t){return t.ignoreComment?"":"\x3c!--"+("commentFn"in t?t.commentFn(e,o,n):e)+"--\x3e"}function p(e,t){return t.ignoreCdata?"":"<![CDATA["+("cdataFn"in t?t.cdataFn(e,o,n):e.replace("]]>","]]]]><![CDATA[>"))+"]]>"}function d(e,t){return t.ignoreDoctype?"":"<!DOCTYPE "+("doctypeFn"in t?t.doctypeFn(e,o,n):e)+">"}function h(e,t){return t.ignoreText?"":(e=(e=(e=""+e).replace(/&amp;/g,"&")).replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;"),"textFn"in t?t.textFn(e,o,n):e)}function y(e,t,r,i){return e.reduce((function(e,a){var c=u(t,r,i&&!e);switch(a.type){case"element":return e+c+function(e,t,r){n=e,o=e.name;var i=[],a="elementNameFn"in t?t.elementNameFn(e.name,e):e.name;i.push("<"+a),e[t.attributesKey]&&i.push(s(e[t.attributesKey],t,r));var u=e[t.elementsKey]&&e[t.elementsKey].length||e[t.attributesKey]&&"preserve"===e[t.attributesKey]["xml:space"];return u||(u="fullTagEmptyElementFn"in t?t.fullTagEmptyElementFn(e.name,e):t.fullTagEmptyElement),u?(i.push(">"),e[t.elementsKey]&&e[t.elementsKey].length&&(i.push(y(e[t.elementsKey],t,r+1)),n=e,o=e.name),i.push(t.spaces&&function(e,t){var r;if(e.elements&&e.elements.length)for(r=0;r<e.elements.length;++r)switch(e.elements[r][t.typeKey]){case"text":if(t.indentText)return!0;break;case"cdata":if(t.indentCdata)return!0;break;case"instruction":if(t.indentInstruction)return!0;break;case"doctype":case"comment":case"element":default:return!0}return!1}(e,t)?"\n"+Array(r+1).join(t.spaces):""),i.push("</"+a+">")):i.push("/>"),i.join("")}(a,t,r);case"comment":return e+c+f(a[t.commentKey],t);case"doctype":return e+c+d(a[t.doctypeKey],t);case"cdata":return e+(t.indentCdata?c:"")+p(a[t.cdataKey],t);case"text":return e+(t.indentText?c:"")+h(a[t.textKey],t);case"instruction":var v={};return v[a[t.nameKey]]=a[t.attributesKey]?a:a[t.instructionKey],e+(t.indentInstruction?c:"")+l(v,t,r)}}),"")}function v(e,t,r){var n;for(n in e)if(e.hasOwnProperty(n))switch(n){case t.parentKey:case t.attributesKey:break;case t.textKey:if(t.indentText||r)return!0;break;case t.cdataKey:if(t.indentCdata||r)return!0;break;case t.instructionKey:if(t.indentInstruction||r)return!0;break;case t.doctypeKey:case t.commentKey:default:return!0}return!1}function m(e,t,r,i,a){n=e,o=t;var c="elementNameFn"in r?r.elementNameFn(t,e):t;if(null==e||""===e)return"fullTagEmptyElementFn"in r&&r.fullTagEmptyElementFn(t,e)||r.fullTagEmptyElement?"<"+c+"></"+c+">":"<"+c+"/>";var l=[];if(t){if(l.push("<"+c),"object"!=typeof e)return l.push(">"+h(e,r)+"</"+c+">"),l.join("");e[r.attributesKey]&&l.push(s(e[r.attributesKey],r,i));var f=v(e,r,!0)||e[r.attributesKey]&&"preserve"===e[r.attributesKey]["xml:space"];if(f||(f="fullTagEmptyElementFn"in r?r.fullTagEmptyElementFn(t,e):r.fullTagEmptyElement),!f)return l.push("/>"),l.join("");l.push(">")}return l.push(b(e,r,i+1,!1)),n=e,o=t,t&&l.push((a?u(r,i,!1):"")+"</"+c+">"),l.join("")}function b(e,t,r,n){var o,i,s,y=[];for(i in e)if(e.hasOwnProperty(i))for(s=a(e[i])?e[i]:[e[i]],o=0;o<s.length;++o){switch(i){case t.declarationKey:y.push(c(s[o],t,r));break;case t.instructionKey:y.push((t.indentInstruction?u(t,r,n):"")+l(s[o],t,r));break;case t.attributesKey:case t.parentKey:break;case t.textKey:y.push((t.indentText?u(t,r,n):"")+h(s[o],t));break;case t.cdataKey:y.push((t.indentCdata?u(t,r,n):"")+p(s[o],t));break;case t.doctypeKey:y.push(u(t,r,n)+d(s[o],t));break;case t.commentKey:y.push(u(t,r,n)+f(s[o],t));break;default:y.push(u(t,r,n)+m(s[o],i,t,r,v(s[o],t)))}n=n&&!y.length}return y.join("")}e.exports=function(e,t){t=function(e){var t=i.copyOptions(e);return i.ensureFlagExists("ignoreDeclaration",t),i.ensureFlagExists("ignoreInstruction",t),i.ensureFlagExists("ignoreAttributes",t),i.ensureFlagExists("ignoreText",t),i.ensureFlagExists("ignoreComment",t),i.ensureFlagExists("ignoreCdata",t),i.ensureFlagExists("ignoreDoctype",t),i.ensureFlagExists("compact",t),i.ensureFlagExists("indentText",t),i.ensureFlagExists("indentCdata",t),i.ensureFlagExists("indentAttributes",t),i.ensureFlagExists("indentInstruction",t),i.ensureFlagExists("fullTagEmptyElement",t),i.ensureFlagExists("noQuotesForNativeAttributes",t),i.ensureSpacesExists(t),"number"==typeof t.spaces&&(t.spaces=Array(t.spaces+1).join(" ")),i.ensureKeyExists("declaration",t),i.ensureKeyExists("instruction",t),i.ensureKeyExists("attributes",t),i.ensureKeyExists("text",t),i.ensureKeyExists("comment",t),i.ensureKeyExists("cdata",t),i.ensureKeyExists("doctype",t),i.ensureKeyExists("type",t),i.ensureKeyExists("name",t),i.ensureKeyExists("elements",t),i.checkFnExists("doctype",t),i.checkFnExists("instruction",t),i.checkFnExists("cdata",t),i.checkFnExists("comment",t),i.checkFnExists("text",t),i.checkFnExists("instructionName",t),i.checkFnExists("elementName",t),i.checkFnExists("attributeName",t),i.checkFnExists("attributeValue",t),i.checkFnExists("attributes",t),i.checkFnExists("fullTagEmptyElement",t),t}(t);var r=[];return n=e,o="_root_",t.compact?r.push(b(e,t,0,!0)):(e[t.declarationKey]&&r.push(c(e[t.declarationKey],t,0)),e[t.elementsKey]&&e[t.elementsKey].length&&r.push(y(e[t.elementsKey],t,0,!r.length))),r.join("")}},function(e,t,r){"use strict";const n=r(678),o=r(405),i=r(410),a=r(406);e.exports={Parser:n,ProcessingInstructions:o,IsValidNodeDefinitions:i,ProcessNodeDefinitions:a}},function(e,t,r){var n=r(240);e.exports=function(e,t){return function(){var r=arguments.length;if(0===r)return t();var o=arguments[r-1];return n(o)||"function"!=typeof o[e]?t.apply(this,arguments):o[e].apply(o,Array.prototype.slice.call(arguments,0,r-1))}}},function(e,t){e.exports=function(e){return e&&e["@@transducer/reduced"]?e:{"@@transducer/value":e,"@@transducer/reduced":!0}}},function(e,t,r){var n=r(242),o=r(82),i=r(42),a=r(696),u=i((function(e,t){return 1===e?o(t):n(e,a(e,[],t))}));e.exports=u},function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.Parser=void 0;var o=n(r(393)),i=new Set(["input","option","optgroup","select","button","datalist","textarea"]),a=new Set(["p"]),u=new Set(["thead","tbody"]),s=new Set(["dd","dt"]),c=new Set(["rt","rp"]),l=new Map([["tr",new Set(["tr","th","td"])],["th",new Set(["th"])],["td",new Set(["thead","th","td"])],["body",new Set(["head","link","script"])],["li",new Set(["li"])],["p",a],["h1",a],["h2",a],["h3",a],["h4",a],["h5",a],["h6",a],["select",i],["input",i],["output",i],["button",i],["datalist",i],["textarea",i],["option",new Set(["option"])],["optgroup",new Set(["optgroup","option"])],["dd",s],["dt",s],["address",a],["article",a],["aside",a],["blockquote",a],["details",a],["div",a],["dl",a],["fieldset",a],["figcaption",a],["figure",a],["footer",a],["form",a],["header",a],["hr",a],["main",a],["nav",a],["ol",a],["pre",a],["section",a],["table",a],["ul",a],["rt",c],["rp",c],["tbody",u],["tfoot",u]]),f=new Set(["area","base","basefont","br","col","command","embed","frame","hr","img","input","isindex","keygen","link","meta","param","source","track","wbr"]),p=new Set(["math","svg"]),d=new Set(["mi","mo","mn","ms","mtext","annotation-xml","foreignobject","desc","title"]),h=/\s|\//,y=function(){function e(e,t){var r,n,i,a,u;void 0===t&&(t={}),this.options=t,this.startIndex=0,this.endIndex=0,this.openTagStart=0,this.tagname="",this.attribname="",this.attribvalue="",this.attribs=null,this.stack=[],this.foreignContext=[],this.cbs=null!=e?e:{},this.lowerCaseTagNames=null!==(r=t.lowerCaseTags)&&void 0!==r?r:!t.xmlMode,this.lowerCaseAttributeNames=null!==(n=t.lowerCaseAttributeNames)&&void 0!==n?n:!t.xmlMode,this.tokenizer=new(null!==(i=t.Tokenizer)&&void 0!==i?i:o.default)(this.options,this),null===(u=(a=this.cbs).onparserinit)||void 0===u||u.call(a,this)}return e.prototype.ontext=function(e){var t,r,n=this.tokenizer.getAbsoluteIndex();this.endIndex=n-1,null===(r=(t=this.cbs).ontext)||void 0===r||r.call(t,e),this.startIndex=n},e.prototype.isVoidElement=function(e){return!this.options.xmlMode&&f.has(e)},e.prototype.onopentagname=function(e){this.endIndex=this.tokenizer.getAbsoluteIndex(),this.lowerCaseTagNames&&(e=e.toLowerCase()),this.emitOpenTag(e)},e.prototype.emitOpenTag=function(e){var t,r,n,o;this.openTagStart=this.startIndex,this.tagname=e;var i=!this.options.xmlMode&&l.get(e);if(i)for(;this.stack.length>0&&i.has(this.stack[this.stack.length-1]);){var a=this.stack.pop();null===(r=(t=this.cbs).onclosetag)||void 0===r||r.call(t,a,!0)}this.isVoidElement(e)||(this.stack.push(e),p.has(e)?this.foreignContext.push(!0):d.has(e)&&this.foreignContext.push(!1)),null===(o=(n=this.cbs).onopentagname)||void 0===o||o.call(n,e),this.cbs.onopentag&&(this.attribs={})},e.prototype.endOpenTag=function(e){var t,r;this.startIndex=this.openTagStart,this.endIndex=this.tokenizer.getAbsoluteIndex(),this.attribs&&(null===(r=(t=this.cbs).onopentag)||void 0===r||r.call(t,this.tagname,this.attribs,e),this.attribs=null),this.cbs.onclosetag&&this.isVoidElement(this.tagname)&&this.cbs.onclosetag(this.tagname,!0),this.tagname=""},e.prototype.onopentagend=function(){this.endOpenTag(!1),this.startIndex=this.endIndex+1},e.prototype.onclosetag=function(e){var t,r,n,o,i,a;if(this.endIndex=this.tokenizer.getAbsoluteIndex(),this.lowerCaseTagNames&&(e=e.toLowerCase()),(p.has(e)||d.has(e))&&this.foreignContext.pop(),this.isVoidElement(e))this.options.xmlMode||"br"!==e||(null===(r=(t=this.cbs).onopentagname)||void 0===r||r.call(t,e),null===(o=(n=this.cbs).onopentag)||void 0===o||o.call(n,e,{},!0),null===(a=(i=this.cbs).onclosetag)||void 0===a||a.call(i,e,!1));else{var u=this.stack.lastIndexOf(e);if(-1!==u)if(this.cbs.onclosetag)for(var s=this.stack.length-u;s--;)this.cbs.onclosetag(this.stack.pop(),0!==s);else this.stack.length=u;else this.options.xmlMode||"p"!==e||(this.emitOpenTag(e),this.closeCurrentTag(!0))}this.startIndex=this.endIndex+1},e.prototype.onselfclosingtag=function(){this.options.xmlMode||this.options.recognizeSelfClosing||this.foreignContext[this.foreignContext.length-1]?(this.closeCurrentTag(!1),this.startIndex=this.endIndex+1):this.onopentagend()},e.prototype.closeCurrentTag=function(e){var t,r,n=this.tagname;this.endOpenTag(e),this.stack[this.stack.length-1]===n&&(null===(r=(t=this.cbs).onclosetag)||void 0===r||r.call(t,n,!e),this.stack.pop())},e.prototype.onattribname=function(e){this.startIndex=this.tokenizer.getAbsoluteSectionStart(),this.lowerCaseAttributeNames&&(e=e.toLowerCase()),this.attribname=e},e.prototype.onattribdata=function(e){this.attribvalue+=e},e.prototype.onattribend=function(e){var t,r;this.endIndex=this.tokenizer.getAbsoluteIndex(),null===(r=(t=this.cbs).onattribute)||void 0===r||r.call(t,this.attribname,this.attribvalue,e),this.attribs&&!Object.prototype.hasOwnProperty.call(this.attribs,this.attribname)&&(this.attribs[this.attribname]=this.attribvalue),this.attribname="",this.attribvalue=""},e.prototype.getInstructionName=function(e){var t=e.search(h),r=t<0?e:e.substr(0,t);return this.lowerCaseTagNames&&(r=r.toLowerCase()),r},e.prototype.ondeclaration=function(e){if(this.endIndex=this.tokenizer.getAbsoluteIndex(),this.cbs.onprocessinginstruction){var t=this.getInstructionName(e);this.cbs.onprocessinginstruction("!"+t,"!"+e)}this.startIndex=this.endIndex+1},e.prototype.onprocessinginstruction=function(e){if(this.endIndex=this.tokenizer.getAbsoluteIndex(),this.cbs.onprocessinginstruction){var t=this.getInstructionName(e);this.cbs.onprocessinginstruction("?"+t,"?"+e)}this.startIndex=this.endIndex+1},e.prototype.oncomment=function(e){var t,r,n,o;this.endIndex=this.tokenizer.getAbsoluteIndex(),null===(r=(t=this.cbs).oncomment)||void 0===r||r.call(t,e),null===(o=(n=this.cbs).oncommentend)||void 0===o||o.call(n),this.startIndex=this.endIndex+1},e.prototype.oncdata=function(e){var t,r,n,o,i,a,u,s,c,l;this.endIndex=this.tokenizer.getAbsoluteIndex(),this.options.xmlMode||this.options.recognizeCDATA?(null===(r=(t=this.cbs).oncdatastart)||void 0===r||r.call(t),null===(o=(n=this.cbs).ontext)||void 0===o||o.call(n,e),null===(a=(i=this.cbs).oncdataend)||void 0===a||a.call(i)):(null===(s=(u=this.cbs).oncomment)||void 0===s||s.call(u,"[CDATA["+e+"]]"),null===(l=(c=this.cbs).oncommentend)||void 0===l||l.call(c)),this.startIndex=this.endIndex+1},e.prototype.onerror=function(e){var t,r;null===(r=(t=this.cbs).onerror)||void 0===r||r.call(t,e)},e.prototype.onend=function(){var e,t;if(this.cbs.onclosetag){this.endIndex=this.startIndex;for(var r=this.stack.length;r>0;this.cbs.onclosetag(this.stack[--r],!0));}null===(t=(e=this.cbs).onend)||void 0===t||t.call(e)},e.prototype.reset=function(){var e,t,r,n;null===(t=(e=this.cbs).onreset)||void 0===t||t.call(e),this.tokenizer.reset(),this.tagname="",this.attribname="",this.attribs=null,this.stack=[],this.startIndex=0,this.endIndex=0,null===(n=(r=this.cbs).onparserinit)||void 0===n||n.call(r,this)},e.prototype.parseComplete=function(e){this.reset(),this.end(e)},e.prototype.write=function(e){this.tokenizer.write(e)},e.prototype.end=function(e){this.tokenizer.end(e)},e.prototype.pause=function(){this.tokenizer.pause()},e.prototype.resume=function(){this.tokenizer.resume()},e.prototype.parseChunk=function(e){this.write(e)},e.prototype.done=function(e){this.end(e)},e}();t.Parser=y},function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});var o=n(r(394)),i=r(701);function a(e){return 32===e||10===e||9===e||12===e||13===e}function u(e){return 47===e||62===e||a(e)}function s(e){return e>=48&&e<=57}var c={Cdata:new Uint16Array([67,68,65,84,65,91]),CdataEnd:new Uint16Array([93,93,62]),CommentEnd:new Uint16Array([45,45,62]),ScriptEnd:new Uint16Array([60,47,115,99,114,105,112,116]),StyleEnd:new Uint16Array([60,47,115,116,121,108,101]),TitleEnd:new Uint16Array([60,47,116,105,116,108,101])},l=function(){function e(e,t){var r=e.xmlMode,n=void 0!==r&&r,o=e.decodeEntities,a=void 0===o||o;this.cbs=t,this._state=1,this.buffer="",this.sectionStart=0,this._index=0,this.bufferOffset=0,this.baseState=1,this.isSpecial=!1,this.running=!0,this.ended=!1,this.sequenceIndex=0,this.trieIndex=0,this.trieCurrent=0,this.trieResult=null,this.entityExcess=0,this.xmlMode=n,this.decodeEntities=a,this.entityTrie=n?i.xmlDecodeTree:i.htmlDecodeTree}return e.prototype.reset=function(){this._state=1,this.buffer="",this.sectionStart=0,this._index=0,this.bufferOffset=0,this.baseState=1,this.currentSequence=void 0,this.running=!0,this.ended=!1},e.prototype.write=function(e){if(this.ended)return this.cbs.onerror(Error(".write() after done!"));this.buffer+=e,this.parse()},e.prototype.end=function(e){if(this.ended)return this.cbs.onerror(Error(".end() after done!"));e&&this.write(e),this.ended=!0,this.running&&this.finish()},e.prototype.pause=function(){this.running=!1},e.prototype.resume=function(){this.running=!0,this._index<this.buffer.length&&this.parse(),this.ended&&this.finish()},e.prototype.getAbsoluteSectionStart=function(){return this.sectionStart+this.bufferOffset},e.prototype.getAbsoluteIndex=function(){return this.bufferOffset+this._index},e.prototype.stateText=function(e){60===e||!this.decodeEntities&&this.fastForwardTo(60)?(this._index>this.sectionStart&&this.cbs.ontext(this.getSection()),this._state=2,this.sectionStart=this._index):this.decodeEntities&&38===e&&(this._state=25)},e.prototype.stateSpecialStartSequence=function(e){var t=this.sequenceIndex===this.currentSequence.length;if(t?u(e):(32|e)===this.currentSequence[this.sequenceIndex]){if(!t)return void this.sequenceIndex++}else this.isSpecial=!1;this.sequenceIndex=0,this._state=3,this.stateInTagName(e)},e.prototype.stateInSpecialTag=function(e){if(this.sequenceIndex===this.currentSequence.length){if(62===e||a(e)){var t=this._index-this.currentSequence.length;if(this.sectionStart<t){var r=this._index;this._index=t,this.cbs.ontext(this.getSection()),this._index=r}return this.isSpecial=!1,this.sectionStart=t+2,void this.stateInClosingTagName(e)}this.sequenceIndex=0}(32|e)===this.currentSequence[this.sequenceIndex]?this.sequenceIndex+=1:0===this.sequenceIndex?this.currentSequence===c.TitleEnd?this.decodeEntities&&38===e&&(this._state=25):this.fastForwardTo(60)&&(this.sequenceIndex=1):this.sequenceIndex=Number(60===e)},e.prototype.stateCDATASequence=function(e){e===c.Cdata[this.sequenceIndex]?++this.sequenceIndex===c.Cdata.length&&(this._state=21,this.currentSequence=c.CdataEnd,this.sequenceIndex=0,this.sectionStart=this._index+1):(this.sequenceIndex=0,this._state=16,this.stateInDeclaration(e))},e.prototype.fastForwardTo=function(e){for(;++this._index<this.buffer.length;)if(this.buffer.charCodeAt(this._index)===e)return!0;return this._index=this.buffer.length-1,!1},e.prototype.stateInCommentLike=function(e){if(e===this.currentSequence[this.sequenceIndex]){if(++this.sequenceIndex===this.currentSequence.length){var t=this.buffer.slice(this.sectionStart,this._index-2);this.currentSequence===c.CdataEnd?this.cbs.oncdata(t):this.cbs.oncomment(t),this.sequenceIndex=0,this.sectionStart=this._index+1,this._state=1}}else 0===this.sequenceIndex?this.fastForwardTo(this.currentSequence[0])&&(this.sequenceIndex=1):e!==this.currentSequence[this.sequenceIndex-1]&&(this.sequenceIndex=0)},e.prototype.isTagStartChar=function(e){return this.xmlMode?!u(e):function(e){return e>=97&&e<=122||e>=65&&e<=90}(e)},e.prototype.startSpecial=function(e,t){this.isSpecial=!0,this.currentSequence=e,this.sequenceIndex=t,this._state=23},e.prototype.stateBeforeTagName=function(e){if(33===e)this._state=15,this.sectionStart=this._index+1;else if(63===e)this._state=17,this.sectionStart=this._index+1;else if(this.isTagStartChar(e)){var t=32|e;this.sectionStart=this._index,this.xmlMode||t!==c.TitleEnd[2]?this._state=this.xmlMode||t!==c.ScriptEnd[2]?3:22:this.startSpecial(c.TitleEnd,3)}else 47===e?this._state=5:(this._state=1,this.stateText(e))},e.prototype.stateInTagName=function(e){u(e)&&(this.cbs.onopentagname(this.getSection()),this.sectionStart=-1,this._state=8,this.stateBeforeAttributeName(e))},e.prototype.stateBeforeClosingTagName=function(e){a(e)||(62===e?this._state=1:(this._state=this.isTagStartChar(e)?6:20,this.sectionStart=this._index))},e.prototype.stateInClosingTagName=function(e){(62===e||a(e))&&(this.cbs.onclosetag(this.getSection()),this.sectionStart=-1,this._state=7,this.stateAfterClosingTagName(e))},e.prototype.stateAfterClosingTagName=function(e){(62===e||this.fastForwardTo(62))&&(this._state=1,this.sectionStart=this._index+1)},e.prototype.stateBeforeAttributeName=function(e){62===e?(this.cbs.onopentagend(),this.isSpecial?(this._state=24,this.sequenceIndex=0):this._state=1,this.baseState=this._state,this.sectionStart=this._index+1):47===e?this._state=4:a(e)||(this._state=9,this.sectionStart=this._index)},e.prototype.stateInSelfClosingTag=function(e){62===e?(this.cbs.onselfclosingtag(),this._state=1,this.baseState=1,this.sectionStart=this._index+1,this.isSpecial=!1):a(e)||(this._state=8,this.stateBeforeAttributeName(e))},e.prototype.stateInAttributeName=function(e){(61===e||u(e))&&(this.cbs.onattribname(this.getSection()),this.sectionStart=-1,this._state=10,this.stateAfterAttributeName(e))},e.prototype.stateAfterAttributeName=function(e){61===e?this._state=11:47===e||62===e?(this.cbs.onattribend(void 0),this._state=8,this.stateBeforeAttributeName(e)):a(e)||(this.cbs.onattribend(void 0),this._state=9,this.sectionStart=this._index)},e.prototype.stateBeforeAttributeValue=function(e){34===e?(this._state=12,this.sectionStart=this._index+1):39===e?(this._state=13,this.sectionStart=this._index+1):a(e)||(this.sectionStart=this._index,this._state=14,this.stateInAttributeValueNoQuotes(e))},e.prototype.handleInAttributeValue=function(e,t){e===t||!this.decodeEntities&&this.fastForwardTo(t)?(this.cbs.onattribdata(this.getSection()),this.sectionStart=-1,this.cbs.onattribend(String.fromCharCode(t)),this._state=8):this.decodeEntities&&38===e&&(this.baseState=this._state,this._state=25)},e.prototype.stateInAttributeValueDoubleQuotes=function(e){this.handleInAttributeValue(e,34)},e.prototype.stateInAttributeValueSingleQuotes=function(e){this.handleInAttributeValue(e,39)},e.prototype.stateInAttributeValueNoQuotes=function(e){a(e)||62===e?(this.cbs.onattribdata(this.getSection()),this.sectionStart=-1,this.cbs.onattribend(null),this._state=8,this.stateBeforeAttributeName(e)):this.decodeEntities&&38===e&&(this.baseState=this._state,this._state=25)},e.prototype.stateBeforeDeclaration=function(e){91===e?(this._state=19,this.sequenceIndex=0):this._state=45===e?18:16},e.prototype.stateInDeclaration=function(e){(62===e||this.fastForwardTo(62))&&(this.cbs.ondeclaration(this.getSection()),this._state=1,this.sectionStart=this._index+1)},e.prototype.stateInProcessingInstruction=function(e){(62===e||this.fastForwardTo(62))&&(this.cbs.onprocessinginstruction(this.getSection()),this._state=1,this.sectionStart=this._index+1)},e.prototype.stateBeforeComment=function(e){45===e?(this._state=21,this.currentSequence=c.CommentEnd,this.sequenceIndex=2,this.sectionStart=this._index+1):this._state=16},e.prototype.stateInSpecialComment=function(e){(62===e||this.fastForwardTo(62))&&(this.cbs.oncomment(this.getSection()),this._state=1,this.sectionStart=this._index+1)},e.prototype.stateBeforeSpecialS=function(e){var t=32|e;t===c.ScriptEnd[3]?this.startSpecial(c.ScriptEnd,4):t===c.StyleEnd[3]?this.startSpecial(c.StyleEnd,4):(this._state=3,this.stateInTagName(e))},e.prototype.stateBeforeEntity=function(e){this.entityExcess=1,35===e?this._state=26:38===e||(this.trieIndex=0,this.trieCurrent=this.entityTrie[0],this.trieResult=null,this._state=27,this.stateInNamedEntity(e))},e.prototype.stateInNamedEntity=function(e){if(this.entityExcess+=1,this.trieIndex=(0,i.determineBranch)(this.entityTrie,this.trieCurrent,this.trieIndex+1,e),this.trieIndex<0)return this.emitNamedEntity(),void this._index--;if(this.trieCurrent=this.entityTrie[this.trieIndex],this.trieCurrent&i.BinTrieFlags.HAS_VALUE)if(this.allowLegacyEntity()||59===e){var t=this._index-this.entityExcess+1;t>this.sectionStart&&this.emitPartial(this.buffer.substring(this.sectionStart,t)),this.trieResult=this.trieCurrent&i.BinTrieFlags.MULTI_BYTE?String.fromCharCode(this.entityTrie[++this.trieIndex],this.entityTrie[++this.trieIndex]):String.fromCharCode(this.entityTrie[++this.trieIndex]),this.entityExcess=0,this.sectionStart=this._index+1}else this.trieIndex+=1},e.prototype.emitNamedEntity=function(){this.trieResult&&this.emitPartial(this.trieResult),this._state=this.baseState},e.prototype.stateBeforeNumericEntity=function(e){120==(32|e)?(this.entityExcess++,this._state=29):(this._state=28,this.stateInNumericEntity(e))},e.prototype.decodeNumericEntity=function(e,t){var r=this._index-this.entityExcess-1,n=r+2+(e>>4);if(n!==this._index){r>this.sectionStart&&this.emitPartial(this.buffer.substring(this.sectionStart,r));var i=this.buffer.substring(n,this._index),a=parseInt(i,e);this.emitPartial((0,o.default)(a)),this.sectionStart=this._index+Number(t)}this._state=this.baseState},e.prototype.stateInNumericEntity=function(e){59===e?this.decodeNumericEntity(10,!0):s(e)?this.entityExcess++:(this.allowLegacyEntity()?this.decodeNumericEntity(10,!1):this._state=this.baseState,this._index--)},e.prototype.stateInHexEntity=function(e){59===e?this.decodeNumericEntity(16,!0):(e<97||e>102)&&(e<65||e>70)&&!s(e)?(this.allowLegacyEntity()?this.decodeNumericEntity(16,!1):this._state=this.baseState,this._index--):this.entityExcess++},e.prototype.allowLegacyEntity=function(){return!this.xmlMode&&(1===this.baseState||24===this.baseState)},e.prototype.cleanup=function(){this.running&&this.sectionStart!==this._index&&(1===this._state||24===this._state&&0===this.sequenceIndex)&&(this.cbs.ontext(this.buffer.substr(this.sectionStart)),this.sectionStart=this._index);var e=this.sectionStart<0?this._index:this.sectionStart;this.buffer=e===this.buffer.length?"":this.buffer.substr(e),this._index-=e,this.bufferOffset+=e,this.sectionStart>0&&(this.sectionStart=0)},e.prototype.shouldContinue=function(){return this._index<this.buffer.length&&this.running},e.prototype.parse=function(){for(;this.shouldContinue();){var e=this.buffer.charCodeAt(this._index);1===this._state?this.stateText(e):23===this._state?this.stateSpecialStartSequence(e):24===this._state?this.stateInSpecialTag(e):19===this._state?this.stateCDATASequence(e):12===this._state?this.stateInAttributeValueDoubleQuotes(e):9===this._state?this.stateInAttributeName(e):21===this._state?this.stateInCommentLike(e):20===this._state?this.stateInSpecialComment(e):8===this._state?this.stateBeforeAttributeName(e):3===this._state?this.stateInTagName(e):6===this._state?this.stateInClosingTagName(e):2===this._state?this.stateBeforeTagName(e):10===this._state?this.stateAfterAttributeName(e):13===this._state?this.stateInAttributeValueSingleQuotes(e):11===this._state?this.stateBeforeAttributeValue(e):5===this._state?this.stateBeforeClosingTagName(e):7===this._state?this.stateAfterClosingTagName(e):22===this._state?this.stateBeforeSpecialS(e):14===this._state?this.stateInAttributeValueNoQuotes(e):4===this._state?this.stateInSelfClosingTag(e):16===this._state?this.stateInDeclaration(e):15===this._state?this.stateBeforeDeclaration(e):18===this._state?this.stateBeforeComment(e):17===this._state?this.stateInProcessingInstruction(e):27===this._state?this.stateInNamedEntity(e):25===this._state?this.stateBeforeEntity(e):29===this._state?this.stateInHexEntity(e):28===this._state?this.stateInNumericEntity(e):this.stateBeforeNumericEntity(e),this._index++}this.cleanup()},e.prototype.finish=function(){27===this._state&&this.emitNamedEntity(),this.sectionStart<this._index&&this.handleTrailingData(),this.cbs.onend()},e.prototype.handleTrailingData=function(){var e=this.buffer.substr(this.sectionStart);21===this._state?this.currentSequence===c.CdataEnd?this.cbs.oncdata(e):this.cbs.oncomment(e):28===this._state&&this.allowLegacyEntity()?this.decodeNumericEntity(10,!1):29===this._state&&this.allowLegacyEntity()?this.decodeNumericEntity(16,!1):3===this._state||8===this._state||11===this._state||10===this._state||9===this._state||13===this._state||12===this._state||14===this._state||6===this._state||this.cbs.ontext(e)},e.prototype.getSection=function(){return this.buffer.substring(this.sectionStart,this._index)},e.prototype.emitPartial=function(e){1!==this.baseState&&24!==this.baseState?this.cbs.onattribdata(e):this.cbs.ontext(e)},e}();t.default=l},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=new Map([[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]]),o=String.fromCodePoint||function(e){var t="";return e>65535&&(e-=65536,t+=String.fromCharCode(e>>>10&1023|55296),e=56320|1023&e),t+=String.fromCharCode(e)};t.default=function(e){var t;return e>=55296&&e<=57343||e>1114111?"�":o(null!==(t=n.get(e))&&void 0!==t?t:e)}},function(e,t,r){"use strict";var n,o=this&&this.__extends||(n=function(e,t){return(n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])})(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function r(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}),i=this&&this.__assign||function(){return(i=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var o in t=arguments[r])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)};Object.defineProperty(t,"__esModule",{value:!0}),t.cloneNode=t.hasChildren=t.isDocument=t.isDirective=t.isComment=t.isText=t.isCDATA=t.isTag=t.Element=t.Document=t.NodeWithChildren=t.ProcessingInstruction=t.Comment=t.Text=t.DataNode=t.Node=void 0;var a=r(141),u=new Map([[a.ElementType.Tag,1],[a.ElementType.Script,1],[a.ElementType.Style,1],[a.ElementType.Directive,1],[a.ElementType.Text,3],[a.ElementType.CDATA,4],[a.ElementType.Comment,8],[a.ElementType.Root,9]]),s=function(){function e(e){this.type=e,this.parent=null,this.prev=null,this.next=null,this.startIndex=null,this.endIndex=null}return Object.defineProperty(e.prototype,"nodeType",{get:function(){var e;return null!==(e=u.get(this.type))&&void 0!==e?e:1},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"parentNode",{get:function(){return this.parent},set:function(e){this.parent=e},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"previousSibling",{get:function(){return this.prev},set:function(e){this.prev=e},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"nextSibling",{get:function(){return this.next},set:function(e){this.next=e},enumerable:!1,configurable:!0}),e.prototype.cloneNode=function(e){return void 0===e&&(e=!1),O(this,e)},e}();t.Node=s;var c=function(e){function t(t,r){var n=e.call(this,t)||this;return n.data=r,n}return o(t,e),Object.defineProperty(t.prototype,"nodeValue",{get:function(){return this.data},set:function(e){this.data=e},enumerable:!1,configurable:!0}),t}(s);t.DataNode=c;var l=function(e){function t(t){return e.call(this,a.ElementType.Text,t)||this}return o(t,e),t}(c);t.Text=l;var f=function(e){function t(t){return e.call(this,a.ElementType.Comment,t)||this}return o(t,e),t}(c);t.Comment=f;var p=function(e){function t(t,r){var n=e.call(this,a.ElementType.Directive,r)||this;return n.name=t,n}return o(t,e),t}(c);t.ProcessingInstruction=p;var d=function(e){function t(t,r){var n=e.call(this,t)||this;return n.children=r,n}return o(t,e),Object.defineProperty(t.prototype,"firstChild",{get:function(){var e;return null!==(e=this.children[0])&&void 0!==e?e:null},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"lastChild",{get:function(){return this.children.length>0?this.children[this.children.length-1]:null},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"childNodes",{get:function(){return this.children},set:function(e){this.children=e},enumerable:!1,configurable:!0}),t}(s);t.NodeWithChildren=d;var h=function(e){function t(t){return e.call(this,a.ElementType.Root,t)||this}return o(t,e),t}(d);t.Document=h;var y=function(e){function t(t,r,n,o){void 0===n&&(n=[]),void 0===o&&(o="script"===t?a.ElementType.Script:"style"===t?a.ElementType.Style:a.ElementType.Tag);var i=e.call(this,o,n)||this;return i.name=t,i.attribs=r,i}return o(t,e),Object.defineProperty(t.prototype,"tagName",{get:function(){return this.name},set:function(e){this.name=e},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"attributes",{get:function(){var e=this;return Object.keys(this.attribs).map((function(t){var r,n;return{name:t,value:e.attribs[t],namespace:null===(r=e["x-attribsNamespace"])||void 0===r?void 0:r[t],prefix:null===(n=e["x-attribsPrefix"])||void 0===n?void 0:n[t]}}))},enumerable:!1,configurable:!0}),t}(d);function v(e){return(0,a.isTag)(e)}function m(e){return e.type===a.ElementType.CDATA}function b(e){return e.type===a.ElementType.Text}function g(e){return e.type===a.ElementType.Comment}function w(e){return e.type===a.ElementType.Directive}function S(e){return e.type===a.ElementType.Root}function O(e,t){var r;if(void 0===t&&(t=!1),b(e))r=new l(e.data);else if(g(e))r=new f(e.data);else if(v(e)){var n=t?_(e.children):[],o=new y(e.name,i({},e.attribs),n);n.forEach((function(e){return e.parent=o})),null!=e.namespace&&(o.namespace=e.namespace),e["x-attribsNamespace"]&&(o["x-attribsNamespace"]=i({},e["x-attribsNamespace"])),e["x-attribsPrefix"]&&(o["x-attribsPrefix"]=i({},e["x-attribsPrefix"])),r=o}else if(m(e)){n=t?_(e.children):[];var u=new d(a.ElementType.CDATA,n);n.forEach((function(e){return e.parent=u})),r=u}else if(S(e)){n=t?_(e.children):[];var s=new h(n);n.forEach((function(e){return e.parent=s})),e["x-mode"]&&(s["x-mode"]=e["x-mode"]),r=s}else{if(!w(e))throw new Error("Not implemented yet: ".concat(e.type));var c=new p(e.name,e.data);null!=e["x-name"]&&(c["x-name"]=e["x-name"],c["x-publicId"]=e["x-publicId"],c["x-systemId"]=e["x-systemId"]),r=c}return r.startIndex=e.startIndex,r.endIndex=e.endIndex,null!=e.sourceCodeLocation&&(r.sourceCodeLocation=e.sourceCodeLocation),r}function _(e){for(var t=e.map((function(e){return O(e,!0)})),r=1;r<t.length;r++)t[r].prev=t[r-1],t[r-1].next=t[r];return t}t.Element=y,t.isTag=v,t.isCDATA=m,t.isText=b,t.isComment=g,t.isDirective=w,t.isDocument=S,t.hasChildren=function(e){return Object.prototype.hasOwnProperty.call(e,"children")},t.cloneNode=O},function(e,t,r){"use strict";var n,o=this&&this.__extends||(n=function(e,t){return(n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])})(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function r(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}),i=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.parseFeed=t.FeedHandler=t.getFeed=void 0;var a=i(r(70)),u=r(397);Object.defineProperty(t,"getFeed",{enumerable:!0,get:function(){return u.getFeed}});var s=r(392),c=function(e){function t(t,r){return"object"==typeof t&&(r=t=void 0),e.call(this,t,r)||this}return o(t,e),t.prototype.onend=function(){var e=(0,u.getFeed)(this.dom);e?(this.feed=e,this.handleCallback(null)):this.handleCallback(new Error("couldn't find root of feed"))},t}(a.default);t.FeedHandler=c,t.parseFeed=function(e,t){void 0===t&&(t={xmlMode:!0});var r=new a.default(null,t);return new s.Parser(r,t).end(e),(0,u.getFeed)(r.dom)}},function(e,t,r){"use strict";var n=this&&this.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r),Object.defineProperty(e,n,{enumerable:!0,get:function(){return t[r]}})}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]}),o=this&&this.__exportStar||function(e,t){for(var r in e)"default"===r||Object.prototype.hasOwnProperty.call(t,r)||n(t,e,r)};Object.defineProperty(t,"__esModule",{value:!0}),t.hasChildren=t.isDocument=t.isComment=t.isText=t.isCDATA=t.isTag=void 0,o(r(398),t),o(r(710),t),o(r(711),t),o(r(403),t),o(r(404),t),o(r(712),t),o(r(713),t);var i=r(70);Object.defineProperty(t,"isTag",{enumerable:!0,get:function(){return i.isTag}}),Object.defineProperty(t,"isCDATA",{enumerable:!0,get:function(){return i.isCDATA}}),Object.defineProperty(t,"isText",{enumerable:!0,get:function(){return i.isText}}),Object.defineProperty(t,"isComment",{enumerable:!0,get:function(){return i.isComment}}),Object.defineProperty(t,"isDocument",{enumerable:!0,get:function(){return i.isDocument}}),Object.defineProperty(t,"hasChildren",{enumerable:!0,get:function(){return i.hasChildren}})},function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.innerText=t.textContent=t.getText=t.getInnerHTML=t.getOuterHTML=void 0;var o=r(70),i=n(r(704)),a=r(141);function u(e,t){return(0,i.default)(e,t)}t.getOuterHTML=u,t.getInnerHTML=function(e,t){return(0,o.hasChildren)(e)?e.children.map((function(e){return u(e,t)})).join(""):""},t.getText=function e(t){return Array.isArray(t)?t.map(e).join(""):(0,o.isTag)(t)?"br"===t.name?"\n":e(t.children):(0,o.isCDATA)(t)?e(t.children):(0,o.isText)(t)?t.data:""},t.textContent=function e(t){return Array.isArray(t)?t.map(e).join(""):(0,o.hasChildren)(t)&&!(0,o.isComment)(t)?e(t.children):(0,o.isText)(t)?t.data:""},t.innerText=function e(t){return Array.isArray(t)?t.map(e).join(""):(0,o.hasChildren)(t)&&(t.type===a.ElementType.Tag||(0,o.isCDATA)(t))?e(t.children):(0,o.isText)(t)?t.data:""}},function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.decodeHTML=t.decodeHTMLStrict=t.decodeXML=void 0;var o=n(r(400)),i=n(r(706)),a=n(r(401)),u=n(r(707)),s=/&(?:[a-zA-Z0-9]+|#[xX][\da-fA-F]+|#\d+);/g;function c(e){var t=f(e);return function(e){return String(e).replace(s,t)}}t.decodeXML=c(a.default),t.decodeHTMLStrict=c(o.default);var l=function(e,t){return e<t?1:-1};function f(e){return function(t){if("#"===t.charAt(1)){var r=t.charAt(2);return"X"===r||"x"===r?u.default(parseInt(t.substr(3),16)):u.default(parseInt(t.substr(2),10))}return e[t.slice(1,-1)]||t}}t.decodeHTML=function(){for(var e=Object.keys(i.default).sort(l),t=Object.keys(o.default).sort(l),r=0,n=0;r<t.length;r++)e[n]===t[r]?(t[r]+=";?",n++):t[r]+=";";var a=new RegExp("&(?:"+t.join("|")+"|#[xX][\\da-fA-F]+;?|#\\d+;?)","g"),u=f(o.default);function s(e){return";"!==e.substr(-1)&&(e+=";"),u(e)}return function(e){return String(e).replace(a,s)}}()},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":"ffi","fflig":"ff","ffllig":"ffl","Ffr":"𝔉","ffr":"𝔣","filig":"fi","FilledSmallSquare":"◼","FilledVerySmallSquare":"▪","fjlig":"fj","flat":"♭","fllig":"fl","fltns":"▱","fnof":"ƒ","Fopf":"𝔽","fopf":"𝕗","forall":"∀","ForAll":"∀","fork":"⋔","forkv":"⫙","Fouriertrf":"ℱ","fpartint":"⨍","frac12":"½","frac13":"⅓","frac14":"¼","frac15":"⅕","frac16":"⅙","frac18":"⅛","frac23":"⅔","frac25":"⅖","frac34":"¾","frac35":"⅗","frac38":"⅜","frac45":"⅘","frac56":"⅚","frac58":"⅝","frac78":"⅞","frasl":"⁄","frown":"⌢","fscr":"𝒻","Fscr":"ℱ","gacute":"ǵ","Gamma":"Γ","gamma":"γ","Gammad":"Ϝ","gammad":"ϝ","gap":"⪆","Gbreve":"Ğ","gbreve":"ğ","Gcedil":"Ģ","Gcirc":"Ĝ","gcirc":"ĝ","Gcy":"Г","gcy":"г","Gdot":"Ġ","gdot":"ġ","ge":"≥","gE":"≧","gEl":"⪌","gel":"⋛","geq":"≥","geqq":"≧","geqslant":"⩾","gescc":"⪩","ges":"⩾","gesdot":"⪀","gesdoto":"⪂","gesdotol":"⪄","gesl":"⋛︀","gesles":"⪔","Gfr":"𝔊","gfr":"𝔤","gg":"≫","Gg":"⋙","ggg":"⋙","gimel":"ℷ","GJcy":"Ѓ","gjcy":"ѓ","gla":"⪥","gl":"≷","glE":"⪒","glj":"⪤","gnap":"⪊","gnapprox":"⪊","gne":"⪈","gnE":"≩","gneq":"⪈","gneqq":"≩","gnsim":"⋧","Gopf":"𝔾","gopf":"𝕘","grave":"`","GreaterEqual":"≥","GreaterEqualLess":"⋛","GreaterFullEqual":"≧","GreaterGreater":"⪢","GreaterLess":"≷","GreaterSlantEqual":"⩾","GreaterTilde":"≳","Gscr":"𝒢","gscr":"ℊ","gsim":"≳","gsime":"⪎","gsiml":"⪐","gtcc":"⪧","gtcir":"⩺","gt":">","GT":">","Gt":"≫","gtdot":"⋗","gtlPar":"⦕","gtquest":"⩼","gtrapprox":"⪆","gtrarr":"⥸","gtrdot":"⋗","gtreqless":"⋛","gtreqqless":"⪌","gtrless":"≷","gtrsim":"≳","gvertneqq":"≩︀","gvnE":"≩︀","Hacek":"ˇ","hairsp":" ","half":"½","hamilt":"ℋ","HARDcy":"Ъ","hardcy":"ъ","harrcir":"⥈","harr":"↔","hArr":"⇔","harrw":"↭","Hat":"^","hbar":"ℏ","Hcirc":"Ĥ","hcirc":"ĥ","hearts":"♥","heartsuit":"♥","hellip":"…","hercon":"⊹","hfr":"𝔥","Hfr":"ℌ","HilbertSpace":"ℋ","hksearow":"⤥","hkswarow":"⤦","hoarr":"⇿","homtht":"∻","hookleftarrow":"↩","hookrightarrow":"↪","hopf":"𝕙","Hopf":"ℍ","horbar":"―","HorizontalLine":"─","hscr":"𝒽","Hscr":"ℋ","hslash":"ℏ","Hstrok":"Ħ","hstrok":"ħ","HumpDownHump":"≎","HumpEqual":"≏","hybull":"⁃","hyphen":"‐","Iacute":"Í","iacute":"í","ic":"⁣","Icirc":"Î","icirc":"î","Icy":"И","icy":"и","Idot":"İ","IEcy":"Е","iecy":"е","iexcl":"¡","iff":"⇔","ifr":"𝔦","Ifr":"ℑ","Igrave":"Ì","igrave":"ì","ii":"ⅈ","iiiint":"⨌","iiint":"∭","iinfin":"⧜","iiota":"℩","IJlig":"IJ","ijlig":"ij","Imacr":"Ī","imacr":"ī","image":"ℑ","ImaginaryI":"ⅈ","imagline":"ℐ","imagpart":"ℑ","imath":"ı","Im":"ℑ","imof":"⊷","imped":"Ƶ","Implies":"⇒","incare":"℅","in":"∈","infin":"∞","infintie":"⧝","inodot":"ı","intcal":"⊺","int":"∫","Int":"∬","integers":"ℤ","Integral":"∫","intercal":"⊺","Intersection":"⋂","intlarhk":"⨗","intprod":"⨼","InvisibleComma":"⁣","InvisibleTimes":"⁢","IOcy":"Ё","iocy":"ё","Iogon":"Į","iogon":"į","Iopf":"𝕀","iopf":"𝕚","Iota":"Ι","iota":"ι","iprod":"⨼","iquest":"¿","iscr":"𝒾","Iscr":"ℐ","isin":"∈","isindot":"⋵","isinE":"⋹","isins":"⋴","isinsv":"⋳","isinv":"∈","it":"⁢","Itilde":"Ĩ","itilde":"ĩ","Iukcy":"І","iukcy":"і","Iuml":"Ï","iuml":"ï","Jcirc":"Ĵ","jcirc":"ĵ","Jcy":"Й","jcy":"й","Jfr":"𝔍","jfr":"𝔧","jmath":"ȷ","Jopf":"𝕁","jopf":"𝕛","Jscr":"𝒥","jscr":"𝒿","Jsercy":"Ј","jsercy":"ј","Jukcy":"Є","jukcy":"є","Kappa":"Κ","kappa":"κ","kappav":"ϰ","Kcedil":"Ķ","kcedil":"ķ","Kcy":"К","kcy":"к","Kfr":"𝔎","kfr":"𝔨","kgreen":"ĸ","KHcy":"Х","khcy":"х","KJcy":"Ќ","kjcy":"ќ","Kopf":"𝕂","kopf":"𝕜","Kscr":"𝒦","kscr":"𝓀","lAarr":"⇚","Lacute":"Ĺ","lacute":"ĺ","laemptyv":"⦴","lagran":"ℒ","Lambda":"Λ","lambda":"λ","lang":"⟨","Lang":"⟪","langd":"⦑","langle":"⟨","lap":"⪅","Laplacetrf":"ℒ","laquo":"«","larrb":"⇤","larrbfs":"⤟","larr":"←","Larr":"↞","lArr":"⇐","larrfs":"⤝","larrhk":"↩","larrlp":"↫","larrpl":"⤹","larrsim":"⥳","larrtl":"↢","latail":"⤙","lAtail":"⤛","lat":"⪫","late":"⪭","lates":"⪭︀","lbarr":"⤌","lBarr":"⤎","lbbrk":"❲","lbrace":"{","lbrack":"[","lbrke":"⦋","lbrksld":"⦏","lbrkslu":"⦍","Lcaron":"Ľ","lcaron":"ľ","Lcedil":"Ļ","lcedil":"ļ","lceil":"⌈","lcub":"{","Lcy":"Л","lcy":"л","ldca":"⤶","ldquo":"“","ldquor":"„","ldrdhar":"⥧","ldrushar":"⥋","ldsh":"↲","le":"≤","lE":"≦","LeftAngleBracket":"⟨","LeftArrowBar":"⇤","leftarrow":"←","LeftArrow":"←","Leftarrow":"⇐","LeftArrowRightArrow":"⇆","leftarrowtail":"↢","LeftCeiling":"⌈","LeftDoubleBracket":"⟦","LeftDownTeeVector":"⥡","LeftDownVectorBar":"⥙","LeftDownVector":"⇃","LeftFloor":"⌊","leftharpoondown":"↽","leftharpoonup":"↼","leftleftarrows":"⇇","leftrightarrow":"↔","LeftRightArrow":"↔","Leftrightarrow":"⇔","leftrightarrows":"⇆","leftrightharpoons":"⇋","leftrightsquigarrow":"↭","LeftRightVector":"⥎","LeftTeeArrow":"↤","LeftTee":"⊣","LeftTeeVector":"⥚","leftthreetimes":"⋋","LeftTriangleBar":"⧏","LeftTriangle":"⊲","LeftTriangleEqual":"⊴","LeftUpDownVector":"⥑","LeftUpTeeVector":"⥠","LeftUpVectorBar":"⥘","LeftUpVector":"↿","LeftVectorBar":"⥒","LeftVector":"↼","lEg":"⪋","leg":"⋚","leq":"≤","leqq":"≦","leqslant":"⩽","lescc":"⪨","les":"⩽","lesdot":"⩿","lesdoto":"⪁","lesdotor":"⪃","lesg":"⋚︀","lesges":"⪓","lessapprox":"⪅","lessdot":"⋖","lesseqgtr":"⋚","lesseqqgtr":"⪋","LessEqualGreater":"⋚","LessFullEqual":"≦","LessGreater":"≶","lessgtr":"≶","LessLess":"⪡","lesssim":"≲","LessSlantEqual":"⩽","LessTilde":"≲","lfisht":"⥼","lfloor":"⌊","Lfr":"𝔏","lfr":"𝔩","lg":"≶","lgE":"⪑","lHar":"⥢","lhard":"↽","lharu":"↼","lharul":"⥪","lhblk":"▄","LJcy":"Љ","ljcy":"љ","llarr":"⇇","ll":"≪","Ll":"⋘","llcorner":"⌞","Lleftarrow":"⇚","llhard":"⥫","lltri":"◺","Lmidot":"Ŀ","lmidot":"ŀ","lmoustache":"⎰","lmoust":"⎰","lnap":"⪉","lnapprox":"⪉","lne":"⪇","lnE":"≨","lneq":"⪇","lneqq":"≨","lnsim":"⋦","loang":"⟬","loarr":"⇽","lobrk":"⟦","longleftarrow":"⟵","LongLeftArrow":"⟵","Longleftarrow":"⟸","longleftrightarrow":"⟷","LongLeftRightArrow":"⟷","Longleftrightarrow":"⟺","longmapsto":"⟼","longrightarrow":"⟶","LongRightArrow":"⟶","Longrightarrow":"⟹","looparrowleft":"↫","looparrowright":"↬","lopar":"⦅","Lopf":"𝕃","lopf":"𝕝","loplus":"⨭","lotimes":"⨴","lowast":"∗","lowbar":"_","LowerLeftArrow":"↙","LowerRightArrow":"↘","loz":"◊","lozenge":"◊","lozf":"⧫","lpar":"(","lparlt":"⦓","lrarr":"⇆","lrcorner":"⌟","lrhar":"⇋","lrhard":"⥭","lrm":"‎","lrtri":"⊿","lsaquo":"‹","lscr":"𝓁","Lscr":"ℒ","lsh":"↰","Lsh":"↰","lsim":"≲","lsime":"⪍","lsimg":"⪏","lsqb":"[","lsquo":"‘","lsquor":"‚","Lstrok":"Ł","lstrok":"ł","ltcc":"⪦","ltcir":"⩹","lt":"<","LT":"<","Lt":"≪","ltdot":"⋖","lthree":"⋋","ltimes":"⋉","ltlarr":"⥶","ltquest":"⩻","ltri":"◃","ltrie":"⊴","ltrif":"◂","ltrPar":"⦖","lurdshar":"⥊","luruhar":"⥦","lvertneqq":"≨︀","lvnE":"≨︀","macr":"¯","male":"♂","malt":"✠","maltese":"✠","Map":"⤅","map":"↦","mapsto":"↦","mapstodown":"↧","mapstoleft":"↤","mapstoup":"↥","marker":"▮","mcomma":"⨩","Mcy":"М","mcy":"м","mdash":"—","mDDot":"∺","measuredangle":"∡","MediumSpace":" ","Mellintrf":"ℳ","Mfr":"𝔐","mfr":"𝔪","mho":"℧","micro":"µ","midast":"*","midcir":"⫰","mid":"∣","middot":"·","minusb":"⊟","minus":"−","minusd":"∸","minusdu":"⨪","MinusPlus":"∓","mlcp":"⫛","mldr":"…","mnplus":"∓","models":"⊧","Mopf":"𝕄","mopf":"𝕞","mp":"∓","mscr":"𝓂","Mscr":"ℳ","mstpos":"∾","Mu":"Μ","mu":"μ","multimap":"⊸","mumap":"⊸","nabla":"∇","Nacute":"Ń","nacute":"ń","nang":"∠⃒","nap":"≉","napE":"⩰̸","napid":"≋̸","napos":"ʼn","napprox":"≉","natural":"♮","naturals":"ℕ","natur":"♮","nbsp":" ","nbump":"≎̸","nbumpe":"≏̸","ncap":"⩃","Ncaron":"Ň","ncaron":"ň","Ncedil":"Ņ","ncedil":"ņ","ncong":"≇","ncongdot":"⩭̸","ncup":"⩂","Ncy":"Н","ncy":"н","ndash":"–","nearhk":"⤤","nearr":"↗","neArr":"⇗","nearrow":"↗","ne":"≠","nedot":"≐̸","NegativeMediumSpace":"​","NegativeThickSpace":"​","NegativeThinSpace":"​","NegativeVeryThinSpace":"​","nequiv":"≢","nesear":"⤨","nesim":"≂̸","NestedGreaterGreater":"≫","NestedLessLess":"≪","NewLine":"\\n","nexist":"∄","nexists":"∄","Nfr":"𝔑","nfr":"𝔫","ngE":"≧̸","nge":"≱","ngeq":"≱","ngeqq":"≧̸","ngeqslant":"⩾̸","nges":"⩾̸","nGg":"⋙̸","ngsim":"≵","nGt":"≫⃒","ngt":"≯","ngtr":"≯","nGtv":"≫̸","nharr":"↮","nhArr":"⇎","nhpar":"⫲","ni":"∋","nis":"⋼","nisd":"⋺","niv":"∋","NJcy":"Њ","njcy":"њ","nlarr":"↚","nlArr":"⇍","nldr":"‥","nlE":"≦̸","nle":"≰","nleftarrow":"↚","nLeftarrow":"⇍","nleftrightarrow":"↮","nLeftrightarrow":"⇎","nleq":"≰","nleqq":"≦̸","nleqslant":"⩽̸","nles":"⩽̸","nless":"≮","nLl":"⋘̸","nlsim":"≴","nLt":"≪⃒","nlt":"≮","nltri":"⋪","nltrie":"⋬","nLtv":"≪̸","nmid":"∤","NoBreak":"⁠","NonBreakingSpace":" ","nopf":"𝕟","Nopf":"ℕ","Not":"⫬","not":"¬","NotCongruent":"≢","NotCupCap":"≭","NotDoubleVerticalBar":"∦","NotElement":"∉","NotEqual":"≠","NotEqualTilde":"≂̸","NotExists":"∄","NotGreater":"≯","NotGreaterEqual":"≱","NotGreaterFullEqual":"≧̸","NotGreaterGreater":"≫̸","NotGreaterLess":"≹","NotGreaterSlantEqual":"⩾̸","NotGreaterTilde":"≵","NotHumpDownHump":"≎̸","NotHumpEqual":"≏̸","notin":"∉","notindot":"⋵̸","notinE":"⋹̸","notinva":"∉","notinvb":"⋷","notinvc":"⋶","NotLeftTriangleBar":"⧏̸","NotLeftTriangle":"⋪","NotLeftTriangleEqual":"⋬","NotLess":"≮","NotLessEqual":"≰","NotLessGreater":"≸","NotLessLess":"≪̸","NotLessSlantEqual":"⩽̸","NotLessTilde":"≴","NotNestedGreaterGreater":"⪢̸","NotNestedLessLess":"⪡̸","notni":"∌","notniva":"∌","notnivb":"⋾","notnivc":"⋽","NotPrecedes":"⊀","NotPrecedesEqual":"⪯̸","NotPrecedesSlantEqual":"⋠","NotReverseElement":"∌","NotRightTriangleBar":"⧐̸","NotRightTriangle":"⋫","NotRightTriangleEqual":"⋭","NotSquareSubset":"⊏̸","NotSquareSubsetEqual":"⋢","NotSquareSuperset":"⊐̸","NotSquareSupersetEqual":"⋣","NotSubset":"⊂⃒","NotSubsetEqual":"⊈","NotSucceeds":"⊁","NotSucceedsEqual":"⪰̸","NotSucceedsSlantEqual":"⋡","NotSucceedsTilde":"≿̸","NotSuperset":"⊃⃒","NotSupersetEqual":"⊉","NotTilde":"≁","NotTildeEqual":"≄","NotTildeFullEqual":"≇","NotTildeTilde":"≉","NotVerticalBar":"∤","nparallel":"∦","npar":"∦","nparsl":"⫽⃥","npart":"∂̸","npolint":"⨔","npr":"⊀","nprcue":"⋠","nprec":"⊀","npreceq":"⪯̸","npre":"⪯̸","nrarrc":"⤳̸","nrarr":"↛","nrArr":"⇏","nrarrw":"↝̸","nrightarrow":"↛","nRightarrow":"⇏","nrtri":"⋫","nrtrie":"⋭","nsc":"⊁","nsccue":"⋡","nsce":"⪰̸","Nscr":"𝒩","nscr":"𝓃","nshortmid":"∤","nshortparallel":"∦","nsim":"≁","nsime":"≄","nsimeq":"≄","nsmid":"∤","nspar":"∦","nsqsube":"⋢","nsqsupe":"⋣","nsub":"⊄","nsubE":"⫅̸","nsube":"⊈","nsubset":"⊂⃒","nsubseteq":"⊈","nsubseteqq":"⫅̸","nsucc":"⊁","nsucceq":"⪰̸","nsup":"⊅","nsupE":"⫆̸","nsupe":"⊉","nsupset":"⊃⃒","nsupseteq":"⊉","nsupseteqq":"⫆̸","ntgl":"≹","Ntilde":"Ñ","ntilde":"ñ","ntlg":"≸","ntriangleleft":"⋪","ntrianglelefteq":"⋬","ntriangleright":"⋫","ntrianglerighteq":"⋭","Nu":"Ν","nu":"ν","num":"#","numero":"№","numsp":" ","nvap":"≍⃒","nvdash":"⊬","nvDash":"⊭","nVdash":"⊮","nVDash":"⊯","nvge":"≥⃒","nvgt":">⃒","nvHarr":"⤄","nvinfin":"⧞","nvlArr":"⤂","nvle":"≤⃒","nvlt":"<⃒","nvltrie":"⊴⃒","nvrArr":"⤃","nvrtrie":"⊵⃒","nvsim":"∼⃒","nwarhk":"⤣","nwarr":"↖","nwArr":"⇖","nwarrow":"↖","nwnear":"⤧","Oacute":"Ó","oacute":"ó","oast":"⊛","Ocirc":"Ô","ocirc":"ô","ocir":"⊚","Ocy":"О","ocy":"о","odash":"⊝","Odblac":"Ő","odblac":"ő","odiv":"⨸","odot":"⊙","odsold":"⦼","OElig":"Œ","oelig":"œ","ofcir":"⦿","Ofr":"𝔒","ofr":"𝔬","ogon":"˛","Ograve":"Ò","ograve":"ò","ogt":"⧁","ohbar":"⦵","ohm":"Ω","oint":"∮","olarr":"↺","olcir":"⦾","olcross":"⦻","oline":"‾","olt":"⧀","Omacr":"Ō","omacr":"ō","Omega":"Ω","omega":"ω","Omicron":"Ο","omicron":"ο","omid":"⦶","ominus":"⊖","Oopf":"𝕆","oopf":"𝕠","opar":"⦷","OpenCurlyDoubleQuote":"“","OpenCurlyQuote":"‘","operp":"⦹","oplus":"⊕","orarr":"↻","Or":"⩔","or":"∨","ord":"⩝","order":"ℴ","orderof":"ℴ","ordf":"ª","ordm":"º","origof":"⊶","oror":"⩖","orslope":"⩗","orv":"⩛","oS":"Ⓢ","Oscr":"𝒪","oscr":"ℴ","Oslash":"Ø","oslash":"ø","osol":"⊘","Otilde":"Õ","otilde":"õ","otimesas":"⨶","Otimes":"⨷","otimes":"⊗","Ouml":"Ö","ouml":"ö","ovbar":"⌽","OverBar":"‾","OverBrace":"⏞","OverBracket":"⎴","OverParenthesis":"⏜","para":"¶","parallel":"∥","par":"∥","parsim":"⫳","parsl":"⫽","part":"∂","PartialD":"∂","Pcy":"П","pcy":"п","percnt":"%","period":".","permil":"‰","perp":"⊥","pertenk":"‱","Pfr":"𝔓","pfr":"𝔭","Phi":"Φ","phi":"φ","phiv":"ϕ","phmmat":"ℳ","phone":"☎","Pi":"Π","pi":"π","pitchfork":"⋔","piv":"ϖ","planck":"ℏ","planckh":"ℎ","plankv":"ℏ","plusacir":"⨣","plusb":"⊞","pluscir":"⨢","plus":"+","plusdo":"∔","plusdu":"⨥","pluse":"⩲","PlusMinus":"±","plusmn":"±","plussim":"⨦","plustwo":"⨧","pm":"±","Poincareplane":"ℌ","pointint":"⨕","popf":"𝕡","Popf":"ℙ","pound":"£","prap":"⪷","Pr":"⪻","pr":"≺","prcue":"≼","precapprox":"⪷","prec":"≺","preccurlyeq":"≼","Precedes":"≺","PrecedesEqual":"⪯","PrecedesSlantEqual":"≼","PrecedesTilde":"≾","preceq":"⪯","precnapprox":"⪹","precneqq":"⪵","precnsim":"⋨","pre":"⪯","prE":"⪳","precsim":"≾","prime":"′","Prime":"″","primes":"ℙ","prnap":"⪹","prnE":"⪵","prnsim":"⋨","prod":"∏","Product":"∏","profalar":"⌮","profline":"⌒","profsurf":"⌓","prop":"∝","Proportional":"∝","Proportion":"∷","propto":"∝","prsim":"≾","prurel":"⊰","Pscr":"𝒫","pscr":"𝓅","Psi":"Ψ","psi":"ψ","puncsp":" ","Qfr":"𝔔","qfr":"𝔮","qint":"⨌","qopf":"𝕢","Qopf":"ℚ","qprime":"⁗","Qscr":"𝒬","qscr":"𝓆","quaternions":"ℍ","quatint":"⨖","quest":"?","questeq":"≟","quot":"\\"","QUOT":"\\"","rAarr":"⇛","race":"∽̱","Racute":"Ŕ","racute":"ŕ","radic":"√","raemptyv":"⦳","rang":"⟩","Rang":"⟫","rangd":"⦒","range":"⦥","rangle":"⟩","raquo":"»","rarrap":"⥵","rarrb":"⇥","rarrbfs":"⤠","rarrc":"⤳","rarr":"→","Rarr":"↠","rArr":"⇒","rarrfs":"⤞","rarrhk":"↪","rarrlp":"↬","rarrpl":"⥅","rarrsim":"⥴","Rarrtl":"⤖","rarrtl":"↣","rarrw":"↝","ratail":"⤚","rAtail":"⤜","ratio":"∶","rationals":"ℚ","rbarr":"⤍","rBarr":"⤏","RBarr":"⤐","rbbrk":"❳","rbrace":"}","rbrack":"]","rbrke":"⦌","rbrksld":"⦎","rbrkslu":"⦐","Rcaron":"Ř","rcaron":"ř","Rcedil":"Ŗ","rcedil":"ŗ","rceil":"⌉","rcub":"}","Rcy":"Р","rcy":"р","rdca":"⤷","rdldhar":"⥩","rdquo":"”","rdquor":"”","rdsh":"↳","real":"ℜ","realine":"ℛ","realpart":"ℜ","reals":"ℝ","Re":"ℜ","rect":"▭","reg":"®","REG":"®","ReverseElement":"∋","ReverseEquilibrium":"⇋","ReverseUpEquilibrium":"⥯","rfisht":"⥽","rfloor":"⌋","rfr":"𝔯","Rfr":"ℜ","rHar":"⥤","rhard":"⇁","rharu":"⇀","rharul":"⥬","Rho":"Ρ","rho":"ρ","rhov":"ϱ","RightAngleBracket":"⟩","RightArrowBar":"⇥","rightarrow":"→","RightArrow":"→","Rightarrow":"⇒","RightArrowLeftArrow":"⇄","rightarrowtail":"↣","RightCeiling":"⌉","RightDoubleBracket":"⟧","RightDownTeeVector":"⥝","RightDownVectorBar":"⥕","RightDownVector":"⇂","RightFloor":"⌋","rightharpoondown":"⇁","rightharpoonup":"⇀","rightleftarrows":"⇄","rightleftharpoons":"⇌","rightrightarrows":"⇉","rightsquigarrow":"↝","RightTeeArrow":"↦","RightTee":"⊢","RightTeeVector":"⥛","rightthreetimes":"⋌","RightTriangleBar":"⧐","RightTriangle":"⊳","RightTriangleEqual":"⊵","RightUpDownVector":"⥏","RightUpTeeVector":"⥜","RightUpVectorBar":"⥔","RightUpVector":"↾","RightVectorBar":"⥓","RightVector":"⇀","ring":"˚","risingdotseq":"≓","rlarr":"⇄","rlhar":"⇌","rlm":"‏","rmoustache":"⎱","rmoust":"⎱","rnmid":"⫮","roang":"⟭","roarr":"⇾","robrk":"⟧","ropar":"⦆","ropf":"𝕣","Ropf":"ℝ","roplus":"⨮","rotimes":"⨵","RoundImplies":"⥰","rpar":")","rpargt":"⦔","rppolint":"⨒","rrarr":"⇉","Rrightarrow":"⇛","rsaquo":"›","rscr":"𝓇","Rscr":"ℛ","rsh":"↱","Rsh":"↱","rsqb":"]","rsquo":"’","rsquor":"’","rthree":"⋌","rtimes":"⋊","rtri":"▹","rtrie":"⊵","rtrif":"▸","rtriltri":"⧎","RuleDelayed":"⧴","ruluhar":"⥨","rx":"℞","Sacute":"Ś","sacute":"ś","sbquo":"‚","scap":"⪸","Scaron":"Š","scaron":"š","Sc":"⪼","sc":"≻","sccue":"≽","sce":"⪰","scE":"⪴","Scedil":"Ş","scedil":"ş","Scirc":"Ŝ","scirc":"ŝ","scnap":"⪺","scnE":"⪶","scnsim":"⋩","scpolint":"⨓","scsim":"≿","Scy":"С","scy":"с","sdotb":"⊡","sdot":"⋅","sdote":"⩦","searhk":"⤥","searr":"↘","seArr":"⇘","searrow":"↘","sect":"§","semi":";","seswar":"⤩","setminus":"∖","setmn":"∖","sext":"✶","Sfr":"𝔖","sfr":"𝔰","sfrown":"⌢","sharp":"♯","SHCHcy":"Щ","shchcy":"щ","SHcy":"Ш","shcy":"ш","ShortDownArrow":"↓","ShortLeftArrow":"←","shortmid":"∣","shortparallel":"∥","ShortRightArrow":"→","ShortUpArrow":"↑","shy":"­","Sigma":"Σ","sigma":"σ","sigmaf":"ς","sigmav":"ς","sim":"∼","simdot":"⩪","sime":"≃","simeq":"≃","simg":"⪞","simgE":"⪠","siml":"⪝","simlE":"⪟","simne":"≆","simplus":"⨤","simrarr":"⥲","slarr":"←","SmallCircle":"∘","smallsetminus":"∖","smashp":"⨳","smeparsl":"⧤","smid":"∣","smile":"⌣","smt":"⪪","smte":"⪬","smtes":"⪬︀","SOFTcy":"Ь","softcy":"ь","solbar":"⌿","solb":"⧄","sol":"/","Sopf":"𝕊","sopf":"𝕤","spades":"♠","spadesuit":"♠","spar":"∥","sqcap":"⊓","sqcaps":"⊓︀","sqcup":"⊔","sqcups":"⊔︀","Sqrt":"√","sqsub":"⊏","sqsube":"⊑","sqsubset":"⊏","sqsubseteq":"⊑","sqsup":"⊐","sqsupe":"⊒","sqsupset":"⊐","sqsupseteq":"⊒","square":"□","Square":"□","SquareIntersection":"⊓","SquareSubset":"⊏","SquareSubsetEqual":"⊑","SquareSuperset":"⊐","SquareSupersetEqual":"⊒","SquareUnion":"⊔","squarf":"▪","squ":"□","squf":"▪","srarr":"→","Sscr":"𝒮","sscr":"𝓈","ssetmn":"∖","ssmile":"⌣","sstarf":"⋆","Star":"⋆","star":"☆","starf":"★","straightepsilon":"ϵ","straightphi":"ϕ","strns":"¯","sub":"⊂","Sub":"⋐","subdot":"⪽","subE":"⫅","sube":"⊆","subedot":"⫃","submult":"⫁","subnE":"⫋","subne":"⊊","subplus":"⪿","subrarr":"⥹","subset":"⊂","Subset":"⋐","subseteq":"⊆","subseteqq":"⫅","SubsetEqual":"⊆","subsetneq":"⊊","subsetneqq":"⫋","subsim":"⫇","subsub":"⫕","subsup":"⫓","succapprox":"⪸","succ":"≻","succcurlyeq":"≽","Succeeds":"≻","SucceedsEqual":"⪰","SucceedsSlantEqual":"≽","SucceedsTilde":"≿","succeq":"⪰","succnapprox":"⪺","succneqq":"⪶","succnsim":"⋩","succsim":"≿","SuchThat":"∋","sum":"∑","Sum":"∑","sung":"♪","sup1":"¹","sup2":"²","sup3":"³","sup":"⊃","Sup":"⋑","supdot":"⪾","supdsub":"⫘","supE":"⫆","supe":"⊇","supedot":"⫄","Superset":"⊃","SupersetEqual":"⊇","suphsol":"⟉","suphsub":"⫗","suplarr":"⥻","supmult":"⫂","supnE":"⫌","supne":"⊋","supplus":"⫀","supset":"⊃","Supset":"⋑","supseteq":"⊇","supseteqq":"⫆","supsetneq":"⊋","supsetneqq":"⫌","supsim":"⫈","supsub":"⫔","supsup":"⫖","swarhk":"⤦","swarr":"↙","swArr":"⇙","swarrow":"↙","swnwar":"⤪","szlig":"ß","Tab":"\\t","target":"⌖","Tau":"Τ","tau":"τ","tbrk":"⎴","Tcaron":"Ť","tcaron":"ť","Tcedil":"Ţ","tcedil":"ţ","Tcy":"Т","tcy":"т","tdot":"⃛","telrec":"⌕","Tfr":"𝔗","tfr":"𝔱","there4":"∴","therefore":"∴","Therefore":"∴","Theta":"Θ","theta":"θ","thetasym":"ϑ","thetav":"ϑ","thickapprox":"≈","thicksim":"∼","ThickSpace":"  ","ThinSpace":" ","thinsp":" ","thkap":"≈","thksim":"∼","THORN":"Þ","thorn":"þ","tilde":"˜","Tilde":"∼","TildeEqual":"≃","TildeFullEqual":"≅","TildeTilde":"≈","timesbar":"⨱","timesb":"⊠","times":"×","timesd":"⨰","tint":"∭","toea":"⤨","topbot":"⌶","topcir":"⫱","top":"⊤","Topf":"𝕋","topf":"𝕥","topfork":"⫚","tosa":"⤩","tprime":"‴","trade":"™","TRADE":"™","triangle":"▵","triangledown":"▿","triangleleft":"◃","trianglelefteq":"⊴","triangleq":"≜","triangleright":"▹","trianglerighteq":"⊵","tridot":"◬","trie":"≜","triminus":"⨺","TripleDot":"⃛","triplus":"⨹","trisb":"⧍","tritime":"⨻","trpezium":"⏢","Tscr":"𝒯","tscr":"𝓉","TScy":"Ц","tscy":"ц","TSHcy":"Ћ","tshcy":"ћ","Tstrok":"Ŧ","tstrok":"ŧ","twixt":"≬","twoheadleftarrow":"↞","twoheadrightarrow":"↠","Uacute":"Ú","uacute":"ú","uarr":"↑","Uarr":"↟","uArr":"⇑","Uarrocir":"⥉","Ubrcy":"Ў","ubrcy":"ў","Ubreve":"Ŭ","ubreve":"ŭ","Ucirc":"Û","ucirc":"û","Ucy":"У","ucy":"у","udarr":"⇅","Udblac":"Ű","udblac":"ű","udhar":"⥮","ufisht":"⥾","Ufr":"𝔘","ufr":"𝔲","Ugrave":"Ù","ugrave":"ù","uHar":"⥣","uharl":"↿","uharr":"↾","uhblk":"▀","ulcorn":"⌜","ulcorner":"⌜","ulcrop":"⌏","ultri":"◸","Umacr":"Ū","umacr":"ū","uml":"¨","UnderBar":"_","UnderBrace":"⏟","UnderBracket":"⎵","UnderParenthesis":"⏝","Union":"⋃","UnionPlus":"⊎","Uogon":"Ų","uogon":"ų","Uopf":"𝕌","uopf":"𝕦","UpArrowBar":"⤒","uparrow":"↑","UpArrow":"↑","Uparrow":"⇑","UpArrowDownArrow":"⇅","updownarrow":"↕","UpDownArrow":"↕","Updownarrow":"⇕","UpEquilibrium":"⥮","upharpoonleft":"↿","upharpoonright":"↾","uplus":"⊎","UpperLeftArrow":"↖","UpperRightArrow":"↗","upsi":"υ","Upsi":"ϒ","upsih":"ϒ","Upsilon":"Υ","upsilon":"υ","UpTeeArrow":"↥","UpTee":"⊥","upuparrows":"⇈","urcorn":"⌝","urcorner":"⌝","urcrop":"⌎","Uring":"Ů","uring":"ů","urtri":"◹","Uscr":"𝒰","uscr":"𝓊","utdot":"⋰","Utilde":"Ũ","utilde":"ũ","utri":"▵","utrif":"▴","uuarr":"⇈","Uuml":"Ü","uuml":"ü","uwangle":"⦧","vangrt":"⦜","varepsilon":"ϵ","varkappa":"ϰ","varnothing":"∅","varphi":"ϕ","varpi":"ϖ","varpropto":"∝","varr":"↕","vArr":"⇕","varrho":"ϱ","varsigma":"ς","varsubsetneq":"⊊︀","varsubsetneqq":"⫋︀","varsupsetneq":"⊋︀","varsupsetneqq":"⫌︀","vartheta":"ϑ","vartriangleleft":"⊲","vartriangleright":"⊳","vBar":"⫨","Vbar":"⫫","vBarv":"⫩","Vcy":"В","vcy":"в","vdash":"⊢","vDash":"⊨","Vdash":"⊩","VDash":"⊫","Vdashl":"⫦","veebar":"⊻","vee":"∨","Vee":"⋁","veeeq":"≚","vellip":"⋮","verbar":"|","Verbar":"‖","vert":"|","Vert":"‖","VerticalBar":"∣","VerticalLine":"|","VerticalSeparator":"❘","VerticalTilde":"≀","VeryThinSpace":" ","Vfr":"𝔙","vfr":"𝔳","vltri":"⊲","vnsub":"⊂⃒","vnsup":"⊃⃒","Vopf":"𝕍","vopf":"𝕧","vprop":"∝","vrtri":"⊳","Vscr":"𝒱","vscr":"𝓋","vsubnE":"⫋︀","vsubne":"⊊︀","vsupnE":"⫌︀","vsupne":"⊋︀","Vvdash":"⊪","vzigzag":"⦚","Wcirc":"Ŵ","wcirc":"ŵ","wedbar":"⩟","wedge":"∧","Wedge":"⋀","wedgeq":"≙","weierp":"℘","Wfr":"𝔚","wfr":"𝔴","Wopf":"𝕎","wopf":"𝕨","wp":"℘","wr":"≀","wreath":"≀","Wscr":"𝒲","wscr":"𝓌","xcap":"⋂","xcirc":"◯","xcup":"⋃","xdtri":"▽","Xfr":"𝔛","xfr":"𝔵","xharr":"⟷","xhArr":"⟺","Xi":"Ξ","xi":"ξ","xlarr":"⟵","xlArr":"⟸","xmap":"⟼","xnis":"⋻","xodot":"⨀","Xopf":"𝕏","xopf":"𝕩","xoplus":"⨁","xotime":"⨂","xrarr":"⟶","xrArr":"⟹","Xscr":"𝒳","xscr":"𝓍","xsqcup":"⨆","xuplus":"⨄","xutri":"△","xvee":"⋁","xwedge":"⋀","Yacute":"Ý","yacute":"ý","YAcy":"Я","yacy":"я","Ycirc":"Ŷ","ycirc":"ŷ","Ycy":"Ы","ycy":"ы","yen":"¥","Yfr":"𝔜","yfr":"𝔶","YIcy":"Ї","yicy":"ї","Yopf":"𝕐","yopf":"𝕪","Yscr":"𝒴","yscr":"𝓎","YUcy":"Ю","yucy":"ю","yuml":"ÿ","Yuml":"Ÿ","Zacute":"Ź","zacute":"ź","Zcaron":"Ž","zcaron":"ž","Zcy":"З","zcy":"з","Zdot":"Ż","zdot":"ż","zeetrf":"ℨ","ZeroWidthSpace":"​","Zeta":"Ζ","zeta":"ζ","zfr":"𝔷","Zfr":"ℨ","ZHcy":"Ж","zhcy":"ж","zigrarr":"⇝","zopf":"𝕫","Zopf":"ℤ","Zscr":"𝒵","zscr":"𝓏","zwj":"‍","zwnj":"‌"}')},function(e){e.exports=JSON.parse('{"amp":"&","apos":"\'","gt":">","lt":"<","quot":"\\""}')},function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.escapeUTF8=t.escape=t.encodeNonAsciiHTML=t.encodeHTML=t.encodeXML=void 0;var o=l(n(r(401)).default),i=f(o);t.encodeXML=v(o);var a,u,s=l(n(r(400)).default),c=f(s);function l(e){return Object.keys(e).sort().reduce((function(t,r){return t[e[r]]="&"+r+";",t}),{})}function f(e){for(var t=[],r=[],n=0,o=Object.keys(e);n<o.length;n++){var i=o[n];1===i.length?t.push("\\"+i):r.push(i)}t.sort();for(var a=0;a<t.length-1;a++){for(var u=a;u<t.length-1&&t[u].charCodeAt(1)+1===t[u+1].charCodeAt(1);)u+=1;var s=1+u-a;s<3||t.splice(a,s,t[a]+"-"+t[u])}return r.unshift("["+t.join("")+"]"),new RegExp(r.join("|"),"g")}t.encodeHTML=(a=s,u=c,function(e){return e.replace(u,(function(e){return a[e]})).replace(p,h)}),t.encodeNonAsciiHTML=v(s);var p=/(?:[\x80-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])/g,d=null!=String.prototype.codePointAt?function(e){return e.codePointAt(0)}:function(e){return 1024*(e.charCodeAt(0)-55296)+e.charCodeAt(1)-56320+65536};function h(e){return"&#x"+(e.length>1?d(e):e.charCodeAt(0)).toString(16).toUpperCase()+";"}var y=new RegExp(i.source+"|"+p.source,"g");function v(e){return function(t){return t.replace(y,(function(t){return e[t]||h(t)}))}}t.escape=function(e){return e.replace(y,h)},t.escapeUTF8=function(e){return e.replace(i,h)}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.findAll=t.existsOne=t.findOne=t.findOneChild=t.find=t.filter=void 0;var n=r(70);function o(e,t,r,i){for(var a=[],u=0,s=t;u<s.length;u++){var c=s[u];if(e(c)&&(a.push(c),--i<=0))break;if(r&&(0,n.hasChildren)(c)&&c.children.length>0){var l=o(e,c.children,r,i);if(a.push.apply(a,l),(i-=l.length)<=0)break}}return a}t.filter=function(e,t,r,n){return void 0===r&&(r=!0),void 0===n&&(n=1/0),Array.isArray(t)||(t=[t]),o(e,t,r,n)},t.find=o,t.findOneChild=function(e,t){return t.find(e)},t.findOne=function e(t,r,o){void 0===o&&(o=!0);for(var i=null,a=0;a<r.length&&!i;a++){var u=r[a];(0,n.isTag)(u)&&(t(u)?i=u:o&&u.children.length>0&&(i=e(t,u.children)))}return i},t.existsOne=function e(t,r){return r.some((function(r){return(0,n.isTag)(r)&&(t(r)||r.children.length>0&&e(t,r.children))}))},t.findAll=function(e,t){for(var r,o,i=[],a=t.filter(n.isTag);o=a.shift();){var u=null===(r=o.children)||void 0===r?void 0:r.filter(n.isTag);u&&u.length>0&&a.unshift.apply(a,u),e(o)&&i.push(o)}return i}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getElementsByTagType=t.getElementsByTagName=t.getElementById=t.getElements=t.testElement=void 0;var n=r(70),o=r(403),i={tag_name:function(e){return"function"==typeof e?function(t){return(0,n.isTag)(t)&&e(t.name)}:"*"===e?n.isTag:function(t){return(0,n.isTag)(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(0,n.isText)(t)&&e(t.data)}:function(t){return(0,n.isText)(t)&&t.data===e}}};function a(e,t){return"function"==typeof t?function(r){return(0,n.isTag)(r)&&t(r.attribs[e])}:function(r){return(0,n.isTag)(r)&&r.attribs[e]===t}}function u(e,t){return function(r){return e(r)||t(r)}}function s(e){var t=Object.keys(e).map((function(t){var r=e[t];return Object.prototype.hasOwnProperty.call(i,t)?i[t](r):a(t,r)}));return 0===t.length?null:t.reduce(u)}t.testElement=function(e,t){var r=s(e);return!r||r(t)},t.getElements=function(e,t,r,n){void 0===n&&(n=1/0);var i=s(e);return i?(0,o.filter)(i,t,r,n):[]},t.getElementById=function(e,t,r){return void 0===r&&(r=!0),Array.isArray(t)||(t=[t]),(0,o.findOne)(a("id",e),t,r)},t.getElementsByTagName=function(e,t,r,n){return void 0===r&&(r=!0),void 0===n&&(n=1/0),(0,o.filter)(i.tag_name(e),t,r,n)},t.getElementsByTagType=function(e,t,r,n){return void 0===r&&(r=!0),void 0===n&&(n=1/0),(0,o.filter)(i.tag_type(e),t,r,n)}},function(e,t,r){"use strict";const n=r(714),o=r(406);e.exports=function(){const e=new o;return{defaultProcessingInstructions:[{shouldProcessNode:n.shouldProcessEveryNode,processNode:e.processDefaultNode}]}}},function(e,t,r){"use strict";const n=r(407),o=["area","base","br","col","embed","hr","img","input","keygen","link","meta","param","source","track","wbr","menuitem","textarea"];e.exports=function(){return{processDefaultNode:function(e,t,r){return"text"===e.type?e.data:"comment"!==e.type&&(o.indexOf(e.name)>-1?n.createElement(e,r):n.createElement(e,r,e.data,t))}}}},function(e,t,r){"use strict";const n=r(715),o=r(716),i=r(717),a=r(718),u=r(0),s=r(728),c=r(731);const l=["allowFullScreen","allowpaymentrequest","async","autoFocus","autoPlay","checked","controls","default","disabled","formNoValidate","hidden","ismap","itemScope","loop","multiple","muted","nomodule","noValidate","open","playsinline","readOnly","required","reversed","selected","truespeed"];e.exports={createElement:function(e,t,r,f){let p={key:t};e.attribs&&(p=i((function(e,t){let r=t[0],o=t[1];return r=c[r.replace(/[-:]/,"")]||r,"style"===r?o=function(e){const t=(e=e||"").split(/;(?!base64)/);let r,o,i,a={};for(let e=0;e<t.length;++e)r=t[e].split(":"),r.length>2&&(r[1]=r.slice(1).join(":")),o=r[0],i=r[1],"string"==typeof i&&(i=i.trim()),null!=o&&null!=i&&o.length>0&&i.length>0&&(a[n(o)]=i);return a}(o):"class"===r?r="className":"for"===r?r="htmlFor":a("on",r)&&(o=Function(o)),s(r,l)&&""===(o||"")&&(o=r),e[r]=o,e}),p,o(e.attribs))),f=f||[];const d=null!=r?[r].concat(f):f;return u.createElement.apply(null,[e.name,p].concat(d))}}},function(e,t,r){var n=r(82),o=r(42),i=r(184);e.exports=function(e){return function t(r,a,u){switch(arguments.length){case 0:return t;case 1:return i(r)?t:o((function(t,n){return e(r,t,n)}));case 2:return i(r)&&i(a)?t:i(r)?o((function(t,r){return e(t,a,r)})):i(a)?o((function(t,n){return e(r,t,n)})):n((function(t){return e(r,a,t)}));default:return i(r)&&i(a)&&i(u)?t:i(r)&&i(a)?o((function(t,r){return e(t,r,u)})):i(r)&&i(u)?o((function(t,r){return e(t,a,r)})):i(a)&&i(u)?o((function(t,n){return e(r,t,n)})):i(r)?n((function(t){return e(t,a,u)})):i(a)?n((function(t){return e(r,t,u)})):i(u)?n((function(t){return e(r,a,t)})):e(r,a,u)}}}},function(e,t,r){var n=r(42),o=r(719),i=n((function(e,t){return o(e,t,[],[])}));e.exports=i},function(e,t,r){"use strict";e.exports={alwaysValid:function(){return!0}}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.WhiteSpace=t.Url=t.String=t.Semicolon=t.RightSquareBracket=t.RightParenthesis=t.RightCurlyBracket=t.Percentage=t.Number=t.LeftSquareBracket=t.LeftParenthesis=t.LeftCurlyBracket=t.Ident=t.Hash=t.Function=t.EOF=t.Dimension=t.Delim=t.Comment=t.Comma=t.Colon=t.CDO=t.CDC=t.BadUrl=t.BadString=t.AtKeyword=void 0;t.EOF=0;t.Ident=1;t.Function=2;t.AtKeyword=3;t.Hash=4;t.String=5;t.BadString=6;t.Url=7;t.BadUrl=8;t.Delim=9;t.Number=10;t.Percentage=11;t.Dimension=12;t.WhiteSpace=13;t.CDO=14;t.CDC=15;t.Colon=16;t.Semicolon=17;t.Comma=18;t.LeftSquareBracket=19;t.RightSquareBracket=20;t.LeftParenthesis=21;t.RightParenthesis=22;t.LeftCurlyBracket=23;t.RightCurlyBracket=24;t.Comment=25},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.cmpChar=a,t.cmpStr=function(e,t,r,o){if(r-t!==o.length)return!1;if(t<0||r>e.length)return!1;for(var i=t;i<r;i++){var a=o.charCodeAt(i-t),u=e.charCodeAt(i);if((0,n.isUppercaseLetter)(u)&&(u|=32),u!==a)return!1}return!0},t.consumeBadUrlRemnants=function(e,t){for(;t<e.length;t++){var r=e.charCodeAt(t);if(41===r){t++;break}(0,n.isValidEscape)(r,o(e,t+1))&&(t=s(e,t))}return t},t.consumeEscaped=s,t.consumeName=function(e,t){for(;t<e.length;t++){var r=e.charCodeAt(t);if(!(0,n.isName)(r)){if(!(0,n.isValidEscape)(r,o(e,t+1)))break;t=s(e,t)-1}}return t},t.consumeNumber=function(e,t){var r=e.charCodeAt(t);43!==r&&45!==r||(r=e.charCodeAt(t+=1));(0,n.isDigit)(r)&&(t=u(e,t+1),r=e.charCodeAt(t));46===r&&(0,n.isDigit)(e.charCodeAt(t+1))&&(t=u(e,t+=2));if(a(e,t,101)){var o=0;45!==(r=e.charCodeAt(t+1))&&43!==r||(o=1,r=e.charCodeAt(t+2)),(0,n.isDigit)(r)&&(t=u(e,t+1+o+1))}return t},t.decodeEscaped=function(e){if(1===e.length&&!(0,n.isHexDigit)(e.charCodeAt(0)))return e[0];var t=parseInt(e,16);(0===t||t>=55296&&t<=57343||t>1114111)&&(t=65533);return String.fromCodePoint(t)},t.findDecimalNumberEnd=u,t.findWhiteSpaceEnd=function(e,t){for(;t<e.length&&(0,n.isWhiteSpace)(e.charCodeAt(t));t++);return t},t.findWhiteSpaceStart=function(e,t){for(;t>=0&&(0,n.isWhiteSpace)(e.charCodeAt(t));t--);return t+1},t.getNewlineLength=i,r(735);var n=r(245);function o(e,t){return t<e.length?e.charCodeAt(t):0}function i(e,t,r){return 13===r&&10===o(e,t+1)?2:1}function a(e,t,r){var o=e.charCodeAt(t);return(0,n.isUppercaseLetter)(o)&&(o|=32),o===r}function u(e,t){for(;t<e.length&&(0,n.isDigit)(e.charCodeAt(t));t++);return t}function s(e,t){if(t+=2,(0,n.isHexDigit)(o(e,t-1))){for(var r=Math.min(e.length,t+5);t<r&&(0,n.isHexDigit)(o(e,t));t++);var a=o(e,t);(0,n.isWhiteSpace)(a)&&(t+=i(e,t,a))}return t}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;t.default=["EOF-token","ident-token","function-token","at-keyword-token","hash-token","string-token","bad-string-token","url-token","bad-url-token","delim-token","number-token","percentage-token","dimension-token","whitespace-token","CDO-token","CDC-token","colon-token","semicolon-token","comma-token","[-token","]-token","(-token",")-token","{-token","}-token"]},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.adoptBuffer=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,t=arguments.length>1?arguments[1]:void 0;if(null===e||e.length<t)return new Uint32Array(Math.max(t+1024,16384));return e},r(2),r(737),r(1),r(739),r(745),r(747),r(748),r(750),r(753),r(754),r(755),r(756),r(757),r(758),r(759),r(760),r(762),r(763),r(764),r(765),r(766),r(767),r(768),r(769),r(770),r(771),r(772)},function(e,t,r){"use strict";var n=r(13),o=r(10),i=r(23),a=r(416),u=r(101),s=r(63),c=r(125),l=r(9),f=r(78),p=r(64),d=r(65),h=r(417),y=r(738),v=r(124),m=r(86),b=r(74).f,g=r(31).f,w=r(418),S=r(121),O=r(54),_=r(43),x=u.PROPER,E=u.CONFIGURABLE,P=_.get,k=_.set,j=n.ArrayBuffer,T=j,A=T&&T.prototype,C=n.DataView,L=C&&C.prototype,R=Object.prototype,I=n.Array,N=n.RangeError,M=o(w),D=o([].reverse),U=y.pack,F=y.unpack,B=function(e){return[255&e]},q=function(e){return[255&e,e>>8&255]},W=function(e){return[255&e,e>>8&255,e>>16&255,e>>24&255]},z=function(e){return e[3]<<24|e[2]<<16|e[1]<<8|e[0]},H=function(e){return U(e,23,4)},V=function(e){return U(e,52,8)},G=function(e,t){g(e.prototype,t,{get:function(){return P(this)[t]}})},K=function(e,t,r,n){var o=h(r),i=P(e);if(o+t>i.byteLength)throw N("Wrong index");var a=P(i.buffer).bytes,u=o+i.byteOffset,s=S(a,u,u+t);return n?s:D(s)},Y=function(e,t,r,n,o,i){var a=h(r),u=P(e);if(a+t>u.byteLength)throw N("Wrong index");for(var s=P(u.buffer).bytes,c=a+u.byteOffset,l=n(+o),f=0;f<t;f++)s[c+f]=l[i?f:t-f-1]};if(a){var $=x&&"ArrayBuffer"!==j.name;if(l((function(){j(1)}))&&l((function(){new j(-1)}))&&!l((function(){return new j,new j(1.5),new j(NaN),$&&!E})))$&&E&&s(j,"name","ArrayBuffer");else{(T=function(e){return f(this,A),new j(h(e))}).prototype=A;for(var X,Q=b(j),J=0;Q.length>J;)(X=Q[J++])in T||s(T,X,j[X]);A.constructor=T}m&&v(L)!==R&&m(L,R);var Z=new C(new T(2)),ee=o(L.setInt8);Z.setInt8(0,2147483648),Z.setInt8(1,2147483649),!Z.getInt8(0)&&Z.getInt8(1)||c(L,{setInt8:function(e,t){ee(this,e,t<<24>>24)},setUint8:function(e,t){ee(this,e,t<<24>>24)}},{unsafe:!0})}else A=(T=function(e){f(this,A);var t=h(e);k(this,{bytes:M(I(t),0),byteLength:t}),i||(this.byteLength=t)}).prototype,L=(C=function(e,t,r){f(this,L),f(e,A);var n=P(e).byteLength,o=p(t);if(o<0||o>n)throw N("Wrong offset");if(o+(r=void 0===r?n-o:d(r))>n)throw N("Wrong length");k(this,{buffer:e,byteLength:r,byteOffset:o}),i||(this.buffer=e,this.byteLength=r,this.byteOffset=o)}).prototype,i&&(G(T,"byteLength"),G(C,"buffer"),G(C,"byteLength"),G(C,"byteOffset")),c(L,{getInt8:function(e){return K(this,1,e)[0]<<24>>24},getUint8:function(e){return K(this,1,e)[0]},getInt16:function(e){var t=K(this,2,e,arguments.length>1?arguments[1]:void 0);return(t[1]<<8|t[0])<<16>>16},getUint16:function(e){var t=K(this,2,e,arguments.length>1?arguments[1]:void 0);return t[1]<<8|t[0]},getInt32:function(e){return z(K(this,4,e,arguments.length>1?arguments[1]:void 0))},getUint32:function(e){return z(K(this,4,e,arguments.length>1?arguments[1]:void 0))>>>0},getFloat32:function(e){return F(K(this,4,e,arguments.length>1?arguments[1]:void 0),23)},getFloat64:function(e){return F(K(this,8,e,arguments.length>1?arguments[1]:void 0),52)},setInt8:function(e,t){Y(this,1,e,B,t)},setUint8:function(e,t){Y(this,1,e,B,t)},setInt16:function(e,t){Y(this,2,e,q,t,arguments.length>2?arguments[2]:void 0)},setUint16:function(e,t){Y(this,2,e,q,t,arguments.length>2?arguments[2]:void 0)},setInt32:function(e,t){Y(this,4,e,W,t,arguments.length>2?arguments[2]:void 0)},setUint32:function(e,t){Y(this,4,e,W,t,arguments.length>2?arguments[2]:void 0)},setFloat32:function(e,t){Y(this,4,e,H,t,arguments.length>2?arguments[2]:void 0)},setFloat64:function(e,t){Y(this,8,e,V,t,arguments.length>2?arguments[2]:void 0)}});O(T,"ArrayBuffer"),O(C,"DataView"),e.exports={ArrayBuffer:T,DataView:C}},function(e,t){e.exports="undefined"!=typeof ArrayBuffer&&"undefined"!=typeof DataView},function(e,t,r){var n=r(64),o=r(65),i=RangeError;e.exports=function(e){if(void 0===e)return 0;var t=n(e),r=o(t);if(t!==r)throw i("Wrong length or index");return r}},function(e,t,r){"use strict";var n=r(40),o=r(75),i=r(44);e.exports=function(e){for(var t=n(this),r=i(t),a=arguments.length,u=o(a>1?arguments[1]:void 0,r),s=a>2?arguments[2]:void 0,c=void 0===s?r:o(s,r);c>u;)t[u++]=e;return t}},function(e,t,r){var n=r(743),o=RangeError;e.exports=function(e,t){var r=n(e);if(r%t)throw o("Wrong offset");return r}},function(e,t,r){"use strict";var n=r(85),o=TypeError;e.exports=function(e,t){if(!delete e[t])throw o("Cannot delete property "+n(t)+" of "+n(e))}},function(e,t,r){var n=r(53),o=r(40),i=r(115),a=r(44),u=TypeError,s=function(e){return function(t,r,s,c){n(r);var l=o(t),f=i(l),p=a(l),d=e?p-1:0,h=e?-1:1;if(s<2)for(;;){if(d in f){c=f[d],d+=h;break}if(d+=h,e?d<0:p<=d)throw u("Reduce of empty array with no initial value")}for(;e?d>=0:p>d;d+=h)d in f&&(c=r(c,f[d],d,l));return c}};e.exports={left:s(!1),right:s(!0)}},function(e,t,r){var n=r(73).match(/firefox\/(\d+)/i);e.exports=!!n&&+n[1]},function(e,t,r){var n=r(73);e.exports=/MSIE|Trident/.test(n)},function(e,t,r){var n=r(73).match(/AppleWebKit\/(\d+)\./);e.exports=!!n&&+n[1]},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isCustomProperty=s,t.vendorPrefix=t.property=t.keyword=void 0,r(2),r(94),r(1),r(4),r(5),r(426);var n=new Map,o=new Map,i=function(e){if(n.has(e))return n.get(e);var t=e.toLowerCase(),r=n.get(t);if(void 0===r){var o=s(t,0),i=o?"":c(t,0);r=Object.freeze({basename:t.substr(i.length),name:t,prefix:i,vendor:i,custom:o})}return n.set(e,r),r};t.keyword=i;var a=function(e){if(o.has(e))return o.get(e);var t=e,r=e[0];"/"===r?r="/"===e[1]?"//":"/":"_"!==r&&"*"!==r&&"$"!==r&&"#"!==r&&"+"!==r&&"&"!==r&&(r="");var n=s(t,r.length);if(!n&&(t=t.toLowerCase(),o.has(t))){var i=o.get(t);return o.set(e,i),i}var a=n?"":c(t,r.length),u=t.substr(0,r.length+a.length),l=Object.freeze({basename:t.substr(u.length),name:t.substr(r.length),hack:r,vendor:a,prefix:u,custom:n});return o.set(e,l),l};t.property=a;var u=c;function s(e,t){return t=t||0,e.length-t>=2&&45===e.charCodeAt(t)&&45===e.charCodeAt(t+1)}function c(e,t){if(t=t||0,e.length-t>=3&&45===e.charCodeAt(t)&&45!==e.charCodeAt(t+1)){var r=e.indexOf("-",t+2);if(-1!==r)return e.substring(t,r+1)}return""}t.vendorPrefix=u},function(e,t,r){var n=r(12),o=r(314),i=r(9),a=r(24),u=r(126).onFreeze,s=Object.freeze;n({target:"Object",stat:!0,forced:i((function(){s(1)})),sham:!o},{freeze:function(e){return s&&a(e)?s(u(e)):e}})},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.decode=function(e){var t=e.length,r=4,o=41===e.charCodeAt(t-1)?t-2:t-1,i="";for(;r<o&&(0,n.isWhiteSpace)(e.charCodeAt(r));)r++;for(;r<o&&(0,n.isWhiteSpace)(e.charCodeAt(o));)o--;for(var a=r;a<=o;a++){var u=e.charCodeAt(a);if(92===u){if(a===o){a!==t-1&&(i=e.substr(a+1));break}if(u=e.charCodeAt(++a),(0,n.isValidEscape)(92,u)){var s=a-1,c=(0,n.consumeEscaped)(e,s);a=c-1,i+=(0,n.decodeEscaped)(e.substring(s+1,c))}else 13===u&&10===e.charCodeAt(a+1)&&a++}else i+=e[a]}return i},t.encode=function(e){for(var t="",r=!1,o=0;o<e.length;o++){var i=e.charCodeAt(o);0!==i?i<=31||127===i?(t+="\\"+i.toString(16),r=!0):32===i||92===i||34===i||39===i||40===i||41===i?(t+="\\"+e.charAt(o),r=!1):(r&&(0,n.isHexDigit)(i)&&(t+=" "),t+=e.charAt(o),r=!1):t+="�"}return"url("+t+")"},r(1),r(87);var n=r(11)},function(e,t,r){"use strict";var n=r(12),o=r(777).start;n({target:"String",proto:!0,forced:r(778)},{padStart:function(e){return o(this,e,arguments.length>1?arguments[1]:void 0)}})},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){switch(this.tokenType){case n.Hash:return this.Hash();case n.Comma:return this.Operator();case n.LeftParenthesis:return this.Parentheses(this.readSequence,e.recognizer);case n.LeftSquareBracket:return this.Brackets(this.readSequence,e.recognizer);case n.String:return this.String();case n.Dimension:return this.Dimension();case n.Percentage:return this.Percentage();case n.Number:return this.Number();case n.Function:return this.cmpStr(this.tokenStart,this.tokenEnd,"url(")?this.Url():this.Function(this.readSequence,e.recognizer);case n.Url:return this.Url();case n.Ident:return this.cmpChar(this.tokenStart,117)&&this.cmpChar(this.tokenStart+1,43)?this.UnicodeRange():this.Identifier();case n.Delim:var t=this.charCodeAt(this.tokenStart);if(47===t||42===t||43===t||45===t)return this.Operator();35===t&&this.error("Hex or identifier is expected",this.tokenStart+1)}};var n=r(11)},function(e,t,r){"use strict";var n=r(12),o=r(46).find,i=r(197),a=!0;"find"in[]&&Array(1).find((function(){a=!1})),n({target:"Array",proto:!0,forced:a},{find:function(e){return o(this,e,arguments.length>1?arguments[1]:void 0)}}),i("find")},function(e,t,r){"use strict";var n=function(e){return function(e){return!!e&&"object"==typeof e}(e)&&!function(e){var t=Object.prototype.toString.call(e);return"[object RegExp]"===t||"[object Date]"===t||function(e){return e.$$typeof===o}(e)}(e)};var o="function"==typeof Symbol&&Symbol.for?Symbol.for("react.element"):60103;function i(e,t){return!1!==t.clone&&t.isMergeableObject(e)?l((r=e,Array.isArray(r)?[]:{}),e,t):e;var r}function a(e,t,r){return e.concat(t).map((function(e){return i(e,r)}))}function u(e){return Object.keys(e).concat(function(e){return Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(e).filter((function(t){return e.propertyIsEnumerable(t)})):[]}(e))}function s(e,t){try{return t in e}catch(e){return!1}}function c(e,t,r){var n={};return r.isMergeableObject(e)&&u(e).forEach((function(t){n[t]=i(e[t],r)})),u(t).forEach((function(o){(function(e,t){return s(e,t)&&!(Object.hasOwnProperty.call(e,t)&&Object.propertyIsEnumerable.call(e,t))})(e,o)||(s(e,o)&&r.isMergeableObject(t[o])?n[o]=function(e,t){if(!t.customMerge)return l;var r=t.customMerge(e);return"function"==typeof r?r:l}(o,r)(e[o],t[o],r):n[o]=i(t[o],r))})),n}function l(e,t,r){(r=r||{}).arrayMerge=r.arrayMerge||a,r.isMergeableObject=r.isMergeableObject||n,r.cloneUnlessOtherwiseSpecified=i;var o=Array.isArray(t);return o===Array.isArray(e)?o?r.arrayMerge(e,t,r):c(e,t,r):i(t,r)}l.all=function(e,t){if(!Array.isArray(e))throw new Error("first argument should be an array");return e.reduce((function(e,r){return l(e,r,t)}),{})};var f=l;e.exports=f},function(e,t){var r="undefined"!=typeof Element,n="function"==typeof Map,o="function"==typeof Set,i="function"==typeof ArrayBuffer&&!!ArrayBuffer.isView;e.exports=function(e,t){try{return function e(t,a){if(t===a)return!0;if(t&&a&&"object"==typeof t&&"object"==typeof a){if(t.constructor!==a.constructor)return!1;var u,s,c,l;if(Array.isArray(t)){if((u=t.length)!=a.length)return!1;for(s=u;0!=s--;)if(!e(t[s],a[s]))return!1;return!0}if(n&&t instanceof Map&&a instanceof Map){if(t.size!==a.size)return!1;for(l=t.entries();!(s=l.next()).done;)if(!a.has(s.value[0]))return!1;for(l=t.entries();!(s=l.next()).done;)if(!e(s.value[1],a.get(s.value[0])))return!1;return!0}if(o&&t instanceof Set&&a instanceof Set){if(t.size!==a.size)return!1;for(l=t.entries();!(s=l.next()).done;)if(!a.has(s.value[0]))return!1;return!0}if(i&&ArrayBuffer.isView(t)&&ArrayBuffer.isView(a)){if((u=t.length)!=a.length)return!1;for(s=u;0!=s--;)if(t[s]!==a[s])return!1;return!0}if(t.constructor===RegExp)return t.source===a.source&&t.flags===a.flags;if(t.valueOf!==Object.prototype.valueOf)return t.valueOf()===a.valueOf();if(t.toString!==Object.prototype.toString)return t.toString()===a.toString();if((u=(c=Object.keys(t)).length)!==Object.keys(a).length)return!1;for(s=u;0!=s--;)if(!Object.prototype.hasOwnProperty.call(a,c[s]))return!1;if(r&&t instanceof Element)return!1;for(s=u;0!=s--;)if(("_owner"!==c[s]&&"__v"!==c[s]&&"__o"!==c[s]||!t.$$typeof)&&!e(t[c[s]],a[c[s]]))return!1;return!0}return t!=t&&a!=a}(e,t)}catch(e){if((e.message||"").match(/stack|recursion/i))return console.warn("react-fast-compare cannot handle circular refs"),!1;throw e}}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.defaultProps=t.propTypes=void 0;var n,o=(n=r(219))&&n.__esModule?n:{default:n};var i=o.default.string,a=o.default.bool,u=o.default.number,s=o.default.array,c=o.default.oneOfType,l=o.default.shape,f=o.default.object,p=o.default.func,d=o.default.node,h={url:c([i,s,f]),playing:a,loop:a,controls:a,volume:u,muted:a,playbackRate:u,width:c([i,u]),height:c([i,u]),style:f,progressInterval:u,playsinline:a,pip:a,stopOnUnmount:a,light:c([a,i]),playIcon:d,previewTabIndex:u,fallback:d,oEmbedUrl:i,wrapper:c([i,p,l({render:p.isRequired})]),config:l({soundcloud:l({options:f}),youtube:l({playerVars:f,embedOptions:f,onUnstarted:p}),facebook:l({appId:i,version:i,playerId:i,attributes:f}),dailymotion:l({params:f}),vimeo:l({playerOptions:f,title:i}),file:l({attributes:f,tracks:s,forceVideo:a,forceAudio:a,forceHLS:a,forceDASH:a,forceFLV:a,hlsOptions:f,hlsVersion:i,dashVersion:i,flvVersion:i}),wistia:l({options:f,playerId:i,customControls:s}),mixcloud:l({options:f}),twitch:l({options:f,playerId:i}),vidyard:l({options:f})}),onReady:p,onStart:p,onPlay:p,onPause:p,onBuffer:p,onBufferEnd:p,onEnded:p,onError:p,onDuration:p,onSeek:p,onPlaybackRateChange:p,onProgress:p,onClickPreview:p,onEnablePIP:p,onDisablePIP:p};t.propTypes=h;var y=function(){},v={playing:!1,loop:!1,controls:!1,volume:null,muted:!1,playbackRate:1,width:"640px",height:"360px",style:{},progressInterval:1e3,playsinline:!1,pip:!1,stopOnUnmount:!0,light:!1,fallback:null,wrapper:"div",previewTabIndex:0,oEmbedUrl:"https://noembed.com/embed?url={url}",config:{soundcloud:{options:{visual:!0,buying:!1,liking:!1,download:!1,sharing:!1,show_comments:!1,show_playcount:!1}},youtube:{playerVars:{playsinline:1,showinfo:0,rel:0,iv_load_policy:3,modestbranding:1},embedOptions:{},onUnstarted:y},facebook:{appId:"1309697205772819",version:"v3.3",playerId:null,attributes:{}},dailymotion:{params:{api:1,"endscreen-enable":!1}},vimeo:{playerOptions:{autopause:!1,byline:!1,portrait:!1,title:!1},title:null},file:{attributes:{},tracks:[],forceVideo:!1,forceAudio:!1,forceHLS:!1,forceDASH:!1,forceFLV:!1,hlsOptions:{},hlsVersion:"1.1.4",dashVersion:"3.1.3",flvVersion:"1.5.0"},wistia:{options:{},playerId:null,customControls:null},mixcloud:{options:{hide_cover:1}},twitch:{options:{},playerId:null},vidyard:{options:{}}},onReady:y,onStart:y,onPlay:y,onPause:y,onBuffer:y,onBufferEnd:y,onEnded:y,onError:y,onDuration:y,onSeek:y,onPlaybackRateChange:y,onProgress:y,onClickPreview:y,onEnablePIP:y,onDisablePIP:y};t.defaultProps=v},function(e,t,r){"use strict";function n(e){return(n="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)}r(28),r(29),r(1),r(33),r(36),r(3),r(7),r(8),r(2),r(4),r(5),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,r(32);var o=a(r(0)),i=a(r(41));function a(e){return e&&e.__esModule?e:{default:e}}function u(){return(u=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(this,arguments)}function s(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function c(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function l(e,t,r){return t&&c(e.prototype,t),r&&c(e,r),Object.defineProperty(e,"prototype",{writable:!1}),e}function f(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}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&p(e,t)}function p(e,t){return(p=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function d(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 Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var r,n=v(e);if(t){var o=v(this).constructor;r=Reflect.construct(n,arguments,o)}else r=n.apply(this,arguments);return h(this,r)}}function h(e,t){if(t&&("object"===n(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return y(e)}function y(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.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function m(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var b=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{enabled:!1};return function(r){f(a,r);var n=d(a);function a(e){var r;return s(this,a),m(y(r=n.call(this,e)),"iframePlaceholder",o.default.createRef()),m(y(r),"handleResize",(function(){t.enabled&&r.updateIframePosition()})),m(y(r),"updateIframePosition",(function(){if(!i.default.isVerticallyScrolling(r.props))if(r.iframePlaceholder){var e=r.iframePlaceholder,t=r.state,n=t.iframePlaceholderTop,o=t.iframePlaceholderWidth,a=t.iframePlaceholderHeight,u=e.getBoundingClientRect(),s=u.top,c=u.width,l=u.height;n===s&&o===c&&a===l||(r.setState({iframePlaceholderTop:s,iframePlaceholderWidth:c,iframePlaceholderHeight:l}),setTimeout(r.updateIframePosition,60))}else console.warn("Could not find iframePlaceholder node")})),m(y(r),"iframeStyleBlock",(function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"iframe";return t.enabled?"\n .context__desktop .".concat(e,".figure__large.figure__inline .embed.supported {\n padding-top: 0 !important;\n position: static !important;\n transform: none !important;\n }\n\n .context__desktop .spread-with-fullbleed-media .").concat(e,".figure__large.figure__inline .embed.supported {\n position: relative !important;\n }\n\n .context__desktop .spread-with-fullbleed-media .").concat(e,".figure__large.figure__inline .embed.supported iframe,\n .context__desktop .spread-with-fullbleed-media .").concat(e,".figure__large.figure__inline .embed.supported .bber-iframe-placeholder + div {\n top: 0 !important;\n }\n "):""})),r.state={iframePlaceholderTop:0,iframePlaceholderWidth:0,iframePlaceholderHeight:0},r}return l(a,[{key:"UNSAFE_componentWillMount",value:function(){window.addEventListener("resize",this.handleResize)}},{key:"componentDidMount",value:function(){t.enabled&&this.updateIframePosition()}},{key:"componentWillUnmount",value:function(){window.removeEventListener("resize",this.handleResize)}},{key:"render",value:function(){var t=this;return o.default.createElement(e,u({},this.props,this.state,{iframeStyleBlock:this.iframeStyleBlock,innerRef:function(e){return t.iframePlaceholder=e}}))}}]),a}(o.default.Component)};t.default=b},function(e,t,r){var n=r(436),o=r(172),i=Object.prototype.hasOwnProperty;e.exports=function(e,t,r){var a=e[t];i.call(e,t)&&o(a,r)&&(void 0!==r||t in e)||n(e,t,r)}},function(e,t,r){var n=r(437);e.exports=function(e,t,r){"__proto__"==t&&n?n(e,t,{configurable:!0,enumerable:!0,value:r,writable:!0}):e[t]=r}},function(e,t,r){var n=r(93),o=function(){try{var e=n(Object,"defineProperty");return e({},"",{}),e}catch(e){}}();e.exports=o},function(e,t,r){var n=r(221),o=r(207),i=r(222),a=r(359),u=Object.getOwnPropertySymbols?function(e){for(var t=[];e;)n(t,i(e)),e=o(e);return t}:a;e.exports=u},function(e,t,r){var n=r(358),o=r(438),i=r(288);e.exports=function(e){return n(e,i,o)}},function(e,t,r){"use strict";function n(e){return(n="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)}r(28),r(29),r(1),r(33),r(16),r(3),r(36),r(7),r(8),r(2),r(4),r(5),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,r(32),r(350),r(69),r(428);var o=l(r(0)),i=l(r(95)),a=l(r(178)),u=l(r(876)),s=r(45),c=["elemRef","verso","recto","spreadIndex","elementEdgeLeft","MediaComponent","mediaType","autoPlay","currentSpreadIndex","view","viewerSettings","readerSettings","controls"];function l(e){return e&&e.__esModule?e:{default:e}}function f(){return(f=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(this,arguments)}function p(e,t){if(null==e)return{};var r,n,o=function(e,t){if(null==e)return{};var r,n,o={},i=Object.keys(e);for(n=0;n<i.length;n++)r=i[n],t.indexOf(r)>=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(n=0;n<i.length;n++)r=i[n],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}function d(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function h(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function y(e,t){return(y=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function v(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 Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var r,n=g(e);if(t){var o=g(this).constructor;r=Reflect.construct(n,arguments,o)}else r=n.apply(this,arguments);return m(this,r)}}function m(e,t){if(t&&("object"===n(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return b(e)}function b(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function g(e){return(g=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function w(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var S=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}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&y(e,t)}(a,e);var t,r,n,i=v(a);function a(){var e;d(this,a);for(var t=arguments.length,r=new Array(t),n=0;n<t;n++)r[n]=arguments[n];return w(b(e=i.call.apply(i,[this].concat(r))),"state",{autoPlay:e.props.autoPlay||!1,paused:!0,loop:!1,volume:1,playbackRate:s.MEDIA_PLAYBACK_RATES.NORMAL,currentTime:0,duration:0,seeking:!1,muted:!1,progress:0,timeElapsed:"00:00",timeRemaining:"00:00",currentSrc:"",userInitiatedPause:!1}),w(b(e),"onCanPlay",(function(t,r){var n=e.state,o=n.paused,i=n.userInitiatedPause;!0===o&&!1===i&&t.spreadIndex===r.spreadIndex&&e.setState({paused:!1},(function(){return e.playMedia()})),t.spreadIndex!==r.spreadIndex&&!1===o&&e.setState({paused:!0},(function(){return e.pauseMedia()}))})),w(b(e),"playMedia",(function(){var t=e.props.elemRef.current.play();t&&t.catch((function(){})),e.updateControlsUI()})),w(b(e),"pauseMedia",(function(){e.props.elemRef.current.pause()})),w(b(e),"play",(function(){return e.setState({paused:!1,userInitiatedPause:!1},(function(){return e.playMedia()}))})),w(b(e),"pause",(function(){return e.setState({paused:!0,userInitiatedPause:!0},(function(){return e.pauseMedia()}))})),w(b(e),"updateTime",(function(t){var r=e.state.duration,n=e.state.currentTime;n=parseFloat((n+t).toFixed(10)),n=Math.max(0,Math.min(n,r)),e.setState({currentTime:n},(function(){e.props.elemRef.current.currentTime=e.state.currentTime,e.updateControlsUI()}))})),w(b(e),"updateVolume",(function(t){var r=t.currentTarget.value;e.setState({volume:r},(function(){return e.props.elemRef.current.volume=e.state.volume}))})),w(b(e),"updateLoop",(function(){var t=!e.state.loop;e.setState({loop:t},(function(){return e.props.elemRef.current.loop=e.state.loop}))})),w(b(e),"updatePlaybackRate",(function(t){return e.setState({playbackRate:t},(function(){return e.props.elemRef.current.playbackRate=e.state.playbackRate}))})),w(b(e),"updateControlsUI",(function(){var t;e.updateTimeStamps(),e.updateProgress(),e.state.paused||null!==(t=e.props.elemRef)&&void 0!==t&&t.current&&setTimeout(e.updateControlsUI.bind(b(e)),1e3)})),w(b(e),"updateTimeStamps",(function(){var t;if(null!==(t=e.props.elemRef)&&void 0!==t&&t.current){var r=e.props.elemRef.current.currentTime,n=e.displayTime(r);e.setState({currentTime:r,timeElapsed:n})}})),w(b(e),"updateProgress",(function(){var t;if(null!==(t=e.props.elemRef)&&void 0!==t&&t.current){var r=e.props.elemRef.current.currentTime;e.setState({progress:r})}})),w(b(e),"timeForward",(function(){return e.updateTime(a.skipStep)})),w(b(e),"timeBack",(function(){return e.updateTime(-1*a.skipStep)})),w(b(e),"seek",(function(t){var r=Number(t.target.value),n=r;e.setState({progress:r,currentTime:n},(function(){e.props.elemRef.current.currentTime=e.state.currentTime,e.updateTimeStamps()}))})),w(b(e),"toggleFullscreen",(function(){var t=e.props.elemRef.current;e.fullscreenElement()?e.exitFullscreen(t):e.requestFullscreen(t)})),w(b(e),"handleLoad",(function(){var t=e.props.elemRef.current,r=t.seeking,n=t.currentTime,o=t.duration,i=t.playbackRate,a=t.loop,u=t.volume,s=t.muted,c=t.currentSrc;e.props.elemRef.current.preload="auto",console.log("load");var l=e.displayTime(o);e.setState({seeking:r,muted:s,currentTime:n,duration:o,playbackRate:i,loop:a,volume:u,timeRemaining:l,currentSrc:c})})),w(b(e),"handleEnded",(function(){return e.setState({paused:!0,userInitiatedPause:!0})})),e}return t=a,(r=[{key:"UNSAFE_componentWillMount",value:function(){!0===this.props["data-autoplay"]&&this.setState({autoPlay:!0})}},{key:"UNSAFE_componentWillReceiveProps",value:function(e,t){if(this.state.autoPlay){var r=this;this.props.elemRef.current.addEventListener("canplay",(function n(){r.onCanPlay(e,t),r.props.elemRef.current.removeEventListener("canplay",n)}))}}},{key:"displayTime",value:function(e){var t=Math.round(e),r=t%60,n=(t-r)/60;return r=String(r).padStart(2,"0"),n=String(n).padStart(2,"0"),"".concat(n,":").concat(r)}},{key:"fullscreenElement",value:function(){return document.fullscreenElement||document.webkitFullscreenElement||document.mozFullScreenElement||document.msFullscreenElement}},{key:"requestFullscreen",value:function(e){e.requestFullscreen?e.requestFullscreen():e.mozRequestFullScreen?e.mozRequestFullScreen():e.webkitRequestFullscreen?e.webkitRequestFullscreen():e.msRequestFullscreen&&e.msRequestFullscreen()}},{key:"exitFullscreen",value:function(e){e.exitFullscreen?e.exitFullscreen():e.mozCancelFullScreen?e.mozCancelFullScreen():e.webkitExitFullscreen?e.webkitExitFullscreen():e.msExitFullscreen&&e.msExitFullscreen()}},{key:"render",value:function(){var e=this.props,t=e.elemRef,r=(e.verso,e.recto,e.spreadIndex,e.elementEdgeLeft,e.MediaComponent),n=e.mediaType,i=(e.autoPlay,e.currentSpreadIndex,e.view,e.viewerSettings,e.readerSettings,e.controls),a=p(e,c),l=null,d=!0;return i?s.MEDIA_CONTROLS_PRESETS.has(i)&&(l=i,d=!1):d=!1,o.default.createElement(o.default.Fragment,null,o.default.createElement(r,f({elementKey:a.id,elementRef:t,handleLoad:this.handleLoad,handleEnded:this.handleEnded,controls:d},a)),o.default.createElement(u.default,{config:l,mediaType:n,play:this.play,pause:this.pause,timeForward:this.timeForward,timeBack:this.timeBack,updateVolume:this.updateVolume,updateLoop:this.updateLoop,updatePlaybackRate:this.updatePlaybackRate,seek:this.seek,toggleFullscreen:this.toggleFullscreen,currentSrc:this.state.currentSrc,currentTime:this.state.currentTime,duration:this.state.duration,progress:this.state.progress,timeElapsed:this.state.timeElapsed,timeRemaining:this.state.timeRemaining,paused:this.state.paused,playbackRate:this.state.playbackRate,volume:this.state.volume,loop:this.state.loop}))}}])&&h(t.prototype,r),n&&h(t,n),Object.defineProperty(t,"prototype",{writable:!1}),a}(o.default.Component);w(S,"contextType",i.default),w(S,"skipStep",30);var O=(0,a.default)(S,{useParentDimensions:!0});t.default=O},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.MediaButtonSeekBack=function(e){return o.default.createElement("button",{className:"bber-button material-icons bber-media__button__replay_30",onClick:e.timeBack},"replay_30")},t.MediaButtonSeekForward=function(e){return o.default.createElement("button",{className:"bber-button material-icons bber-media__button__forward_30",onClick:e.timeForward},"forward_30")};var n,o=(n=r(0))&&n.__esModule?n:{default:n}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n,o=(n=r(0))&&n.__esModule?n:{default:n},i=r(45);var a=function(e){switch(e.playbackRate){case i.MEDIA_PLAYBACK_RATES.SLOW:return o.default.createElement("button",{className:"bber-button bber-button__media__playback-rate",onClick:e.playbackNormal},"0.5",o.default.createElement("span",{className:"bber-times__media__playback-rate"},"×"));case i.MEDIA_PLAYBACK_RATES.NORMAL:return o.default.createElement("button",{className:"bber-button bber-button__media__playback-rate",onClick:e.playbackFast},"1",o.default.createElement("span",{className:"bber-times__media__playback-rate"},"×"));case i.MEDIA_PLAYBACK_RATES.FAST:return o.default.createElement("button",{className:"bber-button bber-button__media__playback-rate",onClick:e.playbackSlow},"1.5",o.default.createElement("span",{className:"bber-times__media__playback-rate"},"×"));default:return null}};t.default=a},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=a(r(0)),o=a(r(191)),i=a(r(143));function a(e){return e&&e.__esModule?e:{default:e}}var u=function(e){return n.default.createElement(n.default.Fragment,null,n.default.createElement(o.default,{paused:e.paused,pause:e.pause,play:e.play}),n.default.createElement(i.default,{duration:e.duration,progress:e.progress,seek:e.seek}))};t.default=u},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=s(r(0)),o=s(r(443)),i=s(r(190)),a=s(r(290)),u=s(r(885));function s(e){return e&&e.__esModule?e:{default:e}}var c=function(e){return n.default.createElement(n.default.Fragment,null,n.default.createElement(o.default,e),n.default.createElement(i.default,{timeElapsed:e.timeElapsed,timeRemaining:e.timeRemaining}),n.default.createElement(a.default,{volumeUp:e.volumeUp,volumeDown:e.volumeDown}),n.default.createElement(u.default,{toggleFullscreen:e.toggleFullscreen}))};t.default=c},function(e,t,r){"use strict";e.exports=r(449)},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=f(r(0)),o=r(59),i=r(37),a=f(r(450)),u=f(r(451)),s=r(293),c=r(57),l=r(106);function f(e){return e&&e.__esModule?e:{default:e}}r(891);var p=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=(0,o.createStore)(u.default,{readerSettings:(0,c.mergeDeep)(s.initialState,e)},(0,o.compose)((0,o.applyMiddleware)(a.default)));return n.default.createElement(i.Provider,{store:t},n.default.createElement(l.App,null))};t.default=p},function(e,t,r){"use strict";e.exports=r(448)},function(e,t,r){"use strict";
14
+ /** @license React v16.13.1
15
+ * react-is.production.min.js
16
+ *
17
+ * Copyright (c) Facebook, Inc. and its affiliates.
18
+ *
19
+ * This source code is licensed under the MIT license found in the
20
+ * LICENSE file in the root directory of this source tree.
21
+ */var n="function"==typeof Symbol&&Symbol.for,o=n?Symbol.for("react.element"):60103,i=n?Symbol.for("react.portal"):60106,a=n?Symbol.for("react.fragment"):60107,u=n?Symbol.for("react.strict_mode"):60108,s=n?Symbol.for("react.profiler"):60114,c=n?Symbol.for("react.provider"):60109,l=n?Symbol.for("react.context"):60110,f=n?Symbol.for("react.async_mode"):60111,p=n?Symbol.for("react.concurrent_mode"):60111,d=n?Symbol.for("react.forward_ref"):60112,h=n?Symbol.for("react.suspense"):60113,y=n?Symbol.for("react.suspense_list"):60120,v=n?Symbol.for("react.memo"):60115,m=n?Symbol.for("react.lazy"):60116,b=n?Symbol.for("react.block"):60121,g=n?Symbol.for("react.fundamental"):60117,w=n?Symbol.for("react.responder"):60118,S=n?Symbol.for("react.scope"):60119;function O(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case o:switch(e=e.type){case f:case p:case a:case s:case u:case h:return e;default:switch(e=e&&e.$$typeof){case l:case d:case m:case v:case c:return e;default:return t}}case i:return t}}}function _(e){return O(e)===p}t.AsyncMode=f,t.ConcurrentMode=p,t.ContextConsumer=l,t.ContextProvider=c,t.Element=o,t.ForwardRef=d,t.Fragment=a,t.Lazy=m,t.Memo=v,t.Portal=i,t.Profiler=s,t.StrictMode=u,t.Suspense=h,t.isAsyncMode=function(e){return _(e)||O(e)===f},t.isConcurrentMode=_,t.isContextConsumer=function(e){return O(e)===l},t.isContextProvider=function(e){return O(e)===c},t.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===o},t.isForwardRef=function(e){return O(e)===d},t.isFragment=function(e){return O(e)===a},t.isLazy=function(e){return O(e)===m},t.isMemo=function(e){return O(e)===v},t.isPortal=function(e){return O(e)===i},t.isProfiler=function(e){return O(e)===s},t.isStrictMode=function(e){return O(e)===u},t.isSuspense=function(e){return O(e)===h},t.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===a||e===p||e===s||e===u||e===h||e===y||"object"==typeof e&&null!==e&&(e.$$typeof===m||e.$$typeof===v||e.$$typeof===c||e.$$typeof===l||e.$$typeof===d||e.$$typeof===g||e.$$typeof===w||e.$$typeof===S||e.$$typeof===b)},t.typeOf=O},function(e,t,r){"use strict";
22
+ /** @license React v17.0.2
23
+ * react-is.production.min.js
24
+ *
25
+ * Copyright (c) Facebook, Inc. and its affiliates.
26
+ *
27
+ * This source code is licensed under the MIT license found in the
28
+ * LICENSE file in the root directory of this source tree.
29
+ */var n=60103,o=60106,i=60107,a=60108,u=60114,s=60109,c=60110,l=60112,f=60113,p=60120,d=60115,h=60116,y=60121,v=60122,m=60117,b=60129,g=60131;if("function"==typeof Symbol&&Symbol.for){var w=Symbol.for;n=w("react.element"),o=w("react.portal"),i=w("react.fragment"),a=w("react.strict_mode"),u=w("react.profiler"),s=w("react.provider"),c=w("react.context"),l=w("react.forward_ref"),f=w("react.suspense"),p=w("react.suspense_list"),d=w("react.memo"),h=w("react.lazy"),y=w("react.block"),v=w("react.server.block"),m=w("react.fundamental"),b=w("react.debug_trace_mode"),g=w("react.legacy_hidden")}function S(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case n:switch(e=e.type){case i:case u:case a:case f:case p:return e;default:switch(e=e&&e.$$typeof){case c:case l:case h:case d:case s:return e;default:return t}}case o:return t}}}var O=s,_=n,x=l,E=i,P=h,k=d,j=o,T=u,A=a,C=f;t.ContextConsumer=c,t.ContextProvider=O,t.Element=_,t.ForwardRef=x,t.Fragment=E,t.Lazy=P,t.Memo=k,t.Portal=j,t.Profiler=T,t.StrictMode=A,t.Suspense=C,t.isAsyncMode=function(){return!1},t.isConcurrentMode=function(){return!1},t.isContextConsumer=function(e){return S(e)===c},t.isContextProvider=function(e){return S(e)===s},t.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===n},t.isForwardRef=function(e){return S(e)===l},t.isFragment=function(e){return S(e)===i},t.isLazy=function(e){return S(e)===h},t.isMemo=function(e){return S(e)===d},t.isPortal=function(e){return S(e)===o},t.isProfiler=function(e){return S(e)===u},t.isStrictMode=function(e){return S(e)===a},t.isSuspense=function(e){return S(e)===f},t.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===i||e===u||e===b||e===a||e===f||e===p||e===g||"object"==typeof e&&null!==e&&(e.$$typeof===h||e.$$typeof===d||e.$$typeof===s||e.$$typeof===c||e.$$typeof===l||e.$$typeof===m||e.$$typeof===y||e[0]===v)},t.typeOf=S},function(e,t,r){"use strict";function n(e){return function(t){var r=t.dispatch,n=t.getState;return function(t){return function(o){return"function"==typeof o?o(r,n,e):t(o)}}}}r.r(t);var o=n();o.withExtraArgument=n,t.default=o},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=r(59),o=l(r(293)),i=l(r(505)),a=l(r(551)),u=l(r(552)),s=l(r(553)),c=l(r(554));function l(e){return e&&e.__esModule?e:{default:e}}var f={readerSettings:o.default,viewerSettings:i.default,readerLocation:a.default,markers:u.default,view:s.default,userInterface:c.default},p=(0,n.combineReducers)(f);t.default=p},function(e,t,r){var n=r(20),o=r(21),i=r(24),a=TypeError;e.exports=function(e,t){var r,u;if("string"===t&&o(r=e.toString)&&!i(u=n(r,e)))return u;if(o(r=e.valueOf)&&!i(u=n(r,e)))return u;if("string"!==t&&o(r=e.toString)&&!i(u=n(r,e)))return u;throw a("Can't convert object to primitive value")}},function(e,t){var r=Math.ceil,n=Math.floor;e.exports=Math.trunc||function(e){var t=+e;return(t>0?n:r)(t)}},function(e,t,r){"use strict";var n=r(12),o=r(13),i=r(20),a=r(10),u=r(62),s=r(23),c=r(98),l=r(9),f=r(25),p=r(61),d=r(30),h=r(48),y=r(116),v=r(38),m=r(83),b=r(67),g=r(120),w=r(74),S=r(304),O=r(149),_=r(71),x=r(31),E=r(302),P=r(144),k=r(39),j=r(100),T=r(147),A=r(118),C=r(117),L=r(18),R=r(305),I=r(150),N=r(456),M=r(54),D=r(43),U=r(46).forEach,F=T("hidden"),B=D.set,q=D.getterFor("Symbol"),W=Object.prototype,z=o.Symbol,H=z&&z.prototype,V=o.TypeError,G=o.QObject,K=_.f,Y=x.f,$=S.f,X=P.f,Q=a([].push),J=j("symbols"),Z=j("op-symbols"),ee=j("wks"),te=!G||!G.prototype||!G.prototype.findChild,re=s&&l((function(){return 7!=b(Y({},"a",{get:function(){return Y(this,"a",{value:7}).a}})).a}))?function(e,t,r){var n=K(W,t);n&&delete W[t],Y(e,t,r),n&&e!==W&&Y(W,t,n)}:Y,ne=function(e,t){var r=J[e]=b(H);return B(r,{type:"Symbol",tag:e,description:t}),s||(r.description=t),r},oe=function(e,t,r){e===W&&oe(Z,t,r),d(e);var n=y(t);return d(r),f(J,n)?(r.enumerable?(f(e,F)&&e[F][n]&&(e[F][n]=!1),r=b(r,{enumerable:m(0,!1)})):(f(e,F)||Y(e,F,m(1,{})),e[F][n]=!0),re(e,n,r)):Y(e,n,r)},ie=function(e,t){d(e);var r=h(t),n=g(r).concat(ce(r));return U(n,(function(t){s&&!i(ae,r,t)||oe(e,t,r[t])})),e},ae=function(e){var t=y(e),r=i(X,this,t);return!(this===W&&f(J,t)&&!f(Z,t))&&(!(r||!f(this,t)||!f(J,t)||f(this,F)&&this[F][t])||r)},ue=function(e,t){var r=h(e),n=y(t);if(r!==W||!f(J,n)||f(Z,n)){var o=K(r,n);return!o||!f(J,n)||f(r,F)&&r[F][n]||(o.enumerable=!0),o}},se=function(e){var t=$(h(e)),r=[];return U(t,(function(e){f(J,e)||f(A,e)||Q(r,e)})),r},ce=function(e){var t=e===W,r=$(t?Z:h(e)),n=[];return U(r,(function(e){!f(J,e)||t&&!f(W,e)||Q(n,J[e])})),n};c||(k(H=(z=function(){if(p(H,this))throw V("Symbol is not a constructor");var e=arguments.length&&void 0!==arguments[0]?v(arguments[0]):void 0,t=C(e),r=function(e){this===W&&i(r,Z,e),f(this,F)&&f(this[F],t)&&(this[F][t]=!1),re(this,t,m(1,e))};return s&&te&&re(W,t,{configurable:!0,set:r}),ne(t,e)}).prototype,"toString",(function(){return q(this).tag})),k(z,"withoutSetter",(function(e){return ne(C(e),e)})),P.f=ae,x.f=oe,E.f=ie,_.f=ue,w.f=S.f=se,O.f=ce,R.f=function(e){return ne(L(e),e)},s&&(Y(H,"description",{configurable:!0,get:function(){return q(this).description}}),u||k(W,"propertyIsEnumerable",ae,{unsafe:!0}))),n({global:!0,constructor:!0,wrap:!0,forced:!c,sham:!c},{Symbol:z}),U(g(ee),(function(e){I(e)})),n({target:"Symbol",stat:!0,forced:!c},{useSetter:function(){te=!0},useSimple:function(){te=!1}}),n({target:"Object",stat:!0,forced:!c,sham:!s},{create:function(e,t){return void 0===t?b(e):ie(b(e),t)},defineProperty:oe,defineProperties:ie,getOwnPropertyDescriptor:ue}),n({target:"Object",stat:!0,forced:!c},{getOwnPropertyNames:se}),N(),M(z,"Symbol"),A[F]=!0},function(e,t,r){var n=r(13);e.exports=n},function(e,t,r){var n=r(20),o=r(49),i=r(18),a=r(39);e.exports=function(){var e=o("Symbol"),t=e&&e.prototype,r=t&&t.valueOf,u=i("toPrimitive");t&&!t[u]&&a(t,u,(function(e){return n(r,this)}),{arity:1})}},function(e,t,r){var n=r(151),o=r(152),i=r(24),a=r(18)("species"),u=Array;e.exports=function(e){var t;return n(e)&&(t=e.constructor,(o(t)&&(t===u||n(t.prototype))||i(t)&&null===(t=t[a]))&&(t=void 0)),void 0===t?u:t}},function(e,t,r){var n=r(12),o=r(49),i=r(25),a=r(38),u=r(100),s=r(307),c=u("string-to-symbol-registry"),l=u("symbol-to-string-registry");n({target:"Symbol",stat:!0,forced:!s},{for:function(e){var t=a(e);if(i(c,t))return c[t];var r=o("Symbol")(t);return c[t]=r,l[r]=t,r}})},function(e,t,r){var n=r(12),o=r(25),i=r(97),a=r(85),u=r(100),s=r(307),c=u("symbol-to-string-registry");n({target:"Symbol",stat:!0,forced:!s},{keyFor:function(e){if(!i(e))throw TypeError(a(e)+" is not a symbol");if(o(c,e))return c[e]}})},function(e,t,r){var n=r(12),o=r(49),i=r(77),a=r(20),u=r(10),s=r(9),c=r(151),l=r(21),f=r(24),p=r(97),d=r(102),h=r(98),y=o("JSON","stringify"),v=u(/./.exec),m=u("".charAt),b=u("".charCodeAt),g=u("".replace),w=u(1..toString),S=/[\uD800-\uDFFF]/g,O=/^[\uD800-\uDBFF]$/,_=/^[\uDC00-\uDFFF]$/,x=!h||s((function(){var e=o("Symbol")();return"[null]"!=y([e])||"{}"!=y({a:e})||"{}"!=y(Object(e))})),E=s((function(){return'"\\udf06\\ud834"'!==y("\udf06\ud834")||'"\\udead"'!==y("\udead")})),P=function(e,t){var r=d(arguments),n=t;if((f(t)||void 0!==e)&&!p(e))return c(t)||(t=function(e,t){if(l(n)&&(t=a(n,this,e,t)),!p(t))return t}),r[1]=t,i(y,null,r)},k=function(e,t,r){var n=m(r,t-1),o=m(r,t+1);return v(O,e)&&!v(_,o)||v(_,e)&&!v(O,n)?"\\u"+w(b(e,0),16):e};y&&n({target:"JSON",stat:!0,arity:3,forced:x||E},{stringify:function(e,t,r){var n=d(arguments),o=i(x?P:y,null,n);return E&&"string"==typeof o?g(o,S,k):o}})},function(e,t,r){var n=r(12),o=r(98),i=r(9),a=r(149),u=r(40);n({target:"Object",stat:!0,forced:!o||i((function(){a.f(1)}))},{getOwnPropertySymbols:function(e){var t=a.f;return t?t(u(e)):[]}})},function(e,t,r){"use strict";var n=r(196),o=r(76);e.exports=n?{}.toString:function(){return"[object "+o(this)+"]"}},function(e,t,r){"use strict";var n=r(46).forEach,o=r(154)("forEach");e.exports=o?[].forEach:function(e){return n(this,e,arguments.length>1?arguments[1]:void 0)}},function(e,t,r){var n=r(21),o=String,i=TypeError;e.exports=function(e){if("object"==typeof e||n(e))return e;throw i("Can't set "+o(e)+" as a prototype")}},function(e,t,r){"use strict";var n,o=r(13),i=r(10),a=r(125),u=r(126),s=r(200),c=r(467),l=r(24),f=r(313),p=r(43).enforce,d=r(298),h=!o.ActiveXObject&&"ActiveXObject"in o,y=function(e){return function(){return e(this,arguments.length?arguments[0]:void 0)}},v=s("WeakMap",y,c);if(d&&h){n=c.getConstructor(y,"WeakMap",!0),u.enable();var m=v.prototype,b=i(m.delete),g=i(m.has),w=i(m.get),S=i(m.set);a(m,{delete:function(e){if(l(e)&&!f(e)){var t=p(this);return t.frozen||(t.frozen=new n),b(this,e)||t.frozen.delete(e)}return b(this,e)},has:function(e){if(l(e)&&!f(e)){var t=p(this);return t.frozen||(t.frozen=new n),g(this,e)||t.frozen.has(e)}return g(this,e)},get:function(e){if(l(e)&&!f(e)){var t=p(this);return t.frozen||(t.frozen=new n),g(this,e)?w(this,e):t.frozen.get(e)}return w(this,e)},set:function(e,t){if(l(e)&&!f(e)){var r=p(this);r.frozen||(r.frozen=new n),g(this,e)?S(this,e,t):r.frozen.set(e,t)}else S(this,e,t);return this}})}},function(e,t,r){var n=r(9);e.exports=n((function(){if("function"==typeof ArrayBuffer){var e=new ArrayBuffer(8);Object.isExtensible(e)&&Object.defineProperty(e,"a",{value:8})}}))},function(e,t,r){"use strict";var n=r(10),o=r(125),i=r(126).getWeakData,a=r(30),u=r(24),s=r(78),c=r(127),l=r(46),f=r(25),p=r(43),d=p.set,h=p.getterFor,y=l.find,v=l.findIndex,m=n([].splice),b=0,g=function(e){return e.frozen||(e.frozen=new w)},w=function(){this.entries=[]},S=function(e,t){return y(e.entries,(function(e){return e[0]===t}))};w.prototype={get:function(e){var t=S(this,e);if(t)return t[1]},has:function(e){return!!S(this,e)},set:function(e,t){var r=S(this,e);r?r[1]=t:this.entries.push([e,t])},delete:function(e){var t=v(this.entries,(function(t){return t[0]===e}));return~t&&m(this.entries,t,1),!!~t}},e.exports={getConstructor:function(e,t,r,n){var l=e((function(e,o){s(e,p),d(e,{type:t,id:b++,frozen:void 0}),null!=o&&c(o,e[n],{that:e,AS_ENTRIES:r})})),p=l.prototype,y=h(t),v=function(e,t,r){var n=y(e),o=i(a(t),!0);return!0===o?g(n).set(t,r):o[n.id]=r,e};return o(p,{delete:function(e){var t=y(this);if(!u(e))return!1;var r=i(e);return!0===r?g(t).delete(e):r&&f(r,t.id)&&delete r[t.id]},has:function(e){var t=y(this);if(!u(e))return!1;var r=i(e);return!0===r?g(t).has(e):r&&f(r,t.id)}}),o(p,r?{get:function(e){var t=y(this);if(u(e)){var r=i(e);return!0===r?g(t).get(e):r?r[t.id]:void 0}},set:function(e,t){return v(this,e,t)}}:{add:function(e){return v(this,e,!0)}}),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,r){var n=r(104),o=Object.prototype,i=o.hasOwnProperty,a=o.toString,u=n?n.toStringTag:void 0;e.exports=function(e){var t=i.call(e,u),r=e[u];try{e[u]=void 0;var n=!0}catch(e){}var o=a.call(e);return n&&(t?e[u]=r:delete e[u]),o}},function(e,t){var r=Object.prototype.toString;e.exports=function(e){return r.call(e)}},function(e,t,r){"use strict";function n(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null==r)return;var n,o,i=[],a=!0,u=!1;try{for(r=r.call(e);!(a=(n=r.next()).done)&&(i.push(n.value),!t||i.length!==t);a=!0);}catch(e){u=!0,o=e}finally{try{a||null==r.return||r.return()}finally{if(u)throw o}}return i}(e,t)||o(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function o(e,t){if(e){if("string"==typeof e)return i(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?i(e,t):void 0}}function i(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}r(26),r(6),r(35),r(3),r(7),r(8),Object.defineProperty(t,"__esModule",{value:!0}),t.stripSearchParams=t.hasSearchParams=t.getUrlParams=t.excludeSearchParams=t.ensureSearchParams=t.appendExternalParams=void 0,r(2),r(1),r(4),r(5),r(88),r(89),r(17),r(19),r(319);var a=function(e){return e instanceof URLSearchParams?e:new URLSearchParams(e)};t.getUrlParams=a;t.hasSearchParams=function(e,t){if(!e)return!1;var r=a(e),n=t.currentSpineItemIndex,o=t.spreadIndex,i=!0;return r.has(n)&&r.has(o)||(i=!1),i};t.stripSearchParams=function(e,t){var r=a(e),n=t.currentSpineItemIndex,o=t.spreadIndex,i=t.slug,u=new Set([n,o,i]);return r.forEach((function(e,t){u.has(t)||r.delete(t)})),r};t.ensureSearchParams=function(e,t){var r=a(e),n=t.currentSpineItemIndex,o=t.spreadIndex;return r.has(n)||r.set(n,0),r.has(o)||r.set(o,0),r};var u=function(e,t){var r=a(e),n=t.currentSpineItemIndex,o=t.spreadIndex,i=t.slug;return r.delete(n),r.delete(o),r.delete(i),r};t.excludeSearchParams=u;t.appendExternalParams=function(e,t){var r,i=a(e),s=function(e,t){var r="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!r){if(Array.isArray(e)||(r=o(e))||t&&e&&"number"==typeof e.length){r&&(e=r);var n=0,i=function(){};return{s:i,n:function(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]}},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 a,u=!0,s=!1;return{s:function(){r=r.call(e)},n:function(){var e=r.next();return u=e.done,e},e:function(e){s=!0,a=e},f:function(){try{u||null==r.return||r.return()}finally{if(s)throw a}}}}(u(window.location.search,t));try{for(s.s();!(r=s.n()).done;){var c=n(r.value,2),l=c[0],f=c[1];i.set(l,f)}}catch(e){s.e(e)}finally{s.f()}return i}},function(e,t,r){var n=r(30),o=r(315);e.exports=function(e,t,r,i){try{return i?t(n(r)[0],r[1]):t(r)}catch(t){o(e,"throw",t)}}},function(e,t,r){"use strict";r(200)("Set",(function(e){return function(){return e(this,arguments.length?arguments[0]:void 0)}}),r(326))},function(e,t,r){"use strict";r(4);var n,o=r(12),i=r(23),a=r(321),u=r(13),s=r(68),c=r(10),l=r(39),f=r(327),p=r(78),d=r(25),h=r(328),y=r(325),v=r(121),m=r(199).codeAt,b=r(475),g=r(38),w=r(54),S=r(205),O=r(320),_=r(43),x=_.set,E=_.getterFor("URL"),P=O.URLSearchParams,k=O.getState,j=u.URL,T=u.TypeError,A=u.parseInt,C=Math.floor,L=Math.pow,R=c("".charAt),I=c(/./.exec),N=c([].join),M=c(1..toString),D=c([].pop),U=c([].push),F=c("".replace),B=c([].shift),q=c("".split),W=c("".slice),z=c("".toLowerCase),H=c([].unshift),V=/[a-z]/i,G=/[\d+-.a-z]/i,K=/\d/,Y=/^0x/i,$=/^[0-7]+$/,X=/^\d+$/,Q=/^[\da-f]+$/i,J=/[\0\t\n\r #%/:<>?@[\\\]^|]/,Z=/[\0\t\n\r #/:<>?@[\\\]^|]/,ee=/^[\u0000-\u0020]+|[\u0000-\u0020]+$/g,te=/[\t\n\r]/g,re=function(e){var t,r,n,o;if("number"==typeof e){for(t=[],r=0;r<4;r++)H(t,e%256),e=C(e/256);return N(t,".")}if("object"==typeof e){for(t="",n=function(e){for(var t=null,r=1,n=null,o=0,i=0;i<8;i++)0!==e[i]?(o>r&&(t=n,r=o),n=null,o=0):(null===n&&(n=i),++o);return o>r&&(t=n,r=o),t}(e),r=0;r<8;r++)o&&0===e[r]||(o&&(o=!1),n===r?(t+=r?":":"::",o=!0):(t+=M(e[r],16),r<7&&(t+=":")));return"["+t+"]"}return e},ne={},oe=h({},ne,{" ":1,'"':1,"<":1,">":1,"`":1}),ie=h({},oe,{"#":1,"?":1,"{":1,"}":1}),ae=h({},ie,{"/":1,":":1,";":1,"=":1,"@":1,"[":1,"\\":1,"]":1,"^":1,"|":1}),ue=function(e,t){var r=m(e,0);return r>32&&r<127&&!d(t,e)?e:encodeURIComponent(e)},se={ftp:21,file:null,http:80,https:443,ws:80,wss:443},ce=function(e,t){var r;return 2==e.length&&I(V,R(e,0))&&(":"==(r=R(e,1))||!t&&"|"==r)},le=function(e){var t;return e.length>1&&ce(W(e,0,2))&&(2==e.length||"/"===(t=R(e,2))||"\\"===t||"?"===t||"#"===t)},fe=function(e){return"."===e||"%2e"===z(e)},pe={},de={},he={},ye={},ve={},me={},be={},ge={},we={},Se={},Oe={},_e={},xe={},Ee={},Pe={},ke={},je={},Te={},Ae={},Ce={},Le={},Re=function(e,t,r){var n,o,i,a=g(e);if(t){if(o=this.parse(a))throw T(o);this.searchParams=null}else{if(void 0!==r&&(n=new Re(r,!0)),o=this.parse(a,null,n))throw T(o);(i=k(new P)).bindURL(this),this.searchParams=i}};Re.prototype={type:"URL",parse:function(e,t,r){var o,i,a,u,s,c=this,l=t||pe,f=0,p="",h=!1,m=!1,b=!1;for(e=g(e),t||(c.scheme="",c.username="",c.password="",c.host=null,c.port=null,c.path=[],c.query=null,c.fragment=null,c.cannotBeABaseURL=!1,e=F(e,ee,"")),e=F(e,te,""),o=y(e);f<=o.length;){switch(i=o[f],l){case pe:if(!i||!I(V,i)){if(t)return"Invalid scheme";l=he;continue}p+=z(i),l=de;break;case de:if(i&&(I(G,i)||"+"==i||"-"==i||"."==i))p+=z(i);else{if(":"!=i){if(t)return"Invalid scheme";p="",l=he,f=0;continue}if(t&&(c.isSpecial()!=d(se,p)||"file"==p&&(c.includesCredentials()||null!==c.port)||"file"==c.scheme&&!c.host))return;if(c.scheme=p,t)return void(c.isSpecial()&&se[c.scheme]==c.port&&(c.port=null));p="","file"==c.scheme?l=Ee:c.isSpecial()&&r&&r.scheme==c.scheme?l=ye:c.isSpecial()?l=ge:"/"==o[f+1]?(l=ve,f++):(c.cannotBeABaseURL=!0,U(c.path,""),l=Ae)}break;case he:if(!r||r.cannotBeABaseURL&&"#"!=i)return"Invalid scheme";if(r.cannotBeABaseURL&&"#"==i){c.scheme=r.scheme,c.path=v(r.path),c.query=r.query,c.fragment="",c.cannotBeABaseURL=!0,l=Le;break}l="file"==r.scheme?Ee:me;continue;case ye:if("/"!=i||"/"!=o[f+1]){l=me;continue}l=we,f++;break;case ve:if("/"==i){l=Se;break}l=Te;continue;case me:if(c.scheme=r.scheme,i==n)c.username=r.username,c.password=r.password,c.host=r.host,c.port=r.port,c.path=v(r.path),c.query=r.query;else if("/"==i||"\\"==i&&c.isSpecial())l=be;else if("?"==i)c.username=r.username,c.password=r.password,c.host=r.host,c.port=r.port,c.path=v(r.path),c.query="",l=Ce;else{if("#"!=i){c.username=r.username,c.password=r.password,c.host=r.host,c.port=r.port,c.path=v(r.path),c.path.length--,l=Te;continue}c.username=r.username,c.password=r.password,c.host=r.host,c.port=r.port,c.path=v(r.path),c.query=r.query,c.fragment="",l=Le}break;case be:if(!c.isSpecial()||"/"!=i&&"\\"!=i){if("/"!=i){c.username=r.username,c.password=r.password,c.host=r.host,c.port=r.port,l=Te;continue}l=Se}else l=we;break;case ge:if(l=we,"/"!=i||"/"!=R(p,f+1))continue;f++;break;case we:if("/"!=i&&"\\"!=i){l=Se;continue}break;case Se:if("@"==i){h&&(p="%40"+p),h=!0,a=y(p);for(var w=0;w<a.length;w++){var S=a[w];if(":"!=S||b){var O=ue(S,ae);b?c.password+=O:c.username+=O}else b=!0}p=""}else if(i==n||"/"==i||"?"==i||"#"==i||"\\"==i&&c.isSpecial()){if(h&&""==p)return"Invalid authority";f-=y(p).length+1,p="",l=Oe}else p+=i;break;case Oe:case _e:if(t&&"file"==c.scheme){l=ke;continue}if(":"!=i||m){if(i==n||"/"==i||"?"==i||"#"==i||"\\"==i&&c.isSpecial()){if(c.isSpecial()&&""==p)return"Invalid host";if(t&&""==p&&(c.includesCredentials()||null!==c.port))return;if(u=c.parseHost(p))return u;if(p="",l=je,t)return;continue}"["==i?m=!0:"]"==i&&(m=!1),p+=i}else{if(""==p)return"Invalid host";if(u=c.parseHost(p))return u;if(p="",l=xe,t==_e)return}break;case xe:if(!I(K,i)){if(i==n||"/"==i||"?"==i||"#"==i||"\\"==i&&c.isSpecial()||t){if(""!=p){var _=A(p,10);if(_>65535)return"Invalid port";c.port=c.isSpecial()&&_===se[c.scheme]?null:_,p=""}if(t)return;l=je;continue}return"Invalid port"}p+=i;break;case Ee:if(c.scheme="file","/"==i||"\\"==i)l=Pe;else{if(!r||"file"!=r.scheme){l=Te;continue}if(i==n)c.host=r.host,c.path=v(r.path),c.query=r.query;else if("?"==i)c.host=r.host,c.path=v(r.path),c.query="",l=Ce;else{if("#"!=i){le(N(v(o,f),""))||(c.host=r.host,c.path=v(r.path),c.shortenPath()),l=Te;continue}c.host=r.host,c.path=v(r.path),c.query=r.query,c.fragment="",l=Le}}break;case Pe:if("/"==i||"\\"==i){l=ke;break}r&&"file"==r.scheme&&!le(N(v(o,f),""))&&(ce(r.path[0],!0)?U(c.path,r.path[0]):c.host=r.host),l=Te;continue;case ke:if(i==n||"/"==i||"\\"==i||"?"==i||"#"==i){if(!t&&ce(p))l=Te;else if(""==p){if(c.host="",t)return;l=je}else{if(u=c.parseHost(p))return u;if("localhost"==c.host&&(c.host=""),t)return;p="",l=je}continue}p+=i;break;case je:if(c.isSpecial()){if(l=Te,"/"!=i&&"\\"!=i)continue}else if(t||"?"!=i)if(t||"#"!=i){if(i!=n&&(l=Te,"/"!=i))continue}else c.fragment="",l=Le;else c.query="",l=Ce;break;case Te:if(i==n||"/"==i||"\\"==i&&c.isSpecial()||!t&&("?"==i||"#"==i)){if(".."===(s=z(s=p))||"%2e."===s||".%2e"===s||"%2e%2e"===s?(c.shortenPath(),"/"==i||"\\"==i&&c.isSpecial()||U(c.path,"")):fe(p)?"/"==i||"\\"==i&&c.isSpecial()||U(c.path,""):("file"==c.scheme&&!c.path.length&&ce(p)&&(c.host&&(c.host=""),p=R(p,0)+":"),U(c.path,p)),p="","file"==c.scheme&&(i==n||"?"==i||"#"==i))for(;c.path.length>1&&""===c.path[0];)B(c.path);"?"==i?(c.query="",l=Ce):"#"==i&&(c.fragment="",l=Le)}else p+=ue(i,ie);break;case Ae:"?"==i?(c.query="",l=Ce):"#"==i?(c.fragment="",l=Le):i!=n&&(c.path[0]+=ue(i,ne));break;case Ce:t||"#"!=i?i!=n&&("'"==i&&c.isSpecial()?c.query+="%27":c.query+="#"==i?"%23":ue(i,ne)):(c.fragment="",l=Le);break;case Le:i!=n&&(c.fragment+=ue(i,oe))}f++}},parseHost:function(e){var t,r,n;if("["==R(e,0)){if("]"!=R(e,e.length-1))return"Invalid host";if(!(t=function(e){var t,r,n,o,i,a,u,s=[0,0,0,0,0,0,0,0],c=0,l=null,f=0,p=function(){return R(e,f)};if(":"==p()){if(":"!=R(e,1))return;f+=2,l=++c}for(;p();){if(8==c)return;if(":"!=p()){for(t=r=0;r<4&&I(Q,p());)t=16*t+A(p(),16),f++,r++;if("."==p()){if(0==r)return;if(f-=r,c>6)return;for(n=0;p();){if(o=null,n>0){if(!("."==p()&&n<4))return;f++}if(!I(K,p()))return;for(;I(K,p());){if(i=A(p(),10),null===o)o=i;else{if(0==o)return;o=10*o+i}if(o>255)return;f++}s[c]=256*s[c]+o,2!=++n&&4!=n||c++}if(4!=n)return;break}if(":"==p()){if(f++,!p())return}else if(p())return;s[c++]=t}else{if(null!==l)return;f++,l=++c}}if(null!==l)for(a=c-l,c=7;0!=c&&a>0;)u=s[c],s[c--]=s[l+a-1],s[l+--a]=u;else if(8!=c)return;return s}(W(e,1,-1))))return"Invalid host";this.host=t}else if(this.isSpecial()){if(e=b(e),I(J,e))return"Invalid host";if(null===(t=function(e){var t,r,n,o,i,a,u,s=q(e,".");if(s.length&&""==s[s.length-1]&&s.length--,(t=s.length)>4)return e;for(r=[],n=0;n<t;n++){if(""==(o=s[n]))return e;if(i=10,o.length>1&&"0"==R(o,0)&&(i=I(Y,o)?16:8,o=W(o,8==i?1:2)),""===o)a=0;else{if(!I(10==i?X:8==i?$:Q,o))return e;a=A(o,i)}U(r,a)}for(n=0;n<t;n++)if(a=r[n],n==t-1){if(a>=L(256,5-t))return null}else if(a>255)return null;for(u=D(r),n=0;n<r.length;n++)u+=r[n]*L(256,3-n);return u}(e)))return"Invalid host";this.host=t}else{if(I(Z,e))return"Invalid host";for(t="",r=y(e),n=0;n<r.length;n++)t+=ue(r[n],ne);this.host=t}},cannotHaveUsernamePasswordPort:function(){return!this.host||this.cannotBeABaseURL||"file"==this.scheme},includesCredentials:function(){return""!=this.username||""!=this.password},isSpecial:function(){return d(se,this.scheme)},shortenPath:function(){var e=this.path,t=e.length;!t||"file"==this.scheme&&1==t&&ce(e[0],!0)||e.length--},serialize:function(){var e=this,t=e.scheme,r=e.username,n=e.password,o=e.host,i=e.port,a=e.path,u=e.query,s=e.fragment,c=t+":";return null!==o?(c+="//",e.includesCredentials()&&(c+=r+(n?":"+n:"")+"@"),c+=re(o),null!==i&&(c+=":"+i)):"file"==t&&(c+="//"),c+=e.cannotBeABaseURL?a[0]:a.length?"/"+N(a,"/"):"",null!==u&&(c+="?"+u),null!==s&&(c+="#"+s),c},setHref:function(e){var t=this.parse(e);if(t)throw T(t);this.searchParams.update()},getOrigin:function(){var e=this.scheme,t=this.port;if("blob"==e)try{return new Ie(e.path[0]).origin}catch(e){return"null"}return"file"!=e&&this.isSpecial()?e+"://"+re(this.host)+(null!==t?":"+t:""):"null"},getProtocol:function(){return this.scheme+":"},setProtocol:function(e){this.parse(g(e)+":",pe)},getUsername:function(){return this.username},setUsername:function(e){var t=y(g(e));if(!this.cannotHaveUsernamePasswordPort()){this.username="";for(var r=0;r<t.length;r++)this.username+=ue(t[r],ae)}},getPassword:function(){return this.password},setPassword:function(e){var t=y(g(e));if(!this.cannotHaveUsernamePasswordPort()){this.password="";for(var r=0;r<t.length;r++)this.password+=ue(t[r],ae)}},getHost:function(){var e=this.host,t=this.port;return null===e?"":null===t?re(e):re(e)+":"+t},setHost:function(e){this.cannotBeABaseURL||this.parse(e,Oe)},getHostname:function(){var e=this.host;return null===e?"":re(e)},setHostname:function(e){this.cannotBeABaseURL||this.parse(e,_e)},getPort:function(){var e=this.port;return null===e?"":g(e)},setPort:function(e){this.cannotHaveUsernamePasswordPort()||(""==(e=g(e))?this.port=null:this.parse(e,xe))},getPathname:function(){var e=this.path;return this.cannotBeABaseURL?e[0]:e.length?"/"+N(e,"/"):""},setPathname:function(e){this.cannotBeABaseURL||(this.path=[],this.parse(e,je))},getSearch:function(){var e=this.query;return e?"?"+e:""},setSearch:function(e){""==(e=g(e))?this.query=null:("?"==R(e,0)&&(e=W(e,1)),this.query="",this.parse(e,Ce)),this.searchParams.update()},getSearchParams:function(){return this.searchParams.facade},getHash:function(){var e=this.fragment;return e?"#"+e:""},setHash:function(e){""!=(e=g(e))?("#"==R(e,0)&&(e=W(e,1)),this.fragment="",this.parse(e,Le)):this.fragment=null},update:function(){this.query=this.searchParams.serialize()||null}};var Ie=function(e){var t=p(this,Ne),r=S(arguments.length,1)>1?arguments[1]:void 0,n=x(t,new Re(e,!1,r));i||(t.href=n.serialize(),t.origin=n.getOrigin(),t.protocol=n.getProtocol(),t.username=n.getUsername(),t.password=n.getPassword(),t.host=n.getHost(),t.hostname=n.getHostname(),t.port=n.getPort(),t.pathname=n.getPathname(),t.search=n.getSearch(),t.searchParams=n.getSearchParams(),t.hash=n.getHash())},Ne=Ie.prototype,Me=function(e,t){return{get:function(){return E(this)[e]()},set:t&&function(e){return E(this)[t](e)},configurable:!0,enumerable:!0}};if(i&&(f(Ne,"href",Me("serialize","setHref")),f(Ne,"origin",Me("getOrigin")),f(Ne,"protocol",Me("getProtocol","setProtocol")),f(Ne,"username",Me("getUsername","setUsername")),f(Ne,"password",Me("getPassword","setPassword")),f(Ne,"host",Me("getHost","setHost")),f(Ne,"hostname",Me("getHostname","setHostname")),f(Ne,"port",Me("getPort","setPort")),f(Ne,"pathname",Me("getPathname","setPathname")),f(Ne,"search",Me("getSearch","setSearch")),f(Ne,"searchParams",Me("getSearchParams")),f(Ne,"hash",Me("getHash","setHash"))),l(Ne,"toJSON",(function(){return E(this).serialize()}),{enumerable:!0}),l(Ne,"toString",(function(){return E(this).serialize()}),{enumerable:!0}),j){var De=j.createObjectURL,Ue=j.revokeObjectURL;De&&l(Ie,"createObjectURL",s(De,j)),Ue&&l(Ie,"revokeObjectURL",s(Ue,j))}w(Ie,"URL"),o({global:!0,constructor:!0,forced:!a,sham:!i},{URL:Ie})},function(e,t,r){"use strict";var n=r(10),o=/[^\0-\u007E]/,i=/[.\u3002\uFF0E\uFF61]/g,a="Overflow: input needs wider integers to process",u=RangeError,s=n(i.exec),c=Math.floor,l=String.fromCharCode,f=n("".charCodeAt),p=n([].join),d=n([].push),h=n("".replace),y=n("".split),v=n("".toLowerCase),m=function(e){return e+22+75*(e<26)},b=function(e,t,r){var n=0;for(e=r?c(e/700):e>>1,e+=c(e/t);e>455;)e=c(e/35),n+=36;return c(n+36*e/(e+38))},g=function(e){var t,r,n=[],o=(e=function(e){for(var t=[],r=0,n=e.length;r<n;){var o=f(e,r++);if(o>=55296&&o<=56319&&r<n){var i=f(e,r++);56320==(64512&i)?d(t,((1023&o)<<10)+(1023&i)+65536):(d(t,o),r--)}else d(t,o)}return t}(e)).length,i=128,s=0,h=72;for(t=0;t<e.length;t++)(r=e[t])<128&&d(n,l(r));var y=n.length,v=y;for(y&&d(n,"-");v<o;){var g=2147483647;for(t=0;t<e.length;t++)(r=e[t])>=i&&r<g&&(g=r);var w=v+1;if(g-i>c((2147483647-s)/w))throw u(a);for(s+=(g-i)*w,i=g,t=0;t<e.length;t++){if((r=e[t])<i&&++s>2147483647)throw u(a);if(r==i){for(var S=s,O=36;;){var _=O<=h?1:O>=h+26?26:O-h;if(S<_)break;var x=S-_,E=36-_;d(n,l(m(_+x%E))),S=c(x/E),O+=36}d(n,l(m(S))),h=b(s,w,v==y),s=0,v++}}s++,i++}return p(n,"")};e.exports=function(e){var t,r,n=[],a=y(h(v(e),i,"."),".");for(t=0;t<a.length;t++)r=a[t],d(n,s(o,r)?"xn--"+g(r):r);return p(n,".")}},function(e,t,r){var n=r(23),o=r(10),i=r(120),a=r(48),u=o(r(144).f),s=o([].push),c=function(e){return function(t){for(var r,o=a(t),c=i(o),l=c.length,f=0,p=[];l>f;)r=c[f++],n&&!u(o,r)||s(p,e?[r,o[r]]:o[r]);return p}};e.exports={entries:c(!0),values:c(!1)}},function(e,t,r){var n=r(101).PROPER,o=r(9),i=r(331);e.exports=function(e){return o((function(){return!!i[e]()||"​…᠎"!=="​…᠎"[e]()||n&&i[e].name!==e}))}},function(e,t,r){var n=r(10),o=r(40),i=Math.floor,a=n("".charAt),u=n("".replace),s=n("".slice),c=/\$([$&'`]|\d{1,2}|<[^>]*>)/g,l=/\$([$&'`]|\d{1,2})/g;e.exports=function(e,t,r,n,f,p){var d=r+e.length,h=n.length,y=l;return void 0!==f&&(f=o(f),y=c),u(p,y,(function(o,u){var c;switch(a(u,0)){case"$":return"$";case"&":return e;case"`":return s(t,0,r);case"'":return s(t,d);case"<":c=f[s(u,1,-1)];break;default:var l=+u;if(0===l)return o;if(l>h){var p=i(l/10);return 0===p?o:p<=h?void 0===n[p-1]?a(u,1):n[p-1]+a(u,1):o}c=n[l-1]}return void 0===c?"":c}))}},function(e,t,r){"use strict";var n={for:"htmlFor",class:"className",accept:"accept",acceptcharset:"acceptCharset",accesskey:"accessKey",action:"action",allowfullscreen:"allowFullScreen",allowtransparency:"allowTransparency",alt:"alt",async:"async",autocomplete:"autoComplete",autofocus:"autoFocus",autoplay:"autoPlay",capture:"capture",cellpadding:"cellPadding",cellspacing:"cellSpacing",challenge:"challenge",charset:"charSet",checked:"checked",cite:"cite",classid:"classID",classname:"className",colspan:"colSpan",cols:"cols",content:"content",contenteditable:"contentEditable",contextmenu:"contextMenu",controls:"controls",coords:"coords",crossorigin:"crossOrigin",data:"data",datetime:"dateTime",default:"default",defer:"defer",dir:"dir",disabled:"disabled",download:"download",draggable:"draggable",enctype:"encType",form:"form",formaction:"formAction",formenctype:"formEncType",formmethod:"formMethod",formnovalidate:"formNoValidate",formtarget:"formTarget",frameborder:"frameBorder",headers:"headers",height:"height",hidden:"hidden",high:"high",href:"href",hreflang:"hrefLang",htmlfor:"htmlFor",httpequiv:"httpEquiv",icon:"icon",id:"id",inputmode:"inputMode",integrity:"integrity",is:"is",keyparams:"keyParams",keytype:"keyType",kind:"kind",label:"label",lang:"lang",list:"list",loop:"loop",low:"low",manifest:"manifest",marginheight:"marginHeight",marginwidth:"marginWidth",max:"max",maxlength:"maxLength",media:"media",mediagroup:"mediaGroup",method:"method",min:"min",minlength:"minLength",multiple:"multiple",muted:"muted",name:"name",novalidate:"noValidate",nonce:"nonce",open:"open",optimum:"optimum",pattern:"pattern",placeholder:"placeholder",poster:"poster",preload:"preload",profile:"profile",radiogroup:"radioGroup",readonly:"readOnly",rel:"rel",required:"required",reversed:"reversed",role:"role",rowspan:"rowSpan",rows:"rows",sandbox:"sandbox",scope:"scope",scoped:"scoped",scrolling:"scrolling",seamless:"seamless",selected:"selected",shape:"shape",size:"size",sizes:"sizes",span:"span",spellcheck:"spellCheck",src:"src",srcdoc:"srcDoc",srclang:"srcLang",srcset:"srcSet",start:"start",step:"step",style:"style",summary:"summary",tabindex:"tabIndex",target:"target",title:"title",type:"type",usemap:"useMap",value:"value",width:"width",wmode:"wmode",wrap:"wrap",accentheight:"accentHeight",accumulate:"accumulate",additive:"additive",alignmentbaseline:"alignmentBaseline",allowreorder:"allowReorder",alphabetic:"alphabetic",amplitude:"amplitude",arabicform:"arabicForm",ascent:"ascent",attributename:"attributeName",attributetype:"attributeType",autoreverse:"autoReverse",azimuth:"azimuth",basefrequency:"baseFrequency",baseprofile:"baseProfile",baselineshift:"baselineShift",bbox:"bbox",begin:"begin",bias:"bias",by:"by",calcmode:"calcMode",capheight:"capHeight",clip:"clip",clippath:"clipPath",clippathunits:"clipPathUnits",cliprule:"clipRule",colorinterpolation:"colorInterpolation",colorinterpolationfilters:"colorInterpolationFilters",colorprofile:"colorProfile",colorrendering:"colorRendering",contentscripttype:"contentScriptType",contentstyletype:"contentStyleType",cursor:"cursor",cx:"cx",cy:"cy",d:"d",decelerate:"decelerate",descent:"descent",diffuseconstant:"diffuseConstant",direction:"direction",display:"display",divisor:"divisor",dominantbaseline:"dominantBaseline",dur:"dur",dx:"dx",dy:"dy",edgemode:"edgeMode",elevation:"elevation",enablebackground:"enableBackground",end:"end",exponent:"exponent",externalresourcesrequired:"externalResourcesRequired",fill:"fill",fillopacity:"fillOpacity",fillrule:"fillRule",filter:"filter",filterres:"filterRes",filterunits:"filterUnits",floodcolor:"floodColor",floodopacity:"floodOpacity",focusable:"focusable",fontfamily:"fontFamily",fontsize:"fontSize",fontsizeadjust:"fontSizeAdjust",fontstretch:"fontStretch",fontstyle:"fontStyle",fontvariant:"fontVariant",fontweight:"fontWeight",format:"format",from:"from",fx:"fx",fy:"fy",g1:"g1",g2:"g2",glyphname:"glyphName",glyphorientationhorizontal:"glyphOrientationHorizontal",glyphorientationvertical:"glyphOrientationVertical",glyphref:"glyphRef",gradienttransform:"gradientTransform",gradientunits:"gradientUnits",hanging:"hanging",horizadvx:"horizAdvX",horizoriginx:"horizOriginX",ideographic:"ideographic",imagerendering:"imageRendering",in:"in",in2:"in2",intercept:"intercept",k:"k",k1:"k1",k2:"k2",k3:"k3",k4:"k4",kernelmatrix:"kernelMatrix",kernelunitlength:"kernelUnitLength",kerning:"kerning",keypoints:"keyPoints",keysplines:"keySplines",keytimes:"keyTimes",lengthadjust:"lengthAdjust",letterspacing:"letterSpacing",lightingcolor:"lightingColor",limitingconeangle:"limitingConeAngle",local:"local",markerend:"markerEnd",markerheight:"markerHeight",markermid:"markerMid",markerstart:"markerStart",markerunits:"markerUnits",markerwidth:"markerWidth",mask:"mask",maskcontentunits:"maskContentUnits",maskunits:"maskUnits",mathematical:"mathematical",mode:"mode",numoctaves:"numOctaves",offset:"offset",opacity:"opacity",operator:"operator",order:"order",orient:"orient",orientation:"orientation",origin:"origin",overflow:"overflow",overlineposition:"overlinePosition",overlinethickness:"overlineThickness",paintorder:"paintOrder",panose1:"panose1",pathlength:"pathLength",patterncontentunits:"patternContentUnits",patterntransform:"patternTransform",patternunits:"patternUnits",pointerevents:"pointerEvents",points:"points",pointsatx:"pointsAtX",pointsaty:"pointsAtY",pointsatz:"pointsAtZ",preservealpha:"preserveAlpha",preserveaspectratio:"preserveAspectRatio",primitiveunits:"primitiveUnits",r:"r",radius:"radius",refx:"refX",refy:"refY",renderingintent:"renderingIntent",repeatcount:"repeatCount",repeatdur:"repeatDur",requiredextensions:"requiredExtensions",requiredfeatures:"requiredFeatures",restart:"restart",result:"result",rotate:"rotate",rx:"rx",ry:"ry",scale:"scale",seed:"seed",shaperendering:"shapeRendering",slope:"slope",spacing:"spacing",specularconstant:"specularConstant",specularexponent:"specularExponent",speed:"speed",spreadmethod:"spreadMethod",startoffset:"startOffset",stddeviation:"stdDeviation",stemh:"stemh",stemv:"stemv",stitchtiles:"stitchTiles",stopcolor:"stopColor",stopopacity:"stopOpacity",strikethroughposition:"strikethroughPosition",strikethroughthickness:"strikethroughThickness",string:"string",stroke:"stroke",strokedasharray:"strokeDasharray",strokedashoffset:"strokeDashoffset",strokelinecap:"strokeLinecap",strokelinejoin:"strokeLinejoin",strokemiterlimit:"strokeMiterlimit",strokeopacity:"strokeOpacity",strokewidth:"strokeWidth",surfacescale:"surfaceScale",systemlanguage:"systemLanguage",tablevalues:"tableValues",targetx:"targetX",targety:"targetY",textanchor:"textAnchor",textdecoration:"textDecoration",textlength:"textLength",textrendering:"textRendering",to:"to",transform:"transform",u1:"u1",u2:"u2",underlineposition:"underlinePosition",underlinethickness:"underlineThickness",unicode:"unicode",unicodebidi:"unicodeBidi",unicoderange:"unicodeRange",unitsperem:"unitsPerEm",valphabetic:"vAlphabetic",vhanging:"vHanging",videographic:"vIdeographic",vmathematical:"vMathematical",values:"values",vectoreffect:"vectorEffect",version:"version",vertadvy:"vertAdvY",vertoriginx:"vertOriginX",vertoriginy:"vertOriginY",viewbox:"viewBox",viewtarget:"viewTarget",visibility:"visibility",widths:"widths",wordspacing:"wordSpacing",writingmode:"writingMode",x:"x",x1:"x1",x2:"x2",xchannelselector:"xChannelSelector",xheight:"xHeight",xlinkactuate:"xlinkActuate",xlinkarcrole:"xlinkArcrole",xlinkhref:"xlinkHref",xlinkrole:"xlinkRole",xlinkshow:"xlinkShow",xlinktitle:"xlinkTitle",xlinktype:"xlinkType",xmlns:"xmlns",xmlnsxlink:"xmlnsXlink",xmlbase:"xmlBase",xmllang:"xmlLang",xmlspace:"xmlSpace",y:"y",y1:"y1",y2:"y2",ychannelselector:"yChannelSelector",z:"z",zoomandpan:"zoomAndPan",onabort:"onAbort",onanimationend:"onAnimationEnd",onanimationiteration:"onAnimationIteration",onanimationstart:"onAnimationStart",onblur:"onBlur",oncanplay:"onCanPlay",oncanplaythrough:"onCanPlayThrough",onchange:"onChange",onclick:"onClick",oncompositionend:"onCompositionEnd",oncompositionstart:"onCompositionStart",oncompositionupdate:"onCompositionUpdate",oncontextmenu:"onContextMenu",oncopy:"onCopy",oncut:"onCut",ondoubleclick:"onDoubleClick",ondrag:"onDrag",ondragend:"onDragEnd",ondragenter:"onDragEnter",ondragexit:"onDragExit",ondragleave:"onDragLeave",ondragover:"onDragOver",ondragstart:"onDragStart",ondrop:"onDrop",ondurationchange:"onDurationChange",onemptied:"onEmptied",onencrypted:"onEncrypted",onended:"onEnded",onerror:"onError",onfocus:"onFocus",oninput:"onInput",onkeydown:"onKeyDown",onkeypress:"onKeyPress",onkeyup:"onKeyUp",onload:"onLoad",onloadeddata:"onLoadedData",onloadedmetadata:"onLoadedMetadata",onloadstart:"onLoadStart",onmousedown:"onMouseDown",onmouseenter:"onMouseEnter",onmouseleave:"onMouseLeave",onmousemove:"onMouseMove",onmouseout:"onMouseOut",onmouseover:"onMouseOver",onmouseup:"onMouseUp",onpaste:"onPaste",onpause:"onPause",onplay:"onPlay",onplaying:"onPlaying",onprogress:"onProgress",onratechange:"onRateChange",onscroll:"onScroll",onseeked:"onSeeked",onseeking:"onSeeking",onselect:"onSelect",onstalled:"onStalled",onsubmit:"onSubmit",onsuspend:"onSuspend",ontimeupdate:"onTimeUpdate",ontouchcancel:"onTouchCancel",ontouchend:"onTouchEnd",ontouchmove:"onTouchMove",ontouchstart:"onTouchStart",ontransitionend:"onTransitionEnd",onvolumechange:"onVolumeChange",onwaiting:"onWaiting",onwheel:"onWheel"},o=/[-:]/g,i=function(e){if(/^(data-|aria-)/.test(e))return e;var t=e.replace(o,"").toLowerCase();return n[t]||e};e.exports=i,e.exports.convert=i},function(e,t,r){e.exports=function(){var e;function t(e){return e.quotes+e.quotes}function r(e,r){return""===r?t(e):(r[0]!==e.quotes&&(r=e.quotes+r),r[r.length-1]!==e.quotes&&(r+=e.quotes),r)}function n(e,n){return 1===arguments.length&&(n=e,e={quotes:'"'}),"string"==typeof n?r(e,n):null==n?t(e):n}return(e={exports:{}}).exports=function(e){return"object"==typeof e?n.bind(null,e):n(e)},e.exports}()},function(e,t){e.exports=function(e){return(""+e).replace(/["'\\\n\r\u2028\u2029]/g,(function(e){switch(e){case'"':case"'":case"\\":return"\\"+e;case"\n":return"\\n";case"\r":return"\\r";case"\u2028":return"\\u2028";case"\u2029":return"\\u2029"}}))}},function(e,t,r){var n=r(483),o=r(491)((function(e,t,r){return t=t.toLowerCase(),e+(r?n(t):t)}));e.exports=o},function(e,t,r){var n=r(130),o=r(485);e.exports=function(e){return o(n(e).toLowerCase())}},function(e,t,r){var n=r(104),o=r(332),i=r(56),a=r(164),u=n?n.prototype:void 0,s=u?u.toString:void 0;e.exports=function e(t){if("string"==typeof t)return t;if(i(t))return o(t,e)+"";if(a(t))return s?s.call(t):"";var r=t+"";return"0"==r&&1/t==-1/0?"-0":r}},function(e,t,r){var n=r(486)("toUpperCase");e.exports=n},function(e,t,r){var n=r(487),o=r(334),i=r(488),a=r(130);e.exports=function(e){return function(t){t=a(t);var r=o(t)?i(t):void 0,u=r?r[0]:t.charAt(0),s=r?n(r,1).join(""):t.slice(1);return u[e]()+s}}},function(e,t,r){var n=r(333);e.exports=function(e,t,r){var o=e.length;return r=void 0===r?o:r,!t&&r>=o?e:n(e,t,r)}},function(e,t,r){var n=r(489),o=r(334),i=r(490);e.exports=function(e){return o(e)?i(e):n(e)}},function(e,t){e.exports=function(e){return e.split("")}},function(e,t){var r="[\\ud800-\\udfff]",n="[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]",o="\\ud83c[\\udffb-\\udfff]",i="[^\\ud800-\\udfff]",a="(?:\\ud83c[\\udde6-\\uddff]){2}",u="[\\ud800-\\udbff][\\udc00-\\udfff]",s="(?:"+n+"|"+o+")"+"?",c="[\\ufe0e\\ufe0f]?"+s+("(?:\\u200d(?:"+[i,a,u].join("|")+")[\\ufe0e\\ufe0f]?"+s+")*"),l="(?:"+[i+n+"?",n,a,u,r].join("|")+")",f=RegExp(o+"(?="+o+")|"+l+c,"g");e.exports=function(e){return e.match(f)||[]}},function(e,t,r){var n=r(492),o=r(493),i=r(496),a=RegExp("['’]","g");e.exports=function(e){return function(t){return n(i(o(t).replace(a,"")),e,"")}}},function(e,t){e.exports=function(e,t,r,n){var o=-1,i=null==e?0:e.length;for(n&&i&&(r=e[++o]);++o<i;)r=t(r,e[o],o,e);return r}},function(e,t,r){var n=r(494),o=r(130),i=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,a=RegExp("[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]","g");e.exports=function(e){return(e=o(e))&&e.replace(i,n).replace(a,"")}},function(e,t,r){var n=r(495)({"À":"A","Á":"A","Â":"A","Ã":"A","Ä":"A","Å":"A","à":"a","á":"a","â":"a","ã":"a","ä":"a","å":"a","Ç":"C","ç":"c","Ð":"D","ð":"d","È":"E","É":"E","Ê":"E","Ë":"E","è":"e","é":"e","ê":"e","ë":"e","Ì":"I","Í":"I","Î":"I","Ï":"I","ì":"i","í":"i","î":"i","ï":"i","Ñ":"N","ñ":"n","Ò":"O","Ó":"O","Ô":"O","Õ":"O","Ö":"O","Ø":"O","ò":"o","ó":"o","ô":"o","õ":"o","ö":"o","ø":"o","Ù":"U","Ú":"U","Û":"U","Ü":"U","ù":"u","ú":"u","û":"u","ü":"u","Ý":"Y","ý":"y","ÿ":"y","Æ":"Ae","æ":"ae","Þ":"Th","þ":"th","ß":"ss","Ā":"A","Ă":"A","Ą":"A","ā":"a","ă":"a","ą":"a","Ć":"C","Ĉ":"C","Ċ":"C","Č":"C","ć":"c","ĉ":"c","ċ":"c","č":"c","Ď":"D","Đ":"D","ď":"d","đ":"d","Ē":"E","Ĕ":"E","Ė":"E","Ę":"E","Ě":"E","ē":"e","ĕ":"e","ė":"e","ę":"e","ě":"e","Ĝ":"G","Ğ":"G","Ġ":"G","Ģ":"G","ĝ":"g","ğ":"g","ġ":"g","ģ":"g","Ĥ":"H","Ħ":"H","ĥ":"h","ħ":"h","Ĩ":"I","Ī":"I","Ĭ":"I","Į":"I","İ":"I","ĩ":"i","ī":"i","ĭ":"i","į":"i","ı":"i","Ĵ":"J","ĵ":"j","Ķ":"K","ķ":"k","ĸ":"k","Ĺ":"L","Ļ":"L","Ľ":"L","Ŀ":"L","Ł":"L","ĺ":"l","ļ":"l","ľ":"l","ŀ":"l","ł":"l","Ń":"N","Ņ":"N","Ň":"N","Ŋ":"N","ń":"n","ņ":"n","ň":"n","ŋ":"n","Ō":"O","Ŏ":"O","Ő":"O","ō":"o","ŏ":"o","ő":"o","Ŕ":"R","Ŗ":"R","Ř":"R","ŕ":"r","ŗ":"r","ř":"r","Ś":"S","Ŝ":"S","Ş":"S","Š":"S","ś":"s","ŝ":"s","ş":"s","š":"s","Ţ":"T","Ť":"T","Ŧ":"T","ţ":"t","ť":"t","ŧ":"t","Ũ":"U","Ū":"U","Ŭ":"U","Ů":"U","Ű":"U","Ų":"U","ũ":"u","ū":"u","ŭ":"u","ů":"u","ű":"u","ų":"u","Ŵ":"W","ŵ":"w","Ŷ":"Y","ŷ":"y","Ÿ":"Y","Ź":"Z","Ż":"Z","Ž":"Z","ź":"z","ż":"z","ž":"z","IJ":"IJ","ij":"ij","Œ":"Oe","œ":"oe","ʼn":"'n","ſ":"s"});e.exports=n},function(e,t){e.exports=function(e){return function(t){return null==e?void 0:e[t]}}},function(e,t,r){var n=r(497),o=r(498),i=r(130),a=r(499);e.exports=function(e,t,r){return e=i(e),void 0===(t=r?void 0:t)?o(e)?a(e):n(e):e.match(t)||[]}},function(e,t){var r=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g;e.exports=function(e){return e.match(r)||[]}},function(e,t){var r=/[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 r.test(e)}},function(e,t){var r="\\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",n="["+r+"]",o="\\d+",i="[\\u2700-\\u27bf]",a="[a-z\\xdf-\\xf6\\xf8-\\xff]",u="[^\\ud800-\\udfff"+r+o+"\\u2700-\\u27bfa-z\\xdf-\\xf6\\xf8-\\xffA-Z\\xc0-\\xd6\\xd8-\\xde]",s="(?:\\ud83c[\\udde6-\\uddff]){2}",c="[\\ud800-\\udbff][\\udc00-\\udfff]",l="[A-Z\\xc0-\\xd6\\xd8-\\xde]",f="(?:"+a+"|"+u+")",p="(?:"+l+"|"+u+")",d="(?:[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]|\\ud83c[\\udffb-\\udfff])?",h="[\\ufe0e\\ufe0f]?"+d+("(?:\\u200d(?:"+["[^\\ud800-\\udfff]",s,c].join("|")+")[\\ufe0e\\ufe0f]?"+d+")*"),y="(?:"+[i,s,c].join("|")+")"+h,v=RegExp([l+"?"+a+"+(?:['’](?:d|ll|m|re|s|t|ve))?(?="+[n,l,"$"].join("|")+")",p+"+(?:['’](?:D|LL|M|RE|S|T|VE))?(?="+[n,l+f,"$"].join("|")+")",l+"?"+f+"+(?:['’](?: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_])",o,y].join("|"),"g");e.exports=function(e){return e.match(v)||[]}},function(e,t,r){r(12)({target:"Number",stat:!0},{isNaN:function(e){return e!=e}})},function(e,t,r){r(12)({target:"Number",stat:!0},{isFinite:r(502)})},function(e,t,r){var n=r(13).isFinite;e.exports=Number.isFinite||function(e){return"number"==typeof e&&n(e)}},function(e,t){var r=TypeError;e.exports=function(e){if(e>9007199254740991)throw r("Maximum allowed index exceeded");return e}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=(0,r(896).createBrowserHistory)();t.default=n},function(e,t,r){"use strict";function n(e){return(n="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)}r(16),r(3),r(27),r(1),r(14),r(17),r(34),r(2),r(4),r(15),r(5),r(7),r(8),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!==n(e)&&"function"!=typeof e)return{default:e};var r=i(t);if(r&&r.has(e))return r.get(e);var o={},a=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var u in e)if("default"!==u&&Object.prototype.hasOwnProperty.call(e,u)){var s=a?Object.getOwnPropertyDescriptor(e,u):null;s&&(s.get||s.set)?Object.defineProperty(o,u,s):o[u]=e[u]}o.default=e,r&&r.set(e,o);return o}(r(337));function i(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,r=new WeakMap;return(i=function(e){return e?r:t})(e)}function a(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function u(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?a(Object(r),!0).forEach((function(t){s(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):a(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function s(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var c=(new(r(132).ViewerSettings)).get(),l=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:c,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};switch(t.type){case o.SETTINGS_UPDATE:case o.SETTINGS_SAVE:case o.SETTINGS_LOAD:return u(u({},e),t.payload);default:return e}};t.default=l},function(e,t,r){"use strict";function n(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,r(3),r(7);var o=function(){function e(t){var r=t.title,n=t.creator,o=t.date,i=t.publisher,a=t.description,u=t.language,s=t.rights,c=t.identifier;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.title=r,this.creator=n,this.date=o,this.publisher=i,this.description=a,this.language=u,this.rights=s,this.identifier=c}var t,r,o;return t=e,(r=[{key:"set",value:function(e,t){this[e]=t}},{key:"get",value:function(e){return this[e]}}])&&n(t.prototype,r),o&&n(t,o),Object.defineProperty(t,"prototype",{writable:!1}),e}();t.default=o},function(e,t,r){"use strict";function n(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=function(){function e(t){var r=t.id,n=t.href,o=t.mediaType,i=t.properties,a=t.idref,u=t.linear,s=t.absoluteURL,c=void 0===s?"":s,l=t.title,f=void 0===l?"":l,p=t.slug,d=void 0===p?"":p,h=t.depth,y=void 0===h?0:h,v=t.children,m=void 0===v?[]:v,b=t.inTOC,g=void 0!==b&&b;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.id=r,this.href=n,this.mediaType=o,this.properties=i,this.idref=a,this.linear=u,this.absoluteURL=c,this.title=f,this.slug=d,this.depth=y,this.children=m,this.inTOC=g}var t,r,o;return t=e,(r=[{key:"set",value:function(e,t){this[e]=t}},{key:"get",value:function(e){return this[e]}},{key:"addChild",value:function(e){this.children.push(e)}}])&&n(t.prototype,r),o&&n(t,o),Object.defineProperty(t,"prototype",{writable:!1}),e}();t.default=o},function(e,t,r){"use strict";function n(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function o(e,t,r){return t&&n(e.prototype,t),r&&n(e,r),Object.defineProperty(e,"prototype",{writable:!1}),e}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=o((function e(t){var r=t.type,n=t.title,o=t.href;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.type=r,this.title=n,this.href=o,this.absoluteURL=""}));t.default=i},function(e,t,r){"use strict";r(3),r(7),r(8),r(2),r(4),r(5),r(26),r(6),r(35),r(19),r(16),r(27),r(14),r(34),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,r(1),r(17),r(91);var n=s(r(129)),o=s(r(167)),i=r(131),a=r(45),u=s(r(41));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 l(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function f(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function p(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?f(Object(r),!0).forEach((function(t){d(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):f(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function d(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function h(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null==r)return;var n,o,i=[],a=!0,u=!1;try{for(r=r.call(e);!(a=(n=r.next()).done)&&(i.push(n.value),!t||i.length!==t);a=!0);}catch(e){u=!0,o=e}finally{try{a||null==r.return||r.return()}finally{if(u)throw o}}return i}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return y(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return y(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function y(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}var v=function(e,t,r){var n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{enumerable:!0};return Object.entries(t).forEach((function(t){var i=h(t,2),a=i[0],u=i[1],s=(0,o.default)(r,a)?r[a]:u;Object.defineProperty(e,a,p({value:s},n))})),e},m=function(e){return"function"==typeof e?e.call():e},b=function(){function e(){var t=this,r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};c(this,e),d(this,"get",(function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return e?(0,o.default)(t.settings,e)?t[e]:void console.error("Attempting to access undefined key %s",e):{width:t.width,height:t.height,paddingTop:t.paddingTop,paddingLeft:t.paddingLeft,paddingRight:t.paddingRight,paddingBottom:t.paddingBottom,columns:t.columns,columnGap:t.columnGap,columnWidth:t.columnWidth,transition:t.transition,transitionSpeed:t.transitionSpeed,theme:t.theme,fontSize:t.fontSize}})),d(this,"put",(function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;if((0,n.default)(e))for(var i=0,a=Object.entries(e);i<a.length;i++){var u=h(a[i],2),s=u[0],c=u[1];(0,o.default)(t.settings,s)&&(t[s]=c)}else"string"==typeof e?(0,o.default)(t.settings,e)&&(t[e]=r):console.error("Could not update viewer settings with key: %s val: %s",e,r)})),Object.defineProperty(this,"settings",{value:v({},e.defaults,r,{enumerable:!0,writable:!0}),enumerable:!0}),this.columnWidth=function(){return window.innerWidth/2-t.columnGap-t.paddingLeft}}var t,r,a;return t=e,(r=[{key:"width",get:function(){return this.settings.width},set:function(e){this.settings.width=e}},{key:"height",get:function(){return this.settings.height},set:function(e){this.settings.height=e}},{key:"paddingTop",get:function(){return m(this.settings.paddingTop)},set:function(e){this.settings.paddingTop=e}},{key:"paddingLeft",get:function(){return m(this.settings.paddingLeft)},set:function(e){this.settings.paddingLeft=e}},{key:"paddingRight",get:function(){return m(this.settings.paddingRight)},set:function(e){this.settings.paddingRight=e}},{key:"paddingBottom",get:function(){return m(this.settings.paddingBottom)},set:function(e){this.settings.paddingBottom=e}},{key:"paddingX",get:function(){return this.paddingLeft+this.paddingRight}},{key:"paddingY",get:function(){return this.paddingTop+this.paddingBottom}},{key:"columns",get:function(){return this.settings.columns},set:function(e){this.settings.columns=e}},{key:"columnGap",get:function(){return m(this.settings.columnGap)},set:function(e){this.settings.columnGap=e}},{key:"columnWidth",get:function(){return m(this.settings.columnWidth)},set:function(e){this.settings.columnWidth=e}},{key:"transition",get:function(){return this.settings.transition},set:function(e){this.settings.transition=e}},{key:"theme",get:function(){return this.settings.theme},set:function(e){this.settings.theme=e}},{key:"transitionSpeed",get:function(){return this.settings.transitionSpeed},set:function(e){this.settings.transitionSpeed=e}},{key:"fontSize",get:function(){return m(this.settings.fontSize)},set:function(e){this.settings.fontSize=e}},{key:"padding",set:function(e){var t=h(e,4),r=t[0],n=t[1],o=t[2],a=t[3];(0,i.isNumeric)(r)&&(this.settings.paddingTop=r),(0,i.isNumeric)(n)&&(this.settings.paddingRight=n),(0,i.isNumeric)(o)&&(this.settings.paddingBottom=o),(0,i.isNumeric)(a)&&(this.settings.paddingLeft=a)}}])&&l(t.prototype,r),a&&l(t,a),Object.defineProperty(t,"prototype",{writable:!1}),e}();d(b,"defaults",{width:0,height:0,theme:a.themes.DEFAULT,transition:a.transitions.SLIDE,transitionSpeed:400,columns:2,fontSize:function(){return u.default.styles().fontSize},columnGap:function(){return u.default.styles().columnGap},paddingLeft:function(){return u.default.styles().paddingLeft},paddingRight:function(){return u.default.styles().paddingRight},paddingTop:function(){return u.default.styles().paddingTop},paddingBottom:function(){return u.default.styles().paddingBottom}});var g=b;t.default=g},function(e,t){var r=Object.prototype.hasOwnProperty;e.exports=function(e,t){return null!=e&&r.call(e,t)}},function(e,t,r){var n=r(512),o=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,i=/\\(\\)?/g,a=n((function(e){var t=[];return 46===e.charCodeAt(0)&&t.push(""),e.replace(o,(function(e,r,n,o){t.push(n?o.replace(i,"$1"):r||e)})),t}));e.exports=a},function(e,t,r){var n=r(513);e.exports=function(e){var t=n(e,(function(e){return 500===r.size&&r.clear(),e})),r=t.cache;return t}},function(e,t,r){var n=r(213);function o(e,t){if("function"!=typeof e||null!=t&&"function"!=typeof t)throw new TypeError("Expected a function");var r=function(){var n=arguments,o=t?t.apply(this,n):n[0],i=r.cache;if(i.has(o))return i.get(o);var a=e.apply(this,n);return r.cache=i.set(o,a)||i,a};return r.cache=new(o.Cache||n),r}o.Cache=n,e.exports=o},function(e,t,r){var n=r(515),o=r(170),i=r(214);e.exports=function(){this.size=0,this.__data__={hash:new n,map:new(i||o),string:new n}}},function(e,t,r){var n=r(516),o=r(521),i=r(522),a=r(523),u=r(524);function s(e){var t=-1,r=null==e?0:e.length;for(this.clear();++t<r;){var n=e[t];this.set(n[0],n[1])}}s.prototype.clear=n,s.prototype.delete=o,s.prototype.get=i,s.prototype.has=a,s.prototype.set=u,e.exports=s},function(e,t,r){var n=r(169);e.exports=function(){this.__data__=n?n(null):{},this.size=0}},function(e,t,r){var n=r(339),o=r(518),i=r(81),a=r(340),u=/^\[object .+?Constructor\]$/,s=Function.prototype,c=Object.prototype,l=s.toString,f=c.hasOwnProperty,p=RegExp("^"+l.call(f).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");e.exports=function(e){return!(!i(e)||o(e))&&(n(e)?p:u).test(a(e))}},function(e,t,r){var n,o=r(519),i=(n=/[^.]+$/.exec(o&&o.keys&&o.keys.IE_PROTO||""))?"Symbol(src)_1."+n:"";e.exports=function(e){return!!i&&i in e}},function(e,t,r){var n=r(55)["__core-js_shared__"];e.exports=n},function(e,t){e.exports=function(e,t){return null==e?void 0:e[t]}},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,r){var n=r(169),o=Object.prototype.hasOwnProperty;e.exports=function(e){var t=this.__data__;if(n){var r=t[e];return"__lodash_hash_undefined__"===r?void 0:r}return o.call(t,e)?t[e]:void 0}},function(e,t,r){var n=r(169),o=Object.prototype.hasOwnProperty;e.exports=function(e){var t=this.__data__;return n?void 0!==t[e]:o.call(t,e)}},function(e,t,r){var n=r(169);e.exports=function(e,t){var r=this.__data__;return this.size+=this.has(e)?0:1,r[e]=n&&void 0===t?"__lodash_hash_undefined__":t,this}},function(e,t){e.exports=function(){this.__data__=[],this.size=0}},function(e,t,r){var n=r(171),o=Array.prototype.splice;e.exports=function(e){var t=this.__data__,r=n(t,e);return!(r<0)&&(r==t.length-1?t.pop():o.call(t,r,1),--this.size,!0)}},function(e,t,r){var n=r(171);e.exports=function(e){var t=this.__data__,r=n(t,e);return r<0?void 0:t[r][1]}},function(e,t,r){var n=r(171);e.exports=function(e){return n(this.__data__,e)>-1}},function(e,t,r){var n=r(171);e.exports=function(e,t){var r=this.__data__,o=n(r,e);return o<0?(++this.size,r.push([e,t])):r[o][1]=t,this}},function(e,t,r){var n=r(173);e.exports=function(e){var t=n(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,r){var n=r(173);e.exports=function(e){return n(this,e).get(e)}},function(e,t,r){var n=r(173);e.exports=function(e){return n(this,e).has(e)}},function(e,t,r){var n=r(173);e.exports=function(e,t){var r=n(this,e),o=r.size;return r.set(e,t),this.size+=r.size==o?0:1,this}},function(e,t,r){var n=r(103),o=r(79);e.exports=function(e){return o(e)&&"[object Arguments]"==n(e)}},function(e,t,r){"use strict";r(200)("Map",(function(e){return function(){return e(this,arguments.length?arguments[0]:void 0)}}),r(326))},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=r(57);function o(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}var i=function(){function e(t){var r=t.id,o=t.media,i=t.styles;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.id=r||"_".concat((0,n.rand)()),this.media=o,this.styles=i,this.node=null}var t,r,i;return t=e,(r=[{key:"writeCss",value:function(e){var t=e.createTextNode(this.styles);this.node.appendChild(t)}},{key:"appendSheet",value:function(e){this.node=e.createElement("style"),this.node.setAttribute("id",this.id),this.node.setAttribute("media",this.media),this.node.appendChild(e.createTextNode("")),this.writeCss(e),e.body.appendChild(this.node)}},{key:"removeSheet",value:function(e){e.body.removeChild(this.node)}}])&&o(t.prototype,r),i&&o(t,i),Object.defineProperty(t,"prototype",{writable:!1}),e}();t.default=i},function(e,t,r){var n=r(539),o=r(175)(n);e.exports=o},function(e,t){e.exports=function(e,t){return e>t}},function(e,t,r){var n=r(541),o=/^\s+/;e.exports=function(e){return e?e.slice(0,n(e)+1).replace(o,""):e}},function(e,t){var r=/\s/;e.exports=function(e){for(var t=e.length;t--&&r.test(e.charAt(t)););return t}},function(e,t,r){var n=r(175)((function(e,t){return e>=t}));e.exports=n},function(e,t,r){var n=r(544),o=r(175)(n);e.exports=o},function(e,t){e.exports=function(e,t){return e<t}},function(e,t,r){var n=r(175)((function(e,t){return e<=t}));e.exports=n},function(e,t,r){(function(t){function n(e){var t=a([["iOS",/iP(hone|od|ad)/],["Android OS",/Android/],["BlackBerry OS",/BlackBerry|BB10/],["Windows Mobile",/IEMobile/],["Amazon OS",/Kindle/],["Windows 3.11",/Win16/],["Windows 95",/(Windows 95)|(Win95)|(Windows_95)/],["Windows 98",/(Windows 98)|(Win98)/],["Windows 2000",/(Windows NT 5.0)|(Windows 2000)/],["Windows XP",/(Windows NT 5.1)|(Windows XP)/],["Windows Server 2003",/(Windows NT 5.2)/],["Windows Vista",/(Windows NT 6.0)/],["Windows 7",/(Windows NT 6.1)/],["Windows 8",/(Windows NT 6.2)/],["Windows 8.1",/(Windows NT 6.3)/],["Windows 10",/(Windows NT 10.0)/],["Windows ME",/Windows ME/],["Open BSD",/OpenBSD/],["Sun OS",/SunOS/],["Linux",/(Linux)|(X11)/],["Mac OS",/(Mac_PowerPC)|(Macintosh)/],["QNX",/QNX/],["BeOS",/BeOS/],["OS/2",/OS\/2/],["Search Bot",/(nuhk)|(Googlebot)|(Yammybot)|(Openbot)|(Slurp)|(MSNBot)|(Ask Jeeves\/Teoma)|(ia_archiver)/]]).filter((function(t){return t.rule&&t.rule.test(e)}))[0];return t?t.name:null}function o(){return"undefined"==typeof navigator&&void 0!==t?{name:"node",version:t.version.slice(1),os:r(547).type().toLowerCase()}:null}function i(e){var t=a([["aol",/AOLShield\/([0-9\._]+)/],["edge",/Edge\/([0-9\._]+)/],["yandexbrowser",/YaBrowser\/([0-9\._]+)/],["vivaldi",/Vivaldi\/([0-9\.]+)/],["kakaotalk",/KAKAOTALK\s([0-9\.]+)/],["samsung",/SamsungBrowser\/([0-9\.]+)/],["chrome",/(?!Chrom.*OPR)Chrom(?:e|ium)\/([0-9\.]+)(:?\s|$)/],["phantomjs",/PhantomJS\/([0-9\.]+)(:?\s|$)/],["crios",/CriOS\/([0-9\.]+)(:?\s|$)/],["firefox",/Firefox\/([0-9\.]+)(?:\s|$)/],["fxios",/FxiOS\/([0-9\.]+)/],["opera",/Opera\/([0-9\.]+)(?:\s|$)/],["opera",/OPR\/([0-9\.]+)(:?\s|$)$/],["ie",/Trident\/7\.0.*rv\:([0-9\.]+).*\).*Gecko$/],["ie",/MSIE\s([0-9\.]+);.*Trident\/[4-7].0/],["ie",/MSIE\s(7\.0)/],["bb10",/BB10;\sTouch.*Version\/([0-9\.]+)/],["android",/Android\s([0-9\.]+)/],["ios",/Version\/([0-9\._]+).*Mobile.*Safari.*/],["safari",/Version\/([0-9\._]+).*Safari/],["facebook",/FBAV\/([0-9\.]+)/],["instagram",/Instagram\ ([0-9\.]+)/],["ios-webview",/AppleWebKit\/([0-9\.]+).*Mobile/]]);if(!e)return null;var r=t.map((function(t){var r=t.rule.exec(e),n=r&&r[1].split(/[._]/).slice(0,3);return n&&n.length<3&&(n=n.concat(1==n.length?[0,0]:[0])),r&&{name:t.name,version:n.join(".")}})).filter(Boolean)[0]||null;return r&&(r.os=n(e)),/alexa|bot|crawl(er|ing)|facebookexternalhit|feedburner|google web preview|nagios|postrank|pingdom|slurp|spider|yahoo!|yandex/i.test(e)&&((r=r||{}).bot=!0),r}function a(e){return e.map((function(e){return{name:e[0],rule:e[1]}}))}e.exports={detect:function(){var e=o();return e||("undefined"!=typeof navigator?i(navigator.userAgent):null)},detectOS:n,getNodeVersion:o,parseUserAgent:i}}).call(this,r(105))},function(e,t){t.endianness=function(){return"LE"},t.hostname=function(){return"undefined"!=typeof location?location.hostname:""},t.loadavg=function(){return[]},t.uptime=function(){return 0},t.freemem=function(){return Number.MAX_VALUE},t.totalmem=function(){return Number.MAX_VALUE},t.cpus=function(){return[]},t.type=function(){return"Browser"},t.release=function(){return"undefined"!=typeof navigator?navigator.appVersion:""},t.networkInterfaces=t.getNetworkInterfaces=function(){return{}},t.arch=function(){return"javascript"},t.platform=function(){return"browser"},t.tmpdir=t.tmpDir=function(){return"/tmp"},t.EOL="\n",t.homedir=function(){return"/"}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=r(45);function o(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function i(e,t,r){return t&&o(e.prototype,t),r&&o(e,r),Object.defineProperty(e,"prototype",{writable:!1}),e}var a=i((function e(t){var r=t.spreadIndex,o=t.lastSpreadIndex,i=t.firstChapter,a=t.lastChapter,u=t.firstSpread,s=t.lastSpread,c=t.spreadDelta;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.origin=window.location.origin,this.type=n.messagesTypes.PAGINATION_EVENT,this.spreadIndex=r,this.lastSpreadIndex=o,this.firstChapter=i,this.lastChapter=a,this.firstSpread=u,this.lastSpread=s,this.spreadDelta=c}));t.default=a},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=r(45);function o(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function i(e,t,r){return t&&o(e.prototype,t),r&&o(e,r),Object.defineProperty(e,"prototype",{writable:!1}),e}var a=i((function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.origin=window.location.origin,this.type=n.messagesTypes.DEFERRED_EVENT}));t.default=a},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,r(210);var n=a(r(174)),o=r(57),i=a(r(66));function a(e){return e&&e.__esModule?e:{default:e}}function u(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}var s=function(){function e(t){var r=t.node,i=t.requestURI;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.id=r.id||"_".concat((0,o.rand)()),this.type=r.type||"application/javascript",this.src=e.getScriptSourceFromNodeValue(r),this.inline=(0,n.default)(this.src),this.body=r.childNodes&&r.childNodes.length?r.childNodes[0].nodeValue.trim():"",this.async=!1,this.requestURI=i}var t,r,a;return t=e,a=[{key:"getScriptSourceFromNodeValue",value:function(e){return(e.attributes.getNamedItem("src")||{}).value}}],(r=[{key:"appendScript",value:function(e){var t=i.default.trimFilenameFromResponse(this.requestURI),r=this.inline?null:i.default.resolveRelativeURL(t,this.src);this.elem=e.createElement("script"),this.elem.id=this.id,this.inline||(this.elem.src=r),this.inline&&(this.elem.innerHTML=this.body),this.async&&(this.elem.async=!0),e.body.appendChild(this.elem)}},{key:"removeScript",value:function(e){e.body.removeChild(this.elem)}}])&&u(t.prototype,r),a&&u(t,a),Object.defineProperty(t,"prototype",{writable:!1}),e}();t.default=s},function(e,t,r){"use strict";function n(e){return(n="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)}r(16),r(3),r(27),r(1),r(14),r(17),r(34),r(2),r(4),r(15),r(5),r(7),r(8),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!==n(e)&&"function"!=typeof e)return{default:e};var r=i(t);if(r&&r.has(e))return r.get(e);var o={},a=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var u in e)if("default"!==u&&Object.prototype.hasOwnProperty.call(e,u)){var s=a?Object.getOwnPropertyDescriptor(e,u):null;s&&(s.get||s.set)?Object.defineProperty(o,u,s):o[u]=e[u]}o.default=e,r&&r.set(e,o);return o}(r(324));function i(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,r=new WeakMap;return(i=function(e){return e?r:t})(e)}function a(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function u(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?a(Object(r),!0).forEach((function(t){s(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):a(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function s(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var c={searchParams:""},l=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:c,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};switch(t.type){case o.LOCATION_UPDATE:return u(u({},e),t.payload);default:return e}};t.default=l},function(e,t,r){"use strict";function n(e){return(n="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)}r(16),r(3),r(27),r(1),r(14),r(17),r(34),r(2),r(4),r(15),r(5),r(7),r(8),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!==n(e)&&"function"!=typeof e)return{default:e};var r=a(t);if(r&&r.has(e))return r.get(e);var o={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var u in e)if("default"!==u&&Object.prototype.hasOwnProperty.call(e,u)){var s=i?Object.getOwnPropertyDescriptor(e,u):null;s&&(s.get||s.set)?Object.defineProperty(o,u,s):o[u]=e[u]}o.default=e,r&&r.set(e,o);return o}(r(342)),i=["markerId"];function a(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,r=new WeakMap;return(a=function(e){return e?r:t})(e)}function u(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function s(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?u(Object(r),!0).forEach((function(t){c(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):u(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function c(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function l(e,t){if(null==e)return{};var r,n,o=function(e,t){if(null==e)return{};var r,n,o={},i=Object.keys(e);for(n=0;n<i.length;n++)r=i[n],t.indexOf(r)>=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(n=0;n<i.length;n++)r=i[n],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}var f={},p=function(e,t){var r=t.markerId,n=l(t,i);return s(s({},e),{},c({},r,s(s({},e[r]||{}),n)))},d=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:f,t=arguments.length>1?arguments[1]:void 0;switch(t.type){case o.UPDATE:return p(e,t.payload);default:return e}};t.default=d},function(e,t,r){"use strict";function n(e){return(n="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)}r(16),r(3),r(27),r(1),r(14),r(17),r(34),r(2),r(4),r(15),r(5),r(7),r(8),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!==n(e)&&"function"!=typeof e)return{default:e};var r=i(t);if(r&&r.has(e))return r.get(e);var o={},a=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var u in e)if("default"!==u&&Object.prototype.hasOwnProperty.call(e,u)){var s=a?Object.getOwnPropertyDescriptor(e,u):null;s&&(s.get||s.set)?Object.defineProperty(o,u,s):o[u]=e[u]}o.default=e,r&&r.set(e,o);return o}(r(343));function i(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,r=new WeakMap;return(i=function(e){return e?r:t})(e)}function a(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function u(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?a(Object(r),!0).forEach((function(t){s(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):a(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function s(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var c={loaded:!1,pendingDeferredCallbacks:!0,ultimateOffsetLeft:0,lastSpreadIndex:0},l=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:c,t=arguments.length>1?arguments[1]:void 0;switch(t.type){case o.LOAD:case o.UNLOAD:return u(u({},e),{},{loaded:t.payload});case o.UPDATE_ULTIMATE_NODE_POSITION:return u(u({},e),t.payload);case o.UPDATE_LAST_SPREAD_INDEX:return u(u({},e),{},{lastSpreadIndex:t.payload});case o.QUEUE_DEFERRED_CALLBACKS:case o.DEQUEUE_DEFERRED_CALLBACKS:return u(u({},e),{},{pendingDeferredCallbacks:t.payload});default:return e}};t.default=l},function(e,t,r){"use strict";function n(e){return(n="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)}r(16),r(3),r(27),r(1),r(14),r(17),r(34),r(2),r(4),r(15),r(5),r(7),r(8),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!==n(e)&&"function"!=typeof e)return{default:e};var r=i(t);if(r&&r.has(e))return r.get(e);var o={},a=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var u in e)if("default"!==u&&Object.prototype.hasOwnProperty.call(e,u)){var s=a?Object.getOwnPropertyDescriptor(e,u):null;s&&(s.get||s.set)?Object.defineProperty(o,u,s):o[u]=e[u]}o.default=e,r&&r.set(e,o);return o}(r(344));function i(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,r=new WeakMap;return(i=function(e){return e?r:t})(e)}function a(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function u(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?a(Object(r),!0).forEach((function(t){s(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):a(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function s(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var c={enableTransitions:!1,handleEvents:!1,spinnerVisible:!0},l=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:c,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};switch(t.type){case o.PAGE_TRANSITIONS_UPDATE:return u(u({},e),{},{enableTransitions:t.payload});case o.EVENT_HANDLING_UPDATE:return u(u({},e),{},{handleEvents:t.payload});case o.SPINNER_UPDATE:return u(u({},e),{},{spinnerVisible:t.payload});case o.UPDATE:return u(u({},e),t.payload);default:return e}};t.default=l},function(e,t,r){"use strict";function n(e){return(n="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)}r(1),r(33),r(2),r(4),r(15),r(5),r(14),r(3),r(7),r(8),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,r(28),r(29);var o=h(r(0)),i=r(37),a=r(59),u=r(557),s=p(r(107)),c=p(r(565)),l=r(45),f=h(r(218));function p(e){return e&&e.__esModule?e:{default:e}}function d(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,r=new WeakMap;return(d=function(e){return e?r:t})(e)}function h(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!==n(e)&&"function"!=typeof e)return{default:e};var r=d(t);if(r&&r.has(e))return r.get(e);var o={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if("default"!==a&&Object.prototype.hasOwnProperty.call(e,a)){var u=i?Object.getOwnPropertyDescriptor(e,a):null;u&&(u.get||u.set)?Object.defineProperty(o,a,u):o[a]=e[a]}return o.default=e,r&&r.set(e,o),o}function y(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function v(e,t){return(v=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function m(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var r,n=w(e);if(t){var o=w(this).constructor;r=Reflect.construct(n,arguments,o)}else r=n.apply(this,arguments);return b(this,r)}}function b(e,t){if(t&&("object"===n(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return g(e)}function g(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function w(e){return(w=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var S=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}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&v(e,t)}(a,e);var t,r,n,i=m(a);function a(e){var t;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,a),(t=i.call(this,e)).bindEvents=t.bindEvents.bind(g(t)),t.unbindEvents=t.unbindEvents.bind(g(t)),t.handleKeyDown=t.handleKeyDown.bind(g(t)),t.handleClick=t.handleClick.bind(g(t)),t}return t=a,(r=[{key:"UNSAFE_componentWillMount",value:function(){var e=this;this.bindEvents(),s.default.register((function(t){t.origin&&t.origin===window.location.origin||e.props.handleSidebarButtonClick(null)}),l.messagesTypes.CLICK_EVENT),s.default.register((function(t){var r=t.data;if(!1!==e.props.userInterface.handleEvents){var n=r.scope,o=r.delta;return"page"===n?(e.props.userInterfaceActions.enablePageTransitions(),e.props.handlePageNavigation(o)):"chapter"===n?e.props.handleChapterNavigation(o):void 0}}),l.messagesTypes.NAVIGATION_EVENT)}},{key:"componentWillUnmount",value:function(){this.unbindEvents()}},{key:"handleClick",value:function(e){!1!==this.props.userInterface.handleEvents&&(s.default.sendClickEvent(e),null===e.target.closest(".bber-controls__sidebar")&&null===e.target.closest(".bber-nav__button")&&this.props.showSidebar&&this.props.handleSidebarButtonClick(null))}},{key:"handleKeyDown",value:function(e){if(!1!==this.props.userInterface.handleEvents&&e&&void 0!==e.which)switch(s.default.sendKeydownEvent(e),e.which){case 37:this.props.userInterfaceActions.enablePageTransitions(),this.props.handlePageNavigation(-1),this.props.handleSidebarButtonClick(null);break;case 39:this.props.userInterfaceActions.enablePageTransitions(),this.props.handlePageNavigation(1),this.props.handleSidebarButtonClick(null);break;case 27:this.props.handleSidebarButtonClick(null);break;case 80:e.metaKey&&(e.preventDefault(),e.stopImmediatePropagation(),window.print())}}},{key:"bindEvents",value:function(){document.addEventListener("keydown",this.handleKeyDown),document.addEventListener("click",this.handleClick),document.addEventListener("touchstart",this.handleClick)}},{key:"unbindEvents",value:function(){document.removeEventListener("keydown",this.handleKeyDown),document.removeEventListener("click",this.handleClick),document.removeEventListener("touchstart",this.handleClick)}},{key:"render",value:function(){var e=this.props.readerSettings,t=e.NavigationHeader||u.NavigationHeader,r=(0,c.default)(e.NavigationFooter||u.NavigationFooter),n=this.props,i=n.destroyReaderComponent,a=n.handleSidebarButtonClick,s=n.downloads,l=n.uiOptions,f=n.currentSpineItemIndex,p=n.spine,d=n.layout,h=n.metadata,y=n.showSidebar,v=n.spreadIndex,m=n.lastSpreadIndex,b=n.handleChapterNavigation,g=n.handlePageNavigation,w=n.navigateToChapterByURL,S=this.props.userInterfaceActions.enablePageTransitions,O=this.props.userInterface.handleEvents;return o.default.createElement("div",{className:"bber-controls"},o.default.createElement(t,{destroyReaderComponent:i,handleSidebarButtonClick:a,downloads:s,uiOptions:l,showSidebar:y,spine:p,currentSpineItemIndex:f,navigateToChapterByURL:w,metadata:h}),this.props.children,o.default.createElement(r,{uiOptions:l,currentSpineItemIndex:f,spine:p,layout:d,spreadIndex:v,lastSpreadIndex:m,handleEvents:O,handleChapterNavigation:b,enablePageTransitions:S,handlePageNavigation:g}))}}])&&y(t.prototype,r),n&&y(t,n),Object.defineProperty(t,"prototype",{writable:!1}),a}(o.Component),O=(0,i.connect)((function(e){return{readerSettings:e.readerSettings,viewerSettings:e.viewerSettings,userInterface:e.userInterface}}),(function(e){return{userInterfaceActions:(0,a.bindActionCreators)(f,e)}}))(S);t.default=O},function(e,t,r){"use strict";var n=r(10),o=r(53),i=r(24),a=r(25),u=r(102),s=r(114),c=Function,l=n([].concat),f=n([].join),p={},d=function(e,t,r){if(!a(p,t)){for(var n=[],o=0;o<t;o++)n[o]="a["+o+"]";p[t]=c("C,a","return new C("+f(n,",")+")")}return p[t](e,r)};e.exports=s?c.bind:function(e){var t=o(this),r=t.prototype,n=u(arguments,1),a=function(){var r=l(n,u(arguments));return this instanceof a?d(t,r.length,r):t.apply(e,r)};return i(r)&&(a.prototype=r),a}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"NavigationFooter",{enumerable:!0,get:function(){return o.default}}),Object.defineProperty(t,"NavigationHeader",{enumerable:!0,get:function(){return n.default}});var n=i(r(558)),o=i(r(564));function i(e){return e&&e.__esModule?e:{default:e}}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.NavigationHeader=s,t.default=void 0;var n=u(r(58)),o=u(r(0)),i=r(559),a=r(345);function u(e){return e&&e.__esModule?e:{default:e}}function s(e){var t,r;if(!e||null===(t=e.uiOptions)||void 0===t||null===(r=t.navigation)||void 0===r||!r.header_icons)return null;var u=e.showSidebar,s=e.downloads,c=e.spine,l=e.currentSpineItemIndex,f=e.navigateToChapterByURL,p=e.metadata,d=e.uiOptions.navigation.header_icons,h=d.toc,y=d.home,v=d.info,m=d.downloads;return o.default.createElement("header",{className:"bber-controls__header"},o.default.createElement("nav",{className:"bber-nav"},o.default.createElement("ul",{className:"bber-ul"},o.default.createElement("li",{className:"bber-li bber-li-home"},y&&o.default.createElement("button",{className:"bber-button bber-nav__button",onClick:e.destroyReaderComponent},o.default.createElement(a.Home,null))),o.default.createElement("li",{className:"bber-li"},o.default.createElement("ul",{className:"bber-ul"},h&&o.default.createElement("li",{className:"bber-li bber-li-toc"},o.default.createElement("button",{className:(0,n.default)("bber-button","bber-nav__button",{"bber-nav__button--open":"chapters"===u}),onClick:function(){return e.handleSidebarButtonClick("chapters")}},"chapters"===u?o.default.createElement(a.Close,null):o.default.createElement(a.Menu,null)),o.default.createElement(i.SidebarChapters,{showSidebar:u,spine:c,currentSpineItemIndex:l,navigateToChapterByURL:f})),m&&s.length>0&&o.default.createElement("li",{className:"bber-li bber-li-downloads"},o.default.createElement("button",{className:(0,n.default)("bber-button","bber-nav__button",{"bber-nav__button--open":"downloads"===u}),onClick:function(){return e.handleSidebarButtonClick("downloads")}},"downloads"===u?o.default.createElement(a.Close,null):o.default.createElement(a.Download,null)),o.default.createElement(i.SidebarDownloads,{showSidebar:u,downloads:s})),!1,v&&o.default.createElement("li",{className:"bber-li bber-li-info"},o.default.createElement("button",{className:(0,n.default)("bber-button","bber-nav__button",{"bber-nav__button--open":"metadata"===u}),onClick:function(){return e.handleSidebarButtonClick("metadata")}},"metadata"===u?o.default.createElement(a.Close,null):o.default.createElement(a.Info,null)),o.default.createElement(i.SidebarMetadata,{showSidebar:u,metadata:p})))))))}var c=s;t.default=c},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"SidebarChapters",{enumerable:!0,get:function(){return i.default}}),Object.defineProperty(t,"SidebarDownloads",{enumerable:!0,get:function(){return o.default}}),Object.defineProperty(t,"SidebarMetadata",{enumerable:!0,get:function(){return n.default}}),Object.defineProperty(t,"SidebarSettings",{enumerable:!0,get:function(){return a.default}});var n=u(r(560)),o=u(r(561)),i=u(r(562)),a=u(r(563));function u(e){return e&&e.__esModule?e:{default:e}}},function(e,t,r){"use strict";function n(e){return(n="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)}r(3),r(7),r(1),r(8),r(2),r(4),r(5),r(26),r(6),r(35),r(19),r(15),r(14),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,r(52),r(91);var o,i=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!==n(e)&&"function"!=typeof e)return{default:e};var r=u(t);if(r&&r.has(e))return r.get(e);var o={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if("default"!==a&&Object.prototype.hasOwnProperty.call(e,a)){var s=i?Object.getOwnPropertyDescriptor(e,a):null;s&&(s.get||s.set)?Object.defineProperty(o,a,s):o[a]=e[a]}o.default=e,r&&r.set(e,o);return o}(r(0)),a=(o=r(58))&&o.__esModule?o:{default:o};function u(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,r=new WeakMap;return(u=function(e){return e?r:t})(e)}function s(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null==r)return;var n,o,i=[],a=!0,u=!1;try{for(r=r.call(e);!(a=(n=r.next()).done)&&(i.push(n.value),!t||i.length!==t);a=!0);}catch(e){u=!0,o=e}finally{try{a||null==r.return||r.return()}finally{if(u)throw o}}return i}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return c(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return c(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function c(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}var l=(0,r(37).connect)((function(e){return{readerSettings:e.readerSettings}}))((function(e){if(e.readerSettings.SidebarMetadata)return e.readerSettings.SidebarMetadata(e);if("metadata"!==e.showSidebar)return null;var t=(0,i.useRef)(),r=s((0,i.useState)("0px"),2),n=r[0],o=r[1],u=function(){var e=t.current.getBoundingClientRect().y;o(window.innerHeight-e)};return(0,i.useEffect)((function(){u()}),[t]),(0,i.useEffect)((function(){return window.addEventListener("resize",u),function(){return window.removeEventListener("resize",u)}}),[]),i.default.createElement("nav",{ref:t,style:{maxHeight:n},className:(0,a.default)("bber-nav","bber-controls__sidebar","bber-controls__sidebar__metadata","bber-controls__sidebar__metadata--open")},i.default.createElement("dl",{className:"bber-dl"},Object.entries(e.metadata).map((function(e){var t=s(e,2),r=t[0],n=t[1];return r&&n?i.default.createElement("div",{key:r},i.default.createElement("dt",{className:"bber-dt"},r),i.default.createElement("dd",{className:"bber-dd"},n)):null}))))}));t.default=l},function(e,t,r){"use strict";function n(e){return(n="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)}r(1),r(8),r(2),r(4),r(5),r(26),r(6),r(35),r(19),r(15),r(14),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,r(3),r(7),r(52);var o=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!==n(e)&&"function"!=typeof e)return{default:e};var r=c(t);if(r&&r.has(e))return r.get(e);var o={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if("default"!==a&&Object.prototype.hasOwnProperty.call(e,a)){var u=i?Object.getOwnPropertyDescriptor(e,a):null;u&&(u.get||u.set)?Object.defineProperty(o,a,u):o[a]=e[a]}o.default=e,r&&r.set(e,o);return o}(r(0)),i=r(37),a=s(r(58)),u=s(r(107));function s(e){return e&&e.__esModule?e:{default:e}}function c(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,r=new WeakMap;return(c=function(e){return e?r:t})(e)}function l(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null==r)return;var n,o,i=[],a=!0,u=!1;try{for(r=r.call(e);!(a=(n=r.next()).done)&&(i.push(n.value),!t||i.length!==t);a=!0);}catch(e){u=!0,o=e}finally{try{a||null==r.return||r.return()}finally{if(u)throw o}}return i}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return f(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return f(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function f(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function p(e){var t=e.url,r=e.label,n=e.description;return o.default.createElement("li",{className:"bber-li"},o.default.createElement("a",{className:"bber-a",download:!0,href:t,onClick:function(){return u.default.sendDownloadEvent(t)}},o.default.createElement("div",{className:"bber-downloads__title"},r),n&&o.default.createElement("div",{className:"bber-downloads__description"},n)))}var d=(0,i.connect)((function(e){return{readerSettings:e.readerSettings}}))((function(e){if(e.readerSettings.SidebarDownloads)return e.readerSettings.SidebarDownloads(e);if("downloads"!==e.showSidebar)return null;var t=(0,o.useRef)(),r=l((0,o.useState)("0px"),2),n=r[0],i=r[1],u=function(){var e=t.current.getBoundingClientRect().y;i(window.innerHeight-e)};return(0,o.useEffect)((function(){u()}),[t]),(0,o.useEffect)((function(){return window.addEventListener("resize",u),function(){return window.removeEventListener("resize",u)}}),[]),o.default.createElement("nav",{ref:t,style:{maxHeight:n},className:(0,a.default)("bber-nav","bber-controls__sidebar","bber-controls__sidebar__downloads","bber-controls__sidebar__downloads--open")},o.default.createElement("ul",{className:"bber-ul"},e.downloads.map((function(e){return o.default.createElement(p,{key:e.url,url:e.url,label:e.label,description:e.description})}))))}));t.default=d},function(e,t,r){"use strict";function n(e){return(n="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)}r(3),r(7),r(8),r(2),r(4),r(5),r(26),r(6),r(35),r(19),r(15),r(14),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,r(27),r(1),r(52),r(32);var o,i=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!==n(e)&&"function"!=typeof e)return{default:e};var r=u(t);if(r&&r.has(e))return r.get(e);var o={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if("default"!==a&&Object.prototype.hasOwnProperty.call(e,a)){var s=i?Object.getOwnPropertyDescriptor(e,a):null;s&&(s.get||s.set)?Object.defineProperty(o,a,s):o[a]=e[a]}o.default=e,r&&r.set(e,o);return o}(r(0)),a=(o=r(58))&&o.__esModule?o:{default:o};function u(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,r=new WeakMap;return(u=function(e){return e?r:t})(e)}function s(e){return function(e){if(Array.isArray(e))return f(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||l(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 c(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null==r)return;var n,o,i=[],a=!0,u=!1;try{for(r=r.call(e);!(a=(n=r.next()).done)&&(i.push(n.value),!t||i.length!==t);a=!0);}catch(e){u=!0,o=e}finally{try{a||null==r.return||r.return()}finally{if(u)throw o}}return i}(e,t)||l(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function l(e,t){if(e){if("string"==typeof e)return f(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?f(e,t):void 0}}function f(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function p(e){var t=e.current,r=e.items,n=e.depth||0,o=r.filter((function(e){return e.depth===n&&e.inTOC}));return i.default.createElement("ol",{className:"bber-ol"},o.map((function(r,o){return i.default.createElement("li",{className:"bber-li",key:r.id},i.default.createElement("button",{onClick:function(){return e.navigateToChapterByURL(r.absoluteURL)},className:(0,a.default)("bber-button bber-indent--".concat(n+1),{"bber-chapter--current":t===r.id})},r.title||"Chapter ".concat(n,".").concat(o)),r.children.length>0&&i.default.createElement(p,{current:t,items:r.children,depth:n+1,navigateToChapterByURL:e.navigateToChapterByURL}))})))}var d=(0,r(37).connect)((function(e){return{readerSettings:e.readerSettings}}))((function(e){if(e.readerSettings.SidebarChapters)return e.readerSettings.SidebarChapters(e);if("chapters"!==e.showSidebar)return null;var t=(0,i.useRef)(),r=c((0,i.useState)("0px"),2),n=r[0],o=r[1],u=function(){var e=t.current.getBoundingClientRect().y;o(window.innerHeight-e)};return(0,i.useEffect)((function(){u()}),[t]),(0,i.useEffect)((function(){return window.addEventListener("resize",u),function(){return window.removeEventListener("resize",u)}}),[]),i.default.createElement("nav",{ref:t,style:{maxHeight:n},className:(0,a.default)("bber-nav","bber-controls__sidebar","bber-controls__sidebar__chapters","bber-controls__sidebar__chapters--open")},i.default.createElement(p,{items:s(e.spine),current:(e.spine[e.currentSpineItemIndex||0]||{}).id,navigateToChapterByURL:e.navigateToChapterByURL}))}));t.default=d},function(e,t,r){"use strict";function n(e){return(n="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)}r(28),r(29),r(1),r(33),r(3),r(7),r(8),r(2),r(4),r(5),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=a(r(0)),i=a(r(58));function a(e){return e&&e.__esModule?e:{default:e}}function u(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function s(e,t){return(s=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function c(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 Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var r,n=p(e);if(t){var o=p(this).constructor;r=Reflect.construct(n,arguments,o)}else r=n.apply(this,arguments);return l(this,r)}}function l(e,t){if(t&&("object"===n(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return f(e)}function f(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function p(e){return(p=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function d(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var h=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}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&s(e,t)}(l,e);var t,r,n,a=c(l);function l(e){var t;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,l),d(f(t=a.call(this,e)),"handleFontSizeIncrement",(function(){return t.handleFontSizeChange(1)})),d(f(t),"handleFontSizeDecrement",(function(){return t.handleFontSizeChange(-1)})),d(f(t),"handleFontSizeChange",(function(e){var r=t.state,n=r.fontSizeMin,o=r.fontSizeMax,i=r.fontSizeStep,a=t.state.fontSize;(a=i*e+(a=parseInt(a,10)))<n||a>o||(t.setState({fontSize:a}),t.props.update({fontSize:a}),t.props.save())})),d(f(t),"handleOnChange",(function(e){return t.setState({fontSize:e.target.value})})),d(f(t),"handleOnBlur",(function(){var e=t.state,r=e.fontSizeMin,n=e.fontSizeMax,o=t.state.fontSize;(o=10*Math.round(.1*o))<r||o>n||o%10!=0||(t.setState({fontSize:o}),t.props.update({fontSize:o}),t.props.save())})),t.state={fontSize:parseInt(t.props.viewerSettings.fontSize,10),fontSizeMin:50,fontSizeMax:250,fontSizeStep:10},t}return t=l,(r=[{key:"UNSAFE_componentWillReceiveProps",value:function(e){var t=e.viewerSettings.fontSize;t!==this.state.fontSize&&this.setState({fontSize:t})}},{key:"render",value:function(){var e=this.state,t=e.fontSize,r=e.fontSizeMin,n=e.fontSizeMax,a=e.fontSizeStep;return o.default.createElement("nav",{className:(0,i.default)("bber-controls__sidebar","bber-controls__sidebar__settings",{"bber-controls__sidebar__settings--open":"settings"===this.props.showSidebar})},o.default.createElement("fieldset",{className:"bber-settings__items"},o.default.createElement("div",{className:"bber-settings__item bber-settings__item--font-size"},o.default.createElement("label",{htmlFor:"fontSize"},"Font Size"),o.default.createElement("div",{className:"bber-settings__item__button-group bber-settings__item__button-group--horizontal"},o.default.createElement("button",{onClick:this.handleFontSizeDecrement},"-"),o.default.createElement("span",null,t,"%"),o.default.createElement("input",{id:"fontSize",type:"number",value:t,min:r,max:n,step:a,onChange:this.handleOnChange,onBlur:this.handleOnBlur}),o.default.createElement("button",{onClick:this.handleFontSizeIncrement},"+")))))}}])&&u(t.prototype,r),n&&u(t,n),Object.defineProperty(t,"prototype",{writable:!1}),l}(o.default.Component);t.default=h},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=a(r(0)),o=a(r(41)),i=r(345);function a(e){return e&&e.__esModule?e:{default:e}}var u={prev:function(e){return(o.default.isSingleColumn()||e.uiOptions.navigation.footer_icons.chapter)&&0!==e.currentSpineItemIndex},next:function(e){return(o.default.isSingleColumn()||e.uiOptions.navigation.footer_icons.chapter)&&e.currentSpineItemIndex!==e.spine.length-1}},s={prev:function(e){return!o.default.isVerticallyScrolling(e)&&e.uiOptions.navigation.footer_icons.page&&(0!==e.currentSpineItemIndex||0!==e.spreadIndex)},next:function(e){return!o.default.isVerticallyScrolling(e)&&e.uiOptions.navigation.footer_icons.page&&(e.currentSpineItemIndex!==e.spine.length-1||e.spreadIndex!==e.lastSpreadIndex)}};var c=function(e){return n.default.createElement("footer",{className:"bber-controls__footer"},n.default.createElement("nav",{className:"bber-nav"},n.default.createElement("ul",{className:"bber-ul"},n.default.createElement("li",{className:"bber-li"},u.prev(e)&&n.default.createElement("button",{className:"bber-button bber-nav__button",onClick:e.goToPrevChapter},n.default.createElement(i.ChapterPrevious,null))),n.default.createElement("li",{className:"bber-li"},s.prev(e)&&n.default.createElement("button",{className:"bber-button bber-nav__button bber-nav__button--page-prev",onClick:e.goToPrevPage},n.default.createElement(i.PagePrevious,null))),n.default.createElement("li",{className:"bber-li"},s.next(e)&&n.default.createElement("button",{className:"bber-button bber-nav__button bber-nav__button--page-next",onClick:e.goToNextPage},n.default.createElement(i.PageNext,null))),n.default.createElement("li",{className:"bber-li"},u.next(e)&&n.default.createElement("button",{className:"bber-button bber-nav__button",onClick:e.goToNextChapter},n.default.createElement(i.ChapterNext,null))))))};t.default=c},function(e,t,r){"use strict";function n(e){return(n="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)}r(28),r(29),r(1),r(33),r(36),r(2),r(4),r(15),r(5),r(14),r(3),r(7),r(8),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,r(32);var o,i=(o=r(0))&&o.__esModule?o:{default:o},a=r(37),u=r(59),s=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!==n(e)&&"function"!=typeof e)return{default:e};var r=c(t);if(r&&r.has(e))return r.get(e);var o={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if("default"!==a&&Object.prototype.hasOwnProperty.call(e,a)){var u=i?Object.getOwnPropertyDescriptor(e,a):null;u&&(u.get||u.set)?Object.defineProperty(o,a,u):o[a]=e[a]}o.default=e,r&&r.set(e,o);return o}(r(218));function c(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,r=new WeakMap;return(c=function(e){return e?r:t})(e)}function l(){return(l=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(this,arguments)}function f(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function p(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function d(e,t){return(d=Object.setPrototypeOf?Object.setPrototypeOf.bind():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 Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var r,n=m(e);if(t){var o=m(this).constructor;r=Reflect.construct(n,arguments,o)}else r=n.apply(this,arguments);return y(this,r)}}function y(e,t){if(t&&("object"===n(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return v(e)}function v(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function m(e){return(m=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function b(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var g=function(e){var t=function(t){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&d(e,t)}(u,t);var r,n,o,a=h(u);function u(){var e;f(this,u);for(var t=arguments.length,r=new Array(t),n=0;n<t;n++)r[n]=arguments[n];return b(v(e=a.call.apply(a,[this].concat(r))),"goToPrevChapter",(function(){!1!==e.props.userInterface.handleEvents&&e.props.handleChapterNavigation(-1)})),b(v(e),"goToNextChapter",(function(){!1!==e.props.handleEvents&&e.props.handleChapterNavigation(1)})),b(v(e),"goToPrevPage",(function(){!1!==e.props.userInterface.handleEvents&&(e.props.userInterfaceActions.enablePageTransitions(),e.props.handlePageNavigation(-1))})),b(v(e),"goToNextPage",(function(){!1!==e.props.userInterface.handleEvents&&(e.props.userInterfaceActions.enablePageTransitions(),e.props.handlePageNavigation(1))})),e}return r=u,(n=[{key:"render",value:function(){return i.default.createElement(e,l({goToPrevChapter:this.goToPrevChapter,goToNextChapter:this.goToNextChapter,goToPrevPage:this.goToPrevPage,goToNextPage:this.goToNextPage},this.props))}}])&&p(r.prototype,n),o&&p(r,o),Object.defineProperty(r,"prototype",{writable:!1}),u}(i.default.Component);return(0,a.connect)((function(e){return{userInterface:e.userInterface}}),(function(e){return{userInterfaceActions:(0,u.bindActionCreators)(s,e)}}))(t)};t.default=g},function(e,t,r){"use strict";function n(e){return(n="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)}r(28),r(29),r(1),r(33),r(16),r(3),r(27),r(14),r(17),r(34),r(7),r(8),r(2),r(4),r(5),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,r(32);var o=f(r(0)),i=f(r(129)),a=r(37),u=r(106),s=f(r(41)),c=f(r(107)),l=f(r(90));function f(e){return e&&e.__esModule?e:{default:e}}function p(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function d(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?p(Object(r),!0).forEach((function(t){S(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):p(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function h(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function y(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function v(e,t){return(v=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function m(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var r,n=w(e);if(t){var o=w(this).constructor;r=Reflect.construct(n,arguments,o)}else r=n.apply(this,arguments);return b(this,r)}}function b(e,t){if(t&&("object"===n(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return g(e)}function g(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function w(e){return(w=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function S(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var O=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}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&v(e,t)}(f,e);var t,r,n,a=m(f);function f(){var e;h(this,f);for(var t=arguments.length,r=new Array(t),n=0;n<t;n++)r[n]=arguments[n];return S(g(e=a.call.apply(a,[this].concat(r))),"node",o.default.createRef()),S(g(e),"handleScroll",(function(t){var r=Math.max(e.node.current.scrollHeight,e.node.current.offsetHeight,e.node.current.clientHeight);c.default.sendScrollEvent(t,t.target.scrollTop,r)})),e}return t=f,(r=[{key:"UNSAFE_componentWillReceiveProps",value:function(e){var t;s.default.isSingleColumn()&&null!==(t=this.node)&&void 0!==t&&t.current&&!1!==e.view.loaded&&this.props.view.loaded!==e.view.loaded&&this.node.current.scrollTo(0,0)}},{key:"componentDidMount",value:function(){this.node.current.addEventListener("scroll",this.handleScroll)}},{key:"componentWillUnmount",value:function(){this.node.current.removeEventListener("scroll",this.handleScroll)}},{key:"style",value:function(){var e={position:"absolute",top:0,left:0,right:0,bottom:0,margin:0,padding:0,border:0};return s.default.isVerticallyScrolling(this.props)?(e.WebkitOverflowScrolling="touch",e.overflowY="auto",e.overflowX="hidden"):e.overflow="hidden",(0,i.default)(this.props.style)&&(e=d(d({},e),this.props.style)),e}},{key:"className",value:function(){var e=l.default.createHash(this.props.readerSettings.bookURL),t="_".concat(e);return this.props.className&&"string"==typeof this.props.className&&(t="".concat(t," ").concat(this.props.className)),t}},{key:"render",value:function(){return o.default.createElement("div",{id:"frame",className:this.className(),style:this.style(),ref:this.node},o.default.createElement(u.Layout,this.props))}}])&&y(t.prototype,r),n&&y(t,n),Object.defineProperty(t,"prototype",{writable:!1}),f}(o.default.Component),_=(0,a.connect)((function(e){return{readerSettings:e.readerSettings,viewerSettings:e.viewerSettings}}),(function(){return{}}))(O);t.default=_},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=a(r(0)),o=a(r(95)),i=a(r(66));function a(e){return e&&e.__esModule?e:{default:e}}var u=function(e){return n.default.createElement(o.default.Consumer,null,(function(t){var r=t.navigateToChapterByURL,o=e.className,a=e.style;o=o||"",a=a||{};var u=e.href,s=i.default.isExternal(u)?"_blank":"_top";return n.default.createElement("a",{href:u,style:a,target:s,className:o,onClick:function(e){(i.default.isRelative(u)||i.default.isInternal(u))&&(e.preventDefault(),r(u))}},e.children)}))};t.default=u},function(e,t,r){"use strict";function n(e){return(n="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)}r(28),r(29),r(1),r(33),r(16),r(3),r(27),r(14),r(17),r(34),r(7),r(8),r(2),r(4),r(5),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,r(6),r(32);var o=y(r(0)),i=y(r(219)),a=y(r(134)),u=r(37),s=y(r(572)),c=y(r(41)),l=y(r(176)),f=y(r(573)),p=y(r(575)),d=y(r(95)),h=r(45);function y(e){return e&&e.__esModule?e:{default:e}}function v(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function m(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?v(Object(r),!0).forEach((function(t){x(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):v(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function b(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function g(e,t){return(g=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function w(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 Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var r,n=_(e);if(t){var o=_(this).constructor;r=Reflect.construct(n,arguments,o)}else r=n.apply(this,arguments);return S(this,r)}}function S(e,t){if(t&&("object"===n(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return O(e)}function O(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function _(e){return(_=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function x(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function E(e){var t=e.layout,r=e.leafLeftStyles,n=e.leafRightStyles;return c.default.isVerticallyScrolling({layout:t})?null:o.default.createElement(o.default.Fragment,null,o.default.createElement("div",{className:"bber-leaf bber-leaf--left",style:r}),o.default.createElement("div",{className:"bber-leaf bber-leaf--right",style:n}))}var P=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}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&g(e,t)}(u,e);var t,r,n,i=w(u);function u(){var e;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,u),x(O(e=i.call(this)),"state",{margin:0,border:0,boxSizing:"border-box",transform:"translateX(0) translate3d(0, 0, 0)",columnFill:"auto"}),x(O(e),"onResizeDone",(function(){e.props.updateDimensions(),e.updateTransform()})),x(O(e),"updateTransform",(function(t){var r=e.context.getTranslateX(t),n="translateX(".concat(r,"px) translate3d(0, 0, 0)");e.setState({transform:n})})),e.handleResize=(0,a.default)(e.onResizeDone,h.RESIZE_DEBOUNCE_TIMER,{}).bind(O(e)),e}return t=u,(r=[{key:"componentDidMount",value:function(){this.props.updateDimensions(),this.updateTransform(),this.bindEventListeners()}},{key:"UNSAFE_componentWillReceiveProps",value:function(e){var t=e.spreadIndex;this.updateTransform(t)}},{key:"componentWillUnmount",value:function(){this.unBindEventListeners()}},{key:"bindEventListeners",value:function(){window.addEventListener("resize",this.handleResize)}},{key:"unBindEventListeners",value:function(){window.removeEventListener("resize",this.handleResize)}},{key:"layoutStyles",value:function(){var e=this.props.viewerSettings,t=e.width,r=e.height,n=e.columns,o=e.columnGap,i=e.paddingTop,a=e.paddingLeft,u=e.paddingRight,s=e.paddingBottom,c=e.fontSize,l=this.state;return{width:t,height:r,columnGap:o,paddingTop:i,paddingLeft:a,paddingRight:u,paddingBottom:s,margin:l.margin,border:l.border,boxSizing:l.boxSizing,columns:n,columnFill:l.columnFill,transform:l.transform,fontSize:c}}},{key:"leafStyles",value:function(e){var t,r=this.props.viewerSettings.transitionSpeed,n={},o=0;return o=this.context.getTranslateX(),"firefox"===l.default.name?("left"===e&&(o*=-1),x(t={},e,"".concat(o,"px")),x(t,"transition","".concat(e," ").concat(r,"ms ease 0s")),n=t):n={transform:"translateX(".concat(o*=-1,"px) translate3d(0, 0, 0)"),transition:"transform ".concat(r,"ms ease 0s")},n}},{key:"render",value:function(){var e=this.props.getFrameHeight(),t=this.props,r=t.spreadIndex,n=t.slug,i=t.layout,a=this.props.userInterface.enableTransitions,u=this.props.viewerSettings,l=u.transition,f=u.transitionSpeed,p=u.paddingLeft,d=u.paddingRight,y="";y=i===h.layouts.SCROLL?"scroll":c.default.isVerticallyScrolling({layout:i})?"mobile":"desktop";var v=m(m({},{padding:0,margin:0}),{},{minHeight:e}),b=(0,s.default)({transitionSpeed:f})[l],g=m(m({},this.layoutStyles()),b),w=m(m({},this.leafStyles("left")),{},{width:p}),S=m(m({},this.leafStyles("right")),{},{width:d});return a||(g=m(m({},g),{},{transition:"none"}),w=m(m({},w),{},{transition:"none"}),S=m(m({},S),{},{transition:"none"})),o.default.createElement("div",{id:"layout",style:g,className:"spread-index__".concat(r," context__").concat(y," ").concat(n)},o.default.createElement("div",{id:"content",style:v,ref:this.props.innerRef},o.default.createElement(this.props.BookContent,null)),o.default.createElement(E,{layout:i,leafLeftStyles:w,leafRightStyles:S}))}}])&&b(t.prototype,r),n&&b(t,n),Object.defineProperty(t,"prototype",{writable:!1}),u}(o.default.Component);x(P,"contextType",d.default),x(P,"propTypes",{viewerSettings:i.default.shape({paddingTop:i.default.number.isRequired,paddingLeft:i.default.number.isRequired,paddingBottom:i.default.number.isRequired,fontSize:i.default.string.isRequired,columnGap:i.default.number.isRequired,transition:i.default.string.isRequired,transitionSpeed:i.default.number.isRequired,theme:i.default.string.isRequired}).isRequired});var k=(0,u.connect)((function(e){return{userInterface:e.userInterface}}),(function(){return{}}))((0,p.default)((0,f.default)(P)));t.default=k},function(e,t,r){"use strict";var n=r(570);function o(){}function i(){}i.resetWarningCache=o,e.exports=function(){function e(e,t,r,o,i,a){if(a!==n){var u=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 u.name="Invariant Violation",u}}function t(){return e}e.isRequired=e;var r={array:e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:i,resetWarningCache:o};return r.PropTypes=r,r}},function(e,t,r){"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},function(e,t,r){var n=r(55);e.exports=function(){return n.Date.now()}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=r(45);function o(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var i=function(e){var t,r=e.transitionSpeed;return o(t={},n.transitions.SLIDE,{transition:"transform ".concat(r,"ms ease")}),o(t,n.transitions.FADE,{}),t};t.default=i},function(e,t,r){"use strict";r(28),r(29),r(33),r(36),r(15),r(14),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,r(32),r(6),r(19),r(574),r(69),r(3),r(7),r(1),r(8),r(2),r(4),r(5);var n=h(r(0)),o=r(37),i=r(59),a=h(r(134)),u=h(r(346)),s=r(131),c=r(347),l=h(r(176)),f=r(45),p=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!==x(e)&&"function"!=typeof e)return{default:e};var r=d(t);if(r&&r.has(e))return r.get(e);var n={},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var a=o?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(n,i,a):n[i]=e[i]}n.default=e,r&&r.set(e,n);return n}(r(177));function d(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,r=new WeakMap;return(d=function(e){return e?r:t})(e)}function h(e){return e&&e.__esModule?e:{default:e}}function y(){return(y=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(this,arguments)}function v(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function m(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function b(e,t){return(b=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function g(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 Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var r,n=O(e);if(t){var o=O(this).constructor;r=Reflect.construct(n,arguments,o)}else r=n.apply(this,arguments);return w(this,r)}}function w(e,t){if(t&&("object"===x(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return S(e)}function S(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function O(e){return(O=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function _(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function x(e){return(x="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 E=function(e){if(null==e||!e.current)throw new Error("Cannot observe node:",e||x(e))},P=function(e){var t=null,r=null,d=0,h=function(o){!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}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&b(e,t)}(O,o);var i,p,h,w=g(O);function O(){var e;v(this,O);for(var t=arguments.length,r=new Array(t),o=0;o<t;o++)r[o]=arguments[o];return _(S(e=w.call.apply(w,[this].concat(r))),"node",n.default.createRef()),e}return i=O,(p=[{key:"componentDidMount",value:function(){this.calculateNodePositionAfterResize=(0,a.default)(this.calculateNodePosition,f.RESIZE_DEBOUNCE_TIMER,{leading:!1,trailing:!0}).bind(this),this.calculateNodePositionAfterMutation=(0,a.default)(this.calculateNodePosition,f.MUTATION_DEBOUNCE_TIMER,{leading:!1,trailing:!0}).bind(this),this.observe()}},{key:"componentWillUnmount",value:function(){this.unobserve()}},{key:"connectResizeObserver",value:function(){E(this.node),(t=new u.default(this.calculateNodePositionAfterResize)).observe(this.node.current)}},{key:"connectMutationObserver",value:function(){E(this.node),(r=new window.MutationObserver(this.calculateNodePositionAfterMutation)).observe(this.node.current,{attributes:!0,subtree:!0,childList:!0})}},{key:"disconnectResizeObserver",value:function(){t.disconnect()}},{key:"disconnectMutationObserver",value:function(){r.disconnect()}},{key:"unobserveResizeObserver",value:function(){E(this.node),t.unobserve(this.node.current)}},{key:"unobserveMutationObserver",value:function(){E(this.node),r.disconnect(this.node.current)}},{key:"calculateNodePosition",value:function(){E(this.node);var e,t,r,n,o=this.props.columns,i=document.querySelector(".bber-ultimate"),a=this.props.viewerSettings.paddingLeft;r=this.props.getFrameHeight(),(0,s.isNumeric)(r)||(r=0);var u=this.props.getFrameWidth();if(("firefox"===l.default.name||"edge"===l.default.name&&/Windows/.test(window.navigator.userAgent))&&i){e=i.offsetLeft-this.props.getSingleColumnWidth();var f=(n=i.offsetLeft+i.offsetWidth+a)/(u+a),p=Math.round(10*(f+Number.EPSILON))/10;console.log(n,f,p),t=p-1,console.log("lastSpreadIndex",t)}else{var h=(e=Math.max(this.node.current.scrollHeight,this.node.current.offsetHeight,this.node.current.clientHeight))/r/2,y=Math.round(10*(h+Number.EPSILON))/10;t=Math.ceil(y)-1}(function(e,t,r,n){c.debug&&c.verboseOutput&&(console.group("Layout#connectResizeObserver"),console.log("lastSpreadIndex: %d; contentDimensions: %d; frameHeight %d; columns %d",e,t,r,n),console.groupEnd())})(t=t<0?0:t,e,r,o),d!==e||null==i?(d=e,this.node.current.style.display="none",this.node.current.style.display="block"):this.props.viewActions.updateLastSpreadIndex(t)}},{key:"observe",value:function(){this.connectResizeObserver(),this.connectMutationObserver()}},{key:"unobserve",value:function(){this.unobserveResizeObserver(),this.unobserveMutationObserver()}},{key:"disconnect",value:function(){this.disconnectResizeObserver(),this.disconnectMutationObserver()}},{key:"render",value:function(){return n.default.createElement(e,y({},this.props,{innerRef:this.node}))}}])&&m(i.prototype,p),h&&m(i,h),Object.defineProperty(i,"prototype",{writable:!1}),O}(n.default.Component);return(0,o.connect)((function(){return{}}),(function(e){return{viewActions:(0,i.bindActionCreators)(p,e)}}))(h)};t.default=P},function(e,t,r){r(12)({target:"Number",stat:!0,nonConfigurable:!0,nonWritable:!0},{EPSILON:Math.pow(2,-52)})},function(e,t,r){"use strict";function n(e){return(n="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)}r(28),r(29),r(1),r(33),r(36),r(2),r(4),r(15),r(5),r(14),r(3),r(7),r(8),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,r(19);var o=f(r(0)),i=r(59),a=r(37),u=f(r(41)),s=r(131),c=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!==n(e)&&"function"!=typeof e)return{default:e};var r=l(t);if(r&&r.has(e))return r.get(e);var o={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if("default"!==a&&Object.prototype.hasOwnProperty.call(e,a)){var u=i?Object.getOwnPropertyDescriptor(e,a):null;u&&(u.get||u.set)?Object.defineProperty(o,a,u):o[a]=e[a]}o.default=e,r&&r.set(e,o);return o}(r(348));function l(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,r=new WeakMap;return(l=function(e){return e?r:t})(e)}function f(e){return e&&e.__esModule?e:{default:e}}function p(){return(p=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(this,arguments)}function d(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function h(e,t){return(h=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function y(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 Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var r,n=b(e);if(t){var o=b(this).constructor;r=Reflect.construct(n,arguments,o)}else r=n.apply(this,arguments);return v(this,r)}}function v(e,t){if(t&&("object"===n(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return m(e)}function m(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function b(e){return(b=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var g=function(e){var t=function(t){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&h(e,t)}(c,t);var r,n,i,a=y(c);function c(e){var t,r,n,o;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,c),t=a.call(this,e),r=m(t),o=function(e){return e?!1===/mobi/i.test(window.navigator.userAgent)?window.innerWidth:window.matchMedia("(orientation: landscape)").matches?window.screen.height:window.screen.width:window.innerWidth},(n="getWidth")in r?Object.defineProperty(r,n,{value:o,enumerable:!0,configurable:!0,writable:!0}):r[n]=o,t.getFrameWidth=t.getFrameWidth.bind(m(t)),t.getFrameHeight=t.getFrameHeight.bind(m(t)),t.getSingleColumnWidth=t.getSingleColumnWidth.bind(m(t)),t.updateDimensions=t.updateDimensions.bind(m(t)),t}return r=c,(n=[{key:"UNSAFE_componentWillMount",value:function(){this.updateDimensions()}},{key:"updateDimensions",value:function(){var e=u.default.isVerticallyScrolling(this.props),t=this.getWidth(e),r=e?"auto":window.innerHeight,n=e?1:2;this.props.viewerSettingsActions.update({width:t,height:r,columns:n})}},{key:"getFrameHeight",value:function(){if(u.default.isVerticallyScrolling(this.props))return"auto";var e=this.props.viewerSettings.height,t=this.props.viewerSettings,r=t.paddingTop,n=t.paddingBottom;return(0,s.isNumeric)(e)||(e=window.innerHeight),e-=r,e-=n}},{key:"getFrameWidth",value:function(){var e=this.props.viewerSettings;return e.width-e.paddingLeft-e.paddingRight-e.columnGap}},{key:"getSingleColumnWidth",value:function(){return this.getFrameWidth()/2}},{key:"render",value:function(){return o.default.createElement(e,p({getFrameHeight:this.getFrameHeight,getFrameWidth:this.getFrameWidth,getSingleColumnWidth:this.getSingleColumnWidth,updateDimensions:this.updateDimensions},this.props))}}])&&d(r.prototype,n),i&&d(r,i),Object.defineProperty(r,"prototype",{writable:!1}),c}(o.default.Component);return(0,a.connect)((function(e){return{viewerSettings:e.viewerSettings}}),(function(e){return{viewerSettingsActions:(0,i.bindActionCreators)(c,e)}}))(t)};t.default=g},function(e,t,r){"use strict";function n(e){return(n="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)}r(28),r(29),r(1),r(33),r(16),r(3),r(27),r(14),r(17),r(34),r(36),r(7),r(8),r(2),r(4),r(5),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=f(r(0)),i=r(37),a=r(347),u=f(r(41)),s=r(106),c=f(r(349)),l=["viewerSettings","readerSettings","markers"];function f(e){return e&&e.__esModule?e:{default:e}}function p(){return(p=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(this,arguments)}function d(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function h(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?d(Object(r),!0).forEach((function(t){O(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):d(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function y(e,t){if(null==e)return{};var r,n,o=function(e,t){if(null==e)return{};var r,n,o={},i=Object.keys(e);for(n=0;n<i.length;n++)r=i[n],t.indexOf(r)>=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(n=0;n<i.length;n++)r=i[n],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}function v(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function m(e,t){return(m=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function b(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 Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var r,n=S(e);if(t){var o=S(this).constructor;r=Reflect.construct(n,arguments,o)}else r=n.apply(this,arguments);return g(this,r)}}function g(e,t){if(t&&("object"===n(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return w(e)}function w(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function S(e){return(S=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function O(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var _=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}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&m(e,t)}(f,e);var t,r,n,i=b(f);function f(e){var t;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,f),O(w(t=i.call(this,e)),"updateChildElementPositions",(function(){var e=t.props["data-marker-reference"],r=t.props.markers[e];if(!r)return console.error("Cannot update child positions: No marker");var n=r.elementEdgeLeft,o=r.unbound,i=window.innerWidth,a=t.props.viewerSettings,s=i-a.paddingLeft-a.paddingRight+a.columnGap,c=Math.ceil(n/s),l=0;u.default.isVerticallyScrolling(t.props.readerSettings)||(l=s*c,o&&(l=0)),l="".concat(l,"px"),t.setState({left:l,spreadPosition:c})})),t.state={left:"0px",spreadPosition:0,recto:!1,verso:!1,elementEdgeLeft:0,unbound:!1},t}return t=f,(r=[{key:"UNSAFE_componentWillReceiveProps",value:function(e){var t=this.props["data-marker-reference"],r=e.markers[t];if(r){var n=r.recto,o=r.verso,i=r.elementEdgeLeft,a=r.unbound;n===this.state.recto&&o===this.state.verso&&i===this.state.elementEdgeLeft&&a===this.state.unbound||this.setState({recto:n,verso:o,elementEdgeLeft:i,unbound:a},this.updateChildElementPositions)}}},{key:"componentDidMount",value:function(){this.updateChildElementPositions()}},{key:"render",value:function(){var e=this.state.left,t=this.props["data-marker-reference"],r=this.props.markers[t];if(!r)return null;var n=this.state.spreadPosition,i=r.recto,u=r.unbound,f=this.props.viewerSettings.paddingLeft,d=this.props.readerSettings.layout,v=this.props,m=(v.viewerSettings,v.readerSettings,v.markers,y(v,l)),b={};return a.debug&&(b=h(h({},b),{background:"blue"})),o.default.createElement("div",p({},m,{id:"spread__".concat(t),style:b}),o.default.createElement(s.SpreadImageStyles,{recto:i,markerRefId:t,spreadPosition:n,paddingLeft:f,unbound:u,layout:d}),o.default.createElement(c.default.Provider,{value:{left:e,layout:d}},this.props.children))}}])&&v(t.prototype,r),n&&v(t,n),Object.defineProperty(t,"prototype",{writable:!1}),f}(o.default.Component),x=(0,i.connect)((function(e){return{readerSettings:e.readerSettings,viewerSettings:e.viewerSettings,markers:e.markers}}),(function(){return{}}))(_);t.default=x},function(e,t,r){"use strict";function n(e){return(n="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)}r(1),r(33),r(16),r(3),r(27),r(14),r(17),r(34),r(2),r(4),r(15),r(5),r(7),r(8),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,r(6),r(28),r(29);var o=d(r(0)),i=r(37),a=r(59),u=r(131),s=d(r(41)),c=d(r(178)),l=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!==n(e)&&"function"!=typeof e)return{default:e};var r=p(t);if(r&&r.has(e))return r.get(e);var o={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if("default"!==a&&Object.prototype.hasOwnProperty.call(e,a)){var u=i?Object.getOwnPropertyDescriptor(e,a):null;u&&(u.get||u.set)?Object.defineProperty(o,a,u):o[a]=e[a]}o.default=e,r&&r.set(e,o);return o}(r(617)),f=d(r(176));function p(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,r=new WeakMap;return(p=function(e){return e?r:t})(e)}function d(e){return e&&e.__esModule?e:{default:e}}function h(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function y(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?h(Object(r),!0).forEach((function(t){v(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):h(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function v(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function m(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function b(e,t){return(b=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function g(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 Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var r,n=O(e);if(t){var o=O(this).constructor;r=Reflect.construct(n,arguments,o)}else r=n.apply(this,arguments);return w(this,r)}}function w(e,t){if(t&&("object"===n(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return S(e)}function S(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function O(e){return(O=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var _=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}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&b(e,t)}(a,e);var t,r,n,i=g(a);function a(e){var t;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,a);var r=(t=i.call(this,e)).props["data-marker"];return r&&t.props.markerActions.update({recto:!1,verso:!1,elementEdgeLeft:0,markerId:r,unbound:!1}),t.calculateOffsetHeight=t.calculateOffsetHeight.bind(S(t)),t}return t=a,(r=[{key:"UNSAFE_componentWillReceiveProps",value:function(e){var t=this.props["data-marker"],r=e.recto,n=e.verso,o=e.elementEdgeLeft;!t||r===this.props.recto&&n===this.props.verso&&o===this.props.elementEdgeLeft||this.props.markerActions.update({markerId:t,recto:r,verso:n,elementEdgeLeft:o})}},{key:"componentDidUpdate",value:function(){var e=JSON.parse(this.props["data-unbound"]||"false"),t=this.props["data-marker"],r=this.props.markers[t],n=this.props,o=n.verso,i=n.recto;!r||i===r.recto&&o===r.verso&&e===r.unbound||this.props.markerActions.update({markerId:t,recto:i,verso:o,unbound:e})}},{key:"calculateOffsetHeight",value:function(){var e,t=0;if(null===(e=this.props.elemRef)||void 0===e||!e.current||s.default.isVerticallyScrolling(this.props.readerSettings))return t;var r=this.props.elemRef.current,n=this.props,o=n.verso,i=n.recto,a=this.props.viewerSettings,c=a.paddingTop,l=a.paddingBottom,p=(a.fontSize,this.props.viewerSettings.height),d=p-c-l,h=JSON.parse(this.props["data-unbound"]||"false"),y=JSON.parse(this.props["data-adjacent"]||"false");(0,u.isNumeric)(p)||(p=0),o&&(y?(t+=d,t+=d,t-=r.offsetHeight):(t+=d,t+=d,t-=r.offsetHeight,t-=Math.round(r.getBoundingClientRect().bottom-c),h||(t+=d,t+=d))),i&&(y?(t+=d,t+=d,t-=r.offsetHeight):(t+=d,t+=d,t-=r.offsetHeight,t+=d,t-=Math.round(r.getBoundingClientRect().top),t+=c)),t=Math.floor(t);var v=parseFloat(window.getComputedStyle(r).fontSize);return"safari"===f.default.name?t-=Math.floor(1.3*v):t-=v,t}},{key:"render",value:function(){var e=this.props,t=e.verso,r=e.recto,n={height:this.calculateOffsetHeight(),display:"block"},i=y({},this.props.style);return o.default.createElement("span",null,o.default.createElement("span",{"data-verso":t,"data-recto":r,"data-index":this.props["data-index"],"data-final":this.props["data-final"],style:i,className:this.props.className,ref:this.props.elemRef}),o.default.createElement("span",{className:"bber-marker__spacer",style:n}))}}])&&m(t.prototype,r),n&&m(t,n),Object.defineProperty(t,"prototype",{writable:!1}),a}(o.default.Component),x=(0,i.connect)((function(e){return{markers:e.markers}}),(function(e){return{markerActions:(0,a.bindActionCreators)(l,e)}}))((0,c.default)(_,{isMarker:!0}));t.default=x},function(e,t,r){var n=r(353),o=r(228),i=r(135);e.exports=function(e){return function(t,r,a){var u=Object(t);if(!o(t)){var s=n(r,3);t=i(t),r=function(e){return s(u[e],e,u)}}var c=e(t,r,a);return c>-1?u[s?t[c]:c]:void 0}}},function(e,t,r){var n=r(580),o=r(606),i=r(363);e.exports=function(e){var t=o(e);return 1==t.length&&t[0][2]?i(t[0][0],t[0][1]):function(r){return r===e||n(r,e,t)}}},function(e,t,r){var n=r(220),o=r(354);e.exports=function(e,t,r,i){var a=r.length,u=a,s=!i;if(null==e)return!u;for(e=Object(e);a--;){var c=r[a];if(s&&c[2]?c[1]!==e[c[0]]:!(c[0]in e))return!1}for(;++a<u;){var l=(c=r[a])[0],f=e[l],p=c[1];if(s&&c[2]){if(void 0===f&&!(l in e))return!1}else{var d=new n;if(i)var h=i(f,p,l,e,t,d);if(!(void 0===h?o(p,f,3,i,d):h))return!1}}return!0}},function(e,t,r){var n=r(170);e.exports=function(){this.__data__=new n,this.size=0}},function(e,t){e.exports=function(e){var t=this.__data__,r=t.delete(e);return this.size=t.size,r}},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,r){var n=r(170),o=r(214),i=r(213);e.exports=function(e,t){var r=this.__data__;if(r instanceof n){var a=r.__data__;if(!o||a.length<199)return a.push([e,t]),this.size=++r.size,this;r=this.__data__=new i(a)}return r.set(e,t),this.size=r.size,this}},function(e,t,r){var n=r(220),o=r(355),i=r(592),a=r(595),u=r(180),s=r(56),c=r(223),l=r(361),f="[object Object]",p=Object.prototype.hasOwnProperty;e.exports=function(e,t,r,d,h,y){var v=s(e),m=s(t),b=v?"[object Array]":u(e),g=m?"[object Array]":u(t),w=(b="[object Arguments]"==b?f:b)==f,S=(g="[object Arguments]"==g?f:g)==f,O=b==g;if(O&&c(e)){if(!c(t))return!1;v=!0,w=!1}if(O&&!w)return y||(y=new n),v||l(e)?o(e,t,r,d,h,y):i(e,t,b,r,d,h,y);if(!(1&r)){var _=w&&p.call(e,"__wrapped__"),x=S&&p.call(t,"__wrapped__");if(_||x){var E=_?e.value():e,P=x?t.value():t;return y||(y=new n),h(E,P,r,d,y)}}return!!O&&(y||(y=new n),a(e,t,r,d,h,y))}},function(e,t,r){var n=r(213),o=r(588),i=r(589);function a(e){var t=-1,r=null==e?0:e.length;for(this.__data__=new n;++t<r;)this.add(e[t])}a.prototype.add=a.prototype.push=o,a.prototype.has=i,e.exports=a},function(e,t){e.exports=function(e){return this.__data__.set(e,"__lodash_hash_undefined__"),this}},function(e,t){e.exports=function(e){return this.__data__.has(e)}},function(e,t){e.exports=function(e,t){for(var r=-1,n=null==e?0:e.length;++r<n;)if(t(e[r],r,e))return!0;return!1}},function(e,t){e.exports=function(e,t){return e.has(t)}},function(e,t,r){var n=r(104),o=r(356),i=r(172),a=r(355),u=r(593),s=r(594),c=n?n.prototype:void 0,l=c?c.valueOf:void 0;e.exports=function(e,t,r,n,c,f,p){switch(r){case"[object DataView]":if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)return!1;e=e.buffer,t=t.buffer;case"[object ArrayBuffer]":return!(e.byteLength!=t.byteLength||!f(new o(e),new o(t)));case"[object Boolean]":case"[object Date]":case"[object Number]":return i(+e,+t);case"[object Error]":return e.name==t.name&&e.message==t.message;case"[object RegExp]":case"[object String]":return e==t+"";case"[object Map]":var d=u;case"[object Set]":var h=1&n;if(d||(d=s),e.size!=t.size&&!h)return!1;var y=p.get(e);if(y)return y==t;n|=2,p.set(e,t);var v=a(d(e),d(t),n,c,f,p);return p.delete(e),v;case"[object Symbol]":if(l)return l.call(e)==l.call(t)}return!1}},function(e,t){e.exports=function(e){var t=-1,r=Array(e.size);return e.forEach((function(e,n){r[++t]=[n,e]})),r}},function(e,t){e.exports=function(e){var t=-1,r=Array(e.size);return e.forEach((function(e){r[++t]=e})),r}},function(e,t,r){var n=r(357),o=Object.prototype.hasOwnProperty;e.exports=function(e,t,r,i,a,u){var s=1&r,c=n(e),l=c.length;if(l!=n(t).length&&!s)return!1;for(var f=l;f--;){var p=c[f];if(!(s?p in t:o.call(t,p)))return!1}var d=u.get(e),h=u.get(t);if(d&&h)return d==t&&h==e;var y=!0;u.set(e,t),u.set(t,e);for(var v=s;++f<l;){var m=e[p=c[f]],b=t[p];if(i)var g=s?i(b,m,p,t,e,u):i(m,b,p,e,t,u);if(!(void 0===g?m===b||a(m,b,r,i,u):g)){y=!1;break}v||(v="constructor"==p)}if(y&&!v){var w=e.constructor,S=t.constructor;w==S||!("constructor"in e)||!("constructor"in t)||"function"==typeof w&&w instanceof w&&"function"==typeof S&&S instanceof S||(y=!1)}return u.delete(e),u.delete(t),y}},function(e,t){e.exports=function(e,t){for(var r=-1,n=null==e?0:e.length,o=0,i=[];++r<n;){var a=e[r];t(a,r,e)&&(i[o++]=a)}return i}},function(e,t){e.exports=function(e,t){for(var r=-1,n=Array(e);++r<e;)n[r]=t(r);return n}},function(e,t){e.exports=function(){return!1}},function(e,t,r){var n=r(103),o=r(216),i=r(79),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 i(e)&&o(e.length)&&!!a[n(e)]}},function(e,t,r){var n=r(227),o=r(601),i=Object.prototype.hasOwnProperty;e.exports=function(e){if(!n(e))return o(e);var t=[];for(var r in Object(e))i.call(e,r)&&"constructor"!=r&&t.push(r);return t}},function(e,t,r){var n=r(323)(Object.keys,Object);e.exports=n},function(e,t,r){var n=r(93)(r(55),"DataView");e.exports=n},function(e,t,r){var n=r(93)(r(55),"Promise");e.exports=n},function(e,t,r){var n=r(93)(r(55),"Set");e.exports=n},function(e,t,r){var n=r(93)(r(55),"WeakMap");e.exports=n},function(e,t,r){var n=r(362),o=r(135);e.exports=function(e){for(var t=o(e),r=t.length;r--;){var i=t[r],a=e[i];t[r]=[i,a,n(a)]}return t}},function(e,t,r){var n=r(354),o=r(608),i=r(609),a=r(212),u=r(362),s=r(363),c=r(133);e.exports=function(e,t){return a(e)&&u(t)?s(c(e),t):function(r){var a=o(r,e);return void 0===a&&a===t?i(r,e):n(t,a,3)}}},function(e,t,r){var n=r(229);e.exports=function(e,t,r){var o=null==e?void 0:n(e,t);return void 0===o?r:o}},function(e,t,r){var n=r(610),o=r(338);e.exports=function(e,t){return null!=e&&o(e,t,n)}},function(e,t){e.exports=function(e,t){return null!=e&&t in Object(e)}},function(e,t,r){var n=r(612),o=r(613),i=r(212),a=r(133);e.exports=function(e){return i(e)?n(a(e)):o(e)}},function(e,t){e.exports=function(e){return function(t){return null==t?void 0:t[e]}}},function(e,t,r){var n=r(229);e.exports=function(e){return function(t){return n(t,e)}}},function(e,t){e.exports=function(e,t,r,n){for(var o=e.length,i=r+(n?1:-1);n?i--:++i<o;)if(t(e[i],i,e))return i;return-1}},function(e,t,r){var n=r(217);e.exports=function(e){return e?(e=n(e))===1/0||e===-1/0?17976931348623157e292*(e<0?-1:1):e==e?e:0:0===e?e:0}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.mediaSliding=t.mediaScrolling=void 0;t.mediaSliding="\n .figure__fullbleed figure,\n .spread .spread__content {\n opacity: 1;\n top: 0;\n z-index: 11;\n height: 100vh;\n position: absolute;\n width: 100vw;\n }\n\n\n .figure__fullbleed figure .img-wrap img,\n .figure__fullbleed figure .img-wrap video {\n opacity: 1;\n position: absolute;\n object-fit: contain;\n width: 100% !important;\n max-width: 100%;\n max-height: 100% !important;\n height: 100%;\n top: 0;\n left: 0;\n bottom: 0;\n right: 0;\n }\n";t.mediaScrolling="\n .figure__fullbleed figure .spread .spread__content {\n z-index: 11;\n width: 100vw;\n position: relative;\n }\n\n .figure__fullbleed figure .img-wrap img,\n .figure__fullbleed figure .img-wrap video {\n opacity: 1;\n object-fit: contain;\n width: 100% !important;\n max-width: 100%;\n max-height: 100% !important;\n height: 100%;\n top: 0;\n left: 0;\n bottom: 0;\n right: 0;\n }\n"},function(e,t,r){"use strict";function n(e){return(n="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)}r(2),r(1),r(4),r(15),r(5),r(14),r(3),r(7),r(8),Object.defineProperty(t,"__esModule",{value:!0}),t.update=void 0;var o=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!==n(e)&&"function"!=typeof e)return{default:e};var r=i(t);if(r&&r.has(e))return r.get(e);var o={},a=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var u in e)if("default"!==u&&Object.prototype.hasOwnProperty.call(e,u)){var s=a?Object.getOwnPropertyDescriptor(e,u):null;s&&(s.get||s.set)?Object.defineProperty(o,u,s):o[u]=e[u]}o.default=e,r&&r.set(e,o);return o}(r(342));function i(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,r=new WeakMap;return(i=function(e){return e?r:t})(e)}t.update=function(e){return{type:o.UPDATE,payload:e}}},function(e,t,r){"use strict";function n(e){return(n="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)}r(28),r(29),r(33),r(108),r(3),r(7),r(8),r(109),r(110),r(111),r(112),r(17),r(6),r(26),r(15),r(14),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,r(369),r(2),r(1),r(4),r(5),r(88),r(69);var o=k(r(0)),i=r(59),a=r(37),u=E(r(179)),s=E(r(134)),c=E(r(633)),l=r(106),f=E(r(90)),p=E(r(66)),d=E(r(634)),h=E(r(95)),y=E(r(41)),v=r(57),m=k(r(177)),b=k(r(348)),g=k(r(372)),w=k(r(202)),S=k(r(218)),O=r(638),_=r(639),x=r(640);function E(e){return e&&e.__esModule?e:{default:e}}function P(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,r=new WeakMap;return(P=function(e){return e?r:t})(e)}function k(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!==n(e)&&"function"!=typeof e)return{default:e};var r=P(t);if(r&&r.has(e))return r.get(e);var o={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if("default"!==a&&Object.prototype.hasOwnProperty.call(e,a)){var u=i?Object.getOwnPropertyDescriptor(e,a):null;u&&(u.get||u.set)?Object.defineProperty(o,a,u):o[a]=e[a]}return o.default=e,r&&r.set(e,o),o}function j(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */j=function(){return e};var e={},t=Object.prototype,r=t.hasOwnProperty,o="function"==typeof Symbol?Symbol:{},i=o.iterator||"@@iterator",a=o.asyncIterator||"@@asyncIterator",u=o.toStringTag||"@@toStringTag";function s(e,t,r){return Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{s({},"")}catch(e){s=function(e,t,r){return e[t]=r}}function c(e,t,r,n){var o=t&&t.prototype instanceof p?t:p,i=Object.create(o.prototype),a=new x(n||[]);return i._invoke=function(e,t,r){var n="suspendedStart";return function(o,i){if("executing"===n)throw new Error("Generator is already running");if("completed"===n){if("throw"===o)throw i;return P()}for(r.method=o,r.arg=i;;){var a=r.delegate;if(a){var u=S(a,r);if(u){if(u===f)continue;return u}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if("suspendedStart"===n)throw n="completed",r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);n="executing";var s=l(e,t,r);if("normal"===s.type){if(n=r.done?"completed":"suspendedYield",s.arg===f)continue;return{value:s.arg,done:r.done}}"throw"===s.type&&(n="completed",r.method="throw",r.arg=s.arg)}}}(e,r,a),i}function l(e,t,r){try{return{type:"normal",arg:e.call(t,r)}}catch(e){return{type:"throw",arg:e}}}e.wrap=c;var f={};function p(){}function d(){}function h(){}var y={};s(y,i,(function(){return this}));var v=Object.getPrototypeOf,m=v&&v(v(E([])));m&&m!==t&&r.call(m,i)&&(y=m);var b=h.prototype=p.prototype=Object.create(y);function g(e){["next","throw","return"].forEach((function(t){s(e,t,(function(e){return this._invoke(t,e)}))}))}function w(e,t){var o;this._invoke=function(i,a){function u(){return new t((function(o,u){!function o(i,a,u,s){var c=l(e[i],e,a);if("throw"!==c.type){var f=c.arg,p=f.value;return p&&"object"==n(p)&&r.call(p,"__await")?t.resolve(p.__await).then((function(e){o("next",e,u,s)}),(function(e){o("throw",e,u,s)})):t.resolve(p).then((function(e){f.value=e,u(f)}),(function(e){return o("throw",e,u,s)}))}s(c.arg)}(i,a,o,u)}))}return o=o?o.then(u,u):u()}}function S(e,t){var r=e.iterator[t.method];if(void 0===r){if(t.delegate=null,"throw"===t.method){if(e.iterator.return&&(t.method="return",t.arg=void 0,S(e,t),"throw"===t.method))return f;t.method="throw",t.arg=new TypeError("The iterator does not provide a 'throw' method")}return f}var n=l(r,e.iterator,t.arg);if("throw"===n.type)return t.method="throw",t.arg=n.arg,t.delegate=null,f;var o=n.arg;return o?o.done?(t[e.resultName]=o.value,t.next=e.nextLoc,"return"!==t.method&&(t.method="next",t.arg=void 0),t.delegate=null,f):o:(t.method="throw",t.arg=new TypeError("iterator result is not an object"),t.delegate=null,f)}function O(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 _(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function x(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(O,this),this.reset(!0)}function E(e){if(e){var t=e[i];if(t)return t.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var n=-1,o=function t(){for(;++n<e.length;)if(r.call(e,n))return t.value=e[n],t.done=!1,t;return t.value=void 0,t.done=!0,t};return o.next=o}}return{next:P}}function P(){return{value:void 0,done:!0}}return d.prototype=h,s(b,"constructor",h),s(h,"constructor",d),d.displayName=s(h,u,"GeneratorFunction"),e.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===d||"GeneratorFunction"===(t.displayName||t.name))},e.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,h):(e.__proto__=h,s(e,u,"GeneratorFunction")),e.prototype=Object.create(b),e},e.awrap=function(e){return{__await:e}},g(w.prototype),s(w.prototype,a,(function(){return this})),e.AsyncIterator=w,e.async=function(t,r,n,o,i){void 0===i&&(i=Promise);var a=new w(c(t,r,n,o),i);return e.isGeneratorFunction(r)?a:a.next().then((function(e){return e.done?e.value:a.next()}))},g(b),s(b,u,"Generator"),s(b,i,(function(){return this})),s(b,"toString",(function(){return"[object Generator]"})),e.keys=function(e){var t=[];for(var r in e)t.push(r);return t.reverse(),function r(){for(;t.length;){var n=t.pop();if(n in e)return r.value=n,r.done=!1,r}return r.done=!0,r}},e.values=E,x.prototype={constructor:x,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(_),!e)for(var t in this)"t"===t.charAt(0)&&r.call(this,t)&&!isNaN(+t.slice(1))&&(this[t]=void 0)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var t=this;function n(r,n){return a.type="throw",a.arg=e,t.next=r,n&&(t.method="next",t.arg=void 0),!!n}for(var o=this.tryEntries.length-1;o>=0;--o){var i=this.tryEntries[o],a=i.completion;if("root"===i.tryLoc)return n("end");if(i.tryLoc<=this.prev){var u=r.call(i,"catchLoc"),s=r.call(i,"finallyLoc");if(u&&s){if(this.prev<i.catchLoc)return n(i.catchLoc,!0);if(this.prev<i.finallyLoc)return n(i.finallyLoc)}else if(u){if(this.prev<i.catchLoc)return n(i.catchLoc,!0)}else{if(!s)throw new Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return n(i.finallyLoc)}}}},abrupt:function(e,t){for(var n=this.tryEntries.length-1;n>=0;--n){var o=this.tryEntries[n];if(o.tryLoc<=this.prev&&r.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var i=o;break}}i&&("break"===e||"continue"===e)&&i.tryLoc<=t&&t<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=e,a.arg=t,i?(this.method="next",this.next=i.finallyLoc,f):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),f},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.finallyLoc===e)return this.complete(r.completion,r.afterLoc),_(r),f}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.tryLoc===e){var n=r.completion;if("throw"===n.type){var o=n.arg;_(r)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(e,t,r){return this.delegate={iterator:E(e),resultName:t,nextLoc:r},"next"===this.method&&(this.arg=void 0),f}},e}function T(e,t,r,n,o,i,a){try{var u=e[i](a),s=u.value}catch(e){return void r(e)}u.done?t(s):Promise.resolve(s).then(n,o)}function A(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function C(e,t){return(C=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function L(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 Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var r,n=N(e);if(t){var o=N(this).constructor;r=Reflect.construct(n,arguments,o)}else r=n.apply(this,arguments);return R(this,r)}}function R(e,t){if(t&&("object"===n(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return I(e)}function I(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function N(e){return(N=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function M(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function D(){return o.default.createElement("div",{key:"book-content"},x.book.content)}var U=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}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&C(e,t)}(m,e);var t,r,n,i,a,d=L(m);function m(e){var t;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,m),M(I(t=d.call(this,e)),"closeSidebars",(function(){return t.setState({showSidebar:null})})),M(I(t),"freeze",(function(){t.props.viewActions.unload(),t.props.viewActions.updateLastSpreadIndex(-1),t.props.userInterfaceActions.update({handleEvents:!1,enableTransitions:!1,spinnerVisible:!0}),t.setState({showSidebar:null})})),M(I(t),"handleSidebarButtonClick",(function(e){var r=t.state.showSidebar;r=e===r?null:e,t.setState({showSidebar:r})})),M(I(t),"getTranslateX",(function(e){var r=(0,v.unlessDefined)(e,t.state.spreadIndex),n=t.props.viewerSettings,o=n.width,i=n.paddingLeft,a=n.paddingRight,u=n.columnGap,s=0;return y.default.isVerticallyScrolling(t.props.readerSettings)||(s=0===(s=(o-i-a+u)*r*-1)&&-1===Math.sign(1/s)?0:s),s})),M(I(t),"destroyReaderComponent",(function(){t.props.readerSettingsActions.updateSettings({bookURL:""})})),t.state={__metadata:[],__spine:[],__guide:[],opsURL:"",spine:[],guide:[],metadata:[],spineItemURL:"",currentSpineItem:null,currentSpineItemIndex:0,cache:t.props.cache,spreadIndex:0,relativeSpreadPosition:0,firstChapter:!1,lastChapter:!1,firstSpread:!1,lastSpread:!1,delta:0,showSidebar:null,disableMobileResizeEvents:"ontouchstart"in document.documentElement},t.handlePageNavigation=O.handlePageNavigation.bind(I(t)),t.handleChapterNavigation=O.handleChapterNavigation.bind(I(t)),t.navigateToSpreadByIndex=O.navigateToSpreadByIndex.bind(I(t)),t.navigateToElementById=O.navigateToElementById.bind(I(t)),t.navigateToChapterByURL=O.navigateToChapterByURL.bind(I(t)),t.updateQueryString=O.updateQueryString.bind(I(t)),t.savePosition=O.savePosition.bind(I(t)),t.debounceResizeSpeed=400,t.resizeEndTimer=null,t.bindResizeHandlers=_.bindResizeHandlers.bind(I(t)),t.unbindResizeHandlers=_.unbindResizeHandlers.bind(I(t)),t.handleResize=_.handleResize.bind(I(t)),t.handleResizeStart=_.handleResizeStart.bind(I(t)),t.handleResizeEnd=_.handleResizeEnd.bind(I(t)),t.handleResizeStart=(0,s.default)(t.handleResizeStart,t.debounceResizeSpeed,{leading:!0,trailing:!1}).bind(I(t)),t.handleResizeEnd=(0,s.default)(t.handleResizeEnd,t.debounceResizeSpeed,{leading:!1,trailing:!0}).bind(I(t)),t.createStateFromOPF=x.createStateFromOPF.bind(I(t)),t.showSpineItem=x.showSpineItem.bind(I(t)),t.loadSpineItem=x.loadSpineItem.bind(I(t)),t}return t=m,(r=[{key:"UNSAFE_componentWillMount",value:(i=j().mark((function e(){var t=this;return j().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:this.createStateFromOPF((function(){var e=t.state.spine,r=t.props,n=r.readerSettings,o=r.readerLocation,i=new URLSearchParams(o.searchParams),a=Number(i.get(n.searchParamKeys.currentSpineItemIndex)),u=e[a];u?t.setState({currentSpineItem:u,currentSpineItemIndex:a,spreadIndex:0},(function(){return t.loadSpineItem(u)})):t.loadSpineItem()}));case 1:case"end":return e.stop()}}),e,this)})),a=function(){var e=this,t=arguments;return new Promise((function(r,n){var o=i.apply(e,t);function a(e){T(o,r,n,a,u,"next",e)}function u(e){T(o,r,n,a,u,"throw",e)}a(void 0)}))},function(){return a.apply(this,arguments)})},{key:"componentWillUnmount",value:function(){var e=f.default.createHash(this.props.readerSettings.bookURL);f.default.removeBookStyles(e),this.bindResizeHandlers()}},{key:"componentDidMount",value:function(){this.unbindResizeHandlers()}},{key:"UNSAFE_componentWillReceiveProps",value:function(e){var t=e.view,r=t.loaded,n=t.lastSpreadIndex,o=t.pendingDeferredCallbacks,i=this.props.readerLocation.searchParams,a=e.readerLocation.searchParams;if(a!==i){var s=p.default.parseQueryString(a),c=s[this.props.readerSettings.searchParamKeys.slug],l=Number(s[this.props.readerSettings.searchParamKeys.currentSpineItemIndex]),f=Number(s[this.props.readerSettings.searchParamKeys.spreadIndex]),d=p.default.parseQueryString(i)[this.props.readerSettings.searchParamKeys.slug];if(d&&c&&d!==c){var h=(0,u.default)(this.state.spine,{slug:c});return void this.loadSpineItem(h)}this.setState({slug:c,currentSpineItemIndex:l,spreadIndex:f})}r&&-1!==n&&!0===o&&this.props.requestDeferredCallbackExecution()}},{key:"getSlug",value:function(){var e,t=this.state,r=t.spine,n=t.currentSpineItemIndex;return(0,c.default)(n)&&null!=r&&null!==(e=r[n])&&void 0!==e&&e.slug?r[n].slug:""}},{key:"render",value:function(){var e=this.props,t=e.downloads,r=e.uiOptions,n=e.view,i=e.layout,a=e.style,u=e.className,s=this.state,c=s.metadata,f=s.guide,p=s.spine,d=s.currentSpineItemIndex,y=s.showSidebar,v=s.lastSpread,m=s.spreadIndex,b=this.getSlug();return o.default.createElement(l.Controls,{guide:f,spine:p,currentSpineItemIndex:d,metadata:c,showSidebar:y,spreadIndex:m,lastSpreadIndex:n.lastSpreadIndex,handlePageNavigation:this.handlePageNavigation,destroyReaderComponent:this.destroyReaderComponent,handleChapterNavigation:this.handleChapterNavigation,handleSidebarButtonClick:this.handleSidebarButtonClick,navigateToChapterByURL:this.navigateToChapterByURL,downloads:t,uiOptions:r,layout:i},o.default.createElement(h.default.Provider,{value:{lastSpread:v,spreadIndex:m,getTranslateX:this.getTranslateX,navigateToChapterByURL:this.navigateToChapterByURL}},o.default.createElement(l.Frame,{slug:b,spreadIndex:m,lastSpreadIndex:n.lastSpreadIndex,BookContent:D,layout:i,view:n,style:a,className:u})),o.default.createElement(l.Spinner,null))}}])&&A(t.prototype,r),n&&A(t,n),Object.defineProperty(t,"prototype",{writable:!1}),m}(o.Component),F=(0,a.connect)((function(e){return{readerSettings:e.readerSettings,viewerSettings:e.viewerSettings,readerLocation:e.readerLocation,view:e.view,userInterface:e.userInterface}}),(function(e){return{viewerSettingsActions:(0,i.bindActionCreators)(b,e),readerSettingsActions:(0,i.bindActionCreators)(g,e),readerLocationActions:(0,i.bindActionCreators)(w,e),viewActions:(0,i.bindActionCreators)(m,e),userInterfaceActions:(0,i.bindActionCreators)(S,e)}}))((0,d.default)(U));t.default=F},function(e,t,r){"use strict";var n,o,i,a=r(12),u=r(62),s=r(230),c=r(13),l=r(20),f=r(39),p=r(86),d=r(54),h=r(161),y=r(53),v=r(21),m=r(24),b=r(78),g=r(163),w=r(181).set,S=r(620),O=r(623),_=r(231),x=r(624),E=r(43),P=r(136),k=r(137),j=r(138),T=k.CONSTRUCTOR,A=k.REJECTION_EVENT,C=k.SUBCLASSING,L=E.getterFor("Promise"),R=E.set,I=P&&P.prototype,N=P,M=I,D=c.TypeError,U=c.document,F=c.process,B=j.f,q=B,W=!!(U&&U.createEvent&&c.dispatchEvent),z=function(e){var t;return!(!m(e)||!v(t=e.then))&&t},H=function(e,t){var r,n,o,i=t.value,a=1==t.state,u=a?e.ok:e.fail,s=e.resolve,c=e.reject,f=e.domain;try{u?(a||(2===t.rejection&&$(t),t.rejection=1),!0===u?r=i:(f&&f.enter(),r=u(i),f&&(f.exit(),o=!0)),r===e.promise?c(D("Promise-chain cycle")):(n=z(r))?l(n,r,s,c):s(r)):c(i)}catch(e){f&&!o&&f.exit(),c(e)}},V=function(e,t){e.notified||(e.notified=!0,S((function(){for(var r,n=e.reactions;r=n.get();)H(r,e);e.notified=!1,t&&!e.rejection&&K(e)})))},G=function(e,t,r){var n,o;W?((n=U.createEvent("Event")).promise=t,n.reason=r,n.initEvent(e,!1,!0),c.dispatchEvent(n)):n={promise:t,reason:r},!A&&(o=c["on"+e])?o(n):"unhandledrejection"===e&&O("Unhandled promise rejection",r)},K=function(e){l(w,c,(function(){var t,r=e.facade,n=e.value;if(Y(e)&&(t=_((function(){s?F.emit("unhandledRejection",n,r):G("unhandledrejection",r,n)})),e.rejection=s||Y(e)?2:1,t.error))throw t.value}))},Y=function(e){return 1!==e.rejection&&!e.parent},$=function(e){l(w,c,(function(){var t=e.facade;s?F.emit("rejectionHandled",t):G("rejectionhandled",t,e.value)}))},X=function(e,t,r){return function(n){e(t,n,r)}},Q=function(e,t,r){e.done||(e.done=!0,r&&(e=r),e.value=t,e.state=2,V(e,!0))},J=function(e,t,r){if(!e.done){e.done=!0,r&&(e=r);try{if(e.facade===t)throw D("Promise can't be resolved itself");var n=z(t);n?S((function(){var r={done:!1};try{l(n,t,X(J,r,e),X(Q,r,e))}catch(t){Q(r,t,e)}})):(e.value=t,e.state=1,V(e,!1))}catch(t){Q({done:!1},t,e)}}};if(T&&(M=(N=function(e){b(this,M),y(e),l(n,this);var t=L(this);try{e(X(J,t),X(Q,t))}catch(e){Q(t,e)}}).prototype,(n=function(e){R(this,{type:"Promise",done:!1,notified:!1,parent:!1,reactions:new x,rejection:!1,state:0,value:void 0})}).prototype=f(M,"then",(function(e,t){var r=L(this),n=B(g(this,N));return r.parent=!0,n.ok=!v(e)||e,n.fail=v(t)&&t,n.domain=s?F.domain:void 0,0==r.state?r.reactions.add(n):S((function(){H(n,r)})),n.promise})),o=function(){var e=new n,t=L(e);this.promise=e,this.resolve=X(J,t),this.reject=X(Q,t)},j.f=B=function(e){return e===N||void 0===e?new o(e):q(e)},!u&&v(P)&&I!==Object.prototype)){i=I.then,C||f(I,"then",(function(e,t){var r=this;return new N((function(e,t){l(i,r,e,t)})).then(e,t)}),{unsafe:!0});try{delete I.constructor}catch(e){}p&&p(I,M)}a({global:!0,constructor:!0,wrap:!0,forced:T},{Promise:N}),d(N,"Promise",!1,!0),h("Promise")},function(e,t,r){var n,o,i,a,u,s,c,l,f=r(13),p=r(68),d=r(71).f,h=r(181).set,y=r(367),v=r(621),m=r(622),b=r(230),g=f.MutationObserver||f.WebKitMutationObserver,w=f.document,S=f.process,O=f.Promise,_=d(f,"queueMicrotask"),x=_&&_.value;x||(n=function(){var e,t;for(b&&(e=S.domain)&&e.exit();o;){t=o.fn,o=o.next;try{t()}catch(e){throw o?a():i=void 0,e}}i=void 0,e&&e.enter()},y||b||m||!g||!w?!v&&O&&O.resolve?((c=O.resolve(void 0)).constructor=O,l=p(c.then,c),a=function(){l(n)}):b?a=function(){S.nextTick(n)}:(h=p(h,f),a=function(){h(n)}):(u=!0,s=w.createTextNode(""),new g(n).observe(s,{characterData:!0}),a=function(){s.data=u=!u})),e.exports=x||function(e){var t={fn:e,next:void 0};i&&(i.next=t),o||(o=t,a()),i=t}},function(e,t,r){var n=r(73),o=r(13);e.exports=/ipad|iphone|ipod/i.test(n)&&void 0!==o.Pebble},function(e,t,r){var n=r(73);e.exports=/web0s(?!.*chrome)/i.test(n)},function(e,t,r){var n=r(13);e.exports=function(e,t){var r=n.console;r&&r.error&&(1==arguments.length?r.error(e):r.error(e,t))}},function(e,t){var r=function(){this.head=null,this.tail=null};r.prototype={add:function(e){var t={item:e,next:null};this.head?this.tail.next=t:this.head=t,this.tail=t},get:function(){var e=this.head;if(e)return this.head=e.next,this.tail===e&&(this.tail=null),e.item}},e.exports=r},function(e,t){e.exports="object"==typeof window&&"object"!=typeof Deno},function(e,t,r){"use strict";var n=r(12),o=r(20),i=r(53),a=r(138),u=r(231),s=r(127);n({target:"Promise",stat:!0,forced:r(368)},{all:function(e){var t=this,r=a.f(t),n=r.resolve,c=r.reject,l=u((function(){var r=i(t.resolve),a=[],u=0,l=1;s(e,(function(e){var i=u++,s=!1;l++,o(r,t,e).then((function(e){s||(s=!0,a[i]=e,--l||n(a))}),c)})),--l||n(a)}));return l.error&&c(l.value),r.promise}})},function(e,t,r){"use strict";var n=r(12),o=r(62),i=r(137).CONSTRUCTOR,a=r(136),u=r(49),s=r(21),c=r(39),l=a&&a.prototype;if(n({target:"Promise",proto:!0,forced:i,real:!0},{catch:function(e){return this.then(void 0,e)}}),!o&&s(a)){var f=u("Promise").prototype.catch;l.catch!==f&&c(l,"catch",f,{unsafe:!0})}},function(e,t,r){"use strict";var n=r(12),o=r(20),i=r(53),a=r(138),u=r(231),s=r(127);n({target:"Promise",stat:!0,forced:r(368)},{race:function(e){var t=this,r=a.f(t),n=r.reject,c=u((function(){var a=i(t.resolve);s(e,(function(e){o(a,t,e).then(r.resolve,n)}))}));return c.error&&n(c.value),r.promise}})},function(e,t,r){"use strict";var n=r(12),o=r(20),i=r(138);n({target:"Promise",stat:!0,forced:r(137).CONSTRUCTOR},{reject:function(e){var t=i.f(this);return o(t.reject,void 0,e),t.promise}})},function(e,t,r){"use strict";var n=r(12),o=r(49),i=r(62),a=r(136),u=r(137).CONSTRUCTOR,s=r(631),c=o("Promise"),l=i&&!u;n({target:"Promise",stat:!0,forced:i||u},{resolve:function(e){return s(l&&this===c?a:this,e)}})},function(e,t,r){var n=r(30),o=r(24),i=r(138);e.exports=function(e,t){if(n(e),o(t)&&t.constructor===e)return t;var r=i.f(e);return(0,r.resolve)(t),r.promise}},function(e,t){e.exports=Math.sign||function(e){var t=+e;return 0==t||t!=t?t:t<0?-1:1}},function(e,t,r){var n=r(366);e.exports=function(e){return"number"==typeof e&&e==n(e)}},function(e,t,r){"use strict";(function(e){function n(e){return(n="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)}r(28),r(29),r(33),r(36),r(2),r(4),r(15),r(5),r(14),r(3),r(7),r(8),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,r(32),r(635),r(1),r(17);var o=p(r(0)),i=r(59),a=r(37),u=p(r(134)),s=p(r(107)),c=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!==n(e)&&"function"!=typeof e)return{default:e};var r=f(t);if(r&&r.has(e))return r.get(e);var o={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if("default"!==a&&Object.prototype.hasOwnProperty.call(e,a)){var u=i?Object.getOwnPropertyDescriptor(e,a):null;u&&(u.get||u.set)?Object.defineProperty(o,a,u):o[a]=e[a]}o.default=e,r&&r.set(e,o);return o}(r(177)),l=r(45);function f(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,r=new WeakMap;return(f=function(e){return e?r:t})(e)}function p(e){return e&&e.__esModule?e:{default:e}}function d(){return(d=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(this,arguments)}function h(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function y(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function v(e,t){return(v=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function m(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var r,n=w(e);if(t){var o=w(this).constructor;r=Reflect.construct(n,arguments,o)}else r=n.apply(this,arguments);return b(this,r)}}function b(e,t){if(t&&("object"===n(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return g(e)}function g(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function w(e){return(w=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function S(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var O=function(t){var r=[],n=function(n){!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}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&v(e,t)}(p,n);var i,a,c,f=m(p);function p(){var t;h(this,p);for(var n=arguments.length,o=new Array(n),i=0;i<n;i++)o[i]=arguments[i];return S(g(t=f.call.apply(f,[this].concat(o))),"registerDeferredCallback",(function(e){if(!e)throw new Error("No callback provided");r.push(e),t.props.viewActions.queueDeferredCallbacks()})),S(g(t),"deRegisterDeferredCallback",(function(){r=[],e((function(){return t.props.viewActions.dequeueDeferredCallbacks()}))})),S(g(t),"requestDeferredCallbackExecution",(0,u.default)((function(){return s.default.sendDeferredEvent(),t.callDeferred()}),l.DEFERRED_CALLBACK_TIMER,{leading:!1,trailing:!0})),S(g(t),"callDeferred",(function(){r.forEach((function(e){return e()})),t.deRegisterDeferredCallback()})),t}return i=p,(a=[{key:"render",value:function(){return o.default.createElement(t,d({registerDeferredCallback:this.registerDeferredCallback,deRegisterDeferredCallback:this.deRegisterDeferredCallback,requestDeferredCallbackExecution:this.requestDeferredCallbackExecution,callDeferred:this.callDeferred},this.props))}}])&&y(i.prototype,a),c&&y(i,c),Object.defineProperty(i,"prototype",{writable:!1}),p}(o.default.Component);return(0,a.connect)((function(){return{}}),(function(e){return{viewActions:(0,i.bindActionCreators)(c,e)}}))(n)};t.default=O}).call(this,r(370).setImmediate)},function(e,t,r){r(636),r(637)},function(e,t,r){var n=r(12),o=r(13),i=r(181).clear;n({global:!0,bind:!0,enumerable:!0,forced:o.clearImmediate!==i},{clearImmediate:i})},function(e,t,r){var n=r(12),o=r(13),i=r(181).set;n({global:!0,bind:!0,enumerable:!0,forced:o.setImmediate!==i},{setImmediate:i})},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.handleChapterNavigation=function(e){var t=this,r=this.state.currentSpineItemIndex,n=this.state.spine,o=r+e,i=o<0,u=o>n.length-1;if(i||u)return void this.setState({firstChapter:i,lastChapter:u},(function(){return a.default.sendPaginationEvent(t.state)}));r=o;var s=n[o],c=function(e){return function(){var o=t.props.view.lastSpreadIndex,s=0===o,c=e;u=r===n.length-1,t.setState({firstChapter:i,lastChapter:u,firstSpread:!0,lastSpread:s,spreadDelta:c},(function(){-1===e&&t.navigateToSpreadByIndex(o),t.props.userInterfaceActions.update({handleEvents:!0,spinnerVisible:!1}),a.default.sendPaginationEvent(t.state)}))}};c=c(e),this.setState({spreadIndex:0,currentSpineItem:s,currentSpineItemIndex:r,showSidebar:null,firstChapter:i,lastChapter:u},(function(){t.loadSpineItem(s,c),t.savePosition()}))},t.handlePageNavigation=function(e){var t=this,r=this.state.spreadIndex,n=this.props.view.lastSpreadIndex,o=r+e;if(o>n||o<0){var i=Math.sign(e);return void this.handleChapterNavigation(i)}var u=0===o,s=o===n,c=o>r?1:-1;r=o,this.setState({spreadIndex:r,firstSpread:u,lastSpread:s,spreadDelta:c,showSidebar:null},(function(){t.updateQueryString(),a.default.sendPaginationEvent(t.state)}))},t.navigateToChapterByURL=function(e){var t,r=this,o=this.state.spine,i=new window.URL(e),a="".concat(i.origin).concat(i.pathname),u=i.hash;u&&(t=function(){r.navigateToElementById(u),r.props.userInterfaceActions.update({handleEvents:!0,spinnerVisible:!1})});var s=(0,n.default)(o,{absoluteURL:a});if(s===this.state.currentSpineItemIndex)return this.closeSidebars();if(s<0)return void console.warn("No spine item found for ".concat(a));var c=o[s];this.props.userInterfaceActions.disablePageTransitions(),this.setState({currentSpineItem:c,currentSpineItemIndex:s,spreadIndex:0},(function(){r.loadSpineItem(c,t),r.savePosition()}))},t.navigateToElementById=function(e){var t=document.querySelector(e);if(!t)return console.warn("Could not find element ".concat(e));if(i.default.isVerticallyScrolling(this.props.readerSettings)){var r=document.querySelector(".bber-controls__header").offsetHeight+25,n=t.offsetTop-r;document.getElementById("frame").scrollTo(0,n)}var o=this.props.viewerSettings,a=o.paddingTop,u=o.paddingBottom,s=o.columnGap,c=window.innerHeight,l=Math.round(c-a-u),f=t.offsetLeft-s,p=Math.floor(f/l/2);this.setState({spreadIndex:p},this.updateQueryString)},t.navigateToSpreadByIndex=function(e){this.setState({spreadIndex:e},this.updateQueryString)},t.savePosition=function(){var e=this.state,t=e.currentSpineItemIndex,r=e.spreadIndex,n=this.props.readerSettings.searchParamKeys,o=new URLSearchParams;o.set(n.currentSpineItemIndex,t),o.set(n.spreadIndex,r);var i={searchParams:o.toString()};this.props.readerLocationActions.updateLocalStorage(i)},t.updateQueryString=function(e){var t=this.state,r=t.spreadIndex,n=t.currentSpineItem,i=t.currentSpineItemIndex,a=n.slug,u=this.props.readerLocation.searchParams,s=new window.URLSearchParams(u);s.set(o.default.queryStringKey(this.props.readerSettings.searchParamKeys.slug),o.default.queryStringValue(a)),s.set(o.default.queryStringKey(this.props.readerSettings.searchParamKeys.currentSpineItemIndex),o.default.queryStringValue(i)),s.set(o.default.queryStringKey(this.props.readerSettings.searchParamKeys.spreadIndex),o.default.queryStringValue(r));var c={searchParams:s.toString()};this.props.readerLocationActions.updateLocation(c),e&&e()},r(369),r(2),r(1),r(4),r(5),r(162),r(88),r(32),r(87);var n=u(r(365)),o=u(r(66)),i=u(r(41)),a=u(r(107));function u(e){return e&&e.__esModule?e:{default:e}}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.bindResizeHandlers=function(){window.removeEventListener("resize",this.handleResize),window.removeEventListener("resize",this.handleResizeStart),window.removeEventListener("resize",this.handleResizeEnd),document.removeEventListener("webkitfullscreenchange mozfullscreenchange fullscreenchange",this.handleResize),document.removeEventListener("webkitfullscreenchange mozfullscreenchange fullscreenchange",this.handleResizeStart),document.removeEventListener("webkitfullscreenchange mozfullscreenchange fullscreenchange",this.handleResizeEnd)},t.handleResize=function(){if(this.state.disableMobileResizeEvents)return;var e=new n.ViewerSettings;this.props.viewerSettingsActions.update(e.get())},t.handleResizeEnd=function(){var e=this;if(this.state.disableMobileResizeEvents)return;var t=this.state,r=t.spreadIndex,n=t.relativeSpreadPosition,o=this.props.view.lastSpreadIndex;if(o<0)return window.clearTimeout(this.resizeEndTimer),void(this.resizeEndTimer=setTimeout((function(){return e.handleResizeEnd()}),200));var i=r*n;i=(i=i<1?0:i)>o?o:i,this.navigateToSpreadByIndex(i),this.props.userInterfaceActions.hideSpinner()},t.handleResizeStart=function(){var e=this;if(this.state.disableMobileResizeEvents)return;var t=this.state.spreadIndex,r=this.props.view.lastSpreadIndex,n=0;t>0&&r>0&&(n=t/r);this.setState({relativeSpreadPosition:n},(function(){e.props.viewActions.unload(),e.props.viewActions.updateLastSpreadIndex(-1),e.props.userInterfaceActions.disablePageTransitions(),e.props.userInterfaceActions.showSpinner()}))},t.unbindResizeHandlers=function(){window.addEventListener("resize",this.handleResize),window.addEventListener("resize",this.handleResizeStart),window.addEventListener("resize",this.handleResizeEnd),document.addEventListener("webkitfullscreenchange mozfullscreenchange fullscreenchange",this.handleResize),document.addEventListener("webkitfullscreenchange mozfullscreenchange fullscreenchange",this.handleResizeStart),document.addEventListener("webkitfullscreenchange mozfullscreenchange fullscreenchange",this.handleResizeEnd)};var n=r(132)},function(e,t,r){"use strict";function n(e){return(n="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)}r(3),r(7),r(8),r(26),r(6),r(35),r(19),r(16),r(27),r(14),r(17),r(34),r(109),r(110),r(111),r(112),r(29),r(28),Object.defineProperty(t,"__esModule",{value:!0}),t.book=void 0,t.createStateFromOPF=function(e){return g.apply(this,arguments)},t.loadSpineItem=function(e,t){return w.apply(this,arguments)},t.showSpineItem=function(){var e=this,t=this.state,r=t.spine,n=t.spreadIndex,o=t.currentSpineItemIndex,i=this.props.view.lastSpreadIndex,a=0===o,u=o===r.length-1,c=0===n,l=n===i;this.setState({firstChapter:a,lastChapter:u,firstSpread:c,lastSpread:l},(function(){e.savePosition(),e.props.userInterfaceActions.update({handleEvents:!0,spinnerVisible:!1}),s.default.sendPaginationEvent(e.state)}))},r(1),r(108),r(2),r(4),r(5);var o=c(r(90)),i=c(r(182)),a=c(r(165)),u=c(r(660)),s=c(r(107));function c(e){return e&&e.__esModule?e:{default:e}}function l(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */l=function(){return e};var e={},t=Object.prototype,r=t.hasOwnProperty,o="function"==typeof Symbol?Symbol:{},i=o.iterator||"@@iterator",a=o.asyncIterator||"@@asyncIterator",u=o.toStringTag||"@@toStringTag";function s(e,t,r){return Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{s({},"")}catch(e){s=function(e,t,r){return e[t]=r}}function c(e,t,r,n){var o=t&&t.prototype instanceof d?t:d,i=Object.create(o.prototype),a=new E(n||[]);return i._invoke=function(e,t,r){var n="suspendedStart";return function(o,i){if("executing"===n)throw new Error("Generator is already running");if("completed"===n){if("throw"===o)throw i;return k()}for(r.method=o,r.arg=i;;){var a=r.delegate;if(a){var u=O(a,r);if(u){if(u===p)continue;return u}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if("suspendedStart"===n)throw n="completed",r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);n="executing";var s=f(e,t,r);if("normal"===s.type){if(n=r.done?"completed":"suspendedYield",s.arg===p)continue;return{value:s.arg,done:r.done}}"throw"===s.type&&(n="completed",r.method="throw",r.arg=s.arg)}}}(e,r,a),i}function f(e,t,r){try{return{type:"normal",arg:e.call(t,r)}}catch(e){return{type:"throw",arg:e}}}e.wrap=c;var p={};function d(){}function h(){}function y(){}var v={};s(v,i,(function(){return this}));var m=Object.getPrototypeOf,b=m&&m(m(P([])));b&&b!==t&&r.call(b,i)&&(v=b);var g=y.prototype=d.prototype=Object.create(v);function w(e){["next","throw","return"].forEach((function(t){s(e,t,(function(e){return this._invoke(t,e)}))}))}function S(e,t){var o;this._invoke=function(i,a){function u(){return new t((function(o,u){!function o(i,a,u,s){var c=f(e[i],e,a);if("throw"!==c.type){var l=c.arg,p=l.value;return p&&"object"==n(p)&&r.call(p,"__await")?t.resolve(p.__await).then((function(e){o("next",e,u,s)}),(function(e){o("throw",e,u,s)})):t.resolve(p).then((function(e){l.value=e,u(l)}),(function(e){return o("throw",e,u,s)}))}s(c.arg)}(i,a,o,u)}))}return o=o?o.then(u,u):u()}}function O(e,t){var r=e.iterator[t.method];if(void 0===r){if(t.delegate=null,"throw"===t.method){if(e.iterator.return&&(t.method="return",t.arg=void 0,O(e,t),"throw"===t.method))return p;t.method="throw",t.arg=new TypeError("The iterator does not provide a 'throw' method")}return p}var n=f(r,e.iterator,t.arg);if("throw"===n.type)return t.method="throw",t.arg=n.arg,t.delegate=null,p;var o=n.arg;return o?o.done?(t[e.resultName]=o.value,t.next=e.nextLoc,"return"!==t.method&&(t.method="next",t.arg=void 0),t.delegate=null,p):o:(t.method="throw",t.arg=new TypeError("iterator result is not an object"),t.delegate=null,p)}function _(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 x(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function E(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(_,this),this.reset(!0)}function P(e){if(e){var t=e[i];if(t)return t.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var n=-1,o=function t(){for(;++n<e.length;)if(r.call(e,n))return t.value=e[n],t.done=!1,t;return t.value=void 0,t.done=!0,t};return o.next=o}}return{next:k}}function k(){return{value:void 0,done:!0}}return h.prototype=y,s(g,"constructor",y),s(y,"constructor",h),h.displayName=s(y,u,"GeneratorFunction"),e.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===h||"GeneratorFunction"===(t.displayName||t.name))},e.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,y):(e.__proto__=y,s(e,u,"GeneratorFunction")),e.prototype=Object.create(g),e},e.awrap=function(e){return{__await:e}},w(S.prototype),s(S.prototype,a,(function(){return this})),e.AsyncIterator=S,e.async=function(t,r,n,o,i){void 0===i&&(i=Promise);var a=new S(c(t,r,n,o),i);return e.isGeneratorFunction(r)?a:a.next().then((function(e){return e.done?e.value:a.next()}))},w(g),s(g,u,"Generator"),s(g,i,(function(){return this})),s(g,"toString",(function(){return"[object Generator]"})),e.keys=function(e){var t=[];for(var r in e)t.push(r);return t.reverse(),function r(){for(;t.length;){var n=t.pop();if(n in e)return r.value=n,r.done=!1,r}return r.done=!0,r}},e.values=P,E.prototype={constructor:E,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(x),!e)for(var t in this)"t"===t.charAt(0)&&r.call(this,t)&&!isNaN(+t.slice(1))&&(this[t]=void 0)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var t=this;function n(r,n){return a.type="throw",a.arg=e,t.next=r,n&&(t.method="next",t.arg=void 0),!!n}for(var o=this.tryEntries.length-1;o>=0;--o){var i=this.tryEntries[o],a=i.completion;if("root"===i.tryLoc)return n("end");if(i.tryLoc<=this.prev){var u=r.call(i,"catchLoc"),s=r.call(i,"finallyLoc");if(u&&s){if(this.prev<i.catchLoc)return n(i.catchLoc,!0);if(this.prev<i.finallyLoc)return n(i.finallyLoc)}else if(u){if(this.prev<i.catchLoc)return n(i.catchLoc,!0)}else{if(!s)throw new Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return n(i.finallyLoc)}}}},abrupt:function(e,t){for(var n=this.tryEntries.length-1;n>=0;--n){var o=this.tryEntries[n];if(o.tryLoc<=this.prev&&r.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var i=o;break}}i&&("break"===e||"continue"===e)&&i.tryLoc<=t&&t<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=e,a.arg=t,i?(this.method="next",this.next=i.finallyLoc,p):this.complete(a)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),p},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.finallyLoc===e)return this.complete(r.completion,r.afterLoc),x(r),p}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.tryLoc===e){var n=r.completion;if("throw"===n.type){var o=n.arg;x(r)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(e,t,r){return this.delegate={iterator:P(e),resultName:t,nextLoc:r},"next"===this.method&&(this.arg=void 0),p}},e}function f(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function p(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?f(Object(r),!0).forEach((function(t){d(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):f(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function d(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function h(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null==r)return;var n,o,i=[],a=!0,u=!1;try{for(r=r.call(e);!(a=(n=r.next()).done)&&(i.push(n.value),!t||i.length!==t);a=!0);}catch(e){u=!0,o=e}finally{try{a||null==r.return||r.return()}finally{if(u)throw o}}return i}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return y(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return y(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function y(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function v(e,t,r,n,o,i,a){try{var u=e[i](a),s=u.value}catch(e){return void r(e)}u.done?t(s):Promise.resolve(s).then(n,o)}function m(e){return function(){var t=this,r=arguments;return new Promise((function(n,o){var i=e.apply(t,r);function a(e){v(i,n,o,a,u,"next",e)}function u(e){v(i,n,o,a,u,"throw",e)}a(void 0)}))}}var b={content:null};function g(){return(g=m(l().mark((function e(t){var r,n,o,a,s,c,f,d,y,v;return l().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=this.props.readerSettings.bookURL,n=u.default.opfURL(r),o=u.default.opsURL(r),e.next=5,i.default.get(n);case 5:return a=e.sent,e.next=8,u.default.parseOPF(a);case 8:return a=e.sent,e.next=11,u.default.parseNCX(a,o);case 11:return a=e.sent,e.next=14,Promise.all([u.default.createGuideItems(a),u.default.createSpineItems(a)]);case 14:return f=e.sent,d=h(f,2),s=d[0],c=d[1],a=p(p({},s),c),e.next=21,Promise.all([u.default.udpateGuideItemURLs(a,o),u.default.udpateSpineItemURLs(a,o)]);case 21:return y=e.sent,v=h(y,2),s=v[0],c=v[1],a=p(p({},s),c),e.next=28,u.default.createBookMetadata(a);case 28:a=e.sent,this.setState(p({opsURL:o},a),t);case 30:case"end":return e.stop()}}),e,this)})))).apply(this,arguments)}function w(){return(w=m(l().mark((function e(t,r){var n,s,c,f,p,d,y,v,m,g,w,S,O,_,x=this;return l().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n=o.default.createHash(this.props.readerSettings.bookURL),(s=t)||(c=h(this.state.spine,1),s=c[0]),this.freeze(),e.prev=4,p=this.state,d=p.cache,y=p.opsURL,e.next=8,i.default.get(s.absoluteURL);case 8:return v=e.sent,m=v.data,g=v.request,e.next=13,u.default.parseSpineItemResponse({data:m,hash:n,cache:d,opsURL:y,request:g,requestedSpineItem:s,paddingLeft:this.props.viewerSettings.paddingLeft,columnGap:this.props.viewerSettings.columnGap});case 13:f=e.sent,e.next=23;break;case 16:return e.prev=16,e.t0=e.catch(4),console.error(e.t0),delete(w=a.default.get()||{})[n],a.default.set(w),e.abrupt("return");case 23:O=(S=f).bookContent,_=S.scopedCSS,b.content=O,o.default.appendBookStyles(_,n),this.setState({currentSpineItem:s,spineItemURL:s.absoluteURL},(function(){return x.updateQueryString((function(){return x.props.registerDeferredCallback(r||x.showSpineItem)}))}));case 27:case"end":return e.stop()}}),e,this,[[4,16]])})))).apply(this,arguments)}t.book=b},function(e,t,r){e.exports=r(642)},function(e,t,r){"use strict";var n=r(50),o=r(373),i=r(643),a=r(379);function u(e){var t=new i(e),r=o(i.prototype.request,t);return n.extend(r,i.prototype,t),n.extend(r,t),r}var s=u(r(232));s.Axios=i,s.create=function(e){return u(a(s.defaults,e))},s.Cancel=r(380),s.CancelToken=r(657),s.isCancel=r(378),s.all=function(e){return Promise.all(e)},s.spread=r(658),s.isAxiosError=r(659),e.exports=s,e.exports.default=s},function(e,t,r){"use strict";var n=r(50),o=r(374),i=r(644),a=r(645),u=r(379),s=r(655),c=s.validators;function l(e){this.defaults=e,this.interceptors={request:new i,response:new i}}l.prototype.request=function(e){"string"==typeof e?(e=arguments[1]||{}).url=arguments[0]:e=e||{},(e=u(this.defaults,e)).method?e.method=e.method.toLowerCase():this.defaults.method?e.method=this.defaults.method.toLowerCase():e.method="get";var t=e.transitional;void 0!==t&&s.assertOptions(t,{silentJSONParsing:c.transitional(c.boolean,"1.0.0"),forcedJSONParsing:c.transitional(c.boolean,"1.0.0"),clarifyTimeoutError:c.transitional(c.boolean,"1.0.0")},!1);var r=[],n=!0;this.interceptors.request.forEach((function(t){"function"==typeof t.runWhen&&!1===t.runWhen(e)||(n=n&&t.synchronous,r.unshift(t.fulfilled,t.rejected))}));var o,i=[];if(this.interceptors.response.forEach((function(e){i.push(e.fulfilled,e.rejected)})),!n){var l=[a,void 0];for(Array.prototype.unshift.apply(l,r),l=l.concat(i),o=Promise.resolve(e);l.length;)o=o.then(l.shift(),l.shift());return o}for(var f=e;r.length;){var p=r.shift(),d=r.shift();try{f=p(f)}catch(e){d(e);break}}try{o=a(f)}catch(e){return Promise.reject(e)}for(;i.length;)o=o.then(i.shift(),i.shift());return o},l.prototype.getUri=function(e){return e=u(this.defaults,e),o(e.url,e.params,e.paramsSerializer).replace(/^\?/,"")},n.forEach(["delete","get","head","options"],(function(e){l.prototype[e]=function(t,r){return this.request(u(r||{},{method:e,url:t,data:(r||{}).data}))}})),n.forEach(["post","put","patch"],(function(e){l.prototype[e]=function(t,r,n){return this.request(u(n||{},{method:e,url:t,data:r}))}})),e.exports=l},function(e,t,r){"use strict";var n=r(50);function o(){this.handlers=[]}o.prototype.use=function(e,t,r){return this.handlers.push({fulfilled:e,rejected:t,synchronous:!!r&&r.synchronous,runWhen:r?r.runWhen:null}),this.handlers.length-1},o.prototype.eject=function(e){this.handlers[e]&&(this.handlers[e]=null)},o.prototype.forEach=function(e){n.forEach(this.handlers,(function(t){null!==t&&e(t)}))},e.exports=o},function(e,t,r){"use strict";var n=r(50),o=r(646),i=r(378),a=r(232);function u(e){e.cancelToken&&e.cancelToken.throwIfRequested()}e.exports=function(e){return u(e),e.headers=e.headers||{},e.data=o.call(e,e.data,e.headers,e.transformRequest),e.headers=n.merge(e.headers.common||{},e.headers[e.method]||{},e.headers),n.forEach(["delete","get","head","post","put","patch","common"],(function(t){delete e.headers[t]})),(e.adapter||a.adapter)(e).then((function(t){return u(e),t.data=o.call(e,t.data,t.headers,e.transformResponse),t}),(function(t){return i(t)||(u(e),t&&t.response&&(t.response.data=o.call(e,t.response.data,t.response.headers,e.transformResponse))),Promise.reject(t)}))}},function(e,t,r){"use strict";var n=r(50),o=r(232);e.exports=function(e,t,r){var i=this||o;return n.forEach(r,(function(r){e=r.call(i,e,t)})),e}},function(e,t,r){"use strict";var n=r(50);e.exports=function(e,t){n.forEach(e,(function(r,n){n!==t&&n.toUpperCase()===t.toUpperCase()&&(e[t]=r,delete e[n])}))}},function(e,t,r){"use strict";var n=r(377);e.exports=function(e,t,r){var o=r.config.validateStatus;r.status&&o&&!o(r.status)?t(n("Request failed with status code "+r.status,r.config,null,r.request,r)):e(r)}},function(e,t,r){"use strict";var n=r(50);e.exports=n.isStandardBrowserEnv()?{write:function(e,t,r,o,i,a){var u=[];u.push(e+"="+encodeURIComponent(t)),n.isNumber(r)&&u.push("expires="+new Date(r).toGMTString()),n.isString(o)&&u.push("path="+o),n.isString(i)&&u.push("domain="+i),!0===a&&u.push("secure"),document.cookie=u.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,r){"use strict";var n=r(651),o=r(652);e.exports=function(e,t){return e&&!n(t)?o(e,t):t}},function(e,t,r){"use strict";e.exports=function(e){return/^([a-z][a-z\d\+\-\.]*:)?\/\//i.test(e)}},function(e,t,r){"use strict";e.exports=function(e,t){return t?e.replace(/\/+$/,"")+"/"+t.replace(/^\/+/,""):e}},function(e,t,r){"use strict";var n=r(50),o=["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,r,i,a={};return e?(n.forEach(e.split("\n"),(function(e){if(i=e.indexOf(":"),t=n.trim(e.substr(0,i)).toLowerCase(),r=n.trim(e.substr(i+1)),t){if(a[t]&&o.indexOf(t)>=0)return;a[t]="set-cookie"===t?(a[t]?a[t]:[]).concat([r]):a[t]?a[t]+", "+r:r}})),a):a}},function(e,t,r){"use strict";var n=r(50);e.exports=n.isStandardBrowserEnv()?function(){var e,t=/(msie|trident)/i.test(navigator.userAgent),r=document.createElement("a");function o(e){var n=e;return t&&(r.setAttribute("href",n),n=r.href),r.setAttribute("href",n),{href:r.href,protocol:r.protocol?r.protocol.replace(/:$/,""):"",host:r.host,search:r.search?r.search.replace(/^\?/,""):"",hash:r.hash?r.hash.replace(/^#/,""):"",hostname:r.hostname,port:r.port,pathname:"/"===r.pathname.charAt(0)?r.pathname:"/"+r.pathname}}return e=o(window.location.href),function(t){var r=n.isString(t)?o(t):t;return r.protocol===e.protocol&&r.host===e.host}}():function(){return!0}},function(e,t,r){"use strict";var n=r(656),o={};["object","boolean","number","function","string","symbol"].forEach((function(e,t){o[e]=function(r){return typeof r===e||"a"+(t<1?"n ":" ")+e}}));var i={},a=n.version.split(".");function u(e,t){for(var r=t?t.split("."):a,n=e.split("."),o=0;o<3;o++){if(r[o]>n[o])return!0;if(r[o]<n[o])return!1}return!1}o.transitional=function(e,t,r){var o=t&&u(t);function a(e,t){return"[Axios v"+n.version+"] Transitional option '"+e+"'"+t+(r?". "+r:"")}return function(r,n,u){if(!1===e)throw new Error(a(n," has been removed in "+t));return o&&!i[n]&&(i[n]=!0,console.warn(a(n," has been deprecated since v"+t+" and will be removed in the near future"))),!e||e(r,n,u)}},e.exports={isOlderVersion:u,assertOptions:function(e,t,r){if("object"!=typeof e)throw new TypeError("options must be an object");for(var n=Object.keys(e),o=n.length;o-- >0;){var i=n[o],a=t[i];if(a){var u=e[i],s=void 0===u||a(u,i,e);if(!0!==s)throw new TypeError("option "+i+" must be "+s)}else if(!0!==r)throw Error("Unknown option "+i)}},validators:o}},function(e){e.exports=JSON.parse('{"name":"axios","version":"0.21.4","description":"Promise based HTTP client for the browser and node.js","main":"index.js","scripts":{"test":"grunt test","start":"node ./sandbox/server.js","build":"NODE_ENV=production grunt build","preversion":"npm test","version":"npm run build && grunt version && git add -A dist && git add CHANGELOG.md bower.json package.json","postversion":"git push && git push --tags","examples":"node ./examples/server.js","coveralls":"cat coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js","fix":"eslint --fix lib/**/*.js"},"repository":{"type":"git","url":"https://github.com/axios/axios.git"},"keywords":["xhr","http","ajax","promise","node"],"author":"Matt Zabriskie","license":"MIT","bugs":{"url":"https://github.com/axios/axios/issues"},"homepage":"https://axios-http.com","devDependencies":{"coveralls":"^3.0.0","es6-promise":"^4.2.4","grunt":"^1.3.0","grunt-banner":"^0.6.0","grunt-cli":"^1.2.0","grunt-contrib-clean":"^1.1.0","grunt-contrib-watch":"^1.0.0","grunt-eslint":"^23.0.0","grunt-karma":"^4.0.0","grunt-mocha-test":"^0.13.3","grunt-ts":"^6.0.0-beta.19","grunt-webpack":"^4.0.2","istanbul-instrumenter-loader":"^1.0.0","jasmine-core":"^2.4.1","karma":"^6.3.2","karma-chrome-launcher":"^3.1.0","karma-firefox-launcher":"^2.1.0","karma-jasmine":"^1.1.1","karma-jasmine-ajax":"^0.1.13","karma-safari-launcher":"^1.0.0","karma-sauce-launcher":"^4.3.6","karma-sinon":"^1.0.5","karma-sourcemap-loader":"^0.3.8","karma-webpack":"^4.0.2","load-grunt-tasks":"^3.5.2","minimist":"^1.2.0","mocha":"^8.2.1","sinon":"^4.5.0","terser-webpack-plugin":"^4.2.3","typescript":"^4.0.5","url-search-params":"^0.10.0","webpack":"^4.44.2","webpack-dev-server":"^3.11.0"},"browser":{"./lib/adapters/http.js":"./lib/adapters/xhr.js"},"jsdelivr":"dist/axios.min.js","unpkg":"dist/axios.min.js","typings":"./index.d.ts","dependencies":{"follow-redirects":"^1.14.0"},"bundlesize":[{"path":"./dist/axios.min.js","threshold":"5kB"}]}')},function(e,t,r){"use strict";var n=r(380);function o(e){if("function"!=typeof e)throw new TypeError("executor must be a function.");var t;this.promise=new Promise((function(e){t=e}));var r=this;e((function(e){r.reason||(r.reason=new n(e),t(r.reason))}))}o.prototype.throwIfRequested=function(){if(this.reason)throw this.reason},o.source=function(){var e;return{token:new o((function(t){e=t})),cancel:e}},e.exports=o},function(e,t,r){"use strict";e.exports=function(e){return function(t){return e.apply(null,t)}}},function(e,t,r){"use strict";e.exports=function(e){return"object"==typeof e&&!0===e.isAxiosError}},function(e,t,r){"use strict";function n(e){return(n="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)}r(3),r(14),r(34),r(7),r(8),r(109),r(110),r(111),r(112),r(29),r(28),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,r(1),r(108),r(6),r(52),r(19),r(80),r(27),r(17),r(26),r(16),r(92),r(211),r(35),r(4),r(32),r(2),r(5);var o=b(r(661)),i=b(r(167)),a=r(388),u=b(r(179)),s=r(732),c=b(r(774)),l=b(r(797)),f=b(r(802)),p=b(r(66)),d=b(r(182)),h=b(r(813)),y=r(132),v=r(814),m=b(r(815));function b(e){return e&&e.__esModule?e:{default:e}}function g(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */g=function(){return e};var e={},t=Object.prototype,r=t.hasOwnProperty,o="function"==typeof Symbol?Symbol:{},i=o.iterator||"@@iterator",a=o.asyncIterator||"@@asyncIterator",u=o.toStringTag||"@@toStringTag";function s(e,t,r){return Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{s({},"")}catch(e){s=function(e,t,r){return e[t]=r}}function c(e,t,r,n){var o=t&&t.prototype instanceof p?t:p,i=Object.create(o.prototype),a=new E(n||[]);return i._invoke=function(e,t,r){var n="suspendedStart";return function(o,i){if("executing"===n)throw new Error("Generator is already running");if("completed"===n){if("throw"===o)throw i;return k()}for(r.method=o,r.arg=i;;){var a=r.delegate;if(a){var u=O(a,r);if(u){if(u===f)continue;return u}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if("suspendedStart"===n)throw n="completed",r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);n="executing";var s=l(e,t,r);if("normal"===s.type){if(n=r.done?"completed":"suspendedYield",s.arg===f)continue;return{value:s.arg,done:r.done}}"throw"===s.type&&(n="completed",r.method="throw",r.arg=s.arg)}}}(e,r,a),i}function l(e,t,r){try{return{type:"normal",arg:e.call(t,r)}}catch(e){return{type:"throw",arg:e}}}e.wrap=c;var f={};function p(){}function d(){}function h(){}var y={};s(y,i,(function(){return this}));var v=Object.getPrototypeOf,m=v&&v(v(P([])));m&&m!==t&&r.call(m,i)&&(y=m);var b=h.prototype=p.prototype=Object.create(y);function w(e){["next","throw","return"].forEach((function(t){s(e,t,(function(e){return this._invoke(t,e)}))}))}function S(e,t){var o;this._invoke=function(i,a){function u(){return new t((function(o,u){!function o(i,a,u,s){var c=l(e[i],e,a);if("throw"!==c.type){var f=c.arg,p=f.value;return p&&"object"==n(p)&&r.call(p,"__await")?t.resolve(p.__await).then((function(e){o("next",e,u,s)}),(function(e){o("throw",e,u,s)})):t.resolve(p).then((function(e){f.value=e,u(f)}),(function(e){return o("throw",e,u,s)}))}s(c.arg)}(i,a,o,u)}))}return o=o?o.then(u,u):u()}}function O(e,t){var r=e.iterator[t.method];if(void 0===r){if(t.delegate=null,"throw"===t.method){if(e.iterator.return&&(t.method="return",t.arg=void 0,O(e,t),"throw"===t.method))return f;t.method="throw",t.arg=new TypeError("The iterator does not provide a 'throw' method")}return f}var n=l(r,e.iterator,t.arg);if("throw"===n.type)return t.method="throw",t.arg=n.arg,t.delegate=null,f;var o=n.arg;return o?o.done?(t[e.resultName]=o.value,t.next=e.nextLoc,"return"!==t.method&&(t.method="next",t.arg=void 0),t.delegate=null,f):o:(t.method="throw",t.arg=new TypeError("iterator result is not an object"),t.delegate=null,f)}function _(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 x(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function E(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(_,this),this.reset(!0)}function P(e){if(e){var t=e[i];if(t)return t.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var n=-1,o=function t(){for(;++n<e.length;)if(r.call(e,n))return t.value=e[n],t.done=!1,t;return t.value=void 0,t.done=!0,t};return o.next=o}}return{next:k}}function k(){return{value:void 0,done:!0}}return d.prototype=h,s(b,"constructor",h),s(h,"constructor",d),d.displayName=s(h,u,"GeneratorFunction"),e.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===d||"GeneratorFunction"===(t.displayName||t.name))},e.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,h):(e.__proto__=h,s(e,u,"GeneratorFunction")),e.prototype=Object.create(b),e},e.awrap=function(e){return{__await:e}},w(S.prototype),s(S.prototype,a,(function(){return this})),e.AsyncIterator=S,e.async=function(t,r,n,o,i){void 0===i&&(i=Promise);var a=new S(c(t,r,n,o),i);return e.isGeneratorFunction(r)?a:a.next().then((function(e){return e.done?e.value:a.next()}))},w(b),s(b,u,"Generator"),s(b,i,(function(){return this})),s(b,"toString",(function(){return"[object Generator]"})),e.keys=function(e){var t=[];for(var r in e)t.push(r);return t.reverse(),function r(){for(;t.length;){var n=t.pop();if(n in e)return r.value=n,r.done=!1,r}return r.done=!0,r}},e.values=P,E.prototype={constructor:E,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(x),!e)for(var t in this)"t"===t.charAt(0)&&r.call(this,t)&&!isNaN(+t.slice(1))&&(this[t]=void 0)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var t=this;function n(r,n){return a.type="throw",a.arg=e,t.next=r,n&&(t.method="next",t.arg=void 0),!!n}for(var o=this.tryEntries.length-1;o>=0;--o){var i=this.tryEntries[o],a=i.completion;if("root"===i.tryLoc)return n("end");if(i.tryLoc<=this.prev){var u=r.call(i,"catchLoc"),s=r.call(i,"finallyLoc");if(u&&s){if(this.prev<i.catchLoc)return n(i.catchLoc,!0);if(this.prev<i.finallyLoc)return n(i.finallyLoc)}else if(u){if(this.prev<i.catchLoc)return n(i.catchLoc,!0)}else{if(!s)throw new Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return n(i.finallyLoc)}}}},abrupt:function(e,t){for(var n=this.tryEntries.length-1;n>=0;--n){var o=this.tryEntries[n];if(o.tryLoc<=this.prev&&r.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var i=o;break}}i&&("break"===e||"continue"===e)&&i.tryLoc<=t&&t<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=e,a.arg=t,i?(this.method="next",this.next=i.finallyLoc,f):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),f},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.finallyLoc===e)return this.complete(r.completion,r.afterLoc),x(r),f}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.tryLoc===e){var n=r.completion;if("throw"===n.type){var o=n.arg;x(r)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(e,t,r){return this.delegate={iterator:P(e),resultName:t,nextLoc:r},"next"===this.method&&(this.arg=void 0),f}},e}function w(e,t,r,n,o,i,a){try{var u=e[i](a),s=u.value}catch(e){return void r(e)}u.done?t(s):Promise.resolve(s).then(n,o)}function S(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function O(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?S(Object(r),!0).forEach((function(t){_(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):S(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function _(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function x(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}var E=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e)}var t,r,n,b,S;return t=e,r=null,n=[{key:"opfURL",value:function(e){var t=e;return t=p.default.stripTrailingSlash(t),t+="/OPS",t+="/content.opf",t=window.encodeURI(t)}},{key:"opsURL",value:function(e){var t=e;return t=p.default.stripTrailingSlash(t),t+="/OPS",t=window.encodeURI(t)}},{key:"parseOPF",value:function(e){return new Promise((function(t){for(var r=JSON.parse(o.default.xml2json(e.data)).elements[0].elements,n={},i=0;i<r.length;i++)n["__".concat(r[i].name)]=r[i];t(n)}))}},{key:"parseNCX",value:function(e,t){var r=e.__manifest,n=e.__spine;return new Promise((function(i){var a=n.attributes.toc;if(a){var s=(0,u.default)(r.elements,(function(e){return e.attributes.id===a}));if(s){var c=s.attributes.href;d.default.get(p.default.resolveRelativeURL(t,c)).then((function(t){var r=t.data;i(O(O({},e),{},{__ncx:JSON.parse(o.default.xml2json(r))}))}))}else i(O(O({},e),{},{__ncx:null}))}else i(O(O({},e),{},{__ncx:null}))}))}},{key:"createSpineItems",value:function(t){var r=t.__manifest,n=t.__spine,o=t.__ncx,i=t.__guide;return new Promise((function(a){var s;if(s=(s=n.elements.map((function(e){var t=e.attributes,n=t.idref,o=t.linear,a=(0,u.default)(r.elements,(function(e){return e.attributes.id===n}));if(!a||"yes"!==o)return null;var s=a.attributes,c=s.id,l=s.href,f=a.attributes["media-type"],d=a.attributes.properties?a.attributes.properties.split(" "):[],h=(0,u.default)(i.elements,(function(e){return e.attributes.href===l})),v="",m="";return h&&(v=h.attributes.title,m=p.default.slug(v)),new y.SpineItem({id:c,href:l,mediaType:f,properties:d,idref:n,linear:o,title:v,slug:m})}))).filter(Boolean),o){var c=o.elements[0].elements;(0,u.default)(c,{name:"navMap"}).elements.forEach((function(t){return e.parseNavPoints(s,r,t)}))}a(O(O({},t),{},{spine:s}))}))}},{key:"createGuideItems",value:function(e){var t=e.__guide;return new Promise((function(r){if(t.elements&&t.elements.length){var n=t.elements.map((function(e){var t=e.attributes,r=t.type,n=t.title,o=t.href;return new y.GuideItem({type:r,title:n,href:o})}));r(O(O({},e),{},{guide:n}))}else r(O(O({},e),{},{guide:[]}))}))}},{key:"udpateSpineItemURLs",value:function(e,t){return new Promise((function(r){var n=e.spine;n.map((function(e){return e.absoluteURL=p.default.resolveRelativeURL(t,e.href)})),r(O(O({},e),{},{spine:n}))}))}},{key:"udpateGuideItemURLs",value:function(e,t){return new Promise((function(r){var n=e.guide;n.map((function(e){return e.absoluteURL=p.default.resolveRelativeURL(t,e.href)})),r(O(O({},e),{},{guide:n}))}))}},{key:"parseNavPoints",value:function(t,r,n){var o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:0,i=arguments.length>4&&void 0!==arguments[4]?arguments[4]:null,a=(0,u.default)(n.elements,{name:"content"});if(a){var s=a.attributes.src;s=p.default.ensureDecodedURL(s);var c=(0,u.default)(r.elements,(function(e){return p.default.ensureDecodedURL(e.attributes.href)===s}));if(!c)return console.error("Could not find manifest item: ".concat(s));var l=c.attributes.id,f=(0,u.default)(t,{id:l});if(!f)return console.error("Can not find spine item: ".concat(l));var d=(0,u.default)(n.elements,{name:"navLabel"}),h=(0,u.default)(d.elements,{name:"text"}),y=(0,u.default)(h.elements,{type:"text"}).text,v=p.default.slug(y);f.title||f.set("title",y),f.slug||f.set("slug",v),f.set("depth",o),f.set("inTOC",!0),i&&i.addChild(f);var m=o+1;n.elements.forEach((function(n){return e.parseNavPoints(t,r,n,m,f)}))}}},{key:"createBookMetadata",value:function(e){var t=e.__metadata.elements.filter((function(e){return/^dc:/.test(e.name)})).map((function(e){return _({},e.name.slice(3),e.elements[0].text)}));return new Promise((function(r){var n=new y.BookMetadata({});t.forEach((function(e,r){var o=Object.keys(t[r]);(0,i.default)(n,o)&&n.set(o,e[o])})),r(O(O({},e),{},{metadata:n}))}))}},{key:"createScopedCSS",value:function(e,t,r){var n="";return e.forEach((function(e){var o=e.base,i=e.data,a=p.default.resolveRelativeURL(r,o),u=(0,c.default)(i);(0,l.default)(u,{enter:function(e,r,n){var o,i=s.List.createItem({name:t,type:"ClassSelector"}),u=s.List.createItem({type:"WhiteSpace",value:" "});n&&"TypeSelector"===e.type&&"html"===e.name&&(e.name=t,e.type="ClassSelector"),n&&"TypeSelector"===e.type&&"body"===e.name&&(e.name="content",e.type="IdSelector"),!n||e.name===t||n.head.data.name===t||"TypeSelector"!==e.type&&"IdSelector"!==e.type&&"ClassSelector"!==e.type&&"AttributeSelector"!==e.type||(n.prepend(u),n.prepend(i)),"Url"===e.type&&(o=e.value.replace(/(?:^['"]+|['"]+$)/g,""),p.default.isRelative(o)&&(o=p.default.resolveRelativeURL(a,o),e.value=o))}}),n+=(0,f.default)(u)})),n}},{key:"parseSpineItemResponse",value:(b=g().mark((function t(r){var n,o,i,u,s,c,l,f,y,b,w,S,O,_,x,E,P,k,j,T,A,C;return g().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return n=r.request.responseURL,o=r.hash,i=r.opsURL,u=r.paddingLeft,s=r.columnGap,c=r.cache,l=new a.Parser,f=new m.default({paddingLeft:u,columnGap:s,responseURL:n}),y=f.parseXML(r.data),b=y.xml,w=y.doc,S=/<body[^>]*?>([\s\S]*)<\/body>/,O=(O=(O=b.match(S))[1]).replace(/>\s*?</g,"><"),_=l.parseWithInstructions(O,v.isValidNode,(0,v.processingInstructions)(r)),x=Array.from(w.querySelectorAll("link")),E=Array.from(w.querySelectorAll("style")),P=x.reduce((function(e,t){if("stylesheet"!==t.rel)return e;var r=p.default.trimFilenameFromResponse(n),o=p.default.trimSlashes(t.getAttribute("href")),i=p.default.resolveRelativeURL(r,o);return e.concat({url:i,base:r})}),[]),k=P.map((function(e){var t=e.url,r=e.base;return new Promise((function(e){var n=h.default.get(t);c&&null!=n&&n.data?e({base:r,data:n.data}):d.default.get(t).then((function(n){c&&(console.log("No CSS cache - setting cache for %s",t),h.default.set(t,n.data)),e({base:r,data:n.data})}))}))})),t.next=16,Promise.all(k);case 16:return j=t.sent,T=E.reduce((function(e,t){var r=t.textContent;if(!r)return e;var o=p.default.trimFilenameFromResponse(n);return e.concat({base:o,data:r})}),j),A="_".concat(o),C=e.createScopedCSS(T,A,i),t.abrupt("return",{bookContent:_,scopedCSS:C});case 21:case"end":return t.stop()}}),t)})),S=function(){var e=this,t=arguments;return new Promise((function(r,n){var o=b.apply(e,t);function i(e){w(o,r,n,i,a,"next",e)}function a(e){w(o,r,n,i,a,"throw",e)}i(void 0)}))},function(e){return S.apply(this,arguments)})}],r&&x(t.prototype,r),n&&x(t,n),Object.defineProperty(t,"prototype",{writable:!1}),e}();t.default=E},function(e,t,r){var n=r(381),o=r(676),i=r(387),a=r(677);e.exports={xml2js:n,xml2json:o,js2xml:i,json2xml:a}},function(e,t,r){(function(e){!function(t){t.parser=function(e,t){return new i(e,t)},t.SAXParser=i,t.SAXStream=u,t.createStream=function(e,t){return new u(e,t)},t.MAX_BUFFER_LENGTH=65536;var n,o=["comment","sgmlDecl","textNode","tagName","doctype","procInstName","procInstBody","entity","attribName","attribValue","cdata","script"];function i(e,r){if(!(this instanceof i))return new i(e,r);!function(e){for(var t=0,r=o.length;t<r;t++)e[o[t]]=""}(this),this.q=this.c="",this.bufferCheckPosition=t.MAX_BUFFER_LENGTH,this.opt=r||{},this.opt.lowercase=this.opt.lowercase||this.opt.lowercasetags,this.looseCase=this.opt.lowercase?"toLowerCase":"toUpperCase",this.tags=[],this.closed=this.closedRoot=this.sawRoot=!1,this.tag=this.error=null,this.strict=!!e,this.noscript=!(!e&&!this.opt.noscript),this.state=O.BEGIN,this.strictEntities=this.opt.strictEntities,this.ENTITIES=this.strictEntities?Object.create(t.XML_ENTITIES):Object.create(t.ENTITIES),this.attribList=[],this.opt.xmlns&&(this.ns=Object.create(c)),this.trackPosition=!1!==this.opt.position,this.trackPosition&&(this.position=this.line=this.column=0),x(this,"onready")}t.EVENTS=["text","processinginstruction","sgmldeclaration","doctype","comment","opentagstart","attribute","opentag","closetag","opencdata","cdata","closecdata","error","end","ready","script","opennamespace","closenamespace"],Object.create||(Object.create=function(e){function t(){}return t.prototype=e,new t}),Object.keys||(Object.keys=function(e){var t=[];for(var r in e)e.hasOwnProperty(r)&&t.push(r);return t}),i.prototype={end:function(){T(this)},write:function(e){if(this.error)throw this.error;if(this.closed)return j(this,"Cannot write after close. Assign an onready handler.");if(null===e)return T(this);"object"==typeof e&&(e=e.toString());var r=0,n="";for(;n=U(e,r++),this.c=n,n;)switch(this.trackPosition&&(this.position++,"\n"===n?(this.line++,this.column=0):this.column++),this.state){case O.BEGIN:if(this.state=O.BEGIN_WHITESPACE,"\ufeff"===n)continue;D(this,n);continue;case O.BEGIN_WHITESPACE:D(this,n);continue;case O.TEXT:if(this.sawRoot&&!this.closedRoot){for(var i=r-1;n&&"<"!==n&&"&"!==n;)(n=U(e,r++))&&this.trackPosition&&(this.position++,"\n"===n?(this.line++,this.column=0):this.column++);this.textNode+=e.substring(i,r-1)}"<"!==n||this.sawRoot&&this.closedRoot&&!this.strict?(h(n)||this.sawRoot&&!this.closedRoot||A(this,"Text data outside of root node."),"&"===n?this.state=O.TEXT_ENTITY:this.textNode+=n):(this.state=O.OPEN_WAKA,this.startTagPosition=this.position);continue;case O.SCRIPT:"<"===n?this.state=O.SCRIPT_ENDING:this.script+=n;continue;case O.SCRIPT_ENDING:"/"===n?this.state=O.CLOSE_TAG:(this.script+="<"+n,this.state=O.SCRIPT);continue;case O.OPEN_WAKA:if("!"===n)this.state=O.SGML_DECL,this.sgmlDecl="";else if(h(n));else if(m(l,n))this.state=O.OPEN_TAG,this.tagName=n;else if("/"===n)this.state=O.CLOSE_TAG,this.tagName="";else if("?"===n)this.state=O.PROC_INST,this.procInstName=this.procInstBody="";else{if(A(this,"Unencoded <"),this.startTagPosition+1<this.position){var a=this.position-this.startTagPosition;n=new Array(a).join(" ")+n}this.textNode+="<"+n,this.state=O.TEXT}continue;case O.SGML_DECL:"[CDATA["===(this.sgmlDecl+n).toUpperCase()?(E(this,"onopencdata"),this.state=O.CDATA,this.sgmlDecl="",this.cdata=""):this.sgmlDecl+n==="--"?(this.state=O.COMMENT,this.comment="",this.sgmlDecl=""):"DOCTYPE"===(this.sgmlDecl+n).toUpperCase()?(this.state=O.DOCTYPE,(this.doctype||this.sawRoot)&&A(this,"Inappropriately located doctype declaration"),this.doctype="",this.sgmlDecl=""):">"===n?(E(this,"onsgmldeclaration",this.sgmlDecl),this.sgmlDecl="",this.state=O.TEXT):y(n)?(this.state=O.SGML_DECL_QUOTED,this.sgmlDecl+=n):this.sgmlDecl+=n;continue;case O.SGML_DECL_QUOTED:n===this.q&&(this.state=O.SGML_DECL,this.q=""),this.sgmlDecl+=n;continue;case O.DOCTYPE:">"===n?(this.state=O.TEXT,E(this,"ondoctype",this.doctype),this.doctype=!0):(this.doctype+=n,"["===n?this.state=O.DOCTYPE_DTD:y(n)&&(this.state=O.DOCTYPE_QUOTED,this.q=n));continue;case O.DOCTYPE_QUOTED:this.doctype+=n,n===this.q&&(this.q="",this.state=O.DOCTYPE);continue;case O.DOCTYPE_DTD:this.doctype+=n,"]"===n?this.state=O.DOCTYPE:y(n)&&(this.state=O.DOCTYPE_DTD_QUOTED,this.q=n);continue;case O.DOCTYPE_DTD_QUOTED:this.doctype+=n,n===this.q&&(this.state=O.DOCTYPE_DTD,this.q="");continue;case O.COMMENT:"-"===n?this.state=O.COMMENT_ENDING:this.comment+=n;continue;case O.COMMENT_ENDING:"-"===n?(this.state=O.COMMENT_ENDED,this.comment=k(this.opt,this.comment),this.comment&&E(this,"oncomment",this.comment),this.comment=""):(this.comment+="-"+n,this.state=O.COMMENT);continue;case O.COMMENT_ENDED:">"!==n?(A(this,"Malformed comment"),this.comment+="--"+n,this.state=O.COMMENT):this.state=O.TEXT;continue;case O.CDATA:"]"===n?this.state=O.CDATA_ENDING:this.cdata+=n;continue;case O.CDATA_ENDING:"]"===n?this.state=O.CDATA_ENDING_2:(this.cdata+="]"+n,this.state=O.CDATA);continue;case O.CDATA_ENDING_2:">"===n?(this.cdata&&E(this,"oncdata",this.cdata),E(this,"onclosecdata"),this.cdata="",this.state=O.TEXT):"]"===n?this.cdata+="]":(this.cdata+="]]"+n,this.state=O.CDATA);continue;case O.PROC_INST:"?"===n?this.state=O.PROC_INST_ENDING:h(n)?this.state=O.PROC_INST_BODY:this.procInstName+=n;continue;case O.PROC_INST_BODY:if(!this.procInstBody&&h(n))continue;"?"===n?this.state=O.PROC_INST_ENDING:this.procInstBody+=n;continue;case O.PROC_INST_ENDING:">"===n?(E(this,"onprocessinginstruction",{name:this.procInstName,body:this.procInstBody}),this.procInstName=this.procInstBody="",this.state=O.TEXT):(this.procInstBody+="?"+n,this.state=O.PROC_INST_BODY);continue;case O.OPEN_TAG:m(f,n)?this.tagName+=n:(C(this),">"===n?I(this):"/"===n?this.state=O.OPEN_TAG_SLASH:(h(n)||A(this,"Invalid character in tag name"),this.state=O.ATTRIB));continue;case O.OPEN_TAG_SLASH:">"===n?(I(this,!0),N(this)):(A(this,"Forward-slash in opening tag not followed by >"),this.state=O.ATTRIB);continue;case O.ATTRIB:if(h(n))continue;">"===n?I(this):"/"===n?this.state=O.OPEN_TAG_SLASH:m(l,n)?(this.attribName=n,this.attribValue="",this.state=O.ATTRIB_NAME):A(this,"Invalid attribute name");continue;case O.ATTRIB_NAME:"="===n?this.state=O.ATTRIB_VALUE:">"===n?(A(this,"Attribute without value"),this.attribValue=this.attribName,R(this),I(this)):h(n)?this.state=O.ATTRIB_NAME_SAW_WHITE:m(f,n)?this.attribName+=n:A(this,"Invalid attribute name");continue;case O.ATTRIB_NAME_SAW_WHITE:if("="===n)this.state=O.ATTRIB_VALUE;else{if(h(n))continue;A(this,"Attribute without value"),this.tag.attributes[this.attribName]="",this.attribValue="",E(this,"onattribute",{name:this.attribName,value:""}),this.attribName="",">"===n?I(this):m(l,n)?(this.attribName=n,this.state=O.ATTRIB_NAME):(A(this,"Invalid attribute name"),this.state=O.ATTRIB)}continue;case O.ATTRIB_VALUE:if(h(n))continue;y(n)?(this.q=n,this.state=O.ATTRIB_VALUE_QUOTED):(A(this,"Unquoted attribute value"),this.state=O.ATTRIB_VALUE_UNQUOTED,this.attribValue=n);continue;case O.ATTRIB_VALUE_QUOTED:if(n!==this.q){"&"===n?this.state=O.ATTRIB_VALUE_ENTITY_Q:this.attribValue+=n;continue}R(this),this.q="",this.state=O.ATTRIB_VALUE_CLOSED;continue;case O.ATTRIB_VALUE_CLOSED:h(n)?this.state=O.ATTRIB:">"===n?I(this):"/"===n?this.state=O.OPEN_TAG_SLASH:m(l,n)?(A(this,"No whitespace between attributes"),this.attribName=n,this.attribValue="",this.state=O.ATTRIB_NAME):A(this,"Invalid attribute name");continue;case O.ATTRIB_VALUE_UNQUOTED:if(!v(n)){"&"===n?this.state=O.ATTRIB_VALUE_ENTITY_U:this.attribValue+=n;continue}R(this),">"===n?I(this):this.state=O.ATTRIB;continue;case O.CLOSE_TAG:if(this.tagName)">"===n?N(this):m(f,n)?this.tagName+=n:this.script?(this.script+="</"+this.tagName,this.tagName="",this.state=O.SCRIPT):(h(n)||A(this,"Invalid tagname in closing tag"),this.state=O.CLOSE_TAG_SAW_WHITE);else{if(h(n))continue;b(l,n)?this.script?(this.script+="</"+n,this.state=O.SCRIPT):A(this,"Invalid tagname in closing tag."):this.tagName=n}continue;case O.CLOSE_TAG_SAW_WHITE:if(h(n))continue;">"===n?N(this):A(this,"Invalid characters in closing tag");continue;case O.TEXT_ENTITY:case O.ATTRIB_VALUE_ENTITY_Q:case O.ATTRIB_VALUE_ENTITY_U:var u,s;switch(this.state){case O.TEXT_ENTITY:u=O.TEXT,s="textNode";break;case O.ATTRIB_VALUE_ENTITY_Q:u=O.ATTRIB_VALUE_QUOTED,s="attribValue";break;case O.ATTRIB_VALUE_ENTITY_U:u=O.ATTRIB_VALUE_UNQUOTED,s="attribValue"}";"===n?(this[s]+=M(this),this.entity="",this.state=u):m(this.entity.length?d:p,n)?this.entity+=n:(A(this,"Invalid character in entity name"),this[s]+="&"+this.entity+n,this.entity="",this.state=u);continue;default:throw new Error(this,"Unknown state: "+this.state)}this.position>=this.bufferCheckPosition&&function(e){for(var r=Math.max(t.MAX_BUFFER_LENGTH,10),n=0,i=0,a=o.length;i<a;i++){var u=e[o[i]].length;if(u>r)switch(o[i]){case"textNode":P(e);break;case"cdata":E(e,"oncdata",e.cdata),e.cdata="";break;case"script":E(e,"onscript",e.script),e.script="";break;default:j(e,"Max buffer length exceeded: "+o[i])}n=Math.max(n,u)}var s=t.MAX_BUFFER_LENGTH-n;e.bufferCheckPosition=s+e.position}(this);return this}
30
+ /*! http://mths.be/fromcodepoint v0.1.0 by @mathias */,resume:function(){return this.error=null,this},close:function(){return this.write(null)},flush:function(){var e;P(e=this),""!==e.cdata&&(E(e,"oncdata",e.cdata),e.cdata=""),""!==e.script&&(E(e,"onscript",e.script),e.script="")}};try{n=r(665).Stream}catch(e){n=function(){}}var a=t.EVENTS.filter((function(e){return"error"!==e&&"end"!==e}));function u(e,t){if(!(this instanceof u))return new u(e,t);n.apply(this),this._parser=new i(e,t),this.writable=!0,this.readable=!0;var r=this;this._parser.onend=function(){r.emit("end")},this._parser.onerror=function(e){r.emit("error",e),r._parser.error=null},this._decoder=null,a.forEach((function(e){Object.defineProperty(r,"on"+e,{get:function(){return r._parser["on"+e]},set:function(t){if(!t)return r.removeAllListeners(e),r._parser["on"+e]=t,t;r.on(e,t)},enumerable:!0,configurable:!1})}))}u.prototype=Object.create(n.prototype,{constructor:{value:u}}),u.prototype.write=function(t){if("function"==typeof e&&"function"==typeof e.isBuffer&&e.isBuffer(t)){if(!this._decoder){var n=r(237).StringDecoder;this._decoder=new n("utf8")}t=this._decoder.write(t)}return this._parser.write(t.toString()),this.emit("data",t),!0},u.prototype.end=function(e){return e&&e.length&&this.write(e),this._parser.end(),!0},u.prototype.on=function(e,t){var r=this;return r._parser["on"+e]||-1===a.indexOf(e)||(r._parser["on"+e]=function(){var t=1===arguments.length?[arguments[0]]:Array.apply(null,arguments);t.splice(0,0,e),r.emit.apply(r,t)}),n.prototype.on.call(r,e,t)};var s="http://www.w3.org/XML/1998/namespace",c={xml:s,xmlns:"http://www.w3.org/2000/xmlns/"},l=/[:_A-Za-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD]/,f=/[:_A-Za-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\u00B7\u0300-\u036F\u203F-\u2040.\d-]/,p=/[#:_A-Za-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD]/,d=/[#:_A-Za-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\u00B7\u0300-\u036F\u203F-\u2040.\d-]/;function h(e){return" "===e||"\n"===e||"\r"===e||"\t"===e}function y(e){return'"'===e||"'"===e}function v(e){return">"===e||h(e)}function m(e,t){return e.test(t)}function b(e,t){return!m(e,t)}var g,w,S,O=0;for(var _ in t.STATE={BEGIN:O++,BEGIN_WHITESPACE:O++,TEXT:O++,TEXT_ENTITY:O++,OPEN_WAKA:O++,SGML_DECL:O++,SGML_DECL_QUOTED:O++,DOCTYPE:O++,DOCTYPE_QUOTED:O++,DOCTYPE_DTD:O++,DOCTYPE_DTD_QUOTED:O++,COMMENT_STARTING:O++,COMMENT:O++,COMMENT_ENDING:O++,COMMENT_ENDED:O++,CDATA:O++,CDATA_ENDING:O++,CDATA_ENDING_2:O++,PROC_INST:O++,PROC_INST_BODY:O++,PROC_INST_ENDING:O++,OPEN_TAG:O++,OPEN_TAG_SLASH:O++,ATTRIB:O++,ATTRIB_NAME:O++,ATTRIB_NAME_SAW_WHITE:O++,ATTRIB_VALUE:O++,ATTRIB_VALUE_QUOTED:O++,ATTRIB_VALUE_CLOSED:O++,ATTRIB_VALUE_UNQUOTED:O++,ATTRIB_VALUE_ENTITY_Q:O++,ATTRIB_VALUE_ENTITY_U:O++,CLOSE_TAG:O++,CLOSE_TAG_SAW_WHITE:O++,SCRIPT:O++,SCRIPT_ENDING:O++},t.XML_ENTITIES={amp:"&",gt:">",lt:"<",quot:'"',apos:"'"},t.ENTITIES={amp:"&",gt:">",lt:"<",quot:'"',apos:"'",AElig:198,Aacute:193,Acirc:194,Agrave:192,Aring:197,Atilde:195,Auml:196,Ccedil:199,ETH:208,Eacute:201,Ecirc:202,Egrave:200,Euml:203,Iacute:205,Icirc:206,Igrave:204,Iuml:207,Ntilde:209,Oacute:211,Ocirc:212,Ograve:210,Oslash:216,Otilde:213,Ouml:214,THORN:222,Uacute:218,Ucirc:219,Ugrave:217,Uuml:220,Yacute:221,aacute:225,acirc:226,aelig:230,agrave:224,aring:229,atilde:227,auml:228,ccedil:231,eacute:233,ecirc:234,egrave:232,eth:240,euml:235,iacute:237,icirc:238,igrave:236,iuml:239,ntilde:241,oacute:243,ocirc:244,ograve:242,oslash:248,otilde:245,ouml:246,szlig:223,thorn:254,uacute:250,ucirc:251,ugrave:249,uuml:252,yacute:253,yuml:255,copy:169,reg:174,nbsp:160,iexcl:161,cent:162,pound:163,curren:164,yen:165,brvbar:166,sect:167,uml:168,ordf:170,laquo:171,not:172,shy:173,macr:175,deg:176,plusmn:177,sup1:185,sup2:178,sup3:179,acute:180,micro:181,para:182,middot:183,cedil:184,ordm:186,raquo:187,frac14:188,frac12:189,frac34:190,iquest:191,times:215,divide:247,OElig:338,oelig:339,Scaron:352,scaron:353,Yuml:376,fnof:402,circ:710,tilde:732,Alpha:913,Beta:914,Gamma:915,Delta:916,Epsilon:917,Zeta:918,Eta:919,Theta:920,Iota:921,Kappa:922,Lambda:923,Mu:924,Nu:925,Xi:926,Omicron:927,Pi:928,Rho:929,Sigma:931,Tau:932,Upsilon:933,Phi:934,Chi:935,Psi:936,Omega:937,alpha:945,beta:946,gamma:947,delta:948,epsilon:949,zeta:950,eta:951,theta:952,iota:953,kappa:954,lambda:955,mu:956,nu:957,xi:958,omicron:959,pi:960,rho:961,sigmaf:962,sigma:963,tau:964,upsilon:965,phi:966,chi:967,psi:968,omega:969,thetasym:977,upsih:978,piv:982,ensp:8194,emsp:8195,thinsp:8201,zwnj:8204,zwj:8205,lrm:8206,rlm:8207,ndash:8211,mdash:8212,lsquo:8216,rsquo:8217,sbquo:8218,ldquo:8220,rdquo:8221,bdquo:8222,dagger:8224,Dagger:8225,bull:8226,hellip:8230,permil:8240,prime:8242,Prime:8243,lsaquo:8249,rsaquo:8250,oline:8254,frasl:8260,euro:8364,image:8465,weierp:8472,real:8476,trade:8482,alefsym:8501,larr:8592,uarr:8593,rarr:8594,darr:8595,harr:8596,crarr:8629,lArr:8656,uArr:8657,rArr:8658,dArr:8659,hArr:8660,forall:8704,part:8706,exist:8707,empty:8709,nabla:8711,isin:8712,notin:8713,ni:8715,prod:8719,sum:8721,minus:8722,lowast:8727,radic:8730,prop:8733,infin:8734,ang:8736,and:8743,or:8744,cap:8745,cup:8746,int:8747,there4:8756,sim:8764,cong:8773,asymp:8776,ne:8800,equiv:8801,le:8804,ge:8805,sub:8834,sup:8835,nsub:8836,sube:8838,supe:8839,oplus:8853,otimes:8855,perp:8869,sdot:8901,lceil:8968,rceil:8969,lfloor:8970,rfloor:8971,lang:9001,rang:9002,loz:9674,spades:9824,clubs:9827,hearts:9829,diams:9830},Object.keys(t.ENTITIES).forEach((function(e){var r=t.ENTITIES[e],n="number"==typeof r?String.fromCharCode(r):r;t.ENTITIES[e]=n})),t.STATE)t.STATE[t.STATE[_]]=_;function x(e,t,r){e[t]&&e[t](r)}function E(e,t,r){e.textNode&&P(e),x(e,t,r)}function P(e){e.textNode=k(e.opt,e.textNode),e.textNode&&x(e,"ontext",e.textNode),e.textNode=""}function k(e,t){return e.trim&&(t=t.trim()),e.normalize&&(t=t.replace(/\s+/g," ")),t}function j(e,t){return P(e),e.trackPosition&&(t+="\nLine: "+e.line+"\nColumn: "+e.column+"\nChar: "+e.c),t=new Error(t),e.error=t,x(e,"onerror",t),e}function T(e){return e.sawRoot&&!e.closedRoot&&A(e,"Unclosed root tag"),e.state!==O.BEGIN&&e.state!==O.BEGIN_WHITESPACE&&e.state!==O.TEXT&&j(e,"Unexpected end"),P(e),e.c="",e.closed=!0,x(e,"onend"),i.call(e,e.strict,e.opt),e}function A(e,t){if("object"!=typeof e||!(e instanceof i))throw new Error("bad call to strictFail");e.strict&&j(e,t)}function C(e){e.strict||(e.tagName=e.tagName[e.looseCase]());var t=e.tags[e.tags.length-1]||e,r=e.tag={name:e.tagName,attributes:{}};e.opt.xmlns&&(r.ns=t.ns),e.attribList.length=0,E(e,"onopentagstart",r)}function L(e,t){var r=e.indexOf(":")<0?["",e]:e.split(":"),n=r[0],o=r[1];return t&&"xmlns"===e&&(n="xmlns",o=""),{prefix:n,local:o}}function R(e){if(e.strict||(e.attribName=e.attribName[e.looseCase]()),-1!==e.attribList.indexOf(e.attribName)||e.tag.attributes.hasOwnProperty(e.attribName))e.attribName=e.attribValue="";else{if(e.opt.xmlns){var t=L(e.attribName,!0),r=t.prefix,n=t.local;if("xmlns"===r)if("xml"===n&&e.attribValue!==s)A(e,"xml: prefix must be bound to "+s+"\nActual: "+e.attribValue);else if("xmlns"===n&&"http://www.w3.org/2000/xmlns/"!==e.attribValue)A(e,"xmlns: prefix must be bound to http://www.w3.org/2000/xmlns/\nActual: "+e.attribValue);else{var o=e.tag,i=e.tags[e.tags.length-1]||e;o.ns===i.ns&&(o.ns=Object.create(i.ns)),o.ns[n]=e.attribValue}e.attribList.push([e.attribName,e.attribValue])}else e.tag.attributes[e.attribName]=e.attribValue,E(e,"onattribute",{name:e.attribName,value:e.attribValue});e.attribName=e.attribValue=""}}function I(e,t){if(e.opt.xmlns){var r=e.tag,n=L(e.tagName);r.prefix=n.prefix,r.local=n.local,r.uri=r.ns[n.prefix]||"",r.prefix&&!r.uri&&(A(e,"Unbound namespace prefix: "+JSON.stringify(e.tagName)),r.uri=n.prefix);var o=e.tags[e.tags.length-1]||e;r.ns&&o.ns!==r.ns&&Object.keys(r.ns).forEach((function(t){E(e,"onopennamespace",{prefix:t,uri:r.ns[t]})}));for(var i=0,a=e.attribList.length;i<a;i++){var u=e.attribList[i],s=u[0],c=u[1],l=L(s,!0),f=l.prefix,p=l.local,d=""===f?"":r.ns[f]||"",h={name:s,value:c,prefix:f,local:p,uri:d};f&&"xmlns"!==f&&!d&&(A(e,"Unbound namespace prefix: "+JSON.stringify(f)),h.uri=f),e.tag.attributes[s]=h,E(e,"onattribute",h)}e.attribList.length=0}e.tag.isSelfClosing=!!t,e.sawRoot=!0,e.tags.push(e.tag),E(e,"onopentag",e.tag),t||(e.noscript||"script"!==e.tagName.toLowerCase()?e.state=O.TEXT:e.state=O.SCRIPT,e.tag=null,e.tagName=""),e.attribName=e.attribValue="",e.attribList.length=0}function N(e){if(!e.tagName)return A(e,"Weird empty close tag."),e.textNode+="</>",void(e.state=O.TEXT);if(e.script){if("script"!==e.tagName)return e.script+="</"+e.tagName+">",e.tagName="",void(e.state=O.SCRIPT);E(e,"onscript",e.script),e.script=""}var t=e.tags.length,r=e.tagName;e.strict||(r=r[e.looseCase]());for(var n=r;t--;){if(e.tags[t].name===n)break;A(e,"Unexpected close tag")}if(t<0)return A(e,"Unmatched closing tag: "+e.tagName),e.textNode+="</"+e.tagName+">",void(e.state=O.TEXT);e.tagName=r;for(var o=e.tags.length;o-- >t;){var i=e.tag=e.tags.pop();e.tagName=e.tag.name,E(e,"onclosetag",e.tagName);var a={};for(var u in i.ns)a[u]=i.ns[u];var s=e.tags[e.tags.length-1]||e;e.opt.xmlns&&i.ns!==s.ns&&Object.keys(i.ns).forEach((function(t){var r=i.ns[t];E(e,"onclosenamespace",{prefix:t,uri:r})}))}0===t&&(e.closedRoot=!0),e.tagName=e.attribValue=e.attribName="",e.attribList.length=0,e.state=O.TEXT}function M(e){var t,r=e.entity,n=r.toLowerCase(),o="";return e.ENTITIES[r]?e.ENTITIES[r]:e.ENTITIES[n]?e.ENTITIES[n]:("#"===(r=n).charAt(0)&&("x"===r.charAt(1)?(r=r.slice(2),o=(t=parseInt(r,16)).toString(16)):(r=r.slice(1),o=(t=parseInt(r,10)).toString(10))),r=r.replace(/^0+/,""),isNaN(t)||o.toLowerCase()!==r?(A(e,"Invalid character entity"),"&"+e.entity+";"):String.fromCodePoint(t))}function D(e,t){"<"===t?(e.state=O.OPEN_WAKA,e.startTagPosition=e.position):h(t)||(A(e,"Non-whitespace before first tag."),e.textNode=t,e.state=O.TEXT)}function U(e,t){var r="";return t<e.length&&(r=e.charAt(t)),r}O=t.STATE,String.fromCodePoint||(g=String.fromCharCode,w=Math.floor,S=function(){var e,t,r=16384,n=[],o=-1,i=arguments.length;if(!i)return"";for(var a="";++o<i;){var u=Number(arguments[o]);if(!isFinite(u)||u<0||u>1114111||w(u)!==u)throw RangeError("Invalid code point: "+u);u<=65535?n.push(u):(e=55296+((u-=65536)>>10),t=u%1024+56320,n.push(e,t)),(o+1===i||n.length>r)&&(a+=g.apply(null,n),n.length=0)}return a},Object.defineProperty?Object.defineProperty(String,"fromCodePoint",{value:S,configurable:!0,writable:!0}):String.fromCodePoint=S)}(t)}).call(this,r(139).Buffer)},function(e,t,r){"use strict";t.byteLength=function(e){var t=c(e),r=t[0],n=t[1];return 3*(r+n)/4-n},t.toByteArray=function(e){var t,r,n=c(e),a=n[0],u=n[1],s=new i(function(e,t,r){return 3*(t+r)/4-r}(0,a,u)),l=0,f=u>0?a-4:a;for(r=0;r<f;r+=4)t=o[e.charCodeAt(r)]<<18|o[e.charCodeAt(r+1)]<<12|o[e.charCodeAt(r+2)]<<6|o[e.charCodeAt(r+3)],s[l++]=t>>16&255,s[l++]=t>>8&255,s[l++]=255&t;2===u&&(t=o[e.charCodeAt(r)]<<2|o[e.charCodeAt(r+1)]>>4,s[l++]=255&t);1===u&&(t=o[e.charCodeAt(r)]<<10|o[e.charCodeAt(r+1)]<<4|o[e.charCodeAt(r+2)]>>2,s[l++]=t>>8&255,s[l++]=255&t);return s},t.fromByteArray=function(e){for(var t,r=e.length,o=r%3,i=[],a=0,u=r-o;a<u;a+=16383)i.push(l(e,a,a+16383>u?u:a+16383));1===o?(t=e[r-1],i.push(n[t>>2]+n[t<<4&63]+"==")):2===o&&(t=(e[r-2]<<8)+e[r-1],i.push(n[t>>10]+n[t>>4&63]+n[t<<2&63]+"="));return i.join("")};for(var n=[],o=[],i="undefined"!=typeof Uint8Array?Uint8Array:Array,a="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",u=0,s=a.length;u<s;++u)n[u]=a[u],o[a.charCodeAt(u)]=u;function c(e){var t=e.length;if(t%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var r=e.indexOf("=");return-1===r&&(r=t),[r,r===t?0:4-r%4]}function l(e,t,r){for(var o,i,a=[],u=t;u<r;u+=3)o=(e[u]<<16&16711680)+(e[u+1]<<8&65280)+(255&e[u+2]),a.push(n[(i=o)>>18&63]+n[i>>12&63]+n[i>>6&63]+n[63&i]);return a.join("")}o["-".charCodeAt(0)]=62,o["_".charCodeAt(0)]=63},function(e,t){
31
+ /*! ieee754. BSD-3-Clause License. Feross Aboukhadijeh <https://feross.org/opensource> */
32
+ t.read=function(e,t,r,n,o){var i,a,u=8*o-n-1,s=(1<<u)-1,c=s>>1,l=-7,f=r?o-1:0,p=r?-1:1,d=e[t+f];for(f+=p,i=d&(1<<-l)-1,d>>=-l,l+=u;l>0;i=256*i+e[t+f],f+=p,l-=8);for(a=i&(1<<-l)-1,i>>=-l,l+=n;l>0;a=256*a+e[t+f],f+=p,l-=8);if(0===i)i=1-c;else{if(i===s)return a?NaN:1/0*(d?-1:1);a+=Math.pow(2,n),i-=c}return(d?-1:1)*a*Math.pow(2,i-n)},t.write=function(e,t,r,n,o,i){var a,u,s,c=8*i-o-1,l=(1<<c)-1,f=l>>1,p=23===o?Math.pow(2,-24)-Math.pow(2,-77):0,d=n?0:i-1,h=n?1:-1,y=t<0||0===t&&1/t<0?1:0;for(t=Math.abs(t),isNaN(t)||t===1/0?(u=isNaN(t)?1:0,a=l):(a=Math.floor(Math.log(t)/Math.LN2),t*(s=Math.pow(2,-a))<1&&(a--,s*=2),(t+=a+f>=1?p/s:p*Math.pow(2,1-f))*s>=2&&(a++,s/=2),a+f>=l?(u=0,a=l):a+f>=1?(u=(t*s-1)*Math.pow(2,o),a+=f):(u=t*Math.pow(2,f-1)*Math.pow(2,o),a=0));o>=8;e[r+d]=255&u,d+=h,u/=256,o-=8);for(a=a<<o|u,c+=o;c>0;e[r+d]=255&a,d+=h,a/=256,c-=8);e[r+d-h]|=128*y}},function(e,t,r){e.exports=o;var n=r(233).EventEmitter;function o(){n.call(this)}r(113)(o,n),o.Readable=r(234),o.Writable=r(672),o.Duplex=r(673),o.Transform=r(674),o.PassThrough=r(675),o.Stream=o,o.prototype.pipe=function(e,t){var r=this;function o(t){e.writable&&!1===e.write(t)&&r.pause&&r.pause()}function i(){r.readable&&r.resume&&r.resume()}r.on("data",o),e.on("drain",i),e._isStdio||t&&!1===t.end||(r.on("end",u),r.on("close",s));var a=!1;function u(){a||(a=!0,e.end())}function s(){a||(a=!0,"function"==typeof e.destroy&&e.destroy())}function c(e){if(l(),0===n.listenerCount(this,"error"))throw e}function l(){r.removeListener("data",o),e.removeListener("drain",i),r.removeListener("end",u),r.removeListener("close",s),r.removeListener("error",c),e.removeListener("error",c),r.removeListener("end",l),r.removeListener("close",l),e.removeListener("close",l)}return r.on("error",c),e.on("error",c),r.on("end",l),r.on("close",l),e.on("close",l),e.emit("pipe",r),e}},function(e,t){},function(e,t,r){"use strict";var n=r(235).Buffer,o=r(668);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,r=""+t.data;t=t.next;)r+=e+t.data;return r},e.prototype.concat=function(e){if(0===this.length)return n.alloc(0);if(1===this.length)return this.head.data;for(var t,r,o,i=n.allocUnsafe(e>>>0),a=this.head,u=0;a;)t=a.data,r=i,o=u,t.copy(r,o),u+=a.data.length,a=a.next;return i},e}(),o&&o.inspect&&o.inspect.custom&&(e.exports.prototype[o.inspect.custom]=function(){var e=o.inspect({length:this.length});return this.constructor.name+" "+e})},function(e,t){},function(e,t,r){(function(t){function r(e){try{if(!t.localStorage)return!1}catch(e){return!1}var r=t.localStorage[e];return null!=r&&"true"===String(r).toLowerCase()}e.exports=function(e,t){if(r("noDeprecation"))return e;var n=!1;return function(){if(!n){if(r("throwDeprecation"))throw new Error(t);r("traceDeprecation")?console.trace(t):console.warn(t),n=!0}return e.apply(this,arguments)}}}).call(this,r(51))},function(e,t,r){
33
+ /*! safe-buffer. MIT License. Feross Aboukhadijeh <https://feross.org/opensource> */
34
+ var n=r(139),o=n.Buffer;function i(e,t){for(var r in e)t[r]=e[r]}function a(e,t,r){return o(e,t,r)}o.from&&o.alloc&&o.allocUnsafe&&o.allocUnsafeSlow?e.exports=n:(i(n,t),t.Buffer=a),a.prototype=Object.create(o.prototype),i(o,a),a.from=function(e,t,r){if("number"==typeof e)throw new TypeError("Argument must not be a number");return o(e,t,r)},a.alloc=function(e,t,r){if("number"!=typeof e)throw new TypeError("Argument must be a number");var n=o(e);return void 0!==t?"string"==typeof r?n.fill(t,r):n.fill(t):n.fill(0),n},a.allocUnsafe=function(e){if("number"!=typeof e)throw new TypeError("Argument must be a number");return o(e)},a.allocUnsafeSlow=function(e){if("number"!=typeof e)throw new TypeError("Argument must be a number");return n.SlowBuffer(e)}},function(e,t,r){"use strict";e.exports=i;var n=r(386),o=Object.create(r(140));function i(e){if(!(this instanceof i))return new i(e);n.call(this,e)}o.inherits=r(113),o.inherits(i,n),i.prototype._transform=function(e,t,r){r(null,e)}},function(e,t,r){e.exports=r(236)},function(e,t,r){e.exports=r(96)},function(e,t,r){e.exports=r(234).Transform},function(e,t,r){e.exports=r(234).PassThrough},function(e,t,r){var n=r(238),o=r(381);e.exports=function(e,t){var r,i,a;return r=function(e){var t=n.copyOptions(e);return n.ensureSpacesExists(t),t}(t),i=o(e,r),a="compact"in r&&r.compact?"_parent":"parent",("addParent"in r&&r.addParent?JSON.stringify(i,(function(e,t){return e===a?"_":t}),r.spaces):JSON.stringify(i,null,r.spaces)).replace(/\u2028/g,"\\u2028").replace(/\u2029/g,"\\u2029")}},function(e,t,r){(function(t){var n=r(387);e.exports=function(e,r){e instanceof t&&(e=e.toString());var o=null;if("string"==typeof e)try{o=JSON.parse(e)}catch(e){throw new Error("The JSON structure is invalid")}else o=e;return n(o,r)}}).call(this,r(139).Buffer)},function(e,t,r){"use strict";const n=r(679),o=r(680),i=r(683),a=r(694),u=r(697),s=r(700).Parser,c=r(70).DomHandler,l=r(405),f=r(410),p=r(407);e.exports=function(e){function t(t,r,l,f){const d=function(t){(e=e||{}).decodeEntities=!0;const r=new c;return new s(r,e).parseComplete(t),r.dom.filter((function(e){return"directive"!==e.type}))}(t).map((function(e,t){return function e(t,r,s,c,l){if(r(t)){n((function(e){e.shouldPreprocessNode(t)&&e.preprocessNode(t,l)}),c||[]);const f=o((function(e){return e.shouldProcessNode(t)}),s||[]);if(null!=f){const n=i((function(e){return null==e||!1===e}),a(u)((function(t,n){return e(t,r,s,c,n)}),t.children||[]));return f.replaceChildren?p.createElement(t,l,t.data,[f.processNode(t,n,l)]):f.processNode(t,n,l)}return!1}return!1}(e,r,l,f,t)}));return d.length<=1?d[0]:d}return{parse:function(e){const r=new l;return t(e,f.alwaysValid,r.defaultProcessingInstructions)},parseWithInstructions:t}}},function(e,t,r){var n=r(389),o=r(42)(n("forEach",(function(e,t){for(var r=t.length,n=0;n<r;)e(t[n]),n+=1;return t})));e.exports=o},function(e,t,r){var n=r(42)(r(185)(["find"],r(682),(function(e,t){for(var r=0,n=t.length;r<n;){if(e(t[r]))return t[r];r+=1}})));e.exports=n},function(e,t){e.exports=function(e){return null!=e&&"function"==typeof e["@@transducer/step"]}},function(e,t,r){var n=r(42),o=r(390),i=r(186),a=function(){function e(e,t){this.xf=t,this.f=e,this.found=!1}return e.prototype["@@transducer/init"]=i.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=o(this.xf["@@transducer/step"](e,t))),e},e}(),u=n((function(e,t){return new a(e,t)}));e.exports=u},function(e,t,r){var n=r(684),o=r(42),i=r(685),a=o((function(e,t){return i(n(e),t)}));e.exports=a},function(e,t){e.exports=function(e){return function(){return!e.apply(this,arguments)}}},function(e,t,r){var n=r(42),o=r(185),i=r(686),a=r(687),u=r(241),s=r(692),c=r(243),l=n(o(["fantasy-land/filter","filter"],s,(function(e,t){return a(t)?u((function(r,n){return e(t[n])&&(r[n]=t[n]),r}),{},c(t)):i(e,t)})));e.exports=l},function(e,t){e.exports=function(e,t){for(var r=0,n=t.length,o=[];r<n;)e(t[r])&&(o[o.length]=t[r]),r+=1;return o}},function(e,t){e.exports=function(e){return"[object Object]"===Object.prototype.toString.call(e)}},function(e,t,r){var n=r(82),o=r(240),i=r(689),a=n((function(e){return!!o(e)||!!e&&("object"==typeof e&&(!i(e)&&(0===e.length||e.length>0&&(e.hasOwnProperty(0)&&e.hasOwnProperty(e.length-1)))))}));e.exports=a},function(e,t){e.exports=function(e){return"[object String]"===Object.prototype.toString.call(e)}},function(e,t){var r=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 r(e)}},function(e,t,r){var n=r(242),o=r(42)((function(e,t){return n(e.length,(function(){return e.apply(t,arguments)}))}));e.exports=o},function(e,t,r){var n=r(42),o=r(186),i=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):e},e}(),a=n((function(e,t){return new i(e,t)}));e.exports=a},function(e,t,r){var n=r(187),o=Object.prototype.toString,i=function(){return"[object Arguments]"===o.call(arguments)?function(e){return"[object Arguments]"===o.call(e)}:function(e){return n("callee",e)}}();e.exports=i},function(e,t,r){var n=r(695),o=r(82),i=r(391),a=o((function(e){return i(e.length,(function(){var t=0,r=arguments[0],o=arguments[arguments.length-1],i=Array.prototype.slice.call(arguments,0);return i[0]=function(){var e=r.apply(this,n(arguments,[t,o]));return t+=1,e},e.apply(this,i)}))}));e.exports=a},function(e,t){e.exports=function(e,t){var r;t=t||[];var n=(e=e||[]).length,o=t.length,i=[];for(r=0;r<n;)i[i.length]=e[r],r+=1;for(r=0;r<o;)i[i.length]=t[r],r+=1;return i}},function(e,t,r){var n=r(242),o=r(184);e.exports=function e(t,r,i){return function(){for(var a=[],u=0,s=t,c=0;c<r.length||u<arguments.length;){var l;c<r.length&&(!o(r[c])||u>=arguments.length)?l=r[c]:(l=arguments[u],u+=1),a[c]=l,o(l)||(s-=1),c+=1}return s<=0?i.apply(this,a):n(s,e(t,a,i))}}},function(e,t,r){var n=r(42),o=r(185),i=r(698),a=r(241),u=r(699),s=r(391),c=r(243),l=n(o(["fantasy-land/map","map"],u,(function(e,t){switch(Object.prototype.toString.call(t)){case"[object Function]":return s(t.length,(function(){return e.call(this,t.apply(this,arguments))}));case"[object Object]":return a((function(r,n){return r[n]=e(t[n]),r}),{},c(t));default:return i(e,t)}})));e.exports=l},function(e,t){e.exports=function(e,t){for(var r=0,n=t.length,o=Array(n);r<n;)o[r]=e(t[r]),r+=1;return o}},function(e,t,r){var n=r(42),o=r(186),i=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.xf["@@transducer/step"](e,this.f(t))},e}(),a=n((function(e,t){return new i(e,t)}));e.exports=a},function(e,t,r){"use strict";var n=this&&this.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r),Object.defineProperty(e,n,{enumerable:!0,get:function(){return t[r]}})}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]}),o=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),i=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)"default"!==r&&Object.prototype.hasOwnProperty.call(e,r)&&n(t,e,r);return o(t,e),t},a=this&&this.__exportStar||function(e,t){for(var r in e)"default"===r||Object.prototype.hasOwnProperty.call(t,r)||n(t,e,r)},u=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.RssHandler=t.DefaultHandler=t.DomUtils=t.ElementType=t.Tokenizer=t.createDomStream=t.parseDOM=t.parseDocument=t.DomHandler=t.Parser=void 0;var s=r(392);Object.defineProperty(t,"Parser",{enumerable:!0,get:function(){return s.Parser}});var c=r(70);function l(e,t){var r=new c.DomHandler(void 0,t);return new s.Parser(r,t).end(e),r.root}Object.defineProperty(t,"DomHandler",{enumerable:!0,get:function(){return c.DomHandler}}),Object.defineProperty(t,"DefaultHandler",{enumerable:!0,get:function(){return c.DomHandler}}),t.parseDocument=l,t.parseDOM=function(e,t){return l(e,t).children},t.createDomStream=function(e,t,r){var n=new c.DomHandler(e,t,r);return new s.Parser(n,t)};var f=r(393);Object.defineProperty(t,"Tokenizer",{enumerable:!0,get:function(){return u(f).default}});var p=i(r(141));t.ElementType=p,a(r(396),t),t.DomUtils=i(r(397));var d=r(396);Object.defineProperty(t,"RssHandler",{enumerable:!0,get:function(){return d.FeedHandler}})},function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.decodeXML=t.decodeHTMLStrict=t.decodeHTML=t.determineBranch=t.JUMP_OFFSET_BASE=t.BinTrieFlags=t.xmlDecodeTree=t.htmlDecodeTree=void 0;var o=n(r(702));t.htmlDecodeTree=o.default;var i=n(r(703));t.xmlDecodeTree=i.default;var a,u=n(r(394));function s(e){return function(t,r){for(var n="",o=0,i=0;(i=t.indexOf("&",i))>=0;)if(n+=t.slice(o,i),o=i,i+=1,35!==t.charCodeAt(i)){for(var s=null,l=1,f=0,p=e[f];i<t.length&&!((f=c(e,p,f+1,t.charCodeAt(i)))<0);i++,l++)(p=e[f])&a.HAS_VALUE&&(r&&59!==t.charCodeAt(i)?f+=1:(s=p&a.MULTI_BYTE?String.fromCharCode(e[++f],e[++f]):String.fromCharCode(e[++f]),l=0));null!=s&&(n+=s,o=i-l+1)}else{var d=i+1,h=10,y=t.charCodeAt(d);for(120==(32|y)&&(h=16,i+=1,d+=1);(y=t.charCodeAt(++i))>=48&&y<=57||16===h&&(32|y)>=97&&(32|y)<=102;);if(d!==i){var v=t.substring(d,i),m=parseInt(v,h);if(59===t.charCodeAt(i))i+=1;else if(r)continue;n+=u.default(m),o=i}}return n+t.slice(o)}}function c(e,r,n,o){if(r<=128)return o===r?n:-1;var i=(r&a.BRANCH_LENGTH)>>8;if(0===i)return-1;if(1===i)return o===e[n]?n+1:-1;var u=r&a.JUMP_TABLE;if(u){var s=o-t.JUMP_OFFSET_BASE-u;return s<0||s>i?-1:e[n+s]-1}for(var c=n,l=c+i-1;c<=l;){var f=c+l>>>1,p=e[f];if(p<o)c=f+1;else{if(!(p>o))return e[f+i];l=f-1}}return-1}!function(e){e[e.HAS_VALUE=32768]="HAS_VALUE",e[e.BRANCH_LENGTH=32512]="BRANCH_LENGTH",e[e.MULTI_BYTE=128]="MULTI_BYTE",e[e.JUMP_TABLE=127]="JUMP_TABLE"}(a=t.BinTrieFlags||(t.BinTrieFlags={})),t.JUMP_OFFSET_BASE=47,t.determineBranch=c;var l=s(o.default),f=s(i.default);t.decodeHTML=function(e){return l(e,!1)},t.decodeHTMLStrict=function(e){return l(e,!0)},t.decodeXML=function(e){return f(e,!0)}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=new Uint16Array([14866,60,237,340,721,1312,1562,1654,1838,1957,2183,2239,2301,2958,3037,3893,4123,4298,4330,4801,5191,5395,5752,5903,5943,5972,6050,0,0,0,0,0,0,6135,6565,7422,8183,8738,9242,9503,9938,10189,10573,10637,10715,11950,12246,13539,13950,14445,14533,15364,16514,16980,17390,17763,17849,18036,18125,4096,69,77,97,98,99,102,103,108,109,110,111,112,114,115,116,117,92,100,106,115,122,137,142,151,157,163,167,182,196,204,220,229,108,105,103,33024,198,59,32768,198,80,33024,38,59,32768,38,99,117,116,101,33024,193,59,32768,193,114,101,118,101,59,32768,258,512,105,121,127,134,114,99,33024,194,59,32768,194,59,32768,1040,114,59,32896,55349,56580,114,97,118,101,33024,192,59,32768,192,112,104,97,59,32768,913,97,99,114,59,32768,256,100,59,32768,10835,512,103,112,172,177,111,110,59,32768,260,102,59,32896,55349,56632,112,108,121,70,117,110,99,116,105,111,110,59,32768,8289,105,110,103,33024,197,59,32768,197,512,99,115,209,214,114,59,32896,55349,56476,105,103,110,59,32768,8788,105,108,100,101,33024,195,59,32768,195,109,108,33024,196,59,32768,196,2048,97,99,101,102,111,114,115,117,253,278,282,310,315,321,327,332,512,99,114,258,267,107,115,108,97,115,104,59,32768,8726,583,271,274,59,32768,10983,101,100,59,32768,8966,121,59,32768,1041,768,99,114,116,289,296,306,97,117,115,101,59,32768,8757,110,111,117,108,108,105,115,59,32768,8492,97,59,32768,914,114,59,32896,55349,56581,112,102,59,32896,55349,56633,101,118,101,59,32768,728,99,114,59,32768,8492,109,112,101,113,59,32768,8782,3584,72,79,97,99,100,101,102,104,105,108,111,114,115,117,368,373,380,426,461,466,487,491,495,533,593,695,701,707,99,121,59,32768,1063,80,89,33024,169,59,32768,169,768,99,112,121,387,393,419,117,116,101,59,32768,262,512,59,105,398,400,32768,8914,116,97,108,68,105,102,102,101,114,101,110,116,105,97,108,68,59,32768,8517,108,101,121,115,59,32768,8493,1024,97,101,105,111,435,441,449,454,114,111,110,59,32768,268,100,105,108,33024,199,59,32768,199,114,99,59,32768,264,110,105,110,116,59,32768,8752,111,116,59,32768,266,512,100,110,471,478,105,108,108,97,59,32768,184,116,101,114,68,111,116,59,32768,183,114,59,32768,8493,105,59,32768,935,114,99,108,101,1024,68,77,80,84,508,513,520,526,111,116,59,32768,8857,105,110,117,115,59,32768,8854,108,117,115,59,32768,8853,105,109,101,115,59,32768,8855,111,512,99,115,539,562,107,119,105,115,101,67,111,110,116,111,117,114,73,110,116,101,103,114,97,108,59,32768,8754,101,67,117,114,108,121,512,68,81,573,586,111,117,98,108,101,81,117,111,116,101,59,32768,8221,117,111,116,101,59,32768,8217,1024,108,110,112,117,602,614,648,664,111,110,512,59,101,609,611,32768,8759,59,32768,10868,768,103,105,116,621,629,634,114,117,101,110,116,59,32768,8801,110,116,59,32768,8751,111,117,114,73,110,116,101,103,114,97,108,59,32768,8750,512,102,114,653,656,59,32768,8450,111,100,117,99,116,59,32768,8720,110,116,101,114,67,108,111,99,107,119,105,115,101,67,111,110,116,111,117,114,73,110,116,101,103,114,97,108,59,32768,8755,111,115,115,59,32768,10799,99,114,59,32896,55349,56478,112,512,59,67,713,715,32768,8915,97,112,59,32768,8781,2816,68,74,83,90,97,99,101,102,105,111,115,743,758,763,768,773,795,809,821,826,910,1295,512,59,111,748,750,32768,8517,116,114,97,104,100,59,32768,10513,99,121,59,32768,1026,99,121,59,32768,1029,99,121,59,32768,1039,768,103,114,115,780,786,790,103,101,114,59,32768,8225,114,59,32768,8609,104,118,59,32768,10980,512,97,121,800,806,114,111,110,59,32768,270,59,32768,1044,108,512,59,116,815,817,32768,8711,97,59,32768,916,114,59,32896,55349,56583,512,97,102,831,897,512,99,109,836,891,114,105,116,105,99,97,108,1024,65,68,71,84,852,859,877,884,99,117,116,101,59,32768,180,111,581,864,867,59,32768,729,98,108,101,65,99,117,116,101,59,32768,733,114,97,118,101,59,32768,96,105,108,100,101,59,32768,732,111,110,100,59,32768,8900,102,101,114,101,110,116,105,97,108,68,59,32768,8518,2113,920,0,0,0,925,946,0,1139,102,59,32896,55349,56635,768,59,68,69,931,933,938,32768,168,111,116,59,32768,8412,113,117,97,108,59,32768,8784,98,108,101,1536,67,68,76,82,85,86,961,978,996,1080,1101,1125,111,110,116,111,117,114,73,110,116,101,103,114,97,108,59,32768,8751,111,1093,985,0,0,988,59,32768,168,110,65,114,114,111,119,59,32768,8659,512,101,111,1001,1034,102,116,768,65,82,84,1010,1017,1029,114,114,111,119,59,32768,8656,105,103,104,116,65,114,114,111,119,59,32768,8660,101,101,59,32768,10980,110,103,512,76,82,1041,1068,101,102,116,512,65,82,1049,1056,114,114,111,119,59,32768,10232,105,103,104,116,65,114,114,111,119,59,32768,10234,105,103,104,116,65,114,114,111,119,59,32768,10233,105,103,104,116,512,65,84,1089,1096,114,114,111,119,59,32768,8658,101,101,59,32768,8872,112,1042,1108,0,0,1115,114,114,111,119,59,32768,8657,111,119,110,65,114,114,111,119,59,32768,8661,101,114,116,105,99,97,108,66,97,114,59,32768,8741,110,1536,65,66,76,82,84,97,1152,1179,1186,1236,1272,1288,114,114,111,119,768,59,66,85,1163,1165,1170,32768,8595,97,114,59,32768,10515,112,65,114,114,111,119,59,32768,8693,114,101,118,101,59,32768,785,101,102,116,1315,1196,0,1209,0,1220,105,103,104,116,86,101,99,116,111,114,59,32768,10576,101,101,86,101,99,116,111,114,59,32768,10590,101,99,116,111,114,512,59,66,1229,1231,32768,8637,97,114,59,32768,10582,105,103,104,116,805,1245,0,1256,101,101,86,101,99,116,111,114,59,32768,10591,101,99,116,111,114,512,59,66,1265,1267,32768,8641,97,114,59,32768,10583,101,101,512,59,65,1279,1281,32768,8868,114,114,111,119,59,32768,8615,114,114,111,119,59,32768,8659,512,99,116,1300,1305,114,59,32896,55349,56479,114,111,107,59,32768,272,4096,78,84,97,99,100,102,103,108,109,111,112,113,115,116,117,120,1344,1348,1354,1363,1386,1391,1396,1405,1413,1460,1475,1483,1514,1527,1531,1538,71,59,32768,330,72,33024,208,59,32768,208,99,117,116,101,33024,201,59,32768,201,768,97,105,121,1370,1376,1383,114,111,110,59,32768,282,114,99,33024,202,59,32768,202,59,32768,1069,111,116,59,32768,278,114,59,32896,55349,56584,114,97,118,101,33024,200,59,32768,200,101,109,101,110,116,59,32768,8712,512,97,112,1418,1423,99,114,59,32768,274,116,121,1060,1431,0,0,1444,109,97,108,108,83,113,117,97,114,101,59,32768,9723,101,114,121,83,109,97,108,108,83,113,117,97,114,101,59,32768,9643,512,103,112,1465,1470,111,110,59,32768,280,102,59,32896,55349,56636,115,105,108,111,110,59,32768,917,117,512,97,105,1489,1504,108,512,59,84,1495,1497,32768,10869,105,108,100,101,59,32768,8770,108,105,98,114,105,117,109,59,32768,8652,512,99,105,1519,1523,114,59,32768,8496,109,59,32768,10867,97,59,32768,919,109,108,33024,203,59,32768,203,512,105,112,1543,1549,115,116,115,59,32768,8707,111,110,101,110,116,105,97,108,69,59,32768,8519,1280,99,102,105,111,115,1572,1576,1581,1620,1648,121,59,32768,1060,114,59,32896,55349,56585,108,108,101,100,1060,1591,0,0,1604,109,97,108,108,83,113,117,97,114,101,59,32768,9724,101,114,121,83,109,97,108,108,83,113,117,97,114,101,59,32768,9642,1601,1628,0,1633,0,0,1639,102,59,32896,55349,56637,65,108,108,59,32768,8704,114,105,101,114,116,114,102,59,32768,8497,99,114,59,32768,8497,3072,74,84,97,98,99,100,102,103,111,114,115,116,1678,1683,1688,1701,1708,1729,1734,1739,1742,1748,1828,1834,99,121,59,32768,1027,33024,62,59,32768,62,109,109,97,512,59,100,1696,1698,32768,915,59,32768,988,114,101,118,101,59,32768,286,768,101,105,121,1715,1721,1726,100,105,108,59,32768,290,114,99,59,32768,284,59,32768,1043,111,116,59,32768,288,114,59,32896,55349,56586,59,32768,8921,112,102,59,32896,55349,56638,101,97,116,101,114,1536,69,70,71,76,83,84,1766,1783,1794,1803,1809,1821,113,117,97,108,512,59,76,1775,1777,32768,8805,101,115,115,59,32768,8923,117,108,108,69,113,117,97,108,59,32768,8807,114,101,97,116,101,114,59,32768,10914,101,115,115,59,32768,8823,108,97,110,116,69,113,117,97,108,59,32768,10878,105,108,100,101,59,32768,8819,99,114,59,32896,55349,56482,59,32768,8811,2048,65,97,99,102,105,111,115,117,1854,1861,1874,1880,1884,1897,1919,1934,82,68,99,121,59,32768,1066,512,99,116,1866,1871,101,107,59,32768,711,59,32768,94,105,114,99,59,32768,292,114,59,32768,8460,108,98,101,114,116,83,112,97,99,101,59,32768,8459,833,1902,0,1906,102,59,32768,8461,105,122,111,110,116,97,108,76,105,110,101,59,32768,9472,512,99,116,1924,1928,114,59,32768,8459,114,111,107,59,32768,294,109,112,533,1940,1950,111,119,110,72,117,109,112,59,32768,8782,113,117,97,108,59,32768,8783,3584,69,74,79,97,99,100,102,103,109,110,111,115,116,117,1985,1990,1996,2001,2010,2025,2030,2034,2043,2077,2134,2155,2160,2167,99,121,59,32768,1045,108,105,103,59,32768,306,99,121,59,32768,1025,99,117,116,101,33024,205,59,32768,205,512,105,121,2015,2022,114,99,33024,206,59,32768,206,59,32768,1048,111,116,59,32768,304,114,59,32768,8465,114,97,118,101,33024,204,59,32768,204,768,59,97,112,2050,2052,2070,32768,8465,512,99,103,2057,2061,114,59,32768,298,105,110,97,114,121,73,59,32768,8520,108,105,101,115,59,32768,8658,837,2082,0,2110,512,59,101,2086,2088,32768,8748,512,103,114,2093,2099,114,97,108,59,32768,8747,115,101,99,116,105,111,110,59,32768,8898,105,115,105,98,108,101,512,67,84,2120,2127,111,109,109,97,59,32768,8291,105,109,101,115,59,32768,8290,768,103,112,116,2141,2146,2151,111,110,59,32768,302,102,59,32896,55349,56640,97,59,32768,921,99,114,59,32768,8464,105,108,100,101,59,32768,296,828,2172,0,2177,99,121,59,32768,1030,108,33024,207,59,32768,207,1280,99,102,111,115,117,2193,2206,2211,2217,2232,512,105,121,2198,2203,114,99,59,32768,308,59,32768,1049,114,59,32896,55349,56589,112,102,59,32896,55349,56641,820,2222,0,2227,114,59,32896,55349,56485,114,99,121,59,32768,1032,107,99,121,59,32768,1028,1792,72,74,97,99,102,111,115,2253,2258,2263,2269,2283,2288,2294,99,121,59,32768,1061,99,121,59,32768,1036,112,112,97,59,32768,922,512,101,121,2274,2280,100,105,108,59,32768,310,59,32768,1050,114,59,32896,55349,56590,112,102,59,32896,55349,56642,99,114,59,32896,55349,56486,2816,74,84,97,99,101,102,108,109,111,115,116,2323,2328,2333,2374,2396,2775,2780,2797,2804,2934,2954,99,121,59,32768,1033,33024,60,59,32768,60,1280,99,109,110,112,114,2344,2350,2356,2360,2370,117,116,101,59,32768,313,98,100,97,59,32768,923,103,59,32768,10218,108,97,99,101,116,114,102,59,32768,8466,114,59,32768,8606,768,97,101,121,2381,2387,2393,114,111,110,59,32768,317,100,105,108,59,32768,315,59,32768,1051,512,102,115,2401,2702,116,2560,65,67,68,70,82,84,85,86,97,114,2423,2470,2479,2530,2537,2561,2618,2666,2683,2690,512,110,114,2428,2441,103,108,101,66,114,97,99,107,101,116,59,32768,10216,114,111,119,768,59,66,82,2451,2453,2458,32768,8592,97,114,59,32768,8676,105,103,104,116,65,114,114,111,119,59,32768,8646,101,105,108,105,110,103,59,32768,8968,111,838,2485,0,2498,98,108,101,66,114,97,99,107,101,116,59,32768,10214,110,805,2503,0,2514,101,101,86,101,99,116,111,114,59,32768,10593,101,99,116,111,114,512,59,66,2523,2525,32768,8643,97,114,59,32768,10585,108,111,111,114,59,32768,8970,105,103,104,116,512,65,86,2546,2553,114,114,111,119,59,32768,8596,101,99,116,111,114,59,32768,10574,512,101,114,2566,2591,101,768,59,65,86,2574,2576,2583,32768,8867,114,114,111,119,59,32768,8612,101,99,116,111,114,59,32768,10586,105,97,110,103,108,101,768,59,66,69,2604,2606,2611,32768,8882,97,114,59,32768,10703,113,117,97,108,59,32768,8884,112,768,68,84,86,2626,2638,2649,111,119,110,86,101,99,116,111,114,59,32768,10577,101,101,86,101,99,116,111,114,59,32768,10592,101,99,116,111,114,512,59,66,2659,2661,32768,8639,97,114,59,32768,10584,101,99,116,111,114,512,59,66,2676,2678,32768,8636,97,114,59,32768,10578,114,114,111,119,59,32768,8656,105,103,104,116,97,114,114,111,119,59,32768,8660,115,1536,69,70,71,76,83,84,2716,2730,2741,2750,2756,2768,113,117,97,108,71,114,101,97,116,101,114,59,32768,8922,117,108,108,69,113,117,97,108,59,32768,8806,114,101,97,116,101,114,59,32768,8822,101,115,115,59,32768,10913,108,97,110,116,69,113,117,97,108,59,32768,10877,105,108,100,101,59,32768,8818,114,59,32896,55349,56591,512,59,101,2785,2787,32768,8920,102,116,97,114,114,111,119,59,32768,8666,105,100,111,116,59,32768,319,768,110,112,119,2811,2899,2904,103,1024,76,82,108,114,2821,2848,2860,2887,101,102,116,512,65,82,2829,2836,114,114,111,119,59,32768,10229,105,103,104,116,65,114,114,111,119,59,32768,10231,105,103,104,116,65,114,114,111,119,59,32768,10230,101,102,116,512,97,114,2868,2875,114,114,111,119,59,32768,10232,105,103,104,116,97,114,114,111,119,59,32768,10234,105,103,104,116,97,114,114,111,119,59,32768,10233,102,59,32896,55349,56643,101,114,512,76,82,2911,2922,101,102,116,65,114,114,111,119,59,32768,8601,105,103,104,116,65,114,114,111,119,59,32768,8600,768,99,104,116,2941,2945,2948,114,59,32768,8466,59,32768,8624,114,111,107,59,32768,321,59,32768,8810,2048,97,99,101,102,105,111,115,117,2974,2978,2982,3007,3012,3022,3028,3033,112,59,32768,10501,121,59,32768,1052,512,100,108,2987,2998,105,117,109,83,112,97,99,101,59,32768,8287,108,105,110,116,114,102,59,32768,8499,114,59,32896,55349,56592,110,117,115,80,108,117,115,59,32768,8723,112,102,59,32896,55349,56644,99,114,59,32768,8499,59,32768,924,2304,74,97,99,101,102,111,115,116,117,3055,3060,3067,3089,3201,3206,3874,3880,3889,99,121,59,32768,1034,99,117,116,101,59,32768,323,768,97,101,121,3074,3080,3086,114,111,110,59,32768,327,100,105,108,59,32768,325,59,32768,1053,768,103,115,119,3096,3160,3194,97,116,105,118,101,768,77,84,86,3108,3121,3145,101,100,105,117,109,83,112,97,99,101,59,32768,8203,104,105,512,99,110,3128,3137,107,83,112,97,99,101,59,32768,8203,83,112,97,99,101,59,32768,8203,101,114,121,84,104,105,110,83,112,97,99,101,59,32768,8203,116,101,100,512,71,76,3168,3184,114,101,97,116,101,114,71,114,101,97,116,101,114,59,32768,8811,101,115,115,76,101,115,115,59,32768,8810,76,105,110,101,59,32768,10,114,59,32896,55349,56593,1024,66,110,112,116,3215,3222,3238,3242,114,101,97,107,59,32768,8288,66,114,101,97,107,105,110,103,83,112,97,99,101,59,32768,160,102,59,32768,8469,3328,59,67,68,69,71,72,76,78,80,82,83,84,86,3269,3271,3293,3312,3352,3430,3455,3551,3589,3625,3678,3821,3861,32768,10988,512,111,117,3276,3286,110,103,114,117,101,110,116,59,32768,8802,112,67,97,112,59,32768,8813,111,117,98,108,101,86,101,114,116,105,99,97,108,66,97,114,59,32768,8742,768,108,113,120,3319,3327,3345,101,109,101,110,116,59,32768,8713,117,97,108,512,59,84,3335,3337,32768,8800,105,108,100,101,59,32896,8770,824,105,115,116,115,59,32768,8708,114,101,97,116,101,114,1792,59,69,70,71,76,83,84,3373,3375,3382,3394,3404,3410,3423,32768,8815,113,117,97,108,59,32768,8817,117,108,108,69,113,117,97,108,59,32896,8807,824,114,101,97,116,101,114,59,32896,8811,824,101,115,115,59,32768,8825,108,97,110,116,69,113,117,97,108,59,32896,10878,824,105,108,100,101,59,32768,8821,117,109,112,533,3437,3448,111,119,110,72,117,109,112,59,32896,8782,824,113,117,97,108,59,32896,8783,824,101,512,102,115,3461,3492,116,84,114,105,97,110,103,108,101,768,59,66,69,3477,3479,3485,32768,8938,97,114,59,32896,10703,824,113,117,97,108,59,32768,8940,115,1536,59,69,71,76,83,84,3506,3508,3515,3524,3531,3544,32768,8814,113,117,97,108,59,32768,8816,114,101,97,116,101,114,59,32768,8824,101,115,115,59,32896,8810,824,108,97,110,116,69,113,117,97,108,59,32896,10877,824,105,108,100,101,59,32768,8820,101,115,116,101,100,512,71,76,3561,3578,114,101,97,116,101,114,71,114,101,97,116,101,114,59,32896,10914,824,101,115,115,76,101,115,115,59,32896,10913,824,114,101,99,101,100,101,115,768,59,69,83,3603,3605,3613,32768,8832,113,117,97,108,59,32896,10927,824,108,97,110,116,69,113,117,97,108,59,32768,8928,512,101,105,3630,3645,118,101,114,115,101,69,108,101,109,101,110,116,59,32768,8716,103,104,116,84,114,105,97,110,103,108,101,768,59,66,69,3663,3665,3671,32768,8939,97,114,59,32896,10704,824,113,117,97,108,59,32768,8941,512,113,117,3683,3732,117,97,114,101,83,117,512,98,112,3694,3712,115,101,116,512,59,69,3702,3705,32896,8847,824,113,117,97,108,59,32768,8930,101,114,115,101,116,512,59,69,3722,3725,32896,8848,824,113,117,97,108,59,32768,8931,768,98,99,112,3739,3757,3801,115,101,116,512,59,69,3747,3750,32896,8834,8402,113,117,97,108,59,32768,8840,99,101,101,100,115,1024,59,69,83,84,3771,3773,3781,3793,32768,8833,113,117,97,108,59,32896,10928,824,108,97,110,116,69,113,117,97,108,59,32768,8929,105,108,100,101,59,32896,8831,824,101,114,115,101,116,512,59,69,3811,3814,32896,8835,8402,113,117,97,108,59,32768,8841,105,108,100,101,1024,59,69,70,84,3834,3836,3843,3854,32768,8769,113,117,97,108,59,32768,8772,117,108,108,69,113,117,97,108,59,32768,8775,105,108,100,101,59,32768,8777,101,114,116,105,99,97,108,66,97,114,59,32768,8740,99,114,59,32896,55349,56489,105,108,100,101,33024,209,59,32768,209,59,32768,925,3584,69,97,99,100,102,103,109,111,112,114,115,116,117,118,3921,3927,3936,3951,3958,3963,3972,3996,4002,4034,4037,4055,4071,4078,108,105,103,59,32768,338,99,117,116,101,33024,211,59,32768,211,512,105,121,3941,3948,114,99,33024,212,59,32768,212,59,32768,1054,98,108,97,99,59,32768,336,114,59,32896,55349,56594,114,97,118,101,33024,210,59,32768,210,768,97,101,105,3979,3984,3989,99,114,59,32768,332,103,97,59,32768,937,99,114,111,110,59,32768,927,112,102,59,32896,55349,56646,101,110,67,117,114,108,121,512,68,81,4014,4027,111,117,98,108,101,81,117,111,116,101,59,32768,8220,117,111,116,101,59,32768,8216,59,32768,10836,512,99,108,4042,4047,114,59,32896,55349,56490,97,115,104,33024,216,59,32768,216,105,573,4060,4067,100,101,33024,213,59,32768,213,101,115,59,32768,10807,109,108,33024,214,59,32768,214,101,114,512,66,80,4085,4109,512,97,114,4090,4094,114,59,32768,8254,97,99,512,101,107,4101,4104,59,32768,9182,101,116,59,32768,9140,97,114,101,110,116,104,101,115,105,115,59,32768,9180,2304,97,99,102,104,105,108,111,114,115,4141,4150,4154,4159,4163,4166,4176,4198,4284,114,116,105,97,108,68,59,32768,8706,121,59,32768,1055,114,59,32896,55349,56595,105,59,32768,934,59,32768,928,117,115,77,105,110,117,115,59,32768,177,512,105,112,4181,4194,110,99,97,114,101,112,108,97,110,101,59,32768,8460,102,59,32768,8473,1024,59,101,105,111,4207,4209,4251,4256,32768,10939,99,101,100,101,115,1024,59,69,83,84,4223,4225,4232,4244,32768,8826,113,117,97,108,59,32768,10927,108,97,110,116,69,113,117,97,108,59,32768,8828,105,108,100,101,59,32768,8830,109,101,59,32768,8243,512,100,112,4261,4267,117,99,116,59,32768,8719,111,114,116,105,111,110,512,59,97,4278,4280,32768,8759,108,59,32768,8733,512,99,105,4289,4294,114,59,32896,55349,56491,59,32768,936,1024,85,102,111,115,4306,4313,4318,4323,79,84,33024,34,59,32768,34,114,59,32896,55349,56596,112,102,59,32768,8474,99,114,59,32896,55349,56492,3072,66,69,97,99,101,102,104,105,111,114,115,117,4354,4360,4366,4395,4417,4473,4477,4481,4743,4764,4776,4788,97,114,114,59,32768,10512,71,33024,174,59,32768,174,768,99,110,114,4373,4379,4383,117,116,101,59,32768,340,103,59,32768,10219,114,512,59,116,4389,4391,32768,8608,108,59,32768,10518,768,97,101,121,4402,4408,4414,114,111,110,59,32768,344,100,105,108,59,32768,342,59,32768,1056,512,59,118,4422,4424,32768,8476,101,114,115,101,512,69,85,4433,4458,512,108,113,4438,4446,101,109,101,110,116,59,32768,8715,117,105,108,105,98,114,105,117,109,59,32768,8651,112,69,113,117,105,108,105,98,114,105,117,109,59,32768,10607,114,59,32768,8476,111,59,32768,929,103,104,116,2048,65,67,68,70,84,85,86,97,4501,4547,4556,4607,4614,4671,4719,4736,512,110,114,4506,4519,103,108,101,66,114,97,99,107,101,116,59,32768,10217,114,111,119,768,59,66,76,4529,4531,4536,32768,8594,97,114,59,32768,8677,101,102,116,65,114,114,111,119,59,32768,8644,101,105,108,105,110,103,59,32768,8969,111,838,4562,0,4575,98,108,101,66,114,97,99,107,101,116,59,32768,10215,110,805,4580,0,4591,101,101,86,101,99,116,111,114,59,32768,10589,101,99,116,111,114,512,59,66,4600,4602,32768,8642,97,114,59,32768,10581,108,111,111,114,59,32768,8971,512,101,114,4619,4644,101,768,59,65,86,4627,4629,4636,32768,8866,114,114,111,119,59,32768,8614,101,99,116,111,114,59,32768,10587,105,97,110,103,108,101,768,59,66,69,4657,4659,4664,32768,8883,97,114,59,32768,10704,113,117,97,108,59,32768,8885,112,768,68,84,86,4679,4691,4702,111,119,110,86,101,99,116,111,114,59,32768,10575,101,101,86,101,99,116,111,114,59,32768,10588,101,99,116,111,114,512,59,66,4712,4714,32768,8638,97,114,59,32768,10580,101,99,116,111,114,512,59,66,4729,4731,32768,8640,97,114,59,32768,10579,114,114,111,119,59,32768,8658,512,112,117,4748,4752,102,59,32768,8477,110,100,73,109,112,108,105,101,115,59,32768,10608,105,103,104,116,97,114,114,111,119,59,32768,8667,512,99,104,4781,4785,114,59,32768,8475,59,32768,8625,108,101,68,101,108,97,121,101,100,59,32768,10740,3328,72,79,97,99,102,104,105,109,111,113,115,116,117,4827,4842,4849,4856,4889,4894,4949,4955,4967,4973,5059,5065,5070,512,67,99,4832,4838,72,99,121,59,32768,1065,121,59,32768,1064,70,84,99,121,59,32768,1068,99,117,116,101,59,32768,346,1280,59,97,101,105,121,4867,4869,4875,4881,4886,32768,10940,114,111,110,59,32768,352,100,105,108,59,32768,350,114,99,59,32768,348,59,32768,1057,114,59,32896,55349,56598,111,114,116,1024,68,76,82,85,4906,4917,4928,4940,111,119,110,65,114,114,111,119,59,32768,8595,101,102,116,65,114,114,111,119,59,32768,8592,105,103,104,116,65,114,114,111,119,59,32768,8594,112,65,114,114,111,119,59,32768,8593,103,109,97,59,32768,931,97,108,108,67,105,114,99,108,101,59,32768,8728,112,102,59,32896,55349,56650,1091,4979,0,0,4983,116,59,32768,8730,97,114,101,1024,59,73,83,85,4994,4996,5010,5052,32768,9633,110,116,101,114,115,101,99,116,105,111,110,59,32768,8851,117,512,98,112,5016,5033,115,101,116,512,59,69,5024,5026,32768,8847,113,117,97,108,59,32768,8849,101,114,115,101,116,512,59,69,5043,5045,32768,8848,113,117,97,108,59,32768,8850,110,105,111,110,59,32768,8852,99,114,59,32896,55349,56494,97,114,59,32768,8902,1024,98,99,109,112,5079,5102,5155,5158,512,59,115,5084,5086,32768,8912,101,116,512,59,69,5093,5095,32768,8912,113,117,97,108,59,32768,8838,512,99,104,5107,5148,101,101,100,115,1024,59,69,83,84,5120,5122,5129,5141,32768,8827,113,117,97,108,59,32768,10928,108,97,110,116,69,113,117,97,108,59,32768,8829,105,108,100,101,59,32768,8831,84,104,97,116,59,32768,8715,59,32768,8721,768,59,101,115,5165,5167,5185,32768,8913,114,115,101,116,512,59,69,5176,5178,32768,8835,113,117,97,108,59,32768,8839,101,116,59,32768,8913,2816,72,82,83,97,99,102,104,105,111,114,115,5213,5221,5227,5241,5252,5274,5279,5323,5362,5368,5378,79,82,78,33024,222,59,32768,222,65,68,69,59,32768,8482,512,72,99,5232,5237,99,121,59,32768,1035,121,59,32768,1062,512,98,117,5246,5249,59,32768,9,59,32768,932,768,97,101,121,5259,5265,5271,114,111,110,59,32768,356,100,105,108,59,32768,354,59,32768,1058,114,59,32896,55349,56599,512,101,105,5284,5300,835,5289,0,5297,101,102,111,114,101,59,32768,8756,97,59,32768,920,512,99,110,5305,5315,107,83,112,97,99,101,59,32896,8287,8202,83,112,97,99,101,59,32768,8201,108,100,101,1024,59,69,70,84,5335,5337,5344,5355,32768,8764,113,117,97,108,59,32768,8771,117,108,108,69,113,117,97,108,59,32768,8773,105,108,100,101,59,32768,8776,112,102,59,32896,55349,56651,105,112,108,101,68,111,116,59,32768,8411,512,99,116,5383,5388,114,59,32896,55349,56495,114,111,107,59,32768,358,5426,5417,5444,5458,5473,0,5480,5485,0,0,0,0,0,5494,5500,5564,5579,0,5726,5732,5738,5745,512,99,114,5421,5429,117,116,101,33024,218,59,32768,218,114,512,59,111,5435,5437,32768,8607,99,105,114,59,32768,10569,114,820,5449,0,5453,121,59,32768,1038,118,101,59,32768,364,512,105,121,5462,5469,114,99,33024,219,59,32768,219,59,32768,1059,98,108,97,99,59,32768,368,114,59,32896,55349,56600,114,97,118,101,33024,217,59,32768,217,97,99,114,59,32768,362,512,100,105,5504,5548,101,114,512,66,80,5511,5535,512,97,114,5516,5520,114,59,32768,95,97,99,512,101,107,5527,5530,59,32768,9183,101,116,59,32768,9141,97,114,101,110,116,104,101,115,105,115,59,32768,9181,111,110,512,59,80,5555,5557,32768,8899,108,117,115,59,32768,8846,512,103,112,5568,5573,111,110,59,32768,370,102,59,32896,55349,56652,2048,65,68,69,84,97,100,112,115,5595,5624,5635,5648,5664,5671,5682,5712,114,114,111,119,768,59,66,68,5606,5608,5613,32768,8593,97,114,59,32768,10514,111,119,110,65,114,114,111,119,59,32768,8645,111,119,110,65,114,114,111,119,59,32768,8597,113,117,105,108,105,98,114,105,117,109,59,32768,10606,101,101,512,59,65,5655,5657,32768,8869,114,114,111,119,59,32768,8613,114,114,111,119,59,32768,8657,111,119,110,97,114,114,111,119,59,32768,8661,101,114,512,76,82,5689,5700,101,102,116,65,114,114,111,119,59,32768,8598,105,103,104,116,65,114,114,111,119,59,32768,8599,105,512,59,108,5718,5720,32768,978,111,110,59,32768,933,105,110,103,59,32768,366,99,114,59,32896,55349,56496,105,108,100,101,59,32768,360,109,108,33024,220,59,32768,220,2304,68,98,99,100,101,102,111,115,118,5770,5776,5781,5785,5798,5878,5883,5889,5895,97,115,104,59,32768,8875,97,114,59,32768,10987,121,59,32768,1042,97,115,104,512,59,108,5793,5795,32768,8873,59,32768,10982,512,101,114,5803,5806,59,32768,8897,768,98,116,121,5813,5818,5866,97,114,59,32768,8214,512,59,105,5823,5825,32768,8214,99,97,108,1024,66,76,83,84,5837,5842,5848,5859,97,114,59,32768,8739,105,110,101,59,32768,124,101,112,97,114,97,116,111,114,59,32768,10072,105,108,100,101,59,32768,8768,84,104,105,110,83,112,97,99,101,59,32768,8202,114,59,32896,55349,56601,112,102,59,32896,55349,56653,99,114,59,32896,55349,56497,100,97,115,104,59,32768,8874,1280,99,101,102,111,115,5913,5919,5925,5930,5936,105,114,99,59,32768,372,100,103,101,59,32768,8896,114,59,32896,55349,56602,112,102,59,32896,55349,56654,99,114,59,32896,55349,56498,1024,102,105,111,115,5951,5956,5959,5965,114,59,32896,55349,56603,59,32768,926,112,102,59,32896,55349,56655,99,114,59,32896,55349,56499,2304,65,73,85,97,99,102,111,115,117,5990,5995,6e3,6005,6014,6027,6032,6038,6044,99,121,59,32768,1071,99,121,59,32768,1031,99,121,59,32768,1070,99,117,116,101,33024,221,59,32768,221,512,105,121,6019,6024,114,99,59,32768,374,59,32768,1067,114,59,32896,55349,56604,112,102,59,32896,55349,56656,99,114,59,32896,55349,56500,109,108,59,32768,376,2048,72,97,99,100,101,102,111,115,6066,6071,6078,6092,6097,6119,6123,6128,99,121,59,32768,1046,99,117,116,101,59,32768,377,512,97,121,6083,6089,114,111,110,59,32768,381,59,32768,1047,111,116,59,32768,379,835,6102,0,6116,111,87,105,100,116,104,83,112,97,99,101,59,32768,8203,97,59,32768,918,114,59,32768,8488,112,102,59,32768,8484,99,114,59,32896,55349,56501,5938,6159,6168,6175,0,6214,6222,6233,0,0,0,0,6242,6267,6290,6429,6444,0,6495,6503,6531,6540,0,6547,99,117,116,101,33024,225,59,32768,225,114,101,118,101,59,32768,259,1536,59,69,100,105,117,121,6187,6189,6193,6196,6203,6210,32768,8766,59,32896,8766,819,59,32768,8767,114,99,33024,226,59,32768,226,116,101,33024,180,59,32768,180,59,32768,1072,108,105,103,33024,230,59,32768,230,512,59,114,6226,6228,32768,8289,59,32896,55349,56606,114,97,118,101,33024,224,59,32768,224,512,101,112,6246,6261,512,102,112,6251,6257,115,121,109,59,32768,8501,104,59,32768,8501,104,97,59,32768,945,512,97,112,6271,6284,512,99,108,6276,6280,114,59,32768,257,103,59,32768,10815,33024,38,59,32768,38,1077,6295,0,0,6326,1280,59,97,100,115,118,6305,6307,6312,6315,6322,32768,8743,110,100,59,32768,10837,59,32768,10844,108,111,112,101,59,32768,10840,59,32768,10842,1792,59,101,108,109,114,115,122,6340,6342,6345,6349,6391,6410,6422,32768,8736,59,32768,10660,101,59,32768,8736,115,100,512,59,97,6356,6358,32768,8737,2098,6368,6371,6374,6377,6380,6383,6386,6389,59,32768,10664,59,32768,10665,59,32768,10666,59,32768,10667,59,32768,10668,59,32768,10669,59,32768,10670,59,32768,10671,116,512,59,118,6397,6399,32768,8735,98,512,59,100,6405,6407,32768,8894,59,32768,10653,512,112,116,6415,6419,104,59,32768,8738,59,32768,197,97,114,114,59,32768,9084,512,103,112,6433,6438,111,110,59,32768,261,102,59,32896,55349,56658,1792,59,69,97,101,105,111,112,6458,6460,6463,6469,6472,6476,6480,32768,8776,59,32768,10864,99,105,114,59,32768,10863,59,32768,8778,100,59,32768,8779,115,59,32768,39,114,111,120,512,59,101,6488,6490,32768,8776,113,59,32768,8778,105,110,103,33024,229,59,32768,229,768,99,116,121,6509,6514,6517,114,59,32896,55349,56502,59,32768,42,109,112,512,59,101,6524,6526,32768,8776,113,59,32768,8781,105,108,100,101,33024,227,59,32768,227,109,108,33024,228,59,32768,228,512,99,105,6551,6559,111,110,105,110,116,59,32768,8755,110,116,59,32768,10769,4096,78,97,98,99,100,101,102,105,107,108,110,111,112,114,115,117,6597,6602,6673,6688,6701,6707,6768,6773,6891,6898,6999,7023,7309,7316,7334,7383,111,116,59,32768,10989,512,99,114,6607,6652,107,1024,99,101,112,115,6617,6623,6632,6639,111,110,103,59,32768,8780,112,115,105,108,111,110,59,32768,1014,114,105,109,101,59,32768,8245,105,109,512,59,101,6646,6648,32768,8765,113,59,32768,8909,583,6656,6661,101,101,59,32768,8893,101,100,512,59,103,6667,6669,32768,8965,101,59,32768,8965,114,107,512,59,116,6680,6682,32768,9141,98,114,107,59,32768,9142,512,111,121,6693,6698,110,103,59,32768,8780,59,32768,1073,113,117,111,59,32768,8222,1280,99,109,112,114,116,6718,6731,6738,6743,6749,97,117,115,512,59,101,6726,6728,32768,8757,59,32768,8757,112,116,121,118,59,32768,10672,115,105,59,32768,1014,110,111,117,59,32768,8492,768,97,104,119,6756,6759,6762,59,32768,946,59,32768,8502,101,101,110,59,32768,8812,114,59,32896,55349,56607,103,1792,99,111,115,116,117,118,119,6789,6809,6834,6850,6872,6879,6884,768,97,105,117,6796,6800,6805,112,59,32768,8898,114,99,59,32768,9711,112,59,32768,8899,768,100,112,116,6816,6821,6827,111,116,59,32768,10752,108,117,115,59,32768,10753,105,109,101,115,59,32768,10754,1090,6840,0,0,6846,99,117,112,59,32768,10758,97,114,59,32768,9733,114,105,97,110,103,108,101,512,100,117,6862,6868,111,119,110,59,32768,9661,112,59,32768,9651,112,108,117,115,59,32768,10756,101,101,59,32768,8897,101,100,103,101,59,32768,8896,97,114,111,119,59,32768,10509,768,97,107,111,6905,6976,6994,512,99,110,6910,6972,107,768,108,115,116,6918,6927,6935,111,122,101,110,103,101,59,32768,10731,113,117,97,114,101,59,32768,9642,114,105,97,110,103,108,101,1024,59,100,108,114,6951,6953,6959,6965,32768,9652,111,119,110,59,32768,9662,101,102,116,59,32768,9666,105,103,104,116,59,32768,9656,107,59,32768,9251,770,6981,0,6991,771,6985,0,6988,59,32768,9618,59,32768,9617,52,59,32768,9619,99,107,59,32768,9608,512,101,111,7004,7019,512,59,113,7009,7012,32896,61,8421,117,105,118,59,32896,8801,8421,116,59,32768,8976,1024,112,116,119,120,7032,7037,7049,7055,102,59,32896,55349,56659,512,59,116,7042,7044,32768,8869,111,109,59,32768,8869,116,105,101,59,32768,8904,3072,68,72,85,86,98,100,104,109,112,116,117,118,7080,7101,7126,7147,7182,7187,7208,7233,7240,7246,7253,7274,1024,76,82,108,114,7089,7092,7095,7098,59,32768,9559,59,32768,9556,59,32768,9558,59,32768,9555,1280,59,68,85,100,117,7112,7114,7117,7120,7123,32768,9552,59,32768,9574,59,32768,9577,59,32768,9572,59,32768,9575,1024,76,82,108,114,7135,7138,7141,7144,59,32768,9565,59,32768,9562,59,32768,9564,59,32768,9561,1792,59,72,76,82,104,108,114,7162,7164,7167,7170,7173,7176,7179,32768,9553,59,32768,9580,59,32768,9571,59,32768,9568,59,32768,9579,59,32768,9570,59,32768,9567,111,120,59,32768,10697,1024,76,82,108,114,7196,7199,7202,7205,59,32768,9557,59,32768,9554,59,32768,9488,59,32768,9484,1280,59,68,85,100,117,7219,7221,7224,7227,7230,32768,9472,59,32768,9573,59,32768,9576,59,32768,9516,59,32768,9524,105,110,117,115,59,32768,8863,108,117,115,59,32768,8862,105,109,101,115,59,32768,8864,1024,76,82,108,114,7262,7265,7268,7271,59,32768,9563,59,32768,9560,59,32768,9496,59,32768,9492,1792,59,72,76,82,104,108,114,7289,7291,7294,7297,7300,7303,7306,32768,9474,59,32768,9578,59,32768,9569,59,32768,9566,59,32768,9532,59,32768,9508,59,32768,9500,114,105,109,101,59,32768,8245,512,101,118,7321,7326,118,101,59,32768,728,98,97,114,33024,166,59,32768,166,1024,99,101,105,111,7343,7348,7353,7364,114,59,32896,55349,56503,109,105,59,32768,8271,109,512,59,101,7359,7361,32768,8765,59,32768,8909,108,768,59,98,104,7372,7374,7377,32768,92,59,32768,10693,115,117,98,59,32768,10184,573,7387,7399,108,512,59,101,7392,7394,32768,8226,116,59,32768,8226,112,768,59,69,101,7406,7408,7411,32768,8782,59,32768,10926,512,59,113,7416,7418,32768,8783,59,32768,8783,6450,7448,0,7523,7571,7576,7613,0,7618,7647,0,0,7764,0,0,7779,0,0,7899,7914,7949,7955,0,8158,0,8176,768,99,112,114,7454,7460,7509,117,116,101,59,32768,263,1536,59,97,98,99,100,115,7473,7475,7480,7487,7500,7505,32768,8745,110,100,59,32768,10820,114,99,117,112,59,32768,10825,512,97,117,7492,7496,112,59,32768,10827,112,59,32768,10823,111,116,59,32768,10816,59,32896,8745,65024,512,101,111,7514,7518,116,59,32768,8257,110,59,32768,711,1024,97,101,105,117,7531,7544,7552,7557,833,7536,0,7540,115,59,32768,10829,111,110,59,32768,269,100,105,108,33024,231,59,32768,231,114,99,59,32768,265,112,115,512,59,115,7564,7566,32768,10828,109,59,32768,10832,111,116,59,32768,267,768,100,109,110,7582,7589,7596,105,108,33024,184,59,32768,184,112,116,121,118,59,32768,10674,116,33280,162,59,101,7603,7605,32768,162,114,100,111,116,59,32768,183,114,59,32896,55349,56608,768,99,101,105,7624,7628,7643,121,59,32768,1095,99,107,512,59,109,7635,7637,32768,10003,97,114,107,59,32768,10003,59,32768,967,114,1792,59,69,99,101,102,109,115,7662,7664,7667,7742,7745,7752,7757,32768,9675,59,32768,10691,768,59,101,108,7674,7676,7680,32768,710,113,59,32768,8791,101,1074,7687,0,0,7709,114,114,111,119,512,108,114,7695,7701,101,102,116,59,32768,8634,105,103,104,116,59,32768,8635,1280,82,83,97,99,100,7719,7722,7725,7730,7736,59,32768,174,59,32768,9416,115,116,59,32768,8859,105,114,99,59,32768,8858,97,115,104,59,32768,8861,59,32768,8791,110,105,110,116,59,32768,10768,105,100,59,32768,10991,99,105,114,59,32768,10690,117,98,115,512,59,117,7771,7773,32768,9827,105,116,59,32768,9827,1341,7785,7804,7850,0,7871,111,110,512,59,101,7791,7793,32768,58,512,59,113,7798,7800,32768,8788,59,32768,8788,1086,7809,0,0,7820,97,512,59,116,7814,7816,32768,44,59,32768,64,768,59,102,108,7826,7828,7832,32768,8705,110,59,32768,8728,101,512,109,120,7838,7844,101,110,116,59,32768,8705,101,115,59,32768,8450,824,7854,0,7866,512,59,100,7858,7860,32768,8773,111,116,59,32768,10861,110,116,59,32768,8750,768,102,114,121,7877,7881,7886,59,32896,55349,56660,111,100,59,32768,8720,33280,169,59,115,7892,7894,32768,169,114,59,32768,8471,512,97,111,7903,7908,114,114,59,32768,8629,115,115,59,32768,10007,512,99,117,7918,7923,114,59,32896,55349,56504,512,98,112,7928,7938,512,59,101,7933,7935,32768,10959,59,32768,10961,512,59,101,7943,7945,32768,10960,59,32768,10962,100,111,116,59,32768,8943,1792,100,101,108,112,114,118,119,7969,7983,7996,8009,8057,8147,8152,97,114,114,512,108,114,7977,7980,59,32768,10552,59,32768,10549,1089,7989,0,0,7993,114,59,32768,8926,99,59,32768,8927,97,114,114,512,59,112,8004,8006,32768,8630,59,32768,10557,1536,59,98,99,100,111,115,8022,8024,8031,8044,8049,8053,32768,8746,114,99,97,112,59,32768,10824,512,97,117,8036,8040,112,59,32768,10822,112,59,32768,10826,111,116,59,32768,8845,114,59,32768,10821,59,32896,8746,65024,1024,97,108,114,118,8066,8078,8116,8123,114,114,512,59,109,8073,8075,32768,8631,59,32768,10556,121,768,101,118,119,8086,8104,8109,113,1089,8093,0,0,8099,114,101,99,59,32768,8926,117,99,99,59,32768,8927,101,101,59,32768,8910,101,100,103,101,59,32768,8911,101,110,33024,164,59,32768,164,101,97,114,114,111,119,512,108,114,8134,8140,101,102,116,59,32768,8630,105,103,104,116,59,32768,8631,101,101,59,32768,8910,101,100,59,32768,8911,512,99,105,8162,8170,111,110,105,110,116,59,32768,8754,110,116,59,32768,8753,108,99,116,121,59,32768,9005,4864,65,72,97,98,99,100,101,102,104,105,106,108,111,114,115,116,117,119,122,8221,8226,8231,8267,8282,8296,8327,8351,8366,8379,8466,8471,8487,8621,8647,8676,8697,8712,8720,114,114,59,32768,8659,97,114,59,32768,10597,1024,103,108,114,115,8240,8246,8252,8256,103,101,114,59,32768,8224,101,116,104,59,32768,8504,114,59,32768,8595,104,512,59,118,8262,8264,32768,8208,59,32768,8867,572,8271,8278,97,114,111,119,59,32768,10511,97,99,59,32768,733,512,97,121,8287,8293,114,111,110,59,32768,271,59,32768,1076,768,59,97,111,8303,8305,8320,32768,8518,512,103,114,8310,8316,103,101,114,59,32768,8225,114,59,32768,8650,116,115,101,113,59,32768,10871,768,103,108,109,8334,8339,8344,33024,176,59,32768,176,116,97,59,32768,948,112,116,121,118,59,32768,10673,512,105,114,8356,8362,115,104,116,59,32768,10623,59,32896,55349,56609,97,114,512,108,114,8373,8376,59,32768,8643,59,32768,8642,1280,97,101,103,115,118,8390,8418,8421,8428,8433,109,768,59,111,115,8398,8400,8415,32768,8900,110,100,512,59,115,8407,8409,32768,8900,117,105,116,59,32768,9830,59,32768,9830,59,32768,168,97,109,109,97,59,32768,989,105,110,59,32768,8946,768,59,105,111,8440,8442,8461,32768,247,100,101,33280,247,59,111,8450,8452,32768,247,110,116,105,109,101,115,59,32768,8903,110,120,59,32768,8903,99,121,59,32768,1106,99,1088,8478,0,0,8483,114,110,59,32768,8990,111,112,59,32768,8973,1280,108,112,116,117,119,8498,8504,8509,8556,8570,108,97,114,59,32768,36,102,59,32896,55349,56661,1280,59,101,109,112,115,8520,8522,8535,8542,8548,32768,729,113,512,59,100,8528,8530,32768,8784,111,116,59,32768,8785,105,110,117,115,59,32768,8760,108,117,115,59,32768,8724,113,117,97,114,101,59,32768,8865,98,108,101,98,97,114,119,101,100,103,101,59,32768,8966,110,768,97,100,104,8578,8585,8597,114,114,111,119,59,32768,8595,111,119,110,97,114,114,111,119,115,59,32768,8650,97,114,112,111,111,110,512,108,114,8608,8614,101,102,116,59,32768,8643,105,103,104,116,59,32768,8642,563,8625,8633,107,97,114,111,119,59,32768,10512,1088,8638,0,0,8643,114,110,59,32768,8991,111,112,59,32768,8972,768,99,111,116,8654,8666,8670,512,114,121,8659,8663,59,32896,55349,56505,59,32768,1109,108,59,32768,10742,114,111,107,59,32768,273,512,100,114,8681,8686,111,116,59,32768,8945,105,512,59,102,8692,8694,32768,9663,59,32768,9662,512,97,104,8702,8707,114,114,59,32768,8693,97,114,59,32768,10607,97,110,103,108,101,59,32768,10662,512,99,105,8725,8729,121,59,32768,1119,103,114,97,114,114,59,32768,10239,4608,68,97,99,100,101,102,103,108,109,110,111,112,113,114,115,116,117,120,8774,8788,8807,8844,8849,8852,8866,8895,8929,8977,8989,9004,9046,9136,9151,9171,9184,9199,512,68,111,8779,8784,111,116,59,32768,10871,116,59,32768,8785,512,99,115,8793,8801,117,116,101,33024,233,59,32768,233,116,101,114,59,32768,10862,1024,97,105,111,121,8816,8822,8835,8841,114,111,110,59,32768,283,114,512,59,99,8828,8830,32768,8790,33024,234,59,32768,234,108,111,110,59,32768,8789,59,32768,1101,111,116,59,32768,279,59,32768,8519,512,68,114,8857,8862,111,116,59,32768,8786,59,32896,55349,56610,768,59,114,115,8873,8875,8883,32768,10906,97,118,101,33024,232,59,32768,232,512,59,100,8888,8890,32768,10902,111,116,59,32768,10904,1024,59,105,108,115,8904,8906,8914,8917,32768,10905,110,116,101,114,115,59,32768,9191,59,32768,8467,512,59,100,8922,8924,32768,10901,111,116,59,32768,10903,768,97,112,115,8936,8941,8960,99,114,59,32768,275,116,121,768,59,115,118,8950,8952,8957,32768,8709,101,116,59,32768,8709,59,32768,8709,112,512,49,59,8966,8975,516,8970,8973,59,32768,8196,59,32768,8197,32768,8195,512,103,115,8982,8985,59,32768,331,112,59,32768,8194,512,103,112,8994,8999,111,110,59,32768,281,102,59,32896,55349,56662,768,97,108,115,9011,9023,9028,114,512,59,115,9017,9019,32768,8917,108,59,32768,10723,117,115,59,32768,10865,105,768,59,108,118,9036,9038,9043,32768,949,111,110,59,32768,949,59,32768,1013,1024,99,115,117,118,9055,9071,9099,9128,512,105,111,9060,9065,114,99,59,32768,8790,108,111,110,59,32768,8789,1082,9077,0,0,9081,109,59,32768,8770,97,110,116,512,103,108,9088,9093,116,114,59,32768,10902,101,115,115,59,32768,10901,768,97,101,105,9106,9111,9116,108,115,59,32768,61,115,116,59,32768,8799,118,512,59,68,9122,9124,32768,8801,68,59,32768,10872,112,97,114,115,108,59,32768,10725,512,68,97,9141,9146,111,116,59,32768,8787,114,114,59,32768,10609,768,99,100,105,9158,9162,9167,114,59,32768,8495,111,116,59,32768,8784,109,59,32768,8770,512,97,104,9176,9179,59,32768,951,33024,240,59,32768,240,512,109,114,9189,9195,108,33024,235,59,32768,235,111,59,32768,8364,768,99,105,112,9206,9210,9215,108,59,32768,33,115,116,59,32768,8707,512,101,111,9220,9230,99,116,97,116,105,111,110,59,32768,8496,110,101,110,116,105,97,108,101,59,32768,8519,4914,9262,0,9276,0,9280,9287,0,0,9318,9324,0,9331,0,9352,9357,9386,0,9395,9497,108,108,105,110,103,100,111,116,115,101,113,59,32768,8786,121,59,32768,1092,109,97,108,101,59,32768,9792,768,105,108,114,9293,9299,9313,108,105,103,59,32768,64259,1082,9305,0,0,9309,103,59,32768,64256,105,103,59,32768,64260,59,32896,55349,56611,108,105,103,59,32768,64257,108,105,103,59,32896,102,106,768,97,108,116,9337,9341,9346,116,59,32768,9837,105,103,59,32768,64258,110,115,59,32768,9649,111,102,59,32768,402,833,9361,0,9366,102,59,32896,55349,56663,512,97,107,9370,9375,108,108,59,32768,8704,512,59,118,9380,9382,32768,8916,59,32768,10969,97,114,116,105,110,116,59,32768,10765,512,97,111,9399,9491,512,99,115,9404,9487,1794,9413,9443,9453,9470,9474,0,9484,1795,9421,9426,9429,9434,9437,0,9440,33024,189,59,32768,189,59,32768,8531,33024,188,59,32768,188,59,32768,8533,59,32768,8537,59,32768,8539,772,9447,0,9450,59,32768,8532,59,32768,8534,1285,9459,9464,0,0,9467,33024,190,59,32768,190,59,32768,8535,59,32768,8540,53,59,32768,8536,775,9478,0,9481,59,32768,8538,59,32768,8541,56,59,32768,8542,108,59,32768,8260,119,110,59,32768,8994,99,114,59,32896,55349,56507,4352,69,97,98,99,100,101,102,103,105,106,108,110,111,114,115,116,118,9537,9547,9575,9582,9595,9600,9679,9684,9694,9700,9705,9725,9773,9779,9785,9810,9917,512,59,108,9542,9544,32768,8807,59,32768,10892,768,99,109,112,9554,9560,9572,117,116,101,59,32768,501,109,97,512,59,100,9567,9569,32768,947,59,32768,989,59,32768,10886,114,101,118,101,59,32768,287,512,105,121,9587,9592,114,99,59,32768,285,59,32768,1075,111,116,59,32768,289,1024,59,108,113,115,9609,9611,9614,9633,32768,8805,59,32768,8923,768,59,113,115,9621,9623,9626,32768,8805,59,32768,8807,108,97,110,116,59,32768,10878,1024,59,99,100,108,9642,9644,9648,9667,32768,10878,99,59,32768,10921,111,116,512,59,111,9655,9657,32768,10880,512,59,108,9662,9664,32768,10882,59,32768,10884,512,59,101,9672,9675,32896,8923,65024,115,59,32768,10900,114,59,32896,55349,56612,512,59,103,9689,9691,32768,8811,59,32768,8921,109,101,108,59,32768,8503,99,121,59,32768,1107,1024,59,69,97,106,9714,9716,9719,9722,32768,8823,59,32768,10898,59,32768,10917,59,32768,10916,1024,69,97,101,115,9734,9737,9751,9768,59,32768,8809,112,512,59,112,9743,9745,32768,10890,114,111,120,59,32768,10890,512,59,113,9756,9758,32768,10888,512,59,113,9763,9765,32768,10888,59,32768,8809,105,109,59,32768,8935,112,102,59,32896,55349,56664,97,118,101,59,32768,96,512,99,105,9790,9794,114,59,32768,8458,109,768,59,101,108,9802,9804,9807,32768,8819,59,32768,10894,59,32768,10896,34304,62,59,99,100,108,113,114,9824,9826,9838,9843,9849,9856,32768,62,512,99,105,9831,9834,59,32768,10919,114,59,32768,10874,111,116,59,32768,8919,80,97,114,59,32768,10645,117,101,115,116,59,32768,10876,1280,97,100,101,108,115,9867,9882,9887,9906,9912,833,9872,0,9879,112,114,111,120,59,32768,10886,114,59,32768,10616,111,116,59,32768,8919,113,512,108,113,9893,9899,101,115,115,59,32768,8923,108,101,115,115,59,32768,10892,101,115,115,59,32768,8823,105,109,59,32768,8819,512,101,110,9922,9932,114,116,110,101,113,113,59,32896,8809,65024,69,59,32896,8809,65024,2560,65,97,98,99,101,102,107,111,115,121,9958,9963,10015,10020,10026,10060,10065,10085,10147,10171,114,114,59,32768,8660,1024,105,108,109,114,9972,9978,9982,9988,114,115,112,59,32768,8202,102,59,32768,189,105,108,116,59,32768,8459,512,100,114,9993,9998,99,121,59,32768,1098,768,59,99,119,10005,10007,10012,32768,8596,105,114,59,32768,10568,59,32768,8621,97,114,59,32768,8463,105,114,99,59,32768,293,768,97,108,114,10033,10048,10054,114,116,115,512,59,117,10041,10043,32768,9829,105,116,59,32768,9829,108,105,112,59,32768,8230,99,111,110,59,32768,8889,114,59,32896,55349,56613,115,512,101,119,10071,10078,97,114,111,119,59,32768,10533,97,114,111,119,59,32768,10534,1280,97,109,111,112,114,10096,10101,10107,10136,10141,114,114,59,32768,8703,116,104,116,59,32768,8763,107,512,108,114,10113,10124,101,102,116,97,114,114,111,119,59,32768,8617,105,103,104,116,97,114,114,111,119,59,32768,8618,102,59,32896,55349,56665,98,97,114,59,32768,8213,768,99,108,116,10154,10159,10165,114,59,32896,55349,56509,97,115,104,59,32768,8463,114,111,107,59,32768,295,512,98,112,10176,10182,117,108,108,59,32768,8259,104,101,110,59,32768,8208,5426,10211,0,10220,0,10239,10255,10267,0,10276,10312,0,0,10318,10371,10458,10485,10491,0,10500,10545,10558,99,117,116,101,33024,237,59,32768,237,768,59,105,121,10226,10228,10235,32768,8291,114,99,33024,238,59,32768,238,59,32768,1080,512,99,120,10243,10247,121,59,32768,1077,99,108,33024,161,59,32768,161,512,102,114,10259,10262,59,32768,8660,59,32896,55349,56614,114,97,118,101,33024,236,59,32768,236,1024,59,105,110,111,10284,10286,10300,10306,32768,8520,512,105,110,10291,10296,110,116,59,32768,10764,116,59,32768,8749,102,105,110,59,32768,10716,116,97,59,32768,8489,108,105,103,59,32768,307,768,97,111,112,10324,10361,10365,768,99,103,116,10331,10335,10357,114,59,32768,299,768,101,108,112,10342,10345,10351,59,32768,8465,105,110,101,59,32768,8464,97,114,116,59,32768,8465,104,59,32768,305,102,59,32768,8887,101,100,59,32768,437,1280,59,99,102,111,116,10381,10383,10389,10403,10409,32768,8712,97,114,101,59,32768,8453,105,110,512,59,116,10396,10398,32768,8734,105,101,59,32768,10717,100,111,116,59,32768,305,1280,59,99,101,108,112,10420,10422,10427,10444,10451,32768,8747,97,108,59,32768,8890,512,103,114,10432,10438,101,114,115,59,32768,8484,99,97,108,59,32768,8890,97,114,104,107,59,32768,10775,114,111,100,59,32768,10812,1024,99,103,112,116,10466,10470,10475,10480,121,59,32768,1105,111,110,59,32768,303,102,59,32896,55349,56666,97,59,32768,953,114,111,100,59,32768,10812,117,101,115,116,33024,191,59,32768,191,512,99,105,10504,10509,114,59,32896,55349,56510,110,1280,59,69,100,115,118,10521,10523,10526,10531,10541,32768,8712,59,32768,8953,111,116,59,32768,8949,512,59,118,10536,10538,32768,8948,59,32768,8947,59,32768,8712,512,59,105,10549,10551,32768,8290,108,100,101,59,32768,297,828,10562,0,10567,99,121,59,32768,1110,108,33024,239,59,32768,239,1536,99,102,109,111,115,117,10585,10598,10603,10609,10615,10630,512,105,121,10590,10595,114,99,59,32768,309,59,32768,1081,114,59,32896,55349,56615,97,116,104,59,32768,567,112,102,59,32896,55349,56667,820,10620,0,10625,114,59,32896,55349,56511,114,99,121,59,32768,1112,107,99,121,59,32768,1108,2048,97,99,102,103,104,106,111,115,10653,10666,10680,10685,10692,10697,10702,10708,112,112,97,512,59,118,10661,10663,32768,954,59,32768,1008,512,101,121,10671,10677,100,105,108,59,32768,311,59,32768,1082,114,59,32896,55349,56616,114,101,101,110,59,32768,312,99,121,59,32768,1093,99,121,59,32768,1116,112,102,59,32896,55349,56668,99,114,59,32896,55349,56512,5888,65,66,69,72,97,98,99,100,101,102,103,104,106,108,109,110,111,112,114,115,116,117,118,10761,10783,10789,10799,10804,10957,11011,11047,11094,11349,11372,11382,11409,11414,11451,11478,11526,11698,11711,11755,11823,11910,11929,768,97,114,116,10768,10773,10777,114,114,59,32768,8666,114,59,32768,8656,97,105,108,59,32768,10523,97,114,114,59,32768,10510,512,59,103,10794,10796,32768,8806,59,32768,10891,97,114,59,32768,10594,4660,10824,0,10830,0,10838,0,0,0,0,0,10844,10850,0,10867,10870,10877,0,10933,117,116,101,59,32768,314,109,112,116,121,118,59,32768,10676,114,97,110,59,32768,8466,98,100,97,59,32768,955,103,768,59,100,108,10857,10859,10862,32768,10216,59,32768,10641,101,59,32768,10216,59,32768,10885,117,111,33024,171,59,32768,171,114,2048,59,98,102,104,108,112,115,116,10894,10896,10907,10911,10915,10919,10923,10928,32768,8592,512,59,102,10901,10903,32768,8676,115,59,32768,10527,115,59,32768,10525,107,59,32768,8617,112,59,32768,8619,108,59,32768,10553,105,109,59,32768,10611,108,59,32768,8610,768,59,97,101,10939,10941,10946,32768,10923,105,108,59,32768,10521,512,59,115,10951,10953,32768,10925,59,32896,10925,65024,768,97,98,114,10964,10969,10974,114,114,59,32768,10508,114,107,59,32768,10098,512,97,107,10979,10991,99,512,101,107,10985,10988,59,32768,123,59,32768,91,512,101,115,10996,10999,59,32768,10635,108,512,100,117,11005,11008,59,32768,10639,59,32768,10637,1024,97,101,117,121,11020,11026,11040,11044,114,111,110,59,32768,318,512,100,105,11031,11036,105,108,59,32768,316,108,59,32768,8968,98,59,32768,123,59,32768,1083,1024,99,113,114,115,11056,11060,11072,11090,97,59,32768,10550,117,111,512,59,114,11067,11069,32768,8220,59,32768,8222,512,100,117,11077,11083,104,97,114,59,32768,10599,115,104,97,114,59,32768,10571,104,59,32768,8626,1280,59,102,103,113,115,11105,11107,11228,11231,11250,32768,8804,116,1280,97,104,108,114,116,11119,11136,11157,11169,11216,114,114,111,119,512,59,116,11128,11130,32768,8592,97,105,108,59,32768,8610,97,114,112,111,111,110,512,100,117,11147,11153,111,119,110,59,32768,8637,112,59,32768,8636,101,102,116,97,114,114,111,119,115,59,32768,8647,105,103,104,116,768,97,104,115,11180,11194,11204,114,114,111,119,512,59,115,11189,11191,32768,8596,59,32768,8646,97,114,112,111,111,110,115,59,32768,8651,113,117,105,103,97,114,114,111,119,59,32768,8621,104,114,101,101,116,105,109,101,115,59,32768,8907,59,32768,8922,768,59,113,115,11238,11240,11243,32768,8804,59,32768,8806,108,97,110,116,59,32768,10877,1280,59,99,100,103,115,11261,11263,11267,11286,11298,32768,10877,99,59,32768,10920,111,116,512,59,111,11274,11276,32768,10879,512,59,114,11281,11283,32768,10881,59,32768,10883,512,59,101,11291,11294,32896,8922,65024,115,59,32768,10899,1280,97,100,101,103,115,11309,11317,11322,11339,11344,112,112,114,111,120,59,32768,10885,111,116,59,32768,8918,113,512,103,113,11328,11333,116,114,59,32768,8922,103,116,114,59,32768,10891,116,114,59,32768,8822,105,109,59,32768,8818,768,105,108,114,11356,11362,11368,115,104,116,59,32768,10620,111,111,114,59,32768,8970,59,32896,55349,56617,512,59,69,11377,11379,32768,8822,59,32768,10897,562,11386,11405,114,512,100,117,11391,11394,59,32768,8637,512,59,108,11399,11401,32768,8636,59,32768,10602,108,107,59,32768,9604,99,121,59,32768,1113,1280,59,97,99,104,116,11425,11427,11432,11440,11446,32768,8810,114,114,59,32768,8647,111,114,110,101,114,59,32768,8990,97,114,100,59,32768,10603,114,105,59,32768,9722,512,105,111,11456,11462,100,111,116,59,32768,320,117,115,116,512,59,97,11470,11472,32768,9136,99,104,101,59,32768,9136,1024,69,97,101,115,11487,11490,11504,11521,59,32768,8808,112,512,59,112,11496,11498,32768,10889,114,111,120,59,32768,10889,512,59,113,11509,11511,32768,10887,512,59,113,11516,11518,32768,10887,59,32768,8808,105,109,59,32768,8934,2048,97,98,110,111,112,116,119,122,11543,11556,11561,11616,11640,11660,11667,11680,512,110,114,11548,11552,103,59,32768,10220,114,59,32768,8701,114,107,59,32768,10214,103,768,108,109,114,11569,11596,11604,101,102,116,512,97,114,11577,11584,114,114,111,119,59,32768,10229,105,103,104,116,97,114,114,111,119,59,32768,10231,97,112,115,116,111,59,32768,10236,105,103,104,116,97,114,114,111,119,59,32768,10230,112,97,114,114,111,119,512,108,114,11627,11633,101,102,116,59,32768,8619,105,103,104,116,59,32768,8620,768,97,102,108,11647,11651,11655,114,59,32768,10629,59,32896,55349,56669,117,115,59,32768,10797,105,109,101,115,59,32768,10804,562,11671,11676,115,116,59,32768,8727,97,114,59,32768,95,768,59,101,102,11687,11689,11695,32768,9674,110,103,101,59,32768,9674,59,32768,10731,97,114,512,59,108,11705,11707,32768,40,116,59,32768,10643,1280,97,99,104,109,116,11722,11727,11735,11747,11750,114,114,59,32768,8646,111,114,110,101,114,59,32768,8991,97,114,512,59,100,11742,11744,32768,8651,59,32768,10605,59,32768,8206,114,105,59,32768,8895,1536,97,99,104,105,113,116,11768,11774,11779,11782,11798,11817,113,117,111,59,32768,8249,114,59,32896,55349,56513,59,32768,8624,109,768,59,101,103,11790,11792,11795,32768,8818,59,32768,10893,59,32768,10895,512,98,117,11803,11806,59,32768,91,111,512,59,114,11812,11814,32768,8216,59,32768,8218,114,111,107,59,32768,322,34816,60,59,99,100,104,105,108,113,114,11841,11843,11855,11860,11866,11872,11878,11885,32768,60,512,99,105,11848,11851,59,32768,10918,114,59,32768,10873,111,116,59,32768,8918,114,101,101,59,32768,8907,109,101,115,59,32768,8905,97,114,114,59,32768,10614,117,101,115,116,59,32768,10875,512,80,105,11890,11895,97,114,59,32768,10646,768,59,101,102,11902,11904,11907,32768,9667,59,32768,8884,59,32768,9666,114,512,100,117,11916,11923,115,104,97,114,59,32768,10570,104,97,114,59,32768,10598,512,101,110,11934,11944,114,116,110,101,113,113,59,32896,8808,65024,69,59,32896,8808,65024,3584,68,97,99,100,101,102,104,105,108,110,111,112,115,117,11978,11984,12061,12075,12081,12095,12100,12104,12170,12181,12188,12204,12207,12223,68,111,116,59,32768,8762,1024,99,108,112,114,11993,11999,12019,12055,114,33024,175,59,32768,175,512,101,116,12004,12007,59,32768,9794,512,59,101,12012,12014,32768,10016,115,101,59,32768,10016,512,59,115,12024,12026,32768,8614,116,111,1024,59,100,108,117,12037,12039,12045,12051,32768,8614,111,119,110,59,32768,8615,101,102,116,59,32768,8612,112,59,32768,8613,107,101,114,59,32768,9646,512,111,121,12066,12072,109,109,97,59,32768,10793,59,32768,1084,97,115,104,59,32768,8212,97,115,117,114,101,100,97,110,103,108,101,59,32768,8737,114,59,32896,55349,56618,111,59,32768,8487,768,99,100,110,12111,12118,12146,114,111,33024,181,59,32768,181,1024,59,97,99,100,12127,12129,12134,12139,32768,8739,115,116,59,32768,42,105,114,59,32768,10992,111,116,33024,183,59,32768,183,117,115,768,59,98,100,12155,12157,12160,32768,8722,59,32768,8863,512,59,117,12165,12167,32768,8760,59,32768,10794,564,12174,12178,112,59,32768,10971,114,59,32768,8230,112,108,117,115,59,32768,8723,512,100,112,12193,12199,101,108,115,59,32768,8871,102,59,32896,55349,56670,59,32768,8723,512,99,116,12212,12217,114,59,32896,55349,56514,112,111,115,59,32768,8766,768,59,108,109,12230,12232,12240,32768,956,116,105,109,97,112,59,32768,8888,97,112,59,32768,8888,6144,71,76,82,86,97,98,99,100,101,102,103,104,105,106,108,109,111,112,114,115,116,117,118,119,12294,12315,12364,12376,12393,12472,12496,12547,12553,12636,12641,12703,12725,12747,12752,12876,12881,12957,13033,13089,13294,13359,13384,13499,512,103,116,12299,12303,59,32896,8921,824,512,59,118,12308,12311,32896,8811,8402,59,32896,8811,824,768,101,108,116,12322,12348,12352,102,116,512,97,114,12329,12336,114,114,111,119,59,32768,8653,105,103,104,116,97,114,114,111,119,59,32768,8654,59,32896,8920,824,512,59,118,12357,12360,32896,8810,8402,59,32896,8810,824,105,103,104,116,97,114,114,111,119,59,32768,8655,512,68,100,12381,12387,97,115,104,59,32768,8879,97,115,104,59,32768,8878,1280,98,99,110,112,116,12404,12409,12415,12420,12452,108,97,59,32768,8711,117,116,101,59,32768,324,103,59,32896,8736,8402,1280,59,69,105,111,112,12431,12433,12437,12442,12446,32768,8777,59,32896,10864,824,100,59,32896,8779,824,115,59,32768,329,114,111,120,59,32768,8777,117,114,512,59,97,12459,12461,32768,9838,108,512,59,115,12467,12469,32768,9838,59,32768,8469,836,12477,0,12483,112,33024,160,59,32768,160,109,112,512,59,101,12489,12492,32896,8782,824,59,32896,8783,824,1280,97,101,111,117,121,12507,12519,12525,12540,12544,833,12512,0,12515,59,32768,10819,111,110,59,32768,328,100,105,108,59,32768,326,110,103,512,59,100,12532,12534,32768,8775,111,116,59,32896,10861,824,112,59,32768,10818,59,32768,1085,97,115,104,59,32768,8211,1792,59,65,97,100,113,115,120,12568,12570,12575,12596,12602,12608,12623,32768,8800,114,114,59,32768,8663,114,512,104,114,12581,12585,107,59,32768,10532,512,59,111,12590,12592,32768,8599,119,59,32768,8599,111,116,59,32896,8784,824,117,105,118,59,32768,8802,512,101,105,12613,12618,97,114,59,32768,10536,109,59,32896,8770,824,105,115,116,512,59,115,12631,12633,32768,8708,59,32768,8708,114,59,32896,55349,56619,1024,69,101,115,116,12650,12654,12688,12693,59,32896,8807,824,768,59,113,115,12661,12663,12684,32768,8817,768,59,113,115,12670,12672,12676,32768,8817,59,32896,8807,824,108,97,110,116,59,32896,10878,824,59,32896,10878,824,105,109,59,32768,8821,512,59,114,12698,12700,32768,8815,59,32768,8815,768,65,97,112,12710,12715,12720,114,114,59,32768,8654,114,114,59,32768,8622,97,114,59,32768,10994,768,59,115,118,12732,12734,12744,32768,8715,512,59,100,12739,12741,32768,8956,59,32768,8954,59,32768,8715,99,121,59,32768,1114,1792,65,69,97,100,101,115,116,12767,12772,12776,12781,12785,12853,12858,114,114,59,32768,8653,59,32896,8806,824,114,114,59,32768,8602,114,59,32768,8229,1024,59,102,113,115,12794,12796,12821,12842,32768,8816,116,512,97,114,12802,12809,114,114,111,119,59,32768,8602,105,103,104,116,97,114,114,111,119,59,32768,8622,768,59,113,115,12828,12830,12834,32768,8816,59,32896,8806,824,108,97,110,116,59,32896,10877,824,512,59,115,12847,12850,32896,10877,824,59,32768,8814,105,109,59,32768,8820,512,59,114,12863,12865,32768,8814,105,512,59,101,12871,12873,32768,8938,59,32768,8940,105,100,59,32768,8740,512,112,116,12886,12891,102,59,32896,55349,56671,33536,172,59,105,110,12899,12901,12936,32768,172,110,1024,59,69,100,118,12911,12913,12917,12923,32768,8713,59,32896,8953,824,111,116,59,32896,8949,824,818,12928,12931,12934,59,32768,8713,59,32768,8951,59,32768,8950,105,512,59,118,12942,12944,32768,8716,818,12949,12952,12955,59,32768,8716,59,32768,8958,59,32768,8957,768,97,111,114,12964,12992,12999,114,1024,59,97,115,116,12974,12976,12983,12988,32768,8742,108,108,101,108,59,32768,8742,108,59,32896,11005,8421,59,32896,8706,824,108,105,110,116,59,32768,10772,768,59,99,101,13006,13008,13013,32768,8832,117,101,59,32768,8928,512,59,99,13018,13021,32896,10927,824,512,59,101,13026,13028,32768,8832,113,59,32896,10927,824,1024,65,97,105,116,13042,13047,13066,13077,114,114,59,32768,8655,114,114,768,59,99,119,13056,13058,13062,32768,8603,59,32896,10547,824,59,32896,8605,824,103,104,116,97,114,114,111,119,59,32768,8603,114,105,512,59,101,13084,13086,32768,8939,59,32768,8941,1792,99,104,105,109,112,113,117,13104,13128,13151,13169,13174,13179,13194,1024,59,99,101,114,13113,13115,13120,13124,32768,8833,117,101,59,32768,8929,59,32896,10928,824,59,32896,55349,56515,111,114,116,1086,13137,0,0,13142,105,100,59,32768,8740,97,114,97,108,108,101,108,59,32768,8742,109,512,59,101,13157,13159,32768,8769,512,59,113,13164,13166,32768,8772,59,32768,8772,105,100,59,32768,8740,97,114,59,32768,8742,115,117,512,98,112,13186,13190,101,59,32768,8930,101,59,32768,8931,768,98,99,112,13201,13241,13254,1024,59,69,101,115,13210,13212,13216,13219,32768,8836,59,32896,10949,824,59,32768,8840,101,116,512,59,101,13226,13229,32896,8834,8402,113,512,59,113,13235,13237,32768,8840,59,32896,10949,824,99,512,59,101,13247,13249,32768,8833,113,59,32896,10928,824,1024,59,69,101,115,13263,13265,13269,13272,32768,8837,59,32896,10950,824,59,32768,8841,101,116,512,59,101,13279,13282,32896,8835,8402,113,512,59,113,13288,13290,32768,8841,59,32896,10950,824,1024,103,105,108,114,13303,13307,13315,13319,108,59,32768,8825,108,100,101,33024,241,59,32768,241,103,59,32768,8824,105,97,110,103,108,101,512,108,114,13330,13344,101,102,116,512,59,101,13338,13340,32768,8938,113,59,32768,8940,105,103,104,116,512,59,101,13353,13355,32768,8939,113,59,32768,8941,512,59,109,13364,13366,32768,957,768,59,101,115,13373,13375,13380,32768,35,114,111,59,32768,8470,112,59,32768,8199,2304,68,72,97,100,103,105,108,114,115,13403,13409,13415,13420,13426,13439,13446,13476,13493,97,115,104,59,32768,8877,97,114,114,59,32768,10500,112,59,32896,8781,8402,97,115,104,59,32768,8876,512,101,116,13431,13435,59,32896,8805,8402,59,32896,62,8402,110,102,105,110,59,32768,10718,768,65,101,116,13453,13458,13462,114,114,59,32768,10498,59,32896,8804,8402,512,59,114,13467,13470,32896,60,8402,105,101,59,32896,8884,8402,512,65,116,13481,13486,114,114,59,32768,10499,114,105,101,59,32896,8885,8402,105,109,59,32896,8764,8402,768,65,97,110,13506,13511,13532,114,114,59,32768,8662,114,512,104,114,13517,13521,107,59,32768,10531,512,59,111,13526,13528,32768,8598,119,59,32768,8598,101,97,114,59,32768,10535,9252,13576,0,0,0,0,0,0,0,0,0,0,0,0,0,13579,0,13596,13617,13653,13659,13673,13695,13708,0,0,13713,13750,0,13788,13794,0,13815,13890,13913,13937,13944,59,32768,9416,512,99,115,13583,13591,117,116,101,33024,243,59,32768,243,116,59,32768,8859,512,105,121,13600,13613,114,512,59,99,13606,13608,32768,8858,33024,244,59,32768,244,59,32768,1086,1280,97,98,105,111,115,13627,13632,13638,13642,13646,115,104,59,32768,8861,108,97,99,59,32768,337,118,59,32768,10808,116,59,32768,8857,111,108,100,59,32768,10684,108,105,103,59,32768,339,512,99,114,13663,13668,105,114,59,32768,10687,59,32896,55349,56620,1600,13680,0,0,13684,0,13692,110,59,32768,731,97,118,101,33024,242,59,32768,242,59,32768,10689,512,98,109,13699,13704,97,114,59,32768,10677,59,32768,937,110,116,59,32768,8750,1024,97,99,105,116,13721,13726,13741,13746,114,114,59,32768,8634,512,105,114,13731,13735,114,59,32768,10686,111,115,115,59,32768,10683,110,101,59,32768,8254,59,32768,10688,768,97,101,105,13756,13761,13766,99,114,59,32768,333,103,97,59,32768,969,768,99,100,110,13773,13779,13782,114,111,110,59,32768,959,59,32768,10678,117,115,59,32768,8854,112,102,59,32896,55349,56672,768,97,101,108,13800,13804,13809,114,59,32768,10679,114,112,59,32768,10681,117,115,59,32768,8853,1792,59,97,100,105,111,115,118,13829,13831,13836,13869,13875,13879,13886,32768,8744,114,114,59,32768,8635,1024,59,101,102,109,13845,13847,13859,13864,32768,10845,114,512,59,111,13853,13855,32768,8500,102,59,32768,8500,33024,170,59,32768,170,33024,186,59,32768,186,103,111,102,59,32768,8886,114,59,32768,10838,108,111,112,101,59,32768,10839,59,32768,10843,768,99,108,111,13896,13900,13908,114,59,32768,8500,97,115,104,33024,248,59,32768,248,108,59,32768,8856,105,573,13917,13924,100,101,33024,245,59,32768,245,101,115,512,59,97,13930,13932,32768,8855,115,59,32768,10806,109,108,33024,246,59,32768,246,98,97,114,59,32768,9021,5426,13972,0,14013,0,14017,14053,0,14058,14086,0,0,14107,14199,0,14202,0,0,14229,14425,0,14438,114,1024,59,97,115,116,13981,13983,13997,14009,32768,8741,33280,182,59,108,13989,13991,32768,182,108,101,108,59,32768,8741,1082,14003,0,0,14007,109,59,32768,10995,59,32768,11005,59,32768,8706,121,59,32768,1087,114,1280,99,105,109,112,116,14028,14033,14038,14043,14046,110,116,59,32768,37,111,100,59,32768,46,105,108,59,32768,8240,59,32768,8869,101,110,107,59,32768,8241,114,59,32896,55349,56621,768,105,109,111,14064,14074,14080,512,59,118,14069,14071,32768,966,59,32768,981,109,97,116,59,32768,8499,110,101,59,32768,9742,768,59,116,118,14092,14094,14103,32768,960,99,104,102,111,114,107,59,32768,8916,59,32768,982,512,97,117,14111,14132,110,512,99,107,14117,14128,107,512,59,104,14123,14125,32768,8463,59,32768,8462,118,59,32768,8463,115,2304,59,97,98,99,100,101,109,115,116,14152,14154,14160,14163,14168,14179,14182,14188,14193,32768,43,99,105,114,59,32768,10787,59,32768,8862,105,114,59,32768,10786,512,111,117,14173,14176,59,32768,8724,59,32768,10789,59,32768,10866,110,33024,177,59,32768,177,105,109,59,32768,10790,119,111,59,32768,10791,59,32768,177,768,105,112,117,14208,14216,14221,110,116,105,110,116,59,32768,10773,102,59,32896,55349,56673,110,100,33024,163,59,32768,163,2560,59,69,97,99,101,105,110,111,115,117,14249,14251,14254,14258,14263,14336,14348,14367,14413,14418,32768,8826,59,32768,10931,112,59,32768,10935,117,101,59,32768,8828,512,59,99,14268,14270,32768,10927,1536,59,97,99,101,110,115,14283,14285,14293,14302,14306,14331,32768,8826,112,112,114,111,120,59,32768,10935,117,114,108,121,101,113,59,32768,8828,113,59,32768,10927,768,97,101,115,14313,14321,14326,112,112,114,111,120,59,32768,10937,113,113,59,32768,10933,105,109,59,32768,8936,105,109,59,32768,8830,109,101,512,59,115,14343,14345,32768,8242,59,32768,8473,768,69,97,115,14355,14358,14362,59,32768,10933,112,59,32768,10937,105,109,59,32768,8936,768,100,102,112,14374,14377,14402,59,32768,8719,768,97,108,115,14384,14390,14396,108,97,114,59,32768,9006,105,110,101,59,32768,8978,117,114,102,59,32768,8979,512,59,116,14407,14409,32768,8733,111,59,32768,8733,105,109,59,32768,8830,114,101,108,59,32768,8880,512,99,105,14429,14434,114,59,32896,55349,56517,59,32768,968,110,99,115,112,59,32768,8200,1536,102,105,111,112,115,117,14457,14462,14467,14473,14480,14486,114,59,32896,55349,56622,110,116,59,32768,10764,112,102,59,32896,55349,56674,114,105,109,101,59,32768,8279,99,114,59,32896,55349,56518,768,97,101,111,14493,14513,14526,116,512,101,105,14499,14508,114,110,105,111,110,115,59,32768,8461,110,116,59,32768,10774,115,116,512,59,101,14520,14522,32768,63,113,59,32768,8799,116,33024,34,59,32768,34,5376,65,66,72,97,98,99,100,101,102,104,105,108,109,110,111,112,114,115,116,117,120,14575,14597,14603,14608,14775,14829,14865,14901,14943,14966,15e3,15139,15159,15176,15182,15236,15261,15267,15309,15352,15360,768,97,114,116,14582,14587,14591,114,114,59,32768,8667,114,59,32768,8658,97,105,108,59,32768,10524,97,114,114,59,32768,10511,97,114,59,32768,10596,1792,99,100,101,110,113,114,116,14623,14637,14642,14650,14672,14679,14751,512,101,117,14628,14632,59,32896,8765,817,116,101,59,32768,341,105,99,59,32768,8730,109,112,116,121,118,59,32768,10675,103,1024,59,100,101,108,14660,14662,14665,14668,32768,10217,59,32768,10642,59,32768,10661,101,59,32768,10217,117,111,33024,187,59,32768,187,114,2816,59,97,98,99,102,104,108,112,115,116,119,14703,14705,14709,14720,14723,14727,14731,14735,14739,14744,14748,32768,8594,112,59,32768,10613,512,59,102,14714,14716,32768,8677,115,59,32768,10528,59,32768,10547,115,59,32768,10526,107,59,32768,8618,112,59,32768,8620,108,59,32768,10565,105,109,59,32768,10612,108,59,32768,8611,59,32768,8605,512,97,105,14756,14761,105,108,59,32768,10522,111,512,59,110,14767,14769,32768,8758,97,108,115,59,32768,8474,768,97,98,114,14782,14787,14792,114,114,59,32768,10509,114,107,59,32768,10099,512,97,107,14797,14809,99,512,101,107,14803,14806,59,32768,125,59,32768,93,512,101,115,14814,14817,59,32768,10636,108,512,100,117,14823,14826,59,32768,10638,59,32768,10640,1024,97,101,117,121,14838,14844,14858,14862,114,111,110,59,32768,345,512,100,105,14849,14854,105,108,59,32768,343,108,59,32768,8969,98,59,32768,125,59,32768,1088,1024,99,108,113,115,14874,14878,14885,14897,97,59,32768,10551,100,104,97,114,59,32768,10601,117,111,512,59,114,14892,14894,32768,8221,59,32768,8221,104,59,32768,8627,768,97,99,103,14908,14934,14938,108,1024,59,105,112,115,14918,14920,14925,14931,32768,8476,110,101,59,32768,8475,97,114,116,59,32768,8476,59,32768,8477,116,59,32768,9645,33024,174,59,32768,174,768,105,108,114,14950,14956,14962,115,104,116,59,32768,10621,111,111,114,59,32768,8971,59,32896,55349,56623,512,97,111,14971,14990,114,512,100,117,14977,14980,59,32768,8641,512,59,108,14985,14987,32768,8640,59,32768,10604,512,59,118,14995,14997,32768,961,59,32768,1009,768,103,110,115,15007,15123,15127,104,116,1536,97,104,108,114,115,116,15022,15039,15060,15086,15099,15111,114,114,111,119,512,59,116,15031,15033,32768,8594,97,105,108,59,32768,8611,97,114,112,111,111,110,512,100,117,15050,15056,111,119,110,59,32768,8641,112,59,32768,8640,101,102,116,512,97,104,15068,15076,114,114,111,119,115,59,32768,8644,97,114,112,111,111,110,115,59,32768,8652,105,103,104,116,97,114,114,111,119,115,59,32768,8649,113,117,105,103,97,114,114,111,119,59,32768,8605,104,114,101,101,116,105,109,101,115,59,32768,8908,103,59,32768,730,105,110,103,100,111,116,115,101,113,59,32768,8787,768,97,104,109,15146,15151,15156,114,114,59,32768,8644,97,114,59,32768,8652,59,32768,8207,111,117,115,116,512,59,97,15168,15170,32768,9137,99,104,101,59,32768,9137,109,105,100,59,32768,10990,1024,97,98,112,116,15191,15204,15209,15229,512,110,114,15196,15200,103,59,32768,10221,114,59,32768,8702,114,107,59,32768,10215,768,97,102,108,15216,15220,15224,114,59,32768,10630,59,32896,55349,56675,117,115,59,32768,10798,105,109,101,115,59,32768,10805,512,97,112,15241,15253,114,512,59,103,15247,15249,32768,41,116,59,32768,10644,111,108,105,110,116,59,32768,10770,97,114,114,59,32768,8649,1024,97,99,104,113,15276,15282,15287,15290,113,117,111,59,32768,8250,114,59,32896,55349,56519,59,32768,8625,512,98,117,15295,15298,59,32768,93,111,512,59,114,15304,15306,32768,8217,59,32768,8217,768,104,105,114,15316,15322,15328,114,101,101,59,32768,8908,109,101,115,59,32768,8906,105,1024,59,101,102,108,15338,15340,15343,15346,32768,9657,59,32768,8885,59,32768,9656,116,114,105,59,32768,10702,108,117,104,97,114,59,32768,10600,59,32768,8478,6706,15391,15398,15404,15499,15516,15592,0,15606,15660,0,0,15752,15758,0,15827,15863,15886,16e3,16006,16038,16086,0,16467,0,0,16506,99,117,116,101,59,32768,347,113,117,111,59,32768,8218,2560,59,69,97,99,101,105,110,112,115,121,15424,15426,15429,15441,15446,15458,15463,15482,15490,15495,32768,8827,59,32768,10932,833,15434,0,15437,59,32768,10936,111,110,59,32768,353,117,101,59,32768,8829,512,59,100,15451,15453,32768,10928,105,108,59,32768,351,114,99,59,32768,349,768,69,97,115,15470,15473,15477,59,32768,10934,112,59,32768,10938,105,109,59,32768,8937,111,108,105,110,116,59,32768,10771,105,109,59,32768,8831,59,32768,1089,111,116,768,59,98,101,15507,15509,15512,32768,8901,59,32768,8865,59,32768,10854,1792,65,97,99,109,115,116,120,15530,15535,15556,15562,15566,15572,15587,114,114,59,32768,8664,114,512,104,114,15541,15545,107,59,32768,10533,512,59,111,15550,15552,32768,8600,119,59,32768,8600,116,33024,167,59,32768,167,105,59,32768,59,119,97,114,59,32768,10537,109,512,105,110,15578,15584,110,117,115,59,32768,8726,59,32768,8726,116,59,32768,10038,114,512,59,111,15597,15600,32896,55349,56624,119,110,59,32768,8994,1024,97,99,111,121,15614,15619,15632,15654,114,112,59,32768,9839,512,104,121,15624,15629,99,121,59,32768,1097,59,32768,1096,114,116,1086,15640,0,0,15645,105,100,59,32768,8739,97,114,97,108,108,101,108,59,32768,8741,33024,173,59,32768,173,512,103,109,15664,15681,109,97,768,59,102,118,15673,15675,15678,32768,963,59,32768,962,59,32768,962,2048,59,100,101,103,108,110,112,114,15698,15700,15705,15715,15725,15735,15739,15745,32768,8764,111,116,59,32768,10858,512,59,113,15710,15712,32768,8771,59,32768,8771,512,59,69,15720,15722,32768,10910,59,32768,10912,512,59,69,15730,15732,32768,10909,59,32768,10911,101,59,32768,8774,108,117,115,59,32768,10788,97,114,114,59,32768,10610,97,114,114,59,32768,8592,1024,97,101,105,116,15766,15788,15796,15808,512,108,115,15771,15783,108,115,101,116,109,105,110,117,115,59,32768,8726,104,112,59,32768,10803,112,97,114,115,108,59,32768,10724,512,100,108,15801,15804,59,32768,8739,101,59,32768,8995,512,59,101,15813,15815,32768,10922,512,59,115,15820,15822,32768,10924,59,32896,10924,65024,768,102,108,112,15833,15839,15857,116,99,121,59,32768,1100,512,59,98,15844,15846,32768,47,512,59,97,15851,15853,32768,10692,114,59,32768,9023,102,59,32896,55349,56676,97,512,100,114,15868,15882,101,115,512,59,117,15875,15877,32768,9824,105,116,59,32768,9824,59,32768,8741,768,99,115,117,15892,15921,15977,512,97,117,15897,15909,112,512,59,115,15903,15905,32768,8851,59,32896,8851,65024,112,512,59,115,15915,15917,32768,8852,59,32896,8852,65024,117,512,98,112,15927,15952,768,59,101,115,15934,15936,15939,32768,8847,59,32768,8849,101,116,512,59,101,15946,15948,32768,8847,113,59,32768,8849,768,59,101,115,15959,15961,15964,32768,8848,59,32768,8850,101,116,512,59,101,15971,15973,32768,8848,113,59,32768,8850,768,59,97,102,15984,15986,15996,32768,9633,114,566,15991,15994,59,32768,9633,59,32768,9642,59,32768,9642,97,114,114,59,32768,8594,1024,99,101,109,116,16014,16019,16025,16031,114,59,32896,55349,56520,116,109,110,59,32768,8726,105,108,101,59,32768,8995,97,114,102,59,32768,8902,512,97,114,16042,16053,114,512,59,102,16048,16050,32768,9734,59,32768,9733,512,97,110,16058,16081,105,103,104,116,512,101,112,16067,16076,112,115,105,108,111,110,59,32768,1013,104,105,59,32768,981,115,59,32768,175,1280,98,99,109,110,112,16096,16221,16288,16291,16295,2304,59,69,100,101,109,110,112,114,115,16115,16117,16120,16125,16137,16143,16154,16160,16166,32768,8834,59,32768,10949,111,116,59,32768,10941,512,59,100,16130,16132,32768,8838,111,116,59,32768,10947,117,108,116,59,32768,10945,512,69,101,16148,16151,59,32768,10955,59,32768,8842,108,117,115,59,32768,10943,97,114,114,59,32768,10617,768,101,105,117,16173,16206,16210,116,768,59,101,110,16181,16183,16194,32768,8834,113,512,59,113,16189,16191,32768,8838,59,32768,10949,101,113,512,59,113,16201,16203,32768,8842,59,32768,10955,109,59,32768,10951,512,98,112,16215,16218,59,32768,10965,59,32768,10963,99,1536,59,97,99,101,110,115,16235,16237,16245,16254,16258,16283,32768,8827,112,112,114,111,120,59,32768,10936,117,114,108,121,101,113,59,32768,8829,113,59,32768,10928,768,97,101,115,16265,16273,16278,112,112,114,111,120,59,32768,10938,113,113,59,32768,10934,105,109,59,32768,8937,105,109,59,32768,8831,59,32768,8721,103,59,32768,9834,3328,49,50,51,59,69,100,101,104,108,109,110,112,115,16322,16327,16332,16337,16339,16342,16356,16368,16382,16388,16394,16405,16411,33024,185,59,32768,185,33024,178,59,32768,178,33024,179,59,32768,179,32768,8835,59,32768,10950,512,111,115,16347,16351,116,59,32768,10942,117,98,59,32768,10968,512,59,100,16361,16363,32768,8839,111,116,59,32768,10948,115,512,111,117,16374,16378,108,59,32768,10185,98,59,32768,10967,97,114,114,59,32768,10619,117,108,116,59,32768,10946,512,69,101,16399,16402,59,32768,10956,59,32768,8843,108,117,115,59,32768,10944,768,101,105,117,16418,16451,16455,116,768,59,101,110,16426,16428,16439,32768,8835,113,512,59,113,16434,16436,32768,8839,59,32768,10950,101,113,512,59,113,16446,16448,32768,8843,59,32768,10956,109,59,32768,10952,512,98,112,16460,16463,59,32768,10964,59,32768,10966,768,65,97,110,16473,16478,16499,114,114,59,32768,8665,114,512,104,114,16484,16488,107,59,32768,10534,512,59,111,16493,16495,32768,8601,119,59,32768,8601,119,97,114,59,32768,10538,108,105,103,33024,223,59,32768,223,5938,16538,16552,16557,16579,16584,16591,0,16596,16692,0,0,0,0,0,16731,16780,0,16787,16908,0,0,0,16938,1091,16543,0,0,16549,103,101,116,59,32768,8982,59,32768,964,114,107,59,32768,9140,768,97,101,121,16563,16569,16575,114,111,110,59,32768,357,100,105,108,59,32768,355,59,32768,1090,111,116,59,32768,8411,108,114,101,99,59,32768,8981,114,59,32896,55349,56625,1024,101,105,107,111,16604,16641,16670,16684,835,16609,0,16624,101,512,52,102,16614,16617,59,32768,8756,111,114,101,59,32768,8756,97,768,59,115,118,16631,16633,16638,32768,952,121,109,59,32768,977,59,32768,977,512,99,110,16646,16665,107,512,97,115,16652,16660,112,112,114,111,120,59,32768,8776,105,109,59,32768,8764,115,112,59,32768,8201,512,97,115,16675,16679,112,59,32768,8776,105,109,59,32768,8764,114,110,33024,254,59,32768,254,829,16696,16701,16727,100,101,59,32768,732,101,115,33536,215,59,98,100,16710,16712,16723,32768,215,512,59,97,16717,16719,32768,8864,114,59,32768,10801,59,32768,10800,116,59,32768,8749,768,101,112,115,16737,16741,16775,97,59,32768,10536,1024,59,98,99,102,16750,16752,16757,16762,32768,8868,111,116,59,32768,9014,105,114,59,32768,10993,512,59,111,16767,16770,32896,55349,56677,114,107,59,32768,10970,97,59,32768,10537,114,105,109,101,59,32768,8244,768,97,105,112,16793,16798,16899,100,101,59,32768,8482,1792,97,100,101,109,112,115,116,16813,16868,16873,16876,16883,16889,16893,110,103,108,101,1280,59,100,108,113,114,16828,16830,16836,16850,16853,32768,9653,111,119,110,59,32768,9663,101,102,116,512,59,101,16844,16846,32768,9667,113,59,32768,8884,59,32768,8796,105,103,104,116,512,59,101,16862,16864,32768,9657,113,59,32768,8885,111,116,59,32768,9708,59,32768,8796,105,110,117,115,59,32768,10810,108,117,115,59,32768,10809,98,59,32768,10701,105,109,101,59,32768,10811,101,122,105,117,109,59,32768,9186,768,99,104,116,16914,16926,16931,512,114,121,16919,16923,59,32896,55349,56521,59,32768,1094,99,121,59,32768,1115,114,111,107,59,32768,359,512,105,111,16942,16947,120,116,59,32768,8812,104,101,97,100,512,108,114,16956,16967,101,102,116,97,114,114,111,119,59,32768,8606,105,103,104,116,97,114,114,111,119,59,32768,8608,4608,65,72,97,98,99,100,102,103,104,108,109,111,112,114,115,116,117,119,17016,17021,17026,17043,17057,17072,17095,17110,17119,17139,17172,17187,17202,17290,17330,17336,17365,17381,114,114,59,32768,8657,97,114,59,32768,10595,512,99,114,17031,17039,117,116,101,33024,250,59,32768,250,114,59,32768,8593,114,820,17049,0,17053,121,59,32768,1118,118,101,59,32768,365,512,105,121,17062,17069,114,99,33024,251,59,32768,251,59,32768,1091,768,97,98,104,17079,17084,17090,114,114,59,32768,8645,108,97,99,59,32768,369,97,114,59,32768,10606,512,105,114,17100,17106,115,104,116,59,32768,10622,59,32896,55349,56626,114,97,118,101,33024,249,59,32768,249,562,17123,17135,114,512,108,114,17128,17131,59,32768,8639,59,32768,8638,108,107,59,32768,9600,512,99,116,17144,17167,1088,17150,0,0,17163,114,110,512,59,101,17156,17158,32768,8988,114,59,32768,8988,111,112,59,32768,8975,114,105,59,32768,9720,512,97,108,17177,17182,99,114,59,32768,363,33024,168,59,32768,168,512,103,112,17192,17197,111,110,59,32768,371,102,59,32896,55349,56678,1536,97,100,104,108,115,117,17215,17222,17233,17257,17262,17280,114,114,111,119,59,32768,8593,111,119,110,97,114,114,111,119,59,32768,8597,97,114,112,111,111,110,512,108,114,17244,17250,101,102,116,59,32768,8639,105,103,104,116,59,32768,8638,117,115,59,32768,8846,105,768,59,104,108,17270,17272,17275,32768,965,59,32768,978,111,110,59,32768,965,112,97,114,114,111,119,115,59,32768,8648,768,99,105,116,17297,17320,17325,1088,17303,0,0,17316,114,110,512,59,101,17309,17311,32768,8989,114,59,32768,8989,111,112,59,32768,8974,110,103,59,32768,367,114,105,59,32768,9721,99,114,59,32896,55349,56522,768,100,105,114,17343,17348,17354,111,116,59,32768,8944,108,100,101,59,32768,361,105,512,59,102,17360,17362,32768,9653,59,32768,9652,512,97,109,17370,17375,114,114,59,32768,8648,108,33024,252,59,32768,252,97,110,103,108,101,59,32768,10663,3840,65,66,68,97,99,100,101,102,108,110,111,112,114,115,122,17420,17425,17437,17443,17613,17617,17623,17667,17672,17678,17693,17699,17705,17711,17754,114,114,59,32768,8661,97,114,512,59,118,17432,17434,32768,10984,59,32768,10985,97,115,104,59,32768,8872,512,110,114,17448,17454,103,114,116,59,32768,10652,1792,101,107,110,112,114,115,116,17469,17478,17485,17494,17515,17526,17578,112,115,105,108,111,110,59,32768,1013,97,112,112,97,59,32768,1008,111,116,104,105,110,103,59,32768,8709,768,104,105,114,17501,17505,17508,105,59,32768,981,59,32768,982,111,112,116,111,59,32768,8733,512,59,104,17520,17522,32768,8597,111,59,32768,1009,512,105,117,17531,17537,103,109,97,59,32768,962,512,98,112,17542,17560,115,101,116,110,101,113,512,59,113,17553,17556,32896,8842,65024,59,32896,10955,65024,115,101,116,110,101,113,512,59,113,17571,17574,32896,8843,65024,59,32896,10956,65024,512,104,114,17583,17589,101,116,97,59,32768,977,105,97,110,103,108,101,512,108,114,17600,17606,101,102,116,59,32768,8882,105,103,104,116,59,32768,8883,121,59,32768,1074,97,115,104,59,32768,8866,768,101,108,114,17630,17648,17654,768,59,98,101,17637,17639,17644,32768,8744,97,114,59,32768,8891,113,59,32768,8794,108,105,112,59,32768,8942,512,98,116,17659,17664,97,114,59,32768,124,59,32768,124,114,59,32896,55349,56627,116,114,105,59,32768,8882,115,117,512,98,112,17685,17689,59,32896,8834,8402,59,32896,8835,8402,112,102,59,32896,55349,56679,114,111,112,59,32768,8733,116,114,105,59,32768,8883,512,99,117,17716,17721,114,59,32896,55349,56523,512,98,112,17726,17740,110,512,69,101,17732,17736,59,32896,10955,65024,59,32896,8842,65024,110,512,69,101,17746,17750,59,32896,10956,65024,59,32896,8843,65024,105,103,122,97,103,59,32768,10650,1792,99,101,102,111,112,114,115,17777,17783,17815,17820,17826,17829,17842,105,114,99,59,32768,373,512,100,105,17788,17809,512,98,103,17793,17798,97,114,59,32768,10847,101,512,59,113,17804,17806,32768,8743,59,32768,8793,101,114,112,59,32768,8472,114,59,32896,55349,56628,112,102,59,32896,55349,56680,59,32768,8472,512,59,101,17834,17836,32768,8768,97,116,104,59,32768,8768,99,114,59,32896,55349,56524,5428,17871,17891,0,17897,0,17902,17917,0,0,17920,17935,17940,17945,0,0,17977,17992,0,18008,18024,18029,768,97,105,117,17877,17881,17886,112,59,32768,8898,114,99,59,32768,9711,112,59,32768,8899,116,114,105,59,32768,9661,114,59,32896,55349,56629,512,65,97,17906,17911,114,114,59,32768,10234,114,114,59,32768,10231,59,32768,958,512,65,97,17924,17929,114,114,59,32768,10232,114,114,59,32768,10229,97,112,59,32768,10236,105,115,59,32768,8955,768,100,112,116,17951,17956,17970,111,116,59,32768,10752,512,102,108,17961,17965,59,32896,55349,56681,117,115,59,32768,10753,105,109,101,59,32768,10754,512,65,97,17981,17986,114,114,59,32768,10233,114,114,59,32768,10230,512,99,113,17996,18001,114,59,32896,55349,56525,99,117,112,59,32768,10758,512,112,116,18012,18018,108,117,115,59,32768,10756,114,105,59,32768,9651,101,101,59,32768,8897,101,100,103,101,59,32768,8896,2048,97,99,101,102,105,111,115,117,18052,18068,18081,18087,18092,18097,18103,18109,99,512,117,121,18058,18065,116,101,33024,253,59,32768,253,59,32768,1103,512,105,121,18073,18078,114,99,59,32768,375,59,32768,1099,110,33024,165,59,32768,165,114,59,32896,55349,56630,99,121,59,32768,1111,112,102,59,32896,55349,56682,99,114,59,32896,55349,56526,512,99,109,18114,18118,121,59,32768,1102,108,33024,255,59,32768,255,2560,97,99,100,101,102,104,105,111,115,119,18145,18152,18166,18171,18186,18191,18196,18204,18210,18216,99,117,116,101,59,32768,378,512,97,121,18157,18163,114,111,110,59,32768,382,59,32768,1079,111,116,59,32768,380,512,101,116,18176,18182,116,114,102,59,32768,8488,97,59,32768,950,114,59,32896,55349,56631,99,121,59,32768,1078,103,114,97,114,114,59,32768,8669,112,102,59,32896,55349,56683,99,114,59,32896,55349,56527,512,106,110,18221,18224,59,32768,8205,106,59,32768,8204])},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=new Uint16Array([1024,97,103,108,113,9,23,27,31,1086,15,0,0,19,112,59,32768,38,111,115,59,32768,39,116,59,32768,62,116,59,32768,60,117,111,116,59,32768,34])},function(e,t,r){"use strict";var n=this&&this.__assign||function(){return(n=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var o in t=arguments[r])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)},o=this&&this.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r),Object.defineProperty(e,n,{enumerable:!0,get:function(){return t[r]}})}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]}),i=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),a=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)"default"!==r&&Object.prototype.hasOwnProperty.call(e,r)&&o(t,e,r);return i(t,e),t};Object.defineProperty(t,"__esModule",{value:!0});var u=a(r(141)),s=r(705),c=r(709),l=new Set(["style","script","xmp","iframe","noembed","noframes","plaintext","noscript"]);var f=new Set(["area","base","basefont","br","col","command","embed","frame","hr","img","input","isindex","keygen","link","meta","param","source","track","wbr"]);function p(e,t){void 0===t&&(t={});for(var r=("length"in e?e:[e]),n="",o=0;o<r.length;o++)n+=d(r[o],t);return n}function d(e,t){switch(e.type){case u.Root:return p(e.children,t);case u.Directive:case u.Doctype:return"<"+e.data+">";case u.Comment:return function(e){return"\x3c!--"+e.data+"--\x3e"}(e);case u.CDATA:return function(e){return"<![CDATA["+e.children[0].data+"]]>"}(e);case u.Script:case u.Style:case u.Tag:return function(e,t){var r;"foreign"===t.xmlMode&&(e.name=null!==(r=c.elementNames.get(e.name))&&void 0!==r?r:e.name,e.parent&&h.has(e.parent.name)&&(t=n(n({},t),{xmlMode:!1})));!t.xmlMode&&y.has(e.name)&&(t=n(n({},t),{xmlMode:"foreign"}));var o="<"+e.name,i=function(e,t){if(e)return Object.keys(e).map((function(r){var n,o,i=null!==(n=e[r])&&void 0!==n?n:"";return"foreign"===t.xmlMode&&(r=null!==(o=c.attributeNames.get(r))&&void 0!==o?o:r),t.emptyAttrs||t.xmlMode||""!==i?r+'="'+(!1!==t.decodeEntities?s.encodeXML(i):i.replace(/"/g,"&quot;"))+'"':r})).join(" ")}(e.attribs,t);i&&(o+=" "+i);0===e.children.length&&(t.xmlMode?!1!==t.selfClosingTags:t.selfClosingTags&&f.has(e.name))?(t.xmlMode||(o+=" "),o+="/>"):(o+=">",e.children.length>0&&(o+=p(e.children,t)),!t.xmlMode&&f.has(e.name)||(o+="</"+e.name+">"));return o}(e,t);case u.Text:return function(e,t){var r=e.data||"";!1===t.decodeEntities||!t.xmlMode&&e.parent&&l.has(e.parent.name)||(r=s.encodeXML(r));return r}(e,t)}}t.default=p;var h=new Set(["mi","mo","mn","ms","mtext","annotation-xml","foreignObject","desc","title"]),y=new Set(["svg","math"])},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.decodeXMLStrict=t.decodeHTML5Strict=t.decodeHTML4Strict=t.decodeHTML5=t.decodeHTML4=t.decodeHTMLStrict=t.decodeHTML=t.decodeXML=t.encodeHTML5=t.encodeHTML4=t.escapeUTF8=t.escape=t.encodeNonAsciiHTML=t.encodeHTML=t.encodeXML=t.encode=t.decodeStrict=t.decode=void 0;var n=r(399),o=r(402);t.decode=function(e,t){return(!t||t<=0?n.decodeXML:n.decodeHTML)(e)},t.decodeStrict=function(e,t){return(!t||t<=0?n.decodeXML:n.decodeHTMLStrict)(e)},t.encode=function(e,t){return(!t||t<=0?o.encodeXML:o.encodeHTML)(e)};var i=r(402);Object.defineProperty(t,"encodeXML",{enumerable:!0,get:function(){return i.encodeXML}}),Object.defineProperty(t,"encodeHTML",{enumerable:!0,get:function(){return i.encodeHTML}}),Object.defineProperty(t,"encodeNonAsciiHTML",{enumerable:!0,get:function(){return i.encodeNonAsciiHTML}}),Object.defineProperty(t,"escape",{enumerable:!0,get:function(){return i.escape}}),Object.defineProperty(t,"escapeUTF8",{enumerable:!0,get:function(){return i.escapeUTF8}}),Object.defineProperty(t,"encodeHTML4",{enumerable:!0,get:function(){return i.encodeHTML}}),Object.defineProperty(t,"encodeHTML5",{enumerable:!0,get:function(){return i.encodeHTML}});var a=r(399);Object.defineProperty(t,"decodeXML",{enumerable:!0,get:function(){return a.decodeXML}}),Object.defineProperty(t,"decodeHTML",{enumerable:!0,get:function(){return a.decodeHTML}}),Object.defineProperty(t,"decodeHTMLStrict",{enumerable:!0,get:function(){return a.decodeHTMLStrict}}),Object.defineProperty(t,"decodeHTML4",{enumerable:!0,get:function(){return a.decodeHTML}}),Object.defineProperty(t,"decodeHTML5",{enumerable:!0,get:function(){return a.decodeHTML}}),Object.defineProperty(t,"decodeHTML4Strict",{enumerable:!0,get:function(){return a.decodeHTMLStrict}}),Object.defineProperty(t,"decodeHTML5Strict",{enumerable:!0,get:function(){return a.decodeHTMLStrict}}),Object.defineProperty(t,"decodeXMLStrict",{enumerable:!0,get:function(){return 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,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});var o=n(r(708)),i=String.fromCodePoint||function(e){var t="";return e>65535&&(e-=65536,t+=String.fromCharCode(e>>>10&1023|55296),e=56320|1023&e),t+=String.fromCharCode(e)};t.default=function(e){return e>=55296&&e<=57343||e>1114111?"�":(e in o.default&&(e=o.default[e]),i(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,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.attributeNames=t.elementNames=void 0,t.elementNames=new Map([["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"]]),t.attributeNames=new Map([["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,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.prevElementSibling=t.nextElementSibling=t.getName=t.hasAttrib=t.getAttributeValue=t.getSiblings=t.getParent=t.getChildren=void 0;var n=r(70),o=[];function i(e){var t;return null!==(t=e.children)&&void 0!==t?t:o}function a(e){return e.parent||null}t.getChildren=i,t.getParent=a,t.getSiblings=function(e){var t=a(e);if(null!=t)return i(t);for(var r=[e],n=e.prev,o=e.next;null!=n;)r.unshift(n),n=n.prev;for(;null!=o;)r.push(o),o=o.next;return r},t.getAttributeValue=function(e,t){var r;return null===(r=e.attribs)||void 0===r?void 0:r[t]},t.hasAttrib=function(e,t){return null!=e.attribs&&Object.prototype.hasOwnProperty.call(e.attribs,t)&&null!=e.attribs[t]},t.getName=function(e){return e.name},t.nextElementSibling=function(e){for(var t=e.next;null!==t&&!(0,n.isTag)(t);)t=t.next;return t},t.prevElementSibling=function(e){for(var t=e.prev;null!==t&&!(0,n.isTag)(t);)t=t.prev;return t}},function(e,t,r){"use strict";function n(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)}}Object.defineProperty(t,"__esModule",{value:!0}),t.prepend=t.prependChild=t.append=t.appendChild=t.replaceElement=t.removeElement=void 0,t.removeElement=n,t.replaceElement=function(e,t){var r=t.prev=e.prev;r&&(r.next=t);var n=t.next=e.next;n&&(n.prev=t);var o=t.parent=e.parent;if(o){var i=o.children;i[i.lastIndexOf(e)]=t}},t.appendChild=function(e,t){if(n(t),t.next=null,t.parent=e,e.children.push(t)>1){var r=e.children[e.children.length-2];r.next=t,t.prev=r}else t.prev=null},t.append=function(e,t){n(t);var r=e.parent,o=e.next;if(t.next=o,t.prev=e,e.next=t,t.parent=r,o){if(o.prev=t,r){var i=r.children;i.splice(i.lastIndexOf(o),0,t)}}else r&&r.children.push(t)},t.prependChild=function(e,t){if(n(t),t.parent=e,t.prev=null,1!==e.children.unshift(t)){var r=e.children[1];r.prev=t,t.next=r}else t.next=null},t.prepend=function(e,t){n(t);var r=e.parent;if(r){var o=r.children;o.splice(o.indexOf(e),0,t)}e.prev&&(e.prev.next=t),t.parent=r,t.prev=e.prev,t.next=e,e.prev=t}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.uniqueSort=t.compareDocumentPosition=t.removeSubsets=void 0;var n=r(70);function o(e,t){var r=[],o=[];if(e===t)return 0;for(var i=(0,n.hasChildren)(e)?e:e.parent;i;)r.unshift(i),i=i.parent;for(i=(0,n.hasChildren)(t)?t:t.parent;i;)o.unshift(i),i=i.parent;for(var a=Math.min(r.length,o.length),u=0;u<a&&r[u]===o[u];)u++;if(0===u)return 1;var s=r[u-1],c=s.children,l=r[u],f=o[u];return c.indexOf(l)>c.indexOf(f)?s===t?20:4:s===e?10:2}t.removeSubsets=function(e){for(var t=e.length;--t>=0;){var r=e[t];if(t>0&&e.lastIndexOf(r,t-1)>=0)e.splice(t,1);else for(var n=r.parent;n;n=n.parent)if(e.includes(n)){e.splice(t,1);break}}return e},t.compareDocumentPosition=o,t.uniqueSort=function(e){return(e=e.filter((function(e,t,r){return!r.includes(e,t+1)}))).sort((function(e,t){var r=o(e,t);return 2&r?-1:4&r?1:0})),e}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getFeed=void 0;var n=r(398),o=r(404);t.getFeed=function(e){var t=s(f,e);return t?"feed"===t.name?function(e){var t,r=e.children,n={type:"atom",items:(0,o.getElementsByTagName)("entry",r).map((function(e){var t,r=e.children,n={media:u(r)};l(n,"id","id",r),l(n,"title","title",r);var o=null===(t=s("link",r))||void 0===t?void 0:t.attribs.href;o&&(n.link=o);var i=c("summary",r)||c("content",r);i&&(n.description=i);var a=c("updated",r);return a&&(n.pubDate=new Date(a)),n}))};l(n,"id","id",r),l(n,"title","title",r);var i=null===(t=s("link",r))||void 0===t?void 0:t.attribs.href;i&&(n.link=i);l(n,"description","subtitle",r);var a=c("updated",r);a&&(n.updated=new Date(a));return l(n,"author","email",r,!0),n}(t):function(e){var t,r,n=null!==(r=null===(t=s("channel",e.children))||void 0===t?void 0:t.children)&&void 0!==r?r:[],i={type:e.name.substr(0,3),id:"",items:(0,o.getElementsByTagName)("item",e.children).map((function(e){var t=e.children,r={media:u(t)};l(r,"id","guid",t),l(r,"title","title",t),l(r,"link","link",t),l(r,"description","description",t);var n=c("pubDate",t);return n&&(r.pubDate=new Date(n)),r}))};l(i,"title","title",n),l(i,"link","link",n),l(i,"description","description",n);var a=c("lastBuildDate",n);a&&(i.updated=new Date(a));return l(i,"author","managingEditor",n,!0),i}(t):null};var i=["url","type","lang"],a=["fileSize","bitrate","framerate","samplingrate","channels","duration","height","width"];function u(e){return(0,o.getElementsByTagName)("media:content",e).map((function(e){for(var t=e.attribs,r={medium:t.medium,isDefault:!!t.isDefault},n=0,o=i;n<o.length;n++){t[c=o[n]]&&(r[c]=t[c])}for(var u=0,s=a;u<s.length;u++){var c;t[c=s[u]]&&(r[c]=parseInt(t[c],10))}return t.expression&&(r.expression=t.expression),r}))}function s(e,t){return(0,o.getElementsByTagName)(e,t,!0,1)[0]}function c(e,t,r){return void 0===r&&(r=!1),(0,n.textContent)((0,o.getElementsByTagName)(e,t,r,1)).trim()}function l(e,t,r,n,o){void 0===o&&(o=!1);var i=c(r,n,o);i&&(e[t]=i)}function f(e){return"rss"===e||"feed"===e||"rdf:RDF"===e}},function(e,t,r){"use strict";e.exports={shouldProcessEveryNode:function(e){return!0}}},function(e,t,r){(function(t){var r=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,n=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,o="\\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",i="[\\ud800-\\udfff]",a="["+o+"]",u="[\\u0300-\\u036f\\ufe20-\\ufe23\\u20d0-\\u20f0]",s="\\d+",c="[\\u2700-\\u27bf]",l="[a-z\\xdf-\\xf6\\xf8-\\xff]",f="[^\\ud800-\\udfff"+o+s+"\\u2700-\\u27bfa-z\\xdf-\\xf6\\xf8-\\xffA-Z\\xc0-\\xd6\\xd8-\\xde]",p="\\ud83c[\\udffb-\\udfff]",d="[^\\ud800-\\udfff]",h="(?:\\ud83c[\\udde6-\\uddff]){2}",y="[\\ud800-\\udbff][\\udc00-\\udfff]",v="[A-Z\\xc0-\\xd6\\xd8-\\xde]",m="(?:"+l+"|"+f+")",b="(?:"+v+"|"+f+")",g="(?:"+u+"|"+p+")"+"?",w="[\\ufe0e\\ufe0f]?"+g+("(?:\\u200d(?:"+[d,h,y].join("|")+")[\\ufe0e\\ufe0f]?"+g+")*"),S="(?:"+[c,h,y].join("|")+")"+w,O="(?:"+[d+u+"?",u,h,y,i].join("|")+")",_=RegExp("['’]","g"),x=RegExp(u,"g"),E=RegExp(p+"(?="+p+")|"+O+w,"g"),P=RegExp([v+"?"+l+"+(?:['’](?:d|ll|m|re|s|t|ve))?(?="+[a,v,"$"].join("|")+")",b+"+(?:['’](?:D|LL|M|RE|S|T|VE))?(?="+[a,v+m,"$"].join("|")+")",v+"?"+m+"+(?:['’](?:d|ll|m|re|s|t|ve))?",v+"+(?:['’](?:D|LL|M|RE|S|T|VE))?",s,S].join("|"),"g"),k=RegExp("[\\u200d\\ud800-\\udfff\\u0300-\\u036f\\ufe20-\\ufe23\\u20d0-\\u20f0\\ufe0e\\ufe0f]"),j=/[a-z][A-Z]|[A-Z]{2,}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,T="object"==typeof t&&t&&t.Object===Object&&t,A="object"==typeof self&&self&&self.Object===Object&&self,C=T||A||Function("return this")();var L,R=(L={"À":"A","Á":"A","Â":"A","Ã":"A","Ä":"A","Å":"A","à":"a","á":"a","â":"a","ã":"a","ä":"a","å":"a","Ç":"C","ç":"c","Ð":"D","ð":"d","È":"E","É":"E","Ê":"E","Ë":"E","è":"e","é":"e","ê":"e","ë":"e","Ì":"I","Í":"I","Î":"I","Ï":"I","ì":"i","í":"i","î":"i","ï":"i","Ñ":"N","ñ":"n","Ò":"O","Ó":"O","Ô":"O","Õ":"O","Ö":"O","Ø":"O","ò":"o","ó":"o","ô":"o","õ":"o","ö":"o","ø":"o","Ù":"U","Ú":"U","Û":"U","Ü":"U","ù":"u","ú":"u","û":"u","ü":"u","Ý":"Y","ý":"y","ÿ":"y","Æ":"Ae","æ":"ae","Þ":"Th","þ":"th","ß":"ss","Ā":"A","Ă":"A","Ą":"A","ā":"a","ă":"a","ą":"a","Ć":"C","Ĉ":"C","Ċ":"C","Č":"C","ć":"c","ĉ":"c","ċ":"c","č":"c","Ď":"D","Đ":"D","ď":"d","đ":"d","Ē":"E","Ĕ":"E","Ė":"E","Ę":"E","Ě":"E","ē":"e","ĕ":"e","ė":"e","ę":"e","ě":"e","Ĝ":"G","Ğ":"G","Ġ":"G","Ģ":"G","ĝ":"g","ğ":"g","ġ":"g","ģ":"g","Ĥ":"H","Ħ":"H","ĥ":"h","ħ":"h","Ĩ":"I","Ī":"I","Ĭ":"I","Į":"I","İ":"I","ĩ":"i","ī":"i","ĭ":"i","į":"i","ı":"i","Ĵ":"J","ĵ":"j","Ķ":"K","ķ":"k","ĸ":"k","Ĺ":"L","Ļ":"L","Ľ":"L","Ŀ":"L","Ł":"L","ĺ":"l","ļ":"l","ľ":"l","ŀ":"l","ł":"l","Ń":"N","Ņ":"N","Ň":"N","Ŋ":"N","ń":"n","ņ":"n","ň":"n","ŋ":"n","Ō":"O","Ŏ":"O","Ő":"O","ō":"o","ŏ":"o","ő":"o","Ŕ":"R","Ŗ":"R","Ř":"R","ŕ":"r","ŗ":"r","ř":"r","Ś":"S","Ŝ":"S","Ş":"S","Š":"S","ś":"s","ŝ":"s","ş":"s","š":"s","Ţ":"T","Ť":"T","Ŧ":"T","ţ":"t","ť":"t","ŧ":"t","Ũ":"U","Ū":"U","Ŭ":"U","Ů":"U","Ű":"U","Ų":"U","ũ":"u","ū":"u","ŭ":"u","ů":"u","ű":"u","ų":"u","Ŵ":"W","ŵ":"w","Ŷ":"Y","ŷ":"y","Ÿ":"Y","Ź":"Z","Ż":"Z","Ž":"Z","ź":"z","ż":"z","ž":"z","IJ":"IJ","ij":"ij","Œ":"Oe","œ":"oe","ʼn":"'n","ſ":"ss"},function(e){return null==L?void 0:L[e]});function I(e){return k.test(e)}function N(e){return I(e)?function(e){return e.match(E)||[]}(e):function(e){return e.split("")}(e)}var M=Object.prototype.toString,D=C.Symbol,U=D?D.prototype:void 0,F=U?U.toString:void 0;function B(e){if("string"==typeof e)return e;if(function(e){return"symbol"==typeof e||function(e){return!!e&&"object"==typeof e}(e)&&"[object Symbol]"==M.call(e)}(e))return F?F.call(e):"";var t=e+"";return"0"==t&&1/e==-1/0?"-0":t}function q(e,t,r){var n=e.length;return r=void 0===r?n:r,!t&&r>=n?e:function(e,t,r){var n=-1,o=e.length;t<0&&(t=-t>o?0:o+t),(r=r>o?o:r)<0&&(r+=o),o=t>r?0:r-t>>>0,t>>>=0;for(var i=Array(o);++n<o;)i[n]=e[n+t];return i}(e,t,r)}function W(e){return null==e?"":B(e)}var z,H=(z=function(e,t,r){return t=t.toLowerCase(),e+(r?G(W(t).toLowerCase()):t)},function(e){return function(e,t,r,n){var o=-1,i=e?e.length:0;for(n&&i&&(r=e[++o]);++o<i;)r=t(r,e[o],o,e);return r}(function(e,t,n){return e=W(e),void 0===(t=n?void 0:t)?function(e){return j.test(e)}(e)?function(e){return e.match(P)||[]}(e):function(e){return e.match(r)||[]}(e):e.match(t)||[]}(function(e){return(e=W(e))&&e.replace(n,R).replace(x,"")}(e).replace(_,"")),z,"")});var V,G=(V="toUpperCase",function(e){var t=I(e=W(e))?N(e):void 0,r=t?t[0]:e.charAt(0),n=t?q(t,1).join(""):e.slice(1);return r[V]()+n});e.exports=H}).call(this,r(51))},function(e,t,r){var n=r(82),o=r(187),i=n((function(e){var t=[];for(var r in e)o(r,e)&&(t[t.length]=[r,e[r]]);return t}));e.exports=i},function(e,t,r){var n=r(408)(r(241));e.exports=n},function(e,t,r){var n=r(42),o=r(409),i=r(725),a=n((function(e,t){return o(i(e.length,t),e)}));e.exports=a},function(e,t,r){var n=r(720),o=r(721),i=r(722),a=r(187),u=r(723),s=r(243),c=r(724);function l(e,t,r,i){var a=n(e),u=n(t);function s(e,t){return f(e,t,r.slice(),i.slice())}return!o((function(e,t){return!o(s,t,e)}),u,a)}function f(e,t,r,n){if(u(e,t))return!0;var o=c(e);if(o!==c(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(o){case"Arguments":case"Array":case"Object":if("function"==typeof e.constructor&&"Promise"===i(e.constructor))return e===t;break;case"Boolean":case"Number":case"String":if(typeof e!=typeof t||!u(e.valueOf(),t.valueOf()))return!1;break;case"Date":if(!u(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 p=r.length-1;p>=0;){if(r[p]===e)return n[p]===t;p-=1}switch(o){case"Map":return e.size===t.size&&l(e.entries(),t.entries(),r.concat([e]),n.concat([t]));case"Set":return e.size===t.size&&l(e.values(),t.values(),r.concat([e]),n.concat([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 d=s(e);if(d.length!==s(t).length)return!1;var h=r.concat([e]),y=n.concat([t]);for(p=d.length-1;p>=0;){var v=d[p];if(!a(v,t)||!f(t[v],e[v],h,y))return!1;p-=1}return!0}e.exports=f},function(e,t){e.exports=function(e){for(var t,r=[];!(t=e.next()).done;)r.push(t.value);return r}},function(e,t){e.exports=function(e,t,r){for(var n=0,o=r.length;n<o;){if(e(t,r[n]))return!0;n+=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){e.exports="function"==typeof Object.is?Object.is:function(e,t){return e===t?0!==e||1/e==1/t:e!=e&&t!=t}},function(e,t,r){var n=r(82)((function(e){return null===e?"Null":void 0===e?"Undefined":Object.prototype.toString.call(e).slice(8,-1)}));e.exports=n},function(e,t,r){var n=r(42),o=r(185),i=r(726),a=r(727),u=n(o(["take"],i,(function(e,t){return a(0,e<0?1/0:e,t)})));e.exports=u},function(e,t,r){var n=r(42),o=r(390),i=r(186),a=function(){function e(e,t){this.xf=t,this.n=e,this.i=0}return e.prototype["@@transducer/init"]=i.init,e.prototype["@@transducer/result"]=i.result,e.prototype["@@transducer/step"]=function(e,t){this.i+=1;var r=0===this.n?e:this.xf["@@transducer/step"](e,t);return this.n>=0&&this.i>=this.n?o(r):r},e}(),u=n((function(e,t){return new a(e,t)}));e.exports=u},function(e,t,r){var n=r(389),o=r(408)(n("slice",(function(e,t,r){return Array.prototype.slice.call(r,e,t)})));e.exports=o},function(e,t,r){var n=r(729),o=r(42)(n);e.exports=o},function(e,t,r){var n=r(730);e.exports=function(e,t){return n(t,e,0)>=0}},function(e,t,r){var n=r(409);e.exports=function(e,t,r){var o,i;if("function"==typeof e.indexOf)switch(typeof t){case"number":if(0===t){for(o=1/t;r<e.length;){if(0===(i=e[r])&&1/i===o)return r;r+=1}return-1}if(t!=t){for(;r<e.length;){if("number"==typeof(i=e[r])&&i!=i)return r;r+=1}return-1}return e.indexOf(t,r);case"string":case"boolean":case"function":case"undefined":return e.indexOf(t,r);case"object":if(null===t)return e.indexOf(t,r)}for(;r<e.length;){if(n(e[r],t))return r;r+=1}return-1}},function(e,t,r){"use strict";const n=["accept","acceptCharset","accessKey","action","allowFullScreen","allowTransparency","alt","async","autoComplete","autoFocus","autoPlay","capture","cellPadding","cellSpacing","challenge","charSet","checked","cite","classID","className","colSpan","cols","content","contentEditable","contextMenu","controls","coords","crossOrigin","data","dateTime","default","defer","dir","disabled","download","draggable","encType","form","formAction","formEncType","formMethod","formNoValidate","formTarget","frameBorder","headers","height","hidden","high","href","hrefLang","htmlFor","httpEquiv","icon","id","inputMode","integrity","is","keyParams","keyType","kind","label","lang","list","loop","low","manifest","marginHeight","marginWidth","max","maxLength","media","mediaGroup","method","min","minLength","multiple","muted","name","noValidate","nonce","open","optimum","pattern","placeholder","poster","preload","profile","radioGroup","readOnly","rel","required","reversed","role","rowSpan","rows","sandbox","scope","scoped","scrolling","seamless","selected","shape","size","sizes","span","spellCheck","src","srcDoc","srcLang","srcSet","start","step","style","summary","tabIndex","target","title","type","useMap","value","width","wmode","wrap","onClick"].concat(["autoCapitalize","autoCorrect","color","itemProp","itemScope","itemType","itemRef","itemID","security","unselectable","results","autoSave"]).concat(["accentHeight","accumulate","additive","alignmentBaseline","allowReorder","alphabetic","amplitude","arabicForm","ascent","attributeName","attributeType","autoReverse","azimuth","baseFrequency","baseProfile","baselineShift","bbox","begin","bias","by","calcMode","capHeight","clip","clipPath","clipPathUnits","clipRule","colorInterpolation","colorInterpolationFilters","colorProfile","colorRendering","contentScriptType","contentStyleType","cursor","cx","cy","d","decelerate","descent","diffuseConstant","direction","display","divisor","dominantBaseline","dur","dx","dy","edgeMode","elevation","enableBackground","end","exponent","externalResourcesRequired","fill","fillOpacity","fillRule","filter","filterRes","filterUnits","floodColor","floodOpacity","focusable","fontFamily","fontSize","fontSizeAdjust","fontStretch","fontStyle","fontVariant","fontWeight","format","from","fx","fy","g1","g2","glyphName","glyphOrientationHorizontal","glyphOrientationVertical","glyphRef","gradientTransform","gradientUnits","hanging","horizAdvX","horizOriginX","ideographic","imageRendering","in","in2","intercept","k","k1","k2","k3","k4","kernelMatrix","kernelUnitLength","kerning","keyPoints","keySplines","keyTimes","lengthAdjust","letterSpacing","lightingColor","limitingConeAngle","local","markerEnd","markerHeight","markerMid","markerStart","markerUnits","markerWidth","mask","maskContentUnits","maskUnits","mathematical","mode","numOctaves","offset","opacity","operator","order","orient","orientation","origin","overflow","overlinePosition","overlineThickness","paintOrder","panose1","pathLength","patternContentUnits","patternTransform","patternUnits","pointerEvents","points","pointsAtX","pointsAtY","pointsAtZ","preserveAlpha","preserveAspectRatio","primitiveUnits","r","radius","refX","refY","renderingIntent","repeatCount","repeatDur","requiredExtensions","requiredFeatures","restart","result","rotate","rx","ry","scale","seed","shapeRendering","slope","spacing","specularConstant","specularExponent","speed","spreadMethod","startOffset","stdDeviation","stemh","stemv","stitchTiles","stopColor","stopOpacity","strikethroughPosition","strikethroughThickness","string","stroke","strokeDasharray","strokeDashoffset","strokeLinecap","strokeLinejoin","strokeMiterlimit","strokeOpacity","strokeWidth","surfaceScale","systemLanguage","tableValues","targetX","targetY","textAnchor","textDecoration","textLength","textRendering","to","transform","u1","u2","underlinePosition","underlineThickness","unicode","unicodeBidi","unicodeRange","unitsPerEm","vAlphabetic","vHanging","vIdeographic","vMathematical","values","vectorEffect","version","vertAdvY","vertOriginX","vertOriginY","viewBox","viewTarget","visibility","widths","wordSpacing","writingMode","x","x1","x2","xChannelSelector","xHeight","xlinkActuate","xlinkArcrole","xlinkHref","xlinkRole","xlinkShow","xlinkTitle","xlinkType","xmlns","xmlnsXlink","xmlBase","xmlLang","xmlSpace","y","y1","y2","yChannelSelector","z","zoomAndPan"]).reduce((function(e,t){const r=t.toLowerCase();return r!==t&&(e[r]=t),e}),{});e.exports=n},function(e,t,r){"use strict";function n(e){return(n="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)}r(2),r(1),r(4),r(15),r(5),r(14),r(17),r(16),r(3),r(7),r(8),Object.defineProperty(t,"__esModule",{value:!0});var o={ident:!0,string:!0,url:!0};t.url=t.string=t.ident=void 0;var i=r(733);Object.keys(i).forEach((function(e){"default"!==e&&"__esModule"!==e&&(Object.prototype.hasOwnProperty.call(o,e)||e in t&&t[e]===i[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return i[e]}}))}));var a=p(r(734));t.ident=a;var u=r(244);Object.keys(u).forEach((function(e){"default"!==e&&"__esModule"!==e&&(Object.prototype.hasOwnProperty.call(o,e)||e in t&&t[e]===u[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return u[e]}}))}));var s=r(425);Object.keys(s).forEach((function(e){"default"!==e&&"__esModule"!==e&&(Object.prototype.hasOwnProperty.call(o,e)||e in t&&t[e]===s[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return s[e]}}))}));var c=p(r(246));t.string=c;var l=p(r(427));function f(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,r=new WeakMap;return(f=function(e){return e?r:t})(e)}function p(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!==n(e)&&"function"!=typeof e)return{default:e};var r=f(t);if(r&&r.has(e))return r.get(e);var o={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if("default"!==a&&Object.prototype.hasOwnProperty.call(e,a)){var u=i?Object.getOwnPropertyDescriptor(e,a):null;u&&(u.get||u.set)?Object.defineProperty(o,a,u):o[a]=e[a]}return o.default=e,r&&r.set(e,o),o}t.url=l},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.clone=function e(t){var r={};for(var o in t){var i=t[o];i&&(Array.isArray(i)||i instanceof n.List?i=i.map(e):i.constructor===Object&&(i=e(i))),r[o]=i}return r},r(52);var n=r(244)},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.decode=function(e){for(var t=e.length-1,r="",o=0;o<e.length;o++){var i=e.charCodeAt(o);if(92===i){if(o===t)break;if(i=e.charCodeAt(++o),(0,n.isValidEscape)(92,i)){var a=o-1,u=(0,n.consumeEscaped)(e,a);o=u-1,r+=(0,n.decodeEscaped)(e.substring(a+1,u))}else 13===i&&10===e.charCodeAt(o+1)&&o++}else r+=e[o]}return r},t.encode=function(e){var t="";if(1===e.length&&45===e.charCodeAt(0))return"\\-";for(var r=0;r<e.length;r++){var o=e.charCodeAt(r);0!==o?o<=31||127===o||o>=48&&o<=57&&(0===r||1===r&&45===e.charCodeAt(0))?t+="\\"+o.toString(16)+" ":(0,n.isName)(o)?t+=e.charAt(r):t+="\\"+e.charAt(r):t+="�"}return t},r(1),r(87);var n=r(11)},function(e,t,r){var n=r(12),o=r(10),i=r(75),a=RangeError,u=String.fromCharCode,s=String.fromCodePoint,c=o([].join);n({target:"String",stat:!0,arity:1,forced:!!s&&1!=s.length},{fromCodePoint:function(e){for(var t,r=[],n=arguments.length,o=0;n>o;){if(t=+arguments[o++],i(t,1114111)!==t)throw a(t+" is not a valid code point");r[o]=t<65536?u(t):u(55296+((t-=65536)>>10),t%1024+56320)}return c(r,"")}})},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.OffsetToLocation=void 0;var n=r(414),o=r(245);function i(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function a(e){for(var t=e.source,r=t.length,i=t.length>0?(0,o.isBOM)(t.charCodeAt(0)):0,a=(0,n.adoptBuffer)(e.lines,r),u=(0,n.adoptBuffer)(e.columns,r),s=e.startLine,c=e.startColumn,l=i;l<r;l++){var f=t.charCodeAt(l);a[l]=s,u[l]=c++,10!==f&&13!==f&&12!==f||(13===f&&l+1<r&&10===t.charCodeAt(l+1)&&(a[++l]=s,u[l]=c),s++,c=1)}a[r]=s,u[r]=c,e.lines=a,e.columns=u,e.computed=!0}var u=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.lines=null,this.columns=null,this.computed=!1}var t,r,n;return t=e,(r=[{key:"setSource",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1,n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:1;this.source=e,this.startOffset=t,this.startLine=r,this.startColumn=n,this.computed=!1}},{key:"getLocation",value:function(e,t){return this.computed||a(this),{source:t,offset:this.startOffset+e,line:this.lines[e],column:this.columns[e]}}},{key:"getLocationRange",value:function(e,t,r){return this.computed||a(this),{source:r,start:{offset:this.startOffset+e,line:this.lines[e],column:this.columns[e]},end:{offset:this.startOffset+t,line:this.lines[t],column:this.columns[t]}}}}])&&i(t.prototype,r),n&&i(t,n),Object.defineProperty(t,"prototype",{writable:!1}),e}();t.OffsetToLocation=u},function(e,t,r){"use strict";var n=r(12),o=r(10),i=r(9),a=r(415),u=r(30),s=r(75),c=r(65),l=r(163),f=a.ArrayBuffer,p=a.DataView,d=p.prototype,h=o(f.prototype.slice),y=o(d.getUint8),v=o(d.setUint8);n({target:"ArrayBuffer",proto:!0,unsafe:!0,forced:i((function(){return!new f(2).slice(1,void 0).byteLength}))},{slice:function(e,t){if(h&&void 0===t)return h(u(this),e);for(var r=u(this).byteLength,n=s(e,r),o=s(void 0===t?r:t,r),i=new(l(this,f))(c(o-n)),a=new p(this),d=new p(i),m=0;n<o;)v(d,m++,y(a,n++));return i}})},function(e,t){var r=Array,n=Math.abs,o=Math.pow,i=Math.floor,a=Math.log,u=Math.LN2;e.exports={pack:function(e,t,s){var c,l,f,p=r(s),d=8*s-t-1,h=(1<<d)-1,y=h>>1,v=23===t?o(2,-24)-o(2,-77):0,m=e<0||0===e&&1/e<0?1:0,b=0;for((e=n(e))!=e||e===1/0?(l=e!=e?1:0,c=h):(c=i(a(e)/u),e*(f=o(2,-c))<1&&(c--,f*=2),(e+=c+y>=1?v/f:v*o(2,1-y))*f>=2&&(c++,f/=2),c+y>=h?(l=0,c=h):c+y>=1?(l=(e*f-1)*o(2,t),c+=y):(l=e*o(2,y-1)*o(2,t),c=0));t>=8;)p[b++]=255&l,l/=256,t-=8;for(c=c<<t|l,d+=t;d>0;)p[b++]=255&c,c/=256,d-=8;return p[--b]|=128*m,p},unpack:function(e,t){var r,n=e.length,i=8*n-t-1,a=(1<<i)-1,u=a>>1,s=i-7,c=n-1,l=e[c--],f=127&l;for(l>>=7;s>0;)f=256*f+e[c--],s-=8;for(r=f&(1<<-s)-1,f>>=-s,s+=t;s>0;)r=256*r+e[c--],s-=8;if(0===f)f=1-u;else{if(f===a)return r?NaN:l?-1/0:1/0;r+=o(2,t),f-=u}return(l?-1:1)*r*o(2,f-t)}}},function(e,t,r){r(740)("Uint32",(function(e){return function(t,r,n){return e(this,t,r,n)}}))},function(e,t,r){"use strict";var n=r(12),o=r(13),i=r(20),a=r(23),u=r(741),s=r(22),c=r(415),l=r(78),f=r(83),p=r(63),d=r(742),h=r(65),y=r(417),v=r(419),m=r(116),b=r(25),g=r(76),w=r(24),S=r(97),O=r(67),_=r(61),x=r(86),E=r(74).f,P=r(744),k=r(46).forEach,j=r(161),T=r(31),A=r(71),C=r(43),L=r(157),R=C.get,I=C.set,N=C.enforce,M=T.f,D=A.f,U=Math.round,F=o.RangeError,B=c.ArrayBuffer,q=B.prototype,W=c.DataView,z=s.NATIVE_ARRAY_BUFFER_VIEWS,H=s.TYPED_ARRAY_TAG,V=s.TypedArray,G=s.TypedArrayPrototype,K=s.aTypedArrayConstructor,Y=s.isTypedArray,$=function(e,t){K(e);for(var r=0,n=t.length,o=new e(n);n>r;)o[r]=t[r++];return o},X=function(e,t){M(e,t,{get:function(){return R(this)[t]}})},Q=function(e){var t;return _(q,e)||"ArrayBuffer"==(t=g(e))||"SharedArrayBuffer"==t},J=function(e,t){return Y(e)&&!S(t)&&t in e&&d(+t)&&t>=0},Z=function(e,t){return t=m(t),J(e,t)?f(2,e[t]):D(e,t)},ee=function(e,t,r){return t=m(t),!(J(e,t)&&w(r)&&b(r,"value"))||b(r,"get")||b(r,"set")||r.configurable||b(r,"writable")&&!r.writable||b(r,"enumerable")&&!r.enumerable?M(e,t,r):(e[t]=r.value,e)};a?(z||(A.f=Z,T.f=ee,X(G,"buffer"),X(G,"byteOffset"),X(G,"byteLength"),X(G,"length")),n({target:"Object",stat:!0,forced:!z},{getOwnPropertyDescriptor:Z,defineProperty:ee}),e.exports=function(e,t,r){var a=e.match(/\d+$/)[0]/8,s=e+(r?"Clamped":"")+"Array",c="get"+e,f="set"+e,d=o[s],m=d,b=m&&m.prototype,g={},S=function(e,t){M(e,t,{get:function(){return function(e,t){var r=R(e);return r.view[c](t*a+r.byteOffset,!0)}(this,t)},set:function(e){return function(e,t,n){var o=R(e);r&&(n=(n=U(n))<0?0:n>255?255:255&n),o.view[f](t*a+o.byteOffset,n,!0)}(this,t,e)},enumerable:!0})};z?u&&(m=t((function(e,t,r,n){return l(e,b),L(w(t)?Q(t)?void 0!==n?new d(t,v(r,a),n):void 0!==r?new d(t,v(r,a)):new d(t):Y(t)?$(m,t):i(P,m,t):new d(y(t)),e,m)})),x&&x(m,V),k(E(d),(function(e){e in m||p(m,e,d[e])})),m.prototype=b):(m=t((function(e,t,r,n){l(e,b);var o,u,s,c=0,f=0;if(w(t)){if(!Q(t))return Y(t)?$(m,t):i(P,m,t);o=t,f=v(r,a);var p=t.byteLength;if(void 0===n){if(p%a)throw F("Wrong length");if((u=p-f)<0)throw F("Wrong length")}else if((u=h(n)*a)+f>p)throw F("Wrong length");s=u/a}else s=y(t),o=new B(u=s*a);for(I(e,{buffer:o,byteOffset:f,byteLength:u,length:s,view:new W(o)});c<s;)S(e,c++)})),x&&x(m,V),b=m.prototype=O(G)),b.constructor!==m&&p(b,"constructor",m),N(b).TypedArrayConstructor=m,H&&p(b,H,s);var _=m!=d;g[s]=m,n({global:!0,constructor:!0,forced:_,sham:!z},g),"BYTES_PER_ELEMENT"in m||p(m,"BYTES_PER_ELEMENT",a),"BYTES_PER_ELEMENT"in b||p(b,"BYTES_PER_ELEMENT",a),j(s)}):e.exports=function(){}},function(e,t,r){var n=r(13),o=r(9),i=r(156),a=r(22).NATIVE_ARRAY_BUFFER_VIEWS,u=n.ArrayBuffer,s=n.Int8Array;e.exports=!a||!o((function(){s(1)}))||!o((function(){new s(-1)}))||!i((function(e){new s,new s(null),new s(1.5),new s(e)}),!0)||o((function(){return 1!==new s(new u(2),1,void 0).length}))},function(e,t,r){var n=r(24),o=Math.floor;e.exports=Number.isInteger||function(e){return!n(e)&&isFinite(e)&&o(e)===e}},function(e,t,r){var n=r(64),o=RangeError;e.exports=function(e){var t=n(e);if(t<0)throw o("The argument can't be less than 0");return t}},function(e,t,r){var n=r(68),o=r(20),i=r(208),a=r(40),u=r(44),s=r(155),c=r(128),l=r(201),f=r(22).aTypedArrayConstructor;e.exports=function(e){var t,r,p,d,h,y,v=i(this),m=a(e),b=arguments.length,g=b>1?arguments[1]:void 0,w=void 0!==g,S=c(m);if(S&&!l(S))for(y=(h=s(m,S)).next,m=[];!(d=o(y,h)).done;)m.push(d.value);for(w&&b>2&&(g=n(g,arguments[2])),r=u(m),p=new(f(v))(r),t=0;r>t;t++)p[t]=w?g(m[t],t):m[t];return p}},function(e,t,r){"use strict";var n=r(10),o=r(22),i=n(r(746)),a=o.aTypedArray;(0,o.exportTypedArrayMethod)("copyWithin",(function(e,t){return i(a(this),e,t,arguments.length>2?arguments[2]:void 0)}))},function(e,t,r){"use strict";var n=r(40),o=r(75),i=r(44),a=r(420),u=Math.min;e.exports=[].copyWithin||function(e,t){var r=n(this),s=i(r),c=o(e,s),l=o(t,s),f=arguments.length>2?arguments[2]:void 0,p=u((void 0===f?s:o(f,s))-l,s-c),d=1;for(l<c&&c<l+p&&(d=-1,l+=p-1,c+=p-1);p-- >0;)l in r?r[c]=r[l]:a(r,c),c+=d,l+=d;return r}},function(e,t,r){"use strict";var n=r(22),o=r(46).every,i=n.aTypedArray;(0,n.exportTypedArrayMethod)("every",(function(e){return o(i(this),e,arguments.length>1?arguments[1]:void 0)}))},function(e,t,r){"use strict";var n=r(22),o=r(418),i=r(749),a=r(76),u=r(20),s=r(10),c=r(9),l=n.aTypedArray,f=n.exportTypedArrayMethod,p=s("".slice);f("fill",(function(e){var t=arguments.length;l(this);var r="Big"===p(a(this),0,3)?i(e):+e;return u(o,this,r,t>1?arguments[1]:void 0,t>2?arguments[2]:void 0)}),c((function(){var e=0;return new Int8Array(2).fill({valueOf:function(){return e++}}),1!==e})))},function(e,t,r){var n=r(192),o=TypeError;e.exports=function(e){var t=n(e,"number");if("number"==typeof t)throw o("Can't convert number to bigint");return BigInt(t)}},function(e,t,r){"use strict";var n=r(22),o=r(46).filter,i=r(751),a=n.aTypedArray;(0,n.exportTypedArrayMethod)("filter",(function(e){var t=o(a(this),e,arguments.length>1?arguments[1]:void 0);return i(this,t)}))},function(e,t,r){var n=r(752),o=r(188);e.exports=function(e,t){return n(o(e),t)}},function(e,t,r){var n=r(44);e.exports=function(e,t){for(var r=0,o=n(t),i=new e(o);o>r;)i[r]=t[r++];return i}},function(e,t,r){"use strict";var n=r(22),o=r(46).find,i=n.aTypedArray;(0,n.exportTypedArrayMethod)("find",(function(e){return o(i(this),e,arguments.length>1?arguments[1]:void 0)}))},function(e,t,r){"use strict";var n=r(22),o=r(46).findIndex,i=n.aTypedArray;(0,n.exportTypedArrayMethod)("findIndex",(function(e){return o(i(this),e,arguments.length>1?arguments[1]:void 0)}))},function(e,t,r){"use strict";var n=r(22),o=r(46).forEach,i=n.aTypedArray;(0,n.exportTypedArrayMethod)("forEach",(function(e){o(i(this),e,arguments.length>1?arguments[1]:void 0)}))},function(e,t,r){"use strict";var n=r(22),o=r(148).includes,i=n.aTypedArray;(0,n.exportTypedArrayMethod)("includes",(function(e){return o(i(this),e,arguments.length>1?arguments[1]:void 0)}))},function(e,t,r){"use strict";var n=r(22),o=r(148).indexOf,i=n.aTypedArray;(0,n.exportTypedArrayMethod)("indexOf",(function(e){return o(i(this),e,arguments.length>1?arguments[1]:void 0)}))},function(e,t,r){"use strict";var n=r(13),o=r(9),i=r(10),a=r(22),u=r(2),s=r(18)("iterator"),c=n.Uint8Array,l=i(u.values),f=i(u.keys),p=i(u.entries),d=a.aTypedArray,h=a.exportTypedArrayMethod,y=c&&c.prototype,v=!o((function(){y[s].call([1])})),m=!!y&&y.values&&y[s]===y.values&&"values"===y.values.name,b=function(){return l(d(this))};h("entries",(function(){return p(d(this))}),v),h("keys",(function(){return f(d(this))}),v),h("values",b,v||!m,{name:"values"}),h(s,b,v||!m,{name:"values"})},function(e,t,r){"use strict";var n=r(22),o=r(10),i=n.aTypedArray,a=n.exportTypedArrayMethod,u=o([].join);a("join",(function(e){return u(i(this),e)}))},function(e,t,r){"use strict";var n=r(22),o=r(77),i=r(761),a=n.aTypedArray;(0,n.exportTypedArrayMethod)("lastIndexOf",(function(e){var t=arguments.length;return o(i,a(this),t>1?[e,arguments[1]]:[e])}))},function(e,t,r){"use strict";var n=r(77),o=r(48),i=r(64),a=r(44),u=r(154),s=Math.min,c=[].lastIndexOf,l=!!c&&1/[1].lastIndexOf(1,-0)<0,f=u("lastIndexOf"),p=l||!f;e.exports=p?function(e){if(l)return n(c,this,arguments)||0;var t=o(this),r=a(t),u=r-1;for(arguments.length>1&&(u=s(u,i(arguments[1]))),u<0&&(u=r+u);u>=0;u--)if(u in t&&t[u]===e)return u||0;return-1}:c},function(e,t,r){"use strict";var n=r(22),o=r(46).map,i=r(188),a=n.aTypedArray;(0,n.exportTypedArrayMethod)("map",(function(e){return o(a(this),e,arguments.length>1?arguments[1]:void 0,(function(e,t){return new(i(e))(t)}))}))},function(e,t,r){"use strict";var n=r(22),o=r(421).left,i=n.aTypedArray;(0,n.exportTypedArrayMethod)("reduce",(function(e){var t=arguments.length;return o(i(this),e,t,t>1?arguments[1]:void 0)}))},function(e,t,r){"use strict";var n=r(22),o=r(421).right,i=n.aTypedArray;(0,n.exportTypedArrayMethod)("reduceRight",(function(e){var t=arguments.length;return o(i(this),e,t,t>1?arguments[1]:void 0)}))},function(e,t,r){"use strict";var n=r(22),o=n.aTypedArray,i=n.exportTypedArrayMethod,a=Math.floor;i("reverse",(function(){for(var e,t=o(this).length,r=a(t/2),n=0;n<r;)e=this[n],this[n++]=this[--t],this[t]=e;return this}))},function(e,t,r){"use strict";var n=r(13),o=r(20),i=r(22),a=r(44),u=r(419),s=r(40),c=r(9),l=n.RangeError,f=n.Int8Array,p=f&&f.prototype,d=p&&p.set,h=i.aTypedArray,y=i.exportTypedArrayMethod,v=!c((function(){var e=new Uint8ClampedArray(2);return o(d,e,{length:1,0:3},1),3!==e[1]})),m=v&&i.NATIVE_ARRAY_BUFFER_VIEWS&&c((function(){var e=new f(2);return e.set(1),e.set("2",1),0!==e[0]||2!==e[1]}));y("set",(function(e){h(this);var t=u(arguments.length>1?arguments[1]:void 0,1),r=s(e);if(v)return o(d,this,r,t);var n=this.length,i=a(r),c=0;if(i+t>n)throw l("Wrong length");for(;c<i;)this[t+c]=r[c++]}),!v||m)},function(e,t,r){"use strict";var n=r(22),o=r(188),i=r(9),a=r(102),u=n.aTypedArray;(0,n.exportTypedArrayMethod)("slice",(function(e,t){for(var r=a(u(this),e,t),n=o(this),i=0,s=r.length,c=new n(s);s>i;)c[i]=r[i++];return c}),i((function(){new Int8Array(1).slice()})))},function(e,t,r){"use strict";var n=r(22),o=r(46).some,i=n.aTypedArray;(0,n.exportTypedArrayMethod)("some",(function(e){return o(i(this),e,arguments.length>1?arguments[1]:void 0)}))},function(e,t,r){"use strict";var n=r(13),o=r(10),i=r(9),a=r(53),u=r(206),s=r(22),c=r(422),l=r(423),f=r(99),p=r(424),d=s.aTypedArray,h=s.exportTypedArrayMethod,y=n.Uint16Array,v=y&&o(y.prototype.sort),m=!(!v||i((function(){v(new y(2),null)}))&&i((function(){v(new y(2),{})}))),b=!!v&&!i((function(){if(f)return f<74;if(c)return c<67;if(l)return!0;if(p)return p<602;var e,t,r=new y(516),n=Array(516);for(e=0;e<516;e++)t=e%4,r[e]=515-e,n[e]=e-2*t+3;for(v(r,(function(e,t){return(e/4|0)-(t/4|0)})),e=0;e<516;e++)if(r[e]!==n[e])return!0}));h("sort",(function(e){return void 0!==e&&a(e),b?v(this,e):u(d(this),function(e){return function(t,r){return void 0!==e?+e(t,r)||0:r!=r?-1:t!=t?1:0===t&&0===r?1/t>0&&1/r<0?1:-1:t>r}}(e))}),!b||m)},function(e,t,r){"use strict";var n=r(22),o=r(65),i=r(75),a=r(188),u=n.aTypedArray;(0,n.exportTypedArrayMethod)("subarray",(function(e,t){var r=u(this),n=r.length,s=i(e,n);return new(a(r))(r.buffer,r.byteOffset+s*r.BYTES_PER_ELEMENT,o((void 0===t?n:i(t,n))-s))}))},function(e,t,r){"use strict";var n=r(13),o=r(77),i=r(22),a=r(9),u=r(102),s=n.Int8Array,c=i.aTypedArray,l=i.exportTypedArrayMethod,f=[].toLocaleString,p=!!s&&a((function(){f.call(new s(1))}));l("toLocaleString",(function(){return o(f,p?u(c(this)):c(this),u(arguments))}),a((function(){return[1,2].toLocaleString()!=new s([1,2]).toLocaleString()}))||!a((function(){s.prototype.toLocaleString.call([1,2])})))},function(e,t,r){"use strict";var n=r(22).exportTypedArrayMethod,o=r(9),i=r(13),a=r(10),u=i.Uint8Array,s=u&&u.prototype||{},c=[].toString,l=a([].join);o((function(){c.call({})}))&&(c=function(){return l(this)});var f=s.toString!=c;n("toString",c,f)},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.TokenStream=void 0,r(2),r(94),r(1),r(4),r(5);var n,o=r(414),i=r(412),a=(n=r(413))&&n.__esModule?n:{default:n},u=r(411);function s(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}var c=new Map([[u.Function,u.RightParenthesis],[u.LeftParenthesis,u.RightParenthesis],[u.LeftSquareBracket,u.RightSquareBracket],[u.LeftCurlyBracket,u.RightCurlyBracket]]),l=function(){function e(t,r){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.setSource(t,r)}var t,r,n;return t=e,(r=[{key:"reset",value:function(){this.eof=!1,this.tokenIndex=-1,this.tokenType=0,this.tokenStart=this.firstCharOffset,this.tokenEnd=this.firstCharOffset}},{key:"setSource",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:function(){},r=(e=String(e||"")).length,n=(0,o.adoptBuffer)(this.offsetAndType,e.length+1),i=(0,o.adoptBuffer)(this.balance,e.length+1),a=0,s=0,l=0,f=-1;for(this.offsetAndType=null,this.balance=null,t(e,(function(e,t,o){switch(e){default:i[a]=r;break;case s:var p=16777215&l;for(l=i[p],s=l>>24,i[a]=p,i[p++]=a;p<a;p++)i[p]===r&&(i[p]=a);break;case u.LeftParenthesis:case u.Function:case u.LeftSquareBracket:case u.LeftCurlyBracket:i[a]=l,s=c.get(e),l=s<<24|a}n[a++]=e<<24|o,-1===f&&(f=t)})),n[a]=u.EOF<<24|r,i[a]=r,i[r]=r;0!==l;){var p=16777215&l;l=i[p],i[p]=r}this.source=e,this.firstCharOffset=-1===f?0:f,this.tokenCount=a,this.offsetAndType=n,this.balance=i,this.reset(),this.next()}},{key:"lookupType",value:function(e){return(e+=this.tokenIndex)<this.tokenCount?this.offsetAndType[e]>>24:u.EOF}},{key:"lookupOffset",value:function(e){return(e+=this.tokenIndex)<this.tokenCount?16777215&this.offsetAndType[e-1]:this.source.length}},{key:"lookupValue",value:function(e,t){return(e+=this.tokenIndex)<this.tokenCount&&(0,i.cmpStr)(this.source,16777215&this.offsetAndType[e-1],16777215&this.offsetAndType[e],t)}},{key:"getTokenStart",value:function(e){return e===this.tokenIndex?this.tokenStart:e>0?e<this.tokenCount?16777215&this.offsetAndType[e-1]:16777215&this.offsetAndType[this.tokenCount]:this.firstCharOffset}},{key:"substrToCursor",value:function(e){return this.source.substring(e,this.tokenStart)}},{key:"isBalanceEdge",value:function(e){return this.balance[this.tokenIndex]<e}},{key:"isDelim",value:function(e,t){return t?this.lookupType(t)===u.Delim&&this.source.charCodeAt(this.lookupOffset(t))===e:this.tokenType===u.Delim&&this.source.charCodeAt(this.tokenStart)===e}},{key:"skip",value:function(e){var t=this.tokenIndex+e;t<this.tokenCount?(this.tokenIndex=t,this.tokenStart=16777215&this.offsetAndType[t-1],t=this.offsetAndType[t],this.tokenType=t>>24,this.tokenEnd=16777215&t):(this.tokenIndex=this.tokenCount,this.next())}},{key:"next",value:function(){var e=this.tokenIndex+1;e<this.tokenCount?(this.tokenIndex=e,this.tokenStart=this.tokenEnd,e=this.offsetAndType[e],this.tokenType=e>>24,this.tokenEnd=16777215&e):(this.eof=!0,this.tokenIndex=this.tokenCount,this.tokenType=u.EOF,this.tokenStart=this.tokenEnd=this.source.length)}},{key:"skipSC",value:function(){for(;this.tokenType===u.WhiteSpace||this.tokenType===u.Comment;)this.next()}},{key:"skipUntilBalanced",value:function(e,t){var r,n,o=e;e:for(;o<this.tokenCount&&!((r=this.balance[o])<e);o++)switch(n=o>0?16777215&this.offsetAndType[o-1]:this.firstCharOffset,t(this.source.charCodeAt(n))){case 1:break e;case 2:o++;break e;default:this.balance[r]===o&&(o=r)}this.skip(o-this.tokenIndex)}},{key:"forEachToken",value:function(e){for(var t=0,r=this.firstCharOffset;t<this.tokenCount;t++){var n=r,o=this.offsetAndType[t],i=16777215&o;r=i,e(o>>24,n,i,t)}}},{key:"dump",value:function(){var e=this,t=new Array(this.tokenCount);return this.forEachToken((function(r,n,o,i){t[i]={idx:i,type:a.default[r],chunk:e.source.substring(n,o),balance:e.balance[i]}})),t}}])&&s(t.prototype,r),n&&s(t,n),Object.defineProperty(t,"prototype",{writable:!1}),e}();t.TokenStream=l},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n,o=r(775),i=(n=r(781))&&n.__esModule?n:{default:n};var a=(0,o.createParser)(i.default);t.default=a},function(e,t,r){"use strict";r(3),r(7),r(1),r(8),r(2),r(4),r(5),r(16),r(27),r(14),r(17),r(34),Object.defineProperty(t,"__esModule",{value:!0}),t.createParser=function(e){var t="",r="<unknown>",u=!1,c=f,h=!1,y=new i.OffsetToLocation,v=Object.assign(new i.TokenStream,function(e){var t={context:Object.create(null),scope:Object.assign(Object.create(null),e.scope),atrule:d(e.atrule),pseudo:d(e.pseudo),node:d(e.node)};for(var r in e.parseContext)switch(l(e.parseContext[r])){case"function":t.context[r]=e.parseContext[r];break;case"string":t.context[r]=p(e.parseContext[r])}return s(s({config:t},t),t.node)}(e||{}),{parseAtrulePrelude:!0,parseRulePrelude:!0,parseValue:!0,parseCustomProperty:!1,readSequence:a.readSequence,consumeUntilBalanceEnd:function(){return 0},consumeUntilLeftCurlyBracket:function(e){return 123===e?1:0},consumeUntilLeftCurlyBracketOrSemicolon:function(e){return 123===e||59===e?1:0},consumeUntilExclamationMarkOrSemicolon:function(e){return 33===e||59===e?1:0},consumeUntilSemicolonIncluded:function(e){return 59===e?2:0},createList:function(){return new n.List},createSingleNodeList:function(e){return(new n.List).appendData(e)},getFirstListNode:function(e){return e&&e.first},getLastListNode:function(e){return e&&e.last},parseWithFallback:function(e,t){var r=this.tokenIndex;try{return e.call(this)}catch(e){if(h)throw e;var n=t.call(this,r);return h=!0,c(e,n),h=!1,n}},lookupNonWSType:function(e){var t;do{if((t=this.lookupType(e++))!==i.WhiteSpace)return t}while(0!==t);return 0},charCodeAt:function(e){return e>=0&&e<t.length?t.charCodeAt(e):0},substring:function(e,r){return t.substring(e,r)},substrToCursor:function(e){return this.source.substring(e,this.tokenStart)},cmpChar:function(e,r){return(0,i.cmpChar)(t,e,r)},cmpStr:function(e,r,n){return(0,i.cmpStr)(t,e,r,n)},consume:function(e){var t=this.tokenStart;return this.eat(e),this.substrToCursor(t)},consumeFunctionName:function(){var e=t.substring(this.tokenStart,this.tokenEnd-1);return this.eat(i.Function),e},consumeNumber:function(e){var r=t.substring(this.tokenStart,(0,i.consumeNumber)(t,this.tokenStart));return this.eat(e),r},eat:function(e){if(this.tokenType!==e){var t=i.tokenNames[e].slice(0,-6).replace(/-/g," ").replace(/^./,(function(e){return e.toUpperCase()})),r="".concat(/[[\](){}]/.test(t)?'"'.concat(t,'"'):t," is expected"),n=this.tokenStart;switch(e){case i.Ident:this.tokenType===i.Function||this.tokenType===i.Url?(n=this.tokenEnd-1,r="Identifier is expected but function found"):r="Identifier is expected";break;case i.Hash:this.isDelim(35)&&(this.next(),n++,r="Name is expected");break;case i.Percentage:this.tokenType===i.Number&&(n=this.tokenEnd,r="Percent sign is expected")}this.error(r,n)}this.next()},eatIdent:function(e){this.tokenType===i.Ident&&!1!==this.lookupValue(0,e)||this.error('Identifier "'.concat(e,'" is expected')),this.next()},eatDelim:function(e){this.isDelim(e)||this.error('Delim "'.concat(String.fromCharCode(e),'" is expected')),this.next()},getLocation:function(e,t){return u?y.getLocationRange(e,t,r):null},getLocationFromList:function(e){if(u){var t=this.getFirstListNode(e),n=this.getLastListNode(e);return y.getLocationRange(null!==t?t.loc.start.offset-y.startOffset:this.tokenStart,null!==n?n.loc.end.offset-y.startOffset:this.tokenStart,r)}return null},error:function(e,r){var n=void 0!==r&&r<t.length?y.getLocation(r):this.eof?y.getLocation((0,i.findWhiteSpaceStart)(t,t.length-1)):y.getLocation(this.tokenStart);throw new o.SyntaxError(e||"Unexpected input",t,n.offset,n.line,n.column)}});return Object.assign((function(e,n){t=e,n=n||{},v.setSource(t,i.tokenize),y.setSource(t,n.offset,n.line,n.column),r=n.filename||"<unknown>",u=Boolean(n.positions),c="function"==typeof n.onParseError?n.onParseError:f,h=!1,v.parseAtrulePrelude=!("parseAtrulePrelude"in n)||Boolean(n.parseAtrulePrelude),v.parseRulePrelude=!("parseRulePrelude"in n)||Boolean(n.parseRulePrelude),v.parseValue=!("parseValue"in n)||Boolean(n.parseValue),v.parseCustomProperty="parseCustomProperty"in n&&Boolean(n.parseCustomProperty);var o=n,a=o.context,s=void 0===a?"default":a,l=o.onComment;if(s in v.context==!1)throw new Error("Unknown context `"+s+"`");"function"==typeof l&&v.forEachToken((function(e,r,n){if(e===i.Comment){var o=v.getLocation(r,n),a=(0,i.cmpStr)(t,n-2,n,"*/")?t.slice(r+2,n-2):t.slice(r+2,n);l(a,o)}}));var p=v.context[s].call(v,n);return v.eof||v.error(),p}),{SyntaxError:o.SyntaxError,config:v.config})},r(36),r(19),r(92),r(26);var n=r(244),o=r(776),i=r(11),a=r(780);function u(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function s(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?u(Object(r),!0).forEach((function(t){c(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):u(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function c(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function l(e){return(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})(e)}var f=function(){};function p(e){return function(){return this[e]()}}function d(e){var t=Object.create(null);for(var r in e){var n=e[r],o=n.parse||n;o&&(t[r]=o)}return t}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.SyntaxError=function(e,t,r,i,a){return Object.assign((0,n.createCustomError)("SyntaxError",e),{source:t,offset:r,line:i,column:a,sourceFragment:function(e){return o({source:t,line:i,column:a},isNaN(e)?0:e)},get formattedMessage(){return"Parse error: ".concat(e,"\n")+o({source:t,line:i,column:a},2)}})},r(166),r(52),r(26),r(428),r(19),r(80),r(211),r(92),r(27),r(1),r(36);var n=r(779);function o(e,t){var r=e.source,n=e.line,o=e.column;function i(e,t){return a.slice(e,t).map((function(t,r){return String(e+r+1).padStart(c)+" |"+t})).join("\n")}var a=r.split(/\r\n?|\n|\f/),u=Math.max(1,n-t)-1,s=Math.min(n+t,a.length+1),c=Math.max(4,String(s).length)+1,l=0;(o+=(" ".length-1)*(a[n-1].substr(0,o-1).match(/\t/g)||[]).length)>100&&(l=o-60+3,o=58);for(var f=u;f<=s;f++)f>=0&&f<a.length&&(a[f]=a[f].replace(/\t/g," "),a[f]=(l>0&&a[f].length>l?"…":"")+a[f].substr(l,98)+(a[f].length>l+100-1?"…":""));return[i(u,n),new Array(o+c+2).join("-")+"^",i(n,s)].filter(Boolean).join("\n")}},function(e,t,r){var n=r(10),o=r(65),i=r(38),a=r(351),u=r(60),s=n(a),c=n("".slice),l=Math.ceil,f=function(e){return function(t,r,n){var a,f,p=i(u(t)),d=o(r),h=p.length,y=void 0===n?" ":i(n);return d<=h||""==y?p:((f=s(y,l((a=d-h)/y.length))).length>a&&(f=c(f,0,a)),e?p+f:f+p)}};e.exports={start:f(!1),end:f(!0)}},function(e,t,r){var n=r(73);e.exports=/Version\/10(?:\.\d+){1,2}(?: [\w./]+)?(?: Mobile\/\w+)? Safari\//.test(n)},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.createCustomError=function(e,t){var r=Object.create(SyntaxError.prototype),n=new Error;return Object.assign(r,{name:e,message:t,get stack(){return(n.stack||"").replace(/^(.+\n){1,3}/,"".concat(e,": ").concat(t,"\n"))}})},r(36),r(19),r(92),r(32)},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.readSequence=function(e){var t=this.createList(),r=!1,o={recognizer:e};for(;!this.eof;){switch(this.tokenType){case n.Comment:this.next();continue;case n.WhiteSpace:r=!0,this.next();continue}var i=e.getNode.call(this,o);if(void 0===i)break;r&&(e.onWhiteSpace&&e.onWhiteSpace.call(this,i,t,o),r=!1),t.push(i)}r&&e.onWhiteSpace&&e.onWhiteSpace.call(this,null,t,o);return t};var n=r(11)},function(e,t,r){"use strict";function n(e){return(n="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)}r(2),r(1),r(4),r(15),r(5),r(14),r(3),r(7),r(8),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=l(r(782)),i=s(r(788)),a=s(r(794)),u=l(r(795));function s(e){return e&&e.__esModule?e:{default:e}}function c(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,r=new WeakMap;return(c=function(e){return e?r:t})(e)}function l(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!==n(e)&&"function"!=typeof e)return{default:e};var r=c(t);if(r&&r.has(e))return r.get(e);var o={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if("default"!==a&&Object.prototype.hasOwnProperty.call(e,a)){var u=i?Object.getOwnPropertyDescriptor(e,a):null;u&&(u.get||u.set)?Object.defineProperty(o,a,u):o[a]=e[a]}return o.default=e,r&&r.set(e,o),o}var f={parseContext:{default:"StyleSheet",stylesheet:"StyleSheet",atrule:"Atrule",atrulePrelude:function(e){return this.AtrulePrelude(e.atrule?String(e.atrule):null)},mediaQueryList:"MediaQueryList",mediaQuery:"MediaQuery",rule:"Rule",selectorList:"SelectorList",selector:"Selector",block:function(){return this.Block(!0)},declarationList:"DeclarationList",declaration:"Declaration",value:"Value"},scope:o,atrule:i.default,pseudo:a.default,node:u};t.default=f},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"AtrulePrelude",{enumerable:!0,get:function(){return n.default}}),Object.defineProperty(t,"Selector",{enumerable:!0,get:function(){return o.default}}),Object.defineProperty(t,"Value",{enumerable:!0,get:function(){return i.default}});var n=a(r(783)),o=a(r(784)),i=a(r(785));function a(e){return e&&e.__esModule?e:{default:e}}},function(e,t,r){"use strict";var n;Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o={getNode:((n=r(429))&&n.__esModule?n:{default:n}).default};t.default=o},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=r(11);var o={onWhiteSpace:function(e,t){null!==t.last&&"Combinator"!==t.last.type&&null!==e&&"Combinator"!==e.type&&t.push({type:"Combinator",loc:null,name:" "})},getNode:function(){switch(this.tokenType){case n.LeftSquareBracket:return this.AttributeSelector();case n.Hash:return this.IdSelector();case n.Colon:return this.lookupType(1)===n.Colon?this.PseudoElementSelector():this.PseudoClassSelector();case n.Ident:return this.TypeSelector();case n.Number:case n.Percentage:return this.Percentage();case n.Dimension:46===this.charCodeAt(this.tokenStart)&&this.error("Identifier is expected",this.tokenStart+1);break;case n.Delim:switch(this.charCodeAt(this.tokenStart)){case 43:case 62:case 126:case 47:return this.Combinator();case 46:return this.ClassSelector();case 42:case 124:return this.TypeSelector();case 35:return this.IdSelector()}}}};t.default=o},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=a(r(429)),o=a(r(786)),i=a(r(787));function a(e){return e&&e.__esModule?e:{default:e}}function u(e){return null!==e&&"Operator"===e.type&&("-"===e.value[e.value.length-1]||"+"===e.value[e.value.length-1])}var s={getNode:n.default,onWhiteSpace:function(e,t){u(e)&&(e.value=" "+e.value),u(t.last)&&(t.last.value+=" ")},expression:o.default,var:i.default};t.default=s},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){return this.createSingleNodeList(this.Raw(this.tokenIndex,null,!1))}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){var e=this.createList();if(this.skipSC(),e.push(this.Identifier()),this.skipSC(),this.tokenType===n.Comma){e.push(this.Operator());var t=this.tokenIndex,r=this.parseCustomProperty?this.Value(null):this.Raw(this.tokenIndex,this.consumeUntilExclamationMarkOrSemicolon,!1);if("Value"===r.type&&r.children.isEmpty)for(var o=t-this.tokenIndex;o<=0;o++)if(this.lookupType(o)===n.WhiteSpace){r.children.appendData({type:"WhiteSpace",loc:null,value:" "});break}e.push(r)}return e};var n=r(11)},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=s(r(789)),o=s(r(790)),i=s(r(791)),a=s(r(792)),u=s(r(793));function s(e){return e&&e.__esModule?e:{default:e}}var c={"font-face":n.default,import:o.default,media:i.default,page:a.default,supports:u.default};t.default=c},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;t.default={parse:{prelude:null,block:function(){return this.Block(!0)}}}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=r(11),o={parse:{prelude:function(){var e=this.createList();switch(this.skipSC(),this.tokenType){case n.String:e.push(this.String());break;case n.Url:case n.Function:e.push(this.Url());break;default:this.error("String or url() is expected")}return this.lookupNonWSType(0)!==n.Ident&&this.lookupNonWSType(0)!==n.LeftParenthesis||e.push(this.MediaQueryList()),e},block:null}};t.default=o},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;t.default={parse:{prelude:function(){return this.createSingleNodeList(this.MediaQueryList())},block:function(){return this.Block(!1)}}}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;t.default={parse:{prelude:function(){return this.createSingleNodeList(this.SelectorList())},block:function(){return this.Block(!0)}}}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=r(11);function o(){return this.createSingleNodeList(this.Raw(this.tokenIndex,null,!1))}function i(){return this.skipSC(),this.tokenType===n.Ident&&this.lookupNonWSType(1)===n.Colon?this.createSingleNodeList(this.Declaration()):a.call(this)}function a(){var e,t=this.createList();this.skipSC();e:for(;!this.eof;){switch(this.tokenType){case n.Comment:case n.WhiteSpace:this.next();continue;case n.Function:e=this.Function(o,this.scope.AtrulePrelude);break;case n.Ident:e=this.Identifier();break;case n.LeftParenthesis:e=this.Parentheses(i,this.scope.AtrulePrelude);break;default:break e}t.push(e)}return t}var u={parse:{prelude:function(){var e=a.call(this);return null===this.getFirstListNode(e)&&this.error("Condition is expected"),e},block:function(){return this.Block(!1)}}};t.default=u},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n={parse:function(){return this.createSingleNodeList(this.SelectorList())}},o={parse:function(){return this.createSingleNodeList(this.Identifier())}},i={parse:function(){return this.createSingleNodeList(this.Nth())}},a={dir:o,has:n,lang:o,matches:n,is:n,"-moz-any":n,"-webkit-any":n,where:n,not:n,"nth-child":i,"nth-last-child":i,"nth-last-of-type":i,"nth-of-type":i,slotted:{parse:function(){return this.createSingleNodeList(this.Selector())}}};t.default=a},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"AnPlusB",{enumerable:!0,get:function(){return n.parse}}),Object.defineProperty(t,"Atrule",{enumerable:!0,get:function(){return o.parse}}),Object.defineProperty(t,"AtrulePrelude",{enumerable:!0,get:function(){return i.parse}}),Object.defineProperty(t,"AttributeSelector",{enumerable:!0,get:function(){return a.parse}}),Object.defineProperty(t,"Block",{enumerable:!0,get:function(){return u.parse}}),Object.defineProperty(t,"Brackets",{enumerable:!0,get:function(){return s.parse}}),Object.defineProperty(t,"CDC",{enumerable:!0,get:function(){return c.parse}}),Object.defineProperty(t,"CDO",{enumerable:!0,get:function(){return l.parse}}),Object.defineProperty(t,"ClassSelector",{enumerable:!0,get:function(){return f.parse}}),Object.defineProperty(t,"Combinator",{enumerable:!0,get:function(){return p.parse}}),Object.defineProperty(t,"Comment",{enumerable:!0,get:function(){return d.parse}}),Object.defineProperty(t,"Declaration",{enumerable:!0,get:function(){return h.parse}}),Object.defineProperty(t,"DeclarationList",{enumerable:!0,get:function(){return y.parse}}),Object.defineProperty(t,"Dimension",{enumerable:!0,get:function(){return v.parse}}),Object.defineProperty(t,"Function",{enumerable:!0,get:function(){return m.parse}}),Object.defineProperty(t,"Hash",{enumerable:!0,get:function(){return b.parse}}),Object.defineProperty(t,"IdSelector",{enumerable:!0,get:function(){return w.parse}}),Object.defineProperty(t,"Identifier",{enumerable:!0,get:function(){return g.parse}}),Object.defineProperty(t,"MediaFeature",{enumerable:!0,get:function(){return S.parse}}),Object.defineProperty(t,"MediaQuery",{enumerable:!0,get:function(){return O.parse}}),Object.defineProperty(t,"MediaQueryList",{enumerable:!0,get:function(){return _.parse}}),Object.defineProperty(t,"Nth",{enumerable:!0,get:function(){return x.parse}}),Object.defineProperty(t,"Number",{enumerable:!0,get:function(){return E.parse}}),Object.defineProperty(t,"Operator",{enumerable:!0,get:function(){return P.parse}}),Object.defineProperty(t,"Parentheses",{enumerable:!0,get:function(){return k.parse}}),Object.defineProperty(t,"Percentage",{enumerable:!0,get:function(){return j.parse}}),Object.defineProperty(t,"PseudoClassSelector",{enumerable:!0,get:function(){return T.parse}}),Object.defineProperty(t,"PseudoElementSelector",{enumerable:!0,get:function(){return A.parse}}),Object.defineProperty(t,"Ratio",{enumerable:!0,get:function(){return C.parse}}),Object.defineProperty(t,"Raw",{enumerable:!0,get:function(){return L.parse}}),Object.defineProperty(t,"Rule",{enumerable:!0,get:function(){return R.parse}}),Object.defineProperty(t,"Selector",{enumerable:!0,get:function(){return I.parse}}),Object.defineProperty(t,"SelectorList",{enumerable:!0,get:function(){return N.parse}}),Object.defineProperty(t,"String",{enumerable:!0,get:function(){return M.parse}}),Object.defineProperty(t,"StyleSheet",{enumerable:!0,get:function(){return D.parse}}),Object.defineProperty(t,"TypeSelector",{enumerable:!0,get:function(){return U.parse}}),Object.defineProperty(t,"UnicodeRange",{enumerable:!0,get:function(){return F.parse}}),Object.defineProperty(t,"Url",{enumerable:!0,get:function(){return B.parse}}),Object.defineProperty(t,"Value",{enumerable:!0,get:function(){return q.parse}}),Object.defineProperty(t,"WhiteSpace",{enumerable:!0,get:function(){return W.parse}});var n=r(247),o=r(248),i=r(249),a=r(250),u=r(251),s=r(252),c=r(253),l=r(254),f=r(255),p=r(256),d=r(257),h=r(258),y=r(259),v=r(260),m=r(261),b=r(262),g=r(263),w=r(264),S=r(265),O=r(266),_=r(267),x=r(268),E=r(269),P=r(270),k=r(271),j=r(272),T=r(273),A=r(274),C=r(275),L=r(276),R=r(277),I=r(278),N=r(279),M=r(280),D=r(281),U=r(282),F=r(283),B=r(284),q=r(285),W=r(286)},function(e,t,r){var n=r(13),o=r(23),i=r(327),a=r(203),u=r(9),s=n.RegExp,c=s.prototype;o&&u((function(){var e=!0;try{s(".","d")}catch(t){e=!1}var t={},r="",n=e?"dgimsy":"gimsy",o=function(e,n){Object.defineProperty(t,e,{get:function(){return r+=n,!0}})},i={dotAll:"s",global:"g",ignoreCase:"i",multiline:"m",sticky:"y"};for(var a in e&&(i.hasIndices="d"),i)o(a,i[a]);return Object.getOwnPropertyDescriptor(c,"flags").get.call(t)!==n||r!==n}))&&i(c,"flags",{configurable:!0,get:a})},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n,o=r(798),i=(n=r(800))&&n.__esModule?n:{default:n};var a=(0,o.createWalker)(i.default);t.default=a},function(e,t,r){"use strict";function n(e,t){var r="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!r){if(Array.isArray(e)||(r=function(e,t){if(!e)return;if("string"==typeof e)return o(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return o(e,t)}(e))||t&&e&&"number"==typeof e.length){r&&(e=r);var n=0,i=function(){};return{s:i,n:function(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]}},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 a,u=!0,s=!1;return{s:function(){r=r.call(e)},n:function(){var e=r.next();return u=e.done,e},e:function(e){s=!0,a=e},f:function(){try{u||null==r.return||r.return()}finally{if(s)throw a}}}}function o(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}r(35),r(4),r(19),r(8),r(2),r(5),Object.defineProperty(t,"__esModule",{value:!0}),t.createWalker=function(e){var t=function(e){var t={};for(var r in e.node)if(i.call(e.node,r)){var n=e.node[r];if(!n.structure)throw new Error("Missed `structure` field in `"+r+"` node type definition");t[r]=c(r,n)}return t}(e),r={},n={},o=Symbol("break-walk"),p=Symbol("skip-node");for(var d in t)i.call(t,d)&&null!==t[d]&&(r[d]=l(t[d],!1),n[d]=l(t[d],!0));var h=f(r),y=f(n),v=function(e,i){function c(e,t,r){var n=l.call(m,e,t,r);return n===o||n!==p&&(!(!d.hasOwnProperty(e.type)||!d[e.type](e,m,c,v))||f.call(m,e,t,r)===o)}var l=a,f=a,d=r,v=function(e,t,r,n){return e||c(t,r,n)},m={break:o,skip:p,root:e,stylesheet:null,atrule:null,atrulePrelude:null,rule:null,selector:null,block:null,declaration:null,function:null};if("function"==typeof i)l=i;else if(i&&(l=u(i.enter),f=u(i.leave),i.reverse&&(d=n),i.visit)){if(h.hasOwnProperty(i.visit))d=i.reverse?y[i.visit]:h[i.visit];else if(!t.hasOwnProperty(i.visit))throw new Error("Bad value `"+i.visit+"` for `visit` option (should be: "+Object.keys(t).sort().join(", ")+")");l=s(l,i.visit),f=s(f,i.visit)}if(l===a&&f===a)throw new Error("Neither `enter` nor `leave` walker handler is set or both aren't a function");c(e)};return v.break=o,v.skip=p,v.find=function(e,t){var r=null;return v(e,(function(e,n,i){if(t.call(this,e,n,i))return r=e,o})),r},v.findLast=function(e,t){var r=null;return v(e,{reverse:!0,enter:function(e,n,i){if(t.call(this,e,n,i))return r=e,o}}),r},v.findAll=function(e,t){var r=[];return v(e,(function(e,n,o){t.call(this,e,n,o)&&r.push(e)})),r},v},r(26),r(6),r(1),r(3),r(7),r(166),r(799),r(16),r(430);var i=Object.prototype.hasOwnProperty,a=function(){};function u(e){return"function"==typeof e?e:a}function s(e,t){return function(r,n,o){r.type===t&&e.call(this,r,n,o)}}function c(e,t){var r=t.structure,o=[];for(var a in r)if(!1!==i.call(r,a)){var u=r[a],s={name:a,type:!1,nullable:!1};Array.isArray(u)||(u=[u]);var c,l=n(u);try{for(l.s();!(c=l.n()).done;){var f=c.value;null===f?s.nullable=!0:"string"==typeof f?s.type="node":Array.isArray(f)&&(s.type="list")}}catch(e){l.e(e)}finally{l.f()}s.type&&o.push(s)}return o.length?{context:t.walkContext,fields:o}:null}function l(e,t){var r=e.fields.slice(),o=e.context,i="string"==typeof o;return t&&r.reverse(),function(e,a,u,s){var c;i&&(c=a[o],a[o]=e);var l,f=n(r);try{for(f.s();!(l=f.n()).done;){var p=l.value,d=e[p.name];if(!p.nullable||d)if("list"===p.type){if(t?d.reduceRight(s,!1):d.reduce(s,!1))return!0}else if(u(d))return!0}}catch(e){f.e(e)}finally{f.f()}i&&(a[o]=c)}}function f(e){var t=e.StyleSheet,r=e.Atrule,n=e.Rule,o=e.Block;return{Atrule:{StyleSheet:t,Atrule:r,Rule:n,Block:o},Rule:{StyleSheet:t,Atrule:r,Rule:n,Block:o},Declaration:{StyleSheet:t,Atrule:r,Rule:n,Block:o,DeclarationList:e.DeclarationList}}}},function(e,t,r){"use strict";var n=r(12),o=r(10),i=r(53),a=r(40),u=r(44),s=r(420),c=r(38),l=r(9),f=r(206),p=r(154),d=r(422),h=r(423),y=r(99),v=r(424),m=[],b=o(m.sort),g=o(m.push),w=l((function(){m.sort(void 0)})),S=l((function(){m.sort(null)})),O=p("sort"),_=!l((function(){if(y)return y<70;if(!(d&&d>3)){if(h)return!0;if(v)return v<603;var e,t,r,n,o="";for(e=65;e<76;e++){switch(t=String.fromCharCode(e),e){case 66:case 69:case 70:case 72:r=3;break;case 68:case 71:r=4;break;default:r=2}for(n=0;n<47;n++)m.push({k:t+n,v:r})}for(m.sort((function(e,t){return t.v-e.v})),n=0;n<m.length;n++)t=m[n].k.charAt(0),o.charAt(o.length-1)!==t&&(o+=t);return"DGBEFHACIJK"!==o}}));n({target:"Array",proto:!0,forced:w||!S||!O||!_},{sort:function(e){void 0!==e&&i(e);var t=a(this);if(_)return void 0===e?b(t):b(t,e);var r,n,o=[],l=u(t);for(n=0;n<l;n++)n in t&&g(o,t[n]);for(f(o,function(e){return function(t,r){return void 0===r?-1:void 0===t?1:void 0!==e?+e(t,r)||0:c(t)>c(r)?1:-1}}(e)),r=o.length,n=0;n<r;)t[n]=o[n++];for(;n<l;)s(t,n++);return t}})},function(e,t,r){"use strict";function n(e){return(n="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 o(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,r=new WeakMap;return(o=function(e){return e?r:t})(e)}r(2),r(1),r(4),r(15),r(5),r(14),r(3),r(7),r(8),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i={node:function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!==n(e)&&"function"!=typeof e)return{default:e};var r=o(t);if(r&&r.has(e))return r.get(e);var i={},a=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var u in e)if("default"!==u&&Object.prototype.hasOwnProperty.call(e,u)){var s=a?Object.getOwnPropertyDescriptor(e,u):null;s&&(s.get||s.set)?Object.defineProperty(i,u,s):i[u]=e[u]}i.default=e,r&&r.set(e,i);return i}(r(801))};t.default=i},function(e,t,r){"use strict";function n(e){return(n="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)}r(2),r(1),r(4),r(15),r(5),r(14),r(3),r(7),r(8),Object.defineProperty(t,"__esModule",{value:!0}),t.WhiteSpace=t.Value=t.Url=t.UnicodeRange=t.TypeSelector=t.StyleSheet=t.String=t.SelectorList=t.Selector=t.Rule=t.Raw=t.Ratio=t.PseudoElementSelector=t.PseudoClassSelector=t.Percentage=t.Parentheses=t.Operator=t.Number=t.Nth=t.MediaQueryList=t.MediaQuery=t.MediaFeature=t.Identifier=t.IdSelector=t.Hash=t.Function=t.Dimension=t.DeclarationList=t.Declaration=t.Comment=t.Combinator=t.ClassSelector=t.CDO=t.CDC=t.Brackets=t.Block=t.AttributeSelector=t.AtrulePrelude=t.Atrule=t.AnPlusB=void 0;var o=V(r(247));t.AnPlusB=o;var i=V(r(248));t.Atrule=i;var a=V(r(249));t.AtrulePrelude=a;var u=V(r(250));t.AttributeSelector=u;var s=V(r(251));t.Block=s;var c=V(r(252));t.Brackets=c;var l=V(r(253));t.CDC=l;var f=V(r(254));t.CDO=f;var p=V(r(255));t.ClassSelector=p;var d=V(r(256));t.Combinator=d;var h=V(r(257));t.Comment=h;var y=V(r(258));t.Declaration=y;var v=V(r(259));t.DeclarationList=v;var m=V(r(260));t.Dimension=m;var b=V(r(261));t.Function=b;var g=V(r(262));t.Hash=g;var w=V(r(263));t.Identifier=w;var S=V(r(264));t.IdSelector=S;var O=V(r(265));t.MediaFeature=O;var _=V(r(266));t.MediaQuery=_;var x=V(r(267));t.MediaQueryList=x;var E=V(r(268));t.Nth=E;var P=V(r(269));t.Number=P;var k=V(r(270));t.Operator=k;var j=V(r(271));t.Parentheses=j;var T=V(r(272));t.Percentage=T;var A=V(r(273));t.PseudoClassSelector=A;var C=V(r(274));t.PseudoElementSelector=C;var L=V(r(275));t.Ratio=L;var R=V(r(276));t.Raw=R;var I=V(r(277));t.Rule=I;var N=V(r(278));t.Selector=N;var M=V(r(279));t.SelectorList=M;var D=V(r(280));t.String=D;var U=V(r(281));t.StyleSheet=U;var F=V(r(282));t.TypeSelector=F;var B=V(r(283));t.UnicodeRange=B;var q=V(r(284));t.Url=q;var W=V(r(285));t.Value=W;var z=V(r(286));function H(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,r=new WeakMap;return(H=function(e){return e?r:t})(e)}function V(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!==n(e)&&"function"!=typeof e)return{default:e};var r=H(t);if(r&&r.has(e))return r.get(e);var o={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if("default"!==a&&Object.prototype.hasOwnProperty.call(e,a)){var u=i?Object.getOwnPropertyDescriptor(e,a):null;u&&(u.get||u.set)?Object.defineProperty(o,a,u):o[a]=e[a]}return o.default=e,r&&r.set(e,o),o}t.WhiteSpace=z},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n,o=r(803),i=(n=r(811))&&n.__esModule?n:{default:n};var a=(0,o.createGenerator)(i.default);t.default=a},function(e,t,r){"use strict";function n(e){return(n="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)}r(15),r(14),r(3),r(7),r(8),Object.defineProperty(t,"__esModule",{value:!0}),t.createGenerator=function(e){var t=new Map;for(var r in e.node){var n=e.node[r];"function"==typeof(n.generate||n)&&t.set(r,n.generate||n)}return function(e,r){var n="",u=0,l={node:function(e){if(!t.has(e.type))throw new Error("Unknown node type: "+e.type);t.get(e.type).call(f,e)},tokenBefore:a.safe,token:function(e,t){u=this.tokenBefore(u,e,t),this.emit(t,e,!1),e===o.Delim&&92===t.charCodeAt(0)&&this.emit("\n",o.WhiteSpace,!0)},emit:function(e){n+=e},result:function(){return n}};r&&("function"==typeof r.decorator&&(l=r.decorator(l)),r.sourceMap&&(l=(0,i.generateSourceMap)(l)),r.mode in a&&(l.tokenBefore=a[r.mode]));var f={node:function(e){return l.node(e)},children:s,token:function(e,t){return l.token(e,t)},tokenize:c};return l.node(e),l.result()}},r(1),r(17),r(26),r(2),r(94),r(4),r(5);var o=r(11),i=r(804),a=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!==n(e)&&"function"!=typeof e)return{default:e};var r=u(t);if(r&&r.has(e))return r.get(e);var o={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if("default"!==a&&Object.prototype.hasOwnProperty.call(e,a)){var s=i?Object.getOwnPropertyDescriptor(e,a):null;s&&(s.get||s.set)?Object.defineProperty(o,a,s):o[a]=e[a]}o.default=e,r&&r.set(e,o);return o}(r(810));function u(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,r=new WeakMap;return(u=function(e){return e?r:t})(e)}function s(e,t){var r=this;if("function"!=typeof t)e.children.forEach(this.node,this);else{var n=null;e.children.forEach((function(e){null!==n&&t.call(r,n),r.node(e),n=e}))}}function c(e){var t=this;(0,o.tokenize)(e,(function(r,n,o){t.token(r,e.slice(n,o))}))}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.generateSourceMap=function(e){var t=new n.SourceMapGenerator,r={line:1,column:0},i={line:0,column:0},a={line:1,column:0},u={generated:a},s=1,c=0,l=!1,f=e.node;e.node=function(e){if(e.loc&&e.loc.start&&o.has(e.type)){var n=e.loc.start.line,p=e.loc.start.column-1;i.line===n&&i.column===p||(i.line=n,i.column=p,r.line=s,r.column=c,l&&(l=!1,r.line===a.line&&r.column===a.column||t.addMapping(u)),l=!0,t.addMapping({source:e.loc.source,original:i,generated:r}))}f.call(this,e),l&&o.has(e.type)&&(a.line=s,a.column=c)};var p=e.emit;e.emit=function(e,t,r){for(var n=0;n<e.length;n++)10===e.charCodeAt(n)?(s++,c=0):c++;p(e,t,r)};var d=e.result;return e.result=function(){return l&&t.addMapping(u),{css:d(),map:t}},e},r(2),r(1),r(89),r(4),r(5);var n=r(805),o=new Set(["Atrule","Selector","Declaration"])},function(e,t,r){var n=r(806),o=r(287),i=r(808).ArraySet,a=r(809).MappingList;function u(e){e||(e={}),this._file=o.getArg(e,"file",null),this._sourceRoot=o.getArg(e,"sourceRoot",null),this._skipValidation=o.getArg(e,"skipValidation",!1),this._sources=new i,this._names=new i,this._mappings=new a,this._sourcesContents=null}u.prototype._version=3,u.fromSourceMap=function(e){var t=e.sourceRoot,r=new u({file:e.file,sourceRoot:t});return e.eachMapping((function(e){var n={generated:{line:e.generatedLine,column:e.generatedColumn}};null!=e.source&&(n.source=e.source,null!=t&&(n.source=o.relative(t,n.source)),n.original={line:e.originalLine,column:e.originalColumn},null!=e.name&&(n.name=e.name)),r.addMapping(n)})),e.sources.forEach((function(n){var i=n;null!==t&&(i=o.relative(t,n)),r._sources.has(i)||r._sources.add(i);var a=e.sourceContentFor(n);null!=a&&r.setSourceContent(n,a)})),r},u.prototype.addMapping=function(e){var t=o.getArg(e,"generated"),r=o.getArg(e,"original",null),n=o.getArg(e,"source",null),i=o.getArg(e,"name",null);this._skipValidation||this._validateMapping(t,r,n,i),null!=n&&(n=String(n),this._sources.has(n)||this._sources.add(n)),null!=i&&(i=String(i),this._names.has(i)||this._names.add(i)),this._mappings.add({generatedLine:t.line,generatedColumn:t.column,originalLine:null!=r&&r.line,originalColumn:null!=r&&r.column,source:n,name:i})},u.prototype.setSourceContent=function(e,t){var r=e;null!=this._sourceRoot&&(r=o.relative(this._sourceRoot,r)),null!=t?(this._sourcesContents||(this._sourcesContents=Object.create(null)),this._sourcesContents[o.toSetString(r)]=t):this._sourcesContents&&(delete this._sourcesContents[o.toSetString(r)],0===Object.keys(this._sourcesContents).length&&(this._sourcesContents=null))},u.prototype.applySourceMap=function(e,t,r){var n=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.');n=e.file}var a=this._sourceRoot;null!=a&&(n=o.relative(a,n));var u=new i,s=new i;this._mappings.unsortedForEach((function(t){if(t.source===n&&null!=t.originalLine){var i=e.originalPositionFor({line:t.originalLine,column:t.originalColumn});null!=i.source&&(t.source=i.source,null!=r&&(t.source=o.join(r,t.source)),null!=a&&(t.source=o.relative(a,t.source)),t.originalLine=i.line,t.originalColumn=i.column,null!=i.name&&(t.name=i.name))}var c=t.source;null==c||u.has(c)||u.add(c);var l=t.name;null==l||s.has(l)||s.add(l)}),this),this._sources=u,this._names=s,e.sources.forEach((function(t){var n=e.sourceContentFor(t);null!=n&&(null!=r&&(t=o.join(r,t)),null!=a&&(t=o.relative(a,t)),this.setSourceContent(t,n))}),this)},u.prototype._validateMapping=function(e,t,r,n){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||r||n)&&!(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&&r))throw new Error("Invalid mapping: "+JSON.stringify({generated:e,source:r,original:t,name:n}))},u.prototype._serializeMappings=function(){for(var e,t,r,i,a=0,u=1,s=0,c=0,l=0,f=0,p="",d=this._mappings.toArray(),h=0,y=d.length;h<y;h++){if(e="",(t=d[h]).generatedLine!==u)for(a=0;t.generatedLine!==u;)e+=";",u++;else if(h>0){if(!o.compareByGeneratedPositionsInflated(t,d[h-1]))continue;e+=","}e+=n.encode(t.generatedColumn-a),a=t.generatedColumn,null!=t.source&&(i=this._sources.indexOf(t.source),e+=n.encode(i-f),f=i,e+=n.encode(t.originalLine-1-c),c=t.originalLine-1,e+=n.encode(t.originalColumn-s),s=t.originalColumn,null!=t.name&&(r=this._names.indexOf(t.name),e+=n.encode(r-l),l=r)),p+=e}return p},u.prototype._generateSourcesContent=function(e,t){return e.map((function(e){if(!this._sourcesContents)return null;null!=t&&(e=o.relative(t,e));var r=o.toSetString(e);return Object.prototype.hasOwnProperty.call(this._sourcesContents,r)?this._sourcesContents[r]:null}),this)},u.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},u.prototype.toString=function(){return JSON.stringify(this.toJSON())},t.SourceMapGenerator=u},function(e,t,r){var n=r(807);t.encode=function(e){var t,r="",o=function(e){return e<0?1+(-e<<1):0+(e<<1)}(e);do{t=31&o,(o>>>=5)>0&&(t|=32),r+=n.encode(t)}while(o>0);return r},t.decode=function(e,t,r){var o,i,a,u,s=e.length,c=0,l=0;do{if(t>=s)throw new Error("Expected more digits in base 64 VLQ value.");if(-1===(i=n.decode(e.charCodeAt(t++))))throw new Error("Invalid base64 digit: "+e.charAt(t-1));o=!!(32&i),c+=(i&=31)<<l,l+=5}while(o);r.value=(u=(a=c)>>1,1==(1&a)?-u:u),r.rest=t}},function(e,t){var r="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".split("");t.encode=function(e){if(0<=e&&e<r.length)return r[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,r){var n=r(287),o=Object.prototype.hasOwnProperty,i="undefined"!=typeof Map;function a(){this._array=[],this._set=i?new Map:Object.create(null)}a.fromArray=function(e,t){for(var r=new a,n=0,o=e.length;n<o;n++)r.add(e[n],t);return r},a.prototype.size=function(){return i?this._set.size:Object.getOwnPropertyNames(this._set).length},a.prototype.add=function(e,t){var r=i?e:n.toSetString(e),a=i?this.has(e):o.call(this._set,r),u=this._array.length;a&&!t||this._array.push(e),a||(i?this._set.set(e,u):this._set[r]=u)},a.prototype.has=function(e){if(i)return this._set.has(e);var t=n.toSetString(e);return o.call(this._set,t)},a.prototype.indexOf=function(e){if(i){var t=this._set.get(e);if(t>=0)return t}else{var r=n.toSetString(e);if(o.call(this._set,r))return this._set[r]}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,r){var n=r(287);function o(){this._array=[],this._sorted=!0,this._last={generatedLine:-1,generatedColumn:0}}o.prototype.unsortedForEach=function(e,t){this._array.forEach(e,t)},o.prototype.add=function(e){var t,r,o,i,a,u;t=this._last,r=e,o=t.generatedLine,i=r.generatedLine,a=t.generatedColumn,u=r.generatedColumn,i>o||i==o&&u>=a||n.compareByGeneratedPositionsInflated(t,r)<=0?(this._last=e,this._array.push(e)):(this._sorted=!1,this._array.push(e))},o.prototype.toArray=function(){return this._sorted||(this._array.sort(n.compareByGeneratedPositionsInflated),this._sorted=!0),this._array},t.MappingList=o},function(e,t,r){"use strict";r(3),r(7),r(8),r(26),r(6),r(35),r(19),Object.defineProperty(t,"__esModule",{value:!0}),t.spec=t.safe=void 0,r(32),r(2),r(1),r(89),r(4),r(5),r(52);var n=r(11);function o(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null==r)return;var n,o,i=[],a=!0,u=!1;try{for(r=r.call(e);!(a=(n=r.next()).done)&&(i.push(n.value),!t||i.length!==t);a=!0);}catch(e){u=!0,o=e}finally{try{a||null==r.return||r.return()}finally{if(u)throw o}}return i}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return i(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return i(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function i(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}var a=function(e,t){if(e===n.Delim&&(e=t),"string"==typeof e){var r=e.charCodeAt(0);return r>127?32768:r<<8}return e},u=[[n.Ident,n.Ident],[n.Ident,n.Function],[n.Ident,n.Url],[n.Ident,n.BadUrl],[n.Ident,"-"],[n.Ident,n.Number],[n.Ident,n.Percentage],[n.Ident,n.Dimension],[n.Ident,n.CDC],[n.Ident,n.LeftParenthesis],[n.AtKeyword,n.Ident],[n.AtKeyword,n.Function],[n.AtKeyword,n.Url],[n.AtKeyword,n.BadUrl],[n.AtKeyword,"-"],[n.AtKeyword,n.Number],[n.AtKeyword,n.Percentage],[n.AtKeyword,n.Dimension],[n.AtKeyword,n.CDC],[n.Hash,n.Ident],[n.Hash,n.Function],[n.Hash,n.Url],[n.Hash,n.BadUrl],[n.Hash,"-"],[n.Hash,n.Number],[n.Hash,n.Percentage],[n.Hash,n.Dimension],[n.Hash,n.CDC],[n.Dimension,n.Ident],[n.Dimension,n.Function],[n.Dimension,n.Url],[n.Dimension,n.BadUrl],[n.Dimension,"-"],[n.Dimension,n.Number],[n.Dimension,n.Percentage],[n.Dimension,n.Dimension],[n.Dimension,n.CDC],["#",n.Ident],["#",n.Function],["#",n.Url],["#",n.BadUrl],["#","-"],["#",n.Number],["#",n.Percentage],["#",n.Dimension],["#",n.CDC],["-",n.Ident],["-",n.Function],["-",n.Url],["-",n.BadUrl],["-","-"],["-",n.Number],["-",n.Percentage],["-",n.Dimension],["-",n.CDC],[n.Number,n.Ident],[n.Number,n.Function],[n.Number,n.Url],[n.Number,n.BadUrl],[n.Number,n.Number],[n.Number,n.Percentage],[n.Number,n.Dimension],[n.Number,"%"],[n.Number,n.CDC],["@",n.Ident],["@",n.Function],["@",n.Url],["@",n.BadUrl],["@","-"],["@",n.CDC],[".",n.Number],[".",n.Percentage],[".",n.Dimension],["+",n.Number],["+",n.Percentage],["+",n.Dimension],["/","*"]],s=u.concat([[n.Ident,n.Hash],[n.Dimension,n.Hash],[n.Hash,n.Hash],[n.AtKeyword,n.LeftParenthesis],[n.AtKeyword,n.String],[n.AtKeyword,n.Colon],[n.Percentage,n.Percentage],[n.Percentage,n.Dimension],[n.Percentage,n.Function],[n.Percentage,"-"],[n.RightParenthesis,n.Ident],[n.RightParenthesis,n.Function],[n.RightParenthesis,n.Percentage],[n.RightParenthesis,n.Dimension],[n.RightParenthesis,n.Hash],[n.RightParenthesis,"-"]]);function c(e){var t=new Set(e.map((function(e){var t=o(e,2),r=t[0],n=t[1];return a(r)<<16|a(n)})));return function(e,r,o){var i=a(r,o),u=o.charCodeAt(0);return(45===u&&r!==n.Ident&&r!==n.Function&&r!==n.CDC||43===u?t.has(e<<16|u<<8):t.has(e<<16|i))&&this.emit(" ",n.WhiteSpace,!0),i}}var l=c(u);t.spec=l;var f=c(s);t.safe=f},function(e,t,r){"use strict";function n(e){return(n="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 o(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,r=new WeakMap;return(o=function(e){return e?r:t})(e)}r(2),r(1),r(4),r(15),r(5),r(14),r(3),r(7),r(8),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i={node:function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!==n(e)&&"function"!=typeof e)return{default:e};var r=o(t);if(r&&r.has(e))return r.get(e);var i={},a=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var u in e)if("default"!==u&&Object.prototype.hasOwnProperty.call(e,u)){var s=a?Object.getOwnPropertyDescriptor(e,u):null;s&&(s.get||s.set)?Object.defineProperty(i,u,s):i[u]=e[u]}i.default=e,r&&r.set(e,i);return i}(r(812))};t.default=i},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"AnPlusB",{enumerable:!0,get:function(){return n.generate}}),Object.defineProperty(t,"Atrule",{enumerable:!0,get:function(){return o.generate}}),Object.defineProperty(t,"AtrulePrelude",{enumerable:!0,get:function(){return i.generate}}),Object.defineProperty(t,"AttributeSelector",{enumerable:!0,get:function(){return a.generate}}),Object.defineProperty(t,"Block",{enumerable:!0,get:function(){return u.generate}}),Object.defineProperty(t,"Brackets",{enumerable:!0,get:function(){return s.generate}}),Object.defineProperty(t,"CDC",{enumerable:!0,get:function(){return c.generate}}),Object.defineProperty(t,"CDO",{enumerable:!0,get:function(){return l.generate}}),Object.defineProperty(t,"ClassSelector",{enumerable:!0,get:function(){return f.generate}}),Object.defineProperty(t,"Combinator",{enumerable:!0,get:function(){return p.generate}}),Object.defineProperty(t,"Comment",{enumerable:!0,get:function(){return d.generate}}),Object.defineProperty(t,"Declaration",{enumerable:!0,get:function(){return h.generate}}),Object.defineProperty(t,"DeclarationList",{enumerable:!0,get:function(){return y.generate}}),Object.defineProperty(t,"Dimension",{enumerable:!0,get:function(){return v.generate}}),Object.defineProperty(t,"Function",{enumerable:!0,get:function(){return m.generate}}),Object.defineProperty(t,"Hash",{enumerable:!0,get:function(){return b.generate}}),Object.defineProperty(t,"IdSelector",{enumerable:!0,get:function(){return w.generate}}),Object.defineProperty(t,"Identifier",{enumerable:!0,get:function(){return g.generate}}),Object.defineProperty(t,"MediaFeature",{enumerable:!0,get:function(){return S.generate}}),Object.defineProperty(t,"MediaQuery",{enumerable:!0,get:function(){return O.generate}}),Object.defineProperty(t,"MediaQueryList",{enumerable:!0,get:function(){return _.generate}}),Object.defineProperty(t,"Nth",{enumerable:!0,get:function(){return x.generate}}),Object.defineProperty(t,"Number",{enumerable:!0,get:function(){return E.generate}}),Object.defineProperty(t,"Operator",{enumerable:!0,get:function(){return P.generate}}),Object.defineProperty(t,"Parentheses",{enumerable:!0,get:function(){return k.generate}}),Object.defineProperty(t,"Percentage",{enumerable:!0,get:function(){return j.generate}}),Object.defineProperty(t,"PseudoClassSelector",{enumerable:!0,get:function(){return T.generate}}),Object.defineProperty(t,"PseudoElementSelector",{enumerable:!0,get:function(){return A.generate}}),Object.defineProperty(t,"Ratio",{enumerable:!0,get:function(){return C.generate}}),Object.defineProperty(t,"Raw",{enumerable:!0,get:function(){return L.generate}}),Object.defineProperty(t,"Rule",{enumerable:!0,get:function(){return R.generate}}),Object.defineProperty(t,"Selector",{enumerable:!0,get:function(){return I.generate}}),Object.defineProperty(t,"SelectorList",{enumerable:!0,get:function(){return N.generate}}),Object.defineProperty(t,"String",{enumerable:!0,get:function(){return M.generate}}),Object.defineProperty(t,"StyleSheet",{enumerable:!0,get:function(){return D.generate}}),Object.defineProperty(t,"TypeSelector",{enumerable:!0,get:function(){return U.generate}}),Object.defineProperty(t,"UnicodeRange",{enumerable:!0,get:function(){return F.generate}}),Object.defineProperty(t,"Url",{enumerable:!0,get:function(){return B.generate}}),Object.defineProperty(t,"Value",{enumerable:!0,get:function(){return q.generate}}),Object.defineProperty(t,"WhiteSpace",{enumerable:!0,get:function(){return W.generate}});var n=r(247),o=r(248),i=r(249),a=r(250),u=r(251),s=r(252),c=r(253),l=r(254),f=r(255),p=r(256),d=r(257),h=r(258),y=r(259),v=r(260),m=r(261),b=r(262),g=r(263),w=r(264),S=r(265),O=r(266),_=r(267),x=r(268),E=r(269),P=r(270),k=r(271),j=r(272),T=r(273),A=r(274),C=r(275),L=r(276),R=r(277),I=r(278),N=r(279),M=r(280),D=r(281),U=r(282),F=r(283),B=r(284),q=r(285),W=r(286)},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=i(r(90)),o=i(r(165));function i(e){return e&&e.__esModule?e:{default:e}}function a(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}var u,s,c,l=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e)}var t,r,i;return t=e,i=[{key:"get",value:function(t){var r=n.default.createHash(t),i=o.default.get(e.localStorageKey);return i&&i[r]?i[r]:null}},{key:"set",value:function(t,r){var i=n.default.createHash(t),a=o.default.get(e.localStorageKey);a&&(a[i]={data:r},o.default.set(a,e.localStorageKey))}},{key:"clear",value:function(){o.default.clear(e.localStorageKey)}}],(r=null)&&a(t.prototype,r),i&&a(t,i),Object.defineProperty(t,"prototype",{writable:!1}),e}();c="bber_cache",(s="localStorageKey")in(u=l)?Object.defineProperty(u,s,{value:c,enumerable:!0,configurable:!0,writable:!0}):u[s]=c;var f=l;t.default=f},function(e,t,r){"use strict";r(16),r(3),r(27),r(14),r(17),r(34),r(7),r(8),r(26),r(35),Object.defineProperty(t,"__esModule",{value:!0}),t.processingInstructions=t.processNodeDefinitions=t.isValidNode=void 0,r(19),r(6),r(2),r(1),r(89),r(4),r(5),r(94),r(52),r(80),r(69);var n=f(r(0)),o=f(r(167)),i=f(r(174)),a=r(388),u=r(106),s=f(r(90)),c=f(r(66)),l=r(57);function f(e){return e&&e.__esModule?e:{default:e}}function p(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null==r)return;var n,o,i=[],a=!0,u=!1;try{for(r=r.call(e);!(a=(n=r.next()).done)&&(i.push(n.value),!t||i.length!==t);a=!0);}catch(e){u=!0,o=e}finally{try{a||null==r.return||r.return()}finally{if(u)throw o}}return i}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return d(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return d(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function d(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function h(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function y(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?h(Object(r),!0).forEach((function(t){v(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):h(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function v(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}t.isValidNode=function(){return!0};var m=new a.ProcessNodeDefinitions(n.default);t.processNodeDefinitions=m;t.processingInstructions=function(e){var t=e.requestedSpineItem;return[{shouldProcessNode:function(e){var t;return"noteref"===(null==e||null===(t=e.attribs)||void 0===t?void 0:t["epub:type"])},processNode:function(e,r){var o=s.default.convertToReactAttrs(e.attribs),i=(0,l.rand)(),a=c.default.resolveOverlappingURL(t.absoluteURL,e.attribs.href);return n.default.createElement(u.Footnote,y(y({},o),{},{key:i,href:a}),r)}},{shouldProcessNode:function(e){var t,r,n;return(null===(t=e.attribs)||void 0===t?void 0:t.href)&&(!(null!==(r=e.attribs)&&void 0!==r&&r["epub:type"])||"noteref"!==(null===(n=e.attribs)||void 0===n?void 0:n["epub:type"]))},processNode:function(e,r){var o=s.default.convertToReactAttrs(e.attribs),i=(0,l.rand)(),a=e.attribs.href;return c.default.isRelative(e.attribs.href)&&(a=c.default.resolveOverlappingURL(t.absoluteURL,e.attribs.href)),n.default.createElement(u.Link,y(y({},o),{},{key:i,href:a}),r)}},{shouldProcessNode:function(e){return/^(img|source)$/.test(e.name)&&e.attribs&&e.attribs.src&&c.default.isRelative(e.attribs.src)},processNode:function(e){var r=s.default.convertToReactAttrs(e.attribs),o=(0,l.rand)(),i=c.default.resolveOverlappingURL(t.absoluteURL,e.attribs.src);return n.default.createElement(e.name,y(y({},r),{},{key:o,src:i}))}},{shouldProcessNode:function(e){return"audio"===e.name},processNode:function(e,t){var r=s.default.convertToReactAttrs(e.attribs),o=r.id,a=r.autoPlay,c=(0,l.getControlsPreset)(r),f=o,p=!1;return(0,i.default)(a)||(p=!0,delete r.autoPlay),n.default.createElement(u.Audio,y(y({},r),{},{"data-autoplay":p,controls:c,key:f}),t)}},{shouldProcessNode:function(e){return"video"===e.name},processNode:function(e,r){var o=s.default.convertToReactAttrs(e.attribs),a=o.id,f=o.autoPlay,p=(0,l.getControlsPreset)(o),d=a,h=e.attribs.poster?c.default.resolveOverlappingURL(t.absoluteURL,e.attribs.poster):null,v=!1;return(0,i.default)(f)||(v=!0,delete o.autoPlay),n.default.createElement(u.Video,y(y({},o),{},{"data-autoplay":v,controls:p,key:d,poster:h}),r)}},{shouldProcessNode:function(e){return"iframe"===e.name&&e.attribs["data-vimeo"]},processNode:function(e,r){var o=s.default.convertToReactAttrs(e.attribs),i=(0,l.rand)(),a=new Set(["16x9","4x3"]),f=null,d=new Map([["x",16],["y",9]]);if(e.attribs["data-vimeo-poster"]&&(f=c.default.resolveOverlappingURL(t.absoluteURL,e.attribs["data-vimeo-poster"])),e.attribs["data-aspect-ratio"]&&a.has(e.attribs["data-aspect-ratio"])){var h=p(e.attribs["data-aspect-ratio"].split("x").map(Number),2),v=h[0],m=h[1];d.set("x",v),d.set("y",m)}delete o["data-vimeo"],delete o["data-vimeo-poster"],delete o["data-aspect-ratio"];for(var b=e.parent;b;){if("tag"===b.type&&b.attribs["data-marker-reference-figure"]){o.useElementOffsetLeft=!1;break}b=b.parent}return n.default.createElement(u.Vimeo,y(y({},o),{},{key:i,posterImage:f,aspectRatio:d}),r)}},{shouldProcessNode:function(e){return"iframe"===e.name},processNode:function(e,t){var r=s.default.convertToReactAttrs(e.attribs),o=(0,l.rand)();r.spreadLayout=!1;for(var i=e.parent;i;){if("tag"===i.type&&i.attribs["data-marker-reference-figure"]){r.useElementOffsetLeft=!1,r.spreadLayout=!0;break}i=i.parent}return n.default.createElement(u.Iframe,y(y({},r),{},{key:o}),t)}},{shouldProcessNode:function(e){return"image"===e.name&&e.attribs&&e.attribs["xlink:href"]&&c.default.isRelative(e.attribs["xlink:href"])},processNode:function(e,r){var o=s.default.convertToReactAttrs(e.attribs),i=(0,l.rand)(),a=c.default.resolveOverlappingURL(t.absoluteURL,o.xlinkHref);return n.default.createElement(e.name,y(y({},o),{},{key:i,xlinkHref:a}),r)}},{shouldProcessNode:function(e){return"tag"===e.type&&(0,o.default)(e.attribs,"data-marker-reference-figure")},processNode:function(e,t){var r=s.default.convertToReactAttrs(e.attribs),o="spread-figure-".concat(r["data-marker-reference-figure"]);return n.default.createElement(u.SpreadFigure,y(y({},r),{},{key:o}),t)}},{shouldProcessNode:function(e){return"tag"===e.type&&(0,o.default)(e.attribs,"data-ultimate")},processNode:function(e,t){return n.default.createElement(u.Ultimate,{},t)}},{shouldProcessNode:function(e){return"tag"===e.type&&(0,o.default)(e.attribs,"data-marker-reference")},processNode:function(e,t){var r=s.default.convertToReactAttrs(e.attribs),o="spread-".concat(r["data-marker-reference"]);return n.default.createElement(u.Spread,y(y({},r),{},{key:o}),t)}},{shouldProcessNode:function(e){return"tag"===e.type&&(0,o.default)(e.attribs,"data-marker")},processNode:function(e,t){e.parent.attribs=y(y({},e.parent.attribs),{},{style:"padding-bottom: 0; margin-bottom: 0"});var r=s.default.convertToReactAttrs(e.attribs),o="marker-".concat(r["data-marker"]);return n.default.createElement(u.Marker,y(y({},r),{},{key:o}),t)}},{shouldProcessNode:function(){return!0},processNode:m.processDefaultNode}]}},function(e,t,r){"use strict";r(16),r(3),r(14),r(34),r(7),r(8),r(6),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,r(1),r(2),r(89),r(4),r(5),r(17),r(91),r(27),r(35),r(26),r(32),r(19),r(92);var n=a(r(174)),o=a(r(352)),i=r(57);function a(e){return e&&e.__esModule?e:{default:e}}function u(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null==r)return;var n,o,i=[],a=!0,u=!1;try{for(r=r.call(e);!(a=(n=r.next()).done)&&(i.push(n.value),!t||i.length!==t);a=!0);}catch(e){u=!0,o=e}finally{try{a||null==r.return||r.return()}finally{if(u)throw o}}return i}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return s(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return s(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function s(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function c(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function l(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?c(Object(r),!0).forEach((function(t){d(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):c(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function f(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function p(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function d(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var h=function(){function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};f(this,e),d(this,"classListContainsAny",(function(e,t){return t.some((function(t){return e.classList.contains(t)}))})),o.default.getRootDocument()||o.default.setRootDocument(document),o.default.removeStyleSheets(),o.default.removeScripts(),this.settings=l(l({},e.defaults),t),o.default.setRequestURI(this.settings.responseURL),this.fullbleedClassNames=this.settings.fullbleedClassNames,this.blacklistedClassNames=this.settings.blacklistedClassNames,this.markerClassNames=this.settings.markerClassNames,this.markerElement=this.settings.markerElement,this.markerStyles={display:"block",height:"1px",position:"relative",top:0,left:0,width:"100%",lineHeight:0,textindent:0,margin:0,padding:0},this.blackListedNodes={names:new Set(["META","TITLE","HEAD","LINK","SCRIPT","STYLE","A","EM","I","STRONG","B","SPAN","IMG","AUDIO","VIDEO","BR","SUP","SUB","IFRAME","FIGURE","CITE","BLOCKQUOTE","LI"])}}var t,r,a;return t=e,(r=[{key:"classListContainsAll",value:function(e,t){return t.some((function(t){return t.every((function(t){return e.classList.contains(t)}))}))}},{key:"classListContainsNone",value:function(e,t){return t.every((function(t){return t.every((function(t){return!e.classList.contains(t)}))}))}},{key:"shouldParse",value:function(e){return 1===e.nodeType&&!1===this.blackListedNodes.names.has(e.nodeName.toUpperCase())&&!1===e.classList.contains(this.markerClassNames)&&this.classListContainsNone(e,this.blacklistedClassNames)}},{key:"isFullbleed",value:function(e){return this.classListContainsAll(e,this.fullbleedClassNames)}},{key:"isMarker",value:function(e){return this.classListContainsAll(e,[[this.markerClassNames]])}},{key:"isMarkerReferenceNode",value:function(e){return this.classListContainsAny(e,["spread__content"])||"FIGURE"===e.nodeName}},{key:"hasChildren",value:function(e){return e&&e.children&&e.children.length}},{key:"getLastChild",value:function(e){for(var t=null,r=e.length-1;r>=0;r--)if(t=e[r],this.shouldParse(t))return this.hasChildren(t)?this.getLastChild(t.children):t;return e[e.length-1].parentNode}},{key:"getSibling",value:function(e){if(null===e)return e;var t=e.previousElementSibling;return t?this.isFullbleed(t)?this.getSibling(t):this.shouldParse(t)?this.hasChildren(t)?this.getLastChild(t.children):t:this.getSibling(t):this.getSibling(e.parentNode)}},{key:"setMarkerStyles",value:function(e){Object.entries(this.markerStyles).forEach((function(t){var r=u(t,2),n=r[0],o=r[1];return e.style[n]=o}))}},{key:"createMarker",value:function(e){var t=document.createTextNode(""),r=document.createElement(this.markerElement);return r.setAttribute("class",this.markerClassNames),r.setAttribute("data-marker",e),r.setAttribute("data-unbound",!1),r.setAttribute("data-final",!1),r.appendChild(t),this.setMarkerStyles(r),r}},{key:"createMarkerId",value:function(){return(0,i.rand)()}},{key:"addMarkerReferenceToChild",value:function(e,t){for(var r=0;r<e.children.length;r++)this.isMarkerReferenceNode(e.children[r])&&e.children[r].setAttribute("data-marker-reference-figure",t)}},{key:"insertMarkers",value:function(e,t){for(var r=this,n=Array.from(e.children).filter((function(e){return!r.isMarker(e)})),o=0;o<n.length;o++){var i=n[o],a=this.createMarkerId(),u=void 0,s=this.shouldParse(i),c=this.isFullbleed(i);if(s){if(c)if(u=this.getSibling(i)){var l=this.createMarker(a);u.lastElementChild&&this.isMarker(u.lastElementChild)&&l.setAttribute("data-adjacent",!0),u.appendChild(l),i.setAttribute("data-marker-reference",a),i.classList.add("figure__processed"),this.addMarkerReferenceToChild(i,a)}else{var f=this.createMarker(a);f.setAttribute("data-unbound",!0),i.parentNode.prepend(f),i.setAttribute("data-marker-reference",a),i.classList.add("figure__processed"),this.addMarkerReferenceToChild(i,a)}i.children&&i.children.length&&this.insertMarkers(i)}}t&&"function"==typeof t&&t(e)}},{key:"isElementNode",value:function(e){return e.nodeType===window.Node.ELEMENT_NODE}},{key:"removeBottomSpacing",value:function(e){e.style.marginBottom="0",e.style.paddingBottom="0"}},{key:"addLastNode",value:function(e){var t,r,n=new Set(["META","TITLE","HEAD","LINK","SCRIPT","STYLE","EM","I","STRONG","B","SPAN","IMG","AUDIO","VIDEO","BR","SUP","SUB","IFRAME"]),o=document.createTextNode(""),i=document.createElement("span");i.setAttribute("class","ultimate"),i.setAttribute("data-ultimate","true"),i.appendChild(o);for(var a=e.body.childNodes.length-1;a>=0;a--)if(t=e.body.childNodes[a],!n.has(t.nodeName)&&this.isElementNode(t)){for(this.removeBottomSpacing(t),r=t.lastElementChild;r;)this.isMarkerReferenceNode(r)||this.removeBottomSpacing(r),r=r.lastElementChild;return void t.appendChild(i)}console.warn("Could not append ultimate node")}},{key:"addIndicesToMarkers",value:function(e){for(var t=e.querySelectorAll("[data-marker]"),r=t.length,n=0;n<r;n++)t[n].setAttribute("data-index",n),t[n].setAttribute("data-final",n===r-1)}},{key:"removeBreakAfterClasses",value:function(e){for(var t=this,r=Array.from(e.children).filter((function(e){return!t.isMarker(e)&&1===e.nodeType})),n=0;n<r.length;n++){var o=r[n],i=o.nextElementSibling;o.classList.contains("break-after")&&i&&this.isFullbleed(i)&&o.classList.remove("break-after"),o.children&&o.children.length&&this.removeBreakAfterClasses(o)}}},{key:"validateDocument",value:function(e){var t,r=e.querySelectorAll("[data-marker]"),o=e.querySelectorAll("[data-marker-reference]"),i=Array.prototype.slice.call(o,0),a={},u=!0,s=!0;t=r.length===o.length,console.assert(t,"Incorrect number of markers");for(var c=0;c<i.length;c++)a[i[c].dataset.markerReference]=!0;for(var l=0;l<r.length;l++){var f=r[l].dataset.marker,p=!(0,n.default)(f);console.assert(p,"Marker ".concat(l," does not have a marker attribute"));var d=a[f];console.assert(d,"Reference for marker ".concat(l," (").concat(f,") could not be found")),p||(u=!1),d||(s=!1)}return t&&u&&s}},{key:"parseXML",value:function(e,t){var r,n=this,i=(new window.DOMParser).parseFromString(e,"text/html"),a=null;o.default.setContextDocument(i),o.default.createStyleSheets(),o.default.createScriptElements(),o.default.parseXML(),this.insertMarkers(i,(function(t){n.validateDocument(t)||(a=new Error("Invalid markup")),n.addLastNode(i),n.addIndicesToMarkers(i),n.removeBreakAfterClasses(i),r=e.replace(/<body([^>]*?)>[\s\S]*<\/body>/g,(function(e,t){return"<body".concat(t,">").concat(i.body.innerHTML,"</body>")}))}));var u={xml:r,doc:i};return t&&"function"==typeof t?t(a,u):u}}])&&p(t.prototype,r),a&&p(t,a),Object.defineProperty(t,"prototype",{writable:!1}),e}();d(h,"defaults",{fullbleedClassNames:[["figure__inline","figure__large","figure__fullbleed"],["spread"]],blacklistedClassNames:[["gallery__item","figure__items","figure__processed"],["pullquote"],["initial"]],markerClassNames:"marker",markerElement:"span",responseURL:window.location.host});var y=h;t.default=y},function(e,t,r){"use strict";function n(e){return(n="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)}r(28),r(29),r(33),r(108),r(3),r(7),r(8),r(109),r(110),r(111),r(112),r(17),r(6),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,r(817),r(2),r(1),r(4),r(5),r(162),r(88),r(19),r(818),r(87),r(26),r(69);var o=f(r(0)),i=r(37),a=f(r(58)),u=f(r(182)),s=f(r(90)),c=f(r(66)),l=f(r(41));function f(e){return e&&e.__esModule?e:{default:e}}function p(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */p=function(){return e};var e={},t=Object.prototype,r=t.hasOwnProperty,o="function"==typeof Symbol?Symbol:{},i=o.iterator||"@@iterator",a=o.asyncIterator||"@@asyncIterator",u=o.toStringTag||"@@toStringTag";function s(e,t,r){return Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{s({},"")}catch(e){s=function(e,t,r){return e[t]=r}}function c(e,t,r,n){var o=t&&t.prototype instanceof d?t:d,i=Object.create(o.prototype),a=new E(n||[]);return i._invoke=function(e,t,r){var n="suspendedStart";return function(o,i){if("executing"===n)throw new Error("Generator is already running");if("completed"===n){if("throw"===o)throw i;return k()}for(r.method=o,r.arg=i;;){var a=r.delegate;if(a){var u=O(a,r);if(u){if(u===f)continue;return u}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if("suspendedStart"===n)throw n="completed",r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);n="executing";var s=l(e,t,r);if("normal"===s.type){if(n=r.done?"completed":"suspendedYield",s.arg===f)continue;return{value:s.arg,done:r.done}}"throw"===s.type&&(n="completed",r.method="throw",r.arg=s.arg)}}}(e,r,a),i}function l(e,t,r){try{return{type:"normal",arg:e.call(t,r)}}catch(e){return{type:"throw",arg:e}}}e.wrap=c;var f={};function d(){}function h(){}function y(){}var v={};s(v,i,(function(){return this}));var m=Object.getPrototypeOf,b=m&&m(m(P([])));b&&b!==t&&r.call(b,i)&&(v=b);var g=y.prototype=d.prototype=Object.create(v);function w(e){["next","throw","return"].forEach((function(t){s(e,t,(function(e){return this._invoke(t,e)}))}))}function S(e,t){var o;this._invoke=function(i,a){function u(){return new t((function(o,u){!function o(i,a,u,s){var c=l(e[i],e,a);if("throw"!==c.type){var f=c.arg,p=f.value;return p&&"object"==n(p)&&r.call(p,"__await")?t.resolve(p.__await).then((function(e){o("next",e,u,s)}),(function(e){o("throw",e,u,s)})):t.resolve(p).then((function(e){f.value=e,u(f)}),(function(e){return o("throw",e,u,s)}))}s(c.arg)}(i,a,o,u)}))}return o=o?o.then(u,u):u()}}function O(e,t){var r=e.iterator[t.method];if(void 0===r){if(t.delegate=null,"throw"===t.method){if(e.iterator.return&&(t.method="return",t.arg=void 0,O(e,t),"throw"===t.method))return f;t.method="throw",t.arg=new TypeError("The iterator does not provide a 'throw' method")}return f}var n=l(r,e.iterator,t.arg);if("throw"===n.type)return t.method="throw",t.arg=n.arg,t.delegate=null,f;var o=n.arg;return o?o.done?(t[e.resultName]=o.value,t.next=e.nextLoc,"return"!==t.method&&(t.method="next",t.arg=void 0),t.delegate=null,f):o:(t.method="throw",t.arg=new TypeError("iterator result is not an object"),t.delegate=null,f)}function _(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 x(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function E(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(_,this),this.reset(!0)}function P(e){if(e){var t=e[i];if(t)return t.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var n=-1,o=function t(){for(;++n<e.length;)if(r.call(e,n))return t.value=e[n],t.done=!1,t;return t.value=void 0,t.done=!0,t};return o.next=o}}return{next:k}}function k(){return{value:void 0,done:!0}}return h.prototype=y,s(g,"constructor",y),s(y,"constructor",h),h.displayName=s(y,u,"GeneratorFunction"),e.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===h||"GeneratorFunction"===(t.displayName||t.name))},e.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,y):(e.__proto__=y,s(e,u,"GeneratorFunction")),e.prototype=Object.create(g),e},e.awrap=function(e){return{__await:e}},w(S.prototype),s(S.prototype,a,(function(){return this})),e.AsyncIterator=S,e.async=function(t,r,n,o,i){void 0===i&&(i=Promise);var a=new S(c(t,r,n,o),i);return e.isGeneratorFunction(r)?a:a.next().then((function(e){return e.done?e.value:a.next()}))},w(g),s(g,u,"Generator"),s(g,i,(function(){return this})),s(g,"toString",(function(){return"[object Generator]"})),e.keys=function(e){var t=[];for(var r in e)t.push(r);return t.reverse(),function r(){for(;t.length;){var n=t.pop();if(n in e)return r.value=n,r.done=!1,r}return r.done=!0,r}},e.values=P,E.prototype={constructor:E,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(x),!e)for(var t in this)"t"===t.charAt(0)&&r.call(this,t)&&!isNaN(+t.slice(1))&&(this[t]=void 0)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var t=this;function n(r,n){return a.type="throw",a.arg=e,t.next=r,n&&(t.method="next",t.arg=void 0),!!n}for(var o=this.tryEntries.length-1;o>=0;--o){var i=this.tryEntries[o],a=i.completion;if("root"===i.tryLoc)return n("end");if(i.tryLoc<=this.prev){var u=r.call(i,"catchLoc"),s=r.call(i,"finallyLoc");if(u&&s){if(this.prev<i.catchLoc)return n(i.catchLoc,!0);if(this.prev<i.finallyLoc)return n(i.finallyLoc)}else if(u){if(this.prev<i.catchLoc)return n(i.catchLoc,!0)}else{if(!s)throw new Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return n(i.finallyLoc)}}}},abrupt:function(e,t){for(var n=this.tryEntries.length-1;n>=0;--n){var o=this.tryEntries[n];if(o.tryLoc<=this.prev&&r.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var i=o;break}}i&&("break"===e||"continue"===e)&&i.tryLoc<=t&&t<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=e,a.arg=t,i?(this.method="next",this.next=i.finallyLoc,f):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),f},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.finallyLoc===e)return this.complete(r.completion,r.afterLoc),x(r),f}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.tryLoc===e){var n=r.completion;if("throw"===n.type){var o=n.arg;x(r)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(e,t,r){return this.delegate={iterator:P(e),resultName:t,nextLoc:r},"next"===this.method&&(this.arg=void 0),f}},e}function d(e,t,r,n,o,i,a){try{var u=e[i](a),s=u.value}catch(e){return void r(e)}u.done?t(s):Promise.resolve(s).then(n,o)}function h(e){return function(){var t=this,r=arguments;return new Promise((function(n,o){var i=e.apply(t,r);function a(e){d(i,n,o,a,u,"next",e)}function u(e){d(i,n,o,a,u,"throw",e)}a(void 0)}))}}function y(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function v(e,t){return(v=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function m(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var r,n=w(e);if(t){var o=w(this).constructor;r=Reflect.construct(n,arguments,o)}else r=n.apply(this,arguments);return b(this,r)}}function b(e,t){if(t&&("object"===n(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return g(e)}function g(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function w(e){return(w=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function S(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var O=["SCRIPT","STYLE"],_=function(e){return e.nodeType===window.Node.ELEMENT_NODE&&(t=e.nodeName,O.includes(t));var t},x=function(e){if(!e.href||c.default.isRelative(e.href))return e.parentNode.removeChild(e);var t=new window.URL(e.href).origin;return new RegExp(window.location.origin).test(t)?e.parentNode.removeChild(e):e.setAttribute("target","_blank")},E=function e(t,r){for(var n=t.children.length-1;n>=0;n--){var o=t.children[n];_(o)&&o.parentNode.removeChild(o),"A"===o.nodeName&&x(o),o.children.length&&e(o)}if(void 0!==r){var i=document.createElement("span"),a=document.createTextNode(r);i.classList.add("footnote__content--count"),i.appendChild(a),t.prepend(i)}return t.innerHTML},P=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}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&v(e,t)}(c,e);var t,r,n,i=m(c);function c(e){var t;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,c),S(g(t=i.call(this,e)),"footnoteContainer",o.default.createRef()),S(g(t),"footnoteElement",o.default.createRef()),S(g(t),"getFootnote",h(p().mark((function e(){var r,n,o,i,a,s,c,l,f,d,h,y,v;return p().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!(r=t.state.content)){e.next=3;break}return e.abrupt("return");case 3:return n=new window.URL(t.props.href),o=n.hash,i=o.slice(1),e.next=7,u.default.get(t.props.href);case 7:if(a=e.sent,s=a.data,c=new window.DOMParser,l=c.parseFromString(s,"text/html"),f=l.getElementById(i)){e.next=15;break}return console.error("Could not retrieve footnote %s; Document URL %s",o,t.props.href),e.abrupt("return");case 15:for(d=f.parentNode;d&&"UL"!==d.nodeName&&"OL"!==d.nodeName;)d=d.parentNode;d&&(y=Number(d.getAttribute("start"))||1,v=Array.prototype.indexOf.call(d.children,f),h=y+v),r=E(f.firstChild,h),t.setState({content:r});case 20:case"end":return e.stop()}}),e)})))),S(g(t),"handleOnMouseOver",(function(e){e&&e.preventDefault(),l.default.isSingleColumn()||t.toggleFootnote()})),S(g(t),"handleOnMouseMove",(function(e){l.default.isSingleColumn()||"SPAN"===e.target.nodeName&&e.target.classList.contains("footnote__number")&&e.target.dataset.footnote!==t.state.footnote&&t.hideFootnote()})),S(g(t),"handleDocumentClick",(function(e){"A"!==e.target.nodeName&&t.hideFootnote()})),S(g(t),"toggleFootnote",(function(e){return e&&(e.preventDefault(),e.stopPropagation()),t.state.visible?t.hideFootnote():t.showFootnote()})),S(g(t),"showFootnote",function(){var e=h(p().mark((function e(r){return p().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r&&r.preventDefault(),e.next=3,t.getFootnote();case 3:t.setState({visible:!0}),document.addEventListener("click",t.handleDocumentClick),document.addEventListener("mousemove",t.handleOnMouseMove);case 6:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}()),S(g(t),"hideFootnote",(function(e){e&&e.preventDefault(),t.setState({visible:!1}),document.removeEventListener("click",t.handleDocumentClick),document.removeEventListener("mousemove",t.handleOnMouseMove)})),t.state={content:"",visible:!1,footnote:s.default.createId()},t}return t=c,(r=[{key:"componentWillUnmount",value:function(){document.removeEventListener("click",this.handleDocumentClick)}},{key:"getFootnoteOffset",value:function(){var e,t;if(null===(e=this.footnoteContainer)||void 0===e||!e.current||null===(t=this.footnoteElement)||void 0===t||!t.current)return console.warn("Footnote elements are not bound"),!1;var r=this.footnoteContainer.current.getBoundingClientRect().top,n=this.props.viewerSettings,o=n.paddingTop,i=n.paddingBottom;return r+this.footnoteElement.current.offsetHeight>window.innerHeight-(o+i)}},{key:"footnoteStyles",value:function(){var e,t=this.props.viewerSettings,r=t.columnWidth,n=t.columnGap,o=t.paddingLeft,i=l.default.isSingleColumn(),a=this.getFootnoteOffset()?"bottom":"top",u="bottom"===a?"1rem":"1.5rem",s=S({width:i?window.innerWidth-2*o:"".concat(r+n,"px"),left:0},a,u);return null!==(e=this.footnoteContainer)&&void 0!==e&&e.current?(s.left=this.footnoteContainer.current.getBoundingClientRect().x,s.left=i?s.left=-1*s.left+o:s.left>=window.innerWidth/2?s.left=-1*s.left+o+r+n:s.left=-1*s.left+o,s.cursor="auto",s):s}},{key:"render",value:function(){var e=this.state,t=e.content,r=e.visible,n=!t||!r;return o.default.createElement("span",{id:this.props.id,className:"footnote-ref"},o.default.createElement("span",{ref:this.footnoteContainer,className:"footnote__container",style:{display:"inline",position:"relative"}},o.default.createElement("span",{className:"footnote__number","data-footnote":this.state.footnote,onClick:this.toggleFootnote,onMouseOver:this.handleOnMouseOver},this.props.children),o.default.createElement("span",{ref:this.footnoteElement,style:this.footnoteStyles(),className:(0,a.default)("footnote__body",{"footnote__body--hidden":n})},o.default.createElement("span",{className:"footnote__content",dangerouslySetInnerHTML:{__html:t}}))))}}])&&y(t.prototype,r),n&&y(t,n),Object.defineProperty(t,"prototype",{writable:!1}),c}(o.default.Component),k=(0,i.connect)((function(e){return{viewerSettings:e.viewerSettings}}),(function(){return{}}))(P);t.default=k},function(e,t,r){"use strict";var n=r(12),o=r(148).includes,i=r(9),a=r(197);n({target:"Array",proto:!0,forced:i((function(){return!Array(1).includes()}))},{includes:function(e){return o(this,e,arguments.length>1?arguments[1]:void 0)}}),a("includes")},function(e,t,r){var n=r(23),o=r(13),i=r(10),a=r(119),u=r(157),s=r(63),c=r(74).f,l=r(61),f=r(329),p=r(38),d=r(316),h=r(204),y=r(819),v=r(39),m=r(9),b=r(25),g=r(43).enforce,w=r(161),S=r(18),O=r(317),_=r(318),x=S("match"),E=o.RegExp,P=E.prototype,k=o.SyntaxError,j=i(P.exec),T=i("".charAt),A=i("".replace),C=i("".indexOf),L=i("".slice),R=/^\?<[^\s\d!#%&*+<=>@^][^\s!#%&*+<=>@^]*>/,I=/a/g,N=/a/g,M=new E(I)!==I,D=h.MISSED_STICKY,U=h.UNSUPPORTED_Y,F=n&&(!M||D||O||_||m((function(){return N[x]=!1,E(I)!=I||E(N)==N||"/a/i"!=E(I,"i")})));if(a("RegExp",F)){for(var B=function(e,t){var r,n,o,i,a,c,h=l(P,this),y=f(e),v=void 0===t,m=[],w=e;if(!h&&y&&v&&e.constructor===B)return e;if((y||l(P,e))&&(e=e.source,v&&(t=d(w))),e=void 0===e?"":p(e),t=void 0===t?"":p(t),w=e,O&&"dotAll"in I&&(n=!!t&&C(t,"s")>-1)&&(t=A(t,/s/g,"")),r=t,D&&"sticky"in I&&(o=!!t&&C(t,"y")>-1)&&U&&(t=A(t,/y/g,"")),_&&(e=(i=function(e){for(var t,r=e.length,n=0,o="",i=[],a={},u=!1,s=!1,c=0,l="";n<=r;n++){if("\\"===(t=T(e,n)))t+=T(e,++n);else if("]"===t)u=!1;else if(!u)switch(!0){case"["===t:u=!0;break;case"("===t:j(R,L(e,n+1))&&(n+=2,s=!0),o+=t,c++;continue;case">"===t&&s:if(""===l||b(a,l))throw new k("Invalid capture group name");a[l]=!0,i[i.length]=[l,c],s=!1,l="";continue}s?l+=t:o+=t}return[o,i]}(e))[0],m=i[1]),a=u(E(e,t),h?this:P,B),(n||o||m.length)&&(c=g(a),n&&(c.dotAll=!0,c.raw=B(function(e){for(var t,r=e.length,n=0,o="",i=!1;n<=r;n++)"\\"!==(t=T(e,n))?i||"."!==t?("["===t?i=!0:"]"===t&&(i=!1),o+=t):o+="[\\s\\S]":o+=t+T(e,++n);return o}(e),r)),o&&(c.sticky=!0),m.length&&(c.groups=m)),e!==w)try{s(a,"source",""===w?"(?:)":w)}catch(e){}return a},q=c(E),W=0;q.length>W;)y(B,E,q[W++]);P.constructor=B,B.prototype=P,v(o,"RegExp",B,{constructor:!0})}w("RegExp")},function(e,t,r){var n=r(31).f;e.exports=function(e,t,r){r in e||n(e,r,{configurable:!0,get:function(){return t[r]},set:function(e){t[r]=e}})}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,r(52),r(6);var n,o=(n=r(0))&&n.__esModule?n:{default:n};var i=function(e){return o.default.createElement("div",null,e.books.map((function(t,r){return o.default.createElement("button",{key:r,onClick:function(){return e.handleClick(t)},style:{width:200,height:300,display:"inline-block",backgroundImage:"url(".concat(t.cover,")"),backgroundSize:"contain",backgroundRepeat:"no-repeat",backgroundPosition:"center"}},t.name)})))};t.default=i},function(e,t,r){"use strict";function n(e){return(n="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)}r(33),r(108),r(16),r(3),r(14),r(17),r(34),r(7),r(8),r(2),r(4),r(5),r(109),r(110),r(111),r(112),r(6),r(36),r(15),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,r(430),r(1),r(166),r(26),r(19),r(80),r(27),r(28),r(29);var o=y(r(0)),i=r(59),a=r(37),u=d(r(179)),s=r(106),c=d(r(182)),l=y(r(372)),f=y(r(202)),p=["style","className"];function d(e){return e&&e.__esModule?e:{default:e}}function h(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,r=new WeakMap;return(h=function(e){return e?r:t})(e)}function y(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!==n(e)&&"function"!=typeof e)return{default:e};var r=h(t);if(r&&r.has(e))return r.get(e);var o={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if("default"!==a&&Object.prototype.hasOwnProperty.call(e,a)){var u=i?Object.getOwnPropertyDescriptor(e,a):null;u&&(u.get||u.set)?Object.defineProperty(o,a,u):o[a]=e[a]}return o.default=e,r&&r.set(e,o),o}function v(){return(v=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(this,arguments)}function m(e,t){if(null==e)return{};var r,n,o=function(e,t){if(null==e)return{};var r,n,o={},i=Object.keys(e);for(n=0;n<i.length;n++)r=i[n],t.indexOf(r)>=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(n=0;n<i.length;n++)r=i[n],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}function b(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */b=function(){return e};var e={},t=Object.prototype,r=t.hasOwnProperty,o="function"==typeof Symbol?Symbol:{},i=o.iterator||"@@iterator",a=o.asyncIterator||"@@asyncIterator",u=o.toStringTag||"@@toStringTag";function s(e,t,r){return Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{s({},"")}catch(e){s=function(e,t,r){return e[t]=r}}function c(e,t,r,n){var o=t&&t.prototype instanceof p?t:p,i=Object.create(o.prototype),a=new E(n||[]);return i._invoke=function(e,t,r){var n="suspendedStart";return function(o,i){if("executing"===n)throw new Error("Generator is already running");if("completed"===n){if("throw"===o)throw i;return k()}for(r.method=o,r.arg=i;;){var a=r.delegate;if(a){var u=O(a,r);if(u){if(u===f)continue;return u}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if("suspendedStart"===n)throw n="completed",r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);n="executing";var s=l(e,t,r);if("normal"===s.type){if(n=r.done?"completed":"suspendedYield",s.arg===f)continue;return{value:s.arg,done:r.done}}"throw"===s.type&&(n="completed",r.method="throw",r.arg=s.arg)}}}(e,r,a),i}function l(e,t,r){try{return{type:"normal",arg:e.call(t,r)}}catch(e){return{type:"throw",arg:e}}}e.wrap=c;var f={};function p(){}function d(){}function h(){}var y={};s(y,i,(function(){return this}));var v=Object.getPrototypeOf,m=v&&v(v(P([])));m&&m!==t&&r.call(m,i)&&(y=m);var g=h.prototype=p.prototype=Object.create(y);function w(e){["next","throw","return"].forEach((function(t){s(e,t,(function(e){return this._invoke(t,e)}))}))}function S(e,t){var o;this._invoke=function(i,a){function u(){return new t((function(o,u){!function o(i,a,u,s){var c=l(e[i],e,a);if("throw"!==c.type){var f=c.arg,p=f.value;return p&&"object"==n(p)&&r.call(p,"__await")?t.resolve(p.__await).then((function(e){o("next",e,u,s)}),(function(e){o("throw",e,u,s)})):t.resolve(p).then((function(e){f.value=e,u(f)}),(function(e){return o("throw",e,u,s)}))}s(c.arg)}(i,a,o,u)}))}return o=o?o.then(u,u):u()}}function O(e,t){var r=e.iterator[t.method];if(void 0===r){if(t.delegate=null,"throw"===t.method){if(e.iterator.return&&(t.method="return",t.arg=void 0,O(e,t),"throw"===t.method))return f;t.method="throw",t.arg=new TypeError("The iterator does not provide a 'throw' method")}return f}var n=l(r,e.iterator,t.arg);if("throw"===n.type)return t.method="throw",t.arg=n.arg,t.delegate=null,f;var o=n.arg;return o?o.done?(t[e.resultName]=o.value,t.next=e.nextLoc,"return"!==t.method&&(t.method="next",t.arg=void 0),t.delegate=null,f):o:(t.method="throw",t.arg=new TypeError("iterator result is not an object"),t.delegate=null,f)}function _(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 x(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function E(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(_,this),this.reset(!0)}function P(e){if(e){var t=e[i];if(t)return t.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var n=-1,o=function t(){for(;++n<e.length;)if(r.call(e,n))return t.value=e[n],t.done=!1,t;return t.value=void 0,t.done=!0,t};return o.next=o}}return{next:k}}function k(){return{value:void 0,done:!0}}return d.prototype=h,s(g,"constructor",h),s(h,"constructor",d),d.displayName=s(h,u,"GeneratorFunction"),e.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===d||"GeneratorFunction"===(t.displayName||t.name))},e.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,h):(e.__proto__=h,s(e,u,"GeneratorFunction")),e.prototype=Object.create(g),e},e.awrap=function(e){return{__await:e}},w(S.prototype),s(S.prototype,a,(function(){return this})),e.AsyncIterator=S,e.async=function(t,r,n,o,i){void 0===i&&(i=Promise);var a=new S(c(t,r,n,o),i);return e.isGeneratorFunction(r)?a:a.next().then((function(e){return e.done?e.value:a.next()}))},w(g),s(g,u,"Generator"),s(g,i,(function(){return this})),s(g,"toString",(function(){return"[object Generator]"})),e.keys=function(e){var t=[];for(var r in e)t.push(r);return t.reverse(),function r(){for(;t.length;){var n=t.pop();if(n in e)return r.value=n,r.done=!1,r}return r.done=!0,r}},e.values=P,E.prototype={constructor:E,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(x),!e)for(var t in this)"t"===t.charAt(0)&&r.call(this,t)&&!isNaN(+t.slice(1))&&(this[t]=void 0)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var t=this;function n(r,n){return a.type="throw",a.arg=e,t.next=r,n&&(t.method="next",t.arg=void 0),!!n}for(var o=this.tryEntries.length-1;o>=0;--o){var i=this.tryEntries[o],a=i.completion;if("root"===i.tryLoc)return n("end");if(i.tryLoc<=this.prev){var u=r.call(i,"catchLoc"),s=r.call(i,"finallyLoc");if(u&&s){if(this.prev<i.catchLoc)return n(i.catchLoc,!0);if(this.prev<i.finallyLoc)return n(i.finallyLoc)}else if(u){if(this.prev<i.catchLoc)return n(i.catchLoc,!0)}else{if(!s)throw new Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return n(i.finallyLoc)}}}},abrupt:function(e,t){for(var n=this.tryEntries.length-1;n>=0;--n){var o=this.tryEntries[n];if(o.tryLoc<=this.prev&&r.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var i=o;break}}i&&("break"===e||"continue"===e)&&i.tryLoc<=t&&t<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=e,a.arg=t,i?(this.method="next",this.next=i.finallyLoc,f):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),f},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.finallyLoc===e)return this.complete(r.completion,r.afterLoc),x(r),f}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.tryLoc===e){var n=r.completion;if("throw"===n.type){var o=n.arg;x(r)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(e,t,r){return this.delegate={iterator:P(e),resultName:t,nextLoc:r},"next"===this.method&&(this.arg=void 0),f}},e}function g(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function w(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?g(Object(r),!0).forEach((function(t){S(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):g(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function S(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function O(e,t,r,n,o,i,a){try{var u=e[i](a),s=u.value}catch(e){return void r(e)}u.done?t(s):Promise.resolve(s).then(n,o)}function _(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function x(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function E(e,t){return(E=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function P(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var r,n=j(e);if(t){var o=j(this).constructor;r=Reflect.construct(n,arguments,o)}else r=n.apply(this,arguments);return k(this,r)}}function k(e,t){if(t&&("object"===n(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}function j(e){return(j=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var T=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}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&E(e,t)}(f,e);var t,r,n,i,a,l=P(f);function f(){return _(this,f),l.apply(this,arguments)}return t=f,(r=[{key:"UNSAFE_componentWillMount",value:(i=b().mark((function e(){var t,r,n,o,i,a,s,l,f,p,d,h,y,v,m;return b().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(t=this.props.readerSettings,r=t.manifestURL,n=t.disableBodyStyles,o=this.props.readerSettings,i=o.bookURL,a=o.projectURL,s=[],r&&i&&console.error("Multiple endpoints. Specify either `manifestURL` or `bookURL`"),!0!==n&&(document.body.style["-webkit-text-size-adjust"]="none",document.body.style["touch-action"]="manipulation",document.body.style.margin="0",document.body.style.padding="0"),!r){e.next=20;break}return e.prev=6,e.next=9,c.default.get(r);case 9:l=e.sent,f=l.data,p=f.resources.find((function(e){return"application/oebps-package+xml"===e.type})),d=p.href,i=d.split("/").slice(0,-2).join("/"),this.props.readerSettingsActions.updateSettings({bookURL:i}),a||(a=r.slice(0,r.lastIndexOf("/"))),e.next=20;break;case 17:e.prev=17,e.t0=e.catch(6),console.error("Error loading Webpub manifest",e.t0);case 20:return i&&!a&&(a=i.split("/").slice(0,-2).join("/")),e.prev=21,e.next=24,c.default.getBooks(a);case 24:h=e.sent,s=h.data,e.next=31;break;case 28:e.prev=28,e.t1=e.catch(21),console.warn("Could not load books from API",e.t1);case 31:y=i.split("/").filter(Boolean).pop(),v=(0,u.default)(s,{id:y}),m={},v&&(m.layout=v.layout,m.downloads=v.downloads,m.uiOptions=v.ui_options),this.props.readerSettingsActions.updateSettings(w({books:s,bookURL:i,projectURL:a},m)),this.props.readerLocationActions.setInitialSearchParams();case 37:case"end":return e.stop()}}),e,this,[[6,17],[21,28]])})),a=function(){var e=this,t=arguments;return new Promise((function(r,n){var o=i.apply(e,t);function a(e){O(o,r,n,a,u,"next",e)}function u(e){O(o,r,n,a,u,"throw",e)}a(void 0)}))},function(){return a.apply(this,arguments)})},{key:"render",value:function(){var e=this.props.readerLocation.searchParams,t=this.props.readerSettings.bookURL;if(!e||!t)return null;var r=this.props.readerSettings,n=r.style,i=r.className,a=m(r,p);return o.default.createElement(s.Reader,v({style:n,className:i},a))}}])&&x(t.prototype,r),n&&x(t,n),Object.defineProperty(t,"prototype",{writable:!1}),f}(o.Component),A=(0,a.connect)((function(e){return{readerSettings:e.readerSettings,readerLocation:e.readerLocation}}),(function(e){return{readerSettingsActions:(0,i.bindActionCreators)(l,e),readerLocationActions:(0,i.bindActionCreators)(f,e)}}))(T);t.default=A},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=i(r(0)),o=i(r(58));function i(e){return e&&e.__esModule?e:{default:e}}var a=(0,r(37).connect)((function(e){return{userInterface:e.userInterface}}),(function(){return{}}))((function(e){return n.default.createElement("div",{className:(0,o.default)("bber-spinner",{"bber-spinner--visible":e.userInterface.spinnerVisible})},n.default.createElement("div",{className:"bber-spinner__detail"}))}));t.default=a},function(e,t,r){"use strict";r(16),r(3),r(36),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=a(r(0)),o=a(r(349)),i=["children"];function a(e){return e&&e.__esModule?e:{default:e}}function u(){return(u=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(this,arguments)}function s(e,t){if(null==e)return{};var r,n,o=function(e,t){if(null==e)return{};var r,n,o={},i=Object.keys(e);for(n=0;n<i.length;n++)r=i[n],t.indexOf(r)>=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(n=0;n<i.length;n++)r=i[n],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}var c=function(e){return n.default.createElement(o.default.Consumer,null,(function(t){var r=t.left,o=e.children,a=s(e,i);return n.default.createElement("figure",u({style:{left:r}},a),o)}))};t.default=c},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,r(32);var n=i(r(0)),o=i(r(41));function i(e){return e&&e.__esModule?e:{default:e}}var a=function(e){var t=e.spreadPosition,r=e.markerRefId,i=e.paddingLeft,a=2*i,u=-2*i,s=e.unbound?t-1:t,c=o.default.isVerticallyScrolling(e)?null:"\n /* Previous pages */\n .spread-index__".concat(s-2," #spread__").concat(r," > figure,\n .spread-index__").concat(s-2," #spread__").concat(r," > .spread__content,\n .spread-index__").concat(s-1," #spread__").concat(r," > figure,\n .spread-index__").concat(s-1," #spread__").concat(r," > .spread__content {\n backface-visibility: hidden;\n transform: translateX(").concat(a,"px) translate3d(0, 0, 0);\n /*transform-style: preserve-3d;*/\n }\n\n /* Current page */\n .spread-index__").concat(s," #spread__").concat(r," > figure,\n .spread-index__").concat(s," #spread__").concat(r," > .spread__content {\n backface-visibility: hidden;\n /*transform-style: preserve-3d;*/\n transform: translateX(").concat(0,"px) translate3d(0, 0, 0);\n }\n\n /* Next pages */\n .spread-index__").concat(s+1," #spread__").concat(r," > figure,\n .spread-index__").concat(s+1," #spread__").concat(r," > .spread__content,\n .spread-index__").concat(s+2," #spread__").concat(r," > figure,\n .spread-index__").concat(s+2," #spread__").concat(r," > .spread__content {\n backface-visibility: hidden;\n /*transform-style: preserve-3d;*/\n transform: translateX(").concat(u,"px) translate3d(0, 0, 0);\n }\n ");return n.default.createElement("style",{id:"style__".concat(r),"data-position":s},c)};t.default=a},function(e,t,r){"use strict";function n(e){return(n="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)}r(28),r(29),r(33),r(2),r(4),r(15),r(5),r(14),r(3),r(7),r(8),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,r(32),r(1);var o,i=(o=r(0))&&o.__esModule?o:{default:o},a=r(37),u=r(59),s=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!==n(e)&&"function"!=typeof e)return{default:e};var r=c(t);if(r&&r.has(e))return r.get(e);var o={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if("default"!==a&&Object.prototype.hasOwnProperty.call(e,a)){var u=i?Object.getOwnPropertyDescriptor(e,a):null;u&&(u.get||u.set)?Object.defineProperty(o,a,u):o[a]=e[a]}o.default=e,r&&r.set(e,o);return o}(r(177));function c(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,r=new WeakMap;return(c=function(e){return e?r:t})(e)}function l(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function f(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function p(e,t){return(p=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function d(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 Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var r,n=v(e);if(t){var o=v(this).constructor;r=Reflect.construct(n,arguments,o)}else r=n.apply(this,arguments);return h(this,r)}}function h(e,t){if(t&&("object"===n(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return y(e)}function y(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.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function m(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var b=window,g=b.requestAnimationFrame,w=b.cancelAnimationFrame,S=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}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&p(e,t)}(a,e);var t,r,n,o=d(a);function a(){var e;l(this,a);for(var t=arguments.length,r=new Array(t),n=0;n<t;n++)r[n]=arguments[n];return m(y(e=o.call.apply(o,[this].concat(r))),"node",i.default.createRef()),m(y(e),"rAF",null),m(y(e),"maxChecks",5),m(y(e),"state",{prevLefts:[]}),m(y(e),"cancel",(function(){w(e.rAF)})),m(y(e),"poll",(function(){var t;if(e.rAF=g(e.poll),null!==(t=e.node)&&void 0!==t&&t.current){var r=e.state.prevLefts,n=e.node.current.offsetLeft;if(r.length<e.maxChecks)return r=r.some((function(e){return e!==n}))?[n]:r.concat(n),void e.setState({prevLefts:r});r=[],e.setState({prevLefts:r},(function(){e.props.viewActions.load(),e.props.viewActions.updateUltimateNodePosition({ultimateOffsetLeft:n}),e.cancel()}))}})),e}return t=a,(r=[{key:"componentDidMount",value:function(){this.poll()}},{key:"componentWillUnmount",value:function(){this.cancel()}},{key:"UNSAFE_componentWillReceiveProps",value:function(e){!0===this.props.view.loaded&&!1===e.view.loaded&&this.poll()}},{key:"render",value:function(){return i.default.createElement("span",{ref:this.node,className:"bber-ultimate"},this.props.children)}}])&&f(t.prototype,r),n&&f(t,n),Object.defineProperty(t,"prototype",{writable:!1}),a}(i.default.Component),O=(0,a.connect)((function(e){return{view:e.view}}),(function(e){return{viewActions:(0,u.bindActionCreators)(s,e)}}))(S);t.default=O},function(e,t,r){"use strict";function n(e){return(n="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)}r(28),r(29),r(33),r(3),r(7),r(8),r(26),r(6),r(35),r(19),r(16),r(27),r(14),r(17),r(34),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,r(2),r(94),r(1),r(4),r(5);var o=y(r(0)),i=y(r(827)),a=y(r(835)),u=y(r(836)),s=y(r(178)),c=y(r(434)),l=y(r(95)),f=y(r(41)),p=r(837),d=r(57),h=["autoplay"];function y(e){return e&&e.__esModule?e:{default:e}}function v(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function m(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?v(Object(r),!0).forEach((function(t){k(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):v(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function b(e,t){if(null==e)return{};var r,n,o=function(e,t){if(null==e)return{};var r,n,o={},i=Object.keys(e);for(n=0;n<i.length;n++)r=i[n],t.indexOf(r)>=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(n=0;n<i.length;n++)r=i[n],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}function g(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null==r)return;var n,o,i=[],a=!0,u=!1;try{for(r=r.call(e);!(a=(n=r.next()).done)&&(i.push(n.value),!t||i.length!==t);a=!0);}catch(e){u=!0,o=e}finally{try{a||null==r.return||r.return()}finally{if(u)throw o}}return i}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return w(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return w(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function w(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function S(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function O(e,t){return(O=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function _(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 Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var r,n=P(e);if(t){var o=P(this).constructor;r=Reflect.construct(n,arguments,o)}else r=n.apply(this,arguments);return x(this,r)}}function x(e,t){if(t&&("object"===n(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return E(e)}function E(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function P(e){return(P=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function k(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var j=(0,d.isBrowser)("chrome","eq",81),T=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}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&O(e,t)}(c,e);var t,r,n,s=_(c);function c(e){var t;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,c),k(E(t=s.call(this,e)),"handleUpdatePlaying",(function(){return t.setState((function(e){return{playing:!e.playing}}))})),k(E(t),"handlePause",(function(){return t.setState({playing:!1})})),k(E(t),"handleEnded",(function(){return t.setState({playing:!1})})),k(E(t),"handleUpdatePosition",(function(){})),k(E(t),"handleUpdateVolume",(function(){})),t.state={url:"",loop:!1,muted:!1,controls:!0,playing:!1,autoplay:!0,posterImage:null,playerOptions:{},currentSpreadIndex:null,aspectRatio:new Map([["x",16],["y",9]])},t}return t=c,(r=[{key:"UNSAFE_componentWillMount",value:function(){var e=this.props,t=e.src,r=e.posterImage,n=e.aspectRatio,o=g((0,p.getURLAndQueryParamters)(t),2),i=o[0],a=o[1],u=(0,p.transformSearchParamsToProps)((0,p.getPlayerPropsFromQueryString)(a),c.blacklistedProps),s=u.autoplay,l=b(u,h),f=u.controls,y=u.muted,v=u.loop;this.setState((function(e){return{url:i,loop:(0,d.unlessDefined)(v,e.loop),muted:(0,d.unlessDefined)(y,e.muted),controls:(0,d.unlessDefined)(f,e.controls),autoplay:(0,d.unlessDefined)(s,e.autoplay),posterImage:r,aspectRatio:n,playerOptions:m({},l)}}))}},{key:"UNSAFE_componentWillReceiveProps",value:function(e,t){var r=(0,p.getPlayingStateOnUpdate)(this.state,this.props,e,t);r&&this.setState(r)}},{key:"render",value:function(){var e,t=this.state,r=t.url,n=t.loop,s=t.muted,c=t.controls,l=t.playing,p=t.posterImage,d=t.playerOptions,h=t.aspectRatio,y=this.props,v=y.iframePlaceholderTop,m=y.iframePlaceholderWidth,b=y.iframePlaceholderHeight,g={};if(j){var w=f.default.isSingleColumn(),S=w?"static":"absolute",O=h.get("x"),_=h.get("y");if(w||(g={top:v,width:m,height:b,position:S}),!w&&m>window.innerWidth){var x=window.innerWidth>=window.innerHeight;g.top="50%",g.left="50%",g.transform="translateX(-50%) translateY(-50%)",x?(g.width="100vw",g.height="100vw",g.minWidth="".concat(O/_*100,"vh")):(g.width="".concat(_/O*100,"vw"),g.height="100vw",g.minHeight="100%")}e=w?0:"".concat(_/O*100,"%")}return o.default.createElement(o.default.Fragment,null,j&&o.default.createElement("style",null,this.props.iframeStyleBlock("vimeo")),j&&o.default.createElement("div",{key:"placholder-".concat(r),style:{paddingTop:e},className:"bber-iframe-placeholder",ref:this.props.innerRef}),o.default.createElement("div",{style:g,key:r,ref:this.props.elemRef},o.default.createElement(a.default,{src:p,playing:l,controls:c,handleUpdatePlaying:this.handleUpdatePlaying}),o.default.createElement(i.default,{url:r,width:"100%",height:"100%",loop:n,muted:s,playing:l,controls:c,playsinline:!0,config:{vimeo:{playerOptions:d}},onPause:this.handlePause,onEnded:this.handleEnded}),o.default.createElement(u.default,{handleUpdatePlaying:this.handleUpdatePlaying,handleUpdatePosition:this.handleUpdatePosition,handleUpdateVolume:this.handleUpdateVolume})))}}])&&S(t.prototype,r),n&&S(t,n),Object.defineProperty(t,"prototype",{writable:!1}),c}(o.default.Component);k(T,"contextType",l.default),k(T,"blacklistedProps",["autopause"]);var A=(0,s.default)((0,c.default)(T,{enabled:j}),{useParentDimensions:!0});t.default=A},function(e,t,r){var n=r(828).createReactPlayer,o=r(833).default;e.exports=n([{key:"vimeo",canPlay:o.canPlay,lazyPlayer:o}])},function(e,t,r){"use strict";(function(e){Object.defineProperty(t,"__esModule",{value:!0}),t.createReactPlayer=void 0;var n=P(r(0)),o=l(r(431)),i=l(r(829)),a=l(r(432)),u=r(433),s=r(189),c=l(r(831));function l(e){return e&&e.__esModule?e:{default:e}}function f(e){return(f="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 p(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function d(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?p(Object(r),!0).forEach((function(t){x(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):p(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function h(){return(h=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(this,arguments)}function y(e){return function(e){if(Array.isArray(e))return v(e)}(e)||function(e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}(e)||function(e,t){if(!e)return;if("string"==typeof e)return v(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return v(e,t)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function v(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;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 b(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function g(e,t){return(g=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function w(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 r,n=_(e);if(t){var o=_(this).constructor;r=Reflect.construct(n,arguments,o)}else r=n.apply(this,arguments);return S(this,r)}}function S(e,t){return!t||"object"!==f(t)&&"function"!=typeof t?O(e):t}function O(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function _(e){return(_=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function x(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function E(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return E=function(){return e},e}function P(e){if(e&&e.__esModule)return e;if(null===e||"object"!==f(e)&&"function"!=typeof e)return{default:e};var t=E();if(t&&t.has(e))return t.get(e);var r={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if(Object.prototype.hasOwnProperty.call(e,o)){var i=n?Object.getOwnPropertyDescriptor(e,o):null;i&&(i.get||i.set)?Object.defineProperty(r,o,i):r[o]=e[o]}return r.default=e,t&&t.set(e,r),r}var k=(0,n.lazy)((function(){return Promise.resolve().then((function(){return P(r(832))}))})),j="undefined"!=typeof window&&window.document,T=void 0!==e&&e.window&&e.window.document,A=Object.keys(u.propTypes),C=j||T?n.Suspense:function(){return null},L=[];t.createReactPlayer=function(e,t){var r,l;return l=r=function(r){!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&&g(e,t)}(S,r);var l,f,p,v=w(S);function S(){var r;m(this,S);for(var a=arguments.length,l=new Array(a),f=0;f<a;f++)l[f]=arguments[f];return x(O(r=v.call.apply(v,[this].concat(l))),"state",{showPreview:!!r.props.light}),x(O(r),"references",{wrapper:function(e){r.wrapper=e},player:function(e){r.player=e}}),x(O(r),"handleClickPreview",(function(e){r.setState({showPreview:!1}),r.props.onClickPreview(e)})),x(O(r),"showPreview",(function(){r.setState({showPreview:!0})})),x(O(r),"getDuration",(function(){return r.player?r.player.getDuration():null})),x(O(r),"getCurrentTime",(function(){return r.player?r.player.getCurrentTime():null})),x(O(r),"getSecondsLoaded",(function(){return r.player?r.player.getSecondsLoaded():null})),x(O(r),"getInternalPlayer",(function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"player";return r.player?r.player.getInternalPlayer(e):null})),x(O(r),"seekTo",(function(e,t){if(!r.player)return null;r.player.seekTo(e,t)})),x(O(r),"handleReady",(function(){r.props.onReady(O(r))})),x(O(r),"getActivePlayer",(0,i.default)((function(r){for(var n=0,o=[].concat(L,y(e));n<o.length;n++){var i=o[n];if(i.canPlay(r))return i}return t||null}))),x(O(r),"getConfig",(0,i.default)((function(e,t){var n=r.props.config;return o.default.all([u.defaultProps.config,u.defaultProps.config[t]||{},n,n[t]||{}])}))),x(O(r),"getAttributes",(0,i.default)((function(e){return(0,s.omit)(r.props,A)}))),x(O(r),"renderActivePlayer",(function(e){if(!e)return null;var t=r.getActivePlayer(e);if(!t)return null;var o=r.getConfig(e,t.key);return n.default.createElement(c.default,h({},r.props,{key:t.key,ref:r.references.player,config:o,activePlayer:t.lazyPlayer||t,onReady:r.handleReady}))})),r}return l=S,(f=[{key:"shouldComponentUpdate",value:function(e,t){return!(0,a.default)(this.props,e)||!(0,a.default)(this.state,t)}},{key:"componentDidUpdate",value:function(e){var t=this.props.light;!e.light&&t&&this.setState({showPreview:!0}),e.light&&!t&&this.setState({showPreview:!1})}},{key:"renderPreview",value:function(e){if(!e)return null;var t=this.props,r=t.light,o=t.playIcon,i=t.previewTabIndex,a=t.oEmbedUrl;return n.default.createElement(k,{url:e,light:r,playIcon:o,previewTabIndex:i,oEmbedUrl:a,onClick:this.handleClickPreview})}},{key:"render",value:function(){var e=this.props,t=e.url,r=e.style,o=e.width,i=e.height,a=e.fallback,u=e.wrapper,s=this.state.showPreview,c=this.getAttributes(t);return n.default.createElement(u,h({ref:this.references.wrapper,style:d(d({},r),{},{width:o,height:i})},c),n.default.createElement(C,{fallback:a},s?this.renderPreview(t):this.renderActivePlayer(t)))}}])&&b(l.prototype,f),p&&b(l,p),S}(n.Component),x(r,"displayName","ReactPlayer"),x(r,"propTypes",u.propTypes),x(r,"defaultProps",u.defaultProps),x(r,"addCustomPlayer",(function(e){L.push(e)})),x(r,"removeCustomPlayers",(function(){L.length=0})),x(r,"canPlay",(function(t){for(var r=0,n=[].concat(L,y(e));r<n.length;r++){if(n[r].canPlay(t))return!0}return!1})),x(r,"canEnablePIP",(function(t){for(var r=0,n=[].concat(L,y(e));r<n.length;r++){var o=n[r];if(o.canEnablePIP&&o.canEnablePIP(t))return!0}return!1})),l}}).call(this,r(51))},function(e,t,r){"use strict";r.r(t);var n=Number.isNaN||function(e){return"number"==typeof e&&e!=e};function o(e,t){if(e.length!==t.length)return!1;for(var r=0;r<e.length;r++)if(o=e[r],i=t[r],!(o===i||n(o)&&n(i)))return!1;var o,i;return!0}t.default=function(e,t){var r;void 0===t&&(t=o);var n,i=[],a=!1;return function(){for(var o=[],u=0;u<arguments.length;u++)o[u]=arguments[u];return a&&r===this&&t(o,i)||(n=e.apply(this,o),a=!0,r=this,i=o),n}}},function(e,t){function r(e,t){e.onload=function(){this.onerror=this.onload=null,t(null,e)},e.onerror=function(){this.onerror=this.onload=null,t(new Error("Failed to load "+this.src),e)}}function n(e,t){e.onreadystatechange=function(){"complete"!=this.readyState&&"loaded"!=this.readyState||(this.onreadystatechange=null,t(null,e))}}e.exports=function(e,t,o){var i=document.head||document.getElementsByTagName("head")[0],a=document.createElement("script");"function"==typeof t&&(o=t,t={}),t=t||{},o=o||function(){},a.type=t.type||"text/javascript",a.charset=t.charset||"utf8",a.async=!("async"in t)||!!t.async,a.src=e,t.attrs&&function(e,t){for(var r in t)e.setAttribute(r,t[r])}(a,t.attrs),t.text&&(a.text=""+t.text),("onload"in a?r:n)(a,o),a.onload||r(a,o),i.appendChild(a)}},function(e,t,r){"use strict";function n(e){return(n="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)}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o,i=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!==n(e)&&"function"!=typeof e)return{default:e};var t=c();if(t&&t.has(e))return t.get(e);var r={},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if(Object.prototype.hasOwnProperty.call(e,i)){var a=o?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(r,i,a):r[i]=e[i]}r.default=e,t&&t.set(e,r);return r}(r(0)),a=(o=r(432))&&o.__esModule?o:{default:o},u=r(433),s=r(189);function c(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return c=function(){return e},e}function l(){return(l=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(this,arguments)}function f(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function p(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function d(e,t){return(d=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 r,n=m(e);if(t){var o=m(this).constructor;r=Reflect.construct(n,arguments,o)}else r=n.apply(this,arguments);return y(this,r)}}function y(e,t){return!t||"object"!==n(t)&&"function"!=typeof t?v(e):t}function v(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function m(e){return(m=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function b(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,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&&d(e,t)}(u,e);var t,r,n,o=h(u);function u(){var e;f(this,u);for(var t=arguments.length,r=new Array(t),n=0;n<t;n++)r[n]=arguments[n];return b(v(e=o.call.apply(o,[this].concat(r))),"mounted",!1),b(v(e),"isReady",!1),b(v(e),"isPlaying",!1),b(v(e),"isLoading",!0),b(v(e),"loadOnReady",null),b(v(e),"startOnPlay",!0),b(v(e),"seekOnPlay",null),b(v(e),"onDurationCalled",!1),b(v(e),"handlePlayerMount",(function(t){e.player||(e.player=t,e.player.load(e.props.url),e.progress())})),b(v(e),"getInternalPlayer",(function(t){return e.player?e.player[t]:null})),b(v(e),"progress",(function(){if(e.props.url&&e.player&&e.isReady){var t=e.getCurrentTime()||0,r=e.getSecondsLoaded(),n=e.getDuration();if(n){var o={playedSeconds:t,played:t/n};null!==r&&(o.loadedSeconds=r,o.loaded=r/n),o.playedSeconds===e.prevPlayed&&o.loadedSeconds===e.prevLoaded||e.props.onProgress(o),e.prevPlayed=o.playedSeconds,e.prevLoaded=o.loadedSeconds}}e.progressTimeout=setTimeout(e.progress,e.props.progressFrequency||e.props.progressInterval)})),b(v(e),"handleReady",(function(){if(e.mounted){e.isReady=!0,e.isLoading=!1;var t=e.props,r=t.onReady,n=t.playing,o=t.volume,i=t.muted;r(),i||null===o||e.player.setVolume(o),e.loadOnReady?(e.player.load(e.loadOnReady,!0),e.loadOnReady=null):n&&e.player.play(),e.handleDurationCheck()}})),b(v(e),"handlePlay",(function(){e.isPlaying=!0,e.isLoading=!1;var t=e.props,r=t.onStart,n=t.onPlay,o=t.playbackRate;e.startOnPlay&&(e.player.setPlaybackRate&&1!==o&&e.player.setPlaybackRate(o),r(),e.startOnPlay=!1),n(),e.seekOnPlay&&(e.seekTo(e.seekOnPlay),e.seekOnPlay=null),e.handleDurationCheck()})),b(v(e),"handlePause",(function(t){e.isPlaying=!1,e.isLoading||e.props.onPause(t)})),b(v(e),"handleEnded",(function(){var t=e.props,r=t.activePlayer,n=t.loop,o=t.onEnded;r.loopOnEnded&&n&&e.seekTo(0),n||(e.isPlaying=!1,o())})),b(v(e),"handleError",(function(){var t;e.isLoading=!1,(t=e.props).onError.apply(t,arguments)})),b(v(e),"handleDurationCheck",(function(){clearTimeout(e.durationCheckTimeout);var t=e.getDuration();t?e.onDurationCalled||(e.props.onDuration(t),e.onDurationCalled=!0):e.durationCheckTimeout=setTimeout(e.handleDurationCheck,100)})),b(v(e),"handleLoaded",(function(){e.isLoading=!1})),e}return t=u,(r=[{key:"componentDidMount",value:function(){this.mounted=!0}},{key:"componentWillUnmount",value:function(){clearTimeout(this.progressTimeout),clearTimeout(this.durationCheckTimeout),this.isReady&&this.props.stopOnUnmount&&(this.player.stop(),this.player.disablePIP&&this.player.disablePIP()),this.mounted=!1}},{key:"componentDidUpdate",value:function(e){var t=this;if(this.player){var r=this.props,n=r.url,o=r.playing,i=r.volume,u=r.muted,c=r.playbackRate,l=r.pip,f=r.loop,p=r.activePlayer,d=r.disableDeferredLoading;if(!(0,a.default)(e.url,n)){if(this.isLoading&&!p.forceLoad&&!d&&!(0,s.isMediaStream)(n))return console.warn("ReactPlayer: the attempt to load ".concat(n," is being deferred until the player has loaded")),void(this.loadOnReady=n);this.isLoading=!0,this.startOnPlay=!0,this.onDurationCalled=!1,this.player.load(n,this.isReady)}e.playing||!o||this.isPlaying||this.player.play(),e.playing&&!o&&this.isPlaying&&this.player.pause(),!e.pip&&l&&this.player.enablePIP&&this.player.enablePIP(),e.pip&&!l&&this.player.disablePIP&&this.player.disablePIP(),e.volume!==i&&null!==i&&this.player.setVolume(i),e.muted!==u&&(u?this.player.mute():(this.player.unmute(),null!==i&&setTimeout((function(){return t.player.setVolume(i)})))),e.playbackRate!==c&&this.player.setPlaybackRate&&this.player.setPlaybackRate(c),e.loop!==f&&this.player.setLoop&&this.player.setLoop(f)}}},{key:"getDuration",value:function(){return this.isReady?this.player.getDuration():null}},{key:"getCurrentTime",value:function(){return this.isReady?this.player.getCurrentTime():null}},{key:"getSecondsLoaded",value:function(){return this.isReady?this.player.getSecondsLoaded():null}},{key:"seekTo",value:function(e,t){var r=this;if(this.isReady){if(t?"fraction"===t:e>0&&e<1){var n=this.player.getDuration();return n?void this.player.seekTo(n*e):void console.warn("ReactPlayer: could not seek using fraction – duration not yet available")}this.player.seekTo(e)}else 0!==e&&(this.seekOnPlay=e,setTimeout((function(){r.seekOnPlay=null}),5e3))}},{key:"render",value:function(){var e=this.props.activePlayer;return e?i.default.createElement(e,l({},this.props,{onMount:this.handlePlayerMount,onReady:this.handleReady,onPlay:this.handlePlay,onPause:this.handlePause,onEnded:this.handleEnded,onLoaded:this.handleLoaded,onError:this.handleError})):null}}])&&p(t.prototype,r),n&&p(t,n),u}(i.Component);t.default=g,b(g,"displayName","Player"),b(g,"propTypes",u.propTypes),b(g,"defaultProps",u.defaultProps)},function(e,t,r){"use strict";function n(e){return(n="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)}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!==n(e)&&"function"!=typeof e)return{default:e};var t=i();if(t&&t.has(e))return t.get(e);var r={},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var u=o?Object.getOwnPropertyDescriptor(e,a):null;u&&(u.get||u.set)?Object.defineProperty(r,a,u):r[a]=e[a]}r.default=e,t&&t.set(e,r);return r}(r(0));function i(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return i=function(){return e},e}function a(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function u(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?a(Object(r),!0).forEach((function(t){y(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):a(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function s(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function c(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function l(e,t){return(l=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function f(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 r,n=h(e);if(t){var o=h(this).constructor;r=Reflect.construct(n,arguments,o)}else r=n.apply(this,arguments);return p(this,r)}}function p(e,t){return!t||"object"!==n(t)&&"function"!=typeof t?d(e):t}function d(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function h(e){return(h=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function y(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var v={},m=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&&l(e,t)}(a,e);var t,r,n,i=f(a);function a(){var e;s(this,a);for(var t=arguments.length,r=new Array(t),n=0;n<t;n++)r[n]=arguments[n];return y(d(e=i.call.apply(i,[this].concat(r))),"mounted",!1),y(d(e),"state",{image:null}),y(d(e),"handleKeyPress",(function(t){"Enter"!==t.key&&" "!==t.key||e.props.onClick()})),e}return t=a,(r=[{key:"componentDidMount",value:function(){this.mounted=!0,this.fetchImage(this.props)}},{key:"componentDidUpdate",value:function(e){var t=this.props,r=t.url,n=t.light;e.url===r&&e.light===n||this.fetchImage(this.props)}},{key:"componentWillUnmount",value:function(){this.mounted=!1}},{key:"fetchImage",value:function(e){var t=this,r=e.url,n=e.light,o=e.oEmbedUrl;if("string"!=typeof n){if(!v[r])return this.setState({image:null}),window.fetch(o.replace("{url}",r)).then((function(e){return e.json()})).then((function(e){if(e.thumbnail_url&&t.mounted){var n=e.thumbnail_url.replace("height=100","height=480");t.setState({image:n}),v[r]=n}}));this.setState({image:v[r]})}else this.setState({image:n})}},{key:"render",value:function(){var e=this.props,t=e.onClick,r=e.playIcon,n=e.previewTabIndex,i=this.state.image,a={display:"flex",alignItems:"center",justifyContent:"center"},s={preview:u({width:"100%",height:"100%",backgroundImage:i?"url(".concat(i,")"):void 0,backgroundSize:"cover",backgroundPosition:"center",cursor:"pointer"},a),shadow:u({background:"radial-gradient(rgb(0, 0, 0, 0.3), rgba(0, 0, 0, 0) 60%)",borderRadius:"64px",width:"64px",height:"64px"},a),playIcon:{borderStyle:"solid",borderWidth:"16px 0 16px 26px",borderColor:"transparent transparent transparent white",marginLeft:"7px"}},c=o.default.createElement("div",{style:s.shadow,className:"react-player__shadow"},o.default.createElement("div",{style:s.playIcon,className:"react-player__play-icon"}));return o.default.createElement("div",{style:s.preview,className:"react-player__preview",onClick:t,tabIndex:n,onKeyPress:this.handleKeyPress},r||c)}}])&&c(t.prototype,r),n&&c(t,n),a}(o.Component);t.default=m},function(e,t,r){"use strict";function n(e){return(n="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)}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!==n(e)&&"function"!=typeof e)return{default:e};var t=u();if(t&&t.has(e))return t.get(e);var r={},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if(Object.prototype.hasOwnProperty.call(e,i)){var a=o?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(r,i,a):r[i]=e[i]}r.default=e,t&&t.set(e,r);return r}(r(0)),i=r(189),a=r(834);function u(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return u=function(){return e},e}function s(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function c(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function l(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function f(e,t){return(f=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function p(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var r,n=y(e);if(t){var o=y(this).constructor;r=Reflect.construct(n,arguments,o)}else r=n.apply(this,arguments);return d(this,r)}}function d(e,t){return!t||"object"!==n(t)&&"function"!=typeof t?h(e):t}function h(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function y(e){return(y=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function v(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var m=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&&f(e,t)}(u,e);var t,r,n,a=p(u);function u(){var e;c(this,u);for(var t=arguments.length,r=new Array(t),n=0;n<t;n++)r[n]=arguments[n];return v(h(e=a.call.apply(a,[this].concat(r))),"callPlayer",i.callPlayer),v(h(e),"duration",null),v(h(e),"currentTime",null),v(h(e),"secondsLoaded",null),v(h(e),"mute",(function(){e.setVolume(0)})),v(h(e),"unmute",(function(){null!==e.props.volume&&e.setVolume(e.props.volume)})),v(h(e),"ref",(function(t){e.container=t})),e}return t=u,(r=[{key:"componentDidMount",value:function(){this.props.onMount&&this.props.onMount(this)}},{key:"load",value:function(e){var t=this;this.duration=null,(0,i.getSDK)("https://player.vimeo.com/api/player.js","Vimeo").then((function(r){if(t.container){var n=t.props.config,o=n.playerOptions,i=n.title;t.player=new r.Player(t.container,function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?s(Object(r),!0).forEach((function(t){v(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):s(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}({url:e,autoplay:t.props.playing,muted:t.props.muted,loop:t.props.loop,playsinline:t.props.playsinline,controls:t.props.controls},o)),t.player.ready().then((function(){var e=t.container.querySelector("iframe");e.style.width="100%",e.style.height="100%",i&&(e.title=i)})).catch(t.props.onError),t.player.on("loaded",(function(){t.props.onReady(),t.refreshDuration()})),t.player.on("play",(function(){t.props.onPlay(),t.refreshDuration()})),t.player.on("pause",t.props.onPause),t.player.on("seeked",(function(e){return t.props.onSeek(e.seconds)})),t.player.on("ended",t.props.onEnded),t.player.on("error",t.props.onError),t.player.on("timeupdate",(function(e){var r=e.seconds;t.currentTime=r})),t.player.on("progress",(function(e){var r=e.seconds;t.secondsLoaded=r})),t.player.on("bufferstart",t.props.onBuffer),t.player.on("bufferend",t.props.onBufferEnd)}}),this.props.onError)}},{key:"refreshDuration",value:function(){var e=this;this.player.getDuration().then((function(t){e.duration=t}))}},{key:"play",value:function(){var e=this.callPlayer("play");e&&e.catch(this.props.onError)}},{key:"pause",value:function(){this.callPlayer("pause")}},{key:"stop",value:function(){this.callPlayer("unload")}},{key:"seekTo",value:function(e){this.callPlayer("setCurrentTime",e)}},{key:"setVolume",value:function(e){this.callPlayer("setVolume",e)}},{key:"setLoop",value:function(e){this.callPlayer("setLoop",e)}},{key:"setPlaybackRate",value:function(e){this.callPlayer("setPlaybackRate",e)}},{key:"getDuration",value:function(){return this.duration}},{key:"getCurrentTime",value:function(){return this.currentTime}},{key:"getSecondsLoaded",value:function(){return this.secondsLoaded}},{key:"render",value:function(){var e={width:"100%",height:"100%",overflow:"hidden",display:this.props.display};return o.default.createElement("div",{key:this.props.url,ref:this.ref,style:e})}}])&&l(t.prototype,r),n&&l(t,n),u}(o.Component);t.default=m,v(m,"displayName","Vimeo"),v(m,"canPlay",a.canPlay.vimeo),v(m,"forceLoad",!0)},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.canPlay=t.FLV_EXTENSIONS=t.DASH_EXTENSIONS=t.HLS_EXTENSIONS=t.VIDEO_EXTENSIONS=t.AUDIO_EXTENSIONS=t.MATCH_URL_KALTURA=t.MATCH_URL_VIDYARD=t.MATCH_URL_MIXCLOUD=t.MATCH_URL_DAILYMOTION=t.MATCH_URL_TWITCH_CHANNEL=t.MATCH_URL_TWITCH_VIDEO=t.MATCH_URL_WISTIA=t.MATCH_URL_STREAMABLE=t.MATCH_URL_FACEBOOK_WATCH=t.MATCH_URL_FACEBOOK=t.MATCH_URL_VIMEO=t.MATCH_URL_SOUNDCLOUD=t.MATCH_URL_YOUTUBE=void 0;var n=r(189);function o(e,t){var r;if("undefined"==typeof Symbol||null==e[Symbol.iterator]){if(Array.isArray(e)||(r=function(e,t){if(!e)return;if("string"==typeof e)return i(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return i(e,t)}(e))||t&&e&&"number"==typeof e.length){r&&(e=r);var n=0,o=function(){};return{s:o,n:function(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]}},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 a,u=!0,s=!1;return{s:function(){r=e[Symbol.iterator]()},n:function(){var e=r.next();return u=e.done,e},e:function(e){s=!0,a=e},f:function(){try{u||null==r.return||r.return()}finally{if(s)throw a}}}}function i(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}var a=/(?:youtu\.be\/|youtube(?:-nocookie)?\.com\/(?:embed\/|v\/|watch\/|watch\?v=|watch\?.+&v=|shorts\/))((\w|-){11})|youtube\.com\/playlist\?list=|youtube\.com\/user\//;t.MATCH_URL_YOUTUBE=a;var u=/(?:soundcloud\.com|snd\.sc)\/[^.]+$/;t.MATCH_URL_SOUNDCLOUD=u;var s=/vimeo\.com\/(?!progressive_redirect).+/;t.MATCH_URL_VIMEO=s;var c=/^https?:\/\/(www\.)?facebook\.com.*\/(video(s)?|watch|story)(\.php?|\/).+$/;t.MATCH_URL_FACEBOOK=c;var l=/^https?:\/\/fb\.watch\/.+$/;t.MATCH_URL_FACEBOOK_WATCH=l;var f=/streamable\.com\/([a-z0-9]+)$/;t.MATCH_URL_STREAMABLE=f;var p=/(?:wistia\.(?:com|net)|wi\.st)\/(?:medias|embed)\/(?:iframe\/)?(.*)$/;t.MATCH_URL_WISTIA=p;var d=/(?:www\.|go\.)?twitch\.tv\/videos\/(\d+)($|\?)/;t.MATCH_URL_TWITCH_VIDEO=d;var h=/(?:www\.|go\.)?twitch\.tv\/([a-zA-Z0-9_]+)($|\?)/;t.MATCH_URL_TWITCH_CHANNEL=h;var y=/^(?:(?:https?):)?(?:\/\/)?(?:www\.)?(?:(?:dailymotion\.com(?:\/embed)?\/video)|dai\.ly)\/([a-zA-Z0-9]+)(?:_[\w_-]+)?$/;t.MATCH_URL_DAILYMOTION=y;var v=/mixcloud\.com\/([^/]+\/[^/]+)/;t.MATCH_URL_MIXCLOUD=v;var m=/vidyard.com\/(?:watch\/)?([a-zA-Z0-9-_]+)/;t.MATCH_URL_VIDYARD=m;var b=/^https?:\/\/[a-zA-Z]+\.kaltura.(com|org)\/p\/([0-9]+)\/sp\/([0-9]+)00\/embedIframeJs\/uiconf_id\/([0-9]+)\/partner_id\/([0-9]+)(.*)entry_id.([a-zA-Z0-9-_].*)$/;t.MATCH_URL_KALTURA=b;var g=/\.(m4a|m4b|mp4a|mpga|mp2|mp2a|mp3|m2a|m3a|wav|weba|aac|oga|spx)($|\?)/i;t.AUDIO_EXTENSIONS=g;var w=/\.(mp4|og[gv]|webm|mov|m4v)(#t=[,\d+]+)?($|\?)/i;t.VIDEO_EXTENSIONS=w;var S=/\.(m3u8)($|\?)/i;t.HLS_EXTENSIONS=S;var O=/\.(mpd)($|\?)/i;t.DASH_EXTENSIONS=O;var _=/\.(flv)($|\?)/i;t.FLV_EXTENSIONS=_;var x={youtube:function(e){return e instanceof Array?e.every((function(e){return a.test(e)})):a.test(e)},soundcloud:function(e){return u.test(e)&&!g.test(e)},vimeo:function(e){return s.test(e)&&!w.test(e)&&!S.test(e)},facebook:function(e){return c.test(e)||l.test(e)},streamable:function(e){return f.test(e)},wistia:function(e){return p.test(e)},twitch:function(e){return d.test(e)||h.test(e)},dailymotion:function(e){return y.test(e)},mixcloud:function(e){return v.test(e)},vidyard:function(e){return m.test(e)},kaltura:function(e){return b.test(e)},file:function e(t){if(t instanceof Array){var r,i=o(t);try{for(i.s();!(r=i.n()).done;){var a=r.value;if("string"==typeof a&&e(a))return!0;if(e(a.src))return!0}}catch(e){i.e(e)}finally{i.f()}return!1}return!(!(0,n.isMediaStream)(t)&&!(0,n.isBlobUrl)(t))||(g.test(t)||w.test(t)||S.test(t)||O.test(t)||_.test(t))}};t.canPlay=x},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=i(r(0)),o=i(r(58));function i(e){return e&&e.__esModule?e:{default:e}}var a=function(e){var t=e.src,r=e.playing,i=e.controls,a=e.handleUpdatePlaying;return t?n.default.createElement("img",{className:(0,o.default)("bber-poster bber-poster--vimeo",{"bber-visible":!r,"bber-controls":i}),onClick:a,src:t,alt:""}):null};t.default=a},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=function(){return null};t.default=n},function(e,t,r){"use strict";r(3),r(7),r(8),r(35),r(26),r(6),Object.defineProperty(t,"__esModule",{value:!0}),t.transformSearchParamsToProps=t.getURLAndQueryParamters=t.getPlayingStateOnUpdate=t.getPlayerPropsFromQueryString=void 0,r(19),r(80),r(2),r(1),r(89),r(4),r(5),r(32),r(91);var n=a(r(838)),o=a(r(66)),i=a(r(41));function a(e){return e&&e.__esModule?e:{default:e}}function u(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null==r)return;var n,o,i=[],a=!0,u=!1;try{for(r=r.call(e);!(a=(n=r.next()).done)&&(i.push(n.value),!t||i.length!==t);a=!0);}catch(e){u=!0,o=e}finally{try{a||null==r.return||r.return()}finally{if(u)throw o}}return i}(e,t)||c(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function s(e){return function(e){if(Array.isArray(e))return l(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||c(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 c(e,t){if(e){if("string"==typeof e)return l(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?l(e,t):void 0}}function l(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}t.getPlayerPropsFromQueryString=function(e){return o.default.parseQueryString(e)};t.getURLAndQueryParamters=function(e){return e.split("?")};t.transformSearchParamsToProps=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],r=e;t.length&&(r=(0,n.default)(e,t));var o=new Set(["true","1"]),i=new Set(["false","0"]),a=new Set([].concat(s(o),s(i))),c=Object.entries(r).reduce((function(e,t){var r=u(t,2),n=r[0],i=r[1];return e[n]=a.has(i)?o.has(i):i,e}),{});return c.playsinline=!0,c};t.getPlayingStateOnUpdate=function(e,t,r,n){if(!e.autoplay)return!1;if(!t.view.loaded)return!1;if(r.view.pendingDeferredCallbacks)return!1;var o=e.currentSpreadIndex,a=r.spreadIndex,u=n.spreadIndex;return o!==u&&(o=u,{playing:a===u&&!i.default.isVerticallyScrolling(t.readerSettings),currentSpreadIndex:o})}},function(e,t,r){var n=r(332),o=r(839),i=r(861),a=r(168),u=r(142),s=r(864),c=r(865),l=r(439),f=c((function(e,t){var r={};if(null==e)return r;var c=!1;t=n(t,(function(t){return t=a(t,e),c||(c=t.length>1),t})),u(e,l(e),r),c&&(r=o(r,7,s));for(var f=t.length;f--;)i(r,t[f]);return r}));e.exports=f},function(e,t,r){var n=r(220),o=r(840),i=r(435),a=r(841),u=r(842),s=r(845),c=r(846),l=r(847),f=r(848),p=r(357),d=r(439),h=r(180),y=r(849),v=r(850),m=r(855),b=r(56),g=r(223),w=r(857),S=r(81),O=r(859),_=r(135),x=r(288),E={};E["[object Arguments]"]=E["[object Array]"]=E["[object ArrayBuffer]"]=E["[object DataView]"]=E["[object Boolean]"]=E["[object Date]"]=E["[object Float32Array]"]=E["[object Float64Array]"]=E["[object Int8Array]"]=E["[object Int16Array]"]=E["[object Int32Array]"]=E["[object Map]"]=E["[object Number]"]=E["[object Object]"]=E["[object RegExp]"]=E["[object Set]"]=E["[object String]"]=E["[object Symbol]"]=E["[object Uint8Array]"]=E["[object Uint8ClampedArray]"]=E["[object Uint16Array]"]=E["[object Uint32Array]"]=!0,E["[object Error]"]=E["[object Function]"]=E["[object WeakMap]"]=!1,e.exports=function e(t,r,P,k,j,T){var A,C=1&r,L=2&r,R=4&r;if(P&&(A=j?P(t,k,j,T):P(t)),void 0!==A)return A;if(!S(t))return t;var I=b(t);if(I){if(A=y(t),!C)return c(t,A)}else{var N=h(t),M="[object Function]"==N||"[object GeneratorFunction]"==N;if(g(t))return s(t,C);if("[object Object]"==N||"[object Arguments]"==N||M&&!j){if(A=L||M?{}:m(t),!C)return L?f(t,u(A,t)):l(t,a(A,t))}else{if(!E[N])return j?t:{};A=v(t,N,C)}}T||(T=new n);var D=T.get(t);if(D)return D;T.set(t,A),O(t)?t.forEach((function(n){A.add(e(n,r,P,n,t,T))})):w(t)&&t.forEach((function(n,o){A.set(o,e(n,r,P,o,t,T))}));var U=I?void 0:(R?L?d:p:L?x:_)(t);return o(U||t,(function(n,o){U&&(n=t[o=n]),i(A,o,e(n,r,P,o,t,T))})),A}},function(e,t){e.exports=function(e,t){for(var r=-1,n=null==e?0:e.length;++r<n&&!1!==t(e[r],r,e););return e}},function(e,t,r){var n=r(142),o=r(135);e.exports=function(e,t){return e&&n(t,o(t),e)}},function(e,t,r){var n=r(142),o=r(288);e.exports=function(e,t){return e&&n(t,o(t),e)}},function(e,t,r){var n=r(81),o=r(227),i=r(844),a=Object.prototype.hasOwnProperty;e.exports=function(e){if(!n(e))return i(e);var t=o(e),r=[];for(var u in e)("constructor"!=u||!t&&a.call(e,u))&&r.push(u);return r}},function(e,t){e.exports=function(e){var t=[];if(null!=e)for(var r in Object(e))t.push(r);return t}},function(e,t,r){(function(e){var n=r(55),o=t&&!t.nodeType&&t,i=o&&"object"==typeof e&&e&&!e.nodeType&&e,a=i&&i.exports===o?n.Buffer:void 0,u=a?a.allocUnsafe:void 0;e.exports=function(e,t){if(t)return e.slice();var r=e.length,n=u?u(r):new e.constructor(r);return e.copy(n),n}}).call(this,r(224)(e))},function(e,t){e.exports=function(e,t){var r=-1,n=e.length;for(t||(t=Array(n));++r<n;)t[r]=e[r];return t}},function(e,t,r){var n=r(142),o=r(222);e.exports=function(e,t){return n(e,o(e),t)}},function(e,t,r){var n=r(142),o=r(438);e.exports=function(e,t){return n(e,o(e),t)}},function(e,t){var r=Object.prototype.hasOwnProperty;e.exports=function(e){var t=e.length,n=new e.constructor(t);return t&&"string"==typeof e[0]&&r.call(e,"index")&&(n.index=e.index,n.input=e.input),n}},function(e,t,r){var n=r(289),o=r(851),i=r(852),a=r(853),u=r(854);e.exports=function(e,t,r){var s=e.constructor;switch(t){case"[object ArrayBuffer]":return n(e);case"[object Boolean]":case"[object Date]":return new s(+e);case"[object DataView]":return o(e,r);case"[object Float32Array]":case"[object Float64Array]":case"[object Int8Array]":case"[object Int16Array]":case"[object Int32Array]":case"[object Uint8Array]":case"[object Uint8ClampedArray]":case"[object Uint16Array]":case"[object Uint32Array]":return u(e,r);case"[object Map]":return new s;case"[object Number]":case"[object String]":return new s(e);case"[object RegExp]":return i(e);case"[object Set]":return new s;case"[object Symbol]":return a(e)}}},function(e,t,r){var n=r(289);e.exports=function(e,t){var r=t?n(e.buffer):e.buffer;return new e.constructor(r,e.byteOffset,e.byteLength)}},function(e,t){var r=/\w*$/;e.exports=function(e){var t=new e.constructor(e.source,r.exec(e));return t.lastIndex=e.lastIndex,t}},function(e,t,r){var n=r(104),o=n?n.prototype:void 0,i=o?o.valueOf:void 0;e.exports=function(e){return i?Object(i.call(e)):{}}},function(e,t,r){var n=r(289);e.exports=function(e,t){var r=t?n(e.buffer):e.buffer;return new e.constructor(r,e.byteOffset,e.length)}},function(e,t,r){var n=r(856),o=r(207),i=r(227);e.exports=function(e){return"function"!=typeof e.constructor||i(e)?{}:n(o(e))}},function(e,t,r){var n=r(81),o=Object.create,i=function(){function e(){}return function(t){if(!n(t))return{};if(o)return o(t);e.prototype=t;var r=new e;return e.prototype=void 0,r}}();e.exports=i},function(e,t,r){var n=r(858),o=r(225),i=r(226),a=i&&i.isMap,u=a?o(a):n;e.exports=u},function(e,t,r){var n=r(180),o=r(79);e.exports=function(e){return o(e)&&"[object Map]"==n(e)}},function(e,t,r){var n=r(860),o=r(225),i=r(226),a=i&&i.isSet,u=a?o(a):n;e.exports=u},function(e,t,r){var n=r(180),o=r(79);e.exports=function(e){return o(e)&&"[object Set]"==n(e)}},function(e,t,r){var n=r(168),o=r(862),i=r(863),a=r(133);e.exports=function(e,t){return t=n(t,e),null==(e=i(e,t))||delete e[a(o(t))]}},function(e,t){e.exports=function(e){var t=null==e?0:e.length;return t?e[t-1]:void 0}},function(e,t,r){var n=r(229),o=r(333);e.exports=function(e,t){return t.length<2?e:n(e,o(t,0,-1))}},function(e,t,r){var n=r(129);e.exports=function(e){return n(e)?void 0:e}},function(e,t,r){var n=r(866),o=r(869),i=r(871);e.exports=function(e){return i(o(e,void 0,n),e+"")}},function(e,t,r){var n=r(867);e.exports=function(e){return(null==e?0:e.length)?n(e,1):[]}},function(e,t,r){var n=r(221),o=r(868);e.exports=function e(t,r,i,a,u){var s=-1,c=t.length;for(i||(i=o),u||(u=[]);++s<c;){var l=t[s];r>0&&i(l)?r>1?e(l,r-1,i,a,u):n(u,l):a||(u[u.length]=l)}return u}},function(e,t,r){var n=r(104),o=r(215),i=r(56),a=n?n.isConcatSpreadable:void 0;e.exports=function(e){return i(e)||o(e)||!!(a&&e&&e[a])}},function(e,t,r){var n=r(870),o=Math.max;e.exports=function(e,t,r){return t=o(void 0===t?e.length-1:t,0),function(){for(var i=arguments,a=-1,u=o(i.length-t,0),s=Array(u);++a<u;)s[a]=i[t+a];a=-1;for(var c=Array(t+1);++a<t;)c[a]=i[a];return c[t]=r(s),n(e,this,c)}}},function(e,t){e.exports=function(e,t,r){switch(r.length){case 0:return e.call(t);case 1:return e.call(t,r[0]);case 2:return e.call(t,r[0],r[1]);case 3:return e.call(t,r[0],r[1],r[2])}return e.apply(t,r)}},function(e,t,r){var n=r(872),o=r(874)(n);e.exports=o},function(e,t,r){var n=r(873),o=r(437),i=r(364),a=o?function(e,t){return o(e,"toString",{configurable:!0,enumerable:!1,value:n(t),writable:!0})}:i;e.exports=a},function(e,t){e.exports=function(e){return function(){return e}}},function(e,t){var r=Date.now;e.exports=function(e){var t=0,n=0;return function(){var o=r(),i=16-(o-n);if(n=o,i>0){if(++t>=800)return arguments[0]}else t=0;return e.apply(void 0,arguments)}}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,r(36);var n=a(r(0)),o=a(r(440)),i=a(r(887));function a(e){return e&&e.__esModule?e:{default:e}}function u(){return(u=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(this,arguments)}var s=function(e){return n.default.createElement(o.default,u({mediaType:"video",MediaComponent:i.default},e))};t.default=s},function(e,t,r){"use strict";function n(e){return(n="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)}r(28),r(29),r(1),r(33),r(36),r(3),r(7),r(8),r(2),r(4),r(5),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,r(32);var o=s(r(0)),i=s(r(58)),a=s(r(877)),u=r(45);function s(e){return e&&e.__esModule?e:{default:e}}function c(){return(c=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(this,arguments)}function l(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function f(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function p(e,t){return(p=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function d(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 Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var r,n=v(e);if(t){var o=v(this).constructor;r=Reflect.construct(n,arguments,o)}else r=n.apply(this,arguments);return h(this,r)}}function h(e,t){if(t&&("object"===n(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return y(e)}function y(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.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function m(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var b=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&p(e,t)}(h,e);var t,r,n,s=d(h);function h(){var e;l(this,h);for(var t=arguments.length,r=new Array(t),n=0;n<t;n++)r[n]=arguments[n];return m(y(e=s.call.apply(s,[this].concat(r))),"playbackSlow",(function(){return e.props.updatePlaybackRate(u.MEDIA_PLAYBACK_RATES.SLOW)})),m(y(e),"playbackNormal",(function(){return e.props.updatePlaybackRate(u.MEDIA_PLAYBACK_RATES.NORMAL)})),m(y(e),"playbackFast",(function(){return e.props.updatePlaybackRate(u.MEDIA_PLAYBACK_RATES.FAST)})),e}return t=h,(r=[{key:"render",value:function(){var e=this.props,t=e.mediaType,r=e.config;return r?o.default.createElement("div",{className:(0,i.default)("bber-media__controls","bber-media__controls--".concat(t),"bber-media__controls--".concat(r))},o.default.createElement(a.default,c({playbackSlow:this.playbackSlow,playbackNormal:this.playbackNormal,playbackFast:this.playbackFast},this.props))):null}}])&&f(t.prototype,r),n&&f(t,n),Object.defineProperty(t,"prototype",{writable:!1}),h}(o.default.Component);t.default=b},function(e,t,r){"use strict";r(16),r(3),r(36),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=u(r(0)),o=u(r(878)),i=u(r(884)),a=["mediaType"];function u(e){return e&&e.__esModule?e:{default:e}}function s(){return(s=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(this,arguments)}function c(e,t){if(null==e)return{};var r,n,o=function(e,t){if(null==e)return{};var r,n,o={},i=Object.keys(e);for(n=0;n<i.length;n++)r=i[n],t.indexOf(r)>=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(n=0;n<i.length;n++)r=i[n],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}var l=function(e){var t=e.mediaType,r=c(e,a);return"audio"===t?n.default.createElement(o.default,s({playbackSlow:r.playbackSlow,playbackNormal:r.playbackNormal,playbackFast:r.playbackFast},r)):n.default.createElement(i.default,s({playbackSlow:r.playbackSlow,playbackNormal:r.playbackNormal,playbackFast:r.playbackFast},r))};t.default=l},function(e,t,r){"use strict";r(16),r(3),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=s(r(0)),o=s(r(879)),i=s(r(880)),a=s(r(881)),u=["config"];function s(e){return e&&e.__esModule?e:{default:e}}function c(e,t){if(null==e)return{};var r,n,o=function(e,t){if(null==e)return{};var r,n,o={},i=Object.keys(e);for(n=0;n<i.length;n++)r=i[n],t.indexOf(r)>=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(n=0;n<i.length;n++)r=i[n],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}var l=function(e){var t=e.config,r=c(e,u);return"simple"===t?n.default.createElement(o.default,r):"normal"===t?n.default.createElement(i.default,r):n.default.createElement(a.default,r)};t.default=l},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=u(r(0)),o=u(r(190)),i=u(r(191)),a=u(r(143));function u(e){return e&&e.__esModule?e:{default:e}}var s=function(e){return n.default.createElement(n.default.Fragment,null,n.default.createElement(i.default,{paused:e.paused,pause:e.pause,play:e.play}),n.default.createElement(o.default,{time:e.timeElapsed}),n.default.createElement(a.default,{duration:e.duration,progress:e.progress,seek:e.seek}),n.default.createElement(o.default,{time:e.timeRemaining}))};t.default=s},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=c(r(0)),o=r(441),i=c(r(290)),a=c(r(191)),u=c(r(190)),s=c(r(143));function c(e){return e&&e.__esModule?e:{default:e}}var l=function(e){return n.default.createElement(n.default.Fragment,null,n.default.createElement(o.MediaButtonSeekBack,{timeBack:e.timeBack}),n.default.createElement(a.default,{paused:e.paused,pause:e.pause,play:e.play}),n.default.createElement(o.MediaButtonSeekForward,{timeForward:e.timeForward}),n.default.createElement(u.default,{time:e.timeElapsed}),n.default.createElement(s.default,{duration:e.duration,progress:e.progress,seek:e.seek}),n.default.createElement(u.default,{time:e.timeRemaining}),n.default.createElement(i.default,{volume:e.volume,updateVolume:e.updateVolume}))};t.default=l},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=d(r(0)),o=d(r(882)),i=d(r(442)),a=r(441),u=d(r(191)),s=d(r(190)),c=d(r(143)),l=d(r(883)),f=d(r(290)),p=d(r(41));function d(e){return e&&e.__esModule?e:{default:e}}function h(e){return n.default.createElement("div",{className:"bber-media__stacked"},n.default.createElement("div",{className:"bber-media__stacked__row"},n.default.createElement(s.default,{time:e.timeElapsed}),n.default.createElement(c.default,{duration:e.duration,progress:e.progress,seek:e.seek}),n.default.createElement(s.default,{time:e.timeRemaining})),n.default.createElement("div",{className:"bber-media__stacked__separator"},n.default.createElement("div",{className:"bber-media__stacked__separator--line"})),n.default.createElement("div",{className:"bber-media__stacked__row"},n.default.createElement(a.MediaButtonSeekBack,{timeBack:e.timeBack}),n.default.createElement(u.default,{paused:e.paused,pause:e.pause,play:e.play}),n.default.createElement(a.MediaButtonSeekForward,{timeForward:e.timeForward}),n.default.createElement(o.default,{loop:e.loop,updateLoop:e.updateLoop}),n.default.createElement(i.default,{playbackRate:e.playbackRate,playbackSlow:e.playbackSlow,playbackNormal:e.playbackNormal,playbackFast:e.playbackFast}),n.default.createElement("div",{style:{marginRight:"auto"}}),n.default.createElement(f.default,{volume:e.volume,updateVolume:e.updateVolume}),n.default.createElement(l.default,{currentSrc:e.currentSrc})))}function y(e){return n.default.createElement(n.default.Fragment,null,n.default.createElement(a.MediaButtonSeekBack,{timeBack:e.timeBack}),n.default.createElement(u.default,{paused:e.paused,pause:e.pause,play:e.play}),n.default.createElement(a.MediaButtonSeekForward,{timeForward:e.timeForward}),n.default.createElement(o.default,{loop:e.loop,updateLoop:e.updateLoop}),n.default.createElement(i.default,{playbackRate:e.playbackRate,playbackSlow:e.playbackSlow,playbackNormal:e.playbackNormal,playbackFast:e.playbackFast}),n.default.createElement(s.default,{time:e.timeElapsed}),n.default.createElement(c.default,{duration:e.duration,progress:e.progress,seek:e.seek}),n.default.createElement(s.default,{time:e.timeRemaining}),n.default.createElement(f.default,{volume:e.volume,updateVolume:e.updateVolume}),n.default.createElement(l.default,{currentSrc:e.currentSrc}))}var v=function(e){return p.default.isSingleColumn()?n.default.createElement(h,e):n.default.createElement(y,e)};t.default=v},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=i(r(0)),o=i(r(58));function i(e){return e&&e.__esModule?e:{default:e}}var a=function(e){return n.default.createElement("button",{className:(0,o.default)("material-icons",{"bber-hover":e.loop}),onClick:e.updateLoop},"repeat")};t.default=a},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n,o=(n=r(0))&&n.__esModule?n:{default:n};var i=function(e){return o.default.createElement("a",{className:"bber-a material-icons media__button__file_download",href:e.currentSrc,download:!0},"file_download")};t.default=i},function(e,t,r){"use strict";r(16),r(3),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=s(r(0)),o=s(r(443)),i=s(r(444)),a=s(r(886)),u=["config"];function s(e){return e&&e.__esModule?e:{default:e}}function c(e,t){if(null==e)return{};var r,n,o=function(e,t){if(null==e)return{};var r,n,o={},i=Object.keys(e);for(n=0;n<i.length;n++)r=i[n],t.indexOf(r)>=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(n=0;n<i.length;n++)r=i[n],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}var l=function(e){var t=e.config,r=c(e,u);return"simple"===t?n.default.createElement(o.default,r):"normal"===t?n.default.createElement(i.default,r):n.default.createElement(a.default,r)};t.default=l},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n,o=(n=r(0))&&n.__esModule?n:{default:n};var i=function(e){return o.default.createElement("button",{className:"bber-button",onClick:e.toggleFullscreen},"toggleFullscreen")};t.default=i},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=a(r(0)),o=a(r(444)),i=a(r(442));function a(e){return e&&e.__esModule?e:{default:e}}var u=function(e){return n.default.createElement(n.default.Fragment,null,n.default.createElement(o.default,e),n.default.createElement(i.default,{playbackSlow:e.playbackSlow,playbackNormal:e.playbackNormal,playbackFast:e.playbackFast}))};t.default=u},function(e,t,r){"use strict";r(16),r(3),r(36),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n,o=(n=r(0))&&n.__esModule?n:{default:n},i=["elementKey","elementRef","handleLoad","handleEnded","controls","children"];function a(){return(a=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(this,arguments)}function u(e,t){if(null==e)return{};var r,n,o=function(e,t){if(null==e)return{};var r,n,o={},i=Object.keys(e);for(n=0;n<i.length;n++)r=i[n],t.indexOf(r)>=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(n=0;n<i.length;n++)r=i[n],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}var s=function(e){var t=e.elementKey,r=e.elementRef,n=e.handleLoad,s=e.handleEnded,c=e.controls,l=e.children,f=u(e,i);return o.default.createElement("video",a({onLoadedMetadata:n,onEnded:s,controls:c,key:t,ref:r},f),l)};t.default=s},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,r(36);var n=a(r(0)),o=a(r(440)),i=a(r(889));function a(e){return e&&e.__esModule?e:{default:e}}function u(){return(u=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(this,arguments)}var s=function(e){return n.default.createElement(o.default,u({mediaType:"audio",MediaComponent:i.default},e))};t.default=s},function(e,t,r){"use strict";r(16),r(3),r(36),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n,o=(n=r(0))&&n.__esModule?n:{default:n},i=["elementKey","elementRef","handleLoad","handleEnded","controls","children"];function a(){return(a=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(this,arguments)}function u(e,t){if(null==e)return{};var r,n,o=function(e,t){if(null==e)return{};var r,n,o={},i=Object.keys(e);for(n=0;n<i.length;n++)r=i[n],t.indexOf(r)>=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(n=0;n<i.length;n++)r=i[n],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}var s=function(e){var t=e.elementKey,r=e.elementRef,n=e.handleLoad,s=e.handleEnded,c=e.controls,l=e.children,f=u(e,i);return o.default.createElement("audio",a({onLoadedMetadata:n,onEnded:s,controls:c,key:t,ref:r},f),l)};t.default=s},function(e,t,r){"use strict";function n(e){return(n="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)}r(28),r(29),r(1),r(33),r(3),r(7),r(8),r(2),r(4),r(5),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,r(32);var o=c(r(0)),i=c(r(178)),a=c(r(434)),u=c(r(95)),s=c(r(41));function c(e){return e&&e.__esModule?e:{default:e}}function l(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function f(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function p(e,t){return(p=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function d(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 Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var r,n=v(e);if(t){var o=v(this).constructor;r=Reflect.construct(n,arguments,o)}else r=n.apply(this,arguments);return h(this,r)}}function h(e,t){if(t&&("object"===n(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return y(e)}function y(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.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function m(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var b=(0,r(57).isBrowser)("chrome","eq",81),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}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&p(e,t)}(a,e);var t,r,n,i=d(a);function a(){var e;l(this,a);for(var t=arguments.length,r=new Array(t),n=0;n<t;n++)r[n]=arguments[n];return m(y(e=i.call.apply(i,[this].concat(r))),"focusWindow",(function(){return setTimeout((function(){return window.focus()}),60)})),e}return t=a,(r=[{key:"componentDidMount",value:function(){window.addEventListener("blur",this.focusWindow)}},{key:"componentWillUnmount",value:function(){window.removeEventListener("blur",this.focusWindow)}},{key:"render",value:function(){var e=this.props,t=e.src,r=e.title,n=e.height,i=e.iframePlaceholderTop,a=e.iframePlaceholderWidth,u=this.props.width,c={};if(b){var l=s.default.isMobile();c={top:i,width:u,maxWidth:l?"100%":a,position:l?"static":"absolute"}}return o.default.createElement(o.default.Fragment,null,b&&o.default.createElement("style",null,this.props.iframeStyleBlock("iframe")),b&&o.default.createElement("div",{key:"placholder-".concat(t),style:{paddingTop:n},className:"bber-iframe-placeholder",ref:this.props.innerRef}),o.default.createElement("div",{style:c,key:t,ref:this.props.elemRef},o.default.createElement("iframe",{src:t,title:r,width:u,height:n,webkitallowfullscreen:"webkitallowfullscreen",mozallowfullscreen:"mozallowfullscreen",allowFullScreen:"allowfullscreen",allow:"autoplay",frameBorder:"0",scrolling:"no"})))}}])&&f(t.prototype,r),n&&f(t,n),Object.defineProperty(t,"prototype",{writable:!1}),a}(o.default.Component);m(g,"contextType",u.default);var w=(0,i.default)((0,a.default)(g,{enabled:b}));t.default=w},function(e,t,r){"use strict";r(371),r(892),r(893),r(894)},function(e,t,r){"use strict";
35
+ /*! npm.im/object-fit-images 3.2.4 */var n="bfred-it:object-fit-images",o=/(object-fit|object-position)\s*:\s*([-.\w\s%]+)/g,i="undefined"==typeof Image?{style:{"object-position":1}}:new Image,a="object-fit"in i.style,u="object-position"in i.style,s="background-size"in i.style,c="string"==typeof i.currentSrc,l=i.getAttribute,f=i.setAttribute,p=!1;function d(e,t,r){var n="data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='"+(t||1)+"' height='"+(r||0)+"'%3E%3C/svg%3E";l.call(e,"src")!==n&&f.call(e,"src",n)}function h(e,t){e.naturalWidth?t(e):setTimeout(h,100,e,t)}function y(e){var t=function(e){for(var t,r=getComputedStyle(e).fontFamily,n={};null!==(t=o.exec(r));)n[t[1]]=t[2];return n}(e),r=e[n];if(t["object-fit"]=t["object-fit"]||"fill",!r.img){if("fill"===t["object-fit"])return;if(!r.skipTest&&a&&!t["object-position"])return}if(!r.img){r.img=new Image(e.width,e.height),r.img.srcset=l.call(e,"data-ofi-srcset")||e.srcset,r.img.src=l.call(e,"data-ofi-src")||e.src,f.call(e,"data-ofi-src",e.src),e.srcset&&f.call(e,"data-ofi-srcset",e.srcset),d(e,e.naturalWidth||e.width,e.naturalHeight||e.height),e.srcset&&(e.srcset="");try{!function(e){var t={get:function(t){return e[n].img[t||"src"]},set:function(t,r){return e[n].img[r||"src"]=t,f.call(e,"data-ofi-"+r,t),y(e),t}};Object.defineProperty(e,"src",t),Object.defineProperty(e,"currentSrc",{get:function(){return t.get("currentSrc")}}),Object.defineProperty(e,"srcset",{get:function(){return t.get("srcset")},set:function(e){return t.set(e,"srcset")}})}(e)}catch(e){window.console&&console.warn("https://bit.ly/ofi-old-browser")}}!function(e){if(e.srcset&&!c&&window.picturefill){var t=window.picturefill._;e[t.ns]&&e[t.ns].evaled||t.fillImg(e,{reselect:!0}),e[t.ns].curSrc||(e[t.ns].supported=!1,t.fillImg(e,{reselect:!0})),e.currentSrc=e[t.ns].curSrc||e.src}}(r.img),e.style.backgroundImage='url("'+(r.img.currentSrc||r.img.src).replace(/"/g,'\\"')+'")',e.style.backgroundPosition=t["object-position"]||"center",e.style.backgroundRepeat="no-repeat",e.style.backgroundOrigin="content-box",/scale-down/.test(t["object-fit"])?h(r.img,(function(){r.img.naturalWidth>e.width||r.img.naturalHeight>e.height?e.style.backgroundSize="contain":e.style.backgroundSize="auto"})):e.style.backgroundSize=t["object-fit"].replace("none","auto").replace("fill","100% 100%"),h(r.img,(function(t){d(e,t.naturalWidth,t.naturalHeight)}))}function v(e,t){var r=!p&&!e;if(t=t||{},e=e||"img",u&&!t.skipTest||!s)return!1;"img"===e?e=document.getElementsByTagName("img"):"string"==typeof e?e=document.querySelectorAll(e):"length"in e||(e=[e]);for(var o=0;o<e.length;o++)e[o][n]=e[o][n]||{skipTest:t.skipTest},y(e[o]);r&&(document.body.addEventListener("load",(function(e){"IMG"===e.target.tagName&&v(e.target,{skipTest:t.skipTest})}),!0),p=!0,e="img"),t.watchMQ&&window.addEventListener("resize",v.bind(null,e,{skipTest:t.skipTest}))}v.supportsObjectFit=a,v.supportsObjectPosition=u,function(){function e(e,t){return e[n]&&e[n].img&&("src"===t||"srcset"===t)?e[n].img:e}u||(HTMLImageElement.prototype.getAttribute=function(t){return l.call(e(this,t),t)},HTMLImageElement.prototype.setAttribute=function(t,r){return f.call(e(this,t),t,String(r))})}(),e.exports=v},function(e,t,r){(function(e){!function(e){"use strict";var t=e.URLSearchParams?e.URLSearchParams:null,r=t&&"a=1"===new t({a:1}).toString(),n=t&&"+"===new t("s=%2B").get("s"),o=s.prototype,i=!(!e.Symbol||!e.Symbol.iterator);if(!(t&&r&&n)){o.append=function(e,t){d(this.__URLSearchParams__,e,t)},o.delete=function(e){delete this.__URLSearchParams__[e]},o.get=function(e){var t=this.__URLSearchParams__;return e in t?t[e][0]:null},o.getAll=function(e){var t=this.__URLSearchParams__;return e in t?t[e].slice(0):[]},o.has=function(e){return e in this.__URLSearchParams__},o.set=function(e,t){this.__URLSearchParams__[e]=[""+t]},o.toString=function(){var e,t,r,n,o=this.__URLSearchParams__,i=[];for(t in o)for(r=c(t),e=0,n=o[t];e<n.length;e++)i.push(r+"="+c(n[e]));return i.join("&")};var a=!!n&&t&&!r&&e.Proxy;e.URLSearchParams=a?new Proxy(t,{construct:function(e,t){return new e(new s(t[0]).toString())}}):s;var u=e.URLSearchParams.prototype;u.polyfill=!0,u.forEach=u.forEach||function(e,t){var r=p(this.toString());Object.getOwnPropertyNames(r).forEach((function(n){r[n].forEach((function(r){e.call(t,r,n,this)}),this)}),this)},u.sort=u.sort||function(){var e,t,r,n=p(this.toString()),o=[];for(e in n)o.push(e);for(o.sort(),t=0;t<o.length;t++)this.delete(o[t]);for(t=0;t<o.length;t++){var i=o[t],a=n[i];for(r=0;r<a.length;r++)this.append(i,a[r])}},u.keys=u.keys||function(){var e=[];return this.forEach((function(t,r){e.push(r)})),f(e)},u.values=u.values||function(){var e=[];return this.forEach((function(t){e.push(t)})),f(e)},u.entries=u.entries||function(){var e=[];return this.forEach((function(t,r){e.push([r,t])})),f(e)},i&&(u[e.Symbol.iterator]=u[e.Symbol.iterator]||u.entries)}function s(e){((e=e||"")instanceof URLSearchParams||e instanceof s)&&(e=e.toString()),this.__URLSearchParams__=p(e)}function c(e){var t={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(e).replace(/[!'\(\)~]|%20|%00/g,(function(e){return t[e]}))}function l(e){return decodeURIComponent(e.replace(/\+/g," "))}function f(t){var r={next:function(){var e=t.shift();return{done:void 0===e,value:e}}};return i&&(r[e.Symbol.iterator]=function(){return r}),r}function p(e){var t={};if("object"==typeof e)for(var r in e)e.hasOwnProperty(r)&&d(t,r,e[r]);else{0===e.indexOf("?")&&(e=e.slice(1));for(var n=e.split("&"),o=0;o<n.length;o++){var i=n[o],a=i.indexOf("=");-1<a?d(t,l(i.slice(0,a)),l(i.slice(a+1))):i&&d(t,l(i),"")}}return t}function d(e,t,r){var n="string"==typeof r?r:null!=r&&"function"==typeof r.toString?r.toString():JSON.stringify(r);t in e?e[t].push(n):e[t]=[n]}}(void 0!==e?e:"undefined"!=typeof window?window:this)}).call(this,r(51))},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,r(19);var n=function(){for(var e=["webkit","moz"],t=0;t<e.length&&!window.requestAnimationFrame;++t){var r=e[t];window.requestAnimationFrame=window["".concat(r,"RequestAnimationFrame")],window.cancelAnimationFrame=window["".concat(r,"CancelAnimationFrame")]||window["".concat(r,"CancelRequestAnimationFrame")]}if(/iP(ad|hone|od).*OS 6/.test(window.navigator.userAgent)||!window.requestAnimationFrame||!window.cancelAnimationFrame){var n=0;window.requestAnimationFrame=function(e){var t=Date.now?Date.now():(new Date).getTime(),r=Math.max(n+16,t);return setTimeout((function(){e(n=r)}),r-t)},window.cancelAnimationFrame=clearTimeout}}();t.default=n},,function(e,t,r){"use strict";r.r(t),r.d(t,"createBrowserHistory",(function(){return _})),r.d(t,"createHashHistory",(function(){return j})),r.d(t,"createMemoryHistory",(function(){return A})),r.d(t,"createLocation",(function(){return m})),r.d(t,"locationsAreEqual",(function(){return b})),r.d(t,"parsePath",(function(){return y})),r.d(t,"createPath",(function(){return v}));var n=r(47);function o(e){return"/"===e.charAt(0)}function i(e,t){for(var r=t,n=r+1,o=e.length;n<o;r+=1,n+=1)e[r]=e[n];e.pop()}var a=function(e,t){void 0===t&&(t="");var r,n=e&&e.split("/")||[],a=t&&t.split("/")||[],u=e&&o(e),s=t&&o(t),c=u||s;if(e&&o(e)?a=n:n.length&&(a.pop(),a=a.concat(n)),!a.length)return"/";if(a.length){var l=a[a.length-1];r="."===l||".."===l||""===l}else r=!1;for(var f=0,p=a.length;p>=0;p--){var d=a[p];"."===d?i(a,p):".."===d?(i(a,p),f++):f&&(i(a,p),f--)}if(!c)for(;f--;f)a.unshift("..");!c||""===a[0]||a[0]&&o(a[0])||a.unshift("");var h=a.join("/");return r&&"/"!==h.substr(-1)&&(h+="/"),h};function u(e){return e.valueOf?e.valueOf():Object.prototype.valueOf.call(e)}var s=function e(t,r){if(t===r)return!0;if(null==t||null==r)return!1;if(Array.isArray(t))return Array.isArray(r)&&t.length===r.length&&t.every((function(t,n){return e(t,r[n])}));if("object"==typeof t||"object"==typeof r){var n=u(t),o=u(r);return n!==t||o!==r?e(n,o):Object.keys(Object.assign({},t,r)).every((function(n){return e(t[n],r[n])}))}return!1},c="Invariant failed";function l(e,t){if(!e)throw new Error(c)}function f(e){return"/"===e.charAt(0)?e:"/"+e}function p(e){return"/"===e.charAt(0)?e.substr(1):e}function d(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 h(e){return"/"===e.charAt(e.length-1)?e.slice(0,-1):e}function y(e){var t=e||"/",r="",n="",o=t.indexOf("#");-1!==o&&(n=t.substr(o),t=t.substr(0,o));var i=t.indexOf("?");return-1!==i&&(r=t.substr(i),t=t.substr(0,i)),{pathname:t,search:"?"===r?"":r,hash:"#"===n?"":n}}function v(e){var t=e.pathname,r=e.search,n=e.hash,o=t||"/";return r&&"?"!==r&&(o+="?"===r.charAt(0)?r:"?"+r),n&&"#"!==n&&(o+="#"===n.charAt(0)?n:"#"+n),o}function m(e,t,r,o){var i;"string"==typeof e?(i=y(e)).state=t:(void 0===(i=Object(n.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 r&&(i.key=r),o?i.pathname?"/"!==i.pathname.charAt(0)&&(i.pathname=a(i.pathname,o.pathname)):i.pathname=o.pathname:i.pathname||(i.pathname="/"),i}function b(e,t){return e.pathname===t.pathname&&e.search===t.search&&e.hash===t.hash&&e.key===t.key&&s(e.state,t.state)}function g(){var e=null;var t=[];return{setPrompt:function(t){return e=t,function(){e===t&&(e=null)}},confirmTransitionTo:function(t,r,n,o){if(null!=e){var i="function"==typeof e?e(t,r):e;"string"==typeof i?"function"==typeof n?n(i,o):o(!0):o(!1!==i)}else o(!0)},appendListener:function(e){var r=!0;function n(){r&&e.apply(void 0,arguments)}return t.push(n),function(){r=!1,t=t.filter((function(e){return e!==n}))}},notifyListeners:function(){for(var e=arguments.length,r=new Array(e),n=0;n<e;n++)r[n]=arguments[n];t.forEach((function(e){return e.apply(void 0,r)}))}}}var w=!("undefined"==typeof window||!window.document||!window.document.createElement);function S(e,t){t(window.confirm(e))}function O(){try{return window.history.state||{}}catch(e){return{}}}function _(e){void 0===e&&(e={}),w||l(!1);var t,r=window.history,o=(-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")),a=e,u=a.forceRefresh,s=void 0!==u&&u,c=a.getUserConfirmation,p=void 0===c?S:c,y=a.keyLength,b=void 0===y?6:y,_=e.basename?h(f(e.basename)):"";function x(e){var t=e||{},r=t.key,n=t.state,o=window.location,i=o.pathname+o.search+o.hash;return _&&(i=d(i,_)),m(i,n,r)}function E(){return Math.random().toString(36).substr(2,b)}var P=g();function k(e){Object(n.a)(F,e),F.length=r.length,P.notifyListeners(F.location,F.action)}function j(e){(function(e){return void 0===e.state&&-1===navigator.userAgent.indexOf("CriOS")})(e)||C(x(e.state))}function T(){C(x(O()))}var A=!1;function C(e){if(A)A=!1,k();else{P.confirmTransitionTo(e,"POP",p,(function(t){t?k({action:"POP",location:e}):function(e){var t=F.location,r=R.indexOf(t.key);-1===r&&(r=0);var n=R.indexOf(e.key);-1===n&&(n=0);var o=r-n;o&&(A=!0,N(o))}(e)}))}}var L=x(O()),R=[L.key];function I(e){return _+v(e)}function N(e){r.go(e)}var M=0;function D(e){1===(M+=e)&&1===e?(window.addEventListener("popstate",j),i&&window.addEventListener("hashchange",T)):0===M&&(window.removeEventListener("popstate",j),i&&window.removeEventListener("hashchange",T))}var U=!1;var F={length:r.length,action:"POP",location:L,createHref:I,push:function(e,t){var n=m(e,t,E(),F.location);P.confirmTransitionTo(n,"PUSH",p,(function(e){if(e){var t=I(n),i=n.key,a=n.state;if(o)if(r.pushState({key:i,state:a},null,t),s)window.location.href=t;else{var u=R.indexOf(F.location.key),c=R.slice(0,u+1);c.push(n.key),R=c,k({action:"PUSH",location:n})}else window.location.href=t}}))},replace:function(e,t){var n=m(e,t,E(),F.location);P.confirmTransitionTo(n,"REPLACE",p,(function(e){if(e){var t=I(n),i=n.key,a=n.state;if(o)if(r.replaceState({key:i,state:a},null,t),s)window.location.replace(t);else{var u=R.indexOf(F.location.key);-1!==u&&(R[u]=n.key),k({action:"REPLACE",location:n})}else window.location.replace(t)}}))},go:N,goBack:function(){N(-1)},goForward:function(){N(1)},block:function(e){void 0===e&&(e=!1);var t=P.setPrompt(e);return U||(D(1),U=!0),function(){return U&&(U=!1,D(-1)),t()}},listen:function(e){var t=P.appendListener(e);return D(1),function(){D(-1),t()}}};return F}var x={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 E(e){var t=e.indexOf("#");return-1===t?e:e.slice(0,t)}function P(){var e=window.location.href,t=e.indexOf("#");return-1===t?"":e.substring(t+1)}function k(e){window.location.replace(E(window.location.href)+"#"+e)}function j(e){void 0===e&&(e={}),w||l(!1);var t=window.history,r=(window.navigator.userAgent.indexOf("Firefox"),e),o=r.getUserConfirmation,i=void 0===o?S:o,a=r.hashType,u=void 0===a?"slash":a,s=e.basename?h(f(e.basename)):"",c=x[u],p=c.encodePath,y=c.decodePath;function b(){var e=y(P());return s&&(e=d(e,s)),m(e)}var O=g();function _(e){Object(n.a)(F,e),F.length=t.length,O.notifyListeners(F.location,F.action)}var j=!1,T=null;function A(){var e,t,r=P(),n=p(r);if(r!==n)k(n);else{var o=b(),a=F.location;if(!j&&(t=o,(e=a).pathname===t.pathname&&e.search===t.search&&e.hash===t.hash))return;if(T===v(o))return;T=null,function(e){if(j)j=!1,_();else{O.confirmTransitionTo(e,"POP",i,(function(t){t?_({action:"POP",location:e}):function(e){var t=F.location,r=I.lastIndexOf(v(t));-1===r&&(r=0);var n=I.lastIndexOf(v(e));-1===n&&(n=0);var o=r-n;o&&(j=!0,N(o))}(e)}))}}(o)}}var C=P(),L=p(C);C!==L&&k(L);var R=b(),I=[v(R)];function N(e){t.go(e)}var M=0;function D(e){1===(M+=e)&&1===e?window.addEventListener("hashchange",A):0===M&&window.removeEventListener("hashchange",A)}var U=!1;var F={length:t.length,action:"POP",location:R,createHref:function(e){var t=document.querySelector("base"),r="";return t&&t.getAttribute("href")&&(r=E(window.location.href)),r+"#"+p(s+v(e))},push:function(e,t){var r=m(e,void 0,void 0,F.location);O.confirmTransitionTo(r,"PUSH",i,(function(e){if(e){var t=v(r),n=p(s+t);if(P()!==n){T=t,function(e){window.location.hash=e}(n);var o=I.lastIndexOf(v(F.location)),i=I.slice(0,o+1);i.push(t),I=i,_({action:"PUSH",location:r})}else _()}}))},replace:function(e,t){var r=m(e,void 0,void 0,F.location);O.confirmTransitionTo(r,"REPLACE",i,(function(e){if(e){var t=v(r),n=p(s+t);P()!==n&&(T=t,k(n));var o=I.indexOf(v(F.location));-1!==o&&(I[o]=t),_({action:"REPLACE",location:r})}}))},go:N,goBack:function(){N(-1)},goForward:function(){N(1)},block:function(e){void 0===e&&(e=!1);var t=O.setPrompt(e);return U||(D(1),U=!0),function(){return U&&(U=!1,D(-1)),t()}},listen:function(e){var t=O.appendListener(e);return D(1),function(){D(-1),t()}}};return F}function T(e,t,r){return Math.min(Math.max(e,t),r)}function A(e){void 0===e&&(e={});var t=e,r=t.getUserConfirmation,o=t.initialEntries,i=void 0===o?["/"]:o,a=t.initialIndex,u=void 0===a?0:a,s=t.keyLength,c=void 0===s?6:s,l=g();function f(e){Object(n.a)(w,e),w.length=w.entries.length,l.notifyListeners(w.location,w.action)}function p(){return Math.random().toString(36).substr(2,c)}var d=T(u,0,i.length-1),h=i.map((function(e){return m(e,void 0,"string"==typeof e?p():e.key||p())})),y=v;function b(e){var t=T(w.index+e,0,w.entries.length-1),n=w.entries[t];l.confirmTransitionTo(n,"POP",r,(function(e){e?f({action:"POP",location:n,index:t}):f()}))}var w={length:h.length,action:"POP",location:h[d],index:d,entries:h,createHref:y,push:function(e,t){var n=m(e,t,p(),w.location);l.confirmTransitionTo(n,"PUSH",r,(function(e){if(e){var t=w.index+1,r=w.entries.slice(0);r.length>t?r.splice(t,r.length-t,n):r.push(n),f({action:"PUSH",location:n,index:t,entries:r})}}))},replace:function(e,t){var n=m(e,t,p(),w.location);l.confirmTransitionTo(n,"REPLACE",r,(function(e){e&&(w.entries[w.index]=n,f({action:"REPLACE",location:n}))}))},go:b,goBack:function(){b(-1)},goForward:function(){b(1)},canGo:function(e){var t=w.index+e;return t>=0&&t<w.entries.length},block:function(e){return void 0===e&&(e=!1),l.setPrompt(e)},listen:function(e){return l.appendListener(e)}};return w}}])}));