@canopycanopycanopy/b-ber-reader-react 3.0.8-next.61 → 3.0.8-next.96
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 +91 -2
- package/dist/styles.css +2 -1
- package/index.d.ts +1 -1
- package/package.json +11 -49
- package/dist/353.js +0 -1
- package/dist/fonts/CrimsonPro-Regular.ttf +0 -0
- package/dist/fonts/CrimsonPro-SemiBold.ttf +0 -0
- package/dist/fonts/material-icons.woff +0 -0
- package/dist/fonts/material-icons.woff2 +0 -0
- package/dist/index.js.LICENSE.txt +0 -38
package/dist/index.js
CHANGED
|
@@ -1,2 +1,91 @@
|
|
|
1
|
-
/*! For license information please see index.js.LICENSE.txt */
|
|
2
|
-
!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t(require("react")):"function"==typeof define&&define.amd?define(["react"],t):"object"==typeof exports?exports.BberReader=t(require("react")):e.BberReader=t(e.React)}(self,e=>(()=>{var t,r,n,i,o={27458(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.update=void 0;var n=function(e){if("function"==typeof WeakMap){var t=new WeakMap;new WeakMap}return function(e){if(e&&e.__esModule)return e;var r,n,i={__proto__:null,default:e};if(null===e||"object"!=typeof e&&"function"!=typeof e)return i;if(r=t){if(r.has(e))return r.get(e);r.set(e,i)}for(const t in e)"default"!==t&&{}.hasOwnProperty.call(e,t)&&((n=(r=Object.defineProperty)&&Object.getOwnPropertyDescriptor(e,t))&&(n.get||n.set)?r(i,t,n):i[t]=e[t]);return i}(e)}(r(53676));t.update=e=>({type:n.UPDATE,payload:e})},14324(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.updateQueryString=t.updateLocation=t.updateLocalStorage=t.setInitialSearchParams=t.locationStates=void 0;var n=c(r(5229)),i=function(e){if("function"==typeof WeakMap){var t=new WeakMap;new WeakMap}return function(e){if(e&&e.__esModule)return e;var r,n,i={__proto__:null,default:e};if(null===e||"object"!=typeof e&&"function"!=typeof e)return i;if(r=t){if(r.has(e))return r.get(e);r.set(e,i)}for(const t in e)"default"!==t&&{}.hasOwnProperty.call(e,t)&&((n=(r=Object.defineProperty)&&Object.getOwnPropertyDescriptor(e,t))&&(n.get||n.set)?r(i,t,n):i[t]=e[t]);return i}(e)}(r(35710)),o=r(29778),a=c(r(83351)),s=c(r(20562)),u=c(r(30514)),l=c(r(79093));function c(e){return e&&e.__esModule?e:{default:e}}const d=t.locationStates={MEMORY:"memory",QUERY_PARAMS:"searchParams",LOCAL_STORAGE:"localStorage"},f=e=>(t,r)=>{const n=r(),{bookURL:o}=n.readerSettings,u=a.default.createHash(o),l=s.default.get()||{};return l[u]=l[u]||{},l[u].location=e,s.default.set(l),t({type:i.LOCATION_UPDATE,payload:e})};t.updateLocalStorage=f;const p=e=>(t,r)=>{const n=r(),{searchParamKeys:a}=n.readerSettings,{searchParams:s}=n.readerLocation,{searchParams:c}=e,{slug:d}=a,f=u.default.parseQueryString(s),p=u.default.parseQueryString(c),h=f[d],m=p[d],g=h&&h!==m?"push":"replace",y=(0,o.appendExternalParams)(c,a).toString();return l.default[g]({search:y}),t({type:i.LOCATION_UPDATE,payload:e})};t.updateQueryString=p,t.setInitialSearchParams=()=>(e,t)=>{const{readerSettings:r}=t(),{bookURL:u,searchParamKeys:l,locationState:c}=r;let{searchParams:f}=r;(0,n.default)(f)&&(f=(0,o.ensureSearchParams)(f,l).toString());let p={searchParams:""};if(f)p.searchParams=f;else if(c===d.QUERY_PARAMS){let e;if(window.location.search&&(0,o.hasSearchParams)(window.location.search,l))e=new URLSearchParams(window.location.search);else{var h,m;const t=a.default.createHash(u);e=(null===(h=(s.default.get()||{})[t])||void 0===h||null===(m=h.location)||void 0===m?void 0:m.searchParams)||""}e=(0,o.ensureSearchParams)(e,l),e=(0,o.appendExternalParams)(e,l),p={searchParams:e.toString()}}else if(c===d.LOCAL_STORAGE){var g;let e;u||console.error("Err! No `bookURL` provided");const t=a.default.createHash(u),r=s.default.get()||{};r[t]=r[t]||{},e=(null===(g=r[t].location)||void 0===g?void 0:g.searchParams)||"",e=(0,o.ensureSearchParams)(e,l),p={searchParams:e.toString()},r[t].location=p,s.default.set(r)}return e({type:i.LOCATION_UPDATE,payload:p})},t.updateLocation=e=>(t,r)=>{const n=r(),{locationState:i}=n.readerSettings;return i===d.QUERY_PARAMS?t(p(e)):i===d.LOCAL_STORAGE?t(f(e)):void 0}},28334(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.updateSettings=void 0;var n=function(e){if("function"==typeof WeakMap){var t=new WeakMap;new WeakMap}return function(e){if(e&&e.__esModule)return e;var r,n,i={__proto__:null,default:e};if(null===e||"object"!=typeof e&&"function"!=typeof e)return i;if(r=t){if(r.has(e))return r.get(e);r.set(e,i)}for(const t in e)"default"!==t&&{}.hasOwnProperty.call(e,t)&&((n=(r=Object.defineProperty)&&Object.getOwnPropertyDescriptor(e,t))&&(n.get||n.set)?r(i,t,n):i[t]=e[t]);return i}(e)}(r(60376));t.updateSettings=e=>({type:n.SETTINGS_UPDATE,payload:e})},26e3(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.update=t.showSpinner=t.hideSpinner=t.enablePageTransitions=t.enableEventHandling=t.disablePageTransitions=t.disableEventHandling=void 0;var n=function(e){if("function"==typeof WeakMap){var t=new WeakMap;new WeakMap}return function(e){if(e&&e.__esModule)return e;var r,n,i={__proto__:null,default:e};if(null===e||"object"!=typeof e&&"function"!=typeof e)return i;if(r=t){if(r.has(e))return r.get(e);r.set(e,i)}for(const t in e)"default"!==t&&{}.hasOwnProperty.call(e,t)&&((n=(r=Object.defineProperty)&&Object.getOwnPropertyDescriptor(e,t))&&(n.get||n.set)?r(i,t,n):i[t]=e[t]);return i}(e)}(r(20342));t.update=e=>({type:n.UPDATE,payload:e}),t.enablePageTransitions=()=>({type:n.PAGE_TRANSITIONS_UPDATE,payload:!0}),t.disablePageTransitions=()=>({type:n.PAGE_TRANSITIONS_UPDATE,payload:!1}),t.enableEventHandling=()=>({type:n.EVENT_HANDLING_UPDATE,payload:!0}),t.disableEventHandling=()=>({type:n.EVENT_HANDLING_UPDATE,payload:!1}),t.showSpinner=()=>({type:n.SPINNER_UPDATE,payload:!0}),t.hideSpinner=()=>({type:n.SPINNER_UPDATE,payload:!1})},2824(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.updateUltimateNodePosition=t.updateLastSpreadIndex=t.unload=t.queueDeferredCallbacks=t.load=t.dequeueDeferredCallbacks=void 0;var n=function(e){if("function"==typeof WeakMap){var t=new WeakMap;new WeakMap}return function(e){if(e&&e.__esModule)return e;var r,n,i={__proto__:null,default:e};if(null===e||"object"!=typeof e&&"function"!=typeof e)return i;if(r=t){if(r.has(e))return r.get(e);r.set(e,i)}for(const t in e)"default"!==t&&{}.hasOwnProperty.call(e,t)&&((n=(r=Object.defineProperty)&&Object.getOwnPropertyDescriptor(e,t))&&(n.get||n.set)?r(i,t,n):i[t]=e[t]);return i}(e)}(r(22294));t.load=()=>({type:n.LOAD,payload:!0}),t.unload=()=>({type:n.UNLOAD,payload:!1}),t.updateUltimateNodePosition=e=>({type:n.UPDATE_ULTIMATE_NODE_POSITION,payload:e}),t.updateLastSpreadIndex=e=>({type:n.UPDATE_LAST_SPREAD_INDEX,payload:e}),t.queueDeferredCallbacks=()=>({type:n.QUEUE_DEFERRED_CALLBACKS,payload:!0}),t.dequeueDeferredCallbacks=()=>({type:n.DEQUEUE_DEFERRED_CALLBACKS,payload:!1})},76957(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.update=t.save=t.load=void 0;var n,i=function(e){if("function"==typeof WeakMap){var t=new WeakMap;new WeakMap}return function(e){if(e&&e.__esModule)return e;var r,n,i={__proto__:null,default:e};if(null===e||"object"!=typeof e&&"function"!=typeof e)return i;if(r=t){if(r.has(e))return r.get(e);r.set(e,i)}for(const t in e)"default"!==t&&{}.hasOwnProperty.call(e,t)&&((n=(r=Object.defineProperty)&&Object.getOwnPropertyDescriptor(e,t))&&(n.get||n.set)?r(i,t,n):i[t]=e[t]);return i}(e)}(r(27267)),o=(n=r(20562))&&n.__esModule?n:{default:n};t.load=()=>e=>e({type:i.SETTINGS_LOAD}),t.save=()=>(e,t)=>{const{viewerSettings:r}=t(),n={viewerSettings:r};return o.default.set(n),e({type:i.SETTINGS_SAVE,payload:r})},t.update=(e={})=>t=>t({type:i.SETTINGS_UPDATE,payload:e})},70947(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=p(r(64012)),i=r(40299),o=r(43275),a=f(r(29475)),s=f(r(63332)),u=f(r(65314)),l=p(r(28334)),c=p(r(14324));const d=["style","className"];function f(e){return e&&e.__esModule?e:{default:e}}function p(e,t){if("function"==typeof WeakMap)var r=new WeakMap,n=new WeakMap;return(p=function(e,t){if(!t&&e&&e.__esModule)return e;var i,o,a={__proto__:null,default:e};if(null===e||"object"!=typeof e&&"function"!=typeof e)return a;if(i=t?n:r){if(i.has(e))return i.get(e);i.set(e,a)}for(const t in e)"default"!==t&&{}.hasOwnProperty.call(e,t)&&((o=(i=Object.defineProperty)&&Object.getOwnPropertyDescriptor(e,t))&&(o.get||o.set)?i(a,t,o):a[t]=e[t]);return a})(e,t)}function h(){return h=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)({}).hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},h.apply(null,arguments)}function m(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 g(e,t,r){return(t=function(e){var t=function(e){if("object"!=typeof e||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var r=t.call(e,"string");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}class y extends n.Component{async UNSAFE_componentWillMount(){const{manifestURL:e,disableBodyStyles:t}=this.props.readerSettings;let{bookURL:r,projectURL:n}=this.props.readerSettings,i=[];if(e&&r&&console.error("Multiple endpoints. Specify either `manifestURL` or `bookURL`"),!0!==t&&(document.body.style["-webkit-text-size-adjust"]="none",document.body.style["touch-action"]="manipulation",document.body.style.margin="0",document.body.style.padding="0"),e)try{const t=await u.default.getJson(e),{data:i}=t,{href:o}=i.resources.find(e=>"application/oebps-package+xml"===e.type);r=o.split("/").slice(0,-2).join("/"),this.props.readerSettingsActions.updateSettings({bookURL:r}),n||(n=e.slice(0,e.lastIndexOf("/")))}catch(e){console.error("Error loading Webpub manifest",e)}r&&!n&&(n=r.split("/").slice(0,-2).join("/"));try{i=(await u.default.getBooks(n)).data}catch(e){console.warn("Could not load books from API",e)}const o=r.split("/").filter(Boolean).pop(),s=(0,a.default)(i,{id:o}),l={};s&&(l.layout=s.layout,l.downloads=s.downloads,l.uiOptions=s.ui_options),l.layout=this.props.readerSettings.layout||l.layout||"columns",this.props.readerSettingsActions.updateSettings(function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?m(Object(r),!0).forEach(function(t){g(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):m(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}({books:i,bookURL:r,projectURL:n},l)),this.props.readerLocationActions.setInitialSearchParams()}render(){const{searchParams:e}=this.props.readerLocation,{bookURL:t}=this.props.readerSettings;if(!e||!t)return null;const r=this.props.readerSettings,{style:i,className:o}=r,a=function(e,t){if(null==e)return{};var r,n,i=function(e,t){if(null==e)return{};var r={};for(var n in e)if({}.hasOwnProperty.call(e,n)){if(-1!==t.indexOf(n))continue;r[n]=e[n]}return r}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(n=0;n<o.length;n++)r=o[n],-1===t.indexOf(r)&&{}.propertyIsEnumerable.call(e,r)&&(i[r]=e[r])}return i}(r,d);return n.default.createElement(s.default,h({style:i,className:o},a))}}t.default=(0,o.connect)(({readerSettings:e,readerLocation:t})=>({readerSettings:e,readerLocation:t}),e=>({readerSettingsActions:(0,i.bindActionCreators)(l,e),readerLocationActions:(0,i.bindActionCreators)(c,e)}))(y)},77938(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n,i=c(r(64012)),o=r(43275),a=r(40299),s=r(4549),u=(n=r(96126))&&n.__esModule?n:{default:n},l=c(r(26e3));function c(e,t){if("function"==typeof WeakMap)var r=new WeakMap,n=new WeakMap;return(c=function(e,t){if(!t&&e&&e.__esModule)return e;var i,o,a={__proto__:null,default:e};if(null===e||"object"!=typeof e&&"function"!=typeof e)return a;if(i=t?n:r){if(i.has(e))return i.get(e);i.set(e,a)}for(const t in e)"default"!==t&&{}.hasOwnProperty.call(e,t)&&((o=(i=Object.defineProperty)&&Object.getOwnPropertyDescriptor(e,t))&&(o.get||o.set)?i(a,t,o):a[t]=e[t]);return a})(e,t)}t.default=(0,o.connect)(({readerSettings:e,viewerSettings:t,userInterface:r})=>({readerSettings:e,viewerSettings:t,userInterface:r}),e=>({userInterfaceActions:(0,a.bindActionCreators)(l,e)}))(function(e){const t=t=>{e.userInterface.handleEvents&&null===t.target.closest(".bber-controls__sidebar")&&null===t.target.closest(".bber-nav__button")&&e.showSidebar&&e.handleSidebarButtonClick(null)},r=t=>{if(e.userInterface.handleEvents&&t&&void 0!==t.which)switch(t.which){case 37:e.userInterfaceActions.enablePageTransitions(),e.handlePageNavigation(-1),e.handleSidebarButtonClick(null);break;case 39:e.userInterfaceActions.enablePageTransitions(),e.handlePageNavigation(1),e.handleSidebarButtonClick(null);break;case 27:e.handleSidebarButtonClick(null);break;case 80:t.metaKey&&(t.preventDefault(),t.stopImmediatePropagation(),window.print())}};(0,i.useEffect)(()=>(document.addEventListener("keydown",r),document.addEventListener("click",t),document.addEventListener("touchstart",t),()=>{document.removeEventListener("keydown",r),document.removeEventListener("click",t),document.removeEventListener("touchstart",t)}),[e.userInterface.handleEvents,e.showSidebar]);const n=e.readerSettings.NavigationHeader||s.NavigationHeader,o=(0,u.default)(e.readerSettings.NavigationFooter||s.NavigationFooter),{destroyReaderComponent:a,handleSidebarButtonClick:l,downloads:c,uiOptions:d,currentSpineItemIndex:f,spine:p,layout:h,metadata:m,showSidebar:g,spreadIndex:y,lastSpreadIndex:b,handleChapterNavigation:v,handlePageNavigation:S,navigateToChapterByURL:w}=e,{enablePageTransitions:E}=e.userInterfaceActions,{handleEvents:_}=e.userInterface;return i.default.createElement("div",{className:"bber-controls"},i.default.createElement(n,{destroyReaderComponent:a,handleSidebarButtonClick:l,downloads:c,uiOptions:d,showSidebar:g,spine:p,currentSpineItemIndex:f,navigateToChapterByURL:w,metadata:m}),e.children,i.default.createElement(o,{uiOptions:d,currentSpineItemIndex:f,spine:p,layout:h,spreadIndex:y,lastSpreadIndex:b,handleEvents:_,handleChapterNavigation:v,enablePageTransitions:E,handlePageNavigation:S}))})},74792(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,r(64707);var n=c(r(64012)),i=r(43275),o=c(r(55530)),a=c(r(65314)),s=c(r(83351)),u=c(r(30514)),l=c(r(21101));function c(e){return e&&e.__esModule?e:{default:e}}function d(e,t,r){return(t=function(e){var t=function(e){if("object"!=typeof e||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var r=t.call(e,"string");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const f=["SCRIPT","STYLE"],p=e=>{return e.nodeType===window.Node.ELEMENT_NODE&&(t=e.nodeName,f.includes(t));var t},h=e=>{if(!e.href||u.default.isRelative(e.href))return e.parentNode.removeChild(e);const{origin:t}=new window.URL(e.href);return new RegExp(window.location.origin).test(t)?e.parentNode.removeChild(e):e.setAttribute("target","_blank")},m=(e,t)=>{for(let t=e.children.length-1;t>=0;t--){const r=e.children[t];p(r)&&r.parentNode.removeChild(r),"A"===r.nodeName&&h(r),r.children.length&&m(r)}if(void 0!==t){const r=document.createElement("span"),n=document.createTextNode(t);r.classList.add("footnote__content--count"),r.appendChild(n),e.prepend(r)}return e.innerHTML};class g extends n.default.Component{constructor(e){super(e),d(this,"footnoteContainer",n.default.createRef()),d(this,"footnoteElement",n.default.createRef()),d(this,"getFootnote",async()=>{let{content:e}=this.state;if(e)return;const{hash:t}=new window.URL(this.props.href),r=t.slice(1),{data:n}=await a.default.getText(this.props.href),i=(new window.DOMParser).parseFromString(n,"text/html").getElementById(r);if(!i)return void console.error("Could not retrieve footnote %s; Document URL %s",t,this.props.href);let o,s=i.parentNode;for(;s&&"UL"!==s.nodeName&&"OL"!==s.nodeName;)s=s.parentNode;s&&(o=(Number(s.getAttribute("start"))||1)+Array.prototype.indexOf.call(s.children,i)),e=m(i.firstChild,o),this.setState({content:e})}),d(this,"handleOnMouseOver",e=>{e&&e.preventDefault(),l.default.isSingleColumn()||this.toggleFootnote()}),d(this,"handleOnMouseMove",e=>{l.default.isSingleColumn()||"SPAN"===e.target.nodeName&&e.target.classList.contains("footnote__number")&&e.target.dataset.footnote!==this.state.footnote&&this.hideFootnote()}),d(this,"handleDocumentClick",e=>{"A"!==e.target.nodeName&&this.hideFootnote()}),d(this,"toggleFootnote",e=>(e&&(e.preventDefault(),e.stopPropagation()),this.state.visible?this.hideFootnote():this.showFootnote())),d(this,"showFootnote",async e=>{e&&e.preventDefault(),await this.getFootnote(),this.setState({visible:!0}),document.addEventListener("click",this.handleDocumentClick),document.addEventListener("mousemove",this.handleOnMouseMove)}),d(this,"hideFootnote",e=>{e&&e.preventDefault(),this.setState({visible:!1}),document.removeEventListener("click",this.handleDocumentClick),document.removeEventListener("mousemove",this.handleOnMouseMove)}),this.state={content:"",visible:!1,footnote:s.default.createId()}}componentWillUnmount(){document.removeEventListener("click",this.handleDocumentClick)}getFootnoteOffset(){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;const{top:r}=this.footnoteContainer.current.getBoundingClientRect(),{paddingTop:n,paddingBottom:i}=this.props.viewerSettings;return r+this.footnoteElement.current.offsetHeight>window.innerHeight-(n+i)}footnoteStyles(){var e;const{columnWidth:t,columnGap:r,paddingLeft:n}=this.props.viewerSettings,i=l.default.isSingleColumn(),o=this.getFootnoteOffset()?"bottom":"top",a="bottom"===o?"1rem":"1.5rem",s={width:i?window.innerWidth-2*n:`${t+r}px`,left:0,[o]:a};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+n:s.left>=window.innerWidth/2?s.left=-1*s.left+n+t+r:s.left=-1*s.left+n,s.cursor="auto",s):s}render(){const{content:e,visible:t}=this.state,r=!e||!t;return n.default.createElement("span",{id:this.props.id,className:"footnote-ref"},n.default.createElement("span",{ref:this.footnoteContainer,className:"footnote__container",style:{display:"inline",position:"relative"}},n.default.createElement("span",{className:"footnote__number","data-footnote":this.state.footnote,onClick:this.toggleFootnote,onMouseOver:this.handleOnMouseOver},this.props.children),n.default.createElement("span",{ref:this.footnoteElement,style:this.footnoteStyles(),className:(0,o.default)("footnote__body",{"footnote__body--hidden":r})},n.default.createElement("span",{className:"footnote__content",dangerouslySetInnerHTML:{__html:e}}))))}}t.default=(0,i.connect)(({viewerSettings:e})=>({viewerSettings:e}),()=>({}))(g)},9645(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=function(e){if("function"==typeof WeakMap){var t=new WeakMap;new WeakMap}return function(e){if(e&&e.__esModule)return e;var r,n,i={__proto__:null,default:e};if(null===e||"object"!=typeof e&&"function"!=typeof e)return i;if(r=t){if(r.has(e))return r.get(e);r.set(e,i)}for(const t in e)"default"!==t&&{}.hasOwnProperty.call(e,t)&&((n=(r=Object.defineProperty)&&Object.getOwnPropertyDescriptor(e,t))&&(n.get||n.set)?r(i,t,n):i[t]=e[t]);return i}(e)}(r(64012)),i=c(r(5229)),o=r(43275),a=c(r(55530)),s=c(r(46462)),u=c(r(21101)),l=c(r(83351));function c(e){return e&&e.__esModule?e:{default:e}}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 f(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){p(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 p(e,t,r){return(t=function(e){var t=function(e){if("object"!=typeof e||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var r=t.call(e,"string");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}t.default=(0,o.connect)(({readerSettings:e,viewerSettings:t})=>({readerSettings:e,viewerSettings:t}),()=>({}))(function(e){const t=(0,n.useRef)(null);return(0,n.useEffect)(()=>{u.default.isSingleColumn()&&null!=t&&t.current&&t.current.scrollTo(0,0)},[e.slug]),n.default.createElement("div",{id:"frame",ref:t,className:(0,a.default)(`_${l.default.createHash(e.readerSettings.bookURL)}`,e.className||""),style:f(f({position:"absolute",top:0,left:0,right:0,bottom:0,margin:0,padding:0,border:0},u.default.isVerticallyScrolling(e)?{WebkitOverflowScrolling:"touch",overflowY:"auto",overflowX:"hidden"}:{overflow:"hidden"}),(0,i.default)(e.style)?e.style:{})},n.default.createElement(s.default,{BookContent:e.BookContent,className:e.className,lastSpreadIndex:e.lastSpreadIndex,layout:e.layout,readerSettings:e.readerSettings,slug:e.slug,spreadIndex:e.spreadIndex,spineItemURL:e.spineItemURL,style:e.style,view:e.view,viewerSettings:e.viewerSettings}))})},46462(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=function(e){if("function"==typeof WeakMap){var t=new WeakMap;new WeakMap}return function(e){if(e&&e.__esModule)return e;var r,n,i={__proto__:null,default:e};if(null===e||"object"!=typeof e&&"function"!=typeof e)return i;if(r=t){if(r.has(e))return r.get(e);r.set(e,i)}for(const t in e)"default"!==t&&{}.hasOwnProperty.call(e,t)&&((n=(r=Object.defineProperty)&&Object.getOwnPropertyDescriptor(e,t))&&(n.get||n.set)?r(i,t,n):i[t]=e[t]);return i}(e)}(r(64012)),i=h(r(3803)),o=r(43275),a=h(r(55530)),s=h(r(7345)),u=h(r(21101)),l=h(r(13465)),c=h(r(74839)),d=h(r(93889)),f=h(r(50088)),p=r(39759);function h(e){return e&&e.__esModule?e:{default:e}}function m(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 g(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?m(Object(r),!0).forEach(function(t){y(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):m(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function y(e,t,r){return(t=function(e){var t=function(e){if("object"!=typeof e||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var r=t.call(e,"string");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function b(e,t){const{width:r,height:n,columns:i,columnGap:o,paddingTop:a,paddingLeft:s,paddingRight:l,paddingBottom:c,fontSize:d}=e.viewerSettings,{margin:f,border:h,boxSizing:m,columnFill:g,transform:y}=t,{layout:b}=e;let v=a,S=c;if(u.default.isVerticalScrollConfigured(b)){const e=p.breakpoints.get(p.MEDIA_QUERY_MOBILE);v=e.paddingTop,S=e.paddingBottom}return{width:r,height:n,columnGap:o,paddingTop:v,paddingLeft:s,paddingRight:l,paddingBottom:S,margin:f,border:h,boxSizing:m,columns:i,columnFill:g,transform:y,fontSize:d}}function v(e,t){let r={},n=t;return"firefox"===l.default.name?("left"===e&&(n*=-1),r={[e]:`${n}px`}):(n*=-1,r={transform:`translateX(${n}px) translate3d(0, 0, 0)`}),r}function S({layout:e,paddingLeft:t,paddingRight:r,enableTransitions:i,translateX:o,transitionSpeed:a}){return u.default.isVerticallyScrolling({layout:e})?null:n.default.createElement(n.default.Fragment,null,n.default.createElement("div",{className:"bber-leaf bber-leaf--left",style:g(g({width:t},v("left",o)),i?{}:{transition:"none"})}),n.default.createElement("div",{className:"bber-leaf bber-leaf--right",style:g(g({width:r},v("right",o)),i?{}:{transition:"none"})}))}t.default=(0,o.connect)(({userInterface:e})=>({userInterface:e}),()=>({}))((0,d.default)((0,c.default)(function(e){const t=(0,n.useContext)(f.default),[r,o]=(0,n.useState)({margin:0,border:0,boxSizing:"border-box",transform:"translateX(0) translate3d(0, 0, 0)",columnFill:"auto"}),l=e.getFrameHeight(),{spreadIndex:c,slug:d,layout:h}=e,{enableTransitions:m}=e.userInterface,{transition:y,transitionSpeed:v,paddingLeft:w,paddingRight:E}=e.viewerSettings,_=t.getTranslateX(),O=e=>{const r=`translateX(${t.getTranslateX(e)}px) translate3d(0, 0, 0)`;o(e=>g(g({},e),{},{transform:r}))},x=(0,i.default)(()=>{e.updateDimensions(),O()},p.RESIZE_DEBOUNCE_TIMER,{});return(0,n.useEffect)(()=>(e.updateDimensions(),O(),window.addEventListener("resize",x),()=>window.removeEventListener("resize",x)),[]),(0,n.useEffect)(()=>{O(e.spreadIndex)},[e.spreadIndex]),n.default.createElement("div",{id:"layout",className:(0,a.default)(`spread-index__${c}`,d,{context__scroll:u.default.isVerticallyScrolling({layout:h}),context__desktop:u.default.isMediaQueryDesktop(),context__mobile:!u.default.isMediaQueryDesktop()}),style:g(g(g({},b(e,r)),(0,s.default)({transitionSpeed:v})[y]),m?{}:{transition:"none"})},n.default.createElement("div",{id:"content",ref:e.innerRef,style:{margin:0,padding:0,minHeight:l}},n.default.createElement(e.BookContent,{key:e.spineItemURL})),n.default.createElement(S,{layout:h,paddingLeft:w,paddingRight:E,enableTransitions:m,translateX:_,transitionSpeed:v}))})))},6843(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n,i=(n=r(64012))&&n.__esModule?n:{default:n};t.default=e=>i.default.createElement("div",null,e.books.map((t,r)=>i.default.createElement("button",{key:r,onClick:()=>e.handleClick(t),style:{width:200,height:300,display:"inline-block",backgroundImage:`url(${t.cover})`,backgroundSize:"contain",backgroundRepeat:"no-repeat",backgroundPosition:"center"}},t.name)))},80276(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=s(r(64012)),i=r(43275),o=s(r(50088)),a=s(r(30514));function s(e){return e&&e.__esModule?e:{default:e}}t.default=(0,i.connect)(({readerSettings:e})=>({readerSettings:e}),()=>({}))(e=>n.default.createElement(o.default.Consumer,null,({getSpineItemByAbsoluteUrl:t,navigateToChapterByURL:r})=>{const{className:i,href:o,readerSettings:s,style:u,children:l}=e,c=i||"",d=u||{},f=t(o)>-1,p=a.default.isExternal(o,window.location.href),h=a.default.isExternal(o,s.projectURL);let m="",g="";return p&&!f?(m="_blank",g="nooperner noreferrer"):h&&(m="_top"),n.default.createElement("a",{href:o,target:m,rel:g,style:d,className:c,onClick:e=>{f&&(e.preventDefault(),r(o))}},l)}))},90006(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=u(r(64012)),i=r(43275),o=r(40299),a=u(r(4716)),s=function(e){if("function"==typeof WeakMap){var t=new WeakMap;new WeakMap}return function(e){if(e&&e.__esModule)return e;var r,n,i={__proto__:null,default:e};if(null===e||"object"!=typeof e&&"function"!=typeof e)return i;if(r=t){if(r.has(e))return r.get(e);r.set(e,i)}for(const t in e)"default"!==t&&{}.hasOwnProperty.call(e,t)&&((n=(r=Object.defineProperty)&&Object.getOwnPropertyDescriptor(e,t))&&(n.get||n.set)?r(i,t,n):i[t]=e[t]);return i}(e)}(r(27458));function u(e){return e&&e.__esModule?e:{default:e}}function l(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,r){return(t=function(e){var t=function(e){if("object"!=typeof e||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var r=t.call(e,"string");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}class d extends n.default.Component{render(){const{verso:e,recto:t}=this.props;return function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?l(Object(r),!0).forEach(function(t){c(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):l(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}}({},this.props.style),n.default.createElement("span",null,n.default.createElement("span",{"data-verso":e,"data-recto":t,"data-index":this.props["data-index"],"data-final":this.props["data-final"],className:this.props.className,ref:this.props.elemRef}),n.default.createElement("span",{className:"bber-marker__spacer"}))}}t.default=(0,i.connect)(({markers:e})=>({markers:e}),e=>({markerActions:(0,o.bindActionCreators)(s,e)}))((0,a.default)(d,{isMarker:!0}))},49069(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=a(r(64012)),i=a(r(6547)),o=a(r(55445));function a(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)({}).hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},s.apply(null,arguments)}t.default=e=>n.default.createElement(i.default,s({mediaType:"audio",MediaComponent:o.default},e))},55445(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n,i=(n=r(64012))&&n.__esModule?n:{default:n};const o=["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)({}).hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},a.apply(null,arguments)}t.default=e=>{let{elementKey:t,elementRef:r,handleLoad:n,handleEnded:s,controls:u,children:l}=e,c=function(e,t){if(null==e)return{};var r,n,i=function(e,t){if(null==e)return{};var r={};for(var n in e)if({}.hasOwnProperty.call(e,n)){if(-1!==t.indexOf(n))continue;r[n]=e[n]}return r}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(n=0;n<o.length;n++)r=o[n],-1===t.indexOf(r)&&{}.propertyIsEnumerable.call(e,r)&&(i[r]=e[r])}return i}(e,o);return i.default.createElement("audio",a({onLoadedMetadata:n,onEnded:s,controls:u,key:t,ref:r},c),l)}},93960(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=u(r(64012)),i=u(r(37414)),o=u(r(97657)),a=u(r(24587));const s=["config"];function u(e){return e&&e.__esModule?e:{default:e}}t.default=e=>{let{config:t}=e,r=function(e,t){if(null==e)return{};var r,n,i=function(e,t){if(null==e)return{};var r={};for(var n in e)if({}.hasOwnProperty.call(e,n)){if(-1!==t.indexOf(n))continue;r[n]=e[n]}return r}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(n=0;n<o.length;n++)r=o[n],-1===t.indexOf(r)&&{}.propertyIsEnumerable.call(e,r)&&(i[r]=e[r])}return i}(e,s);return"simple"===t?n.default.createElement(i.default,r):"normal"===t?n.default.createElement(o.default,r):n.default.createElement(a.default,r)}},24587(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=p(r(64012)),i=p(r(19950)),o=p(r(2977)),a=r(85260),s=p(r(5982)),u=p(r(8823)),l=p(r(22522)),c=p(r(89708)),d=p(r(98738)),f=p(r(21101));function p(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(u.default,{time:e.timeElapsed}),n.default.createElement(l.default,{duration:e.duration,progress:e.progress,seek:e.seek}),n.default.createElement(u.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(s.default,{paused:e.paused,pause:e.pause,play:e.play}),n.default.createElement(a.MediaButtonSeekForward,{timeForward:e.timeForward}),n.default.createElement(i.default,{loop:e.loop,updateLoop:e.updateLoop}),n.default.createElement(o.default,{playbackRate:e.playbackRate,playbackSlow:e.playbackSlow,playbackNormal:e.playbackNormal,playbackFast:e.playbackFast}),n.default.createElement("div",{style:{marginRight:"auto"}}),n.default.createElement(d.default,{volume:e.volume,updateVolume:e.updateVolume}),n.default.createElement(c.default,{currentSrc:e.currentSrc})))}function m(e){return n.default.createElement(n.default.Fragment,null,n.default.createElement(a.MediaButtonSeekBack,{timeBack:e.timeBack}),n.default.createElement(s.default,{paused:e.paused,pause:e.pause,play:e.play}),n.default.createElement(a.MediaButtonSeekForward,{timeForward:e.timeForward}),n.default.createElement(i.default,{loop:e.loop,updateLoop:e.updateLoop}),n.default.createElement(o.default,{playbackRate:e.playbackRate,playbackSlow:e.playbackSlow,playbackNormal:e.playbackNormal,playbackFast:e.playbackFast}),n.default.createElement(u.default,{time:e.timeElapsed}),n.default.createElement(l.default,{duration:e.duration,progress:e.progress,seek:e.seek}),n.default.createElement(u.default,{time:e.timeRemaining}),n.default.createElement(d.default,{volume:e.volume,updateVolume:e.updateVolume}),n.default.createElement(c.default,{currentSrc:e.currentSrc}))}t.default=function(e){return f.default.isSingleColumn()?n.default.createElement(h,e):n.default.createElement(m,e)}},97657(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=l(r(64012)),i=r(85260),o=l(r(98738)),a=l(r(5982)),s=l(r(8823)),u=l(r(22522));function l(e){return e&&e.__esModule?e:{default:e}}t.default=e=>n.default.createElement(n.default.Fragment,null,n.default.createElement(i.MediaButtonSeekBack,{timeBack:e.timeBack}),n.default.createElement(a.default,{paused:e.paused,pause:e.pause,play:e.play}),n.default.createElement(i.MediaButtonSeekForward,{timeForward:e.timeForward}),n.default.createElement(s.default,{time:e.timeElapsed}),n.default.createElement(u.default,{duration:e.duration,progress:e.progress,seek:e.seek}),n.default.createElement(s.default,{time:e.timeRemaining}),n.default.createElement(o.default,{volume:e.volume,updateVolume:e.updateVolume}))},37414(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=s(r(64012)),i=s(r(8823)),o=s(r(5982)),a=s(r(22522));function s(e){return e&&e.__esModule?e:{default:e}}t.default=e=>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,{time:e.timeElapsed}),n.default.createElement(a.default,{duration:e.duration,progress:e.progress,seek:e.seek}),n.default.createElement(i.default,{time:e.timeRemaining}))},15519(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=s(r(64012)),i=s(r(93960)),o=s(r(52539));const a=["mediaType"];function s(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)({}).hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},u.apply(null,arguments)}t.default=e=>{let{mediaType:t}=e,r=function(e,t){if(null==e)return{};var r,n,i=function(e,t){if(null==e)return{};var r={};for(var n in e)if({}.hasOwnProperty.call(e,n)){if(-1!==t.indexOf(n))continue;r[n]=e[n]}return r}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(n=0;n<o.length;n++)r=o[n],-1===t.indexOf(r)&&{}.propertyIsEnumerable.call(e,r)&&(i[r]=e[r])}return i}(e,a);return"audio"===t?n.default.createElement(i.default,u({playbackSlow:r.playbackSlow,playbackNormal:r.playbackNormal,playbackFast:r.playbackFast},r)):n.default.createElement(o.default,u({playbackSlow:r.playbackSlow,playbackNormal:r.playbackNormal,playbackFast:r.playbackFast},r))}},89708(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n,i=(n=r(64012))&&n.__esModule?n:{default:n};t.default=e=>i.default.createElement("a",{className:"bber-a material-icons media__button__file_download",href:e.currentSrc,download:!0},"file_download")},67743(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n,i=(n=r(64012))&&n.__esModule?n:{default:n};t.default=e=>i.default.createElement("button",{className:"bber-button",onClick:e.toggleFullscreen},"toggleFullscreen")},19950(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=o(r(64012)),i=o(r(55530));function o(e){return e&&e.__esModule?e:{default:e}}t.default=function(e){return n.default.createElement("button",{className:(0,i.default)("bber-button material-icons",{"bber-hover":e.loop}),onClick:e.updateLoop},"repeat")}},5982(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n,i=(n=r(64012))&&n.__esModule?n:{default:n};t.default=function(e){return e.paused?i.default.createElement("button",{className:"bber-button material-icons bber-media__button__play",onClick:e.play},"play_arrow"):i.default.createElement("button",{className:"bber-button material-icons bber-media__button__pause",onClick:e.pause},"pause")}},2977(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n,i=(n=r(64012))&&n.__esModule?n:{default:n},o=r(39759);t.default=function(e){switch(e.playbackRate){case o.MEDIA_PLAYBACK_RATES.SLOW:return i.default.createElement("button",{className:"bber-button bber-button__media__playback-rate",onClick:e.playbackNormal},"0.5",i.default.createElement("span",{className:"bber-times__media__playback-rate"},"×"));case o.MEDIA_PLAYBACK_RATES.NORMAL:return i.default.createElement("button",{className:"bber-button bber-button__media__playback-rate",onClick:e.playbackFast},"1",i.default.createElement("span",{className:"bber-times__media__playback-rate"},"×"));case o.MEDIA_PLAYBACK_RATES.FAST:return i.default.createElement("button",{className:"bber-button bber-button__media__playback-rate",onClick:e.playbackSlow},"1.5",i.default.createElement("span",{className:"bber-times__media__playback-rate"},"×"));default:return null}}},85260(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.MediaButtonSeekBack=function(e){return i.default.createElement("button",{className:"bber-button material-icons bber-media__button__replay_30",onClick:e.timeBack},"replay_30")},t.MediaButtonSeekForward=function(e){return i.default.createElement("button",{className:"bber-button material-icons bber-media__button__forward_30",onClick:e.timeForward},"forward_30")};var n,i=(n=r(64012))&&n.__esModule?n:{default:n}},98738(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=a(r(64012)),i=a(r(55530)),o=a(r(22522));function a(e){return e&&e.__esModule?e:{default:e}}class s extends n.default.Component{constructor(){var e,t,r;super(),e=this,r=()=>this.setState(e=>({open:!e.open})),(t=function(e){var t=function(e){if("object"!=typeof e||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var r=t.call(e,"string");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}(t="toggle"))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,this.state={open:!1}}render(){const{open:e}=this.state;return n.default.createElement(n.default.Fragment,null,n.default.createElement("div",{className:(0,i.default)("bber-slider__volume",{"bber-open":e})},n.default.createElement(o.default,{duration:1,progress:this.props.volume,seek:this.props.updateVolume})),n.default.createElement("button",{className:(0,i.default)("bber-button material-icons bber-media__button__volume_up",{"bber-hover":e}),onClick:this.toggle},"volume_up"))}}t.default=s},97602(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=s(r(64012)),i=s(r(55530)),o=s(r(15519)),a=r(39759);function s(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)({}).hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},u.apply(null,arguments)}function l(e,t,r){return(t=function(e){var t=function(e){if("object"!=typeof e||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var r=t.call(e,"string");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}class c extends n.default.Component{constructor(...e){super(...e),l(this,"playbackSlow",()=>this.props.updatePlaybackRate(a.MEDIA_PLAYBACK_RATES.SLOW)),l(this,"playbackNormal",()=>this.props.updatePlaybackRate(a.MEDIA_PLAYBACK_RATES.NORMAL)),l(this,"playbackFast",()=>this.props.updatePlaybackRate(a.MEDIA_PLAYBACK_RATES.FAST))}render(){const{mediaType:e,config:t}=this.props;return t?n.default.createElement("div",{className:(0,i.default)("bber-media__controls",`bber-media__controls--${e}`,`bber-media__controls--${t}`)},n.default.createElement(o.default,u({playbackSlow:this.playbackSlow,playbackNormal:this.playbackNormal,playbackFast:this.playbackFast},this.props))):null}}t.default=c},22522(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n,i=(n=r(64012))&&n.__esModule?n:{default:n};t.default=function(e){return i.default.createElement("div",{className:"bber-media__slider"},i.default.createElement("div",{className:"bber-media__slider--before",style:{width:e.progress/e.duration*100+"%"}}),i.default.createElement("input",{className:"bber-input",type:"range",min:"0",max:e.duration,step:e.duration/100,value:e.progress,onChange:e.seek}))}},8823(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n,i=(n=r(64012))&&n.__esModule?n:{default:n};t.default=function({time:e}){return i.default.createElement("div",{className:"bber-media__time"},e)}},52539(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=u(r(64012)),i=u(r(87561)),o=u(r(83530)),a=u(r(40636));const s=["config"];function u(e){return e&&e.__esModule?e:{default:e}}t.default=e=>{let{config:t}=e,r=function(e,t){if(null==e)return{};var r,n,i=function(e,t){if(null==e)return{};var r={};for(var n in e)if({}.hasOwnProperty.call(e,n)){if(-1!==t.indexOf(n))continue;r[n]=e[n]}return r}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(n=0;n<o.length;n++)r=o[n],-1===t.indexOf(r)&&{}.propertyIsEnumerable.call(e,r)&&(i[r]=e[r])}return i}(e,s);return"simple"===t?n.default.createElement(i.default,r):"normal"===t?n.default.createElement(o.default,r):n.default.createElement(a.default,r)}},40636(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=a(r(64012)),i=a(r(83530)),o=a(r(2977));function a(e){return e&&e.__esModule?e:{default:e}}t.default=e=>n.default.createElement(n.default.Fragment,null,n.default.createElement(i.default,e),n.default.createElement(o.default,{playbackSlow:e.playbackSlow,playbackNormal:e.playbackNormal,playbackFast:e.playbackFast}))},83530(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=u(r(64012)),i=u(r(87561)),o=u(r(8823)),a=u(r(98738)),s=u(r(67743));function u(e){return e&&e.__esModule?e:{default:e}}t.default=e=>n.default.createElement(n.default.Fragment,null,n.default.createElement(i.default,e),n.default.createElement(o.default,{timeElapsed:e.timeElapsed,timeRemaining:e.timeRemaining}),n.default.createElement(a.default,{volumeUp:e.volumeUp,volumeDown:e.volumeDown}),n.default.createElement(s.default,{toggleFullscreen:e.toggleFullscreen}))},87561(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=a(r(64012)),i=a(r(5982)),o=a(r(22522));function a(e){return e&&e.__esModule?e:{default:e}}t.default=e=>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,{duration:e.duration,progress:e.progress,seek:e.seek}))},70563(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=u(r(64012)),i=u(r(4716)),o=u(r(96944)),a=u(r(50088)),s=u(r(21101));function u(e){return e&&e.__esModule?e:{default: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)({}).hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},l.apply(null,arguments)}function c(e,t,r){return(t=function(e){var t=function(e){if("object"!=typeof e||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var r=t.call(e,"string");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const d=(0,r(51966).isBrowser)("chrome","eq",81);class f extends n.default.Component{constructor(...e){super(...e),c(this,"focusWindow",()=>setTimeout(()=>window.focus(),60))}componentDidMount(){window.addEventListener("blur",this.focusWindow)}componentWillUnmount(){window.removeEventListener("blur",this.focusWindow)}render(){const{attrs:e,viewerSettings:t,iframePlaceholderTop:r,iframePlaceholderWidth:i}=this.props,{src:o,title:a,width:u,height:c}=e;let f={};if(d){const e=s.default.isSingleColumn(t);f={top:r,width:u,maxWidth:e?"100%":i,position:e?"static":"absolute"}}return n.default.createElement(n.default.Fragment,null,d&&n.default.createElement("style",null,this.props.iframeStyleBlock("iframe")),d&&n.default.createElement("div",{key:`placholder-${o}`,style:{paddingTop:c},className:"bber-iframe-placeholder",ref:this.props.innerRef}),n.default.createElement("div",{style:f,key:o,ref:this.props.elemRef},n.default.createElement("iframe",l({src:o,title:a},e))))}}c(f,"contextType",a.default),t.default=(0,i.default)((0,o.default)(f,{enabled:d}))},6547(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=l(r(64012)),i=l(r(50088)),o=l(r(4716)),a=l(r(97602)),s=r(39759);const u=["elemRef","verso","recto","spreadIndex","elementEdgeLeft","MediaComponent","mediaType","autoPlay","currentSpreadIndex","view","viewerSettings","readerSettings","controls"];function l(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)({}).hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},c.apply(null,arguments)}function d(e,t,r){return(t=function(e){var t=function(e){if("object"!=typeof e||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var r=t.call(e,"string");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}class f extends n.default.Component{constructor(...e){super(...e),d(this,"state",{autoPlay:this.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}),d(this,"onCanPlay",(e,t)=>{const{paused:r,userInitiatedPause:n}=this.state;!0===r&&!1===n&&e.spreadIndex===t.spreadIndex&&this.setState({paused:!1},()=>this.playMedia()),e.spreadIndex!==t.spreadIndex&&!1===r&&this.setState({paused:!0},()=>this.pauseMedia())}),d(this,"playMedia",()=>{const e=this.props.elemRef.current.play();e&&e.catch(()=>{}),this.updateControlsUI()}),d(this,"pauseMedia",()=>{this.props.elemRef.current.pause()}),d(this,"play",()=>this.setState({paused:!1,userInitiatedPause:!1},()=>this.playMedia())),d(this,"pause",()=>this.setState({paused:!0,userInitiatedPause:!0},()=>this.pauseMedia())),d(this,"updateTime",e=>{const{duration:t}=this.state;let{currentTime:r}=this.state;r=parseFloat((r+e).toFixed(10)),r=Math.max(0,Math.min(r,t)),this.setState({currentTime:r},()=>{this.props.elemRef.current.currentTime=this.state.currentTime,this.updateControlsUI()})}),d(this,"updateVolume",e=>{const t=e.currentTarget.value;this.setState({volume:t},()=>this.props.elemRef.current.volume=this.state.volume)}),d(this,"updateLoop",()=>{const e=!this.state.loop;this.setState({loop:e},()=>this.props.elemRef.current.loop=this.state.loop)}),d(this,"updatePlaybackRate",e=>this.setState({playbackRate:e},()=>this.props.elemRef.current.playbackRate=this.state.playbackRate)),d(this,"updateControlsUI",()=>{var e;this.updateTimeStamps(),this.updateProgress(),this.state.paused||null!==(e=this.props.elemRef)&&void 0!==e&&e.current&&setTimeout(this.updateControlsUI.bind(this),1e3)}),d(this,"updateTimeStamps",()=>{var e;if(null===(e=this.props.elemRef)||void 0===e||!e.current)return;const{currentTime:t}=this.props.elemRef.current,r=this.displayTime(t);this.setState({currentTime:t,timeElapsed:r})}),d(this,"updateProgress",()=>{var e;if(null===(e=this.props.elemRef)||void 0===e||!e.current)return;const t=this.props.elemRef.current.currentTime;this.setState({progress:t})}),d(this,"timeForward",()=>this.updateTime(f.skipStep)),d(this,"timeBack",()=>this.updateTime(-1*f.skipStep)),d(this,"seek",e=>{const t=Number(e.target.value),r=t;this.setState({progress:t,currentTime:r},()=>{this.props.elemRef.current.currentTime=this.state.currentTime,this.updateTimeStamps()})}),d(this,"toggleFullscreen",()=>{const e=this.props.elemRef.current;this.fullscreenElement()?this.exitFullscreen(e):this.requestFullscreen(e)}),d(this,"handleLoad",()=>{const{seeking:e,currentTime:t,duration:r,playbackRate:n,loop:i,volume:o,muted:a,currentSrc:s}=this.props.elemRef.current;this.props.elemRef.current.preload="auto";const u=this.displayTime(r);this.setState({seeking:e,muted:a,currentTime:t,duration:r,playbackRate:n,loop:i,volume:o,timeRemaining:u,currentSrc:s})}),d(this,"handleEnded",()=>this.setState({paused:!0,userInitiatedPause:!0}))}UNSAFE_componentWillMount(){!0===this.props["data-autoplay"]&&this.setState({autoPlay:!0})}UNSAFE_componentWillReceiveProps(e,t){if(!this.state.autoPlay)return;const r=this;this.props.elemRef.current.addEventListener("canplay",function n(){r.onCanPlay(e,t),r.props.elemRef.current.removeEventListener("canplay",n)})}displayTime(e){const t=Math.round(e);let r=t%60,n=(t-r)/60;return r=String(r).padStart(2,"0"),n=String(n).padStart(2,"0"),`${n}:${r}`}fullscreenElement(){return document.fullscreenElement||document.webkitFullscreenElement||document.mozFullScreenElement||document.msFullscreenElement}requestFullscreen(e){e.requestFullscreen?e.requestFullscreen():e.mozRequestFullScreen?e.mozRequestFullScreen():e.webkitRequestFullscreen?e.webkitRequestFullscreen():e.msRequestFullscreen&&e.msRequestFullscreen()}exitFullscreen(e){e.exitFullscreen?e.exitFullscreen():e.mozCancelFullScreen?e.mozCancelFullScreen():e.webkitExitFullscreen?e.webkitExitFullscreen():e.msExitFullscreen&&e.msExitFullscreen()}render(){const e=this.props,{elemRef:t,verso:r,recto:i,spreadIndex:o,elementEdgeLeft:l,MediaComponent:d,mediaType:f,autoPlay:p,currentSpreadIndex:h,view:m,viewerSettings:g,readerSettings:y,controls:b}=e,v=function(e,t){if(null==e)return{};var r,n,i=function(e,t){if(null==e)return{};var r={};for(var n in e)if({}.hasOwnProperty.call(e,n)){if(-1!==t.indexOf(n))continue;r[n]=e[n]}return r}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(n=0;n<o.length;n++)r=o[n],-1===t.indexOf(r)&&{}.propertyIsEnumerable.call(e,r)&&(i[r]=e[r])}return i}(e,u);let S=null,w=!0;return b?s.MEDIA_CONTROLS_PRESETS.has(b)&&(S=b,w=!1):w=!1,n.default.createElement(n.default.Fragment,null,n.default.createElement(d,c({elementKey:v.id,elementRef:t,handleLoad:this.handleLoad,handleEnded:this.handleEnded,controls:w},v)),n.default.createElement(a.default,{config:S,mediaType:f,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}))}}d(f,"contextType",i.default),d(f,"skipStep",30),t.default=(0,o.default)(f,{useParentDimensions:!0})},33101(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=a(r(64012)),i=a(r(6547)),o=a(r(77156));function a(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)({}).hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},s.apply(null,arguments)}t.default=e=>n.default.createElement(i.default,s({mediaType:"video",MediaComponent:o.default},e))},77156(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n,i=(n=r(64012))&&n.__esModule?n:{default:n};const o=["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)({}).hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},a.apply(null,arguments)}t.default=e=>{let{elementKey:t,elementRef:r,handleLoad:n,handleEnded:s,controls:u,children:l}=e,c=function(e,t){if(null==e)return{};var r,n,i=function(e,t){if(null==e)return{};var r={};for(var n in e)if({}.hasOwnProperty.call(e,n)){if(-1!==t.indexOf(n))continue;r[n]=e[n]}return r}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(n=0;n<o.length;n++)r=o[n],-1===t.indexOf(r)&&{}.propertyIsEnumerable.call(e,r)&&(i[r]=e[r])}return i}(e,o);return i.default.createElement("video",a({onLoadedMetadata:n,onEnded:s,controls:u,key:t,ref:r},c),l)}},32739(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=h(r(64012)),i=h(r(56304)),o=h(r(68553)),a=h(r(24558)),s=h(r(4716)),u=h(r(96944)),l=h(r(50088)),c=h(r(21101)),d=r(78939),f=r(51966);const p=["autoplay"];function h(e){return e&&e.__esModule?e:{default:e}}function m(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 g(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?m(Object(r),!0).forEach(function(t){y(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):m(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function y(e,t,r){return(t=function(e){var t=function(e){if("object"!=typeof e||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var r=t.call(e,"string");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const b=(0,f.isBrowser)("chrome","eq",81);class v extends n.default.Component{constructor(e){super(e),y(this,"handleUpdatePlaying",()=>this.setState(({playing:e})=>({playing:!e}))),y(this,"handlePause",()=>this.setState({playing:!1})),y(this,"handleEnded",()=>this.setState({playing:!1})),y(this,"handleUpdatePosition",()=>{}),y(this,"handleUpdateVolume",()=>{}),this.state={url:"",loop:!1,muted:!1,controls:!0,playing:!1,autoplay:!0,posterImage:null,playerOptions:{},currentSpreadIndex:null,aspectRatio:new Map([["x",16],["y",9]])}}UNSAFE_componentWillMount(){const{src:e,posterImage:t,aspectRatio:r}=this.props,[n,i]=(0,d.getURLAndQueryParamters)(e),o=(0,d.transformSearchParamsToProps)((0,d.getPlayerPropsFromQueryString)(i),v.blacklistedProps),{autoplay:a}=o,s=function(e,t){if(null==e)return{};var r,n,i=function(e,t){if(null==e)return{};var r={};for(var n in e)if({}.hasOwnProperty.call(e,n)){if(-1!==t.indexOf(n))continue;r[n]=e[n]}return r}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(n=0;n<o.length;n++)r=o[n],-1===t.indexOf(r)&&{}.propertyIsEnumerable.call(e,r)&&(i[r]=e[r])}return i}(o,p),{controls:u,muted:l,loop:c}=o;this.setState(e=>({url:n,loop:(0,f.unlessDefined)(c,e.loop),muted:(0,f.unlessDefined)(l,e.muted),controls:(0,f.unlessDefined)(u,e.controls),autoplay:(0,f.unlessDefined)(a,e.autoplay),posterImage:t,aspectRatio:r,playerOptions:g({},s)}))}UNSAFE_componentWillReceiveProps(e,t){const r=(0,d.getPlayingStateOnUpdate)(this.state,this.props,e,t);r&&this.setState(r)}render(){const{url:e,loop:t,muted:r,controls:s,playing:u,posterImage:l,playerOptions:d,aspectRatio:f}=this.state,{iframePlaceholderTop:p,iframePlaceholderWidth:h,iframePlaceholderHeight:m}=this.props;let g,y={};if(b){const e=c.default.isSingleColumn(),t=e?"static":"absolute",r=f.get("x"),n=f.get("y");if(e||(y={top:p,width:h,height:m,position:t}),!e&&h>window.innerWidth){const e=window.innerWidth>=window.innerHeight;y.top="50%",y.left="50%",y.transform="translateX(-50%) translateY(-50%)",e?(y.width="100vw",y.height="100vw",y.minWidth=r/n*100+"vh"):(y.width=n/r*100+"vw",y.height="100vw",y.minHeight="100%")}g=e?0:n/r*100+"%"}return n.default.createElement(n.default.Fragment,null,b&&n.default.createElement("style",null,this.props.iframeStyleBlock("vimeo")),b&&n.default.createElement("div",{key:`placholder-${e}`,style:{paddingTop:g},className:"bber-iframe-placeholder",ref:this.props.innerRef}),n.default.createElement("div",{style:y,key:e,ref:this.props.elemRef},n.default.createElement(o.default,{src:l,playing:u,controls:s,handleUpdatePlaying:this.handleUpdatePlaying}),n.default.createElement(i.default,{url:e,width:"100%",height:"100%",loop:t,muted:r,playing:u,controls:s,playsinline:!0,config:{vimeo:{playerOptions:d}},onPause:this.handlePause,onEnded:this.handleEnded}),n.default.createElement(a.default,{handleUpdatePlaying:this.handleUpdatePlaying,handleUpdatePosition:this.handleUpdatePosition,handleUpdateVolume:this.handleUpdateVolume})))}}y(v,"contextType",l.default),y(v,"blacklistedProps",["autopause"]),t.default=(0,s.default)((0,u.default)(v,{enabled:b}),{useParentDimensions:!0})},24558(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,t.default=()=>null},68553(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=o(r(64012)),i=o(r(55530));function o(e){return e&&e.__esModule?e:{default:e}}t.default=function({src:e,playing:t,controls:r,handleUpdatePlaying:o}){return e?n.default.createElement("img",{className:(0,i.default)("bber-poster bber-poster--vimeo",{"bber-visible":!t,"bber-controls":r}),onClick:o,src:e,alt:""}):null}},98712(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,i=(n=r(64012))&&n.__esModule?n:{default:n};t.Home=()=>i.default.createElement("svg",{style:{top:1},viewBox:"0 0 32 32",version:"1.1",xmlns:"http://www.w3.org/2000/svg"},i.default.createElement("g",{stroke:"none",strokeWidth:"1",fill:"none",fillRule:"evenodd"},i.default.createElement("g",{transform:"translate(1.000000, 0.615224)",stroke:"#222222"},i.default.createElement("circle",{id:"Oval",cx:"15",cy:"15",r:"15"}),i.default.createElement("circle",{id:"Oval",cx:"15.5",cy:"15.5",r:"7.5"})))),t.Download=()=>i.default.createElement("svg",{viewBox:"0 0 18 22",version:"1.1",xmlns:"http://www.w3.org/2000/svg"},i.default.createElement("g",{stroke:"none",strokeWidth:"0",fill:"none",fillRule:"evenodd"},i.default.createElement("g",{transform:"translate(-6.000000, -3.000000)",fill:"#000000"},i.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=()=>i.default.createElement("svg",{viewBox:"0 0 12 13",version:"1.1",xmlns:"http://www.w3.org/2000/svg"},i.default.createElement("g",{stroke:"none",strokeWidth:"0",fill:"none",fillRule:"evenodd"},i.default.createElement("g",{transform:"translate(0.000000, 0.422836)",fill:"#000000",fillRule:"nonzero"},i.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=()=>i.default.createElement("svg",{style:{top:1},viewBox:"0 0 26 26",version:"1.1",xmlns:"http://www.w3.org/2000/svg"},i.default.createElement("g",{stroke:"none",strokeWidth:"0",fill:"none",fillRule:"evenodd"},i.default.createElement("g",{transform:"translate(-2.000000, -2.000000)",fill:"#222222"},i.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=()=>i.default.createElement("svg",{viewBox:"0 0 22 18",version:"1.1",xmlns:"http://www.w3.org/2000/svg"},i.default.createElement("g",{stroke:"none",strokeWidth:"0",fill:"none",fillRule:"evenodd"},i.default.createElement("g",{transform:"translate(-5.000000, -6.192388)",fill:"#000000"},i.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=()=>i.default.createElement("svg",{width:"24px",height:"36px",viewBox:"0 0 24 36",version:"1.1",xmlns:"http://www.w3.org/2000/svg"},i.default.createElement("g",{stroke:"none",strokeWidth:"1",fill:"none",fillRule:"evenodd"},i.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=()=>i.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"},i.default.createElement("g",{stroke:"none",strokeWidth:"1",fill:"none",fillRule:"evenodd"},i.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=()=>i.default.createElement("svg",{width:"16px",height:"24px",viewBox:"0 0 16 24",version:"1.1",xmlns:"http://www.w3.org/2000/svg"},i.default.createElement("g",{stroke:"none",strokeWidth:"1",fill:"none",fillRule:"evenodd"},i.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=()=>i.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"},i.default.createElement("g",{stroke:"none",strokeWidth:"1",fill:"none",fillRule:"evenodd"},i.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) "})))},2900(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n,i=function(e){if("function"==typeof WeakMap){var t=new WeakMap;new WeakMap}return function(e){if(e&&e.__esModule)return e;var r,n,i={__proto__:null,default:e};if(null===e||"object"!=typeof e&&"function"!=typeof e)return i;if(r=t){if(r.has(e))return r.get(e);r.set(e,i)}for(const t in e)"default"!==t&&{}.hasOwnProperty.call(e,t)&&((n=(r=Object.defineProperty)&&Object.getOwnPropertyDescriptor(e,t))&&(n.get||n.set)?r(i,t,n):i[t]=e[t]);return i}(e)}(r(64012)),o=(n=r(21101))&&n.__esModule?n:{default:n},a=r(98712);t.default=function(e){var t;const r=(null===(t=e.spine)||void 0===t?void 0:t.length)??0,n=(0,i.useMemo)(()=>({chapter:{prev:e=>!(e.currentSpineItemIndex<1)&&(e.uiOptions.navigation.footer_icons.chapter||o.default.isVerticallyScrolling(e)),next:e=>{var t;const r=(null===(t=e.spine)||void 0===t?void 0:t.length)??0;return!(e.currentSpineItemIndex>=r-1)&&(e.uiOptions.navigation.footer_icons.chapter||o.default.isVerticallyScrolling(e))}},page:{prev:e=>!o.default.isVerticallyScrolling(e)&&e.uiOptions.navigation.footer_icons.page&&(0!==e.currentSpineItemIndex||0!==e.spreadIndex),next:e=>{var t;const r=(null===(t=e.spine)||void 0===t?void 0:t.length)??0;return!o.default.isVerticallyScrolling(e)&&e.uiOptions.navigation.footer_icons.page&&(e.currentSpineItemIndex!==r-1||e.spreadIndex!==e.lastSpreadIndex)}}}),[e.currentSpineItemIndex,e.uiOptions.navigation.footer_icons.chapter,r,e.uiOptions.navigation.footer_icons.page,e.spreadIndex,e.lastSpreadIndex]);return e.spine?i.default.createElement("footer",{className:"bber-controls__footer"},i.default.createElement("nav",{className:"bber-nav"},i.default.createElement("ul",{className:"bber-ul"},i.default.createElement("li",{className:"bber-li"},n.chapter.prev(e)&&i.default.createElement("button",{className:"bber-button bber-nav__button",onClick:e.goToPrevChapter},i.default.createElement(a.ChapterPrevious,null))),i.default.createElement("li",{className:"bber-li"},n.page.prev(e)&&i.default.createElement("button",{className:"bber-button bber-nav__button bber-nav__button--page-prev",onClick:e.goToPrevPage},i.default.createElement(a.PagePrevious,null))),i.default.createElement("li",{className:"bber-li"},n.page.next(e)&&i.default.createElement("button",{className:"bber-button bber-nav__button bber-nav__button--page-next",onClick:e.goToNextPage},i.default.createElement(a.PageNext,null))),i.default.createElement("li",{className:"bber-li"},n.chapter.next(e)&&i.default.createElement("button",{className:"bber-button bber-nav__button",onClick:e.goToNextChapter},i.default.createElement(a.ChapterNext,null)))))):null}},72622(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.NavigationHeader=u,t.default=void 0;var n=s(r(55530)),i=s(r(64012)),o=r(89093),a=r(98712);function s(e){return e&&e.__esModule?e:{default:e}}function u(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;const{showSidebar:s,downloads:u,spine:l,currentSpineItemIndex:c,navigateToChapterByURL:d,metadata:f}=e,{toc:p,home:h,info:m,downloads:g}=e.uiOptions.navigation.header_icons;return i.default.createElement("header",{className:"bber-controls__header"},i.default.createElement("nav",{className:"bber-nav"},i.default.createElement("ul",{className:"bber-ul"},i.default.createElement("li",{className:"bber-li bber-li-home"},h&&i.default.createElement("button",{className:"bber-button bber-nav__button",onClick:e.destroyReaderComponent},i.default.createElement(a.Home,null))),i.default.createElement("li",{className:"bber-li"},i.default.createElement("ul",{className:"bber-ul"},p&&i.default.createElement("li",{className:"bber-li bber-li-toc"},i.default.createElement("button",{className:(0,n.default)("bber-button","bber-nav__button",{"bber-nav__button--open":"chapters"===s}),onClick:()=>e.handleSidebarButtonClick("chapters")},"chapters"===s?i.default.createElement(a.Close,null):i.default.createElement(a.Menu,null)),i.default.createElement(o.SidebarChapters,{showSidebar:s,spine:l,currentSpineItemIndex:c,navigateToChapterByURL:d})),g&&u.length>0&&i.default.createElement("li",{className:"bber-li bber-li-downloads"},i.default.createElement("button",{className:(0,n.default)("bber-button","bber-nav__button",{"bber-nav__button--open":"downloads"===s}),onClick:()=>e.handleSidebarButtonClick("downloads")},"downloads"===s?i.default.createElement(a.Close,null):i.default.createElement(a.Download,null)),i.default.createElement(o.SidebarDownloads,{showSidebar:s,downloads:u})),!1,m&&i.default.createElement("li",{className:"bber-li bber-li-info"},i.default.createElement("button",{className:(0,n.default)("bber-button","bber-nav__button",{"bber-nav__button--open":"metadata"===s}),onClick:()=>e.handleSidebarButtonClick("metadata")},"metadata"===s?i.default.createElement(a.Close,null):i.default.createElement(a.Info,null)),i.default.createElement(o.SidebarMetadata,{showSidebar:s,metadata:f})))))))}t.default=u},4549(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"NavigationFooter",{enumerable:!0,get:function(){return i.default}}),Object.defineProperty(t,"NavigationHeader",{enumerable:!0,get:function(){return n.default}});var n=o(r(72622)),i=o(r(2900));function o(e){return e&&e.__esModule?e:{default:e}}},63332(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=k(r(64012)),i=r(40299),o=r(43275),a=x(r(29475)),s=x(r(3803)),u=x(r(17160)),l=x(r(77938)),c=x(r(9645)),d=x(r(96485)),f=x(r(83351)),p=x(r(30514)),h=x(r(50088)),m=x(r(21101)),g=r(51966),y=k(r(2824)),b=k(r(76957)),v=k(r(28334)),S=k(r(14324)),w=k(r(26e3)),E=r(79100),_=r(81422),O=r(75289);function x(e){return e&&e.__esModule?e:{default:e}}function k(e,t){if("function"==typeof WeakMap)var r=new WeakMap,n=new WeakMap;return(k=function(e,t){if(!t&&e&&e.__esModule)return e;var i,o,a={__proto__:null,default:e};if(null===e||"object"!=typeof e&&"function"!=typeof e)return a;if(i=t?n:r){if(i.has(e))return i.get(e);i.set(e,a)}for(const t in e)"default"!==t&&{}.hasOwnProperty.call(e,t)&&((o=(i=Object.defineProperty)&&Object.getOwnPropertyDescriptor(e,t))&&(o.get||o.set)?i(a,t,o):a[t]=e[t]);return a})(e,t)}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 T(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){A(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 A(e,t,r){return(t=function(e){var t=function(e){if("object"!=typeof e||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var r=t.call(e,"string");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function C(){return n.default.createElement("div",{key:"book-content"},O.book.content)}t.default=(0,o.connect)(({readerSettings:e,viewerSettings:t,readerLocation:r,view:n,userInterface:i})=>({readerSettings:e,viewerSettings:t,readerLocation:r,view:n,userInterface:i}),e=>({viewerSettingsActions:(0,i.bindActionCreators)(b,e),readerSettingsActions:(0,i.bindActionCreators)(v,e),readerLocationActions:(0,i.bindActionCreators)(S,e),viewActions:(0,i.bindActionCreators)(y,e),userInterfaceActions:(0,i.bindActionCreators)(w,e)}))(function(e){const[t,r]=(0,n.useState)({__metadata:[],__spine:[],__guide:[],opsURL:"",spine:[],guide:[],metadata:[],spineItemURL:"",currentSpineItem:null,currentSpineItemIndex:0,cache:e.cache,spreadIndex:0,chapterDelta:0,relativeSpreadPosition:0,firstChapter:!1,lastChapter:!1,firstSpread:!1,lastSpread:!1,showSidebar:null,disableMobileResizeEvents:"ontouchstart"in document.documentElement}),i=(0,n.useRef)(t);i.current=t;const o=(0,n.useRef)(e);o.current=e;const y=(0,n.useRef)([]);(0,n.useEffect)(()=>{0!==y.current.length&&y.current.splice(0).forEach(e=>null==e?void 0:e())});const b=(0,n.useCallback)((e,t)=>{t&&y.current.push(t),r(t=>{const r="function"==typeof e?e(t):T(T({},t),e);return i.current=r,r})},[]),v=(0,n.useCallback)(()=>{b({showSidebar:null})},[b]),S=(0,n.useCallback)(()=>{o.current.viewActions.updateLastSpreadIndex(-1),o.current.userInterfaceActions.update({handleEvents:!1,enableTransitions:!1,spinnerVisible:!0}),b({showSidebar:null})},[b]),w=(0,n.useCallback)(e=>{b(t=>T(T({},t),{},{showSidebar:e===t.showSidebar?null:e}))},[b]),x=(0,n.useCallback)(e=>{const t=(0,g.unlessDefined)(e,i.current.spreadIndex),{width:r,paddingLeft:n,paddingRight:a,columnGap:s}=o.current.viewerSettings;let u=0;return m.default.isVerticallyScrolling(o.current.readerSettings)||(u=(r-n-a+s)*t*-1,u=0===u&&-1===Math.sign(1/u)?0:u),u},[]),k=(0,n.useCallback)(()=>{o.current.readerSettingsActions.updateSettings({bookURL:""})},[]),P=(0,n.useCallback)(()=>{var e;const{spine:t,currentSpineItemIndex:r}=i.current;return(0,u.default)(r)&&null!=t&&null!==(e=t[r])&&void 0!==e&&e.slug?t[r].slug:""},[]),A=(0,n.useRef)(null),L=(0,n.useRef)(null);if(!A.current){const e={get state(){return i.current},get props(){return o.current},get resizeEndTimer(){return L.current},set resizeEndTimer(e){L.current=e},setState:(e,t)=>b(e,t),closeSidebars:()=>v(),freeze:()=>S(),handleSidebarButtonClick:e=>w(e),getTranslateX:e=>x(e),destroyReaderComponent:()=>k(),getSlug:()=>P()};e.createStateFromOPF=O.createStateFromOPF.bind(e),e.showSpineItem=O.showSpineItem.bind(e),e.loadSpineItem=O.loadSpineItem.bind(e),e.updateQueryString=E.updateQueryString.bind(e),e.savePosition=E.savePosition.bind(e),e.handlePageNavigation=E.handlePageNavigation.bind(e),e.handleChapterNavigation=E.handleChapterNavigation.bind(e),e.navigateToSpreadByIndex=E.navigateToSpreadByIndex.bind(e),e.navigateToElementById=E.navigateToElementById.bind(e),e.navigateToChapterByURL=E.navigateToChapterByURL.bind(e),e.getSpineItemByAbsoluteUrl=E.getSpineItemByAbsoluteUrl.bind(e),e.handleResize=_.handleResize.bind(e),e.handleResizeStart=_.handleResizeStart.bind(e),e.handleResizeEnd=_.handleResizeEnd.bind(e),e.bindResizeHandlers=_.bindResizeHandlers.bind(e),e.unbindResizeHandlers=_.unbindResizeHandlers.bind(e),e.handleResizeStart=(0,s.default)(e.handleResizeStart,1e3,{leading:!0,trailing:!1}),e.handleResizeEnd=(0,s.default)(e.handleResizeEnd,1e3,{leading:!1,trailing:!0}),A.current=e}const I=(0,n.useRef)(!1);(0,n.useEffect)(()=>{I.current||(I.current=!0,o.current.userInterfaceActions.update({spinnerVisible:!0,handleEvents:!1}),A.current.createStateFromOPF(()=>{const{spine:e}=i.current,{readerSettings:t,readerLocation:r}=o.current,n=new URLSearchParams(r.searchParams),a=Number(n.get(t.searchParamKeys.currentSpineItemIndex)),s=e[a];s?b({currentSpineItem:s,currentSpineItemIndex:a,spreadIndex:0},()=>A.current.loadSpineItem(s)):A.current.loadSpineItem()}))},[]),(0,n.useEffect)(()=>(A.current.unbindResizeHandlers(),()=>{A.current.bindResizeHandlers();const e=f.default.createHash(o.current.readerSettings.bookURL);f.default.removeBookStyles(e)}),[]);const N=(0,n.useRef)(e.readerLocation.searchParams);(0,n.useEffect)(()=>{const t=N.current,r=e.readerLocation.searchParams;if(N.current=r,r===t)return;const n=p.default.parseQueryString(r),{searchParamKeys:s}=o.current.readerSettings,u=n[s.slug],l=Number(n[s.currentSpineItemIndex]),c=Number(n[s.spreadIndex]),d=p.default.parseQueryString(t)[s.slug];var f;if(d&&u&&d!==u){if((null===(f=i.current.currentSpineItem)||void 0===f?void 0:f.slug)!==u){const e=(0,a.default)(i.current.spine,{slug:u});A.current.loadSpineItem(e)}}else b({slug:u,currentSpineItemIndex:l,spreadIndex:c})},[e.readerLocation.searchParams]),(0,n.useEffect)(()=>{e.view.loaded&&e.view.lastSpreadIndex>-1&&i.current.chapterDelta<0&&b({chapterDelta:0},()=>A.current.navigateToSpreadByIndex(o.current.view.lastSpreadIndex))},[e.view.loaded,e.view.lastSpreadIndex]);const j=(0,n.useMemo)(()=>({lastSpread:t.lastSpread,spreadIndex:t.spreadIndex,getTranslateX:x,navigateToChapterByURL:A.current.navigateToChapterByURL,getSpineItemByAbsoluteUrl:A.current.getSpineItemByAbsoluteUrl}),[t.lastSpread,t.spreadIndex,x]),{downloads:R,uiOptions:D,view:M,layout:U,style:B,className:F}=e,{metadata:q,guide:W,spine:H,currentSpineItemIndex:V,showSidebar:z,spreadIndex:G,spineItemURL:K}=t,$=P();return n.default.createElement(l.default,{guide:W,spine:H,currentSpineItemIndex:V,metadata:q,showSidebar:z,spreadIndex:G,lastSpreadIndex:M.lastSpreadIndex,handlePageNavigation:A.current.handlePageNavigation,destroyReaderComponent:k,handleChapterNavigation:A.current.handleChapterNavigation,handleSidebarButtonClick:w,navigateToChapterByURL:A.current.navigateToChapterByURL,downloads:R,uiOptions:D,layout:U},n.default.createElement(h.default.Provider,{value:j},n.default.createElement(c.default,{slug:$,spreadIndex:G,lastSpreadIndex:M.lastSpreadIndex,BookContent:C,layout:U,view:M,style:B,className:F,spineItemURL:K}),n.default.createElement(d.default,null)))})},75289(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.book=void 0,t.createStateFromOPF=async function(e){const{bookURL:t}=this.props.readerSettings,r=a.default.opfURL(t),n=a.default.opsURL(t);let o,s,u;o=await i.default.getText(r),o=await a.default.parseOPF(o),o=await a.default.parseNCX(o,n),[s,u]=await Promise.all([a.default.createGuideItems(o),a.default.createSpineItems(o)]),o=l(l({},s),u),[s,u]=await Promise.all([a.default.udpateGuideItemURLs(o,n),a.default.udpateSpineItemURLs(o,n)]),o=l(l({},s),u),o=await a.default.createBookMetadata(o),this.setState(l({opsURL:n},o),e)},t.loadSpineItem=async function(e,t){const r=n.default.createHash(this.props.readerSettings.bookURL);let s,u=e;if(u||([u]=this.state.spine),!u)return void console.warn("loadSpineItem: called before spine was populated — skipping");this.freeze();try{const{cache:e,opsURL:t}=this.state,{data:n,request:o}=await i.default.getText(u.absoluteURL);s=await a.default.parseSpineItemResponse({data:n,hash:r,cache:e,opsURL:t,request:o,requestedSpineItem:u,paddingLeft:this.props.viewerSettings.paddingLeft,columnGap:this.props.viewerSettings.columnGap})}catch(e){console.error(e);const t=o.default.get()||{};return delete t[r],o.default.set(t),void this.props.userInterfaceActions.update({handleEvents:!0,spinnerVisible:!1})}const{bookContent:l,scopedCSS:c}=s;d.content=l,n.default.appendBookStyles(c,r),this.setState({currentSpineItem:u,spineItemURL:u.absoluteURL},()=>{this.updateQueryString(()=>{this.showSpineItem()})})},t.showSpineItem=function(){const{spine:e,spreadIndex:t,currentSpineItemIndex:r}=this.state,{lastSpreadIndex:n}=this.props.view;if(!e)return console.warn("showSpineItem: spine is not in state");const i=0===r,o=r===e.length-1,a=0===t,s=t===n;this.setState({firstChapter:i,lastChapter:o,firstSpread:a,lastSpread:s},()=>{this.savePosition()})};var n=s(r(83351)),i=s(r(65314)),o=s(r(20562)),a=s(r(59605));function s(e){return e&&e.__esModule?e:{default: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 l(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=function(e){var t=function(e){if("object"!=typeof e||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var r=t.call(e,"string");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const d=t.book={content:null}},79100(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getSpineItemByAbsoluteUrl=function(e){const{spine:t}=this.state,r=new window.URL(e),i=`${r.origin}${r.pathname}`;return(0,n.default)(t,{absoluteURL:i})},t.handleChapterNavigation=function(e){let{currentSpineItemIndex:t}=this.state;const{spine:r}=this.state,n=t+e,i=n<0,o=n>r.length-1;if(i||o)return void this.setState({firstChapter:i,lastChapter:o});t=n;const a=r[n];this.setState({spreadIndex:0,currentSpineItem:a,currentSpineItemIndex:t,showSidebar:null,firstChapter:i,lastChapter:o,spreadDelta:e,chapterDelta:e},()=>{this.loadSpineItem(a),this.savePosition()})},t.handlePageNavigation=function(e){let{spreadIndex:t}=this.state;const{lastSpreadIndex:r}=this.props.view,n=t+e;if(n>r||n<0){const t=Math.sign(e);return void this.handleChapterNavigation(t)}const i=0===n,o=n===r,a=n>t?1:-1;t=n,this.setState({spreadIndex:t,firstSpread:i,lastSpread:o,spreadDelta:a,showSidebar:null},()=>{this.updateQueryString()})},t.navigateToChapterByURL=function(e){const{spine:t}=this.state,r=new window.URL(e),i=`${r.origin}${r.pathname}`,o=(0,n.default)(t,{absoluteURL:i});if(o===this.state.currentSpineItemIndex)return this.closeSidebars();if(o<0)return void console.warn(`No spine item found for ${i}`);const a=t[o];this.props.userInterfaceActions.disablePageTransitions(),this.setState({currentSpineItem:a,currentSpineItemIndex:o,spreadIndex:0},()=>{this.loadSpineItem(a),this.savePosition()})},t.navigateToElementById=function(e){const t=document.querySelector(e);if(!t)return console.warn(`Could not find element ${e}`);if(o.default.isVerticallyScrolling(this.props.readerSettings)){const e=25,r=document.querySelector(".bber-controls__header").offsetHeight+e,n=t.offsetTop-r;document.getElementById("frame").scrollTo(0,n)}const{paddingTop:r,paddingBottom:n,columnGap:i}=this.props.viewerSettings,a=window.innerHeight,s=Math.round(a-r-n),u=t.offsetLeft-i,l=Math.floor(u/s/2);this.setState({spreadIndex:l},this.updateQueryString)},t.navigateToSpreadByIndex=function(e){this.setState({spreadIndex:e},this.updateQueryString)},t.savePosition=function(){const{currentSpineItemIndex:e,spreadIndex:t}=this.state,{searchParamKeys:r}=this.props.readerSettings,n=new URLSearchParams;n.set(r.currentSpineItemIndex,e),n.set(r.spreadIndex,t);const i={searchParams:n.toString()};this.props.readerLocationActions.updateLocalStorage(i)},t.updateQueryString=function(e){const{spreadIndex:t,currentSpineItem:r,currentSpineItemIndex:n}=this.state;if(!r)return;const{slug:o}=r,{searchParams:a}=this.props.readerLocation,s=new window.URLSearchParams(a);s.set(i.default.queryStringKey(this.props.readerSettings.searchParamKeys.slug),i.default.queryStringValue(o)),s.set(i.default.queryStringKey(this.props.readerSettings.searchParamKeys.currentSpineItemIndex),i.default.queryStringValue(n)),s.set(i.default.queryStringKey(this.props.readerSettings.searchParamKeys.spreadIndex),i.default.queryStringValue(t));const u={searchParams:s.toString()};this.props.readerLocationActions.updateLocation(u),e&&e()};var n=a(r(15447)),i=a(r(30514)),o=a(r(21101));function a(e){return e&&e.__esModule?e:{default:e}}},81422(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;const e=new i.ViewerSettings,t=o.default.isVerticallyScrolling(this.props.readerSettings);e.width=window.innerWidth,e.height=t?"auto":window.innerHeight,this.props.viewerSettingsActions.update(e.get())},t.handleResizeEnd=function(){if(this.state.disableMobileResizeEvents)return;const{relativeSpreadPosition:e}=this.state,{lastSpreadIndex:t}=this.props.view;let r=Math.round(t*e);r=Math.max(0,Math.min(r,t)),this.navigateToSpreadByIndex(r)},t.handleResizeStart=function(){if(this.state.disableMobileResizeEvents)return;this.freeze();const{spreadIndex:e}=this.state,{lastSpreadIndex:t}=this.props.view;let r=0;e>0&&t>0&&(r=e/t),this.setState({relativeSpreadPosition:r},()=>{})},t.unbindResizeHandlers=function(){window.addEventListener("resize",this.handleResize),window.addEventListener("resize",this.handleResizeStart),window.addEventListener("resize",this.handleResizeEnd),document.addEventListener("webkitfullscreenchange mozfullscreenchange fullscreenchange",this.handleResizeStart),document.addEventListener("webkitfullscreenchange mozfullscreenchange fullscreenchange",this.handleResizeEnd)};var n,i=r(1228),o=(n=r(21101))&&n.__esModule?n:{default:n}},65637(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=s(r(64012)),i=s(r(55530)),o=r(43275),a=s(r(24144));function s(e){return e&&e.__esModule?e:{default:e}}function u(e){const{current:t,items:r}=e,o=e.depth||0,a=r.filter(e=>e.depth===o&&e.inTOC);return n.default.createElement("ol",{className:"bber-ol"},a.map((r,a)=>n.default.createElement("li",{className:"bber-li",key:r.id},n.default.createElement("button",{onClick:()=>e.navigateToChapterByURL(r.absoluteURL),className:(0,i.default)(`bber-button bber-indent--${o+1}`,{"bber-chapter--current":t===r.id})},r.title||`Chapter ${o}.${a}`),r.children.length>0&&n.default.createElement(u,{current:t,items:r.children,depth:o+1,navigateToChapterByURL:e.navigateToChapterByURL}))))}t.default=(0,o.connect)(({readerSettings:e})=>({readerSettings:e}))(function(e){if(e.readerSettings.SidebarChapters)return e.readerSettings.SidebarChapters(e);if("chapters"!==e.showSidebar)return null;const[t,r]=(0,a.default)();return n.default.createElement("nav",{ref:t,style:{maxHeight:r},className:(0,i.default)("bber-nav","bber-controls__sidebar","bber-controls__sidebar__chapters","bber-controls__sidebar__chapters--open")},n.default.createElement(u,{items:[...e.spine],current:(e.spine[e.currentSpineItemIndex||0]||{}).id,navigateToChapterByURL:e.navigateToChapterByURL}))})},57976(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=s(r(64012)),i=r(43275),o=s(r(55530)),a=s(r(24144));function s(e){return e&&e.__esModule?e:{default:e}}function u({url:e,label:t,description:r}){return n.default.createElement("li",{className:"bber-li"},n.default.createElement("a",{className:"bber-a",download:!0,href:e,onClick:()=>{}},n.default.createElement("div",{className:"bber-downloads__title"},t),r&&n.default.createElement("div",{className:"bber-downloads__description"},r)))}t.default=(0,i.connect)(({readerSettings:e})=>({readerSettings:e}))(function(e){if(e.readerSettings.SidebarDownloads)return e.readerSettings.SidebarDownloads(e);if("downloads"!==e.showSidebar)return null;const[t,r]=(0,a.default)();return n.default.createElement("nav",{ref:t,style:{maxHeight:r},className:(0,o.default)("bber-nav","bber-controls__sidebar","bber-controls__sidebar__downloads","bber-controls__sidebar__downloads--open")},n.default.createElement("ul",{className:"bber-ul"},e.downloads.map(e=>n.default.createElement(u,{key:e.url,url:e.url,label:e.label,description:e.description}))))})},52356(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=s(r(64012)),i=s(r(55530)),o=r(43275),a=s(r(24144));function s(e){return e&&e.__esModule?e:{default:e}}t.default=(0,o.connect)(({readerSettings:e})=>({readerSettings:e}))(function(e){if(e.readerSettings.SidebarMetadata)return e.readerSettings.SidebarMetadata(e);if("metadata"!==e.showSidebar)return null;const[t,r]=(0,a.default)();return n.default.createElement("nav",{ref:t,style:{maxHeight:r},className:(0,i.default)("bber-nav","bber-controls__sidebar","bber-controls__sidebar__metadata","bber-controls__sidebar__metadata--open")},n.default.createElement("dl",{className:"bber-dl"},Object.entries(e.metadata).map(([e,t])=>e&&t?n.default.createElement("div",{key:e},n.default.createElement("dt",{className:"bber-dt"},e),n.default.createElement("dd",{className:"bber-dd"},t)):null)))})},34196(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=o(r(64012)),i=o(r(55530));function o(e){return e&&e.__esModule?e:{default:e}}function a(e,t,r){return(t=function(e){var t=function(e){if("object"!=typeof e||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var r=t.call(e,"string");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}class s extends n.default.Component{constructor(e){super(e),a(this,"handleFontSizeIncrement",()=>this.handleFontSizeChange(1)),a(this,"handleFontSizeDecrement",()=>this.handleFontSizeChange(-1)),a(this,"handleFontSizeChange",e=>{const{fontSizeMin:t,fontSizeMax:r,fontSizeStep:n}=this.state;let{fontSize:i}=this.state;i=parseInt(i,10),i=n*e+i,i<t||i>r||(this.setState({fontSize:i}),this.props.update({fontSize:i}),this.props.save())}),a(this,"handleOnChange",e=>this.setState({fontSize:e.target.value})),a(this,"handleOnBlur",()=>{const{fontSizeMin:e,fontSizeMax:t}=this.state;let{fontSize:r}=this.state;r=10*Math.round(.1*r),r<e||r>t||r%10!=0||(this.setState({fontSize:r}),this.props.update({fontSize:r}),this.props.save())}),this.state={fontSize:parseInt(this.props.viewerSettings.fontSize,10),fontSizeMin:50,fontSizeMax:250,fontSizeStep:10}}UNSAFE_componentWillReceiveProps(e){const{fontSize:t}=e.viewerSettings;t!==this.state.fontSize&&this.setState({fontSize:t})}render(){const{fontSize:e,fontSizeMin:t,fontSizeMax:r,fontSizeStep:o}=this.state;return n.default.createElement("nav",{className:(0,i.default)("bber-controls__sidebar","bber-controls__sidebar__settings",{"bber-controls__sidebar__settings--open":"settings"===this.props.showSidebar})},n.default.createElement("fieldset",{className:"bber-settings__items"},n.default.createElement("div",{className:"bber-settings__item bber-settings__item--font-size"},n.default.createElement("label",{htmlFor:"fontSize"},"Font Size"),n.default.createElement("div",{className:"bber-settings__item__button-group bber-settings__item__button-group--horizontal"},n.default.createElement("button",{onClick:this.handleFontSizeDecrement},"-"),n.default.createElement("span",null,e,"%"),n.default.createElement("input",{id:"fontSize",type:"number",value:e,min:t,max:r,step:o,onChange:this.handleOnChange,onBlur:this.handleOnBlur}),n.default.createElement("button",{onClick:this.handleFontSizeIncrement},"+")))))}}t.default=s},89093(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"SidebarChapters",{enumerable:!0,get:function(){return o.default}}),Object.defineProperty(t,"SidebarDownloads",{enumerable:!0,get:function(){return i.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=s(r(52356)),i=s(r(57976)),o=s(r(65637)),a=s(r(34196));function s(e){return e&&e.__esModule?e:{default:e}}},96485(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=a(r(64012)),i=a(r(55530)),o=r(43275);function a(e){return e&&e.__esModule?e:{default:e}}t.default=(0,o.connect)(({userInterface:e})=>({userInterface:e}),()=>({}))(function(e){return n.default.createElement("div",{className:(0,i.default)("bber-spinner",{"bber-spinner--visible":e.userInterface.spinnerVisible})},n.default.createElement("div",{className:"bber-spinner__detail"}))})},56457(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=function(e){if("function"==typeof WeakMap){var t=new WeakMap;new WeakMap}return function(e){if(e&&e.__esModule)return e;var r,n,i={__proto__:null,default:e};if(null===e||"object"!=typeof e&&"function"!=typeof e)return i;if(r=t){if(r.has(e))return r.get(e);r.set(e,i)}for(const t in e)"default"!==t&&{}.hasOwnProperty.call(e,t)&&((n=(r=Object.defineProperty)&&Object.getOwnPropertyDescriptor(e,t))&&(n.get||n.set)?r(i,t,n):i[t]=e[t]);return i}(e)}(r(64012)),i=r(43275),o=u(r(47236)),a=u(r(13465)),s=u(r(21101));function u(e){return e&&e.__esModule?e:{default:e}}function l(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){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?l(Object(r),!0).forEach(function(t){d(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):l(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function d(e,t,r){return(t=function(e){var t=function(e){if("object"!=typeof e||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var r=t.call(e,"string");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}t.default=(0,i.connect)(({readerSettings:e,viewerSettings:t})=>({readerSettings:e,viewerSettings:t}),()=>({}))(function(e){const t=(0,n.useRef)(null),[r,i]=(0,n.useState)(!0),[u,l]=(0,n.useState)(0),[d,f]=(0,n.useState)(0),[p,h]=(0,n.useState)(0),m=(0,n.useMemo)(()=>(Math.random()+1).toString(36).substring(7),[]),g=(0,n.useRef)(e.viewerSettings);g.current=e.viewerSettings,(0,n.useEffect)(()=>{const e=()=>{if(!t.current)return;const{paddingLeft:e,paddingRight:r,columnGap:n}=g.current,i=t.current.offsetLeft,o=(i-e)/(window.innerWidth-e-r+n),a=Math.round(2*o)/2;l(i),f(a)},r=new ResizeObserver(e);return t.current&&r.observe(t.current),e(),()=>r.disconnect()},[e.viewerSettings.paddingLeft,e.viewerSettings.paddingRight,e.viewerSettings.columnGap]),(0,n.useLayoutEffect)(()=>{const e=0===d||d%1==0,t=e?2:3;i(e),h(t)},[d]);const y=(0,n.useMemo)(()=>{let t=0;if(!s.default.isVerticallyScrolling(e.readerSettings)){const{paddingLeft:n,paddingRight:i,columnGap:o}=e.viewerSettings,a=window.innerWidth-n-i+o;t=r?Math.round(d)*a:(Math.floor(d)+1)*a}return{left:t,layout:e.layout}},[d,r,e.viewerSettings.paddingLeft,e.viewerSettings.paddingRight,e.viewerSettings.columnGap,e.layout]),b=(0,n.useMemo)(()=>"safari"!==a.default.name?{}:{WebkitColumnBreakBefore:"always",WebkitColumnBreakAfter:"always",WebkitColumnBreakInside:"avoid"},[a.default.name]),{height:v,paddingTop:S,paddingBottom:w}=e.viewerSettings,E=(v-S-w)*p;return n.default.createElement("div",{id:m,ref:t,style:c(c({},b),{},{height:E}),className:`bber-spread bber-spread-${r?"verso":"recto"} ${e.className||""}`,"data-marker-reference":e["data-marker-reference"]},n.default.createElement(o.default.Provider,{value:y},e.children))})},7929(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=function(e){if("function"==typeof WeakMap){var t=new WeakMap;new WeakMap}return function(e){if(e&&e.__esModule)return e;var r,n,i={__proto__:null,default:e};if(null===e||"object"!=typeof e&&"function"!=typeof e)return i;if(r=t){if(r.has(e))return r.get(e);r.set(e,i)}for(const t in e)"default"!==t&&{}.hasOwnProperty.call(e,t)&&((n=(r=Object.defineProperty)&&Object.getOwnPropertyDescriptor(e,t))&&(n.get||n.set)?r(i,t,n):i[t]=e[t]);return i}(e)}(r(64012)),i=a(r(47236)),o=a(r(50088));function a(e){return e&&e.__esModule?e:{default:e}}t.default=e=>{const t=(0,n.useContext)(o.default);return n.default.createElement(i.default.Consumer,null,({left:r})=>{const i=Math.abs(t.getTranslateX()),o=Math.floor(r),a=window.innerWidth/2,s=i===o?0:i>o?-1*a:a;return n.default.createElement("figure",{id:e.id,style:{left:o,marginLeft:s},className:e.className||""},e.children)})}},76841(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=u(r(64012)),i=r(43275),o=r(40299),a=u(r(2824)),s=u(r(26e3));function u(e,t){if("function"==typeof WeakMap)var r=new WeakMap,n=new WeakMap;return(u=function(e,t){if(!t&&e&&e.__esModule)return e;var i,o,a={__proto__:null,default:e};if(null===e||"object"!=typeof e&&"function"!=typeof e)return a;if(i=t?n:r){if(i.has(e))return i.get(e);i.set(e,a)}for(const t in e)"default"!==t&&{}.hasOwnProperty.call(e,t)&&((o=(i=Object.defineProperty)&&Object.getOwnPropertyDescriptor(e,t))&&(o.get||o.set)?i(a,t,o):a[t]=e[t]);return a})(e,t)}t.default=(0,i.connect)(({view:e})=>({view:e}),e=>({userInterfaceActions:(0,o.bindActionCreators)(s,e),viewActions:(0,o.bindActionCreators)(a,e)}))(function({view:e,viewActions:t,userInterfaceActions:r,children:i}){const o=(0,n.useRef)(null),a=(0,n.useRef)(t);a.current=t;const s=(0,n.useRef)(r);s.current=r;const u=(0,n.useRef)(!1),l=(0,n.useRef)(null),c=(0,n.useRef)(null),d=(0,n.useRef)(0),f=()=>{if(!u.current)return;u.current=!1;const e=o.current,t=e?e.offsetLeft:0;a.current.load(),a.current.updateUltimateNodePosition({ultimateOffsetLeft:t}),s.current.update({handleEvents:!0,spinnerVisible:!1})},p=()=>{c.current=setTimeout(()=>{if(!u.current)return;if(Date.now()-d.current>=1500)return void f();const e=o.current;if(!e)return void p();const t=e.offsetLeft;t===l.current?f():(l.current=t,p())},100)},h=()=>{c.current&&(clearTimeout(c.current),c.current=null),u.current=!0,l.current=null,d.current=Date.now(),p()};(0,n.useEffect)(()=>(h(),()=>{c.current&&clearTimeout(c.current)}),[]);const m=(0,n.useRef)(e.loaded);return(0,n.useEffect)(()=>{const t=m.current;m.current=e.loaded,!0===t&&!1===e.loaded&&h()},[e.loaded]),n.default.createElement("span",{ref:o,className:"bber-ultimate"},i)})},28802(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"App",{enumerable:!0,get:function(){return f.default}}),Object.defineProperty(t,"Audio",{enumerable:!0,get:function(){return b.default}}),Object.defineProperty(t,"Controls",{enumerable:!0,get:function(){return n.default}}),Object.defineProperty(t,"Footnote",{enumerable:!0,get:function(){return c.default}}),Object.defineProperty(t,"Frame",{enumerable:!0,get:function(){return i.default}}),Object.defineProperty(t,"Iframe",{enumerable:!0,get:function(){return v.default}}),Object.defineProperty(t,"Layout",{enumerable:!0,get:function(){return a.default}}),Object.defineProperty(t,"Library",{enumerable:!0,get:function(){return d.default}}),Object.defineProperty(t,"Link",{enumerable:!0,get:function(){return o.default}}),Object.defineProperty(t,"Marker",{enumerable:!0,get:function(){return u.default}}),Object.defineProperty(t,"Reader",{enumerable:!0,get:function(){return l.default}}),Object.defineProperty(t,"Spinner",{enumerable:!0,get:function(){return p.default}}),Object.defineProperty(t,"Spread",{enumerable:!0,get:function(){return s.default}}),Object.defineProperty(t,"SpreadFigure",{enumerable:!0,get:function(){return h.default}}),Object.defineProperty(t,"Ultimate",{enumerable:!0,get:function(){return m.default}}),Object.defineProperty(t,"Video",{enumerable:!0,get:function(){return y.default}}),Object.defineProperty(t,"Vimeo",{enumerable:!0,get:function(){return g.default}});var n=S(r(77938)),i=S(r(9645)),o=S(r(80276)),a=S(r(46462)),s=S(r(56457)),u=S(r(90006)),l=S(r(63332)),c=S(r(74792)),d=S(r(6843)),f=S(r(70947)),p=S(r(96485)),h=S(r(7929)),m=S(r(76841)),g=S(r(32739)),y=S(r(33101)),b=S(r(49069)),v=S(r(70563));function S(e){return e&&e.__esModule?e:{default:e}}},39759(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.transitions=t.themes=t.layouts=t.columns=t.breakpoints=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_QUERY_DESKTOP=t.MEDIA_PLAYBACK_RATES=t.MEDIA_CONTROLS_PRESETS=t.DEFERRED_CALLBACK_TIMER=void 0,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.MEDIA_PLAYBACK_RATES={SLOW:.5,NORMAL:1,FAST:1.5},t.MEDIA_CONTROLS_PRESETS=new Set(["simple","normal","full"]),t.layouts={SCROLL:"scroll",COLUMNS:"columns"};const r=t.columns={ONE:"auto auto",TWO:"2 auto"},n=(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)"),i=t.MEDIA_QUERY_TABLET="only screen and (min-width: 768px) and (max-width: 1140px)",o=(t.MEDIA_QUERY_DESKTOP="only screen and (min-width: 1140px)",t.MEDIA_QUERY_DESKTOP_SM="only screen and (min-width: 1140px) and (max-width: 1140px)"),a=t.MEDIA_QUERY_DESKTOP_MD="only screen and (min-width: 1140px) and (max-width: 1440px)",s=t.MEDIA_QUERY_DESKTOP_LG="only screen and (min-width: 1440px) and (max-width: 1920px)",u=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)",t.breakpoints=new Map([[n,{maxWidth:"100%",maxHeight:"auto",columnGap:"45px",columns:r.ONE,paddingLeft:"15px",paddingRight:"15px",paddingTop:"55px",paddingBottom:"80px",fontSize:"clamp(140%, 1.5vw, 160%)"}],[i,{maxWidth:"738px",maxHeight:"auto",columnGap:"45px",columns:r.ONE,paddingLeft:0,paddingRight:0,paddingTop:"55px",paddingBottom:"80px",fontSize:"clamp(150%, 1.5vw, 160%)"}],[o,{maxWidth:"900px",maxHeight:"500px",columnGap:"45px",columns:r.TWO,paddingLeft:0,paddingRight:0,paddingTop:0,paddingBottom:0,fontSize:"137%"}],[a,{maxWidth:"1080px",maxHeight:"600px",columnGap:"65px",columns:r.TWO,paddingLeft:0,paddingRight:0,paddingTop:0,paddingBottom:0,fontSize:"130%"}],[s,{maxWidth:"1280px",maxHeight:"675px",columnGap:"80px",columns:r.TWO,paddingLeft:0,paddingRight:0,paddingTop:0,paddingBottom:0,fontSize:"150%"}],[u,{maxWidth:"1680px",maxHeight:"880px",columnGap:"125px",columns:r.TWO,paddingLeft:0,paddingRight:0,paddingTop:0,paddingBottom:0,fontSize:"195%"}]])},53676(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.UPDATE=void 0,t.UPDATE="UPDATE"},35710(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.LOCATION_UPDATE=void 0,t.LOCATION_UPDATE="LOCATION_UPDATE"},60376(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.SETTINGS_UPDATE=void 0,t.SETTINGS_UPDATE="SETTINGS_UPDATE"},20342(e,t){"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"},22294(e,t){"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"},27267(e,t){"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"},83351(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=u(r(79091)),i=u(r(83385)),o=u(r(28062)),a=u(r(25616)),s=r(17538);function u(e){return e&&e.__esModule?e:{default:e}}const l=(0,i.default)({quotes:"'"});t.default=class{static createHash(e){let t,r=0;const n=String(e);if(0===n.length)return String(r);for(let e=0;e<n.length;e++)t=n.charCodeAt(e),r=(r<<5)-r+t,r|=0;return r>>>=0,String(r)}static createId(){return`_${Math.random().toString(36).substr(2,9)}`}static appendBookStyles(e,t){const r=new window.Blob([e],{type:"text/css"}),n=document.createElement("link"),i=document.querySelector("head");n.rel="stylesheet",n.type="text/css",n.id=`_${t}`,n.href=window.URL.createObjectURL(r),i.appendChild(n)}static removeBookStyles(e){const t=document.querySelector(`#_${e}`);if(t){const e=t.getAttribute("href");e&&/^blob:/.test(e)&&window.URL.revokeObjectURL(e),t.parentNode.removeChild(t)}}static convertToReactAttrs(e){const t={};if(Object.entries(e).forEach(([e,r])=>{"playsinline"===e?t.playsInline=r:t[(0,n.default)(e)]=r}),!e||Object.keys(e).length<1)return t;if(!e.style)return t;const r={},i={moz:"Moz",webkit:"Webkit",o:"O"},u=/^-(moz|webkit|o)-/;return e.style.split(";").map(e=>{let[t,n]=e.split(":").map(e=>e.trim()),c=null;return t&&n?(c=t.match(u),c?(t=t.replace(u,`${i[c[1]]}-`),t=(0,a.default)(t),t=t[0].toUpperCase()+t.slice(1)):t=(0,a.default)(t),n=(0,s.isNumeric)(n)?l((0,o.default)(n)):n,r[t]=n,r):null}),t.style=r,t}}},65314(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n,i=(n=r(30514))&&n.__esModule?n:{default:n};class o{static async get(e,t){const r=await fetch(e),{ok:n,status:i,url:o}=r;return{data:await r[t](),request:{ok:n,status:i,url:o}}}static async getJson(e){return o.get(e,"json")}static async getText(e){return o.get(e,"text")}static getBooks(e=""){const t=`${i.default.stripTrailingSlash(e)}/api/books.json`;return o.getJson(t)}}t.default=o},20562(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;class r{static get(e=r.localStorageKey){let t="{}";try{t=window.localStorage.getItem(e)||t}catch(e){console.warn("window.localStorage is unavailable.")}return t=JSON.parse(t),t}static set(e,t=r.localStorageKey){let n=e;"string"!=typeof n&&(n=JSON.stringify(n));try{window.localStorage.setItem(t,n)}catch(e){console.warn("window.localStorage is unavailable")}}static clear(e=r.localStorageKey){if(String(e))try{window.localStorage.removeItem(e)}catch(e){console.warn("window.localStorage is unavailable")}}}var n,i,o;n=r,o="bber_reader",(i=function(e){var t=function(e){if("object"!=typeof e||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var r=t.call(e,"string");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}(i="localStorageKey"))in n?Object.defineProperty(n,i,{value:o,enumerable:!0,configurable:!0,writable:!0}):n[i]=o,t.default=r},17538(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isNumeric=t.isInt=t.isFloat=void 0;const r=e=>"number"==typeof e&&!1===Number.isNaN(e)&&!0===Number.isFinite(e);t.isNumeric=r,t.isInt=e=>r(e)&&e%1==0,t.isFloat=e=>r(e)&&e%1!=0},30514(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;const{decodeURI:r,encodeURI:n,encodeURIComponent:i,URLSearchParams:o}=window;class a{static slug(e){return String(e).toLowerCase().trim().replace(/[\s-]+/g,"-").replace(/[^\w-]+/g,"").replace(/-+/g,"-")}static queryStringKey(e){return i(e)}static queryStringValue(e){return i(e&&e.constructor===Array?JSON.stringify(e):e)}static buildQueryString(e){const t=[];return Object.entries(e).forEach(([e,r])=>t.push(`${a.queryStringKey(e)}=${a.queryStringValue(r)}`)),t.join("&")}static parseQueryString(e){const t=new o(e),r={};return t.forEach((e,t)=>r[t]=e),r}static ensureDecodedURL(e){let t=String(e);if(!t)return t;for(;t!==r(t);)t=r(t);return t}static isMailTo(e){return/^mailto:/.test(e)}static isRelative(e){return!1===/^http/.test(e)&&!1===a.isMailTo(e)}static stripTrailingSlash(e){return e.replace(/\/+$/,"")}static trimSlashes(e){return e.replace(/(^\/+|\/+$)/g,"")}static addTrailingSlash(e){return`${a.stripTrailingSlash(e)}/`}static addLeadingSlash(e){return`/${a.trimSlashes(e)}`}static trimFilenameFromResponse(e){let t=a.trimSlashes(e);return t=t.slice(0,t.lastIndexOf("/")),t}static resolveRelativeURL(e,t){if(!e||!t)return console.warn("Url#resolveRelativeURL: No 'url' or 'path' param provided",e,t),"/";const r=a.trimSlashes(t);let i=e;if(!0!==/^http/.test(i))return i=a.resolveRelativeURL(`${window.location.origin}${window.location.pathname}`,i),a.resolveRelativeURL(i,r);i=a.addTrailingSlash(e);let{href:o}=new window.URL(r,i);return o=a.ensureDecodedURL(o),n(o)}static toAbsoluteUrl(e,t){let r=`${a.stripTrailingSlash(e)}/${a.trimSlashes(t)}`;return r=a.ensureDecodedURL(r),n(r)}static resolveOverlappingURL(e,t){const r=new window.URL(e),i=a.trimSlashes(t).split("/"),{origin:o,pathname:s}=r,u=a.trimSlashes(s).split("/");u.pop();for(let e=u.length-1;e>=0;e--)u[e]===i[0]&&i.shift();const l=[...u,...i].join("/"),{href:c}=new window.URL(a.ensureDecodedURL(l),o);return n(c)}static stripQuery(e){return e.split("?")[0]}static stripHash(e){return e.split("#")[0]}static stripQueryAndHash(e){let t;return t=a.stripQuery(e),t=a.stripHash(e),t}static createPath(e){let t=String(e);return t&&"/"!==t?(t=a.ensureDecodedURL(t),t=a.stripQueryAndHash(t),t=t.split("/").filter(Boolean).join("/"),t=t.length?`/${t}/`:"/",t):"/"}static isExternal(e,t){if(a.isRelative(e))return!1;try{const{host:r}=new URL(e),{host:n}=new URL(t);return r!==n}catch(e){return console.error(e),!0}}}t.default=a},21101(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n,i=r(39759);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 a(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){s(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 s(e,t,r){return(t=function(e){var t=function(e){if("object"!=typeof e||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var r=t.call(e,"string");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}class u{}n=u,s(u,"isMediaQueryMobile",()=>window.matchMedia(i.MEDIA_QUERY_MOBILE).matches),s(u,"isMediaQueryTablet",()=>window.matchMedia(i.MEDIA_QUERY_TABLET).matches),s(u,"isMediaQueryDesktop",()=>window.matchMedia(i.MEDIA_QUERY_DESKTOP).matches),s(u,"isMinimumScrollingAspectRatio",()=>window.matchMedia(i.MEDIA_QUERY_MIN_SCROLLING_ASPECT_RATIO).matches),s(u,"isSingleColumn",()=>{const{css:e}=n.getCss();return e.columns===i.columns.ONE||n.isMinimumScrollingAspectRatio()}),s(u,"isVerticalScrollConfigured",e=>e===i.layouts.SCROLL),s(u,"isVerticallyScrolling",({layout:e})=>n.isSingleColumn()||n.isVerticalScrollConfigured(e)),s(u,"isTouch",()=>"ontouchstart"in window||window.navigator.msPointerEnabled||"ontouchstart"in document.documentElement),s(u,"isPixelValue",e=>"px"===(e||"").substring(e.length-2)),s(u,"isPercentageValue",e=>"%"===(e||"").substring(e.length-1)),s(u,"parseStringWidthValue",e=>{let t=0;return n.isPixelValue(e)?t=parseInt(e,10):n.isPercentageValue(e)?t=window.innerWidth*parseInt(e,10)/100:console.error("Unsupported value `%s`",e),t}),s(u,"parseStringHeightValue",e=>{let t=0;return n.isPixelValue(e)?t=parseInt(e,10):n.isPercentageValue(e)?t=window.innerHeight*parseInt(e,10)/100:console.error("Unsupported value `%s`",e),t}),s(u,"getHorizontalSpacing",e=>{if("auto"===e)return 0;const t=n.parseStringWidthValue(e);return(window.innerWidth-t)/2}),s(u,"getVerticalSpacing",e=>{if("auto"===e)return 0;let t=n.parseStringHeightValue(e);return t=(window.innerHeight-t)/2,t=Math.max(0,t),t}),s(u,"getCss",()=>{let e=i.MEDIA_QUERY_DESKTOP_MD,t=i.breakpoints.get(e);for(const[r,n]of i.breakpoints)if(window.matchMedia(r).matches){t=a({},n),e=r;break}return{css:t,mediaQuery:e}}),s(u,"getStyles",()=>{const{css:e}=n.getCss(),{maxWidth:t,maxHeight:r,columnGap:i,columns:o,paddingLeft:a,paddingRight:s,paddingTop:u,paddingBottom:l,fontSize:c}=e,d=n.getHorizontalSpacing(t),f=n.getVerticalSpacing(r);return{paddingLeft:d+parseInt(a,10),paddingRight:d+parseInt(s,10),paddingTop:f+parseInt(u,10),paddingBottom:f+parseInt(l,10),columnGap:parseInt(i,10),fontSize:c,columns:o}}),s(u,"styles",()=>n.getStyles()),t.default=u},59605(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=g(r(59268)),i=g(r(59974)),o=r(18082),a=g(r(29475)),s=function(e){if("function"==typeof WeakMap){var t=new WeakMap;new WeakMap}return function(e){if(e&&e.__esModule)return e;var r,n,i={__proto__:null,default:e};if(null===e||"object"!=typeof e&&"function"!=typeof e)return i;if(r=t){if(r.has(e))return r.get(e);r.set(e,i)}for(const t in e)"default"!==t&&{}.hasOwnProperty.call(e,t)&&((n=(r=Object.defineProperty)&&Object.getOwnPropertyDescriptor(e,t))&&(n.get||n.set)?r(i,t,n):i[t]=e[t]);return i}(e)}(r(78604)),u=g(r(80686)),l=g(r(16065)),c=g(r(90844)),d=g(r(30514)),f=g(r(65314)),p=r(1228),h=r(14672),m=g(r(62282));function g(e){return e&&e.__esModule?e:{default:e}}function y(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 b(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?y(Object(r),!0).forEach(function(t){v(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):y(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function v(e,t,r){return(t=function(e){var t=function(e){if("object"!=typeof e||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var r=t.call(e,"string");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}class S{static opfURL(e){let t=e;return t=d.default.stripTrailingSlash(t),t+="/OPS",t+="/content.opf",t=window.encodeURI(t),t}static opsURL(e){let t=e;return t=d.default.stripTrailingSlash(t),t+="/OPS",t=window.encodeURI(t),t}static parseOPF(e){return new Promise(t=>{const r=JSON.parse(n.default.xml2json(e.data)),{elements:i}=r.elements[0],o={};for(let e=0;e<i.length;e++)o[`__${i[e].name}`]=i[e];t(o)})}static parseNCX(e,t){const{__manifest:r,__spine:i}=e;return new Promise(o=>{const{toc:s}=i.attributes;if(!s)return void o(b(b({},e),{},{__ncx:null}));const u=(0,a.default)(r.elements,e=>e.attributes.id===s);if(!u)return void o(b(b({},e),{},{__ncx:null}));const{href:l}=u.attributes;f.default.getText(d.default.resolveRelativeURL(t,l)).then(({data:t})=>{o(b(b({},e),{},{__ncx:JSON.parse(n.default.xml2json(t))}))})})}static createSpineItems(e){const{__manifest:t,__spine:r,__ncx:n,__guide:i}=e;return new Promise(o=>{let s;if(s=r.elements.map(e=>{const{idref:r,linear:n}=e.attributes,o=(0,a.default)(t.elements,e=>e.attributes.id===r);if(!o||"yes"!==n)return null;const{id:s,href:u}=o.attributes,l=o.attributes["media-type"],c=o.attributes.properties?o.attributes.properties.split(" "):[],f=(0,a.default)(i.elements,e=>e.attributes.href===u);let h="",m="";return f&&(({title:h}=f.attributes),m=d.default.slug(h)),new p.SpineItem({id:s,href:u,mediaType:l,properties:c,idref:r,linear:n,title:h,slug:m})}),s=s.filter(Boolean),n){const{elements:e}=n.elements[0];(0,a.default)(e,{name:"navMap"}).elements.forEach(e=>S.parseNavPoints(s,t,e))}o(b(b({},e),{},{spine:s}))})}static createGuideItems(e){const{__guide:t}=e;return new Promise(r=>{if(!t.elements||!t.elements.length)return void r(b(b({},e),{},{guide:[]}));const n=t.elements.map(e=>{const{type:t,title:r,href:n}=e.attributes;return new p.GuideItem({type:t,title:r,href:n})});r(b(b({},e),{},{guide:n}))})}static udpateSpineItemURLs(e,t){return new Promise(r=>{const{spine:n}=e;n.map(e=>e.absoluteURL=d.default.resolveRelativeURL(t,e.href)),r(b(b({},e),{},{spine:n}))})}static udpateGuideItemURLs(e,t){return new Promise(r=>{const{guide:n}=e;n.map(e=>e.absoluteURL=d.default.resolveRelativeURL(t,e.href)),r(b(b({},e),{},{guide:n}))})}static parseNavPoints(e,t,r,n=0,i=null){const o=(0,a.default)(r.elements,{name:"content"});if(!o)return;let{src:s}=o.attributes;s=d.default.ensureDecodedURL(s);const u=(0,a.default)(t.elements,e=>d.default.ensureDecodedURL(e.attributes.href)===s);if(!u)return console.error(`Could not find manifest item: ${s}`);const{id:l}=u.attributes,c=(0,a.default)(e,{id:l});if(!c)return console.error(`Can not find spine item: ${l}`);const f=(0,a.default)(r.elements,{name:"navLabel"}),p=(0,a.default)(f.elements,{name:"text"}),h=(0,a.default)(p.elements,{type:"text"}).text,m=d.default.slug(h);c.title||c.set("title",h),c.slug||c.set("slug",m),c.set("depth",n),c.set("inTOC",!0),i&&i.addChild(c);const g=n+1;r.elements.forEach(r=>S.parseNavPoints(e,t,r,g,c))}static createBookMetadata(e){const{__metadata:t}=e,r=t.elements.filter(e=>/^dc:/.test(e.name)).map(e=>({[e.name.slice(3)]:e.elements[0].text}));return new Promise(t=>{const n=new p.BookMetadata({});r.forEach((e,t)=>{const o=Object.keys(r[t]);(0,i.default)(n,o)&&n.set(o,e[o])}),t(b(b({},e),{},{metadata:n}))})}static createScopedCSS(e,t,r){let n="";return e.forEach(({base:e,data:i})=>{const o=d.default.resolveRelativeURL(r,e),a=(0,u.default)(i);(0,l.default)(a,{enter:(e,r,n)=>{let i;const a=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(a)),"Url"===e.type&&(i=e.value.replace(/(?:^['"]+|['"]+$)/g,""),d.default.isRelative(i)&&(i=d.default.resolveRelativeURL(o,i),e.value=i))}}),n+=(0,c.default)(a)}),n}static async parseSpineItemResponse(e){const{url:t}=e.request,{hash:r,opsURL:n,paddingLeft:i,columnGap:a}=e,s=new o.Parser,u=new m.default({paddingLeft:i,columnGap:a,responseURL:t}),{xml:l,doc:c}=u.parseXML(e.data);let p;p=l.match(/<body[^>]*?>([\s\S]*)<\/body>/),p=p[1],p=p.replace(/>\s*?</g,"><");const g=s.parseWithInstructions(p,h.isValidNode,(0,h.processingInstructions)(e)),y=Array.from(c.querySelectorAll("link")),b=Array.from(c.querySelectorAll("style")),v=y.reduce((e,r)=>{if("stylesheet"!==r.rel)return e;const n=d.default.trimFilenameFromResponse(t),i=d.default.trimSlashes(r.getAttribute("href")),o=d.default.resolveRelativeURL(n,i);return e.concat({url:o,base:n})},[]).map(({url:e,base:t})=>new Promise(r=>{f.default.getText(e).then(e=>{r({base:t,data:e.data})})})),w=await Promise.all(v),E=b.reduce((e,r)=>{const{textContent:n}=r;if(!n)return e;const i=d.default.trimFilenameFromResponse(t);return e.concat({base:i,data:n})},w),_=`_${r}`;return{bookContent:g,scopedCSS:S.createScopedCSS(E,_,n)}}}t.default=S},78939(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.transformSearchParamsToProps=t.getURLAndQueryParamters=t.getPlayingStateOnUpdate=t.getPlayerPropsFromQueryString=void 0;var n=a(r(18757)),i=a(r(30514)),o=a(r(21101));function a(e){return e&&e.__esModule?e:{default:e}}t.getPlayerPropsFromQueryString=e=>i.default.parseQueryString(e),t.getURLAndQueryParamters=e=>e.split("?"),t.transformSearchParamsToProps=(e,t=[])=>{let r=e;t.length&&(r=(0,n.default)(e,t));const i=new Set(["true","1"]),o=new Set(["false","0"]),a=new Set([...i,...o]),s=Object.entries(r).reduce((e,[t,r])=>(e[t]=a.has(r)?i.has(r):r,e),{});return s.playsinline=!0,s},t.getPlayingStateOnUpdate=(e,t,r,n)=>{if(!e.autoplay)return!1;if(!t.view.loaded)return!1;let{currentSpreadIndex:i}=e;const{spreadIndex:a}=r,{spreadIndex:s}=n;return i!==s&&(i=s,{playing:a===s&&!o.default.isVerticallyScrolling(t.readerSettings),currentSpreadIndex:i})}},29778(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.stripSearchParams=t.hasSearchParams=t.getUrlParams=t.excludeSearchParams=t.ensureSearchParams=t.appendExternalParams=void 0;const r=e=>e instanceof URLSearchParams?e:new URLSearchParams(e);t.getUrlParams=r,t.hasSearchParams=(e,t)=>{if(!e)return!1;const n=r(e),{currentSpineItemIndex:i,spreadIndex:o}=t;let a=!0;return n.has(i)&&n.has(o)||(a=!1),a},t.stripSearchParams=(e,t)=>{const n=r(e),{currentSpineItemIndex:i,spreadIndex:o,slug:a}=t,s=new Set([i,o,a]);return n.forEach((e,t)=>{s.has(t)||n.delete(t)}),n},t.ensureSearchParams=(e,t)=>{const n=r(e),{currentSpineItemIndex:i,spreadIndex:o}=t;return n.has(i)||n.set(i,0),n.has(o)||n.set(o,0),n};const n=(e,t)=>{const n=r(e),{currentSpineItemIndex:i,spreadIndex:o,slug:a}=t;return n.delete(i),n.delete(o),n.delete(a),n};t.excludeSearchParams=n,t.appendExternalParams=(e,t)=>{const i=r(e),o=n(window.location.search,t);for(const[e,t]of o)i.set(e,t);return i}},51966(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.unlessDefined=t.rand=t.noop=t.mergeDeep=t.isBrowser=t.getControlsPreset=void 0;var n=h(r(55482)),i=h(r(64383)),o=h(r(5229)),a=h(r(59974)),s=h(r(29830)),u=h(r(45515)),l=h(r(41208)),c=h(r(31236)),d=h(r(98401)),f=h(r(13465)),p=r(39759);function h(e){return e&&e.__esModule?e:{default:e}}t.noop=()=>{},t.rand=()=>String(Math.random()).substring(2),t.unlessDefined=(...e)=>{let t;do{t=e.shift()}while((0,n.default)(t)&&e.length);return t};const m=(e,...t)=>{for(let r=0;r<t.length;r++)if((0,i.default)(t[r]))e=[...e||[],...t[r]];else if((0,o.default)(t[r]))for(const[n,i]of Object.entries(t[r]))(0,a.default)(t[r],n)&&(typeof e[n]!=typeof i?e[n]=i:e[n]=m(e[n],i));else e=t[r];return e};t.mergeDeep=m;const g=(()=>{const e={eq:s.default,gt:u.default,gte:l.default,lt:c.default,lte:d.default};return(t,r,n)=>e[t].call(null,r,n)})();t.isBrowser=(e,t="",r=0)=>{if(!f.default||f.default.name!==e)return!1;if(!t||!r)return!0;const[n]=f.default.version.split(".").map(Number);return g(t,n,r)},t.getControlsPreset=({controls:e})=>p.MEDIA_CONTROLS_PRESETS.has(e)?e:!(0,n.default)(e)},24144(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){const[e,t]=(0,n.useState)(0);return[(0,n.useCallback)(e=>{if(null===e)return void t(0);const{y:r}=e.getBoundingClientRect();t(window.innerHeight-r)},[window.innerHeight]),e]};var n=r(64012)},79019(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n,i=(n=r(29475))&&n.__esModule?n:{default:n},o=r(16354),a=r(1228),s=r(39759);const u={root:null,document:null,styleSheets:[],scripts:[],requestURI:""};class l{static setContextDocument(e){u.document=e}static setRootDocument(e){u.root=e}static setRequestURI(e){u.requestURI=e}static createStyleSheets(){u.styleSheets=[...u.styleSheets,new a.MediaStyleSheet({media:s.MEDIA_QUERY_SLIDING,styles:o.mediaSliding}),new a.MediaStyleSheet({media:s.MEDIA_QUERY_SCROLLING,styles:o.mediaScrolling})]}static appendStyleSheets(){u.styleSheets.forEach(e=>null===u.root.querySelector(`#${e.id}`)&&e.appendSheet(u.root))}static appendScripts(){u.scripts.forEach(e=>/(?:text|application)\/(?:(x-)?java|ecma)script/.test(e.type)&&e.appendScript(u.root))}static createScriptElements(){const e=Array.from(u.document.querySelectorAll("script")||[]),{requestURI:t,scripts:r}=u;return e?(u.scripts=e.map(e=>new a.Script({node:e,requestURI:t})),u.scripts):r}static removeScriptElements(){const e=u.document.querySelectorAll("script");for(let t=0;t<e.length;t++)e[t].parentNode.removeChild(e[t])}static getStyleSheetByMediaOrId({id:e,media:t}){if(!e&&!t)return console.warn("DocumentPreProcessor#updateStyleSheet requires either an `id` or a `media` parameter");let r;if(e)r=e;else if(t){const n=(0,i.default)(this.styleSheets,{media:t});if(!n)return console.warn("No styleSheet exists for provided `id` or `media`",e,t);r=n.id}const n=u.root.querySelector(`#${r}`);return n?{styleSheetElement:n,styleSheetId:r}:console.warn("No styleSheet exists for provided `id` or `media`",e,t)}static removeStyleSheet({id:e,media:t}){const{styleSheetElement:r}=l.getStyleSheetByMediaOrId({id:e,media:t});r.parentNode.removeChild(r),u.styleSheets=[...u.styleSheets.filter(t=>t.id!==e)]}static removeStyleSheets(){let e;for(;e=u.styleSheets.pop();)l.removeStyleSheet({id:e.id})}static removeScript({id:e}){const t=u.root.querySelector(`#${e}`);t&&t.parentNode.removeChild(t),u.scripts=[...u.scripts.filter(t=>t.id!==e)]}static removeScripts(){let e;for(;e=u.scripts.pop();)l.removeScript({id:e.id})}static swapStyleSheet(){}static swapStyleSheets(){}static getStyleSheets(){return u.styleSheets}static getContextDocument(){return u.document}static getRootDocument(){return u.root}static parseXML(e){return l.removeScriptElements(),l.appendStyleSheets(),l.appendScripts(),e&&"function"==typeof e?e(null,u.document):u.document}}t.default=l},62282(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=a(r(55482)),i=a(r(79019)),o=r(51966);function a(e){return e&&e.__esModule?e:{default: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 u(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){l(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 l(e,t,r){return(t=function(e){var t=function(e){if("object"!=typeof e||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var r=t.call(e,"string");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}class c{constructor(e={}){l(this,"classListContainsAny",(e,t)=>t.some(t=>e.classList.contains(t))),i.default.getRootDocument()||i.default.setRootDocument(document),i.default.removeStyleSheets(),i.default.removeScripts(),this.settings=u(u({},c.defaults),e),i.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"])}}classListContainsAll(e,t){return t.some(t=>t.every(t=>e.classList.contains(t)))}classListContainsNone(e,t){return t.every(t=>t.every(t=>!e.classList.contains(t)))}shouldParse(e){return 1===e.nodeType&&!1===this.blackListedNodes.names.has(e.nodeName.toUpperCase())&&!1===e.classList.contains(this.markerClassNames)&&this.classListContainsNone(e,this.blacklistedClassNames)}isFullbleed(e){return this.classListContainsAll(e,this.fullbleedClassNames)}isMarker(e){return this.classListContainsAll(e,[[this.markerClassNames]])}isMarkerReferenceNode(e){return this.classListContainsAny(e,["spread__content"])||"FIGURE"===e.nodeName}hasChildren(e){return e&&e.children&&e.children.length}getLastChild(e){let t=null;for(let 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}getSibling(e){if(null===e)return e;const{previousElementSibling:t}=e;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)}setMarkerStyles(e){Object.entries(this.markerStyles).forEach(([t,r])=>e.style[t]=r)}createMarker(e){const 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}createMarkerId(){return(0,o.rand)()}addMarkerReferenceToChild(e,t){for(let r=0;r<e.children.length;r++)this.isMarkerReferenceNode(e.children[r])&&e.children[r].setAttribute("data-marker-reference-figure",t)}insertMarkers(e,t){const r=Array.from(e.children).filter(e=>!this.isMarker(e));for(let e=0;e<r.length;e++){const t=r[e],n=this.createMarkerId();let i;const o=this.shouldParse(t),a=this.isFullbleed(t);if(o){if(a)if(i=this.getSibling(t),i){const e=this.createMarker(n);i.lastElementChild&&this.isMarker(i.lastElementChild)&&e.setAttribute("data-adjacent",!0),i.appendChild(e),t.setAttribute("data-marker-reference",n),t.classList.add("figure__processed"),this.addMarkerReferenceToChild(t,n)}else{const e=this.createMarker(n);e.setAttribute("data-unbound",!0),t.parentNode.prepend(e),t.setAttribute("data-marker-reference",n),t.classList.add("figure__processed"),this.addMarkerReferenceToChild(t,n)}t.children&&t.children.length&&this.insertMarkers(t)}}t&&"function"==typeof t&&t(e)}isElementNode(e){return e.nodeType===window.Node.ELEMENT_NODE}removeBottomSpacing(e){e.style.marginBottom="0",e.style.paddingBottom="0"}addLastNode(e){const t=new Set(["META","TITLE","HEAD","LINK","SCRIPT","STYLE","EM","I","STRONG","B","SPAN","IMG","AUDIO","VIDEO","BR","SUP","SUB","IFRAME"]),r=document.createTextNode(""),n=document.createElement("span");let i,o;n.setAttribute("class","ultimate"),n.setAttribute("data-ultimate","true"),n.appendChild(r);for(let r=e.body.childNodes.length-1;r>=0;r--)if(i=e.body.childNodes[r],!t.has(i.nodeName)&&this.isElementNode(i)){for(this.removeBottomSpacing(i),o=i.lastElementChild;o;)this.isMarkerReferenceNode(o)||this.removeBottomSpacing(o),o=o.lastElementChild;return void i.appendChild(n)}console.warn("Could not append ultimate node")}addIndicesToMarkers(e){const t=e.querySelectorAll("[data-marker]"),r=t.length;for(let e=0;e<r;e++)t[e].setAttribute("data-index",e),t[e].setAttribute("data-final",e===r-1)}removeBreakAfterClasses(e){const t=Array.from(e.children).filter(e=>!this.isMarker(e)&&1===e.nodeType);for(let e=0;e<t.length;e++){const r=t[e],n=r.nextElementSibling;r.classList.contains("break-after")&&n&&this.isFullbleed(n)&&r.classList.remove("break-after"),r.children&&r.children.length&&this.removeBreakAfterClasses(r)}}validateDocument(e){const t=e.querySelectorAll("[data-marker]"),r=e.querySelectorAll("[data-marker-reference]"),i=Array.prototype.slice.call(r,0),o={};let a=!0,s=!0,u=!0;a=t.length===r.length,console.assert(a,"Incorrect number of markers");for(let e=0;e<i.length;e++)o[i[e].dataset.markerReference]=!0;for(let e=0;e<t.length;e++){const r=t[e].dataset.marker,i=!(0,n.default)(r);console.assert(i,`Marker ${e} does not have a marker attribute`);const a=o[r];console.assert(a,`Reference for marker ${e} (${r}) could not be found`),i||(s=!1),a||(u=!1)}return a&&s&&u}parseXML(e,t){const r=(new window.DOMParser).parseFromString(e,"text/html");let n,o=null;i.default.setContextDocument(r),i.default.createStyleSheets(),i.default.createScriptElements(),i.default.parseXML(),this.insertMarkers(r,t=>{this.validateDocument(t)||(o=new Error("Invalid markup")),this.addLastNode(r),this.addIndicesToMarkers(r),this.removeBreakAfterClasses(r),n=e.replace(/<body([^>]*?)>[\s\S]*<\/body>/g,(e,t)=>`<body${t}>${r.body.innerHTML}</body>`)});const a={xml:n,doc:r};return t&&"function"==typeof t?t(o,a):a}}l(c,"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}),t.default=c},79093(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;const n=(0,r(15540).createBrowserHistory)();t.default=n},13465(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;const n=(0,r(8157).detect)();t.default=n},16354(e,t){"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"},28133(e,t,r){"use strict";r(11357),r(86661),r(44532),r(89503)},14672(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.processingInstructions=t.processNodeDefinitions=t.isValidNode=void 0;var n=S(r(64012)),i=S(r(59974)),o=S(r(55482)),a=r(18082),s=S(r(80276)),u=S(r(74792)),l=S(r(56457)),c=S(r(90006)),d=S(r(49069)),f=S(r(33101)),p=S(r(7929)),h=S(r(32739)),m=S(r(70563)),g=S(r(76841)),y=S(r(83351)),b=S(r(30514)),v=r(51966);function S(e){return e&&e.__esModule?e:{default:e}}function w(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 E(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?w(Object(r),!0).forEach(function(t){_(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):w(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function _(e,t,r){return(t=function(e){var t=function(e){if("object"!=typeof e||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var r=t.call(e,"string");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}t.isValidNode=()=>!0;const O=t.processNodeDefinitions=new a.ProcessNodeDefinitions(n.default);t.processingInstructions=({requestedSpineItem:e})=>[{shouldProcessNode(e){var t;return"noteref"===(null==e||null===(t=e.attribs)||void 0===t?void 0:t["epub:type"])},processNode(t,r){const i=y.default.convertToReactAttrs(t.attribs),o=(0,v.rand)(),a=b.default.resolveOverlappingURL(e.absoluteURL,t.attribs.href);return n.default.createElement(u.default,E(E({},i),{},{key:o,href:a}),r)}},{shouldProcessNode(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(t,r){const i=y.default.convertToReactAttrs(t.attribs),o=(0,v.rand)();let{href:a}=t.attribs;return b.default.isRelative(t.attribs.href)&&(a=b.default.resolveOverlappingURL(e.absoluteURL,t.attribs.href)),n.default.createElement(s.default,E(E({},i),{},{key:o,href:a}),r)}},{shouldProcessNode:e=>/^(img|source)$/.test(e.name)&&e.attribs&&e.attribs.src&&b.default.isRelative(e.attribs.src),processNode(t){const r=y.default.convertToReactAttrs(t.attribs),i=(0,v.rand)(),o=b.default.resolveOverlappingURL(e.absoluteURL,t.attribs.src);return n.default.createElement(t.name,E(E({},r),{},{key:i,src:o}))}},{shouldProcessNode:e=>"audio"===e.name,processNode(e,t){const r=y.default.convertToReactAttrs(e.attribs),{id:i,autoPlay:a}=r,s=(0,v.getControlsPreset)(r),u=i;let l=!1;return(0,o.default)(a)||(l=!0,delete r.autoPlay),n.default.createElement(d.default,E(E({},r),{},{"data-autoplay":l,controls:s,key:u}),t)}},{shouldProcessNode:e=>"video"===e.name,processNode(t,r){const i=y.default.convertToReactAttrs(t.attribs),{id:a,autoPlay:s}=i,u=(0,v.getControlsPreset)(i),l=a,c=t.attribs.poster?b.default.resolveOverlappingURL(e.absoluteURL,t.attribs.poster):null;let d=!1;return(0,o.default)(s)||(d=!0,delete i.autoPlay),n.default.createElement(f.default,E(E({},i),{},{"data-autoplay":d,controls:u,key:l,poster:c}),r)}},{shouldProcessNode:e=>"iframe"===e.name&&e.attribs["data-vimeo"],processNode(t,r){const i=y.default.convertToReactAttrs(t.attribs),o=(0,v.rand)(),a=new Set(["16x9","4x3"]);let s=null;const u=new Map([["x",16],["y",9]]);if(t.attribs["data-vimeo-poster"]&&(s=b.default.resolveOverlappingURL(e.absoluteURL,t.attribs["data-vimeo-poster"])),t.attribs["data-aspect-ratio"]&&a.has(t.attribs["data-aspect-ratio"])){const[e,r]=t.attribs["data-aspect-ratio"].split("x").map(Number);u.set("x",e),u.set("y",r)}delete i["data-vimeo"],delete i["data-vimeo-poster"],delete i["data-aspect-ratio"];let l=t.parent;for(;l;){if("tag"===l.type&&l.attribs["data-marker-reference-figure"]){i.useElementOffsetLeft=!1;break}l=l.parent}return n.default.createElement(h.default,E(E({},i),{},{key:o,posterImage:s,aspectRatio:u}),r)}},{shouldProcessNode:e=>"iframe"===e.name,processNode(e,t){const r=y.default.convertToReactAttrs(e.attribs),i=(0,v.rand)();let o=!1,a=!0,s=e.parent;for(;s;){if("tag"===s.type&&s.attribs["data-marker-reference-figure"]){a=!1,o=!0;break}s=s.parent}return n.default.createElement(m.default,{useElementOffsetLeft:a,spreadLayout:o,attrs:r,key:i},t)}},{shouldProcessNode:e=>"image"===e.name&&e.attribs&&e.attribs["xlink:href"]&&b.default.isRelative(e.attribs["xlink:href"]),processNode(t,r){const i=y.default.convertToReactAttrs(t.attribs),o=(0,v.rand)(),a=b.default.resolveOverlappingURL(e.absoluteURL,i.xlinkHref);return n.default.createElement(t.name,E(E({},i),{},{key:o,xlinkHref:a}),r)}},{shouldProcessNode:e=>"tag"===e.type&&(0,i.default)(e.attribs,"data-marker-reference-figure"),processNode(e,t){const r=y.default.convertToReactAttrs(e.attribs),i=`spread-figure-${r["data-marker-reference-figure"]}`;return n.default.createElement(p.default,E(E({},r),{},{key:i}),t)}},{shouldProcessNode:e=>"tag"===e.type&&(0,i.default)(e.attribs,"data-ultimate"),processNode:(e,t)=>n.default.createElement(g.default,{key:(0,v.rand)()},t)},{shouldProcessNode:e=>"tag"===e.type&&(0,i.default)(e.attribs,"data-marker-reference"),processNode(e,t){const r=y.default.convertToReactAttrs(e.attribs),i=`spread-${r["data-marker-reference"]}`;return n.default.createElement(l.default,E(E({},r),{},{key:i}),t)}},{shouldProcessNode:e=>"tag"===e.type&&(0,i.default)(e.attribs,"data-marker"),processNode(e,t){e.parent.attribs=E(E({},e.parent.attribs),{},{style:"padding-bottom: 0; margin-bottom: 0"});const r=y.default.convertToReactAttrs(e.attribs),i=`marker-${r["data-marker"]}`;return n.default.createElement(c.default,E(E({},r),{},{key:i}),t)}},{shouldProcessNode:()=>!0,processNode:O.processDefaultNode}]},50088(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n,i=(n=r(64012))&&n.__esModule?n:{default:n},o=r(51966);const a={lastSpread:!1,spreadIndex:0,getTranslateX:()=>0,navigateToChapterByURL:o.noop,getSpineItemByAbsoluteUrl:o.noop},s=i.default.createContext(a);s.displayName="ReaderContext",t.default=s},89503(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,t.default=function(){const e=["webkit","moz"];for(let t=0;t<e.length&&!window.requestAnimationFrame;++t){const r=e[t];window.requestAnimationFrame=window[`${r}RequestAnimationFrame`],window.cancelAnimationFrame=window[`${r}CancelAnimationFrame`]||window[`${r}CancelRequestAnimationFrame`]}if(/iP(ad|hone|od).*OS 6/.test(window.navigator.userAgent)||!window.requestAnimationFrame||!window.cancelAnimationFrame){let e=0;window.requestAnimationFrame=t=>{const r=Date.now?Date.now():(new Date).getTime(),n=Math.max(e+16,r);return setTimeout(()=>{t(e=n)},n-r)},window.cancelAnimationFrame=clearTimeout}}()},47236(e,t,r){"use strict";var n;Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;const i={left:"0px",layout:"columns"},o=((n=r(64012))&&n.__esModule?n:{default:n}).default.createContext(i);o.displayName="SpreadContext",t.default=o},7345(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=r(39759);t.default=({transitionSpeed:e})=>({[n.transitions.SLIDE]:{transition:`transform ${e}ms ease`},[n.transitions.FADE]:{}})},83625(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,t.default="3.0.7"},93889(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=c(r(64012)),i=r(40299),o=r(43275),a=c(r(21101)),s=r(17538),u=function(e){if("function"==typeof WeakMap){var t=new WeakMap;new WeakMap}return function(e){if(e&&e.__esModule)return e;var r,n,i={__proto__:null,default:e};if(null===e||"object"!=typeof e&&"function"!=typeof e)return i;if(r=t){if(r.has(e))return r.get(e);r.set(e,i)}for(const t in e)"default"!==t&&{}.hasOwnProperty.call(e,t)&&((n=(r=Object.defineProperty)&&Object.getOwnPropertyDescriptor(e,t))&&(n.get||n.set)?r(i,t,n):i[t]=e[t]);return i}(e)}(r(76957)),l=r(39759);function c(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)({}).hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},d.apply(null,arguments)}t.default=e=>{class t extends n.default.Component{constructor(e){var t,r,n;super(e),t=this,n=e=>{if(!e)return window.innerWidth;if(!1===/mobi/i.test(window.navigator.userAgent))return window.innerWidth;const{matches:t}=window.matchMedia("(orientation: landscape)");return t?window.screen.height:window.screen.width},(r=function(e){var t=function(e){if("object"!=typeof e||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var r=t.call(e,"string");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}(r="getWidth"))in t?Object.defineProperty(t,r,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[r]=n,this.getFrameWidth=this.getFrameWidth.bind(this),this.getFrameHeight=this.getFrameHeight.bind(this),this.getSingleColumnWidth=this.getSingleColumnWidth.bind(this),this.updateDimensions=this.updateDimensions.bind(this)}UNSAFE_componentWillMount(){this.updateDimensions()}updateDimensions(){const e=a.default.isVerticallyScrolling(this.props),t=this.getWidth(e),r=e?"auto":window.innerHeight,n=e?l.columns.ONE:l.columns.TWO;this.props.viewerSettingsActions.update({width:t,height:r,columns:n})}getFrameHeight(){if(a.default.isVerticallyScrolling(this.props))return"auto";let{height:e}=this.props.viewerSettings;const{paddingTop:t,paddingBottom:r}=this.props.viewerSettings;return(0,s.isNumeric)(e)||(e=window.innerHeight),e-=t,e-=r,e}getFrameWidth(){const{width:e,paddingLeft:t,paddingRight:r,columnGap:n}=this.props.viewerSettings;return e-t-r-n}getSingleColumnWidth(){return this.getFrameWidth()/2}render(){return n.default.createElement(e,d({getFrameHeight:this.getFrameHeight,getFrameWidth:this.getFrameWidth,getSingleColumnWidth:this.getSingleColumnWidth,updateDimensions:this.updateDimensions},this.props))}}return(0,o.connect)(({viewerSettings:e})=>({viewerSettings:e}),e=>({viewerSettingsActions:(0,i.bindActionCreators)(u,e)}))(t)}},96944(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=o(r(64012)),i=o(r(21101));function o(e){return e&&e.__esModule?e:{default:e}}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)({}).hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},a.apply(null,arguments)}function s(e,t,r){return(t=function(e){var t=function(e){if("object"!=typeof e||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var r=t.call(e,"string");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}t.default=(e,t={enabled:!1})=>class extends n.default.Component{constructor(e){super(e),s(this,"iframePlaceholder",n.default.createRef()),s(this,"handleResize",()=>{t.enabled&&this.updateIframePosition()}),s(this,"updateIframePosition",()=>{if(i.default.isVerticallyScrolling(this.props))return;if(!this.iframePlaceholder)return void console.warn("Could not find iframePlaceholder node");const e=this.iframePlaceholder,{iframePlaceholderTop:t,iframePlaceholderWidth:r,iframePlaceholderHeight:n}=this.state,{top:o,width:a,height:s}=e.getBoundingClientRect();t===o&&r===a&&n===s||(this.setState({iframePlaceholderTop:o,iframePlaceholderWidth:a,iframePlaceholderHeight:s}),setTimeout(this.updateIframePosition,60))}),s(this,"iframeStyleBlock",(e="iframe")=>t.enabled?`\n .context__desktop .${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 .${e}.figure__large.figure__inline .embed.supported {\n position: relative !important;\n }\n\n .context__desktop .spread-with-fullbleed-media .${e}.figure__large.figure__inline .embed.supported iframe,\n .context__desktop .spread-with-fullbleed-media .${e}.figure__large.figure__inline .embed.supported .bber-iframe-placeholder + div {\n top: 0 !important;\n }\n `:""),this.state={iframePlaceholderTop:0,iframePlaceholderWidth:0,iframePlaceholderHeight:0}}UNSAFE_componentWillMount(){window.addEventListener("resize",this.handleResize)}componentDidMount(){t.enabled&&this.updateIframePosition()}componentWillUnmount(){window.removeEventListener("resize",this.handleResize)}render(){return n.default.createElement(e,a({},this.props,this.state,{iframeStyleBlock:this.iframeStyleBlock,innerRef:e=>this.iframePlaceholder=e}))}}},74839(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n,i=c(r(64012)),o=r(43275),a=r(40299),s=r(17538),u=(n=r(13465))&&n.__esModule?n:{default:n},l=c(r(2824));function c(e,t){if("function"==typeof WeakMap)var r=new WeakMap,n=new WeakMap;return(c=function(e,t){if(!t&&e&&e.__esModule)return e;var i,o,a={__proto__:null,default:e};if(null===e||"object"!=typeof e&&"function"!=typeof e)return a;if(i=t?n:r){if(i.has(e))return i.get(e);i.set(e,a)}for(const t in e)"default"!==t&&{}.hasOwnProperty.call(e,t)&&((o=(i=Object.defineProperty)&&Object.getOwnPropertyDescriptor(e,t))&&(o.get||o.set)?i(a,t,o):a[t]=e[t]);return a})(e,t)}t.default=e=>(0,o.connect)(()=>({}),e=>({viewActions:(0,a.bindActionCreators)(l,e)}))(function(t){const r=(0,i.useRef)(null),[n,o]=(0,i.useState)(0),a=(0,i.useRef)(t);return a.current=t,(0,i.useEffect)(()=>{o(0)},[t.slug]),(0,i.useEffect)(()=>{const e=()=>{if(!r.current)return;const e=document.querySelector(".bber-ultimate");let t;if("firefox"===u.default.name||"edge"===u.default.name&&/Windows/.test(window.navigator.userAgent)&&e){if(!e)return;t=e.offsetLeft}else t=Math.max(r.current.scrollHeight,r.current.offsetHeight,r.current.clientHeight);o(t)};let t=null;const n=()=>{clearTimeout(t),t=setTimeout(e,100)},i=new MutationObserver(n);r.current&&i.observe(r.current,{childList:!0,subtree:!0});const a=new ResizeObserver(n);return r.current&&a.observe(r.current),e(),()=>{i.disconnect(),a.disconnect(),clearTimeout(t)}},[]),(0,i.useEffect)(()=>{if(0===n)return;const e=a.current.getFrameHeight();if(!(0,s.isNumeric)(e)||0===e)return void a.current.viewActions.updateLastSpreadIndex(0);const t=n/e/2,r=Math.round(10*(t+Number.EPSILON))/10;let i=Math.ceil(r)-1;i<0&&(i=0),a.current.viewActions.updateLastSpreadIndex(i)},[n]),i.default.createElement(e,{innerRef:r,getFrameHeight:t.getFrameHeight,getFrameWidth:t.getFrameWidth,getSingleColumnWidth:t.getSingleColumnWidth,updateDimensions:t.updateDimensions,BookContent:t.BookContent,className:t.className,lastSpreadIndex:t.lastSpreadIndex,layout:t.layout,readerSettings:t.readerSettings,slug:t.slug,spreadIndex:t.spreadIndex,spineItemURL:t.spineItemURL,style:t.style,view:t.view,viewerSettings:t.viewerSettings,userInterface:t.userInterface,viewerSettingsActions:t.viewerSettingsActions,viewActions:t.viewActions})})},96126(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n,i=(n=r(64012))&&n.__esModule?n:{default:n},o=r(43275),a=r(40299),s=function(e){if("function"==typeof WeakMap){var t=new WeakMap;new WeakMap}return function(e){if(e&&e.__esModule)return e;var r,n,i={__proto__:null,default:e};if(null===e||"object"!=typeof e&&"function"!=typeof e)return i;if(r=t){if(r.has(e))return r.get(e);r.set(e,i)}for(const t in e)"default"!==t&&{}.hasOwnProperty.call(e,t)&&((n=(r=Object.defineProperty)&&Object.getOwnPropertyDescriptor(e,t))&&(n.get||n.set)?r(i,t,n):i[t]=e[t]);return i}(e)}(r(26e3));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)({}).hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},u.apply(null,arguments)}function l(e,t,r){return(t=function(e){var t=function(e){if("object"!=typeof e||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var r=t.call(e,"string");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}t.default=e=>{class t extends i.default.Component{constructor(...e){super(...e),l(this,"goToPrevChapter",()=>{!1!==this.props.userInterface.handleEvents&&this.props.handleChapterNavigation(-1)}),l(this,"goToNextChapter",()=>{!1!==this.props.userInterface.handleEvents&&this.props.handleChapterNavigation(1)}),l(this,"goToPrevPage",()=>{!1!==this.props.userInterface.handleEvents&&(this.props.userInterfaceActions.enablePageTransitions(),this.props.handlePageNavigation(-1))}),l(this,"goToNextPage",()=>{!1!==this.props.userInterface.handleEvents&&(this.props.userInterfaceActions.enablePageTransitions(),this.props.handlePageNavigation(1))})}render(){return i.default.createElement(e,u({goToPrevChapter:this.goToPrevChapter,goToNextChapter:this.goToNextChapter,goToPrevPage:this.goToPrevPage,goToNextPage:this.goToNextPage},this.props))}}return(0,o.connect)(({userInterface:e})=>({userInterface:e}),e=>({userInterfaceActions:(0,a.bindActionCreators)(s,e)}))(t)}},4716(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=c(r(64012)),i=c(r(22909)),o=c(r(3803)),a=r(43275),s=c(r(79019)),u=r(51966),l=c(r(50088));function c(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)({}).hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},d.apply(null,arguments)}function f(e,t,r){return(t=function(e){var t=function(e){if("object"!=typeof e||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var r=t.call(e,"string");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}t.default=(e,t={})=>{class r extends n.default.Component{constructor(e){super(e),f(this,"state",{verso:null,recto:null,spreadIndex:null,currentSpreadIndex:null,elementEdgeLeft:null}),f(this,"elemRef",n.default.createRef()),f(this,"elementEdgeIsInAllowableRange",e=>e>=48&&e<=52||e>=0&&e<=5),f(this,"getRef",()=>{const{useParentDimensions:e}=this.settings;let t;var r;return t=e?null!==(r=this.elemRef.current)&&void 0!==r&&r.parentElement?this.elemRef.current.parentElement:null:this.elemRef.current,t}),f(this,"calculateNodePositionUsingOffsetLeft",()=>{const e=this.getRef();if(!e)return console.error("Element does not exist");const{isMarker:t}=this.settings,{paddingLeft:r,columnGap:n}=this.props.viewerSettings,i=window.getComputedStyle(e.parentElement.parentElement),o=i.marginLeft,a=i.paddingLeft,u=e.offsetLeft-parseFloat(o)-parseFloat(a),l=(window.innerWidth-2*r-n)/2,c=window.innerWidth-2*r+n;let d=u-n-l;e.offsetWidth!==window.innerWidth&&(d-=r);const f=Math.abs(d/c),p=Number((f%1).toFixed(2).substring(2)),h=p>=48&&p<=52,m=p>=0&&p<=5,g=Math.floor(Number(f.toFixed(2)));(!1===this.elementEdgeIsInAllowableRange(p)||!1===h&&!1===m)&&(e.style.display="none",e.style.display="block"),this.setState({verso:h,recto:m,spreadIndex:g,elementEdgeLeft:u}),t&&(s.default.removeStyleSheets(),s.default.createStyleSheets({paddingLeft:r,columnGap:n}),s.default.appendStyleSheets())}),f(this,"calculateNodePositionUsingBoundingClientRect",()=>{const e=this.getRef();if(!e)return console.error("Element does not exist");const{ultimateOffsetLeft:t}=this.props.view,{paddingLeft:r,columnGap:n}=this.props.viewerSettings,i=Math.abs(this.context.getTranslateX()),o=e.getBoundingClientRect().x+i,a=window.innerWidth-2*r+n;let s=t/a-(t-o)/a;s=Math.round(s),this.setState({verso:!0,recto:!1,spreadIndex:s})}),this.calculateNodePositionUsingOffsetLeft=this.calculateNodePositionUsingOffsetLeft.bind(this),this.calculateNodePositionAfterResize=()=>{},this.settings={useParentDimensions:(0,u.unlessDefined)(this.props.useParentDimensions,t.useParentDimensions,!1),useElementOffsetLeft:(0,u.unlessDefined)(this.props.useElementOffsetLeft,t.useElementOffsetLeft,!0),useFullscreenElementWidth:(0,u.unlessDefined)(this.props.useFullscreenElementWidth,t.useFullscreenElementWidth,!1),isMarker:(0,u.unlessDefined)(t.isMarker,!1)}}componentDidMount(){this.settings.useElementOffsetLeft?(this.calculateNodePositionAfterResize=(0,o.default)(this.calculateNodePositionUsingOffsetLeft,0,{leading:!1,trailing:!0}).bind(this),this.connectObserver()):this.calculateNodePositionUsingBoundingClientRect()}componentWillUnmount(){this.settings.useElementOffsetLeft&&this.disconnectObservers()}UNSAFE_componentWillReceiveProps(e){if(this.settings.useElementOffsetLeft)return;const{ultimateOffsetLeft:t}=e,{ultimateOffsetLeft:r}=this.props.view;t!==r&&this.calculateNodePositionUsingBoundingClientRect()}connectObserver(){const 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)}disconnectObservers(){this.resizeObserver.disconnect()}render(){return n.default.createElement(e,d({elemRef:this.elemRef},this.state,this.props))}}return f(r,"contextType",l.default),(0,a.connect)(({readerSettings:e,viewerSettings:t,view:r})=>({readerSettings:e,viewerSettings:t,view:r}),()=>({}))(r)}},32698(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,t.default=class{constructor({title:e,creator:t,date:r,publisher:n,description:i,language:o,rights:a,identifier:s}){this.title=e,this.creator=t,this.date=r,this.publisher=n,this.description=i,this.language=o,this.rights=a,this.identifier=s}set(e,t){this[e]=t}get(e){return this[e]}}},36735(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,t.default=class{constructor({type:e,title:t,href:r}){this.type=e,this.title=t,this.href=r,this.absoluteURL=""}}},58736(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=r(51966);t.default=class{constructor({id:e,media:t,styles:r}){this.id=e||`_${(0,n.rand)()}`,this.media=t,this.styles=r,this.node=null}writeCss(e){const t=e.createTextNode(this.styles);this.node.appendChild(t)}appendSheet(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)}removeSheet(e){e.body.removeChild(this.node)}}},54425(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=a(r(55482)),i=r(51966),o=a(r(30514));function a(e){return e&&e.__esModule?e:{default:e}}class s{constructor({node:e,requestURI:t}){this.id=e.id||`_${(0,i.rand)()}`,this.type=e.type||"application/javascript",this.src=s.getScriptSourceFromNodeValue(e),this.inline=(0,n.default)(this.src),this.body=e.childNodes&&e.childNodes.length?e.childNodes[0].nodeValue.trim():"",this.async=!1,this.requestURI=t}static getScriptSourceFromNodeValue(e){const t=e.attributes.getNamedItem("src"),{value:r}=t||{};return r}appendScript(e){const t=o.default.trimFilenameFromResponse(this.requestURI),r=this.inline?null:o.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)}removeScript(e){e.body.removeChild(this.elem)}}t.default=s},10444(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,t.default=class{constructor({id:e,href:t,mediaType:r,properties:n,idref:i,linear:o,absoluteURL:a="",title:s="",slug:u="",depth:l=0,children:c=[],inTOC:d=!1}){this.id=e,this.href=t,this.mediaType=r,this.properties=n,this.idref=i,this.linear=o,this.absoluteURL=a,this.title=s,this.slug=u,this.depth=l,this.children=c,this.inTOC=d}set(e,t){this[e]=t}get(e){return this[e]}addChild(e){this.children.push(e)}}},64977(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=u(r(5229)),i=u(r(59974)),o=r(17538),a=r(39759),s=u(r(21101));function u(e){return e&&e.__esModule?e:{default:e}}function l(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,r){return(t=function(e){var t=function(e){if("object"!=typeof e||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var r=t.call(e,"string");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const d=(e,t,r,n={enumerable:!0})=>(Object.entries(t).forEach(([t,o])=>{const a=(0,i.default)(r,t)?r[t]:o;Object.defineProperty(e,t,function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?l(Object(r),!0).forEach(function(t){c(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):l(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}({value:a},n))}),e),f=e=>"function"==typeof e?e.call():e;class p{constructor(e={}){c(this,"get",(e="")=>e?(0,i.default)(this.settings,e)?this[e]:void console.error("Attempting to access undefined key %s",e):{width:this.width,height:this.height,paddingTop:this.paddingTop,paddingLeft:this.paddingLeft,paddingRight:this.paddingRight,paddingBottom:this.paddingBottom,columns:this.columns,columnGap:this.columnGap,columnWidth:this.columnWidth,transition:this.transition,transitionSpeed:this.transitionSpeed,theme:this.theme,fontSize:this.fontSize}),c(this,"put",(e={},t=null)=>{if((0,n.default)(e))for(const[t,r]of Object.entries(e))(0,i.default)(this.settings,t)&&(this[t]=r);else"string"==typeof e?(0,i.default)(this.settings,e)&&(this[e]=t):console.error("Could not update viewer settings with key: %s val: %s",e,t)}),Object.defineProperty(this,"settings",{value:d({},p.defaults,e,{enumerable:!0,writable:!0}),enumerable:!0}),this.columnWidth=()=>window.innerWidth/2-this.columnGap-this.paddingLeft}get width(){return this.settings.width}set width(e){this.settings.width=e}get height(){return this.settings.height}set height(e){this.settings.height=e}get paddingTop(){return f(this.settings.paddingTop)}set paddingTop(e){this.settings.paddingTop=e}get paddingLeft(){return f(this.settings.paddingLeft)}set paddingLeft(e){this.settings.paddingLeft=e}get paddingRight(){return f(this.settings.paddingRight)}set paddingRight(e){this.settings.paddingRight=e}get paddingBottom(){return f(this.settings.paddingBottom)}set paddingBottom(e){this.settings.paddingBottom=e}get paddingX(){return this.paddingLeft+this.paddingRight}get paddingY(){return this.paddingTop+this.paddingBottom}get columns(){return this.settings.columns}set columns(e){this.settings.columns=e}get columnGap(){return f(this.settings.columnGap)}set columnGap(e){this.settings.columnGap=e}get columnWidth(){return f(this.settings.columnWidth)}set columnWidth(e){this.settings.columnWidth=e}get transition(){return this.settings.transition}set transition(e){this.settings.transition=e}get theme(){return this.settings.theme}set theme(e){this.settings.theme=e}get transitionSpeed(){return this.settings.transitionSpeed}set transitionSpeed(e){this.settings.transitionSpeed=e}get fontSize(){return f(this.settings.fontSize)}set fontSize(e){this.settings.fontSize=e}set padding(e){const[t,r,n,i]=e;(0,o.isNumeric)(t)&&(this.settings.paddingTop=t),(0,o.isNumeric)(r)&&(this.settings.paddingRight=r),(0,o.isNumeric)(n)&&(this.settings.paddingBottom=n),(0,o.isNumeric)(i)&&(this.settings.paddingLeft=i)}}c(p,"defaults",{width:0,height:0,theme:a.themes.DEFAULT,transition:a.transitions.SLIDE,transitionSpeed:400,columns:a.columns.TWO,fontSize:()=>s.default.styles().fontSize,columnGap:()=>s.default.styles().columnGap,paddingLeft:()=>s.default.styles().paddingLeft,paddingRight:()=>s.default.styles().paddingRight,paddingTop:()=>s.default.styles().paddingTop,paddingBottom:()=>s.default.styles().paddingBottom}),t.default=p},1228(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,"GuideItem",{enumerable:!0,get:function(){return o.default}}),Object.defineProperty(t,"MediaStyleSheet",{enumerable:!0,get:function(){return s.default}}),Object.defineProperty(t,"Script",{enumerable:!0,get:function(){return u.default}}),Object.defineProperty(t,"SpineItem",{enumerable:!0,get:function(){return i.default}}),Object.defineProperty(t,"ViewerSettings",{enumerable:!0,get:function(){return a.default}});var n=l(r(32698)),i=l(r(10444)),o=l(r(36735)),a=l(r(64977)),s=l(r(58736)),u=l(r(54425));function l(e){return e&&e.__esModule?e:{default:e}}},23083(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=r(40299),i=c(r(18788)),o=c(r(56807)),a=c(r(54890)),s=c(r(93344)),u=c(r(60730)),l=c(r(49714));function c(e){return e&&e.__esModule?e:{default:e}}const d={readerSettings:i.default,viewerSettings:o.default,readerLocation:a.default,markers:s.default,view:u.default,userInterface:l.default},f=(0,n.combineReducers)(d);t.default=f},93344(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=function(e){if("function"==typeof WeakMap){var t=new WeakMap;new WeakMap}return function(e){if(e&&e.__esModule)return e;var r,n,i={__proto__:null,default:e};if(null===e||"object"!=typeof e&&"function"!=typeof e)return i;if(r=t){if(r.has(e))return r.get(e);r.set(e,i)}for(const t in e)"default"!==t&&{}.hasOwnProperty.call(e,t)&&((n=(r=Object.defineProperty)&&Object.getOwnPropertyDescriptor(e,t))&&(n.get||n.set)?r(i,t,n):i[t]=e[t]);return i}(e)}(r(53676));const i=["markerId"];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 a(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){s(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 s(e,t,r){return(t=function(e){var t=function(e){if("object"!=typeof e||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var r=t.call(e,"string");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const u={};t.default=(e=u,t)=>t.type===n.UPDATE?((e,t)=>{let{markerId:r}=t,n=function(e,t){if(null==e)return{};var r,n,i=function(e,t){if(null==e)return{};var r={};for(var n in e)if({}.hasOwnProperty.call(e,n)){if(-1!==t.indexOf(n))continue;r[n]=e[n]}return r}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(n=0;n<o.length;n++)r=o[n],-1===t.indexOf(r)&&{}.propertyIsEnumerable.call(e,r)&&(i[r]=e[r])}return i}(t,i);return a(a({},e),{},{[r]:a(a({},e[r]||{}),n)})})(e,t.payload):e},54890(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=function(e){if("function"==typeof WeakMap){var t=new WeakMap;new WeakMap}return function(e){if(e&&e.__esModule)return e;var r,n,i={__proto__:null,default:e};if(null===e||"object"!=typeof e&&"function"!=typeof e)return i;if(r=t){if(r.has(e))return r.get(e);r.set(e,i)}for(const t in e)"default"!==t&&{}.hasOwnProperty.call(e,t)&&((n=(r=Object.defineProperty)&&Object.getOwnPropertyDescriptor(e,t))&&(n.get||n.set)?r(i,t,n):i[t]=e[t]);return i}(e)}(r(35710));function i(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?i(Object(r),!0).forEach(function(t){a(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):i(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function a(e,t,r){return(t=function(e){var t=function(e){if("object"!=typeof e||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var r=t.call(e,"string");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const s={searchParams:""};t.default=(e=s,t={})=>t.type===n.LOCATION_UPDATE?o(o({},e),t.payload):e},18788(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.initialState=t.default=void 0;var n=r(14324),i=function(e){if("function"==typeof WeakMap){var t=new WeakMap;new WeakMap}return function(e){if(e&&e.__esModule)return e;var r,n,i={__proto__:null,default:e};if(null===e||"object"!=typeof e&&"function"!=typeof e)return i;if(r=t){if(r.has(e))return r.get(e);r.set(e,i)}for(const t in e)"default"!==t&&{}.hasOwnProperty.call(e,t)&&((n=(r=Object.defineProperty)&&Object.getOwnPropertyDescriptor(e,t))&&(n.get||n.set)?r(i,t,n):i[t]=e[t]);return i}(e)}(r(60376));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 a(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){s(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 s(e,t,r){return(t=function(e){var t=function(e){if("object"!=typeof e||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var r=t.call(e,"string");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const u=t.initialState={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:n.locationStates.QUERY_PARAMS,searchParams:"",style:{},className:"",cache:!0,layout:""};t.default=(e=u,t={})=>t.type===i.SETTINGS_UPDATE?a(a({},e),t.payload):e},49714(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=function(e){if("function"==typeof WeakMap){var t=new WeakMap;new WeakMap}return function(e){if(e&&e.__esModule)return e;var r,n,i={__proto__:null,default:e};if(null===e||"object"!=typeof e&&"function"!=typeof e)return i;if(r=t){if(r.has(e))return r.get(e);r.set(e,i)}for(const t in e)"default"!==t&&{}.hasOwnProperty.call(e,t)&&((n=(r=Object.defineProperty)&&Object.getOwnPropertyDescriptor(e,t))&&(n.get||n.set)?r(i,t,n):i[t]=e[t]);return i}(e)}(r(20342));function i(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?i(Object(r),!0).forEach(function(t){a(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):i(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function a(e,t,r){return(t=function(e){var t=function(e){if("object"!=typeof e||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var r=t.call(e,"string");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const s={enableTransitions:!1,handleEvents:!1,spinnerVisible:!0};t.default=(e=s,t={})=>{switch(t.type){case n.PAGE_TRANSITIONS_UPDATE:return o(o({},e),{},{enableTransitions:t.payload});case n.EVENT_HANDLING_UPDATE:return o(o({},e),{},{handleEvents:t.payload});case n.SPINNER_UPDATE:return o(o({},e),{},{spinnerVisible:t.payload});case n.UPDATE:return o(o({},e),t.payload);default:return e}}},60730(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=function(e){if("function"==typeof WeakMap){var t=new WeakMap;new WeakMap}return function(e){if(e&&e.__esModule)return e;var r,n,i={__proto__:null,default:e};if(null===e||"object"!=typeof e&&"function"!=typeof e)return i;if(r=t){if(r.has(e))return r.get(e);r.set(e,i)}for(const t in e)"default"!==t&&{}.hasOwnProperty.call(e,t)&&((n=(r=Object.defineProperty)&&Object.getOwnPropertyDescriptor(e,t))&&(n.get||n.set)?r(i,t,n):i[t]=e[t]);return i}(e)}(r(22294));function i(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?i(Object(r),!0).forEach(function(t){a(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):i(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function a(e,t,r){return(t=function(e){var t=function(e){if("object"!=typeof e||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var r=t.call(e,"string");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const s={loaded:!1,ultimateOffsetLeft:0,lastSpreadIndex:0};t.default=(e=s,t)=>{switch(t.type){case n.LOAD:case n.UNLOAD:return o(o({},e),{},{loaded:t.payload});case n.UPDATE_ULTIMATE_NODE_POSITION:return o(o({},e),t.payload);case n.UPDATE_LAST_SPREAD_INDEX:return o(o({},e),{},{lastSpreadIndex:t.payload});case n.QUEUE_DEFERRED_CALLBACKS:case n.DEQUEUE_DEFERRED_CALLBACKS:return o({},e);default:return e}}},56807(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=function(e){if("function"==typeof WeakMap){var t=new WeakMap;new WeakMap}return function(e){if(e&&e.__esModule)return e;var r,n,i={__proto__:null,default:e};if(null===e||"object"!=typeof e&&"function"!=typeof e)return i;if(r=t){if(r.has(e))return r.get(e);r.set(e,i)}for(const t in e)"default"!==t&&{}.hasOwnProperty.call(e,t)&&((n=(r=Object.defineProperty)&&Object.getOwnPropertyDescriptor(e,t))&&(n.get||n.set)?r(i,t,n):i[t]=e[t]);return i}(e)}(r(27267));function i(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?i(Object(r),!0).forEach(function(t){a(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):i(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function a(e,t,r){return(t=function(e){var t=function(e){if("object"!=typeof e||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var r=t.call(e,"string");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const s=(new(r(1228).ViewerSettings)).get();t.default=(e=s,t={})=>{switch(t.type){case n.SETTINGS_UPDATE:case n.SETTINGS_SAVE:case n.SETTINGS_LOAD:return o(o({},e),t.payload);default:return e}}},54028(e,t){"use strict";t.toByteArray=function(e){var t,r,o=function(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]}(e),a=o[0],s=o[1],u=new i(function(e,t,r){return 3*(t+r)/4-r}(0,a,s)),l=0,c=s>0?a-4:a;for(r=0;r<c;r+=4)t=n[e.charCodeAt(r)]<<18|n[e.charCodeAt(r+1)]<<12|n[e.charCodeAt(r+2)]<<6|n[e.charCodeAt(r+3)],u[l++]=t>>16&255,u[l++]=t>>8&255,u[l++]=255&t;return 2===s&&(t=n[e.charCodeAt(r)]<<2|n[e.charCodeAt(r+1)]>>4,u[l++]=255&t),1===s&&(t=n[e.charCodeAt(r)]<<10|n[e.charCodeAt(r+1)]<<4|n[e.charCodeAt(r+2)]>>2,u[l++]=t>>8&255,u[l++]=255&t),u},t.fromByteArray=function(e){for(var t,n=e.length,i=n%3,o=[],a=16383,s=0,l=n-i;s<l;s+=a)o.push(u(e,s,s+a>l?l:s+a));return 1===i?(t=e[n-1],o.push(r[t>>2]+r[t<<4&63]+"==")):2===i&&(t=(e[n-2]<<8)+e[n-1],o.push(r[t>>10]+r[t>>4&63]+r[t<<2&63]+"=")),o.join("")};for(var r=[],n=[],i="undefined"!=typeof Uint8Array?Uint8Array:Array,o="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",a=0;a<64;++a)r[a]=o[a],n[o.charCodeAt(a)]=a;function s(e){return r[e>>18&63]+r[e>>12&63]+r[e>>6&63]+r[63&e]}function u(e,t,r){for(var n,i=[],o=t;o<r;o+=3)n=(e[o]<<16&16711680)+(e[o+1]<<8&65280)+(255&e[o+2]),i.push(s(n));return i.join("")}n["-".charCodeAt(0)]=62,n["_".charCodeAt(0)]=63},81429(e,t,r){"use strict";const n=r(54028),i=r(55801),o="function"==typeof Symbol&&"function"==typeof Symbol.for?Symbol.for("nodejs.util.inspect.custom"):null;t.Buffer=u,t.SlowBuffer=function(e){return+e!=e&&(e=0),u.alloc(+e)},t.INSPECT_MAX_BYTES=50;const a=2147483647;function s(e){if(e>a)throw new RangeError('The value "'+e+'" is invalid for option "size"');const t=new Uint8Array(e);return Object.setPrototypeOf(t,u.prototype),t}function u(e,t,r){if("number"==typeof e){if("string"==typeof t)throw new TypeError('The "string" argument must be of type string. Received type number');return d(e)}return l(e,t,r)}function l(e,t,r){if("string"==typeof e)return function(e,t){if("string"==typeof t&&""!==t||(t="utf8"),!u.isEncoding(t))throw new TypeError("Unknown encoding: "+t);const r=0|m(e,t);let n=s(r);const i=n.write(e,t);return i!==r&&(n=n.slice(0,i)),n}(e,t);if(ArrayBuffer.isView(e))return function(e){if(Q(e,Uint8Array)){const t=new Uint8Array(e);return p(t.buffer,t.byteOffset,t.byteLength)}return f(e)}(e);if(null==e)throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof e);if(Q(e,ArrayBuffer)||e&&Q(e.buffer,ArrayBuffer))return p(e,t,r);if("undefined"!=typeof SharedArrayBuffer&&(Q(e,SharedArrayBuffer)||e&&Q(e.buffer,SharedArrayBuffer)))return p(e,t,r);if("number"==typeof e)throw new TypeError('The "value" argument must not be of type number. Received type number');const n=e.valueOf&&e.valueOf();if(null!=n&&n!==e)return u.from(n,t,r);const i=function(e){if(u.isBuffer(e)){const t=0|h(e.length),r=s(t);return 0===r.length||e.copy(r,0,0,t),r}return void 0!==e.length?"number"!=typeof e.length||Y(e.length)?s(0):f(e):"Buffer"===e.type&&Array.isArray(e.data)?f(e.data):void 0}(e);if(i)return i;if("undefined"!=typeof Symbol&&null!=Symbol.toPrimitive&&"function"==typeof e[Symbol.toPrimitive])return u.from(e[Symbol.toPrimitive]("string"),t,r);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof e)}function c(e){if("number"!=typeof e)throw new TypeError('"size" argument must be of type number');if(e<0)throw new RangeError('The value "'+e+'" is invalid for option "size"')}function d(e){return c(e),s(e<0?0:0|h(e))}function f(e){const t=e.length<0?0:0|h(e.length),r=s(t);for(let n=0;n<t;n+=1)r[n]=255&e[n];return r}function p(e,t,r){if(t<0||e.byteLength<t)throw new RangeError('"offset" is outside of buffer bounds');if(e.byteLength<t+(r||0))throw new RangeError('"length" is outside of buffer bounds');let n;return n=void 0===t&&void 0===r?new Uint8Array(e):void 0===r?new Uint8Array(e,t):new Uint8Array(e,t,r),Object.setPrototypeOf(n,u.prototype),n}function h(e){if(e>=a)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+a.toString(16)+" bytes");return 0|e}function m(e,t){if(u.isBuffer(e))return e.length;if(ArrayBuffer.isView(e)||Q(e,ArrayBuffer))return e.byteLength;if("string"!=typeof e)throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof e);const r=e.length,n=arguments.length>2&&!0===arguments[2];if(!n&&0===r)return 0;let i=!1;for(;;)switch(t){case"ascii":case"latin1":case"binary":return r;case"utf8":case"utf-8":return G(e).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*r;case"hex":return r>>>1;case"base64":return K(e).length;default:if(i)return n?-1:G(e).length;t=(""+t).toLowerCase(),i=!0}}function g(e,t,r){let 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 C(this,t,r);case"utf8":case"utf-8":return k(this,t,r);case"ascii":return T(this,t,r);case"latin1":case"binary":return A(this,t,r);case"base64":return x(this,t,r);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return L(this,t,r);default:if(n)throw new TypeError("Unknown encoding: "+e);e=(e+"").toLowerCase(),n=!0}}function y(e,t,r){const n=e[t];e[t]=e[r],e[r]=n}function b(e,t,r,n,i){if(0===e.length)return-1;if("string"==typeof r?(n=r,r=0):r>2147483647?r=2147483647:r<-2147483648&&(r=-2147483648),Y(r=+r)&&(r=i?0:e.length-1),r<0&&(r=e.length+r),r>=e.length){if(i)return-1;r=e.length-1}else if(r<0){if(!i)return-1;r=0}if("string"==typeof t&&(t=u.from(t,n)),u.isBuffer(t))return 0===t.length?-1:v(e,t,r,n,i);if("number"==typeof t)return t&=255,"function"==typeof Uint8Array.prototype.indexOf?i?Uint8Array.prototype.indexOf.call(e,t,r):Uint8Array.prototype.lastIndexOf.call(e,t,r):v(e,[t],r,n,i);throw new TypeError("val must be string, number or Buffer")}function v(e,t,r,n,i){let o,a=1,s=e.length,u=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,s/=2,u/=2,r/=2}function l(e,t){return 1===a?e[t]:e.readUInt16BE(t*a)}if(i){let n=-1;for(o=r;o<s;o++)if(l(e,o)===l(t,-1===n?0:o-n)){if(-1===n&&(n=o),o-n+1===u)return n*a}else-1!==n&&(o-=o-n),n=-1}else for(r+u>s&&(r=s-u),o=r;o>=0;o--){let r=!0;for(let n=0;n<u;n++)if(l(e,o+n)!==l(t,n)){r=!1;break}if(r)return o}return-1}function S(e,t,r,n){r=Number(r)||0;const i=e.length-r;n?(n=Number(n))>i&&(n=i):n=i;const o=t.length;let a;for(n>o/2&&(n=o/2),a=0;a<n;++a){const n=parseInt(t.substr(2*a,2),16);if(Y(n))return a;e[r+a]=n}return a}function w(e,t,r,n){return $(G(t,e.length-r),e,r,n)}function E(e,t,r,n){return $(function(e){const t=[];for(let r=0;r<e.length;++r)t.push(255&e.charCodeAt(r));return t}(t),e,r,n)}function _(e,t,r,n){return $(K(t),e,r,n)}function O(e,t,r,n){return $(function(e,t){let r,n,i;const o=[];for(let a=0;a<e.length&&!((t-=2)<0);++a)r=e.charCodeAt(a),n=r>>8,i=r%256,o.push(i),o.push(n);return o}(t,e.length-r),e,r,n)}function x(e,t,r){return 0===t&&r===e.length?n.fromByteArray(e):n.fromByteArray(e.slice(t,r))}function k(e,t,r){r=Math.min(e.length,r);const n=[];let i=t;for(;i<r;){const t=e[i];let o=null,a=t>239?4:t>223?3:t>191?2:1;if(i+a<=r){let r,n,s,u;switch(a){case 1:t<128&&(o=t);break;case 2:r=e[i+1],128==(192&r)&&(u=(31&t)<<6|63&r,u>127&&(o=u));break;case 3:r=e[i+1],n=e[i+2],128==(192&r)&&128==(192&n)&&(u=(15&t)<<12|(63&r)<<6|63&n,u>2047&&(u<55296||u>57343)&&(o=u));break;case 4:r=e[i+1],n=e[i+2],s=e[i+3],128==(192&r)&&128==(192&n)&&128==(192&s)&&(u=(15&t)<<18|(63&r)<<12|(63&n)<<6|63&s,u>65535&&u<1114112&&(o=u))}}null===o?(o=65533,a=1):o>65535&&(o-=65536,n.push(o>>>10&1023|55296),o=56320|1023&o),n.push(o),i+=a}return function(e){const t=e.length;if(t<=P)return String.fromCharCode.apply(String,e);let r="",n=0;for(;n<t;)r+=String.fromCharCode.apply(String,e.slice(n,n+=P));return r}(n)}t.kMaxLength=a,u.TYPED_ARRAY_SUPPORT=function(){try{const e=new Uint8Array(1),t={foo:function(){return 42}};return Object.setPrototypeOf(t,Uint8Array.prototype),Object.setPrototypeOf(e,t),42===e.foo()}catch(e){return!1}}(),u.TYPED_ARRAY_SUPPORT||"undefined"==typeof console||"function"!=typeof console.error||console.error("This browser lacks typed array (Uint8Array) support which is required by `buffer` v5.x. Use `buffer` v4.x if you require old browser support."),Object.defineProperty(u.prototype,"parent",{enumerable:!0,get:function(){if(u.isBuffer(this))return this.buffer}}),Object.defineProperty(u.prototype,"offset",{enumerable:!0,get:function(){if(u.isBuffer(this))return this.byteOffset}}),u.poolSize=8192,u.from=function(e,t,r){return l(e,t,r)},Object.setPrototypeOf(u.prototype,Uint8Array.prototype),Object.setPrototypeOf(u,Uint8Array),u.alloc=function(e,t,r){return function(e,t,r){return c(e),e<=0?s(e):void 0!==t?"string"==typeof r?s(e).fill(t,r):s(e).fill(t):s(e)}(e,t,r)},u.allocUnsafe=function(e){return d(e)},u.allocUnsafeSlow=function(e){return d(e)},u.isBuffer=function(e){return null!=e&&!0===e._isBuffer&&e!==u.prototype},u.compare=function(e,t){if(Q(e,Uint8Array)&&(e=u.from(e,e.offset,e.byteLength)),Q(t,Uint8Array)&&(t=u.from(t,t.offset,t.byteLength)),!u.isBuffer(e)||!u.isBuffer(t))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(e===t)return 0;let r=e.length,n=t.length;for(let i=0,o=Math.min(r,n);i<o;++i)if(e[i]!==t[i]){r=e[i],n=t[i];break}return r<n?-1:n<r?1:0},u.isEncoding=function(e){switch(String(e).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}},u.concat=function(e,t){if(!Array.isArray(e))throw new TypeError('"list" argument must be an Array of Buffers');if(0===e.length)return u.alloc(0);let r;if(void 0===t)for(t=0,r=0;r<e.length;++r)t+=e[r].length;const n=u.allocUnsafe(t);let i=0;for(r=0;r<e.length;++r){let t=e[r];if(Q(t,Uint8Array))i+t.length>n.length?(u.isBuffer(t)||(t=u.from(t)),t.copy(n,i)):Uint8Array.prototype.set.call(n,t,i);else{if(!u.isBuffer(t))throw new TypeError('"list" argument must be an Array of Buffers');t.copy(n,i)}i+=t.length}return n},u.byteLength=m,u.prototype._isBuffer=!0,u.prototype.swap16=function(){const e=this.length;if(e%2!=0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(let t=0;t<e;t+=2)y(this,t,t+1);return this},u.prototype.swap32=function(){const e=this.length;if(e%4!=0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(let t=0;t<e;t+=4)y(this,t,t+3),y(this,t+1,t+2);return this},u.prototype.swap64=function(){const e=this.length;if(e%8!=0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(let t=0;t<e;t+=8)y(this,t,t+7),y(this,t+1,t+6),y(this,t+2,t+5),y(this,t+3,t+4);return this},u.prototype.toString=function(){const e=this.length;return 0===e?"":0===arguments.length?k(this,0,e):g.apply(this,arguments)},u.prototype.toLocaleString=u.prototype.toString,u.prototype.equals=function(e){if(!u.isBuffer(e))throw new TypeError("Argument must be a Buffer");return this===e||0===u.compare(this,e)},u.prototype.inspect=function(){let e="";const r=t.INSPECT_MAX_BYTES;return e=this.toString("hex",0,r).replace(/(.{2})/g,"$1 ").trim(),this.length>r&&(e+=" ... "),"<Buffer "+e+">"},o&&(u.prototype[o]=u.prototype.inspect),u.prototype.compare=function(e,t,r,n,i){if(Q(e,Uint8Array)&&(e=u.from(e,e.offset,e.byteLength)),!u.isBuffer(e))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof e);if(void 0===t&&(t=0),void 0===r&&(r=e?e.length:0),void 0===n&&(n=0),void 0===i&&(i=this.length),t<0||r>e.length||n<0||i>this.length)throw new RangeError("out of range index");if(n>=i&&t>=r)return 0;if(n>=i)return-1;if(t>=r)return 1;if(this===e)return 0;let o=(i>>>=0)-(n>>>=0),a=(r>>>=0)-(t>>>=0);const s=Math.min(o,a),l=this.slice(n,i),c=e.slice(t,r);for(let e=0;e<s;++e)if(l[e]!==c[e]){o=l[e],a=c[e];break}return o<a?-1:a<o?1:0},u.prototype.includes=function(e,t,r){return-1!==this.indexOf(e,t,r)},u.prototype.indexOf=function(e,t,r){return b(this,e,t,r,!0)},u.prototype.lastIndexOf=function(e,t,r){return b(this,e,t,r,!1)},u.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)}const i=this.length-t;if((void 0===r||r>i)&&(r=i),e.length>0&&(r<0||t<0)||t>this.length)throw new RangeError("Attempt to write outside buffer bounds");n||(n="utf8");let o=!1;for(;;)switch(n){case"hex":return S(this,e,t,r);case"utf8":case"utf-8":return w(this,e,t,r);case"ascii":case"latin1":case"binary":return E(this,e,t,r);case"base64":return _(this,e,t,r);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return O(this,e,t,r);default:if(o)throw new TypeError("Unknown encoding: "+n);n=(""+n).toLowerCase(),o=!0}},u.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};const P=4096;function T(e,t,r){let n="";r=Math.min(e.length,r);for(let i=t;i<r;++i)n+=String.fromCharCode(127&e[i]);return n}function A(e,t,r){let n="";r=Math.min(e.length,r);for(let i=t;i<r;++i)n+=String.fromCharCode(e[i]);return n}function C(e,t,r){const n=e.length;(!t||t<0)&&(t=0),(!r||r<0||r>n)&&(r=n);let i="";for(let n=t;n<r;++n)i+=X[e[n]];return i}function L(e,t,r){const n=e.slice(t,r);let i="";for(let e=0;e<n.length-1;e+=2)i+=String.fromCharCode(n[e]+256*n[e+1]);return i}function I(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 N(e,t,r,n,i,o){if(!u.isBuffer(e))throw new TypeError('"buffer" argument must be a Buffer instance');if(t>i||t<o)throw new RangeError('"value" argument is out of bounds');if(r+n>e.length)throw new RangeError("Index out of range")}function j(e,t,r,n,i){W(t,n,i,e,r,7);let o=Number(t&BigInt(4294967295));e[r++]=o,o>>=8,e[r++]=o,o>>=8,e[r++]=o,o>>=8,e[r++]=o;let a=Number(t>>BigInt(32)&BigInt(4294967295));return e[r++]=a,a>>=8,e[r++]=a,a>>=8,e[r++]=a,a>>=8,e[r++]=a,r}function R(e,t,r,n,i){W(t,n,i,e,r,7);let o=Number(t&BigInt(4294967295));e[r+7]=o,o>>=8,e[r+6]=o,o>>=8,e[r+5]=o,o>>=8,e[r+4]=o;let a=Number(t>>BigInt(32)&BigInt(4294967295));return e[r+3]=a,a>>=8,e[r+2]=a,a>>=8,e[r+1]=a,a>>=8,e[r]=a,r+8}function D(e,t,r,n,i,o){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,o){return t=+t,r>>>=0,o||D(e,0,r,4),i.write(e,t,r,n,23,4),r+4}function U(e,t,r,n,o){return t=+t,r>>>=0,o||D(e,0,r,8),i.write(e,t,r,n,52,8),r+8}u.prototype.slice=function(e,t){const r=this.length;(e=~~e)<0?(e+=r)<0&&(e=0):e>r&&(e=r),(t=void 0===t?r:~~t)<0?(t+=r)<0&&(t=0):t>r&&(t=r),t<e&&(t=e);const n=this.subarray(e,t);return Object.setPrototypeOf(n,u.prototype),n},u.prototype.readUintLE=u.prototype.readUIntLE=function(e,t,r){e>>>=0,t>>>=0,r||I(e,t,this.length);let n=this[e],i=1,o=0;for(;++o<t&&(i*=256);)n+=this[e+o]*i;return n},u.prototype.readUintBE=u.prototype.readUIntBE=function(e,t,r){e>>>=0,t>>>=0,r||I(e,t,this.length);let n=this[e+--t],i=1;for(;t>0&&(i*=256);)n+=this[e+--t]*i;return n},u.prototype.readUint8=u.prototype.readUInt8=function(e,t){return e>>>=0,t||I(e,1,this.length),this[e]},u.prototype.readUint16LE=u.prototype.readUInt16LE=function(e,t){return e>>>=0,t||I(e,2,this.length),this[e]|this[e+1]<<8},u.prototype.readUint16BE=u.prototype.readUInt16BE=function(e,t){return e>>>=0,t||I(e,2,this.length),this[e]<<8|this[e+1]},u.prototype.readUint32LE=u.prototype.readUInt32LE=function(e,t){return e>>>=0,t||I(e,4,this.length),(this[e]|this[e+1]<<8|this[e+2]<<16)+16777216*this[e+3]},u.prototype.readUint32BE=u.prototype.readUInt32BE=function(e,t){return e>>>=0,t||I(e,4,this.length),16777216*this[e]+(this[e+1]<<16|this[e+2]<<8|this[e+3])},u.prototype.readBigUInt64LE=Z(function(e){H(e>>>=0,"offset");const t=this[e],r=this[e+7];void 0!==t&&void 0!==r||V(e,this.length-8);const n=t+256*this[++e]+65536*this[++e]+this[++e]*2**24,i=this[++e]+256*this[++e]+65536*this[++e]+r*2**24;return BigInt(n)+(BigInt(i)<<BigInt(32))}),u.prototype.readBigUInt64BE=Z(function(e){H(e>>>=0,"offset");const t=this[e],r=this[e+7];void 0!==t&&void 0!==r||V(e,this.length-8);const n=t*2**24+65536*this[++e]+256*this[++e]+this[++e],i=this[++e]*2**24+65536*this[++e]+256*this[++e]+r;return(BigInt(n)<<BigInt(32))+BigInt(i)}),u.prototype.readIntLE=function(e,t,r){e>>>=0,t>>>=0,r||I(e,t,this.length);let n=this[e],i=1,o=0;for(;++o<t&&(i*=256);)n+=this[e+o]*i;return i*=128,n>=i&&(n-=Math.pow(2,8*t)),n},u.prototype.readIntBE=function(e,t,r){e>>>=0,t>>>=0,r||I(e,t,this.length);let n=t,i=1,o=this[e+--n];for(;n>0&&(i*=256);)o+=this[e+--n]*i;return i*=128,o>=i&&(o-=Math.pow(2,8*t)),o},u.prototype.readInt8=function(e,t){return e>>>=0,t||I(e,1,this.length),128&this[e]?-1*(255-this[e]+1):this[e]},u.prototype.readInt16LE=function(e,t){e>>>=0,t||I(e,2,this.length);const r=this[e]|this[e+1]<<8;return 32768&r?4294901760|r:r},u.prototype.readInt16BE=function(e,t){e>>>=0,t||I(e,2,this.length);const r=this[e+1]|this[e]<<8;return 32768&r?4294901760|r:r},u.prototype.readInt32LE=function(e,t){return e>>>=0,t||I(e,4,this.length),this[e]|this[e+1]<<8|this[e+2]<<16|this[e+3]<<24},u.prototype.readInt32BE=function(e,t){return e>>>=0,t||I(e,4,this.length),this[e]<<24|this[e+1]<<16|this[e+2]<<8|this[e+3]},u.prototype.readBigInt64LE=Z(function(e){H(e>>>=0,"offset");const t=this[e],r=this[e+7];void 0!==t&&void 0!==r||V(e,this.length-8);const n=this[e+4]+256*this[e+5]+65536*this[e+6]+(r<<24);return(BigInt(n)<<BigInt(32))+BigInt(t+256*this[++e]+65536*this[++e]+this[++e]*2**24)}),u.prototype.readBigInt64BE=Z(function(e){H(e>>>=0,"offset");const t=this[e],r=this[e+7];void 0!==t&&void 0!==r||V(e,this.length-8);const n=(t<<24)+65536*this[++e]+256*this[++e]+this[++e];return(BigInt(n)<<BigInt(32))+BigInt(this[++e]*2**24+65536*this[++e]+256*this[++e]+r)}),u.prototype.readFloatLE=function(e,t){return e>>>=0,t||I(e,4,this.length),i.read(this,e,!0,23,4)},u.prototype.readFloatBE=function(e,t){return e>>>=0,t||I(e,4,this.length),i.read(this,e,!1,23,4)},u.prototype.readDoubleLE=function(e,t){return e>>>=0,t||I(e,8,this.length),i.read(this,e,!0,52,8)},u.prototype.readDoubleBE=function(e,t){return e>>>=0,t||I(e,8,this.length),i.read(this,e,!1,52,8)},u.prototype.writeUintLE=u.prototype.writeUIntLE=function(e,t,r,n){e=+e,t>>>=0,r>>>=0,n||N(this,e,t,r,Math.pow(2,8*r)-1,0);let i=1,o=0;for(this[t]=255&e;++o<r&&(i*=256);)this[t+o]=e/i&255;return t+r},u.prototype.writeUintBE=u.prototype.writeUIntBE=function(e,t,r,n){e=+e,t>>>=0,r>>>=0,n||N(this,e,t,r,Math.pow(2,8*r)-1,0);let i=r-1,o=1;for(this[t+i]=255&e;--i>=0&&(o*=256);)this[t+i]=e/o&255;return t+r},u.prototype.writeUint8=u.prototype.writeUInt8=function(e,t,r){return e=+e,t>>>=0,r||N(this,e,t,1,255,0),this[t]=255&e,t+1},u.prototype.writeUint16LE=u.prototype.writeUInt16LE=function(e,t,r){return e=+e,t>>>=0,r||N(this,e,t,2,65535,0),this[t]=255&e,this[t+1]=e>>>8,t+2},u.prototype.writeUint16BE=u.prototype.writeUInt16BE=function(e,t,r){return e=+e,t>>>=0,r||N(this,e,t,2,65535,0),this[t]=e>>>8,this[t+1]=255&e,t+2},u.prototype.writeUint32LE=u.prototype.writeUInt32LE=function(e,t,r){return e=+e,t>>>=0,r||N(this,e,t,4,4294967295,0),this[t+3]=e>>>24,this[t+2]=e>>>16,this[t+1]=e>>>8,this[t]=255&e,t+4},u.prototype.writeUint32BE=u.prototype.writeUInt32BE=function(e,t,r){return e=+e,t>>>=0,r||N(this,e,t,4,4294967295,0),this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e,t+4},u.prototype.writeBigUInt64LE=Z(function(e,t=0){return j(this,e,t,BigInt(0),BigInt("0xffffffffffffffff"))}),u.prototype.writeBigUInt64BE=Z(function(e,t=0){return R(this,e,t,BigInt(0),BigInt("0xffffffffffffffff"))}),u.prototype.writeIntLE=function(e,t,r,n){if(e=+e,t>>>=0,!n){const n=Math.pow(2,8*r-1);N(this,e,t,r,n-1,-n)}let i=0,o=1,a=0;for(this[t]=255&e;++i<r&&(o*=256);)e<0&&0===a&&0!==this[t+i-1]&&(a=1),this[t+i]=(e/o|0)-a&255;return t+r},u.prototype.writeIntBE=function(e,t,r,n){if(e=+e,t>>>=0,!n){const n=Math.pow(2,8*r-1);N(this,e,t,r,n-1,-n)}let i=r-1,o=1,a=0;for(this[t+i]=255&e;--i>=0&&(o*=256);)e<0&&0===a&&0!==this[t+i+1]&&(a=1),this[t+i]=(e/o|0)-a&255;return t+r},u.prototype.writeInt8=function(e,t,r){return e=+e,t>>>=0,r||N(this,e,t,1,127,-128),e<0&&(e=255+e+1),this[t]=255&e,t+1},u.prototype.writeInt16LE=function(e,t,r){return e=+e,t>>>=0,r||N(this,e,t,2,32767,-32768),this[t]=255&e,this[t+1]=e>>>8,t+2},u.prototype.writeInt16BE=function(e,t,r){return e=+e,t>>>=0,r||N(this,e,t,2,32767,-32768),this[t]=e>>>8,this[t+1]=255&e,t+2},u.prototype.writeInt32LE=function(e,t,r){return e=+e,t>>>=0,r||N(this,e,t,4,2147483647,-2147483648),this[t]=255&e,this[t+1]=e>>>8,this[t+2]=e>>>16,this[t+3]=e>>>24,t+4},u.prototype.writeInt32BE=function(e,t,r){return e=+e,t>>>=0,r||N(this,e,t,4,2147483647,-2147483648),e<0&&(e=4294967295+e+1),this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e,t+4},u.prototype.writeBigInt64LE=Z(function(e,t=0){return j(this,e,t,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))}),u.prototype.writeBigInt64BE=Z(function(e,t=0){return R(this,e,t,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))}),u.prototype.writeFloatLE=function(e,t,r){return M(this,e,t,!0,r)},u.prototype.writeFloatBE=function(e,t,r){return M(this,e,t,!1,r)},u.prototype.writeDoubleLE=function(e,t,r){return U(this,e,t,!0,r)},u.prototype.writeDoubleBE=function(e,t,r){return U(this,e,t,!1,r)},u.prototype.copy=function(e,t,r,n){if(!u.isBuffer(e))throw new TypeError("argument should be a Buffer");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("Index out of range");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);const i=n-r;return this===e&&"function"==typeof Uint8Array.prototype.copyWithin?this.copyWithin(t,r,n):Uint8Array.prototype.set.call(e,this.subarray(r,n),t),i},u.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),void 0!==n&&"string"!=typeof n)throw new TypeError("encoding must be a string");if("string"==typeof n&&!u.isEncoding(n))throw new TypeError("Unknown encoding: "+n);if(1===e.length){const t=e.charCodeAt(0);("utf8"===n&&t<128||"latin1"===n)&&(e=t)}}else"number"==typeof e?e&=255:"boolean"==typeof e&&(e=Number(e));if(t<0||this.length<t||this.length<r)throw new RangeError("Out of range index");if(r<=t)return this;let 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{const o=u.isBuffer(e)?e:u.from(e,n),a=o.length;if(0===a)throw new TypeError('The value "'+e+'" is invalid for argument "value"');for(i=0;i<r-t;++i)this[i+t]=o[i%a]}return this};const B={};function F(e,t,r){B[e]=class extends r{constructor(){super(),Object.defineProperty(this,"message",{value:t.apply(this,arguments),writable:!0,configurable:!0}),this.name=`${this.name} [${e}]`,this.stack,delete this.name}get code(){return e}set code(e){Object.defineProperty(this,"code",{configurable:!0,enumerable:!0,value:e,writable:!0})}toString(){return`${this.name} [${e}]: ${this.message}`}}}function q(e){let t="",r=e.length;const n="-"===e[0]?1:0;for(;r>=n+4;r-=3)t=`_${e.slice(r-3,r)}${t}`;return`${e.slice(0,r)}${t}`}function W(e,t,r,n,i,o){if(e>r||e<t){const n="bigint"==typeof t?"n":"";let i;throw i=o>3?0===t||t===BigInt(0)?`>= 0${n} and < 2${n} ** ${8*(o+1)}${n}`:`>= -(2${n} ** ${8*(o+1)-1}${n}) and < 2 ** ${8*(o+1)-1}${n}`:`>= ${t}${n} and <= ${r}${n}`,new B.ERR_OUT_OF_RANGE("value",i,e)}!function(e,t,r){H(t,"offset"),void 0!==e[t]&&void 0!==e[t+r]||V(t,e.length-(r+1))}(n,i,o)}function H(e,t){if("number"!=typeof e)throw new B.ERR_INVALID_ARG_TYPE(t,"number",e)}function V(e,t,r){if(Math.floor(e)!==e)throw H(e,r),new B.ERR_OUT_OF_RANGE(r||"offset","an integer",e);if(t<0)throw new B.ERR_BUFFER_OUT_OF_BOUNDS;throw new B.ERR_OUT_OF_RANGE(r||"offset",`>= ${r?1:0} and <= ${t}`,e)}F("ERR_BUFFER_OUT_OF_BOUNDS",function(e){return e?`${e} is outside of buffer bounds`:"Attempt to access memory outside buffer bounds"},RangeError),F("ERR_INVALID_ARG_TYPE",function(e,t){return`The "${e}" argument must be of type number. Received type ${typeof t}`},TypeError),F("ERR_OUT_OF_RANGE",function(e,t,r){let n=`The value of "${e}" is out of range.`,i=r;return Number.isInteger(r)&&Math.abs(r)>2**32?i=q(String(r)):"bigint"==typeof r&&(i=String(r),(r>BigInt(2)**BigInt(32)||r<-(BigInt(2)**BigInt(32)))&&(i=q(i)),i+="n"),n+=` It must be ${t}. Received ${i}`,n},RangeError);const z=/[^+/0-9A-Za-z-_]/g;function G(e,t){let r;t=t||1/0;const n=e.length;let i=null;const o=[];for(let a=0;a<n;++a){if(r=e.charCodeAt(a),r>55295&&r<57344){if(!i){if(r>56319){(t-=3)>-1&&o.push(239,191,189);continue}if(a+1===n){(t-=3)>-1&&o.push(239,191,189);continue}i=r;continue}if(r<56320){(t-=3)>-1&&o.push(239,191,189),i=r;continue}r=65536+(i-55296<<10|r-56320)}else i&&(t-=3)>-1&&o.push(239,191,189);if(i=null,r<128){if((t-=1)<0)break;o.push(r)}else if(r<2048){if((t-=2)<0)break;o.push(r>>6|192,63&r|128)}else if(r<65536){if((t-=3)<0)break;o.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;o.push(r>>18|240,r>>12&63|128,r>>6&63|128,63&r|128)}}return o}function K(e){return n.toByteArray(function(e){if((e=(e=e.split("=")[0]).trim().replace(z,"")).length<2)return"";for(;e.length%4!=0;)e+="=";return e}(e))}function $(e,t,r,n){let i;for(i=0;i<n&&!(i+r>=t.length||i>=e.length);++i)t[i+r]=e[i];return i}function Q(e,t){return e instanceof t||null!=e&&null!=e.constructor&&null!=e.constructor.name&&e.constructor.name===t.name}function Y(e){return e!=e}const X=function(){const e="0123456789abcdef",t=new Array(256);for(let r=0;r<16;++r){const n=16*r;for(let i=0;i<16;++i)t[n+i]=e[r]+e[i]}return t}();function Z(e){return"undefined"==typeof BigInt?J:e}function J(){throw new Error("BigInt not supported")}},55510(e){"use strict";var t=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===r}(e)}(e)},r="function"==typeof Symbol&&Symbol.for?Symbol.for("react.element"):60103;function n(e,t){return!1!==t.clone&&t.isMergeableObject(e)?s((r=e,Array.isArray(r)?[]:{}),e,t):e;var r}function i(e,t,r){return e.concat(t).map(function(e){return n(e,r)})}function o(e){return Object.keys(e).concat(function(e){return Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(e).filter(function(t){return Object.propertyIsEnumerable.call(e,t)}):[]}(e))}function a(e,t){try{return t in e}catch(e){return!1}}function s(e,r,u){(u=u||{}).arrayMerge=u.arrayMerge||i,u.isMergeableObject=u.isMergeableObject||t,u.cloneUnlessOtherwiseSpecified=n;var l=Array.isArray(r);return l===Array.isArray(e)?l?u.arrayMerge(e,r,u):function(e,t,r){var i={};return r.isMergeableObject(e)&&o(e).forEach(function(t){i[t]=n(e[t],r)}),o(t).forEach(function(o){(function(e,t){return a(e,t)&&!(Object.hasOwnProperty.call(e,t)&&Object.propertyIsEnumerable.call(e,t))})(e,o)||(a(e,o)&&r.isMergeableObject(t[o])?i[o]=function(e,t){if(!t.customMerge)return s;var r=t.customMerge(e);return"function"==typeof r?r:s}(o,r)(e[o],t[o],r):i[o]=n(t[o],r))}),i}(e,r,u):n(r,u)}s.all=function(e,t){if(!Array.isArray(e))throw new Error("first argument should be an array");return e.reduce(function(e,r){return s(e,r,t)},{})};var u=s;e.exports=u},8157(e,t,r){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 i(){return"undefined"==typeof navigator&&"undefined"!=typeof process?{name:"node",version:process.version.slice(1),os:r(54090).type().toLowerCase()}:null}function o(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(){return i()||("undefined"!=typeof navigator?o(navigator.userAgent):null)},detectOS:n,getNodeVersion:i,parseUserAgent:o}},54226(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.attributeNames=t.elementNames=void 0,t.elementNames=new Map(["altGlyph","altGlyphDef","altGlyphItem","animateColor","animateMotion","animateTransform","clipPath","feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feDropShadow","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence","foreignObject","glyphRef","linearGradient","radialGradient","textPath"].map(function(e){return[e.toLowerCase(),e]})),t.attributeNames=new Map(["definitionURL","attributeName","attributeType","baseFrequency","baseProfile","calcMode","clipPathUnits","diffuseConstant","edgeMode","filterUnits","glyphRef","gradientTransform","gradientUnits","kernelMatrix","kernelUnitLength","keyPoints","keySplines","keyTimes","lengthAdjust","limitingConeAngle","markerHeight","markerUnits","markerWidth","maskContentUnits","maskUnits","numOctaves","pathLength","patternContentUnits","patternTransform","patternUnits","pointsAtX","pointsAtY","pointsAtZ","preserveAlpha","preserveAspectRatio","primitiveUnits","refX","refY","repeatCount","repeatDur","requiredExtensions","requiredFeatures","specularConstant","specularExponent","spreadMethod","startOffset","stdDeviation","stitchTiles","surfaceScale","systemLanguage","tableValues","targetX","targetY","textLength","viewBox","viewTarget","xChannelSelector","yChannelSelector","zoomAndPan"].map(function(e){return[e.toLowerCase(),e]}))},37995(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 i in t=arguments[r])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e},n.apply(this,arguments)},i=this&&this.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r);var i=Object.getOwnPropertyDescriptor(t,r);i&&!("get"in i?!t.__esModule:i.writable||i.configurable)||(i={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,n,i)}: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}),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)&&i(t,e,r);return o(t,e),t};Object.defineProperty(t,"__esModule",{value:!0}),t.render=void 0;var s=a(r(65811)),u=r(31360),l=r(54226),c=new Set(["style","script","xmp","iframe","noembed","noframes","plaintext","noscript"]);function d(e){return e.replace(/"/g,""")}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="",i=0;i<r.length;i++)n+=h(r[i],t);return n}function h(e,t){switch(e.type){case s.Root:return p(e.children,t);case s.Doctype:case s.Directive:return"<".concat(e.data,">");case s.Comment:return"\x3c!--".concat(e.data,"--\x3e");case s.CDATA:return function(e){return"<![CDATA[".concat(e.children[0].data,"]]>")}(e);case s.Script:case s.Style:case s.Tag:return function(e,t){var r;"foreign"===t.xmlMode&&(e.name=null!==(r=l.elementNames.get(e.name))&&void 0!==r?r:e.name,e.parent&&m.has(e.parent.name)&&(t=n(n({},t),{xmlMode:!1}))),!t.xmlMode&&g.has(e.name)&&(t=n(n({},t),{xmlMode:"foreign"}));var i="<".concat(e.name),o=function(e,t){var r;if(e){var n=!1===(null!==(r=t.encodeEntities)&&void 0!==r?r:t.decodeEntities)?d:t.xmlMode||"utf8"!==t.encodeEntities?u.encodeXML:u.escapeAttribute;return Object.keys(e).map(function(r){var i,o,a=null!==(i=e[r])&&void 0!==i?i:"";return"foreign"===t.xmlMode&&(r=null!==(o=l.attributeNames.get(r))&&void 0!==o?o:r),t.emptyAttrs||t.xmlMode||""!==a?"".concat(r,'="').concat(n(a),'"'):r}).join(" ")}}(e.attribs,t);return o&&(i+=" ".concat(o)),0===e.children.length&&(t.xmlMode?!1!==t.selfClosingTags:t.selfClosingTags&&f.has(e.name))?(t.xmlMode||(i+=" "),i+="/>"):(i+=">",e.children.length>0&&(i+=p(e.children,t)),!t.xmlMode&&f.has(e.name)||(i+="</".concat(e.name,">"))),i}(e,t);case s.Text:return function(e,t){var r,n=e.data||"";return!1===(null!==(r=t.encodeEntities)&&void 0!==r?r:t.decodeEntities)||!t.xmlMode&&e.parent&&c.has(e.parent.name)||(n=t.xmlMode||"utf8"!==t.encodeEntities?(0,u.encodeXML)(n):(0,u.escapeText)(n)),n}(e,t)}}t.render=p,t.default=p;var m=new Set(["mi","mo","mn","ms","mtext","annotation-xml","foreignObject","desc","title"]),g=new Set(["svg","math"])},65811(e,t){"use strict";var r;Object.defineProperty(t,"__esModule",{value:!0}),t.Doctype=t.CDATA=t.Tag=t.Style=t.Script=t.Comment=t.Directive=t.Text=t.Root=t.isTag=t.ElementType=void 0,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"}(r=t.ElementType||(t.ElementType={})),t.isTag=function(e){return e.type===r.Tag||e.type===r.Script||e.type===r.Style},t.Root=r.Root,t.Text=r.Text,t.Directive=r.Directive,t.Comment=r.Comment,t.Script=r.Script,t.Style=r.Style,t.Tag=r.Tag,t.CDATA=r.CDATA,t.Doctype=r.Doctype},60023(e,t,r){"use strict";var n=this&&this.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r);var i=Object.getOwnPropertyDescriptor(t,r);i&&!("get"in i?!t.__esModule:i.writable||i.configurable)||(i={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,n,i)}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]}),i=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 o=r(65811),a=r(5511);i(r(5511),t);var s={withStartIndices:!1,withEndIndices:!1,xmlMode:!1},u=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?o.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.lastNode;if(t&&t.type===o.ElementType.Text)t.data+=e,this.options.withEndIndices&&(t.endIndex=this.parser.endIndex);else{var r=new a.Text(e);this.addNode(r),this.lastNode=r}},e.prototype.oncomment=function(e){if(this.lastNode&&this.lastNode.type===o.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.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=u,t.default=u},5511(e,t,r){"use strict";var n,i=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])},n(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)}),o=this&&this.__assign||function(){return o=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var i in t=arguments[r])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e},o.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.CDATA=t.NodeWithChildren=t.ProcessingInstruction=t.Comment=t.Text=t.DataNode=t.Node=void 0;var a=r(65811),s=function(){function e(){this.parent=null,this.prev=null,this.next=null,this.startIndex=null,this.endIndex=null}return 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),E(this,e)},e}();t.Node=s;var u=function(e){function t(t){var r=e.call(this)||this;return r.data=t,r}return i(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=u;var l=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.type=a.ElementType.Text,t}return i(t,e),Object.defineProperty(t.prototype,"nodeType",{get:function(){return 3},enumerable:!1,configurable:!0}),t}(u);t.Text=l;var c=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.type=a.ElementType.Comment,t}return i(t,e),Object.defineProperty(t.prototype,"nodeType",{get:function(){return 8},enumerable:!1,configurable:!0}),t}(u);t.Comment=c;var d=function(e){function t(t,r){var n=e.call(this,r)||this;return n.name=t,n.type=a.ElementType.Directive,n}return i(t,e),Object.defineProperty(t.prototype,"nodeType",{get:function(){return 1},enumerable:!1,configurable:!0}),t}(u);t.ProcessingInstruction=d;var f=function(e){function t(t){var r=e.call(this)||this;return r.children=t,r}return i(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=f;var p=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.type=a.ElementType.CDATA,t}return i(t,e),Object.defineProperty(t.prototype,"nodeType",{get:function(){return 4},enumerable:!1,configurable:!0}),t}(f);t.CDATA=p;var h=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.type=a.ElementType.Root,t}return i(t,e),Object.defineProperty(t.prototype,"nodeType",{get:function(){return 9},enumerable:!1,configurable:!0}),t}(f);t.Document=h;var m=function(e){function t(t,r,n,i){void 0===n&&(n=[]),void 0===i&&(i="script"===t?a.ElementType.Script:"style"===t?a.ElementType.Style:a.ElementType.Tag);var o=e.call(this,n)||this;return o.name=t,o.attribs=r,o.type=i,o}return i(t,e),Object.defineProperty(t.prototype,"nodeType",{get:function(){return 1},enumerable:!1,configurable:!0}),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}(f);function g(e){return(0,a.isTag)(e)}function y(e){return e.type===a.ElementType.CDATA}function b(e){return e.type===a.ElementType.Text}function v(e){return e.type===a.ElementType.Comment}function S(e){return e.type===a.ElementType.Directive}function w(e){return e.type===a.ElementType.Root}function E(e,t){var r;if(void 0===t&&(t=!1),b(e))r=new l(e.data);else if(v(e))r=new c(e.data);else if(g(e)){var n=t?_(e.children):[],i=new m(e.name,o({},e.attribs),n);n.forEach(function(e){return e.parent=i}),null!=e.namespace&&(i.namespace=e.namespace),e["x-attribsNamespace"]&&(i["x-attribsNamespace"]=o({},e["x-attribsNamespace"])),e["x-attribsPrefix"]&&(i["x-attribsPrefix"]=o({},e["x-attribsPrefix"])),r=i}else if(y(e)){n=t?_(e.children):[];var a=new p(n);n.forEach(function(e){return e.parent=a}),r=a}else if(w(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(!S(e))throw new Error("Not implemented yet: ".concat(e.type));var u=new d(e.name,e.data);null!=e["x-name"]&&(u["x-name"]=e["x-name"],u["x-publicId"]=e["x-publicId"],u["x-systemId"]=e["x-systemId"]),r=u}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 E(e,!0)}),r=1;r<t.length;r++)t[r].prev=t[r-1],t[r-1].next=t[r];return t}t.Element=m,t.isTag=g,t.isCDATA=y,t.isText=b,t.isComment=v,t.isDirective=S,t.isDocument=w,t.hasChildren=function(e){return Object.prototype.hasOwnProperty.call(e,"children")},t.cloneNode=E},77951(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getFeed=function(e){var t=u(d,e);return t?"feed"===t.name?function(e){var t,r=e.children,n={type:"atom",items:(0,i.getElementsByTagName)("entry",r).map(function(e){var t,r=e.children,n={media:s(r)};c(n,"id","id",r),c(n,"title","title",r);var i=null===(t=u("link",r))||void 0===t?void 0:t.attribs.href;i&&(n.link=i);var o=l("summary",r)||l("content",r);o&&(n.description=o);var a=l("updated",r);return a&&(n.pubDate=new Date(a)),n})};c(n,"id","id",r),c(n,"title","title",r);var o=null===(t=u("link",r))||void 0===t?void 0:t.attribs.href;o&&(n.link=o),c(n,"description","subtitle",r);var a=l("updated",r);return a&&(n.updated=new Date(a)),c(n,"author","email",r,!0),n}(t):function(e){var t,r,n=null!==(r=null===(t=u("channel",e.children))||void 0===t?void 0:t.children)&&void 0!==r?r:[],o={type:e.name.substr(0,3),id:"",items:(0,i.getElementsByTagName)("item",e.children).map(function(e){var t=e.children,r={media:s(t)};c(r,"id","guid",t),c(r,"title","title",t),c(r,"link","link",t),c(r,"description","description",t);var n=l("pubDate",t)||l("dc:date",t);return n&&(r.pubDate=new Date(n)),r})};c(o,"title","title",n),c(o,"link","link",n),c(o,"description","description",n);var a=l("lastBuildDate",n);return a&&(o.updated=new Date(a)),c(o,"author","managingEditor",n,!0),o}(t):null};var n=r(6779),i=r(63679),o=["url","type","lang"],a=["fileSize","bitrate","framerate","samplingrate","channels","duration","height","width"];function s(e){return(0,i.getElementsByTagName)("media:content",e).map(function(e){for(var t=e.attribs,r={medium:t.medium,isDefault:!!t.isDefault},n=0,i=o;n<i.length;n++)t[l=i[n]]&&(r[l]=t[l]);for(var s=0,u=a;s<u.length;s++){var l;t[l=u[s]]&&(r[l]=parseInt(t[l],10))}return t.expression&&(r.expression=t.expression),r})}function u(e,t){return(0,i.getElementsByTagName)(e,t,!0,1)[0]}function l(e,t,r){return void 0===r&&(r=!1),(0,n.textContent)((0,i.getElementsByTagName)(e,t,r,1)).trim()}function c(e,t,r,n,i){void 0===i&&(i=!1);var o=l(r,n,i);o&&(e[t]=o)}function d(e){return"rss"===e||"feed"===e||"rdf:RDF"===e}},91575(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.DocumentPosition=void 0,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 r&n.PRECEDING?-1:r&n.FOLLOWING?1:0}),e};var n,i=r(60023);function o(e,t){var r=[],o=[];if(e===t)return 0;for(var a=(0,i.hasChildren)(e)?e:e.parent;a;)r.unshift(a),a=a.parent;for(a=(0,i.hasChildren)(t)?t:t.parent;a;)o.unshift(a),a=a.parent;for(var s=Math.min(r.length,o.length),u=0;u<s&&r[u]===o[u];)u++;if(0===u)return n.DISCONNECTED;var l=r[u-1],c=l.children,d=r[u],f=o[u];return c.indexOf(d)>c.indexOf(f)?l===t?n.FOLLOWING|n.CONTAINED_BY:n.FOLLOWING:l===e?n.PRECEDING|n.CONTAINS:n.PRECEDING}!function(e){e[e.DISCONNECTED=1]="DISCONNECTED",e[e.PRECEDING=2]="PRECEDING",e[e.FOLLOWING=4]="FOLLOWING",e[e.CONTAINS=8]="CONTAINS",e[e.CONTAINED_BY=16]="CONTAINED_BY"}(n||(t.DocumentPosition=n={}))},79238(e,t,r){"use strict";var n=this&&this.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r);var i=Object.getOwnPropertyDescriptor(t,r);i&&!("get"in i?!t.__esModule:i.writable||i.configurable)||(i={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,n,i)}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]}),i=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,i(r(6779),t),i(r(42236),t),i(r(75685),t),i(r(15664),t),i(r(63679),t),i(r(91575),t),i(r(77951),t);var o=r(60023);Object.defineProperty(t,"isTag",{enumerable:!0,get:function(){return o.isTag}}),Object.defineProperty(t,"isCDATA",{enumerable:!0,get:function(){return o.isCDATA}}),Object.defineProperty(t,"isText",{enumerable:!0,get:function(){return o.isText}}),Object.defineProperty(t,"isComment",{enumerable:!0,get:function(){return o.isComment}}),Object.defineProperty(t,"isDocument",{enumerable:!0,get:function(){return o.isDocument}}),Object.defineProperty(t,"hasChildren",{enumerable:!0,get:function(){return o.hasChildren}})},63679(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.testElement=function(e,t){var r=u(e);return!r||r(t)},t.getElements=function(e,t,r,n){void 0===n&&(n=1/0);var o=u(e);return o?(0,i.filter)(o,t,r,n):[]},t.getElementById=function(e,t,r){return void 0===r&&(r=!0),Array.isArray(t)||(t=[t]),(0,i.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,i.filter)(o.tag_name(e),t,r,n)},t.getElementsByClassName=function(e,t,r,n){return void 0===r&&(r=!0),void 0===n&&(n=1/0),(0,i.filter)(a("class",e),t,r,n)},t.getElementsByTagType=function(e,t,r,n){return void 0===r&&(r=!0),void 0===n&&(n=1/0),(0,i.filter)(o.tag_type(e),t,r,n)};var n=r(60023),i=r(15664),o={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 s(e,t){return function(r){return e(r)||t(r)}}function u(e){var t=Object.keys(e).map(function(t){var r=e[t];return Object.prototype.hasOwnProperty.call(o,t)?o[t](r):a(t,r)});return 0===t.length?null:t.reduce(s)}},75685(e,t){"use strict";function r(e){if(e.prev&&(e.prev.next=e.next),e.next&&(e.next.prev=e.prev),e.parent){var t=e.parent.children,r=t.lastIndexOf(e);r>=0&&t.splice(r,1)}e.next=null,e.prev=null,e.parent=null}Object.defineProperty(t,"__esModule",{value:!0}),t.removeElement=r,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 i=t.parent=e.parent;if(i){var o=i.children;o[o.lastIndexOf(e)]=t,e.parent=null}},t.appendChild=function(e,t){if(r(t),t.next=null,t.parent=e,e.children.push(t)>1){var n=e.children[e.children.length-2];n.next=t,t.prev=n}else t.prev=null},t.append=function(e,t){r(t);var n=e.parent,i=e.next;if(t.next=i,t.prev=e,e.next=t,t.parent=n,i){if(i.prev=t,n){var o=n.children;o.splice(o.lastIndexOf(i),0,t)}}else n&&n.children.push(t)},t.prependChild=function(e,t){if(r(t),t.parent=e,t.prev=null,1!==e.children.unshift(t)){var n=e.children[1];n.prev=t,t.next=n}else t.next=null},t.prepend=function(e,t){r(t);var n=e.parent;if(n){var i=n.children;i.splice(i.indexOf(e),0,t)}e.prev&&(e.prev.next=t),t.parent=n,t.prev=e.prev,t.next=e,e.prev=t}},15664(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.filter=function(e,t,r,n){return void 0===r&&(r=!0),void 0===n&&(n=1/0),i(e,Array.isArray(t)?t:[t],r,n)},t.find=i,t.findOneChild=function(e,t){return t.find(e)},t.findOne=function e(t,r,i){void 0===i&&(i=!0);for(var o=Array.isArray(r)?r:[r],a=0;a<o.length;a++){var s=o[a];if((0,n.isTag)(s)&&t(s))return s;if(i&&(0,n.hasChildren)(s)&&s.children.length>0){var u=e(t,s.children,!0);if(u)return u}}return null},t.existsOne=function e(t,r){return(Array.isArray(r)?r:[r]).some(function(r){return(0,n.isTag)(r)&&t(r)||(0,n.hasChildren)(r)&&e(t,r.children)})},t.findAll=function(e,t){for(var r=[],i=[Array.isArray(t)?t:[t]],o=[0];;)if(o[0]>=i[0].length){if(1===i.length)return r;i.shift(),o.shift()}else{var a=i[0][o[0]++];(0,n.isTag)(a)&&e(a)&&r.push(a),(0,n.hasChildren)(a)&&a.children.length>0&&(o.unshift(0),i.unshift(a.children))}};var n=r(60023);function i(e,t,r,i){for(var o=[],a=[Array.isArray(t)?t:[t]],s=[0];;)if(s[0]>=a[0].length){if(1===s.length)return o;a.shift(),s.shift()}else{var u=a[0][s[0]++];if(e(u)&&(o.push(u),--i<=0))return o;r&&(0,n.hasChildren)(u)&&u.children.length>0&&(s.unshift(0),a.unshift(u.children))}}},6779(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.getOuterHTML=s,t.getInnerHTML=function(e,t){return(0,i.hasChildren)(e)?e.children.map(function(e){return s(e,t)}).join(""):""},t.getText=function e(t){return Array.isArray(t)?t.map(e).join(""):(0,i.isTag)(t)?"br"===t.name?"\n":e(t.children):(0,i.isCDATA)(t)?e(t.children):(0,i.isText)(t)?t.data:""},t.textContent=function e(t){return Array.isArray(t)?t.map(e).join(""):(0,i.hasChildren)(t)&&!(0,i.isComment)(t)?e(t.children):(0,i.isText)(t)?t.data:""},t.innerText=function e(t){return Array.isArray(t)?t.map(e).join(""):(0,i.hasChildren)(t)&&(t.type===a.ElementType.Tag||(0,i.isCDATA)(t))?e(t.children):(0,i.isText)(t)?t.data:""};var i=r(60023),o=n(r(37995)),a=r(65811);function s(e,t){return(0,o.default)(e,t)}},42236(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getChildren=i,t.getParent=o,t.getSiblings=function(e){var t=o(e);if(null!=t)return i(t);for(var r=[e],n=e.prev,a=e.next;null!=n;)r.unshift(n),n=n.prev;for(;null!=a;)r.push(a),a=a.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};var n=r(60023);function i(e){return(0,n.hasChildren)(e)?e.children:[]}function o(e){return e.parent||null}},5972(e,t,r){"use strict";var n=this&&this.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r);var i=Object.getOwnPropertyDescriptor(t,r);i&&!("get"in i?!t.__esModule:i.writable||i.configurable)||(i={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,n,i)}: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}),o=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 i(t,e),t},a=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.decodeXML=t.decodeHTMLStrict=t.decodeHTMLAttribute=t.decodeHTML=t.determineBranch=t.EntityDecoder=t.DecodingMode=t.BinTrieFlags=t.fromCodePoint=t.replaceCodePoint=t.decodeCodePoint=t.xmlDecodeTree=t.htmlDecodeTree=void 0;var s=a(r(84057));t.htmlDecodeTree=s.default;var u=a(r(96615));t.xmlDecodeTree=u.default;var l=o(r(81946));t.decodeCodePoint=l.default;var c,d,f,p,h=r(81946);function m(e){return e>=c.ZERO&&e<=c.NINE}function g(e){return e>=c.UPPER_A&&e<=c.UPPER_F||e>=c.LOWER_A&&e<=c.LOWER_F}function y(e){return e===c.EQUALS||function(e){return e>=c.UPPER_A&&e<=c.UPPER_Z||e>=c.LOWER_A&&e<=c.LOWER_Z||m(e)}(e)}Object.defineProperty(t,"replaceCodePoint",{enumerable:!0,get:function(){return h.replaceCodePoint}}),Object.defineProperty(t,"fromCodePoint",{enumerable:!0,get:function(){return h.fromCodePoint}}),function(e){e[e.NUM=35]="NUM",e[e.SEMI=59]="SEMI",e[e.EQUALS=61]="EQUALS",e[e.ZERO=48]="ZERO",e[e.NINE=57]="NINE",e[e.LOWER_A=97]="LOWER_A",e[e.LOWER_F=102]="LOWER_F",e[e.LOWER_X=120]="LOWER_X",e[e.LOWER_Z=122]="LOWER_Z",e[e.UPPER_A=65]="UPPER_A",e[e.UPPER_F=70]="UPPER_F",e[e.UPPER_Z=90]="UPPER_Z"}(c||(c={})),function(e){e[e.VALUE_LENGTH=49152]="VALUE_LENGTH",e[e.BRANCH_LENGTH=16256]="BRANCH_LENGTH",e[e.JUMP_TABLE=127]="JUMP_TABLE"}(d=t.BinTrieFlags||(t.BinTrieFlags={})),function(e){e[e.EntityStart=0]="EntityStart",e[e.NumericStart=1]="NumericStart",e[e.NumericDecimal=2]="NumericDecimal",e[e.NumericHex=3]="NumericHex",e[e.NamedEntity=4]="NamedEntity"}(f||(f={})),function(e){e[e.Legacy=0]="Legacy",e[e.Strict=1]="Strict",e[e.Attribute=2]="Attribute"}(p=t.DecodingMode||(t.DecodingMode={}));var b=function(){function e(e,t,r){this.decodeTree=e,this.emitCodePoint=t,this.errors=r,this.state=f.EntityStart,this.consumed=1,this.result=0,this.treeIndex=0,this.excess=1,this.decodeMode=p.Strict}return e.prototype.startEntity=function(e){this.decodeMode=e,this.state=f.EntityStart,this.result=0,this.treeIndex=0,this.excess=1,this.consumed=1},e.prototype.write=function(e,t){switch(this.state){case f.EntityStart:return e.charCodeAt(t)===c.NUM?(this.state=f.NumericStart,this.consumed+=1,this.stateNumericStart(e,t+1)):(this.state=f.NamedEntity,this.stateNamedEntity(e,t));case f.NumericStart:return this.stateNumericStart(e,t);case f.NumericDecimal:return this.stateNumericDecimal(e,t);case f.NumericHex:return this.stateNumericHex(e,t);case f.NamedEntity:return this.stateNamedEntity(e,t)}},e.prototype.stateNumericStart=function(e,t){return t>=e.length?-1:(32|e.charCodeAt(t))===c.LOWER_X?(this.state=f.NumericHex,this.consumed+=1,this.stateNumericHex(e,t+1)):(this.state=f.NumericDecimal,this.stateNumericDecimal(e,t))},e.prototype.addToNumericResult=function(e,t,r,n){if(t!==r){var i=r-t;this.result=this.result*Math.pow(n,i)+parseInt(e.substr(t,i),n),this.consumed+=i}},e.prototype.stateNumericHex=function(e,t){for(var r=t;t<e.length;){var n=e.charCodeAt(t);if(!m(n)&&!g(n))return this.addToNumericResult(e,r,t,16),this.emitNumericEntity(n,3);t+=1}return this.addToNumericResult(e,r,t,16),-1},e.prototype.stateNumericDecimal=function(e,t){for(var r=t;t<e.length;){var n=e.charCodeAt(t);if(!m(n))return this.addToNumericResult(e,r,t,10),this.emitNumericEntity(n,2);t+=1}return this.addToNumericResult(e,r,t,10),-1},e.prototype.emitNumericEntity=function(e,t){var r;if(this.consumed<=t)return null===(r=this.errors)||void 0===r||r.absenceOfDigitsInNumericCharacterReference(this.consumed),0;if(e===c.SEMI)this.consumed+=1;else if(this.decodeMode===p.Strict)return 0;return this.emitCodePoint((0,l.replaceCodePoint)(this.result),this.consumed),this.errors&&(e!==c.SEMI&&this.errors.missingSemicolonAfterCharacterReference(),this.errors.validateNumericCharacterReference(this.result)),this.consumed},e.prototype.stateNamedEntity=function(e,t){for(var r=this.decodeTree,n=r[this.treeIndex],i=(n&d.VALUE_LENGTH)>>14;t<e.length;t++,this.excess++){var o=e.charCodeAt(t);if(this.treeIndex=S(r,n,this.treeIndex+Math.max(1,i),o),this.treeIndex<0)return 0===this.result||this.decodeMode===p.Attribute&&(0===i||y(o))?0:this.emitNotTerminatedNamedEntity();if(0!=(i=((n=r[this.treeIndex])&d.VALUE_LENGTH)>>14)){if(o===c.SEMI)return this.emitNamedEntityData(this.treeIndex,i,this.consumed+this.excess);this.decodeMode!==p.Strict&&(this.result=this.treeIndex,this.consumed+=this.excess,this.excess=0)}}return-1},e.prototype.emitNotTerminatedNamedEntity=function(){var e,t=this.result,r=(this.decodeTree[t]&d.VALUE_LENGTH)>>14;return this.emitNamedEntityData(t,r,this.consumed),null===(e=this.errors)||void 0===e||e.missingSemicolonAfterCharacterReference(),this.consumed},e.prototype.emitNamedEntityData=function(e,t,r){var n=this.decodeTree;return this.emitCodePoint(1===t?n[e]&~d.VALUE_LENGTH:n[e+1],r),3===t&&this.emitCodePoint(n[e+2],r),r},e.prototype.end=function(){var e;switch(this.state){case f.NamedEntity:return 0===this.result||this.decodeMode===p.Attribute&&this.result!==this.treeIndex?0:this.emitNotTerminatedNamedEntity();case f.NumericDecimal:return this.emitNumericEntity(0,2);case f.NumericHex:return this.emitNumericEntity(0,3);case f.NumericStart:return null===(e=this.errors)||void 0===e||e.absenceOfDigitsInNumericCharacterReference(this.consumed),0;case f.EntityStart:return 0}},e}();function v(e){var t="",r=new b(e,function(e){return t+=(0,l.fromCodePoint)(e)});return function(e,n){for(var i=0,o=0;(o=e.indexOf("&",o))>=0;){t+=e.slice(i,o),r.startEntity(n);var a=r.write(e,o+1);if(a<0){i=o+r.end();break}i=o+a,o=0===a?i+1:i}var s=t+e.slice(i);return t="",s}}function S(e,t,r,n){var i=(t&d.BRANCH_LENGTH)>>7,o=t&d.JUMP_TABLE;if(0===i)return 0!==o&&n===o?r:-1;if(o){var a=n-o;return a<0||a>=i?-1:e[r+a]-1}for(var s=r,u=s+i-1;s<=u;){var l=s+u>>>1,c=e[l];if(c<n)s=l+1;else{if(!(c>n))return e[l+i];u=l-1}}return-1}t.EntityDecoder=b,t.determineBranch=S;var w=v(s.default),E=v(u.default);t.decodeHTML=function(e,t){return void 0===t&&(t=p.Legacy),w(e,t)},t.decodeHTMLAttribute=function(e){return w(e,p.Attribute)},t.decodeHTMLStrict=function(e){return w(e,p.Strict)},t.decodeXML=function(e){return E(e,p.Strict)}},81946(e,t){"use strict";var r;Object.defineProperty(t,"__esModule",{value:!0}),t.replaceCodePoint=t.fromCodePoint=void 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]]);function i(e){var t;return e>=55296&&e<=57343||e>1114111?65533:null!==(t=n.get(e))&&void 0!==t?t:e}t.fromCodePoint=null!==(r=String.fromCodePoint)&&void 0!==r?r: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.replaceCodePoint=i,t.default=function(e){return(0,t.fromCodePoint)(i(e))}},31388(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.encodeNonAsciiHTML=t.encodeHTML=void 0;var i=n(r(42758)),o=r(47665),a=/[\t\n!-,./:-@[-`\f{-}$\x80-\uFFFF]/g;function s(e,t){for(var r,n="",a=0;null!==(r=e.exec(t));){var s=r.index;n+=t.substring(a,s);var u=t.charCodeAt(s),l=i.default.get(u);if("object"==typeof l){if(s+1<t.length){var c=t.charCodeAt(s+1),d="number"==typeof l.n?l.n===c?l.o:void 0:l.n.get(c);if(void 0!==d){n+=d,a=e.lastIndex+=1;continue}}l=l.v}if(void 0!==l)n+=l,a=s+1;else{var f=(0,o.getCodePoint)(t,s);n+="&#x".concat(f.toString(16),";"),a=e.lastIndex+=Number(f!==u)}}return n+t.substr(a)}t.encodeHTML=function(e){return s(a,e)},t.encodeNonAsciiHTML=function(e){return s(o.xmlReplacer,e)}},47665(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.escapeText=t.escapeAttribute=t.escapeUTF8=t.escape=t.encodeXML=t.getCodePoint=t.xmlReplacer=void 0,t.xmlReplacer=/["&'<>$\x80-\uFFFF]/g;var r=new Map([[34,"""],[38,"&"],[39,"'"],[60,"<"],[62,">"]]);function n(e){for(var n,i="",o=0;null!==(n=t.xmlReplacer.exec(e));){var a=n.index,s=e.charCodeAt(a),u=r.get(s);void 0!==u?(i+=e.substring(o,a)+u,o=a+1):(i+="".concat(e.substring(o,a),"&#x").concat((0,t.getCodePoint)(e,a).toString(16),";"),o=t.xmlReplacer.lastIndex+=Number(55296==(64512&s)))}return i+e.substr(o)}function i(e,t){return function(r){for(var n,i=0,o="";n=e.exec(r);)i!==n.index&&(o+=r.substring(i,n.index)),o+=t.get(n[0].charCodeAt(0)),i=n.index+1;return o+r.substring(i)}}t.getCodePoint=null!=String.prototype.codePointAt?function(e,t){return e.codePointAt(t)}:function(e,t){return 55296==(64512&e.charCodeAt(t))?1024*(e.charCodeAt(t)-55296)+e.charCodeAt(t+1)-56320+65536:e.charCodeAt(t)},t.encodeXML=n,t.escape=n,t.escapeUTF8=i(/[&<>'"]/g,r),t.escapeAttribute=i(/["&\u00A0]/g,new Map([[34,"""],[38,"&"],[160," "]])),t.escapeText=i(/[&<>\u00A0]/g,new Map([[38,"&"],[60,"<"],[62,">"],[160," "]]))},84057(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=new Uint16Array('ᵁ<Õıʊҝջאٵ۞ޢߖࠏઑඡ༉༦ረዡᐕᒝᓃᓟᔥ\0\0\0\0\0\0ᕫᛍᦍᰒᷝ↰⊍⏀⏻⑂⠤⤒ⴈ⹈⿎〖㊺㘹㞬㣾㨨㩱㫠㬮ࠀEMabcfglmnoprstu\\bfms¦³¹ÈÏlig耻Æ䃆P耻&䀦cute耻Á䃁reve;䄂Āiyx}rc耻Â䃂;䐐r;쀀𝔄rave耻À䃀pha;䎑acr;䄀d;橓Āgp¡on;䄄f;쀀𝔸plyFunction;恡ing耻Å䃅Ācs¾Ãr;쀀𝒜ign;扔ilde耻Ã䃃ml耻Ä䃄ЀaceforsuåûþėĜĢħĪĀcrêòkslash;或Ŷöø;櫧ed;挆y;䐑ƀcrtąċĔause;戵noullis;愬a;䎒r;쀀𝔅pf;쀀𝔹eve;䋘còēmpeq;扎܀HOacdefhilorsuōőŖƀƞƢƵƷƺǜȕɳɸɾcy;䐧PY耻©䂩ƀcpyŝŢźute;䄆Ā;iŧŨ拒talDifferentialD;慅leys;愭ȀaeioƉƎƔƘron;䄌dil耻Ç䃇rc;䄈nint;戰ot;䄊ĀdnƧƭilla;䂸terDot;䂷òſi;䎧rcleȀDMPTLJNjǑǖot;抙inus;抖lus;投imes;抗oĀcsǢǸkwiseContourIntegral;戲eCurlyĀDQȃȏoubleQuote;思uote;怙ȀlnpuȞȨɇɕonĀ;eȥȦ户;橴ƀgitȯȶȺruent;扡nt;戯ourIntegral;戮ĀfrɌɎ;愂oduct;成nterClockwiseContourIntegral;戳oss;樯cr;쀀𝒞pĀ;Cʄʅ拓ap;才րDJSZacefiosʠʬʰʴʸˋ˗ˡ˦̳ҍĀ;oŹʥtrahd;椑cy;䐂cy;䐅cy;䐏ƀgrsʿ˄ˇger;怡r;憡hv;櫤Āayː˕ron;䄎;䐔lĀ;t˝˞戇a;䎔r;쀀𝔇Āaf˫̧Ācm˰̢riticalȀADGT̖̜̀̆cute;䂴oŴ̋̍;䋙bleAcute;䋝rave;䁠ilde;䋜ond;拄ferentialD;慆Ѱ̽\0\0\0͔͂\0Ѕf;쀀𝔻ƀ;DE͈͉͍䂨ot;惜qual;扐blèCDLRUVͣͲϏϢϸontourIntegraìȹoɴ\0\0ͻ»͉nArrow;懓Āeo·ΤftƀARTΐΖΡrrow;懐ightArrow;懔eåˊngĀLRΫτeftĀARγιrrow;柸ightArrow;柺ightArrow;柹ightĀATϘϞrrow;懒ee;抨pɁϩ\0\0ϯrrow;懑ownArrow;懕erticalBar;戥ǹABLRTaВЪаўѿͼrrowƀ;BUНОТ憓ar;椓pArrow;懵reve;䌑eft˒к\0ц\0ѐightVector;楐eeVector;楞ectorĀ;Bљњ憽ar;楖ightǔѧ\0ѱeeVector;楟ectorĀ;BѺѻ懁ar;楗eeĀ;A҆҇护rrow;憧ĀctҒҗr;쀀𝒟rok;䄐ࠀNTacdfglmopqstuxҽӀӄӋӞӢӧӮӵԡԯԶՒ՝ՠեG;䅊H耻Ð䃐cute耻É䃉ƀaiyӒӗӜron;䄚rc耻Ê䃊;䐭ot;䄖r;쀀𝔈rave耻È䃈ement;戈ĀapӺӾcr;䄒tyɓԆ\0\0ԒmallSquare;旻erySmallSquare;斫ĀgpԦԪon;䄘f;쀀𝔼silon;䎕uĀaiԼՉlĀ;TՂՃ橵ilde;扂librium;懌Āci՚r;愰m;橳a;䎗ml耻Ë䃋Āipժկsts;戃onentialE;慇ʀcfiosօֈ֍ֲy;䐤r;쀀𝔉lledɓ֗\0\0֣mallSquare;旼erySmallSquare;斪Ͱֺ\0ֿ\0\0ׄf;쀀𝔽All;戀riertrf;愱còJTabcdfgorstרׯؒؖ؛؝أ٬ٲcy;䐃耻>䀾mmaĀ;d䎓;䏜reve;䄞ƀeiy؇،ؐdil;䄢rc;䄜;䐓ot;䄠r;쀀𝔊;拙pf;쀀𝔾eater̀EFGLSTصلَٖٛ٦qualĀ;Lؾؿ扥ess;招ullEqual;执reater;檢ess;扷lantEqual;橾ilde;扳cr;쀀𝒢;扫ЀAacfiosuڅڋږڛڞڪھۊRDcy;䐪Āctڐڔek;䋇;䁞irc;䄤r;愌lbertSpace;愋ǰگ\0ڲf;愍izontalLine;攀Āctۃۅòکrok;䄦mpńېۘownHumðįqual;扏܀EJOacdfgmnostuۺ۾܃܇ܚܞܡܨ݄ݸދޏޕcy;䐕lig;䄲cy;䐁cute耻Í䃍Āiyܓܘrc耻Î䃎;䐘ot;䄰r;愑rave耻Ì䃌ƀ;apܠܯܿĀcgܴܷr;䄪inaryI;慈lieóϝǴ݉\0ݢĀ;eݍݎ戬Āgrݓݘral;戫section;拂isibleĀCTݬݲomma;恣imes;恢ƀgptݿރވon;䄮f;쀀𝕀a;䎙cr;愐ilde;䄨ǫޚ\0ޞcy;䐆l耻Ï䃏ʀcfosuެ߂ߐĀiyޱrc;䄴;䐙r;쀀𝔍pf;쀀𝕁ǣ߇\0ߌr;쀀𝒥rcy;䐈kcy;䐄HJacfosߤߨ߽߬߱ࠂࠈcy;䐥cy;䐌ppa;䎚Āey߶dil;䄶;䐚r;쀀𝔎pf;쀀𝕂cr;쀀𝒦րJTaceflmostࠥࠩࠬࡐࡣসে্ੇcy;䐉耻<䀼ʀcmnpr࠷࠼ࡁࡄࡍute;䄹bda;䎛g;柪lacetrf;愒r;憞ƀaeyࡗࡡron;䄽dil;䄻;䐛Āfsࡨ॰tԀACDFRTUVarࡾࢩࢱࣦ࣠ࣼयज़ΐ४ĀnrࢃgleBracket;柨rowƀ;BR࢙࢚࢞憐ar;懤ightArrow;懆eiling;挈oǵࢷ\0ࣃbleBracket;柦nǔࣈ\0࣒eeVector;楡ectorĀ;Bࣛࣜ懃ar;楙loor;挊ightĀAV࣯ࣵrrow;憔ector;楎Āerँगeƀ;AVउऊऐ抣rrow;憤ector;楚iangleƀ;BEतथऩ抲ar;槏qual;抴pƀDTVषूौownVector;楑eeVector;楠ectorĀ;Bॖॗ憿ar;楘ectorĀ;B॥०憼ar;楒ightáΜs̀EFGLSTॾঋকঝঢভqualGreater;拚ullEqual;扦reater;扶ess;檡lantEqual;橽ilde;扲r;쀀𝔏Ā;eঽা拘ftarrow;懚idot;䄿ƀnpwਖਛgȀLRlr৷ਂਐeftĀAR০৬rrow;柵ightArrow;柷ightArrow;柶eftĀarγਊightáοightáϊf;쀀𝕃erĀLRਢਬeftArrow;憙ightArrow;憘ƀchtਾੀੂòࡌ;憰rok;䅁;扪Ѐacefiosuਗ਼અઋp;椅y;䐜Ādl੯iumSpace;恟lintrf;愳r;쀀𝔐nusPlus;戓pf;쀀𝕄cò੶;䎜ҀJacefostuણધભીଔଙඑඞcy;䐊cute;䅃ƀaeyહાron;䅇dil;䅅;䐝ƀgswે૰ativeƀMTV૨ediumSpace;怋hiĀcn૦ëeryThiîtedĀGLଆreaterGreateòٳessLesóੈLine;䀊r;쀀𝔑ȀBnptଢନଷreak;恠BreakingSpace;䂠f;愕ڀ;CDEGHLNPRSTV୕ୖ୪௫ఄ಄ದൡඅ櫬Āoungruent;扢pCap;扭oubleVerticalBar;戦ƀlqxஃஊement;戉ualĀ;Tஒஓ扠ilde;쀀≂̸ists;戄reater;EFGLSTஶஷ扯qual;扱ullEqual;쀀≧̸reater;쀀≫̸ess;批lantEqual;쀀⩾̸ilde;扵umpń௲ownHump;쀀≎̸qual;쀀≏̸eĀfsఊధtTriangleƀ;BEచఛడ拪ar;쀀⧏̸qual;括s̀;EGLSTవశ఼ౄోౘ扮qual;扰reater;扸ess;쀀≪̸lantEqual;쀀⩽̸ilde;扴estedĀGL౨౹reaterGreater;쀀⪢̸essLess;쀀⪡̸recedesƀ;ESಒಓಛ技qual;쀀⪯̸lantEqual;拠ĀeiಫಹverseElement;戌ghtTriangleƀ;BEೋೌ拫ar;쀀⧐̸qual;拭ĀquೝഌuareSuĀbp೨setĀ;Eೳ쀀⊏̸qual;拢ersetĀ;Eഃആ쀀⊐̸qual;拣ƀbcpഓതൎsetĀ;Eഛഞ쀀⊂⃒qual;抈ceedsȀ;ESTലള഻െ抁qual;쀀⪰̸lantEqual;拡ilde;쀀≿̸ersetĀ;E൘൛쀀⊃⃒qual;抉ildeȀ;EFT൮൯൵ൿ扁qual;扄ullEqual;扇ilde;扉erticalBar;戤cr;쀀𝒩ilde耻Ñ䃑;䎝܀Eacdfgmoprstuvලෂෛ෧ขภยา฿ไlig;䅒cute耻Ó䃓Āiyීrc耻Ô䃔;䐞blac;䅐r;쀀𝔒rave耻Ò䃒ƀaei෮ෲcr;䅌ga;䎩cron;䎟pf;쀀𝕆enCurlyĀDQฎบoubleQuote;怜uote;怘;橔Āclวฬr;쀀𝒪ash耻Ø䃘iŬืde耻Õ䃕es;樷ml耻Ö䃖erĀBP๋Āar๐๓r;怾acĀek๚;揞et;掴arenthesis;揜ҀacfhilorsງຊຏຒດຝະrtialD;戂y;䐟r;쀀𝔓i;䎦;䎠usMinus;䂱Āipຢອncareplanåڝf;愙Ȁ;eio຺ູ檻cedesȀ;EST່້扺qual;檯lantEqual;扼ilde;找me;怳Ādpuct;戏ortionĀ;aȥl;戝Āci༁༆r;쀀𝒫;䎨ȀUfos༑༖༛༟OT耻"䀢r;쀀𝔔pf;愚cr;쀀𝒬BEacefhiorsu༾གྷཇའཱིྦྷྪྭ႖ႩႴႾarr;椐G耻®䂮ƀcnrཎནབute;䅔g;柫rĀ;tཛྷཝ憠l;椖ƀaeyཧཬཱron;䅘dil;䅖;䐠Ā;vླྀཹ愜erseĀEUྂྙĀlq྇ྎement;戋uilibrium;懋pEquilibrium;楯r»ཹo;䎡ghtЀACDFTUVa࿁ဢဨၛႇϘĀnr࿆࿒gleBracket;柩rowƀ;BL憒ar;懥eftArrow;懄eiling;按oǵ\0စbleBracket;柧nǔည\0နeeVector;楝ectorĀ;Bဝသ懂ar;楕loor;挋Āerိ၃eƀ;AVဵံြ抢rrow;憦ector;楛iangleƀ;BEၐၑၕ抳ar;槐qual;抵pƀDTVၣၮၸownVector;楏eeVector;楜ectorĀ;Bႂႃ憾ar;楔ectorĀ;B႑႒懀ar;楓Āpuႛ႞f;愝ndImplies;楰ightarrow;懛ĀchႹႼr;愛;憱leDelayed;槴ڀHOacfhimoqstuფჱჷჽᄙᄞᅑᅖᅡᅧᆵᆻᆿĀCcჩხHcy;䐩y;䐨FTcy;䐬cute;䅚ʀ;aeiyᄈᄉᄎᄓᄗ檼ron;䅠dil;䅞rc;䅜;䐡r;쀀𝔖ortȀDLRUᄪᄴᄾᅉownArrow»ОeftArrow»࢚ightArrow»pArrow;憑gma;䎣allCircle;战pf;쀀𝕊ɲᅭ\0\0ᅰt;戚areȀ;ISUᅻᅼᆉᆯ斡ntersection;抓uĀbpᆏᆞsetĀ;Eᆗᆘ抏qual;抑ersetĀ;Eᆨᆩ抐qual;抒nion;抔cr;쀀𝒮ar;拆ȀbcmpᇈᇛሉላĀ;sᇍᇎ拐etĀ;Eᇍᇕqual;抆ĀchᇠህeedsȀ;ESTᇭᇮᇴᇿ扻qual;檰lantEqual;扽ilde;承Tháྌ;我ƀ;esሒሓሣ拑rsetĀ;Eሜም抃qual;抇et»ሓրHRSacfhiorsሾቄቕቱቶኟዂወዑORN耻Þ䃞ADE;愢ĀHcቒcy;䐋y;䐦Ābuቚቜ;䀉;䎤ƀaeyብቪቯron;䅤dil;䅢;䐢r;쀀𝔗ĀeiቻDzኀ\0ኇefore;戴a;䎘ĀcnኘkSpace;쀀 Space;怉ldeȀ;EFTካኬኲኼ戼qual;扃ullEqual;扅ilde;扈pf;쀀𝕋ipleDot;惛Āctዖዛr;쀀𝒯rok;䅦ૡዷጎጚጦ\0ጬጱ\0\0\0\0\0ጸጽ፷ᎅ\0ᐄᐊᐐĀcrዻጁute耻Ú䃚rĀ;oጇገ憟cir;楉rǣጓ\0y;䐎ve;䅬Āiyጞጣrc耻Û䃛;䐣blac;䅰r;쀀𝔘rave耻Ù䃙acr;䅪Ādiፁ፩erĀBPፈ፝Āarፍፐr;䁟acĀekፗፙ;揟et;掵arenthesis;揝onĀ;P፰፱拃lus;抎Āgp፻on;䅲f;쀀𝕌ЀADETadps᎕ᎮᎸᏄϨᏒᏗᏳrrowƀ;BDᅐᎠᎤar;椒ownArrow;懅ownArrow;憕quilibrium;楮eeĀ;AᏋᏌ报rrow;憥ownáϳerĀLRᏞᏨeftArrow;憖ightArrow;憗iĀ;lᏹᏺ䏒on;䎥ing;䅮cr;쀀𝒰ilde;䅨ml耻Ü䃜ҀDbcdefosvᐧᐬᐰᐳᐾᒅᒊᒐᒖash;披ar;櫫y;䐒ashĀ;lᐻᐼ抩;櫦Āerᑃᑅ;拁ƀbtyᑌᑐᑺar;怖Ā;iᑏᑕcalȀBLSTᑡᑥᑪᑴar;戣ine;䁼eparator;杘ilde;所ThinSpace;怊r;쀀𝔙pf;쀀𝕍cr;쀀𝒱dash;抪ʀcefosᒧᒬᒱᒶᒼirc;䅴dge;拀r;쀀𝔚pf;쀀𝕎cr;쀀𝒲Ȁfiosᓋᓐᓒᓘr;쀀𝔛;䎞pf;쀀𝕏cr;쀀𝒳ҀAIUacfosuᓱᓵᓹᓽᔄᔏᔔᔚᔠcy;䐯cy;䐇cy;䐮cute耻Ý䃝Āiyᔉᔍrc;䅶;䐫r;쀀𝔜pf;쀀𝕐cr;쀀𝒴ml;䅸ЀHacdefosᔵᔹᔿᕋᕏᕝᕠᕤcy;䐖cute;䅹Āayᕄᕉron;䅽;䐗ot;䅻Dzᕔ\0ᕛoWidtèa;䎖r;愨pf;愤cr;쀀𝒵ᖃᖊᖐ\0ᖰᖶᖿ\0\0\0\0ᗆᗛᗫᙟ᙭\0ᚕ᚛ᚲᚹ\0ᚾcute耻á䃡reve;䄃̀;Ediuyᖜᖝᖡᖣᖨᖭ戾;쀀∾̳;房rc耻â䃢te肻´̆;䐰lig耻æ䃦Ā;r²ᖺ;쀀𝔞rave耻à䃠ĀepᗊᗖĀfpᗏᗔsym;愵èᗓha;䎱ĀapᗟcĀclᗤᗧr;䄁g;樿ɤᗰ\0\0ᘊʀ;adsvᗺᗻᗿᘁᘇ戧nd;橕;橜lope;橘;橚;elmrszᘘᘙᘛᘞᘿᙏᙙ戠;榤e»ᘙsdĀ;aᘥᘦ戡ѡᘰᘲᘴᘶᘸᘺᘼᘾ;榨;榩;榪;榫;榬;榭;榮;榯tĀ;vᙅᙆ戟bĀ;dᙌᙍ抾;榝Āptᙔᙗh;戢»¹arr;捼Āgpᙣᙧon;䄅f;쀀𝕒;Eaeiopᙻᙽᚂᚄᚇᚊ;橰cir;橯;扊d;手s;䀧roxĀ;eᚒñᚃing耻å䃥ƀctyᚡᚦᚨr;쀀𝒶;䀪mpĀ;eᚯñʈilde耻ã䃣ml耻ä䃤Āciᛂᛈoninôɲnt;樑ࠀNabcdefiklnoprsu᛭ᛱᜰᝃᝈ០៦ᠹᡐᜍ᥈ᥰot;櫭ĀcrᛶkȀcepsᜀᜅᜍᜓong;扌psilon;䏶rime;怵imĀ;e戽q;拍Ŷᜢᜦee;抽edĀ;gᜬᜭ挅e»ᜭrkĀ;tbrk;掶Āoyᜁᝁ;䐱quo;怞ʀcmprtᝓᝡᝤᝨausĀ;eĊĉptyv;榰séᜌnoõēƀahwᝯᝳ;䎲;愶een;扬r;쀀𝔟gcostuvwឍឝឳេ៕៛ƀaiuបពរðݠrc;旯p»፱ƀdptឤឨឭot;樀lus;樁imes;樂ɱឹ\0\0ើcup;樆ar;昅riangleĀdu៍្own;施p;斳plus;樄eåᑄåᒭarow;植ƀakoᠦᠵĀcn៲ᠣkƀlst֫᠂ozenge;槫riangleȀ;dlr᠒᠓᠘斴own;斾eft;旂ight;斸k;搣Ʊᠫ\0ᠳƲᠯ\0ᠱ;斒;斑4;斓ck;斈ĀeoᠾᡍĀ;qᡃᡆ쀀=⃥uiv;쀀≡⃥t;挐Ȁptwxᡙᡞᡧᡬf;쀀𝕓Ā;tᏋᡣom»Ꮜtie;拈DHUVbdhmptuvᢅᢖᢪᢻᣗᣛᣬᤅᤊᤐᤡȀLRlrᢎᢐᢒᢔ;敗;敔;敖;敓ʀ;DUduᢡᢢᢤᢦᢨ敐;敦;敩;敤;敧ȀLRlrᢳᢵᢷᢹ;敝;敚;敜;教;HLRhlrᣊᣋᣍᣏᣑᣓᣕ救;敬;散;敠;敫;敢;敟ox;槉ȀLRlrᣤᣦᣨᣪ;敕;敒;攐;攌ʀ;DUduڽ;敥;敨;攬;攴inus;抟lus;択imes;抠ȀLRlrᤙᤛᤝ;敛;敘;攘;攔;HLRhlrᤰᤱᤳᤵᤷ᤻᤹攂;敪;敡;敞;攼;攤;攜Āevģbar耻¦䂦Ȁceioᥑᥖᥚᥠr;쀀𝒷mi;恏mĀ;elƀ;bhᥨᥩᥫ䁜;槅sub;柈ŬᥴlĀ;e怢t»pƀ;Eeįᦅᦇ;檮Ā;qۜۛೡᦧ\0᧨ᨑᨕᨲ\0ᨷᩐ\0\0᪴\0\0᫁\0\0ᬡᬮ᭒\0᯽\0ᰌƀcprᦲute;䄇̀;abcdsᦿᧀᧄ᧕᧙戩nd;橄rcup;橉Āau᧒p;橋p;橇ot;橀;쀀∩︀Āeo᧢᧥t;恁îړȀaeiu᧰᧻ᨁᨅǰ᧵\0᧸s;橍on;䄍dil耻ç䃧rc;䄉psĀ;sᨌᨍ橌m;橐ot;䄋ƀdmnᨛᨠᨦil肻¸ƭptyv;榲t脀¢;eᨭᨮ䂢räƲr;쀀𝔠ƀceiᨽᩀᩍy;䑇ckĀ;mᩇᩈ朓ark»ᩈ;䏇r;Ecefms᩠ᩢᩫ᪤᪪旋;槃ƀ;elᩩᩪᩭ䋆q;扗eɡᩴ\0\0᪈rrowĀlr᩼᪁eft;憺ight;憻ʀRSacd᪒᪔᪖»ཇ;擈st;抛irc;抚ash;抝nint;樐id;櫯cir;槂ubsĀ;u᪻᪼晣it»᪼ˬ᫇\0ᬊonĀ;eᫍᫎ䀺Ā;qÇÆɭ\0\0aĀ;t䀬;䁀ƀ;fl戁îᅠeĀmxent»eóɍǧ\0ᬇĀ;dኻᬂot;橭nôɆƀfryᬐᬔᬗ;쀀𝕔oäɔ脀©;sŕᬝr;愗Āaoᬥᬩrr;憵ss;朗Ācuᬲᬷr;쀀𝒸Ābpᬼ᭄Ā;eᭁᭂ櫏;櫑Ā;eᭉᭊ櫐;櫒dot;拯delprvw᭠᭬᭷ᮂᮬᯔarrĀlr᭨᭪;椸;椵ɰ᭲\0\0᭵r;拞c;拟arrĀ;pᮀ憶;椽̀;bcdosᮏᮐᮖᮡᮥᮨ截rcap;橈Āauᮛᮞp;橆p;橊ot;抍r;橅;쀀∪︀Ȁalrv᮵ᮿᯞᯣrrĀ;mᮼᮽ憷;椼yƀevwᯇᯔᯘqɰᯎ\0\0ᯒreã᭳uã᭵ee;拎edge;拏en耻¤䂤earrowĀlrᯮ᯳eft»ᮀight»ᮽeäᯝĀciᰁᰇoninôǷnt;戱lcty;挭ঀAHabcdefhijlorstuwz᰻᰿ᱝᱩᱵᲞᲬᲷᴍᵻᶑᶫᶻ᷆᷍ròar;楥Ȁglrs᱈ᱍ᱒᱔ger;怠eth;愸òᄳhĀ;vᱚᱛ怐»ऊūᱡᱧarow;椏aã̕Āayᱮᱳron;䄏;䐴ƀ;ao̲ᱼᲄĀgrʿᲁr;懊tseq;橷ƀglmᲑᲔᲘ耻°䂰ta;䎴ptyv;榱ĀirᲣᲨsht;楿;쀀𝔡arĀlrᲳᲵ»ࣜ»သʀaegsv᳂᳖᳜᳠mƀ;oș᳔ndĀ;ș᳑uit;晦amma;䏝in;拲ƀ;io᳧᳨᳸䃷de脀÷;o᳧ᳰntimes;拇nø᳷cy;䑒cɯᴆ\0\0ᴊrn;挞op;挍ʀlptuwᴘᴝᴢᵉᵕlar;䀤f;쀀𝕕ʀ;emps̋ᴭᴷᴽᵂqĀ;d͒ᴳot;扑inus;戸lus;戔quare;抡blebarwedgåúnƀadhᄮᵝᵧownarrowóᲃarpoonĀlrᵲᵶefôᲴighôᲶŢᵿᶅkaro÷གɯᶊ\0\0ᶎrn;挟op;挌ƀcotᶘᶣᶦĀryᶝᶡ;쀀𝒹;䑕l;槶rok;䄑Ādrᶰᶴot;拱iĀ;fᶺ᠖斿Āah᷀᷃ròЩaòྦangle;榦Āci᷒ᷕy;䑟grarr;柿ऀDacdefglmnopqrstuxḁḉḙḸոḼṉṡṾấắẽỡἪἷὄĀDoḆᴴoôĀcsḎḔute耻é䃩ter;橮ȀaioyḢḧḱḶron;䄛rĀ;cḭḮ扖耻ê䃪lon;払;䑍ot;䄗ĀDrṁṅot;扒;쀀𝔢ƀ;rsṐṑṗ檚ave耻è䃨Ā;dṜṝ檖ot;檘Ȁ;ilsṪṫṲṴ檙nters;揧;愓Ā;dṹṺ檕ot;檗ƀapsẅẉẗcr;䄓tyƀ;svẒẓẕ戅et»ẓpĀ1;ẝẤijạả;怄;怅怃ĀgsẪẬ;䅋p;怂ĀgpẴẸon;䄙f;쀀𝕖ƀalsỄỎỒrĀ;sỊị拕l;槣us;橱iƀ;lvỚớở䎵on»ớ;䏵ȀcsuvỪỳἋἣĀioữḱrc»Ḯɩỹ\0\0ỻíՈantĀglἂἆtr»ṝess»ṺƀaeiἒἚls;䀽st;扟vĀ;DȵἠD;橸parsl;槥ĀDaἯἳot;打rr;楱ƀcdiἾὁỸr;愯oô͒ĀahὉὋ;䎷耻ð䃰Āmrὓὗl耻ë䃫o;悬ƀcipὡὤὧl;䀡sôծĀeoὬὴctatioîՙnentialåչৡᾒ\0ᾞ\0ᾡᾧ\0\0ῆῌ\0ΐ\0ῦῪ \0 ⁚llingdotseñṄy;䑄male;晀ƀilrᾭᾳ῁lig;耀ffiɩᾹ\0\0᾽g;耀ffig;耀ffl;쀀𝔣lig;耀filig;쀀fjƀaltῙῡt;晭ig;耀flns;斱of;䆒ǰ΅\0ῳf;쀀𝕗ĀakֿῷĀ;vῼ´拔;櫙artint;樍Āao⁕Ācs‑⁒ႉ‸⁅⁈\0⁐β•‥‧\0耻½䂽;慓耻¼䂼;慕;慙;慛Ƴ‴\0‶;慔;慖ʴ‾⁁\0\0⁃耻¾䂾;慗;慜5;慘ƶ⁌\0⁎;慚;慝8;慞l;恄wn;挢cr;쀀𝒻ࢀEabcdefgijlnorstv₂₉₥₰₴⃰℃ℒℸ̗ℾ⅒↞Ā;lٍ₇;檌ƀcmpₐₕute;䇵maĀ;dₜ᳚䎳;檆reve;䄟Āiy₪₮rc;䄝;䐳ot;䄡Ȁ;lqsؾق₽ƀ;qsؾٌlanô٥Ȁ;cdl٥⃒⃥⃕c;檩otĀ;o⃜⃝檀Ā;l⃢⃣檂;檄Ā;e⃪⃭쀀⋛︀s;檔r;쀀𝔤Ā;gٳ؛mel;愷cy;䑓Ȁ;Eajٚℌℎℐ;檒;檥;檤ȀEaesℛℝ℩ℴ;扩pĀ;p℣ℤ檊rox»ℤĀ;q℮ℯ檈Ā;q℮ℛim;拧pf;쀀𝕘Āci⅃ⅆr;愊mƀ;el٫ⅎ⅐;檎;檐茀>;cdlqrⅠⅪⅮⅳⅹĀciⅥⅧ;檧r;橺ot;拗Par;榕uest;橼ʀadelsↄⅪ←ٖ↛ǰ↉\0proør;楸qĀlqؿ↖lesó₈ií٫Āen↣↭rtneqq;쀀≩︀Å↪ԀAabcefkosy⇄⇇⇱⇵⇺∘∝∯≨≽ròΠȀilmr⇐⇔⇗⇛rsðᒄf»․ilôکĀdr⇠⇤cy;䑊ƀ;cwࣴ⇫⇯ir;楈;憭ar;意irc;䄥ƀalr∁∎∓rtsĀ;u∉∊晥it»∊lip;怦con;抹r;쀀𝔥sĀew∣∩arow;椥arow;椦ʀamopr∺∾≃≞≣rr;懿tht;戻kĀlr≉≓eftarrow;憩ightarrow;憪f;쀀𝕙bar;怕ƀclt≯≴≸r;쀀𝒽asè⇴rok;䄧Ābp⊂⊇ull;恃hen»ᱛૡ⊣\0⊪\0⊸⋅⋎\0⋕⋳\0\0⋸⌢⍧⍢⍿\0⎆⎪⎴cute耻í䃭ƀ;iyݱ⊰⊵rc耻î䃮;䐸Ācx⊼⊿y;䐵cl耻¡䂡ĀfrΟ⋉;쀀𝔦rave耻ì䃬Ȁ;inoܾ⋝⋩⋮Āin⋢⋦nt;樌t;戭fin;槜ta;愩lig;䄳ƀaop⋾⌚⌝ƀcgt⌅⌈⌗r;䄫ƀelpܟ⌏⌓inåގarôܠh;䄱f;抷ed;䆵ʀ;cfotӴ⌬⌱⌽⍁are;愅inĀ;t⌸⌹戞ie;槝doô⌙ʀ;celpݗ⍌⍐⍛⍡al;抺Āgr⍕⍙eróᕣã⍍arhk;樗rod;樼Ȁcgpt⍯⍲⍶⍻y;䑑on;䄯f;쀀𝕚a;䎹uest耻¿䂿Āci⎊⎏r;쀀𝒾nʀ;EdsvӴ⎛⎝⎡ӳ;拹ot;拵Ā;v⎦⎧拴;拳Ā;iݷ⎮lde;䄩ǫ⎸\0⎼cy;䑖l耻ï䃯̀cfmosu⏌⏗⏜⏡⏧⏵Āiy⏑⏕rc;䄵;䐹r;쀀𝔧ath;䈷pf;쀀𝕛ǣ⏬\0⏱r;쀀𝒿rcy;䑘kcy;䑔Ѐacfghjos␋␖␢ppaĀ;v␓␔䎺;䏰Āey␛␠dil;䄷;䐺r;쀀𝔨reen;䄸cy;䑅cy;䑜pf;쀀𝕜cr;쀀𝓀ABEHabcdefghjlmnoprstuv⑰⒁⒆⒍⒑┎┽╚▀♎♞♥♹♽⚚⚲⛘❝❨➋⟀⠁⠒ƀart⑷⑺⑼ròòΕail;椛arr;椎Ā;gঔ⒋;檋ar;楢ॣ⒥\0⒪\0⒱\0\0\0\0\0⒵Ⓔ\0ⓆⓈⓍ\0⓹ute;䄺mptyv;榴raîࡌbda;䎻gƀ;dlࢎⓁⓃ;榑åࢎ;檅uo耻«䂫rЀ;bfhlpst࢙ⓞⓦⓩ⓫⓮⓱⓵Ā;f࢝ⓣs;椟s;椝ë≒p;憫l;椹im;楳l;憢ƀ;ae⓿─┄檫il;椙Ā;s┉┊檭;쀀⪭︀ƀabr┕┙┝rr;椌rk;杲Āak┢┬cĀek┨┪;䁻;䁛Āes┱┳;榋lĀdu┹┻;榏;榍Ȁaeuy╆╋╖╘ron;䄾Ādi═╔il;䄼ìࢰâ┩;䐻Ȁcqrs╣╦╭╽a;椶uoĀ;rนᝆĀdu╲╷har;楧shar;楋h;憲ʀ;fgqs▋▌উ◳◿扤tʀahlrt▘▤▷◂◨rrowĀ;t࢙□aé⓶arpoonĀdu▯▴own»њp»०eftarrows;懇ightƀahs◍◖◞rrowĀ;sࣴࢧarpoonóquigarro÷⇰hreetimes;拋ƀ;qs▋ও◺lanôবʀ;cdgsব☊☍☝☨c;檨otĀ;o☔☕橿Ā;r☚☛檁;檃Ā;e☢☥쀀⋚︀s;檓ʀadegs☳☹☽♉♋pproøⓆot;拖qĀgq♃♅ôউgtò⒌ôছiíলƀilr♕࣡♚sht;楼;쀀𝔩Ā;Eজ♣;檑š♩♶rĀdu▲♮Ā;l॥♳;楪lk;斄cy;䑙ʀ;achtੈ⚈⚋⚑⚖rò◁orneòᴈard;楫ri;旺Āio⚟⚤dot;䅀ustĀ;a⚬⚭掰che»⚭ȀEaes⚻⚽⛉⛔;扨pĀ;p⛃⛄檉rox»⛄Ā;q⛎⛏檇Ā;q⛎⚻im;拦Ѐabnoptwz⛩⛴⛷✚✯❁❇❐Ānr⛮⛱g;柬r;懽rëࣁgƀlmr⛿✍✔eftĀar০✇ightá৲apsto;柼ightá৽parrowĀlr✥✩efô⓭ight;憬ƀafl✶✹✽r;榅;쀀𝕝us;樭imes;樴š❋❏st;戗áፎƀ;ef❗❘᠀旊nge»❘arĀ;l❤❥䀨t;榓ʀachmt❳❶❼➅➇ròࢨorneòᶌarĀ;d➃;業;怎ri;抿̀achiqt➘➝ੀ➢➮➻quo;怹r;쀀𝓁mƀ;egল➪➬;檍;檏Ābu┪➳oĀ;rฟ➹;怚rok;䅂萀<;cdhilqrࠫ⟒☹⟜⟠⟥⟪⟰Āci⟗⟙;檦r;橹reå◲mes;拉arr;楶uest;橻ĀPi⟵⟹ar;榖ƀ;ef⠀भ旃rĀdu⠇⠍shar;楊har;楦Āen⠗⠡rtneqq;쀀≨︀Å⠞܀Dacdefhilnopsu⡀⡅⢂⢎⢓⢠⢥⢨⣚⣢⣤ઃ⣳⤂Dot;戺Ȁclpr⡎⡒⡣⡽r耻¯䂯Āet⡗⡙;時Ā;e⡞⡟朠se»⡟Ā;sျ⡨toȀ;dluျ⡳⡷⡻owîҌefôएðᏑker;斮Āoy⢇⢌mma;権;䐼ash;怔asuredangle»ᘦr;쀀𝔪o;愧ƀcdn⢯⢴⣉ro耻µ䂵Ȁ;acdᑤ⢽⣀⣄sôᚧir;櫰ot肻·Ƶusƀ;bd⣒ᤃ⣓戒Ā;uᴼ⣘;横ţ⣞⣡p;櫛ò−ðઁĀdp⣩⣮els;抧f;쀀𝕞Āct⣸⣽r;쀀𝓂pos»ᖝƀ;lm⤉⤊⤍䎼timap;抸ఀGLRVabcdefghijlmoprstuvw⥂⥓⥾⦉⦘⧚⧩⨕⨚⩘⩝⪃⪕⪤⪨⬄⬇⭄⭿⮮ⰴⱧⱼ⳩Āgt⥇⥋;쀀⋙̸Ā;v⥐쀀≫⃒ƀelt⥚⥲⥶ftĀar⥡⥧rrow;懍ightarrow;懎;쀀⋘̸Ā;v⥻ే쀀≪⃒ightarrow;懏ĀDd⦎⦓ash;抯ash;抮ʀbcnpt⦣⦧⦬⦱⧌la»˞ute;䅄g;쀀∠⃒ʀ;Eiop⦼⧀⧅⧈;쀀⩰̸d;쀀≋̸s;䅉roøurĀ;a⧓⧔普lĀ;s⧓ସdz⧟\0⧣p肻 ଷmpĀ;e௹ఀʀaeouy⧴⧾⨃⨐⨓ǰ⧹\0⧻;橃on;䅈dil;䅆ngĀ;dൾ⨊ot;쀀⩭̸p;橂;䐽ash;怓;Aadqsxஒ⨩⨭⨻⩁⩅⩐rr;懗rĀhr⨳⨶k;椤Ā;oᏲᏰot;쀀≐̸uiöୣĀei⩊⩎ar;椨íistĀ;sடr;쀀𝔫ȀEest⩦⩹⩼ƀ;qs⩭ƀ;qs⩴lanôií௪Ā;rஶ⪁»ஷƀAap⪊⪍⪑rò⥱rr;憮ar;櫲ƀ;svྍ⪜ྌĀ;d⪡⪢拼;拺cy;䑚AEadest⪷⪺⪾⫂⫅⫶⫹rò⥦;쀀≦̸rr;憚r;急Ȁ;fqs⫎⫣⫯tĀar⫔⫙rro÷⫁ightarro÷⪐ƀ;qs⪺⫪lanôౕĀ;sౕ⫴»శiíౝĀ;rవ⫾iĀ;eచథiäඐĀpt⬌⬑f;쀀𝕟膀¬;in⬙⬚⬶䂬nȀ;Edvஉ⬤⬨⬮;쀀⋹̸ot;쀀⋵̸ǡஉ⬳⬵;拷;拶iĀ;vಸ⬼ǡಸ⭁⭃;拾;拽ƀaor⭋⭣⭩rȀ;ast⭕⭚⭟lleìl;쀀⫽⃥;쀀∂̸lint;樔ƀ;ceಒ⭰⭳uåಥĀ;cಘ⭸Ā;eಒ⭽ñಘȀAait⮈⮋⮝⮧rò⦈rrƀ;cw⮔⮕⮙憛;쀀⤳̸;쀀↝̸ghtarrow»⮕riĀ;eೋೖchimpqu⮽⯍⯙⬄⯤⯯Ȁ;cerല⯆ഷ⯉uå;쀀𝓃ortɭ⬅\0\0⯖ará⭖mĀ;e൮⯟Ā;q൴൳suĀbp⯫⯭ååഋƀbcp⯶ⰑⰙȀ;Ees⯿ⰀഢⰄ抄;쀀⫅̸etĀ;eഛⰋqĀ;qണⰀcĀ;eലⰗñസȀ;EesⰢⰣൟⰧ抅;쀀⫆̸etĀ;e൘ⰮqĀ;qൠⰣȀgilrⰽⰿⱅⱇìௗlde耻ñ䃱çృiangleĀlrⱒⱜeftĀ;eచⱚñదightĀ;eೋⱥñĀ;mⱬⱭ䎽ƀ;esⱴⱵⱹ䀣ro;愖p;怇ҀDHadgilrsⲏⲔⲙⲞⲣⲰⲶⳓⳣash;抭arr;椄p;쀀≍⃒ash;抬ĀetⲨⲬ;쀀≥⃒;쀀>⃒nfin;槞ƀAetⲽⳁⳅrr;椂;쀀≤⃒Ā;rⳊⳍ쀀<⃒ie;쀀⊴⃒ĀAtⳘⳜrr;椃rie;쀀⊵⃒im;쀀∼⃒ƀAan⳰ⴂrr;懖rĀhr⳺⳽k;椣Ā;oᏧᏥear;椧ቓ᪕\0\0\0\0\0\0\0\0\0\0\0\0\0ⴭ\0ⴸⵈⵠⵥⶄᬇ\0\0ⶍⶫ\0ⷈⷎ\0ⷜ⸙⸫⸾⹃Ācsⴱ᪗ute耻ó䃳ĀiyⴼⵅrĀ;cⵂ耻ô䃴;䐾ʀabios᪠ⵒⵗLjⵚlac;䅑v;樸old;榼lig;䅓Ācrir;榿;쀀𝔬ͯ\0\0\0ⶂn;䋛ave耻ò䃲;槁Ābmⶈ෴ar;榵Ȁacitⶕⶥⶨrò᪀Āirⶠr;榾oss;榻nå๒;槀ƀaeiⶱⶵⶹcr;䅍ga;䏉ƀcdnⷀⷅǍron;䎿;榶pf;쀀𝕠ƀaelⷔǒr;榷rp;榹;adiosvⷪⷫⷮ⸈⸍⸐⸖戨rò᪆Ȁ;efmⷷⷸ⸂⸅橝rĀ;oⷾⷿ愴f»ⷿ耻ª䂪耻º䂺gof;抶r;橖lope;橗;橛ƀclo⸟⸡⸧ò⸁ash耻ø䃸l;折iŬⸯ⸴de耻õ䃵esĀ;aǛ⸺s;樶ml耻ö䃶bar;挽ૡ\0\0⺀⺝\0⺢⺹\0\0⻋ຜ\0⼓\0\0⼫⾼\0⿈rȀ;astЃ脀¶;l䂶leìЃɩ\0\0m;櫳;櫽y;䐿rʀcimpt⺋⺏⺓ᡥ⺗nt;䀥od;䀮il;怰enk;怱r;쀀𝔭ƀimo⺨⺰⺴Ā;v⺭⺮䏆;䏕maô੶ne;明ƀ;tv⺿⻀⻈䏀chfork»´;䏖Āau⻏⻟nĀck⻕⻝kĀ;h⇴⻛;愎ö⇴sҀ;abcdemst⻳ᤈ⼄⼆⼊⼎䀫cir;樣ir;樢Āouᵀ⼂;樥;橲n肻±ຝim;樦wo;樧ƀipu⼙⼠⼥ntint;樕f;쀀𝕡nd耻£䂣Ԁ;Eaceinosu່⼿⽁⽄⽇⾁⾉⾒⽾⾶;檳p;檷uå໙Ā;c໎⽌̀;acens່⽙⽟⽦⽨⽾pproø⽃urlyeñ໙ñ໎ƀaes⽯⽶⽺pprox;檹qq;檵im;拨iíໟmeĀ;s⾈ຮ怲ƀEas⽸⾐⽺ð⽵ƀdfp⾙⾯ƀals⾠⾥⾪lar;挮ine;挒urf;挓Ā;t⾴ïrel;抰Āci⿀⿅r;쀀𝓅;䏈ncsp;怈̀fiopsu⋢⿱r;쀀𝔮pf;쀀𝕢rime;恗cr;쀀𝓆ƀaeo⿸〉〓tĀei々rnionóڰnt;樖stĀ;e【】䀿ñἙô༔ABHabcdefhilmnoprstuxけさすムㄎㄫㅇㅢㅲㆎ㈆㈕㈤㈩㉘㉮㉲㊐㊰㊷ƀartぇおがròႳòϝail;検aròᱥar;楤cdenqrtとふへみわゔヌĀeuねぱ;쀀∽̱te;䅕iãᅮmptyv;榳gȀ;del࿑らるろ;榒;榥å࿑uo耻»䂻rր;abcfhlpstwガクシスゼゾダッデナp;極Ā;fゴs;椠;椳s;椞ë≝ð✮l;楅im;楴l;憣;憝Āaiパフil;椚oĀ;nホボ戶aló༞ƀabrョリヮrò៥rk;杳ĀakンヽcĀekヹ・;䁽;䁝Āes;榌lĀduㄊㄌ;榎;榐Ȁaeuyㄗㄜㄧㄩron;䅙Ādiㄡㄥil;䅗ìâヺ;䑀Ȁclqsㄴㄷㄽㅄa;椷dhar;楩uoĀ;rȎȍh;憳ƀacgㅎㅟངlȀ;ipsླྀㅘㅛႜnåႻarôྩt;断ƀilrㅩဣㅮsht;楽;쀀𝔯ĀaoㅷㆆrĀduㅽㅿ»ѻĀ;l႑ㆄ;楬Ā;vㆋㆌ䏁;䏱ƀgns㆕ㇹㇼht̀ahlrstㆤㆰ㇂㇘rrowĀ;tㆭaéトarpoonĀduㆻㆿowîㅾp»႒eftĀah㇊㇐rrowóarpoonóՑightarrows;應quigarro÷ニhreetimes;拌g;䋚ingdotseñἲƀahm㈍㈐㈓ròaòՑ;怏oustĀ;a㈞掱che»mid;櫮Ȁabpt㈲㈽㉀㉒Ānr㈷㈺g;柭r;懾rëဃƀafl㉇㉊㉎r;榆;쀀𝕣us;樮imes;樵Āap㉝㉧rĀ;g㉣㉤䀩t;榔olint;樒arò㇣Ȁachq㉻㊀Ⴜ㊅quo;怺r;쀀𝓇Ābu・㊊oĀ;rȔȓƀhir㊗㊛㊠reåㇸmes;拊iȀ;efl㊪ၙᠡ㊫方tri;槎luhar;楨;愞ൡ㋕㋛㋟㌬㌸㍱\0㍺㎤\0\0㏬㏰\0㐨㑈㑚㒭㒱㓊㓱\0㘖\0\0㘳cute;䅛quï➺Ԁ;Eaceinpsyᇭ㋳㋵㋿㌂㌋㌏㌟㌦㌩;檴ǰ㋺\0㋼;檸on;䅡uåᇾĀ;dᇳ㌇il;䅟rc;䅝ƀEas㌖㌘㌛;檶p;檺im;择olint;樓iíሄ;䑁otƀ;be㌴ᵇ㌵担;橦Aacmstx㍆㍊㍗㍛㍞㍣㍭rr;懘rĀhr㍐㍒ë∨Ā;oਸ਼t耻§䂧i;䀻war;椩mĀin㍩ðnuóñt;朶rĀ;o㍶⁕쀀𝔰Ȁacoy㎂㎆㎑㎠rp;景Āhy㎋㎏cy;䑉;䑈rtɭ㎙\0\0㎜iäᑤaraì耻䂭Āgm㎨㎴maƀ;fv㎱㎲㎲䏃;䏂Ѐ;deglnprካ㏅㏉㏎㏖㏞㏡㏦ot;橪Ā;qኰĀ;E㏓㏔檞;檠Ā;E㏛㏜檝;檟e;扆lus;樤arr;楲aròᄽȀaeit㏸㐈㐏㐗Āls㏽㐄lsetmé㍪hp;樳parsl;槤Ādlᑣ㐔e;挣Ā;e㐜㐝檪Ā;s㐢㐣檬;쀀⪬︀ƀflp㐮㐳㑂tcy;䑌Ā;b㐸㐹䀯Ā;a㐾㐿槄r;挿f;쀀𝕤aĀdr㑍ЂesĀ;u㑔㑕晠it»㑕ƀcsu㑠㑹㒟Āau㑥㑯pĀ;sᆈ㑫;쀀⊓︀pĀ;sᆴ㑵;쀀⊔︀uĀbp㑿㒏ƀ;esᆗᆜ㒆etĀ;eᆗ㒍ñᆝƀ;esᆨᆭ㒖etĀ;eᆨ㒝ñᆮƀ;afᅻ㒦ְrť㒫ֱ»ᅼaròᅈȀcemt㒹㒾㓂㓅r;쀀𝓈tmîñiì㐕aræᆾĀar㓎㓕rĀ;f㓔ឿ昆Āan㓚㓭ightĀep㓣㓪psiloîỠhé⺯s»⡒ʀbcmnp㓻㕞ሉ㖋㖎Ҁ;Edemnprs㔎㔏㔑㔕㔞㔣㔬㔱㔶抂;櫅ot;檽Ā;dᇚ㔚ot;櫃ult;櫁ĀEe㔨㔪;櫋;把lus;檿arr;楹ƀeiu㔽㕒㕕tƀ;en㔎㕅㕋qĀ;qᇚ㔏eqĀ;q㔫㔨m;櫇Ābp㕚㕜;櫕;櫓c̀;acensᇭ㕬㕲㕹㕻㌦pproø㋺urlyeñᇾñᇳƀaes㖂㖈㌛pproø㌚qñ㌗g;晪ڀ123;Edehlmnps㖩㖬㖯ሜ㖲㖴㗀㗉㗕㗚㗟㗨㗭耻¹䂹耻²䂲耻³䂳;櫆Āos㖹㖼t;檾ub;櫘Ā;dሢ㗅ot;櫄sĀou㗏㗒l;柉b;櫗arr;楻ult;櫂ĀEe㗤㗦;櫌;抋lus;櫀ƀeiu㗴㘉㘌tƀ;enሜ㗼㘂qĀ;qሢ㖲eqĀ;q㗧㗤m;櫈Ābp㘑㘓;櫔;櫖ƀAan㘜㘠㘭rr;懙rĀhr㘦㘨ë∮Ā;oਫwar;椪lig耻ß䃟㙑㙝㙠ዎ㙳㙹\0㙾㛂\0\0\0\0\0㛛㜃\0㜉㝬\0\0\0㞇ɲ㙖\0\0㙛get;挖;䏄rëƀaey㙦㙫㙰ron;䅥dil;䅣;䑂lrec;挕r;쀀𝔱Ȁeiko㚆㚝㚵㚼Dz㚋\0㚑eĀ4fኄኁaƀ;sv㚘㚙㚛䎸ym;䏑Ācn㚢㚲kĀas㚨㚮pproøim»ኬsðኞĀas㚺㚮ðrn耻þ䃾Ǭ̟㛆⋧es膀×;bd㛏㛐㛘䃗Ā;aᤏ㛕r;樱;樰ƀeps㛡㛣㜀á⩍Ȁ;bcf҆㛬㛰㛴ot;挶ir;櫱Ā;o㛹㛼쀀𝕥rk;櫚á㍢rime;怴ƀaip㜏㜒㝤dåቈadempst㜡㝍㝀㝑㝗㝜㝟ngleʀ;dlqr㜰㜱㜶㝀㝂斵own»ᶻeftĀ;e⠀㜾ñम;扜ightĀ;e㊪㝋ñၚot;旬inus;樺lus;樹b;槍ime;樻ezium;揢ƀcht㝲㝽㞁Āry㝷㝻;쀀𝓉;䑆cy;䑛rok;䅧Āio㞋㞎xôheadĀlr㞗㞠eftarro÷ࡏightarrow»ཝऀAHabcdfghlmoprstuw㟐㟓㟗㟤㟰㟼㠎㠜㠣㠴㡑㡝㡫㢩㣌㣒㣪㣶ròϭar;楣Ācr㟜㟢ute耻ú䃺òᅐrǣ㟪\0㟭y;䑞ve;䅭Āiy㟵㟺rc耻û䃻;䑃ƀabh㠃㠆㠋ròᎭlac;䅱aòᏃĀir㠓㠘sht;楾;쀀𝔲rave耻ù䃹š㠧㠱rĀlr㠬㠮»ॗ»ႃlk;斀Āct㠹㡍ɯ㠿\0\0㡊rnĀ;e㡅㡆挜r»㡆op;挏ri;旸Āal㡖㡚cr;䅫肻¨͉Āgp㡢㡦on;䅳f;쀀𝕦̀adhlsuᅋ㡸㡽፲㢑㢠ownáᎳarpoonĀlr㢈㢌efô㠭ighô㠯iƀ;hl㢙㢚㢜䏅»ᏺon»㢚parrows;懈ƀcit㢰㣄㣈ɯ㢶\0\0㣁rnĀ;e㢼㢽挝r»㢽op;挎ng;䅯ri;旹cr;쀀𝓊ƀdir㣙㣝㣢ot;拰lde;䅩iĀ;f㜰㣨»᠓Āam㣯㣲rò㢨l耻ü䃼angle;榧ހABDacdeflnoprsz㤜㤟㤩㤭㦵㦸㦽㧟㧤㧨㧳㧹㧽㨁㨠ròϷarĀ;v㤦㤧櫨;櫩asèϡĀnr㤲㤷grt;榜eknprst㓣㥆㥋㥒㥝㥤㦖appá␕othinçẖƀhir㓫⻈㥙opô⾵Ā;hᎷ㥢ïㆍĀiu㥩㥭gmá㎳Ābp㥲㦄setneqĀ;q㥽㦀쀀⊊︀;쀀⫋︀setneqĀ;q㦏㦒쀀⊋︀;쀀⫌︀Āhr㦛㦟etá㚜iangleĀlr㦪㦯eft»थight»ၑy;䐲ash»ံƀelr㧄㧒㧗ƀ;beⷪ㧋㧏ar;抻q;扚lip;拮Ābt㧜ᑨaòᑩr;쀀𝔳tré㦮suĀbp㧯㧱»ജ»൙pf;쀀𝕧roðtré㦴Ācu㨆㨋r;쀀𝓋Ābp㨐㨘nĀEe㦀㨖»㥾nĀEe㦒㨞»㦐igzag;榚cefoprs㨶㨻㩖㩛㩔㩡㩪irc;䅵Ādi㩀㩑Ābg㩅㩉ar;機eĀ;qᗺ㩏;扙erp;愘r;쀀𝔴pf;쀀𝕨Ā;eᑹ㩦atèᑹcr;쀀𝓌ૣណ㪇\0㪋\0㪐㪛\0\0㪝㪨㪫㪯\0\0㫃㫎\0㫘ៜtré៑r;쀀𝔵ĀAa㪔㪗ròσrò৶;䎾ĀAa㪡㪤ròθrò৫að✓is;拻ƀdptឤ㪵㪾Āfl㪺ឩ;쀀𝕩imåឲĀAa㫇㫊ròώròਁĀcq㫒ីr;쀀𝓍Āpt៖㫜ré។Ѐacefiosu㫰㫽㬈㬌㬑㬕㬛㬡cĀuy㫶㫻te耻ý䃽;䑏Āiy㬂㬆rc;䅷;䑋n耻¥䂥r;쀀𝔶cy;䑗pf;쀀𝕪cr;쀀𝓎Ācm㬦㬩y;䑎l耻ÿ䃿Ԁacdefhiosw㭂㭈㭔㭘㭤㭩㭭㭴㭺㮀cute;䅺Āay㭍㭒ron;䅾;䐷ot;䅼Āet㭝㭡træᕟa;䎶r;쀀𝔷cy;䐶grarr;懝pf;쀀𝕫cr;쀀𝓏Ājn㮅㮇;怍j;怌'.split("").map(function(e){return e.charCodeAt(0)}))},96615(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=new Uint16Array("Ȁaglq\tɭ\0\0p;䀦os;䀧t;䀾t;䀼uot;䀢".split("").map(function(e){return e.charCodeAt(0)}))},42758(e,t){"use strict";function r(e){for(var t=1;t<e.length;t++)e[t][0]+=e[t-1][0]+1;return e}Object.defineProperty(t,"__esModule",{value:!0}),t.default=new Map(r([[9,"	"],[0,"
"],[22,"!"],[0,"""],[0,"#"],[0,"$"],[0,"%"],[0,"&"],[0,"'"],[0,"("],[0,")"],[0,"*"],[0,"+"],[0,","],[1,"."],[0,"/"],[10,":"],[0,";"],[0,{v:"<",n:8402,o:"<⃒"}],[0,{v:"=",n:8421,o:"=⃥"}],[0,{v:">",n:8402,o:">⃒"}],[0,"?"],[0,"@"],[26,"["],[0,"\"],[0,"]"],[0,"^"],[0,"_"],[0,"`"],[5,{n:106,o:"fj"}],[20,"{"],[0,"|"],[0,"}"],[34," "],[0,"¡"],[0,"¢"],[0,"£"],[0,"¤"],[0,"¥"],[0,"¦"],[0,"§"],[0,"¨"],[0,"©"],[0,"ª"],[0,"«"],[0,"¬"],[0,"­"],[0,"®"],[0,"¯"],[0,"°"],[0,"±"],[0,"²"],[0,"³"],[0,"´"],[0,"µ"],[0,"¶"],[0,"·"],[0,"¸"],[0,"¹"],[0,"º"],[0,"»"],[0,"¼"],[0,"½"],[0,"¾"],[0,"¿"],[0,"À"],[0,"Á"],[0,"Â"],[0,"Ã"],[0,"Ä"],[0,"Å"],[0,"Æ"],[0,"Ç"],[0,"È"],[0,"É"],[0,"Ê"],[0,"Ë"],[0,"Ì"],[0,"Í"],[0,"Î"],[0,"Ï"],[0,"Ð"],[0,"Ñ"],[0,"Ò"],[0,"Ó"],[0,"Ô"],[0,"Õ"],[0,"Ö"],[0,"×"],[0,"Ø"],[0,"Ù"],[0,"Ú"],[0,"Û"],[0,"Ü"],[0,"Ý"],[0,"Þ"],[0,"ß"],[0,"à"],[0,"á"],[0,"â"],[0,"ã"],[0,"ä"],[0,"å"],[0,"æ"],[0,"ç"],[0,"è"],[0,"é"],[0,"ê"],[0,"ë"],[0,"ì"],[0,"í"],[0,"î"],[0,"ï"],[0,"ð"],[0,"ñ"],[0,"ò"],[0,"ó"],[0,"ô"],[0,"õ"],[0,"ö"],[0,"÷"],[0,"ø"],[0,"ù"],[0,"ú"],[0,"û"],[0,"ü"],[0,"ý"],[0,"þ"],[0,"ÿ"],[0,"Ā"],[0,"ā"],[0,"Ă"],[0,"ă"],[0,"Ą"],[0,"ą"],[0,"Ć"],[0,"ć"],[0,"Ĉ"],[0,"ĉ"],[0,"Ċ"],[0,"ċ"],[0,"Č"],[0,"č"],[0,"Ď"],[0,"ď"],[0,"Đ"],[0,"đ"],[0,"Ē"],[0,"ē"],[2,"Ė"],[0,"ė"],[0,"Ę"],[0,"ę"],[0,"Ě"],[0,"ě"],[0,"Ĝ"],[0,"ĝ"],[0,"Ğ"],[0,"ğ"],[0,"Ġ"],[0,"ġ"],[0,"Ģ"],[1,"Ĥ"],[0,"ĥ"],[0,"Ħ"],[0,"ħ"],[0,"Ĩ"],[0,"ĩ"],[0,"Ī"],[0,"ī"],[2,"Į"],[0,"į"],[0,"İ"],[0,"ı"],[0,"IJ"],[0,"ij"],[0,"Ĵ"],[0,"ĵ"],[0,"Ķ"],[0,"ķ"],[0,"ĸ"],[0,"Ĺ"],[0,"ĺ"],[0,"Ļ"],[0,"ļ"],[0,"Ľ"],[0,"ľ"],[0,"Ŀ"],[0,"ŀ"],[0,"Ł"],[0,"ł"],[0,"Ń"],[0,"ń"],[0,"Ņ"],[0,"ņ"],[0,"Ň"],[0,"ň"],[0,"ʼn"],[0,"Ŋ"],[0,"ŋ"],[0,"Ō"],[0,"ō"],[2,"Ő"],[0,"ő"],[0,"Œ"],[0,"œ"],[0,"Ŕ"],[0,"ŕ"],[0,"Ŗ"],[0,"ŗ"],[0,"Ř"],[0,"ř"],[0,"Ś"],[0,"ś"],[0,"Ŝ"],[0,"ŝ"],[0,"Ş"],[0,"ş"],[0,"Š"],[0,"š"],[0,"Ţ"],[0,"ţ"],[0,"Ť"],[0,"ť"],[0,"Ŧ"],[0,"ŧ"],[0,"Ũ"],[0,"ũ"],[0,"Ū"],[0,"ū"],[0,"Ŭ"],[0,"ŭ"],[0,"Ů"],[0,"ů"],[0,"Ű"],[0,"ű"],[0,"Ų"],[0,"ų"],[0,"Ŵ"],[0,"ŵ"],[0,"Ŷ"],[0,"ŷ"],[0,"Ÿ"],[0,"Ź"],[0,"ź"],[0,"Ż"],[0,"ż"],[0,"Ž"],[0,"ž"],[19,"ƒ"],[34,"Ƶ"],[63,"ǵ"],[65,"ȷ"],[142,"ˆ"],[0,"ˇ"],[16,"˘"],[0,"˙"],[0,"˚"],[0,"˛"],[0,"˜"],[0,"˝"],[51,"̑"],[127,"Α"],[0,"Β"],[0,"Γ"],[0,"Δ"],[0,"Ε"],[0,"Ζ"],[0,"Η"],[0,"Θ"],[0,"Ι"],[0,"Κ"],[0,"Λ"],[0,"Μ"],[0,"Ν"],[0,"Ξ"],[0,"Ο"],[0,"Π"],[0,"Ρ"],[1,"Σ"],[0,"Τ"],[0,"Υ"],[0,"Φ"],[0,"Χ"],[0,"Ψ"],[0,"Ω"],[7,"α"],[0,"β"],[0,"γ"],[0,"δ"],[0,"ε"],[0,"ζ"],[0,"η"],[0,"θ"],[0,"ι"],[0,"κ"],[0,"λ"],[0,"μ"],[0,"ν"],[0,"ξ"],[0,"ο"],[0,"π"],[0,"ρ"],[0,"ς"],[0,"σ"],[0,"τ"],[0,"υ"],[0,"φ"],[0,"χ"],[0,"ψ"],[0,"ω"],[7,"ϑ"],[0,"ϒ"],[2,"ϕ"],[0,"ϖ"],[5,"Ϝ"],[0,"ϝ"],[18,"ϰ"],[0,"ϱ"],[3,"ϵ"],[0,"϶"],[10,"Ё"],[0,"Ђ"],[0,"Ѓ"],[0,"Є"],[0,"Ѕ"],[0,"І"],[0,"Ї"],[0,"Ј"],[0,"Љ"],[0,"Њ"],[0,"Ћ"],[0,"Ќ"],[1,"Ў"],[0,"Џ"],[0,"А"],[0,"Б"],[0,"В"],[0,"Г"],[0,"Д"],[0,"Е"],[0,"Ж"],[0,"З"],[0,"И"],[0,"Й"],[0,"К"],[0,"Л"],[0,"М"],[0,"Н"],[0,"О"],[0,"П"],[0,"Р"],[0,"С"],[0,"Т"],[0,"У"],[0,"Ф"],[0,"Х"],[0,"Ц"],[0,"Ч"],[0,"Ш"],[0,"Щ"],[0,"Ъ"],[0,"Ы"],[0,"Ь"],[0,"Э"],[0,"Ю"],[0,"Я"],[0,"а"],[0,"б"],[0,"в"],[0,"г"],[0,"д"],[0,"е"],[0,"ж"],[0,"з"],[0,"и"],[0,"й"],[0,"к"],[0,"л"],[0,"м"],[0,"н"],[0,"о"],[0,"п"],[0,"р"],[0,"с"],[0,"т"],[0,"у"],[0,"ф"],[0,"х"],[0,"ц"],[0,"ч"],[0,"ш"],[0,"щ"],[0,"ъ"],[0,"ы"],[0,"ь"],[0,"э"],[0,"ю"],[0,"я"],[1,"ё"],[0,"ђ"],[0,"ѓ"],[0,"є"],[0,"ѕ"],[0,"і"],[0,"ї"],[0,"ј"],[0,"љ"],[0,"њ"],[0,"ћ"],[0,"ќ"],[1,"ў"],[0,"џ"],[7074," "],[0," "],[0," "],[0," "],[1," "],[0," "],[0," "],[0," "],[0,"​"],[0,"‌"],[0,"‍"],[0,"‎"],[0,"‏"],[0,"‐"],[2,"–"],[0,"—"],[0,"―"],[0,"‖"],[1,"‘"],[0,"’"],[0,"‚"],[1,"“"],[0,"”"],[0,"„"],[1,"†"],[0,"‡"],[0,"•"],[2,"‥"],[0,"…"],[9,"‰"],[0,"‱"],[0,"′"],[0,"″"],[0,"‴"],[0,"‵"],[3,"‹"],[0,"›"],[3,"‾"],[2,"⁁"],[1,"⁃"],[0,"⁄"],[10,"⁏"],[7,"⁗"],[7,{v:" ",n:8202,o:"  "}],[0,"⁠"],[0,"⁡"],[0,"⁢"],[0,"⁣"],[72,"€"],[46,"⃛"],[0,"⃜"],[37,"ℂ"],[2,"℅"],[4,"ℊ"],[0,"ℋ"],[0,"ℌ"],[0,"ℍ"],[0,"ℎ"],[0,"ℏ"],[0,"ℐ"],[0,"ℑ"],[0,"ℒ"],[0,"ℓ"],[1,"ℕ"],[0,"№"],[0,"℗"],[0,"℘"],[0,"ℙ"],[0,"ℚ"],[0,"ℛ"],[0,"ℜ"],[0,"ℝ"],[0,"℞"],[3,"™"],[1,"ℤ"],[2,"℧"],[0,"ℨ"],[0,"℩"],[2,"ℬ"],[0,"ℭ"],[1,"ℯ"],[0,"ℰ"],[0,"ℱ"],[1,"ℳ"],[0,"ℴ"],[0,"ℵ"],[0,"ℶ"],[0,"ℷ"],[0,"ℸ"],[12,"ⅅ"],[0,"ⅆ"],[0,"ⅇ"],[0,"ⅈ"],[10,"⅓"],[0,"⅔"],[0,"⅕"],[0,"⅖"],[0,"⅗"],[0,"⅘"],[0,"⅙"],[0,"⅚"],[0,"⅛"],[0,"⅜"],[0,"⅝"],[0,"⅞"],[49,"←"],[0,"↑"],[0,"→"],[0,"↓"],[0,"↔"],[0,"↕"],[0,"↖"],[0,"↗"],[0,"↘"],[0,"↙"],[0,"↚"],[0,"↛"],[1,{v:"↝",n:824,o:"↝̸"}],[0,"↞"],[0,"↟"],[0,"↠"],[0,"↡"],[0,"↢"],[0,"↣"],[0,"↤"],[0,"↥"],[0,"↦"],[0,"↧"],[1,"↩"],[0,"↪"],[0,"↫"],[0,"↬"],[0,"↭"],[0,"↮"],[1,"↰"],[0,"↱"],[0,"↲"],[0,"↳"],[1,"↵"],[0,"↶"],[0,"↷"],[2,"↺"],[0,"↻"],[0,"↼"],[0,"↽"],[0,"↾"],[0,"↿"],[0,"⇀"],[0,"⇁"],[0,"⇂"],[0,"⇃"],[0,"⇄"],[0,"⇅"],[0,"⇆"],[0,"⇇"],[0,"⇈"],[0,"⇉"],[0,"⇊"],[0,"⇋"],[0,"⇌"],[0,"⇍"],[0,"⇎"],[0,"⇏"],[0,"⇐"],[0,"⇑"],[0,"⇒"],[0,"⇓"],[0,"⇔"],[0,"⇕"],[0,"⇖"],[0,"⇗"],[0,"⇘"],[0,"⇙"],[0,"⇚"],[0,"⇛"],[1,"⇝"],[6,"⇤"],[0,"⇥"],[15,"⇵"],[7,"⇽"],[0,"⇾"],[0,"⇿"],[0,"∀"],[0,"∁"],[0,{v:"∂",n:824,o:"∂̸"}],[0,"∃"],[0,"∄"],[0,"∅"],[1,"∇"],[0,"∈"],[0,"∉"],[1,"∋"],[0,"∌"],[2,"∏"],[0,"∐"],[0,"∑"],[0,"−"],[0,"∓"],[0,"∔"],[1,"∖"],[0,"∗"],[0,"∘"],[1,"√"],[2,"∝"],[0,"∞"],[0,"∟"],[0,{v:"∠",n:8402,o:"∠⃒"}],[0,"∡"],[0,"∢"],[0,"∣"],[0,"∤"],[0,"∥"],[0,"∦"],[0,"∧"],[0,"∨"],[0,{v:"∩",n:65024,o:"∩︀"}],[0,{v:"∪",n:65024,o:"∪︀"}],[0,"∫"],[0,"∬"],[0,"∭"],[0,"∮"],[0,"∯"],[0,"∰"],[0,"∱"],[0,"∲"],[0,"∳"],[0,"∴"],[0,"∵"],[0,"∶"],[0,"∷"],[0,"∸"],[1,"∺"],[0,"∻"],[0,{v:"∼",n:8402,o:"∼⃒"}],[0,{v:"∽",n:817,o:"∽̱"}],[0,{v:"∾",n:819,o:"∾̳"}],[0,"∿"],[0,"≀"],[0,"≁"],[0,{v:"≂",n:824,o:"≂̸"}],[0,"≃"],[0,"≄"],[0,"≅"],[0,"≆"],[0,"≇"],[0,"≈"],[0,"≉"],[0,"≊"],[0,{v:"≋",n:824,o:"≋̸"}],[0,"≌"],[0,{v:"≍",n:8402,o:"≍⃒"}],[0,{v:"≎",n:824,o:"≎̸"}],[0,{v:"≏",n:824,o:"≏̸"}],[0,{v:"≐",n:824,o:"≐̸"}],[0,"≑"],[0,"≒"],[0,"≓"],[0,"≔"],[0,"≕"],[0,"≖"],[0,"≗"],[1,"≙"],[0,"≚"],[1,"≜"],[2,"≟"],[0,"≠"],[0,{v:"≡",n:8421,o:"≡⃥"}],[0,"≢"],[1,{v:"≤",n:8402,o:"≤⃒"}],[0,{v:"≥",n:8402,o:"≥⃒"}],[0,{v:"≦",n:824,o:"≦̸"}],[0,{v:"≧",n:824,o:"≧̸"}],[0,{v:"≨",n:65024,o:"≨︀"}],[0,{v:"≩",n:65024,o:"≩︀"}],[0,{v:"≪",n:new Map(r([[824,"≪̸"],[7577,"≪⃒"]]))}],[0,{v:"≫",n:new Map(r([[824,"≫̸"],[7577,"≫⃒"]]))}],[0,"≬"],[0,"≭"],[0,"≮"],[0,"≯"],[0,"≰"],[0,"≱"],[0,"≲"],[0,"≳"],[0,"≴"],[0,"≵"],[0,"≶"],[0,"≷"],[0,"≸"],[0,"≹"],[0,"≺"],[0,"≻"],[0,"≼"],[0,"≽"],[0,"≾"],[0,{v:"≿",n:824,o:"≿̸"}],[0,"⊀"],[0,"⊁"],[0,{v:"⊂",n:8402,o:"⊂⃒"}],[0,{v:"⊃",n:8402,o:"⊃⃒"}],[0,"⊄"],[0,"⊅"],[0,"⊆"],[0,"⊇"],[0,"⊈"],[0,"⊉"],[0,{v:"⊊",n:65024,o:"⊊︀"}],[0,{v:"⊋",n:65024,o:"⊋︀"}],[1,"⊍"],[0,"⊎"],[0,{v:"⊏",n:824,o:"⊏̸"}],[0,{v:"⊐",n:824,o:"⊐̸"}],[0,"⊑"],[0,"⊒"],[0,{v:"⊓",n:65024,o:"⊓︀"}],[0,{v:"⊔",n:65024,o:"⊔︀"}],[0,"⊕"],[0,"⊖"],[0,"⊗"],[0,"⊘"],[0,"⊙"],[0,"⊚"],[0,"⊛"],[1,"⊝"],[0,"⊞"],[0,"⊟"],[0,"⊠"],[0,"⊡"],[0,"⊢"],[0,"⊣"],[0,"⊤"],[0,"⊥"],[1,"⊧"],[0,"⊨"],[0,"⊩"],[0,"⊪"],[0,"⊫"],[0,"⊬"],[0,"⊭"],[0,"⊮"],[0,"⊯"],[0,"⊰"],[1,"⊲"],[0,"⊳"],[0,{v:"⊴",n:8402,o:"⊴⃒"}],[0,{v:"⊵",n:8402,o:"⊵⃒"}],[0,"⊶"],[0,"⊷"],[0,"⊸"],[0,"⊹"],[0,"⊺"],[0,"⊻"],[1,"⊽"],[0,"⊾"],[0,"⊿"],[0,"⋀"],[0,"⋁"],[0,"⋂"],[0,"⋃"],[0,"⋄"],[0,"⋅"],[0,"⋆"],[0,"⋇"],[0,"⋈"],[0,"⋉"],[0,"⋊"],[0,"⋋"],[0,"⋌"],[0,"⋍"],[0,"⋎"],[0,"⋏"],[0,"⋐"],[0,"⋑"],[0,"⋒"],[0,"⋓"],[0,"⋔"],[0,"⋕"],[0,"⋖"],[0,"⋗"],[0,{v:"⋘",n:824,o:"⋘̸"}],[0,{v:"⋙",n:824,o:"⋙̸"}],[0,{v:"⋚",n:65024,o:"⋚︀"}],[0,{v:"⋛",n:65024,o:"⋛︀"}],[2,"⋞"],[0,"⋟"],[0,"⋠"],[0,"⋡"],[0,"⋢"],[0,"⋣"],[2,"⋦"],[0,"⋧"],[0,"⋨"],[0,"⋩"],[0,"⋪"],[0,"⋫"],[0,"⋬"],[0,"⋭"],[0,"⋮"],[0,"⋯"],[0,"⋰"],[0,"⋱"],[0,"⋲"],[0,"⋳"],[0,"⋴"],[0,{v:"⋵",n:824,o:"⋵̸"}],[0,"⋶"],[0,"⋷"],[1,{v:"⋹",n:824,o:"⋹̸"}],[0,"⋺"],[0,"⋻"],[0,"⋼"],[0,"⋽"],[0,"⋾"],[6,"⌅"],[0,"⌆"],[1,"⌈"],[0,"⌉"],[0,"⌊"],[0,"⌋"],[0,"⌌"],[0,"⌍"],[0,"⌎"],[0,"⌏"],[0,"⌐"],[1,"⌒"],[0,"⌓"],[1,"⌕"],[0,"⌖"],[5,"⌜"],[0,"⌝"],[0,"⌞"],[0,"⌟"],[2,"⌢"],[0,"⌣"],[9,"⌭"],[0,"⌮"],[7,"⌶"],[6,"⌽"],[1,"⌿"],[60,"⍼"],[51,"⎰"],[0,"⎱"],[2,"⎴"],[0,"⎵"],[0,"⎶"],[37,"⏜"],[0,"⏝"],[0,"⏞"],[0,"⏟"],[2,"⏢"],[4,"⏧"],[59,"␣"],[164,"Ⓢ"],[55,"─"],[1,"│"],[9,"┌"],[3,"┐"],[3,"└"],[3,"┘"],[3,"├"],[7,"┤"],[7,"┬"],[7,"┴"],[7,"┼"],[19,"═"],[0,"║"],[0,"╒"],[0,"╓"],[0,"╔"],[0,"╕"],[0,"╖"],[0,"╗"],[0,"╘"],[0,"╙"],[0,"╚"],[0,"╛"],[0,"╜"],[0,"╝"],[0,"╞"],[0,"╟"],[0,"╠"],[0,"╡"],[0,"╢"],[0,"╣"],[0,"╤"],[0,"╥"],[0,"╦"],[0,"╧"],[0,"╨"],[0,"╩"],[0,"╪"],[0,"╫"],[0,"╬"],[19,"▀"],[3,"▄"],[3,"█"],[8,"░"],[0,"▒"],[0,"▓"],[13,"□"],[8,"▪"],[0,"▫"],[1,"▭"],[0,"▮"],[2,"▱"],[1,"△"],[0,"▴"],[0,"▵"],[2,"▸"],[0,"▹"],[3,"▽"],[0,"▾"],[0,"▿"],[2,"◂"],[0,"◃"],[6,"◊"],[0,"○"],[32,"◬"],[2,"◯"],[8,"◸"],[0,"◹"],[0,"◺"],[0,"◻"],[0,"◼"],[8,"★"],[0,"☆"],[7,"☎"],[49,"♀"],[1,"♂"],[29,"♠"],[2,"♣"],[1,"♥"],[0,"♦"],[3,"♪"],[2,"♭"],[0,"♮"],[0,"♯"],[163,"✓"],[3,"✗"],[8,"✠"],[21,"✶"],[33,"❘"],[25,"❲"],[0,"❳"],[84,"⟈"],[0,"⟉"],[28,"⟦"],[0,"⟧"],[0,"⟨"],[0,"⟩"],[0,"⟪"],[0,"⟫"],[0,"⟬"],[0,"⟭"],[7,"⟵"],[0,"⟶"],[0,"⟷"],[0,"⟸"],[0,"⟹"],[0,"⟺"],[1,"⟼"],[2,"⟿"],[258,"⤂"],[0,"⤃"],[0,"⤄"],[0,"⤅"],[6,"⤌"],[0,"⤍"],[0,"⤎"],[0,"⤏"],[0,"⤐"],[0,"⤑"],[0,"⤒"],[0,"⤓"],[2,"⤖"],[2,"⤙"],[0,"⤚"],[0,"⤛"],[0,"⤜"],[0,"⤝"],[0,"⤞"],[0,"⤟"],[0,"⤠"],[2,"⤣"],[0,"⤤"],[0,"⤥"],[0,"⤦"],[0,"⤧"],[0,"⤨"],[0,"⤩"],[0,"⤪"],[8,{v:"⤳",n:824,o:"⤳̸"}],[1,"⤵"],[0,"⤶"],[0,"⤷"],[0,"⤸"],[0,"⤹"],[2,"⤼"],[0,"⤽"],[7,"⥅"],[2,"⥈"],[0,"⥉"],[0,"⥊"],[0,"⥋"],[2,"⥎"],[0,"⥏"],[0,"⥐"],[0,"⥑"],[0,"⥒"],[0,"⥓"],[0,"⥔"],[0,"⥕"],[0,"⥖"],[0,"⥗"],[0,"⥘"],[0,"⥙"],[0,"⥚"],[0,"⥛"],[0,"⥜"],[0,"⥝"],[0,"⥞"],[0,"⥟"],[0,"⥠"],[0,"⥡"],[0,"⥢"],[0,"⥣"],[0,"⥤"],[0,"⥥"],[0,"⥦"],[0,"⥧"],[0,"⥨"],[0,"⥩"],[0,"⥪"],[0,"⥫"],[0,"⥬"],[0,"⥭"],[0,"⥮"],[0,"⥯"],[0,"⥰"],[0,"⥱"],[0,"⥲"],[0,"⥳"],[0,"⥴"],[0,"⥵"],[0,"⥶"],[1,"⥸"],[0,"⥹"],[1,"⥻"],[0,"⥼"],[0,"⥽"],[0,"⥾"],[0,"⥿"],[5,"⦅"],[0,"⦆"],[4,"⦋"],[0,"⦌"],[0,"⦍"],[0,"⦎"],[0,"⦏"],[0,"⦐"],[0,"⦑"],[0,"⦒"],[0,"⦓"],[0,"⦔"],[0,"⦕"],[0,"⦖"],[3,"⦚"],[1,"⦜"],[0,"⦝"],[6,"⦤"],[0,"⦥"],[0,"⦦"],[0,"⦧"],[0,"⦨"],[0,"⦩"],[0,"⦪"],[0,"⦫"],[0,"⦬"],[0,"⦭"],[0,"⦮"],[0,"⦯"],[0,"⦰"],[0,"⦱"],[0,"⦲"],[0,"⦳"],[0,"⦴"],[0,"⦵"],[0,"⦶"],[0,"⦷"],[1,"⦹"],[1,"⦻"],[0,"⦼"],[1,"⦾"],[0,"⦿"],[0,"⧀"],[0,"⧁"],[0,"⧂"],[0,"⧃"],[0,"⧄"],[0,"⧅"],[3,"⧉"],[3,"⧍"],[0,"⧎"],[0,{v:"⧏",n:824,o:"⧏̸"}],[0,{v:"⧐",n:824,o:"⧐̸"}],[11,"⧜"],[0,"⧝"],[0,"⧞"],[4,"⧣"],[0,"⧤"],[0,"⧥"],[5,"⧫"],[8,"⧴"],[1,"⧶"],[9,"⨀"],[0,"⨁"],[0,"⨂"],[1,"⨄"],[1,"⨆"],[5,"⨌"],[0,"⨍"],[2,"⨐"],[0,"⨑"],[0,"⨒"],[0,"⨓"],[0,"⨔"],[0,"⨕"],[0,"⨖"],[0,"⨗"],[10,"⨢"],[0,"⨣"],[0,"⨤"],[0,"⨥"],[0,"⨦"],[0,"⨧"],[1,"⨩"],[0,"⨪"],[2,"⨭"],[0,"⨮"],[0,"⨯"],[0,"⨰"],[0,"⨱"],[1,"⨳"],[0,"⨴"],[0,"⨵"],[0,"⨶"],[0,"⨷"],[0,"⨸"],[0,"⨹"],[0,"⨺"],[0,"⨻"],[0,"⨼"],[2,"⨿"],[0,"⩀"],[1,"⩂"],[0,"⩃"],[0,"⩄"],[0,"⩅"],[0,"⩆"],[0,"⩇"],[0,"⩈"],[0,"⩉"],[0,"⩊"],[0,"⩋"],[0,"⩌"],[0,"⩍"],[2,"⩐"],[2,"⩓"],[0,"⩔"],[0,"⩕"],[0,"⩖"],[0,"⩗"],[0,"⩘"],[1,"⩚"],[0,"⩛"],[0,"⩜"],[0,"⩝"],[1,"⩟"],[6,"⩦"],[3,"⩪"],[2,{v:"⩭",n:824,o:"⩭̸"}],[0,"⩮"],[0,"⩯"],[0,{v:"⩰",n:824,o:"⩰̸"}],[0,"⩱"],[0,"⩲"],[0,"⩳"],[0,"⩴"],[0,"⩵"],[1,"⩷"],[0,"⩸"],[0,"⩹"],[0,"⩺"],[0,"⩻"],[0,"⩼"],[0,{v:"⩽",n:824,o:"⩽̸"}],[0,{v:"⩾",n:824,o:"⩾̸"}],[0,"⩿"],[0,"⪀"],[0,"⪁"],[0,"⪂"],[0,"⪃"],[0,"⪄"],[0,"⪅"],[0,"⪆"],[0,"⪇"],[0,"⪈"],[0,"⪉"],[0,"⪊"],[0,"⪋"],[0,"⪌"],[0,"⪍"],[0,"⪎"],[0,"⪏"],[0,"⪐"],[0,"⪑"],[0,"⪒"],[0,"⪓"],[0,"⪔"],[0,"⪕"],[0,"⪖"],[0,"⪗"],[0,"⪘"],[0,"⪙"],[0,"⪚"],[2,"⪝"],[0,"⪞"],[0,"⪟"],[0,"⪠"],[0,{v:"⪡",n:824,o:"⪡̸"}],[0,{v:"⪢",n:824,o:"⪢̸"}],[1,"⪤"],[0,"⪥"],[0,"⪦"],[0,"⪧"],[0,"⪨"],[0,"⪩"],[0,"⪪"],[0,"⪫"],[0,{v:"⪬",n:65024,o:"⪬︀"}],[0,{v:"⪭",n:65024,o:"⪭︀"}],[0,"⪮"],[0,{v:"⪯",n:824,o:"⪯̸"}],[0,{v:"⪰",n:824,o:"⪰̸"}],[2,"⪳"],[0,"⪴"],[0,"⪵"],[0,"⪶"],[0,"⪷"],[0,"⪸"],[0,"⪹"],[0,"⪺"],[0,"⪻"],[0,"⪼"],[0,"⪽"],[0,"⪾"],[0,"⪿"],[0,"⫀"],[0,"⫁"],[0,"⫂"],[0,"⫃"],[0,"⫄"],[0,{v:"⫅",n:824,o:"⫅̸"}],[0,{v:"⫆",n:824,o:"⫆̸"}],[0,"⫇"],[0,"⫈"],[2,{v:"⫋",n:65024,o:"⫋︀"}],[0,{v:"⫌",n:65024,o:"⫌︀"}],[2,"⫏"],[0,"⫐"],[0,"⫑"],[0,"⫒"],[0,"⫓"],[0,"⫔"],[0,"⫕"],[0,"⫖"],[0,"⫗"],[0,"⫘"],[0,"⫙"],[0,"⫚"],[0,"⫛"],[8,"⫤"],[1,"⫦"],[0,"⫧"],[0,"⫨"],[0,"⫩"],[1,"⫫"],[0,"⫬"],[0,"⫭"],[0,"⫮"],[0,"⫯"],[0,"⫰"],[0,"⫱"],[0,"⫲"],[0,"⫳"],[9,{v:"⫽",n:8421,o:"⫽⃥"}],[44343,{n:new Map(r([[56476,"𝒜"],[1,"𝒞"],[0,"𝒟"],[2,"𝒢"],[2,"𝒥"],[0,"𝒦"],[2,"𝒩"],[0,"𝒪"],[0,"𝒫"],[0,"𝒬"],[1,"𝒮"],[0,"𝒯"],[0,"𝒰"],[0,"𝒱"],[0,"𝒲"],[0,"𝒳"],[0,"𝒴"],[0,"𝒵"],[0,"𝒶"],[0,"𝒷"],[0,"𝒸"],[0,"𝒹"],[1,"𝒻"],[1,"𝒽"],[0,"𝒾"],[0,"𝒿"],[0,"𝓀"],[0,"𝓁"],[0,"𝓂"],[0,"𝓃"],[1,"𝓅"],[0,"𝓆"],[0,"𝓇"],[0,"𝓈"],[0,"𝓉"],[0,"𝓊"],[0,"𝓋"],[0,"𝓌"],[0,"𝓍"],[0,"𝓎"],[0,"𝓏"],[52,"𝔄"],[0,"𝔅"],[1,"𝔇"],[0,"𝔈"],[0,"𝔉"],[0,"𝔊"],[2,"𝔍"],[0,"𝔎"],[0,"𝔏"],[0,"𝔐"],[0,"𝔑"],[0,"𝔒"],[0,"𝔓"],[0,"𝔔"],[1,"𝔖"],[0,"𝔗"],[0,"𝔘"],[0,"𝔙"],[0,"𝔚"],[0,"𝔛"],[0,"𝔜"],[1,"𝔞"],[0,"𝔟"],[0,"𝔠"],[0,"𝔡"],[0,"𝔢"],[0,"𝔣"],[0,"𝔤"],[0,"𝔥"],[0,"𝔦"],[0,"𝔧"],[0,"𝔨"],[0,"𝔩"],[0,"𝔪"],[0,"𝔫"],[0,"𝔬"],[0,"𝔭"],[0,"𝔮"],[0,"𝔯"],[0,"𝔰"],[0,"𝔱"],[0,"𝔲"],[0,"𝔳"],[0,"𝔴"],[0,"𝔵"],[0,"𝔶"],[0,"𝔷"],[0,"𝔸"],[0,"𝔹"],[1,"𝔻"],[0,"𝔼"],[0,"𝔽"],[0,"𝔾"],[1,"𝕀"],[0,"𝕁"],[0,"𝕂"],[0,"𝕃"],[0,"𝕄"],[1,"𝕆"],[3,"𝕊"],[0,"𝕋"],[0,"𝕌"],[0,"𝕍"],[0,"𝕎"],[0,"𝕏"],[0,"𝕐"],[1,"𝕒"],[0,"𝕓"],[0,"𝕔"],[0,"𝕕"],[0,"𝕖"],[0,"𝕗"],[0,"𝕘"],[0,"𝕙"],[0,"𝕚"],[0,"𝕛"],[0,"𝕜"],[0,"𝕝"],[0,"𝕞"],[0,"𝕟"],[0,"𝕠"],[0,"𝕡"],[0,"𝕢"],[0,"𝕣"],[0,"𝕤"],[0,"𝕥"],[0,"𝕦"],[0,"𝕧"],[0,"𝕨"],[0,"𝕩"],[0,"𝕪"],[0,"𝕫"]]))}],[8906,"ff"],[0,"fi"],[0,"fl"],[0,"ffi"],[0,"ffl"]]))},31360(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.decodeXMLStrict=t.decodeHTML5Strict=t.decodeHTML4Strict=t.decodeHTML5=t.decodeHTML4=t.decodeHTMLAttribute=t.decodeHTMLStrict=t.decodeHTML=t.decodeXML=t.DecodingMode=t.EntityDecoder=t.encodeHTML5=t.encodeHTML4=t.encodeNonAsciiHTML=t.encodeHTML=t.escapeText=t.escapeAttribute=t.escapeUTF8=t.escape=t.encodeXML=t.encode=t.decodeStrict=t.decode=t.EncodingMode=t.EntityLevel=void 0;var n,i,o=r(5972),a=r(31388),s=r(47665);function u(e,t){if(void 0===t&&(t=n.XML),("number"==typeof t?t:t.level)===n.HTML){var r="object"==typeof t?t.mode:void 0;return(0,o.decodeHTML)(e,r)}return(0,o.decodeXML)(e)}!function(e){e[e.XML=0]="XML",e[e.HTML=1]="HTML"}(n=t.EntityLevel||(t.EntityLevel={})),function(e){e[e.UTF8=0]="UTF8",e[e.ASCII=1]="ASCII",e[e.Extensive=2]="Extensive",e[e.Attribute=3]="Attribute",e[e.Text=4]="Text"}(i=t.EncodingMode||(t.EncodingMode={})),t.decode=u,t.decodeStrict=function(e,t){var r;void 0===t&&(t=n.XML);var i="number"==typeof t?{level:t}:t;return null!==(r=i.mode)&&void 0!==r||(i.mode=o.DecodingMode.Strict),u(e,i)},t.encode=function(e,t){void 0===t&&(t=n.XML);var r="number"==typeof t?{level:t}:t;return r.mode===i.UTF8?(0,s.escapeUTF8)(e):r.mode===i.Attribute?(0,s.escapeAttribute)(e):r.mode===i.Text?(0,s.escapeText)(e):r.level===n.HTML?r.mode===i.ASCII?(0,a.encodeNonAsciiHTML)(e):(0,a.encodeHTML)(e):(0,s.encodeXML)(e)};var l=r(47665);Object.defineProperty(t,"encodeXML",{enumerable:!0,get:function(){return l.encodeXML}}),Object.defineProperty(t,"escape",{enumerable:!0,get:function(){return l.escape}}),Object.defineProperty(t,"escapeUTF8",{enumerable:!0,get:function(){return l.escapeUTF8}}),Object.defineProperty(t,"escapeAttribute",{enumerable:!0,get:function(){return l.escapeAttribute}}),Object.defineProperty(t,"escapeText",{enumerable:!0,get:function(){return l.escapeText}});var c=r(31388);Object.defineProperty(t,"encodeHTML",{enumerable:!0,get:function(){return c.encodeHTML}}),Object.defineProperty(t,"encodeNonAsciiHTML",{enumerable:!0,get:function(){return c.encodeNonAsciiHTML}}),Object.defineProperty(t,"encodeHTML4",{enumerable:!0,get:function(){return c.encodeHTML}}),Object.defineProperty(t,"encodeHTML5",{enumerable:!0,get:function(){return c.encodeHTML}});var d=r(5972);Object.defineProperty(t,"EntityDecoder",{enumerable:!0,get:function(){return d.EntityDecoder}}),Object.defineProperty(t,"DecodingMode",{enumerable:!0,get:function(){return d.DecodingMode}}),Object.defineProperty(t,"decodeXML",{enumerable:!0,get:function(){return d.decodeXML}}),Object.defineProperty(t,"decodeHTML",{enumerable:!0,get:function(){return d.decodeHTML}}),Object.defineProperty(t,"decodeHTMLStrict",{enumerable:!0,get:function(){return d.decodeHTMLStrict}}),Object.defineProperty(t,"decodeHTMLAttribute",{enumerable:!0,get:function(){return d.decodeHTMLAttribute}}),Object.defineProperty(t,"decodeHTML4",{enumerable:!0,get:function(){return d.decodeHTML}}),Object.defineProperty(t,"decodeHTML5",{enumerable:!0,get:function(){return d.decodeHTML}}),Object.defineProperty(t,"decodeHTML4Strict",{enumerable:!0,get:function(){return d.decodeHTMLStrict}}),Object.defineProperty(t,"decodeHTML5Strict",{enumerable:!0,get:function(){return d.decodeHTMLStrict}}),Object.defineProperty(t,"decodeXMLStrict",{enumerable:!0,get:function(){return d.decodeXML}})},98621(e){"use strict";var t,r="object"==typeof Reflect?Reflect:null,n=r&&"function"==typeof r.apply?r.apply:function(e,t,r){return Function.prototype.apply.call(e,t,r)};t=r&&"function"==typeof r.ownKeys?r.ownKeys:Object.getOwnPropertySymbols?function(e){return Object.getOwnPropertyNames(e).concat(Object.getOwnPropertySymbols(e))}:function(e){return Object.getOwnPropertyNames(e)};var i=Number.isNaN||function(e){return e!=e};function o(){o.init.call(this)}e.exports=o,e.exports.once=function(e,t){return new Promise(function(r,n){function i(r){e.removeListener(t,o),n(r)}function o(){"function"==typeof e.removeListener&&e.removeListener("error",i),r([].slice.call(arguments))}m(e,t,o,{once:!0}),"error"!==t&&function(e,t){"function"==typeof e.on&&m(e,"error",t,{once:!0})}(e,i)})},o.EventEmitter=o,o.prototype._events=void 0,o.prototype._eventsCount=0,o.prototype._maxListeners=void 0;var a=10;function s(e){if("function"!=typeof e)throw new TypeError('The "listener" argument must be of type Function. Received type '+typeof e)}function u(e){return void 0===e._maxListeners?o.defaultMaxListeners:e._maxListeners}function l(e,t,r,n){var i,o,a,l;if(s(r),void 0===(o=e._events)?(o=e._events=Object.create(null),e._eventsCount=0):(void 0!==o.newListener&&(e.emit("newListener",t,r.listener?r.listener:r),o=e._events),a=o[t]),void 0===a)a=o[t]=r,++e._eventsCount;else if("function"==typeof a?a=o[t]=n?[r,a]:[a,r]:n?a.unshift(r):a.push(r),(i=u(e))>0&&a.length>i&&!a.warned){a.warned=!0;var c=new Error("Possible EventEmitter memory leak detected. "+a.length+" "+String(t)+" listeners added. Use emitter.setMaxListeners() to increase limit");c.name="MaxListenersExceededWarning",c.emitter=e,c.type=t,c.count=a.length,l=c,console&&console.warn&&console.warn(l)}return e}function c(){if(!this.fired)return this.target.removeListener(this.type,this.wrapFn),this.fired=!0,0===arguments.length?this.listener.call(this.target):this.listener.apply(this.target,arguments)}function d(e,t,r){var n={fired:!1,wrapFn:void 0,target:e,type:t,listener:r},i=c.bind(n);return i.listener=r,n.wrapFn=i,i}function f(e,t,r){var n=e._events;if(void 0===n)return[];var i=n[t];return void 0===i?[]:"function"==typeof i?r?[i.listener||i]:[i]: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}(i):h(i,i.length)}function p(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 h(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 i(o){n.once&&e.removeEventListener(t,i),r(o)})}}Object.defineProperty(o,"defaultMaxListeners",{enumerable:!0,get:function(){return a},set:function(e){if("number"!=typeof e||e<0||i(e))throw new RangeError('The value of "defaultMaxListeners" is out of range. It must be a non-negative number. Received '+e+".");a=e}}),o.init=function(){void 0!==this._events&&this._events!==Object.getPrototypeOf(this)._events||(this._events=Object.create(null),this._eventsCount=0),this._maxListeners=this._maxListeners||void 0},o.prototype.setMaxListeners=function(e){if("number"!=typeof e||e<0||i(e))throw new RangeError('The value of "n" is out of range. It must be a non-negative number. Received '+e+".");return this._maxListeners=e,this},o.prototype.getMaxListeners=function(){return u(this)},o.prototype.emit=function(e){for(var t=[],r=1;r<arguments.length;r++)t.push(arguments[r]);var i="error"===e,o=this._events;if(void 0!==o)i=i&&void 0===o.error;else if(!i)return!1;if(i){var a;if(t.length>0&&(a=t[0]),a instanceof Error)throw a;var s=new Error("Unhandled error."+(a?" ("+a.message+")":""));throw s.context=a,s}var u=o[e];if(void 0===u)return!1;if("function"==typeof u)n(u,this,t);else{var l=u.length,c=h(u,l);for(r=0;r<l;++r)n(c[r],this,t)}return!0},o.prototype.addListener=function(e,t){return l(this,e,t,!1)},o.prototype.on=o.prototype.addListener,o.prototype.prependListener=function(e,t){return l(this,e,t,!0)},o.prototype.once=function(e,t){return s(t),this.on(e,d(this,e,t)),this},o.prototype.prependOnceListener=function(e,t){return s(t),this.prependListener(e,d(this,e,t)),this},o.prototype.removeListener=function(e,t){var r,n,i,o,a;if(s(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(i=-1,o=r.length-1;o>=0;o--)if(r[o]===t||r[o].listener===t){a=r[o].listener,i=o;break}if(i<0)return this;0===i?r.shift():function(e,t){for(;t+1<e.length;t++)e[t]=e[t+1];e.pop()}(r,i),1===r.length&&(n[e]=r[0]),void 0!==n.removeListener&&this.emit("removeListener",e,a||t)}return this},o.prototype.off=o.prototype.removeListener,o.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 i,o=Object.keys(r);for(n=0;n<o.length;++n)"removeListener"!==(i=o[n])&&this.removeAllListeners(i);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},o.prototype.listeners=function(e){return f(this,e,!0)},o.prototype.rawListeners=function(e){return f(this,e,!1)},o.listenerCount=function(e,t){return"function"==typeof e.listenerCount?e.listenerCount(t):p.call(e,t)},o.prototype.listenerCount=p,o.prototype.eventNames=function(){return this._eventsCount>0?t(this._events):[]}},15540(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)({}).hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},n.apply(null,arguments)}function i(e){return"/"===e.charAt(0)}function o(e,t){for(var r=t,n=r+1,i=e.length;n<i;r+=1,n+=1)e[r]=e[n];e.pop()}r.r(t),r.d(t,{createBrowserHistory:()=>_,createHashHistory:()=>A,createLocation:()=>m,createMemoryHistory:()=>L,createPath:()=>h,locationsAreEqual:()=>g,parsePath:()=>p});function a(e){return e.valueOf?e.valueOf():Object.prototype.valueOf.call(e)}const 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=a(t),i=a(r);return n!==t||i!==r?e(n,i):Object.keys(Object.assign({},t,r)).every(function(n){return e(t[n],r[n])})}return!1};function u(e,t){if(!e)throw new Error("Invariant failed")}function l(e){return"/"===e.charAt(0)?e:"/"+e}function c(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 f(e){return"/"===e.charAt(e.length-1)?e.slice(0,-1):e}function p(e){var t=e||"/",r="",n="",i=t.indexOf("#");-1!==i&&(n=t.substr(i),t=t.substr(0,i));var o=t.indexOf("?");return-1!==o&&(r=t.substr(o),t=t.substr(0,o)),{pathname:t,search:"?"===r?"":r,hash:"#"===n?"":n}}function h(e){var t=e.pathname,r=e.search,n=e.hash,i=t||"/";return r&&"?"!==r&&(i+="?"===r.charAt(0)?r:"?"+r),n&&"#"!==n&&(i+="#"===n.charAt(0)?n:"#"+n),i}function m(e,t,r,a){var s;"string"==typeof e?(s=p(e)).state=t:(void 0===(s=n({},e)).pathname&&(s.pathname=""),s.search?"?"!==s.search.charAt(0)&&(s.search="?"+s.search):s.search="",s.hash?"#"!==s.hash.charAt(0)&&(s.hash="#"+s.hash):s.hash="",void 0!==t&&void 0===s.state&&(s.state=t));try{s.pathname=decodeURI(s.pathname)}catch(e){throw e instanceof URIError?new URIError('Pathname "'+s.pathname+'" could not be decoded. This is likely caused by an invalid percent-encoding.'):e}return r&&(s.key=r),a?s.pathname?"/"!==s.pathname.charAt(0)&&(s.pathname=function(e,t){void 0===t&&(t="");var r,n=e&&e.split("/")||[],a=t&&t.split("/")||[],s=e&&i(e),u=t&&i(t),l=s||u;if(e&&i(e)?a=n:n.length&&(a.pop(),a=a.concat(n)),!a.length)return"/";if(a.length){var c=a[a.length-1];r="."===c||".."===c||""===c}else r=!1;for(var d=0,f=a.length;f>=0;f--){var p=a[f];"."===p?o(a,f):".."===p?(o(a,f),d++):d&&(o(a,f),d--)}if(!l)for(;d--;d)a.unshift("..");!l||""===a[0]||a[0]&&i(a[0])||a.unshift("");var h=a.join("/");return r&&"/"!==h.substr(-1)&&(h+="/"),h}(s.pathname,a.pathname)):s.pathname=a.pathname:s.pathname||(s.pathname="/"),s}function g(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 y(){var e=null,t=[];return{setPrompt:function(t){return e=t,function(){e===t&&(e=null)}},confirmTransitionTo:function(t,r,n,i){if(null!=e){var o="function"==typeof e?e(t,r):e;"string"==typeof o?"function"==typeof n?n(o,i):i(!0):i(!1!==o)}else i(!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 b=!("undefined"==typeof window||!window.document||!window.document.createElement);function v(e,t){t(window.confirm(e))}var S="popstate",w="hashchange";function E(){try{return window.history.state||{}}catch(e){return{}}}function _(e){void 0===e&&(e={}),b||u(!1);var t,r=window.history,i=(-1===(t=window.navigator.userAgent).indexOf("Android 2.")&&-1===t.indexOf("Android 4.0")||-1===t.indexOf("Mobile Safari")||-1!==t.indexOf("Chrome")||-1!==t.indexOf("Windows Phone"))&&window.history&&"pushState"in window.history,o=!(-1===window.navigator.userAgent.indexOf("Trident")),a=e,s=a.forceRefresh,c=void 0!==s&&s,p=a.getUserConfirmation,g=void 0===p?v:p,_=a.keyLength,O=void 0===_?6:_,x=e.basename?f(l(e.basename)):"";function k(e){var t=e||{},r=t.key,n=t.state,i=window.location,o=i.pathname+i.search+i.hash;return x&&(o=d(o,x)),m(o,n,r)}function P(){return Math.random().toString(36).substr(2,O)}var T=y();function A(e){n(q,e),q.length=r.length,T.notifyListeners(q.location,q.action)}function C(e){(function(e){return void 0===e.state&&-1===navigator.userAgent.indexOf("CriOS")})(e)||N(k(e.state))}function L(){N(k(E()))}var I=!1;function N(e){I?(I=!1,A()):T.confirmTransitionTo(e,"POP",g,function(t){t?A({action:"POP",location:e}):function(e){var t=q.location,r=R.indexOf(t.key);-1===r&&(r=0);var n=R.indexOf(e.key);-1===n&&(n=0);var i=r-n;i&&(I=!0,M(i))}(e)})}var j=k(E()),R=[j.key];function D(e){return x+h(e)}function M(e){r.go(e)}var U=0;function B(e){1===(U+=e)&&1===e?(window.addEventListener(S,C),o&&window.addEventListener(w,L)):0===U&&(window.removeEventListener(S,C),o&&window.removeEventListener(w,L))}var F=!1,q={length:r.length,action:"POP",location:j,createHref:D,push:function(e,t){var n="PUSH",o=m(e,t,P(),q.location);T.confirmTransitionTo(o,n,g,function(e){if(e){var t=D(o),a=o.key,s=o.state;if(i)if(r.pushState({key:a,state:s},null,t),c)window.location.href=t;else{var u=R.indexOf(q.location.key),l=R.slice(0,u+1);l.push(o.key),R=l,A({action:n,location:o})}else window.location.href=t}})},replace:function(e,t){var n="REPLACE",o=m(e,t,P(),q.location);T.confirmTransitionTo(o,n,g,function(e){if(e){var t=D(o),a=o.key,s=o.state;if(i)if(r.replaceState({key:a,state:s},null,t),c)window.location.replace(t);else{var u=R.indexOf(q.location.key);-1!==u&&(R[u]=o.key),A({action:n,location:o})}else window.location.replace(t)}})},go:M,goBack:function(){M(-1)},goForward:function(){M(1)},block:function(e){void 0===e&&(e=!1);var t=T.setPrompt(e);return F||(B(1),F=!0),function(){return F&&(F=!1,B(-1)),t()}},listen:function(e){var t=T.appendListener(e);return B(1),function(){B(-1),t()}}};return q}var O="hashchange",x={hashbang:{encodePath:function(e){return"!"===e.charAt(0)?e:"!/"+c(e)},decodePath:function(e){return"!"===e.charAt(0)?e.substr(1):e}},noslash:{encodePath:c,decodePath:l},slash:{encodePath:l,decodePath:l}};function k(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 T(e){window.location.replace(k(window.location.href)+"#"+e)}function A(e){void 0===e&&(e={}),b||u(!1);var t=window.history,r=(window.navigator.userAgent.indexOf("Firefox"),e),i=r.getUserConfirmation,o=void 0===i?v:i,a=r.hashType,s=void 0===a?"slash":a,c=e.basename?f(l(e.basename)):"",p=x[s],g=p.encodePath,S=p.decodePath;function w(){var e=S(P());return c&&(e=d(e,c)),m(e)}var E=y();function _(e){n(F,e),F.length=t.length,E.notifyListeners(F.location,F.action)}var A=!1,C=null;function L(){var e,t,r=P(),n=g(r);if(r!==n)T(n);else{var i=w(),a=F.location;if(!A&&(t=i,(e=a).pathname===t.pathname&&e.search===t.search&&e.hash===t.hash))return;if(C===h(i))return;C=null,function(e){if(A)A=!1,_();else{E.confirmTransitionTo(e,"POP",o,function(t){t?_({action:"POP",location:e}):function(e){var t=F.location,r=R.lastIndexOf(h(t));-1===r&&(r=0);var n=R.lastIndexOf(h(e));-1===n&&(n=0);var i=r-n;i&&(A=!0,D(i))}(e)})}}(i)}}var I=P(),N=g(I);I!==N&&T(N);var j=w(),R=[h(j)];function D(e){t.go(e)}var M=0;function U(e){1===(M+=e)&&1===e?window.addEventListener(O,L):0===M&&window.removeEventListener(O,L)}var B=!1,F={length:t.length,action:"POP",location:j,createHref:function(e){var t=document.querySelector("base"),r="";return t&&t.getAttribute("href")&&(r=k(window.location.href)),r+"#"+g(c+h(e))},push:function(e,t){var r="PUSH",n=m(e,void 0,void 0,F.location);E.confirmTransitionTo(n,r,o,function(e){if(e){var t=h(n),i=g(c+t);if(P()!==i){C=t,function(e){window.location.hash=e}(i);var o=R.lastIndexOf(h(F.location)),a=R.slice(0,o+1);a.push(t),R=a,_({action:r,location:n})}else _()}})},replace:function(e,t){var r="REPLACE",n=m(e,void 0,void 0,F.location);E.confirmTransitionTo(n,r,o,function(e){if(e){var t=h(n),i=g(c+t);P()!==i&&(C=t,T(i));var o=R.indexOf(h(F.location));-1!==o&&(R[o]=t),_({action:r,location:n})}})},go:D,goBack:function(){D(-1)},goForward:function(){D(1)},block:function(e){void 0===e&&(e=!1);var t=E.setPrompt(e);return B||(U(1),B=!0),function(){return B&&(B=!1,U(-1)),t()}},listen:function(e){var t=E.appendListener(e);return U(1),function(){U(-1),t()}}};return F}function C(e,t,r){return Math.min(Math.max(e,t),r)}function L(e){void 0===e&&(e={});var t=e,r=t.getUserConfirmation,i=t.initialEntries,o=void 0===i?["/"]:i,a=t.initialIndex,s=void 0===a?0:a,u=t.keyLength,l=void 0===u?6:u,c=y();function d(e){n(S,e),S.length=S.entries.length,c.notifyListeners(S.location,S.action)}function f(){return Math.random().toString(36).substr(2,l)}var p=C(s,0,o.length-1),g=o.map(function(e){return m(e,void 0,"string"==typeof e?f():e.key||f())}),b=h;function v(e){var t=C(S.index+e,0,S.entries.length-1),n=S.entries[t];c.confirmTransitionTo(n,"POP",r,function(e){e?d({action:"POP",location:n,index:t}):d()})}var S={length:g.length,action:"POP",location:g[p],index:p,entries:g,createHref:b,push:function(e,t){var n="PUSH",i=m(e,t,f(),S.location);c.confirmTransitionTo(i,n,r,function(e){if(e){var t=S.index+1,r=S.entries.slice(0);r.length>t?r.splice(t,r.length-t,i):r.push(i),d({action:n,location:i,index:t,entries:r})}})},replace:function(e,t){var n="REPLACE",i=m(e,t,f(),S.location);c.confirmTransitionTo(i,n,r,function(e){e&&(S.entries[S.index]=i,d({action:n,location:i}))})},go:v,goBack:function(){v(-1)},goForward:function(){v(1)},canGo:function(e){var t=S.index+e;return t>=0&&t<S.entries.length},block:function(e){return void 0===e&&(e=!1),c.setPrompt(e)},listen:function(e){return c.appendListener(e)}};return S}},18082(e,t,r){"use strict";const n=r(6103),i=r(10441),o=r(21655),a=r(58623);e.exports={Parser:n,ProcessingInstructions:i,IsValidNodeDefinitions:o,ProcessNodeDefinitions:a}},62189(e){"use strict";const t=["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=t},21655(e){"use strict";e.exports={alwaysValid:function(){return!0}}},6103(e,t,r){"use strict";const n=r(82082).Parser,i=r(60023).DomHandler,o=r(10441),a=r(21655),s=r(93655);e.exports=function(e){function t(e,r,n,i,o){if(r(e)){(i||[]).forEach(t=>{t.shouldPreprocessNode(e)&&t.preprocessNode(e,o)});const a=(n||[]).find(t=>t.shouldProcessNode(e));if(null!=a){const u=(e.children||[]).map((e,o)=>t(e,r,n,i,o)).filter(e=>null!=e&&!1!==e);return a.replaceChildren?s.createElement(e,o,e.data,[a.processNode(e,u,o)]):a.processNode(e,u,o)}return!1}return!1}function r(r,o,a,s){const u=function(t){(e=e||{}).decodeEntities=!0;const r=new i;return new n(r,e).parseComplete(t),r.dom.filter(function(e){return"directive"!==e.type})}(r),l=u.map(function(e,r){return t(e,o,a,s,r)});return l.length<=1?l[0]:l}return{parse:function(e){const t=new o;return r(e,a.alwaysValid,t.defaultProcessingInstructions)},parseWithInstructions:r}}},58623(e,t,r){"use strict";const n=r(93655),i=["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&&(i.indexOf(e.name)>-1?n.createElement(e,r):n.createElement(e,r,e.data,t))}}}},10441(e,t,r){"use strict";const n=r(21155),i=r(58623);e.exports=function(){const e=new i;return{defaultProcessingInstructions:[{shouldProcessNode:n.shouldProcessEveryNode,processNode:e.processDefaultNode}]}}},21155(e){"use strict";e.exports={shouldProcessEveryNode:function(e){return!0}}},93655(e,t,r){"use strict";const n=r(86682),i=r(64012),o=r(62189),a=["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,s){let u={key:t};const l=e.name.includes("-");e.attribs&&(u=Object.entries(e.attribs).reduce((e,[t,r])=>(l||("style"===(t=o[t.replace(/[-:]/,"")]||t)?r=function(e){const t=(e=e||"").split(/;(?!base64)/);let r,i,o,a={};for(let e=0;e<t.length;++e)r=t[e].split(":"),r.length>2&&(r[1]=r.slice(1).join(":")),i=r[0],o=r[1],"string"==typeof o&&(o=o.trim()),null!=i&&null!=o&&i.length>0&&o.length>0&&(i=i.trim(),0!==i.indexOf("--")&&(i=n(i)),a[i]=o);return a}(r):"class"===t?t="className":"for"===t?t="htmlFor":t.startsWith("on")&&(r=Function(r)),a.includes(t)&&""===(r||"")&&(r=t)),e[t]=r,e),u)),s=s||[];const c=null!=r?[r].concat(s):s;return i.createElement.apply(null,[e.name,u].concat(c))}}},16603(e,t,r){"use strict";var n=this&&this.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r);var i=Object.getOwnPropertyDescriptor(t,r);i&&!("get"in i?!t.__esModule:i.writable||i.configurable)||(i={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,n,i)}: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}),o=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 i(t,e),t};Object.defineProperty(t,"__esModule",{value:!0}),t.Parser=void 0;var a=o(r(46431)),s=r(5972),u=new Set(["input","option","optgroup","select","button","datalist","textarea"]),l=new Set(["p"]),c=new Set(["thead","tbody"]),d=new Set(["dd","dt"]),f=new Set(["rt","rp"]),p=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",l],["h1",l],["h2",l],["h3",l],["h4",l],["h5",l],["h6",l],["select",u],["input",u],["output",u],["button",u],["datalist",u],["textarea",u],["option",new Set(["option"])],["optgroup",new Set(["optgroup","option"])],["dd",d],["dt",d],["address",l],["article",l],["aside",l],["blockquote",l],["details",l],["div",l],["dl",l],["fieldset",l],["figcaption",l],["figure",l],["footer",l],["form",l],["header",l],["hr",l],["main",l],["nav",l],["ol",l],["pre",l],["section",l],["table",l],["ul",l],["rt",f],["rp",f],["tbody",c],["tfoot",c]]),h=new Set(["area","base","basefont","br","col","command","embed","frame","hr","img","input","isindex","keygen","link","meta","param","source","track","wbr"]),m=new Set(["math","svg"]),g=new Set(["mi","mo","mn","ms","mtext","annotation-xml","foreignobject","desc","title"]),y=/\s|\//,b=function(){function e(e,t){var r,n,i,o,s,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.buffers=[],this.bufferOffset=0,this.writeIndex=0,this.ended=!1,this.cbs=null!=e?e:{},this.htmlMode=!this.options.xmlMode,this.lowerCaseTagNames=null!==(r=t.lowerCaseTags)&&void 0!==r?r:this.htmlMode,this.lowerCaseAttributeNames=null!==(n=t.lowerCaseAttributeNames)&&void 0!==n?n:this.htmlMode,this.recognizeSelfClosing=null!==(i=t.recognizeSelfClosing)&&void 0!==i?i:!this.htmlMode,this.tokenizer=new(null!==(o=t.Tokenizer)&&void 0!==o?o:a.default)(this.options,this),this.foreignContext=[!this.htmlMode],null===(u=(s=this.cbs).onparserinit)||void 0===u||u.call(s,this)}return e.prototype.ontext=function(e,t){var r,n,i=this.getSlice(e,t);this.endIndex=t-1,null===(n=(r=this.cbs).ontext)||void 0===n||n.call(r,i),this.startIndex=t},e.prototype.ontextentity=function(e,t){var r,n;this.endIndex=t-1,null===(n=(r=this.cbs).ontext)||void 0===n||n.call(r,(0,s.fromCodePoint)(e)),this.startIndex=t},e.prototype.isVoidElement=function(e){return this.htmlMode&&h.has(e)},e.prototype.onopentagname=function(e,t){this.endIndex=t;var r=this.getSlice(e,t);this.lowerCaseTagNames&&(r=r.toLowerCase()),this.emitOpenTag(r)},e.prototype.emitOpenTag=function(e){var t,r,n,i;this.openTagStart=this.startIndex,this.tagname=e;var o=this.htmlMode&&p.get(e);if(o)for(;this.stack.length>0&&o.has(this.stack[0]);){var a=this.stack.shift();null===(r=(t=this.cbs).onclosetag)||void 0===r||r.call(t,a,!0)}this.isVoidElement(e)||(this.stack.unshift(e),this.htmlMode&&(m.has(e)?this.foreignContext.unshift(!0):g.has(e)&&this.foreignContext.unshift(!1))),null===(i=(n=this.cbs).onopentagname)||void 0===i||i.call(n,e),this.cbs.onopentag&&(this.attribs={})},e.prototype.endOpenTag=function(e){var t,r;this.startIndex=this.openTagStart,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(e){this.endIndex=e,this.endOpenTag(!1),this.startIndex=e+1},e.prototype.onclosetag=function(e,t){var r,n,i,o,a,s,u,l;this.endIndex=t;var c=this.getSlice(e,t);if(this.lowerCaseTagNames&&(c=c.toLowerCase()),this.htmlMode&&(m.has(c)||g.has(c))&&this.foreignContext.shift(),this.isVoidElement(c))this.htmlMode&&"br"===c&&(null===(o=(i=this.cbs).onopentagname)||void 0===o||o.call(i,"br"),null===(s=(a=this.cbs).onopentag)||void 0===s||s.call(a,"br",{},!0),null===(l=(u=this.cbs).onclosetag)||void 0===l||l.call(u,"br",!1));else{var d=this.stack.indexOf(c);if(-1!==d)for(var f=0;f<=d;f++){var p=this.stack.shift();null===(n=(r=this.cbs).onclosetag)||void 0===n||n.call(r,p,f!==d)}else this.htmlMode&&"p"===c&&(this.emitOpenTag("p"),this.closeCurrentTag(!0))}this.startIndex=t+1},e.prototype.onselfclosingtag=function(e){this.endIndex=e,this.recognizeSelfClosing||this.foreignContext[0]?(this.closeCurrentTag(!1),this.startIndex=e+1):this.onopentagend(e)},e.prototype.closeCurrentTag=function(e){var t,r,n=this.tagname;this.endOpenTag(e),this.stack[0]===n&&(null===(r=(t=this.cbs).onclosetag)||void 0===r||r.call(t,n,!e),this.stack.shift())},e.prototype.onattribname=function(e,t){this.startIndex=e;var r=this.getSlice(e,t);this.attribname=this.lowerCaseAttributeNames?r.toLowerCase():r},e.prototype.onattribdata=function(e,t){this.attribvalue+=this.getSlice(e,t)},e.prototype.onattribentity=function(e){this.attribvalue+=(0,s.fromCodePoint)(e)},e.prototype.onattribend=function(e,t){var r,n;this.endIndex=t,null===(n=(r=this.cbs).onattribute)||void 0===n||n.call(r,this.attribname,this.attribvalue,e===a.QuoteType.Double?'"':e===a.QuoteType.Single?"'":e===a.QuoteType.NoValue?void 0:null),this.attribs&&!Object.prototype.hasOwnProperty.call(this.attribs,this.attribname)&&(this.attribs[this.attribname]=this.attribvalue),this.attribvalue=""},e.prototype.getInstructionName=function(e){var t=e.search(y),r=t<0?e:e.substr(0,t);return this.lowerCaseTagNames&&(r=r.toLowerCase()),r},e.prototype.ondeclaration=function(e,t){this.endIndex=t;var r=this.getSlice(e,t);if(this.cbs.onprocessinginstruction){var n=this.getInstructionName(r);this.cbs.onprocessinginstruction("!".concat(n),"!".concat(r))}this.startIndex=t+1},e.prototype.onprocessinginstruction=function(e,t){this.endIndex=t;var r=this.getSlice(e,t);if(this.cbs.onprocessinginstruction){var n=this.getInstructionName(r);this.cbs.onprocessinginstruction("?".concat(n),"?".concat(r))}this.startIndex=t+1},e.prototype.oncomment=function(e,t,r){var n,i,o,a;this.endIndex=t,null===(i=(n=this.cbs).oncomment)||void 0===i||i.call(n,this.getSlice(e,t-r)),null===(a=(o=this.cbs).oncommentend)||void 0===a||a.call(o),this.startIndex=t+1},e.prototype.oncdata=function(e,t,r){var n,i,o,a,s,u,l,c,d,f;this.endIndex=t;var p=this.getSlice(e,t-r);!this.htmlMode||this.options.recognizeCDATA?(null===(i=(n=this.cbs).oncdatastart)||void 0===i||i.call(n),null===(a=(o=this.cbs).ontext)||void 0===a||a.call(o,p),null===(u=(s=this.cbs).oncdataend)||void 0===u||u.call(s)):(null===(c=(l=this.cbs).oncomment)||void 0===c||c.call(l,"[CDATA[".concat(p,"]]")),null===(f=(d=this.cbs).oncommentend)||void 0===f||f.call(d)),this.startIndex=t+1},e.prototype.onend=function(){var e,t;if(this.cbs.onclosetag){this.endIndex=this.startIndex;for(var r=0;r<this.stack.length;r++)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.length=0,this.startIndex=0,this.endIndex=0,null===(n=(r=this.cbs).onparserinit)||void 0===n||n.call(r,this),this.buffers.length=0,this.foreignContext.length=0,this.foreignContext.unshift(!this.htmlMode),this.bufferOffset=0,this.writeIndex=0,this.ended=!1},e.prototype.parseComplete=function(e){this.reset(),this.end(e)},e.prototype.getSlice=function(e,t){for(;e-this.bufferOffset>=this.buffers[0].length;)this.shiftBuffer();for(var r=this.buffers[0].slice(e-this.bufferOffset,t-this.bufferOffset);t-this.bufferOffset>this.buffers[0].length;)this.shiftBuffer(),r+=this.buffers[0].slice(0,t-this.bufferOffset);return r},e.prototype.shiftBuffer=function(){this.bufferOffset+=this.buffers[0].length,this.writeIndex--,this.buffers.shift()},e.prototype.write=function(e){var t,r;this.ended?null===(r=(t=this.cbs).onerror)||void 0===r||r.call(t,new Error(".write() after done!")):(this.buffers.push(e),this.tokenizer.running&&(this.tokenizer.write(e),this.writeIndex++))},e.prototype.end=function(e){var t,r;this.ended?null===(r=(t=this.cbs).onerror)||void 0===r||r.call(t,new Error(".end() after done!")):(e&&this.write(e),this.ended=!0,this.tokenizer.end())},e.prototype.pause=function(){this.tokenizer.pause()},e.prototype.resume=function(){for(this.tokenizer.resume();this.tokenizer.running&&this.writeIndex<this.buffers.length;)this.tokenizer.write(this.buffers[this.writeIndex++]);this.ended&&this.tokenizer.end()},e.prototype.parseChunk=function(e){this.write(e)},e.prototype.done=function(e){this.end(e)},e}();t.Parser=b},46431(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.QuoteType=void 0;var n,i,o,a=r(5972);function s(e){return e===n.Space||e===n.NewLine||e===n.Tab||e===n.FormFeed||e===n.CarriageReturn}function u(e){return e===n.Slash||e===n.Gt||s(e)}!function(e){e[e.Tab=9]="Tab",e[e.NewLine=10]="NewLine",e[e.FormFeed=12]="FormFeed",e[e.CarriageReturn=13]="CarriageReturn",e[e.Space=32]="Space",e[e.ExclamationMark=33]="ExclamationMark",e[e.Number=35]="Number",e[e.Amp=38]="Amp",e[e.SingleQuote=39]="SingleQuote",e[e.DoubleQuote=34]="DoubleQuote",e[e.Dash=45]="Dash",e[e.Slash=47]="Slash",e[e.Zero=48]="Zero",e[e.Nine=57]="Nine",e[e.Semi=59]="Semi",e[e.Lt=60]="Lt",e[e.Eq=61]="Eq",e[e.Gt=62]="Gt",e[e.Questionmark=63]="Questionmark",e[e.UpperA=65]="UpperA",e[e.LowerA=97]="LowerA",e[e.UpperF=70]="UpperF",e[e.LowerF=102]="LowerF",e[e.UpperZ=90]="UpperZ",e[e.LowerZ=122]="LowerZ",e[e.LowerX=120]="LowerX",e[e.OpeningSquareBracket=91]="OpeningSquareBracket"}(n||(n={})),function(e){e[e.Text=1]="Text",e[e.BeforeTagName=2]="BeforeTagName",e[e.InTagName=3]="InTagName",e[e.InSelfClosingTag=4]="InSelfClosingTag",e[e.BeforeClosingTagName=5]="BeforeClosingTagName",e[e.InClosingTagName=6]="InClosingTagName",e[e.AfterClosingTagName=7]="AfterClosingTagName",e[e.BeforeAttributeName=8]="BeforeAttributeName",e[e.InAttributeName=9]="InAttributeName",e[e.AfterAttributeName=10]="AfterAttributeName",e[e.BeforeAttributeValue=11]="BeforeAttributeValue",e[e.InAttributeValueDq=12]="InAttributeValueDq",e[e.InAttributeValueSq=13]="InAttributeValueSq",e[e.InAttributeValueNq=14]="InAttributeValueNq",e[e.BeforeDeclaration=15]="BeforeDeclaration",e[e.InDeclaration=16]="InDeclaration",e[e.InProcessingInstruction=17]="InProcessingInstruction",e[e.BeforeComment=18]="BeforeComment",e[e.CDATASequence=19]="CDATASequence",e[e.InSpecialComment=20]="InSpecialComment",e[e.InCommentLike=21]="InCommentLike",e[e.BeforeSpecialS=22]="BeforeSpecialS",e[e.BeforeSpecialT=23]="BeforeSpecialT",e[e.SpecialStartSequence=24]="SpecialStartSequence",e[e.InSpecialTag=25]="InSpecialTag",e[e.InEntity=26]="InEntity"}(i||(i={})),function(e){e[e.NoValue=0]="NoValue",e[e.Unquoted=1]="Unquoted",e[e.Single=2]="Single",e[e.Double=3]="Double"}(o||(t.QuoteType=o={}));var l={Cdata:new Uint8Array([67,68,65,84,65,91]),CdataEnd:new Uint8Array([93,93,62]),CommentEnd:new Uint8Array([45,45,62]),ScriptEnd:new Uint8Array([60,47,115,99,114,105,112,116]),StyleEnd:new Uint8Array([60,47,115,116,121,108,101]),TitleEnd:new Uint8Array([60,47,116,105,116,108,101]),TextareaEnd:new Uint8Array([60,47,116,101,120,116,97,114,101,97])},c=function(){function e(e,t){var r=e.xmlMode,n=void 0!==r&&r,o=e.decodeEntities,s=void 0===o||o,u=this;this.cbs=t,this.state=i.Text,this.buffer="",this.sectionStart=0,this.index=0,this.entityStart=0,this.baseState=i.Text,this.isSpecial=!1,this.running=!0,this.offset=0,this.currentSequence=void 0,this.sequenceIndex=0,this.xmlMode=n,this.decodeEntities=s,this.entityDecoder=new a.EntityDecoder(n?a.xmlDecodeTree:a.htmlDecodeTree,function(e,t){return u.emitCodePoint(e,t)})}return e.prototype.reset=function(){this.state=i.Text,this.buffer="",this.sectionStart=0,this.index=0,this.baseState=i.Text,this.currentSequence=void 0,this.running=!0,this.offset=0},e.prototype.write=function(e){this.offset+=this.buffer.length,this.buffer=e,this.parse()},e.prototype.end=function(){this.running&&this.finish()},e.prototype.pause=function(){this.running=!1},e.prototype.resume=function(){this.running=!0,this.index<this.buffer.length+this.offset&&this.parse()},e.prototype.stateText=function(e){e===n.Lt||!this.decodeEntities&&this.fastForwardTo(n.Lt)?(this.index>this.sectionStart&&this.cbs.ontext(this.sectionStart,this.index),this.state=i.BeforeTagName,this.sectionStart=this.index):this.decodeEntities&&e===n.Amp&&this.startEntity()},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=i.InTagName,this.stateInTagName(e)},e.prototype.stateInSpecialTag=function(e){if(this.sequenceIndex===this.currentSequence.length){if(e===n.Gt||s(e)){var t=this.index-this.currentSequence.length;if(this.sectionStart<t){var r=this.index;this.index=t,this.cbs.ontext(this.sectionStart,t),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===l.TitleEnd?this.decodeEntities&&e===n.Amp&&this.startEntity():this.fastForwardTo(n.Lt)&&(this.sequenceIndex=1):this.sequenceIndex=Number(e===n.Lt)},e.prototype.stateCDATASequence=function(e){e===l.Cdata[this.sequenceIndex]?++this.sequenceIndex===l.Cdata.length&&(this.state=i.InCommentLike,this.currentSequence=l.CdataEnd,this.sequenceIndex=0,this.sectionStart=this.index+1):(this.sequenceIndex=0,this.state=i.InDeclaration,this.stateInDeclaration(e))},e.prototype.fastForwardTo=function(e){for(;++this.index<this.buffer.length+this.offset;)if(this.buffer.charCodeAt(this.index-this.offset)===e)return!0;return this.index=this.buffer.length+this.offset-1,!1},e.prototype.stateInCommentLike=function(e){e===this.currentSequence[this.sequenceIndex]?++this.sequenceIndex===this.currentSequence.length&&(this.currentSequence===l.CdataEnd?this.cbs.oncdata(this.sectionStart,this.index,2):this.cbs.oncomment(this.sectionStart,this.index,2),this.sequenceIndex=0,this.sectionStart=this.index+1,this.state=i.Text):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>=n.LowerA&&e<=n.LowerZ||e>=n.UpperA&&e<=n.UpperZ}(e)},e.prototype.startSpecial=function(e,t){this.isSpecial=!0,this.currentSequence=e,this.sequenceIndex=t,this.state=i.SpecialStartSequence},e.prototype.stateBeforeTagName=function(e){if(e===n.ExclamationMark)this.state=i.BeforeDeclaration,this.sectionStart=this.index+1;else if(e===n.Questionmark)this.state=i.InProcessingInstruction,this.sectionStart=this.index+1;else if(this.isTagStartChar(e)){var t=32|e;this.sectionStart=this.index,this.xmlMode?this.state=i.InTagName:t===l.ScriptEnd[2]?this.state=i.BeforeSpecialS:t===l.TitleEnd[2]?this.state=i.BeforeSpecialT:this.state=i.InTagName}else e===n.Slash?this.state=i.BeforeClosingTagName:(this.state=i.Text,this.stateText(e))},e.prototype.stateInTagName=function(e){u(e)&&(this.cbs.onopentagname(this.sectionStart,this.index),this.sectionStart=-1,this.state=i.BeforeAttributeName,this.stateBeforeAttributeName(e))},e.prototype.stateBeforeClosingTagName=function(e){s(e)||(e===n.Gt?this.state=i.Text:(this.state=this.isTagStartChar(e)?i.InClosingTagName:i.InSpecialComment,this.sectionStart=this.index))},e.prototype.stateInClosingTagName=function(e){(e===n.Gt||s(e))&&(this.cbs.onclosetag(this.sectionStart,this.index),this.sectionStart=-1,this.state=i.AfterClosingTagName,this.stateAfterClosingTagName(e))},e.prototype.stateAfterClosingTagName=function(e){(e===n.Gt||this.fastForwardTo(n.Gt))&&(this.state=i.Text,this.sectionStart=this.index+1)},e.prototype.stateBeforeAttributeName=function(e){e===n.Gt?(this.cbs.onopentagend(this.index),this.isSpecial?(this.state=i.InSpecialTag,this.sequenceIndex=0):this.state=i.Text,this.sectionStart=this.index+1):e===n.Slash?this.state=i.InSelfClosingTag:s(e)||(this.state=i.InAttributeName,this.sectionStart=this.index)},e.prototype.stateInSelfClosingTag=function(e){e===n.Gt?(this.cbs.onselfclosingtag(this.index),this.state=i.Text,this.sectionStart=this.index+1,this.isSpecial=!1):s(e)||(this.state=i.BeforeAttributeName,this.stateBeforeAttributeName(e))},e.prototype.stateInAttributeName=function(e){(e===n.Eq||u(e))&&(this.cbs.onattribname(this.sectionStart,this.index),this.sectionStart=this.index,this.state=i.AfterAttributeName,this.stateAfterAttributeName(e))},e.prototype.stateAfterAttributeName=function(e){e===n.Eq?this.state=i.BeforeAttributeValue:e===n.Slash||e===n.Gt?(this.cbs.onattribend(o.NoValue,this.sectionStart),this.sectionStart=-1,this.state=i.BeforeAttributeName,this.stateBeforeAttributeName(e)):s(e)||(this.cbs.onattribend(o.NoValue,this.sectionStart),this.state=i.InAttributeName,this.sectionStart=this.index)},e.prototype.stateBeforeAttributeValue=function(e){e===n.DoubleQuote?(this.state=i.InAttributeValueDq,this.sectionStart=this.index+1):e===n.SingleQuote?(this.state=i.InAttributeValueSq,this.sectionStart=this.index+1):s(e)||(this.sectionStart=this.index,this.state=i.InAttributeValueNq,this.stateInAttributeValueNoQuotes(e))},e.prototype.handleInAttributeValue=function(e,t){e===t||!this.decodeEntities&&this.fastForwardTo(t)?(this.cbs.onattribdata(this.sectionStart,this.index),this.sectionStart=-1,this.cbs.onattribend(t===n.DoubleQuote?o.Double:o.Single,this.index+1),this.state=i.BeforeAttributeName):this.decodeEntities&&e===n.Amp&&this.startEntity()},e.prototype.stateInAttributeValueDoubleQuotes=function(e){this.handleInAttributeValue(e,n.DoubleQuote)},e.prototype.stateInAttributeValueSingleQuotes=function(e){this.handleInAttributeValue(e,n.SingleQuote)},e.prototype.stateInAttributeValueNoQuotes=function(e){s(e)||e===n.Gt?(this.cbs.onattribdata(this.sectionStart,this.index),this.sectionStart=-1,this.cbs.onattribend(o.Unquoted,this.index),this.state=i.BeforeAttributeName,this.stateBeforeAttributeName(e)):this.decodeEntities&&e===n.Amp&&this.startEntity()},e.prototype.stateBeforeDeclaration=function(e){e===n.OpeningSquareBracket?(this.state=i.CDATASequence,this.sequenceIndex=0):this.state=e===n.Dash?i.BeforeComment:i.InDeclaration},e.prototype.stateInDeclaration=function(e){(e===n.Gt||this.fastForwardTo(n.Gt))&&(this.cbs.ondeclaration(this.sectionStart,this.index),this.state=i.Text,this.sectionStart=this.index+1)},e.prototype.stateInProcessingInstruction=function(e){(e===n.Gt||this.fastForwardTo(n.Gt))&&(this.cbs.onprocessinginstruction(this.sectionStart,this.index),this.state=i.Text,this.sectionStart=this.index+1)},e.prototype.stateBeforeComment=function(e){e===n.Dash?(this.state=i.InCommentLike,this.currentSequence=l.CommentEnd,this.sequenceIndex=2,this.sectionStart=this.index+1):this.state=i.InDeclaration},e.prototype.stateInSpecialComment=function(e){(e===n.Gt||this.fastForwardTo(n.Gt))&&(this.cbs.oncomment(this.sectionStart,this.index,0),this.state=i.Text,this.sectionStart=this.index+1)},e.prototype.stateBeforeSpecialS=function(e){var t=32|e;t===l.ScriptEnd[3]?this.startSpecial(l.ScriptEnd,4):t===l.StyleEnd[3]?this.startSpecial(l.StyleEnd,4):(this.state=i.InTagName,this.stateInTagName(e))},e.prototype.stateBeforeSpecialT=function(e){var t=32|e;t===l.TitleEnd[3]?this.startSpecial(l.TitleEnd,4):t===l.TextareaEnd[3]?this.startSpecial(l.TextareaEnd,4):(this.state=i.InTagName,this.stateInTagName(e))},e.prototype.startEntity=function(){this.baseState=this.state,this.state=i.InEntity,this.entityStart=this.index,this.entityDecoder.startEntity(this.xmlMode?a.DecodingMode.Strict:this.baseState===i.Text||this.baseState===i.InSpecialTag?a.DecodingMode.Legacy:a.DecodingMode.Attribute)},e.prototype.stateInEntity=function(){var e=this.entityDecoder.write(this.buffer,this.index-this.offset);e>=0?(this.state=this.baseState,0===e&&(this.index=this.entityStart)):this.index=this.offset+this.buffer.length-1},e.prototype.cleanup=function(){this.running&&this.sectionStart!==this.index&&(this.state===i.Text||this.state===i.InSpecialTag&&0===this.sequenceIndex?(this.cbs.ontext(this.sectionStart,this.index),this.sectionStart=this.index):this.state!==i.InAttributeValueDq&&this.state!==i.InAttributeValueSq&&this.state!==i.InAttributeValueNq||(this.cbs.onattribdata(this.sectionStart,this.index),this.sectionStart=this.index))},e.prototype.shouldContinue=function(){return this.index<this.buffer.length+this.offset&&this.running},e.prototype.parse=function(){for(;this.shouldContinue();){var e=this.buffer.charCodeAt(this.index-this.offset);switch(this.state){case i.Text:this.stateText(e);break;case i.SpecialStartSequence:this.stateSpecialStartSequence(e);break;case i.InSpecialTag:this.stateInSpecialTag(e);break;case i.CDATASequence:this.stateCDATASequence(e);break;case i.InAttributeValueDq:this.stateInAttributeValueDoubleQuotes(e);break;case i.InAttributeName:this.stateInAttributeName(e);break;case i.InCommentLike:this.stateInCommentLike(e);break;case i.InSpecialComment:this.stateInSpecialComment(e);break;case i.BeforeAttributeName:this.stateBeforeAttributeName(e);break;case i.InTagName:this.stateInTagName(e);break;case i.InClosingTagName:this.stateInClosingTagName(e);break;case i.BeforeTagName:this.stateBeforeTagName(e);break;case i.AfterAttributeName:this.stateAfterAttributeName(e);break;case i.InAttributeValueSq:this.stateInAttributeValueSingleQuotes(e);break;case i.BeforeAttributeValue:this.stateBeforeAttributeValue(e);break;case i.BeforeClosingTagName:this.stateBeforeClosingTagName(e);break;case i.AfterClosingTagName:this.stateAfterClosingTagName(e);break;case i.BeforeSpecialS:this.stateBeforeSpecialS(e);break;case i.BeforeSpecialT:this.stateBeforeSpecialT(e);break;case i.InAttributeValueNq:this.stateInAttributeValueNoQuotes(e);break;case i.InSelfClosingTag:this.stateInSelfClosingTag(e);break;case i.InDeclaration:this.stateInDeclaration(e);break;case i.BeforeDeclaration:this.stateBeforeDeclaration(e);break;case i.BeforeComment:this.stateBeforeComment(e);break;case i.InProcessingInstruction:this.stateInProcessingInstruction(e);break;case i.InEntity:this.stateInEntity()}this.index++}this.cleanup()},e.prototype.finish=function(){this.state===i.InEntity&&(this.entityDecoder.end(),this.state=this.baseState),this.handleTrailingData(),this.cbs.onend()},e.prototype.handleTrailingData=function(){var e=this.buffer.length+this.offset;this.sectionStart>=e||(this.state===i.InCommentLike?this.currentSequence===l.CdataEnd?this.cbs.oncdata(this.sectionStart,e,0):this.cbs.oncomment(this.sectionStart,e,0):this.state===i.InTagName||this.state===i.BeforeAttributeName||this.state===i.BeforeAttributeValue||this.state===i.AfterAttributeName||this.state===i.InAttributeName||this.state===i.InAttributeValueSq||this.state===i.InAttributeValueDq||this.state===i.InAttributeValueNq||this.state===i.InClosingTagName||this.cbs.ontext(this.sectionStart,e))},e.prototype.emitCodePoint=function(e,t){this.baseState!==i.Text&&this.baseState!==i.InSpecialTag?(this.sectionStart<this.entityStart&&this.cbs.onattribdata(this.sectionStart,this.entityStart),this.sectionStart=this.entityStart+t,this.index=this.sectionStart-1,this.cbs.onattribentity(e)):(this.sectionStart<this.entityStart&&this.cbs.ontext(this.sectionStart,this.entityStart),this.sectionStart=this.entityStart+t,this.index=this.sectionStart-1,this.cbs.ontextentity(e,this.sectionStart))},e}();t.default=c},82082(e,t,r){"use strict";var n=this&&this.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r);var i=Object.getOwnPropertyDescriptor(t,r);i&&!("get"in i?!t.__esModule:i.writable||i.configurable)||(i={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,n,i)}: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}),o=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 i(t,e),t},a=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.DomUtils=t.parseFeed=t.getFeed=t.ElementType=t.QuoteType=t.Tokenizer=t.createDomStream=t.createDocumentStream=t.parseDOM=t.parseDocument=t.DefaultHandler=t.DomHandler=t.Parser=void 0;var s=r(16603),u=r(16603);Object.defineProperty(t,"Parser",{enumerable:!0,get:function(){return u.Parser}});var l=r(60023),c=r(60023);function d(e,t){var r=new l.DomHandler(void 0,t);return new s.Parser(r,t).end(e),r.root}function f(e,t){return d(e,t).children}Object.defineProperty(t,"DomHandler",{enumerable:!0,get:function(){return c.DomHandler}}),Object.defineProperty(t,"DefaultHandler",{enumerable:!0,get:function(){return c.DomHandler}}),t.parseDocument=d,t.parseDOM=f,t.createDocumentStream=function(e,t,r){var n=new l.DomHandler(function(t){return e(t,n.root)},t,r);return new s.Parser(n,t)},t.createDomStream=function(e,t,r){var n=new l.DomHandler(e,t,r);return new s.Parser(n,t)};var p=r(46431);Object.defineProperty(t,"Tokenizer",{enumerable:!0,get:function(){return a(p).default}}),Object.defineProperty(t,"QuoteType",{enumerable:!0,get:function(){return p.QuoteType}}),t.ElementType=o(r(65811));var h=r(79238),m=r(79238);Object.defineProperty(t,"getFeed",{enumerable:!0,get:function(){return m.getFeed}});var g={xmlMode:!0};t.parseFeed=function(e,t){return void 0===t&&(t=g),(0,h.getFeed)(f(e,t))},t.DomUtils=o(r(79238))},55801(e,t){t.read=function(e,t,r,n,i){var o,a,s=8*i-n-1,u=(1<<s)-1,l=u>>1,c=-7,d=r?i-1:0,f=r?-1:1,p=e[t+d];for(d+=f,o=p&(1<<-c)-1,p>>=-c,c+=s;c>0;o=256*o+e[t+d],d+=f,c-=8);for(a=o&(1<<-c)-1,o>>=-c,c+=n;c>0;a=256*a+e[t+d],d+=f,c-=8);if(0===o)o=1-l;else{if(o===u)return a?NaN:1/0*(p?-1:1);a+=Math.pow(2,n),o-=l}return(p?-1:1)*a*Math.pow(2,o-n)},t.write=function(e,t,r,n,i,o){var a,s,u,l=8*o-i-1,c=(1<<l)-1,d=c>>1,f=23===i?Math.pow(2,-24)-Math.pow(2,-77):0,p=n?0:o-1,h=n?1:-1,m=t<0||0===t&&1/t<0?1:0;for(t=Math.abs(t),isNaN(t)||t===1/0?(s=isNaN(t)?1:0,a=c):(a=Math.floor(Math.log(t)/Math.LN2),t*(u=Math.pow(2,-a))<1&&(a--,u*=2),(t+=a+d>=1?f/u:f*Math.pow(2,1-d))*u>=2&&(a++,u/=2),a+d>=c?(s=0,a=c):a+d>=1?(s=(t*u-1)*Math.pow(2,i),a+=d):(s=t*Math.pow(2,d-1)*Math.pow(2,i),a=0));i>=8;e[r+p]=255&s,p+=h,s/=256,i-=8);for(a=a<<i|s,l+=i;l>0;e[r+p]=255&a,p+=h,a/=256,l-=8);e[r+p-h]|=128*m}},69988(e){"function"==typeof Object.create?e.exports=function(e,t){t&&(e.super_=t,e.prototype=Object.create(t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}))}:e.exports=function(e,t){if(t){e.super_=t;var r=function(){};r.prototype=t.prototype,e.prototype=new r,e.prototype.constructor=e}}},28062(e){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"}})}},64685(e){function t(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 r(e,t){e.onreadystatechange=function(){"complete"!=this.readyState&&"loaded"!=this.readyState||(this.onreadystatechange=null,t(null,e))}}e.exports=function(e,n,i){var o=document.head||document.getElementsByTagName("head")[0],a=document.createElement("script");"function"==typeof n&&(i=n,n={}),n=n||{},i=i||function(){},a.type=n.type||"text/javascript",a.charset=n.charset||"utf8",a.async=!("async"in n)||!!n.async,a.src=e,n.attrs&&function(e,t){for(var r in t)e.setAttribute(r,t[r])}(a,n.attrs),n.text&&(a.text=""+n.text),("onload"in a?t:r)(a,i),a.onload||t(a,i),o.appendChild(a)}},86682(e,t,r){var n,i=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,o=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,a="\\ud800-\\udfff",s="\\u0300-\\u036f\\ufe20-\\ufe23",u="\\u20d0-\\u20f0",l="\\u2700-\\u27bf",c="a-z\\xdf-\\xf6\\xf8-\\xff",d="A-Z\\xc0-\\xd6\\xd8-\\xde",f="\\ufe0e\\ufe0f",p="\\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",h="["+a+"]",m="["+p+"]",g="["+s+u+"]",y="\\d+",b="["+l+"]",v="["+c+"]",S="[^"+a+p+y+l+c+d+"]",w="\\ud83c[\\udffb-\\udfff]",E="[^"+a+"]",_="(?:\\ud83c[\\udde6-\\uddff]){2}",O="[\\ud800-\\udbff][\\udc00-\\udfff]",x="["+d+"]",k="\\u200d",P="(?:"+v+"|"+S+")",T="(?:"+x+"|"+S+")",A="(?:['’](?:d|ll|m|re|s|t|ve))?",C="(?:['’](?:D|LL|M|RE|S|T|VE))?",L="(?:"+g+"|"+w+")?",I="["+f+"]?",N=I+L+"(?:"+k+"(?:"+[E,_,O].join("|")+")"+I+L+")*",j="(?:"+[b,_,O].join("|")+")"+N,R="(?:"+[E+g+"?",g,_,O,h].join("|")+")",D=RegExp("['’]","g"),M=RegExp(g,"g"),U=RegExp(w+"(?="+w+")|"+R+N,"g"),B=RegExp([x+"?"+v+"+"+A+"(?="+[m,x,"$"].join("|")+")",T+"+"+C+"(?="+[m,x+P,"$"].join("|")+")",x+"?"+P+"+"+A,x+"+"+C,y,j].join("|"),"g"),F=RegExp("["+k+a+s+u+f+"]"),q=/[a-z][A-Z]|[A-Z]{2,}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,W="object"==typeof r.g&&r.g&&r.g.Object===Object&&r.g,H="object"==typeof self&&self&&self.Object===Object&&self,V=W||H||Function("return this")(),z=(n={À:"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==n?void 0:n[e]});function G(e){return F.test(e)}var K=Object.prototype.toString,$=V.Symbol,Q=$?$.prototype:void 0,Y=Q?Q.toString:void 0;function X(e){return null==e?"":function(e){if("string"==typeof e)return e;if(function(e){return"symbol"==typeof e||function(e){return!!e&&"object"==typeof e}(e)&&"[object Symbol]"==K.call(e)}(e))return Y?Y.call(e):"";var t=e+"";return"0"==t&&1/e==-1/0?"-0":t}(e)}var Z,J=(Z=function(e,t,r){return t=t.toLowerCase(),e+(r?ee(X(t).toLowerCase()):t)},function(e){return function(e,t,r){for(var n=-1,i=e?e.length:0;++n<i;)r=t(r,e[n],n,e);return r}(function(e,t){return e=X(e),void 0===t?function(e){return q.test(e)}(e)?function(e){return e.match(B)||[]}(e):function(e){return e.match(i)||[]}(e):e.match(t)||[]}(function(e){return(e=X(e))&&e.replace(o,z).replace(M,"")}(e).replace(D,"")),Z,"")}),ee=function(e){var t,r,n,i,o=G(e=X(e))?function(e){return G(e)?function(e){return e.match(U)||[]}(e):function(e){return e.split("")}(e)}(e):void 0,a=o?o[0]:e.charAt(0),s=o?(t=o,r=1,i=t.length,n=void 0===n?i:n,!r&&n>=i?t:function(e,t,r){var n=-1,i=e.length;t<0&&(t=-t>i?0:i+t),(r=r>i?i:r)<0&&(r+=i),i=t>r?0:r-t>>>0,t>>>=0;for(var o=Array(i);++n<i;)o[n]=e[n+t];return o}(t,r,n)).join(""):e.slice(1);return a.toUpperCase()+s};e.exports=J},75178(e,t,r){var n=r(33188)(r(37183),"DataView");e.exports=n},13615(e,t,r){var n=r(48342),i=r(9184),o=r(7747),a=r(74287),s=r(80007);function u(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])}}u.prototype.clear=n,u.prototype.delete=i,u.prototype.get=o,u.prototype.has=a,u.prototype.set=s,e.exports=u},60789(e,t,r){var n=r(57752),i=r(718),o=r(57849),a=r(43957),s=r(50845);function u(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])}}u.prototype.clear=n,u.prototype.delete=i,u.prototype.get=o,u.prototype.has=a,u.prototype.set=s,e.exports=u},48561(e,t,r){var n=r(33188)(r(37183),"Map");e.exports=n},91451(e,t,r){var n=r(35674),i=r(11036),o=r(90031),a=r(21907),s=r(60971);function u(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])}}u.prototype.clear=n,u.prototype.delete=i,u.prototype.get=o,u.prototype.has=a,u.prototype.set=s,e.exports=u},1490(e,t,r){var n=r(33188)(r(37183),"Promise");e.exports=n},96775(e,t,r){var n=r(33188)(r(37183),"Set");e.exports=n},48869(e,t,r){var n=r(91451),i=r(86810),o=r(75813);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=i,a.prototype.has=o,e.exports=a},92823(e,t,r){var n=r(60789),i=r(88926),o=r(22680),a=r(73851),s=r(98423),u=r(3967);function l(e){var t=this.__data__=new n(e);this.size=t.size}l.prototype.clear=i,l.prototype.delete=o,l.prototype.get=a,l.prototype.has=s,l.prototype.set=u,e.exports=l},7187(e,t,r){var n=r(37183).Symbol;e.exports=n},16846(e,t,r){var n=r(37183).Uint8Array;e.exports=n},88985(e,t,r){var n=r(33188)(r(37183),"WeakMap");e.exports=n},64235(e){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)}},20607(e){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}},40836(e){e.exports=function(e,t){for(var r=-1,n=null==e?0:e.length,i=0,o=[];++r<n;){var a=e[r];t(a,r,e)&&(o[i++]=a)}return o}},70661(e,t,r){var n=r(40142),i=r(95962),o=r(64383),a=r(78098),s=r(84683),u=r(63905),l=Object.prototype.hasOwnProperty;e.exports=function(e,t){var r=o(e),c=!r&&i(e),d=!r&&!c&&a(e),f=!r&&!c&&!d&&u(e),p=r||c||d||f,h=p?n(e.length,String):[],m=h.length;for(var g in e)!t&&!l.call(e,g)||p&&("length"==g||d&&("offset"==g||"parent"==g)||f&&("buffer"==g||"byteLength"==g||"byteOffset"==g)||s(g,m))||h.push(g);return h}},26138(e){e.exports=function(e,t){for(var r=-1,n=null==e?0:e.length,i=Array(n);++r<n;)i[r]=t(e[r],r,e);return i}},65862(e){e.exports=function(e,t){for(var r=-1,n=t.length,i=e.length;++r<n;)e[i+r]=t[r];return e}},93508(e){e.exports=function(e,t,r,n){var i=-1,o=null==e?0:e.length;for(n&&o&&(r=e[++i]);++i<o;)r=t(r,e[i],i,e);return r}},87938(e){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}},8284(e){e.exports=function(e){return e.split("")}},9243(e){var t=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g;e.exports=function(e){return e.match(t)||[]}},72177(e,t,r){var n=r(9142),i=r(29830),o=Object.prototype.hasOwnProperty;e.exports=function(e,t,r){var a=e[t];o.call(e,t)&&i(a,r)&&(void 0!==r||t in e)||n(e,t,r)}},40435(e,t,r){var n=r(29830);e.exports=function(e,t){for(var r=e.length;r--;)if(n(e[r][0],t))return r;return-1}},90267(e,t,r){var n=r(26837),i=r(38420);e.exports=function(e,t){return e&&n(t,i(t),e)}},55240(e,t,r){var n=r(26837),i=r(53435);e.exports=function(e,t){return e&&n(t,i(t),e)}},9142(e,t,r){var n=r(83733);e.exports=function(e,t,r){"__proto__"==t&&n?n(e,t,{configurable:!0,enumerable:!0,value:r,writable:!0}):e[t]=r}},69557(e,t,r){var n=r(92823),i=r(20607),o=r(72177),a=r(90267),s=r(55240),u=r(6064),l=r(28601),c=r(2881),d=r(26186),f=r(53300),p=r(44667),h=r(58355),m=r(86203),g=r(57981),y=r(50235),b=r(64383),v=r(78098),S=r(4024),w=r(46015),E=r(88802),_=r(38420),O=r(53435),x="[object Arguments]",k="[object Function]",P="[object Object]",T={};T[x]=T["[object Array]"]=T["[object ArrayBuffer]"]=T["[object DataView]"]=T["[object Boolean]"]=T["[object Date]"]=T["[object Float32Array]"]=T["[object Float64Array]"]=T["[object Int8Array]"]=T["[object Int16Array]"]=T["[object Int32Array]"]=T["[object Map]"]=T["[object Number]"]=T[P]=T["[object RegExp]"]=T["[object Set]"]=T["[object String]"]=T["[object Symbol]"]=T["[object Uint8Array]"]=T["[object Uint8ClampedArray]"]=T["[object Uint16Array]"]=T["[object Uint32Array]"]=!0,T["[object Error]"]=T[k]=T["[object WeakMap]"]=!1,e.exports=function e(t,r,A,C,L,I){var N,j=1&r,R=2&r,D=4&r;if(A&&(N=L?A(t,C,L,I):A(t)),void 0!==N)return N;if(!w(t))return t;var M=b(t);if(M){if(N=m(t),!j)return l(t,N)}else{var U=h(t),B=U==k||"[object GeneratorFunction]"==U;if(v(t))return u(t,j);if(U==P||U==x||B&&!L){if(N=R||B?{}:y(t),!j)return R?d(t,s(N,t)):c(t,a(N,t))}else{if(!T[U])return L?t:{};N=g(t,U,j)}}I||(I=new n);var F=I.get(t);if(F)return F;I.set(t,N),E(t)?t.forEach(function(n){N.add(e(n,r,A,n,t,I))}):S(t)&&t.forEach(function(n,i){N.set(i,e(n,r,A,i,t,I))});var q=M?void 0:(D?R?p:f:R?O:_)(t);return i(q||t,function(n,i){q&&(n=t[i=n]),o(N,i,e(n,r,A,i,t,I))}),N}},61534(e,t,r){var n=r(46015),i=Object.create,o=function(){function e(){}return function(t){if(!n(t))return{};if(i)return i(t);e.prototype=t;var r=new e;return e.prototype=void 0,r}}();e.exports=o},53705(e){e.exports=function(e,t,r,n){for(var i=e.length,o=r+(n?1:-1);n?o--:++o<i;)if(t(e[o],o,e))return o;return-1}},83234(e,t,r){var n=r(65862),i=r(82285);e.exports=function e(t,r,o,a,s){var u=-1,l=t.length;for(o||(o=i),s||(s=[]);++u<l;){var c=t[u];r>0&&o(c)?r>1?e(c,r-1,o,a,s):n(s,c):a||(s[s.length]=c)}return s}},92748(e,t,r){var n=r(84679),i=r(54671);e.exports=function(e,t){for(var r=0,o=(t=n(t,e)).length;null!=e&&r<o;)e=e[i(t[r++])];return r&&r==o?e:void 0}},59169(e,t,r){var n=r(65862),i=r(64383);e.exports=function(e,t,r){var o=t(e);return i(e)?o:n(o,r(e))}},16990(e,t,r){var n=r(7187),i=r(51029),o=r(8704),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)?i(e):o(e)}},4873(e){e.exports=function(e,t){return e>t}},69320(e){var t=Object.prototype.hasOwnProperty;e.exports=function(e,r){return null!=e&&t.call(e,r)}},71607(e){e.exports=function(e,t){return null!=e&&t in Object(e)}},46252(e,t,r){var n=r(16990),i=r(46184);e.exports=function(e){return i(e)&&"[object Arguments]"==n(e)}},93028(e,t,r){var n=r(87114),i=r(46184);e.exports=function e(t,r,o,a,s){return t===r||(null==t||null==r||!i(t)&&!i(r)?t!=t&&r!=r:n(t,r,o,a,e,s))}},87114(e,t,r){var n=r(92823),i=r(55237),o=r(53728),a=r(45355),s=r(58355),u=r(64383),l=r(78098),c=r(63905),d="[object Arguments]",f="[object Array]",p="[object Object]",h=Object.prototype.hasOwnProperty;e.exports=function(e,t,r,m,g,y){var b=u(e),v=u(t),S=b?f:s(e),w=v?f:s(t),E=(S=S==d?p:S)==p,_=(w=w==d?p:w)==p,O=S==w;if(O&&l(e)){if(!l(t))return!1;b=!0,E=!1}if(O&&!E)return y||(y=new n),b||c(e)?i(e,t,r,m,g,y):o(e,t,S,r,m,g,y);if(!(1&r)){var x=E&&h.call(e,"__wrapped__"),k=_&&h.call(t,"__wrapped__");if(x||k){var P=x?e.value():e,T=k?t.value():t;return y||(y=new n),g(P,T,r,m,y)}}return!!O&&(y||(y=new n),a(e,t,r,m,g,y))}},10162(e,t,r){var n=r(58355),i=r(46184);e.exports=function(e){return i(e)&&"[object Map]"==n(e)}},49121(e,t,r){var n=r(92823),i=r(93028);e.exports=function(e,t,r,o){var a=r.length,s=a,u=!o;if(null==e)return!s;for(e=Object(e);a--;){var l=r[a];if(u&&l[2]?l[1]!==e[l[0]]:!(l[0]in e))return!1}for(;++a<s;){var c=(l=r[a])[0],d=e[c],f=l[1];if(u&&l[2]){if(void 0===d&&!(c in e))return!1}else{var p=new n;if(o)var h=o(d,f,c,e,t,p);if(!(void 0===h?i(f,d,3,o,p):h))return!1}}return!0}},73829(e,t,r){var n=r(94360),i=r(67234),o=r(46015),a=r(70275),s=/^\[object .+?Constructor\]$/,u=Function.prototype,l=Object.prototype,c=u.toString,d=l.hasOwnProperty,f=RegExp("^"+c.call(d).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");e.exports=function(e){return!(!o(e)||i(e))&&(n(e)?f:s).test(a(e))}},18344(e,t,r){var n=r(58355),i=r(46184);e.exports=function(e){return i(e)&&"[object Set]"==n(e)}},84271(e,t,r){var n=r(16990),i=r(31784),o=r(46184),a={};a["[object Float32Array]"]=a["[object Float64Array]"]=a["[object Int8Array]"]=a["[object Int16Array]"]=a["[object Int32Array]"]=a["[object Uint8Array]"]=a["[object Uint8ClampedArray]"]=a["[object Uint16Array]"]=a["[object Uint32Array]"]=!0,a["[object Arguments]"]=a["[object Array]"]=a["[object ArrayBuffer]"]=a["[object Boolean]"]=a["[object DataView]"]=a["[object Date]"]=a["[object Error]"]=a["[object Function]"]=a["[object Map]"]=a["[object Number]"]=a["[object Object]"]=a["[object RegExp]"]=a["[object Set]"]=a["[object String]"]=a["[object WeakMap]"]=!1,e.exports=function(e){return o(e)&&i(e.length)&&!!a[n(e)]}},94207(e,t,r){var n=r(12801),i=r(72208),o=r(69090),a=r(64383),s=r(23681);e.exports=function(e){return"function"==typeof e?e:null==e?o:"object"==typeof e?a(e)?i(e[0],e[1]):n(e):s(e)}},29966(e,t,r){var n=r(88089),i=r(6128),o=Object.prototype.hasOwnProperty;e.exports=function(e){if(!n(e))return i(e);var t=[];for(var r in Object(e))o.call(e,r)&&"constructor"!=r&&t.push(r);return t}},7641(e,t,r){var n=r(46015),i=r(88089),o=r(65567),a=Object.prototype.hasOwnProperty;e.exports=function(e){if(!n(e))return o(e);var t=i(e),r=[];for(var s in e)("constructor"!=s||!t&&a.call(e,s))&&r.push(s);return r}},4214(e){e.exports=function(e,t){return e<t}},12801(e,t,r){var n=r(49121),i=r(59406),o=r(76459);e.exports=function(e){var t=i(e);return 1==t.length&&t[0][2]?o(t[0][0],t[0][1]):function(r){return r===e||n(r,e,t)}}},72208(e,t,r){var n=r(93028),i=r(29650),o=r(2993),a=r(39668),s=r(48938),u=r(76459),l=r(54671);e.exports=function(e,t){return a(e)&&s(t)?u(l(e),t):function(r){var a=i(r,e);return void 0===a&&a===t?o(r,e):n(t,a,3)}}},55351(e){e.exports=function(e){return function(t){return null==t?void 0:t[e]}}},54953(e,t,r){var n=r(92748);e.exports=function(e){return function(t){return n(t,e)}}},41858(e){e.exports=function(e){return function(t){return null==e?void 0:e[t]}}},87316(e,t,r){var n=r(23368),i=r(83733),o=r(69090),a=i?function(e,t){return i(e,"toString",{configurable:!0,enumerable:!1,value:n(t),writable:!0})}:o;e.exports=a},31482(e){e.exports=function(e,t,r){var n=-1,i=e.length;t<0&&(t=-t>i?0:i+t),(r=r>i?i:r)<0&&(r+=i),i=t>r?0:r-t>>>0,t>>>=0;for(var o=Array(i);++n<i;)o[n]=e[n+t];return o}},40142(e){e.exports=function(e,t){for(var r=-1,n=Array(e);++r<e;)n[r]=t(r);return n}},84742(e,t,r){var n=r(7187),i=r(26138),o=r(64383),a=r(63536),s=n?n.prototype:void 0,u=s?s.toString:void 0;e.exports=function e(t){if("string"==typeof t)return t;if(o(t))return i(t,e)+"";if(a(t))return u?u.call(t):"";var r=t+"";return"0"==r&&1/t==-1/0?"-0":r}},67066(e,t,r){var n=r(91158),i=/^\s+/;e.exports=function(e){return e?e.slice(0,n(e)+1).replace(i,""):e}},26143(e){e.exports=function(e){return function(t){return e(t)}}},84109(e,t,r){var n=r(84679),i=r(19804),o=r(42087),a=r(54671),s=Object.prototype.hasOwnProperty;e.exports=function(e,t){var r=-1,u=(t=n(t,e)).length;if(!u)return!0;for(;++r<u;){var l=a(t[r]);if("__proto__"===l&&!s.call(e,"__proto__"))return!1;if(("constructor"===l||"prototype"===l)&&r<u-1)return!1}var c=o(e,t);return null==c||delete c[a(i(t))]}},37773(e){e.exports=function(e,t){return e.has(t)}},84679(e,t,r){var n=r(64383),i=r(39668),o=r(30412),a=r(12832);e.exports=function(e,t){return n(e)?e:i(e,t)?[e]:o(a(e))}},81308(e,t,r){var n=r(31482);e.exports=function(e,t,r){var i=e.length;return r=void 0===r?i:r,!t&&r>=i?e:n(e,t,r)}},73911(e,t,r){var n=r(16846);e.exports=function(e){var t=new e.constructor(e.byteLength);return new n(t).set(new n(e)),t}},6064(e,t,r){e=r.nmd(e);var n=r(37183),i=t&&!t.nodeType&&t,o=i&&e&&!e.nodeType&&e,a=o&&o.exports===i?n.Buffer:void 0,s=a?a.allocUnsafe:void 0;e.exports=function(e,t){if(t)return e.slice();var r=e.length,n=s?s(r):new e.constructor(r);return e.copy(n),n}},63887(e,t,r){var n=r(73911);e.exports=function(e,t){var r=t?n(e.buffer):e.buffer;return new e.constructor(r,e.byteOffset,e.byteLength)}},31871(e){var t=/\w*$/;e.exports=function(e){var r=new e.constructor(e.source,t.exec(e));return r.lastIndex=e.lastIndex,r}},45938(e,t,r){var n=r(7187),i=n?n.prototype:void 0,o=i?i.valueOf:void 0;e.exports=function(e){return o?Object(o.call(e)):{}}},11671(e,t,r){var n=r(73911);e.exports=function(e,t){var r=t?n(e.buffer):e.buffer;return new e.constructor(r,e.byteOffset,e.length)}},28601(e){e.exports=function(e,t){var r=-1,n=e.length;for(t||(t=Array(n));++r<n;)t[r]=e[r];return t}},26837(e,t,r){var n=r(72177),i=r(9142);e.exports=function(e,t,r,o){var a=!r;r||(r={});for(var s=-1,u=t.length;++s<u;){var l=t[s],c=o?o(r[l],e[l],l,r,e):void 0;void 0===c&&(c=e[l]),a?i(r,l,c):n(r,l,c)}return r}},2881(e,t,r){var n=r(26837),i=r(19946);e.exports=function(e,t){return n(e,i(e),t)}},26186(e,t,r){var n=r(26837),i=r(51693);e.exports=function(e,t){return n(e,i(e),t)}},85171(e,t,r){var n=r(37183)["__core-js_shared__"];e.exports=n},86937(e,t,r){var n=r(81308),i=r(68344),o=r(16966),a=r(12832);e.exports=function(e){return function(t){t=a(t);var r=i(t)?o(t):void 0,s=r?r[0]:t.charAt(0),u=r?n(r,1).join(""):t.slice(1);return s[e]()+u}}},2925(e,t,r){var n=r(93508),i=r(59510),o=r(22431),a=RegExp("['’]","g");e.exports=function(e){return function(t){return n(o(i(t).replace(a,"")),e,"")}}},46628(e,t,r){var n=r(94207),i=r(19592),o=r(38420);e.exports=function(e){return function(t,r,a){var s=Object(t);if(!i(t)){var u=n(r,3);t=o(t),r=function(e){return u(s[e],e,s)}}var l=e(t,r,a);return l>-1?s[u?t[l]:l]:void 0}}},47473(e,t,r){var n=r(83572);e.exports=function(e){return function(t,r){return"string"==typeof t&&"string"==typeof r||(t=n(t),r=n(r)),e(t,r)}}},55888(e,t,r){var n=r(5229);e.exports=function(e){return n(e)?void 0:e}},57157(e,t,r){var n=r(41858)({À:"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},83733(e,t,r){var n=r(33188),i=function(){try{var e=n(Object,"defineProperty");return e({},"",{}),e}catch(e){}}();e.exports=i},55237(e,t,r){var n=r(48869),i=r(87938),o=r(37773);e.exports=function(e,t,r,a,s,u){var l=1&r,c=e.length,d=t.length;if(c!=d&&!(l&&d>c))return!1;var f=u.get(e),p=u.get(t);if(f&&p)return f==t&&p==e;var h=-1,m=!0,g=2&r?new n:void 0;for(u.set(e,t),u.set(t,e);++h<c;){var y=e[h],b=t[h];if(a)var v=l?a(b,y,h,t,e,u):a(y,b,h,e,t,u);if(void 0!==v){if(v)continue;m=!1;break}if(g){if(!i(t,function(e,t){if(!o(g,t)&&(y===e||s(y,e,r,a,u)))return g.push(t)})){m=!1;break}}else if(y!==b&&!s(y,b,r,a,u)){m=!1;break}}return u.delete(e),u.delete(t),m}},53728(e,t,r){var n=r(7187),i=r(16846),o=r(29830),a=r(55237),s=r(58887),u=r(28629),l=n?n.prototype:void 0,c=l?l.valueOf:void 0;e.exports=function(e,t,r,n,l,d,f){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||!d(new i(e),new i(t)));case"[object Boolean]":case"[object Date]":case"[object Number]":return o(+e,+t);case"[object Error]":return e.name==t.name&&e.message==t.message;case"[object RegExp]":case"[object String]":return e==t+"";case"[object Map]":var p=s;case"[object Set]":var h=1&n;if(p||(p=u),e.size!=t.size&&!h)return!1;var m=f.get(e);if(m)return m==t;n|=2,f.set(e,t);var g=a(p(e),p(t),n,l,d,f);return f.delete(e),g;case"[object Symbol]":if(c)return c.call(e)==c.call(t)}return!1}},45355(e,t,r){var n=r(53300),i=Object.prototype.hasOwnProperty;e.exports=function(e,t,r,o,a,s){var u=1&r,l=n(e),c=l.length;if(c!=n(t).length&&!u)return!1;for(var d=c;d--;){var f=l[d];if(!(u?f in t:i.call(t,f)))return!1}var p=s.get(e),h=s.get(t);if(p&&h)return p==t&&h==e;var m=!0;s.set(e,t),s.set(t,e);for(var g=u;++d<c;){var y=e[f=l[d]],b=t[f];if(o)var v=u?o(b,y,f,t,e,s):o(y,b,f,e,t,s);if(!(void 0===v?y===b||a(y,b,r,o,s):v)){m=!1;break}g||(g="constructor"==f)}if(m&&!g){var S=e.constructor,w=t.constructor;S==w||!("constructor"in e)||!("constructor"in t)||"function"==typeof S&&S instanceof S&&"function"==typeof w&&w instanceof w||(m=!1)}return s.delete(e),s.delete(t),m}},11506(e,t,r){var n=r(11308),i=r(13903),o=r(52139);e.exports=function(e){return o(i(e,void 0,n),e+"")}},75194(e,t,r){var n="object"==typeof r.g&&r.g&&r.g.Object===Object&&r.g;e.exports=n},53300(e,t,r){var n=r(59169),i=r(19946),o=r(38420);e.exports=function(e){return n(e,o,i)}},44667(e,t,r){var n=r(59169),i=r(51693),o=r(53435);e.exports=function(e){return n(e,o,i)}},18037(e,t,r){var n=r(65912);e.exports=function(e,t){var r=e.__data__;return n(t)?r["string"==typeof t?"string":"hash"]:r.map}},59406(e,t,r){var n=r(48938),i=r(38420);e.exports=function(e){for(var t=i(e),r=t.length;r--;){var o=t[r],a=e[o];t[r]=[o,a,n(a)]}return t}},33188(e,t,r){var n=r(73829),i=r(91870);e.exports=function(e,t){var r=i(e,t);return n(r)?r:void 0}},79637(e,t,r){var n=r(61429)(Object.getPrototypeOf,Object);e.exports=n},51029(e,t,r){var n=r(7187),i=Object.prototype,o=i.hasOwnProperty,a=i.toString,s=n?n.toStringTag:void 0;e.exports=function(e){var t=o.call(e,s),r=e[s];try{e[s]=void 0;var n=!0}catch(e){}var i=a.call(e);return n&&(t?e[s]=r:delete e[s]),i}},19946(e,t,r){var n=r(40836),i=r(16499),o=Object.prototype.propertyIsEnumerable,a=Object.getOwnPropertySymbols,s=a?function(e){return null==e?[]:(e=Object(e),n(a(e),function(t){return o.call(e,t)}))}:i;e.exports=s},51693(e,t,r){var n=r(65862),i=r(79637),o=r(19946),a=r(16499),s=Object.getOwnPropertySymbols?function(e){for(var t=[];e;)n(t,o(e)),e=i(e);return t}:a;e.exports=s},58355(e,t,r){var n=r(75178),i=r(48561),o=r(1490),a=r(96775),s=r(88985),u=r(16990),l=r(70275),c="[object Map]",d="[object Promise]",f="[object Set]",p="[object WeakMap]",h="[object DataView]",m=l(n),g=l(i),y=l(o),b=l(a),v=l(s),S=u;(n&&S(new n(new ArrayBuffer(1)))!=h||i&&S(new i)!=c||o&&S(o.resolve())!=d||a&&S(new a)!=f||s&&S(new s)!=p)&&(S=function(e){var t=u(e),r="[object Object]"==t?e.constructor:void 0,n=r?l(r):"";if(n)switch(n){case m:return h;case g:return c;case y:return d;case b:return f;case v:return p}return t}),e.exports=S},91870(e){e.exports=function(e,t){return null==e?void 0:e[t]}},53852(e,t,r){var n=r(84679),i=r(95962),o=r(64383),a=r(84683),s=r(31784),u=r(54671);e.exports=function(e,t,r){for(var l=-1,c=(t=n(t,e)).length,d=!1;++l<c;){var f=u(t[l]);if(!(d=null!=e&&r(e,f)))break;e=e[f]}return d||++l!=c?d:!!(c=null==e?0:e.length)&&s(c)&&a(f,c)&&(o(e)||i(e))}},68344(e){var t=RegExp("[\\u200d\\ud800-\\udfff\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff\\ufe0e\\ufe0f]");e.exports=function(e){return t.test(e)}},84612(e){var t=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/;e.exports=function(e){return t.test(e)}},48342(e,t,r){var n=r(21960);e.exports=function(){this.__data__=n?n(null):{},this.size=0}},9184(e){e.exports=function(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t}},7747(e,t,r){var n=r(21960),i=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 i.call(t,e)?t[e]:void 0}},74287(e,t,r){var n=r(21960),i=Object.prototype.hasOwnProperty;e.exports=function(e){var t=this.__data__;return n?void 0!==t[e]:i.call(t,e)}},80007(e,t,r){var n=r(21960);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}},86203(e){var t=Object.prototype.hasOwnProperty;e.exports=function(e){var r=e.length,n=new e.constructor(r);return r&&"string"==typeof e[0]&&t.call(e,"index")&&(n.index=e.index,n.input=e.input),n}},57981(e,t,r){var n=r(73911),i=r(63887),o=r(31871),a=r(45938),s=r(11671);e.exports=function(e,t,r){var u=e.constructor;switch(t){case"[object ArrayBuffer]":return n(e);case"[object Boolean]":case"[object Date]":return new u(+e);case"[object DataView]":return i(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 s(e,r);case"[object Map]":case"[object Set]":return new u;case"[object Number]":case"[object String]":return new u(e);case"[object RegExp]":return o(e);case"[object Symbol]":return a(e)}}},50235(e,t,r){var n=r(61534),i=r(79637),o=r(88089);e.exports=function(e){return"function"!=typeof e.constructor||o(e)?{}:n(i(e))}},82285(e,t,r){var n=r(7187),i=r(95962),o=r(64383),a=n?n.isConcatSpreadable:void 0;e.exports=function(e){return o(e)||i(e)||!!(a&&e&&e[a])}},84683(e){var t=/^(?:0|[1-9]\d*)$/;e.exports=function(e,r){var n=typeof e;return!!(r=r??9007199254740991)&&("number"==n||"symbol"!=n&&t.test(e))&&e>-1&&e%1==0&&e<r}},39668(e,t,r){var n=r(64383),i=r(63536),o=/\.|\[(?:[^[\]]*|(["'])(?:(?!\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&&!i(e))||a.test(e)||!o.test(e)||null!=t&&e in Object(t)}},65912(e){e.exports=function(e){var t=typeof e;return"string"==t||"number"==t||"symbol"==t||"boolean"==t?"__proto__"!==e:null===e}},67234(e,t,r){var n,i=r(85171),o=(n=/[^.]+$/.exec(i&&i.keys&&i.keys.IE_PROTO||""))?"Symbol(src)_1."+n:"";e.exports=function(e){return!!o&&o in e}},88089(e){var t=Object.prototype;e.exports=function(e){var r=e&&e.constructor;return e===("function"==typeof r&&r.prototype||t)}},48938(e,t,r){var n=r(46015);e.exports=function(e){return e==e&&!n(e)}},57752(e){e.exports=function(){this.__data__=[],this.size=0}},718(e,t,r){var n=r(40435),i=Array.prototype.splice;e.exports=function(e){var t=this.__data__,r=n(t,e);return!(r<0||(r==t.length-1?t.pop():i.call(t,r,1),--this.size,0))}},57849(e,t,r){var n=r(40435);e.exports=function(e){var t=this.__data__,r=n(t,e);return r<0?void 0:t[r][1]}},43957(e,t,r){var n=r(40435);e.exports=function(e){return n(this.__data__,e)>-1}},50845(e,t,r){var n=r(40435);e.exports=function(e,t){var r=this.__data__,i=n(r,e);return i<0?(++this.size,r.push([e,t])):r[i][1]=t,this}},35674(e,t,r){var n=r(13615),i=r(60789),o=r(48561);e.exports=function(){this.size=0,this.__data__={hash:new n,map:new(o||i),string:new n}}},11036(e,t,r){var n=r(18037);e.exports=function(e){var t=n(this,e).delete(e);return this.size-=t?1:0,t}},90031(e,t,r){var n=r(18037);e.exports=function(e){return n(this,e).get(e)}},21907(e,t,r){var n=r(18037);e.exports=function(e){return n(this,e).has(e)}},60971(e,t,r){var n=r(18037);e.exports=function(e,t){var r=n(this,e),i=r.size;return r.set(e,t),this.size+=r.size==i?0:1,this}},58887(e){e.exports=function(e){var t=-1,r=Array(e.size);return e.forEach(function(e,n){r[++t]=[n,e]}),r}},76459(e){e.exports=function(e,t){return function(r){return null!=r&&r[e]===t&&(void 0!==t||e in Object(r))}}},72110(e,t,r){var n=r(99098);e.exports=function(e){var t=n(e,function(e){return 500===r.size&&r.clear(),e}),r=t.cache;return t}},21960(e,t,r){var n=r(33188)(Object,"create");e.exports=n},6128(e,t,r){var n=r(61429)(Object.keys,Object);e.exports=n},65567(e){e.exports=function(e){var t=[];if(null!=e)for(var r in Object(e))t.push(r);return t}},43271(e,t,r){e=r.nmd(e);var n=r(75194),i=t&&!t.nodeType&&t,o=i&&e&&!e.nodeType&&e,a=o&&o.exports===i&&n.process,s=function(){try{return o&&o.require&&o.require("util").types||a&&a.binding&&a.binding("util")}catch(e){}}();e.exports=s},8704(e){var t=Object.prototype.toString;e.exports=function(e){return t.call(e)}},61429(e){e.exports=function(e,t){return function(r){return e(t(r))}}},13903(e,t,r){var n=r(64235),i=Math.max;e.exports=function(e,t,r){return t=i(void 0===t?e.length-1:t,0),function(){for(var o=arguments,a=-1,s=i(o.length-t,0),u=Array(s);++a<s;)u[a]=o[t+a];a=-1;for(var l=Array(t+1);++a<t;)l[a]=o[a];return l[t]=r(u),n(e,this,l)}}},42087(e,t,r){var n=r(92748),i=r(31482);e.exports=function(e,t){return t.length<2?e:n(e,i(t,0,-1))}},37183(e,t,r){var n=r(75194),i="object"==typeof self&&self&&self.Object===Object&&self,o=n||i||Function("return this")();e.exports=o},86810(e){e.exports=function(e){return this.__data__.set(e,"__lodash_hash_undefined__"),this}},75813(e){e.exports=function(e){return this.__data__.has(e)}},28629(e){e.exports=function(e){var t=-1,r=Array(e.size);return e.forEach(function(e){r[++t]=e}),r}},52139(e,t,r){var n=r(87316),i=r(25369)(n);e.exports=i},25369(e){var t=Date.now;e.exports=function(e){var r=0,n=0;return function(){var i=t(),o=16-(i-n);if(n=i,o>0){if(++r>=800)return arguments[0]}else r=0;return e.apply(void 0,arguments)}}},88926(e,t,r){var n=r(60789);e.exports=function(){this.__data__=new n,this.size=0}},22680(e){e.exports=function(e){var t=this.__data__,r=t.delete(e);return this.size=t.size,r}},73851(e){e.exports=function(e){return this.__data__.get(e)}},98423(e){e.exports=function(e){return this.__data__.has(e)}},3967(e,t,r){var n=r(60789),i=r(48561),o=r(91451);e.exports=function(e,t){var r=this.__data__;if(r instanceof n){var a=r.__data__;if(!i||a.length<199)return a.push([e,t]),this.size=++r.size,this;r=this.__data__=new o(a)}return r.set(e,t),this.size=r.size,this}},16966(e,t,r){var n=r(8284),i=r(68344),o=r(55564);e.exports=function(e){return i(e)?o(e):n(e)}},30412(e,t,r){var n=r(72110),i=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,o=/\\(\\)?/g,a=n(function(e){var t=[];return 46===e.charCodeAt(0)&&t.push(""),e.replace(i,function(e,r,n,i){t.push(n?i.replace(o,"$1"):r||e)}),t});e.exports=a},54671(e,t,r){var n=r(63536);e.exports=function(e){if("string"==typeof e||n(e))return e;var t=e+"";return"0"==t&&1/e==-1/0?"-0":t}},70275(e){var t=Function.prototype.toString;e.exports=function(e){if(null!=e){try{return t.call(e)}catch(e){}try{return e+""}catch(e){}}return""}},91158(e){var t=/\s/;e.exports=function(e){for(var r=e.length;r--&&t.test(e.charAt(r)););return r}},55564(e){var t="\\ud800-\\udfff",r="["+t+"]",n="[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]",i="\\ud83c[\\udffb-\\udfff]",o="[^"+t+"]",a="(?:\\ud83c[\\udde6-\\uddff]){2}",s="[\\ud800-\\udbff][\\udc00-\\udfff]",u="(?:"+n+"|"+i+")?",l="[\\ufe0e\\ufe0f]?",c=l+u+"(?:\\u200d(?:"+[o,a,s].join("|")+")"+l+u+")*",d="(?:"+[o+n+"?",n,a,s,r].join("|")+")",f=RegExp(i+"(?="+i+")|"+d+c,"g");e.exports=function(e){return e.match(f)||[]}},47947(e){var t="\\ud800-\\udfff",r="\\u2700-\\u27bf",n="a-z\\xdf-\\xf6\\xf8-\\xff",i="A-Z\\xc0-\\xd6\\xd8-\\xde",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",a="["+o+"]",s="\\d+",u="["+r+"]",l="["+n+"]",c="[^"+t+o+s+r+n+i+"]",d="(?:\\ud83c[\\udde6-\\uddff]){2}",f="[\\ud800-\\udbff][\\udc00-\\udfff]",p="["+i+"]",h="(?:"+l+"|"+c+")",m="(?:"+p+"|"+c+")",g="(?:['’](?:d|ll|m|re|s|t|ve))?",y="(?:['’](?:D|LL|M|RE|S|T|VE))?",b="(?:[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]|\\ud83c[\\udffb-\\udfff])?",v="[\\ufe0e\\ufe0f]?",S=v+b+"(?:\\u200d(?:"+["[^"+t+"]",d,f].join("|")+")"+v+b+")*",w="(?:"+[u,d,f].join("|")+")"+S,E=RegExp([p+"?"+l+"+"+g+"(?="+[a,p,"$"].join("|")+")",m+"+"+y+"(?="+[a,p+h,"$"].join("|")+")",p+"?"+h+"+"+g,p+"+"+y,"\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])","\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",s,w].join("|"),"g");e.exports=function(e){return e.match(E)||[]}},25616(e,t,r){var n=r(33734),i=r(2925)(function(e,t,r){return t=t.toLowerCase(),e+(r?n(t):t)});e.exports=i},33734(e,t,r){var n=r(12832),i=r(4254);e.exports=function(e){return i(n(e).toLowerCase())}},23368(e){e.exports=function(e){return function(){return e}}},3803(e,t,r){var n=r(46015),i=r(26642),o=r(83572),a=Math.max,s=Math.min;e.exports=function(e,t,r){var u,l,c,d,f,p,h=0,m=!1,g=!1,y=!0;if("function"!=typeof e)throw new TypeError("Expected a function");function b(t){var r=u,n=l;return u=l=void 0,h=t,d=e.apply(n,r)}function v(e){var r=e-p;return void 0===p||r>=t||r<0||g&&e-h>=c}function S(){var e=i();if(v(e))return w(e);f=setTimeout(S,function(e){var r=t-(e-p);return g?s(r,c-(e-h)):r}(e))}function w(e){return f=void 0,y&&u?b(e):(u=l=void 0,d)}function E(){var e=i(),r=v(e);if(u=arguments,l=this,p=e,r){if(void 0===f)return function(e){return h=e,f=setTimeout(S,t),m?b(e):d}(p);if(g)return clearTimeout(f),f=setTimeout(S,t),b(p)}return void 0===f&&(f=setTimeout(S,t)),d}return t=o(t)||0,n(r)&&(m=!!r.leading,c=(g="maxWait"in r)?a(o(r.maxWait)||0,t):c,y="trailing"in r?!!r.trailing:y),E.cancel=function(){void 0!==f&&clearTimeout(f),h=0,u=p=l=f=void 0},E.flush=function(){return void 0===f?d:w(i())},E}},59510(e,t,r){var n=r(57157),i=r(12832),o=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,a=RegExp("[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]","g");e.exports=function(e){return(e=i(e))&&e.replace(o,n).replace(a,"")}},29830(e){e.exports=function(e,t){return e===t||e!=e&&t!=t}},29475(e,t,r){var n=r(46628)(r(15447));e.exports=n},15447(e,t,r){var n=r(53705),i=r(94207),o=r(99147),a=Math.max;e.exports=function(e,t,r){var s=null==e?0:e.length;if(!s)return-1;var u=null==r?0:o(r);return u<0&&(u=a(s+u,0)),n(e,i(t,3),u)}},11308(e,t,r){var n=r(83234);e.exports=function(e){return null!=e&&e.length?n(e,1):[]}},29650(e,t,r){var n=r(92748);e.exports=function(e,t,r){var i=null==e?void 0:n(e,t);return void 0===i?r:i}},45515(e,t,r){var n=r(4873),i=r(47473)(n);e.exports=i},41208(e,t,r){var n=r(47473)(function(e,t){return e>=t});e.exports=n},59974(e,t,r){var n=r(69320),i=r(53852);e.exports=function(e,t){return null!=e&&i(e,t,n)}},2993(e,t,r){var n=r(71607),i=r(53852);e.exports=function(e,t){return null!=e&&i(e,t,n)}},69090(e){e.exports=function(e){return e}},95962(e,t,r){var n=r(46252),i=r(46184),o=Object.prototype,a=o.hasOwnProperty,s=o.propertyIsEnumerable,u=n(function(){return arguments}())?n:function(e){return i(e)&&a.call(e,"callee")&&!s.call(e,"callee")};e.exports=u},64383(e){var t=Array.isArray;e.exports=t},19592(e,t,r){var n=r(94360),i=r(31784);e.exports=function(e){return null!=e&&i(e.length)&&!n(e)}},78098(e,t,r){e=r.nmd(e);var n=r(37183),i=r(11329),o=t&&!t.nodeType&&t,a=o&&e&&!e.nodeType&&e,s=a&&a.exports===o?n.Buffer:void 0,u=(s?s.isBuffer:void 0)||i;e.exports=u},94360(e,t,r){var n=r(16990),i=r(46015);e.exports=function(e){if(!i(e))return!1;var t=n(e);return"[object Function]"==t||"[object GeneratorFunction]"==t||"[object AsyncFunction]"==t||"[object Proxy]"==t}},17160(e,t,r){var n=r(99147);e.exports=function(e){return"number"==typeof e&&e==n(e)}},31784(e){e.exports=function(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=9007199254740991}},4024(e,t,r){var n=r(10162),i=r(26143),o=r(43271),a=o&&o.isMap,s=a?i(a):n;e.exports=s},46015(e){e.exports=function(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}},46184(e){e.exports=function(e){return null!=e&&"object"==typeof e}},5229(e,t,r){var n=r(16990),i=r(79637),o=r(46184),a=Function.prototype,s=Object.prototype,u=a.toString,l=s.hasOwnProperty,c=u.call(Object);e.exports=function(e){if(!o(e)||"[object Object]"!=n(e))return!1;var t=i(e);if(null===t)return!0;var r=l.call(t,"constructor")&&t.constructor;return"function"==typeof r&&r instanceof r&&u.call(r)==c}},88802(e,t,r){var n=r(18344),i=r(26143),o=r(43271),a=o&&o.isSet,s=a?i(a):n;e.exports=s},63536(e,t,r){var n=r(16990),i=r(46184);e.exports=function(e){return"symbol"==typeof e||i(e)&&"[object Symbol]"==n(e)}},63905(e,t,r){var n=r(84271),i=r(26143),o=r(43271),a=o&&o.isTypedArray,s=a?i(a):n;e.exports=s},55482(e){e.exports=function(e){return void 0===e}},38420(e,t,r){var n=r(70661),i=r(29966),o=r(19592);e.exports=function(e){return o(e)?n(e):i(e)}},53435(e,t,r){var n=r(70661),i=r(7641),o=r(19592);e.exports=function(e){return o(e)?n(e,!0):i(e)}},19804(e){e.exports=function(e){var t=null==e?0:e.length;return t?e[t-1]:void 0}},31236(e,t,r){var n=r(4214),i=r(47473)(n);e.exports=i},98401(e,t,r){var n=r(47473)(function(e,t){return e<=t});e.exports=n},99098(e,t,r){var n=r(91451);function i(e,t){if("function"!=typeof e||null!=t&&"function"!=typeof t)throw new TypeError("Expected a function");var r=function(){var n=arguments,i=t?t.apply(this,n):n[0],o=r.cache;if(o.has(i))return o.get(i);var a=e.apply(this,n);return r.cache=o.set(i,a)||o,a};return r.cache=new(i.Cache||n),r}i.Cache=n,e.exports=i},26642(e,t,r){var n=r(37183);e.exports=function(){return n.Date.now()}},18757(e,t,r){var n=r(26138),i=r(69557),o=r(84109),a=r(84679),s=r(26837),u=r(55888),l=r(11506),c=r(44667),d=l(function(e,t){var r={};if(null==e)return r;var l=!1;t=n(t,function(t){return t=a(t,e),l||(l=t.length>1),t}),s(e,c(e),r),l&&(r=i(r,7,u));for(var d=t.length;d--;)o(r,t[d]);return r});e.exports=d},23681(e,t,r){var n=r(55351),i=r(54953),o=r(39668),a=r(54671);e.exports=function(e){return o(e)?n(a(e)):i(e)}},16499(e){e.exports=function(){return[]}},11329(e){e.exports=function(){return!1}},35410(e,t,r){var n=r(83572),i=1/0;e.exports=function(e){return e?(e=n(e))===i||e===-1/0?17976931348623157e292*(e<0?-1:1):e==e?e:0:0===e?e:0}},99147(e,t,r){var n=r(35410);e.exports=function(e){var t=n(e),r=t%1;return t==t?r?t-r:t:0}},83572(e,t,r){var n=r(67066),i=r(46015),o=r(63536),a=/^[-+]0x[0-9a-f]+$/i,s=/^0b[01]+$/i,u=/^0o[0-7]+$/i,l=parseInt;e.exports=function(e){if("number"==typeof e)return e;if(o(e))return NaN;if(i(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=i(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=n(e);var r=s.test(e);return r||u.test(e)?l(e.slice(2),r?2:8):a.test(e)?NaN:+e}},12832(e,t,r){var n=r(84742);e.exports=function(e){return null==e?"":n(e)}},4254(e,t,r){var n=r(86937)("toUpperCase");e.exports=n},22431(e,t,r){var n=r(9243),i=r(84612),o=r(12832),a=r(47947);e.exports=function(e,t,r){return e=o(e),void 0===(t=r?void 0:t)?i(e)?a(e):n(e):e.match(t)||[]}},94717(e,t,r){"use strict";r.r(t),r.d(t,{default:()=>a});var n=Number.isNaN||function(e){return"number"==typeof e&&e!=e};function i(e,t){return e===t||!(!n(e)||!n(t))}function o(e,t){if(e.length!==t.length)return!1;for(var r=0;r<e.length;r++)if(!i(e[r],t[r]))return!1;return!0}const a=function(e,t){var r;void 0===t&&(t=o);var n,i=[],a=!1;return function(){for(var o=[],s=0;s<arguments.length;s++)o[s]=arguments[s];return a&&r===this&&t(o,i)||(n=e.apply(this,o),a=!0,r=this,i=o),n}}},86661(e){"use strict";var t="bfred-it:object-fit-images",r=/(object-fit|object-position)\s*:\s*([-.\w\s%]+)/g,n="undefined"==typeof Image?{style:{"object-position":1}}:new Image,i="object-fit"in n.style,o="object-position"in n.style,a="background-size"in n.style,s="string"==typeof n.currentSrc,u=n.getAttribute,l=n.setAttribute,c=!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";u.call(e,"src")!==n&&l.call(e,"src",n)}function f(e,t){e.naturalWidth?t(e):setTimeout(f,100,e,t)}function p(e){var n=function(e){for(var t,n=getComputedStyle(e).fontFamily,i={};null!==(t=r.exec(n));)i[t[1]]=t[2];return i}(e),o=e[t];if(n["object-fit"]=n["object-fit"]||"fill",!o.img){if("fill"===n["object-fit"])return;if(!o.skipTest&&i&&!n["object-position"])return}if(!o.img){o.img=new Image(e.width,e.height),o.img.srcset=u.call(e,"data-ofi-srcset")||e.srcset,o.img.src=u.call(e,"data-ofi-src")||e.src,l.call(e,"data-ofi-src",e.src),e.srcset&&l.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 r={get:function(r){return e[t].img[r||"src"]},set:function(r,n){return e[t].img[n||"src"]=r,l.call(e,"data-ofi-"+n,r),p(e),r}};Object.defineProperty(e,"src",r),Object.defineProperty(e,"currentSrc",{get:function(){return r.get("currentSrc")}}),Object.defineProperty(e,"srcset",{get:function(){return r.get("srcset")},set:function(e){return r.set(e,"srcset")}})}(e)}catch(e){window.console&&console.warn("https://bit.ly/ofi-old-browser")}}!function(e){if(e.srcset&&!s&&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}}(o.img),e.style.backgroundImage='url("'+(o.img.currentSrc||o.img.src).replace(/"/g,'\\"')+'")',e.style.backgroundPosition=n["object-position"]||"center",e.style.backgroundRepeat="no-repeat",e.style.backgroundOrigin="content-box",/scale-down/.test(n["object-fit"])?f(o.img,function(){o.img.naturalWidth>e.width||o.img.naturalHeight>e.height?e.style.backgroundSize="contain":e.style.backgroundSize="auto"}):e.style.backgroundSize=n["object-fit"].replace("none","auto").replace("fill","100% 100%"),f(o.img,function(t){d(e,t.naturalWidth,t.naturalHeight)})}function h(e,r){var n=!c&&!e;if(r=r||{},e=e||"img",o&&!r.skipTest||!a)return!1;"img"===e?e=document.getElementsByTagName("img"):"string"==typeof e?e=document.querySelectorAll(e):"length"in e||(e=[e]);for(var i=0;i<e.length;i++)e[i][t]=e[i][t]||{skipTest:r.skipTest},p(e[i]);n&&(document.body.addEventListener("load",function(e){"IMG"===e.target.tagName&&h(e.target,{skipTest:r.skipTest})},!0),c=!0,e="img"),r.watchMQ&&window.addEventListener("resize",h.bind(null,e,{skipTest:r.skipTest}))}h.supportsObjectFit=i,h.supportsObjectPosition=o,function(){function e(e,r){return e[t]&&e[t].img&&("src"===r||"srcset"===r)?e[t].img:e}o||(HTMLImageElement.prototype.getAttribute=function(t){return u.call(e(this,t),t)},HTMLImageElement.prototype.setAttribute=function(t,r){return l.call(e(this,t),t,String(r))})}(),e.exports=h},54090(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"/"}},90856(e,t,r){"use strict";var n=r(7183);function i(){}function o(){}o.resetWarningCache=i,e.exports=function(){function e(e,t,r,i,o,a){if(a!==n){var s=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw s.name="Invariant Violation",s}}function t(){return e}e.isRequired=e;var 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:o,resetWarningCache:i};return r.PropTypes=r,r}},97598(e,t,r){e.exports=r(90856)()},7183(e){"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},83385(e){e.exports=function(){var e;function t(e){return e.quotes+e.quotes}function r(e,r){return 1===arguments.length&&(r=e,e={quotes:'"'}),"string"==typeof r?function(e,r){return""===r?t(e):(r[0]!==e.quotes&&(r=e.quotes+r),r[r.length-1]!==e.quotes&&(r+=e.quotes),r)}(e,r):r??t(e)}return(e={exports:{}}).exports=function(e){return"object"==typeof e?r.bind(null,e):r(e)},e.exports}()},79091(e){"use strict";var t={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"},r=/[-:]/g,n=function(e){if(/^(data-|aria-)/.test(e))return e;var n=e.replace(r,"").toLowerCase();return t[n]||e};e.exports=n,e.exports.convert=n},49325(e){var t="undefined"!=typeof Element,r="function"==typeof Map,n="function"==typeof Set,i="function"==typeof ArrayBuffer&&!!ArrayBuffer.isView;function o(e,a){if(e===a)return!0;if(e&&a&&"object"==typeof e&&"object"==typeof a){if(e.constructor!==a.constructor)return!1;var s,u,l,c;if(Array.isArray(e)){if((s=e.length)!=a.length)return!1;for(u=s;0!==u--;)if(!o(e[u],a[u]))return!1;return!0}if(r&&e instanceof Map&&a instanceof Map){if(e.size!==a.size)return!1;for(c=e.entries();!(u=c.next()).done;)if(!a.has(u.value[0]))return!1;for(c=e.entries();!(u=c.next()).done;)if(!o(u.value[1],a.get(u.value[0])))return!1;return!0}if(n&&e instanceof Set&&a instanceof Set){if(e.size!==a.size)return!1;for(c=e.entries();!(u=c.next()).done;)if(!a.has(u.value[0]))return!1;return!0}if(i&&ArrayBuffer.isView(e)&&ArrayBuffer.isView(a)){if((s=e.length)!=a.length)return!1;for(u=s;0!==u--;)if(e[u]!==a[u])return!1;return!0}if(e.constructor===RegExp)return e.source===a.source&&e.flags===a.flags;if(e.valueOf!==Object.prototype.valueOf&&"function"==typeof e.valueOf&&"function"==typeof a.valueOf)return e.valueOf()===a.valueOf();if(e.toString!==Object.prototype.toString&&"function"==typeof e.toString&&"function"==typeof a.toString)return e.toString()===a.toString();if((s=(l=Object.keys(e)).length)!==Object.keys(a).length)return!1;for(u=s;0!==u--;)if(!Object.prototype.hasOwnProperty.call(a,l[u]))return!1;if(t&&e instanceof Element)return!1;for(u=s;0!==u--;)if(("_owner"!==l[u]&&"__v"!==l[u]&&"__o"!==l[u]||!e.$$typeof)&&!o(e[l[u]],a[l[u]]))return!1;return!0}return e!=e&&a!=a}e.exports=function(e,t){try{return o(e,t)}catch(e){if((e.message||"").match(/stack|recursion/i))return console.warn("react-fast-compare cannot handle circular refs"),!1;throw e}}},37443(e,t,r){var n,i=Object.create,o=Object.defineProperty,a=Object.getOwnPropertyDescriptor,s=Object.getOwnPropertyNames,u=Object.getPrototypeOf,l=Object.prototype.hasOwnProperty,c=(e,t,r,n)=>{if(t&&"object"==typeof t||"function"==typeof t)for(let i of s(t))l.call(e,i)||i===r||o(e,i,{get:()=>t[i],enumerable:!(n=a(t,i))||n.enumerable});return e},d=(e,t,r)=>(r=null!=e?i(u(e)):{},c(!t&&e&&e.__esModule?r:o(r,"default",{value:e,enumerable:!0}),e)),f=(e,t,r)=>(((e,t,r)=>{t in e?o(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r})(e,"symbol"!=typeof t?t+"":t,r),r),p={};((e,t)=>{for(var r in t)o(e,r,{get:t[r],enumerable:!0})})(p,{default:()=>b}),e.exports=(n=p,c(o({},"__esModule",{value:!0}),n));var h=d(r(64012)),m=d(r(49325)),g=r(92830),y=r(7741);class b extends h.Component{constructor(){super(...arguments),f(this,"mounted",!1),f(this,"isReady",!1),f(this,"isPlaying",!1),f(this,"isLoading",!0),f(this,"loadOnReady",null),f(this,"startOnPlay",!0),f(this,"seekOnPlay",null),f(this,"onDurationCalled",!1),f(this,"handlePlayerMount",e=>{this.player||(this.player=e,this.player.load(this.props.url)),this.progress()}),f(this,"getInternalPlayer",e=>this.player?this.player[e]:null),f(this,"progress",()=>{if(this.props.url&&this.player&&this.isReady){const e=this.getCurrentTime()||0,t=this.getSecondsLoaded(),r=this.getDuration();if(r){const n={playedSeconds:e,played:e/r};null!==t&&(n.loadedSeconds=t,n.loaded=t/r),n.playedSeconds===this.prevPlayed&&n.loadedSeconds===this.prevLoaded||this.props.onProgress(n),this.prevPlayed=n.playedSeconds,this.prevLoaded=n.loadedSeconds}}this.progressTimeout=setTimeout(this.progress,this.props.progressFrequency||this.props.progressInterval)}),f(this,"handleReady",()=>{if(!this.mounted)return;this.isReady=!0,this.isLoading=!1;const{onReady:e,playing:t,volume:r,muted:n}=this.props;e(),n||null===r||this.player.setVolume(r),this.loadOnReady?(this.player.load(this.loadOnReady,!0),this.loadOnReady=null):t&&this.player.play(),this.handleDurationCheck()}),f(this,"handlePlay",()=>{this.isPlaying=!0,this.isLoading=!1;const{onStart:e,onPlay:t,playbackRate:r}=this.props;this.startOnPlay&&(this.player.setPlaybackRate&&1!==r&&this.player.setPlaybackRate(r),e(),this.startOnPlay=!1),t(),this.seekOnPlay&&(this.seekTo(this.seekOnPlay),this.seekOnPlay=null),this.handleDurationCheck()}),f(this,"handlePause",e=>{this.isPlaying=!1,this.isLoading||this.props.onPause(e)}),f(this,"handleEnded",()=>{const{activePlayer:e,loop:t,onEnded:r}=this.props;e.loopOnEnded&&t&&this.seekTo(0),t||(this.isPlaying=!1,r())}),f(this,"handleError",(...e)=>{this.isLoading=!1,this.props.onError(...e)}),f(this,"handleDurationCheck",()=>{clearTimeout(this.durationCheckTimeout);const e=this.getDuration();e?this.onDurationCalled||(this.props.onDuration(e),this.onDurationCalled=!0):this.durationCheckTimeout=setTimeout(this.handleDurationCheck,100)}),f(this,"handleLoaded",()=>{this.isLoading=!1})}componentDidMount(){this.mounted=!0}componentWillUnmount(){clearTimeout(this.progressTimeout),clearTimeout(this.durationCheckTimeout),this.isReady&&this.props.stopOnUnmount&&(this.player.stop(),this.player.disablePIP&&this.player.disablePIP()),this.mounted=!1}componentDidUpdate(e){if(!this.player)return;const{url:t,playing:r,volume:n,muted:i,playbackRate:o,pip:a,loop:s,activePlayer:u,disableDeferredLoading:l}=this.props;if(!(0,m.default)(e.url,t)){if(this.isLoading&&!u.forceLoad&&!l&&!(0,y.isMediaStream)(t))return console.warn(`ReactPlayer: the attempt to load ${t} is being deferred until the player has loaded`),void(this.loadOnReady=t);this.isLoading=!0,this.startOnPlay=!0,this.onDurationCalled=!1,this.player.load(t,this.isReady)}e.playing||!r||this.isPlaying||this.player.play(),e.playing&&!r&&this.isPlaying&&this.player.pause(),!e.pip&&a&&this.player.enablePIP&&this.player.enablePIP(),e.pip&&!a&&this.player.disablePIP&&this.player.disablePIP(),e.volume!==n&&null!==n&&this.player.setVolume(n),e.muted!==i&&(i?this.player.mute():(this.player.unmute(),null!==n&&setTimeout(()=>this.player.setVolume(n)))),e.playbackRate!==o&&this.player.setPlaybackRate&&this.player.setPlaybackRate(o),e.loop!==s&&this.player.setLoop&&this.player.setLoop(s)}getDuration(){return this.isReady?this.player.getDuration():null}getCurrentTime(){return this.isReady?this.player.getCurrentTime():null}getSecondsLoaded(){return this.isReady?this.player.getSecondsLoaded():null}seekTo(e,t,r){if(this.isReady){if(t?"fraction"===t:e>0&&e<1){const t=this.player.getDuration();return t?void this.player.seekTo(t*e,r):void console.warn("ReactPlayer: could not seek using fraction – duration not yet available")}this.player.seekTo(e,r)}else 0!==e&&(this.seekOnPlay=e,setTimeout(()=>{this.seekOnPlay=null},5e3))}render(){const e=this.props.activePlayer;return e?h.default.createElement(e,{...this.props,onMount:this.handlePlayerMount,onReady:this.handleReady,onPlay:this.handlePlay,onPause:this.handlePause,onEnded:this.handleEnded,onLoaded:this.handleLoaded,onError:this.handleError}):null}}f(b,"displayName","Player"),f(b,"propTypes",g.propTypes),f(b,"defaultProps",g.defaultProps)},71342(e,t,r){var n,i=Object.create,o=Object.defineProperty,a=Object.getOwnPropertyDescriptor,s=Object.getOwnPropertyNames,u=Object.getPrototypeOf,l=Object.prototype.hasOwnProperty,c=(e,t,r,n)=>{if(t&&"object"==typeof t||"function"==typeof t)for(let i of s(t))l.call(e,i)||i===r||o(e,i,{get:()=>t[i],enumerable:!(n=a(t,i))||n.enumerable});return e},d=(e,t,r)=>(r=null!=e?i(u(e)):{},c(!t&&e&&e.__esModule?r:o(r,"default",{value:e,enumerable:!0}),e)),f=(e,t,r)=>(((e,t,r)=>{t in e?o(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r})(e,"symbol"!=typeof t?t+"":t,r),r),p={};((e,t)=>{for(var r in t)o(e,r,{get:t[r],enumerable:!0})})(p,{createReactPlayer:()=>P}),e.exports=(n=p,c(o({},"__esModule",{value:!0}),n));var h=d(r(64012)),m=d(r(55510)),g=d(r(94717)),y=d(r(49325)),b=r(92830),v=r(7741),S=d(r(37443));const w=(0,v.lazy)(()=>r.e(353).then(r.t.bind(r,31016,23))),E="undefined"!=typeof window&&window.document&&"undefined"!=typeof document,_=void 0!==r.g&&r.g.window&&r.g.window.document,O=Object.keys(b.propTypes),x=E||_?h.Suspense:()=>null,k=[],P=(e,t)=>{var r;return r=class extends h.Component{constructor(){super(...arguments),f(this,"state",{showPreview:!!this.props.light}),f(this,"references",{wrapper:e=>{this.wrapper=e},player:e=>{this.player=e}}),f(this,"handleClickPreview",e=>{this.setState({showPreview:!1}),this.props.onClickPreview(e)}),f(this,"showPreview",()=>{this.setState({showPreview:!0})}),f(this,"getDuration",()=>this.player?this.player.getDuration():null),f(this,"getCurrentTime",()=>this.player?this.player.getCurrentTime():null),f(this,"getSecondsLoaded",()=>this.player?this.player.getSecondsLoaded():null),f(this,"getInternalPlayer",(e="player")=>this.player?this.player.getInternalPlayer(e):null),f(this,"seekTo",(e,t,r)=>{if(!this.player)return null;this.player.seekTo(e,t,r)}),f(this,"handleReady",()=>{this.props.onReady(this)}),f(this,"getActivePlayer",(0,g.default)(r=>{for(const t of[...k,...e])if(t.canPlay(r))return t;return t||null})),f(this,"getConfig",(0,g.default)((e,t)=>{const{config:r}=this.props;return m.default.all([b.defaultProps.config,b.defaultProps.config[t]||{},r,r[t]||{}])})),f(this,"getAttributes",(0,g.default)(e=>(0,v.omit)(this.props,O))),f(this,"renderActivePlayer",e=>{if(!e)return null;const t=this.getActivePlayer(e);if(!t)return null;const r=this.getConfig(e,t.key);return h.default.createElement(S.default,{...this.props,key:t.key,ref:this.references.player,config:r,activePlayer:t.lazyPlayer||t,onReady:this.handleReady})})}shouldComponentUpdate(e,t){return!(0,y.default)(this.props,e)||!(0,y.default)(this.state,t)}componentDidUpdate(e){const{light:t}=this.props;!e.light&&t&&this.setState({showPreview:!0}),e.light&&!t&&this.setState({showPreview:!1})}renderPreview(e){if(!e)return null;const{light:t,playIcon:r,previewTabIndex:n,oEmbedUrl:i,previewAriaLabel:o}=this.props;return h.default.createElement(w,{url:e,light:t,playIcon:r,previewTabIndex:n,previewAriaLabel:o,oEmbedUrl:i,onClick:this.handleClickPreview})}render(){const{url:e,style:t,width:r,height:n,fallback:i,wrapper:o}=this.props,{showPreview:a}=this.state,s=this.getAttributes(e),u="string"==typeof o?this.references.wrapper:void 0;return h.default.createElement(o,{ref:u,style:{...t,width:r,height:n},...s},h.default.createElement(x,{fallback:i},a?this.renderPreview(e):this.renderActivePlayer(e)))}},f(r,"displayName","ReactPlayer"),f(r,"propTypes",b.propTypes),f(r,"defaultProps",b.defaultProps),f(r,"addCustomPlayer",e=>{k.push(e)}),f(r,"removeCustomPlayers",()=>{k.length=0}),f(r,"canPlay",t=>{for(const r of[...k,...e])if(r.canPlay(t))return!0;return!1}),f(r,"canEnablePIP",t=>{for(const r of[...k,...e])if(r.canEnablePIP&&r.canEnablePIP(t))return!0;return!1}),r}},21213(e,t,r){var n,i=Object.defineProperty,o=Object.getOwnPropertyDescriptor,a=Object.getOwnPropertyNames,s=Object.prototype.hasOwnProperty,u={};((e,t)=>{for(var r in t)i(e,r,{get:t[r],enumerable:!0})})(u,{AUDIO_EXTENSIONS:()=>O,DASH_EXTENSIONS:()=>P,FLV_EXTENSIONS:()=>T,HLS_EXTENSIONS:()=>k,MATCH_URL_DAILYMOTION:()=>S,MATCH_URL_FACEBOOK:()=>h,MATCH_URL_FACEBOOK_WATCH:()=>m,MATCH_URL_KALTURA:()=>_,MATCH_URL_MIXCLOUD:()=>w,MATCH_URL_MUX:()=>p,MATCH_URL_SOUNDCLOUD:()=>d,MATCH_URL_STREAMABLE:()=>g,MATCH_URL_TWITCH_CHANNEL:()=>v,MATCH_URL_TWITCH_VIDEO:()=>b,MATCH_URL_VIDYARD:()=>E,MATCH_URL_VIMEO:()=>f,MATCH_URL_WISTIA:()=>y,MATCH_URL_YOUTUBE:()=>c,VIDEO_EXTENSIONS:()=>x,canPlay:()=>C}),e.exports=(n=u,((e,t,r,n)=>{if(t&&"object"==typeof t||"function"==typeof t)for(let r of a(t))s.call(e,r)||void 0===r||i(e,r,{get:()=>t[r],enumerable:!(n=o(t,r))||n.enumerable});return e})(i({},"__esModule",{value:!0}),n));var l=r(7741);const c=/(?:youtu\.be\/|youtube(?:-nocookie|education)?\.com\/(?:embed\/|v\/|watch\/|watch\?v=|watch\?.+&v=|shorts\/|live\/))((\w|-){11})|youtube\.com\/playlist\?list=|youtube\.com\/user\//,d=/(?:soundcloud\.com|snd\.sc)\/[^.]+$/,f=/vimeo\.com\/(?!progressive_redirect).+/,p=/stream\.mux\.com\/(?!\w+\.m3u8)(\w+)/,h=/^https?:\/\/(www\.)?facebook\.com.*\/(video(s)?|watch|story)(\.php?|\/).+$/,m=/^https?:\/\/fb\.watch\/.+$/,g=/streamable\.com\/([a-z0-9]+)$/,y=/(?:wistia\.(?:com|net)|wi\.st)\/(?:medias|embed)\/(?:iframe\/)?([^?]+)/,b=/(?:www\.|go\.)?twitch\.tv\/videos\/(\d+)($|\?)/,v=/(?:www\.|go\.)?twitch\.tv\/([a-zA-Z0-9_]+)($|\?)/,S=/^(?:(?:https?):)?(?:\/\/)?(?:www\.)?(?:(?:dailymotion\.com(?:\/embed)?\/video)|dai\.ly)\/([a-zA-Z0-9]+)(?:_[\w_-]+)?(?:[\w.#_-]+)?/,w=/mixcloud\.com\/([^/]+\/[^/]+)/,E=/vidyard.com\/(?:watch\/)?([a-zA-Z0-9-_]+)/,_=/^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-_].*)$/,O=/\.(m4a|m4b|mp4a|mpga|mp2|mp2a|mp3|m2a|m3a|wav|weba|aac|oga|spx)($|\?)/i,x=/\.(mp4|og[gv]|webm|mov|m4v)(#t=[,\d+]+)?($|\?)/i,k=/\.(m3u8)($|\?)/i,P=/\.(mpd)($|\?)/i,T=/\.(flv)($|\?)/i,A=e=>{if(e instanceof Array){for(const t of e){if("string"==typeof t&&A(t))return!0;if(A(t.src))return!0}return!1}return!(!(0,l.isMediaStream)(e)&&!(0,l.isBlobUrl)(e))||O.test(e)||x.test(e)||k.test(e)||P.test(e)||T.test(e)},C={youtube:e=>e instanceof Array?e.every(e=>c.test(e)):c.test(e),soundcloud:e=>d.test(e)&&!O.test(e),vimeo:e=>f.test(e)&&!x.test(e)&&!k.test(e),mux:e=>p.test(e),facebook:e=>h.test(e)||m.test(e),streamable:e=>g.test(e),wistia:e=>y.test(e),twitch:e=>b.test(e)||v.test(e),dailymotion:e=>S.test(e),mixcloud:e=>w.test(e),vidyard:e=>E.test(e),kaltura:e=>_.test(e),file:A}},34457(e,t,r){var n,i=Object.create,o=Object.defineProperty,a=Object.getOwnPropertyDescriptor,s=Object.getOwnPropertyNames,u=Object.getPrototypeOf,l=Object.prototype.hasOwnProperty,c=(e,t,r,n)=>{if(t&&"object"==typeof t||"function"==typeof t)for(let i of s(t))l.call(e,i)||i===r||o(e,i,{get:()=>t[i],enumerable:!(n=a(t,i))||n.enumerable});return e},d=(e,t,r)=>(((e,t,r)=>{t in e?o(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r})(e,"symbol"!=typeof t?t+"":t,r),r),f={};((e,t)=>{for(var r in t)o(e,r,{get:t[r],enumerable:!0})})(f,{default:()=>y}),e.exports=(n=f,c(o({},"__esModule",{value:!0}),n));var p=((e,t,r)=>(r=null!=e?i(u(e)):{},c(e&&e.__esModule?r:o(r,"default",{value:e,enumerable:!0}),e)))(r(64012)),h=r(7741),m=r(21213);const g=e=>e.replace("/manage/videos","");class y extends p.Component{constructor(){super(...arguments),d(this,"callPlayer",h.callPlayer),d(this,"duration",null),d(this,"currentTime",null),d(this,"secondsLoaded",null),d(this,"mute",()=>{this.setMuted(!0)}),d(this,"unmute",()=>{this.setMuted(!1)}),d(this,"ref",e=>{this.container=e})}componentDidMount(){this.props.onMount&&this.props.onMount(this)}load(e){this.duration=null,(0,h.getSDK)("https://player.vimeo.com/api/player.js","Vimeo").then(t=>{if(!this.container)return;const{playerOptions:r,title:n}=this.props.config;this.player=new t.Player(this.container,{url:g(e),autoplay:this.props.playing,muted:this.props.muted,loop:this.props.loop,playsinline:this.props.playsinline,controls:this.props.controls,...r}),this.player.ready().then(()=>{const e=this.container.querySelector("iframe");e.style.width="100%",e.style.height="100%",n&&(e.title=n)}).catch(this.props.onError),this.player.on("loaded",()=>{this.props.onReady(),this.refreshDuration()}),this.player.on("play",()=>{this.props.onPlay(),this.refreshDuration()}),this.player.on("pause",this.props.onPause),this.player.on("seeked",e=>this.props.onSeek(e.seconds)),this.player.on("ended",this.props.onEnded),this.player.on("error",this.props.onError),this.player.on("timeupdate",({seconds:e})=>{this.currentTime=e}),this.player.on("progress",({seconds:e})=>{this.secondsLoaded=e}),this.player.on("bufferstart",this.props.onBuffer),this.player.on("bufferend",this.props.onBufferEnd),this.player.on("playbackratechange",e=>this.props.onPlaybackRateChange(e.playbackRate))},this.props.onError)}refreshDuration(){this.player.getDuration().then(e=>{this.duration=e})}play(){const e=this.callPlayer("play");e&&e.catch(this.props.onError)}pause(){this.callPlayer("pause")}stop(){this.callPlayer("unload")}seekTo(e,t=!0){this.callPlayer("setCurrentTime",e),t||this.pause()}setVolume(e){this.callPlayer("setVolume",e)}setMuted(e){this.callPlayer("setMuted",e)}setLoop(e){this.callPlayer("setLoop",e)}setPlaybackRate(e){this.callPlayer("setPlaybackRate",e)}getDuration(){return this.duration}getCurrentTime(){return this.currentTime}getSecondsLoaded(){return this.secondsLoaded}render(){const{display:e}=this.props,t={width:"100%",height:"100%",overflow:"hidden",display:e};return p.default.createElement("div",{key:this.props.url,ref:this.ref,style:t})}}d(y,"displayName","Vimeo"),d(y,"canPlay",m.canPlay.vimeo),d(y,"forceLoad",!0)},92830(e,t,r){var n,i=Object.create,o=Object.defineProperty,a=Object.getOwnPropertyDescriptor,s=Object.getOwnPropertyNames,u=Object.getPrototypeOf,l=Object.prototype.hasOwnProperty,c=(e,t,r,n)=>{if(t&&"object"==typeof t||"function"==typeof t)for(let i of s(t))l.call(e,i)||i===r||o(e,i,{get:()=>t[i],enumerable:!(n=a(t,i))||n.enumerable});return e},d={};((e,t)=>{for(var r in t)o(e,r,{get:t[r],enumerable:!0})})(d,{defaultProps:()=>O,propTypes:()=>E}),e.exports=(n=d,c(o({},"__esModule",{value:!0}),n));var f=((e,t,r)=>(r=null!=e?i(u(e)):{},c(e&&e.__esModule?r:o(r,"default",{value:e,enumerable:!0}),e)))(r(97598));const{string:p,bool:h,number:m,array:g,oneOfType:y,shape:b,object:v,func:S,node:w}=f.default,E={url:y([p,g,v]),playing:h,loop:h,controls:h,volume:m,muted:h,playbackRate:m,width:y([p,m]),height:y([p,m]),style:v,progressInterval:m,playsinline:h,pip:h,stopOnUnmount:h,light:y([h,p,v]),playIcon:w,previewTabIndex:m,previewAriaLabel:p,fallback:w,oEmbedUrl:p,wrapper:y([p,S,b({render:S.isRequired})]),config:b({soundcloud:b({options:v}),youtube:b({playerVars:v,embedOptions:v,onUnstarted:S}),facebook:b({appId:p,version:p,playerId:p,attributes:v}),dailymotion:b({params:v}),vimeo:b({playerOptions:v,title:p}),mux:b({attributes:v,version:p}),file:b({attributes:v,tracks:g,forceVideo:h,forceAudio:h,forceHLS:h,forceSafariHLS:h,forceDisableHls:h,forceDASH:h,forceFLV:h,hlsOptions:v,hlsVersion:p,dashVersion:p,flvVersion:p}),wistia:b({options:v,playerId:p,customControls:g}),mixcloud:b({options:v}),twitch:b({options:v,playerId:p}),vidyard:b({options:v})}),onReady:S,onStart:S,onPlay:S,onPause:S,onBuffer:S,onBufferEnd:S,onEnded:S,onError:S,onDuration:S,onSeek:S,onPlaybackRateChange:S,onPlaybackQualityChange:S,onProgress:S,onClickPreview:S,onEnablePIP:S,onDisablePIP:S},_=()=>{},O={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,previewAriaLabel:"",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:_},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},mux:{attributes:{},version:"2"},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",forceDisableHls:!1},wistia:{options:{},playerId:null,customControls:null},mixcloud:{options:{hide_cover:1}},twitch:{options:{},playerId:null},vidyard:{options:{}}},onReady:_,onStart:_,onPlay:_,onPause:_,onBuffer:_,onBufferEnd:_,onEnded:_,onError:_,onDuration:_,onSeek:_,onPlaybackRateChange:_,onPlaybackQualityChange:_,onProgress:_,onClickPreview:_,onEnablePIP:_,onDisablePIP:_}},7741(e,t,r){var n,i=Object.create,o=Object.defineProperty,a=Object.getOwnPropertyDescriptor,s=Object.getOwnPropertyNames,u=Object.getPrototypeOf,l=Object.prototype.hasOwnProperty,c=(e,t,r,n)=>{if(t&&"object"==typeof t||"function"==typeof t)for(let i of s(t))l.call(e,i)||i===r||o(e,i,{get:()=>t[i],enumerable:!(n=a(t,i))||n.enumerable});return e},d=(e,t,r)=>(r=null!=e?i(u(e)):{},c(!t&&e&&e.__esModule?r:o(r,"default",{value:e,enumerable:!0}),e)),f={};((e,t)=>{for(var r in t)o(e,r,{get:t[r],enumerable:!0})})(f,{callPlayer:()=>L,getConfig:()=>A,getSDK:()=>T,isBlobUrl:()=>N,isMediaStream:()=>I,lazy:()=>g,omit:()=>C,parseEndTime:()=>_,parseStartTime:()=>E,queryString:()=>x,randomString:()=>O,supportsWebKitPresentationMode:()=>j}),e.exports=(n=f,c(o({},"__esModule",{value:!0}),n));var p=d(r(64012)),h=d(r(64685)),m=d(r(55510));const g=e=>p.default.lazy(async()=>{const t=await e();return"function"==typeof t.default?t:t.default}),y=/[?&#](?:start|t)=([0-9hms]+)/,b=/[?&#]end=([0-9hms]+)/,v=/(\d+)(h|m|s)/g,S=/^\d+$/;function w(e,t){if(e instanceof Array)return;const r=e.match(t);if(r){const e=r[1];if(e.match(v))return function(e){let t=0,r=v.exec(e);for(;null!==r;){const[,n,i]=r;"h"===i&&(t+=60*parseInt(n,10)*60),"m"===i&&(t+=60*parseInt(n,10)),"s"===i&&(t+=parseInt(n,10)),r=v.exec(e)}return t}(e);if(S.test(e))return parseInt(e)}}function E(e){return w(e,y)}function _(e){return w(e,b)}function O(){return Math.random().toString(36).substr(2,5)}function x(e){return Object.keys(e).map(t=>`${t}=${e[t]}`).join("&")}function k(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}const P={},T=function(e,t,r=null,n=()=>!0,i=h.default){const o=k(t);return o&&n(o)?Promise.resolve(o):new Promise((n,o)=>{if(P[e])return void P[e].push({resolve:n,reject:o});P[e]=[{resolve:n,reject:o}];const a=t=>{P[e].forEach(e=>e.resolve(t))};if(r){const e=window[r];window[r]=function(){e&&e(),a(k(t))}}i(e,n=>{n?(P[e].forEach(e=>e.reject(n)),P[e]=null):r||a(k(t))})})};function A(e,t){return(0,m.default)(t.config,e.config)}function C(e,...t){const r=[].concat(...t),n={},i=Object.keys(e);for(const t of i)-1===r.indexOf(t)&&(n[t]=e[t]);return n}function L(e,...t){if(!this.player||!this.player[e]){let t=`ReactPlayer: ${this.constructor.displayName} player could not call %c${e}%c – `;return this.player?this.player[e]||(t+="The method was not available"):t+="The player was not available",console.warn(t,"font-weight: bold",""),null}return this.player[e](...t)}function I(e){return"undefined"!=typeof window&&void 0!==window.MediaStream&&e instanceof window.MediaStream}function N(e){return/^blob:/.test(e)}function j(e=document.createElement("video")){const t=!1===/iPhone|iPod/.test(navigator.userAgent);return e.webkitSupportsPresentationMode&&"function"==typeof e.webkitSetPresentationMode&&t}},56304(e,t,r){var n=r(71342).createReactPlayer,i=r(34457).default;e.exports=n([{key:"vimeo",canPlay:i.canPlay,lazyPlayer:i}])},43275(e,t,r){"use strict";e.exports=r(46240)},25734(e){"use strict";var t={};function r(e,r,n){n||(n=Error);var i=function(e){var t,n;function i(t,n,i){return e.call(this,function(e,t,n){return"string"==typeof r?r:r(e,t,n)}(t,n,i))||this}return n=e,(t=i).prototype=Object.create(n.prototype),t.prototype.constructor=t,t.__proto__=n,i}(n);i.prototype.name=n.name,i.prototype.code=e,t[e]=i}function n(e,t){if(Array.isArray(e)){var r=e.length;return e=e.map(function(e){return String(e)}),r>2?"one of ".concat(t," ").concat(e.slice(0,r-1).join(", "),", or ")+e[r-1]:2===r?"one of ".concat(t," ").concat(e[0]," or ").concat(e[1]):"of ".concat(t," ").concat(e[0])}return"of ".concat(t," ").concat(String(e))}r("ERR_INVALID_OPT_VALUE",function(e,t){return'The value "'+t+'" is invalid for option "'+e+'"'},TypeError),r("ERR_INVALID_ARG_TYPE",function(e,t,r){var i,o,a,s,u;if("string"==typeof t&&(o="not ",t.substr(0,4)===o)?(i="must not be",t=t.replace(/^not /,"")):i="must be",function(e,t,r){return(void 0===r||r>e.length)&&(r=e.length),e.substring(r-9,r)===t}(e," argument"))a="The ".concat(e," ").concat(i," ").concat(n(t,"type"));else{var l=("number"!=typeof u&&(u=0),u+1>(s=e).length||-1===s.indexOf(".",u)?"argument":"property");a='The "'.concat(e,'" ').concat(l," ").concat(i," ").concat(n(t,"type"))}return a+". Received type ".concat(typeof r)},TypeError),r("ERR_STREAM_PUSH_AFTER_EOF","stream.push() after EOF"),r("ERR_METHOD_NOT_IMPLEMENTED",function(e){return"The "+e+" method is not implemented"}),r("ERR_STREAM_PREMATURE_CLOSE","Premature close"),r("ERR_STREAM_DESTROYED",function(e){return"Cannot call "+e+" after a stream was destroyed"}),r("ERR_MULTIPLE_CALLBACK","Callback called multiple times"),r("ERR_STREAM_CANNOT_PIPE","Cannot pipe, not readable"),r("ERR_STREAM_WRITE_AFTER_END","write after end"),r("ERR_STREAM_NULL_VALUES","May not write null values to stream",TypeError),r("ERR_UNKNOWN_ENCODING",function(e){return"Unknown encoding: "+e},TypeError),r("ERR_STREAM_UNSHIFT_AFTER_END_EVENT","stream.unshift() after end event"),e.exports.F=t},49376(e,t,r){"use strict";var n=Object.keys||function(e){var t=[];for(var r in e)t.push(r);return t};e.exports=l;var i=r(7494),o=r(26858);r(69988)(l,i);for(var a=n(o.prototype),s=0;s<a.length;s++){var u=a[s];l.prototype[u]||(l.prototype[u]=o.prototype[u])}function l(e){if(!(this instanceof l))return new l(e);i.call(this,e),o.call(this,e),this.allowHalfOpen=!0,e&&(!1===e.readable&&(this.readable=!1),!1===e.writable&&(this.writable=!1),!1===e.allowHalfOpen&&(this.allowHalfOpen=!1,this.once("end",c)))}function c(){this._writableState.ended||process.nextTick(d,this)}function d(e){e.end()}Object.defineProperty(l.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}}),Object.defineProperty(l.prototype,"writableBuffer",{enumerable:!1,get:function(){return this._writableState&&this._writableState.getBuffer()}}),Object.defineProperty(l.prototype,"writableLength",{enumerable:!1,get:function(){return this._writableState.length}}),Object.defineProperty(l.prototype,"destroyed",{enumerable:!1,get:function(){return void 0!==this._readableState&&void 0!==this._writableState&&this._readableState.destroyed&&this._writableState.destroyed},set:function(e){void 0!==this._readableState&&void 0!==this._writableState&&(this._readableState.destroyed=e,this._writableState.destroyed=e)}})},58018(e,t,r){"use strict";e.exports=i;var n=r(75024);function i(e){if(!(this instanceof i))return new i(e);n.call(this,e)}r(69988)(i,n),i.prototype._transform=function(e,t,r){r(null,e)}},7494(e,t,r){"use strict";var n;e.exports=O,O.ReadableState=_,r(98621).EventEmitter;var i,o=function(e,t){return e.listeners(t).length},a=r(30551),s=r(81429).Buffer,u=(void 0!==r.g?r.g:"undefined"!=typeof window?window:"undefined"!=typeof self?self:{}).Uint8Array||function(){},l=r(14388);i=l&&l.debuglog?l.debuglog("stream"):function(){};var c,d,f,p=r(6555),h=r(94670),m=r(91937).getHighWaterMark,g=r(25734).F,y=g.ERR_INVALID_ARG_TYPE,b=g.ERR_STREAM_PUSH_AFTER_EOF,v=g.ERR_METHOD_NOT_IMPLEMENTED,S=g.ERR_STREAM_UNSHIFT_AFTER_END_EVENT;r(69988)(O,a);var w=h.errorOrDestroy,E=["error","close","destroy","pause","resume"];function _(e,t,i){n=n||r(49376),e=e||{},"boolean"!=typeof i&&(i=t instanceof n),this.objectMode=!!e.objectMode,i&&(this.objectMode=this.objectMode||!!e.readableObjectMode),this.highWaterMark=m(this,e,"readableHighWaterMark",i),this.buffer=new p,this.length=0,this.pipes=null,this.pipesCount=0,this.flowing=null,this.ended=!1,this.endEmitted=!1,this.reading=!1,this.sync=!0,this.needReadable=!1,this.emittedReadable=!1,this.readableListening=!1,this.resumeScheduled=!1,this.paused=!0,this.emitClose=!1!==e.emitClose,this.autoDestroy=!!e.autoDestroy,this.destroyed=!1,this.defaultEncoding=e.defaultEncoding||"utf8",this.awaitDrain=0,this.readingMore=!1,this.decoder=null,this.encoding=null,e.encoding&&(c||(c=r(8739).I),this.decoder=new c(e.encoding),this.encoding=e.encoding)}function O(e){if(n=n||r(49376),!(this instanceof O))return new O(e);var t=this instanceof n;this._readableState=new _(e,this,t),this.readable=!0,e&&("function"==typeof e.read&&(this._read=e.read),"function"==typeof e.destroy&&(this._destroy=e.destroy)),a.call(this)}function x(e,t,r,n,o){i("readableAddChunk",t);var a,l=e._readableState;if(null===t)l.reading=!1,function(e,t){if(i("onEofChunk"),!t.ended){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,t.sync?A(e):(t.needReadable=!1,t.emittedReadable||(t.emittedReadable=!0,C(e)))}}(e,l);else if(o||(a=function(e,t){var r,n;return n=t,s.isBuffer(n)||n instanceof u||"string"==typeof t||void 0===t||e.objectMode||(r=new y("chunk",["string","Buffer","Uint8Array"],t)),r}(l,t)),a)w(e,a);else if(l.objectMode||t&&t.length>0)if("string"==typeof t||l.objectMode||Object.getPrototypeOf(t)===s.prototype||(t=function(e){return s.from(e)}(t)),n)l.endEmitted?w(e,new S):k(e,l,t,!0);else if(l.ended)w(e,new b);else{if(l.destroyed)return!1;l.reading=!1,l.decoder&&!r?(t=l.decoder.write(t),l.objectMode||0!==t.length?k(e,l,t,!1):L(e,l)):k(e,l,t,!1)}else n||(l.reading=!1,L(e,l));return!l.ended&&(l.length<l.highWaterMark||0===l.length)}function k(e,t,r,n){t.flowing&&0===t.length&&!t.sync?(t.awaitDrain=0,e.emit("data",r)):(t.length+=t.objectMode?1:r.length,n?t.buffer.unshift(r):t.buffer.push(r),t.needReadable&&A(e)),L(e,t)}Object.defineProperty(O.prototype,"destroyed",{enumerable:!1,get:function(){return void 0!==this._readableState&&this._readableState.destroyed},set:function(e){this._readableState&&(this._readableState.destroyed=e)}}),O.prototype.destroy=h.destroy,O.prototype._undestroy=h.undestroy,O.prototype._destroy=function(e,t){t(e)},O.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=s.from(e,t),t=""),r=!0),x(this,e,t,!1,r)},O.prototype.unshift=function(e){return x(this,e,null,!0,!1)},O.prototype.isPaused=function(){return!1===this._readableState.flowing},O.prototype.setEncoding=function(e){c||(c=r(8739).I);var t=new c(e);this._readableState.decoder=t,this._readableState.encoding=this._readableState.decoder.encoding;for(var n=this._readableState.buffer.head,i="";null!==n;)i+=t.write(n.data),n=n.next;return this._readableState.buffer.clear(),""!==i&&this._readableState.buffer.push(i),this._readableState.length=i.length,this};var P=1073741824;function T(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>=P?e=P:(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 A(e){var t=e._readableState;i("emitReadable",t.needReadable,t.emittedReadable),t.needReadable=!1,t.emittedReadable||(i("emitReadable",t.flowing),t.emittedReadable=!0,process.nextTick(C,e))}function C(e){var t=e._readableState;i("emitReadable_",t.destroyed,t.length,t.ended),t.destroyed||!t.length&&!t.ended||(e.emit("readable"),t.emittedReadable=!1),t.needReadable=!t.flowing&&!t.ended&&t.length<=t.highWaterMark,D(e)}function L(e,t){t.readingMore||(t.readingMore=!0,process.nextTick(I,e,t))}function I(e,t){for(;!t.reading&&!t.ended&&(t.length<t.highWaterMark||t.flowing&&0===t.length);){var r=t.length;if(i("maybeReadMore read 0"),e.read(0),r===t.length)break}t.readingMore=!1}function N(e){var t=e._readableState;t.readableListening=e.listenerCount("readable")>0,t.resumeScheduled&&!t.paused?t.flowing=!0:e.listenerCount("data")>0&&e.resume()}function j(e){i("readable nexttick read 0"),e.read(0)}function R(e,t){i("resume",t.reading),t.reading||e.read(0),t.resumeScheduled=!1,e.emit("resume"),D(e),t.flowing&&!t.reading&&e.read(0)}function D(e){var t=e._readableState;for(i("flow",t.flowing);t.flowing&&null!==e.read(););}function M(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.first():t.buffer.concat(t.length),t.buffer.clear()):r=t.buffer.consume(e,t.decoder),r);var r}function U(e){var t=e._readableState;i("endReadable",t.endEmitted),t.endEmitted||(t.ended=!0,process.nextTick(B,t,e))}function B(e,t){if(i("endReadableNT",e.endEmitted,e.length),!e.endEmitted&&0===e.length&&(e.endEmitted=!0,t.readable=!1,t.emit("end"),e.autoDestroy)){var r=t._writableState;(!r||r.autoDestroy&&r.finished)&&t.destroy()}}function F(e,t){for(var r=0,n=e.length;r<n;r++)if(e[r]===t)return r;return-1}O.prototype.read=function(e){i("read",e),e=parseInt(e,10);var t=this._readableState,r=e;if(0!==e&&(t.emittedReadable=!1),0===e&&t.needReadable&&((0!==t.highWaterMark?t.length>=t.highWaterMark:t.length>0)||t.ended))return i("read: emitReadable",t.length,t.ended),0===t.length&&t.ended?U(this):A(this),null;if(0===(e=T(e,t))&&t.ended)return 0===t.length&&U(this),null;var n,o=t.needReadable;return i("need readable",o),(0===t.length||t.length-e<t.highWaterMark)&&i("length less than watermark",o=!0),t.ended||t.reading?i("reading or ended",o=!1):o&&(i("do read"),t.reading=!0,t.sync=!0,0===t.length&&(t.needReadable=!0),this._read(t.highWaterMark),t.sync=!1,t.reading||(e=T(r,t))),null===(n=e>0?M(e,t):null)?(t.needReadable=t.length<=t.highWaterMark,e=0):(t.length-=e,t.awaitDrain=0),0===t.length&&(t.ended||(t.needReadable=!0),r!==e&&t.ended&&U(this)),null!==n&&this.emit("data",n),n},O.prototype._read=function(e){w(this,new v("_read()"))},O.prototype.pipe=function(e,t){var r=this,n=this._readableState;switch(n.pipesCount){case 0:n.pipes=e;break;case 1:n.pipes=[n.pipes,e];break;default:n.pipes.push(e)}n.pipesCount+=1,i("pipe count=%d opts=%j",n.pipesCount,t);var a=t&&!1===t.end||e===process.stdout||e===process.stderr?h:s;function s(){i("onend"),e.end()}n.endEmitted?process.nextTick(a):r.once("end",a),e.on("unpipe",function t(o,a){i("onunpipe"),o===r&&a&&!1===a.hasUnpiped&&(a.hasUnpiped=!0,i("cleanup"),e.removeListener("close",f),e.removeListener("finish",p),e.removeListener("drain",u),e.removeListener("error",d),e.removeListener("unpipe",t),r.removeListener("end",s),r.removeListener("end",h),r.removeListener("data",c),l=!0,!n.awaitDrain||e._writableState&&!e._writableState.needDrain||u())});var u=function(e){return function(){var t=e._readableState;i("pipeOnDrain",t.awaitDrain),t.awaitDrain&&t.awaitDrain--,0===t.awaitDrain&&o(e,"data")&&(t.flowing=!0,D(e))}}(r);e.on("drain",u);var l=!1;function c(t){i("ondata");var o=e.write(t);i("dest.write",o),!1===o&&((1===n.pipesCount&&n.pipes===e||n.pipesCount>1&&-1!==F(n.pipes,e))&&!l&&(i("false write response, pause",n.awaitDrain),n.awaitDrain++),r.pause())}function d(t){i("onerror",t),h(),e.removeListener("error",d),0===o(e,"error")&&w(e,t)}function f(){e.removeListener("finish",p),h()}function p(){i("onfinish"),e.removeListener("close",f),h()}function h(){i("unpipe"),r.unpipe(e)}return r.on("data",c),function(e,t,r){if("function"==typeof e.prependListener)return e.prependListener(t,r);e._events&&e._events[t]?Array.isArray(e._events[t])?e._events[t].unshift(r):e._events[t]=[r,e._events[t]]:e.on(t,r)}(e,"error",d),e.once("close",f),e.once("finish",p),e.emit("pipe",r),n.flowing||(i("pipe resume"),r.resume()),e},O.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,i=t.pipesCount;t.pipes=null,t.pipesCount=0,t.flowing=!1;for(var o=0;o<i;o++)n[o].emit("unpipe",this,{hasUnpiped:!1});return this}var a=F(t.pipes,e);return-1===a||(t.pipes.splice(a,1),t.pipesCount-=1,1===t.pipesCount&&(t.pipes=t.pipes[0]),e.emit("unpipe",this,r)),this},O.prototype.on=function(e,t){var r=a.prototype.on.call(this,e,t),n=this._readableState;return"data"===e?(n.readableListening=this.listenerCount("readable")>0,!1!==n.flowing&&this.resume()):"readable"===e&&(n.endEmitted||n.readableListening||(n.readableListening=n.needReadable=!0,n.flowing=!1,n.emittedReadable=!1,i("on readable",n.length,n.reading),n.length?A(this):n.reading||process.nextTick(j,this))),r},O.prototype.addListener=O.prototype.on,O.prototype.removeListener=function(e,t){var r=a.prototype.removeListener.call(this,e,t);return"readable"===e&&process.nextTick(N,this),r},O.prototype.removeAllListeners=function(e){var t=a.prototype.removeAllListeners.apply(this,arguments);return"readable"!==e&&void 0!==e||process.nextTick(N,this),t},O.prototype.resume=function(){var e=this._readableState;return e.flowing||(i("resume"),e.flowing=!e.readableListening,function(e,t){t.resumeScheduled||(t.resumeScheduled=!0,process.nextTick(R,e,t))}(this,e)),e.paused=!1,this},O.prototype.pause=function(){return i("call pause flowing=%j",this._readableState.flowing),!1!==this._readableState.flowing&&(i("pause"),this._readableState.flowing=!1,this.emit("pause")),this._readableState.paused=!0,this},O.prototype.wrap=function(e){var t=this,r=this._readableState,n=!1;for(var o in e.on("end",function(){if(i("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){i("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 a=0;a<E.length;a++)e.on(E[a],this.emit.bind(this,E[a]));return this._read=function(t){i("wrapped _read",t),n&&(n=!1,e.resume())},this},"function"==typeof Symbol&&(O.prototype[Symbol.asyncIterator]=function(){return void 0===d&&(d=r(83805)),d(this)}),Object.defineProperty(O.prototype,"readableHighWaterMark",{enumerable:!1,get:function(){return this._readableState.highWaterMark}}),Object.defineProperty(O.prototype,"readableBuffer",{enumerable:!1,get:function(){return this._readableState&&this._readableState.buffer}}),Object.defineProperty(O.prototype,"readableFlowing",{enumerable:!1,get:function(){return this._readableState.flowing},set:function(e){this._readableState&&(this._readableState.flowing=e)}}),O._fromList=M,Object.defineProperty(O.prototype,"readableLength",{enumerable:!1,get:function(){return this._readableState.length}}),"function"==typeof Symbol&&(O.from=function(e,t){return void 0===f&&(f=r(64791)),f(O,e,t)})},75024(e,t,r){"use strict";e.exports=c;var n=r(25734).F,i=n.ERR_METHOD_NOT_IMPLEMENTED,o=n.ERR_MULTIPLE_CALLBACK,a=n.ERR_TRANSFORM_ALREADY_TRANSFORMING,s=n.ERR_TRANSFORM_WITH_LENGTH_0,u=r(49376);function l(e,t){var r=this._transformState;r.transforming=!1;var n=r.writecb;if(null===n)return this.emit("error",new o);r.writechunk=null,r.writecb=null,null!=t&&this.push(t),n(e);var i=this._readableState;i.reading=!1,(i.needReadable||i.length<i.highWaterMark)&&this._read(i.highWaterMark)}function c(e){if(!(this instanceof c))return new c(e);u.call(this,e),this._transformState={afterTransform:l.bind(this),needTransform:!1,transforming:!1,writecb:null,writechunk:null,writeencoding:null},this._readableState.needReadable=!0,this._readableState.sync=!1,e&&("function"==typeof e.transform&&(this._transform=e.transform),"function"==typeof e.flush&&(this._flush=e.flush)),this.on("prefinish",d)}function d(){var e=this;"function"!=typeof this._flush||this._readableState.destroyed?f(this,null,null):this._flush(function(t,r){f(e,t,r)})}function f(e,t,r){if(t)return e.emit("error",t);if(null!=r&&e.push(r),e._writableState.length)throw new s;if(e._transformState.transforming)throw new a;return e.push(null)}r(69988)(c,u),c.prototype.push=function(e,t){return this._transformState.needTransform=!1,u.prototype.push.call(this,e,t)},c.prototype._transform=function(e,t,r){r(new i("_transform()"))},c.prototype._write=function(e,t,r){var n=this._transformState;if(n.writecb=r,n.writechunk=e,n.writeencoding=t,!n.transforming){var i=this._readableState;(n.needTransform||i.needReadable||i.length<i.highWaterMark)&&this._read(i.highWaterMark)}},c.prototype._read=function(e){var t=this._transformState;null===t.writechunk||t.transforming?t.needTransform=!0:(t.transforming=!0,this._transform(t.writechunk,t.writeencoding,t.afterTransform))},c.prototype._destroy=function(e,t){u.prototype._destroy.call(this,e,function(e){t(e)})}},26858(e,t,r){"use strict";function n(e){var t=this;this.next=null,this.entry=null,this.finish=function(){!function(e,t){var r=e.entry;for(e.entry=null;r;){var n=r.callback;t.pendingcb--,n(void 0),r=r.next}t.corkedRequestsFree.next=e}(t,e)}}var i;e.exports=O,O.WritableState=_;var o,a={deprecate:r(27925)},s=r(30551),u=r(81429).Buffer,l=(void 0!==r.g?r.g:"undefined"!=typeof window?window:"undefined"!=typeof self?self:{}).Uint8Array||function(){},c=r(94670),d=r(91937).getHighWaterMark,f=r(25734).F,p=f.ERR_INVALID_ARG_TYPE,h=f.ERR_METHOD_NOT_IMPLEMENTED,m=f.ERR_MULTIPLE_CALLBACK,g=f.ERR_STREAM_CANNOT_PIPE,y=f.ERR_STREAM_DESTROYED,b=f.ERR_STREAM_NULL_VALUES,v=f.ERR_STREAM_WRITE_AFTER_END,S=f.ERR_UNKNOWN_ENCODING,w=c.errorOrDestroy;function E(){}function _(e,t,o){i=i||r(49376),e=e||{},"boolean"!=typeof o&&(o=t instanceof i),this.objectMode=!!e.objectMode,o&&(this.objectMode=this.objectMode||!!e.writableObjectMode),this.highWaterMark=d(this,e,"writableHighWaterMark",o),this.finalCalled=!1,this.needDrain=!1,this.ending=!1,this.ended=!1,this.finished=!1,this.destroyed=!1;var a=!1===e.decodeStrings;this.decodeStrings=!a,this.defaultEncoding=e.defaultEncoding||"utf8",this.length=0,this.writing=!1,this.corked=0,this.sync=!0,this.bufferProcessing=!1,this.onwrite=function(e){!function(e,t){var r=e._writableState,n=r.sync,i=r.writecb;if("function"!=typeof i)throw new m;if(function(e){e.writing=!1,e.writecb=null,e.length-=e.writelen,e.writelen=0}(r),t)!function(e,t,r,n,i){--t.pendingcb,r?(process.nextTick(i,n),process.nextTick(C,e,t),e._writableState.errorEmitted=!0,w(e,n)):(i(n),e._writableState.errorEmitted=!0,w(e,n),C(e,t))}(e,r,n,t,i);else{var o=T(r)||e.destroyed;o||r.corked||r.bufferProcessing||!r.bufferedRequest||P(e,r),n?process.nextTick(k,e,r,o,i):k(e,r,o,i)}}(t,e)},this.writecb=null,this.writelen=0,this.bufferedRequest=null,this.lastBufferedRequest=null,this.pendingcb=0,this.prefinished=!1,this.errorEmitted=!1,this.emitClose=!1!==e.emitClose,this.autoDestroy=!!e.autoDestroy,this.bufferedRequestCount=0,this.corkedRequestsFree=new n(this)}function O(e){var t=this instanceof(i=i||r(49376));if(!t&&!o.call(O,this))return new O(e);this._writableState=new _(e,this,t),this.writable=!0,e&&("function"==typeof e.write&&(this._write=e.write),"function"==typeof e.writev&&(this._writev=e.writev),"function"==typeof e.destroy&&(this._destroy=e.destroy),"function"==typeof e.final&&(this._final=e.final)),s.call(this)}function x(e,t,r,n,i,o,a){t.writelen=n,t.writecb=a,t.writing=!0,t.sync=!0,t.destroyed?t.onwrite(new y("write")):r?e._writev(i,t.onwrite):e._write(i,o,t.onwrite),t.sync=!1}function k(e,t,r,n){r||function(e,t){0===t.length&&t.needDrain&&(t.needDrain=!1,e.emit("drain"))}(e,t),t.pendingcb--,n(),C(e,t)}function P(e,t){t.bufferProcessing=!0;var r=t.bufferedRequest;if(e._writev&&r&&r.next){var i=t.bufferedRequestCount,o=new Array(i),a=t.corkedRequestsFree;a.entry=r;for(var s=0,u=!0;r;)o[s]=r,r.isBuf||(u=!1),r=r.next,s+=1;o.allBuffers=u,x(e,t,!0,t.length,o,"",a.finish),t.pendingcb++,t.lastBufferedRequest=null,a.next?(t.corkedRequestsFree=a.next,a.next=null):t.corkedRequestsFree=new n(t),t.bufferedRequestCount=0}else{for(;r;){var l=r.chunk,c=r.encoding,d=r.callback;if(x(e,t,!1,t.objectMode?1:l.length,l,c,d),r=r.next,t.bufferedRequestCount--,t.writing)break}null===r&&(t.lastBufferedRequest=null)}t.bufferedRequest=r,t.bufferProcessing=!1}function T(e){return e.ending&&0===e.length&&null===e.bufferedRequest&&!e.finished&&!e.writing}function A(e,t){e._final(function(r){t.pendingcb--,r&&w(e,r),t.prefinished=!0,e.emit("prefinish"),C(e,t)})}function C(e,t){var r=T(t);if(r&&(function(e,t){t.prefinished||t.finalCalled||("function"!=typeof e._final||t.destroyed?(t.prefinished=!0,e.emit("prefinish")):(t.pendingcb++,t.finalCalled=!0,process.nextTick(A,e,t)))}(e,t),0===t.pendingcb&&(t.finished=!0,e.emit("finish"),t.autoDestroy))){var n=e._readableState;(!n||n.autoDestroy&&n.endEmitted)&&e.destroy()}return r}r(69988)(O,s),_.prototype.getBuffer=function(){for(var e=this.bufferedRequest,t=[];e;)t.push(e),e=e.next;return t},function(){try{Object.defineProperty(_.prototype,"buffer",{get:a.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]?(o=Function.prototype[Symbol.hasInstance],Object.defineProperty(O,Symbol.hasInstance,{value:function(e){return!!o.call(this,e)||this===O&&e&&e._writableState instanceof _}})):o=function(e){return e instanceof this},O.prototype.pipe=function(){w(this,new g)},O.prototype.write=function(e,t,r){var n,i=this._writableState,o=!1,a=!i.objectMode&&(n=e,u.isBuffer(n)||n instanceof l);return a&&!u.isBuffer(e)&&(e=function(e){return u.from(e)}(e)),"function"==typeof t&&(r=t,t=null),a?t="buffer":t||(t=i.defaultEncoding),"function"!=typeof r&&(r=E),i.ending?function(e,t){var r=new v;w(e,r),process.nextTick(t,r)}(this,r):(a||function(e,t,r,n){var i;return null===r?i=new b:"string"==typeof r||t.objectMode||(i=new p("chunk",["string","Buffer"],r)),!i||(w(e,i),process.nextTick(n,i),!1)}(this,i,e,r))&&(i.pendingcb++,o=function(e,t,r,n,i,o){if(!r){var a=function(e,t,r){return e.objectMode||!1===e.decodeStrings||"string"!=typeof t||(t=u.from(t,r)),t}(t,n,i);n!==a&&(r=!0,i="buffer",n=a)}var s=t.objectMode?1:n.length;t.length+=s;var l=t.length<t.highWaterMark;if(l||(t.needDrain=!0),t.writing||t.corked){var c=t.lastBufferedRequest;t.lastBufferedRequest={chunk:n,encoding:i,isBuf:r,callback:o,next:null},c?c.next=t.lastBufferedRequest:t.bufferedRequest=t.lastBufferedRequest,t.bufferedRequestCount+=1}else x(e,t,!1,s,n,i,o);return l}(this,i,a,e,t,r)),o},O.prototype.cork=function(){this._writableState.corked++},O.prototype.uncork=function(){var e=this._writableState;e.corked&&(e.corked--,e.writing||e.corked||e.bufferProcessing||!e.bufferedRequest||P(this,e))},O.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 S(e);return this._writableState.defaultEncoding=e,this},Object.defineProperty(O.prototype,"writableBuffer",{enumerable:!1,get:function(){return this._writableState&&this._writableState.getBuffer()}}),Object.defineProperty(O.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}}),O.prototype._write=function(e,t,r){r(new h("_write()"))},O.prototype._writev=null,O.prototype.end=function(e,t,r){var n=this._writableState;return"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||function(e,t,r){t.ending=!0,C(e,t),r&&(t.finished?process.nextTick(r):e.once("finish",r)),t.ended=!0,e.writable=!1}(this,n,r),this},Object.defineProperty(O.prototype,"writableLength",{enumerable:!1,get:function(){return this._writableState.length}}),Object.defineProperty(O.prototype,"destroyed",{enumerable:!1,get:function(){return void 0!==this._writableState&&this._writableState.destroyed},set:function(e){this._writableState&&(this._writableState.destroyed=e)}}),O.prototype.destroy=c.destroy,O.prototype._undestroy=c.undestroy,O.prototype._destroy=function(e,t){t(e)}},83805(e,t,r){"use strict";var n;function i(e,t,r){return(t=function(e){var t=function(e){if("object"!=typeof e||null===e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var r=t.call(e,"string");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:String(t)}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var o=r(88884),a=Symbol("lastResolve"),s=Symbol("lastReject"),u=Symbol("error"),l=Symbol("ended"),c=Symbol("lastPromise"),d=Symbol("handlePromise"),f=Symbol("stream");function p(e,t){return{value:e,done:t}}function h(e){var t=e[a];if(null!==t){var r=e[f].read();null!==r&&(e[c]=null,e[a]=null,e[s]=null,t(p(r,!1)))}}function m(e){process.nextTick(h,e)}var g=Object.getPrototypeOf(function(){}),y=Object.setPrototypeOf((i(n={get stream(){return this[f]},next:function(){var e=this,t=this[u];if(null!==t)return Promise.reject(t);if(this[l])return Promise.resolve(p(void 0,!0));if(this[f].destroyed)return new Promise(function(t,r){process.nextTick(function(){e[u]?r(e[u]):t(p(void 0,!0))})});var r,n=this[c];if(n)r=new Promise(function(e,t){return function(r,n){e.then(function(){t[l]?r(p(void 0,!0)):t[d](r,n)},n)}}(n,this));else{var i=this[f].read();if(null!==i)return Promise.resolve(p(i,!1));r=new Promise(this[d])}return this[c]=r,r}},Symbol.asyncIterator,function(){return this}),i(n,"return",function(){var e=this;return new Promise(function(t,r){e[f].destroy(null,function(e){e?r(e):t(p(void 0,!0))})})}),n),g);e.exports=function(e){var t,r=Object.create(y,(i(t={},f,{value:e,writable:!0}),i(t,a,{value:null,writable:!0}),i(t,s,{value:null,writable:!0}),i(t,u,{value:null,writable:!0}),i(t,l,{value:e._readableState.endEmitted,writable:!0}),i(t,d,{value:function(e,t){var n=r[f].read();n?(r[c]=null,r[a]=null,r[s]=null,e(p(n,!1))):(r[a]=e,r[s]=t)},writable:!0}),t));return r[c]=null,o(e,function(e){if(e&&"ERR_STREAM_PREMATURE_CLOSE"!==e.code){var t=r[s];return null!==t&&(r[c]=null,r[a]=null,r[s]=null,t(e)),void(r[u]=e)}var n=r[a];null!==n&&(r[c]=null,r[a]=null,r[s]=null,n(p(void 0,!0))),r[l]=!0}),e.on("readable",m.bind(null,r)),r}},6555(e,t,r){"use strict";function n(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?n(Object(r),!0).forEach(function(t){o(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):n(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function o(e,t,r){return(t=s(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,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,s(n.key),n)}}function s(e){var t=function(e){if("object"!=typeof e||null===e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var r=t.call(e,"string");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:String(t)}var u=r(81429).Buffer,l=r(90878).inspect,c=l&&l.custom||"inspect";function d(e,t,r){u.prototype.copy.call(e,t,r)}e.exports=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.head=null,this.tail=null,this.length=0}var t,r;return t=e,(r=[{key:"push",value:function(e){var t={data:e,next:null};this.length>0?this.tail.next=t:this.head=t,this.tail=t,++this.length}},{key:"unshift",value:function(e){var t={data:e,next:this.head};0===this.length&&(this.tail=t),this.head=t,++this.length}},{key:"shift",value:function(){if(0!==this.length){var e=this.head.data;return 1===this.length?this.head=this.tail=null:this.head=this.head.next,--this.length,e}}},{key:"clear",value:function(){this.head=this.tail=null,this.length=0}},{key:"join",value:function(e){if(0===this.length)return"";for(var t=this.head,r=""+t.data;t=t.next;)r+=e+t.data;return r}},{key:"concat",value:function(e){if(0===this.length)return u.alloc(0);for(var t=u.allocUnsafe(e>>>0),r=this.head,n=0;r;)d(r.data,t,n),n+=r.data.length,r=r.next;return t}},{key:"consume",value:function(e,t){var r;return e<this.head.data.length?(r=this.head.data.slice(0,e),this.head.data=this.head.data.slice(e)):r=e===this.head.data.length?this.shift():t?this._getString(e):this._getBuffer(e),r}},{key:"first",value:function(){return this.head.data}},{key:"_getString",value:function(e){var t=this.head,r=1,n=t.data;for(e-=n.length;t=t.next;){var i=t.data,o=e>i.length?i.length:e;if(o===i.length?n+=i:n+=i.slice(0,e),0===(e-=o)){o===i.length?(++r,t.next?this.head=t.next:this.head=this.tail=null):(this.head=t,t.data=i.slice(o));break}++r}return this.length-=r,n}},{key:"_getBuffer",value:function(e){var t=u.allocUnsafe(e),r=this.head,n=1;for(r.data.copy(t),e-=r.data.length;r=r.next;){var i=r.data,o=e>i.length?i.length:e;if(i.copy(t,t.length-e,0,o),0===(e-=o)){o===i.length?(++n,r.next?this.head=r.next:this.head=this.tail=null):(this.head=r,r.data=i.slice(o));break}++n}return this.length-=n,t}},{key:c,value:function(e,t){return l(this,i(i({},t),{},{depth:0,customInspect:!1}))}}])&&a(t.prototype,r),Object.defineProperty(t,"prototype",{writable:!1}),e}()},94670(e){"use strict";function t(e,t){n(e,t),r(e)}function r(e){e._writableState&&!e._writableState.emitClose||e._readableState&&!e._readableState.emitClose||e.emit("close")}function n(e,t){e.emit("error",t)}e.exports={destroy:function(e,i){var o=this,a=this._readableState&&this._readableState.destroyed,s=this._writableState&&this._writableState.destroyed;return a||s?(i?i(e):e&&(this._writableState?this._writableState.errorEmitted||(this._writableState.errorEmitted=!0,process.nextTick(n,this,e)):process.nextTick(n,this,e)),this):(this._readableState&&(this._readableState.destroyed=!0),this._writableState&&(this._writableState.destroyed=!0),this._destroy(e||null,function(e){!i&&e?o._writableState?o._writableState.errorEmitted?process.nextTick(r,o):(o._writableState.errorEmitted=!0,process.nextTick(t,o,e)):process.nextTick(t,o,e):i?(process.nextTick(r,o),i(e)):process.nextTick(r,o)}),this)},undestroy:function(){this._readableState&&(this._readableState.destroyed=!1,this._readableState.reading=!1,this._readableState.ended=!1,this._readableState.endEmitted=!1),this._writableState&&(this._writableState.destroyed=!1,this._writableState.ended=!1,this._writableState.ending=!1,this._writableState.finalCalled=!1,this._writableState.prefinished=!1,this._writableState.finished=!1,this._writableState.errorEmitted=!1)},errorOrDestroy:function(e,t){var r=e._readableState,n=e._writableState;r&&r.autoDestroy||n&&n.autoDestroy?e.destroy(t):e.emit("error",t)}}},88884(e,t,r){"use strict";var n=r(25734).F.ERR_STREAM_PREMATURE_CLOSE;function i(){}e.exports=function e(t,r,o){if("function"==typeof r)return e(t,null,r);r||(r={}),o=function(e){var t=!1;return function(){if(!t){t=!0;for(var r=arguments.length,n=new Array(r),i=0;i<r;i++)n[i]=arguments[i];e.apply(this,n)}}}(o||i);var a=r.readable||!1!==r.readable&&t.readable,s=r.writable||!1!==r.writable&&t.writable,u=function(){t.writable||c()},l=t._writableState&&t._writableState.finished,c=function(){s=!1,l=!0,a||o.call(t)},d=t._readableState&&t._readableState.endEmitted,f=function(){a=!1,d=!0,s||o.call(t)},p=function(e){o.call(t,e)},h=function(){var e;return a&&!d?(t._readableState&&t._readableState.ended||(e=new n),o.call(t,e)):s&&!l?(t._writableState&&t._writableState.ended||(e=new n),o.call(t,e)):void 0},m=function(){t.req.on("finish",c)};return function(e){return e.setHeader&&"function"==typeof e.abort}(t)?(t.on("complete",c),t.on("abort",h),t.req?m():t.on("request",m)):s&&!t._writableState&&(t.on("end",u),t.on("close",u)),t.on("end",f),t.on("finish",c),!1!==r.error&&t.on("error",p),t.on("close",h),function(){t.removeListener("complete",c),t.removeListener("abort",h),t.removeListener("request",m),t.req&&t.req.removeListener("finish",c),t.removeListener("end",u),t.removeListener("close",u),t.removeListener("finish",c),t.removeListener("end",f),t.removeListener("error",p),t.removeListener("close",h)}}},64791(e){e.exports=function(){throw new Error("Readable.from is not available in the browser")}},88952(e,t,r){"use strict";var n,i=r(25734).F,o=i.ERR_MISSING_ARGS,a=i.ERR_STREAM_DESTROYED;function s(e){if(e)throw e}function u(e){e()}function l(e,t){return e.pipe(t)}e.exports=function(){for(var e=arguments.length,t=new Array(e),i=0;i<e;i++)t[i]=arguments[i];var c,d=function(e){return e.length?"function"!=typeof e[e.length-1]?s:e.pop():s}(t);if(Array.isArray(t[0])&&(t=t[0]),t.length<2)throw new o("streams");var f=t.map(function(e,i){var o=i<t.length-1;return function(e,t,i,o){o=function(e){var t=!1;return function(){t||(t=!0,e.apply(void 0,arguments))}}(o);var s=!1;e.on("close",function(){s=!0}),void 0===n&&(n=r(88884)),n(e,{readable:t,writable:i},function(e){if(e)return o(e);s=!0,o()});var u=!1;return function(t){if(!s&&!u)return u=!0,function(e){return e.setHeader&&"function"==typeof e.abort}(e)?e.abort():"function"==typeof e.destroy?e.destroy():void o(t||new a("pipe"))}}(e,o,i>0,function(e){c||(c=e),e&&f.forEach(u),o||(f.forEach(u),d(c))})});return t.reduce(l)}},91937(e,t,r){"use strict";var n=r(25734).F.ERR_INVALID_OPT_VALUE;e.exports={getHighWaterMark:function(e,t,r,i){var o=function(e,t,r){return null!=e.highWaterMark?e.highWaterMark:t?e[r]:null}(t,i,r);if(null!=o){if(!isFinite(o)||Math.floor(o)!==o||o<0)throw new n(i?r:"highWaterMark",o);return Math.floor(o)}return e.objectMode?16:16384}}},30551(e,t,r){e.exports=r(98621).EventEmitter},22909(e,t,r){"use strict";r.r(t),r.d(t,{default:()=>_});var n=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 i=n[r];e.call(t,i[1],i[0])}},t}()}(),i="undefined"!=typeof window&&"undefined"!=typeof document&&window.document===document,o=void 0!==r.g&&r.g.Math===Math?r.g:"undefined"!=typeof self&&self.Math===Math?self:"undefined"!=typeof window&&window.Math===Math?window:Function("return this")(),a="function"==typeof requestAnimationFrame?requestAnimationFrame.bind(o):function(e){return setTimeout(function(){return e(Date.now())},1e3/60)},s=["top","right","bottom","left","width","height","size","weight"],u="undefined"!=typeof MutationObserver,l=function(){function e(){this.connected_=!1,this.mutationEventsAdded_=!1,this.mutationsObserver_=null,this.observers_=[],this.onTransitionEnd_=this.onTransitionEnd_.bind(this),this.refresh=function(e){var t=!1,r=!1,n=0;function i(){t&&(t=!1,e()),r&&s()}function o(){a(i)}function s(){var e=Date.now();if(t){if(e-n<2)return;r=!0}else t=!0,r=!1,setTimeout(o,20);n=e}return s}(this.refresh.bind(this))}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(){i&&!this.connected_&&(document.addEventListener("transitionend",this.onTransitionEnd_),window.addEventListener("resize",this.refresh),u?(this.mutationsObserver_=new MutationObserver(this.refresh),this.mutationsObserver_.observe(document,{attributes:!0,childList:!0,characterData:!0,subtree:!0})):(document.addEventListener("DOMSubtreeModified",this.refresh),this.mutationEventsAdded_=!0),this.connected_=!0)},e.prototype.disconnect_=function(){i&&this.connected_&&(document.removeEventListener("transitionend",this.onTransitionEnd_),window.removeEventListener("resize",this.refresh),this.mutationsObserver_&&this.mutationsObserver_.disconnect(),this.mutationEventsAdded_&&document.removeEventListener("DOMSubtreeModified",this.refresh),this.mutationsObserver_=null,this.mutationEventsAdded_=!1,this.connected_=!1)},e.prototype.onTransitionEnd_=function(e){var t=e.propertyName,r=void 0===t?"":t;s.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 i=n[r];Object.defineProperty(e,i,{value:t[i],enumerable:!1,writable:!1,configurable:!0})}return e},d=function(e){return e&&e.ownerDocument&&e.ownerDocument.defaultView||o},f=y(0,0,0,0);function p(e){return parseFloat(e)||0}function h(e){for(var t=[],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)}var m="undefined"!=typeof SVGGraphicsElement?function(e){return e instanceof d(e).SVGGraphicsElement}:function(e){return e instanceof d(e).SVGElement&&"function"==typeof e.getBBox};function g(e){return i?m(e)?function(e){var t=e.getBBox();return y(0,0,t.width,t.height)}(e):function(e){var t=e.clientWidth,r=e.clientHeight;if(!t&&!r)return f;var n=d(e).getComputedStyle(e),i=function(e){for(var t={},r=0,n=["top","right","bottom","left"];r<n.length;r++){var i=n[r],o=e["padding-"+i];t[i]=p(o)}return t}(n),o=i.left+i.right,a=i.top+i.bottom,s=p(n.width),u=p(n.height);if("border-box"===n.boxSizing&&(Math.round(s+o)!==t&&(s-=h(n,"left","right")+o),Math.round(u+a)!==r&&(u-=h(n,"top","bottom")+a)),!function(e){return e===d(e).document.documentElement}(e)){var l=Math.round(s+o)-t,c=Math.round(u+a)-r;1!==Math.abs(l)&&(s-=l),1!==Math.abs(c)&&(u-=c)}return y(i.left,i.top,s,u)}(e):f}function y(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_=y(0,0,0,0),this.target=e}return e.prototype.isActive=function(){var e=g(this.target);return this.contentRect_=e,e.width!==this.broadcastWidth||e.height!==this.broadcastHeight},e.prototype.broadcastRect=function(){var e=this.contentRect_;return this.broadcastWidth=e.width,this.broadcastHeight=e.height,e},e}(),v=function(e,t){var r,n,i,o,a,s,u,l=(n=(r=t).x,i=r.y,o=r.width,a=r.height,s="undefined"!=typeof DOMRectReadOnly?DOMRectReadOnly:Object,u=Object.create(s.prototype),c(u,{x:n,y:i,width:o,height:a,top:i,right:n+o,bottom:a+i,left:n}),u);c(this,{target:e,contentRect:l})},S=function(){function e(e,t,r){if(this.activeObservations_=[],this.observations_=new n,"function"!=typeof e)throw new TypeError("The callback provided as parameter 1 is not a function.");this.callback_=e,this.controller_=t,this.callbackCtx_=r}return e.prototype.observe=function(e){if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");if("undefined"!=typeof Element&&Element instanceof Object){if(!(e instanceof d(e).Element))throw new TypeError('parameter 1 is not of type "Element".');var t=this.observations_;t.has(e)||(t.set(e,new b(e)),this.controller_.addObserver(this),this.controller_.refresh())}},e.prototype.unobserve=function(e){if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");if("undefined"!=typeof Element&&Element instanceof Object){if(!(e instanceof d(e).Element))throw new TypeError('parameter 1 is not of type "Element".');var t=this.observations_;t.has(e)&&(t.delete(e),t.size||this.controller_.removeObserver(this))}},e.prototype.disconnect=function(){this.clearActive(),this.observations_.clear(),this.controller_.removeObserver(this)},e.prototype.gatherActive=function(){var e=this;this.clearActive(),this.observations_.forEach(function(t){t.isActive()&&e.activeObservations_.push(t)})},e.prototype.broadcastActive=function(){if(this.hasActive()){var e=this.callbackCtx_,t=this.activeObservations_.map(function(e){return new v(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}(),w="undefined"!=typeof WeakMap?new WeakMap:new n,E=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=l.getInstance(),n=new S(t,r,this);w.set(this,n)};["observe","unobserve","disconnect"].forEach(function(e){E.prototype[e]=function(){var t;return(t=w.get(this))[e].apply(t,arguments)}});const _=void 0!==o.ResizeObserver?o.ResizeObserver:E},85719(e,t,r){var n=r(81429),i=n.Buffer;function o(e,t){for(var r in e)t[r]=e[r]}function a(e,t,r){return i(e,t,r)}i.from&&i.alloc&&i.allocUnsafe&&i.allocUnsafeSlow?e.exports=n:(o(n,t),t.Buffer=a),a.prototype=Object.create(i.prototype),o(i,a),a.from=function(e,t,r){if("number"==typeof e)throw new TypeError("Argument must not be a number");return i(e,t,r)},a.alloc=function(e,t,r){if("number"!=typeof e)throw new TypeError("Argument must be a number");var n=i(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 i(e)},a.allocUnsafeSlow=function(e){if("number"!=typeof e)throw new TypeError("Argument must be a number");return n.SlowBuffer(e)}},60257(e,t,r){!function(e){e.parser=function(e,t){return new i(e,t)},e.SAXParser=i,e.SAXStream=a,e.createStream=function(e,t){return new a(e,t)},e.MAX_BUFFER_LENGTH=65536;var t,n=["comment","sgmlDecl","textNode","tagName","doctype","procInstName","procInstBody","entity","attribName","attribValue","cdata","script"];function i(t,r){if(!(this instanceof i))return new i(t,r);var o=this;!function(e){for(var t=0,r=n.length;t<r;t++)e[n[t]]=""}(o),o.q=o.c="",o.bufferCheckPosition=e.MAX_BUFFER_LENGTH,o.opt=r||{},o.opt.lowercase=o.opt.lowercase||o.opt.lowercasetags,o.looseCase=o.opt.lowercase?"toLowerCase":"toUpperCase",o.tags=[],o.closed=o.closedRoot=o.sawRoot=!1,o.tag=o.error=null,o.strict=!!t,o.noscript=!(!t&&!o.opt.noscript),o.state=O.BEGIN,o.strictEntities=o.opt.strictEntities,o.ENTITIES=o.strictEntities?Object.create(e.XML_ENTITIES):Object.create(e.ENTITIES),o.attribList=[],o.opt.xmlns&&(o.ns=Object.create(d)),o.trackPosition=!1!==o.opt.position,o.trackPosition&&(o.position=o.line=o.column=0),k(o,"onready")}e.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(){L(this)},write:function(t){var r=this;if(this.error)throw this.error;if(r.closed)return C(r,"Cannot write after close. Assign an onready handler.");if(null===t)return L(r);"object"==typeof t&&(t=t.toString());for(var i=0,o="";o=F(t,i++),r.c=o,o;)switch(r.trackPosition&&(r.position++,"\n"===o?(r.line++,r.column=0):r.column++),r.state){case O.BEGIN:if(r.state=O.BEGIN_WHITESPACE,"\ufeff"===o)continue;B(r,o);continue;case O.BEGIN_WHITESPACE:B(r,o);continue;case O.TEXT:if(r.sawRoot&&!r.closedRoot){for(var a=i-1;o&&"<"!==o&&"&"!==o;)(o=F(t,i++))&&r.trackPosition&&(r.position++,"\n"===o?(r.line++,r.column=0):r.column++);r.textNode+=t.substring(a,i-1)}"<"!==o||r.sawRoot&&r.closedRoot&&!r.strict?(g(o)||r.sawRoot&&!r.closedRoot||I(r,"Text data outside of root node."),"&"===o?r.state=O.TEXT_ENTITY:r.textNode+=o):(r.state=O.OPEN_WAKA,r.startTagPosition=r.position);continue;case O.SCRIPT:"<"===o?r.state=O.SCRIPT_ENDING:r.script+=o;continue;case O.SCRIPT_ENDING:"/"===o?r.state=O.CLOSE_TAG:(r.script+="<"+o,r.state=O.SCRIPT);continue;case O.OPEN_WAKA:if("!"===o)r.state=O.SGML_DECL,r.sgmlDecl="";else if(g(o));else if(v(f,o))r.state=O.OPEN_TAG,r.tagName=o;else if("/"===o)r.state=O.CLOSE_TAG,r.tagName="";else if("?"===o)r.state=O.PROC_INST,r.procInstName=r.procInstBody="";else{if(I(r,"Unencoded <"),r.startTagPosition+1<r.position){var l=r.position-r.startTagPosition;o=new Array(l).join(" ")+o}r.textNode+="<"+o,r.state=O.TEXT}continue;case O.SGML_DECL:(r.sgmlDecl+o).toUpperCase()===s?(P(r,"onopencdata"),r.state=O.CDATA,r.sgmlDecl="",r.cdata=""):r.sgmlDecl+o==="--"?(r.state=O.COMMENT,r.comment="",r.sgmlDecl=""):(r.sgmlDecl+o).toUpperCase()===u?(r.state=O.DOCTYPE,(r.doctype||r.sawRoot)&&I(r,"Inappropriately located doctype declaration"),r.doctype="",r.sgmlDecl=""):">"===o?(P(r,"onsgmldeclaration",r.sgmlDecl),r.sgmlDecl="",r.state=O.TEXT):y(o)?(r.state=O.SGML_DECL_QUOTED,r.sgmlDecl+=o):r.sgmlDecl+=o;continue;case O.SGML_DECL_QUOTED:o===r.q&&(r.state=O.SGML_DECL,r.q=""),r.sgmlDecl+=o;continue;case O.DOCTYPE:">"===o?(r.state=O.TEXT,P(r,"ondoctype",r.doctype),r.doctype=!0):(r.doctype+=o,"["===o?r.state=O.DOCTYPE_DTD:y(o)&&(r.state=O.DOCTYPE_QUOTED,r.q=o));continue;case O.DOCTYPE_QUOTED:r.doctype+=o,o===r.q&&(r.q="",r.state=O.DOCTYPE);continue;case O.DOCTYPE_DTD:r.doctype+=o,"]"===o?r.state=O.DOCTYPE:y(o)&&(r.state=O.DOCTYPE_DTD_QUOTED,r.q=o);continue;case O.DOCTYPE_DTD_QUOTED:r.doctype+=o,o===r.q&&(r.state=O.DOCTYPE_DTD,r.q="");continue;case O.COMMENT:"-"===o?r.state=O.COMMENT_ENDING:r.comment+=o;continue;case O.COMMENT_ENDING:"-"===o?(r.state=O.COMMENT_ENDED,r.comment=A(r.opt,r.comment),r.comment&&P(r,"oncomment",r.comment),r.comment=""):(r.comment+="-"+o,r.state=O.COMMENT);continue;case O.COMMENT_ENDED:">"!==o?(I(r,"Malformed comment"),r.comment+="--"+o,r.state=O.COMMENT):r.state=O.TEXT;continue;case O.CDATA:"]"===o?r.state=O.CDATA_ENDING:r.cdata+=o;continue;case O.CDATA_ENDING:"]"===o?r.state=O.CDATA_ENDING_2:(r.cdata+="]"+o,r.state=O.CDATA);continue;case O.CDATA_ENDING_2:">"===o?(r.cdata&&P(r,"oncdata",r.cdata),P(r,"onclosecdata"),r.cdata="",r.state=O.TEXT):"]"===o?r.cdata+="]":(r.cdata+="]]"+o,r.state=O.CDATA);continue;case O.PROC_INST:"?"===o?r.state=O.PROC_INST_ENDING:g(o)?r.state=O.PROC_INST_BODY:r.procInstName+=o;continue;case O.PROC_INST_BODY:if(!r.procInstBody&&g(o))continue;"?"===o?r.state=O.PROC_INST_ENDING:r.procInstBody+=o;continue;case O.PROC_INST_ENDING:">"===o?(P(r,"onprocessinginstruction",{name:r.procInstName,body:r.procInstBody}),r.procInstName=r.procInstBody="",r.state=O.TEXT):(r.procInstBody+="?"+o,r.state=O.PROC_INST_BODY);continue;case O.OPEN_TAG:v(p,o)?r.tagName+=o:(N(r),">"===o?D(r):"/"===o?r.state=O.OPEN_TAG_SLASH:(g(o)||I(r,"Invalid character in tag name"),r.state=O.ATTRIB));continue;case O.OPEN_TAG_SLASH:">"===o?(D(r,!0),M(r)):(I(r,"Forward-slash in opening tag not followed by >"),r.state=O.ATTRIB);continue;case O.ATTRIB:if(g(o))continue;">"===o?D(r):"/"===o?r.state=O.OPEN_TAG_SLASH:v(f,o)?(r.attribName=o,r.attribValue="",r.state=O.ATTRIB_NAME):I(r,"Invalid attribute name");continue;case O.ATTRIB_NAME:"="===o?r.state=O.ATTRIB_VALUE:">"===o?(I(r,"Attribute without value"),r.attribValue=r.attribName,R(r),D(r)):g(o)?r.state=O.ATTRIB_NAME_SAW_WHITE:v(p,o)?r.attribName+=o:I(r,"Invalid attribute name");continue;case O.ATTRIB_NAME_SAW_WHITE:if("="===o)r.state=O.ATTRIB_VALUE;else{if(g(o))continue;I(r,"Attribute without value"),r.tag.attributes[r.attribName]="",r.attribValue="",P(r,"onattribute",{name:r.attribName,value:""}),r.attribName="",">"===o?D(r):v(f,o)?(r.attribName=o,r.state=O.ATTRIB_NAME):(I(r,"Invalid attribute name"),r.state=O.ATTRIB)}continue;case O.ATTRIB_VALUE:if(g(o))continue;y(o)?(r.q=o,r.state=O.ATTRIB_VALUE_QUOTED):(I(r,"Unquoted attribute value"),r.state=O.ATTRIB_VALUE_UNQUOTED,r.attribValue=o);continue;case O.ATTRIB_VALUE_QUOTED:if(o!==r.q){"&"===o?r.state=O.ATTRIB_VALUE_ENTITY_Q:r.attribValue+=o;continue}R(r),r.q="",r.state=O.ATTRIB_VALUE_CLOSED;continue;case O.ATTRIB_VALUE_CLOSED:g(o)?r.state=O.ATTRIB:">"===o?D(r):"/"===o?r.state=O.OPEN_TAG_SLASH:v(f,o)?(I(r,"No whitespace between attributes"),r.attribName=o,r.attribValue="",r.state=O.ATTRIB_NAME):I(r,"Invalid attribute name");continue;case O.ATTRIB_VALUE_UNQUOTED:if(!b(o)){"&"===o?r.state=O.ATTRIB_VALUE_ENTITY_U:r.attribValue+=o;continue}R(r),">"===o?D(r):r.state=O.ATTRIB;continue;case O.CLOSE_TAG:if(r.tagName)">"===o?M(r):v(p,o)?r.tagName+=o:r.script?(r.script+="</"+r.tagName,r.tagName="",r.state=O.SCRIPT):(g(o)||I(r,"Invalid tagname in closing tag"),r.state=O.CLOSE_TAG_SAW_WHITE);else{if(g(o))continue;S(f,o)?r.script?(r.script+="</"+o,r.state=O.SCRIPT):I(r,"Invalid tagname in closing tag."):r.tagName=o}continue;case O.CLOSE_TAG_SAW_WHITE:if(g(o))continue;">"===o?M(r):I(r,"Invalid characters in closing tag");continue;case O.TEXT_ENTITY:case O.ATTRIB_VALUE_ENTITY_Q:case O.ATTRIB_VALUE_ENTITY_U:var c,d;switch(r.state){case O.TEXT_ENTITY:c=O.TEXT,d="textNode";break;case O.ATTRIB_VALUE_ENTITY_Q:c=O.ATTRIB_VALUE_QUOTED,d="attribValue";break;case O.ATTRIB_VALUE_ENTITY_U:c=O.ATTRIB_VALUE_UNQUOTED,d="attribValue"}";"===o?(r[d]+=U(r),r.entity="",r.state=c):v(r.entity.length?m:h,o)?r.entity+=o:(I(r,"Invalid character in entity name"),r[d]+="&"+r.entity+o,r.entity="",r.state=c);continue;default:throw new Error(r,"Unknown state: "+r.state)}return r.position>=r.bufferCheckPosition&&function(t){for(var r=Math.max(e.MAX_BUFFER_LENGTH,10),i=0,o=0,a=n.length;o<a;o++){var s=t[n[o]].length;if(s>r)switch(n[o]){case"textNode":T(t);break;case"cdata":P(t,"oncdata",t.cdata),t.cdata="";break;case"script":P(t,"onscript",t.script),t.script="";break;default:C(t,"Max buffer length exceeded: "+n[o])}i=Math.max(i,s)}var u=e.MAX_BUFFER_LENGTH-i;t.bufferCheckPosition=u+t.position}(r),r},resume:function(){return this.error=null,this},close:function(){return this.write(null)},flush:function(){var e;T(e=this),""!==e.cdata&&(P(e,"oncdata",e.cdata),e.cdata=""),""!==e.script&&(P(e,"onscript",e.script),e.script="")}};try{t=r(79812).Stream}catch(e){t=function(){}}var o=e.EVENTS.filter(function(e){return"error"!==e&&"end"!==e});function a(e,r){if(!(this instanceof a))return new a(e,r);t.apply(this),this._parser=new i(e,r),this.writable=!0,this.readable=!0;var n=this;this._parser.onend=function(){n.emit("end")},this._parser.onerror=function(e){n.emit("error",e),n._parser.error=null},this._decoder=null,o.forEach(function(e){Object.defineProperty(n,"on"+e,{get:function(){return n._parser["on"+e]},set:function(t){if(!t)return n.removeAllListeners(e),n._parser["on"+e]=t,t;n.on(e,t)},enumerable:!0,configurable:!1})})}a.prototype=Object.create(t.prototype,{constructor:{value:a}}),a.prototype.write=function(e){if("function"==typeof Buffer&&"function"==typeof Buffer.isBuffer&&Buffer.isBuffer(e)){if(!this._decoder){var t=r(8739).I;this._decoder=new t("utf8")}e=this._decoder.write(e)}return this._parser.write(e.toString()),this.emit("data",e),!0},a.prototype.end=function(e){return e&&e.length&&this.write(e),this._parser.end(),!0},a.prototype.on=function(e,r){var n=this;return n._parser["on"+e]||-1===o.indexOf(e)||(n._parser["on"+e]=function(){var t=1===arguments.length?[arguments[0]]:Array.apply(null,arguments);t.splice(0,0,e),n.emit.apply(n,t)}),t.prototype.on.call(n,e,r)};var s="[CDATA[",u="DOCTYPE",l="http://www.w3.org/XML/1998/namespace",c="http://www.w3.org/2000/xmlns/",d={xml:l,xmlns:c},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]/,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\u00B7\u0300-\u036F\u203F-\u2040.\d-]/,h=/[#:_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]/,m=/[#:_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 g(e){return" "===e||"\n"===e||"\r"===e||"\t"===e}function y(e){return'"'===e||"'"===e}function b(e){return">"===e||g(e)}function v(e,t){return e.test(t)}function S(e,t){return!v(e,t)}var w,E,_,O=0;for(var x in e.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++},e.XML_ENTITIES={amp:"&",gt:">",lt:"<",quot:'"',apos:"'"},e.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(e.ENTITIES).forEach(function(t){var r=e.ENTITIES[t],n="number"==typeof r?String.fromCharCode(r):r;e.ENTITIES[t]=n}),e.STATE)e.STATE[e.STATE[x]]=x;function k(e,t,r){e[t]&&e[t](r)}function P(e,t,r){e.textNode&&T(e),k(e,t,r)}function T(e){e.textNode=A(e.opt,e.textNode),e.textNode&&k(e,"ontext",e.textNode),e.textNode=""}function A(e,t){return e.trim&&(t=t.trim()),e.normalize&&(t=t.replace(/\s+/g," ")),t}function C(e,t){return T(e),e.trackPosition&&(t+="\nLine: "+e.line+"\nColumn: "+e.column+"\nChar: "+e.c),t=new Error(t),e.error=t,k(e,"onerror",t),e}function L(e){return e.sawRoot&&!e.closedRoot&&I(e,"Unclosed root tag"),e.state!==O.BEGIN&&e.state!==O.BEGIN_WHITESPACE&&e.state!==O.TEXT&&C(e,"Unexpected end"),T(e),e.c="",e.closed=!0,k(e,"onend"),i.call(e,e.strict,e.opt),e}function I(e,t){if("object"!=typeof e||!(e instanceof i))throw new Error("bad call to strictFail");e.strict&&C(e,t)}function N(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,P(e,"onopentagstart",r)}function j(e,t){var r=e.indexOf(":")<0?["",e]:e.split(":"),n=r[0],i=r[1];return t&&"xmlns"===e&&(n="xmlns",i=""),{prefix:n,local:i}}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=j(e.attribName,!0),r=t.prefix,n=t.local;if("xmlns"===r)if("xml"===n&&e.attribValue!==l)I(e,"xml: prefix must be bound to "+l+"\nActual: "+e.attribValue);else if("xmlns"===n&&e.attribValue!==c)I(e,"xmlns: prefix must be bound to "+c+"\nActual: "+e.attribValue);else{var i=e.tag,o=e.tags[e.tags.length-1]||e;i.ns===o.ns&&(i.ns=Object.create(o.ns)),i.ns[n]=e.attribValue}e.attribList.push([e.attribName,e.attribValue])}else e.tag.attributes[e.attribName]=e.attribValue,P(e,"onattribute",{name:e.attribName,value:e.attribValue});e.attribName=e.attribValue=""}}function D(e,t){if(e.opt.xmlns){var r=e.tag,n=j(e.tagName);r.prefix=n.prefix,r.local=n.local,r.uri=r.ns[n.prefix]||"",r.prefix&&!r.uri&&(I(e,"Unbound namespace prefix: "+JSON.stringify(e.tagName)),r.uri=n.prefix);var i=e.tags[e.tags.length-1]||e;r.ns&&i.ns!==r.ns&&Object.keys(r.ns).forEach(function(t){P(e,"onopennamespace",{prefix:t,uri:r.ns[t]})});for(var o=0,a=e.attribList.length;o<a;o++){var s=e.attribList[o],u=s[0],l=s[1],c=j(u,!0),d=c.prefix,f=c.local,p=""===d?"":r.ns[d]||"",h={name:u,value:l,prefix:d,local:f,uri:p};d&&"xmlns"!==d&&!p&&(I(e,"Unbound namespace prefix: "+JSON.stringify(d)),h.uri=d),e.tag.attributes[u]=h,P(e,"onattribute",h)}e.attribList.length=0}e.tag.isSelfClosing=!!t,e.sawRoot=!0,e.tags.push(e.tag),P(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 M(e){if(!e.tagName)return I(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);P(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--&&e.tags[t].name!==n;)I(e,"Unexpected close tag");if(t<0)return I(e,"Unmatched closing tag: "+e.tagName),e.textNode+="</"+e.tagName+">",void(e.state=O.TEXT);e.tagName=r;for(var i=e.tags.length;i-- >t;){var o=e.tag=e.tags.pop();e.tagName=e.tag.name,P(e,"onclosetag",e.tagName);var a={};for(var s in o.ns)a[s]=o.ns[s];var u=e.tags[e.tags.length-1]||e;e.opt.xmlns&&o.ns!==u.ns&&Object.keys(o.ns).forEach(function(t){var r=o.ns[t];P(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 U(e){var t,r=e.entity,n=r.toLowerCase(),i="";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),i=(t=parseInt(r,16)).toString(16)):(r=r.slice(1),i=(t=parseInt(r,10)).toString(10))),r=r.replace(/^0+/,""),isNaN(t)||i.toLowerCase()!==r?(I(e,"Invalid character entity"),"&"+e.entity+";"):String.fromCodePoint(t))}function B(e,t){"<"===t?(e.state=O.OPEN_WAKA,e.startTagPosition=e.position):g(t)||(I(e,"Non-whitespace before first tag."),e.textNode=t,e.state=O.TEXT)}function F(e,t){var r="";return t<e.length&&(r=e.charAt(t)),r}O=e.STATE,String.fromCodePoint||(w=String.fromCharCode,E=Math.floor,_=function(){var e,t,r=[],n=-1,i=arguments.length;if(!i)return"";for(var o="";++n<i;){var a=Number(arguments[n]);if(!isFinite(a)||a<0||a>1114111||E(a)!==a)throw RangeError("Invalid code point: "+a);a<=65535?r.push(a):(e=55296+((a-=65536)>>10),t=a%1024+56320,r.push(e,t)),(n+1===i||r.length>16384)&&(o+=w.apply(null,r),r.length=0)}return o},Object.defineProperty?Object.defineProperty(String,"fromCodePoint",{value:_,configurable:!0,writable:!0}):String.fromCodePoint=_)}(t)},11357(e,t,r){!function(e){"use strict";if(!e.setImmediate){var t,r,n,i,o,a=1,s={},u=!1,l=e.document,c=Object.getPrototypeOf&&Object.getPrototypeOf(e);c=c&&c.setTimeout?c:e,"[object process]"==={}.toString.call(e.process)?t=function(e){process.nextTick(function(){f(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}}()?(i="setImmediate$"+Math.random()+"$",o=function(t){t.source===e&&"string"==typeof t.data&&0===t.data.indexOf(i)&&f(+t.data.slice(i.length))},e.addEventListener?e.addEventListener("message",o,!1):e.attachEvent("onmessage",o),t=function(t){e.postMessage(i+t,"*")}):e.MessageChannel?((n=new MessageChannel).port1.onmessage=function(e){f(e.data)},t=function(e){n.port2.postMessage(e)}):l&&"onreadystatechange"in l.createElement("script")?(r=l.documentElement,t=function(e){var t=l.createElement("script");t.onreadystatechange=function(){f(e),t.onreadystatechange=null,r.removeChild(t),t=null},r.appendChild(t)}):t=function(e){setTimeout(f,0,e)},c.setImmediate=function(e){"function"!=typeof e&&(e=new Function(""+e));for(var r=new Array(arguments.length-1),n=0;n<r.length;n++)r[n]=arguments[n+1];var i={callback:e,args:r};return s[a]=i,t(a),a++},c.clearImmediate=d}function d(e){delete s[e]}function f(e){if(u)setTimeout(f,0,e);else{var t=s[e];if(t){u=!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),u=!1}}}}}("undefined"==typeof self?void 0===r.g?this:r.g:self)},16667(e,t,r){var n=r(13103),i=Object.prototype.hasOwnProperty,o="undefined"!=typeof Map;function a(){this._array=[],this._set=o?new Map:Object.create(null)}a.fromArray=function(e,t){for(var r=new a,n=0,i=e.length;n<i;n++)r.add(e[n],t);return r},a.prototype.size=function(){return o?this._set.size:Object.getOwnPropertyNames(this._set).length},a.prototype.add=function(e,t){var r=o?e:n.toSetString(e),a=o?this.has(e):i.call(this._set,r),s=this._array.length;a&&!t||this._array.push(e),a||(o?this._set.set(e,s):this._set[r]=s)},a.prototype.has=function(e){if(o)return this._set.has(e);var t=n.toSetString(e);return i.call(this._set,t)},a.prototype.indexOf=function(e){if(o){var t=this._set.get(e);if(t>=0)return t}else{var r=n.toSetString(e);if(i.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.C=a},25184(e,t,r){var n=r(79216);t.encode=function(e){var t,r="",i=function(e){return e<0?1+(-e<<1):0+(e<<1)}(e);do{t=31&i,(i>>>=5)>0&&(t|=32),r+=n.encode(t)}while(i>0);return r},t.decode=function(e,t,r){var i,o,a,s,u=e.length,l=0,c=0;do{if(t>=u)throw new Error("Expected more digits in base 64 VLQ value.");if(-1===(o=n.decode(e.charCodeAt(t++))))throw new Error("Invalid base64 digit: "+e.charAt(t-1));i=!!(32&o),l+=(o&=31)<<c,c+=5}while(i);r.value=(s=(a=l)>>1,1&~a?s:-s),r.rest=t}},79216(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}},16370(e,t,r){var n=r(13103);function i(){this._array=[],this._sorted=!0,this._last={generatedLine:-1,generatedColumn:0}}i.prototype.unsortedForEach=function(e,t){this._array.forEach(e,t)},i.prototype.add=function(e){var t,r,i,o,a,s;r=e,i=(t=this._last).generatedLine,o=r.generatedLine,a=t.generatedColumn,s=r.generatedColumn,o>i||o==i&&s>=a||n.compareByGeneratedPositionsInflated(t,r)<=0?(this._last=e,this._array.push(e)):(this._sorted=!1,this._array.push(e))},i.prototype.toArray=function(){return this._sorted||(this._array.sort(n.compareByGeneratedPositionsInflated),this._sorted=!0),this._array},t.P=i},8533(e,t,r){var n=r(25184),i=r(13103),o=r(16667).C,a=r(16370).P;function s(e){e||(e={}),this._file=i.getArg(e,"file",null),this._sourceRoot=i.getArg(e,"sourceRoot",null),this._skipValidation=i.getArg(e,"skipValidation",!1),this._ignoreInvalidMapping=i.getArg(e,"ignoreInvalidMapping",!1),this._sources=new o,this._names=new o,this._mappings=new a,this._sourcesContents=null}s.prototype._version=3,s.fromSourceMap=function(e,t){var r=e.sourceRoot,n=new s(Object.assign(t||{},{file:e.file,sourceRoot:r}));return e.eachMapping(function(e){var t={generated:{line:e.generatedLine,column:e.generatedColumn}};null!=e.source&&(t.source=e.source,null!=r&&(t.source=i.relative(r,t.source)),t.original={line:e.originalLine,column:e.originalColumn},null!=e.name&&(t.name=e.name)),n.addMapping(t)}),e.sources.forEach(function(t){var o=t;null!==r&&(o=i.relative(r,t)),n._sources.has(o)||n._sources.add(o);var a=e.sourceContentFor(t);null!=a&&n.setSourceContent(t,a)}),n},s.prototype.addMapping=function(e){var t=i.getArg(e,"generated"),r=i.getArg(e,"original",null),n=i.getArg(e,"source",null),o=i.getArg(e,"name",null);(this._skipValidation||!1!==this._validateMapping(t,r,n,o))&&(null!=n&&(n=String(n),this._sources.has(n)||this._sources.add(n)),null!=o&&(o=String(o),this._names.has(o)||this._names.add(o)),this._mappings.add({generatedLine:t.line,generatedColumn:t.column,originalLine:null!=r&&r.line,originalColumn:null!=r&&r.column,source:n,name:o}))},s.prototype.setSourceContent=function(e,t){var r=e;null!=this._sourceRoot&&(r=i.relative(this._sourceRoot,r)),null!=t?(this._sourcesContents||(this._sourcesContents=Object.create(null)),this._sourcesContents[i.toSetString(r)]=t):this._sourcesContents&&(delete this._sourcesContents[i.toSetString(r)],0===Object.keys(this._sourcesContents).length&&(this._sourcesContents=null))},s.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=i.relative(a,n));var s=new o,u=new o;this._mappings.unsortedForEach(function(t){if(t.source===n&&null!=t.originalLine){var o=e.originalPositionFor({line:t.originalLine,column:t.originalColumn});null!=o.source&&(t.source=o.source,null!=r&&(t.source=i.join(r,t.source)),null!=a&&(t.source=i.relative(a,t.source)),t.originalLine=o.line,t.originalColumn=o.column,null!=o.name&&(t.name=o.name))}var l=t.source;null==l||s.has(l)||s.add(l);var c=t.name;null==c||u.has(c)||u.add(c)},this),this._sources=s,this._names=u,e.sources.forEach(function(t){var n=e.sourceContentFor(t);null!=n&&(null!=r&&(t=i.join(r,t)),null!=a&&(t=i.relative(a,t)),this.setSourceContent(t,n))},this)},s.prototype._validateMapping=function(e,t,r,n){if(t&&"number"!=typeof t.line&&"number"!=typeof t.column){var i="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(this._ignoreInvalidMapping)return"undefined"!=typeof console&&console.warn&&console.warn(i),!1;throw new Error(i)}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)){if(i="Invalid mapping: "+JSON.stringify({generated:e,source:r,original:t,name:n}),this._ignoreInvalidMapping)return"undefined"!=typeof console&&console.warn&&console.warn(i),!1;throw new Error(i)}},s.prototype._serializeMappings=function(){for(var e,t,r,o,a=0,s=1,u=0,l=0,c=0,d=0,f="",p=this._mappings.toArray(),h=0,m=p.length;h<m;h++){if(e="",(t=p[h]).generatedLine!==s)for(a=0;t.generatedLine!==s;)e+=";",s++;else if(h>0){if(!i.compareByGeneratedPositionsInflated(t,p[h-1]))continue;e+=","}e+=n.encode(t.generatedColumn-a),a=t.generatedColumn,null!=t.source&&(o=this._sources.indexOf(t.source),e+=n.encode(o-d),d=o,e+=n.encode(t.originalLine-1-l),l=t.originalLine-1,e+=n.encode(t.originalColumn-u),u=t.originalColumn,null!=t.name&&(r=this._names.indexOf(t.name),e+=n.encode(r-c),c=r)),f+=e}return f},s.prototype._generateSourcesContent=function(e,t){return e.map(function(e){if(!this._sourcesContents)return null;null!=t&&(e=i.relative(t,e));var r=i.toSetString(e);return Object.prototype.hasOwnProperty.call(this._sourcesContents,r)?this._sourcesContents[r]:null},this)},s.prototype.toJSON=function(){var e={version:this._version,sources:this._sources.toArray(),names:this._names.toArray(),mappings:this._serializeMappings()};return null!=this._file&&(e.file=this._file),null!=this._sourceRoot&&(e.sourceRoot=this._sourceRoot),this._sourcesContents&&(e.sourcesContent=this._generateSourcesContent(e.sources,e.sourceRoot)),e},s.prototype.toString=function(){return JSON.stringify(this.toJSON())},t.SourceMapGenerator=s},13103(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 i(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 o(e){var t="";return e.scheme&&(t+=e.scheme+":"),t+="//",e.auth&&(t+=e.auth+"@"),e.host&&(t+=e.host),e.port&&(t+=":"+e.port),e.path&&(t+=e.path),t}t.urlParse=i,t.urlGenerate=o;var a,s,u=(a=function(e){var r=e,n=i(e);if(n){if(!n.path)return e;r=n.path}for(var a=t.isAbsolute(r),s=[],u=0,l=0;;){if(u=l,-1===(l=r.indexOf("/",u))){s.push(r.slice(u));break}for(s.push(r.slice(u,l));l<r.length&&"/"===r[l];)l++}var c,d=0;for(l=s.length-1;l>=0;l--)"."===(c=s[l])?s.splice(l,1):".."===c?d++:d>0&&(""===c?(s.splice(l+1,d),d=0):(s.splice(l,2),d--));return""===(r=s.join("/"))&&(r=a?"/":"."),n?(n.path=r,o(n)):r},s=[],function(e){for(var t=0;t<s.length;t++)if(s[t].input===e){var r=s[0];return s[0]=s[t],s[t]=r,s[0].result}var n=a(e);return s.unshift({input:e,result:n}),s.length>32&&s.pop(),n});function l(e,t){""===e&&(e="."),""===t&&(t=".");var r=i(t),a=i(e);if(a&&(e=a.path||"/"),r&&!r.scheme)return a&&(r.scheme=a.scheme),o(r);if(r||t.match(n))return t;if(a&&!a.host&&!a.path)return a.host=t,o(a);var s="/"===t.charAt(0)?t:u(e.replace(/\/+$/,"")+"/"+t);return a?(a.path=s,o(a)):s}t.normalize=u,t.join=l,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 c=!("__proto__"in Object.create(null));function d(e){return e}function f(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 p(e,t){return e===t?0:null===e?1:null===t?-1:e>t?1:-1}t.toSetString=c?d:function(e){return f(e)?"$"+e:e},t.fromSetString=c?d:function(e){return f(e)?e.slice(1):e},t.compareByOriginalPositions=function(e,t,r){var n=p(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:p(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:p(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=p(e.source,t.source))||0!==(n=e.originalLine-t.originalLine)||0!==(n=e.originalColumn-t.originalColumn)?n:p(e.name,t.name)},t.compareByGeneratedPositionsDeflatedNoLine=function(e,t,r){var n=e.generatedColumn-t.generatedColumn;return 0!==n||r||0!==(n=p(e.source,t.source))||0!==(n=e.originalLine-t.originalLine)||0!==(n=e.originalColumn-t.originalColumn)?n:p(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=p(e.source,t.source))||0!==(r=e.originalLine-t.originalLine)||0!==(r=e.originalColumn-t.originalColumn)?r:p(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=i(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=l(o(n),t)}return u(t)}},79812(e,t,r){e.exports=i;var n=r(98621).EventEmitter;function i(){n.call(this)}r(69988)(i,n),i.Readable=r(7494),i.Writable=r(26858),i.Duplex=r(49376),i.Transform=r(75024),i.PassThrough=r(58018),i.finished=r(88884),i.pipeline=r(88952),i.Stream=i,i.prototype.pipe=function(e,t){var r=this;function i(t){e.writable&&!1===e.write(t)&&r.pause&&r.pause()}function o(){r.readable&&r.resume&&r.resume()}r.on("data",i),e.on("drain",o),e._isStdio||t&&!1===t.end||(r.on("end",s),r.on("close",u));var a=!1;function s(){a||(a=!0,e.end())}function u(){a||(a=!0,"function"==typeof e.destroy&&e.destroy())}function l(e){if(c(),0===n.listenerCount(this,"error"))throw e}function c(){r.removeListener("data",i),e.removeListener("drain",o),r.removeListener("end",s),r.removeListener("close",u),r.removeListener("error",l),e.removeListener("error",l),r.removeListener("end",c),r.removeListener("close",c),e.removeListener("close",c)}return r.on("error",l),e.on("error",l),r.on("end",c),r.on("close",c),e.on("close",c),e.emit("pipe",r),e}},8739(e,t,r){"use strict";var n=r(85719).Buffer,i=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 o(e){var t;switch(this.encoding=function(e){var t=function(e){if(!e)return"utf8";for(var t;;)switch(e){case"utf8":case"utf-8":return"utf8";case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return"utf16le";case"latin1":case"binary":return"latin1";case"base64":case"ascii":case"hex":return e;default:if(t)return;e=(""+e).toLowerCase(),t=!0}}(e);if("string"!=typeof t&&(n.isEncoding===i||!i(e)))throw new Error("Unknown encoding: "+e);return t||e}(e),this.encoding){case"utf16le":this.text=u,this.end=l,t=4;break;case"utf8":this.fillLast=s,t=4;break;case"base64":this.text=c,this.end=d,t=3;break;default:return this.write=f,void(this.end=p)}this.lastNeed=0,this.lastTotal=0,this.lastChar=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 s(e){var t=this.lastTotal-this.lastNeed,r=function(e,t){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 u(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 l(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 c(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 d(e){var t=e&&e.length?this.write(e):"";return this.lastNeed?t+this.lastChar.toString("base64",0,3-this.lastNeed):t}function f(e){return e.toString(this.encoding)}function p(e){return e&&e.length?this.write(e):""}t.I=o,o.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||""},o.prototype.end=function(e){var t=e&&e.length?this.write(e):"";return this.lastNeed?t+"�":t},o.prototype.text=function(e,t){var r=function(e,t,r){var n=t.length-1;if(n<r)return 0;var i=a(t[n]);return i>=0?(i>0&&(e.lastNeed=i-1),i):--n<r||-2===i?0:(i=a(t[n]))>=0?(i>0&&(e.lastNeed=i-2),i):--n<r||-2===i?0:(i=a(t[n]))>=0?(i>0&&(2===i?i=0:e.lastNeed=i-3),i):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)},o.prototype.fillLast=function(e){if(this.lastNeed<=e.length)return e.copy(this.lastChar,this.lastTotal-this.lastNeed,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal);e.copy(this.lastChar,this.lastTotal-this.lastNeed,0,e.length),this.lastNeed-=e.length}},44532(e,t,r){!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"),i="__URLSearchParams__",o=l.prototype,a=!(!e.Symbol||!e.Symbol.iterator);if(!(t&&r&&n)){o.append=function(e,t){h(this[i],e,t)},o.delete=function(e){delete this[i][e]},o.get=function(e){var t=this[i];return e in t?t[e][0]:null},o.getAll=function(e){var t=this[i];return e in t?t[e].slice(0):[]},o.has=function(e){return e in this[i]},o.set=function(e,t){this[i][e]=[""+t]},o.toString=function(){var e,t,r,n,o=this[i],a=[];for(t in o)for(r=c(t),e=0,n=o[t];e<n.length;e++)a.push(r+"="+c(n[e]));return a.join("&")};var s=!!n&&t&&!r&&e.Proxy;e.URLSearchParams=s?new Proxy(t,{construct:function(e,t){return new e(new l(t[0]).toString())}}):l;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()),i=[];for(e in n)i.push(e);for(i.sort(),t=0;t<i.length;t++)this.delete(i[t]);for(t=0;t<i.length;t++){var o=i[t],a=n[o];for(r=0;r<a.length;r++)this.append(o,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)},a&&(u[e.Symbol.iterator]=u[e.Symbol.iterator]||u.entries)}function l(e){((e=e||"")instanceof URLSearchParams||e instanceof l)&&(e=e.toString()),this[i]=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 d(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 a&&(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)&&h(t,r,e[r]);else{0===e.indexOf("?")&&(e=e.slice(1));for(var n=e.split("&"),i=0;i<n.length;i++){var o=n[i],a=o.indexOf("=");-1<a?h(t,d(o.slice(0,a)),d(o.slice(a+1))):o&&h(t,d(o),"")}}return t}function h(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!==r.g?r.g:"undefined"!=typeof window?window:this)},44494(e,t,r){"use strict";var n=r(64012),i="function"==typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t},o=n.useSyncExternalStore,a=n.useRef,s=n.useEffect,u=n.useMemo,l=n.useDebugValue;t.useSyncExternalStoreWithSelector=function(e,t,r,n,c){var d=a(null);if(null===d.current){var f={hasValue:!1,value:null};d.current=f}else f=d.current;d=u(function(){function e(e){if(!s){if(s=!0,o=e,e=n(e),void 0!==c&&f.hasValue){var t=f.value;if(c(t,e))return a=t}return a=e}if(t=a,i(o,e))return t;var r=n(e);return void 0!==c&&c(t,r)?(o=e,t):(o=e,a=r)}var o,a,s=!1,u=void 0===r?null:r;return[function(){return e(t())},null===u?void 0:function(){return e(u())}]},[t,r,n,c]);var p=o(e,d[0],d[1]);return s(function(){f.hasValue=!0,f.value=p},[p]),l(p),p}},2368(e,t,r){"use strict";e.exports=r(44494)},27925(e,t,r){function n(e){try{if(!r.g.localStorage)return!1}catch(e){return!1}var t=r.g.localStorage[e];return null!=t&&"true"===String(t).toLowerCase()}e.exports=function(e,t){if(n("noDeprecation"))return e;var r=!1;return function(){if(!r){if(n("throwDeprecation"))throw new Error(t);n("traceDeprecation")?console.trace(t):console.warn(t),r=!0}return e.apply(this,arguments)}}},23102(e){e.exports={isArray:function(e){return Array.isArray?Array.isArray(e):"[object Array]"===Object.prototype.toString.call(e)}}},59268(e,t,r){var n=r(8031),i=r(44253),o=r(94062),a=r(67659);e.exports={xml2js:n,xml2json:i,js2xml:o,json2xml:a}},94062(e,t,r){var n,i,o=r(90603),a=r(23102).isArray;function s(e,t,r){return(!r&&e.spaces?"\n":"")+Array(t+1).join(e.spaces)}function u(e,t,r){if(t.ignoreAttributes)return"";"attributesFn"in t&&(e=t.attributesFn(e,i,n));var o,a,u,l,c=[];for(o in e)e.hasOwnProperty(o)&&null!==e[o]&&void 0!==e[o]&&(l=t.noQuotesForNativeAttributes&&"string"!=typeof e[o]?"":'"',a=(a=""+e[o]).replace(/"/g,"""),u="attributeNameFn"in t?t.attributeNameFn(o,a,i,n):o,c.push(t.spaces&&t.indentAttributes?s(t,r+1,!1):" "),c.push(u+"="+l+("attributeValueFn"in t?t.attributeValueFn(a,o,i,n):a)+l));return e&&Object.keys(e).length&&t.spaces&&t.indentAttributes&&c.push(s(t,r,!1)),c.join("")}function l(e,t,r){return n=e,i="xml",t.ignoreDeclaration?"":"<?xml"+u(e[t.attributesKey],t,r)+"?>"}function c(e,t,r){if(t.ignoreInstruction)return"";var o;for(o in e)if(e.hasOwnProperty(o))break;var a="instructionNameFn"in t?t.instructionNameFn(o,e[o],i,n):o;if("object"==typeof e[o])return n=e,i=a,"<?"+a+u(e[o][t.attributesKey],t,r)+"?>";var s=e[o]?e[o]:"";return"instructionFn"in t&&(s=t.instructionFn(s,o,i,n)),"<?"+a+(s?" "+s:"")+"?>"}function d(e,t){return t.ignoreComment?"":"\x3c!--"+("commentFn"in t?t.commentFn(e,i,n):e)+"--\x3e"}function f(e,t){return t.ignoreCdata?"":"<![CDATA["+("cdataFn"in t?t.cdataFn(e,i,n):e.replace("]]>","]]]]><![CDATA[>"))+"]]>"}function p(e,t){return t.ignoreDoctype?"":"<!DOCTYPE "+("doctypeFn"in t?t.doctypeFn(e,i,n):e)+">"}function h(e,t){return t.ignoreText?"":(e=(e=(e=""+e).replace(/&/g,"&")).replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">"),"textFn"in t?t.textFn(e,i,n):e)}function m(e,t,r,o){return e.reduce(function(e,a){var l=s(t,r,o&&!e);switch(a.type){case"element":return e+l+function(e,t,r){n=e,i=e.name;var o=[],a="elementNameFn"in t?t.elementNameFn(e.name,e):e.name;o.push("<"+a),e[t.attributesKey]&&o.push(u(e[t.attributesKey],t,r));var s=e[t.elementsKey]&&e[t.elementsKey].length||e[t.attributesKey]&&"preserve"===e[t.attributesKey]["xml:space"];return s||(s="fullTagEmptyElementFn"in t?t.fullTagEmptyElementFn(e.name,e):t.fullTagEmptyElement),s?(o.push(">"),e[t.elementsKey]&&e[t.elementsKey].length&&(o.push(m(e[t.elementsKey],t,r+1)),n=e,i=e.name),o.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;default:return!0}return!1}(e,t)?"\n"+Array(r+1).join(t.spaces):""),o.push("</"+a+">")):o.push("/>"),o.join("")}(a,t,r);case"comment":return e+l+d(a[t.commentKey],t);case"doctype":return e+l+p(a[t.doctypeKey],t);case"cdata":return e+(t.indentCdata?l:"")+f(a[t.cdataKey],t);case"text":return e+(t.indentText?l:"")+h(a[t.textKey],t);case"instruction":var g={};return g[a[t.nameKey]]=a[t.attributesKey]?a:a[t.instructionKey],e+(t.indentInstruction?l:"")+c(g,t,r)}},"")}function g(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 y(e,t,r,o,a){n=e,i=t;var l="elementNameFn"in r?r.elementNameFn(t,e):t;if(null==e||""===e)return"fullTagEmptyElementFn"in r&&r.fullTagEmptyElementFn(t,e)||r.fullTagEmptyElement?"<"+l+"></"+l+">":"<"+l+"/>";var c=[];if(t){if(c.push("<"+l),"object"!=typeof e)return c.push(">"+h(e,r)+"</"+l+">"),c.join("");e[r.attributesKey]&&c.push(u(e[r.attributesKey],r,o));var d=g(e,r,!0)||e[r.attributesKey]&&"preserve"===e[r.attributesKey]["xml:space"];if(d||(d="fullTagEmptyElementFn"in r?r.fullTagEmptyElementFn(t,e):r.fullTagEmptyElement),!d)return c.push("/>"),c.join("");c.push(">")}return c.push(b(e,r,o+1,!1)),n=e,i=t,t&&c.push((a?s(r,o,!1):"")+"</"+l+">"),c.join("")}function b(e,t,r,n){var i,o,u,m=[];for(o in e)if(e.hasOwnProperty(o))for(u=a(e[o])?e[o]:[e[o]],i=0;i<u.length;++i){switch(o){case t.declarationKey:m.push(l(u[i],t,r));break;case t.instructionKey:m.push((t.indentInstruction?s(t,r,n):"")+c(u[i],t,r));break;case t.attributesKey:case t.parentKey:break;case t.textKey:m.push((t.indentText?s(t,r,n):"")+h(u[i],t));break;case t.cdataKey:m.push((t.indentCdata?s(t,r,n):"")+f(u[i],t));break;case t.doctypeKey:m.push(s(t,r,n)+p(u[i],t));break;case t.commentKey:m.push(s(t,r,n)+d(u[i],t));break;default:m.push(s(t,r,n)+y(u[i],o,t,r,g(u[i],t)))}n=n&&!m.length}return m.join("")}e.exports=function(e,t){t=function(e){var t=o.copyOptions(e);return o.ensureFlagExists("ignoreDeclaration",t),o.ensureFlagExists("ignoreInstruction",t),o.ensureFlagExists("ignoreAttributes",t),o.ensureFlagExists("ignoreText",t),o.ensureFlagExists("ignoreComment",t),o.ensureFlagExists("ignoreCdata",t),o.ensureFlagExists("ignoreDoctype",t),o.ensureFlagExists("compact",t),o.ensureFlagExists("indentText",t),o.ensureFlagExists("indentCdata",t),o.ensureFlagExists("indentAttributes",t),o.ensureFlagExists("indentInstruction",t),o.ensureFlagExists("fullTagEmptyElement",t),o.ensureFlagExists("noQuotesForNativeAttributes",t),o.ensureSpacesExists(t),"number"==typeof t.spaces&&(t.spaces=Array(t.spaces+1).join(" ")),o.ensureKeyExists("declaration",t),o.ensureKeyExists("instruction",t),o.ensureKeyExists("attributes",t),o.ensureKeyExists("text",t),o.ensureKeyExists("comment",t),o.ensureKeyExists("cdata",t),o.ensureKeyExists("doctype",t),o.ensureKeyExists("type",t),o.ensureKeyExists("name",t),o.ensureKeyExists("elements",t),o.checkFnExists("doctype",t),o.checkFnExists("instruction",t),o.checkFnExists("cdata",t),o.checkFnExists("comment",t),o.checkFnExists("text",t),o.checkFnExists("instructionName",t),o.checkFnExists("elementName",t),o.checkFnExists("attributeName",t),o.checkFnExists("attributeValue",t),o.checkFnExists("attributes",t),o.checkFnExists("fullTagEmptyElement",t),t}(t);var r=[];return n=e,i="_root_",t.compact?r.push(b(e,t,0,!0)):(e[t.declarationKey]&&r.push(l(e[t.declarationKey],t,0)),e[t.elementsKey]&&e[t.elementsKey].length&&r.push(m(e[t.elementsKey],t,0,!r.length))),r.join("")}},67659(e,t,r){var n=r(94062);e.exports=function(e,t){e instanceof Buffer&&(e=e.toString());var r=null;if("string"==typeof e)try{r=JSON.parse(e)}catch(e){throw new Error("The JSON structure is invalid")}else r=e;return n(r,t)}},90603(e,t,r){var n=r(23102).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}}},8031(e,t,r){var n,i,o=r(60257),a=r(90603),s=r(23102).isArray;function u(e){var t=Number(e);if(!isNaN(t))return t;var r=e.toLowerCase();return"true"===r||"false"!==r&&e}function l(e,t){var r;if(n.compact){if(!i[n[e+"Key"]]&&(s(n.alwaysArray)?-1!==n.alwaysArray.indexOf(n[e+"Key"]):n.alwaysArray)&&(i[n[e+"Key"]]=[]),i[n[e+"Key"]]&&!s(i[n[e+"Key"]])&&(i[n[e+"Key"]]=[i[n[e+"Key"]]]),e+"Fn"in n&&"string"==typeof t&&(t=n[e+"Fn"](t,i)),"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,i);else{var o=t[r];delete t[r],t[n.instructionNameFn(r,o,i)]=o}s(i[n[e+"Key"]])?i[n[e+"Key"]].push(t):i[n[e+"Key"]]=t}else{i[n.elementsKey]||(i[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,i):r,n.instructionHasAttributes?(a[n.attributesKey]=t[r][n.attributesKey],"instructionFn"in n&&(a[n.attributesKey]=n.instructionFn(a[n.attributesKey],r,i))):("instructionFn"in n&&(t[r]=n.instructionFn(t[r],r,i)),a[n.instructionKey]=t[r])}else e+"Fn"in n&&(t=n[e+"Fn"](t,i)),a[n[e+"Key"]]=t;n.addParent&&(a[n.parentKey]=i),i[n.elementsKey].push(a)}}function c(e){var t;if("attributesFn"in n&&e&&(e=n.attributesFn(e,i)),(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]=u(e[t])),"attributeValueFn"in n&&(e[t]=n.attributeValueFn(e[t],t,i)),"attributeNameFn"in n)){var r=e[t];delete e[t],e[n.attributeNameFn(t,e[t],i)]=r}return e}function d(e){var t={};if(e.body&&("xml"===e.name.toLowerCase()||n.instructionHasAttributes)){for(var r,o=/([\w:-]+)\s*=\s*(?:"([^"]*)"|'([^']*)'|(\w+))\s*/g;null!==(r=o.exec(e.body));)t[r[1]]=r[2]||r[3]||r[4];t=c(t)}if("xml"===e.name.toLowerCase()){if(n.ignoreDeclaration)return;i[n.declarationKey]={},Object.keys(t).length&&(i[n.declarationKey][n.attributesKey]=t),n.addParent&&(i[n.declarationKey][n.parentKey]=i)}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,l("instruction",a)}}function f(e,t){var r;if("object"==typeof e&&(t=e.attributes,e=e.name),t=c(t),"elementNameFn"in n&&(e=n.elementNameFn(e,i)),n.compact){var o;if(r={},!n.ignoreAttributes&&t&&Object.keys(t).length)for(o in r[n.attributesKey]={},t)t.hasOwnProperty(o)&&(r[n.attributesKey][o]=t[o]);!(e in i)&&(s(n.alwaysArray)?-1!==n.alwaysArray.indexOf(e):n.alwaysArray)&&(i[e]=[]),i[e]&&!s(i[e])&&(i[e]=[i[e]]),s(i[e])?i[e].push(r):i[e]=r}else i[n.elementsKey]||(i[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]=[]),i[n.elementsKey].push(r);r[n.parentKey]=i,i=r}function p(e){n.ignoreText||(e.trim()||n.captureSpacesBetweenElements)&&(n.trim&&(e=e.trim()),n.nativeType&&(e=u(e)),n.sanitize&&(e=e.replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">")),l("text",e))}function h(e){n.ignoreComment||(n.trim&&(e=e.trim()),l("comment",e))}function m(e){var t=i[n.parentKey];n.addParent||delete i[n.parentKey],i=t}function g(e){n.ignoreCdata||(n.trim&&(e=e.trim()),l("cdata",e))}function y(e){n.ignoreDoctype||(e=e.replace(/^ /,""),n.trim&&(e=e.trim()),l("doctype",e))}function b(e){e.note=e}e.exports=function(e,t){var r=o.parser(!0,{}),s={};if(i=s,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=f,r.ontext=p,r.oncomment=h,r.onclosetag=m,r.onerror=b,r.oncdata=g,r.ondoctype=y,r.onprocessinginstruction=d,r.write(e).close(),s[n.elementsKey]){var u=s[n.elementsKey];delete s[n.elementsKey],s[n.elementsKey]=u,delete s.text}return s}},44253(e,t,r){var n=r(90603),i=r(8031);e.exports=function(e,t){var r,o,a;return r=function(e){var t=n.copyOptions(e);return n.ensureSpacesExists(t),t}(t),o=i(e,r),a="compact"in r&&r.compact?"_parent":"parent",("addParent"in r&&r.addParent?JSON.stringify(o,function(e,t){return e===a?"_":t},r.spaces):JSON.stringify(o,null,r.spaces)).replace(/\u2028/g,"\\u2028").replace(/\u2029/g,"\\u2029")}},64012(t){"use strict";t.exports=e},90878(){},14388(){},55530(e,t){var r;!function(){"use strict";var n={}.hasOwnProperty;function i(){for(var e="",t=0;t<arguments.length;t++){var r=arguments[t];r&&(e=a(e,o(r)))}return e}function o(e){if("string"==typeof e||"number"==typeof e)return e;if("object"!=typeof e)return"";if(Array.isArray(e))return i.apply(null,e);if(e.toString!==Object.prototype.toString&&!e.toString.toString().includes("[native code]"))return e.toString();var t="";for(var r in e)n.call(e,r)&&e[r]&&(t=a(t,r));return t}function a(e,t){return t?e?e+" "+t:e+t:e}e.exports?(i.default=i,e.exports=i):void 0===(r=function(){return i}.apply(t,[]))||(e.exports=r)}()},54334(e,t,r){"use strict";var n=r(321),i=r(68379),o=TypeError;e.exports=function(e){if(n(e))return e;throw new o(i(e)+" is not a function")}},62153(e,t,r){"use strict";var n=r(54175),i=r(3844),o=r(86005).f,a=n("unscopables"),s=Array.prototype;void 0===s[a]&&o(s,a,{configurable:!0,value:i(null)}),e.exports=function(e){s[a][e]=!0}},10659(e,t,r){"use strict";var n=r(94102),i=String,o=TypeError;e.exports=function(e){if(n(e))return e;throw new o(i(e)+" is not an object")}},56749(e,t,r){"use strict";var n=r(28969),i=r(6526),o=r(88770),a=function(e){return function(t,r,a){var s=n(t),u=o(s);if(0===u)return!e&&-1;var l,c=i(a,u);if(e&&r!=r){for(;u>c;)if((l=s[c++])!=l)return!0}else for(;u>c;c++)if((e||c in s)&&s[c]===r)return e||c||0;return!e&&-1}};e.exports={includes:a(!0),indexOf:a(!1)}},72748(e,t,r){"use strict";var n=r(2484),i=n({}.toString),o=n("".slice);e.exports=function(e){return o(i(e),8,-1)}},81704(e,t,r){"use strict";var n=r(44461),i=r(99467),o=r(33071),a=r(86005);e.exports=function(e,t,r){for(var s=i(t),u=a.f,l=o.f,c=0;c<s.length;c++){var d=s[c];n(e,d)||r&&n(r,d)||u(e,d,l(t,d))}}},70671(e,t,r){"use strict";var n=r(92128),i=r(86005),o=r(25936);e.exports=n?function(e,t,r){return i.f(e,t,o(1,r))}:function(e,t,r){return e[t]=r,e}},25936(e){"use strict";e.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}},25236(e,t,r){"use strict";var n=r(321),i=r(86005),o=r(9455),a=r(21941);e.exports=function(e,t,r,s){s||(s={});var u=s.enumerable,l=void 0!==s.name?s.name:t;if(n(r)&&o(r,l,s),s.global)u?e[t]=r:a(t,r);else{try{s.unsafe?e[t]&&(u=!0):delete e[t]}catch(e){}u?e[t]=r:i.f(e,t,{value:r,enumerable:!1,configurable:!s.nonConfigurable,writable:!s.nonWritable})}return e}},21941(e,t,r){"use strict";var n=r(88052),i=Object.defineProperty;e.exports=function(e,t){try{i(n,e,{value:t,configurable:!0,writable:!0})}catch(r){n[e]=t}return t}},92128(e,t,r){"use strict";var n=r(42675);e.exports=!n(function(){return 7!==Object.defineProperty({},1,{get:function(){return 7}})[1]})},84451(e,t,r){"use strict";var n=r(88052),i=r(94102),o=n.document,a=i(o)&&i(o.createElement);e.exports=function(e){return a?o.createElement(e):{}}},58563(e){"use strict";e.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},33291(e,t,r){"use strict";var n=r(88052).navigator,i=n&&n.userAgent;e.exports=i?String(i):""},22763(e,t,r){"use strict";var n,i,o=r(88052),a=r(33291),s=o.process,u=o.Deno,l=s&&s.versions||u&&u.version,c=l&&l.v8;c&&(i=(n=c.split("."))[0]>0&&n[0]<4?1:+(n[0]+n[1])),!i&&a&&(!(n=a.match(/Edge\/(\d+)/))||n[1]>=74)&&(n=a.match(/Chrome\/(\d+)/))&&(i=+n[1]),e.exports=i},88810(e,t,r){"use strict";var n=r(88052),i=r(33071).f,o=r(70671),a=r(25236),s=r(21941),u=r(81704),l=r(92360);e.exports=function(e,t){var r,c,d,f,p,h=e.target,m=e.global,g=e.stat;if(r=m?n:g?n[h]||s(h,{}):n[h]&&n[h].prototype)for(c in t){if(f=t[c],d=e.dontCallGetSet?(p=i(r,c))&&p.value:r[c],!l(m?c:h+(g?".":"#")+c,e.forced)&&void 0!==d){if(typeof f==typeof d)continue;u(f,d)}(e.sham||d&&d.sham)&&o(f,"sham",!0),a(r,c,f,e)}}},42675(e){"use strict";e.exports=function(e){try{return!!e()}catch(e){return!0}}},33588(e,t,r){"use strict";var n=r(42675);e.exports=!n(function(){var e=function(){}.bind();return"function"!=typeof e||e.hasOwnProperty("prototype")})},93625(e,t,r){"use strict";var n=r(33588),i=Function.prototype.call;e.exports=n?i.bind(i):function(){return i.apply(i,arguments)}},64690(e,t,r){"use strict";var n=r(92128),i=r(44461),o=Function.prototype,a=n&&Object.getOwnPropertyDescriptor,s=i(o,"name"),u=s&&"something"===function(){}.name,l=s&&(!n||n&&a(o,"name").configurable);e.exports={EXISTS:s,PROPER:u,CONFIGURABLE:l}},2484(e,t,r){"use strict";var n=r(33588),i=Function.prototype,o=i.call,a=n&&i.bind.bind(o,o);e.exports=n?a:function(e){return function(){return o.apply(e,arguments)}}},33163(e,t,r){"use strict";var n=r(88052),i=r(321);e.exports=function(e,t){return arguments.length<2?(r=n[e],i(r)?r:void 0):n[e]&&n[e][t];var r}},39538(e,t,r){"use strict";var n=r(54334),i=r(59601);e.exports=function(e,t){var r=e[t];return i(r)?void 0:n(r)}},88052(e,t,r){"use strict";var n=function(e){return e&&e.Math===Math&&e};e.exports=n("object"==typeof globalThis&&globalThis)||n("object"==typeof window&&window)||n("object"==typeof self&&self)||n("object"==typeof r.g&&r.g)||n("object"==typeof this&&this)||function(){return this}()||Function("return this")()},44461(e,t,r){"use strict";var n=r(2484),i=r(68649),o=n({}.hasOwnProperty);e.exports=Object.hasOwn||function(e,t){return o(i(e),t)}},16617(e){"use strict";e.exports={}},27073(e,t,r){"use strict";var n=r(33163);e.exports=n("document","documentElement")},14113(e,t,r){"use strict";var n=r(92128),i=r(42675),o=r(84451);e.exports=!n&&!i(function(){return 7!==Object.defineProperty(o("div"),"a",{get:function(){return 7}}).a})},20051(e,t,r){"use strict";var n=r(2484),i=r(42675),o=r(72748),a=Object,s=n("".split);e.exports=i(function(){return!a("z").propertyIsEnumerable(0)})?function(e){return"String"===o(e)?s(e,""):a(e)}:a},42718(e,t,r){"use strict";var n=r(2484),i=r(321),o=r(32921),a=n(Function.toString);i(o.inspectSource)||(o.inspectSource=function(e){return a(e)}),e.exports=o.inspectSource},16369(e,t,r){"use strict";var n,i,o,a=r(48434),s=r(88052),u=r(94102),l=r(70671),c=r(44461),d=r(32921),f=r(93779),p=r(16617),h="Object already initialized",m=s.TypeError,g=s.WeakMap;if(a||d.state){var y=d.state||(d.state=new g);y.get=y.get,y.has=y.has,y.set=y.set,n=function(e,t){if(y.has(e))throw new m(h);return t.facade=e,y.set(e,t),t},i=function(e){return y.get(e)||{}},o=function(e){return y.has(e)}}else{var b=f("state");p[b]=!0,n=function(e,t){if(c(e,b))throw new m(h);return t.facade=e,l(e,b,t),t},i=function(e){return c(e,b)?e[b]:{}},o=function(e){return c(e,b)}}e.exports={set:n,get:i,has:o,enforce:function(e){return o(e)?i(e):n(e,{})},getterFor:function(e){return function(t){var r;if(!u(t)||(r=i(t)).type!==e)throw new m("Incompatible receiver, "+e+" required");return r}}}},321(e){"use strict";var t="object"==typeof document&&document.all;e.exports=void 0===t&&void 0!==t?function(e){return"function"==typeof e||e===t}:function(e){return"function"==typeof e}},92360(e,t,r){"use strict";var n=r(42675),i=r(321),o=/#|\.prototype\./,a=function(e,t){var r=u[s(e)];return r===c||r!==l&&(i(t)?n(t):!!t)},s=a.normalize=function(e){return String(e).replace(o,".").toLowerCase()},u=a.data={},l=a.NATIVE="N",c=a.POLYFILL="P";e.exports=a},59601(e){"use strict";e.exports=function(e){return null==e}},94102(e,t,r){"use strict";var n=r(321);e.exports=function(e){return"object"==typeof e?null!==e:n(e)}},36007(e){"use strict";e.exports=!1},73401(e,t,r){"use strict";var n=r(33163),i=r(321),o=r(37837),a=r(23316),s=Object;e.exports=a?function(e){return"symbol"==typeof e}:function(e){var t=n("Symbol");return i(t)&&o(t.prototype,s(e))}},88770(e,t,r){"use strict";var n=r(13026);e.exports=function(e){return n(e.length)}},9455(e,t,r){"use strict";var n=r(2484),i=r(42675),o=r(321),a=r(44461),s=r(92128),u=r(64690).CONFIGURABLE,l=r(42718),c=r(16369),d=c.enforce,f=c.get,p=String,h=Object.defineProperty,m=n("".slice),g=n("".replace),y=n([].join),b=s&&!i(function(){return 8!==h(function(){},"length",{value:8}).length}),v=String(String).split("String"),S=e.exports=function(e,t,r){"Symbol("===m(p(t),0,7)&&(t="["+g(p(t),/^Symbol\(([^)]*)\).*$/,"$1")+"]"),r&&r.getter&&(t="get "+t),r&&r.setter&&(t="set "+t),(!a(e,"name")||u&&e.name!==t)&&(s?h(e,"name",{value:t,configurable:!0}):e.name=t),b&&r&&a(r,"arity")&&e.length!==r.arity&&h(e,"length",{value:r.arity});try{r&&a(r,"constructor")&&r.constructor?s&&h(e,"prototype",{writable:!1}):e.prototype&&(e.prototype=void 0)}catch(e){}var n=d(e);return a(n,"source")||(n.source=y(v,"string"==typeof t?t:"")),e};Function.prototype.toString=S(function(){return o(this)&&f(this).source||l(this)},"toString")},24049(e){"use strict";var t=Math.ceil,r=Math.floor;e.exports=Math.trunc||function(e){var n=+e;return(n>0?r:t)(n)}},3844(e,t,r){"use strict";var n,i=r(10659),o=r(3037),a=r(58563),s=r(16617),u=r(27073),l=r(84451),c=r(93779),d="prototype",f="script",p=c("IE_PROTO"),h=function(){},m=function(e){return"<"+f+">"+e+"</"+f+">"},g=function(e){e.write(m("")),e.close();var t=e.parentWindow.Object;return e=null,t},y=function(){try{n=new ActiveXObject("htmlfile")}catch(e){}var e,t,r;y="undefined"!=typeof document?document.domain&&n?g(n):(t=l("iframe"),r="java"+f+":",t.style.display="none",u.appendChild(t),t.src=String(r),(e=t.contentWindow.document).open(),e.write(m("document.F=Object")),e.close(),e.F):g(n);for(var i=a.length;i--;)delete y[d][a[i]];return y()};s[p]=!0,e.exports=Object.create||function(e,t){var r;return null!==e?(h[d]=i(e),r=new h,h[d]=null,r[p]=e):r=y(),void 0===t?r:o.f(r,t)}},3037(e,t,r){"use strict";var n=r(92128),i=r(30706),o=r(86005),a=r(10659),s=r(28969),u=r(64700);t.f=n&&!i?Object.defineProperties:function(e,t){a(e);for(var r,n=s(t),i=u(t),l=i.length,c=0;l>c;)o.f(e,r=i[c++],n[r]);return e}},86005(e,t,r){"use strict";var n=r(92128),i=r(14113),o=r(30706),a=r(10659),s=r(91261),u=TypeError,l=Object.defineProperty,c=Object.getOwnPropertyDescriptor,d="enumerable",f="configurable",p="writable";t.f=n?o?function(e,t,r){if(a(e),t=s(t),a(r),"function"==typeof e&&"prototype"===t&&"value"in r&&p in r&&!r[p]){var n=c(e,t);n&&n[p]&&(e[t]=r.value,r={configurable:f in r?r[f]:n[f],enumerable:d in r?r[d]:n[d],writable:!1})}return l(e,t,r)}:l:function(e,t,r){if(a(e),t=s(t),a(r),i)try{return l(e,t,r)}catch(e){}if("get"in r||"set"in r)throw new u("Accessors not supported");return"value"in r&&(e[t]=r.value),e}},33071(e,t,r){"use strict";var n=r(92128),i=r(93625),o=r(7769),a=r(25936),s=r(28969),u=r(91261),l=r(44461),c=r(14113),d=Object.getOwnPropertyDescriptor;t.f=n?d:function(e,t){if(e=s(e),t=u(t),c)try{return d(e,t)}catch(e){}if(l(e,t))return a(!i(o.f,e,t),e[t])}},24956(e,t,r){"use strict";var n=r(4792),i=r(58563).concat("length","prototype");t.f=Object.getOwnPropertyNames||function(e){return n(e,i)}},9073(e,t){"use strict";t.f=Object.getOwnPropertySymbols},37837(e,t,r){"use strict";var n=r(2484);e.exports=n({}.isPrototypeOf)},4792(e,t,r){"use strict";var n=r(2484),i=r(44461),o=r(28969),a=r(56749).indexOf,s=r(16617),u=n([].push);e.exports=function(e,t){var r,n=o(e),l=0,c=[];for(r in n)!i(s,r)&&i(n,r)&&u(c,r);for(;t.length>l;)i(n,r=t[l++])&&(~a(c,r)||u(c,r));return c}},64700(e,t,r){"use strict";var n=r(4792),i=r(58563);e.exports=Object.keys||function(e){return n(e,i)}},7769(e,t){"use strict";var r={}.propertyIsEnumerable,n=Object.getOwnPropertyDescriptor,i=n&&!r.call({1:2},1);t.f=i?function(e){var t=n(this,e);return!!t&&t.enumerable}:r},65514(e,t,r){"use strict";var n=r(93625),i=r(321),o=r(94102),a=TypeError;e.exports=function(e,t){var r,s;if("string"===t&&i(r=e.toString)&&!o(s=n(r,e)))return s;if(i(r=e.valueOf)&&!o(s=n(r,e)))return s;if("string"!==t&&i(r=e.toString)&&!o(s=n(r,e)))return s;throw new a("Can't convert object to primitive value")}},99467(e,t,r){"use strict";var n=r(33163),i=r(2484),o=r(24956),a=r(9073),s=r(10659),u=i([].concat);e.exports=n("Reflect","ownKeys")||function(e){var t=o.f(s(e)),r=a.f;return r?u(t,r(e)):t}},64834(e,t,r){"use strict";var n=r(59601),i=TypeError;e.exports=function(e){if(n(e))throw new i("Can't call method on "+e);return e}},93779(e,t,r){"use strict";var n=r(76445),i=r(42868),o=n("keys");e.exports=function(e){return o[e]||(o[e]=i(e))}},32921(e,t,r){"use strict";var n=r(36007),i=r(88052),o=r(21941),a="__core-js_shared__",s=e.exports=i[a]||o(a,{});(s.versions||(s.versions=[])).push({version:"3.49.0",mode:n?"pure":"global",copyright:"© 2013–2025 Denis Pushkarev (zloirock.ru), 2025–2026 CoreJS Company (core-js.io). All rights reserved.",license:"https://github.com/zloirock/core-js/blob/v3.49.0/LICENSE",source:"https://github.com/zloirock/core-js"})},76445(e,t,r){"use strict";var n=r(32921);e.exports=function(e,t){return n[e]||(n[e]=t||{})}},46891(e,t,r){"use strict";var n=r(22763),i=r(42675),o=r(88052).String;e.exports=!!Object.getOwnPropertySymbols&&!i(function(){var e=Symbol("symbol detection");return!o(e)||!(Object(e)instanceof Symbol)||!Symbol.sham&&n&&n<41})},6526(e,t,r){"use strict";var n=r(7391),i=Math.max,o=Math.min;e.exports=function(e,t){var r=n(e);return r<0?i(r+t,0):o(r,t)}},28969(e,t,r){"use strict";var n=r(20051),i=r(64834);e.exports=function(e){return n(i(e))}},7391(e,t,r){"use strict";var n=r(24049);e.exports=function(e){var t=+e;return t!=t||0===t?0:n(t)}},13026(e,t,r){"use strict";var n=r(7391),i=Math.min;e.exports=function(e){var t=n(e);return t>0?i(t,9007199254740991):0}},68649(e,t,r){"use strict";var n=r(64834),i=Object;e.exports=function(e){return i(n(e))}},90573(e,t,r){"use strict";var n=r(93625),i=r(94102),o=r(73401),a=r(39538),s=r(65514),u=r(54175),l=TypeError,c=u("toPrimitive");e.exports=function(e,t){if(!i(e)||o(e))return e;var r,u=a(e,c);if(u){if(void 0===t&&(t="default"),r=n(u,e,t),!i(r)||o(r))return r;throw new l("Can't convert object to primitive value")}return void 0===t&&(t="number"),s(e,t)}},91261(e,t,r){"use strict";var n=r(90573),i=r(73401);e.exports=function(e){var t=n(e,"string");return i(t)?t:t+""}},68379(e){"use strict";var t=String;e.exports=function(e){try{return t(e)}catch(e){return"Object"}}},42868(e,t,r){"use strict";var n=r(2484),i=0,o=Math.random(),a=n(1.1.toString);e.exports=function(e){return"Symbol("+(void 0===e?"":e)+")_"+a(++i+o,36)}},23316(e,t,r){"use strict";var n=r(46891);e.exports=n&&!Symbol.sham&&"symbol"==typeof Symbol.iterator},30706(e,t,r){"use strict";var n=r(92128),i=r(42675);e.exports=n&&i(function(){return 42!==Object.defineProperty(function(){},"prototype",{value:42,writable:!1}).prototype})},48434(e,t,r){"use strict";var n=r(88052),i=r(321),o=n.WeakMap;e.exports=i(o)&&/native code/.test(String(o))},54175(e,t,r){"use strict";var n=r(88052),i=r(76445),o=r(44461),a=r(42868),s=r(46891),u=r(23316),l=n.Symbol,c=i("wks"),d=u?l.for||l:l&&l.withoutSetter||a;e.exports=function(e){return o(c,e)||(c[e]=s&&o(l,e)?l[e]:d("Symbol."+e)),c[e]}},64707(e,t,r){"use strict";var n=r(88810),i=r(56749).includes,o=r(42675),a=r(62153),s=o(function(){return!Array(1).includes()}),u=o(function(){return[,1].includes(void 0,1)});n({target:"Array",proto:!0,forced:s||u},{includes:function(e){return i(this,e,arguments.length>1?arguments[1]:void 0)}}),a("includes")},10708(e,t,r){"use strict";const n=r(76388),i=r(39355),o=r(52633),a=r(56563);function s(e,t){if("function"==typeof t){let r=null;return void e.children.forEach(e=>{null!==r&&t.call(this,r),this.node(e),r=e})}e.children.forEach(this.node,this)}function u(e){n.tokenize(e,(t,r,n)=>{this.token(t,e.slice(r,n))})}t.createGenerator=function(e){const t=new Map;for(let r in e.node){const n=e.node[r];"function"==typeof(n.generate||n)&&t.set(r,n.generate||n)}return function(e,r){let n="",l=0,c={node(e){if(!t.has(e.type))throw new Error("Unknown node type: "+e.type);t.get(e.type).call(d,e)},tokenBefore:o.safe,token(e,t){l=this.tokenBefore(l,e,t),this.emit(t,e,!1),e===a.Delim&&92===t.charCodeAt(0)&&this.emit("\n",a.WhiteSpace,!0)},emit(e){n+=e},result:()=>n};r&&("function"==typeof r.decorator&&(c=r.decorator(c)),r.sourceMap&&(c=i.generateSourceMap(c)),r.mode in o&&(c.tokenBefore=o[r.mode]));const d={node:e=>c.node(e),children:s,token:(e,t)=>c.token(e,t),tokenize:u};return c.node(e),c.result()}}},90844(e,t,r){"use strict";const n=r(10708),i=r(56854),o=n.createGenerator(i);e.exports=o},39355(e,t,r){"use strict";const n=r(8533),i=new Set(["Atrule","Selector","Declaration"]);t.generateSourceMap=function(e){const t=new n.SourceMapGenerator,r={line:1,column:0},o={line:0,column:0},a={line:1,column:0},s={generated:a};let u=1,l=0,c=!1;const d=e.node;e.node=function(e){if(e.loc&&e.loc.start&&i.has(e.type)){const n=e.loc.start.line,i=e.loc.start.column-1;o.line===n&&o.column===i||(o.line=n,o.column=i,r.line=u,r.column=l,c&&(c=!1,r.line===a.line&&r.column===a.column||t.addMapping(s)),c=!0,t.addMapping({source:e.loc.source,original:o,generated:r}))}d.call(this,e),c&&i.has(e.type)&&(a.line=u,a.column=l)};const f=e.emit;e.emit=function(e,t,r){for(let t=0;t<e.length;t++)10===e.charCodeAt(t)?(u++,l=0):l++;f(e,t,r)};const p=e.result;return e.result=function(){return c&&t.addMapping(s),{css:p(),map:t}},e}},52633(e,t,r){"use strict";const n=r(56563),i=(e,t)=>{if(e===n.Delim&&(e=t),"string"==typeof e){const t=e.charCodeAt(0);return t>127?32768:t<<8}return e},o=[[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],["/","*"]],a=o.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 s(e){const t=new Set(e.map(([e,t])=>i(e)<<16|i(t)));return function(e,r,o){const a=i(r,o),s=o.charCodeAt(0);return(45===s&&r!==n.Ident&&r!==n.Function&&r!==n.CDC||43===s?t.has(e<<16|s<<8):t.has(e<<16|a))&&this.emit(" ",n.WhiteSpace,!0),a}}const u=s(o),l=s(a);t.safe=l,t.spec=u},63751(e,t,r){"use strict";const n=r(82869);function i({source:e,line:t,column:r},n){function i(e,t){return o.slice(e,t).map((t,r)=>String(e+r+1).padStart(u)+" |"+t).join("\n")}const o=e.split(/\r\n?|\n|\f/),a=Math.max(1,t-n)-1,s=Math.min(t+n,o.length+1),u=Math.max(4,String(s).length)+1;let l=0;(r+=3*(o[t-1].substr(0,r-1).match(/\t/g)||[]).length)>100&&(l=r-60+3,r=58);for(let e=a;e<=s;e++)e>=0&&e<o.length&&(o[e]=o[e].replace(/\t/g," "),o[e]=(l>0&&o[e].length>l?"…":"")+o[e].substr(l,98)+(o[e].length>l+100-1?"…":""));return[i(a,t),new Array(r+u+2).join("-")+"^",i(t,s)].filter(Boolean).join("\n")}t.SyntaxError=function(e,t,r,o,a){return Object.assign(n.createCustomError("SyntaxError",e),{source:t,offset:r,line:o,column:a,sourceFragment:e=>i({source:t,line:o,column:a},isNaN(e)?0:e),get formattedMessage(){return`Parse error: ${e}\n`+i({source:t,line:o,column:a},2)}})}},66710(e,t,r){"use strict";const n=r(77528),i=r(63751),o=r(76388),a=r(55989),s=r(36103),u=r(27255),l=r(5103),c=r(56563),d=r(61272),f=()=>{};function p(e){return function(){return this[e]()}}function h(e){const t=Object.create(null);for(const r in e){const n=e[r],i=n.parse||n;i&&(t[r]=i)}return t}t.createParser=function(e){let t="",r="<unknown>",m=!1,g=f,y=!1;const b=new s.OffsetToLocation,v=Object.assign(new u.TokenStream,function(e){const t={context:Object.create(null),scope:Object.assign(Object.create(null),e.scope),atrule:h(e.atrule),pseudo:h(e.pseudo),node:h(e.node)};for(const r in e.parseContext)switch(typeof e.parseContext[r]){case"function":t.context[r]=e.parseContext[r];break;case"string":t.context[r]=p(e.parseContext[r])}return{config:t,...t,...t.node}}(e||{}),{parseAtrulePrelude:!0,parseRulePrelude:!0,parseValue:!0,parseCustomProperty:!1,readSequence:a.readSequence,consumeUntilBalanceEnd:()=>0,consumeUntilLeftCurlyBracket:e=>123===e?1:0,consumeUntilLeftCurlyBracketOrSemicolon:e=>123===e||59===e?1:0,consumeUntilExclamationMarkOrSemicolon:e=>33===e||59===e?1:0,consumeUntilSemicolonIncluded:e=>59===e?2:0,createList:()=>new n.List,createSingleNodeList:e=>(new n.List).appendData(e),getFirstListNode:e=>e&&e.first,getLastListNode:e=>e&&e.last,parseWithFallback(e,t){const r=this.tokenIndex;try{return e.call(this)}catch(e){if(y)throw e;const n=t.call(this,r);return y=!0,g(e,n),y=!1,n}},lookupNonWSType(e){let t;do{if(t=this.lookupType(e++),t!==c.WhiteSpace)return t}while(0!==t);return 0},charCodeAt:e=>e>=0&&e<t.length?t.charCodeAt(e):0,substring:(e,r)=>t.substring(e,r),substrToCursor(e){return this.source.substring(e,this.tokenStart)},cmpChar:(e,r)=>l.cmpChar(t,e,r),cmpStr:(e,r,n)=>l.cmpStr(t,e,r,n),consume(e){const t=this.tokenStart;return this.eat(e),this.substrToCursor(t)},consumeFunctionName(){const e=t.substring(this.tokenStart,this.tokenEnd-1);return this.eat(c.Function),e},consumeNumber(e){const r=t.substring(this.tokenStart,l.consumeNumber(t,this.tokenStart));return this.eat(e),r},eat(e){if(this.tokenType!==e){const t=d[e].slice(0,-6).replace(/-/g," ").replace(/^./,e=>e.toUpperCase());let r=`${/[[\](){}]/.test(t)?`"${t}"`:t} is expected`,n=this.tokenStart;switch(e){case c.Ident:this.tokenType===c.Function||this.tokenType===c.Url?(n=this.tokenEnd-1,r="Identifier is expected but function found"):r="Identifier is expected";break;case c.Hash:this.isDelim(35)&&(this.next(),n++,r="Name is expected");break;case c.Percentage:this.tokenType===c.Number&&(n=this.tokenEnd,r="Percent sign is expected")}this.error(r,n)}this.next()},eatIdent(e){this.tokenType===c.Ident&&!1!==this.lookupValue(0,e)||this.error(`Identifier "${e}" is expected`),this.next()},eatDelim(e){this.isDelim(e)||this.error(`Delim "${String.fromCharCode(e)}" is expected`),this.next()},getLocation:(e,t)=>m?b.getLocationRange(e,t,r):null,getLocationFromList(e){if(m){const t=this.getFirstListNode(e),n=this.getLastListNode(e);return b.getLocationRange(null!==t?t.loc.start.offset-b.startOffset:this.tokenStart,null!==n?n.loc.end.offset-b.startOffset:this.tokenStart,r)}return null},error(e,r){const n=void 0!==r&&r<t.length?b.getLocation(r):this.eof?b.getLocation(l.findWhiteSpaceStart(t,t.length-1)):b.getLocation(this.tokenStart);throw new i.SyntaxError(e||"Unexpected input",t,n.offset,n.line,n.column)}});return Object.assign(function(e,n){t=e,n=n||{},v.setSource(t,o.tokenize),b.setSource(t,n.offset,n.line,n.column),r=n.filename||"<unknown>",m=Boolean(n.positions),g="function"==typeof n.onParseError?n.onParseError:f,y=!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);const{context:i="default",onComment:a}=n;if(i in v.context==0)throw new Error("Unknown context `"+i+"`");"function"==typeof a&&v.forEachToken((e,r,n)=>{if(e===c.Comment){const e=v.getLocation(r,n),i=l.cmpStr(t,n-2,n,"*/")?t.slice(r+2,n-2):t.slice(r+2,n);a(i,e)}});const s=v.context[i].call(v,n);return v.eof||v.error(),s},{SyntaxError:i.SyntaxError,config:v.config})}},80686(e,t,r){"use strict";const n=r(66710),i=r(32238),o=n.createParser(i);e.exports=o},55989(e,t,r){"use strict";const n=r(56563);t.readSequence=function(e){const t=this.createList();let r=!1;const i={recognizer:e};for(;!this.eof;){switch(this.tokenType){case n.Comment:this.next();continue;case n.WhiteSpace:r=!0,this.next();continue}let o=e.getNode.call(this,i);if(void 0===o)break;r&&(e.onWhiteSpace&&e.onWhiteSpace.call(this,o,t,i),r=!1),t.push(o)}return r&&e.onWhiteSpace&&e.onWhiteSpace.call(this,null,t,i),t}},861(e){"use strict";const t={parse:{prelude:null,block(){return this.Block(!0)}}};e.exports=t},56417(e,t,r){"use strict";const n=r(56563),i={parse:{prelude(){const 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}};e.exports=i},64326(e,t,r){"use strict";const n={"font-face":r(861),import:r(56417),media:r(42226),nest:r(8632),page:r(28551),supports:r(35230)};e.exports=n},42226(e){"use strict";const t={parse:{prelude(){return this.createSingleNodeList(this.MediaQueryList())},block(e=!1){return this.Block(e)}}};e.exports=t},8632(e){"use strict";const t={parse:{prelude(){return this.createSingleNodeList(this.SelectorList())},block(){return this.Block(!0)}}};e.exports=t},28551(e){"use strict";const t={parse:{prelude(){return this.createSingleNodeList(this.SelectorList())},block(){return this.Block(!0)}}};e.exports=t},35230(e,t,r){"use strict";const n=r(56563);function i(){return this.createSingleNodeList(this.Raw(this.tokenIndex,null,!1))}function o(){return this.skipSC(),this.tokenType===n.Ident&&this.lookupNonWSType(1)===n.Colon?this.createSingleNodeList(this.Declaration()):a.call(this)}function a(){const e=this.createList();let t;this.skipSC();e:for(;!this.eof;){switch(this.tokenType){case n.Comment:case n.WhiteSpace:this.next();continue;case n.Function:t=this.Function(i,this.scope.AtrulePrelude);break;case n.Ident:t=this.Identifier();break;case n.LeftParenthesis:t=this.Parentheses(o,this.scope.AtrulePrelude);break;default:break e}e.push(t)}return e}const s={parse:{prelude(){const e=a.call(this);return null===this.getFirstListNode(e)&&this.error("Condition is expected"),e},block(e=!1){return this.Block(e)}}};e.exports=s},56854(e,t,r){"use strict";const n={node:r(86485)};e.exports=n},32238(e,t,r){"use strict";const n=r(52039),i=r(64326),o=r(2717),a=r(40869),s={parseContext:{default:"StyleSheet",stylesheet:"StyleSheet",atrule:"Atrule",atrulePrelude(e){return this.AtrulePrelude(e.atrule?String(e.atrule):null)},mediaQueryList:"MediaQueryList",mediaQuery:"MediaQuery",rule:"Rule",selectorList:"SelectorList",selector:"Selector",block(){return this.Block(!0)},declarationList:"DeclarationList",declaration:"Declaration",value:"Value"},scope:n,atrule:i,pseudo:o,node:a};e.exports=s},64533(e,t,r){"use strict";const n={node:r(70935)};e.exports=n},95115(e){"use strict";e.exports=function(){return this.createSingleNodeList(this.Raw(this.tokenIndex,null,!1))}},94356(e,t,r){"use strict";const n=r(56563);e.exports=function(){const e=this.createList();if(this.skipSC(),e.push(this.Identifier()),this.skipSC(),this.tokenType===n.Comma){e.push(this.Operator());const t=this.tokenIndex,r=this.parseCustomProperty?this.Value(null):this.Raw(this.tokenIndex,this.consumeUntilExclamationMarkOrSemicolon,!1);if("Value"===r.type&&r.children.isEmpty)for(let e=t-this.tokenIndex;e<=0;e++)if(this.lookupType(e)===n.WhiteSpace){r.children.appendData({type:"WhiteSpace",loc:null,value:" "});break}e.push(r)}return e}},69054(e,t,r){"use strict";const n=r(56563),i=r(32107),o=43,a=45,s=110,u=!0;function l(e,t){let r=this.tokenStart+e;const n=this.charCodeAt(r);for(n!==o&&n!==a||(t&&this.error("Number sign is not allowed"),r++);r<this.tokenEnd;r++)i.isDigit(this.charCodeAt(r))||this.error("Integer is expected",r)}function c(e){return l.call(this,0,e)}function d(e,t){if(!this.cmpChar(this.tokenStart+e,t)){let r="";switch(t){case s:r="N is expected";break;case a:r="HyphenMinus is expected"}this.error(r,this.tokenStart+e)}}function f(){let e=0,t=0,r=this.tokenType;for(;r===n.WhiteSpace||r===n.Comment;)r=this.lookupType(++e);if(r!==n.Number){if(!this.isDelim(o,e)&&!this.isDelim(a,e))return null;t=this.isDelim(o,e)?o:a;do{r=this.lookupType(++e)}while(r===n.WhiteSpace||r===n.Comment);r!==n.Number&&(this.skip(e),c.call(this,u))}return e>0&&this.skip(e),0===t&&(r=this.charCodeAt(this.tokenStart),r!==o&&r!==a&&this.error("Number sign is expected")),c.call(this,0!==t),t===a?"-"+this.consume(n.Number):this.consume(n.Number)}const p={a:[String,null],b:[String,null]};t.generate=function(e){if(e.a){const t=("+1"===e.a||"1"===e.a?"n":"-1"===e.a&&"-n")||e.a+"n";if(e.b){const 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="AnPlusB",t.parse=function(){const e=this.tokenStart;let t=null,r=null;if(this.tokenType===n.Number)c.call(this,!1),r=this.consume(n.Number);else if(this.tokenType===n.Ident&&this.cmpChar(this.tokenStart,a))switch(t="-1",d.call(this,1,s),this.tokenEnd-this.tokenStart){case 2:this.next(),r=f.call(this);break;case 3:d.call(this,2,a),this.next(),this.skipSC(),c.call(this,u),r="-"+this.consume(n.Number);break;default:d.call(this,2,a),l.call(this,3,u),this.next(),r=this.substrToCursor(e+2)}else if(this.tokenType===n.Ident||this.isDelim(o)&&this.lookupType(1)===n.Ident){let i=0;switch(t="1",this.isDelim(o)&&(i=1,this.next()),d.call(this,0,s),this.tokenEnd-this.tokenStart){case 1:this.next(),r=f.call(this);break;case 2:d.call(this,1,a),this.next(),this.skipSC(),c.call(this,u),r="-"+this.consume(n.Number);break;default:d.call(this,1,a),l.call(this,2,u),this.next(),r=this.substrToCursor(e+i+1)}}else if(this.tokenType===n.Dimension){const p=this.charCodeAt(this.tokenStart),h=p===o||p===a;let m=this.tokenStart+h;for(;m<this.tokenEnd&&i.isDigit(this.charCodeAt(m));m++);m===this.tokenStart+h&&this.error("Integer is expected",this.tokenStart+h),d.call(this,m-this.tokenStart,s),t=this.substring(e,m),m+1===this.tokenEnd?(this.next(),r=f.call(this)):(d.call(this,m-this.tokenStart+1,a),m+2===this.tokenEnd?(this.next(),this.skipSC(),c.call(this,u),r="-"+this.consume(n.Number)):(l.call(this,m-this.tokenStart+2,u),this.next(),r=this.substrToCursor(m+1)))}else this.error();return null!==t&&t.charCodeAt(0)===o&&(t=t.substr(1)),null!==r&&r.charCodeAt(0)===o&&(r=r.substr(1)),{type:"AnPlusB",loc:this.getLocation(e,this.tokenStart),a:t,b:r}},t.structure=p},74644(e,t,r){"use strict";const n=r(56563);function i(e){return this.Raw(e,this.consumeUntilLeftCurlyBracketOrSemicolon,!0)}function o(){for(let 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}const a={name:String,prelude:["AtrulePrelude","Raw",null],block:["Block",null]};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="Atrule",t.parse=function(e=!1){const t=this.tokenStart;let r,a,s=null,u=null;switch(this.eat(n.AtKeyword),r=this.substrToCursor(t+1),a=r.toLowerCase(),this.skipSC(),!1===this.eof&&this.tokenType!==n.LeftCurlyBracket&&this.tokenType!==n.Semicolon&&(s=this.parseAtrulePrelude?this.parseWithFallback(this.AtrulePrelude.bind(this,r,e),i):i.call(this,this.tokenIndex),this.skipSC()),this.tokenType){case n.Semicolon:this.next();break;case n.LeftCurlyBracket:u=hasOwnProperty.call(this.atrule,a)&&"function"==typeof this.atrule[a].block?this.atrule[a].block.call(this,e):this.Block(o.call(this))}return{type:"Atrule",loc:this.getLocation(t,this.tokenStart),name:r,prelude:s,block:u}},t.structure=a,t.walkContext="atrule"},5503(e,t,r){"use strict";const n=r(56563);t.generate=function(e){this.children(e)},t.name="AtrulePrelude",t.parse=function(e){let t=null;return 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"),{type:"AtrulePrelude",loc:this.getLocationFromList(t),children:t}},t.structure={children:[[]]},t.walkContext="atrulePrelude"},82260(e,t,r){"use strict";const n=r(56563);function i(){this.eof&&this.error("Unexpected end of input");const e=this.tokenStart;let 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 o(){const 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)}const a={name:"Identifier",matcher:[String,null],value:["String","Identifier",null],flags:[String,null]};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="AttributeSelector",t.parse=function(){const e=this.tokenStart;let t,r=null,a=null,s=null;return this.eat(n.LeftSquareBracket),this.skipSC(),t=i.call(this),this.skipSC(),this.tokenType!==n.RightSquareBracket&&(this.tokenType!==n.Ident&&(r=o.call(this),this.skipSC(),a=this.tokenType===n.String?this.String():this.Identifier(),this.skipSC()),this.tokenType===n.Ident&&(s=this.consume(n.Ident),this.skipSC())),this.eat(n.RightSquareBracket),{type:"AttributeSelector",loc:this.getLocation(e,this.tokenStart),name:t,matcher:r,value:a,flags:s}},t.structure=a},95240(e,t,r){"use strict";const n=r(56563);function i(e){return this.Raw(e,null,!0)}function o(){return this.parseWithFallback(this.Rule,i)}function a(e){return this.Raw(e,this.consumeUntilSemicolonIncluded,!0)}function s(){if(this.tokenType===n.Semicolon)return a.call(this,this.tokenIndex);const e=this.parseWithFallback(this.Declaration,a);return this.tokenType===n.Semicolon&&this.next(),e}t.generate=function(e){this.token(n.LeftCurlyBracket,"{"),this.children(e,e=>{"Declaration"===e.type&&this.token(n.Semicolon,";")}),this.token(n.RightCurlyBracket,"}")},t.name="Block",t.parse=function(e){const t=e?s:o,r=this.tokenStart;let 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.bind(this,e),i));break;default:e&&this.isDelim(38)?a.push(o.call(this)):a.push(t.call(this))}return this.eof||this.eat(n.RightCurlyBracket),{type:"Block",loc:this.getLocation(r,this.tokenStart),children:a}},t.structure={children:[["Atrule","Rule","Declaration"]]},t.walkContext="block"},17338(e,t,r){"use strict";const n=r(56563);t.generate=function(e){this.token(n.Delim,"["),this.children(e),this.token(n.Delim,"]")},t.name="Brackets",t.parse=function(e,t){const r=this.tokenStart;let i=null;return this.eat(n.LeftSquareBracket),i=e.call(this,t),this.eof||this.eat(n.RightSquareBracket),{type:"Brackets",loc:this.getLocation(r,this.tokenStart),children:i}},t.structure={children:[[]]}},54971(e,t,r){"use strict";const n=r(56563);t.generate=function(){this.token(n.CDC,"--\x3e")},t.name="CDC",t.parse=function(){const e=this.tokenStart;return this.eat(n.CDC),{type:"CDC",loc:this.getLocation(e,this.tokenStart)}},t.structure=[]},58447(e,t,r){"use strict";const n=r(56563);t.generate=function(){this.token(n.CDO,"\x3c!--")},t.name="CDO",t.parse=function(){const e=this.tokenStart;return this.eat(n.CDO),{type:"CDO",loc:this.getLocation(e,this.tokenStart)}},t.structure=[]},98664(e,t,r){"use strict";const n=r(56563),i={name:String};t.generate=function(e){this.token(n.Delim,"."),this.token(n.Ident,e.name)},t.name="ClassSelector",t.parse=function(){return this.eatDelim(46),{type:"ClassSelector",loc:this.getLocation(this.tokenStart-1,this.tokenEnd),name:this.consume(n.Ident)}},t.structure=i},14511(e,t,r){"use strict";const n=r(56563),i={name:String};t.generate=function(e){this.tokenize(e.name)},t.name="Combinator",t.parse=function(){const e=this.tokenStart;let t;switch(this.tokenType){case n.WhiteSpace:t=" ";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")}t=this.substrToCursor(e)}return{type:"Combinator",loc:this.getLocation(e,this.tokenStart),name:t}},t.structure=i},89760(e,t,r){"use strict";const n=r(56563),i={value:String};t.generate=function(e){this.token(n.Comment,"/*"+e.value+"*/")},t.name="Comment",t.parse=function(){const e=this.tokenStart;let t=this.tokenEnd;return this.eat(n.Comment),t-e+2>=2&&42===this.charCodeAt(t-2)&&47===this.charCodeAt(t-1)&&(t-=2),{type:"Comment",loc:this.getLocation(e,this.tokenStart),value:this.substring(e+2,t)}},t.structure=i},27163(e,t,r){"use strict";const n=r(9648),i=r(56563);function o(e){return this.Raw(e,this.consumeUntilExclamationMarkOrSemicolon,!0)}function a(e){return this.Raw(e,this.consumeUntilExclamationMarkOrSemicolon,!1)}function s(){const e=this.tokenIndex,t=this.Value();return"Raw"!==t.type&&!1===this.eof&&this.tokenType!==i.Semicolon&&!1===this.isDelim(33)&&!1===this.isBalanceEdge(e)&&this.error(),t}const u={important:[Boolean,String],property:String,value:["Value","Raw"]};function l(){const e=this.tokenStart;if(this.tokenType===i.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===i.Hash?this.eat(i.Hash):this.eat(i.Ident),this.substrToCursor(e)}function c(){this.eat(i.Delim),this.skipSC();const e=this.consume(i.Ident);return"important"===e||e}t.generate=function(e){this.token(i.Ident,e.property),this.token(i.Colon,":"),this.node(e.value),e.important&&(this.token(i.Delim,"!"),this.token(i.Ident,!0===e.important?"important":e.important))},t.name="Declaration",t.parse=function(){const e=this.tokenStart,t=this.tokenIndex,r=l.call(this),u=n.isCustomProperty(r),d=u?this.parseCustomProperty:this.parseValue,f=u?a:o;let p,h=!1;this.skipSC(),this.eat(i.Colon);const m=this.tokenIndex;if(u||this.skipSC(),p=d?this.parseWithFallback(s,f):f.call(this,this.tokenIndex),u&&"Value"===p.type&&p.children.isEmpty)for(let e=m-this.tokenIndex;e<=0;e++)if(this.lookupType(e)===i.WhiteSpace){p.children.appendData({type:"WhiteSpace",loc:null,value:" "});break}return this.isDelim(33)&&(h=c.call(this),this.skipSC()),!1===this.eof&&this.tokenType!==i.Semicolon&&!1===this.isBalanceEdge(t)&&this.error(),{type:"Declaration",loc:this.getLocation(e,this.tokenStart),important:h,property:r,value:p}},t.structure=u,t.walkContext="declaration"},95703(e,t,r){"use strict";const n=r(56563);function i(e){return this.Raw(e,this.consumeUntilSemicolonIncluded,!0)}t.generate=function(e){this.children(e,e=>{"Declaration"===e.type&&this.token(n.Semicolon,";")})},t.name="DeclarationList",t.parse=function(){const e=this.createList();for(;!this.eof;)switch(this.tokenType){case n.WhiteSpace:case n.Comment:case n.Semicolon:this.next();break;case n.AtKeyword:e.push(this.parseWithFallback(this.Atrule.bind(this,!0),i));break;default:this.isDelim(38)?e.push(this.parseWithFallback(this.Rule,i)):e.push(this.parseWithFallback(this.Declaration,i))}return{type:"DeclarationList",loc:this.getLocationFromList(e),children:e}},t.structure={children:[["Declaration","Atrule","Rule"]]}},40395(e,t,r){"use strict";const n=r(56563),i={value:String,unit:String};t.generate=function(e){this.token(n.Dimension,e.value+e.unit)},t.name="Dimension",t.parse=function(){const 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=i},98093(e,t,r){"use strict";const n=r(56563),i={name:String,children:[[]]};t.generate=function(e){this.token(n.Function,e.name+"("),this.children(e),this.token(n.RightParenthesis,")")},t.name="Function",t.parse=function(e,t){const r=this.tokenStart,i=this.consumeFunctionName(),o=i.toLowerCase();let a;return a=t.hasOwnProperty(o)?t[o].call(this,t):e.call(this,t),this.eof||this.eat(n.RightParenthesis),{type:"Function",loc:this.getLocation(r,this.tokenStart),name:i,children:a}},t.structure=i,t.walkContext="function"},91069(e,t,r){"use strict";const n=r(56563),i={value:String};t.generate=function(e){this.token(n.Hash,"#"+e.value)},t.name="Hash",t.parse=function(){const e=this.tokenStart;return this.eat(n.Hash),{type:"Hash",loc:this.getLocation(e,this.tokenStart),value:this.substrToCursor(e+1)}},t.structure=i,t.xxx="XXX"},24261(e,t,r){"use strict";const n=r(56563),i={name:String};t.generate=function(e){this.token(n.Delim,"#"+e.name)},t.name="IdSelector",t.parse=function(){const e=this.tokenStart;return this.eat(n.Hash),{type:"IdSelector",loc:this.getLocation(e,this.tokenStart),name:this.substrToCursor(e+1)}},t.structure=i},28124(e,t,r){"use strict";const n=r(56563),i={name:String};t.generate=function(e){this.token(n.Ident,e.name)},t.name="Identifier",t.parse=function(){return{type:"Identifier",loc:this.getLocation(this.tokenStart,this.tokenEnd),name:this.consume(n.Ident)}},t.structure=i},23035(e,t,r){"use strict";const n=r(56563),i={name:String,value:["Identifier","Number","Dimension","Ratio",null]};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="MediaFeature",t.parse=function(){const e=this.tokenStart;let t,r=null;if(this.eat(n.LeftParenthesis),this.skipSC(),t=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(e,this.tokenStart),name:t,value:r}},t.structure=i},28453(e,t,r){"use strict";const n=r(56563);t.generate=function(e){this.children(e)},t.name="MediaQuery",t.parse=function(){const e=this.createList();let 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)}return null===t&&this.error("Identifier or parenthesis is expected"),{type:"MediaQuery",loc:this.getLocationFromList(e),children:e}},t.structure={children:[["Identifier","MediaFeature","WhiteSpace"]]}},95901(e,t,r){"use strict";const n=r(56563);t.generate=function(e){this.children(e,()=>this.token(n.Comma,","))},t.name="MediaQueryList",t.parse=function(){const e=this.createList();for(this.skipSC();!this.eof&&(e.push(this.MediaQuery()),this.tokenType===n.Comma);)this.next();return{type:"MediaQueryList",loc:this.getLocationFromList(e),children:e}},t.structure={children:[["MediaQuery"]]}},16526(e,t,r){"use strict";const n=r(56563);t.generate=function(){this.token(n.Delim,"&")},t.name="NestingSelector",t.parse=function(){const e=this.tokenStart;return this.eatDelim(38),{type:"NestingSelector",loc:this.getLocation(e,this.tokenStart)}},t.structure={}},83541(e,t,r){"use strict";const n=r(56563);t.generate=function(e){this.node(e.nth),null!==e.selector&&(this.token(n.Ident,"of"),this.node(e.selector))},t.name="Nth",t.parse=function(){this.skipSC();const e=this.tokenStart;let t,r=e,n=null;return t=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),{type:"Nth",loc:this.getLocation(e,r),nth:t,selector:n}},t.structure={nth:["AnPlusB","Identifier"],selector:["SelectorList",null]}},18514(e,t,r){"use strict";const n=r(56563),i={value:String};t.generate=function(e){this.token(n.Number,e.value)},t.name="Number",t.parse=function(){return{type:"Number",loc:this.getLocation(this.tokenStart,this.tokenEnd),value:this.consume(n.Number)}},t.structure=i},22189(e,t){"use strict";const r={value:String};t.generate=function(e){this.tokenize(e.value)},t.name="Operator",t.parse=function(){const e=this.tokenStart;return this.next(),{type:"Operator",loc:this.getLocation(e,this.tokenStart),value:this.substrToCursor(e)}},t.structure=r},86775(e,t,r){"use strict";const n=r(56563);t.generate=function(e){this.token(n.LeftParenthesis,"("),this.children(e),this.token(n.RightParenthesis,")")},t.name="Parentheses",t.parse=function(e,t){const r=this.tokenStart;let i=null;return this.eat(n.LeftParenthesis),i=e.call(this,t),this.eof||this.eat(n.RightParenthesis),{type:"Parentheses",loc:this.getLocation(r,this.tokenStart),children:i}},t.structure={children:[[]]}},7029(e,t,r){"use strict";const n=r(56563),i={value:String};t.generate=function(e){this.token(n.Percentage,e.value+"%")},t.name="Percentage",t.parse=function(){return{type:"Percentage",loc:this.getLocation(this.tokenStart,this.tokenEnd),value:this.consumeNumber(n.Percentage)}},t.structure=i},65390(e,t,r){"use strict";const n=r(56563),i={name:String,children:[["Raw"],null]};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="PseudoClassSelector",t.parse=function(){const e=this.tokenStart;let t,r,i=null;return this.eat(n.Colon),this.tokenType===n.Function?(t=this.consumeFunctionName(),r=t.toLowerCase(),hasOwnProperty.call(this.pseudo,r)?(this.skipSC(),i=this.pseudo[r].call(this),this.skipSC()):(i=this.createList(),i.push(this.Raw(this.tokenIndex,null,!1))),this.eat(n.RightParenthesis)):t=this.consume(n.Ident),{type:"PseudoClassSelector",loc:this.getLocation(e,this.tokenStart),name:t,children:i}},t.structure=i,t.walkContext="function"},5206(e,t,r){"use strict";const n=r(56563),i={name:String,children:[["Raw"],null]};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="PseudoElementSelector",t.parse=function(){const e=this.tokenStart;let t,r,i=null;return this.eat(n.Colon),this.eat(n.Colon),this.tokenType===n.Function?(t=this.consumeFunctionName(),r=t.toLowerCase(),hasOwnProperty.call(this.pseudo,r)?(this.skipSC(),i=this.pseudo[r].call(this),this.skipSC()):(i=this.createList(),i.push(this.Raw(this.tokenIndex,null,!1))),this.eat(n.RightParenthesis)):t=this.consume(n.Ident),{type:"PseudoElementSelector",loc:this.getLocation(e,this.tokenStart),name:t,children:i}},t.structure=i,t.walkContext="function"},91566(e,t,r){"use strict";const n=r(56563),i=r(32107);function o(){this.skipSC();const e=this.consume(n.Number);for(let t=0;t<e.length;t++){const r=e.charCodeAt(t);i.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}const a={left:String,right:String};t.generate=function(e){this.token(n.Number,e.left),this.token(n.Delim,"/"),this.token(n.Number,e.right)},t.name="Ratio",t.parse=function(){const e=this.tokenStart,t=o.call(this);let r;return this.skipSC(),this.eatDelim(47),r=o.call(this),{type:"Ratio",loc:this.getLocation(e,this.tokenStart),left:t,right:r}},t.structure=a},27725(e,t,r){"use strict";const n=r(56563);function i(){return this.tokenIndex>0&&this.lookupType(-1)===n.WhiteSpace?this.tokenIndex>1?this.getTokenStart(this.tokenIndex-1):this.firstCharOffset:this.tokenStart}const o={value:String};t.generate=function(e){this.tokenize(e.value)},t.name="Raw",t.parse=function(e,t,r){const n=this.getTokenStart(e);let o;return this.skipUntilBalanced(e,t||this.consumeUntilBalanceEnd),o=r&&this.tokenStart>n?i.call(this):this.tokenStart,{type:"Raw",loc:this.getLocation(n,o),value:this.substring(n,o)}},t.structure=o},42979(e,t,r){"use strict";const n=r(56563);function i(e){return this.Raw(e,this.consumeUntilLeftCurlyBracket,!0)}function o(){const e=this.SelectorList();return"Raw"!==e.type&&!1===this.eof&&this.tokenType!==n.LeftCurlyBracket&&this.error(),e}t.generate=function(e){this.node(e.prelude),this.node(e.block)},t.name="Rule",t.parse=function(){const e=this.tokenIndex,t=this.tokenStart;let r,n;return r=this.parseRulePrelude?this.parseWithFallback(o,i):i.call(this,e),n=this.Block(!0),{type:"Rule",loc:this.getLocation(t,this.tokenStart),prelude:r,block:n}},t.structure={prelude:["SelectorList","Raw"],block:["Block"]},t.walkContext="rule"},48506(e,t){"use strict";t.generate=function(e){this.children(e)},t.name="Selector",t.parse=function(){const e=this.readSequence(this.scope.Selector);return null===this.getFirstListNode(e)&&this.error("Selector is expected"),{type:"Selector",loc:this.getLocationFromList(e),children:e}},t.structure={children:[["TypeSelector","IdSelector","ClassSelector","AttributeSelector","PseudoClassSelector","PseudoElementSelector","Combinator","WhiteSpace"]]}},89910(e,t,r){"use strict";const n=r(56563);t.generate=function(e){this.children(e,()=>this.token(n.Comma,","))},t.name="SelectorList",t.parse=function(){const 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.structure={children:[["Selector","Raw"]]},t.walkContext="selector"},49902(e,t,r){"use strict";const n=r(86163),i=r(56563),o={value:String};t.generate=function(e){this.token(i.String,n.encode(e.value))},t.name="String",t.parse=function(){return{type:"String",loc:this.getLocation(this.tokenStart,this.tokenEnd),value:n.decode(this.consume(i.String))}},t.structure=o},13633(e,t,r){"use strict";const n=r(56563);function i(e){return this.Raw(e,null,!1)}t.generate=function(e){this.children(e)},t.name="StyleSheet",t.parse=function(){const e=this.tokenStart,t=this.createList();let r;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}r=this.Comment();break;case n.CDO:r=this.CDO();break;case n.CDC:r=this.CDC();break;case n.AtKeyword:r=this.parseWithFallback(this.Atrule,i);break;default:r=this.parseWithFallback(this.Rule,i)}t.push(r)}return{type:"StyleSheet",loc:this.getLocation(e,this.tokenStart),children:t}},t.structure={children:[["Comment","CDO","CDC","Atrule","Rule","Raw"]]},t.walkContext="stylesheet"},70274(e,t,r){"use strict";const n=r(56563);function i(){this.tokenType!==n.Ident&&!1===this.isDelim(42)&&this.error("Identifier or asterisk is expected"),this.next()}const o={name:String};t.generate=function(e){this.tokenize(e.name)},t.name="TypeSelector",t.parse=function(){const e=this.tokenStart;return this.isDelim(124)?(this.next(),i.call(this)):(i.call(this),this.isDelim(124)&&(this.next(),i.call(this))),{type:"TypeSelector",loc:this.getLocation(e,this.tokenStart),name:this.substrToCursor(e)}},t.structure=o},89213(e,t,r){"use strict";const n=r(56563),i=r(32107);function o(e,t){let r=0;for(let n=this.tokenStart+e;n<this.tokenEnd;n++){const a=this.charCodeAt(n);if(45===a&&t&&0!==r)return o.call(this,e+r+1,!1),-1;i.isHexDigit(a)||this.error(t&&0!==r?"Hyphen minus"+(r<6?" or hex digit":"")+" is expected":r<6?"Hex digit is expected":"Unexpected input",n),++r>6&&this.error("Too many hex digits",n)}return this.next(),r}function a(e){let t=0;for(;this.isDelim(63);)++t>e&&this.error("Too many question marks"),this.next()}function s(e){this.charCodeAt(this.tokenStart)!==e&&this.error((43===e?"Plus sign":"Hyphen minus")+" is expected")}function u(){let e=0;switch(this.tokenType){case n.Number:if(e=o.call(this,1,!0),this.isDelim(63)){a.call(this,6-e);break}if(this.tokenType===n.Dimension||this.tokenType===n.Number){s.call(this,45),o.call(this,1,!1);break}break;case n.Dimension:e=o.call(this,1,!0),e>0&&a.call(this,6-e);break;default:if(this.eatDelim(43),this.tokenType===n.Ident){e=o.call(this,0,!0),e>0&&a.call(this,6-e);break}if(this.isDelim(63)){this.next(),a.call(this,5);break}this.error("Hex digit or question mark is expected")}}const l={value:String};t.generate=function(e){this.tokenize(e.value)},t.name="UnicodeRange",t.parse=function(){const e=this.tokenStart;return this.eatIdent("u"),u.call(this),{type:"UnicodeRange",loc:this.getLocation(e,this.tokenStart),value:this.substrToCursor(e)}},t.structure=l},39520(e,t,r){"use strict";const n=r(83371),i=r(86163),o=r(56563),a={value:String};t.generate=function(e){this.token(o.Url,n.encode(e.value))},t.name="Url",t.parse=function(){const e=this.tokenStart;let t;switch(this.tokenType){case o.Url:t=n.decode(this.consume(o.Url));break;case o.Function:this.cmpStr(this.tokenStart,this.tokenEnd,"url(")||this.error("Function name must be `url`"),this.eat(o.Function),this.skipSC(),t=i.decode(this.consume(o.String)),this.skipSC(),this.eof||this.eat(o.RightParenthesis);break;default:this.error("Url or Function is expected")}return{type:"Url",loc:this.getLocation(e,this.tokenStart),value:t}},t.structure=a},78572(e,t){"use strict";t.generate=function(e){this.children(e)},t.name="Value",t.parse=function(){const e=this.tokenStart,t=this.readSequence(this.scope.Value);return{type:"Value",loc:this.getLocation(e,this.tokenStart),children:t}},t.structure={children:[[]]}},43330(e,t,r){"use strict";const n=r(56563),i=Object.freeze({type:"WhiteSpace",loc:null,value:" "}),o={value:String};t.generate=function(e){this.token(n.WhiteSpace,e.value)},t.name="WhiteSpace",t.parse=function(){return this.eat(n.WhiteSpace),i},t.structure=o},86485(e,t,r){"use strict";const n=r(69054),i=r(74644),o=r(5503),a=r(82260),s=r(95240),u=r(17338),l=r(54971),c=r(58447),d=r(98664),f=r(14511),p=r(89760),h=r(27163),m=r(95703),g=r(40395),y=r(98093),b=r(91069),v=r(28124),S=r(24261),w=r(23035),E=r(28453),_=r(95901),O=r(16526),x=r(83541),k=r(18514),P=r(22189),T=r(86775),A=r(7029),C=r(65390),L=r(5206),I=r(91566),N=r(27725),j=r(42979),R=r(48506),D=r(89910),M=r(49902),U=r(13633),B=r(70274),F=r(89213),q=r(39520),W=r(78572),H=r(43330);t.AnPlusB=n.generate,t.Atrule=i.generate,t.AtrulePrelude=o.generate,t.AttributeSelector=a.generate,t.Block=s.generate,t.Brackets=u.generate,t.CDC=l.generate,t.CDO=c.generate,t.ClassSelector=d.generate,t.Combinator=f.generate,t.Comment=p.generate,t.Declaration=h.generate,t.DeclarationList=m.generate,t.Dimension=g.generate,t.Function=y.generate,t.Hash=b.generate,t.Identifier=v.generate,t.IdSelector=S.generate,t.MediaFeature=w.generate,t.MediaQuery=E.generate,t.MediaQueryList=_.generate,t.NestingSelector=O.generate,t.Nth=x.generate,t.Number=k.generate,t.Operator=P.generate,t.Parentheses=T.generate,t.Percentage=A.generate,t.PseudoClassSelector=C.generate,t.PseudoElementSelector=L.generate,t.Ratio=I.generate,t.Raw=N.generate,t.Rule=j.generate,t.Selector=R.generate,t.SelectorList=D.generate,t.String=M.generate,t.StyleSheet=U.generate,t.TypeSelector=B.generate,t.UnicodeRange=F.generate,t.Url=q.generate,t.Value=W.generate,t.WhiteSpace=H.generate},40869(e,t,r){"use strict";const n=r(69054),i=r(74644),o=r(5503),a=r(82260),s=r(95240),u=r(17338),l=r(54971),c=r(58447),d=r(98664),f=r(14511),p=r(89760),h=r(27163),m=r(95703),g=r(40395),y=r(98093),b=r(91069),v=r(28124),S=r(24261),w=r(23035),E=r(28453),_=r(95901),O=r(16526),x=r(83541),k=r(18514),P=r(22189),T=r(86775),A=r(7029),C=r(65390),L=r(5206),I=r(91566),N=r(27725),j=r(42979),R=r(48506),D=r(89910),M=r(49902),U=r(13633),B=r(70274),F=r(89213),q=r(39520),W=r(78572),H=r(43330);t.AnPlusB=n.parse,t.Atrule=i.parse,t.AtrulePrelude=o.parse,t.AttributeSelector=a.parse,t.Block=s.parse,t.Brackets=u.parse,t.CDC=l.parse,t.CDO=c.parse,t.ClassSelector=d.parse,t.Combinator=f.parse,t.Comment=p.parse,t.Declaration=h.parse,t.DeclarationList=m.parse,t.Dimension=g.parse,t.Function=y.parse,t.Hash=b.parse,t.Identifier=v.parse,t.IdSelector=S.parse,t.MediaFeature=w.parse,t.MediaQuery=E.parse,t.MediaQueryList=_.parse,t.NestingSelector=O.parse,t.Nth=x.parse,t.Number=k.parse,t.Operator=P.parse,t.Parentheses=T.parse,t.Percentage=A.parse,t.PseudoClassSelector=C.parse,t.PseudoElementSelector=L.parse,t.Ratio=I.parse,t.Raw=N.parse,t.Rule=j.parse,t.Selector=R.parse,t.SelectorList=D.parse,t.String=M.parse,t.StyleSheet=U.parse,t.TypeSelector=B.parse,t.UnicodeRange=F.parse,t.Url=q.parse,t.Value=W.parse,t.WhiteSpace=H.parse},70935(e,t,r){"use strict";const n=r(69054),i=r(74644),o=r(5503),a=r(82260),s=r(95240),u=r(17338),l=r(54971),c=r(58447),d=r(98664),f=r(14511),p=r(89760),h=r(27163),m=r(95703),g=r(40395),y=r(98093),b=r(91069),v=r(28124),S=r(24261),w=r(23035),E=r(28453),_=r(95901),O=r(16526),x=r(83541),k=r(18514),P=r(22189),T=r(86775),A=r(7029),C=r(65390),L=r(5206),I=r(91566),N=r(27725),j=r(42979),R=r(48506),D=r(89910),M=r(49902),U=r(13633),B=r(70274),F=r(89213),q=r(39520),W=r(78572),H=r(43330);t.AnPlusB=n,t.Atrule=i,t.AtrulePrelude=o,t.AttributeSelector=a,t.Block=s,t.Brackets=u,t.CDC=l,t.CDO=c,t.ClassSelector=d,t.Combinator=f,t.Comment=p,t.Declaration=h,t.DeclarationList=m,t.Dimension=g,t.Function=y,t.Hash=b,t.Identifier=v,t.IdSelector=S,t.MediaFeature=w,t.MediaQuery=E,t.MediaQueryList=_,t.NestingSelector=O,t.Nth=x,t.Number=k,t.Operator=P,t.Parentheses=T,t.Percentage=A,t.PseudoClassSelector=C,t.PseudoElementSelector=L,t.Ratio=I,t.Raw=N,t.Rule=j,t.Selector=R,t.SelectorList=D,t.String=M,t.StyleSheet=U,t.TypeSelector=B,t.UnicodeRange=F,t.Url=q,t.Value=W,t.WhiteSpace=H},2717(e){"use strict";const t={parse(){return this.createSingleNodeList(this.SelectorList())}},r={parse(){return this.createSingleNodeList(this.Selector())}},n={parse(){return this.createSingleNodeList(this.Identifier())}},i={parse(){return this.createSingleNodeList(this.Nth())}},o={dir:n,has:t,lang:n,matches:t,is:t,"-moz-any":t,"-webkit-any":t,where:t,not:t,"nth-child":i,"nth-last-child":i,"nth-last-of-type":i,"nth-of-type":i,slotted:r,host:r,"host-context":r};e.exports=o},17455(e,t,r){"use strict";const n={getNode:r(61056)};e.exports=n},61056(e,t,r){"use strict";const n=r(56563);e.exports=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:{const e=this.charCodeAt(this.tokenStart);if(47===e||42===e||43===e||45===e)return this.Operator();35===e&&this.error("Hex or identifier is expected",this.tokenStart+1);break}}}},52039(e,t,r){"use strict";const n=r(17455),i=r(62506),o=r(86812);t.AtrulePrelude=n,t.Selector=i,t.Value=o},62506(e,t,r){"use strict";const n=r(56563),i={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();case 38:return this.NestingSelector()}}}};e.exports=i},86812(e,t,r){"use strict";const n=r(61056),i=r(95115),o=r(94356);function a(e){return null!==e&&"Operator"===e.type&&("-"===e.value[e.value.length-1]||"+"===e.value[e.value.length-1])}const s={getNode:n,onWhiteSpace(e,t){a(e)&&(e.value=" "+e.value),a(t.last)&&(t.last.value+=" ")},expression:i,var:o};e.exports=s},36103(e,t,r){"use strict";const n=r(29017),i=r(32107);function o(e){const t=e.source,r=t.length,o=t.length>0?i.isBOM(t.charCodeAt(0)):0,a=n.adoptBuffer(e.lines,r),s=n.adoptBuffer(e.columns,r);let u=e.startLine,l=e.startColumn;for(let e=o;e<r;e++){const n=t.charCodeAt(e);a[e]=u,s[e]=l++,10!==n&&13!==n&&12!==n||(13===n&&e+1<r&&10===t.charCodeAt(e+1)&&(e++,a[e]=u,s[e]=l),u++,l=1)}a[r]=u,s[r]=l,e.lines=a,e.columns=s,e.computed=!0}t.OffsetToLocation=class{constructor(){this.lines=null,this.columns=null,this.computed=!1}setSource(e,t=0,r=1,n=1){this.source=e,this.startOffset=t,this.startLine=r,this.startColumn=n,this.computed=!1}getLocation(e,t){return this.computed||o(this),{source:t,offset:this.startOffset+e,line:this.lines[e],column:this.columns[e]}}getLocationRange(e,t,r){return this.computed||o(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]}}}}},27255(e,t,r){"use strict";const n=r(29017),i=r(5103),o=r(61272),a=r(56563),s=16777215,u=24,l=new Map([[a.Function,a.RightParenthesis],[a.LeftParenthesis,a.RightParenthesis],[a.LeftSquareBracket,a.RightSquareBracket],[a.LeftCurlyBracket,a.RightCurlyBracket]]);t.TokenStream=class{constructor(e,t){this.setSource(e,t)}reset(){this.eof=!1,this.tokenIndex=-1,this.tokenType=0,this.tokenStart=this.firstCharOffset,this.tokenEnd=this.firstCharOffset}setSource(e="",t=()=>{}){const r=(e=String(e||"")).length,i=n.adoptBuffer(this.offsetAndType,e.length+1),o=n.adoptBuffer(this.balance,e.length+1);let c=0,d=0,f=0,p=-1;for(this.offsetAndType=null,this.balance=null,t(e,(e,t,n)=>{switch(e){default:o[c]=r;break;case d:{let e=f&s;for(f=o[e],d=f>>u,o[c]=e,o[e++]=c;e<c;e++)o[e]===r&&(o[e]=c);break}case a.LeftParenthesis:case a.Function:case a.LeftSquareBracket:case a.LeftCurlyBracket:o[c]=f,d=l.get(e),f=d<<u|c}i[c++]=e<<u|n,-1===p&&(p=t)}),i[c]=a.EOF<<u|r,o[c]=r,o[r]=r;0!==f;){const e=f&s;f=o[e],o[e]=r}this.source=e,this.firstCharOffset=-1===p?0:p,this.tokenCount=c,this.offsetAndType=i,this.balance=o,this.reset(),this.next()}lookupType(e){return(e+=this.tokenIndex)<this.tokenCount?this.offsetAndType[e]>>u:a.EOF}lookupOffset(e){return(e+=this.tokenIndex)<this.tokenCount?this.offsetAndType[e-1]&s:this.source.length}lookupValue(e,t){return(e+=this.tokenIndex)<this.tokenCount&&i.cmpStr(this.source,this.offsetAndType[e-1]&s,this.offsetAndType[e]&s,t)}getTokenStart(e){return e===this.tokenIndex?this.tokenStart:e>0?e<this.tokenCount?this.offsetAndType[e-1]&s:this.offsetAndType[this.tokenCount]&s:this.firstCharOffset}substrToCursor(e){return this.source.substring(e,this.tokenStart)}isBalanceEdge(e){return this.balance[this.tokenIndex]<e}isDelim(e,t){return t?this.lookupType(t)===a.Delim&&this.source.charCodeAt(this.lookupOffset(t))===e:this.tokenType===a.Delim&&this.source.charCodeAt(this.tokenStart)===e}skip(e){let t=this.tokenIndex+e;t<this.tokenCount?(this.tokenIndex=t,this.tokenStart=this.offsetAndType[t-1]&s,t=this.offsetAndType[t],this.tokenType=t>>u,this.tokenEnd=t&s):(this.tokenIndex=this.tokenCount,this.next())}next(){let e=this.tokenIndex+1;e<this.tokenCount?(this.tokenIndex=e,this.tokenStart=this.tokenEnd,e=this.offsetAndType[e],this.tokenType=e>>u,this.tokenEnd=e&s):(this.eof=!0,this.tokenIndex=this.tokenCount,this.tokenType=a.EOF,this.tokenStart=this.tokenEnd=this.source.length)}skipSC(){for(;this.tokenType===a.WhiteSpace||this.tokenType===a.Comment;)this.next()}skipUntilBalanced(e,t){let r,n,i=e;e:for(;i<this.tokenCount&&(r=this.balance[i],!(r<e));i++)switch(n=i>0?this.offsetAndType[i-1]&s:this.firstCharOffset,t(this.source.charCodeAt(n))){case 1:break e;case 2:i++;break e;default:this.balance[r]===i&&(i=r)}this.skip(i-this.tokenIndex)}forEachToken(e){for(let t=0,r=this.firstCharOffset;t<this.tokenCount;t++){const n=r,i=this.offsetAndType[t],o=i&s;r=o,e(i>>u,n,o,t)}}dump(){const e=new Array(this.tokenCount);return this.forEachToken((t,r,n,i)=>{e[i]={idx:i,type:o[t],chunk:this.source.substring(r,n),balance:this.balance[i]}}),e}}},29017(e,t){"use strict";t.adoptBuffer=function(e=null,t){return null===e||e.length<t?new Uint32Array(Math.max(t+1024,16384)):e}},32107(e,t){"use strict";function r(e){return e>=48&&e<=57}function n(e){return e>=65&&e<=90}function i(e){return e>=97&&e<=122}function o(e){return n(e)||i(e)}function a(e){return e>=128}function s(e){return o(e)||a(e)||95===e}function u(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 c(e){return l(e)||32===e||9===e}function d(e,t){return 92===e&&!l(t)&&0!==t}const f=new Array(128);for(let e=0;e<f.length;e++)f[e]=(c(e)?130:r(e)&&131)||s(e)&&132||u(e)&&133||e||128;t.DigitCategory=131,t.EofCategory=128,t.NameStartCategory=132,t.NonPrintableCategory=133,t.WhiteSpaceCategory=130,t.charCodeCategory=function(e){return e<128?f[e]:132},t.isBOM=function(e){return 65279===e||65534===e?1:0},t.isDigit=r,t.isHexDigit=function(e){return r(e)||e>=65&&e<=70||e>=97&&e<=102},t.isIdentifierStart=function(e,t,r){return 45===e?s(t)||45===t||d(t,r):!!s(e)||92===e&&d(e,t)},t.isLetter=o,t.isLowercaseLetter=i,t.isName=function(e){return s(e)||r(e)||45===e},t.isNameStart=s,t.isNewline=l,t.isNonAscii=a,t.isNonPrintable=u,t.isNumberStart=function(e,t,n){return 43===e||45===e?r(t)?2:46===t&&r(n)?3:0:46===e?r(t)?2:0:r(e)?1:0},t.isUppercaseLetter=n,t.isValidEscape=d,t.isWhiteSpace=c},76388(e,t,r){"use strict";const n=r(56563),i=r(32107),o=r(5103),a=(r(61272),r(36103)),s=r(27255);n.AtKeyword,n.BadString,n.BadUrl,n.CDC,n.CDO,n.Colon,n.Comma,n.Comment,n.Delim,n.Dimension,n.EOF,n.Function,n.Hash,n.Ident,n.LeftCurlyBracket,n.LeftParenthesis,n.LeftSquareBracket,n.Number,n.Percentage,n.RightCurlyBracket,n.RightParenthesis,n.RightSquareBracket,n.Semicolon,n.String,n.Url,n.WhiteSpace,i.DigitCategory,i.EofCategory,i.NameStartCategory,i.NonPrintableCategory,i.WhiteSpaceCategory,i.charCodeCategory,i.isBOM,i.isDigit,i.isHexDigit,i.isIdentifierStart,i.isLetter,i.isLowercaseLetter,i.isName,i.isNameStart,i.isNewline,i.isNonAscii,i.isNonPrintable,i.isNumberStart,i.isUppercaseLetter,i.isValidEscape,i.isWhiteSpace,o.cmpChar,o.cmpStr,o.consumeBadUrlRemnants,o.consumeEscaped,o.consumeName,o.consumeNumber,o.decodeEscaped,o.findDecimalNumberEnd,o.findWhiteSpaceEnd,o.findWhiteSpaceStart,o.getNewlineLength,a.OffsetToLocation,s.TokenStream,t.tokenize=function(e,t){function r(t){return t<l?e.charCodeAt(t):0}function a(){return f=o.consumeNumber(e,f),i.isIdentifierStart(r(f),r(f+1),r(f+2))?(c=n.Dimension,void(f=o.consumeName(e,f))):37===r(f)?(c=n.Percentage,void f++):void(c=n.Number)}function s(){const t=f;return f=o.consumeName(e,f),o.cmpStr(e,t,f,"url")&&40===r(f)?(f=o.findWhiteSpaceEnd(e,f+1),34===r(f)||39===r(f)?(c=n.Function,void(f=t+4)):void function(){for(c=n.Url,f=o.findWhiteSpaceEnd(e,f);f<e.length;f++){const t=e.charCodeAt(f);switch(i.charCodeCategory(t)){case 41:return void f++;case i.WhiteSpaceCategory:return f=o.findWhiteSpaceEnd(e,f),41===r(f)||f>=e.length?void(f<e.length&&f++):(f=o.consumeBadUrlRemnants(e,f),void(c=n.BadUrl));case 34:case 39:case 40:case i.NonPrintableCategory:return f=o.consumeBadUrlRemnants(e,f),void(c=n.BadUrl);case 92:if(i.isValidEscape(t,r(f+1))){f=o.consumeEscaped(e,f)-1;break}return f=o.consumeBadUrlRemnants(e,f),void(c=n.BadUrl)}}}()):40===r(f)?(c=n.Function,void f++):void(c=n.Ident)}function u(t){for(t||(t=r(f++)),c=n.String;f<e.length;f++){const a=e.charCodeAt(f);switch(i.charCodeCategory(a)){case t:return void f++;case i.WhiteSpaceCategory:if(i.isNewline(a))return f+=o.getNewlineLength(e,f,a),void(c=n.BadString);break;case 92:if(f===e.length-1)break;const s=r(f+1);i.isNewline(s)?f+=o.getNewlineLength(e,f+1,s):i.isValidEscape(a,s)&&(f=o.consumeEscaped(e,f)-1)}}}const l=(e=String(e||"")).length;let c,d=i.isBOM(r(0)),f=d;for(;f<l;){const l=e.charCodeAt(f);switch(i.charCodeCategory(l)){case i.WhiteSpaceCategory:c=n.WhiteSpace,f=o.findWhiteSpaceEnd(e,f+1);break;case 34:u();break;case 35:i.isName(r(f+1))||i.isValidEscape(r(f+1),r(f+2))?(c=n.Hash,f=o.consumeName(e,f+1)):(c=n.Delim,f++);break;case 39:u();break;case 40:c=n.LeftParenthesis,f++;break;case 41:c=n.RightParenthesis,f++;break;case 43:i.isNumberStart(l,r(f+1),r(f+2))?a():(c=n.Delim,f++);break;case 44:c=n.Comma,f++;break;case 45:i.isNumberStart(l,r(f+1),r(f+2))?a():45===r(f+1)&&62===r(f+2)?(c=n.CDC,f+=3):i.isIdentifierStart(l,r(f+1),r(f+2))?s():(c=n.Delim,f++);break;case 46:i.isNumberStart(l,r(f+1),r(f+2))?a():(c=n.Delim,f++);break;case 47:42===r(f+1)?(c=n.Comment,f=e.indexOf("*/",f+2),f=-1===f?e.length:f+2):(c=n.Delim,f++);break;case 58:c=n.Colon,f++;break;case 59:c=n.Semicolon,f++;break;case 60:33===r(f+1)&&45===r(f+2)&&45===r(f+3)?(c=n.CDO,f+=4):(c=n.Delim,f++);break;case 64:i.isIdentifierStart(r(f+1),r(f+2),r(f+3))?(c=n.AtKeyword,f=o.consumeName(e,f+1)):(c=n.Delim,f++);break;case 91:c=n.LeftSquareBracket,f++;break;case 92:i.isValidEscape(l,r(f+1))?s():(c=n.Delim,f++);break;case 93:c=n.RightSquareBracket,f++;break;case 123:c=n.LeftCurlyBracket,f++;break;case 125:c=n.RightCurlyBracket,f++;break;case i.DigitCategory:a();break;case i.NameStartCategory:s();break;default:c=n.Delim,f++}t(c,d,d=f)}}},61272(e){"use strict";e.exports=["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"]},56563(e,t){"use strict";t.AtKeyword=3,t.BadString=6,t.BadUrl=8,t.CDC=15,t.CDO=14,t.Colon=16,t.Comma=18,t.Comment=25,t.Delim=9,t.Dimension=12,t.EOF=0,t.Function=2,t.Hash=4,t.Ident=1,t.LeftCurlyBracket=23,t.LeftParenthesis=21,t.LeftSquareBracket=19,t.Number=10,t.Percentage=11,t.RightCurlyBracket=24,t.RightParenthesis=22,t.RightSquareBracket=20,t.Semicolon=17,t.String=5,t.Url=7,t.WhiteSpace=13},5103(e,t,r){"use strict";const n=r(32107);function i(e,t){return t<e.length?e.charCodeAt(t):0}function o(e,t,r){return 13===r&&10===i(e,t+1)?2:1}function a(e,t,r){let i=e.charCodeAt(t);return n.isUppercaseLetter(i)&&(i|=32),i===r}function s(e,t){for(;t<e.length&&n.isDigit(e.charCodeAt(t));t++);return t}function u(e,t){if(t+=2,n.isHexDigit(i(e,t-1))){for(const r=Math.min(e.length,t+5);t<r&&n.isHexDigit(i(e,t));t++);const r=i(e,t);n.isWhiteSpace(r)&&(t+=o(e,t,r))}return t}t.cmpChar=a,t.cmpStr=function(e,t,r,i){if(r-t!==i.length)return!1;if(t<0||r>e.length)return!1;for(let o=t;o<r;o++){const r=i.charCodeAt(o-t);let a=e.charCodeAt(o);if(n.isUppercaseLetter(a)&&(a|=32),a!==r)return!1}return!0},t.consumeBadUrlRemnants=function(e,t){for(;t<e.length;t++){const r=e.charCodeAt(t);if(41===r){t++;break}n.isValidEscape(r,i(e,t+1))&&(t=u(e,t))}return t},t.consumeEscaped=u,t.consumeName=function(e,t){for(;t<e.length;t++){const r=e.charCodeAt(t);if(!n.isName(r)){if(!n.isValidEscape(r,i(e,t+1)))break;t=u(e,t)-1}}return t},t.consumeNumber=function(e,t){let r=e.charCodeAt(t);if(43!==r&&45!==r||(r=e.charCodeAt(t+=1)),n.isDigit(r)&&(t=s(e,t+1),r=e.charCodeAt(t)),46===r&&n.isDigit(e.charCodeAt(t+1))&&(t=s(e,t+=2)),a(e,t,101)){let i=0;r=e.charCodeAt(t+1),45!==r&&43!==r||(i=1,r=e.charCodeAt(t+2)),n.isDigit(r)&&(t=s(e,t+1+i+1))}return t},t.decodeEscaped=function(e){if(1===e.length&&!n.isHexDigit(e.charCodeAt(0)))return e[0];let t=parseInt(e,16);return(0===t||t>=55296&&t<=57343||t>1114111)&&(t=65533),String.fromCodePoint(t)},t.findDecimalNumberEnd=s,t.findWhiteSpaceEnd=function(e,t){for(;t<e.length&&n.isWhiteSpace(e.charCodeAt(t));t++);return t},t.findWhiteSpaceStart=function(e,t){for(;t>=0&&n.isWhiteSpace(e.charCodeAt(t));t--);return t+1},t.getNewlineLength=o},77528(e,t){"use strict";let r=null;class n{static createItem(e){return{prev:null,next:null,data:e}}constructor(){this.head=null,this.tail=null,this.cursor=null}createItem(e){return n.createItem(e)}allocateCursor(e,t){let n;return null!==r?(n=r,r=r.cursor,n.prev=e,n.next=t,n.cursor=this.cursor):n={prev:e,next:t,cursor:this.cursor},this.cursor=n,n}releaseCursor(){const{cursor:e}=this;this.cursor=e.cursor,e.prev=null,e.next=null,e.cursor=r,r=e}updateCursors(e,t,r,n){let{cursor:i}=this;for(;null!==i;)i.prev===e&&(i.prev=t),i.next===r&&(i.next=n),i=i.cursor}*[Symbol.iterator](){for(let e=this.head;null!==e;e=e.next)yield e.data}get size(){let e=0;for(let t=this.head;null!==t;t=t.next)e++;return e}get isEmpty(){return null===this.head}get first(){return this.head&&this.head.data}get last(){return this.tail&&this.tail.data}fromArray(e){let t=null;this.head=null;for(let r of e){const e=n.createItem(r);null!==t?t.next=e:this.head=e,e.prev=t,t=e}return this.tail=t,this}toArray(){return[...this]}toJSON(){return[...this]}forEach(e,t=this){const r=this.allocateCursor(null,this.head);for(;null!==r.next;){const n=r.next;r.next=n.next,e.call(t,n.data,n,this)}this.releaseCursor()}forEachRight(e,t=this){const r=this.allocateCursor(this.tail,null);for(;null!==r.prev;){const n=r.prev;r.prev=n.prev,e.call(t,n.data,n,this)}this.releaseCursor()}reduce(e,t,r=this){let n,i=this.allocateCursor(null,this.head),o=t;for(;null!==i.next;)n=i.next,i.next=n.next,o=e.call(r,o,n.data,n,this);return this.releaseCursor(),o}reduceRight(e,t,r=this){let n,i=this.allocateCursor(this.tail,null),o=t;for(;null!==i.prev;)n=i.prev,i.prev=n.prev,o=e.call(r,o,n.data,n,this);return this.releaseCursor(),o}some(e,t=this){for(let r=this.head;null!==r;r=r.next)if(e.call(t,r.data,r,this))return!0;return!1}map(e,t=this){const r=new n;for(let n=this.head;null!==n;n=n.next)r.appendData(e.call(t,n.data,n,this));return r}filter(e,t=this){const r=new n;for(let n=this.head;null!==n;n=n.next)e.call(t,n.data,n,this)&&r.appendData(n.data);return r}nextUntil(e,t,r=this){if(null===e)return;const n=this.allocateCursor(null,e);for(;null!==n.next;){const e=n.next;if(n.next=e.next,t.call(r,e.data,e,this))break}this.releaseCursor()}prevUntil(e,t,r=this){if(null===e)return;const n=this.allocateCursor(e,null);for(;null!==n.prev;){const e=n.prev;if(n.prev=e.prev,t.call(r,e.data,e,this))break}this.releaseCursor()}clear(){this.head=null,this.tail=null}copy(){const e=new n;for(let t of this)e.appendData(t);return e}prepend(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}prependData(e){return this.prepend(n.createItem(e))}append(e){return this.insert(e)}appendData(e){return this.insert(n.createItem(e))}insert(e,t=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}insertData(e,t){return this.insert(n.createItem(e),t)}remove(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}push(e){this.insert(n.createItem(e))}pop(){return null!==this.tail?this.remove(this.tail):null}unshift(e){this.prepend(n.createItem(e))}shift(){return null!==this.head?this.remove(this.head):null}prependList(e){return this.insertList(e,this.head)}appendList(e){return this.insertList(e)}insertList(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}replace(e,t){"head"in t?this.insertList(t,e):this.insert(t,e),this.remove(e)}}t.List=n},96711(e,t,r){"use strict";const n=r(77528);t.clone=function e(t){const r={};for(const i in t){let o=t[i];o&&(Array.isArray(o)||o instanceof n.List?o=o.map(e):o.constructor===Object&&(o=e(o))),r[i]=o}return r}},82869(e,t){"use strict";t.createCustomError=function(e,t){const 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}/,`${e}: ${t}\n`)}})}},76974(e,t,r){"use strict";const n=r(32107),i=r(5103);t.decode=function(e){const t=e.length-1;let r="";for(let o=0;o<e.length;o++){let a=e.charCodeAt(o);if(92===a){if(o===t)break;if(a=e.charCodeAt(++o),n.isValidEscape(92,a)){const t=o-1,n=i.consumeEscaped(e,t);o=n-1,r+=i.decodeEscaped(e.substring(t+1,n))}else 13===a&&10===e.charCodeAt(o+1)&&o++}else r+=e[o]}return r},t.encode=function(e){let t="";if(1===e.length&&45===e.charCodeAt(0))return"\\-";for(let r=0;r<e.length;r++){const i=e.charCodeAt(r);0!==i?i<=31||127===i||i>=48&&i<=57&&(0===r||1===r&&45===e.charCodeAt(0))?t+="\\"+i.toString(16)+" ":n.isName(i)?t+=e.charAt(r):t+="\\"+e.charAt(r):t+="�"}return t}},78604(e,t,r){"use strict";const n=r(96711),i=r(76974),o=r(77528),a=r(9648),s=r(86163),u=r(83371);t.clone=n.clone,t.ident=i,t.List=o.List,t.isCustomProperty=a.isCustomProperty,t.keyword=a.keyword,t.property=a.property,t.vendorPrefix=a.vendorPrefix,t.string=s,t.url=u},9648(e,t){"use strict";const r=new Map,n=new Map,i=a;function o(e,t){return t=t||0,e.length-t>=2&&45===e.charCodeAt(t)&&45===e.charCodeAt(t+1)}function a(e,t){if(t=t||0,e.length-t>=3&&45===e.charCodeAt(t)&&45!==e.charCodeAt(t+1)){const r=e.indexOf("-",t+2);if(-1!==r)return e.substring(t,r+1)}return""}t.isCustomProperty=o,t.keyword=function(e){if(r.has(e))return r.get(e);const t=e.toLowerCase();let n=r.get(t);if(void 0===n){const e=o(t,0),r=e?"":a(t,0);n=Object.freeze({basename:t.substr(r.length),name:t,prefix:r,vendor:r,custom:e})}return r.set(e,n),n},t.property=function(e){if(n.has(e))return n.get(e);let t=e,r=e[0];"/"===r?r="/"===e[1]?"//":"/":"_"!==r&&"*"!==r&&"$"!==r&&"#"!==r&&"+"!==r&&"&"!==r&&(r="");const i=o(t,r.length);if(!i&&(t=t.toLowerCase(),n.has(t))){const r=n.get(t);return n.set(e,r),r}const s=i?"":a(t,r.length),u=t.substr(0,r.length+s.length),l=Object.freeze({basename:t.substr(u.length),name:t.substr(r.length),hack:r,vendor:s,prefix:u,custom:i});return n.set(e,l),l},t.vendorPrefix=i},86163(e,t,r){"use strict";const n=r(32107),i=r(5103);t.decode=function(e){const t=e.length,r=e.charCodeAt(0),o=34===r||39===r?1:0,a=1===o&&t>1&&e.charCodeAt(t-1)===r?t-2:t-1;let s="";for(let r=o;r<=a;r++){let o=e.charCodeAt(r);if(92===o){if(r===a){r!==t-1&&(s=e.substr(r+1));break}if(o=e.charCodeAt(++r),n.isValidEscape(92,o)){const t=r-1,n=i.consumeEscaped(e,t);r=n-1,s+=i.decodeEscaped(e.substring(t+1,n))}else 13===o&&10===e.charCodeAt(r+1)&&r++}else s+=e[r]}return s},t.encode=function(e,t){const r=t?"'":'"',i=t?39:34;let o="",a=!1;for(let t=0;t<e.length;t++){const r=e.charCodeAt(t);0!==r?r<=31||127===r?(o+="\\"+r.toString(16),a=!0):r===i||92===r?(o+="\\"+e.charAt(t),a=!1):(a&&(n.isHexDigit(r)||n.isWhiteSpace(r))&&(o+=" "),o+=e.charAt(t),a=!1):o+="�"}return r+o+r}},83371(e,t,r){"use strict";const n=r(32107),i=r(5103);t.decode=function(e){const t=e.length;let r=4,o=41===e.charCodeAt(t-1)?t-2:t-1,a="";for(;r<o&&n.isWhiteSpace(e.charCodeAt(r));)r++;for(;r<o&&n.isWhiteSpace(e.charCodeAt(o));)o--;for(let s=r;s<=o;s++){let r=e.charCodeAt(s);if(92===r){if(s===o){s!==t-1&&(a=e.substr(s+1));break}if(r=e.charCodeAt(++s),n.isValidEscape(92,r)){const t=s-1,r=i.consumeEscaped(e,t);s=r-1,a+=i.decodeEscaped(e.substring(t+1,r))}else 13===r&&10===e.charCodeAt(s+1)&&s++}else a+=e[s]}return a},t.encode=function(e){let t="",r=!1;for(let i=0;i<e.length;i++){const o=e.charCodeAt(i);0!==o?o<=31||127===o?(t+="\\"+o.toString(16),r=!0):32===o||92===o||34===o||39===o||40===o||41===o?(t+="\\"+e.charAt(i),r=!1):(r&&n.isHexDigit(o)&&(t+=" "),t+=e.charAt(i),r=!1):t+="�"}return"url("+t+")"}},83767(e,t){"use strict";const{hasOwnProperty:r}=Object.prototype,n=function(){};function i(e){return"function"==typeof e?e:n}function o(e,t){return function(r,n,i){r.type===t&&e.call(this,r,n,i)}}function a(e,t){const n=t.structure,i=[];for(const e in n){if(!1===r.call(n,e))continue;let t=n[e];const o={name:e,type:!1,nullable:!1};Array.isArray(t)||(t=[t]);for(const e of t)null===e?o.nullable=!0:"string"==typeof e?o.type="node":Array.isArray(e)&&(o.type="list");o.type&&i.push(o)}return i.length?{context:t.walkContext,fields:i}:null}function s(e,t){const r=e.fields.slice(),n=e.context,i="string"==typeof n;return t&&r.reverse(),function(e,o,a,s){let u;i&&(u=o[n],o[n]=e);for(const n of r){const r=e[n.name];if(!n.nullable||r)if("list"===n.type){if(t?r.reduceRight(s,!1):r.reduce(s,!1))return!0}else if(a(r))return!0}i&&(o[n]=u)}}function u({StyleSheet:e,Atrule:t,Rule:r,Block:n,DeclarationList:i}){return{Atrule:{StyleSheet:e,Atrule:t,Rule:r,Block:n},Rule:{StyleSheet:e,Atrule:t,Rule:r,Block:n},Declaration:{StyleSheet:e,Atrule:t,Rule:r,Block:n,DeclarationList:i}}}t.createWalker=function(e){const t=function(e){const t={};for(const n in e.node)if(r.call(e.node,n)){const r=e.node[n];if(!r.structure)throw new Error("Missed `structure` field in `"+n+"` node type definition");t[n]=a(0,r)}return t}(e),l={},c={},d=Symbol("break-walk"),f=Symbol("skip-node");for(const e in t)r.call(t,e)&&null!==t[e]&&(l[e]=s(t[e],!1),c[e]=s(t[e],!0));const p=u(l),h=u(c),m=function(e,r){function a(e,t,r){const n=s.call(y,e,t,r);return n===d||n!==f&&(!(!m.hasOwnProperty(e.type)||!m[e.type](e,y,a,g))||u.call(y,e,t,r)===d)}let s=n,u=n,m=l,g=(e,t,r,n)=>e||a(t,r,n);const y={break:d,skip:f,root:e,stylesheet:null,atrule:null,atrulePrelude:null,rule:null,selector:null,block:null,declaration:null,function:null};if("function"==typeof r)s=r;else if(r&&(s=i(r.enter),u=i(r.leave),r.reverse&&(m=c),r.visit)){if(p.hasOwnProperty(r.visit))m=r.reverse?h[r.visit]:p[r.visit];else if(!t.hasOwnProperty(r.visit))throw new Error("Bad value `"+r.visit+"` for `visit` option (should be: "+Object.keys(t).sort().join(", ")+")");s=o(s,r.visit),u=o(u,r.visit)}if(s===n&&u===n)throw new Error("Neither `enter` nor `leave` walker handler is set or both aren't a function");a(e)};return m.break=d,m.skip=f,m.find=function(e,t){let r=null;return m(e,function(e,n,i){if(t.call(this,e,n,i))return r=e,d}),r},m.findLast=function(e,t){let r=null;return m(e,{reverse:!0,enter(e,n,i){if(t.call(this,e,n,i))return r=e,d}}),r},m.findAll=function(e,t){const r=[];return m(e,function(e,n,i){t.call(this,e,n,i)&&r.push(e)}),r},m}},16065(e,t,r){"use strict";const n=r(83767),i=r(64533),o=n.createWalker(i);e.exports=o},46240(e,t,r){"use strict";var n,i=Object.create,o=Object.defineProperty,a=Object.getOwnPropertyDescriptor,s=Object.getOwnPropertyNames,u=Object.getPrototypeOf,l=Object.prototype.hasOwnProperty,c=(e,t,r,n)=>{if(t&&"object"==typeof t||"function"==typeof t)for(let i of s(t))!l.call(e,i)&&i!==r&&o(e,i,{get:()=>t[i],enumerable:!(n=a(t,i))||n.enumerable});return e},d={};((e,t)=>{for(var r in t)o(e,r,{get:t[r],enumerable:!0})})(d,{Provider:()=>le,ReactReduxContext:()=>re,batch:()=>Se,connect:()=>se,createDispatchHook:()=>he,createSelectorHook:()=>be,createStoreHook:()=>fe,legacy_connect:()=>ue,shallowEqual:()=>q,useDispatch:()=>me,useSelector:()=>ve,useStore:()=>pe}),e.exports=(n=d,c(o({},"__esModule",{value:!0}),n));var f=((e,t,r)=>(r=null!=e?i(u(e)):{},c(e&&e.__esModule?r:o(r,"default",{value:e,enumerable:!0}),e)))(r(64012)),p=f.version.startsWith("19"),h=Symbol.for(p?"react.transitional.element":"react.element"),m=Symbol.for("react.portal"),g=Symbol.for("react.fragment"),y=Symbol.for("react.strict_mode"),b=Symbol.for("react.profiler"),v=Symbol.for("react.consumer"),S=Symbol.for("react.context"),w=Symbol.for("react.forward_ref"),E=Symbol.for("react.suspense"),_=Symbol.for("react.suspense_list"),O=Symbol.for("react.memo"),x=Symbol.for("react.lazy"),k=w,P=O;function T(e,t,r,n,{areStatesEqual:i,areOwnPropsEqual:o,areStatePropsEqual:a}){let s,u,l,c,d,f=!1;return function(p,h){return f?function(f,p){let h=!o(p,u),m=!i(f,s,p,u);return s=f,u=p,h&&m?(l=e(s,u),t.dependsOnOwnProps&&(c=t(n,u)),d=r(l,c,u),d):h?(e.dependsOnOwnProps&&(l=e(s,u)),t.dependsOnOwnProps&&(c=t(n,u)),d=r(l,c,u),d):m?function(){let t=e(s,u),n=!a(t,l);return l=t,n&&(d=r(l,c,u)),d}():d}(p,h):function(i,o){return s=i,u=o,l=e(s,u),c=t(n,u),d=r(l,c,u),f=!0,d}(p,h)}}function A(e){return function(t){let r=e(t);function n(){return r}return n.dependsOnOwnProps=!1,n}}function C(e){return e.dependsOnOwnProps?!!e.dependsOnOwnProps:1!==e.length}function L(e,t){return function(t,{displayName:r}){let n=function(e,t){return n.dependsOnOwnProps?n.mapToProps(e,t):n.mapToProps(e,void 0)};return n.dependsOnOwnProps=!0,n.mapToProps=function(t,r){n.mapToProps=e,n.dependsOnOwnProps=C(e);let i=n(t,r);return"function"==typeof i&&(n.mapToProps=i,n.dependsOnOwnProps=C(i),i=n(t,r)),i},n}}function I(e,t){return(r,n)=>{throw new Error(`Invalid value of type ${typeof e} for ${t} argument when connecting component ${n.wrappedComponentName}.`)}}function N(e,t,r){return{...r,...e,...t}}function j(e){e()}var R={notify(){},get:()=>[]};function D(e,t){let r,n=R,i=0,o=!1;function a(){l.onStateChange&&l.onStateChange()}function s(){i++,r||(r=t?t.addNestedSub(a):e.subscribe(a),n=function(){let e=null,t=null;return{clear(){e=null,t=null},notify(){j(()=>{let t=e;for(;t;)t.callback(),t=t.next})},get(){let t=[],r=e;for(;r;)t.push(r),r=r.next;return t},subscribe(r){let n=!0,i=t={callback:r,next:null,prev:t};return i.prev?i.prev.next=i:e=i,function(){!n||null===e||(n=!1,i.next?i.next.prev=i.prev:t=i.prev,i.prev?i.prev.next=i.next:e=i.next)}}}}())}function u(){i--,r&&0===i&&(r(),r=void 0,n.clear(),n=R)}let l={addNestedSub:function(e){s();let t=n.subscribe(e),r=!1;return()=>{r||(r=!0,t(),u())}},notifyNestedSubs:function(){n.notify()},handleChangeWrapper:a,isSubscribed:function(){return o},trySubscribe:function(){o||(o=!0,s())},tryUnsubscribe:function(){o&&(o=!1,u())},getListeners:()=>n};return l}var M=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u",U=typeof navigator<"u"&&"ReactNative"===navigator.product,B=M||U?f.useLayoutEffect:f.useEffect;function F(e,t){return e===t?0!==e||0!==t||1/e==1/t:e!=e&&t!=t}function q(e,t){if(F(e,t))return!0;if("object"!=typeof e||null===e||"object"!=typeof t||null===t)return!1;let r=Object.keys(e),n=Object.keys(t);if(r.length!==n.length)return!1;for(let n=0;n<r.length;n++)if(!Object.prototype.hasOwnProperty.call(t,r[n])||!F(e[r[n]],t[r[n]]))return!1;return!0}var W={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},H={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},V={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},z={[k]:{$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},[P]:V};function G(e){return function(e){return function(e){if("object"==typeof e&&null!==e){let{$$typeof:t}=e;switch(t){case h:switch(e=e.type){case g:case b:case y:case E:case _:return e;default:switch(e=e&&e.$$typeof){case S:case w:case x:case O:case v:return e;default:return t}}case m:return t}}}(e)===O}(e)?V:z[e.$$typeof]||W}var K=Object.defineProperty,$=Object.getOwnPropertyNames,Q=Object.getOwnPropertySymbols,Y=Object.getOwnPropertyDescriptor,X=Object.getPrototypeOf,Z=Object.prototype;function J(e,t){if("string"!=typeof t){if(Z){let r=X(t);r&&r!==Z&&J(e,r)}let r=$(t);Q&&(r=r.concat(Q(t)));let n=G(e),i=G(t);for(let o=0;o<r.length;++o){let a=r[o];if(!(H[a]||i&&i[a]||n&&n[a])){let r=Y(t,a);try{K(e,a,r)}catch{}}}}return e}var ee=Symbol.for("react-redux-context"),te=typeof globalThis<"u"?globalThis:{},re=function(){if(!f.createContext)return{};let e=te[ee]??=new Map,t=e.get(f.createContext);return t||(t=f.createContext(null),e.set(f.createContext,t)),t}(),ne=[null,null];function ie(e,t,r,n,i,o){e.current=n,r.current=!1,i.current&&(i.current=null,o())}function oe(e,t){return e===t}function ae(e,t,r,{pure:n,areStatesEqual:i=oe,areOwnPropsEqual:o=q,areStatePropsEqual:a=q,areMergedPropsEqual:s=q,forwardRef:u=!1,context:l=re}={}){let c=l,d=function(e){return e?"function"==typeof e?L(e):I(e,"mapStateToProps"):A(()=>({}))}(e),p=function(e){return e&&"object"==typeof e?A(t=>function(e,t){let r={};for(let n in e){let i=e[n];"function"==typeof i&&(r[n]=(...e)=>t(i(...e)))}return r}(e,t)):e?"function"==typeof e?L(e):I(e,"mapDispatchToProps"):A(e=>({dispatch:e}))}(t),h=function(e){return e?"function"==typeof e?function(e){return function(t,{displayName:r,areMergedPropsEqual:n}){let i,o=!1;return function(t,r,a){let s=e(t,r,a);return o?n(s,i)||(i=s):(o=!0,i=s),i}}}(e):I(e,"mergeProps"):()=>N}(r),m=!!e;return e=>{let t=e.displayName||e.name||"Component",r=`Connect(${t})`,n={shouldHandleStateChanges:m,displayName:r,wrappedComponentName:t,WrappedComponent:e,initMapStateToProps:d,initMapDispatchToProps:p,initMergeProps:h,areStatesEqual:i,areStatePropsEqual:a,areOwnPropsEqual:o,areMergedPropsEqual:s};function l(t){let[r,i,o]=f.useMemo(()=>{let{reactReduxForwardedRef:e,...r}=t;return[t.context,e,r]},[t]),a=f.useMemo(()=>c,[r,c]),s=f.useContext(a),u=!!t.store&&!!t.store.getState&&!!t.store.dispatch,l=!!s&&!!s.store,d=u?t.store:s.store,p=l?s.getServerState:d.getState,h=f.useMemo(()=>function(e,{initMapStateToProps:t,initMapDispatchToProps:r,initMergeProps:n,...i}){return T(t(e,i),r(e,i),n(e,i),e,i)}(d.dispatch,n),[d]),[g,y]=f.useMemo(()=>{if(!m)return ne;let e=D(d,u?void 0:s.subscription),t=e.notifyNestedSubs.bind(e);return[e,t]},[d,u,s]),b=f.useMemo(()=>u?s:{...s,subscription:g},[u,s,g]),v=f.useRef(void 0),S=f.useRef(o),w=f.useRef(void 0),E=f.useRef(!1),_=f.useRef(!1),O=f.useRef(void 0);B(()=>(_.current=!0,()=>{_.current=!1}),[]);let x,k=f.useMemo(()=>()=>w.current&&o===S.current?w.current:h(d.getState(),o),[d,o]),P=f.useMemo(()=>e=>g?function(e,t,r,n,i,o,a,s,u,l,c){if(!e)return()=>{};let d=!1,f=null,p=()=>{if(d||!s.current)return;let e,r,p=t.getState();try{e=n(p,i.current)}catch(e){r=e,f=e}r||(f=null),e===o.current?a.current||l():(o.current=e,u.current=e,a.current=!0,c())};return r.onStateChange=p,r.trySubscribe(),p(),()=>{if(d=!0,r.tryUnsubscribe(),r.onStateChange=null,f)throw f}}(m,d,g,h,S,v,E,_,w,y,e):()=>{},[g]);!function(e,t){B(()=>e(...t),void 0)}(ie,[S,v,E,o,w,y]);try{x=f.useSyncExternalStore(P,k,p?()=>h(p(),o):k)}catch(e){throw O.current&&(e.message+=`\nThe error may be correlated with this previous error:\n${O.current.stack}\n\n`),e}B(()=>{O.current=void 0,w.current=void 0,v.current=x});let A=f.useMemo(()=>f.createElement(e,{...x,ref:i}),[i,e,x]);return f.useMemo(()=>m?f.createElement(a.Provider,{value:b},A):A,[a,A,b])}let g=f.memo(l);if(g.WrappedComponent=e,g.displayName=l.displayName=r,u){let t=f.forwardRef(function(e,t){return f.createElement(g,{...e,reactReduxForwardedRef:t})});return t.displayName=r,t.WrappedComponent=e,J(t,e)}return J(g,e)}}var se=ae,ue=ae,le=function(e){let{children:t,context:r,serverState:n,store:i}=e,o=f.useMemo(()=>{let e=D(i);return{store:i,subscription:e,getServerState:n?()=>n:void 0}},[i,n]),a=f.useMemo(()=>i.getState(),[i]);return B(()=>{let{subscription:e}=o;return e.onStateChange=e.notifyNestedSubs,e.trySubscribe(),a!==i.getState()&&e.notifyNestedSubs(),()=>{e.tryUnsubscribe(),e.onStateChange=void 0}},[o,a]),f.createElement((r||re).Provider,{value:o},t)};function ce(e=re){return function(){return f.useContext(e)}}var de=ce();function fe(e=re){let t=e===re?de:ce(e),r=()=>{let{store:e}=t();return e};return Object.assign(r,{withTypes:()=>r}),r}var pe=fe();function he(e=re){let t=e===re?pe:fe(e),r=()=>t().dispatch;return Object.assign(r,{withTypes:()=>r}),r}var me=he(),ge=r(2368),ye=(e,t)=>e===t;function be(e=re){let t=e===re?de:ce(e),r=(e,r={})=>{let{equalityFn:n=ye}="function"==typeof r?{equalityFn:r}:r,i=t(),{store:o,subscription:a,getServerState:s}=i,u=(f.useRef(!0),f.useCallback({[e.name]:t=>e(t)}[e.name],[e])),l=(0,ge.useSyncExternalStoreWithSelector)(a.addNestedSub,o.getState,s||o.getState,u,n);return f.useDebugValue(l),l};return Object.assign(r,{withTypes:()=>r}),r}var ve=be(),Se=j},9193(e){"use strict";var t,r=Object.defineProperty,n=Object.getOwnPropertyDescriptor,i=Object.getOwnPropertyNames,o=Object.prototype.hasOwnProperty,a={};function s(e){return({dispatch:t,getState:r})=>n=>i=>"function"==typeof i?i(t,r,e):n(i)}((e,t)=>{for(var n in t)r(e,n,{get:t[n],enumerable:!0})})(a,{thunk:()=>u,withExtraArgument:()=>l}),e.exports=(t=a,((e,t,a,s)=>{if(t&&"object"==typeof t||"function"==typeof t)for(let a of i(t))o.call(e,a)||void 0===a||r(e,a,{get:()=>t[a],enumerable:!(s=n(t,a))||s.enumerable});return e})(r({},"__esModule",{value:!0}),t));var u=s(),l=s},40299(e){"use strict";var t,r=Object.defineProperty,n=Object.getOwnPropertyDescriptor,i=Object.getOwnPropertyNames,o=Object.prototype.hasOwnProperty,a={};function s(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. `}((e,t)=>{for(var n in t)r(e,n,{get:t[n],enumerable:!0})})(a,{__DO_NOT_USE__ActionTypes:()=>c,applyMiddleware:()=>b,bindActionCreators:()=>g,combineReducers:()=>h,compose:()=>y,createStore:()=>f,isAction:()=>v,isPlainObject:()=>d,legacy_createStore:()=>p}),e.exports=(t=a,((e,t,a,s)=>{if(t&&"object"==typeof t||"function"==typeof t)for(let a of i(t))o.call(e,a)||void 0===a||r(e,a,{get:()=>t[a],enumerable:!(s=n(t,a))||s.enumerable});return e})(r({},"__esModule",{value:!0}),t));var u=(()=>"function"==typeof Symbol&&Symbol.observable||"@@observable")(),l=()=>Math.random().toString(36).substring(7).split("").join("."),c={INIT:`@@redux/INIT${l()}`,REPLACE:`@@redux/REPLACE${l()}`,PROBE_UNKNOWN_ACTION:()=>`@@redux/PROBE_UNKNOWN_ACTION${l()}`};function d(e){if("object"!=typeof e||null===e)return!1;let t=e;for(;null!==Object.getPrototypeOf(t);)t=Object.getPrototypeOf(t);return Object.getPrototypeOf(e)===t||null===Object.getPrototypeOf(e)}function f(e,t,r){if("function"!=typeof e)throw new Error(s(2));if("function"==typeof t&&"function"==typeof r||"function"==typeof r&&"function"==typeof arguments[3])throw new Error(s(0));if("function"==typeof t&&void 0===r&&(r=t,t=void 0),void 0!==r){if("function"!=typeof r)throw new Error(s(1));return r(f)(e,t)}let n=e,i=t,o=new Map,a=o,l=0,p=!1;function h(){a===o&&(a=new Map,o.forEach((e,t)=>{a.set(t,e)}))}function m(){if(p)throw new Error(s(3));return i}function g(e){if("function"!=typeof e)throw new Error(s(4));if(p)throw new Error(s(5));let t=!0;h();const r=l++;return a.set(r,e),function(){if(t){if(p)throw new Error(s(6));t=!1,h(),a.delete(r),o=null}}}function y(e){if(!d(e))throw new Error(s(7));if(void 0===e.type)throw new Error(s(8));if("string"!=typeof e.type)throw new Error(s(17));if(p)throw new Error(s(9));try{p=!0,i=n(i,e)}finally{p=!1}return(o=a).forEach(e=>{e()}),e}return y({type:c.INIT}),{dispatch:y,subscribe:g,getState:m,replaceReducer:function(e){if("function"!=typeof e)throw new Error(s(10));n=e,y({type:c.REPLACE})},[u]:function(){const e=g;return{subscribe(t){if("object"!=typeof t||null===t)throw new Error(s(11));function r(){const e=t;e.next&&e.next(m())}return r(),{unsubscribe:e(r)}},[u](){return this}}}}}function p(e,t,r){return f(e,t,r)}function h(e){const t=Object.keys(e),r={};for(let n=0;n<t.length;n++){const i=t[n];"function"==typeof e[i]&&(r[i]=e[i])}const n=Object.keys(r);let i;try{!function(e){Object.keys(e).forEach(t=>{const r=e[t];if(void 0===r(void 0,{type:c.INIT}))throw new Error(s(12));if(void 0===r(void 0,{type:c.PROBE_UNKNOWN_ACTION()}))throw new Error(s(13))})}(r)}catch(e){i=e}return function(e={},t){if(i)throw i;let o=!1;const a={};for(let i=0;i<n.length;i++){const u=n[i],l=r[u],c=e[u],d=l(c,t);if(void 0===d)throw t&&t.type,new Error(s(14));a[u]=d,o=o||d!==c}return o=o||n.length!==Object.keys(e).length,o?a:e}}function m(e,t){return function(...r){return t(e.apply(this,r))}}function g(e,t){if("function"==typeof e)return m(e,t);if("object"!=typeof e||null===e)throw new Error(s(16));const r={};for(const n in e){const i=e[n];"function"==typeof i&&(r[n]=m(i,t))}return r}function y(...e){return 0===e.length?e=>e:1===e.length?e[0]:e.reduce((e,t)=>(...r)=>e(t(...r)))}function b(...e){return t=>(r,n)=>{const i=t(r,n);let o=()=>{throw new Error(s(15))};const a={getState:i.getState,dispatch:(e,...t)=>o(e,...t)},u=e.map(e=>e(a));return o=y(...u)(i.dispatch),{...i,dispatch:o}}}function v(e){return d(e)&&"type"in e&&"string"==typeof e.type}}},a={};function s(e){var t=a[e];if(void 0!==t)return t.exports;var r=a[e]={id:e,loaded:!1,exports:{}};return o[e].call(r.exports,r,r.exports,s),r.loaded=!0,r.exports}s.m=o,r=Object.getPrototypeOf?e=>Object.getPrototypeOf(e):e=>e.__proto__,s.t=function(e,n){if(1&n&&(e=this(e)),8&n)return e;if("object"==typeof e&&e){if(4&n&&e.__esModule)return e;if(16&n&&"function"==typeof e.then)return e}var i=Object.create(null);s.r(i);var o={};t=t||[null,r({}),r([]),r(r)];for(var a=2&n&&e;("object"==typeof a||"function"==typeof a)&&!~t.indexOf(a);a=r(a))Object.getOwnPropertyNames(a).forEach(t=>o[t]=()=>e[t]);return o.default=()=>e,s.d(i,o),i},s.d=(e,t)=>{for(var r in t)s.o(t,r)&&!s.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},s.f={},s.e=e=>Promise.all(Object.keys(s.f).reduce((t,r)=>(s.f[r](e,t),t),[])),s.u=e=>e+".js",s.miniCssF=e=>{},s.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),s.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),n={},i="BberReader:",s.l=(e,t,r,o)=>{if(n[e])n[e].push(t);else{var a,u;if(void 0!==r)for(var l=document.getElementsByTagName("script"),c=0;c<l.length;c++){var d=l[c];if(d.getAttribute("src")==e||d.getAttribute("data-webpack")==i+r){a=d;break}}a||(u=!0,(a=document.createElement("script")).charset="utf-8",s.nc&&a.setAttribute("nonce",s.nc),a.setAttribute("data-webpack",i+r),a.src=e),n[e]=[t];var f=(t,r)=>{a.onerror=a.onload=null,clearTimeout(p);var i=n[e];if(delete n[e],a.parentNode&&a.parentNode.removeChild(a),i&&i.forEach(e=>e(r)),t)return t(r)},p=setTimeout(f.bind(null,void 0,{type:"timeout",target:a}),12e4);a.onerror=f.bind(null,a.onerror),a.onload=f.bind(null,a.onload),u&&document.head.appendChild(a)}},s.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},s.nmd=e=>(e.paths=[],e.children||(e.children=[]),e),s.p="/",(()=>{var e={57:0};s.f.j=(t,r)=>{var n=s.o(e,t)?e[t]:void 0;if(0!==n)if(n)r.push(n[2]);else{var i=new Promise((r,i)=>n=e[t]=[r,i]);r.push(n[2]=i);var o=s.p+s.u(t),a=new Error;s.l(o,r=>{if(s.o(e,t)&&(0!==(n=e[t])&&(e[t]=void 0),n)){var i=r&&("load"===r.type?"missing":r.type),o=r&&r.target&&r.target.src;a.message="Loading chunk "+t+" failed.\n("+i+": "+o+")",a.name="ChunkLoadError",a.type=i,a.request=o,n[1](a)}},"chunk-"+t,t)}};var t=(t,r)=>{var n,i,[o,a,u]=r,l=0;if(o.some(t=>0!==e[t])){for(n in a)s.o(a,n)&&(s.m[n]=a[n]);u&&u(s)}for(t&&t(r);l<o.length;l++)i=o[l],s.o(e,i)&&e[i]&&e[i][0](),e[i]=0},r=self.webpackChunkBberReader=self.webpackChunkBberReader||[];r.forEach(t.bind(null,0)),r.push=t.bind(null,r.push.bind(r))})();var u={};return(()=>{"use strict";var e=u;Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=f(s(64012)),r=s(40299),n=s(43275),i=s(9193),o=f(s(23083)),a=s(18788),l=s(51966),c=s(28802),d=f(s(83625));function f(e){return e&&e.__esModule?e:{default:e}}s(28133);const p=()=>t.default.createElement("meta",{name:"generator",content:`b-ber-react-reader: ${d.default}`});e.default=(e={})=>{const s=(0,r.createStore)(o.default,{readerSettings:(0,l.mergeDeep)(a.initialState,e)},(0,r.compose)((0,r.applyMiddleware)(i.thunk)));return t.default.createElement(n.Provider,{store:s},t.default.createElement(p,null),t.default.createElement(c.App,null))}})(),u})());
|
|
1
|
+
(function(e,t){typeof exports==`object`&&typeof module<`u`?module.exports=t(require("react")):typeof define==`function`&&define.amd?define([`react`],t):(e=typeof globalThis<`u`?globalThis:e||self,e.BberReader=t(e.React))})(this,function(e){var t=Object.create,n=Object.defineProperty,r=Object.getOwnPropertyDescriptor,i=Object.getOwnPropertyNames,a=Object.getPrototypeOf,o=Object.prototype.hasOwnProperty,s=(e,t)=>()=>(e&&(t=e(e=0)),t),c=(e,t)=>()=>(t||(e((t={exports:{}}).exports,t),e=null),t.exports),l=(e,t)=>{let r={};for(var i in e)n(r,i,{get:e[i],enumerable:!0});return t||n(r,Symbol.toStringTag,{value:`Module`}),r},u=(e,t,a,s)=>{if(t&&typeof t==`object`||typeof t==`function`)for(var c=i(t),l=0,u=c.length,d;l<u;l++)d=c[l],!o.call(e,d)&&d!==a&&n(e,d,{get:(e=>t[e]).bind(null,d),enumerable:!(s=r(t,d))||s.enumerable});return e},d=(e,r,i)=>(i=e==null?{}:t(a(e)),u(r||!e||!e.__esModule?n(i,`default`,{value:e,enumerable:!0}):i,e)),f=e=>o.call(e,`module.exports`)?e[`module.exports`]:u(n({},`__esModule`,{value:!0}),e);let p=d(e,1);e=d(e);var m=c((e=>{var t=require("react");function n(e,t){return e===t&&(e!==0||1/e==1/t)||e!==e&&t!==t}var r=typeof Object.is==`function`?Object.is:n,i=t.useSyncExternalStore,a=t.useRef,o=t.useEffect,s=t.useMemo,c=t.useDebugValue;e.useSyncExternalStoreWithSelector=function(e,t,n,l,u){var d=a(null);if(d.current===null){var f={hasValue:!1,value:null};d.current=f}else f=d.current;d=s(function(){function e(e){if(!i){if(i=!0,a=e,e=l(e),u!==void 0&&f.hasValue){var t=f.value;if(u(t,e))return o=t}return o=e}if(t=o,r(a,e))return t;var n=l(e);return u!==void 0&&u(t,n)?(a=e,t):(a=e,o=n)}var i=!1,a,o,s=n===void 0?null:n;return[function(){return e(t())},s===null?void 0:function(){return e(s())}]},[t,n,l,u]);var p=i(e,d[0],d[1]);return o(function(){f.hasValue=!0,f.value=p},[p]),c(p),p}})),h=c((e=>{process.env.NODE_ENV!==`production`&&(function(){function t(e,t){return e===t&&(e!==0||1/e==1/t)||e!==e&&t!==t}typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<`u`&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart==`function`&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error());var n=require("react"),r=typeof Object.is==`function`?Object.is:t,i=n.useSyncExternalStore,a=n.useRef,o=n.useEffect,s=n.useMemo,c=n.useDebugValue;e.useSyncExternalStoreWithSelector=function(e,t,n,l,u){var d=a(null);if(d.current===null){var f={hasValue:!1,value:null};d.current=f}else f=d.current;d=s(function(){function e(e){if(!i){if(i=!0,a=e,e=l(e),u!==void 0&&f.hasValue){var t=f.value;if(u(t,e))return o=t}return o=e}if(t=o,r(a,e))return t;var n=l(e);return u!==void 0&&u(t,n)?(a=e,t):(a=e,o=n)}var i=!1,a,o,s=n===void 0?null:n;return[function(){return e(t())},s===null?void 0:function(){return e(s())}]},[t,n,l,u]);var p=i(e,d[0],d[1]);return o(function(){f.hasValue=!0,f.value=p},[p]),c(p),p},typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<`u`&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop==`function`&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error())})()}));c(((e,t)=>{process.env.NODE_ENV===`production`?t.exports=m():t.exports=h()}))();var g=p.version.startsWith(`19`),_=Symbol.for(g?`react.transitional.element`:`react.element`),v=Symbol.for(`react.portal`),y=Symbol.for(`react.fragment`),b=Symbol.for(`react.strict_mode`),x=Symbol.for(`react.profiler`),S=Symbol.for(`react.consumer`),C=Symbol.for(`react.context`),w=Symbol.for(`react.forward_ref`),T=Symbol.for(`react.suspense`),E=Symbol.for(`react.suspense_list`),D=Symbol.for(`react.memo`),O=Symbol.for(`react.lazy`),k=Symbol.for(`react.offscreen`),A=Symbol.for(`react.client.reference`),j=w,M=D;function N(e){return!!(typeof e==`string`||typeof e==`function`||e===y||e===x||e===b||e===T||e===E||e===k||typeof e==`object`&&e&&(e.$$typeof===O||e.$$typeof===D||e.$$typeof===C||e.$$typeof===S||e.$$typeof===w||e.$$typeof===A||e.getModuleId!==void 0))}function P(e){if(typeof e==`object`&&e){let{$$typeof:t}=e;switch(t){case _:switch(e=e.type,e){case y:case x:case b:case T:case E:return e;default:switch(e&&=e.$$typeof,e){case C:case w:case O:case D:return e;case S:return e;default:return t}}case v:return t}}}function F(e){return g?P(e)===S:P(e)===C}function I(e){return P(e)===D}function L(e){typeof console<`u`&&typeof console.error==`function`&&console.error(e);try{throw Error(e)}catch{}}function R(e,t){if(e)(t===`mapStateToProps`||t===`mapDispatchToProps`)&&(Object.prototype.hasOwnProperty.call(e,`dependsOnOwnProps`)||L(`The selector for ${t} of connect did not specify a value for dependsOnOwnProps.`));else throw Error(`Unexpected value for ${t} in connect.`)}function ee(e,t,n){R(e,`mapStateToProps`),R(t,`mapDispatchToProps`),R(n,`mergeProps`)}function z(e,t,n,r,{areStatesEqual:i,areOwnPropsEqual:a,areStatePropsEqual:o}){let s=!1,c,l,u,d,f;function p(i,a){return c=i,l=a,u=e(c,l),d=t(r,l),f=n(u,d,l),s=!0,f}function m(){return u=e(c,l),t.dependsOnOwnProps&&(d=t(r,l)),f=n(u,d,l),f}function h(){return e.dependsOnOwnProps&&(u=e(c,l)),t.dependsOnOwnProps&&(d=t(r,l)),f=n(u,d,l),f}function g(){let t=e(c,l),r=!o(t,u);return u=t,r&&(f=n(u,d,l)),f}function _(e,t){let n=!a(t,l),r=!i(e,c,t,l);return c=e,l=t,n&&r?m():n?h():r?g():f}return function(e,t){return s?_(e,t):p(e,t)}}function te(e,{initMapStateToProps:t,initMapDispatchToProps:n,initMergeProps:r,...i}){let a=t(e,i),o=n(e,i),s=r(e,i);return process.env.NODE_ENV!==`production`&&ee(a,o,s),z(a,o,s,e,i)}function ne(e,t){let n={};for(let r in e){let i=e[r];typeof i==`function`&&(n[r]=(...e)=>t(i(...e)))}return n}function re(e){if(typeof e!=`object`||!e)return!1;let t=Object.getPrototypeOf(e);if(t===null)return!0;let n=t;for(;Object.getPrototypeOf(n)!==null;)n=Object.getPrototypeOf(n);return t===n}function ie(e,t,n){re(e)||L(`${n}() in ${t} must return a plain object. Instead received ${e}.`)}function ae(e){return function(t){let n=e(t);function r(){return n}return r.dependsOnOwnProps=!1,r}}function oe(e){return e.dependsOnOwnProps?!!e.dependsOnOwnProps:e.length!==1}function se(e,t){return function(n,{displayName:r}){let i=function(e,t){return i.dependsOnOwnProps?i.mapToProps(e,t):i.mapToProps(e,void 0)};return i.dependsOnOwnProps=!0,i.mapToProps=function(n,a){i.mapToProps=e,i.dependsOnOwnProps=oe(e);let o=i(n,a);return typeof o==`function`&&(i.mapToProps=o,i.dependsOnOwnProps=oe(o),o=i(n,a)),process.env.NODE_ENV!==`production`&&ie(o,r,t),o},i}}function ce(e,t){return(n,r)=>{throw Error(`Invalid value of type ${typeof e} for ${t} argument when connecting component ${r.wrappedComponentName}.`)}}function le(e){return e&&typeof e==`object`?ae(t=>ne(e,t)):e?typeof e==`function`?se(e,`mapDispatchToProps`):ce(e,`mapDispatchToProps`):ae(e=>({dispatch:e}))}function ue(e){return e?typeof e==`function`?se(e,`mapStateToProps`):ce(e,`mapStateToProps`):ae(()=>({}))}function de(e,t,n){return{...n,...e,...t}}function fe(e){return function(t,{displayName:n,areMergedPropsEqual:r}){let i=!1,a;return function(t,o,s){let c=e(t,o,s);return i?r(c,a)||(a=c):(i=!0,a=c,process.env.NODE_ENV!==`production`&&ie(a,n,`mergeProps`)),a}}}function B(e){return e?typeof e==`function`?fe(e):ce(e,`mergeProps`):()=>de}function pe(e){e()}function me(){let e=null,t=null;return{clear(){e=null,t=null},notify(){pe(()=>{let t=e;for(;t;)t.callback(),t=t.next})},get(){let t=[],n=e;for(;n;)t.push(n),n=n.next;return t},subscribe(n){let r=!0,i=t={callback:n,next:null,prev:t};return i.prev?i.prev.next=i:e=i,function(){!r||e===null||(r=!1,i.next?i.next.prev=i.prev:t=i.prev,i.prev?i.prev.next=i.next:e=i.next)}}}}var he={notify(){},get:()=>[]};function ge(e,t){let n,r=he,i=0,a=!1;function o(e){u();let t=r.subscribe(e),n=!1;return()=>{n||(n=!0,t(),d())}}function s(){r.notify()}function c(){m.onStateChange&&m.onStateChange()}function l(){return a}function u(){i++,n||(n=t?t.addNestedSub(c):e.subscribe(c),r=me())}function d(){i--,n&&i===0&&(n(),n=void 0,r.clear(),r=he)}function f(){a||(a=!0,u())}function p(){a&&(a=!1,d())}let m={addNestedSub:o,notifyNestedSubs:s,handleChangeWrapper:c,isSubscribed:l,trySubscribe:f,tryUnsubscribe:p,getListeners:()=>r};return m}var V=typeof window<`u`&&window.document!==void 0&&window.document.createElement!==void 0,_e=typeof navigator<`u`&&navigator.product===`ReactNative`,ve=V||_e?p.useLayoutEffect:p.useEffect;function ye(e,t){return e===t?e!==0||t!==0||1/e==1/t:e!==e&&t!==t}function be(e,t){if(ye(e,t))return!0;if(typeof e!=`object`||!e||typeof t!=`object`||!t)return!1;let n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return!1;for(let r=0;r<n.length;r++)if(!Object.prototype.hasOwnProperty.call(t,n[r])||!ye(e[n[r]],t[n[r]]))return!1;return!0}var xe={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},Se={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},Ce={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},we={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},Te={[j]:Ce,[M]:we};function Ee(e){return I(e)?we:Te[e.$$typeof]||xe}var De=Object.defineProperty,Oe=Object.getOwnPropertyNames,ke=Object.getOwnPropertySymbols,Ae=Object.getOwnPropertyDescriptor,je=Object.getPrototypeOf,Me=Object.prototype;function Ne(e,t){if(typeof t!=`string`){if(Me){let n=je(t);n&&n!==Me&&Ne(e,n)}let n=Oe(t);ke&&(n=n.concat(ke(t)));let r=Ee(e),i=Ee(t);for(let a=0;a<n.length;++a){let o=n[a];if(!Se[o]&&!(i&&i[o])&&!(r&&r[o])){let n=Ae(t,o);try{De(e,o,n)}catch{}}}}return e}var Pe=Symbol.for(`react-redux-context`),Fe=typeof globalThis<`u`?globalThis:{};function Ie(){if(!p.createContext)return{};let e=Fe[Pe]??=new Map,t=e.get(p.createContext);return t||(t=p.createContext(null),process.env.NODE_ENV!==`production`&&(t.displayName=`ReactRedux`),e.set(p.createContext,t)),t}var Le=Ie(),Re=[null,null],ze=e=>{try{return JSON.stringify(e)}catch{return String(e)}};function Be(e,t,n){ve(()=>e(...t),n)}function Ve(e,t,n,r,i,a){e.current=r,n.current=!1,i.current&&(i.current=null,a())}function He(e,t,n,r,i,a,o,s,c,l,u){if(!e)return()=>{};let d=!1,f=null,p=()=>{if(d||!s.current)return;let e=t.getState(),n,p;try{n=r(e,i.current)}catch(e){p=e,f=e}p||(f=null),n===a.current?o.current||l():(a.current=n,c.current=n,o.current=!0,u())};return n.onStateChange=p,n.trySubscribe(),p(),()=>{if(d=!0,n.tryUnsubscribe(),n.onStateChange=null,f)throw f}}function Ue(e,t){return e===t}var We=!1;function Ge(e,t,n,{pure:r,areStatesEqual:i=Ue,areOwnPropsEqual:a=be,areStatePropsEqual:o=be,areMergedPropsEqual:s=be,forwardRef:c=!1,context:l=Le}={}){process.env.NODE_ENV!==`production`&&r!==void 0&&!We&&(We=!0,L('The `pure` option has been removed. `connect` is now always a "pure/memoized" component'));let u=l,d=ue(e),f=le(t),m=B(n),h=!!e;return e=>{if(process.env.NODE_ENV!==`production`&&!N(e))throw Error(`You must pass a component to the function returned by connect. Instead received ${ze(e)}`);let t=e.displayName||e.name||`Component`,n=`Connect(${t})`,r={shouldHandleStateChanges:h,displayName:n,wrappedComponentName:t,WrappedComponent:e,initMapStateToProps:d,initMapDispatchToProps:f,initMergeProps:m,areStatesEqual:i,areStatePropsEqual:o,areOwnPropsEqual:a,areMergedPropsEqual:s};function l(t){let[i,a,o]=p.useMemo(()=>{let{reactReduxForwardedRef:e,...n}=t;return[t.context,e,n]},[t]),s=p.useMemo(()=>{let e=u;if(i?.Consumer&&process.env.NODE_ENV!==`production`){if(!F(p.createElement(i.Consumer,null)))throw Error("You must pass a valid React context consumer as `props.context`");e=i}return e},[i,u]),c=p.useContext(s),l=!!t.store&&!!t.store.getState&&!!t.store.dispatch,d=!!c&&!!c.store;if(process.env.NODE_ENV!==`production`&&!l&&!d)throw Error(`Could not find "store" in the context of "${n}". Either wrap the root component in a <Provider>, or pass a custom React context provider to <Provider> and the corresponding React context consumer to ${n} in connect options.`);let f=l?t.store:c.store,m=d?c.getServerState:f.getState,g=p.useMemo(()=>te(f.dispatch,r),[f]),[_,v]=p.useMemo(()=>{if(!h)return Re;let e=ge(f,l?void 0:c.subscription);return[e,e.notifyNestedSubs.bind(e)]},[f,l,c]),y=p.useMemo(()=>l?c:{...c,subscription:_},[l,c,_]),b=p.useRef(void 0),x=p.useRef(o),S=p.useRef(void 0),C=p.useRef(!1),w=p.useRef(!1),T=p.useRef(void 0);ve(()=>(w.current=!0,()=>{w.current=!1}),[]);let E=p.useMemo(()=>()=>S.current&&o===x.current?S.current:g(f.getState(),o),[f,o]),D=p.useMemo(()=>e=>_?He(h,f,_,g,x,b,C,w,S,v,e):()=>{},[_]);Be(Ve,[x,b,C,o,S,v]);let O;try{O=p.useSyncExternalStore(D,E,m?()=>g(m(),o):E)}catch(e){throw T.current&&(e.message+=`
|
|
2
|
+
The error may be correlated with this previous error:
|
|
3
|
+
${T.current.stack}
|
|
4
|
+
|
|
5
|
+
`),e}ve(()=>{T.current=void 0,S.current=void 0,b.current=O});let k=p.useMemo(()=>p.createElement(e,{...O,ref:a}),[a,e,O]);return p.useMemo(()=>h?p.createElement(s.Provider,{value:y},k):k,[s,k,y])}let g=p.memo(l);if(g.WrappedComponent=e,g.displayName=l.displayName=n,c){let t=p.forwardRef(function(e,t){return p.createElement(g,{...e,reactReduxForwardedRef:t})});return t.displayName=n,t.WrappedComponent=e,Ne(t,e)}return Ne(g,e)}}var H=Ge;function Ke(e){let{children:t,context:n,serverState:r,store:i}=e,a=p.useMemo(()=>{let t={store:i,subscription:ge(i),getServerState:r?()=>r:void 0};if(process.env.NODE_ENV===`production`)return t;{let{identityFunctionCheck:n=`once`,stabilityCheck:r=`once`}=e;return Object.assign(t,{stabilityCheck:r,identityFunctionCheck:n})}},[i,r]),o=p.useMemo(()=>i.getState(),[i]);ve(()=>{let{subscription:e}=a;return e.onStateChange=e.notifyNestedSubs,e.trySubscribe(),o!==i.getState()&&e.notifyNestedSubs(),()=>{e.tryUnsubscribe(),e.onStateChange=void 0}},[a,o]);let s=n||Le;return p.createElement(s.Provider,{value:a},t)}var qe=Ke;function U(e){return`Minified Redux error #${e}; visit https://redux.js.org/Errors?code=${e} for the full message or use the non-minified dev environment for full errors. `}var Je=typeof Symbol==`function`&&Symbol.observable||`@@observable`,Ye=()=>Math.random().toString(36).substring(7).split(``).join(`.`),Xe={INIT:`@@redux/INIT${Ye()}`,REPLACE:`@@redux/REPLACE${Ye()}`,PROBE_UNKNOWN_ACTION:()=>`@@redux/PROBE_UNKNOWN_ACTION${Ye()}`};function Ze(e){if(typeof e!=`object`||!e)return!1;let t=e;for(;Object.getPrototypeOf(t)!==null;)t=Object.getPrototypeOf(t);return Object.getPrototypeOf(e)===t||Object.getPrototypeOf(e)===null}function Qe(e){if(e===void 0)return`undefined`;if(e===null)return`null`;let t=typeof e;switch(t){case`boolean`:case`string`:case`number`:case`symbol`:case`function`:return t}if(Array.isArray(e))return`array`;if(tt(e))return`date`;if(et(e))return`error`;let n=$e(e);switch(n){case`Symbol`:case`Promise`:case`WeakMap`:case`WeakSet`:case`Map`:case`Set`:return n}return Object.prototype.toString.call(e).slice(8,-1).toLowerCase().replace(/\s/g,``)}function $e(e){return typeof e.constructor==`function`?e.constructor.name:null}function et(e){return e instanceof Error||typeof e.message==`string`&&e.constructor&&typeof e.constructor.stackTraceLimit==`number`}function tt(e){return e instanceof Date?!0:typeof e.toDateString==`function`&&typeof e.getDate==`function`&&typeof e.setDate==`function`}function nt(e){let t=typeof e;return process.env.NODE_ENV!==`production`&&(t=Qe(e)),t}function rt(e,t,n){if(typeof e!=`function`)throw Error(process.env.NODE_ENV===`production`?U(2):`Expected the root reducer to be a function. Instead, received: '${nt(e)}'`);if(typeof t==`function`&&typeof n==`function`||typeof n==`function`&&typeof arguments[3]==`function`)throw Error(process.env.NODE_ENV===`production`?U(0):`It looks like you are passing several store enhancers to createStore(). This is not supported. Instead, compose them together to a single function. See https://redux.js.org/tutorials/fundamentals/part-4-store#creating-a-store-with-enhancers for an example.`);if(typeof t==`function`&&n===void 0&&(n=t,t=void 0),n!==void 0){if(typeof n!=`function`)throw Error(process.env.NODE_ENV===`production`?U(1):`Expected the enhancer to be a function. Instead, received: '${nt(n)}'`);return n(rt)(e,t)}let r=e,i=t,a=new Map,o=a,s=0,c=!1;function l(){o===a&&(o=new Map,a.forEach((e,t)=>{o.set(t,e)}))}function u(){if(c)throw Error(process.env.NODE_ENV===`production`?U(3):`You may not call store.getState() while the reducer is executing. The reducer has already received the state as an argument. Pass it down from the top reducer instead of reading it from the store.`);return i}function d(e){if(typeof e!=`function`)throw Error(process.env.NODE_ENV===`production`?U(4):`Expected the listener to be a function. Instead, received: '${nt(e)}'`);if(c)throw Error(process.env.NODE_ENV===`production`?U(5):`You may not call store.subscribe() while the reducer is executing. If you would like to be notified after the store has been updated, subscribe from a component and invoke store.getState() in the callback to access the latest state. See https://redux.js.org/api/store#subscribelistener for more details.`);let t=!0;l();let n=s++;return o.set(n,e),function(){if(t){if(c)throw Error(process.env.NODE_ENV===`production`?U(6):`You may not unsubscribe from a store listener while the reducer is executing. See https://redux.js.org/api/store#subscribelistener for more details.`);t=!1,l(),o.delete(n),a=null}}}function f(e){if(!Ze(e))throw Error(process.env.NODE_ENV===`production`?U(7):`Actions must be plain objects. Instead, the actual type was: '${nt(e)}'. You may need to add middleware to your store setup to handle dispatching other values, such as 'redux-thunk' to handle dispatching functions. See https://redux.js.org/tutorials/fundamentals/part-4-store#middleware and https://redux.js.org/tutorials/fundamentals/part-6-async-logic#using-the-redux-thunk-middleware for examples.`);if(e.type===void 0)throw Error(process.env.NODE_ENV===`production`?U(8):`Actions may not have an undefined "type" property. You may have misspelled an action type string constant.`);if(typeof e.type!=`string`)throw Error(process.env.NODE_ENV===`production`?U(17):`Action "type" property must be a string. Instead, the actual type was: '${nt(e.type)}'. Value was: '${e.type}' (stringified)`);if(c)throw Error(process.env.NODE_ENV===`production`?U(9):`Reducers may not dispatch actions.`);try{c=!0,i=r(i,e)}finally{c=!1}return(a=o).forEach(e=>{e()}),e}function p(e){if(typeof e!=`function`)throw Error(process.env.NODE_ENV===`production`?U(10):`Expected the nextReducer to be a function. Instead, received: '${nt(e)}`);r=e,f({type:Xe.REPLACE})}function m(){let e=d;return{subscribe(t){if(typeof t!=`object`||!t)throw Error(process.env.NODE_ENV===`production`?U(11):`Expected the observer to be an object. Instead, received: '${nt(t)}'`);function n(){let e=t;e.next&&e.next(u())}return n(),{unsubscribe:e(n)}},[Je](){return this}}}return f({type:Xe.INIT}),{dispatch:f,subscribe:d,getState:u,replaceReducer:p,[Je]:m}}function it(e){typeof console<`u`&&typeof console.error==`function`&&console.error(e);try{throw Error(e)}catch{}}function at(e,t,n,r){let i=Object.keys(t),a=n&&n.type===Xe.INIT?`preloadedState argument passed to createStore`:`previous state received by the reducer`;if(i.length===0)return`Store does not have a valid reducer. Make sure the argument passed to combineReducers is an object whose values are reducers.`;if(!Ze(e))return`The ${a} has unexpected type of "${nt(e)}". Expected argument to be an object with the following keys: "${i.join(`", "`)}"`;let o=Object.keys(e).filter(e=>!t.hasOwnProperty(e)&&!r[e]);if(o.forEach(e=>{r[e]=!0}),!(n&&n.type===Xe.REPLACE)&&o.length>0)return`Unexpected ${o.length>1?`keys`:`key`} "${o.join(`", "`)}" found in ${a}. Expected to find one of the known reducer keys instead: "${i.join(`", "`)}". Unexpected keys will be ignored.`}function ot(e){Object.keys(e).forEach(t=>{let n=e[t];if(n(void 0,{type:Xe.INIT})===void 0)throw Error(process.env.NODE_ENV===`production`?U(12):`The slice reducer for key "${t}" returned undefined during initialization. If the state passed to the reducer is undefined, you must explicitly return the initial state. The initial state may not be undefined. If you don't want to set a value for this reducer, you can use null instead of undefined.`);if(n(void 0,{type:Xe.PROBE_UNKNOWN_ACTION()})===void 0)throw Error(process.env.NODE_ENV===`production`?U(13):`The slice reducer for key "${t}" returned undefined when probed with a random type. Don't try to handle '${Xe.INIT}' or other actions in "redux/*" namespace. They are considered private. Instead, you must return the current state for any unknown actions, unless it is undefined, in which case you must return the initial state, regardless of the action type. The initial state may not be undefined, but can be null.`)})}function st(e){let t=Object.keys(e),n={};for(let r=0;r<t.length;r++){let i=t[r];process.env.NODE_ENV!==`production`&&e[i]===void 0&&it(`No reducer provided for key "${i}"`),typeof e[i]==`function`&&(n[i]=e[i])}let r=Object.keys(n),i;process.env.NODE_ENV!==`production`&&(i={});let a;try{ot(n)}catch(e){a=e}return function(e={},t){if(a)throw a;if(process.env.NODE_ENV!==`production`){let r=at(e,n,t,i);r&&it(r)}let o=!1,s={};for(let i=0;i<r.length;i++){let a=r[i],c=n[a],l=e[a],u=c(l,t);if(u===void 0){let e=t&&t.type;throw Error(process.env.NODE_ENV===`production`?U(14):`When called with an action of type ${e?`"${String(e)}"`:`(unknown type)`}, the slice reducer for key "${a}" returned undefined. To ignore an action, you must explicitly return the previous state. If you want this reducer to hold no value, you can return null instead of undefined.`)}s[a]=u,o||=u!==l}return o||=r.length!==Object.keys(e).length,o?s:e}}function ct(e,t){return function(...n){return t(e.apply(this,n))}}function W(e,t){if(typeof e==`function`)return ct(e,t);if(typeof e!=`object`||!e)throw Error(process.env.NODE_ENV===`production`?U(16):`bindActionCreators expected an object or a function, but instead received: '${nt(e)}'. Did you write "import ActionCreators from" instead of "import * as ActionCreators from"?`);let n={};for(let r in e){let i=e[r];typeof i==`function`&&(n[r]=ct(i,t))}return n}function lt(...e){return e.length===0?e=>e:e.length===1?e[0]:e.reduce((e,t)=>(...n)=>e(t(...n)))}function ut(...e){return t=>(n,r)=>{let i=t(n,r),a=()=>{throw Error(process.env.NODE_ENV===`production`?U(15):`Dispatching while constructing your middleware is not allowed. Other middleware would not be applied to this dispatch.`)},o={getState:i.getState,dispatch:(e,...t)=>a(e,...t)};return a=lt(...e.map(e=>e(o)))(i.dispatch),{...i,dispatch:a}}}function dt(e){return({dispatch:t,getState:n})=>r=>i=>typeof i==`function`?i(t,n,e):r(i)}var ft=dt(),pt=c(((e,t)=>{function n(){this.__data__=[],this.size=0}t.exports=n})),mt=c(((e,t)=>{function n(e,t){return e===t||e!==e&&t!==t}t.exports=n})),ht=c(((e,t)=>{var n=mt();function r(e,t){for(var r=e.length;r--;)if(n(e[r][0],t))return r;return-1}t.exports=r})),gt=c(((e,t)=>{var n=ht(),r=Array.prototype.splice;function i(e){var t=this.__data__,i=n(t,e);return i<0?!1:(i==t.length-1?t.pop():r.call(t,i,1),--this.size,!0)}t.exports=i})),_t=c(((e,t)=>{var n=ht();function r(e){var t=this.__data__,r=n(t,e);return r<0?void 0:t[r][1]}t.exports=r})),vt=c(((e,t)=>{var n=ht();function r(e){return n(this.__data__,e)>-1}t.exports=r})),yt=c(((e,t)=>{var n=ht();function r(e,t){var r=this.__data__,i=n(r,e);return i<0?(++this.size,r.push([e,t])):r[i][1]=t,this}t.exports=r})),bt=c(((e,t)=>{var n=pt(),r=gt(),i=_t(),a=vt(),o=yt();function s(e){var t=-1,n=e==null?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}s.prototype.clear=n,s.prototype.delete=r,s.prototype.get=i,s.prototype.has=a,s.prototype.set=o,t.exports=s})),xt=c(((e,t)=>{var n=bt();function r(){this.__data__=new n,this.size=0}t.exports=r})),St=c(((e,t)=>{function n(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n}t.exports=n})),Ct=c(((e,t)=>{function n(e){return this.__data__.get(e)}t.exports=n})),wt=c(((e,t)=>{function n(e){return this.__data__.has(e)}t.exports=n})),Tt=c(((e,t)=>{t.exports=typeof global==`object`&&global&&global.Object===Object&&global})),Et=c(((e,t)=>{var n=Tt(),r=typeof self==`object`&&self&&self.Object===Object&&self;t.exports=n||r||Function(`return this`)()})),Dt=c(((e,t)=>{t.exports=Et().Symbol})),Ot=c(((e,t)=>{var n=Dt(),r=Object.prototype,i=r.hasOwnProperty,a=r.toString,o=n?n.toStringTag:void 0;function s(e){var t=i.call(e,o),n=e[o];try{e[o]=void 0;var r=!0}catch{}var s=a.call(e);return r&&(t?e[o]=n:delete e[o]),s}t.exports=s})),kt=c(((e,t)=>{var n=Object.prototype.toString;function r(e){return n.call(e)}t.exports=r})),At=c(((e,t)=>{var n=Dt(),r=Ot(),i=kt(),a=`[object Null]`,o=`[object Undefined]`,s=n?n.toStringTag:void 0;function c(e){return e==null?e===void 0?o:a:s&&s in Object(e)?r(e):i(e)}t.exports=c})),jt=c(((e,t)=>{function n(e){var t=typeof e;return e!=null&&(t==`object`||t==`function`)}t.exports=n})),Mt=c(((e,t)=>{var n=At(),r=jt(),i=`[object AsyncFunction]`,a=`[object Function]`,o=`[object GeneratorFunction]`,s=`[object Proxy]`;function c(e){if(!r(e))return!1;var t=n(e);return t==a||t==o||t==i||t==s}t.exports=c})),Nt=c(((e,t)=>{t.exports=Et()[`__core-js_shared__`]})),Pt=c(((e,t)=>{var n=Nt(),r=function(){var e=/[^.]+$/.exec(n&&n.keys&&n.keys.IE_PROTO||``);return e?`Symbol(src)_1.`+e:``}();function i(e){return!!r&&r in e}t.exports=i})),Ft=c(((e,t)=>{var n=Function.prototype.toString;function r(e){if(e!=null){try{return n.call(e)}catch{}try{return e+``}catch{}}return``}t.exports=r})),It=c(((e,t)=>{var n=Mt(),r=Pt(),i=jt(),a=Ft(),o=/[\\^$.*+?()[\]{}|]/g,s=/^\[object .+?Constructor\]$/,c=Function.prototype,l=Object.prototype,u=c.toString,d=l.hasOwnProperty,f=RegExp(`^`+u.call(d).replace(o,`\\$&`).replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,`$1.*?`)+`$`);function p(e){return!i(e)||r(e)?!1:(n(e)?f:s).test(a(e))}t.exports=p})),Lt=c(((e,t)=>{function n(e,t){return e?.[t]}t.exports=n})),Rt=c(((e,t)=>{var n=It(),r=Lt();function i(e,t){var i=r(e,t);return n(i)?i:void 0}t.exports=i})),zt=c(((e,t)=>{t.exports=Rt()(Et(),`Map`)})),Bt=c(((e,t)=>{t.exports=Rt()(Object,`create`)})),Vt=c(((e,t)=>{var n=Bt();function r(){this.__data__=n?n(null):{},this.size=0}t.exports=r})),Ht=c(((e,t)=>{function n(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=+!!t,t}t.exports=n})),Ut=c(((e,t)=>{var n=Bt(),r=`__lodash_hash_undefined__`,i=Object.prototype.hasOwnProperty;function a(e){var t=this.__data__;if(n){var a=t[e];return a===r?void 0:a}return i.call(t,e)?t[e]:void 0}t.exports=a})),Wt=c(((e,t)=>{var n=Bt(),r=Object.prototype.hasOwnProperty;function i(e){var t=this.__data__;return n?t[e]!==void 0:r.call(t,e)}t.exports=i})),Gt=c(((e,t)=>{var n=Bt(),r=`__lodash_hash_undefined__`;function i(e,t){var i=this.__data__;return this.size+=+!this.has(e),i[e]=n&&t===void 0?r:t,this}t.exports=i})),Kt=c(((e,t)=>{var n=Vt(),r=Ht(),i=Ut(),a=Wt(),o=Gt();function s(e){var t=-1,n=e==null?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}s.prototype.clear=n,s.prototype.delete=r,s.prototype.get=i,s.prototype.has=a,s.prototype.set=o,t.exports=s})),qt=c(((e,t)=>{var n=Kt(),r=bt(),i=zt();function a(){this.size=0,this.__data__={hash:new n,map:new(i||r),string:new n}}t.exports=a})),Jt=c(((e,t)=>{function n(e){var t=typeof e;return t==`string`||t==`number`||t==`symbol`||t==`boolean`?e!==`__proto__`:e===null}t.exports=n})),Yt=c(((e,t)=>{var n=Jt();function r(e,t){var r=e.__data__;return n(t)?r[typeof t==`string`?`string`:`hash`]:r.map}t.exports=r})),Xt=c(((e,t)=>{var n=Yt();function r(e){var t=n(this,e).delete(e);return this.size-=+!!t,t}t.exports=r})),Zt=c(((e,t)=>{var n=Yt();function r(e){return n(this,e).get(e)}t.exports=r})),Qt=c(((e,t)=>{var n=Yt();function r(e){return n(this,e).has(e)}t.exports=r})),$t=c(((e,t)=>{var n=Yt();function r(e,t){var r=n(this,e),i=r.size;return r.set(e,t),this.size+=r.size==i?0:1,this}t.exports=r})),en=c(((e,t)=>{var n=qt(),r=Xt(),i=Zt(),a=Qt(),o=$t();function s(e){var t=-1,n=e==null?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}s.prototype.clear=n,s.prototype.delete=r,s.prototype.get=i,s.prototype.has=a,s.prototype.set=o,t.exports=s})),tn=c(((e,t)=>{var n=bt(),r=zt(),i=en(),a=200;function o(e,t){var o=this.__data__;if(o instanceof n){var s=o.__data__;if(!r||s.length<a-1)return s.push([e,t]),this.size=++o.size,this;o=this.__data__=new i(s)}return o.set(e,t),this.size=o.size,this}t.exports=o})),nn=c(((e,t)=>{var n=bt(),r=xt(),i=St(),a=Ct(),o=wt(),s=tn();function c(e){var t=this.__data__=new n(e);this.size=t.size}c.prototype.clear=r,c.prototype.delete=i,c.prototype.get=a,c.prototype.has=o,c.prototype.set=s,t.exports=c})),rn=c(((e,t)=>{var n=`__lodash_hash_undefined__`;function r(e){return this.__data__.set(e,n),this}t.exports=r})),an=c(((e,t)=>{function n(e){return this.__data__.has(e)}t.exports=n})),on=c(((e,t)=>{var n=en(),r=rn(),i=an();function a(e){var t=-1,r=e==null?0:e.length;for(this.__data__=new n;++t<r;)this.add(e[t])}a.prototype.add=a.prototype.push=r,a.prototype.has=i,t.exports=a})),sn=c(((e,t)=>{function n(e,t){for(var n=-1,r=e==null?0:e.length;++n<r;)if(t(e[n],n,e))return!0;return!1}t.exports=n})),cn=c(((e,t)=>{function n(e,t){return e.has(t)}t.exports=n})),ln=c(((e,t)=>{var n=on(),r=sn(),i=cn(),a=1,o=2;function s(e,t,s,c,l,u){var d=s&a,f=e.length,p=t.length;if(f!=p&&!(d&&p>f))return!1;var m=u.get(e),h=u.get(t);if(m&&h)return m==t&&h==e;var g=-1,_=!0,v=s&o?new n:void 0;for(u.set(e,t),u.set(t,e);++g<f;){var y=e[g],b=t[g];if(c)var x=d?c(b,y,g,t,e,u):c(y,b,g,e,t,u);if(x!==void 0){if(x)continue;_=!1;break}if(v){if(!r(t,function(e,t){if(!i(v,t)&&(y===e||l(y,e,s,c,u)))return v.push(t)})){_=!1;break}}else if(!(y===b||l(y,b,s,c,u))){_=!1;break}}return u.delete(e),u.delete(t),_}t.exports=s})),un=c(((e,t)=>{t.exports=Et().Uint8Array})),dn=c(((e,t)=>{function n(e){var t=-1,n=Array(e.size);return e.forEach(function(e,r){n[++t]=[r,e]}),n}t.exports=n})),fn=c(((e,t)=>{function n(e){var t=-1,n=Array(e.size);return e.forEach(function(e){n[++t]=e}),n}t.exports=n})),pn=c(((e,t)=>{var n=Dt(),r=un(),i=mt(),a=ln(),o=dn(),s=fn(),c=1,l=2,u=`[object Boolean]`,d=`[object Date]`,f=`[object Error]`,p=`[object Map]`,m=`[object Number]`,h=`[object RegExp]`,g=`[object Set]`,_=`[object String]`,v=`[object Symbol]`,y=`[object ArrayBuffer]`,b=`[object DataView]`,x=n?n.prototype:void 0,S=x?x.valueOf:void 0;function C(e,t,n,x,C,w,T){switch(n){case b:if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)return!1;e=e.buffer,t=t.buffer;case y:return!(e.byteLength!=t.byteLength||!w(new r(e),new r(t)));case u:case d:case m:return i(+e,+t);case f:return e.name==t.name&&e.message==t.message;case h:case _:return e==t+``;case p:var E=o;case g:var D=x&c;if(E||=s,e.size!=t.size&&!D)return!1;var O=T.get(e);if(O)return O==t;x|=l,T.set(e,t);var k=a(E(e),E(t),x,C,w,T);return T.delete(e),k;case v:if(S)return S.call(e)==S.call(t)}return!1}t.exports=C})),mn=c(((e,t)=>{function n(e,t){for(var n=-1,r=t.length,i=e.length;++n<r;)e[i+n]=t[n];return e}t.exports=n})),hn=c(((e,t)=>{t.exports=Array.isArray})),gn=c(((e,t)=>{var n=mn(),r=hn();function i(e,t,i){var a=t(e);return r(e)?a:n(a,i(e))}t.exports=i})),_n=c(((e,t)=>{function n(e,t){for(var n=-1,r=e==null?0:e.length,i=0,a=[];++n<r;){var o=e[n];t(o,n,e)&&(a[i++]=o)}return a}t.exports=n})),vn=c(((e,t)=>{function n(){return[]}t.exports=n})),yn=c(((e,t)=>{var n=_n(),r=vn(),i=Object.prototype.propertyIsEnumerable,a=Object.getOwnPropertySymbols;t.exports=a?function(e){return e==null?[]:(e=Object(e),n(a(e),function(t){return i.call(e,t)}))}:r})),bn=c(((e,t)=>{function n(e,t){for(var n=-1,r=Array(e);++n<e;)r[n]=t(n);return r}t.exports=n})),xn=c(((e,t)=>{function n(e){return typeof e==`object`&&!!e}t.exports=n})),Sn=c(((e,t)=>{var n=At(),r=xn(),i=`[object Arguments]`;function a(e){return r(e)&&n(e)==i}t.exports=a})),Cn=c(((e,t)=>{var n=Sn(),r=xn(),i=Object.prototype,a=i.hasOwnProperty,o=i.propertyIsEnumerable;t.exports=n(function(){return arguments}())?n:function(e){return r(e)&&a.call(e,`callee`)&&!o.call(e,`callee`)}})),wn=c(((e,t)=>{function n(){return!1}t.exports=n})),Tn=c(((e,t)=>{var n=Et(),r=wn(),i=typeof e==`object`&&e&&!e.nodeType&&e,a=i&&typeof t==`object`&&t&&!t.nodeType&&t,o=a&&a.exports===i?n.Buffer:void 0;t.exports=(o?o.isBuffer:void 0)||r})),En=c(((e,t)=>{var n=9007199254740991,r=/^(?:0|[1-9]\d*)$/;function i(e,t){var i=typeof e;return t??=n,!!t&&(i==`number`||i!=`symbol`&&r.test(e))&&e>-1&&e%1==0&&e<t}t.exports=i})),Dn=c(((e,t)=>{var n=9007199254740991;function r(e){return typeof e==`number`&&e>-1&&e%1==0&&e<=n}t.exports=r})),On=c(((e,t)=>{var n=At(),r=Dn(),i=xn(),a=`[object Arguments]`,o=`[object Array]`,s=`[object Boolean]`,c=`[object Date]`,l=`[object Error]`,u=`[object Function]`,d=`[object Map]`,f=`[object Number]`,p=`[object Object]`,m=`[object RegExp]`,h=`[object Set]`,g=`[object String]`,_=`[object WeakMap]`,v=`[object ArrayBuffer]`,y=`[object DataView]`,b=`[object Float32Array]`,x=`[object Float64Array]`,S=`[object Int8Array]`,C=`[object Int16Array]`,w=`[object Int32Array]`,T=`[object Uint8Array]`,E=`[object Uint8ClampedArray]`,D=`[object Uint16Array]`,O=`[object Uint32Array]`,k={};k[b]=k[x]=k[S]=k[C]=k[w]=k[T]=k[E]=k[D]=k[O]=!0,k[a]=k[o]=k[v]=k[s]=k[y]=k[c]=k[l]=k[u]=k[d]=k[f]=k[p]=k[m]=k[h]=k[g]=k[_]=!1;function A(e){return i(e)&&r(e.length)&&!!k[n(e)]}t.exports=A})),kn=c(((e,t)=>{function n(e){return function(t){return e(t)}}t.exports=n})),An=c(((e,t)=>{var n=Tt(),r=typeof e==`object`&&e&&!e.nodeType&&e,i=r&&typeof t==`object`&&t&&!t.nodeType&&t,a=i&&i.exports===r&&n.process;t.exports=function(){try{return i&&i.require&&i.require(`util`).types||a&&a.binding&&a.binding(`util`)}catch{}}()})),jn=c(((e,t)=>{var n=On(),r=kn(),i=An(),a=i&&i.isTypedArray;t.exports=a?r(a):n})),Mn=c(((e,t)=>{var n=bn(),r=Cn(),i=hn(),a=Tn(),o=En(),s=jn(),c=Object.prototype.hasOwnProperty;function l(e,t){var l=i(e),u=!l&&r(e),d=!l&&!u&&a(e),f=!l&&!u&&!d&&s(e),p=l||u||d||f,m=p?n(e.length,String):[],h=m.length;for(var g in e)(t||c.call(e,g))&&!(p&&(g==`length`||d&&(g==`offset`||g==`parent`)||f&&(g==`buffer`||g==`byteLength`||g==`byteOffset`)||o(g,h)))&&m.push(g);return m}t.exports=l})),Nn=c(((e,t)=>{var n=Object.prototype;function r(e){var t=e&&e.constructor;return e===(typeof t==`function`&&t.prototype||n)}t.exports=r})),Pn=c(((e,t)=>{function n(e,t){return function(n){return e(t(n))}}t.exports=n})),Fn=c(((e,t)=>{t.exports=Pn()(Object.keys,Object)})),In=c(((e,t)=>{var n=Nn(),r=Fn(),i=Object.prototype.hasOwnProperty;function a(e){if(!n(e))return r(e);var t=[];for(var a in Object(e))i.call(e,a)&&a!=`constructor`&&t.push(a);return t}t.exports=a})),Ln=c(((e,t)=>{var n=Mt(),r=Dn();function i(e){return e!=null&&r(e.length)&&!n(e)}t.exports=i})),Rn=c(((e,t)=>{var n=Mn(),r=In(),i=Ln();function a(e){return i(e)?n(e):r(e)}t.exports=a})),zn=c(((e,t)=>{var n=gn(),r=yn(),i=Rn();function a(e){return n(e,i,r)}t.exports=a})),Bn=c(((e,t)=>{var n=zn(),r=1,i=Object.prototype.hasOwnProperty;function a(e,t,a,o,s,c){var l=a&r,u=n(e),d=u.length;if(d!=n(t).length&&!l)return!1;for(var f=d;f--;){var p=u[f];if(!(l?p in t:i.call(t,p)))return!1}var m=c.get(e),h=c.get(t);if(m&&h)return m==t&&h==e;var g=!0;c.set(e,t),c.set(t,e);for(var _=l;++f<d;){p=u[f];var v=e[p],y=t[p];if(o)var b=l?o(y,v,p,t,e,c):o(v,y,p,e,t,c);if(!(b===void 0?v===y||s(v,y,a,o,c):b)){g=!1;break}_||=p==`constructor`}if(g&&!_){var x=e.constructor,S=t.constructor;x!=S&&`constructor`in e&&`constructor`in t&&!(typeof x==`function`&&x instanceof x&&typeof S==`function`&&S instanceof S)&&(g=!1)}return c.delete(e),c.delete(t),g}t.exports=a})),Vn=c(((e,t)=>{t.exports=Rt()(Et(),`DataView`)})),Hn=c(((e,t)=>{t.exports=Rt()(Et(),`Promise`)})),Un=c(((e,t)=>{t.exports=Rt()(Et(),`Set`)})),Wn=c(((e,t)=>{t.exports=Rt()(Et(),`WeakMap`)})),Gn=c(((e,t)=>{var n=Vn(),r=zt(),i=Hn(),a=Un(),o=Wn(),s=At(),c=Ft(),l=`[object Map]`,u=`[object Object]`,d=`[object Promise]`,f=`[object Set]`,p=`[object WeakMap]`,m=`[object DataView]`,h=c(n),g=c(r),_=c(i),v=c(a),y=c(o),b=s;(n&&b(new n(new ArrayBuffer(1)))!=m||r&&b(new r)!=l||i&&b(i.resolve())!=d||a&&b(new a)!=f||o&&b(new o)!=p)&&(b=function(e){var t=s(e),n=t==u?e.constructor:void 0,r=n?c(n):``;if(r)switch(r){case h:return m;case g:return l;case _:return d;case v:return f;case y:return p}return t}),t.exports=b})),Kn=c(((e,t)=>{var n=nn(),r=ln(),i=pn(),a=Bn(),o=Gn(),s=hn(),c=Tn(),l=jn(),u=1,d=`[object Arguments]`,f=`[object Array]`,p=`[object Object]`,m=Object.prototype.hasOwnProperty;function h(e,t,h,g,_,v){var y=s(e),b=s(t),x=y?f:o(e),S=b?f:o(t);x=x==d?p:x,S=S==d?p:S;var C=x==p,w=S==p,T=x==S;if(T&&c(e)){if(!c(t))return!1;y=!0,C=!1}if(T&&!C)return v||=new n,y||l(e)?r(e,t,h,g,_,v):i(e,t,x,h,g,_,v);if(!(h&u)){var E=C&&m.call(e,`__wrapped__`),D=w&&m.call(t,`__wrapped__`);if(E||D){var O=E?e.value():e,k=D?t.value():t;return v||=new n,_(O,k,h,g,v)}}return T?(v||=new n,a(e,t,h,g,_,v)):!1}t.exports=h})),qn=c(((e,t)=>{var n=Kn(),r=xn();function i(e,t,a,o,s){return e===t?!0:e==null||t==null||!r(e)&&!r(t)?e!==e&&t!==t:n(e,t,a,o,i,s)}t.exports=i})),Jn=c(((e,t)=>{var n=nn(),r=qn(),i=1,a=2;function o(e,t,o,s){var c=o.length,l=c,u=!s;if(e==null)return!l;for(e=Object(e);c--;){var d=o[c];if(u&&d[2]?d[1]!==e[d[0]]:!(d[0]in e))return!1}for(;++c<l;){d=o[c];var f=d[0],p=e[f],m=d[1];if(u&&d[2]){if(p===void 0&&!(f in e))return!1}else{var h=new n;if(s)var g=s(p,m,f,e,t,h);if(!(g===void 0?r(m,p,i|a,s,h):g))return!1}}return!0}t.exports=o})),Yn=c(((e,t)=>{var n=jt();function r(e){return e===e&&!n(e)}t.exports=r})),Xn=c(((e,t)=>{var n=Yn(),r=Rn();function i(e){for(var t=r(e),i=t.length;i--;){var a=t[i],o=e[a];t[i]=[a,o,n(o)]}return t}t.exports=i})),Zn=c(((e,t)=>{function n(e,t){return function(n){return n==null?!1:n[e]===t&&(t!==void 0||e in Object(n))}}t.exports=n})),Qn=c(((e,t)=>{var n=Jn(),r=Xn(),i=Zn();function a(e){var t=r(e);return t.length==1&&t[0][2]?i(t[0][0],t[0][1]):function(r){return r===e||n(r,e,t)}}t.exports=a})),$n=c(((e,t)=>{var n=At(),r=xn(),i=`[object Symbol]`;function a(e){return typeof e==`symbol`||r(e)&&n(e)==i}t.exports=a})),er=c(((e,t)=>{var n=hn(),r=$n(),i=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,a=/^\w*$/;function o(e,t){if(n(e))return!1;var o=typeof e;return o==`number`||o==`symbol`||o==`boolean`||e==null||r(e)?!0:a.test(e)||!i.test(e)||t!=null&&e in Object(t)}t.exports=o})),tr=c(((e,t)=>{var n=en(),r=`Expected a function`;function i(e,t){if(typeof e!=`function`||t!=null&&typeof t!=`function`)throw TypeError(r);var a=function(){var n=arguments,r=t?t.apply(this,n):n[0],i=a.cache;if(i.has(r))return i.get(r);var o=e.apply(this,n);return a.cache=i.set(r,o)||i,o};return a.cache=new(i.Cache||n),a}i.Cache=n,t.exports=i})),nr=c(((e,t)=>{var n=tr(),r=500;function i(e){var t=n(e,function(e){return i.size===r&&i.clear(),e}),i=t.cache;return t}t.exports=i})),rr=c(((e,t)=>{var n=nr(),r=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,i=/\\(\\)?/g;t.exports=n(function(e){var t=[];return e.charCodeAt(0)===46&&t.push(``),e.replace(r,function(e,n,r,a){t.push(r?a.replace(i,`$1`):n||e)}),t})})),ir=c(((e,t)=>{function n(e,t){for(var n=-1,r=e==null?0:e.length,i=Array(r);++n<r;)i[n]=t(e[n],n,e);return i}t.exports=n})),ar=c(((e,t)=>{var n=Dt(),r=ir(),i=hn(),a=$n(),o=1/0,s=n?n.prototype:void 0,c=s?s.toString:void 0;function l(e){if(typeof e==`string`)return e;if(i(e))return r(e,l)+``;if(a(e))return c?c.call(e):``;var t=e+``;return t==`0`&&1/e==-o?`-0`:t}t.exports=l})),or=c(((e,t)=>{var n=ar();function r(e){return e==null?``:n(e)}t.exports=r})),sr=c(((e,t)=>{var n=hn(),r=er(),i=rr(),a=or();function o(e,t){return n(e)?e:r(e,t)?[e]:i(a(e))}t.exports=o})),cr=c(((e,t)=>{var n=$n(),r=1/0;function i(e){if(typeof e==`string`||n(e))return e;var t=e+``;return t==`0`&&1/e==-r?`-0`:t}t.exports=i})),lr=c(((e,t)=>{var n=sr(),r=cr();function i(e,t){t=n(t,e);for(var i=0,a=t.length;e!=null&&i<a;)e=e[r(t[i++])];return i&&i==a?e:void 0}t.exports=i})),ur=c(((e,t)=>{var n=lr();function r(e,t,r){var i=e==null?void 0:n(e,t);return i===void 0?r:i}t.exports=r})),dr=c(((e,t)=>{function n(e,t){return e!=null&&t in Object(e)}t.exports=n})),fr=c(((e,t)=>{var n=sr(),r=Cn(),i=hn(),a=En(),o=Dn(),s=cr();function c(e,t,c){t=n(t,e);for(var l=-1,u=t.length,d=!1;++l<u;){var f=s(t[l]);if(!(d=e!=null&&c(e,f)))break;e=e[f]}return d||++l!=u?d:(u=e==null?0:e.length,!!u&&o(u)&&a(f,u)&&(i(e)||r(e)))}t.exports=c})),pr=c(((e,t)=>{var n=dr(),r=fr();function i(e,t){return e!=null&&r(e,t,n)}t.exports=i})),mr=c(((e,t)=>{var n=qn(),r=ur(),i=pr(),a=er(),o=Yn(),s=Zn(),c=cr(),l=1,u=2;function d(e,t){return a(e)&&o(t)?s(c(e),t):function(a){var o=r(a,e);return o===void 0&&o===t?i(a,e):n(t,o,l|u)}}t.exports=d})),hr=c(((e,t)=>{function n(e){return e}t.exports=n})),gr=c(((e,t)=>{function n(e){return function(t){return t?.[e]}}t.exports=n})),_r=c(((e,t)=>{var n=lr();function r(e){return function(t){return n(t,e)}}t.exports=r})),vr=c(((e,t)=>{var n=gr(),r=_r(),i=er(),a=cr();function o(e){return i(e)?n(a(e)):r(e)}t.exports=o})),yr=c(((e,t)=>{var n=Qn(),r=mr(),i=hr(),a=hn(),o=vr();function s(e){return typeof e==`function`?e:e==null?i:typeof e==`object`?a(e)?r(e[0],e[1]):n(e):o(e)}t.exports=s})),br=c(((e,t)=>{var n=yr(),r=Ln(),i=Rn();function a(e){return function(t,a,o){var s=Object(t);if(!r(t)){var c=n(a,3);t=i(t),a=function(e){return c(s[e],e,s)}}var l=e(t,a,o);return l>-1?s[c?t[l]:l]:void 0}}t.exports=a})),xr=c(((e,t)=>{function n(e,t,n,r){for(var i=e.length,a=n+(r?1:-1);r?a--:++a<i;)if(t(e[a],a,e))return a;return-1}t.exports=n})),Sr=c(((e,t)=>{var n=/\s/;function r(e){for(var t=e.length;t--&&n.test(e.charAt(t)););return t}t.exports=r})),Cr=c(((e,t)=>{var n=Sr(),r=/^\s+/;function i(e){return e&&e.slice(0,n(e)+1).replace(r,``)}t.exports=i})),wr=c(((e,t)=>{var n=Cr(),r=jt(),i=$n(),a=NaN,o=/^[-+]0x[0-9a-f]+$/i,s=/^0b[01]+$/i,c=/^0o[0-7]+$/i,l=parseInt;function u(e){if(typeof e==`number`)return e;if(i(e))return a;if(r(e)){var t=typeof e.valueOf==`function`?e.valueOf():e;e=r(t)?t+``:t}if(typeof e!=`string`)return e===0?e:+e;e=n(e);var u=s.test(e);return u||c.test(e)?l(e.slice(2),u?2:8):o.test(e)?a:+e}t.exports=u})),Tr=c(((e,t)=>{var n=wr(),r=1/0,i=17976931348623157e292;function a(e){return e?(e=n(e),e===r||e===-r?(e<0?-1:1)*i:e===e?e:0):e===0?e:0}t.exports=a})),Er=c(((e,t)=>{var n=Tr();function r(e){var t=n(e),r=t%1;return t===t?r?t-r:t:0}t.exports=r})),Dr=c(((e,t)=>{var n=xr(),r=yr(),i=Er(),a=Math.max;function o(e,t,o){var s=e==null?0:e.length;if(!s)return-1;var c=o==null?0:i(o);return c<0&&(c=a(s+c,0)),n(e,r(t,3),c)}t.exports=o})),Or=c(((e,t)=>{t.exports=br()(Dr())})),kr=c(((e,t)=>{t.exports=Pn()(Object.getPrototypeOf,Object)})),Ar=c(((e,t)=>{var n=At(),r=kr(),i=xn(),a=`[object Object]`,o=Function.prototype,s=Object.prototype,c=o.toString,l=s.hasOwnProperty,u=c.call(Object);function d(e){if(!i(e)||n(e)!=a)return!1;var t=r(e);if(t===null)return!0;var o=l.call(t,`constructor`)&&t.constructor;return typeof o==`function`&&o instanceof o&&c.call(o)==u}t.exports=d})),G=d(Or()),jr=d(Ar()),Mr=`LOCATION_UPDATE`,Nr=c(((e,t)=>{t.exports=function(e){return(``+e).replace(/["'\\\n\r\u2028\u2029]/g,function(e){switch(e){case`"`:case`'`:case`\\`:return`\\`+e;case`
|
|
6
|
+
`:return`\\n`;case`\r`:return`\\r`;case`\u2028`:return`\\u2028`;case`\u2029`:return`\\u2029`}})}})),Pr=c(((e,t)=>{function n(e,t,n){var r=-1,i=e.length;t<0&&(t=-t>i?0:i+t),n=n>i?i:n,n<0&&(n+=i),i=t>n?0:n-t>>>0,t>>>=0;for(var a=Array(i);++r<i;)a[r]=e[r+t];return a}t.exports=n})),Fr=c(((e,t)=>{var n=Pr();function r(e,t,r){var i=e.length;return r=r===void 0?i:r,!t&&r>=i?e:n(e,t,r)}t.exports=r})),Ir=c(((e,t)=>{var n=RegExp(`[\\u200d\\ud800-\\udfff\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff\\ufe0e\\ufe0f]`);function r(e){return n.test(e)}t.exports=r})),Lr=c(((e,t)=>{function n(e){return e.split(``)}t.exports=n})),Rr=c(((e,t)=>{var n=`\\ud800-\\udfff`,r=`\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff`,i=`\\ufe0e\\ufe0f`,a=`[`+n+`]`,o=`[`+r+`]`,s=`\\ud83c[\\udffb-\\udfff]`,c=`(?:`+o+`|`+s+`)`,l=`[^`+n+`]`,u=`(?:\\ud83c[\\udde6-\\uddff]){2}`,d=`[\\ud800-\\udbff][\\udc00-\\udfff]`,f=`\\u200d`,p=c+`?`,m=`[`+i+`]?`,h=`(?:`+f+`(?:`+[l,u,d].join(`|`)+`)`+m+p+`)*`,g=m+p+h,_=`(?:`+[l+o+`?`,o,u,d,a].join(`|`)+`)`,v=RegExp(s+`(?=`+s+`)|`+_+g,`g`);function y(e){return e.match(v)||[]}t.exports=y})),zr=c(((e,t)=>{var n=Lr(),r=Ir(),i=Rr();function a(e){return r(e)?i(e):n(e)}t.exports=a})),Br=c(((e,t)=>{var n=Fr(),r=Ir(),i=zr(),a=or();function o(e){return function(t){t=a(t);var o=r(t)?i(t):void 0,s=o?o[0]:t.charAt(0),c=o?n(o,1).join(``):t.slice(1);return s[e]()+c}}t.exports=o})),Vr=c(((e,t)=>{t.exports=Br()(`toUpperCase`)})),Hr=c(((e,t)=>{var n=or(),r=Vr();function i(e){return r(n(e).toLowerCase())}t.exports=i})),Ur=c(((e,t)=>{function n(e,t,n,r){var i=-1,a=e==null?0:e.length;for(r&&a&&(n=e[++i]);++i<a;)n=t(n,e[i],i,e);return n}t.exports=n})),Wr=c(((e,t)=>{function n(e){return function(t){return e?.[t]}}t.exports=n})),Gr=c(((e,t)=>{t.exports=Wr()({À:`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`})})),Kr=c(((e,t)=>{var n=Gr(),r=or(),i=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,a=RegExp(`[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]`,`g`);function o(e){return e=r(e),e&&e.replace(i,n).replace(a,``)}t.exports=o})),qr=c(((e,t)=>{var n=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g;function r(e){return e.match(n)||[]}t.exports=r})),Jr=c(((e,t)=>{var n=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/;function r(e){return n.test(e)}t.exports=r})),Yr=c(((e,t)=>{var n=`\\ud800-\\udfff`,r=`\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff`,i=`\\u2700-\\u27bf`,a=`a-z\\xdf-\\xf6\\xf8-\\xff`,o=`\\xac\\xb1\\xd7\\xf7`,s=`\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf`,c=`\\u2000-\\u206f`,l=` \\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`,u=`A-Z\\xc0-\\xd6\\xd8-\\xde`,d=`\\ufe0e\\ufe0f`,f=o+s+c+l,p=`['’]`,m=`[`+f+`]`,h=`[`+r+`]`,g=`\\d+`,_=`[`+i+`]`,v=`[`+a+`]`,y=`[^`+n+f+g+i+a+u+`]`,b=`(?:`+h+`|\\ud83c[\\udffb-\\udfff])`,x=`[^`+n+`]`,S=`(?:\\ud83c[\\udde6-\\uddff]){2}`,C=`[\\ud800-\\udbff][\\udc00-\\udfff]`,w=`[`+u+`]`,T=`\\u200d`,E=`(?:`+v+`|`+y+`)`,D=`(?:`+w+`|`+y+`)`,O=`(?:`+p+`(?:d|ll|m|re|s|t|ve))?`,k=`(?:`+p+`(?:D|LL|M|RE|S|T|VE))?`,A=b+`?`,j=`[`+d+`]?`,M=`(?:`+T+`(?:`+[x,S,C].join(`|`)+`)`+j+A+`)*`,N=`\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])`,P=`\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])`,F=j+A+M,I=`(?:`+[_,S,C].join(`|`)+`)`+F,L=RegExp([w+`?`+v+`+`+O+`(?=`+[m,w,`$`].join(`|`)+`)`,D+`+`+k+`(?=`+[m,w+E,`$`].join(`|`)+`)`,w+`?`+E+`+`+O,w+`+`+k,P,N,g,I].join(`|`),`g`);function R(e){return e.match(L)||[]}t.exports=R})),Xr=c(((e,t)=>{var n=qr(),r=Jr(),i=or(),a=Yr();function o(e,t,o){return e=i(e),t=o?void 0:t,t===void 0?r(e)?a(e):n(e):e.match(t)||[]}t.exports=o})),Zr=c(((e,t)=>{var n=Ur(),r=Kr(),i=Xr(),a=RegExp(`['’]`,`g`);function o(e){return function(t){return n(i(r(t).replace(a,``)),e,``)}}t.exports=o})),Qr=c(((e,t)=>{var n=Hr();t.exports=Zr()(function(e,t,r){return t=t.toLowerCase(),e+(r?n(t):t)})})),$r=c(((e,t)=>{(function(n){if(typeof e==`object`&&t!==void 0)t.exports=n();else if(typeof define==`function`&&define.amd)define([],n);else{var r;typeof window<`u`?r=window:typeof global<`u`?r=global:typeof self<`u`&&(r=self),r.quote=n()}})(function(){var e={exports:{}};function t(e){return e.quotes+e.quotes}function n(e,n){return n===``?t(e):(n[0]!==e.quotes&&(n=e.quotes+n),n[n.length-1]!==e.quotes&&(n+=e.quotes),n)}function r(e,r){return arguments.length===1&&(r=e,e={quotes:`"`}),typeof r==`string`?n(e,r):r??t(e)}function i(e){return typeof e==`object`?r.bind(null,e):r(e)}return e.exports=i,e.exports})})),ei=c(((e,t)=>{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`},r=/[-:]/g,i=function(e){return/^(data-|aria-)/.test(e)?e:n[e.replace(r,``).toLowerCase()]||e};t.exports=i,t.exports.convert=i})),ti=d(Nr()),ni=d(Qr()),ri=d($r()),ii=d(ei()),ai=e=>typeof e==`number`&&Number.isNaN(e)===!1&&Number.isFinite(e)===!0,oi=(0,ri.default)({quotes:`'`}),K=class{static createHash(e){let t=0,n,r=String(e);if(r.length===0)return String(t);for(let e=0;e<r.length;e++)n=r.charCodeAt(e),t=(t<<5)-t+n,t|=0;return t>>>=0,String(t)}static createId(){return`_${Math.random().toString(36).substr(2,9)}`}static appendBookStyles(e,t){let n=new window.Blob([e],{type:`text/css`}),r=document.createElement(`link`),i=document.querySelector(`head`);r.rel=`stylesheet`,r.type=`text/css`,r.id=`_${t}`,r.href=window.URL.createObjectURL(n),i.appendChild(r)}static removeBookStyles(e){let t=document.querySelector(`#_${e}`);if(t){let e=t.getAttribute(`href`);e&&/^blob:/.test(e)&&window.URL.revokeObjectURL(e),t.parentNode.removeChild(t)}}static convertToReactAttrs(e){let t={};if(Object.entries(e).forEach(([e,n])=>{e===`playsinline`?t.playsInline=n:t[(0,ii.default)(e)]=n}),!e||Object.keys(e).length<1||!e.style)return t;let n={},r={moz:`Moz`,webkit:`Webkit`,o:`O`},i=/^-(moz|webkit|o)-/;return e.style.split(`;`).map(e=>{let[t,a]=e.split(`:`).map(e=>e.trim()),o=null;return!t||!a?null:(o=t.match(i),o?(t=t.replace(i,`${r[o[1]]}-`),t=(0,ni.default)(t),t=t[0].toUpperCase()+t.slice(1)):t=(0,ni.default)(t),a=ai(a)?oi((0,ti.default)(a)):a,n[t]=a,n)}),t.style=n,t}},si=class e{static localStorageKey=`bber_reader`;static get(t=e.localStorageKey){let n=`{}`;try{n=window.localStorage.getItem(t)||n}catch{console.warn(`window.localStorage is unavailable.`)}return n=JSON.parse(n),n}static set(t,n=e.localStorageKey){let r=t;typeof r!=`string`&&(r=JSON.stringify(r));try{window.localStorage.setItem(n,r)}catch{console.warn(`window.localStorage is unavailable`)}}static clear(t=e.localStorageKey){if(String(t))try{window.localStorage.removeItem(t)}catch{console.warn(`window.localStorage is unavailable`)}}},ci=e=>e instanceof URLSearchParams?e:new URLSearchParams(e),li=(e,t)=>{if(!e)return!1;let n=ci(e),{currentSpineItemIndex:r,spreadIndex:i}=t,a=!0;return(!n.has(r)||!n.has(i))&&(a=!1),a},ui=(e,t)=>{let n=ci(e),{currentSpineItemIndex:r,spreadIndex:i}=t;return n.has(r)||n.set(r,0),n.has(i)||n.set(i,0),n},di=(e,t)=>{let n=ci(e),{currentSpineItemIndex:r,spreadIndex:i,slug:a}=t;return n.delete(r),n.delete(i),n.delete(a),n},fi=(e,t)=>{let n=ci(e),r=di(window.location.search,t);for(let[e,t]of r)n.set(e,t);return n},{decodeURI:pi,encodeURI:mi,encodeURIComponent:hi,URLSearchParams:gi}=window,q=class e{static slug(e){return String(e).toLowerCase().trim().replace(/[\s-]+/g,`-`).replace(/[^\w-]+/g,``).replace(/-+/g,`-`)}static queryStringKey(e){return hi(e)}static queryStringValue(e){return hi(e&&e.constructor===Array?JSON.stringify(e):e)}static buildQueryString(t){let n=[];return Object.entries(t).forEach(([t,r])=>n.push(`${e.queryStringKey(t)}=${e.queryStringValue(r)}`)),n.join(`&`)}static parseQueryString(e){let t=new gi(e),n={};return t.forEach((e,t)=>n[t]=e),n}static ensureDecodedURL(e){let t=String(e);if(!t)return t;for(;t!==pi(t);)t=pi(t);return t}static isMailTo(e){return/^mailto:/.test(e)}static isRelative(t){return/^http/.test(t)===!1&&e.isMailTo(t)===!1}static stripTrailingSlash(e){return e.replace(/\/+$/,``)}static trimSlashes(e){return e.replace(/(^\/+|\/+$)/g,``)}static addTrailingSlash(t){return`${e.stripTrailingSlash(t)}/`}static addLeadingSlash(t){return`/${e.trimSlashes(t)}`}static trimFilenameFromResponse(t){let n=e.trimSlashes(t);return n=n.slice(0,n.lastIndexOf(`/`)),n}static resolveRelativeURL(t,n){if(!t||!n)return console.warn(`Url#resolveRelativeURL: No 'url' or 'path' param provided`,t,n),`/`;let r=e.trimSlashes(n),i=t;if(/^http/.test(i)!==!0)return i=e.resolveRelativeURL(`${window.location.origin}${window.location.pathname}`,i),e.resolveRelativeURL(i,r);i=e.addTrailingSlash(t);let{href:a}=new window.URL(r,i);return a=e.ensureDecodedURL(a),mi(a)}static toAbsoluteUrl(t,n){let r=`${e.stripTrailingSlash(t)}/${e.trimSlashes(n)}`;return r=e.ensureDecodedURL(r),mi(r)}static resolveOverlappingURL(t,n){let r=new window.URL(t),i=e.trimSlashes(n).split(`/`),{origin:a,pathname:o}=r,s=e.trimSlashes(o).split(`/`);s.pop();for(let e=s.length-1;e>=0;e--)s[e]===i[0]&&i.shift();let c=[...s,...i].join(`/`),{href:l}=new window.URL(e.ensureDecodedURL(c),a);return mi(l)}static stripQuery(e){return e.split(`?`)[0]}static stripHash(e){return e.split(`#`)[0]}static stripQueryAndHash(t){let n;return n=e.stripQuery(t),n=e.stripHash(t),n}static createPath(t){let n=String(t);return!n||n===`/`?`/`:(n=e.ensureDecodedURL(n),n=e.stripQueryAndHash(n),n=n.split(`/`).filter(Boolean).join(`/`),n=n.length?`/${n}/`:`/`,n)}static isExternal(t,n){if(e.isRelative(t))return!1;try{let{host:e}=new URL(t),{host:r}=new URL(n);return e!==r}catch(e){return console.error(e),!0}}};function _i(){return _i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},_i.apply(this,arguments)}function vi(e){return e.charAt(0)===`/`}function yi(e,t){for(var n=t,r=n+1,i=e.length;r<i;n+=1,r+=1)e[n]=e[r];e.pop()}function bi(e,t){t===void 0&&(t=``);var n=e&&e.split(`/`)||[],r=t&&t.split(`/`)||[],i=e&&vi(e),a=t&&vi(t),o=i||a;if(e&&vi(e)?r=n:n.length&&(r.pop(),r=r.concat(n)),!r.length)return`/`;var s;if(r.length){var c=r[r.length-1];s=c===`.`||c===`..`||c===``}else s=!1;for(var l=0,u=r.length;u>=0;u--){var d=r[u];d===`.`?yi(r,u):d===`..`?(yi(r,u),l++):l&&(yi(r,u),l--)}if(!o)for(;l--;)r.unshift(`..`);o&&r[0]!==``&&(!r[0]||!vi(r[0]))&&r.unshift(``);var f=r.join(`/`);return s&&f.substr(-1)!==`/`&&(f+=`/`),f}var xi=process.env.NODE_ENV===`production`;function Si(e,t){if(!xi){if(e)return;var n=`Warning: `+t;typeof console<`u`&&console.warn(n);try{throw Error(n)}catch{}}}var Ci=process.env.NODE_ENV===`production`,wi=`Invariant failed`;function Ti(e,t){if(!e){if(Ci)throw Error(wi);var n=typeof t==`function`?t():t,r=n?wi+`: `+n:wi;throw Error(r)}}function Ei(e){return e.charAt(0)===`/`?e:`/`+e}function Di(e,t){return e.toLowerCase().indexOf(t.toLowerCase())===0&&`/?#`.indexOf(e.charAt(t.length))!==-1}function Oi(e,t){return Di(e,t)?e.substr(t.length):e}function ki(e){return e.charAt(e.length-1)===`/`?e.slice(0,-1):e}function Ai(e){var t=e||`/`,n=``,r=``,i=t.indexOf(`#`);i!==-1&&(r=t.substr(i),t=t.substr(0,i));var a=t.indexOf(`?`);return a!==-1&&(n=t.substr(a),t=t.substr(0,a)),{pathname:t,search:n===`?`?``:n,hash:r===`#`?``:r}}function ji(e){var t=e.pathname,n=e.search,r=e.hash,i=t||`/`;return n&&n!==`?`&&(i+=n.charAt(0)===`?`?n:`?`+n),r&&r!==`#`&&(i+=r.charAt(0)===`#`?r:`#`+r),i}function Mi(e,t,n,r){var i;typeof e==`string`?(i=Ai(e),i.state=t):(i=_i({},e),i.pathname===void 0&&(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=``,t!==void 0&&i.state===void 0&&(i.state=t));try{i.pathname=decodeURI(i.pathname)}catch(e){throw e instanceof URIError?URIError(`Pathname "`+i.pathname+`" could not be decoded. This is likely caused by an invalid percent-encoding.`):e}return n&&(i.key=n),r?i.pathname?i.pathname.charAt(0)!==`/`&&(i.pathname=bi(i.pathname,r.pathname)):i.pathname=r.pathname:i.pathname||=`/`,i}function Ni(){var e=null;function t(t){return process.env.NODE_ENV!==`production`&&Si(e==null,`A history supports only one prompt at a time`),e=t,function(){e===t&&(e=null)}}function n(t,n,r,i){if(e!=null){var a=typeof e==`function`?e(t,n):e;typeof a==`string`?typeof r==`function`?r(a,i):(process.env.NODE_ENV!==`production`&&Si(!1,`A history needs a getUserConfirmation function in order to use a prompt message`),i(!0)):i(a!==!1)}else i(!0)}var r=[];function i(e){var t=!0;function n(){t&&e.apply(void 0,arguments)}return r.push(n),function(){t=!1,r=r.filter(function(e){return e!==n})}}function a(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];r.forEach(function(e){return e.apply(void 0,t)})}return{setPrompt:t,confirmTransitionTo:n,appendListener:i,notifyListeners:a}}var Pi=!!(typeof window<`u`&&window.document&&window.document.createElement);function Fi(e,t){t(window.confirm(e))}function Ii(){var e=window.navigator.userAgent;return(e.indexOf(`Android 2.`)!==-1||e.indexOf(`Android 4.0`)!==-1)&&e.indexOf(`Mobile Safari`)!==-1&&e.indexOf(`Chrome`)===-1&&e.indexOf(`Windows Phone`)===-1?!1:window.history&&`pushState`in window.history}function Li(){return window.navigator.userAgent.indexOf(`Trident`)===-1}function Ri(e){return e.state===void 0&&navigator.userAgent.indexOf(`CriOS`)===-1}var zi=`popstate`,Bi=`hashchange`;function Vi(){try{return window.history.state||{}}catch{return{}}}function Hi(e){e===void 0&&(e={}),!Pi&&(process.env.NODE_ENV===`production`?Ti(!1):Ti(!1,`Browser history needs a DOM`));var t=window.history,n=Ii(),r=!Li(),i=e,a=i.forceRefresh,o=a===void 0?!1:a,s=i.getUserConfirmation,c=s===void 0?Fi:s,l=i.keyLength,u=l===void 0?6:l,d=e.basename?ki(Ei(e.basename)):``;function f(e){var t=e||{},n=t.key,r=t.state,i=window.location,a=i.pathname,o=i.search,s=i.hash,c=a+o+s;return process.env.NODE_ENV!==`production`&&Si(!d||Di(c,d),`You are attempting to use a basename on a page whose URL path does not begin with the basename. Expected path "`+c+`" to begin with "`+d+`".`),d&&(c=Oi(c,d)),Mi(c,r,n)}function p(){return Math.random().toString(36).substr(2,u)}var m=Ni();function h(e){_i(P,e),P.length=t.length,m.notifyListeners(P.location,P.action)}function g(e){Ri(e)||y(f(e.state))}function _(){y(f(Vi()))}var v=!1;function y(e){if(v)v=!1,h();else{var t=`POP`;m.confirmTransitionTo(e,t,c,function(n){n?h({action:t,location:e}):b(e)})}}function b(e){var t=P.location,n=S.indexOf(t.key);n===-1&&(n=0);var r=S.indexOf(e.key);r===-1&&(r=0);var i=n-r;i&&(v=!0,E(i))}var x=f(Vi()),S=[x.key];function C(e){return d+ji(e)}function w(e,r){process.env.NODE_ENV!==`production`&&Si(!(typeof e==`object`&&e.state!==void 0&&r!==void 0),`You should avoid providing a 2nd state argument to push when the 1st argument is a location-like object that already has state; it is ignored`);var i=`PUSH`,a=Mi(e,r,p(),P.location);m.confirmTransitionTo(a,i,c,function(e){if(e){var r=C(a),s=a.key,c=a.state;if(n)if(t.pushState({key:s,state:c},null,r),o)window.location.href=r;else{var l=S.indexOf(P.location.key),u=S.slice(0,l+1);u.push(a.key),S=u,h({action:i,location:a})}else process.env.NODE_ENV!==`production`&&Si(c===void 0,`Browser history cannot push state in browsers that do not support HTML5 history`),window.location.href=r}})}function T(e,r){process.env.NODE_ENV!==`production`&&Si(!(typeof e==`object`&&e.state!==void 0&&r!==void 0),`You should avoid providing a 2nd state argument to replace when the 1st argument is a location-like object that already has state; it is ignored`);var i=`REPLACE`,a=Mi(e,r,p(),P.location);m.confirmTransitionTo(a,i,c,function(e){if(e){var r=C(a),s=a.key,c=a.state;if(n)if(t.replaceState({key:s,state:c},null,r),o)window.location.replace(r);else{var l=S.indexOf(P.location.key);l!==-1&&(S[l]=a.key),h({action:i,location:a})}else process.env.NODE_ENV!==`production`&&Si(c===void 0,`Browser history cannot replace state in browsers that do not support HTML5 history`),window.location.replace(r)}})}function E(e){t.go(e)}function D(){E(-1)}function O(){E(1)}var k=0;function A(e){k+=e,k===1&&e===1?(window.addEventListener(zi,g),r&&window.addEventListener(Bi,_)):k===0&&(window.removeEventListener(zi,g),r&&window.removeEventListener(Bi,_))}var j=!1;function M(e){e===void 0&&(e=!1);var t=m.setPrompt(e);return j||=(A(1),!0),function(){return j&&(j=!1,A(-1)),t()}}function N(e){var t=m.appendListener(e);return A(1),function(){A(-1),t()}}var P={length:t.length,action:`POP`,location:x,createHref:C,push:w,replace:T,go:E,goBack:D,goForward:O,block:M,listen:N};return P}var Ui=Hi(),Wi=l({locationStates:()=>Gi,setInitialSearchParams:()=>Ji,updateLocalStorage:()=>Ki,updateLocation:()=>Yi,updateQueryString:()=>qi}),Gi={MEMORY:`memory`,QUERY_PARAMS:`searchParams`,LOCAL_STORAGE:`localStorage`},Ki=e=>(t,n)=>{let{bookURL:r}=n().readerSettings,i=K.createHash(r),a=si.get()||{};return a[i]=a[i]||{},a[i].location=e,si.set(a),t({type:Mr,payload:e})},qi=e=>(t,n)=>{let r=n(),{searchParamKeys:i}=r.readerSettings,{searchParams:a}=r.readerLocation,{searchParams:o}=e,{slug:s}=i,c=q.parseQueryString(a),l=q.parseQueryString(o),u=c[s],d=l[s],f=!u||u===d?`replace`:`push`,p=fi(o,i).toString();return Ui[f]({search:p}),t({type:Mr,payload:e})},Ji=()=>(e,t)=>{let{readerSettings:n}=t(),{bookURL:r,searchParamKeys:i,locationState:a}=n,{searchParams:o}=n;(0,jr.default)(o)&&(o=ui(o,i).toString());let s={searchParams:``};if(o)s.searchParams=o;else if(a===Gi.QUERY_PARAMS){let e;if(window.location.search&&li(window.location.search,i))e=new URLSearchParams(window.location.search);else{let t=K.createHash(r);e=(si.get()||{})[t]?.location?.searchParams||``}e=ui(e,i),e=fi(e,i),s={searchParams:e.toString()}}else if(a===Gi.LOCAL_STORAGE){r||console.error("Err! No `bookURL` provided");let e,t=K.createHash(r),n=si.get()||{};n[t]=n[t]||{},e=n[t].location?.searchParams||``,e=ui(e,i),s={searchParams:e.toString()},n[t].location=s,si.set(n)}return e({type:Mr,payload:s})},Yi=e=>(t,n)=>{let{locationState:r}=n().readerSettings;if(r===Gi.QUERY_PARAMS)return t(qi(e));if(r===Gi.LOCAL_STORAGE)return t(Ki(e))},Xi=`SETTINGS_UPDATE`,Zi=l({updateSettings:()=>Qi}),Qi=e=>({type:Xi,payload:e}),$i=class e{static async get(e,t){let n=await fetch(e),{ok:r,status:i,url:a}=n;return{data:await n[t](),request:{ok:r,status:i,url:a}}}static async getJson(t){return e.get(t,`json`)}static async getText(t){return e.get(t,`text`)}static getBooks(t=``){let n=`${q.stripTrailingSlash(t)}/api/books.json`;return e.getJson(n)}},ea=c(((e,t)=>{var n=Et();t.exports=function(){return n.Date.now()}})),ta=c(((e,t)=>{var n=jt(),r=ea(),i=wr(),a=`Expected a function`,o=Math.max,s=Math.min;function c(e,t,c){var l,u,d,f,p,m,h=0,g=!1,_=!1,v=!0;if(typeof e!=`function`)throw TypeError(a);t=i(t)||0,n(c)&&(g=!!c.leading,_=`maxWait`in c,d=_?o(i(c.maxWait)||0,t):d,v=`trailing`in c?!!c.trailing:v);function y(t){var n=l,r=u;return l=u=void 0,h=t,f=e.apply(r,n),f}function b(e){return h=e,p=setTimeout(C,t),g?y(e):f}function x(e){var n=e-m,r=e-h,i=t-n;return _?s(i,d-r):i}function S(e){var n=e-m,r=e-h;return m===void 0||n>=t||n<0||_&&r>=d}function C(){var e=r();if(S(e))return w(e);p=setTimeout(C,x(e))}function w(e){return p=void 0,v&&l?y(e):(l=u=void 0,f)}function T(){p!==void 0&&clearTimeout(p),h=0,l=m=u=p=void 0}function E(){return p===void 0?f:w(r())}function D(){var e=r(),n=S(e);if(l=arguments,u=this,m=e,n){if(p===void 0)return b(m);if(_)return clearTimeout(p),p=setTimeout(C,t),y(m)}return p===void 0&&(p=setTimeout(C,t)),f}return D.cancel=T,D.flush=E,D}t.exports=c})),na=c(((e,t)=>{var n=Er();function r(e){return typeof e==`number`&&e==n(e)}t.exports=r})),ra=d(ta()),ia=d(na()),aa=`UPDATE`,oa=`PAGE_TRANSITIONS_UPDATE`,sa=`EVENT_HANDLING_UPDATE`,ca=`SPINNER_UPDATE`,la=l({disableEventHandling:()=>ma,disablePageTransitions:()=>fa,enableEventHandling:()=>pa,enablePageTransitions:()=>da,hideSpinner:()=>ga,showSpinner:()=>ha,update:()=>ua}),ua=e=>({type:aa,payload:e}),da=()=>({type:oa,payload:!0}),fa=()=>({type:oa,payload:!1}),pa=()=>({type:sa,payload:!0}),ma=()=>({type:sa,payload:!1}),ha=()=>({type:ca,payload:!0}),ga=()=>({type:ca,payload:!1}),_a=`LOAD`,va=`UNLOAD`,ya=`UPDATE_ULTIMATE_NODE_POSITION`,ba=`UPDATE_LAST_SPREAD_INDEX`,xa=`QUEUE_DEFERRED_CALLBACKS`,Sa=`DEQUEUE_DEFERRED_CALLBACKS`,Ca=l({dequeueDeferredCallbacks:()=>ka,load:()=>wa,queueDeferredCallbacks:()=>Oa,unload:()=>Ta,updateLastSpreadIndex:()=>Da,updateUltimateNodePosition:()=>Ea}),wa=()=>({type:_a,payload:!0}),Ta=()=>({type:va,payload:!1}),Ea=e=>({type:ya,payload:e}),Da=e=>({type:ba,payload:e}),Oa=()=>({type:xa,payload:!0}),ka=()=>({type:Sa,payload:!1}),Aa=`SETTINGS_LOAD`,ja=`SETTINGS_SAVE`,Ma=`SETTINGS_UPDATE`,Na=l({load:()=>Pa,save:()=>Fa,update:()=>Ia}),Pa=()=>e=>e({type:Aa}),Fa=()=>(e,t)=>{let{viewerSettings:n}=t(),r={viewerSettings:n};return si.set(r),e({type:ja,payload:n})},Ia=(e={})=>t=>t({type:Ma,payload:e}),La=c(((e,t)=>{function n(e,t){return e>t}t.exports=n})),Ra=c(((e,t)=>{var n=wr();function r(e){return function(t,r){return typeof t==`string`&&typeof r==`string`||(t=n(t),r=n(r)),e(t,r)}}t.exports=r})),za=c(((e,t)=>{var n=La();t.exports=Ra()(n)})),Ba=c(((e,t)=>{t.exports=Ra()(function(e,t){return e>=t})})),Va=c(((e,t)=>{var n=Object.prototype.hasOwnProperty;function r(e,t){return e!=null&&n.call(e,t)}t.exports=r})),Ha=c(((e,t)=>{var n=Va(),r=fr();function i(e,t){return e!=null&&r(e,t,n)}t.exports=i})),Ua=c(((e,t)=>{function n(e){return e===void 0}t.exports=n})),Wa=c(((e,t)=>{function n(e,t){return e<t}t.exports=n})),Ga=c(((e,t)=>{var n=Wa();t.exports=Ra()(n)})),Ka=c(((e,t)=>{t.exports=Ra()(function(e,t){return e<=t})})),qa=d(mt()),Ja=d(hn()),Ya=d(za()),Xa=d(Ba()),Za=d(Ha()),Qa=d(Ua()),$a=d(Ga()),eo=d(Ka()),to={SLIDE:`slide`,FADE:`fade`},no={DEFAULT:`default`,LIGHT:`light`,DARK:`dark`},ro={SLOW:.5,NORMAL:1,FAST:1.5},io=new Set([`simple`,`normal`,`full`]),ao={SCROLL:`scroll`,COLUMNS:`columns`},oo={ONE:`auto auto`,TWO:`2 auto`},so=`only screen and (min-aspect-ratio: 13 / 5)`,co=`only screen and (max-width: 768px)`,lo=`only screen and (min-width: 768px) and (max-width: 1140px)`,uo=`only screen and (min-width: 1140px)`,fo=`only screen and (min-width: 1140px) and (max-width: 1140px)`,po=`only screen and (min-width: 1140px) and (max-width: 1440px)`,mo=`only screen and (min-width: 1440px) and (max-width: 1920px)`,ho=`only screen and (min-width: 1920px)`,go=`only screen and (max-width: 1140px), (min-aspect-ratio: 13 / 5)`,_o=`only screen and (min-width: 1140px) and (max-aspect-ratio: 13 / 5)`,vo=new Map([[co,{maxWidth:`100%`,maxHeight:`auto`,columnGap:`45px`,columns:oo.ONE,paddingLeft:`15px`,paddingRight:`15px`,paddingTop:`55px`,paddingBottom:`80px`,fontSize:`clamp(140%, 1.5vw, 160%)`}],[lo,{maxWidth:`738px`,maxHeight:`auto`,columnGap:`45px`,columns:oo.ONE,paddingLeft:0,paddingRight:0,paddingTop:`55px`,paddingBottom:`80px`,fontSize:`clamp(150%, 1.5vw, 160%)`}],[fo,{maxWidth:`900px`,maxHeight:`500px`,columnGap:`45px`,columns:oo.TWO,paddingLeft:0,paddingRight:0,paddingTop:0,paddingBottom:0,fontSize:`137%`}],[po,{maxWidth:`1080px`,maxHeight:`600px`,columnGap:`65px`,columns:oo.TWO,paddingLeft:0,paddingRight:0,paddingTop:0,paddingBottom:0,fontSize:`130%`}],[mo,{maxWidth:`1280px`,maxHeight:`675px`,columnGap:`80px`,columns:oo.TWO,paddingLeft:0,paddingRight:0,paddingTop:0,paddingBottom:0,fontSize:`150%`}],[ho,{maxWidth:`1680px`,maxHeight:`880px`,columnGap:`125px`,columns:oo.TWO,paddingLeft:0,paddingRight:0,paddingTop:0,paddingBottom:0,fontSize:`195%`}]]),yo=c(((e,t)=>{t.exports={}})),bo=(0,c(((e,t)=>{function n(){return i()||(typeof navigator<`u`?a(navigator.userAgent):null)}function r(e){var t=s().filter(function(t){return t.rule&&t.rule.test(e)})[0];return t?t.name:null}function i(){return typeof navigator>`u`&&typeof process<`u`?{name:`node`,version:process.version.slice(1),os:yo().type().toLowerCase()}:null}function a(e){var t=o();if(!e)return null;var n=t.map(function(t){var n=t.rule.exec(e),r=n&&n[1].split(/[._]/).slice(0,3);return r&&r.length<3&&(r=r.concat(r.length==1?[0,0]:[0])),n&&{name:t.name,version:r.join(`.`)}}).filter(Boolean)[0]||null;return n&&(n.os=r(e)),/alexa|bot|crawl(er|ing)|facebookexternalhit|feedburner|google web preview|nagios|postrank|pingdom|slurp|spider|yahoo!|yandex/i.test(e)&&(n||={},n.bot=!0),n}function o(){return c([[`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/]])}function s(){return c([[`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)/]])}function c(e){return e.map(function(e){return{name:e[0],rule:e[1]}})}t.exports={detect:n,detectOS:r,getNodeVersion:i,parseUserAgent:a}}))().detect)(),xo=()=>{},So=()=>String(Math.random()).substring(2),Co=(...e)=>{let t;do t=e.shift();while((0,Qa.default)(t)&&e.length);return t},wo=(e,...t)=>{for(let n=0;n<t.length;n++)if((0,Ja.default)(t[n]))e=[...e||[],...t[n]];else if((0,jr.default)(t[n]))for(let[r,i]of Object.entries(t[n]))(0,Za.default)(t[n],r)&&(typeof e[r]==typeof i?e[r]=wo(e[r],i):e[r]=i);else e=t[n];return e},To=(()=>{let e={eq:qa.default,gt:Ya.default,gte:Xa.default,lt:$a.default,lte:eo.default};return(t,n,r)=>e[t].call(null,n,r)})(),Eo=(e,t=``,n=0)=>{if(!bo||bo.name!==e)return!1;if(!t||!n)return!0;let[r]=bo.version.split(`.`).map(Number);return To(t,r,n)},Do=({controls:e})=>io.has(e)?e:!(0,Qa.default)(e),J=class e{static isMediaQueryMobile=()=>window.matchMedia(co).matches;static isMediaQueryTablet=()=>window.matchMedia(lo).matches;static isMediaQueryDesktop=()=>window.matchMedia(uo).matches;static isMinimumScrollingAspectRatio=()=>window.matchMedia(so).matches;static isSingleColumn=()=>{let{css:t}=e.getCss();return t.columns===oo.ONE||e.isMinimumScrollingAspectRatio()};static isVerticalScrollConfigured=e=>e===ao.SCROLL;static isVerticallyScrolling=({layout:t})=>e.isSingleColumn()||e.isVerticalScrollConfigured(t);static isTouch=()=>`ontouchstart`in window||window.navigator.msPointerEnabled||`ontouchstart`in document.documentElement;static isPixelValue=e=>(e||``).substring(e.length-2)===`px`;static isPercentageValue=e=>(e||``).substring(e.length-1)===`%`;static parseStringWidthValue=t=>{let n=0;return e.isPixelValue(t)?n=parseInt(t,10):e.isPercentageValue(t)?n=window.innerWidth*parseInt(t,10)/100:console.error("Unsupported value `%s`",t),n};static parseStringHeightValue=t=>{let n=0;return e.isPixelValue(t)?n=parseInt(t,10):e.isPercentageValue(t)?n=window.innerHeight*parseInt(t,10)/100:console.error("Unsupported value `%s`",t),n};static getHorizontalSpacing=t=>{if(t===`auto`)return 0;let n=e.parseStringWidthValue(t);return(window.innerWidth-n)/2};static getVerticalSpacing=t=>{if(t===`auto`)return 0;let n=e.parseStringHeightValue(t);return n=(window.innerHeight-n)/2,n=Math.max(0,n),n};static getPageWidth=({width:e,paddingLeft:t,paddingRight:n,columnGap:r})=>e-t-n+r;static getCss=()=>{let e=po,t=vo.get(e);for(let[n,r]of vo)if(window.matchMedia(n).matches){t={...r},e=n;break}return{css:t,mediaQuery:e}};static getStyles=()=>{let{css:t}=e.getCss(),{maxWidth:n,maxHeight:r,columnGap:i,columns:a,paddingLeft:o,paddingRight:s,paddingTop:c,paddingBottom:l,fontSize:u}=t,d=e.getHorizontalSpacing(n),f=e.getVerticalSpacing(r);return{paddingLeft:d+parseInt(o,10),paddingRight:d+parseInt(s,10),paddingTop:f+parseInt(c,10),paddingBottom:f+parseInt(l,10),columnGap:parseInt(i,10),fontSize:u,columns:a}};static styles=()=>e.getStyles()},Oo={lastSpread:!1,spreadIndex:0,getTranslateX:()=>0,navigateToChapterByURL:xo,getSpineItemByAbsoluteUrl:xo},ko=e.default.createContext(Oo);ko.displayName=`ReaderContext`;var Ao=c((e=>{var t=Symbol.for(`react.transitional.element`),n=Symbol.for(`react.fragment`);function r(e,n,r){var i=null;if(r!==void 0&&(i=``+r),n.key!==void 0&&(i=``+n.key),`key`in n)for(var a in r={},n)a!==`key`&&(r[a]=n[a]);else r=n;return n=r.ref,{$$typeof:t,type:e,key:i,ref:n===void 0?null:n,props:r}}e.Fragment=n,e.jsx=r,e.jsxs=r})),jo=c((e=>{process.env.NODE_ENV!==`production`&&(function(){function t(e){if(e==null)return null;if(typeof e==`function`)return e.$$typeof===D?null:e.displayName||e.name||null;if(typeof e==`string`)return e;switch(e){case g:return`Fragment`;case v:return`Profiler`;case _:return`StrictMode`;case S:return`Suspense`;case C:return`SuspenseList`;case E:return`Activity`}if(typeof e==`object`)switch(typeof e.tag==`number`&&console.error(`Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue.`),e.$$typeof){case h:return`Portal`;case b:return(e.displayName||`Context`)+`.Provider`;case y:return(e._context.displayName||`Context`)+`.Consumer`;case x:var n=e.render;return e=e.displayName,e||=(e=n.displayName||n.name||``,e===``?`ForwardRef`:`ForwardRef(`+e+`)`),e;case w:return n=e.displayName||null,n===null?t(e.type)||`Memo`:n;case T:n=e._payload,e=e._init;try{return t(e(n))}catch{}}return null}function n(e){return``+e}function r(e){try{n(e);var t=!1}catch{t=!0}if(t){t=console;var r=t.error,i=typeof Symbol==`function`&&Symbol.toStringTag&&e[Symbol.toStringTag]||e.constructor.name||`Object`;return r.call(t,`The provided key is an unsupported type %s. This value must be coerced to a string before using it here.`,i),n(e)}}function i(e){if(e===g)return`<>`;if(typeof e==`object`&&e&&e.$$typeof===T)return`<...>`;try{var n=t(e);return n?`<`+n+`>`:`<...>`}catch{return`<...>`}}function a(){var e=O.A;return e===null?null:e.getOwner()}function o(){return Error(`react-stack-top-frame`)}function s(e){if(k.call(e,`key`)){var t=Object.getOwnPropertyDescriptor(e,`key`).get;if(t&&t.isReactWarning)return!1}return e.key!==void 0}function c(e,t){function n(){M||(M=!0,console.error("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://react.dev/link/special-props)",t))}n.isReactWarning=!0,Object.defineProperty(e,"key",{get:n,configurable:!0})}function l(){var e=t(this.type);return N[e]||(N[e]=!0,console.error(`Accessing element.ref was removed in React 19. ref is now a regular prop. It will be removed from the JSX Element type in a future release.`)),e=this.props.ref,e===void 0?null:e}function u(e,t,n,r,i,a,o,s){return n=a.ref,e={$$typeof:m,type:e,key:t,props:a,_owner:i},(n===void 0?null:n)===null?Object.defineProperty(e,"ref",{enumerable:!1,value:null}):Object.defineProperty(e,"ref",{enumerable:!1,get:l}),e._store={},Object.defineProperty(e._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:0}),Object.defineProperty(e,"_debugInfo",{configurable:!1,enumerable:!1,writable:!0,value:null}),Object.defineProperty(e,"_debugStack",{configurable:!1,enumerable:!1,writable:!0,value:o}),Object.defineProperty(e,"_debugTask",{configurable:!1,enumerable:!1,writable:!0,value:s}),Object.freeze&&(Object.freeze(e.props),Object.freeze(e)),e}function d(e,n,i,o,l,d,p,m){var h=n.children;if(h!==void 0)if(o)if(A(h)){for(o=0;o<h.length;o++)f(h[o]);Object.freeze&&Object.freeze(h)}else console.error(`React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.`);else f(h);if(k.call(n,`key`)){h=t(e);var g=Object.keys(n).filter(function(e){return e!==`key`});o=0<g.length?`{key: someKey, `+g.join(`: ..., `)+`: ...}`:`{key: someKey}`,I[h+o]||(g=0<g.length?`{`+g.join(`: ..., `)+`: ...}`:`{}`,console.error(`A props object containing a "key" prop is being spread into JSX:
|
|
7
|
+
let props = %s;
|
|
8
|
+
<%s {...props} />
|
|
9
|
+
React keys must be passed directly to JSX without using spread:
|
|
10
|
+
let props = %s;
|
|
11
|
+
<%s key={someKey} {...props} />`,o,h,g,h),I[h+o]=!0)}if(h=null,i!==void 0&&(r(i),h=``+i),s(n)&&(r(n.key),h=``+n.key),`key`in n)for(var _ in i={},n)_!==`key`&&(i[_]=n[_]);else i=n;return h&&c(i,typeof e==`function`?e.displayName||e.name||`Unknown`:e),u(e,h,d,l,a(),i,p,m)}function f(e){typeof e==`object`&&e&&e.$$typeof===m&&e._store&&(e._store.validated=1)}var p=require("react"),m=Symbol.for(`react.transitional.element`),h=Symbol.for(`react.portal`),g=Symbol.for(`react.fragment`),_=Symbol.for(`react.strict_mode`),v=Symbol.for(`react.profiler`),y=Symbol.for(`react.consumer`),b=Symbol.for(`react.context`),x=Symbol.for(`react.forward_ref`),S=Symbol.for(`react.suspense`),C=Symbol.for(`react.suspense_list`),w=Symbol.for(`react.memo`),T=Symbol.for(`react.lazy`),E=Symbol.for(`react.activity`),D=Symbol.for(`react.client.reference`),O=p.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,k=Object.prototype.hasOwnProperty,A=Array.isArray,j=console.createTask?console.createTask:function(){return null};p={"react-stack-bottom-frame":function(e){return e()}};var M,N={},P=p[`react-stack-bottom-frame`].bind(p,o)(),F=j(i(o)),I={};e.Fragment=g,e.jsx=function(e,t,n,r,a){var o=1e4>O.recentlyCreatedOwnerStacks++;return d(e,t,n,!1,r,a,o?Error(`react-stack-top-frame`):P,o?j(i(e)):F)},e.jsxs=function(e,t,n,r,a){var o=1e4>O.recentlyCreatedOwnerStacks++;return d(e,t,n,!0,r,a,o?Error(`react-stack-top-frame`):P,o?j(i(e)):F)}})()})),Y=c(((e,t)=>{process.env.NODE_ENV===`production`?t.exports=Ao():t.exports=jo()}))(),Mo=t=>{class n extends e.default.Component{goToPrevChapter=()=>{this.props.userInterface.handleEvents!==!1&&this.props.handleChapterNavigation(-1)};goToNextChapter=()=>{this.props.userInterface.handleEvents!==!1&&this.props.handleChapterNavigation(1)};goToPrevPage=()=>{this.props.userInterface.handleEvents!==!1&&(this.props.userInterfaceActions.enablePageTransitions(),this.props.handlePageNavigation(-1))};goToNextPage=()=>{this.props.userInterface.handleEvents!==!1&&(this.props.userInterfaceActions.enablePageTransitions(),this.props.handlePageNavigation(1))};render(){return(0,Y.jsx)(t,{goToPrevChapter:this.goToPrevChapter,goToNextChapter:this.goToNextChapter,goToPrevPage:this.goToPrevPage,goToNextPage:this.goToNextPage,...this.props})}}return H(({userInterface:e})=>({userInterface:e}),e=>({userInterfaceActions:W(la,e)}))(n)},No=()=>(0,Y.jsx)(`svg`,{style:{top:1},viewBox:`0 0 32 32`,version:`1.1`,xmlns:`http://www.w3.org/2000/svg`,children:(0,Y.jsx)(`g`,{stroke:`none`,strokeWidth:`1`,fill:`none`,fillRule:`evenodd`,children:(0,Y.jsxs)(`g`,{transform:`translate(1.000000, 0.615224)`,stroke:`#222222`,children:[(0,Y.jsx)(`circle`,{id:`Oval`,cx:`15`,cy:`15`,r:`15`}),(0,Y.jsx)(`circle`,{id:`Oval`,cx:`15.5`,cy:`15.5`,r:`7.5`})]})})}),Po=()=>(0,Y.jsx)(`svg`,{viewBox:`0 0 18 22`,version:`1.1`,xmlns:`http://www.w3.org/2000/svg`,children:(0,Y.jsx)(`g`,{stroke:`none`,strokeWidth:`0`,fill:`none`,fillRule:`evenodd`,children:(0,Y.jsx)(`g`,{transform:`translate(-6.000000, -3.000000)`,fill:`#000000`,children:(0,Y.jsx)(`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`})})})}),Fo=()=>(0,Y.jsx)(`svg`,{viewBox:`0 0 12 13`,version:`1.1`,xmlns:`http://www.w3.org/2000/svg`,children:(0,Y.jsx)(`g`,{stroke:`none`,strokeWidth:`0`,fill:`none`,fillRule:`evenodd`,children:(0,Y.jsx)(`g`,{transform:`translate(0.000000, 0.422836)`,fill:`#000000`,fillRule:`nonzero`,children:(0,Y.jsx)(`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`})})})}),Io=()=>(0,Y.jsx)(`svg`,{style:{top:1},viewBox:`0 0 26 26`,version:`1.1`,xmlns:`http://www.w3.org/2000/svg`,children:(0,Y.jsx)(`g`,{stroke:`none`,strokeWidth:`0`,fill:`none`,fillRule:`evenodd`,children:(0,Y.jsx)(`g`,{transform:`translate(-2.000000, -2.000000)`,fill:`#222222`,children:(0,Y.jsx)(`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`})})})}),Lo=()=>(0,Y.jsx)(`svg`,{viewBox:`0 0 22 18`,version:`1.1`,xmlns:`http://www.w3.org/2000/svg`,children:(0,Y.jsx)(`g`,{stroke:`none`,strokeWidth:`0`,fill:`none`,fillRule:`evenodd`,children:(0,Y.jsx)(`g`,{transform:`translate(-5.000000, -6.192388)`,fill:`#000000`,children:(0,Y.jsx)(`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`})})})}),Ro=()=>(0,Y.jsx)(`svg`,{width:`24px`,height:`36px`,viewBox:`0 0 24 36`,version:`1.1`,xmlns:`http://www.w3.org/2000/svg`,children:(0,Y.jsx)(`g`,{stroke:`none`,strokeWidth:`1`,fill:`none`,fillRule:`evenodd`,children:(0,Y.jsx)(`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) `})})}),zo=()=>(0,Y.jsx)(`svg`,{style:{transform:`scale(-1)`},width:`24px`,height:`36px`,viewBox:`0 0 24 36`,version:`1.1`,xmlns:`http://www.w3.org/2000/svg`,children:(0,Y.jsx)(`g`,{stroke:`none`,strokeWidth:`1`,fill:`none`,fillRule:`evenodd`,children:(0,Y.jsx)(`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) `})})}),Bo=()=>(0,Y.jsx)(`svg`,{width:`16px`,height:`24px`,viewBox:`0 0 16 24`,version:`1.1`,xmlns:`http://www.w3.org/2000/svg`,children:(0,Y.jsx)(`g`,{stroke:`none`,strokeWidth:`1`,fill:`none`,fillRule:`evenodd`,children:(0,Y.jsx)(`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) `})})}),Vo=()=>(0,Y.jsx)(`svg`,{style:{transform:`scale(-1)`},width:`16px`,height:`24px`,viewBox:`0 0 16 24`,version:`1.1`,xmlns:`http://www.w3.org/2000/svg`,children:(0,Y.jsx)(`g`,{stroke:`none`,strokeWidth:`1`,fill:`none`,fillRule:`evenodd`,children:(0,Y.jsx)(`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 Ho(t){let n=t.spine?.length??0,r=(0,e.useMemo)(()=>({chapter:{prev:e=>e.currentSpineItemIndex<1?!1:e.uiOptions.navigation.footer_icons.chapter||J.isVerticallyScrolling(e),next:e=>{let t=e.spine?.length??0;return e.currentSpineItemIndex>=t-1?!1:e.uiOptions.navigation.footer_icons.chapter||J.isVerticallyScrolling(e)}},page:{prev:e=>!J.isVerticallyScrolling(e)&&e.uiOptions.navigation.footer_icons.page&&(e.currentSpineItemIndex!==0||e.spreadIndex!==0),next:e=>{let t=e.spine?.length??0;return!J.isVerticallyScrolling(e)&&e.uiOptions.navigation.footer_icons.page&&(e.currentSpineItemIndex!==t-1||e.spreadIndex!==e.lastSpreadIndex)}}}),[t.currentSpineItemIndex,t.uiOptions.navigation.footer_icons.chapter,n,t.uiOptions.navigation.footer_icons.page,t.spreadIndex,t.lastSpreadIndex]);return t.spine?(0,Y.jsx)(`footer`,{className:`bber-controls__footer`,children:(0,Y.jsx)(`nav`,{className:`bber-nav`,children:(0,Y.jsxs)(`ul`,{className:`bber-ul`,children:[(0,Y.jsx)(`li`,{className:`bber-li`,children:r.chapter.prev(t)&&(0,Y.jsx)(`button`,{className:`bber-button bber-nav__button`,onClick:t.goToPrevChapter,children:(0,Y.jsx)(Vo,{})})}),(0,Y.jsx)(`li`,{className:`bber-li`,children:r.page.prev(t)&&(0,Y.jsx)(`button`,{className:`bber-button bber-nav__button bber-nav__button--page-prev`,onClick:t.goToPrevPage,children:(0,Y.jsx)(zo,{})})}),(0,Y.jsx)(`li`,{className:`bber-li`,children:r.page.next(t)&&(0,Y.jsx)(`button`,{className:`bber-button bber-nav__button bber-nav__button--page-next`,onClick:t.goToNextPage,children:(0,Y.jsx)(Ro,{})})}),(0,Y.jsx)(`li`,{className:`bber-li`,children:r.chapter.next(t)&&(0,Y.jsx)(`button`,{className:`bber-button bber-nav__button`,onClick:t.goToNextChapter,children:(0,Y.jsx)(Bo,{})})})]})})}):null}var X=d(c(((e,t)=>{(function(){"use strict";var e={}.hasOwnProperty;function n(){for(var t=[],r=0;r<arguments.length;r++){var i=arguments[r];if(i){var a=typeof i;if(a===`string`||a===`number`)t.push(i);else if(Array.isArray(i)){if(i.length){var o=n.apply(null,i);o&&t.push(o)}}else if(a===`object`){if(i.toString!==Object.prototype.toString&&!i.toString.toString().includes(`[native code]`)){t.push(i.toString());continue}for(var s in i)e.call(i,s)&&i[s]&&t.push(s)}}}return t.join(` `)}t!==void 0&&t.exports?(n.default=n,t.exports=n):typeof define==`function`&&typeof define.amd==`object`&&define.amd?define(`classnames`,[],function(){return n}):window.classNames=n})()}))());function Uo(){let[t,n]=(0,e.useState)(0);return[(0,e.useCallback)(e=>{if(e===null){n(0);return}let{y:t}=e.getBoundingClientRect();n(window.innerHeight-t)},[window.innerHeight]),t]}function Wo(e){let{current:t,items:n}=e,r=e.depth||0;return(0,Y.jsx)(`ol`,{className:`bber-ol`,children:n.filter(e=>e.depth===r&&e.inTOC).map((n,i)=>(0,Y.jsxs)(`li`,{className:`bber-li`,children:[(0,Y.jsx)(`button`,{onClick:()=>e.navigateToChapterByURL(n.absoluteURL),className:(0,X.default)(`bber-button bber-indent--${r+1}`,{"bber-chapter--current":t===n.id}),children:n.title||`Chapter ${r}.${i}`}),n.children.length>0&&(0,Y.jsx)(Wo,{current:t,items:n.children,depth:r+1,navigateToChapterByURL:e.navigateToChapterByURL})]},n.id))})}function Go(e){if(e.readerSettings.SidebarChapters)return e.readerSettings.SidebarChapters(e);if(e.showSidebar!==`chapters`)return null;let[t,n]=Uo();return(0,Y.jsx)(`nav`,{ref:t,style:{maxHeight:n},className:(0,X.default)(`bber-nav`,`bber-controls__sidebar`,`bber-controls__sidebar__chapters`,`bber-controls__sidebar__chapters--open`),children:(0,Y.jsx)(Wo,{items:[...e.spine],current:(e.spine[e.currentSpineItemIndex||0]||{}).id,navigateToChapterByURL:e.navigateToChapterByURL})})}var Ko=H(({readerSettings:e})=>({readerSettings:e}))(Go);function qo({url:e,label:t,description:n}){return(0,Y.jsx)(`li`,{className:`bber-li`,children:(0,Y.jsxs)(`a`,{className:`bber-a`,download:!0,href:e,onClick:()=>{},children:[(0,Y.jsx)(`div`,{className:`bber-downloads__title`,children:t}),n&&(0,Y.jsx)(`div`,{className:`bber-downloads__description`,children:n})]})})}function Jo(e){if(e.readerSettings.SidebarDownloads)return e.readerSettings.SidebarDownloads(e);if(e.showSidebar!==`downloads`)return null;let[t,n]=Uo();return(0,Y.jsx)(`nav`,{ref:t,style:{maxHeight:n},className:(0,X.default)(`bber-nav`,`bber-controls__sidebar`,`bber-controls__sidebar__downloads`,`bber-controls__sidebar__downloads--open`),children:(0,Y.jsx)(`ul`,{className:`bber-ul`,children:e.downloads.map(e=>(0,Y.jsx)(qo,{url:e.url,label:e.label,description:e.description},e.url))})})}var Yo=H(({readerSettings:e})=>({readerSettings:e}))(Jo);function Xo(e){if(e.readerSettings.SidebarMetadata)return e.readerSettings.SidebarMetadata(e);if(e.showSidebar!==`metadata`)return null;let[t,n]=Uo();return(0,Y.jsx)(`nav`,{ref:t,style:{maxHeight:n},className:(0,X.default)(`bber-nav`,`bber-controls__sidebar`,`bber-controls__sidebar__metadata`,`bber-controls__sidebar__metadata--open`),children:(0,Y.jsx)(`dl`,{className:`bber-dl`,children:Object.entries(e.metadata).map(([e,t])=>!e||!t?null:(0,Y.jsxs)(`div`,{children:[(0,Y.jsx)(`dt`,{className:`bber-dt`,children:e}),(0,Y.jsx)(`dd`,{className:`bber-dd`,children:t})]},e))})})}var Zo=H(({readerSettings:e})=>({readerSettings:e}))(Xo);e.default.Component;function Qo(e){if(!e||!e.uiOptions?.navigation?.header_icons)return null;let{showSidebar:t,downloads:n,spine:r,currentSpineItemIndex:i,navigateToChapterByURL:a,metadata:o}=e,{toc:s,home:c,info:l,downloads:u}=e.uiOptions.navigation.header_icons;return(0,Y.jsx)(`header`,{className:`bber-controls__header`,children:(0,Y.jsx)(`nav`,{className:`bber-nav`,children:(0,Y.jsxs)(`ul`,{className:`bber-ul`,children:[(0,Y.jsx)(`li`,{className:`bber-li bber-li-home`,children:c&&(0,Y.jsx)(`button`,{className:`bber-button bber-nav__button`,onClick:e.destroyReaderComponent,children:(0,Y.jsx)(No,{})})}),(0,Y.jsx)(`li`,{className:`bber-li`,children:(0,Y.jsxs)(`ul`,{className:`bber-ul`,children:[s&&(0,Y.jsxs)(`li`,{className:`bber-li bber-li-toc`,children:[(0,Y.jsx)(`button`,{className:(0,X.default)(`bber-button`,`bber-nav__button`,{"bber-nav__button--open":t===`chapters`}),onClick:()=>e.handleSidebarButtonClick(`chapters`),children:t===`chapters`?(0,Y.jsx)(Fo,{}):(0,Y.jsx)(Lo,{})}),(0,Y.jsx)(Ko,{showSidebar:t,spine:r,currentSpineItemIndex:i,navigateToChapterByURL:a})]}),u&&n.length>0&&(0,Y.jsxs)(`li`,{className:`bber-li bber-li-downloads`,children:[(0,Y.jsx)(`button`,{className:(0,X.default)(`bber-button`,`bber-nav__button`,{"bber-nav__button--open":t===`downloads`}),onClick:()=>e.handleSidebarButtonClick(`downloads`),children:t===`downloads`?(0,Y.jsx)(Fo,{}):(0,Y.jsx)(Po,{})}),(0,Y.jsx)(Yo,{showSidebar:t,downloads:n})]}),!1,l&&(0,Y.jsxs)(`li`,{className:`bber-li bber-li-info`,children:[(0,Y.jsx)(`button`,{className:(0,X.default)(`bber-button`,`bber-nav__button`,{"bber-nav__button--open":t===`metadata`}),onClick:()=>e.handleSidebarButtonClick(`metadata`),children:t===`metadata`?(0,Y.jsx)(Fo,{}):(0,Y.jsx)(Io,{})}),(0,Y.jsx)(Zo,{showSidebar:t,metadata:o})]})]})})]})})})}function $o(t){let n=e=>{t.userInterface.handleEvents&&e.target.closest(`.bber-controls__sidebar`)===null&&e.target.closest(`.bber-nav__button`)===null&&t.showSidebar&&t.handleSidebarButtonClick(null)},r=e=>{if(t.userInterface.handleEvents&&!(!e||e.which===void 0))switch(e.which){case 37:t.userInterfaceActions.enablePageTransitions(),t.handlePageNavigation(-1),t.handleSidebarButtonClick(null);break;case 39:t.userInterfaceActions.enablePageTransitions(),t.handlePageNavigation(1),t.handleSidebarButtonClick(null);break;case 27:t.handleSidebarButtonClick(null);break;case 80:e.metaKey&&(e.preventDefault(),e.stopImmediatePropagation(),window.print());break;default:break}};(0,e.useEffect)(()=>(document.addEventListener(`keydown`,r),document.addEventListener(`click`,n),document.addEventListener(`touchstart`,n),()=>{document.removeEventListener(`keydown`,r),document.removeEventListener(`click`,n),document.removeEventListener(`touchstart`,n)}),[t.userInterface.handleEvents,t.showSidebar]);let i=t.readerSettings.NavigationHeader||Qo,a=Mo(t.readerSettings.NavigationFooter||Ho),{destroyReaderComponent:o,handleSidebarButtonClick:s,downloads:c,uiOptions:l,currentSpineItemIndex:u,spine:d,layout:f,metadata:p,showSidebar:m,spreadIndex:h,lastSpreadIndex:g,handleChapterNavigation:_,handlePageNavigation:v,navigateToChapterByURL:y}=t,{enablePageTransitions:b}=t.userInterfaceActions,{handleEvents:x}=t.userInterface;return(0,Y.jsxs)(`div`,{className:`bber-controls`,children:[(0,Y.jsx)(i,{destroyReaderComponent:o,handleSidebarButtonClick:s,downloads:c,uiOptions:l,showSidebar:m,spine:d,currentSpineItemIndex:u,navigateToChapterByURL:y,metadata:p}),t.children,(0,Y.jsx)(a,{uiOptions:l,currentSpineItemIndex:u,spine:d,layout:f,spreadIndex:h,lastSpreadIndex:g,handleEvents:x,handleChapterNavigation:_,enablePageTransitions:b,handlePageNavigation:v})]})}var es=H(({readerSettings:e,viewerSettings:t,userInterface:n})=>({readerSettings:e,viewerSettings:t,userInterface:n}),e=>({userInterfaceActions:W(la,e)}))($o),ts=({transitionSpeed:e})=>({[to.SLIDE]:{transition:`transform ${e}ms ease`},[to.FADE]:{}}),ns=t=>{class n extends e.default.Component{constructor(e){super(e),this.getFrameWidth=this.getFrameWidth.bind(this),this.getFrameHeight=this.getFrameHeight.bind(this),this.getSingleColumnWidth=this.getSingleColumnWidth.bind(this),this.updateDimensions=this.updateDimensions.bind(this)}UNSAFE_componentWillMount(){this.updateDimensions()}getWidth=e=>{if(!e||/mobi/i.test(window.navigator.userAgent)===!1)return window.innerWidth;let{matches:t}=window.matchMedia(`(orientation: landscape)`);return t?window.screen.height:window.screen.width};updateDimensions(){let e=J.isVerticallyScrolling(this.props),t=this.getWidth(e),n=e?`auto`:window.innerHeight,r=e?oo.ONE:oo.TWO;this.props.viewerSettingsActions.update({width:t,height:n,columns:r})}getFrameHeight(){if(J.isVerticallyScrolling(this.props))return`auto`;let{height:e}=this.props.viewerSettings,{paddingTop:t,paddingBottom:n}=this.props.viewerSettings;return ai(e)||(e=window.innerHeight),e-=t,e-=n,e}getFrameWidth(){let{width:e,paddingLeft:t,paddingRight:n,columnGap:r}=this.props.viewerSettings;return e-t-n-r}getSingleColumnWidth(){return this.getFrameWidth()/2}render(){return(0,Y.jsx)(t,{getFrameHeight:this.getFrameHeight,getFrameWidth:this.getFrameWidth,getSingleColumnWidth:this.getSingleColumnWidth,updateDimensions:this.updateDimensions,...this.props})}}return H(({viewerSettings:e})=>({viewerSettings:e}),e=>({viewerSettingsActions:W(Na,e)}))(n)},rs=100,is=t=>{function n(n){let r=(0,e.useRef)(null),[i,a]=(0,e.useState)(0),o=(0,e.useRef)(null),s=(0,e.useRef)(n);return s.current=n,(0,e.useEffect)(()=>{a(0)},[n.slug]),(0,e.useEffect)(()=>{let e=()=>{if(!r.current)return;let e=document.querySelector(`.bber-ultimate`),t;if(bo.name===`firefox`||bo.name===`edge`&&/Windows/.test(window.navigator.userAgent)&&e){if(!e)return;t=e.offsetLeft}else t=Math.max(r.current.scrollHeight,r.current.offsetHeight,r.current.clientHeight);a(t)};o.current=e;let t=null,n=()=>{clearTimeout(t),t=setTimeout(e,rs)},i=new MutationObserver(n);r.current&&i.observe(r.current,{childList:!0,subtree:!0});let s=new ResizeObserver(n);return r.current&&s.observe(r.current),e(),()=>{i.disconnect(),s.disconnect(),clearTimeout(t)}},[]),(0,e.useEffect)(()=>{o.current?.()},[n.view?.loaded,n.view?.ultimateOffsetLeft]),(0,e.useEffect)(()=>{if(i===0)return;let e=s.current.getFrameHeight();if(!ai(e)||e===0){s.current.viewActions.updateLastSpreadIndex(0);return}let t=i/e/2,n=Math.round((t+2**-52)*10)/10,r=Math.ceil(n)-1;r<0&&(r=0),s.current.viewActions.updateLastSpreadIndex(r)},[i]),(0,Y.jsx)(t,{innerRef:r,getFrameHeight:n.getFrameHeight,getFrameWidth:n.getFrameWidth,getSingleColumnWidth:n.getSingleColumnWidth,updateDimensions:n.updateDimensions,BookContent:n.BookContent,className:n.className,lastSpreadIndex:n.lastSpreadIndex,layout:n.layout,readerSettings:n.readerSettings,slug:n.slug,spreadIndex:n.spreadIndex,spineItemURL:n.spineItemURL,style:n.style,view:n.view,viewerSettings:n.viewerSettings,userInterface:n.userInterface,viewerSettingsActions:n.viewerSettingsActions,viewActions:n.viewActions})}return H(()=>({}),e=>({viewActions:W(Ca,e)}))(n)};function as(e,t){let{width:n,height:r,columns:i,columnGap:a,paddingTop:o,paddingLeft:s,paddingRight:c,paddingBottom:l,fontSize:u}=e.viewerSettings,{margin:d,border:f,boxSizing:p,columnFill:m,transform:h}=t,{layout:g}=e,_=o,v=l;if(J.isVerticalScrollConfigured(g)){let e=vo.get(co);_=e.paddingTop,v=e.paddingBottom}return{width:n,height:r,columnGap:a,paddingTop:_,paddingLeft:s,paddingRight:c,paddingBottom:v,margin:d,border:f,boxSizing:p,columns:i,columnFill:m,transform:h,fontSize:u}}function os(e,t){let n={},r=t;return bo.name===`firefox`?(e===`left`&&(r*=-1),n={[e]:`${r}px`}):(r*=-1,n={transform:`translateX(${r}px) translate3d(0, 0, 0)`}),n}function ss({layout:e,paddingLeft:t,paddingRight:n,enableTransitions:r,translateX:i,transitionSpeed:a}){return J.isVerticallyScrolling({layout:e})?null:(0,Y.jsxs)(Y.Fragment,{children:[(0,Y.jsx)(`div`,{className:`bber-leaf bber-leaf--left`,style:{width:t,...os(`left`,i,a),...r?{}:{transition:`none`}}}),(0,Y.jsx)(`div`,{className:`bber-leaf bber-leaf--right`,style:{width:n,...os(`right`,i,a),...r?{}:{transition:`none`}}})]})}function cs(t){let n=(0,e.useContext)(ko),[r,i]=(0,e.useState)({margin:0,border:0,boxSizing:`border-box`,transform:`translateX(0) translate3d(0, 0, 0)`,columnFill:`auto`}),a=t.getFrameHeight(),{spreadIndex:o,slug:s,layout:c}=t,{enableTransitions:l}=t.userInterface,{transition:u,transitionSpeed:d,paddingLeft:f,paddingRight:p}=t.viewerSettings,m=n.getTranslateX(),h=e=>{let t=`translateX(${n.getTranslateX(e)}px) translate3d(0, 0, 0)`;i(e=>({...e,transform:t}))},g=(0,ra.default)(()=>{t.updateDimensions(),h()},60,{});return(0,e.useEffect)(()=>(t.updateDimensions(),h(),window.addEventListener(`resize`,g),()=>window.removeEventListener(`resize`,g)),[]),(0,e.useEffect)(()=>{h(t.spreadIndex)},[t.spreadIndex]),(0,Y.jsxs)(`div`,{id:`layout`,className:(0,X.default)(`spread-index__${o}`,s,{context__scroll:J.isVerticallyScrolling({layout:c}),context__desktop:J.isMediaQueryDesktop(),context__mobile:!J.isMediaQueryDesktop()}),style:{...as(t,r),...ts({transitionSpeed:d})[u],...l?{}:{transition:`none`}},children:[(0,Y.jsx)(`div`,{id:`content`,ref:t.innerRef,style:{margin:0,padding:0,minHeight:a},children:(0,Y.jsx)(t.BookContent,{},t.spineItemURL)}),(0,Y.jsx)(ss,{layout:c,paddingLeft:f,paddingRight:p,enableTransitions:l,translateX:m,transitionSpeed:d})]})}var ls=H(({userInterface:e})=>({userInterface:e}),()=>({}))(ns(is(cs)));function us(t){let n=(0,e.useRef)(null);return(0,e.useEffect)(()=>{!J.isSingleColumn()||!n?.current||n.current.scrollTo(0,0)},[t.slug]),(0,Y.jsx)(`div`,{id:`frame`,ref:n,className:(0,X.default)(`_${K.createHash(t.readerSettings.bookURL)}`,t.className||``),style:{position:`absolute`,top:0,left:0,right:0,bottom:0,margin:0,padding:0,border:0,...J.isVerticallyScrolling(t)?{WebkitOverflowScrolling:`touch`,overflowY:`auto`,overflowX:`hidden`}:{overflow:`hidden`},...(0,jr.default)(t.style)?t.style:{}},children:(0,Y.jsx)(ls,{BookContent:t.BookContent,className:t.className,lastSpreadIndex:t.lastSpreadIndex,layout:t.layout,readerSettings:t.readerSettings,slug:t.slug,spreadIndex:t.spreadIndex,spineItemURL:t.spineItemURL,style:t.style,view:t.view,viewerSettings:t.viewerSettings})})}var ds=H(({readerSettings:e,viewerSettings:t})=>({readerSettings:e,viewerSettings:t}),()=>({}))(us);function fs(e){return(0,Y.jsx)(`div`,{className:(0,X.default)(`bber-spinner`,{"bber-spinner--visible":e.userInterface.spinnerVisible}),children:(0,Y.jsx)(`div`,{className:`bber-spinner__detail`})})}var ps=H(({userInterface:e})=>({userInterface:e}),()=>({}))(fs),ms=0;function Z(e){return e>=48&&e<=57}function hs(e){return Z(e)||e>=65&&e<=70||e>=97&&e<=102}function gs(e){return e>=65&&e<=90}function _s(e){return e>=97&&e<=122}function vs(e){return gs(e)||_s(e)}function ys(e){return e>=128}function bs(e){return vs(e)||ys(e)||e===95}function xs(e){return bs(e)||Z(e)||e===45}function Ss(e){return e>=0&&e<=8||e===11||e>=14&&e<=31||e===127}function Cs(e){return e===10||e===13||e===12}function ws(e){return Cs(e)||e===32||e===9}function Ts(e,t){return!(e!==92||Cs(t)||t===ms)}function Es(e,t,n){return e===45?bs(t)||t===45||Ts(t,n):bs(e)?!0:e===92?Ts(e,t):!1}function Ds(e,t,n){return e===43||e===45?Z(t)?2:t===46&&Z(n)?3:0:e===46?Z(t)?2:0:+!!Z(e)}function Os(e){return+(e===65279||e===65534)}var ks=Array(128);for(let e=0;e<ks.length;e++)ks[e]=ws(e)&&130||Z(e)&&131||bs(e)&&132||Ss(e)&&133||e||128;function As(e){return e<128?ks[e]:132}function js(e,t){return t<e.length?e.charCodeAt(t):0}function Ms(e,t,n){return n===13&&js(e,t+1)===10?2:1}function Ns(e,t,n){let r=e.charCodeAt(t);return gs(r)&&(r|=32),r===n}function Ps(e,t,n,r){if(n-t!==r.length||t<0||n>e.length)return!1;for(let i=t;i<n;i++){let n=r.charCodeAt(i-t),a=e.charCodeAt(i);if(gs(a)&&(a|=32),a!==n)return!1}return!0}function Fs(e,t){for(;t>=0&&ws(e.charCodeAt(t));t--);return t+1}function Is(e,t){for(;t<e.length&&ws(e.charCodeAt(t));t++);return t}function Ls(e,t){for(;t<e.length&&Z(e.charCodeAt(t));t++);return t}function Rs(e,t){if(t+=2,hs(js(e,t-1))){for(let n=Math.min(e.length,t+5);t<n&&hs(js(e,t));t++);let n=js(e,t);ws(n)&&(t+=Ms(e,t,n))}return t}function zs(e,t){for(;t<e.length;t++){let n=e.charCodeAt(t);if(!xs(n)){if(Ts(n,js(e,t+1))){t=Rs(e,t)-1;continue}break}}return t}function Bs(e,t){let n=e.charCodeAt(t);if((n===43||n===45)&&(n=e.charCodeAt(t+=1)),Z(n)&&(t=Ls(e,t+1),n=e.charCodeAt(t)),n===46&&Z(e.charCodeAt(t+1))&&(t+=2,t=Ls(e,t)),Ns(e,t,101)){let r=0;n=e.charCodeAt(t+1),(n===45||n===43)&&(r=1,n=e.charCodeAt(t+2)),Z(n)&&(t=Ls(e,t+1+r+1))}return t}function Vs(e,t){for(;t<e.length;t++){let n=e.charCodeAt(t);if(n===41){t++;break}Ts(n,js(e,t+1))&&(t=Rs(e,t))}return t}function Hs(e){if(e.length===1&&!hs(e.charCodeAt(0)))return e[0];let t=parseInt(e,16);return(t===0||t>=55296&&t<=57343||t>1114111)&&(t=65533),String.fromCodePoint(t)}var Us=[`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`],Ws=16*1024;function Gs(e=null,t){return e===null||e.length<t?new Uint32Array(Math.max(t+1024,Ws)):e}var Ks=10,qs=12,Js=13;function Ys(e){let t=e.source,n=t.length,r=t.length>0?Os(t.charCodeAt(0)):0,i=Gs(e.lines,n),a=Gs(e.columns,n),o=e.startLine,s=e.startColumn;for(let e=r;e<n;e++){let r=t.charCodeAt(e);i[e]=o,a[e]=s++,(r===Ks||r===Js||r===qs)&&(r===Js&&e+1<n&&t.charCodeAt(e+1)===Ks&&(e++,i[e]=o,a[e]=s),o++,s=1)}i[n]=o,a[n]=s,e.lines=i,e.columns=a,e.computed=!0}var Xs=class{constructor(){this.lines=null,this.columns=null,this.computed=!1}setSource(e,t=0,n=1,r=1){this.source=e,this.startOffset=t,this.startLine=n,this.startColumn=r,this.computed=!1}getLocation(e,t){return this.computed||Ys(this),{source:t,offset:this.startOffset+e,line:this.lines[e],column:this.columns[e]}}getLocationRange(e,t,n){return this.computed||Ys(this),{source:n,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]}}}},Zs=16777215,Qs=24,$s=new Map([[2,22],[21,22],[19,20],[23,24]]),ec=class{constructor(e,t){this.setSource(e,t)}reset(){this.eof=!1,this.tokenIndex=-1,this.tokenType=0,this.tokenStart=this.firstCharOffset,this.tokenEnd=this.firstCharOffset}setSource(e=``,t=()=>{}){e=String(e||``);let n=e.length,r=Gs(this.offsetAndType,e.length+1),i=Gs(this.balance,e.length+1),a=0,o=0,s=0,c=-1;for(this.offsetAndType=null,this.balance=null,t(e,(e,t,l)=>{switch(e){default:i[a]=n;break;case o:{let e=s&Zs;for(s=i[e],o=s>>Qs,i[a]=e,i[e++]=a;e<a;e++)i[e]===n&&(i[e]=a);break}case 21:case 2:case 19:case 23:i[a]=s,o=$s.get(e),s=o<<Qs|a;break}r[a++]=e<<Qs|l,c===-1&&(c=t)}),r[a]=0<<Qs|n,i[a]=n,i[n]=n;s!==0;){let e=s&Zs;s=i[e],i[e]=n}this.source=e,this.firstCharOffset=c===-1?0:c,this.tokenCount=a,this.offsetAndType=r,this.balance=i,this.reset(),this.next()}lookupType(e){return e+=this.tokenIndex,e<this.tokenCount?this.offsetAndType[e]>>Qs:0}lookupOffset(e){return e+=this.tokenIndex,e<this.tokenCount?this.offsetAndType[e-1]&Zs:this.source.length}lookupValue(e,t){return e+=this.tokenIndex,e<this.tokenCount?Ps(this.source,this.offsetAndType[e-1]&Zs,this.offsetAndType[e]&Zs,t):!1}getTokenStart(e){return e===this.tokenIndex?this.tokenStart:e>0?e<this.tokenCount?this.offsetAndType[e-1]&Zs:this.offsetAndType[this.tokenCount]&Zs:this.firstCharOffset}substrToCursor(e){return this.source.substring(e,this.tokenStart)}isBalanceEdge(e){return this.balance[this.tokenIndex]<e}isDelim(e,t){return t?this.lookupType(t)===9&&this.source.charCodeAt(this.lookupOffset(t))===e:this.tokenType===9&&this.source.charCodeAt(this.tokenStart)===e}skip(e){let t=this.tokenIndex+e;t<this.tokenCount?(this.tokenIndex=t,this.tokenStart=this.offsetAndType[t-1]&Zs,t=this.offsetAndType[t],this.tokenType=t>>Qs,this.tokenEnd=t&Zs):(this.tokenIndex=this.tokenCount,this.next())}next(){let e=this.tokenIndex+1;e<this.tokenCount?(this.tokenIndex=e,this.tokenStart=this.tokenEnd,e=this.offsetAndType[e],this.tokenType=e>>Qs,this.tokenEnd=e&Zs):(this.eof=!0,this.tokenIndex=this.tokenCount,this.tokenType=0,this.tokenStart=this.tokenEnd=this.source.length)}skipSC(){for(;this.tokenType===13||this.tokenType===25;)this.next()}skipUntilBalanced(e,t){let n=e,r,i;loop:for(;n<this.tokenCount;n++){if(r=this.balance[n],r<e)break loop;switch(i=n>0?this.offsetAndType[n-1]&Zs:this.firstCharOffset,t(this.source.charCodeAt(i))){case 1:break loop;case 2:n++;break loop;default:this.balance[r]===n&&(n=r)}}this.skip(n-this.tokenIndex)}forEachToken(e){for(let t=0,n=this.firstCharOffset;t<this.tokenCount;t++){let r=n,i=this.offsetAndType[t],a=i&Zs,o=i>>Qs;n=a,e(o,r,a,t)}}dump(){let e=Array(this.tokenCount);return this.forEachToken((t,n,r,i)=>{e[i]={idx:i,type:Us[t],chunk:this.source.substring(n,r),balance:this.balance[i]}}),e}};function tc(e,t){function n(t){return t<s?e.charCodeAt(t):0}function r(){if(l=Bs(e,l),Es(n(l),n(l+1),n(l+2))){u=12,l=zs(e,l);return}if(n(l)===37){u=11,l++;return}u=10}function i(){let t=l;if(l=zs(e,l),Ps(e,t,l,`url`)&&n(l)===40){if(l=Is(e,l+1),n(l)===34||n(l)===39){u=2,l=t+4;return}o();return}if(n(l)===40){u=2,l++;return}u=1}function a(t){for(t||=n(l++),u=5;l<e.length;l++){let r=e.charCodeAt(l);switch(As(r)){case t:l++;return;case 130:if(Cs(r)){l+=Ms(e,l,r),u=6;return}break;case 92:if(l===e.length-1)break;let i=n(l+1);Cs(i)?l+=Ms(e,l+1,i):Ts(r,i)&&(l=Rs(e,l)-1);break}}}function o(){for(u=7,l=Is(e,l);l<e.length;l++){let t=e.charCodeAt(l);switch(As(t)){case 41:l++;return;case 130:if(l=Is(e,l),n(l)===41||l>=e.length){l<e.length&&l++;return}l=Vs(e,l),u=8;return;case 34:case 39:case 40:case 133:l=Vs(e,l),u=8;return;case 92:if(Ts(t,n(l+1))){l=Rs(e,l)-1;break}l=Vs(e,l),u=8;return}}}e=String(e||``);let s=e.length,c=Os(n(0)),l=c,u;for(;l<s;){let o=e.charCodeAt(l);switch(As(o)){case 130:u=13,l=Is(e,l+1);break;case 34:a();break;case 35:xs(n(l+1))||Ts(n(l+1),n(l+2))?(u=4,l=zs(e,l+1)):(u=9,l++);break;case 39:a();break;case 40:u=21,l++;break;case 41:u=22,l++;break;case 43:Ds(o,n(l+1),n(l+2))?r():(u=9,l++);break;case 44:u=18,l++;break;case 45:Ds(o,n(l+1),n(l+2))?r():n(l+1)===45&&n(l+2)===62?(u=15,l+=3):Es(o,n(l+1),n(l+2))?i():(u=9,l++);break;case 46:Ds(o,n(l+1),n(l+2))?r():(u=9,l++);break;case 47:n(l+1)===42?(u=25,l=e.indexOf(`*/`,l+2),l=l===-1?e.length:l+2):(u=9,l++);break;case 58:u=16,l++;break;case 59:u=17,l++;break;case 60:n(l+1)===33&&n(l+2)===45&&n(l+3)===45?(u=14,l+=4):(u=9,l++);break;case 64:Es(n(l+1),n(l+2),n(l+3))?(u=3,l=zs(e,l+1)):(u=9,l++);break;case 91:u=19,l++;break;case 92:Ts(o,n(l+1))?i():(u=9,l++);break;case 93:u=20,l++;break;case 123:u=23,l++;break;case 125:u=24,l++;break;case 131:r();break;case 132:i();break;default:u=9,l++}t(u,c,c=l)}}var nc=c((e=>{var t=`ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/`.split(``);e.encode=function(e){if(0<=e&&e<t.length)return t[e];throw TypeError(`Must be between 0 and 63: `+e)},e.decode=function(e){var t=65,n=90,r=97,i=122,a=48;return t<=e&&e<=n?e-t:r<=e&&e<=i?e-r+26:a<=e&&e<=57?e-a+52:e==43?62:e==47?63:-1}})),rc=c((e=>{var t=nc(),n=5,r=1<<n,i=r-1,a=r;function o(e){return e<0?(-e<<1)+1:(e<<1)+0}function s(e){var t=(e&1)==1,n=e>>1;return t?-n:n}e.encode=function(e){var r=``,s,c=o(e);do s=c&i,c>>>=n,c>0&&(s|=a),r+=t.encode(s);while(c>0);return r},e.decode=function(e,r,o){var c=e.length,l=0,u=0,d,f;do{if(r>=c)throw Error(`Expected more digits in base 64 VLQ value.`);if(f=t.decode(e.charCodeAt(r++)),f===-1)throw Error(`Invalid base64 digit: `+e.charAt(r-1));d=!!(f&a),f&=i,l+=f<<u,u+=n}while(d);o.value=s(l),o.rest=r}})),ic=c((e=>{function t(e,t,n){if(t in e)return e[t];if(arguments.length===3)return n;throw Error(`"`+t+`" is a required argument.`)}e.getArg=t;var n=/^(?:([\w+\-.]+):)?\/\/(?:(\w+:\w+)@)?([\w.-]*)(?::(\d+))?(.*)$/,r=/^data:.+\,.+$/;function i(e){var t=e.match(n);return t?{scheme:t[1],auth:t[2],host:t[3],port:t[4],path:t[5]}:null}e.urlParse=i;function a(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}e.urlGenerate=a;var o=32;function s(e){var t=[];return function(n){for(var r=0;r<t.length;r++)if(t[r].input===n){var i=t[0];return t[0]=t[r],t[r]=i,t[0].result}var a=e(n);return t.unshift({input:n,result:a}),t.length>o&&t.pop(),a}}var c=s(function(t){var n=t,r=i(t);if(r){if(!r.path)return t;n=r.path}for(var o=e.isAbsolute(n),s=[],c=0,l=0;;)if(c=l,l=n.indexOf(`/`,c),l===-1){s.push(n.slice(c));break}else for(s.push(n.slice(c,l));l<n.length&&n[l]===`/`;)l++;for(var u,d=0,l=s.length-1;l>=0;l--)u=s[l],u===`.`?s.splice(l,1):u===`..`?d++:d>0&&(u===``?(s.splice(l+1,d),d=0):(s.splice(l,2),d--));return n=s.join(`/`),n===``&&(n=o?`/`:`.`),r?(r.path=n,a(r)):n});e.normalize=c;function l(e,t){e===``&&(e=`.`),t===``&&(t=`.`);var n=i(t),o=i(e);if(o&&(e=o.path||`/`),n&&!n.scheme)return o&&(n.scheme=o.scheme),a(n);if(n||t.match(r))return t;if(o&&!o.host&&!o.path)return o.host=t,a(o);var s=t.charAt(0)===`/`?t:c(e.replace(/\/+$/,``)+`/`+t);return o?(o.path=s,a(o)):s}e.join=l,e.isAbsolute=function(e){return e.charAt(0)===`/`||n.test(e)};function u(e,t){e===``&&(e=`.`),e=e.replace(/\/$/,``);for(var n=0;t.indexOf(e+`/`)!==0;){var r=e.lastIndexOf(`/`);if(r<0||(e=e.slice(0,r),e.match(/^([^\/]+:\/)?\/*$/)))return t;++n}return Array(n+1).join(`../`)+t.substr(e.length+1)}e.relative=u;var d=function(){return!(`__proto__`in Object.create(null))}();function f(e){return e}function p(e){return h(e)?`$`+e:e}e.toSetString=d?f:p;function m(e){return h(e)?e.slice(1):e}e.fromSetString=d?f:m;function h(e){if(!e)return!1;var t=e.length;if(t<9||e.charCodeAt(t-1)!==95||e.charCodeAt(t-2)!==95||e.charCodeAt(t-3)!==111||e.charCodeAt(t-4)!==116||e.charCodeAt(t-5)!==111||e.charCodeAt(t-6)!==114||e.charCodeAt(t-7)!==112||e.charCodeAt(t-8)!==95||e.charCodeAt(t-9)!==95)return!1;for(var n=t-10;n>=0;n--)if(e.charCodeAt(n)!==36)return!1;return!0}function g(e,t,n){var r=b(e.source,t.source);return r!==0||(r=e.originalLine-t.originalLine,r!==0)||(r=e.originalColumn-t.originalColumn,r!==0||n)||(r=e.generatedColumn-t.generatedColumn,r!==0)||(r=e.generatedLine-t.generatedLine,r!==0)?r:b(e.name,t.name)}e.compareByOriginalPositions=g;function _(e,t,n){var r=e.originalLine-t.originalLine;return r!==0||(r=e.originalColumn-t.originalColumn,r!==0||n)||(r=e.generatedColumn-t.generatedColumn,r!==0)||(r=e.generatedLine-t.generatedLine,r!==0)?r:b(e.name,t.name)}e.compareByOriginalPositionsNoSource=_;function v(e,t,n){var r=e.generatedLine-t.generatedLine;return r!==0||(r=e.generatedColumn-t.generatedColumn,r!==0||n)||(r=b(e.source,t.source),r!==0)||(r=e.originalLine-t.originalLine,r!==0)||(r=e.originalColumn-t.originalColumn,r!==0)?r:b(e.name,t.name)}e.compareByGeneratedPositionsDeflated=v;function y(e,t,n){var r=e.generatedColumn-t.generatedColumn;return r!==0||n||(r=b(e.source,t.source),r!==0)||(r=e.originalLine-t.originalLine,r!==0)||(r=e.originalColumn-t.originalColumn,r!==0)?r:b(e.name,t.name)}e.compareByGeneratedPositionsDeflatedNoLine=y;function b(e,t){return e===t?0:e===null?1:t===null?-1:e>t?1:-1}function x(e,t){var n=e.generatedLine-t.generatedLine;return n!==0||(n=e.generatedColumn-t.generatedColumn,n!==0)||(n=b(e.source,t.source),n!==0)||(n=e.originalLine-t.originalLine,n!==0)||(n=e.originalColumn-t.originalColumn,n!==0)?n:b(e.name,t.name)}e.compareByGeneratedPositionsInflated=x;function S(e){return JSON.parse(e.replace(/^\)]}'[^\n]*\n/,``))}e.parseSourceMapInput=S;function C(e,t,n){if(t||=``,e&&(e[e.length-1]!==`/`&&t[0]!==`/`&&(e+=`/`),t=e+t),n){var r=i(n);if(!r)throw Error(`sourceMapURL could not be parsed`);if(r.path){var o=r.path.lastIndexOf(`/`);o>=0&&(r.path=r.path.substring(0,o+1))}t=l(a(r),t)}return c(t)}e.computeSourceURL=C})),ac=c((e=>{var t=ic(),n=Object.prototype.hasOwnProperty,r=typeof Map<`u`;function i(){this._array=[],this._set=r?new Map:Object.create(null)}i.fromArray=function(e,t){for(var n=new i,r=0,a=e.length;r<a;r++)n.add(e[r],t);return n},i.prototype.size=function(){return r?this._set.size:Object.getOwnPropertyNames(this._set).length},i.prototype.add=function(e,i){var a=r?e:t.toSetString(e),o=r?this.has(e):n.call(this._set,a),s=this._array.length;(!o||i)&&this._array.push(e),o||(r?this._set.set(e,s):this._set[a]=s)},i.prototype.has=function(e){if(r)return this._set.has(e);var i=t.toSetString(e);return n.call(this._set,i)},i.prototype.indexOf=function(e){if(r){var i=this._set.get(e);if(i>=0)return i}else{var a=t.toSetString(e);if(n.call(this._set,a))return this._set[a]}throw Error(`"`+e+`" is not in the set.`)},i.prototype.at=function(e){if(e>=0&&e<this._array.length)return this._array[e];throw Error(`No element indexed by `+e)},i.prototype.toArray=function(){return this._array.slice()},e.ArraySet=i})),oc=c((e=>{var t=ic();function n(e,n){var r=e.generatedLine,i=n.generatedLine,a=e.generatedColumn,o=n.generatedColumn;return i>r||i==r&&o>=a||t.compareByGeneratedPositionsInflated(e,n)<=0}function r(){this._array=[],this._sorted=!0,this._last={generatedLine:-1,generatedColumn:0}}r.prototype.unsortedForEach=function(e,t){this._array.forEach(e,t)},r.prototype.add=function(e){n(this._last,e)?(this._last=e,this._array.push(e)):(this._sorted=!1,this._array.push(e))},r.prototype.toArray=function(){return this._sorted||=(this._array.sort(t.compareByGeneratedPositionsInflated),!0),this._array},e.MappingList=r})),sc=c((e=>{var t=rc(),n=ic(),r=ac().ArraySet,i=oc().MappingList;function a(e){e||={},this._file=n.getArg(e,`file`,null),this._sourceRoot=n.getArg(e,`sourceRoot`,null),this._skipValidation=n.getArg(e,`skipValidation`,!1),this._ignoreInvalidMapping=n.getArg(e,`ignoreInvalidMapping`,!1),this._sources=new r,this._names=new r,this._mappings=new i,this._sourcesContents=null}a.prototype._version=3,a.fromSourceMap=function(e,t){var r=e.sourceRoot,i=new a(Object.assign(t||{},{file:e.file,sourceRoot:r}));return e.eachMapping(function(e){var t={generated:{line:e.generatedLine,column:e.generatedColumn}};e.source!=null&&(t.source=e.source,r!=null&&(t.source=n.relative(r,t.source)),t.original={line:e.originalLine,column:e.originalColumn},e.name!=null&&(t.name=e.name)),i.addMapping(t)}),e.sources.forEach(function(t){var a=t;r!==null&&(a=n.relative(r,t)),i._sources.has(a)||i._sources.add(a);var o=e.sourceContentFor(t);o!=null&&i.setSourceContent(t,o)}),i},a.prototype.addMapping=function(e){var t=n.getArg(e,`generated`),r=n.getArg(e,`original`,null),i=n.getArg(e,`source`,null),a=n.getArg(e,`name`,null);!this._skipValidation&&this._validateMapping(t,r,i,a)===!1||(i!=null&&(i=String(i),this._sources.has(i)||this._sources.add(i)),a!=null&&(a=String(a),this._names.has(a)||this._names.add(a)),this._mappings.add({generatedLine:t.line,generatedColumn:t.column,originalLine:r!=null&&r.line,originalColumn:r!=null&&r.column,source:i,name:a}))},a.prototype.setSourceContent=function(e,t){var r=e;this._sourceRoot!=null&&(r=n.relative(this._sourceRoot,r)),t==null?this._sourcesContents&&(delete this._sourcesContents[n.toSetString(r)],Object.keys(this._sourcesContents).length===0&&(this._sourcesContents=null)):(this._sourcesContents||=Object.create(null),this._sourcesContents[n.toSetString(r)]=t)},a.prototype.applySourceMap=function(e,t,i){var a=t;if(t==null){if(e.file==null)throw Error(`SourceMapGenerator.prototype.applySourceMap requires either an explicit source file, or the source map's "file" property. Both were omitted.`);a=e.file}var o=this._sourceRoot;o!=null&&(a=n.relative(o,a));var s=new r,c=new r;this._mappings.unsortedForEach(function(t){if(t.source===a&&t.originalLine!=null){var r=e.originalPositionFor({line:t.originalLine,column:t.originalColumn});r.source!=null&&(t.source=r.source,i!=null&&(t.source=n.join(i,t.source)),o!=null&&(t.source=n.relative(o,t.source)),t.originalLine=r.line,t.originalColumn=r.column,r.name!=null&&(t.name=r.name))}var l=t.source;l!=null&&!s.has(l)&&s.add(l);var u=t.name;u!=null&&!c.has(u)&&c.add(u)},this),this._sources=s,this._names=c,e.sources.forEach(function(t){var r=e.sourceContentFor(t);r!=null&&(i!=null&&(t=n.join(i,t)),o!=null&&(t=n.relative(o,t)),this.setSourceContent(t,r))},this)},a.prototype._validateMapping=function(e,t,n,r){if(t&&typeof t.line!=`number`&&typeof t.column!=`number`){var i=`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(this._ignoreInvalidMapping)return typeof console<`u`&&console.warn&&console.warn(i),!1;throw Error(i)}if(!(e&&`line`in e&&`column`in e&&e.line>0&&e.column>=0&&!t&&!n&&!r)&&!(e&&`line`in e&&`column`in e&&t&&`line`in t&&`column`in t&&e.line>0&&e.column>=0&&t.line>0&&t.column>=0&&n)){var i=`Invalid mapping: `+JSON.stringify({generated:e,source:n,original:t,name:r});if(this._ignoreInvalidMapping)return typeof console<`u`&&console.warn&&console.warn(i),!1;throw Error(i)}},a.prototype._serializeMappings=function(){for(var e=0,r=1,i=0,a=0,o=0,s=0,c=``,l,u,d,f,p=this._mappings.toArray(),m=0,h=p.length;m<h;m++){if(u=p[m],l=``,u.generatedLine!==r)for(e=0;u.generatedLine!==r;)l+=`;`,r++;else if(m>0){if(!n.compareByGeneratedPositionsInflated(u,p[m-1]))continue;l+=`,`}l+=t.encode(u.generatedColumn-e),e=u.generatedColumn,u.source!=null&&(f=this._sources.indexOf(u.source),l+=t.encode(f-s),s=f,l+=t.encode(u.originalLine-1-a),a=u.originalLine-1,l+=t.encode(u.originalColumn-i),i=u.originalColumn,u.name!=null&&(d=this._names.indexOf(u.name),l+=t.encode(d-o),o=d)),c+=l}return c},a.prototype._generateSourcesContent=function(e,t){return e.map(function(e){if(!this._sourcesContents)return null;t!=null&&(e=n.relative(t,e));var r=n.toSetString(e);return Object.prototype.hasOwnProperty.call(this._sourcesContents,r)?this._sourcesContents[r]:null},this)},a.prototype.toJSON=function(){var e={version:this._version,sources:this._sources.toArray(),names:this._names.toArray(),mappings:this._serializeMappings()};return this._file!=null&&(e.file=this._file),this._sourceRoot!=null&&(e.sourceRoot=this._sourceRoot),this._sourcesContents&&(e.sourcesContent=this._generateSourcesContent(e.sources,e.sourceRoot)),e},a.prototype.toString=function(){return JSON.stringify(this.toJSON())},e.SourceMapGenerator=a}))(),cc=new Set([`Atrule`,`Selector`,`Declaration`]);function lc(e){let t=new sc.SourceMapGenerator,n={line:1,column:0},r={line:0,column:0},i={line:1,column:0},a={generated:i},o=1,s=0,c=!1,l=e.node;e.node=function(e){if(e.loc&&e.loc.start&&cc.has(e.type)){let l=e.loc.start.line,u=e.loc.start.column-1;(r.line!==l||r.column!==u)&&(r.line=l,r.column=u,n.line=o,n.column=s,c&&(c=!1,(n.line!==i.line||n.column!==i.column)&&t.addMapping(a)),c=!0,t.addMapping({source:e.loc.source,original:r,generated:n}))}l.call(this,e),c&&cc.has(e.type)&&(i.line=o,i.column=s)};let u=e.emit;e.emit=function(e,t,n){for(let t=0;t<e.length;t++)e.charCodeAt(t)===10?(o++,s=0):s++;u(e,t,n)};let d=e.result;return e.result=function(){return c&&t.addMapping(a),{css:d(),map:t}},e}var uc=l({safe:()=>vc,spec:()=>_c}),dc=43,fc=45,pc=(e,t)=>{if(e===9&&(e=t),typeof e==`string`){let t=e.charCodeAt(0);return t>127?32768:t<<8}return e},mc=[[1,1],[1,2],[1,7],[1,8],[1,`-`],[1,10],[1,11],[1,12],[1,15],[1,21],[3,1],[3,2],[3,7],[3,8],[3,`-`],[3,10],[3,11],[3,12],[3,15],[4,1],[4,2],[4,7],[4,8],[4,`-`],[4,10],[4,11],[4,12],[4,15],[12,1],[12,2],[12,7],[12,8],[12,`-`],[12,10],[12,11],[12,12],[12,15],[`#`,1],[`#`,2],[`#`,7],[`#`,8],[`#`,`-`],[`#`,10],[`#`,11],[`#`,12],[`#`,15],[`-`,1],[`-`,2],[`-`,7],[`-`,8],[`-`,`-`],[`-`,10],[`-`,11],[`-`,12],[`-`,15],[10,1],[10,2],[10,7],[10,8],[10,10],[10,11],[10,12],[10,`%`],[10,15],[`@`,1],[`@`,2],[`@`,7],[`@`,8],[`@`,`-`],[`@`,15],[`.`,10],[`.`,11],[`.`,12],[`+`,10],[`+`,11],[`+`,12],[`/`,`*`]],hc=mc.concat([[1,4],[12,4],[4,4],[3,21],[3,5],[3,16],[11,11],[11,12],[11,2],[11,`-`],[22,1],[22,2],[22,11],[22,12],[22,4],[22,`-`]]);function gc(e){let t=new Set(e.map(([e,t])=>pc(e)<<16|pc(t)));return function(e,n,r){let i=pc(n,r),a=r.charCodeAt(0);return(a===fc&&n!==1&&n!==2&&n!==15||a===dc?t.has(e<<16|a<<8):t.has(e<<16|i))&&this.emit(` `,13,!0),i}}var _c=gc(mc),vc=gc(hc),yc=92;function bc(e,t){if(typeof t==`function`){let n=null;e.children.forEach(e=>{n!==null&&t.call(this,n),this.node(e),n=e});return}e.children.forEach(this.node,this)}function xc(e){tc(e,(t,n,r)=>{this.token(t,e.slice(n,r))})}function Sc(e){let t=new Map;for(let n in e.node){let r=e.node[n];typeof(r.generate||r)==`function`&&t.set(n,r.generate||r)}return function(e,n){let r=``,i=0,a={node(e){if(t.has(e.type))t.get(e.type).call(o,e);else throw Error(`Unknown node type: `+e.type)},tokenBefore:vc,token(e,t){i=this.tokenBefore(i,e,t),this.emit(t,e,!1),e===9&&t.charCodeAt(0)===yc&&this.emit(`
|
|
12
|
+
`,13,!0)},emit(e){r+=e},result(){return r}};n&&(typeof n.decorator==`function`&&(a=n.decorator(a)),n.sourceMap&&(a=lc(a)),n.mode in uc&&(a.tokenBefore=uc[n.mode]));let o={node:e=>a.node(e),children:bc,token:(e,t)=>a.token(e,t),tokenize:xc};return a.node(e),a.result()}}var Cc=l({generate:()=>Fc,name:()=>Mc,parse:()=>Pc,structure:()=>Nc}),wc=43,Q=45,Tc=110,Ec=!0,Dc=!1;function Oc(e,t){let n=this.tokenStart+e,r=this.charCodeAt(n);for((r===wc||r===Q)&&(t&&this.error(`Number sign is not allowed`),n++);n<this.tokenEnd;n++)Z(this.charCodeAt(n))||this.error(`Integer is expected`,n)}function kc(e){return Oc.call(this,0,e)}function Ac(e,t){if(!this.cmpChar(this.tokenStart+e,t)){let n=``;switch(t){case Tc:n=`N is expected`;break;case Q:n=`HyphenMinus is expected`;break}this.error(n,this.tokenStart+e)}}function jc(){let e=0,t=0,n=this.tokenType;for(;n===13||n===25;)n=this.lookupType(++e);if(n!==10)if(this.isDelim(wc,e)||this.isDelim(Q,e)){t=this.isDelim(wc,e)?wc:Q;do n=this.lookupType(++e);while(n===13||n===25);n!==10&&(this.skip(e),kc.call(this,Ec))}else return null;return e>0&&this.skip(e),t===0&&(n=this.charCodeAt(this.tokenStart),n!==wc&&n!==Q&&this.error(`Number sign is expected`)),kc.call(this,t!==0),t===Q?`-`+this.consume(10):this.consume(10)}var Mc=`AnPlusB`,Nc={a:[String,null],b:[String,null]};function Pc(){let e=this.tokenStart,t=null,n=null;if(this.tokenType===10)kc.call(this,Dc),n=this.consume(10);else if(this.tokenType===1&&this.cmpChar(this.tokenStart,Q))switch(t=`-1`,Ac.call(this,1,Tc),this.tokenEnd-this.tokenStart){case 2:this.next(),n=jc.call(this);break;case 3:Ac.call(this,2,Q),this.next(),this.skipSC(),kc.call(this,Ec),n=`-`+this.consume(10);break;default:Ac.call(this,2,Q),Oc.call(this,3,Ec),this.next(),n=this.substrToCursor(e+2)}else if(this.tokenType===1||this.isDelim(wc)&&this.lookupType(1)===1){let r=0;switch(t=`1`,this.isDelim(wc)&&(r=1,this.next()),Ac.call(this,0,Tc),this.tokenEnd-this.tokenStart){case 1:this.next(),n=jc.call(this);break;case 2:Ac.call(this,1,Q),this.next(),this.skipSC(),kc.call(this,Ec),n=`-`+this.consume(10);break;default:Ac.call(this,1,Q),Oc.call(this,2,Ec),this.next(),n=this.substrToCursor(e+r+1)}}else if(this.tokenType===12){let r=this.charCodeAt(this.tokenStart),i=r===wc||r===Q,a=this.tokenStart+i;for(;a<this.tokenEnd&&Z(this.charCodeAt(a));a++);a===this.tokenStart+i&&this.error(`Integer is expected`,this.tokenStart+i),Ac.call(this,a-this.tokenStart,Tc),t=this.substring(e,a),a+1===this.tokenEnd?(this.next(),n=jc.call(this)):(Ac.call(this,a-this.tokenStart+1,Q),a+2===this.tokenEnd?(this.next(),this.skipSC(),kc.call(this,Ec),n=`-`+this.consume(10)):(Oc.call(this,a-this.tokenStart+2,Ec),this.next(),n=this.substrToCursor(a+1)))}else this.error();return t!==null&&t.charCodeAt(0)===wc&&(t=t.substr(1)),n!==null&&n.charCodeAt(0)===wc&&(n=n.substr(1)),{type:`AnPlusB`,loc:this.getLocation(e,this.tokenStart),a:t,b:n}}function Fc(e){if(e.a){let t=e.a===`+1`&&`n`||e.a===`1`&&`n`||e.a===`-1`&&`-n`||e.a+`n`;if(e.b){let n=e.b[0]===`-`||e.b[0]===`+`?e.b:`+`+e.b;this.tokenize(t+n)}else this.tokenize(t)}else this.tokenize(e.b)}var Ic=l({generate:()=>Uc,name:()=>zc,parse:()=>Hc,structure:()=>Vc,walkContext:()=>Bc});function Lc(e){return this.Raw(e,this.consumeUntilLeftCurlyBracketOrSemicolon,!0)}function Rc(){for(let e=1,t;t=this.lookupType(e);e++){if(t===24)return!0;if(t===23||t===3)return!1}return!1}var zc=`Atrule`,Bc=`atrule`,Vc={name:String,prelude:[`AtrulePrelude`,`Raw`,null],block:[`Block`,null]};function Hc(){let e=this.tokenStart,t,n,r=null,i=null;switch(this.eat(3),t=this.substrToCursor(e+1),n=t.toLowerCase(),this.skipSC(),this.eof===!1&&this.tokenType!==23&&this.tokenType!==17&&(r=this.parseAtrulePrelude?this.parseWithFallback(this.AtrulePrelude.bind(this,t),Lc):Lc.call(this,this.tokenIndex),this.skipSC()),this.tokenType){case 17:this.next();break;case 23:i=hasOwnProperty.call(this.atrule,n)&&typeof this.atrule[n].block==`function`?this.atrule[n].block.call(this):this.Block(Rc.call(this));break}return{type:`Atrule`,loc:this.getLocation(e,this.tokenStart),name:t,prelude:r,block:i}}function Uc(e){this.token(3,`@`+e.name),e.prelude!==null&&this.node(e.prelude),e.block?this.node(e.block):this.token(17,`;`)}var Wc=l({generate:()=>Yc,name:()=>Gc,parse:()=>Jc,structure:()=>qc,walkContext:()=>Kc}),Gc=`AtrulePrelude`,Kc=`atrulePrelude`,qc={children:[[]]};function Jc(e){let t=null;return e!==null&&(e=e.toLowerCase()),this.skipSC(),t=hasOwnProperty.call(this.atrule,e)&&typeof this.atrule[e].prelude==`function`?this.atrule[e].prelude.call(this):this.readSequence(this.scope.AtrulePrelude),this.skipSC(),this.eof!==!0&&this.tokenType!==23&&this.tokenType!==17&&this.error(`Semicolon or block is expected`),{type:`AtrulePrelude`,loc:this.getLocationFromList(t),children:t}}function Yc(e){this.children(e)}var Xc=l({generate:()=>cl,name:()=>al,parse:()=>sl,structure:()=>ol}),Zc=36,Qc=42,$c=61,el=94,tl=124,nl=126;function rl(){this.eof&&this.error(`Unexpected end of input`);let e=this.tokenStart,t=!1;return this.isDelim(Qc)?(t=!0,this.next()):this.isDelim(tl)||this.eat(1),this.isDelim(tl)?this.charCodeAt(this.tokenStart+1)===$c?t&&this.error(`Identifier is expected`,this.tokenEnd):(this.next(),this.eat(1)):t&&this.error(`Vertical line is expected`),{type:`Identifier`,loc:this.getLocation(e,this.tokenStart),name:this.substrToCursor(e)}}function il(){let e=this.tokenStart,t=this.charCodeAt(e);return t!==$c&&t!==nl&&t!==el&&t!==Zc&&t!==Qc&&t!==tl&&this.error(`Attribute selector (=, ~=, ^=, $=, *=, |=) is expected`),this.next(),t!==$c&&(this.isDelim($c)||this.error(`Equal sign is expected`),this.next()),this.substrToCursor(e)}var al=`AttributeSelector`,ol={name:`Identifier`,matcher:[String,null],value:[`String`,`Identifier`,null],flags:[String,null]};function sl(){let e=this.tokenStart,t,n=null,r=null,i=null;return this.eat(19),this.skipSC(),t=rl.call(this),this.skipSC(),this.tokenType!==20&&(this.tokenType!==1&&(n=il.call(this),this.skipSC(),r=this.tokenType===5?this.String():this.Identifier(),this.skipSC()),this.tokenType===1&&(i=this.consume(1),this.skipSC())),this.eat(20),{type:`AttributeSelector`,loc:this.getLocation(e,this.tokenStart),name:t,matcher:n,value:r,flags:i}}function cl(e){this.token(9,`[`),this.node(e.name),e.matcher!==null&&(this.tokenize(e.matcher),this.node(e.value)),e.flags!==null&&this.token(1,e.flags),this.token(9,`]`)}var ll=l({generate:()=>vl,name:()=>ml,parse:()=>_l,structure:()=>gl,walkContext:()=>hl});function ul(e){return this.Raw(e,null,!0)}function dl(){return this.parseWithFallback(this.Rule,ul)}function fl(e){return this.Raw(e,this.consumeUntilSemicolonIncluded,!0)}function pl(){if(this.tokenType===17)return fl.call(this,this.tokenIndex);let e=this.parseWithFallback(this.Declaration,fl);return this.tokenType===17&&this.next(),e}var ml=`Block`,hl=`block`,gl={children:[[`Atrule`,`Rule`,`Declaration`]]};function _l(e){let t=e?pl:dl,n=this.tokenStart,r=this.createList();this.eat(23);scan:for(;!this.eof;)switch(this.tokenType){case 24:break scan;case 13:case 25:this.next();break;case 3:r.push(this.parseWithFallback(this.Atrule,ul));break;default:r.push(t.call(this))}return this.eof||this.eat(24),{type:`Block`,loc:this.getLocation(n,this.tokenStart),children:r}}function vl(e){this.token(23,`{`),this.children(e,e=>{e.type===`Declaration`&&this.token(17,`;`)}),this.token(24,`}`)}var yl=l({generate:()=>Cl,name:()=>bl,parse:()=>Sl,structure:()=>xl}),bl=`Brackets`,xl={children:[[]]};function Sl(e,t){let n=this.tokenStart,r=null;return this.eat(19),r=e.call(this,t),this.eof||this.eat(20),{type:`Brackets`,loc:this.getLocation(n,this.tokenStart),children:r}}function Cl(e){this.token(9,`[`),this.children(e),this.token(9,`]`)}var wl=l({generate:()=>Dl,name:()=>`CDC`,parse:()=>El,structure:()=>Tl}),Tl=[];function El(){let e=this.tokenStart;return this.eat(15),{type:`CDC`,loc:this.getLocation(e,this.tokenStart)}}function Dl(){this.token(15,`-->`)}var Ol=l({generate:()=>jl,name:()=>`CDO`,parse:()=>Al,structure:()=>kl}),kl=[];function Al(){let e=this.tokenStart;return this.eat(14),{type:`CDO`,loc:this.getLocation(e,this.tokenStart)}}function jl(){this.token(14,`<!--`)}var Ml=l({generate:()=>Ll,name:()=>Pl,parse:()=>Il,structure:()=>Fl}),Nl=46,Pl=`ClassSelector`,Fl={name:String};function Il(){return this.eatDelim(Nl),{type:`ClassSelector`,loc:this.getLocation(this.tokenStart-1,this.tokenEnd),name:this.consume(1)}}function Ll(e){this.token(9,`.`),this.token(1,e.name)}var Rl=l({generate:()=>Kl,name:()=>Ul,parse:()=>Gl,structure:()=>Wl}),zl=43,Bl=47,Vl=62,Hl=126,Ul=`Combinator`,Wl={name:String};function Gl(){let e=this.tokenStart,t;switch(this.tokenType){case 13:t=` `;break;case 9:switch(this.charCodeAt(this.tokenStart)){case Vl:case zl:case Hl:this.next();break;case Bl:this.next(),this.eatIdent(`deep`),this.eatDelim(Bl);break;default:this.error(`Combinator is expected`)}t=this.substrToCursor(e);break}return{type:`Combinator`,loc:this.getLocation(e,this.tokenStart),name:t}}function Kl(e){this.tokenize(e.name)}var ql=l({generate:()=>$l,name:()=>Xl,parse:()=>Ql,structure:()=>Zl}),Jl=42,Yl=47,Xl=`Comment`,Zl={value:String};function Ql(){let e=this.tokenStart,t=this.tokenEnd;return this.eat(25),t-e+2>=2&&this.charCodeAt(t-2)===Jl&&this.charCodeAt(t-1)===Yl&&(t-=2),{type:`Comment`,loc:this.getLocation(e,this.tokenStart),value:this.substring(e+2,t)}}function $l(e){this.token(25,`/*`+e.value+`*/`)}var eu=45;function tu(e,t){return t||=0,e.length-t>=2&&e.charCodeAt(t)===eu&&e.charCodeAt(t+1)===eu}var nu=l({generate:()=>_u,name:()=>pu,parse:()=>gu,structure:()=>hu,walkContext:()=>mu}),ru=33,iu=35,au=36,ou=38,su=42,cu=43,lu=47;function uu(e){return this.Raw(e,this.consumeUntilExclamationMarkOrSemicolon,!0)}function du(e){return this.Raw(e,this.consumeUntilExclamationMarkOrSemicolon,!1)}function fu(){let e=this.tokenIndex,t=this.Value();return t.type!==`Raw`&&this.eof===!1&&this.tokenType!==17&&this.isDelim(ru)===!1&&this.isBalanceEdge(e)===!1&&this.error(),t}var pu=`Declaration`,mu=`declaration`,hu={important:[Boolean,String],property:String,value:[`Value`,`Raw`]};function gu(){let e=this.tokenStart,t=this.tokenIndex,n=vu.call(this),r=tu(n),i=r?this.parseCustomProperty:this.parseValue,a=r?du:uu,o=!1,s;this.skipSC(),this.eat(16);let c=this.tokenIndex;if(r||this.skipSC(),s=i?this.parseWithFallback(fu,a):a.call(this,this.tokenIndex),r&&s.type===`Value`&&s.children.isEmpty){for(let e=c-this.tokenIndex;e<=0;e++)if(this.lookupType(e)===13){s.children.appendData({type:`WhiteSpace`,loc:null,value:` `});break}}return this.isDelim(ru)&&(o=yu.call(this),this.skipSC()),this.eof===!1&&this.tokenType!==17&&this.isBalanceEdge(t)===!1&&this.error(),{type:`Declaration`,loc:this.getLocation(e,this.tokenStart),important:o,property:n,value:s}}function _u(e){this.token(1,e.property),this.token(16,`:`),this.node(e.value),e.important&&(this.token(9,`!`),this.token(1,e.important===!0?`important`:e.important))}function vu(){let e=this.tokenStart;if(this.tokenType===9)switch(this.charCodeAt(this.tokenStart)){case su:case au:case cu:case iu:case ou:this.next();break;case lu:this.next(),this.isDelim(lu)&&this.next();break}return this.tokenType===4?this.eat(4):this.eat(1),this.substrToCursor(e)}function yu(){this.eat(9),this.skipSC();let e=this.consume(1);return e===`important`?!0:e}var bu=l({generate:()=>Tu,name:()=>Su,parse:()=>wu,structure:()=>Cu});function xu(e){return this.Raw(e,this.consumeUntilSemicolonIncluded,!0)}var Su=`DeclarationList`,Cu={children:[[`Declaration`]]};function wu(){let e=this.createList();scan:for(;!this.eof;)switch(this.tokenType){case 13:case 25:case 17:this.next();break;default:e.push(this.parseWithFallback(this.Declaration,xu))}return{type:`DeclarationList`,loc:this.getLocationFromList(e),children:e}}function Tu(e){this.children(e,e=>{e.type===`Declaration`&&this.token(17,`;`)})}var Eu=l({generate:()=>Au,name:()=>Du,parse:()=>ku,structure:()=>Ou}),Du=`Dimension`,Ou={value:String,unit:String};function ku(){let e=this.tokenStart,t=this.consumeNumber(12);return{type:`Dimension`,loc:this.getLocation(e,this.tokenStart),value:t,unit:this.substring(e+t.length,this.tokenStart)}}function Au(e){this.token(12,e.value+e.unit)}var ju=l({generate:()=>Iu,name:()=>Mu,parse:()=>Fu,structure:()=>Pu,walkContext:()=>Nu}),Mu=`Function`,Nu=`function`,Pu={name:String,children:[[]]};function Fu(e,t){let n=this.tokenStart,r=this.consumeFunctionName(),i=r.toLowerCase(),a;return a=t.hasOwnProperty(i)?t[i].call(this,t):e.call(this,t),this.eof||this.eat(22),{type:`Function`,loc:this.getLocation(n,this.tokenStart),name:r,children:a}}function Iu(e){this.token(2,e.name+`(`),this.children(e),this.token(22,`)`)}var Lu=l({generate:()=>Vu,name:()=>Ru,parse:()=>Bu,structure:()=>zu,xxx:()=>`XXX`}),Ru=`Hash`,zu={value:String};function Bu(){let e=this.tokenStart;return this.eat(4),{type:`Hash`,loc:this.getLocation(e,this.tokenStart),value:this.substrToCursor(e+1)}}function Vu(e){this.token(4,`#`+e.value)}var Hu=l({generate:()=>Ku,name:()=>Uu,parse:()=>Gu,structure:()=>Wu}),Uu=`Identifier`,Wu={name:String};function Gu(){return{type:`Identifier`,loc:this.getLocation(this.tokenStart,this.tokenEnd),name:this.consume(1)}}function Ku(e){this.token(1,e.name)}var qu=l({generate:()=>Zu,name:()=>Ju,parse:()=>Xu,structure:()=>Yu}),Ju=`IdSelector`,Yu={name:String};function Xu(){let e=this.tokenStart;return this.eat(4),{type:`IdSelector`,loc:this.getLocation(e,this.tokenStart),name:this.substrToCursor(e+1)}}function Zu(e){this.token(9,`#`+e.name)}var Qu=l({generate:()=>nd,name:()=>$u,parse:()=>td,structure:()=>ed}),$u=`MediaFeature`,ed={name:String,value:[`Identifier`,`Number`,`Dimension`,`Ratio`,null]};function td(){let e=this.tokenStart,t,n=null;if(this.eat(21),this.skipSC(),t=this.consume(1),this.skipSC(),this.tokenType!==22){switch(this.eat(16),this.skipSC(),this.tokenType){case 10:n=this.lookupNonWSType(1)===9?this.Ratio():this.Number();break;case 12:n=this.Dimension();break;case 1:n=this.Identifier();break;default:this.error(`Number, dimension, ratio or identifier is expected`)}this.skipSC()}return this.eat(22),{type:`MediaFeature`,loc:this.getLocation(e,this.tokenStart),name:t,value:n}}function nd(e){this.token(21,`(`),this.token(1,e.name),e.value!==null&&(this.token(16,`:`),this.node(e.value)),this.token(22,`)`)}var rd=l({generate:()=>sd,name:()=>id,parse:()=>od,structure:()=>ad}),id=`MediaQuery`,ad={children:[[`Identifier`,`MediaFeature`,`WhiteSpace`]]};function od(){let e=this.createList(),t=null;this.skipSC();scan:for(;!this.eof;){switch(this.tokenType){case 25:case 13:this.next();continue;case 1:t=this.Identifier();break;case 21:t=this.MediaFeature();break;default:break scan}e.push(t)}return t===null&&this.error(`Identifier or parenthesis is expected`),{type:`MediaQuery`,loc:this.getLocationFromList(e),children:e}}function sd(e){this.children(e)}var cd=l({generate:()=>fd,name:()=>ld,parse:()=>dd,structure:()=>ud}),ld=`MediaQueryList`,ud={children:[[`MediaQuery`]]};function dd(){let e=this.createList();for(this.skipSC();!this.eof&&(e.push(this.MediaQuery()),this.tokenType===18);)this.next();return{type:`MediaQueryList`,loc:this.getLocationFromList(e),children:e}}function fd(e){this.children(e,()=>this.token(18,`,`))}var pd=l({generate:()=>gd,name:()=>`Nth`,parse:()=>hd,structure:()=>md}),md={nth:[`AnPlusB`,`Identifier`],selector:[`SelectorList`,null]};function hd(){this.skipSC();let e=this.tokenStart,t=e,n=null,r;return r=this.lookupValue(0,`odd`)||this.lookupValue(0,`even`)?this.Identifier():this.AnPlusB(),t=this.tokenStart,this.skipSC(),this.lookupValue(0,`of`)&&(this.next(),n=this.SelectorList(),t=this.tokenStart),{type:`Nth`,loc:this.getLocation(e,t),nth:r,selector:n}}function gd(e){this.node(e.nth),e.selector!==null&&(this.token(1,`of`),this.node(e.selector))}var _d=l({generate:()=>xd,name:()=>vd,parse:()=>bd,structure:()=>yd}),vd=`Number`,yd={value:String};function bd(){return{type:`Number`,loc:this.getLocation(this.tokenStart,this.tokenEnd),value:this.consume(10)}}function xd(e){this.token(10,e.value)}var Sd=l({generate:()=>Ed,name:()=>Cd,parse:()=>Td,structure:()=>wd}),Cd=`Operator`,wd={value:String};function Td(){let e=this.tokenStart;return this.next(),{type:`Operator`,loc:this.getLocation(e,this.tokenStart),value:this.substrToCursor(e)}}function Ed(e){this.tokenize(e.value)}var Dd=l({generate:()=>jd,name:()=>Od,parse:()=>Ad,structure:()=>kd}),Od=`Parentheses`,kd={children:[[]]};function Ad(e,t){let n=this.tokenStart,r=null;return this.eat(21),r=e.call(this,t),this.eof||this.eat(22),{type:`Parentheses`,loc:this.getLocation(n,this.tokenStart),children:r}}function jd(e){this.token(21,`(`),this.children(e),this.token(22,`)`)}var Md=l({generate:()=>Id,name:()=>Nd,parse:()=>Fd,structure:()=>Pd}),Nd=`Percentage`,Pd={value:String};function Fd(){return{type:`Percentage`,loc:this.getLocation(this.tokenStart,this.tokenEnd),value:this.consumeNumber(11)}}function Id(e){this.token(11,e.value+`%`)}var Ld=l({generate:()=>Hd,name:()=>Rd,parse:()=>Vd,structure:()=>Bd,walkContext:()=>zd}),Rd=`PseudoClassSelector`,zd=`function`,Bd={name:String,children:[[`Raw`],null]};function Vd(){let e=this.tokenStart,t=null,n,r;return this.eat(16),this.tokenType===2?(n=this.consumeFunctionName(),r=n.toLowerCase(),hasOwnProperty.call(this.pseudo,r)?(this.skipSC(),t=this.pseudo[r].call(this),this.skipSC()):(t=this.createList(),t.push(this.Raw(this.tokenIndex,null,!1))),this.eat(22)):n=this.consume(1),{type:`PseudoClassSelector`,loc:this.getLocation(e,this.tokenStart),name:n,children:t}}function Hd(e){this.token(16,`:`),e.children===null?this.token(1,e.name):(this.token(2,e.name+`(`),this.children(e),this.token(22,`)`))}var Ud=l({generate:()=>Jd,name:()=>Wd,parse:()=>qd,structure:()=>Kd,walkContext:()=>Gd}),Wd=`PseudoElementSelector`,Gd=`function`,Kd={name:String,children:[[`Raw`],null]};function qd(){let e=this.tokenStart,t=null,n,r;return this.eat(16),this.eat(16),this.tokenType===2?(n=this.consumeFunctionName(),r=n.toLowerCase(),hasOwnProperty.call(this.pseudo,r)?(this.skipSC(),t=this.pseudo[r].call(this),this.skipSC()):(t=this.createList(),t.push(this.Raw(this.tokenIndex,null,!1))),this.eat(22)):n=this.consume(1),{type:`PseudoElementSelector`,loc:this.getLocation(e,this.tokenStart),name:n,children:t}}function Jd(e){this.token(16,`:`),this.token(16,`:`),e.children===null?this.token(1,e.name):(this.token(2,e.name+`(`),this.children(e),this.token(22,`)`))}var Yd=l({generate:()=>nf,name:()=>$d,parse:()=>tf,structure:()=>ef}),Xd=47,Zd=46;function Qd(){this.skipSC();let e=this.consume(10);for(let t=0;t<e.length;t++){let n=e.charCodeAt(t);!Z(n)&&n!==Zd&&this.error(`Unsigned number is expected`,this.tokenStart-e.length+t)}return Number(e)===0&&this.error(`Zero number is not allowed`,this.tokenStart-e.length),e}var $d=`Ratio`,ef={left:String,right:String};function tf(){let e=this.tokenStart,t=Qd.call(this),n;return this.skipSC(),this.eatDelim(Xd),n=Qd.call(this),{type:`Ratio`,loc:this.getLocation(e,this.tokenStart),left:t,right:n}}function nf(e){this.token(10,e.left),this.token(9,`/`),this.token(10,e.right)}var rf=l({generate:()=>cf,name:()=>`Raw`,parse:()=>sf,structure:()=>of});function af(){return this.tokenIndex>0&&this.lookupType(-1)===13?this.tokenIndex>1?this.getTokenStart(this.tokenIndex-1):this.firstCharOffset:this.tokenStart}var of={value:String};function sf(e,t,n){let r=this.getTokenStart(e),i;return this.skipUntilBalanced(e,t||this.consumeUntilBalanceEnd),i=n&&this.tokenStart>r?af.call(this):this.tokenStart,{type:`Raw`,loc:this.getLocation(r,i),value:this.substring(r,i)}}function cf(e){this.tokenize(e.value)}var lf=l({generate:()=>gf,name:()=>ff,parse:()=>hf,structure:()=>mf,walkContext:()=>pf});function uf(e){return this.Raw(e,this.consumeUntilLeftCurlyBracket,!0)}function df(){let e=this.SelectorList();return e.type!==`Raw`&&this.eof===!1&&this.tokenType!==23&&this.error(),e}var ff=`Rule`,pf=`rule`,mf={prelude:[`SelectorList`,`Raw`],block:[`Block`]};function hf(){let e=this.tokenIndex,t=this.tokenStart,n,r;return n=this.parseRulePrelude?this.parseWithFallback(df,uf):uf.call(this,e),r=this.Block(!0),{type:`Rule`,loc:this.getLocation(t,this.tokenStart),prelude:n,block:r}}function gf(e){this.node(e.prelude),this.node(e.block)}var _f=l({generate:()=>xf,name:()=>vf,parse:()=>bf,structure:()=>yf}),vf=`Selector`,yf={children:[[`TypeSelector`,`IdSelector`,`ClassSelector`,`AttributeSelector`,`PseudoClassSelector`,`PseudoElementSelector`,`Combinator`,`WhiteSpace`]]};function bf(){let e=this.readSequence(this.scope.Selector);return this.getFirstListNode(e)===null&&this.error(`Selector is expected`),{type:`Selector`,loc:this.getLocationFromList(e),children:e}}function xf(e){this.children(e)}var Sf=l({generate:()=>Df,name:()=>Cf,parse:()=>Ef,structure:()=>Tf,walkContext:()=>wf}),Cf=`SelectorList`,wf=`selector`,Tf={children:[[`Selector`,`Raw`]]};function Ef(){let e=this.createList();for(;!this.eof;){if(e.push(this.Selector()),this.tokenType===18){this.next();continue}break}return{type:`SelectorList`,loc:this.getLocationFromList(e),children:e}}function Df(e){this.children(e,()=>this.token(18,`,`))}var Of=92,kf=34,Af=39;function jf(e){let t=e.length,n=e.charCodeAt(0),r=+(n===kf||n===Af),i=r===1&&t>1&&e.charCodeAt(t-1)===n?t-2:t-1,a=``;for(let n=r;n<=i;n++){let r=e.charCodeAt(n);if(r===Of){if(n===i){n!==t-1&&(a=e.substr(n+1));break}if(r=e.charCodeAt(++n),Ts(Of,r)){let t=n-1,r=Rs(e,t);n=r-1,a+=Hs(e.substring(t+1,r))}else r===13&&e.charCodeAt(n+1)===10&&n++}else a+=e[n]}return a}function Mf(e,t){let n=t?`'`:`"`,r=t?Af:kf,i=``,a=!1;for(let t=0;t<e.length;t++){let n=e.charCodeAt(t);if(n===0){i+=`�`;continue}if(n<=31||n===127){i+=`\\`+n.toString(16),a=!0;continue}n===r||n===Of?(i+=`\\`+e.charAt(t),a=!1):(a&&(hs(n)||ws(n))&&(i+=` `),i+=e.charAt(t),a=!1)}return n+i+n}var Nf=l({generate:()=>Lf,name:()=>Pf,parse:()=>If,structure:()=>Ff}),Pf=`String`,Ff={value:String};function If(){return{type:`String`,loc:this.getLocation(this.tokenStart,this.tokenEnd),value:jf(this.consume(5))}}function Lf(e){this.token(5,Mf(e.value))}var Rf=l({generate:()=>Gf,name:()=>Vf,parse:()=>Wf,structure:()=>Uf,walkContext:()=>Hf}),zf=33;function Bf(e){return this.Raw(e,null,!1)}var Vf=`StyleSheet`,Hf=`stylesheet`,Uf={children:[[`Comment`,`CDO`,`CDC`,`Atrule`,`Rule`,`Raw`]]};function Wf(){let e=this.tokenStart,t=this.createList(),n;scan:for(;!this.eof;){switch(this.tokenType){case 13:this.next();continue;case 25:if(this.charCodeAt(this.tokenStart+2)!==zf){this.next();continue}n=this.Comment();break;case 14:n=this.CDO();break;case 15:n=this.CDC();break;case 3:n=this.parseWithFallback(this.Atrule,Bf);break;default:n=this.parseWithFallback(this.Rule,Bf)}t.push(n)}return{type:`StyleSheet`,loc:this.getLocation(e,this.tokenStart),children:t}}function Gf(e){this.children(e)}var Kf=l({generate:()=>$f,name:()=>Xf,parse:()=>Qf,structure:()=>Zf}),qf=42,Jf=124;function Yf(){this.tokenType!==1&&this.isDelim(qf)===!1&&this.error(`Identifier or asterisk is expected`),this.next()}var Xf=`TypeSelector`,Zf={name:String};function Qf(){let e=this.tokenStart;return this.isDelim(Jf)?(this.next(),Yf.call(this)):(Yf.call(this),this.isDelim(Jf)&&(this.next(),Yf.call(this))),{type:`TypeSelector`,loc:this.getLocation(e,this.tokenStart),name:this.substrToCursor(e)}}function $f(e){this.tokenize(e.name)}var ep=l({generate:()=>dp,name:()=>cp,parse:()=>up,structure:()=>lp}),tp=43,np=45,rp=63;function ip(e,t){let n=0;for(let r=this.tokenStart+e;r<this.tokenEnd;r++){let i=this.charCodeAt(r);if(i===np&&t&&n!==0)return ip.call(this,e+n+1,!1),-1;hs(i)||this.error(t&&n!==0?`Hyphen minus`+(n<6?` or hex digit`:``)+` is expected`:n<6?`Hex digit is expected`:`Unexpected input`,r),++n>6&&this.error(`Too many hex digits`,r)}return this.next(),n}function ap(e){let t=0;for(;this.isDelim(rp);)++t>e&&this.error(`Too many question marks`),this.next()}function op(e){this.charCodeAt(this.tokenStart)!==e&&this.error((e===tp?`Plus sign`:`Hyphen minus`)+` is expected`)}function sp(){let e=0;switch(this.tokenType){case 10:if(e=ip.call(this,1,!0),this.isDelim(rp)){ap.call(this,6-e);break}if(this.tokenType===12||this.tokenType===10){op.call(this,np),ip.call(this,1,!1);break}break;case 12:e=ip.call(this,1,!0),e>0&&ap.call(this,6-e);break;default:if(this.eatDelim(tp),this.tokenType===1){e=ip.call(this,0,!0),e>0&&ap.call(this,6-e);break}if(this.isDelim(rp)){this.next(),ap.call(this,5);break}this.error(`Hex digit or question mark is expected`)}}var cp=`UnicodeRange`,lp={value:String};function up(){let e=this.tokenStart;return this.eatIdent(`u`),sp.call(this),{type:`UnicodeRange`,loc:this.getLocation(e,this.tokenStart),value:this.substrToCursor(e)}}function dp(e){this.tokenize(e.value)}var fp=32,pp=92,mp=34,hp=39,gp=40,_p=41;function vp(e){let t=e.length,n=4,r=e.charCodeAt(t-1)===_p?t-2:t-1,i=``;for(;n<r&&ws(e.charCodeAt(n));)n++;for(;n<r&&ws(e.charCodeAt(r));)r--;for(let a=n;a<=r;a++){let n=e.charCodeAt(a);if(n===pp){if(a===r){a!==t-1&&(i=e.substr(a+1));break}if(n=e.charCodeAt(++a),Ts(pp,n)){let t=a-1,n=Rs(e,t);a=n-1,i+=Hs(e.substring(t+1,n))}else n===13&&e.charCodeAt(a+1)===10&&a++}else i+=e[a]}return i}function yp(e){let t=``,n=!1;for(let r=0;r<e.length;r++){let i=e.charCodeAt(r);if(i===0){t+=`�`;continue}if(i<=31||i===127){t+=`\\`+i.toString(16),n=!0;continue}i===fp||i===pp||i===mp||i===hp||i===gp||i===_p?(t+=`\\`+e.charAt(r),n=!1):(n&&hs(i)&&(t+=` `),t+=e.charAt(r),n=!1)}return`url(`+t+`)`}var bp=l({generate:()=>Cp,name:()=>`Url`,parse:()=>Sp,structure:()=>xp}),xp={value:String};function Sp(){let e=this.tokenStart,t;switch(this.tokenType){case 7:t=vp(this.consume(7));break;case 2:this.cmpStr(this.tokenStart,this.tokenEnd,`url(`)||this.error("Function name must be `url`"),this.eat(2),this.skipSC(),t=jf(this.consume(5)),this.skipSC(),this.eof||this.eat(22);break;default:this.error(`Url or Function is expected`)}return{type:`Url`,loc:this.getLocation(e,this.tokenStart),value:t}}function Cp(e){this.token(7,yp(e.value))}var wp=l({generate:()=>Op,name:()=>Tp,parse:()=>Dp,structure:()=>Ep}),Tp=`Value`,Ep={children:[[]]};function Dp(){let e=this.tokenStart,t=this.readSequence(this.scope.Value);return{type:`Value`,loc:this.getLocation(e,this.tokenStart),children:t}}function Op(e){this.children(e)}var kp=l({generate:()=>Pp,name:()=>jp,parse:()=>Np,structure:()=>Mp}),Ap=Object.freeze({type:`WhiteSpace`,loc:null,value:` `}),jp=`WhiteSpace`,Mp={value:String};function Np(){return this.eat(13),Ap}function Pp(e){this.token(13,e.value)}var Fp=Sc({node:l({AnPlusB:()=>Fc,Atrule:()=>Uc,AtrulePrelude:()=>Yc,AttributeSelector:()=>cl,Block:()=>vl,Brackets:()=>Cl,CDC:()=>Dl,CDO:()=>jl,ClassSelector:()=>Ll,Combinator:()=>Kl,Comment:()=>$l,Declaration:()=>_u,DeclarationList:()=>Tu,Dimension:()=>Au,Function:()=>Iu,Hash:()=>Vu,IdSelector:()=>Zu,Identifier:()=>Ku,MediaFeature:()=>nd,MediaQuery:()=>sd,MediaQueryList:()=>fd,Nth:()=>gd,Number:()=>xd,Operator:()=>Ed,Parentheses:()=>jd,Percentage:()=>Id,PseudoClassSelector:()=>Hd,PseudoElementSelector:()=>Jd,Ratio:()=>nf,Raw:()=>cf,Rule:()=>gf,Selector:()=>xf,SelectorList:()=>Df,String:()=>Lf,StyleSheet:()=>Gf,TypeSelector:()=>$f,UnicodeRange:()=>dp,Url:()=>Cp,Value:()=>Op,WhiteSpace:()=>Pp})}),Ip=null,Lp=class e{static createItem(e){return{prev:null,next:null,data:e}}constructor(){this.head=null,this.tail=null,this.cursor=null}createItem(t){return e.createItem(t)}allocateCursor(e,t){let n;return Ip===null?n={prev:e,next:t,cursor:this.cursor}:(n=Ip,Ip=Ip.cursor,n.prev=e,n.next=t,n.cursor=this.cursor),this.cursor=n,n}releaseCursor(){let{cursor:e}=this;this.cursor=e.cursor,e.prev=null,e.next=null,e.cursor=Ip,Ip=e}updateCursors(e,t,n,r){let{cursor:i}=this;for(;i!==null;)i.prev===e&&(i.prev=t),i.next===n&&(i.next=r),i=i.cursor}*[Symbol.iterator](){for(let e=this.head;e!==null;e=e.next)yield e.data}get size(){let e=0;for(let t=this.head;t!==null;t=t.next)e++;return e}get isEmpty(){return this.head===null}get first(){return this.head&&this.head.data}get last(){return this.tail&&this.tail.data}fromArray(t){let n=null;this.head=null;for(let r of t){let t=e.createItem(r);n===null?this.head=t:n.next=t,t.prev=n,n=t}return this.tail=n,this}toArray(){return[...this]}toJSON(){return[...this]}forEach(e,t=this){let n=this.allocateCursor(null,this.head);for(;n.next!==null;){let r=n.next;n.next=r.next,e.call(t,r.data,r,this)}this.releaseCursor()}forEachRight(e,t=this){let n=this.allocateCursor(this.tail,null);for(;n.prev!==null;){let r=n.prev;n.prev=r.prev,e.call(t,r.data,r,this)}this.releaseCursor()}reduce(e,t,n=this){let r=this.allocateCursor(null,this.head),i=t,a;for(;r.next!==null;)a=r.next,r.next=a.next,i=e.call(n,i,a.data,a,this);return this.releaseCursor(),i}reduceRight(e,t,n=this){let r=this.allocateCursor(this.tail,null),i=t,a;for(;r.prev!==null;)a=r.prev,r.prev=a.prev,i=e.call(n,i,a.data,a,this);return this.releaseCursor(),i}some(e,t=this){for(let n=this.head;n!==null;n=n.next)if(e.call(t,n.data,n,this))return!0;return!1}map(t,n=this){let r=new e;for(let e=this.head;e!==null;e=e.next)r.appendData(t.call(n,e.data,e,this));return r}filter(t,n=this){let r=new e;for(let e=this.head;e!==null;e=e.next)t.call(n,e.data,e,this)&&r.appendData(e.data);return r}nextUntil(e,t,n=this){if(e===null)return;let r=this.allocateCursor(null,e);for(;r.next!==null;){let e=r.next;if(r.next=e.next,t.call(n,e.data,e,this))break}this.releaseCursor()}prevUntil(e,t,n=this){if(e===null)return;let r=this.allocateCursor(e,null);for(;r.prev!==null;){let e=r.prev;if(r.prev=e.prev,t.call(n,e.data,e,this))break}this.releaseCursor()}clear(){this.head=null,this.tail=null}copy(){let t=new e;for(let e of this)t.appendData(e);return t}prepend(e){return this.updateCursors(null,e,this.head,e),this.head===null?this.tail=e:(this.head.prev=e,e.next=this.head),this.head=e,this}prependData(t){return this.prepend(e.createItem(t))}append(e){return this.insert(e)}appendData(t){return this.insert(e.createItem(t))}insert(e,t=null){if(t!==null)if(this.updateCursors(t.prev,e,t,e),t.prev===null){if(this.head!==t)throw 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),this.tail===null?this.head=e:(this.tail.next=e,e.prev=this.tail),this.tail=e;return this}insertData(t,n){return this.insert(e.createItem(t),n)}remove(e){if(this.updateCursors(e,e.prev,e,e.next),e.prev!==null)e.prev.next=e.next;else{if(this.head!==e)throw Error(`item doesn't belong to list`);this.head=e.next}if(e.next!==null)e.next.prev=e.prev;else{if(this.tail!==e)throw Error(`item doesn't belong to list`);this.tail=e.prev}return e.prev=null,e.next=null,e}push(t){this.insert(e.createItem(t))}pop(){return this.tail===null?null:this.remove(this.tail)}unshift(t){this.prepend(e.createItem(t))}shift(){return this.head===null?null:this.remove(this.head)}prependList(e){return this.insertList(e,this.head)}appendList(e){return this.insertList(e)}insertList(e,t){return e.head===null?this:(t==null?(this.updateCursors(this.tail,e.tail,null,e.head),this.tail===null?this.head=e.head:(this.tail.next=e.head,e.head.prev=this.tail),this.tail=e.tail):(this.updateCursors(t.prev,e.tail,t,e.head),t.prev===null?this.head=e.head:(t.prev.next=e.head,e.head.prev=t.prev),t.prev=e.tail,e.tail.next=t),e.head=null,e.tail=null,this)}replace(e,t){`head`in t?this.insertList(t,e):this.insert(t,e),this.remove(e)}};function Rp(e,t){let n=Object.create(SyntaxError.prototype),r=Error();return Object.assign(n,{name:e,message:t,get stack(){return(r.stack||``).replace(/^(.+\n){1,3}/,`${e}: ${t}\n`)}})}var zp=100,Bp=60,Vp=` `;function Hp({source:e,line:t,column:n},r){function i(e,t){return a.slice(e,t).map((t,n)=>String(e+n+1).padStart(c)+` |`+t).join(`
|
|
13
|
+
`)}let a=e.split(/\r\n?|\n|\f/),o=Math.max(1,t-r)-1,s=Math.min(t+r,a.length+1),c=Math.max(4,String(s).length)+1,l=0;n+=3*(a[t-1].substr(0,n-1).match(/\t/g)||[]).length,n>zp&&(l=n-Bp+3,n=Bp-2);for(let e=o;e<=s;e++)e>=0&&e<a.length&&(a[e]=a[e].replace(/\t/g,Vp),a[e]=(l>0&&a[e].length>l?`…`:``)+a[e].substr(l,zp-2)+(a[e].length>l+zp-1?`…`:``));return[i(o,t),Array(n+c+2).join(`-`)+`^`,i(t,s)].filter(Boolean).join(`
|
|
14
|
+
`)}function Up(e,t,n,r,i){return Object.assign(Rp(`SyntaxError`,e),{source:t,offset:n,line:r,column:i,sourceFragment(e){return Hp({source:t,line:r,column:i},isNaN(e)?0:e)},get formattedMessage(){return`Parse error: ${e}\n`+Hp({source:t,line:r,column:i},2)}})}function Wp(e){let t=this.createList(),n=!1,r={recognizer:e};for(;!this.eof;){switch(this.tokenType){case 25:this.next();continue;case 13:n=!0,this.next();continue}let i=e.getNode.call(this,r);if(i===void 0)break;n&&=(e.onWhiteSpace&&e.onWhiteSpace.call(this,i,t,r),!1),t.push(i)}return n&&e.onWhiteSpace&&e.onWhiteSpace.call(this,null,t,r),t}var Gp=()=>{},Kp=33,qp=35,Jp=59,Yp=123,Xp=0;function Zp(e){return function(){return this[e]()}}function Qp(e){let t=Object.create(null);for(let n in e){let r=e[n],i=r.parse||r;i&&(t[n]=i)}return t}function $p(e){let t={context:Object.create(null),scope:Object.assign(Object.create(null),e.scope),atrule:Qp(e.atrule),pseudo:Qp(e.pseudo),node:Qp(e.node)};for(let n in e.parseContext)switch(typeof e.parseContext[n]){case`function`:t.context[n]=e.parseContext[n];break;case`string`:t.context[n]=Zp(e.parseContext[n]);break}return{config:t,...t,...t.node}}function em(e){let t=``,n=`<unknown>`,r=!1,i=Gp,a=!1,o=new Xs,s=Object.assign(new ec,$p(e||{}),{parseAtrulePrelude:!0,parseRulePrelude:!0,parseValue:!0,parseCustomProperty:!1,readSequence:Wp,consumeUntilBalanceEnd:()=>0,consumeUntilLeftCurlyBracket(e){return+(e===Yp)},consumeUntilLeftCurlyBracketOrSemicolon(e){return+(e===Yp||e===Jp)},consumeUntilExclamationMarkOrSemicolon(e){return+(e===Kp||e===Jp)},consumeUntilSemicolonIncluded(e){return e===Jp?2:0},createList(){return new Lp},createSingleNodeList(e){return new Lp().appendData(e)},getFirstListNode(e){return e&&e.first},getLastListNode(e){return e&&e.last},parseWithFallback(e,t){let n=this.tokenIndex;try{return e.call(this)}catch(e){if(a)throw e;let r=t.call(this,n);return a=!0,i(e,r),a=!1,r}},lookupNonWSType(e){let t;do if(t=this.lookupType(e++),t!==13)return t;while(t!==Xp);return Xp},charCodeAt(e){return e>=0&&e<t.length?t.charCodeAt(e):0},substring(e,n){return t.substring(e,n)},substrToCursor(e){return this.source.substring(e,this.tokenStart)},cmpChar(e,n){return Ns(t,e,n)},cmpStr(e,n,r){return Ps(t,e,n,r)},consume(e){let t=this.tokenStart;return this.eat(e),this.substrToCursor(t)},consumeFunctionName(){let e=t.substring(this.tokenStart,this.tokenEnd-1);return this.eat(2),e},consumeNumber(e){let n=t.substring(this.tokenStart,Bs(t,this.tokenStart));return this.eat(e),n},eat(e){if(this.tokenType!==e){let t=Us[e].slice(0,-6).replace(/-/g,` `).replace(/^./,e=>e.toUpperCase()),n=`${/[[\](){}]/.test(t)?`"${t}"`:t} is expected`,r=this.tokenStart;switch(e){case 1:this.tokenType===2||this.tokenType===7?(r=this.tokenEnd-1,n=`Identifier is expected but function found`):n=`Identifier is expected`;break;case 4:this.isDelim(qp)&&(this.next(),r++,n=`Name is expected`);break;case 11:this.tokenType===10&&(r=this.tokenEnd,n=`Percent sign is expected`);break}this.error(n,r)}this.next()},eatIdent(e){(this.tokenType!==1||this.lookupValue(0,e)===!1)&&this.error(`Identifier "${e}" is expected`),this.next()},eatDelim(e){this.isDelim(e)||this.error(`Delim "${String.fromCharCode(e)}" is expected`),this.next()},getLocation(e,t){return r?o.getLocationRange(e,t,n):null},getLocationFromList(e){if(r){let t=this.getFirstListNode(e),r=this.getLastListNode(e);return o.getLocationRange(t===null?this.tokenStart:t.loc.start.offset-o.startOffset,r===null?this.tokenStart:r.loc.end.offset-o.startOffset,n)}return null},error(e,n){let r=n!==void 0&&n<t.length?o.getLocation(n):this.eof?o.getLocation(Fs(t,t.length-1)):o.getLocation(this.tokenStart);throw new Up(e||`Unexpected input`,t,r.offset,r.line,r.column)}});return Object.assign(function(e,c){t=e,c||={},s.setSource(t,tc),o.setSource(t,c.offset,c.line,c.column),n=c.filename||`<unknown>`,r=!!c.positions,i=typeof c.onParseError==`function`?c.onParseError:Gp,a=!1,s.parseAtrulePrelude=`parseAtrulePrelude`in c?!!c.parseAtrulePrelude:!0,s.parseRulePrelude=`parseRulePrelude`in c?!!c.parseRulePrelude:!0,s.parseValue=`parseValue`in c?!!c.parseValue:!0,s.parseCustomProperty=`parseCustomProperty`in c?!!c.parseCustomProperty:!1;let{context:l=`default`,onComment:u}=c;if(!(l in s.context))throw Error("Unknown context `"+l+"`");typeof u==`function`&&s.forEachToken((e,n,r)=>{if(e===25){let e=s.getLocation(n,r);u(Ps(t,r-2,r,`*/`)?t.slice(n+2,r-2):t.slice(n+2,r),e)}});let d=s.context[l].call(s,c);return s.eof||s.error(),d},{SyntaxError:Up,config:s.config})}var tm=35,nm=42,rm=43,im=45,am=47,om=117;function sm(e){switch(this.tokenType){case 4:return this.Hash();case 18:return this.Operator();case 21:return this.Parentheses(this.readSequence,e.recognizer);case 19:return this.Brackets(this.readSequence,e.recognizer);case 5:return this.String();case 12:return this.Dimension();case 11:return this.Percentage();case 10:return this.Number();case 2:return this.cmpStr(this.tokenStart,this.tokenEnd,`url(`)?this.Url():this.Function(this.readSequence,e.recognizer);case 7:return this.Url();case 1:return this.cmpChar(this.tokenStart,om)&&this.cmpChar(this.tokenStart+1,rm)?this.UnicodeRange():this.Identifier();case 9:{let e=this.charCodeAt(this.tokenStart);if(e===am||e===nm||e===rm||e===im)return this.Operator();e===tm&&this.error(`Hex or identifier is expected`,this.tokenStart+1);break}}}var cm={getNode:sm},lm=35,um=42,dm=43,fm=47,pm=46,mm=62,hm=124,gm=126;function _m(e,t){t.last!==null&&t.last.type!==`Combinator`&&e!==null&&e.type!==`Combinator`&&t.push({type:`Combinator`,loc:null,name:` `})}function vm(){switch(this.tokenType){case 19:return this.AttributeSelector();case 4:return this.IdSelector();case 16:return this.lookupType(1)===16?this.PseudoElementSelector():this.PseudoClassSelector();case 1:return this.TypeSelector();case 10:case 11:return this.Percentage();case 12:this.charCodeAt(this.tokenStart)===pm&&this.error(`Identifier is expected`,this.tokenStart+1);break;case 9:switch(this.charCodeAt(this.tokenStart)){case dm:case mm:case gm:case fm:return this.Combinator();case pm:return this.ClassSelector();case um:case hm:return this.TypeSelector();case lm:return this.IdSelector()}break}}var ym={onWhiteSpace:_m,getNode:vm};function bm(){return this.createSingleNodeList(this.Raw(this.tokenIndex,null,!1))}function xm(){let e=this.createList();if(this.skipSC(),e.push(this.Identifier()),this.skipSC(),this.tokenType===18){e.push(this.Operator());let t=this.tokenIndex,n=this.parseCustomProperty?this.Value(null):this.Raw(this.tokenIndex,this.consumeUntilExclamationMarkOrSemicolon,!1);if(n.type===`Value`&&n.children.isEmpty){for(let e=t-this.tokenIndex;e<=0;e++)if(this.lookupType(e)===13){n.children.appendData({type:`WhiteSpace`,loc:null,value:` `});break}}e.push(n)}return e}function Sm(e){return e!==null&&e.type===`Operator`&&(e.value[e.value.length-1]===`-`||e.value[e.value.length-1]===`+`)}var Cm={getNode:sm,onWhiteSpace(e,t){Sm(e)&&(e.value=` `+e.value),Sm(t.last)&&(t.last.value+=` `)},expression:bm,var:xm},wm=l({AtrulePrelude:()=>cm,Selector:()=>ym,Value:()=>Cm}),Tm={parse:{prelude:null,block(){return this.Block(!0)}}},Em={parse:{prelude(){let e=this.createList();switch(this.skipSC(),this.tokenType){case 5:e.push(this.String());break;case 7:case 2:e.push(this.Url());break;default:this.error(`String or url() is expected`)}return(this.lookupNonWSType(0)===1||this.lookupNonWSType(0)===21)&&e.push(this.MediaQueryList()),e},block:null}},Dm={parse:{prelude(){return this.createSingleNodeList(this.MediaQueryList())},block(){return this.Block(!1)}}},Om={parse:{prelude(){return this.createSingleNodeList(this.SelectorList())},block(){return this.Block(!0)}}};function km(){return this.createSingleNodeList(this.Raw(this.tokenIndex,null,!1))}function Am(){return this.skipSC(),this.tokenType===1&&this.lookupNonWSType(1)===16?this.createSingleNodeList(this.Declaration()):jm.call(this)}function jm(){let e=this.createList(),t;this.skipSC();scan:for(;!this.eof;){switch(this.tokenType){case 25:case 13:this.next();continue;case 2:t=this.Function(km,this.scope.AtrulePrelude);break;case 1:t=this.Identifier();break;case 21:t=this.Parentheses(Am,this.scope.AtrulePrelude);break;default:break scan}e.push(t)}return e}var Mm={"font-face":Tm,import:Em,media:Dm,page:Om,supports:{parse:{prelude(){let e=jm.call(this);return this.getFirstListNode(e)===null&&this.error(`Condition is expected`),e},block(){return this.Block(!1)}}}},Nm={parse(){return this.createSingleNodeList(this.SelectorList())}},Pm={parse(){return this.createSingleNodeList(this.Selector())}},Fm={parse(){return this.createSingleNodeList(this.Identifier())}},Im={parse(){return this.createSingleNodeList(this.Nth())}},Lm=em({parseContext:{default:`StyleSheet`,stylesheet:`StyleSheet`,atrule:`Atrule`,atrulePrelude(e){return this.AtrulePrelude(e.atrule?String(e.atrule):null)},mediaQueryList:`MediaQueryList`,mediaQuery:`MediaQuery`,rule:`Rule`,selectorList:`SelectorList`,selector:`Selector`,block(){return this.Block(!0)},declarationList:`DeclarationList`,declaration:`Declaration`,value:`Value`},scope:wm,atrule:Mm,pseudo:{dir:Fm,has:Nm,lang:Fm,matches:Nm,is:Nm,"-moz-any":Nm,"-webkit-any":Nm,where:Nm,not:Nm,"nth-child":Im,"nth-last-child":Im,"nth-last-of-type":Im,"nth-of-type":Im,slotted:Pm},node:l({AnPlusB:()=>Pc,Atrule:()=>Hc,AtrulePrelude:()=>Jc,AttributeSelector:()=>sl,Block:()=>_l,Brackets:()=>Sl,CDC:()=>El,CDO:()=>Al,ClassSelector:()=>Il,Combinator:()=>Gl,Comment:()=>Ql,Declaration:()=>gu,DeclarationList:()=>wu,Dimension:()=>ku,Function:()=>Fu,Hash:()=>Bu,IdSelector:()=>Xu,Identifier:()=>Gu,MediaFeature:()=>td,MediaQuery:()=>od,MediaQueryList:()=>dd,Nth:()=>hd,Number:()=>bd,Operator:()=>Td,Parentheses:()=>Ad,Percentage:()=>Fd,PseudoClassSelector:()=>Vd,PseudoElementSelector:()=>qd,Ratio:()=>tf,Raw:()=>sf,Rule:()=>hf,Selector:()=>bf,SelectorList:()=>Ef,String:()=>If,StyleSheet:()=>Wf,TypeSelector:()=>Qf,UnicodeRange:()=>up,Url:()=>Sp,Value:()=>Dp,WhiteSpace:()=>Np})}),{hasOwnProperty:Rm}=Object.prototype,zm=function(){};function Bm(e){return typeof e==`function`?e:zm}function Vm(e,t){return function(n,r,i){n.type===t&&e.call(this,n,r,i)}}function Hm(e,t){let n=t.structure,r=[];for(let e in n){if(Rm.call(n,e)===!1)continue;let t=n[e],i={name:e,type:!1,nullable:!1};Array.isArray(t)||(t=[t]);for(let e of t)e===null?i.nullable=!0:typeof e==`string`?i.type=`node`:Array.isArray(e)&&(i.type=`list`);i.type&&r.push(i)}return r.length?{context:t.walkContext,fields:r}:null}function Um(e){let t={};for(let n in e.node)if(Rm.call(e.node,n)){let r=e.node[n];if(!r.structure)throw Error("Missed `structure` field in `"+n+"` node type definition");t[n]=Hm(n,r)}return t}function Wm(e,t){let n=e.fields.slice(),r=e.context,i=typeof r==`string`;return t&&n.reverse(),function(e,a,o,s){let c;i&&(c=a[r],a[r]=e);for(let r of n){let n=e[r.name];if(!r.nullable||n){if(r.type===`list`){if(t?n.reduceRight(s,!1):n.reduce(s,!1))return!0}else if(o(n))return!0}}i&&(a[r]=c)}}function Gm({StyleSheet:e,Atrule:t,Rule:n,Block:r,DeclarationList:i}){return{Atrule:{StyleSheet:e,Atrule:t,Rule:n,Block:r},Rule:{StyleSheet:e,Atrule:t,Rule:n,Block:r},Declaration:{StyleSheet:e,Atrule:t,Rule:n,Block:r,DeclarationList:i}}}function Km(e){let t=Um(e),n={},r={},i=Symbol(`break-walk`),a=Symbol(`skip-node`);for(let e in t)Rm.call(t,e)&&t[e]!==null&&(n[e]=Wm(t[e],!1),r[e]=Wm(t[e],!0));let o=Gm(n),s=Gm(r),c=function(e,c){function l(e,t,n){let r=u.call(m,e,t,n);return r===i?!0:r===a?!1:!!(f.hasOwnProperty(e.type)&&f[e.type](e,m,l,p)||d.call(m,e,t,n)===i)}let u=zm,d=zm,f=n,p=(e,t,n,r)=>e||l(t,n,r),m={break:i,skip:a,root:e,stylesheet:null,atrule:null,atrulePrelude:null,rule:null,selector:null,block:null,declaration:null,function:null};if(typeof c==`function`)u=c;else if(c&&(u=Bm(c.enter),d=Bm(c.leave),c.reverse&&(f=r),c.visit)){if(o.hasOwnProperty(c.visit))f=c.reverse?s[c.visit]:o[c.visit];else if(!t.hasOwnProperty(c.visit))throw Error("Bad value `"+c.visit+"` for `visit` option (should be: "+Object.keys(t).sort().join(`, `)+`)`);u=Vm(u,c.visit),d=Vm(d,c.visit)}if(u===zm&&d===zm)throw Error("Neither `enter` nor `leave` walker handler is set or both aren't a function");l(e)};return c.break=i,c.skip=a,c.find=function(e,t){let n=null;return c(e,function(e,r,a){if(t.call(this,e,r,a))return n=e,i}),n},c.findLast=function(e,t){let n=null;return c(e,{reverse:!0,enter(e,r,a){if(t.call(this,e,r,a))return n=e,i}}),n},c.findAll=function(e,t){let n=[];return c(e,function(e,r,i){t.call(this,e,r,i)&&n.push(e)}),n},c}var qm=Km({node:l({AnPlusB:()=>Cc,Atrule:()=>Ic,AtrulePrelude:()=>Wc,AttributeSelector:()=>Xc,Block:()=>ll,Brackets:()=>yl,CDC:()=>wl,CDO:()=>Ol,ClassSelector:()=>Ml,Combinator:()=>Rl,Comment:()=>ql,Declaration:()=>nu,DeclarationList:()=>bu,Dimension:()=>Eu,Function:()=>ju,Hash:()=>Lu,IdSelector:()=>qu,Identifier:()=>Hu,MediaFeature:()=>Qu,MediaQuery:()=>rd,MediaQueryList:()=>cd,Nth:()=>pd,Number:()=>_d,Operator:()=>Sd,Parentheses:()=>Dd,Percentage:()=>Md,PseudoClassSelector:()=>Ld,PseudoElementSelector:()=>Ud,Ratio:()=>Yd,Raw:()=>rf,Rule:()=>lf,Selector:()=>_f,SelectorList:()=>Sf,String:()=>Nf,StyleSheet:()=>Rf,TypeSelector:()=>Kf,UnicodeRange:()=>ep,Url:()=>bp,Value:()=>wp,WhiteSpace:()=>kp})}),Jm=c((e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=new Uint16Array(`ᵁ<Õıʊҝջאٵ۞ޢߖࠏઑඡ༉༦ረዡᐕᒝᓃᓟᔥ\0\0\0\0\0\0ᕫᛍᦍᰒᷝ↰⊍⏀⏻⑂⠤⤒ⴈ⹈⿎〖㊺㘹㞬㣾㨨㩱㫠㬮ࠀEMabcfglmnoprstu\\bfms¦³¹ÈÏlig耻Æ䃆P耻&䀦cute耻Á䃁reve;䄂Āiyx}rc耻Â䃂;䐐r;쀀𝔄rave耻À䃀pha;䎑acr;䄀d;橓Āgp¡on;䄄f;쀀𝔸plyFunction;恡ing耻Å䃅Ācs¾Ãr;쀀𝒜ign;扔ilde耻Ã䃃ml耻Ä䃄ЀaceforsuåûþėĜĢħĪĀcrêòkslash;或Ŷöø;櫧ed;挆y;䐑ƀcrtąċĔause;戵noullis;愬a;䎒r;쀀𝔅pf;쀀𝔹eve;䋘còēmpeq;扎܀HOacdefhilorsuōőŖƀƞƢƵƷƺǜȕɳɸɾcy;䐧PY耻©䂩ƀcpyŝŢźute;䄆Ā;iŧŨ拒talDifferentialD;慅leys;愭ȀaeioƉƎƔƘron;䄌dil耻Ç䃇rc;䄈nint;戰ot;䄊ĀdnƧƭilla;䂸terDot;䂷òſi;䎧rcleȀDMPTLJNjǑǖot;抙inus;抖lus;投imes;抗oĀcsǢǸkwiseContourIntegral;戲eCurlyĀDQȃȏoubleQuote;思uote;怙ȀlnpuȞȨɇɕonĀ;eȥȦ户;橴ƀgitȯȶȺruent;扡nt;戯ourIntegral;戮ĀfrɌɎ;愂oduct;成nterClockwiseContourIntegral;戳oss;樯cr;쀀𝒞pĀ;Cʄʅ拓ap;才րDJSZacefiosʠʬʰʴʸˋ˗ˡ˦̳ҍĀ;oŹʥtrahd;椑cy;䐂cy;䐅cy;䐏ƀgrsʿ˄ˇger;怡r;憡hv;櫤Āayː˕ron;䄎;䐔lĀ;t˝˞戇a;䎔r;쀀𝔇Āaf˫̧Ācm˰̢riticalȀADGT̖̜̀̆cute;䂴oŴ̋̍;䋙bleAcute;䋝rave;䁠ilde;䋜ond;拄ferentialD;慆Ѱ̽\0\0\0͔͂\0Ѕf;쀀𝔻ƀ;DE͈͉͍䂨ot;惜qual;扐blèCDLRUVͣͲϏϢϸontourIntegraìȹoɴ\0\0ͻ»͉nArrow;懓Āeo·ΤftƀARTΐΖΡrrow;懐ightArrow;懔eåˊngĀLRΫτeftĀARγιrrow;柸ightArrow;柺ightArrow;柹ightĀATϘϞrrow;懒ee;抨pɁϩ\0\0ϯrrow;懑ownArrow;懕erticalBar;戥ǹABLRTaВЪаўѿͼrrowƀ;BUНОТ憓ar;椓pArrow;懵reve;䌑eft˒к\0ц\0ѐightVector;楐eeVector;楞ectorĀ;Bљњ憽ar;楖ightǔѧ\0ѱeeVector;楟ectorĀ;BѺѻ懁ar;楗eeĀ;A҆҇护rrow;憧ĀctҒҗr;쀀𝒟rok;䄐ࠀNTacdfglmopqstuxҽӀӄӋӞӢӧӮӵԡԯԶՒ՝ՠեG;䅊H耻Ð䃐cute耻É䃉ƀaiyӒӗӜron;䄚rc耻Ê䃊;䐭ot;䄖r;쀀𝔈rave耻È䃈ement;戈ĀapӺӾcr;䄒tyɓԆ\0\0ԒmallSquare;旻erySmallSquare;斫ĀgpԦԪon;䄘f;쀀𝔼silon;䎕uĀaiԼՉlĀ;TՂՃ橵ilde;扂librium;懌Āci՚r;愰m;橳a;䎗ml耻Ë䃋Āipժկsts;戃onentialE;慇ʀcfiosօֈ֍ֲy;䐤r;쀀𝔉lledɓ֗\0\0֣mallSquare;旼erySmallSquare;斪Ͱֺ\0ֿ\0\0ׄf;쀀𝔽All;戀riertrf;愱còJTabcdfgorstרׯؒؖ؛؝أ٬ٲcy;䐃耻>䀾mmaĀ;d䎓;䏜reve;䄞ƀeiy؇،ؐdil;䄢rc;䄜;䐓ot;䄠r;쀀𝔊;拙pf;쀀𝔾eater̀EFGLSTصلَٖٛ٦qualĀ;Lؾؿ扥ess;招ullEqual;执reater;檢ess;扷lantEqual;橾ilde;扳cr;쀀𝒢;扫ЀAacfiosuڅڋږڛڞڪھۊRDcy;䐪Āctڐڔek;䋇;䁞irc;䄤r;愌lbertSpace;愋ǰگ\0ڲf;愍izontalLine;攀Āctۃۅòکrok;䄦mpńېۘownHumðįqual;扏܀EJOacdfgmnostuۺ۾܃܇ܚܞܡܨ݄ݸދޏޕcy;䐕lig;䄲cy;䐁cute耻Í䃍Āiyܓܘrc耻Î䃎;䐘ot;䄰r;愑rave耻Ì䃌ƀ;apܠܯܿĀcgܴܷr;䄪inaryI;慈lieóϝǴ݉\0ݢĀ;eݍݎ戬Āgrݓݘral;戫section;拂isibleĀCTݬݲomma;恣imes;恢ƀgptݿރވon;䄮f;쀀𝕀a;䎙cr;愐ilde;䄨ǫޚ\0ޞcy;䐆l耻Ï䃏ʀcfosuެ߂ߐĀiyޱrc;䄴;䐙r;쀀𝔍pf;쀀𝕁ǣ߇\0ߌr;쀀𝒥rcy;䐈kcy;䐄HJacfosߤߨ߽߬߱ࠂࠈcy;䐥cy;䐌ppa;䎚Āey߶dil;䄶;䐚r;쀀𝔎pf;쀀𝕂cr;쀀𝒦րJTaceflmostࠥࠩࠬࡐࡣসে্ੇcy;䐉耻<䀼ʀcmnpr࠷࠼ࡁࡄࡍute;䄹bda;䎛g;柪lacetrf;愒r;憞ƀaeyࡗࡡron;䄽dil;䄻;䐛Āfsࡨ॰tԀACDFRTUVarࡾࢩࢱࣦ࣠ࣼयज़ΐ४ĀnrࢃgleBracket;柨rowƀ;BR࢙࢚࢞憐ar;懤ightArrow;懆eiling;挈oǵࢷ\0ࣃbleBracket;柦nǔࣈ\0࣒eeVector;楡ectorĀ;Bࣛࣜ懃ar;楙loor;挊ightĀAV࣯ࣵrrow;憔ector;楎Āerँगeƀ;AVउऊऐ抣rrow;憤ector;楚iangleƀ;BEतथऩ抲ar;槏qual;抴pƀDTVषूौownVector;楑eeVector;楠ectorĀ;Bॖॗ憿ar;楘ectorĀ;B॥०憼ar;楒ightáΜs̀EFGLSTॾঋকঝঢভqualGreater;拚ullEqual;扦reater;扶ess;檡lantEqual;橽ilde;扲r;쀀𝔏Ā;eঽা拘ftarrow;懚idot;䄿ƀnpwਖਛgȀLRlr৷ਂਐeftĀAR০৬rrow;柵ightArrow;柷ightArrow;柶eftĀarγਊightáοightáϊf;쀀𝕃erĀLRਢਬeftArrow;憙ightArrow;憘ƀchtਾੀੂòࡌ;憰rok;䅁;扪Ѐacefiosuਗ਼અઋp;椅y;䐜Ādl੯iumSpace;恟lintrf;愳r;쀀𝔐nusPlus;戓pf;쀀𝕄cò੶;䎜ҀJacefostuણધભીଔଙඑඞcy;䐊cute;䅃ƀaeyહાron;䅇dil;䅅;䐝ƀgswે૰ativeƀMTV૨ediumSpace;怋hiĀcn૦ëeryThiîtedĀGLଆreaterGreateòٳessLesóੈLine;䀊r;쀀𝔑ȀBnptଢନଷreak;恠BreakingSpace;䂠f;愕ڀ;CDEGHLNPRSTV୕ୖ୪௫ఄ಄ದൡඅ櫬Āoungruent;扢pCap;扭oubleVerticalBar;戦ƀlqxஃஊement;戉ualĀ;Tஒஓ扠ilde;쀀≂̸ists;戄reater;EFGLSTஶஷ扯qual;扱ullEqual;쀀≧̸reater;쀀≫̸ess;批lantEqual;쀀⩾̸ilde;扵umpń௲ownHump;쀀≎̸qual;쀀≏̸eĀfsఊధtTriangleƀ;BEచఛడ拪ar;쀀⧏̸qual;括s̀;EGLSTవశ఼ౄోౘ扮qual;扰reater;扸ess;쀀≪̸lantEqual;쀀⩽̸ilde;扴estedĀGL౨౹reaterGreater;쀀⪢̸essLess;쀀⪡̸recedesƀ;ESಒಓಛ技qual;쀀⪯̸lantEqual;拠ĀeiಫಹverseElement;戌ghtTriangleƀ;BEೋೌ拫ar;쀀⧐̸qual;拭ĀquೝഌuareSuĀbp೨setĀ;Eೳ쀀⊏̸qual;拢ersetĀ;Eഃആ쀀⊐̸qual;拣ƀbcpഓതൎsetĀ;Eഛഞ쀀⊂⃒qual;抈ceedsȀ;ESTലള഻െ抁qual;쀀⪰̸lantEqual;拡ilde;쀀≿̸ersetĀ;E൘൛쀀⊃⃒qual;抉ildeȀ;EFT൮൯൵ൿ扁qual;扄ullEqual;扇ilde;扉erticalBar;戤cr;쀀𝒩ilde耻Ñ䃑;䎝܀Eacdfgmoprstuvලෂෛ෧ขภยา฿ไlig;䅒cute耻Ó䃓Āiyීrc耻Ô䃔;䐞blac;䅐r;쀀𝔒rave耻Ò䃒ƀaei෮ෲcr;䅌ga;䎩cron;䎟pf;쀀𝕆enCurlyĀDQฎบoubleQuote;怜uote;怘;橔Āclวฬr;쀀𝒪ash耻Ø䃘iŬืde耻Õ䃕es;樷ml耻Ö䃖erĀBP๋Āar๐๓r;怾acĀek๚;揞et;掴arenthesis;揜ҀacfhilorsງຊຏຒດຝະrtialD;戂y;䐟r;쀀𝔓i;䎦;䎠usMinus;䂱Āipຢອncareplanåڝf;愙Ȁ;eio຺ູ檻cedesȀ;EST່້扺qual;檯lantEqual;扼ilde;找me;怳Ādpuct;戏ortionĀ;aȥl;戝Āci༁༆r;쀀𝒫;䎨ȀUfos༑༖༛༟OT耻"䀢r;쀀𝔔pf;愚cr;쀀𝒬BEacefhiorsu༾གྷཇའཱིྦྷྪྭ႖ႩႴႾarr;椐G耻®䂮ƀcnrཎནབute;䅔g;柫rĀ;tཛྷཝ憠l;椖ƀaeyཧཬཱron;䅘dil;䅖;䐠Ā;vླྀཹ愜erseĀEUྂྙĀlq྇ྎement;戋uilibrium;懋pEquilibrium;楯r»ཹo;䎡ghtЀACDFTUVa࿁ဢဨၛႇϘĀnr࿆࿒gleBracket;柩rowƀ;BL憒ar;懥eftArrow;懄eiling;按oǵ\0စbleBracket;柧nǔည\0နeeVector;楝ectorĀ;Bဝသ懂ar;楕loor;挋Āerိ၃eƀ;AVဵံြ抢rrow;憦ector;楛iangleƀ;BEၐၑၕ抳ar;槐qual;抵pƀDTVၣၮၸownVector;楏eeVector;楜ectorĀ;Bႂႃ憾ar;楔ectorĀ;B႑႒懀ar;楓Āpuႛ႞f;愝ndImplies;楰ightarrow;懛ĀchႹႼr;愛;憱leDelayed;槴ڀHOacfhimoqstuფჱჷჽᄙᄞᅑᅖᅡᅧᆵᆻᆿĀCcჩხHcy;䐩y;䐨FTcy;䐬cute;䅚ʀ;aeiyᄈᄉᄎᄓᄗ檼ron;䅠dil;䅞rc;䅜;䐡r;쀀𝔖ortȀDLRUᄪᄴᄾᅉownArrow»ОeftArrow»࢚ightArrow»pArrow;憑gma;䎣allCircle;战pf;쀀𝕊ɲᅭ\0\0ᅰt;戚areȀ;ISUᅻᅼᆉᆯ斡ntersection;抓uĀbpᆏᆞsetĀ;Eᆗᆘ抏qual;抑ersetĀ;Eᆨᆩ抐qual;抒nion;抔cr;쀀𝒮ar;拆ȀbcmpᇈᇛሉላĀ;sᇍᇎ拐etĀ;Eᇍᇕqual;抆ĀchᇠህeedsȀ;ESTᇭᇮᇴᇿ扻qual;檰lantEqual;扽ilde;承Tháྌ;我ƀ;esሒሓሣ拑rsetĀ;Eሜም抃qual;抇et»ሓրHRSacfhiorsሾቄቕቱቶኟዂወዑORN耻Þ䃞ADE;愢ĀHcቒcy;䐋y;䐦Ābuቚቜ;䀉;䎤ƀaeyብቪቯron;䅤dil;䅢;䐢r;쀀𝔗ĀeiቻDzኀ\0ኇefore;戴a;䎘ĀcnኘkSpace;쀀 Space;怉ldeȀ;EFTካኬኲኼ戼qual;扃ullEqual;扅ilde;扈pf;쀀𝕋ipleDot;惛Āctዖዛr;쀀𝒯rok;䅦ૡዷጎጚጦ\0ጬጱ\0\0\0\0\0ጸጽ፷ᎅ\0ᐄᐊᐐĀcrዻጁute耻Ú䃚rĀ;oጇገ憟cir;楉rǣጓ\0y;䐎ve;䅬Āiyጞጣrc耻Û䃛;䐣blac;䅰r;쀀𝔘rave耻Ù䃙acr;䅪Ādiፁ፩erĀBPፈ፝Āarፍፐr;䁟acĀekፗፙ;揟et;掵arenthesis;揝onĀ;P፰፱拃lus;抎Āgp፻on;䅲f;쀀𝕌ЀADETadps᎕ᎮᎸᏄϨᏒᏗᏳrrowƀ;BDᅐᎠᎤar;椒ownArrow;懅ownArrow;憕quilibrium;楮eeĀ;AᏋᏌ报rrow;憥ownáϳerĀLRᏞᏨeftArrow;憖ightArrow;憗iĀ;lᏹᏺ䏒on;䎥ing;䅮cr;쀀𝒰ilde;䅨ml耻Ü䃜ҀDbcdefosvᐧᐬᐰᐳᐾᒅᒊᒐᒖash;披ar;櫫y;䐒ashĀ;lᐻᐼ抩;櫦Āerᑃᑅ;拁ƀbtyᑌᑐᑺar;怖Ā;iᑏᑕcalȀBLSTᑡᑥᑪᑴar;戣ine;䁼eparator;杘ilde;所ThinSpace;怊r;쀀𝔙pf;쀀𝕍cr;쀀𝒱dash;抪ʀcefosᒧᒬᒱᒶᒼirc;䅴dge;拀r;쀀𝔚pf;쀀𝕎cr;쀀𝒲Ȁfiosᓋᓐᓒᓘr;쀀𝔛;䎞pf;쀀𝕏cr;쀀𝒳ҀAIUacfosuᓱᓵᓹᓽᔄᔏᔔᔚᔠcy;䐯cy;䐇cy;䐮cute耻Ý䃝Āiyᔉᔍrc;䅶;䐫r;쀀𝔜pf;쀀𝕐cr;쀀𝒴ml;䅸ЀHacdefosᔵᔹᔿᕋᕏᕝᕠᕤcy;䐖cute;䅹Āayᕄᕉron;䅽;䐗ot;䅻Dzᕔ\0ᕛoWidtèa;䎖r;愨pf;愤cr;쀀𝒵ᖃᖊᖐ\0ᖰᖶᖿ\0\0\0\0ᗆᗛᗫᙟ᙭\0ᚕ᚛ᚲᚹ\0ᚾcute耻á䃡reve;䄃̀;Ediuyᖜᖝᖡᖣᖨᖭ戾;쀀∾̳;房rc耻â䃢te肻´̆;䐰lig耻æ䃦Ā;r²ᖺ;쀀𝔞rave耻à䃠ĀepᗊᗖĀfpᗏᗔsym;愵èᗓha;䎱ĀapᗟcĀclᗤᗧr;䄁g;樿ɤᗰ\0\0ᘊʀ;adsvᗺᗻᗿᘁᘇ戧nd;橕;橜lope;橘;橚;elmrszᘘᘙᘛᘞᘿᙏᙙ戠;榤e»ᘙsdĀ;aᘥᘦ戡ѡᘰᘲᘴᘶᘸᘺᘼᘾ;榨;榩;榪;榫;榬;榭;榮;榯tĀ;vᙅᙆ戟bĀ;dᙌᙍ抾;榝Āptᙔᙗh;戢»¹arr;捼Āgpᙣᙧon;䄅f;쀀𝕒;Eaeiopᙻᙽᚂᚄᚇᚊ;橰cir;橯;扊d;手s;䀧roxĀ;eᚒñᚃing耻å䃥ƀctyᚡᚦᚨr;쀀𝒶;䀪mpĀ;eᚯñʈilde耻ã䃣ml耻ä䃤Āciᛂᛈoninôɲnt;樑ࠀNabcdefiklnoprsu᛭ᛱᜰᝃᝈ០៦ᠹᡐᜍ᥈ᥰot;櫭ĀcrᛶkȀcepsᜀᜅᜍᜓong;扌psilon;䏶rime;怵imĀ;e戽q;拍Ŷᜢᜦee;抽edĀ;gᜬᜭ挅e»ᜭrkĀ;tbrk;掶Āoyᜁᝁ;䐱quo;怞ʀcmprtᝓᝡᝤᝨausĀ;eĊĉptyv;榰séᜌnoõēƀahwᝯᝳ;䎲;愶een;扬r;쀀𝔟gcostuvwឍឝឳេ៕៛ƀaiuបពរðݠrc;旯p»፱ƀdptឤឨឭot;樀lus;樁imes;樂ɱឹ\0\0ើcup;樆ar;昅riangleĀdu៍្own;施p;斳plus;樄eåᑄåᒭarow;植ƀakoᠦᠵĀcn៲ᠣkƀlst֫᠂ozenge;槫riangleȀ;dlr᠒᠓᠘斴own;斾eft;旂ight;斸k;搣Ʊᠫ\0ᠳƲᠯ\0ᠱ;斒;斑4;斓ck;斈ĀeoᠾᡍĀ;qᡃᡆ쀀=⃥uiv;쀀≡⃥t;挐Ȁptwxᡙᡞᡧᡬf;쀀𝕓Ā;tᏋᡣom»Ꮜtie;拈DHUVbdhmptuvᢅᢖᢪᢻᣗᣛᣬᤅᤊᤐᤡȀLRlrᢎᢐᢒᢔ;敗;敔;敖;敓ʀ;DUduᢡᢢᢤᢦᢨ敐;敦;敩;敤;敧ȀLRlrᢳᢵᢷᢹ;敝;敚;敜;教;HLRhlrᣊᣋᣍᣏᣑᣓᣕ救;敬;散;敠;敫;敢;敟ox;槉ȀLRlrᣤᣦᣨᣪ;敕;敒;攐;攌ʀ;DUduڽ;敥;敨;攬;攴inus;抟lus;択imes;抠ȀLRlrᤙᤛᤝ;敛;敘;攘;攔;HLRhlrᤰᤱᤳᤵᤷ᤻᤹攂;敪;敡;敞;攼;攤;攜Āevģbar耻¦䂦Ȁceioᥑᥖᥚᥠr;쀀𝒷mi;恏mĀ;elƀ;bhᥨᥩᥫ䁜;槅sub;柈ŬᥴlĀ;e怢t»pƀ;Eeįᦅᦇ;檮Ā;qۜۛೡᦧ\0᧨ᨑᨕᨲ\0ᨷᩐ\0\0᪴\0\0᫁\0\0ᬡᬮ᭒\0᯽\0ᰌƀcprᦲute;䄇̀;abcdsᦿᧀᧄ᧕᧙戩nd;橄rcup;橉Āau᧒p;橋p;橇ot;橀;쀀∩︀Āeo᧢᧥t;恁îړȀaeiu᧰᧻ᨁᨅǰ᧵\0᧸s;橍on;䄍dil耻ç䃧rc;䄉psĀ;sᨌᨍ橌m;橐ot;䄋ƀdmnᨛᨠᨦil肻¸ƭptyv;榲t脀¢;eᨭᨮ䂢räƲr;쀀𝔠ƀceiᨽᩀᩍy;䑇ckĀ;mᩇᩈ朓ark»ᩈ;䏇r;Ecefms᩠ᩢᩫ᪤᪪旋;槃ƀ;elᩩᩪᩭ䋆q;扗eɡᩴ\0\0᪈rrowĀlr᩼᪁eft;憺ight;憻ʀRSacd᪒᪔᪖»ཇ;擈st;抛irc;抚ash;抝nint;樐id;櫯cir;槂ubsĀ;u᪻᪼晣it»᪼ˬ᫇\0ᬊonĀ;eᫍᫎ䀺Ā;qÇÆɭ\0\0aĀ;t䀬;䁀ƀ;fl戁îᅠeĀmxent»eóɍǧ\0ᬇĀ;dኻᬂot;橭nôɆƀfryᬐᬔᬗ;쀀𝕔oäɔ脀©;sŕᬝr;愗Āaoᬥᬩrr;憵ss;朗Ācuᬲᬷr;쀀𝒸Ābpᬼ᭄Ā;eᭁᭂ櫏;櫑Ā;eᭉᭊ櫐;櫒dot;拯delprvw᭠᭬᭷ᮂᮬᯔarrĀlr᭨᭪;椸;椵ɰ᭲\0\0᭵r;拞c;拟arrĀ;pᮀ憶;椽̀;bcdosᮏᮐᮖᮡᮥᮨ截rcap;橈Āauᮛᮞp;橆p;橊ot;抍r;橅;쀀∪︀Ȁalrv᮵ᮿᯞᯣrrĀ;mᮼᮽ憷;椼yƀevwᯇᯔᯘqɰᯎ\0\0ᯒreã᭳uã᭵ee;拎edge;拏en耻¤䂤earrowĀlrᯮ᯳eft»ᮀight»ᮽeäᯝĀciᰁᰇoninôǷnt;戱lcty;挭ঀAHabcdefhijlorstuwz᰻᰿ᱝᱩᱵᲞᲬᲷᴍᵻᶑᶫᶻ᷆᷍ròar;楥Ȁglrs᱈ᱍ᱒᱔ger;怠eth;愸òᄳhĀ;vᱚᱛ怐»ऊūᱡᱧarow;椏aã̕Āayᱮᱳron;䄏;䐴ƀ;ao̲ᱼᲄĀgrʿᲁr;懊tseq;橷ƀglmᲑᲔᲘ耻°䂰ta;䎴ptyv;榱ĀirᲣᲨsht;楿;쀀𝔡arĀlrᲳᲵ»ࣜ»သʀaegsv᳂᳖᳜᳠mƀ;oș᳔ndĀ;ș᳑uit;晦amma;䏝in;拲ƀ;io᳧᳨᳸䃷de脀÷;o᳧ᳰntimes;拇nø᳷cy;䑒cɯᴆ\0\0ᴊrn;挞op;挍ʀlptuwᴘᴝᴢᵉᵕlar;䀤f;쀀𝕕ʀ;emps̋ᴭᴷᴽᵂqĀ;d͒ᴳot;扑inus;戸lus;戔quare;抡blebarwedgåúnƀadhᄮᵝᵧownarrowóᲃarpoonĀlrᵲᵶefôᲴighôᲶŢᵿᶅkaro÷གɯᶊ\0\0ᶎrn;挟op;挌ƀcotᶘᶣᶦĀryᶝᶡ;쀀𝒹;䑕l;槶rok;䄑Ādrᶰᶴot;拱iĀ;fᶺ᠖斿Āah᷀᷃ròЩaòྦangle;榦Āci᷒ᷕy;䑟grarr;柿ऀDacdefglmnopqrstuxḁḉḙḸոḼṉṡṾấắẽỡἪἷὄĀDoḆᴴoôĀcsḎḔute耻é䃩ter;橮ȀaioyḢḧḱḶron;䄛rĀ;cḭḮ扖耻ê䃪lon;払;䑍ot;䄗ĀDrṁṅot;扒;쀀𝔢ƀ;rsṐṑṗ檚ave耻è䃨Ā;dṜṝ檖ot;檘Ȁ;ilsṪṫṲṴ檙nters;揧;愓Ā;dṹṺ檕ot;檗ƀapsẅẉẗcr;䄓tyƀ;svẒẓẕ戅et»ẓpĀ1;ẝẤijạả;怄;怅怃ĀgsẪẬ;䅋p;怂ĀgpẴẸon;䄙f;쀀𝕖ƀalsỄỎỒrĀ;sỊị拕l;槣us;橱iƀ;lvỚớở䎵on»ớ;䏵ȀcsuvỪỳἋἣĀioữḱrc»Ḯɩỹ\0\0ỻíՈantĀglἂἆtr»ṝess»ṺƀaeiἒἚls;䀽st;扟vĀ;DȵἠD;橸parsl;槥ĀDaἯἳot;打rr;楱ƀcdiἾὁỸr;愯oô͒ĀahὉὋ;䎷耻ð䃰Āmrὓὗl耻ë䃫o;悬ƀcipὡὤὧl;䀡sôծĀeoὬὴctatioîՙnentialåչৡᾒ\0ᾞ\0ᾡᾧ\0\0ῆῌ\0ΐ\0ῦῪ \0 ⁚llingdotseñṄy;䑄male;晀ƀilrᾭᾳ῁lig;耀ffiɩᾹ\0\0᾽g;耀ffig;耀ffl;쀀𝔣lig;耀filig;쀀fjƀaltῙῡt;晭ig;耀flns;斱of;䆒ǰ΅\0ῳf;쀀𝕗ĀakֿῷĀ;vῼ´拔;櫙artint;樍Āao⁕Ācs‑⁒ႉ‸⁅⁈\0⁐β•‥‧\0耻½䂽;慓耻¼䂼;慕;慙;慛Ƴ‴\0‶;慔;慖ʴ‾⁁\0\0⁃耻¾䂾;慗;慜5;慘ƶ⁌\0⁎;慚;慝8;慞l;恄wn;挢cr;쀀𝒻ࢀEabcdefgijlnorstv₂₉₥₰₴⃰℃ℒℸ̗ℾ⅒↞Ā;lٍ₇;檌ƀcmpₐₕute;䇵maĀ;dₜ᳚䎳;檆reve;䄟Āiy₪₮rc;䄝;䐳ot;䄡Ȁ;lqsؾق₽ƀ;qsؾٌlanô٥Ȁ;cdl٥⃒⃥⃕c;檩otĀ;o⃜⃝檀Ā;l⃢⃣檂;檄Ā;e⃪⃭쀀⋛︀s;檔r;쀀𝔤Ā;gٳ؛mel;愷cy;䑓Ȁ;Eajٚℌℎℐ;檒;檥;檤ȀEaesℛℝ℩ℴ;扩pĀ;p℣ℤ檊rox»ℤĀ;q℮ℯ檈Ā;q℮ℛim;拧pf;쀀𝕘Āci⅃ⅆr;愊mƀ;el٫ⅎ⅐;檎;檐茀>;cdlqrⅠⅪⅮⅳⅹĀciⅥⅧ;檧r;橺ot;拗Par;榕uest;橼ʀadelsↄⅪ←ٖ↛ǰ↉\0proør;楸qĀlqؿ↖lesó₈ií٫Āen↣↭rtneqq;쀀≩︀Å↪ԀAabcefkosy⇄⇇⇱⇵⇺∘∝∯≨≽ròΠȀilmr⇐⇔⇗⇛rsðᒄf»․ilôکĀdr⇠⇤cy;䑊ƀ;cwࣴ⇫⇯ir;楈;憭ar;意irc;䄥ƀalr∁∎∓rtsĀ;u∉∊晥it»∊lip;怦con;抹r;쀀𝔥sĀew∣∩arow;椥arow;椦ʀamopr∺∾≃≞≣rr;懿tht;戻kĀlr≉≓eftarrow;憩ightarrow;憪f;쀀𝕙bar;怕ƀclt≯≴≸r;쀀𝒽asè⇴rok;䄧Ābp⊂⊇ull;恃hen»ᱛૡ⊣\0⊪\0⊸⋅⋎\0⋕⋳\0\0⋸⌢⍧⍢⍿\0⎆⎪⎴cute耻í䃭ƀ;iyݱ⊰⊵rc耻î䃮;䐸Ācx⊼⊿y;䐵cl耻¡䂡ĀfrΟ⋉;쀀𝔦rave耻ì䃬Ȁ;inoܾ⋝⋩⋮Āin⋢⋦nt;樌t;戭fin;槜ta;愩lig;䄳ƀaop⋾⌚⌝ƀcgt⌅⌈⌗r;䄫ƀelpܟ⌏⌓inåގarôܠh;䄱f;抷ed;䆵ʀ;cfotӴ⌬⌱⌽⍁are;愅inĀ;t⌸⌹戞ie;槝doô⌙ʀ;celpݗ⍌⍐⍛⍡al;抺Āgr⍕⍙eróᕣã⍍arhk;樗rod;樼Ȁcgpt⍯⍲⍶⍻y;䑑on;䄯f;쀀𝕚a;䎹uest耻¿䂿Āci⎊⎏r;쀀𝒾nʀ;EdsvӴ⎛⎝⎡ӳ;拹ot;拵Ā;v⎦⎧拴;拳Ā;iݷ⎮lde;䄩ǫ⎸\0⎼cy;䑖l耻ï䃯̀cfmosu⏌⏗⏜⏡⏧⏵Āiy⏑⏕rc;䄵;䐹r;쀀𝔧ath;䈷pf;쀀𝕛ǣ⏬\0⏱r;쀀𝒿rcy;䑘kcy;䑔Ѐacfghjos␋␖␢ppaĀ;v␓␔䎺;䏰Āey␛␠dil;䄷;䐺r;쀀𝔨reen;䄸cy;䑅cy;䑜pf;쀀𝕜cr;쀀𝓀ABEHabcdefghjlmnoprstuv⑰⒁⒆⒍⒑┎┽╚▀♎♞♥♹♽⚚⚲⛘❝❨➋⟀⠁⠒ƀart⑷⑺⑼ròòΕail;椛arr;椎Ā;gঔ⒋;檋ar;楢ॣ⒥\0⒪\0⒱\0\0\0\0\0⒵Ⓔ\0ⓆⓈⓍ\0⓹ute;䄺mptyv;榴raîࡌbda;䎻gƀ;dlࢎⓁⓃ;榑åࢎ;檅uo耻«䂫rЀ;bfhlpst࢙ⓞⓦⓩ⓫⓮⓱⓵Ā;f࢝ⓣs;椟s;椝ë≒p;憫l;椹im;楳l;憢ƀ;ae⓿─┄檫il;椙Ā;s┉┊檭;쀀⪭︀ƀabr┕┙┝rr;椌rk;杲Āak┢┬cĀek┨┪;䁻;䁛Āes┱┳;榋lĀdu┹┻;榏;榍Ȁaeuy╆╋╖╘ron;䄾Ādi═╔il;䄼ìࢰâ┩;䐻Ȁcqrs╣╦╭╽a;椶uoĀ;rนᝆĀdu╲╷har;楧shar;楋h;憲ʀ;fgqs▋▌উ◳◿扤tʀahlrt▘▤▷◂◨rrowĀ;t࢙□aé⓶arpoonĀdu▯▴own»њp»०eftarrows;懇ightƀahs◍◖◞rrowĀ;sࣴࢧarpoonóquigarro÷⇰hreetimes;拋ƀ;qs▋ও◺lanôবʀ;cdgsব☊☍☝☨c;檨otĀ;o☔☕橿Ā;r☚☛檁;檃Ā;e☢☥쀀⋚︀s;檓ʀadegs☳☹☽♉♋pproøⓆot;拖qĀgq♃♅ôউgtò⒌ôছiíলƀilr♕࣡♚sht;楼;쀀𝔩Ā;Eজ♣;檑š♩♶rĀdu▲♮Ā;l॥♳;楪lk;斄cy;䑙ʀ;achtੈ⚈⚋⚑⚖rò◁orneòᴈard;楫ri;旺Āio⚟⚤dot;䅀ustĀ;a⚬⚭掰che»⚭ȀEaes⚻⚽⛉⛔;扨pĀ;p⛃⛄檉rox»⛄Ā;q⛎⛏檇Ā;q⛎⚻im;拦Ѐabnoptwz⛩⛴⛷✚✯❁❇❐Ānr⛮⛱g;柬r;懽rëࣁgƀlmr⛿✍✔eftĀar০✇ightá৲apsto;柼ightá৽parrowĀlr✥✩efô⓭ight;憬ƀafl✶✹✽r;榅;쀀𝕝us;樭imes;樴š❋❏st;戗áፎƀ;ef❗❘᠀旊nge»❘arĀ;l❤❥䀨t;榓ʀachmt❳❶❼➅➇ròࢨorneòᶌarĀ;d➃;業;怎ri;抿̀achiqt➘➝ੀ➢➮➻quo;怹r;쀀𝓁mƀ;egল➪➬;檍;檏Ābu┪➳oĀ;rฟ➹;怚rok;䅂萀<;cdhilqrࠫ⟒☹⟜⟠⟥⟪⟰Āci⟗⟙;檦r;橹reå◲mes;拉arr;楶uest;橻ĀPi⟵⟹ar;榖ƀ;ef⠀भ旃rĀdu⠇⠍shar;楊har;楦Āen⠗⠡rtneqq;쀀≨︀Å⠞܀Dacdefhilnopsu⡀⡅⢂⢎⢓⢠⢥⢨⣚⣢⣤ઃ⣳⤂Dot;戺Ȁclpr⡎⡒⡣⡽r耻¯䂯Āet⡗⡙;時Ā;e⡞⡟朠se»⡟Ā;sျ⡨toȀ;dluျ⡳⡷⡻owîҌefôएðᏑker;斮Āoy⢇⢌mma;権;䐼ash;怔asuredangle»ᘦr;쀀𝔪o;愧ƀcdn⢯⢴⣉ro耻µ䂵Ȁ;acdᑤ⢽⣀⣄sôᚧir;櫰ot肻·Ƶusƀ;bd⣒ᤃ⣓戒Ā;uᴼ⣘;横ţ⣞⣡p;櫛ò−ðઁĀdp⣩⣮els;抧f;쀀𝕞Āct⣸⣽r;쀀𝓂pos»ᖝƀ;lm⤉⤊⤍䎼timap;抸ఀGLRVabcdefghijlmoprstuvw⥂⥓⥾⦉⦘⧚⧩⨕⨚⩘⩝⪃⪕⪤⪨⬄⬇⭄⭿⮮ⰴⱧⱼ⳩Āgt⥇⥋;쀀⋙̸Ā;v⥐쀀≫⃒ƀelt⥚⥲⥶ftĀar⥡⥧rrow;懍ightarrow;懎;쀀⋘̸Ā;v⥻ే쀀≪⃒ightarrow;懏ĀDd⦎⦓ash;抯ash;抮ʀbcnpt⦣⦧⦬⦱⧌la»˞ute;䅄g;쀀∠⃒ʀ;Eiop⦼⧀⧅⧈;쀀⩰̸d;쀀≋̸s;䅉roøurĀ;a⧓⧔普lĀ;s⧓ସdz⧟\0⧣p肻\xA0ଷmpĀ;e௹ఀʀaeouy⧴⧾⨃⨐⨓ǰ⧹\0⧻;橃on;䅈dil;䅆ngĀ;dൾ⨊ot;쀀⩭̸p;橂;䐽ash;怓;Aadqsxஒ⨩⨭⨻⩁⩅⩐rr;懗rĀhr⨳⨶k;椤Ā;oᏲᏰot;쀀≐̸uiöୣĀei⩊⩎ar;椨íistĀ;sடr;쀀𝔫ȀEest⩦⩹⩼ƀ;qs⩭ƀ;qs⩴lanôií௪Ā;rஶ⪁»ஷƀAap⪊⪍⪑rò⥱rr;憮ar;櫲ƀ;svྍ⪜ྌĀ;d⪡⪢拼;拺cy;䑚AEadest⪷⪺⪾⫂⫅⫶⫹rò⥦;쀀≦̸rr;憚r;急Ȁ;fqs⫎⫣⫯tĀar⫔⫙rro÷⫁ightarro÷⪐ƀ;qs⪺⫪lanôౕĀ;sౕ⫴»శiíౝĀ;rవ⫾iĀ;eచథiäඐĀpt⬌⬑f;쀀𝕟膀¬;in⬙⬚⬶䂬nȀ;Edvஉ⬤⬨⬮;쀀⋹̸ot;쀀⋵̸ǡஉ⬳⬵;拷;拶iĀ;vಸ⬼ǡಸ⭁⭃;拾;拽ƀaor⭋⭣⭩rȀ;ast⭕⭚⭟lleìl;쀀⫽⃥;쀀∂̸lint;樔ƀ;ceಒ⭰⭳uåಥĀ;cಘ⭸Ā;eಒ⭽ñಘȀAait⮈⮋⮝⮧rò⦈rrƀ;cw⮔⮕⮙憛;쀀⤳̸;쀀↝̸ghtarrow»⮕riĀ;eೋೖchimpqu⮽⯍⯙⬄⯤⯯Ȁ;cerല⯆ഷ⯉uå;쀀𝓃ortɭ⬅\0\0⯖ará⭖mĀ;e൮⯟Ā;q൴൳suĀbp⯫⯭ååഋƀbcp⯶ⰑⰙȀ;Ees⯿ⰀഢⰄ抄;쀀⫅̸etĀ;eഛⰋqĀ;qണⰀcĀ;eലⰗñസȀ;EesⰢⰣൟⰧ抅;쀀⫆̸etĀ;e൘ⰮqĀ;qൠⰣȀgilrⰽⰿⱅⱇìௗlde耻ñ䃱çృiangleĀlrⱒⱜeftĀ;eచⱚñదightĀ;eೋⱥñĀ;mⱬⱭ䎽ƀ;esⱴⱵⱹ䀣ro;愖p;怇ҀDHadgilrsⲏⲔⲙⲞⲣⲰⲶⳓⳣash;抭arr;椄p;쀀≍⃒ash;抬ĀetⲨⲬ;쀀≥⃒;쀀>⃒nfin;槞ƀAetⲽⳁⳅrr;椂;쀀≤⃒Ā;rⳊⳍ쀀<⃒ie;쀀⊴⃒ĀAtⳘⳜrr;椃rie;쀀⊵⃒im;쀀∼⃒ƀAan⳰ⴂrr;懖rĀhr⳺⳽k;椣Ā;oᏧᏥear;椧ቓ᪕\0\0\0\0\0\0\0\0\0\0\0\0\0ⴭ\0ⴸⵈⵠⵥⶄᬇ\0\0ⶍⶫ\0ⷈⷎ\0ⷜ⸙⸫⸾⹃Ācsⴱ᪗ute耻ó䃳ĀiyⴼⵅrĀ;cⵂ耻ô䃴;䐾ʀabios᪠ⵒⵗLjⵚlac;䅑v;樸old;榼lig;䅓Ācrir;榿;쀀𝔬ͯ\0\0\0ⶂn;䋛ave耻ò䃲;槁Ābmⶈ෴ar;榵Ȁacitⶕⶥⶨrò᪀Āirⶠr;榾oss;榻nå๒;槀ƀaeiⶱⶵⶹcr;䅍ga;䏉ƀcdnⷀⷅǍron;䎿;榶pf;쀀𝕠ƀaelⷔǒr;榷rp;榹;adiosvⷪⷫⷮ⸈⸍⸐⸖戨rò᪆Ȁ;efmⷷⷸ⸂⸅橝rĀ;oⷾⷿ愴f»ⷿ耻ª䂪耻º䂺gof;抶r;橖lope;橗;橛ƀclo⸟⸡⸧ò⸁ash耻ø䃸l;折iŬⸯ⸴de耻õ䃵esĀ;aǛ⸺s;樶ml耻ö䃶bar;挽ૡ\0\0⺀⺝\0⺢⺹\0\0⻋ຜ\0⼓\0\0⼫⾼\0⿈rȀ;astЃ脀¶;l䂶leìЃɩ\0\0m;櫳;櫽y;䐿rʀcimpt⺋⺏⺓ᡥ⺗nt;䀥od;䀮il;怰enk;怱r;쀀𝔭ƀimo⺨⺰⺴Ā;v⺭⺮䏆;䏕maô੶ne;明ƀ;tv⺿⻀⻈䏀chfork»´;䏖Āau⻏⻟nĀck⻕⻝kĀ;h⇴⻛;愎ö⇴sҀ;abcdemst⻳ᤈ⼄⼆⼊⼎䀫cir;樣ir;樢Āouᵀ⼂;樥;橲n肻±ຝim;樦wo;樧ƀipu⼙⼠⼥ntint;樕f;쀀𝕡nd耻£䂣Ԁ;Eaceinosu່⼿⽁⽄⽇⾁⾉⾒⽾⾶;檳p;檷uå໙Ā;c໎⽌̀;acens່⽙⽟⽦⽨⽾pproø⽃urlyeñ໙ñ໎ƀaes⽯⽶⽺pprox;檹qq;檵im;拨iíໟmeĀ;s⾈ຮ怲ƀEas⽸⾐⽺ð⽵ƀdfp⾙⾯ƀals⾠⾥⾪lar;挮ine;挒urf;挓Ā;t⾴ïrel;抰Āci⿀⿅r;쀀𝓅;䏈ncsp;怈̀fiopsu⋢⿱r;쀀𝔮pf;쀀𝕢rime;恗cr;쀀𝓆ƀaeo⿸〉〓tĀei々rnionóڰnt;樖stĀ;e【】䀿ñἙô༔ABHabcdefhilmnoprstuxけさすムㄎㄫㅇㅢㅲㆎ㈆㈕㈤㈩㉘㉮㉲㊐㊰㊷ƀartぇおがròႳòϝail;検aròᱥar;楤cdenqrtとふへみわゔヌĀeuねぱ;쀀∽̱te;䅕iãᅮmptyv;榳gȀ;del࿑らるろ;榒;榥å࿑uo耻»䂻rր;abcfhlpstwガクシスゼゾダッデナp;極Ā;fゴs;椠;椳s;椞ë≝ð✮l;楅im;楴l;憣;憝Āaiパフil;椚oĀ;nホボ戶aló༞ƀabrョリヮrò៥rk;杳ĀakンヽcĀekヹ・;䁽;䁝Āes;榌lĀduㄊㄌ;榎;榐Ȁaeuyㄗㄜㄧㄩron;䅙Ādiㄡㄥil;䅗ìâヺ;䑀Ȁclqsㄴㄷㄽㅄa;椷dhar;楩uoĀ;rȎȍh;憳ƀacgㅎㅟངlȀ;ipsླྀㅘㅛႜnåႻarôྩt;断ƀilrㅩဣㅮsht;楽;쀀𝔯ĀaoㅷㆆrĀduㅽㅿ»ѻĀ;l႑ㆄ;楬Ā;vㆋㆌ䏁;䏱ƀgns㆕ㇹㇼht̀ahlrstㆤㆰ㇂㇘rrowĀ;tㆭaéトarpoonĀduㆻㆿowîㅾp»႒eftĀah㇊㇐rrowóarpoonóՑightarrows;應quigarro÷ニhreetimes;拌g;䋚ingdotseñἲƀahm㈍㈐㈓ròaòՑ;怏oustĀ;a㈞掱che»mid;櫮Ȁabpt㈲㈽㉀㉒Ānr㈷㈺g;柭r;懾rëဃƀafl㉇㉊㉎r;榆;쀀𝕣us;樮imes;樵Āap㉝㉧rĀ;g㉣㉤䀩t;榔olint;樒arò㇣Ȁachq㉻㊀Ⴜ㊅quo;怺r;쀀𝓇Ābu・㊊oĀ;rȔȓƀhir㊗㊛㊠reåㇸmes;拊iȀ;efl㊪ၙᠡ㊫方tri;槎luhar;楨;愞ൡ㋕㋛㋟㌬㌸㍱\0㍺㎤\0\0㏬㏰\0㐨㑈㑚㒭㒱㓊㓱\0㘖\0\0㘳cute;䅛quï➺Ԁ;Eaceinpsyᇭ㋳㋵㋿㌂㌋㌏㌟㌦㌩;檴ǰ㋺\0㋼;檸on;䅡uåᇾĀ;dᇳ㌇il;䅟rc;䅝ƀEas㌖㌘㌛;檶p;檺im;择olint;樓iíሄ;䑁otƀ;be㌴ᵇ㌵担;橦Aacmstx㍆㍊㍗㍛㍞㍣㍭rr;懘rĀhr㍐㍒ë∨Ā;oਸ਼t耻§䂧i;䀻war;椩mĀin㍩ðnuóñt;朶rĀ;o㍶⁕쀀𝔰Ȁacoy㎂㎆㎑㎠rp;景Āhy㎋㎏cy;䑉;䑈rtɭ㎙\0\0㎜iäᑤaraì耻䂭Āgm㎨㎴maƀ;fv㎱㎲㎲䏃;䏂Ѐ;deglnprካ㏅㏉㏎㏖㏞㏡㏦ot;橪Ā;qኰĀ;E㏓㏔檞;檠Ā;E㏛㏜檝;檟e;扆lus;樤arr;楲aròᄽȀaeit㏸㐈㐏㐗Āls㏽㐄lsetmé㍪hp;樳parsl;槤Ādlᑣ㐔e;挣Ā;e㐜㐝檪Ā;s㐢㐣檬;쀀⪬︀ƀflp㐮㐳㑂tcy;䑌Ā;b㐸㐹䀯Ā;a㐾㐿槄r;挿f;쀀𝕤aĀdr㑍ЂesĀ;u㑔㑕晠it»㑕ƀcsu㑠㑹㒟Āau㑥㑯pĀ;sᆈ㑫;쀀⊓︀pĀ;sᆴ㑵;쀀⊔︀uĀbp㑿㒏ƀ;esᆗᆜ㒆etĀ;eᆗ㒍ñᆝƀ;esᆨᆭ㒖etĀ;eᆨ㒝ñᆮƀ;afᅻ㒦ְrť㒫ֱ»ᅼaròᅈȀcemt㒹㒾㓂㓅r;쀀𝓈tmîñiì㐕aræᆾĀar㓎㓕rĀ;f㓔ឿ昆Āan㓚㓭ightĀep㓣㓪psiloîỠhé⺯s»⡒ʀbcmnp㓻㕞ሉ㖋㖎Ҁ;Edemnprs㔎㔏㔑㔕㔞㔣㔬㔱㔶抂;櫅ot;檽Ā;dᇚ㔚ot;櫃ult;櫁ĀEe㔨㔪;櫋;把lus;檿arr;楹ƀeiu㔽㕒㕕tƀ;en㔎㕅㕋qĀ;qᇚ㔏eqĀ;q㔫㔨m;櫇Ābp㕚㕜;櫕;櫓c̀;acensᇭ㕬㕲㕹㕻㌦pproø㋺urlyeñᇾñᇳƀaes㖂㖈㌛pproø㌚qñ㌗g;晪ڀ123;Edehlmnps㖩㖬㖯ሜ㖲㖴㗀㗉㗕㗚㗟㗨㗭耻¹䂹耻²䂲耻³䂳;櫆Āos㖹㖼t;檾ub;櫘Ā;dሢ㗅ot;櫄sĀou㗏㗒l;柉b;櫗arr;楻ult;櫂ĀEe㗤㗦;櫌;抋lus;櫀ƀeiu㗴㘉㘌tƀ;enሜ㗼㘂qĀ;qሢ㖲eqĀ;q㗧㗤m;櫈Ābp㘑㘓;櫔;櫖ƀAan㘜㘠㘭rr;懙rĀhr㘦㘨ë∮Ā;oਫwar;椪lig耻ß䃟㙑㙝㙠ዎ㙳㙹\0㙾㛂\0\0\0\0\0㛛㜃\0㜉㝬\0\0\0㞇ɲ㙖\0\0㙛get;挖;䏄rëƀaey㙦㙫㙰ron;䅥dil;䅣;䑂lrec;挕r;쀀𝔱Ȁeiko㚆㚝㚵㚼Dz㚋\0㚑eĀ4fኄኁaƀ;sv㚘㚙㚛䎸ym;䏑Ācn㚢㚲kĀas㚨㚮pproøim»ኬsðኞĀas㚺㚮ðrn耻þ䃾Ǭ̟㛆⋧es膀×;bd㛏㛐㛘䃗Ā;aᤏ㛕r;樱;樰ƀeps㛡㛣㜀á⩍Ȁ;bcf҆㛬㛰㛴ot;挶ir;櫱Ā;o㛹㛼쀀𝕥rk;櫚á㍢rime;怴ƀaip㜏㜒㝤dåቈadempst㜡㝍㝀㝑㝗㝜㝟ngleʀ;dlqr㜰㜱㜶㝀㝂斵own»ᶻeftĀ;e⠀㜾ñम;扜ightĀ;e㊪㝋ñၚot;旬inus;樺lus;樹b;槍ime;樻ezium;揢ƀcht㝲㝽㞁Āry㝷㝻;쀀𝓉;䑆cy;䑛rok;䅧Āio㞋㞎xôheadĀlr㞗㞠eftarro÷ࡏightarrow»ཝऀAHabcdfghlmoprstuw㟐㟓㟗㟤㟰㟼㠎㠜㠣㠴㡑㡝㡫㢩㣌㣒㣪㣶ròϭar;楣Ācr㟜㟢ute耻ú䃺òᅐrǣ㟪\0㟭y;䑞ve;䅭Āiy㟵㟺rc耻û䃻;䑃ƀabh㠃㠆㠋ròᎭlac;䅱aòᏃĀir㠓㠘sht;楾;쀀𝔲rave耻ù䃹š㠧㠱rĀlr㠬㠮»ॗ»ႃlk;斀Āct㠹㡍ɯ㠿\0\0㡊rnĀ;e㡅㡆挜r»㡆op;挏ri;旸Āal㡖㡚cr;䅫肻¨͉Āgp㡢㡦on;䅳f;쀀𝕦̀adhlsuᅋ㡸㡽፲㢑㢠ownáᎳarpoonĀlr㢈㢌efô㠭ighô㠯iƀ;hl㢙㢚㢜䏅»ᏺon»㢚parrows;懈ƀcit㢰㣄㣈ɯ㢶\0\0㣁rnĀ;e㢼㢽挝r»㢽op;挎ng;䅯ri;旹cr;쀀𝓊ƀdir㣙㣝㣢ot;拰lde;䅩iĀ;f㜰㣨»᠓Āam㣯㣲rò㢨l耻ü䃼angle;榧ހABDacdeflnoprsz㤜㤟㤩㤭㦵㦸㦽㧟㧤㧨㧳㧹㧽㨁㨠ròϷarĀ;v㤦㤧櫨;櫩asèϡĀnr㤲㤷grt;榜eknprst㓣㥆㥋㥒㥝㥤㦖appá␕othinçẖƀhir㓫⻈㥙opô⾵Ā;hᎷ㥢ïㆍĀiu㥩㥭gmá㎳Ābp㥲㦄setneqĀ;q㥽㦀쀀⊊︀;쀀⫋︀setneqĀ;q㦏㦒쀀⊋︀;쀀⫌︀Āhr㦛㦟etá㚜iangleĀlr㦪㦯eft»थight»ၑy;䐲ash»ံƀelr㧄㧒㧗ƀ;beⷪ㧋㧏ar;抻q;扚lip;拮Ābt㧜ᑨaòᑩr;쀀𝔳tré㦮suĀbp㧯㧱»ജ»൙pf;쀀𝕧roðtré㦴Ācu㨆㨋r;쀀𝓋Ābp㨐㨘nĀEe㦀㨖»㥾nĀEe㦒㨞»㦐igzag;榚cefoprs㨶㨻㩖㩛㩔㩡㩪irc;䅵Ādi㩀㩑Ābg㩅㩉ar;機eĀ;qᗺ㩏;扙erp;愘r;쀀𝔴pf;쀀𝕨Ā;eᑹ㩦atèᑹcr;쀀𝓌ૣណ㪇\0㪋\0㪐㪛\0\0㪝㪨㪫㪯\0\0㫃㫎\0㫘ៜtré៑r;쀀𝔵ĀAa㪔㪗ròσrò৶;䎾ĀAa㪡㪤ròθrò৫að✓is;拻ƀdptឤ㪵㪾Āfl㪺ឩ;쀀𝕩imåឲĀAa㫇㫊ròώròਁĀcq㫒ីr;쀀𝓍Āpt៖㫜ré។Ѐacefiosu㫰㫽㬈㬌㬑㬕㬛㬡cĀuy㫶㫻te耻ý䃽;䑏Āiy㬂㬆rc;䅷;䑋n耻¥䂥r;쀀𝔶cy;䑗pf;쀀𝕪cr;쀀𝓎Ācm㬦㬩y;䑎l耻ÿ䃿Ԁacdefhiosw㭂㭈㭔㭘㭤㭩㭭㭴㭺㮀cute;䅺Āay㭍㭒ron;䅾;䐷ot;䅼Āet㭝㭡træᕟa;䎶r;쀀𝔷cy;䐶grarr;懝pf;쀀𝕫cr;쀀𝓏Ājn㮅㮇;怍j;怌`.split(``).map(function(e){return e.charCodeAt(0)}))})),Ym=c((e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=new Uint16Array(`Ȁaglq \x1Bɭ\0\0p;䀦os;䀧t;䀾t;䀼uot;䀢`.split(``).map(function(e){return e.charCodeAt(0)}))})),Xm=c((e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.replaceCodePoint=e.fromCodePoint=void 0;var t=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]]);e.fromCodePoint=String.fromCodePoint??function(e){var t=``;return e>65535&&(e-=65536,t+=String.fromCharCode(e>>>10&1023|55296),e=56320|e&1023),t+=String.fromCharCode(e),t};function n(e){return e>=55296&&e<=57343||e>1114111?65533:t.get(e)??e}e.replaceCodePoint=n;function r(t){return(0,e.fromCodePoint)(n(t))}e.default=r})),Zm=c((e=>{var t=e&&e.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(e,"__esModule",{value:!0}),e.decodeXML=e.decodeHTMLStrict=e.decodeHTML=e.determineBranch=e.BinTrieFlags=e.fromCodePoint=e.replaceCodePoint=e.decodeCodePoint=e.xmlDecodeTree=e.htmlDecodeTree=void 0;var n=t(Jm());e.htmlDecodeTree=n.default;var r=t(Ym());e.xmlDecodeTree=r.default;var i=t(Xm());e.decodeCodePoint=i.default;var a=Xm();Object.defineProperty(e,"replaceCodePoint",{enumerable:!0,get:function(){return a.replaceCodePoint}}),Object.defineProperty(e,"fromCodePoint",{enumerable:!0,get:function(){return a.fromCodePoint}});var o;(function(e){e[e.NUM=35]=`NUM`,e[e.SEMI=59]=`SEMI`,e[e.ZERO=48]=`ZERO`,e[e.NINE=57]=`NINE`,e[e.LOWER_A=97]=`LOWER_A`,e[e.LOWER_F=102]=`LOWER_F`,e[e.LOWER_X=120]=`LOWER_X`,e[e.To_LOWER_BIT=32]=`To_LOWER_BIT`})(o||={});var s;(function(e){e[e.VALUE_LENGTH=49152]=`VALUE_LENGTH`,e[e.BRANCH_LENGTH=16256]=`BRANCH_LENGTH`,e[e.JUMP_TABLE=127]=`JUMP_TABLE`})(s=e.BinTrieFlags||={});function c(e){return function(t,n){for(var r=``,a=0,c=0;(c=t.indexOf(`&`,c))>=0;){if(r+=t.slice(a,c),a=c,c+=1,t.charCodeAt(c)===o.NUM){var u=c+1,d=10,f=t.charCodeAt(u);(f|o.To_LOWER_BIT)===o.LOWER_X&&(d=16,c+=1,u+=1);do f=t.charCodeAt(++c);while(f>=o.ZERO&&f<=o.NINE||d===16&&(f|o.To_LOWER_BIT)>=o.LOWER_A&&(f|o.To_LOWER_BIT)<=o.LOWER_F);if(u!==c){var p=t.substring(u,c),m=parseInt(p,d);if(t.charCodeAt(c)===o.SEMI)c+=1;else if(n)continue;r+=(0,i.default)(m),a=c}continue}for(var h=0,g=1,_=0,v=e[_];c<t.length&&(_=l(e,v,_+1,t.charCodeAt(c)),!(_<0));c++,g++){v=e[_];var y=v&s.VALUE_LENGTH;if(y){(!n||t.charCodeAt(c)===o.SEMI)&&(h=_,g=0);var b=(y>>14)-1;if(b===0)break;_+=b}}if(h!==0){var b=(e[h]&s.VALUE_LENGTH)>>14;r+=b===1?String.fromCharCode(e[h]&~s.VALUE_LENGTH):b===2?String.fromCharCode(e[h+1]):String.fromCharCode(e[h+1],e[h+2]),a=c-g+1}}return r+t.slice(a)}}function l(e,t,n,r){var i=(t&s.BRANCH_LENGTH)>>7,a=t&s.JUMP_TABLE;if(i===0)return a!==0&&r===a?n:-1;if(a){var o=r-a;return o<0||o>=i?-1:e[n+o]-1}for(var c=n,l=c+i-1;c<=l;){var u=c+l>>>1,d=e[u];if(d<r)c=u+1;else if(d>r)l=u-1;else return e[u+i]}return-1}e.determineBranch=l;var u=c(n.default),d=c(r.default);function f(e){return u(e,!1)}e.decodeHTML=f;function p(e){return u(e,!0)}e.decodeHTMLStrict=p;function m(e){return d(e,!0)}e.decodeXML=m})),Qm=c((e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.QuoteType=void 0;var t=Zm(),n;(function(e){e[e.Tab=9]=`Tab`,e[e.NewLine=10]=`NewLine`,e[e.FormFeed=12]=`FormFeed`,e[e.CarriageReturn=13]=`CarriageReturn`,e[e.Space=32]=`Space`,e[e.ExclamationMark=33]=`ExclamationMark`,e[e.Num=35]=`Num`,e[e.Amp=38]=`Amp`,e[e.SingleQuote=39]=`SingleQuote`,e[e.DoubleQuote=34]=`DoubleQuote`,e[e.Dash=45]=`Dash`,e[e.Slash=47]=`Slash`,e[e.Zero=48]=`Zero`,e[e.Nine=57]=`Nine`,e[e.Semi=59]=`Semi`,e[e.Lt=60]=`Lt`,e[e.Eq=61]=`Eq`,e[e.Gt=62]=`Gt`,e[e.Questionmark=63]=`Questionmark`,e[e.UpperA=65]=`UpperA`,e[e.LowerA=97]=`LowerA`,e[e.UpperF=70]=`UpperF`,e[e.LowerF=102]=`LowerF`,e[e.UpperZ=90]=`UpperZ`,e[e.LowerZ=122]=`LowerZ`,e[e.LowerX=120]=`LowerX`,e[e.OpeningSquareBracket=91]=`OpeningSquareBracket`})(n||={});var r;(function(e){e[e.Text=1]=`Text`,e[e.BeforeTagName=2]=`BeforeTagName`,e[e.InTagName=3]=`InTagName`,e[e.InSelfClosingTag=4]=`InSelfClosingTag`,e[e.BeforeClosingTagName=5]=`BeforeClosingTagName`,e[e.InClosingTagName=6]=`InClosingTagName`,e[e.AfterClosingTagName=7]=`AfterClosingTagName`,e[e.BeforeAttributeName=8]=`BeforeAttributeName`,e[e.InAttributeName=9]=`InAttributeName`,e[e.AfterAttributeName=10]=`AfterAttributeName`,e[e.BeforeAttributeValue=11]=`BeforeAttributeValue`,e[e.InAttributeValueDq=12]=`InAttributeValueDq`,e[e.InAttributeValueSq=13]=`InAttributeValueSq`,e[e.InAttributeValueNq=14]=`InAttributeValueNq`,e[e.BeforeDeclaration=15]=`BeforeDeclaration`,e[e.InDeclaration=16]=`InDeclaration`,e[e.InProcessingInstruction=17]=`InProcessingInstruction`,e[e.BeforeComment=18]=`BeforeComment`,e[e.CDATASequence=19]=`CDATASequence`,e[e.InSpecialComment=20]=`InSpecialComment`,e[e.InCommentLike=21]=`InCommentLike`,e[e.BeforeSpecialS=22]=`BeforeSpecialS`,e[e.SpecialStartSequence=23]=`SpecialStartSequence`,e[e.InSpecialTag=24]=`InSpecialTag`,e[e.BeforeEntity=25]=`BeforeEntity`,e[e.BeforeNumericEntity=26]=`BeforeNumericEntity`,e[e.InNamedEntity=27]=`InNamedEntity`,e[e.InNumericEntity=28]=`InNumericEntity`,e[e.InHexEntity=29]=`InHexEntity`})(r||={});function i(e){return e===n.Space||e===n.NewLine||e===n.Tab||e===n.FormFeed||e===n.CarriageReturn}function a(e){return e===n.Slash||e===n.Gt||i(e)}function o(e){return e>=n.Zero&&e<=n.Nine}function s(e){return e>=n.LowerA&&e<=n.LowerZ||e>=n.UpperA&&e<=n.UpperZ}function c(e){return e>=n.UpperA&&e<=n.UpperF||e>=n.LowerA&&e<=n.LowerF}var l;(function(e){e[e.NoValue=0]=`NoValue`,e[e.Unquoted=1]=`Unquoted`,e[e.Single=2]=`Single`,e[e.Double=3]=`Double`})(l=e.QuoteType||={});var u={Cdata:new Uint8Array([67,68,65,84,65,91]),CdataEnd:new Uint8Array([93,93,62]),CommentEnd:new Uint8Array([45,45,62]),ScriptEnd:new Uint8Array([60,47,115,99,114,105,112,116]),StyleEnd:new Uint8Array([60,47,115,116,121,108,101]),TitleEnd:new Uint8Array([60,47,116,105,116,108,101])};e.default=function(){function e(e,n){var i=e.xmlMode,a=i===void 0?!1:i,o=e.decodeEntities,s=o===void 0?!0:o;this.cbs=n,this.state=r.Text,this.buffer=``,this.sectionStart=0,this.index=0,this.baseState=r.Text,this.isSpecial=!1,this.running=!0,this.offset=0,this.sequenceIndex=0,this.trieIndex=0,this.trieCurrent=0,this.entityResult=0,this.entityExcess=0,this.xmlMode=a,this.decodeEntities=s,this.entityTrie=a?t.xmlDecodeTree:t.htmlDecodeTree}return e.prototype.reset=function(){this.state=r.Text,this.buffer=``,this.sectionStart=0,this.index=0,this.baseState=r.Text,this.currentSequence=void 0,this.running=!0,this.offset=0},e.prototype.write=function(e){this.offset+=this.buffer.length,this.buffer=e,this.parse()},e.prototype.end=function(){this.running&&this.finish()},e.prototype.pause=function(){this.running=!1},e.prototype.resume=function(){this.running=!0,this.index<this.buffer.length+this.offset&&this.parse()},e.prototype.getIndex=function(){return this.index},e.prototype.getSectionStart=function(){return this.sectionStart},e.prototype.stateText=function(e){e===n.Lt||!this.decodeEntities&&this.fastForwardTo(n.Lt)?(this.index>this.sectionStart&&this.cbs.ontext(this.sectionStart,this.index),this.state=r.BeforeTagName,this.sectionStart=this.index):this.decodeEntities&&e===n.Amp&&(this.state=r.BeforeEntity)},e.prototype.stateSpecialStartSequence=function(e){var t=this.sequenceIndex===this.currentSequence.length;if(!(t?a(e):(e|32)===this.currentSequence[this.sequenceIndex]))this.isSpecial=!1;else if(!t){this.sequenceIndex++;return}this.sequenceIndex=0,this.state=r.InTagName,this.stateInTagName(e)},e.prototype.stateInSpecialTag=function(e){if(this.sequenceIndex===this.currentSequence.length){if(e===n.Gt||i(e)){var t=this.index-this.currentSequence.length;if(this.sectionStart<t){var a=this.index;this.index=t,this.cbs.ontext(this.sectionStart,t),this.index=a}this.isSpecial=!1,this.sectionStart=t+2,this.stateInClosingTagName(e);return}this.sequenceIndex=0}(e|32)===this.currentSequence[this.sequenceIndex]?this.sequenceIndex+=1:this.sequenceIndex===0?this.currentSequence===u.TitleEnd?this.decodeEntities&&e===n.Amp&&(this.state=r.BeforeEntity):this.fastForwardTo(n.Lt)&&(this.sequenceIndex=1):this.sequenceIndex=Number(e===n.Lt)},e.prototype.stateCDATASequence=function(e){e===u.Cdata[this.sequenceIndex]?++this.sequenceIndex===u.Cdata.length&&(this.state=r.InCommentLike,this.currentSequence=u.CdataEnd,this.sequenceIndex=0,this.sectionStart=this.index+1):(this.sequenceIndex=0,this.state=r.InDeclaration,this.stateInDeclaration(e))},e.prototype.fastForwardTo=function(e){for(;++this.index<this.buffer.length+this.offset;)if(this.buffer.charCodeAt(this.index-this.offset)===e)return!0;return this.index=this.buffer.length+this.offset-1,!1},e.prototype.stateInCommentLike=function(e){e===this.currentSequence[this.sequenceIndex]?++this.sequenceIndex===this.currentSequence.length&&(this.currentSequence===u.CdataEnd?this.cbs.oncdata(this.sectionStart,this.index,2):this.cbs.oncomment(this.sectionStart,this.index,2),this.sequenceIndex=0,this.sectionStart=this.index+1,this.state=r.Text):this.sequenceIndex===0?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?!a(e):s(e)},e.prototype.startSpecial=function(e,t){this.isSpecial=!0,this.currentSequence=e,this.sequenceIndex=t,this.state=r.SpecialStartSequence},e.prototype.stateBeforeTagName=function(e){if(e===n.ExclamationMark)this.state=r.BeforeDeclaration,this.sectionStart=this.index+1;else if(e===n.Questionmark)this.state=r.InProcessingInstruction,this.sectionStart=this.index+1;else if(this.isTagStartChar(e)){var t=e|32;this.sectionStart=this.index,!this.xmlMode&&t===u.TitleEnd[2]?this.startSpecial(u.TitleEnd,3):this.state=!this.xmlMode&&t===u.ScriptEnd[2]?r.BeforeSpecialS:r.InTagName}else e===n.Slash?this.state=r.BeforeClosingTagName:(this.state=r.Text,this.stateText(e))},e.prototype.stateInTagName=function(e){a(e)&&(this.cbs.onopentagname(this.sectionStart,this.index),this.sectionStart=-1,this.state=r.BeforeAttributeName,this.stateBeforeAttributeName(e))},e.prototype.stateBeforeClosingTagName=function(e){i(e)||(e===n.Gt?this.state=r.Text:(this.state=this.isTagStartChar(e)?r.InClosingTagName:r.InSpecialComment,this.sectionStart=this.index))},e.prototype.stateInClosingTagName=function(e){(e===n.Gt||i(e))&&(this.cbs.onclosetag(this.sectionStart,this.index),this.sectionStart=-1,this.state=r.AfterClosingTagName,this.stateAfterClosingTagName(e))},e.prototype.stateAfterClosingTagName=function(e){(e===n.Gt||this.fastForwardTo(n.Gt))&&(this.state=r.Text,this.sectionStart=this.index+1)},e.prototype.stateBeforeAttributeName=function(e){e===n.Gt?(this.cbs.onopentagend(this.index),this.isSpecial?(this.state=r.InSpecialTag,this.sequenceIndex=0):this.state=r.Text,this.baseState=this.state,this.sectionStart=this.index+1):e===n.Slash?this.state=r.InSelfClosingTag:i(e)||(this.state=r.InAttributeName,this.sectionStart=this.index)},e.prototype.stateInSelfClosingTag=function(e){e===n.Gt?(this.cbs.onselfclosingtag(this.index),this.state=r.Text,this.baseState=r.Text,this.sectionStart=this.index+1,this.isSpecial=!1):i(e)||(this.state=r.BeforeAttributeName,this.stateBeforeAttributeName(e))},e.prototype.stateInAttributeName=function(e){(e===n.Eq||a(e))&&(this.cbs.onattribname(this.sectionStart,this.index),this.sectionStart=-1,this.state=r.AfterAttributeName,this.stateAfterAttributeName(e))},e.prototype.stateAfterAttributeName=function(e){e===n.Eq?this.state=r.BeforeAttributeValue:e===n.Slash||e===n.Gt?(this.cbs.onattribend(l.NoValue,this.index),this.state=r.BeforeAttributeName,this.stateBeforeAttributeName(e)):i(e)||(this.cbs.onattribend(l.NoValue,this.index),this.state=r.InAttributeName,this.sectionStart=this.index)},e.prototype.stateBeforeAttributeValue=function(e){e===n.DoubleQuote?(this.state=r.InAttributeValueDq,this.sectionStart=this.index+1):e===n.SingleQuote?(this.state=r.InAttributeValueSq,this.sectionStart=this.index+1):i(e)||(this.sectionStart=this.index,this.state=r.InAttributeValueNq,this.stateInAttributeValueNoQuotes(e))},e.prototype.handleInAttributeValue=function(e,t){e===t||!this.decodeEntities&&this.fastForwardTo(t)?(this.cbs.onattribdata(this.sectionStart,this.index),this.sectionStart=-1,this.cbs.onattribend(t===n.DoubleQuote?l.Double:l.Single,this.index),this.state=r.BeforeAttributeName):this.decodeEntities&&e===n.Amp&&(this.baseState=this.state,this.state=r.BeforeEntity)},e.prototype.stateInAttributeValueDoubleQuotes=function(e){this.handleInAttributeValue(e,n.DoubleQuote)},e.prototype.stateInAttributeValueSingleQuotes=function(e){this.handleInAttributeValue(e,n.SingleQuote)},e.prototype.stateInAttributeValueNoQuotes=function(e){i(e)||e===n.Gt?(this.cbs.onattribdata(this.sectionStart,this.index),this.sectionStart=-1,this.cbs.onattribend(l.Unquoted,this.index),this.state=r.BeforeAttributeName,this.stateBeforeAttributeName(e)):this.decodeEntities&&e===n.Amp&&(this.baseState=this.state,this.state=r.BeforeEntity)},e.prototype.stateBeforeDeclaration=function(e){e===n.OpeningSquareBracket?(this.state=r.CDATASequence,this.sequenceIndex=0):this.state=e===n.Dash?r.BeforeComment:r.InDeclaration},e.prototype.stateInDeclaration=function(e){(e===n.Gt||this.fastForwardTo(n.Gt))&&(this.cbs.ondeclaration(this.sectionStart,this.index),this.state=r.Text,this.sectionStart=this.index+1)},e.prototype.stateInProcessingInstruction=function(e){(e===n.Gt||this.fastForwardTo(n.Gt))&&(this.cbs.onprocessinginstruction(this.sectionStart,this.index),this.state=r.Text,this.sectionStart=this.index+1)},e.prototype.stateBeforeComment=function(e){e===n.Dash?(this.state=r.InCommentLike,this.currentSequence=u.CommentEnd,this.sequenceIndex=2,this.sectionStart=this.index+1):this.state=r.InDeclaration},e.prototype.stateInSpecialComment=function(e){(e===n.Gt||this.fastForwardTo(n.Gt))&&(this.cbs.oncomment(this.sectionStart,this.index,0),this.state=r.Text,this.sectionStart=this.index+1)},e.prototype.stateBeforeSpecialS=function(e){var t=e|32;t===u.ScriptEnd[3]?this.startSpecial(u.ScriptEnd,4):t===u.StyleEnd[3]?this.startSpecial(u.StyleEnd,4):(this.state=r.InTagName,this.stateInTagName(e))},e.prototype.stateBeforeEntity=function(e){this.entityExcess=1,this.entityResult=0,e===n.Num?this.state=r.BeforeNumericEntity:e===n.Amp||(this.trieIndex=0,this.trieCurrent=this.entityTrie[0],this.state=r.InNamedEntity,this.stateInNamedEntity(e))},e.prototype.stateInNamedEntity=function(e){if(this.entityExcess+=1,this.trieIndex=(0,t.determineBranch)(this.entityTrie,this.trieCurrent,this.trieIndex+1,e),this.trieIndex<0){this.emitNamedEntity(),this.index--;return}this.trieCurrent=this.entityTrie[this.trieIndex];var r=this.trieCurrent&t.BinTrieFlags.VALUE_LENGTH;if(r){var i=(r>>14)-1;if(!this.allowLegacyEntity()&&e!==n.Semi)this.trieIndex+=i;else{var a=this.index-this.entityExcess+1;a>this.sectionStart&&this.emitPartial(this.sectionStart,a),this.entityResult=this.trieIndex,this.trieIndex+=i,this.entityExcess=0,this.sectionStart=this.index+1,i===0&&this.emitNamedEntity()}}},e.prototype.emitNamedEntity=function(){if(this.state=this.baseState,this.entityResult!==0)switch((this.entityTrie[this.entityResult]&t.BinTrieFlags.VALUE_LENGTH)>>14){case 1:this.emitCodePoint(this.entityTrie[this.entityResult]&~t.BinTrieFlags.VALUE_LENGTH);break;case 2:this.emitCodePoint(this.entityTrie[this.entityResult+1]);break;case 3:this.emitCodePoint(this.entityTrie[this.entityResult+1]),this.emitCodePoint(this.entityTrie[this.entityResult+2])}},e.prototype.stateBeforeNumericEntity=function(e){(e|32)===n.LowerX?(this.entityExcess++,this.state=r.InHexEntity):(this.state=r.InNumericEntity,this.stateInNumericEntity(e))},e.prototype.emitNumericEntity=function(e){var n=this.index-this.entityExcess-1;n+2+Number(this.state===r.InHexEntity)!==this.index&&(n>this.sectionStart&&this.emitPartial(this.sectionStart,n),this.sectionStart=this.index+Number(e),this.emitCodePoint((0,t.replaceCodePoint)(this.entityResult))),this.state=this.baseState},e.prototype.stateInNumericEntity=function(e){e===n.Semi?this.emitNumericEntity(!0):o(e)?(this.entityResult=this.entityResult*10+(e-n.Zero),this.entityExcess++):(this.allowLegacyEntity()?this.emitNumericEntity(!1):this.state=this.baseState,this.index--)},e.prototype.stateInHexEntity=function(e){e===n.Semi?this.emitNumericEntity(!0):o(e)?(this.entityResult=this.entityResult*16+(e-n.Zero),this.entityExcess++):c(e)?(this.entityResult=this.entityResult*16+((e|32)-n.LowerA+10),this.entityExcess++):(this.allowLegacyEntity()?this.emitNumericEntity(!1):this.state=this.baseState,this.index--)},e.prototype.allowLegacyEntity=function(){return!this.xmlMode&&(this.baseState===r.Text||this.baseState===r.InSpecialTag)},e.prototype.cleanup=function(){this.running&&this.sectionStart!==this.index&&(this.state===r.Text||this.state===r.InSpecialTag&&this.sequenceIndex===0?(this.cbs.ontext(this.sectionStart,this.index),this.sectionStart=this.index):(this.state===r.InAttributeValueDq||this.state===r.InAttributeValueSq||this.state===r.InAttributeValueNq)&&(this.cbs.onattribdata(this.sectionStart,this.index),this.sectionStart=this.index))},e.prototype.shouldContinue=function(){return this.index<this.buffer.length+this.offset&&this.running},e.prototype.parse=function(){for(;this.shouldContinue();){var e=this.buffer.charCodeAt(this.index-this.offset);this.state===r.Text?this.stateText(e):this.state===r.SpecialStartSequence?this.stateSpecialStartSequence(e):this.state===r.InSpecialTag?this.stateInSpecialTag(e):this.state===r.CDATASequence?this.stateCDATASequence(e):this.state===r.InAttributeValueDq?this.stateInAttributeValueDoubleQuotes(e):this.state===r.InAttributeName?this.stateInAttributeName(e):this.state===r.InCommentLike?this.stateInCommentLike(e):this.state===r.InSpecialComment?this.stateInSpecialComment(e):this.state===r.BeforeAttributeName?this.stateBeforeAttributeName(e):this.state===r.InTagName?this.stateInTagName(e):this.state===r.InClosingTagName?this.stateInClosingTagName(e):this.state===r.BeforeTagName?this.stateBeforeTagName(e):this.state===r.AfterAttributeName?this.stateAfterAttributeName(e):this.state===r.InAttributeValueSq?this.stateInAttributeValueSingleQuotes(e):this.state===r.BeforeAttributeValue?this.stateBeforeAttributeValue(e):this.state===r.BeforeClosingTagName?this.stateBeforeClosingTagName(e):this.state===r.AfterClosingTagName?this.stateAfterClosingTagName(e):this.state===r.BeforeSpecialS?this.stateBeforeSpecialS(e):this.state===r.InAttributeValueNq?this.stateInAttributeValueNoQuotes(e):this.state===r.InSelfClosingTag?this.stateInSelfClosingTag(e):this.state===r.InDeclaration?this.stateInDeclaration(e):this.state===r.BeforeDeclaration?this.stateBeforeDeclaration(e):this.state===r.BeforeComment?this.stateBeforeComment(e):this.state===r.InProcessingInstruction?this.stateInProcessingInstruction(e):this.state===r.InNamedEntity?this.stateInNamedEntity(e):this.state===r.BeforeEntity?this.stateBeforeEntity(e):this.state===r.InHexEntity?this.stateInHexEntity(e):this.state===r.InNumericEntity?this.stateInNumericEntity(e):this.stateBeforeNumericEntity(e),this.index++}this.cleanup()},e.prototype.finish=function(){this.state===r.InNamedEntity&&this.emitNamedEntity(),this.sectionStart<this.index&&this.handleTrailingData(),this.cbs.onend()},e.prototype.handleTrailingData=function(){var e=this.buffer.length+this.offset;this.state===r.InCommentLike?this.currentSequence===u.CdataEnd?this.cbs.oncdata(this.sectionStart,e,0):this.cbs.oncomment(this.sectionStart,e,0):this.state===r.InNumericEntity&&this.allowLegacyEntity()||this.state===r.InHexEntity&&this.allowLegacyEntity()?this.emitNumericEntity(!1):this.state===r.InTagName||this.state===r.BeforeAttributeName||this.state===r.BeforeAttributeValue||this.state===r.AfterAttributeName||this.state===r.InAttributeName||this.state===r.InAttributeValueSq||this.state===r.InAttributeValueDq||this.state===r.InAttributeValueNq||this.state===r.InClosingTagName||this.cbs.ontext(this.sectionStart,e)},e.prototype.emitPartial=function(e,t){this.baseState!==r.Text&&this.baseState!==r.InSpecialTag?this.cbs.onattribdata(e,t):this.cbs.ontext(e,t)},e.prototype.emitCodePoint=function(e){this.baseState!==r.Text&&this.baseState!==r.InSpecialTag?this.cbs.onattribentity(e):this.cbs.ontextentity(e)},e}()})),$m=c((e=>{var t=e&&e.__createBinding||(Object.create?(function(e,t,n,r){r===void 0&&(r=n);var i=Object.getOwnPropertyDescriptor(t,n);(!i||(`get`in i?!t.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,i)}):(function(e,t,n,r){r===void 0&&(r=n),e[r]=t[n]})),n=e&&e.__setModuleDefault||(Object.create?(function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}):function(e,t){e.default=t}),r=e&&e.__importStar||function(e){if(e&&e.__esModule)return e;var r={};if(e!=null)for(var i in e)i!=="default"&&Object.prototype.hasOwnProperty.call(e,i)&&t(r,e,i);return n(r,e),r};Object.defineProperty(e,"__esModule",{value:!0}),e.Parser=void 0;var i=r(Qm()),a=Zm(),o=new Set([`input`,`option`,`optgroup`,`select`,`button`,`datalist`,`textarea`]),s=new Set([`p`]),c=new Set([`thead`,`tbody`]),l=new Set([`dd`,`dt`]),u=new Set([`rt`,`rp`]),d=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`,s],[`h1`,s],[`h2`,s],[`h3`,s],[`h4`,s],[`h5`,s],[`h6`,s],[`select`,o],[`input`,o],[`output`,o],[`button`,o],[`datalist`,o],[`textarea`,o],[`option`,new Set([`option`])],[`optgroup`,new Set([`optgroup`,`option`])],[`dd`,l],[`dt`,l],[`address`,s],[`article`,s],[`aside`,s],[`blockquote`,s],[`details`,s],[`div`,s],[`dl`,s],[`fieldset`,s],[`figcaption`,s],[`figure`,s],[`footer`,s],[`form`,s],[`header`,s],[`hr`,s],[`main`,s],[`nav`,s],[`ol`,s],[`pre`,s],[`section`,s],[`table`,s],[`ul`,s],[`rt`,u],[`rp`,u],[`tbody`,c],[`tfoot`,c]]),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`]),m=new Set([`mi`,`mo`,`mn`,`ms`,`mtext`,`annotation-xml`,`foreignobject`,`desc`,`title`]),h=/\s|\//;e.Parser=function(){function e(e,t){t===void 0&&(t={});var n,r;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.buffers=[],this.bufferOffset=0,this.writeIndex=0,this.ended=!1,this.cbs=e??{},this.lowerCaseTagNames=t.lowerCaseTags??!t.xmlMode,this.lowerCaseAttributeNames=t.lowerCaseAttributeNames??!t.xmlMode,this.tokenizer=new(t.Tokenizer??i.default)(this.options,this),(r=(n=this.cbs).onparserinit)==null||r.call(n,this)}return e.prototype.ontext=function(e,t){var n,r,i=this.getSlice(e,t);this.endIndex=t-1,(r=(n=this.cbs).ontext)==null||r.call(n,i),this.startIndex=t},e.prototype.ontextentity=function(e){var t,n,r=this.tokenizer.getSectionStart();this.endIndex=r-1,(n=(t=this.cbs).ontext)==null||n.call(t,(0,a.fromCodePoint)(e)),this.startIndex=r},e.prototype.isVoidElement=function(e){return!this.options.xmlMode&&f.has(e)},e.prototype.onopentagname=function(e,t){this.endIndex=t;var n=this.getSlice(e,t);this.lowerCaseTagNames&&(n=n.toLowerCase()),this.emitOpenTag(n)},e.prototype.emitOpenTag=function(e){var t,n,r,i;this.openTagStart=this.startIndex,this.tagname=e;var a=!this.options.xmlMode&&d.get(e);if(a)for(;this.stack.length>0&&a.has(this.stack[this.stack.length-1]);){var o=this.stack.pop();(n=(t=this.cbs).onclosetag)==null||n.call(t,o,!0)}this.isVoidElement(e)||(this.stack.push(e),p.has(e)?this.foreignContext.push(!0):m.has(e)&&this.foreignContext.push(!1)),(i=(r=this.cbs).onopentagname)==null||i.call(r,e),this.cbs.onopentag&&(this.attribs={})},e.prototype.endOpenTag=function(e){var t,n;this.startIndex=this.openTagStart,this.attribs&&=((n=(t=this.cbs).onopentag)==null||n.call(t,this.tagname,this.attribs,e),null),this.cbs.onclosetag&&this.isVoidElement(this.tagname)&&this.cbs.onclosetag(this.tagname,!0),this.tagname=``},e.prototype.onopentagend=function(e){this.endIndex=e,this.endOpenTag(!1),this.startIndex=e+1},e.prototype.onclosetag=function(e,t){var n,r,i,a,o,s;this.endIndex=t;var c=this.getSlice(e,t);if(this.lowerCaseTagNames&&(c=c.toLowerCase()),(p.has(c)||m.has(c))&&this.foreignContext.pop(),this.isVoidElement(c))!this.options.xmlMode&&c===`br`&&((r=(n=this.cbs).onopentagname)==null||r.call(n,`br`),(a=(i=this.cbs).onopentag)==null||a.call(i,`br`,{},!0),(s=(o=this.cbs).onclosetag)==null||s.call(o,`br`,!1));else{var l=this.stack.lastIndexOf(c);if(l!==-1)if(this.cbs.onclosetag)for(var u=this.stack.length-l;u--;)this.cbs.onclosetag(this.stack.pop(),u!==0);else this.stack.length=l;else !this.options.xmlMode&&c===`p`&&(this.emitOpenTag(`p`),this.closeCurrentTag(!0))}this.startIndex=t+1},e.prototype.onselfclosingtag=function(e){this.endIndex=e,this.options.xmlMode||this.options.recognizeSelfClosing||this.foreignContext[this.foreignContext.length-1]?(this.closeCurrentTag(!1),this.startIndex=e+1):this.onopentagend(e)},e.prototype.closeCurrentTag=function(e){var t,n,r=this.tagname;this.endOpenTag(e),this.stack[this.stack.length-1]===r&&((n=(t=this.cbs).onclosetag)==null||n.call(t,r,!e),this.stack.pop())},e.prototype.onattribname=function(e,t){this.startIndex=e;var n=this.getSlice(e,t);this.attribname=this.lowerCaseAttributeNames?n.toLowerCase():n},e.prototype.onattribdata=function(e,t){this.attribvalue+=this.getSlice(e,t)},e.prototype.onattribentity=function(e){this.attribvalue+=(0,a.fromCodePoint)(e)},e.prototype.onattribend=function(e,t){var n,r;this.endIndex=t,(r=(n=this.cbs).onattribute)==null||r.call(n,this.attribname,this.attribvalue,e===i.QuoteType.Double?`"`:e===i.QuoteType.Single?`'`:e===i.QuoteType.NoValue?void 0:null),this.attribs&&!Object.prototype.hasOwnProperty.call(this.attribs,this.attribname)&&(this.attribs[this.attribname]=this.attribvalue),this.attribvalue=``},e.prototype.getInstructionName=function(e){var t=e.search(h),n=t<0?e:e.substr(0,t);return this.lowerCaseTagNames&&(n=n.toLowerCase()),n},e.prototype.ondeclaration=function(e,t){this.endIndex=t;var n=this.getSlice(e,t);if(this.cbs.onprocessinginstruction){var r=this.getInstructionName(n);this.cbs.onprocessinginstruction(`!${r}`,`!${n}`)}this.startIndex=t+1},e.prototype.onprocessinginstruction=function(e,t){this.endIndex=t;var n=this.getSlice(e,t);if(this.cbs.onprocessinginstruction){var r=this.getInstructionName(n);this.cbs.onprocessinginstruction(`?${r}`,`?${n}`)}this.startIndex=t+1},e.prototype.oncomment=function(e,t,n){var r,i,a,o;this.endIndex=t,(i=(r=this.cbs).oncomment)==null||i.call(r,this.getSlice(e,t-n)),(o=(a=this.cbs).oncommentend)==null||o.call(a),this.startIndex=t+1},e.prototype.oncdata=function(e,t,n){var r,i,a,o,s,c,l,u,d,f;this.endIndex=t;var p=this.getSlice(e,t-n);this.options.xmlMode||this.options.recognizeCDATA?((i=(r=this.cbs).oncdatastart)==null||i.call(r),(o=(a=this.cbs).ontext)==null||o.call(a,p),(c=(s=this.cbs).oncdataend)==null||c.call(s)):((u=(l=this.cbs).oncomment)==null||u.call(l,`[CDATA[${p}]]`),(f=(d=this.cbs).oncommentend)==null||f.call(d)),this.startIndex=t+1},e.prototype.onend=function(){var e,t;if(this.cbs.onclosetag){this.endIndex=this.startIndex;for(var n=this.stack.length;n>0;this.cbs.onclosetag(this.stack[--n],!0));}(t=(e=this.cbs).onend)==null||t.call(e)},e.prototype.reset=function(){var e,t,n,r;(t=(e=this.cbs).onreset)==null||t.call(e),this.tokenizer.reset(),this.tagname=``,this.attribname=``,this.attribs=null,this.stack.length=0,this.startIndex=0,this.endIndex=0,(r=(n=this.cbs).onparserinit)==null||r.call(n,this),this.buffers.length=0,this.bufferOffset=0,this.writeIndex=0,this.ended=!1},e.prototype.parseComplete=function(e){this.reset(),this.end(e)},e.prototype.getSlice=function(e,t){for(;e-this.bufferOffset>=this.buffers[0].length;)this.shiftBuffer();for(var n=this.buffers[0].slice(e-this.bufferOffset,t-this.bufferOffset);t-this.bufferOffset>this.buffers[0].length;)this.shiftBuffer(),n+=this.buffers[0].slice(0,t-this.bufferOffset);return n},e.prototype.shiftBuffer=function(){this.bufferOffset+=this.buffers[0].length,this.writeIndex--,this.buffers.shift()},e.prototype.write=function(e){var t,n;if(this.ended){(n=(t=this.cbs).onerror)==null||n.call(t,Error(`.write() after done!`));return}this.buffers.push(e),this.tokenizer.running&&(this.tokenizer.write(e),this.writeIndex++)},e.prototype.end=function(e){var t,n;if(this.ended){(n=(t=this.cbs).onerror)==null||n.call(t,Error(`.end() after done!`));return}e&&this.write(e),this.ended=!0,this.tokenizer.end()},e.prototype.pause=function(){this.tokenizer.pause()},e.prototype.resume=function(){for(this.tokenizer.resume();this.tokenizer.running&&this.writeIndex<this.buffers.length;)this.tokenizer.write(this.buffers[this.writeIndex++]);this.ended&&this.tokenizer.end()},e.prototype.parseChunk=function(e){this.write(e)},e.prototype.done=function(e){this.end(e)},e}()})),eh=c((e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.Doctype=e.CDATA=e.Tag=e.Style=e.Script=e.Comment=e.Directive=e.Text=e.Root=e.isTag=e.ElementType=void 0;var t;(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`})(t=e.ElementType||={});function n(e){return e.type===t.Tag||e.type===t.Script||e.type===t.Style}e.isTag=n,e.Root=t.Root,e.Text=t.Text,e.Directive=t.Directive,e.Comment=t.Comment,e.Script=t.Script,e.Style=t.Style,e.Tag=t.Tag,e.CDATA=t.CDATA,e.Doctype=t.Doctype})),th=c((e=>{var t=e&&e.__extends||(function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},e(t,n)};return function(t,n){if(typeof n!=`function`&&n!==null)throw TypeError(`Class extends value `+String(n)+` is not a constructor or null`);e(t,n);function r(){this.constructor=t}t.prototype=n===null?Object.create(n):(r.prototype=n.prototype,new r)}})(),n=e&&e.__assign||function(){return n=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n],t)Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e},n.apply(this,arguments)};Object.defineProperty(e,"__esModule",{value:!0}),e.cloneNode=e.hasChildren=e.isDocument=e.isDirective=e.isComment=e.isText=e.isCDATA=e.isTag=e.Element=e.Document=e.CDATA=e.NodeWithChildren=e.ProcessingInstruction=e.Comment=e.Text=e.DataNode=e.Node=void 0;var r=eh(),i=function(){function e(){this.parent=null,this.prev=null,this.next=null,this.startIndex=null,this.endIndex=null}return 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 e===void 0&&(e=!1),b(this,e)},e}();e.Node=i;var a=function(e){t(n,e);function n(t){var n=e.call(this)||this;return n.data=t,n}return Object.defineProperty(n.prototype,"nodeValue",{get:function(){return this.data},set:function(e){this.data=e},enumerable:!1,configurable:!0}),n}(i);e.DataNode=a;var o=function(e){t(n,e);function n(){var t=e!==null&&e.apply(this,arguments)||this;return t.type=r.ElementType.Text,t}return Object.defineProperty(n.prototype,"nodeType",{get:function(){return 3},enumerable:!1,configurable:!0}),n}(a);e.Text=o;var s=function(e){t(n,e);function n(){var t=e!==null&&e.apply(this,arguments)||this;return t.type=r.ElementType.Comment,t}return Object.defineProperty(n.prototype,"nodeType",{get:function(){return 8},enumerable:!1,configurable:!0}),n}(a);e.Comment=s;var c=function(e){t(n,e);function n(t,n){var i=e.call(this,n)||this;return i.name=t,i.type=r.ElementType.Directive,i}return Object.defineProperty(n.prototype,"nodeType",{get:function(){return 1},enumerable:!1,configurable:!0}),n}(a);e.ProcessingInstruction=c;var l=function(e){t(n,e);function n(t){var n=e.call(this)||this;return n.children=t,n}return Object.defineProperty(n.prototype,"firstChild",{get:function(){return this.children[0]??null},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"lastChild",{get:function(){return this.children.length>0?this.children[this.children.length-1]:null},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"childNodes",{get:function(){return this.children},set:function(e){this.children=e},enumerable:!1,configurable:!0}),n}(i);e.NodeWithChildren=l;var u=function(e){t(n,e);function n(){var t=e!==null&&e.apply(this,arguments)||this;return t.type=r.ElementType.CDATA,t}return Object.defineProperty(n.prototype,"nodeType",{get:function(){return 4},enumerable:!1,configurable:!0}),n}(l);e.CDATA=u;var d=function(e){t(n,e);function n(){var t=e!==null&&e.apply(this,arguments)||this;return t.type=r.ElementType.Root,t}return Object.defineProperty(n.prototype,"nodeType",{get:function(){return 9},enumerable:!1,configurable:!0}),n}(l);e.Document=d;var f=function(e){t(n,e);function n(t,n,i,a){i===void 0&&(i=[]),a===void 0&&(a=t===`script`?r.ElementType.Script:t===`style`?r.ElementType.Style:r.ElementType.Tag);var o=e.call(this,i)||this;return o.name=t,o.attribs=n,o.type=a,o}return Object.defineProperty(n.prototype,"nodeType",{get:function(){return 1},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"tagName",{get:function(){return this.name},set:function(e){this.name=e},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"attributes",{get:function(){var e=this;return Object.keys(this.attribs).map(function(t){return{name:t,value:e.attribs[t],namespace:e[`x-attribsNamespace`]?.[t],prefix:e[`x-attribsPrefix`]?.[t]}})},enumerable:!1,configurable:!0}),n}(l);e.Element=f;function p(e){return(0,r.isTag)(e)}e.isTag=p;function m(e){return e.type===r.ElementType.CDATA}e.isCDATA=m;function h(e){return e.type===r.ElementType.Text}e.isText=h;function g(e){return e.type===r.ElementType.Comment}e.isComment=g;function _(e){return e.type===r.ElementType.Directive}e.isDirective=_;function v(e){return e.type===r.ElementType.Root}e.isDocument=v;function y(e){return Object.prototype.hasOwnProperty.call(e,`children`)}e.hasChildren=y;function b(e,t){t===void 0&&(t=!1);var r;if(h(e))r=new o(e.data);else if(g(e))r=new s(e.data);else if(p(e)){var i=t?x(e.children):[],a=new f(e.name,n({},e.attribs),i);i.forEach(function(e){return e.parent=a}),e.namespace!=null&&(a.namespace=e.namespace),e[`x-attribsNamespace`]&&(a[`x-attribsNamespace`]=n({},e[`x-attribsNamespace`])),e[`x-attribsPrefix`]&&(a[`x-attribsPrefix`]=n({},e[`x-attribsPrefix`])),r=a}else if(m(e)){var i=t?x(e.children):[],l=new u(i);i.forEach(function(e){return e.parent=l}),r=l}else if(v(e)){var i=t?x(e.children):[],y=new d(i);i.forEach(function(e){return e.parent=y}),e[`x-mode`]&&(y[`x-mode`]=e[`x-mode`]),r=y}else if(_(e)){var b=new c(e.name,e.data);e[`x-name`]!=null&&(b[`x-name`]=e[`x-name`],b[`x-publicId`]=e[`x-publicId`],b[`x-systemId`]=e[`x-systemId`]),r=b}else throw Error(`Not implemented yet: ${e.type}`);return r.startIndex=e.startIndex,r.endIndex=e.endIndex,e.sourceCodeLocation!=null&&(r.sourceCodeLocation=e.sourceCodeLocation),r}e.cloneNode=b;function x(e){for(var t=e.map(function(e){return b(e,!0)}),n=1;n<t.length;n++)t[n].prev=t[n-1],t[n-1].next=t[n];return t}})),nh=c((e=>{var t=e&&e.__createBinding||(Object.create?(function(e,t,n,r){r===void 0&&(r=n);var i=Object.getOwnPropertyDescriptor(t,n);(!i||(`get`in i?!t.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,i)}):(function(e,t,n,r){r===void 0&&(r=n),e[r]=t[n]})),n=e&&e.__exportStar||function(e,n){for(var r in e)r!=="default"&&!Object.prototype.hasOwnProperty.call(n,r)&&t(n,e,r)};Object.defineProperty(e,"__esModule",{value:!0}),e.DomHandler=void 0;var r=eh(),i=th();n(th(),e);var a={withStartIndices:!1,withEndIndices:!1,xmlMode:!1},o=function(){function e(e,t,n){this.dom=[],this.root=new i.Document(this.dom),this.done=!1,this.tagStack=[this.root],this.lastNode=null,this.parser=null,typeof t==`function`&&(n=t,t=a),typeof e==`object`&&(t=e,e=void 0),this.callback=e??null,this.options=t??a,this.elementCB=n??null}return e.prototype.onparserinit=function(e){this.parser=e},e.prototype.onreset=function(){this.dom=[],this.root=new i.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 n=this.options.xmlMode?r.ElementType.Tag:void 0,a=new i.Element(e,t,void 0,n);this.addNode(a),this.tagStack.push(a)},e.prototype.ontext=function(e){var t=this.lastNode;if(t&&t.type===r.ElementType.Text)t.data+=e,this.options.withEndIndices&&(t.endIndex=this.parser.endIndex);else{var n=new i.Text(e);this.addNode(n),this.lastNode=n}},e.prototype.oncomment=function(e){if(this.lastNode&&this.lastNode.type===r.ElementType.Comment){this.lastNode.data+=e;return}var t=new i.Comment(e);this.addNode(t),this.lastNode=t},e.prototype.oncommentend=function(){this.lastNode=null},e.prototype.oncdatastart=function(){var e=new i.Text(``),t=new i.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 n=new i.ProcessingInstruction(e,t);this.addNode(n)},e.prototype.handleCallback=function(e){if(typeof this.callback==`function`)this.callback(e,this.dom);else if(e)throw e},e.prototype.addNode=function(e){var t=this.tagStack[this.tagStack.length-1],n=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),n&&(e.prev=n,n.next=e),e.parent=t,this.lastNode=null},e}();e.DomHandler=o,e.default=o})),rh=c((e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.Doctype=e.CDATA=e.Tag=e.Style=e.Script=e.Comment=e.Directive=e.Text=e.Root=e.isTag=e.ElementType=void 0;var t;(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`})(t=e.ElementType||={});function n(e){return e.type===t.Tag||e.type===t.Script||e.type===t.Style}e.isTag=n,e.Root=t.Root,e.Text=t.Text,e.Directive=t.Directive,e.Comment=t.Comment,e.Script=t.Script,e.Style=t.Style,e.Tag=t.Tag,e.CDATA=t.CDATA,e.Doctype=t.Doctype})),ih=c((e=>{Object.defineProperty(e,"__esModule",{value:!0});function t(e){for(var t=1;t<e.length;t++)e[t][0]+=e[t-1][0]+1;return e}e.default=new Map(t([[9,`	`],[0,`
`],[22,`!`],[0,`"`],[0,`#`],[0,`$`],[0,`%`],[0,`&`],[0,`'`],[0,`(`],[0,`)`],[0,`*`],[0,`+`],[0,`,`],[1,`.`],[0,`/`],[10,`:`],[0,`;`],[0,{v:`<`,n:8402,o:`<⃒`}],[0,{v:`=`,n:8421,o:`=⃥`}],[0,{v:`>`,n:8402,o:`>⃒`}],[0,`?`],[0,`@`],[26,`[`],[0,`\`],[0,`]`],[0,`^`],[0,`_`],[0,```],[5,{n:106,o:`fj`}],[20,`{`],[0,`|`],[0,`}`],[34,` `],[0,`¡`],[0,`¢`],[0,`£`],[0,`¤`],[0,`¥`],[0,`¦`],[0,`§`],[0,`¨`],[0,`©`],[0,`ª`],[0,`«`],[0,`¬`],[0,`­`],[0,`®`],[0,`¯`],[0,`°`],[0,`±`],[0,`²`],[0,`³`],[0,`´`],[0,`µ`],[0,`¶`],[0,`·`],[0,`¸`],[0,`¹`],[0,`º`],[0,`»`],[0,`¼`],[0,`½`],[0,`¾`],[0,`¿`],[0,`À`],[0,`Á`],[0,`Â`],[0,`Ã`],[0,`Ä`],[0,`Å`],[0,`Æ`],[0,`Ç`],[0,`È`],[0,`É`],[0,`Ê`],[0,`Ë`],[0,`Ì`],[0,`Í`],[0,`Î`],[0,`Ï`],[0,`Ð`],[0,`Ñ`],[0,`Ò`],[0,`Ó`],[0,`Ô`],[0,`Õ`],[0,`Ö`],[0,`×`],[0,`Ø`],[0,`Ù`],[0,`Ú`],[0,`Û`],[0,`Ü`],[0,`Ý`],[0,`Þ`],[0,`ß`],[0,`à`],[0,`á`],[0,`â`],[0,`ã`],[0,`ä`],[0,`å`],[0,`æ`],[0,`ç`],[0,`è`],[0,`é`],[0,`ê`],[0,`ë`],[0,`ì`],[0,`í`],[0,`î`],[0,`ï`],[0,`ð`],[0,`ñ`],[0,`ò`],[0,`ó`],[0,`ô`],[0,`õ`],[0,`ö`],[0,`÷`],[0,`ø`],[0,`ù`],[0,`ú`],[0,`û`],[0,`ü`],[0,`ý`],[0,`þ`],[0,`ÿ`],[0,`Ā`],[0,`ā`],[0,`Ă`],[0,`ă`],[0,`Ą`],[0,`ą`],[0,`Ć`],[0,`ć`],[0,`Ĉ`],[0,`ĉ`],[0,`Ċ`],[0,`ċ`],[0,`Č`],[0,`č`],[0,`Ď`],[0,`ď`],[0,`Đ`],[0,`đ`],[0,`Ē`],[0,`ē`],[2,`Ė`],[0,`ė`],[0,`Ę`],[0,`ę`],[0,`Ě`],[0,`ě`],[0,`Ĝ`],[0,`ĝ`],[0,`Ğ`],[0,`ğ`],[0,`Ġ`],[0,`ġ`],[0,`Ģ`],[1,`Ĥ`],[0,`ĥ`],[0,`Ħ`],[0,`ħ`],[0,`Ĩ`],[0,`ĩ`],[0,`Ī`],[0,`ī`],[2,`Į`],[0,`į`],[0,`İ`],[0,`ı`],[0,`IJ`],[0,`ij`],[0,`Ĵ`],[0,`ĵ`],[0,`Ķ`],[0,`ķ`],[0,`ĸ`],[0,`Ĺ`],[0,`ĺ`],[0,`Ļ`],[0,`ļ`],[0,`Ľ`],[0,`ľ`],[0,`Ŀ`],[0,`ŀ`],[0,`Ł`],[0,`ł`],[0,`Ń`],[0,`ń`],[0,`Ņ`],[0,`ņ`],[0,`Ň`],[0,`ň`],[0,`ʼn`],[0,`Ŋ`],[0,`ŋ`],[0,`Ō`],[0,`ō`],[2,`Ő`],[0,`ő`],[0,`Œ`],[0,`œ`],[0,`Ŕ`],[0,`ŕ`],[0,`Ŗ`],[0,`ŗ`],[0,`Ř`],[0,`ř`],[0,`Ś`],[0,`ś`],[0,`Ŝ`],[0,`ŝ`],[0,`Ş`],[0,`ş`],[0,`Š`],[0,`š`],[0,`Ţ`],[0,`ţ`],[0,`Ť`],[0,`ť`],[0,`Ŧ`],[0,`ŧ`],[0,`Ũ`],[0,`ũ`],[0,`Ū`],[0,`ū`],[0,`Ŭ`],[0,`ŭ`],[0,`Ů`],[0,`ů`],[0,`Ű`],[0,`ű`],[0,`Ų`],[0,`ų`],[0,`Ŵ`],[0,`ŵ`],[0,`Ŷ`],[0,`ŷ`],[0,`Ÿ`],[0,`Ź`],[0,`ź`],[0,`Ż`],[0,`ż`],[0,`Ž`],[0,`ž`],[19,`ƒ`],[34,`Ƶ`],[63,`ǵ`],[65,`ȷ`],[142,`ˆ`],[0,`ˇ`],[16,`˘`],[0,`˙`],[0,`˚`],[0,`˛`],[0,`˜`],[0,`˝`],[51,`̑`],[127,`Α`],[0,`Β`],[0,`Γ`],[0,`Δ`],[0,`Ε`],[0,`Ζ`],[0,`Η`],[0,`Θ`],[0,`Ι`],[0,`Κ`],[0,`Λ`],[0,`Μ`],[0,`Ν`],[0,`Ξ`],[0,`Ο`],[0,`Π`],[0,`Ρ`],[1,`Σ`],[0,`Τ`],[0,`Υ`],[0,`Φ`],[0,`Χ`],[0,`Ψ`],[0,`Ω`],[7,`α`],[0,`β`],[0,`γ`],[0,`δ`],[0,`ε`],[0,`ζ`],[0,`η`],[0,`θ`],[0,`ι`],[0,`κ`],[0,`λ`],[0,`μ`],[0,`ν`],[0,`ξ`],[0,`ο`],[0,`π`],[0,`ρ`],[0,`ς`],[0,`σ`],[0,`τ`],[0,`υ`],[0,`φ`],[0,`χ`],[0,`ψ`],[0,`ω`],[7,`ϑ`],[0,`ϒ`],[2,`ϕ`],[0,`ϖ`],[5,`Ϝ`],[0,`ϝ`],[18,`ϰ`],[0,`ϱ`],[3,`ϵ`],[0,`϶`],[10,`Ё`],[0,`Ђ`],[0,`Ѓ`],[0,`Є`],[0,`Ѕ`],[0,`І`],[0,`Ї`],[0,`Ј`],[0,`Љ`],[0,`Њ`],[0,`Ћ`],[0,`Ќ`],[1,`Ў`],[0,`Џ`],[0,`А`],[0,`Б`],[0,`В`],[0,`Г`],[0,`Д`],[0,`Е`],[0,`Ж`],[0,`З`],[0,`И`],[0,`Й`],[0,`К`],[0,`Л`],[0,`М`],[0,`Н`],[0,`О`],[0,`П`],[0,`Р`],[0,`С`],[0,`Т`],[0,`У`],[0,`Ф`],[0,`Х`],[0,`Ц`],[0,`Ч`],[0,`Ш`],[0,`Щ`],[0,`Ъ`],[0,`Ы`],[0,`Ь`],[0,`Э`],[0,`Ю`],[0,`Я`],[0,`а`],[0,`б`],[0,`в`],[0,`г`],[0,`д`],[0,`е`],[0,`ж`],[0,`з`],[0,`и`],[0,`й`],[0,`к`],[0,`л`],[0,`м`],[0,`н`],[0,`о`],[0,`п`],[0,`р`],[0,`с`],[0,`т`],[0,`у`],[0,`ф`],[0,`х`],[0,`ц`],[0,`ч`],[0,`ш`],[0,`щ`],[0,`ъ`],[0,`ы`],[0,`ь`],[0,`э`],[0,`ю`],[0,`я`],[1,`ё`],[0,`ђ`],[0,`ѓ`],[0,`є`],[0,`ѕ`],[0,`і`],[0,`ї`],[0,`ј`],[0,`љ`],[0,`њ`],[0,`ћ`],[0,`ќ`],[1,`ў`],[0,`џ`],[7074,` `],[0,` `],[0,` `],[0,` `],[1,` `],[0,` `],[0,` `],[0,` `],[0,`​`],[0,`‌`],[0,`‍`],[0,`‎`],[0,`‏`],[0,`‐`],[2,`–`],[0,`—`],[0,`―`],[0,`‖`],[1,`‘`],[0,`’`],[0,`‚`],[1,`“`],[0,`”`],[0,`„`],[1,`†`],[0,`‡`],[0,`•`],[2,`‥`],[0,`…`],[9,`‰`],[0,`‱`],[0,`′`],[0,`″`],[0,`‴`],[0,`‵`],[3,`‹`],[0,`›`],[3,`‾`],[2,`⁁`],[1,`⁃`],[0,`⁄`],[10,`⁏`],[7,`⁗`],[7,{v:` `,n:8202,o:`  `}],[0,`⁠`],[0,`⁡`],[0,`⁢`],[0,`⁣`],[72,`€`],[46,`⃛`],[0,`⃜`],[37,`ℂ`],[2,`℅`],[4,`ℊ`],[0,`ℋ`],[0,`ℌ`],[0,`ℍ`],[0,`ℎ`],[0,`ℏ`],[0,`ℐ`],[0,`ℑ`],[0,`ℒ`],[0,`ℓ`],[1,`ℕ`],[0,`№`],[0,`℗`],[0,`℘`],[0,`ℙ`],[0,`ℚ`],[0,`ℛ`],[0,`ℜ`],[0,`ℝ`],[0,`℞`],[3,`™`],[1,`ℤ`],[2,`℧`],[0,`ℨ`],[0,`℩`],[2,`ℬ`],[0,`ℭ`],[1,`ℯ`],[0,`ℰ`],[0,`ℱ`],[1,`ℳ`],[0,`ℴ`],[0,`ℵ`],[0,`ℶ`],[0,`ℷ`],[0,`ℸ`],[12,`ⅅ`],[0,`ⅆ`],[0,`ⅇ`],[0,`ⅈ`],[10,`⅓`],[0,`⅔`],[0,`⅕`],[0,`⅖`],[0,`⅗`],[0,`⅘`],[0,`⅙`],[0,`⅚`],[0,`⅛`],[0,`⅜`],[0,`⅝`],[0,`⅞`],[49,`←`],[0,`↑`],[0,`→`],[0,`↓`],[0,`↔`],[0,`↕`],[0,`↖`],[0,`↗`],[0,`↘`],[0,`↙`],[0,`↚`],[0,`↛`],[1,{v:`↝`,n:824,o:`↝̸`}],[0,`↞`],[0,`↟`],[0,`↠`],[0,`↡`],[0,`↢`],[0,`↣`],[0,`↤`],[0,`↥`],[0,`↦`],[0,`↧`],[1,`↩`],[0,`↪`],[0,`↫`],[0,`↬`],[0,`↭`],[0,`↮`],[1,`↰`],[0,`↱`],[0,`↲`],[0,`↳`],[1,`↵`],[0,`↶`],[0,`↷`],[2,`↺`],[0,`↻`],[0,`↼`],[0,`↽`],[0,`↾`],[0,`↿`],[0,`⇀`],[0,`⇁`],[0,`⇂`],[0,`⇃`],[0,`⇄`],[0,`⇅`],[0,`⇆`],[0,`⇇`],[0,`⇈`],[0,`⇉`],[0,`⇊`],[0,`⇋`],[0,`⇌`],[0,`⇍`],[0,`⇎`],[0,`⇏`],[0,`⇐`],[0,`⇑`],[0,`⇒`],[0,`⇓`],[0,`⇔`],[0,`⇕`],[0,`⇖`],[0,`⇗`],[0,`⇘`],[0,`⇙`],[0,`⇚`],[0,`⇛`],[1,`⇝`],[6,`⇤`],[0,`⇥`],[15,`⇵`],[7,`⇽`],[0,`⇾`],[0,`⇿`],[0,`∀`],[0,`∁`],[0,{v:`∂`,n:824,o:`∂̸`}],[0,`∃`],[0,`∄`],[0,`∅`],[1,`∇`],[0,`∈`],[0,`∉`],[1,`∋`],[0,`∌`],[2,`∏`],[0,`∐`],[0,`∑`],[0,`−`],[0,`∓`],[0,`∔`],[1,`∖`],[0,`∗`],[0,`∘`],[1,`√`],[2,`∝`],[0,`∞`],[0,`∟`],[0,{v:`∠`,n:8402,o:`∠⃒`}],[0,`∡`],[0,`∢`],[0,`∣`],[0,`∤`],[0,`∥`],[0,`∦`],[0,`∧`],[0,`∨`],[0,{v:`∩`,n:65024,o:`∩︀`}],[0,{v:`∪`,n:65024,o:`∪︀`}],[0,`∫`],[0,`∬`],[0,`∭`],[0,`∮`],[0,`∯`],[0,`∰`],[0,`∱`],[0,`∲`],[0,`∳`],[0,`∴`],[0,`∵`],[0,`∶`],[0,`∷`],[0,`∸`],[1,`∺`],[0,`∻`],[0,{v:`∼`,n:8402,o:`∼⃒`}],[0,{v:`∽`,n:817,o:`∽̱`}],[0,{v:`∾`,n:819,o:`∾̳`}],[0,`∿`],[0,`≀`],[0,`≁`],[0,{v:`≂`,n:824,o:`≂̸`}],[0,`≃`],[0,`≄`],[0,`≅`],[0,`≆`],[0,`≇`],[0,`≈`],[0,`≉`],[0,`≊`],[0,{v:`≋`,n:824,o:`≋̸`}],[0,`≌`],[0,{v:`≍`,n:8402,o:`≍⃒`}],[0,{v:`≎`,n:824,o:`≎̸`}],[0,{v:`≏`,n:824,o:`≏̸`}],[0,{v:`≐`,n:824,o:`≐̸`}],[0,`≑`],[0,`≒`],[0,`≓`],[0,`≔`],[0,`≕`],[0,`≖`],[0,`≗`],[1,`≙`],[0,`≚`],[1,`≜`],[2,`≟`],[0,`≠`],[0,{v:`≡`,n:8421,o:`≡⃥`}],[0,`≢`],[1,{v:`≤`,n:8402,o:`≤⃒`}],[0,{v:`≥`,n:8402,o:`≥⃒`}],[0,{v:`≦`,n:824,o:`≦̸`}],[0,{v:`≧`,n:824,o:`≧̸`}],[0,{v:`≨`,n:65024,o:`≨︀`}],[0,{v:`≩`,n:65024,o:`≩︀`}],[0,{v:`≪`,n:new Map(t([[824,`≪̸`],[7577,`≪⃒`]]))}],[0,{v:`≫`,n:new Map(t([[824,`≫̸`],[7577,`≫⃒`]]))}],[0,`≬`],[0,`≭`],[0,`≮`],[0,`≯`],[0,`≰`],[0,`≱`],[0,`≲`],[0,`≳`],[0,`≴`],[0,`≵`],[0,`≶`],[0,`≷`],[0,`≸`],[0,`≹`],[0,`≺`],[0,`≻`],[0,`≼`],[0,`≽`],[0,`≾`],[0,{v:`≿`,n:824,o:`≿̸`}],[0,`⊀`],[0,`⊁`],[0,{v:`⊂`,n:8402,o:`⊂⃒`}],[0,{v:`⊃`,n:8402,o:`⊃⃒`}],[0,`⊄`],[0,`⊅`],[0,`⊆`],[0,`⊇`],[0,`⊈`],[0,`⊉`],[0,{v:`⊊`,n:65024,o:`⊊︀`}],[0,{v:`⊋`,n:65024,o:`⊋︀`}],[1,`⊍`],[0,`⊎`],[0,{v:`⊏`,n:824,o:`⊏̸`}],[0,{v:`⊐`,n:824,o:`⊐̸`}],[0,`⊑`],[0,`⊒`],[0,{v:`⊓`,n:65024,o:`⊓︀`}],[0,{v:`⊔`,n:65024,o:`⊔︀`}],[0,`⊕`],[0,`⊖`],[0,`⊗`],[0,`⊘`],[0,`⊙`],[0,`⊚`],[0,`⊛`],[1,`⊝`],[0,`⊞`],[0,`⊟`],[0,`⊠`],[0,`⊡`],[0,`⊢`],[0,`⊣`],[0,`⊤`],[0,`⊥`],[1,`⊧`],[0,`⊨`],[0,`⊩`],[0,`⊪`],[0,`⊫`],[0,`⊬`],[0,`⊭`],[0,`⊮`],[0,`⊯`],[0,`⊰`],[1,`⊲`],[0,`⊳`],[0,{v:`⊴`,n:8402,o:`⊴⃒`}],[0,{v:`⊵`,n:8402,o:`⊵⃒`}],[0,`⊶`],[0,`⊷`],[0,`⊸`],[0,`⊹`],[0,`⊺`],[0,`⊻`],[1,`⊽`],[0,`⊾`],[0,`⊿`],[0,`⋀`],[0,`⋁`],[0,`⋂`],[0,`⋃`],[0,`⋄`],[0,`⋅`],[0,`⋆`],[0,`⋇`],[0,`⋈`],[0,`⋉`],[0,`⋊`],[0,`⋋`],[0,`⋌`],[0,`⋍`],[0,`⋎`],[0,`⋏`],[0,`⋐`],[0,`⋑`],[0,`⋒`],[0,`⋓`],[0,`⋔`],[0,`⋕`],[0,`⋖`],[0,`⋗`],[0,{v:`⋘`,n:824,o:`⋘̸`}],[0,{v:`⋙`,n:824,o:`⋙̸`}],[0,{v:`⋚`,n:65024,o:`⋚︀`}],[0,{v:`⋛`,n:65024,o:`⋛︀`}],[2,`⋞`],[0,`⋟`],[0,`⋠`],[0,`⋡`],[0,`⋢`],[0,`⋣`],[2,`⋦`],[0,`⋧`],[0,`⋨`],[0,`⋩`],[0,`⋪`],[0,`⋫`],[0,`⋬`],[0,`⋭`],[0,`⋮`],[0,`⋯`],[0,`⋰`],[0,`⋱`],[0,`⋲`],[0,`⋳`],[0,`⋴`],[0,{v:`⋵`,n:824,o:`⋵̸`}],[0,`⋶`],[0,`⋷`],[1,{v:`⋹`,n:824,o:`⋹̸`}],[0,`⋺`],[0,`⋻`],[0,`⋼`],[0,`⋽`],[0,`⋾`],[6,`⌅`],[0,`⌆`],[1,`⌈`],[0,`⌉`],[0,`⌊`],[0,`⌋`],[0,`⌌`],[0,`⌍`],[0,`⌎`],[0,`⌏`],[0,`⌐`],[1,`⌒`],[0,`⌓`],[1,`⌕`],[0,`⌖`],[5,`⌜`],[0,`⌝`],[0,`⌞`],[0,`⌟`],[2,`⌢`],[0,`⌣`],[9,`⌭`],[0,`⌮`],[7,`⌶`],[6,`⌽`],[1,`⌿`],[60,`⍼`],[51,`⎰`],[0,`⎱`],[2,`⎴`],[0,`⎵`],[0,`⎶`],[37,`⏜`],[0,`⏝`],[0,`⏞`],[0,`⏟`],[2,`⏢`],[4,`⏧`],[59,`␣`],[164,`Ⓢ`],[55,`─`],[1,`│`],[9,`┌`],[3,`┐`],[3,`└`],[3,`┘`],[3,`├`],[7,`┤`],[7,`┬`],[7,`┴`],[7,`┼`],[19,`═`],[0,`║`],[0,`╒`],[0,`╓`],[0,`╔`],[0,`╕`],[0,`╖`],[0,`╗`],[0,`╘`],[0,`╙`],[0,`╚`],[0,`╛`],[0,`╜`],[0,`╝`],[0,`╞`],[0,`╟`],[0,`╠`],[0,`╡`],[0,`╢`],[0,`╣`],[0,`╤`],[0,`╥`],[0,`╦`],[0,`╧`],[0,`╨`],[0,`╩`],[0,`╪`],[0,`╫`],[0,`╬`],[19,`▀`],[3,`▄`],[3,`█`],[8,`░`],[0,`▒`],[0,`▓`],[13,`□`],[8,`▪`],[0,`▫`],[1,`▭`],[0,`▮`],[2,`▱`],[1,`△`],[0,`▴`],[0,`▵`],[2,`▸`],[0,`▹`],[3,`▽`],[0,`▾`],[0,`▿`],[2,`◂`],[0,`◃`],[6,`◊`],[0,`○`],[32,`◬`],[2,`◯`],[8,`◸`],[0,`◹`],[0,`◺`],[0,`◻`],[0,`◼`],[8,`★`],[0,`☆`],[7,`☎`],[49,`♀`],[1,`♂`],[29,`♠`],[2,`♣`],[1,`♥`],[0,`♦`],[3,`♪`],[2,`♭`],[0,`♮`],[0,`♯`],[163,`✓`],[3,`✗`],[8,`✠`],[21,`✶`],[33,`❘`],[25,`❲`],[0,`❳`],[84,`⟈`],[0,`⟉`],[28,`⟦`],[0,`⟧`],[0,`⟨`],[0,`⟩`],[0,`⟪`],[0,`⟫`],[0,`⟬`],[0,`⟭`],[7,`⟵`],[0,`⟶`],[0,`⟷`],[0,`⟸`],[0,`⟹`],[0,`⟺`],[1,`⟼`],[2,`⟿`],[258,`⤂`],[0,`⤃`],[0,`⤄`],[0,`⤅`],[6,`⤌`],[0,`⤍`],[0,`⤎`],[0,`⤏`],[0,`⤐`],[0,`⤑`],[0,`⤒`],[0,`⤓`],[2,`⤖`],[2,`⤙`],[0,`⤚`],[0,`⤛`],[0,`⤜`],[0,`⤝`],[0,`⤞`],[0,`⤟`],[0,`⤠`],[2,`⤣`],[0,`⤤`],[0,`⤥`],[0,`⤦`],[0,`⤧`],[0,`⤨`],[0,`⤩`],[0,`⤪`],[8,{v:`⤳`,n:824,o:`⤳̸`}],[1,`⤵`],[0,`⤶`],[0,`⤷`],[0,`⤸`],[0,`⤹`],[2,`⤼`],[0,`⤽`],[7,`⥅`],[2,`⥈`],[0,`⥉`],[0,`⥊`],[0,`⥋`],[2,`⥎`],[0,`⥏`],[0,`⥐`],[0,`⥑`],[0,`⥒`],[0,`⥓`],[0,`⥔`],[0,`⥕`],[0,`⥖`],[0,`⥗`],[0,`⥘`],[0,`⥙`],[0,`⥚`],[0,`⥛`],[0,`⥜`],[0,`⥝`],[0,`⥞`],[0,`⥟`],[0,`⥠`],[0,`⥡`],[0,`⥢`],[0,`⥣`],[0,`⥤`],[0,`⥥`],[0,`⥦`],[0,`⥧`],[0,`⥨`],[0,`⥩`],[0,`⥪`],[0,`⥫`],[0,`⥬`],[0,`⥭`],[0,`⥮`],[0,`⥯`],[0,`⥰`],[0,`⥱`],[0,`⥲`],[0,`⥳`],[0,`⥴`],[0,`⥵`],[0,`⥶`],[1,`⥸`],[0,`⥹`],[1,`⥻`],[0,`⥼`],[0,`⥽`],[0,`⥾`],[0,`⥿`],[5,`⦅`],[0,`⦆`],[4,`⦋`],[0,`⦌`],[0,`⦍`],[0,`⦎`],[0,`⦏`],[0,`⦐`],[0,`⦑`],[0,`⦒`],[0,`⦓`],[0,`⦔`],[0,`⦕`],[0,`⦖`],[3,`⦚`],[1,`⦜`],[0,`⦝`],[6,`⦤`],[0,`⦥`],[0,`⦦`],[0,`⦧`],[0,`⦨`],[0,`⦩`],[0,`⦪`],[0,`⦫`],[0,`⦬`],[0,`⦭`],[0,`⦮`],[0,`⦯`],[0,`⦰`],[0,`⦱`],[0,`⦲`],[0,`⦳`],[0,`⦴`],[0,`⦵`],[0,`⦶`],[0,`⦷`],[1,`⦹`],[1,`⦻`],[0,`⦼`],[1,`⦾`],[0,`⦿`],[0,`⧀`],[0,`⧁`],[0,`⧂`],[0,`⧃`],[0,`⧄`],[0,`⧅`],[3,`⧉`],[3,`⧍`],[0,`⧎`],[0,{v:`⧏`,n:824,o:`⧏̸`}],[0,{v:`⧐`,n:824,o:`⧐̸`}],[11,`⧜`],[0,`⧝`],[0,`⧞`],[4,`⧣`],[0,`⧤`],[0,`⧥`],[5,`⧫`],[8,`⧴`],[1,`⧶`],[9,`⨀`],[0,`⨁`],[0,`⨂`],[1,`⨄`],[1,`⨆`],[5,`⨌`],[0,`⨍`],[2,`⨐`],[0,`⨑`],[0,`⨒`],[0,`⨓`],[0,`⨔`],[0,`⨕`],[0,`⨖`],[0,`⨗`],[10,`⨢`],[0,`⨣`],[0,`⨤`],[0,`⨥`],[0,`⨦`],[0,`⨧`],[1,`⨩`],[0,`⨪`],[2,`⨭`],[0,`⨮`],[0,`⨯`],[0,`⨰`],[0,`⨱`],[1,`⨳`],[0,`⨴`],[0,`⨵`],[0,`⨶`],[0,`⨷`],[0,`⨸`],[0,`⨹`],[0,`⨺`],[0,`⨻`],[0,`⨼`],[2,`⨿`],[0,`⩀`],[1,`⩂`],[0,`⩃`],[0,`⩄`],[0,`⩅`],[0,`⩆`],[0,`⩇`],[0,`⩈`],[0,`⩉`],[0,`⩊`],[0,`⩋`],[0,`⩌`],[0,`⩍`],[2,`⩐`],[2,`⩓`],[0,`⩔`],[0,`⩕`],[0,`⩖`],[0,`⩗`],[0,`⩘`],[1,`⩚`],[0,`⩛`],[0,`⩜`],[0,`⩝`],[1,`⩟`],[6,`⩦`],[3,`⩪`],[2,{v:`⩭`,n:824,o:`⩭̸`}],[0,`⩮`],[0,`⩯`],[0,{v:`⩰`,n:824,o:`⩰̸`}],[0,`⩱`],[0,`⩲`],[0,`⩳`],[0,`⩴`],[0,`⩵`],[1,`⩷`],[0,`⩸`],[0,`⩹`],[0,`⩺`],[0,`⩻`],[0,`⩼`],[0,{v:`⩽`,n:824,o:`⩽̸`}],[0,{v:`⩾`,n:824,o:`⩾̸`}],[0,`⩿`],[0,`⪀`],[0,`⪁`],[0,`⪂`],[0,`⪃`],[0,`⪄`],[0,`⪅`],[0,`⪆`],[0,`⪇`],[0,`⪈`],[0,`⪉`],[0,`⪊`],[0,`⪋`],[0,`⪌`],[0,`⪍`],[0,`⪎`],[0,`⪏`],[0,`⪐`],[0,`⪑`],[0,`⪒`],[0,`⪓`],[0,`⪔`],[0,`⪕`],[0,`⪖`],[0,`⪗`],[0,`⪘`],[0,`⪙`],[0,`⪚`],[2,`⪝`],[0,`⪞`],[0,`⪟`],[0,`⪠`],[0,{v:`⪡`,n:824,o:`⪡̸`}],[0,{v:`⪢`,n:824,o:`⪢̸`}],[1,`⪤`],[0,`⪥`],[0,`⪦`],[0,`⪧`],[0,`⪨`],[0,`⪩`],[0,`⪪`],[0,`⪫`],[0,{v:`⪬`,n:65024,o:`⪬︀`}],[0,{v:`⪭`,n:65024,o:`⪭︀`}],[0,`⪮`],[0,{v:`⪯`,n:824,o:`⪯̸`}],[0,{v:`⪰`,n:824,o:`⪰̸`}],[2,`⪳`],[0,`⪴`],[0,`⪵`],[0,`⪶`],[0,`⪷`],[0,`⪸`],[0,`⪹`],[0,`⪺`],[0,`⪻`],[0,`⪼`],[0,`⪽`],[0,`⪾`],[0,`⪿`],[0,`⫀`],[0,`⫁`],[0,`⫂`],[0,`⫃`],[0,`⫄`],[0,{v:`⫅`,n:824,o:`⫅̸`}],[0,{v:`⫆`,n:824,o:`⫆̸`}],[0,`⫇`],[0,`⫈`],[2,{v:`⫋`,n:65024,o:`⫋︀`}],[0,{v:`⫌`,n:65024,o:`⫌︀`}],[2,`⫏`],[0,`⫐`],[0,`⫑`],[0,`⫒`],[0,`⫓`],[0,`⫔`],[0,`⫕`],[0,`⫖`],[0,`⫗`],[0,`⫘`],[0,`⫙`],[0,`⫚`],[0,`⫛`],[8,`⫤`],[1,`⫦`],[0,`⫧`],[0,`⫨`],[0,`⫩`],[1,`⫫`],[0,`⫬`],[0,`⫭`],[0,`⫮`],[0,`⫯`],[0,`⫰`],[0,`⫱`],[0,`⫲`],[0,`⫳`],[9,{v:`⫽`,n:8421,o:`⫽⃥`}],[44343,{n:new Map(t([[56476,`𝒜`],[1,`𝒞`],[0,`𝒟`],[2,`𝒢`],[2,`𝒥`],[0,`𝒦`],[2,`𝒩`],[0,`𝒪`],[0,`𝒫`],[0,`𝒬`],[1,`𝒮`],[0,`𝒯`],[0,`𝒰`],[0,`𝒱`],[0,`𝒲`],[0,`𝒳`],[0,`𝒴`],[0,`𝒵`],[0,`𝒶`],[0,`𝒷`],[0,`𝒸`],[0,`𝒹`],[1,`𝒻`],[1,`𝒽`],[0,`𝒾`],[0,`𝒿`],[0,`𝓀`],[0,`𝓁`],[0,`𝓂`],[0,`𝓃`],[1,`𝓅`],[0,`𝓆`],[0,`𝓇`],[0,`𝓈`],[0,`𝓉`],[0,`𝓊`],[0,`𝓋`],[0,`𝓌`],[0,`𝓍`],[0,`𝓎`],[0,`𝓏`],[52,`𝔄`],[0,`𝔅`],[1,`𝔇`],[0,`𝔈`],[0,`𝔉`],[0,`𝔊`],[2,`𝔍`],[0,`𝔎`],[0,`𝔏`],[0,`𝔐`],[0,`𝔑`],[0,`𝔒`],[0,`𝔓`],[0,`𝔔`],[1,`𝔖`],[0,`𝔗`],[0,`𝔘`],[0,`𝔙`],[0,`𝔚`],[0,`𝔛`],[0,`𝔜`],[1,`𝔞`],[0,`𝔟`],[0,`𝔠`],[0,`𝔡`],[0,`𝔢`],[0,`𝔣`],[0,`𝔤`],[0,`𝔥`],[0,`𝔦`],[0,`𝔧`],[0,`𝔨`],[0,`𝔩`],[0,`𝔪`],[0,`𝔫`],[0,`𝔬`],[0,`𝔭`],[0,`𝔮`],[0,`𝔯`],[0,`𝔰`],[0,`𝔱`],[0,`𝔲`],[0,`𝔳`],[0,`𝔴`],[0,`𝔵`],[0,`𝔶`],[0,`𝔷`],[0,`𝔸`],[0,`𝔹`],[1,`𝔻`],[0,`𝔼`],[0,`𝔽`],[0,`𝔾`],[1,`𝕀`],[0,`𝕁`],[0,`𝕂`],[0,`𝕃`],[0,`𝕄`],[1,`𝕆`],[3,`𝕊`],[0,`𝕋`],[0,`𝕌`],[0,`𝕍`],[0,`𝕎`],[0,`𝕏`],[0,`𝕐`],[1,`𝕒`],[0,`𝕓`],[0,`𝕔`],[0,`𝕕`],[0,`𝕖`],[0,`𝕗`],[0,`𝕘`],[0,`𝕙`],[0,`𝕚`],[0,`𝕛`],[0,`𝕜`],[0,`𝕝`],[0,`𝕞`],[0,`𝕟`],[0,`𝕠`],[0,`𝕡`],[0,`𝕢`],[0,`𝕣`],[0,`𝕤`],[0,`𝕥`],[0,`𝕦`],[0,`𝕧`],[0,`𝕨`],[0,`𝕩`],[0,`𝕪`],[0,`𝕫`]]))}],[8906,`ff`],[0,`fi`],[0,`fl`],[0,`ffi`],[0,`ffl`]]))})),ah=c((e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.escapeText=e.escapeAttribute=e.escapeUTF8=e.escape=e.encodeXML=e.getCodePoint=e.xmlReplacer=void 0,e.xmlReplacer=/["&'<>$\x80-\uFFFF]/g;var t=new Map([[34,`"`],[38,`&`],[39,`'`],[60,`<`],[62,`>`]]);e.getCodePoint=String.prototype.codePointAt==null?function(e,t){return(e.charCodeAt(t)&64512)==55296?(e.charCodeAt(t)-55296)*1024+e.charCodeAt(t+1)-56320+65536:e.charCodeAt(t)}:function(e,t){return e.codePointAt(t)};function n(n){for(var r=``,i=0,a;(a=e.xmlReplacer.exec(n))!==null;){var o=a.index,s=n.charCodeAt(o),c=t.get(s);c===void 0?(r+=`${n.substring(i,o)}&#x${(0,e.getCodePoint)(n,o).toString(16)};`,i=e.xmlReplacer.lastIndex+=Number((s&64512)==55296)):(r+=n.substring(i,o)+c,i=o+1)}return r+n.substr(i)}e.encodeXML=n,e.escape=n;function r(e,t){return function(n){for(var r,i=0,a=``;r=e.exec(n);)i!==r.index&&(a+=n.substring(i,r.index)),a+=t.get(r[0].charCodeAt(0)),i=r.index+1;return a+n.substring(i)}}e.escapeUTF8=r(/[&<>'"]/g,t),e.escapeAttribute=r(/["&\u00A0]/g,new Map([[34,`"`],[38,`&`],[160,` `]])),e.escapeText=r(/[&<>\u00A0]/g,new Map([[38,`&`],[60,`<`],[62,`>`],[160,` `]]))})),oh=c((e=>{var t=e&&e.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(e,"__esModule",{value:!0}),e.encodeNonAsciiHTML=e.encodeHTML=void 0;var n=t(ih()),r=ah(),i=/[\t\n!-,./:-@[-`\f{-}$\x80-\uFFFF]/g;function a(e){return s(i,e)}e.encodeHTML=a;function o(e){return s(r.xmlReplacer,e)}e.encodeNonAsciiHTML=o;function s(e,t){for(var i=``,a=0,o;(o=e.exec(t))!==null;){var s=o.index;i+=t.substring(a,s);var c=t.charCodeAt(s),l=n.default.get(c);if(typeof l==`object`){if(s+1<t.length){var u=t.charCodeAt(s+1),d=typeof l.n==`number`?l.n===u?l.o:void 0:l.n.get(u);if(d!==void 0){i+=d,a=e.lastIndex+=1;continue}}l=l.v}if(l!==void 0)i+=l,a=s+1;else{var f=(0,r.getCodePoint)(t,s);i+=`&#x${f.toString(16)};`,a=e.lastIndex+=Number(f!==c)}}return i+t.substr(a)}})),sh=c((e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.decodeXMLStrict=e.decodeHTML5Strict=e.decodeHTML4Strict=e.decodeHTML5=e.decodeHTML4=e.decodeHTMLStrict=e.decodeHTML=e.decodeXML=e.encodeHTML5=e.encodeHTML4=e.encodeNonAsciiHTML=e.encodeHTML=e.escapeText=e.escapeAttribute=e.escapeUTF8=e.escape=e.encodeXML=e.encode=e.decodeStrict=e.decode=e.EncodingMode=e.DecodingMode=e.EntityLevel=void 0;var t=Zm(),n=oh(),r=ah(),i;(function(e){e[e.XML=0]=`XML`,e[e.HTML=1]=`HTML`})(i=e.EntityLevel||={});var a;(function(e){e[e.Legacy=0]=`Legacy`,e[e.Strict=1]=`Strict`})(a=e.DecodingMode||={});var o;(function(e){e[e.UTF8=0]=`UTF8`,e[e.ASCII=1]=`ASCII`,e[e.Extensive=2]=`Extensive`,e[e.Attribute=3]=`Attribute`,e[e.Text=4]=`Text`})(o=e.EncodingMode||={});function s(e,n){n===void 0&&(n=i.XML);var r=typeof n==`number`?{level:n}:n;return r.level===i.HTML?r.mode===a.Strict?(0,t.decodeHTMLStrict)(e):(0,t.decodeHTML)(e):(0,t.decodeXML)(e)}e.decode=s;function c(e,n){n===void 0&&(n=i.XML);var r=typeof n==`number`?{level:n}:n;return r.level===i.HTML?r.mode===a.Legacy?(0,t.decodeHTML)(e):(0,t.decodeHTMLStrict)(e):(0,t.decodeXML)(e)}e.decodeStrict=c;function l(e,t){t===void 0&&(t=i.XML);var a=typeof t==`number`?{level:t}:t;return a.mode===o.UTF8?(0,r.escapeUTF8)(e):a.mode===o.Attribute?(0,r.escapeAttribute)(e):a.mode===o.Text?(0,r.escapeText)(e):a.level===i.HTML?a.mode===o.ASCII?(0,n.encodeNonAsciiHTML)(e):(0,n.encodeHTML)(e):(0,r.encodeXML)(e)}e.encode=l;var u=ah();Object.defineProperty(e,"encodeXML",{enumerable:!0,get:function(){return u.encodeXML}}),Object.defineProperty(e,"escape",{enumerable:!0,get:function(){return u.escape}}),Object.defineProperty(e,"escapeUTF8",{enumerable:!0,get:function(){return u.escapeUTF8}}),Object.defineProperty(e,"escapeAttribute",{enumerable:!0,get:function(){return u.escapeAttribute}}),Object.defineProperty(e,"escapeText",{enumerable:!0,get:function(){return u.escapeText}});var d=oh();Object.defineProperty(e,"encodeHTML",{enumerable:!0,get:function(){return d.encodeHTML}}),Object.defineProperty(e,"encodeNonAsciiHTML",{enumerable:!0,get:function(){return d.encodeNonAsciiHTML}}),Object.defineProperty(e,"encodeHTML4",{enumerable:!0,get:function(){return d.encodeHTML}}),Object.defineProperty(e,"encodeHTML5",{enumerable:!0,get:function(){return d.encodeHTML}});var f=Zm();Object.defineProperty(e,"decodeXML",{enumerable:!0,get:function(){return f.decodeXML}}),Object.defineProperty(e,"decodeHTML",{enumerable:!0,get:function(){return f.decodeHTML}}),Object.defineProperty(e,"decodeHTMLStrict",{enumerable:!0,get:function(){return f.decodeHTMLStrict}}),Object.defineProperty(e,"decodeHTML4",{enumerable:!0,get:function(){return f.decodeHTML}}),Object.defineProperty(e,"decodeHTML5",{enumerable:!0,get:function(){return f.decodeHTML}}),Object.defineProperty(e,"decodeHTML4Strict",{enumerable:!0,get:function(){return f.decodeHTMLStrict}}),Object.defineProperty(e,"decodeHTML5Strict",{enumerable:!0,get:function(){return f.decodeHTMLStrict}}),Object.defineProperty(e,"decodeXMLStrict",{enumerable:!0,get:function(){return f.decodeXML}})})),ch=c((e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.attributeNames=e.elementNames=void 0,e.elementNames=new Map(`altGlyph.altGlyphDef.altGlyphItem.animateColor.animateMotion.animateTransform.clipPath.feBlend.feColorMatrix.feComponentTransfer.feComposite.feConvolveMatrix.feDiffuseLighting.feDisplacementMap.feDistantLight.feDropShadow.feFlood.feFuncA.feFuncB.feFuncG.feFuncR.feGaussianBlur.feImage.feMerge.feMergeNode.feMorphology.feOffset.fePointLight.feSpecularLighting.feSpotLight.feTile.feTurbulence.foreignObject.glyphRef.linearGradient.radialGradient.textPath`.split(`.`).map(function(e){return[e.toLowerCase(),e]})),e.attributeNames=new Map(`definitionURL.attributeName.attributeType.baseFrequency.baseProfile.calcMode.clipPathUnits.diffuseConstant.edgeMode.filterUnits.glyphRef.gradientTransform.gradientUnits.kernelMatrix.kernelUnitLength.keyPoints.keySplines.keyTimes.lengthAdjust.limitingConeAngle.markerHeight.markerUnits.markerWidth.maskContentUnits.maskUnits.numOctaves.pathLength.patternContentUnits.patternTransform.patternUnits.pointsAtX.pointsAtY.pointsAtZ.preserveAlpha.preserveAspectRatio.primitiveUnits.refX.refY.repeatCount.repeatDur.requiredExtensions.requiredFeatures.specularConstant.specularExponent.spreadMethod.startOffset.stdDeviation.stitchTiles.surfaceScale.systemLanguage.tableValues.targetX.targetY.textLength.viewBox.viewTarget.xChannelSelector.yChannelSelector.zoomAndPan`.split(`.`).map(function(e){return[e.toLowerCase(),e]}))})),lh=c((e=>{var t=e&&e.__assign||function(){return t=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n],t)Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e},t.apply(this,arguments)},n=e&&e.__createBinding||(Object.create?(function(e,t,n,r){r===void 0&&(r=n);var i=Object.getOwnPropertyDescriptor(t,n);(!i||(`get`in i?!t.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,i)}):(function(e,t,n,r){r===void 0&&(r=n),e[r]=t[n]})),r=e&&e.__setModuleDefault||(Object.create?(function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}):function(e,t){e.default=t}),i=e&&e.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(e!=null)for(var i in e)i!=="default"&&Object.prototype.hasOwnProperty.call(e,i)&&n(t,e,i);return r(t,e),t};Object.defineProperty(e,"__esModule",{value:!0}),e.render=void 0;var a=i(rh()),o=sh(),s=ch(),c=new Set([`style`,`script`,`xmp`,`iframe`,`noembed`,`noframes`,`plaintext`,`noscript`]);function l(e){return e.replace(/"/g,`"`)}function u(e,t){if(e){var n=(t.encodeEntities??t.decodeEntities)===!1?l:t.xmlMode||t.encodeEntities!==`utf8`?o.encodeXML:o.escapeAttribute;return Object.keys(e).map(function(r){var i=e[r]??``;return t.xmlMode===`foreign`&&(r=s.attributeNames.get(r)??r),!t.emptyAttrs&&!t.xmlMode&&i===``?r:`${r}="${n(i)}"`}).join(` `)}}var d=new Set([`area`,`base`,`basefont`,`br`,`col`,`command`,`embed`,`frame`,`hr`,`img`,`input`,`isindex`,`keygen`,`link`,`meta`,`param`,`source`,`track`,`wbr`]);function f(e,t){t===void 0&&(t={});for(var n=(`length`in e)?e:[e],r=``,i=0;i<n.length;i++)r+=p(n[i],t);return r}e.render=f,e.default=f;function p(e,t){switch(e.type){case a.Root:return f(e.children,t);case a.Doctype:case a.Directive:return _(e);case a.Comment:return b(e);case a.CDATA:return y(e);case a.Script:case a.Style:case a.Tag:return g(e,t);case a.Text:return v(e,t)}}var m=new Set([`mi`,`mo`,`mn`,`ms`,`mtext`,`annotation-xml`,`foreignObject`,`desc`,`title`]),h=new Set([`svg`,`math`]);function g(e,n){n.xmlMode===`foreign`&&(e.name=s.elementNames.get(e.name)??e.name,e.parent&&m.has(e.parent.name)&&(n=t(t({},n),{xmlMode:!1}))),!n.xmlMode&&h.has(e.name)&&(n=t(t({},n),{xmlMode:`foreign`}));var r=`<${e.name}`,i=u(e.attribs,n);return i&&(r+=` ${i}`),e.children.length===0&&(n.xmlMode?n.selfClosingTags!==!1:n.selfClosingTags&&d.has(e.name))?(n.xmlMode||(r+=` `),r+=`/>`):(r+=`>`,e.children.length>0&&(r+=f(e.children,n)),(n.xmlMode||!d.has(e.name))&&(r+=`</${e.name}>`)),r}function _(e){return`<${e.data}>`}function v(e,t){var n=e.data||``;return(t.encodeEntities??t.decodeEntities)!==!1&&!(!t.xmlMode&&e.parent&&c.has(e.parent.name))&&(n=t.xmlMode||t.encodeEntities!==`utf8`?(0,o.encodeXML)(n):(0,o.escapeText)(n)),n}function y(e){return`<![CDATA[${e.children[0].data}]]>`}function b(e){return`<!--${e.data}-->`}})),uh=c((e=>{var t=e&&e.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(e,"__esModule",{value:!0}),e.innerText=e.textContent=e.getText=e.getInnerHTML=e.getOuterHTML=void 0;var n=nh(),r=t(lh()),i=rh();function a(e,t){return(0,r.default)(e,t)}e.getOuterHTML=a;function o(e,t){return(0,n.hasChildren)(e)?e.children.map(function(e){return a(e,t)}).join(``):``}e.getInnerHTML=o;function s(e){return Array.isArray(e)?e.map(s).join(``):(0,n.isTag)(e)?e.name===`br`?`
|
|
15
|
+
`:s(e.children):(0,n.isCDATA)(e)?s(e.children):(0,n.isText)(e)?e.data:``}e.getText=s;function c(e){return Array.isArray(e)?e.map(c).join(``):(0,n.hasChildren)(e)&&!(0,n.isComment)(e)?c(e.children):(0,n.isText)(e)?e.data:``}e.textContent=c;function l(e){return Array.isArray(e)?e.map(l).join(``):(0,n.hasChildren)(e)&&(e.type===i.ElementType.Tag||(0,n.isCDATA)(e))?l(e.children):(0,n.isText)(e)?e.data:``}e.innerText=l})),dh=c((e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.prevElementSibling=e.nextElementSibling=e.getName=e.hasAttrib=e.getAttributeValue=e.getSiblings=e.getParent=e.getChildren=void 0;var t=nh();function n(e){return(0,t.hasChildren)(e)?e.children:[]}e.getChildren=n;function r(e){return e.parent||null}e.getParent=r;function i(e){var t,i,a=r(e);if(a!=null)return n(a);for(var o=[e],s=e.prev,c=e.next;s!=null;)o.unshift(s),t=s,s=t.prev;for(;c!=null;)o.push(c),i=c,c=i.next;return o}e.getSiblings=i;function a(e,t){return e.attribs?.[t]}e.getAttributeValue=a;function o(e,t){return e.attribs!=null&&Object.prototype.hasOwnProperty.call(e.attribs,t)&&e.attribs[t]!=null}e.hasAttrib=o;function s(e){return e.name}e.getName=s;function c(e){for(var n,r=e.next;r!==null&&!(0,t.isTag)(r);)n=r,r=n.next;return r}e.nextElementSibling=c;function l(e){for(var n,r=e.prev;r!==null&&!(0,t.isTag)(r);)n=r,r=n.prev;return r}e.prevElementSibling=l})),fh=c((e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.prepend=e.prependChild=e.append=e.appendChild=e.replaceElement=e.removeElement=void 0;function t(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)}}e.removeElement=t;function n(e,t){var n=t.prev=e.prev;n&&(n.next=t);var r=t.next=e.next;r&&(r.prev=t);var i=t.parent=e.parent;if(i){var a=i.children;a[a.lastIndexOf(e)]=t,e.parent=null}}e.replaceElement=n;function r(e,n){if(t(n),n.next=null,n.parent=e,e.children.push(n)>1){var r=e.children[e.children.length-2];r.next=n,n.prev=r}else n.prev=null}e.appendChild=r;function i(e,n){t(n);var r=e.parent,i=e.next;if(n.next=i,n.prev=e,e.next=n,n.parent=r,i){if(i.prev=n,r){var a=r.children;a.splice(a.lastIndexOf(i),0,n)}}else r&&r.children.push(n)}e.append=i;function a(e,n){if(t(n),n.parent=e,n.prev=null,e.children.unshift(n)!==1){var r=e.children[1];r.prev=n,n.next=r}else n.next=null}e.prependChild=a;function o(e,n){t(n);var r=e.parent;if(r){var i=r.children;i.splice(i.indexOf(e),0,n)}e.prev&&(e.prev.next=n),n.parent=r,n.prev=e.prev,n.next=e,e.prev=n}e.prepend=o})),ph=c((e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.findAll=e.existsOne=e.findOne=e.findOneChild=e.find=e.filter=void 0;var t=nh();function n(e,t,n,i){return n===void 0&&(n=!0),i===void 0&&(i=1/0),Array.isArray(t)||(t=[t]),r(e,t,n,i)}e.filter=n;function r(e,n,i,a){for(var o=[],s=0,c=n;s<c.length;s++){var l=c[s];if(e(l)&&(o.push(l),--a<=0))break;if(i&&(0,t.hasChildren)(l)&&l.children.length>0){var u=r(e,l.children,i,a);if(o.push.apply(o,u),a-=u.length,a<=0)break}}return o}e.find=r;function i(e,t){return t.find(e)}e.findOneChild=i;function a(e,n,r){r===void 0&&(r=!0);for(var i=null,o=0;o<n.length&&!i;o++){var s=n[o];if((0,t.isTag)(s))e(s)?i=s:r&&s.children.length>0&&(i=a(e,s.children,!0));else continue}return i}e.findOne=a;function o(e,n){return n.some(function(n){return(0,t.isTag)(n)&&(e(n)||n.children.length>0&&o(e,n.children))})}e.existsOne=o;function s(e,n){for(var r=[],i=n.filter(t.isTag),a;a=i.shift();){var o=a.children?.filter(t.isTag);o&&o.length>0&&i.unshift.apply(i,o),e(a)&&r.push(a)}return r}e.findAll=s})),mh=c((e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.getElementsByTagType=e.getElementsByTagName=e.getElementById=e.getElements=e.testElement=void 0;var t=nh(),n=ph(),r={tag_name:function(e){return typeof e==`function`?function(n){return(0,t.isTag)(n)&&e(n.name)}:e===`*`?t.isTag:function(n){return(0,t.isTag)(n)&&n.name===e}},tag_type:function(e){return typeof e==`function`?function(t){return e(t.type)}:function(t){return t.type===e}},tag_contains:function(e){return typeof e==`function`?function(n){return(0,t.isText)(n)&&e(n.data)}:function(n){return(0,t.isText)(n)&&n.data===e}}};function i(e,n){return typeof n==`function`?function(r){return(0,t.isTag)(r)&&n(r.attribs[e])}:function(r){return(0,t.isTag)(r)&&r.attribs[e]===n}}function a(e,t){return function(n){return e(n)||t(n)}}function o(e){var t=Object.keys(e).map(function(t){var n=e[t];return Object.prototype.hasOwnProperty.call(r,t)?r[t](n):i(t,n)});return t.length===0?null:t.reduce(a)}function s(e,t){var n=o(e);return n?n(t):!0}e.testElement=s;function c(e,t,r,i){i===void 0&&(i=1/0);var a=o(e);return a?(0,n.filter)(a,t,r,i):[]}e.getElements=c;function l(e,t,r){return r===void 0&&(r=!0),Array.isArray(t)||(t=[t]),(0,n.findOne)(i(`id`,e),t,r)}e.getElementById=l;function u(e,t,i,a){return i===void 0&&(i=!0),a===void 0&&(a=1/0),(0,n.filter)(r.tag_name(e),t,i,a)}e.getElementsByTagName=u;function d(e,t,i,a){return i===void 0&&(i=!0),a===void 0&&(a=1/0),(0,n.filter)(r.tag_type(e),t,i,a)}e.getElementsByTagType=d})),hh=c((e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.uniqueSort=e.compareDocumentPosition=e.DocumentPosition=e.removeSubsets=void 0;var t=nh();function n(e){for(var t=e.length;--t>=0;){var n=e[t];if(t>0&&e.lastIndexOf(n,t-1)>=0){e.splice(t,1);continue}for(var r=n.parent;r;r=r.parent)if(e.includes(r)){e.splice(t,1);break}}return e}e.removeSubsets=n;var r;(function(e){e[e.DISCONNECTED=1]=`DISCONNECTED`,e[e.PRECEDING=2]=`PRECEDING`,e[e.FOLLOWING=4]=`FOLLOWING`,e[e.CONTAINS=8]=`CONTAINS`,e[e.CONTAINED_BY=16]=`CONTAINED_BY`})(r=e.DocumentPosition||={});function i(e,n){var i=[],a=[];if(e===n)return 0;for(var o=(0,t.hasChildren)(e)?e:e.parent;o;)i.unshift(o),o=o.parent;for(o=(0,t.hasChildren)(n)?n:n.parent;o;)a.unshift(o),o=o.parent;for(var s=Math.min(i.length,a.length),c=0;c<s&&i[c]===a[c];)c++;if(c===0)return r.DISCONNECTED;var l=i[c-1],u=l.children,d=i[c],f=a[c];return u.indexOf(d)>u.indexOf(f)?l===n?r.FOLLOWING|r.CONTAINED_BY:r.FOLLOWING:l===e?r.PRECEDING|r.CONTAINS:r.PRECEDING}e.compareDocumentPosition=i;function a(e){return e=e.filter(function(e,t,n){return!n.includes(e,t+1)}),e.sort(function(e,t){var n=i(e,t);return n&r.PRECEDING?-1:n&r.FOLLOWING?1:0}),e}e.uniqueSort=a})),gh=c((e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.getFeed=void 0;var t=uh(),n=mh();function r(e){var t=l(f,e);return t?t.name===`feed`?i(t):a(t):null}e.getFeed=r;function i(e){var t=e.children,r={type:`atom`,items:(0,n.getElementsByTagName)(`entry`,t).map(function(e){var t=e.children,n={media:c(t)};d(n,`id`,`id`,t),d(n,`title`,`title`,t);var r=l(`link`,t)?.attribs.href;r&&(n.link=r);var i=u(`summary`,t)||u(`content`,t);i&&(n.description=i);var a=u(`updated`,t);return a&&(n.pubDate=new Date(a)),n})};d(r,`id`,`id`,t),d(r,`title`,`title`,t);var i=l(`link`,t)?.attribs.href;i&&(r.link=i),d(r,`description`,`subtitle`,t);var a=u(`updated`,t);return a&&(r.updated=new Date(a)),d(r,`author`,`email`,t,!0),r}function a(e){var t=l(`channel`,e.children)?.children??[],r={type:e.name.substr(0,3),id:``,items:(0,n.getElementsByTagName)(`item`,e.children).map(function(e){var t=e.children,n={media:c(t)};d(n,`id`,`guid`,t),d(n,`title`,`title`,t),d(n,`link`,`link`,t),d(n,`description`,`description`,t);var r=u(`pubDate`,t);return r&&(n.pubDate=new Date(r)),n})};d(r,`title`,`title`,t),d(r,`link`,`link`,t),d(r,`description`,`description`,t);var i=u(`lastBuildDate`,t);return i&&(r.updated=new Date(i)),d(r,`author`,`managingEditor`,t,!0),r}var o=[`url`,`type`,`lang`],s=[`fileSize`,`bitrate`,`framerate`,`samplingrate`,`channels`,`duration`,`height`,`width`];function c(e){return(0,n.getElementsByTagName)(`media:content`,e).map(function(e){for(var t=e.attribs,n={medium:t.medium,isDefault:!!t.isDefault},r=0,i=o;r<i.length;r++){var a=i[r];t[a]&&(n[a]=t[a])}for(var c=0,l=s;c<l.length;c++){var a=l[c];t[a]&&(n[a]=parseInt(t[a],10))}return t.expression&&(n.expression=t.expression),n})}function l(e,t){return(0,n.getElementsByTagName)(e,t,!0,1)[0]}function u(e,r,i){return i===void 0&&(i=!1),(0,t.textContent)((0,n.getElementsByTagName)(e,r,i,1)).trim()}function d(e,t,n,r,i){i===void 0&&(i=!1);var a=u(n,r,i);a&&(e[t]=a)}function f(e){return e===`rss`||e===`feed`||e===`rdf:RDF`}})),_h=c((e=>{var t=e&&e.__createBinding||(Object.create?(function(e,t,n,r){r===void 0&&(r=n);var i=Object.getOwnPropertyDescriptor(t,n);(!i||(`get`in i?!t.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,i)}):(function(e,t,n,r){r===void 0&&(r=n),e[r]=t[n]})),n=e&&e.__exportStar||function(e,n){for(var r in e)r!=="default"&&!Object.prototype.hasOwnProperty.call(n,r)&&t(n,e,r)};Object.defineProperty(e,"__esModule",{value:!0}),e.hasChildren=e.isDocument=e.isComment=e.isText=e.isCDATA=e.isTag=void 0,n(uh(),e),n(dh(),e),n(fh(),e),n(ph(),e),n(mh(),e),n(hh(),e),n(gh(),e);var r=nh();Object.defineProperty(e,"isTag",{enumerable:!0,get:function(){return r.isTag}}),Object.defineProperty(e,"isCDATA",{enumerable:!0,get:function(){return r.isCDATA}}),Object.defineProperty(e,"isText",{enumerable:!0,get:function(){return r.isText}}),Object.defineProperty(e,"isComment",{enumerable:!0,get:function(){return r.isComment}}),Object.defineProperty(e,"isDocument",{enumerable:!0,get:function(){return r.isDocument}}),Object.defineProperty(e,"hasChildren",{enumerable:!0,get:function(){return r.hasChildren}})})),vh=c((e=>{var t=e&&e.__createBinding||(Object.create?(function(e,t,n,r){r===void 0&&(r=n);var i=Object.getOwnPropertyDescriptor(t,n);(!i||(`get`in i?!t.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,i)}):(function(e,t,n,r){r===void 0&&(r=n),e[r]=t[n]})),n=e&&e.__setModuleDefault||(Object.create?(function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}):function(e,t){e.default=t}),r=e&&e.__importStar||function(e){if(e&&e.__esModule)return e;var r={};if(e!=null)for(var i in e)i!=="default"&&Object.prototype.hasOwnProperty.call(e,i)&&t(r,e,i);return n(r,e),r},i=e&&e.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(e,"__esModule",{value:!0}),e.DefaultHandler=e.DomUtils=e.parseFeed=e.getFeed=e.ElementType=e.Tokenizer=e.createDomStream=e.parseDOM=e.parseDocument=e.DomHandler=e.Parser=void 0;var a=$m();Object.defineProperty(e,"Parser",{enumerable:!0,get:function(){return a.Parser}});var o=nh();Object.defineProperty(e,"DomHandler",{enumerable:!0,get:function(){return o.DomHandler}}),Object.defineProperty(e,"DefaultHandler",{enumerable:!0,get:function(){return o.DomHandler}});function s(e,t){var n=new o.DomHandler(void 0,t);return new a.Parser(n,t).end(e),n.root}e.parseDocument=s;function c(e,t){return s(e,t).children}e.parseDOM=c;function l(e,t,n){var r=new o.DomHandler(e,t,n);return new a.Parser(r,t)}e.createDomStream=l;var u=Qm();Object.defineProperty(e,"Tokenizer",{enumerable:!0,get:function(){return i(u).default}}),e.ElementType=r(rh());var d=_h();Object.defineProperty(e,"getFeed",{enumerable:!0,get:function(){return d.getFeed}});function f(e,t){return t===void 0&&(t={xmlMode:!0}),(0,d.getFeed)(c(e,t))}e.parseFeed=f,e.DomUtils=r(_h())})),yh=c(((e,t)=>{function n(e){return!0}t.exports={shouldProcessEveryNode:n}})),bh=c(((e,t)=>{var n=1/0,r=`[object Symbol]`,i=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,a=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,o=`\\ud800-\\udfff`,s=`\\u0300-\\u036f\\ufe20-\\ufe23`,c=`\\u20d0-\\u20f0`,l=`\\u2700-\\u27bf`,u=`a-z\\xdf-\\xf6\\xf8-\\xff`,d=`\\xac\\xb1\\xd7\\xf7`,f=`\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf`,p=`\\u2000-\\u206f`,m=` \\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`,h=`A-Z\\xc0-\\xd6\\xd8-\\xde`,g=`\\ufe0e\\ufe0f`,_=d+f+p+m,v=`['’]`,y=`[`+o+`]`,b=`[`+_+`]`,x=`[`+s+c+`]`,S=`\\d+`,C=`[`+l+`]`,w=`[`+u+`]`,T=`[^`+o+_+S+l+u+h+`]`,E=`\\ud83c[\\udffb-\\udfff]`,D=`(?:`+x+`|`+E+`)`,O=`[^`+o+`]`,k=`(?:\\ud83c[\\udde6-\\uddff]){2}`,A=`[\\ud800-\\udbff][\\udc00-\\udfff]`,j=`[`+h+`]`,M=`\\u200d`,N=`(?:`+w+`|`+T+`)`,P=`(?:`+j+`|`+T+`)`,F=`(?:`+v+`(?:d|ll|m|re|s|t|ve))?`,I=`(?:`+v+`(?:D|LL|M|RE|S|T|VE))?`,L=D+`?`,R=`[`+g+`]?`,ee=`(?:`+M+`(?:`+[O,k,A].join(`|`)+`)`+R+L+`)*`,z=R+L+ee,te=`(?:`+[C,k,A].join(`|`)+`)`+z,ne=`(?:`+[O+x+`?`,x,k,A,y].join(`|`)+`)`,re=RegExp(v,`g`),ie=RegExp(x,`g`),ae=RegExp(E+`(?=`+E+`)|`+ne+z,`g`),oe=RegExp([j+`?`+w+`+`+F+`(?=`+[b,j,`$`].join(`|`)+`)`,P+`+`+I+`(?=`+[b,j+N,`$`].join(`|`)+`)`,j+`?`+N+`+`+F,j+`+`+I,S,te].join(`|`),`g`),se=RegExp(`[`+M+o+s+c+g+`]`),ce=/[a-z][A-Z]|[A-Z]{2,}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,le={À:`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`},ue=typeof global==`object`&&global&&global.Object===Object&&global,de=typeof self==`object`&&self&&self.Object===Object&&self,fe=ue||de||Function(`return this`)();function B(e,t,n,r){var i=-1,a=e?e.length:0;for(r&&a&&(n=e[++i]);++i<a;)n=t(n,e[i],i,e);return n}function pe(e){return e.split(``)}function me(e){return e.match(i)||[]}function he(e){return function(t){return e?.[t]}}var ge=he(le);function V(e){return se.test(e)}function _e(e){return ce.test(e)}function ve(e){return V(e)?ye(e):pe(e)}function ye(e){return e.match(ae)||[]}function be(e){return e.match(oe)||[]}var xe=Object.prototype.toString,Se=fe.Symbol,Ce=Se?Se.prototype:void 0,we=Ce?Ce.toString:void 0;function Te(e,t,n){var r=-1,i=e.length;t<0&&(t=-t>i?0:i+t),n=n>i?i:n,n<0&&(n+=i),i=t>n?0:n-t>>>0,t>>>=0;for(var a=Array(i);++r<i;)a[r]=e[r+t];return a}function Ee(e){if(typeof e==`string`)return e;if(je(e))return we?we.call(e):``;var t=e+``;return t==`0`&&1/e==-n?`-0`:t}function De(e,t,n){var r=e.length;return n=n===void 0?r:n,!t&&n>=r?e:Te(e,t,n)}function Oe(e){return function(t){t=Me(t);var n=V(t)?ve(t):void 0,r=n?n[0]:t.charAt(0),i=n?De(n,1).join(``):t.slice(1);return r[e]()+i}}function ke(e){return function(t){return B(Le(Fe(t).replace(re,``)),e,``)}}function Ae(e){return!!e&&typeof e==`object`}function je(e){return typeof e==`symbol`||Ae(e)&&xe.call(e)==r}function Me(e){return e==null?``:Ee(e)}var Ne=ke(function(e,t,n){return t=t.toLowerCase(),e+(n?Pe(t):t)});function Pe(e){return Ie(Me(e).toLowerCase())}function Fe(e){return e=Me(e),e&&e.replace(a,ge).replace(ie,``)}var Ie=Oe(`toUpperCase`);function Le(e,t,n){return e=Me(e),t=n?void 0:t,t===void 0?_e(e)?be(e):me(e):e.match(t)||[]}t.exports=Ne})),xh=c(((e,t)=>{t.exports=`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`.split(`.`).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`.split(`.`)).reduce(function(e,t){let n=t.toLowerCase();return n!==t&&(e[n]=t),e},{})})),Sh=c(((e,t)=>{var n=bh(),r=require("react"),i=xh();function a(e){e||=``;let t=e.split(/;(?!base64)/),r,i,a,o={};for(let e=0;e<t.length;++e)r=t[e].split(`:`),r.length>2&&(r[1]=r.slice(1).join(`:`)),i=r[0],a=r[1],typeof a==`string`&&(a=a.trim()),i!=null&&a!=null&&i.length>0&&a.length>0&&(o[n(i)]=a);return o}var o=[`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`];function s(e,t,n,s){let c={key:t};e.attribs&&(c=Object.entries(e.attribs).reduce((e,[t,n])=>(t=i[t.replace(/[-:]/,``)]||t,t===`style`?n=a(n):t===`class`?t=`className`:t===`for`?t=`htmlFor`:t.startsWith(`on`)&&(n=Function(n)),o.includes(t)&&(n||``)===``&&(n=t),e[t]=n,e),c)),s||=[];let l=n==null?s:[n].concat(s);return r.createElement.apply(null,[e.name,c].concat(l))}t.exports={createElement:s}})),Ch=c(((e,t)=>{var n=Sh(),r=[`area`,`base`,`br`,`col`,`embed`,`hr`,`img`,`input`,`keygen`,`link`,`meta`,`param`,`source`,`track`,`wbr`,`menuitem`,`textarea`];function i(){function e(e,t,i){return e.type===`text`?e.data:e.type===`comment`?!1:r.indexOf(e.name)>-1?n.createElement(e,i):n.createElement(e,i,e.data,t)}return{processDefaultNode:e}}t.exports=i})),wh=c(((e,t)=>{var n=yh(),r=Ch();function i(){let e=new r;return{defaultProcessingInstructions:[{shouldProcessNode:n.shouldProcessEveryNode,processNode:e.processDefaultNode}]}}t.exports=i})),Th=c(((e,t)=>{function n(){return!0}t.exports={alwaysValid:n}})),Eh=c(((e,t)=>{var n=vh().Parser,r=nh().DomHandler,i=wh(),a=Th(),o=Sh();function s(e){function t(t){e||={},e.decodeEntities=!0;let i=new r;return new n(i,e).parseComplete(t),i.dom.filter(function(e){return e.type!==`directive`})}function s(e,t,n,r,i){if(t(e)){(r||[]).forEach(t=>{t.shouldPreprocessNode(e)&&t.preprocessNode(e,i)});let a=(n||[]).find(t=>t.shouldProcessNode(e));if(a!=null){let c=(e.children||[]).map((e,i)=>s(e,t,n,r,i)).filter(e=>e!=null&&e!==!1);return a.replaceChildren?o.createElement(e,i,e.data,[a.processNode(e,c,i)]):a.processNode(e,c,i)}else return!1}else return!1}function c(e,n,r,i){let a=t(e).map(function(e,t){return s(e,n,r,i,t)});return a.length<=1?a[0]:a}function l(e){let t=new i;return c(e,a.alwaysValid,t.defaultProcessingInstructions)}return{parse:l,parseWithInstructions:c}}t.exports=s})),Dh=c(((e,t)=>{t.exports={Parser:Eh(),ProcessingInstructions:wh(),IsValidNodeDefinitions:Th(),ProcessNodeDefinitions:Ch()}})),Oh=c((e=>{e.byteLength=c,e.toByteArray=u,e.fromByteArray=p;for(var t=[],n=[],r=typeof Uint8Array<`u`?Uint8Array:Array,i=`ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/`,a=0,o=i.length;a<o;++a)t[a]=i[a],n[i.charCodeAt(a)]=a;n[45]=62,n[95]=63;function s(e){var t=e.length;if(t%4>0)throw Error(`Invalid string. Length must be a multiple of 4`);var n=e.indexOf(`=`);n===-1&&(n=t);var r=n===t?0:4-n%4;return[n,r]}function c(e){var t=s(e),n=t[0],r=t[1];return(n+r)*3/4-r}function l(e,t,n){return(t+n)*3/4-n}function u(e){var t,i=s(e),a=i[0],o=i[1],c=new r(l(e,a,o)),u=0,d=o>0?a-4:a,f;for(f=0;f<d;f+=4)t=n[e.charCodeAt(f)]<<18|n[e.charCodeAt(f+1)]<<12|n[e.charCodeAt(f+2)]<<6|n[e.charCodeAt(f+3)],c[u++]=t>>16&255,c[u++]=t>>8&255,c[u++]=t&255;return o===2&&(t=n[e.charCodeAt(f)]<<2|n[e.charCodeAt(f+1)]>>4,c[u++]=t&255),o===1&&(t=n[e.charCodeAt(f)]<<10|n[e.charCodeAt(f+1)]<<4|n[e.charCodeAt(f+2)]>>2,c[u++]=t>>8&255,c[u++]=t&255),c}function d(e){return t[e>>18&63]+t[e>>12&63]+t[e>>6&63]+t[e&63]}function f(e,t,n){for(var r,i=[],a=t;a<n;a+=3)r=(e[a]<<16&16711680)+(e[a+1]<<8&65280)+(e[a+2]&255),i.push(d(r));return i.join(``)}function p(e){for(var n,r=e.length,i=r%3,a=[],o=16383,s=0,c=r-i;s<c;s+=o)a.push(f(e,s,s+o>c?c:s+o));return i===1?(n=e[r-1],a.push(t[n>>2]+t[n<<4&63]+`==`)):i===2&&(n=(e[r-2]<<8)+e[r-1],a.push(t[n>>10]+t[n>>4&63]+t[n<<2&63]+`=`)),a.join(``)}})),kh=c((e=>{e.read=function(e,t,n,r,i){var a,o,s=i*8-r-1,c=(1<<s)-1,l=c>>1,u=-7,d=n?i-1:0,f=n?-1:1,p=e[t+d];for(d+=f,a=p&(1<<-u)-1,p>>=-u,u+=s;u>0;a=a*256+e[t+d],d+=f,u-=8);for(o=a&(1<<-u)-1,a>>=-u,u+=r;u>0;o=o*256+e[t+d],d+=f,u-=8);if(a===0)a=1-l;else if(a===c)return o?NaN:(p?-1:1)*(1/0);else o+=2**r,a-=l;return(p?-1:1)*o*2**(a-r)},e.write=function(e,t,n,r,i,a){var o,s,c,l=a*8-i-1,u=(1<<l)-1,d=u>>1,f=i===23?2**-24-2**-77:0,p=r?0:a-1,m=r?1:-1,h=+(t<0||t===0&&1/t<0);for(t=Math.abs(t),isNaN(t)||t===1/0?(s=+!!isNaN(t),o=u):(o=Math.floor(Math.log(t)/Math.LN2),t*(c=2**-o)<1&&(o--,c*=2),o+d>=1?t+=f/c:t+=f*2**(1-d),t*c>=2&&(o++,c/=2),o+d>=u?(s=0,o=u):o+d>=1?(s=(t*c-1)*2**i,o+=d):(s=t*2**(d-1)*2**i,o=0));i>=8;e[n+p]=s&255,p+=m,s/=256,i-=8);for(o=o<<i|s,l+=i;l>0;e[n+p]=o&255,p+=m,o/=256,l-=8);e[n+p-m]|=h*128}})),Ah=c((e=>{var t=Oh(),n=kh(),r=typeof Symbol==`function`&&typeof Symbol.for==`function`?Symbol.for(`nodejs.util.inspect.custom`):null;e.Buffer=s,e.SlowBuffer=v,e.INSPECT_MAX_BYTES=50;var i=2147483647;e.kMaxLength=i,s.TYPED_ARRAY_SUPPORT=a(),!s.TYPED_ARRAY_SUPPORT&&typeof console<`u`&&typeof console.error==`function`&&console.error("This browser lacks typed array (Uint8Array) support which is required by `buffer` v5.x. Use `buffer` v4.x if you require old browser support.");function a(){try{let e=new Uint8Array(1),t={foo:function(){return 42}};return Object.setPrototypeOf(t,Uint8Array.prototype),Object.setPrototypeOf(e,t),e.foo()===42}catch{return!1}}Object.defineProperty(s.prototype,"parent",{enumerable:!0,get:function(){if(s.isBuffer(this))return this.buffer}}),Object.defineProperty(s.prototype,"offset",{enumerable:!0,get:function(){if(s.isBuffer(this))return this.byteOffset}});function o(e){if(e>i)throw RangeError(`The value "`+e+`" is invalid for option "size"`);let t=new Uint8Array(e);return Object.setPrototypeOf(t,s.prototype),t}function s(e,t,n){if(typeof e==`number`){if(typeof t==`string`)throw TypeError(`The "string" argument must be of type string. Received type number`);return d(e)}return c(e,t,n)}s.poolSize=8192;function c(e,t,n){if(typeof e==`string`)return f(e,t);if(ArrayBuffer.isView(e))return m(e);if(e==null)throw TypeError(`The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type `+typeof e);if(V(e,ArrayBuffer)||e&&V(e.buffer,ArrayBuffer)||typeof SharedArrayBuffer<`u`&&(V(e,SharedArrayBuffer)||e&&V(e.buffer,SharedArrayBuffer)))return h(e,t,n);if(typeof e==`number`)throw TypeError(`The "value" argument must not be of type number. Received type number`);let r=e.valueOf&&e.valueOf();if(r!=null&&r!==e)return s.from(r,t,n);let i=g(e);if(i)return i;if(typeof Symbol<`u`&&Symbol.toPrimitive!=null&&typeof e[Symbol.toPrimitive]==`function`)return s.from(e[Symbol.toPrimitive](`string`),t,n);throw TypeError(`The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type `+typeof e)}s.from=function(e,t,n){return c(e,t,n)},Object.setPrototypeOf(s.prototype,Uint8Array.prototype),Object.setPrototypeOf(s,Uint8Array);function l(e){if(typeof e!=`number`)throw TypeError(`"size" argument must be of type number`);if(e<0)throw RangeError(`The value "`+e+`" is invalid for option "size"`)}function u(e,t,n){return l(e),e<=0||t===void 0?o(e):typeof n==`string`?o(e).fill(t,n):o(e).fill(t)}s.alloc=function(e,t,n){return u(e,t,n)};function d(e){return l(e),o(e<0?0:_(e)|0)}s.allocUnsafe=function(e){return d(e)},s.allocUnsafeSlow=function(e){return d(e)};function f(e,t){if((typeof t!=`string`||t===``)&&(t=`utf8`),!s.isEncoding(t))throw TypeError(`Unknown encoding: `+t);let n=y(e,t)|0,r=o(n),i=r.write(e,t);return i!==n&&(r=r.slice(0,i)),r}function p(e){let t=e.length<0?0:_(e.length)|0,n=o(t);for(let r=0;r<t;r+=1)n[r]=e[r]&255;return n}function m(e){if(V(e,Uint8Array)){let t=new Uint8Array(e);return h(t.buffer,t.byteOffset,t.byteLength)}return p(e)}function h(e,t,n){if(t<0||e.byteLength<t)throw RangeError(`"offset" is outside of buffer bounds`);if(e.byteLength<t+(n||0))throw RangeError(`"length" is outside of buffer bounds`);let r;return r=t===void 0&&n===void 0?new Uint8Array(e):n===void 0?new Uint8Array(e,t):new Uint8Array(e,t,n),Object.setPrototypeOf(r,s.prototype),r}function g(e){if(s.isBuffer(e)){let t=_(e.length)|0,n=o(t);return n.length===0||e.copy(n,0,0,t),n}if(e.length!==void 0)return typeof e.length!=`number`||_e(e.length)?o(0):p(e);if(e.type===`Buffer`&&Array.isArray(e.data))return p(e.data)}function _(e){if(e>=i)throw RangeError(`Attempt to allocate Buffer larger than maximum size: 0x`+i.toString(16)+` bytes`);return e|0}function v(e){return+e!=e&&(e=0),s.alloc(+e)}s.isBuffer=function(e){return e!=null&&e._isBuffer===!0&&e!==s.prototype},s.compare=function(e,t){if(V(e,Uint8Array)&&(e=s.from(e,e.offset,e.byteLength)),V(t,Uint8Array)&&(t=s.from(t,t.offset,t.byteLength)),!s.isBuffer(e)||!s.isBuffer(t))throw TypeError(`The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array`);if(e===t)return 0;let n=e.length,r=t.length;for(let i=0,a=Math.min(n,r);i<a;++i)if(e[i]!==t[i]){n=e[i],r=t[i];break}return n<r?-1:+(r<n)},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(!Array.isArray(e))throw TypeError(`"list" argument must be an Array of Buffers`);if(e.length===0)return s.alloc(0);let n;if(t===void 0)for(t=0,n=0;n<e.length;++n)t+=e[n].length;let r=s.allocUnsafe(t),i=0;for(n=0;n<e.length;++n){let t=e[n];if(V(t,Uint8Array))i+t.length>r.length?(s.isBuffer(t)||(t=s.from(t)),t.copy(r,i)):Uint8Array.prototype.set.call(r,t,i);else if(s.isBuffer(t))t.copy(r,i);else throw TypeError(`"list" argument must be an Array of Buffers`);i+=t.length}return r};function y(e,t){if(s.isBuffer(e))return e.length;if(ArrayBuffer.isView(e)||V(e,ArrayBuffer))return e.byteLength;if(typeof e!=`string`)throw TypeError(`The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type `+typeof e);let n=e.length,r=arguments.length>2&&arguments[2]===!0;if(!r&&n===0)return 0;let i=!1;for(;;)switch(t){case`ascii`:case`latin1`:case`binary`:return n;case`utf8`:case`utf-8`:return B(e).length;case`ucs2`:case`ucs-2`:case`utf16le`:case`utf-16le`:return n*2;case`hex`:return n>>>1;case`base64`:return he(e).length;default:if(i)return r?-1:B(e).length;t=(``+t).toLowerCase(),i=!0}}s.byteLength=y;function b(e,t,n){let r=!1;if((t===void 0||t<0)&&(t=0),t>this.length||((n===void 0||n>this.length)&&(n=this.length),n<=0)||(n>>>=0,t>>>=0,n<=t))return``;for(e||=`utf8`;;)switch(e){case`hex`:return F(this,t,n);case`utf8`:case`utf-8`:return A(this,t,n);case`ascii`:return N(this,t,n);case`latin1`:case`binary`:return P(this,t,n);case`base64`:return k(this,t,n);case`ucs2`:case`ucs-2`:case`utf16le`:case`utf-16le`:return I(this,t,n);default:if(r)throw TypeError(`Unknown encoding: `+e);e=(e+``).toLowerCase(),r=!0}}s.prototype._isBuffer=!0;function x(e,t,n){let r=e[t];e[t]=e[n],e[n]=r}s.prototype.swap16=function(){let e=this.length;if(e%2!=0)throw RangeError(`Buffer size must be a multiple of 16-bits`);for(let t=0;t<e;t+=2)x(this,t,t+1);return this},s.prototype.swap32=function(){let e=this.length;if(e%4!=0)throw RangeError(`Buffer size must be a multiple of 32-bits`);for(let t=0;t<e;t+=4)x(this,t,t+3),x(this,t+1,t+2);return this},s.prototype.swap64=function(){let e=this.length;if(e%8!=0)throw RangeError(`Buffer size must be a multiple of 64-bits`);for(let t=0;t<e;t+=8)x(this,t,t+7),x(this,t+1,t+6),x(this,t+2,t+5),x(this,t+3,t+4);return this},s.prototype.toString=function(){let e=this.length;return e===0?``:arguments.length===0?A(this,0,e):b.apply(this,arguments)},s.prototype.toLocaleString=s.prototype.toString,s.prototype.equals=function(e){if(!s.isBuffer(e))throw TypeError(`Argument must be a Buffer`);return this===e?!0:s.compare(this,e)===0},s.prototype.inspect=function(){let t=``,n=e.INSPECT_MAX_BYTES;return t=this.toString(`hex`,0,n).replace(/(.{2})/g,`$1 `).trim(),this.length>n&&(t+=` ... `),`<Buffer `+t+`>`},r&&(s.prototype[r]=s.prototype.inspect),s.prototype.compare=function(e,t,n,r,i){if(V(e,Uint8Array)&&(e=s.from(e,e.offset,e.byteLength)),!s.isBuffer(e))throw TypeError(`The "target" argument must be one of type Buffer or Uint8Array. Received type `+typeof e);if(t===void 0&&(t=0),n===void 0&&(n=e?e.length:0),r===void 0&&(r=0),i===void 0&&(i=this.length),t<0||n>e.length||r<0||i>this.length)throw RangeError(`out of range index`);if(r>=i&&t>=n)return 0;if(r>=i)return-1;if(t>=n)return 1;if(t>>>=0,n>>>=0,r>>>=0,i>>>=0,this===e)return 0;let a=i-r,o=n-t,c=Math.min(a,o),l=this.slice(r,i),u=e.slice(t,n);for(let e=0;e<c;++e)if(l[e]!==u[e]){a=l[e],o=u[e];break}return a<o?-1:+(o<a)};function S(e,t,n,r,i){if(e.length===0)return-1;if(typeof n==`string`?(r=n,n=0):n>2147483647?n=2147483647:n<-2147483648&&(n=-2147483648),n=+n,_e(n)&&(n=i?0:e.length-1),n<0&&(n=e.length+n),n>=e.length){if(i)return-1;n=e.length-1}else if(n<0)if(i)n=0;else return-1;if(typeof t==`string`&&(t=s.from(t,r)),s.isBuffer(t))return t.length===0?-1:C(e,t,n,r,i);if(typeof t==`number`)return t&=255,typeof Uint8Array.prototype.indexOf==`function`?i?Uint8Array.prototype.indexOf.call(e,t,n):Uint8Array.prototype.lastIndexOf.call(e,t,n):C(e,[t],n,r,i);throw TypeError(`val must be string, number or Buffer`)}function C(e,t,n,r,i){let a=1,o=e.length,s=t.length;if(r!==void 0&&(r=String(r).toLowerCase(),r===`ucs2`||r===`ucs-2`||r===`utf16le`||r===`utf-16le`)){if(e.length<2||t.length<2)return-1;a=2,o/=2,s/=2,n/=2}function c(e,t){return a===1?e[t]:e.readUInt16BE(t*a)}let l;if(i){let r=-1;for(l=n;l<o;l++)if(c(e,l)===c(t,r===-1?0:l-r)){if(r===-1&&(r=l),l-r+1===s)return r*a}else r!==-1&&(l-=l-r),r=-1}else for(n+s>o&&(n=o-s),l=n;l>=0;l--){let n=!0;for(let r=0;r<s;r++)if(c(e,l+r)!==c(t,r)){n=!1;break}if(n)return l}return-1}s.prototype.includes=function(e,t,n){return this.indexOf(e,t,n)!==-1},s.prototype.indexOf=function(e,t,n){return S(this,e,t,n,!0)},s.prototype.lastIndexOf=function(e,t,n){return S(this,e,t,n,!1)};function w(e,t,n,r){n=Number(n)||0;let i=e.length-n;r?(r=Number(r),r>i&&(r=i)):r=i;let a=t.length;r>a/2&&(r=a/2);let o;for(o=0;o<r;++o){let r=parseInt(t.substr(o*2,2),16);if(_e(r))return o;e[n+o]=r}return o}function T(e,t,n,r){return ge(B(t,e.length-n),e,n,r)}function E(e,t,n,r){return ge(pe(t),e,n,r)}function D(e,t,n,r){return ge(he(t),e,n,r)}function O(e,t,n,r){return ge(me(t,e.length-n),e,n,r)}s.prototype.write=function(e,t,n,r){if(t===void 0)r=`utf8`,n=this.length,t=0;else if(n===void 0&&typeof t==`string`)r=t,n=this.length,t=0;else if(isFinite(t))t>>>=0,isFinite(n)?(n>>>=0,r===void 0&&(r=`utf8`)):(r=n,n=void 0);else throw Error(`Buffer.write(string, encoding, offset[, length]) is no longer supported`);let i=this.length-t;if((n===void 0||n>i)&&(n=i),e.length>0&&(n<0||t<0)||t>this.length)throw RangeError(`Attempt to write outside buffer bounds`);r||=`utf8`;let a=!1;for(;;)switch(r){case`hex`:return w(this,e,t,n);case`utf8`:case`utf-8`:return T(this,e,t,n);case`ascii`:case`latin1`:case`binary`:return E(this,e,t,n);case`base64`:return D(this,e,t,n);case`ucs2`:case`ucs-2`:case`utf16le`:case`utf-16le`:return O(this,e,t,n);default:if(a)throw TypeError(`Unknown encoding: `+r);r=(``+r).toLowerCase(),a=!0}},s.prototype.toJSON=function(){return{type:`Buffer`,data:Array.prototype.slice.call(this._arr||this,0)}};function k(e,n,r){return n===0&&r===e.length?t.fromByteArray(e):t.fromByteArray(e.slice(n,r))}function A(e,t,n){n=Math.min(e.length,n);let r=[],i=t;for(;i<n;){let t=e[i],a=null,o=t>239?4:t>223?3:t>191?2:1;if(i+o<=n){let n,r,s,c;switch(o){case 1:t<128&&(a=t);break;case 2:n=e[i+1],(n&192)==128&&(c=(t&31)<<6|n&63,c>127&&(a=c));break;case 3:n=e[i+1],r=e[i+2],(n&192)==128&&(r&192)==128&&(c=(t&15)<<12|(n&63)<<6|r&63,c>2047&&(c<55296||c>57343)&&(a=c));break;case 4:n=e[i+1],r=e[i+2],s=e[i+3],(n&192)==128&&(r&192)==128&&(s&192)==128&&(c=(t&15)<<18|(n&63)<<12|(r&63)<<6|s&63,c>65535&&c<1114112&&(a=c))}}a===null?(a=65533,o=1):a>65535&&(a-=65536,r.push(a>>>10&1023|55296),a=56320|a&1023),r.push(a),i+=o}return M(r)}var j=4096;function M(e){let t=e.length;if(t<=j)return String.fromCharCode.apply(String,e);let n=``,r=0;for(;r<t;)n+=String.fromCharCode.apply(String,e.slice(r,r+=j));return n}function N(e,t,n){let r=``;n=Math.min(e.length,n);for(let i=t;i<n;++i)r+=String.fromCharCode(e[i]&127);return r}function P(e,t,n){let r=``;n=Math.min(e.length,n);for(let i=t;i<n;++i)r+=String.fromCharCode(e[i]);return r}function F(e,t,n){let r=e.length;(!t||t<0)&&(t=0),(!n||n<0||n>r)&&(n=r);let i=``;for(let r=t;r<n;++r)i+=ve[e[r]];return i}function I(e,t,n){let r=e.slice(t,n),i=``;for(let e=0;e<r.length-1;e+=2)i+=String.fromCharCode(r[e]+r[e+1]*256);return i}s.prototype.slice=function(e,t){let n=this.length;e=~~e,t=t===void 0?n:~~t,e<0?(e+=n,e<0&&(e=0)):e>n&&(e=n),t<0?(t+=n,t<0&&(t=0)):t>n&&(t=n),t<e&&(t=e);let r=this.subarray(e,t);return Object.setPrototypeOf(r,s.prototype),r};function L(e,t,n){if(e%1!=0||e<0)throw RangeError(`offset is not uint`);if(e+t>n)throw RangeError(`Trying to access beyond buffer length`)}s.prototype.readUintLE=s.prototype.readUIntLE=function(e,t,n){e>>>=0,t>>>=0,n||L(e,t,this.length);let r=this[e],i=1,a=0;for(;++a<t&&(i*=256);)r+=this[e+a]*i;return r},s.prototype.readUintBE=s.prototype.readUIntBE=function(e,t,n){e>>>=0,t>>>=0,n||L(e,t,this.length);let r=this[e+--t],i=1;for(;t>0&&(i*=256);)r+=this[e+--t]*i;return r},s.prototype.readUint8=s.prototype.readUInt8=function(e,t){return e>>>=0,t||L(e,1,this.length),this[e]},s.prototype.readUint16LE=s.prototype.readUInt16LE=function(e,t){return e>>>=0,t||L(e,2,this.length),this[e]|this[e+1]<<8},s.prototype.readUint16BE=s.prototype.readUInt16BE=function(e,t){return e>>>=0,t||L(e,2,this.length),this[e]<<8|this[e+1]},s.prototype.readUint32LE=s.prototype.readUInt32LE=function(e,t){return e>>>=0,t||L(e,4,this.length),(this[e]|this[e+1]<<8|this[e+2]<<16)+this[e+3]*16777216},s.prototype.readUint32BE=s.prototype.readUInt32BE=function(e,t){return e>>>=0,t||L(e,4,this.length),this[e]*16777216+(this[e+1]<<16|this[e+2]<<8|this[e+3])},s.prototype.readBigUInt64LE=ye(function(e){e>>>=0,le(e,`offset`);let t=this[e],n=this[e+7];(t===void 0||n===void 0)&&ue(e,this.length-8);let r=t+this[++e]*2**8+this[++e]*2**16+this[++e]*2**24,i=this[++e]+this[++e]*2**8+this[++e]*2**16+n*2**24;return BigInt(r)+(BigInt(i)<<BigInt(32))}),s.prototype.readBigUInt64BE=ye(function(e){e>>>=0,le(e,`offset`);let t=this[e],n=this[e+7];(t===void 0||n===void 0)&&ue(e,this.length-8);let r=t*2**24+this[++e]*2**16+this[++e]*2**8+this[++e],i=this[++e]*2**24+this[++e]*2**16+this[++e]*2**8+n;return(BigInt(r)<<BigInt(32))+BigInt(i)}),s.prototype.readIntLE=function(e,t,n){e>>>=0,t>>>=0,n||L(e,t,this.length);let r=this[e],i=1,a=0;for(;++a<t&&(i*=256);)r+=this[e+a]*i;return i*=128,r>=i&&(r-=2**(8*t)),r},s.prototype.readIntBE=function(e,t,n){e>>>=0,t>>>=0,n||L(e,t,this.length);let r=t,i=1,a=this[e+--r];for(;r>0&&(i*=256);)a+=this[e+--r]*i;return i*=128,a>=i&&(a-=2**(8*t)),a},s.prototype.readInt8=function(e,t){return e>>>=0,t||L(e,1,this.length),this[e]&128?(255-this[e]+1)*-1:this[e]},s.prototype.readInt16LE=function(e,t){e>>>=0,t||L(e,2,this.length);let n=this[e]|this[e+1]<<8;return n&32768?n|4294901760:n},s.prototype.readInt16BE=function(e,t){e>>>=0,t||L(e,2,this.length);let n=this[e+1]|this[e]<<8;return n&32768?n|4294901760:n},s.prototype.readInt32LE=function(e,t){return e>>>=0,t||L(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 e>>>=0,t||L(e,4,this.length),this[e]<<24|this[e+1]<<16|this[e+2]<<8|this[e+3]},s.prototype.readBigInt64LE=ye(function(e){e>>>=0,le(e,`offset`);let t=this[e],n=this[e+7];(t===void 0||n===void 0)&&ue(e,this.length-8);let r=this[e+4]+this[e+5]*2**8+this[e+6]*2**16+(n<<24);return(BigInt(r)<<BigInt(32))+BigInt(t+this[++e]*2**8+this[++e]*2**16+this[++e]*2**24)}),s.prototype.readBigInt64BE=ye(function(e){e>>>=0,le(e,`offset`);let t=this[e],n=this[e+7];(t===void 0||n===void 0)&&ue(e,this.length-8);let r=(t<<24)+this[++e]*2**16+this[++e]*2**8+this[++e];return(BigInt(r)<<BigInt(32))+BigInt(this[++e]*2**24+this[++e]*2**16+this[++e]*2**8+n)}),s.prototype.readFloatLE=function(e,t){return e>>>=0,t||L(e,4,this.length),n.read(this,e,!0,23,4)},s.prototype.readFloatBE=function(e,t){return e>>>=0,t||L(e,4,this.length),n.read(this,e,!1,23,4)},s.prototype.readDoubleLE=function(e,t){return e>>>=0,t||L(e,8,this.length),n.read(this,e,!0,52,8)},s.prototype.readDoubleBE=function(e,t){return e>>>=0,t||L(e,8,this.length),n.read(this,e,!1,52,8)};function R(e,t,n,r,i,a){if(!s.isBuffer(e))throw TypeError(`"buffer" argument must be a Buffer instance`);if(t>i||t<a)throw RangeError(`"value" argument is out of bounds`);if(n+r>e.length)throw RangeError(`Index out of range`)}s.prototype.writeUintLE=s.prototype.writeUIntLE=function(e,t,n,r){if(e=+e,t>>>=0,n>>>=0,!r){let r=2**(8*n)-1;R(this,e,t,n,r,0)}let i=1,a=0;for(this[t]=e&255;++a<n&&(i*=256);)this[t+a]=e/i&255;return t+n},s.prototype.writeUintBE=s.prototype.writeUIntBE=function(e,t,n,r){if(e=+e,t>>>=0,n>>>=0,!r){let r=2**(8*n)-1;R(this,e,t,n,r,0)}let i=n-1,a=1;for(this[t+i]=e&255;--i>=0&&(a*=256);)this[t+i]=e/a&255;return t+n},s.prototype.writeUint8=s.prototype.writeUInt8=function(e,t,n){return e=+e,t>>>=0,n||R(this,e,t,1,255,0),this[t]=e&255,t+1},s.prototype.writeUint16LE=s.prototype.writeUInt16LE=function(e,t,n){return e=+e,t>>>=0,n||R(this,e,t,2,65535,0),this[t]=e&255,this[t+1]=e>>>8,t+2},s.prototype.writeUint16BE=s.prototype.writeUInt16BE=function(e,t,n){return e=+e,t>>>=0,n||R(this,e,t,2,65535,0),this[t]=e>>>8,this[t+1]=e&255,t+2},s.prototype.writeUint32LE=s.prototype.writeUInt32LE=function(e,t,n){return e=+e,t>>>=0,n||R(this,e,t,4,4294967295,0),this[t+3]=e>>>24,this[t+2]=e>>>16,this[t+1]=e>>>8,this[t]=e&255,t+4},s.prototype.writeUint32BE=s.prototype.writeUInt32BE=function(e,t,n){return e=+e,t>>>=0,n||R(this,e,t,4,4294967295,0),this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=e&255,t+4};function ee(e,t,n,r,i){ce(t,r,i,e,n,7);let a=Number(t&BigInt(4294967295));e[n++]=a,a>>=8,e[n++]=a,a>>=8,e[n++]=a,a>>=8,e[n++]=a;let o=Number(t>>BigInt(32)&BigInt(4294967295));return e[n++]=o,o>>=8,e[n++]=o,o>>=8,e[n++]=o,o>>=8,e[n++]=o,n}function z(e,t,n,r,i){ce(t,r,i,e,n,7);let a=Number(t&BigInt(4294967295));e[n+7]=a,a>>=8,e[n+6]=a,a>>=8,e[n+5]=a,a>>=8,e[n+4]=a;let o=Number(t>>BigInt(32)&BigInt(4294967295));return e[n+3]=o,o>>=8,e[n+2]=o,o>>=8,e[n+1]=o,o>>=8,e[n]=o,n+8}s.prototype.writeBigUInt64LE=ye(function(e,t=0){return ee(this,e,t,BigInt(0),BigInt(`0xffffffffffffffff`))}),s.prototype.writeBigUInt64BE=ye(function(e,t=0){return z(this,e,t,BigInt(0),BigInt(`0xffffffffffffffff`))}),s.prototype.writeIntLE=function(e,t,n,r){if(e=+e,t>>>=0,!r){let r=2**(8*n-1);R(this,e,t,n,r-1,-r)}let i=0,a=1,o=0;for(this[t]=e&255;++i<n&&(a*=256);)e<0&&o===0&&this[t+i-1]!==0&&(o=1),this[t+i]=(e/a>>0)-o&255;return t+n},s.prototype.writeIntBE=function(e,t,n,r){if(e=+e,t>>>=0,!r){let r=2**(8*n-1);R(this,e,t,n,r-1,-r)}let i=n-1,a=1,o=0;for(this[t+i]=e&255;--i>=0&&(a*=256);)e<0&&o===0&&this[t+i+1]!==0&&(o=1),this[t+i]=(e/a>>0)-o&255;return t+n},s.prototype.writeInt8=function(e,t,n){return e=+e,t>>>=0,n||R(this,e,t,1,127,-128),e<0&&(e=255+e+1),this[t]=e&255,t+1},s.prototype.writeInt16LE=function(e,t,n){return e=+e,t>>>=0,n||R(this,e,t,2,32767,-32768),this[t]=e&255,this[t+1]=e>>>8,t+2},s.prototype.writeInt16BE=function(e,t,n){return e=+e,t>>>=0,n||R(this,e,t,2,32767,-32768),this[t]=e>>>8,this[t+1]=e&255,t+2},s.prototype.writeInt32LE=function(e,t,n){return e=+e,t>>>=0,n||R(this,e,t,4,2147483647,-2147483648),this[t]=e&255,this[t+1]=e>>>8,this[t+2]=e>>>16,this[t+3]=e>>>24,t+4},s.prototype.writeInt32BE=function(e,t,n){return e=+e,t>>>=0,n||R(this,e,t,4,2147483647,-2147483648),e<0&&(e=4294967295+e+1),this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=e&255,t+4},s.prototype.writeBigInt64LE=ye(function(e,t=0){return ee(this,e,t,-BigInt(`0x8000000000000000`),BigInt(`0x7fffffffffffffff`))}),s.prototype.writeBigInt64BE=ye(function(e,t=0){return z(this,e,t,-BigInt(`0x8000000000000000`),BigInt(`0x7fffffffffffffff`))});function te(e,t,n,r,i,a){if(n+r>e.length||n<0)throw RangeError(`Index out of range`)}function ne(e,t,r,i,a){return t=+t,r>>>=0,a||te(e,t,r,4,34028234663852886e22,-34028234663852886e22),n.write(e,t,r,i,23,4),r+4}s.prototype.writeFloatLE=function(e,t,n){return ne(this,e,t,!0,n)},s.prototype.writeFloatBE=function(e,t,n){return ne(this,e,t,!1,n)};function re(e,t,r,i,a){return t=+t,r>>>=0,a||te(e,t,r,8,17976931348623157e292,-17976931348623157e292),n.write(e,t,r,i,52,8),r+8}s.prototype.writeDoubleLE=function(e,t,n){return re(this,e,t,!0,n)},s.prototype.writeDoubleBE=function(e,t,n){return re(this,e,t,!1,n)},s.prototype.copy=function(e,t,n,r){if(!s.isBuffer(e))throw TypeError(`argument should be a Buffer`);if(n||=0,!r&&r!==0&&(r=this.length),t>=e.length&&(t=e.length),t||=0,r>0&&r<n&&(r=n),r===n||e.length===0||this.length===0)return 0;if(t<0)throw RangeError(`targetStart out of bounds`);if(n<0||n>=this.length)throw RangeError(`Index out of range`);if(r<0)throw RangeError(`sourceEnd out of bounds`);r>this.length&&(r=this.length),e.length-t<r-n&&(r=e.length-t+n);let i=r-n;return this===e&&typeof Uint8Array.prototype.copyWithin==`function`?this.copyWithin(t,n,r):Uint8Array.prototype.set.call(e,this.subarray(n,r),t),i},s.prototype.fill=function(e,t,n,r){if(typeof e==`string`){if(typeof t==`string`?(r=t,t=0,n=this.length):typeof n==`string`&&(r=n,n=this.length),r!==void 0&&typeof r!=`string`)throw TypeError(`encoding must be a string`);if(typeof r==`string`&&!s.isEncoding(r))throw TypeError(`Unknown encoding: `+r);if(e.length===1){let t=e.charCodeAt(0);(r===`utf8`&&t<128||r===`latin1`)&&(e=t)}}else typeof e==`number`?e&=255:typeof e==`boolean`&&(e=Number(e));if(t<0||this.length<t||this.length<n)throw RangeError(`Out of range index`);if(n<=t)return this;t>>>=0,n=n===void 0?this.length:n>>>0,e||=0;let i;if(typeof e==`number`)for(i=t;i<n;++i)this[i]=e;else{let a=s.isBuffer(e)?e:s.from(e,r),o=a.length;if(o===0)throw TypeError(`The value "`+e+`" is invalid for argument "value"`);for(i=0;i<n-t;++i)this[i+t]=a[i%o]}return this};var ie={};function ae(e,t,n){ie[e]=class extends n{constructor(){super(),Object.defineProperty(this,"message",{value:t.apply(this,arguments),writable:!0,configurable:!0}),this.name=`${this.name} [${e}]`,this.stack,delete this.name}get code(){return e}set code(e){Object.defineProperty(this,"code",{configurable:!0,enumerable:!0,value:e,writable:!0})}toString(){return`${this.name} [${e}]: ${this.message}`}}}ae(`ERR_BUFFER_OUT_OF_BOUNDS`,function(e){return e?`${e} is outside of buffer bounds`:`Attempt to access memory outside buffer bounds`},RangeError),ae(`ERR_INVALID_ARG_TYPE`,function(e,t){return`The "${e}" argument must be of type number. Received type ${typeof t}`},TypeError),ae(`ERR_OUT_OF_RANGE`,function(e,t,n){let r=`The value of "${e}" is out of range.`,i=n;return Number.isInteger(n)&&Math.abs(n)>2**32?i=oe(String(n)):typeof n==`bigint`&&(i=String(n),(n>BigInt(2)**BigInt(32)||n<-(BigInt(2)**BigInt(32)))&&(i=oe(i)),i+=`n`),r+=` It must be ${t}. Received ${i}`,r},RangeError);function oe(e){let t=``,n=e.length,r=+(e[0]===`-`);for(;n>=r+4;n-=3)t=`_${e.slice(n-3,n)}${t}`;return`${e.slice(0,n)}${t}`}function se(e,t,n){le(t,`offset`),(e[t]===void 0||e[t+n]===void 0)&&ue(t,e.length-(n+1))}function ce(e,t,n,r,i,a){if(e>n||e<t){let r=typeof t==`bigint`?`n`:``,i;throw i=a>3?t===0||t===BigInt(0)?`>= 0${r} and < 2${r} ** ${(a+1)*8}${r}`:`>= -(2${r} ** ${(a+1)*8-1}${r}) and < 2 ** ${(a+1)*8-1}${r}`:`>= ${t}${r} and <= ${n}${r}`,new ie.ERR_OUT_OF_RANGE(`value`,i,e)}se(r,i,a)}function le(e,t){if(typeof e!=`number`)throw new ie.ERR_INVALID_ARG_TYPE(t,`number`,e)}function ue(e,t,n){throw Math.floor(e)===e?t<0?new ie.ERR_BUFFER_OUT_OF_BOUNDS:new ie.ERR_OUT_OF_RANGE(n||`offset`,`>= ${+!!n} and <= ${t}`,e):(le(e,n),new ie.ERR_OUT_OF_RANGE(n||`offset`,`an integer`,e))}var de=/[^+/0-9A-Za-z-_]/g;function fe(e){if(e=e.split(`=`)[0],e=e.trim().replace(de,``),e.length<2)return``;for(;e.length%4!=0;)e+=`=`;return e}function B(e,t){t||=1/0;let n,r=e.length,i=null,a=[];for(let o=0;o<r;++o){if(n=e.charCodeAt(o),n>55295&&n<57344){if(!i){if(n>56319){(t-=3)>-1&&a.push(239,191,189);continue}else if(o+1===r){(t-=3)>-1&&a.push(239,191,189);continue}i=n;continue}if(n<56320){(t-=3)>-1&&a.push(239,191,189),i=n;continue}n=(i-55296<<10|n-56320)+65536}else i&&(t-=3)>-1&&a.push(239,191,189);if(i=null,n<128){if(--t<0)break;a.push(n)}else if(n<2048){if((t-=2)<0)break;a.push(n>>6|192,n&63|128)}else if(n<65536){if((t-=3)<0)break;a.push(n>>12|224,n>>6&63|128,n&63|128)}else if(n<1114112){if((t-=4)<0)break;a.push(n>>18|240,n>>12&63|128,n>>6&63|128,n&63|128)}else throw Error(`Invalid code point`)}return a}function pe(e){let t=[];for(let n=0;n<e.length;++n)t.push(e.charCodeAt(n)&255);return t}function me(e,t){let n,r,i,a=[];for(let o=0;o<e.length&&!((t-=2)<0);++o)n=e.charCodeAt(o),r=n>>8,i=n%256,a.push(i),a.push(r);return a}function he(e){return t.toByteArray(fe(e))}function ge(e,t,n,r){let i;for(i=0;i<r&&!(i+n>=t.length||i>=e.length);++i)t[i+n]=e[i];return i}function V(e,t){return e instanceof t||e!=null&&e.constructor!=null&&e.constructor.name!=null&&e.constructor.name===t.name}function _e(e){return e!==e}var ve=(function(){let e=`0123456789abcdef`,t=Array(256);for(let n=0;n<16;++n){let r=n*16;for(let i=0;i<16;++i)t[r+i]=e[n]+e[i]}return t})();function ye(e){return typeof BigInt>`u`?be:e}function be(){throw Error(`BigInt not supported`)}})),jh=c(((e,t)=>{var n=Ah(),r=n.Buffer;function i(e,t){for(var n in e)t[n]=e[n]}r.from&&r.alloc&&r.allocUnsafe&&r.allocUnsafeSlow?t.exports=n:(i(n,e),e.Buffer=a);function a(e,t,n){return r(e,t,n)}i(r,a),a.from=function(e,t,n){if(typeof e==`number`)throw TypeError(`Argument must not be a number`);return r(e,t,n)},a.alloc=function(e,t,n){if(typeof e!=`number`)throw TypeError(`Argument must be a number`);var i=r(e);return t===void 0?i.fill(0):typeof n==`string`?i.fill(t,n):i.fill(t),i},a.allocUnsafe=function(e){if(typeof e!=`number`)throw TypeError(`Argument must be a number`);return r(e)},a.allocUnsafeSlow=function(e){if(typeof e!=`number`)throw TypeError(`Argument must be a number`);return n.SlowBuffer(e)}})),Mh=c((e=>{var t=jh().Buffer,n=t.isEncoding||function(e){switch(e=``+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 r(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}}function i(e){var i=r(e);if(typeof i!=`string`&&(t.isEncoding===n||!n(e)))throw Error(`Unknown encoding: `+e);return i||e}e.StringDecoder=a;function a(e){this.encoding=i(e);var n;switch(this.encoding){case`utf16le`:this.text=f,this.end=p,n=4;break;case`utf8`:this.fillLast=l,n=4;break;case`base64`:this.text=m,this.end=h,n=3;break;default:this.write=g,this.end=_;return}this.lastNeed=0,this.lastTotal=0,this.lastChar=t.allocUnsafe(n)}a.prototype.write=function(e){if(e.length===0)return``;var t,n;if(this.lastNeed){if(t=this.fillLast(e),t===void 0)return``;n=this.lastNeed,this.lastNeed=0}else n=0;return n<e.length?t?t+this.text(e,n):this.text(e,n):t||``},a.prototype.end=d,a.prototype.text=u,a.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 o(e){return e<=127?0:e>>5==6?2:e>>4==14?3:e>>3==30?4:e>>6==2?-1:-2}function s(e,t,n){var r=t.length-1;if(r<n)return 0;var i=o(t[r]);return i>=0?(i>0&&(e.lastNeed=i-1),i):--r<n||i===-2?0:(i=o(t[r]),i>=0?(i>0&&(e.lastNeed=i-2),i):--r<n||i===-2?0:(i=o(t[r]),i>=0?(i>0&&(i===2?i=0:e.lastNeed=i-3),i):0))}function c(e,t,n){if((t[0]&192)!=128)return e.lastNeed=0,`�`;if(e.lastNeed>1&&t.length>1){if((t[1]&192)!=128)return e.lastNeed=1,`�`;if(e.lastNeed>2&&t.length>2&&(t[2]&192)!=128)return e.lastNeed=2,`�`}}function l(e){var t=this.lastTotal-this.lastNeed,n=c(this,e,t);if(n!==void 0)return n;if(this.lastNeed<=e.length)return e.copy(this.lastChar,t,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal);e.copy(this.lastChar,t,0,e.length),this.lastNeed-=e.length}function u(e,t){var n=s(this,e,t);if(!this.lastNeed)return e.toString(`utf8`,t);this.lastTotal=n;var r=e.length-(n-this.lastNeed);return e.copy(this.lastChar,0,r),e.toString(`utf8`,t,r)}function d(e){var t=e&&e.length?this.write(e):``;return this.lastNeed?t+`�`:t}function f(e,t){if((e.length-t)%2==0){var n=e.toString(`utf16le`,t);if(n){var r=n.charCodeAt(n.length-1);if(r>=55296&&r<=56319)return this.lastNeed=2,this.lastTotal=4,this.lastChar[0]=e[e.length-2],this.lastChar[1]=e[e.length-1],n.slice(0,-1)}return n}return this.lastNeed=1,this.lastTotal=2,this.lastChar[0]=e[e.length-1],e.toString(`utf16le`,t,e.length-1)}function p(e){var t=e&&e.length?this.write(e):``;if(this.lastNeed){var n=this.lastTotal-this.lastNeed;return t+this.lastChar.toString(`utf16le`,0,n)}return t}function m(e,t){var n=(e.length-t)%3;return n===0?e.toString(`base64`,t):(this.lastNeed=3-n,this.lastTotal=3,n===1?this.lastChar[0]=e[e.length-1]:(this.lastChar[0]=e[e.length-2],this.lastChar[1]=e[e.length-1]),e.toString(`base64`,t,e.length-n))}function h(e){var t=e&&e.length?this.write(e):``;return this.lastNeed?t+this.lastChar.toString(`base64`,0,3-this.lastNeed):t}function g(e){return e.toString(this.encoding)}function _(e){return e&&e.length?this.write(e):``}})),Nh=c((e=>{(function(e){e.parser=function(e,t){return new n(e,t)},e.SAXParser=n,e.SAXStream=l,e.createStream=c,e.MAX_BUFFER_LENGTH=64*1024;var t=[`comment`,`sgmlDecl`,`textNode`,`tagName`,`doctype`,`procInstName`,`procInstBody`,`entity`,`attribName`,`attribValue`,`cdata`,`script`];e.EVENTS=[`text`,`processinginstruction`,`sgmldeclaration`,`doctype`,`comment`,`opentagstart`,`attribute`,`opentag`,`closetag`,`opencdata`,`cdata`,`closecdata`,`error`,`end`,`ready`,`script`,`opennamespace`,`closenamespace`];function n(t,r){if(!(this instanceof n))return new n(t,r);var a=this;i(a),a.q=a.c=``,a.bufferCheckPosition=e.MAX_BUFFER_LENGTH,a.opt=r||{},a.opt.lowercase=a.opt.lowercase||a.opt.lowercasetags,a.looseCase=a.opt.lowercase?`toLowerCase`:`toUpperCase`,a.tags=[],a.closed=a.closedRoot=a.sawRoot=!1,a.tag=a.error=null,a.strict=!!t,a.noscript=!!(t||a.opt.noscript),a.state=w.BEGIN,a.strictEntities=a.opt.strictEntities,a.ENTITIES=a.strictEntities?Object.create(e.XML_ENTITIES):Object.create(e.ENTITIES),a.attribList=[],a.opt.xmlns&&(a.ns=Object.create(m)),a.trackPosition=a.opt.position!==!1,a.trackPosition&&(a.position=a.line=a.column=0),E(a,`onready`)}Object.create||(Object.create=function(e){function t(){}return t.prototype=e,new t}),Object.keys||(Object.keys=function(e){var t=[];for(var n in e)e.hasOwnProperty(n)&&t.push(n);return t});function r(n){for(var r=Math.max(e.MAX_BUFFER_LENGTH,10),i=0,a=0,o=t.length;a<o;a++){var s=n[t[a]].length;if(s>r)switch(t[a]){case`textNode`:O(n);break;case`cdata`:D(n,`oncdata`,n.cdata),n.cdata=``;break;case`script`:D(n,`onscript`,n.script),n.script=``;break;default:A(n,`Max buffer length exceeded: `+t[a])}i=Math.max(i,s)}n.bufferCheckPosition=e.MAX_BUFFER_LENGTH-i+n.position}function i(e){for(var n=0,r=t.length;n<r;n++)e[t[n]]=``}function a(e){O(e),e.cdata!==``&&(D(e,`oncdata`,e.cdata),e.cdata=``),e.script!==``&&(D(e,`onscript`,e.script),e.script=``)}n.prototype={end:function(){j(this)},write:te,resume:function(){return this.error=null,this},close:function(){return this.write(null)},flush:function(){a(this)}};var o;try{o=yo().Stream}catch{o=function(){}}var s=e.EVENTS.filter(function(e){return e!==`error`&&e!==`end`});function c(e,t){return new l(e,t)}function l(e,t){if(!(this instanceof l))return new l(e,t);o.apply(this),this._parser=new n(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,s.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})})}l.prototype=Object.create(o.prototype,{constructor:{value:l}}),l.prototype.write=function(e){if(typeof Buffer==`function`&&typeof Buffer.isBuffer==`function`&&Buffer.isBuffer(e)){if(!this._decoder){var t=Mh().StringDecoder;this._decoder=new t(`utf8`)}e=this._decoder.write(e)}return this._parser.write(e.toString()),this.emit(`data`,e),!0},l.prototype.end=function(e){return e&&e.length&&this.write(e),this._parser.end(),!0},l.prototype.on=function(e,t){var n=this;return!n._parser[`on`+e]&&s.indexOf(e)!==-1&&(n._parser[`on`+e]=function(){var t=arguments.length===1?[arguments[0]]:Array.apply(null,arguments);t.splice(0,0,e),n.emit.apply(n,t)}),o.prototype.on.call(n,e,t)};var u=`[CDATA[`,d=`DOCTYPE`,f=`http://www.w3.org/XML/1998/namespace`,p=`http://www.w3.org/2000/xmlns/`,m={xml:f,xmlns:p},h=/[:_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]/,g=/[:_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-]/,_=/[#:_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]/,v=/[#:_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 y(e){return e===` `||e===`
|
|
16
|
+
`||e===`\r`||e===` `}function b(e){return e===`"`||e===`'`}function x(e){return e===`>`||y(e)}function S(e,t){return e.test(t)}function C(e,t){return!S(e,t)}var w=0;for(var T in e.STATE={BEGIN:w++,BEGIN_WHITESPACE:w++,TEXT:w++,TEXT_ENTITY:w++,OPEN_WAKA:w++,SGML_DECL:w++,SGML_DECL_QUOTED:w++,DOCTYPE:w++,DOCTYPE_QUOTED:w++,DOCTYPE_DTD:w++,DOCTYPE_DTD_QUOTED:w++,COMMENT_STARTING:w++,COMMENT:w++,COMMENT_ENDING:w++,COMMENT_ENDED:w++,CDATA:w++,CDATA_ENDING:w++,CDATA_ENDING_2:w++,PROC_INST:w++,PROC_INST_BODY:w++,PROC_INST_ENDING:w++,OPEN_TAG:w++,OPEN_TAG_SLASH:w++,ATTRIB:w++,ATTRIB_NAME:w++,ATTRIB_NAME_SAW_WHITE:w++,ATTRIB_VALUE:w++,ATTRIB_VALUE_QUOTED:w++,ATTRIB_VALUE_CLOSED:w++,ATTRIB_VALUE_UNQUOTED:w++,ATTRIB_VALUE_ENTITY_Q:w++,ATTRIB_VALUE_ENTITY_U:w++,CLOSE_TAG:w++,CLOSE_TAG_SAW_WHITE:w++,SCRIPT:w++,SCRIPT_ENDING:w++},e.XML_ENTITIES={amp:`&`,gt:`>`,lt:`<`,quot:`"`,apos:`'`},e.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(e.ENTITIES).forEach(function(t){var n=e.ENTITIES[t],r=typeof n==`number`?String.fromCharCode(n):n;e.ENTITIES[t]=r}),e.STATE)e.STATE[e.STATE[T]]=T;w=e.STATE;function E(e,t,n){e[t]&&e[t](n)}function D(e,t,n){e.textNode&&O(e),E(e,t,n)}function O(e){e.textNode=k(e.opt,e.textNode),e.textNode&&E(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 A(e,t){return O(e),e.trackPosition&&(t+=`
|
|
17
|
+
Line: `+e.line+`
|
|
18
|
+
Column: `+e.column+`
|
|
19
|
+
Char: `+e.c),t=Error(t),e.error=t,E(e,`onerror`,t),e}function j(e){return e.sawRoot&&!e.closedRoot&&M(e,`Unclosed root tag`),e.state!==w.BEGIN&&e.state!==w.BEGIN_WHITESPACE&&e.state!==w.TEXT&&A(e,`Unexpected end`),O(e),e.c=``,e.closed=!0,E(e,`onend`),n.call(e,e.strict,e.opt),e}function M(e,t){if(typeof e!=`object`||!(e instanceof n))throw Error(`bad call to strictFail`);e.strict&&A(e,t)}function N(e){e.strict||(e.tagName=e.tagName[e.looseCase]());var t=e.tags[e.tags.length-1]||e,n=e.tag={name:e.tagName,attributes:{}};e.opt.xmlns&&(n.ns=t.ns),e.attribList.length=0,D(e,`onopentagstart`,n)}function P(e,t){var n=e.indexOf(`:`)<0?[``,e]:e.split(`:`),r=n[0],i=n[1];return t&&e===`xmlns`&&(r=`xmlns`,i=``),{prefix:r,local:i}}function F(e){if(e.strict||(e.attribName=e.attribName[e.looseCase]()),e.attribList.indexOf(e.attribName)!==-1||e.tag.attributes.hasOwnProperty(e.attribName)){e.attribName=e.attribValue=``;return}if(e.opt.xmlns){var t=P(e.attribName,!0),n=t.prefix,r=t.local;if(n===`xmlns`)if(r===`xml`&&e.attribValue!==f)M(e,`xml: prefix must be bound to `+f+`
|
|
20
|
+
Actual: `+e.attribValue);else if(r===`xmlns`&&e.attribValue!==p)M(e,`xmlns: prefix must be bound to `+p+`
|
|
21
|
+
Actual: `+e.attribValue);else{var i=e.tag,a=e.tags[e.tags.length-1]||e;i.ns===a.ns&&(i.ns=Object.create(a.ns)),i.ns[r]=e.attribValue}e.attribList.push([e.attribName,e.attribValue])}else e.tag.attributes[e.attribName]=e.attribValue,D(e,`onattribute`,{name:e.attribName,value:e.attribValue});e.attribName=e.attribValue=``}function I(e,t){if(e.opt.xmlns){var n=e.tag,r=P(e.tagName);n.prefix=r.prefix,n.local=r.local,n.uri=n.ns[r.prefix]||``,n.prefix&&!n.uri&&(M(e,`Unbound namespace prefix: `+JSON.stringify(e.tagName)),n.uri=r.prefix);var i=e.tags[e.tags.length-1]||e;n.ns&&i.ns!==n.ns&&Object.keys(n.ns).forEach(function(t){D(e,`onopennamespace`,{prefix:t,uri:n.ns[t]})});for(var a=0,o=e.attribList.length;a<o;a++){var s=e.attribList[a],c=s[0],l=s[1],u=P(c,!0),d=u.prefix,f=u.local,p=d===``?``:n.ns[d]||``,m={name:c,value:l,prefix:d,local:f,uri:p};d&&d!==`xmlns`&&!p&&(M(e,`Unbound namespace prefix: `+JSON.stringify(d)),m.uri=d),e.tag.attributes[c]=m,D(e,`onattribute`,m)}e.attribList.length=0}e.tag.isSelfClosing=!!t,e.sawRoot=!0,e.tags.push(e.tag),D(e,`onopentag`,e.tag),t||(!e.noscript&&e.tagName.toLowerCase()===`script`?e.state=w.SCRIPT:e.state=w.TEXT,e.tag=null,e.tagName=``),e.attribName=e.attribValue=``,e.attribList.length=0}function L(e){if(!e.tagName){M(e,`Weird empty close tag.`),e.textNode+=`</>`,e.state=w.TEXT;return}if(e.script){if(e.tagName!==`script`){e.script+=`</`+e.tagName+`>`,e.tagName=``,e.state=w.SCRIPT;return}D(e,`onscript`,e.script),e.script=``}var t=e.tags.length,n=e.tagName;e.strict||(n=n[e.looseCase]());for(var r=n;t--&&e.tags[t].name!==r;)M(e,`Unexpected close tag`);if(t<0){M(e,`Unmatched closing tag: `+e.tagName),e.textNode+=`</`+e.tagName+`>`,e.state=w.TEXT;return}e.tagName=n;for(var i=e.tags.length;i-- >t;){var a=e.tag=e.tags.pop();e.tagName=e.tag.name,D(e,`onclosetag`,e.tagName);var o={};for(var s in a.ns)o[s]=a.ns[s];var c=e.tags[e.tags.length-1]||e;e.opt.xmlns&&a.ns!==c.ns&&Object.keys(a.ns).forEach(function(t){var n=a.ns[t];D(e,`onclosenamespace`,{prefix:t,uri:n})})}t===0&&(e.closedRoot=!0),e.tagName=e.attribValue=e.attribName=``,e.attribList.length=0,e.state=w.TEXT}function R(e){var t=e.entity,n=t.toLowerCase(),r,i=``;return e.ENTITIES[t]?e.ENTITIES[t]:e.ENTITIES[n]?e.ENTITIES[n]:(t=n,t.charAt(0)===`#`&&(t.charAt(1)===`x`?(t=t.slice(2),r=parseInt(t,16),i=r.toString(16)):(t=t.slice(1),r=parseInt(t,10),i=r.toString(10))),t=t.replace(/^0+/,``),isNaN(r)||i.toLowerCase()!==t?(M(e,`Invalid character entity`),`&`+e.entity+`;`):String.fromCodePoint(r))}function ee(e,t){t===`<`?(e.state=w.OPEN_WAKA,e.startTagPosition=e.position):y(t)||(M(e,`Non-whitespace before first tag.`),e.textNode=t,e.state=w.TEXT)}function z(e,t){var n=``;return t<e.length&&(n=e.charAt(t)),n}function te(e){var t=this;if(this.error)throw this.error;if(t.closed)return A(t,`Cannot write after close. Assign an onready handler.`);if(e===null)return j(t);typeof e==`object`&&(e=e.toString());for(var n=0,i=``;i=z(e,n++),t.c=i,i;)switch(t.trackPosition&&(t.position++,i===`
|
|
22
|
+
`?(t.line++,t.column=0):t.column++),t.state){case w.BEGIN:if(t.state=w.BEGIN_WHITESPACE,i===``)continue;ee(t,i);continue;case w.BEGIN_WHITESPACE:ee(t,i);continue;case w.TEXT:if(t.sawRoot&&!t.closedRoot){for(var a=n-1;i&&i!==`<`&&i!==`&`;)i=z(e,n++),i&&t.trackPosition&&(t.position++,i===`
|
|
23
|
+
`?(t.line++,t.column=0):t.column++);t.textNode+=e.substring(a,n-1)}i===`<`&&!(t.sawRoot&&t.closedRoot&&!t.strict)?(t.state=w.OPEN_WAKA,t.startTagPosition=t.position):(!y(i)&&(!t.sawRoot||t.closedRoot)&&M(t,`Text data outside of root node.`),i===`&`?t.state=w.TEXT_ENTITY:t.textNode+=i);continue;case w.SCRIPT:i===`<`?t.state=w.SCRIPT_ENDING:t.script+=i;continue;case w.SCRIPT_ENDING:i===`/`?t.state=w.CLOSE_TAG:(t.script+=`<`+i,t.state=w.SCRIPT);continue;case w.OPEN_WAKA:if(i===`!`)t.state=w.SGML_DECL,t.sgmlDecl=``;else if(!y(i))if(S(h,i))t.state=w.OPEN_TAG,t.tagName=i;else if(i===`/`)t.state=w.CLOSE_TAG,t.tagName=``;else if(i===`?`)t.state=w.PROC_INST,t.procInstName=t.procInstBody=``;else{if(M(t,`Unencoded <`),t.startTagPosition+1<t.position){var o=t.position-t.startTagPosition;i=Array(o).join(` `)+i}t.textNode+=`<`+i,t.state=w.TEXT}continue;case w.SGML_DECL:(t.sgmlDecl+i).toUpperCase()===u?(D(t,`onopencdata`),t.state=w.CDATA,t.sgmlDecl=``,t.cdata=``):t.sgmlDecl+i===`--`?(t.state=w.COMMENT,t.comment=``,t.sgmlDecl=``):(t.sgmlDecl+i).toUpperCase()===d?(t.state=w.DOCTYPE,(t.doctype||t.sawRoot)&&M(t,`Inappropriately located doctype declaration`),t.doctype=``,t.sgmlDecl=``):i===`>`?(D(t,`onsgmldeclaration`,t.sgmlDecl),t.sgmlDecl=``,t.state=w.TEXT):(b(i)&&(t.state=w.SGML_DECL_QUOTED),t.sgmlDecl+=i);continue;case w.SGML_DECL_QUOTED:i===t.q&&(t.state=w.SGML_DECL,t.q=``),t.sgmlDecl+=i;continue;case w.DOCTYPE:i===`>`?(t.state=w.TEXT,D(t,`ondoctype`,t.doctype),t.doctype=!0):(t.doctype+=i,i===`[`?t.state=w.DOCTYPE_DTD:b(i)&&(t.state=w.DOCTYPE_QUOTED,t.q=i));continue;case w.DOCTYPE_QUOTED:t.doctype+=i,i===t.q&&(t.q=``,t.state=w.DOCTYPE);continue;case w.DOCTYPE_DTD:t.doctype+=i,i===`]`?t.state=w.DOCTYPE:b(i)&&(t.state=w.DOCTYPE_DTD_QUOTED,t.q=i);continue;case w.DOCTYPE_DTD_QUOTED:t.doctype+=i,i===t.q&&(t.state=w.DOCTYPE_DTD,t.q=``);continue;case w.COMMENT:i===`-`?t.state=w.COMMENT_ENDING:t.comment+=i;continue;case w.COMMENT_ENDING:i===`-`?(t.state=w.COMMENT_ENDED,t.comment=k(t.opt,t.comment),t.comment&&D(t,`oncomment`,t.comment),t.comment=``):(t.comment+=`-`+i,t.state=w.COMMENT);continue;case w.COMMENT_ENDED:i===`>`?t.state=w.TEXT:(M(t,`Malformed comment`),t.comment+=`--`+i,t.state=w.COMMENT);continue;case w.CDATA:i===`]`?t.state=w.CDATA_ENDING:t.cdata+=i;continue;case w.CDATA_ENDING:i===`]`?t.state=w.CDATA_ENDING_2:(t.cdata+=`]`+i,t.state=w.CDATA);continue;case w.CDATA_ENDING_2:i===`>`?(t.cdata&&D(t,`oncdata`,t.cdata),D(t,`onclosecdata`),t.cdata=``,t.state=w.TEXT):i===`]`?t.cdata+=`]`:(t.cdata+=`]]`+i,t.state=w.CDATA);continue;case w.PROC_INST:i===`?`?t.state=w.PROC_INST_ENDING:y(i)?t.state=w.PROC_INST_BODY:t.procInstName+=i;continue;case w.PROC_INST_BODY:if(!t.procInstBody&&y(i))continue;i===`?`?t.state=w.PROC_INST_ENDING:t.procInstBody+=i;continue;case w.PROC_INST_ENDING:i===`>`?(D(t,`onprocessinginstruction`,{name:t.procInstName,body:t.procInstBody}),t.procInstName=t.procInstBody=``,t.state=w.TEXT):(t.procInstBody+=`?`+i,t.state=w.PROC_INST_BODY);continue;case w.OPEN_TAG:S(g,i)?t.tagName+=i:(N(t),i===`>`?I(t):i===`/`?t.state=w.OPEN_TAG_SLASH:(y(i)||M(t,`Invalid character in tag name`),t.state=w.ATTRIB));continue;case w.OPEN_TAG_SLASH:i===`>`?(I(t,!0),L(t)):(M(t,`Forward-slash in opening tag not followed by >`),t.state=w.ATTRIB);continue;case w.ATTRIB:if(y(i))continue;i===`>`?I(t):i===`/`?t.state=w.OPEN_TAG_SLASH:S(h,i)?(t.attribName=i,t.attribValue=``,t.state=w.ATTRIB_NAME):M(t,`Invalid attribute name`);continue;case w.ATTRIB_NAME:i===`=`?t.state=w.ATTRIB_VALUE:i===`>`?(M(t,`Attribute without value`),t.attribValue=t.attribName,F(t),I(t)):y(i)?t.state=w.ATTRIB_NAME_SAW_WHITE:S(g,i)?t.attribName+=i:M(t,`Invalid attribute name`);continue;case w.ATTRIB_NAME_SAW_WHITE:if(i===`=`)t.state=w.ATTRIB_VALUE;else if(y(i))continue;else M(t,`Attribute without value`),t.tag.attributes[t.attribName]=``,t.attribValue=``,D(t,`onattribute`,{name:t.attribName,value:``}),t.attribName=``,i===`>`?I(t):S(h,i)?(t.attribName=i,t.state=w.ATTRIB_NAME):(M(t,`Invalid attribute name`),t.state=w.ATTRIB);continue;case w.ATTRIB_VALUE:if(y(i))continue;b(i)?(t.q=i,t.state=w.ATTRIB_VALUE_QUOTED):(M(t,`Unquoted attribute value`),t.state=w.ATTRIB_VALUE_UNQUOTED,t.attribValue=i);continue;case w.ATTRIB_VALUE_QUOTED:if(i!==t.q){i===`&`?t.state=w.ATTRIB_VALUE_ENTITY_Q:t.attribValue+=i;continue}F(t),t.q=``,t.state=w.ATTRIB_VALUE_CLOSED;continue;case w.ATTRIB_VALUE_CLOSED:y(i)?t.state=w.ATTRIB:i===`>`?I(t):i===`/`?t.state=w.OPEN_TAG_SLASH:S(h,i)?(M(t,`No whitespace between attributes`),t.attribName=i,t.attribValue=``,t.state=w.ATTRIB_NAME):M(t,`Invalid attribute name`);continue;case w.ATTRIB_VALUE_UNQUOTED:if(!x(i)){i===`&`?t.state=w.ATTRIB_VALUE_ENTITY_U:t.attribValue+=i;continue}F(t),i===`>`?I(t):t.state=w.ATTRIB;continue;case w.CLOSE_TAG:if(t.tagName)i===`>`?L(t):S(g,i)?t.tagName+=i:t.script?(t.script+=`</`+t.tagName,t.tagName=``,t.state=w.SCRIPT):(y(i)||M(t,`Invalid tagname in closing tag`),t.state=w.CLOSE_TAG_SAW_WHITE);else{if(y(i))continue;C(h,i)?t.script?(t.script+=`</`+i,t.state=w.SCRIPT):M(t,`Invalid tagname in closing tag.`):t.tagName=i}continue;case w.CLOSE_TAG_SAW_WHITE:if(y(i))continue;i===`>`?L(t):M(t,`Invalid characters in closing tag`);continue;case w.TEXT_ENTITY:case w.ATTRIB_VALUE_ENTITY_Q:case w.ATTRIB_VALUE_ENTITY_U:var s,c;switch(t.state){case w.TEXT_ENTITY:s=w.TEXT,c=`textNode`;break;case w.ATTRIB_VALUE_ENTITY_Q:s=w.ATTRIB_VALUE_QUOTED,c=`attribValue`;break;case w.ATTRIB_VALUE_ENTITY_U:s=w.ATTRIB_VALUE_UNQUOTED,c=`attribValue`;break}i===`;`?(t[c]+=R(t),t.entity=``,t.state=s):S(t.entity.length?v:_,i)?t.entity+=i:(M(t,`Invalid character in entity name`),t[c]+=`&`+t.entity+i,t.entity=``,t.state=s);continue;default:throw Error(t,`Unknown state: `+t.state)}return t.position>=t.bufferCheckPosition&&r(t),t}String.fromCodePoint||(function(){var e=String.fromCharCode,t=Math.floor,n=function(){var n=16384,r=[],i,a,o=-1,s=arguments.length;if(!s)return``;for(var c=``;++o<s;){var l=Number(arguments[o]);if(!isFinite(l)||l<0||l>1114111||t(l)!==l)throw RangeError(`Invalid code point: `+l);l<=65535?r.push(l):(l-=65536,i=(l>>10)+55296,a=l%1024+56320,r.push(i,a)),(o+1===s||r.length>n)&&(c+=e.apply(null,r),r.length=0)}return c};Object.defineProperty?Object.defineProperty(String,"fromCodePoint",{value:n,configurable:!0,writable:!0}):String.fromCodePoint=n})()})(e===void 0?e.sax={}:e)})),Ph=c(((e,t)=>{t.exports={isArray:function(e){return Array.isArray?Array.isArray(e):Object.prototype.toString.call(e)===`[object Array]`}}})),Fh=c(((e,t)=>{var n=Ph().isArray;t.exports={copyOptions:function(e){var t,n={};for(t in e)e.hasOwnProperty(t)&&(n[t]=e[t]);return n},ensureFlagExists:function(e,t){(!(e in t)||typeof t[e]!=`boolean`)&&(t[e]=!1)},ensureSpacesExists:function(e){(!(`spaces`in e)||typeof e.spaces!=`number`&&typeof e.spaces!=`string`)&&(e.spaces=0)},ensureAlwaysArrayExists:function(e){(!(`alwaysArray`in e)||typeof e.alwaysArray!=`boolean`&&!n(e.alwaysArray))&&(e.alwaysArray=!1)},ensureKeyExists:function(e,t){(!(e+`Key`in t)||typeof t[e+`Key`]!=`string`)&&(t[e+`Key`]=t.compact?`_`+e:e)},checkFnExists:function(e,t){return e+`Fn`in t}}})),Ih=c(((e,t)=>{var n=Nh(),r={on:function(){},parse:function(){}},i=Fh(),a=Ph().isArray,o,s=!0,c;function l(e){return o=i.copyOptions(e),i.ensureFlagExists(`ignoreDeclaration`,o),i.ensureFlagExists(`ignoreInstruction`,o),i.ensureFlagExists(`ignoreAttributes`,o),i.ensureFlagExists(`ignoreText`,o),i.ensureFlagExists(`ignoreComment`,o),i.ensureFlagExists(`ignoreCdata`,o),i.ensureFlagExists(`ignoreDoctype`,o),i.ensureFlagExists(`compact`,o),i.ensureFlagExists(`alwaysChildren`,o),i.ensureFlagExists(`addParent`,o),i.ensureFlagExists(`trim`,o),i.ensureFlagExists(`nativeType`,o),i.ensureFlagExists(`nativeTypeAttributes`,o),i.ensureFlagExists(`sanitize`,o),i.ensureFlagExists(`instructionHasAttributes`,o),i.ensureFlagExists(`captureSpacesBetweenElements`,o),i.ensureAlwaysArrayExists(o),i.ensureKeyExists(`declaration`,o),i.ensureKeyExists(`instruction`,o),i.ensureKeyExists(`attributes`,o),i.ensureKeyExists(`text`,o),i.ensureKeyExists(`comment`,o),i.ensureKeyExists(`cdata`,o),i.ensureKeyExists(`doctype`,o),i.ensureKeyExists(`type`,o),i.ensureKeyExists(`name`,o),i.ensureKeyExists(`elements`,o),i.ensureKeyExists(`parent`,o),i.checkFnExists(`doctype`,o),i.checkFnExists(`instruction`,o),i.checkFnExists(`cdata`,o),i.checkFnExists(`comment`,o),i.checkFnExists(`text`,o),i.checkFnExists(`instructionName`,o),i.checkFnExists(`elementName`,o),i.checkFnExists(`attributeName`,o),i.checkFnExists(`attributeValue`,o),i.checkFnExists(`attributes`,o),o}function u(e){var t=Number(e);if(!isNaN(t))return t;var n=e.toLowerCase();return n===`true`?!0:n===`false`?!1:e}function d(e,t){var n;if(o.compact){if(!c[o[e+`Key`]]&&(a(o.alwaysArray)?o.alwaysArray.indexOf(o[e+`Key`])!==-1:o.alwaysArray)&&(c[o[e+`Key`]]=[]),c[o[e+`Key`]]&&!a(c[o[e+`Key`]])&&(c[o[e+`Key`]]=[c[o[e+`Key`]]]),e+`Fn`in o&&typeof t==`string`&&(t=o[e+`Fn`](t,c)),e===`instruction`&&(`instructionFn`in o||`instructionNameFn`in o)){for(n in t)if(t.hasOwnProperty(n))if(`instructionFn`in o)t[n]=o.instructionFn(t[n],n,c);else{var r=t[n];delete t[n],t[o.instructionNameFn(n,r,c)]=r}}a(c[o[e+`Key`]])?c[o[e+`Key`]].push(t):c[o[e+`Key`]]=t}else{c[o.elementsKey]||(c[o.elementsKey]=[]);var i={};if(i[o.typeKey]=e,e===`instruction`){for(n in t)if(t.hasOwnProperty(n))break;i[o.nameKey]=`instructionNameFn`in o?o.instructionNameFn(n,t,c):n,o.instructionHasAttributes?(i[o.attributesKey]=t[n][o.attributesKey],`instructionFn`in o&&(i[o.attributesKey]=o.instructionFn(i[o.attributesKey],n,c))):(`instructionFn`in o&&(t[n]=o.instructionFn(t[n],n,c)),i[o.instructionKey]=t[n])}else e+`Fn`in o&&(t=o[e+`Fn`](t,c)),i[o[e+`Key`]]=t;o.addParent&&(i[o.parentKey]=c),c[o.elementsKey].push(i)}}function f(e){if(`attributesFn`in o&&e&&(e=o.attributesFn(e,c)),(o.trim||`attributeValueFn`in o||`attributeNameFn`in o||o.nativeTypeAttributes)&&e){for(var t in e)if(e.hasOwnProperty(t)&&(o.trim&&(e[t]=e[t].trim()),o.nativeTypeAttributes&&(e[t]=u(e[t])),`attributeValueFn`in o&&(e[t]=o.attributeValueFn(e[t],t,c)),`attributeNameFn`in o)){var n=e[t];delete e[t],e[o.attributeNameFn(t,e[t],c)]=n}}return e}function p(e){var t={};if(e.body&&(e.name.toLowerCase()===`xml`||o.instructionHasAttributes)){for(var n=/([\w:-]+)\s*=\s*(?:"([^"]*)"|'([^']*)'|(\w+))\s*/g,r;(r=n.exec(e.body))!==null;)t[r[1]]=r[2]||r[3]||r[4];t=f(t)}if(e.name.toLowerCase()===`xml`){if(o.ignoreDeclaration)return;c[o.declarationKey]={},Object.keys(t).length&&(c[o.declarationKey][o.attributesKey]=t),o.addParent&&(c[o.declarationKey][o.parentKey]=c)}else{if(o.ignoreInstruction)return;o.trim&&(e.body=e.body.trim());var i={};o.instructionHasAttributes&&Object.keys(t).length?(i[e.name]={},i[e.name][o.attributesKey]=t):i[e.name]=e.body,d(`instruction`,i)}}function m(e,t){var n;if(typeof e==`object`&&(t=e.attributes,e=e.name),t=f(t),`elementNameFn`in o&&(e=o.elementNameFn(e,c)),o.compact){if(n={},!o.ignoreAttributes&&t&&Object.keys(t).length)for(var r in n[o.attributesKey]={},t)t.hasOwnProperty(r)&&(n[o.attributesKey][r]=t[r]);!(e in c)&&(a(o.alwaysArray)?o.alwaysArray.indexOf(e)!==-1:o.alwaysArray)&&(c[e]=[]),c[e]&&!a(c[e])&&(c[e]=[c[e]]),a(c[e])?c[e].push(n):c[e]=n}else c[o.elementsKey]||(c[o.elementsKey]=[]),n={},n[o.typeKey]=`element`,n[o.nameKey]=e,!o.ignoreAttributes&&t&&Object.keys(t).length&&(n[o.attributesKey]=t),o.alwaysChildren&&(n[o.elementsKey]=[]),c[o.elementsKey].push(n);n[o.parentKey]=c,c=n}function h(e){o.ignoreText||!e.trim()&&!o.captureSpacesBetweenElements||(o.trim&&(e=e.trim()),o.nativeType&&(e=u(e)),o.sanitize&&(e=e.replace(/&/g,`&`).replace(/</g,`<`).replace(/>/g,`>`)),d(`text`,e))}function g(e){o.ignoreComment||(o.trim&&(e=e.trim()),d(`comment`,e))}function _(e){var t=c[o.parentKey];o.addParent||delete c[o.parentKey],c=t}function v(e){o.ignoreCdata||(o.trim&&(e=e.trim()),d(`cdata`,e))}function y(e){o.ignoreDoctype||(e=e.replace(/^ /,``),o.trim&&(e=e.trim()),d(`doctype`,e))}function b(e){e.note=e}t.exports=function(e,t){var i=s?n.parser(!0,{}):i=new r.Parser(`UTF-8`),a={};if(c=a,o=l(t),s?(i.opt={strictEntities:!0},i.onopentag=m,i.ontext=h,i.oncomment=g,i.onclosetag=_,i.onerror=b,i.oncdata=v,i.ondoctype=y,i.onprocessinginstruction=p):(i.on(`startElement`,m),i.on(`text`,h),i.on(`comment`,g),i.on(`endElement`,_),i.on(`error`,b)),s)i.write(e).close();else if(!i.parse(e))throw Error(`XML parsing error: `+i.getError());if(a[o.elementsKey]){var u=a[o.elementsKey];delete a[o.elementsKey],a[o.elementsKey]=u,delete a.text}return a}})),Lh=c(((e,t)=>{var n=Fh(),r=Ih();function i(e){var t=n.copyOptions(e);return n.ensureSpacesExists(t),t}t.exports=function(e,t){var n=i(t),a=r(e,n),o,s=`compact`in n&&n.compact?`_parent`:`parent`;return o=`addParent`in n&&n.addParent?JSON.stringify(a,function(e,t){return e===s?`_`:t},n.spaces):JSON.stringify(a,null,n.spaces),o.replace(/\u2028/g,`\\u2028`).replace(/\u2029/g,`\\u2029`)}})),Rh=c(((e,t)=>{var n=Fh(),r=Ph().isArray,i,a;function o(e){var t=n.copyOptions(e);return n.ensureFlagExists(`ignoreDeclaration`,t),n.ensureFlagExists(`ignoreInstruction`,t),n.ensureFlagExists(`ignoreAttributes`,t),n.ensureFlagExists(`ignoreText`,t),n.ensureFlagExists(`ignoreComment`,t),n.ensureFlagExists(`ignoreCdata`,t),n.ensureFlagExists(`ignoreDoctype`,t),n.ensureFlagExists(`compact`,t),n.ensureFlagExists(`indentText`,t),n.ensureFlagExists(`indentCdata`,t),n.ensureFlagExists(`indentAttributes`,t),n.ensureFlagExists(`indentInstruction`,t),n.ensureFlagExists(`fullTagEmptyElement`,t),n.ensureFlagExists(`noQuotesForNativeAttributes`,t),n.ensureSpacesExists(t),typeof t.spaces==`number`&&(t.spaces=Array(t.spaces+1).join(` `)),n.ensureKeyExists(`declaration`,t),n.ensureKeyExists(`instruction`,t),n.ensureKeyExists(`attributes`,t),n.ensureKeyExists(`text`,t),n.ensureKeyExists(`comment`,t),n.ensureKeyExists(`cdata`,t),n.ensureKeyExists(`doctype`,t),n.ensureKeyExists(`type`,t),n.ensureKeyExists(`name`,t),n.ensureKeyExists(`elements`,t),n.checkFnExists(`doctype`,t),n.checkFnExists(`instruction`,t),n.checkFnExists(`cdata`,t),n.checkFnExists(`comment`,t),n.checkFnExists(`text`,t),n.checkFnExists(`instructionName`,t),n.checkFnExists(`elementName`,t),n.checkFnExists(`attributeName`,t),n.checkFnExists(`attributeValue`,t),n.checkFnExists(`attributes`,t),n.checkFnExists(`fullTagEmptyElement`,t),t}function s(e,t,n){return(!n&&e.spaces?`
|
|
24
|
+
`:``)+Array(t+1).join(e.spaces)}function c(e,t,n){if(t.ignoreAttributes)return``;`attributesFn`in t&&(e=t.attributesFn(e,a,i));var r,o,c,l,u=[];for(r in e)e.hasOwnProperty(r)&&e[r]!==null&&e[r]!==void 0&&(l=t.noQuotesForNativeAttributes&&typeof e[r]!=`string`?``:`"`,o=``+e[r],o=o.replace(/"/g,`"`),c=`attributeNameFn`in t?t.attributeNameFn(r,o,a,i):r,u.push(t.spaces&&t.indentAttributes?s(t,n+1,!1):` `),u.push(c+`=`+l+(`attributeValueFn`in t?t.attributeValueFn(o,r,a,i):o)+l));return e&&Object.keys(e).length&&t.spaces&&t.indentAttributes&&u.push(s(t,n,!1)),u.join(``)}function l(e,t,n){return i=e,a=`xml`,t.ignoreDeclaration?``:`<?xml`+c(e[t.attributesKey],t,n)+`?>`}function u(e,t,n){if(t.ignoreInstruction)return``;for(var r in e)if(e.hasOwnProperty(r))break;var o=`instructionNameFn`in t?t.instructionNameFn(r,e[r],a,i):r;if(typeof e[r]==`object`)return i=e,a=o,`<?`+o+c(e[r][t.attributesKey],t,n)+`?>`;var s=e[r]?e[r]:``;return`instructionFn`in t&&(s=t.instructionFn(s,r,a,i)),`<?`+o+(s?` `+s:``)+`?>`}function d(e,t){return t.ignoreComment?``:`<!--`+(`commentFn`in t?t.commentFn(e,a,i):e)+`-->`}function f(e,t){return t.ignoreCdata?``:`<![CDATA[`+(`cdataFn`in t?t.cdataFn(e,a,i):e.replace(`]]>`,`]]]]><![CDATA[>`))+`]]>`}function p(e,t){return t.ignoreDoctype?``:`<!DOCTYPE `+(`doctypeFn`in t?t.doctypeFn(e,a,i):e)+`>`}function m(e,t){return t.ignoreText?``:(e=``+e,e=e.replace(/&/g,`&`),e=e.replace(/&/g,`&`).replace(/</g,`<`).replace(/>/g,`>`),`textFn`in t?t.textFn(e,a,i):e)}function h(e,t){var n;if(e.elements&&e.elements.length)for(n=0;n<e.elements.length;++n)switch(e.elements[n][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`:return!0;default:return!0}return!1}function g(e,t,n){i=e,a=e.name;var r=[],o=`elementNameFn`in t?t.elementNameFn(e.name,e):e.name;r.push(`<`+o),e[t.attributesKey]&&r.push(c(e[t.attributesKey],t,n));var s=e[t.elementsKey]&&e[t.elementsKey].length||e[t.attributesKey]&&e[t.attributesKey][`xml:space`]===`preserve`;return s||=`fullTagEmptyElementFn`in t?t.fullTagEmptyElementFn(e.name,e):t.fullTagEmptyElement,s?(r.push(`>`),e[t.elementsKey]&&e[t.elementsKey].length&&(r.push(_(e[t.elementsKey],t,n+1)),i=e,a=e.name),r.push(t.spaces&&h(e,t)?`
|
|
25
|
+
`+Array(n+1).join(t.spaces):``),r.push(`</`+o+`>`)):r.push(`/>`),r.join(``)}function _(e,t,n,r){return e.reduce(function(e,i){var a=s(t,n,r&&!e);switch(i.type){case`element`:return e+a+g(i,t,n);case`comment`:return e+a+d(i[t.commentKey],t);case`doctype`:return e+a+p(i[t.doctypeKey],t);case`cdata`:return e+(t.indentCdata?a:``)+f(i[t.cdataKey],t);case`text`:return e+(t.indentText?a:``)+m(i[t.textKey],t);case`instruction`:var o={};return o[i[t.nameKey]]=i[t.attributesKey]?i:i[t.instructionKey],e+(t.indentInstruction?a:``)+u(o,t,n)}},``)}function v(e,t,n){for(var r in e)if(e.hasOwnProperty(r))switch(r){case t.parentKey:case t.attributesKey:break;case t.textKey:if(t.indentText||n)return!0;break;case t.cdataKey:if(t.indentCdata||n)return!0;break;case t.instructionKey:if(t.indentInstruction||n)return!0;break;case t.doctypeKey:case t.commentKey:return!0;default:return!0}return!1}function y(e,t,n,r,o){i=e,a=t;var l=`elementNameFn`in n?n.elementNameFn(t,e):t;if(e==null||e===``)return`fullTagEmptyElementFn`in n&&n.fullTagEmptyElementFn(t,e)||n.fullTagEmptyElement?`<`+l+`></`+l+`>`:`<`+l+`/>`;var u=[];if(t){if(u.push(`<`+l),typeof e!=`object`)return u.push(`>`+m(e,n)+`</`+l+`>`),u.join(``);e[n.attributesKey]&&u.push(c(e[n.attributesKey],n,r));var d=v(e,n,!0)||e[n.attributesKey]&&e[n.attributesKey][`xml:space`]===`preserve`;if(d||=`fullTagEmptyElementFn`in n?n.fullTagEmptyElementFn(t,e):n.fullTagEmptyElement,d)u.push(`>`);else return u.push(`/>`),u.join(``)}return u.push(b(e,n,r+1,!1)),i=e,a=t,t&&u.push((o?s(n,r,!1):``)+`</`+l+`>`),u.join(``)}function b(e,t,n,i){var a,o,c,h=[];for(o in e)if(e.hasOwnProperty(o))for(c=r(e[o])?e[o]:[e[o]],a=0;a<c.length;++a){switch(o){case t.declarationKey:h.push(l(c[a],t,n));break;case t.instructionKey:h.push((t.indentInstruction?s(t,n,i):``)+u(c[a],t,n));break;case t.attributesKey:case t.parentKey:break;case t.textKey:h.push((t.indentText?s(t,n,i):``)+m(c[a],t));break;case t.cdataKey:h.push((t.indentCdata?s(t,n,i):``)+f(c[a],t));break;case t.doctypeKey:h.push(s(t,n,i)+p(c[a],t));break;case t.commentKey:h.push(s(t,n,i)+d(c[a],t));break;default:h.push(s(t,n,i)+y(c[a],o,t,n,v(c[a],t)))}i&&=!h.length}return h.join(``)}t.exports=function(e,t){t=o(t);var n=[];return i=e,a=`_root_`,t.compact?n.push(b(e,t,0,!0)):(e[t.declarationKey]&&n.push(l(e[t.declarationKey],t,0)),e[t.elementsKey]&&e[t.elementsKey].length&&n.push(_(e[t.elementsKey],t,0,!n.length))),n.join(``)}})),zh=c(((e,t)=>{var n=Rh();t.exports=function(e,t){e instanceof Buffer&&(e=e.toString());var r=null;if(typeof e==`string`)try{r=JSON.parse(e)}catch{throw Error(`The JSON structure is invalid`)}else r=e;return n(r,t)}})),Bh=c(((e,t)=>{t.exports={xml2js:Ih(),xml2json:Lh(),js2xml:Rh(),json2xml:zh()}})),Vh=Dh(),Hh=d(Bh()),Uh=class{constructor({title:e,creator:t,date:n,publisher:r,description:i,language:a,rights:o,identifier:s}){this.title=e,this.creator=t,this.date=n,this.publisher=r,this.description=i,this.language=a,this.rights=o,this.identifier=s}set(e,t){this[e]=t}get(e){return this[e]}},Wh=class{constructor({type:e,title:t,href:n}){this.type=e,this.title=t,this.href=n,this.absoluteURL=``}},Gh=class{constructor({id:e,media:t,styles:n}){this.id=e||`_${So()}`,this.media=t,this.styles=n,this.node=null}writeCss(e){let t=e.createTextNode(this.styles);this.node.appendChild(t)}appendSheet(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)}removeSheet(e){e.body.removeChild(this.node)}},Kh=class e{constructor({node:t,requestURI:n}){this.id=t.id||`_${So()}`,this.type=t.type||`application/javascript`,this.src=e.getScriptSourceFromNodeValue(t),this.inline=(0,Qa.default)(this.src),this.body=t.childNodes&&t.childNodes.length?t.childNodes[0].nodeValue.trim():``,this.async=!1,this.requestURI=n}static getScriptSourceFromNodeValue(e){let{value:t}=e.attributes.getNamedItem(`src`)||{};return t}appendScript(e){let t=q.trimFilenameFromResponse(this.requestURI),n=this.inline?null:q.resolveRelativeURL(t,this.src);this.elem=e.createElement(`script`),this.elem.id=this.id,this.inline||(this.elem.src=n),this.inline&&(this.elem.innerHTML=this.body),this.async&&(this.elem.async=!0),e.body.appendChild(this.elem)}removeScript(e){e.body.removeChild(this.elem)}},qh=class{constructor({id:e,href:t,mediaType:n,properties:r,idref:i,linear:a,absoluteURL:o=``,title:s=``,slug:c=``,depth:l=0,children:u=[],inTOC:d=!1}){this.id=e,this.href=t,this.mediaType=n,this.properties=r,this.idref=i,this.linear=a,this.absoluteURL=o,this.title=s,this.slug=c,this.depth=l,this.children=u,this.inTOC=d}set(e,t){this[e]=t}get(e){return this[e]}addChild(e){this.children.push(e)}},Jh=(e,t,n,r={enumerable:!0})=>(Object.entries(t).forEach(([t,i])=>{let a=(0,Za.default)(n,t)?n[t]:i;Object.defineProperty(e,t,{value:a,...r})}),e),Yh=e=>typeof e==`function`?e.call():e,Xh=class e{static defaults={width:0,height:0,theme:no.DEFAULT,transition:to.SLIDE,transitionSpeed:400,columns:oo.TWO,fontSize:()=>J.styles().fontSize,columnGap:()=>J.styles().columnGap,paddingLeft:()=>J.styles().paddingLeft,paddingRight:()=>J.styles().paddingRight,paddingTop:()=>J.styles().paddingTop,paddingBottom:()=>J.styles().paddingBottom};constructor(t={}){Object.defineProperty(this,"settings",{value:Jh({},e.defaults,t,{enumerable:!0,writable:!0}),enumerable:!0}),this.columnWidth=()=>window.innerWidth/2-this.columnGap-this.paddingLeft}get width(){return this.settings.width}set width(e){this.settings.width=e}get height(){return this.settings.height}set height(e){this.settings.height=e}get paddingTop(){return Yh(this.settings.paddingTop)}set paddingTop(e){this.settings.paddingTop=e}get paddingLeft(){return Yh(this.settings.paddingLeft)}set paddingLeft(e){this.settings.paddingLeft=e}get paddingRight(){return Yh(this.settings.paddingRight)}set paddingRight(e){this.settings.paddingRight=e}get paddingBottom(){return Yh(this.settings.paddingBottom)}set paddingBottom(e){this.settings.paddingBottom=e}get paddingX(){return this.paddingLeft+this.paddingRight}get paddingY(){return this.paddingTop+this.paddingBottom}get columns(){return this.settings.columns}set columns(e){this.settings.columns=e}get columnGap(){return Yh(this.settings.columnGap)}set columnGap(e){this.settings.columnGap=e}get columnWidth(){return Yh(this.settings.columnWidth)}set columnWidth(e){this.settings.columnWidth=e}get transition(){return this.settings.transition}set transition(e){this.settings.transition=e}get theme(){return this.settings.theme}set theme(e){this.settings.theme=e}get transitionSpeed(){return this.settings.transitionSpeed}set transitionSpeed(e){this.settings.transitionSpeed=e}get fontSize(){return Yh(this.settings.fontSize)}set fontSize(e){this.settings.fontSize=e}set padding(e){let[t,n,r,i]=e;ai(t)&&(this.settings.paddingTop=t),ai(n)&&(this.settings.paddingRight=n),ai(r)&&(this.settings.paddingBottom=r),ai(i)&&(this.settings.paddingLeft=i)}get=(e=``)=>{if(e){if(!(0,Za.default)(this.settings,e)){console.error(`Attempting to access undefined key %s`,e);return}return this[e]}return{width:this.width,height:this.height,paddingTop:this.paddingTop,paddingLeft:this.paddingLeft,paddingRight:this.paddingRight,paddingBottom:this.paddingBottom,columns:this.columns,columnGap:this.columnGap,columnWidth:this.columnWidth,transition:this.transition,transitionSpeed:this.transitionSpeed,theme:this.theme,fontSize:this.fontSize}};put=(e={},t=null)=>{if((0,jr.default)(e))for(let[t,n]of Object.entries(e))(0,Za.default)(this.settings,t)&&(this[t]=n);else typeof e==`string`?(0,Za.default)(this.settings,e)&&(this[e]=t):console.error(`Could not update viewer settings with key: %s val: %s`,e,t)}},Zh=`
|
|
26
|
+
.figure__fullbleed figure,
|
|
27
|
+
.spread .spread__content {
|
|
28
|
+
opacity: 1;
|
|
29
|
+
top: 0;
|
|
30
|
+
z-index: 11;
|
|
31
|
+
height: 100vh;
|
|
32
|
+
position: absolute;
|
|
33
|
+
width: 100vw;
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
|
|
37
|
+
.figure__fullbleed figure .img-wrap img,
|
|
38
|
+
.figure__fullbleed figure .img-wrap video {
|
|
39
|
+
opacity: 1;
|
|
40
|
+
position: absolute;
|
|
41
|
+
object-fit: contain;
|
|
42
|
+
width: 100% !important;
|
|
43
|
+
max-width: 100%;
|
|
44
|
+
max-height: 100% !important;
|
|
45
|
+
height: 100%;
|
|
46
|
+
top: 0;
|
|
47
|
+
left: 0;
|
|
48
|
+
bottom: 0;
|
|
49
|
+
right: 0;
|
|
50
|
+
}
|
|
51
|
+
`,Qh=`
|
|
52
|
+
.figure__fullbleed figure .spread .spread__content {
|
|
53
|
+
z-index: 11;
|
|
54
|
+
width: 100vw;
|
|
55
|
+
position: relative;
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
.figure__fullbleed figure .img-wrap img,
|
|
59
|
+
.figure__fullbleed figure .img-wrap video {
|
|
60
|
+
opacity: 1;
|
|
61
|
+
object-fit: contain;
|
|
62
|
+
width: 100% !important;
|
|
63
|
+
max-width: 100%;
|
|
64
|
+
max-height: 100% !important;
|
|
65
|
+
height: 100%;
|
|
66
|
+
top: 0;
|
|
67
|
+
left: 0;
|
|
68
|
+
bottom: 0;
|
|
69
|
+
right: 0;
|
|
70
|
+
}
|
|
71
|
+
`,$={root:null,document:null,styleSheets:[],scripts:[],requestURI:``},$h=class e{static setContextDocument(e){$.document=e}static setRootDocument(e){$.root=e}static setRequestURI(e){$.requestURI=e}static createStyleSheets(){$.styleSheets=[...$.styleSheets,new Gh({media:_o,styles:Zh}),new Gh({media:go,styles:Qh})]}static appendStyleSheets(){$.styleSheets.forEach(e=>$.root.querySelector(`#${e.id}`)===null&&e.appendSheet($.root))}static appendScripts(){$.scripts.forEach(e=>/(?:text|application)\/(?:(x-)?java|ecma)script/.test(e.type)&&e.appendScript($.root))}static createScriptElements(){let e=Array.from($.document.querySelectorAll(`script`)||[]),{requestURI:t,scripts:n}=$;return e?($.scripts=e.map(e=>new Kh({node:e,requestURI:t})),$.scripts):n}static removeScriptElements(){let e=$.document.querySelectorAll(`script`);for(let t=0;t<e.length;t++)e[t].parentNode.removeChild(e[t])}static getStyleSheetByMediaOrId({id:e,media:t}){if(!e&&!t)return console.warn("DocumentPreProcessor#updateStyleSheet requires either an `id` or a `media` parameter");let n;if(e)n=e;else if(t){let r=(0,G.default)(this.styleSheets,{media:t});if(!r)return console.warn("No styleSheet exists for provided `id` or `media`",e,t);n=r.id}let r=$.root.querySelector(`#${n}`);return r?{styleSheetElement:r,styleSheetId:n}:console.warn("No styleSheet exists for provided `id` or `media`",e,t)}static removeStyleSheet({id:t,media:n}){let{styleSheetElement:r}=e.getStyleSheetByMediaOrId({id:t,media:n});r.parentNode.removeChild(r),$.styleSheets=[...$.styleSheets.filter(e=>e.id!==t)]}static removeStyleSheets(){let t;for(;t=$.styleSheets.pop();)e.removeStyleSheet({id:t.id})}static removeScript({id:e}){let t=$.root.querySelector(`#${e}`);t&&t.parentNode.removeChild(t),$.scripts=[...$.scripts.filter(t=>t.id!==e)]}static removeScripts(){let t;for(;t=$.scripts.pop();)e.removeScript({id:t.id})}static swapStyleSheet(){}static swapStyleSheets(){}static getStyleSheets(){return $.styleSheets}static getContextDocument(){return $.document}static getRootDocument(){return $.root}static parseXML(t){return e.removeScriptElements(),e.appendStyleSheets(),e.appendScripts(),t&&typeof t==`function`?t(null,$.document):$.document}},eg=class e{static 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};constructor(t={}){$h.getRootDocument()||$h.setRootDocument(document),$h.removeStyleSheets(),$h.removeScripts(),this.settings={...e.defaults,...t},$h.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`])}}classListContainsAll(e,t){return t.some(t=>t.every(t=>e.classList.contains(t)))}classListContainsAny=(e,t)=>t.some(t=>e.classList.contains(t));classListContainsNone(e,t){return t.every(t=>t.every(t=>!e.classList.contains(t)))}shouldParse(e){return e.nodeType===1&&this.blackListedNodes.names.has(e.nodeName.toUpperCase())===!1&&e.classList.contains(this.markerClassNames)===!1&&this.classListContainsNone(e,this.blacklistedClassNames)}isFullbleed(e){return this.classListContainsAll(e,this.fullbleedClassNames)}isMarker(e){return this.classListContainsAll(e,[[this.markerClassNames]])}isMarkerReferenceNode(e){return this.classListContainsAny(e,[`spread__content`])||e.nodeName===`FIGURE`}hasChildren(e){return e&&e.children&&e.children.length}getLastChild(e){let t=null;for(let n=e.length-1;n>=0;n--)if(t=e[n],this.shouldParse(t))return this.hasChildren(t)?this.getLastChild(t.children):t;return e[e.length-1].parentNode}getSibling(e){if(e===null)return e;let{previousElementSibling:t}=e;return t?this.isFullbleed(t)||!this.shouldParse(t)?this.getSibling(t):this.hasChildren(t)?this.getLastChild(t.children):t:this.getSibling(e.parentNode)}setMarkerStyles(e){Object.entries(this.markerStyles).forEach(([t,n])=>e.style[t]=n)}createMarker(e){let t=document.createTextNode(``),n=document.createElement(this.markerElement);return n.setAttribute(`class`,this.markerClassNames),n.setAttribute(`data-marker`,e),n.setAttribute(`data-unbound`,!1),n.setAttribute(`data-final`,!1),n.appendChild(t),this.setMarkerStyles(n),n}createMarkerId(){return So()}addMarkerReferenceToChild(e,t){for(let n=0;n<e.children.length;n++)this.isMarkerReferenceNode(e.children[n])&&e.children[n].setAttribute(`data-marker-reference-figure`,t)}insertMarkers(e,t){let n=Array.from(e.children).filter(e=>!this.isMarker(e));for(let e=0;e<n.length;e++){let t=n[e],r=this.createMarkerId(),i,a=this.shouldParse(t),o=this.isFullbleed(t);if(a){if(o)if(i=this.getSibling(t),i){let e=this.createMarker(r);i.lastElementChild&&this.isMarker(i.lastElementChild)&&e.setAttribute(`data-adjacent`,!0),i.appendChild(e),t.setAttribute(`data-marker-reference`,r),t.classList.add(`figure__processed`),this.addMarkerReferenceToChild(t,r)}else{let e=this.createMarker(r);e.setAttribute(`data-unbound`,!0),t.parentNode.prepend(e),t.setAttribute(`data-marker-reference`,r),t.classList.add(`figure__processed`),this.addMarkerReferenceToChild(t,r)}t.children&&t.children.length&&this.insertMarkers(t)}}t&&typeof t==`function`&&t(e)}isElementNode(e){return e.nodeType===window.Node.ELEMENT_NODE}removeBottomSpacing(e){e.style.marginBottom=`0`,e.style.paddingBottom=`0`}addLastNode(e){let t=new Set([`META`,`TITLE`,`HEAD`,`LINK`,`SCRIPT`,`STYLE`,`EM`,`I`,`STRONG`,`B`,`SPAN`,`IMG`,`AUDIO`,`VIDEO`,`BR`,`SUP`,`SUB`,`IFRAME`]),n=document.createTextNode(``),r=document.createElement(`span`);r.setAttribute(`class`,`ultimate`),r.setAttribute(`data-ultimate`,`true`),r.appendChild(n);let i,a;for(let n=e.body.childNodes.length-1;n>=0;n--)if(i=e.body.childNodes[n],!t.has(i.nodeName)&&this.isElementNode(i)){for(this.removeBottomSpacing(i),a=i.lastElementChild;a;)this.isMarkerReferenceNode(a)||this.removeBottomSpacing(a),a=a.lastElementChild;i.appendChild(r);return}console.warn(`Could not append ultimate node`)}addIndicesToMarkers(e){let t=e.querySelectorAll(`[data-marker]`),n=t.length;for(let e=0;e<n;e++)t[e].setAttribute(`data-index`,e),t[e].setAttribute(`data-final`,e===n-1)}removeBreakAfterClasses(e){let t=Array.from(e.children).filter(e=>!this.isMarker(e)&&e.nodeType===1);for(let e=0;e<t.length;e++){let n=t[e],r=n.nextElementSibling;n.classList.contains(`break-after`)&&r&&this.isFullbleed(r)&&n.classList.remove(`break-after`),n.children&&n.children.length&&this.removeBreakAfterClasses(n)}}validateDocument(e){let t=e.querySelectorAll(`[data-marker]`),n=e.querySelectorAll(`[data-marker-reference]`),r=Array.prototype.slice.call(n,0),i={},a=!0,o=!0,s=!0;a=t.length===n.length,console.assert(a,`Incorrect number of markers`);for(let e=0;e<r.length;e++)i[r[e].dataset.markerReference]=!0;for(let e=0;e<t.length;e++){let n=t[e].dataset.marker,r=!(0,Qa.default)(n);console.assert(r,`Marker ${e} does not have a marker attribute`);let a=i[n];console.assert(a,`Reference for marker ${e} (${n}) could not be found`),r||(o=!1),a||(s=!1)}return a&&o&&s}parseXML(e,t){let n=new window.DOMParser().parseFromString(e,`text/html`),r,i=null;$h.setContextDocument(n),$h.createStyleSheets(),$h.createScriptElements(),$h.parseXML(),this.insertMarkers(n,t=>{this.validateDocument(t)||(i=Error(`Invalid markup`)),this.addLastNode(n),this.addIndicesToMarkers(n),this.removeBreakAfterClasses(n),r=e.replace(/<body([^>]*?)>[\s\S]*<\/body>/g,(e,t)=>`<body${t}>${n.body.innerHTML}</body>`)});let a={xml:r,doc:n};return t&&typeof t==`function`?t(i,a):a}},tg=[`SCRIPT`,`STYLE`],ng=e=>tg.includes(e),rg=e=>e.nodeType===window.Node.ELEMENT_NODE&&ng(e.nodeName),ig=e=>{if(!e.href||q.isRelative(e.href))return e.parentNode.removeChild(e);let{origin:t}=new window.URL(e.href);return new RegExp(window.location.origin).test(t)?e.parentNode.removeChild(e):e.setAttribute(`target`,`_blank`)},ag=(e,t)=>{for(let t=e.children.length-1;t>=0;t--){let n=e.children[t];rg(n)&&n.parentNode.removeChild(n),n.nodeName===`A`&&ig(n),n.children.length&&ag(n)}if(t!==void 0){let n=document.createElement(`span`),r=document.createTextNode(t);n.classList.add(`footnote__content--count`),n.appendChild(r),e.prepend(n)}return e.innerHTML},og=class extends e.default.Component{constructor(e){super(e),this.state={content:``,visible:!1,footnote:K.createId()}}footnoteContainer=e.default.createRef();footnoteElement=e.default.createRef();componentWillUnmount(){document.removeEventListener(`click`,this.handleDocumentClick)}getFootnote=async()=>{let{content:e}=this.state;if(e)return;let{hash:t}=new window.URL(this.props.href),n=t.slice(1),{data:r}=await $i.getText(this.props.href),i=new window.DOMParser().parseFromString(r,`text/html`).getElementById(n);if(!i){console.error(`Could not retrieve footnote %s; Document URL %s`,t,this.props.href);return}let a=i.parentNode;for(;a&&a.nodeName!==`UL`&&a.nodeName!==`OL`;)a=a.parentNode;let o;a&&(o=(Number(a.getAttribute(`start`))||1)+Array.prototype.indexOf.call(a.children,i)),e=ag(i.firstChild,o),this.setState({content:e})};handleOnMouseOver=e=>{e&&e.preventDefault(),!J.isSingleColumn()&&this.toggleFootnote()};handleOnMouseMove=e=>{J.isSingleColumn()||e.target.nodeName===`SPAN`&&e.target.classList.contains(`footnote__number`)&&e.target.dataset.footnote!==this.state.footnote&&this.hideFootnote()};handleDocumentClick=e=>{e.target.nodeName!==`A`&&this.hideFootnote()};toggleFootnote=e=>(e&&(e.preventDefault(),e.stopPropagation()),this.state.visible?this.hideFootnote():this.showFootnote());showFootnote=async e=>{e&&e.preventDefault(),await this.getFootnote(),this.setState({visible:!0}),document.addEventListener(`click`,this.handleDocumentClick),document.addEventListener(`mousemove`,this.handleOnMouseMove)};hideFootnote=e=>{e&&e.preventDefault(),this.setState({visible:!1}),document.removeEventListener(`click`,this.handleDocumentClick),document.removeEventListener(`mousemove`,this.handleOnMouseMove)};getFootnoteOffset(){if(!this.footnoteContainer?.current||!this.footnoteElement?.current)return console.warn(`Footnote elements are not bound`),!1;let{top:e}=this.footnoteContainer.current.getBoundingClientRect(),{paddingTop:t,paddingBottom:n}=this.props.viewerSettings,r=this.footnoteElement.current.offsetHeight,i=window.innerHeight;return e+r>i-(t+n)}footnoteStyles(){let{columnWidth:e,columnGap:t,paddingLeft:n}=this.props.viewerSettings,r=J.isSingleColumn(),i=this.getFootnoteOffset()?`bottom`:`top`,a=i===`bottom`?`1rem`:`1.5rem`,o={width:r?window.innerWidth-n*2:`${e+t}px`,left:0,[i]:a};return this.footnoteContainer?.current?(o.left=this.footnoteContainer.current.getBoundingClientRect().x,o.left=r?o.left=o.left*-1+n:o.left>=window.innerWidth/2?o.left=o.left*-1+n+e+t:o.left=o.left*-1+n,o.cursor=`auto`,o):o}render(){let{content:e,visible:t}=this.state,n=!e||!t;return(0,Y.jsx)(`span`,{id:this.props.id,className:`footnote-ref`,children:(0,Y.jsxs)(`span`,{ref:this.footnoteContainer,className:`footnote__container`,style:{display:`inline`,position:`relative`},children:[(0,Y.jsx)(`span`,{className:`footnote__number`,"data-footnote":this.state.footnote,onClick:this.toggleFootnote,onMouseOver:this.handleOnMouseOver,children:this.props.children}),(0,Y.jsx)(`span`,{ref:this.footnoteElement,style:this.footnoteStyles(),className:(0,X.default)(`footnote__body`,{"footnote__body--hidden":n}),children:(0,Y.jsx)(`span`,{className:`footnote__content`,dangerouslySetInnerHTML:{__html:e}})})]})})}},sg=H(({viewerSettings:e})=>({viewerSettings:e}),()=>({}))(og),cg=H(({readerSettings:e})=>({readerSettings:e}),()=>({}))(e=>(0,Y.jsx)(ko.Consumer,{children:({getSpineItemByAbsoluteUrl:t,navigateToChapterByURL:n})=>{let{className:r,href:i,readerSettings:a,style:o,children:s}=e,c=r||``,l=o||{},u=t(i)>-1,d=q.isExternal(i,window.location.href),f=q.isExternal(i,a.projectURL),p=``,m=``;return d&&!u?(p=`_blank`,m=`nooperner noreferrer`):f&&(p=`_top`),(0,Y.jsx)(`a`,{href:i,target:p,rel:m,style:l,className:c,onClick:e=>{u&&(e.preventDefault(),n(i))},children:s})}})),lg=`UPDATE`,ug=l({update:()=>dg}),dg=e=>({type:lg,payload:e}),fg=(function(){if(typeof Map<`u`)return Map;function e(e,t){var n=-1;return e.some(function(e,r){return e[0]===t?(n=r,!0):!1}),n}return function(){function t(){this.__entries__=[]}return Object.defineProperty(t.prototype,"size",{get:function(){return this.__entries__.length},enumerable:!0,configurable:!0}),t.prototype.get=function(t){var n=e(this.__entries__,t),r=this.__entries__[n];return r&&r[1]},t.prototype.set=function(t,n){var r=e(this.__entries__,t);~r?this.__entries__[r][1]=n:this.__entries__.push([t,n])},t.prototype.delete=function(t){var n=this.__entries__,r=e(n,t);~r&&n.splice(r,1)},t.prototype.has=function(t){return!!~e(this.__entries__,t)},t.prototype.clear=function(){this.__entries__.splice(0)},t.prototype.forEach=function(e,t){t===void 0&&(t=null);for(var n=0,r=this.__entries__;n<r.length;n++){var i=r[n];e.call(t,i[1],i[0])}},t}()})(),pg=typeof window<`u`&&typeof document<`u`&&window.document===document,mg=(function(){return typeof global<`u`&&global.Math===Math?global:typeof self<`u`&&self.Math===Math?self:typeof window<`u`&&window.Math===Math?window:Function(`return this`)()})(),hg=(function(){return typeof requestAnimationFrame==`function`?requestAnimationFrame.bind(mg):function(e){return setTimeout(function(){return e(Date.now())},1e3/60)}})(),gg=2;function _g(e,t){var n=!1,r=!1,i=0;function a(){n&&(n=!1,e()),r&&s()}function o(){hg(a)}function s(){var e=Date.now();if(n){if(e-i<gg)return;r=!0}else n=!0,r=!1,setTimeout(o,t);i=e}return s}var vg=20,yg=[`top`,`right`,`bottom`,`left`,`width`,`height`,`size`,`weight`],bg=typeof MutationObserver<`u`,xg=function(){function e(){this.connected_=!1,this.mutationEventsAdded_=!1,this.mutationsObserver_=null,this.observers_=[],this.onTransitionEnd_=this.onTransitionEnd_.bind(this),this.refresh=_g(this.refresh.bind(this),vg)}return e.prototype.addObserver=function(e){~this.observers_.indexOf(e)||this.observers_.push(e),this.connected_||this.connect_()},e.prototype.removeObserver=function(e){var t=this.observers_,n=t.indexOf(e);~n&&t.splice(n,1),!t.length&&this.connected_&&this.disconnect_()},e.prototype.refresh=function(){this.updateObservers_()&&this.refresh()},e.prototype.updateObservers_=function(){var e=this.observers_.filter(function(e){return e.gatherActive(),e.hasActive()});return e.forEach(function(e){return e.broadcastActive()}),e.length>0},e.prototype.connect_=function(){!pg||this.connected_||(document.addEventListener(`transitionend`,this.onTransitionEnd_),window.addEventListener(`resize`,this.refresh),bg?(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(){!pg||!this.connected_||(document.removeEventListener(`transitionend`,this.onTransitionEnd_),window.removeEventListener(`resize`,this.refresh),this.mutationsObserver_&&this.mutationsObserver_.disconnect(),this.mutationEventsAdded_&&document.removeEventListener(`DOMSubtreeModified`,this.refresh),this.mutationsObserver_=null,this.mutationEventsAdded_=!1,this.connected_=!1)},e.prototype.onTransitionEnd_=function(e){var t=e.propertyName,n=t===void 0?``:t;yg.some(function(e){return!!~n.indexOf(e)})&&this.refresh()},e.getInstance=function(){return this.instance_||=new e,this.instance_},e.instance_=null,e}(),Sg=(function(e,t){for(var n=0,r=Object.keys(t);n<r.length;n++){var i=r[n];Object.defineProperty(e,i,{value:t[i],enumerable:!1,writable:!1,configurable:!0})}return e}),Cg=(function(e){return e&&e.ownerDocument&&e.ownerDocument.defaultView||mg}),wg=Pg(0,0,0,0);function Tg(e){return parseFloat(e)||0}function Eg(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];return t.reduce(function(t,n){var r=e[`border-`+n+`-width`];return t+Tg(r)},0)}function Dg(e){for(var t=[`top`,`right`,`bottom`,`left`],n={},r=0,i=t;r<i.length;r++){var a=i[r],o=e[`padding-`+a];n[a]=Tg(o)}return n}function Og(e){var t=e.getBBox();return Pg(0,0,t.width,t.height)}function kg(e){var t=e.clientWidth,n=e.clientHeight;if(!t&&!n)return wg;var r=Cg(e).getComputedStyle(e),i=Dg(r),a=i.left+i.right,o=i.top+i.bottom,s=Tg(r.width),c=Tg(r.height);if(r.boxSizing===`border-box`&&(Math.round(s+a)!==t&&(s-=Eg(r,`left`,`right`)+a),Math.round(c+o)!==n&&(c-=Eg(r,`top`,`bottom`)+o)),!jg(e)){var l=Math.round(s+a)-t,u=Math.round(c+o)-n;Math.abs(l)!==1&&(s-=l),Math.abs(u)!==1&&(c-=u)}return Pg(i.left,i.top,s,c)}var Ag=(function(){return typeof SVGGraphicsElement<`u`?function(e){return e instanceof Cg(e).SVGGraphicsElement}:function(e){return e instanceof Cg(e).SVGElement&&typeof e.getBBox==`function`}})();function jg(e){return e===Cg(e).document.documentElement}function Mg(e){return pg?Ag(e)?Og(e):kg(e):wg}function Ng(e){var t=e.x,n=e.y,r=e.width,i=e.height,a=Object.create((typeof DOMRectReadOnly<`u`?DOMRectReadOnly:Object).prototype);return Sg(a,{x:t,y:n,width:r,height:i,top:n,right:t+r,bottom:i+n,left:t}),a}function Pg(e,t,n,r){return{x:e,y:t,width:n,height:r}}var Fg=function(){function e(e){this.broadcastWidth=0,this.broadcastHeight=0,this.contentRect_=Pg(0,0,0,0),this.target=e}return e.prototype.isActive=function(){var e=Mg(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}(),Ig=function(){function e(e,t){var n=Ng(t);Sg(this,{target:e,contentRect:n})}return e}(),Lg=function(){function e(e,t,n){if(this.activeObservations_=[],this.observations_=new fg,typeof e!=`function`)throw 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 TypeError(`1 argument required, but only 0 present.`);if(!(typeof Element>`u`||!(Element instanceof Object))){if(!(e instanceof Cg(e).Element))throw TypeError(`parameter 1 is not of type "Element".`);var t=this.observations_;t.has(e)||(t.set(e,new Fg(e)),this.controller_.addObserver(this),this.controller_.refresh())}},e.prototype.unobserve=function(e){if(!arguments.length)throw TypeError(`1 argument required, but only 0 present.`);if(!(typeof Element>`u`||!(Element instanceof Object))){if(!(e instanceof Cg(e).Element))throw 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 Ig(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}(),Rg=typeof WeakMap<`u`?new WeakMap:new fg,zg=function(){function e(t){if(!(this instanceof e))throw TypeError(`Cannot call a class as a function.`);if(!arguments.length)throw TypeError(`1 argument required, but only 0 present.`);var n=new Lg(t,xg.getInstance(),this);Rg.set(this,n)}return e}();[`observe`,`unobserve`,`disconnect`].forEach(function(e){zg.prototype[e]=function(){var t;return(t=Rg.get(this))[e].apply(t,arguments)}});var Bg=(function(){return mg.ResizeObserver===void 0?zg:mg.ResizeObserver})(),Vg=48,Hg=52,Ug=0,Wg=5,Gg=(t,n={})=>{class r extends e.default.Component{static contextType=ko;state={verso:null,recto:null,spreadIndex:null,currentSpreadIndex:null,elementEdgeLeft:null};elemRef=e.default.createRef();constructor(e){super(e),this.calculateNodePositionUsingOffsetLeft=this.calculateNodePositionUsingOffsetLeft.bind(this),this.calculateNodePositionAfterResize=()=>{},this.settings={useParentDimensions:Co(this.props.useParentDimensions,n.useParentDimensions,!1),useElementOffsetLeft:Co(this.props.useElementOffsetLeft,n.useElementOffsetLeft,!0),useFullscreenElementWidth:Co(this.props.useFullscreenElementWidth,n.useFullscreenElementWidth,!1),isMarker:Co(n.isMarker,!1)}}componentDidMount(){if(!this.settings.useElementOffsetLeft){this.calculateNodePositionUsingBoundingClientRect();return}this.calculateNodePositionAfterResize=(0,ra.default)(this.calculateNodePositionUsingOffsetLeft,0,{leading:!1,trailing:!0}).bind(this),this.connectObserver()}componentWillUnmount(){this.settings.useElementOffsetLeft&&this.disconnectObservers()}UNSAFE_componentWillReceiveProps(e){if(this.settings.useElementOffsetLeft)return;let{ultimateOffsetLeft:t}=e,{ultimateOffsetLeft:n}=this.props.view;t!==n&&this.calculateNodePositionUsingBoundingClientRect()}connectObserver(){let e=this.getRef();if(!e)return console.error(`No element to conenct to ResizeObserver`);this.resizeObserver=new Bg(this.calculateNodePositionAfterResize),this.resizeObserver.observe(e)}disconnectObservers(){this.resizeObserver.disconnect()}elementEdgeIsInAllowableRange=e=>e>=Vg&&e<=Hg||e>=Ug&&e<=Wg;getRef=()=>{let{useParentDimensions:e}=this.settings,t;return t=e?this.elemRef.current?.parentElement?this.elemRef.current.parentElement:null:this.elemRef.current,t};calculateNodePositionUsingOffsetLeft=()=>{let e=this.getRef();if(!e)return console.error(`Element does not exist`);let{isMarker:t}=this.settings,{paddingLeft:n,columnGap:r}=this.props.viewerSettings,i=window.getComputedStyle(e.parentElement.parentElement),a=i.marginLeft,o=i.paddingLeft,s=e.offsetLeft-parseFloat(a)-parseFloat(o),c=(window.innerWidth-n*2-r)/2,l=window.innerWidth-n*2+r,u=s-r-c;e.offsetWidth!==window.innerWidth&&(u-=n);let d=Math.abs(u/l),f=Number((d%1).toFixed(2).substring(2)),p=f>=Vg&&f<=Hg,m=f>=Ug&&f<=Wg,h=Math.floor(Number(d.toFixed(2)));(this.elementEdgeIsInAllowableRange(f)===!1||p===!1&&m===!1)&&(e.style.display=`none`,e.style.display=`block`),this.setState({verso:p,recto:m,spreadIndex:h,elementEdgeLeft:s}),t&&($h.removeStyleSheets(),$h.createStyleSheets({paddingLeft:n,columnGap:r}),$h.appendStyleSheets())};calculateNodePositionUsingBoundingClientRect=()=>{let e=this.getRef();if(!e)return console.error(`Element does not exist`);let{ultimateOffsetLeft:t}=this.props.view,{paddingLeft:n,columnGap:r}=this.props.viewerSettings,i=Math.abs(this.context.getTranslateX()),a=e.getBoundingClientRect().x+i,o=window.innerWidth-n*2+r,s=t/o-(t-a)/o;s=Math.round(s),this.setState({verso:!0,recto:!1,spreadIndex:s})};render(){return(0,Y.jsx)(t,{elemRef:this.elemRef,...this.state,...this.props})}}return H(({readerSettings:e,viewerSettings:t,view:n})=>({readerSettings:e,viewerSettings:t,view:n}),()=>({}))(r)},Kg=class extends e.default.Component{render(){let{verso:e,recto:t}=this.props;return{...this.props.style},(0,Y.jsxs)(`span`,{children:[(0,Y.jsx)(`span`,{"data-verso":e,"data-recto":t,"data-index":this.props[`data-index`],"data-final":this.props[`data-final`],className:this.props.className,ref:this.props.elemRef}),(0,Y.jsx)(`span`,{className:`bber-marker__spacer`})]})}},qg=H(({markers:e})=>({markers:e}),e=>({markerActions:W(ug,e)}))(Gg(Kg,{isMarker:!0})),Jg=({elementKey:e,elementRef:t,handleLoad:n,handleEnded:r,controls:i,children:a,...o})=>(0,Y.jsx)(`audio`,{onLoadedMetadata:n,onEnded:r,controls:i,ref:t,...o,children:a},e),Yg=e=>(0,Y.jsx)(`a`,{className:`bber-a material-icons media__button__file_download`,href:e.currentSrc,download:!0,children:`file_download`});function Xg(e){return(0,Y.jsx)(`button`,{className:(0,X.default)(`bber-button material-icons`,{"bber-hover":e.loop}),onClick:e.updateLoop,children:`repeat`})}function Zg(e){switch(e.playbackRate){case ro.SLOW:return(0,Y.jsxs)(`button`,{className:`bber-button bber-button__media__playback-rate`,onClick:e.playbackNormal,children:[`0.5`,(0,Y.jsx)(`span`,{className:`bber-times__media__playback-rate`,children:`×`})]});case ro.NORMAL:return(0,Y.jsxs)(`button`,{className:`bber-button bber-button__media__playback-rate`,onClick:e.playbackFast,children:[`1`,(0,Y.jsx)(`span`,{className:`bber-times__media__playback-rate`,children:`×`})]});case ro.FAST:return(0,Y.jsxs)(`button`,{className:`bber-button bber-button__media__playback-rate`,onClick:e.playbackSlow,children:[`1.5`,(0,Y.jsx)(`span`,{className:`bber-times__media__playback-rate`,children:`×`})]});default:return null}}function Qg(e){return e.paused?(0,Y.jsx)(`button`,{className:`bber-button material-icons bber-media__button__play`,onClick:e.play,children:`play_arrow`}):(0,Y.jsx)(`button`,{className:`bber-button material-icons bber-media__button__pause`,onClick:e.pause,children:`pause`})}function $g(e){return(0,Y.jsx)(`button`,{className:`bber-button material-icons bber-media__button__forward_30`,onClick:e.timeForward,children:`forward_30`})}function e_(e){return(0,Y.jsx)(`button`,{className:`bber-button material-icons bber-media__button__replay_30`,onClick:e.timeBack,children:`replay_30`})}function t_(e){return(0,Y.jsxs)(`div`,{className:`bber-media__slider`,children:[(0,Y.jsx)(`div`,{className:`bber-media__slider--before`,style:{width:`${e.progress/e.duration*100}%`}}),(0,Y.jsx)(`input`,{className:`bber-input`,type:`range`,min:`0`,max:e.duration,step:e.duration/100,value:e.progress,onChange:e.seek})]})}var n_=class extends e.default.Component{constructor(){super(),this.state={open:!1}}toggle=()=>this.setState(e=>({open:!e.open}));render(){let{open:e}=this.state;return(0,Y.jsxs)(Y.Fragment,{children:[(0,Y.jsx)(`div`,{className:(0,X.default)(`bber-slider__volume`,{"bber-open":e}),children:(0,Y.jsx)(t_,{duration:1,progress:this.props.volume,seek:this.props.updateVolume})}),(0,Y.jsx)(`button`,{className:(0,X.default)(`bber-button material-icons bber-media__button__volume_up`,{"bber-hover":e}),onClick:this.toggle,children:`volume_up`})]})}};function r_({time:e}){return(0,Y.jsx)(`div`,{className:`bber-media__time`,children:e})}function i_(e){return(0,Y.jsxs)(`div`,{className:`bber-media__stacked`,children:[(0,Y.jsxs)(`div`,{className:`bber-media__stacked__row`,children:[(0,Y.jsx)(r_,{time:e.timeElapsed}),(0,Y.jsx)(t_,{duration:e.duration,progress:e.progress,seek:e.seek}),(0,Y.jsx)(r_,{time:e.timeRemaining})]}),(0,Y.jsx)(`div`,{className:`bber-media__stacked__separator`,children:(0,Y.jsx)(`div`,{className:`bber-media__stacked__separator--line`})}),(0,Y.jsxs)(`div`,{className:`bber-media__stacked__row`,children:[(0,Y.jsx)(e_,{timeBack:e.timeBack}),(0,Y.jsx)(Qg,{paused:e.paused,pause:e.pause,play:e.play}),(0,Y.jsx)($g,{timeForward:e.timeForward}),(0,Y.jsx)(Xg,{loop:e.loop,updateLoop:e.updateLoop}),(0,Y.jsx)(Zg,{playbackRate:e.playbackRate,playbackSlow:e.playbackSlow,playbackNormal:e.playbackNormal,playbackFast:e.playbackFast}),(0,Y.jsx)(`div`,{style:{marginRight:`auto`}}),(0,Y.jsx)(n_,{volume:e.volume,updateVolume:e.updateVolume}),(0,Y.jsx)(Yg,{currentSrc:e.currentSrc})]})]})}function a_(e){return(0,Y.jsxs)(Y.Fragment,{children:[(0,Y.jsx)(e_,{timeBack:e.timeBack}),(0,Y.jsx)(Qg,{paused:e.paused,pause:e.pause,play:e.play}),(0,Y.jsx)($g,{timeForward:e.timeForward}),(0,Y.jsx)(Xg,{loop:e.loop,updateLoop:e.updateLoop}),(0,Y.jsx)(Zg,{playbackRate:e.playbackRate,playbackSlow:e.playbackSlow,playbackNormal:e.playbackNormal,playbackFast:e.playbackFast}),(0,Y.jsx)(r_,{time:e.timeElapsed}),(0,Y.jsx)(t_,{duration:e.duration,progress:e.progress,seek:e.seek}),(0,Y.jsx)(r_,{time:e.timeRemaining}),(0,Y.jsx)(n_,{volume:e.volume,updateVolume:e.updateVolume}),(0,Y.jsx)(Yg,{currentSrc:e.currentSrc})]})}function o_(e){return J.isSingleColumn()?(0,Y.jsx)(i_,{...e}):(0,Y.jsx)(a_,{...e})}var s_=e=>(0,Y.jsxs)(Y.Fragment,{children:[(0,Y.jsx)(e_,{timeBack:e.timeBack}),(0,Y.jsx)(Qg,{paused:e.paused,pause:e.pause,play:e.play}),(0,Y.jsx)($g,{timeForward:e.timeForward}),(0,Y.jsx)(r_,{time:e.timeElapsed}),(0,Y.jsx)(t_,{duration:e.duration,progress:e.progress,seek:e.seek}),(0,Y.jsx)(r_,{time:e.timeRemaining}),(0,Y.jsx)(n_,{volume:e.volume,updateVolume:e.updateVolume})]}),c_=e=>(0,Y.jsxs)(Y.Fragment,{children:[(0,Y.jsx)(Qg,{paused:e.paused,pause:e.pause,play:e.play}),(0,Y.jsx)(r_,{time:e.timeElapsed}),(0,Y.jsx)(t_,{duration:e.duration,progress:e.progress,seek:e.seek}),(0,Y.jsx)(r_,{time:e.timeRemaining})]}),l_=({config:e,...t})=>e===`simple`?(0,Y.jsx)(c_,{...t}):e===`normal`?(0,Y.jsx)(s_,{...t}):(0,Y.jsx)(o_,{...t}),u_=e=>(0,Y.jsx)(`button`,{className:`bber-button`,onClick:e.toggleFullscreen,children:`toggleFullscreen`}),d_=e=>(0,Y.jsxs)(Y.Fragment,{children:[(0,Y.jsx)(Qg,{paused:e.paused,pause:e.pause,play:e.play}),(0,Y.jsx)(t_,{duration:e.duration,progress:e.progress,seek:e.seek})]}),f_=e=>(0,Y.jsxs)(Y.Fragment,{children:[(0,Y.jsx)(d_,{...e}),(0,Y.jsx)(r_,{timeElapsed:e.timeElapsed,timeRemaining:e.timeRemaining}),(0,Y.jsx)(n_,{volumeUp:e.volumeUp,volumeDown:e.volumeDown}),(0,Y.jsx)(u_,{toggleFullscreen:e.toggleFullscreen})]}),p_=e=>(0,Y.jsxs)(Y.Fragment,{children:[(0,Y.jsx)(f_,{...e}),(0,Y.jsx)(Zg,{playbackSlow:e.playbackSlow,playbackNormal:e.playbackNormal,playbackFast:e.playbackFast})]}),m_=({config:e,...t})=>e===`simple`?(0,Y.jsx)(d_,{...t}):e===`normal`?(0,Y.jsx)(f_,{...t}):(0,Y.jsx)(p_,{...t}),h_=({mediaType:e,...t})=>e===`audio`?(0,Y.jsx)(l_,{playbackSlow:t.playbackSlow,playbackNormal:t.playbackNormal,playbackFast:t.playbackFast,...t}):(0,Y.jsx)(m_,{playbackSlow:t.playbackSlow,playbackNormal:t.playbackNormal,playbackFast:t.playbackFast,...t}),g_=class extends e.default.Component{playbackSlow=()=>this.props.updatePlaybackRate(ro.SLOW);playbackNormal=()=>this.props.updatePlaybackRate(ro.NORMAL);playbackFast=()=>this.props.updatePlaybackRate(ro.FAST);render(){let{mediaType:e,config:t}=this.props;return t?(0,Y.jsx)(`div`,{className:(0,X.default)(`bber-media__controls`,`bber-media__controls--${e}`,`bber-media__controls--${t}`),children:(0,Y.jsx)(h_,{playbackSlow:this.playbackSlow,playbackNormal:this.playbackNormal,playbackFast:this.playbackFast,...this.props})}):null}},__=Gg(class t extends e.default.Component{static contextType=ko;static skipStep=30;state={autoPlay:this.props.autoPlay||!1,paused:!0,loop:!1,volume:1,playbackRate:ro.NORMAL,currentTime:0,duration:0,seeking:!1,muted:!1,progress:0,timeElapsed:`00:00`,timeRemaining:`00:00`,currentSrc:``,userInitiatedPause:!1};UNSAFE_componentWillMount(){this.props[`data-autoplay`]===!0&&this.setState({autoPlay:!0})}UNSAFE_componentWillReceiveProps(e,t){if(!this.state.autoPlay)return;let n=this;this.props.elemRef.current.addEventListener(`canplay`,function r(){n.onCanPlay(e,t),n.props.elemRef.current.removeEventListener(`canplay`,r)})}onCanPlay=(e,t)=>{let{paused:n,userInitiatedPause:r}=this.state;n===!0&&r===!1&&e.spreadIndex===t.spreadIndex&&this.setState({paused:!1},()=>this.playMedia()),e.spreadIndex!==t.spreadIndex&&n===!1&&this.setState({paused:!0},()=>this.pauseMedia())};playMedia=()=>{let e=this.props.elemRef.current.play();e&&e.catch(()=>{}),this.updateControlsUI()};pauseMedia=()=>{this.props.elemRef.current.pause()};play=()=>this.setState({paused:!1,userInitiatedPause:!1},()=>this.playMedia());pause=()=>this.setState({paused:!0,userInitiatedPause:!0},()=>this.pauseMedia());updateTime=e=>{let{duration:t}=this.state,{currentTime:n}=this.state;n=parseFloat((n+e).toFixed(10)),n=Math.max(0,Math.min(n,t)),this.setState({currentTime:n},()=>{this.props.elemRef.current.currentTime=this.state.currentTime,this.updateControlsUI()})};updateVolume=e=>{let t=e.currentTarget.value;this.setState({volume:t},()=>this.props.elemRef.current.volume=this.state.volume)};updateLoop=()=>{let e=!this.state.loop;this.setState({loop:e},()=>this.props.elemRef.current.loop=this.state.loop)};updatePlaybackRate=e=>this.setState({playbackRate:e},()=>this.props.elemRef.current.playbackRate=this.state.playbackRate);displayTime(e){let t=Math.round(e),n=t%60,r=(t-n)/60;return n=String(n).padStart(2,`0`),r=String(r).padStart(2,`0`),`${r}:${n}`}updateControlsUI=()=>{this.updateTimeStamps(),this.updateProgress(),!this.state.paused&&this.props.elemRef?.current&&setTimeout(this.updateControlsUI.bind(this),1e3)};updateTimeStamps=()=>{if(!this.props.elemRef?.current)return;let{currentTime:e}=this.props.elemRef.current,t=this.displayTime(e);this.setState({currentTime:e,timeElapsed:t})};updateProgress=()=>{if(!this.props.elemRef?.current)return;let e=this.props.elemRef.current.currentTime;this.setState({progress:e})};timeForward=()=>this.updateTime(t.skipStep);timeBack=()=>this.updateTime(t.skipStep*-1);seek=e=>{let t=Number(e.target.value),n=t;this.setState({progress:t,currentTime:n},()=>{this.props.elemRef.current.currentTime=this.state.currentTime,this.updateTimeStamps()})};fullscreenElement(){return document.fullscreenElement||document.webkitFullscreenElement||document.mozFullScreenElement||document.msFullscreenElement}requestFullscreen(e){e.requestFullscreen?e.requestFullscreen():e.mozRequestFullScreen?e.mozRequestFullScreen():e.webkitRequestFullscreen?e.webkitRequestFullscreen():e.msRequestFullscreen&&e.msRequestFullscreen()}exitFullscreen(e){e.exitFullscreen?e.exitFullscreen():e.mozCancelFullScreen?e.mozCancelFullScreen():e.webkitExitFullscreen?e.webkitExitFullscreen():e.msExitFullscreen&&e.msExitFullscreen()}toggleFullscreen=()=>{let e=this.props.elemRef.current;this.fullscreenElement()?this.exitFullscreen(e):this.requestFullscreen(e)};handleLoad=()=>{let{seeking:e,currentTime:t,duration:n,playbackRate:r,loop:i,volume:a,muted:o,currentSrc:s}=this.props.elemRef.current;this.props.elemRef.current.preload=`auto`;let c=this.displayTime(n);this.setState({seeking:e,muted:o,currentTime:t,duration:n,playbackRate:r,loop:i,volume:a,timeRemaining:c,currentSrc:s})};handleEnded=()=>this.setState({paused:!0,userInitiatedPause:!0});render(){let{elemRef:e,verso:t,recto:n,spreadIndex:r,elementEdgeLeft:i,MediaComponent:a,mediaType:o,autoPlay:s,currentSpreadIndex:c,view:l,viewerSettings:u,readerSettings:d,controls:f,...p}=this.props,m=null,h=!0;return f?io.has(f)&&(m=f,h=!1):h=!1,(0,Y.jsxs)(Y.Fragment,{children:[(0,Y.jsx)(a,{elementKey:p.id,elementRef:e,handleLoad:this.handleLoad,handleEnded:this.handleEnded,controls:h,...p}),(0,Y.jsx)(g_,{config:m,mediaType:o,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})]})}},{useParentDimensions:!0}),v_=e=>(0,Y.jsx)(__,{mediaType:`audio`,MediaComponent:Jg,...e}),y_=(t,n={enabled:!1})=>class extends e.default.Component{iframePlaceholder=e.default.createRef();constructor(e){super(e),this.state={iframePlaceholderTop:0,iframePlaceholderWidth:0,iframePlaceholderHeight:0}}UNSAFE_componentWillMount(){window.addEventListener(`resize`,this.handleResize)}componentDidMount(){n.enabled&&this.updateIframePosition()}componentWillUnmount(){window.removeEventListener(`resize`,this.handleResize)}handleResize=()=>{n.enabled&&this.updateIframePosition()};updateIframePosition=()=>{if(J.isVerticallyScrolling(this.props))return;if(!this.iframePlaceholder){console.warn(`Could not find iframePlaceholder node`);return}let e=this.iframePlaceholder,{iframePlaceholderTop:t,iframePlaceholderWidth:n,iframePlaceholderHeight:r}=this.state,{top:i,width:a,height:o}=e.getBoundingClientRect();(t!==i||n!==a||r!==o)&&(this.setState({iframePlaceholderTop:i,iframePlaceholderWidth:a,iframePlaceholderHeight:o}),setTimeout(this.updateIframePosition,60))};iframeStyleBlock=(e=`iframe`)=>n.enabled?`
|
|
72
|
+
.context__desktop .${e}.figure__large.figure__inline .embed.supported {
|
|
73
|
+
padding-top: 0 !important;
|
|
74
|
+
position: static !important;
|
|
75
|
+
transform: none !important;
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
.context__desktop .spread-with-fullbleed-media .${e}.figure__large.figure__inline .embed.supported {
|
|
79
|
+
position: relative !important;
|
|
80
|
+
}
|
|
81
|
+
|
|
82
|
+
.context__desktop .spread-with-fullbleed-media .${e}.figure__large.figure__inline .embed.supported iframe,
|
|
83
|
+
.context__desktop .spread-with-fullbleed-media .${e}.figure__large.figure__inline .embed.supported .bber-iframe-placeholder + div {
|
|
84
|
+
top: 0 !important;
|
|
85
|
+
}
|
|
86
|
+
`:``;render(){return(0,Y.jsx)(t,{...this.props,...this.state,iframeStyleBlock:this.iframeStyleBlock,innerRef:e=>this.iframePlaceholder=e})}},b_=Eo(`chrome`,`eq`,81),x_=Gg(y_(class extends e.default.Component{static contextType=ko;componentDidMount(){window.addEventListener(`blur`,this.focusWindow)}componentWillUnmount(){window.removeEventListener(`blur`,this.focusWindow)}focusWindow=()=>setTimeout(()=>window.focus(),60);render(){let{attrs:e,viewerSettings:t,iframePlaceholderTop:n,iframePlaceholderWidth:r}=this.props,{src:i,title:a,width:o,height:s}=e,c={};if(b_){let e=J.isSingleColumn(t);c={top:n,width:o,maxWidth:e?`100%`:r,position:e?`static`:`absolute`}}return(0,Y.jsxs)(Y.Fragment,{children:[b_&&(0,Y.jsx)(`style`,{children:this.props.iframeStyleBlock(`iframe`)}),b_&&(0,Y.jsx)(`div`,{style:{paddingTop:s},className:`bber-iframe-placeholder`,ref:this.props.innerRef},`placholder-${i}`),(0,Y.jsx)(`div`,{style:c,ref:this.props.elemRef,children:(0,Y.jsx)(`iframe`,{src:i,title:a,...e})},i)]})}},{enabled:b_})),S_=({elementKey:e,elementRef:t,handleLoad:n,handleEnded:r,controls:i,children:a,...o})=>(0,Y.jsx)(`video`,{onLoadedMetadata:n,onEnded:r,controls:i,ref:t,...o,children:a},e),C_=e=>(0,Y.jsx)(__,{mediaType:`video`,MediaComponent:S_,...e}),w_=c(((e,t)=>{var n=function(e){return r(e)&&!i(e)};function r(e){return!!e&&typeof e==`object`}function i(e){var t=Object.prototype.toString.call(e);return t===`[object RegExp]`||t===`[object Date]`||o(e)}var a=typeof Symbol==`function`&&Symbol.for?Symbol.for(`react.element`):60103;function o(e){return e.$$typeof===a}function s(e){return Array.isArray(e)?[]:{}}function c(e,t){return t.clone!==!1&&t.isMergeableObject(e)?g(s(e),e,t):e}function l(e,t,n){return e.concat(t).map(function(e){return c(e,n)})}function u(e,t){if(!t.customMerge)return g;var n=t.customMerge(e);return typeof n==`function`?n:g}function d(e){return Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(e).filter(function(t){return e.propertyIsEnumerable(t)}):[]}function f(e){return Object.keys(e).concat(d(e))}function p(e,t){try{return t in e}catch{return!1}}function m(e,t){return p(e,t)&&!(Object.hasOwnProperty.call(e,t)&&Object.propertyIsEnumerable.call(e,t))}function h(e,t,n){var r={};return n.isMergeableObject(e)&&f(e).forEach(function(t){r[t]=c(e[t],n)}),f(t).forEach(function(i){m(e,i)||(p(e,i)&&n.isMergeableObject(t[i])?r[i]=u(i,n)(e[i],t[i],n):r[i]=c(t[i],n))}),r}function g(e,t,r){r||={},r.arrayMerge=r.arrayMerge||l,r.isMergeableObject=r.isMergeableObject||n,r.cloneUnlessOtherwiseSpecified=c;var i=Array.isArray(t);return i===Array.isArray(e)?i?r.arrayMerge(e,t,r):h(e,t,r):c(t,r)}g.all=function(e,t){if(!Array.isArray(e))throw Error(`first argument should be an array`);return e.reduce(function(e,n){return g(e,n,t)},{})},t.exports=g})),T_=l({default:()=>O_});function E_(e,t){return!!(e===t||k_(e)&&k_(t))}function D_(e,t){if(e.length!==t.length)return!1;for(var n=0;n<e.length;n++)if(!E_(e[n],t[n]))return!1;return!0}function O_(e,t){t===void 0&&(t=D_);var n,r=[],i,a=!1;function o(){for(var o=[],s=0;s<arguments.length;s++)o[s]=arguments[s];return a&&n===this&&t(o,r)?i:(i=e.apply(this,o),a=!0,n=this,r=o,i)}return o}var k_,A_=s((()=>{k_=Number.isNaN||function(e){return typeof e==`number`&&e!==e}})),j_=c(((e,t)=>{var n=typeof Element<`u`,r=typeof Map==`function`,i=typeof Set==`function`,a=typeof ArrayBuffer==`function`&&!!ArrayBuffer.isView;function o(e,t){if(e===t)return!0;if(e&&t&&typeof e==`object`&&typeof t==`object`){if(e.constructor!==t.constructor)return!1;var s,c,l;if(Array.isArray(e)){if(s=e.length,s!=t.length)return!1;for(c=s;c--!==0;)if(!o(e[c],t[c]))return!1;return!0}var u;if(r&&e instanceof Map&&t instanceof Map){if(e.size!==t.size)return!1;for(u=e.entries();!(c=u.next()).done;)if(!t.has(c.value[0]))return!1;for(u=e.entries();!(c=u.next()).done;)if(!o(c.value[1],t.get(c.value[0])))return!1;return!0}if(i&&e instanceof Set&&t instanceof Set){if(e.size!==t.size)return!1;for(u=e.entries();!(c=u.next()).done;)if(!t.has(c.value[0]))return!1;return!0}if(a&&ArrayBuffer.isView(e)&&ArrayBuffer.isView(t)){if(s=e.length,s!=t.length)return!1;for(c=s;c--!==0;)if(e[c]!==t[c])return!1;return!0}if(e.constructor===RegExp)return e.source===t.source&&e.flags===t.flags;if(e.valueOf!==Object.prototype.valueOf)return e.valueOf()===t.valueOf();if(e.toString!==Object.prototype.toString)return e.toString()===t.toString();if(l=Object.keys(e),s=l.length,s!==Object.keys(t).length)return!1;for(c=s;c--!==0;)if(!Object.prototype.hasOwnProperty.call(t,l[c]))return!1;if(n&&e instanceof Element)return!1;for(c=s;c--!==0;)if(!((l[c]===`_owner`||l[c]===`__v`||l[c]===`__o`)&&e.$$typeof)&&!o(e[l[c]],t[l[c]]))return!1;return!0}return e!==e&&t!==t}t.exports=function(e,t){try{return o(e,t)}catch(e){if((e.message||``).match(/stack|recursion/i))return console.warn(`react-fast-compare cannot handle circular refs`),!1;throw e}}})),M_=c((e=>{var t=typeof Symbol==`function`&&Symbol.for,n=t?Symbol.for(`react.element`):60103,r=t?Symbol.for(`react.portal`):60106,i=t?Symbol.for(`react.fragment`):60107,a=t?Symbol.for(`react.strict_mode`):60108,o=t?Symbol.for(`react.profiler`):60114,s=t?Symbol.for(`react.provider`):60109,c=t?Symbol.for(`react.context`):60110,l=t?Symbol.for(`react.async_mode`):60111,u=t?Symbol.for(`react.concurrent_mode`):60111,d=t?Symbol.for(`react.forward_ref`):60112,f=t?Symbol.for(`react.suspense`):60113,p=t?Symbol.for(`react.suspense_list`):60120,m=t?Symbol.for(`react.memo`):60115,h=t?Symbol.for(`react.lazy`):60116,g=t?Symbol.for(`react.block`):60121,_=t?Symbol.for(`react.fundamental`):60117,v=t?Symbol.for(`react.responder`):60118,y=t?Symbol.for(`react.scope`):60119;function b(e){if(typeof e==`object`&&e){var t=e.$$typeof;switch(t){case n:switch(e=e.type,e){case l:case u:case i:case o:case a:case f:return e;default:switch(e&&=e.$$typeof,e){case c:case d:case h:case m:case s:return e;default:return t}}case r:return t}}}function x(e){return b(e)===u}e.AsyncMode=l,e.ConcurrentMode=u,e.ContextConsumer=c,e.ContextProvider=s,e.Element=n,e.ForwardRef=d,e.Fragment=i,e.Lazy=h,e.Memo=m,e.Portal=r,e.Profiler=o,e.StrictMode=a,e.Suspense=f,e.isAsyncMode=function(e){return x(e)||b(e)===l},e.isConcurrentMode=x,e.isContextConsumer=function(e){return b(e)===c},e.isContextProvider=function(e){return b(e)===s},e.isElement=function(e){return typeof e==`object`&&!!e&&e.$$typeof===n},e.isForwardRef=function(e){return b(e)===d},e.isFragment=function(e){return b(e)===i},e.isLazy=function(e){return b(e)===h},e.isMemo=function(e){return b(e)===m},e.isPortal=function(e){return b(e)===r},e.isProfiler=function(e){return b(e)===o},e.isStrictMode=function(e){return b(e)===a},e.isSuspense=function(e){return b(e)===f},e.isValidElementType=function(e){return typeof e==`string`||typeof e==`function`||e===i||e===u||e===o||e===a||e===f||e===p||typeof e==`object`&&!!e&&(e.$$typeof===h||e.$$typeof===m||e.$$typeof===s||e.$$typeof===c||e.$$typeof===d||e.$$typeof===_||e.$$typeof===v||e.$$typeof===y||e.$$typeof===g)},e.typeOf=b})),N_=c((e=>{process.env.NODE_ENV!==`production`&&(function(){"use strict";var t=typeof Symbol==`function`&&Symbol.for,n=t?Symbol.for(`react.element`):60103,r=t?Symbol.for(`react.portal`):60106,i=t?Symbol.for(`react.fragment`):60107,a=t?Symbol.for(`react.strict_mode`):60108,o=t?Symbol.for(`react.profiler`):60114,s=t?Symbol.for(`react.provider`):60109,c=t?Symbol.for(`react.context`):60110,l=t?Symbol.for(`react.async_mode`):60111,u=t?Symbol.for(`react.concurrent_mode`):60111,d=t?Symbol.for(`react.forward_ref`):60112,f=t?Symbol.for(`react.suspense`):60113,p=t?Symbol.for(`react.suspense_list`):60120,m=t?Symbol.for(`react.memo`):60115,h=t?Symbol.for(`react.lazy`):60116,g=t?Symbol.for(`react.block`):60121,_=t?Symbol.for(`react.fundamental`):60117,v=t?Symbol.for(`react.responder`):60118,y=t?Symbol.for(`react.scope`):60119;function b(e){return typeof e==`string`||typeof e==`function`||e===i||e===u||e===o||e===a||e===f||e===p||typeof e==`object`&&!!e&&(e.$$typeof===h||e.$$typeof===m||e.$$typeof===s||e.$$typeof===c||e.$$typeof===d||e.$$typeof===_||e.$$typeof===v||e.$$typeof===y||e.$$typeof===g)}function x(e){if(typeof e==`object`&&e){var t=e.$$typeof;switch(t){case n:var p=e.type;switch(p){case l:case u:case i:case o:case a:case f:return p;default:var g=p&&p.$$typeof;switch(g){case c:case d:case h:case m:case s:return g;default:return t}}case r:return t}}}var S=l,C=u,w=c,T=s,E=n,D=d,O=i,k=h,A=m,j=r,M=o,N=a,P=f,F=!1;function I(e){return F||(F=!0,console.warn(`The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactIs.isConcurrentMode() instead. It has the exact same API.`)),L(e)||x(e)===l}function L(e){return x(e)===u}function R(e){return x(e)===c}function ee(e){return x(e)===s}function z(e){return typeof e==`object`&&!!e&&e.$$typeof===n}function te(e){return x(e)===d}function ne(e){return x(e)===i}function re(e){return x(e)===h}function ie(e){return x(e)===m}function ae(e){return x(e)===r}function oe(e){return x(e)===o}function se(e){return x(e)===a}function ce(e){return x(e)===f}e.AsyncMode=S,e.ConcurrentMode=C,e.ContextConsumer=w,e.ContextProvider=T,e.Element=E,e.ForwardRef=D,e.Fragment=O,e.Lazy=k,e.Memo=A,e.Portal=j,e.Profiler=M,e.StrictMode=N,e.Suspense=P,e.isAsyncMode=I,e.isConcurrentMode=L,e.isContextConsumer=R,e.isContextProvider=ee,e.isElement=z,e.isForwardRef=te,e.isFragment=ne,e.isLazy=re,e.isMemo=ie,e.isPortal=ae,e.isProfiler=oe,e.isStrictMode=se,e.isSuspense=ce,e.isValidElementType=b,e.typeOf=x})()})),P_=c(((e,t)=>{process.env.NODE_ENV===`production`?t.exports=M_():t.exports=N_()})),F_=c(((e,t)=>{var n=Object.getOwnPropertySymbols,r=Object.prototype.hasOwnProperty,i=Object.prototype.propertyIsEnumerable;function a(e){if(e==null)throw TypeError(`Object.assign cannot be called with null or undefined`);return Object(e)}function o(){try{if(!Object.assign)return!1;var e=new String(`abc`);if(e[5]=`de`,Object.getOwnPropertyNames(e)[0]===`5`)return!1;for(var t={},n=0;n<10;n++)t[`_`+String.fromCharCode(n)]=n;if(Object.getOwnPropertyNames(t).map(function(e){return t[e]}).join(``)!==`0123456789`)return!1;var r={};return`abcdefghijklmnopqrst`.split(``).forEach(function(e){r[e]=e}),Object.keys(Object.assign({},r)).join(``)===`abcdefghijklmnopqrst`}catch{return!1}}t.exports=o()?Object.assign:function(e,t){for(var o,s=a(e),c,l=1;l<arguments.length;l++){for(var u in o=Object(arguments[l]),o)r.call(o,u)&&(s[u]=o[u]);if(n){c=n(o);for(var d=0;d<c.length;d++)i.call(o,c[d])&&(s[c[d]]=o[c[d]])}}return s}})),I_=c(((e,t)=>{t.exports=`SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED`})),L_=c(((e,t)=>{t.exports=Function.call.bind(Object.prototype.hasOwnProperty)})),R_=c(((e,t)=>{var n=function(){};if(process.env.NODE_ENV!==`production`){var r=I_(),i={},a=L_();n=function(e){var t=`Warning: `+e;typeof console<`u`&&console.error(t);try{throw Error(t)}catch{}}}function o(e,t,o,s,c){if(process.env.NODE_ENV!==`production`){for(var l in e)if(a(e,l)){var u;try{if(typeof e[l]!=`function`){var d=Error((s||`React class`)+`: `+o+" type `"+l+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof e[l]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw d.name=`Invariant Violation`,d}u=e[l](t,l,s,o,null,r)}catch(e){u=e}if(u&&!(u instanceof Error)&&n((s||`React class`)+`: type specification of `+o+" `"+l+"` is invalid; the type checker function must return `null` or an `Error` but returned a "+typeof u+`. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).`),u instanceof Error&&!(u.message in i)){i[u.message]=!0;var f=c?c():``;n(`Failed `+o+` type: `+u.message+(f??``))}}}}o.resetWarningCache=function(){process.env.NODE_ENV!==`production`&&(i={})},t.exports=o})),z_=c(((e,t)=>{var n=P_(),r=F_(),i=I_(),a=L_(),o=R_(),s=function(){};process.env.NODE_ENV!==`production`&&(s=function(e){var t=`Warning: `+e;typeof console<`u`&&console.error(t);try{throw Error(t)}catch{}});function c(){return null}t.exports=function(e,t){var l=typeof Symbol==`function`&&Symbol.iterator,u=`@@iterator`;function d(e){var t=e&&(l&&e[l]||e[u]);if(typeof t==`function`)return t}var f=`<<anonymous>>`,p={array:_(`array`),bigint:_(`bigint`),bool:_(`boolean`),func:_(`function`),number:_(`number`),object:_(`object`),string:_(`string`),symbol:_(`symbol`),any:v(),arrayOf:y,element:b(),elementType:x(),instanceOf:S,node:E(),objectOf:w,oneOf:C,oneOfType:T,shape:O,exact:k};function m(e,t){return e===t?e!==0||1/e==1/t:e!==e&&t!==t}function h(e,t){this.message=e,this.data=t&&typeof t==`object`?t:{},this.stack=``}h.prototype=Error.prototype;function g(e){if(process.env.NODE_ENV!==`production`)var n={},r=0;function a(a,o,c,l,u,d,p){if(l||=f,d||=c,p!==i){if(t){var m=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 m.name=`Invariant Violation`,m}else if(process.env.NODE_ENV!==`production`&&typeof console<`u`){var g=l+`:`+c;!n[g]&&r<3&&(s("You are manually calling a React.PropTypes validation function for the `"+d+"` prop on `"+l+"`. This is deprecated and will throw in the standalone `prop-types` package. You may be seeing this warning due to a third-party PropTypes library. See https://fb.me/react-warning-dont-call-proptypes for details."),n[g]=!0,r++)}}return o[c]==null?a?o[c]===null?new h(`The `+u+" `"+d+"` is marked as required "+("in `"+l+"`, but its value is `null`.")):new h(`The `+u+" `"+d+"` is marked as required in "+("`"+l+"`, but its value is `undefined`.")):null:e(o,c,l,u,d)}var o=a.bind(null,!1);return o.isRequired=a.bind(null,!0),o}function _(e){function t(t,n,r,i,a,o){var s=t[n];if(M(s)!==e){var c=N(s);return new h(`Invalid `+i+" `"+a+"` of type "+("`"+c+"` supplied to `"+r+"`, expected ")+("`"+e+"`."),{expectedType:e})}return null}return g(t)}function v(){return g(c)}function y(e){function t(t,n,r,a,o){if(typeof e!=`function`)return new h("Property `"+o+"` of component `"+r+"` has invalid PropType notation inside arrayOf.");var s=t[n];if(!Array.isArray(s)){var c=M(s);return new h(`Invalid `+a+" `"+o+"` of type "+("`"+c+"` supplied to `"+r+"`, expected an array."))}for(var l=0;l<s.length;l++){var u=e(s,l,r,a,o+`[`+l+`]`,i);if(u instanceof Error)return u}return null}return g(t)}function b(){function t(t,n,r,i,a){var o=t[n];if(!e(o)){var s=M(o);return new h(`Invalid `+i+" `"+a+"` of type "+("`"+s+"` supplied to `"+r+"`, expected a single ReactElement."))}return null}return g(t)}function x(){function e(e,t,r,i,a){var o=e[t];if(!n.isValidElementType(o)){var s=M(o);return new h(`Invalid `+i+" `"+a+"` of type "+("`"+s+"` supplied to `"+r+"`, expected a single ReactElement type."))}return null}return g(e)}function S(e){function t(t,n,r,i,a){if(!(t[n]instanceof e)){var o=e.name||f,s=F(t[n]);return new h(`Invalid `+i+" `"+a+"` of type "+("`"+s+"` supplied to `"+r+"`, expected ")+("instance of `"+o+"`."))}return null}return g(t)}function C(e){if(!Array.isArray(e))return process.env.NODE_ENV!==`production`&&(arguments.length>1?s(`Invalid arguments supplied to oneOf, expected an array, got `+arguments.length+` arguments. A common mistake is to write oneOf(x, y, z) instead of oneOf([x, y, z]).`):s(`Invalid argument supplied to oneOf, expected an array.`)),c;function t(t,n,r,i,a){for(var o=t[n],s=0;s<e.length;s++)if(m(o,e[s]))return null;var c=JSON.stringify(e,function(e,t){return N(t)===`symbol`?String(t):t});return new h(`Invalid `+i+" `"+a+"` of value `"+String(o)+"` "+("supplied to `"+r+"`, expected one of "+c+`.`))}return g(t)}function w(e){function t(t,n,r,o,s){if(typeof e!=`function`)return new h("Property `"+s+"` of component `"+r+"` has invalid PropType notation inside objectOf.");var c=t[n],l=M(c);if(l!==`object`)return new h(`Invalid `+o+" `"+s+"` of type "+("`"+l+"` supplied to `"+r+"`, expected an object."));for(var u in c)if(a(c,u)){var d=e(c,u,r,o,s+`.`+u,i);if(d instanceof Error)return d}return null}return g(t)}function T(e){if(!Array.isArray(e))return process.env.NODE_ENV!==`production`&&s(`Invalid argument supplied to oneOfType, expected an instance of array.`),c;for(var t=0;t<e.length;t++){var n=e[t];if(typeof n!=`function`)return s(`Invalid argument supplied to oneOfType. Expected an array of check functions, but received `+P(n)+` at index `+t+`.`),c}function r(t,n,r,o,s){for(var c=[],l=0;l<e.length;l++){var u=e[l],d=u(t,n,r,o,s,i);if(d==null)return null;d.data&&a(d.data,`expectedType`)&&c.push(d.data.expectedType)}var f=c.length>0?`, expected one of type [`+c.join(`, `)+`]`:``;return new h(`Invalid `+o+" `"+s+"` supplied to "+("`"+r+"`"+f+`.`))}return g(r)}function E(){function e(e,t,n,r,i){return A(e[t])?null:new h(`Invalid `+r+" `"+i+"` supplied to "+("`"+n+"`, expected a ReactNode."))}return g(e)}function D(e,t,n,r,i){return new h((e||`React class`)+`: `+t+" type `"+n+`.`+r+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+i+"`.")}function O(e){function t(t,n,r,a,o){var s=t[n],c=M(s);if(c!==`object`)return new h(`Invalid `+a+" `"+o+"` of type `"+c+"` "+("supplied to `"+r+"`, expected `object`."));for(var l in e){var u=e[l];if(typeof u!=`function`)return D(r,a,o,l,N(u));var d=u(s,l,r,a,o+`.`+l,i);if(d)return d}return null}return g(t)}function k(e){function t(t,n,o,s,c){var l=t[n],u=M(l);if(u!==`object`)return new h(`Invalid `+s+" `"+c+"` of type `"+u+"` "+("supplied to `"+o+"`, expected `object`."));for(var d in r({},t[n],e)){var f=e[d];if(a(e,d)&&typeof f!=`function`)return D(o,s,c,d,N(f));if(!f)return new h(`Invalid `+s+" `"+c+"` key `"+d+"` supplied to `"+o+`\`.
|
|
87
|
+
Bad object: `+JSON.stringify(t[n],null,` `)+`
|
|
88
|
+
Valid keys: `+JSON.stringify(Object.keys(e),null,` `));var p=f(l,d,o,s,c+`.`+d,i);if(p)return p}return null}return g(t)}function A(t){switch(typeof t){case`number`:case`string`:case`undefined`:return!0;case`boolean`:return!t;case`object`:if(Array.isArray(t))return t.every(A);if(t===null||e(t))return!0;var n=d(t);if(n){var r=n.call(t),i;if(n!==t.entries){for(;!(i=r.next()).done;)if(!A(i.value))return!1}else for(;!(i=r.next()).done;){var a=i.value;if(a&&!A(a[1]))return!1}}else return!1;return!0;default:return!1}}function j(e,t){return e===`symbol`?!0:t?t[`@@toStringTag`]===`Symbol`||typeof Symbol==`function`&&t instanceof Symbol:!1}function M(e){var t=typeof e;return Array.isArray(e)?`array`:e instanceof RegExp?`object`:j(t,e)?`symbol`:t}function N(e){if(e==null)return``+e;var t=M(e);if(t===`object`){if(e instanceof Date)return`date`;if(e instanceof RegExp)return`regexp`}return t}function P(e){var t=N(e);switch(t){case`array`:case`object`:return`an `+t;case`boolean`:case`date`:case`regexp`:return`a `+t;default:return t}}function F(e){return!e.constructor||!e.constructor.name?f:e.constructor.name}return p.checkPropTypes=o,p.resetWarningCache=o.resetWarningCache,p.PropTypes=p,p}})),B_=c(((e,t)=>{var n=I_();function r(){}function i(){}i.resetWarningCache=r,t.exports=function(){function e(e,t,r,i,a,o){if(o!==n){var s=Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw s.name=`Invariant Violation`,s}}e.isRequired=e;function t(){return e}var a={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:r};return a.PropTypes=a,a}})),V_=c(((e,t)=>{if(process.env.NODE_ENV!==`production`){var n=P_();t.exports=z_()(n.isElement,!0)}else t.exports=B_()()})),H_=c((e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.defaultProps=e.propTypes=void 0;var t=n(V_());function n(e){return e&&e.__esModule?e:{default:e}}var r=t.default.string,i=t.default.bool,a=t.default.number,o=t.default.array,s=t.default.oneOfType,c=t.default.shape,l=t.default.object,u=t.default.func,d=t.default.node;e.propTypes={url:s([r,o,l]),playing:i,loop:i,controls:i,volume:a,muted:i,playbackRate:a,width:s([r,a]),height:s([r,a]),style:l,progressInterval:a,playsinline:i,pip:i,stopOnUnmount:i,light:s([i,r,l]),playIcon:d,previewTabIndex:a,fallback:d,oEmbedUrl:r,wrapper:s([r,u,c({render:u.isRequired})]),config:c({soundcloud:c({options:l}),youtube:c({playerVars:l,embedOptions:l,onUnstarted:u}),facebook:c({appId:r,version:r,playerId:r,attributes:l}),dailymotion:c({params:l}),vimeo:c({playerOptions:l,title:r}),file:c({attributes:l,tracks:o,forceVideo:i,forceAudio:i,forceHLS:i,forceDASH:i,forceFLV:i,hlsOptions:l,hlsVersion:r,dashVersion:r,flvVersion:r}),wistia:c({options:l,playerId:r,customControls:o}),mixcloud:c({options:l}),twitch:c({options:l,playerId:r}),vidyard:c({options:l})}),onReady:u,onStart:u,onPlay:u,onPause:u,onBuffer:u,onBufferEnd:u,onEnded:u,onError:u,onDuration:u,onSeek:u,onPlaybackRateChange:u,onProgress:u,onClickPreview:u,onEnablePIP:u,onDisablePIP:u};var f=function(){};e.defaultProps={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:f},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:f,onStart:f,onPlay:f,onPause:f,onBuffer:f,onBufferEnd:f,onEnded:f,onError:f,onDuration:f,onSeek:f,onPlaybackRateChange:f,onProgress:f,onClickPreview:f,onEnablePIP:f,onDisablePIP:f}})),U_=c(((e,t)=>{t.exports=function(e,t,a){var o=document.head||document.getElementsByTagName(`head`)[0],s=document.createElement(`script`);typeof t==`function`&&(a=t,t={}),t||={},a||=function(){},s.type=t.type||`text/javascript`,s.charset=t.charset||`utf8`,s.async=`async`in t?!!t.async:!0,s.src=e,t.attrs&&n(s,t.attrs),t.text&&(s.text=``+t.text),(`onload`in s?r:i)(s,a),s.onload||r(s,a),o.appendChild(s)};function n(e,t){for(var n in t)e.setAttribute(n,t[n])}function r(e,t){e.onload=function(){this.onerror=this.onload=null,t(null,e)},e.onerror=function(){this.onerror=this.onload=null,t(Error(`Failed to load `+this.src),e)}}function i(e,t){e.onreadystatechange=function(){this.readyState!=`complete`&&this.readyState!=`loaded`||(this.onreadystatechange=null,t(null,e))}}})),W_=c((e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.parseStartTime=g,e.parseEndTime=_,e.randomString=v,e.queryString=y,e.getSDK=S,e.getConfig=C,e.omit=w,e.callPlayer=T,e.isMediaStream=E,e.isBlobUrl=D,e.supportsWebKitPresentationMode=O;var t=r(U_()),n=r(w_());function r(e){return e&&e.__esModule?e:{default:e}}function i(e,t){return l(e)||c(e,t)||o(e,t)||a()}function a(){throw TypeError(`Invalid attempt to destructure non-iterable instance.
|
|
89
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function o(e,t){if(e){if(typeof e==`string`)return s(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if(n===`Object`&&e.constructor&&(n=e.constructor.name),n===`Map`||n===`Set`)return Array.from(e);if(n===`Arguments`||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return s(e,t)}}function s(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function c(e,t){if(!(typeof Symbol>`u`||!(Symbol.iterator in Object(e)))){var n=[],r=!0,i=!1,a=void 0;try{for(var o=e[Symbol.iterator](),s;!(r=(s=o.next()).done)&&(n.push(s.value),!(t&&n.length===t));r=!0);}catch(e){i=!0,a=e}finally{try{!r&&o.return!=null&&o.return()}finally{if(i)throw a}}return n}}function l(e){if(Array.isArray(e))return e}var u=/[?&#](?:start|t)=([0-9hms]+)/,d=/[?&#]end=([0-9hms]+)/,f=/(\d+)(h|m|s)/g,p=/^\d+$/;function m(e,t){if(!(e instanceof Array)){var n=e.match(t);if(n){var r=n[1];if(r.match(f))return h(r);if(p.test(r))return parseInt(r)}}}function h(e){for(var t=0,n=f.exec(e);n!==null;){var r=i(n,3),a=r[1],o=r[2];o===`h`&&(t+=parseInt(a,10)*60*60),o===`m`&&(t+=parseInt(a,10)*60),o===`s`&&(t+=parseInt(a,10)),n=f.exec(e)}return t}function g(e){return m(e,u)}function _(e){return m(e,d)}function v(){return Math.random().toString(36).substr(2,5)}function y(e){return Object.keys(e).map(function(t){return`${t}=${e[t]}`}).join(`&`)}function b(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 x={};function S(e,n){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null,i=arguments.length>3&&arguments[3]!==void 0?arguments[3]:function(){return!0},a=arguments.length>4&&arguments[4]!==void 0?arguments[4]:t.default,o=b(n);return o&&i(o)?Promise.resolve(o):new Promise(function(t,i){if(x[e]){x[e].push({resolve:t,reject:i});return}x[e]=[{resolve:t,reject:i}];var o=function(t){x[e].forEach(function(e){return e.resolve(t)})};if(r){var s=window[r];window[r]=function(){s&&s(),o(b(n))}}a(e,function(t){t?(x[e].forEach(function(e){return e.reject(t)}),x[e]=null):r||o(b(n))})})}function C(e,t){return(0,n.default)(t.config,e.config)}function w(e){for(var t,n=arguments.length,r=Array(n>1?n-1:0),i=1;i<n;i++)r[i-1]=arguments[i];for(var a=(t=[]).concat.apply(t,r),o={},s=Object.keys(e),c=0,l=s;c<l.length;c++){var u=l[c];a.indexOf(u)===-1&&(o[u]=e[u])}return o}function T(e){var t;if(!this.player||!this.player[e]){var n=`ReactPlayer: ${this.constructor.displayName} player could not call %c${e}%c – `;return this.player?this.player[e]||(n+=`The method was not available`):n+=`The player was not available`,console.warn(n,`font-weight: bold`,``),null}for(var r=arguments.length,i=Array(r>1?r-1:0),a=1;a<r;a++)i[a-1]=arguments[a];return(t=this.player)[e].apply(t,i)}function E(e){return typeof window<`u`&&window.MediaStream!==void 0&&e instanceof window.MediaStream}function D(e){return/^blob:/.test(e)}function O(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:document.createElement(`video`),t=/iPhone|iPod/.test(navigator.userAgent)===!1;return e.webkitSupportsPresentationMode&&typeof e.webkitSetPresentationMode==`function`&&t}})),G_=c((e=>{function t(e){"@babel/helpers - typeof";return t=typeof Symbol==`function`&&typeof Symbol.iterator==`symbol`?function(e){return typeof e}:function(e){return e&&typeof Symbol==`function`&&e.constructor===Symbol&&e!==Symbol.prototype?`symbol`:typeof e},t(e)}Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n=c(require("react")),r=o(j_()),i=H_(),a=W_();function o(e){return e&&e.__esModule?e:{default:e}}function s(){if(typeof WeakMap!=`function`)return null;var e=new WeakMap;return s=function(){return e},e}function c(e){if(e&&e.__esModule)return e;if(e===null||t(e)!==`object`&&typeof e!=`function`)return{default:e};var n=s();if(n&&n.has(e))return n.get(e);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=i?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(r,a,o):r[a]=e[a]}return r.default=e,n&&n.set(e,r),r}function l(){return l=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},l.apply(this,arguments)}function u(e,t){if(!(e instanceof t))throw TypeError(`Cannot call a class as a function`)}function d(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,`value`in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function f(e,t,n){return t&&d(e.prototype,t),n&&d(e,n),e}function p(e,t){if(typeof t!=`function`&&t!==null)throw 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&&m(e,t)}function m(e,t){return m=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},m(e,t)}function h(e){var t=v();return function(){var n=y(e),r;if(t){var i=y(this).constructor;r=Reflect.construct(n,arguments,i)}else r=n.apply(this,arguments);return g(this,r)}}function g(e,n){return n&&(t(n)===`object`||typeof n==`function`)?n:_(e)}function _(e){if(e===void 0)throw ReferenceError(`this hasn't been initialised - super() hasn't been called`);return e}function v(){if(typeof Reflect>`u`||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy==`function`)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch{return!1}}function y(e){return y=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},y(e)}function b(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var x=5e3,S=function(e){p(i,e);var t=h(i);function i(){var e;u(this,i);for(var n=arguments.length,r=Array(n),a=0;a<n;a++)r[a]=arguments[a];return e=t.call.apply(t,[this].concat(r)),b(_(e),`mounted`,!1),b(_(e),`isReady`,!1),b(_(e),`isPlaying`,!1),b(_(e),`isLoading`,!0),b(_(e),`loadOnReady`,null),b(_(e),`startOnPlay`,!0),b(_(e),`seekOnPlay`,null),b(_(e),`onDurationCalled`,!1),b(_(e),`handlePlayerMount`,function(t){if(e.player){e.progress();return}e.player=t,e.player.load(e.props.url),e.progress()}),b(_(e),`getInternalPlayer`,function(t){return e.player?e.player[t]:null}),b(_(e),`progress`,function(){if(e.props.url&&e.player&&e.isReady){var t=e.getCurrentTime()||0,n=e.getSecondsLoaded(),r=e.getDuration();if(r){var i={playedSeconds:t,played:t/r};n!==null&&(i.loadedSeconds=n,i.loaded=n/r),(i.playedSeconds!==e.prevPlayed||i.loadedSeconds!==e.prevLoaded)&&e.props.onProgress(i),e.prevPlayed=i.playedSeconds,e.prevLoaded=i.loadedSeconds}}e.progressTimeout=setTimeout(e.progress,e.props.progressFrequency||e.props.progressInterval)}),b(_(e),`handleReady`,function(){if(e.mounted){e.isReady=!0,e.isLoading=!1;var t=e.props,n=t.onReady,r=t.playing,i=t.volume,a=t.muted;n(),!a&&i!==null&&e.player.setVolume(i),e.loadOnReady?(e.player.load(e.loadOnReady,!0),e.loadOnReady=null):r&&e.player.play(),e.handleDurationCheck()}}),b(_(e),`handlePlay`,function(){e.isPlaying=!0,e.isLoading=!1;var t=e.props,n=t.onStart,r=t.onPlay,i=t.playbackRate;e.startOnPlay&&(e.player.setPlaybackRate&&i!==1&&e.player.setPlaybackRate(i),n(),e.startOnPlay=!1),r(),e.seekOnPlay&&(e.seekTo(e.seekOnPlay),e.seekOnPlay=null),e.handleDurationCheck()}),b(_(e),`handlePause`,function(t){e.isPlaying=!1,e.isLoading||e.props.onPause(t)}),b(_(e),`handleEnded`,function(){var t=e.props,n=t.activePlayer,r=t.loop,i=t.onEnded;n.loopOnEnded&&r&&e.seekTo(0),r||(e.isPlaying=!1,i())}),b(_(e),`handleError`,function(){var t;e.isLoading=!1,(t=e.props).onError.apply(t,arguments)}),b(_(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(_(e),`handleLoaded`,function(){e.isLoading=!1}),e}return f(i,[{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 n=this.props,i=n.url,o=n.playing,s=n.volume,c=n.muted,l=n.playbackRate,u=n.pip,d=n.loop,f=n.activePlayer,p=n.disableDeferredLoading;if(!(0,r.default)(e.url,i)){if(this.isLoading&&!f.forceLoad&&!p&&!(0,a.isMediaStream)(i)){console.warn(`ReactPlayer: the attempt to load ${i} is being deferred until the player has loaded`),this.loadOnReady=i;return}this.isLoading=!0,this.startOnPlay=!0,this.onDurationCalled=!1,this.player.load(i,this.isReady)}!e.playing&&o&&!this.isPlaying&&this.player.play(),e.playing&&!o&&this.isPlaying&&this.player.pause(),!e.pip&&u&&this.player.enablePIP&&this.player.enablePIP(),e.pip&&!u&&this.player.disablePIP&&this.player.disablePIP(),e.volume!==s&&s!==null&&this.player.setVolume(s),e.muted!==c&&(c?this.player.mute():(this.player.unmute(),s!==null&&setTimeout(function(){return t.player.setVolume(s)}))),e.playbackRate!==l&&this.player.setPlaybackRate&&this.player.setPlaybackRate(l),e.loop!==d&&this.player.setLoop&&this.player.setLoop(d)}}},{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 n=this;if(!this.isReady){e!==0&&(this.seekOnPlay=e,setTimeout(function(){n.seekOnPlay=null},x));return}if(t?t===`fraction`:e>0&&e<1){var r=this.player.getDuration();if(!r){console.warn(`ReactPlayer: could not seek using fraction –\xA0duration not yet available`);return}this.player.seekTo(r*e);return}this.player.seekTo(e)}},{key:`render`,value:function(){var e=this.props.activePlayer;return e?n.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}}]),i}(n.Component);e.default=S,b(S,`displayName`,`Player`),b(S,`propTypes`,i.propTypes),b(S,`defaultProps`,i.defaultProps)})),K_=c((e=>{function t(e){"@babel/helpers - typeof";return t=typeof Symbol==`function`&&typeof Symbol.iterator==`symbol`?function(e){return typeof e}:function(e){return e&&typeof Symbol==`function`&&e.constructor===Symbol&&e!==Symbol.prototype?`symbol`:typeof e},t(e)}Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n=i(require("react"));function r(){if(typeof WeakMap!=`function`)return null;var e=new WeakMap;return r=function(){return e},e}function i(e){if(e&&e.__esModule)return e;if(e===null||t(e)!==`object`&&typeof e!=`function`)return{default:e};var n=r();if(n&&n.has(e))return n.get(e);var i={},a=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if(Object.prototype.hasOwnProperty.call(e,o)){var s=a?Object.getOwnPropertyDescriptor(e,o):null;s&&(s.get||s.set)?Object.defineProperty(i,o,s):i[o]=e[o]}return i.default=e,n&&n.set(e,i),i}function a(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function o(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]==null?{}:arguments[t];t%2?a(Object(n),!0).forEach(function(t){_(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):a(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function s(e,t){if(!(e instanceof t))throw TypeError(`Cannot call a class as a function`)}function c(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,`value`in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function l(e,t,n){return t&&c(e.prototype,t),n&&c(e,n),e}function u(e,t){if(typeof t!=`function`&&t!==null)throw 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)}function d(e,t){return d=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},d(e,t)}function f(e){var t=h();return function(){var n=g(e),r;if(t){var i=g(this).constructor;r=Reflect.construct(n,arguments,i)}else r=n.apply(this,arguments);return p(this,r)}}function p(e,n){return n&&(t(n)===`object`||typeof n==`function`)?n:m(e)}function m(e){if(e===void 0)throw ReferenceError(`this hasn't been initialised - super() hasn't been called`);return e}function h(){if(typeof Reflect>`u`||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy==`function`)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch{return!1}}function g(e){return g=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},g(e)}function _(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var v=`64px`,y={};e.default=function(e){u(r,e);var t=f(r);function r(){var e;s(this,r);for(var n=arguments.length,i=Array(n),a=0;a<n;a++)i[a]=arguments[a];return e=t.call.apply(t,[this].concat(i)),_(m(e),`mounted`,!1),_(m(e),`state`,{image:null}),_(m(e),`handleKeyPress`,function(t){(t.key===`Enter`||t.key===` `)&&e.props.onClick()}),e}return l(r,[{key:`componentDidMount`,value:function(){this.mounted=!0,this.fetchImage(this.props)}},{key:`componentDidUpdate`,value:function(e){var t=this.props,n=t.url,r=t.light;(e.url!==n||e.light!==r)&&this.fetchImage(this.props)}},{key:`componentWillUnmount`,value:function(){this.mounted=!1}},{key:`fetchImage`,value:function(e){var t=this,r=e.url,i=e.light,a=e.oEmbedUrl;if(!n.default.isValidElement(i)){if(typeof i==`string`){this.setState({image:i});return}if(y[r]){this.setState({image:y[r]});return}return this.setState({image:null}),window.fetch(a.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}),y[r]=n}})}}},{key:`render`,value:function(){var e=this.props,t=e.light,r=e.onClick,i=e.playIcon,a=e.previewTabIndex,s=this.state.image,c=n.default.isValidElement(t),l={display:`flex`,alignItems:`center`,justifyContent:`center`},u={preview:o({width:`100%`,height:`100%`,backgroundImage:s&&!c?`url(${s})`:void 0,backgroundSize:`cover`,backgroundPosition:`center`,cursor:`pointer`},l),shadow:o({background:`radial-gradient(rgb(0, 0, 0, 0.3), rgba(0, 0, 0, 0) 60%)`,borderRadius:v,width:v,height:v,position:c?`absolute`:void 0},l),playIcon:{borderStyle:`solid`,borderWidth:`16px 0 16px 26px`,borderColor:`transparent transparent transparent white`,marginLeft:`7px`}},d=n.default.createElement(`div`,{style:u.shadow,className:`react-player__shadow`},n.default.createElement(`div`,{style:u.playIcon,className:`react-player__play-icon`}));return n.default.createElement(`div`,{style:u.preview,className:`react-player__preview`,onClick:r,tabIndex:a,onKeyPress:this.handleKeyPress},c?t:null,i||d)}}]),r}(n.Component)})),q_=c((e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.createReactPlayer=void 0;var t=M(require("react")),n=c(w_()),r=c((A_(),f(T_))),i=c(j_()),a=H_(),o=W_(),s=c(G_());function c(e){return e&&e.__esModule?e:{default:e}}function l(e){"@babel/helpers - typeof";return l=typeof Symbol==`function`&&typeof Symbol.iterator==`symbol`?function(e){return typeof e}:function(e){return e&&typeof Symbol==`function`&&e.constructor===Symbol&&e!==Symbol.prototype?`symbol`:typeof e},l(e)}function u(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function d(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]==null?{}:arguments[t];t%2?u(Object(n),!0).forEach(function(t){A(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):u(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function p(){return p=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},p.apply(this,arguments)}function m(e){return v(e)||_(e)||g(e)||h()}function h(){throw TypeError(`Invalid attempt to spread non-iterable instance.
|
|
90
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function g(e,t){if(e){if(typeof e==`string`)return y(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if(n===`Object`&&e.constructor&&(n=e.constructor.name),n===`Map`||n===`Set`)return Array.from(e);if(n===`Arguments`||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return y(e,t)}}function _(e){if(typeof Symbol<`u`&&Symbol.iterator in Object(e))return Array.from(e)}function v(e){if(Array.isArray(e))return y(e)}function y(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function b(e,t){if(!(e instanceof t))throw TypeError(`Cannot call a class as a function`)}function x(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,`value`in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function S(e,t,n){return t&&x(e.prototype,t),n&&x(e,n),e}function C(e,t){if(typeof t!=`function`&&t!==null)throw 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&&w(e,t)}function w(e,t){return w=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},w(e,t)}function T(e){var t=O();return function(){var n=k(e),r;if(t){var i=k(this).constructor;r=Reflect.construct(n,arguments,i)}else r=n.apply(this,arguments);return E(this,r)}}function E(e,t){return t&&(l(t)===`object`||typeof t==`function`)?t:D(e)}function D(e){if(e===void 0)throw ReferenceError(`this hasn't been initialised - super() hasn't been called`);return e}function O(){if(typeof Reflect>`u`||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy==`function`)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch{return!1}}function k(e){return k=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},k(e)}function A(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function j(){if(typeof WeakMap!=`function`)return null;var e=new WeakMap;return j=function(){return e},e}function M(e){if(e&&e.__esModule)return e;if(e===null||l(e)!==`object`&&typeof e!=`function`)return{default:e};var t=j();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if(Object.prototype.hasOwnProperty.call(e,i)){var a=r?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(n,i,a):n[i]=e[i]}return n.default=e,t&&t.set(e,n),n}var N=(0,t.lazy)(function(){return Promise.resolve().then(function(){return M(K_())})}),P=typeof window<`u`&&window.document,F=typeof global<`u`&&global.window&&global.window.document,I=Object.keys(a.propTypes),L=P||F?t.Suspense:function(){return null},R=[];e.createReactPlayer=function(e,c){var l,u;return u=l=function(l){C(f,l);var u=T(f);function f(){var i;b(this,f);for(var l=arguments.length,d=Array(l),h=0;h<l;h++)d[h]=arguments[h];return i=u.call.apply(u,[this].concat(d)),A(D(i),`state`,{showPreview:!!i.props.light}),A(D(i),`references`,{wrapper:function(e){i.wrapper=e},player:function(e){i.player=e}}),A(D(i),`handleClickPreview`,function(e){i.setState({showPreview:!1}),i.props.onClickPreview(e)}),A(D(i),`showPreview`,function(){i.setState({showPreview:!0})}),A(D(i),`getDuration`,function(){return i.player?i.player.getDuration():null}),A(D(i),`getCurrentTime`,function(){return i.player?i.player.getCurrentTime():null}),A(D(i),`getSecondsLoaded`,function(){return i.player?i.player.getSecondsLoaded():null}),A(D(i),`getInternalPlayer`,function(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:`player`;return i.player?i.player.getInternalPlayer(e):null}),A(D(i),`seekTo`,function(e,t){if(!i.player)return null;i.player.seekTo(e,t)}),A(D(i),`handleReady`,function(){i.props.onReady(D(i))}),A(D(i),`getActivePlayer`,(0,r.default)(function(t){for(var n=0,r=[].concat(R,m(e));n<r.length;n++){var i=r[n];if(i.canPlay(t))return i}return c||null})),A(D(i),`getConfig`,(0,r.default)(function(e,t){var r=i.props.config;return n.default.all([a.defaultProps.config,a.defaultProps.config[t]||{},r,r[t]||{}])})),A(D(i),`getAttributes`,(0,r.default)(function(e){return(0,o.omit)(i.props,I)})),A(D(i),`renderActivePlayer`,function(e){if(!e)return null;var n=i.getActivePlayer(e);if(!n)return null;var r=i.getConfig(e,n.key);return t.default.createElement(s.default,p({},i.props,{key:n.key,ref:i.references.player,config:r,activePlayer:n.lazyPlayer||n,onReady:i.handleReady}))}),i}return S(f,[{key:`shouldComponentUpdate`,value:function(e,t){return!(0,i.default)(this.props,e)||!(0,i.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 n=this.props,r=n.light,i=n.playIcon,a=n.previewTabIndex,o=n.oEmbedUrl;return t.default.createElement(N,{url:e,light:r,playIcon:i,previewTabIndex:a,oEmbedUrl:o,onClick:this.handleClickPreview})}},{key:`render`,value:function(){var e=this.props,n=e.url,r=e.style,i=e.width,a=e.height,o=e.fallback,s=e.wrapper,c=this.state.showPreview,l=this.getAttributes(n),u=typeof s==`string`?this.references.wrapper:void 0;return t.default.createElement(s,p({ref:u,style:d(d({},r),{},{width:i,height:a})},l),t.default.createElement(L,{fallback:o},c?this.renderPreview(n):this.renderActivePlayer(n)))}}]),f}(t.Component),A(l,`displayName`,`ReactPlayer`),A(l,`propTypes`,a.propTypes),A(l,`defaultProps`,a.defaultProps),A(l,`addCustomPlayer`,function(e){R.push(e)}),A(l,`removeCustomPlayers`,function(){R.length=0}),A(l,`canPlay`,function(t){for(var n=0,r=[].concat(R,m(e));n<r.length;n++)if(r[n].canPlay(t))return!0;return!1}),A(l,`canEnablePIP`,function(t){for(var n=0,r=[].concat(R,m(e));n<r.length;n++){var i=r[n];if(i.canEnablePIP&&i.canEnablePIP(t))return!0}return!1}),u}})),J_=c((e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.canPlay=e.FLV_EXTENSIONS=e.DASH_EXTENSIONS=e.HLS_EXTENSIONS=e.VIDEO_EXTENSIONS=e.AUDIO_EXTENSIONS=e.MATCH_URL_KALTURA=e.MATCH_URL_VIDYARD=e.MATCH_URL_MIXCLOUD=e.MATCH_URL_DAILYMOTION=e.MATCH_URL_TWITCH_CHANNEL=e.MATCH_URL_TWITCH_VIDEO=e.MATCH_URL_WISTIA=e.MATCH_URL_STREAMABLE=e.MATCH_URL_FACEBOOK_WATCH=e.MATCH_URL_FACEBOOK=e.MATCH_URL_VIMEO=e.MATCH_URL_SOUNDCLOUD=e.MATCH_URL_YOUTUBE=void 0;var t=W_();function n(e,t){var n;if(typeof Symbol>`u`||e[Symbol.iterator]==null){if(Array.isArray(e)||(n=r(e))||t&&e&&typeof e.length==`number`){n&&(e=n);var i=0,a=function(){};return{s:a,n:function(){return i>=e.length?{done:!0}:{done:!1,value:e[i++]}},e:function(e){throw e},f:a}}throw TypeError(`Invalid attempt to iterate non-iterable instance.
|
|
91
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var o=!0,s=!1,c;return{s:function(){n=e[Symbol.iterator]()},n:function(){var e=n.next();return o=e.done,e},e:function(e){s=!0,c=e},f:function(){try{!o&&n.return!=null&&n.return()}finally{if(s)throw c}}}}function r(e,t){if(e){if(typeof e==`string`)return i(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if(n===`Object`&&e.constructor&&(n=e.constructor.name),n===`Map`||n===`Set`)return Array.from(e);if(n===`Arguments`||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return i(e,t)}}function i(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}var a=/(?:youtu\.be\/|youtube(?:-nocookie)?\.com\/(?:embed\/|v\/|watch\/|watch\?v=|watch\?.+&v=|shorts\/))((\w|-){11})|youtube\.com\/playlist\?list=|youtube\.com\/user\//;e.MATCH_URL_YOUTUBE=a;var o=/(?:soundcloud\.com|snd\.sc)\/[^.]+$/;e.MATCH_URL_SOUNDCLOUD=o;var s=/vimeo\.com\/(?!progressive_redirect).+/;e.MATCH_URL_VIMEO=s;var c=/^https?:\/\/(www\.)?facebook\.com.*\/(video(s)?|watch|story)(\.php?|\/).+$/;e.MATCH_URL_FACEBOOK=c;var l=/^https?:\/\/fb\.watch\/.+$/;e.MATCH_URL_FACEBOOK_WATCH=l;var u=/streamable\.com\/([a-z0-9]+)$/;e.MATCH_URL_STREAMABLE=u;var d=/(?:wistia\.(?:com|net)|wi\.st)\/(?:medias|embed)\/(?:iframe\/)?(.*)$/;e.MATCH_URL_WISTIA=d;var f=/(?:www\.|go\.)?twitch\.tv\/videos\/(\d+)($|\?)/;e.MATCH_URL_TWITCH_VIDEO=f;var p=/(?:www\.|go\.)?twitch\.tv\/([a-zA-Z0-9_]+)($|\?)/;e.MATCH_URL_TWITCH_CHANNEL=p;var m=/^(?:(?:https?):)?(?:\/\/)?(?:www\.)?(?:(?:dailymotion\.com(?:\/embed)?\/video)|dai\.ly)\/([a-zA-Z0-9]+)(?:_[\w_-]+)?$/;e.MATCH_URL_DAILYMOTION=m;var h=/mixcloud\.com\/([^/]+\/[^/]+)/;e.MATCH_URL_MIXCLOUD=h;var g=/vidyard.com\/(?:watch\/)?([a-zA-Z0-9-_]+)/;e.MATCH_URL_VIDYARD=g;var _=/^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-_].*)$/;e.MATCH_URL_KALTURA=_;var v=/\.(m4a|m4b|mp4a|mpga|mp2|mp2a|mp3|m2a|m3a|wav|weba|aac|oga|spx)($|\?)/i;e.AUDIO_EXTENSIONS=v;var y=/\.(mp4|og[gv]|webm|mov|m4v)(#t=[,\d+]+)?($|\?)/i;e.VIDEO_EXTENSIONS=y;var b=/\.(m3u8)($|\?)/i;e.HLS_EXTENSIONS=b;var x=/\.(mpd)($|\?)/i;e.DASH_EXTENSIONS=x;var S=/\.(flv)($|\?)/i;e.FLV_EXTENSIONS=S,e.canPlay={youtube:function(e){return e instanceof Array?e.every(function(e){return a.test(e)}):a.test(e)},soundcloud:function(e){return o.test(e)&&!v.test(e)},vimeo:function(e){return s.test(e)&&!y.test(e)&&!b.test(e)},facebook:function(e){return c.test(e)||l.test(e)},streamable:function(e){return u.test(e)},wistia:function(e){return d.test(e)},twitch:function(e){return f.test(e)||p.test(e)},dailymotion:function(e){return m.test(e)},mixcloud:function(e){return h.test(e)},vidyard:function(e){return g.test(e)},kaltura:function(e){return _.test(e)},file:function e(r){if(r instanceof Array){var i=n(r),a;try{for(i.s();!(a=i.n()).done;){var o=a.value;if(typeof o==`string`&&e(o)||e(o.src))return!0}}catch(e){i.e(e)}finally{i.f()}return!1}return(0,t.isMediaStream)(r)||(0,t.isBlobUrl)(r)?!0:v.test(r)||y.test(r)||b.test(r)||x.test(r)||S.test(r)}}})),Y_=c((e=>{function t(e){"@babel/helpers - typeof";return t=typeof Symbol==`function`&&typeof Symbol.iterator==`symbol`?function(e){return typeof e}:function(e){return e&&typeof Symbol==`function`&&e.constructor===Symbol&&e!==Symbol.prototype?`symbol`:typeof e},t(e)}Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n=o(require("react")),r=W_(),i=J_();function a(){if(typeof WeakMap!=`function`)return null;var e=new WeakMap;return a=function(){return e},e}function o(e){if(e&&e.__esModule)return e;if(e===null||t(e)!==`object`&&typeof e!=`function`)return{default:e};var n=a();if(n&&n.has(e))return n.get(e);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if(Object.prototype.hasOwnProperty.call(e,o)){var s=i?Object.getOwnPropertyDescriptor(e,o):null;s&&(s.get||s.set)?Object.defineProperty(r,o,s):r[o]=e[o]}return r.default=e,n&&n.set(e,r),r}function s(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function c(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]==null?{}:arguments[t];t%2?s(Object(n),!0).forEach(function(t){y(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):s(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function l(e,t){if(!(e instanceof t))throw TypeError(`Cannot call a class as a function`)}function u(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,`value`in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function d(e,t,n){return t&&u(e.prototype,t),n&&u(e,n),e}function f(e,t){if(typeof t!=`function`&&t!==null)throw TypeError(`Super expression must either be null or a function`);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&p(e,t)}function p(e,t){return p=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},p(e,t)}function m(e){var t=_();return function(){var n=v(e),r;if(t){var i=v(this).constructor;r=Reflect.construct(n,arguments,i)}else r=n.apply(this,arguments);return h(this,r)}}function h(e,n){return n&&(t(n)===`object`||typeof n==`function`)?n:g(e)}function g(e){if(e===void 0)throw ReferenceError(`this hasn't been initialised - super() hasn't been called`);return e}function _(){if(typeof Reflect>`u`||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy==`function`)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch{return!1}}function v(e){return v=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},v(e)}function y(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var b=`https://player.vimeo.com/api/player.js`,x=`Vimeo`,S=function(e){f(i,e);var t=m(i);function i(){var e;l(this,i);for(var n=arguments.length,a=Array(n),o=0;o<n;o++)a[o]=arguments[o];return e=t.call.apply(t,[this].concat(a)),y(g(e),`callPlayer`,r.callPlayer),y(g(e),`duration`,null),y(g(e),`currentTime`,null),y(g(e),`secondsLoaded`,null),y(g(e),`mute`,function(){e.setVolume(0)}),y(g(e),`unmute`,function(){e.props.volume!==null&&e.setVolume(e.props.volume)}),y(g(e),`ref`,function(t){e.container=t}),e}return d(i,[{key:`componentDidMount`,value:function(){this.props.onMount&&this.props.onMount(this)}},{key:`load`,value:function(e){var t=this;this.duration=null,(0,r.getSDK)(b,x).then(function(n){if(t.container){var r=t.props.config,i=r.playerOptions,a=r.title;t.player=new n.Player(t.container,c({url:e,autoplay:t.props.playing,muted:t.props.muted,loop:t.props.loop,playsinline:t.props.playsinline,controls:t.props.controls},i)),t.player.ready().then(function(){var e=t.container.querySelector(`iframe`);e.style.width=`100%`,e.style.height=`100%`,a&&(e.title=a)}).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){t.currentTime=e.seconds}),t.player.on(`progress`,function(e){t.secondsLoaded=e.seconds}),t.player.on(`bufferstart`,t.props.onBuffer),t.player.on(`bufferend`,t.props.onBufferEnd),t.player.on(`playbackratechange`,function(e){return t.props.onPlaybackRateChange(e.playbackRate)})}},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 n.default.createElement(`div`,{key:this.props.url,ref:this.ref,style:e})}}]),i}(n.Component);e.default=S,y(S,`displayName`,`Vimeo`),y(S,`canPlay`,i.canPlay.vimeo),y(S,`forceLoad`,!0)})),X_=c(((e,t)=>{var n=q_().createReactPlayer,r=Y_().default;t.exports=n([{key:`vimeo`,canPlay:r.canPlay,lazyPlayer:r}])})),Z_=c(((e,t)=>{function n(e,t){for(var n=-1,r=e==null?0:e.length;++n<r&&t(e[n],n,e)!==!1;);return e}t.exports=n})),Q_=c(((e,t)=>{var n=Rt();t.exports=function(){try{var e=n(Object,`defineProperty`);return e({},``,{}),e}catch{}}()})),$_=c(((e,t)=>{var n=Q_();function r(e,t,r){t==`__proto__`&&n?n(e,t,{configurable:!0,enumerable:!0,value:r,writable:!0}):e[t]=r}t.exports=r})),ev=c(((e,t)=>{var n=$_(),r=mt(),i=Object.prototype.hasOwnProperty;function a(e,t,a){var o=e[t];(!(i.call(e,t)&&r(o,a))||a===void 0&&!(t in e))&&n(e,t,a)}t.exports=a})),tv=c(((e,t)=>{var n=ev(),r=$_();function i(e,t,i,a){var o=!i;i||={};for(var s=-1,c=t.length;++s<c;){var l=t[s],u=a?a(i[l],e[l],l,i,e):void 0;u===void 0&&(u=e[l]),o?r(i,l,u):n(i,l,u)}return i}t.exports=i})),nv=c(((e,t)=>{var n=tv(),r=Rn();function i(e,t){return e&&n(t,r(t),e)}t.exports=i})),rv=c(((e,t)=>{function n(e){var t=[];if(e!=null)for(var n in Object(e))t.push(n);return t}t.exports=n})),iv=c(((e,t)=>{var n=jt(),r=Nn(),i=rv(),a=Object.prototype.hasOwnProperty;function o(e){if(!n(e))return i(e);var t=r(e),o=[];for(var s in e)s==`constructor`&&(t||!a.call(e,s))||o.push(s);return o}t.exports=o})),av=c(((e,t)=>{var n=Mn(),r=iv(),i=Ln();function a(e){return i(e)?n(e,!0):r(e)}t.exports=a})),ov=c(((e,t)=>{var n=tv(),r=av();function i(e,t){return e&&n(t,r(t),e)}t.exports=i})),sv=c(((e,t)=>{var n=Et(),r=typeof e==`object`&&e&&!e.nodeType&&e,i=r&&typeof t==`object`&&t&&!t.nodeType&&t,a=i&&i.exports===r?n.Buffer:void 0,o=a?a.allocUnsafe:void 0;function s(e,t){if(t)return e.slice();var n=e.length,r=o?o(n):new e.constructor(n);return e.copy(r),r}t.exports=s})),cv=c(((e,t)=>{function n(e,t){var n=-1,r=e.length;for(t||=Array(r);++n<r;)t[n]=e[n];return t}t.exports=n})),lv=c(((e,t)=>{var n=tv(),r=yn();function i(e,t){return n(e,r(e),t)}t.exports=i})),uv=c(((e,t)=>{var n=mn(),r=kr(),i=yn(),a=vn();t.exports=Object.getOwnPropertySymbols?function(e){for(var t=[];e;)n(t,i(e)),e=r(e);return t}:a})),dv=c(((e,t)=>{var n=tv(),r=uv();function i(e,t){return n(e,r(e),t)}t.exports=i})),fv=c(((e,t)=>{var n=gn(),r=uv(),i=av();function a(e){return n(e,i,r)}t.exports=a})),pv=c(((e,t)=>{var n=Object.prototype.hasOwnProperty;function r(e){var t=e.length,r=new e.constructor(t);return t&&typeof e[0]==`string`&&n.call(e,`index`)&&(r.index=e.index,r.input=e.input),r}t.exports=r})),mv=c(((e,t)=>{var n=un();function r(e){var t=new e.constructor(e.byteLength);return new n(t).set(new n(e)),t}t.exports=r})),hv=c(((e,t)=>{var n=mv();function r(e,t){var r=t?n(e.buffer):e.buffer;return new e.constructor(r,e.byteOffset,e.byteLength)}t.exports=r})),gv=c(((e,t)=>{var n=/\w*$/;function r(e){var t=new e.constructor(e.source,n.exec(e));return t.lastIndex=e.lastIndex,t}t.exports=r})),_v=c(((e,t)=>{var n=Dt(),r=n?n.prototype:void 0,i=r?r.valueOf:void 0;function a(e){return i?Object(i.call(e)):{}}t.exports=a})),vv=c(((e,t)=>{var n=mv();function r(e,t){var r=t?n(e.buffer):e.buffer;return new e.constructor(r,e.byteOffset,e.length)}t.exports=r})),yv=c(((e,t)=>{var n=mv(),r=hv(),i=gv(),a=_v(),o=vv(),s=`[object Boolean]`,c=`[object Date]`,l=`[object Map]`,u=`[object Number]`,d=`[object RegExp]`,f=`[object Set]`,p=`[object String]`,m=`[object Symbol]`,h=`[object ArrayBuffer]`,g=`[object DataView]`,_=`[object Float32Array]`,v=`[object Float64Array]`,y=`[object Int8Array]`,b=`[object Int16Array]`,x=`[object Int32Array]`,S=`[object Uint8Array]`,C=`[object Uint8ClampedArray]`,w=`[object Uint16Array]`,T=`[object Uint32Array]`;function E(e,t,E){var D=e.constructor;switch(t){case h:return n(e);case s:case c:return new D(+e);case g:return r(e,E);case _:case v:case y:case b:case x:case S:case C:case w:case T:return o(e,E);case l:return new D;case u:case p:return new D(e);case d:return i(e);case f:return new D;case m:return a(e)}}t.exports=E})),bv=c(((e,t)=>{var n=jt(),r=Object.create;t.exports=function(){function e(){}return function(t){if(!n(t))return{};if(r)return r(t);e.prototype=t;var i=new e;return e.prototype=void 0,i}}()})),xv=c(((e,t)=>{var n=bv(),r=kr(),i=Nn();function a(e){return typeof e.constructor==`function`&&!i(e)?n(r(e)):{}}t.exports=a})),Sv=c(((e,t)=>{var n=Gn(),r=xn(),i=`[object Map]`;function a(e){return r(e)&&n(e)==i}t.exports=a})),Cv=c(((e,t)=>{var n=Sv(),r=kn(),i=An(),a=i&&i.isMap;t.exports=a?r(a):n})),wv=c(((e,t)=>{var n=Gn(),r=xn(),i=`[object Set]`;function a(e){return r(e)&&n(e)==i}t.exports=a})),Tv=c(((e,t)=>{var n=wv(),r=kn(),i=An(),a=i&&i.isSet;t.exports=a?r(a):n})),Ev=c(((e,t)=>{var n=nn(),r=Z_(),i=ev(),a=nv(),o=ov(),s=sv(),c=cv(),l=lv(),u=dv(),d=zn(),f=fv(),p=Gn(),m=pv(),h=yv(),g=xv(),_=hn(),v=Tn(),y=Cv(),b=jt(),x=Tv(),S=Rn(),C=av(),w=1,T=2,E=4,D=`[object Arguments]`,O=`[object Array]`,k=`[object Boolean]`,A=`[object Date]`,j=`[object Error]`,M=`[object Function]`,N=`[object GeneratorFunction]`,P=`[object Map]`,F=`[object Number]`,I=`[object Object]`,L=`[object RegExp]`,R=`[object Set]`,ee=`[object String]`,z=`[object Symbol]`,te=`[object WeakMap]`,ne=`[object ArrayBuffer]`,re=`[object DataView]`,ie=`[object Float32Array]`,ae=`[object Float64Array]`,oe=`[object Int8Array]`,se=`[object Int16Array]`,ce=`[object Int32Array]`,le=`[object Uint8Array]`,ue=`[object Uint8ClampedArray]`,de=`[object Uint16Array]`,fe=`[object Uint32Array]`,B={};B[D]=B[O]=B[ne]=B[re]=B[k]=B[A]=B[ie]=B[ae]=B[oe]=B[se]=B[ce]=B[P]=B[F]=B[I]=B[L]=B[R]=B[ee]=B[z]=B[le]=B[ue]=B[de]=B[fe]=!0,B[j]=B[M]=B[te]=!1;function pe(e,t,O,k,A,j){var P,F=t&w,L=t&T,R=t&E;if(O&&(P=A?O(e,k,A,j):O(e)),P!==void 0)return P;if(!b(e))return e;var ee=_(e);if(ee){if(P=m(e),!F)return c(e,P)}else{var z=p(e),te=z==M||z==N;if(v(e))return s(e,F);if(z==I||z==D||te&&!A){if(P=L||te?{}:g(e),!F)return L?u(e,o(P,e)):l(e,a(P,e))}else{if(!B[z])return A?e:{};P=h(e,z,F)}}j||=new n;var ne=j.get(e);if(ne)return ne;j.set(e,P),x(e)?e.forEach(function(n){P.add(pe(n,t,O,n,e,j))}):y(e)&&e.forEach(function(n,r){P.set(r,pe(n,t,O,r,e,j))});var re=ee?void 0:(R?L?f:d:L?C:S)(e);return r(re||e,function(n,r){re&&(r=n,n=e[r]),i(P,r,pe(n,t,O,r,e,j))}),P}t.exports=pe})),Dv=c(((e,t)=>{function n(e){var t=e==null?0:e.length;return t?e[t-1]:void 0}t.exports=n})),Ov=c(((e,t)=>{var n=lr(),r=Pr();function i(e,t){return t.length<2?e:n(e,r(t,0,-1))}t.exports=i})),kv=c(((e,t)=>{var n=sr(),r=Dv(),i=Ov(),a=cr();function o(e,t){return t=n(t,e),e=i(e,t),e==null||delete e[a(r(t))]}t.exports=o})),Av=c(((e,t)=>{var n=Ar();function r(e){return n(e)?void 0:e}t.exports=r})),jv=c(((e,t)=>{var n=Dt(),r=Cn(),i=hn(),a=n?n.isConcatSpreadable:void 0;function o(e){return i(e)||r(e)||!!(a&&e&&e[a])}t.exports=o})),Mv=c(((e,t)=>{var n=mn(),r=jv();function i(e,t,a,o,s){var c=-1,l=e.length;for(a||=r,s||=[];++c<l;){var u=e[c];t>0&&a(u)?t>1?i(u,t-1,a,o,s):n(s,u):o||(s[s.length]=u)}return s}t.exports=i})),Nv=c(((e,t)=>{var n=Mv();function r(e){return e!=null&&e.length?n(e,1):[]}t.exports=r})),Pv=c(((e,t)=>{function n(e,t,n){switch(n.length){case 0:return e.call(t);case 1:return e.call(t,n[0]);case 2:return e.call(t,n[0],n[1]);case 3:return e.call(t,n[0],n[1],n[2])}return e.apply(t,n)}t.exports=n})),Fv=c(((e,t)=>{var n=Pv(),r=Math.max;function i(e,t,i){return t=r(t===void 0?e.length-1:t,0),function(){for(var a=arguments,o=-1,s=r(a.length-t,0),c=Array(s);++o<s;)c[o]=a[t+o];o=-1;for(var l=Array(t+1);++o<t;)l[o]=a[o];return l[t]=i(c),n(e,this,l)}}t.exports=i})),Iv=c(((e,t)=>{function n(e){return function(){return e}}t.exports=n})),Lv=c(((e,t)=>{var n=Iv(),r=Q_(),i=hr();t.exports=r?function(e,t){return r(e,`toString`,{configurable:!0,enumerable:!1,value:n(t),writable:!0})}:i})),Rv=c(((e,t)=>{var n=800,r=16,i=Date.now;function a(e){var t=0,a=0;return function(){var o=i(),s=r-(o-a);if(a=o,s>0){if(++t>=n)return arguments[0]}else t=0;return e.apply(void 0,arguments)}}t.exports=a})),zv=c(((e,t)=>{var n=Lv();t.exports=Rv()(n)})),Bv=c(((e,t)=>{var n=Nv(),r=Fv(),i=zv();function a(e){return i(r(e,void 0,n),e+``)}t.exports=a})),Vv=c(((e,t)=>{var n=ir(),r=Ev(),i=kv(),a=sr(),o=tv(),s=Av(),c=Bv(),l=fv(),u=1,d=2,f=4;t.exports=c(function(e,t){var c={};if(e==null)return c;var p=!1;t=n(t,function(t){return t=a(t,e),p||=t.length>1,t}),o(e,l(e),c),p&&(c=r(c,u|d|f,s));for(var m=t.length;m--;)i(c,t[m]);return c})})),Hv=d(X_()),Uv=d(Vv()),Wv=e=>q.parseQueryString(e),Gv=e=>e.split(`?`),Kv=(e,t=[])=>{let n=e;t.length&&(n=(0,Uv.default)(e,t));let r=new Set([`true`,`1`]),i=new Set([`false`,`0`]),a=new Set([...r,...i]),o=Object.entries(n).reduce((e,[t,n])=>(e[t]=a.has(n)?r.has(n):n,e),{});return o.playsinline=!0,o},qv=(e,t,n,r)=>{if(!e.autoplay||!t.view.loaded)return!1;let{currentSpreadIndex:i}=e,{spreadIndex:a}=n,{spreadIndex:o}=r;return i===o?!1:(i=o,{playing:a===o&&!J.isVerticallyScrolling(t.readerSettings),currentSpreadIndex:i})},Jv=()=>null;function Yv({src:e,playing:t,controls:n,handleUpdatePlaying:r}){return e?(0,Y.jsx)(`img`,{className:(0,X.default)(`bber-poster bber-poster--vimeo`,{"bber-visible":!t,"bber-controls":n}),onClick:r,src:e,alt:``}):null}var Xv=Eo(`chrome`,`eq`,81),Zv=Gg(y_(class t extends e.default.Component{static contextType=ko;static blacklistedProps=[`autopause`];constructor(e){super(e),this.state={url:``,loop:!1,muted:!1,controls:!0,playing:!1,autoplay:!0,posterImage:null,playerOptions:{},currentSpreadIndex:null,aspectRatio:new Map([[`x`,16],[`y`,9]])}}UNSAFE_componentWillMount(){let{src:e,posterImage:n,aspectRatio:r}=this.props,[i,a]=Gv(e),o=Kv(Wv(a),t.blacklistedProps),{autoplay:s,...c}=o,{controls:l,muted:u,loop:d}=o;this.setState(e=>({url:i,loop:Co(d,e.loop),muted:Co(u,e.muted),controls:Co(l,e.controls),autoplay:Co(s,e.autoplay),posterImage:n,aspectRatio:r,playerOptions:{...c}}))}UNSAFE_componentWillReceiveProps(e,t){let n=qv(this.state,this.props,e,t);n&&this.setState(n)}handleUpdatePlaying=()=>this.setState(({playing:e})=>({playing:!e}));handlePause=()=>this.setState({playing:!1});handleEnded=()=>this.setState({playing:!1});handleUpdatePosition=()=>{};handleUpdateVolume=()=>{};render(){let{url:e,loop:t,muted:n,controls:r,playing:i,posterImage:a,playerOptions:o,aspectRatio:s}=this.state,{iframePlaceholderTop:c,iframePlaceholderWidth:l,iframePlaceholderHeight:u}=this.props,d={},f;if(Xv){let e=J.isSingleColumn(),t=e?`static`:`absolute`,n=s.get(`x`),r=s.get(`y`);if(e||(d={top:c,width:l,height:u,position:t}),!e&&l>window.innerWidth){let e=window.innerWidth>=window.innerHeight;d.top=`50%`,d.left=`50%`,d.transform=`translateX(-50%) translateY(-50%)`,e?(d.width=`100vw`,d.height=`100vw`,d.minWidth=`${n/r*100}vh`):(d.width=`${r/n*100}vw`,d.height=`100vw`,d.minHeight=`100%`)}f=e?0:`${r/n*100}%`}return(0,Y.jsxs)(Y.Fragment,{children:[Xv&&(0,Y.jsx)(`style`,{children:this.props.iframeStyleBlock(`vimeo`)}),Xv&&(0,Y.jsx)(`div`,{style:{paddingTop:f},className:`bber-iframe-placeholder`,ref:this.props.innerRef},`placholder-${e}`),(0,Y.jsxs)(`div`,{style:d,ref:this.props.elemRef,children:[(0,Y.jsx)(Yv,{src:a,playing:i,controls:r,handleUpdatePlaying:this.handleUpdatePlaying}),(0,Y.jsx)(Hv.default,{url:e,width:`100%`,height:`100%`,loop:t,muted:n,playing:i,controls:r,playsinline:!0,config:{vimeo:{playerOptions:o}},onPause:this.handlePause,onEnded:this.handleEnded}),(0,Y.jsx)(Jv,{handleUpdatePlaying:this.handleUpdatePlaying,handleUpdatePosition:this.handleUpdatePosition,handleUpdateVolume:this.handleUpdateVolume})]},e)]})}},{enabled:Xv}),{useParentDimensions:!0}),Qv=e.default.createContext({left:0,layout:`columns`});Qv.displayName=`SpreadContext`;var $v=30;function ey(t){let n=(0,e.useRef)(null),[r,i]=(0,e.useState)(0),a=(0,e.useMemo)(()=>(Math.random()+1).toString(36).substring(7),[]),o=(0,e.useRef)(t.viewerSettings);o.current=t.viewerSettings,(0,e.useEffect)(()=>{let e=null,t=()=>{let e=o.current,t=J.getPageWidth(e);if(!Number.isFinite(t)||t===0)return null;let r=n.current.offsetLeft,i=(r-e.paddingLeft)/t;return{nextLeft:r,offset:Math.round(i*2)/2}},r=()=>{cancelAnimationFrame(e);let r=0,a=null,o=()=>{if(!n.current)return;let s=t();s&&(i(s.offset),s.nextLeft!==a&&(a=s.nextLeft,r+=1,r<$v&&(e=requestAnimationFrame(o))))};e=requestAnimationFrame(o)},a=new ResizeObserver(r);return n.current&&a.observe(n.current),r(),()=>{a.disconnect(),cancelAnimationFrame(e)}},[t.viewerSettings.paddingLeft,t.viewerSettings.paddingRight,t.viewerSettings.columnGap,t.view.loaded,t.view.ultimateOffsetLeft]);let s=r%1==0,c=s?2:3,l=(0,e.useMemo)(()=>{let e=J.isVerticallyScrolling(t.readerSettings),n=0;if(!e){let e=J.getPageWidth(t.viewerSettings);Number.isFinite(e)&&(n=s?Math.round(r)*e:(Math.floor(r)+1)*e)}return{left:n,layout:t.layout}},[r,s,t.viewerSettings,t.readerSettings,t.layout]),u=(0,e.useMemo)(()=>bo.name===`safari`?{WebkitColumnBreakBefore:`always`,WebkitColumnBreakAfter:`always`,WebkitColumnBreakInside:`avoid`}:{},[bo.name]),{height:d,paddingTop:f,paddingBottom:p}=t.viewerSettings,m=(d-f-p)*c;return(0,Y.jsx)(`div`,{id:a,ref:n,style:{...u,height:m},className:`bber-spread bber-spread-${s?`verso`:`recto`} ${t.className||``}`,"data-marker-reference":t[`data-marker-reference`],children:(0,Y.jsx)(Qv.Provider,{value:l,children:t.children})})}var ty=H(({readerSettings:e,viewerSettings:t,view:n})=>({readerSettings:e,viewerSettings:t,view:n}),()=>({}))(ey),ny=t=>{let n=(0,e.useContext)(ko);return(0,Y.jsx)(Qv.Consumer,{children:({left:e})=>{let r=Math.abs(n.getTranslateX()),i=Math.floor(e),a=window.innerWidth/2,o=r===i?0:r>i?a*-1:a;return(0,Y.jsx)(`figure`,{id:t.id,style:{left:i,marginLeft:o},className:t.className||``,children:t.children})}})},ry=100,iy=3,ay=2500;function oy({view:t,viewActions:n,userInterfaceActions:r,children:i}){let a=(0,e.useRef)(null),o=(0,e.useRef)(n);o.current=n;let s=(0,e.useRef)(r);s.current=r;let c=(0,e.useRef)(!1),l=(0,e.useRef)(null),u=(0,e.useRef)(0),d=(0,e.useRef)(null),f=(0,e.useRef)(0),p=()=>{if(!c.current)return;c.current=!1;let e=a.current,t=e?e.offsetLeft:0;o.current.load(),o.current.updateUltimateNodePosition({ultimateOffsetLeft:t}),s.current.update({handleEvents:!0,spinnerVisible:!1})},m=()=>{d.current=setTimeout(()=>{if(!c.current)return;if(Date.now()-f.current>=ay){p();return}let e=a.current;if(!e){m();return}let t=e.offsetLeft;t===l.current?(u.current+=1,u.current>=iy?p():m()):(l.current=t,u.current=0,m())},ry)},h=()=>{d.current&&=(clearTimeout(d.current),null),c.current=!0,l.current=null,u.current=0,f.current=Date.now(),typeof document<`u`&&document.fonts?.ready&&document.fonts.ready.then(()=>{c.current&&(l.current=null,u.current=0)}),m()};(0,e.useEffect)(()=>(h(),()=>{d.current&&clearTimeout(d.current)}),[]);let g=(0,e.useRef)(t.loaded);return(0,e.useEffect)(()=>{let e=g.current;g.current=t.loaded,e===!0&&t.loaded===!1&&h()},[t.loaded]),(0,Y.jsx)(`span`,{ref:a,className:`bber-ultimate`,children:i})}var sy=H(({view:e})=>({view:e}),e=>({userInterfaceActions:W(la,e),viewActions:W(Ca,e)}))(oy),cy=()=>!0,ly=new Vh.ProcessNodeDefinitions(e.default),uy=({requestedSpineItem:t})=>[{shouldProcessNode(e){return e?.attribs?.[`epub:type`]===`noteref`},processNode(n,r){let i=K.convertToReactAttrs(n.attribs),a=So(),o=q.resolveOverlappingURL(t.absoluteURL,n.attribs.href);return e.default.createElement(sg,{...i,key:a,href:o},r)}},{shouldProcessNode(e){return e.attribs?.href&&(!e.attribs?.[`epub:type`]||e.attribs?.[`epub:type`]!==`noteref`)},processNode(n,r){let i=K.convertToReactAttrs(n.attribs),a=So(),{href:o}=n.attribs;return q.isRelative(n.attribs.href)&&(o=q.resolveOverlappingURL(t.absoluteURL,n.attribs.href)),e.default.createElement(cg,{...i,key:a,href:o},r)}},{shouldProcessNode(e){return/^(img|source)$/.test(e.name)&&e.attribs&&e.attribs.src&&q.isRelative(e.attribs.src)},processNode(n){let r=K.convertToReactAttrs(n.attribs),i=So(),a=q.resolveOverlappingURL(t.absoluteURL,n.attribs.src);return e.default.createElement(n.name,{...r,key:i,src:a})}},{shouldProcessNode(e){return e.name===`audio`},processNode(t,n){let r=K.convertToReactAttrs(t.attribs),{id:i,autoPlay:a}=r,o=Do(r),s=i,c=!1;return(0,Qa.default)(a)||(c=!0,delete r.autoPlay),e.default.createElement(v_,{...r,"data-autoplay":c,controls:o,key:s},n)}},{shouldProcessNode(e){return e.name===`video`},processNode(n,r){let i=K.convertToReactAttrs(n.attribs),{id:a,autoPlay:o}=i,s=Do(i),c=a,l=n.attribs.poster?q.resolveOverlappingURL(t.absoluteURL,n.attribs.poster):null,u=!1;return(0,Qa.default)(o)||(u=!0,delete i.autoPlay),e.default.createElement(C_,{...i,"data-autoplay":u,controls:s,key:c,poster:l},r)}},{shouldProcessNode(e){return e.name===`iframe`&&e.attribs[`data-vimeo`]},processNode(n,r){let i=K.convertToReactAttrs(n.attribs),a=So(),o=new Set([`16x9`,`4x3`]),s=null,c=new Map([[`x`,16],[`y`,9]]);if(n.attribs[`data-vimeo-poster`]&&(s=q.resolveOverlappingURL(t.absoluteURL,n.attribs[`data-vimeo-poster`])),n.attribs[`data-aspect-ratio`]&&o.has(n.attribs[`data-aspect-ratio`])){let[e,t]=n.attribs[`data-aspect-ratio`].split(`x`).map(Number);c.set(`x`,e),c.set(`y`,t)}delete i[`data-vimeo`],delete i[`data-vimeo-poster`],delete i[`data-aspect-ratio`];let l=n.parent;for(;l;){if(l.type===`tag`&&l.attribs[`data-marker-reference-figure`]){i.useElementOffsetLeft=!1;break}l=l.parent}return e.default.createElement(Zv,{...i,key:a,posterImage:s,aspectRatio:c},r)}},{shouldProcessNode(e){return e.name===`iframe`},processNode(t,n){let r=K.convertToReactAttrs(t.attribs),i=So(),a=!1,o=!0,s=t.parent;for(;s;){if(s.type===`tag`&&s.attribs[`data-marker-reference-figure`]){o=!1,a=!0;break}s=s.parent}return e.default.createElement(x_,{useElementOffsetLeft:o,spreadLayout:a,attrs:r,key:i},n)}},{shouldProcessNode(e){return e.name===`image`&&e.attribs&&e.attribs[`xlink:href`]&&q.isRelative(e.attribs[`xlink:href`])},processNode(n,r){let i=K.convertToReactAttrs(n.attribs),a=So(),o=q.resolveOverlappingURL(t.absoluteURL,i.xlinkHref);return e.default.createElement(n.name,{...i,key:a,xlinkHref:o},r)}},{shouldProcessNode(e){return e.type===`tag`&&(0,Za.default)(e.attribs,`data-marker-reference-figure`)},processNode(t,n){let r=K.convertToReactAttrs(t.attribs),i=`spread-figure-${r[`data-marker-reference-figure`]}`;return e.default.createElement(ny,{...r,key:i},n)}},{shouldProcessNode(e){return e.type===`tag`&&(0,Za.default)(e.attribs,`data-ultimate`)},processNode(t,n){return e.default.createElement(sy,{key:So()},n)}},{shouldProcessNode(e){return e.type===`tag`&&(0,Za.default)(e.attribs,`data-marker-reference`)},processNode(t,n){let r=K.convertToReactAttrs(t.attribs),i=`spread-${r[`data-marker-reference`]}`;return e.default.createElement(ty,{...r,key:i},n)}},{shouldProcessNode(e){return e.type===`tag`&&(0,Za.default)(e.attribs,`data-marker`)},processNode(t,n){t.parent.attribs={...t.parent.attribs,style:`padding-bottom: 0; margin-bottom: 0`};let r=K.convertToReactAttrs(t.attribs),i=`marker-${r[`data-marker`]}`;return e.default.createElement(qg,{...r,key:i},n)}},{shouldProcessNode(){return!0},processNode:ly.processDefaultNode}],dy=class e{static opfURL(e){let t=e;return t=q.stripTrailingSlash(t),t+=`/OPS`,t+=`/content.opf`,t=window.encodeURI(t),t}static opsURL(e){let t=e;return t=q.stripTrailingSlash(t),t+=`/OPS`,t=window.encodeURI(t),t}static parseOPF(e){return new Promise(t=>{let{elements:n}=JSON.parse(Hh.default.xml2json(e.data)).elements[0],r={};for(let e=0;e<n.length;e++)r[`__${n[e].name}`]=n[e];t(r)})}static parseNCX(e,t){let{__manifest:n,__spine:r}=e;return new Promise(i=>{let{toc:a}=r.attributes;if(!a){i({...e,__ncx:null});return}let o=(0,G.default)(n.elements,e=>e.attributes.id===a);if(!o){i({...e,__ncx:null});return}let{href:s}=o.attributes;$i.getText(q.resolveRelativeURL(t,s)).then(({data:t})=>{i({...e,__ncx:JSON.parse(Hh.default.xml2json(t))})})})}static createSpineItems(t){let{__manifest:n,__spine:r,__ncx:i,__guide:a}=t;return new Promise(o=>{let s;if(s=r.elements.map(e=>{let{idref:t,linear:r}=e.attributes,i=(0,G.default)(n.elements,e=>e.attributes.id===t);if(!i||r!==`yes`)return null;let{id:o,href:s}=i.attributes,c=i.attributes[`media-type`],l=i.attributes.properties?i.attributes.properties.split(` `):[],u=(0,G.default)(a.elements,e=>e.attributes.href===s),d=``,f=``;return u&&({title:d}=u.attributes,f=q.slug(d)),new qh({id:o,href:s,mediaType:c,properties:l,idref:t,linear:r,title:d,slug:f})}),s=s.filter(Boolean),i){let{elements:t}=i.elements[0];(0,G.default)(t,{name:`navMap`}).elements.forEach(t=>e.parseNavPoints(s,n,t))}o({...t,spine:s})})}static createGuideItems(e){let{__guide:t}=e;return new Promise(n=>{if(!t.elements||!t.elements.length){n({...e,guide:[]});return}let r=t.elements.map(e=>{let{type:t,title:n,href:r}=e.attributes;return new Wh({type:t,title:n,href:r})});n({...e,guide:r})})}static udpateSpineItemURLs(e,t){return new Promise(n=>{let{spine:r}=e;r.map(e=>e.absoluteURL=q.resolveRelativeURL(t,e.href)),n({...e,spine:r})})}static udpateGuideItemURLs(e,t){return new Promise(n=>{let{guide:r}=e;r.map(e=>e.absoluteURL=q.resolveRelativeURL(t,e.href)),n({...e,guide:r})})}static parseNavPoints(t,n,r,i=0,a=null){let o=(0,G.default)(r.elements,{name:`content`});if(!o)return;let{src:s}=o.attributes;s=q.ensureDecodedURL(s);let c=(0,G.default)(n.elements,e=>q.ensureDecodedURL(e.attributes.href)===s);if(!c)return console.error(`Could not find manifest item: ${s}`);let{id:l}=c.attributes,u=(0,G.default)(t,{id:l});if(!u)return console.error(`Can not find spine item: ${l}`);let d=(0,G.default)((0,G.default)((0,G.default)(r.elements,{name:`navLabel`}).elements,{name:`text`}).elements,{type:`text`}).text,f=q.slug(d);u.title||u.set(`title`,d),u.slug||u.set(`slug`,f),u.set(`depth`,i),u.set(`inTOC`,!0),a&&a.addChild(u);let p=i+1;r.elements.forEach(r=>e.parseNavPoints(t,n,r,p,u))}static createBookMetadata(e){let{__metadata:t}=e,n=t.elements.filter(e=>/^dc:/.test(e.name)).map(e=>({[e.name.slice(3)]:e.elements[0].text}));return new Promise(t=>{let r=new Uh({});n.forEach((e,t)=>{let i=Object.keys(n[t]);(0,Za.default)(r,i)&&r.set(i,e[i])}),t({...e,metadata:r})})}static createScopedCSS(e,t,n){let r=``;return e.forEach(({base:e,data:i})=>{let a=q.resolveRelativeURL(n,e),o=Lm(i);qm(o,{enter:(e,n,r)=>{let i,o=Lp.createItem({name:t,type:`ClassSelector`}),s=Lp.createItem({type:`WhiteSpace`,value:` `});r&&e.type===`TypeSelector`&&e.name===`html`&&(e.name=t,e.type=`ClassSelector`),r&&e.type===`TypeSelector`&&e.name===`body`&&(e.name=`content`,e.type=`IdSelector`),r&&e.name!==t&&r.head.data.name!==t&&(e.type===`TypeSelector`||e.type===`IdSelector`||e.type===`ClassSelector`||e.type===`AttributeSelector`)&&(r.prepend(s),r.prepend(o)),e.type===`Url`&&(i=e.value.replace(/(?:^['"]+|['"]+$)/g,``),q.isRelative(i)&&(i=q.resolveRelativeURL(a,i),e.value=i))}}),r+=Fp(o)}),r}static async parseSpineItemResponse(t){let{url:n}=t.request,{hash:r,opsURL:i,paddingLeft:a,columnGap:o}=t,s=new Vh.Parser,{xml:c,doc:l}=new eg({paddingLeft:a,columnGap:o,responseURL:n}).parseXML(t.data),u=/<body[^>]*?>([\s\S]*)<\/body>/,d;d=c.match(u),d=d[1],d=d.replace(/>\s*?</g,`><`);let f=s.parseWithInstructions(d,cy,uy(t)),p=Array.from(l.querySelectorAll(`link`)),m=Array.from(l.querySelectorAll(`style`)),h=p.reduce((e,t)=>{if(t.rel!==`stylesheet`)return e;let r=q.trimFilenameFromResponse(n),i=q.trimSlashes(t.getAttribute(`href`)),a=q.resolveRelativeURL(r,i);return e.concat({url:a,base:r})},[]).map(({url:e,base:t})=>new Promise(n=>{$i.getText(e).then(e=>{n({base:t,data:e.data})})})),g=await Promise.all(h),_=m.reduce((e,t)=>{let{textContent:r}=t;if(!r)return e;let i=q.trimFilenameFromResponse(n);return e.concat({base:i,data:r})},g),v=`_${r}`;return{bookContent:f,scopedCSS:e.createScopedCSS(_,v,i)}}},fy={content:null};async function py(e){let{bookURL:t}=this.props.readerSettings,n=dy.opfURL(t),r=dy.opsURL(t),i,a,o;i=await $i.getText(n),i=await dy.parseOPF(i),i=await dy.parseNCX(i,r),[a,o]=await Promise.all([dy.createGuideItems(i),dy.createSpineItems(i)]),i={...a,...o},[a,o]=await Promise.all([dy.udpateGuideItemURLs(i,r),dy.udpateSpineItemURLs(i,r)]),i={...a,...o},i=await dy.createBookMetadata(i),this.setState({opsURL:r,...i},e)}function my(){let{spine:e,spreadIndex:t,currentSpineItemIndex:n}=this.state,{lastSpreadIndex:r}=this.props.view;if(!e)return console.warn(`showSpineItem: spine is not in state`);let i=n===0,a=n===e.length-1,o=t===0,s=t===r;this.setState({firstChapter:i,lastChapter:a,firstSpread:o,lastSpread:s},()=>{this.savePosition()})}async function hy(e,t){let n=K.createHash(this.props.readerSettings.bookURL),r=e;if(r||([r]=this.state.spine),!r){console.warn(`loadSpineItem: called before spine was populated — skipping`);return}this.freeze();let i;try{let{cache:e,opsURL:t}=this.state,{data:a,request:o}=await $i.getText(r.absoluteURL);i=await dy.parseSpineItemResponse({data:a,hash:n,cache:e,opsURL:t,request:o,requestedSpineItem:r,paddingLeft:this.props.viewerSettings.paddingLeft,columnGap:this.props.viewerSettings.columnGap})}catch(e){console.error(e);let t=si.get()||{};delete t[n],si.set(t),this.props.userInterfaceActions.update({handleEvents:!0,spinnerVisible:!1});return}let{bookContent:a,scopedCSS:o}=i;fy.content=a,K.appendBookStyles(o,n),this.setState({currentSpineItem:r,spineItemURL:r.absoluteURL},()=>{this.updateQueryString(()=>{this.showSpineItem()})})}var gy=d(Dr());function _y(e){let{spreadIndex:t}=this.state,{lastSpreadIndex:n}=this.props.view,r=t+e;if(r>n||r<0){let t=Math.sign(e);this.handleChapterNavigation(t);return}let i=r===0,a=r===n,o=r>t?1:-1;t=r,this.setState({spreadIndex:t,firstSpread:i,lastSpread:a,spreadDelta:o,showSidebar:null},()=>{this.updateQueryString()})}function vy(e){let{currentSpineItemIndex:t}=this.state,{spine:n}=this.state,r=t+e,i=r<0,a=r>n.length-1;if(i||a){this.setState({firstChapter:i,lastChapter:a});return}t=r;let o=n[r];this.setState({spreadIndex:0,currentSpineItem:o,currentSpineItemIndex:t,showSidebar:null,firstChapter:i,lastChapter:a,spreadDelta:e,chapterDelta:e},()=>{this.loadSpineItem(o),this.savePosition()})}function yy(e){this.setState({spreadIndex:e},this.updateQueryString)}function by(e){let t=document.querySelector(e);if(!t)return console.warn(`Could not find element ${e}`);if(J.isVerticallyScrolling(this.props.readerSettings)){let e=document.querySelector(`.bber-controls__header`).offsetHeight+25,n=t.offsetTop-e;document.getElementById(`frame`).scrollTo(0,n)}let{paddingTop:n,paddingBottom:r,columnGap:i}=this.props.viewerSettings,a=window.innerHeight,o=Math.round(a-n-r),s=t.offsetLeft-i,c=Math.floor(s/o/2);this.setState({spreadIndex:c},this.updateQueryString)}function xy(e){let{spine:t}=this.state,n=new window.URL(e),r=`${n.origin}${n.pathname}`,i=(0,gy.default)(t,{absoluteURL:r});if(i===this.state.currentSpineItemIndex)return this.closeSidebars();if(i<0){console.warn(`No spine item found for ${r}`);return}let a=t[i];this.props.userInterfaceActions.disablePageTransitions(),this.setState({currentSpineItem:a,currentSpineItemIndex:i,spreadIndex:0},()=>{this.loadSpineItem(a),this.savePosition()})}function Sy(e){let{spine:t}=this.state,n=new window.URL(e);return(0,gy.default)(t,{absoluteURL:`${n.origin}${n.pathname}`})}function Cy(e){let{spreadIndex:t,currentSpineItem:n,currentSpineItemIndex:r}=this.state;if(!n)return;let{slug:i}=n,{searchParams:a}=this.props.readerLocation,o=new window.URLSearchParams(a);o.set(q.queryStringKey(this.props.readerSettings.searchParamKeys.slug),q.queryStringValue(i)),o.set(q.queryStringKey(this.props.readerSettings.searchParamKeys.currentSpineItemIndex),q.queryStringValue(r)),o.set(q.queryStringKey(this.props.readerSettings.searchParamKeys.spreadIndex),q.queryStringValue(t));let s={searchParams:o.toString()};this.props.readerLocationActions.updateLocation(s),e&&e()}function wy(){let{currentSpineItemIndex:e,spreadIndex:t}=this.state,{searchParamKeys:n}=this.props.readerSettings,r=new URLSearchParams;r.set(n.currentSpineItemIndex,e),r.set(n.spreadIndex,t);let i={searchParams:r.toString()};this.props.readerLocationActions.updateLocalStorage(i)}function Ty(){if(this.state.disableMobileResizeEvents)return;let e=new Xh,t=J.isVerticallyScrolling(this.props.readerSettings);e.width=window.innerWidth,e.height=t?`auto`:window.innerHeight,this.props.viewerSettingsActions.update(e.get())}function Ey(){if(this.state.disableMobileResizeEvents)return;this.freeze(),this.props.viewActions.unload();let{spreadIndex:e}=this.state,{lastSpreadIndex:t}=this.props.view,n=0;e>0&&t>0&&(n=e/t),this.setState({relativeSpreadPosition:n})}function Dy(){if(this.state.disableMobileResizeEvents)return;let{relativeSpreadPosition:e}=this.state,{lastSpreadIndex:t}=this.props.view,n=Math.round(t*e);n=Math.max(0,Math.min(n,t)),this.navigateToSpreadByIndex(n)}function Oy(){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)}function ky(){window.addEventListener(`resize`,this.handleResize),window.addEventListener(`resize`,this.handleResizeStart),window.addEventListener(`resize`,this.handleResizeEnd),document.addEventListener(`webkitfullscreenchange mozfullscreenchange fullscreenchange`,this.handleResizeStart),document.addEventListener(`webkitfullscreenchange mozfullscreenchange fullscreenchange`,this.handleResizeEnd)}function Ay(){return(0,Y.jsx)(`div`,{children:fy.content},`book-content`)}function jy(t){let[n,r]=(0,e.useState)({__metadata:[],__spine:[],__guide:[],opsURL:``,spine:[],guide:[],metadata:[],spineItemURL:``,currentSpineItem:null,currentSpineItemIndex:0,cache:t.cache,spreadIndex:0,chapterDelta:0,relativeSpreadPosition:0,firstChapter:!1,lastChapter:!1,firstSpread:!1,lastSpread:!1,showSidebar:null,disableMobileResizeEvents:`ontouchstart`in document.documentElement}),i=(0,e.useRef)(n);i.current=n;let a=(0,e.useRef)(t);a.current=t;let o=(0,e.useRef)([]);(0,e.useEffect)(()=>{o.current.length!==0&&o.current.splice(0).forEach(e=>e?.())});let s=(0,e.useCallback)((e,t)=>{t&&o.current.push(t),r(t=>{let n=typeof e==`function`?e(t):{...t,...e};return i.current=n,n})},[]),c=(0,e.useCallback)(()=>{s({showSidebar:null})},[s]),l=(0,e.useCallback)(()=>{a.current.viewActions.updateLastSpreadIndex(-1),a.current.userInterfaceActions.update({handleEvents:!1,enableTransitions:!1,spinnerVisible:!0}),s({showSidebar:null})},[s]),u=(0,e.useCallback)(e=>{s(t=>({...t,showSidebar:e===t.showSidebar?null:e}))},[s]),d=(0,e.useCallback)(e=>{let t=Co(e,i.current.spreadIndex),n=J.isVerticallyScrolling(a.current.readerSettings),r=0;return n||(r=J.getPageWidth(a.current.viewerSettings)*t*-1,r=r===0&&Math.sign(1/r)===-1?0:r),r},[]),f=(0,e.useCallback)(()=>{a.current.readerSettingsActions.updateSettings({bookURL:``})},[]),p=(0,e.useCallback)(()=>{let{spine:e,currentSpineItemIndex:t}=i.current;return(0,ia.default)(t)&&e?.[t]?.slug?e[t].slug:``},[]),m=(0,e.useRef)(null),h=(0,e.useRef)(null);if(!m.current){let e={get state(){return i.current},get props(){return a.current},get resizeEndTimer(){return h.current},set resizeEndTimer(e){h.current=e}};e.setState=(e,t)=>s(e,t),e.closeSidebars=()=>c(),e.freeze=()=>l(),e.handleSidebarButtonClick=e=>u(e),e.getTranslateX=e=>d(e),e.destroyReaderComponent=()=>f(),e.getSlug=()=>p(),e.createStateFromOPF=py.bind(e),e.showSpineItem=my.bind(e),e.loadSpineItem=hy.bind(e),e.updateQueryString=Cy.bind(e),e.savePosition=wy.bind(e),e.handlePageNavigation=_y.bind(e),e.handleChapterNavigation=vy.bind(e),e.navigateToSpreadByIndex=yy.bind(e),e.navigateToElementById=by.bind(e),e.navigateToChapterByURL=xy.bind(e),e.getSpineItemByAbsoluteUrl=Sy.bind(e),e.handleResize=Ty.bind(e),e.handleResizeStart=Ey.bind(e),e.handleResizeEnd=Dy.bind(e),e.bindResizeHandlers=Oy.bind(e),e.unbindResizeHandlers=ky.bind(e),e.handleResizeStart=(0,ra.default)(e.handleResizeStart,1e3,{leading:!0,trailing:!1}),e.handleResizeEnd=(0,ra.default)(e.handleResizeEnd,1e3,{leading:!1,trailing:!0}),m.current=e}let g=(0,e.useRef)(!1);(0,e.useEffect)(()=>{g.current||(g.current=!0,a.current.userInterfaceActions.update({spinnerVisible:!0,handleEvents:!1}),m.current.createStateFromOPF(()=>{let{spine:e}=i.current,{readerSettings:t,readerLocation:n}=a.current,r=new URLSearchParams(n.searchParams),o=Number(r.get(t.searchParamKeys.currentSpineItemIndex)),c=e[o];if(c){s({currentSpineItem:c,currentSpineItemIndex:o,spreadIndex:0},()=>m.current.loadSpineItem(c));return}m.current.loadSpineItem()}))},[]),(0,e.useEffect)(()=>(m.current.unbindResizeHandlers(),()=>{m.current.bindResizeHandlers();let e=K.createHash(a.current.readerSettings.bookURL);K.removeBookStyles(e)}),[]);let _=(0,e.useRef)(t.readerLocation.searchParams);(0,e.useEffect)(()=>{let e=_.current,n=t.readerLocation.searchParams;if(_.current=n,n===e)return;let r=q.parseQueryString(n),{searchParamKeys:o}=a.current.readerSettings,c=r[o.slug],l=Number(r[o.currentSpineItemIndex]),u=Number(r[o.spreadIndex]),d=q.parseQueryString(e)[o.slug];if(d&&c&&d!==c){if(i.current.currentSpineItem?.slug!==c){let e=(0,G.default)(i.current.spine,{slug:c});m.current.loadSpineItem(e)}return}s({slug:c,currentSpineItemIndex:l,spreadIndex:u})},[t.readerLocation.searchParams]),(0,e.useEffect)(()=>{t.view.loaded&&t.view.lastSpreadIndex>-1&&i.current.chapterDelta<0&&s({chapterDelta:0},()=>m.current.navigateToSpreadByIndex(a.current.view.lastSpreadIndex))},[t.view.loaded,t.view.lastSpreadIndex]);let v=(0,e.useMemo)(()=>({lastSpread:n.lastSpread,spreadIndex:n.spreadIndex,getTranslateX:d,navigateToChapterByURL:m.current.navigateToChapterByURL,getSpineItemByAbsoluteUrl:m.current.getSpineItemByAbsoluteUrl}),[n.lastSpread,n.spreadIndex,d]),{downloads:y,uiOptions:b,view:x,layout:S,style:C,className:w}=t,{metadata:T,guide:E,spine:D,currentSpineItemIndex:O,showSidebar:k,spreadIndex:A,spineItemURL:j}=n,M=p();return(0,Y.jsx)(es,{guide:E,spine:D,currentSpineItemIndex:O,metadata:T,showSidebar:k,spreadIndex:A,lastSpreadIndex:x.lastSpreadIndex,handlePageNavigation:m.current.handlePageNavigation,destroyReaderComponent:f,handleChapterNavigation:m.current.handleChapterNavigation,handleSidebarButtonClick:u,navigateToChapterByURL:m.current.navigateToChapterByURL,downloads:y,uiOptions:b,layout:S,children:(0,Y.jsxs)(ko.Provider,{value:v,children:[(0,Y.jsx)(ds,{slug:M,spreadIndex:A,lastSpreadIndex:x.lastSpreadIndex,BookContent:Ay,layout:S,view:x,style:C,className:w,spineItemURL:j}),(0,Y.jsx)(ps,{})]})})}var My=H(({readerSettings:e,viewerSettings:t,readerLocation:n,view:r,userInterface:i})=>({readerSettings:e,viewerSettings:t,readerLocation:n,view:r,userInterface:i}),e=>({viewerSettingsActions:W(Na,e),readerSettingsActions:W(Zi,e),readerLocationActions:W(Wi,e),viewActions:W(Ca,e),userInterfaceActions:W(la,e)}))(jy),Ny=class extends e.Component{async UNSAFE_componentWillMount(){let{manifestURL:e,disableBodyStyles:t}=this.props.readerSettings,{bookURL:n,projectURL:r}=this.props.readerSettings,i=[];if(e&&n&&console.error("Multiple endpoints. Specify either `manifestURL` or `bookURL`"),t!==!0&&(document.body.style[`-webkit-text-size-adjust`]=`none`,document.body.style[`touch-action`]=`manipulation`,document.body.style.margin=`0`,document.body.style.padding=`0`),e)try{let{data:t}=await $i.getJson(e),{href:i}=t.resources.find(e=>e.type===`application/oebps-package+xml`);n=i.split(`/`).slice(0,-2).join(`/`),this.props.readerSettingsActions.updateSettings({bookURL:n}),r||=e.slice(0,e.lastIndexOf(`/`))}catch(e){console.error(`Error loading Webpub manifest`,e)}n&&!r&&(r=n.split(`/`).slice(0,-2).join(`/`));try{i=(await $i.getBooks(r)).data}catch(e){console.warn(`Could not load books from API`,e)}let a=n.split(`/`).filter(Boolean).pop(),o=(0,G.default)(i,{id:a}),s={};o&&(s.layout=o.layout,s.downloads=o.downloads,s.uiOptions=o.ui_options),s.layout=this.props.readerSettings.layout||s.layout||`columns`,this.props.readerSettingsActions.updateSettings({books:i,bookURL:n,projectURL:r,...s}),this.props.readerLocationActions.setInitialSearchParams()}render(){let{searchParams:e}=this.props.readerLocation,{bookURL:t}=this.props.readerSettings;if(!e||!t)return null;let{style:n,className:r,...i}=this.props.readerSettings;return(0,Y.jsx)(My,{style:n,className:r,...i})}},Py=H(({readerSettings:e,readerLocation:t})=>({readerSettings:e,readerLocation:t}),e=>({readerSettingsActions:W(Zi,e),readerLocationActions:W(Wi,e)}))(Ny),Fy=`3.0.7`,Iy={},Ly=(e,{markerId:t,...n})=>({...e,[t]:{...e[t]||{},...n}}),Ry=(e=Iy,t)=>{switch(t.type){case lg:return Ly(e,t.payload);default:return e}},zy={searchParams:``},By=(e=zy,t={})=>{switch(t.type){case Mr:return{...e,...t.payload};default:return e}},Vy={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:Gi.QUERY_PARAMS,searchParams:``,style:{},className:``,cache:!0,layout:``},Hy=(e=Vy,t={})=>{switch(t.type){case Xi:return{...e,...t.payload};default:return e}},Uy={enableTransitions:!1,handleEvents:!1,spinnerVisible:!0},Wy=(e=Uy,t={})=>{switch(t.type){case oa:return{...e,enableTransitions:t.payload};case sa:return{...e,handleEvents:t.payload};case ca:return{...e,spinnerVisible:t.payload};case aa:return{...e,...t.payload};default:return e}},Gy={loaded:!1,ultimateOffsetLeft:0,lastSpreadIndex:0},Ky=(e=Gy,t)=>{switch(t.type){case _a:case va:return{...e,loaded:t.payload};case ya:return{...e,...t.payload};case ba:return{...e,lastSpreadIndex:t.payload};case xa:case Sa:return{...e};default:return e}},qy=new Xh().get(),Jy=st({readerSettings:Hy,viewerSettings:(e=qy,t={})=>{switch(t.type){case Ma:case ja:case Aa:return{...e,...t.payload};default:return e}},readerLocation:By,markers:Ry,view:Ky,userInterface:Wy});(function(e,t){"use strict";if(e.setImmediate)return;var n=1,r={},i=!1,a=e.document,o;function s(e){typeof e!=`function`&&(e=Function(``+e));for(var t=Array(arguments.length-1),i=0;i<t.length;i++)t[i]=arguments[i+1];return r[n]={callback:e,args:t},o(n),n++}function c(e){delete r[e]}function l(e){var n=e.callback,r=e.args;switch(r.length){case 0:n();break;case 1:n(r[0]);break;case 2:n(r[0],r[1]);break;case 3:n(r[0],r[1],r[2]);break;default:n.apply(t,r);break}}function u(e){if(i)setTimeout(u,0,e);else{var t=r[e];if(t){i=!0;try{l(t)}finally{c(e),i=!1}}}}function d(){o=function(e){process.nextTick(function(){u(e)})}}function f(){if(e.postMessage&&!e.importScripts){var t=!0,n=e.onmessage;return e.onmessage=function(){t=!1},e.postMessage(``,`*`),e.onmessage=n,t}}function p(){var t=`setImmediate$`+Math.random()+`$`,n=function(n){n.source===e&&typeof n.data==`string`&&n.data.indexOf(t)===0&&u(+n.data.slice(t.length))};e.addEventListener?e.addEventListener(`message`,n,!1):e.attachEvent(`onmessage`,n),o=function(n){e.postMessage(t+n,`*`)}}function m(){var e=new MessageChannel;e.port1.onmessage=function(e){var t=e.data;u(t)},o=function(t){e.port2.postMessage(t)}}function h(){var e=a.documentElement;o=function(t){var n=a.createElement(`script`);n.onreadystatechange=function(){u(t),n.onreadystatechange=null,e.removeChild(n),n=null},e.appendChild(n)}}function g(){o=function(e){setTimeout(u,0,e)}}var _=Object.getPrototypeOf&&Object.getPrototypeOf(e);_=_&&_.setTimeout?_:e,{}.toString.call(e.process)===`[object process]`?d():f()?p():e.MessageChannel?m():a&&`onreadystatechange`in a.createElement(`script`)?h():g(),_.setImmediate=s,_.clearImmediate=c})(typeof self>`u`?typeof global>`u`?void 0:global:self),c(((e,t)=>{var n=`bfred-it:object-fit-images`,r=/(object-fit|object-position)\s*:\s*([-.\w\s%]+)/g,i=typeof Image>`u`?{style:{"object-position":1}}:new Image,a=`object-fit`in i.style,o=`object-position`in i.style,s=`background-size`in i.style,c=typeof i.currentSrc==`string`,l=i.getAttribute,u=i.setAttribute,d=!1;function f(e,t){return`data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='`+e+`' height='`+t+`'%3E%3C/svg%3E`}function p(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}}function m(e){for(var t=getComputedStyle(e).fontFamily,n,i={};(n=r.exec(t))!==null;)i[n[1]]=n[2];return i}function h(e,t,n){var r=f(t||1,n||0);l.call(e,`src`)!==r&&u.call(e,`src`,r)}function g(e,t){e.naturalWidth?t(e):setTimeout(g,100,e,t)}function _(e){var t=m(e),r=e[n];if(t[`object-fit`]=t[`object-fit`]||`fill`,!(!r.img&&(t[`object-fit`]===`fill`||!r.skipTest&&a&&!t[`object-position`]))){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,u.call(e,`data-ofi-src`,e.src),e.srcset&&u.call(e,`data-ofi-srcset`,e.srcset),h(e,e.naturalWidth||e.width,e.naturalHeight||e.height),e.srcset&&=``;try{v(e)}catch{window.console&&console.warn(`https://bit.ly/ofi-old-browser`)}}p(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`])?g(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%`),g(r.img,function(t){h(e,t.naturalWidth,t.naturalHeight)})}}function v(e){var t={get:function(t){return e[n].img[t||`src`]},set:function(t,r){return e[n].img[r||`src`]=t,u.call(e,`data-ofi-`+r,t),_(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`)}})}function y(){function e(e,t){return e[n]&&e[n].img&&(t===`src`||t===`srcset`)?e[n].img:e}o||(HTMLImageElement.prototype.getAttribute=function(t){return l.call(e(this,t),t)},HTMLImageElement.prototype.setAttribute=function(t,n){return u.call(e(this,t),t,String(n))})}function b(e,t){var r=!d&&!e;if(t||={},e||=`img`,o&&!t.skipTest||!s)return!1;e===`img`?e=document.getElementsByTagName(`img`):typeof e==`string`?e=document.querySelectorAll(e):`length`in e||(e=[e]);for(var i=0;i<e.length;i++)e[i][n]=e[i][n]||{skipTest:t.skipTest},_(e[i]);r&&(document.body.addEventListener(`load`,function(e){e.target.tagName===`IMG`&&b(e.target,{skipTest:t.skipTest})},!0),d=!0,e=`img`),t.watchMQ&&window.addEventListener(`resize`,b.bind(null,e,{skipTest:t.skipTest}))}b.supportsObjectFit=a,b.supportsObjectPosition=o,y(),t.exports=b}))(),(function(e){"use strict";var t=e.URLSearchParams?e.URLSearchParams:null,n=t&&new t({a:1}).toString()===`a=1`,r=t&&new t(`s=%2B`).get(`s`)===`+`,i=`__URLSearchParams__`,a=s.prototype,o=!!(e.Symbol&&e.Symbol.iterator);if(t&&n&&r)return;function s(e){e||=``,(e instanceof URLSearchParams||e instanceof s)&&(e=e.toString()),this[i]=f(e)}a.append=function(e,t){p(this[i],e,t)},a.delete=function(e){delete this[i][e]},a.get=function(e){var t=this[i];return e in t?t[e][0]:null},a.getAll=function(e){var t=this[i];return e in t?t[e].slice(0):[]},a.has=function(e){return e in this[i]},a.set=function(e,t){this[i][e]=[``+t]},a.toString=function(){var e=this[i],t=[],n,r,a,o;for(r in e)for(a=l(r),n=0,o=e[r];n<o.length;n++)t.push(a+`=`+l(o[n]));return t.join(`&`)},e.URLSearchParams=r&&t&&!n&&e.Proxy?new Proxy(t,{construct:function(e,t){return new e(new s(t[0]).toString())}}):s;var c=e.URLSearchParams.prototype;c.polyfill=!0,c.forEach=c.forEach||function(e,t){var n=f(this.toString());Object.getOwnPropertyNames(n).forEach(function(r){n[r].forEach(function(n){e.call(t,n,r,this)},this)},this)},c.sort=c.sort||function(){var e=f(this.toString()),t=[],n,r,i;for(n in e)t.push(n);for(t.sort(),r=0;r<t.length;r++)this.delete(t[r]);for(r=0;r<t.length;r++){var a=t[r],o=e[a];for(i=0;i<o.length;i++)this.append(a,o[i])}},c.keys=c.keys||function(){var e=[];return this.forEach(function(t,n){e.push(n)}),d(e)},c.values=c.values||function(){var e=[];return this.forEach(function(t){e.push(t)}),d(e)},c.entries=c.entries||function(){var e=[];return this.forEach(function(t,n){e.push([n,t])}),d(e)},o&&(c[e.Symbol.iterator]=c[e.Symbol.iterator]||c.entries);function l(e){var t={"!":`%21`,"'":`%27`,"(":`%28`,")":`%29`,"~":`%7E`,"%20":`+`,"%00":`\0`};return encodeURIComponent(e).replace(/[!'\(\)~]|%20|%00/g,function(e){return t[e]})}function u(e){return decodeURIComponent(e.replace(/\+/g,` `))}function d(t){var n={next:function(){var e=t.shift();return{done:e===void 0,value:e}}};return o&&(n[e.Symbol.iterator]=function(){return n}),n}function f(e){var t={};if(typeof e==`object`)for(var n in e)e.hasOwnProperty(n)&&p(t,n,e[n]);else{e.indexOf(`?`)===0&&(e=e.slice(1));for(var r=e.split(`&`),i=0;i<r.length;i++){var a=r[i],o=a.indexOf(`=`);-1<o?p(t,u(a.slice(0,o)),u(a.slice(o+1))):a&&p(t,u(a),``)}}return t}function p(e,t,n){var r=typeof n==`string`?n:n!=null&&typeof n.toString==`function`?n.toString():JSON.stringify(n);t in e?e[t].push(r):e[t]=[r]}})(typeof global<`u`?global:typeof window<`u`?window:void 0);function Yy(){return Date.now?Date.now():new Date().getTime()}function Xy(){let e=[`webkit`,`moz`];for(let t=0;t<e.length&&!window.requestAnimationFrame;++t){let n=e[t];window.requestAnimationFrame=window[`${n}RequestAnimationFrame`],window.cancelAnimationFrame=window[`${n}CancelAnimationFrame`]||window[`${n}CancelRequestAnimationFrame`]}if(/iP(ad|hone|od).*OS 6/.test(window.navigator.userAgent)||!window.requestAnimationFrame||!window.cancelAnimationFrame){let e=0;window.requestAnimationFrame=t=>{let n=Yy(),r=Math.max(e+16,n);return setTimeout(()=>{t(e=r)},r-n)},window.cancelAnimationFrame=clearTimeout}}Xy();var Zy=()=>(0,Y.jsx)(`meta`,{name:`generator`,content:`b-ber-react-reader: ${Fy}`});return(e={})=>(0,Y.jsxs)(qe,{store:rt(Jy,{readerSettings:wo(Vy,e)},lt(ut(ft))),children:[(0,Y.jsx)(Zy,{}),(0,Y.jsx)(Py,{})]})});
|