Files
omnivore/apple/OmnivoreKit/Sources/Views/Resources/bundle.js
2024-05-09 15:56:05 +08:00

2 lines
1.3 MiB
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

/*! For license information please see bundle.js.LICENSE.txt */
(()=>{var e,t,n={7162:(e,t,n)=>{e.exports=n(5047)},1365:e=>{e.exports={trueFunc:function(){return!0},falseFunc:function(){return!1}}},6279:function(e,t){var n="undefined"!=typeof self?self:this,r=function(){function e(){this.fetch=!1,this.DOMException=n.DOMException}return e.prototype=n,new e}();!function(e){!function(t){var n="URLSearchParams"in e,r="Symbol"in e&&"iterator"in Symbol,o="FileReader"in e&&"Blob"in e&&function(){try{return new Blob,!0}catch(e){return!1}}(),i="FormData"in e,a="ArrayBuffer"in e;if(a)var l=["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]","[object Float32Array]","[object Float64Array]"],s=ArrayBuffer.isView||function(e){return e&&l.indexOf(Object.prototype.toString.call(e))>-1};function u(e){if("string"!=typeof e&&(e=String(e)),/[^a-z0-9\-#$%&'*+.^_`|~]/i.test(e))throw new TypeError("Invalid character in header field name");return e.toLowerCase()}function c(e){return"string"!=typeof e&&(e=String(e)),e}function d(e){var t={next:function(){var t=e.shift();return{done:void 0===t,value:t}}};return r&&(t[Symbol.iterator]=function(){return t}),t}function f(e){this.map={},e instanceof f?e.forEach((function(e,t){this.append(t,e)}),this):Array.isArray(e)?e.forEach((function(e){this.append(e[0],e[1])}),this):e&&Object.getOwnPropertyNames(e).forEach((function(t){this.append(t,e[t])}),this)}function p(e){if(e.bodyUsed)return Promise.reject(new TypeError("Already read"));e.bodyUsed=!0}function h(e){return new Promise((function(t,n){e.onload=function(){t(e.result)},e.onerror=function(){n(e.error)}}))}function g(e){var t=new FileReader,n=h(t);return t.readAsArrayBuffer(e),n}function m(e){if(e.slice)return e.slice(0);var t=new Uint8Array(e.byteLength);return t.set(new Uint8Array(e)),t.buffer}function v(){return this.bodyUsed=!1,this._initBody=function(e){var t;this._bodyInit=e,e?"string"==typeof e?this._bodyText=e:o&&Blob.prototype.isPrototypeOf(e)?this._bodyBlob=e:i&&FormData.prototype.isPrototypeOf(e)?this._bodyFormData=e:n&&URLSearchParams.prototype.isPrototypeOf(e)?this._bodyText=e.toString():a&&o&&(t=e)&&DataView.prototype.isPrototypeOf(t)?(this._bodyArrayBuffer=m(e.buffer),this._bodyInit=new Blob([this._bodyArrayBuffer])):a&&(ArrayBuffer.prototype.isPrototypeOf(e)||s(e))?this._bodyArrayBuffer=m(e):this._bodyText=e=Object.prototype.toString.call(e):this._bodyText="",this.headers.get("content-type")||("string"==typeof e?this.headers.set("content-type","text/plain;charset=UTF-8"):this._bodyBlob&&this._bodyBlob.type?this.headers.set("content-type",this._bodyBlob.type):n&&URLSearchParams.prototype.isPrototypeOf(e)&&this.headers.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"))},o&&(this.blob=function(){var e=p(this);if(e)return e;if(this._bodyBlob)return Promise.resolve(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(new Blob([this._bodyArrayBuffer]));if(this._bodyFormData)throw new Error("could not read FormData body as blob");return Promise.resolve(new Blob([this._bodyText]))},this.arrayBuffer=function(){return this._bodyArrayBuffer?p(this)||Promise.resolve(this._bodyArrayBuffer):this.blob().then(g)}),this.text=function(){var e,t,n,r=p(this);if(r)return r;if(this._bodyBlob)return e=this._bodyBlob,n=h(t=new FileReader),t.readAsText(e),n;if(this._bodyArrayBuffer)return Promise.resolve(function(e){for(var t=new Uint8Array(e),n=new Array(t.length),r=0;r<t.length;r++)n[r]=String.fromCharCode(t[r]);return n.join("")}(this._bodyArrayBuffer));if(this._bodyFormData)throw new Error("could not read FormData body as text");return Promise.resolve(this._bodyText)},i&&(this.formData=function(){return this.text().then(A)}),this.json=function(){return this.text().then(JSON.parse)},this}f.prototype.append=function(e,t){e=u(e),t=c(t);var n=this.map[e];this.map[e]=n?n+", "+t:t},f.prototype.delete=function(e){delete this.map[u(e)]},f.prototype.get=function(e){return e=u(e),this.has(e)?this.map[e]:null},f.prototype.has=function(e){return this.map.hasOwnProperty(u(e))},f.prototype.set=function(e,t){this.map[u(e)]=c(t)},f.prototype.forEach=function(e,t){for(var n in this.map)this.map.hasOwnProperty(n)&&e.call(t,this.map[n],n,this)},f.prototype.keys=function(){var e=[];return this.forEach((function(t,n){e.push(n)})),d(e)},f.prototype.values=function(){var e=[];return this.forEach((function(t){e.push(t)})),d(e)},f.prototype.entries=function(){var e=[];return this.forEach((function(t,n){e.push([n,t])})),d(e)},r&&(f.prototype[Symbol.iterator]=f.prototype.entries);var b=["DELETE","GET","HEAD","OPTIONS","POST","PUT"];function y(e,t){var n,r,o=(t=t||{}).body;if(e instanceof y){if(e.bodyUsed)throw new TypeError("Already read");this.url=e.url,this.credentials=e.credentials,t.headers||(this.headers=new f(e.headers)),this.method=e.method,this.mode=e.mode,this.signal=e.signal,o||null==e._bodyInit||(o=e._bodyInit,e.bodyUsed=!0)}else this.url=String(e);if(this.credentials=t.credentials||this.credentials||"same-origin",!t.headers&&this.headers||(this.headers=new f(t.headers)),this.method=(r=(n=t.method||this.method||"GET").toUpperCase(),b.indexOf(r)>-1?r:n),this.mode=t.mode||this.mode||null,this.signal=t.signal||this.signal,this.referrer=null,("GET"===this.method||"HEAD"===this.method)&&o)throw new TypeError("Body not allowed for GET or HEAD requests");this._initBody(o)}function A(e){var t=new FormData;return e.trim().split("&").forEach((function(e){if(e){var n=e.split("="),r=n.shift().replace(/\+/g," "),o=n.join("=").replace(/\+/g," ");t.append(decodeURIComponent(r),decodeURIComponent(o))}})),t}function w(e,t){t||(t={}),this.type="default",this.status=void 0===t.status?200:t.status,this.ok=this.status>=200&&this.status<300,this.statusText="statusText"in t?t.statusText:"OK",this.headers=new f(t.headers),this.url=t.url||"",this._initBody(e)}y.prototype.clone=function(){return new y(this,{body:this._bodyInit})},v.call(y.prototype),v.call(w.prototype),w.prototype.clone=function(){return new w(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new f(this.headers),url:this.url})},w.error=function(){var e=new w(null,{status:0,statusText:""});return e.type="error",e};var x=[301,302,303,307,308];w.redirect=function(e,t){if(-1===x.indexOf(t))throw new RangeError("Invalid status code");return new w(null,{status:t,headers:{location:e}})},t.DOMException=e.DOMException;try{new t.DOMException}catch(e){t.DOMException=function(e,t){this.message=e,this.name=t;var n=Error(e);this.stack=n.stack},t.DOMException.prototype=Object.create(Error.prototype),t.DOMException.prototype.constructor=t.DOMException}function E(e,n){return new Promise((function(r,i){var a=new y(e,n);if(a.signal&&a.signal.aborted)return i(new t.DOMException("Aborted","AbortError"));var l=new XMLHttpRequest;function s(){l.abort()}l.onload=function(){var e,t,n={status:l.status,statusText:l.statusText,headers:(e=l.getAllResponseHeaders()||"",t=new f,e.replace(/\r?\n[\t ]+/g," ").split(/\r?\n/).forEach((function(e){var n=e.split(":"),r=n.shift().trim();if(r){var o=n.join(":").trim();t.append(r,o)}})),t)};n.url="responseURL"in l?l.responseURL:n.headers.get("X-Request-URL");var o="response"in l?l.response:l.responseText;r(new w(o,n))},l.onerror=function(){i(new TypeError("Network request failed"))},l.ontimeout=function(){i(new TypeError("Network request failed"))},l.onabort=function(){i(new t.DOMException("Aborted","AbortError"))},l.open(a.method,a.url,!0),"include"===a.credentials?l.withCredentials=!0:"omit"===a.credentials&&(l.withCredentials=!1),"responseType"in l&&o&&(l.responseType="blob"),a.headers.forEach((function(e,t){l.setRequestHeader(t,e)})),a.signal&&(a.signal.addEventListener("abort",s),l.onreadystatechange=function(){4===l.readyState&&a.signal.removeEventListener("abort",s)}),l.send(void 0===a._bodyInit?null:a._bodyInit)}))}E.polyfill=!0,e.fetch||(e.fetch=E,e.Headers=f,e.Request=y,e.Response=w),t.Headers=f,t.Request=y,t.Response=w,t.fetch=E,Object.defineProperty(t,"__esModule",{value:!0})}({})}(r),r.fetch.ponyfill=!0,delete r.fetch.polyfill;var o=r;(t=o.fetch).default=o.fetch,t.fetch=o.fetch,t.Headers=o.Headers,t.Request=o.Request,t.Response=o.Response,e.exports=t},8105:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.attributeRules=void 0;var o=r(n(1365)),i=/[-[\]{}()*+?.,\\^$|#\s]/g;function a(e){return e.replace(i,"\\$&")}var l=new Set(["accept","accept-charset","align","alink","axis","bgcolor","charset","checked","clear","codetype","color","compact","declare","defer","dir","direction","disabled","enctype","face","frame","hreflang","http-equiv","lang","language","link","media","method","multiple","nohref","noresize","noshade","nowrap","readonly","rel","rev","rules","scope","scrolling","selected","shape","target","text","type","valign","valuetype","vlink"]);function s(e,t){return"boolean"==typeof e.ignoreCase?e.ignoreCase:"quirks"===e.ignoreCase?!!t.quirksMode:!t.xmlMode&&l.has(e.name)}t.attributeRules={equals:function(e,t,n){var r=n.adapter,o=t.name,i=t.value;return s(t,n)?(i=i.toLowerCase(),function(t){var n=r.getAttributeValue(t,o);return null!=n&&n.length===i.length&&n.toLowerCase()===i&&e(t)}):function(t){return r.getAttributeValue(t,o)===i&&e(t)}},hyphen:function(e,t,n){var r=n.adapter,o=t.name,i=t.value,a=i.length;return s(t,n)?(i=i.toLowerCase(),function(t){var n=r.getAttributeValue(t,o);return null!=n&&(n.length===a||"-"===n.charAt(a))&&n.substr(0,a).toLowerCase()===i&&e(t)}):function(t){var n=r.getAttributeValue(t,o);return null!=n&&(n.length===a||"-"===n.charAt(a))&&n.substr(0,a)===i&&e(t)}},element:function(e,t,n){var r=n.adapter,i=t.name,l=t.value;if(/\s/.test(l))return o.default.falseFunc;var u=new RegExp("(?:^|\\s)".concat(a(l),"(?:$|\\s)"),s(t,n)?"i":"");return function(t){var n=r.getAttributeValue(t,i);return null!=n&&n.length>=l.length&&u.test(n)&&e(t)}},exists:function(e,t,n){var r=t.name,o=n.adapter;return function(t){return o.hasAttrib(t,r)&&e(t)}},start:function(e,t,n){var r=n.adapter,i=t.name,a=t.value,l=a.length;return 0===l?o.default.falseFunc:s(t,n)?(a=a.toLowerCase(),function(t){var n=r.getAttributeValue(t,i);return null!=n&&n.length>=l&&n.substr(0,l).toLowerCase()===a&&e(t)}):function(t){var n;return!!(null===(n=r.getAttributeValue(t,i))||void 0===n?void 0:n.startsWith(a))&&e(t)}},end:function(e,t,n){var r=n.adapter,i=t.name,a=t.value,l=-a.length;return 0===l?o.default.falseFunc:s(t,n)?(a=a.toLowerCase(),function(t){var n;return(null===(n=r.getAttributeValue(t,i))||void 0===n?void 0:n.substr(l).toLowerCase())===a&&e(t)}):function(t){var n;return!!(null===(n=r.getAttributeValue(t,i))||void 0===n?void 0:n.endsWith(a))&&e(t)}},any:function(e,t,n){var r=n.adapter,i=t.name,l=t.value;if(""===l)return o.default.falseFunc;if(s(t,n)){var u=new RegExp(a(l),"i");return function(t){var n=r.getAttributeValue(t,i);return null!=n&&n.length>=l.length&&u.test(n)&&e(t)}}return function(t){var n;return!!(null===(n=r.getAttributeValue(t,i))||void 0===n?void 0:n.includes(l))&&e(t)}},not:function(e,t,n){var r=n.adapter,o=t.name,i=t.value;return""===i?function(t){return!!r.getAttributeValue(t,o)&&e(t)}:s(t,n)?(i=i.toLowerCase(),function(t){var n=r.getAttributeValue(t,o);return(null==n||n.length!==i.length||n.toLowerCase()!==i)&&e(t)}):function(t){return r.getAttributeValue(t,o)!==i&&e(t)}}}},5716:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var o=Object.getOwnPropertyDescriptor(t,n);o&&!("get"in o?!t.__esModule:o.writable||o.configurable)||(o={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,o)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),o=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),i=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)"default"!==n&&Object.prototype.hasOwnProperty.call(e,n)&&r(t,e,n);return o(t,e),t},a=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.compileToken=t.compileUnsafe=t.compile=void 0;var l=n(3658),s=a(n(1365)),u=i(n(3055)),c=n(9919),d=n(3973);function f(e,t,n){return v("string"==typeof e?(0,l.parse)(e):e,t,n)}function p(e){return e.type===l.SelectorType.Pseudo&&("scope"===e.name||Array.isArray(e.data)&&e.data.some((function(e){return e.some(p)})))}t.compile=function(e,t,n){var r=f(e,t,n);return(0,d.ensureIsTag)(r,t.adapter)},t.compileUnsafe=f;var h={type:l.SelectorType.Descendant},g={type:"_flexibleDescendant"},m={type:l.SelectorType.Pseudo,name:"scope",data:null};function v(e,t,n){var r;e.forEach(u.default),n=null!==(r=t.context)&&void 0!==r?r:n;var o=Array.isArray(n),i=n&&(Array.isArray(n)?n:[n]);if(!1!==t.relativeSelector)!function(e,t,n){for(var r=t.adapter,o=!!(null==n?void 0:n.every((function(e){var t=r.isTag(e)&&r.getParent(e);return e===d.PLACEHOLDER_ELEMENT||t&&r.isTag(t)}))),i=0,a=e;i<a.length;i++){var s=a[i];if(s.length>0&&(0,u.isTraversal)(s[0])&&s[0].type!==l.SelectorType.Descendant);else{if(!o||s.some(p))continue;s.unshift(h)}s.unshift(m)}}(e,t,i);else if(e.some((function(e){return e.length>0&&(0,u.isTraversal)(e[0])})))throw new Error("Relative selectors are not allowed when the `relativeSelector` option is disabled");var a=!1,f=e.map((function(e){if(e.length>=2){var n=e[0],r=e[1];n.type!==l.SelectorType.Pseudo||"scope"!==n.name||(o&&r.type===l.SelectorType.Descendant?e[1]=g:r.type!==l.SelectorType.Adjacent&&r.type!==l.SelectorType.Sibling||(a=!0))}return function(e,t,n){var r;return e.reduce((function(e,r){return e===s.default.falseFunc?s.default.falseFunc:(0,c.compileGeneralSelector)(e,r,t,n,v)}),null!==(r=t.rootFunc)&&void 0!==r?r:s.default.trueFunc)}(e,t,i)})).reduce(b,s.default.falseFunc);return f.shouldTestNextSiblings=a,f}function b(e,t){return t===s.default.falseFunc||e===s.default.trueFunc?e:e===s.default.falseFunc||t===s.default.trueFunc?t:function(n){return e(n)||t(n)}}t.compileToken=v},9919:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.compileGeneralSelector=void 0;var r=n(8105),o=n(7466),i=n(3658);function a(e,t){var n=t.getParent(e);return n&&t.isTag(n)?n:null}t.compileGeneralSelector=function(e,t,n,l,s){var u=n.adapter,c=n.equals;switch(t.type){case i.SelectorType.PseudoElement:throw new Error("Pseudo-elements are not supported by css-select");case i.SelectorType.ColumnCombinator:throw new Error("Column combinators are not yet supported by css-select");case i.SelectorType.Attribute:if(null!=t.namespace)throw new Error("Namespaced attributes are not yet supported by css-select");return n.xmlMode&&!n.lowerCaseAttributeNames||(t.name=t.name.toLowerCase()),r.attributeRules[t.action](e,t,n);case i.SelectorType.Pseudo:return(0,o.compilePseudoSelector)(e,t,n,l,s);case i.SelectorType.Tag:if(null!=t.namespace)throw new Error("Namespaced tag names are not yet supported by css-select");var d=t.name;return n.xmlMode&&!n.lowerCaseTags||(d=d.toLowerCase()),function(t){return u.getName(t)===d&&e(t)};case i.SelectorType.Descendant:if(!1===n.cacheResults||"undefined"==typeof WeakSet)return function(t){for(var n=t;n=a(n,u);)if(e(n))return!0;return!1};var f=new WeakSet;return function(t){for(var n=t;n=a(n,u);)if(!f.has(n)){if(u.isTag(n)&&e(n))return!0;f.add(n)}return!1};case"_flexibleDescendant":return function(t){var n=t;do{if(e(n))return!0}while(n=a(n,u));return!1};case i.SelectorType.Parent:return function(t){return u.getChildren(t).some((function(t){return u.isTag(t)&&e(t)}))};case i.SelectorType.Child:return function(t){var n=u.getParent(t);return null!=n&&u.isTag(n)&&e(n)};case i.SelectorType.Sibling:return function(t){for(var n=u.getSiblings(t),r=0;r<n.length;r++){var o=n[r];if(c(t,o))break;if(u.isTag(o)&&e(o))return!0}return!1};case i.SelectorType.Adjacent:return u.prevElementSibling?function(t){var n=u.prevElementSibling(t);return null!=n&&e(n)}:function(t){for(var n,r=u.getSiblings(t),o=0;o<r.length;o++){var i=r[o];if(c(t,i))break;u.isTag(i)&&(n=i)}return!!n&&e(n)};case i.SelectorType.Universal:if(null!=t.namespace&&"*"!==t.namespace)throw new Error("Namespaced universal selectors are not yet supported by css-select");return e}}},8062:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var o=Object.getOwnPropertyDescriptor(t,n);o&&!("get"in o?!t.__esModule:o.writable||o.configurable)||(o={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,o)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),o=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),i=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)"default"!==n&&Object.prototype.hasOwnProperty.call(e,n)&&r(t,e,n);return o(t,e),t},a=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.aliases=t.pseudos=t.filters=t.is=t.selectOne=t.selectAll=t.prepareContext=t._compileToken=t._compileUnsafe=t.compile=void 0;var l=i(n(3926)),s=a(n(1365)),u=n(5716),c=n(3973),d=function(e,t){return e===t},f={adapter:l,equals:d};function p(e){var t,n,r,o,i=null!=e?e:f;return null!==(t=i.adapter)&&void 0!==t||(i.adapter=l),null!==(n=i.equals)&&void 0!==n||(i.equals=null!==(o=null===(r=i.adapter)||void 0===r?void 0:r.equals)&&void 0!==o?o:d),i}function h(e){return function(t,n,r){var o=p(n);return e(t,o,r)}}function g(e){return function(t,n,r){var o=p(r);"function"!=typeof t&&(t=(0,u.compileUnsafe)(t,o,n));var i=m(n,o.adapter,t.shouldTestNextSiblings);return e(t,i,o)}}function m(e,t,n){return void 0===n&&(n=!1),n&&(e=function(e,t){for(var n=Array.isArray(e)?e.slice(0):[e],r=n.length,o=0;o<r;o++){var i=(0,c.getNextSiblings)(n[o],t);n.push.apply(n,i)}return n}(e,t)),Array.isArray(e)?t.removeSubsets(e):t.getChildren(e)}t.compile=h(u.compile),t._compileUnsafe=h(u.compileUnsafe),t._compileToken=h(u.compileToken),t.prepareContext=m,t.selectAll=g((function(e,t,n){return e!==s.default.falseFunc&&t&&0!==t.length?n.adapter.findAll(e,t):[]})),t.selectOne=g((function(e,t,n){return e!==s.default.falseFunc&&t&&0!==t.length?n.adapter.findOne(e,t):null})),t.is=function(e,t,n){var r=p(n);return("function"==typeof t?t:(0,u.compile)(t,r))(e)},t.default=t.selectAll;var v=n(7466);Object.defineProperty(t,"filters",{enumerable:!0,get:function(){return v.filters}}),Object.defineProperty(t,"pseudos",{enumerable:!0,get:function(){return v.pseudos}}),Object.defineProperty(t,"aliases",{enumerable:!0,get:function(){return v.aliases}})},4169:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.aliases=void 0,t.aliases={"any-link":":is(a, area, link)[href]",link:":any-link:not(:visited)",disabled:":is(\n :is(button, input, select, textarea, optgroup, option)[disabled],\n optgroup[disabled] > option,\n fieldset[disabled]:not(fieldset[disabled] legend:first-of-type *)\n )",enabled:":not(:disabled)",checked:":is(:is(input[type=radio], input[type=checkbox])[checked], option:selected)",required:":is(input, select, textarea)[required]",optional:":is(input, select, textarea):not([required])",selected:"option:is([selected], select:not([multiple]):not(:has(> option[selected])) > :first-of-type)",checkbox:"[type=checkbox]",file:"[type=file]",password:"[type=password]",radio:"[type=radio]",reset:"[type=reset]",image:"[type=image]",submit:"[type=submit]",parent:":not(:empty)",header:":is(h1, h2, h3, h4, h5, h6)",button:":is(button, input[type=button])",input:":is(input, textarea, select, button)",text:"input:is(:not([type!='']), [type=text])"}},4449:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.filters=void 0;var o=r(n(7346)),i=r(n(1365));function a(e,t){return function(n){var r=t.getParent(n);return null!=r&&t.isTag(r)&&e(n)}}function l(e){return function(t,n,r){var o=r.adapter[e];return"function"!=typeof o?i.default.falseFunc:function(e){return o(e)&&t(e)}}}t.filters={contains:function(e,t,n){var r=n.adapter;return function(n){return e(n)&&r.getText(n).includes(t)}},icontains:function(e,t,n){var r=n.adapter,o=t.toLowerCase();return function(t){return e(t)&&r.getText(t).toLowerCase().includes(o)}},"nth-child":function(e,t,n){var r=n.adapter,l=n.equals,s=(0,o.default)(t);return s===i.default.falseFunc?i.default.falseFunc:s===i.default.trueFunc?a(e,r):function(t){for(var n=r.getSiblings(t),o=0,i=0;i<n.length&&!l(t,n[i]);i++)r.isTag(n[i])&&o++;return s(o)&&e(t)}},"nth-last-child":function(e,t,n){var r=n.adapter,l=n.equals,s=(0,o.default)(t);return s===i.default.falseFunc?i.default.falseFunc:s===i.default.trueFunc?a(e,r):function(t){for(var n=r.getSiblings(t),o=0,i=n.length-1;i>=0&&!l(t,n[i]);i--)r.isTag(n[i])&&o++;return s(o)&&e(t)}},"nth-of-type":function(e,t,n){var r=n.adapter,l=n.equals,s=(0,o.default)(t);return s===i.default.falseFunc?i.default.falseFunc:s===i.default.trueFunc?a(e,r):function(t){for(var n=r.getSiblings(t),o=0,i=0;i<n.length;i++){var a=n[i];if(l(t,a))break;r.isTag(a)&&r.getName(a)===r.getName(t)&&o++}return s(o)&&e(t)}},"nth-last-of-type":function(e,t,n){var r=n.adapter,l=n.equals,s=(0,o.default)(t);return s===i.default.falseFunc?i.default.falseFunc:s===i.default.trueFunc?a(e,r):function(t){for(var n=r.getSiblings(t),o=0,i=n.length-1;i>=0;i--){var a=n[i];if(l(t,a))break;r.isTag(a)&&r.getName(a)===r.getName(t)&&o++}return s(o)&&e(t)}},root:function(e,t,n){var r=n.adapter;return function(t){var n=r.getParent(t);return(null==n||!r.isTag(n))&&e(t)}},scope:function(e,n,r,o){var i=r.equals;return o&&0!==o.length?1===o.length?function(t){return i(o[0],t)&&e(t)}:function(t){return o.includes(t)&&e(t)}:t.filters.root(e,n,r)},hover:l("isHovered"),visited:l("isVisited"),active:l("isActive")}},7466:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.compilePseudoSelector=t.aliases=t.pseudos=t.filters=void 0;var r=n(3658),o=n(4449);Object.defineProperty(t,"filters",{enumerable:!0,get:function(){return o.filters}});var i=n(8702);Object.defineProperty(t,"pseudos",{enumerable:!0,get:function(){return i.pseudos}});var a=n(4169);Object.defineProperty(t,"aliases",{enumerable:!0,get:function(){return a.aliases}});var l=n(3973);t.compilePseudoSelector=function(e,t,n,s,u){var c,d=t.name,f=t.data;if(Array.isArray(f)){if(!(d in l.subselects))throw new Error("Unknown pseudo-class :".concat(d,"(").concat(f,")"));return l.subselects[d](e,f,n,s,u)}var p=null===(c=n.pseudos)||void 0===c?void 0:c[d],h="string"==typeof p?p:a.aliases[d];if("string"==typeof h){if(null!=f)throw new Error("Pseudo ".concat(d," doesn't have any arguments"));var g=(0,r.parse)(h);return l.subselects.is(e,g,n,s,u)}if("function"==typeof p)return(0,i.verifyPseudoArgs)(p,d,f,1),function(t){return p(t,f)&&e(t)};if(d in o.filters)return o.filters[d](e,f,n,s);if(d in i.pseudos){var m=i.pseudos[d];return(0,i.verifyPseudoArgs)(m,d,f,2),function(t){return m(t,n,f)&&e(t)}}throw new Error("Unknown pseudo-class :".concat(d))}},8702:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.verifyPseudoArgs=t.pseudos=void 0,t.pseudos={empty:function(e,t){var n=t.adapter;return!n.getChildren(e).some((function(e){return n.isTag(e)||""!==n.getText(e)}))},"first-child":function(e,t){var n=t.adapter,r=t.equals;if(n.prevElementSibling)return null==n.prevElementSibling(e);var o=n.getSiblings(e).find((function(e){return n.isTag(e)}));return null!=o&&r(e,o)},"last-child":function(e,t){for(var n=t.adapter,r=t.equals,o=n.getSiblings(e),i=o.length-1;i>=0;i--){if(r(e,o[i]))return!0;if(n.isTag(o[i]))break}return!1},"first-of-type":function(e,t){for(var n=t.adapter,r=t.equals,o=n.getSiblings(e),i=n.getName(e),a=0;a<o.length;a++){var l=o[a];if(r(e,l))return!0;if(n.isTag(l)&&n.getName(l)===i)break}return!1},"last-of-type":function(e,t){for(var n=t.adapter,r=t.equals,o=n.getSiblings(e),i=n.getName(e),a=o.length-1;a>=0;a--){var l=o[a];if(r(e,l))return!0;if(n.isTag(l)&&n.getName(l)===i)break}return!1},"only-of-type":function(e,t){var n=t.adapter,r=t.equals,o=n.getName(e);return n.getSiblings(e).every((function(t){return r(e,t)||!n.isTag(t)||n.getName(t)!==o}))},"only-child":function(e,t){var n=t.adapter,r=t.equals;return n.getSiblings(e).every((function(t){return r(e,t)||!n.isTag(t)}))}},t.verifyPseudoArgs=function(e,t,n,r){if(null===n){if(e.length>r)throw new Error("Pseudo-class :".concat(t," requires an argument"))}else if(e.length===r)throw new Error("Pseudo-class :".concat(t," doesn't have any arguments"))}},3973:function(e,t,n){"use strict";var r=this&&this.__spreadArray||function(e,t,n){if(n||2===arguments.length)for(var r,o=0,i=t.length;o<i;o++)!r&&o in t||(r||(r=Array.prototype.slice.call(t,0,o)),r[o]=t[o]);return e.concat(r||Array.prototype.slice.call(t))},o=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.subselects=t.getNextSiblings=t.ensureIsTag=t.PLACEHOLDER_ELEMENT=void 0;var i=o(n(1365)),a=n(3055);function l(e,t){return e===i.default.falseFunc?i.default.falseFunc:function(n){return t.isTag(n)&&e(n)}}function s(e,t){var n=t.getSiblings(e);if(n.length<=1)return[];var r=n.indexOf(e);return r<0||r===n.length-1?[]:n.slice(r+1).filter(t.isTag)}function u(e){return{xmlMode:!!e.xmlMode,lowerCaseAttributeNames:!!e.lowerCaseAttributeNames,lowerCaseTags:!!e.lowerCaseTags,quirksMode:!!e.quirksMode,cacheResults:!!e.cacheResults,pseudos:e.pseudos,adapter:e.adapter,equals:e.equals}}t.PLACEHOLDER_ELEMENT={},t.ensureIsTag=l,t.getNextSiblings=s;var c=function(e,t,n,r,o){var a=o(t,u(n),r);return a===i.default.trueFunc?e:a===i.default.falseFunc?i.default.falseFunc:function(t){return a(t)&&e(t)}};t.subselects={is:c,matches:c,where:c,not:function(e,t,n,r,o){var a=o(t,u(n),r);return a===i.default.falseFunc?e:a===i.default.trueFunc?i.default.falseFunc:function(t){return!a(t)&&e(t)}},has:function(e,n,o,c,d){var f=o.adapter,p=u(o);p.relativeSelector=!0;var h=n.some((function(e){return e.some(a.isTraversal)}))?[t.PLACEHOLDER_ELEMENT]:void 0,g=d(n,p,h);if(g===i.default.falseFunc)return i.default.falseFunc;var m=l(g,f);if(h&&g!==i.default.trueFunc){var v=g.shouldTestNextSiblings,b=void 0!==v&&v;return function(t){if(!e(t))return!1;h[0]=t;var n=f.getChildren(t),o=b?r(r([],n,!0),s(t,f),!0):n;return f.existsOne(m,o)}}return function(t){return e(t)&&f.existsOne(m,f.getChildren(t))}}}},3055:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isTraversal=void 0;var r=n(3658),o=new Map([[r.SelectorType.Universal,50],[r.SelectorType.Tag,30],[r.SelectorType.Attribute,1],[r.SelectorType.Pseudo,0]]);t.isTraversal=function(e){return!o.has(e.type)};var i=new Map([[r.AttributeAction.Exists,10],[r.AttributeAction.Equals,8],[r.AttributeAction.Not,7],[r.AttributeAction.Start,6],[r.AttributeAction.End,6],[r.AttributeAction.Any,5]]);function a(e){var t,n,l=null!==(t=o.get(e.type))&&void 0!==t?t:-1;return e.type===r.SelectorType.Attribute?(l=null!==(n=i.get(e.action))&&void 0!==n?n:4,e.action===r.AttributeAction.Equals&&"id"===e.name&&(l=9),e.ignoreCase&&(l>>=1)):e.type===r.SelectorType.Pseudo&&(e.data?"has"===e.name||"contains"===e.name?l=0:Array.isArray(e.data)?(l=Math.min.apply(Math,e.data.map((function(e){return Math.min.apply(Math,e.map(a))}))))<0&&(l=0):l=2:l=3),l}t.default=function(e){for(var t=e.map(a),n=1;n<e.length;n++){var r=t[n];if(!(r<0))for(var o=n-1;o>=0&&r<t[o];o--){var i=e[o+1];e[o+1]=e[o],e[o]=i,t[o+1]=t[o],t[o]=r}}}},4932:(e,t)=>{"use strict";var n;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"}(n=t.ElementType||(t.ElementType={})),t.isTag=function(e){return e.type===n.Tag||e.type===n.Script||e.type===n.Style},t.Root=n.Root,t.Text=n.Text,t.Directive=n.Directive,t.Comment=n.Comment,t.Script=n.Script,t.Style=n.Style,t.Tag=n.Tag,t.CDATA=n.CDATA,t.Doctype=n.Doctype},2465:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getFeed=void 0;var r=n(2849),o=n(4420);t.getFeed=function(e){var t=s(d,e);return t?"feed"===t.name?function(e){var t,n=e.children,r={type:"atom",items:(0,o.getElementsByTagName)("entry",n).map((function(e){var t,n=e.children,r={media:l(n)};c(r,"id","id",n),c(r,"title","title",n);var o=null===(t=s("link",n))||void 0===t?void 0:t.attribs.href;o&&(r.link=o);var i=u("summary",n)||u("content",n);i&&(r.description=i);var a=u("updated",n);return a&&(r.pubDate=new Date(a)),r}))};c(r,"id","id",n),c(r,"title","title",n);var i=null===(t=s("link",n))||void 0===t?void 0:t.attribs.href;i&&(r.link=i),c(r,"description","subtitle",n);var a=u("updated",n);return a&&(r.updated=new Date(a)),c(r,"author","email",n,!0),r}(t):function(e){var t,n,r=null!==(n=null===(t=s("channel",e.children))||void 0===t?void 0:t.children)&&void 0!==n?n:[],i={type:e.name.substr(0,3),id:"",items:(0,o.getElementsByTagName)("item",e.children).map((function(e){var t=e.children,n={media:l(t)};c(n,"id","guid",t),c(n,"title","title",t),c(n,"link","link",t),c(n,"description","description",t);var r=u("pubDate",t);return r&&(n.pubDate=new Date(r)),n}))};c(i,"title","title",r),c(i,"link","link",r),c(i,"description","description",r);var a=u("lastBuildDate",r);return a&&(i.updated=new Date(a)),c(i,"author","managingEditor",r,!0),i}(t):null};var i=["url","type","lang"],a=["fileSize","bitrate","framerate","samplingrate","channels","duration","height","width"];function l(e){return(0,o.getElementsByTagName)("media:content",e).map((function(e){for(var t=e.attribs,n={medium:t.medium,isDefault:!!t.isDefault},r=0,o=i;r<o.length;r++)t[u=o[r]]&&(n[u]=t[u]);for(var l=0,s=a;l<s.length;l++){var u;t[u=s[l]]&&(n[u]=parseInt(t[u],10))}return t.expression&&(n.expression=t.expression),n}))}function s(e,t){return(0,o.getElementsByTagName)(e,t,!0,1)[0]}function u(e,t,n){return void 0===n&&(n=!1),(0,r.textContent)((0,o.getElementsByTagName)(e,t,n,1)).trim()}function c(e,t,n,r,o){void 0===o&&(o=!1);var i=u(n,r,o);i&&(e[t]=i)}function d(e){return"rss"===e||"feed"===e||"rdf:RDF"===e}},765:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.uniqueSort=t.compareDocumentPosition=t.DocumentPosition=t.removeSubsets=void 0;var r,o=n(9959);function i(e,t){var n=[],i=[];if(e===t)return 0;for(var a=(0,o.hasChildren)(e)?e:e.parent;a;)n.unshift(a),a=a.parent;for(a=(0,o.hasChildren)(t)?t:t.parent;a;)i.unshift(a),a=a.parent;for(var l=Math.min(n.length,i.length),s=0;s<l&&n[s]===i[s];)s++;if(0===s)return r.DISCONNECTED;var u=n[s-1],c=u.children,d=n[s],f=i[s];return c.indexOf(d)>c.indexOf(f)?u===t?r.FOLLOWING|r.CONTAINED_BY:r.FOLLOWING:u===e?r.PRECEDING|r.CONTAINS:r.PRECEDING}t.removeSubsets=function(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);else for(var r=n.parent;r;r=r.parent)if(e.includes(r)){e.splice(t,1);break}}return e},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=t.DocumentPosition||(t.DocumentPosition={})),t.compareDocumentPosition=i,t.uniqueSort=function(e){return(e=e.filter((function(e,t,n){return!n.includes(e,t+1)}))).sort((function(e,t){var n=i(e,t);return n&r.PRECEDING?-1:n&r.FOLLOWING?1:0})),e}},3926:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var o=Object.getOwnPropertyDescriptor(t,n);o&&!("get"in o?!t.__esModule:o.writable||o.configurable)||(o={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,o)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),o=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||r(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),t.hasChildren=t.isDocument=t.isComment=t.isText=t.isCDATA=t.isTag=void 0,o(n(2849),t),o(n(8861),t),o(n(6860),t),o(n(5358),t),o(n(4420),t),o(n(765),t),o(n(2465),t);var i=n(9959);Object.defineProperty(t,"isTag",{enumerable:!0,get:function(){return i.isTag}}),Object.defineProperty(t,"isCDATA",{enumerable:!0,get:function(){return i.isCDATA}}),Object.defineProperty(t,"isText",{enumerable:!0,get:function(){return i.isText}}),Object.defineProperty(t,"isComment",{enumerable:!0,get:function(){return i.isComment}}),Object.defineProperty(t,"isDocument",{enumerable:!0,get:function(){return i.isDocument}}),Object.defineProperty(t,"hasChildren",{enumerable:!0,get:function(){return i.hasChildren}})},4420:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getElementsByTagType=t.getElementsByTagName=t.getElementById=t.getElements=t.testElement=void 0;var r=n(9959),o=n(5358),i={tag_name:function(e){return"function"==typeof e?function(t){return(0,r.isTag)(t)&&e(t.name)}:"*"===e?r.isTag:function(t){return(0,r.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,r.isText)(t)&&e(t.data)}:function(t){return(0,r.isText)(t)&&t.data===e}}};function a(e,t){return"function"==typeof t?function(n){return(0,r.isTag)(n)&&t(n.attribs[e])}:function(n){return(0,r.isTag)(n)&&n.attribs[e]===t}}function l(e,t){return function(n){return e(n)||t(n)}}function s(e){var t=Object.keys(e).map((function(t){var n=e[t];return Object.prototype.hasOwnProperty.call(i,t)?i[t](n):a(t,n)}));return 0===t.length?null:t.reduce(l)}t.testElement=function(e,t){var n=s(e);return!n||n(t)},t.getElements=function(e,t,n,r){void 0===r&&(r=1/0);var i=s(e);return i?(0,o.filter)(i,t,n,r):[]},t.getElementById=function(e,t,n){return void 0===n&&(n=!0),Array.isArray(t)||(t=[t]),(0,o.findOne)(a("id",e),t,n)},t.getElementsByTagName=function(e,t,n,r){return void 0===n&&(n=!0),void 0===r&&(r=1/0),(0,o.filter)(i.tag_name(e),t,n,r)},t.getElementsByTagType=function(e,t,n,r){return void 0===n&&(n=!0),void 0===r&&(r=1/0),(0,o.filter)(i.tag_type(e),t,n,r)}},6860:(e,t)=>{"use strict";function n(e){if(e.prev&&(e.prev.next=e.next),e.next&&(e.next.prev=e.prev),e.parent){var t=e.parent.children;t.splice(t.lastIndexOf(e),1)}}Object.defineProperty(t,"__esModule",{value:!0}),t.prepend=t.prependChild=t.append=t.appendChild=t.replaceElement=t.removeElement=void 0,t.removeElement=n,t.replaceElement=function(e,t){var n=t.prev=e.prev;n&&(n.next=t);var r=t.next=e.next;r&&(r.prev=t);var o=t.parent=e.parent;if(o){var i=o.children;i[i.lastIndexOf(e)]=t,e.parent=null}},t.appendChild=function(e,t){if(n(t),t.next=null,t.parent=e,e.children.push(t)>1){var r=e.children[e.children.length-2];r.next=t,t.prev=r}else t.prev=null},t.append=function(e,t){n(t);var r=e.parent,o=e.next;if(t.next=o,t.prev=e,e.next=t,t.parent=r,o){if(o.prev=t,r){var i=r.children;i.splice(i.lastIndexOf(o),0,t)}}else r&&r.children.push(t)},t.prependChild=function(e,t){if(n(t),t.parent=e,t.prev=null,1!==e.children.unshift(t)){var r=e.children[1];r.prev=t,t.next=r}else t.next=null},t.prepend=function(e,t){n(t);var r=e.parent;if(r){var o=r.children;o.splice(o.indexOf(e),0,t)}e.prev&&(e.prev.next=t),t.parent=r,t.prev=e.prev,t.next=e,e.prev=t}},5358:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.findAll=t.existsOne=t.findOne=t.findOneChild=t.find=t.filter=void 0;var r=n(9959);function o(e,t,n,i){for(var a=[],l=0,s=t;l<s.length;l++){var u=s[l];if(e(u)&&(a.push(u),--i<=0))break;if(n&&(0,r.hasChildren)(u)&&u.children.length>0){var c=o(e,u.children,n,i);if(a.push.apply(a,c),(i-=c.length)<=0)break}}return a}t.filter=function(e,t,n,r){return void 0===n&&(n=!0),void 0===r&&(r=1/0),Array.isArray(t)||(t=[t]),o(e,t,n,r)},t.find=o,t.findOneChild=function(e,t){return t.find(e)},t.findOne=function e(t,n,o){void 0===o&&(o=!0);for(var i=null,a=0;a<n.length&&!i;a++){var l=n[a];(0,r.isTag)(l)&&(t(l)?i=l:o&&l.children.length>0&&(i=e(t,l.children,!0)))}return i},t.existsOne=function e(t,n){return n.some((function(n){return(0,r.isTag)(n)&&(t(n)||n.children.length>0&&e(t,n.children))}))},t.findAll=function(e,t){for(var n,o,i=[],a=t.filter(r.isTag);o=a.shift();){var l=null===(n=o.children)||void 0===n?void 0:n.filter(r.isTag);l&&l.length>0&&a.unshift.apply(a,l),e(o)&&i.push(o)}return i}},2849:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.innerText=t.textContent=t.getText=t.getInnerHTML=t.getOuterHTML=void 0;var o=n(9959),i=r(n(606)),a=n(4932);function l(e,t){return(0,i.default)(e,t)}t.getOuterHTML=l,t.getInnerHTML=function(e,t){return(0,o.hasChildren)(e)?e.children.map((function(e){return l(e,t)})).join(""):""},t.getText=function e(t){return Array.isArray(t)?t.map(e).join(""):(0,o.isTag)(t)?"br"===t.name?"\n":e(t.children):(0,o.isCDATA)(t)?e(t.children):(0,o.isText)(t)?t.data:""},t.textContent=function e(t){return Array.isArray(t)?t.map(e).join(""):(0,o.hasChildren)(t)&&!(0,o.isComment)(t)?e(t.children):(0,o.isText)(t)?t.data:""},t.innerText=function e(t){return Array.isArray(t)?t.map(e).join(""):(0,o.hasChildren)(t)&&(t.type===a.ElementType.Tag||(0,o.isCDATA)(t))?e(t.children):(0,o.isText)(t)?t.data:""}},8861:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.prevElementSibling=t.nextElementSibling=t.getName=t.hasAttrib=t.getAttributeValue=t.getSiblings=t.getParent=t.getChildren=void 0;var r=n(9959);function o(e){return(0,r.hasChildren)(e)?e.children:[]}function i(e){return e.parent||null}t.getChildren=o,t.getParent=i,t.getSiblings=function(e){var t=i(e);if(null!=t)return o(t);for(var n=[e],r=e.prev,a=e.next;null!=r;)n.unshift(r),r=r.prev;for(;null!=a;)n.push(a),a=a.next;return n},t.getAttributeValue=function(e,t){var n;return null===(n=e.attribs)||void 0===n?void 0:n[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,r.isTag)(t);)t=t.next;return t},t.prevElementSibling=function(e){for(var t=e.prev;null!==t&&!(0,r.isTag)(t);)t=t.prev;return t}},3658:(e,t,n)=>{"use strict";var r;n.r(t),n.d(t,{AttributeAction:()=>i,IgnoreCaseMode:()=>o,SelectorType:()=>r,isTraversal:()=>c,parse:()=>m,stringify:()=>E}),function(e){e.Attribute="attribute",e.Pseudo="pseudo",e.PseudoElement="pseudo-element",e.Tag="tag",e.Universal="universal",e.Adjacent="adjacent",e.Child="child",e.Descendant="descendant",e.Parent="parent",e.Sibling="sibling",e.ColumnCombinator="column-combinator"}(r||(r={}));const o={Unknown:null,QuirksMode:"quirks",IgnoreCase:!0,CaseSensitive:!1};var i;!function(e){e.Any="any",e.Element="element",e.End="end",e.Equals="equals",e.Exists="exists",e.Hyphen="hyphen",e.Not="not",e.Start="start"}(i||(i={}));const a=/^[^\\#]?(?:\\(?:[\da-f]{1,6}\s?|.)|[\w\-\u00b0-\uFFFF])+/,l=/\\([\da-f]{1,6}\s?|(\s)|.)/gi,s=new Map([[126,i.Element],[94,i.Start],[36,i.End],[42,i.Any],[33,i.Not],[124,i.Hyphen]]),u=new Set(["has","not","matches","is","where","host","host-context"]);function c(e){switch(e.type){case r.Adjacent:case r.Child:case r.Descendant:case r.Parent:case r.Sibling:case r.ColumnCombinator:return!0;default:return!1}}const d=new Set(["contains","icontains"]);function f(e,t,n){const r=parseInt(t,16)-65536;return r!=r||n?t:r<0?String.fromCharCode(r+65536):String.fromCharCode(r>>10|55296,1023&r|56320)}function p(e){return e.replace(l,f)}function h(e){return 39===e||34===e}function g(e){return 32===e||9===e||10===e||12===e||13===e}function m(e){const t=[],n=v(t,`${e}`,0);if(n<e.length)throw new Error(`Unmatched selector: ${e.slice(n)}`);return t}function v(e,t,n){let o=[];function l(e){const r=t.slice(n+e).match(a);if(!r)throw new Error(`Expected name, found ${t.slice(n)}`);const[o]=r;return n+=e+o.length,p(o)}function f(e){for(n+=e;n<t.length&&g(t.charCodeAt(n));)n++}function m(){const e=n+=1;let r=1;for(;r>0&&n<t.length;n++)40!==t.charCodeAt(n)||b(n)?41!==t.charCodeAt(n)||b(n)||r--:r++;if(r)throw new Error("Parenthesis not matched");return p(t.slice(e,n-1))}function b(e){let n=0;for(;92===t.charCodeAt(--e);)n++;return 1==(1&n)}function y(){if(o.length>0&&c(o[o.length-1]))throw new Error("Did not expect successive traversals.")}function A(e){o.length>0&&o[o.length-1].type===r.Descendant?o[o.length-1].type=e:(y(),o.push({type:e}))}function w(e,t){o.push({type:r.Attribute,name:e,action:t,value:l(1),namespace:null,ignoreCase:"quirks"})}function x(){if(o.length&&o[o.length-1].type===r.Descendant&&o.pop(),0===o.length)throw new Error("Empty sub-selector");e.push(o)}if(f(0),t.length===n)return n;e:for(;n<t.length;){const e=t.charCodeAt(n);switch(e){case 32:case 9:case 10:case 12:case 13:0!==o.length&&o[0].type===r.Descendant||(y(),o.push({type:r.Descendant})),f(1);break;case 62:A(r.Child),f(1);break;case 60:A(r.Parent),f(1);break;case 126:A(r.Sibling),f(1);break;case 43:A(r.Adjacent),f(1);break;case 46:w("class",i.Element);break;case 35:w("id",i.Equals);break;case 91:{let e;f(1);let a=null;124===t.charCodeAt(n)?e=l(1):t.startsWith("*|",n)?(a="*",e=l(2)):(e=l(0),124===t.charCodeAt(n)&&61!==t.charCodeAt(n+1)&&(a=e,e=l(1))),f(0);let u=i.Exists;const c=s.get(t.charCodeAt(n));if(c){if(u=c,61!==t.charCodeAt(n+1))throw new Error("Expected `=`");f(2)}else 61===t.charCodeAt(n)&&(u=i.Equals,f(1));let d="",m=null;if("exists"!==u){if(h(t.charCodeAt(n))){const e=t.charCodeAt(n);let r=n+1;for(;r<t.length&&(t.charCodeAt(r)!==e||b(r));)r+=1;if(t.charCodeAt(r)!==e)throw new Error("Attribute value didn't end");d=p(t.slice(n+1,r)),n=r+1}else{const e=n;for(;n<t.length&&(!g(t.charCodeAt(n))&&93!==t.charCodeAt(n)||b(n));)n+=1;d=p(t.slice(e,n))}f(0);const e=32|t.charCodeAt(n);115===e?(m=!1,f(1)):105===e&&(m=!0,f(1))}if(93!==t.charCodeAt(n))throw new Error("Attribute selector didn't terminate");n+=1;const v={type:r.Attribute,name:e,action:u,value:d,namespace:a,ignoreCase:m};o.push(v);break}case 58:{if(58===t.charCodeAt(n+1)){o.push({type:r.PseudoElement,name:l(2).toLowerCase(),data:40===t.charCodeAt(n)?m():null});continue}const e=l(1).toLowerCase();let i=null;if(40===t.charCodeAt(n))if(u.has(e)){if(h(t.charCodeAt(n+1)))throw new Error(`Pseudo-selector ${e} cannot be quoted`);if(i=[],n=v(i,t,n+1),41!==t.charCodeAt(n))throw new Error(`Missing closing parenthesis in :${e} (${t})`);n+=1}else{if(i=m(),d.has(e)){const e=i.charCodeAt(0);e===i.charCodeAt(i.length-1)&&h(e)&&(i=i.slice(1,-1))}i=p(i)}o.push({type:r.Pseudo,name:e,data:i});break}case 44:x(),o=[],f(1);break;default:{if(t.startsWith("/*",n)){const e=t.indexOf("*/",n+2);if(e<0)throw new Error("Comment was not terminated");n=e+2,0===o.length&&f(0);break}let i,s=null;if(42===e)n+=1,i="*";else if(124===e){if(i="",124===t.charCodeAt(n+1)){A(r.ColumnCombinator),f(2);break}}else{if(!a.test(t.slice(n)))break e;i=l(0)}124===t.charCodeAt(n)&&124!==t.charCodeAt(n+1)&&(s=i,42===t.charCodeAt(n+1)?(i="*",n+=2):i=l(1)),o.push("*"===i?{type:r.Universal,namespace:s}:{type:r.Tag,name:i,namespace:s})}}}return x(),n}const b=["\\",'"'],y=[...b,"(",")"],A=new Set(b.map((e=>e.charCodeAt(0)))),w=new Set(y.map((e=>e.charCodeAt(0)))),x=new Set([...y,"~","^","$","*","+","!","|",":","[","]"," ","."].map((e=>e.charCodeAt(0))));function E(e){return e.map((e=>e.map(k).join(""))).join(", ")}function k(e,t,n){switch(e.type){case r.Child:return 0===t?"> ":" > ";case r.Parent:return 0===t?"< ":" < ";case r.Sibling:return 0===t?"~ ":" ~ ";case r.Adjacent:return 0===t?"+ ":" + ";case r.Descendant:return" ";case r.ColumnCombinator:return 0===t?"|| ":" || ";case r.Universal:return"*"===e.namespace&&t+1<n.length&&"name"in n[t+1]?"":`${_(e.namespace)}*`;case r.Tag:return S(e);case r.PseudoElement:return`::${C(e.name,x)}${null===e.data?"":`(${C(e.data,w)})`}`;case r.Pseudo:return`:${C(e.name,x)}${null===e.data?"":`(${"string"==typeof e.data?C(e.data,w):E(e.data)})`}`;case r.Attribute:{if("id"===e.name&&e.action===i.Equals&&"quirks"===e.ignoreCase&&!e.namespace)return`#${C(e.value,x)}`;if("class"===e.name&&e.action===i.Element&&"quirks"===e.ignoreCase&&!e.namespace)return`.${C(e.value,x)}`;const t=S(e);return e.action===i.Exists?`[${t}]`:`[${t}${function(e){switch(e){case i.Equals:return"";case i.Element:return"~";case i.Start:return"^";case i.End:return"$";case i.Any:return"*";case i.Not:return"!";case i.Hyphen:return"|";case i.Exists:throw new Error("Shouldn't be here")}}(e.action)}="${C(e.value,A)}"${null===e.ignoreCase?"":e.ignoreCase?" i":" s"}]`}}}function S(e){return`${_(e.namespace)}${C(e.name,x)}`}function _(e){return null!==e?`${"*"===e?"*":C(e,x)}|`:""}function C(e,t){let n=0,r="";for(let o=0;o<e.length;o++)t.has(e.charCodeAt(o))&&(r+=`${e.slice(n,o)}\\${e.charAt(o)}`,n=o+1);return r.length>0?r+e.slice(n):e}},1427:e=>{var t=function(){this.Diff_Timeout=1,this.Diff_EditCost=4,this.Match_Threshold=.5,this.Match_Distance=1e3,this.Patch_DeleteThreshold=.5,this.Patch_Margin=4,this.Match_MaxBits=32},n=-1;t.Diff=function(e,t){return[e,t]},t.prototype.diff_main=function(e,n,r,o){void 0===o&&(o=this.Diff_Timeout<=0?Number.MAX_VALUE:(new Date).getTime()+1e3*this.Diff_Timeout);var i=o;if(null==e||null==n)throw new Error("Null input. (diff_main)");if(e==n)return e?[new t.Diff(0,e)]:[];void 0===r&&(r=!0);var a=r,l=this.diff_commonPrefix(e,n),s=e.substring(0,l);e=e.substring(l),n=n.substring(l),l=this.diff_commonSuffix(e,n);var u=e.substring(e.length-l);e=e.substring(0,e.length-l),n=n.substring(0,n.length-l);var c=this.diff_compute_(e,n,a,i);return s&&c.unshift(new t.Diff(0,s)),u&&c.push(new t.Diff(0,u)),this.diff_cleanupMerge(c),c},t.prototype.diff_compute_=function(e,r,o,i){var a;if(!e)return[new t.Diff(1,r)];if(!r)return[new t.Diff(n,e)];var l=e.length>r.length?e:r,s=e.length>r.length?r:e,u=l.indexOf(s);if(-1!=u)return a=[new t.Diff(1,l.substring(0,u)),new t.Diff(0,s),new t.Diff(1,l.substring(u+s.length))],e.length>r.length&&(a[0][0]=a[2][0]=n),a;if(1==s.length)return[new t.Diff(n,e),new t.Diff(1,r)];var c=this.diff_halfMatch_(e,r);if(c){var d=c[0],f=c[1],p=c[2],h=c[3],g=c[4],m=this.diff_main(d,p,o,i),v=this.diff_main(f,h,o,i);return m.concat([new t.Diff(0,g)],v)}return o&&e.length>100&&r.length>100?this.diff_lineMode_(e,r,i):this.diff_bisect_(e,r,i)},t.prototype.diff_lineMode_=function(e,r,o){var i=this.diff_linesToChars_(e,r);e=i.chars1,r=i.chars2;var a=i.lineArray,l=this.diff_main(e,r,!1,o);this.diff_charsToLines_(l,a),this.diff_cleanupSemantic(l),l.push(new t.Diff(0,""));for(var s=0,u=0,c=0,d="",f="";s<l.length;){switch(l[s][0]){case 1:c++,f+=l[s][1];break;case n:u++,d+=l[s][1];break;case 0:if(u>=1&&c>=1){l.splice(s-u-c,u+c),s=s-u-c;for(var p=this.diff_main(d,f,!1,o),h=p.length-1;h>=0;h--)l.splice(s,0,p[h]);s+=p.length}c=0,u=0,d="",f=""}s++}return l.pop(),l},t.prototype.diff_bisect_=function(e,r,o){for(var i=e.length,a=r.length,l=Math.ceil((i+a)/2),s=l,u=2*l,c=new Array(u),d=new Array(u),f=0;f<u;f++)c[f]=-1,d[f]=-1;c[s+1]=0,d[s+1]=0;for(var p=i-a,h=p%2!=0,g=0,m=0,v=0,b=0,y=0;y<l&&!((new Date).getTime()>o);y++){for(var A=-y+g;A<=y-m;A+=2){for(var w=s+A,x=(C=A==-y||A!=y&&c[w-1]<c[w+1]?c[w+1]:c[w-1]+1)-A;C<i&&x<a&&e.charAt(C)==r.charAt(x);)C++,x++;if(c[w]=C,C>i)m+=2;else if(x>a)g+=2;else if(h&&(S=s+p-A)>=0&&S<u&&-1!=d[S]&&C>=(k=i-d[S]))return this.diff_bisectSplit_(e,r,C,x,o)}for(var E=-y+v;E<=y-b;E+=2){for(var k,S=s+E,_=(k=E==-y||E!=y&&d[S-1]<d[S+1]?d[S+1]:d[S-1]+1)-E;k<i&&_<a&&e.charAt(i-k-1)==r.charAt(a-_-1);)k++,_++;if(d[S]=k,k>i)b+=2;else if(_>a)v+=2;else if(!h){var C;if((w=s+p-E)>=0&&w<u&&-1!=c[w])if(x=s+(C=c[w])-w,C>=(k=i-k))return this.diff_bisectSplit_(e,r,C,x,o)}}}return[new t.Diff(n,e),new t.Diff(1,r)]},t.prototype.diff_bisectSplit_=function(e,t,n,r,o){var i=e.substring(0,n),a=t.substring(0,r),l=e.substring(n),s=t.substring(r),u=this.diff_main(i,a,!1,o),c=this.diff_main(l,s,!1,o);return u.concat(c)},t.prototype.diff_linesToChars_=function(e,t){var n=[],r={};function o(e){for(var t="",o=0,a=-1,l=n.length;a<e.length-1;){-1==(a=e.indexOf("\n",o))&&(a=e.length-1);var s=e.substring(o,a+1);(r.hasOwnProperty?r.hasOwnProperty(s):void 0!==r[s])?t+=String.fromCharCode(r[s]):(l==i&&(s=e.substring(o),a=e.length),t+=String.fromCharCode(l),r[s]=l,n[l++]=s),o=a+1}return t}n[0]="";var i=4e4,a=o(e);return i=65535,{chars1:a,chars2:o(t),lineArray:n}},t.prototype.diff_charsToLines_=function(e,t){for(var n=0;n<e.length;n++){for(var r=e[n][1],o=[],i=0;i<r.length;i++)o[i]=t[r.charCodeAt(i)];e[n][1]=o.join("")}},t.prototype.diff_commonPrefix=function(e,t){if(!e||!t||e.charAt(0)!=t.charAt(0))return 0;for(var n=0,r=Math.min(e.length,t.length),o=r,i=0;n<o;)e.substring(i,o)==t.substring(i,o)?i=n=o:r=o,o=Math.floor((r-n)/2+n);return o},t.prototype.diff_commonSuffix=function(e,t){if(!e||!t||e.charAt(e.length-1)!=t.charAt(t.length-1))return 0;for(var n=0,r=Math.min(e.length,t.length),o=r,i=0;n<o;)e.substring(e.length-o,e.length-i)==t.substring(t.length-o,t.length-i)?i=n=o:r=o,o=Math.floor((r-n)/2+n);return o},t.prototype.diff_commonOverlap_=function(e,t){var n=e.length,r=t.length;if(0==n||0==r)return 0;n>r?e=e.substring(n-r):n<r&&(t=t.substring(0,n));var o=Math.min(n,r);if(e==t)return o;for(var i=0,a=1;;){var l=e.substring(o-a),s=t.indexOf(l);if(-1==s)return i;a+=s,0!=s&&e.substring(o-a)!=t.substring(0,a)||(i=a,a++)}},t.prototype.diff_halfMatch_=function(e,t){if(this.Diff_Timeout<=0)return null;var n=e.length>t.length?e:t,r=e.length>t.length?t:e;if(n.length<4||2*r.length<n.length)return null;var o=this;function i(e,t,n){for(var r,i,a,l,s=e.substring(n,n+Math.floor(e.length/4)),u=-1,c="";-1!=(u=t.indexOf(s,u+1));){var d=o.diff_commonPrefix(e.substring(n),t.substring(u)),f=o.diff_commonSuffix(e.substring(0,n),t.substring(0,u));c.length<f+d&&(c=t.substring(u-f,u)+t.substring(u,u+d),r=e.substring(0,n-f),i=e.substring(n+d),a=t.substring(0,u-f),l=t.substring(u+d))}return 2*c.length>=e.length?[r,i,a,l,c]:null}var a,l,s,u,c,d=i(n,r,Math.ceil(n.length/4)),f=i(n,r,Math.ceil(n.length/2));return d||f?(a=f?d&&d[4].length>f[4].length?d:f:d,e.length>t.length?(l=a[0],s=a[1],u=a[2],c=a[3]):(u=a[0],c=a[1],l=a[2],s=a[3]),[l,s,u,c,a[4]]):null},t.prototype.diff_cleanupSemantic=function(e){for(var r=!1,o=[],i=0,a=null,l=0,s=0,u=0,c=0,d=0;l<e.length;)0==e[l][0]?(o[i++]=l,s=c,u=d,c=0,d=0,a=e[l][1]):(1==e[l][0]?c+=e[l][1].length:d+=e[l][1].length,a&&a.length<=Math.max(s,u)&&a.length<=Math.max(c,d)&&(e.splice(o[i-1],0,new t.Diff(n,a)),e[o[i-1]+1][0]=1,i--,l=--i>0?o[i-1]:-1,s=0,u=0,c=0,d=0,a=null,r=!0)),l++;for(r&&this.diff_cleanupMerge(e),this.diff_cleanupSemanticLossless(e),l=1;l<e.length;){if(e[l-1][0]==n&&1==e[l][0]){var f=e[l-1][1],p=e[l][1],h=this.diff_commonOverlap_(f,p),g=this.diff_commonOverlap_(p,f);h>=g?(h>=f.length/2||h>=p.length/2)&&(e.splice(l,0,new t.Diff(0,p.substring(0,h))),e[l-1][1]=f.substring(0,f.length-h),e[l+1][1]=p.substring(h),l++):(g>=f.length/2||g>=p.length/2)&&(e.splice(l,0,new t.Diff(0,f.substring(0,g))),e[l-1][0]=1,e[l-1][1]=p.substring(0,p.length-g),e[l+1][0]=n,e[l+1][1]=f.substring(g),l++),l++}l++}},t.prototype.diff_cleanupSemanticLossless=function(e){function n(e,n){if(!e||!n)return 6;var r=e.charAt(e.length-1),o=n.charAt(0),i=r.match(t.nonAlphaNumericRegex_),a=o.match(t.nonAlphaNumericRegex_),l=i&&r.match(t.whitespaceRegex_),s=a&&o.match(t.whitespaceRegex_),u=l&&r.match(t.linebreakRegex_),c=s&&o.match(t.linebreakRegex_),d=u&&e.match(t.blanklineEndRegex_),f=c&&n.match(t.blanklineStartRegex_);return d||f?5:u||c?4:i&&!l&&s?3:l||s?2:i||a?1:0}for(var r=1;r<e.length-1;){if(0==e[r-1][0]&&0==e[r+1][0]){var o=e[r-1][1],i=e[r][1],a=e[r+1][1],l=this.diff_commonSuffix(o,i);if(l){var s=i.substring(i.length-l);o=o.substring(0,o.length-l),i=s+i.substring(0,i.length-l),a=s+a}for(var u=o,c=i,d=a,f=n(o,i)+n(i,a);i.charAt(0)===a.charAt(0);){o+=i.charAt(0),i=i.substring(1)+a.charAt(0),a=a.substring(1);var p=n(o,i)+n(i,a);p>=f&&(f=p,u=o,c=i,d=a)}e[r-1][1]!=u&&(u?e[r-1][1]=u:(e.splice(r-1,1),r--),e[r][1]=c,d?e[r+1][1]=d:(e.splice(r+1,1),r--))}r++}},t.nonAlphaNumericRegex_=/[^a-zA-Z0-9]/,t.whitespaceRegex_=/\s/,t.linebreakRegex_=/[\r\n]/,t.blanklineEndRegex_=/\n\r?\n$/,t.blanklineStartRegex_=/^\r?\n\r?\n/,t.prototype.diff_cleanupEfficiency=function(e){for(var r=!1,o=[],i=0,a=null,l=0,s=!1,u=!1,c=!1,d=!1;l<e.length;)0==e[l][0]?(e[l][1].length<this.Diff_EditCost&&(c||d)?(o[i++]=l,s=c,u=d,a=e[l][1]):(i=0,a=null),c=d=!1):(e[l][0]==n?d=!0:c=!0,a&&(s&&u&&c&&d||a.length<this.Diff_EditCost/2&&s+u+c+d==3)&&(e.splice(o[i-1],0,new t.Diff(n,a)),e[o[i-1]+1][0]=1,i--,a=null,s&&u?(c=d=!0,i=0):(l=--i>0?o[i-1]:-1,c=d=!1),r=!0)),l++;r&&this.diff_cleanupMerge(e)},t.prototype.diff_cleanupMerge=function(e){e.push(new t.Diff(0,""));for(var r,o=0,i=0,a=0,l="",s="";o<e.length;)switch(e[o][0]){case 1:a++,s+=e[o][1],o++;break;case n:i++,l+=e[o][1],o++;break;case 0:i+a>1?(0!==i&&0!==a&&(0!==(r=this.diff_commonPrefix(s,l))&&(o-i-a>0&&0==e[o-i-a-1][0]?e[o-i-a-1][1]+=s.substring(0,r):(e.splice(0,0,new t.Diff(0,s.substring(0,r))),o++),s=s.substring(r),l=l.substring(r)),0!==(r=this.diff_commonSuffix(s,l))&&(e[o][1]=s.substring(s.length-r)+e[o][1],s=s.substring(0,s.length-r),l=l.substring(0,l.length-r))),o-=i+a,e.splice(o,i+a),l.length&&(e.splice(o,0,new t.Diff(n,l)),o++),s.length&&(e.splice(o,0,new t.Diff(1,s)),o++),o++):0!==o&&0==e[o-1][0]?(e[o-1][1]+=e[o][1],e.splice(o,1)):o++,a=0,i=0,l="",s=""}""===e[e.length-1][1]&&e.pop();var u=!1;for(o=1;o<e.length-1;)0==e[o-1][0]&&0==e[o+1][0]&&(e[o][1].substring(e[o][1].length-e[o-1][1].length)==e[o-1][1]?(e[o][1]=e[o-1][1]+e[o][1].substring(0,e[o][1].length-e[o-1][1].length),e[o+1][1]=e[o-1][1]+e[o+1][1],e.splice(o-1,1),u=!0):e[o][1].substring(0,e[o+1][1].length)==e[o+1][1]&&(e[o-1][1]+=e[o+1][1],e[o][1]=e[o][1].substring(e[o+1][1].length)+e[o+1][1],e.splice(o+1,1),u=!0)),o++;u&&this.diff_cleanupMerge(e)},t.prototype.diff_xIndex=function(e,t){var r,o=0,i=0,a=0,l=0;for(r=0;r<e.length&&(1!==e[r][0]&&(o+=e[r][1].length),e[r][0]!==n&&(i+=e[r][1].length),!(o>t));r++)a=o,l=i;return e.length!=r&&e[r][0]===n?l:l+(t-a)},t.prototype.diff_prettyHtml=function(e){for(var t=[],r=/&/g,o=/</g,i=/>/g,a=/\n/g,l=0;l<e.length;l++){var s=e[l][0],u=e[l][1].replace(r,"&amp;").replace(o,"&lt;").replace(i,"&gt;").replace(a,"&para;<br>");switch(s){case 1:t[l]='<ins style="background:#e6ffe6;">'+u+"</ins>";break;case n:t[l]='<del style="background:#ffe6e6;">'+u+"</del>";break;case 0:t[l]="<span>"+u+"</span>"}}return t.join("")},t.prototype.diff_text1=function(e){for(var t=[],n=0;n<e.length;n++)1!==e[n][0]&&(t[n]=e[n][1]);return t.join("")},t.prototype.diff_text2=function(e){for(var t=[],r=0;r<e.length;r++)e[r][0]!==n&&(t[r]=e[r][1]);return t.join("")},t.prototype.diff_levenshtein=function(e){for(var t=0,r=0,o=0,i=0;i<e.length;i++){var a=e[i][0],l=e[i][1];switch(a){case 1:r+=l.length;break;case n:o+=l.length;break;case 0:t+=Math.max(r,o),r=0,o=0}}return t+Math.max(r,o)},t.prototype.diff_toDelta=function(e){for(var t=[],r=0;r<e.length;r++)switch(e[r][0]){case 1:t[r]="+"+encodeURI(e[r][1]);break;case n:t[r]="-"+e[r][1].length;break;case 0:t[r]="="+e[r][1].length}return t.join("\t").replace(/%20/g," ")},t.prototype.diff_fromDelta=function(e,r){for(var o=[],i=0,a=0,l=r.split(/\t/g),s=0;s<l.length;s++){var u=l[s].substring(1);switch(l[s].charAt(0)){case"+":try{o[i++]=new t.Diff(1,decodeURI(u))}catch(e){throw new Error("Illegal escape in diff_fromDelta: "+u)}break;case"-":case"=":var c=parseInt(u,10);if(isNaN(c)||c<0)throw new Error("Invalid number in diff_fromDelta: "+u);var d=e.substring(a,a+=c);"="==l[s].charAt(0)?o[i++]=new t.Diff(0,d):o[i++]=new t.Diff(n,d);break;default:if(l[s])throw new Error("Invalid diff operation in diff_fromDelta: "+l[s])}}if(a!=e.length)throw new Error("Delta length ("+a+") does not equal source text length ("+e.length+").");return o},t.prototype.match_main=function(e,t,n){if(null==e||null==t||null==n)throw new Error("Null input. (match_main)");return n=Math.max(0,Math.min(n,e.length)),e==t?0:e.length?e.substring(n,n+t.length)==t?n:this.match_bitap_(e,t,n):-1},t.prototype.match_bitap_=function(e,t,n){if(t.length>this.Match_MaxBits)throw new Error("Pattern too long for this browser.");var r=this.match_alphabet_(t),o=this;function i(e,r){var i=e/t.length,a=Math.abs(n-r);return o.Match_Distance?i+a/o.Match_Distance:a?1:i}var a=this.Match_Threshold,l=e.indexOf(t,n);-1!=l&&(a=Math.min(i(0,l),a),-1!=(l=e.lastIndexOf(t,n+t.length))&&(a=Math.min(i(0,l),a)));var s,u,c=1<<t.length-1;l=-1;for(var d,f=t.length+e.length,p=0;p<t.length;p++){for(s=0,u=f;s<u;)i(p,n+u)<=a?s=u:f=u,u=Math.floor((f-s)/2+s);f=u;var h=Math.max(1,n-u+1),g=Math.min(n+u,e.length)+t.length,m=Array(g+2);m[g+1]=(1<<p)-1;for(var v=g;v>=h;v--){var b=r[e.charAt(v-1)];if(m[v]=0===p?(m[v+1]<<1|1)&b:(m[v+1]<<1|1)&b|(d[v+1]|d[v])<<1|1|d[v+1],m[v]&c){var y=i(p,v-1);if(y<=a){if(a=y,!((l=v-1)>n))break;h=Math.max(1,2*n-l)}}}if(i(p+1,n)>a)break;d=m}return l},t.prototype.match_alphabet_=function(e){for(var t={},n=0;n<e.length;n++)t[e.charAt(n)]=0;for(n=0;n<e.length;n++)t[e.charAt(n)]|=1<<e.length-n-1;return t},t.prototype.patch_addContext_=function(e,n){if(0!=n.length){if(null===e.start2)throw Error("patch not initialized");for(var r=n.substring(e.start2,e.start2+e.length1),o=0;n.indexOf(r)!=n.lastIndexOf(r)&&r.length<this.Match_MaxBits-this.Patch_Margin-this.Patch_Margin;)o+=this.Patch_Margin,r=n.substring(e.start2-o,e.start2+e.length1+o);o+=this.Patch_Margin;var i=n.substring(e.start2-o,e.start2);i&&e.diffs.unshift(new t.Diff(0,i));var a=n.substring(e.start2+e.length1,e.start2+e.length1+o);a&&e.diffs.push(new t.Diff(0,a)),e.start1-=i.length,e.start2-=i.length,e.length1+=i.length+a.length,e.length2+=i.length+a.length}},t.prototype.patch_make=function(e,r,o){var i,a;if("string"==typeof e&&"string"==typeof r&&void 0===o)i=e,(a=this.diff_main(i,r,!0)).length>2&&(this.diff_cleanupSemantic(a),this.diff_cleanupEfficiency(a));else if(e&&"object"==typeof e&&void 0===r&&void 0===o)a=e,i=this.diff_text1(a);else if("string"==typeof e&&r&&"object"==typeof r&&void 0===o)i=e,a=r;else{if("string"!=typeof e||"string"!=typeof r||!o||"object"!=typeof o)throw new Error("Unknown call format to patch_make.");i=e,a=o}if(0===a.length)return[];for(var l=[],s=new t.patch_obj,u=0,c=0,d=0,f=i,p=i,h=0;h<a.length;h++){var g=a[h][0],m=a[h][1];switch(u||0===g||(s.start1=c,s.start2=d),g){case 1:s.diffs[u++]=a[h],s.length2+=m.length,p=p.substring(0,d)+m+p.substring(d);break;case n:s.length1+=m.length,s.diffs[u++]=a[h],p=p.substring(0,d)+p.substring(d+m.length);break;case 0:m.length<=2*this.Patch_Margin&&u&&a.length!=h+1?(s.diffs[u++]=a[h],s.length1+=m.length,s.length2+=m.length):m.length>=2*this.Patch_Margin&&u&&(this.patch_addContext_(s,f),l.push(s),s=new t.patch_obj,u=0,f=p,c=d)}1!==g&&(c+=m.length),g!==n&&(d+=m.length)}return u&&(this.patch_addContext_(s,f),l.push(s)),l},t.prototype.patch_deepCopy=function(e){for(var n=[],r=0;r<e.length;r++){var o=e[r],i=new t.patch_obj;i.diffs=[];for(var a=0;a<o.diffs.length;a++)i.diffs[a]=new t.Diff(o.diffs[a][0],o.diffs[a][1]);i.start1=o.start1,i.start2=o.start2,i.length1=o.length1,i.length2=o.length2,n[r]=i}return n},t.prototype.patch_apply=function(e,t){if(0==e.length)return[t,[]];e=this.patch_deepCopy(e);var r=this.patch_addPadding(e);t=r+t+r,this.patch_splitMax(e);for(var o=0,i=[],a=0;a<e.length;a++){var l,s,u=e[a].start2+o,c=this.diff_text1(e[a].diffs),d=-1;if(c.length>this.Match_MaxBits?-1!=(l=this.match_main(t,c.substring(0,this.Match_MaxBits),u))&&(-1==(d=this.match_main(t,c.substring(c.length-this.Match_MaxBits),u+c.length-this.Match_MaxBits))||l>=d)&&(l=-1):l=this.match_main(t,c,u),-1==l)i[a]=!1,o-=e[a].length2-e[a].length1;else if(i[a]=!0,o=l-u,c==(s=-1==d?t.substring(l,l+c.length):t.substring(l,d+this.Match_MaxBits)))t=t.substring(0,l)+this.diff_text2(e[a].diffs)+t.substring(l+c.length);else{var f=this.diff_main(c,s,!1);if(c.length>this.Match_MaxBits&&this.diff_levenshtein(f)/c.length>this.Patch_DeleteThreshold)i[a]=!1;else{this.diff_cleanupSemanticLossless(f);for(var p,h=0,g=0;g<e[a].diffs.length;g++){var m=e[a].diffs[g];0!==m[0]&&(p=this.diff_xIndex(f,h)),1===m[0]?t=t.substring(0,l+p)+m[1]+t.substring(l+p):m[0]===n&&(t=t.substring(0,l+p)+t.substring(l+this.diff_xIndex(f,h+m[1].length))),m[0]!==n&&(h+=m[1].length)}}}}return[t=t.substring(r.length,t.length-r.length),i]},t.prototype.patch_addPadding=function(e){for(var n=this.Patch_Margin,r="",o=1;o<=n;o++)r+=String.fromCharCode(o);for(o=0;o<e.length;o++)e[o].start1+=n,e[o].start2+=n;var i=e[0],a=i.diffs;if(0==a.length||0!=a[0][0])a.unshift(new t.Diff(0,r)),i.start1-=n,i.start2-=n,i.length1+=n,i.length2+=n;else if(n>a[0][1].length){var l=n-a[0][1].length;a[0][1]=r.substring(a[0][1].length)+a[0][1],i.start1-=l,i.start2-=l,i.length1+=l,i.length2+=l}return 0==(a=(i=e[e.length-1]).diffs).length||0!=a[a.length-1][0]?(a.push(new t.Diff(0,r)),i.length1+=n,i.length2+=n):n>a[a.length-1][1].length&&(l=n-a[a.length-1][1].length,a[a.length-1][1]+=r.substring(0,l),i.length1+=l,i.length2+=l),r},t.prototype.patch_splitMax=function(e){for(var r=this.Match_MaxBits,o=0;o<e.length;o++)if(!(e[o].length1<=r)){var i=e[o];e.splice(o--,1);for(var a=i.start1,l=i.start2,s="";0!==i.diffs.length;){var u=new t.patch_obj,c=!0;for(u.start1=a-s.length,u.start2=l-s.length,""!==s&&(u.length1=u.length2=s.length,u.diffs.push(new t.Diff(0,s)));0!==i.diffs.length&&u.length1<r-this.Patch_Margin;){var d=i.diffs[0][0],f=i.diffs[0][1];1===d?(u.length2+=f.length,l+=f.length,u.diffs.push(i.diffs.shift()),c=!1):d===n&&1==u.diffs.length&&0==u.diffs[0][0]&&f.length>2*r?(u.length1+=f.length,a+=f.length,c=!1,u.diffs.push(new t.Diff(d,f)),i.diffs.shift()):(f=f.substring(0,r-u.length1-this.Patch_Margin),u.length1+=f.length,a+=f.length,0===d?(u.length2+=f.length,l+=f.length):c=!1,u.diffs.push(new t.Diff(d,f)),f==i.diffs[0][1]?i.diffs.shift():i.diffs[0][1]=i.diffs[0][1].substring(f.length))}s=(s=this.diff_text2(u.diffs)).substring(s.length-this.Patch_Margin);var p=this.diff_text1(i.diffs).substring(0,this.Patch_Margin);""!==p&&(u.length1+=p.length,u.length2+=p.length,0!==u.diffs.length&&0===u.diffs[u.diffs.length-1][0]?u.diffs[u.diffs.length-1][1]+=p:u.diffs.push(new t.Diff(0,p))),c||e.splice(++o,0,u)}}},t.prototype.patch_toText=function(e){for(var t=[],n=0;n<e.length;n++)t[n]=e[n];return t.join("")},t.prototype.patch_fromText=function(e){var r=[];if(!e)return r;for(var o=e.split("\n"),i=0,a=/^@@ -(\d+),?(\d*) \+(\d+),?(\d*) @@$/;i<o.length;){var l=o[i].match(a);if(!l)throw new Error("Invalid patch string: "+o[i]);var s=new t.patch_obj;for(r.push(s),s.start1=parseInt(l[1],10),""===l[2]?(s.start1--,s.length1=1):"0"==l[2]?s.length1=0:(s.start1--,s.length1=parseInt(l[2],10)),s.start2=parseInt(l[3],10),""===l[4]?(s.start2--,s.length2=1):"0"==l[4]?s.length2=0:(s.start2--,s.length2=parseInt(l[4],10)),i++;i<o.length;){var u=o[i].charAt(0);try{var c=decodeURI(o[i].substring(1))}catch(e){throw new Error("Illegal escape in patch_fromText: "+c)}if("-"==u)s.diffs.push(new t.Diff(n,c));else if("+"==u)s.diffs.push(new t.Diff(1,c));else if(" "==u)s.diffs.push(new t.Diff(0,c));else{if("@"==u)break;if(""!==u)throw new Error('Invalid patch mode "'+u+'" in: '+c)}i++}}return r},(t.patch_obj=function(){this.diffs=[],this.start1=null,this.start2=null,this.length1=0,this.length2=0}).prototype.toString=function(){for(var e,t=["@@ -"+(0===this.length1?this.start1+",0":1==this.length1?this.start1+1:this.start1+1+","+this.length1)+" +"+(0===this.length2?this.start2+",0":1==this.length2?this.start2+1:this.start2+1+","+this.length2)+" @@\n"],r=0;r<this.diffs.length;r++){switch(this.diffs[r][0]){case 1:e="+";break;case n:e="-";break;case 0:e=" "}t[r+1]=e+encodeURI(this.diffs[r][1])+"\n"}return t.join("").replace(/%20/g," ")},e.exports=t,e.exports.diff_match_patch=t,e.exports.DIFF_DELETE=n,e.exports.DIFF_INSERT=1,e.exports.DIFF_EQUAL=0},6594:(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]})))},606:function(e,t,n){"use strict";var r=this&&this.__assign||function(){return r=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},r.apply(this,arguments)},o=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var o=Object.getOwnPropertyDescriptor(t,n);o&&!("get"in o?!t.__esModule:o.writable||o.configurable)||(o={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,o)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),i=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),a=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)"default"!==n&&Object.prototype.hasOwnProperty.call(e,n)&&o(t,e,n);return i(t,e),t};Object.defineProperty(t,"__esModule",{value:!0}),t.render=void 0;var l=a(n(2679)),s=n(7187),u=n(6594),c=new Set(["style","script","xmp","iframe","noembed","noframes","plaintext","noscript"]);function d(e){return e.replace(/"/g,"&quot;")}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 n=("length"in e?e:[e]),r="",o=0;o<n.length;o++)r+=h(n[o],t);return r}function h(e,t){switch(e.type){case l.Root:return p(e.children,t);case l.Doctype:case l.Directive:return"<".concat(e.data,">");case l.Comment:return"\x3c!--".concat(e.data,"--\x3e");case l.CDATA:return function(e){return"<![CDATA[".concat(e.children[0].data,"]]>")}(e);case l.Script:case l.Style:case l.Tag:return function(e,t){var n;"foreign"===t.xmlMode&&(e.name=null!==(n=u.elementNames.get(e.name))&&void 0!==n?n:e.name,e.parent&&g.has(e.parent.name)&&(t=r(r({},t),{xmlMode:!1}))),!t.xmlMode&&m.has(e.name)&&(t=r(r({},t),{xmlMode:"foreign"}));var o="<".concat(e.name),i=function(e,t){var n;if(e){var r=!1===(null!==(n=t.encodeEntities)&&void 0!==n?n:t.decodeEntities)?d:t.xmlMode||"utf8"!==t.encodeEntities?s.encodeXML:s.escapeAttribute;return Object.keys(e).map((function(n){var o,i,a=null!==(o=e[n])&&void 0!==o?o:"";return"foreign"===t.xmlMode&&(n=null!==(i=u.attributeNames.get(n))&&void 0!==i?i:n),t.emptyAttrs||t.xmlMode||""!==a?"".concat(n,'="').concat(r(a),'"'):n})).join(" ")}}(e.attribs,t);return i&&(o+=" ".concat(i)),0===e.children.length&&(t.xmlMode?!1!==t.selfClosingTags:t.selfClosingTags&&f.has(e.name))?(t.xmlMode||(o+=" "),o+="/>"):(o+=">",e.children.length>0&&(o+=p(e.children,t)),!t.xmlMode&&f.has(e.name)||(o+="</".concat(e.name,">"))),o}(e,t);case l.Text:return function(e,t){var n,r=e.data||"";return!1===(null!==(n=t.encodeEntities)&&void 0!==n?n:t.decodeEntities)||!t.xmlMode&&e.parent&&c.has(e.parent.name)||(r=t.xmlMode||"utf8"!==t.encodeEntities?(0,s.encodeXML)(r):(0,s.escapeText)(r)),r}(e,t)}}t.render=p,t.default=p;var g=new Set(["mi","mo","mn","ms","mtext","annotation-xml","foreignObject","desc","title"]),m=new Set(["svg","math"])},2679:(e,t)=>{"use strict";var n;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"}(n=t.ElementType||(t.ElementType={})),t.isTag=function(e){return e.type===n.Tag||e.type===n.Script||e.type===n.Style},t.Root=n.Root,t.Text=n.Text,t.Directive=n.Directive,t.Comment=n.Comment,t.Script=n.Script,t.Style=n.Style,t.Tag=n.Tag,t.CDATA=n.CDATA,t.Doctype=n.Doctype},6376:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.decodeXML=t.decodeHTMLStrict=t.decodeHTML=t.determineBranch=t.BinTrieFlags=t.fromCodePoint=t.replaceCodePoint=t.decodeCodePoint=t.xmlDecodeTree=t.htmlDecodeTree=void 0;var o=r(n(9419));t.htmlDecodeTree=o.default;var i=r(n(3052));t.xmlDecodeTree=i.default;var a=r(n(7994));t.decodeCodePoint=a.default;var l,s,u=n(7994);function c(e){return function(t,n){for(var r="",o=0,i=0;(i=t.indexOf("&",i))>=0;)if(r+=t.slice(o,i),o=i,i+=1,t.charCodeAt(i)!==l.NUM){for(var u=0,c=1,f=0,p=e[f];i<t.length&&!((f=d(e,p,f+1,t.charCodeAt(i)))<0);i++,c++){var h=(p=e[f])&s.VALUE_LENGTH;if(h){var g;if(n&&t.charCodeAt(i)!==l.SEMI||(u=f,c=0),0==(g=(h>>14)-1))break;f+=g}}0!==u&&(r+=1==(g=(e[u]&s.VALUE_LENGTH)>>14)?String.fromCharCode(e[u]&~s.VALUE_LENGTH):2===g?String.fromCharCode(e[u+1]):String.fromCharCode(e[u+1],e[u+2]),o=i-c+1)}else{var m=i+1,v=10,b=t.charCodeAt(m);(b|l.To_LOWER_BIT)===l.LOWER_X&&(v=16,i+=1,m+=1);do{b=t.charCodeAt(++i)}while(b>=l.ZERO&&b<=l.NINE||16===v&&(b|l.To_LOWER_BIT)>=l.LOWER_A&&(b|l.To_LOWER_BIT)<=l.LOWER_F);if(m!==i){var y=t.substring(m,i),A=parseInt(y,v);if(t.charCodeAt(i)===l.SEMI)i+=1;else if(n)continue;r+=(0,a.default)(A),o=i}}return r+t.slice(o)}}function d(e,t,n,r){var o=(t&s.BRANCH_LENGTH)>>7,i=t&s.JUMP_TABLE;if(0===o)return 0!==i&&r===i?n:-1;if(i){var a=r-i;return a<0||a>o?-1:e[n+a]-1}for(var l=n,u=l+o-1;l<=u;){var c=l+u>>>1,d=e[c];if(d<r)l=c+1;else{if(!(d>r))return e[c+o];u=c-1}}return-1}Object.defineProperty(t,"replaceCodePoint",{enumerable:!0,get:function(){return u.replaceCodePoint}}),Object.defineProperty(t,"fromCodePoint",{enumerable:!0,get:function(){return u.fromCodePoint}}),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"}(l||(l={})),function(e){e[e.VALUE_LENGTH=49152]="VALUE_LENGTH",e[e.BRANCH_LENGTH=16256]="BRANCH_LENGTH",e[e.JUMP_TABLE=127]="JUMP_TABLE"}(s=t.BinTrieFlags||(t.BinTrieFlags={})),t.determineBranch=d;var f=c(o.default),p=c(i.default);t.decodeHTML=function(e){return f(e,!1)},t.decodeHTMLStrict=function(e){return f(e,!0)},t.decodeXML=function(e){return p(e,!0)}},7994:(e,t)=>{"use strict";var n;Object.defineProperty(t,"__esModule",{value:!0}),t.replaceCodePoint=t.fromCodePoint=void 0;var r=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 o(e){var t;return e>=55296&&e<=57343||e>1114111?65533:null!==(t=r.get(e))&&void 0!==t?t:e}t.fromCodePoint=null!==(n=String.fromCodePoint)&&void 0!==n?n: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=o,t.default=function(e){return(0,t.fromCodePoint)(o(e))}},342:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.encodeNonAsciiHTML=t.encodeHTML=void 0;var o=r(n(9789)),i=n(7066),a=/[\t\n!-,./:-@[-`\f{-}$\x80-\uFFFF]/g;function l(e,t){for(var n,r="",a=0;null!==(n=e.exec(t));){var l=n.index;r+=t.substring(a,l);var s=t.charCodeAt(l),u=o.default.get(s);if("object"==typeof u){if(l+1<t.length){var c=t.charCodeAt(l+1),d="number"==typeof u.n?u.n===c?u.o:void 0:u.n.get(c);if(void 0!==d){r+=d,a=e.lastIndex+=1;continue}}u=u.v}if(void 0!==u)r+=u,a=l+1;else{var f=(0,i.getCodePoint)(t,l);r+="&#x".concat(f.toString(16),";"),a=e.lastIndex+=Number(f!==s)}}return r+t.substr(a)}t.encodeHTML=function(e){return l(a,e)},t.encodeNonAsciiHTML=function(e){return l(i.xmlReplacer,e)}},7066:(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 n=new Map([[34,"&quot;"],[38,"&amp;"],[39,"&apos;"],[60,"&lt;"],[62,"&gt;"]]);function r(e){for(var r,o="",i=0;null!==(r=t.xmlReplacer.exec(e));){var a=r.index,l=e.charCodeAt(a),s=n.get(l);void 0!==s?(o+=e.substring(i,a)+s,i=a+1):(o+="".concat(e.substring(i,a),"&#x").concat((0,t.getCodePoint)(e,a).toString(16),";"),i=t.xmlReplacer.lastIndex+=Number(55296==(64512&l)))}return o+e.substr(i)}function o(e,t){return function(n){for(var r,o=0,i="";r=e.exec(n);)o!==r.index&&(i+=n.substring(o,r.index)),i+=t.get(r[0].charCodeAt(0)),o=r.index+1;return i+n.substring(o)}}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=r,t.escape=r,t.escapeUTF8=o(/[&<>'"]/g,n),t.escapeAttribute=o(/["&\u00A0]/g,new Map([[34,"&quot;"],[38,"&amp;"],[160,"&nbsp;"]])),t.escapeText=o(/[&<>\u00A0]/g,new Map([[38,"&amp;"],[60,"&lt;"],[62,"&gt;"],[160,"&nbsp;"]]))},9419:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=new Uint16Array([7489,60,213,305,650,1181,1403,1488,1653,1758,1954,2006,2063,2634,2705,3489,3693,3849,3878,4298,4648,4833,5141,5277,5315,5343,5413,0,0,0,0,0,0,5483,5837,6541,7186,7645,8062,8288,8624,8845,9152,9211,9282,10276,10514,11528,11848,12238,12310,12986,13881,14252,14590,14888,14961,15072,15150,2048,69,77,97,98,99,102,103,108,109,110,111,112,114,115,116,117,92,98,102,109,115,127,132,139,144,149,152,166,179,185,200,207,108,105,103,32827,198,16582,80,32827,38,16422,99,117,116,101,32827,193,16577,114,101,118,101,59,16642,256,105,121,120,125,114,99,32827,194,16578,59,17424,114,59,49152,55349,56580,114,97,118,101,32827,192,16576,112,104,97,59,17297,97,99,114,59,16640,100,59,27219,256,103,112,157,161,111,110,59,16644,102,59,49152,55349,56632,112,108,121,70,117,110,99,116,105,111,110,59,24673,105,110,103,32827,197,16581,256,99,115,190,195,114,59,49152,55349,56476,105,103,110,59,25172,105,108,100,101,32827,195,16579,109,108,32827,196,16580,1024,97,99,101,102,111,114,115,117,229,251,254,279,284,290,295,298,256,99,114,234,242,107,115,108,97,115,104,59,25110,374,246,248,59,27367,101,100,59,25350,121,59,17425,384,99,114,116,261,267,276,97,117,115,101,59,25141,110,111,117,108,108,105,115,59,24876,97,59,17298,114,59,49152,55349,56581,112,102,59,49152,55349,56633,101,118,101,59,17112,99,242,275,109,112,101,113,59,25166,1792,72,79,97,99,100,101,102,104,105,108,111,114,115,117,333,337,342,384,414,418,437,439,442,476,533,627,632,638,99,121,59,17447,80,89,32827,169,16553,384,99,112,121,349,354,378,117,116,101,59,16646,256,59,105,359,360,25298,116,97,108,68,105,102,102,101,114,101,110,116,105,97,108,68,59,24901,108,101,121,115,59,24877,512,97,101,105,111,393,398,404,408,114,111,110,59,16652,100,105,108,32827,199,16583,114,99,59,16648,110,105,110,116,59,25136,111,116,59,16650,256,100,110,423,429,105,108,108,97,59,16568,116,101,114,68,111,116,59,16567,242,383,105,59,17319,114,99,108,101,512,68,77,80,84,455,459,465,470,111,116,59,25241,105,110,117,115,59,25238,108,117,115,59,25237,105,109,101,115,59,25239,111,256,99,115,482,504,107,119,105,115,101,67,111,110,116,111,117,114,73,110,116,101,103,114,97,108,59,25138,101,67,117,114,108,121,256,68,81,515,527,111,117,98,108,101,81,117,111,116,101,59,24605,117,111,116,101,59,24601,512,108,110,112,117,542,552,583,597,111,110,256,59,101,549,550,25143,59,27252,384,103,105,116,559,566,570,114,117,101,110,116,59,25185,110,116,59,25135,111,117,114,73,110,116,101,103,114,97,108,59,25134,256,102,114,588,590,59,24834,111,100,117,99,116,59,25104,110,116,101,114,67,108,111,99,107,119,105,115,101,67,111,110,116,111,117,114,73,110,116,101,103,114,97,108,59,25139,111,115,115,59,27183,99,114,59,49152,55349,56478,112,256,59,67,644,645,25299,97,112,59,25165,1408,68,74,83,90,97,99,101,102,105,111,115,672,684,688,692,696,715,727,737,742,819,1165,256,59,111,377,677,116,114,97,104,100,59,26897,99,121,59,17410,99,121,59,17413,99,121,59,17423,384,103,114,115,703,708,711,103,101,114,59,24609,114,59,24993,104,118,59,27364,256,97,121,720,725,114,111,110,59,16654,59,17428,108,256,59,116,733,734,25095,97,59,17300,114,59,49152,55349,56583,256,97,102,747,807,256,99,109,752,802,114,105,116,105,99,97,108,512,65,68,71,84,768,774,790,796,99,117,116,101,59,16564,111,372,779,781,59,17113,98,108,101,65,99,117,116,101,59,17117,114,97,118,101,59,16480,105,108,100,101,59,17116,111,110,100,59,25284,102,101,114,101,110,116,105,97,108,68,59,24902,1136,829,0,0,0,834,852,0,1029,102,59,49152,55349,56635,384,59,68,69,840,841,845,16552,111,116,59,24796,113,117,97,108,59,25168,98,108,101,768,67,68,76,82,85,86,867,882,898,975,994,1016,111,110,116,111,117,114,73,110,116,101,103,114,97,236,569,111,628,889,0,0,891,187,841,110,65,114,114,111,119,59,25043,256,101,111,903,932,102,116,384,65,82,84,912,918,929,114,114,111,119,59,25040,105,103,104,116,65,114,114,111,119,59,25044,101,229,714,110,103,256,76,82,939,964,101,102,116,256,65,82,947,953,114,114,111,119,59,26616,105,103,104,116,65,114,114,111,119,59,26618,105,103,104,116,65,114,114,111,119,59,26617,105,103,104,116,256,65,84,984,990,114,114,111,119,59,25042,101,101,59,25256,112,577,1001,0,0,1007,114,114,111,119,59,25041,111,119,110,65,114,114,111,119,59,25045,101,114,116,105,99,97,108,66,97,114,59,25125,110,768,65,66,76,82,84,97,1042,1066,1072,1118,1151,892,114,114,111,119,384,59,66,85,1053,1054,1058,24979,97,114,59,26899,112,65,114,114,111,119,59,25077,114,101,118,101,59,17169,101,102,116,722,1082,0,1094,0,1104,105,103,104,116,86,101,99,116,111,114,59,26960,101,101,86,101,99,116,111,114,59,26974,101,99,116,111,114,256,59,66,1113,1114,25021,97,114,59,26966,105,103,104,116,468,1127,0,1137,101,101,86,101,99,116,111,114,59,26975,101,99,116,111,114,256,59,66,1146,1147,25025,97,114,59,26967,101,101,256,59,65,1158,1159,25252,114,114,111,119,59,24999,256,99,116,1170,1175,114,59,49152,55349,56479,114,111,107,59,16656,2048,78,84,97,99,100,102,103,108,109,111,112,113,115,116,117,120,1213,1216,1220,1227,1246,1250,1255,1262,1269,1313,1327,1334,1362,1373,1376,1381,71,59,16714,72,32827,208,16592,99,117,116,101,32827,201,16585,384,97,105,121,1234,1239,1244,114,111,110,59,16666,114,99,32827,202,16586,59,17453,111,116,59,16662,114,59,49152,55349,56584,114,97,118,101,32827,200,16584,101,109,101,110,116,59,25096,256,97,112,1274,1278,99,114,59,16658,116,121,595,1286,0,0,1298,109,97,108,108,83,113,117,97,114,101,59,26107,101,114,121,83,109,97,108,108,83,113,117,97,114,101,59,26027,256,103,112,1318,1322,111,110,59,16664,102,59,49152,55349,56636,115,105,108,111,110,59,17301,117,256,97,105,1340,1353,108,256,59,84,1346,1347,27253,105,108,100,101,59,25154,108,105,98,114,105,117,109,59,25036,256,99,105,1367,1370,114,59,24880,109,59,27251,97,59,17303,109,108,32827,203,16587,256,105,112,1386,1391,115,116,115,59,25091,111,110,101,110,116,105,97,108,69,59,24903,640,99,102,105,111,115,1413,1416,1421,1458,1484,121,59,17444,114,59,49152,55349,56585,108,108,101,100,595,1431,0,0,1443,109,97,108,108,83,113,117,97,114,101,59,26108,101,114,121,83,109,97,108,108,83,113,117,97,114,101,59,26026,880,1466,0,1471,0,0,1476,102,59,49152,55349,56637,65,108,108,59,25088,114,105,101,114,116,114,102,59,24881,99,242,1483,1536,74,84,97,98,99,100,102,103,111,114,115,116,1512,1516,1519,1530,1536,1554,1558,1563,1565,1571,1644,1650,99,121,59,17411,32827,62,16446,109,109,97,256,59,100,1527,1528,17299,59,17372,114,101,118,101,59,16670,384,101,105,121,1543,1548,1552,100,105,108,59,16674,114,99,59,16668,59,17427,111,116,59,16672,114,59,49152,55349,56586,59,25305,112,102,59,49152,55349,56638,101,97,116,101,114,768,69,70,71,76,83,84,1589,1604,1614,1622,1627,1638,113,117,97,108,256,59,76,1598,1599,25189,101,115,115,59,25307,117,108,108,69,113,117,97,108,59,25191,114,101,97,116,101,114,59,27298,101,115,115,59,25207,108,97,110,116,69,113,117,97,108,59,27262,105,108,100,101,59,25203,99,114,59,49152,55349,56482,59,25195,1024,65,97,99,102,105,111,115,117,1669,1675,1686,1691,1694,1706,1726,1738,82,68,99,121,59,17450,256,99,116,1680,1684,101,107,59,17095,59,16478,105,114,99,59,16676,114,59,24844,108,98,101,114,116,83,112,97,99,101,59,24843,496,1711,0,1714,102,59,24845,105,122,111,110,116,97,108,76,105,110,101,59,25856,256,99,116,1731,1733,242,1705,114,111,107,59,16678,109,112,324,1744,1752,111,119,110,72,117,109,240,303,113,117,97,108,59,25167,1792,69,74,79,97,99,100,102,103,109,110,111,115,116,117,1786,1790,1795,1799,1806,1818,1822,1825,1832,1860,1912,1931,1935,1941,99,121,59,17429,108,105,103,59,16690,99,121,59,17409,99,117,116,101,32827,205,16589,256,105,121,1811,1816,114,99,32827,206,16590,59,17432,111,116,59,16688,114,59,24849,114,97,118,101,32827,204,16588,384,59,97,112,1824,1839,1855,256,99,103,1844,1847,114,59,16682,105,110,97,114,121,73,59,24904,108,105,101,243,989,500,1865,0,1890,256,59,101,1869,1870,25132,256,103,114,1875,1880,114,97,108,59,25131,115,101,99,116,105,111,110,59,25282,105,115,105,98,108,101,256,67,84,1900,1906,111,109,109,97,59,24675,105,109,101,115,59,24674,384,103,112,116,1919,1923,1928,111,110,59,16686,102,59,49152,55349,56640,97,59,17305,99,114,59,24848,105,108,100,101,59,16680,491,1946,0,1950,99,121,59,17414,108,32827,207,16591,640,99,102,111,115,117,1964,1975,1980,1986,2e3,256,105,121,1969,1973,114,99,59,16692,59,17433,114,59,49152,55349,56589,112,102,59,49152,55349,56641,483,1991,0,1996,114,59,49152,55349,56485,114,99,121,59,17416,107,99,121,59,17412,896,72,74,97,99,102,111,115,2020,2024,2028,2033,2045,2050,2056,99,121,59,17445,99,121,59,17420,112,112,97,59,17306,256,101,121,2038,2043,100,105,108,59,16694,59,17434,114,59,49152,55349,56590,112,102,59,49152,55349,56642,99,114,59,49152,55349,56486,1408,74,84,97,99,101,102,108,109,111,115,116,2085,2089,2092,2128,2147,2483,2488,2503,2509,2615,2631,99,121,59,17417,32827,60,16444,640,99,109,110,112,114,2103,2108,2113,2116,2125,117,116,101,59,16697,98,100,97,59,17307,103,59,26602,108,97,99,101,116,114,102,59,24850,114,59,24990,384,97,101,121,2135,2140,2145,114,111,110,59,16701,100,105,108,59,16699,59,17435,256,102,115,2152,2416,116,1280,65,67,68,70,82,84,85,86,97,114,2174,2217,2225,2272,2278,2300,2351,2395,912,2410,256,110,114,2179,2191,103,108,101,66,114,97,99,107,101,116,59,26600,114,111,119,384,59,66,82,2201,2202,2206,24976,97,114,59,25060,105,103,104,116,65,114,114,111,119,59,25030,101,105,108,105,110,103,59,25352,111,501,2231,0,2243,98,108,101,66,114,97,99,107,101,116,59,26598,110,468,2248,0,2258,101,101,86,101,99,116,111,114,59,26977,101,99,116,111,114,256,59,66,2267,2268,25027,97,114,59,26969,108,111,111,114,59,25354,105,103,104,116,256,65,86,2287,2293,114,114,111,119,59,24980,101,99,116,111,114,59,26958,256,101,114,2305,2327,101,384,59,65,86,2313,2314,2320,25251,114,114,111,119,59,24996,101,99,116,111,114,59,26970,105,97,110,103,108,101,384,59,66,69,2340,2341,2345,25266,97,114,59,27087,113,117,97,108,59,25268,112,384,68,84,86,2359,2370,2380,111,119,110,86,101,99,116,111,114,59,26961,101,101,86,101,99,116,111,114,59,26976,101,99,116,111,114,256,59,66,2390,2391,25023,97,114,59,26968,101,99,116,111,114,256,59,66,2405,2406,25020,97,114,59,26962,105,103,104,116,225,924,115,768,69,70,71,76,83,84,2430,2443,2453,2461,2466,2477,113,117,97,108,71,114,101,97,116,101,114,59,25306,117,108,108,69,113,117,97,108,59,25190,114,101,97,116,101,114,59,25206,101,115,115,59,27297,108,97,110,116,69,113,117,97,108,59,27261,105,108,100,101,59,25202,114,59,49152,55349,56591,256,59,101,2493,2494,25304,102,116,97,114,114,111,119,59,25050,105,100,111,116,59,16703,384,110,112,119,2516,2582,2587,103,512,76,82,108,114,2526,2551,2562,2576,101,102,116,256,65,82,2534,2540,114,114,111,119,59,26613,105,103,104,116,65,114,114,111,119,59,26615,105,103,104,116,65,114,114,111,119,59,26614,101,102,116,256,97,114,947,2570,105,103,104,116,225,959,105,103,104,116,225,970,102,59,49152,55349,56643,101,114,256,76,82,2594,2604,101,102,116,65,114,114,111,119,59,24985,105,103,104,116,65,114,114,111,119,59,24984,384,99,104,116,2622,2624,2626,242,2124,59,25008,114,111,107,59,16705,59,25194,1024,97,99,101,102,105,111,115,117,2650,2653,2656,2679,2684,2693,2699,2702,112,59,26885,121,59,17436,256,100,108,2661,2671,105,117,109,83,112,97,99,101,59,24671,108,105,110,116,114,102,59,24883,114,59,49152,55349,56592,110,117,115,80,108,117,115,59,25107,112,102,59,49152,55349,56644,99,242,2678,59,17308,1152,74,97,99,101,102,111,115,116,117,2723,2727,2733,2752,2836,2841,3473,3479,3486,99,121,59,17418,99,117,116,101,59,16707,384,97,101,121,2740,2745,2750,114,111,110,59,16711,100,105,108,59,16709,59,17437,384,103,115,119,2759,2800,2830,97,116,105,118,101,384,77,84,86,2771,2783,2792,101,100,105,117,109,83,112,97,99,101,59,24587,104,105,256,99,110,2790,2776,235,2777,101,114,121,84,104,105,238,2777,116,101,100,256,71,76,2808,2822,114,101,97,116,101,114,71,114,101,97,116,101,242,1651,101,115,115,76,101,115,243,2632,76,105,110,101,59,16394,114,59,49152,55349,56593,512,66,110,112,116,2850,2856,2871,2874,114,101,97,107,59,24672,66,114,101,97,107,105,110,103,83,112,97,99,101,59,16544,102,59,24853,1664,59,67,68,69,71,72,76,78,80,82,83,84,86,2901,2902,2922,2940,2977,3051,3076,3166,3204,3238,3288,3425,3461,27372,256,111,117,2907,2916,110,103,114,117,101,110,116,59,25186,112,67,97,112,59,25197,111,117,98,108,101,86,101,114,116,105,99,97,108,66,97,114,59,25126,384,108,113,120,2947,2954,2971,101,109,101,110,116,59,25097,117,97,108,256,59,84,2962,2963,25184,105,108,100,101,59,49152,8770,824,105,115,116,115,59,25092,114,101,97,116,101,114,896,59,69,70,71,76,83,84,2998,2999,3005,3017,3027,3032,3045,25199,113,117,97,108,59,25201,117,108,108,69,113,117,97,108,59,49152,8807,824,114,101,97,116,101,114,59,49152,8811,824,101,115,115,59,25209,108,97,110,116,69,113,117,97,108,59,49152,10878,824,105,108,100,101,59,25205,117,109,112,324,3058,3069,111,119,110,72,117,109,112,59,49152,8782,824,113,117,97,108,59,49152,8783,824,101,256,102,115,3082,3111,116,84,114,105,97,110,103,108,101,384,59,66,69,3098,3099,3105,25322,97,114,59,49152,10703,824,113,117,97,108,59,25324,115,768,59,69,71,76,83,84,3125,3126,3132,3140,3147,3160,25198,113,117,97,108,59,25200,114,101,97,116,101,114,59,25208,101,115,115,59,49152,8810,824,108,97,110,116,69,113,117,97,108,59,49152,10877,824,105,108,100,101,59,25204,101,115,116,101,100,256,71,76,3176,3193,114,101,97,116,101,114,71,114,101,97,116,101,114,59,49152,10914,824,101,115,115,76,101,115,115,59,49152,10913,824,114,101,99,101,100,101,115,384,59,69,83,3218,3219,3227,25216,113,117,97,108,59,49152,10927,824,108,97,110,116,69,113,117,97,108,59,25312,256,101,105,3243,3257,118,101,114,115,101,69,108,101,109,101,110,116,59,25100,103,104,116,84,114,105,97,110,103,108,101,384,59,66,69,3275,3276,3282,25323,97,114,59,49152,10704,824,113,117,97,108,59,25325,256,113,117,3293,3340,117,97,114,101,83,117,256,98,112,3304,3321,115,101,116,256,59,69,3312,3315,49152,8847,824,113,117,97,108,59,25314,101,114,115,101,116,256,59,69,3331,3334,49152,8848,824,113,117,97,108,59,25315,384,98,99,112,3347,3364,3406,115,101,116,256,59,69,3355,3358,49152,8834,8402,113,117,97,108,59,25224,99,101,101,100,115,512,59,69,83,84,3378,3379,3387,3398,25217,113,117,97,108,59,49152,10928,824,108,97,110,116,69,113,117,97,108,59,25313,105,108,100,101,59,49152,8831,824,101,114,115,101,116,256,59,69,3416,3419,49152,8835,8402,113,117,97,108,59,25225,105,108,100,101,512,59,69,70,84,3438,3439,3445,3455,25153,113,117,97,108,59,25156,117,108,108,69,113,117,97,108,59,25159,105,108,100,101,59,25161,101,114,116,105,99,97,108,66,97,114,59,25124,99,114,59,49152,55349,56489,105,108,100,101,32827,209,16593,59,17309,1792,69,97,99,100,102,103,109,111,112,114,115,116,117,118,3517,3522,3529,3541,3547,3552,3559,3580,3586,3616,3618,3634,3647,3652,108,105,103,59,16722,99,117,116,101,32827,211,16595,256,105,121,3534,3539,114,99,32827,212,16596,59,17438,98,108,97,99,59,16720,114,59,49152,55349,56594,114,97,118,101,32827,210,16594,384,97,101,105,3566,3570,3574,99,114,59,16716,103,97,59,17321,99,114,111,110,59,17311,112,102,59,49152,55349,56646,101,110,67,117,114,108,121,256,68,81,3598,3610,111,117,98,108,101,81,117,111,116,101,59,24604,117,111,116,101,59,24600,59,27220,256,99,108,3623,3628,114,59,49152,55349,56490,97,115,104,32827,216,16600,105,364,3639,3644,100,101,32827,213,16597,101,115,59,27191,109,108,32827,214,16598,101,114,256,66,80,3659,3680,256,97,114,3664,3667,114,59,24638,97,99,256,101,107,3674,3676,59,25566,101,116,59,25524,97,114,101,110,116,104,101,115,105,115,59,25564,1152,97,99,102,104,105,108,111,114,115,3711,3719,3722,3727,3730,3732,3741,3760,3836,114,116,105,97,108,68,59,25090,121,59,17439,114,59,49152,55349,56595,105,59,17318,59,17312,117,115,77,105,110,117,115,59,16561,256,105,112,3746,3757,110,99,97,114,101,112,108,97,110,229,1693,102,59,24857,512,59,101,105,111,3769,3770,3808,3812,27323,99,101,100,101,115,512,59,69,83,84,3784,3785,3791,3802,25210,113,117,97,108,59,27311,108,97,110,116,69,113,117,97,108,59,25212,105,108,100,101,59,25214,109,101,59,24627,256,100,112,3817,3822,117,99,116,59,25103,111,114,116,105,111,110,256,59,97,549,3833,108,59,25117,256,99,105,3841,3846,114,59,49152,55349,56491,59,17320,512,85,102,111,115,3857,3862,3867,3871,79,84,32827,34,16418,114,59,49152,55349,56596,112,102,59,24858,99,114,59,49152,55349,56492,1536,66,69,97,99,101,102,104,105,111,114,115,117,3902,3907,3911,3936,3955,4007,4010,4013,4246,4265,4276,4286,97,114,114,59,26896,71,32827,174,16558,384,99,110,114,3918,3923,3926,117,116,101,59,16724,103,59,26603,114,256,59,116,3932,3933,24992,108,59,26902,384,97,101,121,3943,3948,3953,114,111,110,59,16728,100,105,108,59,16726,59,17440,256,59,118,3960,3961,24860,101,114,115,101,256,69,85,3970,3993,256,108,113,3975,3982,101,109,101,110,116,59,25099,117,105,108,105,98,114,105,117,109,59,25035,112,69,113,117,105,108,105,98,114,105,117,109,59,26991,114,187,3961,111,59,17313,103,104,116,1024,65,67,68,70,84,85,86,97,4033,4075,4083,4130,4136,4187,4231,984,256,110,114,4038,4050,103,108,101,66,114,97,99,107,101,116,59,26601,114,111,119,384,59,66,76,4060,4061,4065,24978,97,114,59,25061,101,102,116,65,114,114,111,119,59,25028,101,105,108,105,110,103,59,25353,111,501,4089,0,4101,98,108,101,66,114,97,99,107,101,116,59,26599,110,468,4106,0,4116,101,101,86,101,99,116,111,114,59,26973,101,99,116,111,114,256,59,66,4125,4126,25026,97,114,59,26965,108,111,111,114,59,25355,256,101,114,4141,4163,101,384,59,65,86,4149,4150,4156,25250,114,114,111,119,59,24998,101,99,116,111,114,59,26971,105,97,110,103,108,101,384,59,66,69,4176,4177,4181,25267,97,114,59,27088,113,117,97,108,59,25269,112,384,68,84,86,4195,4206,4216,111,119,110,86,101,99,116,111,114,59,26959,101,101,86,101,99,116,111,114,59,26972,101,99,116,111,114,256,59,66,4226,4227,25022,97,114,59,26964,101,99,116,111,114,256,59,66,4241,4242,25024,97,114,59,26963,256,112,117,4251,4254,102,59,24861,110,100,73,109,112,108,105,101,115,59,26992,105,103,104,116,97,114,114,111,119,59,25051,256,99,104,4281,4284,114,59,24859,59,25009,108,101,68,101,108,97,121,101,100,59,27124,1664,72,79,97,99,102,104,105,109,111,113,115,116,117,4324,4337,4343,4349,4377,4382,4433,4438,4449,4455,4533,4539,4543,256,67,99,4329,4334,72,99,121,59,17449,121,59,17448,70,84,99,121,59,17452,99,117,116,101,59,16730,640,59,97,101,105,121,4360,4361,4366,4371,4375,27324,114,111,110,59,16736,100,105,108,59,16734,114,99,59,16732,59,17441,114,59,49152,55349,56598,111,114,116,512,68,76,82,85,4394,4404,4414,4425,111,119,110,65,114,114,111,119,187,1054,101,102,116,65,114,114,111,119,187,2202,105,103,104,116,65,114,114,111,119,187,4061,112,65,114,114,111,119,59,24977,103,109,97,59,17315,97,108,108,67,105,114,99,108,101,59,25112,112,102,59,49152,55349,56650,626,4461,0,0,4464,116,59,25114,97,114,101,512,59,73,83,85,4475,4476,4489,4527,26017,110,116,101,114,115,101,99,116,105,111,110,59,25235,117,256,98,112,4495,4510,115,101,116,256,59,69,4503,4504,25231,113,117,97,108,59,25233,101,114,115,101,116,256,59,69,4520,4521,25232,113,117,97,108,59,25234,110,105,111,110,59,25236,99,114,59,49152,55349,56494,97,114,59,25286,512,98,99,109,112,4552,4571,4617,4619,256,59,115,4557,4558,25296,101,116,256,59,69,4557,4565,113,117,97,108,59,25222,256,99,104,4576,4613,101,101,100,115,512,59,69,83,84,4589,4590,4596,4607,25211,113,117,97,108,59,27312,108,97,110,116,69,113,117,97,108,59,25213,105,108,100,101,59,25215,84,104,225,3980,59,25105,384,59,101,115,4626,4627,4643,25297,114,115,101,116,256,59,69,4636,4637,25219,113,117,97,108,59,25223,101,116,187,4627,1408,72,82,83,97,99,102,104,105,111,114,115,4670,4676,4681,4693,4702,4721,4726,4767,4802,4808,4817,79,82,78,32827,222,16606,65,68,69,59,24866,256,72,99,4686,4690,99,121,59,17419,121,59,17446,256,98,117,4698,4700,59,16393,59,17316,384,97,101,121,4709,4714,4719,114,111,110,59,16740,100,105,108,59,16738,59,17442,114,59,49152,55349,56599,256,101,105,4731,4745,498,4736,0,4743,101,102,111,114,101,59,25140,97,59,17304,256,99,110,4750,4760,107,83,112,97,99,101,59,49152,8287,8202,83,112,97,99,101,59,24585,108,100,101,512,59,69,70,84,4779,4780,4786,4796,25148,113,117,97,108,59,25155,117,108,108,69,113,117,97,108,59,25157,105,108,100,101,59,25160,112,102,59,49152,55349,56651,105,112,108,101,68,111,116,59,24795,256,99,116,4822,4827,114,59,49152,55349,56495,114,111,107,59,16742,2785,4855,4878,4890,4902,0,4908,4913,0,0,0,0,0,4920,4925,4983,4997,0,5119,5124,5130,5136,256,99,114,4859,4865,117,116,101,32827,218,16602,114,256,59,111,4871,4872,24991,99,105,114,59,26953,114,483,4883,0,4886,121,59,17422,118,101,59,16748,256,105,121,4894,4899,114,99,32827,219,16603,59,17443,98,108,97,99,59,16752,114,59,49152,55349,56600,114,97,118,101,32827,217,16601,97,99,114,59,16746,256,100,105,4929,4969,101,114,256,66,80,4936,4957,256,97,114,4941,4944,114,59,16479,97,99,256,101,107,4951,4953,59,25567,101,116,59,25525,97,114,101,110,116,104,101,115,105,115,59,25565,111,110,256,59,80,4976,4977,25283,108,117,115,59,25230,256,103,112,4987,4991,111,110,59,16754,102,59,49152,55349,56652,1024,65,68,69,84,97,100,112,115,5013,5038,5048,5060,1e3,5074,5079,5107,114,114,111,119,384,59,66,68,4432,5024,5028,97,114,59,26898,111,119,110,65,114,114,111,119,59,25029,111,119,110,65,114,114,111,119,59,24981,113,117,105,108,105,98,114,105,117,109,59,26990,101,101,256,59,65,5067,5068,25253,114,114,111,119,59,24997,111,119,110,225,1011,101,114,256,76,82,5086,5096,101,102,116,65,114,114,111,119,59,24982,105,103,104,116,65,114,114,111,119,59,24983,105,256,59,108,5113,5114,17362,111,110,59,17317,105,110,103,59,16750,99,114,59,49152,55349,56496,105,108,100,101,59,16744,109,108,32827,220,16604,1152,68,98,99,100,101,102,111,115,118,5159,5164,5168,5171,5182,5253,5258,5264,5270,97,115,104,59,25259,97,114,59,27371,121,59,17426,97,115,104,256,59,108,5179,5180,25257,59,27366,256,101,114,5187,5189,59,25281,384,98,116,121,5196,5200,5242,97,114,59,24598,256,59,105,5199,5205,99,97,108,512,66,76,83,84,5217,5221,5226,5236,97,114,59,25123,105,110,101,59,16508,101,112,97,114,97,116,111,114,59,26456,105,108,100,101,59,25152,84,104,105,110,83,112,97,99,101,59,24586,114,59,49152,55349,56601,112,102,59,49152,55349,56653,99,114,59,49152,55349,56497,100,97,115,104,59,25258,640,99,101,102,111,115,5287,5292,5297,5302,5308,105,114,99,59,16756,100,103,101,59,25280,114,59,49152,55349,56602,112,102,59,49152,55349,56654,99,114,59,49152,55349,56498,512,102,105,111,115,5323,5328,5330,5336,114,59,49152,55349,56603,59,17310,112,102,59,49152,55349,56655,99,114,59,49152,55349,56499,1152,65,73,85,97,99,102,111,115,117,5361,5365,5369,5373,5380,5391,5396,5402,5408,99,121,59,17455,99,121,59,17415,99,121,59,17454,99,117,116,101,32827,221,16605,256,105,121,5385,5389,114,99,59,16758,59,17451,114,59,49152,55349,56604,112,102,59,49152,55349,56656,99,114,59,49152,55349,56500,109,108,59,16760,1024,72,97,99,100,101,102,111,115,5429,5433,5439,5451,5455,5469,5472,5476,99,121,59,17430,99,117,116,101,59,16761,256,97,121,5444,5449,114,111,110,59,16765,59,17431,111,116,59,16763,498,5460,0,5467,111,87,105,100,116,232,2777,97,59,17302,114,59,24872,112,102,59,24868,99,114,59,49152,55349,56501,3041,5507,5514,5520,0,5552,5558,5567,0,0,0,0,5574,5595,5611,5727,5741,0,5781,5787,5810,5817,0,5822,99,117,116,101,32827,225,16609,114,101,118,101,59,16643,768,59,69,100,105,117,121,5532,5533,5537,5539,5544,5549,25150,59,49152,8766,819,59,25151,114,99,32827,226,16610,116,101,32955,180,774,59,17456,108,105,103,32827,230,16614,256,59,114,178,5562,59,49152,55349,56606,114,97,118,101,32827,224,16608,256,101,112,5578,5590,256,102,112,5583,5588,115,121,109,59,24885,232,5587,104,97,59,17329,256,97,112,5599,99,256,99,108,5604,5607,114,59,16641,103,59,27199,612,5616,0,0,5642,640,59,97,100,115,118,5626,5627,5631,5633,5639,25127,110,100,59,27221,59,27228,108,111,112,101,59,27224,59,27226,896,59,101,108,109,114,115,122,5656,5657,5659,5662,5695,5711,5721,25120,59,27044,101,187,5657,115,100,256,59,97,5669,5670,25121,1121,5680,5682,5684,5686,5688,5690,5692,5694,59,27048,59,27049,59,27050,59,27051,59,27052,59,27053,59,27054,59,27055,116,256,59,118,5701,5702,25119,98,256,59,100,5708,5709,25278,59,27037,256,112,116,5716,5719,104,59,25122,187,185,97,114,114,59,25468,256,103,112,5731,5735,111,110,59,16645,102,59,49152,55349,56658,896,59,69,97,101,105,111,112,4801,5755,5757,5762,5764,5767,5770,59,27248,99,105,114,59,27247,59,25162,100,59,25163,115,59,16423,114,111,120,256,59,101,4801,5778,241,5763,105,110,103,32827,229,16613,384,99,116,121,5793,5798,5800,114,59,49152,55349,56502,59,16426,109,112,256,59,101,4801,5807,241,648,105,108,100,101,32827,227,16611,109,108,32827,228,16612,256,99,105,5826,5832,111,110,105,110,244,626,110,116,59,27153,2048,78,97,98,99,100,101,102,105,107,108,110,111,112,114,115,117,5869,5873,5936,5948,5955,5960,6008,6013,6112,6118,6201,6224,5901,6461,6472,6512,111,116,59,27373,256,99,114,5878,5918,107,512,99,101,112,115,5888,5893,5901,5907,111,110,103,59,25164,112,115,105,108,111,110,59,17398,114,105,109,101,59,24629,105,109,256,59,101,5914,5915,25149,113,59,25293,374,5922,5926,101,101,59,25277,101,100,256,59,103,5932,5933,25349,101,187,5933,114,107,256,59,116,4956,5943,98,114,107,59,25526,256,111,121,5889,5953,59,17457,113,117,111,59,24606,640,99,109,112,114,116,5971,5979,5985,5988,5992,97,117,115,256,59,101,266,265,112,116,121,118,59,27056,115,233,5900,110,111,245,275,384,97,104,119,5999,6001,6003,59,17330,59,24886,101,101,110,59,25196,114,59,49152,55349,56607,103,896,99,111,115,116,117,118,119,6029,6045,6067,6081,6101,6107,6110,384,97,105,117,6036,6038,6042,240,1888,114,99,59,26095,112,187,4977,384,100,112,116,6052,6056,6061,111,116,59,27136,108,117,115,59,27137,105,109,101,115,59,27138,625,6073,0,0,6078,99,117,112,59,27142,97,114,59,26117,114,105,97,110,103,108,101,256,100,117,6093,6098,111,119,110,59,26045,112,59,26035,112,108,117,115,59,27140,101,229,5188,229,5293,97,114,111,119,59,26893,384,97,107,111,6125,6182,6197,256,99,110,6130,6179,107,384,108,115,116,6138,1451,6146,111,122,101,110,103,101,59,27115,114,105,97,110,103,108,101,512,59,100,108,114,6162,6163,6168,6173,26036,111,119,110,59,26046,101,102,116,59,26050,105,103,104,116,59,26040,107,59,25635,433,6187,0,6195,434,6191,0,6193,59,26002,59,26001,52,59,26003,99,107,59,25992,256,101,111,6206,6221,256,59,113,6211,6214,49152,61,8421,117,105,118,59,49152,8801,8421,116,59,25360,512,112,116,119,120,6233,6238,6247,6252,102,59,49152,55349,56659,256,59,116,5067,6243,111,109,187,5068,116,105,101,59,25288,1536,68,72,85,86,98,100,104,109,112,116,117,118,6277,6294,6314,6331,6359,6363,6380,6399,6405,6410,6416,6433,512,76,82,108,114,6286,6288,6290,6292,59,25943,59,25940,59,25942,59,25939,640,59,68,85,100,117,6305,6306,6308,6310,6312,25936,59,25958,59,25961,59,25956,59,25959,512,76,82,108,114,6323,6325,6327,6329,59,25949,59,25946,59,25948,59,25945,896,59,72,76,82,104,108,114,6346,6347,6349,6351,6353,6355,6357,25937,59,25964,59,25955,59,25952,59,25963,59,25954,59,25951,111,120,59,27081,512,76,82,108,114,6372,6374,6376,6378,59,25941,59,25938,59,25872,59,25868,640,59,68,85,100,117,1725,6391,6393,6395,6397,59,25957,59,25960,59,25900,59,25908,105,110,117,115,59,25247,108,117,115,59,25246,105,109,101,115,59,25248,512,76,82,108,114,6425,6427,6429,6431,59,25947,59,25944,59,25880,59,25876,896,59,72,76,82,104,108,114,6448,6449,6451,6453,6455,6457,6459,25858,59,25962,59,25953,59,25950,59,25916,59,25892,59,25884,256,101,118,291,6466,98,97,114,32827,166,16550,512,99,101,105,111,6481,6486,6490,6496,114,59,49152,55349,56503,109,105,59,24655,109,256,59,101,5914,5916,108,384,59,98,104,6504,6505,6507,16476,59,27077,115,117,98,59,26568,364,6516,6526,108,256,59,101,6521,6522,24610,116,187,6522,112,384,59,69,101,303,6533,6535,59,27310,256,59,113,1756,1755,3297,6567,0,6632,6673,6677,6706,0,6711,6736,0,0,6836,0,0,6849,0,0,6945,6958,6989,6994,0,7165,0,7180,384,99,112,114,6573,6578,6621,117,116,101,59,16647,768,59,97,98,99,100,115,6591,6592,6596,6602,6613,6617,25129,110,100,59,27204,114,99,117,112,59,27209,256,97,117,6607,6610,112,59,27211,112,59,27207,111,116,59,27200,59,49152,8745,65024,256,101,111,6626,6629,116,59,24641,238,1683,512,97,101,105,117,6640,6651,6657,6661,496,6645,0,6648,115,59,27213,111,110,59,16653,100,105,108,32827,231,16615,114,99,59,16649,112,115,256,59,115,6668,6669,27212,109,59,27216,111,116,59,16651,384,100,109,110,6683,6688,6694,105,108,32955,184,429,112,116,121,118,59,27058,116,33024,162,59,101,6701,6702,16546,114,228,434,114,59,49152,55349,56608,384,99,101,105,6717,6720,6733,121,59,17479,99,107,256,59,109,6727,6728,26387,97,114,107,187,6728,59,17351,114,896,59,69,99,101,102,109,115,6751,6752,6754,6763,6820,6826,6830,26059,59,27075,384,59,101,108,6761,6762,6765,17094,113,59,25175,101,609,6772,0,0,6792,114,114,111,119,256,108,114,6780,6785,101,102,116,59,25018,105,103,104,116,59,25019,640,82,83,97,99,100,6802,6804,6806,6810,6815,187,3911,59,25800,115,116,59,25243,105,114,99,59,25242,97,115,104,59,25245,110,105,110,116,59,27152,105,100,59,27375,99,105,114,59,27074,117,98,115,256,59,117,6843,6844,26211,105,116,187,6844,748,6855,6868,6906,0,6922,111,110,256,59,101,6861,6862,16442,256,59,113,199,198,621,6873,0,0,6882,97,256,59,116,6878,6879,16428,59,16448,384,59,102,108,6888,6889,6891,25089,238,4448,101,256,109,120,6897,6902,101,110,116,187,6889,101,243,589,487,6910,0,6919,256,59,100,4795,6914,111,116,59,27245,110,244,582,384,102,114,121,6928,6932,6935,59,49152,55349,56660,111,228,596,33024,169,59,115,341,6941,114,59,24855,256,97,111,6949,6953,114,114,59,25013,115,115,59,26391,256,99,117,6962,6967,114,59,49152,55349,56504,256,98,112,6972,6980,256,59,101,6977,6978,27343,59,27345,256,59,101,6985,6986,27344,59,27346,100,111,116,59,25327,896,100,101,108,112,114,118,119,7008,7020,7031,7042,7084,7124,7161,97,114,114,256,108,114,7016,7018,59,26936,59,26933,624,7026,0,0,7029,114,59,25310,99,59,25311,97,114,114,256,59,112,7039,7040,25014,59,26941,768,59,98,99,100,111,115,7055,7056,7062,7073,7077,7080,25130,114,99,97,112,59,27208,256,97,117,7067,7070,112,59,27206,112,59,27210,111,116,59,25229,114,59,27205,59,49152,8746,65024,512,97,108,114,118,7093,7103,7134,7139,114,114,256,59,109,7100,7101,25015,59,26940,121,384,101,118,119,7111,7124,7128,113,624,7118,0,0,7122,114,101,227,7027,117,227,7029,101,101,59,25294,101,100,103,101,59,25295,101,110,32827,164,16548,101,97,114,114,111,119,256,108,114,7150,7155,101,102,116,187,7040,105,103,104,116,187,7101,101,228,7133,256,99,105,7169,7175,111,110,105,110,244,503,110,116,59,25137,108,99,116,121,59,25389,2432,65,72,97,98,99,100,101,102,104,105,106,108,111,114,115,116,117,119,122,7224,7227,7231,7261,7273,7285,7306,7326,7340,7351,7419,7423,7437,7547,7569,7595,7611,7622,7629,114,242,897,97,114,59,26981,512,103,108,114,115,7240,7245,7250,7252,103,101,114,59,24608,101,116,104,59,24888,242,4403,104,256,59,118,7258,7259,24592,187,2314,363,7265,7271,97,114,111,119,59,26895,97,227,789,256,97,121,7278,7283,114,111,110,59,16655,59,17460,384,59,97,111,818,7292,7300,256,103,114,703,7297,114,59,25034,116,115,101,113,59,27255,384,103,108,109,7313,7316,7320,32827,176,16560,116,97,59,17332,112,116,121,118,59,27057,256,105,114,7331,7336,115,104,116,59,27007,59,49152,55349,56609,97,114,256,108,114,7347,7349,187,2268,187,4126,640,97,101,103,115,118,7362,888,7382,7388,7392,109,384,59,111,115,806,7370,7380,110,100,256,59,115,806,7377,117,105,116,59,26214,97,109,109,97,59,17373,105,110,59,25330,384,59,105,111,7399,7400,7416,16631,100,101,33024,247,59,111,7399,7408,110,116,105,109,101,115,59,25287,110,248,7415,99,121,59,17490,99,623,7430,0,0,7434,114,110,59,25374,111,112,59,25357,640,108,112,116,117,119,7448,7453,7458,7497,7509,108,97,114,59,16420,102,59,49152,55349,56661,640,59,101,109,112,115,779,7469,7479,7485,7490,113,256,59,100,850,7475,111,116,59,25169,105,110,117,115,59,25144,108,117,115,59,25108,113,117,97,114,101,59,25249,98,108,101,98,97,114,119,101,100,103,229,250,110,384,97,100,104,4398,7517,7527,111,119,110,97,114,114,111,119,243,7299,97,114,112,111,111,110,256,108,114,7538,7542,101,102,244,7348,105,103,104,244,7350,354,7551,7557,107,97,114,111,247,3906,623,7562,0,0,7566,114,110,59,25375,111,112,59,25356,384,99,111,116,7576,7587,7590,256,114,121,7581,7585,59,49152,55349,56505,59,17493,108,59,27126,114,111,107,59,16657,256,100,114,7600,7604,111,116,59,25329,105,256,59,102,7610,6166,26047,256,97,104,7616,7619,114,242,1065,97,242,4006,97,110,103,108,101,59,27046,256,99,105,7634,7637,121,59,17503,103,114,97,114,114,59,26623,2304,68,97,99,100,101,102,103,108,109,110,111,112,113,114,115,116,117,120,7681,7689,7705,7736,1400,7740,7753,7777,7806,7845,7855,7869,7905,7978,7991,8004,8014,8026,256,68,111,7686,7476,111,244,7305,256,99,115,7694,7700,117,116,101,32827,233,16617,116,101,114,59,27246,512,97,105,111,121,7714,7719,7729,7734,114,111,110,59,16667,114,256,59,99,7725,7726,25174,32827,234,16618,108,111,110,59,25173,59,17485,111,116,59,16663,256,68,114,7745,7749,111,116,59,25170,59,49152,55349,56610,384,59,114,115,7760,7761,7767,27290,97,118,101,32827,232,16616,256,59,100,7772,7773,27286,111,116,59,27288,512,59,105,108,115,7786,7787,7794,7796,27289,110,116,101,114,115,59,25575,59,24851,256,59,100,7801,7802,27285,111,116,59,27287,384,97,112,115,7813,7817,7831,99,114,59,16659,116,121,384,59,115,118,7826,7827,7829,25093,101,116,187,7827,112,256,49,59,7837,7844,307,7841,7843,59,24580,59,24581,24579,256,103,115,7850,7852,59,16715,112,59,24578,256,103,112,7860,7864,111,110,59,16665,102,59,49152,55349,56662,384,97,108,115,7876,7886,7890,114,256,59,115,7882,7883,25301,108,59,27107,117,115,59,27249,105,384,59,108,118,7898,7899,7903,17333,111,110,187,7899,59,17397,512,99,115,117,118,7914,7923,7947,7971,256,105,111,7919,7729,114,99,187,7726,617,7929,0,0,7931,237,1352,97,110,116,256,103,108,7938,7942,116,114,187,7773,101,115,115,187,7802,384,97,101,105,7954,7958,7962,108,115,59,16445,115,116,59,25183,118,256,59,68,565,7968,68,59,27256,112,97,114,115,108,59,27109,256,68,97,7983,7987,111,116,59,25171,114,114,59,26993,384,99,100,105,7998,8001,7928,114,59,24879,111,244,850,256,97,104,8009,8011,59,17335,32827,240,16624,256,109,114,8019,8023,108,32827,235,16619,111,59,24748,384,99,105,112,8033,8036,8039,108,59,16417,115,244,1390,256,101,111,8044,8052,99,116,97,116,105,111,238,1369,110,101,110,116,105,97,108,229,1401,2529,8082,0,8094,0,8097,8103,0,0,8134,8140,0,8147,0,8166,8170,8192,0,8200,8282,108,108,105,110,103,100,111,116,115,101,241,7748,121,59,17476,109,97,108,101,59,26176,384,105,108,114,8109,8115,8129,108,105,103,59,32768,64259,617,8121,0,0,8125,103,59,32768,64256,105,103,59,32768,64260,59,49152,55349,56611,108,105,103,59,32768,64257,108,105,103,59,49152,102,106,384,97,108,116,8153,8156,8161,116,59,26221,105,103,59,32768,64258,110,115,59,26033,111,102,59,16786,496,8174,0,8179,102,59,49152,55349,56663,256,97,107,1471,8183,256,59,118,8188,8189,25300,59,27353,97,114,116,105,110,116,59,27149,256,97,111,8204,8277,256,99,115,8209,8274,945,8218,8240,8248,8261,8264,0,8272,946,8226,8229,8231,8234,8236,0,8238,32827,189,16573,59,24915,32827,188,16572,59,24917,59,24921,59,24923,435,8244,0,8246,59,24916,59,24918,692,8254,8257,0,0,8259,32827,190,16574,59,24919,59,24924,53,59,24920,438,8268,0,8270,59,24922,59,24925,56,59,24926,108,59,24644,119,110,59,25378,99,114,59,49152,55349,56507,2176,69,97,98,99,100,101,102,103,105,106,108,110,111,114,115,116,118,8322,8329,8351,8357,8368,8372,8432,8437,8442,8447,8451,8466,8504,791,8510,8530,8606,256,59,108,1613,8327,59,27276,384,99,109,112,8336,8341,8349,117,116,101,59,16885,109,97,256,59,100,8348,7386,17331,59,27270,114,101,118,101,59,16671,256,105,121,8362,8366,114,99,59,16669,59,17459,111,116,59,16673,512,59,108,113,115,1598,1602,8381,8393,384,59,113,115,1598,1612,8388,108,97,110,244,1637,512,59,99,100,108,1637,8402,8405,8421,99,59,27305,111,116,256,59,111,8412,8413,27264,256,59,108,8418,8419,27266,59,27268,256,59,101,8426,8429,49152,8923,65024,115,59,27284,114,59,49152,55349,56612,256,59,103,1651,1563,109,101,108,59,24887,99,121,59,17491,512,59,69,97,106,1626,8460,8462,8464,59,27282,59,27301,59,27300,512,69,97,101,115,8475,8477,8489,8500,59,25193,112,256,59,112,8483,8484,27274,114,111,120,187,8484,256,59,113,8494,8495,27272,256,59,113,8494,8475,105,109,59,25319,112,102,59,49152,55349,56664,256,99,105,8515,8518,114,59,24842,109,384,59,101,108,1643,8526,8528,59,27278,59,27280,33536,62,59,99,100,108,113,114,1518,8544,8554,8558,8563,8569,256,99,105,8549,8551,59,27303,114,59,27258,111,116,59,25303,80,97,114,59,27029,117,101,115,116,59,27260,640,97,100,101,108,115,8580,8554,8592,1622,8603,496,8585,0,8590,112,114,111,248,8350,114,59,27e3,113,256,108,113,1599,8598,108,101,115,243,8328,105,237,1643,256,101,110,8611,8621,114,116,110,101,113,113,59,49152,8809,65024,197,8618,1280,65,97,98,99,101,102,107,111,115,121,8644,8647,8689,8693,8698,8728,8733,8751,8808,8829,114,242,928,512,105,108,109,114,8656,8660,8663,8667,114,115,240,5252,102,187,8228,105,108,244,1705,256,100,114,8672,8676,99,121,59,17482,384,59,99,119,2292,8683,8687,105,114,59,26952,59,25005,97,114,59,24847,105,114,99,59,16677,384,97,108,114,8705,8718,8723,114,116,115,256,59,117,8713,8714,26213,105,116,187,8714,108,105,112,59,24614,99,111,110,59,25273,114,59,49152,55349,56613,115,256,101,119,8739,8745,97,114,111,119,59,26917,97,114,111,119,59,26918,640,97,109,111,112,114,8762,8766,8771,8798,8803,114,114,59,25087,116,104,116,59,25147,107,256,108,114,8777,8787,101,102,116,97,114,114,111,119,59,25001,105,103,104,116,97,114,114,111,119,59,25002,102,59,49152,55349,56665,98,97,114,59,24597,384,99,108,116,8815,8820,8824,114,59,49152,55349,56509,97,115,232,8692,114,111,107,59,16679,256,98,112,8834,8839,117,108,108,59,24643,104,101,110,187,7259,2785,8867,0,8874,0,8888,8901,8910,0,8917,8947,0,0,8952,8994,9063,9058,9087,0,9094,9130,9140,99,117,116,101,32827,237,16621,384,59,105,121,1905,8880,8885,114,99,32827,238,16622,59,17464,256,99,120,8892,8895,121,59,17461,99,108,32827,161,16545,256,102,114,927,8905,59,49152,55349,56614,114,97,118,101,32827,236,16620,512,59,105,110,111,1854,8925,8937,8942,256,105,110,8930,8934,110,116,59,27148,116,59,25133,102,105,110,59,27100,116,97,59,24873,108,105,103,59,16691,384,97,111,112,8958,8986,8989,384,99,103,116,8965,8968,8983,114,59,16683,384,101,108,112,1823,8975,8979,105,110,229,1934,97,114,244,1824,104,59,16689,102,59,25271,101,100,59,16821,640,59,99,102,111,116,1268,9004,9009,9021,9025,97,114,101,59,24837,105,110,256,59,116,9016,9017,25118,105,101,59,27101,100,111,244,8985,640,59,99,101,108,112,1879,9036,9040,9051,9057,97,108,59,25274,256,103,114,9045,9049,101,114,243,5475,227,9037,97,114,104,107,59,27159,114,111,100,59,27196,512,99,103,112,116,9071,9074,9078,9083,121,59,17489,111,110,59,16687,102,59,49152,55349,56666,97,59,17337,117,101,115,116,32827,191,16575,256,99,105,9098,9103,114,59,49152,55349,56510,110,640,59,69,100,115,118,1268,9115,9117,9121,1267,59,25337,111,116,59,25333,256,59,118,9126,9127,25332,59,25331,256,59,105,1911,9134,108,100,101,59,16681,491,9144,0,9148,99,121,59,17494,108,32827,239,16623,768,99,102,109,111,115,117,9164,9175,9180,9185,9191,9205,256,105,121,9169,9173,114,99,59,16693,59,17465,114,59,49152,55349,56615,97,116,104,59,16951,112,102,59,49152,55349,56667,483,9196,0,9201,114,59,49152,55349,56511,114,99,121,59,17496,107,99,121,59,17492,1024,97,99,102,103,104,106,111,115,9227,9238,9250,9255,9261,9265,9269,9275,112,112,97,256,59,118,9235,9236,17338,59,17392,256,101,121,9243,9248,100,105,108,59,16695,59,17466,114,59,49152,55349,56616,114,101,101,110,59,16696,99,121,59,17477,99,121,59,17500,112,102,59,49152,55349,56668,99,114,59,49152,55349,56512,2944,65,66,69,72,97,98,99,100,101,102,103,104,106,108,109,110,111,112,114,115,116,117,118,9328,9345,9350,9357,9361,9486,9533,9562,9600,9806,9822,9829,9849,9853,9882,9906,9944,10077,10088,10123,10176,10241,10258,384,97,114,116,9335,9338,9340,114,242,2502,242,917,97,105,108,59,26907,97,114,114,59,26894,256,59,103,2452,9355,59,27275,97,114,59,26978,2403,9381,0,9386,0,9393,0,0,0,0,0,9397,9402,0,9414,9416,9421,0,9465,117,116,101,59,16698,109,112,116,121,118,59,27060,114,97,238,2124,98,100,97,59,17339,103,384,59,100,108,2190,9409,9411,59,27025,229,2190,59,27269,117,111,32827,171,16555,114,1024,59,98,102,104,108,112,115,116,2201,9438,9446,9449,9451,9454,9457,9461,256,59,102,2205,9443,115,59,26911,115,59,26909,235,8786,112,59,25003,108,59,26937,105,109,59,26995,108,59,24994,384,59,97,101,9471,9472,9476,27307,105,108,59,26905,256,59,115,9481,9482,27309,59,49152,10925,65024,384,97,98,114,9493,9497,9501,114,114,59,26892,114,107,59,26482,256,97,107,9506,9516,99,256,101,107,9512,9514,59,16507,59,16475,256,101,115,9521,9523,59,27019,108,256,100,117,9529,9531,59,27023,59,27021,512,97,101,117,121,9542,9547,9558,9560,114,111,110,59,16702,256,100,105,9552,9556,105,108,59,16700,236,2224,226,9513,59,17467,512,99,113,114,115,9571,9574,9581,9597,97,59,26934,117,111,256,59,114,3609,5958,256,100,117,9586,9591,104,97,114,59,26983,115,104,97,114,59,26955,104,59,25010,640,59,102,103,113,115,9611,9612,2441,9715,9727,25188,116,640,97,104,108,114,116,9624,9636,9655,9666,9704,114,114,111,119,256,59,116,2201,9633,97,233,9462,97,114,112,111,111,110,256,100,117,9647,9652,111,119,110,187,1114,112,187,2406,101,102,116,97,114,114,111,119,115,59,25031,105,103,104,116,384,97,104,115,9677,9686,9694,114,114,111,119,256,59,115,2292,2215,97,114,112,111,111,110,243,3992,113,117,105,103,97,114,114,111,247,8688,104,114,101,101,116,105,109,101,115,59,25291,384,59,113,115,9611,2451,9722,108,97,110,244,2476,640,59,99,100,103,115,2476,9738,9741,9757,9768,99,59,27304,111,116,256,59,111,9748,9749,27263,256,59,114,9754,9755,27265,59,27267,256,59,101,9762,9765,49152,8922,65024,115,59,27283,640,97,100,101,103,115,9779,9785,9789,9801,9803,112,112,114,111,248,9414,111,116,59,25302,113,256,103,113,9795,9797,244,2441,103,116,242,9356,244,2459,105,237,2482,384,105,108,114,9813,2273,9818,115,104,116,59,27004,59,49152,55349,56617,256,59,69,2460,9827,59,27281,353,9833,9846,114,256,100,117,9650,9838,256,59,108,2405,9843,59,26986,108,107,59,25988,99,121,59,17497,640,59,97,99,104,116,2632,9864,9867,9873,9878,114,242,9665,111,114,110,101,242,7432,97,114,100,59,26987,114,105,59,26106,256,105,111,9887,9892,100,111,116,59,16704,117,115,116,256,59,97,9900,9901,25520,99,104,101,187,9901,512,69,97,101,115,9915,9917,9929,9940,59,25192,112,256,59,112,9923,9924,27273,114,111,120,187,9924,256,59,113,9934,9935,27271,256,59,113,9934,9915,105,109,59,25318,1024,97,98,110,111,112,116,119,122,9961,9972,9975,10010,10031,10049,10055,10064,256,110,114,9966,9969,103,59,26604,114,59,25085,114,235,2241,103,384,108,109,114,9983,9997,10004,101,102,116,256,97,114,2534,9991,105,103,104,116,225,2546,97,112,115,116,111,59,26620,105,103,104,116,225,2557,112,97,114,114,111,119,256,108,114,10021,10025,101,102,244,9453,105,103,104,116,59,25004,384,97,102,108,10038,10041,10045,114,59,27013,59,49152,55349,56669,117,115,59,27181,105,109,101,115,59,27188,353,10059,10063,115,116,59,25111,225,4942,384,59,101,102,10071,10072,6144,26058,110,103,101,187,10072,97,114,256,59,108,10084,10085,16424,116,59,27027,640,97,99,104,109,116,10099,10102,10108,10117,10119,114,242,2216,111,114,110,101,242,7564,97,114,256,59,100,3992,10115,59,26989,59,24590,114,105,59,25279,768,97,99,104,105,113,116,10136,10141,2624,10146,10158,10171,113,117,111,59,24633,114,59,49152,55349,56513,109,384,59,101,103,2482,10154,10156,59,27277,59,27279,256,98,117,9514,10163,111,256,59,114,3615,10169,59,24602,114,111,107,59,16706,33792,60,59,99,100,104,105,108,113,114,2091,10194,9785,10204,10208,10213,10218,10224,256,99,105,10199,10201,59,27302,114,59,27257,114,101,229,9714,109,101,115,59,25289,97,114,114,59,26998,117,101,115,116,59,27259,256,80,105,10229,10233,97,114,59,27030,384,59,101,102,10240,2349,6171,26051,114,256,100,117,10247,10253,115,104,97,114,59,26954,104,97,114,59,26982,256,101,110,10263,10273,114,116,110,101,113,113,59,49152,8808,65024,197,10270,1792,68,97,99,100,101,102,104,105,108,110,111,112,115,117,10304,10309,10370,10382,10387,10400,10405,10408,10458,10466,10468,2691,10483,10498,68,111,116,59,25146,512,99,108,112,114,10318,10322,10339,10365,114,32827,175,16559,256,101,116,10327,10329,59,26178,256,59,101,10334,10335,26400,115,101,187,10335,256,59,115,4155,10344,116,111,512,59,100,108,117,4155,10355,10359,10363,111,119,238,1164,101,102,244,2319,240,5073,107,101,114,59,26030,256,111,121,10375,10380,109,109,97,59,27177,59,17468,97,115,104,59,24596,97,115,117,114,101,100,97,110,103,108,101,187,5670,114,59,49152,55349,56618,111,59,24871,384,99,100,110,10415,10420,10441,114,111,32827,181,16565,512,59,97,99,100,5220,10429,10432,10436,115,244,5799,105,114,59,27376,111,116,32955,183,437,117,115,384,59,98,100,10450,6403,10451,25106,256,59,117,7484,10456,59,27178,355,10462,10465,112,59,27355,242,8722,240,2689,256,100,112,10473,10478,101,108,115,59,25255,102,59,49152,55349,56670,256,99,116,10488,10493,114,59,49152,55349,56514,112,111,115,187,5533,384,59,108,109,10505,10506,10509,17340,116,105,109,97,112,59,25272,3072,71,76,82,86,97,98,99,100,101,102,103,104,105,106,108,109,111,112,114,115,116,117,118,119,10562,10579,10622,10633,10648,10714,10729,10773,10778,10840,10845,10883,10901,10916,10920,11012,11015,11076,11135,11182,11316,11367,11388,11497,256,103,116,10567,10571,59,49152,8921,824,256,59,118,10576,3023,49152,8811,8402,384,101,108,116,10586,10610,10614,102,116,256,97,114,10593,10599,114,114,111,119,59,25037,105,103,104,116,97,114,114,111,119,59,25038,59,49152,8920,824,256,59,118,10619,3143,49152,8810,8402,105,103,104,116,97,114,114,111,119,59,25039,256,68,100,10638,10643,97,115,104,59,25263,97,115,104,59,25262,640,98,99,110,112,116,10659,10663,10668,10673,10700,108,97,187,734,117,116,101,59,16708,103,59,49152,8736,8402,640,59,69,105,111,112,3460,10684,10688,10693,10696,59,49152,10864,824,100,59,49152,8779,824,115,59,16713,114,111,248,3460,117,114,256,59,97,10707,10708,26222,108,256,59,115,10707,2872,499,10719,0,10723,112,32955,160,2871,109,112,256,59,101,3065,3072,640,97,101,111,117,121,10740,10750,10755,10768,10771,496,10745,0,10747,59,27203,111,110,59,16712,100,105,108,59,16710,110,103,256,59,100,3454,10762,111,116,59,49152,10861,824,112,59,27202,59,17469,97,115,104,59,24595,896,59,65,97,100,113,115,120,2962,10793,10797,10811,10817,10821,10832,114,114,59,25047,114,256,104,114,10803,10806,107,59,26916,256,59,111,5106,5104,111,116,59,49152,8784,824,117,105,246,2915,256,101,105,10826,10830,97,114,59,26920,237,2968,105,115,116,256,59,115,2976,2975,114,59,49152,55349,56619,512,69,101,115,116,3013,10854,10873,10876,384,59,113,115,3004,10861,3041,384,59,113,115,3004,3013,10868,108,97,110,244,3042,105,237,3050,256,59,114,2998,10881,187,2999,384,65,97,112,10890,10893,10897,114,242,10609,114,114,59,25006,97,114,59,27378,384,59,115,118,3981,10908,3980,256,59,100,10913,10914,25340,59,25338,99,121,59,17498,896,65,69,97,100,101,115,116,10935,10938,10942,10946,10949,10998,11001,114,242,10598,59,49152,8806,824,114,114,59,24986,114,59,24613,512,59,102,113,115,3131,10958,10979,10991,116,256,97,114,10964,10969,114,114,111,247,10945,105,103,104,116,97,114,114,111,247,10896,384,59,113,115,3131,10938,10986,108,97,110,244,3157,256,59,115,3157,10996,187,3126,105,237,3165,256,59,114,3125,11006,105,256,59,101,3098,3109,105,228,3472,256,112,116,11020,11025,102,59,49152,55349,56671,33152,172,59,105,110,11033,11034,11062,16556,110,512,59,69,100,118,2953,11044,11048,11054,59,49152,8953,824,111,116,59,49152,8949,824,481,2953,11059,11061,59,25335,59,25334,105,256,59,118,3256,11068,481,3256,11073,11075,59,25342,59,25341,384,97,111,114,11083,11107,11113,114,512,59,97,115,116,2939,11093,11098,11103,108,108,101,236,2939,108,59,49152,11005,8421,59,49152,8706,824,108,105,110,116,59,27156,384,59,99,101,3218,11120,11123,117,229,3237,256,59,99,3224,11128,256,59,101,3218,11133,241,3224,512,65,97,105,116,11144,11147,11165,11175,114,242,10632,114,114,384,59,99,119,11156,11157,11161,24987,59,49152,10547,824,59,49152,8605,824,103,104,116,97,114,114,111,119,187,11157,114,105,256,59,101,3275,3286,896,99,104,105,109,112,113,117,11197,11213,11225,11012,2936,11236,11247,512,59,99,101,114,3378,11206,3383,11209,117,229,3397,59,49152,55349,56515,111,114,116,621,11013,0,0,11222,97,114,225,11094,109,256,59,101,3438,11231,256,59,113,3444,3443,115,117,256,98,112,11243,11245,229,3320,229,3339,384,98,99,112,11254,11281,11289,512,59,69,101,115,11263,11264,3362,11268,25220,59,49152,10949,824,101,116,256,59,101,3355,11275,113,256,59,113,3363,11264,99,256,59,101,3378,11287,241,3384,512,59,69,101,115,11298,11299,3423,11303,25221,59,49152,10950,824,101,116,256,59,101,3416,11310,113,256,59,113,3424,11299,512,103,105,108,114,11325,11327,11333,11335,236,3031,108,100,101,32827,241,16625,231,3139,105,97,110,103,108,101,256,108,114,11346,11356,101,102,116,256,59,101,3098,11354,241,3110,105,103,104,116,256,59,101,3275,11365,241,3287,256,59,109,11372,11373,17341,384,59,101,115,11380,11381,11385,16419,114,111,59,24854,112,59,24583,1152,68,72,97,100,103,105,108,114,115,11407,11412,11417,11422,11427,11440,11446,11475,11491,97,115,104,59,25261,97,114,114,59,26884,112,59,49152,8781,8402,97,115,104,59,25260,256,101,116,11432,11436,59,49152,8805,8402,59,49152,62,8402,110,102,105,110,59,27102,384,65,101,116,11453,11457,11461,114,114,59,26882,59,49152,8804,8402,256,59,114,11466,11469,49152,60,8402,105,101,59,49152,8884,8402,256,65,116,11480,11484,114,114,59,26883,114,105,101,59,49152,8885,8402,105,109,59,49152,8764,8402,384,65,97,110,11504,11508,11522,114,114,59,25046,114,256,104,114,11514,11517,107,59,26915,256,59,111,5095,5093,101,97,114,59,26919,4691,6805,0,0,0,0,0,0,0,0,0,0,0,0,0,11565,0,11576,11592,11616,11621,11634,11652,6919,0,0,11661,11691,0,11720,11726,0,11740,11801,11819,11838,11843,256,99,115,11569,6807,117,116,101,32827,243,16627,256,105,121,11580,11589,114,256,59,99,6814,11586,32827,244,16628,59,17470,640,97,98,105,111,115,6816,11602,11607,456,11610,108,97,99,59,16721,118,59,27192,111,108,100,59,27068,108,105,103,59,16723,256,99,114,11625,11629,105,114,59,27071,59,49152,55349,56620,879,11641,0,0,11644,0,11650,110,59,17115,97,118,101,32827,242,16626,59,27073,256,98,109,11656,3572,97,114,59,27061,512,97,99,105,116,11669,11672,11685,11688,114,242,6784,256,105,114,11677,11680,114,59,27070,111,115,115,59,27067,110,229,3666,59,27072,384,97,101,105,11697,11701,11705,99,114,59,16717,103,97,59,17353,384,99,100,110,11712,11717,461,114,111,110,59,17343,59,27062,112,102,59,49152,55349,56672,384,97,101,108,11732,11735,466,114,59,27063,114,112,59,27065,896,59,97,100,105,111,115,118,11754,11755,11758,11784,11789,11792,11798,25128,114,242,6790,512,59,101,102,109,11767,11768,11778,11781,27229,114,256,59,111,11774,11775,24884,102,187,11775,32827,170,16554,32827,186,16570,103,111,102,59,25270,114,59,27222,108,111,112,101,59,27223,59,27227,384,99,108,111,11807,11809,11815,242,11777,97,115,104,32827,248,16632,108,59,25240,105,364,11823,11828,100,101,32827,245,16629,101,115,256,59,97,475,11834,115,59,27190,109,108,32827,246,16630,98,97,114,59,25405,2785,11870,0,11901,0,11904,11933,0,11938,11961,0,0,11979,3740,0,12051,0,0,12075,12220,0,12232,114,512,59,97,115,116,1027,11879,11890,3717,33024,182,59,108,11885,11886,16566,108,101,236,1027,617,11896,0,0,11899,109,59,27379,59,27389,121,59,17471,114,640,99,105,109,112,116,11915,11919,11923,6245,11927,110,116,59,16421,111,100,59,16430,105,108,59,24624,101,110,107,59,24625,114,59,49152,55349,56621,384,105,109,111,11944,11952,11956,256,59,118,11949,11950,17350,59,17365,109,97,244,2678,110,101,59,26126,384,59,116,118,11967,11968,11976,17344,99,104,102,111,114,107,187,8189,59,17366,256,97,117,11983,11999,110,256,99,107,11989,11997,107,256,59,104,8692,11995,59,24846,246,8692,115,1152,59,97,98,99,100,101,109,115,116,12019,12020,6408,12025,12029,12036,12038,12042,12046,16427,99,105,114,59,27171,105,114,59,27170,256,111,117,7488,12034,59,27173,59,27250,110,32955,177,3741,105,109,59,27174,119,111,59,27175,384,105,112,117,12057,12064,12069,110,116,105,110,116,59,27157,102,59,49152,55349,56673,110,100,32827,163,16547,1280,59,69,97,99,101,105,110,111,115,117,3784,12095,12097,12100,12103,12161,12169,12178,12158,12214,59,27315,112,59,27319,117,229,3801,256,59,99,3790,12108,768,59,97,99,101,110,115,3784,12121,12127,12134,12136,12158,112,112,114,111,248,12099,117,114,108,121,101,241,3801,241,3790,384,97,101,115,12143,12150,12154,112,112,114,111,120,59,27321,113,113,59,27317,105,109,59,25320,105,237,3807,109,101,256,59,115,12168,3758,24626,384,69,97,115,12152,12176,12154,240,12149,384,100,102,112,3820,12185,12207,384,97,108,115,12192,12197,12202,108,97,114,59,25390,105,110,101,59,25362,117,114,102,59,25363,256,59,116,3835,12212,239,3835,114,101,108,59,25264,256,99,105,12224,12229,114,59,49152,55349,56517,59,17352,110,99,115,112,59,24584,768,102,105,111,112,115,117,12250,8930,12255,12261,12267,12273,114,59,49152,55349,56622,112,102,59,49152,55349,56674,114,105,109,101,59,24663,99,114,59,49152,55349,56518,384,97,101,111,12280,12297,12307,116,256,101,105,12286,12293,114,110,105,111,110,243,1712,110,116,59,27158,115,116,256,59,101,12304,12305,16447,241,7961,244,3860,2688,65,66,72,97,98,99,100,101,102,104,105,108,109,110,111,112,114,115,116,117,120,12352,12369,12373,12377,12512,12558,12587,12615,12642,12658,12686,12806,12821,12836,12841,12888,12910,12914,12944,12976,12983,384,97,114,116,12359,12362,12364,114,242,4275,242,989,97,105,108,59,26908,97,114,242,7269,97,114,59,26980,896,99,100,101,110,113,114,116,12392,12405,12408,12415,12431,12436,12492,256,101,117,12397,12401,59,49152,8765,817,116,101,59,16725,105,227,4462,109,112,116,121,118,59,27059,103,512,59,100,101,108,4049,12425,12427,12429,59,27026,59,27045,229,4049,117,111,32827,187,16571,114,1408,59,97,98,99,102,104,108,112,115,116,119,4060,12460,12463,12471,12473,12476,12478,12480,12483,12487,12490,112,59,26997,256,59,102,4064,12468,115,59,26912,59,26931,115,59,26910,235,8797,240,10030,108,59,26949,105,109,59,26996,108,59,24995,59,24989,256,97,105,12497,12501,105,108,59,26906,111,256,59,110,12507,12508,25142,97,108,243,3870,384,97,98,114,12519,12522,12526,114,242,6117,114,107,59,26483,256,97,107,12531,12541,99,256,101,107,12537,12539,59,16509,59,16477,256,101,115,12546,12548,59,27020,108,256,100,117,12554,12556,59,27022,59,27024,512,97,101,117,121,12567,12572,12583,12585,114,111,110,59,16729,256,100,105,12577,12581,105,108,59,16727,236,4082,226,12538,59,17472,512,99,108,113,115,12596,12599,12605,12612,97,59,26935,100,104,97,114,59,26985,117,111,256,59,114,526,525,104,59,25011,384,97,99,103,12622,12639,3908,108,512,59,105,112,115,3960,12632,12635,4252,110,229,4283,97,114,244,4009,116,59,26029,384,105,108,114,12649,4131,12654,115,104,116,59,27005,59,49152,55349,56623,256,97,111,12663,12678,114,256,100,117,12669,12671,187,1147,256,59,108,4241,12676,59,26988,256,59,118,12683,12684,17345,59,17393,384,103,110,115,12693,12793,12796,104,116,768,97,104,108,114,115,116,12708,12720,12738,12760,12772,12782,114,114,111,119,256,59,116,4060,12717,97,233,12488,97,114,112,111,111,110,256,100,117,12731,12735,111,119,238,12670,112,187,4242,101,102,116,256,97,104,12746,12752,114,114,111,119,243,4074,97,114,112,111,111,110,243,1361,105,103,104,116,97,114,114,111,119,115,59,25033,113,117,105,103,97,114,114,111,247,12491,104,114,101,101,116,105,109,101,115,59,25292,103,59,17114,105,110,103,100,111,116,115,101,241,7986,384,97,104,109,12813,12816,12819,114,242,4074,97,242,1361,59,24591,111,117,115,116,256,59,97,12830,12831,25521,99,104,101,187,12831,109,105,100,59,27374,512,97,98,112,116,12850,12861,12864,12882,256,110,114,12855,12858,103,59,26605,114,59,25086,114,235,4099,384,97,102,108,12871,12874,12878,114,59,27014,59,49152,55349,56675,117,115,59,27182,105,109,101,115,59,27189,256,97,112,12893,12903,114,256,59,103,12899,12900,16425,116,59,27028,111,108,105,110,116,59,27154,97,114,242,12771,512,97,99,104,113,12923,12928,4284,12933,113,117,111,59,24634,114,59,49152,55349,56519,256,98,117,12539,12938,111,256,59,114,532,531,384,104,105,114,12951,12955,12960,114,101,229,12792,109,101,115,59,25290,105,512,59,101,102,108,12970,4185,6177,12971,26041,116,114,105,59,27086,108,117,104,97,114,59,26984,59,24862,3425,13013,13019,13023,13100,13112,13169,0,13178,13220,0,0,13292,13296,0,13352,13384,13402,13485,13489,13514,13553,0,13846,0,0,13875,99,117,116,101,59,16731,113,117,239,10170,1280,59,69,97,99,101,105,110,112,115,121,4589,13043,13045,13055,13058,13067,13071,13087,13094,13097,59,27316,496,13050,0,13052,59,27320,111,110,59,16737,117,229,4606,256,59,100,4595,13063,105,108,59,16735,114,99,59,16733,384,69,97,115,13078,13080,13083,59,27318,112,59,27322,105,109,59,25321,111,108,105,110,116,59,27155,105,237,4612,59,17473,111,116,384,59,98,101,13108,7495,13109,25285,59,27238,896,65,97,99,109,115,116,120,13126,13130,13143,13147,13150,13155,13165,114,114,59,25048,114,256,104,114,13136,13138,235,8744,256,59,111,2614,2612,116,32827,167,16551,105,59,16443,119,97,114,59,26921,109,256,105,110,13161,240,110,117,243,241,116,59,26422,114,256,59,111,13174,8277,49152,55349,56624,512,97,99,111,121,13186,13190,13201,13216,114,112,59,26223,256,104,121,13195,13199,99,121,59,17481,59,17480,114,116,621,13209,0,0,13212,105,228,5220,97,114,97,236,11887,32827,173,16557,256,103,109,13224,13236,109,97,384,59,102,118,13233,13234,13234,17347,59,17346,1024,59,100,101,103,108,110,112,114,4779,13253,13257,13262,13270,13278,13281,13286,111,116,59,27242,256,59,113,4785,4784,256,59,69,13267,13268,27294,59,27296,256,59,69,13275,13276,27293,59,27295,101,59,25158,108,117,115,59,27172,97,114,114,59,26994,97,114,242,4413,512,97,101,105,116,13304,13320,13327,13335,256,108,115,13309,13316,108,115,101,116,109,233,13162,104,112,59,27187,112,97,114,115,108,59,27108,256,100,108,5219,13332,101,59,25379,256,59,101,13340,13341,27306,256,59,115,13346,13347,27308,59,49152,10924,65024,384,102,108,112,13358,13363,13378,116,99,121,59,17484,256,59,98,13368,13369,16431,256,59,97,13374,13375,27076,114,59,25407,102,59,49152,55349,56676,97,256,100,114,13389,1026,101,115,256,59,117,13396,13397,26208,105,116,187,13397,384,99,115,117,13408,13433,13471,256,97,117,13413,13423,112,256,59,115,4488,13419,59,49152,8851,65024,112,256,59,115,4532,13429,59,49152,8852,65024,117,256,98,112,13439,13455,384,59,101,115,4503,4508,13446,101,116,256,59,101,4503,13453,241,4509,384,59,101,115,4520,4525,13462,101,116,256,59,101,4520,13469,241,4526,384,59,97,102,4475,13478,1456,114,357,13483,1457,187,4476,97,114,242,4424,512,99,101,109,116,13497,13502,13506,13509,114,59,49152,55349,56520,116,109,238,241,105,236,13333,97,114,230,4542,256,97,114,13518,13525,114,256,59,102,13524,6079,26118,256,97,110,13530,13549,105,103,104,116,256,101,112,13539,13546,112,115,105,108,111,238,7904,104,233,11951,115,187,10322,640,98,99,109,110,112,13563,13662,4617,13707,13710,1152,59,69,100,101,109,110,112,114,115,13582,13583,13585,13589,13598,13603,13612,13617,13622,25218,59,27333,111,116,59,27325,256,59,100,4570,13594,111,116,59,27331,117,108,116,59,27329,256,69,101,13608,13610,59,27339,59,25226,108,117,115,59,27327,97,114,114,59,27001,384,101,105,117,13629,13650,13653,116,384,59,101,110,13582,13637,13643,113,256,59,113,4570,13583,101,113,256,59,113,13611,13608,109,59,27335,256,98,112,13658,13660,59,27349,59,27347,99,768,59,97,99,101,110,115,4589,13676,13682,13689,13691,13094,112,112,114,111,248,13050,117,114,108,121,101,241,4606,241,4595,384,97,101,115,13698,13704,13083,112,112,114,111,248,13082,113,241,13079,103,59,26218,1664,49,50,51,59,69,100,101,104,108,109,110,112,115,13737,13740,13743,4636,13746,13748,13760,13769,13781,13786,13791,13800,13805,32827,185,16569,32827,178,16562,32827,179,16563,59,27334,256,111,115,13753,13756,116,59,27326,117,98,59,27352,256,59,100,4642,13765,111,116,59,27332,115,256,111,117,13775,13778,108,59,26569,98,59,27351,97,114,114,59,27003,117,108,116,59,27330,256,69,101,13796,13798,59,27340,59,25227,108,117,115,59,27328,384,101,105,117,13812,13833,13836,116,384,59,101,110,4636,13820,13826,113,256,59,113,4642,13746,101,113,256,59,113,13799,13796,109,59,27336,256,98,112,13841,13843,59,27348,59,27350,384,65,97,110,13852,13856,13869,114,114,59,25049,114,256,104,114,13862,13864,235,8750,256,59,111,2603,2601,119,97,114,59,26922,108,105,103,32827,223,16607,3041,13905,13917,13920,4814,13939,13945,0,13950,14018,0,0,0,0,0,14043,14083,0,14089,14188,0,0,0,14215,626,13910,0,0,13915,103,101,116,59,25366,59,17348,114,235,3679,384,97,101,121,13926,13931,13936,114,111,110,59,16741,100,105,108,59,16739,59,17474,108,114,101,99,59,25365,114,59,49152,55349,56625,512,101,105,107,111,13958,13981,14005,14012,498,13963,0,13969,101,256,52,102,4740,4737,97,384,59,115,118,13976,13977,13979,17336,121,109,59,17361,256,99,110,13986,14002,107,256,97,115,13992,13998,112,112,114,111,248,4801,105,109,187,4780,115,240,4766,256,97,115,14010,13998,240,4801,114,110,32827,254,16638,492,799,14022,8935,101,115,33152,215,59,98,100,14031,14032,14040,16599,256,59,97,6415,14037,114,59,27185,59,27184,384,101,112,115,14049,14051,14080,225,10829,512,59,98,99,102,1158,14060,14064,14068,111,116,59,25398,105,114,59,27377,256,59,111,14073,14076,49152,55349,56677,114,107,59,27354,225,13154,114,105,109,101,59,24628,384,97,105,112,14095,14098,14180,100,229,4680,896,97,100,101,109,112,115,116,14113,14157,14144,14161,14167,14172,14175,110,103,108,101,640,59,100,108,113,114,14128,14129,14134,14144,14146,26037,111,119,110,187,7611,101,102,116,256,59,101,10240,14142,241,2350,59,25180,105,103,104,116,256,59,101,12970,14155,241,4186,111,116,59,26092,105,110,117,115,59,27194,108,117,115,59,27193,98,59,27085,105,109,101,59,27195,101,122,105,117,109,59,25570,384,99,104,116,14194,14205,14209,256,114,121,14199,14203,59,49152,55349,56521,59,17478,99,121,59,17499,114,111,107,59,16743,256,105,111,14219,14222,120,244,6007,104,101,97,100,256,108,114,14231,14240,101,102,116,97,114,114,111,247,2127,105,103,104,116,97,114,114,111,119,187,3933,2304,65,72,97,98,99,100,102,103,104,108,109,111,112,114,115,116,117,119,14288,14291,14295,14308,14320,14332,14350,14364,14371,14388,14417,14429,14443,14505,14540,14546,14570,14582,114,242,1005,97,114,59,26979,256,99,114,14300,14306,117,116,101,32827,250,16634,242,4432,114,483,14314,0,14317,121,59,17502,118,101,59,16749,256,105,121,14325,14330,114,99,32827,251,16635,59,17475,384,97,98,104,14339,14342,14347,114,242,5037,108,97,99,59,16753,97,242,5059,256,105,114,14355,14360,115,104,116,59,27006,59,49152,55349,56626,114,97,118,101,32827,249,16633,353,14375,14385,114,256,108,114,14380,14382,187,2391,187,4227,108,107,59,25984,256,99,116,14393,14413,623,14399,0,0,14410,114,110,256,59,101,14405,14406,25372,114,187,14406,111,112,59,25359,114,105,59,26104,256,97,108,14422,14426,99,114,59,16747,32955,168,841,256,103,112,14434,14438,111,110,59,16755,102,59,49152,55349,56678,768,97,100,104,108,115,117,4427,14456,14461,4978,14481,14496,111,119,110,225,5043,97,114,112,111,111,110,256,108,114,14472,14476,101,102,244,14381,105,103,104,244,14383,105,384,59,104,108,14489,14490,14492,17349,187,5114,111,110,187,14490,112,97,114,114,111,119,115,59,25032,384,99,105,116,14512,14532,14536,623,14518,0,0,14529,114,110,256,59,101,14524,14525,25373,114,187,14525,111,112,59,25358,110,103,59,16751,114,105,59,26105,99,114,59,49152,55349,56522,384,100,105,114,14553,14557,14562,111,116,59,25328,108,100,101,59,16745,105,256,59,102,14128,14568,187,6163,256,97,109,14575,14578,114,242,14504,108,32827,252,16636,97,110,103,108,101,59,27047,1920,65,66,68,97,99,100,101,102,108,110,111,112,114,115,122,14620,14623,14633,14637,14773,14776,14781,14815,14820,14824,14835,14841,14845,14849,14880,114,242,1015,97,114,256,59,118,14630,14631,27368,59,27369,97,115,232,993,256,110,114,14642,14647,103,114,116,59,27036,896,101,107,110,112,114,115,116,13539,14662,14667,14674,14685,14692,14742,97,112,112,225,9237,111,116,104,105,110,231,7830,384,104,105,114,13547,11976,14681,111,112,244,12213,256,59,104,5047,14690,239,12685,256,105,117,14697,14701,103,109,225,13235,256,98,112,14706,14724,115,101,116,110,101,113,256,59,113,14717,14720,49152,8842,65024,59,49152,10955,65024,115,101,116,110,101,113,256,59,113,14735,14738,49152,8843,65024,59,49152,10956,65024,256,104,114,14747,14751,101,116,225,13980,105,97,110,103,108,101,256,108,114,14762,14767,101,102,116,187,2341,105,103,104,116,187,4177,121,59,17458,97,115,104,187,4150,384,101,108,114,14788,14802,14807,384,59,98,101,11754,14795,14799,97,114,59,25275,113,59,25178,108,105,112,59,25326,256,98,116,14812,5224,97,242,5225,114,59,49152,55349,56627,116,114,233,14766,115,117,256,98,112,14831,14833,187,3356,187,3417,112,102,59,49152,55349,56679,114,111,240,3835,116,114,233,14772,256,99,117,14854,14859,114,59,49152,55349,56523,256,98,112,14864,14872,110,256,69,101,14720,14870,187,14718,110,256,69,101,14738,14878,187,14736,105,103,122,97,103,59,27034,896,99,101,102,111,112,114,115,14902,14907,14934,14939,14932,14945,14954,105,114,99,59,16757,256,100,105,14912,14929,256,98,103,14917,14921,97,114,59,27231,101,256,59,113,5626,14927,59,25177,101,114,112,59,24856,114,59,49152,55349,56628,112,102,59,49152,55349,56680,256,59,101,5241,14950,97,116,232,5241,99,114,59,49152,55349,56524,2787,6030,14983,0,14987,0,14992,15003,0,0,15005,15016,15019,15023,0,0,15043,15054,0,15064,6108,6111,116,114,233,6097,114,59,49152,55349,56629,256,65,97,14996,14999,114,242,963,114,242,2550,59,17342,256,65,97,15009,15012,114,242,952,114,242,2539,97,240,10003,105,115,59,25339,384,100,112,116,6052,15029,15038,256,102,108,15034,6057,59,49152,55349,56681,105,109,229,6066,256,65,97,15047,15050,114,242,974,114,242,2561,256,99,113,15058,6072,114,59,49152,55349,56525,256,112,116,6102,15068,114,233,6100,1024,97,99,101,102,105,111,115,117,15088,15101,15112,15116,15121,15125,15131,15137,99,256,117,121,15094,15099,116,101,32827,253,16637,59,17487,256,105,121,15106,15110,114,99,59,16759,59,17483,110,32827,165,16549,114,59,49152,55349,56630,99,121,59,17495,112,102,59,49152,55349,56682,99,114,59,49152,55349,56526,256,99,109,15142,15145,121,59,17486,108,32827,255,16639,1280,97,99,100,101,102,104,105,111,115,119,15170,15176,15188,15192,15204,15209,15213,15220,15226,15232,99,117,116,101,59,16762,256,97,121,15181,15186,114,111,110,59,16766,59,17463,111,116,59,16764,256,101,116,15197,15201,116,114,230,5471,97,59,17334,114,59,49152,55349,56631,99,121,59,17462,103,114,97,114,114,59,25053,112,102,59,49152,55349,56683,99,114,59,49152,55349,56527,256,106,110,15237,15239,59,24589,106,59,24588])},3052:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=new Uint16Array([512,97,103,108,113,9,21,24,27,621,15,0,0,18,112,59,16422,111,115,59,16423,116,59,16446,116,59,16444,117,111,116,59,16418])},9789:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=new Map([[9,"&Tab;"],[10,"&NewLine;"],[33,"&excl;"],[34,"&quot;"],[35,"&num;"],[36,"&dollar;"],[37,"&percnt;"],[38,"&amp;"],[39,"&apos;"],[40,"&lpar;"],[41,"&rpar;"],[42,"&ast;"],[43,"&plus;"],[44,"&comma;"],[46,"&period;"],[47,"&sol;"],[58,"&colon;"],[59,"&semi;"],[60,{v:"&lt;",n:8402,o:"&nvlt;"}],[61,{v:"&equals;",n:8421,o:"&bne;"}],[62,{v:"&gt;",n:8402,o:"&nvgt;"}],[63,"&quest;"],[64,"&commat;"],[91,"&lbrack;"],[92,"&bsol;"],[93,"&rbrack;"],[94,"&Hat;"],[95,"&lowbar;"],[96,"&DiacriticalGrave;"],[102,{n:106,o:"&fjlig;"}],[123,"&lbrace;"],[124,"&verbar;"],[125,"&rbrace;"],[160,"&nbsp;"],[161,"&iexcl;"],[162,"&cent;"],[163,"&pound;"],[164,"&curren;"],[165,"&yen;"],[166,"&brvbar;"],[167,"&sect;"],[168,"&die;"],[169,"&copy;"],[170,"&ordf;"],[171,"&laquo;"],[172,"&not;"],[173,"&shy;"],[174,"&circledR;"],[175,"&macr;"],[176,"&deg;"],[177,"&PlusMinus;"],[178,"&sup2;"],[179,"&sup3;"],[180,"&acute;"],[181,"&micro;"],[182,"&para;"],[183,"&centerdot;"],[184,"&cedil;"],[185,"&sup1;"],[186,"&ordm;"],[187,"&raquo;"],[188,"&frac14;"],[189,"&frac12;"],[190,"&frac34;"],[191,"&iquest;"],[192,"&Agrave;"],[193,"&Aacute;"],[194,"&Acirc;"],[195,"&Atilde;"],[196,"&Auml;"],[197,"&angst;"],[198,"&AElig;"],[199,"&Ccedil;"],[200,"&Egrave;"],[201,"&Eacute;"],[202,"&Ecirc;"],[203,"&Euml;"],[204,"&Igrave;"],[205,"&Iacute;"],[206,"&Icirc;"],[207,"&Iuml;"],[208,"&ETH;"],[209,"&Ntilde;"],[210,"&Ograve;"],[211,"&Oacute;"],[212,"&Ocirc;"],[213,"&Otilde;"],[214,"&Ouml;"],[215,"&times;"],[216,"&Oslash;"],[217,"&Ugrave;"],[218,"&Uacute;"],[219,"&Ucirc;"],[220,"&Uuml;"],[221,"&Yacute;"],[222,"&THORN;"],[223,"&szlig;"],[224,"&agrave;"],[225,"&aacute;"],[226,"&acirc;"],[227,"&atilde;"],[228,"&auml;"],[229,"&aring;"],[230,"&aelig;"],[231,"&ccedil;"],[232,"&egrave;"],[233,"&eacute;"],[234,"&ecirc;"],[235,"&euml;"],[236,"&igrave;"],[237,"&iacute;"],[238,"&icirc;"],[239,"&iuml;"],[240,"&eth;"],[241,"&ntilde;"],[242,"&ograve;"],[243,"&oacute;"],[244,"&ocirc;"],[245,"&otilde;"],[246,"&ouml;"],[247,"&div;"],[248,"&oslash;"],[249,"&ugrave;"],[250,"&uacute;"],[251,"&ucirc;"],[252,"&uuml;"],[253,"&yacute;"],[254,"&thorn;"],[255,"&yuml;"],[256,"&Amacr;"],[257,"&amacr;"],[258,"&Abreve;"],[259,"&abreve;"],[260,"&Aogon;"],[261,"&aogon;"],[262,"&Cacute;"],[263,"&cacute;"],[264,"&Ccirc;"],[265,"&ccirc;"],[266,"&Cdot;"],[267,"&cdot;"],[268,"&Ccaron;"],[269,"&ccaron;"],[270,"&Dcaron;"],[271,"&dcaron;"],[272,"&Dstrok;"],[273,"&dstrok;"],[274,"&Emacr;"],[275,"&emacr;"],[278,"&Edot;"],[279,"&edot;"],[280,"&Eogon;"],[281,"&eogon;"],[282,"&Ecaron;"],[283,"&ecaron;"],[284,"&Gcirc;"],[285,"&gcirc;"],[286,"&Gbreve;"],[287,"&gbreve;"],[288,"&Gdot;"],[289,"&gdot;"],[290,"&Gcedil;"],[292,"&Hcirc;"],[293,"&hcirc;"],[294,"&Hstrok;"],[295,"&hstrok;"],[296,"&Itilde;"],[297,"&itilde;"],[298,"&Imacr;"],[299,"&imacr;"],[302,"&Iogon;"],[303,"&iogon;"],[304,"&Idot;"],[305,"&imath;"],[306,"&IJlig;"],[307,"&ijlig;"],[308,"&Jcirc;"],[309,"&jcirc;"],[310,"&Kcedil;"],[311,"&kcedil;"],[312,"&kgreen;"],[313,"&Lacute;"],[314,"&lacute;"],[315,"&Lcedil;"],[316,"&lcedil;"],[317,"&Lcaron;"],[318,"&lcaron;"],[319,"&Lmidot;"],[320,"&lmidot;"],[321,"&Lstrok;"],[322,"&lstrok;"],[323,"&Nacute;"],[324,"&nacute;"],[325,"&Ncedil;"],[326,"&ncedil;"],[327,"&Ncaron;"],[328,"&ncaron;"],[329,"&napos;"],[330,"&ENG;"],[331,"&eng;"],[332,"&Omacr;"],[333,"&omacr;"],[336,"&Odblac;"],[337,"&odblac;"],[338,"&OElig;"],[339,"&oelig;"],[340,"&Racute;"],[341,"&racute;"],[342,"&Rcedil;"],[343,"&rcedil;"],[344,"&Rcaron;"],[345,"&rcaron;"],[346,"&Sacute;"],[347,"&sacute;"],[348,"&Scirc;"],[349,"&scirc;"],[350,"&Scedil;"],[351,"&scedil;"],[352,"&Scaron;"],[353,"&scaron;"],[354,"&Tcedil;"],[355,"&tcedil;"],[356,"&Tcaron;"],[357,"&tcaron;"],[358,"&Tstrok;"],[359,"&tstrok;"],[360,"&Utilde;"],[361,"&utilde;"],[362,"&Umacr;"],[363,"&umacr;"],[364,"&Ubreve;"],[365,"&ubreve;"],[366,"&Uring;"],[367,"&uring;"],[368,"&Udblac;"],[369,"&udblac;"],[370,"&Uogon;"],[371,"&uogon;"],[372,"&Wcirc;"],[373,"&wcirc;"],[374,"&Ycirc;"],[375,"&ycirc;"],[376,"&Yuml;"],[377,"&Zacute;"],[378,"&zacute;"],[379,"&Zdot;"],[380,"&zdot;"],[381,"&Zcaron;"],[382,"&zcaron;"],[402,"&fnof;"],[437,"&imped;"],[501,"&gacute;"],[567,"&jmath;"],[710,"&circ;"],[711,"&caron;"],[728,"&breve;"],[729,"&DiacriticalDot;"],[730,"&ring;"],[731,"&ogon;"],[732,"&DiacriticalTilde;"],[733,"&dblac;"],[785,"&DownBreve;"],[913,"&Alpha;"],[914,"&Beta;"],[915,"&Gamma;"],[916,"&Delta;"],[917,"&Epsilon;"],[918,"&Zeta;"],[919,"&Eta;"],[920,"&Theta;"],[921,"&Iota;"],[922,"&Kappa;"],[923,"&Lambda;"],[924,"&Mu;"],[925,"&Nu;"],[926,"&Xi;"],[927,"&Omicron;"],[928,"&Pi;"],[929,"&Rho;"],[931,"&Sigma;"],[932,"&Tau;"],[933,"&Upsilon;"],[934,"&Phi;"],[935,"&Chi;"],[936,"&Psi;"],[937,"&ohm;"],[945,"&alpha;"],[946,"&beta;"],[947,"&gamma;"],[948,"&delta;"],[949,"&epsi;"],[950,"&zeta;"],[951,"&eta;"],[952,"&theta;"],[953,"&iota;"],[954,"&kappa;"],[955,"&lambda;"],[956,"&mu;"],[957,"&nu;"],[958,"&xi;"],[959,"&omicron;"],[960,"&pi;"],[961,"&rho;"],[962,"&sigmaf;"],[963,"&sigma;"],[964,"&tau;"],[965,"&upsi;"],[966,"&phi;"],[967,"&chi;"],[968,"&psi;"],[969,"&omega;"],[977,"&thetasym;"],[978,"&Upsi;"],[981,"&phiv;"],[982,"&piv;"],[988,"&Gammad;"],[989,"&digamma;"],[1008,"&kappav;"],[1009,"&rhov;"],[1013,"&epsiv;"],[1014,"&backepsilon;"],[1025,"&IOcy;"],[1026,"&DJcy;"],[1027,"&GJcy;"],[1028,"&Jukcy;"],[1029,"&DScy;"],[1030,"&Iukcy;"],[1031,"&YIcy;"],[1032,"&Jsercy;"],[1033,"&LJcy;"],[1034,"&NJcy;"],[1035,"&TSHcy;"],[1036,"&KJcy;"],[1038,"&Ubrcy;"],[1039,"&DZcy;"],[1040,"&Acy;"],[1041,"&Bcy;"],[1042,"&Vcy;"],[1043,"&Gcy;"],[1044,"&Dcy;"],[1045,"&IEcy;"],[1046,"&ZHcy;"],[1047,"&Zcy;"],[1048,"&Icy;"],[1049,"&Jcy;"],[1050,"&Kcy;"],[1051,"&Lcy;"],[1052,"&Mcy;"],[1053,"&Ncy;"],[1054,"&Ocy;"],[1055,"&Pcy;"],[1056,"&Rcy;"],[1057,"&Scy;"],[1058,"&Tcy;"],[1059,"&Ucy;"],[1060,"&Fcy;"],[1061,"&KHcy;"],[1062,"&TScy;"],[1063,"&CHcy;"],[1064,"&SHcy;"],[1065,"&SHCHcy;"],[1066,"&HARDcy;"],[1067,"&Ycy;"],[1068,"&SOFTcy;"],[1069,"&Ecy;"],[1070,"&YUcy;"],[1071,"&YAcy;"],[1072,"&acy;"],[1073,"&bcy;"],[1074,"&vcy;"],[1075,"&gcy;"],[1076,"&dcy;"],[1077,"&iecy;"],[1078,"&zhcy;"],[1079,"&zcy;"],[1080,"&icy;"],[1081,"&jcy;"],[1082,"&kcy;"],[1083,"&lcy;"],[1084,"&mcy;"],[1085,"&ncy;"],[1086,"&ocy;"],[1087,"&pcy;"],[1088,"&rcy;"],[1089,"&scy;"],[1090,"&tcy;"],[1091,"&ucy;"],[1092,"&fcy;"],[1093,"&khcy;"],[1094,"&tscy;"],[1095,"&chcy;"],[1096,"&shcy;"],[1097,"&shchcy;"],[1098,"&hardcy;"],[1099,"&ycy;"],[1100,"&softcy;"],[1101,"&ecy;"],[1102,"&yucy;"],[1103,"&yacy;"],[1105,"&iocy;"],[1106,"&djcy;"],[1107,"&gjcy;"],[1108,"&jukcy;"],[1109,"&dscy;"],[1110,"&iukcy;"],[1111,"&yicy;"],[1112,"&jsercy;"],[1113,"&ljcy;"],[1114,"&njcy;"],[1115,"&tshcy;"],[1116,"&kjcy;"],[1118,"&ubrcy;"],[1119,"&dzcy;"],[8194,"&ensp;"],[8195,"&emsp;"],[8196,"&emsp13;"],[8197,"&emsp14;"],[8199,"&numsp;"],[8200,"&puncsp;"],[8201,"&ThinSpace;"],[8202,"&hairsp;"],[8203,"&NegativeMediumSpace;"],[8204,"&zwnj;"],[8205,"&zwj;"],[8206,"&lrm;"],[8207,"&rlm;"],[8208,"&dash;"],[8211,"&ndash;"],[8212,"&mdash;"],[8213,"&horbar;"],[8214,"&Verbar;"],[8216,"&lsquo;"],[8217,"&CloseCurlyQuote;"],[8218,"&lsquor;"],[8220,"&ldquo;"],[8221,"&CloseCurlyDoubleQuote;"],[8222,"&bdquo;"],[8224,"&dagger;"],[8225,"&Dagger;"],[8226,"&bull;"],[8229,"&nldr;"],[8230,"&hellip;"],[8240,"&permil;"],[8241,"&pertenk;"],[8242,"&prime;"],[8243,"&Prime;"],[8244,"&tprime;"],[8245,"&backprime;"],[8249,"&lsaquo;"],[8250,"&rsaquo;"],[8254,"&oline;"],[8257,"&caret;"],[8259,"&hybull;"],[8260,"&frasl;"],[8271,"&bsemi;"],[8279,"&qprime;"],[8287,{v:"&MediumSpace;",n:8202,o:"&ThickSpace;"}],[8288,"&NoBreak;"],[8289,"&af;"],[8290,"&InvisibleTimes;"],[8291,"&ic;"],[8364,"&euro;"],[8411,"&tdot;"],[8412,"&DotDot;"],[8450,"&complexes;"],[8453,"&incare;"],[8458,"&gscr;"],[8459,"&hamilt;"],[8460,"&Hfr;"],[8461,"&Hopf;"],[8462,"&planckh;"],[8463,"&hbar;"],[8464,"&imagline;"],[8465,"&Ifr;"],[8466,"&lagran;"],[8467,"&ell;"],[8469,"&naturals;"],[8470,"&numero;"],[8471,"&copysr;"],[8472,"&weierp;"],[8473,"&Popf;"],[8474,"&Qopf;"],[8475,"&realine;"],[8476,"&real;"],[8477,"&reals;"],[8478,"&rx;"],[8482,"&trade;"],[8484,"&integers;"],[8487,"&mho;"],[8488,"&zeetrf;"],[8489,"&iiota;"],[8492,"&bernou;"],[8493,"&Cayleys;"],[8495,"&escr;"],[8496,"&Escr;"],[8497,"&Fouriertrf;"],[8499,"&Mellintrf;"],[8500,"&order;"],[8501,"&alefsym;"],[8502,"&beth;"],[8503,"&gimel;"],[8504,"&daleth;"],[8517,"&CapitalDifferentialD;"],[8518,"&dd;"],[8519,"&ee;"],[8520,"&ii;"],[8531,"&frac13;"],[8532,"&frac23;"],[8533,"&frac15;"],[8534,"&frac25;"],[8535,"&frac35;"],[8536,"&frac45;"],[8537,"&frac16;"],[8538,"&frac56;"],[8539,"&frac18;"],[8540,"&frac38;"],[8541,"&frac58;"],[8542,"&frac78;"],[8592,"&larr;"],[8593,"&ShortUpArrow;"],[8594,"&rarr;"],[8595,"&darr;"],[8596,"&harr;"],[8597,"&updownarrow;"],[8598,"&nwarr;"],[8599,"&nearr;"],[8600,"&LowerRightArrow;"],[8601,"&LowerLeftArrow;"],[8602,"&nlarr;"],[8603,"&nrarr;"],[8605,{v:"&rarrw;",n:824,o:"&nrarrw;"}],[8606,"&Larr;"],[8607,"&Uarr;"],[8608,"&Rarr;"],[8609,"&Darr;"],[8610,"&larrtl;"],[8611,"&rarrtl;"],[8612,"&LeftTeeArrow;"],[8613,"&mapstoup;"],[8614,"&map;"],[8615,"&DownTeeArrow;"],[8617,"&hookleftarrow;"],[8618,"&hookrightarrow;"],[8619,"&larrlp;"],[8620,"&looparrowright;"],[8621,"&harrw;"],[8622,"&nharr;"],[8624,"&lsh;"],[8625,"&rsh;"],[8626,"&ldsh;"],[8627,"&rdsh;"],[8629,"&crarr;"],[8630,"&cularr;"],[8631,"&curarr;"],[8634,"&circlearrowleft;"],[8635,"&circlearrowright;"],[8636,"&leftharpoonup;"],[8637,"&DownLeftVector;"],[8638,"&RightUpVector;"],[8639,"&LeftUpVector;"],[8640,"&rharu;"],[8641,"&DownRightVector;"],[8642,"&dharr;"],[8643,"&dharl;"],[8644,"&RightArrowLeftArrow;"],[8645,"&udarr;"],[8646,"&LeftArrowRightArrow;"],[8647,"&leftleftarrows;"],[8648,"&upuparrows;"],[8649,"&rightrightarrows;"],[8650,"&ddarr;"],[8651,"&leftrightharpoons;"],[8652,"&Equilibrium;"],[8653,"&nlArr;"],[8654,"&nhArr;"],[8655,"&nrArr;"],[8656,"&DoubleLeftArrow;"],[8657,"&DoubleUpArrow;"],[8658,"&DoubleRightArrow;"],[8659,"&dArr;"],[8660,"&DoubleLeftRightArrow;"],[8661,"&DoubleUpDownArrow;"],[8662,"&nwArr;"],[8663,"&neArr;"],[8664,"&seArr;"],[8665,"&swArr;"],[8666,"&lAarr;"],[8667,"&rAarr;"],[8669,"&zigrarr;"],[8676,"&larrb;"],[8677,"&rarrb;"],[8693,"&DownArrowUpArrow;"],[8701,"&loarr;"],[8702,"&roarr;"],[8703,"&hoarr;"],[8704,"&forall;"],[8705,"&comp;"],[8706,{v:"&part;",n:824,o:"&npart;"}],[8707,"&exist;"],[8708,"&nexist;"],[8709,"&empty;"],[8711,"&Del;"],[8712,"&Element;"],[8713,"&NotElement;"],[8715,"&ni;"],[8716,"&notni;"],[8719,"&prod;"],[8720,"&coprod;"],[8721,"&sum;"],[8722,"&minus;"],[8723,"&MinusPlus;"],[8724,"&dotplus;"],[8726,"&Backslash;"],[8727,"&lowast;"],[8728,"&compfn;"],[8730,"&radic;"],[8733,"&prop;"],[8734,"&infin;"],[8735,"&angrt;"],[8736,{v:"&ang;",n:8402,o:"&nang;"}],[8737,"&angmsd;"],[8738,"&angsph;"],[8739,"&mid;"],[8740,"&nmid;"],[8741,"&DoubleVerticalBar;"],[8742,"&NotDoubleVerticalBar;"],[8743,"&and;"],[8744,"&or;"],[8745,{v:"&cap;",n:65024,o:"&caps;"}],[8746,{v:"&cup;",n:65024,o:"&cups;"}],[8747,"&int;"],[8748,"&Int;"],[8749,"&iiint;"],[8750,"&conint;"],[8751,"&Conint;"],[8752,"&Cconint;"],[8753,"&cwint;"],[8754,"&ClockwiseContourIntegral;"],[8755,"&awconint;"],[8756,"&there4;"],[8757,"&becaus;"],[8758,"&ratio;"],[8759,"&Colon;"],[8760,"&dotminus;"],[8762,"&mDDot;"],[8763,"&homtht;"],[8764,{v:"&sim;",n:8402,o:"&nvsim;"}],[8765,{v:"&backsim;",n:817,o:"&race;"}],[8766,{v:"&ac;",n:819,o:"&acE;"}],[8767,"&acd;"],[8768,"&VerticalTilde;"],[8769,"&NotTilde;"],[8770,{v:"&eqsim;",n:824,o:"&nesim;"}],[8771,"&sime;"],[8772,"&NotTildeEqual;"],[8773,"&cong;"],[8774,"&simne;"],[8775,"&ncong;"],[8776,"&ap;"],[8777,"&nap;"],[8778,"&ape;"],[8779,{v:"&apid;",n:824,o:"&napid;"}],[8780,"&backcong;"],[8781,{v:"&asympeq;",n:8402,o:"&nvap;"}],[8782,{v:"&bump;",n:824,o:"&nbump;"}],[8783,{v:"&bumpe;",n:824,o:"&nbumpe;"}],[8784,{v:"&doteq;",n:824,o:"&nedot;"}],[8785,"&doteqdot;"],[8786,"&efDot;"],[8787,"&erDot;"],[8788,"&Assign;"],[8789,"&ecolon;"],[8790,"&ecir;"],[8791,"&circeq;"],[8793,"&wedgeq;"],[8794,"&veeeq;"],[8796,"&triangleq;"],[8799,"&equest;"],[8800,"&ne;"],[8801,{v:"&Congruent;",n:8421,o:"&bnequiv;"}],[8802,"&nequiv;"],[8804,{v:"&le;",n:8402,o:"&nvle;"}],[8805,{v:"&ge;",n:8402,o:"&nvge;"}],[8806,{v:"&lE;",n:824,o:"&nlE;"}],[8807,{v:"&gE;",n:824,o:"&ngE;"}],[8808,{v:"&lnE;",n:65024,o:"&lvertneqq;"}],[8809,{v:"&gnE;",n:65024,o:"&gvertneqq;"}],[8810,{v:"&ll;",n:new Map([[824,"&nLtv;"],[8402,"&nLt;"]])}],[8811,{v:"&gg;",n:new Map([[824,"&nGtv;"],[8402,"&nGt;"]])}],[8812,"&between;"],[8813,"&NotCupCap;"],[8814,"&nless;"],[8815,"&ngt;"],[8816,"&nle;"],[8817,"&nge;"],[8818,"&lesssim;"],[8819,"&GreaterTilde;"],[8820,"&nlsim;"],[8821,"&ngsim;"],[8822,"&LessGreater;"],[8823,"&gl;"],[8824,"&NotLessGreater;"],[8825,"&NotGreaterLess;"],[8826,"&pr;"],[8827,"&sc;"],[8828,"&prcue;"],[8829,"&sccue;"],[8830,"&PrecedesTilde;"],[8831,{v:"&scsim;",n:824,o:"&NotSucceedsTilde;"}],[8832,"&NotPrecedes;"],[8833,"&NotSucceeds;"],[8834,{v:"&sub;",n:8402,o:"&NotSubset;"}],[8835,{v:"&sup;",n:8402,o:"&NotSuperset;"}],[8836,"&nsub;"],[8837,"&nsup;"],[8838,"&sube;"],[8839,"&supe;"],[8840,"&NotSubsetEqual;"],[8841,"&NotSupersetEqual;"],[8842,{v:"&subne;",n:65024,o:"&varsubsetneq;"}],[8843,{v:"&supne;",n:65024,o:"&varsupsetneq;"}],[8845,"&cupdot;"],[8846,"&UnionPlus;"],[8847,{v:"&sqsub;",n:824,o:"&NotSquareSubset;"}],[8848,{v:"&sqsup;",n:824,o:"&NotSquareSuperset;"}],[8849,"&sqsube;"],[8850,"&sqsupe;"],[8851,{v:"&sqcap;",n:65024,o:"&sqcaps;"}],[8852,{v:"&sqcup;",n:65024,o:"&sqcups;"}],[8853,"&CirclePlus;"],[8854,"&CircleMinus;"],[8855,"&CircleTimes;"],[8856,"&osol;"],[8857,"&CircleDot;"],[8858,"&circledcirc;"],[8859,"&circledast;"],[8861,"&circleddash;"],[8862,"&boxplus;"],[8863,"&boxminus;"],[8864,"&boxtimes;"],[8865,"&dotsquare;"],[8866,"&RightTee;"],[8867,"&dashv;"],[8868,"&DownTee;"],[8869,"&bot;"],[8871,"&models;"],[8872,"&DoubleRightTee;"],[8873,"&Vdash;"],[8874,"&Vvdash;"],[8875,"&VDash;"],[8876,"&nvdash;"],[8877,"&nvDash;"],[8878,"&nVdash;"],[8879,"&nVDash;"],[8880,"&prurel;"],[8882,"&LeftTriangle;"],[8883,"&RightTriangle;"],[8884,{v:"&LeftTriangleEqual;",n:8402,o:"&nvltrie;"}],[8885,{v:"&RightTriangleEqual;",n:8402,o:"&nvrtrie;"}],[8886,"&origof;"],[8887,"&imof;"],[8888,"&multimap;"],[8889,"&hercon;"],[8890,"&intcal;"],[8891,"&veebar;"],[8893,"&barvee;"],[8894,"&angrtvb;"],[8895,"&lrtri;"],[8896,"&bigwedge;"],[8897,"&bigvee;"],[8898,"&bigcap;"],[8899,"&bigcup;"],[8900,"&diam;"],[8901,"&sdot;"],[8902,"&sstarf;"],[8903,"&divideontimes;"],[8904,"&bowtie;"],[8905,"&ltimes;"],[8906,"&rtimes;"],[8907,"&leftthreetimes;"],[8908,"&rightthreetimes;"],[8909,"&backsimeq;"],[8910,"&curlyvee;"],[8911,"&curlywedge;"],[8912,"&Sub;"],[8913,"&Sup;"],[8914,"&Cap;"],[8915,"&Cup;"],[8916,"&fork;"],[8917,"&epar;"],[8918,"&lessdot;"],[8919,"&gtdot;"],[8920,{v:"&Ll;",n:824,o:"&nLl;"}],[8921,{v:"&Gg;",n:824,o:"&nGg;"}],[8922,{v:"&leg;",n:65024,o:"&lesg;"}],[8923,{v:"&gel;",n:65024,o:"&gesl;"}],[8926,"&cuepr;"],[8927,"&cuesc;"],[8928,"&NotPrecedesSlantEqual;"],[8929,"&NotSucceedsSlantEqual;"],[8930,"&NotSquareSubsetEqual;"],[8931,"&NotSquareSupersetEqual;"],[8934,"&lnsim;"],[8935,"&gnsim;"],[8936,"&precnsim;"],[8937,"&scnsim;"],[8938,"&nltri;"],[8939,"&NotRightTriangle;"],[8940,"&nltrie;"],[8941,"&NotRightTriangleEqual;"],[8942,"&vellip;"],[8943,"&ctdot;"],[8944,"&utdot;"],[8945,"&dtdot;"],[8946,"&disin;"],[8947,"&isinsv;"],[8948,"&isins;"],[8949,{v:"&isindot;",n:824,o:"&notindot;"}],[8950,"&notinvc;"],[8951,"&notinvb;"],[8953,{v:"&isinE;",n:824,o:"&notinE;"}],[8954,"&nisd;"],[8955,"&xnis;"],[8956,"&nis;"],[8957,"&notnivc;"],[8958,"&notnivb;"],[8965,"&barwed;"],[8966,"&Barwed;"],[8968,"&lceil;"],[8969,"&rceil;"],[8970,"&LeftFloor;"],[8971,"&rfloor;"],[8972,"&drcrop;"],[8973,"&dlcrop;"],[8974,"&urcrop;"],[8975,"&ulcrop;"],[8976,"&bnot;"],[8978,"&profline;"],[8979,"&profsurf;"],[8981,"&telrec;"],[8982,"&target;"],[8988,"&ulcorn;"],[8989,"&urcorn;"],[8990,"&dlcorn;"],[8991,"&drcorn;"],[8994,"&frown;"],[8995,"&smile;"],[9005,"&cylcty;"],[9006,"&profalar;"],[9014,"&topbot;"],[9021,"&ovbar;"],[9023,"&solbar;"],[9084,"&angzarr;"],[9136,"&lmoustache;"],[9137,"&rmoustache;"],[9140,"&OverBracket;"],[9141,"&bbrk;"],[9142,"&bbrktbrk;"],[9180,"&OverParenthesis;"],[9181,"&UnderParenthesis;"],[9182,"&OverBrace;"],[9183,"&UnderBrace;"],[9186,"&trpezium;"],[9191,"&elinters;"],[9251,"&blank;"],[9416,"&circledS;"],[9472,"&boxh;"],[9474,"&boxv;"],[9484,"&boxdr;"],[9488,"&boxdl;"],[9492,"&boxur;"],[9496,"&boxul;"],[9500,"&boxvr;"],[9508,"&boxvl;"],[9516,"&boxhd;"],[9524,"&boxhu;"],[9532,"&boxvh;"],[9552,"&boxH;"],[9553,"&boxV;"],[9554,"&boxdR;"],[9555,"&boxDr;"],[9556,"&boxDR;"],[9557,"&boxdL;"],[9558,"&boxDl;"],[9559,"&boxDL;"],[9560,"&boxuR;"],[9561,"&boxUr;"],[9562,"&boxUR;"],[9563,"&boxuL;"],[9564,"&boxUl;"],[9565,"&boxUL;"],[9566,"&boxvR;"],[9567,"&boxVr;"],[9568,"&boxVR;"],[9569,"&boxvL;"],[9570,"&boxVl;"],[9571,"&boxVL;"],[9572,"&boxHd;"],[9573,"&boxhD;"],[9574,"&boxHD;"],[9575,"&boxHu;"],[9576,"&boxhU;"],[9577,"&boxHU;"],[9578,"&boxvH;"],[9579,"&boxVh;"],[9580,"&boxVH;"],[9600,"&uhblk;"],[9604,"&lhblk;"],[9608,"&block;"],[9617,"&blk14;"],[9618,"&blk12;"],[9619,"&blk34;"],[9633,"&square;"],[9642,"&blacksquare;"],[9643,"&EmptyVerySmallSquare;"],[9645,"&rect;"],[9646,"&marker;"],[9649,"&fltns;"],[9651,"&bigtriangleup;"],[9652,"&blacktriangle;"],[9653,"&triangle;"],[9656,"&blacktriangleright;"],[9657,"&rtri;"],[9661,"&bigtriangledown;"],[9662,"&blacktriangledown;"],[9663,"&dtri;"],[9666,"&blacktriangleleft;"],[9667,"&ltri;"],[9674,"&loz;"],[9675,"&cir;"],[9708,"&tridot;"],[9711,"&bigcirc;"],[9720,"&ultri;"],[9721,"&urtri;"],[9722,"&lltri;"],[9723,"&EmptySmallSquare;"],[9724,"&FilledSmallSquare;"],[9733,"&bigstar;"],[9734,"&star;"],[9742,"&phone;"],[9792,"&female;"],[9794,"&male;"],[9824,"&spades;"],[9827,"&clubs;"],[9829,"&hearts;"],[9830,"&diamondsuit;"],[9834,"&sung;"],[9837,"&flat;"],[9838,"&natural;"],[9839,"&sharp;"],[10003,"&check;"],[10007,"&cross;"],[10016,"&malt;"],[10038,"&sext;"],[10072,"&VerticalSeparator;"],[10098,"&lbbrk;"],[10099,"&rbbrk;"],[10184,"&bsolhsub;"],[10185,"&suphsol;"],[10214,"&LeftDoubleBracket;"],[10215,"&RightDoubleBracket;"],[10216,"&lang;"],[10217,"&rang;"],[10218,"&Lang;"],[10219,"&Rang;"],[10220,"&loang;"],[10221,"&roang;"],[10229,"&longleftarrow;"],[10230,"&longrightarrow;"],[10231,"&longleftrightarrow;"],[10232,"&DoubleLongLeftArrow;"],[10233,"&DoubleLongRightArrow;"],[10234,"&DoubleLongLeftRightArrow;"],[10236,"&longmapsto;"],[10239,"&dzigrarr;"],[10498,"&nvlArr;"],[10499,"&nvrArr;"],[10500,"&nvHarr;"],[10501,"&Map;"],[10508,"&lbarr;"],[10509,"&bkarow;"],[10510,"&lBarr;"],[10511,"&dbkarow;"],[10512,"&drbkarow;"],[10513,"&DDotrahd;"],[10514,"&UpArrowBar;"],[10515,"&DownArrowBar;"],[10518,"&Rarrtl;"],[10521,"&latail;"],[10522,"&ratail;"],[10523,"&lAtail;"],[10524,"&rAtail;"],[10525,"&larrfs;"],[10526,"&rarrfs;"],[10527,"&larrbfs;"],[10528,"&rarrbfs;"],[10531,"&nwarhk;"],[10532,"&nearhk;"],[10533,"&hksearow;"],[10534,"&hkswarow;"],[10535,"&nwnear;"],[10536,"&nesear;"],[10537,"&seswar;"],[10538,"&swnwar;"],[10547,{v:"&rarrc;",n:824,o:"&nrarrc;"}],[10549,"&cudarrr;"],[10550,"&ldca;"],[10551,"&rdca;"],[10552,"&cudarrl;"],[10553,"&larrpl;"],[10556,"&curarrm;"],[10557,"&cularrp;"],[10565,"&rarrpl;"],[10568,"&harrcir;"],[10569,"&Uarrocir;"],[10570,"&lurdshar;"],[10571,"&ldrushar;"],[10574,"&LeftRightVector;"],[10575,"&RightUpDownVector;"],[10576,"&DownLeftRightVector;"],[10577,"&LeftUpDownVector;"],[10578,"&LeftVectorBar;"],[10579,"&RightVectorBar;"],[10580,"&RightUpVectorBar;"],[10581,"&RightDownVectorBar;"],[10582,"&DownLeftVectorBar;"],[10583,"&DownRightVectorBar;"],[10584,"&LeftUpVectorBar;"],[10585,"&LeftDownVectorBar;"],[10586,"&LeftTeeVector;"],[10587,"&RightTeeVector;"],[10588,"&RightUpTeeVector;"],[10589,"&RightDownTeeVector;"],[10590,"&DownLeftTeeVector;"],[10591,"&DownRightTeeVector;"],[10592,"&LeftUpTeeVector;"],[10593,"&LeftDownTeeVector;"],[10594,"&lHar;"],[10595,"&uHar;"],[10596,"&rHar;"],[10597,"&dHar;"],[10598,"&luruhar;"],[10599,"&ldrdhar;"],[10600,"&ruluhar;"],[10601,"&rdldhar;"],[10602,"&lharul;"],[10603,"&llhard;"],[10604,"&rharul;"],[10605,"&lrhard;"],[10606,"&udhar;"],[10607,"&duhar;"],[10608,"&RoundImplies;"],[10609,"&erarr;"],[10610,"&simrarr;"],[10611,"&larrsim;"],[10612,"&rarrsim;"],[10613,"&rarrap;"],[10614,"&ltlarr;"],[10616,"&gtrarr;"],[10617,"&subrarr;"],[10619,"&suplarr;"],[10620,"&lfisht;"],[10621,"&rfisht;"],[10622,"&ufisht;"],[10623,"&dfisht;"],[10629,"&lopar;"],[10630,"&ropar;"],[10635,"&lbrke;"],[10636,"&rbrke;"],[10637,"&lbrkslu;"],[10638,"&rbrksld;"],[10639,"&lbrksld;"],[10640,"&rbrkslu;"],[10641,"&langd;"],[10642,"&rangd;"],[10643,"&lparlt;"],[10644,"&rpargt;"],[10645,"&gtlPar;"],[10646,"&ltrPar;"],[10650,"&vzigzag;"],[10652,"&vangrt;"],[10653,"&angrtvbd;"],[10660,"&ange;"],[10661,"&range;"],[10662,"&dwangle;"],[10663,"&uwangle;"],[10664,"&angmsdaa;"],[10665,"&angmsdab;"],[10666,"&angmsdac;"],[10667,"&angmsdad;"],[10668,"&angmsdae;"],[10669,"&angmsdaf;"],[10670,"&angmsdag;"],[10671,"&angmsdah;"],[10672,"&bemptyv;"],[10673,"&demptyv;"],[10674,"&cemptyv;"],[10675,"&raemptyv;"],[10676,"&laemptyv;"],[10677,"&ohbar;"],[10678,"&omid;"],[10679,"&opar;"],[10681,"&operp;"],[10683,"&olcross;"],[10684,"&odsold;"],[10686,"&olcir;"],[10687,"&ofcir;"],[10688,"&olt;"],[10689,"&ogt;"],[10690,"&cirscir;"],[10691,"&cirE;"],[10692,"&solb;"],[10693,"&bsolb;"],[10697,"&boxbox;"],[10701,"&trisb;"],[10702,"&rtriltri;"],[10703,{v:"&LeftTriangleBar;",n:824,o:"&NotLeftTriangleBar;"}],[10704,{v:"&RightTriangleBar;",n:824,o:"&NotRightTriangleBar;"}],[10716,"&iinfin;"],[10717,"&infintie;"],[10718,"&nvinfin;"],[10723,"&eparsl;"],[10724,"&smeparsl;"],[10725,"&eqvparsl;"],[10731,"&blacklozenge;"],[10740,"&RuleDelayed;"],[10742,"&dsol;"],[10752,"&bigodot;"],[10753,"&bigoplus;"],[10754,"&bigotimes;"],[10756,"&biguplus;"],[10758,"&bigsqcup;"],[10764,"&iiiint;"],[10765,"&fpartint;"],[10768,"&cirfnint;"],[10769,"&awint;"],[10770,"&rppolint;"],[10771,"&scpolint;"],[10772,"&npolint;"],[10773,"&pointint;"],[10774,"&quatint;"],[10775,"&intlarhk;"],[10786,"&pluscir;"],[10787,"&plusacir;"],[10788,"&simplus;"],[10789,"&plusdu;"],[10790,"&plussim;"],[10791,"&plustwo;"],[10793,"&mcomma;"],[10794,"&minusdu;"],[10797,"&loplus;"],[10798,"&roplus;"],[10799,"&Cross;"],[10800,"&timesd;"],[10801,"&timesbar;"],[10803,"&smashp;"],[10804,"&lotimes;"],[10805,"&rotimes;"],[10806,"&otimesas;"],[10807,"&Otimes;"],[10808,"&odiv;"],[10809,"&triplus;"],[10810,"&triminus;"],[10811,"&tritime;"],[10812,"&intprod;"],[10815,"&amalg;"],[10816,"&capdot;"],[10818,"&ncup;"],[10819,"&ncap;"],[10820,"&capand;"],[10821,"&cupor;"],[10822,"&cupcap;"],[10823,"&capcup;"],[10824,"&cupbrcap;"],[10825,"&capbrcup;"],[10826,"&cupcup;"],[10827,"&capcap;"],[10828,"&ccups;"],[10829,"&ccaps;"],[10832,"&ccupssm;"],[10835,"&And;"],[10836,"&Or;"],[10837,"&andand;"],[10838,"&oror;"],[10839,"&orslope;"],[10840,"&andslope;"],[10842,"&andv;"],[10843,"&orv;"],[10844,"&andd;"],[10845,"&ord;"],[10847,"&wedbar;"],[10854,"&sdote;"],[10858,"&simdot;"],[10861,{v:"&congdot;",n:824,o:"&ncongdot;"}],[10862,"&easter;"],[10863,"&apacir;"],[10864,{v:"&apE;",n:824,o:"&napE;"}],[10865,"&eplus;"],[10866,"&pluse;"],[10867,"&Esim;"],[10868,"&Colone;"],[10869,"&Equal;"],[10871,"&ddotseq;"],[10872,"&equivDD;"],[10873,"&ltcir;"],[10874,"&gtcir;"],[10875,"&ltquest;"],[10876,"&gtquest;"],[10877,{v:"&leqslant;",n:824,o:"&nleqslant;"}],[10878,{v:"&geqslant;",n:824,o:"&ngeqslant;"}],[10879,"&lesdot;"],[10880,"&gesdot;"],[10881,"&lesdoto;"],[10882,"&gesdoto;"],[10883,"&lesdotor;"],[10884,"&gesdotol;"],[10885,"&lap;"],[10886,"&gap;"],[10887,"&lne;"],[10888,"&gne;"],[10889,"&lnap;"],[10890,"&gnap;"],[10891,"&lEg;"],[10892,"&gEl;"],[10893,"&lsime;"],[10894,"&gsime;"],[10895,"&lsimg;"],[10896,"&gsiml;"],[10897,"&lgE;"],[10898,"&glE;"],[10899,"&lesges;"],[10900,"&gesles;"],[10901,"&els;"],[10902,"&egs;"],[10903,"&elsdot;"],[10904,"&egsdot;"],[10905,"&el;"],[10906,"&eg;"],[10909,"&siml;"],[10910,"&simg;"],[10911,"&simlE;"],[10912,"&simgE;"],[10913,{v:"&LessLess;",n:824,o:"&NotNestedLessLess;"}],[10914,{v:"&GreaterGreater;",n:824,o:"&NotNestedGreaterGreater;"}],[10916,"&glj;"],[10917,"&gla;"],[10918,"&ltcc;"],[10919,"&gtcc;"],[10920,"&lescc;"],[10921,"&gescc;"],[10922,"&smt;"],[10923,"&lat;"],[10924,{v:"&smte;",n:65024,o:"&smtes;"}],[10925,{v:"&late;",n:65024,o:"&lates;"}],[10926,"&bumpE;"],[10927,{v:"&PrecedesEqual;",n:824,o:"&NotPrecedesEqual;"}],[10928,{v:"&sce;",n:824,o:"&NotSucceedsEqual;"}],[10931,"&prE;"],[10932,"&scE;"],[10933,"&precneqq;"],[10934,"&scnE;"],[10935,"&prap;"],[10936,"&scap;"],[10937,"&precnapprox;"],[10938,"&scnap;"],[10939,"&Pr;"],[10940,"&Sc;"],[10941,"&subdot;"],[10942,"&supdot;"],[10943,"&subplus;"],[10944,"&supplus;"],[10945,"&submult;"],[10946,"&supmult;"],[10947,"&subedot;"],[10948,"&supedot;"],[10949,{v:"&subE;",n:824,o:"&nsubE;"}],[10950,{v:"&supE;",n:824,o:"&nsupE;"}],[10951,"&subsim;"],[10952,"&supsim;"],[10955,{v:"&subnE;",n:65024,o:"&varsubsetneqq;"}],[10956,{v:"&supnE;",n:65024,o:"&varsupsetneqq;"}],[10959,"&csub;"],[10960,"&csup;"],[10961,"&csube;"],[10962,"&csupe;"],[10963,"&subsup;"],[10964,"&supsub;"],[10965,"&subsub;"],[10966,"&supsup;"],[10967,"&suphsub;"],[10968,"&supdsub;"],[10969,"&forkv;"],[10970,"&topfork;"],[10971,"&mlcp;"],[10980,"&Dashv;"],[10982,"&Vdashl;"],[10983,"&Barv;"],[10984,"&vBar;"],[10985,"&vBarv;"],[10987,"&Vbar;"],[10988,"&Not;"],[10989,"&bNot;"],[10990,"&rnmid;"],[10991,"&cirmid;"],[10992,"&midcir;"],[10993,"&topcir;"],[10994,"&nhpar;"],[10995,"&parsim;"],[11005,{v:"&parsl;",n:8421,o:"&nparsl;"}],[55349,{n:new Map([[56476,"&Ascr;"],[56478,"&Cscr;"],[56479,"&Dscr;"],[56482,"&Gscr;"],[56485,"&Jscr;"],[56486,"&Kscr;"],[56489,"&Nscr;"],[56490,"&Oscr;"],[56491,"&Pscr;"],[56492,"&Qscr;"],[56494,"&Sscr;"],[56495,"&Tscr;"],[56496,"&Uscr;"],[56497,"&Vscr;"],[56498,"&Wscr;"],[56499,"&Xscr;"],[56500,"&Yscr;"],[56501,"&Zscr;"],[56502,"&ascr;"],[56503,"&bscr;"],[56504,"&cscr;"],[56505,"&dscr;"],[56507,"&fscr;"],[56509,"&hscr;"],[56510,"&iscr;"],[56511,"&jscr;"],[56512,"&kscr;"],[56513,"&lscr;"],[56514,"&mscr;"],[56515,"&nscr;"],[56517,"&pscr;"],[56518,"&qscr;"],[56519,"&rscr;"],[56520,"&sscr;"],[56521,"&tscr;"],[56522,"&uscr;"],[56523,"&vscr;"],[56524,"&wscr;"],[56525,"&xscr;"],[56526,"&yscr;"],[56527,"&zscr;"],[56580,"&Afr;"],[56581,"&Bfr;"],[56583,"&Dfr;"],[56584,"&Efr;"],[56585,"&Ffr;"],[56586,"&Gfr;"],[56589,"&Jfr;"],[56590,"&Kfr;"],[56591,"&Lfr;"],[56592,"&Mfr;"],[56593,"&Nfr;"],[56594,"&Ofr;"],[56595,"&Pfr;"],[56596,"&Qfr;"],[56598,"&Sfr;"],[56599,"&Tfr;"],[56600,"&Ufr;"],[56601,"&Vfr;"],[56602,"&Wfr;"],[56603,"&Xfr;"],[56604,"&Yfr;"],[56606,"&afr;"],[56607,"&bfr;"],[56608,"&cfr;"],[56609,"&dfr;"],[56610,"&efr;"],[56611,"&ffr;"],[56612,"&gfr;"],[56613,"&hfr;"],[56614,"&ifr;"],[56615,"&jfr;"],[56616,"&kfr;"],[56617,"&lfr;"],[56618,"&mfr;"],[56619,"&nfr;"],[56620,"&ofr;"],[56621,"&pfr;"],[56622,"&qfr;"],[56623,"&rfr;"],[56624,"&sfr;"],[56625,"&tfr;"],[56626,"&ufr;"],[56627,"&vfr;"],[56628,"&wfr;"],[56629,"&xfr;"],[56630,"&yfr;"],[56631,"&zfr;"],[56632,"&Aopf;"],[56633,"&Bopf;"],[56635,"&Dopf;"],[56636,"&Eopf;"],[56637,"&Fopf;"],[56638,"&Gopf;"],[56640,"&Iopf;"],[56641,"&Jopf;"],[56642,"&Kopf;"],[56643,"&Lopf;"],[56644,"&Mopf;"],[56646,"&Oopf;"],[56650,"&Sopf;"],[56651,"&Topf;"],[56652,"&Uopf;"],[56653,"&Vopf;"],[56654,"&Wopf;"],[56655,"&Xopf;"],[56656,"&Yopf;"],[56658,"&aopf;"],[56659,"&bopf;"],[56660,"&copf;"],[56661,"&dopf;"],[56662,"&eopf;"],[56663,"&fopf;"],[56664,"&gopf;"],[56665,"&hopf;"],[56666,"&iopf;"],[56667,"&jopf;"],[56668,"&kopf;"],[56669,"&lopf;"],[56670,"&mopf;"],[56671,"&nopf;"],[56672,"&oopf;"],[56673,"&popf;"],[56674,"&qopf;"],[56675,"&ropf;"],[56676,"&sopf;"],[56677,"&topf;"],[56678,"&uopf;"],[56679,"&vopf;"],[56680,"&wopf;"],[56681,"&xopf;"],[56682,"&yopf;"],[56683,"&zopf;"]])}],[64256,"&fflig;"],[64257,"&filig;"],[64258,"&fllig;"],[64259,"&ffilig;"],[64260,"&ffllig;"]])},7187:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.decodeXMLStrict=t.decodeHTML5Strict=t.decodeHTML4Strict=t.decodeHTML5=t.decodeHTML4=t.decodeHTMLStrict=t.decodeHTML=t.decodeXML=t.encodeHTML5=t.encodeHTML4=t.encodeNonAsciiHTML=t.encodeHTML=t.escapeText=t.escapeAttribute=t.escapeUTF8=t.escape=t.encodeXML=t.encode=t.decodeStrict=t.decode=t.EncodingMode=t.DecodingMode=t.EntityLevel=void 0;var r,o,i,a=n(6376),l=n(342),s=n(7066);!function(e){e[e.XML=0]="XML",e[e.HTML=1]="HTML"}(r=t.EntityLevel||(t.EntityLevel={})),function(e){e[e.Legacy=0]="Legacy",e[e.Strict=1]="Strict"}(o=t.DecodingMode||(t.DecodingMode={})),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=function(e,t){void 0===t&&(t=r.XML);var n="number"==typeof t?{level:t}:t;return n.level===r.HTML?n.mode===o.Strict?(0,a.decodeHTMLStrict)(e):(0,a.decodeHTML)(e):(0,a.decodeXML)(e)},t.decodeStrict=function(e,t){void 0===t&&(t=r.XML);var n="number"==typeof t?{level:t}:t;return n.level===r.HTML?n.mode===o.Legacy?(0,a.decodeHTML)(e):(0,a.decodeHTMLStrict)(e):(0,a.decodeXML)(e)},t.encode=function(e,t){void 0===t&&(t=r.XML);var n="number"==typeof t?{level:t}:t;return n.mode===i.UTF8?(0,s.escapeUTF8)(e):n.mode===i.Attribute?(0,s.escapeAttribute)(e):n.mode===i.Text?(0,s.escapeText)(e):n.level===r.HTML?n.mode===i.ASCII?(0,l.encodeNonAsciiHTML)(e):(0,l.encodeHTML)(e):(0,s.encodeXML)(e)};var u=n(7066);Object.defineProperty(t,"encodeXML",{enumerable:!0,get:function(){return u.encodeXML}}),Object.defineProperty(t,"escape",{enumerable:!0,get:function(){return u.escape}}),Object.defineProperty(t,"escapeUTF8",{enumerable:!0,get:function(){return u.escapeUTF8}}),Object.defineProperty(t,"escapeAttribute",{enumerable:!0,get:function(){return u.escapeAttribute}}),Object.defineProperty(t,"escapeText",{enumerable:!0,get:function(){return u.escapeText}});var c=n(342);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=n(6376);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,"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}})},9959:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var o=Object.getOwnPropertyDescriptor(t,n);o&&!("get"in o?!t.__esModule:o.writable||o.configurable)||(o={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,o)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),o=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||r(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),t.DomHandler=void 0;var i=n(2891),a=n(5538);o(n(5538),t);var l={withStartIndices:!1,withEndIndices:!1,xmlMode:!1},s=function(){function e(e,t,n){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&&(n=t,t=l),"object"==typeof e&&(t=e,e=void 0),this.callback=null!=e?e:null,this.options=null!=t?t:l,this.elementCB=null!=n?n: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 n=this.options.xmlMode?i.ElementType.Tag:void 0,r=new a.Element(e,t,void 0,n);this.addNode(r),this.tagStack.push(r)},e.prototype.ontext=function(e){var t=this.lastNode;if(t&&t.type===i.ElementType.Text)t.data+=e,this.options.withEndIndices&&(t.endIndex=this.parser.endIndex);else{var n=new a.Text(e);this.addNode(n),this.lastNode=n}},e.prototype.oncomment=function(e){if(this.lastNode&&this.lastNode.type===i.ElementType.Comment)this.lastNode.data+=e;else{var t=new a.Comment(e);this.addNode(t),this.lastNode=t}},e.prototype.oncommentend=function(){this.lastNode=null},e.prototype.oncdatastart=function(){var e=new a.Text(""),t=new a.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 a.ProcessingInstruction(e,t);this.addNode(n)},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],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}();t.DomHandler=s,t.default=s},5538:function(e,t,n){"use strict";var r,o=this&&this.__extends||(r=function(e,t){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},r(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),i=this&&this.__assign||function(){return i=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},i.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=n(2891),l=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),x(this,e)},e}();t.Node=l;var s=function(e){function t(t){var n=e.call(this)||this;return n.data=t,n}return o(t,e),Object.defineProperty(t.prototype,"nodeValue",{get:function(){return this.data},set:function(e){this.data=e},enumerable:!1,configurable:!0}),t}(l);t.DataNode=s;var u=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.type=a.ElementType.Text,t}return o(t,e),Object.defineProperty(t.prototype,"nodeType",{get:function(){return 3},enumerable:!1,configurable:!0}),t}(s);t.Text=u;var c=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.type=a.ElementType.Comment,t}return o(t,e),Object.defineProperty(t.prototype,"nodeType",{get:function(){return 8},enumerable:!1,configurable:!0}),t}(s);t.Comment=c;var d=function(e){function t(t,n){var r=e.call(this,n)||this;return r.name=t,r.type=a.ElementType.Directive,r}return o(t,e),Object.defineProperty(t.prototype,"nodeType",{get:function(){return 1},enumerable:!1,configurable:!0}),t}(s);t.ProcessingInstruction=d;var f=function(e){function t(t){var n=e.call(this)||this;return n.children=t,n}return o(t,e),Object.defineProperty(t.prototype,"firstChild",{get:function(){var e;return null!==(e=this.children[0])&&void 0!==e?e:null},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"lastChild",{get:function(){return this.children.length>0?this.children[this.children.length-1]:null},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"childNodes",{get:function(){return this.children},set:function(e){this.children=e},enumerable:!1,configurable:!0}),t}(l);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 o(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 o(t,e),Object.defineProperty(t.prototype,"nodeType",{get:function(){return 9},enumerable:!1,configurable:!0}),t}(f);t.Document=h;var g=function(e){function t(t,n,r,o){void 0===r&&(r=[]),void 0===o&&(o="script"===t?a.ElementType.Script:"style"===t?a.ElementType.Style:a.ElementType.Tag);var i=e.call(this,r)||this;return i.name=t,i.attribs=n,i.type=o,i}return o(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 n,r;return{name:t,value:e.attribs[t],namespace:null===(n=e["x-attribsNamespace"])||void 0===n?void 0:n[t],prefix:null===(r=e["x-attribsPrefix"])||void 0===r?void 0:r[t]}}))},enumerable:!1,configurable:!0}),t}(f);function m(e){return(0,a.isTag)(e)}function v(e){return e.type===a.ElementType.CDATA}function b(e){return e.type===a.ElementType.Text}function y(e){return e.type===a.ElementType.Comment}function A(e){return e.type===a.ElementType.Directive}function w(e){return e.type===a.ElementType.Root}function x(e,t){var n;if(void 0===t&&(t=!1),b(e))n=new u(e.data);else if(y(e))n=new c(e.data);else if(m(e)){var r=t?E(e.children):[],o=new g(e.name,i({},e.attribs),r);r.forEach((function(e){return e.parent=o})),null!=e.namespace&&(o.namespace=e.namespace),e["x-attribsNamespace"]&&(o["x-attribsNamespace"]=i({},e["x-attribsNamespace"])),e["x-attribsPrefix"]&&(o["x-attribsPrefix"]=i({},e["x-attribsPrefix"])),n=o}else if(v(e)){r=t?E(e.children):[];var a=new p(r);r.forEach((function(e){return e.parent=a})),n=a}else if(w(e)){r=t?E(e.children):[];var l=new h(r);r.forEach((function(e){return e.parent=l})),e["x-mode"]&&(l["x-mode"]=e["x-mode"]),n=l}else{if(!A(e))throw new Error("Not implemented yet: ".concat(e.type));var s=new d(e.name,e.data);null!=e["x-name"]&&(s["x-name"]=e["x-name"],s["x-publicId"]=e["x-publicId"],s["x-systemId"]=e["x-systemId"]),n=s}return n.startIndex=e.startIndex,n.endIndex=e.endIndex,null!=e.sourceCodeLocation&&(n.sourceCodeLocation=e.sourceCodeLocation),n}function E(e){for(var t=e.map((function(e){return x(e,!0)})),n=1;n<t.length;n++)t[n].prev=t[n-1],t[n-1].next=t[n];return t}t.Element=g,t.isTag=m,t.isCDATA=v,t.isText=b,t.isComment=y,t.isDirective=A,t.isDocument=w,t.hasChildren=function(e){return Object.prototype.hasOwnProperty.call(e,"children")},t.cloneNode=x},2891:(e,t)=>{"use strict";var n;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"}(n=t.ElementType||(t.ElementType={})),t.isTag=function(e){return e.type===n.Tag||e.type===n.Script||e.type===n.Style},t.Root=n.Root,t.Text=n.Text,t.Directive=n.Directive,t.Comment=n.Comment,t.Script=n.Script,t.Style=n.Style,t.Tag=n.Tag,t.CDATA=n.CDATA,t.Doctype=n.Doctype},161:e=>{"use strict";var t=Object.prototype.hasOwnProperty,n="~";function r(){}function o(e,t,n){this.fn=e,this.context=t,this.once=n||!1}function i(e,t,r,i,a){if("function"!=typeof r)throw new TypeError("The listener must be a function");var l=new o(r,i||e,a),s=n?n+t:t;return e._events[s]?e._events[s].fn?e._events[s]=[e._events[s],l]:e._events[s].push(l):(e._events[s]=l,e._eventsCount++),e}function a(e,t){0==--e._eventsCount?e._events=new r:delete e._events[t]}function l(){this._events=new r,this._eventsCount=0}Object.create&&(r.prototype=Object.create(null),(new r).__proto__||(n=!1)),l.prototype.eventNames=function(){var e,r,o=[];if(0===this._eventsCount)return o;for(r in e=this._events)t.call(e,r)&&o.push(n?r.slice(1):r);return Object.getOwnPropertySymbols?o.concat(Object.getOwnPropertySymbols(e)):o},l.prototype.listeners=function(e){var t=n?n+e:e,r=this._events[t];if(!r)return[];if(r.fn)return[r.fn];for(var o=0,i=r.length,a=new Array(i);o<i;o++)a[o]=r[o].fn;return a},l.prototype.listenerCount=function(e){var t=n?n+e:e,r=this._events[t];return r?r.fn?1:r.length:0},l.prototype.emit=function(e,t,r,o,i,a){var l=n?n+e:e;if(!this._events[l])return!1;var s,u,c=this._events[l],d=arguments.length;if(c.fn){switch(c.once&&this.removeListener(e,c.fn,void 0,!0),d){case 1:return c.fn.call(c.context),!0;case 2:return c.fn.call(c.context,t),!0;case 3:return c.fn.call(c.context,t,r),!0;case 4:return c.fn.call(c.context,t,r,o),!0;case 5:return c.fn.call(c.context,t,r,o,i),!0;case 6:return c.fn.call(c.context,t,r,o,i,a),!0}for(u=1,s=new Array(d-1);u<d;u++)s[u-1]=arguments[u];c.fn.apply(c.context,s)}else{var f,p=c.length;for(u=0;u<p;u++)switch(c[u].once&&this.removeListener(e,c[u].fn,void 0,!0),d){case 1:c[u].fn.call(c[u].context);break;case 2:c[u].fn.call(c[u].context,t);break;case 3:c[u].fn.call(c[u].context,t,r);break;case 4:c[u].fn.call(c[u].context,t,r,o);break;default:if(!s)for(f=1,s=new Array(d-1);f<d;f++)s[f-1]=arguments[f];c[u].fn.apply(c[u].context,s)}}return!0},l.prototype.on=function(e,t,n){return i(this,e,t,n,!1)},l.prototype.once=function(e,t,n){return i(this,e,t,n,!0)},l.prototype.removeListener=function(e,t,r,o){var i=n?n+e:e;if(!this._events[i])return this;if(!t)return a(this,i),this;var l=this._events[i];if(l.fn)l.fn!==t||o&&!l.once||r&&l.context!==r||a(this,i);else{for(var s=0,u=[],c=l.length;s<c;s++)(l[s].fn!==t||o&&!l[s].once||r&&l[s].context!==r)&&u.push(l[s]);u.length?this._events[i]=1===u.length?u[0]:u:a(this,i)}return this},l.prototype.removeAllListeners=function(e){var t;return e?(t=n?n+e:e,this._events[t]&&a(this,t)):(this._events=new r,this._eventsCount=0),this},l.prototype.off=l.prototype.removeListener,l.prototype.addListener=l.prototype.on,l.prefixed=n,l.EventEmitter=l,e.exports=l},5978:(e,t,n)=>{var r;!function(){"use strict";var o=!("undefined"==typeof window||!window.document||!window.document.createElement),i={canUseDOM:o,canUseWorkers:"undefined"!=typeof Worker,canUseEventListeners:o&&!(!window.addEventListener&&!window.attachEvent),canUseViewport:o&&!!window.screen};void 0===(r=function(){return i}.call(t,n,t,e))||(e.exports=r)}()},9385:e=>{"use strict";var t=Object.prototype.hasOwnProperty,n=Object.prototype.toString,r=Object.defineProperty,o=Object.getOwnPropertyDescriptor,i=function(e){return"function"==typeof Array.isArray?Array.isArray(e):"[object Array]"===n.call(e)},a=function(e){if(!e||"[object Object]"!==n.call(e))return!1;var r,o=t.call(e,"constructor"),i=e.constructor&&e.constructor.prototype&&t.call(e.constructor.prototype,"isPrototypeOf");if(e.constructor&&!o&&!i)return!1;for(r in e);return void 0===r||t.call(e,r)},l=function(e,t){r&&"__proto__"===t.name?r(e,t.name,{enumerable:!0,configurable:!0,value:t.newValue,writable:!0}):e[t.name]=t.newValue},s=function(e,n){if("__proto__"===n){if(!t.call(e,n))return;if(o)return o(e,n).value}return e[n]};e.exports=function e(){var t,n,r,o,u,c,d=arguments[0],f=1,p=arguments.length,h=!1;for("boolean"==typeof d&&(h=d,d=arguments[1]||{},f=2),(null==d||"object"!=typeof d&&"function"!=typeof d)&&(d={});f<p;++f)if(null!=(t=arguments[f]))for(n in t)r=s(d,n),d!==(o=s(t,n))&&(h&&o&&(a(o)||(u=i(o)))?(u?(u=!1,c=r&&i(r)?r:[]):c=r&&a(r)?r:{},l(d,{name:n,newValue:e(h,c,o)})):void 0!==o&&l(d,{name:n,newValue:o}));return d}},7570:e=>{"use strict";e.exports=function(e){var t=e.uri,n=e.name,r=e.type;this.uri=t,this.name=n,this.type=r}},2929:(e,t,n)=>{"use strict";var r=n(1278);e.exports=function e(t,n,o){var i;void 0===n&&(n=""),void 0===o&&(o=r);var a=new Map;function l(e,t){var n=a.get(t);n?n.push.apply(n,e):a.set(t,e)}if(o(t))i=null,l([n],t);else{var s=n?n+".":"";if("undefined"!=typeof FileList&&t instanceof FileList)i=Array.prototype.map.call(t,(function(e,t){return l([""+s+t],e),null}));else if(Array.isArray(t))i=t.map((function(t,n){var r=e(t,""+s+n,o);return r.files.forEach(l),r.clone}));else if(t&&t.constructor===Object)for(var u in i={},t){var c=e(t[u],""+s+u,o);c.files.forEach(l),i[u]=c.clone}else i=t}return{clone:i,files:a}}},9384:(e,t,n)=>{"use strict";t.ReactNativeFile=n(7570),t.extractFiles=n(2929),t.isExtractableFile=n(1278)},1278:(e,t,n)=>{"use strict";var r=n(7570);e.exports=function(e){return"undefined"!=typeof File&&e instanceof File||"undefined"!=typeof Blob&&e instanceof Blob||e instanceof r}},8749:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});var o=n(9384),i=r(n(5145)),a=function(e){return o.isExtractableFile(e)||null!==e&&"object"==typeof e&&"function"==typeof e.pipe};t.default=function(e,t,n){var r=o.extractFiles({query:e,variables:t,operationName:n},"",a),l=r.clone,s=r.files;if(0===s.size){if(!Array.isArray(e))return JSON.stringify(l);if(void 0!==t&&!Array.isArray(t))throw new Error("Cannot create request body with given variable type, array expected");var u=e.reduce((function(e,n,r){return e.push({query:n,variables:t?t[r]:void 0}),e}),[]);return JSON.stringify(u)}var c=new("undefined"==typeof FormData?i.default:FormData);c.append("operations",JSON.stringify(l));var d={},f=0;return s.forEach((function(e){d[++f]=e})),c.append("map",JSON.stringify(d)),f=0,s.forEach((function(e,t){c.append(""+ ++f,t)})),c}},6647:function(e,t,n){"use strict";var r=this&&this.__assign||function(){return r=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},r.apply(this,arguments)},o=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n),Object.defineProperty(e,r,{enumerable:!0,get:function(){return t[n]}})}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),i=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),a=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)"default"!==n&&Object.prototype.hasOwnProperty.call(e,n)&&o(t,e,n);return i(t,e),t},l=this&&this.__awaiter||function(e,t,n,r){return new(n||(n=Promise))((function(o,i){function a(e){try{s(r.next(e))}catch(e){i(e)}}function l(e){try{s(r.throw(e))}catch(e){i(e)}}function s(e){var t;e.done?o(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(a,l)}s((r=r.apply(e,t||[])).next())}))},s=this&&this.__generator||function(e,t){var n,r,o,i,a={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return i={next:l(0),throw:l(1),return:l(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function l(i){return function(l){return function(i){if(n)throw new TypeError("Generator is already executing.");for(;a;)try{if(n=1,r&&(o=2&i[0]?r.return:i[0]?r.throw||((o=r.return)&&o.call(r),0):r.next)&&!(o=o.call(r,i[1])).done)return o;switch(r=0,o&&(i=[2&i[0],o.value]),i[0]){case 0:case 1:o=i;break;case 4:return a.label++,{value:i[1],done:!1};case 5:a.label++,r=i[1],i=[0];continue;case 7:i=a.ops.pop(),a.trys.pop();continue;default:if(!((o=(o=a.trys).length>0&&o[o.length-1])||6!==i[0]&&2!==i[0])){a=0;continue}if(3===i[0]&&(!o||i[1]>o[0]&&i[1]<o[3])){a.label=i[1];break}if(6===i[0]&&a.label<o[1]){a.label=o[1],o=i;break}if(o&&a.label<o[2]){a.label=o[2],a.ops.push(i);break}o[2]&&a.ops.pop(),a.trys.pop();continue}i=t.call(e,a)}catch(e){i=[6,e],r=0}finally{n=o=0}if(5&i[0])throw i[1];return{value:i[0]?i[1]:void 0,done:!0}}([i,l])}}},u=this&&this.__rest||function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n},c=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.gql=t.batchRequests=t.request=t.rawRequest=t.GraphQLClient=t.ClientError=void 0;var d=a(n(6279)),f=d,p=n(3083),h=c(n(8749)),g=n(8328),m=n(8328);Object.defineProperty(t,"ClientError",{enumerable:!0,get:function(){return m.ClientError}});var v=function(e){var t={};return e&&("undefined"!=typeof Headers&&e instanceof Headers||e instanceof f.Headers?t=function(e){var t={};return e.forEach((function(e,n){t[n]=e})),t}(e):Array.isArray(e)?e.forEach((function(e){var n=e[0],r=e[1];t[n]=r})):t=e),t},b=function(e){return e.replace(/([\s,]|#[^\n\r]+)+/g," ").trim()},y=function(e){var t=e.url,n=e.query,o=e.variables,i=e.operationName,a=e.headers,u=e.fetch,c=e.fetchOptions;return l(void 0,void 0,void 0,(function(){var e;return s(this,(function(l){switch(l.label){case 0:return e=h.default(n,o,i),[4,u(t,r({method:"POST",headers:r(r({},"string"==typeof e?{"Content-Type":"application/json"}:{}),a),body:e},c))];case 1:return[2,l.sent()]}}))}))},A=function(e){var t=e.url,n=e.query,o=e.variables,i=e.operationName,a=e.headers,u=e.fetch,c=e.fetchOptions;return l(void 0,void 0,void 0,(function(){var e;return s(this,(function(l){switch(l.label){case 0:return e=function(e){var t=e.query,n=e.variables,r=e.operationName;if(!Array.isArray(t)){var o=["query="+encodeURIComponent(b(t))];return n&&o.push("variables="+encodeURIComponent(JSON.stringify(n))),r&&o.push("operationName="+encodeURIComponent(r)),o.join("&")}if(void 0!==n&&!Array.isArray(n))throw new Error("Cannot create query with given variable type, array expected");var i=t.reduce((function(e,t,r){return e.push({query:b(t),variables:n?JSON.stringify(n[r]):void 0}),e}),[]);return"query="+encodeURIComponent(JSON.stringify(i))}({query:n,variables:o,operationName:i}),[4,u(t+"?"+e,r({method:"GET",headers:a},c))];case 1:return[2,l.sent()]}}))}))},w=function(){function e(e,t){this.url=e,this.options=t||{}}return e.prototype.rawRequest=function(e,t,n){var o=this.options,i=o.headers,a=o.fetch,l=void 0===a?d.default:a,s=o.method,c=void 0===s?"POST":s,f=u(o,["headers","fetch","method"]);return x({url:this.url,query:e,variables:t,headers:r(r({},v(i)),v(n)),operationName:void 0,fetch:l,method:c,fetchOptions:f})},e.prototype.request=function(e,t,n){return l(this,void 0,void 0,(function(){var o,i,a,l,c,f,p,h,g,m,b;return s(this,(function(s){switch(s.label){case 0:return o=this.options,i=o.headers,a=o.fetch,l=void 0===a?d.default:a,c=o.method,f=void 0===c?"POST":c,p=u(o,["headers","fetch","method"]),h=this.url,g=S(e),m=g.query,b=g.operationName,[4,x({url:h,query:m,variables:t,headers:r(r({},v(i)),v(n)),operationName:b,fetch:l,method:f,fetchOptions:p})];case 1:return[2,s.sent().data]}}))}))},e.prototype.batchRequests=function(e,t){return l(this,void 0,void 0,(function(){var n,o,i,a,l,c,f,p,h,g;return s(this,(function(s){switch(s.label){case 0:return n=this.options,o=n.headers,i=n.fetch,a=void 0===i?d.default:i,l=n.method,c=void 0===l?"POST":l,f=u(n,["headers","fetch","method"]),p=this.url,h=e.map((function(e){return S(e.document).query})),g=e.map((function(e){return e.variables})),[4,x({url:p,query:h,variables:g,headers:r(r({},v(o)),v(t)),operationName:void 0,fetch:a,method:c,fetchOptions:f})];case 1:return[2,s.sent().data]}}))}))},e.prototype.setHeaders=function(e){return this.options.headers=e,this},e.prototype.setHeader=function(e,t){var n,r=this.options.headers;return r?r[e]=t:this.options.headers=((n={})[e]=t,n),this},e.prototype.setEndpoint=function(e){return this.url=e,this},e}();function x(e){var t=e.url,n=e.query,o=e.variables,i=e.headers,a=e.operationName,u=e.fetch,c=e.method,d=void 0===c?"POST":c,f=e.fetchOptions;return l(this,void 0,void 0,(function(){var e,l,c,p,h,m,v,b;return s(this,(function(s){switch(s.label){case 0:return e="POST"===d.toUpperCase()?y:A,l=Array.isArray(n),[4,e({url:t,query:n,variables:o,operationName:a,headers:i,fetch:u,fetchOptions:f})];case 1:return[4,k(c=s.sent())];case 2:if(p=s.sent(),h=l&&Array.isArray(p)?!p.some((function(e){return!e.data})):!!p.data,c.ok&&!p.errors&&h)return m=c.headers,v=c.status,[2,r(r({},l?{data:p}:p),{headers:m,status:v})];throw b="string"==typeof p?{error:p}:p,new g.ClientError(r(r({},b),{status:c.status,headers:c.headers}),{query:n,variables:o})}}))}))}function E(e,t,n,r){return l(this,void 0,void 0,(function(){return s(this,(function(o){return[2,new w(e).request(t,n,r)]}))}))}function k(e){var t=e.headers.get("Content-Type");return t&&t.startsWith("application/json")?e.json():e.text()}function S(e){var t;if("string"==typeof e)return{query:e};var n=void 0,r=e.definitions.filter((function(e){return"OperationDefinition"===e.kind}));return 1===r.length&&(n=null===(t=r[0].name)||void 0===t?void 0:t.value),{query:p.print(e),operationName:n}}t.GraphQLClient=w,t.rawRequest=function(e,t,n,r){return l(this,void 0,void 0,(function(){return s(this,(function(o){return[2,new w(e).rawRequest(t,n,r)]}))}))},t.request=E,t.batchRequests=function(e,t,n){return l(this,void 0,void 0,(function(){return s(this,(function(r){return[2,new w(e).batchRequests(t,n)]}))}))},t.default=E,t.gql=function(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];return e.reduce((function(e,n,r){return""+e+n+(r in t?t[r]:"")}),"")}},8328:function(e,t){"use strict";var n,r=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 n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},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)});Object.defineProperty(t,"__esModule",{value:!0}),t.ClientError=void 0;var o=function(e){function t(n,r){var o=this,i=t.extractMessage(n)+": "+JSON.stringify({response:n,request:r});return o=e.call(this,i)||this,Object.setPrototypeOf(o,t.prototype),o.response=n,o.request=r,"function"==typeof Error.captureStackTrace&&Error.captureStackTrace(o,t),o}return r(t,e),t.extractMessage=function(e){try{return e.errors[0].message}catch(t){return"GraphQL Error (Code: "+e.status+")"}},t}(Error);t.ClientError=o},5145:e=>{e.exports="object"==typeof self?self.FormData:window.FormData},2678:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t=e.prototype.toJSON;"function"==typeof t||(0,r.default)(0),e.prototype.inspect=t,o.default&&(e.prototype[o.default]=t)};var r=i(n(5006)),o=i(n(8019));function i(e){return e&&e.__esModule?e:{default:e}}},8048:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return a(e,[])};var r,o=(r=n(8019))&&r.__esModule?r:{default:r};function i(e){return i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},i(e)}function a(e,t){switch(i(e)){case"string":return JSON.stringify(e);case"function":return e.name?"[function ".concat(e.name,"]"):"[function]";case"object":return null===e?"null":function(e,t){if(-1!==t.indexOf(e))return"[Circular]";var n=[].concat(t,[e]),r=function(e){var t=e[String(o.default)];return"function"==typeof t?t:"function"==typeof e.inspect?e.inspect:void 0}(e);if(void 0!==r){var i=r.call(e);if(i!==e)return"string"==typeof i?i:a(i,n)}else if(Array.isArray(e))return function(e,t){if(0===e.length)return"[]";if(t.length>2)return"[Array]";for(var n=Math.min(10,e.length),r=e.length-n,o=[],i=0;i<n;++i)o.push(a(e[i],t));return 1===r?o.push("... 1 more item"):r>1&&o.push("... ".concat(r," more items")),"["+o.join(", ")+"]"}(e,n);return function(e,t){var n=Object.keys(e);return 0===n.length?"{}":t.length>2?"["+function(e){var t=Object.prototype.toString.call(e).replace(/^\[object /,"").replace(/]$/,"");if("Object"===t&&"function"==typeof e.constructor){var n=e.constructor.name;if("string"==typeof n&&""!==n)return n}return t}(e)+"]":"{ "+n.map((function(n){return n+": "+a(e[n],t)})).join(", ")+" }"}(e,n)}(e,t);default:return String(e)}}},5006:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){if(!Boolean(e))throw new Error(null!=t?t:"Unexpected invariant triggered.")}},8019:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n="function"==typeof Symbol&&"function"==typeof Symbol.for?Symbol.for("nodejs.util.inspect.custom"):void 0;t.default=n},4560:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isNode=function(e){return null!=e&&"string"==typeof e.kind},t.Token=t.Location=void 0;var r,o=(r=n(2678))&&r.__esModule?r:{default:r},i=function(){function e(e,t,n){this.start=e.start,this.end=t.end,this.startToken=e,this.endToken=t,this.source=n}return e.prototype.toJSON=function(){return{start:this.start,end:this.end}},e}();t.Location=i,(0,o.default)(i);var a=function(){function e(e,t,n,r,o,i,a){this.kind=e,this.start=t,this.end=n,this.line=r,this.column=o,this.value=a,this.prev=i,this.next=null}return e.prototype.toJSON=function(){return{kind:this.kind,value:this.value,line:this.line,column:this.column}},e}();t.Token=a,(0,o.default)(a)},9501:(e,t)=>{"use strict";function n(e){for(var t=0;t<e.length;++t)if(" "!==e[t]&&"\t"!==e[t])return!1;return!0}function r(e){for(var t,n=!0,r=!0,o=0,i=null,a=0;a<e.length;++a)switch(e.charCodeAt(a)){case 13:10===e.charCodeAt(a+1)&&++a;case 10:n=!1,r=!0,o=0;break;case 9:case 32:++o;break;default:r&&!n&&(null===i||o<i)&&(i=o),r=!1}return null!==(t=i)&&void 0!==t?t:0}Object.defineProperty(t,"__esModule",{value:!0}),t.dedentBlockStringValue=function(e){var t=e.split(/\r\n|[\n\r]/g),o=r(e);if(0!==o)for(var i=1;i<t.length;i++)t[i]=t[i].slice(o);for(var a=0;a<t.length&&n(t[a]);)++a;for(var l=t.length;l>a&&n(t[l-1]);)--l;return t.slice(a,l).join("\n")},t.getBlockStringIndentation=r,t.printBlockString=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],r=-1===e.indexOf("\n"),o=" "===e[0]||"\t"===e[0],i='"'===e[e.length-1],a="\\"===e[e.length-1],l=!r||i||a||n,s="";return!l||r&&o||(s+="\n"+t),s+=t?e.replace(/\n/g,"\n"+t):e,l&&(s+="\n"),'"""'+s.replace(/"""/g,'\\"""')+'"""'}},3083:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.print=function(e){return(0,r.visit)(e,{leave:i})};var r=n(2624),o=n(9501),i={Name:function(e){return e.value},Variable:function(e){return"$"+e.name},Document:function(e){return l(e.definitions,"\n\n")+"\n"},OperationDefinition:function(e){var t=e.operation,n=e.name,r=u("(",l(e.variableDefinitions,", "),")"),o=l(e.directives," "),i=e.selectionSet;return n||o||r||"query"!==t?l([t,l([n,r]),o,i]," "):i},VariableDefinition:function(e){var t=e.variable,n=e.type,r=e.defaultValue,o=e.directives;return t+": "+n+u(" = ",r)+u(" ",l(o," "))},SelectionSet:function(e){return s(e.selections)},Field:function(e){var t=e.alias,n=e.name,r=e.arguments,o=e.directives,i=e.selectionSet,a=u("",t,": ")+n,s=a+u("(",l(r,", "),")");return s.length>80&&(s=a+u("(\n",c(l(r,"\n")),"\n)")),l([s,l(o," "),i]," ")},Argument:function(e){return e.name+": "+e.value},FragmentSpread:function(e){return"..."+e.name+u(" ",l(e.directives," "))},InlineFragment:function(e){var t=e.typeCondition,n=e.directives,r=e.selectionSet;return l(["...",u("on ",t),l(n," "),r]," ")},FragmentDefinition:function(e){var t=e.name,n=e.typeCondition,r=e.variableDefinitions,o=e.directives,i=e.selectionSet;return"fragment ".concat(t).concat(u("(",l(r,", "),")")," ")+"on ".concat(n," ").concat(u("",l(o," ")," "))+i},IntValue:function(e){return e.value},FloatValue:function(e){return e.value},StringValue:function(e,t){var n=e.value;return e.block?(0,o.printBlockString)(n,"description"===t?"":" "):JSON.stringify(n)},BooleanValue:function(e){return e.value?"true":"false"},NullValue:function(){return"null"},EnumValue:function(e){return e.value},ListValue:function(e){return"["+l(e.values,", ")+"]"},ObjectValue:function(e){return"{"+l(e.fields,", ")+"}"},ObjectField:function(e){return e.name+": "+e.value},Directive:function(e){return"@"+e.name+u("(",l(e.arguments,", "),")")},NamedType:function(e){return e.name},ListType:function(e){return"["+e.type+"]"},NonNullType:function(e){return e.type+"!"},SchemaDefinition:a((function(e){var t=e.directives,n=e.operationTypes;return l(["schema",l(t," "),s(n)]," ")})),OperationTypeDefinition:function(e){return e.operation+": "+e.type},ScalarTypeDefinition:a((function(e){return l(["scalar",e.name,l(e.directives," ")]," ")})),ObjectTypeDefinition:a((function(e){var t=e.name,n=e.interfaces,r=e.directives,o=e.fields;return l(["type",t,u("implements ",l(n," & ")),l(r," "),s(o)]," ")})),FieldDefinition:a((function(e){var t=e.name,n=e.arguments,r=e.type,o=e.directives;return t+(f(n)?u("(\n",c(l(n,"\n")),"\n)"):u("(",l(n,", "),")"))+": "+r+u(" ",l(o," "))})),InputValueDefinition:a((function(e){var t=e.name,n=e.type,r=e.defaultValue,o=e.directives;return l([t+": "+n,u("= ",r),l(o," ")]," ")})),InterfaceTypeDefinition:a((function(e){var t=e.name,n=e.interfaces,r=e.directives,o=e.fields;return l(["interface",t,u("implements ",l(n," & ")),l(r," "),s(o)]," ")})),UnionTypeDefinition:a((function(e){var t=e.name,n=e.directives,r=e.types;return l(["union",t,l(n," "),r&&0!==r.length?"= "+l(r," | "):""]," ")})),EnumTypeDefinition:a((function(e){var t=e.name,n=e.directives,r=e.values;return l(["enum",t,l(n," "),s(r)]," ")})),EnumValueDefinition:a((function(e){return l([e.name,l(e.directives," ")]," ")})),InputObjectTypeDefinition:a((function(e){var t=e.name,n=e.directives,r=e.fields;return l(["input",t,l(n," "),s(r)]," ")})),DirectiveDefinition:a((function(e){var t=e.name,n=e.arguments,r=e.repeatable,o=e.locations;return"directive @"+t+(f(n)?u("(\n",c(l(n,"\n")),"\n)"):u("(",l(n,", "),")"))+(r?" repeatable":"")+" on "+l(o," | ")})),SchemaExtension:function(e){var t=e.directives,n=e.operationTypes;return l(["extend schema",l(t," "),s(n)]," ")},ScalarTypeExtension:function(e){return l(["extend scalar",e.name,l(e.directives," ")]," ")},ObjectTypeExtension:function(e){var t=e.name,n=e.interfaces,r=e.directives,o=e.fields;return l(["extend type",t,u("implements ",l(n," & ")),l(r," "),s(o)]," ")},InterfaceTypeExtension:function(e){var t=e.name,n=e.interfaces,r=e.directives,o=e.fields;return l(["extend interface",t,u("implements ",l(n," & ")),l(r," "),s(o)]," ")},UnionTypeExtension:function(e){var t=e.name,n=e.directives,r=e.types;return l(["extend union",t,l(n," "),r&&0!==r.length?"= "+l(r," | "):""]," ")},EnumTypeExtension:function(e){var t=e.name,n=e.directives,r=e.values;return l(["extend enum",t,l(n," "),s(r)]," ")},InputObjectTypeExtension:function(e){var t=e.name,n=e.directives,r=e.fields;return l(["extend input",t,l(n," "),s(r)]," ")}};function a(e){return function(t){return l([t.description,e(t)],"\n")}}function l(e){var t,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";return null!==(t=null==e?void 0:e.filter((function(e){return e})).join(n))&&void 0!==t?t:""}function s(e){return u("{\n",c(l(e,"\n")),"\n}")}function u(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"";return null!=t&&""!==t?e+t+n:""}function c(e){return u(" ",e.replace(/\n/g,"\n "))}function d(e){return-1!==e.indexOf("\n")}function f(e){return null!=e&&e.some(d)}},2624:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.visit=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:a,r=void 0,u=Array.isArray(e),c=[e],d=-1,f=[],p=void 0,h=void 0,g=void 0,m=[],v=[],b=e;do{var y=++d===c.length,A=y&&0!==f.length;if(y){if(h=0===v.length?void 0:m[m.length-1],p=g,g=v.pop(),A){if(u)p=p.slice();else{for(var w={},x=0,E=Object.keys(p);x<E.length;x++){var k=E[x];w[k]=p[k]}p=w}for(var S=0,_=0;_<f.length;_++){var C=f[_][0],T=f[_][1];u&&(C-=S),u&&null===T?(p.splice(C,1),S++):p[C]=T}}d=r.index,c=r.keys,f=r.edits,u=r.inArray,r=r.prev}else{if(h=g?u?d:c[d]:void 0,null==(p=g?g[h]:b))continue;g&&m.push(h)}var D,L=void 0;if(!Array.isArray(p)){if(!(0,i.isNode)(p))throw new Error("Invalid AST Node: ".concat((0,o.default)(p),"."));var O=s(t,p.kind,y);if(O){if((L=O.call(t,p,h,g,m,v))===l)break;if(!1===L){if(!y){m.pop();continue}}else if(void 0!==L&&(f.push([h,L]),!y)){if(!(0,i.isNode)(L)){m.pop();continue}p=L}}}void 0===L&&A&&f.push([h,p]),y?m.pop():(r={inArray:u,index:d,keys:c,edits:f,prev:r},c=(u=Array.isArray(p))?p:null!==(D=n[p.kind])&&void 0!==D?D:[],d=-1,f=[],g&&v.push(g),g=p)}while(void 0!==r);return 0!==f.length&&(b=f[f.length-1][1]),b},t.visitInParallel=function(e){var t=new Array(e.length);return{enter:function(n){for(var r=0;r<e.length;r++)if(null==t[r]){var o=s(e[r],n.kind,!1);if(o){var i=o.apply(e[r],arguments);if(!1===i)t[r]=n;else if(i===l)t[r]=l;else if(void 0!==i)return i}}},leave:function(n){for(var r=0;r<e.length;r++)if(null==t[r]){var o=s(e[r],n.kind,!0);if(o){var i=o.apply(e[r],arguments);if(i===l)t[r]=l;else if(void 0!==i&&!1!==i)return i}}else t[r]===n&&(t[r]=null)}}},t.getVisitFn=s,t.BREAK=t.QueryDocumentKeys=void 0;var r,o=(r=n(8048))&&r.__esModule?r:{default:r},i=n(4560),a={Name:[],Document:["definitions"],OperationDefinition:["name","variableDefinitions","directives","selectionSet"],VariableDefinition:["variable","type","defaultValue","directives"],Variable:["name"],SelectionSet:["selections"],Field:["alias","name","arguments","directives","selectionSet"],Argument:["name","value"],FragmentSpread:["name","directives"],InlineFragment:["typeCondition","directives","selectionSet"],FragmentDefinition:["name","variableDefinitions","typeCondition","directives","selectionSet"],IntValue:[],FloatValue:[],StringValue:[],BooleanValue:[],NullValue:[],EnumValue:[],ListValue:["values"],ObjectValue:["fields"],ObjectField:["name","value"],Directive:["name","arguments"],NamedType:["name"],ListType:["type"],NonNullType:["type"],SchemaDefinition:["description","directives","operationTypes"],OperationTypeDefinition:["type"],ScalarTypeDefinition:["description","name","directives"],ObjectTypeDefinition:["description","name","interfaces","directives","fields"],FieldDefinition:["description","name","arguments","type","directives"],InputValueDefinition:["description","name","type","defaultValue","directives"],InterfaceTypeDefinition:["description","name","interfaces","directives","fields"],UnionTypeDefinition:["description","name","directives","types"],EnumTypeDefinition:["description","name","directives","values"],EnumValueDefinition:["description","name","directives"],InputObjectTypeDefinition:["description","name","directives","fields"],DirectiveDefinition:["description","name","arguments","locations"],SchemaExtension:["directives","operationTypes"],ScalarTypeExtension:["name","directives"],ObjectTypeExtension:["name","interfaces","directives","fields"],InterfaceTypeExtension:["name","interfaces","directives","fields"],UnionTypeExtension:["name","directives","types"],EnumTypeExtension:["name","directives","values"],InputObjectTypeExtension:["name","directives","fields"]};t.QueryDocumentKeys=a;var l=Object.freeze({});function s(e,t,n){var r=e[t];if(r){if(!n&&"function"==typeof r)return r;var o=n?r.leave:r.enter;if("function"==typeof o)return o}else{var i=n?e.leave:e.enter;if(i){if("function"==typeof i)return i;var a=i[t];if("function"==typeof a)return a}}}t.BREAK=l},361:function(e,t,n){var r;e=n.nmd(e),function(o){var i=(e&&e.exports,"object"==typeof n.g&&n.g);i.global!==i&&i.window;var a=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,l=/[\x01-\x7F]/g,s=/[\x01-\t\x0B\f\x0E-\x1F\x7F\x81\x8D\x8F\x90\x9D\xA0-\uFFFF]/g,u=/<\u20D2|=\u20E5|>\u20D2|\u205F\u200A|\u219D\u0338|\u2202\u0338|\u2220\u20D2|\u2229\uFE00|\u222A\uFE00|\u223C\u20D2|\u223D\u0331|\u223E\u0333|\u2242\u0338|\u224B\u0338|\u224D\u20D2|\u224E\u0338|\u224F\u0338|\u2250\u0338|\u2261\u20E5|\u2264\u20D2|\u2265\u20D2|\u2266\u0338|\u2267\u0338|\u2268\uFE00|\u2269\uFE00|\u226A\u0338|\u226A\u20D2|\u226B\u0338|\u226B\u20D2|\u227F\u0338|\u2282\u20D2|\u2283\u20D2|\u228A\uFE00|\u228B\uFE00|\u228F\u0338|\u2290\u0338|\u2293\uFE00|\u2294\uFE00|\u22B4\u20D2|\u22B5\u20D2|\u22D8\u0338|\u22D9\u0338|\u22DA\uFE00|\u22DB\uFE00|\u22F5\u0338|\u22F9\u0338|\u2933\u0338|\u29CF\u0338|\u29D0\u0338|\u2A6D\u0338|\u2A70\u0338|\u2A7D\u0338|\u2A7E\u0338|\u2AA1\u0338|\u2AA2\u0338|\u2AAC\uFE00|\u2AAD\uFE00|\u2AAF\u0338|\u2AB0\u0338|\u2AC5\u0338|\u2AC6\u0338|\u2ACB\uFE00|\u2ACC\uFE00|\u2AFD\u20E5|[\xA0-\u0113\u0116-\u0122\u0124-\u012B\u012E-\u014D\u0150-\u017E\u0192\u01B5\u01F5\u0237\u02C6\u02C7\u02D8-\u02DD\u0311\u0391-\u03A1\u03A3-\u03A9\u03B1-\u03C9\u03D1\u03D2\u03D5\u03D6\u03DC\u03DD\u03F0\u03F1\u03F5\u03F6\u0401-\u040C\u040E-\u044F\u0451-\u045C\u045E\u045F\u2002-\u2005\u2007-\u2010\u2013-\u2016\u2018-\u201A\u201C-\u201E\u2020-\u2022\u2025\u2026\u2030-\u2035\u2039\u203A\u203E\u2041\u2043\u2044\u204F\u2057\u205F-\u2063\u20AC\u20DB\u20DC\u2102\u2105\u210A-\u2113\u2115-\u211E\u2122\u2124\u2127-\u2129\u212C\u212D\u212F-\u2131\u2133-\u2138\u2145-\u2148\u2153-\u215E\u2190-\u219B\u219D-\u21A7\u21A9-\u21AE\u21B0-\u21B3\u21B5-\u21B7\u21BA-\u21DB\u21DD\u21E4\u21E5\u21F5\u21FD-\u2205\u2207-\u2209\u220B\u220C\u220F-\u2214\u2216-\u2218\u221A\u221D-\u2238\u223A-\u2257\u2259\u225A\u225C\u225F-\u2262\u2264-\u228B\u228D-\u229B\u229D-\u22A5\u22A7-\u22B0\u22B2-\u22BB\u22BD-\u22DB\u22DE-\u22E3\u22E6-\u22F7\u22F9-\u22FE\u2305\u2306\u2308-\u2310\u2312\u2313\u2315\u2316\u231C-\u231F\u2322\u2323\u232D\u232E\u2336\u233D\u233F\u237C\u23B0\u23B1\u23B4-\u23B6\u23DC-\u23DF\u23E2\u23E7\u2423\u24C8\u2500\u2502\u250C\u2510\u2514\u2518\u251C\u2524\u252C\u2534\u253C\u2550-\u256C\u2580\u2584\u2588\u2591-\u2593\u25A1\u25AA\u25AB\u25AD\u25AE\u25B1\u25B3-\u25B5\u25B8\u25B9\u25BD-\u25BF\u25C2\u25C3\u25CA\u25CB\u25EC\u25EF\u25F8-\u25FC\u2605\u2606\u260E\u2640\u2642\u2660\u2663\u2665\u2666\u266A\u266D-\u266F\u2713\u2717\u2720\u2736\u2758\u2772\u2773\u27C8\u27C9\u27E6-\u27ED\u27F5-\u27FA\u27FC\u27FF\u2902-\u2905\u290C-\u2913\u2916\u2919-\u2920\u2923-\u292A\u2933\u2935-\u2939\u293C\u293D\u2945\u2948-\u294B\u294E-\u2976\u2978\u2979\u297B-\u297F\u2985\u2986\u298B-\u2996\u299A\u299C\u299D\u29A4-\u29B7\u29B9\u29BB\u29BC\u29BE-\u29C5\u29C9\u29CD-\u29D0\u29DC-\u29DE\u29E3-\u29E5\u29EB\u29F4\u29F6\u2A00-\u2A02\u2A04\u2A06\u2A0C\u2A0D\u2A10-\u2A17\u2A22-\u2A27\u2A29\u2A2A\u2A2D-\u2A31\u2A33-\u2A3C\u2A3F\u2A40\u2A42-\u2A4D\u2A50\u2A53-\u2A58\u2A5A-\u2A5D\u2A5F\u2A66\u2A6A\u2A6D-\u2A75\u2A77-\u2A9A\u2A9D-\u2AA2\u2AA4-\u2AB0\u2AB3-\u2AC8\u2ACB\u2ACC\u2ACF-\u2ADB\u2AE4\u2AE6-\u2AE9\u2AEB-\u2AF3\u2AFD\uFB00-\uFB04]|\uD835[\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDCCF\uDD04\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDD6B]/g,c={"­":"shy","":"zwnj","":"zwj","":"lrm","":"ic","":"it","":"af","":"rlm","":"ZeroWidthSpace","":"NoBreak","̑":"DownBreve","⃛":"tdot","⃜":"DotDot","\t":"Tab","\n":"NewLine","":"puncsp","":"MediumSpace","":"thinsp","":"hairsp","":"emsp13","":"ensp","":"emsp14","":"emsp","":"numsp"," ":"nbsp","":"ThickSpace","‾":"oline",_:"lowbar","":"dash","":"ndash","—":"mdash","―":"horbar",",":"comma",";":"semi","⁏":"bsemi",":":"colon","⩴":"Colone","!":"excl","¡":"iexcl","?":"quest","¿":"iquest",".":"period","‥":"nldr","…":"mldr","·":"middot","'":"apos","":"lsquo","":"rsquo","":"sbquo","":"lsaquo","":"rsaquo",'"':"quot","“":"ldquo","”":"rdquo","„":"bdquo","«":"laquo","»":"raquo","(":"lpar",")":"rpar","[":"lsqb","]":"rsqb","{":"lcub","}":"rcub","⌈":"lceil","⌉":"rceil","⌊":"lfloor","⌋":"rfloor","⦅":"lopar","⦆":"ropar","⦋":"lbrke","⦌":"rbrke","⦍":"lbrkslu","⦎":"rbrksld","⦏":"lbrksld","⦐":"rbrkslu","⦑":"langd","⦒":"rangd","⦓":"lparlt","⦔":"rpargt","⦕":"gtlPar","⦖":"ltrPar","⟦":"lobrk","⟧":"robrk","⟨":"lang","⟩":"rang","⟪":"Lang","⟫":"Rang","⟬":"loang","⟭":"roang","":"lbbrk","":"rbbrk","‖":"Vert","§":"sect","¶":"para","@":"commat","*":"ast","/":"sol",undefined:null,"&":"amp","#":"num","%":"percnt","‰":"permil","‱":"pertenk","†":"dagger","‡":"Dagger","•":"bull","":"hybull","":"prime","″":"Prime","‴":"tprime","⁗":"qprime","":"bprime","":"caret","`":"grave","´":"acute","˜":"tilde","^":"Hat","¯":"macr","˘":"breve","˙":"dot","¨":"die","˚":"ring","˝":"dblac","¸":"cedil","˛":"ogon",ˆ:"circ",ˇ:"caron","°":"deg","©":"copy","®":"reg","℗":"copysr",℘:"wp","℞":"rx","℧":"mho","℩":"iiota","←":"larr","↚":"nlarr","→":"rarr","↛":"nrarr","↑":"uarr","↓":"darr","↔":"harr","↮":"nharr","↕":"varr","↖":"nwarr","↗":"nearr","↘":"searr","↙":"swarr","↝":"rarrw","↝̸":"nrarrw","↞":"Larr","↟":"Uarr","↠":"Rarr","↡":"Darr","↢":"larrtl","↣":"rarrtl","↤":"mapstoleft","↥":"mapstoup","↦":"map","↧":"mapstodown","↩":"larrhk","↪":"rarrhk","↫":"larrlp","↬":"rarrlp","↭":"harrw","↰":"lsh","↱":"rsh","↲":"ldsh","↳":"rdsh","↵":"crarr","↶":"cularr","↷":"curarr","↺":"olarr","↻":"orarr","↼":"lharu","↽":"lhard","↾":"uharr","↿":"uharl","⇀":"rharu","⇁":"rhard","⇂":"dharr","⇃":"dharl","⇄":"rlarr","⇅":"udarr","⇆":"lrarr","⇇":"llarr","⇈":"uuarr","⇉":"rrarr","⇊":"ddarr","⇋":"lrhar","⇌":"rlhar","⇐":"lArr","⇍":"nlArr","⇑":"uArr","⇒":"rArr","⇏":"nrArr","⇓":"dArr","⇔":"iff","⇎":"nhArr","⇕":"vArr","⇖":"nwArr","⇗":"neArr","⇘":"seArr","⇙":"swArr","⇚":"lAarr","⇛":"rAarr","⇝":"zigrarr","⇤":"larrb","⇥":"rarrb","⇵":"duarr","⇽":"loarr","⇾":"roarr","⇿":"hoarr","∀":"forall","∁":"comp","∂":"part","∂̸":"npart","∃":"exist","∄":"nexist","∅":"empty","∇":"Del","∈":"in","∉":"notin","∋":"ni","∌":"notni","϶":"bepsi","∏":"prod","∐":"coprod","∑":"sum","+":"plus","±":"pm","÷":"div","×":"times","<":"lt","≮":"nlt","<⃒":"nvlt","=":"equals","≠":"ne","=⃥":"bne","⩵":"Equal",">":"gt","≯":"ngt",">⃒":"nvgt","¬":"not","|":"vert","¦":"brvbar","":"minus","∓":"mp","∔":"plusdo","":"frasl","":"setmn","":"lowast","∘":"compfn","√":"Sqrt","∝":"prop","∞":"infin","∟":"angrt","∠":"ang","∠⃒":"nang","∡":"angmsd","∢":"angsph","":"mid","∤":"nmid","∥":"par","∦":"npar","∧":"and","":"or","∩":"cap","∩︀":"caps","":"cup","":"cups","∫":"int","∬":"Int","∭":"tint","⨌":"qint","∮":"oint","∯":"Conint","∰":"Cconint","∱":"cwint","∲":"cwconint","∳":"awconint","∴":"there4","∵":"becaus","":"ratio","∷":"Colon","∸":"minusd","∺":"mDDot","∻":"homtht","":"sim","≁":"nsim","∼⃒":"nvsim","∽":"bsim","∽̱":"race","∾":"ac","∾̳":"acE","∿":"acd","≀":"wr","≂":"esim","≂̸":"nesim","≃":"sime","≄":"nsime","≅":"cong","≇":"ncong","≆":"simne","≈":"ap","≉":"nap","≊":"ape","≋":"apid","≋̸":"napid","≌":"bcong","≍":"CupCap","≭":"NotCupCap","≍⃒":"nvap","≎":"bump","≎̸":"nbump","≏":"bumpe","≏̸":"nbumpe","≐":"doteq","≐̸":"nedot","≑":"eDot","≒":"efDot","≓":"erDot","≔":"colone","≕":"ecolon","≖":"ecir","≗":"cire","≙":"wedgeq","≚":"veeeq","≜":"trie","≟":"equest","≡":"equiv","≢":"nequiv","≡⃥":"bnequiv","≤":"le","≰":"nle","≤⃒":"nvle","≥":"ge","≱":"nge","≥⃒":"nvge","≦":"lE","≦̸":"nlE","≧":"gE","≧̸":"ngE","≨︀":"lvnE","≨":"lnE","≩":"gnE","≩︀":"gvnE","≪":"ll","≪̸":"nLtv","≪⃒":"nLt","≫":"gg","≫̸":"nGtv","≫⃒":"nGt","≬":"twixt","≲":"lsim","≴":"nlsim","≳":"gsim","≵":"ngsim","≶":"lg","≸":"ntlg","≷":"gl","≹":"ntgl","≺":"pr","⊀":"npr","≻":"sc","⊁":"nsc","≼":"prcue","⋠":"nprcue","≽":"sccue","⋡":"nsccue","≾":"prsim","≿":"scsim","≿̸":"NotSucceedsTilde","⊂":"sub","⊄":"nsub","⊂⃒":"vnsub","⊃":"sup","⊅":"nsup","⊃⃒":"vnsup","⊆":"sube","⊈":"nsube","⊇":"supe","⊉":"nsupe","⊊︀":"vsubne","⊊":"subne","⊋︀":"vsupne","⊋":"supne","⊍":"cupdot","⊎":"uplus","⊏":"sqsub","⊏̸":"NotSquareSubset","⊐":"sqsup","⊐̸":"NotSquareSuperset","⊑":"sqsube","⋢":"nsqsube","⊒":"sqsupe","⋣":"nsqsupe","⊓":"sqcap","⊓︀":"sqcaps","⊔":"sqcup","⊔︀":"sqcups","⊕":"oplus","⊖":"ominus","⊗":"otimes","⊘":"osol","⊙":"odot","⊚":"ocir","⊛":"oast","⊝":"odash","⊞":"plusb","⊟":"minusb","⊠":"timesb","⊡":"sdotb","⊢":"vdash","⊬":"nvdash","⊣":"dashv","":"top","⊥":"bot","⊧":"models","⊨":"vDash","⊭":"nvDash","⊩":"Vdash","⊮":"nVdash","⊪":"Vvdash","⊫":"VDash","⊯":"nVDash","⊰":"prurel","⊲":"vltri","⋪":"nltri","⊳":"vrtri","⋫":"nrtri","⊴":"ltrie","⋬":"nltrie","⊴⃒":"nvltrie","⊵":"rtrie","⋭":"nrtrie","⊵⃒":"nvrtrie","⊶":"origof","⊷":"imof","⊸":"mumap","⊹":"hercon","⊺":"intcal","⊻":"veebar","⊽":"barvee","⊾":"angrtvb","⊿":"lrtri","⋀":"Wedge","":"Vee","⋂":"xcap","":"xcup","⋄":"diam","⋅":"sdot","⋆":"Star","⋇":"divonx","⋈":"bowtie","⋉":"ltimes","⋊":"rtimes","⋋":"lthree","⋌":"rthree","⋍":"bsime","⋎":"cuvee","⋏":"cuwed","⋐":"Sub","⋑":"Sup","⋒":"Cap","⋓":"Cup","⋔":"fork","⋕":"epar","⋖":"ltdot","⋗":"gtdot","⋘":"Ll","⋘̸":"nLl","⋙":"Gg","⋙̸":"nGg","⋚︀":"lesg","⋚":"leg","⋛":"gel","⋛︀":"gesl","⋞":"cuepr","⋟":"cuesc","⋦":"lnsim","⋧":"gnsim","⋨":"prnsim","⋩":"scnsim","⋮":"vellip","⋯":"ctdot","⋰":"utdot","⋱":"dtdot","⋲":"disin","⋳":"isinsv","⋴":"isins","⋵":"isindot","⋵̸":"notindot","⋶":"notinvc","⋷":"notinvb","⋹":"isinE","⋹̸":"notinE","⋺":"nisd","⋻":"xnis","⋼":"nis","⋽":"notnivc","⋾":"notnivb","⌅":"barwed","⌆":"Barwed","⌌":"drcrop","⌍":"dlcrop","⌎":"urcrop","⌏":"ulcrop","⌐":"bnot","⌒":"profline","⌓":"profsurf","⌕":"telrec","⌖":"target","⌜":"ulcorn","⌝":"urcorn","⌞":"dlcorn","⌟":"drcorn","⌢":"frown","⌣":"smile","⌭":"cylcty","⌮":"profalar","⌶":"topbot","⌽":"ovbar","⌿":"solbar","⍼":"angzarr","⎰":"lmoust","⎱":"rmoust","⎴":"tbrk","⎵":"bbrk","⎶":"bbrktbrk","⏜":"OverParenthesis","⏝":"UnderParenthesis","⏞":"OverBrace","⏟":"UnderBrace","⏢":"trpezium","⏧":"elinters","␣":"blank","─":"boxh","│":"boxv","┌":"boxdr","┐":"boxdl","└":"boxur","┘":"boxul","├":"boxvr","┤":"boxvl","┬":"boxhd","┴":"boxhu","┼":"boxvh","═":"boxH","║":"boxV","╒":"boxdR","╓":"boxDr","╔":"boxDR","╕":"boxdL","╖":"boxDl","╗":"boxDL","╘":"boxuR","╙":"boxUr","╚":"boxUR","╛":"boxuL","╜":"boxUl","╝":"boxUL","╞":"boxvR","╟":"boxVr","╠":"boxVR","╡":"boxvL","╢":"boxVl","╣":"boxVL","╤":"boxHd","╥":"boxhD","╦":"boxHD","╧":"boxHu","╨":"boxhU","╩":"boxHU","╪":"boxvH","╫":"boxVh","╬":"boxVH","▀":"uhblk","▄":"lhblk","█":"block","░":"blk14","▒":"blk12","▓":"blk34","□":"squ","▪":"squf","▫":"EmptyVerySmallSquare","▭":"rect","▮":"marker","▱":"fltns","△":"xutri","▴":"utrif","▵":"utri","▸":"rtrif","▹":"rtri","▽":"xdtri","▾":"dtrif","▿":"dtri","◂":"ltrif","◃":"ltri","◊":"loz","○":"cir","◬":"tridot","◯":"xcirc","◸":"ultri","◹":"urtri","◺":"lltri","◻":"EmptySmallSquare","◼":"FilledSmallSquare","★":"starf","☆":"star","☎":"phone","♀":"female","♂":"male","♠":"spades","♣":"clubs","♥":"hearts","♦":"diams","♪":"sung","✓":"check","✗":"cross","✠":"malt","✶":"sext","❘":"VerticalSeparator","⟈":"bsolhsub","⟉":"suphsol","⟵":"xlarr","⟶":"xrarr","⟷":"xharr","⟸":"xlArr","⟹":"xrArr","⟺":"xhArr","⟼":"xmap","⟿":"dzigrarr","⤂":"nvlArr","⤃":"nvrArr","⤄":"nvHarr","⤅":"Map","⤌":"lbarr","⤍":"rbarr","⤎":"lBarr","⤏":"rBarr","⤐":"RBarr","⤑":"DDotrahd","⤒":"UpArrowBar","⤓":"DownArrowBar","⤖":"Rarrtl","⤙":"latail","⤚":"ratail","⤛":"lAtail","⤜":"rAtail","⤝":"larrfs","⤞":"rarrfs","⤟":"larrbfs","⤠":"rarrbfs","⤣":"nwarhk","⤤":"nearhk","⤥":"searhk","⤦":"swarhk","⤧":"nwnear","⤨":"toea","⤩":"tosa","⤪":"swnwar","⤳":"rarrc","⤳̸":"nrarrc","⤵":"cudarrr","⤶":"ldca","⤷":"rdca","⤸":"cudarrl","⤹":"larrpl","⤼":"curarrm","⤽":"cularrp","⥅":"rarrpl","⥈":"harrcir","⥉":"Uarrocir","⥊":"lurdshar","⥋":"ldrushar","⥎":"LeftRightVector","⥏":"RightUpDownVector","⥐":"DownLeftRightVector","⥑":"LeftUpDownVector","⥒":"LeftVectorBar","⥓":"RightVectorBar","⥔":"RightUpVectorBar","⥕":"RightDownVectorBar","⥖":"DownLeftVectorBar","⥗":"DownRightVectorBar","⥘":"LeftUpVectorBar","⥙":"LeftDownVectorBar","⥚":"LeftTeeVector","⥛":"RightTeeVector","⥜":"RightUpTeeVector","⥝":"RightDownTeeVector","⥞":"DownLeftTeeVector","⥟":"DownRightTeeVector","⥠":"LeftUpTeeVector","⥡":"LeftDownTeeVector","⥢":"lHar","⥣":"uHar","⥤":"rHar","⥥":"dHar","⥦":"luruhar","⥧":"ldrdhar","⥨":"ruluhar","⥩":"rdldhar","⥪":"lharul","⥫":"llhard","⥬":"rharul","⥭":"lrhard","⥮":"udhar","⥯":"duhar","⥰":"RoundImplies","⥱":"erarr","⥲":"simrarr","⥳":"larrsim","⥴":"rarrsim","⥵":"rarrap","⥶":"ltlarr","⥸":"gtrarr","⥹":"subrarr","⥻":"suplarr","⥼":"lfisht","⥽":"rfisht","⥾":"ufisht","⥿":"dfisht","⦚":"vzigzag","⦜":"vangrt","⦝":"angrtvbd","⦤":"ange","⦥":"range","⦦":"dwangle","⦧":"uwangle","⦨":"angmsdaa","⦩":"angmsdab","⦪":"angmsdac","⦫":"angmsdad","⦬":"angmsdae","⦭":"angmsdaf","⦮":"angmsdag","⦯":"angmsdah","⦰":"bemptyv","⦱":"demptyv","⦲":"cemptyv","⦳":"raemptyv","⦴":"laemptyv","⦵":"ohbar","⦶":"omid","⦷":"opar","⦹":"operp","⦻":"olcross","⦼":"odsold","⦾":"olcir","⦿":"ofcir","⧀":"olt","⧁":"ogt","⧂":"cirscir","⧃":"cirE","⧄":"solb","⧅":"bsolb","⧉":"boxbox","⧍":"trisb","⧎":"rtriltri","⧏":"LeftTriangleBar","⧏̸":"NotLeftTriangleBar","⧐":"RightTriangleBar","⧐̸":"NotRightTriangleBar","⧜":"iinfin","⧝":"infintie","⧞":"nvinfin","⧣":"eparsl","⧤":"smeparsl","⧥":"eqvparsl","⧫":"lozf","⧴":"RuleDelayed","⧶":"dsol","⨀":"xodot","⨁":"xoplus","⨂":"xotime","⨄":"xuplus","⨆":"xsqcup","⨍":"fpartint","⨐":"cirfnint","⨑":"awint","⨒":"rppolint","⨓":"scpolint","⨔":"npolint","⨕":"pointint","⨖":"quatint","⨗":"intlarhk","⨢":"pluscir","⨣":"plusacir","⨤":"simplus","⨥":"plusdu","⨦":"plussim","⨧":"plustwo","⨩":"mcomma","⨪":"minusdu","⨭":"loplus","⨮":"roplus","":"Cross","⨰":"timesd","⨱":"timesbar","⨳":"smashp","⨴":"lotimes","⨵":"rotimes","⨶":"otimesas","⨷":"Otimes","⨸":"odiv","⨹":"triplus","⨺":"triminus","⨻":"tritime","⨼":"iprod","⨿":"amalg","⩀":"capdot","⩂":"ncup","⩃":"ncap","⩄":"capand","⩅":"cupor","⩆":"cupcap","⩇":"capcup","⩈":"cupbrcap","⩉":"capbrcup","⩊":"cupcup","⩋":"capcap","⩌":"ccups","⩍":"ccaps","⩐":"ccupssm","⩓":"And","⩔":"Or","⩕":"andand","⩖":"oror","⩗":"orslope","⩘":"andslope","⩚":"andv","⩛":"orv","⩜":"andd","⩝":"ord","⩟":"wedbar","⩦":"sdote","⩪":"simdot","⩭":"congdot","⩭̸":"ncongdot","⩮":"easter","⩯":"apacir","⩰":"apE","⩰̸":"napE","⩱":"eplus","⩲":"pluse","⩳":"Esim","⩷":"eDDot","⩸":"equivDD","⩹":"ltcir","⩺":"gtcir","⩻":"ltquest","⩼":"gtquest","⩽":"les","⩽̸":"nles","⩾":"ges","⩾̸":"nges","⩿":"lesdot","⪀":"gesdot","⪁":"lesdoto","⪂":"gesdoto","⪃":"lesdotor","⪄":"gesdotol","⪅":"lap","⪆":"gap","⪇":"lne","⪈":"gne","⪉":"lnap","⪊":"gnap","⪋":"lEg","⪌":"gEl","⪍":"lsime","⪎":"gsime","⪏":"lsimg","⪐":"gsiml","⪑":"lgE","⪒":"glE","⪓":"lesges","⪔":"gesles","⪕":"els","⪖":"egs","⪗":"elsdot","⪘":"egsdot","⪙":"el","⪚":"eg","⪝":"siml","⪞":"simg","⪟":"simlE","⪠":"simgE","⪡":"LessLess","⪡̸":"NotNestedLessLess","⪢":"GreaterGreater","⪢̸":"NotNestedGreaterGreater","⪤":"glj","⪥":"gla","⪦":"ltcc","⪧":"gtcc","⪨":"lescc","⪩":"gescc","⪪":"smt","⪫":"lat","⪬":"smte","⪬︀":"smtes","⪭":"late","⪭︀":"lates","⪮":"bumpE","⪯":"pre","⪯̸":"npre","⪰":"sce","⪰̸":"nsce","⪳":"prE","⪴":"scE","⪵":"prnE","⪶":"scnE","⪷":"prap","⪸":"scap","⪹":"prnap","⪺":"scnap","⪻":"Pr","⪼":"Sc","⪽":"subdot","⪾":"supdot","⪿":"subplus","⫀":"supplus","⫁":"submult","⫂":"supmult","⫃":"subedot","⫄":"supedot","⫅":"subE","⫅̸":"nsubE","⫆":"supE","⫆̸":"nsupE","⫇":"subsim","⫈":"supsim","⫋︀":"vsubnE","⫋":"subnE","⫌︀":"vsupnE","⫌":"supnE","⫏":"csub","⫐":"csup","⫑":"csube","⫒":"csupe","⫓":"subsup","⫔":"supsub","⫕":"subsub","⫖":"supsup","⫗":"suphsub","⫘":"supdsub","⫙":"forkv","⫚":"topfork","⫛":"mlcp","⫤":"Dashv","⫦":"Vdashl","⫧":"Barv","⫨":"vBar","⫩":"vBarv","⫫":"Vbar","⫬":"Not","⫭":"bNot","⫮":"rnmid","⫯":"cirmid","⫰":"midcir","⫱":"topcir","⫲":"nhpar","⫳":"parsim","⫽":"parsl","⫽⃥":"nparsl","♭":"flat","♮":"natur","♯":"sharp","¤":"curren","¢":"cent",$:"dollar","£":"pound","¥":"yen","€":"euro","¹":"sup1","½":"half","⅓":"frac13","¼":"frac14","⅕":"frac15","⅙":"frac16","⅛":"frac18","²":"sup2","⅔":"frac23","⅖":"frac25","³":"sup3","¾":"frac34","⅗":"frac35","⅜":"frac38","⅘":"frac45","⅚":"frac56","⅝":"frac58","⅞":"frac78",𝒶:"ascr",𝕒:"aopf",𝔞:"afr",𝔸:"Aopf",𝔄:"Afr",𝒜:"Ascr",ª:"ordf",á:"aacute",Á:"Aacute",à:"agrave",À:"Agrave",ă:"abreve",Ă:"Abreve",â:"acirc",Â:"Acirc",å:"aring",Å:"angst",ä:"auml",Ä:"Auml",ã:"atilde",Ã:"Atilde",ą:"aogon",Ą:"Aogon",ā:"amacr",Ā:"Amacr",æ:"aelig",Æ:"AElig",𝒷:"bscr",𝕓:"bopf",𝔟:"bfr",𝔹:"Bopf",:"Bscr",𝔅:"Bfr",𝔠:"cfr",𝒸:"cscr",𝕔:"copf",:"Cfr",𝒞:"Cscr",:"Copf",ć:"cacute",Ć:"Cacute",ĉ:"ccirc",Ĉ:"Ccirc",č:"ccaron",Č:"Ccaron",ċ:"cdot",Ċ:"Cdot",ç:"ccedil",Ç:"Ccedil","℅":"incare",𝔡:"dfr",:"dd",𝕕:"dopf",𝒹:"dscr",𝒟:"Dscr",𝔇:"Dfr",:"DD",𝔻:"Dopf",ď:"dcaron",Ď:"Dcaron",đ:"dstrok",Đ:"Dstrok",ð:"eth",Ð:"ETH",:"ee",:"escr",𝔢:"efr",𝕖:"eopf",:"Escr",𝔈:"Efr",𝔼:"Eopf",é:"eacute",É:"Eacute",è:"egrave",È:"Egrave",ê:"ecirc",Ê:"Ecirc",ě:"ecaron",Ě:"Ecaron",ë:"euml",Ë:"Euml",ė:"edot",Ė:"Edot",ę:"eogon",Ę:"Eogon",ē:"emacr",Ē:"Emacr",𝔣:"ffr",𝕗:"fopf",𝒻:"fscr",𝔉:"Ffr",𝔽:"Fopf",:"Fscr",ff:"fflig",ffi:"ffilig",ffl:"ffllig",fi:"filig",fj:"fjlig",fl:"fllig",ƒ:"fnof",:"gscr",𝕘:"gopf",𝔤:"gfr",𝒢:"Gscr",𝔾:"Gopf",𝔊:"Gfr",ǵ:"gacute",ğ:"gbreve",Ğ:"Gbreve",ĝ:"gcirc",Ĝ:"Gcirc",ġ:"gdot",Ġ:"Gdot",Ģ:"Gcedil",𝔥:"hfr",:"planckh",𝒽:"hscr",𝕙:"hopf",:"Hscr",:"Hfr",:"Hopf",ĥ:"hcirc",Ĥ:"Hcirc",ℏ:"hbar",ħ:"hstrok",Ħ:"Hstrok",𝕚:"iopf",𝔦:"ifr",𝒾:"iscr",:"ii",𝕀:"Iopf",:"Iscr",:"Im",í:"iacute",Í:"Iacute",ì:"igrave",Ì:"Igrave",î:"icirc",Î:"Icirc",ï:"iuml",Ï:"Iuml",ĩ:"itilde",Ĩ:"Itilde",İ:"Idot",į:"iogon",Į:"Iogon",ī:"imacr",Ī:"Imacr",ij:"ijlig",IJ:"IJlig",ı:"imath",𝒿:"jscr",𝕛:"jopf",𝔧:"jfr",𝒥:"Jscr",𝔍:"Jfr",𝕁:"Jopf",ĵ:"jcirc",Ĵ:"Jcirc",ȷ:"jmath",𝕜:"kopf",𝓀:"kscr",𝔨:"kfr",𝒦:"Kscr",𝕂:"Kopf",𝔎:"Kfr",ķ:"kcedil",Ķ:"Kcedil",𝔩:"lfr",𝓁:"lscr",:"ell",𝕝:"lopf",:"Lscr",𝔏:"Lfr",𝕃:"Lopf",ĺ:"lacute",Ĺ:"Lacute",ľ:"lcaron",Ľ:"Lcaron",ļ:"lcedil",Ļ:"Lcedil",ł:"lstrok",Ł:"Lstrok",ŀ:"lmidot",Ŀ:"Lmidot",𝔪:"mfr",𝕞:"mopf",𝓂:"mscr",𝔐:"Mfr",𝕄:"Mopf",:"Mscr",𝔫:"nfr",𝕟:"nopf",𝓃:"nscr",:"Nopf",𝒩:"Nscr",𝔑:"Nfr",ń:"nacute",Ń:"Nacute",ň:"ncaron",Ň:"Ncaron",ñ:"ntilde",Ñ:"Ntilde",ņ:"ncedil",Ņ:"Ncedil","№":"numero",ŋ:"eng",Ŋ:"ENG",𝕠:"oopf",𝔬:"ofr",:"oscr",𝒪:"Oscr",𝔒:"Ofr",𝕆:"Oopf",º:"ordm",ó:"oacute",Ó:"Oacute",ò:"ograve",Ò:"Ograve",ô:"ocirc",Ô:"Ocirc",ö:"ouml",Ö:"Ouml",ő:"odblac",Ő:"Odblac",õ:"otilde",Õ:"Otilde",ø:"oslash",Ø:"Oslash",ō:"omacr",Ō:"Omacr",œ:"oelig",Œ:"OElig",𝔭:"pfr",𝓅:"pscr",𝕡:"popf",:"Popf",𝔓:"Pfr",𝒫:"Pscr",𝕢:"qopf",𝔮:"qfr",𝓆:"qscr",𝒬:"Qscr",𝔔:"Qfr",:"Qopf",ĸ:"kgreen",𝔯:"rfr",𝕣:"ropf",𝓇:"rscr",:"Rscr",:"Re",:"Ropf",ŕ:"racute",Ŕ:"Racute",ř:"rcaron",Ř:"Rcaron",ŗ:"rcedil",Ŗ:"Rcedil",𝕤:"sopf",𝓈:"sscr",𝔰:"sfr",𝕊:"Sopf",𝔖:"Sfr",𝒮:"Sscr","Ⓢ":"oS",ś:"sacute",Ś:"Sacute",ŝ:"scirc",Ŝ:"Scirc",š:"scaron",Š:"Scaron",ş:"scedil",Ş:"Scedil",ß:"szlig",𝔱:"tfr",𝓉:"tscr",𝕥:"topf",𝒯:"Tscr",𝔗:"Tfr",𝕋:"Topf",ť:"tcaron",Ť:"Tcaron",ţ:"tcedil",Ţ:"Tcedil","™":"trade",ŧ:"tstrok",Ŧ:"Tstrok",𝓊:"uscr",𝕦:"uopf",𝔲:"ufr",𝕌:"Uopf",𝔘:"Ufr",𝒰:"Uscr",ú:"uacute",Ú:"Uacute",ù:"ugrave",Ù:"Ugrave",ŭ:"ubreve",Ŭ:"Ubreve",û:"ucirc",Û:"Ucirc",ů:"uring",Ů:"Uring",ü:"uuml",Ü:"Uuml",ű:"udblac",Ű:"Udblac",ũ:"utilde",Ũ:"Utilde",ų:"uogon",Ų:"Uogon",ū:"umacr",Ū:"Umacr",𝔳:"vfr",𝕧:"vopf",𝓋:"vscr",𝔙:"Vfr",𝕍:"Vopf",𝒱:"Vscr",𝕨:"wopf",𝓌:"wscr",𝔴:"wfr",𝒲:"Wscr",𝕎:"Wopf",𝔚:"Wfr",ŵ:"wcirc",Ŵ:"Wcirc",𝔵:"xfr",𝓍:"xscr",𝕩:"xopf",𝕏:"Xopf",𝔛:"Xfr",𝒳:"Xscr",𝔶:"yfr",𝓎:"yscr",𝕪:"yopf",𝒴:"Yscr",𝔜:"Yfr",𝕐:"Yopf",ý:"yacute",Ý:"Yacute",ŷ:"ycirc",Ŷ:"Ycirc",ÿ:"yuml",Ÿ:"Yuml",𝓏:"zscr",𝔷:"zfr",𝕫:"zopf",:"Zfr",:"Zopf",𝒵:"Zscr",ź:"zacute",Ź:"Zacute",ž:"zcaron",Ž:"Zcaron",ż:"zdot",Ż:"Zdot",Ƶ:"imped",þ:"thorn",Þ:"THORN",ʼn:"napos",α:"alpha",Α:"Alpha",β:"beta",Β:"Beta",γ:"gamma",Γ:"Gamma",δ:"delta",Δ:"Delta",ε:"epsi",ϵ:"epsiv",Ε:"Epsilon",ϝ:"gammad",Ϝ:"Gammad",ζ:"zeta",Ζ:"Zeta",η:"eta",Η:"Eta",θ:"theta",ϑ:"thetav",Θ:"Theta",ι:"iota",Ι:"Iota",κ:"kappa",ϰ:"kappav",Κ:"Kappa",λ:"lambda",Λ:"Lambda",μ:"mu",µ:"micro",Μ:"Mu",ν:"nu",Ν:"Nu",ξ:"xi",Ξ:"Xi",ο:"omicron",Ο:"Omicron",π:"pi",ϖ:"piv",Π:"Pi",ρ:"rho",ϱ:"rhov",Ρ:"Rho",σ:"sigma",Σ:"Sigma",ς:"sigmaf",τ:"tau",Τ:"Tau",υ:"upsi",Υ:"Upsilon",ϒ:"Upsi",φ:"phi",ϕ:"phiv",Φ:"Phi",χ:"chi",Χ:"Chi",ψ:"psi",Ψ:"Psi",ω:"omega",Ω:"ohm",а:"acy",А:"Acy",б:"bcy",Б:"Bcy",в:"vcy",В:"Vcy",г:"gcy",Г:"Gcy",ѓ:"gjcy",Ѓ:"GJcy",д:"dcy",Д:"Dcy",ђ:"djcy",Ђ:"DJcy",е:"iecy",Е:"IEcy",ё:"iocy",Ё:"IOcy",є:"jukcy",Є:"Jukcy",ж:"zhcy",Ж:"ZHcy",з:"zcy",З:"Zcy",ѕ:"dscy",Ѕ:"DScy",и:"icy",И:"Icy",і:"iukcy",І:"Iukcy",ї:"yicy",Ї:"YIcy",й:"jcy",Й:"Jcy",ј:"jsercy",Ј:"Jsercy",к:"kcy",К:"Kcy",ќ:"kjcy",Ќ:"KJcy",л:"lcy",Л:"Lcy",љ:"ljcy",Љ:"LJcy",м:"mcy",М:"Mcy",н:"ncy",Н:"Ncy",њ:"njcy",Њ:"NJcy",о:"ocy",О:"Ocy",п:"pcy",П:"Pcy",р:"rcy",Р:"Rcy",с:"scy",С:"Scy",т:"tcy",Т:"Tcy",ћ:"tshcy",Ћ:"TSHcy",у:"ucy",У:"Ucy",ў:"ubrcy",Ў:"Ubrcy",ф:"fcy",Ф:"Fcy",х:"khcy",Х:"KHcy",ц:"tscy",Ц:"TScy",ч:"chcy",Ч:"CHcy",џ:"dzcy",Џ:"DZcy",ш:"shcy",Ш:"SHcy",щ:"shchcy",Щ:"SHCHcy",ъ:"hardcy",Ъ:"HARDcy",ы:"ycy",Ы:"Ycy",ь:"softcy",Ь:"SOFTcy",э:"ecy",Э:"Ecy",ю:"yucy",Ю:"YUcy",я:"yacy",Я:"YAcy",ℵ:"aleph",ℶ:"beth",ℷ:"gimel",ℸ:"daleth"},d=/["&'<>`]/g,f={'"':"&quot;","&":"&amp;","'":"&#x27;","<":"&lt;",">":"&gt;","`":"&#x60;"},p=/&#(?:[xX][^a-fA-F0-9]|[^0-9xX])/,h=/[\0-\x08\x0B\x0E-\x1F\x7F-\x9F\uFDD0-\uFDEF\uFFFE\uFFFF]|[\uD83F\uD87F\uD8BF\uD8FF\uD93F\uD97F\uD9BF\uD9FF\uDA3F\uDA7F\uDABF\uDAFF\uDB3F\uDB7F\uDBBF\uDBFF][\uDFFE\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/,g=/&(CounterClockwiseContourIntegral|DoubleLongLeftRightArrow|ClockwiseContourIntegral|NotNestedGreaterGreater|NotSquareSupersetEqual|DiacriticalDoubleAcute|NotRightTriangleEqual|NotSucceedsSlantEqual|NotPrecedesSlantEqual|CloseCurlyDoubleQuote|NegativeVeryThinSpace|DoubleContourIntegral|FilledVerySmallSquare|CapitalDifferentialD|OpenCurlyDoubleQuote|EmptyVerySmallSquare|NestedGreaterGreater|DoubleLongRightArrow|NotLeftTriangleEqual|NotGreaterSlantEqual|ReverseUpEquilibrium|DoubleLeftRightArrow|NotSquareSubsetEqual|NotDoubleVerticalBar|RightArrowLeftArrow|NotGreaterFullEqual|NotRightTriangleBar|SquareSupersetEqual|DownLeftRightVector|DoubleLongLeftArrow|leftrightsquigarrow|LeftArrowRightArrow|NegativeMediumSpace|blacktriangleright|RightDownVectorBar|PrecedesSlantEqual|RightDoubleBracket|SucceedsSlantEqual|NotLeftTriangleBar|RightTriangleEqual|SquareIntersection|RightDownTeeVector|ReverseEquilibrium|NegativeThickSpace|longleftrightarrow|Longleftrightarrow|LongLeftRightArrow|DownRightTeeVector|DownRightVectorBar|GreaterSlantEqual|SquareSubsetEqual|LeftDownVectorBar|LeftDoubleBracket|VerticalSeparator|rightleftharpoons|NotGreaterGreater|NotSquareSuperset|blacktriangleleft|blacktriangledown|NegativeThinSpace|LeftDownTeeVector|NotLessSlantEqual|leftrightharpoons|DoubleUpDownArrow|DoubleVerticalBar|LeftTriangleEqual|FilledSmallSquare|twoheadrightarrow|NotNestedLessLess|DownLeftTeeVector|DownLeftVectorBar|RightAngleBracket|NotTildeFullEqual|NotReverseElement|RightUpDownVector|DiacriticalTilde|NotSucceedsTilde|circlearrowright|NotPrecedesEqual|rightharpoondown|DoubleRightArrow|NotSucceedsEqual|NonBreakingSpace|NotRightTriangle|LessEqualGreater|RightUpTeeVector|LeftAngleBracket|GreaterFullEqual|DownArrowUpArrow|RightUpVectorBar|twoheadleftarrow|GreaterEqualLess|downharpoonright|RightTriangleBar|ntrianglerighteq|NotSupersetEqual|LeftUpDownVector|DiacriticalAcute|rightrightarrows|vartriangleright|UpArrowDownArrow|DiacriticalGrave|UnderParenthesis|EmptySmallSquare|LeftUpVectorBar|leftrightarrows|DownRightVector|downharpoonleft|trianglerighteq|ShortRightArrow|OverParenthesis|DoubleLeftArrow|DoubleDownArrow|NotSquareSubset|bigtriangledown|ntrianglelefteq|UpperRightArrow|curvearrowright|vartriangleleft|NotLeftTriangle|nleftrightarrow|LowerRightArrow|NotHumpDownHump|NotGreaterTilde|rightthreetimes|LeftUpTeeVector|NotGreaterEqual|straightepsilon|LeftTriangleBar|rightsquigarrow|ContourIntegral|rightleftarrows|CloseCurlyQuote|RightDownVector|LeftRightVector|nLeftrightarrow|leftharpoondown|circlearrowleft|SquareSuperset|OpenCurlyQuote|hookrightarrow|HorizontalLine|DiacriticalDot|NotLessGreater|ntriangleright|DoubleRightTee|InvisibleComma|InvisibleTimes|LowerLeftArrow|DownLeftVector|NotSubsetEqual|curvearrowleft|trianglelefteq|NotVerticalBar|TildeFullEqual|downdownarrows|NotGreaterLess|RightTeeVector|ZeroWidthSpace|looparrowright|LongRightArrow|doublebarwedge|ShortLeftArrow|ShortDownArrow|RightVectorBar|GreaterGreater|ReverseElement|rightharpoonup|LessSlantEqual|leftthreetimes|upharpoonright|rightarrowtail|LeftDownVector|Longrightarrow|NestedLessLess|UpperLeftArrow|nshortparallel|leftleftarrows|leftrightarrow|Leftrightarrow|LeftRightArrow|longrightarrow|upharpoonleft|RightArrowBar|ApplyFunction|LeftTeeVector|leftarrowtail|NotEqualTilde|varsubsetneqq|varsupsetneqq|RightTeeArrow|SucceedsEqual|SucceedsTilde|LeftVectorBar|SupersetEqual|hookleftarrow|DifferentialD|VerticalTilde|VeryThinSpace|blacktriangle|bigtriangleup|LessFullEqual|divideontimes|leftharpoonup|UpEquilibrium|ntriangleleft|RightTriangle|measuredangle|shortparallel|longleftarrow|Longleftarrow|LongLeftArrow|DoubleLeftTee|Poincareplane|PrecedesEqual|triangleright|DoubleUpArrow|RightUpVector|fallingdotseq|looparrowleft|PrecedesTilde|NotTildeEqual|NotTildeTilde|smallsetminus|Proportional|triangleleft|triangledown|UnderBracket|NotHumpEqual|exponentiale|ExponentialE|NotLessTilde|HilbertSpace|RightCeiling|blacklozenge|varsupsetneq|HumpDownHump|GreaterEqual|VerticalLine|LeftTeeArrow|NotLessEqual|DownTeeArrow|LeftTriangle|varsubsetneq|Intersection|NotCongruent|DownArrowBar|LeftUpVector|LeftArrowBar|risingdotseq|GreaterTilde|RoundImplies|SquareSubset|ShortUpArrow|NotSuperset|quaternions|precnapprox|backepsilon|preccurlyeq|OverBracket|blacksquare|MediumSpace|VerticalBar|circledcirc|circleddash|CircleMinus|CircleTimes|LessGreater|curlyeqprec|curlyeqsucc|diamondsuit|UpDownArrow|Updownarrow|RuleDelayed|Rrightarrow|updownarrow|RightVector|nRightarrow|nrightarrow|eqslantless|LeftCeiling|Equilibrium|SmallCircle|expectation|NotSucceeds|thickapprox|GreaterLess|SquareUnion|NotPrecedes|NotLessLess|straightphi|succnapprox|succcurlyeq|SubsetEqual|sqsupseteq|Proportion|Laplacetrf|ImaginaryI|supsetneqq|NotGreater|gtreqqless|NotElement|ThickSpace|TildeEqual|TildeTilde|Fouriertrf|rmoustache|EqualTilde|eqslantgtr|UnderBrace|LeftVector|UpArrowBar|nLeftarrow|nsubseteqq|subsetneqq|nsupseteqq|nleftarrow|succapprox|lessapprox|UpTeeArrow|upuparrows|curlywedge|lesseqqgtr|varepsilon|varnothing|RightFloor|complement|CirclePlus|sqsubseteq|Lleftarrow|circledast|RightArrow|Rightarrow|rightarrow|lmoustache|Bernoullis|precapprox|mapstoleft|mapstodown|longmapsto|dotsquare|downarrow|DoubleDot|nsubseteq|supsetneq|leftarrow|nsupseteq|subsetneq|ThinSpace|ngeqslant|subseteqq|HumpEqual|NotSubset|triangleq|NotCupCap|lesseqgtr|heartsuit|TripleDot|Leftarrow|Coproduct|Congruent|varpropto|complexes|gvertneqq|LeftArrow|LessTilde|supseteqq|MinusPlus|CircleDot|nleqslant|NotExists|gtreqless|nparallel|UnionPlus|LeftFloor|checkmark|CenterDot|centerdot|Mellintrf|gtrapprox|bigotimes|OverBrace|spadesuit|therefore|pitchfork|rationals|PlusMinus|Backslash|Therefore|DownBreve|backsimeq|backprime|DownArrow|nshortmid|Downarrow|lvertneqq|eqvparsl|imagline|imagpart|infintie|integers|Integral|intercal|LessLess|Uarrocir|intlarhk|sqsupset|angmsdaf|sqsubset|llcorner|vartheta|cupbrcap|lnapprox|Superset|SuchThat|succnsim|succneqq|angmsdag|biguplus|curlyvee|trpezium|Succeeds|NotTilde|bigwedge|angmsdah|angrtvbd|triminus|cwconint|fpartint|lrcorner|smeparsl|subseteq|urcorner|lurdshar|laemptyv|DDotrahd|approxeq|ldrushar|awconint|mapstoup|backcong|shortmid|triangle|geqslant|gesdotol|timesbar|circledR|circledS|setminus|multimap|naturals|scpolint|ncongdot|RightTee|boxminus|gnapprox|boxtimes|andslope|thicksim|angmsdaa|varsigma|cirfnint|rtriltri|angmsdab|rppolint|angmsdac|barwedge|drbkarow|clubsuit|thetasym|bsolhsub|capbrcup|dzigrarr|doteqdot|DotEqual|dotminus|UnderBar|NotEqual|realpart|otimesas|ulcorner|hksearow|hkswarow|parallel|PartialD|elinters|emptyset|plusacir|bbrktbrk|angmsdad|pointint|bigoplus|angmsdae|Precedes|bigsqcup|varkappa|notindot|supseteq|precneqq|precnsim|profalar|profline|profsurf|leqslant|lesdotor|raemptyv|subplus|notnivb|notnivc|subrarr|zigrarr|vzigzag|submult|subedot|Element|between|cirscir|larrbfs|larrsim|lotimes|lbrksld|lbrkslu|lozenge|ldrdhar|dbkarow|bigcirc|epsilon|simrarr|simplus|ltquest|Epsilon|luruhar|gtquest|maltese|npolint|eqcolon|npreceq|bigodot|ddagger|gtrless|bnequiv|harrcir|ddotseq|equivDD|backsim|demptyv|nsqsube|nsqsupe|Upsilon|nsubset|upsilon|minusdu|nsucceq|swarrow|nsupset|coloneq|searrow|boxplus|napprox|natural|asympeq|alefsym|congdot|nearrow|bigstar|diamond|supplus|tritime|LeftTee|nvinfin|triplus|NewLine|nvltrie|nvrtrie|nwarrow|nexists|Diamond|ruluhar|Implies|supmult|angzarr|suplarr|suphsub|questeq|because|digamma|Because|olcross|bemptyv|omicron|Omicron|rotimes|NoBreak|intprod|angrtvb|orderof|uwangle|suphsol|lesdoto|orslope|DownTee|realine|cudarrl|rdldhar|OverBar|supedot|lessdot|supdsub|topfork|succsim|rbrkslu|rbrksld|pertenk|cudarrr|isindot|planckh|lessgtr|pluscir|gesdoto|plussim|plustwo|lesssim|cularrp|rarrsim|Cayleys|notinva|notinvb|notinvc|UpArrow|Uparrow|uparrow|NotLess|dwangle|precsim|Product|curarrm|Cconint|dotplus|rarrbfs|ccupssm|Cedilla|cemptyv|notniva|quatint|frac35|frac38|frac45|frac56|frac58|frac78|tridot|xoplus|gacute|gammad|Gammad|lfisht|lfloor|bigcup|sqsupe|gbreve|Gbreve|lharul|sqsube|sqcups|Gcedil|apacir|llhard|lmidot|Lmidot|lmoust|andand|sqcaps|approx|Abreve|spades|circeq|tprime|divide|topcir|Assign|topbot|gesdot|divonx|xuplus|timesd|gesles|atilde|solbar|SOFTcy|loplus|timesb|lowast|lowbar|dlcorn|dlcrop|softcy|dollar|lparlt|thksim|lrhard|Atilde|lsaquo|smashp|bigvee|thinsp|wreath|bkarow|lsquor|lstrok|Lstrok|lthree|ltimes|ltlarr|DotDot|simdot|ltrPar|weierp|xsqcup|angmsd|sigmav|sigmaf|zeetrf|Zcaron|zcaron|mapsto|vsupne|thetav|cirmid|marker|mcomma|Zacute|vsubnE|there4|gtlPar|vsubne|bottom|gtrarr|SHCHcy|shchcy|midast|midcir|middot|minusb|minusd|gtrdot|bowtie|sfrown|mnplus|models|colone|seswar|Colone|mstpos|searhk|gtrsim|nacute|Nacute|boxbox|telrec|hairsp|Tcedil|nbumpe|scnsim|ncaron|Ncaron|ncedil|Ncedil|hamilt|Scedil|nearhk|hardcy|HARDcy|tcedil|Tcaron|commat|nequiv|nesear|tcaron|target|hearts|nexist|varrho|scedil|Scaron|scaron|hellip|Sacute|sacute|hercon|swnwar|compfn|rtimes|rthree|rsquor|rsaquo|zacute|wedgeq|homtht|barvee|barwed|Barwed|rpargt|horbar|conint|swarhk|roplus|nltrie|hslash|hstrok|Hstrok|rmoust|Conint|bprime|hybull|hyphen|iacute|Iacute|supsup|supsub|supsim|varphi|coprod|brvbar|agrave|Supset|supset|igrave|Igrave|notinE|Agrave|iiiint|iinfin|copysr|wedbar|Verbar|vangrt|becaus|incare|verbar|inodot|bullet|drcorn|intcal|drcrop|cularr|vellip|Utilde|bumpeq|cupcap|dstrok|Dstrok|CupCap|cupcup|cupdot|eacute|Eacute|supdot|iquest|easter|ecaron|Ecaron|ecolon|isinsv|utilde|itilde|Itilde|curarr|succeq|Bumpeq|cacute|ulcrop|nparsl|Cacute|nprcue|egrave|Egrave|nrarrc|nrarrw|subsup|subsub|nrtrie|jsercy|nsccue|Jsercy|kappav|kcedil|Kcedil|subsim|ulcorn|nsimeq|egsdot|veebar|kgreen|capand|elsdot|Subset|subset|curren|aacute|lacute|Lacute|emptyv|ntilde|Ntilde|lagran|lambda|Lambda|capcap|Ugrave|langle|subdot|emsp13|numero|emsp14|nvdash|nvDash|nVdash|nVDash|ugrave|ufisht|nvHarr|larrfs|nvlArr|larrhk|larrlp|larrpl|nvrArr|Udblac|nwarhk|larrtl|nwnear|oacute|Oacute|latail|lAtail|sstarf|lbrace|odblac|Odblac|lbrack|udblac|odsold|eparsl|lcaron|Lcaron|ograve|Ograve|lcedil|Lcedil|Aacute|ssmile|ssetmn|squarf|ldquor|capcup|ominus|cylcty|rharul|eqcirc|dagger|rfloor|rfisht|Dagger|daleth|equals|origof|capdot|equest|dcaron|Dcaron|rdquor|oslash|Oslash|otilde|Otilde|otimes|Otimes|urcrop|Ubreve|ubreve|Yacute|Uacute|uacute|Rcedil|rcedil|urcorn|parsim|Rcaron|Vdashl|rcaron|Tstrok|percnt|period|permil|Exists|yacute|rbrack|rbrace|phmmat|ccaron|Ccaron|planck|ccedil|plankv|tstrok|female|plusdo|plusdu|ffilig|plusmn|ffllig|Ccedil|rAtail|dfisht|bernou|ratail|Rarrtl|rarrtl|angsph|rarrpl|rarrlp|rarrhk|xwedge|xotime|forall|ForAll|Vvdash|vsupnE|preceq|bigcap|frac12|frac13|frac14|primes|rarrfs|prnsim|frac15|Square|frac16|square|lesdot|frac18|frac23|propto|prurel|rarrap|rangle|puncsp|frac25|Racute|qprime|racute|lesges|frac34|abreve|AElig|eqsim|utdot|setmn|urtri|Equal|Uring|seArr|uring|searr|dashv|Dashv|mumap|nabla|iogon|Iogon|sdote|sdotb|scsim|napid|napos|equiv|natur|Acirc|dblac|erarr|nbump|iprod|erDot|ucirc|awint|esdot|angrt|ncong|isinE|scnap|Scirc|scirc|ndash|isins|Ubrcy|nearr|neArr|isinv|nedot|ubrcy|acute|Ycirc|iukcy|Iukcy|xutri|nesim|caret|jcirc|Jcirc|caron|twixt|ddarr|sccue|exist|jmath|sbquo|ngeqq|angst|ccaps|lceil|ngsim|UpTee|delta|Delta|rtrif|nharr|nhArr|nhpar|rtrie|jukcy|Jukcy|kappa|rsquo|Kappa|nlarr|nlArr|TSHcy|rrarr|aogon|Aogon|fflig|xrarr|tshcy|ccirc|nleqq|filig|upsih|nless|dharl|nlsim|fjlig|ropar|nltri|dharr|robrk|roarr|fllig|fltns|roang|rnmid|subnE|subne|lAarr|trisb|Ccirc|acirc|ccups|blank|VDash|forkv|Vdash|langd|cedil|blk12|blk14|laquo|strns|diams|notin|vDash|larrb|blk34|block|disin|uplus|vdash|vBarv|aelig|starf|Wedge|check|xrArr|lates|lbarr|lBarr|notni|lbbrk|bcong|frasl|lbrke|frown|vrtri|vprop|vnsup|gamma|Gamma|wedge|xodot|bdquo|srarr|doteq|ldquo|boxdl|boxdL|gcirc|Gcirc|boxDl|boxDL|boxdr|boxdR|boxDr|TRADE|trade|rlhar|boxDR|vnsub|npart|vltri|rlarr|boxhd|boxhD|nprec|gescc|nrarr|nrArr|boxHd|boxHD|boxhu|boxhU|nrtri|boxHu|clubs|boxHU|times|colon|Colon|gimel|xlArr|Tilde|nsime|tilde|nsmid|nspar|THORN|thorn|xlarr|nsube|nsubE|thkap|xhArr|comma|nsucc|boxul|boxuL|nsupe|nsupE|gneqq|gnsim|boxUl|boxUL|grave|boxur|boxuR|boxUr|boxUR|lescc|angle|bepsi|boxvh|varpi|boxvH|numsp|Theta|gsime|gsiml|theta|boxVh|boxVH|boxvl|gtcir|gtdot|boxvL|boxVl|boxVL|crarr|cross|Cross|nvsim|boxvr|nwarr|nwArr|sqsup|dtdot|Uogon|lhard|lharu|dtrif|ocirc|Ocirc|lhblk|duarr|odash|sqsub|Hacek|sqcup|llarr|duhar|oelig|OElig|ofcir|boxvR|uogon|lltri|boxVr|csube|uuarr|ohbar|csupe|ctdot|olarr|olcir|harrw|oline|sqcap|omacr|Omacr|omega|Omega|boxVR|aleph|lneqq|lnsim|loang|loarr|rharu|lobrk|hcirc|operp|oplus|rhard|Hcirc|orarr|Union|order|ecirc|Ecirc|cuepr|szlig|cuesc|breve|reals|eDDot|Breve|hoarr|lopar|utrif|rdquo|Umacr|umacr|efDot|swArr|ultri|alpha|rceil|ovbar|swarr|Wcirc|wcirc|smtes|smile|bsemi|lrarr|aring|parsl|lrhar|bsime|uhblk|lrtri|cupor|Aring|uharr|uharl|slarr|rbrke|bsolb|lsime|rbbrk|RBarr|lsimg|phone|rBarr|rbarr|icirc|lsquo|Icirc|emacr|Emacr|ratio|simne|plusb|simlE|simgE|simeq|pluse|ltcir|ltdot|empty|xharr|xdtri|iexcl|Alpha|ltrie|rarrw|pound|ltrif|xcirc|bumpe|prcue|bumpE|asymp|amacr|cuvee|Sigma|sigma|iiint|udhar|iiota|ijlig|IJlig|supnE|imacr|Imacr|prime|Prime|image|prnap|eogon|Eogon|rarrc|mdash|mDDot|cuwed|imath|supne|imped|Amacr|udarr|prsim|micro|rarrb|cwint|raquo|infin|eplus|range|rangd|Ucirc|radic|minus|amalg|veeeq|rAarr|epsiv|ycirc|quest|sharp|quot|zwnj|Qscr|race|qscr|Qopf|qopf|qint|rang|Rang|Zscr|zscr|Zopf|zopf|rarr|rArr|Rarr|Pscr|pscr|prop|prod|prnE|prec|ZHcy|zhcy|prap|Zeta|zeta|Popf|popf|Zdot|plus|zdot|Yuml|yuml|phiv|YUcy|yucy|Yscr|yscr|perp|Yopf|yopf|part|para|YIcy|Ouml|rcub|yicy|YAcy|rdca|ouml|osol|Oscr|rdsh|yacy|real|oscr|xvee|andd|rect|andv|Xscr|oror|ordm|ordf|xscr|ange|aopf|Aopf|rHar|Xopf|opar|Oopf|xopf|xnis|rhov|oopf|omid|xmap|oint|apid|apos|ogon|ascr|Ascr|odot|odiv|xcup|xcap|ocir|oast|nvlt|nvle|nvgt|nvge|nvap|Wscr|wscr|auml|ntlg|ntgl|nsup|nsub|nsim|Nscr|nscr|nsce|Wopf|ring|npre|wopf|npar|Auml|Barv|bbrk|Nopf|nopf|nmid|nLtv|beta|ropf|Ropf|Beta|beth|nles|rpar|nleq|bnot|bNot|nldr|NJcy|rscr|Rscr|Vscr|vscr|rsqb|njcy|bopf|nisd|Bopf|rtri|Vopf|nGtv|ngtr|vopf|boxh|boxH|boxv|nges|ngeq|boxV|bscr|scap|Bscr|bsim|Vert|vert|bsol|bull|bump|caps|cdot|ncup|scnE|ncap|nbsp|napE|Cdot|cent|sdot|Vbar|nang|vBar|chcy|Mscr|mscr|sect|semi|CHcy|Mopf|mopf|sext|circ|cire|mldr|mlcp|cirE|comp|shcy|SHcy|vArr|varr|cong|copf|Copf|copy|COPY|malt|male|macr|lvnE|cscr|ltri|sime|ltcc|simg|Cscr|siml|csub|Uuml|lsqb|lsim|uuml|csup|Lscr|lscr|utri|smid|lpar|cups|smte|lozf|darr|Lopf|Uscr|solb|lopf|sopf|Sopf|lneq|uscr|spar|dArr|lnap|Darr|dash|Sqrt|LJcy|ljcy|lHar|dHar|Upsi|upsi|diam|lesg|djcy|DJcy|leqq|dopf|Dopf|dscr|Dscr|dscy|ldsh|ldca|squf|DScy|sscr|Sscr|dsol|lcub|late|star|Star|Uopf|Larr|lArr|larr|uopf|dtri|dzcy|sube|subE|Lang|lang|Kscr|kscr|Kopf|kopf|KJcy|kjcy|KHcy|khcy|DZcy|ecir|edot|eDot|Jscr|jscr|succ|Jopf|jopf|Edot|uHar|emsp|ensp|Iuml|iuml|eopf|isin|Iscr|iscr|Eopf|epar|sung|epsi|escr|sup1|sup2|sup3|Iota|iota|supe|supE|Iopf|iopf|IOcy|iocy|Escr|esim|Esim|imof|Uarr|QUOT|uArr|uarr|euml|IEcy|iecy|Idot|Euml|euro|excl|Hscr|hscr|Hopf|hopf|TScy|tscy|Tscr|hbar|tscr|flat|tbrk|fnof|hArr|harr|half|fopf|Fopf|tdot|gvnE|fork|trie|gtcc|fscr|Fscr|gdot|gsim|Gscr|gscr|Gopf|gopf|gneq|Gdot|tosa|gnap|Topf|topf|geqq|toea|GJcy|gjcy|tint|gesl|mid|Sfr|ggg|top|ges|gla|glE|glj|geq|gne|gEl|gel|gnE|Gcy|gcy|gap|Tfr|tfr|Tcy|tcy|Hat|Tau|Ffr|tau|Tab|hfr|Hfr|ffr|Fcy|fcy|icy|Icy|iff|ETH|eth|ifr|Ifr|Eta|eta|int|Int|Sup|sup|ucy|Ucy|Sum|sum|jcy|ENG|ufr|Ufr|eng|Jcy|jfr|els|ell|egs|Efr|efr|Jfr|uml|kcy|Kcy|Ecy|ecy|kfr|Kfr|lap|Sub|sub|lat|lcy|Lcy|leg|Dot|dot|lEg|leq|les|squ|div|die|lfr|Lfr|lgE|Dfr|dfr|Del|deg|Dcy|dcy|lne|lnE|sol|loz|smt|Cup|lrm|cup|lsh|Lsh|sim|shy|map|Map|mcy|Mcy|mfr|Mfr|mho|gfr|Gfr|sfr|cir|Chi|chi|nap|Cfr|vcy|Vcy|cfr|Scy|scy|ncy|Ncy|vee|Vee|Cap|cap|nfr|scE|sce|Nfr|nge|ngE|nGg|vfr|Vfr|ngt|bot|nGt|nis|niv|Rsh|rsh|nle|nlE|bne|Bfr|bfr|nLl|nlt|nLt|Bcy|bcy|not|Not|rlm|wfr|Wfr|npr|nsc|num|ocy|ast|Ocy|ofr|xfr|Xfr|Ofr|ogt|ohm|apE|olt|Rho|ape|rho|Rfr|rfr|ord|REG|ang|reg|orv|And|and|AMP|Rcy|amp|Afr|ycy|Ycy|yen|yfr|Yfr|rcy|par|pcy|Pcy|pfr|Pfr|phi|Phi|afr|Acy|acy|zcy|Zcy|piv|acE|acd|zfr|Zfr|pre|prE|psi|Psi|qfr|Qfr|zwj|Or|ge|Gg|gt|gg|el|oS|lt|Lt|LT|Re|lg|gl|eg|ne|Im|it|le|DD|wp|wr|nu|Nu|dd|lE|Sc|sc|pi|Pi|ee|af|ll|Ll|rx|gE|xi|pm|Xi|ic|pr|Pr|in|ni|mp|mu|ac|Mu|or|ap|Gt|GT|ii);|&(Aacute|Agrave|Atilde|Ccedil|Eacute|Egrave|Iacute|Igrave|Ntilde|Oacute|Ograve|Oslash|Otilde|Uacute|Ugrave|Yacute|aacute|agrave|atilde|brvbar|ccedil|curren|divide|eacute|egrave|frac12|frac14|frac34|iacute|igrave|iquest|middot|ntilde|oacute|ograve|oslash|otilde|plusmn|uacute|ugrave|yacute|AElig|Acirc|Aring|Ecirc|Icirc|Ocirc|THORN|Ucirc|acirc|acute|aelig|aring|cedil|ecirc|icirc|iexcl|laquo|micro|ocirc|pound|raquo|szlig|thorn|times|ucirc|Auml|COPY|Euml|Iuml|Ouml|QUOT|Uuml|auml|cent|copy|euml|iuml|macr|nbsp|ordf|ordm|ouml|para|quot|sect|sup1|sup2|sup3|uuml|yuml|AMP|ETH|REG|amp|deg|eth|not|reg|shy|uml|yen|GT|LT|gt|lt)(?!;)([=a-zA-Z0-9]?)|&#([0-9]+)(;?)|&#[xX]([a-fA-F0-9]+)(;?)|&([0-9a-zA-Z]+)/g,m={aacute:"á",Aacute:"Á",abreve:"ă",Abreve:"Ă",ac:"∾",acd:"∿",acE:"∾̳",acirc:"â",Acirc:"Â",acute:"´",acy:"а",Acy:"А",aelig:"æ",AElig:"Æ",af:"",afr:"𝔞",Afr:"𝔄",agrave:"à",Agrave:"À",alefsym:"ℵ",aleph:"ℵ",alpha:"α",Alpha:"Α",amacr:"ā",Amacr:"Ā",amalg:"⨿",amp:"&",AMP:"&",and:"∧",And:"⩓",andand:"⩕",andd:"⩜",andslope:"⩘",andv:"⩚",ang:"∠",ange:"⦤",angle:"∠",angmsd:"∡",angmsdaa:"⦨",angmsdab:"⦩",angmsdac:"⦪",angmsdad:"⦫",angmsdae:"⦬",angmsdaf:"⦭",angmsdag:"⦮",angmsdah:"⦯",angrt:"∟",angrtvb:"⊾",angrtvbd:"⦝",angsph:"∢",angst:"Å",angzarr:"⍼",aogon:"ą",Aogon:"Ą",aopf:"𝕒",Aopf:"𝔸",ap:"≈",apacir:"⩯",ape:"≊",apE:"⩰",apid:"≋",apos:"'",ApplyFunction:"",approx:"≈",approxeq:"≊",aring:"å",Aring:"Å",ascr:"𝒶",Ascr:"𝒜",Assign:"≔",ast:"*",asymp:"≈",asympeq:"≍",atilde:"ã",Atilde:"Ã",auml:"ä",Auml:"Ä",awconint:"∳",awint:"⨑",backcong:"≌",backepsilon:"϶",backprime:"",backsim:"∽",backsimeq:"⋍",Backslash:"",Barv:"⫧",barvee:"⊽",barwed:"⌅",Barwed:"⌆",barwedge:"⌅",bbrk:"⎵",bbrktbrk:"⎶",bcong:"≌",bcy:"б",Bcy:"Б",bdquo:"„",becaus:"∵",because:"∵",Because:"∵",bemptyv:"⦰",bepsi:"϶",bernou:"",Bernoullis:"",beta:"β",Beta:"Β",beth:"ℶ",between:"≬",bfr:"𝔟",Bfr:"𝔅",bigcap:"⋂",bigcirc:"◯",bigcup:"",bigodot:"⨀",bigoplus:"⨁",bigotimes:"⨂",bigsqcup:"⨆",bigstar:"★",bigtriangledown:"▽",bigtriangleup:"△",biguplus:"⨄",bigvee:"",bigwedge:"⋀",bkarow:"⤍",blacklozenge:"⧫",blacksquare:"▪",blacktriangle:"▴",blacktriangledown:"▾",blacktriangleleft:"◂",blacktriangleright:"▸",blank:"␣",blk12:"▒",blk14:"░",blk34:"▓",block:"█",bne:"=⃥",bnequiv:"≡⃥",bnot:"⌐",bNot:"⫭",bopf:"𝕓",Bopf:"𝔹",bot:"⊥",bottom:"⊥",bowtie:"⋈",boxbox:"⧉",boxdl:"┐",boxdL:"╕",boxDl:"╖",boxDL:"╗",boxdr:"┌",boxdR:"╒",boxDr:"╓",boxDR:"╔",boxh:"─",boxH:"═",boxhd:"┬",boxhD:"╥",boxHd:"╤",boxHD:"╦",boxhu:"┴",boxhU:"╨",boxHu:"╧",boxHU:"╩",boxminus:"⊟",boxplus:"⊞",boxtimes:"⊠",boxul:"┘",boxuL:"╛",boxUl:"╜",boxUL:"╝",boxur:"└",boxuR:"╘",boxUr:"╙",boxUR:"╚",boxv:"│",boxV:"║",boxvh:"┼",boxvH:"╪",boxVh:"╫",boxVH:"╬",boxvl:"┤",boxvL:"╡",boxVl:"╢",boxVL:"╣",boxvr:"├",boxvR:"╞",boxVr:"╟",boxVR:"╠",bprime:"",breve:"˘",Breve:"˘",brvbar:"¦",bscr:"𝒷",Bscr:"",bsemi:"⁏",bsim:"∽",bsime:"⋍",bsol:"\\",bsolb:"⧅",bsolhsub:"⟈",bull:"•",bullet:"•",bump:"≎",bumpe:"≏",bumpE:"⪮",bumpeq:"≏",Bumpeq:"≎",cacute:"ć",Cacute:"Ć",cap:"∩",Cap:"⋒",capand:"⩄",capbrcup:"⩉",capcap:"⩋",capcup:"⩇",capdot:"⩀",CapitalDifferentialD:"",caps:"∩︀",caret:"",caron:"ˇ",Cayleys:"",ccaps:"⩍",ccaron:"č",Ccaron:"Č",ccedil:"ç",Ccedil:"Ç",ccirc:"ĉ",Ccirc:"Ĉ",Cconint:"∰",ccups:"⩌",ccupssm:"⩐",cdot:"ċ",Cdot:"Ċ",cedil:"¸",Cedilla:"¸",cemptyv:"⦲",cent:"¢",centerdot:"·",CenterDot:"·",cfr:"𝔠",Cfr:"",chcy:"ч",CHcy:"Ч",check:"✓",checkmark:"✓",chi:"χ",Chi:"Χ",cir:"○",circ:"ˆ",circeq:"≗",circlearrowleft:"↺",circlearrowright:"↻",circledast:"⊛",circledcirc:"⊚",circleddash:"⊝",CircleDot:"⊙",circledR:"®",circledS:"Ⓢ",CircleMinus:"⊖",CirclePlus:"⊕",CircleTimes:"⊗",cire:"≗",cirE:"⧃",cirfnint:"⨐",cirmid:"⫯",cirscir:"⧂",ClockwiseContourIntegral:"∲",CloseCurlyDoubleQuote:"”",CloseCurlyQuote:"",clubs:"♣",clubsuit:"♣",colon:":",Colon:"∷",colone:"≔",Colone:"⩴",coloneq:"≔",comma:",",commat:"@",comp:"∁",compfn:"∘",complement:"∁",complexes:"",cong:"≅",congdot:"⩭",Congruent:"≡",conint:"∮",Conint:"∯",ContourIntegral:"∮",copf:"𝕔",Copf:"",coprod:"∐",Coproduct:"∐",copy:"©",COPY:"©",copysr:"℗",CounterClockwiseContourIntegral:"∳",crarr:"↵",cross:"✗",Cross:"",cscr:"𝒸",Cscr:"𝒞",csub:"⫏",csube:"⫑",csup:"⫐",csupe:"⫒",ctdot:"⋯",cudarrl:"⤸",cudarrr:"⤵",cuepr:"⋞",cuesc:"⋟",cularr:"↶",cularrp:"⤽",cup:"",Cup:"⋓",cupbrcap:"⩈",cupcap:"⩆",CupCap:"≍",cupcup:"⩊",cupdot:"⊍",cupor:"⩅",cups:"",curarr:"↷",curarrm:"⤼",curlyeqprec:"⋞",curlyeqsucc:"⋟",curlyvee:"⋎",curlywedge:"⋏",curren:"¤",curvearrowleft:"↶",curvearrowright:"↷",cuvee:"⋎",cuwed:"⋏",cwconint:"∲",cwint:"∱",cylcty:"⌭",dagger:"†",Dagger:"‡",daleth:"ℸ",darr:"↓",dArr:"⇓",Darr:"↡",dash:"",dashv:"⊣",Dashv:"⫤",dbkarow:"⤏",dblac:"˝",dcaron:"ď",Dcaron:"Ď",dcy:"д",Dcy:"Д",dd:"",DD:"",ddagger:"‡",ddarr:"⇊",DDotrahd:"⤑",ddotseq:"⩷",deg:"°",Del:"∇",delta:"δ",Delta:"Δ",demptyv:"⦱",dfisht:"⥿",dfr:"𝔡",Dfr:"𝔇",dHar:"⥥",dharl:"⇃",dharr:"⇂",DiacriticalAcute:"´",DiacriticalDot:"˙",DiacriticalDoubleAcute:"˝",DiacriticalGrave:"`",DiacriticalTilde:"˜",diam:"⋄",diamond:"⋄",Diamond:"⋄",diamondsuit:"♦",diams:"♦",die:"¨",DifferentialD:"",digamma:"ϝ",disin:"⋲",div:"÷",divide:"÷",divideontimes:"⋇",divonx:"⋇",djcy:"ђ",DJcy:"Ђ",dlcorn:"⌞",dlcrop:"⌍",dollar:"$",dopf:"𝕕",Dopf:"𝔻",dot:"˙",Dot:"¨",DotDot:"⃜",doteq:"≐",doteqdot:"≑",DotEqual:"≐",dotminus:"∸",dotplus:"∔",dotsquare:"⊡",doublebarwedge:"⌆",DoubleContourIntegral:"∯",DoubleDot:"¨",DoubleDownArrow:"⇓",DoubleLeftArrow:"⇐",DoubleLeftRightArrow:"⇔",DoubleLeftTee:"⫤",DoubleLongLeftArrow:"⟸",DoubleLongLeftRightArrow:"⟺",DoubleLongRightArrow:"⟹",DoubleRightArrow:"⇒",DoubleRightTee:"⊨",DoubleUpArrow:"⇑",DoubleUpDownArrow:"⇕",DoubleVerticalBar:"∥",downarrow:"↓",Downarrow:"⇓",DownArrow:"↓",DownArrowBar:"⤓",DownArrowUpArrow:"⇵",DownBreve:"̑",downdownarrows:"⇊",downharpoonleft:"⇃",downharpoonright:"⇂",DownLeftRightVector:"⥐",DownLeftTeeVector:"⥞",DownLeftVector:"↽",DownLeftVectorBar:"⥖",DownRightTeeVector:"⥟",DownRightVector:"⇁",DownRightVectorBar:"⥗",DownTee:"",DownTeeArrow:"↧",drbkarow:"⤐",drcorn:"⌟",drcrop:"⌌",dscr:"𝒹",Dscr:"𝒟",dscy:"ѕ",DScy:"Ѕ",dsol:"⧶",dstrok:"đ",Dstrok:"Đ",dtdot:"⋱",dtri:"▿",dtrif:"▾",duarr:"⇵",duhar:"⥯",dwangle:"⦦",dzcy:"џ",DZcy:"Џ",dzigrarr:"⟿",eacute:"é",Eacute:"É",easter:"⩮",ecaron:"ě",Ecaron:"Ě",ecir:"≖",ecirc:"ê",Ecirc:"Ê",ecolon:"≕",ecy:"э",Ecy:"Э",eDDot:"⩷",edot:"ė",eDot:"≑",Edot:"Ė",ee:"",efDot:"≒",efr:"𝔢",Efr:"𝔈",eg:"⪚",egrave:"è",Egrave:"È",egs:"⪖",egsdot:"⪘",el:"⪙",Element:"∈",elinters:"⏧",ell:"",els:"⪕",elsdot:"⪗",emacr:"ē",Emacr:"Ē",empty:"∅",emptyset:"∅",EmptySmallSquare:"◻",emptyv:"∅",EmptyVerySmallSquare:"▫",emsp:"",emsp13:"",emsp14:"",eng:"ŋ",ENG:"Ŋ",ensp:"",eogon:"ę",Eogon:"Ę",eopf:"𝕖",Eopf:"𝔼",epar:"⋕",eparsl:"⧣",eplus:"⩱",epsi:"ε",epsilon:"ε",Epsilon:"Ε",epsiv:"ϵ",eqcirc:"≖",eqcolon:"≕",eqsim:"≂",eqslantgtr:"⪖",eqslantless:"⪕",Equal:"⩵",equals:"=",EqualTilde:"≂",equest:"≟",Equilibrium:"⇌",equiv:"≡",equivDD:"⩸",eqvparsl:"⧥",erarr:"⥱",erDot:"≓",escr:"",Escr:"",esdot:"≐",esim:"≂",Esim:"⩳",eta:"η",Eta:"Η",eth:"ð",ETH:"Ð",euml:"ë",Euml:"Ë",euro:"€",excl:"!",exist:"∃",Exists:"∃",expectation:"",exponentiale:"",ExponentialE:"",fallingdotseq:"≒",fcy:"ф",Fcy:"Ф",female:"♀",ffilig:"ffi",fflig:"ff",ffllig:"ffl",ffr:"𝔣",Ffr:"𝔉",filig:"fi",FilledSmallSquare:"◼",FilledVerySmallSquare:"▪",fjlig:"fj",flat:"♭",fllig:"fl",fltns:"▱",fnof:"ƒ",fopf:"𝕗",Fopf:"𝔽",forall:"∀",ForAll:"∀",fork:"⋔",forkv:"⫙",Fouriertrf:"",fpartint:"⨍",frac12:"½",frac13:"⅓",frac14:"¼",frac15:"⅕",frac16:"⅙",frac18:"⅛",frac23:"⅔",frac25:"⅖",frac34:"¾",frac35:"⅗",frac38:"⅜",frac45:"⅘",frac56:"⅚",frac58:"⅝",frac78:"⅞",frasl:"",frown:"⌢",fscr:"𝒻",Fscr:"",gacute:"ǵ",gamma:"γ",Gamma:"Γ",gammad:"ϝ",Gammad:"Ϝ",gap:"⪆",gbreve:"ğ",Gbreve:"Ğ",Gcedil:"Ģ",gcirc:"ĝ",Gcirc:"Ĝ",gcy:"г",Gcy:"Г",gdot:"ġ",Gdot:"Ġ",ge:"≥",gE:"≧",gel:"⋛",gEl:"⪌",geq:"≥",geqq:"≧",geqslant:"⩾",ges:"⩾",gescc:"⪩",gesdot:"⪀",gesdoto:"⪂",gesdotol:"⪄",gesl:"⋛︀",gesles:"⪔",gfr:"𝔤",Gfr:"𝔊",gg:"≫",Gg:"⋙",ggg:"⋙",gimel:"ℷ",gjcy:"ѓ",GJcy:"Ѓ",gl:"≷",gla:"⪥",glE:"⪒",glj:"⪤",gnap:"⪊",gnapprox:"⪊",gne:"⪈",gnE:"≩",gneq:"⪈",gneqq:"≩",gnsim:"⋧",gopf:"𝕘",Gopf:"𝔾",grave:"`",GreaterEqual:"≥",GreaterEqualLess:"⋛",GreaterFullEqual:"≧",GreaterGreater:"⪢",GreaterLess:"≷",GreaterSlantEqual:"⩾",GreaterTilde:"≳",gscr:"",Gscr:"𝒢",gsim:"≳",gsime:"⪎",gsiml:"⪐",gt:">",Gt:"≫",GT:">",gtcc:"⪧",gtcir:"⩺",gtdot:"⋗",gtlPar:"⦕",gtquest:"⩼",gtrapprox:"⪆",gtrarr:"⥸",gtrdot:"⋗",gtreqless:"⋛",gtreqqless:"⪌",gtrless:"≷",gtrsim:"≳",gvertneqq:"≩︀",gvnE:"≩︀",Hacek:"ˇ",hairsp:"",half:"½",hamilt:"",hardcy:"ъ",HARDcy:"Ъ",harr:"↔",hArr:"⇔",harrcir:"⥈",harrw:"↭",Hat:"^",hbar:"ℏ",hcirc:"ĥ",Hcirc:"Ĥ",hearts:"♥",heartsuit:"♥",hellip:"…",hercon:"⊹",hfr:"𝔥",Hfr:"",HilbertSpace:"",hksearow:"⤥",hkswarow:"⤦",hoarr:"⇿",homtht:"∻",hookleftarrow:"↩",hookrightarrow:"↪",hopf:"𝕙",Hopf:"",horbar:"―",HorizontalLine:"─",hscr:"𝒽",Hscr:"",hslash:"ℏ",hstrok:"ħ",Hstrok:"Ħ",HumpDownHump:"≎",HumpEqual:"≏",hybull:"",hyphen:"",iacute:"í",Iacute:"Í",ic:"",icirc:"î",Icirc:"Î",icy:"и",Icy:"И",Idot:"İ",iecy:"е",IEcy:"Е",iexcl:"¡",iff:"⇔",ifr:"𝔦",Ifr:"",igrave:"ì",Igrave:"Ì",ii:"",iiiint:"⨌",iiint:"∭",iinfin:"⧜",iiota:"℩",ijlig:"ij",IJlig:"IJ",Im:"",imacr:"ī",Imacr:"Ī",image:"",ImaginaryI:"",imagline:"",imagpart:"",imath:"ı",imof:"⊷",imped:"Ƶ",Implies:"⇒",in:"∈",incare:"℅",infin:"∞",infintie:"⧝",inodot:"ı",int:"∫",Int:"∬",intcal:"⊺",integers:"",Integral:"∫",intercal:"⊺",Intersection:"⋂",intlarhk:"⨗",intprod:"⨼",InvisibleComma:"",InvisibleTimes:"",iocy:"ё",IOcy:"Ё",iogon:"į",Iogon:"Į",iopf:"𝕚",Iopf:"𝕀",iota:"ι",Iota:"Ι",iprod:"⨼",iquest:"¿",iscr:"𝒾",Iscr:"",isin:"∈",isindot:"⋵",isinE:"⋹",isins:"⋴",isinsv:"⋳",isinv:"∈",it:"",itilde:"ĩ",Itilde:"Ĩ",iukcy:"і",Iukcy:"І",iuml:"ï",Iuml:"Ï",jcirc:"ĵ",Jcirc:"Ĵ",jcy:"й",Jcy:"Й",jfr:"𝔧",Jfr:"𝔍",jmath:"ȷ",jopf:"𝕛",Jopf:"𝕁",jscr:"𝒿",Jscr:"𝒥",jsercy:"ј",Jsercy:"Ј",jukcy:"є",Jukcy:"Є",kappa:"κ",Kappa:"Κ",kappav:"ϰ",kcedil:"ķ",Kcedil:"Ķ",kcy:"к",Kcy:"К",kfr:"𝔨",Kfr:"𝔎",kgreen:"ĸ",khcy:"х",KHcy:"Х",kjcy:"ќ",KJcy:"Ќ",kopf:"𝕜",Kopf:"𝕂",kscr:"𝓀",Kscr:"𝒦",lAarr:"⇚",lacute:"ĺ",Lacute:"Ĺ",laemptyv:"⦴",lagran:"",lambda:"λ",Lambda:"Λ",lang:"⟨",Lang:"⟪",langd:"⦑",langle:"⟨",lap:"⪅",Laplacetrf:"",laquo:"«",larr:"←",lArr:"⇐",Larr:"↞",larrb:"⇤",larrbfs:"⤟",larrfs:"⤝",larrhk:"↩",larrlp:"↫",larrpl:"⤹",larrsim:"⥳",larrtl:"↢",lat:"⪫",latail:"⤙",lAtail:"⤛",late:"⪭",lates:"⪭︀",lbarr:"⤌",lBarr:"⤎",lbbrk:"",lbrace:"{",lbrack:"[",lbrke:"⦋",lbrksld:"⦏",lbrkslu:"⦍",lcaron:"ľ",Lcaron:"Ľ",lcedil:"ļ",Lcedil:"Ļ",lceil:"⌈",lcub:"{",lcy:"л",Lcy:"Л",ldca:"⤶",ldquo:"“",ldquor:"„",ldrdhar:"⥧",ldrushar:"⥋",ldsh:"↲",le:"≤",lE:"≦",LeftAngleBracket:"⟨",leftarrow:"←",Leftarrow:"⇐",LeftArrow:"←",LeftArrowBar:"⇤",LeftArrowRightArrow:"⇆",leftarrowtail:"↢",LeftCeiling:"⌈",LeftDoubleBracket:"⟦",LeftDownTeeVector:"⥡",LeftDownVector:"⇃",LeftDownVectorBar:"⥙",LeftFloor:"⌊",leftharpoondown:"↽",leftharpoonup:"↼",leftleftarrows:"⇇",leftrightarrow:"↔",Leftrightarrow:"⇔",LeftRightArrow:"↔",leftrightarrows:"⇆",leftrightharpoons:"⇋",leftrightsquigarrow:"↭",LeftRightVector:"⥎",LeftTee:"⊣",LeftTeeArrow:"↤",LeftTeeVector:"⥚",leftthreetimes:"⋋",LeftTriangle:"⊲",LeftTriangleBar:"⧏",LeftTriangleEqual:"⊴",LeftUpDownVector:"⥑",LeftUpTeeVector:"⥠",LeftUpVector:"↿",LeftUpVectorBar:"⥘",LeftVector:"↼",LeftVectorBar:"⥒",leg:"⋚",lEg:"⪋",leq:"≤",leqq:"≦",leqslant:"⩽",les:"⩽",lescc:"⪨",lesdot:"⩿",lesdoto:"⪁",lesdotor:"⪃",lesg:"⋚︀",lesges:"⪓",lessapprox:"⪅",lessdot:"⋖",lesseqgtr:"⋚",lesseqqgtr:"⪋",LessEqualGreater:"⋚",LessFullEqual:"≦",LessGreater:"≶",lessgtr:"≶",LessLess:"⪡",lesssim:"≲",LessSlantEqual:"⩽",LessTilde:"≲",lfisht:"⥼",lfloor:"⌊",lfr:"𝔩",Lfr:"𝔏",lg:"≶",lgE:"⪑",lHar:"⥢",lhard:"↽",lharu:"↼",lharul:"⥪",lhblk:"▄",ljcy:"љ",LJcy:"Љ",ll:"≪",Ll:"⋘",llarr:"⇇",llcorner:"⌞",Lleftarrow:"⇚",llhard:"⥫",lltri:"◺",lmidot:"ŀ",Lmidot:"Ŀ",lmoust:"⎰",lmoustache:"⎰",lnap:"⪉",lnapprox:"⪉",lne:"⪇",lnE:"≨",lneq:"⪇",lneqq:"≨",lnsim:"⋦",loang:"⟬",loarr:"⇽",lobrk:"⟦",longleftarrow:"⟵",Longleftarrow:"⟸",LongLeftArrow:"⟵",longleftrightarrow:"⟷",Longleftrightarrow:"⟺",LongLeftRightArrow:"⟷",longmapsto:"⟼",longrightarrow:"⟶",Longrightarrow:"⟹",LongRightArrow:"⟶",looparrowleft:"↫",looparrowright:"↬",lopar:"⦅",lopf:"𝕝",Lopf:"𝕃",loplus:"⨭",lotimes:"⨴",lowast:"",lowbar:"_",LowerLeftArrow:"↙",LowerRightArrow:"↘",loz:"◊",lozenge:"◊",lozf:"⧫",lpar:"(",lparlt:"⦓",lrarr:"⇆",lrcorner:"⌟",lrhar:"⇋",lrhard:"⥭",lrm:"",lrtri:"⊿",lsaquo:"",lscr:"𝓁",Lscr:"",lsh:"↰",Lsh:"↰",lsim:"≲",lsime:"⪍",lsimg:"⪏",lsqb:"[",lsquo:"",lsquor:"",lstrok:"ł",Lstrok:"Ł",lt:"<",Lt:"≪",LT:"<",ltcc:"⪦",ltcir:"⩹",ltdot:"⋖",lthree:"⋋",ltimes:"⋉",ltlarr:"⥶",ltquest:"⩻",ltri:"◃",ltrie:"⊴",ltrif:"◂",ltrPar:"⦖",lurdshar:"⥊",luruhar:"⥦",lvertneqq:"≨︀",lvnE:"≨︀",macr:"¯",male:"♂",malt:"✠",maltese:"✠",map:"↦",Map:"⤅",mapsto:"↦",mapstodown:"↧",mapstoleft:"↤",mapstoup:"↥",marker:"▮",mcomma:"⨩",mcy:"м",Mcy:"М",mdash:"—",mDDot:"∺",measuredangle:"∡",MediumSpace:"",Mellintrf:"",mfr:"𝔪",Mfr:"𝔐",mho:"℧",micro:"µ",mid:"",midast:"*",midcir:"⫰",middot:"·",minus:"",minusb:"⊟",minusd:"∸",minusdu:"⨪",MinusPlus:"∓",mlcp:"⫛",mldr:"…",mnplus:"∓",models:"⊧",mopf:"𝕞",Mopf:"𝕄",mp:"∓",mscr:"𝓂",Mscr:"",mstpos:"∾",mu:"μ",Mu:"Μ",multimap:"⊸",mumap:"⊸",nabla:"∇",nacute:"ń",Nacute:"Ń",nang:"∠⃒",nap:"≉",napE:"⩰̸",napid:"≋̸",napos:"ʼn",napprox:"≉",natur:"♮",natural:"♮",naturals:"",nbsp:" ",nbump:"≎̸",nbumpe:"≏̸",ncap:"⩃",ncaron:"ň",Ncaron:"Ň",ncedil:"ņ",Ncedil:"Ņ",ncong:"≇",ncongdot:"⩭̸",ncup:"⩂",ncy:"н",Ncy:"Н",ndash:"",ne:"≠",nearhk:"⤤",nearr:"↗",neArr:"⇗",nearrow:"↗",nedot:"≐̸",NegativeMediumSpace:"",NegativeThickSpace:"",NegativeThinSpace:"",NegativeVeryThinSpace:"",nequiv:"≢",nesear:"⤨",nesim:"≂̸",NestedGreaterGreater:"≫",NestedLessLess:"≪",NewLine:"\n",nexist:"∄",nexists:"∄",nfr:"𝔫",Nfr:"𝔑",nge:"≱",ngE:"≧̸",ngeq:"≱",ngeqq:"≧̸",ngeqslant:"⩾̸",nges:"⩾̸",nGg:"⋙̸",ngsim:"≵",ngt:"≯",nGt:"≫⃒",ngtr:"≯",nGtv:"≫̸",nharr:"↮",nhArr:"⇎",nhpar:"⫲",ni:"∋",nis:"⋼",nisd:"⋺",niv:"∋",njcy:"њ",NJcy:"Њ",nlarr:"↚",nlArr:"⇍",nldr:"‥",nle:"≰",nlE:"≦̸",nleftarrow:"↚",nLeftarrow:"⇍",nleftrightarrow:"↮",nLeftrightarrow:"⇎",nleq:"≰",nleqq:"≦̸",nleqslant:"⩽̸",nles:"⩽̸",nless:"≮",nLl:"⋘̸",nlsim:"≴",nlt:"≮",nLt:"≪⃒",nltri:"⋪",nltrie:"⋬",nLtv:"≪̸",nmid:"∤",NoBreak:"",NonBreakingSpace:" ",nopf:"𝕟",Nopf:"",not:"¬",Not:"⫬",NotCongruent:"≢",NotCupCap:"≭",NotDoubleVerticalBar:"∦",NotElement:"∉",NotEqual:"≠",NotEqualTilde:"≂̸",NotExists:"∄",NotGreater:"≯",NotGreaterEqual:"≱",NotGreaterFullEqual:"≧̸",NotGreaterGreater:"≫̸",NotGreaterLess:"≹",NotGreaterSlantEqual:"⩾̸",NotGreaterTilde:"≵",NotHumpDownHump:"≎̸",NotHumpEqual:"≏̸",notin:"∉",notindot:"⋵̸",notinE:"⋹̸",notinva:"∉",notinvb:"⋷",notinvc:"⋶",NotLeftTriangle:"⋪",NotLeftTriangleBar:"⧏̸",NotLeftTriangleEqual:"⋬",NotLess:"≮",NotLessEqual:"≰",NotLessGreater:"≸",NotLessLess:"≪̸",NotLessSlantEqual:"⩽̸",NotLessTilde:"≴",NotNestedGreaterGreater:"⪢̸",NotNestedLessLess:"⪡̸",notni:"∌",notniva:"∌",notnivb:"⋾",notnivc:"⋽",NotPrecedes:"⊀",NotPrecedesEqual:"⪯̸",NotPrecedesSlantEqual:"⋠",NotReverseElement:"∌",NotRightTriangle:"⋫",NotRightTriangleBar:"⧐̸",NotRightTriangleEqual:"⋭",NotSquareSubset:"⊏̸",NotSquareSubsetEqual:"⋢",NotSquareSuperset:"⊐̸",NotSquareSupersetEqual:"⋣",NotSubset:"⊂⃒",NotSubsetEqual:"⊈",NotSucceeds:"⊁",NotSucceedsEqual:"⪰̸",NotSucceedsSlantEqual:"⋡",NotSucceedsTilde:"≿̸",NotSuperset:"⊃⃒",NotSupersetEqual:"⊉",NotTilde:"≁",NotTildeEqual:"≄",NotTildeFullEqual:"≇",NotTildeTilde:"≉",NotVerticalBar:"∤",npar:"∦",nparallel:"∦",nparsl:"⫽⃥",npart:"∂̸",npolint:"⨔",npr:"⊀",nprcue:"⋠",npre:"⪯̸",nprec:"⊀",npreceq:"⪯̸",nrarr:"↛",nrArr:"⇏",nrarrc:"⤳̸",nrarrw:"↝̸",nrightarrow:"↛",nRightarrow:"⇏",nrtri:"⋫",nrtrie:"⋭",nsc:"⊁",nsccue:"⋡",nsce:"⪰̸",nscr:"𝓃",Nscr:"𝒩",nshortmid:"∤",nshortparallel:"∦",nsim:"≁",nsime:"≄",nsimeq:"≄",nsmid:"∤",nspar:"∦",nsqsube:"⋢",nsqsupe:"⋣",nsub:"⊄",nsube:"⊈",nsubE:"⫅̸",nsubset:"⊂⃒",nsubseteq:"⊈",nsubseteqq:"⫅̸",nsucc:"⊁",nsucceq:"⪰̸",nsup:"⊅",nsupe:"⊉",nsupE:"⫆̸",nsupset:"⊃⃒",nsupseteq:"⊉",nsupseteqq:"⫆̸",ntgl:"≹",ntilde:"ñ",Ntilde:"Ñ",ntlg:"≸",ntriangleleft:"⋪",ntrianglelefteq:"⋬",ntriangleright:"⋫",ntrianglerighteq:"⋭",nu:"ν",Nu:"Ν",num:"#",numero:"№",numsp:"",nvap:"≍⃒",nvdash:"⊬",nvDash:"⊭",nVdash:"⊮",nVDash:"⊯",nvge:"≥⃒",nvgt:">⃒",nvHarr:"⤄",nvinfin:"⧞",nvlArr:"⤂",nvle:"≤⃒",nvlt:"<⃒",nvltrie:"⊴⃒",nvrArr:"⤃",nvrtrie:"⊵⃒",nvsim:"∼⃒",nwarhk:"⤣",nwarr:"↖",nwArr:"⇖",nwarrow:"↖",nwnear:"⤧",oacute:"ó",Oacute:"Ó",oast:"⊛",ocir:"⊚",ocirc:"ô",Ocirc:"Ô",ocy:"о",Ocy:"О",odash:"⊝",odblac:"ő",Odblac:"Ő",odiv:"⨸",odot:"⊙",odsold:"⦼",oelig:"œ",OElig:"Œ",ofcir:"⦿",ofr:"𝔬",Ofr:"𝔒",ogon:"˛",ograve:"ò",Ograve:"Ò",ogt:"⧁",ohbar:"⦵",ohm:"Ω",oint:"∮",olarr:"↺",olcir:"⦾",olcross:"⦻",oline:"‾",olt:"⧀",omacr:"ō",Omacr:"Ō",omega:"ω",Omega:"Ω",omicron:"ο",Omicron:"Ο",omid:"⦶",ominus:"⊖",oopf:"𝕠",Oopf:"𝕆",opar:"⦷",OpenCurlyDoubleQuote:"“",OpenCurlyQuote:"",operp:"⦹",oplus:"⊕",or:"",Or:"⩔",orarr:"↻",ord:"⩝",order:"",orderof:"",ordf:"ª",ordm:"º",origof:"⊶",oror:"⩖",orslope:"⩗",orv:"⩛",oS:"Ⓢ",oscr:"",Oscr:"𝒪",oslash:"ø",Oslash:"Ø",osol:"⊘",otilde:"õ",Otilde:"Õ",otimes:"⊗",Otimes:"⨷",otimesas:"⨶",ouml:"ö",Ouml:"Ö",ovbar:"⌽",OverBar:"‾",OverBrace:"⏞",OverBracket:"⎴",OverParenthesis:"⏜",par:"∥",para:"¶",parallel:"∥",parsim:"⫳",parsl:"⫽",part:"∂",PartialD:"∂",pcy:"п",Pcy:"П",percnt:"%",period:".",permil:"‰",perp:"⊥",pertenk:"‱",pfr:"𝔭",Pfr:"𝔓",phi:"φ",Phi:"Φ",phiv:"ϕ",phmmat:"",phone:"☎",pi:"π",Pi:"Π",pitchfork:"⋔",piv:"ϖ",planck:"ℏ",planckh:"",plankv:"ℏ",plus:"+",plusacir:"⨣",plusb:"⊞",pluscir:"⨢",plusdo:"∔",plusdu:"⨥",pluse:"⩲",PlusMinus:"±",plusmn:"±",plussim:"⨦",plustwo:"⨧",pm:"±",Poincareplane:"",pointint:"⨕",popf:"𝕡",Popf:"",pound:"£",pr:"≺",Pr:"⪻",prap:"⪷",prcue:"≼",pre:"⪯",prE:"⪳",prec:"≺",precapprox:"⪷",preccurlyeq:"≼",Precedes:"≺",PrecedesEqual:"⪯",PrecedesSlantEqual:"≼",PrecedesTilde:"≾",preceq:"⪯",precnapprox:"⪹",precneqq:"⪵",precnsim:"⋨",precsim:"≾",prime:"",Prime:"″",primes:"",prnap:"⪹",prnE:"⪵",prnsim:"⋨",prod:"∏",Product:"∏",profalar:"⌮",profline:"⌒",profsurf:"⌓",prop:"∝",Proportion:"∷",Proportional:"∝",propto:"∝",prsim:"≾",prurel:"⊰",pscr:"𝓅",Pscr:"𝒫",psi:"ψ",Psi:"Ψ",puncsp:"",qfr:"𝔮",Qfr:"𝔔",qint:"⨌",qopf:"𝕢",Qopf:"",qprime:"⁗",qscr:"𝓆",Qscr:"𝒬",quaternions:"",quatint:"⨖",quest:"?",questeq:"≟",quot:'"',QUOT:'"',rAarr:"⇛",race:"∽̱",racute:"ŕ",Racute:"Ŕ",radic:"√",raemptyv:"⦳",rang:"⟩",Rang:"⟫",rangd:"⦒",range:"⦥",rangle:"⟩",raquo:"»",rarr:"→",rArr:"⇒",Rarr:"↠",rarrap:"⥵",rarrb:"⇥",rarrbfs:"⤠",rarrc:"⤳",rarrfs:"⤞",rarrhk:"↪",rarrlp:"↬",rarrpl:"⥅",rarrsim:"⥴",rarrtl:"↣",Rarrtl:"⤖",rarrw:"↝",ratail:"⤚",rAtail:"⤜",ratio:"",rationals:"",rbarr:"⤍",rBarr:"⤏",RBarr:"⤐",rbbrk:"",rbrace:"}",rbrack:"]",rbrke:"⦌",rbrksld:"⦎",rbrkslu:"⦐",rcaron:"ř",Rcaron:"Ř",rcedil:"ŗ",Rcedil:"Ŗ",rceil:"⌉",rcub:"}",rcy:"р",Rcy:"Р",rdca:"⤷",rdldhar:"⥩",rdquo:"”",rdquor:"”",rdsh:"↳",Re:"",real:"",realine:"",realpart:"",reals:"",rect:"▭",reg:"®",REG:"®",ReverseElement:"∋",ReverseEquilibrium:"⇋",ReverseUpEquilibrium:"⥯",rfisht:"⥽",rfloor:"⌋",rfr:"𝔯",Rfr:"",rHar:"⥤",rhard:"⇁",rharu:"⇀",rharul:"⥬",rho:"ρ",Rho:"Ρ",rhov:"ϱ",RightAngleBracket:"⟩",rightarrow:"→",Rightarrow:"⇒",RightArrow:"→",RightArrowBar:"⇥",RightArrowLeftArrow:"⇄",rightarrowtail:"↣",RightCeiling:"⌉",RightDoubleBracket:"⟧",RightDownTeeVector:"⥝",RightDownVector:"⇂",RightDownVectorBar:"⥕",RightFloor:"⌋",rightharpoondown:"⇁",rightharpoonup:"⇀",rightleftarrows:"⇄",rightleftharpoons:"⇌",rightrightarrows:"⇉",rightsquigarrow:"↝",RightTee:"⊢",RightTeeArrow:"↦",RightTeeVector:"⥛",rightthreetimes:"⋌",RightTriangle:"⊳",RightTriangleBar:"⧐",RightTriangleEqual:"⊵",RightUpDownVector:"⥏",RightUpTeeVector:"⥜",RightUpVector:"↾",RightUpVectorBar:"⥔",RightVector:"⇀",RightVectorBar:"⥓",ring:"˚",risingdotseq:"≓",rlarr:"⇄",rlhar:"⇌",rlm:"",rmoust:"⎱",rmoustache:"⎱",rnmid:"⫮",roang:"⟭",roarr:"⇾",robrk:"⟧",ropar:"⦆",ropf:"𝕣",Ropf:"",roplus:"⨮",rotimes:"⨵",RoundImplies:"⥰",rpar:")",rpargt:"⦔",rppolint:"⨒",rrarr:"⇉",Rrightarrow:"⇛",rsaquo:"",rscr:"𝓇",Rscr:"",rsh:"↱",Rsh:"↱",rsqb:"]",rsquo:"",rsquor:"",rthree:"⋌",rtimes:"⋊",rtri:"▹",rtrie:"⊵",rtrif:"▸",rtriltri:"⧎",RuleDelayed:"⧴",ruluhar:"⥨",rx:"℞",sacute:"ś",Sacute:"Ś",sbquo:"",sc:"≻",Sc:"⪼",scap:"⪸",scaron:"š",Scaron:"Š",sccue:"≽",sce:"⪰",scE:"⪴",scedil:"ş",Scedil:"Ş",scirc:"ŝ",Scirc:"Ŝ",scnap:"⪺",scnE:"⪶",scnsim:"⋩",scpolint:"⨓",scsim:"≿",scy:"с",Scy:"С",sdot:"⋅",sdotb:"⊡",sdote:"⩦",searhk:"⤥",searr:"↘",seArr:"⇘",searrow:"↘",sect:"§",semi:";",seswar:"⤩",setminus:"",setmn:"",sext:"✶",sfr:"𝔰",Sfr:"𝔖",sfrown:"⌢",sharp:"♯",shchcy:"щ",SHCHcy:"Щ",shcy:"ш",SHcy:"Ш",ShortDownArrow:"↓",ShortLeftArrow:"←",shortmid:"",shortparallel:"∥",ShortRightArrow:"→",ShortUpArrow:"↑",shy:"­",sigma:"σ",Sigma:"Σ",sigmaf:"ς",sigmav:"ς",sim:"",simdot:"⩪",sime:"≃",simeq:"≃",simg:"⪞",simgE:"⪠",siml:"⪝",simlE:"⪟",simne:"≆",simplus:"⨤",simrarr:"⥲",slarr:"←",SmallCircle:"∘",smallsetminus:"",smashp:"⨳",smeparsl:"⧤",smid:"",smile:"⌣",smt:"⪪",smte:"⪬",smtes:"⪬︀",softcy:"ь",SOFTcy:"Ь",sol:"/",solb:"⧄",solbar:"⌿",sopf:"𝕤",Sopf:"𝕊",spades:"♠",spadesuit:"♠",spar:"∥",sqcap:"⊓",sqcaps:"⊓︀",sqcup:"⊔",sqcups:"⊔︀",Sqrt:"√",sqsub:"⊏",sqsube:"⊑",sqsubset:"⊏",sqsubseteq:"⊑",sqsup:"⊐",sqsupe:"⊒",sqsupset:"⊐",sqsupseteq:"⊒",squ:"□",square:"□",Square:"□",SquareIntersection:"⊓",SquareSubset:"⊏",SquareSubsetEqual:"⊑",SquareSuperset:"⊐",SquareSupersetEqual:"⊒",SquareUnion:"⊔",squarf:"▪",squf:"▪",srarr:"→",sscr:"𝓈",Sscr:"𝒮",ssetmn:"",ssmile:"⌣",sstarf:"⋆",star:"☆",Star:"⋆",starf:"★",straightepsilon:"ϵ",straightphi:"ϕ",strns:"¯",sub:"⊂",Sub:"⋐",subdot:"⪽",sube:"⊆",subE:"⫅",subedot:"⫃",submult:"⫁",subne:"⊊",subnE:"⫋",subplus:"⪿",subrarr:"⥹",subset:"⊂",Subset:"⋐",subseteq:"⊆",subseteqq:"⫅",SubsetEqual:"⊆",subsetneq:"⊊",subsetneqq:"⫋",subsim:"⫇",subsub:"⫕",subsup:"⫓",succ:"≻",succapprox:"⪸",succcurlyeq:"≽",Succeeds:"≻",SucceedsEqual:"⪰",SucceedsSlantEqual:"≽",SucceedsTilde:"≿",succeq:"⪰",succnapprox:"⪺",succneqq:"⪶",succnsim:"⋩",succsim:"≿",SuchThat:"∋",sum:"∑",Sum:"∑",sung:"♪",sup:"⊃",Sup:"⋑",sup1:"¹",sup2:"²",sup3:"³",supdot:"⪾",supdsub:"⫘",supe:"⊇",supE:"⫆",supedot:"⫄",Superset:"⊃",SupersetEqual:"⊇",suphsol:"⟉",suphsub:"⫗",suplarr:"⥻",supmult:"⫂",supne:"⊋",supnE:"⫌",supplus:"⫀",supset:"⊃",Supset:"⋑",supseteq:"⊇",supseteqq:"⫆",supsetneq:"⊋",supsetneqq:"⫌",supsim:"⫈",supsub:"⫔",supsup:"⫖",swarhk:"⤦",swarr:"↙",swArr:"⇙",swarrow:"↙",swnwar:"⤪",szlig:"ß",Tab:"\t",target:"⌖",tau:"τ",Tau:"Τ",tbrk:"⎴",tcaron:"ť",Tcaron:"Ť",tcedil:"ţ",Tcedil:"Ţ",tcy:"т",Tcy:"Т",tdot:"⃛",telrec:"⌕",tfr:"𝔱",Tfr:"𝔗",there4:"∴",therefore:"∴",Therefore:"∴",theta:"θ",Theta:"Θ",thetasym:"ϑ",thetav:"ϑ",thickapprox:"≈",thicksim:"",ThickSpace:"",thinsp:"",ThinSpace:"",thkap:"≈",thksim:"",thorn:"þ",THORN:"Þ",tilde:"˜",Tilde:"",TildeEqual:"≃",TildeFullEqual:"≅",TildeTilde:"≈",times:"×",timesb:"⊠",timesbar:"⨱",timesd:"⨰",tint:"∭",toea:"⤨",top:"",topbot:"⌶",topcir:"⫱",topf:"𝕥",Topf:"𝕋",topfork:"⫚",tosa:"⤩",tprime:"‴",trade:"™",TRADE:"™",triangle:"▵",triangledown:"▿",triangleleft:"◃",trianglelefteq:"⊴",triangleq:"≜",triangleright:"▹",trianglerighteq:"⊵",tridot:"◬",trie:"≜",triminus:"⨺",TripleDot:"⃛",triplus:"⨹",trisb:"⧍",tritime:"⨻",trpezium:"⏢",tscr:"𝓉",Tscr:"𝒯",tscy:"ц",TScy:"Ц",tshcy:"ћ",TSHcy:"Ћ",tstrok:"ŧ",Tstrok:"Ŧ",twixt:"≬",twoheadleftarrow:"↞",twoheadrightarrow:"↠",uacute:"ú",Uacute:"Ú",uarr:"↑",uArr:"⇑",Uarr:"↟",Uarrocir:"⥉",ubrcy:"ў",Ubrcy:"Ў",ubreve:"ŭ",Ubreve:"Ŭ",ucirc:"û",Ucirc:"Û",ucy:"у",Ucy:"У",udarr:"⇅",udblac:"ű",Udblac:"Ű",udhar:"⥮",ufisht:"⥾",ufr:"𝔲",Ufr:"𝔘",ugrave:"ù",Ugrave:"Ù",uHar:"⥣",uharl:"↿",uharr:"↾",uhblk:"▀",ulcorn:"⌜",ulcorner:"⌜",ulcrop:"⌏",ultri:"◸",umacr:"ū",Umacr:"Ū",uml:"¨",UnderBar:"_",UnderBrace:"⏟",UnderBracket:"⎵",UnderParenthesis:"⏝",Union:"",UnionPlus:"⊎",uogon:"ų",Uogon:"Ų",uopf:"𝕦",Uopf:"𝕌",uparrow:"↑",Uparrow:"⇑",UpArrow:"↑",UpArrowBar:"⤒",UpArrowDownArrow:"⇅",updownarrow:"↕",Updownarrow:"⇕",UpDownArrow:"↕",UpEquilibrium:"⥮",upharpoonleft:"↿",upharpoonright:"↾",uplus:"⊎",UpperLeftArrow:"↖",UpperRightArrow:"↗",upsi:"υ",Upsi:"ϒ",upsih:"ϒ",upsilon:"υ",Upsilon:"Υ",UpTee:"⊥",UpTeeArrow:"↥",upuparrows:"⇈",urcorn:"⌝",urcorner:"⌝",urcrop:"⌎",uring:"ů",Uring:"Ů",urtri:"◹",uscr:"𝓊",Uscr:"𝒰",utdot:"⋰",utilde:"ũ",Utilde:"Ũ",utri:"▵",utrif:"▴",uuarr:"⇈",uuml:"ü",Uuml:"Ü",uwangle:"⦧",vangrt:"⦜",varepsilon:"ϵ",varkappa:"ϰ",varnothing:"∅",varphi:"ϕ",varpi:"ϖ",varpropto:"∝",varr:"↕",vArr:"⇕",varrho:"ϱ",varsigma:"ς",varsubsetneq:"⊊︀",varsubsetneqq:"⫋︀",varsupsetneq:"⊋︀",varsupsetneqq:"⫌︀",vartheta:"ϑ",vartriangleleft:"⊲",vartriangleright:"⊳",vBar:"⫨",Vbar:"⫫",vBarv:"⫩",vcy:"в",Vcy:"В",vdash:"⊢",vDash:"⊨",Vdash:"⊩",VDash:"⊫",Vdashl:"⫦",vee:"",Vee:"",veebar:"⊻",veeeq:"≚",vellip:"⋮",verbar:"|",Verbar:"‖",vert:"|",Vert:"‖",VerticalBar:"",VerticalLine:"|",VerticalSeparator:"❘",VerticalTilde:"≀",VeryThinSpace:"",vfr:"𝔳",Vfr:"𝔙",vltri:"⊲",vnsub:"⊂⃒",vnsup:"⊃⃒",vopf:"𝕧",Vopf:"𝕍",vprop:"∝",vrtri:"⊳",vscr:"𝓋",Vscr:"𝒱",vsubne:"⊊︀",vsubnE:"⫋︀",vsupne:"⊋︀",vsupnE:"⫌︀",Vvdash:"⊪",vzigzag:"⦚",wcirc:"ŵ",Wcirc:"Ŵ",wedbar:"⩟",wedge:"∧",Wedge:"⋀",wedgeq:"≙",weierp:"℘",wfr:"𝔴",Wfr:"𝔚",wopf:"𝕨",Wopf:"𝕎",wp:"℘",wr:"≀",wreath:"≀",wscr:"𝓌",Wscr:"𝒲",xcap:"⋂",xcirc:"◯",xcup:"",xdtri:"▽",xfr:"𝔵",Xfr:"𝔛",xharr:"⟷",xhArr:"⟺",xi:"ξ",Xi:"Ξ",xlarr:"⟵",xlArr:"⟸",xmap:"⟼",xnis:"⋻",xodot:"⨀",xopf:"𝕩",Xopf:"𝕏",xoplus:"⨁",xotime:"⨂",xrarr:"⟶",xrArr:"⟹",xscr:"𝓍",Xscr:"𝒳",xsqcup:"⨆",xuplus:"⨄",xutri:"△",xvee:"",xwedge:"⋀",yacute:"ý",Yacute:"Ý",yacy:"я",YAcy:"Я",ycirc:"ŷ",Ycirc:"Ŷ",ycy:"ы",Ycy:"Ы",yen:"¥",yfr:"𝔶",Yfr:"𝔜",yicy:"ї",YIcy:"Ї",yopf:"𝕪",Yopf:"𝕐",yscr:"𝓎",Yscr:"𝒴",yucy:"ю",YUcy:"Ю",yuml:"ÿ",Yuml:"Ÿ",zacute:"ź",Zacute:"Ź",zcaron:"ž",Zcaron:"Ž",zcy:"з",Zcy:"З",zdot:"ż",Zdot:"Ż",zeetrf:"",ZeroWidthSpace:"",zeta:"ζ",Zeta:"Ζ",zfr:"𝔷",Zfr:"",zhcy:"ж",ZHcy:"Ж",zigrarr:"⇝",zopf:"𝕫",Zopf:"",zscr:"𝓏",Zscr:"𝒵",zwj:"",zwnj:""},v={aacute:"á",Aacute:"Á",acirc:"â",Acirc:"Â",acute:"´",aelig:"æ",AElig:"Æ",agrave:"à",Agrave:"À",amp:"&",AMP:"&",aring:"å",Aring:"Å",atilde:"ã",Atilde:"Ã",auml:"ä",Auml:"Ä",brvbar:"¦",ccedil:"ç",Ccedil:"Ç",cedil:"¸",cent:"¢",copy:"©",COPY:"©",curren:"¤",deg:"°",divide:"÷",eacute:"é",Eacute:"É",ecirc:"ê",Ecirc:"Ê",egrave:"è",Egrave:"È",eth:"ð",ETH:"Ð",euml:"ë",Euml:"Ë",frac12:"½",frac14:"¼",frac34:"¾",gt:">",GT:">",iacute:"í",Iacute:"Í",icirc:"î",Icirc:"Î",iexcl:"¡",igrave:"ì",Igrave:"Ì",iquest:"¿",iuml:"ï",Iuml:"Ï",laquo:"«",lt:"<",LT:"<",macr:"¯",micro:"µ",middot:"·",nbsp:" ",not:"¬",ntilde:"ñ",Ntilde:"Ñ",oacute:"ó",Oacute:"Ó",ocirc:"ô",Ocirc:"Ô",ograve:"ò",Ograve:"Ò",ordf:"ª",ordm:"º",oslash:"ø",Oslash:"Ø",otilde:"õ",Otilde:"Õ",ouml:"ö",Ouml:"Ö",para:"¶",plusmn:"±",pound:"£",quot:'"',QUOT:'"',raquo:"»",reg:"®",REG:"®",sect:"§",shy:"­",sup1:"¹",sup2:"²",sup3:"³",szlig:"ß",thorn:"þ",THORN:"Þ",times:"×",uacute:"ú",Uacute:"Ú",ucirc:"û",Ucirc:"Û",ugrave:"ù",Ugrave:"Ù",uml:"¨",uuml:"ü",Uuml:"Ü",yacute:"ý",Yacute:"Ý",yen:"¥",yuml:"ÿ"},b={0:"<22>",128:"€",130:"",131:"ƒ",132:"„",133:"…",134:"†",135:"‡",136:"ˆ",137:"‰",138:"Š",139:"",140:"Œ",142:"Ž",145:"",146:"",147:"“",148:"”",149:"•",150:"",151:"—",152:"˜",153:"™",154:"š",155:"",156:"œ",158:"ž",159:"Ÿ"},y=[1,2,3,4,5,6,7,8,11,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,127,128,129,130,131,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,64976,64977,64978,64979,64980,64981,64982,64983,64984,64985,64986,64987,64988,64989,64990,64991,64992,64993,64994,64995,64996,64997,64998,64999,65e3,65001,65002,65003,65004,65005,65006,65007,65534,65535,131070,131071,196606,196607,262142,262143,327678,327679,393214,393215,458750,458751,524286,524287,589822,589823,655358,655359,720894,720895,786430,786431,851966,851967,917502,917503,983038,983039,1048574,1048575,1114110,1114111],A=String.fromCharCode,w={}.hasOwnProperty,x=function(e,t){return w.call(e,t)},E=function(e,t){if(!e)return t;var n,r={};for(n in t)r[n]=x(e,n)?e[n]:t[n];return r},k=function(e,t){var n="";return e>=55296&&e<=57343||e>1114111?(t&&C("character reference outside the permissible Unicode range"),"<22>"):x(b,e)?(t&&C("disallowed character reference"),b[e]):(t&&function(e,t){for(var n=-1,r=e.length;++n<r;)if(e[n]==t)return!0;return!1}(y,e)&&C("disallowed character reference"),e>65535&&(n+=A((e-=65536)>>>10&1023|55296),e=56320|1023&e),n+=A(e))},S=function(e){return"&#x"+e.toString(16).toUpperCase()+";"},_=function(e){return"&#"+e+";"},C=function(e){throw Error("Parse error: "+e)},T=function(e,t){(t=E(t,T.options)).strict&&h.test(e)&&C("forbidden code point");var n=t.encodeEverything,r=t.useNamedReferences,o=t.allowUnsafeSymbols,i=t.decimal?_:S,f=function(e){return i(e.charCodeAt(0))};return n?(e=e.replace(l,(function(e){return r&&x(c,e)?"&"+c[e]+";":f(e)})),r&&(e=e.replace(/&gt;\u20D2/g,"&nvgt;").replace(/&lt;\u20D2/g,"&nvlt;").replace(/&#x66;&#x6A;/g,"&fjlig;")),r&&(e=e.replace(u,(function(e){return"&"+c[e]+";"})))):r?(o||(e=e.replace(d,(function(e){return"&"+c[e]+";"}))),e=(e=e.replace(/&gt;\u20D2/g,"&nvgt;").replace(/&lt;\u20D2/g,"&nvlt;")).replace(u,(function(e){return"&"+c[e]+";"}))):o||(e=e.replace(d,f)),e.replace(a,(function(e){var t=e.charCodeAt(0),n=e.charCodeAt(1);return i(1024*(t-55296)+n-56320+65536)})).replace(s,f)};T.options={allowUnsafeSymbols:!1,encodeEverything:!1,strict:!1,useNamedReferences:!1,decimal:!1};var D=function(e,t){var n=(t=E(t,D.options)).strict;return n&&p.test(e)&&C("malformed character reference"),e.replace(g,(function(e,r,o,i,a,l,s,u,c){var d,f,p,h,g,b;return r?m[g=r]:o?(g=o,(b=i)&&t.isAttributeValue?(n&&"="==b&&C("`&` did not start a character reference"),e):(n&&C("named character reference was not terminated by a semicolon"),v[g]+(b||""))):a?(p=a,f=l,n&&!f&&C("character reference was not terminated by a semicolon"),d=parseInt(p,10),k(d,n)):s?(h=s,f=u,n&&!f&&C("character reference was not terminated by a semicolon"),d=parseInt(h,16),k(d,n)):(n&&C("named character reference was not terminated by a semicolon"),e)}))};D.options={isAttributeValue:!1,strict:!1};var L={version:"1.2.0",encode:T,decode:D,escape:function(e){return e.replace(d,(function(e){return f[e]}))},unescape:D};void 0===(r=function(){return L}.call(t,n,t,e))||(e.exports=r)}()},6299:e=>{var t=/\/\*[^*]*\*+([^/*][^*]*\*+)*\//g,n=/\n/g,r=/^\s*/,o=/^(\*?[-#/*\\\w]+(\[[0-9a-z_-]+\])?)\s*/,i=/^:\s*/,a=/^((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};])+)/,l=/^[;\s]*/,s=/^\s+|\s+$/g,u="";function c(e){return e?e.replace(s,u):u}e.exports=function(e,s){if("string"!=typeof e)throw new TypeError("First argument must be a string");if(!e)return[];s=s||{};var d=1,f=1;function p(e){var t=e.match(n);t&&(d+=t.length);var r=e.lastIndexOf("\n");f=~r?e.length-r:f+e.length}function h(){var e={line:d,column:f};return function(t){return t.position=new g(e),y(),t}}function g(e){this.start=e,this.end={line:d,column:f},this.source=s.source}g.prototype.content=e;var m=[];function v(t){var n=new Error(s.source+":"+d+":"+f+": "+t);if(n.reason=t,n.filename=s.source,n.line=d,n.column=f,n.source=e,!s.silent)throw n;m.push(n)}function b(t){var n=t.exec(e);if(n){var r=n[0];return p(r),e=e.slice(r.length),n}}function y(){b(r)}function A(e){var t;for(e=e||[];t=w();)!1!==t&&e.push(t);return e}function w(){var t=h();if("/"==e.charAt(0)&&"*"==e.charAt(1)){for(var n=2;u!=e.charAt(n)&&("*"!=e.charAt(n)||"/"!=e.charAt(n+1));)++n;if(n+=2,u===e.charAt(n-1))return v("End of comment missing");var r=e.slice(2,n-2);return f+=2,p(r),e=e.slice(n),f+=2,t({type:"comment",comment:r})}}function x(){var e=h(),n=b(o);if(n){if(w(),!b(i))return v("property missing ':'");var r=b(a),s=e({type:"declaration",property:c(n[0].replace(t,u)),value:r?c(r[0].replace(t,u)):u});return b(l),s}}return y(),function(){var e,t=[];for(A(t);e=x();)!1!==e&&(t.push(e),A(t));return t}()}},1170:function(e,t){var n,r;void 0===(r="function"==typeof(n=function(){var e=function(){},t={},n={},r={};function o(e,t){if(e){var o=r[e];if(n[e]=t,o)for(;o.length;)o[0](e,t),o.splice(0,1)}}function i(t,n){t.call&&(t={success:t}),n.length?(t.error||e)(n):(t.success||e)(t)}function a(t,n,r,o){var i,l,s,u=document,c=r.async,d=(r.numRetries||0)+1,f=r.before||e,p=t.replace(/[\?|#].*$/,""),h=t.replace(/^(css|img|module|nomodule)!/,"");if(o=o||0,/(^css!|\.css$)/.test(p))(s=u.createElement("link")).rel="stylesheet",s.href=h,(i="hideFocus"in s)&&s.relList&&(i=0,s.rel="preload",s.as="style");else if(/(^img!|\.(png|gif|jpg|svg|webp)$)/.test(p))(s=u.createElement("img")).src=h;else if((s=u.createElement("script")).src=h,s.async=void 0===c||c,l="noModule"in s,/^module!/.test(p)){if(!l)return n(t,"l");s.type="module"}else if(/^nomodule!/.test(p)&&l)return n(t,"l");s.onload=s.onerror=s.onbeforeload=function(e){var l=e.type[0];if(i)try{s.sheet.cssText.length||(l="e")}catch(e){18!=e.code&&(l="e")}if("e"==l){if((o+=1)<d)return a(t,n,r,o)}else if("preload"==s.rel&&"style"==s.as)return s.rel="stylesheet";n(t,l,e.defaultPrevented)},!1!==f(t,s)&&u.head.appendChild(s)}function l(e,n,r){var l,s;if(n&&n.trim&&(l=n),s=(l?r:n)||{},l){if(l in t)throw"LoadJS";t[l]=!0}function u(t,n){!function(e,t,n){var r,o,i=(e=e.push?e:[e]).length,l=i,s=[];for(r=function(e,n,r){if("e"==n&&s.push(e),"b"==n){if(!r)return;s.push(e)}--i||t(s)},o=0;o<l;o++)a(e[o],r,n)}(e,(function(e){i(s,e),t&&i({success:t,error:n},e),o(l,e)}),s)}if(s.returnPromise)return new Promise(u);u()}return l.ready=function(e,t){return function(e,t){e=e.push?e:[e];var o,i,a,l=[],s=e.length,u=s;for(o=function(e,n){n.length&&l.push(e),--u||t(l)};s--;)i=e[s],(a=n[i])?o(i,a):(r[i]=r[i]||[]).push(o)}(e,(function(e){i(t,e)})),l},l.done=function(e){o(e,[])},l.reset=function(){t={},n={},r={}},l.isDefined=function(e){return e in t},l})?n.apply(t,[]):n)||(e.exports=r)},857:(e,t,n)=>{var r=n(7772).Symbol;e.exports=r},3366:(e,t,n)=>{var r=n(857),o=n(2107),i=n(7157),a=r?r.toStringTag:void 0;e.exports=function(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":a&&a in Object(e)?o(e):i(e)}},1704:(e,t,n)=>{var r=n(2153),o=/^\s+/;e.exports=function(e){return e?e.slice(0,r(e)+1).replace(o,""):e}},1242:(e,t,n)=>{var r="object"==typeof n.g&&n.g&&n.g.Object===Object&&n.g;e.exports=r},2107:(e,t,n)=>{var r=n(857),o=Object.prototype,i=o.hasOwnProperty,a=o.toString,l=r?r.toStringTag:void 0;e.exports=function(e){var t=i.call(e,l),n=e[l];try{e[l]=void 0;var r=!0}catch(e){}var o=a.call(e);return r&&(t?e[l]=n:delete e[l]),o}},7157:e=>{var t=Object.prototype.toString;e.exports=function(e){return t.call(e)}},7772:(e,t,n)=>{var r=n(1242),o="object"==typeof self&&self&&self.Object===Object&&self,i=r||o||Function("return this")();e.exports=i},2153:e=>{var t=/\s/;e.exports=function(e){for(var n=e.length;n--&&t.test(e.charAt(n)););return n}},4073:(e,t,n)=>{var r=n(9259),o=n(1100),i=n(7642),a=Math.max,l=Math.min;e.exports=function(e,t,n){var s,u,c,d,f,p,h=0,g=!1,m=!1,v=!0;if("function"!=typeof e)throw new TypeError("Expected a function");function b(t){var n=s,r=u;return s=u=void 0,h=t,d=e.apply(r,n)}function y(e){return h=e,f=setTimeout(w,t),g?b(e):d}function A(e){var n=e-p;return void 0===p||n>=t||n<0||m&&e-h>=c}function w(){var e=o();if(A(e))return x(e);f=setTimeout(w,function(e){var n=t-(e-p);return m?l(n,c-(e-h)):n}(e))}function x(e){return f=void 0,v&&s?b(e):(s=u=void 0,d)}function E(){var e=o(),n=A(e);if(s=arguments,u=this,p=e,n){if(void 0===f)return y(p);if(m)return clearTimeout(f),f=setTimeout(w,t),b(p)}return void 0===f&&(f=setTimeout(w,t)),d}return t=i(t)||0,r(n)&&(g=!!n.leading,c=(m="maxWait"in n)?a(i(n.maxWait)||0,t):c,v="trailing"in n?!!n.trailing:v),E.cancel=function(){void 0!==f&&clearTimeout(f),h=0,s=p=u=f=void 0},E.flush=function(){return void 0===f?d:x(o())},E}},9259:e=>{e.exports=function(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}},5125:e=>{e.exports=function(e){return null!=e&&"object"==typeof e}},4795:(e,t,n)=>{var r=n(3366),o=n(5125);e.exports=function(e){return"symbol"==typeof e||o(e)&&"[object Symbol]"==r(e)}},1100:(e,t,n)=>{var r=n(7772);e.exports=function(){return r.Date.now()}},2436:(e,t,n)=>{var r=n(4073),o=n(9259);e.exports=function(e,t,n){var i=!0,a=!0;if("function"!=typeof e)throw new TypeError("Expected a function");return o(n)&&(i="leading"in n?!!n.leading:i,a="trailing"in n?!!n.trailing:a),r(e,t,{leading:i,maxWait:t,trailing:a})}},7642:(e,t,n)=>{var r=n(1704),o=n(9259),i=n(4795),a=/^[-+]0x[0-9a-f]+$/i,l=/^0b[01]+$/i,s=/^0o[0-7]+$/i,u=parseInt;e.exports=function(e){if("number"==typeof e)return e;if(i(e))return NaN;if(o(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=o(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=r(e);var n=l.test(e);return n||s.test(e)?u(e.slice(2),n?2:8):a.test(e)?NaN:+e}},3771:e=>{"use strict";var t={};function n(e,r){var o;return"string"!=typeof r&&(r=n.defaultChars),o=function(e){var n,r,o=t[e];if(o)return o;for(o=t[e]=[],n=0;n<128;n++)r=String.fromCharCode(n),o.push(r);for(n=0;n<e.length;n++)o[r=e.charCodeAt(n)]="%"+("0"+r.toString(16).toUpperCase()).slice(-2);return o}(r),e.replace(/(%[a-f0-9]{2})+/gi,(function(e){var t,n,r,i,a,l,s,u="";for(t=0,n=e.length;t<n;t+=3)(r=parseInt(e.slice(t+1,t+3),16))<128?u+=o[r]:192==(224&r)&&t+3<n&&128==(192&(i=parseInt(e.slice(t+4,t+6),16)))?(u+=(s=r<<6&1984|63&i)<128?"<22><>":String.fromCharCode(s),t+=3):224==(240&r)&&t+6<n&&(i=parseInt(e.slice(t+4,t+6),16),a=parseInt(e.slice(t+7,t+9),16),128==(192&i)&&128==(192&a))?(u+=(s=r<<12&61440|i<<6&4032|63&a)<2048||s>=55296&&s<=57343?"<22><><EFBFBD>":String.fromCharCode(s),t+=6):240==(248&r)&&t+9<n&&(i=parseInt(e.slice(t+4,t+6),16),a=parseInt(e.slice(t+7,t+9),16),l=parseInt(e.slice(t+10,t+12),16),128==(192&i)&&128==(192&a)&&128==(192&l))?((s=r<<18&1835008|i<<12&258048|a<<6&4032|63&l)<65536||s>1114111?u+="<22><><EFBFBD><EFBFBD>":(s-=65536,u+=String.fromCharCode(55296+(s>>10),56320+(1023&s))),t+=9):u+="<22>";return u}))}n.defaultChars=";/?:@&=+$,#",n.componentChars="",e.exports=n},1737:e=>{"use strict";var t={};function n(e,r,o){var i,a,l,s,u,c="";for("string"!=typeof r&&(o=r,r=n.defaultChars),void 0===o&&(o=!0),u=function(e){var n,r,o=t[e];if(o)return o;for(o=t[e]=[],n=0;n<128;n++)r=String.fromCharCode(n),/^[0-9a-z]$/i.test(r)?o.push(r):o.push("%"+("0"+n.toString(16).toUpperCase()).slice(-2));for(n=0;n<e.length;n++)o[e.charCodeAt(n)]=e[n];return o}(r),i=0,a=e.length;i<a;i++)if(l=e.charCodeAt(i),o&&37===l&&i+2<a&&/^[0-9a-f]{2}$/i.test(e.slice(i+1,i+3)))c+=e.slice(i,i+3),i+=2;else if(l<128)c+=u[l];else if(l>=55296&&l<=57343){if(l>=55296&&l<=56319&&i+1<a&&(s=e.charCodeAt(i+1))>=56320&&s<=57343){c+=encodeURIComponent(e[i]+e[i+1]),i++;continue}c+="%EF%BF%BD"}else c+=encodeURIComponent(e[i]);return c}n.defaultChars=";/?:@&=+$,-_.!~*'()#",n.componentChars="-_.!~*'()",e.exports=n},5024:e=>{"use strict";e.exports=function(e){var t="";return t+=e.protocol||"",t+=e.slashes?"//":"",t+=e.auth?e.auth+"@":"",e.hostname&&-1!==e.hostname.indexOf(":")?t+="["+e.hostname+"]":t+=e.hostname||"",t+=e.port?":"+e.port:"",t+=e.pathname||"",(t+=e.search||"")+(e.hash||"")}},4976:(e,t,n)=>{"use strict";e.exports.encode=n(1737),e.exports.decode=n(3771),e.exports.format=n(5024),e.exports.parse=n(2084)},2084:e=>{"use strict";function t(){this.protocol=null,this.slashes=null,this.auth=null,this.port=null,this.hostname=null,this.hash=null,this.search=null,this.pathname=null}var n=/^([a-z0-9.+-]+:)/i,r=/:[0-9]*$/,o=/^(\/\/?(?!\/)[^\?\s]*)(\?[^\s]*)?$/,i=["{","}","|","\\","^","`"].concat(["<",">",'"',"`"," ","\r","\n","\t"]),a=["'"].concat(i),l=["%","/","?",";","#"].concat(a),s=["/","?","#"],u=/^[+a-z0-9A-Z_-]{0,63}$/,c=/^([+a-z0-9A-Z_-]{0,63})(.*)$/,d={javascript:!0,"javascript:":!0},f={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,"http:":!0,"https:":!0,"ftp:":!0,"gopher:":!0,"file:":!0};t.prototype.parse=function(e,t){var r,i,a,p,h,g=e;if(g=g.trim(),!t&&1===e.split("#").length){var m=o.exec(g);if(m)return this.pathname=m[1],m[2]&&(this.search=m[2]),this}var v=n.exec(g);if(v&&(a=(v=v[0]).toLowerCase(),this.protocol=v,g=g.substr(v.length)),(t||v||g.match(/^\/\/[^@\/]+@[^@\/]+/))&&(!(h="//"===g.substr(0,2))||v&&d[v]||(g=g.substr(2),this.slashes=!0)),!d[v]&&(h||v&&!f[v])){var b,y,A=-1;for(r=0;r<s.length;r++)-1!==(p=g.indexOf(s[r]))&&(-1===A||p<A)&&(A=p);for(-1!==(y=-1===A?g.lastIndexOf("@"):g.lastIndexOf("@",A))&&(b=g.slice(0,y),g=g.slice(y+1),this.auth=b),A=-1,r=0;r<l.length;r++)-1!==(p=g.indexOf(l[r]))&&(-1===A||p<A)&&(A=p);-1===A&&(A=g.length),":"===g[A-1]&&A--;var w=g.slice(0,A);g=g.slice(A),this.parseHost(w),this.hostname=this.hostname||"";var x="["===this.hostname[0]&&"]"===this.hostname[this.hostname.length-1];if(!x){var E=this.hostname.split(/\./);for(r=0,i=E.length;r<i;r++){var k=E[r];if(k&&!k.match(u)){for(var S="",_=0,C=k.length;_<C;_++)k.charCodeAt(_)>127?S+="x":S+=k[_];if(!S.match(u)){var T=E.slice(0,r),D=E.slice(r+1),L=k.match(c);L&&(T.push(L[1]),D.unshift(L[2])),D.length&&(g=D.join(".")+g),this.hostname=T.join(".");break}}}}this.hostname.length>255&&(this.hostname=""),x&&(this.hostname=this.hostname.substr(1,this.hostname.length-2))}var O=g.indexOf("#");-1!==O&&(this.hash=g.substr(O),g=g.slice(0,O));var R=g.indexOf("?");return-1!==R&&(this.search=g.substr(R),g=g.slice(0,R)),g&&(this.pathname=g),f[a]&&this.hostname&&!this.pathname&&(this.pathname=""),this},t.prototype.parseHost=function(e){var t=r.exec(e);t&&(":"!==(t=t[0])&&(this.port=t.substr(1)),e=e.substr(0,e.length-t.length)),e&&(this.hostname=e)},e.exports=function(e,n){if(e&&e instanceof t)return e;var r=new t;return r.parse(e,n),r}},9515:(e,t)=>{"use strict";function n(){return window.omnivoreEnv.NEXT_DEPLOYMENT_ID?`?dpl=${window.omnivoreEnv.NEXT_DEPLOYMENT_ID}`:""}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getDeploymentIdQueryOrEmptyString",{enumerable:!0,get:function(){return n}})},1054:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"addBasePath",{enumerable:!0,get:function(){return a}});const r=n(284),o=n(1119),i=window.omnivoreEnv.__NEXT_ROUTER_BASEPATH||"";function a(e,t){return(0,o.normalizePathTrailingSlash)(window.omnivoreEnv.__NEXT_MANUAL_CLIENT_BASE_PATH&&!t?e:(0,r.addPathPrefix)(e,i))}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},891:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"addLocale",{enumerable:!0,get:function(){return o}});const r=n(1119),o=function(e){for(var t=arguments.length,o=new Array(t>1?t-1:0),i=1;i<t;i++)o[i-1]=arguments[i];return window.omnivoreEnv.__NEXT_I18N_SUPPORT?(0,r.normalizePathTrailingSlash)(n(6707).addLocale(e,...o)):e};("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},3042:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}(t,{RSC:function(){return n},ACTION:function(){return r},NEXT_ROUTER_STATE_TREE:function(){return o},NEXT_ROUTER_PREFETCH:function(){return i},NEXT_URL:function(){return a},RSC_CONTENT_TYPE_HEADER:function(){return l},RSC_VARY_HEADER:function(){return s},FLIGHT_PARAMETERS:function(){return u},NEXT_RSC_UNION_QUERY:function(){return c}});const n="RSC",r="Next-Action",o="Next-Router-State-Tree",i="Next-Router-Prefetch",a="Next-Url",l="text/x-component",s=n+", "+o+", "+i+", "+a,u=[[n],[o],[i]],c="_rsc";("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},4644:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}(t,{PrefetchKind:function(){return u},ACTION_REFRESH:function(){return n},ACTION_NAVIGATE:function(){return r},ACTION_RESTORE:function(){return o},ACTION_SERVER_PATCH:function(){return i},ACTION_PREFETCH:function(){return a},ACTION_FAST_REFRESH:function(){return l},ACTION_SERVER_ACTION:function(){return s}});const n="refresh",r="navigate",o="restore",i="server-patch",a="prefetch",l="fast-refresh",s="server-action";var u;!function(e){e.AUTO="auto",e.FULL="full",e.TEMPORARY="temporary"}(u||(u={})),("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},936:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"detectDomainLocale",{enumerable:!0,get:function(){return r}});const r=function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];if(window.omnivoreEnv.__NEXT_I18N_SUPPORT)return n(927).D(...t)};("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},6963:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getDomainLocale",{enumerable:!0,get:function(){return i}});const r=n(1119),o=window.omnivoreEnv.__NEXT_ROUTER_BASEPATH||"";function i(e,t,i,a){if(window.omnivoreEnv.__NEXT_I18N_SUPPORT){const l=n(5726).normalizeLocalePath,s=n(936).detectDomainLocale,u=t||l(e,i).detectedLocale,c=s(a,void 0,u);if(c){const t="http"+(c.http?"":"s")+"://",n=u===c.defaultLocale?"":"/"+u;return""+t+c.domain+(0,r.normalizePathTrailingSlash)(""+o+n+e)}return!1}return!1}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},6200:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"hasBasePath",{enumerable:!0,get:function(){return i}});const r=n(9181),o=window.omnivoreEnv.__NEXT_ROUTER_BASEPATH||"";function i(e){return(0,r.pathHasPrefix)(e,o)}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},9410:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}(t,{DOMAttributeNames:function(){return n},isEqualNode:function(){return o},default:function(){return a}});const n={acceptCharset:"accept-charset",className:"class",htmlFor:"for",httpEquiv:"http-equiv",noModule:"noModule"};function r(e){let{type:t,props:r}=e;const o=document.createElement(t);for(const e in r){if(!r.hasOwnProperty(e))continue;if("children"===e||"dangerouslySetInnerHTML"===e)continue;if(void 0===r[e])continue;const i=n[e]||e.toLowerCase();"script"!==t||"async"!==i&&"defer"!==i&&"noModule"!==i?o.setAttribute(i,r[e]):o[i]=!!r[e]}const{children:i,dangerouslySetInnerHTML:a}=r;return a?o.innerHTML=a.__html||"":i&&(o.textContent="string"==typeof i?i:Array.isArray(i)?i.join(""):""),o}function o(e,t){if(e instanceof HTMLElement&&t instanceof HTMLElement){const n=t.getAttribute("nonce");if(n&&!e.getAttribute("nonce")){const r=t.cloneNode(!0);return r.setAttribute("nonce",""),r.nonce=n,n===e.nonce&&e.isEqualNode(r)}}return e.isEqualNode(t)}let i;function a(){return{mountedInstances:new Set,updateHead:e=>{const t={};e.forEach((e=>{if("link"===e.type&&e.props["data-optimized-fonts"]){if(document.querySelector('style[data-href="'+e.props["data-href"]+'"]'))return;e.props.href=e.props["data-href"],e.props["data-href"]=void 0}const n=t[e.type]||[];n.push(e),t[e.type]=n}));const n=t.title?t.title[0]:null;let r="";if(n){const{children:e}=n.props;r="string"==typeof e?e:Array.isArray(e)?e.join(""):""}r!==document.title&&(document.title=r),["meta","base","link","style","script"].forEach((e=>{i(e,t[e]||[])}))}}}i=window.omnivoreEnv.__NEXT_STRICT_NEXT_HEAD?(e,t)=>{const n=document.querySelector("head");if(!n)return;const i=n.querySelectorAll('meta[name="next-head"]')||[],a=[];if("meta"===e){const e=n.querySelector("meta[charset]");e&&a.push(e)}for(let t=0;t<i.length;t++){var l;const n=i[t].nextSibling;(null==n||null==(l=n.tagName)?void 0:l.toLowerCase())===e&&a.push(n)}const s=t.map(r).filter((e=>{for(let t=0,n=a.length;t<n;t++)if(o(a[t],e))return a.splice(t,1),!1;return!0}));a.forEach((e=>{var t;const n=e.previousSibling;var r;n&&"next-head"===n.getAttribute("name")&&(null==(r=e.parentNode)||r.removeChild(n)),null==(t=e.parentNode)||t.removeChild(e)})),s.forEach((e=>{var t;const r=document.createElement("meta");r.name="next-head",r.content="1","meta"===(null==(t=e.tagName)?void 0:t.toLowerCase())&&e.getAttribute("charset")||n.appendChild(r),n.appendChild(e)}))}:(e,t)=>{const n=document.getElementsByTagName("head")[0],i=n.querySelector("meta[name=next-head-count]"),a=Number(i.content),l=[];for(let t=0,n=i.previousElementSibling;t<a;t++,n=(null==n?void 0:n.previousElementSibling)||null){var s;(null==n||null==(s=n.tagName)?void 0:s.toLowerCase())===e&&l.push(n)}const u=t.map(r).filter((e=>{for(let t=0,n=l.length;t<n;t++)if(o(l[t],e))return l.splice(t,1),!1;return!0}));l.forEach((e=>{var t;return null==(t=e.parentNode)?void 0:t.removeChild(e)})),u.forEach((e=>n.insertBefore(e,i))),i.content=(a-l.length+u.length).toString()},("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},4529:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return b}});const r=n(7083)._(n(2784)),o=n(1589),i=n(8657),a=n(6555),l=n(1624),s=n(891),u=n(516),c=n(3077),d=n(3321),f=n(6963),p=n(1054),h=n(4644),g=new Set;function m(e,t,n,r,o,a){if("undefined"==typeof window)return;if(!a&&!(0,i.isLocalURL)(t))return;if(!r.bypassPrefetchedCheck){const o=t+"%"+n+"%"+(void 0!==r.locale?r.locale:"locale"in e?e.locale:void 0);if(g.has(o))return;g.add(o)}const l=a?e.prefetch(t,o):e.prefetch(t,n,r);Promise.resolve(l).catch((e=>{}))}function v(e){return"string"==typeof e?e:(0,a.formatUrl)(e)}const b=r.default.forwardRef((function(e,t){let n;const{href:a,as:g,children:b,prefetch:y=null,passHref:A,replace:w,shallow:x,scroll:E,locale:k,onClick:S,onMouseEnter:_,onTouchStart:C,legacyBehavior:T=!1,...D}=e;n=b,!T||"string"!=typeof n&&"number"!=typeof n||(n=r.default.createElement("a",null,n));const L=r.default.useContext(u.RouterContext),O=r.default.useContext(c.AppRouterContext),R=null!=L?L:O,P=!L,M=!1!==y,N=null===y?h.PrefetchKind.AUTO:h.PrefetchKind.FULL,{href:B,as:I}=r.default.useMemo((()=>{if(!L){const e=v(a);return{href:e,as:g?v(g):e}}const[e,t]=(0,o.resolveHref)(L,a,!0);return{href:e,as:g?(0,o.resolveHref)(L,g):t||e}}),[L,a,g]),j=r.default.useRef(B),F=r.default.useRef(I);let z;T&&(z=r.default.Children.only(n));const H=T?z&&"object"==typeof z&&z.ref:t,[q,U,W]=(0,d.useIntersection)({rootMargin:"200px"}),V=r.default.useCallback((e=>{F.current===I&&j.current===B||(W(),F.current=I,j.current=B),q(e),H&&("function"==typeof H?H(e):"object"==typeof H&&(H.current=e))}),[I,H,B,W,q]);r.default.useEffect((()=>{R&&U&&M&&m(R,B,I,{locale:k},{kind:N},P)}),[I,B,U,k,M,null==L?void 0:L.locale,R,P,N]);const Q={ref:V,onClick(e){T||"function"!=typeof S||S(e),T&&z.props&&"function"==typeof z.props.onClick&&z.props.onClick(e),R&&(e.defaultPrevented||function(e,t,n,o,a,l,s,u,c,d){const{nodeName:f}=e.currentTarget;if("A"===f.toUpperCase()&&(function(e){const t=e.currentTarget.getAttribute("target");return t&&"_self"!==t||e.metaKey||e.ctrlKey||e.shiftKey||e.altKey||e.nativeEvent&&2===e.nativeEvent.which}(e)||!c&&!(0,i.isLocalURL)(n)))return;e.preventDefault();const p=()=>{const e=null==s||s;"beforePopState"in t?t[a?"replace":"push"](n,o,{shallow:l,locale:u,scroll:e}):t[a?"replace":"push"](o||n,{forceOptimisticNavigation:!d,scroll:e})};c?r.default.startTransition(p):p()}(e,R,B,I,w,x,E,k,P,M))},onMouseEnter(e){T||"function"!=typeof _||_(e),T&&z.props&&"function"==typeof z.props.onMouseEnter&&z.props.onMouseEnter(e),R&&(!M&&P||m(R,B,I,{locale:k,priority:!0,bypassPrefetchedCheck:!0},{kind:N},P))},onTouchStart(e){T||"function"!=typeof C||C(e),T&&z.props&&"function"==typeof z.props.onTouchStart&&z.props.onTouchStart(e),R&&(!M&&P||m(R,B,I,{locale:k,priority:!0,bypassPrefetchedCheck:!0},{kind:N},P))}};if((0,l.isAbsoluteUrl)(I))Q.href=I;else if(!T||A||"a"===z.type&&!("href"in z.props)){const e=void 0!==k?k:null==L?void 0:L.locale,t=(null==L?void 0:L.isLocaleDomain)&&(0,f.getDomainLocale)(I,e,null==L?void 0:L.locales,null==L?void 0:L.domainLocales);Q.href=t||(0,p.addBasePath)((0,s.addLocale)(I,e,null==L?void 0:L.defaultLocale))}return T?r.default.cloneElement(z,Q):r.default.createElement("a",{...D,...Q},n)}));("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},5726:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"normalizeLocalePath",{enumerable:!0,get:function(){return r}});const r=(e,t)=>window.omnivoreEnv.__NEXT_I18N_SUPPORT?n(816).normalizeLocalePath(e,t):{pathname:e,detectedLocale:void 0};("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},1119:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"normalizePathTrailingSlash",{enumerable:!0,get:function(){return i}});const r=n(2794),o=n(2593),i=e=>{if(!e.startsWith("/")||window.omnivoreEnv.__NEXT_MANUAL_TRAILING_SLASH)return e;const{pathname:t,query:n,hash:i}=(0,o.parsePath)(e);return window.omnivoreEnv.__NEXT_TRAILING_SLASH?/\.[^/]+\/?$/.test(t)?""+(0,r.removeTrailingSlash)(t)+n+i:t.endsWith("/")?""+t+n+i:t+"/"+n+i:""+(0,r.removeTrailingSlash)(t)+n+i};("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},2087:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"removeBasePath",{enumerable:!0,get:function(){return i}});const r=n(6200),o=window.omnivoreEnv.__NEXT_ROUTER_BASEPATH||"";function i(e){return window.omnivoreEnv.__NEXT_MANUAL_CLIENT_BASE_PATH&&!(0,r.hasBasePath)(e)||0===o.length||(e=e.slice(o.length)).startsWith("/")||(e="/"+e),e}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},4884:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"removeLocale",{enumerable:!0,get:function(){return o}});const r=n(2593);function o(e,t){if(window.omnivoreEnv.__NEXT_I18N_SUPPORT){const{pathname:n}=(0,r.parsePath)(e),o=n.toLowerCase(),i=null==t?void 0:t.toLowerCase();return t&&(o.startsWith("/"+i+"/")||o==="/"+i)?(n.length===t.length+1?"/":"")+e.slice(t.length+1):e}return e}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},1976:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}(t,{requestIdleCallback:function(){return n},cancelIdleCallback:function(){return r}});const n="undefined"!=typeof self&&self.requestIdleCallback&&self.requestIdleCallback.bind(window)||function(e){let t=Date.now();return self.setTimeout((function(){e({didTimeout:!1,timeRemaining:function(){return Math.max(0,50-(Date.now()-t))}})}),1)},r="undefined"!=typeof self&&self.cancelIdleCallback&&self.cancelIdleCallback.bind(window)||function(e){return clearTimeout(e)};("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},1589:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"resolveHref",{enumerable:!0,get:function(){return d}});const r=n(646),o=n(6555),i=n(2093),a=n(1624),l=n(1119),s=n(8657),u=n(9150),c=n(2685);function d(e,t,n){let d,f="string"==typeof t?t:(0,o.formatWithValidation)(t);const p=f.match(/^[a-zA-Z]{1,}:\/\//),h=p?f.slice(p[0].length):f;if((h.split("?")[0]||"").match(/(\/\/|\\)/)){console.error("Invalid href '"+f+"' passed to next/router in page: '"+e.pathname+"'. Repeated forward-slashes (//) or backslashes \\ are not valid in the href.");const t=(0,a.normalizeRepeatedSlashes)(h);f=(p?p[0]:"")+t}if(!(0,s.isLocalURL)(f))return n?[f]:f;try{d=new URL(f.startsWith("#")?e.asPath:e.pathname,"http://n")}catch(e){d=new URL("/","http://n")}try{const e=new URL(f,d);e.pathname=(0,l.normalizePathTrailingSlash)(e.pathname);let t="";if((0,u.isDynamicRoute)(e.pathname)&&e.searchParams&&n){const n=(0,r.searchParamsToUrlQuery)(e.searchParams),{result:a,params:l}=(0,c.interpolateAs)(e.pathname,e.pathname,n);a&&(t=(0,o.formatWithValidation)({pathname:a,hash:e.hash,query:(0,i.omit)(n,l)}))}const a=e.origin===d.origin?e.href.slice(e.origin.length):e.href;return n?[a,t||a]:a}catch(e){return n?[f]:f}}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},7928:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}(t,{markAssetError:function(){return s},isAssetError:function(){return u},getClientBuildManifest:function(){return p},createRouteLoader:function(){return g}}),n(9983);const r=n(3251),o=n(1976),i=n(9515);function a(e,t,n){let r,o=t.get(e);if(o)return"future"in o?o.future:Promise.resolve(o);const i=new Promise((e=>{r=e}));return t.set(e,o={resolve:r,future:i}),n?n().then((e=>(r(e),e))).catch((n=>{throw t.delete(e),n})):i}const l=Symbol("ASSET_LOAD_ERROR");function s(e){return Object.defineProperty(e,l,{})}function u(e){return e&&l in e}const c=function(e){try{return e=document.createElement("link"),!!window.MSInputMethodContext&&!!document.documentMode||e.relList.supports("prefetch")}catch(e){return!1}}(),d=()=>(0,i.getDeploymentIdQueryOrEmptyString)();function f(e,t,n){return new Promise(((r,i)=>{let a=!1;e.then((e=>{a=!0,r(e)})).catch(i),(0,o.requestIdleCallback)((()=>setTimeout((()=>{a||i(n)}),t)))}))}function p(){return self.__BUILD_MANIFEST?Promise.resolve(self.__BUILD_MANIFEST):f(new Promise((e=>{const t=self.__BUILD_MANIFEST_CB;self.__BUILD_MANIFEST_CB=()=>{e(self.__BUILD_MANIFEST),t&&t()}})),3800,s(new Error("Failed to load client build manifest")))}function h(e,t){return p().then((n=>{if(!(t in n))throw s(new Error("Failed to lookup route: "+t));const o=n[t].map((t=>e+"/_next/"+encodeURI(t)));return{scripts:o.filter((e=>e.endsWith(".js"))).map((e=>(0,r.__unsafeCreateTrustedScriptURL)(e)+d())),css:o.filter((e=>e.endsWith(".css"))).map((e=>e+d()))}}))}function g(e){const t=new Map,n=new Map,r=new Map,i=new Map;function l(e){{let t=n.get(e.toString());return t||(document.querySelector('script[src^="'+e+'"]')?Promise.resolve():(n.set(e.toString(),t=function(e,t){return new Promise(((n,r)=>{(t=document.createElement("script")).onload=n,t.onerror=()=>r(s(new Error("Failed to load script: "+e))),t.crossOrigin=window.omnivoreEnv.__NEXT_CROSS_ORIGIN,t.src=e,document.body.appendChild(t)}))}(e)),t))}}function u(e){let t=r.get(e);return t||(r.set(e,t=fetch(e).then((t=>{if(!t.ok)throw new Error("Failed to load stylesheet: "+e);return t.text().then((t=>({href:e,content:t})))})).catch((e=>{throw s(e)}))),t)}return{whenEntrypoint:e=>a(e,t),onEntrypoint(e,n){(n?Promise.resolve().then((()=>n())).then((e=>({component:e&&e.default||e,exports:e})),(e=>({error:e}))):Promise.resolve(void 0)).then((n=>{const r=t.get(e);r&&"resolve"in r?n&&(t.set(e,n),r.resolve(n)):(n?t.set(e,n):t.delete(e),i.delete(e))}))},loadRoute(n,r){return a(n,i,(()=>f(h(e,n).then((e=>{let{scripts:r,css:o}=e;return Promise.all([t.has(n)?[]:Promise.all(r.map(l)),Promise.all(o.map(u))])})).then((e=>this.whenEntrypoint(n).then((t=>({entrypoint:t,styles:e[1]}))))),3800,s(new Error("Route did not complete loading: "+n))).then((e=>{let{entrypoint:t,styles:n}=e;const r=Object.assign({styles:n},t);return"error"in t?t:r})).catch((e=>{if(r)throw e;return{error:e}})).finally((()=>{}))))},prefetch(t){let n;return(n=navigator.connection)&&(n.saveData||/2g/.test(n.effectiveType))?Promise.resolve():h(e,t).then((e=>Promise.all(c?e.scripts.map((e=>{return t=e.toString(),n="script",new Promise(((e,o)=>{const i='\n link[rel="prefetch"][href^="'+t+'"],\n link[rel="preload"][href^="'+t+'"],\n script[src^="'+t+'"]';if(document.querySelector(i))return e();(r=document.createElement("link")).as=n,r.rel="prefetch",r.crossOrigin=window.omnivoreEnv.__NEXT_CROSS_ORIGIN,r.onload=e,r.onerror=()=>o(s(new Error("Failed to prefetch: "+t))),r.href=t,document.head.appendChild(r)}));var t,n,r})):[]))).then((()=>{(0,o.requestIdleCallback)((()=>this.loadRoute(t,!0).catch((()=>{}))))})).catch((()=>{}))}}}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},9518:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}(t,{Router:function(){return i.default},default:function(){return p},withRouter:function(){return s.default},useRouter:function(){return h},createRouter:function(){return g},makePublicRouterInstance:function(){return m}});const r=n(7083),o=r._(n(2784)),i=r._(n(6640)),a=n(516),l=r._(n(274)),s=r._(n(9564)),u={router:null,readyCallbacks:[],ready(e){if(this.router)return e();"undefined"!=typeof window&&this.readyCallbacks.push(e)}},c=["pathname","route","query","asPath","components","isFallback","basePath","locale","locales","defaultLocale","isReady","isPreview","isLocaleDomain","domainLocales"],d=["push","replace","reload","back","prefetch","beforePopState"];function f(){if(!u.router)throw new Error('No router instance found.\nYou should only use "next/router" on the client side of your app.\n');return u.router}Object.defineProperty(u,"events",{get:()=>i.default.events}),c.forEach((e=>{Object.defineProperty(u,e,{get:()=>f()[e]})})),d.forEach((e=>{u[e]=function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];const o=f();return o[e](...n)}})),["routeChangeStart","beforeHistoryChange","routeChangeComplete","routeChangeError","hashChangeStart","hashChangeComplete"].forEach((e=>{u.ready((()=>{i.default.events.on(e,(function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];const o="on"+e.charAt(0).toUpperCase()+e.substring(1),i=u;if(i[o])try{i[o](...n)}catch(e){console.error("Error when running the Router event: "+o),console.error((0,l.default)(e)?e.message+"\n"+e.stack:e+"")}}))}))}));const p=u;function h(){const e=o.default.useContext(a.RouterContext);if(!e)throw new Error("NextRouter was not mounted. https://nextjs.org/docs/messages/next-router-not-mounted");return e}function g(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return u.router=new i.default(...t),u.readyCallbacks.forEach((e=>e())),u.readyCallbacks=[],u.router}function m(e){const t=e,n={};for(const e of c)"object"!=typeof t[e]?n[e]=t[e]:n[e]=Object.assign(Array.isArray(t[e])?[]:{},t[e]);return n.events=i.default.events,d.forEach((e=>{n[e]=function(){for(var n=arguments.length,r=new Array(n),o=0;o<n;o++)r[o]=arguments[o];return t[e](...r)}})),n}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},4725:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}(t,{handleClientScriptLoad:function(){return h},initScriptLoader:function(){return g},default:function(){return v}});const r=n(7083),o=n(5570),i=r._(n(8316)),a=o._(n(2784)),l=n(2560),s=n(9410),u=n(1976),c=new Map,d=new Set,f=["onLoad","onReady","dangerouslySetInnerHTML","children","onError","strategy","stylesheets"],p=e=>{const{src:t,id:n,onLoad:r=(()=>{}),onReady:o=null,dangerouslySetInnerHTML:a,children:l="",strategy:u="afterInteractive",onError:p,stylesheets:h}=e,g=n||t;if(g&&d.has(g))return;if(c.has(t))return d.add(g),void c.get(t).then(r,p);const m=()=>{o&&o(),d.add(g)},v=document.createElement("script"),b=new Promise(((e,t)=>{v.addEventListener("load",(function(t){e(),r&&r.call(this,t),m()})),v.addEventListener("error",(function(e){t(e)}))})).catch((function(e){p&&p(e)}));a?(v.innerHTML=a.__html||"",m()):l?(v.textContent="string"==typeof l?l:Array.isArray(l)?l.join(""):"",m()):t&&(v.src=t,c.set(t,b));for(const[t,n]of Object.entries(e)){if(void 0===n||f.includes(t))continue;const e=s.DOMAttributeNames[t]||t.toLowerCase();v.setAttribute(e,n)}"worker"===u&&v.setAttribute("type","text/partytown"),v.setAttribute("data-nscript",u),h&&(e=>{if(i.default.preinit)e.forEach((e=>{i.default.preinit(e,{as:"style"})}));else if("undefined"!=typeof window){let t=document.head;e.forEach((e=>{let n=document.createElement("link");n.type="text/css",n.rel="stylesheet",n.href=e,t.appendChild(n)}))}})(h),document.body.appendChild(v)};function h(e){const{strategy:t="afterInteractive"}=e;"lazyOnload"===t?window.addEventListener("load",(()=>{(0,u.requestIdleCallback)((()=>p(e)))})):p(e)}function g(e){e.forEach(h),[...document.querySelectorAll('[data-nscript="beforeInteractive"]'),...document.querySelectorAll('[data-nscript="beforePageRender"]')].forEach((e=>{const t=e.id||e.getAttribute("src");d.add(t)}))}function m(e){const{id:t,src:n="",onLoad:r=(()=>{}),onReady:o=null,strategy:s="afterInteractive",onError:c,stylesheets:f,...h}=e,{updateScripts:g,scripts:m,getIsSsr:v,appDir:b,nonce:y}=(0,a.useContext)(l.HeadManagerContext),A=(0,a.useRef)(!1);(0,a.useEffect)((()=>{const e=t||n;A.current||(o&&e&&d.has(e)&&o(),A.current=!0)}),[o,t,n]);const w=(0,a.useRef)(!1);if((0,a.useEffect)((()=>{w.current||("afterInteractive"===s?p(e):"lazyOnload"===s&&function(e){"complete"===document.readyState?(0,u.requestIdleCallback)((()=>p(e))):window.addEventListener("load",(()=>{(0,u.requestIdleCallback)((()=>p(e)))}))}(e),w.current=!0)}),[e,s]),"beforeInteractive"!==s&&"worker"!==s||(g?(m[s]=(m[s]||[]).concat([{id:t,src:n,onLoad:r,onReady:o,onError:c,...h}]),g(m)):v&&v()?d.add(t||n):v&&!v()&&p(e)),b){if(f&&f.forEach((e=>{i.default.preinit(e,{as:"style"})})),"beforeInteractive"===s)return n?(i.default.preload(n,h.integrity?{as:"script",integrity:h.integrity}:{as:"script"}),a.default.createElement("script",{nonce:y,dangerouslySetInnerHTML:{__html:"(self.__next_s=self.__next_s||[]).push("+JSON.stringify([n])+")"}})):(h.dangerouslySetInnerHTML&&(h.children=h.dangerouslySetInnerHTML.__html,delete h.dangerouslySetInnerHTML),a.default.createElement("script",{nonce:y,dangerouslySetInnerHTML:{__html:"(self.__next_s=self.__next_s||[]).push("+JSON.stringify([0,{...h}])+")"}}));"afterInteractive"===s&&n&&i.default.preload(n,h.integrity?{as:"script",integrity:h.integrity}:{as:"script"})}return null}Object.defineProperty(m,"__nextScript",{value:!0});const v=m;("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},3251:(e,t)=>{"use strict";let n;function r(e){var t,r;return(null==(void 0===n&&"undefined"!=typeof window&&(n=(null==(r=window.trustedTypes)?void 0:r.createPolicy("nextjs",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e}))||null),t=n)?void 0:t.createScriptURL(e))||e}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"__unsafeCreateTrustedScriptURL",{enumerable:!0,get:function(){return r}}),("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},3321:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"useIntersection",{enumerable:!0,get:function(){return s}});const r=n(2784),o=n(1976),i="function"==typeof IntersectionObserver,a=new Map,l=[];function s(e){let{rootRef:t,rootMargin:n,disabled:s}=e;const u=s||!i,[c,d]=(0,r.useState)(!1),f=(0,r.useRef)(null),p=(0,r.useCallback)((e=>{f.current=e}),[]);(0,r.useEffect)((()=>{if(i){if(u||c)return;const e=f.current;if(e&&e.tagName)return function(e,t,n){const{id:r,observer:o,elements:i}=function(e){const t={root:e.root||null,margin:e.rootMargin||""},n=l.find((e=>e.root===t.root&&e.margin===t.margin));let r;if(n&&(r=a.get(n),r))return r;const o=new Map,i=new IntersectionObserver((e=>{e.forEach((e=>{const t=o.get(e.target),n=e.isIntersecting||e.intersectionRatio>0;t&&n&&t(n)}))}),e);return r={id:t,observer:i,elements:o},l.push(t),a.set(t,r),r}(n);return i.set(e,t),o.observe(e),function(){if(i.delete(e),o.unobserve(e),0===i.size){o.disconnect(),a.delete(r);const e=l.findIndex((e=>e.root===r.root&&e.margin===r.margin));e>-1&&l.splice(e,1)}}}(e,(e=>e&&d(e)),{root:null==t?void 0:t.current,rootMargin:n})}else if(!c){const e=(0,o.requestIdleCallback)((()=>d(!0)));return()=>(0,o.cancelIdleCallback)(e)}}),[u,n,t,c,f.current]);const h=(0,r.useCallback)((()=>{d(!1)}),[]);return[p,c,h]}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},9564:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return i}});const r=n(7083)._(n(2784)),o=n(9518);function i(e){function t(t){return r.default.createElement(e,{router:(0,o.useRouter)(),...t})}return t.getInitialProps=e.getInitialProps,t.origGetInitialProps=e.origGetInitialProps,t}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},3980:e=>{(()=>{"use strict";"undefined"!=typeof __nccwpck_require__&&(__nccwpck_require__.ab="//");var t={};(()=>{var e=t;e.parse=function(e,t){if("string"!=typeof e)throw new TypeError("argument str must be a string");for(var r={},i=t||{},l=e.split(o),s=i.decode||n,u=0;u<l.length;u++){var c=l[u],d=c.indexOf("=");if(!(d<0)){var f=c.substr(0,d).trim(),p=c.substr(++d,c.length).trim();'"'==p[0]&&(p=p.slice(1,-1)),null==r[f]&&(r[f]=a(p,s))}}return r},e.serialize=function(e,t,n){var o=n||{},a=o.encode||r;if("function"!=typeof a)throw new TypeError("option encode is invalid");if(!i.test(e))throw new TypeError("argument name is invalid");var l=a(t);if(l&&!i.test(l))throw new TypeError("argument val is invalid");var s=e+"="+l;if(null!=o.maxAge){var u=o.maxAge-0;if(isNaN(u)||!isFinite(u))throw new TypeError("option maxAge is invalid");s+="; Max-Age="+Math.floor(u)}if(o.domain){if(!i.test(o.domain))throw new TypeError("option domain is invalid");s+="; Domain="+o.domain}if(o.path){if(!i.test(o.path))throw new TypeError("option path is invalid");s+="; Path="+o.path}if(o.expires){if("function"!=typeof o.expires.toUTCString)throw new TypeError("option expires is invalid");s+="; Expires="+o.expires.toUTCString()}if(o.httpOnly&&(s+="; HttpOnly"),o.secure&&(s+="; Secure"),o.sameSite)switch("string"==typeof o.sameSite?o.sameSite.toLowerCase():o.sameSite){case!0:s+="; SameSite=Strict";break;case"lax":s+="; SameSite=Lax";break;case"strict":s+="; SameSite=Strict";break;case"none":s+="; SameSite=None";break;default:throw new TypeError("option sameSite is invalid")}return s};var n=decodeURIComponent,r=encodeURIComponent,o=/; */,i=/^[\u0009\u0020-\u007e\u0080-\u00ff]+$/;function a(e,t){try{return t(e)}catch(t){return e}}})(),e.exports=t})()},4595:(e,t,n)=>{(()=>{var t={154:(e,t,n)=>{var r=n(781),o=["write","end","destroy"],i=["resume","pause"],a=["data","close"],l=Array.prototype.slice;function s(e,t){if(e.forEach)return e.forEach(t);for(var n=0;n<e.length;n++)t(e[n],n)}e.exports=function(e,t){var n=new r,u=!1;return s(o,(function(t){n[t]=function(){return e[t].apply(e,arguments)}})),s(i,(function(e){n[e]=function(){n.emit(e);var r=t[e];if(r)return r.apply(t,arguments);t.emit(e)}})),s(a,(function(e){t.on(e,(function(){var t=l.call(arguments);t.unshift(e),n.emit.apply(n,t)}))})),t.on("end",(function(){if(!u){u=!0;var e=l.call(arguments);e.unshift("end"),n.emit.apply(n,e)}})),e.on("drain",(function(){n.emit("drain")})),e.on("error",c),t.on("error",c),n.writable=e.writable,n.readable=t.readable,n;function c(e){n.emit("error",e)}}},349:(e,t,n)=>{"use strict";const r=n(147),o=n(781),i=n(796),a=n(154),l=n(530),s=e=>Object.assign({level:9},e);e.exports=(e,t)=>e?l(i.gzip)(e,s(t)).then((e=>e.length)).catch((e=>0)):Promise.resolve(0),e.exports.sync=(e,t)=>i.gzipSync(e,s(t)).length,e.exports.stream=e=>{const t=new o.PassThrough,n=new o.PassThrough,r=a(t,n);let l=0;const u=i.createGzip(s(e)).on("data",(e=>{l+=e.length})).on("error",(()=>{r.gzipSize=0})).on("end",(()=>{r.gzipSize=l,r.emit("gzip-size",l),n.end()}));return t.pipe(u),t.pipe(n,{end:!1}),r},e.exports.file=(t,n)=>new Promise(((o,i)=>{const a=r.createReadStream(t);a.on("error",i);const l=a.pipe(e.exports.stream(n));l.on("error",i),l.on("gzip-size",o)})),e.exports.fileSync=(t,n)=>e.exports.sync(r.readFileSync(t),n)},530:e=>{"use strict";const t=(e,t)=>function(...n){return new(0,t.promiseModule)(((r,o)=>{t.multiArgs?n.push(((...e)=>{t.errorFirst?e[0]?o(e):(e.shift(),r(e)):r(e)})):t.errorFirst?n.push(((e,t)=>{e?o(e):r(t)})):n.push(r),e.apply(this,n)}))};e.exports=(e,n)=>{n=Object.assign({exclude:[/.+(Sync|Stream)$/],errorFirst:!0,promiseModule:Promise},n);const r=typeof e;if(null===e||"object"!==r&&"function"!==r)throw new TypeError(`Expected \`input\` to be a \`Function\` or \`Object\`, got \`${null===e?"null":r}\``);const o=e=>{const t=t=>"string"==typeof t?e===t:t.test(e);return n.include?n.include.some(t):!n.exclude.some(t)};let i;i="function"===r?function(...r){return n.excludeMain?e(...r):t(e,n).apply(this,r)}:Object.create(Object.getPrototypeOf(e));for(const r in e){const a=e[r];i[r]="function"==typeof a&&o(r)?t(a,n):a}return i}},147:e=>{"use strict";e.exports=n(6032)},781:e=>{"use strict";e.exports=n(5775)},796:e=>{"use strict";e.exports=n(1264)}},r={};function o(e){var n=r[e];if(void 0!==n)return n.exports;var i=r[e]={exports:{}},a=!0;try{t[e](i,i.exports,o),a=!1}finally{a&&delete r[e]}return i.exports}o.ab="//";var i=o(349);e.exports=i})()},9264:(e,t)=>{"use strict";function n(e,t){void 0===t&&(t={});for(var n=function(e){for(var t=[],n=0;n<e.length;){var r=e[n];if("*"!==r&&"+"!==r&&"?"!==r)if("\\"!==r)if("{"!==r)if("}"!==r)if(":"!==r)if("("!==r)t.push({type:"CHAR",index:n,value:e[n++]});else{var o=1,i="";if("?"===e[l=n+1])throw new TypeError('Pattern cannot start with "?" at '+l);for(;l<e.length;)if("\\"!==e[l]){if(")"===e[l]){if(0==--o){l++;break}}else if("("===e[l]&&(o++,"?"!==e[l+1]))throw new TypeError("Capturing groups are not allowed at "+l);i+=e[l++]}else i+=e[l++]+e[l++];if(o)throw new TypeError("Unbalanced pattern at "+n);if(!i)throw new TypeError("Missing pattern at "+n);t.push({type:"PATTERN",index:n,value:i}),n=l}else{for(var a="",l=n+1;l<e.length;){var s=e.charCodeAt(l);if(!(s>=48&&s<=57||s>=65&&s<=90||s>=97&&s<=122||95===s))break;a+=e[l++]}if(!a)throw new TypeError("Missing parameter name at "+n);t.push({type:"NAME",index:n,value:a}),n=l}else t.push({type:"CLOSE",index:n,value:e[n++]});else t.push({type:"OPEN",index:n,value:e[n++]});else t.push({type:"ESCAPED_CHAR",index:n++,value:e[n++]});else t.push({type:"MODIFIER",index:n,value:e[n++]})}return t.push({type:"END",index:n,value:""}),t}(e),r=t.prefixes,o=void 0===r?"./":r,a="[^"+i(t.delimiter||"/#?")+"]+?",l=[],s=0,u=0,c="",d=function(e){if(u<n.length&&n[u].type===e)return n[u++].value},f=function(e){var t=d(e);if(void 0!==t)return t;var r=n[u],o=r.type,i=r.index;throw new TypeError("Unexpected "+o+" at "+i+", expected "+e)},p=function(){for(var e,t="";e=d("CHAR")||d("ESCAPED_CHAR");)t+=e;return t};u<n.length;){var h=d("CHAR"),g=d("NAME"),m=d("PATTERN");if(g||m){var v=h||"";-1===o.indexOf(v)&&(c+=v,v=""),c&&(l.push(c),c=""),l.push({name:g||s++,prefix:v,suffix:"",pattern:m||a,modifier:d("MODIFIER")||""})}else{var b=h||d("ESCAPED_CHAR");if(b)c+=b;else if(c&&(l.push(c),c=""),d("OPEN")){v=p();var y=d("NAME")||"",A=d("PATTERN")||"",w=p();f("CLOSE"),l.push({name:y||(A?s++:""),pattern:y&&!A?a:A,prefix:v,suffix:w,modifier:d("MODIFIER")||""})}else f("END")}}return l}function r(e,t){void 0===t&&(t={});var n=a(t),r=t.encode,o=void 0===r?function(e){return e}:r,i=t.validate,l=void 0===i||i,s=e.map((function(e){if("object"==typeof e)return new RegExp("^(?:"+e.pattern+")$",n)}));return function(t){for(var n="",r=0;r<e.length;r++){var i=e[r];if("string"!=typeof i){var a=t?t[i.name]:void 0,u="?"===i.modifier||"*"===i.modifier,c="*"===i.modifier||"+"===i.modifier;if(Array.isArray(a)){if(!c)throw new TypeError('Expected "'+i.name+'" to not repeat, but got an array');if(0===a.length){if(u)continue;throw new TypeError('Expected "'+i.name+'" to not be empty')}for(var d=0;d<a.length;d++){var f=o(a[d],i);if(l&&!s[r].test(f))throw new TypeError('Expected all "'+i.name+'" to match "'+i.pattern+'", but got "'+f+'"');n+=i.prefix+f+i.suffix}}else if("string"!=typeof a&&"number"!=typeof a){if(!u){var p=c?"an array":"a string";throw new TypeError('Expected "'+i.name+'" to be '+p)}}else{if(f=o(String(a),i),l&&!s[r].test(f))throw new TypeError('Expected "'+i.name+'" to match "'+i.pattern+'", but got "'+f+'"');n+=i.prefix+f+i.suffix}}else n+=i}return n}}function o(e,t,n){void 0===n&&(n={});var r=n.decode,o=void 0===r?function(e){return e}:r;return function(n){var r=e.exec(n);if(!r)return!1;for(var i=r[0],a=r.index,l=Object.create(null),s=function(e){if(void 0===r[e])return"continue";var n=t[e-1];"*"===n.modifier||"+"===n.modifier?l[n.name]=r[e].split(n.prefix+n.suffix).map((function(e){return o(e,n)})):l[n.name]=o(r[e],n)},u=1;u<r.length;u++)s(u);return{path:i,index:a,params:l}}}function i(e){return e.replace(/([.+*?=^!:${}()[\]|/\\])/g,"\\$1")}function a(e){return e&&e.sensitive?"":"i"}function l(e,t,n){void 0===n&&(n={});for(var r=n.strict,o=void 0!==r&&r,l=n.start,s=void 0===l||l,u=n.end,c=void 0===u||u,d=n.encode,f=void 0===d?function(e){return e}:d,p="["+i(n.endsWith||"")+"]|$",h="["+i(n.delimiter||"/#?")+"]",g=s?"^":"",m=0,v=e;m<v.length;m++){var b=v[m];if("string"==typeof b)g+=i(f(b));else{var y=i(f(b.prefix)),A=i(f(b.suffix));if(b.pattern)if(t&&t.push(b),y||A)if("+"===b.modifier||"*"===b.modifier){var w="*"===b.modifier?"?":"";g+="(?:"+y+"((?:"+b.pattern+")(?:"+A+y+"(?:"+b.pattern+"))*)"+A+")"+w}else g+="(?:"+y+"("+b.pattern+")"+A+")"+b.modifier;else g+="("+b.pattern+")"+b.modifier;else g+="(?:"+y+A+")"+b.modifier}}if(c)o||(g+=h+"?"),g+=n.endsWith?"(?="+p+")":"$";else{var x=e[e.length-1],E="string"==typeof x?h.indexOf(x[x.length-1])>-1:void 0===x;o||(g+="(?:"+h+"(?="+p+"))?"),E||(g+="(?="+h+"|"+p+")")}return new RegExp(g,a(n))}function s(e,t,r){return e instanceof RegExp?function(e,t){if(!t)return e;var n=e.source.match(/\((?!\?)/g);if(n)for(var r=0;r<n.length;r++)t.push({name:r,prefix:"",suffix:"",modifier:"",pattern:""});return e}(e,t):Array.isArray(e)?function(e,t,n){var r=e.map((function(e){return s(e,t,n).source}));return new RegExp("(?:"+r.join("|")+")",a(n))}(e,t,r):function(e,t,r){return l(n(e,r),t,r)}(e,t,r)}Object.defineProperty(t,"__esModule",{value:!0}),t.parse=n,t.compile=function(e,t){return r(n(e,t),t)},t.tokensToFunction=r,t.match=function(e,t){var n=[];return o(s(e,n,t),n,t)},t.regexpToFunction=o,t.tokensToRegexp=l,t.pathToRegexp=s},4219:(e,t)=>{"use strict";function n(e){return"/api"===e||Boolean(null==e?void 0:e.startsWith("/api/"))}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"isAPIRoute",{enumerable:!0,get:function(){return n}})},274:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}(t,{default:function(){return o},getProperError:function(){return i}});const r=n(9910);function o(e){return"object"==typeof e&&null!==e&&"name"in e&&"message"in e}function i(e){return o(e)?e:new Error((0,r.isPlainObject)(e)?JSON.stringify(e):e+"")}},1702:(e,t,n)=>{"use strict";function r(e){return function(){const{cookie:t}=e;if(!t)return{};const{parse:r}=n(3980);return r(Array.isArray(t)?t.join("; "):t)}}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getCookieParser",{enumerable:!0,get:function(){return r}})},6520:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}(t,{INTERCEPTION_ROUTE_MARKERS:function(){return o},isInterceptionRouteAppPath:function(){return i},extractInterceptionRouteInformation:function(){return a}});const r=n(9361),o=["(..)(..)","(.)","(..)","(...)"];function i(e){return void 0!==e.split("/").find((e=>o.find((t=>e.startsWith(t)))))}function a(e){let t,n,i;for(const r of e.split("/"))if(n=o.find((e=>r.startsWith(e))),n){[t,i]=e.split(n,2);break}if(!t||!n||!i)throw new Error(`Invalid interception route: ${e}. Must be in the format /<intercepting route>/(..|...|..)(..)/<intercepted route>`);switch(t=(0,r.normalizeAppPath)(t),n){case"(.)":i="/"===t?`/${i}`:t+"/"+i;break;case"(..)":if("/"===t)throw new Error(`Invalid interception route: ${e}. Cannot use (..) marker at the root level, use (.) instead.`);i=t.split("/").slice(0,-1).concat(i).join("/");break;case"(...)":i="/"+i;break;case"(..)(..)":const n=t.split("/");if(n.length<=2)throw new Error(`Invalid interception route: ${e}. Cannot use (..)(..) marker at the root level or one level up.`);i=n.slice(0,-2).concat(i).join("/");break;default:throw new Error("Invariant: unexpected marker")}return{interceptingRoute:t,interceptedRoute:i}}},3077:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}(t,{CacheStates:function(){return o},AppRouterContext:function(){return i},LayoutRouterContext:function(){return a},GlobalLayoutRouterContext:function(){return l},TemplateContext:function(){return s}});const r=n(7083)._(n(2784));var o;!function(e){e.LAZY_INITIALIZED="LAZYINITIALIZED",e.DATA_FETCH="DATAFETCH",e.READY="READY"}(o||(o={}));const i=r.default.createContext(null),a=r.default.createContext(null),l=r.default.createContext(null),s=r.default.createContext(null)},8261:(e,t,n)=>{"use strict";function r(e){let t=0;for(let n=0;n<e.length;n++){const r=e.charCodeAt(n);t=Math.imul(t^r,1540483477),t^=t>>>13,t=Math.imul(t,1540483477)}return t>>>0}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"BloomFilter",{enumerable:!0,get:function(){return o}});class o{static from(e,t){void 0===t&&(t=.01);const n=new o(e.length,t);for(const t of e)n.add(t);return n}export(){const e={numItems:this.numItems,errorRate:this.errorRate,numBits:this.numBits,numHashes:this.numHashes,bitArray:this.bitArray};if("nodejs"===window.omnivoreEnv.NEXT_RUNTIME&&this.errorRate<.01){const t=JSON.stringify(e),r=n(4595).sync(t);r>1024&&console.warn("Creating filter with error rate less than 1% (0.01) can increase the size dramatically proceed with caution. Received error rate "+this.errorRate+" resulted in size "+t.length+" bytes, "+r+" bytes (gzip)")}return e}import(e){this.numItems=e.numItems,this.errorRate=e.errorRate,this.numBits=e.numBits,this.numHashes=e.numHashes,this.bitArray=e.bitArray}add(e){this.getHashValues(e).forEach((e=>{this.bitArray[e]=1}))}contains(e){return this.getHashValues(e).every((e=>this.bitArray[e]))}getHashValues(e){const t=[];for(let n=1;n<=this.numHashes;n++){const o=r(""+e+n)%this.numBits;t.push(o)}return t}constructor(e,t){this.numItems=e,this.errorRate=t,this.numBits=Math.ceil(-e*Math.log(t)/(Math.log(2)*Math.log(2))),this.numHashes=Math.ceil(this.numBits/e*Math.log(2)),this.bitArray=new Array(this.numBits).fill(0)}}},8058:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"escapeStringRegexp",{enumerable:!0,get:function(){return o}});const n=/[|\\{}()[\]^$+*?.-]/,r=/[|\\{}()[\]^$+*?.-]/g;function o(e){return n.test(e)?e.replace(r,"\\$&"):e}},2560:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"HeadManagerContext",{enumerable:!0,get:function(){return r}});const r=n(7083)._(n(2784)).default.createContext({})},927:(e,t)=>{"use strict";function n(e,t,n){if(e){n&&(n=n.toLowerCase());for(const i of e){var r,o;if(t===(null==(r=i.domain)?void 0:r.split(":")[0].toLowerCase())||n===i.defaultLocale.toLowerCase()||(null==(o=i.locales)?void 0:o.some((e=>e.toLowerCase()===n))))return i}}}Object.defineProperty(t,"D",{enumerable:!0,get:function(){return n}})},816:(e,t)=>{"use strict";function n(e,t){let n;const r=e.split("/");return(t||[]).some((t=>!(!r[1]||r[1].toLowerCase()!==t.toLowerCase()||(n=t,r.splice(1,1),e=r.join("/")||"/",0)))),{pathname:e,detectedLocale:n}}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"normalizeLocalePath",{enumerable:!0,get:function(){return n}})},9910:(e,t)=>{"use strict";function n(e){return Object.prototype.toString.call(e)}function r(e){if("[object Object]"!==n(e))return!1;const t=Object.getPrototypeOf(e);return null===t||t.hasOwnProperty("isPrototypeOf")}Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}(t,{getObjectClassLabel:function(){return n},isPlainObject:function(){return r}})},7471:(e,t)=>{"use strict";function n(){const e=Object.create(null);return{on(t,n){(e[t]||(e[t]=[])).push(n)},off(t,n){e[t]&&e[t].splice(e[t].indexOf(n)>>>0,1)},emit(t){for(var n=arguments.length,r=new Array(n>1?n-1:0),o=1;o<n;o++)r[o-1]=arguments[o];(e[t]||[]).slice().map((e=>{e(...r)}))}}}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return n}})},997:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"denormalizePagePath",{enumerable:!0,get:function(){return i}});const r=n(9150),o=n(9356);function i(e){let t=(0,o.normalizePathSep)(e);return t.startsWith("/index/")&&!(0,r.isDynamicRoute)(t)?t.slice(6):"/index"!==t?t:"/"}},9739:(e,t)=>{"use strict";function n(e){return e.startsWith("/")?e:"/"+e}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"ensureLeadingSlash",{enumerable:!0,get:function(){return n}})},9356:(e,t)=>{"use strict";function n(e){return e.replace(/\\/g,"/")}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"normalizePathSep",{enumerable:!0,get:function(){return n}})},516:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"RouterContext",{enumerable:!0,get:function(){return r}});const r=n(7083)._(n(2784)).default.createContext(null)},6640:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}(t,{default:function(){return Z},matchesMiddleware:function(){return I},createKey:function(){return G}});const r=n(7083),o=n(5570),i=n(2794),a=n(7928),l=n(4725),s=o._(n(274)),u=n(997),c=n(816),d=r._(n(7471)),f=n(1624),p=n(7482),h=n(1577),g=r._(n(5317)),m=n(3107),v=n(4794),b=n(6555),y=n(936),A=n(2593),w=n(891),x=n(4884),E=n(2087),k=n(1054),S=n(6200),_=n(1589),C=n(4219),T=n(5930),D=n(3778),L=n(2121),O=n(8657),R=n(343),P=n(2093),M=n(2685),N=n(6576);function B(){return Object.assign(new Error("Route Cancelled"),{cancelled:!0})}async function I(e){const t=await Promise.resolve(e.router.pageLoader.getMiddleware());if(!t)return!1;const{pathname:n}=(0,A.parsePath)(e.asPath),r=(0,S.hasBasePath)(n)?(0,E.removeBasePath)(n):n,o=(0,k.addBasePath)((0,w.addLocale)(r,e.locale));return t.some((e=>new RegExp(e.regexp).test(o)))}function j(e){const t=(0,f.getLocationOrigin)();return e.startsWith(t)?e.substring(t.length):e}function F(e,t,n){let[r,o]=(0,_.resolveHref)(e,t,!0);const i=(0,f.getLocationOrigin)(),a=r.startsWith(i),l=o&&o.startsWith(i);r=j(r),o=o?j(o):o;const s=a?r:(0,k.addBasePath)(r),u=n?j((0,_.resolveHref)(e,n)):o||r;return{url:s,as:l?u:(0,k.addBasePath)(u)}}function z(e,t){const n=(0,i.removeTrailingSlash)((0,u.denormalizePagePath)(e));return"/404"===n||"/_error"===n?e:(t.includes(n)||t.some((t=>{if((0,p.isDynamicRoute)(t)&&(0,v.getRouteRegex)(t).re.test(n))return e=t,!0})),(0,i.removeTrailingSlash)(e))}async function H(e){if(!await I(e)||!e.fetchData)return null;try{const t=await e.fetchData(),n=await function(e,t,n){const r={basePath:n.router.basePath,i18n:{locales:n.router.locales},trailingSlash:Boolean(window.omnivoreEnv.__NEXT_TRAILING_SLASH)},o=t.headers.get("x-nextjs-rewrite");let l=o||t.headers.get("x-nextjs-matched-path");const s=t.headers.get("x-matched-path");if(!s||l||s.includes("__next_data_catchall")||s.includes("/_error")||s.includes("/404")||(l=s),l){if(l.startsWith("/")||window.omnivoreEnv.__NEXT_EXTERNAL_MIDDLEWARE_REWRITE_RESOLVE){const t=(0,h.parseRelativeUrl)(l),s=(0,T.getNextPathnameInfo)(t.pathname,{nextConfig:r,parseData:!0});let u=(0,i.removeTrailingSlash)(s.pathname);return Promise.all([n.router.pageLoader.getPageList(),(0,a.getClientBuildManifest)()]).then((i=>{let[a,{__rewrites:l}]=i,d=(0,w.addLocale)(s.pathname,s.locale);if((0,p.isDynamicRoute)(d)||!o&&a.includes((0,c.normalizeLocalePath)((0,E.removeBasePath)(d),n.router.locales).pathname)){const n=(0,T.getNextPathnameInfo)((0,h.parseRelativeUrl)(e).pathname,{nextConfig:window.omnivoreEnv.__NEXT_HAS_REWRITES?void 0:r,parseData:!0});d=(0,k.addBasePath)(n.pathname),t.pathname=d}if(window.omnivoreEnv.__NEXT_HAS_REWRITES){const e=(0,g.default)(d,a,l,t.query,(e=>z(e,a)),n.router.locales);e.matchedPage&&(t.pathname=e.parsedAs.pathname,d=t.pathname,Object.assign(t.query,e.parsedAs.query))}else if(!a.includes(u)){const e=z(u,a);e!==u&&(u=e)}const f=a.includes(u)?u:z((0,c.normalizeLocalePath)((0,E.removeBasePath)(t.pathname),n.router.locales).pathname,a);if((0,p.isDynamicRoute)(f)){const e=(0,m.getRouteMatcher)((0,v.getRouteRegex)(f))(d);Object.assign(t.query,e||{})}return{type:"rewrite",parsedAs:t,resolvedHref:f}}))}const t=(0,A.parsePath)(e),s=(0,D.formatNextPathnameInfo)({...(0,T.getNextPathnameInfo)(t.pathname,{nextConfig:r,parseData:!0}),defaultLocale:n.router.defaultLocale,buildId:""});return Promise.resolve({type:"redirect-external",destination:""+s+t.query+t.hash})}const u=t.headers.get("x-nextjs-redirect");if(u){if(u.startsWith("/")){const e=(0,A.parsePath)(u),t=(0,D.formatNextPathnameInfo)({...(0,T.getNextPathnameInfo)(e.pathname,{nextConfig:r,parseData:!0}),defaultLocale:n.router.defaultLocale,buildId:""});return Promise.resolve({type:"redirect-internal",newAs:""+t+e.query+e.hash,newUrl:""+t+e.query+e.hash})}return Promise.resolve({type:"redirect-external",destination:u})}return Promise.resolve({type:"next"})}(t.dataHref,t.response,e);return{dataHref:t.dataHref,json:t.json,response:t.response,text:t.text,cacheKey:t.cacheKey,effect:n}}catch(e){return null}}const q=window.omnivoreEnv.__NEXT_SCROLL_RESTORATION&&"undefined"!=typeof window&&"scrollRestoration"in window.history&&!!function(){try{let e="__next";return sessionStorage.setItem(e,e),sessionStorage.removeItem(e),!0}catch(e){}}(),U=Symbol("SSG_DATA_NOT_FOUND");function W(e,t,n){return fetch(e,{credentials:"same-origin",method:n.method||"GET",headers:Object.assign({},n.headers,{"x-nextjs-data":"1"})}).then((r=>!r.ok&&t>1&&r.status>=500?W(e,t-1,n):r))}function V(e){try{return JSON.parse(e)}catch(e){return null}}function Q(e){let{dataHref:t,inflightCache:n,isPrefetch:r,hasMiddleware:o,isServerRender:i,parseJSON:l,persistCache:s,isBackground:u,unstable_skipClientCache:c}=e;const{href:d}=new URL(t,window.location.href);var f;const p=e=>W(t,i?3:1,{headers:Object.assign({},r?{purpose:"prefetch"}:{},r&&o?{"x-middleware-prefetch":"1"}:{}),method:null!=(f=null==e?void 0:e.method)?f:"GET"}).then((n=>n.ok&&"HEAD"===(null==e?void 0:e.method)?{dataHref:t,response:n,text:"",json:{},cacheKey:d}:n.text().then((e=>{if(!n.ok){if(o&&[301,302,307,308].includes(n.status))return{dataHref:t,response:n,text:e,json:{},cacheKey:d};var r;if(404===n.status&&(null==(r=V(e))?void 0:r.notFound))return{dataHref:t,json:{notFound:U},response:n,text:e,cacheKey:d};const l=new Error("Failed to load static props");throw i||(0,a.markAssetError)(l),l}return{dataHref:t,json:l?V(e):null,response:n,text:e,cacheKey:d}})))).then((e=>(s&&"no-cache"!==e.response.headers.get("x-middleware-cache")||delete n[d],e))).catch((e=>{throw c||delete n[d],"Failed to fetch"!==e.message&&"NetworkError when attempting to fetch resource."!==e.message&&"Load failed"!==e.message||(0,a.markAssetError)(e),e}));return c&&s?p({}).then((e=>(n[d]=Promise.resolve(e),e))):void 0!==n[d]?n[d]:n[d]=p(u?{method:"HEAD"}:{})}function G(){return Math.random().toString(36).slice(2,10)}function $(e){let{url:t,router:n}=e;if(t===(0,k.addBasePath)((0,w.addLocale)(n.asPath,n.locale)))throw new Error("Invariant: attempted to hard navigate to the same URL "+t+" "+location.href);window.location.href=t}const Y=e=>{let{route:t,router:n}=e,r=!1;const o=n.clc=()=>{r=!0};return()=>{if(r){const e=new Error('Abort fetching component for route: "'+t+'"');throw e.cancelled=!0,e}o===n.clc&&(n.clc=null)}};class Z{reload(){window.location.reload()}back(){window.history.back()}forward(){window.history.forward()}push(e,t,n){if(void 0===n&&(n={}),window.omnivoreEnv.__NEXT_SCROLL_RESTORATION&&q)try{sessionStorage.setItem("__next_scroll_"+this._key,JSON.stringify({x:self.pageXOffset,y:self.pageYOffset}))}catch(e){}return({url:e,as:t}=F(this,e,t)),this.change("pushState",e,t,n)}replace(e,t,n){return void 0===n&&(n={}),({url:e,as:t}=F(this,e,t)),this.change("replaceState",e,t,n)}async _bfl(e,t,n,r){if(window.omnivoreEnv.__NEXT_CLIENT_ROUTER_FILTER_ENABLED){let s=!1,u=!1;for(const c of[e,t])if(c){const t=(0,i.removeTrailingSlash)(new URL(c,"http://n").pathname),d=(0,k.addBasePath)((0,w.addLocale)(t,n||this.locale));if(t!==(0,i.removeTrailingSlash)(new URL(this.asPath,"http://n").pathname)){var o,a;s=s||!!(null==(o=this._bfl_s)?void 0:o.contains(t))||!!(null==(a=this._bfl_s)?void 0:a.contains(d));for(const e of[t,d]){const t=e.split("/");for(let e=0;!u&&e<t.length+1;e++){var l;const n=t.slice(0,e).join("/");if(n&&(null==(l=this._bfl_d)?void 0:l.contains(n))){u=!0;break}}}if(s||u)return!!r||($({url:(0,k.addBasePath)((0,w.addLocale)(e,n||this.locale,this.defaultLocale)),router:this}),new Promise((()=>{})))}}}return!1}async change(e,t,n,r,o){var u;if(!(0,O.isLocalURL)(t))return $({url:t,router:this}),!1;const d=1===r._h;d||r.shallow||await this._bfl(n,void 0,r.locale);let _=d||r._shouldResolveHref||(0,A.parsePath)(t).pathname===(0,A.parsePath)(n).pathname;const C={...this.state},T=!0!==this.isReady;this.isReady=!0;const D=this.isSsr;if(d||(this.isSsr=!1),d&&this.clc)return!1;const R=C.locale;if(window.omnivoreEnv.__NEXT_I18N_SUPPORT){C.locale=!1===r.locale?this.defaultLocale:r.locale||C.locale,void 0===r.locale&&(r.locale=C.locale);const e=(0,h.parseRelativeUrl)((0,S.hasBasePath)(n)?(0,E.removeBasePath)(n):n),o=(0,c.normalizeLocalePath)(e.pathname,this.locales);o.detectedLocale&&(C.locale=o.detectedLocale,e.pathname=(0,k.addBasePath)(e.pathname),n=(0,b.formatWithValidation)(e),t=(0,k.addBasePath)((0,c.normalizeLocalePath)((0,S.hasBasePath)(t)?(0,E.removeBasePath)(t):t,this.locales).pathname));let i=!1;var N;window.omnivoreEnv.__NEXT_I18N_SUPPORT&&((null==(N=this.locales)?void 0:N.includes(C.locale))||(e.pathname=(0,w.addLocale)(e.pathname,C.locale),$({url:(0,b.formatWithValidation)(e),router:this}),i=!0));const a=(0,y.detectDomainLocale)(this.domainLocales,void 0,C.locale);if(window.omnivoreEnv.__NEXT_I18N_SUPPORT&&!i&&a&&this.isLocaleDomain&&self.location.hostname!==a.domain){const e=(0,E.removeBasePath)(n);$({url:"http"+(a.http?"":"s")+"://"+a.domain+(0,k.addBasePath)((C.locale===a.defaultLocale?"":"/"+C.locale)+("/"===e?"":e)||"/"),router:this}),i=!0}if(i)return new Promise((()=>{}))}f.ST&&performance.mark("routeChange");const{shallow:j=!1,scroll:H=!0}=r,q={shallow:j};this._inFlightRoute&&this.clc&&(D||Z.events.emit("routeChangeError",B(),this._inFlightRoute,q),this.clc(),this.clc=null),n=(0,k.addBasePath)((0,w.addLocale)((0,S.hasBasePath)(n)?(0,E.removeBasePath)(n):n,r.locale,this.defaultLocale));const W=(0,x.removeLocale)((0,S.hasBasePath)(n)?(0,E.removeBasePath)(n):n,C.locale);this._inFlightRoute=n;const V=R!==C.locale;if(!d&&this.onlyAHashChange(W)&&!V){C.asPath=W,Z.events.emit("hashChangeStart",n,q),this.changeState(e,t,n,{...r,scroll:!1}),H&&this.scrollToHash(W);try{await this.set(C,this.components[C.route],null)}catch(e){throw(0,s.default)(e)&&e.cancelled&&Z.events.emit("routeChangeError",e,W,q),e}return Z.events.emit("hashChangeComplete",n,q),!0}let Q,G,Y=(0,h.parseRelativeUrl)(t),{pathname:K,query:J}=Y;if(null==(u=this.components[K])?void 0:u.__appRouter)return $({url:n,router:this}),new Promise((()=>{}));try{[Q,{__rewrites:G}]=await Promise.all([this.pageLoader.getPageList(),(0,a.getClientBuildManifest)(),this.pageLoader.getMiddleware()])}catch(e){return $({url:n,router:this}),!1}this.urlIsNew(W)||V||(e="replaceState");let X=n;K=K?(0,i.removeTrailingSlash)((0,E.removeBasePath)(K)):K;let ee=(0,i.removeTrailingSlash)(K);const te=n.startsWith("/")&&(0,h.parseRelativeUrl)(n).pathname,ne=!(!te||ee===te||(0,p.isDynamicRoute)(ee)&&(0,m.getRouteMatcher)((0,v.getRouteRegex)(ee))(te)),re=!r.shallow&&await I({asPath:n,locale:C.locale,router:this});if(d&&re&&(_=!1),_&&"/_error"!==K)if(r._shouldResolveHref=!0,window.omnivoreEnv.__NEXT_HAS_REWRITES&&n.startsWith("/")){const e=(0,g.default)((0,k.addBasePath)((0,w.addLocale)(W,C.locale),!0),Q,G,J,(e=>z(e,Q)),this.locales);if(e.externalDest)return $({url:n,router:this}),!0;re||(X=e.asPath),e.matchedPage&&e.resolvedHref&&(K=e.resolvedHref,Y.pathname=(0,k.addBasePath)(K),re||(t=(0,b.formatWithValidation)(Y)))}else Y.pathname=z(K,Q),Y.pathname!==K&&(K=Y.pathname,Y.pathname=(0,k.addBasePath)(K),re||(t=(0,b.formatWithValidation)(Y)));if(!(0,O.isLocalURL)(n))return $({url:n,router:this}),!1;X=(0,x.removeLocale)((0,E.removeBasePath)(X),C.locale),ee=(0,i.removeTrailingSlash)(K);let oe=!1;if((0,p.isDynamicRoute)(ee)){const e=(0,h.parseRelativeUrl)(X),r=e.pathname,o=(0,v.getRouteRegex)(ee);oe=(0,m.getRouteMatcher)(o)(r);const i=ee===r,a=i?(0,M.interpolateAs)(ee,r,J):{};if(!oe||i&&!a.result){const e=Object.keys(o.groups).filter((e=>!J[e]&&!o.groups[e].optional));if(e.length>0&&!re)throw new Error((i?"The provided `href` ("+t+") value is missing query values ("+e.join(", ")+") to be interpolated properly. ":"The provided `as` value ("+r+") is incompatible with the `href` value ("+ee+"). ")+"Read more: https://nextjs.org/docs/messages/"+(i?"href-interpolation-failed":"incompatible-href-as"))}else i?n=(0,b.formatWithValidation)(Object.assign({},e,{pathname:a.result,query:(0,P.omit)(J,a.params)})):Object.assign(J,oe)}d||Z.events.emit("routeChangeStart",n,q);const ie="/404"===this.pathname||"/_error"===this.pathname;try{var ae,le,se;let i=await this.getRouteInfo({route:ee,pathname:K,query:J,as:n,resolvedAs:X,routeProps:q,locale:C.locale,isPreview:C.isPreview,hasMiddleware:re,unstable_skipClientCache:r.unstable_skipClientCache,isQueryUpdating:d&&!this.isFallback,isMiddlewareRewrite:ne});if(d||r.shallow||await this._bfl(n,"resolvedAs"in i?i.resolvedAs:void 0,C.locale),"route"in i&&re){K=i.route||ee,ee=K,q.shallow||(J=Object.assign({},i.query||{},J));const e=(0,S.hasBasePath)(Y.pathname)?(0,E.removeBasePath)(Y.pathname):Y.pathname;if(oe&&K!==e&&Object.keys(oe).forEach((e=>{oe&&J[e]===oe[e]&&delete J[e]})),(0,p.isDynamicRoute)(K)){let e=!q.shallow&&i.resolvedAs?i.resolvedAs:(0,k.addBasePath)((0,w.addLocale)(new URL(n,location.href).pathname,C.locale),!0);if((0,S.hasBasePath)(e)&&(e=(0,E.removeBasePath)(e)),window.omnivoreEnv.__NEXT_I18N_SUPPORT){const t=(0,c.normalizeLocalePath)(e,this.locales);C.locale=t.detectedLocale||C.locale,e=t.pathname}const t=(0,v.getRouteRegex)(K),r=(0,m.getRouteMatcher)(t)(new URL(e,location.href).pathname);r&&Object.assign(J,r)}}if("type"in i)return"redirect-internal"===i.type?this.change(e,i.newUrl,i.newAs,r):($({url:i.destination,router:this}),new Promise((()=>{})));const a=i.Component;if(a&&a.unstable_scriptLoader&&[].concat(a.unstable_scriptLoader()).forEach((e=>{(0,l.handleClientScriptLoad)(e.props)})),(i.__N_SSG||i.__N_SSP)&&i.props){if(i.props.pageProps&&i.props.pageProps.__N_REDIRECT){r.locale=!1;const t=i.props.pageProps.__N_REDIRECT;if(t.startsWith("/")&&!1!==i.props.pageProps.__N_REDIRECT_BASE_PATH){const n=(0,h.parseRelativeUrl)(t);n.pathname=z(n.pathname,Q);const{url:o,as:i}=F(this,t,t);return this.change(e,o,i,r)}return $({url:t,router:this}),new Promise((()=>{}))}if(C.isPreview=!!i.props.__N_PREVIEW,i.props.notFound===U){let e;try{await this.fetchComponent("/404"),e="/404"}catch(t){e="/_error"}if(i=await this.getRouteInfo({route:e,pathname:e,query:J,as:n,resolvedAs:X,routeProps:{shallow:!1},locale:C.locale,isPreview:C.isPreview,isNotFound:!0}),"type"in i)throw new Error("Unexpected middleware effect on /404")}}var ue;d&&"/_error"===this.pathname&&500===(null==(le=self.__NEXT_DATA__.props)||null==(ae=le.pageProps)?void 0:ae.statusCode)&&(null==(se=i.props)?void 0:se.pageProps)&&(i.props.pageProps.statusCode=500);const u=r.shallow&&C.route===(null!=(ue=i.route)?ue:ee);var ce;const f=null!=(ce=r.scroll)?ce:!d&&!u,g=f?{x:0,y:0}:null,b=null!=o?o:g,y={...C,route:ee,pathname:K,query:J,asPath:W,isFallback:!1};if(d&&ie){var de,fe,pe;if(i=await this.getRouteInfo({route:this.pathname,pathname:this.pathname,query:J,as:n,resolvedAs:X,routeProps:{shallow:!1},locale:C.locale,isPreview:C.isPreview,isQueryUpdating:d&&!this.isFallback}),"type"in i)throw new Error("Unexpected middleware effect on "+this.pathname);"/_error"===this.pathname&&500===(null==(fe=self.__NEXT_DATA__.props)||null==(de=fe.pageProps)?void 0:de.statusCode)&&(null==(pe=i.props)?void 0:pe.pageProps)&&(i.props.pageProps.statusCode=500);try{await this.set(y,i,b)}catch(e){throw(0,s.default)(e)&&e.cancelled&&Z.events.emit("routeChangeError",e,W,q),e}return!0}if(Z.events.emit("beforeHistoryChange",n,q),this.changeState(e,t,n,r),!d||b||T||V||!(0,L.compareRouterStates)(y,this.state)){try{await this.set(y,i,b)}catch(e){if(!e.cancelled)throw e;i.error=i.error||e}if(i.error)throw d||Z.events.emit("routeChangeError",i.error,W,q),i.error;window.omnivoreEnv.__NEXT_I18N_SUPPORT&&C.locale&&(document.documentElement.lang=C.locale),d||Z.events.emit("routeChangeComplete",n,q);const e=/#.+$/;f&&e.test(n)&&this.scrollToHash(n)}return!0}catch(e){if((0,s.default)(e)&&e.cancelled)return!1;throw e}}changeState(e,t,n,r){void 0===r&&(r={}),"pushState"===e&&(0,f.getURL)()===n||(this._shallow=r.shallow,window.history[e]({url:t,as:n,options:r,__N:!0,key:this._key="pushState"!==e?this._key:G()},"",n))}async handleRouteInfoError(e,t,n,r,o,i){if(console.error(e),e.cancelled)throw e;if((0,a.isAssetError)(e)||i)throw Z.events.emit("routeChangeError",e,r,o),$({url:r,router:this}),B();try{let r;const{page:o,styleSheets:i}=await this.fetchComponent("/_error"),a={props:r,Component:o,styleSheets:i,err:e,error:e};if(!a.props)try{a.props=await this.getInitialProps(o,{err:e,pathname:t,query:n})}catch(e){console.error("Error in error page `getInitialProps`: ",e),a.props={}}return a}catch(e){return this.handleRouteInfoError((0,s.default)(e)?e:new Error(e+""),t,n,r,o,!0)}}async getRouteInfo(e){let{route:t,pathname:n,query:r,as:o,resolvedAs:a,routeProps:l,locale:u,hasMiddleware:d,isPreview:f,unstable_skipClientCache:p,isQueryUpdating:h,isMiddlewareRewrite:g,isNotFound:m}=e,v=t;try{var y,A,w,x;const e=Y({route:v,router:this});let t=this.components[v];if(l.shallow&&t&&this.route===v)return t;d&&(t=void 0);let s=t&&!("initial"in t)?t:void 0;const k=h,S={dataHref:this.pageLoader.getDataHref({href:(0,b.formatWithValidation)({pathname:n,query:r}),skipInterpolation:!0,asPath:m?"/404":a,locale:u}),hasMiddleware:!0,isServerRender:this.isSsr,parseJSON:!0,inflightCache:k?this.sbc:this.sdc,persistCache:!f,isPrefetch:!1,unstable_skipClientCache:p,isBackground:k};let _=h&&!g?null:await H({fetchData:()=>Q(S),asPath:m?"/404":a,locale:u,router:this}).catch((e=>{if(h)return null;throw e}));if(!_||"/_error"!==n&&"/404"!==n||(_.effect=void 0),h&&(_?_.json=self.__NEXT_DATA__.props:_={json:self.__NEXT_DATA__.props}),e(),"redirect-internal"===(null==_||null==(y=_.effect)?void 0:y.type)||"redirect-external"===(null==_||null==(A=_.effect)?void 0:A.type))return _.effect;if("rewrite"===(null==_||null==(w=_.effect)?void 0:w.type)){const e=(0,i.removeTrailingSlash)(_.effect.resolvedHref),o=await this.pageLoader.getPageList();if((!h||o.includes(e))&&(v=e,n=_.effect.resolvedHref,r={...r,..._.effect.parsedAs.query},a=(0,E.removeBasePath)((0,c.normalizeLocalePath)(_.effect.parsedAs.pathname,this.locales).pathname),t=this.components[v],l.shallow&&t&&this.route===v&&!d))return{...t,route:v}}if((0,C.isAPIRoute)(v))return $({url:o,router:this}),new Promise((()=>{}));const T=s||await this.fetchComponent(v).then((e=>({Component:e.page,styleSheets:e.styleSheets,__N_SSG:e.mod.__N_SSG,__N_SSP:e.mod.__N_SSP}))),D=null==_||null==(x=_.response)?void 0:x.headers.get("x-middleware-skip"),L=T.__N_SSG||T.__N_SSP;D&&(null==_?void 0:_.dataHref)&&delete this.sdc[_.dataHref];const{props:O,cacheKey:R}=await this._getData((async()=>{if(L){if((null==_?void 0:_.json)&&!D)return{cacheKey:_.cacheKey,props:_.json};const e=(null==_?void 0:_.dataHref)?_.dataHref:this.pageLoader.getDataHref({href:(0,b.formatWithValidation)({pathname:n,query:r}),asPath:a,locale:u}),t=await Q({dataHref:e,isServerRender:this.isSsr,parseJSON:!0,inflightCache:D?{}:this.sdc,persistCache:!f,isPrefetch:!1,unstable_skipClientCache:p});return{cacheKey:t.cacheKey,props:t.json||{}}}return{headers:{},props:await this.getInitialProps(T.Component,{pathname:n,query:r,asPath:o,locale:u,locales:this.locales,defaultLocale:this.defaultLocale})}}));return T.__N_SSP&&S.dataHref&&R&&delete this.sdc[R],this.isPreview||!T.__N_SSG||h||Q(Object.assign({},S,{isBackground:!0,persistCache:!1,inflightCache:this.sbc})).catch((()=>{})),O.pageProps=Object.assign({},O.pageProps),T.props=O,T.route=v,T.query=r,T.resolvedAs=a,this.components[v]=T,T}catch(e){return this.handleRouteInfoError((0,s.getProperError)(e),n,r,o,l)}}set(e,t,n){return this.state=e,this.sub(t,this.components["/_app"].Component,n)}beforePopState(e){this._bps=e}onlyAHashChange(e){if(!this.asPath)return!1;const[t,n]=this.asPath.split("#"),[r,o]=e.split("#");return!(!o||t!==r||n!==o)||t===r&&n!==o}scrollToHash(e){const[,t=""]=e.split("#");(0,N.handleSmoothScroll)((()=>{if(""===t||"top"===t)return void window.scrollTo(0,0);const e=decodeURIComponent(t),n=document.getElementById(e);if(n)return void n.scrollIntoView();const r=document.getElementsByName(e)[0];r&&r.scrollIntoView()}),{onlyHashChange:this.onlyAHashChange(e)})}urlIsNew(e){return this.asPath!==e}async prefetch(e,t,n){if(void 0===t&&(t=e),void 0===n&&(n={}),"undefined"!=typeof window&&(0,R.isBot)(window.navigator.userAgent))return;let r=(0,h.parseRelativeUrl)(e);const o=r.pathname;let{pathname:l,query:s}=r;const u=l;if(window.omnivoreEnv.__NEXT_I18N_SUPPORT&&!1===n.locale){l=(0,c.normalizeLocalePath)(l,this.locales).pathname,r.pathname=l,e=(0,b.formatWithValidation)(r);let o=(0,h.parseRelativeUrl)(t);const i=(0,c.normalizeLocalePath)(o.pathname,this.locales);o.pathname=i.pathname,n.locale=i.detectedLocale||this.defaultLocale,t=(0,b.formatWithValidation)(o)}const d=await this.pageLoader.getPageList();let f=t;const y=void 0!==n.locale?n.locale||void 0:this.locale,S=await I({asPath:t,locale:y,router:this});if(window.omnivoreEnv.__NEXT_HAS_REWRITES&&t.startsWith("/")){let n;({__rewrites:n}=await(0,a.getClientBuildManifest)());const o=(0,g.default)((0,k.addBasePath)((0,w.addLocale)(t,this.locale),!0),d,n,r.query,(e=>z(e,d)),this.locales);if(o.externalDest)return;S||(f=(0,x.removeLocale)((0,E.removeBasePath)(o.asPath),this.locale)),o.matchedPage&&o.resolvedHref&&(l=o.resolvedHref,r.pathname=l,S||(e=(0,b.formatWithValidation)(r)))}r.pathname=z(r.pathname,d),(0,p.isDynamicRoute)(r.pathname)&&(l=r.pathname,r.pathname=l,Object.assign(s,(0,m.getRouteMatcher)((0,v.getRouteRegex)(r.pathname))((0,A.parsePath)(t).pathname)||{}),S||(e=(0,b.formatWithValidation)(r)));const _="strict"===window.omnivoreEnv.__NEXT_MIDDLEWARE_PREFETCH?null:await H({fetchData:()=>Q({dataHref:this.pageLoader.getDataHref({href:(0,b.formatWithValidation)({pathname:u,query:s}),skipInterpolation:!0,asPath:f,locale:y}),hasMiddleware:!0,isServerRender:this.isSsr,parseJSON:!0,inflightCache:this.sdc,persistCache:!this.isPreview,isPrefetch:!0}),asPath:t,locale:y,router:this});if("rewrite"===(null==_?void 0:_.effect.type)&&(r.pathname=_.effect.resolvedHref,l=_.effect.resolvedHref,s={...s,..._.effect.parsedAs.query},f=_.effect.parsedAs.pathname,e=(0,b.formatWithValidation)(r)),"redirect-external"===(null==_?void 0:_.effect.type))return;const C=(0,i.removeTrailingSlash)(l);await this._bfl(t,f,n.locale,!0)&&(this.components[o]={__appRouter:!0}),await Promise.all([this.pageLoader._isSsg(C).then((t=>!!t&&Q({dataHref:(null==_?void 0:_.json)?null==_?void 0:_.dataHref:this.pageLoader.getDataHref({href:e,asPath:f,locale:y}),isServerRender:!1,parseJSON:!0,inflightCache:this.sdc,persistCache:!this.isPreview,isPrefetch:!0,unstable_skipClientCache:n.unstable_skipClientCache||n.priority&&!!window.omnivoreEnv.__NEXT_OPTIMISTIC_CLIENT_CACHE}).then((()=>!1)).catch((()=>!1)))),this.pageLoader[n.priority?"loadPage":"prefetch"](C)])}async fetchComponent(e){const t=Y({route:e,router:this});try{const n=await this.pageLoader.loadPage(e);return t(),n}catch(e){throw t(),e}}_getData(e){let t=!1;const n=()=>{t=!0};return this.clc=n,e().then((e=>{if(n===this.clc&&(this.clc=null),t){const e=new Error("Loading initial props cancelled");throw e.cancelled=!0,e}return e}))}_getFlightData(e){return Q({dataHref:e,isServerRender:!0,parseJSON:!1,inflightCache:this.sdc,persistCache:!1,isPrefetch:!1}).then((e=>{let{text:t}=e;return{data:t}}))}getInitialProps(e,t){const{Component:n}=this.components["/_app"],r=this._wrapApp(n);return t.AppTree=r,(0,f.loadGetInitialProps)(n,{AppTree:r,Component:e,router:this,ctx:t})}get route(){return this.state.route}get pathname(){return this.state.pathname}get query(){return this.state.query}get asPath(){return this.state.asPath}get locale(){return this.state.locale}get isFallback(){return this.state.isFallback}get isPreview(){return this.state.isPreview}constructor(e,t,r,{initialProps:o,pageLoader:a,App:l,wrapApp:s,Component:u,err:c,subscription:d,isFallback:g,locale:m,locales:v,defaultLocale:A,domainLocales:w,isPreview:x}){this.sdc={},this.sbc={},this.isFirstPopStateEvent=!0,this._key=G(),this.onPopState=e=>{const{isFirstPopStateEvent:t}=this;this.isFirstPopStateEvent=!1;const n=e.state;if(!n){const{pathname:e,query:t}=this;return void this.changeState("replaceState",(0,b.formatWithValidation)({pathname:(0,k.addBasePath)(e),query:t}),(0,f.getURL)())}if(n.__NA)return void window.location.reload();if(!n.__N)return;if(t&&this.locale===n.options.locale&&n.as===this.asPath)return;let r;const{url:o,as:i,options:a,key:l}=n;if(window.omnivoreEnv.__NEXT_SCROLL_RESTORATION&&q&&this._key!==l){try{sessionStorage.setItem("__next_scroll_"+this._key,JSON.stringify({x:self.pageXOffset,y:self.pageYOffset}))}catch(e){}try{const e=sessionStorage.getItem("__next_scroll_"+l);r=JSON.parse(e)}catch(e){r={x:0,y:0}}}this._key=l;const{pathname:s}=(0,h.parseRelativeUrl)(o);this.isSsr&&i===(0,k.addBasePath)(this.asPath)&&s===(0,k.addBasePath)(this.pathname)||this._bps&&!this._bps(n)||this.change("replaceState",o,i,Object.assign({},a,{shallow:a.shallow&&this._shallow,locale:a.locale||this.defaultLocale,_h:0}),r)};const E=(0,i.removeTrailingSlash)(e);if(this.components={},"/_error"!==e&&(this.components[E]={Component:u,initial:!0,props:o,err:c,__N_SSG:o&&o.__N_SSG,__N_SSP:o&&o.__N_SSP}),this.components["/_app"]={Component:l,styleSheets:[]},window.omnivoreEnv.__NEXT_CLIENT_ROUTER_FILTER_ENABLED){const{BloomFilter:e}=n(8261),t=window.omnivoreEnv.__NEXT_CLIENT_ROUTER_S_FILTER,r=window.omnivoreEnv.__NEXT_CLIENT_ROUTER_D_FILTER;(null==t?void 0:t.numHashes)&&(this._bfl_s=new e(t.numItems,t.errorRate),this._bfl_s.import(t)),(null==r?void 0:r.numHashes)&&(this._bfl_d=new e(r.numItems,r.errorRate),this._bfl_d.import(r))}this.events=Z.events,this.pageLoader=a;const S=(0,p.isDynamicRoute)(e)&&self.__NEXT_DATA__.autoExport;if(this.basePath=window.omnivoreEnv.__NEXT_ROUTER_BASEPATH||"",this.sub=d,this.clc=null,this._wrapApp=s,this.isSsr=!0,this.isLocaleDomain=!1,this.isReady=!(!(self.__NEXT_DATA__.gssp||self.__NEXT_DATA__.gip||self.__NEXT_DATA__.isExperimentalCompile||self.__NEXT_DATA__.appGip&&!self.__NEXT_DATA__.gsp)&&(S||self.location.search||window.omnivoreEnv.__NEXT_HAS_REWRITES)),window.omnivoreEnv.__NEXT_I18N_SUPPORT&&(this.locales=v,this.defaultLocale=A,this.domainLocales=w,this.isLocaleDomain=!!(0,y.detectDomainLocale)(w,self.location.hostname)),this.state={route:E,pathname:e,query:t,asPath:S?e:r,isPreview:!!x,locale:window.omnivoreEnv.__NEXT_I18N_SUPPORT?m:void 0,isFallback:g},this._initialMatchesMiddlewarePromise=Promise.resolve(!1),"undefined"!=typeof window){if(!r.startsWith("//")){const n={locale:m},o=(0,f.getURL)();this._initialMatchesMiddlewarePromise=I({router:this,locale:m,asPath:o}).then((i=>(n._shouldResolveHref=r!==e,this.changeState("replaceState",i?o:(0,b.formatWithValidation)({pathname:(0,k.addBasePath)(e),query:t}),o,n),i)))}window.addEventListener("popstate",this.onPopState),window.omnivoreEnv.__NEXT_SCROLL_RESTORATION&&q&&(window.history.scrollRestoration="manual")}}}Z.events=(0,d.default)()},6707:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"addLocale",{enumerable:!0,get:function(){return i}});const r=n(284),o=n(9181);function i(e,t,n,i){if(!t||t===n)return e;const a=e.toLowerCase();if(!i){if((0,o.pathHasPrefix)(a,"/api"))return e;if((0,o.pathHasPrefix)(a,"/"+t.toLowerCase()))return e}return(0,r.addPathPrefix)(e,"/"+t)}},284:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"addPathPrefix",{enumerable:!0,get:function(){return o}});const r=n(2593);function o(e,t){if(!e.startsWith("/")||!t)return e;const{pathname:n,query:o,hash:i}=(0,r.parsePath)(e);return""+t+n+o+i}},8030:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"addPathSuffix",{enumerable:!0,get:function(){return o}});const r=n(2593);function o(e,t){if(!e.startsWith("/")||!t)return e;const{pathname:n,query:o,hash:i}=(0,r.parsePath)(e);return""+n+t+o+i}},9361:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}(t,{normalizeAppPath:function(){return i},normalizeRscPath:function(){return a}});const r=n(9739),o=n(4334);function i(e){return(0,r.ensureLeadingSlash)(e.split("/").reduce(((e,t,n,r)=>t?(0,o.isGroupSegment)(t)||"@"===t[0]?e:"page"!==t&&"route"!==t||n!==r.length-1?e+"/"+t:e:e),""))}function a(e,t){return t?e.replace(/\.rsc($|\?)/,"$1"):e}},2121:(e,t)=>{"use strict";function n(e,t){const n=Object.keys(e);if(n.length!==Object.keys(t).length)return!1;for(let r=n.length;r--;){const o=n[r];if("query"===o){const n=Object.keys(e.query);if(n.length!==Object.keys(t.query).length)return!1;for(let r=n.length;r--;){const o=n[r];if(!t.query.hasOwnProperty(o)||e.query[o]!==t.query[o])return!1}}else if(!t.hasOwnProperty(o)||e[o]!==t[o])return!1}return!0}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"compareRouterStates",{enumerable:!0,get:function(){return n}})},3778:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"formatNextPathnameInfo",{enumerable:!0,get:function(){return l}});const r=n(2794),o=n(284),i=n(8030),a=n(6707);function l(e){let t=(0,a.addLocale)(e.pathname,e.locale,e.buildId?void 0:e.defaultLocale,e.ignorePrefix);return!e.buildId&&e.trailingSlash||(t=(0,r.removeTrailingSlash)(t)),e.buildId&&(t=(0,i.addPathSuffix)((0,o.addPathPrefix)(t,"/_next/data/"+e.buildId),"/"===e.pathname?"index.json":".json")),t=(0,o.addPathPrefix)(t,e.basePath),!e.buildId&&e.trailingSlash?t.endsWith("/")?t:(0,i.addPathSuffix)(t,"/"):(0,r.removeTrailingSlash)(t)}},6555:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}(t,{formatUrl:function(){return i},urlObjectKeys:function(){return a},formatWithValidation:function(){return l}});const r=n(5570)._(n(646)),o=/https?|ftp|gopher|file/;function i(e){let{auth:t,hostname:n}=e,i=e.protocol||"",a=e.pathname||"",l=e.hash||"",s=e.query||"",u=!1;t=t?encodeURIComponent(t).replace(/%3A/i,":")+"@":"",e.host?u=t+e.host:n&&(u=t+(~n.indexOf(":")?"["+n+"]":n),e.port&&(u+=":"+e.port)),s&&"object"==typeof s&&(s=String(r.urlQueryToSearchParams(s)));let c=e.search||s&&"?"+s||"";return i&&!i.endsWith(":")&&(i+=":"),e.slashes||(!i||o.test(i))&&!1!==u?(u="//"+(u||""),a&&"/"!==a[0]&&(a="/"+a)):u||(u=""),l&&"#"!==l[0]&&(l="#"+l),c&&"?"!==c[0]&&(c="?"+c),a=a.replace(/[?#]/g,encodeURIComponent),c=c.replace("#","%23"),""+i+u+a+c+l}const a=["auth","hash","host","hostname","href","path","pathname","port","protocol","query","search","slashes"];function l(e){return i(e)}},9983:(e,t)=>{"use strict";function n(e,t){return void 0===t&&(t=""),("/"===e?"/index":/^\/index(\/|$)/.test(e)?"/index"+e:""+e)+t}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return n}})},5930:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getNextPathnameInfo",{enumerable:!0,get:function(){return a}});const r=n(816),o=n(5803),i=n(9181);function a(e,t){var n;const{basePath:a,i18n:l,trailingSlash:s}=null!=(n=t.nextConfig)?n:{},u={pathname:e,trailingSlash:"/"!==e?e.endsWith("/"):s};a&&(0,i.pathHasPrefix)(u.pathname,a)&&(u.pathname=(0,o.removePathPrefix)(u.pathname,a),u.basePath=a);let c=u.pathname;if(u.pathname.startsWith("/_next/data/")&&u.pathname.endsWith(".json")){const e=u.pathname.replace(/^\/_next\/data\//,"").replace(/\.json$/,"").split("/"),n=e[0];u.buildId=n,c="index"!==e[1]?"/"+e.slice(1).join("/"):"/",!0===t.parseData&&(u.pathname=c)}if(l){let e=t.i18nProvider?t.i18nProvider.analyze(u.pathname):(0,r.normalizeLocalePath)(u.pathname,l.locales);var d;u.locale=e.detectedLocale,u.pathname=null!=(d=e.pathname)?d:u.pathname,!e.detectedLocale&&u.buildId&&(e=t.i18nProvider?t.i18nProvider.analyze(c):(0,r.normalizeLocalePath)(c,l.locales),e.detectedLocale&&(u.locale=e.detectedLocale))}return u}},6576:(e,t)=>{"use strict";function n(e,t){if(void 0===t&&(t={}),t.onlyHashChange)return void e();const n=document.documentElement,r=n.style.scrollBehavior;n.style.scrollBehavior="auto",t.dontForceLayout||n.getClientRects(),e(),n.style.scrollBehavior=r}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"handleSmoothScroll",{enumerable:!0,get:function(){return n}})},9150:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}(t,{getSortedRoutes:function(){return r.getSortedRoutes},isDynamicRoute:function(){return o.isDynamicRoute}});const r=n(9036),o=n(7482)},2685:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"interpolateAs",{enumerable:!0,get:function(){return i}});const r=n(3107),o=n(4794);function i(e,t,n){let i="";const a=(0,o.getRouteRegex)(e),l=a.groups,s=(t!==e?(0,r.getRouteMatcher)(a)(t):"")||n;i=e;const u=Object.keys(l);return u.every((e=>{let t=s[e]||"";const{repeat:n,optional:r}=l[e];let o="["+(n?"...":"")+e+"]";return r&&(o=(t?"":"/")+"["+o+"]"),n&&!Array.isArray(t)&&(t=[t]),(r||e in s)&&(i=i.replace(o,n?t.map((e=>encodeURIComponent(e))).join("/"):encodeURIComponent(t))||"/")}))||(i=""),{params:u,result:i}}},343:(e,t)=>{"use strict";function n(e){return/Googlebot|Mediapartners-Google|AdsBot-Google|googleweblight|Storebot-Google|Google-PageRenderer|Bingbot|BingPreview|Slurp|DuckDuckBot|baiduspider|yandex|sogou|LinkedInBot|bitlybot|tumblr|vkShare|quora link preview|facebookexternalhit|facebookcatalog|Twitterbot|applebot|redditbot|Slackbot|Discordbot|WhatsApp|SkypeUriPreview|ia_archiver/i.test(e)}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"isBot",{enumerable:!0,get:function(){return n}})},7482:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"isDynamicRoute",{enumerable:!0,get:function(){return r}});const n=/\/\[[^/]+?\](?=\/|$)/;function r(e){return n.test(e)}},8657:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"isLocalURL",{enumerable:!0,get:function(){return i}});const r=n(1624),o=n(6200);function i(e){if(!(0,r.isAbsoluteUrl)(e))return!0;try{const t=(0,r.getLocationOrigin)(),n=new URL(e,t);return n.origin===t&&(0,o.hasBasePath)(n.pathname)}catch(e){return!1}}},2093:(e,t)=>{"use strict";function n(e,t){const n={};return Object.keys(e).forEach((r=>{t.includes(r)||(n[r]=e[r])})),n}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"omit",{enumerable:!0,get:function(){return n}})},2593:(e,t)=>{"use strict";function n(e){const t=e.indexOf("#"),n=e.indexOf("?"),r=n>-1&&(t<0||n<t);return r||t>-1?{pathname:e.substring(0,r?n:t),query:r?e.substring(n,t>-1?t:void 0):"",hash:t>-1?e.slice(t):""}:{pathname:e,query:"",hash:""}}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"parsePath",{enumerable:!0,get:function(){return n}})},1577:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"parseRelativeUrl",{enumerable:!0,get:function(){return i}});const r=n(1624),o=n(646);function i(e,t){const n=new URL("undefined"==typeof window?"http://n":(0,r.getLocationOrigin)()),i=t?new URL(t,n):e.startsWith(".")?new URL("undefined"==typeof window?"http://n":window.location.href):n,{pathname:a,searchParams:l,search:s,hash:u,href:c,origin:d}=new URL(e,i);if(d!==n.origin)throw new Error("invariant: invalid relative URL, router received "+e);return{pathname:a,query:(0,o.searchParamsToUrlQuery)(l),search:s,hash:u,href:c.slice(n.origin.length)}}},2011:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"parseUrl",{enumerable:!0,get:function(){return i}});const r=n(646),o=n(1577);function i(e){if(e.startsWith("/"))return(0,o.parseRelativeUrl)(e);const t=new URL(e);return{hash:t.hash,hostname:t.hostname,href:t.href,pathname:t.pathname,port:t.port,protocol:t.protocol,query:(0,r.searchParamsToUrlQuery)(t.searchParams),search:t.search}}},9181:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"pathHasPrefix",{enumerable:!0,get:function(){return o}});const r=n(2593);function o(e,t){if("string"!=typeof e)return!1;const{pathname:n}=(0,r.parsePath)(e);return n===t||n.startsWith(t+"/")}},1095:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getPathMatch",{enumerable:!0,get:function(){return o}});const r=n(9264);function o(e,t){const n=[],o=(0,r.pathToRegexp)(e,n,{delimiter:"/",sensitive:"boolean"==typeof(null==t?void 0:t.sensitive)&&t.sensitive,strict:null==t?void 0:t.strict}),i=(0,r.regexpToFunction)((null==t?void 0:t.regexModifier)?new RegExp(t.regexModifier(o.source),o.flags):o,n);return(e,r)=>{if("string"!=typeof e)return!1;const o=i(e);if(!o)return!1;if(null==t?void 0:t.removeUnnamedParams)for(const e of n)"number"==typeof e.name&&delete o.params[e.name];return{...r,...o.params}}}},9716:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}(t,{matchHas:function(){return c},compileNonPath:function(){return d},prepareDestination:function(){return f}});const r=n(9264),o=n(8058),i=n(2011),a=n(6520),l=n(3042),s=n(1702);function u(e){return e.replace(/__ESC_COLON_/gi,":")}function c(e,t,n,r){void 0===n&&(n=[]),void 0===r&&(r=[]);const o={},i=n=>{let r,i=n.key;switch(n.type){case"header":i=i.toLowerCase(),r=e.headers[i];break;case"cookie":r="cookies"in e?e.cookies[n.key]:(0,s.getCookieParser)(e.headers)()[n.key];break;case"query":r=t[i];break;case"host":{const{host:t}=(null==e?void 0:e.headers)||{};r=null==t?void 0:t.split(":")[0].toLowerCase();break}}if(!n.value&&r)return o[function(e){let t="";for(let n=0;n<e.length;n++){const r=e.charCodeAt(n);(r>64&&r<91||r>96&&r<123)&&(t+=e[n])}return t}(i)]=r,!0;if(r){const e=new RegExp("^"+n.value+"$"),t=Array.isArray(r)?r.slice(-1)[0].match(e):r.match(e);if(t)return Array.isArray(t)&&(t.groups?Object.keys(t.groups).forEach((e=>{o[e]=t.groups[e]})):"host"===n.type&&t[0]&&(o.host=t[0])),!0}return!1};return!(!n.every((e=>i(e)))||r.some((e=>i(e))))&&o}function d(e,t){if(!e.includes(":"))return e;for(const n of Object.keys(t))e.includes(":"+n)&&(e=e.replace(new RegExp(":"+n+"\\*","g"),":"+n+"--ESCAPED_PARAM_ASTERISKS").replace(new RegExp(":"+n+"\\?","g"),":"+n+"--ESCAPED_PARAM_QUESTION").replace(new RegExp(":"+n+"\\+","g"),":"+n+"--ESCAPED_PARAM_PLUS").replace(new RegExp(":"+n+"(?!\\w)","g"),"--ESCAPED_PARAM_COLON"+n));return e=e.replace(/(:|\*|\?|\+|\(|\)|\{|\})/g,"\\$1").replace(/--ESCAPED_PARAM_PLUS/g,"+").replace(/--ESCAPED_PARAM_COLON/g,":").replace(/--ESCAPED_PARAM_QUESTION/g,"?").replace(/--ESCAPED_PARAM_ASTERISKS/g,"*"),(0,r.compile)("/"+e,{validate:!1})(t).slice(1)}function f(e){const t=Object.assign({},e.query);delete t.__nextLocale,delete t.__nextDefaultLocale,delete t.__nextDataReq,delete t.__nextInferredLocaleFromDefault,delete t[l.NEXT_RSC_UNION_QUERY];let n=e.destination;for(const r of Object.keys({...e.params,...t}))s=r,n=n.replace(new RegExp(":"+(0,o.escapeStringRegexp)(s),"g"),"__ESC_COLON_"+s);var s;const c=(0,i.parseUrl)(n),f=c.query,p=u(""+c.pathname+(c.hash||"")),h=u(c.hostname||""),g=[],m=[];(0,r.pathToRegexp)(p,g),(0,r.pathToRegexp)(h,m);const v=[];g.forEach((e=>v.push(e.name))),m.forEach((e=>v.push(e.name)));const b=(0,r.compile)(p,{validate:!1}),y=(0,r.compile)(h,{validate:!1});for(const[t,n]of Object.entries(f))Array.isArray(n)?f[t]=n.map((t=>d(u(t),e.params))):"string"==typeof n&&(f[t]=d(u(n),e.params));let A,w=Object.keys(e.params).filter((e=>"nextInternalLocale"!==e));if(e.appendParamsToQuery&&!w.some((e=>v.includes(e))))for(const t of w)t in f||(f[t]=e.params[t]);if((0,a.isInterceptionRouteAppPath)(p))for(const t of p.split("/")){const n=a.INTERCEPTION_ROUTE_MARKERS.find((e=>t.startsWith(e)));if(n){e.params[0]=n;break}}try{A=b(e.params);const[t,n]=A.split("#");c.hostname=y(e.params),c.pathname=t,c.hash=(n?"#":"")+(n||""),delete c.search}catch(e){if(e.message.match(/Expected .*? to not repeat, but got an array/))throw new Error("To use a multi-match in the destination you must add `*` at the end of the param name to signify it should repeat. https://nextjs.org/docs/messages/invalid-multi-match");throw e}return c.query={...t,...c.query},{newUrl:A,destQuery:f,parsedDestination:c}}},646:(e,t)=>{"use strict";function n(e){const t={};return e.forEach(((e,n)=>{void 0===t[n]?t[n]=e:Array.isArray(t[n])?t[n].push(e):t[n]=[t[n],e]})),t}function r(e){return"string"==typeof e||"number"==typeof e&&!isNaN(e)||"boolean"==typeof e?String(e):""}function o(e){const t=new URLSearchParams;return Object.entries(e).forEach((e=>{let[n,o]=e;Array.isArray(o)?o.forEach((e=>t.append(n,r(e)))):t.set(n,r(o))})),t}function i(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];return n.forEach((t=>{Array.from(t.keys()).forEach((t=>e.delete(t))),t.forEach(((t,n)=>e.append(n,t)))})),e}Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}(t,{searchParamsToUrlQuery:function(){return n},urlQueryToSearchParams:function(){return o},assign:function(){return i}})},5803:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"removePathPrefix",{enumerable:!0,get:function(){return o}});const r=n(9181);function o(e,t){if(!(0,r.pathHasPrefix)(e,t))return e;const n=e.slice(t.length);return n.startsWith("/")?n:"/"+n}},2794:(e,t)=>{"use strict";function n(e){return e.replace(/\/$/,"")||"/"}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"removeTrailingSlash",{enumerable:!0,get:function(){return n}})},5317:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return u}});const r=n(1095),o=n(9716),i=n(2794),a=n(816),l=n(2087),s=n(1577);function u(e,t,n,u,c,d){let f,p=!1,h=!1,g=(0,s.parseRelativeUrl)(e),m=(0,i.removeTrailingSlash)((0,a.normalizeLocalePath)((0,l.removeBasePath)(g.pathname),d).pathname);const v=n=>{let s=(0,r.getPathMatch)(n.source+(window.omnivoreEnv.__NEXT_TRAILING_SLASH?"(/)?":""),{removeUnnamedParams:!0,strict:!0})(g.pathname);if((n.has||n.missing)&&s){const e=(0,o.matchHas)({headers:{host:document.location.hostname,"user-agent":navigator.userAgent},cookies:document.cookie.split("; ").reduce(((e,t)=>{const[n,...r]=t.split("=");return e[n]=r.join("="),e}),{})},g.query,n.has,n.missing);e?Object.assign(s,e):s=!1}if(s){if(!n.destination)return h=!0,!0;const r=(0,o.prepareDestination)({appendParamsToQuery:!0,destination:n.destination,params:s,query:u});if(g=r.parsedDestination,e=r.newUrl,Object.assign(u,r.parsedDestination.query),m=(0,i.removeTrailingSlash)((0,a.normalizeLocalePath)((0,l.removeBasePath)(e),d).pathname),t.includes(m))return p=!0,f=m,!0;if(f=c(m),f!==e&&t.includes(f))return p=!0,!0}};let b=!1;for(let e=0;e<n.beforeFiles.length;e++)v(n.beforeFiles[e]);if(p=t.includes(m),!p){if(!b)for(let e=0;e<n.afterFiles.length;e++)if(v(n.afterFiles[e])){b=!0;break}if(b||(f=c(m),p=t.includes(f),b=p),!b)for(let e=0;e<n.fallback.length;e++)if(v(n.fallback[e])){b=!0;break}}return{asPath:e,parsedAs:g,matchedPage:p,resolvedHref:f,externalDest:h}}},3107:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getRouteMatcher",{enumerable:!0,get:function(){return o}});const r=n(1624);function o(e){let{re:t,groups:n}=e;return e=>{const o=t.exec(e);if(!o)return!1;const i=e=>{try{return decodeURIComponent(e)}catch(e){throw new r.DecodeError("failed to decode param")}},a={};return Object.keys(n).forEach((e=>{const t=n[e],r=o[t.pos];void 0!==r&&(a[e]=~r.indexOf("/")?r.split("/").map((e=>i(e))):t.repeat?[i(r)]:i(r))})),a}}},4794:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}(t,{getRouteRegex:function(){return s},getNamedRouteRegex:function(){return d},getNamedMiddlewareRegex:function(){return f}});const r=n(6520),o=n(8058),i=n(2794);function a(e){const t=e.startsWith("[")&&e.endsWith("]");t&&(e=e.slice(1,-1));const n=e.startsWith("...");return n&&(e=e.slice(3)),{key:e,repeat:n,optional:t}}function l(e){const t=(0,i.removeTrailingSlash)(e).slice(1).split("/"),n={};let l=1;return{parameterizedRoute:t.map((e=>{const t=r.INTERCEPTION_ROUTE_MARKERS.find((t=>e.startsWith(t))),i=e.match(/\[((?:\[.*\])|.+)\]/);if(t&&i){const{key:e,optional:r,repeat:s}=a(i[1]);return n[e]={pos:l++,repeat:s,optional:r},"/"+(0,o.escapeStringRegexp)(t)+"([^/]+?)"}if(i){const{key:e,repeat:t,optional:r}=a(i[1]);return n[e]={pos:l++,repeat:t,optional:r},t?r?"(?:/(.+?))?":"/(.+?)":"/([^/]+?)"}return"/"+(0,o.escapeStringRegexp)(e)})).join(""),groups:n}}function s(e){const{parameterizedRoute:t,groups:n}=l(e);return{re:new RegExp("^"+t+"(?:/)?$"),groups:n}}function u(e){let{getSafeRouteKey:t,segment:n,routeKeys:r,keyPrefix:o}=e;const{key:i,optional:l,repeat:s}=a(n);let u=i.replace(/\W/g,"");o&&(u=""+o+u);let c=!1;return(0===u.length||u.length>30)&&(c=!0),isNaN(parseInt(u.slice(0,1)))||(c=!0),c&&(u=t()),r[u]=o?""+o+i:""+i,s?l?"(?:/(?<"+u+">.+?))?":"/(?<"+u+">.+?)":"/(?<"+u+">[^/]+?)"}function c(e,t){const n=(0,i.removeTrailingSlash)(e).slice(1).split("/"),a=function(){let e=0;return()=>{let t="",n=++e;for(;n>0;)t+=String.fromCharCode(97+(n-1)%26),n=Math.floor((n-1)/26);return t}}(),l={};return{namedParameterizedRoute:n.map((e=>{const n=r.INTERCEPTION_ROUTE_MARKERS.some((t=>e.startsWith(t))),i=e.match(/\[((?:\[.*\])|.+)\]/);return n&&i?u({getSafeRouteKey:a,segment:i[1],routeKeys:l,keyPrefix:t?"nxtI":void 0}):i?u({getSafeRouteKey:a,segment:i[1],routeKeys:l,keyPrefix:t?"nxtP":void 0}):"/"+(0,o.escapeStringRegexp)(e)})).join(""),routeKeys:l}}function d(e,t){const n=c(e,t);return{...s(e),namedRegex:"^"+n.namedParameterizedRoute+"(?:/)?$",routeKeys:n.routeKeys}}function f(e,t){const{parameterizedRoute:n}=l(e),{catchAll:r=!0}=t;if("/"===n)return{namedRegex:"^/"+(r?".*":"")+"$"};const{namedParameterizedRoute:o}=c(e,!1);return{namedRegex:"^"+o+(r?"(?:(/.*)?)":"")+"$"}}},9036:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getSortedRoutes",{enumerable:!0,get:function(){return r}});class n{insert(e){this._insert(e.split("/").filter(Boolean),[],!1)}smoosh(){return this._smoosh()}_smoosh(e){void 0===e&&(e="/");const t=[...this.children.keys()].sort();null!==this.slugName&&t.splice(t.indexOf("[]"),1),null!==this.restSlugName&&t.splice(t.indexOf("[...]"),1),null!==this.optionalRestSlugName&&t.splice(t.indexOf("[[...]]"),1);const n=t.map((t=>this.children.get(t)._smoosh(""+e+t+"/"))).reduce(((e,t)=>[...e,...t]),[]);if(null!==this.slugName&&n.push(...this.children.get("[]")._smoosh(e+"["+this.slugName+"]/")),!this.placeholder){const t="/"===e?"/":e.slice(0,-1);if(null!=this.optionalRestSlugName)throw new Error('You cannot define a route with the same specificity as a optional catch-all route ("'+t+'" and "'+t+"[[..."+this.optionalRestSlugName+']]").');n.unshift(t)}return null!==this.restSlugName&&n.push(...this.children.get("[...]")._smoosh(e+"[..."+this.restSlugName+"]/")),null!==this.optionalRestSlugName&&n.push(...this.children.get("[[...]]")._smoosh(e+"[[..."+this.optionalRestSlugName+"]]/")),n}_insert(e,t,r){if(0===e.length)return void(this.placeholder=!1);if(r)throw new Error("Catch-all must be the last part of the URL.");let o=e[0];if(o.startsWith("[")&&o.endsWith("]")){let i=o.slice(1,-1),a=!1;if(i.startsWith("[")&&i.endsWith("]")&&(i=i.slice(1,-1),a=!0),i.startsWith("...")&&(i=i.substring(3),r=!0),i.startsWith("[")||i.endsWith("]"))throw new Error("Segment names may not start or end with extra brackets ('"+i+"').");if(i.startsWith("."))throw new Error("Segment names may not start with erroneous periods ('"+i+"').");function l(e,n){if(null!==e&&e!==n)throw new Error("You cannot use different slug names for the same dynamic path ('"+e+"' !== '"+n+"').");t.forEach((e=>{if(e===n)throw new Error('You cannot have the same slug name "'+n+'" repeat within a single dynamic path');if(e.replace(/\W/g,"")===o.replace(/\W/g,""))throw new Error('You cannot have the slug names "'+e+'" and "'+n+'" differ only by non-word symbols within a single dynamic path')})),t.push(n)}if(r)if(a){if(null!=this.restSlugName)throw new Error('You cannot use both an required and optional catch-all route at the same level ("[...'+this.restSlugName+']" and "'+e[0]+'" ).');l(this.optionalRestSlugName,i),this.optionalRestSlugName=i,o="[[...]]"}else{if(null!=this.optionalRestSlugName)throw new Error('You cannot use both an optional and required catch-all route at the same level ("[[...'+this.optionalRestSlugName+']]" and "'+e[0]+'").');l(this.restSlugName,i),this.restSlugName=i,o="[...]"}else{if(a)throw new Error('Optional route parameters are not yet supported ("'+e[0]+'").');l(this.slugName,i),this.slugName=i,o="[]"}}this.children.has(o)||this.children.set(o,new n),this.children.get(o)._insert(e.slice(1),t,r)}constructor(){this.placeholder=!0,this.children=new Map,this.slugName=null,this.restSlugName=null,this.optionalRestSlugName=null}}function r(e){const t=new n;return e.forEach((e=>t.insert(e))),t.smoosh()}},4334:(e,t)=>{"use strict";function n(e){return"("===e[0]&&e.endsWith(")")}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"isGroupSegment",{enumerable:!0,get:function(){return n}})},1624:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}(t,{WEB_VITALS:function(){return n},execOnce:function(){return r},isAbsoluteUrl:function(){return i},getLocationOrigin:function(){return a},getURL:function(){return l},getDisplayName:function(){return s},isResSent:function(){return u},normalizeRepeatedSlashes:function(){return c},loadGetInitialProps:function(){return d},SP:function(){return f},ST:function(){return p},DecodeError:function(){return h},NormalizeError:function(){return g},PageNotFoundError:function(){return m},MissingStaticPage:function(){return v},MiddlewareNotFoundError:function(){return b},stringifyError:function(){return y}});const n=["CLS","FCP","FID","INP","LCP","TTFB"];function r(e){let t,n=!1;return function(){for(var r=arguments.length,o=new Array(r),i=0;i<r;i++)o[i]=arguments[i];return n||(n=!0,t=e(...o)),t}}const o=/^[a-zA-Z][a-zA-Z\d+\-.]*?:/,i=e=>o.test(e);function a(){const{protocol:e,hostname:t,port:n}=window.location;return e+"//"+t+(n?":"+n:"")}function l(){const{href:e}=window.location,t=a();return e.substring(t.length)}function s(e){return"string"==typeof e?e:e.displayName||e.name||"Unknown"}function u(e){return e.finished||e.headersSent}function c(e){const t=e.split("?");return t[0].replace(/\\/g,"/").replace(/\/\/+/g,"/")+(t[1]?"?"+t.slice(1).join("?"):"")}async function d(e,t){const n=t.res||t.ctx&&t.ctx.res;if(!e.getInitialProps)return t.ctx&&t.Component?{pageProps:await d(t.Component,t.ctx)}:{};const r=await e.getInitialProps(t);if(n&&u(n))return r;if(!r){const t='"'+s(e)+'.getInitialProps()" should resolve to an object. But found "'+r+'" instead.';throw new Error(t)}return r}const f="undefined"!=typeof performance,p=f&&["mark","measure","getEntriesByName"].every((e=>"function"==typeof performance[e]));class h extends Error{}class g extends Error{}class m extends Error{constructor(e){super(),this.code="ENOENT",this.name="PageNotFoundError",this.message="Cannot find module for page: "+e}}class v extends Error{constructor(e,t){super(),this.message="Failed to load static file for page: "+e+" "+t}}class b extends Error{constructor(){super(),this.code="ENOENT",this.message="Cannot find the middleware module"}}function y(e){return JSON.stringify({message:e.message,stack:e.stack})}},9097:(e,t,n)=>{n(4529)},5632:(e,t,n)=>{e.exports=n(9518)},2852:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.nodeHtmlParserConfig=t.aTagTranslatorConfig=t.defaultCodeBlockTranslators=t.tableCellTranslatorConfig=t.tableRowTranslatorConfig=t.tableTranslatorConfig=t.defaultTranslators=t.defaultOptions=t.contentlessElements=t.defaultIgnoreElements=t.defaultBlockElements=void 0;const r=n(3525),o=n(6183);t.defaultBlockElements=["ADDRESS","ARTICLE","ASIDE","AUDIO","BLOCKQUOTE","BODY","CANVAS","CENTER","DD","DIR","DIV","DL","DT","FIELDSET","FIGCAPTION","FIGURE","FOOTER","FORM","FRAMESET","H1","H2","H3","H4","H5","H6","HEADER","HGROUP","HR","HTML","ISINDEX","LI","MAIN","MENU","NAV","NOFRAMES","NOSCRIPT","OL","OUTPUT","P","PRE","SECTION","TABLE","TBODY","TD","TFOOT","TH","THEAD","TR","UL"],t.defaultIgnoreElements=["AREA","BASE","COL","COMMAND","EMBED","HEAD","INPUT","KEYGEN","LINK","META","PARAM","SCRIPT","SOURCE","STYLE","TRACK","WBR"],t.contentlessElements=["BR","HR","IMG"],t.defaultOptions=Object.freeze({preferNativeParser:!1,codeFence:"```",bulletMarker:"*",indent:" ",codeBlockStyle:"fenced",emDelimiter:"_",strongDelimiter:"**",strikeDelimiter:"~~",maxConsecutiveNewlines:3,globalEscape:[/[\\`*_~\[\]]/gm,"\\$&"],lineStartEscape:[/^(\s*?)((?:\+\s)|(?:[=>-])|(?:#{1,6}\s))|(?:(\d+)(\.\s))/gm,"$1$3\\$2$4"],useInlineLinks:!0}),t.defaultTranslators={pre:{noEscape:!0,preserveWhitespace:!0},br:{content:" \n",recurse:!1},hr:{content:"---",recurse:!1},"h1,h2,h3,h4,h5,h6":({node:e})=>({prefix:"#".repeat(+e.tagName.charAt(1))+" "}),"strong,b":{spaceIfRepeatingChar:!0,postprocess:({content:e,options:{strongDelimiter:t}})=>(0,r.isWhiteSpaceOnly)(e)?o.PostProcessResult.RemoveNode:(0,r.tagSurround)(e,t)},"del,s,strike":{spaceIfRepeatingChar:!0,postprocess:({content:e,options:{strikeDelimiter:t}})=>(0,r.isWhiteSpaceOnly)(e)?o.PostProcessResult.RemoveNode:(0,r.tagSurround)(e,t)},"em,i":{spaceIfRepeatingChar:!0,postprocess:({content:e,options:{emDelimiter:t}})=>(0,r.isWhiteSpaceOnly)(e)?o.PostProcessResult.RemoveNode:(0,r.tagSurround)(e,t)},"ol,ul":({listKind:e})=>({surroundingNewlines:e?1:2}),li:({options:{bulletMarker:e},indentLevel:t,listKind:n,listItemNumber:i})=>{const a=+(t||0);return{prefix:" ".repeat(+(t||0))+("OL"===n&&void 0!==i?`${i}. `:`${e} `),surroundingNewlines:1,postprocess:({content:e})=>(0,r.isWhiteSpaceOnly)(e)?o.PostProcessResult.RemoveNode:e.trim().replace(/([^\r\n])(?:\r?\n)+/g,`$1 \n${" ".repeat(a)}`).replace(/(\S+?)[^\S\r\n]+$/gm,"$1 ")}},blockquote:{postprocess:({content:e})=>(0,r.trimNewLines)(e).replace(/^(>*)[^\S\r\n]?/gm,">$1 ")},code:({node:e,parent:t,options:{codeFence:n,codeBlockStyle:o},visitor:i})=>{var a,l;return["PRE","WRAPPED-PRE"].includes(null==t?void 0:t.tagName)&&t.childNodes.length<2?"fenced"===o?{noEscape:!0,prefix:n+((null===(l=null===(a=e.getAttribute("class"))||void 0===a?void 0:a.match(/language-(\S+)/))||void 0===l?void 0:l[1])||"")+"\n",postfix:"\n"+n,childTranslators:i.instance.codeBlockTranslators}:{noEscape:!0,postprocess:({content:e})=>e.replace(/^/gm," "),childTranslators:i.instance.codeBlockTranslators}:{spaceIfRepeatingChar:!0,noEscape:!0,postprocess:({content:e})=>{var t,n;const o="`"+((null===(n=null===(t=e.match(/`+/g))||void 0===t?void 0:t.sort(((e,t)=>t.length-e.length)))||void 0===n?void 0:n[0])||""),i=o.length>1?" ":"";return(0,r.surround)((0,r.surround)(e,i),o)}}},table:({visitor:e})=>({surroundingNewlines:2,childTranslators:e.instance.tableTranslators,postprocess:({content:e,nodeMetadata:t,node:n})=>{const i=(0,r.splitSpecial)(e).map((({text:e})=>e.replace(/^(?:\|\s+)?(.+)\s*\|\s*$/,"$1"))),a=[];let l=[];for(const e of i){if(!e)continue;const t=e.split(" |").map(((e,t)=>(e=e.trim(),(l.length<t+1||l[t]<e.length)&&(l[t]=e.length),e)));a.push(t)}if(a.length<1)return o.PostProcessResult.RemoveNode;const s=l.length;let u="";const c=t.get(n).tableMeta.caption;return c&&(u+=c+"\n"),a.forEach(((e,t)=>{var n;u+="| ";for(let t=0;t<s;t++){let r=null!==(n=e[t])&&void 0!==n?n:"";r+=" ".repeat(Math.max(0,l[t]-r.length)),u+=r+" |"+(t<s-1?" ":"")}u+="\n",0===t&&(u+="|"+l.map((e=>" "+"-".repeat(e)+" |")).join("")+"\n")})),u}}),a:({node:e,options:t,visitor:n})=>{const r=e.getAttribute("href");if(!r)return{};let o="";for(const e of r)switch(e){case"(":o+="%28";break;case")":o+="%29";break;case"_":o+="%5F";break;case"*":o+="%2A";break;default:o+=e}const i=e.getAttribute("title");return e.textContent===r&&t.useInlineLinks?{content:`<${o}>`}:{postprocess:({content:e})=>e.replace(/(?:\r?\n)+/g," "),childTranslators:n.instance.aTagTranslators,prefix:"[",postfix:"]"+(t.useLinkReferenceDefinitions?`[${n.addOrGetUrlDefinition(o)}]`:`(${o}${i?` "${i}"`:""})`)}},img:({node:e,options:t})=>{const n=e.getAttribute("src")||"";if(!n||!t.keepDataImages&&/^data:/i.test(n))return{ignore:!0};const r=e.getAttribute("alt")||"",o=e.getAttribute("title")||"";return{content:`![${r}](${n}${o&&` "${o}"`})`,recurse:!1}}},t.tableTranslatorConfig={caption:({visitor:e})=>({surroundingNewlines:!1,childTranslators:e.instance.tableCellTranslators,postprocess:({content:e,nodeMetadata:t,node:n})=>{const r=e.replace(/(?:\r?\n)+/g," ").trim();return r&&(t.get(n).tableMeta.caption="__"+r+"__"),o.PostProcessResult.RemoveNode}}),tr:({visitor:e})=>({surroundingNewlines:!1,childTranslators:e.instance.tableRowTranslators,postfix:"\n",prefix:"| ",postprocess:({content:e})=>/ \|\s*$/.test(e)?e:o.PostProcessResult.RemoveNode}),"th,td":({visitor:e})=>({surroundingNewlines:!1,childTranslators:e.instance.tableCellTranslators,prefix:" ",postfix:" |",postprocess:({content:e})=>(0,r.trimNewLines)(e).replace("|","\\|").replace(/(?:\r?\n)+/g," ").trim()})},t.tableRowTranslatorConfig={"th,td":t.tableTranslatorConfig["th,td"]},t.tableCellTranslatorConfig={a:t.defaultTranslators.a,"strong,b":t.defaultTranslators["strong,b"],"del,s,strike":t.defaultTranslators["del,s,strike"],"em,i":t.defaultTranslators["em,i"],img:t.defaultTranslators.img},t.defaultCodeBlockTranslators={br:{content:"\n",recurse:!1},hr:{content:"---",recurse:!1},"h1,h2,h3,h4,h5,h6":{prefix:"[",postfix:"]"},"ol,ul":t.defaultTranslators["ol,ul"],li:t.defaultTranslators.li,tr:{surroundingNewlines:!0},img:{recurse:!1}},t.aTagTranslatorConfig={br:{content:"\n",recurse:!1},hr:{content:"\n",recurse:!1},pre:t.defaultTranslators.pre,"strong,b":t.defaultTranslators["strong,b"],"del,s,strike":t.defaultTranslators["del,s,strike"],"em,i":t.defaultTranslators["em,i"],img:t.defaultTranslators.img},t.nodeHtmlParserConfig={lowerCaseTagName:!1,comment:!1,fixNestedATags:!0,blockTextElements:{script:!1,noscript:!1,style:!1}}},3468:(e,t,n)=>{"use strict";t.dx=void 0;var r=n(2189);Object.defineProperty(t,"dx",{enumerable:!0,get:function(){return r.NodeHtmlMarkdown}});n(6183)},2189:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.NodeHtmlMarkdown=void 0;const r=n(6183),o=n(2852),i=n(3525),a=n(819);class l{constructor(e,t,n){var i,a,l,s;this.translators=new r.TranslatorCollection,this.aTagTranslators=new r.TranslatorCollection,this.codeBlockTranslators=new r.TranslatorCollection,this.tableTranslators=new r.TranslatorCollection,this.tableRowTranslators=new r.TranslatorCollection,this.tableCellTranslators=new r.TranslatorCollection,this.options=Object.assign(Object.assign({},o.defaultOptions),e);const u=null!==(a=null===(i=this.options.ignore)||void 0===i?void 0:i.concat(o.defaultIgnoreElements))&&void 0!==a?a:o.defaultIgnoreElements,c=null!==(s=null===(l=this.options.blockElements)||void 0===l?void 0:l.concat(o.defaultBlockElements))&&void 0!==s?s:o.defaultBlockElements;null==u||u.forEach((e=>{this.translators.set(e,{ignore:!0,recurse:!1}),this.codeBlockTranslators.set(e,{ignore:!0,recurse:!1})})),null==c||c.forEach((e=>{this.translators.set(e,{surroundingNewlines:2}),this.codeBlockTranslators.set(e,{surroundingNewlines:2})}));for(const[e,n]of Object.entries(Object.assign(Object.assign({},o.defaultTranslators),t)))this.translators.set(e,n,!0);for(const[e,t]of Object.entries(Object.assign(Object.assign({},o.defaultCodeBlockTranslators),n)))this.codeBlockTranslators.set(e,t,!0);for(const[e,t]of Object.entries(o.aTagTranslatorConfig))this.aTagTranslators.set(e,t,!0);for(const[e,t]of Object.entries(o.tableTranslatorConfig))this.tableTranslators.set(e,t,!0);for(const[e,t]of Object.entries(o.tableRowTranslatorConfig))this.tableRowTranslators.set(e,t,!0);for(const[e,t]of Object.entries(o.tableCellTranslatorConfig))this.tableCellTranslators.set(e,t,!0);this.options.textReplace||(this.options.textReplace=[]),this.options.textReplace.push([/^<!DOCTYPE.*>/gim,""])}static translate(e,t,n,r){return l.prototype.translateWorker.call(new l(t,n,r),e)}translate(e){return this.translateWorker(e)}translateWorker(e){const t="string"!=typeof e,n=t?e:{default:e},r={};for(const[e,t]of Object.entries(n)){const n=(0,i.parseHTML)(t,this.options);r[e]=(0,a.getMarkdownForHtmlNodes)(this,n,"default"!==e?e:void 0)}return t?r:r.default}}t.NodeHtmlMarkdown=l},5101:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isElementNode=t.isCommentNode=t.isTextNode=t.CommentNode=t.NodeType=void 0;const r=n(42);Object.defineProperty(t,"CommentNode",{enumerable:!0,get:function(){return r.CommentNode}}),Object.defineProperty(t,"NodeType",{enumerable:!0,get:function(){return r.NodeType}}),t.isTextNode=e=>e.nodeType===r.NodeType.TEXT_NODE,t.isCommentNode=e=>e.nodeType===r.NodeType.COMMENT_NODE,t.isElementNode=e=>e.nodeType===r.NodeType.ELEMENT_NODE},6183:(e,t)=>{"use strict";var n;Object.defineProperty(t,"__esModule",{value:!0}),t.createTranslatorContext=t.isTranslatorConfig=t.TranslatorCollection=t.PostProcessResult=void 0,(n=t.PostProcessResult||(t.PostProcessResult={}))[n.NoChange=0]="NoChange",n[n.RemoveNode=1]="RemoveNode",t.TranslatorCollection=class{get size(){return Object.keys(this).length}set(e,n,r){e.split(",").forEach((e=>{e=e.toUpperCase();let o=n;if(r){const r=this[e];(0,t.isTranslatorConfig)(r)&&(o=(0,t.isTranslatorConfig)(n)?Object.assign(Object.assign({},r),n):Object.assign(((...e)=>n.apply(void 0,e)),{base:r}))}this[e]=o}))}get(e){return this[e.toUpperCase()]}entries(){return Object.entries(this)}remove(e){e.split(",").forEach((e=>delete this[e.toUpperCase()]))}},t.isTranslatorConfig=e=>"object"==typeof e,t.createTranslatorContext=function(e,t,n,r){const{instance:o,nodeMetadata:i}=e;return Object.assign({node:t,options:o.options,parent:t.parentNode,nodeMetadata:i,visitor:e,base:r},n)}},3525:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.perfStop=t.perfStart=t.getChildNodes=t.parseHTML=t.truthyStr=t.getTrailingWhitespaceInfo=t.tagSurround=t.splitSpecial=t.isWhiteSpaceOnly=t.surround=t.trimNewLines=void 0;const r=n(2852);function o(e){const t=[],n=e.length;for(let r=0,o=0;r<n;++r){let i=e.charAt(r),a="";"\r"===i?a="\n"===e.charAt(r+1)?"\r\n":i:"\n"===i&&(a=i);const l=a?r:r===n-1?r+1:void 0;void 0!==l&&(t.push({text:e.slice(o,l),newLineChar:a}),o=l+a.length,a.length>1&&++r)}return t}t.trimNewLines=e=>e.replace(/^\n+|\n+$/g,""),t.surround=(e,t)=>`${t}${e}${t}`,t.isWhiteSpaceOnly=e=>!/\S/.test(e),t.splitSpecial=o,t.tagSurround=function(e,t){e.indexOf(t)>=0&&(e=e.replace(new RegExp(`([^\\\\])\\${t.split("").join("\\")}`,"gm"),"$1"));const n=o(e);let r="";for(const{text:e,newLineChar:o}of n){let n,i,a=0;for(;a>=0&&a<e.length;)/[\S]/.test(e[a])&&(void 0===n?(n=a,a=e.length):(i=a,a=NaN)),void 0===n?++a:--a;if(void 0===n){r+=e+o;continue}void 0===i&&(i=e.length-1);const l=n>0?e[n-1]:"",s=i<e.length-1?e[i+1]:"";r+=l+t+e.slice(n,i+1)+t+s+o}return r},t.getTrailingWhitespaceInfo=e=>{const t={whitespace:0,newLines:0},n=Math.max(e.length-10,0);for(let r=e.length-1;r>=n;--r){const n=e.slice(r,r+1);if(!/\s/.test(n))break;++t.whitespace,["\r","\n"].includes(n)&&++t.newLines}return t},t.truthyStr=(e,t)=>e?void 0!==t?t:String(e):"";const i=()=>{try{return n(42).parse}catch(e){return}};function a(e){window.omnivoreEnv.LOG_PERF&&console.time(e)}function l(e){window.omnivoreEnv.LOG_PERF&&console.timeEnd(e)}t.parseHTML=function(e,t){let n,o;if(a("parse"),t.preferNativeParser)try{o=function(e){try{if(!(null===window||void 0===window?void 0:window.DOMParser)||!(new window.DOMParser).parseFromString("","text/html"))return}catch(e){return}let t;try{t=document.implementation.createHTMLDocument("").open()}catch(e){const{ActiveXObject:t}=window;if(t){const e=t("htmlfile");return e.designMode="on",e.open()}throw e}return t.write("<node-html-markdown>"+e+"</node-html-markdown>"),t.close(),t.documentElement}(e)}catch(e){if(n=i(),!n)throw e;console.warn("Native DOM parser encountered an error during parse",e)}else n=i();return o||(o=n(e,r.nodeHtmlParserConfig)),l("parse"),o},t.getChildNodes=function(e){if(null==(t=e.childNodes)&&"function"!=typeof t[Symbol.iterator])return e.childNodes;var t;const n=[];return e.childNodes.forEach((e=>n.push(e))),n},t.perfStart=a,t.perfStop=l},819:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getMarkdownForHtmlNodes=t.Visitor=void 0;const r=n(5101),o=n(3525),i=n(6183),a=n(2852);class l{constructor(e,t,n){this.instance=e,this.rootNode=t,this.fileName=n,this.nodeMetadata=new Map,this.urlDefinitions=[],this.result={text:"",trailingNewlineStats:{whitespace:0,newLines:0}},this.options=e.options,this.optimizeTree(t),this.visitNode(t)}addOrGetUrlDefinition(e){let t=this.urlDefinitions.findIndex((t=>t===e));return t<0&&(t=this.urlDefinitions.push(e)-1),t+1}appendResult(e,t,n){if(!e&&void 0===t)return;const{result:r}=this;void 0!==t&&(r.text=r.text.substr(0,t)),r.text+=(n&&r.text.slice(-1)===e[0]?" ":"")+e,r.trailingNewlineStats=(0,o.getTrailingWhitespaceInfo)(r.text)}appendNewlines(e){const{newLines:t}=this.result.trailingNewlineStats;this.appendResult("\n".repeat(Math.max(0,+e-t)))}optimizeTree(e){(0,o.perfStart)("Optimize tree");const{translators:t}=this.instance;!function e(n){let i=!1;if((0,r.isTextNode)(n)||(0,r.isElementNode)(n)&&a.contentlessElements.includes(n.tagName))i=!0;else{const r=(0,o.getChildNodes)(n);if(r.length)for(const t of r)i?e(t):i=e(t);else{const e=t[n.tagName];((null==e?void 0:e.preserveIfEmpty)||"function"==typeof e)&&(i=!0)}}return n.preserve=i}(e),(0,o.perfStop)("Optimize tree")}processText(e,t){let n=e;if((null==t?void 0:t.preserveWhitespace)||(n=n.replace(/\s+/g," ")),null==t?void 0:t.noEscape)return n;const{lineStartEscape:r,globalEscape:o,textReplace:i}=this.options;if(n=n.replace(o[0],o[1]).replace(r[0],r[1]),i)for(const[e,t]of i)n=n.replace(e,t);return n}visitNode(e,t,n){var a,l,s,u,c,d;const{result:f}=this;if(!e.preserve)return;if((0,r.isTextNode)(e))return e.wholeText&&(null!==(a=(c=e).text)&&void 0!==a||(c.text=e.wholeText),null!==(l=(d=e).trimmedText)&&void 0!==l||(d.trimmedText=(0,o.trimNewLines)(e.wholeText))),e.isWhitespace&&!(null==n?void 0:n.preserveWhitespace)?!f.text.length||f.trailingNewlineStats.whitespace>0?void 0:this.appendResult(" "):this.appendResult(this.processText((null==n?void 0:n.preserveWhitespace)?e.text:e.trimmedText,n));if(t||!(0,r.isElementNode)(e))return;const p=(null==n?void 0:n.translators)?n.translators[e.tagName]:this.instance.translators[e.tagName];switch(e.tagName){case"UL":case"OL":n=Object.assign(Object.assign({},n),{listItemNumber:0,listKind:e.tagName,indentLevel:(null!==(s=null==n?void 0:n.indentLevel)&&void 0!==s?s:-1)+1});break;case"LI":"OL"===(null==n?void 0:n.listKind)&&(n.listItemNumber=(null!==(u=n.listItemNumber)&&void 0!==u?u:0)+1);break;case"PRE":n=Object.assign(Object.assign({},n),{preserveWhitespace:!0});break;case"TABLE":n=Object.assign(Object.assign({},n),{tableMeta:{node:e}})}if(n&&this.nodeMetadata.set(e,n),!p){for(const r of(0,o.getChildNodes)(e))this.visitNode(r,t,n);return}let h,g;if((0,i.isTranslatorConfig)(p)?h=p:(g=(0,i.createTranslatorContext)(this,e,n,p.base),h=Object.assign(Object.assign({},p.base),p(g))),h.ignore)return;h.noEscape&&!(null==n?void 0:n.noEscape)&&(n=Object.assign(Object.assign({},n),{noEscape:h.noEscape}),this.nodeMetadata.set(e,n)),h.childTranslators&&h.childTranslators!==(null==n?void 0:n.translators)&&(n=Object.assign(Object.assign({},n),{translators:h.childTranslators}),this.nodeMetadata.set(e,n));const m=f.text.length;if(h.surroundingNewlines&&this.appendNewlines(+h.surroundingNewlines),h.prefix&&this.appendResult(h.prefix),"string"==typeof h.content)this.appendResult(h.content,void 0,h.spaceIfRepeatingChar);else{const t=f.text.length;for(const t of(0,o.getChildNodes)(e))this.visitNode(t,!1===h.recurse,n);if(h.postprocess){const r=h.postprocess(Object.assign(Object.assign({},g||(0,i.createTranslatorContext)(this,e,n)),{content:f.text.substr(t)}));if(r===i.PostProcessResult.RemoveNode)return"LI"===e.tagName&&(null==n?void 0:n.listItemNumber)&&--n.listItemNumber,this.appendResult("",m);"string"==typeof r&&this.appendResult(r,t,h.spaceIfRepeatingChar)}}h.postfix&&this.appendResult(h.postfix),h.surroundingNewlines&&this.appendNewlines(+h.surroundingNewlines)}}t.Visitor=l,t.getMarkdownForHtmlNodes=function(e,t,n){(0,o.perfStart)("walk");const r=new l(e,t,n);let i=r.result.text;(0,o.perfStop)("walk"),e.options.useLinkReferenceDefinitions&&(/[^\r\n]/.test(i.slice(-1))&&(i+="\n"),r.urlDefinitions.forEach(((e,t)=>{i+=`\n[${t+1}]: ${e}`})));const{maxConsecutiveNewlines:a}=e.options;return a&&(i=i.replace(new RegExp(String.raw`(?:\r?\n\s*)+((?:\r?\n\s*){${a}})`,"g"),"$1")),(0,o.trimNewLines)(i)}},1937:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return e[e.length-1]}},42:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.NodeType=t.TextNode=t.Node=t.valid=t.CommentNode=t.HTMLElement=t.parse=void 0;var o=r(n(4113));t.CommentNode=o.default;var i=r(n(9234));t.HTMLElement=i.default;var a=r(n(8869));t.Node=a.default;var l=r(n(6218));t.TextNode=l.default;var s=r(n(2751));t.NodeType=s.default;var u=r(n(5349)),c=r(n(6692));function d(e,t){return void 0===t&&(t={}),(0,u.default)(e,t)}t.valid=c.default,t.default=d,t.parse=d,d.parse=u.default,d.HTMLElement=i.default,d.CommentNode=o.default,d.valid=c.default,d.Node=a.default,d.TextNode=l.default,d.NodeType=s.default},5798:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});var o=r(n(2751));function i(e){return e&&e.nodeType===o.default.ELEMENT_NODE}function a(e,t){return i(e)?e.getAttribute(t):void 0}function l(e){return e&&e.childNodes}function s(e){return e?e.parentNode:null}t.default={isTag:i,getAttributeValue:a,getName:function(e){return(e&&e.rawTagName||"").toLowerCase()},getChildren:l,getParent:s,getText:function(e){return e.text},removeSubsets:function(e){for(var t,n,r,o=e.length;--o>-1;){for(t=n=e[o],e[o]=null,r=!0;n;){if(e.indexOf(n)>-1){r=!1,e.splice(o,1);break}n=s(n)}r&&(e[o]=t)}return e},existsOne:function e(t,n){return n.some((function(n){return!!i(n)&&(t(n)||e(t,l(n)))}))},getSiblings:function(e){var t=s(e);return t?l(t):[]},hasAttrib:function(e,t){return void 0!==a(e,t)},findOne:function e(t,n){for(var r=null,o=0,i=null==n?void 0:n.length;o<i&&!r;o++){var a=n[o];if(t(a))r=a;else{var s=l(a);s&&s.length>0&&(r=e(t,s))}}return r},findAll:function e(t,n){for(var r=[],o=0,a=n.length;o<a;o++)if(i(n[o])){t(n[o])&&r.push(n[o]);var s=l(n[o]);s&&(r=r.concat(e(t,s)))}return r}}},4113:function(e,t,n){"use strict";var r,o=this&&this.__extends||(r=function(e,t){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},r(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),i=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});var a=i(n(8869)),l=i(n(2751)),s=function(e){function t(t,n,r){var o=e.call(this,n,r)||this;return o.rawText=t,o.nodeType=l.default.COMMENT_NODE,o}return o(t,e),t.prototype.clone=function(){return new t(this.rawText,null)},Object.defineProperty(t.prototype,"text",{get:function(){return this.rawText},enumerable:!1,configurable:!0}),t.prototype.toString=function(){return"\x3c!--".concat(this.rawText,"--\x3e")},t}(a.default);t.default=s},9234:function(e,t,n){"use strict";var r,o=this&&this.__extends||(r=function(e,t){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},r(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),i=this&&this.__assign||function(){return i=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},i.apply(this,arguments)},a=this&&this.__spreadArray||function(e,t,n){if(n||2===arguments.length)for(var r,o=0,i=t.length;o<i;o++)!r&&o in t||(r||(r=Array.prototype.slice.call(t,0,o)),r[o]=t[o]);return e.concat(r||Array.prototype.slice.call(t))},l=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.parse=t.base_parse=void 0;var s=n(8062),u=l(n(361)),c=l(n(1937)),d=l(n(5798)),f=l(n(6312)),p=l(n(4113)),h=l(n(8869)),g=l(n(6218)),m=l(n(2751));function v(e){return JSON.parse(JSON.stringify(u.default.decode(e)))}var b=new Set;!function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];for(var n=function(e){for(var t=0;t<e.length;t++){var n=e[t];b.add(n),b.add(n.toUpperCase())}},r=0,o=e;r<o.length;r++){var i=o[r];n(i)}}(["h1","h2","h3","h4","h5","h6","header","hgroup"],["details","dialog","dd","div","dt"],["fieldset","figcaption","figure","footer","form"],["table","td","tr"],["address","article","aside","blockquote","br","hr","li","main","nav","ol","p","pre","section","ul"]);var y=function(){function e(e,t){void 0===e&&(e=[]),void 0===t&&(t=function(){return null}),this._set=new Set(e),this._afterUpdate=t}return e.prototype._validate=function(e){if(/\s/.test(e))throw new Error("DOMException in DOMTokenList.add: The token '".concat(e,"' contains HTML space characters, which are not valid in tokens."))},e.prototype.add=function(e){this._validate(e),this._set.add(e),this._afterUpdate(this)},e.prototype.replace=function(e,t){this._validate(t),this._set.delete(e),this._set.add(t),this._afterUpdate(this)},e.prototype.remove=function(e){this._set.delete(e)&&this._afterUpdate(this)},e.prototype.toggle=function(e){this._validate(e),this._set.has(e)?this._set.delete(e):this._set.add(e),this._afterUpdate(this)},e.prototype.contains=function(e){return this._set.has(e)},Object.defineProperty(e.prototype,"length",{get:function(){return this._set.size},enumerable:!1,configurable:!0}),e.prototype.values=function(){return this._set.values()},Object.defineProperty(e.prototype,"value",{get:function(){return Array.from(this._set.values())},enumerable:!1,configurable:!0}),e.prototype.toString=function(){return Array.from(this._set.values()).join(" ")},e}(),A=function(e){function t(t,n,r,o,i,a,l){void 0===r&&(r=""),void 0===a&&(a=new f.default),void 0===l&&(l={});var s=e.call(this,o,i)||this;if(s.rawAttrs=r,s.voidTag=a,s.nodeType=m.default.ELEMENT_NODE,s.rawTagName=t,s.rawAttrs=r||"",s.id=n.id||"",s.childNodes=[],s._parseOptions=l,s.classList=new y(n.class?n.class.split(/\s+/):[],(function(e){return s.setAttribute("class",e.toString())})),n.id&&(r||(s.rawAttrs='id="'.concat(n.id,'"'))),n.class&&!r){var u='class="'.concat(s.classList.toString(),'"');s.rawAttrs?s.rawAttrs+=" ".concat(u):s.rawAttrs=u}return s}return o(t,e),t.prototype.quoteAttribute=function(e){return null==e?"null":JSON.stringify(e.replace(/"/g,"&quot;"))},t.prototype.removeChild=function(e){return this.childNodes=this.childNodes.filter((function(t){return t!==e})),this},t.prototype.exchangeChild=function(e,t){var n=this.childNodes;return this.childNodes=n.map((function(n){return n===e?t:n})),this},Object.defineProperty(t.prototype,"tagName",{get:function(){return this.rawTagName?this.rawTagName.toUpperCase():this.rawTagName},set:function(e){this.rawTagName=e.toLowerCase()},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"localName",{get:function(){return this.rawTagName.toLowerCase()},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"isVoidElement",{get:function(){return this.voidTag.isVoidElement(this.localName)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"rawText",{get:function(){return this.childNodes.reduce((function(e,t){return e+t.rawText}),"")},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"textContent",{get:function(){return v(this.rawText)},set:function(e){var t=[new g.default(e,this)];this.childNodes=t},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"text",{get:function(){return v(this.rawText)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"structuredText",{get:function(){var e=[],t=[e];return function n(r){if(r.nodeType===m.default.ELEMENT_NODE)b.has(r.rawTagName)?(e.length>0&&t.push(e=[]),r.childNodes.forEach(n),e.length>0&&t.push(e=[])):r.childNodes.forEach(n);else if(r.nodeType===m.default.TEXT_NODE)if(r.isWhitespace)e.prependWhitespace=!0;else{var o=r.trimmedText;e.prependWhitespace&&(o=" ".concat(o),e.prependWhitespace=!1),e.push(o)}}(this),t.map((function(e){return e.join("").replace(/\s{2,}/g," ")})).join("\n").replace(/\s+$/,"")},enumerable:!1,configurable:!0}),t.prototype.toString=function(){var e=this.rawTagName;if(e){var t=this.rawAttrs?" ".concat(this.rawAttrs):"";return this.voidTag.formatNode(e,t,this.innerHTML)}return this.innerHTML},Object.defineProperty(t.prototype,"innerHTML",{get:function(){return this.childNodes.map((function(e){return e.toString()})).join("")},set:function(e){var t=T(e,this._parseOptions),n=t.childNodes.length?t.childNodes:[new g.default(e,this)];D(n,this),D(this.childNodes,null),this.childNodes=n},enumerable:!1,configurable:!0}),t.prototype.set_content=function(e,t){if(void 0===t&&(t={}),e instanceof h.default)e=[e];else if("string"==typeof e){var n=T(e,t=i(i({},this._parseOptions),t));e=n.childNodes.length?n.childNodes:[new g.default(n.innerHTML,this)]}return D(this.childNodes,null),D(e,this),this.childNodes=e,this},t.prototype.replaceWith=function(){for(var e=this,t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];var r=this.parentNode,o=t.map((function(t){if(t instanceof h.default)return[t];if("string"==typeof t){var n=T(t,e._parseOptions);return n.childNodes.length?n.childNodes:[new g.default(t,e)]}return[]})).flat(),i=r.childNodes.findIndex((function(t){return t===e}));return D([this],null),r.childNodes=a(a(a([],r.childNodes.slice(0,i),!0),D(o,r),!0),r.childNodes.slice(i+1),!0),this},Object.defineProperty(t.prototype,"outerHTML",{get:function(){return this.toString()},enumerable:!1,configurable:!0}),t.prototype.trimRight=function(e){for(var t=0;t<this.childNodes.length;t++){var n=this.childNodes[t];if(n.nodeType===m.default.ELEMENT_NODE)n.trimRight(e);else{var r=n.rawText.search(e);r>-1&&(n.rawText=n.rawText.substr(0,r),this.childNodes.length=t+1)}}return this},Object.defineProperty(t.prototype,"structure",{get:function(){var e=[],t=0;function n(n){e.push(" ".repeat(t)+n)}return function e(r){var o=r.id?"#".concat(r.id):"",i=r.classList.length?".".concat(r.classList.value.join(".")):"";n("".concat(r.rawTagName).concat(o).concat(i)),t++,r.childNodes.forEach((function(t){t.nodeType===m.default.ELEMENT_NODE?e(t):t.nodeType===m.default.TEXT_NODE&&(t.isWhitespace||n("#text"))})),t--}(this),e.join("\n")},enumerable:!1,configurable:!0}),t.prototype.removeWhitespace=function(){var e=this,t=0;return this.childNodes.forEach((function(n){if(n.nodeType===m.default.TEXT_NODE){if(n.isWhitespace)return;n.rawText=n.trimmedRawText}else n.nodeType===m.default.ELEMENT_NODE&&n.removeWhitespace();e.childNodes[t++]=n})),this.childNodes.length=t,this},t.prototype.querySelectorAll=function(e){return(0,s.selectAll)(e,this,{xmlMode:!0,adapter:d.default})},t.prototype.querySelector=function(e){return(0,s.selectOne)(e,this,{xmlMode:!0,adapter:d.default})},t.prototype.getElementsByTagName=function(e){for(var t=e.toUpperCase(),n=[],r=[],o=this,i=0;void 0!==i;){var a=void 0;do{a=o.childNodes[i++]}while(i<o.childNodes.length&&void 0===a);void 0!==a?a.nodeType===m.default.ELEMENT_NODE&&("*"!==e&&a.tagName!==t||n.push(a),a.childNodes.length>0&&(r.push(i),o=a,i=0)):(o=o.parentNode,i=r.pop())}return n},t.prototype.getElementById=function(e){for(var t=[],n=this,r=0;void 0!==r;){var o=void 0;do{o=n.childNodes[r++]}while(r<n.childNodes.length&&void 0===o);if(void 0!==o){if(o.nodeType===m.default.ELEMENT_NODE){if(o.id===e)return o;o.childNodes.length>0&&(t.push(r),n=o,r=0)}}else n=n.parentNode,r=t.pop()}return null},t.prototype.closest=function(e){var t=new Map,n=this,r=null;function o(e,n){for(var r=null,i=0,a=n.length;i<a&&!r;i++){var l=n[i];if(e(l))r=l;else{var s=t.get(l);s&&(r=o(e,[s]))}}return r}for(;n;)t.set(n,r),r=n,n=n.parentNode;for(n=this;n;){var a=(0,s.selectOne)(e,n,{xmlMode:!0,adapter:i(i({},d.default),{getChildren:function(e){var n=t.get(e);return n&&[n]},getSiblings:function(e){return[e]},findOne:o,findAll:function(){return[]}})});if(a)return a;n=n.parentNode}return null},t.prototype.appendChild=function(e){return e.remove(),this.childNodes.push(e),e.parentNode=this,e},Object.defineProperty(t.prototype,"firstChild",{get:function(){return this.childNodes[0]},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"lastChild",{get:function(){return(0,c.default)(this.childNodes)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"attrs",{get:function(){if(this._attrs)return this._attrs;this._attrs={};var e=this.rawAttributes;for(var t in e){var n=e[t]||"";this._attrs[t.toLowerCase()]=v(n)}return this._attrs},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"attributes",{get:function(){var e={},t=this.rawAttributes;for(var n in t){var r=t[n]||"";e[n]=v(r)}return e},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"rawAttributes",{get:function(){if(this._rawAttrs)return this._rawAttrs;var e={};if(this.rawAttrs)for(var t=/([a-zA-Z()[\]#@$.?][a-zA-Z0-9-_:()[\]#]*)(?:\s*=\s*((?:'[^']*')|(?:"[^"]*")|\S+))?/g,n=void 0;n=t.exec(this.rawAttrs);){var r=n[1],o=n[2]||null;!o||"'"!==o[0]&&'"'!==o[0]||(o=o.slice(1,o.length-1)),e[r]=o}return this._rawAttrs=e,e},enumerable:!1,configurable:!0}),t.prototype.removeAttribute=function(e){var t=this.rawAttributes;return delete t[e],this._attrs&&delete this._attrs[e],this.rawAttrs=Object.keys(t).map((function(e){var n=JSON.stringify(t[e]);return void 0===n||"null"===n?e:"".concat(e,"=").concat(n)})).join(" "),"id"===e&&(this.id=""),this},t.prototype.hasAttribute=function(e){return e.toLowerCase()in this.attrs},t.prototype.getAttribute=function(e){return this.attrs[e.toLowerCase()]},t.prototype.setAttribute=function(e,t){var n=this;if(arguments.length<2)throw new Error("Failed to execute 'setAttribute' on 'Element'");var r=e.toLowerCase(),o=this.rawAttributes;for(var i in o)if(i.toLowerCase()===r){e=i;break}return o[e]=String(t),this._attrs&&(this._attrs[r]=v(o[e])),this.rawAttrs=Object.keys(o).map((function(e){var t=n.quoteAttribute(o[e]);return"null"===t||'""'===t?e:"".concat(e,"=").concat(t)})).join(" "),"id"===e&&(this.id=t),this},t.prototype.setAttributes=function(e){var t=this;return this._attrs&&delete this._attrs,this._rawAttrs&&delete this._rawAttrs,this.rawAttrs=Object.keys(e).map((function(n){var r=e[n];return"null"===r||'""'===r?n:"".concat(n,"=").concat(t.quoteAttribute(String(r)))})).join(" "),this},t.prototype.insertAdjacentHTML=function(e,t){var n,r,o,i=this;if(arguments.length<2)throw new Error("2 arguments required");var l=T(t,this._parseOptions);if("afterend"===e){var s=this.parentNode.childNodes.findIndex((function(e){return e===i}));D(l.childNodes,this.parentNode),(n=this.parentNode.childNodes).splice.apply(n,a([s+1,0],l.childNodes,!1))}else if("afterbegin"===e)D(l.childNodes,this),(r=this.childNodes).unshift.apply(r,l.childNodes);else if("beforeend"===e)l.childNodes.forEach((function(e){i.appendChild(e)}));else{if("beforebegin"!==e)throw new Error("The value provided ('".concat(e,"') is not one of 'beforebegin', 'afterbegin', 'beforeend', or 'afterend'"));s=this.parentNode.childNodes.findIndex((function(e){return e===i})),D(l.childNodes,this.parentNode),(o=this.parentNode.childNodes).splice.apply(o,a([s,0],l.childNodes,!1))}return this},Object.defineProperty(t.prototype,"nextSibling",{get:function(){if(this.parentNode){for(var e=this.parentNode.childNodes,t=0;t<e.length;)if(this===e[t++])return e[t]||null;return null}},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"nextElementSibling",{get:function(){if(this.parentNode){for(var e=this.parentNode.childNodes,n=0,r=!1;n<e.length;){var o=e[n++];if(r){if(o instanceof t)return o||null}else this===o&&(r=!0)}return null}},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"previousSibling",{get:function(){if(this.parentNode){for(var e=this.parentNode.childNodes,t=e.length;t>0;)if(this===e[--t])return e[t-1]||null;return null}},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"previousElementSibling",{get:function(){if(this.parentNode){for(var e=this.parentNode.childNodes,n=e.length,r=!1;n>0;){var o=e[--n];if(r){if(o instanceof t)return o||null}else this===o&&(r=!0)}return null}},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"classNames",{get:function(){return this.classList.toString()},enumerable:!1,configurable:!0}),t.prototype.clone=function(){return T(this.toString(),this._parseOptions).firstChild},t}(h.default);t.default=A;var w=/<!--[\s\S]*?-->|<(\/?)([a-zA-Z][-.:0-9_a-zA-Z]*)((?:\s+[^>]*?(?:(?:'[^']*')|(?:"[^"]*"))?)*)\s*(\/?)>/g,x=/(?:^|\s)(id|class)\s*=\s*((?:'[^']*')|(?:"[^"]*")|\S+)/gi,E={area:!0,AREA:!0,base:!0,BASE:!0,br:!0,BR:!0,col:!0,COL:!0,hr:!0,HR:!0,img:!0,IMG:!0,input:!0,INPUT:!0,link:!0,LINK:!0,meta:!0,META:!0,source:!0,SOURCE:!0,embed:!0,EMBED:!0,param:!0,PARAM:!0,track:!0,TRACK:!0,wbr:!0,WBR:!0},k={li:{li:!0,LI:!0},LI:{li:!0,LI:!0},p:{p:!0,div:!0,P:!0,DIV:!0},P:{p:!0,div:!0,P:!0,DIV:!0},b:{div:!0,DIV:!0},B:{div:!0,DIV:!0},td:{td:!0,th:!0,TD:!0,TH:!0},TD:{td:!0,th:!0,TD:!0,TH:!0},th:{td:!0,th:!0,TD:!0,TH:!0},TH:{td:!0,th:!0,TD:!0,TH:!0},h1:{h1:!0,H1:!0},H1:{h1:!0,H1:!0},h2:{h2:!0,H2:!0},H2:{h2:!0,H2:!0},h3:{h3:!0,H3:!0},H3:{h3:!0,H3:!0},h4:{h4:!0,H4:!0},H4:{h4:!0,H4:!0},h5:{h5:!0,H5:!0},H5:{h5:!0,H5:!0},h6:{h6:!0,H6:!0},H6:{h6:!0,H6:!0}},S={li:{ul:!0,ol:!0,UL:!0,OL:!0},LI:{ul:!0,ol:!0,UL:!0,OL:!0},a:{div:!0,DIV:!0},A:{div:!0,DIV:!0},b:{div:!0,DIV:!0},B:{div:!0,DIV:!0},i:{div:!0,DIV:!0},I:{div:!0,DIV:!0},p:{div:!0,DIV:!0},P:{div:!0,DIV:!0},td:{tr:!0,table:!0,TR:!0,TABLE:!0},TD:{tr:!0,table:!0,TR:!0,TABLE:!0},th:{tr:!0,table:!0,TR:!0,TABLE:!0},TH:{tr:!0,table:!0,TR:!0,TABLE:!0}},_="documentfragmentcontainer";function C(e,t){var n,r;void 0===t&&(t={});var o=new f.default(null===(n=null==t?void 0:t.voidTag)||void 0===n?void 0:n.closingSlash,null===(r=null==t?void 0:t.voidTag)||void 0===r?void 0:r.tags),i=t.blockTextElements||{script:!0,noscript:!0,style:!0,pre:!0},a=Object.keys(i),l=a.map((function(e){return new RegExp("^".concat(e,"$"),"i")})),s=a.filter((function(e){return i[e]})).map((function(e){return new RegExp("^".concat(e,"$"),"i")}));function u(e){return s.some((function(t){return t.test(e)}))}function d(e){return l.some((function(t){return t.test(e)}))}var h,m=function(e,t){return[e-R,t-R]},v=new A(null,{},"",null,[0,e.length],o,t),b=v,y=[v],C=-1,T=void 0;e="<".concat(_,">").concat(e,"</").concat(_,">");for(var D=t.lowerCaseTagName,L=t.fixNestedATags,O=e.length-(_.length+2),R=_.length+2;h=w.exec(e);){var P=h[0],M=h[1],N=h[2],B=h[3],I=h[4],j=P.length,F=w.lastIndex-j,z=w.lastIndex;if(C>-1&&C+j<z){var H=e.substring(C,F);b.appendChild(new g.default(H,b,m(C,F)))}if(C=w.lastIndex,N!==_)if("!"!==P[1]){if(D&&(N=N.toLowerCase()),!M){for(var q={},U=void 0;U=x.exec(B);){var W=U[1],V=U[2],Q="'"===V[0]||'"'===V[0];q[W.toLowerCase()]=Q?V.slice(1,V.length-1):V}var G=b.rawTagName;!I&&k[G]&&k[G][N]&&(y.pop(),b=(0,c.default)(y)),!L||"a"!==N&&"A"!==N||(void 0!==T&&(y.splice(T),b=(0,c.default)(y)),T=y.length);var $=w.lastIndex,Y=$-j;if(b=b.appendChild(new A(N,q,B.slice(1),null,m(Y,$),o,t)),y.push(b),d(N)){var Z="</".concat(N,">"),K=D?e.toLocaleLowerCase().indexOf(Z,w.lastIndex):e.indexOf(Z,w.lastIndex),J=-1===K?O:K;u(N)&&(H=e.substring($,J)).length>0&&/\S/.test(H)&&b.appendChild(new g.default(H,b,m($,J))),-1===K?C=w.lastIndex=e.length+1:(C=w.lastIndex=K+Z.length,M="/")}}if(M||I||E[N])for(;;){if(null==T||"a"!==N&&"A"!==N||(T=void 0),b.rawTagName===N){b.range[1]=m(-1,Math.max(C,z))[1],y.pop(),b=(0,c.default)(y);break}if(G=b.tagName,!S[G]||!S[G][N])break;y.pop(),b=(0,c.default)(y)}}else if(t.comment){H=e.substring(F+4,z-3);b.appendChild(new p.default(H,b,m(F,z)))}}return y}function T(e,t){void 0===t&&(t={});for(var n=C(e,t),r=n[0],o=function(){var e=n.pop(),r=(0,c.default)(n);e.parentNode&&e.parentNode.parentNode&&(e.parentNode===r&&e.tagName===r.tagName?!0!==t.parseNoneClosedTags&&(r.removeChild(e),e.childNodes.forEach((function(e){r.parentNode.appendChild(e)})),n.pop()):!0!==t.parseNoneClosedTags&&(r.removeChild(e),e.childNodes.forEach((function(e){r.appendChild(e)}))))};n.length>1;)o();return r}function D(e,t){return e.map((function(e){return e.parentNode=t,e}))}t.base_parse=C,t.parse=T},8869:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(361),o=function(){function e(e,t){void 0===e&&(e=null),this.parentNode=e,this.childNodes=[],Object.defineProperty(this,"range",{enumerable:!1,writable:!0,configurable:!0,value:null!=t?t:[-1,-1]})}return e.prototype.remove=function(){var e=this;if(this.parentNode){var t=this.parentNode.childNodes;this.parentNode.childNodes=t.filter((function(t){return e!==t})),this.parentNode=null}return this},Object.defineProperty(e.prototype,"innerText",{get:function(){return this.rawText},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"textContent",{get:function(){return(0,r.decode)(this.rawText)},set:function(e){this.rawText=(0,r.encode)(e)},enumerable:!1,configurable:!0}),e}();t.default=o},6218:function(e,t,n){"use strict";var r,o=this&&this.__extends||(r=function(e,t){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},r(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),i=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});var a=n(361),l=i(n(8869)),s=i(n(2751)),u=function(e){function t(t,n,r){var o=e.call(this,n,r)||this;return o.nodeType=s.default.TEXT_NODE,o._rawText=t,o}return o(t,e),t.prototype.clone=function(){return new t(this._rawText,null)},Object.defineProperty(t.prototype,"rawText",{get:function(){return this._rawText},set:function(e){this._rawText=e,this._trimmedRawText=void 0,this._trimmedText=void 0},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"trimmedRawText",{get:function(){return void 0!==this._trimmedRawText||(this._trimmedRawText=c(this.rawText)),this._trimmedRawText},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"trimmedText",{get:function(){return void 0!==this._trimmedText||(this._trimmedText=c(this.text)),this._trimmedText},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"text",{get:function(){return(0,a.decode)(this.rawText)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"isWhitespace",{get:function(){return/^(\s|&nbsp;)*$/.test(this.rawText)},enumerable:!1,configurable:!0}),t.prototype.toString=function(){return this.rawText},t}(l.default);function c(e){for(var t,n,r=0;r>=0&&r<e.length;)/\S/.test(e[r])&&(void 0===t?(t=r,r=e.length):(n=r,r=void 0)),void 0===t?r++:r--;void 0===t&&(t=0),void 0===n&&(n=e.length-1);var o=t>0&&/[^\S\r\n]/.test(e[t-1]),i=n<e.length-1&&/[^\S\r\n]/.test(e[n+1]);return(o?" ":"")+e.slice(t,n+1)+(i?" ":"")}t.default=u},2751:(e,t)=>{"use strict";var n;Object.defineProperty(t,"__esModule",{value:!0}),function(e){e[e.ELEMENT_NODE=1]="ELEMENT_NODE",e[e.TEXT_NODE=3]="TEXT_NODE",e[e.COMMENT_NODE=8]="COMMENT_NODE"}(n||(n={})),t.default=n},5349:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=n(9234);Object.defineProperty(t,"default",{enumerable:!0,get:function(){return r.parse}})},6692:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(9234);t.default=function(e,t){void 0===t&&(t={});var n=(0,r.base_parse)(e,t);return Boolean(1===n.length)}},6312:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=function(){function e(e,t){void 0===e&&(e=!1),this.addClosingSlash=e,Array.isArray(t)?this.voidTags=t.reduce((function(e,t){return e.add(t.toLowerCase())}),new Set):this.voidTags=["area","base","br","col","embed","hr","img","input","link","meta","param","source","track","wbr"].reduce((function(e,t){return e.add(t)}),new Set)}return e.prototype.formatNode=function(e,t,n){var r=this.addClosingSlash,o=r&&t&&!t.endsWith(" ")?" ":"",i=r?"".concat(o,"/"):"";return this.isVoidElement(e.toLowerCase())?"<".concat(e).concat(t).concat(i,">"):"<".concat(e).concat(t,">").concat(n,"</").concat(e,">")},e.prototype.isVoidElement=function(e){return this.voidTags.has(e)},e}();t.default=n},4062:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.compile=void 0;var r=n(1365);t.compile=function(e){var t=e[0],n=e[1]-1;if(n<0&&t<=0)return r.falseFunc;if(-1===t)return function(e){return e<=n};if(0===t)return function(e){return e===n};if(1===t)return n<0?r.trueFunc:function(e){return e>=n};var o=Math.abs(t),i=(n%o+o)%o;return t>1?function(e){return e>=n&&e%o===i}:function(e){return e<=n&&e%o===i}}},7346:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.compile=t.parse=void 0;var r=n(3950);Object.defineProperty(t,"parse",{enumerable:!0,get:function(){return r.parse}});var o=n(4062);Object.defineProperty(t,"compile",{enumerable:!0,get:function(){return o.compile}}),t.default=function(e){return(0,o.compile)((0,r.parse)(e))}},3950:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.parse=void 0;var n=new Set([9,10,12,13,32]),r="0".charCodeAt(0),o="9".charCodeAt(0);t.parse=function(e){if("even"===(e=e.trim().toLowerCase()))return[2,0];if("odd"===e)return[2,1];var t=0,i=0,a=s(),l=u();if(t<e.length&&"n"===e.charAt(t)&&(t++,i=a*(null!=l?l:1),c(),t<e.length?(a=s(),c(),l=u()):a=l=0),null===l||t<e.length)throw new Error("n-th rule couldn't be parsed ('"+e+"')");return[i,a*l];function s(){return"-"===e.charAt(t)?(t++,-1):("+"===e.charAt(t)&&t++,1)}function u(){for(var n=t,i=0;t<e.length&&e.charCodeAt(t)>=r&&e.charCodeAt(t)<=o;)i=10*i+(e.charCodeAt(t)-r),t++;return t===n?null:i}function c(){for(;t<e.length&&n.has(e.charCodeAt(t));)t++}}},8262:(e,t,n)=>{"use strict";var r=n(3586);function o(){}function i(){}i.resetWarningCache=o,e.exports=function(){function e(e,t,n,o,i,a){if(a!==r){var l=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 l.name="Invariant Violation",l}}function t(){return e}e.isRequired=e;var n={array:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:i,resetWarningCache:o};return n.PropTypes=n,n}},5440:(e,t,n)=>{e.exports=n(8262)()},3586:e=>{"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},300:(e,t,n)=>{"use strict";n.r(t),n.d(t,{decode:()=>v,default:()=>w,encode:()=>b,toASCII:()=>A,toUnicode:()=>y,ucs2decode:()=>p,ucs2encode:()=>h});const r=2147483647,o=36,i=/^xn--/,a=/[^\0-\x7E]/,l=/[\x2E\u3002\uFF0E\uFF61]/g,s={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},u=Math.floor,c=String.fromCharCode;function d(e){throw new RangeError(s[e])}function f(e,t){const n=e.split("@");let r="";n.length>1&&(r=n[0]+"@",e=n[1]);const o=function(e,t){const n=[];let r=e.length;for(;r--;)n[r]=t(e[r]);return n}((e=e.replace(l,".")).split("."),t).join(".");return r+o}function p(e){const t=[];let n=0;const r=e.length;for(;n<r;){const o=e.charCodeAt(n++);if(o>=55296&&o<=56319&&n<r){const r=e.charCodeAt(n++);56320==(64512&r)?t.push(((1023&o)<<10)+(1023&r)+65536):(t.push(o),n--)}else t.push(o)}return t}const h=e=>String.fromCodePoint(...e),g=function(e,t){return e+22+75*(e<26)-((0!=t)<<5)},m=function(e,t,n){let r=0;for(e=n?u(e/700):e>>1,e+=u(e/t);e>455;r+=o)e=u(e/35);return u(r+36*e/(e+38))},v=function(e){const t=[],n=e.length;let i=0,a=128,l=72,s=e.lastIndexOf("-");s<0&&(s=0);for(let n=0;n<s;++n)e.charCodeAt(n)>=128&&d("not-basic"),t.push(e.charCodeAt(n));for(let f=s>0?s+1:0;f<n;){let s=i;for(let t=1,a=o;;a+=o){f>=n&&d("invalid-input");const s=(c=e.charCodeAt(f++))-48<10?c-22:c-65<26?c-65:c-97<26?c-97:o;(s>=o||s>u((r-i)/t))&&d("overflow"),i+=s*t;const p=a<=l?1:a>=l+26?26:a-l;if(s<p)break;const h=o-p;t>u(r/h)&&d("overflow"),t*=h}const p=t.length+1;l=m(i-s,p,0==s),u(i/p)>r-a&&d("overflow"),a+=u(i/p),i%=p,t.splice(i++,0,a)}var c;return String.fromCodePoint(...t)},b=function(e){const t=[];let n=(e=p(e)).length,i=128,a=0,l=72;for(const n of e)n<128&&t.push(c(n));let s=t.length,f=s;for(s&&t.push("-");f<n;){let n=r;for(const t of e)t>=i&&t<n&&(n=t);const p=f+1;n-i>u((r-a)/p)&&d("overflow"),a+=(n-i)*p,i=n;for(const n of e)if(n<i&&++a>r&&d("overflow"),n==i){let e=a;for(let n=o;;n+=o){const r=n<=l?1:n>=l+26?26:n-l;if(e<r)break;const i=e-r,a=o-r;t.push(c(g(r+i%a,0))),e=u(i/a)}t.push(c(g(e,0))),l=m(a,p,f==s),a=0,++f}++a,++i}return t.join("")},y=function(e){return f(e,(function(e){return i.test(e)?v(e.slice(4).toLowerCase()):e}))},A=function(e){return f(e,(function(e){return a.test(e)?"xn--"+b(e):e}))},w={version:"2.1.0",ucs2:{decode:p,encode:h},decode:v,encode:b,toASCII:A,toUnicode:y}},2967:(e,t,n)=>{"use strict";var r=n(2784),o=n(4616);function i(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,n=1;n<arguments.length;n++)t+="&args[]="+encodeURIComponent(arguments[n]);return"Minified React error #"+e+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var a=new Set,l={};function s(e,t){u(e,t),u(e+"Capture",t)}function u(e,t){for(l[e]=t,e=0;e<t.length;e++)a.add(t[e])}var c=!("undefined"==typeof window||void 0===window.document||void 0===window.document.createElement),d=Object.prototype.hasOwnProperty,f=/^[:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD][:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\-.0-9\u00B7\u0300-\u036F\u203F-\u2040]*$/,p={},h={};function g(e,t,n,r,o,i,a){this.acceptsBooleans=2===t||3===t||4===t,this.attributeName=r,this.attributeNamespace=o,this.mustUseProperty=n,this.propertyName=e,this.type=t,this.sanitizeURL=i,this.removeEmptyString=a}var m={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach((function(e){m[e]=new g(e,0,!1,e,null,!1,!1)})),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach((function(e){var t=e[0];m[t]=new g(t,1,!1,e[1],null,!1,!1)})),["contentEditable","draggable","spellCheck","value"].forEach((function(e){m[e]=new g(e,2,!1,e.toLowerCase(),null,!1,!1)})),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach((function(e){m[e]=new g(e,2,!1,e,null,!1,!1)})),"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach((function(e){m[e]=new g(e,3,!1,e.toLowerCase(),null,!1,!1)})),["checked","multiple","muted","selected"].forEach((function(e){m[e]=new g(e,3,!0,e,null,!1,!1)})),["capture","download"].forEach((function(e){m[e]=new g(e,4,!1,e,null,!1,!1)})),["cols","rows","size","span"].forEach((function(e){m[e]=new g(e,6,!1,e,null,!1,!1)})),["rowSpan","start"].forEach((function(e){m[e]=new g(e,5,!1,e.toLowerCase(),null,!1,!1)}));var v=/[\-:]([a-z])/g;function b(e){return e[1].toUpperCase()}function y(e,t,n,r){var o=m.hasOwnProperty(t)?m[t]:null;(null!==o?0!==o.type:r||!(2<t.length)||"o"!==t[0]&&"O"!==t[0]||"n"!==t[1]&&"N"!==t[1])&&(function(e,t,n,r){if(null==t||function(e,t,n,r){if(null!==n&&0===n.type)return!1;switch(typeof t){case"function":case"symbol":return!0;case"boolean":return!r&&(null!==n?!n.acceptsBooleans:"data-"!==(e=e.toLowerCase().slice(0,5))&&"aria-"!==e);default:return!1}}(e,t,n,r))return!0;if(r)return!1;if(null!==n)switch(n.type){case 3:return!t;case 4:return!1===t;case 5:return isNaN(t);case 6:return isNaN(t)||1>t}return!1}(t,n,o,r)&&(n=null),r||null===o?function(e){return!!d.call(h,e)||!d.call(p,e)&&(f.test(e)?h[e]=!0:(p[e]=!0,!1))}(t)&&(null===n?e.removeAttribute(t):e.setAttribute(t,""+n)):o.mustUseProperty?e[o.propertyName]=null===n?3!==o.type&&"":n:(t=o.attributeName,r=o.attributeNamespace,null===n?e.removeAttribute(t):(n=3===(o=o.type)||4===o&&!0===n?"":""+n,r?e.setAttributeNS(r,t,n):e.setAttribute(t,n))))}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach((function(e){var t=e.replace(v,b);m[t]=new g(t,1,!1,e,null,!1,!1)})),"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach((function(e){var t=e.replace(v,b);m[t]=new g(t,1,!1,e,"http://www.w3.org/1999/xlink",!1,!1)})),["xml:base","xml:lang","xml:space"].forEach((function(e){var t=e.replace(v,b);m[t]=new g(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)})),["tabIndex","crossOrigin"].forEach((function(e){m[e]=new g(e,1,!1,e.toLowerCase(),null,!1,!1)})),m.xlinkHref=new g("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach((function(e){m[e]=new g(e,1,!1,e.toLowerCase(),null,!0,!0)}));var A=r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,w=Symbol.for("react.element"),x=Symbol.for("react.portal"),E=Symbol.for("react.fragment"),k=Symbol.for("react.strict_mode"),S=Symbol.for("react.profiler"),_=Symbol.for("react.provider"),C=Symbol.for("react.context"),T=Symbol.for("react.forward_ref"),D=Symbol.for("react.suspense"),L=Symbol.for("react.suspense_list"),O=Symbol.for("react.memo"),R=Symbol.for("react.lazy");Symbol.for("react.scope"),Symbol.for("react.debug_trace_mode");var P=Symbol.for("react.offscreen");Symbol.for("react.legacy_hidden"),Symbol.for("react.cache"),Symbol.for("react.tracing_marker");var M=Symbol.iterator;function N(e){return null===e||"object"!=typeof e?null:"function"==typeof(e=M&&e[M]||e["@@iterator"])?e:null}var B,I=Object.assign;function j(e){if(void 0===B)try{throw Error()}catch(e){var t=e.stack.trim().match(/\n( *(at )?)/);B=t&&t[1]||""}return"\n"+B+e}var F=!1;function z(e,t){if(!e||F)return"";F=!0;var n=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{if(t)if(t=function(){throw Error()},Object.defineProperty(t.prototype,"props",{set:function(){throw Error()}}),"object"==typeof Reflect&&Reflect.construct){try{Reflect.construct(t,[])}catch(e){var r=e}Reflect.construct(e,[],t)}else{try{t.call()}catch(e){r=e}e.call(t.prototype)}else{try{throw Error()}catch(e){r=e}e()}}catch(t){if(t&&r&&"string"==typeof t.stack){for(var o=t.stack.split("\n"),i=r.stack.split("\n"),a=o.length-1,l=i.length-1;1<=a&&0<=l&&o[a]!==i[l];)l--;for(;1<=a&&0<=l;a--,l--)if(o[a]!==i[l]){if(1!==a||1!==l)do{if(a--,0>--l||o[a]!==i[l]){var s="\n"+o[a].replace(" at new "," at ");return e.displayName&&s.includes("<anonymous>")&&(s=s.replace("<anonymous>",e.displayName)),s}}while(1<=a&&0<=l);break}}}finally{F=!1,Error.prepareStackTrace=n}return(e=e?e.displayName||e.name:"")?j(e):""}function H(e){switch(e.tag){case 5:return j(e.type);case 16:return j("Lazy");case 13:return j("Suspense");case 19:return j("SuspenseList");case 0:case 2:case 15:return z(e.type,!1);case 11:return z(e.type.render,!1);case 1:return z(e.type,!0);default:return""}}function q(e){if(null==e)return null;if("function"==typeof e)return e.displayName||e.name||null;if("string"==typeof e)return e;switch(e){case E:return"Fragment";case x:return"Portal";case S:return"Profiler";case k:return"StrictMode";case D:return"Suspense";case L:return"SuspenseList"}if("object"==typeof e)switch(e.$$typeof){case C:return(e.displayName||"Context")+".Consumer";case _:return(e._context.displayName||"Context")+".Provider";case T:var t=e.render;return(e=e.displayName)||(e=""!==(e=t.displayName||t.name||"")?"ForwardRef("+e+")":"ForwardRef"),e;case O:return null!==(t=e.displayName||null)?t:q(e.type)||"Memo";case R:t=e._payload,e=e._init;try{return q(e(t))}catch(e){}}return null}function U(e){var t=e.type;switch(e.tag){case 24:return"Cache";case 9:return(t.displayName||"Context")+".Consumer";case 10:return(t._context.displayName||"Context")+".Provider";case 18:return"DehydratedFragment";case 11:return e=(e=t.render).displayName||e.name||"",t.displayName||(""!==e?"ForwardRef("+e+")":"ForwardRef");case 7:return"Fragment";case 5:return t;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return q(t);case 8:return t===k?"StrictMode":"Mode";case 22:return"Offscreen";case 12:return"Profiler";case 21:return"Scope";case 13:return"Suspense";case 19:return"SuspenseList";case 25:return"TracingMarker";case 1:case 0:case 17:case 2:case 14:case 15:if("function"==typeof t)return t.displayName||t.name||null;if("string"==typeof t)return t}return null}function W(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":case"object":return e;default:return""}}function V(e){var t=e.type;return(e=e.nodeName)&&"input"===e.toLowerCase()&&("checkbox"===t||"radio"===t)}function Q(e){e._valueTracker||(e._valueTracker=function(e){var t=V(e)?"checked":"value",n=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),r=""+e[t];if(!e.hasOwnProperty(t)&&void 0!==n&&"function"==typeof n.get&&"function"==typeof n.set){var o=n.get,i=n.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return o.call(this)},set:function(e){r=""+e,i.call(this,e)}}),Object.defineProperty(e,t,{enumerable:n.enumerable}),{getValue:function(){return r},setValue:function(e){r=""+e},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}(e))}function G(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=V(e)?e.checked?"true":"false":e.value),(e=r)!==n&&(t.setValue(e),!0)}function $(e){if(void 0===(e=e||("undefined"!=typeof document?document:void 0)))return null;try{return e.activeElement||e.body}catch(t){return e.body}}function Y(e,t){var n=t.checked;return I({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:null!=n?n:e._wrapperState.initialChecked})}function Z(e,t){var n=null==t.defaultValue?"":t.defaultValue,r=null!=t.checked?t.checked:t.defaultChecked;n=W(null!=t.value?t.value:n),e._wrapperState={initialChecked:r,initialValue:n,controlled:"checkbox"===t.type||"radio"===t.type?null!=t.checked:null!=t.value}}function K(e,t){null!=(t=t.checked)&&y(e,"checked",t,!1)}function J(e,t){K(e,t);var n=W(t.value),r=t.type;if(null!=n)"number"===r?(0===n&&""===e.value||e.value!=n)&&(e.value=""+n):e.value!==""+n&&(e.value=""+n);else if("submit"===r||"reset"===r)return void e.removeAttribute("value");t.hasOwnProperty("value")?ee(e,t.type,n):t.hasOwnProperty("defaultValue")&&ee(e,t.type,W(t.defaultValue)),null==t.checked&&null!=t.defaultChecked&&(e.defaultChecked=!!t.defaultChecked)}function X(e,t,n){if(t.hasOwnProperty("value")||t.hasOwnProperty("defaultValue")){var r=t.type;if(!("submit"!==r&&"reset"!==r||void 0!==t.value&&null!==t.value))return;t=""+e._wrapperState.initialValue,n||t===e.value||(e.value=t),e.defaultValue=t}""!==(n=e.name)&&(e.name=""),e.defaultChecked=!!e._wrapperState.initialChecked,""!==n&&(e.name=n)}function ee(e,t,n){"number"===t&&$(e.ownerDocument)===e||(null==n?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}var te=Array.isArray;function ne(e,t,n,r){if(e=e.options,t){t={};for(var o=0;o<n.length;o++)t["$"+n[o]]=!0;for(n=0;n<e.length;n++)o=t.hasOwnProperty("$"+e[n].value),e[n].selected!==o&&(e[n].selected=o),o&&r&&(e[n].defaultSelected=!0)}else{for(n=""+W(n),t=null,o=0;o<e.length;o++){if(e[o].value===n)return e[o].selected=!0,void(r&&(e[o].defaultSelected=!0));null!==t||e[o].disabled||(t=e[o])}null!==t&&(t.selected=!0)}}function re(e,t){if(null!=t.dangerouslySetInnerHTML)throw Error(i(91));return I({},t,{value:void 0,defaultValue:void 0,children:""+e._wrapperState.initialValue})}function oe(e,t){var n=t.value;if(null==n){if(n=t.children,t=t.defaultValue,null!=n){if(null!=t)throw Error(i(92));if(te(n)){if(1<n.length)throw Error(i(93));n=n[0]}t=n}null==t&&(t=""),n=t}e._wrapperState={initialValue:W(n)}}function ie(e,t){var n=W(t.value),r=W(t.defaultValue);null!=n&&((n=""+n)!==e.value&&(e.value=n),null==t.defaultValue&&e.defaultValue!==n&&(e.defaultValue=n)),null!=r&&(e.defaultValue=""+r)}function ae(e){var t=e.textContent;t===e._wrapperState.initialValue&&""!==t&&null!==t&&(e.value=t)}function le(e){switch(e){case"svg":return"http://www.w3.org/2000/svg";case"math":return"http://www.w3.org/1998/Math/MathML";default:return"http://www.w3.org/1999/xhtml"}}function se(e,t){return null==e||"http://www.w3.org/1999/xhtml"===e?le(t):"http://www.w3.org/2000/svg"===e&&"foreignObject"===t?"http://www.w3.org/1999/xhtml":e}var ue,ce,de=(ce=function(e,t){if("http://www.w3.org/2000/svg"!==e.namespaceURI||"innerHTML"in e)e.innerHTML=t;else{for((ue=ue||document.createElement("div")).innerHTML="<svg>"+t.valueOf().toString()+"</svg>",t=ue.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}},"undefined"!=typeof MSApp&&MSApp.execUnsafeLocalFunction?function(e,t,n,r){MSApp.execUnsafeLocalFunction((function(){return ce(e,t)}))}:ce);function fe(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&3===n.nodeType)return void(n.nodeValue=t)}e.textContent=t}var pe={animationIterationCount:!0,aspectRatio:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},he=["Webkit","ms","Moz","O"];function ge(e,t,n){return null==t||"boolean"==typeof t||""===t?"":n||"number"!=typeof t||0===t||pe.hasOwnProperty(e)&&pe[e]?(""+t).trim():t+"px"}function me(e,t){for(var n in e=e.style,t)if(t.hasOwnProperty(n)){var r=0===n.indexOf("--"),o=ge(n,t[n],r);"float"===n&&(n="cssFloat"),r?e.setProperty(n,o):e[n]=o}}Object.keys(pe).forEach((function(e){he.forEach((function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),pe[t]=pe[e]}))}));var ve=I({menuitem:!0},{area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0});function be(e,t){if(t){if(ve[e]&&(null!=t.children||null!=t.dangerouslySetInnerHTML))throw Error(i(137,e));if(null!=t.dangerouslySetInnerHTML){if(null!=t.children)throw Error(i(60));if("object"!=typeof t.dangerouslySetInnerHTML||!("__html"in t.dangerouslySetInnerHTML))throw Error(i(61))}if(null!=t.style&&"object"!=typeof t.style)throw Error(i(62))}}function ye(e,t){if(-1===e.indexOf("-"))return"string"==typeof t.is;switch(e){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var Ae=null;function we(e){return(e=e.target||e.srcElement||window).correspondingUseElement&&(e=e.correspondingUseElement),3===e.nodeType?e.parentNode:e}var xe=null,Ee=null,ke=null;function Se(e){if(e=vo(e)){if("function"!=typeof xe)throw Error(i(280));var t=e.stateNode;t&&(t=yo(t),xe(e.stateNode,e.type,t))}}function _e(e){Ee?ke?ke.push(e):ke=[e]:Ee=e}function Ce(){if(Ee){var e=Ee,t=ke;if(ke=Ee=null,Se(e),t)for(e=0;e<t.length;e++)Se(t[e])}}function Te(e,t){return e(t)}function De(){}var Le=!1;function Oe(e,t,n){if(Le)return e(t,n);Le=!0;try{return Te(e,t,n)}finally{Le=!1,(null!==Ee||null!==ke)&&(De(),Ce())}}function Re(e,t){var n=e.stateNode;if(null===n)return null;var r=yo(n);if(null===r)return null;n=r[t];e:switch(t){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(r=!r.disabled)||(r=!("button"===(e=e.type)||"input"===e||"select"===e||"textarea"===e)),e=!r;break e;default:e=!1}if(e)return null;if(n&&"function"!=typeof n)throw Error(i(231,t,typeof n));return n}var Pe=!1;if(c)try{var Me={};Object.defineProperty(Me,"passive",{get:function(){Pe=!0}}),window.addEventListener("test",Me,Me),window.removeEventListener("test",Me,Me)}catch(ce){Pe=!1}function Ne(e,t,n,r,o,i,a,l,s){var u=Array.prototype.slice.call(arguments,3);try{t.apply(n,u)}catch(e){this.onError(e)}}var Be=!1,Ie=null,je=!1,Fe=null,ze={onError:function(e){Be=!0,Ie=e}};function He(e,t,n,r,o,i,a,l,s){Be=!1,Ie=null,Ne.apply(ze,arguments)}function qe(e){var t=e,n=e;if(e.alternate)for(;t.return;)t=t.return;else{e=t;do{0!=(4098&(t=e).flags)&&(n=t.return),e=t.return}while(e)}return 3===t.tag?n:null}function Ue(e){if(13===e.tag){var t=e.memoizedState;if(null===t&&null!==(e=e.alternate)&&(t=e.memoizedState),null!==t)return t.dehydrated}return null}function We(e){if(qe(e)!==e)throw Error(i(188))}function Ve(e){return null!==(e=function(e){var t=e.alternate;if(!t){if(null===(t=qe(e)))throw Error(i(188));return t!==e?null:e}for(var n=e,r=t;;){var o=n.return;if(null===o)break;var a=o.alternate;if(null===a){if(null!==(r=o.return)){n=r;continue}break}if(o.child===a.child){for(a=o.child;a;){if(a===n)return We(o),e;if(a===r)return We(o),t;a=a.sibling}throw Error(i(188))}if(n.return!==r.return)n=o,r=a;else{for(var l=!1,s=o.child;s;){if(s===n){l=!0,n=o,r=a;break}if(s===r){l=!0,r=o,n=a;break}s=s.sibling}if(!l){for(s=a.child;s;){if(s===n){l=!0,n=a,r=o;break}if(s===r){l=!0,r=a,n=o;break}s=s.sibling}if(!l)throw Error(i(189))}}if(n.alternate!==r)throw Error(i(190))}if(3!==n.tag)throw Error(i(188));return n.stateNode.current===n?e:t}(e))?Qe(e):null}function Qe(e){if(5===e.tag||6===e.tag)return e;for(e=e.child;null!==e;){var t=Qe(e);if(null!==t)return t;e=e.sibling}return null}var Ge=o.unstable_scheduleCallback,$e=o.unstable_cancelCallback,Ye=o.unstable_shouldYield,Ze=o.unstable_requestPaint,Ke=o.unstable_now,Je=o.unstable_getCurrentPriorityLevel,Xe=o.unstable_ImmediatePriority,et=o.unstable_UserBlockingPriority,tt=o.unstable_NormalPriority,nt=o.unstable_LowPriority,rt=o.unstable_IdlePriority,ot=null,it=null,at=Math.clz32?Math.clz32:function(e){return 0==(e>>>=0)?32:31-(lt(e)/st|0)|0},lt=Math.log,st=Math.LN2,ut=64,ct=4194304;function dt(e){switch(e&-e){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return 4194240&e;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return 130023424&e;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 1073741824;default:return e}}function ft(e,t){var n=e.pendingLanes;if(0===n)return 0;var r=0,o=e.suspendedLanes,i=e.pingedLanes,a=268435455&n;if(0!==a){var l=a&~o;0!==l?r=dt(l):0!=(i&=a)&&(r=dt(i))}else 0!=(a=n&~o)?r=dt(a):0!==i&&(r=dt(i));if(0===r)return 0;if(0!==t&&t!==r&&0==(t&o)&&((o=r&-r)>=(i=t&-t)||16===o&&0!=(4194240&i)))return t;if(0!=(4&r)&&(r|=16&n),0!==(t=e.entangledLanes))for(e=e.entanglements,t&=r;0<t;)o=1<<(n=31-at(t)),r|=e[n],t&=~o;return r}function pt(e,t){switch(e){case 1:case 2:case 4:return t+250;case 8:case 16:case 32:case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return t+5e3;default:return-1}}function ht(e){return 0!=(e=-1073741825&e.pendingLanes)?e:1073741824&e?1073741824:0}function gt(){var e=ut;return 0==(4194240&(ut<<=1))&&(ut=64),e}function mt(e){for(var t=[],n=0;31>n;n++)t.push(e);return t}function vt(e,t,n){e.pendingLanes|=t,536870912!==t&&(e.suspendedLanes=0,e.pingedLanes=0),(e=e.eventTimes)[t=31-at(t)]=n}function bt(e,t){var n=e.entangledLanes|=t;for(e=e.entanglements;n;){var r=31-at(n),o=1<<r;o&t|e[r]&t&&(e[r]|=t),n&=~o}}var yt=0;function At(e){return 1<(e&=-e)?4<e?0!=(268435455&e)?16:536870912:4:1}var wt,xt,Et,kt,St,_t=!1,Ct=[],Tt=null,Dt=null,Lt=null,Ot=new Map,Rt=new Map,Pt=[],Mt="mousedown mouseup touchcancel touchend touchstart auxclick dblclick pointercancel pointerdown pointerup dragend dragstart drop compositionend compositionstart keydown keypress keyup input textInput copy cut paste click change contextmenu reset submit".split(" ");function Nt(e,t){switch(e){case"focusin":case"focusout":Tt=null;break;case"dragenter":case"dragleave":Dt=null;break;case"mouseover":case"mouseout":Lt=null;break;case"pointerover":case"pointerout":Ot.delete(t.pointerId);break;case"gotpointercapture":case"lostpointercapture":Rt.delete(t.pointerId)}}function Bt(e,t,n,r,o,i){return null===e||e.nativeEvent!==i?(e={blockedOn:t,domEventName:n,eventSystemFlags:r,nativeEvent:i,targetContainers:[o]},null!==t&&null!==(t=vo(t))&&xt(t),e):(e.eventSystemFlags|=r,t=e.targetContainers,null!==o&&-1===t.indexOf(o)&&t.push(o),e)}function It(e){var t=mo(e.target);if(null!==t){var n=qe(t);if(null!==n)if(13===(t=n.tag)){if(null!==(t=Ue(n)))return e.blockedOn=t,void St(e.priority,(function(){Et(n)}))}else if(3===t&&n.stateNode.current.memoizedState.isDehydrated)return void(e.blockedOn=3===n.tag?n.stateNode.containerInfo:null)}e.blockedOn=null}function jt(e){if(null!==e.blockedOn)return!1;for(var t=e.targetContainers;0<t.length;){var n=Yt(e.domEventName,e.eventSystemFlags,t[0],e.nativeEvent);if(null!==n)return null!==(t=vo(n))&&xt(t),e.blockedOn=n,!1;var r=new(n=e.nativeEvent).constructor(n.type,n);Ae=r,n.target.dispatchEvent(r),Ae=null,t.shift()}return!0}function Ft(e,t,n){jt(e)&&n.delete(t)}function zt(){_t=!1,null!==Tt&&jt(Tt)&&(Tt=null),null!==Dt&&jt(Dt)&&(Dt=null),null!==Lt&&jt(Lt)&&(Lt=null),Ot.forEach(Ft),Rt.forEach(Ft)}function Ht(e,t){e.blockedOn===t&&(e.blockedOn=null,_t||(_t=!0,o.unstable_scheduleCallback(o.unstable_NormalPriority,zt)))}function qt(e){function t(t){return Ht(t,e)}if(0<Ct.length){Ht(Ct[0],e);for(var n=1;n<Ct.length;n++){var r=Ct[n];r.blockedOn===e&&(r.blockedOn=null)}}for(null!==Tt&&Ht(Tt,e),null!==Dt&&Ht(Dt,e),null!==Lt&&Ht(Lt,e),Ot.forEach(t),Rt.forEach(t),n=0;n<Pt.length;n++)(r=Pt[n]).blockedOn===e&&(r.blockedOn=null);for(;0<Pt.length&&null===(n=Pt[0]).blockedOn;)It(n),null===n.blockedOn&&Pt.shift()}var Ut=A.ReactCurrentBatchConfig,Wt=!0;function Vt(e,t,n,r){var o=yt,i=Ut.transition;Ut.transition=null;try{yt=1,Gt(e,t,n,r)}finally{yt=o,Ut.transition=i}}function Qt(e,t,n,r){var o=yt,i=Ut.transition;Ut.transition=null;try{yt=4,Gt(e,t,n,r)}finally{yt=o,Ut.transition=i}}function Gt(e,t,n,r){if(Wt){var o=Yt(e,t,n,r);if(null===o)Hr(e,t,r,$t,n),Nt(e,r);else if(function(e,t,n,r,o){switch(t){case"focusin":return Tt=Bt(Tt,e,t,n,r,o),!0;case"dragenter":return Dt=Bt(Dt,e,t,n,r,o),!0;case"mouseover":return Lt=Bt(Lt,e,t,n,r,o),!0;case"pointerover":var i=o.pointerId;return Ot.set(i,Bt(Ot.get(i)||null,e,t,n,r,o)),!0;case"gotpointercapture":return i=o.pointerId,Rt.set(i,Bt(Rt.get(i)||null,e,t,n,r,o)),!0}return!1}(o,e,t,n,r))r.stopPropagation();else if(Nt(e,r),4&t&&-1<Mt.indexOf(e)){for(;null!==o;){var i=vo(o);if(null!==i&&wt(i),null===(i=Yt(e,t,n,r))&&Hr(e,t,r,$t,n),i===o)break;o=i}null!==o&&r.stopPropagation()}else Hr(e,t,r,null,n)}}var $t=null;function Yt(e,t,n,r){if($t=null,null!==(e=mo(e=we(r))))if(null===(t=qe(e)))e=null;else if(13===(n=t.tag)){if(null!==(e=Ue(t)))return e;e=null}else if(3===n){if(t.stateNode.current.memoizedState.isDehydrated)return 3===t.tag?t.stateNode.containerInfo:null;e=null}else t!==e&&(e=null);return $t=e,null}function Zt(e){switch(e){case"cancel":case"click":case"close":case"contextmenu":case"copy":case"cut":case"auxclick":case"dblclick":case"dragend":case"dragstart":case"drop":case"focusin":case"focusout":case"input":case"invalid":case"keydown":case"keypress":case"keyup":case"mousedown":case"mouseup":case"paste":case"pause":case"play":case"pointercancel":case"pointerdown":case"pointerup":case"ratechange":case"reset":case"resize":case"seeked":case"submit":case"touchcancel":case"touchend":case"touchstart":case"volumechange":case"change":case"selectionchange":case"textInput":case"compositionstart":case"compositionend":case"compositionupdate":case"beforeblur":case"afterblur":case"beforeinput":case"blur":case"fullscreenchange":case"focus":case"hashchange":case"popstate":case"select":case"selectstart":return 1;case"drag":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"mousemove":case"mouseout":case"mouseover":case"pointermove":case"pointerout":case"pointerover":case"scroll":case"toggle":case"touchmove":case"wheel":case"mouseenter":case"mouseleave":case"pointerenter":case"pointerleave":return 4;case"message":switch(Je()){case Xe:return 1;case et:return 4;case tt:case nt:return 16;case rt:return 536870912;default:return 16}default:return 16}}var Kt=null,Jt=null,Xt=null;function en(){if(Xt)return Xt;var e,t,n=Jt,r=n.length,o="value"in Kt?Kt.value:Kt.textContent,i=o.length;for(e=0;e<r&&n[e]===o[e];e++);var a=r-e;for(t=1;t<=a&&n[r-t]===o[i-t];t++);return Xt=o.slice(e,1<t?1-t:void 0)}function tn(e){var t=e.keyCode;return"charCode"in e?0===(e=e.charCode)&&13===t&&(e=13):e=t,10===e&&(e=13),32<=e||13===e?e:0}function nn(){return!0}function rn(){return!1}function on(e){function t(t,n,r,o,i){for(var a in this._reactName=t,this._targetInst=r,this.type=n,this.nativeEvent=o,this.target=i,this.currentTarget=null,e)e.hasOwnProperty(a)&&(t=e[a],this[a]=t?t(o):o[a]);return this.isDefaultPrevented=(null!=o.defaultPrevented?o.defaultPrevented:!1===o.returnValue)?nn:rn,this.isPropagationStopped=rn,this}return I(t.prototype,{preventDefault:function(){this.defaultPrevented=!0;var e=this.nativeEvent;e&&(e.preventDefault?e.preventDefault():"unknown"!=typeof e.returnValue&&(e.returnValue=!1),this.isDefaultPrevented=nn)},stopPropagation:function(){var e=this.nativeEvent;e&&(e.stopPropagation?e.stopPropagation():"unknown"!=typeof e.cancelBubble&&(e.cancelBubble=!0),this.isPropagationStopped=nn)},persist:function(){},isPersistent:nn}),t}var an,ln,sn,un={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},cn=on(un),dn=I({},un,{view:0,detail:0}),fn=on(dn),pn=I({},dn,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:kn,button:0,buttons:0,relatedTarget:function(e){return void 0===e.relatedTarget?e.fromElement===e.srcElement?e.toElement:e.fromElement:e.relatedTarget},movementX:function(e){return"movementX"in e?e.movementX:(e!==sn&&(sn&&"mousemove"===e.type?(an=e.screenX-sn.screenX,ln=e.screenY-sn.screenY):ln=an=0,sn=e),an)},movementY:function(e){return"movementY"in e?e.movementY:ln}}),hn=on(pn),gn=on(I({},pn,{dataTransfer:0})),mn=on(I({},dn,{relatedTarget:0})),vn=on(I({},un,{animationName:0,elapsedTime:0,pseudoElement:0})),bn=on(I({},un,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}})),yn=on(I({},un,{data:0})),An={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},wn={8:"Backspace",9:"Tab",12:"Clear",13:"Enter",16:"Shift",17:"Control",18:"Alt",19:"Pause",20:"CapsLock",27:"Escape",32:" ",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"ArrowLeft",38:"ArrowUp",39:"ArrowRight",40:"ArrowDown",45:"Insert",46:"Delete",112:"F1",113:"F2",114:"F3",115:"F4",116:"F5",117:"F6",118:"F7",119:"F8",120:"F9",121:"F10",122:"F11",123:"F12",144:"NumLock",145:"ScrollLock",224:"Meta"},xn={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function En(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):!!(e=xn[e])&&!!t[e]}function kn(){return En}var Sn=on(I({},dn,{key:function(e){if(e.key){var t=An[e.key]||e.key;if("Unidentified"!==t)return t}return"keypress"===e.type?13===(e=tn(e))?"Enter":String.fromCharCode(e):"keydown"===e.type||"keyup"===e.type?wn[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:kn,charCode:function(e){return"keypress"===e.type?tn(e):0},keyCode:function(e){return"keydown"===e.type||"keyup"===e.type?e.keyCode:0},which:function(e){return"keypress"===e.type?tn(e):"keydown"===e.type||"keyup"===e.type?e.keyCode:0}})),_n=on(I({},pn,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0})),Cn=on(I({},dn,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:kn})),Tn=on(I({},un,{propertyName:0,elapsedTime:0,pseudoElement:0})),Dn=on(I({},pn,{deltaX:function(e){return"deltaX"in e?e.deltaX:"wheelDeltaX"in e?-e.wheelDeltaX:0},deltaY:function(e){return"deltaY"in e?e.deltaY:"wheelDeltaY"in e?-e.wheelDeltaY:"wheelDelta"in e?-e.wheelDelta:0},deltaZ:0,deltaMode:0})),Ln=[9,13,27,32],On=c&&"CompositionEvent"in window,Rn=null;c&&"documentMode"in document&&(Rn=document.documentMode);var Pn=c&&"TextEvent"in window&&!Rn,Mn=c&&(!On||Rn&&8<Rn&&11>=Rn),Nn=String.fromCharCode(32),Bn=!1;function In(e,t){switch(e){case"keyup":return-1!==Ln.indexOf(t.keyCode);case"keydown":return 229!==t.keyCode;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function jn(e){return"object"==typeof(e=e.detail)&&"data"in e?e.data:null}var Fn=!1,zn={color:!0,date:!0,datetime:!0,"datetime-local":!0,email:!0,month:!0,number:!0,password:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0};function Hn(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return"input"===t?!!zn[e.type]:"textarea"===t}function qn(e,t,n,r){_e(r),0<(t=Ur(t,"onChange")).length&&(n=new cn("onChange","change",null,n,r),e.push({event:n,listeners:t}))}var Un=null,Wn=null;function Vn(e){Nr(e,0)}function Qn(e){if(G(bo(e)))return e}function Gn(e,t){if("change"===e)return t}var $n=!1;if(c){var Yn;if(c){var Zn="oninput"in document;if(!Zn){var Kn=document.createElement("div");Kn.setAttribute("oninput","return;"),Zn="function"==typeof Kn.oninput}Yn=Zn}else Yn=!1;$n=Yn&&(!document.documentMode||9<document.documentMode)}function Jn(){Un&&(Un.detachEvent("onpropertychange",Xn),Wn=Un=null)}function Xn(e){if("value"===e.propertyName&&Qn(Wn)){var t=[];qn(t,Wn,e,we(e)),Oe(Vn,t)}}function er(e,t,n){"focusin"===e?(Jn(),Wn=n,(Un=t).attachEvent("onpropertychange",Xn)):"focusout"===e&&Jn()}function tr(e){if("selectionchange"===e||"keyup"===e||"keydown"===e)return Qn(Wn)}function nr(e,t){if("click"===e)return Qn(t)}function rr(e,t){if("input"===e||"change"===e)return Qn(t)}var or="function"==typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t};function ir(e,t){if(or(e,t))return!0;if("object"!=typeof e||null===e||"object"!=typeof t||null===t)return!1;var n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return!1;for(r=0;r<n.length;r++){var o=n[r];if(!d.call(t,o)||!or(e[o],t[o]))return!1}return!0}function ar(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function lr(e,t){var n,r=ar(e);for(e=0;r;){if(3===r.nodeType){if(n=e+r.textContent.length,e<=t&&n>=t)return{node:r,offset:t-e};e=n}e:{for(;r;){if(r.nextSibling){r=r.nextSibling;break e}r=r.parentNode}r=void 0}r=ar(r)}}function sr(e,t){return!(!e||!t)&&(e===t||(!e||3!==e.nodeType)&&(t&&3===t.nodeType?sr(e,t.parentNode):"contains"in e?e.contains(t):!!e.compareDocumentPosition&&!!(16&e.compareDocumentPosition(t))))}function ur(){for(var e=window,t=$();t instanceof e.HTMLIFrameElement;){try{var n="string"==typeof t.contentWindow.location.href}catch(e){n=!1}if(!n)break;t=$((e=t.contentWindow).document)}return t}function cr(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&("input"===t&&("text"===e.type||"search"===e.type||"tel"===e.type||"url"===e.type||"password"===e.type)||"textarea"===t||"true"===e.contentEditable)}function dr(e){var t=ur(),n=e.focusedElem,r=e.selectionRange;if(t!==n&&n&&n.ownerDocument&&sr(n.ownerDocument.documentElement,n)){if(null!==r&&cr(n))if(t=r.start,void 0===(e=r.end)&&(e=t),"selectionStart"in n)n.selectionStart=t,n.selectionEnd=Math.min(e,n.value.length);else if((e=(t=n.ownerDocument||document)&&t.defaultView||window).getSelection){e=e.getSelection();var o=n.textContent.length,i=Math.min(r.start,o);r=void 0===r.end?i:Math.min(r.end,o),!e.extend&&i>r&&(o=r,r=i,i=o),o=lr(n,i);var a=lr(n,r);o&&a&&(1!==e.rangeCount||e.anchorNode!==o.node||e.anchorOffset!==o.offset||e.focusNode!==a.node||e.focusOffset!==a.offset)&&((t=t.createRange()).setStart(o.node,o.offset),e.removeAllRanges(),i>r?(e.addRange(t),e.extend(a.node,a.offset)):(t.setEnd(a.node,a.offset),e.addRange(t)))}for(t=[],e=n;e=e.parentNode;)1===e.nodeType&&t.push({element:e,left:e.scrollLeft,top:e.scrollTop});for("function"==typeof n.focus&&n.focus(),n=0;n<t.length;n++)(e=t[n]).element.scrollLeft=e.left,e.element.scrollTop=e.top}}var fr=c&&"documentMode"in document&&11>=document.documentMode,pr=null,hr=null,gr=null,mr=!1;function vr(e,t,n){var r=n.window===n?n.document:9===n.nodeType?n:n.ownerDocument;mr||null==pr||pr!==$(r)||(r="selectionStart"in(r=pr)&&cr(r)?{start:r.selectionStart,end:r.selectionEnd}:{anchorNode:(r=(r.ownerDocument&&r.ownerDocument.defaultView||window).getSelection()).anchorNode,anchorOffset:r.anchorOffset,focusNode:r.focusNode,focusOffset:r.focusOffset},gr&&ir(gr,r)||(gr=r,0<(r=Ur(hr,"onSelect")).length&&(t=new cn("onSelect","select",null,t,n),e.push({event:t,listeners:r}),t.target=pr)))}function br(e,t){var n={};return n[e.toLowerCase()]=t.toLowerCase(),n["Webkit"+e]="webkit"+t,n["Moz"+e]="moz"+t,n}var yr={animationend:br("Animation","AnimationEnd"),animationiteration:br("Animation","AnimationIteration"),animationstart:br("Animation","AnimationStart"),transitionend:br("Transition","TransitionEnd")},Ar={},wr={};function xr(e){if(Ar[e])return Ar[e];if(!yr[e])return e;var t,n=yr[e];for(t in n)if(n.hasOwnProperty(t)&&t in wr)return Ar[e]=n[t];return e}c&&(wr=document.createElement("div").style,"AnimationEvent"in window||(delete yr.animationend.animation,delete yr.animationiteration.animation,delete yr.animationstart.animation),"TransitionEvent"in window||delete yr.transitionend.transition);var Er=xr("animationend"),kr=xr("animationiteration"),Sr=xr("animationstart"),_r=xr("transitionend"),Cr=new Map,Tr="abort auxClick cancel canPlay canPlayThrough click close contextMenu copy cut drag dragEnd dragEnter dragExit dragLeave dragOver dragStart drop durationChange emptied encrypted ended error gotPointerCapture input invalid keyDown keyPress keyUp load loadedData loadedMetadata loadStart lostPointerCapture mouseDown mouseMove mouseOut mouseOver mouseUp paste pause play playing pointerCancel pointerDown pointerMove pointerOut pointerOver pointerUp progress rateChange reset resize seeked seeking stalled submit suspend timeUpdate touchCancel touchEnd touchStart volumeChange scroll toggle touchMove waiting wheel".split(" ");function Dr(e,t){Cr.set(e,t),s(t,[e])}for(var Lr=0;Lr<Tr.length;Lr++){var Or=Tr[Lr];Dr(Or.toLowerCase(),"on"+(Or[0].toUpperCase()+Or.slice(1)))}Dr(Er,"onAnimationEnd"),Dr(kr,"onAnimationIteration"),Dr(Sr,"onAnimationStart"),Dr("dblclick","onDoubleClick"),Dr("focusin","onFocus"),Dr("focusout","onBlur"),Dr(_r,"onTransitionEnd"),u("onMouseEnter",["mouseout","mouseover"]),u("onMouseLeave",["mouseout","mouseover"]),u("onPointerEnter",["pointerout","pointerover"]),u("onPointerLeave",["pointerout","pointerover"]),s("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),s("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),s("onBeforeInput",["compositionend","keypress","textInput","paste"]),s("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),s("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),s("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var Rr="abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange resize seeked seeking stalled suspend timeupdate volumechange waiting".split(" "),Pr=new Set("cancel close invalid load scroll toggle".split(" ").concat(Rr));function Mr(e,t,n){var r=e.type||"unknown-event";e.currentTarget=n,function(e,t,n,r,o,a,l,s,u){if(He.apply(this,arguments),Be){if(!Be)throw Error(i(198));var c=Ie;Be=!1,Ie=null,je||(je=!0,Fe=c)}}(r,t,void 0,e),e.currentTarget=null}function Nr(e,t){t=0!=(4&t);for(var n=0;n<e.length;n++){var r=e[n],o=r.event;r=r.listeners;e:{var i=void 0;if(t)for(var a=r.length-1;0<=a;a--){var l=r[a],s=l.instance,u=l.currentTarget;if(l=l.listener,s!==i&&o.isPropagationStopped())break e;Mr(o,l,u),i=s}else for(a=0;a<r.length;a++){if(s=(l=r[a]).instance,u=l.currentTarget,l=l.listener,s!==i&&o.isPropagationStopped())break e;Mr(o,l,u),i=s}}}if(je)throw e=Fe,je=!1,Fe=null,e}function Br(e,t){var n=t[po];void 0===n&&(n=t[po]=new Set);var r=e+"__bubble";n.has(r)||(zr(t,e,2,!1),n.add(r))}function Ir(e,t,n){var r=0;t&&(r|=4),zr(n,e,r,t)}var jr="_reactListening"+Math.random().toString(36).slice(2);function Fr(e){if(!e[jr]){e[jr]=!0,a.forEach((function(t){"selectionchange"!==t&&(Pr.has(t)||Ir(t,!1,e),Ir(t,!0,e))}));var t=9===e.nodeType?e:e.ownerDocument;null===t||t[jr]||(t[jr]=!0,Ir("selectionchange",!1,t))}}function zr(e,t,n,r){switch(Zt(t)){case 1:var o=Vt;break;case 4:o=Qt;break;default:o=Gt}n=o.bind(null,t,n,e),o=void 0,!Pe||"touchstart"!==t&&"touchmove"!==t&&"wheel"!==t||(o=!0),r?void 0!==o?e.addEventListener(t,n,{capture:!0,passive:o}):e.addEventListener(t,n,!0):void 0!==o?e.addEventListener(t,n,{passive:o}):e.addEventListener(t,n,!1)}function Hr(e,t,n,r,o){var i=r;if(0==(1&t)&&0==(2&t)&&null!==r)e:for(;;){if(null===r)return;var a=r.tag;if(3===a||4===a){var l=r.stateNode.containerInfo;if(l===o||8===l.nodeType&&l.parentNode===o)break;if(4===a)for(a=r.return;null!==a;){var s=a.tag;if((3===s||4===s)&&((s=a.stateNode.containerInfo)===o||8===s.nodeType&&s.parentNode===o))return;a=a.return}for(;null!==l;){if(null===(a=mo(l)))return;if(5===(s=a.tag)||6===s){r=i=a;continue e}l=l.parentNode}}r=r.return}Oe((function(){var r=i,o=we(n),a=[];e:{var l=Cr.get(e);if(void 0!==l){var s=cn,u=e;switch(e){case"keypress":if(0===tn(n))break e;case"keydown":case"keyup":s=Sn;break;case"focusin":u="focus",s=mn;break;case"focusout":u="blur",s=mn;break;case"beforeblur":case"afterblur":s=mn;break;case"click":if(2===n.button)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":s=hn;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":s=gn;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":s=Cn;break;case Er:case kr:case Sr:s=vn;break;case _r:s=Tn;break;case"scroll":s=fn;break;case"wheel":s=Dn;break;case"copy":case"cut":case"paste":s=bn;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":s=_n}var c=0!=(4&t),d=!c&&"scroll"===e,f=c?null!==l?l+"Capture":null:l;c=[];for(var p,h=r;null!==h;){var g=(p=h).stateNode;if(5===p.tag&&null!==g&&(p=g,null!==f&&null!=(g=Re(h,f))&&c.push(qr(h,g,p))),d)break;h=h.return}0<c.length&&(l=new s(l,u,null,n,o),a.push({event:l,listeners:c}))}}if(0==(7&t)){if(s="mouseout"===e||"pointerout"===e,(!(l="mouseover"===e||"pointerover"===e)||n===Ae||!(u=n.relatedTarget||n.fromElement)||!mo(u)&&!u[fo])&&(s||l)&&(l=o.window===o?o:(l=o.ownerDocument)?l.defaultView||l.parentWindow:window,s?(s=r,null!==(u=(u=n.relatedTarget||n.toElement)?mo(u):null)&&(u!==(d=qe(u))||5!==u.tag&&6!==u.tag)&&(u=null)):(s=null,u=r),s!==u)){if(c=hn,g="onMouseLeave",f="onMouseEnter",h="mouse","pointerout"!==e&&"pointerover"!==e||(c=_n,g="onPointerLeave",f="onPointerEnter",h="pointer"),d=null==s?l:bo(s),p=null==u?l:bo(u),(l=new c(g,h+"leave",s,n,o)).target=d,l.relatedTarget=p,g=null,mo(o)===r&&((c=new c(f,h+"enter",u,n,o)).target=p,c.relatedTarget=d,g=c),d=g,s&&u)e:{for(f=u,h=0,p=c=s;p;p=Wr(p))h++;for(p=0,g=f;g;g=Wr(g))p++;for(;0<h-p;)c=Wr(c),h--;for(;0<p-h;)f=Wr(f),p--;for(;h--;){if(c===f||null!==f&&c===f.alternate)break e;c=Wr(c),f=Wr(f)}c=null}else c=null;null!==s&&Vr(a,l,s,c,!1),null!==u&&null!==d&&Vr(a,d,u,c,!0)}if("select"===(s=(l=r?bo(r):window).nodeName&&l.nodeName.toLowerCase())||"input"===s&&"file"===l.type)var m=Gn;else if(Hn(l))if($n)m=rr;else{m=tr;var v=er}else(s=l.nodeName)&&"input"===s.toLowerCase()&&("checkbox"===l.type||"radio"===l.type)&&(m=nr);switch(m&&(m=m(e,r))?qn(a,m,n,o):(v&&v(e,l,r),"focusout"===e&&(v=l._wrapperState)&&v.controlled&&"number"===l.type&&ee(l,"number",l.value)),v=r?bo(r):window,e){case"focusin":(Hn(v)||"true"===v.contentEditable)&&(pr=v,hr=r,gr=null);break;case"focusout":gr=hr=pr=null;break;case"mousedown":mr=!0;break;case"contextmenu":case"mouseup":case"dragend":mr=!1,vr(a,n,o);break;case"selectionchange":if(fr)break;case"keydown":case"keyup":vr(a,n,o)}var b;if(On)e:{switch(e){case"compositionstart":var y="onCompositionStart";break e;case"compositionend":y="onCompositionEnd";break e;case"compositionupdate":y="onCompositionUpdate";break e}y=void 0}else Fn?In(e,n)&&(y="onCompositionEnd"):"keydown"===e&&229===n.keyCode&&(y="onCompositionStart");y&&(Mn&&"ko"!==n.locale&&(Fn||"onCompositionStart"!==y?"onCompositionEnd"===y&&Fn&&(b=en()):(Jt="value"in(Kt=o)?Kt.value:Kt.textContent,Fn=!0)),0<(v=Ur(r,y)).length&&(y=new yn(y,e,null,n,o),a.push({event:y,listeners:v}),(b||null!==(b=jn(n)))&&(y.data=b))),(b=Pn?function(e,t){switch(e){case"compositionend":return jn(t);case"keypress":return 32!==t.which?null:(Bn=!0,Nn);case"textInput":return(e=t.data)===Nn&&Bn?null:e;default:return null}}(e,n):function(e,t){if(Fn)return"compositionend"===e||!On&&In(e,t)?(e=en(),Xt=Jt=Kt=null,Fn=!1,e):null;switch(e){case"paste":default:return null;case"keypress":if(!(t.ctrlKey||t.altKey||t.metaKey)||t.ctrlKey&&t.altKey){if(t.char&&1<t.char.length)return t.char;if(t.which)return String.fromCharCode(t.which)}return null;case"compositionend":return Mn&&"ko"!==t.locale?null:t.data}}(e,n))&&0<(r=Ur(r,"onBeforeInput")).length&&(o=new yn("onBeforeInput","beforeinput",null,n,o),a.push({event:o,listeners:r}),o.data=b)}Nr(a,t)}))}function qr(e,t,n){return{instance:e,listener:t,currentTarget:n}}function Ur(e,t){for(var n=t+"Capture",r=[];null!==e;){var o=e,i=o.stateNode;5===o.tag&&null!==i&&(o=i,null!=(i=Re(e,n))&&r.unshift(qr(e,i,o)),null!=(i=Re(e,t))&&r.push(qr(e,i,o))),e=e.return}return r}function Wr(e){if(null===e)return null;do{e=e.return}while(e&&5!==e.tag);return e||null}function Vr(e,t,n,r,o){for(var i=t._reactName,a=[];null!==n&&n!==r;){var l=n,s=l.alternate,u=l.stateNode;if(null!==s&&s===r)break;5===l.tag&&null!==u&&(l=u,o?null!=(s=Re(n,i))&&a.unshift(qr(n,s,l)):o||null!=(s=Re(n,i))&&a.push(qr(n,s,l))),n=n.return}0!==a.length&&e.push({event:t,listeners:a})}var Qr=/\r\n?/g,Gr=/\u0000|\uFFFD/g;function $r(e){return("string"==typeof e?e:""+e).replace(Qr,"\n").replace(Gr,"")}function Yr(e,t,n){if(t=$r(t),$r(e)!==t&&n)throw Error(i(425))}function Zr(){}var Kr=null,Jr=null;function Xr(e,t){return"textarea"===e||"noscript"===e||"string"==typeof t.children||"number"==typeof t.children||"object"==typeof t.dangerouslySetInnerHTML&&null!==t.dangerouslySetInnerHTML&&null!=t.dangerouslySetInnerHTML.__html}var eo="function"==typeof setTimeout?setTimeout:void 0,to="function"==typeof clearTimeout?clearTimeout:void 0,no="function"==typeof Promise?Promise:void 0,ro="function"==typeof queueMicrotask?queueMicrotask:void 0!==no?function(e){return no.resolve(null).then(e).catch(oo)}:eo;function oo(e){setTimeout((function(){throw e}))}function io(e,t){var n=t,r=0;do{var o=n.nextSibling;if(e.removeChild(n),o&&8===o.nodeType)if("/$"===(n=o.data)){if(0===r)return e.removeChild(o),void qt(t);r--}else"$"!==n&&"$?"!==n&&"$!"!==n||r++;n=o}while(n);qt(t)}function ao(e){for(;null!=e;e=e.nextSibling){var t=e.nodeType;if(1===t||3===t)break;if(8===t){if("$"===(t=e.data)||"$!"===t||"$?"===t)break;if("/$"===t)return null}}return e}function lo(e){e=e.previousSibling;for(var t=0;e;){if(8===e.nodeType){var n=e.data;if("$"===n||"$!"===n||"$?"===n){if(0===t)return e;t--}else"/$"===n&&t++}e=e.previousSibling}return null}var so=Math.random().toString(36).slice(2),uo="__reactFiber$"+so,co="__reactProps$"+so,fo="__reactContainer$"+so,po="__reactEvents$"+so,ho="__reactListeners$"+so,go="__reactHandles$"+so;function mo(e){var t=e[uo];if(t)return t;for(var n=e.parentNode;n;){if(t=n[fo]||n[uo]){if(n=t.alternate,null!==t.child||null!==n&&null!==n.child)for(e=lo(e);null!==e;){if(n=e[uo])return n;e=lo(e)}return t}n=(e=n).parentNode}return null}function vo(e){return!(e=e[uo]||e[fo])||5!==e.tag&&6!==e.tag&&13!==e.tag&&3!==e.tag?null:e}function bo(e){if(5===e.tag||6===e.tag)return e.stateNode;throw Error(i(33))}function yo(e){return e[co]||null}var Ao=[],wo=-1;function xo(e){return{current:e}}function Eo(e){0>wo||(e.current=Ao[wo],Ao[wo]=null,wo--)}function ko(e,t){wo++,Ao[wo]=e.current,e.current=t}var So={},_o=xo(So),Co=xo(!1),To=So;function Do(e,t){var n=e.type.contextTypes;if(!n)return So;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===t)return r.__reactInternalMemoizedMaskedChildContext;var o,i={};for(o in n)i[o]=t[o];return r&&((e=e.stateNode).__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=i),i}function Lo(e){return null!=e.childContextTypes}function Oo(){Eo(Co),Eo(_o)}function Ro(e,t,n){if(_o.current!==So)throw Error(i(168));ko(_o,t),ko(Co,n)}function Po(e,t,n){var r=e.stateNode;if(t=t.childContextTypes,"function"!=typeof r.getChildContext)return n;for(var o in r=r.getChildContext())if(!(o in t))throw Error(i(108,U(e)||"Unknown",o));return I({},n,r)}function Mo(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||So,To=_o.current,ko(_o,e),ko(Co,Co.current),!0}function No(e,t,n){var r=e.stateNode;if(!r)throw Error(i(169));n?(e=Po(e,t,To),r.__reactInternalMemoizedMergedChildContext=e,Eo(Co),Eo(_o),ko(_o,e)):Eo(Co),ko(Co,n)}var Bo=null,Io=!1,jo=!1;function Fo(e){null===Bo?Bo=[e]:Bo.push(e)}function zo(){if(!jo&&null!==Bo){jo=!0;var e=0,t=yt;try{var n=Bo;for(yt=1;e<n.length;e++){var r=n[e];do{r=r(!0)}while(null!==r)}Bo=null,Io=!1}catch(t){throw null!==Bo&&(Bo=Bo.slice(e+1)),Ge(Xe,zo),t}finally{yt=t,jo=!1}}return null}var Ho=[],qo=0,Uo=null,Wo=0,Vo=[],Qo=0,Go=null,$o=1,Yo="";function Zo(e,t){Ho[qo++]=Wo,Ho[qo++]=Uo,Uo=e,Wo=t}function Ko(e,t,n){Vo[Qo++]=$o,Vo[Qo++]=Yo,Vo[Qo++]=Go,Go=e;var r=$o;e=Yo;var o=32-at(r)-1;r&=~(1<<o),n+=1;var i=32-at(t)+o;if(30<i){var a=o-o%5;i=(r&(1<<a)-1).toString(32),r>>=a,o-=a,$o=1<<32-at(t)+o|n<<o|r,Yo=i+e}else $o=1<<i|n<<o|r,Yo=e}function Jo(e){null!==e.return&&(Zo(e,1),Ko(e,1,0))}function Xo(e){for(;e===Uo;)Uo=Ho[--qo],Ho[qo]=null,Wo=Ho[--qo],Ho[qo]=null;for(;e===Go;)Go=Vo[--Qo],Vo[Qo]=null,Yo=Vo[--Qo],Vo[Qo]=null,$o=Vo[--Qo],Vo[Qo]=null}var ei=null,ti=null,ni=!1,ri=null;function oi(e,t){var n=Tu(5,null,null,0);n.elementType="DELETED",n.stateNode=t,n.return=e,null===(t=e.deletions)?(e.deletions=[n],e.flags|=16):t.push(n)}function ii(e,t){switch(e.tag){case 5:var n=e.type;return null!==(t=1!==t.nodeType||n.toLowerCase()!==t.nodeName.toLowerCase()?null:t)&&(e.stateNode=t,ei=e,ti=ao(t.firstChild),!0);case 6:return null!==(t=""===e.pendingProps||3!==t.nodeType?null:t)&&(e.stateNode=t,ei=e,ti=null,!0);case 13:return null!==(t=8!==t.nodeType?null:t)&&(n=null!==Go?{id:$o,overflow:Yo}:null,e.memoizedState={dehydrated:t,treeContext:n,retryLane:1073741824},(n=Tu(18,null,null,0)).stateNode=t,n.return=e,e.child=n,ei=e,ti=null,!0);default:return!1}}function ai(e){return 0!=(1&e.mode)&&0==(128&e.flags)}function li(e){if(ni){var t=ti;if(t){var n=t;if(!ii(e,t)){if(ai(e))throw Error(i(418));t=ao(n.nextSibling);var r=ei;t&&ii(e,t)?oi(r,n):(e.flags=-4097&e.flags|2,ni=!1,ei=e)}}else{if(ai(e))throw Error(i(418));e.flags=-4097&e.flags|2,ni=!1,ei=e}}}function si(e){for(e=e.return;null!==e&&5!==e.tag&&3!==e.tag&&13!==e.tag;)e=e.return;ei=e}function ui(e){if(e!==ei)return!1;if(!ni)return si(e),ni=!0,!1;var t;if((t=3!==e.tag)&&!(t=5!==e.tag)&&(t="head"!==(t=e.type)&&"body"!==t&&!Xr(e.type,e.memoizedProps)),t&&(t=ti)){if(ai(e))throw ci(),Error(i(418));for(;t;)oi(e,t),t=ao(t.nextSibling)}if(si(e),13===e.tag){if(!(e=null!==(e=e.memoizedState)?e.dehydrated:null))throw Error(i(317));e:{for(e=e.nextSibling,t=0;e;){if(8===e.nodeType){var n=e.data;if("/$"===n){if(0===t){ti=ao(e.nextSibling);break e}t--}else"$"!==n&&"$!"!==n&&"$?"!==n||t++}e=e.nextSibling}ti=null}}else ti=ei?ao(e.stateNode.nextSibling):null;return!0}function ci(){for(var e=ti;e;)e=ao(e.nextSibling)}function di(){ti=ei=null,ni=!1}function fi(e){null===ri?ri=[e]:ri.push(e)}var pi=A.ReactCurrentBatchConfig;function hi(e,t){if(e&&e.defaultProps){for(var n in t=I({},t),e=e.defaultProps)void 0===t[n]&&(t[n]=e[n]);return t}return t}var gi=xo(null),mi=null,vi=null,bi=null;function yi(){bi=vi=mi=null}function Ai(e){var t=gi.current;Eo(gi),e._currentValue=t}function wi(e,t,n){for(;null!==e;){var r=e.alternate;if((e.childLanes&t)!==t?(e.childLanes|=t,null!==r&&(r.childLanes|=t)):null!==r&&(r.childLanes&t)!==t&&(r.childLanes|=t),e===n)break;e=e.return}}function xi(e,t){mi=e,bi=vi=null,null!==(e=e.dependencies)&&null!==e.firstContext&&(0!=(e.lanes&t)&&(vl=!0),e.firstContext=null)}function Ei(e){var t=e._currentValue;if(bi!==e)if(e={context:e,memoizedValue:t,next:null},null===vi){if(null===mi)throw Error(i(308));vi=e,mi.dependencies={lanes:0,firstContext:e}}else vi=vi.next=e;return t}var ki=null;function Si(e){null===ki?ki=[e]:ki.push(e)}function _i(e,t,n,r){var o=t.interleaved;return null===o?(n.next=n,Si(t)):(n.next=o.next,o.next=n),t.interleaved=n,Ci(e,r)}function Ci(e,t){e.lanes|=t;var n=e.alternate;for(null!==n&&(n.lanes|=t),n=e,e=e.return;null!==e;)e.childLanes|=t,null!==(n=e.alternate)&&(n.childLanes|=t),n=e,e=e.return;return 3===n.tag?n.stateNode:null}var Ti=!1;function Di(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function Li(e,t){e=e.updateQueue,t.updateQueue===e&&(t.updateQueue={baseState:e.baseState,firstBaseUpdate:e.firstBaseUpdate,lastBaseUpdate:e.lastBaseUpdate,shared:e.shared,effects:e.effects})}function Oi(e,t){return{eventTime:e,lane:t,tag:0,payload:null,callback:null,next:null}}function Ri(e,t,n){var r=e.updateQueue;if(null===r)return null;if(r=r.shared,0!=(2&Ss)){var o=r.pending;return null===o?t.next=t:(t.next=o.next,o.next=t),r.pending=t,Ci(e,n)}return null===(o=r.interleaved)?(t.next=t,Si(r)):(t.next=o.next,o.next=t),r.interleaved=t,Ci(e,n)}function Pi(e,t,n){if(null!==(t=t.updateQueue)&&(t=t.shared,0!=(4194240&n))){var r=t.lanes;n|=r&=e.pendingLanes,t.lanes=n,bt(e,n)}}function Mi(e,t){var n=e.updateQueue,r=e.alternate;if(null!==r&&n===(r=r.updateQueue)){var o=null,i=null;if(null!==(n=n.firstBaseUpdate)){do{var a={eventTime:n.eventTime,lane:n.lane,tag:n.tag,payload:n.payload,callback:n.callback,next:null};null===i?o=i=a:i=i.next=a,n=n.next}while(null!==n);null===i?o=i=t:i=i.next=t}else o=i=t;return n={baseState:r.baseState,firstBaseUpdate:o,lastBaseUpdate:i,shared:r.shared,effects:r.effects},void(e.updateQueue=n)}null===(e=n.lastBaseUpdate)?n.firstBaseUpdate=t:e.next=t,n.lastBaseUpdate=t}function Ni(e,t,n,r){var o=e.updateQueue;Ti=!1;var i=o.firstBaseUpdate,a=o.lastBaseUpdate,l=o.shared.pending;if(null!==l){o.shared.pending=null;var s=l,u=s.next;s.next=null,null===a?i=u:a.next=u,a=s;var c=e.alternate;null!==c&&(l=(c=c.updateQueue).lastBaseUpdate)!==a&&(null===l?c.firstBaseUpdate=u:l.next=u,c.lastBaseUpdate=s)}if(null!==i){var d=o.baseState;for(a=0,c=u=s=null,l=i;;){var f=l.lane,p=l.eventTime;if((r&f)===f){null!==c&&(c=c.next={eventTime:p,lane:0,tag:l.tag,payload:l.payload,callback:l.callback,next:null});e:{var h=e,g=l;switch(f=t,p=n,g.tag){case 1:if("function"==typeof(h=g.payload)){d=h.call(p,d,f);break e}d=h;break e;case 3:h.flags=-65537&h.flags|128;case 0:if(null==(f="function"==typeof(h=g.payload)?h.call(p,d,f):h))break e;d=I({},d,f);break e;case 2:Ti=!0}}null!==l.callback&&0!==l.lane&&(e.flags|=64,null===(f=o.effects)?o.effects=[l]:f.push(l))}else p={eventTime:p,lane:f,tag:l.tag,payload:l.payload,callback:l.callback,next:null},null===c?(u=c=p,s=d):c=c.next=p,a|=f;if(null===(l=l.next)){if(null===(l=o.shared.pending))break;l=(f=l).next,f.next=null,o.lastBaseUpdate=f,o.shared.pending=null}}if(null===c&&(s=d),o.baseState=s,o.firstBaseUpdate=u,o.lastBaseUpdate=c,null!==(t=o.shared.interleaved)){o=t;do{a|=o.lane,o=o.next}while(o!==t)}else null===i&&(o.shared.lanes=0);Ps|=a,e.lanes=a,e.memoizedState=d}}function Bi(e,t,n){if(e=t.effects,t.effects=null,null!==e)for(t=0;t<e.length;t++){var r=e[t],o=r.callback;if(null!==o){if(r.callback=null,r=n,"function"!=typeof o)throw Error(i(191,o));o.call(r)}}}var Ii=(new r.Component).refs;function ji(e,t,n,r){n=null==(n=n(r,t=e.memoizedState))?t:I({},t,n),e.memoizedState=n,0===e.lanes&&(e.updateQueue.baseState=n)}var Fi={isMounted:function(e){return!!(e=e._reactInternals)&&qe(e)===e},enqueueSetState:function(e,t,n){e=e._reactInternals;var r=Ks(),o=Js(e),i=Oi(r,o);i.payload=t,null!=n&&(i.callback=n),null!==(t=Ri(e,i,o))&&(Xs(t,e,o,r),Pi(t,e,o))},enqueueReplaceState:function(e,t,n){e=e._reactInternals;var r=Ks(),o=Js(e),i=Oi(r,o);i.tag=1,i.payload=t,null!=n&&(i.callback=n),null!==(t=Ri(e,i,o))&&(Xs(t,e,o,r),Pi(t,e,o))},enqueueForceUpdate:function(e,t){e=e._reactInternals;var n=Ks(),r=Js(e),o=Oi(n,r);o.tag=2,null!=t&&(o.callback=t),null!==(t=Ri(e,o,r))&&(Xs(t,e,r,n),Pi(t,e,r))}};function zi(e,t,n,r,o,i,a){return"function"==typeof(e=e.stateNode).shouldComponentUpdate?e.shouldComponentUpdate(r,i,a):!(t.prototype&&t.prototype.isPureReactComponent&&ir(n,r)&&ir(o,i))}function Hi(e,t,n){var r=!1,o=So,i=t.contextType;return"object"==typeof i&&null!==i?i=Ei(i):(o=Lo(t)?To:_o.current,i=(r=null!=(r=t.contextTypes))?Do(e,o):So),t=new t(n,i),e.memoizedState=null!==t.state&&void 0!==t.state?t.state:null,t.updater=Fi,e.stateNode=t,t._reactInternals=e,r&&((e=e.stateNode).__reactInternalMemoizedUnmaskedChildContext=o,e.__reactInternalMemoizedMaskedChildContext=i),t}function qi(e,t,n,r){e=t.state,"function"==typeof t.componentWillReceiveProps&&t.componentWillReceiveProps(n,r),"function"==typeof t.UNSAFE_componentWillReceiveProps&&t.UNSAFE_componentWillReceiveProps(n,r),t.state!==e&&Fi.enqueueReplaceState(t,t.state,null)}function Ui(e,t,n,r){var o=e.stateNode;o.props=n,o.state=e.memoizedState,o.refs=Ii,Di(e);var i=t.contextType;"object"==typeof i&&null!==i?o.context=Ei(i):(i=Lo(t)?To:_o.current,o.context=Do(e,i)),o.state=e.memoizedState,"function"==typeof(i=t.getDerivedStateFromProps)&&(ji(e,t,i,n),o.state=e.memoizedState),"function"==typeof t.getDerivedStateFromProps||"function"==typeof o.getSnapshotBeforeUpdate||"function"!=typeof o.UNSAFE_componentWillMount&&"function"!=typeof o.componentWillMount||(t=o.state,"function"==typeof o.componentWillMount&&o.componentWillMount(),"function"==typeof o.UNSAFE_componentWillMount&&o.UNSAFE_componentWillMount(),t!==o.state&&Fi.enqueueReplaceState(o,o.state,null),Ni(e,n,o,r),o.state=e.memoizedState),"function"==typeof o.componentDidMount&&(e.flags|=4194308)}function Wi(e,t,n){if(null!==(e=n.ref)&&"function"!=typeof e&&"object"!=typeof e){if(n._owner){if(n=n._owner){if(1!==n.tag)throw Error(i(309));var r=n.stateNode}if(!r)throw Error(i(147,e));var o=r,a=""+e;return null!==t&&null!==t.ref&&"function"==typeof t.ref&&t.ref._stringRef===a?t.ref:(t=function(e){var t=o.refs;t===Ii&&(t=o.refs={}),null===e?delete t[a]:t[a]=e},t._stringRef=a,t)}if("string"!=typeof e)throw Error(i(284));if(!n._owner)throw Error(i(290,e))}return e}function Vi(e,t){throw e=Object.prototype.toString.call(t),Error(i(31,"[object Object]"===e?"object with keys {"+Object.keys(t).join(", ")+"}":e))}function Qi(e){return(0,e._init)(e._payload)}function Gi(e){function t(t,n){if(e){var r=t.deletions;null===r?(t.deletions=[n],t.flags|=16):r.push(n)}}function n(n,r){if(!e)return null;for(;null!==r;)t(n,r),r=r.sibling;return null}function r(e,t){for(e=new Map;null!==t;)null!==t.key?e.set(t.key,t):e.set(t.index,t),t=t.sibling;return e}function o(e,t){return(e=Lu(e,t)).index=0,e.sibling=null,e}function a(t,n,r){return t.index=r,e?null!==(r=t.alternate)?(r=r.index)<n?(t.flags|=2,n):r:(t.flags|=2,n):(t.flags|=1048576,n)}function l(t){return e&&null===t.alternate&&(t.flags|=2),t}function s(e,t,n,r){return null===t||6!==t.tag?((t=Mu(n,e.mode,r)).return=e,t):((t=o(t,n)).return=e,t)}function u(e,t,n,r){var i=n.type;return i===E?d(e,t,n.props.children,r,n.key):null!==t&&(t.elementType===i||"object"==typeof i&&null!==i&&i.$$typeof===R&&Qi(i)===t.type)?((r=o(t,n.props)).ref=Wi(e,t,n),r.return=e,r):((r=Ou(n.type,n.key,n.props,null,e.mode,r)).ref=Wi(e,t,n),r.return=e,r)}function c(e,t,n,r){return null===t||4!==t.tag||t.stateNode.containerInfo!==n.containerInfo||t.stateNode.implementation!==n.implementation?((t=Nu(n,e.mode,r)).return=e,t):((t=o(t,n.children||[])).return=e,t)}function d(e,t,n,r,i){return null===t||7!==t.tag?((t=Ru(n,e.mode,r,i)).return=e,t):((t=o(t,n)).return=e,t)}function f(e,t,n){if("string"==typeof t&&""!==t||"number"==typeof t)return(t=Mu(""+t,e.mode,n)).return=e,t;if("object"==typeof t&&null!==t){switch(t.$$typeof){case w:return(n=Ou(t.type,t.key,t.props,null,e.mode,n)).ref=Wi(e,null,t),n.return=e,n;case x:return(t=Nu(t,e.mode,n)).return=e,t;case R:return f(e,(0,t._init)(t._payload),n)}if(te(t)||N(t))return(t=Ru(t,e.mode,n,null)).return=e,t;Vi(e,t)}return null}function p(e,t,n,r){var o=null!==t?t.key:null;if("string"==typeof n&&""!==n||"number"==typeof n)return null!==o?null:s(e,t,""+n,r);if("object"==typeof n&&null!==n){switch(n.$$typeof){case w:return n.key===o?u(e,t,n,r):null;case x:return n.key===o?c(e,t,n,r):null;case R:return p(e,t,(o=n._init)(n._payload),r)}if(te(n)||N(n))return null!==o?null:d(e,t,n,r,null);Vi(e,n)}return null}function h(e,t,n,r,o){if("string"==typeof r&&""!==r||"number"==typeof r)return s(t,e=e.get(n)||null,""+r,o);if("object"==typeof r&&null!==r){switch(r.$$typeof){case w:return u(t,e=e.get(null===r.key?n:r.key)||null,r,o);case x:return c(t,e=e.get(null===r.key?n:r.key)||null,r,o);case R:return h(e,t,n,(0,r._init)(r._payload),o)}if(te(r)||N(r))return d(t,e=e.get(n)||null,r,o,null);Vi(t,r)}return null}function g(o,i,l,s){for(var u=null,c=null,d=i,g=i=0,m=null;null!==d&&g<l.length;g++){d.index>g?(m=d,d=null):m=d.sibling;var v=p(o,d,l[g],s);if(null===v){null===d&&(d=m);break}e&&d&&null===v.alternate&&t(o,d),i=a(v,i,g),null===c?u=v:c.sibling=v,c=v,d=m}if(g===l.length)return n(o,d),ni&&Zo(o,g),u;if(null===d){for(;g<l.length;g++)null!==(d=f(o,l[g],s))&&(i=a(d,i,g),null===c?u=d:c.sibling=d,c=d);return ni&&Zo(o,g),u}for(d=r(o,d);g<l.length;g++)null!==(m=h(d,o,g,l[g],s))&&(e&&null!==m.alternate&&d.delete(null===m.key?g:m.key),i=a(m,i,g),null===c?u=m:c.sibling=m,c=m);return e&&d.forEach((function(e){return t(o,e)})),ni&&Zo(o,g),u}function m(o,l,s,u){var c=N(s);if("function"!=typeof c)throw Error(i(150));if(null==(s=c.call(s)))throw Error(i(151));for(var d=c=null,g=l,m=l=0,v=null,b=s.next();null!==g&&!b.done;m++,b=s.next()){g.index>m?(v=g,g=null):v=g.sibling;var y=p(o,g,b.value,u);if(null===y){null===g&&(g=v);break}e&&g&&null===y.alternate&&t(o,g),l=a(y,l,m),null===d?c=y:d.sibling=y,d=y,g=v}if(b.done)return n(o,g),ni&&Zo(o,m),c;if(null===g){for(;!b.done;m++,b=s.next())null!==(b=f(o,b.value,u))&&(l=a(b,l,m),null===d?c=b:d.sibling=b,d=b);return ni&&Zo(o,m),c}for(g=r(o,g);!b.done;m++,b=s.next())null!==(b=h(g,o,m,b.value,u))&&(e&&null!==b.alternate&&g.delete(null===b.key?m:b.key),l=a(b,l,m),null===d?c=b:d.sibling=b,d=b);return e&&g.forEach((function(e){return t(o,e)})),ni&&Zo(o,m),c}return function e(r,i,a,s){if("object"==typeof a&&null!==a&&a.type===E&&null===a.key&&(a=a.props.children),"object"==typeof a&&null!==a){switch(a.$$typeof){case w:e:{for(var u=a.key,c=i;null!==c;){if(c.key===u){if((u=a.type)===E){if(7===c.tag){n(r,c.sibling),(i=o(c,a.props.children)).return=r,r=i;break e}}else if(c.elementType===u||"object"==typeof u&&null!==u&&u.$$typeof===R&&Qi(u)===c.type){n(r,c.sibling),(i=o(c,a.props)).ref=Wi(r,c,a),i.return=r,r=i;break e}n(r,c);break}t(r,c),c=c.sibling}a.type===E?((i=Ru(a.props.children,r.mode,s,a.key)).return=r,r=i):((s=Ou(a.type,a.key,a.props,null,r.mode,s)).ref=Wi(r,i,a),s.return=r,r=s)}return l(r);case x:e:{for(c=a.key;null!==i;){if(i.key===c){if(4===i.tag&&i.stateNode.containerInfo===a.containerInfo&&i.stateNode.implementation===a.implementation){n(r,i.sibling),(i=o(i,a.children||[])).return=r,r=i;break e}n(r,i);break}t(r,i),i=i.sibling}(i=Nu(a,r.mode,s)).return=r,r=i}return l(r);case R:return e(r,i,(c=a._init)(a._payload),s)}if(te(a))return g(r,i,a,s);if(N(a))return m(r,i,a,s);Vi(r,a)}return"string"==typeof a&&""!==a||"number"==typeof a?(a=""+a,null!==i&&6===i.tag?(n(r,i.sibling),(i=o(i,a)).return=r,r=i):(n(r,i),(i=Mu(a,r.mode,s)).return=r,r=i),l(r)):n(r,i)}}var $i=Gi(!0),Yi=Gi(!1),Zi={},Ki=xo(Zi),Ji=xo(Zi),Xi=xo(Zi);function ea(e){if(e===Zi)throw Error(i(174));return e}function ta(e,t){switch(ko(Xi,t),ko(Ji,e),ko(Ki,Zi),e=t.nodeType){case 9:case 11:t=(t=t.documentElement)?t.namespaceURI:se(null,"");break;default:t=se(t=(e=8===e?t.parentNode:t).namespaceURI||null,e=e.tagName)}Eo(Ki),ko(Ki,t)}function na(){Eo(Ki),Eo(Ji),Eo(Xi)}function ra(e){ea(Xi.current);var t=ea(Ki.current),n=se(t,e.type);t!==n&&(ko(Ji,e),ko(Ki,n))}function oa(e){Ji.current===e&&(Eo(Ki),Eo(Ji))}var ia=xo(0);function aa(e){for(var t=e;null!==t;){if(13===t.tag){var n=t.memoizedState;if(null!==n&&(null===(n=n.dehydrated)||"$?"===n.data||"$!"===n.data))return t}else if(19===t.tag&&void 0!==t.memoizedProps.revealOrder){if(0!=(128&t.flags))return t}else if(null!==t.child){t.child.return=t,t=t.child;continue}if(t===e)break;for(;null===t.sibling;){if(null===t.return||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}return null}var la=[];function sa(){for(var e=0;e<la.length;e++)la[e]._workInProgressVersionPrimary=null;la.length=0}var ua=A.ReactCurrentDispatcher,ca=A.ReactCurrentBatchConfig,da=0,fa=null,pa=null,ha=null,ga=!1,ma=!1,va=0,ba=0;function ya(){throw Error(i(321))}function Aa(e,t){if(null===t)return!1;for(var n=0;n<t.length&&n<e.length;n++)if(!or(e[n],t[n]))return!1;return!0}function wa(e,t,n,r,o,a){if(da=a,fa=t,t.memoizedState=null,t.updateQueue=null,t.lanes=0,ua.current=null===e||null===e.memoizedState?ol:il,e=n(r,o),ma){a=0;do{if(ma=!1,va=0,25<=a)throw Error(i(301));a+=1,ha=pa=null,t.updateQueue=null,ua.current=al,e=n(r,o)}while(ma)}if(ua.current=rl,t=null!==pa&&null!==pa.next,da=0,ha=pa=fa=null,ga=!1,t)throw Error(i(300));return e}function xa(){var e=0!==va;return va=0,e}function Ea(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return null===ha?fa.memoizedState=ha=e:ha=ha.next=e,ha}function ka(){if(null===pa){var e=fa.alternate;e=null!==e?e.memoizedState:null}else e=pa.next;var t=null===ha?fa.memoizedState:ha.next;if(null!==t)ha=t,pa=e;else{if(null===e)throw Error(i(310));e={memoizedState:(pa=e).memoizedState,baseState:pa.baseState,baseQueue:pa.baseQueue,queue:pa.queue,next:null},null===ha?fa.memoizedState=ha=e:ha=ha.next=e}return ha}function Sa(e,t){return"function"==typeof t?t(e):t}function _a(e){var t=ka(),n=t.queue;if(null===n)throw Error(i(311));n.lastRenderedReducer=e;var r=pa,o=r.baseQueue,a=n.pending;if(null!==a){if(null!==o){var l=o.next;o.next=a.next,a.next=l}r.baseQueue=o=a,n.pending=null}if(null!==o){a=o.next,r=r.baseState;var s=l=null,u=null,c=a;do{var d=c.lane;if((da&d)===d)null!==u&&(u=u.next={lane:0,action:c.action,hasEagerState:c.hasEagerState,eagerState:c.eagerState,next:null}),r=c.hasEagerState?c.eagerState:e(r,c.action);else{var f={lane:d,action:c.action,hasEagerState:c.hasEagerState,eagerState:c.eagerState,next:null};null===u?(s=u=f,l=r):u=u.next=f,fa.lanes|=d,Ps|=d}c=c.next}while(null!==c&&c!==a);null===u?l=r:u.next=s,or(r,t.memoizedState)||(vl=!0),t.memoizedState=r,t.baseState=l,t.baseQueue=u,n.lastRenderedState=r}if(null!==(e=n.interleaved)){o=e;do{a=o.lane,fa.lanes|=a,Ps|=a,o=o.next}while(o!==e)}else null===o&&(n.lanes=0);return[t.memoizedState,n.dispatch]}function Ca(e){var t=ka(),n=t.queue;if(null===n)throw Error(i(311));n.lastRenderedReducer=e;var r=n.dispatch,o=n.pending,a=t.memoizedState;if(null!==o){n.pending=null;var l=o=o.next;do{a=e(a,l.action),l=l.next}while(l!==o);or(a,t.memoizedState)||(vl=!0),t.memoizedState=a,null===t.baseQueue&&(t.baseState=a),n.lastRenderedState=a}return[a,r]}function Ta(){}function Da(e,t){var n=fa,r=ka(),o=t(),a=!or(r.memoizedState,o);if(a&&(r.memoizedState=o,vl=!0),r=r.queue,Ha(Ra.bind(null,n,r,e),[e]),r.getSnapshot!==t||a||null!==ha&&1&ha.memoizedState.tag){if(n.flags|=2048,Ba(9,Oa.bind(null,n,r,o,t),void 0,null),null===_s)throw Error(i(349));0!=(30&da)||La(n,t,o)}return o}function La(e,t,n){e.flags|=16384,e={getSnapshot:t,value:n},null===(t=fa.updateQueue)?(t={lastEffect:null,stores:null},fa.updateQueue=t,t.stores=[e]):null===(n=t.stores)?t.stores=[e]:n.push(e)}function Oa(e,t,n,r){t.value=n,t.getSnapshot=r,Pa(t)&&Ma(e)}function Ra(e,t,n){return n((function(){Pa(t)&&Ma(e)}))}function Pa(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!or(e,n)}catch(e){return!0}}function Ma(e){var t=Ci(e,1);null!==t&&Xs(t,e,1,-1)}function Na(e){var t=Ea();return"function"==typeof e&&(e=e()),t.memoizedState=t.baseState=e,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:Sa,lastRenderedState:e},t.queue=e,e=e.dispatch=Xa.bind(null,fa,e),[t.memoizedState,e]}function Ba(e,t,n,r){return e={tag:e,create:t,destroy:n,deps:r,next:null},null===(t=fa.updateQueue)?(t={lastEffect:null,stores:null},fa.updateQueue=t,t.lastEffect=e.next=e):null===(n=t.lastEffect)?t.lastEffect=e.next=e:(r=n.next,n.next=e,e.next=r,t.lastEffect=e),e}function Ia(){return ka().memoizedState}function ja(e,t,n,r){var o=Ea();fa.flags|=e,o.memoizedState=Ba(1|t,n,void 0,void 0===r?null:r)}function Fa(e,t,n,r){var o=ka();r=void 0===r?null:r;var i=void 0;if(null!==pa){var a=pa.memoizedState;if(i=a.destroy,null!==r&&Aa(r,a.deps))return void(o.memoizedState=Ba(t,n,i,r))}fa.flags|=e,o.memoizedState=Ba(1|t,n,i,r)}function za(e,t){return ja(8390656,8,e,t)}function Ha(e,t){return Fa(2048,8,e,t)}function qa(e,t){return Fa(4,2,e,t)}function Ua(e,t){return Fa(4,4,e,t)}function Wa(e,t){return"function"==typeof t?(e=e(),t(e),function(){t(null)}):null!=t?(e=e(),t.current=e,function(){t.current=null}):void 0}function Va(e,t,n){return n=null!=n?n.concat([e]):null,Fa(4,4,Wa.bind(null,t,e),n)}function Qa(){}function Ga(e,t){var n=ka();t=void 0===t?null:t;var r=n.memoizedState;return null!==r&&null!==t&&Aa(t,r[1])?r[0]:(n.memoizedState=[e,t],e)}function $a(e,t){var n=ka();t=void 0===t?null:t;var r=n.memoizedState;return null!==r&&null!==t&&Aa(t,r[1])?r[0]:(e=e(),n.memoizedState=[e,t],e)}function Ya(e,t,n){return 0==(21&da)?(e.baseState&&(e.baseState=!1,vl=!0),e.memoizedState=n):(or(n,t)||(n=gt(),fa.lanes|=n,Ps|=n,e.baseState=!0),t)}function Za(e,t){var n=yt;yt=0!==n&&4>n?n:4,e(!0);var r=ca.transition;ca.transition={};try{e(!1),t()}finally{yt=n,ca.transition=r}}function Ka(){return ka().memoizedState}function Ja(e,t,n){var r=Js(e);n={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null},el(e)?tl(t,n):null!==(n=_i(e,t,n,r))&&(Xs(n,e,r,Ks()),nl(n,t,r))}function Xa(e,t,n){var r=Js(e),o={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null};if(el(e))tl(t,o);else{var i=e.alternate;if(0===e.lanes&&(null===i||0===i.lanes)&&null!==(i=t.lastRenderedReducer))try{var a=t.lastRenderedState,l=i(a,n);if(o.hasEagerState=!0,o.eagerState=l,or(l,a)){var s=t.interleaved;return null===s?(o.next=o,Si(t)):(o.next=s.next,s.next=o),void(t.interleaved=o)}}catch(e){}null!==(n=_i(e,t,o,r))&&(Xs(n,e,r,o=Ks()),nl(n,t,r))}}function el(e){var t=e.alternate;return e===fa||null!==t&&t===fa}function tl(e,t){ma=ga=!0;var n=e.pending;null===n?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function nl(e,t,n){if(0!=(4194240&n)){var r=t.lanes;n|=r&=e.pendingLanes,t.lanes=n,bt(e,n)}}var rl={readContext:Ei,useCallback:ya,useContext:ya,useEffect:ya,useImperativeHandle:ya,useInsertionEffect:ya,useLayoutEffect:ya,useMemo:ya,useReducer:ya,useRef:ya,useState:ya,useDebugValue:ya,useDeferredValue:ya,useTransition:ya,useMutableSource:ya,useSyncExternalStore:ya,useId:ya,unstable_isNewReconciler:!1},ol={readContext:Ei,useCallback:function(e,t){return Ea().memoizedState=[e,void 0===t?null:t],e},useContext:Ei,useEffect:za,useImperativeHandle:function(e,t,n){return n=null!=n?n.concat([e]):null,ja(4194308,4,Wa.bind(null,t,e),n)},useLayoutEffect:function(e,t){return ja(4194308,4,e,t)},useInsertionEffect:function(e,t){return ja(4,2,e,t)},useMemo:function(e,t){var n=Ea();return t=void 0===t?null:t,e=e(),n.memoizedState=[e,t],e},useReducer:function(e,t,n){var r=Ea();return t=void 0!==n?n(t):t,r.memoizedState=r.baseState=t,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:t},r.queue=e,e=e.dispatch=Ja.bind(null,fa,e),[r.memoizedState,e]},useRef:function(e){return e={current:e},Ea().memoizedState=e},useState:Na,useDebugValue:Qa,useDeferredValue:function(e){return Ea().memoizedState=e},useTransition:function(){var e=Na(!1),t=e[0];return e=Za.bind(null,e[1]),Ea().memoizedState=e,[t,e]},useMutableSource:function(){},useSyncExternalStore:function(e,t,n){var r=fa,o=Ea();if(ni){if(void 0===n)throw Error(i(407));n=n()}else{if(n=t(),null===_s)throw Error(i(349));0!=(30&da)||La(r,t,n)}o.memoizedState=n;var a={value:n,getSnapshot:t};return o.queue=a,za(Ra.bind(null,r,a,e),[e]),r.flags|=2048,Ba(9,Oa.bind(null,r,a,n,t),void 0,null),n},useId:function(){var e=Ea(),t=_s.identifierPrefix;if(ni){var n=Yo;t=":"+t+"R"+(n=($o&~(1<<32-at($o)-1)).toString(32)+n),0<(n=va++)&&(t+="H"+n.toString(32)),t+=":"}else t=":"+t+"r"+(n=ba++).toString(32)+":";return e.memoizedState=t},unstable_isNewReconciler:!1},il={readContext:Ei,useCallback:Ga,useContext:Ei,useEffect:Ha,useImperativeHandle:Va,useInsertionEffect:qa,useLayoutEffect:Ua,useMemo:$a,useReducer:_a,useRef:Ia,useState:function(){return _a(Sa)},useDebugValue:Qa,useDeferredValue:function(e){return Ya(ka(),pa.memoizedState,e)},useTransition:function(){return[_a(Sa)[0],ka().memoizedState]},useMutableSource:Ta,useSyncExternalStore:Da,useId:Ka,unstable_isNewReconciler:!1},al={readContext:Ei,useCallback:Ga,useContext:Ei,useEffect:Ha,useImperativeHandle:Va,useInsertionEffect:qa,useLayoutEffect:Ua,useMemo:$a,useReducer:Ca,useRef:Ia,useState:function(){return Ca(Sa)},useDebugValue:Qa,useDeferredValue:function(e){var t=ka();return null===pa?t.memoizedState=e:Ya(t,pa.memoizedState,e)},useTransition:function(){return[Ca(Sa)[0],ka().memoizedState]},useMutableSource:Ta,useSyncExternalStore:Da,useId:Ka,unstable_isNewReconciler:!1};function ll(e,t){try{var n="",r=t;do{n+=H(r),r=r.return}while(r);var o=n}catch(e){o="\nError generating stack: "+e.message+"\n"+e.stack}return{value:e,source:t,stack:o,digest:null}}function sl(e,t,n){return{value:e,source:null,stack:null!=n?n:null,digest:null!=t?t:null}}function ul(e,t){try{console.error(t.value)}catch(e){setTimeout((function(){throw e}))}}var cl="function"==typeof WeakMap?WeakMap:Map;function dl(e,t,n){(n=Oi(-1,n)).tag=3,n.payload={element:null};var r=t.value;return n.callback=function(){Hs||(Hs=!0,qs=r),ul(0,t)},n}function fl(e,t,n){(n=Oi(-1,n)).tag=3;var r=e.type.getDerivedStateFromError;if("function"==typeof r){var o=t.value;n.payload=function(){return r(o)},n.callback=function(){ul(0,t)}}var i=e.stateNode;return null!==i&&"function"==typeof i.componentDidCatch&&(n.callback=function(){ul(0,t),"function"!=typeof r&&(null===Us?Us=new Set([this]):Us.add(this));var e=t.stack;this.componentDidCatch(t.value,{componentStack:null!==e?e:""})}),n}function pl(e,t,n){var r=e.pingCache;if(null===r){r=e.pingCache=new cl;var o=new Set;r.set(t,o)}else void 0===(o=r.get(t))&&(o=new Set,r.set(t,o));o.has(n)||(o.add(n),e=xu.bind(null,e,t,n),t.then(e,e))}function hl(e){do{var t;if((t=13===e.tag)&&(t=null===(t=e.memoizedState)||null!==t.dehydrated),t)return e;e=e.return}while(null!==e);return null}function gl(e,t,n,r,o){return 0==(1&e.mode)?(e===t?e.flags|=65536:(e.flags|=128,n.flags|=131072,n.flags&=-52805,1===n.tag&&(null===n.alternate?n.tag=17:((t=Oi(-1,1)).tag=2,Ri(n,t,1))),n.lanes|=1),e):(e.flags|=65536,e.lanes=o,e)}var ml=A.ReactCurrentOwner,vl=!1;function bl(e,t,n,r){t.child=null===e?Yi(t,null,n,r):$i(t,e.child,n,r)}function yl(e,t,n,r,o){n=n.render;var i=t.ref;return xi(t,o),r=wa(e,t,n,r,i,o),n=xa(),null===e||vl?(ni&&n&&Jo(t),t.flags|=1,bl(e,t,r,o),t.child):(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~o,Hl(e,t,o))}function Al(e,t,n,r,o){if(null===e){var i=n.type;return"function"!=typeof i||Du(i)||void 0!==i.defaultProps||null!==n.compare||void 0!==n.defaultProps?((e=Ou(n.type,null,r,t,t.mode,o)).ref=t.ref,e.return=t,t.child=e):(t.tag=15,t.type=i,wl(e,t,i,r,o))}if(i=e.child,0==(e.lanes&o)){var a=i.memoizedProps;if((n=null!==(n=n.compare)?n:ir)(a,r)&&e.ref===t.ref)return Hl(e,t,o)}return t.flags|=1,(e=Lu(i,r)).ref=t.ref,e.return=t,t.child=e}function wl(e,t,n,r,o){if(null!==e){var i=e.memoizedProps;if(ir(i,r)&&e.ref===t.ref){if(vl=!1,t.pendingProps=r=i,0==(e.lanes&o))return t.lanes=e.lanes,Hl(e,t,o);0!=(131072&e.flags)&&(vl=!0)}}return kl(e,t,n,r,o)}function xl(e,t,n){var r=t.pendingProps,o=r.children,i=null!==e?e.memoizedState:null;if("hidden"===r.mode)if(0==(1&t.mode))t.memoizedState={baseLanes:0,cachePool:null,transitions:null},ko(Ls,Ds),Ds|=n;else{if(0==(1073741824&n))return e=null!==i?i.baseLanes|n:n,t.lanes=t.childLanes=1073741824,t.memoizedState={baseLanes:e,cachePool:null,transitions:null},t.updateQueue=null,ko(Ls,Ds),Ds|=e,null;t.memoizedState={baseLanes:0,cachePool:null,transitions:null},r=null!==i?i.baseLanes:n,ko(Ls,Ds),Ds|=r}else null!==i?(r=i.baseLanes|n,t.memoizedState=null):r=n,ko(Ls,Ds),Ds|=r;return bl(e,t,o,n),t.child}function El(e,t){var n=t.ref;(null===e&&null!==n||null!==e&&e.ref!==n)&&(t.flags|=512,t.flags|=2097152)}function kl(e,t,n,r,o){var i=Lo(n)?To:_o.current;return i=Do(t,i),xi(t,o),n=wa(e,t,n,r,i,o),r=xa(),null===e||vl?(ni&&r&&Jo(t),t.flags|=1,bl(e,t,n,o),t.child):(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~o,Hl(e,t,o))}function Sl(e,t,n,r,o){if(Lo(n)){var i=!0;Mo(t)}else i=!1;if(xi(t,o),null===t.stateNode)zl(e,t),Hi(t,n,r),Ui(t,n,r,o),r=!0;else if(null===e){var a=t.stateNode,l=t.memoizedProps;a.props=l;var s=a.context,u=n.contextType;u="object"==typeof u&&null!==u?Ei(u):Do(t,u=Lo(n)?To:_o.current);var c=n.getDerivedStateFromProps,d="function"==typeof c||"function"==typeof a.getSnapshotBeforeUpdate;d||"function"!=typeof a.UNSAFE_componentWillReceiveProps&&"function"!=typeof a.componentWillReceiveProps||(l!==r||s!==u)&&qi(t,a,r,u),Ti=!1;var f=t.memoizedState;a.state=f,Ni(t,r,a,o),s=t.memoizedState,l!==r||f!==s||Co.current||Ti?("function"==typeof c&&(ji(t,n,c,r),s=t.memoizedState),(l=Ti||zi(t,n,l,r,f,s,u))?(d||"function"!=typeof a.UNSAFE_componentWillMount&&"function"!=typeof a.componentWillMount||("function"==typeof a.componentWillMount&&a.componentWillMount(),"function"==typeof a.UNSAFE_componentWillMount&&a.UNSAFE_componentWillMount()),"function"==typeof a.componentDidMount&&(t.flags|=4194308)):("function"==typeof a.componentDidMount&&(t.flags|=4194308),t.memoizedProps=r,t.memoizedState=s),a.props=r,a.state=s,a.context=u,r=l):("function"==typeof a.componentDidMount&&(t.flags|=4194308),r=!1)}else{a=t.stateNode,Li(e,t),l=t.memoizedProps,u=t.type===t.elementType?l:hi(t.type,l),a.props=u,d=t.pendingProps,f=a.context,s="object"==typeof(s=n.contextType)&&null!==s?Ei(s):Do(t,s=Lo(n)?To:_o.current);var p=n.getDerivedStateFromProps;(c="function"==typeof p||"function"==typeof a.getSnapshotBeforeUpdate)||"function"!=typeof a.UNSAFE_componentWillReceiveProps&&"function"!=typeof a.componentWillReceiveProps||(l!==d||f!==s)&&qi(t,a,r,s),Ti=!1,f=t.memoizedState,a.state=f,Ni(t,r,a,o);var h=t.memoizedState;l!==d||f!==h||Co.current||Ti?("function"==typeof p&&(ji(t,n,p,r),h=t.memoizedState),(u=Ti||zi(t,n,u,r,f,h,s)||!1)?(c||"function"!=typeof a.UNSAFE_componentWillUpdate&&"function"!=typeof a.componentWillUpdate||("function"==typeof a.componentWillUpdate&&a.componentWillUpdate(r,h,s),"function"==typeof a.UNSAFE_componentWillUpdate&&a.UNSAFE_componentWillUpdate(r,h,s)),"function"==typeof a.componentDidUpdate&&(t.flags|=4),"function"==typeof a.getSnapshotBeforeUpdate&&(t.flags|=1024)):("function"!=typeof a.componentDidUpdate||l===e.memoizedProps&&f===e.memoizedState||(t.flags|=4),"function"!=typeof a.getSnapshotBeforeUpdate||l===e.memoizedProps&&f===e.memoizedState||(t.flags|=1024),t.memoizedProps=r,t.memoizedState=h),a.props=r,a.state=h,a.context=s,r=u):("function"!=typeof a.componentDidUpdate||l===e.memoizedProps&&f===e.memoizedState||(t.flags|=4),"function"!=typeof a.getSnapshotBeforeUpdate||l===e.memoizedProps&&f===e.memoizedState||(t.flags|=1024),r=!1)}return _l(e,t,n,r,i,o)}function _l(e,t,n,r,o,i){El(e,t);var a=0!=(128&t.flags);if(!r&&!a)return o&&No(t,n,!1),Hl(e,t,i);r=t.stateNode,ml.current=t;var l=a&&"function"!=typeof n.getDerivedStateFromError?null:r.render();return t.flags|=1,null!==e&&a?(t.child=$i(t,e.child,null,i),t.child=$i(t,null,l,i)):bl(e,t,l,i),t.memoizedState=r.state,o&&No(t,n,!0),t.child}function Cl(e){var t=e.stateNode;t.pendingContext?Ro(0,t.pendingContext,t.pendingContext!==t.context):t.context&&Ro(0,t.context,!1),ta(e,t.containerInfo)}function Tl(e,t,n,r,o){return di(),fi(o),t.flags|=256,bl(e,t,n,r),t.child}var Dl,Ll,Ol,Rl={dehydrated:null,treeContext:null,retryLane:0};function Pl(e){return{baseLanes:e,cachePool:null,transitions:null}}function Ml(e,t,n){var r,o=t.pendingProps,a=ia.current,l=!1,s=0!=(128&t.flags);if((r=s)||(r=(null===e||null!==e.memoizedState)&&0!=(2&a)),r?(l=!0,t.flags&=-129):null!==e&&null===e.memoizedState||(a|=1),ko(ia,1&a),null===e)return li(t),null!==(e=t.memoizedState)&&null!==(e=e.dehydrated)?(0==(1&t.mode)?t.lanes=1:"$!"===e.data?t.lanes=8:t.lanes=1073741824,null):(s=o.children,e=o.fallback,l?(o=t.mode,l=t.child,s={mode:"hidden",children:s},0==(1&o)&&null!==l?(l.childLanes=0,l.pendingProps=s):l=Pu(s,o,0,null),e=Ru(e,o,n,null),l.return=t,e.return=t,l.sibling=e,t.child=l,t.child.memoizedState=Pl(n),t.memoizedState=Rl,e):Nl(t,s));if(null!==(a=e.memoizedState)&&null!==(r=a.dehydrated))return function(e,t,n,r,o,a,l){if(n)return 256&t.flags?(t.flags&=-257,Bl(e,t,l,r=sl(Error(i(422))))):null!==t.memoizedState?(t.child=e.child,t.flags|=128,null):(a=r.fallback,o=t.mode,r=Pu({mode:"visible",children:r.children},o,0,null),(a=Ru(a,o,l,null)).flags|=2,r.return=t,a.return=t,r.sibling=a,t.child=r,0!=(1&t.mode)&&$i(t,e.child,null,l),t.child.memoizedState=Pl(l),t.memoizedState=Rl,a);if(0==(1&t.mode))return Bl(e,t,l,null);if("$!"===o.data){if(r=o.nextSibling&&o.nextSibling.dataset)var s=r.dgst;return r=s,Bl(e,t,l,r=sl(a=Error(i(419)),r,void 0))}if(s=0!=(l&e.childLanes),vl||s){if(null!==(r=_s)){switch(l&-l){case 4:o=2;break;case 16:o=8;break;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:o=32;break;case 536870912:o=268435456;break;default:o=0}0!==(o=0!=(o&(r.suspendedLanes|l))?0:o)&&o!==a.retryLane&&(a.retryLane=o,Ci(e,o),Xs(r,e,o,-1))}return fu(),Bl(e,t,l,r=sl(Error(i(421))))}return"$?"===o.data?(t.flags|=128,t.child=e.child,t=ku.bind(null,e),o._reactRetry=t,null):(e=a.treeContext,ti=ao(o.nextSibling),ei=t,ni=!0,ri=null,null!==e&&(Vo[Qo++]=$o,Vo[Qo++]=Yo,Vo[Qo++]=Go,$o=e.id,Yo=e.overflow,Go=t),(t=Nl(t,r.children)).flags|=4096,t)}(e,t,s,o,r,a,n);if(l){l=o.fallback,s=t.mode,r=(a=e.child).sibling;var u={mode:"hidden",children:o.children};return 0==(1&s)&&t.child!==a?((o=t.child).childLanes=0,o.pendingProps=u,t.deletions=null):(o=Lu(a,u)).subtreeFlags=14680064&a.subtreeFlags,null!==r?l=Lu(r,l):(l=Ru(l,s,n,null)).flags|=2,l.return=t,o.return=t,o.sibling=l,t.child=o,o=l,l=t.child,s=null===(s=e.child.memoizedState)?Pl(n):{baseLanes:s.baseLanes|n,cachePool:null,transitions:s.transitions},l.memoizedState=s,l.childLanes=e.childLanes&~n,t.memoizedState=Rl,o}return e=(l=e.child).sibling,o=Lu(l,{mode:"visible",children:o.children}),0==(1&t.mode)&&(o.lanes=n),o.return=t,o.sibling=null,null!==e&&(null===(n=t.deletions)?(t.deletions=[e],t.flags|=16):n.push(e)),t.child=o,t.memoizedState=null,o}function Nl(e,t){return(t=Pu({mode:"visible",children:t},e.mode,0,null)).return=e,e.child=t}function Bl(e,t,n,r){return null!==r&&fi(r),$i(t,e.child,null,n),(e=Nl(t,t.pendingProps.children)).flags|=2,t.memoizedState=null,e}function Il(e,t,n){e.lanes|=t;var r=e.alternate;null!==r&&(r.lanes|=t),wi(e.return,t,n)}function jl(e,t,n,r,o){var i=e.memoizedState;null===i?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:r,tail:n,tailMode:o}:(i.isBackwards=t,i.rendering=null,i.renderingStartTime=0,i.last=r,i.tail=n,i.tailMode=o)}function Fl(e,t,n){var r=t.pendingProps,o=r.revealOrder,i=r.tail;if(bl(e,t,r.children,n),0!=(2&(r=ia.current)))r=1&r|2,t.flags|=128;else{if(null!==e&&0!=(128&e.flags))e:for(e=t.child;null!==e;){if(13===e.tag)null!==e.memoizedState&&Il(e,n,t);else if(19===e.tag)Il(e,n,t);else if(null!==e.child){e.child.return=e,e=e.child;continue}if(e===t)break e;for(;null===e.sibling;){if(null===e.return||e.return===t)break e;e=e.return}e.sibling.return=e.return,e=e.sibling}r&=1}if(ko(ia,r),0==(1&t.mode))t.memoizedState=null;else switch(o){case"forwards":for(n=t.child,o=null;null!==n;)null!==(e=n.alternate)&&null===aa(e)&&(o=n),n=n.sibling;null===(n=o)?(o=t.child,t.child=null):(o=n.sibling,n.sibling=null),jl(t,!1,o,n,i);break;case"backwards":for(n=null,o=t.child,t.child=null;null!==o;){if(null!==(e=o.alternate)&&null===aa(e)){t.child=o;break}e=o.sibling,o.sibling=n,n=o,o=e}jl(t,!0,n,null,i);break;case"together":jl(t,!1,null,null,void 0);break;default:t.memoizedState=null}return t.child}function zl(e,t){0==(1&t.mode)&&null!==e&&(e.alternate=null,t.alternate=null,t.flags|=2)}function Hl(e,t,n){if(null!==e&&(t.dependencies=e.dependencies),Ps|=t.lanes,0==(n&t.childLanes))return null;if(null!==e&&t.child!==e.child)throw Error(i(153));if(null!==t.child){for(n=Lu(e=t.child,e.pendingProps),t.child=n,n.return=t;null!==e.sibling;)e=e.sibling,(n=n.sibling=Lu(e,e.pendingProps)).return=t;n.sibling=null}return t.child}function ql(e,t){if(!ni)switch(e.tailMode){case"hidden":t=e.tail;for(var n=null;null!==t;)null!==t.alternate&&(n=t),t=t.sibling;null===n?e.tail=null:n.sibling=null;break;case"collapsed":n=e.tail;for(var r=null;null!==n;)null!==n.alternate&&(r=n),n=n.sibling;null===r?t||null===e.tail?e.tail=null:e.tail.sibling=null:r.sibling=null}}function Ul(e){var t=null!==e.alternate&&e.alternate.child===e.child,n=0,r=0;if(t)for(var o=e.child;null!==o;)n|=o.lanes|o.childLanes,r|=14680064&o.subtreeFlags,r|=14680064&o.flags,o.return=e,o=o.sibling;else for(o=e.child;null!==o;)n|=o.lanes|o.childLanes,r|=o.subtreeFlags,r|=o.flags,o.return=e,o=o.sibling;return e.subtreeFlags|=r,e.childLanes=n,t}function Wl(e,t,n){var r=t.pendingProps;switch(Xo(t),t.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return Ul(t),null;case 1:case 17:return Lo(t.type)&&Oo(),Ul(t),null;case 3:return r=t.stateNode,na(),Eo(Co),Eo(_o),sa(),r.pendingContext&&(r.context=r.pendingContext,r.pendingContext=null),null!==e&&null!==e.child||(ui(t)?t.flags|=4:null===e||e.memoizedState.isDehydrated&&0==(256&t.flags)||(t.flags|=1024,null!==ri&&(ru(ri),ri=null))),Ul(t),null;case 5:oa(t);var o=ea(Xi.current);if(n=t.type,null!==e&&null!=t.stateNode)Ll(e,t,n,r),e.ref!==t.ref&&(t.flags|=512,t.flags|=2097152);else{if(!r){if(null===t.stateNode)throw Error(i(166));return Ul(t),null}if(e=ea(Ki.current),ui(t)){r=t.stateNode,n=t.type;var a=t.memoizedProps;switch(r[uo]=t,r[co]=a,e=0!=(1&t.mode),n){case"dialog":Br("cancel",r),Br("close",r);break;case"iframe":case"object":case"embed":Br("load",r);break;case"video":case"audio":for(o=0;o<Rr.length;o++)Br(Rr[o],r);break;case"source":Br("error",r);break;case"img":case"image":case"link":Br("error",r),Br("load",r);break;case"details":Br("toggle",r);break;case"input":Z(r,a),Br("invalid",r);break;case"select":r._wrapperState={wasMultiple:!!a.multiple},Br("invalid",r);break;case"textarea":oe(r,a),Br("invalid",r)}for(var s in be(n,a),o=null,a)if(a.hasOwnProperty(s)){var u=a[s];"children"===s?"string"==typeof u?r.textContent!==u&&(!0!==a.suppressHydrationWarning&&Yr(r.textContent,u,e),o=["children",u]):"number"==typeof u&&r.textContent!==""+u&&(!0!==a.suppressHydrationWarning&&Yr(r.textContent,u,e),o=["children",""+u]):l.hasOwnProperty(s)&&null!=u&&"onScroll"===s&&Br("scroll",r)}switch(n){case"input":Q(r),X(r,a,!0);break;case"textarea":Q(r),ae(r);break;case"select":case"option":break;default:"function"==typeof a.onClick&&(r.onclick=Zr)}r=o,t.updateQueue=r,null!==r&&(t.flags|=4)}else{s=9===o.nodeType?o:o.ownerDocument,"http://www.w3.org/1999/xhtml"===e&&(e=le(n)),"http://www.w3.org/1999/xhtml"===e?"script"===n?((e=s.createElement("div")).innerHTML="<script><\/script>",e=e.removeChild(e.firstChild)):"string"==typeof r.is?e=s.createElement(n,{is:r.is}):(e=s.createElement(n),"select"===n&&(s=e,r.multiple?s.multiple=!0:r.size&&(s.size=r.size))):e=s.createElementNS(e,n),e[uo]=t,e[co]=r,Dl(e,t),t.stateNode=e;e:{switch(s=ye(n,r),n){case"dialog":Br("cancel",e),Br("close",e),o=r;break;case"iframe":case"object":case"embed":Br("load",e),o=r;break;case"video":case"audio":for(o=0;o<Rr.length;o++)Br(Rr[o],e);o=r;break;case"source":Br("error",e),o=r;break;case"img":case"image":case"link":Br("error",e),Br("load",e),o=r;break;case"details":Br("toggle",e),o=r;break;case"input":Z(e,r),o=Y(e,r),Br("invalid",e);break;case"option":default:o=r;break;case"select":e._wrapperState={wasMultiple:!!r.multiple},o=I({},r,{value:void 0}),Br("invalid",e);break;case"textarea":oe(e,r),o=re(e,r),Br("invalid",e)}for(a in be(n,o),u=o)if(u.hasOwnProperty(a)){var c=u[a];"style"===a?me(e,c):"dangerouslySetInnerHTML"===a?null!=(c=c?c.__html:void 0)&&de(e,c):"children"===a?"string"==typeof c?("textarea"!==n||""!==c)&&fe(e,c):"number"==typeof c&&fe(e,""+c):"suppressContentEditableWarning"!==a&&"suppressHydrationWarning"!==a&&"autoFocus"!==a&&(l.hasOwnProperty(a)?null!=c&&"onScroll"===a&&Br("scroll",e):null!=c&&y(e,a,c,s))}switch(n){case"input":Q(e),X(e,r,!1);break;case"textarea":Q(e),ae(e);break;case"option":null!=r.value&&e.setAttribute("value",""+W(r.value));break;case"select":e.multiple=!!r.multiple,null!=(a=r.value)?ne(e,!!r.multiple,a,!1):null!=r.defaultValue&&ne(e,!!r.multiple,r.defaultValue,!0);break;default:"function"==typeof o.onClick&&(e.onclick=Zr)}switch(n){case"button":case"input":case"select":case"textarea":r=!!r.autoFocus;break e;case"img":r=!0;break e;default:r=!1}}r&&(t.flags|=4)}null!==t.ref&&(t.flags|=512,t.flags|=2097152)}return Ul(t),null;case 6:if(e&&null!=t.stateNode)Ol(0,t,e.memoizedProps,r);else{if("string"!=typeof r&&null===t.stateNode)throw Error(i(166));if(n=ea(Xi.current),ea(Ki.current),ui(t)){if(r=t.stateNode,n=t.memoizedProps,r[uo]=t,(a=r.nodeValue!==n)&&null!==(e=ei))switch(e.tag){case 3:Yr(r.nodeValue,n,0!=(1&e.mode));break;case 5:!0!==e.memoizedProps.suppressHydrationWarning&&Yr(r.nodeValue,n,0!=(1&e.mode))}a&&(t.flags|=4)}else(r=(9===n.nodeType?n:n.ownerDocument).createTextNode(r))[uo]=t,t.stateNode=r}return Ul(t),null;case 13:if(Eo(ia),r=t.memoizedState,null===e||null!==e.memoizedState&&null!==e.memoizedState.dehydrated){if(ni&&null!==ti&&0!=(1&t.mode)&&0==(128&t.flags))ci(),di(),t.flags|=98560,a=!1;else if(a=ui(t),null!==r&&null!==r.dehydrated){if(null===e){if(!a)throw Error(i(318));if(!(a=null!==(a=t.memoizedState)?a.dehydrated:null))throw Error(i(317));a[uo]=t}else di(),0==(128&t.flags)&&(t.memoizedState=null),t.flags|=4;Ul(t),a=!1}else null!==ri&&(ru(ri),ri=null),a=!0;if(!a)return 65536&t.flags?t:null}return 0!=(128&t.flags)?(t.lanes=n,t):((r=null!==r)!=(null!==e&&null!==e.memoizedState)&&r&&(t.child.flags|=8192,0!=(1&t.mode)&&(null===e||0!=(1&ia.current)?0===Os&&(Os=3):fu())),null!==t.updateQueue&&(t.flags|=4),Ul(t),null);case 4:return na(),null===e&&Fr(t.stateNode.containerInfo),Ul(t),null;case 10:return Ai(t.type._context),Ul(t),null;case 19:if(Eo(ia),null===(a=t.memoizedState))return Ul(t),null;if(r=0!=(128&t.flags),null===(s=a.rendering))if(r)ql(a,!1);else{if(0!==Os||null!==e&&0!=(128&e.flags))for(e=t.child;null!==e;){if(null!==(s=aa(e))){for(t.flags|=128,ql(a,!1),null!==(r=s.updateQueue)&&(t.updateQueue=r,t.flags|=4),t.subtreeFlags=0,r=n,n=t.child;null!==n;)e=r,(a=n).flags&=14680066,null===(s=a.alternate)?(a.childLanes=0,a.lanes=e,a.child=null,a.subtreeFlags=0,a.memoizedProps=null,a.memoizedState=null,a.updateQueue=null,a.dependencies=null,a.stateNode=null):(a.childLanes=s.childLanes,a.lanes=s.lanes,a.child=s.child,a.subtreeFlags=0,a.deletions=null,a.memoizedProps=s.memoizedProps,a.memoizedState=s.memoizedState,a.updateQueue=s.updateQueue,a.type=s.type,e=s.dependencies,a.dependencies=null===e?null:{lanes:e.lanes,firstContext:e.firstContext}),n=n.sibling;return ko(ia,1&ia.current|2),t.child}e=e.sibling}null!==a.tail&&Ke()>Fs&&(t.flags|=128,r=!0,ql(a,!1),t.lanes=4194304)}else{if(!r)if(null!==(e=aa(s))){if(t.flags|=128,r=!0,null!==(n=e.updateQueue)&&(t.updateQueue=n,t.flags|=4),ql(a,!0),null===a.tail&&"hidden"===a.tailMode&&!s.alternate&&!ni)return Ul(t),null}else 2*Ke()-a.renderingStartTime>Fs&&1073741824!==n&&(t.flags|=128,r=!0,ql(a,!1),t.lanes=4194304);a.isBackwards?(s.sibling=t.child,t.child=s):(null!==(n=a.last)?n.sibling=s:t.child=s,a.last=s)}return null!==a.tail?(t=a.tail,a.rendering=t,a.tail=t.sibling,a.renderingStartTime=Ke(),t.sibling=null,n=ia.current,ko(ia,r?1&n|2:1&n),t):(Ul(t),null);case 22:case 23:return su(),r=null!==t.memoizedState,null!==e&&null!==e.memoizedState!==r&&(t.flags|=8192),r&&0!=(1&t.mode)?0!=(1073741824&Ds)&&(Ul(t),6&t.subtreeFlags&&(t.flags|=8192)):Ul(t),null;case 24:case 25:return null}throw Error(i(156,t.tag))}function Vl(e,t){switch(Xo(t),t.tag){case 1:return Lo(t.type)&&Oo(),65536&(e=t.flags)?(t.flags=-65537&e|128,t):null;case 3:return na(),Eo(Co),Eo(_o),sa(),0!=(65536&(e=t.flags))&&0==(128&e)?(t.flags=-65537&e|128,t):null;case 5:return oa(t),null;case 13:if(Eo(ia),null!==(e=t.memoizedState)&&null!==e.dehydrated){if(null===t.alternate)throw Error(i(340));di()}return 65536&(e=t.flags)?(t.flags=-65537&e|128,t):null;case 19:return Eo(ia),null;case 4:return na(),null;case 10:return Ai(t.type._context),null;case 22:case 23:return su(),null;default:return null}}Dl=function(e,t){for(var n=t.child;null!==n;){if(5===n.tag||6===n.tag)e.appendChild(n.stateNode);else if(4!==n.tag&&null!==n.child){n.child.return=n,n=n.child;continue}if(n===t)break;for(;null===n.sibling;){if(null===n.return||n.return===t)return;n=n.return}n.sibling.return=n.return,n=n.sibling}},Ll=function(e,t,n,r){var o=e.memoizedProps;if(o!==r){e=t.stateNode,ea(Ki.current);var i,a=null;switch(n){case"input":o=Y(e,o),r=Y(e,r),a=[];break;case"select":o=I({},o,{value:void 0}),r=I({},r,{value:void 0}),a=[];break;case"textarea":o=re(e,o),r=re(e,r),a=[];break;default:"function"!=typeof o.onClick&&"function"==typeof r.onClick&&(e.onclick=Zr)}for(c in be(n,r),n=null,o)if(!r.hasOwnProperty(c)&&o.hasOwnProperty(c)&&null!=o[c])if("style"===c){var s=o[c];for(i in s)s.hasOwnProperty(i)&&(n||(n={}),n[i]="")}else"dangerouslySetInnerHTML"!==c&&"children"!==c&&"suppressContentEditableWarning"!==c&&"suppressHydrationWarning"!==c&&"autoFocus"!==c&&(l.hasOwnProperty(c)?a||(a=[]):(a=a||[]).push(c,null));for(c in r){var u=r[c];if(s=null!=o?o[c]:void 0,r.hasOwnProperty(c)&&u!==s&&(null!=u||null!=s))if("style"===c)if(s){for(i in s)!s.hasOwnProperty(i)||u&&u.hasOwnProperty(i)||(n||(n={}),n[i]="");for(i in u)u.hasOwnProperty(i)&&s[i]!==u[i]&&(n||(n={}),n[i]=u[i])}else n||(a||(a=[]),a.push(c,n)),n=u;else"dangerouslySetInnerHTML"===c?(u=u?u.__html:void 0,s=s?s.__html:void 0,null!=u&&s!==u&&(a=a||[]).push(c,u)):"children"===c?"string"!=typeof u&&"number"!=typeof u||(a=a||[]).push(c,""+u):"suppressContentEditableWarning"!==c&&"suppressHydrationWarning"!==c&&(l.hasOwnProperty(c)?(null!=u&&"onScroll"===c&&Br("scroll",e),a||s===u||(a=[])):(a=a||[]).push(c,u))}n&&(a=a||[]).push("style",n);var c=a;(t.updateQueue=c)&&(t.flags|=4)}},Ol=function(e,t,n,r){n!==r&&(t.flags|=4)};var Ql=!1,Gl=!1,$l="function"==typeof WeakSet?WeakSet:Set,Yl=null;function Zl(e,t){var n=e.ref;if(null!==n)if("function"==typeof n)try{n(null)}catch(n){wu(e,t,n)}else n.current=null}function Kl(e,t,n){try{n()}catch(n){wu(e,t,n)}}var Jl=!1;function Xl(e,t,n){var r=t.updateQueue;if(null!==(r=null!==r?r.lastEffect:null)){var o=r=r.next;do{if((o.tag&e)===e){var i=o.destroy;o.destroy=void 0,void 0!==i&&Kl(t,n,i)}o=o.next}while(o!==r)}}function es(e,t){if(null!==(t=null!==(t=t.updateQueue)?t.lastEffect:null)){var n=t=t.next;do{if((n.tag&e)===e){var r=n.create;n.destroy=r()}n=n.next}while(n!==t)}}function ts(e){var t=e.ref;if(null!==t){var n=e.stateNode;e.tag,e=n,"function"==typeof t?t(e):t.current=e}}function ns(e){var t=e.alternate;null!==t&&(e.alternate=null,ns(t)),e.child=null,e.deletions=null,e.sibling=null,5===e.tag&&null!==(t=e.stateNode)&&(delete t[uo],delete t[co],delete t[po],delete t[ho],delete t[go]),e.stateNode=null,e.return=null,e.dependencies=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.stateNode=null,e.updateQueue=null}function rs(e){return 5===e.tag||3===e.tag||4===e.tag}function os(e){e:for(;;){for(;null===e.sibling;){if(null===e.return||rs(e.return))return null;e=e.return}for(e.sibling.return=e.return,e=e.sibling;5!==e.tag&&6!==e.tag&&18!==e.tag;){if(2&e.flags)continue e;if(null===e.child||4===e.tag)continue e;e.child.return=e,e=e.child}if(!(2&e.flags))return e.stateNode}}function is(e,t,n){var r=e.tag;if(5===r||6===r)e=e.stateNode,t?8===n.nodeType?n.parentNode.insertBefore(e,t):n.insertBefore(e,t):(8===n.nodeType?(t=n.parentNode).insertBefore(e,n):(t=n).appendChild(e),null!=(n=n._reactRootContainer)||null!==t.onclick||(t.onclick=Zr));else if(4!==r&&null!==(e=e.child))for(is(e,t,n),e=e.sibling;null!==e;)is(e,t,n),e=e.sibling}function as(e,t,n){var r=e.tag;if(5===r||6===r)e=e.stateNode,t?n.insertBefore(e,t):n.appendChild(e);else if(4!==r&&null!==(e=e.child))for(as(e,t,n),e=e.sibling;null!==e;)as(e,t,n),e=e.sibling}var ls=null,ss=!1;function us(e,t,n){for(n=n.child;null!==n;)cs(e,t,n),n=n.sibling}function cs(e,t,n){if(it&&"function"==typeof it.onCommitFiberUnmount)try{it.onCommitFiberUnmount(ot,n)}catch(e){}switch(n.tag){case 5:Gl||Zl(n,t);case 6:var r=ls,o=ss;ls=null,us(e,t,n),ss=o,null!==(ls=r)&&(ss?(e=ls,n=n.stateNode,8===e.nodeType?e.parentNode.removeChild(n):e.removeChild(n)):ls.removeChild(n.stateNode));break;case 18:null!==ls&&(ss?(e=ls,n=n.stateNode,8===e.nodeType?io(e.parentNode,n):1===e.nodeType&&io(e,n),qt(e)):io(ls,n.stateNode));break;case 4:r=ls,o=ss,ls=n.stateNode.containerInfo,ss=!0,us(e,t,n),ls=r,ss=o;break;case 0:case 11:case 14:case 15:if(!Gl&&null!==(r=n.updateQueue)&&null!==(r=r.lastEffect)){o=r=r.next;do{var i=o,a=i.destroy;i=i.tag,void 0!==a&&(0!=(2&i)||0!=(4&i))&&Kl(n,t,a),o=o.next}while(o!==r)}us(e,t,n);break;case 1:if(!Gl&&(Zl(n,t),"function"==typeof(r=n.stateNode).componentWillUnmount))try{r.props=n.memoizedProps,r.state=n.memoizedState,r.componentWillUnmount()}catch(e){wu(n,t,e)}us(e,t,n);break;case 21:us(e,t,n);break;case 22:1&n.mode?(Gl=(r=Gl)||null!==n.memoizedState,us(e,t,n),Gl=r):us(e,t,n);break;default:us(e,t,n)}}function ds(e){var t=e.updateQueue;if(null!==t){e.updateQueue=null;var n=e.stateNode;null===n&&(n=e.stateNode=new $l),t.forEach((function(t){var r=Su.bind(null,e,t);n.has(t)||(n.add(t),t.then(r,r))}))}}function fs(e,t){var n=t.deletions;if(null!==n)for(var r=0;r<n.length;r++){var o=n[r];try{var a=e,l=t,s=l;e:for(;null!==s;){switch(s.tag){case 5:ls=s.stateNode,ss=!1;break e;case 3:case 4:ls=s.stateNode.containerInfo,ss=!0;break e}s=s.return}if(null===ls)throw Error(i(160));cs(a,l,o),ls=null,ss=!1;var u=o.alternate;null!==u&&(u.return=null),o.return=null}catch(e){wu(o,t,e)}}if(12854&t.subtreeFlags)for(t=t.child;null!==t;)ps(t,e),t=t.sibling}function ps(e,t){var n=e.alternate,r=e.flags;switch(e.tag){case 0:case 11:case 14:case 15:if(fs(t,e),hs(e),4&r){try{Xl(3,e,e.return),es(3,e)}catch(t){wu(e,e.return,t)}try{Xl(5,e,e.return)}catch(t){wu(e,e.return,t)}}break;case 1:fs(t,e),hs(e),512&r&&null!==n&&Zl(n,n.return);break;case 5:if(fs(t,e),hs(e),512&r&&null!==n&&Zl(n,n.return),32&e.flags){var o=e.stateNode;try{fe(o,"")}catch(t){wu(e,e.return,t)}}if(4&r&&null!=(o=e.stateNode)){var a=e.memoizedProps,l=null!==n?n.memoizedProps:a,s=e.type,u=e.updateQueue;if(e.updateQueue=null,null!==u)try{"input"===s&&"radio"===a.type&&null!=a.name&&K(o,a),ye(s,l);var c=ye(s,a);for(l=0;l<u.length;l+=2){var d=u[l],f=u[l+1];"style"===d?me(o,f):"dangerouslySetInnerHTML"===d?de(o,f):"children"===d?fe(o,f):y(o,d,f,c)}switch(s){case"input":J(o,a);break;case"textarea":ie(o,a);break;case"select":var p=o._wrapperState.wasMultiple;o._wrapperState.wasMultiple=!!a.multiple;var h=a.value;null!=h?ne(o,!!a.multiple,h,!1):p!==!!a.multiple&&(null!=a.defaultValue?ne(o,!!a.multiple,a.defaultValue,!0):ne(o,!!a.multiple,a.multiple?[]:"",!1))}o[co]=a}catch(t){wu(e,e.return,t)}}break;case 6:if(fs(t,e),hs(e),4&r){if(null===e.stateNode)throw Error(i(162));o=e.stateNode,a=e.memoizedProps;try{o.nodeValue=a}catch(t){wu(e,e.return,t)}}break;case 3:if(fs(t,e),hs(e),4&r&&null!==n&&n.memoizedState.isDehydrated)try{qt(t.containerInfo)}catch(t){wu(e,e.return,t)}break;case 4:default:fs(t,e),hs(e);break;case 13:fs(t,e),hs(e),8192&(o=e.child).flags&&(a=null!==o.memoizedState,o.stateNode.isHidden=a,!a||null!==o.alternate&&null!==o.alternate.memoizedState||(js=Ke())),4&r&&ds(e);break;case 22:if(d=null!==n&&null!==n.memoizedState,1&e.mode?(Gl=(c=Gl)||d,fs(t,e),Gl=c):fs(t,e),hs(e),8192&r){if(c=null!==e.memoizedState,(e.stateNode.isHidden=c)&&!d&&0!=(1&e.mode))for(Yl=e,d=e.child;null!==d;){for(f=Yl=d;null!==Yl;){switch(h=(p=Yl).child,p.tag){case 0:case 11:case 14:case 15:Xl(4,p,p.return);break;case 1:Zl(p,p.return);var g=p.stateNode;if("function"==typeof g.componentWillUnmount){r=p,n=p.return;try{t=r,g.props=t.memoizedProps,g.state=t.memoizedState,g.componentWillUnmount()}catch(e){wu(r,n,e)}}break;case 5:Zl(p,p.return);break;case 22:if(null!==p.memoizedState){bs(f);continue}}null!==h?(h.return=p,Yl=h):bs(f)}d=d.sibling}e:for(d=null,f=e;;){if(5===f.tag){if(null===d){d=f;try{o=f.stateNode,c?"function"==typeof(a=o.style).setProperty?a.setProperty("display","none","important"):a.display="none":(s=f.stateNode,l=null!=(u=f.memoizedProps.style)&&u.hasOwnProperty("display")?u.display:null,s.style.display=ge("display",l))}catch(t){wu(e,e.return,t)}}}else if(6===f.tag){if(null===d)try{f.stateNode.nodeValue=c?"":f.memoizedProps}catch(t){wu(e,e.return,t)}}else if((22!==f.tag&&23!==f.tag||null===f.memoizedState||f===e)&&null!==f.child){f.child.return=f,f=f.child;continue}if(f===e)break e;for(;null===f.sibling;){if(null===f.return||f.return===e)break e;d===f&&(d=null),f=f.return}d===f&&(d=null),f.sibling.return=f.return,f=f.sibling}}break;case 19:fs(t,e),hs(e),4&r&&ds(e);case 21:}}function hs(e){var t=e.flags;if(2&t){try{e:{for(var n=e.return;null!==n;){if(rs(n)){var r=n;break e}n=n.return}throw Error(i(160))}switch(r.tag){case 5:var o=r.stateNode;32&r.flags&&(fe(o,""),r.flags&=-33),as(e,os(e),o);break;case 3:case 4:var a=r.stateNode.containerInfo;is(e,os(e),a);break;default:throw Error(i(161))}}catch(t){wu(e,e.return,t)}e.flags&=-3}4096&t&&(e.flags&=-4097)}function gs(e,t,n){Yl=e,ms(e,t,n)}function ms(e,t,n){for(var r=0!=(1&e.mode);null!==Yl;){var o=Yl,i=o.child;if(22===o.tag&&r){var a=null!==o.memoizedState||Ql;if(!a){var l=o.alternate,s=null!==l&&null!==l.memoizedState||Gl;l=Ql;var u=Gl;if(Ql=a,(Gl=s)&&!u)for(Yl=o;null!==Yl;)s=(a=Yl).child,22===a.tag&&null!==a.memoizedState?ys(o):null!==s?(s.return=a,Yl=s):ys(o);for(;null!==i;)Yl=i,ms(i,t,n),i=i.sibling;Yl=o,Ql=l,Gl=u}vs(e)}else 0!=(8772&o.subtreeFlags)&&null!==i?(i.return=o,Yl=i):vs(e)}}function vs(e){for(;null!==Yl;){var t=Yl;if(0!=(8772&t.flags)){var n=t.alternate;try{if(0!=(8772&t.flags))switch(t.tag){case 0:case 11:case 15:Gl||es(5,t);break;case 1:var r=t.stateNode;if(4&t.flags&&!Gl)if(null===n)r.componentDidMount();else{var o=t.elementType===t.type?n.memoizedProps:hi(t.type,n.memoizedProps);r.componentDidUpdate(o,n.memoizedState,r.__reactInternalSnapshotBeforeUpdate)}var a=t.updateQueue;null!==a&&Bi(t,a,r);break;case 3:var l=t.updateQueue;if(null!==l){if(n=null,null!==t.child)switch(t.child.tag){case 5:case 1:n=t.child.stateNode}Bi(t,l,n)}break;case 5:var s=t.stateNode;if(null===n&&4&t.flags){n=s;var u=t.memoizedProps;switch(t.type){case"button":case"input":case"select":case"textarea":u.autoFocus&&n.focus();break;case"img":u.src&&(n.src=u.src)}}break;case 6:case 4:case 12:case 19:case 17:case 21:case 22:case 23:case 25:break;case 13:if(null===t.memoizedState){var c=t.alternate;if(null!==c){var d=c.memoizedState;if(null!==d){var f=d.dehydrated;null!==f&&qt(f)}}}break;default:throw Error(i(163))}Gl||512&t.flags&&ts(t)}catch(e){wu(t,t.return,e)}}if(t===e){Yl=null;break}if(null!==(n=t.sibling)){n.return=t.return,Yl=n;break}Yl=t.return}}function bs(e){for(;null!==Yl;){var t=Yl;if(t===e){Yl=null;break}var n=t.sibling;if(null!==n){n.return=t.return,Yl=n;break}Yl=t.return}}function ys(e){for(;null!==Yl;){var t=Yl;try{switch(t.tag){case 0:case 11:case 15:var n=t.return;try{es(4,t)}catch(e){wu(t,n,e)}break;case 1:var r=t.stateNode;if("function"==typeof r.componentDidMount){var o=t.return;try{r.componentDidMount()}catch(e){wu(t,o,e)}}var i=t.return;try{ts(t)}catch(e){wu(t,i,e)}break;case 5:var a=t.return;try{ts(t)}catch(e){wu(t,a,e)}}}catch(e){wu(t,t.return,e)}if(t===e){Yl=null;break}var l=t.sibling;if(null!==l){l.return=t.return,Yl=l;break}Yl=t.return}}var As,ws=Math.ceil,xs=A.ReactCurrentDispatcher,Es=A.ReactCurrentOwner,ks=A.ReactCurrentBatchConfig,Ss=0,_s=null,Cs=null,Ts=0,Ds=0,Ls=xo(0),Os=0,Rs=null,Ps=0,Ms=0,Ns=0,Bs=null,Is=null,js=0,Fs=1/0,zs=null,Hs=!1,qs=null,Us=null,Ws=!1,Vs=null,Qs=0,Gs=0,$s=null,Ys=-1,Zs=0;function Ks(){return 0!=(6&Ss)?Ke():-1!==Ys?Ys:Ys=Ke()}function Js(e){return 0==(1&e.mode)?1:0!=(2&Ss)&&0!==Ts?Ts&-Ts:null!==pi.transition?(0===Zs&&(Zs=gt()),Zs):0!==(e=yt)?e:e=void 0===(e=window.event)?16:Zt(e.type)}function Xs(e,t,n,r){if(50<Gs)throw Gs=0,$s=null,Error(i(185));vt(e,n,r),0!=(2&Ss)&&e===_s||(e===_s&&(0==(2&Ss)&&(Ms|=n),4===Os&&ou(e,Ts)),eu(e,r),1===n&&0===Ss&&0==(1&t.mode)&&(Fs=Ke()+500,Io&&zo()))}function eu(e,t){var n=e.callbackNode;!function(e,t){for(var n=e.suspendedLanes,r=e.pingedLanes,o=e.expirationTimes,i=e.pendingLanes;0<i;){var a=31-at(i),l=1<<a,s=o[a];-1===s?0!=(l&n)&&0==(l&r)||(o[a]=pt(l,t)):s<=t&&(e.expiredLanes|=l),i&=~l}}(e,t);var r=ft(e,e===_s?Ts:0);if(0===r)null!==n&&$e(n),e.callbackNode=null,e.callbackPriority=0;else if(t=r&-r,e.callbackPriority!==t){if(null!=n&&$e(n),1===t)0===e.tag?function(e){Io=!0,Fo(e)}(iu.bind(null,e)):Fo(iu.bind(null,e)),ro((function(){0==(6&Ss)&&zo()})),n=null;else{switch(At(r)){case 1:n=Xe;break;case 4:n=et;break;case 16:default:n=tt;break;case 536870912:n=rt}n=_u(n,tu.bind(null,e))}e.callbackPriority=t,e.callbackNode=n}}function tu(e,t){if(Ys=-1,Zs=0,0!=(6&Ss))throw Error(i(327));var n=e.callbackNode;if(yu()&&e.callbackNode!==n)return null;var r=ft(e,e===_s?Ts:0);if(0===r)return null;if(0!=(30&r)||0!=(r&e.expiredLanes)||t)t=pu(e,r);else{t=r;var o=Ss;Ss|=2;var a=du();for(_s===e&&Ts===t||(zs=null,Fs=Ke()+500,uu(e,t));;)try{gu();break}catch(t){cu(e,t)}yi(),xs.current=a,Ss=o,null!==Cs?t=0:(_s=null,Ts=0,t=Os)}if(0!==t){if(2===t&&0!==(o=ht(e))&&(r=o,t=nu(e,o)),1===t)throw n=Rs,uu(e,0),ou(e,r),eu(e,Ke()),n;if(6===t)ou(e,r);else{if(o=e.current.alternate,0==(30&r)&&!function(e){for(var t=e;;){if(16384&t.flags){var n=t.updateQueue;if(null!==n&&null!==(n=n.stores))for(var r=0;r<n.length;r++){var o=n[r],i=o.getSnapshot;o=o.value;try{if(!or(i(),o))return!1}catch(e){return!1}}}if(n=t.child,16384&t.subtreeFlags&&null!==n)n.return=t,t=n;else{if(t===e)break;for(;null===t.sibling;){if(null===t.return||t.return===e)return!0;t=t.return}t.sibling.return=t.return,t=t.sibling}}return!0}(o)&&(2===(t=pu(e,r))&&0!==(a=ht(e))&&(r=a,t=nu(e,a)),1===t))throw n=Rs,uu(e,0),ou(e,r),eu(e,Ke()),n;switch(e.finishedWork=o,e.finishedLanes=r,t){case 0:case 1:throw Error(i(345));case 2:case 5:bu(e,Is,zs);break;case 3:if(ou(e,r),(130023424&r)===r&&10<(t=js+500-Ke())){if(0!==ft(e,0))break;if(((o=e.suspendedLanes)&r)!==r){Ks(),e.pingedLanes|=e.suspendedLanes&o;break}e.timeoutHandle=eo(bu.bind(null,e,Is,zs),t);break}bu(e,Is,zs);break;case 4:if(ou(e,r),(4194240&r)===r)break;for(t=e.eventTimes,o=-1;0<r;){var l=31-at(r);a=1<<l,(l=t[l])>o&&(o=l),r&=~a}if(r=o,10<(r=(120>(r=Ke()-r)?120:480>r?480:1080>r?1080:1920>r?1920:3e3>r?3e3:4320>r?4320:1960*ws(r/1960))-r)){e.timeoutHandle=eo(bu.bind(null,e,Is,zs),r);break}bu(e,Is,zs);break;default:throw Error(i(329))}}}return eu(e,Ke()),e.callbackNode===n?tu.bind(null,e):null}function nu(e,t){var n=Bs;return e.current.memoizedState.isDehydrated&&(uu(e,t).flags|=256),2!==(e=pu(e,t))&&(t=Is,Is=n,null!==t&&ru(t)),e}function ru(e){null===Is?Is=e:Is.push.apply(Is,e)}function ou(e,t){for(t&=~Ns,t&=~Ms,e.suspendedLanes|=t,e.pingedLanes&=~t,e=e.expirationTimes;0<t;){var n=31-at(t),r=1<<n;e[n]=-1,t&=~r}}function iu(e){if(0!=(6&Ss))throw Error(i(327));yu();var t=ft(e,0);if(0==(1&t))return eu(e,Ke()),null;var n=pu(e,t);if(0!==e.tag&&2===n){var r=ht(e);0!==r&&(t=r,n=nu(e,r))}if(1===n)throw n=Rs,uu(e,0),ou(e,t),eu(e,Ke()),n;if(6===n)throw Error(i(345));return e.finishedWork=e.current.alternate,e.finishedLanes=t,bu(e,Is,zs),eu(e,Ke()),null}function au(e,t){var n=Ss;Ss|=1;try{return e(t)}finally{0===(Ss=n)&&(Fs=Ke()+500,Io&&zo())}}function lu(e){null!==Vs&&0===Vs.tag&&0==(6&Ss)&&yu();var t=Ss;Ss|=1;var n=ks.transition,r=yt;try{if(ks.transition=null,yt=1,e)return e()}finally{yt=r,ks.transition=n,0==(6&(Ss=t))&&zo()}}function su(){Ds=Ls.current,Eo(Ls)}function uu(e,t){e.finishedWork=null,e.finishedLanes=0;var n=e.timeoutHandle;if(-1!==n&&(e.timeoutHandle=-1,to(n)),null!==Cs)for(n=Cs.return;null!==n;){var r=n;switch(Xo(r),r.tag){case 1:null!=(r=r.type.childContextTypes)&&Oo();break;case 3:na(),Eo(Co),Eo(_o),sa();break;case 5:oa(r);break;case 4:na();break;case 13:case 19:Eo(ia);break;case 10:Ai(r.type._context);break;case 22:case 23:su()}n=n.return}if(_s=e,Cs=e=Lu(e.current,null),Ts=Ds=t,Os=0,Rs=null,Ns=Ms=Ps=0,Is=Bs=null,null!==ki){for(t=0;t<ki.length;t++)if(null!==(r=(n=ki[t]).interleaved)){n.interleaved=null;var o=r.next,i=n.pending;if(null!==i){var a=i.next;i.next=o,r.next=a}n.pending=r}ki=null}return e}function cu(e,t){for(;;){var n=Cs;try{if(yi(),ua.current=rl,ga){for(var r=fa.memoizedState;null!==r;){var o=r.queue;null!==o&&(o.pending=null),r=r.next}ga=!1}if(da=0,ha=pa=fa=null,ma=!1,va=0,Es.current=null,null===n||null===n.return){Os=1,Rs=t,Cs=null;break}e:{var a=e,l=n.return,s=n,u=t;if(t=Ts,s.flags|=32768,null!==u&&"object"==typeof u&&"function"==typeof u.then){var c=u,d=s,f=d.tag;if(0==(1&d.mode)&&(0===f||11===f||15===f)){var p=d.alternate;p?(d.updateQueue=p.updateQueue,d.memoizedState=p.memoizedState,d.lanes=p.lanes):(d.updateQueue=null,d.memoizedState=null)}var h=hl(l);if(null!==h){h.flags&=-257,gl(h,l,s,0,t),1&h.mode&&pl(a,c,t),u=c;var g=(t=h).updateQueue;if(null===g){var m=new Set;m.add(u),t.updateQueue=m}else g.add(u);break e}if(0==(1&t)){pl(a,c,t),fu();break e}u=Error(i(426))}else if(ni&&1&s.mode){var v=hl(l);if(null!==v){0==(65536&v.flags)&&(v.flags|=256),gl(v,l,s,0,t),fi(ll(u,s));break e}}a=u=ll(u,s),4!==Os&&(Os=2),null===Bs?Bs=[a]:Bs.push(a),a=l;do{switch(a.tag){case 3:a.flags|=65536,t&=-t,a.lanes|=t,Mi(a,dl(0,u,t));break e;case 1:s=u;var b=a.type,y=a.stateNode;if(0==(128&a.flags)&&("function"==typeof b.getDerivedStateFromError||null!==y&&"function"==typeof y.componentDidCatch&&(null===Us||!Us.has(y)))){a.flags|=65536,t&=-t,a.lanes|=t,Mi(a,fl(a,s,t));break e}}a=a.return}while(null!==a)}vu(n)}catch(e){t=e,Cs===n&&null!==n&&(Cs=n=n.return);continue}break}}function du(){var e=xs.current;return xs.current=rl,null===e?rl:e}function fu(){0!==Os&&3!==Os&&2!==Os||(Os=4),null===_s||0==(268435455&Ps)&&0==(268435455&Ms)||ou(_s,Ts)}function pu(e,t){var n=Ss;Ss|=2;var r=du();for(_s===e&&Ts===t||(zs=null,uu(e,t));;)try{hu();break}catch(t){cu(e,t)}if(yi(),Ss=n,xs.current=r,null!==Cs)throw Error(i(261));return _s=null,Ts=0,Os}function hu(){for(;null!==Cs;)mu(Cs)}function gu(){for(;null!==Cs&&!Ye();)mu(Cs)}function mu(e){var t=As(e.alternate,e,Ds);e.memoizedProps=e.pendingProps,null===t?vu(e):Cs=t,Es.current=null}function vu(e){var t=e;do{var n=t.alternate;if(e=t.return,0==(32768&t.flags)){if(null!==(n=Wl(n,t,Ds)))return void(Cs=n)}else{if(null!==(n=Vl(n,t)))return n.flags&=32767,void(Cs=n);if(null===e)return Os=6,void(Cs=null);e.flags|=32768,e.subtreeFlags=0,e.deletions=null}if(null!==(t=t.sibling))return void(Cs=t);Cs=t=e}while(null!==t);0===Os&&(Os=5)}function bu(e,t,n){var r=yt,o=ks.transition;try{ks.transition=null,yt=1,function(e,t,n,r){do{yu()}while(null!==Vs);if(0!=(6&Ss))throw Error(i(327));n=e.finishedWork;var o=e.finishedLanes;if(null===n)return null;if(e.finishedWork=null,e.finishedLanes=0,n===e.current)throw Error(i(177));e.callbackNode=null,e.callbackPriority=0;var a=n.lanes|n.childLanes;if(function(e,t){var n=e.pendingLanes&~t;e.pendingLanes=t,e.suspendedLanes=0,e.pingedLanes=0,e.expiredLanes&=t,e.mutableReadLanes&=t,e.entangledLanes&=t,t=e.entanglements;var r=e.eventTimes;for(e=e.expirationTimes;0<n;){var o=31-at(n),i=1<<o;t[o]=0,r[o]=-1,e[o]=-1,n&=~i}}(e,a),e===_s&&(Cs=_s=null,Ts=0),0==(2064&n.subtreeFlags)&&0==(2064&n.flags)||Ws||(Ws=!0,_u(tt,(function(){return yu(),null}))),a=0!=(15990&n.flags),0!=(15990&n.subtreeFlags)||a){a=ks.transition,ks.transition=null;var l=yt;yt=1;var s=Ss;Ss|=4,Es.current=null,function(e,t){if(Kr=Wt,cr(e=ur())){if("selectionStart"in e)var n={start:e.selectionStart,end:e.selectionEnd};else e:{var r=(n=(n=e.ownerDocument)&&n.defaultView||window).getSelection&&n.getSelection();if(r&&0!==r.rangeCount){n=r.anchorNode;var o=r.anchorOffset,a=r.focusNode;r=r.focusOffset;try{n.nodeType,a.nodeType}catch(e){n=null;break e}var l=0,s=-1,u=-1,c=0,d=0,f=e,p=null;t:for(;;){for(var h;f!==n||0!==o&&3!==f.nodeType||(s=l+o),f!==a||0!==r&&3!==f.nodeType||(u=l+r),3===f.nodeType&&(l+=f.nodeValue.length),null!==(h=f.firstChild);)p=f,f=h;for(;;){if(f===e)break t;if(p===n&&++c===o&&(s=l),p===a&&++d===r&&(u=l),null!==(h=f.nextSibling))break;p=(f=p).parentNode}f=h}n=-1===s||-1===u?null:{start:s,end:u}}else n=null}n=n||{start:0,end:0}}else n=null;for(Jr={focusedElem:e,selectionRange:n},Wt=!1,Yl=t;null!==Yl;)if(e=(t=Yl).child,0!=(1028&t.subtreeFlags)&&null!==e)e.return=t,Yl=e;else for(;null!==Yl;){t=Yl;try{var g=t.alternate;if(0!=(1024&t.flags))switch(t.tag){case 0:case 11:case 15:case 5:case 6:case 4:case 17:break;case 1:if(null!==g){var m=g.memoizedProps,v=g.memoizedState,b=t.stateNode,y=b.getSnapshotBeforeUpdate(t.elementType===t.type?m:hi(t.type,m),v);b.__reactInternalSnapshotBeforeUpdate=y}break;case 3:var A=t.stateNode.containerInfo;1===A.nodeType?A.textContent="":9===A.nodeType&&A.documentElement&&A.removeChild(A.documentElement);break;default:throw Error(i(163))}}catch(e){wu(t,t.return,e)}if(null!==(e=t.sibling)){e.return=t.return,Yl=e;break}Yl=t.return}g=Jl,Jl=!1}(e,n),ps(n,e),dr(Jr),Wt=!!Kr,Jr=Kr=null,e.current=n,gs(n,e,o),Ze(),Ss=s,yt=l,ks.transition=a}else e.current=n;if(Ws&&(Ws=!1,Vs=e,Qs=o),0===(a=e.pendingLanes)&&(Us=null),function(e){if(it&&"function"==typeof it.onCommitFiberRoot)try{it.onCommitFiberRoot(ot,e,void 0,128==(128&e.current.flags))}catch(e){}}(n.stateNode),eu(e,Ke()),null!==t)for(r=e.onRecoverableError,n=0;n<t.length;n++)r((o=t[n]).value,{componentStack:o.stack,digest:o.digest});if(Hs)throw Hs=!1,e=qs,qs=null,e;0!=(1&Qs)&&0!==e.tag&&yu(),0!=(1&(a=e.pendingLanes))?e===$s?Gs++:(Gs=0,$s=e):Gs=0,zo()}(e,t,n,r)}finally{ks.transition=o,yt=r}return null}function yu(){if(null!==Vs){var e=At(Qs),t=ks.transition,n=yt;try{if(ks.transition=null,yt=16>e?16:e,null===Vs)var r=!1;else{if(e=Vs,Vs=null,Qs=0,0!=(6&Ss))throw Error(i(331));var o=Ss;for(Ss|=4,Yl=e.current;null!==Yl;){var a=Yl,l=a.child;if(0!=(16&Yl.flags)){var s=a.deletions;if(null!==s){for(var u=0;u<s.length;u++){var c=s[u];for(Yl=c;null!==Yl;){var d=Yl;switch(d.tag){case 0:case 11:case 15:Xl(8,d,a)}var f=d.child;if(null!==f)f.return=d,Yl=f;else for(;null!==Yl;){var p=(d=Yl).sibling,h=d.return;if(ns(d),d===c){Yl=null;break}if(null!==p){p.return=h,Yl=p;break}Yl=h}}}var g=a.alternate;if(null!==g){var m=g.child;if(null!==m){g.child=null;do{var v=m.sibling;m.sibling=null,m=v}while(null!==m)}}Yl=a}}if(0!=(2064&a.subtreeFlags)&&null!==l)l.return=a,Yl=l;else e:for(;null!==Yl;){if(0!=(2048&(a=Yl).flags))switch(a.tag){case 0:case 11:case 15:Xl(9,a,a.return)}var b=a.sibling;if(null!==b){b.return=a.return,Yl=b;break e}Yl=a.return}}var y=e.current;for(Yl=y;null!==Yl;){var A=(l=Yl).child;if(0!=(2064&l.subtreeFlags)&&null!==A)A.return=l,Yl=A;else e:for(l=y;null!==Yl;){if(0!=(2048&(s=Yl).flags))try{switch(s.tag){case 0:case 11:case 15:es(9,s)}}catch(e){wu(s,s.return,e)}if(s===l){Yl=null;break e}var w=s.sibling;if(null!==w){w.return=s.return,Yl=w;break e}Yl=s.return}}if(Ss=o,zo(),it&&"function"==typeof it.onPostCommitFiberRoot)try{it.onPostCommitFiberRoot(ot,e)}catch(e){}r=!0}return r}finally{yt=n,ks.transition=t}}return!1}function Au(e,t,n){e=Ri(e,t=dl(0,t=ll(n,t),1),1),t=Ks(),null!==e&&(vt(e,1,t),eu(e,t))}function wu(e,t,n){if(3===e.tag)Au(e,e,n);else for(;null!==t;){if(3===t.tag){Au(t,e,n);break}if(1===t.tag){var r=t.stateNode;if("function"==typeof t.type.getDerivedStateFromError||"function"==typeof r.componentDidCatch&&(null===Us||!Us.has(r))){t=Ri(t,e=fl(t,e=ll(n,e),1),1),e=Ks(),null!==t&&(vt(t,1,e),eu(t,e));break}}t=t.return}}function xu(e,t,n){var r=e.pingCache;null!==r&&r.delete(t),t=Ks(),e.pingedLanes|=e.suspendedLanes&n,_s===e&&(Ts&n)===n&&(4===Os||3===Os&&(130023424&Ts)===Ts&&500>Ke()-js?uu(e,0):Ns|=n),eu(e,t)}function Eu(e,t){0===t&&(0==(1&e.mode)?t=1:(t=ct,0==(130023424&(ct<<=1))&&(ct=4194304)));var n=Ks();null!==(e=Ci(e,t))&&(vt(e,t,n),eu(e,n))}function ku(e){var t=e.memoizedState,n=0;null!==t&&(n=t.retryLane),Eu(e,n)}function Su(e,t){var n=0;switch(e.tag){case 13:var r=e.stateNode,o=e.memoizedState;null!==o&&(n=o.retryLane);break;case 19:r=e.stateNode;break;default:throw Error(i(314))}null!==r&&r.delete(t),Eu(e,n)}function _u(e,t){return Ge(e,t)}function Cu(e,t,n,r){this.tag=e,this.key=n,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=t,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=r,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function Tu(e,t,n,r){return new Cu(e,t,n,r)}function Du(e){return!(!(e=e.prototype)||!e.isReactComponent)}function Lu(e,t){var n=e.alternate;return null===n?((n=Tu(e.tag,t,e.key,e.mode)).elementType=e.elementType,n.type=e.type,n.stateNode=e.stateNode,n.alternate=e,e.alternate=n):(n.pendingProps=t,n.type=e.type,n.flags=0,n.subtreeFlags=0,n.deletions=null),n.flags=14680064&e.flags,n.childLanes=e.childLanes,n.lanes=e.lanes,n.child=e.child,n.memoizedProps=e.memoizedProps,n.memoizedState=e.memoizedState,n.updateQueue=e.updateQueue,t=e.dependencies,n.dependencies=null===t?null:{lanes:t.lanes,firstContext:t.firstContext},n.sibling=e.sibling,n.index=e.index,n.ref=e.ref,n}function Ou(e,t,n,r,o,a){var l=2;if(r=e,"function"==typeof e)Du(e)&&(l=1);else if("string"==typeof e)l=5;else e:switch(e){case E:return Ru(n.children,o,a,t);case k:l=8,o|=8;break;case S:return(e=Tu(12,n,t,2|o)).elementType=S,e.lanes=a,e;case D:return(e=Tu(13,n,t,o)).elementType=D,e.lanes=a,e;case L:return(e=Tu(19,n,t,o)).elementType=L,e.lanes=a,e;case P:return Pu(n,o,a,t);default:if("object"==typeof e&&null!==e)switch(e.$$typeof){case _:l=10;break e;case C:l=9;break e;case T:l=11;break e;case O:l=14;break e;case R:l=16,r=null;break e}throw Error(i(130,null==e?e:typeof e,""))}return(t=Tu(l,n,t,o)).elementType=e,t.type=r,t.lanes=a,t}function Ru(e,t,n,r){return(e=Tu(7,e,r,t)).lanes=n,e}function Pu(e,t,n,r){return(e=Tu(22,e,r,t)).elementType=P,e.lanes=n,e.stateNode={isHidden:!1},e}function Mu(e,t,n){return(e=Tu(6,e,null,t)).lanes=n,e}function Nu(e,t,n){return(t=Tu(4,null!==e.children?e.children:[],e.key,t)).lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function Bu(e,t,n,r,o){this.tag=t,this.containerInfo=e,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.pendingContext=this.context=null,this.callbackPriority=0,this.eventTimes=mt(0),this.expirationTimes=mt(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=mt(0),this.identifierPrefix=r,this.onRecoverableError=o,this.mutableSourceEagerHydrationData=null}function Iu(e,t,n,r,o,i,a,l,s){return e=new Bu(e,t,n,l,s),1===t?(t=1,!0===i&&(t|=8)):t=0,i=Tu(3,null,null,t),e.current=i,i.stateNode=e,i.memoizedState={element:r,isDehydrated:n,cache:null,transitions:null,pendingSuspenseBoundaries:null},Di(i),e}function ju(e,t,n){var r=3<arguments.length&&void 0!==arguments[3]?arguments[3]:null;return{$$typeof:x,key:null==r?null:""+r,children:e,containerInfo:t,implementation:n}}function Fu(e){if(!e)return So;e:{if(qe(e=e._reactInternals)!==e||1!==e.tag)throw Error(i(170));var t=e;do{switch(t.tag){case 3:t=t.stateNode.context;break e;case 1:if(Lo(t.type)){t=t.stateNode.__reactInternalMemoizedMergedChildContext;break e}}t=t.return}while(null!==t);throw Error(i(171))}if(1===e.tag){var n=e.type;if(Lo(n))return Po(e,n,t)}return t}function zu(e,t,n,r,o,i,a,l,s){return(e=Iu(n,r,!0,e,0,i,0,l,s)).context=Fu(null),n=e.current,(i=Oi(r=Ks(),o=Js(n))).callback=null!=t?t:null,Ri(n,i,o),e.current.lanes=o,vt(e,o,r),eu(e,r),e}function Hu(e,t,n,r){var o=t.current,i=Ks(),a=Js(o);return n=Fu(n),null===t.context?t.context=n:t.pendingContext=n,(t=Oi(i,a)).payload={element:e},null!==(r=void 0===r?null:r)&&(t.callback=r),null!==(e=Ri(o,t,a))&&(Xs(e,o,a,i),Pi(e,o,a)),a}function qu(e){return(e=e.current).child?(e.child.tag,e.child.stateNode):null}function Uu(e,t){if(null!==(e=e.memoizedState)&&null!==e.dehydrated){var n=e.retryLane;e.retryLane=0!==n&&n<t?n:t}}function Wu(e,t){Uu(e,t),(e=e.alternate)&&Uu(e,t)}As=function(e,t,n){if(null!==e)if(e.memoizedProps!==t.pendingProps||Co.current)vl=!0;else{if(0==(e.lanes&n)&&0==(128&t.flags))return vl=!1,function(e,t,n){switch(t.tag){case 3:Cl(t),di();break;case 5:ra(t);break;case 1:Lo(t.type)&&Mo(t);break;case 4:ta(t,t.stateNode.containerInfo);break;case 10:var r=t.type._context,o=t.memoizedProps.value;ko(gi,r._currentValue),r._currentValue=o;break;case 13:if(null!==(r=t.memoizedState))return null!==r.dehydrated?(ko(ia,1&ia.current),t.flags|=128,null):0!=(n&t.child.childLanes)?Ml(e,t,n):(ko(ia,1&ia.current),null!==(e=Hl(e,t,n))?e.sibling:null);ko(ia,1&ia.current);break;case 19:if(r=0!=(n&t.childLanes),0!=(128&e.flags)){if(r)return Fl(e,t,n);t.flags|=128}if(null!==(o=t.memoizedState)&&(o.rendering=null,o.tail=null,o.lastEffect=null),ko(ia,ia.current),r)break;return null;case 22:case 23:return t.lanes=0,xl(e,t,n)}return Hl(e,t,n)}(e,t,n);vl=0!=(131072&e.flags)}else vl=!1,ni&&0!=(1048576&t.flags)&&Ko(t,Wo,t.index);switch(t.lanes=0,t.tag){case 2:var r=t.type;zl(e,t),e=t.pendingProps;var o=Do(t,_o.current);xi(t,n),o=wa(null,t,r,e,o,n);var a=xa();return t.flags|=1,"object"==typeof o&&null!==o&&"function"==typeof o.render&&void 0===o.$$typeof?(t.tag=1,t.memoizedState=null,t.updateQueue=null,Lo(r)?(a=!0,Mo(t)):a=!1,t.memoizedState=null!==o.state&&void 0!==o.state?o.state:null,Di(t),o.updater=Fi,t.stateNode=o,o._reactInternals=t,Ui(t,r,e,n),t=_l(null,t,r,!0,a,n)):(t.tag=0,ni&&a&&Jo(t),bl(null,t,o,n),t=t.child),t;case 16:r=t.elementType;e:{switch(zl(e,t),e=t.pendingProps,r=(o=r._init)(r._payload),t.type=r,o=t.tag=function(e){if("function"==typeof e)return Du(e)?1:0;if(null!=e){if((e=e.$$typeof)===T)return 11;if(e===O)return 14}return 2}(r),e=hi(r,e),o){case 0:t=kl(null,t,r,e,n);break e;case 1:t=Sl(null,t,r,e,n);break e;case 11:t=yl(null,t,r,e,n);break e;case 14:t=Al(null,t,r,hi(r.type,e),n);break e}throw Error(i(306,r,""))}return t;case 0:return r=t.type,o=t.pendingProps,kl(e,t,r,o=t.elementType===r?o:hi(r,o),n);case 1:return r=t.type,o=t.pendingProps,Sl(e,t,r,o=t.elementType===r?o:hi(r,o),n);case 3:e:{if(Cl(t),null===e)throw Error(i(387));r=t.pendingProps,o=(a=t.memoizedState).element,Li(e,t),Ni(t,r,null,n);var l=t.memoizedState;if(r=l.element,a.isDehydrated){if(a={element:r,isDehydrated:!1,cache:l.cache,pendingSuspenseBoundaries:l.pendingSuspenseBoundaries,transitions:l.transitions},t.updateQueue.baseState=a,t.memoizedState=a,256&t.flags){t=Tl(e,t,r,n,o=ll(Error(i(423)),t));break e}if(r!==o){t=Tl(e,t,r,n,o=ll(Error(i(424)),t));break e}for(ti=ao(t.stateNode.containerInfo.firstChild),ei=t,ni=!0,ri=null,n=Yi(t,null,r,n),t.child=n;n;)n.flags=-3&n.flags|4096,n=n.sibling}else{if(di(),r===o){t=Hl(e,t,n);break e}bl(e,t,r,n)}t=t.child}return t;case 5:return ra(t),null===e&&li(t),r=t.type,o=t.pendingProps,a=null!==e?e.memoizedProps:null,l=o.children,Xr(r,o)?l=null:null!==a&&Xr(r,a)&&(t.flags|=32),El(e,t),bl(e,t,l,n),t.child;case 6:return null===e&&li(t),null;case 13:return Ml(e,t,n);case 4:return ta(t,t.stateNode.containerInfo),r=t.pendingProps,null===e?t.child=$i(t,null,r,n):bl(e,t,r,n),t.child;case 11:return r=t.type,o=t.pendingProps,yl(e,t,r,o=t.elementType===r?o:hi(r,o),n);case 7:return bl(e,t,t.pendingProps,n),t.child;case 8:case 12:return bl(e,t,t.pendingProps.children,n),t.child;case 10:e:{if(r=t.type._context,o=t.pendingProps,a=t.memoizedProps,l=o.value,ko(gi,r._currentValue),r._currentValue=l,null!==a)if(or(a.value,l)){if(a.children===o.children&&!Co.current){t=Hl(e,t,n);break e}}else for(null!==(a=t.child)&&(a.return=t);null!==a;){var s=a.dependencies;if(null!==s){l=a.child;for(var u=s.firstContext;null!==u;){if(u.context===r){if(1===a.tag){(u=Oi(-1,n&-n)).tag=2;var c=a.updateQueue;if(null!==c){var d=(c=c.shared).pending;null===d?u.next=u:(u.next=d.next,d.next=u),c.pending=u}}a.lanes|=n,null!==(u=a.alternate)&&(u.lanes|=n),wi(a.return,n,t),s.lanes|=n;break}u=u.next}}else if(10===a.tag)l=a.type===t.type?null:a.child;else if(18===a.tag){if(null===(l=a.return))throw Error(i(341));l.lanes|=n,null!==(s=l.alternate)&&(s.lanes|=n),wi(l,n,t),l=a.sibling}else l=a.child;if(null!==l)l.return=a;else for(l=a;null!==l;){if(l===t){l=null;break}if(null!==(a=l.sibling)){a.return=l.return,l=a;break}l=l.return}a=l}bl(e,t,o.children,n),t=t.child}return t;case 9:return o=t.type,r=t.pendingProps.children,xi(t,n),r=r(o=Ei(o)),t.flags|=1,bl(e,t,r,n),t.child;case 14:return o=hi(r=t.type,t.pendingProps),Al(e,t,r,o=hi(r.type,o),n);case 15:return wl(e,t,t.type,t.pendingProps,n);case 17:return r=t.type,o=t.pendingProps,o=t.elementType===r?o:hi(r,o),zl(e,t),t.tag=1,Lo(r)?(e=!0,Mo(t)):e=!1,xi(t,n),Hi(t,r,o),Ui(t,r,o,n),_l(null,t,r,!0,e,n);case 19:return Fl(e,t,n);case 22:return xl(e,t,n)}throw Error(i(156,t.tag))};var Vu="function"==typeof reportError?reportError:function(e){console.error(e)};function Qu(e){this._internalRoot=e}function Gu(e){this._internalRoot=e}function $u(e){return!(!e||1!==e.nodeType&&9!==e.nodeType&&11!==e.nodeType)}function Yu(e){return!(!e||1!==e.nodeType&&9!==e.nodeType&&11!==e.nodeType&&(8!==e.nodeType||" react-mount-point-unstable "!==e.nodeValue))}function Zu(){}function Ku(e,t,n,r,o){var i=n._reactRootContainer;if(i){var a=i;if("function"==typeof o){var l=o;o=function(){var e=qu(a);l.call(e)}}Hu(t,a,e,o)}else a=function(e,t,n,r,o){if(o){if("function"==typeof r){var i=r;r=function(){var e=qu(a);i.call(e)}}var a=zu(t,r,e,0,null,!1,0,"",Zu);return e._reactRootContainer=a,e[fo]=a.current,Fr(8===e.nodeType?e.parentNode:e),lu(),a}for(;o=e.lastChild;)e.removeChild(o);if("function"==typeof r){var l=r;r=function(){var e=qu(s);l.call(e)}}var s=Iu(e,0,!1,null,0,!1,0,"",Zu);return e._reactRootContainer=s,e[fo]=s.current,Fr(8===e.nodeType?e.parentNode:e),lu((function(){Hu(t,s,n,r)})),s}(n,t,e,o,r);return qu(a)}Gu.prototype.render=Qu.prototype.render=function(e){var t=this._internalRoot;if(null===t)throw Error(i(409));Hu(e,t,null,null)},Gu.prototype.unmount=Qu.prototype.unmount=function(){var e=this._internalRoot;if(null!==e){this._internalRoot=null;var t=e.containerInfo;lu((function(){Hu(null,e,null,null)})),t[fo]=null}},Gu.prototype.unstable_scheduleHydration=function(e){if(e){var t=kt();e={blockedOn:null,target:e,priority:t};for(var n=0;n<Pt.length&&0!==t&&t<Pt[n].priority;n++);Pt.splice(n,0,e),0===n&&It(e)}},wt=function(e){switch(e.tag){case 3:var t=e.stateNode;if(t.current.memoizedState.isDehydrated){var n=dt(t.pendingLanes);0!==n&&(bt(t,1|n),eu(t,Ke()),0==(6&Ss)&&(Fs=Ke()+500,zo()))}break;case 13:lu((function(){var t=Ci(e,1);if(null!==t){var n=Ks();Xs(t,e,1,n)}})),Wu(e,1)}},xt=function(e){if(13===e.tag){var t=Ci(e,134217728);null!==t&&Xs(t,e,134217728,Ks()),Wu(e,134217728)}},Et=function(e){if(13===e.tag){var t=Js(e),n=Ci(e,t);null!==n&&Xs(n,e,t,Ks()),Wu(e,t)}},kt=function(){return yt},St=function(e,t){var n=yt;try{return yt=e,t()}finally{yt=n}},xe=function(e,t,n){switch(t){case"input":if(J(e,n),t=n.name,"radio"===n.type&&null!=t){for(n=e;n.parentNode;)n=n.parentNode;for(n=n.querySelectorAll("input[name="+JSON.stringify(""+t)+'][type="radio"]'),t=0;t<n.length;t++){var r=n[t];if(r!==e&&r.form===e.form){var o=yo(r);if(!o)throw Error(i(90));G(r),J(r,o)}}}break;case"textarea":ie(e,n);break;case"select":null!=(t=n.value)&&ne(e,!!n.multiple,t,!1)}},Te=au,De=lu;var Ju={usingClientEntryPoint:!1,Events:[vo,bo,yo,_e,Ce,au]},Xu={findFiberByHostInstance:mo,bundleType:0,version:"18.2.0",rendererPackageName:"react-dom"},ec={bundleType:Xu.bundleType,version:Xu.version,rendererPackageName:Xu.rendererPackageName,rendererConfig:Xu.rendererConfig,overrideHookState:null,overrideHookStateDeletePath:null,overrideHookStateRenamePath:null,overrideProps:null,overridePropsDeletePath:null,overridePropsRenamePath:null,setErrorHandler:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:A.ReactCurrentDispatcher,findHostInstanceByFiber:function(e){return null===(e=Ve(e))?null:e.stateNode},findFiberByHostInstance:Xu.findFiberByHostInstance||function(){return null},findHostInstancesForRefresh:null,scheduleRefresh:null,scheduleRoot:null,setRefreshHandler:null,getCurrentFiber:null,reconcilerVersion:"18.2.0-next-9e3b772b8-20220608"};if("undefined"!=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__){var tc=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!tc.isDisabled&&tc.supportsFiber)try{ot=tc.inject(ec),it=tc}catch(ce){}}t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=Ju,t.createPortal=function(e,t){var n=2<arguments.length&&void 0!==arguments[2]?arguments[2]:null;if(!$u(t))throw Error(i(200));return ju(e,t,null,n)},t.createRoot=function(e,t){if(!$u(e))throw Error(i(299));var n=!1,r="",o=Vu;return null!=t&&(!0===t.unstable_strictMode&&(n=!0),void 0!==t.identifierPrefix&&(r=t.identifierPrefix),void 0!==t.onRecoverableError&&(o=t.onRecoverableError)),t=Iu(e,1,!1,null,0,n,0,r,o),e[fo]=t.current,Fr(8===e.nodeType?e.parentNode:e),new Qu(t)},t.findDOMNode=function(e){if(null==e)return null;if(1===e.nodeType)return e;var t=e._reactInternals;if(void 0===t){if("function"==typeof e.render)throw Error(i(188));throw e=Object.keys(e).join(","),Error(i(268,e))}return null===(e=Ve(t))?null:e.stateNode},t.flushSync=function(e){return lu(e)},t.hydrate=function(e,t,n){if(!Yu(t))throw Error(i(200));return Ku(null,e,t,!0,n)},t.hydrateRoot=function(e,t,n){if(!$u(e))throw Error(i(405));var r=null!=n&&n.hydratedSources||null,o=!1,a="",l=Vu;if(null!=n&&(!0===n.unstable_strictMode&&(o=!0),void 0!==n.identifierPrefix&&(a=n.identifierPrefix),void 0!==n.onRecoverableError&&(l=n.onRecoverableError)),t=zu(t,null,e,1,null!=n?n:null,o,0,a,l),e[fo]=t.current,Fr(e),r)for(e=0;e<r.length;e++)o=(o=(n=r[e])._getVersion)(n._source),null==t.mutableSourceEagerHydrationData?t.mutableSourceEagerHydrationData=[n,o]:t.mutableSourceEagerHydrationData.push(n,o);return new Gu(t)},t.render=function(e,t,n){if(!Yu(t))throw Error(i(200));return Ku(null,e,t,!1,n)},t.unmountComponentAtNode=function(e){if(!Yu(e))throw Error(i(40));return!!e._reactRootContainer&&(lu((function(){Ku(null,null,e,!1,(function(){e._reactRootContainer=null,e[fo]=null}))})),!0)},t.unstable_batchedUpdates=au,t.unstable_renderSubtreeIntoContainer=function(e,t,n,r){if(!Yu(n))throw Error(i(200));if(null==e||void 0===e._reactInternals)throw Error(i(38));return Ku(e,t,n,!1,r)},t.version="18.2.0-next-9e3b772b8-20220608"},8316:(e,t,n)=>{"use strict";!function e(){if("undefined"!=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__&&"function"==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE)try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(e)}catch(e){console.error(e)}}(),e.exports=n(2967)},8726:(e,t,n)=>{"use strict";var r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},o=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),i=n(2784),a=s(i),l=s(n(8111));function s(e){return e&&e.__esModule?e:{default:e}}var u={position:"absolute",top:0,left:0,visibility:"hidden",height:0,overflow:"scroll",whiteSpace:"pre"},c=["extraWidth","injectStyles","inputClassName","inputRef","inputStyle","minWidth","onAutosize","placeholderIsMinWidth"],d=function(e,t){t.style.fontSize=e.fontSize,t.style.fontFamily=e.fontFamily,t.style.fontWeight=e.fontWeight,t.style.fontStyle=e.fontStyle,t.style.letterSpacing=e.letterSpacing,t.style.textTransform=e.textTransform},f=!("undefined"==typeof window||!window.navigator)&&/MSIE |Trident\/|Edge\//.test(window.navigator.userAgent),p=function(){return f?"_"+Math.random().toString(36).substr(2,12):void 0},h=function(e){function t(e){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var n=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return n.inputRef=function(e){n.input=e,"function"==typeof n.props.inputRef&&n.props.inputRef(e)},n.placeHolderSizerRef=function(e){n.placeHolderSizer=e},n.sizerRef=function(e){n.sizer=e},n.state={inputWidth:e.minWidth,inputId:e.id||p(),prevId:e.id},n}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),o(t,null,[{key:"getDerivedStateFromProps",value:function(e,t){var n=e.id;return n!==t.prevId?{inputId:n||p(),prevId:n}:null}}]),o(t,[{key:"componentDidMount",value:function(){this.mounted=!0,this.copyInputStyles(),this.updateInputWidth()}},{key:"componentDidUpdate",value:function(e,t){t.inputWidth!==this.state.inputWidth&&"function"==typeof this.props.onAutosize&&this.props.onAutosize(this.state.inputWidth),this.updateInputWidth()}},{key:"componentWillUnmount",value:function(){this.mounted=!1}},{key:"copyInputStyles",value:function(){if(this.mounted&&window.getComputedStyle){var e=this.input&&window.getComputedStyle(this.input);e&&(d(e,this.sizer),this.placeHolderSizer&&d(e,this.placeHolderSizer))}}},{key:"updateInputWidth",value:function(){if(this.mounted&&this.sizer&&void 0!==this.sizer.scrollWidth){var e=void 0;e=this.props.placeholder&&(!this.props.value||this.props.value&&this.props.placeholderIsMinWidth)?Math.max(this.sizer.scrollWidth,this.placeHolderSizer.scrollWidth)+2:this.sizer.scrollWidth+2,(e+="number"===this.props.type&&void 0===this.props.extraWidth?16:parseInt(this.props.extraWidth)||0)<this.props.minWidth&&(e=this.props.minWidth),e!==this.state.inputWidth&&this.setState({inputWidth:e})}}},{key:"getInput",value:function(){return this.input}},{key:"focus",value:function(){this.input.focus()}},{key:"blur",value:function(){this.input.blur()}},{key:"select",value:function(){this.input.select()}},{key:"renderStyles",value:function(){var e=this.props.injectStyles;return f&&e?a.default.createElement("style",{dangerouslySetInnerHTML:{__html:"input#"+this.state.inputId+"::-ms-clear {display: none;}"}}):null}},{key:"render",value:function(){var e=[this.props.defaultValue,this.props.value,""].reduce((function(e,t){return null!=e?e:t})),t=r({},this.props.style);t.display||(t.display="inline-block");var n=r({boxSizing:"content-box",width:this.state.inputWidth+"px"},this.props.inputStyle),o=function(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(this.props,[]);return function(e){c.forEach((function(t){return delete e[t]}))}(o),o.className=this.props.inputClassName,o.id=this.state.inputId,o.style=n,a.default.createElement("div",{className:this.props.className,style:t},this.renderStyles(),a.default.createElement("input",r({},o,{ref:this.inputRef})),a.default.createElement("div",{ref:this.sizerRef,style:u},e),this.props.placeholder?a.default.createElement("div",{ref:this.placeHolderSizerRef,style:u},this.props.placeholder):null)}}]),t}(i.Component);h.propTypes={className:l.default.string,defaultValue:l.default.any,extraWidth:l.default.oneOfType([l.default.number,l.default.string]),id:l.default.string,injectStyles:l.default.bool,inputClassName:l.default.string,inputRef:l.default.func,inputStyle:l.default.object,minWidth:l.default.oneOfType([l.default.number,l.default.string]),onAutosize:l.default.func,onChange:l.default.func,placeholder:l.default.string,placeholderIsMinWidth:l.default.bool,style:l.default.object,value:l.default.any},h.defaultProps={minWidth:1,injectStyles:!0},t.Z=h},1261:(e,t,n)=>{"use strict";var r=n(9162);function o(){}function i(){}i.resetWarningCache=o,e.exports=function(){function e(e,t,n,o,i,a){if(a!==r){var l=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 l.name="Invariant Violation",l}}function t(){return e}e.isRequired=e;var n={array:e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:i,resetWarningCache:o};return n.PropTypes=n,n}},8111:(e,t,n)=>{e.exports=n(1261)()},9162:e=>{"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},6847:(e,t,n)=>{"use strict";function r(){var e=this.constructor.getDerivedStateFromProps(this.props,this.state);null!=e&&this.setState(e)}function o(e){this.setState(function(t){var n=this.constructor.getDerivedStateFromProps(e,t);return null!=n?n:null}.bind(this))}function i(e,t){try{var n=this.props,r=this.state;this.props=e,this.state=t,this.__reactInternalSnapshotFlag=!0,this.__reactInternalSnapshot=this.getSnapshotBeforeUpdate(n,r)}finally{this.props=n,this.state=r}}function a(e){var t=e.prototype;if(!t||!t.isReactComponent)throw new Error("Can only polyfill class components");if("function"!=typeof e.getDerivedStateFromProps&&"function"!=typeof t.getSnapshotBeforeUpdate)return e;var n=null,a=null,l=null;if("function"==typeof t.componentWillMount?n="componentWillMount":"function"==typeof t.UNSAFE_componentWillMount&&(n="UNSAFE_componentWillMount"),"function"==typeof t.componentWillReceiveProps?a="componentWillReceiveProps":"function"==typeof t.UNSAFE_componentWillReceiveProps&&(a="UNSAFE_componentWillReceiveProps"),"function"==typeof t.componentWillUpdate?l="componentWillUpdate":"function"==typeof t.UNSAFE_componentWillUpdate&&(l="UNSAFE_componentWillUpdate"),null!==n||null!==a||null!==l){var s=e.displayName||e.name,u="function"==typeof e.getDerivedStateFromProps?"getDerivedStateFromProps()":"getSnapshotBeforeUpdate()";throw Error("Unsafe legacy lifecycles will not be called for components using new component APIs.\n\n"+s+" uses "+u+" but also contains the following legacy lifecycles:"+(null!==n?"\n "+n:"")+(null!==a?"\n "+a:"")+(null!==l?"\n "+l:"")+"\n\nThe above lifecycles should be removed. Learn more about this warning here:\nhttps://fb.me/react-async-component-lifecycle-hooks")}if("function"==typeof e.getDerivedStateFromProps&&(t.componentWillMount=r,t.componentWillReceiveProps=o),"function"==typeof t.getSnapshotBeforeUpdate){if("function"!=typeof t.componentDidUpdate)throw new Error("Cannot polyfill getSnapshotBeforeUpdate() for components that do not define componentDidUpdate() on the prototype");t.componentWillUpdate=i;var c=t.componentDidUpdate;t.componentDidUpdate=function(e,t,n){var r=this.__reactInternalSnapshotFlag?this.__reactInternalSnapshot:n;c.call(this,e,t,r)}}return e}n.r(t),n.d(t,{polyfill:()=>a}),r.__suppressDeprecationWarning=!0,o.__suppressDeprecationWarning=!0,i.__suppressDeprecationWarning=!0},6683:(e,t)=>{var n;!function(){"use strict";var r={}.hasOwnProperty;function o(){for(var e=[],t=0;t<arguments.length;t++){var n=arguments[t];if(n){var i=typeof n;if("string"===i||"number"===i)e.push(n);else if(Array.isArray(n)){if(n.length){var a=o.apply(null,n);a&&e.push(a)}}else if("object"===i)if(n.toString===Object.prototype.toString)for(var l in n)r.call(n,l)&&n[l]&&e.push(l);else e.push(n.toString())}}return e.join(" ")}e.exports?(o.default=o,e.exports=o):void 0===(n=function(){return o}.apply(t,[]))||(e.exports=n)}()},7993:e=>{e.exports=function(e){return null!=e&&null!=e.constructor&&"function"==typeof e.constructor.isBuffer&&e.constructor.isBuffer(e)}},1225:(e,t,n)=>{"use strict";var r=n(1482);function o(){}function i(){}i.resetWarningCache=o,e.exports=function(){function e(e,t,n,o,i,a){if(a!==r){var l=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 l.name="Invariant Violation",l}}function t(){return e}e.isRequired=e;var n={array:e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:i,resetWarningCache:o};return n.PropTypes=n,n}},9974:(e,t,n)=>{e.exports=n(1225)()},1482:e=>{"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},5828:(e,t)=>{"use strict";var n,r=Symbol.for("react.element"),o=Symbol.for("react.portal"),i=Symbol.for("react.fragment"),a=Symbol.for("react.strict_mode"),l=Symbol.for("react.profiler"),s=Symbol.for("react.provider"),u=Symbol.for("react.context"),c=Symbol.for("react.server_context"),d=Symbol.for("react.forward_ref"),f=Symbol.for("react.suspense"),p=Symbol.for("react.suspense_list"),h=Symbol.for("react.memo"),g=Symbol.for("react.lazy"),m=Symbol.for("react.offscreen");function v(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case r:switch(e=e.type){case i:case l:case a:case f:case p:return e;default:switch(e=e&&e.$$typeof){case c:case u:case d:case g:case h:case s:return e;default:return t}}case o:return t}}}n=Symbol.for("react.module.reference"),t.ContextConsumer=u,t.ContextProvider=s,t.Element=r,t.ForwardRef=d,t.Fragment=i,t.Lazy=g,t.Memo=h,t.Portal=o,t.Profiler=l,t.StrictMode=a,t.Suspense=f,t.SuspenseList=p,t.isAsyncMode=function(){return!1},t.isConcurrentMode=function(){return!1},t.isContextConsumer=function(e){return v(e)===u},t.isContextProvider=function(e){return v(e)===s},t.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===r},t.isForwardRef=function(e){return v(e)===d},t.isFragment=function(e){return v(e)===i},t.isLazy=function(e){return v(e)===g},t.isMemo=function(e){return v(e)===h},t.isPortal=function(e){return v(e)===o},t.isProfiler=function(e){return v(e)===l},t.isStrictMode=function(e){return v(e)===a},t.isSuspense=function(e){return v(e)===f},t.isSuspenseList=function(e){return v(e)===p},t.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===i||e===l||e===a||e===f||e===p||e===m||"object"==typeof e&&null!==e&&(e.$$typeof===g||e.$$typeof===h||e.$$typeof===s||e.$$typeof===u||e.$$typeof===d||e.$$typeof===n||void 0!==e.getModuleId)},t.typeOf=v},3978:(e,t,n)=>{"use strict";e.exports=n(5828)},6772:(e,t,n)=>{var r=n(6299);function o(e,t){var n,o=null;if(!e||"string"!=typeof e)return o;for(var i,a,l=r(e),s="function"==typeof t,u=0,c=l.length;u<c;u++)i=(n=l[u]).property,a=n.value,s?t(i,a,n):a&&(o||(o={}),o[i]=a);return o}e.exports=o,e.exports.default=o},2901:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.bodyOpenClassName=t.portalClassName=void 0;var r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},o=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),i=n(2784),a=h(i),l=h(n(8316)),s=h(n(5440)),u=h(n(742)),c=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}(n(6941)),d=n(6259),f=h(d),p=n(6847);function h(e){return e&&e.__esModule?e:{default:e}}function g(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function m(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}var v=t.portalClassName="ReactModalPortal",b=t.bodyOpenClassName="ReactModal__Body--open",y=d.canUseDOM&&void 0!==l.default.createPortal,A=function(e){return document.createElement(e)},w=function(){return y?l.default.createPortal:l.default.unstable_renderSubtreeIntoContainer};function x(e){return e()}var E=function(e){function t(){var e,n,o;g(this,t);for(var i=arguments.length,s=Array(i),c=0;c<i;c++)s[c]=arguments[c];return n=o=m(this,(e=t.__proto__||Object.getPrototypeOf(t)).call.apply(e,[this].concat(s))),o.removePortal=function(){!y&&l.default.unmountComponentAtNode(o.node);var e=x(o.props.parentSelector);e&&e.contains(o.node)?e.removeChild(o.node):console.warn('React-Modal: "parentSelector" prop did not returned any DOM element. Make sure that the parent element is unmounted to avoid any memory leaks.')},o.portalRef=function(e){o.portal=e},o.renderPortal=function(e){var n=w()(o,a.default.createElement(u.default,r({defaultStyles:t.defaultStyles},e)),o.node);o.portalRef(n)},m(o,n)}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),o(t,[{key:"componentDidMount",value:function(){d.canUseDOM&&(y||(this.node=A("div")),this.node.className=this.props.portalClassName,x(this.props.parentSelector).appendChild(this.node),!y&&this.renderPortal(this.props))}},{key:"getSnapshotBeforeUpdate",value:function(e){return{prevParent:x(e.parentSelector),nextParent:x(this.props.parentSelector)}}},{key:"componentDidUpdate",value:function(e,t,n){if(d.canUseDOM){var r=this.props,o=r.isOpen,i=r.portalClassName;e.portalClassName!==i&&(this.node.className=i);var a=n.prevParent,l=n.nextParent;l!==a&&(a.removeChild(this.node),l.appendChild(this.node)),(e.isOpen||o)&&!y&&this.renderPortal(this.props)}}},{key:"componentWillUnmount",value:function(){if(d.canUseDOM&&this.node&&this.portal){var e=this.portal.state,t=Date.now(),n=e.isOpen&&this.props.closeTimeoutMS&&(e.closesAt||t+this.props.closeTimeoutMS);n?(e.beforeClose||this.portal.closeWithTimeout(),setTimeout(this.removePortal,n-t)):this.removePortal()}}},{key:"render",value:function(){return d.canUseDOM&&y?(!this.node&&y&&(this.node=A("div")),w()(a.default.createElement(u.default,r({ref:this.portalRef,defaultStyles:t.defaultStyles},this.props)),this.node)):null}}],[{key:"setAppElement",value:function(e){c.setElement(e)}}]),t}(i.Component);E.propTypes={isOpen:s.default.bool.isRequired,style:s.default.shape({content:s.default.object,overlay:s.default.object}),portalClassName:s.default.string,bodyOpenClassName:s.default.string,htmlOpenClassName:s.default.string,className:s.default.oneOfType([s.default.string,s.default.shape({base:s.default.string.isRequired,afterOpen:s.default.string.isRequired,beforeClose:s.default.string.isRequired})]),overlayClassName:s.default.oneOfType([s.default.string,s.default.shape({base:s.default.string.isRequired,afterOpen:s.default.string.isRequired,beforeClose:s.default.string.isRequired})]),appElement:s.default.oneOfType([s.default.instanceOf(f.default),s.default.instanceOf(d.SafeHTMLCollection),s.default.instanceOf(d.SafeNodeList),s.default.arrayOf(s.default.instanceOf(f.default))]),onAfterOpen:s.default.func,onRequestClose:s.default.func,closeTimeoutMS:s.default.number,ariaHideApp:s.default.bool,shouldFocusAfterRender:s.default.bool,shouldCloseOnOverlayClick:s.default.bool,shouldReturnFocusAfterClose:s.default.bool,preventScroll:s.default.bool,parentSelector:s.default.func,aria:s.default.object,data:s.default.object,role:s.default.string,contentLabel:s.default.string,shouldCloseOnEsc:s.default.bool,overlayRef:s.default.func,contentRef:s.default.func,id:s.default.string,overlayElement:s.default.func,contentElement:s.default.func},E.defaultProps={isOpen:!1,portalClassName:v,bodyOpenClassName:b,role:"dialog",ariaHideApp:!0,closeTimeoutMS:0,shouldFocusAfterRender:!0,shouldCloseOnEsc:!0,shouldCloseOnOverlayClick:!0,shouldReturnFocusAfterClose:!0,preventScroll:!1,parentSelector:function(){return document.body},overlayElement:function(e,t){return a.default.createElement("div",e,t)},contentElement:function(e,t){return a.default.createElement("div",e,t)}},E.defaultStyles={overlay:{position:"fixed",top:0,left:0,right:0,bottom:0,backgroundColor:"rgba(255, 255, 255, 0.75)"},content:{position:"absolute",top:"40px",left:"40px",right:"40px",bottom:"40px",border:"1px solid #ccc",background:"#fff",overflow:"auto",WebkitOverflowScrolling:"touch",borderRadius:"4px",outline:"none",padding:"20px"}},(0,p.polyfill)(E),t.default=E},742:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},i=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),a=n(2784),l=m(n(5440)),s=g(n(7194)),u=m(n(26)),c=g(n(6941)),d=g(n(5853)),f=n(6259),p=m(f),h=m(n(6638));function g(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}function m(e){return e&&e.__esModule?e:{default:e}}n(6736);var v={overlay:"ReactModal__Overlay",content:"ReactModal__Content"},b=0,y=function(e){function t(e){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var n=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return n.setOverlayRef=function(e){n.overlay=e,n.props.overlayRef&&n.props.overlayRef(e)},n.setContentRef=function(e){n.content=e,n.props.contentRef&&n.props.contentRef(e)},n.afterClose=function(){var e=n.props,t=e.appElement,r=e.ariaHideApp,o=e.htmlOpenClassName,i=e.bodyOpenClassName,a=e.parentSelector,l=a&&a().ownerDocument||document;i&&d.remove(l.body,i),o&&d.remove(l.getElementsByTagName("html")[0],o),r&&b>0&&0==(b-=1)&&c.show(t),n.props.shouldFocusAfterRender&&(n.props.shouldReturnFocusAfterClose?(s.returnFocus(n.props.preventScroll),s.teardownScopedFocus()):s.popWithoutFocus()),n.props.onAfterClose&&n.props.onAfterClose(),h.default.deregister(n)},n.open=function(){n.beforeOpen(),n.state.afterOpen&&n.state.beforeClose?(clearTimeout(n.closeTimer),n.setState({beforeClose:!1})):(n.props.shouldFocusAfterRender&&(s.setupScopedFocus(n.node),s.markForFocusLater()),n.setState({isOpen:!0},(function(){n.openAnimationFrame=requestAnimationFrame((function(){n.setState({afterOpen:!0}),n.props.isOpen&&n.props.onAfterOpen&&n.props.onAfterOpen({overlayEl:n.overlay,contentEl:n.content})}))})))},n.close=function(){n.props.closeTimeoutMS>0?n.closeWithTimeout():n.closeWithoutTimeout()},n.focusContent=function(){return n.content&&!n.contentHasFocus()&&n.content.focus({preventScroll:!0})},n.closeWithTimeout=function(){var e=Date.now()+n.props.closeTimeoutMS;n.setState({beforeClose:!0,closesAt:e},(function(){n.closeTimer=setTimeout(n.closeWithoutTimeout,n.state.closesAt-Date.now())}))},n.closeWithoutTimeout=function(){n.setState({beforeClose:!1,isOpen:!1,afterOpen:!1,closesAt:null},n.afterClose)},n.handleKeyDown=function(e){(function(e){return"Tab"===e.code||9===e.keyCode})(e)&&(0,u.default)(n.content,e),n.props.shouldCloseOnEsc&&function(e){return"Escape"===e.code||27===e.keyCode}(e)&&(e.stopPropagation(),n.requestClose(e))},n.handleOverlayOnClick=function(e){null===n.shouldClose&&(n.shouldClose=!0),n.shouldClose&&n.props.shouldCloseOnOverlayClick&&(n.ownerHandlesClose()?n.requestClose(e):n.focusContent()),n.shouldClose=null},n.handleContentOnMouseUp=function(){n.shouldClose=!1},n.handleOverlayOnMouseDown=function(e){n.props.shouldCloseOnOverlayClick||e.target!=n.overlay||e.preventDefault()},n.handleContentOnClick=function(){n.shouldClose=!1},n.handleContentOnMouseDown=function(){n.shouldClose=!1},n.requestClose=function(e){return n.ownerHandlesClose()&&n.props.onRequestClose(e)},n.ownerHandlesClose=function(){return n.props.onRequestClose},n.shouldBeClosed=function(){return!n.state.isOpen&&!n.state.beforeClose},n.contentHasFocus=function(){return document.activeElement===n.content||n.content.contains(document.activeElement)},n.buildClassName=function(e,t){var r="object"===(void 0===t?"undefined":o(t))?t:{base:v[e],afterOpen:v[e]+"--after-open",beforeClose:v[e]+"--before-close"},i=r.base;return n.state.afterOpen&&(i=i+" "+r.afterOpen),n.state.beforeClose&&(i=i+" "+r.beforeClose),"string"==typeof t&&t?i+" "+t:i},n.attributesFromObject=function(e,t){return Object.keys(t).reduce((function(n,r){return n[e+"-"+r]=t[r],n}),{})},n.state={afterOpen:!1,beforeClose:!1},n.shouldClose=null,n.moveFromContentToOverlay=null,n}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),i(t,[{key:"componentDidMount",value:function(){this.props.isOpen&&this.open()}},{key:"componentDidUpdate",value:function(e,t){this.props.isOpen&&!e.isOpen?this.open():!this.props.isOpen&&e.isOpen&&this.close(),this.props.shouldFocusAfterRender&&this.state.isOpen&&!t.isOpen&&this.focusContent()}},{key:"componentWillUnmount",value:function(){this.state.isOpen&&this.afterClose(),clearTimeout(this.closeTimer),cancelAnimationFrame(this.openAnimationFrame)}},{key:"beforeOpen",value:function(){var e=this.props,t=e.appElement,n=e.ariaHideApp,r=e.htmlOpenClassName,o=e.bodyOpenClassName,i=e.parentSelector,a=i&&i().ownerDocument||document;o&&d.add(a.body,o),r&&d.add(a.getElementsByTagName("html")[0],r),n&&(b+=1,c.hide(t)),h.default.register(this)}},{key:"render",value:function(){var e=this.props,t=e.id,n=e.className,o=e.overlayClassName,i=e.defaultStyles,a=e.children,l=n?{}:i.content,s=o?{}:i.overlay;if(this.shouldBeClosed())return null;var u={ref:this.setOverlayRef,className:this.buildClassName("overlay",o),style:r({},s,this.props.style.overlay),onClick:this.handleOverlayOnClick,onMouseDown:this.handleOverlayOnMouseDown},c=r({id:t,ref:this.setContentRef,style:r({},l,this.props.style.content),className:this.buildClassName("content",n),tabIndex:"-1",onKeyDown:this.handleKeyDown,onMouseDown:this.handleContentOnMouseDown,onMouseUp:this.handleContentOnMouseUp,onClick:this.handleContentOnClick,role:this.props.role,"aria-label":this.props.contentLabel},this.attributesFromObject("aria",r({modal:!0},this.props.aria)),this.attributesFromObject("data",this.props.data||{}),{"data-testid":this.props.testId}),d=this.props.contentElement(c,a);return this.props.overlayElement(u,d)}}]),t}(a.Component);y.defaultProps={style:{overlay:{},content:{}},defaultStyles:{}},y.propTypes={isOpen:l.default.bool.isRequired,defaultStyles:l.default.shape({content:l.default.object,overlay:l.default.object}),style:l.default.shape({content:l.default.object,overlay:l.default.object}),className:l.default.oneOfType([l.default.string,l.default.object]),overlayClassName:l.default.oneOfType([l.default.string,l.default.object]),parentSelector:l.default.func,bodyOpenClassName:l.default.string,htmlOpenClassName:l.default.string,ariaHideApp:l.default.bool,appElement:l.default.oneOfType([l.default.instanceOf(p.default),l.default.instanceOf(f.SafeHTMLCollection),l.default.instanceOf(f.SafeNodeList),l.default.arrayOf(l.default.instanceOf(p.default))]),onAfterOpen:l.default.func,onAfterClose:l.default.func,onRequestClose:l.default.func,closeTimeoutMS:l.default.number,shouldFocusAfterRender:l.default.bool,shouldCloseOnOverlayClick:l.default.bool,shouldReturnFocusAfterClose:l.default.bool,preventScroll:l.default.bool,role:l.default.string,contentLabel:l.default.string,aria:l.default.object,data:l.default.object,children:l.default.node,shouldCloseOnEsc:l.default.bool,overlayRef:l.default.func,contentRef:l.default.func,id:l.default.string,overlayElement:l.default.func,contentElement:l.default.func,testId:l.default.string},t.default=y,e.exports=t.default},6941:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.resetState=function(){a&&(a.removeAttribute?a.removeAttribute("aria-hidden"):null!=a.length?a.forEach((function(e){return e.removeAttribute("aria-hidden")})):document.querySelectorAll(a).forEach((function(e){return e.removeAttribute("aria-hidden")}))),a=null},t.log=function(){},t.assertNodeList=l,t.setElement=function(e){var t=e;if("string"==typeof t&&i.canUseDOM){var n=document.querySelectorAll(t);l(n,t),t=n}return a=t||a},t.validateElement=s,t.hide=function(e){var t=!0,n=!1,r=void 0;try{for(var o,i=s(e)[Symbol.iterator]();!(t=(o=i.next()).done);t=!0)o.value.setAttribute("aria-hidden","true")}catch(e){n=!0,r=e}finally{try{!t&&i.return&&i.return()}finally{if(n)throw r}}},t.show=function(e){var t=!0,n=!1,r=void 0;try{for(var o,i=s(e)[Symbol.iterator]();!(t=(o=i.next()).done);t=!0)o.value.removeAttribute("aria-hidden")}catch(e){n=!0,r=e}finally{try{!t&&i.return&&i.return()}finally{if(n)throw r}}},t.documentNotReadyOrSSRTesting=function(){a=null};var r,o=(r=n(5982))&&r.__esModule?r:{default:r},i=n(6259),a=null;function l(e,t){if(!e||!e.length)throw new Error("react-modal: No elements were found for selector "+t+".")}function s(e){var t=e||a;return t?Array.isArray(t)||t instanceof HTMLCollection||t instanceof NodeList?t:[t]:((0,o.default)(!1,["react-modal: App element is not defined.","Please use `Modal.setAppElement(el)` or set `appElement={el}`.","This is needed so screen readers don't see main content","when modal is opened. It is not recommended, but you can opt-out","by setting `ariaHideApp={false}`."].join(" ")),[])}},6736:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.resetState=function(){for(var e=[i,a],t=0;t<e.length;t++){var n=e[t];n&&n.parentNode&&n.parentNode.removeChild(n)}i=a=null,l=[]},t.log=function(){console.log("bodyTrap ----------"),console.log(l.length);for(var e=[i,a],t=0;t<e.length;t++){var n=e[t]||{};console.log(n.nodeName,n.className,n.id)}console.log("edn bodyTrap ----------")};var r,o=(r=n(6638))&&r.__esModule?r:{default:r},i=void 0,a=void 0,l=[];function s(){0!==l.length&&l[l.length-1].focusContent()}o.default.subscribe((function(e,t){i||a||((i=document.createElement("div")).setAttribute("data-react-modal-body-trap",""),i.style.position="absolute",i.style.opacity="0",i.setAttribute("tabindex","0"),i.addEventListener("focus",s),(a=i.cloneNode()).addEventListener("focus",s)),(l=t).length>0?(document.body.firstChild!==i&&document.body.insertBefore(i,document.body.firstChild),document.body.lastChild!==a&&document.body.appendChild(a)):(i.parentElement&&i.parentElement.removeChild(i),a.parentElement&&a.parentElement.removeChild(a))}))},5853:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.resetState=function(){var e=document.getElementsByTagName("html")[0];for(var t in n)o(e,n[t]);var i=document.body;for(var a in r)o(i,r[a]);n={},r={}},t.log=function(){};var n={},r={};function o(e,t){e.classList.remove(t)}t.add=function(e,t){return o=e.classList,i="html"==e.nodeName.toLowerCase()?n:r,void t.split(" ").forEach((function(e){!function(e,t){e[t]||(e[t]=0),e[t]+=1}(i,e),o.add(e)}));var o,i},t.remove=function(e,t){return o=e.classList,i="html"==e.nodeName.toLowerCase()?n:r,void t.split(" ").forEach((function(e){!function(e,t){e[t]&&(e[t]-=1)}(i,e),0===i[e]&&o.remove(e)}));var o,i}},7194:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.resetState=function(){i=[]},t.log=function(){},t.handleBlur=s,t.handleFocus=u,t.markForFocusLater=function(){i.push(document.activeElement)},t.returnFocus=function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=null;try{return void(0!==i.length&&(t=i.pop()).focus({preventScroll:e}))}catch(e){console.warn(["You tried to return focus to",t,"but it is not in the DOM anymore"].join(" "))}},t.popWithoutFocus=function(){i.length>0&&i.pop()},t.setupScopedFocus=function(e){a=e,window.addEventListener?(window.addEventListener("blur",s,!1),document.addEventListener("focus",u,!0)):(window.attachEvent("onBlur",s),document.attachEvent("onFocus",u))},t.teardownScopedFocus=function(){a=null,window.addEventListener?(window.removeEventListener("blur",s),document.removeEventListener("focus",u)):(window.detachEvent("onBlur",s),document.detachEvent("onFocus",u))};var r,o=(r=n(3970))&&r.__esModule?r:{default:r},i=[],a=null,l=!1;function s(){l=!0}function u(){if(l){if(l=!1,!a)return;setTimeout((function(){a.contains(document.activeElement)||((0,o.default)(a)[0]||a).focus()}),0)}}},6638:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.log=function(){console.log("portalOpenInstances ----------"),console.log(r.openInstances.length),r.openInstances.forEach((function(e){return console.log(e)})),console.log("end portalOpenInstances ----------")},t.resetState=function(){r=new n};var n=function e(){var t=this;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.register=function(e){-1===t.openInstances.indexOf(e)&&(t.openInstances.push(e),t.emit("register"))},this.deregister=function(e){var n=t.openInstances.indexOf(e);-1!==n&&(t.openInstances.splice(n,1),t.emit("deregister"))},this.subscribe=function(e){t.subscribers.push(e)},this.emit=function(e){t.subscribers.forEach((function(n){return n(e,t.openInstances.slice())}))},this.openInstances=[],this.subscribers=[]},r=new n;t.default=r},6259:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.canUseDOM=t.SafeNodeList=t.SafeHTMLCollection=void 0;var r,o=((r=n(5978))&&r.__esModule?r:{default:r}).default,i=o.canUseDOM?window.HTMLElement:{};t.SafeHTMLCollection=o.canUseDOM?window.HTMLCollection:{},t.SafeNodeList=o.canUseDOM?window.NodeList:{},t.canUseDOM=o.canUseDOM,t.default=i},26:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){var n=(0,o.default)(e);if(n.length){var r=void 0,a=t.shiftKey,l=n[0],s=n[n.length-1],u=i();if(e===u){if(!a)return;r=s}if(s!==u||a||(r=l),l===u&&a&&(r=s),r)return t.preventDefault(),void r.focus();var c=/(\bChrome\b|\bSafari\b)\//.exec(navigator.userAgent);if(null!=c&&"Chrome"!=c[1]&&null==/\biPod\b|\biPad\b/g.exec(navigator.userAgent)){var d=n.indexOf(u);if(d>-1&&(d+=a?-1:1),void 0===(r=n[d]))return t.preventDefault(),void(r=a?s:l).focus();t.preventDefault(),r.focus()}}else t.preventDefault()};var r,o=(r=n(3970))&&r.__esModule?r:{default:r};function i(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:document;return e.activeElement.shadowRoot?i(e.activeElement.shadowRoot):e.activeElement}e.exports=t.default},3970:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function e(t){return[].slice.call(t.querySelectorAll("*"),0).reduce((function(t,n){return t.concat(n.shadowRoot?e(n.shadowRoot):[n])}),[]).filter(o)};var n=/input|select|textarea|button|object|iframe/;function r(e){var t=e.offsetWidth<=0&&e.offsetHeight<=0;if(t&&!e.innerHTML)return!0;try{var n=window.getComputedStyle(e),r=n.getPropertyValue("display");return t?"contents"!==r&&function(e,t){return"visible"!==t.getPropertyValue("overflow")||e.scrollWidth<=0&&e.scrollHeight<=0}(e,n):"none"===r}catch(e){return console.warn("Failed to inspect element style"),!1}}function o(e){var t=e.getAttribute("tabindex");null===t&&(t=void 0);var o=isNaN(t);return(o||t>=0)&&function(e,t){var o=e.nodeName.toLowerCase();return(n.test(o)&&!e.disabled||"a"===o&&e.href||t)&&function(e){for(var t=e,n=e.getRootNode&&e.getRootNode();t&&t!==document.body;){if(n&&t===n&&(t=n.host.parentNode),r(t))return!1;t=t.parentNode}return!0}(e)}(e,!o)}e.exports=t.default},7149:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,o=(r=n(2901))&&r.__esModule?r:{default:r};t.default=o.default,e.exports=t.default},5690:(e,t,n)=>{"use strict";var r=n(5440),o=n(2784),i=n(7149);function a(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var l=a(r),s=a(o),u=a(i);function c(e){var t=e.isOpen,n=e.title,r=e.subtitle,i=e.onRequestClose,a=e.onAfterOpen,l=e.onAfterClose,c=e.children,f=e.className,p=e.overlayClassName,h=e.closeIcon,g=e.from,m=void 0===g?"right":g,v=e.width,b=e.shouldCloseOnEsc,y=e.hideHeader,A=void 0!==y&&y,w="slide-pane_from_".concat(m),x=function(e){var t=o.useRef(!0);o.useEffect((function(){return t.current=!0,function(){t.current=!1}}),[]);var n=o.useState(!1),r=n[0],i=n[1];return[r,function(e){!0===t.current&&i(e)}]}(),E=x[0],k=x[1];return s.default.createElement(u.default,{ariaHideApp:!1,overlayClassName:{base:"slide-pane__overlay ".concat(p||""),afterOpen:E?"overlay-after-open":"",beforeClose:"overlay-before-close"},className:{base:"slide-pane ".concat(w," ").concat(f||""),afterOpen:E?"content-after-open":"",beforeClose:"content-before-close"},style:{content:{width:v||"80%"}},closeTimeoutMS:500,isOpen:null!=t&&t,shouldCloseOnEsc:b,onAfterOpen:function(){null==a||a(),setTimeout((function(){k(!0)}),0)},onAfterClose:function(){null==l||l(),setTimeout((function(){k(!1)}),0)},onRequestClose:i,contentLabel:'Modal "'.concat(n||"",'"')},!A&&s.default.createElement("div",{className:"slide-pane__header"},s.default.createElement("div",{className:"slide-pane__close",onClick:i,role:"button",tabIndex:0},h||s.default.createElement(d,null)),s.default.createElement("div",{className:"slide-pane__title-wrapper"},s.default.createElement("h2",{className:"slide-pane__title"},n),s.default.createElement("div",{className:"slide-pane__subtitle"},r))),s.default.createElement("div",{className:"slide-pane__content"},c))}function d(){return s.default.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 13 22"},s.default.createElement("path",{fill:"currentColor",fillRule:"evenodd",d:"M4 11l8 8c.6.5.6 1.5 0 2-.5.6-1.5.6-2 0l-9-9c-.6-.5-.6-1.5 0-2l9-9c.5-.6 1.5-.6 2 0 .6.5.6 1.5 0 2l-8 8z"}))}c.propTypes={isOpen:l.default.bool,title:l.default.node,subtitle:l.default.node,from:l.default.oneOf(["left","right","bottom"]),children:l.default.node.isRequired,className:l.default.string,overlayClassName:l.default.string,width:l.default.string,closeIcon:l.default.node,shouldCloseOnEsc:l.default.bool,hideHeader:l.default.bool,onRequestClose:l.default.func.isRequired,onAfterOpen:l.default.func,onAfterClose:l.default.func},t.ZP=c},1837:(e,t,n)=>{"use strict";var r=n(2784),o=Symbol.for("react.element"),i=Symbol.for("react.fragment"),a=Object.prototype.hasOwnProperty,l=r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,s={key:!0,ref:!0,__self:!0,__source:!0};function u(e,t,n){var r,i={},u=null,c=null;for(r in void 0!==n&&(u=""+n),void 0!==t.key&&(u=""+t.key),void 0!==t.ref&&(c=t.ref),t)a.call(t,r)&&!s.hasOwnProperty(r)&&(i[r]=t[r]);if(e&&e.defaultProps)for(r in t=e.defaultProps)void 0===i[r]&&(i[r]=t[r]);return{$$typeof:o,type:e,key:u,ref:c,props:i,_owner:l.current}}t.Fragment=i,t.jsx=u,t.jsxs=u},3426:(e,t)=>{"use strict";var n=Symbol.for("react.element"),r=Symbol.for("react.portal"),o=Symbol.for("react.fragment"),i=Symbol.for("react.strict_mode"),a=Symbol.for("react.profiler"),l=Symbol.for("react.provider"),s=Symbol.for("react.context"),u=Symbol.for("react.forward_ref"),c=Symbol.for("react.suspense"),d=Symbol.for("react.memo"),f=Symbol.for("react.lazy"),p=Symbol.iterator,h={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},g=Object.assign,m={};function v(e,t,n){this.props=e,this.context=t,this.refs=m,this.updater=n||h}function b(){}function y(e,t,n){this.props=e,this.context=t,this.refs=m,this.updater=n||h}v.prototype.isReactComponent={},v.prototype.setState=function(e,t){if("object"!=typeof e&&"function"!=typeof e&&null!=e)throw Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,e,t,"setState")},v.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")},b.prototype=v.prototype;var A=y.prototype=new b;A.constructor=y,g(A,v.prototype),A.isPureReactComponent=!0;var w=Array.isArray,x=Object.prototype.hasOwnProperty,E={current:null},k={key:!0,ref:!0,__self:!0,__source:!0};function S(e,t,r){var o,i={},a=null,l=null;if(null!=t)for(o in void 0!==t.ref&&(l=t.ref),void 0!==t.key&&(a=""+t.key),t)x.call(t,o)&&!k.hasOwnProperty(o)&&(i[o]=t[o]);var s=arguments.length-2;if(1===s)i.children=r;else if(1<s){for(var u=Array(s),c=0;c<s;c++)u[c]=arguments[c+2];i.children=u}if(e&&e.defaultProps)for(o in s=e.defaultProps)void 0===i[o]&&(i[o]=s[o]);return{$$typeof:n,type:e,key:a,ref:l,props:i,_owner:E.current}}function _(e){return"object"==typeof e&&null!==e&&e.$$typeof===n}var C=/\/+/g;function T(e,t){return"object"==typeof e&&null!==e&&null!=e.key?function(e){var t={"=":"=0",":":"=2"};return"$"+e.replace(/[=:]/g,(function(e){return t[e]}))}(""+e.key):t.toString(36)}function D(e,t,o,i,a){var l=typeof e;"undefined"!==l&&"boolean"!==l||(e=null);var s=!1;if(null===e)s=!0;else switch(l){case"string":case"number":s=!0;break;case"object":switch(e.$$typeof){case n:case r:s=!0}}if(s)return a=a(s=e),e=""===i?"."+T(s,0):i,w(a)?(o="",null!=e&&(o=e.replace(C,"$&/")+"/"),D(a,t,o,"",(function(e){return e}))):null!=a&&(_(a)&&(a=function(e,t){return{$$typeof:n,type:e.type,key:t,ref:e.ref,props:e.props,_owner:e._owner}}(a,o+(!a.key||s&&s.key===a.key?"":(""+a.key).replace(C,"$&/")+"/")+e)),t.push(a)),1;if(s=0,i=""===i?".":i+":",w(e))for(var u=0;u<e.length;u++){var c=i+T(l=e[u],u);s+=D(l,t,o,c,a)}else if(c=function(e){return null===e||"object"!=typeof e?null:"function"==typeof(e=p&&e[p]||e["@@iterator"])?e:null}(e),"function"==typeof c)for(e=c.call(e),u=0;!(l=e.next()).done;)s+=D(l=l.value,t,o,c=i+T(l,u++),a);else if("object"===l)throw t=String(e),Error("Objects are not valid as a React child (found: "+("[object Object]"===t?"object with keys {"+Object.keys(e).join(", ")+"}":t)+"). If you meant to render a collection of children, use an array instead.");return s}function L(e,t,n){if(null==e)return e;var r=[],o=0;return D(e,r,"","",(function(e){return t.call(n,e,o++)})),r}function O(e){if(-1===e._status){var t=e._result;(t=t()).then((function(t){0!==e._status&&-1!==e._status||(e._status=1,e._result=t)}),(function(t){0!==e._status&&-1!==e._status||(e._status=2,e._result=t)})),-1===e._status&&(e._status=0,e._result=t)}if(1===e._status)return e._result.default;throw e._result}var R={current:null},P={transition:null},M={ReactCurrentDispatcher:R,ReactCurrentBatchConfig:P,ReactCurrentOwner:E};t.Children={map:L,forEach:function(e,t,n){L(e,(function(){t.apply(this,arguments)}),n)},count:function(e){var t=0;return L(e,(function(){t++})),t},toArray:function(e){return L(e,(function(e){return e}))||[]},only:function(e){if(!_(e))throw Error("React.Children.only expected to receive a single React element child.");return e}},t.Component=v,t.Fragment=o,t.Profiler=a,t.PureComponent=y,t.StrictMode=i,t.Suspense=c,t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=M,t.cloneElement=function(e,t,r){if(null==e)throw Error("React.cloneElement(...): The argument must be a React element, but you passed "+e+".");var o=g({},e.props),i=e.key,a=e.ref,l=e._owner;if(null!=t){if(void 0!==t.ref&&(a=t.ref,l=E.current),void 0!==t.key&&(i=""+t.key),e.type&&e.type.defaultProps)var s=e.type.defaultProps;for(u in t)x.call(t,u)&&!k.hasOwnProperty(u)&&(o[u]=void 0===t[u]&&void 0!==s?s[u]:t[u])}var u=arguments.length-2;if(1===u)o.children=r;else if(1<u){s=Array(u);for(var c=0;c<u;c++)s[c]=arguments[c+2];o.children=s}return{$$typeof:n,type:e.type,key:i,ref:a,props:o,_owner:l}},t.createContext=function(e){return(e={$$typeof:s,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null}).Provider={$$typeof:l,_context:e},e.Consumer=e},t.createElement=S,t.createFactory=function(e){var t=S.bind(null,e);return t.type=e,t},t.createRef=function(){return{current:null}},t.forwardRef=function(e){return{$$typeof:u,render:e}},t.isValidElement=_,t.lazy=function(e){return{$$typeof:f,_payload:{_status:-1,_result:e},_init:O}},t.memo=function(e,t){return{$$typeof:d,type:e,compare:void 0===t?null:t}},t.startTransition=function(e){var t=P.transition;P.transition={};try{e()}finally{P.transition=t}},t.unstable_act=function(){throw Error("act(...) is not supported in production builds of React.")},t.useCallback=function(e,t){return R.current.useCallback(e,t)},t.useContext=function(e){return R.current.useContext(e)},t.useDebugValue=function(){},t.useDeferredValue=function(e){return R.current.useDeferredValue(e)},t.useEffect=function(e,t){return R.current.useEffect(e,t)},t.useId=function(){return R.current.useId()},t.useImperativeHandle=function(e,t,n){return R.current.useImperativeHandle(e,t,n)},t.useInsertionEffect=function(e,t){return R.current.useInsertionEffect(e,t)},t.useLayoutEffect=function(e,t){return R.current.useLayoutEffect(e,t)},t.useMemo=function(e,t){return R.current.useMemo(e,t)},t.useReducer=function(e,t,n){return R.current.useReducer(e,t,n)},t.useRef=function(e){return R.current.useRef(e)},t.useState=function(e){return R.current.useState(e)},t.useSyncExternalStore=function(e,t,n){return R.current.useSyncExternalStore(e,t,n)},t.useTransition=function(){return R.current.useTransition()},t.version="18.2.0"},2784:(e,t,n)=>{"use strict";e.exports=n(3426)},2322:(e,t,n)=>{"use strict";e.exports=n(1837)},5047:e=>{var t=function(e){"use strict";var t,n=Object.prototype,r=n.hasOwnProperty,o="function"==typeof Symbol?Symbol:{},i=o.iterator||"@@iterator",a=o.asyncIterator||"@@asyncIterator",l=o.toStringTag||"@@toStringTag";function s(e,t,n){return Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{s({},"")}catch(e){s=function(e,t,n){return e[t]=n}}function u(e,t,n,r){var o=t&&t.prototype instanceof m?t:m,i=Object.create(o.prototype),a=new T(r||[]);return i._invoke=function(e,t,n){var r=d;return function(o,i){if(r===p)throw new Error("Generator is already running");if(r===h){if("throw"===o)throw i;return L()}for(n.method=o,n.arg=i;;){var a=n.delegate;if(a){var l=S(a,n);if(l){if(l===g)continue;return l}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(r===d)throw r=h,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);r=p;var s=c(e,t,n);if("normal"===s.type){if(r=n.done?h:f,s.arg===g)continue;return{value:s.arg,done:n.done}}"throw"===s.type&&(r=h,n.method="throw",n.arg=s.arg)}}}(e,n,a),i}function c(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(e){return{type:"throw",arg:e}}}e.wrap=u;var d="suspendedStart",f="suspendedYield",p="executing",h="completed",g={};function m(){}function v(){}function b(){}var y={};s(y,i,(function(){return this}));var A=Object.getPrototypeOf,w=A&&A(A(D([])));w&&w!==n&&r.call(w,i)&&(y=w);var x=b.prototype=m.prototype=Object.create(y);function E(e){["next","throw","return"].forEach((function(t){s(e,t,(function(e){return this._invoke(t,e)}))}))}function k(e,t){function n(o,i,a,l){var s=c(e[o],e,i);if("throw"!==s.type){var u=s.arg,d=u.value;return d&&"object"==typeof d&&r.call(d,"__await")?t.resolve(d.__await).then((function(e){n("next",e,a,l)}),(function(e){n("throw",e,a,l)})):t.resolve(d).then((function(e){u.value=e,a(u)}),(function(e){return n("throw",e,a,l)}))}l(s.arg)}var o;this._invoke=function(e,r){function i(){return new t((function(t,o){n(e,r,t,o)}))}return o=o?o.then(i,i):i()}}function S(e,n){var r=e.iterator[n.method];if(r===t){if(n.delegate=null,"throw"===n.method){if(e.iterator.return&&(n.method="return",n.arg=t,S(e,n),"throw"===n.method))return g;n.method="throw",n.arg=new TypeError("The iterator does not provide a 'throw' method")}return g}var o=c(r,e.iterator,n.arg);if("throw"===o.type)return n.method="throw",n.arg=o.arg,n.delegate=null,g;var i=o.arg;return i?i.done?(n[e.resultName]=i.value,n.next=e.nextLoc,"return"!==n.method&&(n.method="next",n.arg=t),n.delegate=null,g):i:(n.method="throw",n.arg=new TypeError("iterator result is not an object"),n.delegate=null,g)}function _(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function C(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function T(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(_,this),this.reset(!0)}function D(e){if(e){var n=e[i];if(n)return n.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,a=function n(){for(;++o<e.length;)if(r.call(e,o))return n.value=e[o],n.done=!1,n;return n.value=t,n.done=!0,n};return a.next=a}}return{next:L}}function L(){return{value:t,done:!0}}return v.prototype=b,s(x,"constructor",b),s(b,"constructor",v),v.displayName=s(b,l,"GeneratorFunction"),e.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===v||"GeneratorFunction"===(t.displayName||t.name))},e.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,b):(e.__proto__=b,s(e,l,"GeneratorFunction")),e.prototype=Object.create(x),e},e.awrap=function(e){return{__await:e}},E(k.prototype),s(k.prototype,a,(function(){return this})),e.AsyncIterator=k,e.async=function(t,n,r,o,i){void 0===i&&(i=Promise);var a=new k(u(t,n,r,o),i);return e.isGeneratorFunction(n)?a:a.next().then((function(e){return e.done?e.value:a.next()}))},E(x),s(x,l,"Generator"),s(x,i,(function(){return this})),s(x,"toString",(function(){return"[object Generator]"})),e.keys=function(e){var t=[];for(var n in e)t.push(n);return t.reverse(),function n(){for(;t.length;){var r=t.pop();if(r in e)return n.value=r,n.done=!1,n}return n.done=!0,n}},e.values=D,T.prototype={constructor:T,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=t,this.done=!1,this.delegate=null,this.method="next",this.arg=t,this.tryEntries.forEach(C),!e)for(var n in this)"t"===n.charAt(0)&&r.call(this,n)&&!isNaN(+n.slice(1))&&(this[n]=t)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var n=this;function o(r,o){return l.type="throw",l.arg=e,n.next=r,o&&(n.method="next",n.arg=t),!!o}for(var i=this.tryEntries.length-1;i>=0;--i){var a=this.tryEntries[i],l=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var s=r.call(a,"catchLoc"),u=r.call(a,"finallyLoc");if(s&&u){if(this.prev<a.catchLoc)return o(a.catchLoc,!0);if(this.prev<a.finallyLoc)return o(a.finallyLoc)}else if(s){if(this.prev<a.catchLoc)return o(a.catchLoc,!0)}else{if(!u)throw new Error("try statement without catch or finally");if(this.prev<a.finallyLoc)return o(a.finallyLoc)}}}},abrupt:function(e,t){for(var n=this.tryEntries.length-1;n>=0;--n){var o=this.tryEntries[n];if(o.tryLoc<=this.prev&&r.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var i=o;break}}i&&("break"===e||"continue"===e)&&i.tryLoc<=t&&t<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=e,a.arg=t,i?(this.method="next",this.next=i.finallyLoc,g):this.complete(a)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),g},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),C(n),g}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var r=n.completion;if("throw"===r.type){var o=r.arg;C(n)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(e,n,r){return this.delegate={iterator:D(e),resultName:n,nextLoc:r},"next"===this.method&&(this.arg=t),g}},e}(e.exports);try{regeneratorRuntime=t}catch(e){"object"==typeof globalThis?globalThis.regeneratorRuntime=t:Function("r","regeneratorRuntime = r")(t)}},6475:(e,t)=>{"use strict";function n(e,t){var n=e.length;e.push(t);e:for(;0<n;){var r=n-1>>>1,o=e[r];if(!(0<i(o,t)))break e;e[r]=t,e[n]=o,n=r}}function r(e){return 0===e.length?null:e[0]}function o(e){if(0===e.length)return null;var t=e[0],n=e.pop();if(n!==t){e[0]=n;e:for(var r=0,o=e.length,a=o>>>1;r<a;){var l=2*(r+1)-1,s=e[l],u=l+1,c=e[u];if(0>i(s,n))u<o&&0>i(c,s)?(e[r]=c,e[u]=n,r=u):(e[r]=s,e[l]=n,r=l);else{if(!(u<o&&0>i(c,n)))break e;e[r]=c,e[u]=n,r=u}}}return t}function i(e,t){var n=e.sortIndex-t.sortIndex;return 0!==n?n:e.id-t.id}if("object"==typeof performance&&"function"==typeof performance.now){var a=performance;t.unstable_now=function(){return a.now()}}else{var l=Date,s=l.now();t.unstable_now=function(){return l.now()-s}}var u=[],c=[],d=1,f=null,p=3,h=!1,g=!1,m=!1,v="function"==typeof setTimeout?setTimeout:null,b="function"==typeof clearTimeout?clearTimeout:null,y="undefined"!=typeof setImmediate?setImmediate:null;function A(e){for(var t=r(c);null!==t;){if(null===t.callback)o(c);else{if(!(t.startTime<=e))break;o(c),t.sortIndex=t.expirationTime,n(u,t)}t=r(c)}}function w(e){if(m=!1,A(e),!g)if(null!==r(u))g=!0,P(x);else{var t=r(c);null!==t&&M(w,t.startTime-e)}}function x(e,n){g=!1,m&&(m=!1,b(_),_=-1),h=!0;var i=p;try{for(A(n),f=r(u);null!==f&&(!(f.expirationTime>n)||e&&!D());){var a=f.callback;if("function"==typeof a){f.callback=null,p=f.priorityLevel;var l=a(f.expirationTime<=n);n=t.unstable_now(),"function"==typeof l?f.callback=l:f===r(u)&&o(u),A(n)}else o(u);f=r(u)}if(null!==f)var s=!0;else{var d=r(c);null!==d&&M(w,d.startTime-n),s=!1}return s}finally{f=null,p=i,h=!1}}"undefined"!=typeof navigator&&void 0!==navigator.scheduling&&void 0!==navigator.scheduling.isInputPending&&navigator.scheduling.isInputPending.bind(navigator.scheduling);var E,k=!1,S=null,_=-1,C=5,T=-1;function D(){return!(t.unstable_now()-T<C)}function L(){if(null!==S){var e=t.unstable_now();T=e;var n=!0;try{n=S(!0,e)}finally{n?E():(k=!1,S=null)}}else k=!1}if("function"==typeof y)E=function(){y(L)};else if("undefined"!=typeof MessageChannel){var O=new MessageChannel,R=O.port2;O.port1.onmessage=L,E=function(){R.postMessage(null)}}else E=function(){v(L,0)};function P(e){S=e,k||(k=!0,E())}function M(e,n){_=v((function(){e(t.unstable_now())}),n)}t.unstable_IdlePriority=5,t.unstable_ImmediatePriority=1,t.unstable_LowPriority=4,t.unstable_NormalPriority=3,t.unstable_Profiling=null,t.unstable_UserBlockingPriority=2,t.unstable_cancelCallback=function(e){e.callback=null},t.unstable_continueExecution=function(){g||h||(g=!0,P(x))},t.unstable_forceFrameRate=function(e){0>e||125<e?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):C=0<e?Math.floor(1e3/e):5},t.unstable_getCurrentPriorityLevel=function(){return p},t.unstable_getFirstCallbackNode=function(){return r(u)},t.unstable_next=function(e){switch(p){case 1:case 2:case 3:var t=3;break;default:t=p}var n=p;p=t;try{return e()}finally{p=n}},t.unstable_pauseExecution=function(){},t.unstable_requestPaint=function(){},t.unstable_runWithPriority=function(e,t){switch(e){case 1:case 2:case 3:case 4:case 5:break;default:e=3}var n=p;p=e;try{return t()}finally{p=n}},t.unstable_scheduleCallback=function(e,o,i){var a=t.unstable_now();switch(i="object"==typeof i&&null!==i&&"number"==typeof(i=i.delay)&&0<i?a+i:a,e){case 1:var l=-1;break;case 2:l=250;break;case 5:l=1073741823;break;case 4:l=1e4;break;default:l=5e3}return e={id:d++,callback:o,priorityLevel:e,startTime:i,expirationTime:l=i+l,sortIndex:-1},i>a?(e.sortIndex=i,n(c,e),null===r(u)&&e===r(c)&&(m?(b(_),_=-1):m=!0,M(w,i-a))):(e.sortIndex=l,n(u,e),g||h||(g=!0,P(x))),e},t.unstable_shouldYield=D,t.unstable_wrapCallback=function(e){var t=p;return function(){var n=p;p=t;try{return e.apply(this,arguments)}finally{p=n}}}},4616:(e,t,n)=>{"use strict";e.exports=n(6475)},6889:e=>{e.exports=/[\0-\x1F\x7F-\x9F]/},2145:e=>{e.exports=/[\xAD\u0600-\u0605\u061C\u06DD\u070F\u08E2\u180E\u200B-\u200F\u202A-\u202E\u2060-\u2064\u2066-\u206F\uFEFF\uFFF9-\uFFFB]|\uD804[\uDCBD\uDCCD]|\uD82F[\uDCA0-\uDCA3]|\uD834[\uDD73-\uDD7A]|\uDB40[\uDC01\uDC20-\uDC7F]/},7062:e=>{e.exports=/[!-#%-\*,-\/:;\?@\[-\]_\{\}\xA1\xA7\xAB\xB6\xB7\xBB\xBF\u037E\u0387\u055A-\u055F\u0589\u058A\u05BE\u05C0\u05C3\u05C6\u05F3\u05F4\u0609\u060A\u060C\u060D\u061B\u061E\u061F\u066A-\u066D\u06D4\u0700-\u070D\u07F7-\u07F9\u0830-\u083E\u085E\u0964\u0965\u0970\u09FD\u0A76\u0AF0\u0C84\u0DF4\u0E4F\u0E5A\u0E5B\u0F04-\u0F12\u0F14\u0F3A-\u0F3D\u0F85\u0FD0-\u0FD4\u0FD9\u0FDA\u104A-\u104F\u10FB\u1360-\u1368\u1400\u166D\u166E\u169B\u169C\u16EB-\u16ED\u1735\u1736\u17D4-\u17D6\u17D8-\u17DA\u1800-\u180A\u1944\u1945\u1A1E\u1A1F\u1AA0-\u1AA6\u1AA8-\u1AAD\u1B5A-\u1B60\u1BFC-\u1BFF\u1C3B-\u1C3F\u1C7E\u1C7F\u1CC0-\u1CC7\u1CD3\u2010-\u2027\u2030-\u2043\u2045-\u2051\u2053-\u205E\u207D\u207E\u208D\u208E\u2308-\u230B\u2329\u232A\u2768-\u2775\u27C5\u27C6\u27E6-\u27EF\u2983-\u2998\u29D8-\u29DB\u29FC\u29FD\u2CF9-\u2CFC\u2CFE\u2CFF\u2D70\u2E00-\u2E2E\u2E30-\u2E4E\u3001-\u3003\u3008-\u3011\u3014-\u301F\u3030\u303D\u30A0\u30FB\uA4FE\uA4FF\uA60D-\uA60F\uA673\uA67E\uA6F2-\uA6F7\uA874-\uA877\uA8CE\uA8CF\uA8F8-\uA8FA\uA8FC\uA92E\uA92F\uA95F\uA9C1-\uA9CD\uA9DE\uA9DF\uAA5C-\uAA5F\uAADE\uAADF\uAAF0\uAAF1\uABEB\uFD3E\uFD3F\uFE10-\uFE19\uFE30-\uFE52\uFE54-\uFE61\uFE63\uFE68\uFE6A\uFE6B\uFF01-\uFF03\uFF05-\uFF0A\uFF0C-\uFF0F\uFF1A\uFF1B\uFF1F\uFF20\uFF3B-\uFF3D\uFF3F\uFF5B\uFF5D\uFF5F-\uFF65]|\uD800[\uDD00-\uDD02\uDF9F\uDFD0]|\uD801\uDD6F|\uD802[\uDC57\uDD1F\uDD3F\uDE50-\uDE58\uDE7F\uDEF0-\uDEF6\uDF39-\uDF3F\uDF99-\uDF9C]|\uD803[\uDF55-\uDF59]|\uD804[\uDC47-\uDC4D\uDCBB\uDCBC\uDCBE-\uDCC1\uDD40-\uDD43\uDD74\uDD75\uDDC5-\uDDC8\uDDCD\uDDDB\uDDDD-\uDDDF\uDE38-\uDE3D\uDEA9]|\uD805[\uDC4B-\uDC4F\uDC5B\uDC5D\uDCC6\uDDC1-\uDDD7\uDE41-\uDE43\uDE60-\uDE6C\uDF3C-\uDF3E]|\uD806[\uDC3B\uDE3F-\uDE46\uDE9A-\uDE9C\uDE9E-\uDEA2]|\uD807[\uDC41-\uDC45\uDC70\uDC71\uDEF7\uDEF8]|\uD809[\uDC70-\uDC74]|\uD81A[\uDE6E\uDE6F\uDEF5\uDF37-\uDF3B\uDF44]|\uD81B[\uDE97-\uDE9A]|\uD82F\uDC9F|\uD836[\uDE87-\uDE8B]|\uD83A[\uDD5E\uDD5F]/},8442:e=>{e.exports=/[ \xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000]/},8579:(e,t,n)=>{"use strict";t.Any=n(3530),t.Cc=n(6889),t.Cf=n(2145),t.P=n(7062),t.Z=n(8442)},3530:e=>{e.exports=/[\0-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/},9520:e=>{e.exports=function(e){return null!=e&&null!=e.constructor&&"function"==typeof e.constructor.isBuffer&&e.constructor.isBuffer(e)}},5982:e=>{"use strict";e.exports=function(){}},5429:(e,t,n)=>{"use strict";n.d(t,{Z:()=>l});var r=n(8081),o=n.n(r),i=n(3645),a=n.n(i)()(o());a.push([e.id,'@font-face{font-family:rmel-iconfont;src:url(data:application/vnd.ms-fontobject;base64,fBkAAMAYAAABAAIAAAAAAAIABQMAAAAAAAABAJABAAAAAExQAAAAAAAAAAAAAAAAAAAAAAEAAAAAAAAAB9vj4gAAAAAAAAAAAAAAAAAAAAAAABoAcgBtAGUAbAAtAGkAYwBvAG4AZgBvAG4AdAAAAA4AUgBlAGcAdQBsAGEAcgAAABYAVgBlAHIAcwBpAG8AbgAgADEALgAwAAAAGgByAG0AZQBsAC0AaQBjAG8AbgBmAG8AbgB0AAAAAAAAAQAAAAsAgAADADBHU1VCsP6z7QAAATgAAABCT1MvMj3jT5QAAAF8AAAAVmNtYXBA5I9dAAACPAAAAwhnbHlmMImhbQAABXwAAA9gaGVhZBtQ+k8AAADgAAAANmhoZWEH3gObAAAAvAAAACRobXR4aAAAAAAAAdQAAABobG9jYTX6MgAAAAVEAAAANm1heHABMAB7AAABGAAAACBuYW1lc9ztwgAAFNwAAAKpcG9zdCcpv64AABeIAAABNQABAAADgP+AAFwEAAAAAAAEAAABAAAAAAAAAAAAAAAAAAAAGgABAAAAAQAA4uPbB18PPPUACwQAAAAAANwY2ykAAAAA3BjbKQAA//8EAAMBAAAACAACAAAAAAAAAAEAAAAaAG8ADAAAAAAAAgAAAAoACgAAAP8AAAAAAAAAAQAAAAoAHgAsAAFERkxUAAgABAAAAAAAAAABAAAAAWxpZ2EACAAAAAEAAAABAAQABAAAAAEACAABAAYAAAABAAAAAAABBAABkAAFAAgCiQLMAAAAjwKJAswAAAHrADIBCAAAAgAFAwAAAAAAAAAAAAAAAAAAAAAAAAAAAABQZkVkAEDnbe2iA4D/gABcA4AAgAAAAAEAAAAAAAAEAAAABAAAAAQAAAAEAAAABAAAAAQAAAAEAAAABAAAAAQAAAAEAAAABAAAAAQAAAAEAAAABAAAAAQAAAAEAAAABAAAAAQAAAAEAAAABAAAAAQAAAAEAAAABAAAAAQAAAAEAAAABAAAAAAAAAUAAAADAAAALAAAAAQAAAHMAAEAAAAAAMYAAwABAAAALAADAAoAAAHMAAQAmgAAABYAEAADAAbnbelB7TztRe1h7XXteO2A7Y3tov//AADnbelB7TvtRO1f7W/td+2A7Yztn///AAAAAAAAAAAAAAAAAAAAAAAAAAAAAQAWABYAFgAYABoAHgAqACwALAAuAAAAAQAEAAUAAwAGAAcACAAJAAoACwAMAA0ADgAPABAAEQASABMAAgAUABUAFgAXABgAGQAAAQYAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADAAAAAABPAAAAAAAAAAZAADnbQAA520AAAABAADpQQAA6UEAAAAEAADtOwAA7TsAAAAFAADtPAAA7TwAAAADAADtRAAA7UQAAAAGAADtRQAA7UUAAAAHAADtXwAA7V8AAAAIAADtYAAA7WAAAAAJAADtYQAA7WEAAAAKAADtbwAA7W8AAAALAADtcAAA7XAAAAAMAADtcQAA7XEAAAANAADtcgAA7XIAAAAOAADtcwAA7XMAAAAPAADtdAAA7XQAAAAQAADtdQAA7XUAAAARAADtdwAA7XcAAAASAADteAAA7XgAAAATAADtgAAA7YAAAAACAADtjAAA7YwAAAAUAADtjQAA7Y0AAAAVAADtnwAA7Z8AAAAWAADtoAAA7aAAAAAXAADtoQAA7aEAAAAYAADtogAA7aIAAAAZAAAAAABmAMwBHgGEAbwB/gJmAsgC/gM0A3IDogRABKgE7gUuBXAFygYKBmoGpAbEBugHRgewAAAABQAAAAADVgLWAAsAGAAlADQAQAAAEyEyFhQGByEuATQ2Fz4BNyEeARQGIyEiJgM0NjchHgEUBiMhIiY3PgEzITIeARQOASMhIiYnFhQPAQYmNRE0NhfWAlQSGRkS/awSGRnaARgTAWASGRkS/qASGfQZEgJUEhkZEv2sEhnzARgTAWAMFAsLFAz+oBIZOQgIkgseHgsC1RklGAEBGCUZ8hMYAQEYJRkZ/oUTGAEBGCUZGdkSGQsVFxQMGoYGFgaVDAwRASoRDAwAAAAADAAAAAADqwKrAA8AEwAXABsAHwAjACcAMwA3ADsAPwBDAAABIQ4BBwMeARchPgE3ES4BBTMVIxUzFSMnMxUjFTMVKwI1MzUjNTMBISImNDYzITIWFAY3IzUzNSM1MxcjNTM1IzUzA1X9ViQwAQEBMSQCqiQxAQEx/lxWVlZWgFZWVlYqVlZWVgFV/wASGBgSAQASGBgZVlZWVoBWVlZWAqsBMST+ViQxAQExJAGqJDF/VipW1lYqVlYqVv6AGCQZGSQYqlYqVtZWKlYAAwAAAAADKwMAAA8AHwAzAAAlHgEXIT4BNxEuASchDgEHMyEyFhcRDgEHIS4BJxE+ASUnJisBIg8BIyIGFBYzITI2NCYjAQABMCQBViQwAQEwJP6qJDABgAEAExcBARcT/wATFwEBFwEoHgsStBILHmsTFxcTAgARGRkRVSQwAQEwJAGrJDABATAkFxT+qxEZAQEZEQFVFBfVHg0NHhcnFxcnFwADAAAAAAOrAtkAFgAtAD4AAAEVBg8BBiIvASY0PwEnJjQ/ATYyHwEWBTc2NC8BJiIPAQYHFRYfARYyPwE2NCcBJyYGBwMGFh8BFjY3EzYmJwOrAQmwBxEHHgYGk5MGBh4HEQewCf0PkwYGHwYSBrAJAQEJsAcRBx4GBgFCKQkPBOMCBwgoCQ8E4gMHCQGIEA0KsAYGHgcRBpOTBhIGHgYGsAoVkwYRBx4GBrAKDRANCrAGBh4GEgYB2Q8DBwj9jAgQAw4DBwgCcwgPBAACAAAAAAOaAm8AEAAhAAAlJzc2NCYiDwEGFB8BFjI2NCU3JyY0NjIfARYUDwEGIiY0AXOmpg0ZJAzEDQ3EDiEaAQ2mpg0aIQ7EDQ3EDiEa2qamDiEaDcQNIg3EDRohDqamDCQZDcQNIg3EDRkkAAAAAwAAAAADuAKsAAsAFwAjAAABDgEHHgEXPgE3LgEDLgEnPgE3HgEXDgEDDgEHHgEXPgE3LgECAJjrNTXrmJjrNTXrmFZwAgJwVlZwAgJwVjRDAQFDNDRDAQFDAqwCpIaGpAICpIaGpP4OAnBWVnACAnBWVnABPgFDNDRDAQFDNDRDAAAABQAAAAADgAKrAAsAFwAjADAAQAAAEyEyNjQmIyEiBhQWFyE+ATQmJyEOARQWEyEyNjQmIyEiBhQWJx4BFyE+ATQmJyEOASUhHgEXEQ4BByEuATURNDarAQATFxcT/wARGRkRAQATFxcT/wARGRkRAQATFxcT/wARGRkaARkRAQATFxcT/wARGQHUAQARGQEBGRH/ABMXFwEAFycXFycXqwEZIhkBARkiGQFVFycXFycX1RMXAQEXJhcBARcYARcT/gARGQEBGRECABMXAAAAAAMAAAAAA6sCVgAZACYAQAAAASMiBhQWOwEeARcOAQcjIgYUFjsBPgE3LgEFHgEXIT4BNCYnIQ4BFyMuASc+ATczMjY0JisBDgEHHgEXMzI2NCYC1YASGBgSgDdIAQFIN4ASGBgSgFt4AwN4/iUBGBIBABIYGBL/ABIYVYA3SAEBSDeAEhgYEoBbeAMDeFuAEhgYAlUYJBkBSTY2SQEZJBgCeFtbeNMSGAEBGCQYAQEYkgFJNjZJARkkGAJ4W1t4AhgkGQABAAAAAAOsAisAHgAAAS4BJw4BBwYWFxY2Nz4BNzIWFwcGFhczPgE3NS4BBwMSO5ZVh9Q4ChMXFCMJK6FnP28sURMTHu4SGAECMRYBvDQ6AQKJchcqCAYPElZpASslUhYxAgEYEu8dFBMAAAABAAAAAAOyAisAHgAAAQ4BBycmBgcVHgEXMz4BLwE+ATMeARceATc+AScuAQIUVZY7URYxAgEYEu4eFBNSLW8+Z6ErCSQTFxMKOdMCKwE6NFAUFB3vEhgBAjEWUiUrAWlWEg8GCCoXcokAAAADAAAAAAL1Ar8AFAAcACQAAAE+ATcuAScjDgEHER4BFyE+ATc0JiUzHgEUBgcjEyM1Mx4BFAYCkyEpAQJmTu8UGQEBGRQBB0lpAjT+1IgdJycdiJ+fnx0nJwGKF0QkTmYCARoT/d4TGgECYUk1UtkBJjsmAf7viQEmOyYAAQAAAAADEgK/ABwAAAEeARczAyMOARQWFzM+ATQmJyMTMz4BNCYnIw4BAaUBJh0hnDsdJiYd5B0mJh0hnDsdJiYd5B0mAnodJgH+lAEmOicBASc6JgEBbAEmOicBAScABgAAAAADlgLWAAsAFwAjAEEAUgBuAAABIT4BNCYnIQ4BFBYBIQ4BFBYXIT4BNCYDIQ4BFBYXIT4BNCYFIyIGFBY7ARUjIgYUFjsBFSMiBhQWOwEyNjc1LgEDMxUeATI2PQE0JisBIgYUFhcjIgYUFjsBBwYdARQWOwEyNjQmKwE3Nj0BLgEBawIAEhgYEv4AEhkZAhL+ABIZGRICABIYGBL+ABIZGRICABIYGP1YVQkMDAlAFQoLCwoVQAkMDAlVCgsBAQtfFQELEwwMCSsJDAxeVQkMDAk3RwUMCVUKCwsKN0gFAQsCVQEYJBgBARgkGP5VARgkGAEBGCQYAQEBGCQYAQEYJBjVDBIMFgwSDBYMEgwMCYAJDAHWawkMDAmACQwMEgzWDBIMVAYICQkMDBIMVAYICQkMAAAAAAYAAAAAA4sCwAAIABEAGgAmADIAPwAAEw4BFBYyNjQmAw4BFBYyNjQmAw4BFBYyNjQmFyE+ATQmJyEOARQWNyE+ATQmJyEOARQWAx4BFyE+ATQmJyEOAbUbJCQ3JCQcGyQkNyQkHBskJDYlJI8CABIYGBL+ABIYGBICABIYGBL+ABIYGBkBGBICABIYGBL+ABIYAcABJDYkJDYkAQEBJDYkJDYk/gEBJDYkJDYkagEYJBgBARgkGP8BGCQYAQEYJBgBKhIYAQEYJBgBARgAAAACAAAAAANWAlYAFgAtAAAlMjY/ATY9AS4BKwEiBh0BFBYXMwcGFgUyNj8BNj0BNCYrASIGBxUeARczBwYWATIRGwc9CQEYEqsSGBgSViwOIAHMEBsIPAkYEqsSGAEBGBJVLA0gqxEOeRIUwhIYGBKrEhgBWB4zAREOeRIUwhIYGBKrEhgBWB4zAAAAAAMAAAAAA4ACwAAIABkAJQAAJT4BNzUjFR4BAR4BFzMVMzUzPgE0JichDgEDIT4BNCYnIQ4BFBYCACQwAaoBMP75ASQblqqWGyQkG/4qGyQrAqoSGRkS/VYSGRlAATAkKyskMAI/GyQBgIABJDYkAQEk/noBGCQYAQEYJBgAAAAAAgAA//8DKwMBABsAKAAAJT4BNxEuASIGBxEUBgcGLgI1ES4BIgYHER4BBx4BMyEyNjQmIyEiBgIiYnoCAR4tHgFBNSFBNR0BHi0eAQOm1AEYEgIAEhgYEv4AEhitD5NlARcWHh4W/uQ3UwwHDys8IwEgFh4eFv7gdpR2EhkZJBgYAAAAAwAAAAADcALHAAsALQA5AAATIT4BNCYjISIGFBYFISIGFBYXITIWFxYGByM1LgEPAQYUHwEWNjc1Mz4BJy4BBSMiBhQWFzM+ATQmwAJVEhkZEv2rEhgYAgv+BxIYGBICBiAzBgUxKGABGQtMBgZMDBgBVU1iBQhk/m2rEhgYEqsSGBgCcQEYJBgYJBisGCQYAScgKTkCIg8KCkwHEQdMCgoPIgJrTkRV/xgkGAEBGCQYAAAAAgAAAAADlgLAABQAKAAAARQWFzMRHgEyNjcRMz4BNCYnIQ4BAzMVFBYyNjc1MzI2NCYnIQ4BFBYBayQclQEkNiQBlRwkJBz+VhwkwEAkNyQBQBskJBv/ABwkJAKAGyQB/kAbJCQbAcABJDYkAQEk/tDrGyQkG+skNyQBASQ3JAAKAAAAAAN4AvgADwAWABoAIQAlACkALQA0ADgAPwAAASEOAQcRHgEXIT4BNxEuAQEjIiY9ATM1IzUzNSM1NDY7ARMjNTM1IzUzNSM1MxMjNTMVFAY3IzUzNSM1MzIWFQMs/aggKgEBKiACWCAqAQEq/h5xDxaWlpaWFg9x4ZaWlpaWlrxxlhYWlpaWcQ8WAvcBKiD9qCAqAQEqIAJYICr9XhYPcUuWS3EPFv2olkuWS5b9qJZxDxbhlkuWFg8AAAACAAD//wOAAwAADwAgAAAlES4BJyEOAQcRHgEXIT4BJRc3NjIfARYGIyEiJj8BPgEDgAEwJP2qJDABATAkAlYkMP39WYUHFAeVCAwN/gEOCwhqBxRVAlYkMAEBMCT9qiQwAQEw+2yqCAnHCxcXC4kIAQAAAAEAAAAAAzUCNgAQAAABBwYUFjI/ARcWMjY0LwEmIgHZ/hAhLBHX1xEsIRD+EC4CJv4RLCEQ19cQISwR/hAAAAABAAAAAAM1AjYAEgAAAQcnJiciDgEWHwEWMj8BNjQuAQLW1tcQFxEbDQYM/hEsEf4QIS0CJtfXDwESICAM/hAQ/hAtIAEAAAAEAAAAAANrAusAEAAhADMARAAANzMVFBYyNj0BNCYrASIGFBYTIyIGFBY7ATI2PQE0JiIGFQEyNj0BMzI2NCYrASIGHQEUFhM1NCYiBh0BFBY7ATI2NCYjyWgeLB0dFpwWHR1+aBYdHRacFh0dLB4BahYeaBYdHRacFh0dSh4sHR0WnBYdHRaxaBYdHRacFh0dLB4Bnh4sHR0WnBYdHRb9Xx0WaB4sHR0WnBYdAjloFh0dFpwWHR0sHgAAAAQAAAAAA1QC1AARACMANABGAAATDgEHFR4BFzM+ATQmKwE1NCYnPgE9ATMyNjQmJyMOAQcVHgEBIyIGFBYXMz4BNzUuASIGFQMeATsBFRQWMjY3NS4BJyMOAd0VGwEBGxWRFRsbFWEcFBQcYRUbGxWRFRsBARsCK2EVGxsVkRUbAQEbKRySARsVYRwpGwEBGxWRFRsBHwEbFZEVGwEBGykcYRUbwwEbFWEcKRsBARsVkRUb/qscKRsBARsVkRUbGxUBtRQcYRUbGxWRFRsBARsAAAAAAAASAN4AAQAAAAAAAAAVAAAAAQAAAAAAAQANABUAAQAAAAAAAgAHACIAAQAAAAAAAwANACkAAQAAAAAABAANADYAAQAAAAAABQALAEMAAQAAAAAABgANAE4AAQAAAAAACgArAFsAAQAAAAAACwATAIYAAwABBAkAAAAqAJkAAwABBAkAAQAaAMMAAwABBAkAAgAOAN0AAwABBAkAAwAaAOsAAwABBAkABAAaAQUAAwABBAkABQAWAR8AAwABBAkABgAaATUAAwABBAkACgBWAU8AAwABBAkACwAmAaUKQ3JlYXRlZCBieSBpY29uZm9udApybWVsLWljb25mb250UmVndWxhcnJtZWwtaWNvbmZvbnRybWVsLWljb25mb250VmVyc2lvbiAxLjBybWVsLWljb25mb250R2VuZXJhdGVkIGJ5IHN2ZzJ0dGYgZnJvbSBGb250ZWxsbyBwcm9qZWN0Lmh0dHA6Ly9mb250ZWxsby5jb20ACgBDAHIAZQBhAHQAZQBkACAAYgB5ACAAaQBjAG8AbgBmAG8AbgB0AAoAcgBtAGUAbAAtAGkAYwBvAG4AZgBvAG4AdABSAGUAZwB1AGwAYQByAHIAbQBlAGwALQBpAGMAbwBuAGYAbwBuAHQAcgBtAGUAbAAtAGkAYwBvAG4AZgBvAG4AdABWAGUAcgBzAGkAbwBuACAAMQAuADAAcgBtAGUAbAAtAGkAYwBvAG4AZgBvAG4AdABHAGUAbgBlAHIAYQB0AGUAZAAgAGIAeQAgAHMAdgBnADIAdAB0AGYAIABmAHIAbwBtACAARgBvAG4AdABlAGwAbABvACAAcAByAG8AagBlAGMAdAAuAGgAdAB0AHAAOgAvAC8AZgBvAG4AdABlAGwAbABvAC4AYwBvAG0AAAAAAgAAAAAAAAAKAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAaAQIBAwEEAQUBBgEHAQgBCQEKAQsBDAENAQ4BDwEQAREBEgETARQBFQEWARcBGAEZARoBGwADdGFiCGtleWJvYXJkBmRlbGV0ZQpjb2RlLWJsb2NrBGNvZGUKdmlzaWJpbGl0eQp2aWV3LXNwbGl0BGxpbmsEcmVkbwR1bmRvBGJvbGQGaXRhbGljDGxpc3Qtb3JkZXJlZA5saXN0LXVub3JkZXJlZAVxdW90ZQ1zdHJpa2V0aHJvdWdoCXVuZGVybGluZQR3cmFwCWZvbnQtc2l6ZQRncmlkBWltYWdlC2V4cGFuZC1sZXNzC2V4cGFuZC1tb3JlD2Z1bGxzY3JlZW4tZXhpdApmdWxsc2NyZWVuAAAAAAA=);src:url(data:font/ttf;base64,AAEAAAALAIAAAwAwR1NVQrD+s+0AAAE4AAAAQk9TLzI940+UAAABfAAAAFZjbWFwQOSPXQAAAjwAAAMIZ2x5ZjCJoW0AAAV8AAAPYGhlYWQbUPpPAAAA4AAAADZoaGVhB94DmwAAALwAAAAkaG10eGgAAAAAAAHUAAAAaGxvY2E1+jIAAAAFRAAAADZtYXhwATAAewAAARgAAAAgbmFtZXPc7cIAABTcAAACqXBvc3QnKb+uAAAXiAAAATUAAQAAA4D/gABcBAAAAAAABAAAAQAAAAAAAAAAAAAAAAAAABoAAQAAAAEAAOLjgrdfDzz1AAsEAAAAAADcGNspAAAAANwY2ykAAP//BAADAQAAAAgAAgAAAAAAAAABAAAAGgBvAAwAAAAAAAIAAAAKAAoAAAD/AAAAAAAAAAEAAAAKAB4ALAABREZMVAAIAAQAAAAAAAAAAQAAAAFsaWdhAAgAAAABAAAAAQAEAAQAAAABAAgAAQAGAAAAAQAAAAAAAQQAAZAABQAIAokCzAAAAI8CiQLMAAAB6wAyAQgAAAIABQMAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUGZFZABA523togOA/4AAXAOAAIAAAAABAAAAAAAABAAAAAQAAAAEAAAABAAAAAQAAAAEAAAABAAAAAQAAAAEAAAABAAAAAQAAAAEAAAABAAAAAQAAAAEAAAABAAAAAQAAAAEAAAABAAAAAQAAAAEAAAABAAAAAQAAAAEAAAABAAAAAQAAAAAAAAFAAAAAwAAACwAAAAEAAABzAABAAAAAADGAAMAAQAAACwAAwAKAAABzAAEAJoAAAAWABAAAwAG523pQe087UXtYe117XjtgO2N7aL//wAA523pQe077UTtX+1v7XftgO2M7Z///wAAAAAAAAAAAAAAAAAAAAAAAAAAAAEAFgAWABYAGAAaAB4AKgAsACwALgAAAAEABAAFAAMABgAHAAgACQAKAAsADAANAA4ADwAQABEAEgATAAIAFAAVABYAFwAYABkAAAEGAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAwAAAAAATwAAAAAAAAAGQAA520AAOdtAAAAAQAA6UEAAOlBAAAABAAA7TsAAO07AAAABQAA7TwAAO08AAAAAwAA7UQAAO1EAAAABgAA7UUAAO1FAAAABwAA7V8AAO1fAAAACAAA7WAAAO1gAAAACQAA7WEAAO1hAAAACgAA7W8AAO1vAAAACwAA7XAAAO1wAAAADAAA7XEAAO1xAAAADQAA7XIAAO1yAAAADgAA7XMAAO1zAAAADwAA7XQAAO10AAAAEAAA7XUAAO11AAAAEQAA7XcAAO13AAAAEgAA7XgAAO14AAAAEwAA7YAAAO2AAAAAAgAA7YwAAO2MAAAAFAAA7Y0AAO2NAAAAFQAA7Z8AAO2fAAAAFgAA7aAAAO2gAAAAFwAA7aEAAO2hAAAAGAAA7aIAAO2iAAAAGQAAAAAAZgDMAR4BhAG8Af4CZgLIAv4DNANyA6IEQASoBO4FLgVwBcoGCgZqBqQGxAboB0YHsAAAAAUAAAAAA1YC1gALABgAJQA0AEAAABMhMhYUBgchLgE0Nhc+ATchHgEUBiMhIiYDNDY3IR4BFAYjISImNz4BMyEyHgEUDgEjISImJxYUDwEGJjURNDYX1gJUEhkZEv2sEhkZ2gEYEwFgEhkZEv6gEhn0GRICVBIZGRL9rBIZ8wEYEwFgDBQLCxQM/qASGTkICJILHh4LAtUZJRgBARglGfITGAEBGCUZGf6FExgBARglGRnZEhkLFRcUDBqGBhYGlQwMEQEqEQwMAAAAAAwAAAAAA6sCqwAPABMAFwAbAB8AIwAnADMANwA7AD8AQwAAASEOAQcDHgEXIT4BNxEuAQUzFSMVMxUjJzMVIxUzFSsCNTM1IzUzASEiJjQ2MyEyFhQGNyM1MzUjNTMXIzUzNSM1MwNV/VYkMAEBATEkAqokMQEBMf5cVlZWVoBWVlZWKlZWVlYBVf8AEhgYEgEAEhgYGVZWVlaAVlZWVgKrATEk/lYkMQEBMSQBqiQxf1YqVtZWKlZWKlb+gBgkGRkkGKpWKlbWVipWAAMAAAAAAysDAAAPAB8AMwAAJR4BFyE+ATcRLgEnIQ4BBzMhMhYXEQ4BByEuAScRPgElJyYrASIPASMiBhQWMyEyNjQmIwEAATAkAVYkMAEBMCT+qiQwAYABABMXAQEXE/8AExcBARcBKB4LErQSCx5rExcXEwIAERkZEVUkMAEBMCQBqyQwAQEwJBcU/qsRGQEBGREBVRQX1R4NDR4XJxcXJxcAAwAAAAADqwLZABYALQA+AAABFQYPAQYiLwEmND8BJyY0PwE2Mh8BFgU3NjQvASYiDwEGBxUWHwEWMj8BNjQnAScmBgcDBhYfARY2NxM2JicDqwEJsAcRBx4GBpOTBgYeBxEHsAn9D5MGBh8GEgawCQEBCbAHEQceBgYBQikJDwTjAgcIKAkPBOIDBwkBiBANCrAGBh4HEQaTkwYSBh4GBrAKFZMGEQceBgawCg0QDQqwBgYeBhIGAdkPAwcI/YwIEAMOAwcIAnMIDwQAAgAAAAADmgJvABAAIQAAJSc3NjQmIg8BBhQfARYyNjQlNycmNDYyHwEWFA8BBiImNAFzpqYNGSQMxA0NxA4hGgENpqYNGiEOxA0NxA4hGtqmpg4hGg3EDSINxA0aIQ6mpgwkGQ3EDSINxA0ZJAAAAAMAAAAAA7gCrAALABcAIwAAAQ4BBx4BFz4BNy4BAy4BJz4BNx4BFw4BAw4BBx4BFz4BNy4BAgCY6zU165iY6zU165hWcAICcFZWcAICcFY0QwEBQzQ0QwEBQwKsAqSGhqQCAqSGhqT+DgJwVlZwAgJwVlZwAT4BQzQ0QwEBQzQ0QwAAAAUAAAAAA4ACqwALABcAIwAwAEAAABMhMjY0JiMhIgYUFhchPgE0JichDgEUFhMhMjY0JiMhIgYUFiceARchPgE0JichDgElIR4BFxEOAQchLgE1ETQ2qwEAExcXE/8AERkZEQEAExcXE/8AERkZEQEAExcXE/8AERkZGgEZEQEAExcXE/8AERkB1AEAERkBARkR/wATFxcBABcnFxcnF6sBGSIZAQEZIhkBVRcnFxcnF9UTFwEBFyYXAQEXGAEXE/4AERkBARkRAgATFwAAAAADAAAAAAOrAlYAGQAmAEAAAAEjIgYUFjsBHgEXDgEHIyIGFBY7AT4BNy4BBR4BFyE+ATQmJyEOARcjLgEnPgE3MzI2NCYrAQ4BBx4BFzMyNjQmAtWAEhgYEoA3SAEBSDeAEhgYEoBbeAMDeP4lARgSAQASGBgS/wASGFWAN0gBAUg3gBIYGBKAW3gDA3hbgBIYGAJVGCQZAUk2NkkBGSQYAnhbW3jTEhgBARgkGAEBGJIBSTY2SQEZJBgCeFtbeAIYJBkAAQAAAAADrAIrAB4AAAEuAScOAQcGFhcWNjc+ATcyFhcHBhYXMz4BNzUuAQcDEjuWVYfUOAoTFxQjCSuhZz9vLFETEx7uEhgBAjEWAbw0OgECiXIXKggGDxJWaQErJVIWMQIBGBLvHRQTAAAAAQAAAAADsgIrAB4AAAEOAQcnJgYHFR4BFzM+AS8BPgEzHgEXHgE3PgEnLgECFFWWO1EWMQIBGBLuHhQTUi1vPmehKwkkExcTCjnTAisBOjRQFBQd7xIYAQIxFlIlKwFpVhIPBggqF3KJAAAAAwAAAAAC9QK/ABQAHAAkAAABPgE3LgEnIw4BBxEeARchPgE3NCYlMx4BFAYHIxMjNTMeARQGApMhKQECZk7vFBkBARkUAQdJaQI0/tSIHScnHYifn58dJycBihdEJE5mAgEaE/3eExoBAmFJNVLZASY7JgH+74kBJjsmAAEAAAAAAxICvwAcAAABHgEXMwMjDgEUFhczPgE0JicjEzM+ATQmJyMOAQGlASYdIZw7HSYmHeQdJiYdIZw7HSYmHeQdJgJ6HSYB/pQBJjonAQEnOiYBAWwBJjonAQEnAAYAAAAAA5YC1gALABcAIwBBAFIAbgAAASE+ATQmJyEOARQWASEOARQWFyE+ATQmAyEOARQWFyE+ATQmBSMiBhQWOwEVIyIGFBY7ARUjIgYUFjsBMjY3NS4BAzMVHgEyNj0BNCYrASIGFBYXIyIGFBY7AQcGHQEUFjsBMjY0JisBNzY9AS4BAWsCABIYGBL+ABIZGQIS/gASGRkSAgASGBgS/gASGRkSAgASGBj9WFUJDAwJQBUKCwsKFUAJDAwJVQoLAQELXxUBCxMMDAkrCQwMXlUJDAwJN0cFDAlVCgsLCjdIBQELAlUBGCQYAQEYJBj+VQEYJBgBARgkGAEBARgkGAEBGCQY1QwSDBYMEgwWDBIMDAmACQwB1msJDAwJgAkMDBIM1gwSDFQGCAkJDAwSDFQGCAkJDAAAAAAGAAAAAAOLAsAACAARABoAJgAyAD8AABMOARQWMjY0JgMOARQWMjY0JgMOARQWMjY0JhchPgE0JichDgEUFjchPgE0JichDgEUFgMeARchPgE0JichDgG1GyQkNyQkHBskJDckJBwbJCQ2JSSPAgASGBgS/gASGBgSAgASGBgS/gASGBgZARgSAgASGBgS/gASGAHAASQ2JCQ2JAEBASQ2JCQ2JP4BASQ2JCQ2JGoBGCQYAQEYJBj/ARgkGAEBGCQYASoSGAEBGCQYAQEYAAAAAgAAAAADVgJWABYALQAAJTI2PwE2PQEuASsBIgYdARQWFzMHBhYFMjY/ATY9ATQmKwEiBgcVHgEXMwcGFgEyERsHPQkBGBKrEhgYElYsDiABzBAbCDwJGBKrEhgBARgSVSwNIKsRDnkSFMISGBgSqxIYAVgeMwERDnkSFMISGBgSqxIYAVgeMwAAAAADAAAAAAOAAsAACAAZACUAACU+ATc1IxUeAQEeARczFTM1Mz4BNCYnIQ4BAyE+ATQmJyEOARQWAgAkMAGqATD++QEkG5aqlhskJBv+KhskKwKqEhkZEv1WEhkZQAEwJCsrJDACPxskAYCAASQ2JAEBJP56ARgkGAEBGCQYAAAAAAIAAP//AysDAQAbACgAACU+ATcRLgEiBgcRFAYHBi4CNREuASIGBxEeAQceATMhMjY0JiMhIgYCImJ6AgEeLR4BQTUhQTUdAR4tHgEDptQBGBICABIYGBL+ABIYrQ+TZQEXFh4eFv7kN1MMBw8rPCMBIBYeHhb+4HaUdhIZGSQYGAAAAAMAAAAAA3ACxwALAC0AOQAAEyE+ATQmIyEiBhQWBSEiBhQWFyEyFhcWBgcjNS4BDwEGFB8BFjY3NTM+AScuAQUjIgYUFhczPgE0JsACVRIZGRL9qxIYGAIL/gcSGBgSAgYgMwYFMShgARkLTAYGTAwYAVVNYgUIZP5tqxIYGBKrEhgYAnEBGCQYGCQYrBgkGAEnICk5AiIPCgpMBxEHTAoKDyICa05EVf8YJBgBARgkGAAAAAIAAAAAA5YCwAAUACgAAAEUFhczER4BMjY3ETM+ATQmJyEOAQMzFRQWMjY3NTMyNjQmJyEOARQWAWskHJUBJDYkAZUcJCQc/lYcJMBAJDckAUAbJCQb/wAcJCQCgBskAf5AGyQkGwHAASQ2JAEBJP7Q6xskJBvrJDckAQEkNyQACgAAAAADeAL4AA8AFgAaACEAJQApAC0ANAA4AD8AAAEhDgEHER4BFyE+ATcRLgEBIyImPQEzNSM1MzUjNTQ2OwETIzUzNSM1MzUjNTMTIzUzFRQGNyM1MzUjNTMyFhUDLP2oICoBASogAlggKgEBKv4ecQ8WlpaWlhYPceGWlpaWlpa8cZYWFpaWlnEPFgL3ASog/aggKgEBKiACWCAq/V4WD3FLlktxDxb9qJZLlkuW/aiWcQ8W4ZZLlhYPAAAAAgAA//8DgAMAAA8AIAAAJREuASchDgEHER4BFyE+ASUXNzYyHwEWBiMhIiY/AT4BA4ABMCT9qiQwAQEwJAJWJDD9/VmFBxQHlQgMDf4BDgsIagcUVQJWJDABATAk/aokMAEBMPtsqggJxwsXFwuJCAEAAAABAAAAAAM1AjYAEAAAAQcGFBYyPwEXFjI2NC8BJiIB2f4QISwR19cRLCEQ/hAuAib+ESwhENfXECEsEf4QAAAAAQAAAAADNQI2ABIAAAEHJyYnIg4BFh8BFjI/ATY0LgEC1tbXEBcRGw0GDP4RLBH+ECEtAibX1w8BEiAgDP4QEP4QLSABAAAABAAAAAADawLrABAAIQAzAEQAADczFRQWMjY9ATQmKwEiBhQWEyMiBhQWOwEyNj0BNCYiBhUBMjY9ATMyNjQmKwEiBh0BFBYTNTQmIgYdARQWOwEyNjQmI8loHiwdHRacFh0dfmgWHR0WnBYdHSweAWoWHmgWHR0WnBYdHUoeLB0dFpwWHR0WsWgWHR0WnBYdHSweAZ4eLB0dFpwWHR0W/V8dFmgeLB0dFpwWHQI5aBYdHRacFh0dLB4AAAAEAAAAAANUAtQAEQAjADQARgAAEw4BBxUeARczPgE0JisBNTQmJz4BPQEzMjY0JicjDgEHFR4BASMiBhQWFzM+ATc1LgEiBhUDHgE7ARUUFjI2NzUuAScjDgHdFRsBARsVkRUbGxVhHBQUHGEVGxsVkRUbAQEbAithFRsbFZEVGwEBGykckgEbFWEcKRsBARsVkRUbAR8BGxWRFRsBARspHGEVG8MBGxVhHCkbAQEbFZEVG/6rHCkbAQEbFZEVGxsVAbUUHGEVGxsVkRUbAQEbAAAAAAAAEgDeAAEAAAAAAAAAFQAAAAEAAAAAAAEADQAVAAEAAAAAAAIABwAiAAEAAAAAAAMADQApAAEAAAAAAAQADQA2AAEAAAAAAAUACwBDAAEAAAAAAAYADQBOAAEAAAAAAAoAKwBbAAEAAAAAAAsAEwCGAAMAAQQJAAAAKgCZAAMAAQQJAAEAGgDDAAMAAQQJAAIADgDdAAMAAQQJAAMAGgDrAAMAAQQJAAQAGgEFAAMAAQQJAAUAFgEfAAMAAQQJAAYAGgE1AAMAAQQJAAoAVgFPAAMAAQQJAAsAJgGlCkNyZWF0ZWQgYnkgaWNvbmZvbnQKcm1lbC1pY29uZm9udFJlZ3VsYXJybWVsLWljb25mb250cm1lbC1pY29uZm9udFZlcnNpb24gMS4wcm1lbC1pY29uZm9udEdlbmVyYXRlZCBieSBzdmcydHRmIGZyb20gRm9udGVsbG8gcHJvamVjdC5odHRwOi8vZm9udGVsbG8uY29tAAoAQwByAGUAYQB0AGUAZAAgAGIAeQAgAGkAYwBvAG4AZgBvAG4AdAAKAHIAbQBlAGwALQBpAGMAbwBuAGYAbwBuAHQAUgBlAGcAdQBsAGEAcgByAG0AZQBsAC0AaQBjAG8AbgBmAG8AbgB0AHIAbQBlAGwALQBpAGMAbwBuAGYAbwBuAHQAVgBlAHIAcwBpAG8AbgAgADEALgAwAHIAbQBlAGwALQBpAGMAbwBuAGYAbwBuAHQARwBlAG4AZQByAGEAdABlAGQAIABiAHkAIABzAHYAZwAyAHQAdABmACAAZgByAG8AbQAgAEYAbwBuAHQAZQBsAGwAbwAgAHAAcgBvAGoAZQBjAHQALgBoAHQAdABwADoALwAvAGYAbwBuAHQAZQBsAGwAbwAuAGMAbwBtAAAAAAIAAAAAAAAACgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAGgECAQMBBAEFAQYBBwEIAQkBCgELAQwBDQEOAQ8BEAERARIBEwEUARUBFgEXARgBGQEaARsAA3RhYghrZXlib2FyZAZkZWxldGUKY29kZS1ibG9jawRjb2RlCnZpc2liaWxpdHkKdmlldy1zcGxpdARsaW5rBHJlZG8EdW5kbwRib2xkBml0YWxpYwxsaXN0LW9yZGVyZWQObGlzdC11bm9yZGVyZWQFcXVvdGUNc3RyaWtldGhyb3VnaAl1bmRlcmxpbmUEd3JhcAlmb250LXNpemUEZ3JpZAVpbWFnZQtleHBhbmQtbGVzcwtleHBhbmQtbW9yZQ9mdWxsc2NyZWVuLWV4aXQKZnVsbHNjcmVlbgAAAAAA) format("truetype")}.rmel-iconfont{font-family:rmel-iconfont!important;font-size:16px;font-style:normal;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.rmel-icon-tab:before{content:"\\e76d"}.rmel-icon-keyboard:before{content:"\\ed80"}.rmel-icon-delete:before{content:"\\ed3c"}.rmel-icon-code-block:before{content:"\\e941"}.rmel-icon-code:before{content:"\\ed3b"}.rmel-icon-visibility:before{content:"\\ed44"}.rmel-icon-view-split:before{content:"\\ed45"}.rmel-icon-link:before{content:"\\ed5f"}.rmel-icon-redo:before{content:"\\ed60"}.rmel-icon-undo:before{content:"\\ed61"}.rmel-icon-bold:before{content:"\\ed6f"}.rmel-icon-italic:before{content:"\\ed70"}.rmel-icon-list-ordered:before{content:"\\ed71"}.rmel-icon-list-unordered:before{content:"\\ed72"}.rmel-icon-quote:before{content:"\\ed73"}.rmel-icon-strikethrough:before{content:"\\ed74"}.rmel-icon-underline:before{content:"\\ed75"}.rmel-icon-wrap:before{content:"\\ed77"}.rmel-icon-font-size:before{content:"\\ed78"}.rmel-icon-grid:before{content:"\\ed8c"}.rmel-icon-image:before{content:"\\ed8d"}.rmel-icon-expand-less:before{content:"\\ed9f"}.rmel-icon-expand-more:before{content:"\\eda0"}.rmel-icon-fullscreen-exit:before{content:"\\eda1"}.rmel-icon-fullscreen:before{content:"\\eda2"}.rc-md-editor{padding-bottom:1px;position:relative;border:1px solid #e0e0e0;background:#fff;-webkit-box-sizing:border-box;box-sizing:border-box;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;-ms-flex-direction:column;flex-direction:column}.rc-md-editor.full{width:100%;height:100%!important;position:fixed;left:0;top:0;z-index:1000}.rc-md-editor .editor-container{-webkit-box-flex:1;-webkit-flex:1;-ms-flex:1;flex:1;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;width:100%;min-height:0;position:relative}.rc-md-editor .editor-container>.section{-webkit-box-flex:1;-webkit-flex-grow:1;-ms-flex-positive:1;flex-grow:1;-webkit-flex-shrink:1;-ms-flex-negative:1;flex-shrink:1;-webkit-flex-basis:1px;-ms-flex-preferred-size:1px;flex-basis:1px;border-right:1px solid #e0e0e0}.rc-md-editor .editor-container>.section.in-visible{display:none}.rc-md-editor .editor-container>.section>.section-container{padding:10px 15px 15px}.rc-md-editor .editor-container>.section:last-child{border-radius:none}.rc-md-editor .editor-container .sec-md{min-height:0;min-width:0}.rc-md-editor .editor-container .sec-md .input{display:block;-webkit-box-sizing:border-box;box-sizing:border-box;width:100%;height:100%;overflow-y:scroll;border:none;resize:none;outline:none;min-height:0;background:#fff;color:#333;font-size:14px;line-height:1.7}.rc-md-editor .editor-container .sec-html{min-height:0;min-width:0}.rc-md-editor .editor-container .sec-html .html-wrap{height:100%;-webkit-box-sizing:border-box;box-sizing:border-box;overflow:auto}.custom-html-style{color:#333}.custom-html-style h1{font-size:32px;padding:0;border:none;font-weight:700;margin:32px 0;line-height:1.2}.custom-html-style h2{font-size:24px;padding:0;border:none;font-weight:700;margin:24px 0;line-height:1.7}.custom-html-style h3{font-size:18px;margin:18px 0;padding:0;line-height:1.7;border:none}.custom-html-style p{font-size:14px;line-height:1.7;margin:8px 0}.custom-html-style a{color:#0052d9}.custom-html-style a:hover{text-decoration:none}.custom-html-style strong{font-weight:700}.custom-html-style ol,.custom-html-style ul{font-size:14px;line-height:28px;padding-left:36px}.custom-html-style li{margin-bottom:8px;line-height:1.7}.custom-html-style hr{margin-top:20px;margin-bottom:20px;border:0;border-top:1px solid #eee}.custom-html-style pre{display:block;padding:20px;line-height:28px;word-break:break-word}.custom-html-style code,.custom-html-style pre{background-color:#f5f5f5;font-size:14px;border-radius:0;overflow-x:auto}.custom-html-style code{padding:3px 0;margin:0;word-break:normal}.custom-html-style code:after,.custom-html-style code:before{letter-spacing:0}.custom-html-style blockquote{position:relative;margin:16px 0;padding:5px 8px 5px 30px;background:none repeat scroll 0 0 rgba(102,128,153,.05);color:#333;border:none;border-left:10px solid #d6dbdf}.custom-html-style img,.custom-html-style video{max-width:100%}.custom-html-style table{font-size:14px;line-height:1.7;max-width:100%;overflow:auto;border:1px solid #f6f6f6;border-collapse:collapse;border-spacing:0;-webkit-box-sizing:border-box;box-sizing:border-box}.custom-html-style table td,.custom-html-style table th{word-break:break-all;word-wrap:break-word;white-space:normal}.custom-html-style table tr{border:1px solid #efefef}.custom-html-style table tr:nth-child(2n){background-color:transparent}.custom-html-style table th{text-align:center;font-weight:700;border:1px solid #efefef;padding:10px 6px;background-color:#f5f7fa;word-break:break-word}.custom-html-style table td{border:1px solid #efefef;text-align:left;padding:10px 15px;word-break:break-word;min-width:60px}.rc-md-editor .drop-wrap{display:block;position:absolute;left:0;top:28px;z-index:2;min-width:20px;padding:10px 0;text-align:center;background-color:#fff;border-color:#f1f1f1 #ddd #ddd #f1f1f1;border-style:solid;border-width:1px}.rc-md-editor .drop-wrap.hidden{display:none!important}.rc-md-editor .rc-md-navigation{min-height:38px;padding:0 8px;-webkit-box-sizing:border-box;box-sizing:border-box;border-bottom:1px solid #e0e0e0;font-size:16px;background:#f5f5f5;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-webkit-flex-direction:row;-ms-flex-direction:row;flex-direction:row;-webkit-box-pack:justify;-webkit-justify-content:space-between;-ms-flex-pack:justify;justify-content:space-between}.rc-md-editor .rc-md-navigation.in-visible{display:none}.rc-md-editor .rc-md-navigation .navigation-nav{-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center;font-size:14px;color:#757575}.rc-md-editor .rc-md-navigation .button-wrap,.rc-md-editor .rc-md-navigation .navigation-nav{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-webkit-flex-direction:row;-ms-flex-direction:row;flex-direction:row}.rc-md-editor .rc-md-navigation .button-wrap{-webkit-flex-wrap:wrap;-ms-flex-wrap:wrap;flex-wrap:wrap}.rc-md-editor .rc-md-navigation .button-wrap .button{position:relative;min-width:24px;height:28px;margin-left:3px;margin-right:3px;display:inline-block;cursor:pointer;line-height:28px;text-align:center;color:#757575}.rc-md-editor .rc-md-navigation .button-wrap .button:hover{color:#212121}.rc-md-editor .rc-md-navigation .button-wrap .button.disabled{color:#bdbdbd;cursor:not-allowed}.rc-md-editor .rc-md-navigation .button-wrap .button:first-child{margin-left:0}.rc-md-editor .rc-md-navigation .button-wrap .button:last-child{margin-right:0}.rc-md-editor .rc-md-navigation .button-wrap .rmel-iconfont{font-size:18px}.rc-md-editor .rc-md-navigation li,.rc-md-editor .rc-md-navigation ul{list-style:none;margin:0;padding:0}.rc-md-editor .rc-md-navigation .h1,.rc-md-editor .rc-md-navigation .h2,.rc-md-editor .rc-md-navigation .h3,.rc-md-editor .rc-md-navigation .h4,.rc-md-editor .rc-md-navigation .h5,.rc-md-editor .rc-md-navigation .h6,.rc-md-editor .rc-md-navigation h1,.rc-md-editor .rc-md-navigation h2,.rc-md-editor .rc-md-navigation h3,.rc-md-editor .rc-md-navigation h4,.rc-md-editor .rc-md-navigation h5,.rc-md-editor .rc-md-navigation h6{font-family:inherit;font-weight:500;color:inherit;padding:0;margin:0;line-height:1.1}.rc-md-editor .rc-md-navigation h1{font-size:34px}.rc-md-editor .rc-md-navigation h2{font-size:30px}.rc-md-editor .rc-md-navigation h3{font-size:24px}.rc-md-editor .rc-md-navigation h4{font-size:18px}.rc-md-editor .rc-md-navigation h5{font-size:14px}.rc-md-editor .rc-md-navigation h6{font-size:12px}.rc-md-editor .tool-bar{position:absolute;z-index:1;right:8px;top:8px}.rc-md-editor .tool-bar .button{min-width:24px;height:28px;margin-right:5px;display:inline-block;cursor:pointer;font-size:14px;line-height:28px;text-align:center;color:#999}.rc-md-editor .tool-bar .button:hover{color:#333}.rc-md-editor .rc-md-divider{display:block;width:1px;background-color:#e0e0e0}.rc-md-editor .table-list.wrap{position:relative;margin:0 10px;-webkit-box-sizing:border-box;box-sizing:border-box}.rc-md-editor .table-list.wrap .list-item{position:absolute;top:0;left:0;display:inline-block;width:20px;height:20px;background-color:#e0e0e0;border-radius:3px}.rc-md-editor .table-list.wrap .list-item.active{background:#9e9e9e}.rc-md-editor .tab-map-list .list-item{width:120px;-webkit-box-sizing:border-box;box-sizing:border-box}.rc-md-editor .tab-map-list .list-item:hover{background:#f5f5f5}.rc-md-editor .tab-map-list .list-item.active{font-weight:700}.rc-md-editor .header-list .list-item{width:100px;-webkit-box-sizing:border-box;box-sizing:border-box;padding:8px 0}.rc-md-editor .header-list .list-item:hover{background:#f5f5f5}',""]);const l=a},6148:(e,t,n)=>{"use strict";n.d(t,{Z:()=>l});var r=n(8081),o=n.n(r),i=n(3645),a=n.n(i)()(o());a.push([e.id,".slide-pane {\n display: flex;\n flex-direction: column;\n background: #fff;\n min-width: 100px;\n height: 100%;\n box-shadow: 0 8px 8px rgba(0, 0, 0, 0.5);\n transition: transform 0.5s;\n will-change: transform;\n}\n.slide-pane:focus {\n outline-style: none;\n}\n.slide-pane_from_right {\n margin-left: auto;\n transform: translateX(100%);\n}\n.slide-pane_from_right.content-after-open {\n transform: translateX(0%);\n}\n.slide-pane_from_right.content-before-close {\n transform: translateX(100%);\n}\n.slide-pane_from_left {\n margin-right: auto;\n transform: translateX(-100%);\n}\n.slide-pane_from_left.content-after-open {\n transform: translateX(0%);\n}\n.slide-pane_from_left.content-before-close {\n transform: translateX(-100%);\n}\n.slide-pane_from_bottom {\n height: 90vh;\n margin-top: 10vh;\n transform: translateY(100%);\n}\n.slide-pane_from_bottom.content-after-open {\n transform: translateY(0%);\n}\n.slide-pane_from_bottom.content-before-close {\n transform: translateY(100%);\n}\n.slide-pane__overlay {\n position: fixed;\n top: 0px;\n left: 0px;\n right: 0px;\n bottom: 0px;\n background-color: rgba(0, 0, 0, 0);\n}\n.slide-pane__overlay.overlay-after-open {\n background-color: rgba(0, 0, 0, 0.3);\n transition: background-color 0.5s;\n}\n.slide-pane__overlay.overlay-before-close {\n background-color: rgba(0, 0, 0, 0);\n}\n.slide-pane__header {\n display: flex;\n flex: 0 0 64px;\n align-items: center;\n background: #ebebeb;\n height: 64px;\n border-bottom: 1px solid rgba(0, 0, 0, 0.1);\n}\n.slide-pane__title-wrapper {\n display: flex;\n flex: 1;\n flex-direction: column;\n margin-left: 32px;\n min-width: 0;\n}\n.slide-pane .slide-pane__title {\n font-size: 18px;\n font-weight: normal;\n max-width: 80%;\n white-space: nowrap;\n overflow: hidden;\n text-overflow: ellipsis;\n margin: 0;\n padding: 0;\n}\n.slide-pane__close {\n margin-left: 24px;\n padding: 16px;\n opacity: 0.7;\n cursor: pointer;\n}\n.slide-pane__close svg {\n width: 12px;\n padding: 0;\n}\n.slide-pane__content {\n position: relative;\n overflow-y: auto;\n padding: 24px 32px;\n flex: 1 1 auto;\n}\n.slide-pane__subtitle {\n font-size: 12px;\n margin-top: 2px;\n}\n",""]);const l=a},6185:(e,t,n)=>{"use strict";n.d(t,{Z:()=>l});var r=n(8081),o=n.n(r),i=n(3645),a=n.n(i)()(o());a.push([e.id,".yarl__fullsize{height:100%;width:100%}.yarl__relative{position:relative}.yarl__portal{bottom:0;left:0;opacity:0;overflow:hidden;position:fixed;right:0;top:0;transition:opacity var(--yarl__fade_animation_duration,.25s) var(--yarl__fade_animation_timing_function,ease);z-index:var(--yarl__portal_zindex,9999)}.yarl__portal_open{opacity:1}.yarl__container{background-color:var(--yarl__container_background_color,var(--yarl__color_backdrop,#000));bottom:0;left:0;outline:none;overflow:hidden;overscroll-behavior:var(--yarl__controller_overscroll-behavior,contain);position:absolute;right:0;top:0;touch-action:var(--yarl__controller_touch_action,none);-webkit-user-select:none;-moz-user-select:none;user-select:none}.yarl__carousel{align-content:center;align-items:stretch;display:flex;flex:0 0 auto;height:100%;justify-content:center;opacity:var(--yarl__pull_down_opacity,1);-webkit-transform:translate(var(--yarl__swipe_offset,0),var(--yarl__pull_down_offset,0));transform:translate(var(--yarl__swipe_offset,0),var(--yarl__pull_down_offset,0));width:calc(100% + (var(--yarl__carousel_slides_count) - 1)*(100% + var(--yarl__carousel_spacing_px, 0)*1px + var(--yarl__carousel_spacing_percent, 0)*1%))}.yarl__carousel_with_slides{-webkit-column-gap:calc(var(--yarl__carousel_spacing_px, 0)*1px + 100/(var(--yarl__carousel_slides_count)*100 + (var(--yarl__carousel_slides_count) - 1)*var(--yarl__carousel_spacing_percent, 0))*var(--yarl__carousel_spacing_percent, 0)*1%);-moz-column-gap:calc(var(--yarl__carousel_spacing_px, 0)*1px + 100/(var(--yarl__carousel_slides_count)*100 + (var(--yarl__carousel_slides_count) - 1)*var(--yarl__carousel_spacing_percent, 0))*var(--yarl__carousel_spacing_percent, 0)*1%);column-gap:calc(var(--yarl__carousel_spacing_px, 0)*1px + 100/(var(--yarl__carousel_slides_count)*100 + (var(--yarl__carousel_slides_count) - 1)*var(--yarl__carousel_spacing_percent, 0))*var(--yarl__carousel_spacing_percent, 0)*1%)}.yarl__flex_center{align-content:center;align-items:center;display:flex;justify-content:center}.yarl__slide{flex:1;overflow:hidden;padding:calc(var(--yarl__carousel_padding_px, 0)*1px + 100/(var(--yarl__carousel_slides_count)*100 + (var(--yarl__carousel_slides_count) - 1)*var(--yarl__carousel_spacing_percent, 0))*var(--yarl__carousel_padding_percent, 0)*1%);position:relative}[dir=rtl] .yarl__slide{--yarl__direction:-1}.yarl__slide_image{-webkit-touch-callout:none;max-height:100%;max-width:100%;-o-object-fit:contain;object-fit:contain;touch-action:var(--yarl__controller_touch_action,none);-moz-user-select:none;user-select:none;-webkit-user-select:none}@media screen and (min-width:800px){.yarl__slide_image{-webkit-backface-visibility:hidden;-webkit-transform:translateZ(0);-webkit-transform-style:preserve-3d}}.yarl__slide_image_cover{height:100%;-o-object-fit:cover;object-fit:cover;width:100%}.yarl__slide_image_loading{opacity:0}.yarl__slide_placeholder{left:50%;line-height:0;position:absolute;top:50%;-webkit-transform:translateX(-50%) translateY(-50%);transform:translateX(-50%) translateY(-50%)}.yarl__slide_loading{-webkit-animation:yarl__delayed_fadein 1s linear;animation:yarl__delayed_fadein 1s linear;color:var(--yarl__slide_icon_loading_color,var(--yarl__color_button,hsla(0,0%,100%,.8)))}.yarl__slide_loading line{-webkit-animation:yarl__stroke_opacity 1s linear infinite;animation:yarl__stroke_opacity 1s linear infinite}.yarl__slide_loading line:first-of-type{-webkit-animation-delay:-1.875s;animation-delay:-1.875s}.yarl__slide_loading line:nth-of-type(2){-webkit-animation-delay:-1.75s;animation-delay:-1.75s}.yarl__slide_loading line:nth-of-type(3){-webkit-animation-delay:-1.625s;animation-delay:-1.625s}.yarl__slide_loading line:nth-of-type(4){-webkit-animation-delay:-1.5s;animation-delay:-1.5s}.yarl__slide_loading line:nth-of-type(5){-webkit-animation-delay:-1.375s;animation-delay:-1.375s}.yarl__slide_loading line:nth-of-type(6){-webkit-animation-delay:-1.25s;animation-delay:-1.25s}.yarl__slide_loading line:nth-of-type(7){-webkit-animation-delay:-1.125s;animation-delay:-1.125s}.yarl__slide_loading line:nth-of-type(8){-webkit-animation-delay:-1s;animation-delay:-1s}.yarl__slide_error{color:var(--yarl__slide_icon_error_color,red);height:var(--yarl__slide_icon_error_size,48px);width:var(--yarl__slide_icon_error_size,48px)}@media (prefers-reduced-motion){.yarl__portal,.yarl__slide{transition:unset}.yarl__slide_loading,.yarl__slide_loading line{-webkit-animation:unset;animation:unset}}.yarl__toolbar{bottom:auto;display:flex;justify-content:flex-end;left:auto;padding:var(--yarl__toolbar_padding,8px);position:absolute;right:0;top:0}[dir=rtl] .yarl__toolbar{bottom:auto;left:0;right:auto;top:0}.yarl__icon{height:var(--yarl__icon_size,32px);width:var(--yarl__icon_size,32px)}.yarl__button{-webkit-tap-highlight-color:transparent;-webkit-appearance:none;-moz-appearance:none;appearance:none;background-color:var(--yarl__button_background_color,transparent);border:var(--yarl__button_border,0);color:var(--yarl__color_button,hsla(0,0%,100%,.8));cursor:pointer;-webkit-filter:var(--yarl__button_filter,drop-shadow(2px 2px 2px rgba(0,0,0,.8)));filter:var(--yarl__button_filter,drop-shadow(2px 2px 2px rgba(0,0,0,.8)));line-height:0;margin:var(--yarl__button_margin,0);outline:none;padding:var(--yarl__button_padding,8px)}.yarl__button:focus{color:var(--yarl__color_button_active,#fff)}.yarl__button:focus:not(:focus-visible){color:var(--yarl__color_button,hsla(0,0%,100%,.8))}.yarl__button:focus-visible{color:var(--yarl__color_button_active,#fff)}@media (hover:hover){.yarl__button:focus-visible:hover,.yarl__button:focus:hover,.yarl__button:hover{color:var(--yarl__color_button_active,#fff)}}.yarl__button:disabled{color:var(--yarl__color_button_disabled,hsla(0,0%,100%,.4));cursor:default}.yarl__navigation_next,.yarl__navigation_prev{padding:var(--yarl__navigation_button_padding,24px 16px);position:absolute;top:50%;-webkit-transform:translateY(-50%);transform:translateY(-50%)}.yarl__navigation_prev{left:0}[dir=rtl] .yarl__navigation_prev{left:unset;right:0;-webkit-transform:translateY(-50%) rotate(180deg);transform:translateY(-50%) rotate(180deg)}.yarl__navigation_next{right:0}[dir=rtl] .yarl__navigation_next{left:0;right:unset;-webkit-transform:translateY(-50%) rotate(180deg);transform:translateY(-50%) rotate(180deg)}.yarl__no_scroll{height:100%;overflow:hidden;overscroll-behavior:none}@-webkit-keyframes yarl__delayed_fadein{0%{opacity:0}80%{opacity:0}to{opacity:1}}@keyframes yarl__delayed_fadein{0%{opacity:0}80%{opacity:0}to{opacity:1}}@-webkit-keyframes yarl__stroke_opacity{0%{stroke-opacity:1}to{stroke-opacity:.125}}@keyframes yarl__stroke_opacity{0%{stroke-opacity:1}to{stroke-opacity:.125}}",""]);const l=a},2778:(e,t,n)=>{"use strict";n.d(t,{Z:()=>l});var r=n(8081),o=n.n(r),i=n(3645),a=n.n(i)()(o());a.push([e.id,".article-inner-css * {\n max-width: 100%;\n}\n\n:root {\n color-scheme: var(--colorScheme-colorScheme);\n}\n\n.speakingSection {\n color: var(--colors-highlightText);\n background-color: rgba(255, 210, 52, 0.2);\n}\n\n.highlight {\n color: var(--colors-highlightText);\n background-color: rgba(var(--colors-highlightBackground), 0.35);\n border-bottom: 2px rgb(var(--colors-highlightBackground)) solid;\n border-radius: 2px;\n cursor: pointer;\n}\n\n\n.highlight__green {\n background-color: rgba(var(--colors-highlight_background_green), var(--colors-highlight_background_alpha));\n border-bottom: 2px solid rgba(var(--colors-highlight_background_green), var(--colors-highlight_underline_alpha));\n}\n\n.highlight__red {\n background-color: rgba(var(--colors-highlight_background_red), var(--colors-highlight_background_alpha));\n border-bottom: 2px solid rgba(var(--colors-highlight_background_red), var(--colors-highlight_underline_alpha));\n}\n\n.highlight__blue {\n background-color: rgba(var(--colors-highlight_background_blue), var(--colors-highlight_background_alpha));\n border-bottom: 2px solid rgba(var(--colors-highlight_background_blue), var(--colors-highlight_underline_alpha));\n}\n\n.highlight__yellow {\n background-color: rgba(var(--colors-highlight_background_yellow), var(--colors-highlight_background_alpha));\n border-bottom: 2px solid rgba(var(--colors-highlight_background_yellow), var(--colors-highlight_underline_alpha));\n}\n\n.article-inner-css {\n font-family: var(--text-font-family);\n}\n\n.article-inner-css .highlight_note_button {\n display: unset !important;\n margin: 0px !important;\n max-width: unset !important;\n height: unset !important;\n padding: 0px 8px;\n cursor: pointer;\n margin-left: 5px !important;\n}\n\n.article-inner-css .highlight_label_button {\n display: unset !important;\n margin: 0px !important;\n max-width: unset !important;\n height: unset !important;\n padding: 0px 8px;\n cursor: pointer;\n margin-left: 4px !important;\n}\n\n.article-inner-css h1,\n.article-inner-css h2,\n.article-inner-css h3,\n.article-inner-css h4,\n.article-inner-css h5,\n.article-inner-css h6 {\n margin-block-start: 0.83em;\n margin-block-end: 0.83em;\n margin-inline-start: 0px;\n margin-inline-end: 0px;\n line-height: var(--line-height);\n font-size: var(--text-font-size);\n font-weight: bold;\n}\n.article-inner-css h1 {\n font-size: 1.5em !important;\n line-height: 1.4em !important;\n}\n.article-inner-css h2 {\n font-size: 1.43em !important;\n}\n.article-inner-css h3 {\n font-size: 1.0em !important;\n}\n.article-inner-css h4,\n.article-inner-css h5,\n.article-inner-css h6 {\n font-size: 1em !important;\n margin: 1em 0 !important;\n}\n\n.article-inner-css .scrollable {\n overflow: auto;\n}\n\n.article-inner-css div {\n line-height: var(--line-height);\n /* font-size: var(--text-font-size); */\n color: var(--font-color);\n}\n\n.article-inner-css p {\n font-style: normal;\n font-weight: normal;\n\n color: var(--font-color);\n text-align: var(--text-align);\n\n display: block;\n margin-block-start: 1em;\n margin-block-end: 1em;\n margin-inline-start: 0px;\n margin-inline-end: 0px;\n\n > img {\n display: block;\n margin: 0.5em auto !important;\n max-width: 100% !important;\n }\n\n > iframe {\n width: 100%;\n height: 350px;\n }\n}\n\n.article-inner-css section {\n line-height: 1.65em;\n font-size: var(--text-font-size);\n}\n\n.article-inner-css blockquote {\n display: block;\n border-left: 1px solid var(--font-color-transparent);\n padding-left: 16px;\n font-style: italic;\n margin-inline-start: 0px;\n > * {\n font-style: italic;\n }\n p:last-of-type {\n margin-bottom: 0;\n }\n}\n\n.article-inner-css a {\n color: var(--font-color-readerFont);\n}\n\n.article-inner-css .highlight a {\n color: var(--colors-highlightText);\n}\n\n.article-inner-css figure {\n * {\n color: var(--font-color-transparent);\n }\n\n margin: 0;\n font-size: 0.75em;\n line-height: 1.5em;\n\n figcaption {\n color: var(--font-color);\n opacity: 0.7;\n margin: 10px 20px 10px 0;\n }\n\n figcaption * {\n color: var(--font-color);\n opacity: 0.7;\n }\n figcaption a {\n color: var(--font-color);\n /* margin: 10px 20px 10px 0; */\n opacity: 0.6;\n }\n\n > div {\n max-width: 100%;\n }\n}\n\n.article-inner-css figure[aria-label='media'] {\n margin: var(--figure-margin);\n display: flex;\n flex-direction: column;\n align-items: center;\n}\n\n.article-inner-css hr {\n margin-bottom: var(--hr-margin);\n border: none;\n}\n\n.article-inner-css table {\n display: block;\n word-break: normal;\n white-space: nowrap;\n\n border-spacing: 0;\n border-collapse: collapse;\n font-size: 0.8rem;\n margin: auto;\n line-height: 1.5em;\n font-size: 0.9em;\n max-width: -moz-fit-content;\n max-width: fit-content;\n margin: 0 auto;\n overflow-x: auto;\n caption {\n margin: 0.5em 0;\n }\n\n p {\n margin: 0;\n padding: 0;\n }\n\n img {\n display: block;\n margin: 0.5em auto !important;\n max-width: 100% !important;\n }\n}\n\n.article-inner-css table th {\n padding: 5px;\n\n text-align: center;\n vertical-align: middle;\n border-color: var(--colors-thTextSubtle3);\n border-style: solid;\n border-width: 1px;\n}\n.article-inner-css table td {\n text-align: center;\n vertical-align: middle;\n border-color: var(--colors-thTextSubtle3);\n border-style: solid;\n border-width: 1px;\n padding: 10px;\n}\n\n.article-inner-css ul,\n.article-inner-css ol {\n margin-block-start: 1em;\n margin-block-end: 1em;\n margin-inline-start: 0px;\n margin-inline-end: 0px;\n padding-inline-start: 40px;\n margin-top: 18px;\n\n font-family: var(--text-font-family);\n font-style: normal;\n font-weight: normal;\n\n line-height: var(--line-height);\n font-size: var(--text-font-size);\n\n color: var(--font-color);\n}\n\n.article-inner-css li {\n word-break: break-word;\n ol,\n ul {\n margin: 0;\n }\n}\n\n.article-inner-css sup,\n.article-inner-css sub {\n font-size: 75%;\n line-height: 0;\n position: relative;\n vertical-align: baseline;\n a {\n color: inherit;\n pointer-events: none;\n }\n}\n\n.article-inner-css sup {\n top: -0.75em;\n}\n\n.article-inner-css sub {\n bottom: 0.3em;\n}\n\n.article-inner-css cite {\n font-style: normal;\n}\n\n.article-inner-css .page {\n width: 100%;\n}\n\n/* Collapse excess whitespace. */\n.page p > p:empty,\n.page div > p:empty,\n.page p > div:empty,\n.page div > div:empty,\n.page p + br,\n.page p > br:only-child,\n.page div > br:only-child,\n.page img + br {\n display: none;\n}\n\n.article-inner-css video {\n max-width: 100%;\n}\n\n.article-inner-css dl {\n display: block;\n margin-block-start: 1em;\n margin-block-end: 1em;\n margin-inline-start: 0px;\n margin-inline-end: 0px;\n}\n\n.article-inner-css dd {\n display: block;\n margin-inline-start: 40px;\n}\n\n.article-inner-css pre,\n.article-inner-css code {\n vertical-align: bottom;\n word-wrap: initial;\n font-family: 'SF Mono', monospace !important;\n white-space: break-spaces;\n direction: ltr;\n unicode-bidi: embed;\n color: var(--font-color);\n margin: 0;\n overflow-x: auto;\n word-wrap: normal;\n border-radius: 4px;\n}\n\n.article-inner-css img {\n display: block;\n margin: 0.5em auto !important;\n max-width: 100% !important;\n height: auto;\n}\n\n.article-inner-css .page {\n word-wrap: break-word;\n\n font-size: var(--text-font-size);\n line-height: var(--line-height);\n}\n\n.article-inner-css .omnivore-instagram-embed {\n img {\n margin: 0 !important;\n }\n}\n\n.article-inner-css .morning-brew-markets {\n max-width: 100% !important;\n}\n\n.article-inner-css .morning-brew-markets tbody{\n width: 100%;\n display: table;\n}\n\n.article-inner-css .morning-brew-markets td:nth-child(1) {\n width: 20%;\n}\n\n.article-inner-css .morning-brew-markets td:nth-child(2) {\n width: 30%;\n}\n\n.article-inner-css .morning-brew-markets td:nth-child(3) {\n width: 30%;\n}\n\n.article-inner-css .morning-brew-markets td:nth-child(4) {\n width: 20%;\n}\n\n.article-inner-css ._omnivore-static-tweet {\n color: #0F1419 !important;\n background: #ffffff !important;\n display: flex;\n flex-direction: column;\n gap: 12px;\n max-width: 550px;\n margin: 32px auto;\n border: 1px solid #e0e0e0;\n direction: ltr;\n border-radius: 8px;\n padding: 16px 16px ;\n box-sizing: border-box;\n -webkit-font-smoothing: subpixel-antialiased;\n}\n\n.article-inner-css ._omnivore-static-tweet ._omnivore-static-quote-tweet {\n display: flex;\n flex-direction: column;\n gap: 8px;\n border: 1px solid #e0e0e0;\n border-radius: 8px;\n padding: 12px;\n font-size: 14px;\n line-height: 20px;\n}\n\n.article-inner-css ._omnivore-static-tweet ._omnivore-static-quote-tweet-header {\n display: flex;\n flex-direction: row;\n gap: 9px;\n align-items: center;\n justify-content: flex-start;\n}\n\n.article-inner-css ._omnivore-static-tweet ._omnivore-static-quote-tweet-header-avatar {\n width: 20px;\n height: 20px;\n border-radius: 50%;\n margin: unset !important;\n}\n\n.article-inner-css ._omnivore-static-tweet ._omnivore-static-quote-tweet-header-text {\n display: flex;\n flex-direction: row;\n gap: 4px;\n font-size: 14px;\n line-height: 20px;\n}\n\n._omnivore-static-tweet ._omnivore-static-tweet-header {\n display: flex;\n align-items: center;\n flex-direction: row;\n gap: 12px;\n margin: unset;\n justify-content: flex-start;\n color: #0F1419 !important;\n}\n\n\n._omnivore-static-tweet-header ._omnivore-static-tweet-header-text {\n display: flex;\n flex-direction: column;\n color: #0F1419 !important;\n font-size: 14px;\n line-height: 20px;\n}\n\n._omnivore-static-tweet-header-text .tweet-author-name {\n font-weight: 600;\n}\n\n._omnivore-static-tweet-header-text .tweet-author-handle {\n color: #808080;\n}\n\n\n._omnivore-static-tweet ._omnivore-static-tweet-fake-link {\n color: #1da1f2;\n}\n\n._omnivore-static-tweet ._omnivore-static-tweet-text {\n font-size: 14px;\n line-height: 20px;\n color: #0F1419 !important;\n}\n\n._omnivore-static-tweet ._omnivore-static-tweet-link-top {\n text-decoration: none;\n}\n\n._omnivore-static-tweet ._omnivore-static-tweet-header-avatar {\n -ms-interpolation-mode: bicubic; \n border: none !important;\n border-radius: 50%;\n float: left;\n height: 48px;\n width: 48px;\n margin: unset !important;\n margin-right: 12px;\n max-width: 100%;\n vertical-align: middle;\n}\n\n._omnivore-static-tweet ._omnivore-static-tweet-link-bottom {\n display: flex;\n flex-direction: column;\n text-decoration: none;\n white-space: pre-wrap;\n}\n\n._omnivore-static-tweet ._omnivore-static-tweet-footer {\n display: flex;\n flex-direction: column;\n align-items: flex-start;\n color: #808080;\n font-size: 14px;\n line-height: 20px;\n}\n\n._omnivore-static-tweet ._omnivore-static-tweet-footer hr {\n background: #e0e0e0;\n border: none;\n height: 1px;\n margin: 12px 0;\n padding: 0;\n width: 100%;\n color: #496F72;\n font-size: 14px;\n line-height: 20px;\n}\n\n._omnivore-static-tweet ._omnivore-static-tweet-author-handle {\n display: block;\n}\n\n._omnivore-static-tweet ._omnivore-static-tweet-ufi {\n display: flex;\n gap: 24px;\n align-items: center;\n}\n\n._omnivore-static-tweet ._omnivore-static-tweet-ufi .likes, .retweets {\n display: flex;\n gap: 4px;\n text-decoration: none;\n color: #808080;\n font-size: 14px;\n line-height: 20px;\n}\n\n._omnivore-static-tweet ._omnivore-static-tweet-photo {\n width: 100%;\n height: 100%;\n object-fit: cover;\n border-radius: 2px;\n}\n\n._omnivore-static-tweet .expanded-link {\n display: flex;\n flex-direction: column;\n text-decoration: none;\n border: 1px solid #e0e0e0;\n border-radius: 8px;\n box-sizing: border-box;\n overflow: hidden;\n}\n\n._omnivore-static-tweet .expanded-link-img {\n cursor: pointer;\n width: 100%;\n max-height: 280px;\n max-width: 100%;\n object-fit: cover;\n margin: 0px auto !important\n}\n\n._omnivore-static-tweet .expanded-link img {\n margin: 0px auto !important\n}\n\n._omnivore-static-tweet .expanded-link-bottom {\n display: flex;\n flex-direction: column;\n padding: 12px;\n gap: 2px;\n font-size: 14px;\n line-height: 20px;\n text-decoration: none;\n}\n\n.expanded-link-bottom .expanded-link-domain {\n color: #808080;\n text-transform: lowercase;\n text-decoration: none;\n}\n\n.expanded-link-bottom .expanded-link-title {\n color: #0F1419 !important;\n display: -webkit-box;\n -webkit-box-orient: vertical;\n -webkit-line-clamp: 2;\n overflow: hidden;\n}\n\n.expanded-link-bottom .expanded-link-description {\n color: #808080;\n display: -webkit-box;\n -webkit-box-orient: vertical;\n -webkit-line-clamp: 2;\n overflow: hidden;\n}\n\n.article-inner-css ._omnivore_tweet_content {\n white-space: pre-wrap;\n overflow-wrap: break-word;\n}\n\n.is-sticky {\n position: fixed;\n right: 5px;\n bottom: 5px;\n top: auto;\n left: auto;\n z-index: 10;\n max-width: 400px;\n max-height: 222px;\n width: 400px;\n height: 222px;\n animation-name: fadeInUp;\n animation-duration: 0.5s;\n animation-fill-mode: both;\n -webkit-animation-name: fadeInUp;\n -webkit-animation-duration: 0.5s;\n -webkit-animation-fill-mode: both;\n overflow: hidden;\n box-shadow: 0px 4px 4px rgba(33, 33, 33, 0.1) !important;\n}\n\n@media (max-width: 600px) {\n .is-sticky {\n max-width: 200px;\n max-height: 110px;\n }\n}\n\n\n@keyframes fadeInUp {\n 0% {\n opacity: 0;\n -webkit-transform: translate3d(0, 100%, 0);\n transform: translate3d(0, 100%, 0);\n }\n 100% {\n opacity: 1;\n -webkit-transform: none;\n transform: none;\n }\n}\n\n@-webkit-keyframes fadeInUp {\n 0% {\n opacity: 0;\n -webkit-transform: translate3d(0, 100%, 0);\n transform: translate3d(0, 100%, 0);\n }\n 100% {\n opacity: 1;\n -webkit-transform: none;\n transform: none;\n }\n}\n\n.youtubeplaceholder {\n border: 2px dashed #aaa;\n box-sizing: border-box;\n}\n\n",""]);const l=a},7420:(e,t,n)=>{"use strict";n.d(t,{Z:()=>l});var r=n(8081),o=n.n(r),i=n(3645),a=n.n(i)()(o());a.push([e.id,":root {\n font-size: 112.5%;\n}\n\nhtml,\nbody {\n padding: 0;\n margin: 0;\n overflow: auto;\n font-family: -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Oxygen,\n Ubuntu, Cantarell, Fira Sans, Droid Sans, Helvetica Neue, sans-serif;\n -webkit-font-smoothing: antialiased;\n -moz-osx-font-smoothing: grayscale;\n line-height: 1.6;\n}\n\n.disable-webkit-callout {\n -webkit-touch-callout: none;\n}\n\n*,\n*::before,\n*::after {\n box-sizing: border-box;\n}\n\ndiv#appleid-signin {\n min-width: 300px;\n min-height: 40px;\n}\n\n@font-face {\n font-family: 'Inter';\n font-weight: 200;\n font-style: normal;\n src: url(Inter-ExtraLight-200.ttf);\n}\n\n@font-face {\n font-family: 'Inter';\n font-weight: 300;\n font-style: normal;\n src: url(Inter-Light-300.ttf);\n}\n\n@font-face {\n font-family: 'Inter';\n font-weight: 400;\n font-style: normal;\n src: url(Inter-Regular-400.ttf);\n}\n\n@font-face {\n font-family: 'Inter';\n font-weight: 500;\n font-style: normal;\n src: url(Inter-Medium-500.ttf);\n}\n\n@font-face {\n font-family: 'Inter';\n font-weight: 600;\n font-style: normal;\n src: url(Inter-SemiBold-600.ttf);\n}\n\n@font-face {\n font-family: 'Inter';\n font-weight: 700;\n font-style: normal;\n src: url(Inter-Bold-700.ttf);\n}\n\n@font-face {\n font-family: 'Inter';\n font-weight: 800;\n font-style: normal;\n src: url(Inter-ExtraBold-800.ttf);\n}\n\n@font-face {\n font-family: 'Inter';\n font-weight: 900;\n font-style: normal;\n src: url(Inter-Black-900.ttf);\n}\n\n@font-face {\n font-family: 'Lora';\n font-weight: 400;\n font-style: normal;\n src: url(Lora-Regular.ttf);\n}\n\n@font-face {\n font-family: 'Lora';\n font-weight: 700;\n font-style: normal;\n src: url(Lora-Bold.ttf);\n}\n\n@font-face {\n font-family: 'Lora';\n font-weight: 400;\n font-style: italic;\n src: url(Lora-Italic.ttf);\n}\n\n@font-face {\n font-family: 'Merriweather';\n font-weight: 400;\n font-style: normal;\n src: url(Merriweather-Regular.ttf);\n}\n\n@font-face {\n font-family: 'Merriweather';\n font-weight: 700;\n font-style: normal;\n src: url(Merriweather-Bold.ttf);\n}\n\n@font-face {\n font-family: 'Merriweather';\n font-weight: 400;\n font-style: italic;\n src: url(Merriweather-Italic.ttf);\n}\n\n@font-face {\n font-family: 'Open Sans';\n font-weight: 400;\n font-style: normal;\n src: url(OpenSans-Regular.ttf);\n}\n\n@font-face {\n font-family: 'Open Sans';\n font-weight: 700;\n font-style: normal;\n src: url(OpenSans-Bold.ttf);\n}\n\n@font-face {\n font-family: 'Open Sans';\n font-weight: 400;\n font-style: italic;\n src: url(OpenSans-Italic.ttf);\n}\n\n@font-face {\n font-family: 'Roboto';\n font-weight: 400;\n font-style: normal;\n src: url(Roboto-Regular.ttf);\n}\n\n@font-face {\n font-family: 'Roboto';\n font-weight: 700;\n font-style: normal;\n src: url(Roboto-Bold.ttf);\n}\n\n@font-face {\n font-family: 'Roboto';\n font-weight: 400;\n font-style: italic;\n src: url(Roboto-Italic.ttf);\n}\n\n@font-face {\n font-family: 'Crimson Text';\n font-weight: 400;\n font-style: normal;\n src: url(CrimsonText-Regular.ttf);\n}\n\n@font-face {\n font-family: 'Crimson Text';\n font-weight: 700;\n font-style: normal;\n src: url(CrimsonText-Bold.ttf);\n}\n\n@font-face {\n font-family: 'Crimson Text';\n font-weight: 400;\n font-style: italic;\n src: url(CrimsonText-Italic.ttf);\n}\n\n@font-face {\n font-family: 'OpenDyslexic';\n font-weight: 400;\n font-style: normal;\n src: url(OpenDyslexicAlta-Regular.otf);\n}\n\n@font-face {\n font-family: 'OpenDyslexic';\n font-weight: 700;\n font-style: normal;\n src: url(OpenDyslexicAlta-Bold.otf);\n}\n\n@font-face {\n font-family: 'OpenDyslexic';\n font-weight: 400;\n font-style: italic;\n src: url(OpenDyslexicAlta-Italic.otf);\n}\n\n@font-face {\n font-family: 'Source Serif Pro';\n font-weight: 400;\n font-style: normal;\n src: url(SourceSerifPro-Regular.ttf);\n}\n\n@font-face {\n font-family: 'Source Serif Pro';\n font-weight: 700;\n font-style: normal;\n src: url(SourceSerifPro-Bold.ttf);\n}\n\n@font-face {\n font-family: 'Source Serif Pro';\n font-weight: 400;\n font-style: italic;\n src: url(SourceSerifPro-Italic.ttf);\n}\n\n@font-face {\n font-family: 'Montserrat';\n font-weight: 400;\n font-style: normal;\n src: url(Montserrat-Regular.ttf);\n}\n\n@font-face {\n font-family: 'Montserrat';\n font-weight: 700;\n font-style: normal;\n src: url(Montserrat-Bold.ttf);\n}\n\n@font-face {\n font-family: 'Montserrat';\n font-weight: 400;\n font-style: italic;\n src: url(Montserrat-Italic.ttf);\n}\n\n@font-face {\n font-family: 'Newsreader';\n font-weight: 400;\n font-style: normal;\n src: url(Newsreader-Regular.ttf);\n}\n\n@font-face {\n font-family: 'Newsreader';\n font-weight: 700;\n font-style: normal;\n src: url(Newsreader-Bold.ttf);\n}\n\n@font-face {\n font-family: 'Newsreader';\n font-weight: 400;\n font-style: italic;\n src: url(Newsreader-Italic.ttf);\n}\n\n@font-face {\n font-family: 'AtkinsonHyperlegible';\n font-weight: 400;\n font-style: normal;\n src: url(AtkinsonHyperlegible-Regular.ttf);\n}\n\n@font-face {\n font-family: 'AtkinsonHyperlegible';\n font-weight: 700;\n font-style: normal;\n src: url(AtkinsonHyperlegible-Bold.ttf);\n}\n\n@font-face {\n font-family: 'AtkinsonHyperlegible';\n font-weight: 400;\n font-style: italic;\n src: url(AtkinsonHyperlegible-Italic.ttf);\n}\n\n@font-face {\n font-family: 'LXGWWenKai';\n font-weight: 400;\n font-style: normal;\n src: url(LXGWWenKai-Regular.ttf);\n}\n\n@font-face {\n font-family: 'LXGWWenKai';\n font-weight: 700;\n font-style: normal;\n src: url(LXGWWenKai-Bold.ttf);\n}\n\n@font-face {\n font-family: 'SF Mono';\n font-weight: 400;\n font-style: normal;\n src: url(SFMonoRegular.otf);\n}\n\n@font-face {\n font-family: 'SourceSansPro';\n font-weight: 400;\n font-style: normal;\n src: url(SourceSansPro-Regular.ttf);\n}\n\n@font-face {\n font-family: 'SourceSansPro';\n font-weight: 700;\n font-style: normal;\n src: url(SourceSansPro-Bold.ttf);\n}\n\n@font-face {\n font-family: 'SourceSansPro';\n font-weight: 400;\n font-style: italic;\n src: url(SourceSansPro-Italic.ttf);\n}\n\n\n@font-face {\n font-family: 'IBMPlexSans';\n font-weight: 400;\n font-style: normal;\n src: url(IBMPlexSans-Regular.ttf);\n}\n\n@font-face {\n font-family: 'IBMPlexSans';\n font-weight: 700;\n font-style: normal;\n src: url(IBMPlexSans-Bold.ttf);\n}\n\n@font-face {\n font-family: 'IBMPlexSans';\n font-weight: 400;\n font-style: italic;\n src: url(IBMPlexSans-Italic.ttf);\n}\n\n@font-face {\n font-family: 'Lexend';\n font-weight: 400;\n font-style: normal;\n src: url(Lexend-Regular.ttf);\n}\n\n@font-face {\n font-family: 'Lexend';\n font-weight: 700;\n font-style: normal;\n src: url(Lexend-Bold.ttf);\n}\n\n@font-face {\n font-family: 'Fraunces';\n font-weight: 400;\n font-style: normal;\n src: url(Fraunces-Variable.ttf);\n}\n\n@font-face {\n font-family: 'Fraunces';\n font-weight: 700;\n font-style: bold;\n src: url(Fraunces-Variable.ttf);\n}\n\n\n@font-face {\n font-family: 'Fraunces';\n font-weight: 400;\n font-style: italic;\n src: url(Fraunces-Italic.ttf);\n}\n\n\n@font-face {\n font-family: 'Literata';\n font-weight: 400;\n font-style: normal;\n src: url(Literata-Variable.ttf);\n}\n\n@font-face {\n font-family: 'Literata';\n font-weight: 700;\n font-style: bold;\n src: url(Literata-Variable.ttf);\n}\n\n\n@font-face {\n font-family: 'Literata';\n font-weight: 400;\n font-style: italic;\n src: url(Literata-Italic.ttf);\n}\n\n@font-face {\n font-family: 'SuperNotesPro';\n font-weight: 400;\n font-style: normal;\n src: url(SNPro-VariableRegular.ttf);\n}\n\n@font-face {\n font-family: 'SuperNotesPro';\n font-weight: 700;\n font-style: bold;\n src: url(SNPro-Bold.ttf);\n}\n\n\n@font-face {\n font-family: 'SuperNotesPro';\n font-weight: 400;\n font-style: italic;\n src: url(SNPro-Italic.ttf);\n}\n\n@font-face {\n font-family: 'FuturaBold';\n src: url(FuturaBold.otf); \n font-weight: bold; \n}\n\n\n.dropdown-arrow {\n display: inline-block;\n width: 0;\n height: 0;\n vertical-align: middle;\n border-style: solid;\n border-width: 4px 4px 0;\n border-right-color: transparent;\n border-bottom-color: transparent;\n border-left-color: transparent;\n}\n\n.slider {\n -webkit-appearance: none;\n appearance: none;\n width: 100%;\n height: 1px;\n background: var(--colors-grayBorderHover);\n}\n\n.slider::-webkit-slider-thumb {\n -webkit-appearance: none;\n appearance: none;\n width: 16px !important;\n height: 16px;\n border-radius: 50%;\n background: var(--colors-utilityTextContrast);\n cursor: pointer;\n}\n\n.slider::-moz-range-thumb {\n -webkit-appearance: none;\n width: 16px !important;\n height: 16px;\n border-radius: 50%;\n background: var(--colors-utilityTextContrast);\n cursor: pointer;\n}\n\nselect {\n color: var(--colors-grayTextContrast);\n background-color: transparent;\n -webkit-appearance: none;\n}\n\nselect option {\n background-color: transparent;\n}\n\ninput[type=range]::-webkit-slider-thumb {\n -webkit-appearance: none;\n border: none;\n height: 16px;\n width: 16px;\n border-radius: 50%;\n background: var(--colors-grayTextContrast);\n}\n\nbutton {\n padding: 0px;\n margin: 0px;\n}\n\n.slide-panel-overlay {\n z-index: 100 !important;\n background: transparent !important;\n pointer-events: none;\n}\n \n.slide-pane__content {\n padding: 0px !important;\n pointer-events: all;\n border-top-left-radius: 10px;\n border-bottom-right-radius: 10px;\n border-left: 1px solid var(--colors-thNotebookBorder);\n background: var(--colors-thNotebookBackground);\n}\n\n.slide-pane {\n background: transparent !important;\n transition: transform .2s !important;\n box-shadow: 0px 4px 4px rgba(33, 33, 33, 0.1) !important;\n}\n\n@media (max-width: 600px) {\n .slide-pane__content {\n border-top-left-radius: 10px;\n border-bottom-right-radius: 10px;\n border-left: 1px solid var(--colors-thNotebookBorder);\n }\n}\n",""]);const l=a},3645:e=>{"use strict";e.exports=function(e){var t=[];return t.toString=function(){return this.map((function(t){var n="",r=void 0!==t[5];return t[4]&&(n+="@supports (".concat(t[4],") {")),t[2]&&(n+="@media ".concat(t[2]," {")),r&&(n+="@layer".concat(t[5].length>0?" ".concat(t[5]):""," {")),n+=e(t),r&&(n+="}"),t[2]&&(n+="}"),t[4]&&(n+="}"),n})).join("")},t.i=function(e,n,r,o,i){"string"==typeof e&&(e=[[null,e,void 0]]);var a={};if(r)for(var l=0;l<this.length;l++){var s=this[l][0];null!=s&&(a[s]=!0)}for(var u=0;u<e.length;u++){var c=[].concat(e[u]);r&&a[c[0]]||(void 0!==i&&(void 0===c[5]||(c[1]="@layer".concat(c[5].length>0?" ".concat(c[5]):""," {").concat(c[1],"}")),c[5]=i),n&&(c[2]?(c[1]="@media ".concat(c[2]," {").concat(c[1],"}"),c[2]=n):c[2]=n),o&&(c[4]?(c[1]="@supports (".concat(c[4],") {").concat(c[1],"}"),c[4]=o):c[4]="".concat(o)),t.push(c))}},t}},8081:e=>{"use strict";e.exports=function(e){return e[1]}},3379:e=>{"use strict";var t=[];function n(e){for(var n=-1,r=0;r<t.length;r++)if(t[r].identifier===e){n=r;break}return n}function r(e,r){for(var i={},a=[],l=0;l<e.length;l++){var s=e[l],u=r.base?s[0]+r.base:s[0],c=i[u]||0,d="".concat(u," ").concat(c);i[u]=c+1;var f=n(d),p={css:s[1],media:s[2],sourceMap:s[3],supports:s[4],layer:s[5]};if(-1!==f)t[f].references++,t[f].updater(p);else{var h=o(p,r);r.byIndex=l,t.splice(l,0,{identifier:d,updater:h,references:1})}a.push(d)}return a}function o(e,t){var n=t.domAPI(t);return n.update(e),function(t){if(t){if(t.css===e.css&&t.media===e.media&&t.sourceMap===e.sourceMap&&t.supports===e.supports&&t.layer===e.layer)return;n.update(e=t)}else n.remove()}}e.exports=function(e,o){var i=r(e=e||[],o=o||{});return function(e){e=e||[];for(var a=0;a<i.length;a++){var l=n(i[a]);t[l].references--}for(var s=r(e,o),u=0;u<i.length;u++){var c=n(i[u]);0===t[c].references&&(t[c].updater(),t.splice(c,1))}i=s}}},569:e=>{"use strict";var t={};e.exports=function(e,n){var r=function(e){if(void 0===t[e]){var n=document.querySelector(e);if(window.HTMLIFrameElement&&n instanceof window.HTMLIFrameElement)try{n=n.contentDocument.head}catch(e){n=null}t[e]=n}return t[e]}(e);if(!r)throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");r.appendChild(n)}},9216:e=>{"use strict";e.exports=function(e){var t=document.createElement("style");return e.setAttributes(t,e.attributes),e.insert(t,e.options),t}},3565:(e,t,n)=>{"use strict";e.exports=function(e){var t=n.nc;t&&e.setAttribute("nonce",t)}},7795:e=>{"use strict";e.exports=function(e){var t=e.insertStyleElement(e);return{update:function(n){!function(e,t,n){var r="";n.supports&&(r+="@supports (".concat(n.supports,") {")),n.media&&(r+="@media ".concat(n.media," {"));var o=void 0!==n.layer;o&&(r+="@layer".concat(n.layer.length>0?" ".concat(n.layer):""," {")),r+=n.css,o&&(r+="}"),n.media&&(r+="}"),n.supports&&(r+="}");var i=n.sourceMap;i&&"undefined"!=typeof btoa&&(r+="\n/*# sourceMappingURL=data:application/json;base64,".concat(btoa(unescape(encodeURIComponent(JSON.stringify(i))))," */")),t.styleTagTransform(r,e,t.options)}(t,e,n)},remove:function(){!function(e){if(null===e.parentNode)return!1;e.parentNode.removeChild(e)}(t)}}}},4589:e=>{"use strict";e.exports=function(e,t){if(t.styleSheet)t.styleSheet.cssText=e;else{for(;t.firstChild;)t.removeChild(t.firstChild);t.appendChild(document.createTextNode(e))}}},6787:(e,t,n)=>{"use strict";function r(e){var t=Array.prototype.slice.call(arguments,1);return t.forEach((function(t){t&&Object.keys(t).forEach((function(n){e[n]=t[n]}))})),e}function o(e){return Object.prototype.toString.call(e)}function i(e){return"[object Function]"===o(e)}function a(e){return e.replace(/[.?*+^$[\]\\(){}|-]/g,"\\$&")}var l={fuzzyLink:!0,fuzzyEmail:!0,fuzzyIP:!1},s={"http:":{validate:function(e,t,n){var r=e.slice(t);return n.re.http||(n.re.http=new RegExp("^\\/\\/"+n.re.src_auth+n.re.src_host_port_strict+n.re.src_path,"i")),n.re.http.test(r)?r.match(n.re.http)[0].length:0}},"https:":"http:","ftp:":"http:","//":{validate:function(e,t,n){var r=e.slice(t);return n.re.no_http||(n.re.no_http=new RegExp("^"+n.re.src_auth+"(?:localhost|(?:(?:"+n.re.src_domain+")\\.)+"+n.re.src_domain_root+")"+n.re.src_port+n.re.src_host_terminator+n.re.src_path,"i")),n.re.no_http.test(r)?t>=3&&":"===e[t-3]||t>=3&&"/"===e[t-3]?0:r.match(n.re.no_http)[0].length:0}},"mailto:":{validate:function(e,t,n){var r=e.slice(t);return n.re.mailto||(n.re.mailto=new RegExp("^"+n.re.src_email_name+"@"+n.re.src_host_strict,"i")),n.re.mailto.test(r)?r.match(n.re.mailto)[0].length:0}}},u="biz|com|edu|gov|net|org|pro|web|xxx|aero|asia|coop|info|museum|name|shop|рф".split("|");function c(e){var t=e.re=n(5718)(e.__opts__),r=e.__tlds__.slice();function l(e){return e.replace("%TLDS%",t.src_tlds)}e.onCompile(),e.__tlds_replaced__||r.push("a[cdefgilmnoqrstuwxz]|b[abdefghijmnorstvwyz]|c[acdfghiklmnoruvwxyz]|d[ejkmoz]|e[cegrstu]|f[ijkmor]|g[abdefghilmnpqrstuwy]|h[kmnrtu]|i[delmnoqrst]|j[emop]|k[eghimnprwyz]|l[abcikrstuvy]|m[acdeghklmnopqrstuvwxyz]|n[acefgilopruz]|om|p[aefghklmnrstwy]|qa|r[eosuw]|s[abcdeghijklmnortuvxyz]|t[cdfghjklmnortvwz]|u[agksyz]|v[aceginu]|w[fs]|y[et]|z[amw]"),r.push(t.src_xn),t.src_tlds=r.join("|"),t.email_fuzzy=RegExp(l(t.tpl_email_fuzzy),"i"),t.link_fuzzy=RegExp(l(t.tpl_link_fuzzy),"i"),t.link_no_ip_fuzzy=RegExp(l(t.tpl_link_no_ip_fuzzy),"i"),t.host_fuzzy_test=RegExp(l(t.tpl_host_fuzzy_test),"i");var s=[];function u(e,t){throw new Error('(LinkifyIt) Invalid schema "'+e+'": '+t)}e.__compiled__={},Object.keys(e.__schemas__).forEach((function(t){var n=e.__schemas__[t];if(null!==n){var r={validate:null,link:null};if(e.__compiled__[t]=r,"[object Object]"===o(n))return"[object RegExp]"!==o(n.validate)?i(n.validate)?r.validate=n.validate:u(t,n):r.validate=function(e){return function(t,n){var r=t.slice(n);return e.test(r)?r.match(e)[0].length:0}}(n.validate),void(i(n.normalize)?r.normalize=n.normalize:n.normalize?u(t,n):r.normalize=function(e,t){t.normalize(e)});!function(e){return"[object String]"===o(e)}(n)?u(t,n):s.push(t)}})),s.forEach((function(t){e.__compiled__[e.__schemas__[t]]&&(e.__compiled__[t].validate=e.__compiled__[e.__schemas__[t]].validate,e.__compiled__[t].normalize=e.__compiled__[e.__schemas__[t]].normalize)})),e.__compiled__[""]={validate:null,normalize:function(e,t){t.normalize(e)}};var c=Object.keys(e.__compiled__).filter((function(t){return t.length>0&&e.__compiled__[t]})).map(a).join("|");e.re.schema_test=RegExp("(^|(?!_)(?:[><]|"+t.src_ZPCc+"))("+c+")","i"),e.re.schema_search=RegExp("(^|(?!_)(?:[><]|"+t.src_ZPCc+"))("+c+")","ig"),e.re.schema_at_start=RegExp("^"+e.re.schema_search.source,"i"),e.re.pretest=RegExp("("+e.re.schema_test.source+")|("+e.re.host_fuzzy_test.source+")|@","i"),function(e){e.__index__=-1,e.__text_cache__=""}(e)}function d(e,t){var n=e.__index__,r=e.__last_index__,o=e.__text_cache__.slice(n,r);this.schema=e.__schema__.toLowerCase(),this.index=n+t,this.lastIndex=r+t,this.raw=o,this.text=o,this.url=o}function f(e,t){var n=new d(e,t);return e.__compiled__[n.schema].normalize(n,e),n}function p(e,t){if(!(this instanceof p))return new p(e,t);var n;t||(n=e,Object.keys(n||{}).reduce((function(e,t){return e||l.hasOwnProperty(t)}),!1)&&(t=e,e={})),this.__opts__=r({},l,t),this.__index__=-1,this.__last_index__=-1,this.__schema__="",this.__text_cache__="",this.__schemas__=r({},s,e),this.__compiled__={},this.__tlds__=u,this.__tlds_replaced__=!1,this.re={},c(this)}p.prototype.add=function(e,t){return this.__schemas__[e]=t,c(this),this},p.prototype.set=function(e){return this.__opts__=r(this.__opts__,e),this},p.prototype.test=function(e){if(this.__text_cache__=e,this.__index__=-1,!e.length)return!1;var t,n,r,o,i,a,l,s;if(this.re.schema_test.test(e))for((l=this.re.schema_search).lastIndex=0;null!==(t=l.exec(e));)if(o=this.testSchemaAt(e,t[2],l.lastIndex)){this.__schema__=t[2],this.__index__=t.index+t[1].length,this.__last_index__=t.index+t[0].length+o;break}return this.__opts__.fuzzyLink&&this.__compiled__["http:"]&&(s=e.search(this.re.host_fuzzy_test))>=0&&(this.__index__<0||s<this.__index__)&&null!==(n=e.match(this.__opts__.fuzzyIP?this.re.link_fuzzy:this.re.link_no_ip_fuzzy))&&(i=n.index+n[1].length,(this.__index__<0||i<this.__index__)&&(this.__schema__="",this.__index__=i,this.__last_index__=n.index+n[0].length)),this.__opts__.fuzzyEmail&&this.__compiled__["mailto:"]&&e.indexOf("@")>=0&&null!==(r=e.match(this.re.email_fuzzy))&&(i=r.index+r[1].length,a=r.index+r[0].length,(this.__index__<0||i<this.__index__||i===this.__index__&&a>this.__last_index__)&&(this.__schema__="mailto:",this.__index__=i,this.__last_index__=a)),this.__index__>=0},p.prototype.pretest=function(e){return this.re.pretest.test(e)},p.prototype.testSchemaAt=function(e,t,n){return this.__compiled__[t.toLowerCase()]?this.__compiled__[t.toLowerCase()].validate(e,n,this):0},p.prototype.match=function(e){var t=0,n=[];this.__index__>=0&&this.__text_cache__===e&&(n.push(f(this,t)),t=this.__last_index__);for(var r=t?e.slice(t):e;this.test(r);)n.push(f(this,t)),r=r.slice(this.__last_index__),t+=this.__last_index__;return n.length?n:null},p.prototype.matchAtStart=function(e){if(this.__text_cache__=e,this.__index__=-1,!e.length)return null;var t=this.re.schema_at_start.exec(e);if(!t)return null;var n=this.testSchemaAt(e,t[2],t[0].length);return n?(this.__schema__=t[2],this.__index__=t.index+t[1].length,this.__last_index__=t.index+t[0].length+n,f(this,0)):null},p.prototype.tlds=function(e,t){return e=Array.isArray(e)?e:[e],t?(this.__tlds__=this.__tlds__.concat(e).sort().filter((function(e,t,n){return e!==n[t-1]})).reverse(),c(this),this):(this.__tlds__=e.slice(),this.__tlds_replaced__=!0,c(this),this)},p.prototype.normalize=function(e){e.schema||(e.url="http://"+e.url),"mailto:"!==e.schema||/^mailto:/i.test(e.url)||(e.url="mailto:"+e.url)},p.prototype.onCompile=function(){},e.exports=p},5718:(e,t,n)=>{"use strict";e.exports=function(e){var t={};return e=e||{},t.src_Any=n(3530).source,t.src_Cc=n(6889).source,t.src_Z=n(8442).source,t.src_P=n(7062).source,t.src_ZPCc=[t.src_Z,t.src_P,t.src_Cc].join("|"),t.src_ZCc=[t.src_Z,t.src_Cc].join("|"),t.src_pseudo_letter="(?:(?![><]|"+t.src_ZPCc+")"+t.src_Any+")",t.src_ip4="(?:(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.){3}(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)",t.src_auth="(?:(?:(?!"+t.src_ZCc+"|[@/\\[\\]()]).)+@)?",t.src_port="(?::(?:6(?:[0-4]\\d{3}|5(?:[0-4]\\d{2}|5(?:[0-2]\\d|3[0-5])))|[1-5]?\\d{1,4}))?",t.src_host_terminator="(?=$|[><]|"+t.src_ZPCc+")(?!"+(e["---"]?"-(?!--)|":"-|")+"_|:\\d|\\.-|\\.(?!$|"+t.src_ZPCc+"))",t.src_path="(?:[/?#](?:(?!"+t.src_ZCc+"|[><]|[()[\\]{}.,\"'?!\\-;]).|\\[(?:(?!"+t.src_ZCc+"|\\]).)*\\]|\\((?:(?!"+t.src_ZCc+"|[)]).)*\\)|\\{(?:(?!"+t.src_ZCc+'|[}]).)*\\}|\\"(?:(?!'+t.src_ZCc+'|["]).)+\\"|\\\'(?:(?!'+t.src_ZCc+"|[']).)+\\'|\\'(?="+t.src_pseudo_letter+"|[-])|\\.{2,}[a-zA-Z0-9%/&]|\\.(?!"+t.src_ZCc+"|[.]|$)|"+(e["---"]?"\\-(?!--(?:[^-]|$))(?:-*)|":"\\-+|")+",(?!"+t.src_ZCc+"|$)|;(?!"+t.src_ZCc+"|$)|\\!+(?!"+t.src_ZCc+"|[!]|$)|\\?(?!"+t.src_ZCc+"|[?]|$))+|\\/)?",t.src_email_name='[\\-;:&=\\+\\$,\\.a-zA-Z0-9_][\\-;:&=\\+\\$,\\"\\.a-zA-Z0-9_]*',t.src_xn="xn--[a-z0-9\\-]{1,59}",t.src_domain_root="(?:"+t.src_xn+"|"+t.src_pseudo_letter+"{1,63})",t.src_domain="(?:"+t.src_xn+"|(?:"+t.src_pseudo_letter+")|(?:"+t.src_pseudo_letter+"(?:-|"+t.src_pseudo_letter+"){0,61}"+t.src_pseudo_letter+"))",t.src_host="(?:(?:(?:(?:"+t.src_domain+")\\.)*"+t.src_domain+"))",t.tpl_host_fuzzy="(?:"+t.src_ip4+"|(?:(?:(?:"+t.src_domain+")\\.)+(?:%TLDS%)))",t.tpl_host_no_ip_fuzzy="(?:(?:(?:"+t.src_domain+")\\.)+(?:%TLDS%))",t.src_host_strict=t.src_host+t.src_host_terminator,t.tpl_host_fuzzy_strict=t.tpl_host_fuzzy+t.src_host_terminator,t.src_host_port_strict=t.src_host+t.src_port+t.src_host_terminator,t.tpl_host_port_fuzzy_strict=t.tpl_host_fuzzy+t.src_port+t.src_host_terminator,t.tpl_host_port_no_ip_fuzzy_strict=t.tpl_host_no_ip_fuzzy+t.src_port+t.src_host_terminator,t.tpl_host_fuzzy_test="localhost|www\\.|\\.\\d{1,3}\\.|(?:\\.(?:%TLDS%)(?:"+t.src_ZPCc+"|>|$))",t.tpl_email_fuzzy='(^|[><]|"|\\(|'+t.src_ZCc+")("+t.src_email_name+"@"+t.tpl_host_fuzzy_strict+")",t.tpl_link_fuzzy="(^|(?![.:/\\-_@])(?:[$+<=>^`|]|"+t.src_ZPCc+"))((?![$+<=>^`|])"+t.tpl_host_port_fuzzy_strict+t.src_path+")",t.tpl_link_no_ip_fuzzy="(^|(?![.:/\\-_@])(?:[$+<=>^`|]|"+t.src_ZPCc+"))((?![$+<=>^`|])"+t.tpl_host_port_no_ip_fuzzy_strict+t.src_path+")",t}},3811:(e,t,n)=>{"use strict";e.exports=n(9950)},2949:(e,t,n)=>{"use strict";e.exports=n(4837)},851:e=>{"use strict";e.exports=["address","article","aside","base","basefont","blockquote","body","caption","center","col","colgroup","dd","details","dialog","dir","div","dl","dt","fieldset","figcaption","figure","footer","form","frame","frameset","h1","h2","h3","h4","h5","h6","head","header","hr","html","iframe","legend","li","link","main","menu","menuitem","nav","noframes","ol","optgroup","option","p","param","section","source","summary","table","tbody","td","tfoot","th","thead","title","tr","track","ul"]},6340:e=>{"use strict";var t="<[A-Za-z][A-Za-z0-9\\-]*(?:\\s+[a-zA-Z_:][a-zA-Z0-9:._-]*(?:\\s*=\\s*(?:[^\"'=<>`\\x00-\\x20]+|'[^']*'|\"[^\"]*\"))?)*\\s*\\/?>",n="<\\/[A-Za-z][A-Za-z0-9\\-]*\\s*>",r=new RegExp("^(?:"+t+"|"+n+"|\x3c!----\x3e|\x3c!--(?:-?[^>-])(?:-?[^-])*--\x3e|<[?][\\s\\S]*?[?]>|<![A-Z]+\\s+[^>]*>|<!\\[CDATA\\[[\\s\\S]*?\\]\\]>)"),o=new RegExp("^(?:"+t+"|"+n+")");e.exports.n=r,e.exports.q=o},6483:(e,t,n)=>{"use strict";var r=Object.prototype.hasOwnProperty;function o(e,t){return r.call(e,t)}function i(e){return!(e>=55296&&e<=57343||e>=64976&&e<=65007||65535==(65535&e)||65534==(65535&e)||e>=0&&e<=8||11===e||e>=14&&e<=31||e>=127&&e<=159||e>1114111)}function a(e){if(e>65535){var t=55296+((e-=65536)>>10),n=56320+(1023&e);return String.fromCharCode(t,n)}return String.fromCharCode(e)}var l=/\\([!"#$%&'()*+,\-.\/:;<=>?@[\\\]^_`{|}~])/g,s=new RegExp(l.source+"|"+/&([a-z#][a-z0-9]{1,31});/gi.source,"gi"),u=/^#((?:x[a-f0-9]{1,8}|[0-9]{1,8}))/i,c=n(2949),d=/[&<>"]/,f=/[&<>"]/g,p={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;"};function h(e){return p[e]}var g=/[.?*+^$[\]\\(){}|-]/g,m=n(7062);t.lib={},t.lib.mdurl=n(4976),t.lib.ucmicro=n(8579),t.assign=function(e){var t=Array.prototype.slice.call(arguments,1);return t.forEach((function(t){if(t){if("object"!=typeof t)throw new TypeError(t+"must be object");Object.keys(t).forEach((function(n){e[n]=t[n]}))}})),e},t.isString=function(e){return"[object String]"===function(e){return Object.prototype.toString.call(e)}(e)},t.has=o,t.unescapeMd=function(e){return e.indexOf("\\")<0?e:e.replace(l,"$1")},t.unescapeAll=function(e){return e.indexOf("\\")<0&&e.indexOf("&")<0?e:e.replace(s,(function(e,t,n){return t||function(e,t){var n=0;return o(c,t)?c[t]:35===t.charCodeAt(0)&&u.test(t)&&i(n="x"===t[1].toLowerCase()?parseInt(t.slice(2),16):parseInt(t.slice(1),10))?a(n):e}(e,n)}))},t.isValidEntityCode=i,t.fromCodePoint=a,t.escapeHtml=function(e){return d.test(e)?e.replace(f,h):e},t.arrayReplaceAt=function(e,t,n){return[].concat(e.slice(0,t),n,e.slice(t+1))},t.isSpace=function(e){switch(e){case 9:case 32:return!0}return!1},t.isWhiteSpace=function(e){if(e>=8192&&e<=8202)return!0;switch(e){case 9:case 10:case 11:case 12:case 13:case 32:case 160:case 5760:case 8239:case 8287:case 12288:return!0}return!1},t.isMdAsciiPunct=function(e){switch(e){case 33:case 34:case 35:case 36:case 37:case 38:case 39:case 40:case 41:case 42:case 43:case 44:case 45:case 46:case 47:case 58:case 59:case 60:case 61:case 62:case 63:case 64:case 91:case 92:case 93:case 94:case 95:case 96:case 123:case 124:case 125:case 126:return!0;default:return!1}},t.isPunctChar=function(e){return m.test(e)},t.escapeRE=function(e){return e.replace(g,"\\$&")},t.normalizeReference=function(e){return e=e.trim().replace(/\s+/g," "),"Ṿ"==="ẞ".toLowerCase()&&(e=e.replace(/ẞ/g,"ß")),e.toLowerCase().toUpperCase()}},4868:(e,t,n)=>{"use strict";t.parseLinkLabel=n(9325),t.parseLinkDestination=n(4675),t.parseLinkTitle=n(7279)},4675:(e,t,n)=>{"use strict";var r=n(6483).unescapeAll;e.exports=function(e,t,n){var o,i,a=t,l={ok:!1,pos:0,lines:0,str:""};if(60===e.charCodeAt(t)){for(t++;t<n;){if(10===(o=e.charCodeAt(t)))return l;if(60===o)return l;if(62===o)return l.pos=t+1,l.str=r(e.slice(a+1,t)),l.ok=!0,l;92===o&&t+1<n?t+=2:t++}return l}for(i=0;t<n&&32!==(o=e.charCodeAt(t))&&!(o<32||127===o);)if(92===o&&t+1<n){if(32===e.charCodeAt(t+1))break;t+=2}else{if(40===o&&++i>32)return l;if(41===o){if(0===i)break;i--}t++}return a===t||0!==i||(l.str=r(e.slice(a,t)),l.lines=0,l.pos=t,l.ok=!0),l}},9325:e=>{"use strict";e.exports=function(e,t,n){var r,o,i,a,l=-1,s=e.posMax,u=e.pos;for(e.pos=t+1,r=1;e.pos<s;){if(93===(i=e.src.charCodeAt(e.pos))&&0==--r){o=!0;break}if(a=e.pos,e.md.inline.skipToken(e),91===i)if(a===e.pos-1)r++;else if(n)return e.pos=u,-1}return o&&(l=e.pos),e.pos=u,l}},7279:(e,t,n)=>{"use strict";var r=n(6483).unescapeAll;e.exports=function(e,t,n){var o,i,a=0,l=t,s={ok:!1,pos:0,lines:0,str:""};if(t>=n)return s;if(34!==(i=e.charCodeAt(t))&&39!==i&&40!==i)return s;for(t++,40===i&&(i=41);t<n;){if((o=e.charCodeAt(t))===i)return s.pos=t+1,s.lines=a,s.str=r(e.slice(l+1,t)),s.ok=!0,s;if(40===o&&41===i)return s;10===o?a++:92===o&&t+1<n&&(t++,10===e.charCodeAt(t)&&a++),t++}return s}},9950:(e,t,n)=>{"use strict";var r=n(6483),o=n(4868),i=n(4500),a=n(228),l=n(1343),s=n(1720),u=n(6787),c=n(4976),d=n(300),f={default:n(333),zero:n(8962),commonmark:n(363)},p=/^(vbscript|javascript|file|data):/,h=/^data:image\/(gif|png|jpeg|webp);/;function g(e){var t=e.trim().toLowerCase();return!p.test(t)||!!h.test(t)}var m=["http:","https:","mailto:"];function v(e){var t=c.parse(e,!0);if(t.hostname&&(!t.protocol||m.indexOf(t.protocol)>=0))try{t.hostname=d.toASCII(t.hostname)}catch(e){}return c.encode(c.format(t))}function b(e){var t=c.parse(e,!0);if(t.hostname&&(!t.protocol||m.indexOf(t.protocol)>=0))try{t.hostname=d.toUnicode(t.hostname)}catch(e){}return c.decode(c.format(t),c.decode.defaultChars+"%")}function y(e,t){if(!(this instanceof y))return new y(e,t);t||r.isString(e)||(t=e||{},e="default"),this.inline=new s,this.block=new l,this.core=new a,this.renderer=new i,this.linkify=new u,this.validateLink=g,this.normalizeLink=v,this.normalizeLinkText=b,this.utils=r,this.helpers=r.assign({},o),this.options={},this.configure(e),t&&this.set(t)}y.prototype.set=function(e){return r.assign(this.options,e),this},y.prototype.configure=function(e){var t,n=this;if(r.isString(e)&&!(e=f[t=e]))throw new Error('Wrong `markdown-it` preset "'+t+'", check name');if(!e)throw new Error("Wrong `markdown-it` preset, can't be empty");return e.options&&n.set(e.options),e.components&&Object.keys(e.components).forEach((function(t){e.components[t].rules&&n[t].ruler.enableOnly(e.components[t].rules),e.components[t].rules2&&n[t].ruler2.enableOnly(e.components[t].rules2)})),this},y.prototype.enable=function(e,t){var n=[];Array.isArray(e)||(e=[e]),["core","block","inline"].forEach((function(t){n=n.concat(this[t].ruler.enable(e,!0))}),this),n=n.concat(this.inline.ruler2.enable(e,!0));var r=e.filter((function(e){return n.indexOf(e)<0}));if(r.length&&!t)throw new Error("MarkdownIt. Failed to enable unknown rule(s): "+r);return this},y.prototype.disable=function(e,t){var n=[];Array.isArray(e)||(e=[e]),["core","block","inline"].forEach((function(t){n=n.concat(this[t].ruler.disable(e,!0))}),this),n=n.concat(this.inline.ruler2.disable(e,!0));var r=e.filter((function(e){return n.indexOf(e)<0}));if(r.length&&!t)throw new Error("MarkdownIt. Failed to disable unknown rule(s): "+r);return this},y.prototype.use=function(e){var t=[this].concat(Array.prototype.slice.call(arguments,1));return e.apply(e,t),this},y.prototype.parse=function(e,t){if("string"!=typeof e)throw new Error("Input data should be a String");var n=new this.core.State(e,this,t);return this.core.process(n),n.tokens},y.prototype.render=function(e,t){return t=t||{},this.renderer.render(this.parse(e,t),this.options,t)},y.prototype.parseInline=function(e,t){var n=new this.core.State(e,this,t);return n.inlineMode=!0,this.core.process(n),n.tokens},y.prototype.renderInline=function(e,t){return t=t||{},this.renderer.render(this.parseInline(e,t),this.options,t)},e.exports=y},1343:(e,t,n)=>{"use strict";var r=n(4606),o=[["table",n(3489),["paragraph","reference"]],["code",n(8102)],["fence",n(6029),["paragraph","reference","blockquote","list"]],["blockquote",n(8334),["paragraph","reference","blockquote","list"]],["hr",n(7233),["paragraph","reference","blockquote","list"]],["list",n(7638),["paragraph","reference","blockquote"]],["reference",n(6110)],["html_block",n(2162),["paragraph","reference","blockquote"]],["heading",n(3582),["paragraph","reference","blockquote"]],["lheading",n(2535)],["paragraph",n(4533)]];function i(){this.ruler=new r;for(var e=0;e<o.length;e++)this.ruler.push(o[e][0],o[e][1],{alt:(o[e][2]||[]).slice()})}i.prototype.tokenize=function(e,t,n){for(var r,o=this.ruler.getRules(""),i=o.length,a=t,l=!1,s=e.md.options.maxNesting;a<n&&(e.line=a=e.skipEmptyLines(a),!(a>=n))&&!(e.sCount[a]<e.blkIndent);){if(e.level>=s){e.line=n;break}for(r=0;r<i&&!o[r](e,a,n,!1);r++);e.tight=!l,e.isEmpty(e.line-1)&&(l=!0),(a=e.line)<n&&e.isEmpty(a)&&(l=!0,a++,e.line=a)}},i.prototype.parse=function(e,t,n,r){var o;e&&(o=new this.State(e,t,n,r),this.tokenize(o,o.line,o.lineMax))},i.prototype.State=n(9143),e.exports=i},228:(e,t,n)=>{"use strict";var r=n(4606),o=[["normalize",n(826)],["block",n(6679)],["inline",n(977)],["linkify",n(296)],["replacements",n(533)],["smartquotes",n(9801)],["text_join",n(1116)]];function i(){this.ruler=new r;for(var e=0;e<o.length;e++)this.ruler.push(o[e][0],o[e][1])}i.prototype.process=function(e){var t,n,r;for(t=0,n=(r=this.ruler.getRules("")).length;t<n;t++)r[t](e)},i.prototype.State=n(9909),e.exports=i},1720:(e,t,n)=>{"use strict";var r=n(4606),o=[["text",n(2754)],["linkify",n(949)],["newline",n(3722)],["escape",n(5677)],["backticks",n(7361)],["strikethrough",n(1434).w],["emphasis",n(9211).w],["link",n(6368)],["image",n(2566)],["autolink",n(66)],["html_inline",n(1525)],["entity",n(9404)]],i=[["balance_pairs",n(33)],["strikethrough",n(1434).g],["emphasis",n(9211).g],["fragments_join",n(3498)]];function a(){var e;for(this.ruler=new r,e=0;e<o.length;e++)this.ruler.push(o[e][0],o[e][1]);for(this.ruler2=new r,e=0;e<i.length;e++)this.ruler2.push(i[e][0],i[e][1])}a.prototype.skipToken=function(e){var t,n,r=e.pos,o=this.ruler.getRules(""),i=o.length,a=e.md.options.maxNesting,l=e.cache;if(void 0===l[r]){if(e.level<a)for(n=0;n<i&&(e.level++,t=o[n](e,!0),e.level--,!t);n++);else e.pos=e.posMax;t||e.pos++,l[r]=e.pos}else e.pos=l[r]},a.prototype.tokenize=function(e){for(var t,n,r=this.ruler.getRules(""),o=r.length,i=e.posMax,a=e.md.options.maxNesting;e.pos<i;){if(e.level<a)for(n=0;n<o&&!(t=r[n](e,!1));n++);if(t){if(e.pos>=i)break}else e.pending+=e.src[e.pos++]}e.pending&&e.pushPending()},a.prototype.parse=function(e,t,n,r){var o,i,a,l=new this.State(e,t,n,r);for(this.tokenize(l),a=(i=this.ruler2.getRules("")).length,o=0;o<a;o++)i[o](l)},a.prototype.State=n(3984),e.exports=a},363:e=>{"use strict";e.exports={options:{html:!0,xhtmlOut:!0,breaks:!1,langPrefix:"language-",linkify:!1,typographer:!1,quotes:"“”‘’",highlight:null,maxNesting:20},components:{core:{rules:["normalize","block","inline","text_join"]},block:{rules:["blockquote","code","fence","heading","hr","html_block","lheading","list","reference","paragraph"]},inline:{rules:["autolink","backticks","emphasis","entity","escape","html_inline","image","link","newline","text"],rules2:["balance_pairs","emphasis","fragments_join"]}}}},333:e=>{"use strict";e.exports={options:{html:!1,xhtmlOut:!1,breaks:!1,langPrefix:"language-",linkify:!1,typographer:!1,quotes:"“”‘’",highlight:null,maxNesting:100},components:{core:{},block:{},inline:{}}}},8962:e=>{"use strict";e.exports={options:{html:!1,xhtmlOut:!1,breaks:!1,langPrefix:"language-",linkify:!1,typographer:!1,quotes:"“”‘’",highlight:null,maxNesting:20},components:{core:{rules:["normalize","block","inline","text_join"]},block:{rules:["paragraph"]},inline:{rules:["text"],rules2:["balance_pairs","fragments_join"]}}}},4500:(e,t,n)=>{"use strict";var r=n(6483).assign,o=n(6483).unescapeAll,i=n(6483).escapeHtml,a={};function l(){this.rules=r({},a)}a.code_inline=function(e,t,n,r,o){var a=e[t];return"<code"+o.renderAttrs(a)+">"+i(e[t].content)+"</code>"},a.code_block=function(e,t,n,r,o){var a=e[t];return"<pre"+o.renderAttrs(a)+"><code>"+i(e[t].content)+"</code></pre>\n"},a.fence=function(e,t,n,r,a){var l,s,u,c,d,f=e[t],p=f.info?o(f.info).trim():"",h="",g="";return p&&(h=(u=p.split(/(\s+)/g))[0],g=u.slice(2).join("")),0===(l=n.highlight&&n.highlight(f.content,h,g)||i(f.content)).indexOf("<pre")?l+"\n":p?(s=f.attrIndex("class"),c=f.attrs?f.attrs.slice():[],s<0?c.push(["class",n.langPrefix+h]):(c[s]=c[s].slice(),c[s][1]+=" "+n.langPrefix+h),d={attrs:c},"<pre><code"+a.renderAttrs(d)+">"+l+"</code></pre>\n"):"<pre><code"+a.renderAttrs(f)+">"+l+"</code></pre>\n"},a.image=function(e,t,n,r,o){var i=e[t];return i.attrs[i.attrIndex("alt")][1]=o.renderInlineAsText(i.children,n,r),o.renderToken(e,t,n)},a.hardbreak=function(e,t,n){return n.xhtmlOut?"<br />\n":"<br>\n"},a.softbreak=function(e,t,n){return n.breaks?n.xhtmlOut?"<br />\n":"<br>\n":"\n"},a.text=function(e,t){return i(e[t].content)},a.html_block=function(e,t){return e[t].content},a.html_inline=function(e,t){return e[t].content},l.prototype.renderAttrs=function(e){var t,n,r;if(!e.attrs)return"";for(r="",t=0,n=e.attrs.length;t<n;t++)r+=" "+i(e.attrs[t][0])+'="'+i(e.attrs[t][1])+'"';return r},l.prototype.renderToken=function(e,t,n){var r,o="",i=!1,a=e[t];return a.hidden?"":(a.block&&-1!==a.nesting&&t&&e[t-1].hidden&&(o+="\n"),o+=(-1===a.nesting?"</":"<")+a.tag,o+=this.renderAttrs(a),0===a.nesting&&n.xhtmlOut&&(o+=" /"),a.block&&(i=!0,1===a.nesting&&t+1<e.length&&("inline"===(r=e[t+1]).type||r.hidden||-1===r.nesting&&r.tag===a.tag)&&(i=!1)),o+=i?">\n":">")},l.prototype.renderInline=function(e,t,n){for(var r,o="",i=this.rules,a=0,l=e.length;a<l;a++)void 0!==i[r=e[a].type]?o+=i[r](e,a,t,n,this):o+=this.renderToken(e,a,t);return o},l.prototype.renderInlineAsText=function(e,t,n){for(var r="",o=0,i=e.length;o<i;o++)"text"===e[o].type?r+=e[o].content:"image"===e[o].type?r+=this.renderInlineAsText(e[o].children,t,n):"softbreak"===e[o].type&&(r+="\n");return r},l.prototype.render=function(e,t,n){var r,o,i,a="",l=this.rules;for(r=0,o=e.length;r<o;r++)"inline"===(i=e[r].type)?a+=this.renderInline(e[r].children,t,n):void 0!==l[i]?a+=l[e[r].type](e,r,t,n,this):a+=this.renderToken(e,r,t,n);return a},e.exports=l},4606:e=>{"use strict";function t(){this.__rules__=[],this.__cache__=null}t.prototype.__find__=function(e){for(var t=0;t<this.__rules__.length;t++)if(this.__rules__[t].name===e)return t;return-1},t.prototype.__compile__=function(){var e=this,t=[""];e.__rules__.forEach((function(e){e.enabled&&e.alt.forEach((function(e){t.indexOf(e)<0&&t.push(e)}))})),e.__cache__={},t.forEach((function(t){e.__cache__[t]=[],e.__rules__.forEach((function(n){n.enabled&&(t&&n.alt.indexOf(t)<0||e.__cache__[t].push(n.fn))}))}))},t.prototype.at=function(e,t,n){var r=this.__find__(e),o=n||{};if(-1===r)throw new Error("Parser rule not found: "+e);this.__rules__[r].fn=t,this.__rules__[r].alt=o.alt||[],this.__cache__=null},t.prototype.before=function(e,t,n,r){var o=this.__find__(e),i=r||{};if(-1===o)throw new Error("Parser rule not found: "+e);this.__rules__.splice(o,0,{name:t,enabled:!0,fn:n,alt:i.alt||[]}),this.__cache__=null},t.prototype.after=function(e,t,n,r){var o=this.__find__(e),i=r||{};if(-1===o)throw new Error("Parser rule not found: "+e);this.__rules__.splice(o+1,0,{name:t,enabled:!0,fn:n,alt:i.alt||[]}),this.__cache__=null},t.prototype.push=function(e,t,n){var r=n||{};this.__rules__.push({name:e,enabled:!0,fn:t,alt:r.alt||[]}),this.__cache__=null},t.prototype.enable=function(e,t){Array.isArray(e)||(e=[e]);var n=[];return e.forEach((function(e){var r=this.__find__(e);if(r<0){if(t)return;throw new Error("Rules manager: invalid rule name "+e)}this.__rules__[r].enabled=!0,n.push(e)}),this),this.__cache__=null,n},t.prototype.enableOnly=function(e,t){Array.isArray(e)||(e=[e]),this.__rules__.forEach((function(e){e.enabled=!1})),this.enable(e,t)},t.prototype.disable=function(e,t){Array.isArray(e)||(e=[e]);var n=[];return e.forEach((function(e){var r=this.__find__(e);if(r<0){if(t)return;throw new Error("Rules manager: invalid rule name "+e)}this.__rules__[r].enabled=!1,n.push(e)}),this),this.__cache__=null,n},t.prototype.getRules=function(e){return null===this.__cache__&&this.__compile__(),this.__cache__[e]||[]},e.exports=t},8334:(e,t,n)=>{"use strict";var r=n(6483).isSpace;e.exports=function(e,t,n,o){var i,a,l,s,u,c,d,f,p,h,g,m,v,b,y,A,w,x,E,k,S=e.lineMax,_=e.bMarks[t]+e.tShift[t],C=e.eMarks[t];if(e.sCount[t]-e.blkIndent>=4)return!1;if(62!==e.src.charCodeAt(_++))return!1;if(o)return!0;for(s=p=e.sCount[t]+1,32===e.src.charCodeAt(_)?(_++,s++,p++,i=!1,A=!0):9===e.src.charCodeAt(_)?(A=!0,(e.bsCount[t]+p)%4==3?(_++,s++,p++,i=!1):i=!0):A=!1,h=[e.bMarks[t]],e.bMarks[t]=_;_<C&&(a=e.src.charCodeAt(_),r(a));)9===a?p+=4-(p+e.bsCount[t]+(i?1:0))%4:p++,_++;for(g=[e.bsCount[t]],e.bsCount[t]=e.sCount[t]+1+(A?1:0),c=_>=C,b=[e.sCount[t]],e.sCount[t]=p-s,y=[e.tShift[t]],e.tShift[t]=_-e.bMarks[t],x=e.md.block.ruler.getRules("blockquote"),v=e.parentType,e.parentType="blockquote",f=t+1;f<n&&(k=e.sCount[f]<e.blkIndent,!((_=e.bMarks[f]+e.tShift[f])>=(C=e.eMarks[f])));f++)if(62!==e.src.charCodeAt(_++)||k){if(c)break;for(w=!1,l=0,u=x.length;l<u;l++)if(x[l](e,f,n,!0)){w=!0;break}if(w){e.lineMax=f,0!==e.blkIndent&&(h.push(e.bMarks[f]),g.push(e.bsCount[f]),y.push(e.tShift[f]),b.push(e.sCount[f]),e.sCount[f]-=e.blkIndent);break}h.push(e.bMarks[f]),g.push(e.bsCount[f]),y.push(e.tShift[f]),b.push(e.sCount[f]),e.sCount[f]=-1}else{for(s=p=e.sCount[f]+1,32===e.src.charCodeAt(_)?(_++,s++,p++,i=!1,A=!0):9===e.src.charCodeAt(_)?(A=!0,(e.bsCount[f]+p)%4==3?(_++,s++,p++,i=!1):i=!0):A=!1,h.push(e.bMarks[f]),e.bMarks[f]=_;_<C&&(a=e.src.charCodeAt(_),r(a));)9===a?p+=4-(p+e.bsCount[f]+(i?1:0))%4:p++,_++;c=_>=C,g.push(e.bsCount[f]),e.bsCount[f]=e.sCount[f]+1+(A?1:0),b.push(e.sCount[f]),e.sCount[f]=p-s,y.push(e.tShift[f]),e.tShift[f]=_-e.bMarks[f]}for(m=e.blkIndent,e.blkIndent=0,(E=e.push("blockquote_open","blockquote",1)).markup=">",E.map=d=[t,0],e.md.block.tokenize(e,t,f),(E=e.push("blockquote_close","blockquote",-1)).markup=">",e.lineMax=S,e.parentType=v,d[1]=e.line,l=0;l<y.length;l++)e.bMarks[l+t]=h[l],e.tShift[l+t]=y[l],e.sCount[l+t]=b[l],e.bsCount[l+t]=g[l];return e.blkIndent=m,!0}},8102:e=>{"use strict";e.exports=function(e,t,n){var r,o,i;if(e.sCount[t]-e.blkIndent<4)return!1;for(o=r=t+1;r<n;)if(e.isEmpty(r))r++;else{if(!(e.sCount[r]-e.blkIndent>=4))break;o=++r}return e.line=o,(i=e.push("code_block","code",0)).content=e.getLines(t,o,4+e.blkIndent,!1)+"\n",i.map=[t,e.line],!0}},6029:e=>{"use strict";e.exports=function(e,t,n,r){var o,i,a,l,s,u,c,d=!1,f=e.bMarks[t]+e.tShift[t],p=e.eMarks[t];if(e.sCount[t]-e.blkIndent>=4)return!1;if(f+3>p)return!1;if(126!==(o=e.src.charCodeAt(f))&&96!==o)return!1;if(s=f,(i=(f=e.skipChars(f,o))-s)<3)return!1;if(c=e.src.slice(s,f),a=e.src.slice(f,p),96===o&&a.indexOf(String.fromCharCode(o))>=0)return!1;if(r)return!0;for(l=t;!(++l>=n||(f=s=e.bMarks[l]+e.tShift[l])<(p=e.eMarks[l])&&e.sCount[l]<e.blkIndent);)if(e.src.charCodeAt(f)===o&&!(e.sCount[l]-e.blkIndent>=4||(f=e.skipChars(f,o))-s<i||(f=e.skipSpaces(f))<p)){d=!0;break}return i=e.sCount[t],e.line=l+(d?1:0),(u=e.push("fence","code",0)).info=a,u.content=e.getLines(t+1,l,i,!0),u.markup=c,u.map=[t,e.line],!0}},3582:(e,t,n)=>{"use strict";var r=n(6483).isSpace;e.exports=function(e,t,n,o){var i,a,l,s,u=e.bMarks[t]+e.tShift[t],c=e.eMarks[t];if(e.sCount[t]-e.blkIndent>=4)return!1;if(35!==(i=e.src.charCodeAt(u))||u>=c)return!1;for(a=1,i=e.src.charCodeAt(++u);35===i&&u<c&&a<=6;)a++,i=e.src.charCodeAt(++u);return!(a>6||u<c&&!r(i)||(o||(c=e.skipSpacesBack(c,u),(l=e.skipCharsBack(c,35,u))>u&&r(e.src.charCodeAt(l-1))&&(c=l),e.line=t+1,(s=e.push("heading_open","h"+String(a),1)).markup="########".slice(0,a),s.map=[t,e.line],(s=e.push("inline","",0)).content=e.src.slice(u,c).trim(),s.map=[t,e.line],s.children=[],(s=e.push("heading_close","h"+String(a),-1)).markup="########".slice(0,a)),0))}},7233:(e,t,n)=>{"use strict";var r=n(6483).isSpace;e.exports=function(e,t,n,o){var i,a,l,s,u=e.bMarks[t]+e.tShift[t],c=e.eMarks[t];if(e.sCount[t]-e.blkIndent>=4)return!1;if(42!==(i=e.src.charCodeAt(u++))&&45!==i&&95!==i)return!1;for(a=1;u<c;){if((l=e.src.charCodeAt(u++))!==i&&!r(l))return!1;l===i&&a++}return!(a<3||(o||(e.line=t+1,(s=e.push("hr","hr",0)).map=[t,e.line],s.markup=Array(a+1).join(String.fromCharCode(i))),0))}},2162:(e,t,n)=>{"use strict";var r=n(851),o=n(6340).q,i=[[/^<(script|pre|style|textarea)(?=(\s|>|$))/i,/<\/(script|pre|style|textarea)>/i,!0],[/^<!--/,/-->/,!0],[/^<\?/,/\?>/,!0],[/^<![A-Z]/,/>/,!0],[/^<!\[CDATA\[/,/\]\]>/,!0],[new RegExp("^</?("+r.join("|")+")(?=(\\s|/?>|$))","i"),/^$/,!0],[new RegExp(o.source+"\\s*$"),/^$/,!1]];e.exports=function(e,t,n,r){var o,a,l,s,u=e.bMarks[t]+e.tShift[t],c=e.eMarks[t];if(e.sCount[t]-e.blkIndent>=4)return!1;if(!e.md.options.html)return!1;if(60!==e.src.charCodeAt(u))return!1;for(s=e.src.slice(u,c),o=0;o<i.length&&!i[o][0].test(s);o++);if(o===i.length)return!1;if(r)return i[o][2];if(a=t+1,!i[o][1].test(s))for(;a<n&&!(e.sCount[a]<e.blkIndent);a++)if(u=e.bMarks[a]+e.tShift[a],c=e.eMarks[a],s=e.src.slice(u,c),i[o][1].test(s)){0!==s.length&&a++;break}return e.line=a,(l=e.push("html_block","",0)).map=[t,a],l.content=e.getLines(t,a,e.blkIndent,!0),!0}},2535:e=>{"use strict";e.exports=function(e,t,n){var r,o,i,a,l,s,u,c,d,f,p=t+1,h=e.md.block.ruler.getRules("paragraph");if(e.sCount[t]-e.blkIndent>=4)return!1;for(f=e.parentType,e.parentType="paragraph";p<n&&!e.isEmpty(p);p++)if(!(e.sCount[p]-e.blkIndent>3)){if(e.sCount[p]>=e.blkIndent&&(s=e.bMarks[p]+e.tShift[p])<(u=e.eMarks[p])&&(45===(d=e.src.charCodeAt(s))||61===d)&&(s=e.skipChars(s,d),(s=e.skipSpaces(s))>=u)){c=61===d?1:2;break}if(!(e.sCount[p]<0)){for(o=!1,i=0,a=h.length;i<a;i++)if(h[i](e,p,n,!0)){o=!0;break}if(o)break}}return!!c&&(r=e.getLines(t,p,e.blkIndent,!1).trim(),e.line=p+1,(l=e.push("heading_open","h"+String(c),1)).markup=String.fromCharCode(d),l.map=[t,e.line],(l=e.push("inline","",0)).content=r,l.map=[t,e.line-1],l.children=[],(l=e.push("heading_close","h"+String(c),-1)).markup=String.fromCharCode(d),e.parentType=f,!0)}},7638:(e,t,n)=>{"use strict";var r=n(6483).isSpace;function o(e,t){var n,o,i,a;return o=e.bMarks[t]+e.tShift[t],i=e.eMarks[t],42!==(n=e.src.charCodeAt(o++))&&45!==n&&43!==n||o<i&&(a=e.src.charCodeAt(o),!r(a))?-1:o}function i(e,t){var n,o=e.bMarks[t]+e.tShift[t],i=o,a=e.eMarks[t];if(i+1>=a)return-1;if((n=e.src.charCodeAt(i++))<48||n>57)return-1;for(;;){if(i>=a)return-1;if(!((n=e.src.charCodeAt(i++))>=48&&n<=57)){if(41===n||46===n)break;return-1}if(i-o>=10)return-1}return i<a&&(n=e.src.charCodeAt(i),!r(n))?-1:i}e.exports=function(e,t,n,r){var a,l,s,u,c,d,f,p,h,g,m,v,b,y,A,w,x,E,k,S,_,C,T,D,L,O,R,P,M=!1,N=!0;if(e.sCount[t]-e.blkIndent>=4)return!1;if(e.listIndent>=0&&e.sCount[t]-e.listIndent>=4&&e.sCount[t]<e.blkIndent)return!1;if(r&&"paragraph"===e.parentType&&e.sCount[t]>=e.blkIndent&&(M=!0),(T=i(e,t))>=0){if(f=!0,L=e.bMarks[t]+e.tShift[t],b=Number(e.src.slice(L,T-1)),M&&1!==b)return!1}else{if(!((T=o(e,t))>=0))return!1;f=!1}if(M&&e.skipSpaces(T)>=e.eMarks[t])return!1;if(v=e.src.charCodeAt(T-1),r)return!0;for(m=e.tokens.length,f?(P=e.push("ordered_list_open","ol",1),1!==b&&(P.attrs=[["start",b]])):P=e.push("bullet_list_open","ul",1),P.map=g=[t,0],P.markup=String.fromCharCode(v),A=t,D=!1,R=e.md.block.ruler.getRules("list"),E=e.parentType,e.parentType="list";A<n;){for(C=T,y=e.eMarks[A],d=w=e.sCount[A]+T-(e.bMarks[t]+e.tShift[t]);C<y;){if(9===(a=e.src.charCodeAt(C)))w+=4-(w+e.bsCount[A])%4;else{if(32!==a)break;w++}C++}if((c=(l=C)>=y?1:w-d)>4&&(c=1),u=d+c,(P=e.push("list_item_open","li",1)).markup=String.fromCharCode(v),P.map=p=[t,0],f&&(P.info=e.src.slice(L,T-1)),_=e.tight,S=e.tShift[t],k=e.sCount[t],x=e.listIndent,e.listIndent=e.blkIndent,e.blkIndent=u,e.tight=!0,e.tShift[t]=l-e.bMarks[t],e.sCount[t]=w,l>=y&&e.isEmpty(t+1)?e.line=Math.min(e.line+2,n):e.md.block.tokenize(e,t,n,!0),e.tight&&!D||(N=!1),D=e.line-t>1&&e.isEmpty(e.line-1),e.blkIndent=e.listIndent,e.listIndent=x,e.tShift[t]=S,e.sCount[t]=k,e.tight=_,(P=e.push("list_item_close","li",-1)).markup=String.fromCharCode(v),A=t=e.line,p[1]=A,l=e.bMarks[t],A>=n)break;if(e.sCount[A]<e.blkIndent)break;if(e.sCount[t]-e.blkIndent>=4)break;for(O=!1,s=0,h=R.length;s<h;s++)if(R[s](e,A,n,!0)){O=!0;break}if(O)break;if(f){if((T=i(e,A))<0)break;L=e.bMarks[A]+e.tShift[A]}else if((T=o(e,A))<0)break;if(v!==e.src.charCodeAt(T-1))break}return(P=f?e.push("ordered_list_close","ol",-1):e.push("bullet_list_close","ul",-1)).markup=String.fromCharCode(v),g[1]=A,e.line=A,e.parentType=E,N&&function(e,t){var n,r,o=e.level+2;for(n=t+2,r=e.tokens.length-2;n<r;n++)e.tokens[n].level===o&&"paragraph_open"===e.tokens[n].type&&(e.tokens[n+2].hidden=!0,e.tokens[n].hidden=!0,n+=2)}(e,m),!0}},4533:e=>{"use strict";e.exports=function(e,t){var n,r,o,i,a,l,s=t+1,u=e.md.block.ruler.getRules("paragraph"),c=e.lineMax;for(l=e.parentType,e.parentType="paragraph";s<c&&!e.isEmpty(s);s++)if(!(e.sCount[s]-e.blkIndent>3||e.sCount[s]<0)){for(r=!1,o=0,i=u.length;o<i;o++)if(u[o](e,s,c,!0)){r=!0;break}if(r)break}return n=e.getLines(t,s,e.blkIndent,!1).trim(),e.line=s,(a=e.push("paragraph_open","p",1)).map=[t,e.line],(a=e.push("inline","",0)).content=n,a.map=[t,e.line],a.children=[],a=e.push("paragraph_close","p",-1),e.parentType=l,!0}},6110:(e,t,n)=>{"use strict";var r=n(6483).normalizeReference,o=n(6483).isSpace;e.exports=function(e,t,n,i){var a,l,s,u,c,d,f,p,h,g,m,v,b,y,A,w,x=0,E=e.bMarks[t]+e.tShift[t],k=e.eMarks[t],S=t+1;if(e.sCount[t]-e.blkIndent>=4)return!1;if(91!==e.src.charCodeAt(E))return!1;for(;++E<k;)if(93===e.src.charCodeAt(E)&&92!==e.src.charCodeAt(E-1)){if(E+1===k)return!1;if(58!==e.src.charCodeAt(E+1))return!1;break}for(u=e.lineMax,A=e.md.block.ruler.getRules("reference"),g=e.parentType,e.parentType="reference";S<u&&!e.isEmpty(S);S++)if(!(e.sCount[S]-e.blkIndent>3||e.sCount[S]<0)){for(y=!1,d=0,f=A.length;d<f;d++)if(A[d](e,S,u,!0)){y=!0;break}if(y)break}for(k=(b=e.getLines(t,S,e.blkIndent,!1).trim()).length,E=1;E<k;E++){if(91===(a=b.charCodeAt(E)))return!1;if(93===a){h=E;break}(10===a||92===a&&++E<k&&10===b.charCodeAt(E))&&x++}if(h<0||58!==b.charCodeAt(h+1))return!1;for(E=h+2;E<k;E++)if(10===(a=b.charCodeAt(E)))x++;else if(!o(a))break;if(!(m=e.md.helpers.parseLinkDestination(b,E,k)).ok)return!1;if(c=e.md.normalizeLink(m.str),!e.md.validateLink(c))return!1;for(l=E=m.pos,s=x+=m.lines,v=E;E<k;E++)if(10===(a=b.charCodeAt(E)))x++;else if(!o(a))break;for(m=e.md.helpers.parseLinkTitle(b,E,k),E<k&&v!==E&&m.ok?(w=m.str,E=m.pos,x+=m.lines):(w="",E=l,x=s);E<k&&(a=b.charCodeAt(E),o(a));)E++;if(E<k&&10!==b.charCodeAt(E)&&w)for(w="",E=l,x=s;E<k&&(a=b.charCodeAt(E),o(a));)E++;return!(E<k&&10!==b.charCodeAt(E)||!(p=r(b.slice(1,h)))||(i||(void 0===e.env.references&&(e.env.references={}),void 0===e.env.references[p]&&(e.env.references[p]={title:w,href:c}),e.parentType=g,e.line=t+x+1),0))}},9143:(e,t,n)=>{"use strict";var r=n(5699),o=n(6483).isSpace;function i(e,t,n,r){var i,a,l,s,u,c,d,f;for(this.src=e,this.md=t,this.env=n,this.tokens=r,this.bMarks=[],this.eMarks=[],this.tShift=[],this.sCount=[],this.bsCount=[],this.blkIndent=0,this.line=0,this.lineMax=0,this.tight=!1,this.ddIndent=-1,this.listIndent=-1,this.parentType="root",this.level=0,this.result="",f=!1,l=s=c=d=0,u=(a=this.src).length;s<u;s++){if(i=a.charCodeAt(s),!f){if(o(i)){c++,9===i?d+=4-d%4:d++;continue}f=!0}10!==i&&s!==u-1||(10!==i&&s++,this.bMarks.push(l),this.eMarks.push(s),this.tShift.push(c),this.sCount.push(d),this.bsCount.push(0),f=!1,c=0,d=0,l=s+1)}this.bMarks.push(a.length),this.eMarks.push(a.length),this.tShift.push(0),this.sCount.push(0),this.bsCount.push(0),this.lineMax=this.bMarks.length-1}i.prototype.push=function(e,t,n){var o=new r(e,t,n);return o.block=!0,n<0&&this.level--,o.level=this.level,n>0&&this.level++,this.tokens.push(o),o},i.prototype.isEmpty=function(e){return this.bMarks[e]+this.tShift[e]>=this.eMarks[e]},i.prototype.skipEmptyLines=function(e){for(var t=this.lineMax;e<t&&!(this.bMarks[e]+this.tShift[e]<this.eMarks[e]);e++);return e},i.prototype.skipSpaces=function(e){for(var t,n=this.src.length;e<n&&(t=this.src.charCodeAt(e),o(t));e++);return e},i.prototype.skipSpacesBack=function(e,t){if(e<=t)return e;for(;e>t;)if(!o(this.src.charCodeAt(--e)))return e+1;return e},i.prototype.skipChars=function(e,t){for(var n=this.src.length;e<n&&this.src.charCodeAt(e)===t;e++);return e},i.prototype.skipCharsBack=function(e,t,n){if(e<=n)return e;for(;e>n;)if(t!==this.src.charCodeAt(--e))return e+1;return e},i.prototype.getLines=function(e,t,n,r){var i,a,l,s,u,c,d,f=e;if(e>=t)return"";for(c=new Array(t-e),i=0;f<t;f++,i++){for(a=0,d=s=this.bMarks[f],u=f+1<t||r?this.eMarks[f]+1:this.eMarks[f];s<u&&a<n;){if(l=this.src.charCodeAt(s),o(l))9===l?a+=4-(a+this.bsCount[f])%4:a++;else{if(!(s-d<this.tShift[f]))break;a++}s++}c[i]=a>n?new Array(a-n+1).join(" ")+this.src.slice(s,u):this.src.slice(s,u)}return c.join("")},i.prototype.Token=r,e.exports=i},3489:(e,t,n)=>{"use strict";var r=n(6483).isSpace;function o(e,t){var n=e.bMarks[t]+e.tShift[t],r=e.eMarks[t];return e.src.slice(n,r)}function i(e){var t,n=[],r=0,o=e.length,i=!1,a=0,l="";for(t=e.charCodeAt(r);r<o;)124===t&&(i?(l+=e.substring(a,r-1),a=r):(n.push(l+e.substring(a,r)),l="",a=r+1)),i=92===t,r++,t=e.charCodeAt(r);return n.push(l+e.substring(a)),n}e.exports=function(e,t,n,a){var l,s,u,c,d,f,p,h,g,m,v,b,y,A,w,x,E,k;if(t+2>n)return!1;if(f=t+1,e.sCount[f]<e.blkIndent)return!1;if(e.sCount[f]-e.blkIndent>=4)return!1;if((u=e.bMarks[f]+e.tShift[f])>=e.eMarks[f])return!1;if(124!==(E=e.src.charCodeAt(u++))&&45!==E&&58!==E)return!1;if(u>=e.eMarks[f])return!1;if(124!==(k=e.src.charCodeAt(u++))&&45!==k&&58!==k&&!r(k))return!1;if(45===E&&r(k))return!1;for(;u<e.eMarks[f];){if(124!==(l=e.src.charCodeAt(u))&&45!==l&&58!==l&&!r(l))return!1;u++}for(p=(s=o(e,t+1)).split("|"),m=[],c=0;c<p.length;c++){if(!(v=p[c].trim())){if(0===c||c===p.length-1)continue;return!1}if(!/^:?-+:?$/.test(v))return!1;58===v.charCodeAt(v.length-1)?m.push(58===v.charCodeAt(0)?"center":"right"):58===v.charCodeAt(0)?m.push("left"):m.push("")}if(-1===(s=o(e,t).trim()).indexOf("|"))return!1;if(e.sCount[t]-e.blkIndent>=4)return!1;if((p=i(s)).length&&""===p[0]&&p.shift(),p.length&&""===p[p.length-1]&&p.pop(),0===(h=p.length)||h!==m.length)return!1;if(a)return!0;for(A=e.parentType,e.parentType="table",x=e.md.block.ruler.getRules("blockquote"),(g=e.push("table_open","table",1)).map=b=[t,0],(g=e.push("thead_open","thead",1)).map=[t,t+1],(g=e.push("tr_open","tr",1)).map=[t,t+1],c=0;c<p.length;c++)g=e.push("th_open","th",1),m[c]&&(g.attrs=[["style","text-align:"+m[c]]]),(g=e.push("inline","",0)).content=p[c].trim(),g.children=[],g=e.push("th_close","th",-1);for(g=e.push("tr_close","tr",-1),g=e.push("thead_close","thead",-1),f=t+2;f<n&&!(e.sCount[f]<e.blkIndent);f++){for(w=!1,c=0,d=x.length;c<d;c++)if(x[c](e,f,n,!0)){w=!0;break}if(w)break;if(!(s=o(e,f).trim()))break;if(e.sCount[f]-e.blkIndent>=4)break;for((p=i(s)).length&&""===p[0]&&p.shift(),p.length&&""===p[p.length-1]&&p.pop(),f===t+2&&((g=e.push("tbody_open","tbody",1)).map=y=[t+2,0]),(g=e.push("tr_open","tr",1)).map=[f,f+1],c=0;c<h;c++)g=e.push("td_open","td",1),m[c]&&(g.attrs=[["style","text-align:"+m[c]]]),(g=e.push("inline","",0)).content=p[c]?p[c].trim():"",g.children=[],g=e.push("td_close","td",-1);g=e.push("tr_close","tr",-1)}return y&&(g=e.push("tbody_close","tbody",-1),y[1]=f),g=e.push("table_close","table",-1),b[1]=f,e.parentType=A,e.line=f,!0}},6679:e=>{"use strict";e.exports=function(e){var t;e.inlineMode?((t=new e.Token("inline","",0)).content=e.src,t.map=[0,1],t.children=[],e.tokens.push(t)):e.md.block.parse(e.src,e.md,e.env,e.tokens)}},977:e=>{"use strict";e.exports=function(e){var t,n,r,o=e.tokens;for(n=0,r=o.length;n<r;n++)"inline"===(t=o[n]).type&&e.md.inline.parse(t.content,e.md,e.env,t.children)}},296:(e,t,n)=>{"use strict";var r=n(6483).arrayReplaceAt;function o(e){return/^<\/a\s*>/i.test(e)}e.exports=function(e){var t,n,i,a,l,s,u,c,d,f,p,h,g,m,v,b,y,A,w=e.tokens;if(e.md.options.linkify)for(n=0,i=w.length;n<i;n++)if("inline"===w[n].type&&e.md.linkify.pretest(w[n].content))for(g=0,t=(a=w[n].children).length-1;t>=0;t--)if("link_close"!==(s=a[t]).type){if("html_inline"===s.type&&(A=s.content,/^<a[>\s]/i.test(A)&&g>0&&g--,o(s.content)&&g++),!(g>0)&&"text"===s.type&&e.md.linkify.test(s.content)){for(d=s.content,y=e.md.linkify.match(d),u=[],h=s.level,p=0,y.length>0&&0===y[0].index&&t>0&&"text_special"===a[t-1].type&&(y=y.slice(1)),c=0;c<y.length;c++)m=y[c].url,v=e.md.normalizeLink(m),e.md.validateLink(v)&&(b=y[c].text,b=y[c].schema?"mailto:"!==y[c].schema||/^mailto:/i.test(b)?e.md.normalizeLinkText(b):e.md.normalizeLinkText("mailto:"+b).replace(/^mailto:/,""):e.md.normalizeLinkText("http://"+b).replace(/^http:\/\//,""),(f=y[c].index)>p&&((l=new e.Token("text","",0)).content=d.slice(p,f),l.level=h,u.push(l)),(l=new e.Token("link_open","a",1)).attrs=[["href",v]],l.level=h++,l.markup="linkify",l.info="auto",u.push(l),(l=new e.Token("text","",0)).content=b,l.level=h,u.push(l),(l=new e.Token("link_close","a",-1)).level=--h,l.markup="linkify",l.info="auto",u.push(l),p=y[c].lastIndex);p<d.length&&((l=new e.Token("text","",0)).content=d.slice(p),l.level=h,u.push(l)),w[n].children=a=r(a,t,u)}}else for(t--;a[t].level!==s.level&&"link_open"!==a[t].type;)t--}},826:e=>{"use strict";var t=/\r\n?|\n/g,n=/\0/g;e.exports=function(e){var r;r=(r=e.src.replace(t,"\n")).replace(n,"<22>"),e.src=r}},533:e=>{"use strict";var t=/\+-|\.\.|\?\?\?\?|!!!!|,,|--/,n=/\((c|tm|r)\)/i,r=/\((c|tm|r)\)/gi,o={c:"©",r:"®",tm:"™"};function i(e,t){return o[t.toLowerCase()]}function a(e){var t,n,o=0;for(t=e.length-1;t>=0;t--)"text"!==(n=e[t]).type||o||(n.content=n.content.replace(r,i)),"link_open"===n.type&&"auto"===n.info&&o--,"link_close"===n.type&&"auto"===n.info&&o++}function l(e){var n,r,o=0;for(n=e.length-1;n>=0;n--)"text"!==(r=e[n]).type||o||t.test(r.content)&&(r.content=r.content.replace(/\+-/g,"±").replace(/\.{2,}/g,"…").replace(/([?!])…/g,"$1..").replace(/([?!]){4,}/g,"$1$1$1").replace(/,{2,}/g,",").replace(/(^|[^-])---(?=[^-]|$)/gm,"$1—").replace(/(^|\s)--(?=\s|$)/gm,"$1").replace(/(^|[^-\s])--(?=[^-\s]|$)/gm,"$1")),"link_open"===r.type&&"auto"===r.info&&o--,"link_close"===r.type&&"auto"===r.info&&o++}e.exports=function(e){var r;if(e.md.options.typographer)for(r=e.tokens.length-1;r>=0;r--)"inline"===e.tokens[r].type&&(n.test(e.tokens[r].content)&&a(e.tokens[r].children),t.test(e.tokens[r].content)&&l(e.tokens[r].children))}},9801:(e,t,n)=>{"use strict";var r=n(6483).isWhiteSpace,o=n(6483).isPunctChar,i=n(6483).isMdAsciiPunct,a=/['"]/,l=/['"]/g;function s(e,t,n){return e.slice(0,t)+n+e.slice(t+1)}function u(e,t){var n,a,u,c,d,f,p,h,g,m,v,b,y,A,w,x,E,k,S,_,C;for(S=[],n=0;n<e.length;n++){for(a=e[n],p=e[n].level,E=S.length-1;E>=0&&!(S[E].level<=p);E--);if(S.length=E+1,"text"===a.type){d=0,f=(u=a.content).length;e:for(;d<f&&(l.lastIndex=d,c=l.exec(u));){if(w=x=!0,d=c.index+1,k="'"===c[0],g=32,c.index-1>=0)g=u.charCodeAt(c.index-1);else for(E=n-1;E>=0&&"softbreak"!==e[E].type&&"hardbreak"!==e[E].type;E--)if(e[E].content){g=e[E].content.charCodeAt(e[E].content.length-1);break}if(m=32,d<f)m=u.charCodeAt(d);else for(E=n+1;E<e.length&&"softbreak"!==e[E].type&&"hardbreak"!==e[E].type;E++)if(e[E].content){m=e[E].content.charCodeAt(0);break}if(v=i(g)||o(String.fromCharCode(g)),b=i(m)||o(String.fromCharCode(m)),y=r(g),(A=r(m))?w=!1:b&&(y||v||(w=!1)),y?x=!1:v&&(A||b||(x=!1)),34===m&&'"'===c[0]&&g>=48&&g<=57&&(x=w=!1),w&&x&&(w=v,x=b),w||x){if(x)for(E=S.length-1;E>=0&&(h=S[E],!(S[E].level<p));E--)if(h.single===k&&S[E].level===p){h=S[E],k?(_=t.md.options.quotes[2],C=t.md.options.quotes[3]):(_=t.md.options.quotes[0],C=t.md.options.quotes[1]),a.content=s(a.content,c.index,C),e[h.token].content=s(e[h.token].content,h.pos,_),d+=C.length-1,h.token===n&&(d+=_.length-1),f=(u=a.content).length,S.length=E;continue e}w?S.push({token:n,pos:c.index,single:k,level:p}):x&&k&&(a.content=s(a.content,c.index,""))}else k&&(a.content=s(a.content,c.index,""))}}}}e.exports=function(e){var t;if(e.md.options.typographer)for(t=e.tokens.length-1;t>=0;t--)"inline"===e.tokens[t].type&&a.test(e.tokens[t].content)&&u(e.tokens[t].children,e)}},9909:(e,t,n)=>{"use strict";var r=n(5699);function o(e,t,n){this.src=e,this.env=n,this.tokens=[],this.inlineMode=!1,this.md=t}o.prototype.Token=r,e.exports=o},1116:e=>{"use strict";e.exports=function(e){var t,n,r,o,i,a,l=e.tokens;for(t=0,n=l.length;t<n;t++)if("inline"===l[t].type){for(i=(r=l[t].children).length,o=0;o<i;o++)"text_special"===r[o].type&&(r[o].type="text");for(o=a=0;o<i;o++)"text"===r[o].type&&o+1<i&&"text"===r[o+1].type?r[o+1].content=r[o].content+r[o+1].content:(o!==a&&(r[a]=r[o]),a++);o!==a&&(r.length=a)}}},66:e=>{"use strict";var t=/^([a-zA-Z0-9.!#$%&'*+\/=?^_`{|}~-]+@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*)$/,n=/^([a-zA-Z][a-zA-Z0-9+.\-]{1,31}):([^<>\x00-\x20]*)$/;e.exports=function(e,r){var o,i,a,l,s,u,c=e.pos;if(60!==e.src.charCodeAt(c))return!1;for(s=e.pos,u=e.posMax;;){if(++c>=u)return!1;if(60===(l=e.src.charCodeAt(c)))return!1;if(62===l)break}return o=e.src.slice(s+1,c),n.test(o)?(i=e.md.normalizeLink(o),!!e.md.validateLink(i)&&(r||((a=e.push("link_open","a",1)).attrs=[["href",i]],a.markup="autolink",a.info="auto",(a=e.push("text","",0)).content=e.md.normalizeLinkText(o),(a=e.push("link_close","a",-1)).markup="autolink",a.info="auto"),e.pos+=o.length+2,!0)):!!t.test(o)&&(i=e.md.normalizeLink("mailto:"+o),!!e.md.validateLink(i)&&(r||((a=e.push("link_open","a",1)).attrs=[["href",i]],a.markup="autolink",a.info="auto",(a=e.push("text","",0)).content=e.md.normalizeLinkText(o),(a=e.push("link_close","a",-1)).markup="autolink",a.info="auto"),e.pos+=o.length+2,!0))}},7361:e=>{"use strict";e.exports=function(e,t){var n,r,o,i,a,l,s,u,c=e.pos;if(96!==e.src.charCodeAt(c))return!1;for(n=c,c++,r=e.posMax;c<r&&96===e.src.charCodeAt(c);)c++;if(s=(o=e.src.slice(n,c)).length,e.backticksScanned&&(e.backticks[s]||0)<=n)return t||(e.pending+=o),e.pos+=s,!0;for(a=l=c;-1!==(a=e.src.indexOf("`",l));){for(l=a+1;l<r&&96===e.src.charCodeAt(l);)l++;if((u=l-a)===s)return t||((i=e.push("code_inline","code",0)).markup=o,i.content=e.src.slice(c,a).replace(/\n/g," ").replace(/^ (.+) $/,"$1")),e.pos=l,!0;e.backticks[u]=a}return e.backticksScanned=!0,t||(e.pending+=o),e.pos+=s,!0}},33:e=>{"use strict";function t(e,t){var n,r,o,i,a,l,s,u,c={},d=t.length;if(d){var f=0,p=-2,h=[];for(n=0;n<d;n++)if(o=t[n],h.push(0),t[f].marker===o.marker&&p===o.token-1||(f=n),p=o.token,o.length=o.length||0,o.close){for(c.hasOwnProperty(o.marker)||(c[o.marker]=[-1,-1,-1,-1,-1,-1]),a=c[o.marker][(o.open?3:0)+o.length%3],l=r=f-h[f]-1;r>a;r-=h[r]+1)if((i=t[r]).marker===o.marker&&i.open&&i.end<0&&(s=!1,(i.close||o.open)&&(i.length+o.length)%3==0&&(i.length%3==0&&o.length%3==0||(s=!0)),!s)){u=r>0&&!t[r-1].open?h[r-1]+1:0,h[n]=n-r+u,h[r]=u,o.open=!1,i.end=n,i.close=!1,l=-1,p=-2;break}-1!==l&&(c[o.marker][(o.open?3:0)+(o.length||0)%3]=l)}}}e.exports=function(e){var n,r=e.tokens_meta,o=e.tokens_meta.length;for(t(0,e.delimiters),n=0;n<o;n++)r[n]&&r[n].delimiters&&t(0,r[n].delimiters)}},9211:e=>{"use strict";function t(e,t){var n,r,o,i,a,l;for(n=t.length-1;n>=0;n--)95!==(r=t[n]).marker&&42!==r.marker||-1!==r.end&&(o=t[r.end],l=n>0&&t[n-1].end===r.end+1&&t[n-1].marker===r.marker&&t[n-1].token===r.token-1&&t[r.end+1].token===o.token+1,a=String.fromCharCode(r.marker),(i=e.tokens[r.token]).type=l?"strong_open":"em_open",i.tag=l?"strong":"em",i.nesting=1,i.markup=l?a+a:a,i.content="",(i=e.tokens[o.token]).type=l?"strong_close":"em_close",i.tag=l?"strong":"em",i.nesting=-1,i.markup=l?a+a:a,i.content="",l&&(e.tokens[t[n-1].token].content="",e.tokens[t[r.end+1].token].content="",n--))}e.exports.w=function(e,t){var n,r,o=e.pos,i=e.src.charCodeAt(o);if(t)return!1;if(95!==i&&42!==i)return!1;for(r=e.scanDelims(e.pos,42===i),n=0;n<r.length;n++)e.push("text","",0).content=String.fromCharCode(i),e.delimiters.push({marker:i,length:r.length,token:e.tokens.length-1,end:-1,open:r.can_open,close:r.can_close});return e.pos+=r.length,!0},e.exports.g=function(e){var n,r=e.tokens_meta,o=e.tokens_meta.length;for(t(e,e.delimiters),n=0;n<o;n++)r[n]&&r[n].delimiters&&t(e,r[n].delimiters)}},9404:(e,t,n)=>{"use strict";var r=n(2949),o=n(6483).has,i=n(6483).isValidEntityCode,a=n(6483).fromCodePoint,l=/^&#((?:x[a-f0-9]{1,6}|[0-9]{1,7}));/i,s=/^&([a-z][a-z0-9]{1,31});/i;e.exports=function(e,t){var n,u,c,d=e.pos,f=e.posMax;if(38!==e.src.charCodeAt(d))return!1;if(d+1>=f)return!1;if(35===e.src.charCodeAt(d+1)){if(u=e.src.slice(d).match(l))return t||(n="x"===u[1][0].toLowerCase()?parseInt(u[1].slice(1),16):parseInt(u[1],10),(c=e.push("text_special","",0)).content=i(n)?a(n):a(65533),c.markup=u[0],c.info="entity"),e.pos+=u[0].length,!0}else if((u=e.src.slice(d).match(s))&&o(r,u[1]))return t||((c=e.push("text_special","",0)).content=r[u[1]],c.markup=u[0],c.info="entity"),e.pos+=u[0].length,!0;return!1}},5677:(e,t,n)=>{"use strict";for(var r=n(6483).isSpace,o=[],i=0;i<256;i++)o.push(0);"\\!\"#$%&'()*+,./:;<=>?@[]^_`{|}~-".split("").forEach((function(e){o[e.charCodeAt(0)]=1})),e.exports=function(e,t){var n,i,a,l,s,u=e.pos,c=e.posMax;if(92!==e.src.charCodeAt(u))return!1;if(++u>=c)return!1;if(10===(n=e.src.charCodeAt(u))){for(t||e.push("hardbreak","br",0),u++;u<c&&(n=e.src.charCodeAt(u),r(n));)u++;return e.pos=u,!0}return l=e.src[u],n>=55296&&n<=56319&&u+1<c&&(i=e.src.charCodeAt(u+1))>=56320&&i<=57343&&(l+=e.src[u+1],u++),a="\\"+l,t||(s=e.push("text_special","",0),n<256&&0!==o[n]?s.content=l:s.content=a,s.markup=a,s.info="escape"),e.pos=u+1,!0}},3498:e=>{"use strict";e.exports=function(e){var t,n,r=0,o=e.tokens,i=e.tokens.length;for(t=n=0;t<i;t++)o[t].nesting<0&&r--,o[t].level=r,o[t].nesting>0&&r++,"text"===o[t].type&&t+1<i&&"text"===o[t+1].type?o[t+1].content=o[t].content+o[t+1].content:(t!==n&&(o[n]=o[t]),n++);t!==n&&(o.length=n)}},1525:(e,t,n)=>{"use strict";var r=n(6340).n;e.exports=function(e,t){var n,o,i,a,l,s=e.pos;return!(!e.md.options.html||(i=e.posMax,60!==e.src.charCodeAt(s)||s+2>=i||33!==(n=e.src.charCodeAt(s+1))&&63!==n&&47!==n&&!function(e){var t=32|e;return t>=97&&t<=122}(n)||!(o=e.src.slice(s).match(r))||(t||((a=e.push("html_inline","",0)).content=e.src.slice(s,s+o[0].length),l=a.content,/^<a[>\s]/i.test(l)&&e.linkLevel++,function(e){return/^<\/a\s*>/i.test(e)}(a.content)&&e.linkLevel--),e.pos+=o[0].length,0)))}},2566:(e,t,n)=>{"use strict";var r=n(6483).normalizeReference,o=n(6483).isSpace;e.exports=function(e,t){var n,i,a,l,s,u,c,d,f,p,h,g,m,v="",b=e.pos,y=e.posMax;if(33!==e.src.charCodeAt(e.pos))return!1;if(91!==e.src.charCodeAt(e.pos+1))return!1;if(u=e.pos+2,(s=e.md.helpers.parseLinkLabel(e,e.pos+1,!1))<0)return!1;if((c=s+1)<y&&40===e.src.charCodeAt(c)){for(c++;c<y&&(i=e.src.charCodeAt(c),o(i)||10===i);c++);if(c>=y)return!1;for(m=c,(f=e.md.helpers.parseLinkDestination(e.src,c,e.posMax)).ok&&(v=e.md.normalizeLink(f.str),e.md.validateLink(v)?c=f.pos:v=""),m=c;c<y&&(i=e.src.charCodeAt(c),o(i)||10===i);c++);if(f=e.md.helpers.parseLinkTitle(e.src,c,e.posMax),c<y&&m!==c&&f.ok)for(p=f.str,c=f.pos;c<y&&(i=e.src.charCodeAt(c),o(i)||10===i);c++);else p="";if(c>=y||41!==e.src.charCodeAt(c))return e.pos=b,!1;c++}else{if(void 0===e.env.references)return!1;if(c<y&&91===e.src.charCodeAt(c)?(m=c+1,(c=e.md.helpers.parseLinkLabel(e,c))>=0?l=e.src.slice(m,c++):c=s+1):c=s+1,l||(l=e.src.slice(u,s)),!(d=e.env.references[r(l)]))return e.pos=b,!1;v=d.href,p=d.title}return t||(a=e.src.slice(u,s),e.md.inline.parse(a,e.md,e.env,g=[]),(h=e.push("image","img",0)).attrs=n=[["src",v],["alt",""]],h.children=g,h.content=a,p&&n.push(["title",p])),e.pos=c,e.posMax=y,!0}},6368:(e,t,n)=>{"use strict";var r=n(6483).normalizeReference,o=n(6483).isSpace;e.exports=function(e,t){var n,i,a,l,s,u,c,d,f="",p="",h=e.pos,g=e.posMax,m=e.pos,v=!0;if(91!==e.src.charCodeAt(e.pos))return!1;if(s=e.pos+1,(l=e.md.helpers.parseLinkLabel(e,e.pos,!0))<0)return!1;if((u=l+1)<g&&40===e.src.charCodeAt(u)){for(v=!1,u++;u<g&&(i=e.src.charCodeAt(u),o(i)||10===i);u++);if(u>=g)return!1;if(m=u,(c=e.md.helpers.parseLinkDestination(e.src,u,e.posMax)).ok){for(f=e.md.normalizeLink(c.str),e.md.validateLink(f)?u=c.pos:f="",m=u;u<g&&(i=e.src.charCodeAt(u),o(i)||10===i);u++);if(c=e.md.helpers.parseLinkTitle(e.src,u,e.posMax),u<g&&m!==u&&c.ok)for(p=c.str,u=c.pos;u<g&&(i=e.src.charCodeAt(u),o(i)||10===i);u++);}(u>=g||41!==e.src.charCodeAt(u))&&(v=!0),u++}if(v){if(void 0===e.env.references)return!1;if(u<g&&91===e.src.charCodeAt(u)?(m=u+1,(u=e.md.helpers.parseLinkLabel(e,u))>=0?a=e.src.slice(m,u++):u=l+1):u=l+1,a||(a=e.src.slice(s,l)),!(d=e.env.references[r(a)]))return e.pos=h,!1;f=d.href,p=d.title}return t||(e.pos=s,e.posMax=l,e.push("link_open","a",1).attrs=n=[["href",f]],p&&n.push(["title",p]),e.linkLevel++,e.md.inline.tokenize(e),e.linkLevel--,e.push("link_close","a",-1)),e.pos=u,e.posMax=g,!0}},949:e=>{"use strict";var t=/(?:^|[^a-z0-9.+-])([a-z][a-z0-9.+-]*)$/i;e.exports=function(e,n){var r,o,i,a,l,s,u;return!(!e.md.options.linkify||e.linkLevel>0||(r=e.pos)+3>e.posMax||58!==e.src.charCodeAt(r)||47!==e.src.charCodeAt(r+1)||47!==e.src.charCodeAt(r+2)||!(o=e.pending.match(t))||(i=o[1],!(a=e.md.linkify.matchAtStart(e.src.slice(r-i.length)))||(l=(l=a.url).replace(/\*+$/,""),s=e.md.normalizeLink(l),!e.md.validateLink(s)||(n||(e.pending=e.pending.slice(0,-i.length),(u=e.push("link_open","a",1)).attrs=[["href",s]],u.markup="linkify",u.info="auto",(u=e.push("text","",0)).content=e.md.normalizeLinkText(l),(u=e.push("link_close","a",-1)).markup="linkify",u.info="auto"),e.pos+=l.length-i.length,0))))}},3722:(e,t,n)=>{"use strict";var r=n(6483).isSpace;e.exports=function(e,t){var n,o,i,a=e.pos;if(10!==e.src.charCodeAt(a))return!1;if(n=e.pending.length-1,o=e.posMax,!t)if(n>=0&&32===e.pending.charCodeAt(n))if(n>=1&&32===e.pending.charCodeAt(n-1)){for(i=n-1;i>=1&&32===e.pending.charCodeAt(i-1);)i--;e.pending=e.pending.slice(0,i),e.push("hardbreak","br",0)}else e.pending=e.pending.slice(0,-1),e.push("softbreak","br",0);else e.push("softbreak","br",0);for(a++;a<o&&r(e.src.charCodeAt(a));)a++;return e.pos=a,!0}},3984:(e,t,n)=>{"use strict";var r=n(5699),o=n(6483).isWhiteSpace,i=n(6483).isPunctChar,a=n(6483).isMdAsciiPunct;function l(e,t,n,r){this.src=e,this.env=n,this.md=t,this.tokens=r,this.tokens_meta=Array(r.length),this.pos=0,this.posMax=this.src.length,this.level=0,this.pending="",this.pendingLevel=0,this.cache={},this.delimiters=[],this._prev_delimiters=[],this.backticks={},this.backticksScanned=!1,this.linkLevel=0}l.prototype.pushPending=function(){var e=new r("text","",0);return e.content=this.pending,e.level=this.pendingLevel,this.tokens.push(e),this.pending="",e},l.prototype.push=function(e,t,n){this.pending&&this.pushPending();var o=new r(e,t,n),i=null;return n<0&&(this.level--,this.delimiters=this._prev_delimiters.pop()),o.level=this.level,n>0&&(this.level++,this._prev_delimiters.push(this.delimiters),this.delimiters=[],i={delimiters:this.delimiters}),this.pendingLevel=this.level,this.tokens.push(o),this.tokens_meta.push(i),o},l.prototype.scanDelims=function(e,t){var n,r,l,s,u,c,d,f,p,h=e,g=!0,m=!0,v=this.posMax,b=this.src.charCodeAt(e);for(n=e>0?this.src.charCodeAt(e-1):32;h<v&&this.src.charCodeAt(h)===b;)h++;return l=h-e,r=h<v?this.src.charCodeAt(h):32,d=a(n)||i(String.fromCharCode(n)),p=a(r)||i(String.fromCharCode(r)),c=o(n),(f=o(r))?g=!1:p&&(c||d||(g=!1)),c?m=!1:d&&(f||p||(m=!1)),t?(s=g,u=m):(s=g&&(!m||d),u=m&&(!g||p)),{can_open:s,can_close:u,length:l}},l.prototype.Token=r,e.exports=l},1434:e=>{"use strict";function t(e,t){var n,r,o,i,a,l=[],s=t.length;for(n=0;n<s;n++)126===(o=t[n]).marker&&-1!==o.end&&(i=t[o.end],(a=e.tokens[o.token]).type="s_open",a.tag="s",a.nesting=1,a.markup="~~",a.content="",(a=e.tokens[i.token]).type="s_close",a.tag="s",a.nesting=-1,a.markup="~~",a.content="","text"===e.tokens[i.token-1].type&&"~"===e.tokens[i.token-1].content&&l.push(i.token-1));for(;l.length;){for(r=(n=l.pop())+1;r<e.tokens.length&&"s_close"===e.tokens[r].type;)r++;n!==--r&&(a=e.tokens[r],e.tokens[r]=e.tokens[n],e.tokens[n]=a)}}e.exports.w=function(e,t){var n,r,o,i,a=e.pos,l=e.src.charCodeAt(a);if(t)return!1;if(126!==l)return!1;if(o=(r=e.scanDelims(e.pos,!0)).length,i=String.fromCharCode(l),o<2)return!1;for(o%2&&(e.push("text","",0).content=i,o--),n=0;n<o;n+=2)e.push("text","",0).content=i+i,e.delimiters.push({marker:l,length:0,token:e.tokens.length-1,end:-1,open:r.can_open,close:r.can_close});return e.pos+=r.length,!0},e.exports.g=function(e){var n,r=e.tokens_meta,o=e.tokens_meta.length;for(t(e,e.delimiters),n=0;n<o;n++)r[n]&&r[n].delimiters&&t(e,r[n].delimiters)}},2754:e=>{"use strict";function t(e){switch(e){case 10:case 33:case 35:case 36:case 37:case 38:case 42:case 43:case 45:case 58:case 60:case 61:case 62:case 64:case 91:case 92:case 93:case 94:case 95:case 96:case 123:case 125:case 126:return!0;default:return!1}}e.exports=function(e,n){for(var r=e.pos;r<e.posMax&&!t(e.src.charCodeAt(r));)r++;return r!==e.pos&&(n||(e.pending+=e.src.slice(e.pos,r)),e.pos=r,!0)}},5699:e=>{"use strict";function t(e,t,n){this.type=e,this.tag=t,this.attrs=null,this.map=null,this.nesting=n,this.level=0,this.children=null,this.content="",this.markup="",this.info="",this.meta=null,this.block=!1,this.hidden=!1}t.prototype.attrIndex=function(e){var t,n,r;if(!this.attrs)return-1;for(n=0,r=(t=this.attrs).length;n<r;n++)if(t[n][0]===e)return n;return-1},t.prototype.attrPush=function(e){this.attrs?this.attrs.push(e):this.attrs=[e]},t.prototype.attrSet=function(e,t){var n=this.attrIndex(e),r=[e,t];n<0?this.attrPush(r):this.attrs[n]=r},t.prototype.attrGet=function(e){var t=this.attrIndex(e),n=null;return t>=0&&(n=this.attrs[t][1]),n},t.prototype.attrJoin=function(e,t){var n=this.attrIndex(e);n<0?this.attrPush([e,t]):this.attrs[n][1]=this.attrs[n][1]+" "+t},e.exports=t},6032:()=>{},5775:()=>{},1264:()=>{},7083:(e,t)=>{"use strict";t._=t._interop_require_default=function(e){return e&&e.__esModule?e:{default:e}}},5570:(e,t)=>{"use strict";function n(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,r=new WeakMap;return(n=function(e){return e?r:t})(e)}t._=t._interop_require_wildcard=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var r=n(t);if(r&&r.has(e))return r.get(e);var o={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if("default"!==a&&Object.prototype.hasOwnProperty.call(e,a)){var l=i?Object.getOwnPropertyDescriptor(e,a):null;l&&(l.get||l.set)?Object.defineProperty(o,a,l):o[a]=e[a]}return o.default=e,r&&r.set(e,o),o}},4837:e=>{"use strict";e.exports=JSON.parse('{"Aacute":"Á","aacute":"á","Abreve":"Ă","abreve":"ă","ac":"∾","acd":"∿","acE":"∾̳","Acirc":"Â","acirc":"â","acute":"´","Acy":"А","acy":"а","AElig":"Æ","aelig":"æ","af":"","Afr":"𝔄","afr":"𝔞","Agrave":"À","agrave":"à","alefsym":"ℵ","aleph":"ℵ","Alpha":"Α","alpha":"α","Amacr":"Ā","amacr":"ā","amalg":"⨿","amp":"&","AMP":"&","andand":"⩕","And":"⩓","and":"∧","andd":"⩜","andslope":"⩘","andv":"⩚","ang":"∠","ange":"⦤","angle":"∠","angmsdaa":"⦨","angmsdab":"⦩","angmsdac":"⦪","angmsdad":"⦫","angmsdae":"⦬","angmsdaf":"⦭","angmsdag":"⦮","angmsdah":"⦯","angmsd":"∡","angrt":"∟","angrtvb":"⊾","angrtvbd":"⦝","angsph":"∢","angst":"Å","angzarr":"⍼","Aogon":"Ą","aogon":"ą","Aopf":"𝔸","aopf":"𝕒","apacir":"⩯","ap":"≈","apE":"⩰","ape":"≊","apid":"≋","apos":"\'","ApplyFunction":"","approx":"≈","approxeq":"≊","Aring":"Å","aring":"å","Ascr":"𝒜","ascr":"𝒶","Assign":"≔","ast":"*","asymp":"≈","asympeq":"≍","Atilde":"Ã","atilde":"ã","Auml":"Ä","auml":"ä","awconint":"∳","awint":"⨑","backcong":"≌","backepsilon":"϶","backprime":"","backsim":"∽","backsimeq":"⋍","Backslash":"","Barv":"⫧","barvee":"⊽","barwed":"⌅","Barwed":"⌆","barwedge":"⌅","bbrk":"⎵","bbrktbrk":"⎶","bcong":"≌","Bcy":"Б","bcy":"б","bdquo":"„","becaus":"∵","because":"∵","Because":"∵","bemptyv":"⦰","bepsi":"϶","bernou":"","Bernoullis":"","Beta":"Β","beta":"β","beth":"ℶ","between":"≬","Bfr":"𝔅","bfr":"𝔟","bigcap":"⋂","bigcirc":"◯","bigcup":"","bigodot":"⨀","bigoplus":"⨁","bigotimes":"⨂","bigsqcup":"⨆","bigstar":"★","bigtriangledown":"▽","bigtriangleup":"△","biguplus":"⨄","bigvee":"","bigwedge":"⋀","bkarow":"⤍","blacklozenge":"⧫","blacksquare":"▪","blacktriangle":"▴","blacktriangledown":"▾","blacktriangleleft":"◂","blacktriangleright":"▸","blank":"␣","blk12":"▒","blk14":"░","blk34":"▓","block":"█","bne":"=⃥","bnequiv":"≡⃥","bNot":"⫭","bnot":"⌐","Bopf":"𝔹","bopf":"𝕓","bot":"⊥","bottom":"⊥","bowtie":"⋈","boxbox":"⧉","boxdl":"┐","boxdL":"╕","boxDl":"╖","boxDL":"╗","boxdr":"┌","boxdR":"╒","boxDr":"╓","boxDR":"╔","boxh":"─","boxH":"═","boxhd":"┬","boxHd":"╤","boxhD":"╥","boxHD":"╦","boxhu":"┴","boxHu":"╧","boxhU":"╨","boxHU":"╩","boxminus":"⊟","boxplus":"⊞","boxtimes":"⊠","boxul":"┘","boxuL":"╛","boxUl":"╜","boxUL":"╝","boxur":"└","boxuR":"╘","boxUr":"╙","boxUR":"╚","boxv":"│","boxV":"║","boxvh":"┼","boxvH":"╪","boxVh":"╫","boxVH":"╬","boxvl":"┤","boxvL":"╡","boxVl":"╢","boxVL":"╣","boxvr":"├","boxvR":"╞","boxVr":"╟","boxVR":"╠","bprime":"","breve":"˘","Breve":"˘","brvbar":"¦","bscr":"𝒷","Bscr":"","bsemi":"⁏","bsim":"∽","bsime":"⋍","bsolb":"⧅","bsol":"\\\\","bsolhsub":"⟈","bull":"•","bullet":"•","bump":"≎","bumpE":"⪮","bumpe":"≏","Bumpeq":"≎","bumpeq":"≏","Cacute":"Ć","cacute":"ć","capand":"⩄","capbrcup":"⩉","capcap":"⩋","cap":"∩","Cap":"⋒","capcup":"⩇","capdot":"⩀","CapitalDifferentialD":"","caps":"∩︀","caret":"","caron":"ˇ","Cayleys":"","ccaps":"⩍","Ccaron":"Č","ccaron":"č","Ccedil":"Ç","ccedil":"ç","Ccirc":"Ĉ","ccirc":"ĉ","Cconint":"∰","ccups":"⩌","ccupssm":"⩐","Cdot":"Ċ","cdot":"ċ","cedil":"¸","Cedilla":"¸","cemptyv":"⦲","cent":"¢","centerdot":"·","CenterDot":"·","cfr":"𝔠","Cfr":"","CHcy":"Ч","chcy":"ч","check":"✓","checkmark":"✓","Chi":"Χ","chi":"χ","circ":"ˆ","circeq":"≗","circlearrowleft":"↺","circlearrowright":"↻","circledast":"⊛","circledcirc":"⊚","circleddash":"⊝","CircleDot":"⊙","circledR":"®","circledS":"Ⓢ","CircleMinus":"⊖","CirclePlus":"⊕","CircleTimes":"⊗","cir":"○","cirE":"⧃","cire":"≗","cirfnint":"⨐","cirmid":"⫯","cirscir":"⧂","ClockwiseContourIntegral":"∲","CloseCurlyDoubleQuote":"”","CloseCurlyQuote":"","clubs":"♣","clubsuit":"♣","colon":":","Colon":"∷","Colone":"⩴","colone":"≔","coloneq":"≔","comma":",","commat":"@","comp":"∁","compfn":"∘","complement":"∁","complexes":"","cong":"≅","congdot":"⩭","Congruent":"≡","conint":"∮","Conint":"∯","ContourIntegral":"∮","copf":"𝕔","Copf":"","coprod":"∐","Coproduct":"∐","copy":"©","COPY":"©","copysr":"℗","CounterClockwiseContourIntegral":"∳","crarr":"↵","cross":"✗","Cross":"","Cscr":"𝒞","cscr":"𝒸","csub":"⫏","csube":"⫑","csup":"⫐","csupe":"⫒","ctdot":"⋯","cudarrl":"⤸","cudarrr":"⤵","cuepr":"⋞","cuesc":"⋟","cularr":"↶","cularrp":"⤽","cupbrcap":"⩈","cupcap":"⩆","CupCap":"≍","cup":"","Cup":"⋓","cupcup":"⩊","cupdot":"⊍","cupor":"⩅","cups":"","curarr":"↷","curarrm":"⤼","curlyeqprec":"⋞","curlyeqsucc":"⋟","curlyvee":"⋎","curlywedge":"⋏","curren":"¤","curvearrowleft":"↶","curvearrowright":"↷","cuvee":"⋎","cuwed":"⋏","cwconint":"∲","cwint":"∱","cylcty":"⌭","dagger":"†","Dagger":"‡","daleth":"ℸ","darr":"↓","Darr":"↡","dArr":"⇓","dash":"","Dashv":"⫤","dashv":"⊣","dbkarow":"⤏","dblac":"˝","Dcaron":"Ď","dcaron":"ď","Dcy":"Д","dcy":"д","ddagger":"‡","ddarr":"⇊","DD":"","dd":"","DDotrahd":"⤑","ddotseq":"⩷","deg":"°","Del":"∇","Delta":"Δ","delta":"δ","demptyv":"⦱","dfisht":"⥿","Dfr":"𝔇","dfr":"𝔡","dHar":"⥥","dharl":"⇃","dharr":"⇂","DiacriticalAcute":"´","DiacriticalDot":"˙","DiacriticalDoubleAcute":"˝","DiacriticalGrave":"`","DiacriticalTilde":"˜","diam":"⋄","diamond":"⋄","Diamond":"⋄","diamondsuit":"♦","diams":"♦","die":"¨","DifferentialD":"","digamma":"ϝ","disin":"⋲","div":"÷","divide":"÷","divideontimes":"⋇","divonx":"⋇","DJcy":"Ђ","djcy":"ђ","dlcorn":"⌞","dlcrop":"⌍","dollar":"$","Dopf":"𝔻","dopf":"𝕕","Dot":"¨","dot":"˙","DotDot":"⃜","doteq":"≐","doteqdot":"≑","DotEqual":"≐","dotminus":"∸","dotplus":"∔","dotsquare":"⊡","doublebarwedge":"⌆","DoubleContourIntegral":"∯","DoubleDot":"¨","DoubleDownArrow":"⇓","DoubleLeftArrow":"⇐","DoubleLeftRightArrow":"⇔","DoubleLeftTee":"⫤","DoubleLongLeftArrow":"⟸","DoubleLongLeftRightArrow":"⟺","DoubleLongRightArrow":"⟹","DoubleRightArrow":"⇒","DoubleRightTee":"⊨","DoubleUpArrow":"⇑","DoubleUpDownArrow":"⇕","DoubleVerticalBar":"∥","DownArrowBar":"⤓","downarrow":"↓","DownArrow":"↓","Downarrow":"⇓","DownArrowUpArrow":"⇵","DownBreve":"̑","downdownarrows":"⇊","downharpoonleft":"⇃","downharpoonright":"⇂","DownLeftRightVector":"⥐","DownLeftTeeVector":"⥞","DownLeftVectorBar":"⥖","DownLeftVector":"↽","DownRightTeeVector":"⥟","DownRightVectorBar":"⥗","DownRightVector":"⇁","DownTeeArrow":"↧","DownTee":"","drbkarow":"⤐","drcorn":"⌟","drcrop":"⌌","Dscr":"𝒟","dscr":"𝒹","DScy":"Ѕ","dscy":"ѕ","dsol":"⧶","Dstrok":"Đ","dstrok":"đ","dtdot":"⋱","dtri":"▿","dtrif":"▾","duarr":"⇵","duhar":"⥯","dwangle":"⦦","DZcy":"Џ","dzcy":"џ","dzigrarr":"⟿","Eacute":"É","eacute":"é","easter":"⩮","Ecaron":"Ě","ecaron":"ě","Ecirc":"Ê","ecirc":"ê","ecir":"≖","ecolon":"≕","Ecy":"Э","ecy":"э","eDDot":"⩷","Edot":"Ė","edot":"ė","eDot":"≑","ee":"","efDot":"≒","Efr":"𝔈","efr":"𝔢","eg":"⪚","Egrave":"È","egrave":"è","egs":"⪖","egsdot":"⪘","el":"⪙","Element":"∈","elinters":"⏧","ell":"","els":"⪕","elsdot":"⪗","Emacr":"Ē","emacr":"ē","empty":"∅","emptyset":"∅","EmptySmallSquare":"◻","emptyv":"∅","EmptyVerySmallSquare":"▫","emsp13":"","emsp14":"","emsp":"","ENG":"Ŋ","eng":"ŋ","ensp":"","Eogon":"Ę","eogon":"ę","Eopf":"𝔼","eopf":"𝕖","epar":"⋕","eparsl":"⧣","eplus":"⩱","epsi":"ε","Epsilon":"Ε","epsilon":"ε","epsiv":"ϵ","eqcirc":"≖","eqcolon":"≕","eqsim":"≂","eqslantgtr":"⪖","eqslantless":"⪕","Equal":"⩵","equals":"=","EqualTilde":"≂","equest":"≟","Equilibrium":"⇌","equiv":"≡","equivDD":"⩸","eqvparsl":"⧥","erarr":"⥱","erDot":"≓","escr":"","Escr":"","esdot":"≐","Esim":"⩳","esim":"≂","Eta":"Η","eta":"η","ETH":"Ð","eth":"ð","Euml":"Ë","euml":"ë","euro":"€","excl":"!","exist":"∃","Exists":"∃","expectation":"","exponentiale":"","ExponentialE":"","fallingdotseq":"≒","Fcy":"Ф","fcy":"ф","female":"♀","ffilig":"ffi","fflig":"ff","ffllig":"ffl","Ffr":"𝔉","ffr":"𝔣","filig":"fi","FilledSmallSquare":"◼","FilledVerySmallSquare":"▪","fjlig":"fj","flat":"♭","fllig":"fl","fltns":"▱","fnof":"ƒ","Fopf":"𝔽","fopf":"𝕗","forall":"∀","ForAll":"∀","fork":"⋔","forkv":"⫙","Fouriertrf":"","fpartint":"⨍","frac12":"½","frac13":"⅓","frac14":"¼","frac15":"⅕","frac16":"⅙","frac18":"⅛","frac23":"⅔","frac25":"⅖","frac34":"¾","frac35":"⅗","frac38":"⅜","frac45":"⅘","frac56":"⅚","frac58":"⅝","frac78":"⅞","frasl":"","frown":"⌢","fscr":"𝒻","Fscr":"","gacute":"ǵ","Gamma":"Γ","gamma":"γ","Gammad":"Ϝ","gammad":"ϝ","gap":"⪆","Gbreve":"Ğ","gbreve":"ğ","Gcedil":"Ģ","Gcirc":"Ĝ","gcirc":"ĝ","Gcy":"Г","gcy":"г","Gdot":"Ġ","gdot":"ġ","ge":"≥","gE":"≧","gEl":"⪌","gel":"⋛","geq":"≥","geqq":"≧","geqslant":"⩾","gescc":"⪩","ges":"⩾","gesdot":"⪀","gesdoto":"⪂","gesdotol":"⪄","gesl":"⋛︀","gesles":"⪔","Gfr":"𝔊","gfr":"𝔤","gg":"≫","Gg":"⋙","ggg":"⋙","gimel":"ℷ","GJcy":"Ѓ","gjcy":"ѓ","gla":"⪥","gl":"≷","glE":"⪒","glj":"⪤","gnap":"⪊","gnapprox":"⪊","gne":"⪈","gnE":"≩","gneq":"⪈","gneqq":"≩","gnsim":"⋧","Gopf":"𝔾","gopf":"𝕘","grave":"`","GreaterEqual":"≥","GreaterEqualLess":"⋛","GreaterFullEqual":"≧","GreaterGreater":"⪢","GreaterLess":"≷","GreaterSlantEqual":"⩾","GreaterTilde":"≳","Gscr":"𝒢","gscr":"","gsim":"≳","gsime":"⪎","gsiml":"⪐","gtcc":"⪧","gtcir":"⩺","gt":">","GT":">","Gt":"≫","gtdot":"⋗","gtlPar":"⦕","gtquest":"⩼","gtrapprox":"⪆","gtrarr":"⥸","gtrdot":"⋗","gtreqless":"⋛","gtreqqless":"⪌","gtrless":"≷","gtrsim":"≳","gvertneqq":"≩︀","gvnE":"≩︀","Hacek":"ˇ","hairsp":"","half":"½","hamilt":"","HARDcy":"Ъ","hardcy":"ъ","harrcir":"⥈","harr":"↔","hArr":"⇔","harrw":"↭","Hat":"^","hbar":"ℏ","Hcirc":"Ĥ","hcirc":"ĥ","hearts":"♥","heartsuit":"♥","hellip":"…","hercon":"⊹","hfr":"𝔥","Hfr":"","HilbertSpace":"","hksearow":"⤥","hkswarow":"⤦","hoarr":"⇿","homtht":"∻","hookleftarrow":"↩","hookrightarrow":"↪","hopf":"𝕙","Hopf":"","horbar":"―","HorizontalLine":"─","hscr":"𝒽","Hscr":"","hslash":"ℏ","Hstrok":"Ħ","hstrok":"ħ","HumpDownHump":"≎","HumpEqual":"≏","hybull":"","hyphen":"","Iacute":"Í","iacute":"í","ic":"","Icirc":"Î","icirc":"î","Icy":"И","icy":"и","Idot":"İ","IEcy":"Е","iecy":"е","iexcl":"¡","iff":"⇔","ifr":"𝔦","Ifr":"","Igrave":"Ì","igrave":"ì","ii":"","iiiint":"⨌","iiint":"∭","iinfin":"⧜","iiota":"℩","IJlig":"IJ","ijlig":"ij","Imacr":"Ī","imacr":"ī","image":"","ImaginaryI":"","imagline":"","imagpart":"","imath":"ı","Im":"","imof":"⊷","imped":"Ƶ","Implies":"⇒","incare":"℅","in":"∈","infin":"∞","infintie":"⧝","inodot":"ı","intcal":"⊺","int":"∫","Int":"∬","integers":"","Integral":"∫","intercal":"⊺","Intersection":"⋂","intlarhk":"⨗","intprod":"⨼","InvisibleComma":"","InvisibleTimes":"","IOcy":"Ё","iocy":"ё","Iogon":"Į","iogon":"į","Iopf":"𝕀","iopf":"𝕚","Iota":"Ι","iota":"ι","iprod":"⨼","iquest":"¿","iscr":"𝒾","Iscr":"","isin":"∈","isindot":"⋵","isinE":"⋹","isins":"⋴","isinsv":"⋳","isinv":"∈","it":"","Itilde":"Ĩ","itilde":"ĩ","Iukcy":"І","iukcy":"і","Iuml":"Ï","iuml":"ï","Jcirc":"Ĵ","jcirc":"ĵ","Jcy":"Й","jcy":"й","Jfr":"𝔍","jfr":"𝔧","jmath":"ȷ","Jopf":"𝕁","jopf":"𝕛","Jscr":"𝒥","jscr":"𝒿","Jsercy":"Ј","jsercy":"ј","Jukcy":"Є","jukcy":"є","Kappa":"Κ","kappa":"κ","kappav":"ϰ","Kcedil":"Ķ","kcedil":"ķ","Kcy":"К","kcy":"к","Kfr":"𝔎","kfr":"𝔨","kgreen":"ĸ","KHcy":"Х","khcy":"х","KJcy":"Ќ","kjcy":"ќ","Kopf":"𝕂","kopf":"𝕜","Kscr":"𝒦","kscr":"𝓀","lAarr":"⇚","Lacute":"Ĺ","lacute":"ĺ","laemptyv":"⦴","lagran":"","Lambda":"Λ","lambda":"λ","lang":"⟨","Lang":"⟪","langd":"⦑","langle":"⟨","lap":"⪅","Laplacetrf":"","laquo":"«","larrb":"⇤","larrbfs":"⤟","larr":"←","Larr":"↞","lArr":"⇐","larrfs":"⤝","larrhk":"↩","larrlp":"↫","larrpl":"⤹","larrsim":"⥳","larrtl":"↢","latail":"⤙","lAtail":"⤛","lat":"⪫","late":"⪭","lates":"⪭︀","lbarr":"⤌","lBarr":"⤎","lbbrk":"","lbrace":"{","lbrack":"[","lbrke":"⦋","lbrksld":"⦏","lbrkslu":"⦍","Lcaron":"Ľ","lcaron":"ľ","Lcedil":"Ļ","lcedil":"ļ","lceil":"⌈","lcub":"{","Lcy":"Л","lcy":"л","ldca":"⤶","ldquo":"“","ldquor":"„","ldrdhar":"⥧","ldrushar":"⥋","ldsh":"↲","le":"≤","lE":"≦","LeftAngleBracket":"⟨","LeftArrowBar":"⇤","leftarrow":"←","LeftArrow":"←","Leftarrow":"⇐","LeftArrowRightArrow":"⇆","leftarrowtail":"↢","LeftCeiling":"⌈","LeftDoubleBracket":"⟦","LeftDownTeeVector":"⥡","LeftDownVectorBar":"⥙","LeftDownVector":"⇃","LeftFloor":"⌊","leftharpoondown":"↽","leftharpoonup":"↼","leftleftarrows":"⇇","leftrightarrow":"↔","LeftRightArrow":"↔","Leftrightarrow":"⇔","leftrightarrows":"⇆","leftrightharpoons":"⇋","leftrightsquigarrow":"↭","LeftRightVector":"⥎","LeftTeeArrow":"↤","LeftTee":"⊣","LeftTeeVector":"⥚","leftthreetimes":"⋋","LeftTriangleBar":"⧏","LeftTriangle":"⊲","LeftTriangleEqual":"⊴","LeftUpDownVector":"⥑","LeftUpTeeVector":"⥠","LeftUpVectorBar":"⥘","LeftUpVector":"↿","LeftVectorBar":"⥒","LeftVector":"↼","lEg":"⪋","leg":"⋚","leq":"≤","leqq":"≦","leqslant":"⩽","lescc":"⪨","les":"⩽","lesdot":"⩿","lesdoto":"⪁","lesdotor":"⪃","lesg":"⋚︀","lesges":"⪓","lessapprox":"⪅","lessdot":"⋖","lesseqgtr":"⋚","lesseqqgtr":"⪋","LessEqualGreater":"⋚","LessFullEqual":"≦","LessGreater":"≶","lessgtr":"≶","LessLess":"⪡","lesssim":"≲","LessSlantEqual":"⩽","LessTilde":"≲","lfisht":"⥼","lfloor":"⌊","Lfr":"𝔏","lfr":"𝔩","lg":"≶","lgE":"⪑","lHar":"⥢","lhard":"↽","lharu":"↼","lharul":"⥪","lhblk":"▄","LJcy":"Љ","ljcy":"љ","llarr":"⇇","ll":"≪","Ll":"⋘","llcorner":"⌞","Lleftarrow":"⇚","llhard":"⥫","lltri":"◺","Lmidot":"Ŀ","lmidot":"ŀ","lmoustache":"⎰","lmoust":"⎰","lnap":"⪉","lnapprox":"⪉","lne":"⪇","lnE":"≨","lneq":"⪇","lneqq":"≨","lnsim":"⋦","loang":"⟬","loarr":"⇽","lobrk":"⟦","longleftarrow":"⟵","LongLeftArrow":"⟵","Longleftarrow":"⟸","longleftrightarrow":"⟷","LongLeftRightArrow":"⟷","Longleftrightarrow":"⟺","longmapsto":"⟼","longrightarrow":"⟶","LongRightArrow":"⟶","Longrightarrow":"⟹","looparrowleft":"↫","looparrowright":"↬","lopar":"⦅","Lopf":"𝕃","lopf":"𝕝","loplus":"⨭","lotimes":"⨴","lowast":"","lowbar":"_","LowerLeftArrow":"↙","LowerRightArrow":"↘","loz":"◊","lozenge":"◊","lozf":"⧫","lpar":"(","lparlt":"⦓","lrarr":"⇆","lrcorner":"⌟","lrhar":"⇋","lrhard":"⥭","lrm":"","lrtri":"⊿","lsaquo":"","lscr":"𝓁","Lscr":"","lsh":"↰","Lsh":"↰","lsim":"≲","lsime":"⪍","lsimg":"⪏","lsqb":"[","lsquo":"","lsquor":"","Lstrok":"Ł","lstrok":"ł","ltcc":"⪦","ltcir":"⩹","lt":"<","LT":"<","Lt":"≪","ltdot":"⋖","lthree":"⋋","ltimes":"⋉","ltlarr":"⥶","ltquest":"⩻","ltri":"◃","ltrie":"⊴","ltrif":"◂","ltrPar":"⦖","lurdshar":"⥊","luruhar":"⥦","lvertneqq":"≨︀","lvnE":"≨︀","macr":"¯","male":"♂","malt":"✠","maltese":"✠","Map":"⤅","map":"↦","mapsto":"↦","mapstodown":"↧","mapstoleft":"↤","mapstoup":"↥","marker":"▮","mcomma":"⨩","Mcy":"М","mcy":"м","mdash":"—","mDDot":"∺","measuredangle":"∡","MediumSpace":"","Mellintrf":"","Mfr":"𝔐","mfr":"𝔪","mho":"℧","micro":"µ","midast":"*","midcir":"⫰","mid":"","middot":"·","minusb":"⊟","minus":"","minusd":"∸","minusdu":"⨪","MinusPlus":"∓","mlcp":"⫛","mldr":"…","mnplus":"∓","models":"⊧","Mopf":"𝕄","mopf":"𝕞","mp":"∓","mscr":"𝓂","Mscr":"","mstpos":"∾","Mu":"Μ","mu":"μ","multimap":"⊸","mumap":"⊸","nabla":"∇","Nacute":"Ń","nacute":"ń","nang":"∠⃒","nap":"≉","napE":"⩰̸","napid":"≋̸","napos":"ʼn","napprox":"≉","natural":"♮","naturals":"","natur":"♮","nbsp":" ","nbump":"≎̸","nbumpe":"≏̸","ncap":"⩃","Ncaron":"Ň","ncaron":"ň","Ncedil":"Ņ","ncedil":"ņ","ncong":"≇","ncongdot":"⩭̸","ncup":"⩂","Ncy":"Н","ncy":"н","ndash":"","nearhk":"⤤","nearr":"↗","neArr":"⇗","nearrow":"↗","ne":"≠","nedot":"≐̸","NegativeMediumSpace":"","NegativeThickSpace":"","NegativeThinSpace":"","NegativeVeryThinSpace":"","nequiv":"≢","nesear":"⤨","nesim":"≂̸","NestedGreaterGreater":"≫","NestedLessLess":"≪","NewLine":"\\n","nexist":"∄","nexists":"∄","Nfr":"𝔑","nfr":"𝔫","ngE":"≧̸","nge":"≱","ngeq":"≱","ngeqq":"≧̸","ngeqslant":"⩾̸","nges":"⩾̸","nGg":"⋙̸","ngsim":"≵","nGt":"≫⃒","ngt":"≯","ngtr":"≯","nGtv":"≫̸","nharr":"↮","nhArr":"⇎","nhpar":"⫲","ni":"∋","nis":"⋼","nisd":"⋺","niv":"∋","NJcy":"Њ","njcy":"њ","nlarr":"↚","nlArr":"⇍","nldr":"‥","nlE":"≦̸","nle":"≰","nleftarrow":"↚","nLeftarrow":"⇍","nleftrightarrow":"↮","nLeftrightarrow":"⇎","nleq":"≰","nleqq":"≦̸","nleqslant":"⩽̸","nles":"⩽̸","nless":"≮","nLl":"⋘̸","nlsim":"≴","nLt":"≪⃒","nlt":"≮","nltri":"⋪","nltrie":"⋬","nLtv":"≪̸","nmid":"∤","NoBreak":"","NonBreakingSpace":" ","nopf":"𝕟","Nopf":"","Not":"⫬","not":"¬","NotCongruent":"≢","NotCupCap":"≭","NotDoubleVerticalBar":"∦","NotElement":"∉","NotEqual":"≠","NotEqualTilde":"≂̸","NotExists":"∄","NotGreater":"≯","NotGreaterEqual":"≱","NotGreaterFullEqual":"≧̸","NotGreaterGreater":"≫̸","NotGreaterLess":"≹","NotGreaterSlantEqual":"⩾̸","NotGreaterTilde":"≵","NotHumpDownHump":"≎̸","NotHumpEqual":"≏̸","notin":"∉","notindot":"⋵̸","notinE":"⋹̸","notinva":"∉","notinvb":"⋷","notinvc":"⋶","NotLeftTriangleBar":"⧏̸","NotLeftTriangle":"⋪","NotLeftTriangleEqual":"⋬","NotLess":"≮","NotLessEqual":"≰","NotLessGreater":"≸","NotLessLess":"≪̸","NotLessSlantEqual":"⩽̸","NotLessTilde":"≴","NotNestedGreaterGreater":"⪢̸","NotNestedLessLess":"⪡̸","notni":"∌","notniva":"∌","notnivb":"⋾","notnivc":"⋽","NotPrecedes":"⊀","NotPrecedesEqual":"⪯̸","NotPrecedesSlantEqual":"⋠","NotReverseElement":"∌","NotRightTriangleBar":"⧐̸","NotRightTriangle":"⋫","NotRightTriangleEqual":"⋭","NotSquareSubset":"⊏̸","NotSquareSubsetEqual":"⋢","NotSquareSuperset":"⊐̸","NotSquareSupersetEqual":"⋣","NotSubset":"⊂⃒","NotSubsetEqual":"⊈","NotSucceeds":"⊁","NotSucceedsEqual":"⪰̸","NotSucceedsSlantEqual":"⋡","NotSucceedsTilde":"≿̸","NotSuperset":"⊃⃒","NotSupersetEqual":"⊉","NotTilde":"≁","NotTildeEqual":"≄","NotTildeFullEqual":"≇","NotTildeTilde":"≉","NotVerticalBar":"∤","nparallel":"∦","npar":"∦","nparsl":"⫽⃥","npart":"∂̸","npolint":"⨔","npr":"⊀","nprcue":"⋠","nprec":"⊀","npreceq":"⪯̸","npre":"⪯̸","nrarrc":"⤳̸","nrarr":"↛","nrArr":"⇏","nrarrw":"↝̸","nrightarrow":"↛","nRightarrow":"⇏","nrtri":"⋫","nrtrie":"⋭","nsc":"⊁","nsccue":"⋡","nsce":"⪰̸","Nscr":"𝒩","nscr":"𝓃","nshortmid":"∤","nshortparallel":"∦","nsim":"≁","nsime":"≄","nsimeq":"≄","nsmid":"∤","nspar":"∦","nsqsube":"⋢","nsqsupe":"⋣","nsub":"⊄","nsubE":"⫅̸","nsube":"⊈","nsubset":"⊂⃒","nsubseteq":"⊈","nsubseteqq":"⫅̸","nsucc":"⊁","nsucceq":"⪰̸","nsup":"⊅","nsupE":"⫆̸","nsupe":"⊉","nsupset":"⊃⃒","nsupseteq":"⊉","nsupseteqq":"⫆̸","ntgl":"≹","Ntilde":"Ñ","ntilde":"ñ","ntlg":"≸","ntriangleleft":"⋪","ntrianglelefteq":"⋬","ntriangleright":"⋫","ntrianglerighteq":"⋭","Nu":"Ν","nu":"ν","num":"#","numero":"№","numsp":"","nvap":"≍⃒","nvdash":"⊬","nvDash":"⊭","nVdash":"⊮","nVDash":"⊯","nvge":"≥⃒","nvgt":">⃒","nvHarr":"⤄","nvinfin":"⧞","nvlArr":"⤂","nvle":"≤⃒","nvlt":"<⃒","nvltrie":"⊴⃒","nvrArr":"⤃","nvrtrie":"⊵⃒","nvsim":"∼⃒","nwarhk":"⤣","nwarr":"↖","nwArr":"⇖","nwarrow":"↖","nwnear":"⤧","Oacute":"Ó","oacute":"ó","oast":"⊛","Ocirc":"Ô","ocirc":"ô","ocir":"⊚","Ocy":"О","ocy":"о","odash":"⊝","Odblac":"Ő","odblac":"ő","odiv":"⨸","odot":"⊙","odsold":"⦼","OElig":"Œ","oelig":"œ","ofcir":"⦿","Ofr":"𝔒","ofr":"𝔬","ogon":"˛","Ograve":"Ò","ograve":"ò","ogt":"⧁","ohbar":"⦵","ohm":"Ω","oint":"∮","olarr":"↺","olcir":"⦾","olcross":"⦻","oline":"‾","olt":"⧀","Omacr":"Ō","omacr":"ō","Omega":"Ω","omega":"ω","Omicron":"Ο","omicron":"ο","omid":"⦶","ominus":"⊖","Oopf":"𝕆","oopf":"𝕠","opar":"⦷","OpenCurlyDoubleQuote":"“","OpenCurlyQuote":"","operp":"⦹","oplus":"⊕","orarr":"↻","Or":"⩔","or":"","ord":"⩝","order":"","orderof":"","ordf":"ª","ordm":"º","origof":"⊶","oror":"⩖","orslope":"⩗","orv":"⩛","oS":"Ⓢ","Oscr":"𝒪","oscr":"","Oslash":"Ø","oslash":"ø","osol":"⊘","Otilde":"Õ","otilde":"õ","otimesas":"⨶","Otimes":"⨷","otimes":"⊗","Ouml":"Ö","ouml":"ö","ovbar":"⌽","OverBar":"‾","OverBrace":"⏞","OverBracket":"⎴","OverParenthesis":"⏜","para":"¶","parallel":"∥","par":"∥","parsim":"⫳","parsl":"⫽","part":"∂","PartialD":"∂","Pcy":"П","pcy":"п","percnt":"%","period":".","permil":"‰","perp":"⊥","pertenk":"‱","Pfr":"𝔓","pfr":"𝔭","Phi":"Φ","phi":"φ","phiv":"ϕ","phmmat":"","phone":"☎","Pi":"Π","pi":"π","pitchfork":"⋔","piv":"ϖ","planck":"ℏ","planckh":"","plankv":"ℏ","plusacir":"⨣","plusb":"⊞","pluscir":"⨢","plus":"+","plusdo":"∔","plusdu":"⨥","pluse":"⩲","PlusMinus":"±","plusmn":"±","plussim":"⨦","plustwo":"⨧","pm":"±","Poincareplane":"","pointint":"⨕","popf":"𝕡","Popf":"","pound":"£","prap":"⪷","Pr":"⪻","pr":"≺","prcue":"≼","precapprox":"⪷","prec":"≺","preccurlyeq":"≼","Precedes":"≺","PrecedesEqual":"⪯","PrecedesSlantEqual":"≼","PrecedesTilde":"≾","preceq":"⪯","precnapprox":"⪹","precneqq":"⪵","precnsim":"⋨","pre":"⪯","prE":"⪳","precsim":"≾","prime":"","Prime":"″","primes":"","prnap":"⪹","prnE":"⪵","prnsim":"⋨","prod":"∏","Product":"∏","profalar":"⌮","profline":"⌒","profsurf":"⌓","prop":"∝","Proportional":"∝","Proportion":"∷","propto":"∝","prsim":"≾","prurel":"⊰","Pscr":"𝒫","pscr":"𝓅","Psi":"Ψ","psi":"ψ","puncsp":"","Qfr":"𝔔","qfr":"𝔮","qint":"⨌","qopf":"𝕢","Qopf":"","qprime":"⁗","Qscr":"𝒬","qscr":"𝓆","quaternions":"","quatint":"⨖","quest":"?","questeq":"≟","quot":"\\"","QUOT":"\\"","rAarr":"⇛","race":"∽̱","Racute":"Ŕ","racute":"ŕ","radic":"√","raemptyv":"⦳","rang":"⟩","Rang":"⟫","rangd":"⦒","range":"⦥","rangle":"⟩","raquo":"»","rarrap":"⥵","rarrb":"⇥","rarrbfs":"⤠","rarrc":"⤳","rarr":"→","Rarr":"↠","rArr":"⇒","rarrfs":"⤞","rarrhk":"↪","rarrlp":"↬","rarrpl":"⥅","rarrsim":"⥴","Rarrtl":"⤖","rarrtl":"↣","rarrw":"↝","ratail":"⤚","rAtail":"⤜","ratio":"","rationals":"","rbarr":"⤍","rBarr":"⤏","RBarr":"⤐","rbbrk":"","rbrace":"}","rbrack":"]","rbrke":"⦌","rbrksld":"⦎","rbrkslu":"⦐","Rcaron":"Ř","rcaron":"ř","Rcedil":"Ŗ","rcedil":"ŗ","rceil":"⌉","rcub":"}","Rcy":"Р","rcy":"р","rdca":"⤷","rdldhar":"⥩","rdquo":"”","rdquor":"”","rdsh":"↳","real":"","realine":"","realpart":"","reals":"","Re":"","rect":"▭","reg":"®","REG":"®","ReverseElement":"∋","ReverseEquilibrium":"⇋","ReverseUpEquilibrium":"⥯","rfisht":"⥽","rfloor":"⌋","rfr":"𝔯","Rfr":"","rHar":"⥤","rhard":"⇁","rharu":"⇀","rharul":"⥬","Rho":"Ρ","rho":"ρ","rhov":"ϱ","RightAngleBracket":"⟩","RightArrowBar":"⇥","rightarrow":"→","RightArrow":"→","Rightarrow":"⇒","RightArrowLeftArrow":"⇄","rightarrowtail":"↣","RightCeiling":"⌉","RightDoubleBracket":"⟧","RightDownTeeVector":"⥝","RightDownVectorBar":"⥕","RightDownVector":"⇂","RightFloor":"⌋","rightharpoondown":"⇁","rightharpoonup":"⇀","rightleftarrows":"⇄","rightleftharpoons":"⇌","rightrightarrows":"⇉","rightsquigarrow":"↝","RightTeeArrow":"↦","RightTee":"⊢","RightTeeVector":"⥛","rightthreetimes":"⋌","RightTriangleBar":"⧐","RightTriangle":"⊳","RightTriangleEqual":"⊵","RightUpDownVector":"⥏","RightUpTeeVector":"⥜","RightUpVectorBar":"⥔","RightUpVector":"↾","RightVectorBar":"⥓","RightVector":"⇀","ring":"˚","risingdotseq":"≓","rlarr":"⇄","rlhar":"⇌","rlm":"","rmoustache":"⎱","rmoust":"⎱","rnmid":"⫮","roang":"⟭","roarr":"⇾","robrk":"⟧","ropar":"⦆","ropf":"𝕣","Ropf":"","roplus":"⨮","rotimes":"⨵","RoundImplies":"⥰","rpar":")","rpargt":"⦔","rppolint":"⨒","rrarr":"⇉","Rrightarrow":"⇛","rsaquo":"","rscr":"𝓇","Rscr":"","rsh":"↱","Rsh":"↱","rsqb":"]","rsquo":"","rsquor":"","rthree":"⋌","rtimes":"⋊","rtri":"▹","rtrie":"⊵","rtrif":"▸","rtriltri":"⧎","RuleDelayed":"⧴","ruluhar":"⥨","rx":"℞","Sacute":"Ś","sacute":"ś","sbquo":"","scap":"⪸","Scaron":"Š","scaron":"š","Sc":"⪼","sc":"≻","sccue":"≽","sce":"⪰","scE":"⪴","Scedil":"Ş","scedil":"ş","Scirc":"Ŝ","scirc":"ŝ","scnap":"⪺","scnE":"⪶","scnsim":"⋩","scpolint":"⨓","scsim":"≿","Scy":"С","scy":"с","sdotb":"⊡","sdot":"⋅","sdote":"⩦","searhk":"⤥","searr":"↘","seArr":"⇘","searrow":"↘","sect":"§","semi":";","seswar":"⤩","setminus":"","setmn":"","sext":"✶","Sfr":"𝔖","sfr":"𝔰","sfrown":"⌢","sharp":"♯","SHCHcy":"Щ","shchcy":"щ","SHcy":"Ш","shcy":"ш","ShortDownArrow":"↓","ShortLeftArrow":"←","shortmid":"","shortparallel":"∥","ShortRightArrow":"→","ShortUpArrow":"↑","shy":"­","Sigma":"Σ","sigma":"σ","sigmaf":"ς","sigmav":"ς","sim":"","simdot":"⩪","sime":"≃","simeq":"≃","simg":"⪞","simgE":"⪠","siml":"⪝","simlE":"⪟","simne":"≆","simplus":"⨤","simrarr":"⥲","slarr":"←","SmallCircle":"∘","smallsetminus":"","smashp":"⨳","smeparsl":"⧤","smid":"","smile":"⌣","smt":"⪪","smte":"⪬","smtes":"⪬︀","SOFTcy":"Ь","softcy":"ь","solbar":"⌿","solb":"⧄","sol":"/","Sopf":"𝕊","sopf":"𝕤","spades":"♠","spadesuit":"♠","spar":"∥","sqcap":"⊓","sqcaps":"⊓︀","sqcup":"⊔","sqcups":"⊔︀","Sqrt":"√","sqsub":"⊏","sqsube":"⊑","sqsubset":"⊏","sqsubseteq":"⊑","sqsup":"⊐","sqsupe":"⊒","sqsupset":"⊐","sqsupseteq":"⊒","square":"□","Square":"□","SquareIntersection":"⊓","SquareSubset":"⊏","SquareSubsetEqual":"⊑","SquareSuperset":"⊐","SquareSupersetEqual":"⊒","SquareUnion":"⊔","squarf":"▪","squ":"□","squf":"▪","srarr":"→","Sscr":"𝒮","sscr":"𝓈","ssetmn":"","ssmile":"⌣","sstarf":"⋆","Star":"⋆","star":"☆","starf":"★","straightepsilon":"ϵ","straightphi":"ϕ","strns":"¯","sub":"⊂","Sub":"⋐","subdot":"⪽","subE":"⫅","sube":"⊆","subedot":"⫃","submult":"⫁","subnE":"⫋","subne":"⊊","subplus":"⪿","subrarr":"⥹","subset":"⊂","Subset":"⋐","subseteq":"⊆","subseteqq":"⫅","SubsetEqual":"⊆","subsetneq":"⊊","subsetneqq":"⫋","subsim":"⫇","subsub":"⫕","subsup":"⫓","succapprox":"⪸","succ":"≻","succcurlyeq":"≽","Succeeds":"≻","SucceedsEqual":"⪰","SucceedsSlantEqual":"≽","SucceedsTilde":"≿","succeq":"⪰","succnapprox":"⪺","succneqq":"⪶","succnsim":"⋩","succsim":"≿","SuchThat":"∋","sum":"∑","Sum":"∑","sung":"♪","sup1":"¹","sup2":"²","sup3":"³","sup":"⊃","Sup":"⋑","supdot":"⪾","supdsub":"⫘","supE":"⫆","supe":"⊇","supedot":"⫄","Superset":"⊃","SupersetEqual":"⊇","suphsol":"⟉","suphsub":"⫗","suplarr":"⥻","supmult":"⫂","supnE":"⫌","supne":"⊋","supplus":"⫀","supset":"⊃","Supset":"⋑","supseteq":"⊇","supseteqq":"⫆","supsetneq":"⊋","supsetneqq":"⫌","supsim":"⫈","supsub":"⫔","supsup":"⫖","swarhk":"⤦","swarr":"↙","swArr":"⇙","swarrow":"↙","swnwar":"⤪","szlig":"ß","Tab":"\\t","target":"⌖","Tau":"Τ","tau":"τ","tbrk":"⎴","Tcaron":"Ť","tcaron":"ť","Tcedil":"Ţ","tcedil":"ţ","Tcy":"Т","tcy":"т","tdot":"⃛","telrec":"⌕","Tfr":"𝔗","tfr":"𝔱","there4":"∴","therefore":"∴","Therefore":"∴","Theta":"Θ","theta":"θ","thetasym":"ϑ","thetav":"ϑ","thickapprox":"≈","thicksim":"","ThickSpace":"","ThinSpace":"","thinsp":"","thkap":"≈","thksim":"","THORN":"Þ","thorn":"þ","tilde":"˜","Tilde":"","TildeEqual":"≃","TildeFullEqual":"≅","TildeTilde":"≈","timesbar":"⨱","timesb":"⊠","times":"×","timesd":"⨰","tint":"∭","toea":"⤨","topbot":"⌶","topcir":"⫱","top":"","Topf":"𝕋","topf":"𝕥","topfork":"⫚","tosa":"⤩","tprime":"‴","trade":"™","TRADE":"™","triangle":"▵","triangledown":"▿","triangleleft":"◃","trianglelefteq":"⊴","triangleq":"≜","triangleright":"▹","trianglerighteq":"⊵","tridot":"◬","trie":"≜","triminus":"⨺","TripleDot":"⃛","triplus":"⨹","trisb":"⧍","tritime":"⨻","trpezium":"⏢","Tscr":"𝒯","tscr":"𝓉","TScy":"Ц","tscy":"ц","TSHcy":"Ћ","tshcy":"ћ","Tstrok":"Ŧ","tstrok":"ŧ","twixt":"≬","twoheadleftarrow":"↞","twoheadrightarrow":"↠","Uacute":"Ú","uacute":"ú","uarr":"↑","Uarr":"↟","uArr":"⇑","Uarrocir":"⥉","Ubrcy":"Ў","ubrcy":"ў","Ubreve":"Ŭ","ubreve":"ŭ","Ucirc":"Û","ucirc":"û","Ucy":"У","ucy":"у","udarr":"⇅","Udblac":"Ű","udblac":"ű","udhar":"⥮","ufisht":"⥾","Ufr":"𝔘","ufr":"𝔲","Ugrave":"Ù","ugrave":"ù","uHar":"⥣","uharl":"↿","uharr":"↾","uhblk":"▀","ulcorn":"⌜","ulcorner":"⌜","ulcrop":"⌏","ultri":"◸","Umacr":"Ū","umacr":"ū","uml":"¨","UnderBar":"_","UnderBrace":"⏟","UnderBracket":"⎵","UnderParenthesis":"⏝","Union":"","UnionPlus":"⊎","Uogon":"Ų","uogon":"ų","Uopf":"𝕌","uopf":"𝕦","UpArrowBar":"⤒","uparrow":"↑","UpArrow":"↑","Uparrow":"⇑","UpArrowDownArrow":"⇅","updownarrow":"↕","UpDownArrow":"↕","Updownarrow":"⇕","UpEquilibrium":"⥮","upharpoonleft":"↿","upharpoonright":"↾","uplus":"⊎","UpperLeftArrow":"↖","UpperRightArrow":"↗","upsi":"υ","Upsi":"ϒ","upsih":"ϒ","Upsilon":"Υ","upsilon":"υ","UpTeeArrow":"↥","UpTee":"⊥","upuparrows":"⇈","urcorn":"⌝","urcorner":"⌝","urcrop":"⌎","Uring":"Ů","uring":"ů","urtri":"◹","Uscr":"𝒰","uscr":"𝓊","utdot":"⋰","Utilde":"Ũ","utilde":"ũ","utri":"▵","utrif":"▴","uuarr":"⇈","Uuml":"Ü","uuml":"ü","uwangle":"⦧","vangrt":"⦜","varepsilon":"ϵ","varkappa":"ϰ","varnothing":"∅","varphi":"ϕ","varpi":"ϖ","varpropto":"∝","varr":"↕","vArr":"⇕","varrho":"ϱ","varsigma":"ς","varsubsetneq":"⊊︀","varsubsetneqq":"⫋︀","varsupsetneq":"⊋︀","varsupsetneqq":"⫌︀","vartheta":"ϑ","vartriangleleft":"⊲","vartriangleright":"⊳","vBar":"⫨","Vbar":"⫫","vBarv":"⫩","Vcy":"В","vcy":"в","vdash":"⊢","vDash":"⊨","Vdash":"⊩","VDash":"⊫","Vdashl":"⫦","veebar":"⊻","vee":"","Vee":"","veeeq":"≚","vellip":"⋮","verbar":"|","Verbar":"‖","vert":"|","Vert":"‖","VerticalBar":"","VerticalLine":"|","VerticalSeparator":"❘","VerticalTilde":"≀","VeryThinSpace":"","Vfr":"𝔙","vfr":"𝔳","vltri":"⊲","vnsub":"⊂⃒","vnsup":"⊃⃒","Vopf":"𝕍","vopf":"𝕧","vprop":"∝","vrtri":"⊳","Vscr":"𝒱","vscr":"𝓋","vsubnE":"⫋︀","vsubne":"⊊︀","vsupnE":"⫌︀","vsupne":"⊋︀","Vvdash":"⊪","vzigzag":"⦚","Wcirc":"Ŵ","wcirc":"ŵ","wedbar":"⩟","wedge":"∧","Wedge":"⋀","wedgeq":"≙","weierp":"℘","Wfr":"𝔚","wfr":"𝔴","Wopf":"𝕎","wopf":"𝕨","wp":"℘","wr":"≀","wreath":"≀","Wscr":"𝒲","wscr":"𝓌","xcap":"⋂","xcirc":"◯","xcup":"","xdtri":"▽","Xfr":"𝔛","xfr":"𝔵","xharr":"⟷","xhArr":"⟺","Xi":"Ξ","xi":"ξ","xlarr":"⟵","xlArr":"⟸","xmap":"⟼","xnis":"⋻","xodot":"⨀","Xopf":"𝕏","xopf":"𝕩","xoplus":"⨁","xotime":"⨂","xrarr":"⟶","xrArr":"⟹","Xscr":"𝒳","xscr":"𝓍","xsqcup":"⨆","xuplus":"⨄","xutri":"△","xvee":"","xwedge":"⋀","Yacute":"Ý","yacute":"ý","YAcy":"Я","yacy":"я","Ycirc":"Ŷ","ycirc":"ŷ","Ycy":"Ы","ycy":"ы","yen":"¥","Yfr":"𝔜","yfr":"𝔶","YIcy":"Ї","yicy":"ї","Yopf":"𝕐","yopf":"𝕪","Yscr":"𝒴","yscr":"𝓎","YUcy":"Ю","yucy":"ю","yuml":"ÿ","Yuml":"Ÿ","Zacute":"Ź","zacute":"ź","Zcaron":"Ž","zcaron":"ž","Zcy":"З","zcy":"з","Zdot":"Ż","zdot":"ż","zeetrf":"","ZeroWidthSpace":"","Zeta":"Ζ","zeta":"ζ","zfr":"𝔷","Zfr":"","ZHcy":"Ж","zhcy":"ж","zigrarr":"⇝","zopf":"𝕫","Zopf":"","Zscr":"𝒵","zscr":"𝓏","zwj":"","zwnj":""}')}},r={};function o(e){var t=r[e];if(void 0!==t)return t.exports;var i=r[e]={id:e,loaded:!1,exports:{}};return n[e].call(i.exports,i,i.exports,o),i.loaded=!0,i.exports}o.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return o.d(t,{a:t}),t},t=Object.getPrototypeOf?e=>Object.getPrototypeOf(e):e=>e.__proto__,o.t=function(n,r){if(1&r&&(n=this(n)),8&r)return n;if("object"==typeof n&&n){if(4&r&&n.__esModule)return n;if(16&r&&"function"==typeof n.then)return n}var i=Object.create(null);o.r(i);var a={};e=e||[null,t({}),t([]),t(t)];for(var l=2&r&&n;"object"==typeof l&&!~e.indexOf(l);l=t(l))Object.getOwnPropertyNames(l).forEach((e=>a[e]=()=>n[e]));return a.default=()=>n,o.d(i,a),i},o.d=(e,t)=>{for(var n in t)o.o(t,n)&&!o.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},o.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),o.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),o.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},o.nmd=e=>(e.paths=[],e.children||(e.children=[]),e),(()=>{"use strict";var e={};o.r(e),o.d(e,{attentionMarkers:()=>nm,contentInitial:()=>Zg,disable:()=>rm,document:()=>Yg,flow:()=>Jg,flowInitial:()=>Kg,insideSpan:()=>tm,string:()=>Xg,text:()=>em});var t={};function n(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function r(e,t,n,r,o,i,a){try{var l=e[i](a),s=l.value}catch(e){return void n(e)}l.done?t(s):Promise.resolve(s).then(r,o)}o.r(t),o.d(t,{boolean:()=>$m,booleanish:()=>Ym,commaOrSpaceSeparated:()=>ev,commaSeparated:()=>Xm,number:()=>Km,overloadedBoolean:()=>Zm,spaceSeparated:()=>Jm});var i,a,l=o(7162),s=o.n(l),u=o(2784),c=o.t(u,2),d=o(8316),f="colors",p="sizes",h="space",g={gap:h,gridGap:h,columnGap:h,gridColumnGap:h,rowGap:h,gridRowGap:h,inset:h,insetBlock:h,insetBlockEnd:h,insetBlockStart:h,insetInline:h,insetInlineEnd:h,insetInlineStart:h,margin:h,marginTop:h,marginRight:h,marginBottom:h,marginLeft:h,marginBlock:h,marginBlockEnd:h,marginBlockStart:h,marginInline:h,marginInlineEnd:h,marginInlineStart:h,padding:h,paddingTop:h,paddingRight:h,paddingBottom:h,paddingLeft:h,paddingBlock:h,paddingBlockEnd:h,paddingBlockStart:h,paddingInline:h,paddingInlineEnd:h,paddingInlineStart:h,top:h,right:h,bottom:h,left:h,scrollMargin:h,scrollMarginTop:h,scrollMarginRight:h,scrollMarginBottom:h,scrollMarginLeft:h,scrollMarginX:h,scrollMarginY:h,scrollMarginBlock:h,scrollMarginBlockEnd:h,scrollMarginBlockStart:h,scrollMarginInline:h,scrollMarginInlineEnd:h,scrollMarginInlineStart:h,scrollPadding:h,scrollPaddingTop:h,scrollPaddingRight:h,scrollPaddingBottom:h,scrollPaddingLeft:h,scrollPaddingX:h,scrollPaddingY:h,scrollPaddingBlock:h,scrollPaddingBlockEnd:h,scrollPaddingBlockStart:h,scrollPaddingInline:h,scrollPaddingInlineEnd:h,scrollPaddingInlineStart:h,fontSize:"fontSizes",background:f,backgroundColor:f,backgroundImage:f,borderImage:f,border:f,borderBlock:f,borderBlockEnd:f,borderBlockStart:f,borderBottom:f,borderBottomColor:f,borderColor:f,borderInline:f,borderInlineEnd:f,borderInlineStart:f,borderLeft:f,borderLeftColor:f,borderRight:f,borderRightColor:f,borderTop:f,borderTopColor:f,caretColor:f,color:f,columnRuleColor:f,fill:f,outline:f,outlineColor:f,stroke:f,textDecorationColor:f,fontFamily:"fonts",fontWeight:"fontWeights",lineHeight:"lineHeights",letterSpacing:"letterSpacings",blockSize:p,minBlockSize:p,maxBlockSize:p,inlineSize:p,minInlineSize:p,maxInlineSize:p,width:p,minWidth:p,maxWidth:p,height:p,minHeight:p,maxHeight:p,flexBasis:p,gridTemplateColumns:p,gridTemplateRows:p,borderWidth:"borderWidths",borderTopWidth:"borderWidths",borderRightWidth:"borderWidths",borderBottomWidth:"borderWidths",borderLeftWidth:"borderWidths",borderStyle:"borderStyles",borderTopStyle:"borderStyles",borderRightStyle:"borderStyles",borderBottomStyle:"borderStyles",borderLeftStyle:"borderStyles",borderRadius:"radii",borderTopLeftRadius:"radii",borderTopRightRadius:"radii",borderBottomRightRadius:"radii",borderBottomLeftRadius:"radii",boxShadow:"shadows",textShadow:"shadows",transition:"transitions",zIndex:"zIndices"},m=(e,t)=>"function"==typeof t?{"()":Function.prototype.toString.call(t)}:t,v=()=>{const e=Object.create(null);return(t,n,...r)=>{const o=(e=>JSON.stringify(e,m))(t);return o in e?e[o]:e[o]=n(t,...r)}},b=Symbol.for("sxs.internal"),y=(e,t)=>Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)),A=e=>{for(const t in e)return!0;return!1},{hasOwnProperty:w}=Object.prototype,x=e=>e.includes("-")?e:e.replace(/[A-Z]/g,(e=>"-"+e.toLowerCase())),E=/\s+(?![^()]*\))/,k=e=>t=>e(..."string"==typeof t?String(t).split(E):[t]),S={appearance:e=>({WebkitAppearance:e,appearance:e}),backfaceVisibility:e=>({WebkitBackfaceVisibility:e,backfaceVisibility:e}),backdropFilter:e=>({WebkitBackdropFilter:e,backdropFilter:e}),backgroundClip:e=>({WebkitBackgroundClip:e,backgroundClip:e}),boxDecorationBreak:e=>({WebkitBoxDecorationBreak:e,boxDecorationBreak:e}),clipPath:e=>({WebkitClipPath:e,clipPath:e}),content:e=>({content:e.includes('"')||e.includes("'")||/^([A-Za-z]+\([^]*|[^]*-quote|inherit|initial|none|normal|revert|unset)$/.test(e)?e:`"${e}"`}),hyphens:e=>({WebkitHyphens:e,hyphens:e}),maskImage:e=>({WebkitMaskImage:e,maskImage:e}),maskSize:e=>({WebkitMaskSize:e,maskSize:e}),tabSize:e=>({MozTabSize:e,tabSize:e}),textSizeAdjust:e=>({WebkitTextSizeAdjust:e,textSizeAdjust:e}),userSelect:e=>({WebkitUserSelect:e,userSelect:e}),marginBlock:k(((e,t)=>({marginBlockStart:e,marginBlockEnd:t||e}))),marginInline:k(((e,t)=>({marginInlineStart:e,marginInlineEnd:t||e}))),maxSize:k(((e,t)=>({maxBlockSize:e,maxInlineSize:t||e}))),minSize:k(((e,t)=>({minBlockSize:e,minInlineSize:t||e}))),paddingBlock:k(((e,t)=>({paddingBlockStart:e,paddingBlockEnd:t||e}))),paddingInline:k(((e,t)=>({paddingInlineStart:e,paddingInlineEnd:t||e})))},_=/([\d.]+)([^]*)/,C=(e,t)=>e.length?e.reduce(((e,n)=>(e.push(...t.map((e=>e.includes("&")?e.replace(/&/g,/[ +>|~]/.test(n)&&/&.*&/.test(e)?`:is(${n})`:n):n+" "+e))),e)),[]):t,T=(e,t)=>e in D&&"string"==typeof t?t.replace(/^((?:[^]*[^\w-])?)(fit-content|stretch)((?:[^\w-][^]*)?)$/,((t,n,r,o)=>n+("stretch"===r?`-moz-available${o};${x(e)}:${n}-webkit-fill-available`:`-moz-fit-content${o};${x(e)}:${n}fit-content`)+o)):String(t),D={blockSize:1,height:1,inlineSize:1,maxBlockSize:1,maxHeight:1,maxInlineSize:1,maxWidth:1,minBlockSize:1,minHeight:1,minInlineSize:1,minWidth:1,width:1},L=e=>e?e+"-":"",O=(e,t,n)=>e.replace(/([+-])?((?:\d+(?:\.\d*)?|\.\d+)(?:[Ee][+-]?\d+)?)?(\$|--)([$\w-]+)/g,((e,r,o,i,a)=>"$"==i==!!o?e:(r||"--"==i?"calc(":"")+"var(--"+("$"===i?L(t)+(a.includes("$")?"":L(n))+a.replace(/\$/g,"-"):a)+")"+(r||"--"==i?"*"+(r||"")+(o||"1")+")":""))),R=/\s*,\s*(?![^()]*\))/,P=Object.prototype.toString,M=(e,t,n,r,o)=>{let i,a,l;const s=(e,t,n)=>{let u,c;const d=e=>{for(u in e){const h=64===u.charCodeAt(0),g=h&&Array.isArray(e[u])?e[u]:[e[u]];for(c of g){const e=/[A-Z]/.test(p=u)?p:p.replace(/-[^]/g,(e=>e[1].toUpperCase())),g="object"==typeof c&&c&&c.toString===P&&(!r.utils[e]||!t.length);if(e in r.utils&&!g){const t=r.utils[e];if(t!==a){a=t,d(t(c)),a=null;continue}}else if(e in S){const t=S[e];if(t!==l){l=t,d(t(c)),l=null;continue}}if(h&&(f=u.slice(1)in r.media?"@media "+r.media[u.slice(1)]:u,u=f.replace(/\(\s*([\w-]+)\s*(=|<|<=|>|>=)\s*([\w-]+)\s*(?:(<|<=|>|>=)\s*([\w-]+)\s*)?\)/g,((e,t,n,r,o,i)=>{const a=_.test(t),l=.0625*(a?-1:1),[s,u]=a?[r,t]:[t,r];return"("+("="===n[0]?"":">"===n[0]===a?"max-":"min-")+s+":"+("="!==n[0]&&1===n.length?u.replace(_,((e,t,r)=>Number(t)+l*(">"===n?1:-1)+r)):u)+(o?") and ("+(">"===o[0]?"min-":"max-")+s+":"+(1===o.length?i.replace(_,((e,t,n)=>Number(t)+l*(">"===o?-1:1)+n)):i):"")+")"}))),g){const e=h?n.concat(u):[...n],r=h?[...t]:C(t,u.split(R));void 0!==i&&o(N(...i)),i=void 0,s(c,r,e)}else void 0===i&&(i=[[],t,n]),u=h||36!==u.charCodeAt(0)?u:`--${L(r.prefix)}${u.slice(1).replace(/\$/g,"-")}`,c=g?c:"number"==typeof c?c&&e in B?String(c)+"px":String(c):O(T(e,null==c?"":c),r.prefix,r.themeMap[e]),i[0].push(`${h?`${u} `:`${x(u)}:`}${c}`)}}var f,p};d(e),void 0!==i&&o(N(...i)),i=void 0};s(e,t,n)},N=(e,t,n)=>`${n.map((e=>`${e}{`)).join("")}${t.length?`${t.join(",")}{`:""}${e.join(";")}${t.length?"}":""}${Array(n.length?n.length+1:0).join("}")}`,B={animationDelay:1,animationDuration:1,backgroundSize:1,blockSize:1,border:1,borderBlock:1,borderBlockEnd:1,borderBlockEndWidth:1,borderBlockStart:1,borderBlockStartWidth:1,borderBlockWidth:1,borderBottom:1,borderBottomLeftRadius:1,borderBottomRightRadius:1,borderBottomWidth:1,borderEndEndRadius:1,borderEndStartRadius:1,borderInlineEnd:1,borderInlineEndWidth:1,borderInlineStart:1,borderInlineStartWidth:1,borderInlineWidth:1,borderLeft:1,borderLeftWidth:1,borderRadius:1,borderRight:1,borderRightWidth:1,borderSpacing:1,borderStartEndRadius:1,borderStartStartRadius:1,borderTop:1,borderTopLeftRadius:1,borderTopRightRadius:1,borderTopWidth:1,borderWidth:1,bottom:1,columnGap:1,columnRule:1,columnRuleWidth:1,columnWidth:1,containIntrinsicSize:1,flexBasis:1,fontSize:1,gap:1,gridAutoColumns:1,gridAutoRows:1,gridTemplateColumns:1,gridTemplateRows:1,height:1,inlineSize:1,inset:1,insetBlock:1,insetBlockEnd:1,insetBlockStart:1,insetInline:1,insetInlineEnd:1,insetInlineStart:1,left:1,letterSpacing:1,margin:1,marginBlock:1,marginBlockEnd:1,marginBlockStart:1,marginBottom:1,marginInline:1,marginInlineEnd:1,marginInlineStart:1,marginLeft:1,marginRight:1,marginTop:1,maxBlockSize:1,maxHeight:1,maxInlineSize:1,maxWidth:1,minBlockSize:1,minHeight:1,minInlineSize:1,minWidth:1,offsetDistance:1,offsetRotate:1,outline:1,outlineOffset:1,outlineWidth:1,overflowClipMargin:1,padding:1,paddingBlock:1,paddingBlockEnd:1,paddingBlockStart:1,paddingBottom:1,paddingInline:1,paddingInlineEnd:1,paddingInlineStart:1,paddingLeft:1,paddingRight:1,paddingTop:1,perspective:1,right:1,rowGap:1,scrollMargin:1,scrollMarginBlock:1,scrollMarginBlockEnd:1,scrollMarginBlockStart:1,scrollMarginBottom:1,scrollMarginInline:1,scrollMarginInlineEnd:1,scrollMarginInlineStart:1,scrollMarginLeft:1,scrollMarginRight:1,scrollMarginTop:1,scrollPadding:1,scrollPaddingBlock:1,scrollPaddingBlockEnd:1,scrollPaddingBlockStart:1,scrollPaddingBottom:1,scrollPaddingInline:1,scrollPaddingInlineEnd:1,scrollPaddingInlineStart:1,scrollPaddingLeft:1,scrollPaddingRight:1,scrollPaddingTop:1,shapeMargin:1,textDecoration:1,textDecorationThickness:1,textIndent:1,textUnderlineOffset:1,top:1,transitionDelay:1,transitionDuration:1,verticalAlign:1,width:1,wordSpacing:1},I=e=>String.fromCharCode(e+(e>25?39:97)),j=e=>(e=>{let t,n="";for(t=Math.abs(e);t>52;t=t/52|0)n=I(t%52)+n;return I(t%52)+n})(((e,t)=>{let n=t.length;for(;n;)e=33*e^t.charCodeAt(--n);return e})(5381,JSON.stringify(e))>>>0),F=["themed","global","styled","onevar","resonevar","allvar","inline"],z=e=>{if(e.href&&!e.href.startsWith(location.origin))return!1;try{return!!e.cssRules}catch(e){return!1}},H=e=>{let t;const n=()=>{const{cssRules:e}=t.sheet;return[].map.call(e,((n,r)=>{const{cssText:o}=n;let i="";if(o.startsWith("--sxs"))return"";if(e[r-1]&&(i=e[r-1].cssText).startsWith("--sxs")){if(!n.cssRules.length)return"";for(const e in t.rules)if(t.rules[e].group===n)return`--sxs{--sxs:${[...t.rules[e].cache].join(" ")}}${o}`;return n.cssRules.length?`${i}${o}`:""}return o})).join("")},r=()=>{if(t){const{rules:e,sheet:n}=t;if(!n.deleteRule){for(;3===Object(Object(n.cssRules)[0]).type;)n.cssRules.splice(0,1);n.cssRules=[]}for(const t in e)delete e[t]}const o=Object(e).styleSheets||[];for(const e of o)if(z(e)){for(let o=0,i=e.cssRules;i[o];++o){const a=Object(i[o]);if(1!==a.type)continue;const l=Object(i[o+1]);if(4!==l.type)continue;++o;const{cssText:s}=a;if(!s.startsWith("--sxs"))continue;const u=s.slice(14,-3).trim().split(/\s+/),c=F[u[0]];c&&(t||(t={sheet:e,reset:r,rules:{},toString:n}),t.rules[c]={group:l,index:o,cache:new Set(u)})}if(t)break}if(!t){const o=(e,t)=>({type:t,cssRules:[],insertRule(e,t){this.cssRules.splice(t,0,o(e,{import:3,undefined:1}[(e.toLowerCase().match(/^@([a-z]+)/)||[])[1]]||4))},get cssText(){return"@media{}"===e?`@media{${[].map.call(this.cssRules,(e=>e.cssText)).join("")}}`:e}});t={sheet:e?(e.head||e).appendChild(document.createElement("style")).sheet:o("","text/css"),rules:{},reset:r,toString:n}}const{sheet:i,rules:a}=t;for(let e=F.length-1;e>=0;--e){const t=F[e];if(!a[t]){const n=F[e+1],r=a[n]?a[n].index:i.cssRules.length;i.insertRule("@media{}",r),i.insertRule(`--sxs{--sxs:${e}}`,r),a[t]={group:i.cssRules[r+1],index:r,cache:new Set([e])}}q(a[t])}};return r(),t},q=e=>{const t=e.group;let n=t.cssRules.length;e.apply=e=>{try{t.insertRule(e,n),++n}catch(e){}}},U=Symbol(),W=v(),V=(e,t)=>W(e,(()=>(...n)=>{let r={type:null,composers:new Set};for(const t of n)if(null!=t)if(t[b]){null==r.type&&(r.type=t[b].type);for(const e of t[b].composers)r.composers.add(e)}else t.constructor!==Object||t.$$typeof?null==r.type&&(r.type=t):r.composers.add(Q(t,e));return null==r.type&&(r.type="span"),r.composers.size||r.composers.add(["PJLV",{},[],[],{},[]]),G(e,r,t)})),Q=({variants:e,compoundVariants:t,defaultVariants:n,...r},o)=>{const i=`${L(o.prefix)}c-${j(r)}`,a=[],l=[],s=Object.create(null),u=[];for(const e in n)s[e]=String(n[e]);if("object"==typeof e&&e)for(const t in e){c=s,d=t,w.call(c,d)||(s[t]="undefined");const n=e[t];for(const e in n){const r={[t]:String(e)};"undefined"===String(e)&&u.push(t);const o=n[e],i=[r,o,!A(o)];a.push(i)}}var c,d;if("object"==typeof t&&t)for(const e of t){let{css:t,...n}=e;t="object"==typeof t&&t||{};for(const e in n)n[e]=String(n[e]);const r=[n,t,!A(t)];l.push(r)}return[i,r,a,l,s,u]},G=(e,t,n)=>{const[r,o,i,a]=$(t.composers),l="function"==typeof t.type||t.type.$$typeof?(e=>{function t(){for(let n=0;n<t[U].length;n++){const[r,o]=t[U][n];e.rules[r].apply(o)}return t[U]=[],null}return t[U]=[],t.rules={},F.forEach((e=>t.rules[e]={apply:n=>t[U].push([e,n])})),t})(n):null,s=(l||n).rules,u=`.${r}${o.length>1?`:where(.${o.slice(1).join(".")})`:""}`,c=c=>{c="object"==typeof c&&c||Z;const{css:d,...f}=c,p={};for(const e in i)if(delete f[e],e in c){let t=c[e];"object"==typeof t&&t?p[e]={"@initial":i[e],...t}:(t=String(t),p[e]="undefined"!==t||a.has(e)?t:i[e])}else p[e]=i[e];const h=new Set([...o]);for(const[r,o,i,a]of t.composers){n.rules.styled.cache.has(r)||(n.rules.styled.cache.add(r),M(o,[`.${r}`],[],e,(e=>{s.styled.apply(e)})));const t=Y(i,p,e.media),l=Y(a,p,e.media,!0);for(const o of t)if(void 0!==o)for(const[t,i,a]of o){const o=`${r}-${j(i)}-${t}`;h.add(o);const l=(a?n.rules.resonevar:n.rules.onevar).cache,u=a?s.resonevar:s.onevar;l.has(o)||(l.add(o),M(i,[`.${o}`],[],e,(e=>{u.apply(e)})))}for(const t of l)if(void 0!==t)for(const[o,i]of t){const t=`${r}-${j(i)}-${o}`;h.add(t),n.rules.allvar.cache.has(t)||(n.rules.allvar.cache.add(t),M(i,[`.${t}`],[],e,(e=>{s.allvar.apply(e)})))}}if("object"==typeof d&&d){const t=`${r}-i${j(d)}-css`;h.add(t),n.rules.inline.cache.has(t)||(n.rules.inline.cache.add(t),M(d,[`.${t}`],[],e,(e=>{s.inline.apply(e)})))}for(const e of String(c.className||"").trim().split(/\s+/))e&&h.add(e);const g=f.className=[...h].join(" ");return{type:t.type,className:g,selector:u,props:f,toString:()=>g,deferredInjector:l}};return y(c,{className:r,selector:u,[b]:t,toString:()=>(n.rules.styled.cache.has(r)||c(),r)})},$=e=>{let t="";const n=[],r={},o=[];for(const[i,,,,a,l]of e){""===t&&(t=i),n.push(i),o.push(...l);for(const e in a){const t=a[e];(void 0===r[e]||"undefined"!==t||l.includes(t))&&(r[e]=t)}}return[t,n,r,new Set(o)]},Y=(e,t,n,r)=>{const o=[];e:for(let[i,a,l]of e){if(l)continue;let e,s=0,u=!1;for(e in i){const r=i[e];let o=t[e];if(o!==r){if("object"!=typeof o||!o)continue e;{let e,t,i=0;for(const a in o){if(r===String(o[a])){if("@initial"!==a){const e=a.slice(1);(t=t||[]).push(e in n?n[e]:a.replace(/^@media ?/,"")),u=!0}s+=i,e=!0}++i}if(t&&t.length&&(a={["@media "+t.join(", ")]:a}),!e)continue e}}}(o[s]=o[s]||[]).push([r?"cv":`${e}-${i[e]}`,a,u])}return o},Z={},K=v(),J=(e,t)=>K(e,(()=>(...n)=>{const r=()=>{for(let r of n){r="object"==typeof r&&r||{};let n=j(r);if(!t.rules.global.cache.has(n)){if(t.rules.global.cache.add(n),"@import"in r){let e=[].indexOf.call(t.sheet.cssRules,t.rules.themed.group)-1;for(let n of[].concat(r["@import"]))n=n.includes('"')||n.includes("'")?n:`"${n}"`,t.sheet.insertRule(`@import ${n};`,e++);delete r["@import"]}M(r,[],[],e,(e=>{t.rules.global.apply(e)}))}}return""};return y(r,{toString:r})})),X=v(),ee=(e,t)=>X(e,(()=>n=>{const r=`${L(e.prefix)}k-${j(n)}`,o=()=>{if(!t.rules.global.cache.has(r)){t.rules.global.cache.add(r);const o=[];M(n,[],[],e,(e=>o.push(e)));const i=`@keyframes ${r}{${o.join("")}}`;t.rules.global.apply(i)}return r};return y(o,{get name(){return o()},toString:o})})),te=class{constructor(e,t,n,r){this.token=null==e?"":String(e),this.value=null==t?"":String(t),this.scale=null==n?"":String(n),this.prefix=null==r?"":String(r)}get computedValue(){return"var("+this.variable+")"}get variable(){return"--"+L(this.prefix)+L(this.scale)+this.token}toString(){return this.computedValue}},ne=v(),re=(e,t)=>ne(e,(()=>(n,r)=>{r="object"==typeof n&&n||Object(r);const o=`.${n=(n="string"==typeof n?n:"")||`${L(e.prefix)}t-${j(r)}`}`,i={},a=[];for(const t in r){i[t]={};for(const n in r[t]){const o=`--${L(e.prefix)}${t}-${n}`,l=O(String(r[t][n]),e.prefix,t);i[t][n]=new te(n,l,t,e.prefix),a.push(`${o}:${l}`)}}const l=()=>{if(a.length&&!t.rules.themed.cache.has(n)){t.rules.themed.cache.add(n);const o=`${r===e.theme?":root,":""}.${n}{${a.join(";")}}`;t.rules.themed.apply(o)}return n};return{...i,get className(){return l()},selector:o,toString:l}})),oe=v(),ie=v(),ae=e=>{const t=(e=>{let t=!1;const n=oe(e,(e=>{t=!0;const n="prefix"in(e="object"==typeof e&&e||{})?String(e.prefix):"",r="object"==typeof e.media&&e.media||{},o="object"==typeof e.root?e.root||null:globalThis.document||null,i="object"==typeof e.theme&&e.theme||{},a={prefix:n,media:r,theme:i,themeMap:"object"==typeof e.themeMap&&e.themeMap||{...g},utils:"object"==typeof e.utils&&e.utils||{}},l=H(o),s={css:V(a,l),globalCss:J(a,l),keyframes:ee(a,l),createTheme:re(a,l),reset(){l.reset(),s.theme.toString()},theme:{},sheet:l,config:a,prefix:n,getCssText:l.toString,toString:l.toString};return String(s.theme=s.createTheme(i)),s}));return t||n.reset(),n})(e);return t.styled=(({config:e,sheet:t})=>ie(e,(()=>{const n=V(e,t);return(...e)=>{const t=n(...e),r=t[b].type,o=u.forwardRef(((e,n)=>{const o=e&&e.as||r,{props:i,deferredInjector:a}=t(e);return delete i.as,i.ref=n,a?u.createElement(u.Fragment,null,u.createElement(o,i),u.createElement(a,null)):u.createElement(o,i)}));return o.className=t.className,o.displayName=`Styled.${r.displayName||r.name||r}`,o.selector=t.selector,o.toString=()=>t.selector,o[b]=t[b],o}})))(t),t},le=()=>i||(i=ae()),se=(...e)=>le().createTheme(...e),ue=(...e)=>le().styled(...e);function ce(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 de(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?ce(Object(n),!0).forEach((function(t){fe(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):ce(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function fe(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}!function(e){e.Light="Light",e.Dark="Dark",e.Sepia="Sepia",e.Apollo="Apollo",e.Black="Black",e.System="System"}(a||(a={}));var pe=ae({utils:{bg:function(e){return{backgroundColor:e}},p:function(e){return{padding:e}},pt:function(e){return{paddingTop:e}},pb:function(e){return{paddingBottom:e}},pl:function(e){return{paddingLeft:e}},pr:function(e){return{paddingRight:e}},px:function(e){return{paddingLeft:e,paddingRight:e}},py:function(e){return{paddingTop:e,paddingBottom:e}},m:function(e){return{margin:e}},mt:function(e){return{marginTop:e}},mb:function(e){return{marginBottom:e}},ml:function(e){return{marginLeft:e}},mr:function(e){return{marginRight:e}},mx:function(e){return{marginLeft:e,marginRight:e}},my:function(e){return{marginTop:e,marginBottom:e}}},theme:{fonts:{inter:"Inter, sans-serif",display:"-apple-system, BlinkMacSystemFont, sans-serif"},fontSizes:{1:"0.75em",2:"0.875em",3:"1em",4:"1.25em",5:"1.5em",6:"2em"},space:{1:"0.25em",2:"0.5em",3:"1em",4:"2em",5:"4em",6:"8em"},sizes:{1:"0.25em",2:"0.5em",3:"1em",4:"2em",5:"4em",6:"8em"},radii:{1:"0.125em",2:"0.25em",3:"0.5em",round:"9999px"},fontWeights:{},lineHeights:{},letterSpacings:{},borderWidths:{},borderStyles:{},shadows:{cardBoxShadow:"0px 4px 4px rgba(0, 0, 0, 0.20);"},zIndices:{},transitions:{},colorScheme:{colorScheme:"light"},colors:{grayBase:"#F8F8F8",grayBg:"#FFFFFF",grayBgActive:"#e6e6e6",grayBorder:"#F0F0F0",grayTextContrast:"#3A3939",graySolid:"#9C9B9A",utilityTextDefault:"#3B3938",utilityTextSubtle:"rgba(255, 255, 255, 0.65)",textNonessential:"rgba(10, 8, 6, 0.4)",grayBgSubtle:"hsl(0 0% 97.3%)",grayBgHover:"hsl(0 0% 93.0%)",grayLine:"hsl(0 0% 88.7%)",grayBorderHover:"hsl(0 0% 78.0%)",grayText:"#6A6968",ctaBlue:"#007AFF",modalBackground:"#FFFFFF",highlightBackground:"255, 210, 52",recommendedHighlightBackground:"#E5FFE5",highlight:"#FFD234",highlightText:"#3D3D3D",error:"#FA5E4A",discover:"#7274d5",omnivoreRed:"#FA5E4A;",omnivoreGray:"#3D3D3D",omnivoreYellow:"#FFEAA0",omnivoreLightGray:"rgb(125, 125, 125)",omnivoreCtaYellow:"rgb(255, 210, 52)",searchActiveOutline:"rgb(255, 210, 52)",readerBg:"white",readerFont:"#3D3D3D",readerFontHighContrast:"black",readerTableHeader:"#FFFFFF",readerMargin:"white",avatarBg:"#FFEA9F",avatarFont:"#9C7C0A",labelButtonsBg:"#F5F5F4",textSubtle:"#605F5D",border:"#F0F0F0",overlay:"rgba(63, 62, 60, 0.2)",thBackground:"#FFFFFF",thBackground2:"#F3F3F3",thBackground3:"#FCFCFC",thBackground4:"#EBEBEB",thBackground5:"#F5F5F5",thBackgroundActive:"#FFEA9F",thBackgroundContrast:"#FFFFFF",thLeftMenuBackground:"#FCFCFC",thLibraryBackground:"#FFFFFF",thLibrarySearchbox:"#FCFCFC",thLibraryMenuPrimary:"#3D3D3D",thLibraryMenuSecondary:"#3D3D3D",thLibraryMenuUnselected:"#3D3D3D",thLibrarySelectionColor:"#FFEA9F",thLibraryNavigationMenuFooter:"#EFEADE",thLibraryMenuFooterHover:"#FFFFFF",thLibraryMultiselectHover:"#D9D9D9",thLibraryMultiselectCheckbox:"#3D3D3D",thLibraryMultiselectCheckboxHover:"#3D3D3D",thTLDRText:"#434343",thFormInput:"#EBEBEB",thHomeIcon:"#2A2A2A",thLabelChipForeground:"#2A2A2A",thLabelChipBackground:"#F5F5F5",thLabelChipSelectedBorder:"black",thLabelChipUnselectedBorder:"#F5F5F5",thLabelOutlineChipBorder:"#D9D9D9",thHeaderIconRing:"#D9D9D9",thHeaderIconInner:"#898989",thNotebookSubtle:"#6A6968",thNotebookBorder:"#D9D9D9",thNotebookBackground:"#FCFCFC",thNotebookTextBackground:"#EBEBEB",thTextContrast:"#1E1E1E",thTextContrast2:"#3D3D3D",thTextSubtle:"#1E1E1E",thTextSubtle2:"#6A6968",thTextSubtle3:"#ADADAD",thBorderColor:"#E1E1E1",thBorderSubtle:"#EEEEEE",tabTextUnselected:"#898989",thProgressFg:"#FFD234",thHighContrast:"#3D3D3D",thHighlightBar:"#D9D9D9",thLibraryAISummaryBorder:"#6A6968",thLibraryAISummaryBackground:"#343434",thFallbackImageForeground:"#2A2A2A",thFallbackImageBackground:"#EDEDED",highlight_background_green:"85, 198, 137",highlight_background_blue:"106, 177, 255",highlight_background_orange:"254, 181, 109",highlight_background_yellow:"255, 210, 52",highlight_background_red:"251, 154, 154",highlight_background_alpha:"0.2",highlight_underline_alpha:"1.0"}},media:{xsmDown:"(max-width: 375px)",smDown:"(max-width: 575px)",mdDown:"(max-width: 768px)",lgDown:"(max-width: 992px)",xlgDown:"(max-width: 1200px)",sm:"(min-width: 576px)",md:"(min-width: 768px)",lg:"(min-width: 992px)",xl:"(min-width: 1200px)",xxl:"(min-width: 1500px)"}}),he=pe.styled,ge=(pe.css,pe.theme),me=(pe.getCssText,pe.globalCss),ve=pe.keyframes,be=(pe.config,{colorScheme:{colorScheme:"dark"},shadows:{cardBoxShadow:"0px 4px 8px rgba(0, 0, 0, 0.50);"},colors:{grayBase:"#252525",grayBg:"#3B3938",grayBgActive:"#4f4d4c",grayTextContrast:"#D8D7D7",grayBorder:"#323232",graySolid:"#9C9B9A",utilityTextDefault:"#CDCDCD",textNonessential:"rgba(97, 97, 97, 1)",grayBgSubtle:"hsl(0 0% 9.8%)",grayBgHover:"hsl(0 0% 13.8%)",grayLine:"hsl(0 0% 19.9%)",grayBorderHover:"hsl(0 0% 31.2%)",grayText:"#CDCDCD",modalBackground:"#2A2A2A",highlightBackground:"134, 109, 21",recommendedHighlightBackground:"#1F4315",highlight:"#FFD234",highlightText:"white",error:"#FA5E4A",readerBg:"#303030",readerFont:"#b9b9b9",readerFontHighContrast:"white",readerTableHeader:"#FFFFFF",readerMargin:"#2A2A2A",avatarBg:"#7B5C3E",avatarFont:"#D9D9D9",textSubtle:"#AAAAAA",border:"#323232",utilityTextSubtle:"rgba(255, 255, 255, 0.65)",overlay:"rgba(10, 8, 6, 0.65)",labelButtonsBg:"#5F5E58",colorScheme:"dark",thBackground:"#2A2A2A",thBackground2:"#3D3D3D",thBackground3:"#242424",thBackground4:"#3D3D3D",thBackground5:"#3D3D3D",thBackgroundActive:"#3D3D3D",thBackgroundContrast:"#000000",thLeftMenuBackground:"#343434",thLibraryBackground:"#2A2A2A",thLibrarySearchbox:"#3D3D3D",thLibraryMenuPrimary:"#EBEBEB",thLibraryMenuSecondary:"#EBEBEB",thLibraryMenuUnselected:"white",thLibrarySelectionColor:"#6A6968",thLibraryNavigationMenuFooter:"#3D3D3D",thLibraryMenuFooterHover:"#6A6968",thLibraryMultiselectHover:"#6A6968",thLibraryMultiselectCheckbox:"white",thLibraryMultiselectCheckboxHover:"white",thTLDRText:"#D9D9D9",searchActiveOutline:"#866D15",thFormInput:"#3D3D3D",thHomeIcon:"#FFFFFF",thLabelChipForeground:"#EBEBEB",thLabelChipBackground:"#2A2A2A",thLabelChipSelectedBorder:"#FFEA9F",thLabelChipUnselectedBorder:"#2A2A2A",thLabelOutlineChipBorder:"#6A696850",thHeaderIconRing:"#3D3D3D",thHeaderIconInner:"#D9D9D9",thNotebookSubtle:"#898989",thNotebookBorder:"#3D3D3D",thNotebookBackground:"#2F2F2F",thNotebookTextBackground:"#3D3D3D",thNotebookHighContrast:"#2A2A2A",thTextContrast:"#FFFFFF",thTextContrast2:"#EBEBEB",thTextSubtle:"#D9D9D9",thTextSubtle2:"#D9D9D9",thTextSubtle3:"#ADADAD",thBorderColor:"#4F4F4F",thBorderSubtle:"#6A6968",tabTextUnselected:"#6A6968",thProgressFg:"#FFD234",thHighContrast:"#D9D9D9",thHighlightBar:"#6A6968",thLibraryAISummaryBorder:"#6A6968",thLibraryAISummaryBackground:"#343434",thFallbackImageForeground:"#FEFFFF",thFallbackImageBackground:"#3C3C3C",highlight_underline_alpha:"0.5",highlight_background_alpha:"0.35"}}),ye=se(a.Dark,be),Ae=se(a.Sepia,de(de({},be),{colorScheme:{colorScheme:"light"},colors:{readerBg:"#FBF0D9",readerFont:"#5F4B32",readerMargin:"#F3F3F3",readerFontHighContrast:"#0A0806",readerTableHeader:"#FFFFFF"}})),we=se(a.Apollo,de(de({},be),{},{colors:de(de({},be.colors),{readerBg:"#6A6968",readerFont:"#F3F3F3",readerMargin:"#474747",readerFontHighContrast:"white",readerTableHeader:"#FFFFFF"})})),xe=se(a.Black,de(de({},be),{},{colors:de(de({},be.colors),{readerBg:"black"})}));function Ee(...e){return t=>e.forEach((e=>function(e,t){"function"==typeof e?e(t):null!=e&&(e.current=t)}(e,t)))}function ke(){return ke=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},ke.apply(this,arguments)}me({body:{colorScheme:"var(--colorScheme-colorScheme)",backgroundColor:"$thBackground"},".article-inner-css":{"::selection":{background:"rgb($highlightBackground)"}}});const Se=u.forwardRef(((e,t)=>{const{children:n,...r}=e;return u.Children.toArray(n).some(Te)?u.createElement(u.Fragment,null,u.Children.map(n,(e=>Te(e)?u.createElement(_e,ke({},r,{ref:t}),e.props.children):e))):u.createElement(_e,ke({},r,{ref:t}),n)}));Se.displayName="Slot";const _e=u.forwardRef(((e,t)=>{const{children:n,...r}=e;return u.isValidElement(n)?u.cloneElement(n,{...De(r,n.props),ref:Ee(t,n.ref)}):u.Children.count(n)>1?u.Children.only(null):null}));_e.displayName="SlotClone";const Ce=({children:e})=>u.createElement(u.Fragment,null,e);function Te(e){return u.isValidElement(e)&&e.type===Ce}function De(e,t){const n={...t};for(const r in t){const o=e[r],i=t[r];/^on[A-Z]/.test(r)?n[r]=(...e)=>{null==i||i(...e),null==o||o(...e)}:"style"===r?n[r]={...o,...i}:"className"===r&&(n[r]=[o,i].filter(Boolean).join(" "))}return{...e,...n}}const Le=["a","button","div","h2","h3","img","li","nav","p","span","svg","ul"].reduce(((e,t)=>({...e,[t]:u.forwardRef(((e,n)=>{const{asChild:r,...o}=e,i=r?Se:t;return u.useEffect((()=>{window[Symbol.for("radix-ui")]=!0}),[]),e.as&&console.error(Oe),u.createElement(i,ke({},o,{ref:n}))}))})),{}),Oe="Warning: The `as` prop has been removed in favour of `asChild`. For details, see https://radix-ui.com/docs/primitives/overview/styling#changing-the-rendered-element",Re="horizontal",Pe=["horizontal","vertical"],Me=u.forwardRef(((e,t)=>{const{decorative:n,orientation:r=Re,...o}=e,i=Ne(r)?r:Re,a=n?{role:"none"}:{"aria-orientation":"vertical"===i?i:void 0,role:"separator"};return u.createElement(Le.div,ke({"data-orientation":i},a,o,{ref:t}))}));function Ne(e){return Pe.includes(e)}Me.propTypes={orientation(e,t,n){const r=e[t],o=String(r);return r&&!Ne(r)?new Error(function(e,t){return`Invalid prop \`orientation\` of value \`${e}\` supplied to \`${t}\`, expected one of:\n - horizontal\n - vertical\n\nDefaulting to \`${Re}\`.`}(o,n)):null}};const Be=Me;var Ie=o(2322),je={alignment:{start:{alignItems:"flex-start"},center:{alignItems:"center"},end:{alignItems:"end"}},distribution:{around:{justifyContent:"space-around"},between:{justifyContent:"space-between"},evenly:{justifyContent:"space-evenly"},start:{justifyContent:"flex-start"},center:{justifyContent:"center"},end:{justifyContent:"flex-end"}}},Fe=he("div",{}),ze=he("span",{}),He=he("a",{}),qe=he("blockquote",{}),Ue=he(Fe,{display:"flex",flexDirection:"row",variants:je,defaultVariants:{alignment:"start",distribution:"around"}}),We=he(Fe,{display:"flex",flexDirection:"column",variants:je,defaultVariants:{alignment:"start",distribution:"around"}});function Ve(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}he(Be,{backgroundColor:"$grayLine","&[data-orientation=horizontal]":{height:1,width:"100%"},"&[data-orientation=vertical]":{height:"100%",width:1}});var Qe=["omnivore-highlight-id","data-twitter-tweet-id","data-instagram-id"],Ge=function(e){var t,n,r,o=void 0,i=function(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=function(e,t){if(e){if("string"==typeof e)return Ve(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Ve(e,t):void 0}}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,o=function(){};return{s:o,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,a=!0,l=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return a=e.done,e},e:function(e){l=!0,i=e},f:function(){try{a||null==n.return||n.return()}finally{if(l)throw i}}}}(Array.from(document.querySelectorAll("p[data-omnivore-anchor-idx]")).reverse());try{for(i.s();!(r=i.n()).done;){var a=r.value,l=a.getBoundingClientRect();if(l.height>0&&l.top>=50&&l.bottom<=e.clientHeight){if(o&&o.getBoundingClientRect().top<l.top)continue;o=a}}}catch(e){i.e(e)}finally{i.f()}return null!==(t=null===(n=o)||void 0===n?void 0:n.getAttribute("data-omnivore-anchor-idx"))&&void 0!==t?t:void 0};function $e(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function Ye(e){return function(e){if(Array.isArray(e))return Ze(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(e){if("string"==typeof e)return Ze(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Ze(e,t):void 0}}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Ze(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var Ke="theme",Je={White:a.Light,LightGray:a.Light,Gray:a.Dark,Darker:a.Dark};function Xe(e){var t;"undefined"!=typeof window&&window.localStorage.setItem(Ke,e),(t=document.documentElement.classList).remove.apply(t,Ye(Object.keys(Je)).concat([Ae,ye,we,xe],Ye(Object.keys(a)))),document.documentElement.classList.add(function(e){var t=function(e){if(e==a.System){if("undefined"!=typeof window&&window.matchMedia){if(window.matchMedia("(prefers-color-scheme: dark)").matches){try{var t=window.localStorage.getItem("preferredDarkThemeKey");if(t)return JSON.parse(t)}catch(e){}return a.Dark}try{var n=window.localStorage.getItem("preferredLightThemeKey");if(n)return JSON.parse(n)}catch(e){}return a.Light}return a.Light}return e}(e);switch(t){case a.Dark:return ye;case a.Sepia:return Ae;case a.Apollo:return we;case a.Black:return xe}return ge}(e))}function et(){var e=function(){switch(function(){if("undefined"!=typeof window){var e=window.localStorage.getItem(Ke);return e&&Object.values(a).includes(e)?e:e&&Object.keys(Je).includes(e)?Je[e]:a.Light}}()){case a.Light:return"Light";case a.Dark:return"Dark";case a.Sepia:return"Sepia";case a.Apollo:return"Apollo";case a.Black:return"Black"}return"Light"}();return"Dark"===e||"Darker"===e||"Apollo"===e||"Black"==e}var tt=["yellow","red","green","blue"],nt=function(e){switch(e){case"green":return"#55C689";case"blue":return"#6AB1FF";case"yellow":return"#FFD234";case"orange":return"#FEB56D";case"red":return"#FB9A9A"}return"#FFD234"},rt=function(e){switch(e){case"green":return"var(--colors-highlight_background_green)";case"blue":return"var(--colors-highlight_background_blue)";case"yellow":return"var(--colors-highlight_background_yellow)";case"orange":return"var(--colors-highlight_background_orange)";case"red":return"var(--colors-highlight_background_red)"}return"var(--colors-highlightBackground)"};const ot="carousel",it="controller",at="portal",lt="toolbar",st="fullscreen",ut="thumbnails",ct="zoom",dt="loading",ft="error",pt="complete",ht=e=>`active-slide-${e}`,gt=(ht(dt),ht("playing"),ht(ft),ht(pt),"fullsize"),mt="flex_center",vt="no_scroll_padding",bt="prev",yt="next",At="swipe",wt="close",xt="onPointerDown",Et="onPointerMove",kt="onPointerUp",St="onPointerLeave",_t="onPointerCancel",Ct="onKeyDown",Tt="onWheel",Dt="icon",Lt="contain",Ot="cover",Rt="Unknown action type",Pt={open:!1,close:()=>{},index:0,slides:[],render:{},plugins:[],toolbar:{buttons:[wt]},labels:{},animation:{fade:250,swipe:500,easing:{fade:"ease",swipe:"ease-out",navigation:"ease-in-out"}},carousel:{finite:!1,preload:2,padding:"16px",spacing:"30%",imageFit:Lt,imageProps:{}},controller:{ref:null,focus:!0,aria:!1,touchAction:"none",closeOnPullDown:!1,closeOnBackdropClick:!1},portal:{},noScroll:{disabled:!1},on:{},styles:{},className:""};function Mt(e,t){return{name:e,component:t}}function Nt(e,t){return{module:e,children:t}}function Bt(e,t,n){return e.module.name===t?n(e):e.children?[Nt(e.module,e.children.flatMap((e=>{var r;return null!==(r=Bt(e,t,n))&&void 0!==r?r:[]})))]:[e]}function It(e,t,n){return e.flatMap((e=>{var r;return null!==(r=Bt(e,t,n))&&void 0!==r?r:[]}))}const jt=(...e)=>[...e].filter((e=>Boolean(e))).join(" "),Ft=e=>`yarl__${e}`,zt=e=>`--yarl__${e}`,Ht=(e,t)=>`${e}${t?`_${t}`:""}`,qt=e=>t=>Ht(e,t),Ut=(e,t)=>e&&e[t]?e[t]:t,Wt=(...e)=>()=>{e.forEach((e=>{e()}))},Vt=(e,t,n)=>()=>{const r=u.useContext(n);if(!r)throw new Error(`${e} must be used within a ${t}.Provider`);return r},Qt=()=>"undefined"!=typeof window;function Gt(e,t=0){const n=10**t;return Math.round((e+Number.EPSILON)*n)/n}const $t=e=>void 0===e.type||"image"===e.type,Yt=(e,t)=>e.imageFit===Ot||e.imageFit!==Lt&&t===Ot;function Zt(e){if("number"==typeof e)return{pixel:e};if("string"==typeof e){const t=parseInt(e,10);return e.endsWith("%")?{percent:t}:{pixel:t}}return{pixel:0}}function Kt(e,t){const n=Zt(t),r=void 0!==n.percent?e.width/100*n.percent:n.pixel;return{width:Math.max(e.width-2*r,0),height:Math.max(e.height-2*r,0)}}const Jt=(e,t)=>t>0?(e%t+t)%t:0,Xt=e=>e.length>0,en=(e,t)=>Xt(e)?((e,t)=>e[Jt(t,e.length)])(e,t):void 0;function tn(e,t,n){if(!n)return e;const{buttons:r,...o}=e,i=r.findIndex((e=>e===t)),a=u.isValidElement(n)?u.cloneElement(n,{key:t},null):n;if(i>=0){const e=[...r];return e.splice(i,1,a),{buttons:e,...o}}return{buttons:[a,...r],...o}}function nn(){const e=e=>{e.stopPropagation()};return{onPointerDown:e,onKeyDown:e,onWheel:e}}const rn=u.createContext(null),on=Vt("useEvents","EventsContext",rn);function an({children:e}){const[t]=u.useState({});u.useEffect((()=>()=>{Object.keys(t).forEach((e=>delete t[e]))}),[t]);const n=u.useMemo((()=>{const e=(e,n)=>{var r;null===(r=t[e])||void 0===r||r.splice(0,t[e].length,...t[e].filter((e=>e!==n)))};return{publish:(...[e,n])=>{var r;null===(r=t[e])||void 0===r||r.forEach((e=>e(n)))},subscribe:(n,r)=>(t[n]||(t[n]=[]),t[n].push(r),()=>e(n,r)),unsubscribe:e}}),[t]);return u.createElement(rn.Provider,{value:n},e)}const ln=u.createContext(null),sn=Vt("useLightboxProps","LightboxPropsContext",ln);function un({children:e,...t}){return u.createElement(ln.Provider,{value:t},e)}const cn=u.createContext(null),dn=Vt("useLightboxState","LightboxStateContext",cn),fn=u.createContext(null),pn=Vt("useLightboxDispatch","LightboxDispatchContext",fn);function hn(e,t){switch(t.type){case"swipe":{const{slides:n}=e,r=(null==t?void 0:t.increment)||0,o=e.globalIndex+r,i=Jt(o,n.length);return{slides:n,currentIndex:i,globalIndex:o,currentSlide:en(n,i),animation:r||t.duration?{increment:r,duration:t.duration,easing:t.easing}:void 0}}case"update":return{slides:t.slides,currentIndex:t.index,globalIndex:t.index,currentSlide:en(t.slides,t.index)};default:throw new Error(Rt)}}function gn({slides:e,index:t,children:n}){const[r,o]=u.useReducer(hn,{slides:e,currentIndex:t,globalIndex:t,currentSlide:en(e,t)});u.useEffect((()=>{o({type:"update",slides:e,index:t})}),[e,t]);const i=u.useMemo((()=>({...r,state:r,dispatch:o})),[r,o]);return u.createElement(fn.Provider,{value:o},u.createElement(cn.Provider,{value:i},n))}const mn=u.createContext(null),vn=Vt("useTimeouts","TimeoutsContext",mn);function bn({children:e}){const[t]=u.useState([]);u.useEffect((()=>()=>{t.forEach((e=>window.clearTimeout(e))),t.splice(0,t.length)}),[t]);const n=u.useMemo((()=>{const e=e=>{t.splice(0,t.length,...t.filter((t=>t!==e)))};return{setTimeout:(n,r)=>{const o=window.setTimeout((()=>{e(o),n()}),r);return t.push(o),o},clearTimeout:t=>{void 0!==t&&(e(t),window.clearTimeout(t))}}}),[t]);return u.createElement(mn.Provider,{value:n},e)}const yn=u.forwardRef((function({label:e,className:t,icon:n,renderIcon:r,onClick:o,style:i,...a},l){const{styles:s,labels:c}=sn();return u.createElement("button",{ref:l,type:"button","aria-label":Ut(c,e),className:jt(Ft("button"),t),onClick:o,style:{...i,...s.button},...a},r?r():u.createElement(n,{className:Ft(Dt),style:s.icon}))}));function An(e,t){return function(e,t){const n=e=>u.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",width:"24",height:"24","aria-hidden":"true",focusable:"false",...e},t);return n.displayName=e,n}(e,u.createElement("g",{fill:"currentColor"},u.createElement("path",{d:"M0 0h24v24H0z",fill:"none"}),t))}const wn=An("Close",u.createElement("path",{d:"M19 6.41L17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z"})),xn=An("Previous",u.createElement("path",{d:"M15.41 7.41L14 6l-6 6 6 6 1.41-1.41L10.83 12z"})),En=An("Next",u.createElement("path",{d:"M10 6L8.59 7.41 13.17 12l-4.58 4.59L10 18l6-6z"})),kn=An("Loading",u.createElement(u.Fragment,null,Array.from({length:8}).map(((e,t,n)=>u.createElement("line",{key:t,x1:"12",y1:"6.5",x2:"12",y2:"1.8",strokeLinecap:"round",strokeWidth:"2.6",stroke:"currentColor",strokeOpacity:1/n.length*(t+1),transform:`rotate(${360/n.length*t}, 12, 12)`}))))),Sn=An("Error",u.createElement("path",{d:"M21.9,21.9l-8.49-8.49l0,0L3.59,3.59l0,0L2.1,2.1L0.69,3.51L3,5.83V19c0,1.1,0.9,2,2,2h13.17l2.31,2.31L21.9,21.9z M5,18 l3.5-4.5l2.5,3.01L12.17,15l3,3H5z M21,18.17L5.83,3H19c1.1,0,2,0.9,2,2V18.17z"})),_n=Qt()?u.useLayoutEffect:u.useEffect;function Cn(){const[e,t]=u.useState(!1);return u.useEffect((()=>{var e,n;const r=null===(e=window.matchMedia)||void 0===e?void 0:e.call(window,"(prefers-reduced-motion: reduce)");t(null==r?void 0:r.matches);const o=e=>t(e.matches);return null===(n=null==r?void 0:r.addEventListener)||void 0===n||n.call(r,"change",o),()=>{var e;return null===(e=null==r?void 0:r.removeEventListener)||void 0===e?void 0:e.call(r,"change",o)}}),[]),e}function Tn(e,t){const n=u.useRef(),r=u.useRef(),o=Cn();return _n((()=>{var i,a,l;if(e.current&&void 0!==n.current&&!o){const{keyframes:o,duration:s,easing:u,onfinish:c}=t(n.current,e.current.getBoundingClientRect(),function(e){let t=0,n=0,r=0;const o=window.getComputedStyle(e).transform.match(/matrix.*\((.+)\)/);if(o){const e=o[1].split(",").map((e=>Number.parseInt(e,10)));6===e.length?(t=e[4],n=e[5]):16===e.length&&(t=e[12],n=e[13],r=e[14])}return{x:t,y:n,z:r}}(e.current))||{};if(o&&s){null===(i=r.current)||void 0===i||i.cancel(),r.current=void 0;try{r.current=null===(l=(a=e.current).animate)||void 0===l?void 0:l.call(a,o,{duration:s,easing:u})}catch(e){console.error(e)}r.current&&(r.current.onfinish=()=>{r.current=void 0,null==c||c()})}}n.current=void 0})),{prepareAnimation:e=>{n.current=e},isAnimationPlaying:()=>{var e;return"running"===(null===(e=r.current)||void 0===e?void 0:e.playState)}}}function Dn(){const e=u.useRef(null),t=u.useRef(),[n,r]=u.useState(),o=u.useCallback((n=>{e.current=n,t.current&&(t.current.disconnect(),t.current=void 0);const o=()=>{if(n){const e=window.getComputedStyle(n),t=e=>parseFloat(e)||0;r({width:Math.round(n.clientWidth-t(e.paddingLeft)-t(e.paddingRight)),height:Math.round(n.clientHeight-t(e.paddingTop)-t(e.paddingBottom))})}else r(void 0)};o(),n&&"undefined"!=typeof ResizeObserver&&(t.current=new ResizeObserver(o),t.current.observe(n))}),[]);return{setContainerRef:o,containerRef:e,containerRect:n}}function Ln(){const e=u.useRef(),{setTimeout:t,clearTimeout:n}=vn();return u.useCallback(((r,o)=>{n(e.current),e.current=t(r,o>0?o:0)}),[t,n])}function On(e){const t=u.useRef(e);return _n((()=>{t.current=e})),u.useCallback(((...e)=>{var n;return null===(n=t.current)||void 0===n?void 0:n.call(t,...e)}),[])}function Rn(e,t){"function"==typeof e?e(t):e&&(e.current=t)}function Pn(e,t){return u.useMemo((()=>null==e&&null==t?null:n=>{Rn(e,n),Rn(t,n)}),[e,t])}function Mn(e,t=!1){const n=u.useRef();return _n((()=>{t&&n.current&&(n.current=!1,e())}),[t,e]),{onFocus:u.useCallback((()=>{n.current=!0}),[]),onBlur:u.useCallback((()=>{n.current=!1}),[])}}function Nn(){const[e,t]=u.useState(!1);return _n((()=>{t("rtl"===window.getComputedStyle(window.document.documentElement).direction)}),[]),e}function Bn(e,t){const n=u.useRef(0),r=Ln(),o=On(((...t)=>{n.current=Date.now(),e(t)}));return u.useCallback(((...e)=>{r((()=>{o(e)}),t-(Date.now()-n.current))}),[t,o,r])}const In=qt("slide"),jn=qt("slide_image");function Fn({slide:e,offset:t,render:n,rect:r,imageFit:o,imageProps:i,onClick:a,onLoad:l,style:s}){var c,d,f,p,h,g,m;const[v,b]=u.useState(dt),{publish:y}=on(),{setTimeout:A}=vn(),w=u.useRef(null);u.useEffect((()=>{0===t&&y(ht(v))}),[t,v,y]);const x=On((e=>{("decode"in e?e.decode():Promise.resolve()).catch((()=>{})).then((()=>{e.parentNode&&(b(pt),A((()=>{null==l||l(e)}),0))}))})),E=u.useCallback((e=>{w.current=e,(null==e?void 0:e.complete)&&x(e)}),[x]),k=u.useCallback((e=>{x(e.currentTarget)}),[x]),S=u.useCallback((()=>{b(ft)}),[]),_=Yt(e,o),C=(e,t)=>Number.isFinite(e)?e:t,T=C(Math.max(...(null!==(d=null===(c=e.srcSet)||void 0===c?void 0:c.map((e=>e.width)))&&void 0!==d?d:[]).concat(e.width?[e.width]:[]).filter(Boolean)),(null===(f=w.current)||void 0===f?void 0:f.naturalWidth)||0),D=C(Math.max(...(null!==(h=null===(p=e.srcSet)||void 0===p?void 0:p.map((e=>e.height)))&&void 0!==h?h:[]).concat(e.height?[e.height]:[]).filter(Boolean)),(null===(g=w.current)||void 0===g?void 0:g.naturalHeight)||0),L=T&&D?{maxWidth:`min(${T}px, 100%)`,maxHeight:`min(${D}px, 100%)`}:{maxWidth:"100%",maxHeight:"100%"},O=null===(m=e.srcSet)||void 0===m?void 0:m.sort(((e,t)=>e.width-t.width)).map((e=>`${e.src} ${e.width}w`)).join(", "),R=O&&r&&Qt()?`${Math.round(Math.min(r&&!_&&e.width&&e.height?r.height/e.height*e.width:Number.MAX_VALUE,r.width))}px`:void 0,{style:P,className:M,...N}=i||{};return u.createElement(u.Fragment,null,u.createElement("img",{ref:E,onLoad:k,onError:S,onClick:a,draggable:!1,className:jt(Ft(jn()),_&&Ft(jn("cover")),v!==pt&&Ft(jn("loading")),M),style:{...L,...s,...P},...N,alt:e.alt,sizes:R,srcSet:O,src:e.src}),v!==pt&&u.createElement("div",{className:Ft(In("placeholder"))},v===dt&&((null==n?void 0:n.iconLoading)?n.iconLoading():u.createElement(kn,{className:jt(Ft(Dt),Ft(In(dt)))})),v===ft&&((null==n?void 0:n.iconError)?n.iconError():u.createElement(Sn,{className:jt(Ft(Dt),Ft(In(ft)))}))))}var zn,Hn;function qn(e,t,n,r,o){u.useEffect((()=>o?()=>{}:Wt(e(xt,t),e(Et,n),e(kt,r),e(St,r),e(_t,r))),[e,t,n,r,o])}!function(e){e[e.NONE=0]="NONE",e[e.SWIPE=1]="SWIPE",e[e.PULL_DOWN=2]="PULL_DOWN",e[e.ANIMATION=3]="ANIMATION"}(zn||(zn={})),function(e){e[e.NONE=0]="NONE",e[e.SWIPE=1]="SWIPE",e[e.PULL_DOWN=2]="PULL_DOWN"}(Hn||(Hn={}));const Un="wheel";function Wn(e){(Math.abs(e.deltaX)>Math.abs(e.deltaY)||e.ctrlKey)&&e.preventDefault()}const Vn=qt("container"),Qn=u.createContext(null),Gn=Vt("useController","ControllerContext",Qn),$n=Mt(it,(function({children:e,...t}){var n;const{carousel:r,animation:o,controller:i,on:a,styles:l,render:s}=t,[c,d]=u.useState(),f=dn(),p=pn(),[h,g]=u.useState(zn.NONE),m=u.useRef(0),v=u.useRef(0),b=u.useRef(1),{registerSensors:y,subscribeSensors:A}=function(){const[e]=u.useState({}),t=u.useCallback(((t,n)=>{var r;null===(r=e[t])||void 0===r||r.forEach((e=>{n.isPropagationStopped()||e(n)}))}),[e]),n=u.useMemo((()=>({onPointerDown:e=>t(xt,e),onPointerMove:e=>t(Et,e),onPointerUp:e=>t(kt,e),onPointerLeave:e=>t(St,e),onPointerCancel:e=>t(_t,e),onKeyDown:e=>t(Ct,e),onKeyUp:e=>t("onKeyUp",e),onWheel:e=>t(Tt,e)})),[t]),r=u.useCallback(((t,n)=>(e[t]||(e[t]=[]),e[t].unshift(n),()=>{const r=e[t];r&&r.splice(0,r.length,...r.filter((e=>e!==n)))})),[e]);return{registerSensors:n,subscribeSensors:r}}(),{subscribe:w,publish:x}=on(),E=Ln(),k=Ln(),S=Ln(),{containerRef:_,setContainerRef:C,containerRect:T}=Dn(),D=Pn(function(){const e=u.useRef(null);return u.useCallback((t=>{var n;t?t.addEventListener(Un,Wn,{passive:!1}):null===(n=e.current)||void 0===n||n.removeEventListener(Un,Wn),e.current=t}),[])}(),C),L=u.useRef(null),O=Pn(L,void 0),R=Nn(),P=e=>(R?-1:1)*("number"==typeof e?e:1),M=On((()=>{var e;return null===(e=_.current)||void 0===e?void 0:e.focus()})),N=On((()=>t)),B=On((()=>f)),I=u.useCallback((e=>x(bt,e)),[x]),j=u.useCallback((e=>x(yt,e)),[x]),F=u.useCallback((()=>x(wt)),[x]),z=e=>!(r.finite&&(P(e)>0&&0===f.currentIndex||P(e)<0&&f.currentIndex===f.slides.length-1)),H=e=>{var t;m.current=e,null===(t=_.current)||void 0===t||t.style.setProperty(zt("swipe_offset"),`${Math.round(e)}px`)},{closeOnPullDown:q}=i,U=e=>{var t,n;v.current=e,b.current=Math.min(Math.max(Gt(1-e/60*.5,2),.5),1),null===(t=_.current)||void 0===t||t.style.setProperty(zt("pull_down_offset"),`${Math.round(e)}px`),null===(n=_.current)||void 0===n||n.style.setProperty(zt("pull_down_opacity"),`${b.current}`)},{prepareAnimation:W}=Tn(L,((e,t,n)=>{if(L.current&&T)return{keyframes:[{transform:`translate(0, ${e.rect.y-t.y+n.y}px)`,opacity:e.opacity},{transform:"translate(0, 0)",opacity:1}],duration:e.duration,easing:o.easing.fade}})),V=(e,t)=>{if(q){U(e);let n=0;L.current&&(n=o.fade*(t?2:1),W({rect:L.current.getBoundingClientRect(),opacity:b.current,duration:n})),S((()=>{U(0),g(zn.NONE)}),n),g(zn.ANIMATION),t||F()}},{prepareAnimation:Q,isAnimationPlaying:G}=Tn(L,((e,t,n)=>{var o;if(L.current&&T&&(null===(o=f.animation)||void 0===o?void 0:o.duration)){const o=Zt(r.spacing),i=(o.percent?o.percent*T.width/100:o.pixel)||0;return{keyframes:[{transform:`translate(${P(f.globalIndex-e.index)*(T.width+i)+e.rect.x-t.x+n.x}px, 0)`},{transform:"translate(0, 0)"}],duration:f.animation.duration,easing:f.animation.easing}}})),$=On((e=>{var t,n;const r=e.offset||0,i=r?o.swipe:null!==(t=o.navigation)&&void 0!==t?t:o.swipe,a=r||G()?o.easing.swipe:o.easing.navigation;let{direction:l}=e;const s=null!==(n=e.count)&&void 0!==n?n:1;let u=zn.ANIMATION,c=i*s;if(!l){const t=null==T?void 0:T.width,n=e.duration||0,o=t?i/t*Math.abs(r):i;0!==s?(n<o?c=c/o*Math.max(n,o/5):t&&(c=i/t*(t-Math.abs(r))),l=P(r)>0?bt:yt):c=i/2}let d=0;l===bt?z(P(1))?d=-s:(u=zn.NONE,c=i):l===yt&&(z(P(-1))?d=s:(u=zn.NONE,c=i)),c=Math.round(c),k((()=>{H(0),g(zn.NONE)}),c),L.current&&Q({rect:L.current.getBoundingClientRect(),index:f.globalIndex}),g(u),x(At,{type:"swipe",increment:d,duration:c,easing:a})}));u.useEffect((()=>{var e,t;(null===(e=f.animation)||void 0===e?void 0:e.increment)&&(null===(t=f.animation)||void 0===t?void 0:t.duration)&&E((()=>p({type:"swipe",increment:0})),f.animation.duration)}),[f.animation,p,E]);const Y=[A,z,(null==T?void 0:T.width)||0,o.swipe,()=>g(zn.SWIPE),e=>H(e),(e,t)=>$({offset:e,duration:t,count:1}),e=>$({offset:e,count:0})],Z=[()=>{q&&g(zn.PULL_DOWN)},e=>U(e),e=>V(e),e=>V(e,!0)];!function(e,t,n,r,o,i,a,l,s,c,d,f,p){const h=u.useRef(0),g=u.useRef([]),m=u.useRef(),v=u.useRef(0),b=u.useRef(Hn.NONE),y=u.useCallback((e=>{m.current===e.pointerId&&(m.current=void 0,b.current=Hn.NONE);const t=g.current;t.splice(0,t.length,...t.filter((t=>t.pointerId!==e.pointerId)))}),[]),A=u.useCallback((e=>{y(e),e.persist(),g.current.push(e)}),[y]),w=On((e=>{A(e)})),x=On((e=>{if(g.current.find((t=>t.pointerId===e.pointerId))&&m.current===e.pointerId){const e=Date.now()-v.current,t=h.current;b.current===Hn.SWIPE?Math.abs(t)>.3*n||Math.abs(t)>5&&e<r?a(t,e):l(t):b.current===Hn.PULL_DOWN&&(t>60?f(t,e):p(t)),h.current=0,b.current=Hn.NONE}y(e)})),E=On((e=>{const n=g.current.find((t=>t.pointerId===e.pointerId));if(n){const r=m.current===e.pointerId;if(0===e.buttons)return void(r&&0!==h.current?x(e):y(n));const a=e.clientX-n.clientX,l=e.clientY-n.clientY;if(void 0===m.current){const n=t=>{A(e),m.current=e.pointerId,v.current=Date.now(),b.current=t};Math.abs(a)>Math.abs(l)&&Math.abs(a)>30&&t(a)?(n(Hn.SWIPE),o()):s&&Math.abs(l)>Math.abs(a)&&l>30&&(n(Hn.PULL_DOWN),c())}else r&&(b.current===Hn.SWIPE?(h.current=a,i(a)):b.current===Hn.PULL_DOWN&&(h.current=l,d(l)))}}));qn(e,w,E,x)}(...Y,q,...Z),function(e,t,n,r,o,i,a,l,s){const c=u.useRef(0),d=u.useRef(0),f=u.useRef(),p=u.useRef(),h=u.useRef(0),g=u.useRef(0),{setTimeout:m,clearTimeout:v}=vn(),b=u.useCallback((()=>{f.current&&(v(f.current),f.current=void 0)}),[v]),y=u.useCallback((()=>{p.current&&(v(p.current),p.current=void 0)}),[v]),A=On((()=>{e!==zn.SWIPE&&(c.current=0,g.current=0,b(),y())}));u.useEffect(A,[e,A]);const w=On((e=>{p.current=void 0,c.current===e&&s(c.current)})),x=On((t=>{if(!(t.ctrlKey||Math.abs(t.deltaY)>Math.abs(t.deltaX)))if(e===zn.NONE){if(Math.abs(t.deltaX)<=1.2*Math.abs(h.current))return void(h.current=t.deltaX);if(!n(-t.deltaX))return;if(d.current+=t.deltaX,b(),Math.abs(d.current)>30)d.current=0,h.current=0,g.current=Date.now(),i();else{const e=d.current;f.current=m((()=>{f.current=void 0,e===d.current&&(d.current=0)}),o)}}else if(e===zn.SWIPE){let e=c.current-t.deltaX;if(e=Math.min(Math.abs(e),r)*Math.sign(e),c.current=e,a(e),y(),Math.abs(e)>.2*r)return h.current=t.deltaX,void l(e,Date.now()-g.current);p.current=m((()=>w(e)),2*o)}else h.current=t.deltaX}));u.useEffect((()=>t(Tt,x)),[t,x])}(h,...Y);const K=On((()=>{var e;i.focus&&(null===(e=_.current)||void 0===e||e.focus())}));u.useEffect(K,[K]);const J=On((()=>{var e;null===(e=a.view)||void 0===e||e.call(a,{index:f.currentIndex})}));u.useEffect(J,[f.globalIndex,J]),u.useEffect((()=>Wt(w(bt,(e=>$({direction:bt,...e}))),w(yt,(e=>$({direction:yt,...e}))),w(At,(e=>p(e))))),[w,$,p]);const X=u.useMemo((()=>({prev:I,next:j,close:F,focus:M,slideRect:T?Kt(T,r.padding):{width:0,height:0},containerRect:T||{width:0,height:0},subscribeSensors:A,containerRef:_,setCarouselRef:O,toolbarWidth:c,setToolbarWidth:d})),[I,j,F,M,A,T,_,O,c,d,r.padding]);return u.useImperativeHandle(i.ref,(()=>({prev:I,next:j,close:F,focus:M,getLightboxProps:N,getLightboxState:B})),[I,j,F,M,N,B]),u.createElement("div",{ref:D,className:jt(Ft(Vn()),Ft(mt)),style:{...h===zn.SWIPE?{[zt("swipe_offset")]:`${Math.round(m.current)}px`}:null,...h===zn.PULL_DOWN?{[zt("pull_down_offset")]:`${Math.round(v.current)}px`,[zt("pull_down_opacity")]:`${b.current}`}:null,..."none"!==i.touchAction?{[zt("controller_touch_action")]:i.touchAction}:null,...l.container},...i.aria?{role:"presentation","aria-live":"polite"}:null,tabIndex:-1,...y},T&&u.createElement(Qn.Provider,{value:X},e,null===(n=s.controls)||void 0===n?void 0:n.call(s)))}));function Yn(e){return Ht(ot,e)}function Zn(e){return Ht("slide",e)}function Kn({slide:e,offset:t}){const n=u.useRef(null),{currentIndex:r}=dn(),{slideRect:o,close:i}=Gn(),{render:a,carousel:{imageFit:l,imageProps:s},on:{click:c},controller:{closeOnBackdropClick:d},styles:{slide:f}}=sn();return u.createElement("div",{ref:n,className:jt(Ft(Zn()),0===t&&Ft(Zn("current")),Ft(mt)),onClick:e=>{const t=n.current,r=e.target instanceof HTMLElement?e.target:void 0;d&&r&&t&&(r===t||Array.from(t.children).find((e=>e===r))&&r.classList.contains(Ft(gt)))&&i()},style:f},(()=>{var n,i,d,f;let p=null===(n=a.slide)||void 0===n?void 0:n.call(a,{slide:e,offset:t,rect:o});return!p&&$t(e)&&(p=u.createElement(Fn,{slide:e,offset:t,render:a,rect:o,imageFit:l,imageProps:s,onClick:0===t?()=>null==c?void 0:c({index:r}):void 0})),p?u.createElement(u.Fragment,null,null===(i=a.slideHeader)||void 0===i?void 0:i.call(a,{slide:e}),(null!==(d=a.slideContainer)&&void 0!==d?d:({children:e})=>e)({slide:e,children:p}),null===(f=a.slideFooter)||void 0===f?void 0:f.call(a,{slide:e})):null})())}function Jn(){const e=sn().styles.slide;return u.createElement("div",{className:Ft("slide"),style:e})}const Xn=Mt(ot,(function({carousel:e}){const{slides:t,currentIndex:n,globalIndex:r}=dn(),{setCarouselRef:o}=Gn(),i=Zt(e.spacing),a=Zt(e.padding),l=[],s=function(e,t,n=0){return Math.min(e.preload,Math.max(e.finite?t.length-1:Math.floor(t.length/2),n))}(e,t,1);if(Xt(t)){for(let o=n-s;o<n;o+=1){const i=r+o-n;l.push(!e.finite||o>=0?u.createElement(Kn,{key:i,slide:t[(o+s*t.length)%t.length],offset:o-n}):u.createElement(Jn,{key:i}))}l.push(u.createElement(Kn,{key:r,slide:t[n],offset:0}));for(let o=n+1;o<=n+s;o+=1){const i=r+o-n;l.push(!e.finite||o<=t.length-1?u.createElement(Kn,{key:i,slide:t[o%t.length],offset:o-n}):u.createElement(Jn,{key:i}))}}return u.createElement("div",{ref:o,className:jt(Ft(Yn()),l.length>0&&Ft(Yn("with_slides"))),style:{[`${zt(Yn("slides_count"))}`]:l.length,[`${zt(Yn("spacing_px"))}`]:i.pixel||0,[`${zt(Yn("spacing_percent"))}`]:i.percent||0,[`${zt(Yn("padding_px"))}`]:a.pixel||0,[`${zt(Yn("padding_percent"))}`]:a.percent||0}},l)}));function er(){const{carousel:e}=sn(),{slides:t,currentIndex:n}=dn();return{prevDisabled:0===t.length||e.finite&&0===n,nextDisabled:0===t.length||e.finite&&n===t.length-1}}function tr({label:e,icon:t,renderIcon:n,action:r,onClick:o,disabled:i,style:a}){return u.createElement(yn,{label:e,icon:t,renderIcon:n,className:Ft(`navigation_${r}`),disabled:i,onClick:o,style:a,...Mn(Gn().focus,i)})}const nr=Mt("navigation",(function({render:{buttonPrev:e,buttonNext:t,iconPrev:n,iconNext:r},styles:o}){const{prev:i,next:a,subscribeSensors:l}=Gn(),{prevDisabled:s,nextDisabled:c}=er();return function(e){var t;const n=Nn(),{publish:r}=on(),{animation:o}=sn(),{prevDisabled:i,nextDisabled:a}=er(),l=(null!==(t=o.navigation)&&void 0!==t?t:o.swipe)/2,s=Bn((()=>r(bt)),l),c=Bn((()=>r(yt)),l),d=On((e=>{switch(e.key){case"Escape":r(wt);break;case"ArrowLeft":(n?a:i)||(n?c:s)();break;case"ArrowRight":(n?i:a)||(n?s:c)()}}));u.useEffect((()=>e(Ct,d)),[e,d])}(l),u.createElement(u.Fragment,null,e?e():u.createElement(tr,{label:"Previous",action:bt,icon:xn,renderIcon:n,style:o.navigationPrev,disabled:s,onClick:i}),t?t():u.createElement(tr,{label:"Next",action:yt,icon:En,renderIcon:r,style:o.navigationNext,disabled:c,onClick:a}))})),rr=Ft("no_scroll"),or=Ft(vt);function ir(e){return"style"in e}function ar(e,t,n){const r=window.getComputedStyle(e),o=n?"padding-left":"padding-right",i=n?r.paddingLeft:r.paddingRight,a=e.style.getPropertyValue(o);return e.style.setProperty(o,`${(parseInt(i,10)||0)+t}px`),()=>{a?e.style.setProperty(o,a):e.style.removeProperty(o)}}const lr=Mt("no-scroll",(function({noScroll:{disabled:e},children:t}){const n=Nn();return _n((()=>{if(e)return()=>{};const t=[],{body:r,documentElement:o}=document,i=Math.round(window.innerWidth-o.clientWidth);if(i>0){t.push(ar(r,i,n));const e=r.getElementsByTagName("*");for(let r=0;r<e.length;r+=1){const o=e[r];ir(o)&&"fixed"===window.getComputedStyle(o).getPropertyValue("position")&&!o.classList.contains(or)&&t.push(ar(o,i,n))}}return r.classList.add(rr),()=>{r.classList.remove(rr),t.forEach((e=>e()))}}),[n,e]),u.createElement(u.Fragment,null,t)}));function sr(e){return Ht(at,e)}function ur(e,t,n){const r=e.getAttribute(t);return e.setAttribute(t,n),()=>{r?e.setAttribute(t,r):e.removeAttribute(t)}}const cr=Mt(at,(function({children:e,animation:t,styles:n,className:r,on:o,portal:i,close:a}){const[l,s]=u.useState(!1),[c,f]=u.useState(!1),p=u.useRef([]),{setTimeout:h}=vn(),{subscribe:g}=on(),m=Cn()?0:t.fade;u.useEffect((()=>(s(!0),()=>{s(!1),f(!1)})),[]);const v=On((()=>{var e;f(!1),null===(e=o.exiting)||void 0===e||e.call(o),h((()=>{var e;null===(e=o.exited)||void 0===e||e.call(o),a()}),m)}));u.useEffect((()=>g(wt,v)),[g,v]);const b=On((e=>{var t,n,r;e.scrollTop,f(!0),null===(t=o.entering)||void 0===t||t.call(o);const i=null!==(r=null===(n=e.parentNode)||void 0===n?void 0:n.children)&&void 0!==r?r:[];for(let t=0;t<i.length;t+=1){const n=i[t];-1===["TEMPLATE","SCRIPT","STYLE"].indexOf(n.tagName)&&n!==e&&(p.current.push(ur(n,"inert","true")),p.current.push(ur(n,"aria-hidden","true")))}h((()=>{var e;null===(e=o.entered)||void 0===e||e.call(o)}),m)})),y=On((()=>{p.current.forEach((e=>e())),p.current=[]})),A=u.useCallback((e=>{e?b(e):y()}),[b,y]);return l?(0,d.createPortal)(u.createElement("div",{ref:A,className:jt(r,Ft("root"),Ft(sr()),Ft(vt),c&&Ft(sr("open"))),role:"presentation","aria-live":"polite",style:{...t.fade!==Pt.animation.fade?{[zt("fade_animation_duration")]:`${m}ms`}:null,...t.easing.fade!==Pt.animation.easing.fade?{[zt("fade_animation_timing_function")]:t.easing.fade}:null,...n.root}},e),i.root||document.body):null})),dr=Mt("root",(function({children:e}){return u.createElement(u.Fragment,null,e)})),fr=Mt(lt,(function({toolbar:{buttons:e},render:{buttonClose:t,iconClose:n},styles:r}){const{close:o,setToolbarWidth:i}=Gn(),{setContainerRef:a,containerRect:l}=Dn();return _n((()=>{i(null==l?void 0:l.width)}),[i,null==l?void 0:l.width]),u.createElement("div",{ref:a,style:r.toolbar,className:Ft(Ht(lt,undefined)),...nn()},null==e?void 0:e.map((e=>e===wt?t?t():u.createElement(yn,{key:wt,label:"Close",icon:wn,renderIcon:n,onClick:o}):e)))}));function pr(e,t){var n;return u.createElement(e.module.component,{key:e.module.name,...t},null===(n=e.children)||void 0===n?void 0:n.map((e=>pr(e,t))))}function hr(e,t={}){const{easing:n,...r}=e,{easing:o,...i}=t;return{easing:{...n,...o},...r,...i}}function gr({carousel:e,animation:t,render:n,toolbar:r,controller:o,noScroll:i,on:a,plugins:l,slides:s,index:c,...d}){const{animation:f,carousel:p,render:h,toolbar:g,controller:m,noScroll:v,on:b,slides:y,index:A,plugins:w,...x}=Pt,{config:E,augmentation:k}=function(e,t=[],n=[]){let r=e;const o=e=>{const t=[...r];for(;t.length>0;){const n=t.pop();if((null==n?void 0:n.module.name)===e)return!0;(null==n?void 0:n.children)&&t.push(...n.children)}return!1},i=(e,t)=>{r=""!==e?It(r,e,(e=>[Nt(t,[e])])):[Nt(t,r)]},a=(e,t)=>{r=It(r,e,(e=>[Nt(e.module,[Nt(t,e.children)])]))},l=(e,t,n)=>{r=It(r,e,(e=>{var r;return[Nt(e.module,[...n?[Nt(t)]:[],...null!==(r=e.children)&&void 0!==r?r:[],...n?[]:[Nt(t)]])]}))},s=(e,t,n)=>{r=It(r,e,(e=>[...n?[Nt(t)]:[],e,...n?[]:[Nt(t)]]))},u=e=>{a(it,e)},c=(e,t)=>{r=It(r,e,(e=>[Nt(t,e.children)]))},d=e=>{r=It(r,e,(e=>e.children))},f=e=>{n.push(e)};return t.forEach((e=>{e({contains:o,addParent:i,append:a,addChild:l,addSibling:s,addModule:u,replace:c,remove:d,augment:f})})),{config:r,augmentation:e=>n.reduce(((e,t)=>t(e)),e)}}([Nt(cr,[Nt(lr,[Nt($n,[Nt(Xn),Nt(fr),Nt(nr)])])])],l||w),S=k({animation:hr(f,t),carousel:{...p,...e},render:{...h,...n},toolbar:{...g,...r},controller:{...m,...o},noScroll:{...v,...i},on:{...b,...a},...x,...d});return S.open?u.createElement(un,{...S},u.createElement(gn,{slides:s||y,index:c||A},u.createElement(bn,null,u.createElement(an,null,pr(Nt(dr,E),S))))):null}var mr=o(3379),vr=o.n(mr),br=o(7795),yr=o.n(br),Ar=o(569),wr=o.n(Ar),xr=o(3565),Er=o.n(xr),kr=o(9216),Sr=o.n(kr),_r=o(4589),Cr=o.n(_r),Tr=o(6185),Dr={};Dr.styleTagTransform=Cr(),Dr.setAttributes=Er(),Dr.insert=wr().bind(null,"head"),Dr.domAPI=yr(),Dr.insertStyleElement=Sr(),vr()(Tr.Z,Dr),Tr.Z&&Tr.Z.locals&&Tr.Z.locals;const Lr={download:void 0},Or=e=>({...Lr,...e});function Rr(e){try{e.dispatchEvent(new MouseEvent("click"))}catch(t){const n=document.createEvent("MouseEvents");n.initMouseEvent("click",!0,!0,window,0,0,0,80,20,!1,!1,!1,!1,0,null),e.dispatchEvent(n)}}function Pr(e,t){const n=document.createElement("a");n.rel="noopener",n.download=t||"",n.download||(n.target="_blank"),"string"==typeof e?(n.href=e,n.origin!==window.location.origin?function(e){const t=new XMLHttpRequest;t.open("HEAD",e,!1);try{t.send()}catch(e){}return t.status>=200&&t.status<=299}(n.href)?function(e,t){const n=new XMLHttpRequest;n.open("GET",e),n.responseType="blob",n.onload=()=>{Pr(n.response,t)},n.onerror=()=>{console.error("Failed to download file")},n.send()}(e,t):(n.target="_blank",Rr(n)):Rr(n)):(n.href=URL.createObjectURL(e),setTimeout((()=>URL.revokeObjectURL(n.href)),3e4),setTimeout((()=>Rr(n)),0))}const Mr=An("DownloadIcon",u.createElement("path",{d:"M18 15v3H6v-3H4v3c0 1.1.9 2 2 2h12c1.1 0 2-.9 2-2v-3h-2zm-1-4-1.41-1.41L13 12.17V4h-2v8.17L8.41 9.59 7 11l5 5 5-5z"}));function Nr(){const{render:e,on:t,download:n}=sn(),{download:r}=Or(n),{currentSlide:o,currentIndex:i}=dn();if(e.buttonDownload)return u.createElement(u.Fragment,null,e.buttonDownload());const a=o&&(o.downloadUrl||"string"==typeof o.download&&o.download||"object"==typeof o.download&&o.download.url||$t(o)&&o.src)||void 0,l=r?!1!==(null==o?void 0:o.download):Boolean(a),s=()=>{if(o&&a){const e=o.downloadFilename||"object"==typeof o.download&&o.download.filename||void 0;Pr(a,e)}};return u.createElement(yn,{label:"Download",icon:Mr,renderIcon:e.iconDownload,disabled:!l,onClick:()=>{var e;o&&((r||s)({slide:o,saveAs:Pr}),null===(e=t.download)||void 0===e||e.call(t,{index:i}))}})}function Br({augment:e}){e((({toolbar:e,download:t,...n})=>({toolbar:tn(e,"download",u.createElement(Nr,null)),download:Or(t),...n})))}const Ir={auto:!1,ref:null},jr=e=>({...Ir,...e}),Fr=u.createContext(null),zr=Vt("useFullscreen","FullscreenContext",Fr);function Hr({fullscreen:e,children:t}){const{auto:n,ref:r}=jr(e),o=u.useRef(null),[i,a]=u.useState(!1),[l,s]=u.useState();_n((()=>{var e,t,n,r;s(!(null!==(r=null!==(n=null!==(t=null!==(e=document.fullscreenEnabled)&&void 0!==e?e:document.webkitFullscreenEnabled)&&void 0!==t?t:document.mozFullScreenEnabled)&&void 0!==n?n:document.msFullscreenEnabled)&&void 0!==r&&r))}),[]);const c=u.useCallback((()=>{var e,t,n;return null!==(n=null!==(t=null!==(e=document.fullscreenElement)&&void 0!==e?e:document.webkitFullscreenElement)&&void 0!==t?t:document.mozFullScreenElement)&&void 0!==n?n:document.msFullscreenElement}),[]),d=u.useCallback((()=>{const e=o.current;if(e)try{e.requestFullscreen?e.requestFullscreen().catch((()=>{})):e.webkitRequestFullscreen?e.webkitRequestFullscreen():e.mozRequestFullScreen?e.mozRequestFullScreen():e.msRequestFullscreen&&e.msRequestFullscreen()}catch(e){}}),[]),f=u.useCallback((()=>{if(c())try{document.exitFullscreen?document.exitFullscreen().catch((()=>{})):document.webkitExitFullscreen?document.webkitExitFullscreen():document.mozCancelFullScreen?document.mozCancelFullScreen():document.msExitFullscreen&&document.msExitFullscreen()}catch(e){}}),[c]),p=u.useCallback((()=>{c()===o.current?a(!0):a(!1)}),[c]);u.useEffect((()=>{const e=["fullscreenchange","webkitfullscreenchange","mozfullscreenchange","MSFullscreenChange"];return e.forEach((e=>{document.addEventListener(e,p)})),()=>{e.forEach((e=>{document.removeEventListener(e,p)}))}}),[p]);const h=On((()=>{var e;return null===(e=n?d:null)||void 0===e?void 0:e()}));u.useEffect((()=>(h(),()=>f())),[h,f]);const g=u.useMemo((()=>({fullscreen:i,disabled:l,enter:d,exit:f})),[i,l,d,f]);return u.useImperativeHandle(r,(()=>g),[g]),u.createElement("div",{ref:o,className:jt(Ft(st),Ft(gt))},u.createElement(Fr.Provider,{value:g},t))}const qr=An("EnterFullscreen",u.createElement("path",{d:"M7 14H5v5h5v-2H7v-3zm-2-4h2V7h3V5H5v5zm12 7h-3v2h5v-5h-2v3zM14 5v2h3v3h2V5h-5z"})),Ur=An("ExitFullscreen",u.createElement("path",{d:"M5 16h3v3h2v-5H5v2zm3-8H5v2h5V5H8v3zm6 11h2v-3h3v-2h-5v5zm2-11V5h-2v5h5V8h-3z"}));function Wr(){var e;const{fullscreen:t,disabled:n,enter:r,exit:o}=zr(),{render:i}=sn();return n?null:i.buttonFullscreen?u.createElement(u.Fragment,null,null===(e=i.buttonFullscreen)||void 0===e?void 0:e.call(i,{fullscreen:t,disabled:n,enter:r,exit:o})):u.createElement(yn,{disabled:n,label:t?"Exit Fullscreen":"Enter Fullscreen",icon:t?Ur:qr,renderIcon:t?i.iconExitFullscreen:i.iconEnterFullscreen,onClick:t?o:r})}function Vr({augment:e,contains:t,addParent:n}){e((({fullscreen:e,toolbar:t,...n})=>({toolbar:tn(t,st,u.createElement(Wr,null)),fullscreen:jr(e),...n}))),n(t(ut)?ut:it,Mt(st,Hr))}const Qr={maxZoomPixelRatio:1,zoomInMultiplier:2,doubleTapDelay:300,doubleClickDelay:500,doubleClickMaxStops:2,keyboardMoveDistance:50,wheelZoomDistanceFactor:100,pinchZoomDistanceFactor:100,scrollToZoom:!1},Gr=e=>({...Qr,...e});function $r(){const{zoom:e}=sn();return Gr(e)}function Yr(e,t){return((e.clientX-t.clientX)**2+(e.clientY-t.clientY)**2)**.5}const Zr=u.createContext(null),Kr=Vt("useZoom","ZoomControllerContext",Zr);function Jr({children:e}){const[t,n]=u.useState(),{slideRect:r}=Gn(),{imageRect:o,maxZoom:i}=function(e,t){var n,r;let o={width:0,height:0},i={width:0,height:0};const{slides:a,currentIndex:l}=dn(),{imageFit:s}=sn().carousel,{maxZoomPixelRatio:u}=$r();if(e&&l<a.length){const c={...a[l],...t};if($t(c)){const t=Yt(c,s),a=Math.max(...((null===(n=c.srcSet)||void 0===n?void 0:n.map((e=>e.width)))||[]).concat(c.width?[c.width]:[])),l=Math.max(...((null===(r=c.srcSet)||void 0===r?void 0:r.map((e=>e.height)))||[]).concat(c.height?[c.height]:[]));a>0&&l>0&&e.width>0&&e.height>0&&(i=t?{width:Math.round(Math.min(a,e.width/e.height*l)),height:Math.round(Math.min(l,e.height/e.width*a))}:{width:a,height:l},i={width:i.width*u,height:i.height*u},o=t?{width:Math.min(e.width,i.width,a),height:Math.min(e.height,i.height,l)}:{width:Math.round(Math.min(e.width,e.height/l*a,a)),height:Math.round(Math.min(e.height,e.width/a*l,l))})}}return{imageRect:o,maxZoom:o.width?Math.max(Gt(i.width/o.width,5),1):1}}(r,null==t?void 0:t.imageDimensions),{zoom:a,offsetX:l,offsetY:s,disabled:c,changeZoom:d,changeOffsets:f,zoomIn:p,zoomOut:h}=function(e,t,n){const[r,o]=u.useState(1),[i,a]=u.useState(0),[l,s]=u.useState(0),c=function(e,t,n,r){const o=u.useRef(),i=u.useRef(),{zoom:a}=sn().animation,l=Cn(),s=On((()=>{var s,u,c;if(null===(s=o.current)||void 0===s||s.cancel(),o.current=void 0,i.current&&(null==r?void 0:r.current)){try{o.current=null===(c=(u=r.current).animate)||void 0===c?void 0:c.call(u,[{transform:i.current},{transform:`scale(${e}) translateX(${t}px) translateY(${n}px)`}],{duration:l?0:null!=a?a:500,easing:o.current?"ease-out":"ease-in-out"})}catch(e){console.error(e)}i.current=void 0,o.current&&(o.current.onfinish=()=>{o.current=void 0})}}));return _n(s,[e,t,n,s]),u.useCallback((()=>{i.current=(null==r?void 0:r.current)?window.getComputedStyle(r.current).transform:void 0}),[r])}(r,i,l,n),{slides:d,currentIndex:f,globalIndex:p}=dn(),{containerRect:h,slideRect:g}=Gn(),{zoomInMultiplier:m}=$r(),v=function(e,t){if(t<e.length){const n=e[t];if($t(n))return n.src}}(d,f),b=!v||!(null==n?void 0:n.current);_n((()=>{o(1),a(0),s(0)}),[p,v]);const y=u.useCallback(((t,n,o)=>{const u=o||r,c=i-(t||0),d=l-(n||0),f=(e.width*u-g.width)/2/u,p=(e.height*u-g.height)/2/u;a(Math.min(Math.abs(c),Math.max(f,0))*Math.sign(c)),s(Math.min(Math.abs(d),Math.max(p,0))*Math.sign(d))}),[r,i,l,g,e.width,e.height]),A=u.useCallback(((e,n,i,a)=>{const l=Gt(Math.min(Math.max(e+.001<t?e:t,1),t),5);l!==r&&(n||c(),y(i?i*(1/r-1/l):0,a?a*(1/r-1/l):0,l),o(l))}),[r,t,y,c]),w=On((()=>{r>1&&(r>t&&A(t,!0),y())}));_n(w,[h.width,h.height,w]);const x=u.useCallback((()=>A(r*m)),[r,m,A]),E=u.useCallback((()=>A(r/m)),[r,m,A]);return{zoom:r,offsetX:i,offsetY:l,disabled:b,changeOffsets:y,changeZoom:A,zoomIn:x,zoomOut:E}}(o,i,null==t?void 0:t.zoomWrapperRef);!function(e,t){const{on:n}=sn(),r=On((()=>{var r;t||null===(r=n.zoom)||void 0===r||r.call(n,{zoom:e})}));u.useEffect(r,[e,r])}(a,c),function(e,t,n,r,o,i){const a=u.useRef([]),l=u.useRef(0),s=u.useRef(),{globalIndex:c}=dn(),{containerRef:d,subscribeSensors:f}=Gn(),{keyboardMoveDistance:p,zoomInMultiplier:h,wheelZoomDistanceFactor:g,scrollToZoom:m,doubleTapDelay:v,doubleClickDelay:b,doubleClickMaxStops:y,pinchZoomDistanceFactor:A}=$r(),w=u.useCallback((e=>{if(d.current){const{pageX:t,pageY:n}=e,{scrollX:r,scrollY:o}=window,{left:i,top:a,width:l,height:s}=d.current.getBoundingClientRect();return[t-i-r-l/2,n-a-o-s/2]}return[]}),[d]),x=On((t=>{const n=()=>{t.preventDefault(),t.stopPropagation()};if(e>1){const e=(e,t)=>{n(),o(e,t)};"ArrowDown"===t.key?e(0,p):"ArrowUp"===t.key?e(0,-p):"ArrowLeft"===t.key?e(-p,0):"ArrowRight"===t.key&&e(p,0)}const i=e=>{n(),r(e)},a=()=>t.getModifierState("Meta");"+"===t.key||"="===t.key&&a()?i(e*h):"-"===t.key||"_"===t.key&&a()?i(e/h):"0"===t.key&&a()&&i(1)})),E=On((t=>{if((t.ctrlKey||m)&&Math.abs(t.deltaY)>Math.abs(t.deltaX))return t.stopPropagation(),void r(e*(1-t.deltaY/g),!0,...w(t));e>1&&(t.stopPropagation(),m||o(t.deltaX,t.deltaY))})),k=u.useCallback((e=>{const t=a.current;t.splice(0,t.length,...t.filter((t=>t.pointerId!==e.pointerId)))}),[]),S=u.useCallback((e=>{k(e),e.persist(),a.current.push(e)}),[k]),_=On((n=>{var o;const u=a.current;if(!(null===(o=null==i?void 0:i.current)||void 0===o?void 0:o.contains(n.target)))return;e>1&&n.stopPropagation();const{timeStamp:c}=n;0===u.length&&c-l.current<("touch"===n.pointerType?v:b)?(l.current=0,r(e!==t?e*Math.max(t**(1/y),h):1,!1,...w(n))):l.current=c,S(n),2===u.length&&(s.current=Yr(u[0],u[1]))})),C=On((t=>{const n=a.current,i=n.find((e=>e.pointerId===t.pointerId));if(2===n.length&&s.current){t.stopPropagation(),S(t);const o=Yr(n[0],n[1]),i=o-s.current;Math.abs(i)>0&&(r(e*(1+i/A),!0,...n.map((e=>w(e))).reduce(((e,t)=>t.map(((t,n)=>e[n]+t/2))))),s.current=o)}else e>1&&(t.stopPropagation(),i&&(1===n.length&&o((i.clientX-t.clientX)/e,(i.clientY-t.clientY)/e),S(t)))})),T=u.useCallback((e=>{const t=a.current;2===t.length&&t.find((t=>t.pointerId===e.pointerId))&&(s.current=void 0),k(e)}),[k]),D=u.useCallback((()=>{const e=a.current;e.splice(0,e.length),l.current=0,s.current=void 0}),[]);qn(f,_,C,T,n),u.useEffect(D,[c,D]),u.useEffect((()=>n?()=>{}:Wt(D,f(Ct,x),f(Tt,E))),[n,f,D,x,E])}(a,i,c,d,f,null==t?void 0:t.zoomWrapperRef);const g=u.useMemo((()=>({zoom:a,maxZoom:i,offsetX:l,offsetY:s,disabled:c,zoomIn:p,zoomOut:h,changeZoom:d})),[a,i,l,s,c,p,h,d]);u.useImperativeHandle($r().ref,(()=>g),[g]);const m=u.useMemo((()=>({...g,setZoomWrapper:n})),[g,n]);return u.createElement(Zr.Provider,{value:m},e)}const Xr=An("ZoomIn",u.createElement(u.Fragment,null,u.createElement("path",{d:"M15.5 14h-.79l-.28-.27C15.41 12.59 16 11.11 16 9.5 16 5.91 13.09 3 9.5 3S3 5.91 3 9.5 5.91 16 9.5 16c1.61 0 3.09-.59 4.23-1.57l.27.28v.79l5 4.99L20.49 19l-4.99-5zm-6 0C7.01 14 5 11.99 5 9.5S7.01 5 9.5 5 14 7.01 14 9.5 11.99 14 9.5 14z"}),u.createElement("path",{d:"M12 10h-2v2H9v-2H7V9h2V7h1v2h2v1z"}))),eo=An("ZoomOut",u.createElement("path",{d:"M15.5 14h-.79l-.28-.27C15.41 12.59 16 11.11 16 9.5 16 5.91 13.09 3 9.5 3S3 5.91 3 9.5 5.91 16 9.5 16c1.61 0 3.09-.59 4.23-1.57l.27.28v.79l5 4.99L20.49 19l-4.99-5zm-6 0C7.01 14 5 11.99 5 9.5S7.01 5 9.5 5 14 7.01 14 9.5 11.99 14 9.5 14zM7 9h5v1H7z"})),to=u.forwardRef((function({zoomIn:e,onLoseFocus:t},n){const r=u.useRef(!1),o=u.useRef(!1),{zoom:i,maxZoom:a,zoomIn:l,zoomOut:s,disabled:c}=Kr(),{render:d}=sn(),f=c||(e?i>=a:i<=1);return u.useEffect((()=>{f&&r.current&&o.current&&t(),f||(r.current=!0)}),[f,t]),u.createElement(yn,{ref:n,disabled:f,label:e?"Zoom in":"Zoom out",icon:e?Xr:eo,renderIcon:e?d.iconZoomIn:d.iconZoomOut,onClick:e?l:s,onFocus:()=>{o.current=!0},onBlur:()=>{o.current=!1}})}));function no(){const e=u.useRef(null),t=u.useRef(null),{focus:n}=Gn(),r=u.useCallback((e=>{var t,r;(null===(t=e.current)||void 0===t?void 0:t.disabled)?n():null===(r=e.current)||void 0===r||r.focus()}),[n]),o=u.useCallback((()=>r(e)),[r]),i=u.useCallback((()=>r(t)),[r]);return u.createElement(u.Fragment,null,u.createElement(to,{zoomIn:!0,ref:e,onLoseFocus:i}),u.createElement(to,{ref:t,onLoseFocus:o}))}function ro(){const{render:e}=sn(),t=Kr();return e.buttonZoom?u.createElement(u.Fragment,null,e.buttonZoom(t)):u.createElement(no,null)}function oo({current:e,preload:t},{type:n,source:r}){switch(n){case"fetch":return e?{current:e,preload:r}:{current:r};case"done":return r===t?{current:r}:{current:e,preload:t};default:throw new Error(Rt)}}function io(e){var t,n;const[{current:r,preload:o},i]=u.useReducer(oo,{}),{slide:a,rect:l,imageFit:s,render:c}=e,d=a.srcSet.sort(((e,t)=>e.width-t.width)),f=null!==(t=a.width)&&void 0!==t?t:d[d.length-1].width,p=null!==(n=a.height)&&void 0!==n?n:d[d.length-1].height,h=Yt(a,s),g=Math.max(...d.map((e=>e.width))),m=Math.min((h?Math.max:Math.min)(l.width,f*(l.height/p)),g),v=(Qt()?null===window||void 0===window?void 0:window.devicePixelRatio:void 0)||1,b=On((()=>{var e;const t=null!==(e=d.find((e=>e.width>=m*v)))&&void 0!==e?e:d[d.length-1];(!r||d.findIndex((e=>e.src===r))<d.findIndex((e=>e===t)))&&i({type:"fetch",source:t.src})}));_n(b,[l.width,l.height,v,b]);const y=On((e=>i({type:"done",source:e}))),A={WebkitTransform:"translateZ(0)"};return h||Object.assign(A,l.width/l.height<f/p?{width:"100%",height:"auto"}:{width:"auto",height:"100%"}),u.createElement(u.Fragment,null,o&&o!==r&&u.createElement(Fn,{key:"preload",...e,slide:{...a,src:o,srcSet:void 0},style:{position:"absolute",visibility:"hidden",...A},onLoad:()=>y(o),render:{...c,iconLoading:()=>null,iconError:()=>null}}),r&&u.createElement(Fn,{key:"current",...e,slide:{...a,src:r,srcSet:void 0},style:A}))}function ao({render:e,slide:t,offset:n,rect:r}){var o;const[i,a]=u.useState(),l=u.useRef(null),{zoom:s,maxZoom:c,offsetX:d,offsetY:f,setZoomWrapper:p}=Kr(),{carousel:h,on:g}=sn(),{currentIndex:m}=dn();_n((()=>0===n?(p({zoomWrapperRef:l,imageDimensions:i}),()=>p(void 0)):()=>{}),[n,i,p]);let v=null===(o=e.slide)||void 0===o?void 0:o.call(e,{slide:t,offset:n,rect:r,zoom:s,maxZoom:c});if(!v&&$t(t)){const o={slide:t,offset:n,rect:r,render:e,imageFit:h.imageFit,imageProps:h.imageProps,onClick:0===n?()=>{var e;return null===(e=g.click)||void 0===e?void 0:e.call(g,{index:m})}:void 0};v=function(e){var t;return((null===(t=e.srcSet)||void 0===t?void 0:t.length)||0)>0}(t)?u.createElement(io,{key:t.src,...o,slide:t,rect:0===n?{width:r.width*s,height:r.height*s}:r}):u.createElement(Fn,{key:t.src,onLoad:e=>a({width:e.naturalWidth,height:e.naturalHeight}),...o})}return v?u.createElement("div",{ref:l,className:jt(Ft(gt),Ft(mt)),style:0===n?{transform:`scale(${s}) translateX(${d}px) translateY(${f}px)`}:void 0},v):null}const lo=({augment:e,addModule:t})=>{e((({toolbar:e,render:t,zoom:n,...r})=>({zoom:Gr(n),toolbar:tn(e,ct,u.createElement(ro,null)),render:{...t,slide:e=>{var n;return $t(e.slide)?u.createElement(ao,{render:t,...e}):null===(n=t.slide)||void 0===n?void 0:n.call(t,e)}},...r}))),t(Mt(ct,Jr))},so={separator:"/",container:{}},uo=e=>({...so,...e});function co({counter:e}){const{slides:t,currentIndex:n}=dn(),{separator:r,container:{className:o,...i},className:a,...l}=uo(e);return 0===t.length?null:u.createElement("div",{className:jt(Ft("counter"),o||a),...l,...i},n+1," ",r," ",t.length)}function fo({augment:e,addChild:t}){e((({counter:e,...t})=>({counter:uo(e),...t}))),t(it,Mt("counter",co))}var po=o(1170),ho=o.n(po);function go(e){return console.log("settingh link hover, ",e),(0,Ie.jsx)(Fe,{css:{position:"absolute",background:"$thBackground2",borderRadius:"5px",border:"1px solid $thHighlightBar",boxShadow:"0px 4px 4px 0px rgba(0, 0, 0, 0.15)",padding:"10px",left:e.anchorCoordinates.pageX,top:e.anchorCoordinates.pageY},children:(0,Ie.jsx)(Fe,{children:"Save to Omnivore"})})}function mo(e,t,n,r,o,i,a){try{var l=e[i](a),s=l.value}catch(e){return void n(e)}l.done?t(s):Promise.resolve(s).then(r,o)}function vo(e){return function(){var t=this,n=arguments;return new Promise((function(r,o){var i=e.apply(t,n);function a(e){mo(i,r,o,a,l,"next",e)}function l(e){mo(i,r,o,a,l,"throw",e)}a(void 0)}))}}function bo(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,i=[],a=!0,l=!1;try{for(n=n.call(e);!(a=(r=n.next()).done)&&(i.push(r.value),!t||i.length!==t);a=!0);}catch(e){l=!0,o=e}finally{try{a||null==n.return||n.return()}finally{if(l)throw o}}return i}}(e,t)||function(e,t){if(e){if("string"==typeof e)return yo(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?yo(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function yo(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function Ao(e){var t=et()?"dark":"default",n=bo((0,u.useState)(e.initialReadingProgress),2),r=n[0],o=n[1],i=bo((0,u.useState)(!0),2),a=i[0],l=i[1],s=(0,u.useRef)(null),c=function(e){return Math.floor(Math.max(0,Math.min(100,e)))},d=bo((0,u.useState)(!1),2),f=d[0],p=d[1],h=bo((0,u.useState)([]),2),g=h[0],m=h[1],v=bo((0,u.useState)(0),2),b=v[0],y=v[1],A=bo((0,u.useState)(),2),w=A[0];A[1],(0,u.useEffect)((function(){vo(regeneratorRuntime.mark((function t(){var n,o,i;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(r){t.next=2;break}return t.abrupt("return");case 2:if(s.current){t.next=4;break}return t.abrupt("return");case 4:if(window.document.scrollingElement){t.next=6;break}return t.abrupt("return");case 6:return n=Ge(s.current),o=window.scrollY/window.document.scrollingElement.scrollHeight,i=Number(n),t.next=11,e.articleMutations.articleReadingProgressMutation({id:e.articleId,readingProgressPercent:c(r),readingProgressTopPercent:c(100*o),readingProgressAnchorIndex:i==Number.NaN?void 0:i});case 11:case"end":return t.stop()}}),t)})))()}),[e.articleId,r]),(0,u.useEffect)((function(){var e,t;void 0!==(null===(e=window)||void 0===e?void 0:e.webkit)&&(null===(t=window.webkit.messageHandlers.readingProgressUpdate)||void 0===t||t.postMessage({progress:r}))}),[r]),function(e,t){var n=(0,u.useRef)(void 0),r=function(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,i=[],a=!0,l=!1;try{for(n=n.call(e);!(a=(r=n.next()).done)&&(i.push(r.value),!t||i.length!==t);a=!0);}catch(e){l=!0,o=e}finally{try{a||null==n.return||n.return()}finally{if(l)throw o}}return i}}(e,t)||function(e,t){if(e){if("string"==typeof e)return $e(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?$e(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}((0,u.useState)({x:0,y:0}),2),o=r[0],i=r[1];(0,u.useEffect)((function(){var t=function(){var t,r,o,a,l,s,u={x:null!==(t=null!==(r=window.document.documentElement.scrollLeft)&&void 0!==r?r:null===(o=window)||void 0===o?void 0:o.scrollX)&&void 0!==t?t:0,y:null!==(a=null!==(l=window.document.documentElement.scrollTop)&&void 0!==l?l:null===(s=window)||void 0===s?void 0:s.scrollY)&&void 0!==a?a:0};e(),i(u),n.current=void 0},r=function(){void 0===n.current&&(n.current=setTimeout(t,2500))};return window.addEventListener("scroll",r),function(){n.current&&(clearTimeout(n.current),n.current=void 0),window.removeEventListener("scroll",r)}}),[o,2500,e])}((function(e){if(window&&window.document.scrollingElement){var t=(window.scrollY+window.document.scrollingElement.clientHeight)/window.document.scrollingElement.scrollHeight;o(100*t)}})),(0,u.useEffect)((function(){var e=document.getElementById("_omnivore_youtube_video"),t=function(){var t="omnivore-youtube-placeholder",n=document.getElementById(t);if(e)if(window.scrollY>400){if(!n){var r,o=e.getBoundingClientRect(),i=document.createElement("div");i.setAttribute("id",t),i.style.width=o.width+"px",i.style.height=o.height+"px",null===(r=e.parentNode)||void 0===r||r.insertBefore(i,e)}e.classList.add("is-sticky")}else{var a;n&&(null===(a=e.parentNode)||void 0===a||a.removeChild(n)),e.classList.remove("is-sticky")}};return e&&window.addEventListener("scroll",t),function(){window.removeEventListener("scroll",t)}}),[e]),(0,u.useEffect)((function(){if("undefined"!=typeof window&&a&&(l(!1),function(e){if(!e||0==e.childNodes.length)return[];for(var t=[e],n=[],r=function(){var e=t.pop();if((null==e?void 0:e.nodeType)!==Node.ELEMENT_NODE||Qe.some((function(t){return e.hasAttribute(t)})))return"continue";n.push(e),[].slice.call(e.childNodes).reverse().forEach((function(e){t.push(e)}))};t.length>0;)r();n.shift(),n.forEach((function(e,t){e.setAttribute("data-omnivore-anchor-idx",(t+1).toString())}))}(s.current),!(e.highlightHref.current||e.initialReadingProgress&&e.initialReadingProgress>=98))){var t=e.highlightHref.current?document.querySelector('[omnivore-highlight-id="'.concat(e.highlightHref.current,'"]')):document.querySelector("[data-omnivore-anchor-idx='".concat(e.initialAnchorIndex.toString(),"']"));if(t){var n=function(e){var t=0;if(e.offsetParent){do{t+=e.offsetTop}while(e=e.offsetParent);return t}return 0}(t);window.document.documentElement.scroll(0,n-100)}}}),[e.initialAnchorIndex,e.initialReadingProgress,a]),(0,u.useEffect)((function(){var e,t;"function"==typeof(null===(e=window)||void 0===e||null===(t=e.MathJax)||void 0===t?void 0:t.typeset)&&window.MathJax.typeset();var n=Array.from(document.getElementsByClassName("tweet-placeholder"));n.length>0&&vo(regeneratorRuntime.mark((function e(){var t;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return t="twttr",e.next=5,new Promise((function(e,n){ho().isDefined(t)||ho()("https://platform.twitter.com/widgets.js",t),ho().ready(t,{success:function(){var t;null!==(t=window.twttr)&&void 0!==t&&t.widgets?e(!0):e(!1)},error:function(){return n(new Error("Could not load remote twitter widgets js"))}})}));case 5:n.forEach((function(e){var t,n,r=e.getAttribute("data-tweet-id");r&&(null===(t=window.twttr)||void 0===t||null===(n=t.widgets)||void 0===n||n.createTweet(r,e,{theme:et()?"dark":"light",align:"center",dnt:"true"}))}));case 6:case"end":return e.stop()}}),e)})))()}),[]),(0,u.useEffect)((function(){Array.from(document.querySelectorAll("img[data-omnivore-width]")).forEach((function(e){var t=e,n=Number(t.getAttribute("data-omnivore-width")),r=Number(t.getAttribute("data-omnivore-height"));!isNaN(n)&&!isNaN(r)&&n<100&&r<100&&(t.style.setProperty("width","".concat(n,"px")),t.style.setProperty("height","".concat(r,"px")),t.style.setProperty("max-width","unset"))})),Array.from(document.querySelectorAll("img[data-omnivore-original-src]")).forEach((function(e){var t=e,n=t.getAttribute("data-omnivore-original-src");n&&(t.onerror=function(){console.log("image falling back to original: ",n),t.onerror=null,t.src=n})}));var e=Array.from(document.querySelectorAll("img[data-omnivore-anchor-idx]")),t=e.map((function(e){return{src:e.getAttribute("src")||""}}));m(t),e.forEach((function(e,t){var n=e;n.style.cursor="zoom-in",n.onclick=function(e){y(t),p(!0),e.preventDefault(),e.stopPropagation()}}))}),[e.content]),(0,u.useEffect)((function(){var e,t,n;f&&(null===(e=window)||void 0===e||null===(t=e.webkit)||void 0===t||null===(n=t.messageHandlers.highlightAction)||void 0===n||n.postMessage({actionID:"dismissNavBars"}))}),[f]);var x=(0,u.useMemo)((function(){return e.isAppleAppEmbed?[Vr,fo,lo]:[Vr,Br,fo,lo]}),[e]);return(0,u.useEffect)((function(){Array.from(document.querySelectorAll("a[data-omnivore-anchor-idx]")).forEach((function(e){e.setAttribute("target","_blank")}))}),[e.content]),(0,Ie.jsxs)(Ie.Fragment,{children:[!e.isAppleAppEmbed&&(0,Ie.jsx)("link",{rel:"stylesheet",href:"/static/highlightjs/".concat(t,".min.css")}),(0,Ie.jsx)(Fe,{ref:s,css:{maxWidth:"100%"},className:"article-inner-css","data-testid":"article-inner",dangerouslySetInnerHTML:{__html:e.content}}),(0,Ie.jsx)(ze,{onClick:function(e){e.stopPropagation()},children:(0,Ie.jsx)(gr,{open:f,index:b,close:function(){return p(!1)},slides:g,plugins:x,controller:{closeOnPullDown:!0,closeOnBackdropClick:!0},zoom:{maxZoomPixelRatio:3},render:{buttonZoom:function(){}}})}),w&&(0,Ie.jsx)(Ie.Fragment,{children:(0,Ie.jsx)(go,{anchorCoordinates:w.pageCoordinate,handleButtonClick:function(){console.log("saved link hover: ",w)}})})]})}var wo=he("p",{fontFamily:"Inter",fontWeight:"normal",lineHeight:"120%",color:"$grayTextContrast",variants:{style:{body:{fontSize:"$2",lineHeight:"1.25"},logoTitle:{fontFamily:"Inter",fontWeight:700,fontSize:"18px",textTransform:"uppercase",letterSpacing:"0.15em"},bodyBold:{fontWeight:"bold",fontSize:"$2",lineHeight:"1.25"},recommendedByline:{fontWeight:"bold",fontSize:"13.5px",paddingTop:"4px",mt:"0px",mb:"16px",color:"$grayTextContrast"},userName:{fontWeight:"600",fontSize:"13.5px",paddingTop:"4px",my:"6px",color:"$grayText"},settingsSection:{fontWeight:"600",fontSize:"17px",fontFamily:"$inter",color:"$grayText",m:"0px",my:"15px",marginBlockStart:"0px",marginBlockEnd:"0px"},settingsItem:{fontSize:"13px",fontFamily:"$display",color:"$grayText",marginBlockStart:"0px",marginBlockEnd:"0px"},userNote:{fontSize:"16px",paddingTop:"0px",marginTop:"0px",lineHeight:"1.5",color:"$grayTextContrast"},headline:{fontSize:"$4","@md":{fontSize:"$6"}},fixedHeadline:{fontSize:"24px",fontWeight:"500"},subHeadline:{fontSize:"24px",fontWeight:"500"},articleTitle:{fontWeight:"bold",fontSize:"35px","@mdDown":{fontSize:"25px"},margin:0},boldHeadline:{fontWeight:"bold",fontSize:"$4","@md":{fontSize:"$6"},margin:0},modalHeadline:{fontWeight:"600",fontFamily:"$display",fontSize:"20px",lineHeight:"20px",color:"$grayText",margin:0},modalTitle:{fontSize:"16px",fontWeight:"600",color:"$grayText",lineHeight:"1.50",margin:0},boldText:{fontWeight:"600",fontSize:"16px",lineHeight:"1",color:"$thTextContrast"},shareHighlightModalAnnotation:{fontSize:"18px",lineHeight:"23.4px",color:"$utilityTextSubtle",m:0},footnote:{fontSize:"$1"},shareTitle:{fontSize:"$1",fontWeight:"700",color:"$grayTextContrast"},shareSubtitle:{fontSize:"$1",color:"$grayText"},listTitle:{fontSize:"16px",fontWeight:"500",color:"$grayTextContrast",lineHeight:"1.5",wordBreak:"break-word"},caption:{color:"$grayText",fontSize:"12px",lineHeight:"1.5",wordBreak:"break-word"},captionLink:{fontSize:"$2",textDecoration:"underline",lineHeight:"1.5",cursor:"pointer"},action:{fontSize:"16px",fontWeight:"500",lineHeight:"1.5"},actionLink:{fontSize:"16px",fontWeight:"500",lineHeight:"1.5",textDecoration:"underline",cursor:"pointer"},navLink:{m:0,fontWeight:400,color:"$graySolid",cursor:"pointer","&:hover":{opacity:.7}},controlButton:{color:"$grayText",fontWeight:"500",fontFamily:"inter",fontSize:"14px"},menuTitle:{pt:"0px",m:"0px",color:"$utilityTextDefault",fontSize:16,fontFamily:"inter",fontWeight:"500",lineHeight:"unset"},libraryHeader:{pt:"0px",m:"0px",fontSize:24,fontFamily:"inter",lineHeight:"unset",fontWeight:"bold",color:"$textSubtle"},aboutFooter:{pt:"0px",m:"0px",fontSize:24,fontFamily:"inter",lineHeight:"unset",fontWeight:"bold",color:"white"},displaySettingsLabel:{fontFamily:"$display",fontWeight:"500",fontSize:"12px",lineHeight:"20px",color:"$thTextSubtle2",marginBlockStart:"0",marginTop:"10px"},error:{color:"$error",fontSize:"$2",lineHeight:"1.25"}}},defaultVariants:{style:"footnote"}}),xo=(he("span",wo),he("li",{fontFamily:"Inter",fontWeight:"normal",lineHeight:"1.35",color:"$grayTextContrast"}),he("ul",{fontFamily:"Inter",fontWeight:"normal",lineHeight:"1.35",color:"$grayTextContrast"}),he("img",{}),he("a",{textDecoration:"none"}),he("mark",{}),Intl.DateTimeFormat().resolvedOptions().locale||"en-US"),Eo=Intl.DateTimeFormat().resolvedOptions().timeZone;function ko(e){return new Intl.DateTimeFormat(xo,{timeStyle:"short",timeZone:Eo}).format(new Date(e))}function So(e){var t=e.style||"footnote",n=function(e,t){var n=new URL(e).origin,r=Co(e);if(t){var o="".concat(function(e){return"by ".concat("string"==typeof(t=e)?t.replace(/(<([^>]+)>)/gi,""):"");var t}(t));return r?o:"".concat(o,", ").concat(new URL(e).hostname)}if(!r)return n}(e.href,e.author);return(0,Ie.jsx)(Fe,{children:(0,Ie.jsxs)(wo,{style:t,css:{wordBreak:"break-word"},children:[n," ",n&&(0,Ie.jsx)("span",{style:{bottom:1},children:"• "})," ",!e.hideButton&&!Co(e.href)&&(0,Ie.jsx)(Ie.Fragment,{children:(0,Ie.jsx)(He,{href:e.href,target:"_blank",rel:"noreferrer",css:{textDecoration:"underline",color:"$grayTextContrast"},children:"See original"})})]})})}function _o(e){var t,n,r;return(0,Ie.jsx)(Fe,{children:(0,Ie.jsxs)(wo,{css:{wordBreak:"break-word",fontSize:"15",color:"$thTextSubtle2",fontFamily:"$inter"},children:[(r=e.rawDisplayDate,new Intl.DateTimeFormat(xo,{dateStyle:"long",timeZone:Eo}).format(new Date(r)))," ",null!==(t=e.wordsCount)&&void 0!==t&&t?" • ".concat(Math.max(1,Math.round((null!==(n=e.wordsCount)&&void 0!==n?n:0)/235))," min read"):null]})})}function Co(e){var t=new URL(e).origin;return-1!=["https://storage.googleapis.com","https://omnivore.app"].indexOf(t)}var To=o(1427);function Do(e,t){for(var n=0,r=e.length-1;n<r;){var o=e[r]-e[n],i=r-n,a=t-e[n];if(a<0)throw new Error("Unable to find text node");if(!o)return n;var l=n+Math.floor(a*i/o);if(t<e[l])r=l;else{if(!(t>=e[l+1]))return l;n=l+1}}throw new Error("Unable to find text node")}var Lo="omnivore-highlight-id",Oo="omnivore-highlight-note-id",Ro="omnivore-highlight-label-id";function Po(e){return Array.from(document.querySelectorAll("[".concat(Lo,"='").concat(e,"']")))}var Mo="omnivore_highlight",No="article-container",Bo=/^(a|b|basefont|bdo|big|em|font|i|s|small|span|strike|strong|su[bp]|tt|u|code|mark)$/i,Io=new RegExp("<".concat(Mo,">([\\s\\S]*)<\\/").concat(Mo,">"),"i"),jo=2e3;function Fo(e,t,n,r,o,i){var a,l=Wo({patch:e}),s=l.prefix,u=l.suffix,c=l.highlightTextStart,d=l.highlightTextEnd,f=l.textNodes,p=l.textNodeIndex,h="";if(Qo(t).length)return{prefix:s,suffix:u,quote:h,startLocation:c,endLocation:d};for(var g=function(){var e=Vo({textNodes:f,startingTextNodeIndex:p,highlightTextStart:c,highlightTextEnd:d}),r=e.node,l=e.textPartsToHighlight,s=e.startsParagraph,u=r.parentNode,g=r.nextSibling;if(r.textContent&&!/[^\t\n\r ]/.test(r.textContent))return p++,"continue";var m=!1,v=r instanceof HTMLElement?r:r.parentElement;v&&(m=window.getComputedStyle(v).whiteSpace.startsWith("pre")),null==u||u.removeChild(r),l.forEach((function(e,r){var l=e.highlight,c=e.text,d=m?c:c.replace(/\n/g,""),f=document.createTextNode(c);if(l){d&&(s&&!r&&h&&(h+="\n"),h+=d);var p=document.createElement("span");return p.className="highlight",n&&(p.className="".concat(p.className," ").concat("highlight_with_note")),o&&(p.className="".concat(p.className," highlight__").concat(o)),p.setAttribute(Lo,t),i&&p.setAttribute("title",i),p.appendChild(f),a=p,null==u?void 0:u.insertBefore(p,g)}return null==u?void 0:u.insertBefore(f,g)})),p++};d>f[p].startIndex;)g();if(n&&a){var m=function(e){var t="http://www.w3.org/2000/svg",n=document.createElementNS(t,"svg");n.setAttribute("viewBox","0 0 14 14"),n.setAttribute("width","14"),n.setAttribute("height","14"),n.setAttribute("fill","none");var r=document.createElementNS(t,"path");return r.setAttribute("d","M1 5.66602C1 3.7804 1 2.83759 1.58579 2.2518C2.17157 1.66602 3.11438 1.66602 5 1.66602H9C10.8856 1.66602 11.8284 1.66602 12.4142 2.2518C13 2.83759 13 3.7804 13 5.66602V7.66601C13 9.55163 13 10.4944 12.4142 11.0802C11.8284 11.666 10.8856 11.666 9 11.666H4.63014C4.49742 11.666 4.43106 11.666 4.36715 11.6701C3.92582 11.6984 3.50632 11.8722 3.17425 12.1642C3.12616 12.2065 3.07924 12.2534 2.98539 12.3473V12.3473C2.75446 12.5782 2.639 12.6937 2.55914 12.7475C1.96522 13.1481 1.15512 12.8125 1.01838 12.1093C1 12.0148 1 11.8515 1 11.5249V5.66602Z"),r.setAttribute("stroke","rgba(".concat(rt(e),", 0.8)")),r.setAttribute("stroke-width","1.8"),r.setAttribute("stroke-linejoin","round"),n.appendChild(r),n}(o);m.setAttribute(Oo,t);var v=document.createElement("span");v.className="highlight_note_button",v.appendChild(m),v.setAttribute(Oo,t),v.setAttribute("width","14px"),v.setAttribute("height","14px"),a.appendChild(v)}return{prefix:s,suffix:u,quote:h,startLocation:c,endLocation:d}}function zo(e){var t=document.getElementById(No);if(!t)throw new Error("Unable to find article content element");var n=new Range,r=new Range,o=new Range;o.selectNode(t),n.setStart(o.startContainer,o.startOffset),n.setEnd(e.startContainer,e.startOffset),r.setStart(e.endContainer,e.endOffset),r.setEnd(o.endContainer,o.endOffset);var i="".concat(n.toString(),"<").concat(Mo,">").concat(e.toString(),"</").concat(Mo,">").concat(r.toString()),a=new To.diff_match_patch,l=a.patch_toText(a.patch_make(o.toString(),i));if(!l)throw new Error("Invalid patch");return l}function Ho(e){var t=zo(e),n=Uo(t);return[n.highlightTextStart,n.highlightTextEnd]}var qo=function(e){var t=(null==e?void 0:e.current)||document.getElementById(No);if(!t)throw new Error("Unable to find article content element");var n=0,r="",o=!1,i=[];return t.childNodes.forEach((function e(t){var a;t.nodeType===Node.TEXT_NODE?(i.push({startIndex:n,node:t,startsParagraph:o}),n+=(null===(a=t.nodeValue)||void 0===a?void 0:a.length)||0,r+=t.nodeValue,o=!1):(Bo.test(t.tagName)||(o=!0),t.childNodes.forEach(e))})),i.push({startIndex:n,node:document.createTextNode("")}),{textNodes:i,articleText:r}},Uo=function(e){if(!e)throw new Error("Invalid patch");var t,n=qo().articleText,r=new To.diff_match_patch,o=r.patch_apply(r.patch_fromText(e),n);if(o[1][0])t=Io.exec(o[0]);else{r.Match_Threshold=.5,r.Match_Distance=4e3;var i=r.patch_apply(r.patch_fromText(e),n);if(!i[1][0])throw new Error("Unable to find the highlight");t=Io.exec(i[0])}if(!t)throw new Error("Unable to find the highlight from patch");var a=t.index;return{highlightTextStart:a,highlightTextEnd:a+t[1].length,matchingHighlightContent:t}};function Wo(e){var t=e.patch;if(!t)throw new Error("Invalid patch");var n=qo().textNodes,r=Uo(t),o=r.highlightTextStart,i=r.highlightTextEnd,a=Do(n.map((function(e){return e.startIndex})),o),l=Do(n.map((function(e){return e.startIndex})),i);return{prefix:Go({textNodes:n,startingTextNodeIndex:a,startingOffset:o-n[a].startIndex,side:"prefix"}),suffix:Go({textNodes:n,startingTextNodeIndex:l,startingOffset:i-n[l].startIndex,side:"suffix"}),highlightTextStart:o,highlightTextEnd:i,textNodes:n,textNodeIndex:a}}var Vo=function(e){var t=e.textNodes,n=e.startingTextNodeIndex,r=e.highlightTextStart,o=e.highlightTextEnd,i=t[n],a=i.node,l=i.startIndex,s=i.startsParagraph,u=a.nodeValue||"",c=r-l,d=o-l,f=[];return c>0&&f.push({text:u.substring(0,c),highlight:!1}),f.push({text:u.substring(c,d),highlight:!0}),d<=u.length&&f.push({text:u.substring(d),highlight:!1}),{node:a,textPartsToHighlight:f,startsParagraph:s}},Qo=function(e){return Array.from(document.querySelectorAll("[".concat(Lo,"='").concat(e,"']")))},Go=function(e){var t,n=e.textNodes,r=e.startingTextNodeIndex,o=e.startingOffset,i="prefix"===e.side,a=r,l=function e(){var t=n[a+=i?-1:1],r=t.node,o=t.startsParagraph,l=r.nodeValue||"";return i?o||l.length>jo?l:e()+l:!n[a+1]||n[a+1].startsParagraph||l.length>jo?l:l+e()},s=n[r],u=s.startsParagraph,c=s.node.nodeValue||"",d=i?c.substring(0,o):c.substring(o);return(t=i?u?d:l()+d:!n[a+1]||n[a+1].startsParagraph?d:d+l()).length<=jo?t:i?t.slice(t.length-jo):t.substring(0,jo)},$o=function(e){var t=Wo({patch:e}),n=t.highlightTextStart;return t.highlightTextEnd-n<6e3};function Yo(e,t,n,r,o,i,a){try{var l=e[i](a),s=l.value}catch(e){return void n(e)}l.done?t(s):Promise.resolve(s).then(r,o)}function Zo(e){return function(){var t=this,n=arguments;return new Promise((function(r,o){var i=e.apply(t,n);function a(e){Yo(i,r,o,a,l,"next",e)}function l(e){Yo(i,r,o,a,l,"throw",e)}a(void 0)}))}}function Ko(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,i=[],a=!0,l=!1;try{for(n=n.call(e);!(a=(r=n.next()).done)&&(i.push(r.value),!t||i.length!==t);a=!0);}catch(e){l=!0,o=e}finally{try{a||null==n.return||n.return()}finally{if(l)throw o}}return i}}(e,t)||function(e,t){if(e){if("string"==typeof e)return Jo(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Jo(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Jo(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function Xo(){return ei.apply(this,arguments)}function ei(){return(ei=Zo(regeneratorRuntime.mark((function e(){var t,n,r,o,i,a,l,s,u,c,d,f,p,h;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,new Promise((function(e){setTimeout((function(){e(document.getSelection())}),100)}));case 2:if(!(!(t=e.sent)||t.isCollapsed||t.rangeCount<=0)){e.next=5;break}return e.abrupt("return",void 0);case 5:if(n=document.getElementById("article-container"),r=document.getElementById("recommendations-container"),n){e.next=9;break}throw new Error("Unable to find the article content element");case 9:if((o=new Range).selectNode(n),i=t.getRangeAt(0),!r||!i.intersectsNode(r)){e.next=15;break}return console.log("attempt to highlight in recommendations area"),e.abrupt("return",void 0);case 15:return a=i.compareBoundaryPoints(Range.START_TO_START,o),l=i.compareBoundaryPoints(Range.END_TO_END,o),s=a>=0&&l<=0,u=i.startContainer===t.focusNode&&i.endOffset===t.anchorOffset,c=t.focusNode,d=t.focusOffset,f=u?i.endContainer:i.startContainer,(null==c?void 0:c.nodeType)===Node.TEXT_NODE&&(h=u?null===(p=c.textContent)||void 0===p?void 0:p.length:0,f!==c&&d==h&&ti(i,c,u)),e.abrupt("return",s?{range:i,isReverseSelected:u,selection:t}:void 0);case 24:case"end":return e.stop()}}),e)})))).apply(this,arguments)}var ti=function(e,t,n){for(var r=t.parentElement;null!==r&&!r.hasAttribute("data-omnivore-anchor-idx");)r=r.parentElement;if(!r)throw Error("Unable to find nearest anchor element for node: "+t);var o,i,a,l=Number(r.getAttribute("data-omnivore-anchor-idx"));if(n)o=l+1,i=document.querySelectorAll("[data-omnivore-anchor-idx='".concat(o,"']"))[0],a=0,e.setStart(i,a);else{do{o=--l,i=document.querySelectorAll("[data-omnivore-anchor-idx='".concat(o,"']"))[0]}while(i.contains(t));if(i.textContent){for(var s,u,c,d=i.lastChild;d&&d.nodeType!==Node.TEXT_NODE;)d=d.previousSibling;a=null!==(s=null===(u=i=d)||void 0===u||null===(c=u.nodeValue)||void 0===c?void 0:c.length)&&void 0!==s?s:0}else a=0;i&&e.setEnd(i,a)}},ni=function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if("undefined"==typeof window||!e)return{left:0,top:0,right:0,bottom:0,width:0,height:0};var n=e.getClientRects();if(!n||!n.length)return{left:0,top:0,right:0,bottom:0,width:0,height:0};var r=n[t?0:n.length-1];return{left:window.scrollX+r.left,top:window.scrollY+r.top-60,right:window.scrollX+r.right,bottom:window.scrollY+r.bottom+5,width:r.width,height:r.height}};function ri(){return navigator.userAgent.includes("Android")}function oi(){return ri()||["iPad Simulator","iPhone Simulator","iPod Simulator","iPad","iPhone","iPod"].includes(navigator.platform)||navigator.userAgent.includes("Mac")&&"ontouchend"in document}var ii=he("button",{fontFamily:"inter",fontSize:"$2",lineHeight:"1.25",color:"$grayText",variants:{style:{ctaYellow:{borderRadius:"$3",px:"$3",py:"$2",border:"1px solid $yellow3",bg:"$yellow3","&:hover":{bg:"$yellow4",border:"1px solid $grayBorderHover"}},ctaOmnivoreYellow:{borderRadius:"5px",px:"20px",py:"8px",fontSize:"14px",fontWeight:"500",cursor:"pointer",border:"0px solid $yellow3",bg:"$omnivoreYellow",color:"#2A2A2A","&:hover":{opacity:1,border:"0px solid #FFD800",background:"#FFD800"}},ctaBlue:{borderRadius:"5px",px:"20px",py:"8px",fontSize:"14px",fontWeight:"500",cursor:"pointer",border:"0px solid $yellow3",bg:"$ctaBlue",color:"white","&:hover":{border:"0px solid #0056D2",background:"#0056D2"}},tldr:{gap:"10px",display:"flex",alignItems:"center",borderRadius:"100px",px:"10px",py:"10px",fontFamily:"$inter",fontSize:"12px",fontWeight:"500",cursor:"pointer",color:"#EDEDED",border:"1px solid $thLibraryMultiselectHover",bg:"transparent","&:hover":{opacity:"0.6",border:"1px solid $ctaBlue"}},ctaDarkYellow:{border:"1px solid transparent",fontSize:"14px",fontWeight:500,fontFamily:"Inter",borderRadius:"5px",cursor:"pointer",color:"#3D3D3D",bg:"#FFEA9F",p:"10px 15px","&:hover, &:focus":{bg:"$omnivoreCtaYellow",outline:"1px solid $omnivoreCtaYellow"}},landingCta:{borderRadius:10,backgroundColor:"#1A1A1A",padding:"12px 100px",color:"#FFFFFF",font:"$inter",fontSize:"20px",fontWeight:"500",textDecoration:"none",transition:"background-color ease-out 50ms",boxShadow:"0px 4px 4px 0px rgba(0, 0, 0, 0.15)","&:hover":{backgroundColor:"#3D3D3D",outline:"0px solid #1A1A1A"}},landingSimple:{borderRadius:10,backgroundColor:"#1A1A1A",padding:"10px 20px",color:"#FFFFFF",font:"$inter",fontSize:"20px",fontWeight:"500",textDecoration:"none",transition:"background-color ease-out 50ms","&:hover":{backgroundColor:"#1A1A1A",outline:"0px solid #1A1A1A",boxShadow:"0px 4px 4px 0px rgba(0, 0, 0, 0.15)"}},cancelGeneric:{fontSize:"13px",fontWeight:500,fontFamily:"Inter",cursor:"pointer",color:"#6A6968",borderRadius:"5px",border:"1px solid transparent",p:"10px 15px",bg:"transparent","&:hover, &:focus":{bg:"#EBEBEB",outline:"1px solid $omnivoreCtaYellow"}},cancelAuth:{fontSize:"13px",fontWeight:500,fontFamily:"Inter",cursor:"pointer",color:"#6A6968",borderRadius:"5px",border:"1px solid transparent",p:"10px 15px",bg:"transparent","&:hover":{backgroundColor:"#2A2A2A",outline:"0px solid #2A2A2A"}},ctaOutlineYellow:{boxSizing:"border-box",borderColor:"unset",border:"1px solid $omnivoreCtaYellow",fontSize:"14px",fontWeight:500,fontStyle:"normal",fontFamily:"Inter",borderRadius:"8px",cursor:"pointer",color:"$utilityTextDefault",bg:"transparent",p:"9px 12px"},ctaLightGray:{border:0,fontSize:"14px",fontWeight:500,fontStyle:"normal",fontFamily:"Inter",borderRadius:"8px",cursor:"pointer",p:"10px 12px",color:"$thTextContrast2",bg:"rgb(125, 125, 125, 0.3)","&:hover":{bg:"rgb(47, 47, 47, 0.1)",".ctaButtonIcon":{visibility:"visible"}},".ctaButtonIcon":{visibility:"hidden"}},ctaGray:{border:0,fontSize:"14px",fontWeight:500,fontStyle:"normal",fontFamily:"Inter",borderRadius:"8px",cursor:"pointer",color:"$omnivoreGray",bg:"$grayBgActive",p:"10px 12px"},ctaWhite:{borderRadius:"$3",px:"$3",py:"$2",gap:"5px",cursor:"pointer",border:"1px solid $grayBgSubtle",bg:"$grayBgSubtle","&:hover":{border:"1px solid $grayBorderHover"}},outline:{display:"flex",borderRadius:"5px",alignItems:"center",px:"15px",py:"5px",gap:"10px",fontSize:"12px",fontWeight:"600",fontFamily:"$inter",cursor:"pointer",border:"1px solid $thBorderColor",bg:"transparent","&:hover":{border:"1px solid $grayBorderHover"}},cancel:{display:"flex",borderRadius:"5px",alignItems:"center",px:"15px",py:"5px",gap:"10px",fontSize:"12px",fontWeight:"600",fontFamily:"$inter",cursor:"pointer",bg:"$thBackground4",border:"1px solid $thBackground4","&:hover":{border:"1px solid $grayBorderHover"}},modalOption:{style:"ghost",height:"52px",width:"100%",textAlign:"left",verticalAlign:"middle",color:"#0A0806",backgroundColor:"unset",outlineColor:"rgba(0, 0, 0, 0)",border:"1px solid rgba(0, 0, 0, 0.06)",cursor:"pointer"},ctaModal:{height:"32px",verticalAlign:"middle",color:"$thTextContrast",backgroundColor:"$grayBase",fontWeight:"600",padding:"0px 12px",fontSize:"16px",border:"1px solid $grayBorder",cursor:"pointer",borderRadius:"8px"},ctaSecondary:{color:"$grayText",border:"none",bg:"transparent","&:hover":{opacity:.8}},ctaPill:{cursor:"pointer",borderRadius:"15px",px:"12px",py:"5px",font:"$inter",fontSize:"12px",fontWeight:"500",whiteSpace:"nowrap",color:"$thLibraryMenuPrimary",border:"1px solid $thLeftMenuBackground",bg:"$thBackgroundActive","&:hover":{bg:"$thBackgroundActive",border:"1px solid $thBackgroundActive"}},ctaPillUnselected:{cursor:"pointer",borderRadius:"15px",px:"12px",py:"5px",bg:"transparent",font:"$inter",fontSize:"12px",fontWeight:"500",whiteSpace:"nowrap",border:"1px solid $thBackground4","&:hover":{bg:"$thBackgroundActive",border:"1px solid $thBackgroundActive"}},link:{border:"none",bg:"transparent",fontSize:"14px",fontWeight:"regular",fontFamily:"$display",color:"$thLibraryMenuUnselected",cursor:"pointer"},tab:{px:"15px",py:"6px",border:"none",bg:"transparent",fontSize:"12px",fontWeight:"500",fontFamily:"$inter",color:"$tabTextUnselected",cursor:"pointer",borderRadius:"5px","&:hover":{color:"$thTextContrast"}},tabSelected:{px:"15px",py:"6px",border:"none",bg:"#6A6968",fontSize:"12px",fontWeight:"500",fontFamily:"$inter",color:"white",cursor:"pointer",borderRadius:"5px"},squareIcon:{mx:"$1",display:"flex",alignItems:"center",fontWeight:500,height:44,width:44,justifyContent:"center",textAlign:"center",background:"$grayBase",cursor:"pointer",border:"none",borderRight:"1px solid $grayText",opacity:.9,"&:hover":{opacity:1}},plainIcon:{bg:"transparent",border:"none",cursor:"pointer","&:hover":{opacity:.7}},highlightBarIcon:{p:"0px",lineHeight:"0px",bg:"transparent",border:"none",cursor:"pointer","&:hover":{opacity:.5}},articleActionIcon:{bg:"transparent",border:"none",cursor:"pointer",padding:"4px",borderRadius:"5px","&:hover":{opacity:.7}},hoverActionIcon:{bg:"transparent",border:"none",cursor:"pointer",padding:"4px",height:"100%",pt:"5px",minWidth:"25px","&:hover":{bg:"$grayBgHover"}},ghost:{color:"transparent",border:"none",bg:"transparent",cursor:"pointer","&:hover":{opacity:.8}},themeSwitch:{p:"0px",m:"0px",ml:"0px",width:"60px",height:"48px",fontSize:"14px",border:"unset",borderRadius:"6px","&:hover":{transform:"scale(1.1)",border:"2px solid #F9D354"},'&[data-state="selected"]':{border:"2px solid #F9D354"}}}},defaultVariants:{style:"ctaWhite"}}),ai=(he(ii,{variants:{style:{ctaWhite:{color:"red",padding:"10px",display:"flex",justifyContent:"center",alignItems:"center",border:"1px solid $grayBorder",boxSizing:"border-box",borderRadius:6,width:40,height:40},searchButton:{cursor:"pointer",display:"flex",justifyContent:"center",alignItems:"center",p:"0px",mr:"5px",width:"28px",height:"28px",color:"#898989",border:"unset",background:"transparent",boxSizing:"border-box",borderRadius:6}}}}),(0,u.createContext)({color:"currentColor",size:"1em",weight:"regular",mirrored:!1})),li=function(e,t,n){var r=n.get(e);return r?r(t):(console.error('Unsupported icon weight. Choose from "thin", "light", "regular", "bold", "fill", or "duotone".'),null)};function si(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}var ui=(0,u.forwardRef)((function(e,t){var n=e.alt,r=e.color,o=e.size,i=e.weight,a=e.mirrored,l=e.children,s=e.renderPath,c=si(e,["alt","color","size","weight","mirrored","children","renderPath"]),d=(0,u.useContext)(ai),f=d.color,p=void 0===f?"currentColor":f,h=d.size,g=d.weight,m=void 0===g?"regular":g,v=d.mirrored,b=void 0!==v&&v,y=si(d,["color","size","weight","mirrored"]);return u.createElement("svg",Object.assign({ref:t,xmlns:"http://www.w3.org/2000/svg",width:null!=o?o:h,height:null!=o?o:h,fill:null!=r?r:p,viewBox:"0 0 256 256",transform:a||b?"scale(-1, 1)":void 0},y,c),!!n&&u.createElement("title",null,n),l,u.createElement("rect",{width:"256",height:"256",fill:"none"}),s(null!=i?i:m,null!=r?r:p))}));ui.displayName="IconBase";const ci=ui;var di=new Map;di.set("bold",(function(e){return u.createElement(u.Fragment,null,u.createElement("circle",{cx:"128",cy:"128",r:"96",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"24"}))})),di.set("duotone",(function(e){return u.createElement(u.Fragment,null,u.createElement("circle",{cx:"128",cy:"128",r:"96",opacity:"0.2"}),u.createElement("circle",{cx:"128",cy:"128",r:"96",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"16"}))})),di.set("fill",(function(){return u.createElement(u.Fragment,null,u.createElement("circle",{cx:"128",cy:"128",r:"104"}))})),di.set("light",(function(e){return u.createElement(u.Fragment,null,u.createElement("circle",{cx:"128",cy:"128",r:"96",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"12"}))})),di.set("thin",(function(e){return u.createElement(u.Fragment,null,u.createElement("circle",{cx:"128",cy:"128",r:"96",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"8"}))})),di.set("regular",(function(e){return u.createElement(u.Fragment,null,u.createElement("circle",{cx:"128",cy:"128",r:"96",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"16"}))}));var fi=function(e,t){return li(e,t,di)},pi=(0,u.forwardRef)((function(e,t){return u.createElement(ci,Object.assign({ref:t},e,{renderPath:fi}))}));pi.displayName="Circle";const hi=pi;var gi=new Map;gi.set("bold",(function(e){return u.createElement(u.Fragment,null,u.createElement("polyline",{points:"172 104 113.3 160 84 132",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"24"}),u.createElement("circle",{cx:"128",cy:"128",r:"96",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"24"}))})),gi.set("duotone",(function(e){return u.createElement(u.Fragment,null,u.createElement("circle",{cx:"128",cy:"128",r:"96",opacity:"0.2"}),u.createElement("polyline",{points:"172 104 113.3 160 84 132",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"16"}),u.createElement("circle",{cx:"128",cy:"128",r:"96",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"16"}))})),gi.set("fill",(function(){return u.createElement(u.Fragment,null,u.createElement("path",{d:"M128,24A104,104,0,1,0,232,128,104.2,104.2,0,0,0,128,24Zm49.5,85.8-58.6,56a8.1,8.1,0,0,1-5.6,2.2,7.7,7.7,0,0,1-5.5-2.2l-29.3-28a8,8,0,1,1,11-11.6l23.8,22.7,53.2-50.7a8,8,0,0,1,11,11.6Z"}))})),gi.set("light",(function(e){return u.createElement(u.Fragment,null,u.createElement("polyline",{points:"172 104 113.3 160 84 132",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"12"}),u.createElement("circle",{cx:"128",cy:"128",r:"96",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"12"}))})),gi.set("thin",(function(e){return u.createElement(u.Fragment,null,u.createElement("polyline",{points:"172 104 113.3 160 84 132",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"8"}),u.createElement("circle",{cx:"128",cy:"128",r:"96",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"8"}))})),gi.set("regular",(function(e){return u.createElement(u.Fragment,null,u.createElement("polyline",{points:"172 104 113.3 160 84 132",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"16"}),u.createElement("circle",{cx:"128",cy:"128",r:"96",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"16"}))}));var mi=function(e,t){return li(e,t,gi)},vi=(0,u.forwardRef)((function(e,t){return u.createElement(ci,Object.assign({ref:t},e,{renderPath:mi}))}));vi.displayName="CheckCircle";const bi=vi;function yi(e){return yi="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},yi(e)}function Ai(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function wi(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 xi(e,t){return xi=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},xi(e,t)}function Ei(e,t){if(t&&("object"===yi(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}function ki(e){return ki=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},ki(e)}var Si=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&xi(e,t)}(a,e);var t,n,r,o,i=(r=a,o=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=ki(r);if(o){var n=ki(this).constructor;e=Reflect.construct(t,arguments,n)}else e=t.apply(this,arguments);return Ei(this,e)});function a(){return Ai(this,a),i.apply(this,arguments)}return t=a,(n=[{key:"render",value:function(){var e=(this.props.size||26).toString(),t=(this.props.color||"#2A2A2A").toString();return(0,Ie.jsx)("svg",{width:e,height:e,viewBox:"0 0 26 26",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,Ie.jsxs)("g",{children:[(0,Ie.jsx)("path",{d:"M9.09098 10.2786C9.66628 10.2786 10.1326 9.81228 10.1326 9.23698C10.1326 8.66168 9.66628 8.19531 9.09098 8.19531C8.51569 8.19531 8.04932 8.66168 8.04932 9.23698C8.04932 9.81228 8.51569 10.2786 9.09098 10.2786Z",fill:t,stroke:t,strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),(0,Ie.jsx)("path",{d:"M4.40332 7.67383V11.6936C4.40332 12.253 4.6252 12.7895 5.02103 13.1853L13.4752 21.6395C13.6711 21.8354 13.9036 21.9908 14.1596 22.0968C14.4155 22.2028 14.6898 22.2574 14.9669 22.2574C15.2439 22.2574 15.5182 22.2028 15.7742 22.0968C16.0301 21.9908 16.2627 21.8354 16.4585 21.6395L21.4939 16.604C21.6899 16.4082 21.8453 16.1756 21.9513 15.9197C22.0573 15.6637 22.1119 15.3894 22.1119 15.1124C22.1119 14.8353 22.0573 14.561 21.9513 14.3051C21.8453 14.0491 21.6899 13.8166 21.4939 13.6207L13.0387 5.16654C12.6434 4.77122 12.1072 4.54904 11.5481 4.54883H7.52832C6.69952 4.54883 5.90466 4.87807 5.31861 5.46412C4.73256 6.05017 4.40332 6.84503 4.40332 7.67383Z",stroke:t,strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})]})})}}])&&wi(t.prototype,n),Object.defineProperty(t,"prototype",{writable:!1}),a}(u.Component);function _i(e){return _i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},_i(e)}function Ci(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Ti(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 Di(e,t){return Di=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},Di(e,t)}function Li(e,t){if(t&&("object"===_i(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}function Oi(e){return Oi=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},Oi(e)}var Ri=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&Di(e,t)}(a,e);var t,n,r,o,i=(r=a,o=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=Oi(r);if(o){var n=Oi(this).constructor;e=Reflect.construct(t,arguments,n)}else e=t.apply(this,arguments);return Li(this,e)});function a(){return Ci(this,a),i.apply(this,arguments)}return t=a,(n=[{key:"render",value:function(){var e=(this.props.size||26).toString(),t=(this.props.color||"#2A2A2A").toString();return(0,Ie.jsx)("svg",{width:e,height:e,viewBox:"0 0 26 26",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,Ie.jsxs)("g",{children:[(0,Ie.jsx)("path",{d:"M9.61198 4.54883V23.2988M6.48698 4.54883H17.9453C18.4978 4.54883 19.0277 4.76832 19.4185 5.15902C19.8092 5.54972 20.0286 6.07963 20.0286 6.63216V19.1322C20.0286 19.6847 19.8092 20.2146 19.4185 20.6053C19.0277 20.996 18.4978 21.2155 17.9453 21.2155H6.48698C6.21071 21.2155 5.94576 21.1057 5.75041 20.9104C5.55506 20.715 5.44531 20.4501 5.44531 20.1738V5.59049C5.44531 5.31423 5.55506 5.04928 5.75041 4.85393C5.94576 4.65858 6.21071 4.54883 6.48698 4.54883Z",stroke:t,strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),(0,Ie.jsx)("path",{d:"M13.7783 8.7168H15.8617",stroke:t,strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),(0,Ie.jsx)("path",{d:"M13.7783 12.8828H15.8617",stroke:t,strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})]})})}}])&&Ti(t.prototype,n),Object.defineProperty(t,"prototype",{writable:!1}),a}(u.Component);function Pi(e){return Pi="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Pi(e)}function Mi(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Ni(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 Bi(e,t){return Bi=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},Bi(e,t)}function Ii(e,t){if(t&&("object"===Pi(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}function ji(e){return ji=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},ji(e)}var Fi=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&Bi(e,t)}(a,e);var t,n,r,o,i=(r=a,o=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=ji(r);if(o){var n=ji(this).constructor;e=Reflect.construct(t,arguments,n)}else e=t.apply(this,arguments);return Ii(this,e)});function a(){return Mi(this,a),i.apply(this,arguments)}return t=a,(n=[{key:"render",value:function(){var e=(this.props.size||26).toString(),t=(this.props.color||"#2A2A2A").toString();return(0,Ie.jsx)("svg",{width:e,height:e,viewBox:"0 0 26 26",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,Ie.jsxs)("g",{children:[(0,Ie.jsx)("path",{d:"M8.66211 11.241C8.66211 10.6885 8.8816 10.1586 9.2723 9.76791C9.663 9.37721 10.1929 9.15771 10.7454 9.15771H19.0788C19.6313 9.15771 20.1612 9.37721 20.5519 9.76791C20.9426 10.1586 21.1621 10.6885 21.1621 11.241V19.5744C21.1621 20.1269 20.9426 20.6568 20.5519 21.0475C20.1612 21.4382 19.6313 21.6577 19.0788 21.6577H10.7454C10.1929 21.6577 9.663 21.4382 9.2723 21.0475C8.8816 20.6568 8.66211 20.1269 8.66211 19.5744V11.241Z",stroke:t,strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),(0,Ie.jsx)("path",{d:"M16.9941 9.15739V7.07406C16.9941 6.52152 16.7746 5.99162 16.3839 5.60092C15.9932 5.21022 15.4633 4.99072 14.9108 4.99072H6.57747C6.02494 4.99072 5.49504 5.21022 5.10433 5.60092C4.71363 5.99162 4.49414 6.52152 4.49414 7.07406V15.4074C4.49414 15.9599 4.71363 16.4898 5.10433 16.8805C5.49504 17.2712 6.02494 17.4907 6.57747 17.4907H8.66081",stroke:t,strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})]})})}}])&&Ni(t.prototype,n),Object.defineProperty(t,"prototype",{writable:!1}),a}(u.Component);function zi(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function Hi(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 qi(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Hi(Object(n),!0).forEach((function(t){Ui(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Hi(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Ui(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Wi(e){return(0,Ie.jsx)(Fe,{css:qi(qi(qi(qi({position:e.displayAtBottom?"fixed":"absolute",background:"$thBackground2",borderRadius:"5px",border:"1px solid $thHighlightBar",boxShadow:"0px 4px 4px 0px rgba(0, 0, 0, 0.15)"},e.displayAtBottom&&{bottom:"calc(38px + env(safe-area-inset-bottom, 40px))"}),e.displayAtBottom&&{"@smDown":{maxWidth:"90vw",bottom:"calc(28px + ".concat(ri()?30:0,"px + env(safe-area-inset-bottom, 40px))")}}),!e.displayAtBottom&&{left:e.anchorCoordinates.pageX}),!e.displayAtBottom&&{top:e.anchorCoordinates.pageY}),children:(0,Ie.jsx)(Gi,qi({},e))})}var Vi,Qi=he("div",{width:"1px",height:"20px",mx:"5px",background:"$thHighlightBar"});function Gi(e){var t=function(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,i=[],a=!0,l=!1;try{for(n=n.call(e);!(a=(r=n.next()).done)&&(i.push(r.value),!t||i.length!==t);a=!0);}catch(e){l=!0,o=e}finally{try{a||null==n.return||n.return()}finally{if(l)throw o}}return i}}(e,t)||function(e,t){if(e){if("string"==typeof e)return zi(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?zi(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}((0,u.useState)(void 0),2),n=t[0],r=t[1],o=e.displayAtBottom?35:25;return(0,Ie.jsxs)(Ue,{distribution:"start",alignment:"center",css:{display:"flex",gap:"5px",maxWidth:"100%",width:e.displayAtBottom?"100%":"auto",padding:e.displayAtBottom?"10px 15px":"5px 10px"},children:[tt.map((function(t){return(0,Ie.jsx)(ii,{style:"highlightBarIcon",title:"Create highlight (".concat(t,")"),onClick:function(){e.isNewHighlight||e.highlightColor==t?e.isNewHighlight||e.highlightColor!=t?e.handleButtonClick("create",t):e.handleButtonClick("delete"):e.handleButtonClick("updateColor",t)},onMouseEnter:function(){r(t)},onMouseLeave:function(){r(void 0)},children:e.isNewHighlight||e.highlightColor!=t?(0,Ie.jsx)(hi,{width:o,height:o,color:nt(t),weight:"fill"},t):(0,Ie.jsx)(bi,{width:o,height:o,color:nt(t),weight:"fill"},t)},"color-".concat(t))})),(0,Ie.jsx)(Qi,{}),!e.isNewHighlight&&(0,Ie.jsx)(Ie.Fragment,{children:(0,Ie.jsx)(ii,{title:"Set labels",style:"highlightBarIcon",onClick:function(){return e.handleButtonClick("setHighlightLabels")},onMouseEnter:function(){r("labels")},onMouseLeave:function(){r(void 0)},children:(0,Ie.jsx)(Si,{size:o,color:"labels"==n?ge.colors.thTextContrast.toString():ge.colors.thHighlightBar.toString()})})}),(0,Ie.jsx)(ii,{title:e.isNewHighlight?"Create highlight w/note":"Add note",style:"highlightBarIcon",onClick:function(){return e.handleButtonClick("comment")},onMouseEnter:function(){r("note")},onMouseLeave:function(){r(void 0)},children:(0,Ie.jsx)(Ri,{size:o,color:"note"==n?ge.colors.thTextContrast.toString():ge.colors.thHighlightBar.toString()})}),(0,Ie.jsx)(ii,{title:"Copy",style:"highlightBarIcon",onClick:function(){return e.handleButtonClick("copy")},onMouseEnter:function(){r("copy")},onMouseLeave:function(){r(void 0)},children:(0,Ie.jsx)(Fi,{size:o,color:"copy"==n?ge.colors.thTextContrast.toString():ge.colors.thHighlightBar.toString()})})]})}function $i(e,t){e.forEach((function(e){var t,n=Po(e),r=(t=e,Array.from(document.querySelectorAll("[".concat(Oo,"='").concat(t,"']")))),o=function(e){return Array.from(document.querySelectorAll("[".concat(Ro,"='").concat(e,"']")))}(e);r.forEach((function(e){e.remove()})),o.forEach((function(e){e.remove()})),n.forEach((function(e){if("IMG"===e.nodeName)e.classList.remove("highlight-image");else if(e.childNodes){for(;e.hasChildNodes();){var t=e.firstChild;if(t){if(e.removeChild(t),!e.parentNode)throw new Error("highlight span has no parent node");e.parentNode.insertBefore(t,e.nextSibling)}}e.remove()}else{var n,r=document.createTextNode(e.textContent||"");null===(n=e.parentElement)||void 0===n||n.replaceChild(r,e)}}))}))}var Yi=new Uint8Array(16);function Zi(){if(!Vi&&!(Vi="undefined"!=typeof crypto&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto)||"undefined"!=typeof msCrypto&&"function"==typeof msCrypto.getRandomValues&&msCrypto.getRandomValues.bind(msCrypto)))throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");return Vi(Yi)}const Ki=/^(?:[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}|00000000-0000-0000-0000-000000000000)$/i,Ji=function(e){return"string"==typeof e&&Ki.test(e)};for(var Xi=[],ea=0;ea<256;++ea)Xi.push((ea+256).toString(16).substr(1));const ta=function(e,t,n){var r=(e=e||{}).random||(e.rng||Zi)();if(r[6]=15&r[6]|64,r[8]=63&r[8]|128,t){n=n||0;for(var o=0;o<16;++o)t[n+o]=r[o];return t}return function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=(Xi[e[t+0]]+Xi[e[t+1]]+Xi[e[t+2]]+Xi[e[t+3]]+"-"+Xi[e[t+4]]+Xi[e[t+5]]+"-"+Xi[e[t+6]]+Xi[e[t+7]]+"-"+Xi[e[t+8]]+Xi[e[t+9]]+"-"+Xi[e[t+10]]+Xi[e[t+11]]+Xi[e[t+12]]+Xi[e[t+13]]+Xi[e[t+14]]+Xi[e[t+15]]).toLowerCase();if(!Ji(n))throw TypeError("Stringified UUID is invalid");return n}(r)};let na=(e=21)=>crypto.getRandomValues(new Uint8Array(e)).reduce(((e,t)=>e+((t&=63)<36?t.toString(36):t<62?(t-26).toString(36).toUpperCase():t>62?"-":"_")),"");function ra(e){var t=e.startContainer.nodeValue,n=e.endContainer.nodeValue,r=!!e.toString().match(/[\u1C88\u3131-\uD79D]/gi),o=r?e.startOffset:ia(e.startOffset,!1,t),i=r?e.endOffset:ia(e.endOffset,!0,n);try{e.setStart(e.startContainer,o),e.setEnd(e.endContainer,i)}catch(e){console.warn("Unable to snap selection to the next word")}}var oa=function(e){return!!e&&/\u2014|\u2013|,|\s/.test(e)};function ia(e,t,n){if(!n)return e;var r=n.split(""),o=e;if(t){if(oa(r[o-1]))return o-1;for(;o<n.length;){if(oa(r[o]))return o;o++}}else{if(oa(r[o]))return o+1;for(;o>0;){if(oa(r[o-1]))return o;o--}}return o}function aa(e){return function(e){if(Array.isArray(e))return la(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(e){if("string"==typeof e)return la(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?la(e,t):void 0}}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function la(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function sa(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 ua(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?sa(Object(n),!0).forEach((function(t){ca(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):sa(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function ca(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function da(e,t,n,r,o,i,a){try{var l=e[i](a),s=l.value}catch(e){return void n(e)}l.done?t(s):Promise.resolve(s).then(r,o)}function fa(e){return function(){var t=this,n=arguments;return new Promise((function(r,o){var i=e.apply(t,n);function a(e){da(i,r,o,a,l,"next",e)}function l(e){da(i,r,o,a,l,"throw",e)}a(void 0)}))}}var pa=new(o(3468).dx)({},void 0,void 0),ha=function(e){return pa.translate(e)};function ga(e,t){return ma.apply(this,arguments)}function ma(){return ma=fa(regeneratorRuntime.mark((function e(t,n){var r,o,i,a,l,s,u,c,d,f,p,h,g;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(t.selection.selection){e.next=2;break}return e.abrupt("return",{});case 2:if(r=t.selection.overlapHighlights.length>0,o=t.selection,i=o.range,a=o.selection,ra(i),(l=document.createElement("div")).appendChild(i.cloneContents()),s=ta(),u=zo(i),$o(u)){e.next=11;break}return e.abrupt("return",{errorMessage:"Highlight is too long"});case 11:if(a.isCollapsed||a.collapseToStart(),c=[],t.annotation&&c.push(t.annotation),r&&(t.selection.overlapHighlights.forEach((function(e){var n=t.existingHighlights.find((function(t){return t.id===e})),r=null==n?void 0:n.annotation;r&&c.push(r)})),$i(t.selection.overlapHighlights,t.highlightStartEndOffsets)),d=Fo(u,s,c.length>0,0,t.color),f={id:s,shortId:na(8),patch:u,type:"HIGHLIGHT",color:t.color,prefix:d.prefix,suffix:d.suffix,quote:ha(l.innerHTML),html:l.innerHTML,annotation:c.length>0?c.join("\n"):void 0,articleId:t.articleId,highlightPositionPercent:t.highlightPositionPercent,highlightPositionAnchorIndex:t.highlightPositionAnchorIndex},h=t.existingHighlights,!r){e.next=25;break}return e.next=21,n.mergeHighlightMutation(ua(ua({},f),{},{overlapHighlightIdList:t.selection.overlapHighlights}));case 21:p=e.sent,h=t.existingHighlights.filter((function(e){return!t.selection.overlapHighlights.includes(e.id)})),e.next=28;break;case 25:return e.next=27,n.createHighlightMutation(f);case 27:p=e.sent;case 28:if(document.dispatchEvent(new Event("highlightsUpdated")),!p){e.next=34;break}return g=[].concat(aa(h),[p]),e.abrupt("return",{highlights:g,newHighlightIndex:g.length>0?g.length-1:void 0});case 34:return e.abrupt("return",{highlights:t.existingHighlights,errorMessage:"Could not create highlight"});case 35:case"end":return e.stop()}}),e)}))),ma.apply(this,arguments)}function va(e,t,{checkForDefaultPrevented:n=!0}={}){return function(r){if(null==e||e(r),!1===n||!r.defaultPrevented)return null==t?void 0:t(r)}}function ba(...e){return t=>e.forEach((e=>function(e,t){"function"==typeof e?e(t):null!=e&&(e.current=t)}(e,t)))}function ya(...e){return(0,u.useCallback)(ba(...e),e)}function Aa(e,t=[]){let n=[];const r=()=>{const t=n.map((e=>(0,u.createContext)(e)));return function(n){const r=(null==n?void 0:n[e])||t;return(0,u.useMemo)((()=>({[`__scope${e}`]:{...n,[e]:r}})),[n,r])}};return r.scopeName=e,[function(t,r){const o=(0,u.createContext)(r),i=n.length;function a(t){const{scope:n,children:r,...a}=t,l=(null==n?void 0:n[e][i])||o,s=(0,u.useMemo)((()=>a),Object.values(a));return(0,u.createElement)(l.Provider,{value:s},r)}return n=[...n,r],a.displayName=t+"Provider",[a,function(n,a){const l=(null==a?void 0:a[e][i])||o,s=(0,u.useContext)(l);if(s)return s;if(void 0!==r)return r;throw new Error(`\`${n}\` must be used within \`${t}\``)}]},wa(r,...t)]}function wa(...e){const t=e[0];if(1===e.length)return t;const n=()=>{const n=e.map((e=>({useScope:e(),scopeName:e.scopeName})));return function(e){const r=n.reduce(((t,{useScope:n,scopeName:r})=>({...t,...n(e)[`__scope${r}`]})),{});return(0,u.useMemo)((()=>({[`__scope${t.scopeName}`]:r})),[r])}};return n.scopeName=t.scopeName,n}const xa=Boolean(null===globalThis||void 0===globalThis?void 0:globalThis.document)?u.useLayoutEffect:()=>{},Ea=c["useId".toString()]||(()=>{});let ka=0;function Sa(e){const[t,n]=u.useState(Ea());return xa((()=>{e||n((e=>null!=e?e:String(ka++)))}),[e]),e||(t?`radix-${t}`:"")}function _a(e){const t=(0,u.useRef)(e);return(0,u.useEffect)((()=>{t.current=e})),(0,u.useMemo)((()=>(...e)=>{var n;return null===(n=t.current)||void 0===n?void 0:n.call(t,...e)}),[])}function Ca({prop:e,defaultProp:t,onChange:n=(()=>{})}){const[r,o]=function({defaultProp:e,onChange:t}){const n=(0,u.useState)(e),[r]=n,o=(0,u.useRef)(r),i=_a(t);return(0,u.useEffect)((()=>{o.current!==r&&(i(r),o.current=r)}),[r,o,i]),n}({defaultProp:t,onChange:n}),i=void 0!==e,a=i?e:r,l=_a(n);return[a,(0,u.useCallback)((t=>{if(i){const n=t,r="function"==typeof t?n(e):t;r!==e&&l(r)}else o(t)}),[i,e,o,l])]}const Ta=(0,u.forwardRef)(((e,t)=>{const{children:n,...r}=e,o=u.Children.toArray(n),i=o.find(Oa);if(i){const e=i.props.children,n=o.map((t=>t===i?u.Children.count(e)>1?u.Children.only(null):(0,u.isValidElement)(e)?e.props.children:null:t));return(0,u.createElement)(Da,ke({},r,{ref:t}),(0,u.isValidElement)(e)?(0,u.cloneElement)(e,void 0,n):null)}return(0,u.createElement)(Da,ke({},r,{ref:t}),n)}));Ta.displayName="Slot";const Da=(0,u.forwardRef)(((e,t)=>{const{children:n,...r}=e;return(0,u.isValidElement)(n)?(0,u.cloneElement)(n,{...Ra(r,n.props),ref:t?ba(t,n.ref):n.ref}):u.Children.count(n)>1?u.Children.only(null):null}));Da.displayName="SlotClone";const La=({children:e})=>(0,u.createElement)(u.Fragment,null,e);function Oa(e){return(0,u.isValidElement)(e)&&e.type===La}function Ra(e,t){const n={...t};for(const r in t){const o=e[r],i=t[r];/^on[A-Z]/.test(r)?o&&i?n[r]=(...e)=>{i(...e),o(...e)}:o&&(n[r]=o):"style"===r?n[r]={...o,...i}:"className"===r&&(n[r]=[o,i].filter(Boolean).join(" "))}return{...e,...n}}const Pa=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","span","svg","ul"].reduce(((e,t)=>{const n=(0,u.forwardRef)(((e,n)=>{const{asChild:r,...o}=e,i=r?Ta:t;return(0,u.useEffect)((()=>{window[Symbol.for("radix-ui")]=!0}),[]),(0,u.createElement)(i,ke({},o,{ref:n}))}));return n.displayName=`Primitive.${t}`,{...e,[t]:n}}),{});function Ma(e,t){e&&(0,d.flushSync)((()=>e.dispatchEvent(t)))}const Na="dismissableLayer.update";let Ba;const Ia=(0,u.createContext)({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),ja=(0,u.forwardRef)(((e,t)=>{var n;const{disableOutsidePointerEvents:r=!1,onEscapeKeyDown:o,onPointerDownOutside:i,onFocusOutside:a,onInteractOutside:l,onDismiss:s,...c}=e,d=(0,u.useContext)(Ia),[f,p]=(0,u.useState)(null),h=null!==(n=null==f?void 0:f.ownerDocument)&&void 0!==n?n:null===globalThis||void 0===globalThis?void 0:globalThis.document,[,g]=(0,u.useState)({}),m=ya(t,(e=>p(e))),v=Array.from(d.layers),[b]=[...d.layersWithOutsidePointerEventsDisabled].slice(-1),y=v.indexOf(b),A=f?v.indexOf(f):-1,w=d.layersWithOutsidePointerEventsDisabled.size>0,x=A>=y,E=function(e,t=(null===globalThis||void 0===globalThis?void 0:globalThis.document)){const n=_a(e),r=(0,u.useRef)(!1),o=(0,u.useRef)((()=>{}));return(0,u.useEffect)((()=>{const e=e=>{if(e.target&&!r.current){const i={originalEvent:e};function a(){za("dismissableLayer.pointerDownOutside",n,i,{discrete:!0})}"touch"===e.pointerType?(t.removeEventListener("click",o.current),o.current=a,t.addEventListener("click",o.current,{once:!0})):a()}else t.removeEventListener("click",o.current);r.current=!1},i=window.setTimeout((()=>{t.addEventListener("pointerdown",e)}),0);return()=>{window.clearTimeout(i),t.removeEventListener("pointerdown",e),t.removeEventListener("click",o.current)}}),[t,n]),{onPointerDownCapture:()=>r.current=!0}}((e=>{const t=e.target,n=[...d.branches].some((e=>e.contains(t)));x&&!n&&(null==i||i(e),null==l||l(e),e.defaultPrevented||null==s||s())}),h),k=function(e,t=(null===globalThis||void 0===globalThis?void 0:globalThis.document)){const n=_a(e),r=(0,u.useRef)(!1);return(0,u.useEffect)((()=>{const e=e=>{e.target&&!r.current&&za("dismissableLayer.focusOutside",n,{originalEvent:e},{discrete:!1})};return t.addEventListener("focusin",e),()=>t.removeEventListener("focusin",e)}),[t,n]),{onFocusCapture:()=>r.current=!0,onBlurCapture:()=>r.current=!1}}((e=>{const t=e.target;[...d.branches].some((e=>e.contains(t)))||(null==a||a(e),null==l||l(e),e.defaultPrevented||null==s||s())}),h);return function(e,t=(null===globalThis||void 0===globalThis?void 0:globalThis.document)){const n=_a(e);(0,u.useEffect)((()=>{const e=e=>{"Escape"===e.key&&n(e)};return t.addEventListener("keydown",e),()=>t.removeEventListener("keydown",e)}),[n,t])}((e=>{A===d.layers.size-1&&(null==o||o(e),!e.defaultPrevented&&s&&(e.preventDefault(),s()))}),h),(0,u.useEffect)((()=>{if(f)return r&&(0===d.layersWithOutsidePointerEventsDisabled.size&&(Ba=h.body.style.pointerEvents,h.body.style.pointerEvents="none"),d.layersWithOutsidePointerEventsDisabled.add(f)),d.layers.add(f),Fa(),()=>{r&&1===d.layersWithOutsidePointerEventsDisabled.size&&(h.body.style.pointerEvents=Ba)}}),[f,h,r,d]),(0,u.useEffect)((()=>()=>{f&&(d.layers.delete(f),d.layersWithOutsidePointerEventsDisabled.delete(f),Fa())}),[f,d]),(0,u.useEffect)((()=>{const e=()=>g({});return document.addEventListener(Na,e),()=>document.removeEventListener(Na,e)}),[]),(0,u.createElement)(Pa.div,ke({},c,{ref:m,style:{pointerEvents:w?x?"auto":"none":void 0,...e.style},onFocusCapture:va(e.onFocusCapture,k.onFocusCapture),onBlurCapture:va(e.onBlurCapture,k.onBlurCapture),onPointerDownCapture:va(e.onPointerDownCapture,E.onPointerDownCapture)}))}));function Fa(){const e=new CustomEvent(Na);document.dispatchEvent(e)}function za(e,t,n,{discrete:r}){const o=n.originalEvent.target,i=new CustomEvent(e,{bubbles:!1,cancelable:!0,detail:n});t&&o.addEventListener(e,t,{once:!0}),r?Ma(o,i):o.dispatchEvent(i)}const Ha="focusScope.autoFocusOnMount",qa="focusScope.autoFocusOnUnmount",Ua={bubbles:!1,cancelable:!0},Wa=(0,u.forwardRef)(((e,t)=>{const{loop:n=!1,trapped:r=!1,onMountAutoFocus:o,onUnmountAutoFocus:i,...a}=e,[l,s]=(0,u.useState)(null),c=_a(o),d=_a(i),f=(0,u.useRef)(null),p=ya(t,(e=>s(e))),h=(0,u.useRef)({paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}}).current;(0,u.useEffect)((()=>{if(r){function e(e){if(h.paused||!l)return;const t=e.target;l.contains(t)?f.current=t:$a(f.current,{select:!0})}function t(e){if(h.paused||!l)return;const t=e.relatedTarget;null!==t&&(l.contains(t)||$a(f.current,{select:!0}))}function n(e){if(document.activeElement===document.body)for(const t of e)t.removedNodes.length>0&&$a(l)}document.addEventListener("focusin",e),document.addEventListener("focusout",t);const o=new MutationObserver(n);return l&&o.observe(l,{childList:!0,subtree:!0}),()=>{document.removeEventListener("focusin",e),document.removeEventListener("focusout",t),o.disconnect()}}}),[r,l,h.paused]),(0,u.useEffect)((()=>{if(l){Ya.add(h);const e=document.activeElement;if(!l.contains(e)){const t=new CustomEvent(Ha,Ua);l.addEventListener(Ha,c),l.dispatchEvent(t),t.defaultPrevented||(function(e,{select:t=!1}={}){const n=document.activeElement;for(const r of e)if($a(r,{select:t}),document.activeElement!==n)return}(Va(l).filter((e=>"A"!==e.tagName)),{select:!0}),document.activeElement===e&&$a(l))}return()=>{l.removeEventListener(Ha,c),setTimeout((()=>{const t=new CustomEvent(qa,Ua);l.addEventListener(qa,d),l.dispatchEvent(t),t.defaultPrevented||$a(null!=e?e:document.body,{select:!0}),l.removeEventListener(qa,d),Ya.remove(h)}),0)}}}),[l,c,d,h]);const g=(0,u.useCallback)((e=>{if(!n&&!r)return;if(h.paused)return;const t="Tab"===e.key&&!e.altKey&&!e.ctrlKey&&!e.metaKey,o=document.activeElement;if(t&&o){const t=e.currentTarget,[r,i]=function(e){const t=Va(e);return[Qa(t,e),Qa(t.reverse(),e)]}(t);r&&i?e.shiftKey||o!==i?e.shiftKey&&o===r&&(e.preventDefault(),n&&$a(i,{select:!0})):(e.preventDefault(),n&&$a(r,{select:!0})):o===t&&e.preventDefault()}}),[n,r,h.paused]);return(0,u.createElement)(Pa.div,ke({tabIndex:-1},a,{ref:p,onKeyDown:g}))}));function Va(e){const t=[],n=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:e=>{const t="INPUT"===e.tagName&&"hidden"===e.type;return e.disabled||e.hidden||t?NodeFilter.FILTER_SKIP:e.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});for(;n.nextNode();)t.push(n.currentNode);return t}function Qa(e,t){for(const n of e)if(!Ga(n,{upTo:t}))return n}function Ga(e,{upTo:t}){if("hidden"===getComputedStyle(e).visibility)return!0;for(;e;){if(void 0!==t&&e===t)return!1;if("none"===getComputedStyle(e).display)return!0;e=e.parentElement}return!1}function $a(e,{select:t=!1}={}){if(e&&e.focus){const n=document.activeElement;e.focus({preventScroll:!0}),e!==n&&function(e){return e instanceof HTMLInputElement&&"select"in e}(e)&&t&&e.select()}}const Ya=function(){let e=[];return{add(t){const n=e[0];t!==n&&(null==n||n.pause()),e=Za(e,t),e.unshift(t)},remove(t){var n;e=Za(e,t),null===(n=e[0])||void 0===n||n.resume()}}}();function Za(e,t){const n=[...e],r=n.indexOf(t);return-1!==r&&n.splice(r,1),n}const Ka=(0,u.forwardRef)(((e,t)=>{var n;const{container:r=(null===globalThis||void 0===globalThis||null===(n=globalThis.document)||void 0===n?void 0:n.body),...o}=e;return r?d.createPortal((0,u.createElement)(Pa.div,ke({},o,{ref:t})),r):null})),Ja=e=>{const{present:t,children:n}=e,r=function(e){const[t,n]=(0,u.useState)(),r=(0,u.useRef)({}),o=(0,u.useRef)(e),i=(0,u.useRef)("none"),a=e?"mounted":"unmounted",[l,s]=function(e,t){return(0,u.useReducer)(((e,n)=>{const r=t[e][n];return null!=r?r:e}),e)}(a,{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}});return(0,u.useEffect)((()=>{const e=Xa(r.current);i.current="mounted"===l?e:"none"}),[l]),xa((()=>{const t=r.current,n=o.current;if(n!==e){const r=i.current,a=Xa(t);if(e)s("MOUNT");else if("none"===a||"none"===(null==t?void 0:t.display))s("UNMOUNT");else{const e=r!==a;s(n&&e?"ANIMATION_OUT":"UNMOUNT")}o.current=e}}),[e,s]),xa((()=>{if(t){const e=e=>{const n=Xa(r.current).includes(e.animationName);e.target===t&&n&&(0,d.flushSync)((()=>s("ANIMATION_END")))},n=e=>{e.target===t&&(i.current=Xa(r.current))};return t.addEventListener("animationstart",n),t.addEventListener("animationcancel",e),t.addEventListener("animationend",e),()=>{t.removeEventListener("animationstart",n),t.removeEventListener("animationcancel",e),t.removeEventListener("animationend",e)}}s("ANIMATION_END")}),[t,s]),{isPresent:["mounted","unmountSuspended"].includes(l),ref:(0,u.useCallback)((e=>{e&&(r.current=getComputedStyle(e)),n(e)}),[])}}(t),o="function"==typeof n?n({present:r.isPresent}):u.Children.only(n),i=ya(r.ref,o.ref);return"function"==typeof n||r.isPresent?(0,u.cloneElement)(o,{ref:i}):null};function Xa(e){return(null==e?void 0:e.animationName)||"none"}Ja.displayName="Presence";let el=0;function tl(){(0,u.useEffect)((()=>{var e,t;const n=document.querySelectorAll("[data-radix-focus-guard]");return document.body.insertAdjacentElement("afterbegin",null!==(e=n[0])&&void 0!==e?e:nl()),document.body.insertAdjacentElement("beforeend",null!==(t=n[1])&&void 0!==t?t:nl()),el++,()=>{1===el&&document.querySelectorAll("[data-radix-focus-guard]").forEach((e=>e.remove())),el--}}),[])}function nl(){const e=document.createElement("span");return e.setAttribute("data-radix-focus-guard",""),e.tabIndex=0,e.style.cssText="outline: none; opacity: 0; position: fixed; pointer-events: none",e}var rl=function(){return rl=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},rl.apply(this,arguments)};function ol(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n}Object.create,Object.create,"function"==typeof SuppressedError&&SuppressedError;var il="right-scroll-bar-position",al="width-before-scroll-bar";function ll(e){return e}var sl=function(e){void 0===e&&(e={});var t=function(e,t){void 0===t&&(t=ll);var n=[],r=!1,o={read:function(){if(r)throw new Error("Sidecar: could not `read` from an `assigned` medium. `read` could be used only with `useMedium`.");return n.length?n[n.length-1]:e},useMedium:function(e){var o=t(e,r);return n.push(o),function(){n=n.filter((function(e){return e!==o}))}},assignSyncMedium:function(e){for(r=!0;n.length;){var t=n;n=[],t.forEach(e)}n={push:function(t){return e(t)},filter:function(){return n}}},assignMedium:function(e){r=!0;var t=[];if(n.length){var o=n;n=[],o.forEach(e),t=n}var i=function(){var n=t;t=[],n.forEach(e)},a=function(){return Promise.resolve().then(i)};a(),n={push:function(e){t.push(e),a()},filter:function(e){return t=t.filter(e),n}}}};return o}(null);return t.options=rl({async:!0,ssr:!1},e),t}(),ul=function(){},cl=u.forwardRef((function(e,t){var n=u.useRef(null),r=u.useState({onScrollCapture:ul,onWheelCapture:ul,onTouchMoveCapture:ul}),o=r[0],i=r[1],a=e.forwardProps,l=e.children,s=e.className,c=e.removeScrollBar,d=e.enabled,f=e.shards,p=e.sideCar,h=e.noIsolation,g=e.inert,m=e.allowPinchZoom,v=e.as,b=void 0===v?"div":v,y=ol(e,["forwardProps","children","className","removeScrollBar","enabled","shards","sideCar","noIsolation","inert","allowPinchZoom","as"]),A=p,w=function(e,t){return n=t||null,r=function(t){return e.forEach((function(e){return function(e,t){return"function"==typeof e?e(t):e&&(e.current=t),e}(e,t)}))},(o=(0,u.useState)((function(){return{value:n,callback:r,facade:{get current(){return o.value},set current(e){var t=o.value;t!==e&&(o.value=e,o.callback(e,t))}}}}))[0]).callback=r,o.facade;var n,r,o}([n,t]),x=rl(rl({},y),o);return u.createElement(u.Fragment,null,d&&u.createElement(A,{sideCar:sl,removeScrollBar:c,shards:f,noIsolation:h,inert:g,setCallbacks:i,allowPinchZoom:!!m,lockRef:n}),a?u.cloneElement(u.Children.only(l),rl(rl({},x),{ref:w})):u.createElement(b,rl({},x,{className:s,ref:w}),l))}));cl.defaultProps={enabled:!0,removeScrollBar:!0,inert:!1},cl.classNames={fullWidth:al,zeroRight:il};var dl=function(e){var t=e.sideCar,n=ol(e,["sideCar"]);if(!t)throw new Error("Sidecar: please provide `sideCar` property to import the right car");var r=t.read();if(!r)throw new Error("Sidecar medium not found");return u.createElement(r,rl({},n))};dl.isSideCarExport=!0;var fl=function(){var e=0,t=null;return{add:function(n){var r;0==e&&(t=function(){if(!document)return null;var e=document.createElement("style");e.type="text/css";var t=o.nc;return t&&e.setAttribute("nonce",t),e}())&&(function(e,t){e.styleSheet?e.styleSheet.cssText=t:e.appendChild(document.createTextNode(t))}(t,n),r=t,(document.head||document.getElementsByTagName("head")[0]).appendChild(r)),e++},remove:function(){!--e&&t&&(t.parentNode&&t.parentNode.removeChild(t),t=null)}}},pl=function(){var e,t=(e=fl(),function(t,n){u.useEffect((function(){return e.add(t),function(){e.remove()}}),[t&&n])});return function(e){var n=e.styles,r=e.dynamic;return t(n,r),null}},hl={left:0,top:0,right:0,gap:0},gl=function(e){return parseInt(e||"",10)||0},ml=pl(),vl=function(e,t,n,r){var o=e.left,i=e.top,a=e.right,l=e.gap;return void 0===n&&(n="margin"),"\n .".concat("with-scroll-bars-hidden"," {\n overflow: hidden ").concat(r,";\n padding-right: ").concat(l,"px ").concat(r,";\n }\n body {\n overflow: hidden ").concat(r,";\n overscroll-behavior: contain;\n ").concat([t&&"position: relative ".concat(r,";"),"margin"===n&&"\n padding-left: ".concat(o,"px;\n padding-top: ").concat(i,"px;\n padding-right: ").concat(a,"px;\n margin-left:0;\n margin-top:0;\n margin-right: ").concat(l,"px ").concat(r,";\n "),"padding"===n&&"padding-right: ".concat(l,"px ").concat(r,";")].filter(Boolean).join(""),"\n }\n \n .").concat(il," {\n right: ").concat(l,"px ").concat(r,";\n }\n \n .").concat(al," {\n margin-right: ").concat(l,"px ").concat(r,";\n }\n \n .").concat(il," .").concat(il," {\n right: 0 ").concat(r,";\n }\n \n .").concat(al," .").concat(al," {\n margin-right: 0 ").concat(r,";\n }\n \n body {\n ").concat("--removed-body-scroll-bar-size",": ").concat(l,"px;\n }\n")},bl=function(e){var t=e.noRelative,n=e.noImportant,r=e.gapMode,o=void 0===r?"margin":r,i=u.useMemo((function(){return function(e){if(void 0===e&&(e="margin"),"undefined"==typeof window)return hl;var t=function(e){var t=window.getComputedStyle(document.body),n=t["padding"===e?"paddingLeft":"marginLeft"],r=t["padding"===e?"paddingTop":"marginTop"],o=t["padding"===e?"paddingRight":"marginRight"];return[gl(n),gl(r),gl(o)]}(e),n=document.documentElement.clientWidth,r=window.innerWidth;return{left:t[0],top:t[1],right:t[2],gap:Math.max(0,r-n+t[2]-t[0])}}(o)}),[o]);return u.createElement(ml,{styles:vl(i,!t,o,n?"":"!important")})},yl=!1;if("undefined"!=typeof window)try{var Al=Object.defineProperty({},"passive",{get:function(){return yl=!0,!0}});window.addEventListener("test",Al,Al),window.removeEventListener("test",Al,Al)}catch(e){yl=!1}var wl=!!yl&&{passive:!1},xl=function(e,t){var n=window.getComputedStyle(e);return"hidden"!==n[t]&&!(n.overflowY===n.overflowX&&!function(e){return"TEXTAREA"===e.tagName}(e)&&"visible"===n[t])},El=function(e,t){var n=t;do{if("undefined"!=typeof ShadowRoot&&n instanceof ShadowRoot&&(n=n.host),kl(e,n)){var r=Sl(e,n);if(r[1]>r[2])return!0}n=n.parentNode}while(n&&n!==document.body);return!1},kl=function(e,t){return"v"===e?function(e){return xl(e,"overflowY")}(t):function(e){return xl(e,"overflowX")}(t)},Sl=function(e,t){return"v"===e?function(e){return[e.scrollTop,e.scrollHeight,e.clientHeight]}(t):function(e){return[e.scrollLeft,e.scrollWidth,e.clientWidth]}(t)},_l=function(e){return"changedTouches"in e?[e.changedTouches[0].clientX,e.changedTouches[0].clientY]:[0,0]},Cl=function(e){return[e.deltaX,e.deltaY]},Tl=function(e){return e&&"current"in e?e.current:e},Dl=function(e){return"\n .block-interactivity-".concat(e," {pointer-events: none;}\n .allow-interactivity-").concat(e," {pointer-events: all;}\n")},Ll=0,Ol=[];const Rl=(Pl=function(e){var t=u.useRef([]),n=u.useRef([0,0]),r=u.useRef(),o=u.useState(Ll++)[0],i=u.useState((function(){return pl()}))[0],a=u.useRef(e);u.useEffect((function(){a.current=e}),[e]),u.useEffect((function(){if(e.inert){document.body.classList.add("block-interactivity-".concat(o));var t=function(e,t,n){if(n||2===arguments.length)for(var r,o=0,i=t.length;o<i;o++)!r&&o in t||(r||(r=Array.prototype.slice.call(t,0,o)),r[o]=t[o]);return e.concat(r||Array.prototype.slice.call(t))}([e.lockRef.current],(e.shards||[]).map(Tl),!0).filter(Boolean);return t.forEach((function(e){return e.classList.add("allow-interactivity-".concat(o))})),function(){document.body.classList.remove("block-interactivity-".concat(o)),t.forEach((function(e){return e.classList.remove("allow-interactivity-".concat(o))}))}}}),[e.inert,e.lockRef.current,e.shards]);var l=u.useCallback((function(e,t){if("touches"in e&&2===e.touches.length)return!a.current.allowPinchZoom;var o,i=_l(e),l=n.current,s="deltaX"in e?e.deltaX:l[0]-i[0],u="deltaY"in e?e.deltaY:l[1]-i[1],c=e.target,d=Math.abs(s)>Math.abs(u)?"h":"v";if("touches"in e&&"h"===d&&"range"===c.type)return!1;var f=El(d,c);if(!f)return!0;if(f?o=d:(o="v"===d?"h":"v",f=El(d,c)),!f)return!1;if(!r.current&&"changedTouches"in e&&(s||u)&&(r.current=o),!o)return!0;var p=r.current||o;return function(e,t,n,r,o){var i=function(e,t){return"h"===e&&"rtl"===t?-1:1}(e,window.getComputedStyle(t).direction),a=i*r,l=n.target,s=t.contains(l),u=!1,c=a>0,d=0,f=0;do{var p=Sl(e,l),h=p[0],g=p[1]-p[2]-i*h;(h||g)&&kl(e,l)&&(d+=g,f+=h),l=l.parentNode}while(!s&&l!==document.body||s&&(t.contains(l)||t===l));return(c&&(0===d||!1)||!c&&(0===f||!1))&&(u=!0),u}(p,t,e,"h"===p?s:u)}),[]),s=u.useCallback((function(e){var n=e;if(Ol.length&&Ol[Ol.length-1]===i){var r="deltaY"in n?Cl(n):_l(n),o=t.current.filter((function(e){return e.name===n.type&&e.target===n.target&&function(e,t){return e[0]===t[0]&&e[1]===t[1]}(e.delta,r)}))[0];if(o&&o.should)n.cancelable&&n.preventDefault();else if(!o){var s=(a.current.shards||[]).map(Tl).filter(Boolean).filter((function(e){return e.contains(n.target)}));(s.length>0?l(n,s[0]):!a.current.noIsolation)&&n.cancelable&&n.preventDefault()}}}),[]),c=u.useCallback((function(e,n,r,o){var i={name:e,delta:n,target:r,should:o};t.current.push(i),setTimeout((function(){t.current=t.current.filter((function(e){return e!==i}))}),1)}),[]),d=u.useCallback((function(e){n.current=_l(e),r.current=void 0}),[]),f=u.useCallback((function(t){c(t.type,Cl(t),t.target,l(t,e.lockRef.current))}),[]),p=u.useCallback((function(t){c(t.type,_l(t),t.target,l(t,e.lockRef.current))}),[]);u.useEffect((function(){return Ol.push(i),e.setCallbacks({onScrollCapture:f,onWheelCapture:f,onTouchMoveCapture:p}),document.addEventListener("wheel",s,wl),document.addEventListener("touchmove",s,wl),document.addEventListener("touchstart",d,wl),function(){Ol=Ol.filter((function(e){return e!==i})),document.removeEventListener("wheel",s,wl),document.removeEventListener("touchmove",s,wl),document.removeEventListener("touchstart",d,wl)}}),[]);var h=e.removeScrollBar,g=e.inert;return u.createElement(u.Fragment,null,g?u.createElement(i,{styles:Dl(o)}):null,h?u.createElement(bl,{gapMode:"margin"}):null)},sl.useMedium(Pl),dl);var Pl,Ml=u.forwardRef((function(e,t){return u.createElement(cl,rl({},e,{ref:t,sideCar:Rl}))}));Ml.classNames=cl.classNames;const Nl=Ml;var Bl=new WeakMap,Il=new WeakMap,jl={},Fl=0,zl=function(e,t,n){void 0===t&&(t=function(e){return"undefined"==typeof document?null:(Array.isArray(e)?e[0]:e).ownerDocument.body}(e)),void 0===n&&(n="data-aria-hidden");var r=Array.isArray(e)?e:[e];jl[n]||(jl[n]=new WeakMap);var o=jl[n],i=[],a=new Set,l=function(e){e&&!a.has(e)&&(a.add(e),l(e.parentNode))};r.forEach(l);var s=function(e){!e||r.indexOf(e)>=0||Array.prototype.forEach.call(e.children,(function(e){if(a.has(e))s(e);else{var t=e.getAttribute("aria-hidden"),r=null!==t&&"false"!==t,l=(Bl.get(e)||0)+1,u=(o.get(e)||0)+1;Bl.set(e,l),o.set(e,u),i.push(e),1===l&&r&&Il.set(e,!0),1===u&&e.setAttribute(n,"true"),r||e.setAttribute("aria-hidden","true")}}))};return s(t),a.clear(),Fl++,function(){i.forEach((function(e){var t=Bl.get(e)-1,r=o.get(e)-1;Bl.set(e,t),o.set(e,r),t||(Il.has(e)||e.removeAttribute("aria-hidden"),Il.delete(e)),r||e.removeAttribute(n)})),--Fl||(Bl=new WeakMap,Bl=new WeakMap,Il=new WeakMap,jl={})}};const Hl="Dialog",[ql,Ul]=Aa(Hl),[Wl,Vl]=ql(Hl),Ql="DialogPortal",[Gl,$l]=ql(Ql,{forceMount:void 0}),Yl="DialogOverlay",Zl=(0,u.forwardRef)(((e,t)=>{const n=$l(Yl,e.__scopeDialog),{forceMount:r=n.forceMount,...o}=e,i=Vl(Yl,e.__scopeDialog);return i.modal?(0,u.createElement)(Ja,{present:r||i.open},(0,u.createElement)(Kl,ke({},o,{ref:t}))):null})),Kl=(0,u.forwardRef)(((e,t)=>{const{__scopeDialog:n,...r}=e,o=Vl(Yl,n);return(0,u.createElement)(Nl,{as:Ta,allowPinchZoom:!0,shards:[o.contentRef]},(0,u.createElement)(Pa.div,ke({"data-state":rs(o.open)},r,{ref:t,style:{pointerEvents:"auto",...r.style}})))})),Jl="DialogContent",Xl=(0,u.forwardRef)(((e,t)=>{const n=$l(Jl,e.__scopeDialog),{forceMount:r=n.forceMount,...o}=e,i=Vl(Jl,e.__scopeDialog);return(0,u.createElement)(Ja,{present:r||i.open},i.modal?(0,u.createElement)(es,ke({},o,{ref:t})):(0,u.createElement)(ts,ke({},o,{ref:t})))})),es=(0,u.forwardRef)(((e,t)=>{const n=Vl(Jl,e.__scopeDialog),r=(0,u.useRef)(null),o=ya(t,n.contentRef,r);return(0,u.useEffect)((()=>{const e=r.current;if(e)return zl(e)}),[]),(0,u.createElement)(ns,ke({},e,{ref:o,trapFocus:n.open,disableOutsidePointerEvents:!0,onCloseAutoFocus:va(e.onCloseAutoFocus,(e=>{var t;e.preventDefault(),null===(t=n.triggerRef.current)||void 0===t||t.focus()})),onPointerDownOutside:va(e.onPointerDownOutside,(e=>{const t=e.detail.originalEvent,n=0===t.button&&!0===t.ctrlKey;(2===t.button||n)&&e.preventDefault()})),onFocusOutside:va(e.onFocusOutside,(e=>e.preventDefault()))}))})),ts=(0,u.forwardRef)(((e,t)=>{const n=Vl(Jl,e.__scopeDialog),r=(0,u.useRef)(!1),o=(0,u.useRef)(!1);return(0,u.createElement)(ns,ke({},e,{ref:t,trapFocus:!1,disableOutsidePointerEvents:!1,onCloseAutoFocus:t=>{var i,a;null===(i=e.onCloseAutoFocus)||void 0===i||i.call(e,t),t.defaultPrevented||(r.current||null===(a=n.triggerRef.current)||void 0===a||a.focus(),t.preventDefault()),r.current=!1,o.current=!1},onInteractOutside:t=>{var i,a;null===(i=e.onInteractOutside)||void 0===i||i.call(e,t),t.defaultPrevented||(r.current=!0,"pointerdown"===t.detail.originalEvent.type&&(o.current=!0));const l=t.target;(null===(a=n.triggerRef.current)||void 0===a?void 0:a.contains(l))&&t.preventDefault(),"focusin"===t.detail.originalEvent.type&&o.current&&t.preventDefault()}}))})),ns=(0,u.forwardRef)(((e,t)=>{const{__scopeDialog:n,trapFocus:r,onOpenAutoFocus:o,onCloseAutoFocus:i,...a}=e,l=Vl(Jl,n),s=ya(t,(0,u.useRef)(null));return tl(),(0,u.createElement)(u.Fragment,null,(0,u.createElement)(Wa,{asChild:!0,loop:!0,trapped:r,onMountAutoFocus:o,onUnmountAutoFocus:i},(0,u.createElement)(ja,ke({role:"dialog",id:l.contentId,"aria-describedby":l.descriptionId,"aria-labelledby":l.titleId,"data-state":rs(l.open)},a,{ref:s,onDismiss:()=>l.onOpenChange(!1)}))),!1)}));function rs(e){return e?"open":"closed"}const[os,is]=function(e,t){const n=(0,u.createContext)(t);function r(e){const{children:t,...r}=e,o=(0,u.useMemo)((()=>r),Object.values(r));return(0,u.createElement)(n.Provider,{value:o},t)}return r.displayName="DialogTitleWarningProvider",[r,function(e){const r=(0,u.useContext)(n);if(r)return r;if(void 0!==t)return t;throw new Error(`\`${e}\` must be used within \`DialogTitleWarning\``)}]}(0,{contentName:Jl,titleName:"DialogTitle",docsSlug:"dialog"}),as=e=>{const{__scopeDialog:t,children:n,open:r,defaultOpen:o,onOpenChange:i,modal:a=!0}=e,l=(0,u.useRef)(null),s=(0,u.useRef)(null),[c=!1,d]=Ca({prop:r,defaultProp:o,onChange:i});return(0,u.createElement)(Wl,{scope:t,triggerRef:l,contentRef:s,contentId:Sa(),titleId:Sa(),descriptionId:Sa(),open:c,onOpenChange:d,onOpenToggle:(0,u.useCallback)((()=>d((e=>!e))),[d]),modal:a},n)},ls=e=>{const{__scopeDialog:t,forceMount:n,children:r,container:o}=e,i=Vl(Ql,t);return(0,u.createElement)(Gl,{scope:t,forceMount:n},u.Children.map(r,(e=>(0,u.createElement)(Ja,{present:n||i.open},(0,u.createElement)(Ka,{asChild:!0,container:o},e)))))},ss=Zl,us=Xl;var cs=new Map;cs.set("bold",(function(e){return u.createElement(u.Fragment,null,u.createElement("line",{x1:"200",y1:"56",x2:"56",y2:"200",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"24"}),u.createElement("line",{x1:"200",y1:"200",x2:"56",y2:"56",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"24"}))})),cs.set("duotone",(function(e){return u.createElement(u.Fragment,null,u.createElement("line",{x1:"200",y1:"56",x2:"56",y2:"200",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"16"}),u.createElement("line",{x1:"200",y1:"200",x2:"56",y2:"56",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"16"}))})),cs.set("fill",(function(){return u.createElement(u.Fragment,null,u.createElement("path",{d:"M139.3,128l66.4-66.3a8.1,8.1,0,0,0-11.4-11.4L128,116.7,61.7,50.3A8.1,8.1,0,0,0,50.3,61.7L116.7,128,50.3,194.3a8.1,8.1,0,0,0,0,11.4,8.2,8.2,0,0,0,11.4,0L128,139.3l66.3,66.4a8.2,8.2,0,0,0,11.4,0,8.1,8.1,0,0,0,0-11.4Z"}))})),cs.set("light",(function(e){return u.createElement(u.Fragment,null,u.createElement("line",{x1:"200",y1:"56",x2:"56",y2:"200",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"12"}),u.createElement("line",{x1:"200",y1:"200",x2:"56",y2:"56",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"12"}))})),cs.set("thin",(function(e){return u.createElement(u.Fragment,null,u.createElement("line",{x1:"200",y1:"56",x2:"56",y2:"200",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"8"}),u.createElement("line",{x1:"200",y1:"200",x2:"56",y2:"56",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"8"}))})),cs.set("regular",(function(e){return u.createElement(u.Fragment,null,u.createElement("line",{x1:"200",y1:"56",x2:"56",y2:"200",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"16"}),u.createElement("line",{x1:"200",y1:"200",x2:"56",y2:"56",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"16"}))}));var ds=function(e,t){return li(e,t,cs)},fs=(0,u.forwardRef)((function(e,t){return u.createElement(ci,Object.assign({ref:t},e,{renderPath:ds}))}));fs.displayName="X";const ps=fs;function hs(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function gs(e){var t=function(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,i=[],a=!0,l=!1;try{for(n=n.call(e);!(a=(r=n.next()).done)&&(i.push(r.value),!t||i.length!==t);a=!0);}catch(e){l=!0,o=e}finally{try{a||null==n.return||n.return()}finally{if(l)throw o}}return i}}(e,t)||function(e,t){if(e){if("string"==typeof e)return hs(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?hs(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}((0,u.useState)(!1),2),n=t[0],r=t[1];return(0,Ie.jsx)(Fe,{css:{display:"flex",height:"25px",width:"25px",alignItems:"center",justifyContent:"center",borderRadius:"1000px",background:"$thBackground2","&:hover":{bg:"#898989"}},onMouseOver:function(){return r(!0)},onMouseOut:function(){return r(!1)},children:(0,Ie.jsx)(ii,{tabIndex:-1,css:{cursor:"pointer",marginLeft:"auto",width:"100%",height:"100%",display:"flex",alignItems:"center",justifyContent:"center"},style:"ghost",onClick:function(){e.close()},children:(0,Ie.jsx)(ps,{width:12,height:12,weight:"bold",color:n?"#EBEBEB":"#898989",className:"xMark"})})})}var ms,vs,bs,ys,As,ws,xs,Es,ks=he(as,{}),Ss=ve({"0%":{opacity:0},"100%":{opacity:1}}),_s=he(ss,{backgroundColor:"$overlay",width:"100vw",height:"100vh",position:"fixed",zIndex:10,inset:0,"@media (prefers-reduced-motion: no-preference)":{animation:"".concat(Ss," 150ms cubic-bezier(0.16, 1, 0.3, 1)")}}),Cs=he(us,{backgroundColor:"$grayBg",borderRadius:6,boxShadow:ge.shadows.cardBoxShadow.toString(),position:"fixed","&:focus":{outline:"none"}}),Ts=he(Cs,{top:"50%",left:"50%",transform:"translate(-50%, -50%)",width:"90vw",maxWidth:"450px",maxHeight:"85vh","@smDown":{maxWidth:"95%",width:"95%"},zIndex:"10"}),Ds=function(e){return(0,Ie.jsxs)(Ue,{distribution:"between",alignment:"center",css:{height:"50px",width:"100%"},children:[(0,Ie.jsx)(wo,{style:"modalHeadline",children:e.title}),(0,Ie.jsx)(ze,{css:{ml:"auto"},children:(0,Ie.jsx)(gs,{close:function(){return e.onOpenChange(!1)}})})]})},Ls=function(e){return(0,Ie.jsxs)(Ue,{alignment:"center",distribution:"end",css:{gap:"10px",width:"100%",height:"80px","input:focus":{outline:"5px auto -webkit-focus-ring-color"},"button:focus":{outline:"5px auto -webkit-focus-ring-color"}},children:[(0,Ie.jsx)(ii,{style:"cancelGeneric",type:"button",onClick:function(t){t.preventDefault(),e.onOpenChange(!1)},children:"Cancel"}),(0,Ie.jsx)(ii,{style:"ctaDarkYellow",children:e.acceptButtonLabel||"Submit"})]})},Os=he("textarea",{outline:"none",border:"none",overflow:"auto",resize:"none",background:"unset",color:"$grayText",fontSize:"$3",fontFamily:"inter",lineHeight:"1.35","&::placeholder":{opacity:.7}}),Rs=(he(Os,{borderRadius:"6px",border:"1px solid $grayBorder",p:"$3",fontSize:"$1"}),o(6647)),Ps={prod:{webBaseURL:null!==(ms=window.omnivoreEnv.NEXT_PUBLIC_BASE_URL)&&void 0!==ms?ms:"",serverBaseURL:null!==(vs=window.omnivoreEnv.NEXT_PUBLIC_SERVER_BASE_URL)&&void 0!==vs?vs:""},dev:{webBaseURL:null!==(bs=window.omnivoreEnv.NEXT_PUBLIC_DEV_BASE_URL)&&void 0!==bs?bs:"",serverBaseURL:null!==(ys=window.omnivoreEnv.NEXT_PUBLIC_DEV_SERVER_BASE_URL)&&void 0!==ys?ys:""},demo:{webBaseURL:null!==(As=window.omnivoreEnv.NEXT_PUBLIC_DEMO_BASE_URL)&&void 0!==As?As:"",serverBaseURL:null!==(ws=window.omnivoreEnv.NEXT_PUBLIC_DEMO_SERVER_BASE_URL)&&void 0!==ws?ws:""},local:{webBaseURL:null!==(xs=window.omnivoreEnv.NEXT_PUBLIC_LOCAL_BASE_URL)&&void 0!==xs?xs:"",serverBaseURL:null!==(Es=window.omnivoreEnv.NEXT_PUBLIC_LOCAL_SERVER_BASE_URL)&&void 0!==Es?Es:""}};function Ms(e){var t=Ps[Bs].serverBaseURL;if(0==t.length)throw new Error("Couldn't find environment variable for server base url in ".concat(e," environment"));return t}var Ns,Bs=window.omnivoreEnv.NEXT_PUBLIC_APP_ENV||"prod",Is=(window.omnivoreEnv.SENTRY_DSN||window.omnivoreEnv.NEXT_PUBLIC_SENTRY_DSN,window.omnivoreEnv.NEXT_PUBLIC_PSPDFKIT_LICENSE_KEY,window.omnivoreEnv.SSO_JWT_SECRET,"".concat(Ps[Bs].serverBaseURL,"local"==Bs?"/api/auth/gauth-redirect-localhost":"/api/auth/vercel/gauth-redirect"),"".concat(Ps[Bs].serverBaseURL,"local"==Bs?"/api/auth/apple-redirect-localhost":"/api/auth/vercel/apple-redirect"),window.omnivoreEnv.NEXT_PUBLIC_INTERCOM_APP_ID,window.omnivoreEnv.NEXT_PUBLIC_POSTHOG_API_KEY,"prod"==Bs?window.omnivoreEnv.NEXT_PUBLIC_GOOGLE_ID:window.omnivoreEnv.NEXT_PUBLIC_DEV_GOOGLE_ID,"".concat(Ms(Bs),"/api/graphql")),js="".concat(Ms(Bs),"/api");function Fs(e,t,n,r,o,i,a){try{var l=e[i](a),s=l.value}catch(e){return void n(e)}l.done?t(s):Promise.resolve(s).then(r,o)}function zs(e){return function(){var t=this,n=arguments;return new Promise((function(r,o){var i=e.apply(t,n);function a(e){Fs(i,r,o,a,l,"next",e)}function l(e){Fs(i,r,o,a,l,"throw",e)}a(void 0)}))}}function Hs(){var e,t,n=(null===(e=window)||void 0===e?void 0:e.localStorage.getItem("authToken"))||void 0,r=(null===(t=window)||void 0===t?void 0:t.localStorage.getItem("pendingUserAuth"))||void 0;return n?{"X-OmnivoreClient":"web",authorization:n}:r?{"X-OmnivoreClient":"web",pendingUserAuth:r}:{}}function qs(e,t){return Us(e,t,!1)}function Us(e,t){var n=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];n&&Ws();var r=new Rs.GraphQLClient(Is,{credentials:"include",mode:"cors"});return r.request(e,t,Hs())}function Ws(){return Vs.apply(this,arguments)}function Vs(){return(Vs=zs(regeneratorRuntime.mark((function e(){var t,n,r;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if("undefined"!=typeof window){e.next=2;break}return e.abrupt("return");case 2:if(!window.localStorage.getItem("authVerified")){e.next=4;break}return e.abrupt("return");case 4:return e.prev=4,e.next=7,fetch("".concat(js,"/auth/verify"),{credentials:"include",mode:"cors",headers:Hs()});case 7:if(200===(t=e.sent).status){e.next=10;break}return e.abrupt("return");case 10:return e.next=12,t.json();case 12:n=e.sent,r=n.authStatus,e.t0=r,e.next="AUTHENTICATED"===e.t0?17:"PENDING_USER"===e.t0?19:"NOT_AUTHENTICATED"===e.t0?21:22;break;case 17:return window.localStorage.setItem("authVerified","true"),e.abrupt("break",22);case 19:return"/confirm-profile"!==window.location.pathname&&(window.location.href="/confirm-profile"),e.abrupt("break",22);case 21:"/login"!==window.location.pathname&&(window.location.href="/login?errorCodes=AUTH_FAILED");case 22:e.next=27;break;case 24:return e.prev=24,e.t1=e.catch(4),e.abrupt("return");case 27:case"end":return e.stop()}}),e,null,[[4,24]])})))).apply(this,arguments)}function Qs(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}function Gs(e,t,n,r,o,i,a){try{var l=e[i](a),s=l.value}catch(e){return void n(e)}l.done?t(s):Promise.resolve(s).then(r,o)}function $s(e){return function(){var t=this,n=arguments;return new Promise((function(r,o){var i=e.apply(t,n);function a(e){Gs(i,r,o,a,l,"next",e)}function l(e){Gs(i,r,o,a,l,"throw",e)}a(void 0)}))}}function Ys(e){return Zs.apply(this,arguments)}function Zs(){return Zs=$s(regeneratorRuntime.mark((function e(t){var n,r,o;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n=(0,Rs.gql)(Ns||(Ns=Qs(["\n mutation UpdateHighlight($input: UpdateHighlightInput!) {\n updateHighlight(input: $input) {\n ... on UpdateHighlightSuccess {\n highlight {\n id\n }\n }\n\n ... on UpdateHighlightError {\n errorCodes\n }\n }\n }\n "]))),e.prev=1,e.next=4,Us(n,{input:{highlightId:t.highlightId,annotation:t.annotation,color:t.color}});case 4:return r=e.sent,o=r,e.abrupt("return",null==o?void 0:o.updateHighlight.highlight.id);case 9:return e.prev=9,e.t0=e.catch(1),e.abrupt("return",void 0);case 12:case"end":return e.stop()}}),e,null,[[1,9]])}))),Zs.apply(this,arguments)}!function(e){if(0==Ps[Bs].webBaseURL.length)throw new Error("Couldn't find environment variable for web base url in ".concat(e," environment"))}(Bs);let Ks,Js,Xs,eu={data:""},tu=e=>"object"==typeof window?((e?e.querySelector("#_goober"):window._goober)||Object.assign((e||document.head).appendChild(document.createElement("style")),{innerHTML:" ",id:"_goober"})).firstChild:e||eu,nu=/(?:([\u0080-\uFFFF\w-%@]+) *:? *([^{;]+?);|([^;}{]*?) *{)|(}\s*)/g,ru=/\/\*[^]*?\*\/|\s\s+|\n/g,ou=(e,t)=>{let n="",r="",o="";for(let i in e){let a=e[i];"@"==i[0]?"i"==i[1]?n=i+" "+a+";":r+="f"==i[1]?ou(a,i):i+"{"+ou(a,"k"==i[1]?"":t)+"}":"object"==typeof a?r+=ou(a,t?t.replace(/([^,])+/g,(e=>i.replace(/(^:.*)|([^,])+/g,(t=>/&/.test(t)?t.replace(/&/g,e):e?e+" "+t:t)))):i):null!=a&&(i=/^--/.test(i)?i:i.replace(/[A-Z]/g,"-$&").toLowerCase(),o+=ou.p?ou.p(i,a):i+":"+a+";")}return n+(t&&o?t+"{"+o+"}":o)+r},iu={},au=e=>{if("object"==typeof e){let t="";for(let n in e)t+=n+au(e[n]);return t}return e},lu=(e,t,n,r,o)=>{let i=au(e),a=iu[i]||(iu[i]=(e=>{let t=0,n=11;for(;t<e.length;)n=101*n+e.charCodeAt(t++)>>>0;return"go"+n})(i));if(!iu[a]){let t=i!==e?e:(e=>{let t,n=[{}];for(;t=nu.exec(e.replace(ru,""));)t[4]?n.shift():t[3]?n.unshift(n[0][t[3]]=n[0][t[3]]||{}):n[0][t[1]]=t[2];return n[0]})(e);iu[a]=ou(o?{["@keyframes "+a]:t}:t,n?"":"."+a)}return((e,t,n)=>{-1==t.data.indexOf(e)&&(t.data=n?e+t.data:t.data+e)})(iu[a],t,r),a},su=(e,t,n)=>e.reduce(((e,r,o)=>{let i=t[o];if(i&&i.call){let e=i(n),t=e&&e.props&&e.props.className||/^go/.test(e)&&e;i=t?"."+t:e&&"object"==typeof e?e.props?"":ou(e,""):!1===e?"":e}return e+r+(null==i?"":i)}),"");function uu(e){let t=this||{},n=e.call?e(t.p):e;return lu(n.unshift?n.raw?su(n,[].slice.call(arguments,1),t.p):n.reduce(((e,n)=>Object.assign(e,n&&n.call?n(t.p):n)),{}):n,tu(t.target),t.g,t.o,t.k)}function cu(){return cu=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},cu.apply(this,arguments)}uu.bind({g:1}),uu.bind({k:1});var du,fu=function(e,t){return function(e){return"function"==typeof e}(e)?e(t):e},pu=function(){var e=0;return function(){return(++e).toString()}}();!function(e){e[e.ADD_TOAST=0]="ADD_TOAST",e[e.UPDATE_TOAST=1]="UPDATE_TOAST",e[e.UPSERT_TOAST=2]="UPSERT_TOAST",e[e.DISMISS_TOAST=3]="DISMISS_TOAST",e[e.REMOVE_TOAST=4]="REMOVE_TOAST",e[e.START_PAUSE=5]="START_PAUSE",e[e.END_PAUSE=6]="END_PAUSE"}(du||(du={}));var hu,gu=new Map,mu=function(e){if(!gu.has(e)){var t=setTimeout((function(){gu.delete(e),Au({type:du.REMOVE_TOAST,toastId:e})}),1e3);gu.set(e,t)}},vu=function e(t,n){switch(n.type){case du.ADD_TOAST:return cu({},t,{toasts:[n.toast].concat(t.toasts).slice(0,20)});case du.UPDATE_TOAST:return n.toast.id&&function(e){var t=gu.get(e);t&&clearTimeout(t)}(n.toast.id),cu({},t,{toasts:t.toasts.map((function(e){return e.id===n.toast.id?cu({},e,n.toast):e}))});case du.UPSERT_TOAST:var r=n.toast;return t.toasts.find((function(e){return e.id===r.id}))?e(t,{type:du.UPDATE_TOAST,toast:r}):e(t,{type:du.ADD_TOAST,toast:r});case du.DISMISS_TOAST:var o=n.toastId;return o?mu(o):t.toasts.forEach((function(e){mu(e.id)})),cu({},t,{toasts:t.toasts.map((function(e){return e.id===o||void 0===o?cu({},e,{visible:!1}):e}))});case du.REMOVE_TOAST:return void 0===n.toastId?cu({},t,{toasts:[]}):cu({},t,{toasts:t.toasts.filter((function(e){return e.id!==n.toastId}))});case du.START_PAUSE:return cu({},t,{pausedAt:n.time});case du.END_PAUSE:var i=n.time-(t.pausedAt||0);return cu({},t,{pausedAt:void 0,toasts:t.toasts.map((function(e){return cu({},e,{pauseDuration:e.pauseDuration+i})}))})}},bu=[],yu={toasts:[],pausedAt:void 0},Au=function(e){yu=vu(yu,e),bu.forEach((function(e){e(yu)}))},wu=function(e){return function(t,n){var r=function(e,t,n){return void 0===t&&(t="blank"),cu({createdAt:Date.now(),visible:!0,type:t,ariaProps:{role:"status","aria-live":"polite"},message:e,pauseDuration:0},n,{id:(null==n?void 0:n.id)||pu()})}(t,e,n);return Au({type:du.UPSERT_TOAST,toast:r}),r.id}},xu=function(e,t){return wu("blank")(e,t)};xu.error=wu("error"),xu.success=wu("success"),xu.loading=wu("loading"),xu.custom=wu("custom"),xu.dismiss=function(e){Au({type:du.DISMISS_TOAST,toastId:e})},xu.remove=function(e){return Au({type:du.REMOVE_TOAST,toastId:e})},xu.promise=function(e,t,n){var r=xu.loading(t.loading,cu({},n,null==n?void 0:n.loading));return e.then((function(e){return xu.success(fu(t.success,e),cu({id:r},n,null==n?void 0:n.success)),e})).catch((function(e){xu.error(fu(t.error,e),cu({id:r},n,null==n?void 0:n.error))})),e},hu=u.createElement,ou.p=void 0,Ks=hu,Js=void 0,Xs=void 0;var Eu=new Map;Eu.set("bold",(function(e){return u.createElement(u.Fragment,null,u.createElement("circle",{cx:"128",cy:"128",r:"96",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"24"}),u.createElement("line",{x1:"128",y1:"80",x2:"128",y2:"132",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"24"}),u.createElement("circle",{cx:"128",cy:"172",r:"16"}))})),Eu.set("duotone",(function(e){return u.createElement(u.Fragment,null,u.createElement("circle",{cx:"128",cy:"128",r:"96",opacity:"0.2"}),u.createElement("circle",{cx:"128",cy:"128",r:"96",fill:"none",stroke:e,strokeMiterlimit:"10",strokeWidth:"16"}),u.createElement("line",{x1:"128",y1:"80",x2:"128",y2:"136",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"16"}),u.createElement("circle",{cx:"128",cy:"172",r:"12"}))})),Eu.set("fill",(function(){return u.createElement(u.Fragment,null,u.createElement("path",{d:"M128,24A104,104,0,1,0,232,128,104.2,104.2,0,0,0,128,24Zm-8,56a8,8,0,0,1,16,0v56a8,8,0,0,1-16,0Zm8,104a12,12,0,1,1,12-12A12,12,0,0,1,128,184Z"}))})),Eu.set("light",(function(e){return u.createElement(u.Fragment,null,u.createElement("circle",{cx:"128",cy:"128",r:"96",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"12"}),u.createElement("line",{x1:"128",y1:"80",x2:"128",y2:"136",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"12"}),u.createElement("circle",{cx:"128",cy:"172",r:"10"}))})),Eu.set("thin",(function(e){return u.createElement(u.Fragment,null,u.createElement("circle",{cx:"128",cy:"128",r:"96",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"8"}),u.createElement("line",{x1:"128",y1:"80",x2:"128",y2:"136",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"8"}),u.createElement("circle",{cx:"128",cy:"172",r:"8"}))})),Eu.set("regular",(function(e){return u.createElement(u.Fragment,null,u.createElement("circle",{cx:"128",cy:"128",r:"96",fill:"none",stroke:e,strokeMiterlimit:"10",strokeWidth:"16"}),u.createElement("line",{x1:"128",y1:"80",x2:"128",y2:"136",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"16"}),u.createElement("circle",{cx:"128",cy:"172",r:"12"}))}));var ku=function(e,t){return li(e,t,Eu)},Su=(0,u.forwardRef)((function(e,t){return u.createElement(ci,Object.assign({ref:t},e,{renderPath:ku}))}));Su.displayName="WarningCircle";const _u=Su;function Cu(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 Tu(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Cu(Object(n),!0).forEach((function(t){Du(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Cu(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Du(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Lu,Ou={minWidth:265,height:56,borderRadius:4,boxShadow:"0px 2px 8px rgba(32, 31, 29, 0.33)",margin:0,paddingLeft:6,paddingRight:6,paddingTop:12,paddingBottom:12},Ru=ue(Fe,{fontSize:14,fontWeight:"bolder",color:"white",flex:1,marginLeft:16}),Pu=ue(Ue,{width:"100%"}),Mu=function(e,t,n,r){return xu((function(t){var r=t.id;return(0,Ie.jsxs)(Pu,{alignment:"center",children:["success"===n?(0,Ie.jsx)(bi,{size:24,color:"white"}):(0,Ie.jsx)(_u,{size:24,color:"white"}),(0,Ie.jsx)(Ru,{children:e}),(0,Ie.jsx)(Ue,{distribution:"end",css:{marginLeft:16},children:(0,Ie.jsx)(ps,{size:18,style:{cursor:"pointer"},color:"#CCEAC4",weight:"bold",onClick:function(){return xu.dismiss(r)}})})]})}),Tu({style:Tu(Tu({},Ou),{},{background:t}),duration:1500},r))},Nu=function(e,t){return Mu(e,"#55B938","success",Tu({position:"bottom-right"},t))},Bu=function(e,t){return Mu(e,"#cc0000","error",Tu({position:"bottom-right"},t))};function Iu(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 ju(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Iu(Object(n),!0).forEach((function(t){Fu(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Iu(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Fu(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function zu(e,t,n,r,o,i,a){try{var l=e[i](a),s=l.value}catch(e){return void n(e)}l.done?t(s):Promise.resolve(s).then(r,o)}function Hu(e){return function(){var t=this,n=arguments;return new Promise((function(r,o){var i=e.apply(t,n);function a(e){zu(i,r,o,a,l,"next",e)}function l(e){zu(i,r,o,a,l,"throw",e)}a(void 0)}))}}function qu(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function Uu(e){var t,n,r=function(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,i=[],a=!0,l=!1;try{for(n=n.call(e);!(a=(r=n.next()).done)&&(i.push(r.value),!t||i.length!==t);a=!0);}catch(e){l=!0,o=e}finally{try{a||null==n.return||n.return()}finally{if(l)throw o}}return i}}(e,t)||function(e,t){if(e){if("string"==typeof e)return qu(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?qu(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}((0,u.useState)(null!==(t=null===(n=e.highlight)||void 0===n?void 0:n.annotation)&&void 0!==t?t:""),2),o=r[0],i=r[1],a=(0,u.useCallback)((function(e){i(e.target.value)}),[i]),l=(0,u.useCallback)(Hu(regeneratorRuntime.mark((function t(){var n,r,i,a;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(o==(null===(n=e.highlight)||void 0===n?void 0:n.annotation)||null===(r=e.highlight)||void 0===r||!r.id){t.next=6;break}return t.next=3,Ys({libraryItemId:e.libraryItemId,highlightId:null===(i=e.highlight)||void 0===i?void 0:i.id,annotation:o,color:null===(a=e.highlight)||void 0===a?void 0:a.color});case 3:t.sent?(e.onUpdate(ju(ju({},e.highlight),{},{annotation:o})),e.onOpenChange(!1)):Bu("Error updating your note",{position:"bottom-right"}),document.dispatchEvent(new Event("highlightsUpdated"));case 6:if(e.highlight||!e.createHighlightForNote){t.next=13;break}return t.next=9,e.createHighlightForNote(o);case 9:t.sent?e.onOpenChange(!0):Bu("Error saving highlight",{position:"bottom-right"}),t.next=14;break;case 13:e.onOpenChange(!1);case 14:case"end":return t.stop()}}),t)}))),[o,e]);return(0,Ie.jsxs)(ks,{defaultOpen:!0,onOpenChange:e.onOpenChange,children:[(0,Ie.jsx)(_s,{}),(0,Ie.jsx)(Ts,{css:{bg:"$grayBg",px:"24px"},onPointerDownOutside:function(e){e.preventDefault()},onEscapeKeyDown:function(t){e.onOpenChange(!1),t.preventDefault(),t.stopPropagation()},onKeyDown:function(t){(t.metaKey||t.ctrlKey)&&"Enter"===t.key&&(t.preventDefault(),l(),e.onOpenChange(!1))},children:(0,Ie.jsx)("form",{onSubmit:function(t){t.preventDefault(),l(),e.onOpenChange(!1)},children:(0,Ie.jsxs)(We,{children:[(0,Ie.jsx)(Ds,{title:"Notes",onOpenChange:e.onOpenChange}),(0,Ie.jsx)(Os,{css:{mt:"16px",p:"6px",width:"100%",height:"248px",fontSize:"14px",border:"1px solid $textNonessential",borderRadius:"6px"},autoFocus:!0,placeholder:"Add your note here",value:o,onChange:a,maxLength:4e3}),(0,Ie.jsx)(Ls,{onOpenChange:e.onOpenChange,acceptButtonLabel:"Save"})]})})})]})}var Wu,Vu,Qu=(0,Rs.gql)(Lu||(Wu=["\n fragment LabelFields on Label {\n id\n name\n color\n description\n createdAt\n }\n"],Vu||(Vu=Wu.slice(0)),Lu=Object.freeze(Object.defineProperties(Wu,{raw:{value:Object.freeze(Vu)}})))),Gu=o(2436),$u=o.n(Gu);function Yu(e,t,n,r){return new(n||(n=Promise))((function(o,i){function a(e){try{s(r.next(e))}catch(e){i(e)}}function l(e){try{s(r.throw(e))}catch(e){i(e)}}function s(e){var t;e.done?o(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(a,l)}s((r=r.apply(e,t||[])).next())}))}function Zu(e,t){var n,r,o,i,a={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return i={next:l(0),throw:l(1),return:l(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function l(i){return function(l){return function(i){if(n)throw new TypeError("Generator is already executing.");for(;a;)try{if(n=1,r&&(o=2&i[0]?r.return:i[0]?r.throw||((o=r.return)&&o.call(r),0):r.next)&&!(o=o.call(r,i[1])).done)return o;switch(r=0,o&&(i=[2&i[0],o.value]),i[0]){case 0:case 1:o=i;break;case 4:return a.label++,{value:i[1],done:!1};case 5:a.label++,r=i[1],i=[0];continue;case 7:i=a.ops.pop(),a.trys.pop();continue;default:if(!((o=(o=a.trys).length>0&&o[o.length-1])||6!==i[0]&&2!==i[0])){a=0;continue}if(3===i[0]&&(!o||i[1]>o[0]&&i[1]<o[3])){a.label=i[1];break}if(6===i[0]&&a.label<o[1]){a.label=o[1],o=i;break}if(o&&a.label<o[2]){a.label=o[2],a.ops.push(i);break}o[2]&&a.ops.pop(),a.trys.pop();continue}i=t.call(e,a)}catch(e){i=[6,e],r=0}finally{n=o=0}if(5&i[0])throw i[1];return{value:i[0]?i[1]:void 0,done:!0}}([i,l])}}}var Ku,Ju,Xu=function(){},ec=Xu(),tc=Object,nc=function(e){return e===ec},rc=function(e){return"function"==typeof e},oc=function(e,t){return tc.assign({},e,t)},ic="undefined",ac=function(){return typeof window!=ic},lc=new WeakMap,sc=0,uc=function(e){var t,n,r=typeof e,o=e&&e.constructor,i=o==Date;if(tc(e)!==e||i||o==RegExp)t=i?e.toJSON():"symbol"==r?e.toString():"string"==r?JSON.stringify(e):""+e;else{if(t=lc.get(e))return t;if(t=++sc+"~",lc.set(e,t),o==Array){for(t="@",n=0;n<e.length;n++)t+=uc(e[n])+",";lc.set(e,t)}if(o==tc){t="#";for(var a=tc.keys(e).sort();!nc(n=a.pop());)nc(e[n])||(t+=n+":"+uc(e[n])+",");lc.set(e,t)}}return t},cc=!0,dc=ac(),fc=typeof document!=ic,pc=dc&&window.addEventListener?window.addEventListener.bind(window):Xu,hc=fc?document.addEventListener.bind(document):Xu,gc=dc&&window.removeEventListener?window.removeEventListener.bind(window):Xu,mc=fc?document.removeEventListener.bind(document):Xu,vc={isOnline:function(){return cc},isVisible:function(){var e=fc&&document.visibilityState;return nc(e)||"hidden"!==e}},bc={initFocus:function(e){return hc("visibilitychange",e),pc("focus",e),function(){mc("visibilitychange",e),gc("focus",e)}},initReconnect:function(e){var t=function(){cc=!0,e()},n=function(){cc=!1};return pc("online",t),pc("offline",n),function(){gc("online",t),gc("offline",n)}}},yc=!ac()||"Deno"in window,Ac=yc?u.useEffect:u.useLayoutEffect,wc="undefined"!=typeof navigator&&navigator.connection,xc=!yc&&wc&&(["slow-2g","2g"].includes(wc.effectiveType)||wc.saveData),Ec=function(e){if(rc(e))try{e=e()}catch(t){e=""}var t=[].concat(e);return[e="string"==typeof e?e:(Array.isArray(e)?e.length:e)?uc(e):"",t,e?"$swr$"+e:""]},kc=new WeakMap,Sc=function(e,t,n,r,o,i,a){void 0===a&&(a=!0);var l=kc.get(e),s=l[0],u=l[1],c=l[3],d=s[t],f=u[t];if(a&&f)for(var p=0;p<f.length;++p)f[p](n,r,o);return i&&(delete c[t],d&&d[0])?d[0](2).then((function(){return e.get(t)})):e.get(t)},_c=0,Cc=function(){return++_c},Tc=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return Yu(void 0,void 0,void 0,(function(){var t,n,r,o,i,a,l,s,u,c,d,f,p,h,g,m,v,b,y,A,w;return Zu(this,(function(x){switch(x.label){case 0:if(t=e[0],n=e[1],r=e[2],o=e[3],a=!!nc((i="boolean"==typeof o?{revalidate:o}:o||{}).populateCache)||i.populateCache,l=!1!==i.revalidate,s=!1!==i.rollbackOnError,u=i.optimisticData,c=Ec(n),d=c[0],f=c[2],!d)return[2];if(p=kc.get(t),h=p[2],e.length<3)return[2,Sc(t,d,t.get(d),ec,ec,l,!0)];if(g=r,v=Cc(),h[d]=[v,0],b=!nc(u),y=t.get(d),b&&(A=rc(u)?u(y):u,t.set(d,A),Sc(t,d,A)),rc(g))try{g=g(t.get(d))}catch(e){m=e}return g&&rc(g.then)?[4,g.catch((function(e){m=e}))]:[3,2];case 1:if(g=x.sent(),v!==h[d][0]){if(m)throw m;return[2,g]}m&&b&&s&&(a=!0,g=y,t.set(d,y)),x.label=2;case 2:return a&&(m||(rc(a)&&(g=a(g,y)),t.set(d,g)),t.set(f,oc(t.get(f),{error:m}))),h[d][1]=Cc(),[4,Sc(t,d,g,m,ec,l,!!a)];case 3:if(w=x.sent(),m)throw m;return[2,a?w:g]}}))}))},Dc=function(e,t){for(var n in e)e[n][0]&&e[n][0](t)},Lc=function(e,t){if(!kc.has(e)){var n=oc(bc,t),r={},o=Tc.bind(ec,e),i=Xu;if(kc.set(e,[r,{},{},{},o]),!yc){var a=n.initFocus(setTimeout.bind(ec,Dc.bind(ec,r,0))),l=n.initReconnect(setTimeout.bind(ec,Dc.bind(ec,r,1)));i=function(){a&&a(),l&&l(),kc.delete(e)}}return[e,o,i]}return[e,kc.get(e)[4]]},Oc=Lc(new Map),Rc=Oc[0],Pc=Oc[1],Mc=oc({onLoadingSlow:Xu,onSuccess:Xu,onError:Xu,onErrorRetry:function(e,t,n,r,o){var i=n.errorRetryCount,a=o.retryCount,l=~~((Math.random()+.5)*(1<<(a<8?a:8)))*n.errorRetryInterval;!nc(i)&&a>i||setTimeout(r,l,o)},onDiscarded:Xu,revalidateOnFocus:!0,revalidateOnReconnect:!0,revalidateIfStale:!0,shouldRetryOnError:!0,errorRetryInterval:xc?1e4:5e3,focusThrottleInterval:5e3,dedupingInterval:2e3,loadingTimeout:xc?5e3:3e3,compare:function(e,t){return uc(e)==uc(t)},isPaused:function(){return!1},cache:Rc,mutate:Pc,fallback:{}},vc),Nc=function(e,t){var n=oc(e,t);if(t){var r=e.use,o=e.fallback,i=t.use,a=t.fallback;r&&i&&(n.use=r.concat(i)),o&&a&&(n.fallback=oc(o,a))}return n},Bc=(0,u.createContext)({}),Ic=function(e){return rc(e[1])?[e[0],e[1],e[2]||{}]:[e[0],null,(null===e[1]?e[2]:e[1])||{}]},jc=function(){return oc(Mc,(0,u.useContext)(Bc))},Fc=function(e,t,n){var r=t[e]||(t[e]=[]);return r.push(n),function(){var e=r.indexOf(n);e>=0&&(r[e]=r[r.length-1],r.pop())}},zc={dedupe:!0},Hc=(tc.defineProperty((function(e){var t=e.value,n=Nc((0,u.useContext)(Bc),t),r=t&&t.provider,o=(0,u.useState)((function(){return r?Lc(r(n.cache||Rc),t):ec}))[0];return o&&(n.cache=o[0],n.mutate=o[1]),Ac((function(){return o?o[2]:ec}),[]),(0,u.createElement)(Bc.Provider,oc(e,{value:n}))}),"default",{value:Mc}),Ku=function(e,t,n){var r=n.cache,o=n.compare,i=n.fallbackData,a=n.suspense,l=n.revalidateOnMount,s=n.refreshInterval,c=n.refreshWhenHidden,d=n.refreshWhenOffline,f=kc.get(r),p=f[0],h=f[1],g=f[2],m=f[3],v=Ec(e),b=v[0],y=v[1],A=v[2],w=(0,u.useRef)(!1),x=(0,u.useRef)(!1),E=(0,u.useRef)(b),k=(0,u.useRef)(t),S=(0,u.useRef)(n),_=function(){return S.current},C=function(){return _().isVisible()&&_().isOnline()},T=function(e){return r.set(A,oc(r.get(A),e))},D=r.get(b),L=nc(i)?n.fallback[b]:i,O=nc(D)?L:D,R=r.get(A)||{},P=R.error,M=!w.current,N=function(){return M&&!nc(l)?l:!_().isPaused()&&(a?!nc(O)&&n.revalidateIfStale:nc(O)||n.revalidateIfStale)},B=!(!b||!t)&&(!!R.isValidating||M&&N()),I=function(e,t){var n=(0,u.useState)({})[1],r=(0,u.useRef)(e),o=(0,u.useRef)({data:!1,error:!1,isValidating:!1}),i=(0,u.useCallback)((function(e){var i=!1,a=r.current;for(var l in e){var s=l;a[s]!==e[s]&&(a[s]=e[s],o.current[s]&&(i=!0))}i&&!t.current&&n({})}),[]);return Ac((function(){r.current=e})),[r,o.current,i]}({data:O,error:P,isValidating:B},x),j=I[0],F=I[1],z=I[2],H=(0,u.useCallback)((function(e){return Yu(void 0,void 0,void 0,(function(){var t,i,a,l,s,u,c,d,f,p,h,v,A;return Zu(this,(function(S){switch(S.label){case 0:if(t=k.current,!b||!t||x.current||_().isPaused())return[2,!1];l=!0,s=e||{},u=!m[b]||!s.dedupe,c=function(){return!x.current&&b===E.current&&w.current},d=function(){var e=m[b];e&&e[1]===a&&delete m[b]},f={isValidating:!1},p=function(){T({isValidating:!1}),c()&&z(f)},T({isValidating:!0}),z({isValidating:!0}),S.label=1;case 1:return S.trys.push([1,3,,4]),u&&(Sc(r,b,j.current.data,j.current.error,!0),n.loadingTimeout&&!r.get(b)&&setTimeout((function(){l&&c()&&_().onLoadingSlow(b,n)}),n.loadingTimeout),m[b]=[t.apply(void 0,y),Cc()]),A=m[b],i=A[0],a=A[1],[4,i];case 2:return i=S.sent(),u&&setTimeout(d,n.dedupingInterval),m[b]&&m[b][1]===a?(T({error:ec}),f.error=ec,h=g[b],!nc(h)&&(a<=h[0]||a<=h[1]||0===h[1])?(p(),u&&c()&&_().onDiscarded(b),[2,!1]):(o(j.current.data,i)?f.data=j.current.data:f.data=i,o(r.get(b),i)||r.set(b,i),u&&c()&&_().onSuccess(i,b,n),[3,4])):(u&&c()&&_().onDiscarded(b),[2,!1]);case 3:return v=S.sent(),d(),_().isPaused()||(T({error:v}),f.error=v,u&&c()&&(_().onError(v,b,n),("boolean"==typeof n.shouldRetryOnError&&n.shouldRetryOnError||rc(n.shouldRetryOnError)&&n.shouldRetryOnError(v))&&C()&&_().onErrorRetry(v,b,n,H,{retryCount:(s.retryCount||0)+1,dedupe:!0}))),[3,4];case 4:return l=!1,p(),c()&&u&&Sc(r,b,f.data,f.error,!1),[2,!0]}}))}))}),[b]),q=(0,u.useCallback)(Tc.bind(ec,r,(function(){return E.current})),[]);if(Ac((function(){k.current=t,S.current=n})),Ac((function(){if(b){var e=b!==E.current,t=H.bind(ec,zc),n=0,r=Fc(b,h,(function(e,t,n){z(oc({error:t,isValidating:n},o(j.current.data,e)?ec:{data:e}))})),i=Fc(b,p,(function(e){if(0==e){var r=Date.now();_().revalidateOnFocus&&r>n&&C()&&(n=r+_().focusThrottleInterval,t())}else if(1==e)_().revalidateOnReconnect&&C()&&t();else if(2==e)return H()}));return x.current=!1,E.current=b,w.current=!0,e&&z({data:O,error:P,isValidating:B}),N()&&(nc(O)||yc?t():function(e){ac()&&typeof window.requestAnimationFrame!=ic?window.requestAnimationFrame(e):setTimeout(e,1)}(t)),function(){x.current=!0,r(),i()}}}),[b,H]),Ac((function(){var e;function t(){var t=rc(s)?s(O):s;t&&-1!==e&&(e=setTimeout(n,t))}function n(){j.current.error||!c&&!_().isVisible()||!d&&!_().isOnline()?t():H(zc).then(t)}return t(),function(){e&&(clearTimeout(e),e=-1)}}),[s,c,d,H]),(0,u.useDebugValue)(O),a&&nc(O)&&b)throw k.current=t,S.current=n,x.current=!1,nc(P)?H(zc):P;return{mutate:q,get data(){return F.data=!0,O},get error(){return F.error=!0,P},get isValidating(){return F.isValidating=!0,B}}},function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var n=jc(),r=Ic(e),o=r[0],i=r[1],a=r[2],l=Nc(n,a),s=Ku,u=l.use;if(u)for(var c=u.length;c-- >0;)s=u[c](s);return s(o,i||l.fetcher,l)});function qc(){var e=(0,Rs.gql)(Ju||(Ju=function(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}(["\n query GetLabels {\n labels {\n ... on LabelsSuccess {\n labels {\n ...LabelFields\n }\n }\n ... on LabelsError {\n errorCodes\n }\n }\n }\n ","\n "])),Qu),t=Hc(e,qs),n=t.data,r=t.error,o=t.mutate,i=t.isValidating;try{var a;if(n&&!r)return{error:r,isLoading:!r&&!n,isValidating:i,labels:null===(a=n.labels)||void 0===a?void 0:a.labels,revalidate:function(){o()}}}catch(r){console.log("error",r)}return{error:r,isLoading:!r&&!n,isValidating:!1,labels:[],revalidate:function(){}}}var Uc=new Map;Uc.set("bold",(function(e){return u.createElement(u.Fragment,null,u.createElement("polyline",{points:"216 72 104 184 48 128",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"24"}))})),Uc.set("duotone",(function(e){return u.createElement(u.Fragment,null,u.createElement("polyline",{points:"216 72 104 184 48 128",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"16"}))})),Uc.set("fill",(function(){return u.createElement(u.Fragment,null,u.createElement("path",{d:"M104,192a8.5,8.5,0,0,1-5.7-2.3l-56-56a8.1,8.1,0,0,1,11.4-11.4L104,172.7,210.3,66.3a8.1,8.1,0,0,1,11.4,11.4l-112,112A8.5,8.5,0,0,1,104,192Z"}))})),Uc.set("light",(function(e){return u.createElement(u.Fragment,null,u.createElement("polyline",{points:"216 72 104 184 48 128",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"12"}))})),Uc.set("thin",(function(e){return u.createElement(u.Fragment,null,u.createElement("polyline",{points:"216 72 104 184 48 128",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"8"}))})),Uc.set("regular",(function(e){return u.createElement(u.Fragment,null,u.createElement("polyline",{points:"216 72 104 184 48 128",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"16"}))}));var Wc=function(e,t){return li(e,t,Uc)},Vc=(0,u.forwardRef)((function(e,t){return u.createElement(ci,Object.assign({ref:t},e,{renderPath:Wc}))}));Vc.displayName="Check";const Qc=Vc;var Gc=new Map;Gc.set("bold",(function(e){return u.createElement(u.Fragment,null,u.createElement("line",{x1:"40",y1:"128",x2:"216",y2:"128",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"24"}),u.createElement("line",{x1:"128",y1:"40",x2:"128",y2:"216",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"24"}))})),Gc.set("duotone",(function(e){return u.createElement(u.Fragment,null,u.createElement("line",{x1:"40",y1:"128",x2:"216",y2:"128",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"16"}),u.createElement("line",{x1:"128",y1:"40",x2:"128",y2:"216",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"16"}))})),Gc.set("fill",(function(){return u.createElement(u.Fragment,null,u.createElement("path",{d:"M216,120H136V40a8,8,0,0,0-16,0v80H40a8,8,0,0,0,0,16h80v80a8,8,0,0,0,16,0V136h80a8,8,0,0,0,0-16Z"}))})),Gc.set("light",(function(e){return u.createElement(u.Fragment,null,u.createElement("line",{x1:"40",y1:"128",x2:"216",y2:"128",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"12"}),u.createElement("line",{x1:"128",y1:"40",x2:"128",y2:"216",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"12"}))})),Gc.set("thin",(function(e){return u.createElement(u.Fragment,null,u.createElement("line",{x1:"40",y1:"128",x2:"216",y2:"128",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"8"}),u.createElement("line",{x1:"128",y1:"40",x2:"128",y2:"216",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"8"}))})),Gc.set("regular",(function(e){return u.createElement(u.Fragment,null,u.createElement("line",{x1:"40",y1:"128",x2:"216",y2:"128",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"16"}),u.createElement("line",{x1:"128",y1:"40",x2:"128",y2:"216",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"16"}))}));var $c=function(e,t){return li(e,t,Gc)},Yc=(0,u.forwardRef)((function(e,t){return u.createElement(ci,Object.assign({ref:t},e,{renderPath:$c}))}));Yc.displayName="Plus";const Zc=Yc;var Kc;function Jc(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}function Xc(e,t,n,r,o,i,a){try{var l=e[i](a),s=l.value}catch(e){return void n(e)}l.done?t(s):Promise.resolve(s).then(r,o)}function ed(e){return function(){var t=this,n=arguments;return new Promise((function(r,o){var i=e.apply(t,n);function a(e){Xc(i,r,o,a,l,"next",e)}function l(e){Xc(i,r,o,a,l,"throw",e)}a(void 0)}))}}function td(e,t,n){return nd.apply(this,arguments)}function nd(){return nd=ed(regeneratorRuntime.mark((function e(t,n,r){var o,i;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return o=(0,Rs.gql)(Kc||(Kc=Jc(["\n mutation CreateLabel($input: CreateLabelInput!) {\n createLabel(input: $input) {\n ... on CreateLabelSuccess {\n label {\n id\n name\n color\n description\n createdAt\n }\n }\n ... on CreateLabelError {\n errorCodes\n }\n }\n }\n "]))),e.prev=1,e.next=4,Us(o,{input:{name:t,color:n,description:r}});case 4:return i=e.sent,e.abrupt("return",i.errorCodes?void 0:i.createLabel.label);case 8:return e.prev=8,e.t0=e.catch(1),console.log("createLabelMutation error",e.t0),e.abrupt("return",void 0);case 12:case"end":return e.stop()}}),e,null,[[1,8]])}))),nd.apply(this,arguments)}var rd={"#FF5D99":{colorName:"red",text:"#B20042",border:"#FF5D9966",background:"#FF5D990D"},"#7CFF7B":{colorName:"green",text:"#01A800",border:"#7CFF7B66",background:"#7CFF7B0D"},"#FFD234":{colorName:"yellow",text:"#947300",border:"#FFD23466",background:"#FFD2340D"},"#7BE4FF":{colorName:"blue",text:"#007E9E",border:"#7BE4FF66",background:"#7BE4FF0D"},"#CE88EF":{colorName:"purple",text:"#B759E3",border:"#CE88EF66",background:"#CE88EF0D"},"#EF8C43":{colorName:"orange",text:"#F37417",border:"#EF8C4366",background:"#EF8C430D"},"custom color":{colorName:"custom color",text:"#A5A4A1",border:"#D8D7D566",background:"#D8D7D50D"}},od=function(){var e=Object.keys(rd).slice(0,-1);return e[Math.floor(Math.random()*e.length)]},id=o(5632);function ad(e){var t=et(),n=t?"#FFEA9F":"$omnivoreGray",r=t?"transparent":"#DEDEDE",o=t?"#FFEA9F":ge.colors.omnivoreGray.toString(),i=t?"#6A6968":"#2A2A2A";return(0,Ie.jsx)(ze,{css:{display:"inline-table",margin:"2px",fontSize:"11px",fontWeight:"500",fontFamily:"$inter",padding:"1px 7px",whiteSpace:"nowrap",cursor:"pointer",backgroundClip:"padding-box",borderRadius:"5px",borderWidth:"1px",borderStyle:"solid",color:t?"#EBEBEB":"#2A2A2A",borderColor:e.isSelected?n:r,backgroundColor:t?"#2A2A2A":"#F9F9F9"},children:(0,Ie.jsxs)(Ue,{alignment:"center",css:{gap:"7px"},children:[(0,Ie.jsx)(hi,{size:14,color:e.color,weight:"fill"}),(0,Ie.jsx)(ze,{css:{pt:"1px"},children:e.text}),(0,Ie.jsx)(ii,{style:"ghost",css:{display:"flex",pt:"1px"},onClick:function(t){e.xAction(),t.preventDefault()},children:(0,Ie.jsx)(ps,{size:14,color:e.isSelected?o:i})})]})})}function ld(e){var t=et(),n=t?"#FFEA9F":"$omnivoreGray",r=t?"transparent":"#DEDEDE",o=(0,u.useMemo)((function(){var t=e.labels.map((function(e){return e.color}));if(t.length>7){var n=new Set(t);return Array.from(n).slice(0,7)}return t}),[e]);return(0,Ie.jsx)(ze,{css:{display:"inline-table",margin:"2px",fontSize:"11px",fontWeight:"500",fontFamily:"$inter",padding:"1px 7px",whiteSpace:"nowrap",cursor:"pointer",backgroundClip:"padding-box",borderRadius:"5px",borderWidth:"1px",borderStyle:"solid",color:t?"#EBEBEB":"#2A2A2A",borderColor:e.isSelected?n:r,backgroundColor:t?"#2A2A2A":"#F9F9F9"},onClick:function(t){e.setExpanded(!0),t.preventDefault()},children:(0,Ie.jsxs)(Ue,{distribution:"center",alignment:"center",css:{gap:"7px",pl:"15px"},children:[o.map((function(e,t){return(0,Ie.jsx)(ze,{css:{marginLeft:-15,height:"100%",display:"flex"},children:(0,Ie.jsx)(hi,{size:14,color:e,weight:"fill"})},"label-color".concat(t))})),(0,Ie.jsx)(ze,{css:{pt:"1px"},children:"".concat(e.labels.length," labels")})]})})}function sd(e,t){if(e){if("string"==typeof e)return ud(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?ud(e,t):void 0}}function ud(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var cd=o(8726).Z,dd=function(e){var t=(0,u.useRef)(),n=qc(),r=function(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,i=[],a=!0,l=!1;try{for(n=n.call(e);!(a=(r=n.next()).done)&&(i.push(r.value),!t||i.length!==t);a=!0);}catch(e){l=!0,o=e}finally{try{a||null==n.return||n.return()}finally{if(l)throw o}}return i}}(e,t)||sd(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}((0,u.useState)(!1),2),o=r[0],i=r[1],a=e.focused,l=e.inputValue,s=e.tabCount,c=e.tabStartValue,d=e.selectedLabels,f=e.setInputValue,p=e.setTabCount,h=e.setTabStartValue;(0,u.useEffect)((function(){!oi()&&a&&t.current&&t.current.focus()}),[t.current,a]);var g=(0,u.useCallback)((function(){var e=l.toLowerCase();if(!(e.length<1)){var t=s,r=c.toLowerCase();-1===t?(t=0,r=e,p(0),h(e)):p(t=s+1);var o=n.labels.filter((function(e){return e.name.toLowerCase().startsWith(r)}));t<o.length?f(o[t].name):o.length>0&&(p(0),f(o[0].name))}}),[l,n,s,c,f,p,h]),m=(0,u.useCallback)((function(){p(-1),h("")}),[p,h]),v=(0,u.useMemo)((function(){return 0===d.length&&0===l.length}),[l,d]),b=(0,u.useMemo)((function(){return d.length>7&&!o}),[d.length,o]);return(0,Ie.jsxs)(Fe,{css:{display:"inline-block",bg:"$thBackground2",border:"1px transparent solid",borderRadius:"6px",verticalAlign:"center",padding:"5px",lineHeight:"2",width:"100%",cursor:"text",color:"$thTextContrast2",fontSize:"12px",fontFamily:"$inter",input:{all:"unset",left:"0px",outline:"none",borderStyle:"none",marginLeft:"2px"},"&:focus-within":{outline:"none",border:"1px solid #898989"},">span":{marginTop:"0px",marginBottom:"0px"},">input":{fontSize:"16px"}},onMouseDown:function(n){var r,o,i,a;null===(r=t.current)||void 0===r||r.focus(),e.setHighlightLastLabel(!1),null===(o=t.current)||void 0===o||o.setSelectionRange(null===(i=t.current)||void 0===i?void 0:i.value.length,null===(a=t.current)||void 0===a?void 0:a.value.length),n.preventDefault()},onDoubleClick:function(n){var r,o,i;null===(r=t.current)||void 0===r||r.focus(),e.setHighlightLastLabel(!1),null===(o=t.current)||void 0===o||o.setSelectionRange(0,null===(i=t.current)||void 0===i?void 0:i.value.length),n.preventDefault()},children:[b?(0,Ie.jsx)(ld,{labels:d,setExpanded:function(e){i(!0)},isSelected:e.highlightLastLabel}):e.selectedLabels.map((function(t,n){return(0,Ie.jsx)(ad,{text:t.name,color:t.color,isSelected:e.highlightLastLabel&&n==e.selectedLabels.length-1,xAction:function(){var n,r=e.selectedLabels.findIndex((function(e){return e.id==t.id}));if(-1!==r){var o=e.selectedLabels;o.splice(r,1),e.dispatchLabels({type:"SAVE",labels:(n=o,function(e){if(Array.isArray(e))return ud(e)}(n)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(n)||sd(n)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}())})}}},t.id)})),(0,Ie.jsx)(ze,{css:{display:"inline-flex",height:"24px",paddingBottom:"20px",transform:"translateY(-2px)"},children:(0,Ie.jsx)(cd,{placeholder:v?"Add Labels":void 0,inputRef:function(e){t.current=e},inputStyle:{fontSize:"16px",minWidth:0==e.inputValue.length&&0==e.selectedLabels.length?"100px":"2px"},onFocus:function(){e.onFocus&&e.onFocus()},minWidth:"2px",maxLength:48,value:e.inputValue,onClick:function(e){e.stopPropagation()},onKeyUp:function(t){switch(t.key){case"Escape":e.clearInputState();break;case"Enter":b&&e.highlightLastLabel?(i(!0),e.setHighlightLastLabel(!1)):e.selectOrCreateLabel(e.inputValue),t.preventDefault()}},onKeyDown:function(t){switch(t.key){case"Tab":g(),t.preventDefault();break;case"Delete":case"Backspace":m(),0===e.inputValue.length&&(b&&e.highlightLastLabel?(i(!0),e.setHighlightLastLabel(!1)):e.deleteLastLabel(),t.preventDefault())}},onChange:function(t){e.setInputValue(t.target.value)}})})]})};function fd(e){return function(e){if(Array.isArray(e))return hd(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||pd(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function pd(e,t){if(e){if("string"==typeof e)return hd(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?hd(e,t):void 0}}function hd(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function gd(e,t,n,r,o,i,a){try{var l=e[i](a),s=l.value}catch(e){return void n(e)}l.done?t(s):Promise.resolve(s).then(r,o)}function md(e){return function(){var t=this,n=arguments;return new Promise((function(r,o){var i=e.apply(t,n);function a(e){gd(i,r,o,a,l,"next",e)}function l(e){gd(i,r,o,a,l,"throw",e)}a(void 0)}))}}var vd,bd=he("label",{display:"flex",justifyContent:"flex-start"});function yd(e){return(0,Ie.jsx)(We,{css:{width:"100%",my:"0px"},children:(0,Ie.jsx)(Fe,{css:{width:"100%",mt:"10px",mb:"5px",px:"14px"},children:(0,Ie.jsx)(dd,{focused:e.focused,inputValue:e.inputValue,setInputValue:e.setInputValue,selectedLabels:e.selectedLabels,dispatchLabels:e.dispatchLabels,tabCount:e.tabCount,setTabCount:e.setTabCount,tabStartValue:e.tabStartValue,setTabStartValue:e.setTabStartValue,highlightLastLabel:e.highlightLastLabel,setHighlightLastLabel:e.setHighlightLastLabel,onFocus:function(){e.resetFocusedIndex()},clearInputState:e.clearInputState,deleteLastLabel:e.deleteLastLabel,selectOrCreateLabel:e.selectOrCreateLabel})})})}function Ad(e){var t=(0,u.useRef)(null),n=e.label,r=e.focused,o=e.selected;return(0,u.useEffect)((function(){e.focused&&t.current&&t.current.focus()}),[e.focused]),(0,Ie.jsxs)(bd,{ref:t,css:{width:"100%",height:"42px",p:"15px",bg:e.focused?"$grayBgActive":"unset","&:focus-visible":{outline:"none"}},tabIndex:e.focused?0:-1,onClick:function(r){var o;r.preventDefault(),e.toggleLabel(n),null===(o=t.current)||void 0===o||o.blur()},children:[(0,Ie.jsx)("input",{autoFocus:r,hidden:!0,type:"checkbox",checked:o,readOnly:!0}),(0,Ie.jsx)(Fe,{css:{width:"30px",height:"100%",display:"flex",alignItems:"center"},children:(0,Ie.jsx)(hi,{width:22,height:22,color:n.color,weight:"fill"})}),(0,Ie.jsx)(Fe,{css:{overflow:"clip",height:"100%",display:"flex",alignItems:"center"},children:(0,Ie.jsx)(wo,{style:"caption",children:n.name})}),(0,Ie.jsx)(Fe,{css:{pl:"10px",marginLeft:"auto",display:"flex",alignItems:"center"},children:o&&(0,Ie.jsx)(Qc,{size:15,color:ge.colors.grayText.toString(),weight:"bold"})})]})}function wd(e){var t=(0,u.useRef)(null);(0,u.useEffect)((function(){e.focused&&t.current&&t.current.focus()}),[e.focused]);var n=(0,u.useMemo)((function(){var t=function(t){return t.name.toLowerCase()==e.filterText.toLowerCase()},n=e.availableLabels.find(t),r=e.selectedLabels.find(t);return n&&!r?"available":r?"selected":"none"}),[e]),r=(0,u.useMemo)((function(){return e.filterText.trim()}),[e]);return(0,Ie.jsx)(Ue,{ref:t,distribution:"start",alignment:"center",css:{width:"100%",height:"42px",bg:e.focused?"$grayBgActive":"unset",color:ge.colors.grayText.toString(),"a:link":{textDecoration:"none"},"a:visited":{color:ge.colors.grayText.toString()}},children:r.length>0?(0,Ie.jsx)(ii,{style:"modalOption",css:{pl:"26px",position:"relative",color:ge.colors.grayText.toString(),height:"42px",borderBottom:"1px solid $grayBorder",bg:e.focused?"$grayBgActive":"unset"},children:(0,Ie.jsxs)(Ue,{alignment:"center",distribution:"start",css:{gap:"8px",fontSize:"12px",pointer:"cursor"},onClick:md(regeneratorRuntime.mark((function t(){return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:t.t0=n,t.next="available"===t.t0?3:"none"===t.t0?6:9;break;case 3:return t.next=5,e.selectEnteredLabel();case 5:case 8:return t.abrupt("return");case 6:return t.next=8,e.createEnteredLabel();case 9:case"end":return t.stop()}}),t)}))),children:["available"===n&&(0,Ie.jsxs)(Ie.Fragment,{children:[(0,Ie.jsx)(Qc,{size:18,color:ge.colors.grayText.toString()}),'Use Enter to add label "',r,'"']}),"none"===n&&(0,Ie.jsxs)(Ie.Fragment,{children:[(0,Ie.jsx)(Zc,{size:18,color:ge.colors.grayText.toString()}),'Use Enter to create new label "',r,'"']})]})}):(0,Ie.jsx)(ze,{css:{display:"flex",fontSize:"12px",padding:"33px",gap:"8px"}})})}function xd(e){(0,id.useRouter)();var t=e.inputValue,n=e.setInputValue,r=e.selectedLabels,o=e.setHighlightLastLabel,i=qc(),a=i.labels,l=i.revalidate,s=function(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,i=[],a=!0,l=!1;try{for(n=n.call(e);!(a=(r=n.next()).done)&&(i.push(r.value),!t||i.length!==t);a=!0);}catch(e){l=!0,o=e}finally{try{a||null==n.return||n.return()}finally{if(l)throw o}}return i}}(e,t)||pd(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}((0,u.useState)(0),2),c=s[0],d=s[1];(0,u.useEffect)((function(){d(void 0)}),[t]);var f=(0,u.useCallback)((function(e){return r.some((function(t){return t.id===e.id}))}),[r]);(0,u.useEffect)((function(){0===c&&o(!1)}),[o,c]);var p=(0,u.useCallback)(function(){var t=md(regeneratorRuntime.mark((function t(n){var r;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:fd(e.selectedLabels),r=f(n)?e.selectedLabels.filter((function(e){return e.id!==n.id})):[].concat(fd(e.selectedLabels),[n]),e.dispatchLabels({type:"SAVE",labels:r}),e.clearInputState(),l();case 5:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}(),[f,e,l]),h=(0,u.useMemo)((function(){return a?a.filter((function(e){return e.name.toLowerCase().includes(t.toLowerCase())})).sort((function(e,t){return e.name.localeCompare(t.name)})):[]}),[a,t]),g=(0,u.useCallback)(function(){var e=md(regeneratorRuntime.mark((function e(t){var n,r;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n=t.trim(),e.next=3,td(n,od(),"");case 3:(r=e.sent)?(Nu("Created label ".concat(r.name),{position:"bottom-right"}),p(r)):Bu("Failed to create label",{position:"bottom-right"});case 5:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),[p]),m=(0,u.useCallback)(function(){var e=md(regeneratorRuntime.mark((function e(r){var o,i,a,l,s;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(o=h.length+1,"ArrowUp"===r.key&&(r.preventDefault(),i=c,i=c?Math.max(0,c-1):void 0,c!==o||t||(i=o-2),d(i)),"ArrowDown"===r.key&&(r.preventDefault(),a=c,a=void 0===c?0:Math.min(o,c+1),c!==o-2||t||(a=o),d(a)),"Enter"!==r.key){e.next=12;break}if(r.preventDefault(),c!==o){e.next=11;break}return l=t,n(""),e.next=10,g(l);case 10:return e.abrupt("return");case 11:void 0!==c&&(s=h[c])&&p(s);case 12:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),[t,n,h,c,g,p]),v=(0,u.useCallback)((function(){var e=t;return n(""),g(e)}),[t,n,g]),b=(0,u.useCallback)((function(){var e=a.find((function(e){return e.name.toLowerCase()==t.toLowerCase()}));return e?p(e):Promise.resolve()}),[a,t,p]);return(0,Ie.jsxs)(We,{distribution:"start",onKeyDown:m,css:{p:"0",width:"100%"},children:[(0,Ie.jsx)(yd,{focused:void 0===c,resetFocusedIndex:function(){return d(void 0)},inputValue:t,setInputValue:n,selectedLabels:e.selectedLabels,dispatchLabels:e.dispatchLabels,tabCount:e.tabCount,setTabCount:e.setTabCount,tabStartValue:e.tabStartValue,setTabStartValue:e.setTabStartValue,highlightLastLabel:e.highlightLastLabel,setHighlightLastLabel:e.setHighlightLastLabel,deleteLastLabel:e.deleteLastLabel,selectOrCreateLabel:e.selectOrCreateLabel,clearInputState:e.clearInputState}),(0,Ie.jsx)(Fe,{css:{width:"100%",height:"15px",color:"#FF3B30",fontSize:"12px",fontFamily:"$inter",gap:"5px",display:"flex",alignItems:"center",justifyContent:"end",paddingRight:"15px",m:"0px"},children:e.errorMessage&&(0,Ie.jsxs)(Ie.Fragment,{children:[e.errorMessage,(0,Ie.jsx)(_u,{color:"#FF3B30",size:15})]})}),(0,Ie.jsx)(We,{distribution:"start",alignment:"start",css:{mt:"10px",flexGrow:"1",width:"100%",height:"200px",overflowY:"scroll"},children:h.map((function(e,t){return(0,Ie.jsx)(Ad,{label:e,focused:t===c,selected:f(e),toggleLabel:p},e.id)}))}),e.footer?e.footer:(0,Ie.jsx)(wd,{filterText:t,selectedLabels:e.selectedLabels,availableLabels:a,focused:c===h.length+1,createEnteredLabel:v,selectEnteredLabel:b})]})}function Ed(e){return function(e){if(Array.isArray(e))return Cd(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||_d(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function kd(e,t,n,r,o,i,a){try{var l=e[i](a),s=l.value}catch(e){return void n(e)}l.done?t(s):Promise.resolve(s).then(r,o)}function Sd(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,i=[],a=!0,l=!1;try{for(n=n.call(e);!(a=(r=n.next()).done)&&(i.push(r.value),!t||i.length!==t);a=!0);}catch(e){l=!0,o=e}finally{try{a||null==n.return||n.return()}finally{if(l)throw o}}return i}}(e,t)||_d(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function _d(e,t){if(e){if("string"==typeof e)return Cd(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Cd(e,t):void 0}}function Cd(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function Td(e){var t=Sd((0,u.useState)(""),2),n=t[0],r=t[1],o=e.selectedLabels,i=e.dispatchLabels,a=qc(),l=Sd((0,u.useState)(-1),2),s=l[0],c=l[1],d=Sd((0,u.useState)(""),2),f=d[0],p=d[1],h=Sd((0,u.useState)(void 0),2),g=h[0],m=h[1],v=(0,u.useRef)(),b=Sd((0,u.useState)(!1),2),y=b[0],A=b[1],w=(0,u.useCallback)((function(e,t){v.current&&(clearTimeout(v.current),v.current=void 0),m(e),t&&(v.current=setTimeout((function(){m(void 0),v.current&&(clearTimeout(v.current),v.current=void 0)}),t))}),[v]);(0,u.useEffect)((function(){var e="Max label length: 48 chars";n.length>=48?w(e):g===e&&m(void 0),n.length>0&&A(!1)}),[g,n,w]);var x=(0,u.useCallback)((function(){c(-1),r(""),p(""),A(!1)}),[]),E=(0,u.useCallback)((function(e,t){var n;(n=regeneratorRuntime.mark((function n(){var r,o,a;return regeneratorRuntime.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return r=e,n.next=3,td(t.name,t.color);case 3:o=n.sent,a=r.findIndex((function(e){return e.id===t.id})),o?(Nu("Created label ".concat(o.name),{position:"bottom-right"}),-1!==a?(r[a]=o,i({type:"SAVE",labels:Ed(r)})):i({type:"SAVE",labels:[].concat(Ed(r),[o])})):(w("Error creating label ".concat(t.name),5e3),-1!==a&&(r.splice(a,1),i({type:"SAVE",labels:Ed(r)})));case 6:case"end":return n.stop()}}),n)})),function(){var e=this,t=arguments;return new Promise((function(r,o){var i=n.apply(e,t);function a(e){kd(i,r,o,a,l,"next",e)}function l(e){kd(i,r,o,a,l,"throw",e)}a(void 0)}))})()}),[i,w]),k=(0,u.useCallback)((function(e){var t=null!=o?o:[],n=e.toLowerCase(),r=a.labels.find((function(e){return e.name.toLowerCase()==n}));if(!(n.length<1))if(r){var l=o.find((function(e){return e.name.toLowerCase()==n}));l?w("label ".concat(e," already added."),5e3):(i({type:"SAVE",labels:[].concat(Ed(t),[r])}),x())}else{var s={id:ta(),name:e,color:od(),description:"",createdAt:new Date},u=[].concat(Ed(t),[s]);i({type:"TEMP",labels:u}),x(),E(u,s)}}),[a,o,i,x,E,w]),S=(0,u.useCallback)((function(){if(y){var e=o;e.pop(),i({type:"SAVE",labels:Ed(e)}),A(!1)}else A(!0)}),[y,o,i]);return(0,Ie.jsx)(ks,{defaultOpen:!0,onOpenChange:e.onOpenChange,children:(0,Ie.jsxs)(ls,{children:[(0,Ie.jsx)(_s,{}),(0,Ie.jsx)(Ts,{tabIndex:0,css:{border:"1px solid $grayBorder",backgroundColor:"$thBackground"},onPointerDownOutside:function(t){t.preventDefault(),e.onOpenChange(!1)},onEscapeKeyDown:function(t){e.onOpenChange(!1),t.preventDefault(),t.stopPropagation()},children:(0,Ie.jsxs)(We,{distribution:"start",css:{height:"100%"},children:[(0,Ie.jsx)(ze,{css:{pt:"0px",px:"16px",width:"100%"},children:(0,Ie.jsx)(Ds,{title:"Labels",onOpenChange:e.onOpenChange})}),(0,Ie.jsx)(xd,{inputValue:n,setInputValue:r,clearInputState:x,selectedLabels:e.selectedLabels,dispatchLabels:e.dispatchLabels,tabCount:s,setTabCount:c,tabStartValue:f,setTabStartValue:p,highlightLastLabel:y,setHighlightLastLabel:A,deleteLastLabel:S,selectOrCreateLabel:k,errorMessage:g})]})})]})})}function Dd(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}function Ld(e,t,n,r,o,i,a){try{var l=e[i](a),s=l.value}catch(e){return void n(e)}l.done?t(s):Promise.resolve(s).then(r,o)}function Od(e){return function(){var t=this,n=arguments;return new Promise((function(r,o){var i=e.apply(t,n);function a(e){Ld(i,r,o,a,l,"next",e)}function l(e){Ld(i,r,o,a,l,"throw",e)}a(void 0)}))}}function Rd(e,t){return Pd.apply(this,arguments)}function Pd(){return Pd=Od(regeneratorRuntime.mark((function e(t,n){var r,o;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=(0,Rs.gql)(vd||(vd=Dd(["\n mutation SetLabelsForHighlight($input: SetLabelsForHighlightInput!) {\n setLabelsForHighlight(input: $input) {\n ... on SetLabelsSuccess {\n labels {\n ...LabelFields\n }\n }\n ... on SetLabelsError {\n errorCodes\n }\n }\n }\n ","\n "])),Qu),e.prev=1,e.next=4,Us(r,{input:{highlightId:t,labelIds:n}});case 4:return o=e.sent,e.abrupt("return",o.setLabelsForHighlight.errorCodes?void 0:o.setLabelsForHighlight.labels);case 8:return e.prev=8,e.t0=e.catch(1),console.log("setLabelsForHighlightInput error",e.t0),e.abrupt("return",void 0);case 12:case"end":return e.stop()}}),e,null,[[1,8]])}))),Pd.apply(this,arguments)}function Md(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function Nd(e,t,n,r,o,i,a){try{var l=e[i](a),s=l.value}catch(e){return void n(e)}l.done?t(s):Promise.resolve(s).then(r,o)}var Bd=function(e){var t=(0,u.useReducer)((function(t,n){switch(n.type){case"RESET":case"TEMP":return{labels:n.labels};case"SAVE":var r=n.labels.map((function(e){return e.id}));return e?(i=regeneratorRuntime.mark((function t(){var i;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,Rd(e,r);case 2:t.sent?o({type:"RESET",labels:null!==(i=n.labels)&&void 0!==i?i:[]}):Bu("Error saving labels",{position:"bottom-right"});case 4:case"end":return t.stop()}}),t)})),function(){var e=this,t=arguments;return new Promise((function(n,r){var o=i.apply(e,t);function a(e){Nd(o,n,r,a,l,"next",e)}function l(e){Nd(o,n,r,a,l,"throw",e)}a(void 0)}))})():Bu("Unable to update labels"),{labels:n.labels};default:return t}var i}),{labels:[]}),n=function(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,i=[],a=!0,l=!1;try{for(n=n.call(e);!(a=(r=n.next()).done)&&(i.push(r.value),!t||i.length!==t);a=!0);}catch(e){l=!0,o=e}finally{try{a||null==n.return||n.return()}finally{if(l)throw o}}return i}}(e,t)||function(e,t){if(e){if("string"==typeof e)return Md(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Md(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}(t,2),r=n[0],o=n[1];return[r,o]};function Id(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function jd(e){var t=function(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,i=[],a=!0,l=!1;try{for(n=n.call(e);!(a=(r=n.next()).done)&&(i.push(r.value),!t||i.length!==t);a=!0);}catch(e){l=!0,o=e}finally{try{a||null==n.return||n.return()}finally{if(l)throw o}}return i}}(e,t)||function(e,t){if(e){if("string"==typeof e)return Id(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Id(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}(Bd(e.highlightId),2),n=t[0],r=t[1];(0,u.useEffect)((function(){var t;r({type:"RESET",labels:null!==(t=e.highlight.labels)&&void 0!==t?t:[]})}),[e.highlight,r]);var o=(0,u.useCallback)((function(){e.highlight.labels=n.labels,e.onUpdate(e.highlight),e.onOpenChange(!0)}),[e]);return(0,Ie.jsx)(Td,{provider:e.highlight,selectedLabels:n.labels,dispatchLabels:r,onOpenChange:o})}var Fd=o(6148),zd={};zd.styleTagTransform=Cr(),zd.setAttributes=Er(),zd.insert=wr().bind(null,"head"),zd.domAPI=yr(),zd.insertStyleElement=Sr(),vr()(Fd.Z,zd),Fd.Z&&Fd.Z.locals&&Fd.Z.locals;var Hd,qd=o(5429),Ud={};Ud.styleTagTransform=Cr(),Ud.setAttributes=Er(),Ud.insert=wr().bind(null,"head"),Ud.domAPI=yr(),Ud.insertStyleElement=Sr(),vr()(qd.Z,Ud),qd.Z&&qd.Z.locals&&qd.Z.locals;var Wd,Vd,Qd=(0,Rs.gql)(Hd||(Hd=function(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}(["\n fragment HighlightFields on Highlight {\n id\n type\n shortId\n quote\n prefix\n suffix\n patch\n color\n annotation\n createdByMe\n createdAt\n updatedAt\n sharedAt\n highlightPositionPercent\n highlightPositionAnchorIndex\n labels {\n id\n name\n color\n createdAt\n }\n }\n"])));function Gd(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}function $d(e,t,n,r,o,i,a){try{var l=e[i](a),s=l.value}catch(e){return void n(e)}l.done?t(s):Promise.resolve(s).then(r,o)}function Yd(e){return function(){var t=this,n=arguments;return new Promise((function(r,o){var i=e.apply(t,n);function a(e){$d(i,r,o,a,l,"next",e)}function l(e){$d(i,r,o,a,l,"throw",e)}a(void 0)}))}}function Zd(e){return Kd.apply(this,arguments)}function Kd(){return Kd=Yd(regeneratorRuntime.mark((function e(t){var n,r,o;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n=(0,Rs.gql)(Wd||(Wd=Gd(["\n mutation CreateHighlight($input: CreateHighlightInput!) {\n createHighlight(input: $input) {\n ... on CreateHighlightSuccess {\n highlight {\n ...HighlightFields\n }\n }\n\n ... on CreateHighlightError {\n errorCodes\n }\n }\n }\n ","\n "])),Qd),e.prev=1,e.next=4,Us(n,{input:t});case 4:return r=e.sent,o=r,e.abrupt("return",null==o?void 0:o.createHighlight.highlight);case 9:return e.prev=9,e.t0=e.catch(1),e.abrupt("return",void 0);case 12:case"end":return e.stop()}}),e,null,[[1,9]])}))),Kd.apply(this,arguments)}function Jd(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}function Xd(e,t,n,r,o,i,a){try{var l=e[i](a),s=l.value}catch(e){return void n(e)}l.done?t(s):Promise.resolve(s).then(r,o)}function ef(e){return function(){var t=this,n=arguments;return new Promise((function(r,o){var i=e.apply(t,n);function a(e){Xd(i,r,o,a,l,"next",e)}function l(e){Xd(i,r,o,a,l,"throw",e)}a(void 0)}))}}function tf(e,t){return nf.apply(this,arguments)}function nf(){return nf=ef(regeneratorRuntime.mark((function e(t,n){var r;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=(0,Rs.gql)(Vd||(Vd=Jd(["\n mutation DeleteHighlight($highlightId: ID!) {\n deleteHighlight(highlightId: $highlightId) {\n ... on DeleteHighlightSuccess {\n highlight {\n id\n }\n }\n ... on DeleteHighlightError {\n errorCodes\n }\n }\n }\n "]))),e.prev=1,e.next=4,Us(r,{highlightId:n});case 4:return e.abrupt("return",!0);case 7:return e.prev=7,e.t0=e.catch(1),e.abrupt("return",!1);case 10:case"end":return e.stop()}}),e,null,[[1,7]])}))),nf.apply(this,arguments)}function rf(e){return(0,Ie.jsx)(ze,{css:{display:"inline-table",margin:"2px",fontSize:"11px",fontWeight:"500",fontFamily:"$inter",padding:"4px 7px",whiteSpace:"nowrap",cursor:"pointer",backgroundClip:"padding-box",borderRadius:"5px",borderWidth:"1px",borderStyle:"solid",color:"$thLabelChipForeground",borderColor:e.isSelected?"$thLabelChipSelectedBorder":"$thLabelChipUnselectedBorder",backgroundColor:"$thLabelChipBackground"},children:(0,Ie.jsxs)(Ue,{alignment:"center",css:{gap:"5px"},children:[(0,Ie.jsx)(hi,{size:14,color:e.color,weight:"fill"}),(0,Ie.jsx)(ze,{css:{pt:"1px"},children:e.text})]})})}var of,af=o(3811),lf=o.n(af);function sf(){return sf=Object.assign?Object.assign.bind():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},sf.apply(this,arguments)}function uf(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function cf(e,t){return cf=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},cf(e,t)}function df(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,cf(e,t)}var ff=new Uint8Array(16);function pf(){if(!of&&!(of="undefined"!=typeof crypto&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto)||"undefined"!=typeof msCrypto&&"function"==typeof msCrypto.getRandomValues&&msCrypto.getRandomValues.bind(msCrypto)))throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");return of(ff)}const hf=/^(?:[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}|00000000-0000-0000-0000-000000000000)$/i,gf=function(e){return"string"==typeof e&&hf.test(e)};for(var mf=[],vf=0;vf<256;++vf)mf.push((vf+256).toString(16).substr(1));const bf=function(e,t,n){var r=(e=e||{}).random||(e.rng||pf)();if(r[6]=15&r[6]|64,r[8]=63&r[8]|128,t){n=n||0;for(var o=0;o<16;++o)t[n+o]=r[o];return t}return function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=(mf[e[t+0]]+mf[e[t+1]]+mf[e[t+2]]+mf[e[t+3]]+"-"+mf[e[t+4]]+mf[e[t+5]]+"-"+mf[e[t+6]]+mf[e[t+7]]+"-"+mf[e[t+8]]+mf[e[t+9]]+"-"+mf[e[t+10]]+mf[e[t+11]]+mf[e[t+12]]+mf[e[t+13]]+mf[e[t+14]]+mf[e[t+15]]).toLowerCase();if(!gf(n))throw TypeError("Stringified UUID is invalid");return n}(r)};function yf(e){return u.createElement("i",{className:"rmel-iconfont rmel-icon-"+e.type})}function Af(e){return u.createElement("div",{className:"rc-md-navigation "+(e.visible?"visible":"in-visible")},u.createElement("div",{className:"navigation-nav left"},u.createElement("div",{className:"button-wrap"},e.left)),u.createElement("div",{className:"navigation-nav right"},u.createElement("div",{className:"button-wrap"},e.right)))}function wf(e){return u.createElement("div",{className:"tool-bar",style:e.style},e.children)}var xf=function(e){function t(){for(var t,n=arguments.length,r=new Array(n),o=0;o<n;o++)r[o]=arguments[o];return(t=e.call.apply(e,[this].concat(r))||this).EVENT_CHANGE="a1",t.EVENT_FULL_SCREEN="a2",t.EVENT_VIEW_CHANGE="a3",t.EVENT_KEY_DOWN="a4",t.EVENT_EDITOR_KEY_DOWN="a5",t.EVENT_FOCUS="a5",t.EVENT_BLUR="a6",t.EVENT_SCROLL="a7",t.EVENT_LANG_CHANGE="b1",t}return df(t,e),t}(o(161).EventEmitter),Ef=new xf;const kf=xf,Sf={clearTip:"Are you sure you want to clear all contents?",btnHeader:"Header",btnClear:"Clear",btnBold:"Bold",btnItalic:"Italic",btnUnderline:"Underline",btnStrikethrough:"Strikethrough",btnUnordered:"Unordered list",btnOrdered:"Ordered list",btnQuote:"Quote",btnLineBreak:"Line break",btnInlineCode:"Inline code",btnCode:"Code",btnTable:"Table",btnImage:"Image",btnLink:"Link",btnUndo:"Undo",btnRedo:"Redo",btnFullScreen:"Full screen",btnExitFullScreen:"Exit full screen",btnModeEditor:"Only display editor",btnModePreview:"Only display preview",btnModeAll:"Display both editor and preview",selectTabMap:"Actual input when typing a Tab key",tab:"Tab",spaces:"Spaces"},_f={clearTip:"您确定要清空所有内容吗?",btnHeader:"标题",btnClear:"清空",btnBold:"加粗",btnItalic:"斜体",btnUnderline:"下划线",btnStrikethrough:"删除线",btnUnordered:"无序列表",btnOrdered:"有序列表",btnQuote:"引用",btnLineBreak:"换行",btnInlineCode:"行内代码",btnCode:"代码块",btnTable:"表格",btnImage:"图片",btnLink:"链接",btnUndo:"撤销",btnRedo:"重做",btnFullScreen:"全屏",btnExitFullScreen:"退出全屏",btnModeEditor:"仅显示编辑器",btnModePreview:"仅显示预览",btnModeAll:"显示编辑器与预览",selectTabMap:"按下 Tab 键时实际的输入",tab:"制表符",spaces:"空格"};var Cf=function(){function e(){this.langs={enUS:Sf,zhCN:_f},this.current="enUS",this.setUp()}var t=e.prototype;return t.setUp=function(){if("undefined"!=typeof window){var e="enUS";if(navigator.language){var t=navigator.language.split("-");e=t[0],1!==t.length&&(e+=t[t.length-1].toUpperCase())}if(navigator.browserLanguage){var n=navigator.browserLanguage.split("-");e=n[0],n[1]&&(e+=n[1].toUpperCase())}this.current!==e&&this.isAvailable(e)&&(this.current=e,Ef.emit(Ef.EVENT_LANG_CHANGE,this,e,this.langs[e]))}},t.isAvailable=function(e){return void 0!==this.langs[e]},t.add=function(e,t){this.langs[e]=t},t.setCurrent=function(e){if(!this.isAvailable(e))throw new Error("Language "+e+" is not exists");this.current!==e&&(this.current=e,Ef.emit(Ef.EVENT_LANG_CHANGE,this,e,this.langs[e]))},t.get=function(e,t){var n=this.langs[this.current][e]||"";return t&&Object.keys(t).forEach((function(e){n=n.replace(new RegExp("\\{"+e+"\\}","g"),t[e])})),n},t.getCurrent=function(){return this.current},e}();const Tf=new Cf;function Df(e){return Df="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Df(e)}function Lf(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,(o=r.key,i=void 0,i=function(e,t){if("object"!==Df(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t);if("object"!==Df(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(o,"string"),"symbol"===Df(i)?i:String(i)),r)}var o,i}function Of(e,t,n){return t&&Lf(e.prototype,t),n&&Lf(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}var Rf=function(e){function t(){return e.apply(this,arguments)||this}return df(t,e),t.prototype.getConfig=function(e,t){return void 0!==this.props.config[e]&&null!==this.props.config[e]?this.props.config[e]:t},Of(t,[{key:"editor",get:function(){return this.props.editor}},{key:"editorConfig",get:function(){return this.props.editorConfig}}]),t}(u.Component);Rf.pluginName="",Rf.align="left",Rf.defaultConfig={};var Pf=function(e){function t(){return e.apply(this,arguments)||this}return df(t,e),t.prototype.render=function(){return u.createElement("span",{className:"rc-md-divider"})},t}(Rf);Pf.pluginName="divider";var Mf={start:0,end:0,text:""};function Nf(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function Bf(e){return e&&(e instanceof Promise||("object"==typeof e||"function"==typeof e)&&"function"==typeof e.then)}function If(e,t){for(var n="",r=t;r--;)n+=e;return n}function jf(e,t){var n=t.withKey,r=t.keyCode,o=t.key,i=t.aliasCommand,a={ctrlKey:e.ctrlKey,metaKey:e.metaKey,altKey:e.altKey,shiftKey:e.shiftKey,keyCode:e.keyCode,key:e.key};if(i&&(a.ctrlKey=a.ctrlKey||a.metaKey),n&&n.length>0)for(var l,s=function(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(n)return(n=n.call(e)).next.bind(n);if(Array.isArray(e)||(n=function(e,t){if(e){if("string"==typeof e)return Nf(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Nf(e,t):void 0}}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0;return function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}(n);!(l=s()).done;){var u=l.value;if(void 0!==a[u]&&!a[u])return!1}else if(a.metaKey||a.ctrlKey||a.shiftKey||a.altKey)return!1;return a.key?a.key===o:a.keyCode===r}function Ff(e,t){var n=e.split("\n"),r=e.substr(0,t).split("\n"),o=r.length,i=r[r.length-1].length,a=n[r.length-1],l=r.length>1?r[r.length-2]:null,s=n.length>r.length?n[r.length]:null;return{line:o,col:i,beforeText:e.substr(0,t),afterText:e.substr(t),curLine:a,prevLine:l,nextLine:s}}for(var zf={bold:["**","**"],italic:["*","*"],underline:["++","++"],strikethrough:["~~","~~"],quote:["\n> ","\n"],inlinecode:["`","`"],code:["\n```\n","\n```\n"]},Hf=1;Hf<=6;Hf++)zf["h"+Hf]=["\n"+If("#",Hf)+" ","\n"];function qf(e){for(var t=e.row,n=void 0===t?2:t,r=e.col,o=void 0===r?2:r,i=["|"],a=["|"],l=["|"],s="",u=1;u<=o;u++)i.push(" Head |"),l.push(" --- |"),a.push(" Data |");for(var c=1;c<=n;c++)s+="\n"+a.join("");return i.join("")+"\n"+l.join("")+s}function Uf(e,t){var n=t;if("\n"!==n.substr(0,1)&&(n="\n"+n),"unordered"===e)return n.length>1?n.replace(/\n/g,"\n* ").trim():"* ";var r=1;return n.length>1?n.replace(/\n/g,(function(){return"\n"+r+++". "})).trim():"1. "}function Wf(e,t){return{text:e,newBlock:t,selection:{start:e.length,end:e.length}}}const Vf=function(e,t,n){if(void 0!==zf[t])return{text:""+zf[t][0]+e+zf[t][1],selection:{start:zf[t][0].length,end:zf[t][0].length+e.length}};switch(t){case"tab":var r=1===n.tabMapValue?"\t":" ".repeat(n.tabMapValue),o=r+e.replace(/\n/g,"\n"+r),i=e.includes("\n")?e.match(/\n/g).length:0;return{text:o,selection:{start:n.tabMapValue,end:n.tabMapValue*(i+1)+e.length}};case"unordered":return Wf(Uf("unordered",e),!0);case"order":return Wf(Uf("order",e),!0);case"hr":return Wf("---",!0);case"table":return{text:qf(n),newBlock:!0};case"image":return{text:"!["+(e||n.target)+"]("+(n.imageUrl||"")+")",selection:{start:2,end:e.length+2}};case"link":return{text:"["+e+"]("+(n.linkUrl||"")+")",selection:{start:1,end:e.length+1}}}return{text:e,selection:{start:0,end:e.length}}};function Qf(e,t){var n={};return Object.keys(e).forEach((function(r){void 0!==t[r]?"object"!=typeof t[r]?n[r]=t[r]:Array.isArray(t[r])?n[r]=[].concat(t[r]):n[r]=Qf(e[r],t[r]):n[r]=e[r]})),n}const Gf=function(e,t){return{placeholder:Vf("","image",{target:"Uploading_"+bf(),imageUrl:""}).text,uploaded:new Promise((function(n){var r=!0,o=function(t){r&&console.warn("Deprecated: onImageUpload should return a Promise, callback will be removed in future"),n(Vf("","image",{target:e.name,imageUrl:t}).text)},i=t(e,o);Bf(i)&&(r=!1,i.then(o))}))}},$f={theme:"default",view:{menu:!0,md:!0,html:!0},canView:{menu:!0,md:!0,html:!0,both:!0,fullScreen:!0,hideMenu:!0},htmlClass:"",markdownClass:"",syncScrollMode:["rightFollowLeft","leftFollowRight"],imageUrl:"",imageAccept:"",linkUrl:"",loggerMaxSize:100,loggerInterval:600,table:{maxRow:4,maxCol:6},allowPasteImage:!0,onImageUpload:void 0,onCustomImageUpload:void 0,shortcuts:!0,onChangeTrigger:"both"};var Yf=function(e){function t(){return e.apply(this,arguments)||this}df(t,e);var n=t.prototype;return n.getHtml=function(){return"string"==typeof this.props.html?this.props.html:this.el.current?this.el.current.innerHTML:""},n.render=function(){return"string"==typeof this.props.html?u.createElement("div",{ref:this.el,dangerouslySetInnerHTML:{__html:this.props.html},className:this.props.className||"custom-html-style"}):u.createElement("div",{ref:this.el,className:this.props.className||"custom-html-style"},this.props.html)},t}(function(e){function t(t){var n;return(n=e.call(this,t)||this).el=u.createRef(),n}df(t,e);var n=t.prototype;return n.getElement=function(){return this.el.current},n.getHeight=function(){return this.el.current?this.el.current.offsetHeight:0},t}(u.Component));function Zf(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(n)return(n=n.call(e)).next.bind(n);if(Array.isArray(e)||(n=function(e,t){if(e){if("string"==typeof e)return Kf(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Kf(e,t):void 0}}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0;return function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function Kf(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var Jf=function(e){function t(t){var n;return(n=e.call(this,t)||this).nodeMdText=u.createRef(),n.nodeMdPreview=u.createRef(),n.nodeMdPreviewWrapper=u.createRef(),n.hasContentChanged=!0,n.composing=!1,n.pluginApis=new Map,n.scrollScale=1,n.isSyncingScroll=!1,n.shouldSyncScroll="md",n.keyboardListeners=[],n.emitter=new kf,n.config=function(e){for(var t=sf({},e),n=arguments.length,r=new Array(n>1?n-1:0),o=1;o<n;o++)r[o-1]=arguments[o];return r.forEach((function(e){"object"==typeof e&&(t=Qf(t,e))})),t}($f,n.props.config,n.props),n.state={text:(n.props.value||n.props.defaultValue||"").replace(/↵/g,"\n"),html:"",view:n.config.view||$f.view,fullScreen:!1,plugins:n.getPlugins()},n.config.canView&&!n.config.canView.menu&&(n.state.view.menu=!1),n.nodeMdText=u.createRef(),n.nodeMdPreviewWrapper=u.createRef(),n.handleChange=n.handleChange.bind(uf(n)),n.handlePaste=n.handlePaste.bind(uf(n)),n.handleDrop=n.handleDrop.bind(uf(n)),n.handleToggleMenu=n.handleToggleMenu.bind(uf(n)),n.handleKeyDown=n.handleKeyDown.bind(uf(n)),n.handleEditorKeyDown=n.handleEditorKeyDown.bind(uf(n)),n.handleLocaleUpdate=n.handleLocaleUpdate.bind(uf(n)),n.handleFocus=n.handleFocus.bind(uf(n)),n.handleBlur=n.handleBlur.bind(uf(n)),n.handleInputScroll=n.handleSyncScroll.bind(uf(n),"md"),n.handlePreviewScroll=n.handleSyncScroll.bind(uf(n),"html"),n}df(t,e),t.use=function(e,n){void 0===n&&(n={});for(var r=0;r<t.plugins.length;r++)if(t.plugins[r].comp===e)return void t.plugins.splice(r,1,{comp:e,config:n});t.plugins.push({comp:e,config:n})},t.unuse=function(e){for(var n=0;n<t.plugins.length;n++)if(t.plugins[n].comp===e)return void t.plugins.splice(n,1)},t.unuseAll=function(){t.plugins=[]};var n=t.prototype;return n.componentDidMount=function(){var e=this.state.text;this.renderHTML(e),Ef.on(Ef.EVENT_LANG_CHANGE,this.handleLocaleUpdate),Tf.setUp()},n.componentWillUnmount=function(){Ef.off(Ef.EVENT_LANG_CHANGE,this.handleLocaleUpdate)},n.componentDidUpdate=function(e){if(void 0!==this.props.value&&this.props.value!==this.state.text){var t=this.props.value;"string"!=typeof t&&(t=String(t).toString()),t=t.replace(/↵/g,"\n"),this.state.text!==t&&(this.setState({text:t}),this.renderHTML(t))}e.plugins!==this.props.plugins&&this.setState({plugins:this.getPlugins()})},n.isComposing=function(){return this.composing},n.getPlugins=function(){var e=this,n=[];if(this.props.plugins)for(var r,o=function(e){if(e!==Pf.pluginName)for(var r,o=Zf(t.plugins);!(r=o()).done;){var i=r.value;if(i.comp.pluginName===e)return void n.push(i)}else n.push({comp:Pf,config:{}})},i=Zf(this.props.plugins);!(r=i()).done;){var a=r.value;"fonts"===a?(o("font-bold"),o("font-italic"),o("font-underline"),o("font-strikethrough"),o("list-unordered"),o("list-ordered"),o("block-quote"),o("block-wrap"),o("block-code-inline"),o("block-code-block")):o(a)}else n=[].concat(t.plugins);var l={};return n.forEach((function(t){void 0===l[t.comp.align]&&(l[t.comp.align]=[]);var n="divider"===t.comp.pluginName?bf():t.comp.pluginName;l[t.comp.align].push(u.createElement(t.comp,{editor:e,editorConfig:e.config,config:sf({},t.comp.defaultConfig||{},t.config||{}),key:n}))})),l},n.handleSyncScroll=function(e,t){var n=this;if(e===this.shouldSyncScroll){this.props.onScroll&&this.props.onScroll(t,e),this.emitter.emit(this.emitter.EVENT_SCROLL,t,e);var r=this.config.syncScrollMode;(void 0===r?[]:r).includes("md"===e?"rightFollowLeft":"leftFollowRight")&&(this.hasContentChanged&&this.nodeMdText.current&&this.nodeMdPreviewWrapper.current&&(this.scrollScale=this.nodeMdText.current.scrollHeight/this.nodeMdPreviewWrapper.current.scrollHeight,this.hasContentChanged=!1),this.isSyncingScroll||(this.isSyncingScroll=!0,requestAnimationFrame((function(){n.nodeMdText.current&&n.nodeMdPreviewWrapper.current&&("md"===e?n.nodeMdPreviewWrapper.current.scrollTop=n.nodeMdText.current.scrollTop/n.scrollScale:n.nodeMdText.current.scrollTop=n.nodeMdPreviewWrapper.current.scrollTop*n.scrollScale),n.isSyncingScroll=!1}))))}},n.renderHTML=function(e){var t=this;if(!this.props.renderHTML)return console.error("renderHTML props is required!"),Promise.resolve();var n=this.props.renderHTML(e);return Bf(n)?n.then((function(e){return t.setHtml(e)})):"function"==typeof n?this.setHtml(n()):this.setHtml(n)},n.setHtml=function(e){var t=this;return new Promise((function(n){t.setState({html:e},n)}))},n.handleToggleMenu=function(){this.setView({menu:!this.state.view.menu})},n.handleFocus=function(e){var t=this.props.onFocus;t&&t(e),this.emitter.emit(this.emitter.EVENT_FOCUS,e)},n.handleBlur=function(e){var t=this.props.onBlur;t&&t(e),this.emitter.emit(this.emitter.EVENT_BLUR,e)},n.handleChange=function(e){e.persist();var t=e.target.value;this.setText(t,e)},n.handlePaste=function(e){if(this.config.allowPasteImage&&this.config.onImageUpload){var t=(e.nativeEvent.clipboardData||window.clipboardData).items;t&&(e.preventDefault(),this.uploadWithDataTransfer(t))}},n.handleDrop=function(e){if(this.config.onImageUpload){var t=e.nativeEvent;if(t.dataTransfer){var n=t.dataTransfer.items;n&&(e.preventDefault(),this.uploadWithDataTransfer(n))}}},n.handleEditorKeyDown=function(e){var t=this,n=e.keyCode,r=e.key,o=e.currentTarget;if((13===n||"Enter"===r)&&!1===this.composing){var i=o.value,a=o.selectionStart,l=Ff(i,a),s=function(){var n=o.value.substr(0,a-l.curLine.length)+o.value.substr(a);t.setText(n,void 0,{start:a-l.curLine.length,end:a-l.curLine.length}),e.preventDefault()},u=function(n){t.insertText("\n"+n,!1,{start:n.length+1,end:n.length+1}),e.preventDefault()},c=l.curLine.match(/^(\s*?)\* /);if(c)return/^(\s*?)\* $/.test(l.curLine)?void s():void u(c[0]);var d=l.curLine.match(/^(\s*?)(\d+)\. /);if(d)return/^(\s*?)(\d+)\. $/.test(l.curLine)?void s():void u(""+d[1]+(parseInt(d[2],10)+1)+". ")}this.emitter.emit(this.emitter.EVENT_EDITOR_KEY_DOWN,e)},n.handleLocaleUpdate=function(){this.forceUpdate()},n.getMdElement=function(){return this.nodeMdText.current},n.getHtmlElement=function(){return this.nodeMdPreviewWrapper.current},n.clearSelection=function(){this.nodeMdText.current&&this.nodeMdText.current.setSelectionRange(0,0,"none")},n.getSelection=function(){var e=this.nodeMdText.current;if(!e)return sf({},Mf);var t=e.selectionStart,n=e.selectionEnd;return{start:t,end:n,text:(e.value||"").slice(t,n)}},n.setSelection=function(e){this.nodeMdText.current&&(this.nodeMdText.current.setSelectionRange(e.start,e.end,"forward"),this.nodeMdText.current.focus())},n.insertMarkdown=function(e,t){void 0===t&&(t={});var n=this.getSelection(),r=t?sf({},t):{};if("image"===e&&(r=sf({},r,{target:t.target||n.text||"",imageUrl:t.imageUrl||this.config.imageUrl})),"link"===e&&(r=sf({},r,{linkUrl:this.config.linkUrl})),"tab"===e&&n.start!==n.end){var o=this.getMdValue().slice(0,n.start).lastIndexOf("\n")+1;this.setSelection({start:o,end:n.end})}var i=Vf(n.text,e,r),a=i.text,l=i.selection;if(i.newBlock){var s=Ff(this.getMdValue(),n.start),u=s.col,c=s.curLine;u>0&&c.length>0&&(a="\n"+a,l&&(l.start++,l.end++));var d=s.afterText;n.start!==n.end&&(d=Ff(this.getMdValue(),n.end).afterText),""!==d.trim()&&"\n\n"!==d.substr(0,2)&&("\n"!==d.substr(0,1)&&(a+="\n"),a+="\n")}this.insertText(a,!0,l)},n.insertPlaceholder=function(e,t){var n=this;this.insertText(e,!0),t.then((function(t){var r=n.getMdValue().replace(e,t);n.setText(r)}))},n.insertText=function(e,t,n){void 0===e&&(e=""),void 0===t&&(t=!1);var r=this.state.text,o=this.getSelection(),i=r.slice(0,o.start),a=r.slice(t?o.end:o.start,r.length);this.setText(i+e+a,void 0,n?{start:n.start+i.length,end:n.end+i.length}:{start:o.start,end:o.start})},n.setText=function(e,t,n){var r=this;void 0===e&&(e="");var o=this.config.onChangeTrigger,i=void 0===o?"both":o,a=e.replace(/↵/g,"\n");if(this.state.text!==e){this.setState({text:a}),!this.props.onChange||"both"!==i&&"beforeRender"!==i||this.props.onChange({text:a,html:this.getHtmlValue()},t),this.emitter.emit(this.emitter.EVENT_CHANGE,e,t,void 0===t),n&&setTimeout((function(){return r.setSelection(n)})),this.hasContentChanged||(this.hasContentChanged=!0);var l=this.renderHTML(a);"both"!==i&&"afterRender"!==i||l.then((function(){r.props.onChange&&r.props.onChange({text:r.state.text,html:r.getHtmlValue()},t)}))}},n.getMdValue=function(){return this.state.text},n.getHtmlValue=function(){return"string"==typeof this.state.html?this.state.html:this.nodeMdPreview.current?this.nodeMdPreview.current.getHtml():""},n.onKeyboard=function(e){var t=this;Array.isArray(e)?e.forEach((function(e){return t.onKeyboard(e)})):this.keyboardListeners.includes(e)||this.keyboardListeners.push(e)},n.offKeyboard=function(e){var t=this;if(Array.isArray(e))e.forEach((function(e){return t.offKeyboard(e)}));else{var n=this.keyboardListeners.indexOf(e);n>=0&&this.keyboardListeners.splice(n,1)}},n.handleKeyDown=function(e){for(var t,n=Zf(this.keyboardListeners);!(t=n()).done;){var r=t.value;if(jf(e,r))return e.preventDefault(),void r.callback(e)}this.emitter.emit(this.emitter.EVENT_KEY_DOWN,e)},n.getEventType=function(e){switch(e){case"change":return this.emitter.EVENT_CHANGE;case"fullscreen":return this.emitter.EVENT_FULL_SCREEN;case"viewchange":return this.emitter.EVENT_VIEW_CHANGE;case"keydown":return this.emitter.EVENT_KEY_DOWN;case"editor_keydown":return this.emitter.EVENT_EDITOR_KEY_DOWN;case"blur":return this.emitter.EVENT_BLUR;case"focus":return this.emitter.EVENT_FOCUS;case"scroll":return this.emitter.EVENT_SCROLL}},n.on=function(e,t){var n=this.getEventType(e);n&&this.emitter.on(n,t)},n.off=function(e,t){var n=this.getEventType(e);n&&this.emitter.off(n,t)},n.setView=function(e){var t=this,n=sf({},this.state.view,e);this.setState({view:n},(function(){t.emitter.emit(t.emitter.EVENT_VIEW_CHANGE,n)}))},n.getView=function(){return sf({},this.state.view)},n.fullScreen=function(e){var t=this;this.state.fullScreen!==e&&this.setState({fullScreen:e},(function(){t.emitter.emit(t.emitter.EVENT_FULL_SCREEN,e)}))},n.registerPluginApi=function(e,t){this.pluginApis.set(e,t)},n.unregisterPluginApi=function(e){this.pluginApis.delete(e)},n.callPluginApi=function(e){var t=this.pluginApis.get(e);if(!t)throw new Error("API "+e+" not found");for(var n=arguments.length,r=new Array(n>1?n-1:0),o=1;o<n;o++)r[o-1]=arguments[o];return t.apply(void 0,r)},n.isFullScreen=function(){return this.state.fullScreen},n.uploadWithDataTransfer=function(e){var t=this,n=this.config.onImageUpload;if(n){var r=[];Array.prototype.forEach.call(e,(function(e){if("file"===e.kind&&e.type.includes("image")){var o=e.getAsFile();if(o){var i=Gf(o,n);r.push(Promise.resolve(i.placeholder)),i.uploaded.then((function(e){var n=t.getMdValue().replace(i.placeholder,e),r=e.length-i.placeholder.length,o=t.getSelection();t.setText(n,void 0,{start:o.start+r,end:o.start+r})}))}}else"string"===e.kind&&"text/plain"===e.type&&r.push(new Promise((function(t){return e.getAsString(t)})))})),Promise.all(r).then((function(e){var n=e.join(""),r=t.getSelection();t.insertText(n,!0,{start:r.start===r.end?n.length:0,end:n.length})}))}},n.render=function(){var e=this,t=this.state,n=t.view,r=t.fullScreen,o=t.text,i=t.html,a=this.props,l=a.id,s=a.className,c=void 0===s?"":s,d=a.style,f=a.name,p=void 0===f?"textarea":f,h=a.autoFocus,g=a.placeholder,m=a.readOnly,v=this.config.canView&&this.config.canView.hideMenu&&!this.config.canView.menu,b=function(t){return e.state.plugins[t]||[]},y=!!n.menu,A=l?l+"_md":void 0,w=l?l+"_html":void 0;return u.createElement("div",{id:l,className:"rc-md-editor "+(r?"full":"")+" "+c,style:d,onKeyDown:this.handleKeyDown,onDrop:this.handleDrop},u.createElement(Af,{visible:y,left:b("left"),right:b("right")}),u.createElement("div",{className:"editor-container"},v&&u.createElement(wf,null,u.createElement("span",{className:"button button-type-menu",title:y?"hidden menu":"show menu",onClick:this.handleToggleMenu},u.createElement(yf,{type:"expand-"+(y?"less":"more")}))),u.createElement("section",{className:"section sec-md "+(n.md?"visible":"in-visible")},u.createElement("textarea",{id:A,ref:this.nodeMdText,name:p,autoFocus:h,placeholder:g,readOnly:m,value:o,className:"section-container input "+(this.config.markdownClass||""),wrap:"hard",onChange:this.handleChange,onScroll:this.handleInputScroll,onMouseOver:function(){return e.shouldSyncScroll="md"},onKeyDown:this.handleEditorKeyDown,onCompositionStart:function(){return e.composing=!0},onCompositionEnd:function(){return e.composing=!1},onPaste:this.handlePaste,onFocus:this.handleFocus,onBlur:this.handleBlur})),u.createElement("section",{className:"section sec-html "+(n.html?"visible":"in-visible")},u.createElement("div",{id:w,className:"section-container html-wrap",ref:this.nodeMdPreviewWrapper,onMouseOver:function(){return e.shouldSyncScroll="html"},onScroll:this.handlePreviewScroll},u.createElement(Yf,{html:i,className:this.config.htmlClass,ref:this.nodeMdPreview})))))},t}(u.Component);Jf.plugins=[],Jf.addLocale=Tf.add.bind(Tf),Jf.useLocale=Tf.setCurrent.bind(Tf),Jf.getLocale=Tf.getCurrent.bind(Tf);const Xf=Jf;var ep=function(e){function t(t){var n;return(n=e.call(this,t)||this).timer=null,n.useTimer=n.getConfig("useTimer")||"undefined"==typeof requestAnimationFrame,n.handleChange=n.handleChange.bind(uf(n)),n.doResize=n.doResize.bind(uf(n)),n}df(t,e);var n=t.prototype;return n.doResize=function(){var e=this,t=function(t){t.style.height="auto";var n=Math.min(Math.max(e.getConfig("min"),t.scrollHeight),e.getConfig("max"));return t.style.height=n+"px",n};this.timer=null;var n=this.editor.getView(),r=this.editor.getMdElement(),o=this.editor.getHtmlElement();if(r&&n.md){var i=t(r);o&&(o.style.height=i+"px")}else o&&n.html&&t(o)},n.handleChange=function(){null===this.timer&&(this.useTimer?this.timer=window.setTimeout(this.doResize):this.timer=requestAnimationFrame(this.doResize))},n.componentDidMount=function(){this.editor.on("change",this.handleChange),this.editor.on("viewchange",this.handleChange),this.handleChange()},n.componentWillUnmount=function(){this.editor.off("change",this.handleChange),this.editor.off("viewchange",this.handleChange),null!==this.timer&&this.useTimer&&(window.clearTimeout(this.timer),this.timer=null)},n.render=function(){return u.createElement("span",null)},t}(Rf);ep.pluginName="auto-resize",ep.align="left",ep.defaultConfig={min:200,max:1/0,useTimer:!1};var tp=function(e){function t(){return e.apply(this,arguments)||this}return df(t,e),t.prototype.render=function(){var e=this;return u.createElement("span",{className:"button button-type-code-block",title:Tf.get("btnCode"),onClick:function(){return e.editor.insertMarkdown("code")}},u.createElement(yf,{type:"code-block"}))},t}(Rf);tp.pluginName="block-code-block";var np=function(e){function t(){return e.apply(this,arguments)||this}return df(t,e),t.prototype.render=function(){var e=this;return u.createElement("span",{className:"button button-type-code-inline",title:Tf.get("btnInlineCode"),onClick:function(){return e.editor.insertMarkdown("inlinecode")}},u.createElement(yf,{type:"code"}))},t}(Rf);np.pluginName="block-code-inline";var rp=function(e){function t(){return e.apply(this,arguments)||this}return df(t,e),t.prototype.render=function(){var e=this;return u.createElement("span",{className:"button button-type-quote",title:Tf.get("btnQuote"),onClick:function(){return e.editor.insertMarkdown("quote")}},u.createElement(yf,{type:"quote"}))},t}(Rf);rp.pluginName="block-quote";var op=function(e){function t(){return e.apply(this,arguments)||this}return df(t,e),t.prototype.render=function(){var e=this;return u.createElement("span",{className:"button button-type-wrap",title:Tf.get("btnLineBreak"),onClick:function(){return e.editor.insertMarkdown("hr")}},u.createElement(yf,{type:"wrap"}))},t}(Rf);op.pluginName="block-wrap";var ip=function(e){function t(t){var n;return(n=e.call(this,t)||this).handleClick=n.handleClick.bind(uf(n)),n}df(t,e);var n=t.prototype;return n.handleClick=function(){""!==this.editor.getMdValue()&&window.confirm&&"function"==typeof window.confirm&&window.confirm(Tf.get("clearTip"))&&this.editor.setText("")},n.render=function(){return u.createElement("span",{className:"button button-type-clear",title:Tf.get("btnClear"),onClick:this.handleClick},u.createElement(yf,{type:"delete"}))},t}(Rf);ip.pluginName="clear";var ap=function(e){function t(t){var n;return(n=e.call(this,t)||this).handleKeyboard={key:"b",keyCode:66,aliasCommand:!0,withKey:["ctrlKey"],callback:function(){return n.editor.insertMarkdown("bold")}},n}df(t,e);var n=t.prototype;return n.componentDidMount=function(){this.editorConfig.shortcuts&&this.editor.onKeyboard(this.handleKeyboard)},n.componentWillUnmount=function(){this.editor.offKeyboard(this.handleKeyboard)},n.render=function(){var e=this;return u.createElement("span",{className:"button button-type-bold",title:Tf.get("btnBold"),onClick:function(){return e.editor.insertMarkdown("bold")}},u.createElement(yf,{type:"bold"}))},t}(Rf);ap.pluginName="font-bold";var lp=function(e){function t(t){var n;return(n=e.call(this,t)||this).handleKeyboard={key:"i",keyCode:73,aliasCommand:!0,withKey:["ctrlKey"],callback:function(){return n.editor.insertMarkdown("italic")}},n}df(t,e);var n=t.prototype;return n.componentDidMount=function(){this.editorConfig.shortcuts&&this.editor.onKeyboard(this.handleKeyboard)},n.componentWillUnmount=function(){this.editor.offKeyboard(this.handleKeyboard)},n.render=function(){var e=this;return u.createElement("span",{className:"button button-type-italic",title:Tf.get("btnItalic"),onClick:function(){return e.editor.insertMarkdown("italic")}},u.createElement(yf,{type:"italic"}))},t}(Rf);lp.pluginName="font-italic";var sp=function(e){function t(t){var n;return(n=e.call(this,t)||this).handleKeyboard={key:"d",keyCode:68,aliasCommand:!0,withKey:["ctrlKey"],callback:function(){return n.editor.insertMarkdown("strikethrough")}},n}df(t,e);var n=t.prototype;return n.componentDidMount=function(){this.editorConfig.shortcuts&&this.editor.onKeyboard(this.handleKeyboard)},n.componentWillUnmount=function(){this.editor.offKeyboard(this.handleKeyboard)},n.render=function(){var e=this;return u.createElement("span",{className:"button button-type-strikethrough",title:Tf.get("btnStrikethrough"),onClick:function(){return e.editor.insertMarkdown("strikethrough")}},u.createElement(yf,{type:"strikethrough"}))},t}(Rf);sp.pluginName="font-strikethrough";var up=function(e){function t(t){var n;return(n=e.call(this,t)||this).handleKeyboard={key:"u",keyCode:85,withKey:["ctrlKey"],callback:function(){return n.editor.insertMarkdown("underline")}},n}df(t,e);var n=t.prototype;return n.componentDidMount=function(){this.editorConfig.shortcuts&&this.editor.onKeyboard(this.handleKeyboard)},n.componentWillUnmount=function(){this.editor.offKeyboard(this.handleKeyboard)},n.render=function(){var e=this;return u.createElement("span",{className:"button button-type-underline",title:Tf.get("btnUnderline"),onClick:function(){return e.editor.insertMarkdown("underline")}},u.createElement(yf,{type:"underline"}))},t}(Rf);up.pluginName="font-underline";var cp=function(e){function t(t){var n;return(n=e.call(this,t)||this).handleClick=n.handleClick.bind(uf(n)),n.handleChange=n.handleChange.bind(uf(n)),n.state={enable:n.editor.isFullScreen()},n}df(t,e);var n=t.prototype;return n.handleClick=function(){this.editor.fullScreen(!this.state.enable)},n.handleChange=function(e){this.setState({enable:e})},n.componentDidMount=function(){this.editor.on("fullscreen",this.handleChange)},n.componentWillUnmount=function(){this.editor.off("fullscreen",this.handleChange)},n.render=function(){if(this.editorConfig.canView&&this.editorConfig.canView.fullScreen){var e=this.state.enable;return u.createElement("span",{className:"button button-type-fullscreen",title:Tf.get(e?"btnExitFullScreen":"btnFullScreen"),onClick:this.handleClick},u.createElement(yf,{type:e?"fullscreen-exit":"fullscreen"}))}return null},t}(Rf);cp.pluginName="full-screen",cp.align="right";const dp=function(e){function t(t){var n;return(n=e.call(this,t)||this).handleClose=n.handleClose.bind(uf(n)),n}df(t,e);var n=t.prototype;return n.handleClose=function(e){e.stopPropagation();var t=this.props.onClose;"function"==typeof t&&t()},n.render=function(){return u.createElement("div",{className:"drop-wrap "+(this.props.show?"show":"hidden"),onClick:this.handleClose},this.props.children)},t}(u.Component),fp=function(e){function t(){return e.apply(this,arguments)||this}df(t,e);var n=t.prototype;return n.handleHeader=function(e){var t=this.props.onSelectHeader;"function"==typeof t&&t(e)},n.render=function(){return u.createElement("ul",{className:"header-list"},u.createElement("li",{className:"list-item"},u.createElement("h1",{onClick:this.handleHeader.bind(this,"h1")},"H1")),u.createElement("li",{className:"list-item"},u.createElement("h2",{onClick:this.handleHeader.bind(this,"h2")},"H2")),u.createElement("li",{className:"list-item"},u.createElement("h3",{onClick:this.handleHeader.bind(this,"h3")},"H3")),u.createElement("li",{className:"list-item"},u.createElement("h4",{onClick:this.handleHeader.bind(this,"h4")},"H4")),u.createElement("li",{className:"list-item"},u.createElement("h5",{onClick:this.handleHeader.bind(this,"h5")},"H5")),u.createElement("li",{className:"list-item"},u.createElement("h6",{onClick:this.handleHeader.bind(this,"h6")},"H6")))},t}(u.Component);var pp=function(e){function t(t){var n;return(n=e.call(this,t)||this).show=n.show.bind(uf(n)),n.hide=n.hide.bind(uf(n)),n.state={show:!1},n}df(t,e);var n=t.prototype;return n.show=function(){this.setState({show:!0})},n.hide=function(){this.setState({show:!1})},n.render=function(){var e=this;return u.createElement("span",{className:"button button-type-header",title:Tf.get("btnHeader"),onMouseEnter:this.show,onMouseLeave:this.hide},u.createElement(yf,{type:"font-size"}),u.createElement(dp,{show:this.state.show,onClose:this.hide},u.createElement(fp,{onSelectHeader:function(t){return e.editor.insertMarkdown(t)}})))},t}(Rf);pp.pluginName="header";const hp=function(e){function t(t){var n;return(n=e.call(this,t)||this).timerId=void 0,n.locked=!1,n.input=u.createRef(),n}df(t,e);var n=t.prototype;return n.click=function(){var e=this;!this.locked&&this.input.current&&(this.locked=!0,this.input.current.value="",this.input.current.click(),this.timerId&&window.clearTimeout(this.timerId),this.timerId=window.setTimeout((function(){e.locked=!1,window.clearTimeout(e.timerId),e.timerId=void 0}),200))},n.componentWillUnmount=function(){this.timerId&&window.clearTimeout(this.timerId)},n.render=function(){return u.createElement("input",{type:"file",ref:this.input,accept:this.props.accept,style:{position:"absolute",zIndex:-1,left:0,top:0,width:0,height:0,opacity:0},onChange:this.props.onChange})},t}(u.Component);var gp=function(e){function t(t){var n;return(n=e.call(this,t)||this).inputFile=u.createRef(),n.onImageChanged=n.onImageChanged.bind(uf(n)),n.handleCustomImageUpload=n.handleCustomImageUpload.bind(uf(n)),n.handleImageUpload=n.handleImageUpload.bind(uf(n)),n.state={show:!1},n}df(t,e);var n=t.prototype;return n.handleImageUpload=function(){"function"==typeof this.editorConfig.onImageUpload?this.inputFile.current&&this.inputFile.current.click():this.editor.insertMarkdown("image")},n.onImageChanged=function(e){var t=this.editorConfig.onImageUpload;if(t){var n=Gf(e,t);this.editor.insertPlaceholder(n.placeholder,n.uploaded)}},n.handleCustomImageUpload=function(e){var t=this,n=this.editorConfig.onCustomImageUpload;if(n){var r=n.call(this,e);Bf(r)&&r.then((function(e){e&&e.url&&t.editor.insertMarkdown("image",{target:e.text,imageUrl:e.url})}))}},n.render=function(){var e=this;return this.editorConfig.onCustomImageUpload?u.createElement("span",{className:"button button-type-image",title:Tf.get("btnImage"),onClick:this.handleCustomImageUpload},u.createElement(yf,{type:"image"})):u.createElement("span",{className:"button button-type-image",title:Tf.get("btnImage"),onClick:this.handleImageUpload,style:{position:"relative"}},u.createElement(yf,{type:"image"}),u.createElement(hp,{accept:this.editorConfig.imageAccept||"",ref:this.inputFile,onChange:function(t){t.persist(),t.target.files&&t.target.files.length>0&&e.onImageChanged(t.target.files[0])}}))},t}(Rf);gp.pluginName="image";var mp=function(e){function t(t){var n;return(n=e.call(this,t)||this).handleKeyboard={key:"k",keyCode:75,aliasCommand:!0,withKey:["ctrlKey"],callback:function(){return n.editor.insertMarkdown("link")}},n}df(t,e);var n=t.prototype;return n.componentDidMount=function(){this.editorConfig.shortcuts&&this.editor.onKeyboard(this.handleKeyboard)},n.componentWillUnmount=function(){this.editor.offKeyboard(this.handleKeyboard)},n.render=function(){var e=this;return u.createElement("span",{className:"button button-type-link",title:Tf.get("btnLink"),onClick:function(){return e.editor.insertMarkdown("link")}},u.createElement(yf,{type:"link"}))},t}(Rf);mp.pluginName="link";var vp=function(e){function t(t){var n;return(n=e.call(this,t)||this).handleKeyboard={key:"7",keyCode:55,withKey:["ctrlKey","shiftKey"],aliasCommand:!0,callback:function(){return n.editor.insertMarkdown("order")}},n}df(t,e);var n=t.prototype;return n.componentDidMount=function(){this.editorConfig.shortcuts&&this.editor.onKeyboard(this.handleKeyboard)},n.componentWillUnmount=function(){this.editor.offKeyboard(this.handleKeyboard)},n.render=function(){var e=this;return u.createElement("span",{className:"button button-type-ordered",title:Tf.get("btnOrdered"),onClick:function(){return e.editor.insertMarkdown("order")}},u.createElement(yf,{type:"list-ordered"}))},t}(Rf);vp.pluginName="list-ordered";var bp=function(e){function t(t){var n;return(n=e.call(this,t)||this).handleKeyboard={key:"8",keyCode:56,withKey:["ctrlKey","shiftKey"],aliasCommand:!0,callback:function(){return n.editor.insertMarkdown("unordered")}},n}df(t,e);var n=t.prototype;return n.componentDidMount=function(){this.editorConfig.shortcuts&&this.editor.onKeyboard(this.handleKeyboard)},n.componentWillUnmount=function(){this.editor.offKeyboard(this.handleKeyboard)},n.render=function(){var e=this;return u.createElement("span",{className:"button button-type-unordered",title:Tf.get("btnUnordered"),onClick:function(){return e.editor.insertMarkdown("unordered")}},u.createElement(yf,{type:"list-unordered"}))},t}(Rf);bp.pluginName="list-unordered";const yp=function(){function e(e){void 0===e&&(e={}),this.record=[],this.recycle=[],this.initValue="";var t=e.maxSize,n=void 0===t?100:t;this.maxSize=n}var t=e.prototype;return t.push=function(e){for(var t=this.record.push(e);this.record.length>this.maxSize;)this.record.shift();return t},t.get=function(){return this.record},t.getLast=function(){var e=this.record.length;return this.record[e-1]},t.undo=function(e){var t=this.record.pop();if(void 0===t)return this.initValue;if(t!==e)return this.recycle.push(t),t;var n=this.record.pop();return void 0===n?(this.recycle.push(t),this.initValue):(this.recycle.push(t),n)},t.redo=function(){var e=this.recycle.pop();if(void 0!==e)return this.push(e),e},t.cleanRedo=function(){this.recycle=[]},t.getUndoCount=function(){return this.undo.length},t.getRedoCount=function(){return this.recycle.length},e}();var Ap,wp=function(e){function t(t){var n;return(n=e.call(this,t)||this).handleKeyboards=[],n.lastPop=null,n.handleChange=n.handleChange.bind(uf(n)),n.handleRedo=n.handleRedo.bind(uf(n)),n.handleUndo=n.handleUndo.bind(uf(n)),n.handleKeyboards=[{key:"y",keyCode:89,withKey:["ctrlKey"],callback:n.handleRedo},{key:"z",keyCode:90,withKey:["metaKey","shiftKey"],callback:n.handleRedo},{key:"z",keyCode:90,aliasCommand:!0,withKey:["ctrlKey"],callback:n.handleUndo}],n.logger=new yp({maxSize:n.editorConfig.loggerMaxSize}),n.editor.registerPluginApi("undo",n.handleUndo),n.editor.registerPluginApi("redo",n.handleRedo),n}df(t,e);var n=t.prototype;return n.handleUndo=function(){var e=this.logger.undo(this.editor.getMdValue());void 0!==e&&(this.pause(),this.lastPop=e,this.editor.setText(e),this.forceUpdate())},n.handleRedo=function(){var e=this.logger.redo();void 0!==e&&(this.lastPop=e,this.editor.setText(e),this.forceUpdate())},n.handleChange=function(e,t,n){var r=this;if(this.logger.getLast()!==e&&(null===this.lastPop||this.lastPop!==e)){if(this.logger.cleanRedo(),n)return this.logger.push(e),this.lastPop=null,void this.forceUpdate();this.timerId&&(window.clearTimeout(this.timerId),this.timerId=0),this.timerId=window.setTimeout((function(){r.logger.getLast()!==e&&(r.logger.push(e),r.lastPop=null,r.forceUpdate()),window.clearTimeout(r.timerId),r.timerId=0}),this.editorConfig.loggerInterval)}},n.componentDidMount=function(){var e=this;this.editor.on("change",this.handleChange),this.handleKeyboards.forEach((function(t){return e.editor.onKeyboard(t)})),this.logger.initValue=this.editor.getMdValue(),this.forceUpdate()},n.componentWillUnmount=function(){var e=this;this.timerId&&window.clearTimeout(this.timerId),this.editor.off("change",this.handleChange),this.editor.unregisterPluginApi("undo"),this.editor.unregisterPluginApi("redo"),this.handleKeyboards.forEach((function(t){return e.editor.offKeyboard(t)}))},n.pause=function(){this.timerId&&(window.clearTimeout(this.timerId),this.timerId=void 0)},n.render=function(){var e=this.logger.getUndoCount()>1||this.logger.initValue!==this.editor.getMdValue(),t=this.logger.getRedoCount()>0;return u.createElement(u.Fragment,null,u.createElement("span",{className:"button button-type-undo "+(e?"":"disabled"),title:Tf.get("btnUndo"),onClick:this.handleUndo},u.createElement(yf,{type:"undo"})),u.createElement("span",{className:"button button-type-redo "+(t?"":"disabled"),title:Tf.get("btnRedo"),onClick:this.handleRedo},u.createElement(yf,{type:"redo"})))},t}(Rf);wp.pluginName="logger",function(e){e[e.SHOW_ALL=0]="SHOW_ALL",e[e.SHOW_MD=1]="SHOW_MD",e[e.SHOW_HTML=2]="SHOW_HTML"}(Ap||(Ap={}));var xp=function(e){function t(t){var n;return(n=e.call(this,t)||this).handleClick=n.handleClick.bind(uf(n)),n.handleChange=n.handleChange.bind(uf(n)),n.state={view:n.editor.getView()},n}df(t,e);var n=t.prototype;return n.handleClick=function(){switch(this.next){case Ap.SHOW_ALL:this.editor.setView({html:!0,md:!0});break;case Ap.SHOW_HTML:this.editor.setView({html:!0,md:!1});break;case Ap.SHOW_MD:this.editor.setView({html:!1,md:!0})}},n.handleChange=function(e){this.setState({view:e})},n.componentDidMount=function(){this.editor.on("viewchange",this.handleChange)},n.componentWillUnmount=function(){this.editor.off("viewchange",this.handleChange)},n.getDisplayInfo=function(){switch(this.next){case Ap.SHOW_ALL:return{icon:"view-split",title:"All"};case Ap.SHOW_HTML:return{icon:"visibility",title:"Preview"};default:return{icon:"keyboard",title:"Editor"}}},n.render=function(){if(this.isDisplay){var e=this.getDisplayInfo();return u.createElement("span",{className:"button button-type-mode",title:Tf.get("btnMode"+e.title),onClick:this.handleClick},u.createElement(yf,{type:e.icon}))}return null},Of(t,[{key:"isDisplay",get:function(){var e=this.editorConfig.canView;return!!e&&[e.html,e.md,e.both].filter((function(e){return e})).length>=2}},{key:"next",get:function(){var e=this.editorConfig.canView,t=this.state.view,n=[Ap.SHOW_ALL,Ap.SHOW_MD,Ap.SHOW_HTML];e&&(e.both||n.splice(n.indexOf(Ap.SHOW_ALL),1),e.md||n.splice(n.indexOf(Ap.SHOW_MD),1),e.html||n.splice(n.indexOf(Ap.SHOW_HTML),1));var r=Ap.SHOW_MD;if(t.html&&(r=Ap.SHOW_HTML),t.html&&t.md&&(r=Ap.SHOW_ALL),0===n.length)return r;if(1===n.length)return n[0];var o=n.indexOf(r);return o<n.length-1?n[o+1]:n[0]}}]),t}(Rf);xp.pluginName="mode-toggle",xp.align="right";const Ep=xp;var kp=function(e){function t(t){var n;(n=e.call(this,t)||this).config={padding:3,width:20,height:20};var r=t.maxRow,o=void 0===r?5:r,i=t.maxCol,a=void 0===i?6:i;return n.state={maxRow:o,maxCol:a,list:n.formatTableModel(o,a)},n}df(t,e);var n=t.prototype;return n.formatTableModel=function(e,t){return void 0===e&&(e=0),void 0===t&&(t=0),new Array(e).fill(void 0).map((function(e){return new Array(t).fill(0)}))},n.calcWrapStyle=function(){var e=this.state,t=e.maxRow,n=e.maxCol,r=this.config,o=r.width,i=r.height,a=r.padding;return{width:(o+a)*n-a+"px",height:(i+a)*t-a+"px"}},n.calcItemStyle=function(e,t){void 0===e&&(e=0),void 0===t&&(t=0);var n=this.config,r=n.width,o=n.height,i=n.padding;return{top:(o+i)*e+"px",left:(r+i)*t+"px"}},n.getList=function(e,t){return this.state.list.map((function(n,r){return n.map((function(n,o){return r<=e&&o<=t?1:0}))}))},n.handleHover=function(e,t){this.setState({list:this.getList(e,t)})},n.handleSetTable=function(e,t){var n=this.props.onSetTable;"function"==typeof n&&n({row:e+1,col:t+1})},n.componentDidUpdate=function(e){!1===this.props.visibility&&e.visibility!==this.props.visibility&&this.setState({list:this.getList(-1,-1)})},n.render=function(){var e=this;return u.createElement("ul",{className:"table-list wrap",style:this.calcWrapStyle()},this.state.list.map((function(t,n){return t.map((function(t,r){return u.createElement("li",{className:"list-item "+(1===t?"active":""),key:n+"-"+r,style:e.calcItemStyle(n,r),onMouseOver:e.handleHover.bind(e,n,r),onClick:e.handleSetTable.bind(e,n,r)})}))})))},t}(u.Component);const Sp=kp;var _p=function(e){function t(t){var n;return(n=e.call(this,t)||this).show=n.show.bind(uf(n)),n.hide=n.hide.bind(uf(n)),n.state={show:!1},n}df(t,e);var n=t.prototype;return n.show=function(){this.setState({show:!0})},n.hide=function(){this.setState({show:!1})},n.render=function(){var e=this,t=this.editorConfig.table||this.props.config;return u.createElement("span",{className:"button button-type-table",title:Tf.get("btnTable"),onMouseEnter:this.show,onMouseLeave:this.hide},u.createElement(yf,{type:"grid"}),u.createElement(dp,{show:this.state.show,onClose:this.hide},u.createElement(Sp,{visibility:this.state.show,maxRow:t.maxRow,maxCol:t.maxCol,onSetTable:function(t){return e.editor.insertMarkdown("table",t)}})))},t}(Rf);_p.pluginName="table",_p.defaultConfig={maxRow:6,maxCol:6};var Cp=o(6683),Tp=o.n(Cp);const Dp=function(e){function t(){return e.apply(this,arguments)||this}df(t,e);var n=t.prototype;return n.handleSelectMapValue=function(e){var t=this.props.onSelectMapValue;"function"==typeof t&&t(e)},n.render=function(){var e=this,t=this.props.value;return u.createElement("ul",{className:"tab-map-list"},[1,2,4,8].map((function(n){return u.createElement("li",{key:n,className:Tp()("list-item",{active:t===n})},u.createElement("div",{onClick:e.handleSelectMapValue.bind(e,n)},1===n?Tf.get("tab"):n+" "+Tf.get("spaces")))})))},t}(u.Component);var Lp=function(e){function t(t){var n;return(n=e.call(this,t)||this).show=n.show.bind(uf(n)),n.hide=n.hide.bind(uf(n)),n.handleChangeMapValue=n.handleChangeMapValue.bind(uf(n)),n.state={tabMapValue:n.getConfig("tabMapValue"),show:!1},n.handleKeyboard={key:"Tab",keyCode:9,aliasCommand:!0,withKey:[],callback:function(){return n.editor.insertMarkdown("tab",{tabMapValue:n.state.tabMapValue})}},n}df(t,e);var n=t.prototype;return n.show=function(){this.setState({show:!0})},n.hide=function(){this.setState({show:!1})},n.handleChangeMapValue=function(e){this.setState({tabMapValue:e})},n.componentDidMount=function(){this.editorConfig.shortcuts&&this.editor.onKeyboard(this.handleKeyboard)},n.componentWillUnmount=function(){this.editor.offKeyboard(this.handleKeyboard)},n.render=function(){return u.createElement("span",{className:"button button-type-header",title:Tf.get("selectTabMap"),onClick:this.show,onMouseLeave:this.hide},u.createElement(yf,{type:"tab"}),u.createElement(dp,{show:this.state.show,onClose:this.hide},u.createElement(Dp,{value:this.state.tabMapValue,onSelectMapValue:this.handleChangeMapValue})))},t}(Rf);Lp.pluginName="tab-insert",Lp.defaultConfig={tabMapValue:1},Xf.use(pp),Xf.use(ap),Xf.use(lp),Xf.use(up),Xf.use(sp),Xf.use(bp),Xf.use(vp),Xf.use(rp),Xf.use(op),Xf.use(np),Xf.use(tp),Xf.use(_p),Xf.use(gp),Xf.use(mp),Xf.use(ip),Xf.use(wp),Xf.use(Ep),Xf.use(cp);var Op={Header:pp,FontBold:ap,FontItalic:lp,FontUnderline:up,FontStrikethrough:sp,ListUnordered:bp,ListOrdered:vp,BlockQuote:rp,BlockWrap:op,BlockCodeInline:np,BlockCodeBlock:tp,Table:_p,Image:gp,Link:mp,Clear:ip,Logger:wp,ModeToggle:Ep,FullScreen:cp,AutoResize:ep,TabInsert:Lp};const Rp=Xf;var Pp=o(7993);function Mp(e){return e&&"object"==typeof e?"position"in e||"type"in e?Bp(e.position):"start"in e||"end"in e?Bp(e):"line"in e||"column"in e?Np(e):"":""}function Np(e){return Ip(e&&e.line)+":"+Ip(e&&e.column)}function Bp(e){return Np(e&&e.start)+"-"+Np(e&&e.end)}function Ip(e){return e&&"number"==typeof e?e:1}class jp extends Error{constructor(e,t,n){const r=[null,null];let o={start:{line:null,column:null},end:{line:null,column:null}};if(super(),"string"==typeof t&&(n=t,t=void 0),"string"==typeof n){const e=n.indexOf(":");-1===e?r[1]=n:(r[0]=n.slice(0,e),r[1]=n.slice(e+1))}t&&("type"in t||"position"in t?t.position&&(o=t.position):"start"in t||"end"in t?o=t:("line"in t||"column"in t)&&(o.start=t)),this.name=Mp(t)||"1:1",this.message="object"==typeof e?e.message:e,this.stack="","object"==typeof e&&e.stack&&(this.stack=e.stack),this.reason=this.message,this.fatal,this.line=o.start.line,this.column=o.start.column,this.position=o,this.source=r[0],this.ruleId=r[1],this.file,this.actual,this.expected,this.url,this.note}}jp.prototype.file="",jp.prototype.name="",jp.prototype.reason="",jp.prototype.message="",jp.prototype.stack="",jp.prototype.fatal=null,jp.prototype.column=null,jp.prototype.line=null,jp.prototype.source=null,jp.prototype.ruleId=null,jp.prototype.position=null;const Fp=function(e,t){if(void 0!==t&&"string"!=typeof t)throw new TypeError('"ext" argument must be a string');Wp(e);let n,r=0,o=-1,i=e.length;if(void 0===t||0===t.length||t.length>e.length){for(;i--;)if(47===e.charCodeAt(i)){if(n){r=i+1;break}}else o<0&&(n=!0,o=i+1);return o<0?"":e.slice(r,o)}if(t===e)return"";let a=-1,l=t.length-1;for(;i--;)if(47===e.charCodeAt(i)){if(n){r=i+1;break}}else a<0&&(n=!0,a=i+1),l>-1&&(e.charCodeAt(i)===t.charCodeAt(l--)?l<0&&(o=i):(l=-1,o=a));return r===o?o=a:o<0&&(o=e.length),e.slice(r,o)},zp=function(e){if(Wp(e),0===e.length)return".";let t,n=-1,r=e.length;for(;--r;)if(47===e.charCodeAt(r)){if(t){n=r;break}}else t||(t=!0);return n<0?47===e.charCodeAt(0)?"/":".":1===n&&47===e.charCodeAt(0)?"//":e.slice(0,n)},Hp=function(e){Wp(e);let t,n=e.length,r=-1,o=0,i=-1,a=0;for(;n--;){const l=e.charCodeAt(n);if(47!==l)r<0&&(t=!0,r=n+1),46===l?i<0?i=n:1!==a&&(a=1):i>-1&&(a=-1);else if(t){o=n+1;break}}return i<0||r<0||0===a||1===a&&i===r-1&&i===o+1?"":e.slice(i,r)},qp=function(...e){let t,n=-1;for(;++n<e.length;)Wp(e[n]),e[n]&&(t=void 0===t?e[n]:t+"/"+e[n]);return void 0===t?".":function(e){Wp(e);const t=47===e.charCodeAt(0);let n=function(e,t){let n,r,o="",i=0,a=-1,l=0,s=-1;for(;++s<=e.length;){if(s<e.length)n=e.charCodeAt(s);else{if(47===n)break;n=47}if(47===n){if(a===s-1||1===l);else if(a!==s-1&&2===l){if(o.length<2||2!==i||46!==o.charCodeAt(o.length-1)||46!==o.charCodeAt(o.length-2))if(o.length>2){if(r=o.lastIndexOf("/"),r!==o.length-1){r<0?(o="",i=0):(o=o.slice(0,r),i=o.length-1-o.lastIndexOf("/")),a=s,l=0;continue}}else if(o.length>0){o="",i=0,a=s,l=0;continue}t&&(o=o.length>0?o+"/..":"..",i=2)}else o.length>0?o+="/"+e.slice(a+1,s):o=e.slice(a+1,s),i=s-a-1;a=s,l=0}else 46===n&&l>-1?l++:l=-1}return o}(e,!t);return 0!==n.length||t||(n="."),n.length>0&&47===e.charCodeAt(e.length-1)&&(n+="/"),t?"/"+n:n}(t)},Up="/";function Wp(e){if("string"!=typeof e)throw new TypeError("Path must be a string. Received "+JSON.stringify(e))}const Vp=function(){return"/"};function Qp(e){return null!==e&&"object"==typeof e&&e.href&&e.origin}const Gp=["history","path","basename","stem","extname","dirname"];class $p{constructor(e){let t;t=e?"string"==typeof e||function(e){return Pp(e)}(e)?{value:e}:Qp(e)?{path:e}:e:{},this.data={},this.messages=[],this.history=[],this.cwd=Vp(),this.value,this.stored,this.result,this.map;let n,r=-1;for(;++r<Gp.length;){const e=Gp[r];e in t&&void 0!==t[e]&&null!==t[e]&&(this[e]="history"===e?[...t[e]]:t[e])}for(n in t)Gp.includes(n)||(this[n]=t[n])}get path(){return this.history[this.history.length-1]}set path(e){Qp(e)&&(e=function(e){if("string"==typeof e)e=new URL(e);else if(!Qp(e)){const t=new TypeError('The "path" argument must be of type string or an instance of URL. Received `'+e+"`");throw t.code="ERR_INVALID_ARG_TYPE",t}if("file:"!==e.protocol){const e=new TypeError("The URL must be of scheme file");throw e.code="ERR_INVALID_URL_SCHEME",e}return function(e){if(""!==e.hostname){const e=new TypeError('File URL host must be "localhost" or empty on darwin');throw e.code="ERR_INVALID_FILE_URL_HOST",e}const t=e.pathname;let n=-1;for(;++n<t.length;)if(37===t.charCodeAt(n)&&50===t.charCodeAt(n+1)){const e=t.charCodeAt(n+2);if(70===e||102===e){const e=new TypeError("File URL path must not include encoded / characters");throw e.code="ERR_INVALID_FILE_URL_PATH",e}}return decodeURIComponent(t)}(e)}(e)),Zp(e,"path"),this.path!==e&&this.history.push(e)}get dirname(){return"string"==typeof this.path?zp(this.path):void 0}set dirname(e){Kp(this.basename,"dirname"),this.path=qp(e||"",this.basename)}get basename(){return"string"==typeof this.path?Fp(this.path):void 0}set basename(e){Zp(e,"basename"),Yp(e,"basename"),this.path=qp(this.dirname||"",e)}get extname(){return"string"==typeof this.path?Hp(this.path):void 0}set extname(e){if(Yp(e,"extname"),Kp(this.dirname,"extname"),e){if(46!==e.charCodeAt(0))throw new Error("`extname` must start with `.`");if(e.includes(".",1))throw new Error("`extname` cannot contain multiple dots")}this.path=qp(this.dirname,this.stem+(e||""))}get stem(){return"string"==typeof this.path?Fp(this.path,this.extname):void 0}set stem(e){Zp(e,"stem"),Yp(e,"stem"),this.path=qp(this.dirname||"",e+(this.extname||""))}toString(e){return(this.value||"").toString(e||void 0)}message(e,t,n){const r=new jp(e,t,n);return this.path&&(r.name=this.path+":"+r.name,r.file=this.path),r.fatal=!1,this.messages.push(r),r}info(e,t,n){const r=this.message(e,t,n);return r.fatal=null,r}fail(e,t,n){const r=this.message(e,t,n);throw r.fatal=!0,r}}function Yp(e,t){if(e&&e.includes(Up))throw new Error("`"+t+"` cannot be a path: did not expect `"+Up+"`")}function Zp(e,t){if(!e)throw new Error("`"+t+"` cannot be empty")}function Kp(e,t){if(!e)throw new Error("Setting `"+t+"` requires `path` to be set too")}function Jp(e){if(e)throw e}var Xp=o(9520),eh=o(9385);function th(e){if("object"!=typeof e||null===e)return!1;const t=Object.getPrototypeOf(e);return!(null!==t&&t!==Object.prototype&&null!==Object.getPrototypeOf(t)||Symbol.toStringTag in e||Symbol.iterator in e)}class nh extends Error{constructor(e,t,n){const r=[null,null];let o={start:{line:null,column:null},end:{line:null,column:null}};if(super(),"string"==typeof t&&(n=t,t=void 0),"string"==typeof n){const e=n.indexOf(":");-1===e?r[1]=n:(r[0]=n.slice(0,e),r[1]=n.slice(e+1))}t&&("type"in t||"position"in t?t.position&&(o=t.position):"start"in t||"end"in t?o=t:("line"in t||"column"in t)&&(o.start=t)),this.name=Mp(t)||"1:1",this.message="object"==typeof e?e.message:e,this.stack="","object"==typeof e&&e.stack&&(this.stack=e.stack),this.reason=this.message,this.fatal,this.line=o.start.line,this.column=o.start.column,this.position=o,this.source=r[0],this.ruleId=r[1],this.file,this.actual,this.expected,this.url,this.note}}nh.prototype.file="",nh.prototype.name="",nh.prototype.reason="",nh.prototype.message="",nh.prototype.stack="",nh.prototype.fatal=null,nh.prototype.column=null,nh.prototype.line=null,nh.prototype.source=null,nh.prototype.ruleId=null,nh.prototype.position=null;const rh=function(e,t){if(void 0!==t&&"string"!=typeof t)throw new TypeError('"ext" argument must be a string');sh(e);let n,r=0,o=-1,i=e.length;if(void 0===t||0===t.length||t.length>e.length){for(;i--;)if(47===e.charCodeAt(i)){if(n){r=i+1;break}}else o<0&&(n=!0,o=i+1);return o<0?"":e.slice(r,o)}if(t===e)return"";let a=-1,l=t.length-1;for(;i--;)if(47===e.charCodeAt(i)){if(n){r=i+1;break}}else a<0&&(n=!0,a=i+1),l>-1&&(e.charCodeAt(i)===t.charCodeAt(l--)?l<0&&(o=i):(l=-1,o=a));return r===o?o=a:o<0&&(o=e.length),e.slice(r,o)},oh=function(e){if(sh(e),0===e.length)return".";let t,n=-1,r=e.length;for(;--r;)if(47===e.charCodeAt(r)){if(t){n=r;break}}else t||(t=!0);return n<0?47===e.charCodeAt(0)?"/":".":1===n&&47===e.charCodeAt(0)?"//":e.slice(0,n)},ih=function(e){sh(e);let t,n=e.length,r=-1,o=0,i=-1,a=0;for(;n--;){const l=e.charCodeAt(n);if(47!==l)r<0&&(t=!0,r=n+1),46===l?i<0?i=n:1!==a&&(a=1):i>-1&&(a=-1);else if(t){o=n+1;break}}return i<0||r<0||0===a||1===a&&i===r-1&&i===o+1?"":e.slice(i,r)},ah=function(...e){let t,n=-1;for(;++n<e.length;)sh(e[n]),e[n]&&(t=void 0===t?e[n]:t+"/"+e[n]);return void 0===t?".":function(e){sh(e);const t=47===e.charCodeAt(0);let n=function(e,t){let n,r,o="",i=0,a=-1,l=0,s=-1;for(;++s<=e.length;){if(s<e.length)n=e.charCodeAt(s);else{if(47===n)break;n=47}if(47===n){if(a===s-1||1===l);else if(a!==s-1&&2===l){if(o.length<2||2!==i||46!==o.charCodeAt(o.length-1)||46!==o.charCodeAt(o.length-2))if(o.length>2){if(r=o.lastIndexOf("/"),r!==o.length-1){r<0?(o="",i=0):(o=o.slice(0,r),i=o.length-1-o.lastIndexOf("/")),a=s,l=0;continue}}else if(o.length>0){o="",i=0,a=s,l=0;continue}t&&(o=o.length>0?o+"/..":"..",i=2)}else o.length>0?o+="/"+e.slice(a+1,s):o=e.slice(a+1,s),i=s-a-1;a=s,l=0}else 46===n&&l>-1?l++:l=-1}return o}(e,!t);return 0!==n.length||t||(n="."),n.length>0&&47===e.charCodeAt(e.length-1)&&(n+="/"),t?"/"+n:n}(t)},lh="/";function sh(e){if("string"!=typeof e)throw new TypeError("Path must be a string. Received "+JSON.stringify(e))}const uh=function(){return"/"};function ch(e){return null!==e&&"object"==typeof e&&e.href&&e.origin}const dh=["history","path","basename","stem","extname","dirname"];class fh{constructor(e){let t;t=e?"string"==typeof e||function(e){return Xp(e)}(e)?{value:e}:ch(e)?{path:e}:e:{},this.data={},this.messages=[],this.history=[],this.cwd=uh(),this.value,this.stored,this.result,this.map;let n,r=-1;for(;++r<dh.length;){const e=dh[r];e in t&&void 0!==t[e]&&null!==t[e]&&(this[e]="history"===e?[...t[e]]:t[e])}for(n in t)dh.includes(n)||(this[n]=t[n])}get path(){return this.history[this.history.length-1]}set path(e){ch(e)&&(e=function(e){if("string"==typeof e)e=new URL(e);else if(!ch(e)){const t=new TypeError('The "path" argument must be of type string or an instance of URL. Received `'+e+"`");throw t.code="ERR_INVALID_ARG_TYPE",t}if("file:"!==e.protocol){const e=new TypeError("The URL must be of scheme file");throw e.code="ERR_INVALID_URL_SCHEME",e}return function(e){if(""!==e.hostname){const e=new TypeError('File URL host must be "localhost" or empty on darwin');throw e.code="ERR_INVALID_FILE_URL_HOST",e}const t=e.pathname;let n=-1;for(;++n<t.length;)if(37===t.charCodeAt(n)&&50===t.charCodeAt(n+1)){const e=t.charCodeAt(n+2);if(70===e||102===e){const e=new TypeError("File URL path must not include encoded / characters");throw e.code="ERR_INVALID_FILE_URL_PATH",e}}return decodeURIComponent(t)}(e)}(e)),hh(e,"path"),this.path!==e&&this.history.push(e)}get dirname(){return"string"==typeof this.path?oh(this.path):void 0}set dirname(e){gh(this.basename,"dirname"),this.path=ah(e||"",this.basename)}get basename(){return"string"==typeof this.path?rh(this.path):void 0}set basename(e){hh(e,"basename"),ph(e,"basename"),this.path=ah(this.dirname||"",e)}get extname(){return"string"==typeof this.path?ih(this.path):void 0}set extname(e){if(ph(e,"extname"),gh(this.dirname,"extname"),e){if(46!==e.charCodeAt(0))throw new Error("`extname` must start with `.`");if(e.includes(".",1))throw new Error("`extname` cannot contain multiple dots")}this.path=ah(this.dirname,this.stem+(e||""))}get stem(){return"string"==typeof this.path?rh(this.path,this.extname):void 0}set stem(e){hh(e,"stem"),ph(e,"stem"),this.path=ah(this.dirname||"",e+(this.extname||""))}toString(e){return(this.value||"").toString(e||void 0)}message(e,t,n){const r=new nh(e,t,n);return this.path&&(r.name=this.path+":"+r.name,r.file=this.path),r.fatal=!1,this.messages.push(r),r}info(e,t,n){const r=this.message(e,t,n);return r.fatal=null,r}fail(e,t,n){const r=this.message(e,t,n);throw r.fatal=!0,r}}function ph(e,t){if(e&&e.includes(lh))throw new Error("`"+t+"` cannot be a path: did not expect `"+lh+"`")}function hh(e,t){if(!e)throw new Error("`"+t+"` cannot be empty")}function gh(e,t){if(!e)throw new Error("Setting `"+t+"` requires `path` to be set too")}const mh=function e(){const t=function(){const e=[],t={run:function(...t){let n=-1;const r=t.pop();if("function"!=typeof r)throw new TypeError("Expected function as last argument, not "+r);!function o(i,...a){const l=e[++n];let s=-1;if(i)r(i);else{for(;++s<t.length;)null!==a[s]&&void 0!==a[s]||(a[s]=t[s]);t=a,l?function(e,t){let n;return function(...t){const i=e.length>t.length;let a;i&&t.push(r);try{a=e.apply(this,t)}catch(e){const t=e;if(i&&n)throw t;return r(t)}i||(a instanceof Promise?a.then(o,r):a instanceof Error?r(a):o(a))};function r(e,...r){n||(n=!0,t(e,...r))}function o(e){r(null,e)}}(l,o)(...a):r(null,...a)}}(null,...t)},use:function(n){if("function"!=typeof n)throw new TypeError("Expected `middelware` to be a function, not "+n);return e.push(n),t}};return t}(),n=[];let r,o={},i=-1;return a.data=function(e,t){return"string"==typeof e?2===arguments.length?(wh("data",r),o[e]=t,a):vh.call(o,e)&&o[e]||null:e?(wh("data",r),o=e,a):o},a.Parser=void 0,a.Compiler=void 0,a.freeze=function(){if(r)return a;for(;++i<n.length;){const[e,...r]=n[i];if(!1===r[0])continue;!0===r[0]&&(r[0]=void 0);const o=e.call(a,...r);"function"==typeof o&&t.use(o)}return r=!0,i=Number.POSITIVE_INFINITY,a},a.attachers=n,a.use=function(e,...t){let i;if(wh("use",r),null==e);else if("function"==typeof e)c(e,...t);else{if("object"!=typeof e)throw new TypeError("Expected usable value, not `"+e+"`");Array.isArray(e)?u(e):s(e)}return i&&(o.settings=Object.assign(o.settings||{},i)),a;function l(e){if("function"==typeof e)c(e);else{if("object"!=typeof e)throw new TypeError("Expected usable value, not `"+e+"`");if(Array.isArray(e)){const[t,...n]=e;c(t,...n)}else s(e)}}function s(e){u(e.plugins),e.settings&&(i=Object.assign(i||{},e.settings))}function u(e){let t=-1;if(null==e);else{if(!Array.isArray(e))throw new TypeError("Expected a list of plugins, not `"+e+"`");for(;++t<e.length;)l(e[t])}}function c(e,t){let r,o=-1;for(;++o<n.length;)if(n[o][0]===e){r=n[o];break}r?(th(r[1])&&th(t)&&(t=eh(!0,r[1],t)),r[1]=t):n.push([...arguments])}},a.parse=function(e){a.freeze();const t=kh(e),n=a.Parser;return yh("parse",n),bh(n,"parse")?new n(String(t),t).parse():n(String(t),t)},a.stringify=function(e,t){a.freeze();const n=kh(t),r=a.Compiler;return Ah("stringify",r),xh(e),bh(r,"compile")?new r(e,n).compile():r(e,n)},a.run=function(e,n,r){if(xh(e),a.freeze(),r||"function"!=typeof n||(r=n,n=void 0),!r)return new Promise(o);function o(o,i){t.run(e,kh(n),(function(t,n,a){n=n||e,t?i(t):o?o(n):r(null,n,a)}))}o(null,r)},a.runSync=function(e,t){let n,r;return a.run(e,t,(function(e,t){Jp(e),n=t,r=!0})),Eh("runSync","run",r),n},a.process=function(e,t){if(a.freeze(),yh("process",a.Parser),Ah("process",a.Compiler),!t)return new Promise(n);function n(n,r){const o=kh(e);function i(e,o){e||!o?r(e):n?n(o):t(null,o)}a.run(a.parse(o),o,((e,t,n)=>{if(!e&&t&&n){const o=a.stringify(t,n);null==o||("string"==typeof(r=o)||Xp(r)?n.value=o:n.result=o),i(e,n)}else i(e);var r}))}n(null,t)},a.processSync=function(e){let t;a.freeze(),yh("processSync",a.Parser),Ah("processSync",a.Compiler);const n=kh(e);return a.process(n,(function(e){t=!0,Jp(e)})),Eh("processSync","process",t),n},a;function a(){const t=e();let r=-1;for(;++r<n.length;)t.use(...n[r]);return t.data(eh(!0,{},o)),t}}().freeze(),vh={}.hasOwnProperty;function bh(e,t){return"function"==typeof e&&e.prototype&&(function(e){let t;for(t in e)if(vh.call(e,t))return!0;return!1}(e.prototype)||t in e.prototype)}function yh(e,t){if("function"!=typeof t)throw new TypeError("Cannot `"+e+"` without `Parser`")}function Ah(e,t){if("function"!=typeof t)throw new TypeError("Cannot `"+e+"` without `Compiler`")}function wh(e,t){if(t)throw new Error("Cannot call `"+e+"` on a frozen processor.\nCreate a new processor first, by calling it: use `processor()` instead of `processor`.")}function xh(e){if(!th(e)||"string"!=typeof e.type)throw new TypeError("Expected node, got `"+e+"`")}function Eh(e,t,n){if(!n)throw new Error("`"+e+"` finished async. Use `"+t+"` instead")}function kh(e){return function(e){return Boolean(e&&"object"==typeof e&&"message"in e&&"messages"in e)}(e)?e:new fh(e)}function Sh(e,t){return function(e){return Boolean(e&&"object"==typeof e)}(e)&&("value"in e&&e.value||t&&"alt"in e&&e.alt||"children"in e&&_h(e.children,t))||Array.isArray(e)&&_h(e,t)||""}function _h(e,t){const n=[];let r=-1;for(;++r<e.length;)n[r]=Sh(e[r],t);return n.join("")}function Ch(e,t,n,r){const o=e.length;let i,a=0;if(t=t<0?-t>o?0:o+t:t>o?o:t,n=n>0?n:0,r.length<1e4)i=Array.from(r),i.unshift(t,n),[].splice.apply(e,i);else for(n&&[].splice.apply(e,[t,n]);a<r.length;)i=r.slice(a,a+1e4),i.unshift(t,0),[].splice.apply(e,i),a+=1e4,t+=1e4}function Th(e,t){return e.length>0?(Ch(e,e.length,0,t),e):t}const Dh={}.hasOwnProperty;function Lh(e){const t={};let n=-1;for(;++n<e.length;)Oh(t,e[n]);return t}function Oh(e,t){let n;for(n in t){const r=(Dh.call(e,n)?e[n]:void 0)||(e[n]={}),o=t[n];let i;for(i in o){Dh.call(r,i)||(r[i]=[]);const e=o[i];Rh(r[i],Array.isArray(e)?e:e?[e]:[])}}}function Rh(e,t){let n=-1;const r=[];for(;++n<t.length;)("after"===t[n].add?e:r).push(t[n]);Ch(e,0,0,r)}const Ph=Vh(/[A-Za-z]/),Mh=Vh(/\d/),Nh=Vh(/[\dA-Fa-f]/),Bh=Vh(/[\dA-Za-z]/),Ih=Vh(/[!-/:-@[-`{-~]/),jh=Vh(/[#-'*+\--9=?A-Z^-~]/);function Fh(e){return null!==e&&(e<32||127===e)}function zh(e){return null!==e&&(e<0||32===e)}function Hh(e){return null!==e&&e<-2}function qh(e){return-2===e||-1===e||32===e}const Uh=Vh(/\s/),Wh=Vh(/[!-/:-@[-`{-~\u00A1\u00A7\u00AB\u00B6\u00B7\u00BB\u00BF\u037E\u0387\u055A-\u055F\u0589\u058A\u05BE\u05C0\u05C3\u05C6\u05F3\u05F4\u0609\u060A\u060C\u060D\u061B\u061E\u061F\u066A-\u066D\u06D4\u0700-\u070D\u07F7-\u07F9\u0830-\u083E\u085E\u0964\u0965\u0970\u09FD\u0A76\u0AF0\u0C77\u0C84\u0DF4\u0E4F\u0E5A\u0E5B\u0F04-\u0F12\u0F14\u0F3A-\u0F3D\u0F85\u0FD0-\u0FD4\u0FD9\u0FDA\u104A-\u104F\u10FB\u1360-\u1368\u1400\u166E\u169B\u169C\u16EB-\u16ED\u1735\u1736\u17D4-\u17D6\u17D8-\u17DA\u1800-\u180A\u1944\u1945\u1A1E\u1A1F\u1AA0-\u1AA6\u1AA8-\u1AAD\u1B5A-\u1B60\u1BFC-\u1BFF\u1C3B-\u1C3F\u1C7E\u1C7F\u1CC0-\u1CC7\u1CD3\u2010-\u2027\u2030-\u2043\u2045-\u2051\u2053-\u205E\u207D\u207E\u208D\u208E\u2308-\u230B\u2329\u232A\u2768-\u2775\u27C5\u27C6\u27E6-\u27EF\u2983-\u2998\u29D8-\u29DB\u29FC\u29FD\u2CF9-\u2CFC\u2CFE\u2CFF\u2D70\u2E00-\u2E2E\u2E30-\u2E4F\u2E52\u3001-\u3003\u3008-\u3011\u3014-\u301F\u3030\u303D\u30A0\u30FB\uA4FE\uA4FF\uA60D-\uA60F\uA673\uA67E\uA6F2-\uA6F7\uA874-\uA877\uA8CE\uA8CF\uA8F8-\uA8FA\uA8FC\uA92E\uA92F\uA95F\uA9C1-\uA9CD\uA9DE\uA9DF\uAA5C-\uAA5F\uAADE\uAADF\uAAF0\uAAF1\uABEB\uFD3E\uFD3F\uFE10-\uFE19\uFE30-\uFE52\uFE54-\uFE61\uFE63\uFE68\uFE6A\uFE6B\uFF01-\uFF03\uFF05-\uFF0A\uFF0C-\uFF0F\uFF1A\uFF1B\uFF1F\uFF20\uFF3B-\uFF3D\uFF3F\uFF5B\uFF5D\uFF5F-\uFF65]/);function Vh(e){return function(t){return null!==t&&e.test(String.fromCharCode(t))}}function Qh(e,t,n,r){const o=r?r-1:Number.POSITIVE_INFINITY;let i=0;return function(r){return qh(r)?(e.enter(n),a(r)):t(r)};function a(r){return qh(r)&&i++<o?(e.consume(r),a):(e.exit(n),t(r))}}const Gh={tokenize:function(e){const t=e.attempt(this.parser.constructs.contentInitial,(function(n){if(null!==n)return e.enter("lineEnding"),e.consume(n),e.exit("lineEnding"),Qh(e,t,"linePrefix");e.consume(n)}),(function(t){return e.enter("paragraph"),r(t)}));let n;return t;function r(t){const r=e.enter("chunkText",{contentType:"text",previous:n});return n&&(n.next=r),n=r,o(t)}function o(t){return null===t?(e.exit("chunkText"),e.exit("paragraph"),void e.consume(t)):Hh(t)?(e.consume(t),e.exit("chunkText"),r):(e.consume(t),o)}}},$h={tokenize:function(e){const t=this,n=[];let r,o,i,a=0;return l;function l(r){if(a<n.length){const o=n[a];return t.containerState=o[1],e.attempt(o[0].continuation,s,u)(r)}return u(r)}function s(e){if(a++,t.containerState._closeFlow){t.containerState._closeFlow=void 0,r&&b();const n=t.events.length;let o,i=n;for(;i--;)if("exit"===t.events[i][0]&&"chunkFlow"===t.events[i][1].type){o=t.events[i][1].end;break}v(a);let l=n;for(;l<t.events.length;)t.events[l][1].end=Object.assign({},o),l++;return Ch(t.events,i+1,0,t.events.slice(n)),t.events.length=l,u(e)}return l(e)}function u(o){if(a===n.length){if(!r)return f(o);if(r.currentConstruct&&r.currentConstruct.concrete)return h(o);t.interrupt=Boolean(r.currentConstruct&&!r._gfmTableDynamicInterruptHack)}return t.containerState={},e.check(Yh,c,d)(o)}function c(e){return r&&b(),v(a),f(e)}function d(e){return t.parser.lazy[t.now().line]=a!==n.length,i=t.now().offset,h(e)}function f(n){return t.containerState={},e.attempt(Yh,p,h)(n)}function p(e){return a++,n.push([t.currentConstruct,t.containerState]),f(e)}function h(n){return null===n?(r&&b(),v(0),void e.consume(n)):(r=r||t.parser.flow(t.now()),e.enter("chunkFlow",{contentType:"flow",previous:o,_tokenizer:r}),g(n))}function g(n){return null===n?(m(e.exit("chunkFlow"),!0),v(0),void e.consume(n)):Hh(n)?(e.consume(n),m(e.exit("chunkFlow")),a=0,t.interrupt=void 0,l):(e.consume(n),g)}function m(e,n){const l=t.sliceStream(e);if(n&&l.push(null),e.previous=o,o&&(o.next=e),o=e,r.defineSkip(e.start),r.write(l),t.parser.lazy[e.start.line]){let e=r.events.length;for(;e--;)if(r.events[e][1].start.offset<i&&(!r.events[e][1].end||r.events[e][1].end.offset>i))return;const n=t.events.length;let o,l,s=n;for(;s--;)if("exit"===t.events[s][0]&&"chunkFlow"===t.events[s][1].type){if(o){l=t.events[s][1].end;break}o=!0}for(v(a),e=n;e<t.events.length;)t.events[e][1].end=Object.assign({},l),e++;Ch(t.events,s+1,0,t.events.slice(n)),t.events.length=e}}function v(r){let o=n.length;for(;o-- >r;){const r=n[o];t.containerState=r[1],r[0].exit.call(t,e)}n.length=r}function b(){r.write([null]),o=void 0,r=void 0,t.containerState._closeFlow=void 0}}},Yh={tokenize:function(e,t,n){return Qh(e,e.attempt(this.parser.constructs.document,t,n),"linePrefix",this.parser.constructs.disable.null.includes("codeIndented")?void 0:4)}},Zh={tokenize:function(e,t,n){return Qh(e,(function(e){return null===e||Hh(e)?t(e):n(e)}),"linePrefix")},partial:!0};function Kh(e){const t={};let n,r,o,i,a,l,s,u=-1;for(;++u<e.length;){for(;u in t;)u=t[u];if(n=e[u],u&&"chunkFlow"===n[1].type&&"listItemPrefix"===e[u-1][1].type&&(l=n[1]._tokenizer.events,o=0,o<l.length&&"lineEndingBlank"===l[o][1].type&&(o+=2),o<l.length&&"content"===l[o][1].type))for(;++o<l.length&&"content"!==l[o][1].type;)"chunkText"===l[o][1].type&&(l[o][1]._isInFirstContentOfListItem=!0,o++);if("enter"===n[0])n[1].contentType&&(Object.assign(t,Jh(e,u)),u=t[u],s=!0);else if(n[1]._container){for(o=u,r=void 0;o--&&(i=e[o],"lineEnding"===i[1].type||"lineEndingBlank"===i[1].type);)"enter"===i[0]&&(r&&(e[r][1].type="lineEndingBlank"),i[1].type="lineEnding",r=o);r&&(n[1].end=Object.assign({},e[r][1].start),a=e.slice(r,u),a.unshift(n),Ch(e,r,u-r+1,a))}}return!s}function Jh(e,t){const n=e[t][1],r=e[t][2];let o=t-1;const i=[],a=n._tokenizer||r.parser[n.contentType](n.start),l=a.events,s=[],u={};let c,d,f=-1,p=n,h=0,g=0;const m=[g];for(;p;){for(;e[++o][1]!==p;);i.push(o),p._tokenizer||(c=r.sliceStream(p),p.next||c.push(null),d&&a.defineSkip(p.start),p._isInFirstContentOfListItem&&(a._gfmTasklistFirstContentOfListItem=!0),a.write(c),p._isInFirstContentOfListItem&&(a._gfmTasklistFirstContentOfListItem=void 0)),d=p,p=p.next}for(p=n;++f<l.length;)"exit"===l[f][0]&&"enter"===l[f-1][0]&&l[f][1].type===l[f-1][1].type&&l[f][1].start.line!==l[f][1].end.line&&(g=f+1,m.push(g),p._tokenizer=void 0,p.previous=void 0,p=p.next);for(a.events=[],p?(p._tokenizer=void 0,p.previous=void 0):m.pop(),f=m.length;f--;){const t=l.slice(m[f],m[f+1]),n=i.pop();s.unshift([n,n+t.length-1]),Ch(e,n,2,t)}for(f=-1;++f<s.length;)u[h+s[f][0]]=h+s[f][1],h+=s[f][1]-s[f][0]-1;return u}const Xh={tokenize:function(e,t){let n;return function(t){return e.enter("content"),n=e.enter("chunkContent",{contentType:"content"}),r(t)};function r(t){return null===t?o(t):Hh(t)?e.check(eg,i,o)(t):(e.consume(t),r)}function o(n){return e.exit("chunkContent"),e.exit("content"),t(n)}function i(t){return e.consume(t),e.exit("chunkContent"),n.next=e.enter("chunkContent",{contentType:"content",previous:n}),n=n.next,r}},resolve:function(e){return Kh(e),e}},eg={tokenize:function(e,t,n){const r=this;return function(t){return e.exit("chunkContent"),e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),Qh(e,o,"linePrefix")};function o(o){if(null===o||Hh(o))return n(o);const i=r.events[r.events.length-1];return!r.parser.constructs.disable.null.includes("codeIndented")&&i&&"linePrefix"===i[1].type&&i[2].sliceSerialize(i[1],!0).length>=4?t(o):e.interrupt(r.parser.constructs.flow,n,t)(o)}},partial:!0},tg={tokenize:function(e){const t=this,n=e.attempt(Zh,(function(r){if(null!==r)return e.enter("lineEndingBlank"),e.consume(r),e.exit("lineEndingBlank"),t.currentConstruct=void 0,n;e.consume(r)}),e.attempt(this.parser.constructs.flowInitial,r,Qh(e,e.attempt(this.parser.constructs.flow,r,e.attempt(Xh,r)),"linePrefix")));return n;function r(r){if(null!==r)return e.enter("lineEnding"),e.consume(r),e.exit("lineEnding"),t.currentConstruct=void 0,n;e.consume(r)}}},ng={resolveAll:ag()},rg=ig("string"),og=ig("text");function ig(e){return{tokenize:function(t){const n=this,r=this.parser.constructs[e],o=t.attempt(r,i,a);return i;function i(e){return s(e)?o(e):a(e)}function a(e){if(null!==e)return t.enter("data"),t.consume(e),l;t.consume(e)}function l(e){return s(e)?(t.exit("data"),o(e)):(t.consume(e),l)}function s(e){if(null===e)return!0;const t=r[e];let o=-1;if(t)for(;++o<t.length;){const e=t[o];if(!e.previous||e.previous.call(n,n.previous))return!0}return!1}},resolveAll:ag("text"===e?lg:void 0)}}function ag(e){return function(t,n){let r,o=-1;for(;++o<=t.length;)void 0===r?t[o]&&"data"===t[o][1].type&&(r=o,o++):t[o]&&"data"===t[o][1].type||(o!==r+2&&(t[r][1].end=t[o-1][1].end,t.splice(r+2,o-r-2),o=r+2),r=void 0);return e?e(t,n):t}}function lg(e,t){let n=0;for(;++n<=e.length;)if((n===e.length||"lineEnding"===e[n][1].type)&&"data"===e[n-1][1].type){const r=e[n-1][1],o=t.sliceStream(r);let i,a=o.length,l=-1,s=0;for(;a--;){const e=o[a];if("string"==typeof e){for(l=e.length;32===e.charCodeAt(l-1);)s++,l--;if(l)break;l=-1}else if(-2===e)i=!0,s++;else if(-1!==e){a++;break}}if(s){const o={type:n===e.length||i||s<2?"lineSuffix":"hardBreakTrailing",start:{line:r.end.line,column:r.end.column-s,offset:r.end.offset-s,_index:r.start._index+a,_bufferIndex:a?l:r.start._bufferIndex+l},end:Object.assign({},r.end)};r.end=Object.assign({},o.start),r.start.offset===r.end.offset?Object.assign(r,o):(e.splice(n,0,["enter",o,t],["exit",o,t]),n+=2)}n++}return e}function sg(e,t,n){const r=[];let o=-1;for(;++o<e.length;){const i=e[o].resolveAll;i&&!r.includes(i)&&(t=i(t,n),r.push(i))}return t}function ug(e,t,n){let r=Object.assign(n?Object.assign({},n):{line:1,column:1,offset:0},{_index:0,_bufferIndex:-1});const o={},i=[];let a=[],l=[],s=!0;const u={consume:function(e){Hh(e)?(r.line++,r.column=1,r.offset+=-3===e?2:1,y()):-1!==e&&(r.column++,r.offset++),r._bufferIndex<0?r._index++:(r._bufferIndex++,r._bufferIndex===a[r._index].length&&(r._bufferIndex=-1,r._index++)),c.previous=e,s=!0},enter:function(e,t){const n=t||{};return n.type=e,n.start=h(),c.events.push(["enter",n,c]),l.push(n),n},exit:function(e){const t=l.pop();return t.end=h(),c.events.push(["exit",t,c]),t},attempt:v((function(e,t){b(e,t.from)})),check:v(m),interrupt:v(m,{interrupt:!0})},c={previous:null,code:null,containerState:{},events:[],parser:e,sliceStream:p,sliceSerialize:function(e,t){return function(e,t){let n=-1;const r=[];let o;for(;++n<e.length;){const i=e[n];let a;if("string"==typeof i)a=i;else switch(i){case-5:a="\r";break;case-4:a="\n";break;case-3:a="\r\n";break;case-2:a=t?" ":"\t";break;case-1:if(!t&&o)continue;a=" ";break;default:a=String.fromCharCode(i)}o=-2===i,r.push(a)}return r.join("")}(p(e),t)},now:h,defineSkip:function(e){o[e.line]=e.column,y()},write:function(e){return a=Th(a,e),function(){let e;for(;r._index<a.length;){const t=a[r._index];if("string"==typeof t)for(e=r._index,r._bufferIndex<0&&(r._bufferIndex=0);r._index===e&&r._bufferIndex<t.length;)g(t.charCodeAt(r._bufferIndex));else g(t)}}(),null!==a[a.length-1]?[]:(b(t,0),c.events=sg(i,c.events,c),c.events)}};let d,f=t.tokenize.call(c,u);return t.resolveAll&&i.push(t),c;function p(e){return function(e,t){const n=t.start._index,r=t.start._bufferIndex,o=t.end._index,i=t.end._bufferIndex;let a;return n===o?a=[e[n].slice(r,i)]:(a=e.slice(n,o),r>-1&&(a[0]=a[0].slice(r)),i>0&&a.push(e[o].slice(0,i))),a}(a,e)}function h(){return Object.assign({},r)}function g(e){s=void 0,d=e,f=f(e)}function m(e,t){t.restore()}function v(e,t){return function(n,o,i){let a,d,f,p;return Array.isArray(n)?g(n):"tokenize"in n?g([n]):function(e){return function(t){const n=null!==t&&e[t],r=null!==t&&e.null;return g([...Array.isArray(n)?n:n?[n]:[],...Array.isArray(r)?r:r?[r]:[]])(t)}}(n);function g(e){return a=e,d=0,0===e.length?i:m(e[d])}function m(e){return function(n){return p=function(){const e=h(),t=c.previous,n=c.currentConstruct,o=c.events.length,i=Array.from(l);return{restore:function(){r=e,c.previous=t,c.currentConstruct=n,c.events.length=o,l=i,y()},from:o}}(),f=e,e.partial||(c.currentConstruct=e),e.name&&c.parser.constructs.disable.null.includes(e.name)?b():e.tokenize.call(t?Object.assign(Object.create(c),t):c,u,v,b)(n)}}function v(t){return s=!0,e(f,p),o}function b(e){return s=!0,p.restore(),++d<a.length?m(a[d]):i}}}function b(e,t){e.resolveAll&&!i.includes(e)&&i.push(e),e.resolve&&Ch(c.events,t,c.events.length-t,e.resolve(c.events.slice(t),c)),e.resolveTo&&(c.events=e.resolveTo(c.events,c))}function y(){r.line in o&&r.column<2&&(r.column=o[r.line],r.offset+=o[r.line]-1)}}const cg={name:"thematicBreak",tokenize:function(e,t,n){let r,o=0;return function(t){return e.enter("thematicBreak"),r=t,i(t)};function i(l){return l===r?(e.enter("thematicBreakSequence"),a(l)):qh(l)?Qh(e,i,"whitespace")(l):o<3||null!==l&&!Hh(l)?n(l):(e.exit("thematicBreak"),t(l))}function a(t){return t===r?(e.consume(t),o++,a):(e.exit("thematicBreakSequence"),i(t))}}},dg={name:"list",tokenize:function(e,t,n){const r=this,o=r.events[r.events.length-1];let i=o&&"linePrefix"===o[1].type?o[2].sliceSerialize(o[1],!0).length:0,a=0;return function(t){const o=r.containerState.type||(42===t||43===t||45===t?"listUnordered":"listOrdered");if("listUnordered"===o?!r.containerState.marker||t===r.containerState.marker:Mh(t)){if(r.containerState.type||(r.containerState.type=o,e.enter(o,{_container:!0})),"listUnordered"===o)return e.enter("listItemPrefix"),42===t||45===t?e.check(cg,n,s)(t):s(t);if(!r.interrupt||49===t)return e.enter("listItemPrefix"),e.enter("listItemValue"),l(t)}return n(t)};function l(t){return Mh(t)&&++a<10?(e.consume(t),l):(!r.interrupt||a<2)&&(r.containerState.marker?t===r.containerState.marker:41===t||46===t)?(e.exit("listItemValue"),s(t)):n(t)}function s(t){return e.enter("listItemMarker"),e.consume(t),e.exit("listItemMarker"),r.containerState.marker=r.containerState.marker||t,e.check(Zh,r.interrupt?n:u,e.attempt(fg,d,c))}function u(e){return r.containerState.initialBlankLine=!0,i++,d(e)}function c(t){return qh(t)?(e.enter("listItemPrefixWhitespace"),e.consume(t),e.exit("listItemPrefixWhitespace"),d):n(t)}function d(n){return r.containerState.size=i+r.sliceSerialize(e.exit("listItemPrefix"),!0).length,t(n)}},continuation:{tokenize:function(e,t,n){const r=this;return r.containerState._closeFlow=void 0,e.check(Zh,(function(n){return r.containerState.furtherBlankLines=r.containerState.furtherBlankLines||r.containerState.initialBlankLine,Qh(e,t,"listItemIndent",r.containerState.size+1)(n)}),(function(n){return r.containerState.furtherBlankLines||!qh(n)?(r.containerState.furtherBlankLines=void 0,r.containerState.initialBlankLine=void 0,o(n)):(r.containerState.furtherBlankLines=void 0,r.containerState.initialBlankLine=void 0,e.attempt(pg,t,o)(n))}));function o(o){return r.containerState._closeFlow=!0,r.interrupt=void 0,Qh(e,e.attempt(dg,t,n),"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(o)}}},exit:function(e){e.exit(this.containerState.type)}},fg={tokenize:function(e,t,n){const r=this;return Qh(e,(function(e){const o=r.events[r.events.length-1];return!qh(e)&&o&&"listItemPrefixWhitespace"===o[1].type?t(e):n(e)}),"listItemPrefixWhitespace",r.parser.constructs.disable.null.includes("codeIndented")?void 0:5)},partial:!0},pg={tokenize:function(e,t,n){const r=this;return Qh(e,(function(e){const o=r.events[r.events.length-1];return o&&"listItemIndent"===o[1].type&&o[2].sliceSerialize(o[1],!0).length===r.containerState.size?t(e):n(e)}),"listItemIndent",r.containerState.size+1)},partial:!0},hg={name:"blockQuote",tokenize:function(e,t,n){const r=this;return function(t){if(62===t){const n=r.containerState;return n.open||(e.enter("blockQuote",{_container:!0}),n.open=!0),e.enter("blockQuotePrefix"),e.enter("blockQuoteMarker"),e.consume(t),e.exit("blockQuoteMarker"),o}return n(t)};function o(n){return qh(n)?(e.enter("blockQuotePrefixWhitespace"),e.consume(n),e.exit("blockQuotePrefixWhitespace"),e.exit("blockQuotePrefix"),t):(e.exit("blockQuotePrefix"),t(n))}},continuation:{tokenize:function(e,t,n){return Qh(e,e.attempt(hg,t,n),"linePrefix",this.parser.constructs.disable.null.includes("codeIndented")?void 0:4)}},exit:function(e){e.exit("blockQuote")}};function gg(e,t,n,r,o,i,a,l,s){const u=s||Number.POSITIVE_INFINITY;let c=0;return function(t){return 60===t?(e.enter(r),e.enter(o),e.enter(i),e.consume(t),e.exit(i),d):null===t||41===t||Fh(t)?n(t):(e.enter(r),e.enter(a),e.enter(l),e.enter("chunkString",{contentType:"string"}),h(t))};function d(n){return 62===n?(e.enter(i),e.consume(n),e.exit(i),e.exit(o),e.exit(r),t):(e.enter(l),e.enter("chunkString",{contentType:"string"}),f(n))}function f(t){return 62===t?(e.exit("chunkString"),e.exit(l),d(t)):null===t||60===t||Hh(t)?n(t):(e.consume(t),92===t?p:f)}function p(t){return 60===t||62===t||92===t?(e.consume(t),f):f(t)}function h(o){return 40===o?++c>u?n(o):(e.consume(o),h):41===o?c--?(e.consume(o),h):(e.exit("chunkString"),e.exit(l),e.exit(a),e.exit(r),t(o)):null===o||zh(o)?c?n(o):(e.exit("chunkString"),e.exit(l),e.exit(a),e.exit(r),t(o)):Fh(o)?n(o):(e.consume(o),92===o?g:h)}function g(t){return 40===t||41===t||92===t?(e.consume(t),h):h(t)}}function mg(e,t,n,r,o,i){const a=this;let l,s=0;return function(t){return e.enter(r),e.enter(o),e.consume(t),e.exit(o),e.enter(i),u};function u(d){return null===d||91===d||93===d&&!l||94===d&&!s&&"_hiddenFootnoteSupport"in a.parser.constructs||s>999?n(d):93===d?(e.exit(i),e.enter(o),e.consume(d),e.exit(o),e.exit(r),t):Hh(d)?(e.enter("lineEnding"),e.consume(d),e.exit("lineEnding"),u):(e.enter("chunkString",{contentType:"string"}),c(d))}function c(t){return null===t||91===t||93===t||Hh(t)||s++>999?(e.exit("chunkString"),u(t)):(e.consume(t),l=l||!qh(t),92===t?d:c)}function d(t){return 91===t||92===t||93===t?(e.consume(t),s++,c):c(t)}}function vg(e,t,n,r,o,i){let a;return function(t){return e.enter(r),e.enter(o),e.consume(t),e.exit(o),a=40===t?41:t,l};function l(n){return n===a?(e.enter(o),e.consume(n),e.exit(o),e.exit(r),t):(e.enter(i),s(n))}function s(t){return t===a?(e.exit(i),l(a)):null===t?n(t):Hh(t)?(e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),Qh(e,s,"linePrefix")):(e.enter("chunkString",{contentType:"string"}),u(t))}function u(t){return t===a||null===t||Hh(t)?(e.exit("chunkString"),s(t)):(e.consume(t),92===t?c:u)}function c(t){return t===a||92===t?(e.consume(t),u):u(t)}}function bg(e,t){let n;return function r(o){return Hh(o)?(e.enter("lineEnding"),e.consume(o),e.exit("lineEnding"),n=!0,r):qh(o)?Qh(e,r,n?"linePrefix":"lineSuffix")(o):t(o)}}function yg(e){return e.replace(/[\t\n\r ]+/g," ").replace(/^ | $/g,"").toLowerCase().toUpperCase()}const Ag={name:"definition",tokenize:function(e,t,n){const r=this;let o;return function(t){return e.enter("definition"),mg.call(r,e,i,n,"definitionLabel","definitionLabelMarker","definitionLabelString")(t)};function i(t){return o=yg(r.sliceSerialize(r.events[r.events.length-1][1]).slice(1,-1)),58===t?(e.enter("definitionMarker"),e.consume(t),e.exit("definitionMarker"),bg(e,gg(e,e.attempt(wg,Qh(e,a,"whitespace"),Qh(e,a,"whitespace")),n,"definitionDestination","definitionDestinationLiteral","definitionDestinationLiteralMarker","definitionDestinationRaw","definitionDestinationString"))):n(t)}function a(i){return null===i||Hh(i)?(e.exit("definition"),r.parser.defined.includes(o)||r.parser.defined.push(o),t(i)):n(i)}}},wg={tokenize:function(e,t,n){return function(t){return zh(t)?bg(e,r)(t):n(t)};function r(t){return 34===t||39===t||40===t?vg(e,Qh(e,o,"whitespace"),n,"definitionTitle","definitionTitleMarker","definitionTitleString")(t):n(t)}function o(e){return null===e||Hh(e)?t(e):n(e)}},partial:!0},xg={name:"codeIndented",tokenize:function(e,t,n){const r=this;return function(t){return e.enter("codeIndented"),Qh(e,o,"linePrefix",5)(t)};function o(e){const t=r.events[r.events.length-1];return t&&"linePrefix"===t[1].type&&t[2].sliceSerialize(t[1],!0).length>=4?i(e):n(e)}function i(t){return null===t?l(t):Hh(t)?e.attempt(Eg,i,l)(t):(e.enter("codeFlowValue"),a(t))}function a(t){return null===t||Hh(t)?(e.exit("codeFlowValue"),i(t)):(e.consume(t),a)}function l(n){return e.exit("codeIndented"),t(n)}}},Eg={tokenize:function(e,t,n){const r=this;return o;function o(t){return r.parser.lazy[r.now().line]?n(t):Hh(t)?(e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),o):Qh(e,i,"linePrefix",5)(t)}function i(e){const i=r.events[r.events.length-1];return i&&"linePrefix"===i[1].type&&i[2].sliceSerialize(i[1],!0).length>=4?t(e):Hh(e)?o(e):n(e)}},partial:!0},kg={name:"headingAtx",tokenize:function(e,t,n){const r=this;let o=0;return function(t){return e.enter("atxHeading"),e.enter("atxHeadingSequence"),i(t)};function i(l){return 35===l&&o++<6?(e.consume(l),i):null===l||zh(l)?(e.exit("atxHeadingSequence"),r.interrupt?t(l):a(l)):n(l)}function a(n){return 35===n?(e.enter("atxHeadingSequence"),l(n)):null===n||Hh(n)?(e.exit("atxHeading"),t(n)):qh(n)?Qh(e,a,"whitespace")(n):(e.enter("atxHeadingText"),s(n))}function l(t){return 35===t?(e.consume(t),l):(e.exit("atxHeadingSequence"),a(t))}function s(t){return null===t||35===t||zh(t)?(e.exit("atxHeadingText"),a(t)):(e.consume(t),s)}},resolve:function(e,t){let n,r,o=e.length-2,i=3;return"whitespace"===e[i][1].type&&(i+=2),o-2>i&&"whitespace"===e[o][1].type&&(o-=2),"atxHeadingSequence"===e[o][1].type&&(i===o-1||o-4>i&&"whitespace"===e[o-2][1].type)&&(o-=i+1===o?2:4),o>i&&(n={type:"atxHeadingText",start:e[i][1].start,end:e[o][1].end},r={type:"chunkText",start:e[i][1].start,end:e[o][1].end,contentType:"text"},Ch(e,i,o-i+1,[["enter",n,t],["enter",r,t],["exit",r,t],["exit",n,t]])),e}},Sg={name:"setextUnderline",tokenize:function(e,t,n){const r=this;let o,i,a=r.events.length;for(;a--;)if("lineEnding"!==r.events[a][1].type&&"linePrefix"!==r.events[a][1].type&&"content"!==r.events[a][1].type){i="paragraph"===r.events[a][1].type;break}return function(t){return r.parser.lazy[r.now().line]||!r.interrupt&&!i?n(t):(e.enter("setextHeadingLine"),e.enter("setextHeadingLineSequence"),o=t,l(t))};function l(t){return t===o?(e.consume(t),l):(e.exit("setextHeadingLineSequence"),Qh(e,s,"lineSuffix")(t))}function s(r){return null===r||Hh(r)?(e.exit("setextHeadingLine"),t(r)):n(r)}},resolveTo:function(e,t){let n,r,o,i=e.length;for(;i--;)if("enter"===e[i][0]){if("content"===e[i][1].type){n=i;break}"paragraph"===e[i][1].type&&(r=i)}else"content"===e[i][1].type&&e.splice(i,1),o||"definition"!==e[i][1].type||(o=i);const a={type:"setextHeading",start:Object.assign({},e[r][1].start),end:Object.assign({},e[e.length-1][1].end)};return e[r][1].type="setextHeadingText",o?(e.splice(r,0,["enter",a,t]),e.splice(o+1,0,["exit",e[n][1],t]),e[n][1].end=Object.assign({},e[o][1].end)):e[n][1]=a,e.push(["exit",a,t]),e}},_g=["address","article","aside","base","basefont","blockquote","body","caption","center","col","colgroup","dd","details","dialog","dir","div","dl","dt","fieldset","figcaption","figure","footer","form","frame","frameset","h1","h2","h3","h4","h5","h6","head","header","hr","html","iframe","legend","li","link","main","menu","menuitem","nav","noframes","ol","optgroup","option","p","param","section","summary","table","tbody","td","tfoot","th","thead","title","tr","track","ul"],Cg=["pre","script","style","textarea"],Tg={name:"htmlFlow",tokenize:function(e,t,n){const r=this;let o,i,a,l,s;return function(t){return e.enter("htmlFlow"),e.enter("htmlFlowData"),e.consume(t),u};function u(l){return 33===l?(e.consume(l),c):47===l?(e.consume(l),p):63===l?(e.consume(l),o=3,r.interrupt?t:M):Ph(l)?(e.consume(l),a=String.fromCharCode(l),i=!0,h):n(l)}function c(i){return 45===i?(e.consume(i),o=2,d):91===i?(e.consume(i),o=5,a="CDATA[",l=0,f):Ph(i)?(e.consume(i),o=4,r.interrupt?t:M):n(i)}function d(o){return 45===o?(e.consume(o),r.interrupt?t:M):n(o)}function f(o){return o===a.charCodeAt(l++)?(e.consume(o),l===a.length?r.interrupt?t:_:f):n(o)}function p(t){return Ph(t)?(e.consume(t),a=String.fromCharCode(t),h):n(t)}function h(l){return null===l||47===l||62===l||zh(l)?47!==l&&i&&Cg.includes(a.toLowerCase())?(o=1,r.interrupt?t(l):_(l)):_g.includes(a.toLowerCase())?(o=6,47===l?(e.consume(l),g):r.interrupt?t(l):_(l)):(o=7,r.interrupt&&!r.parser.lazy[r.now().line]?n(l):i?v(l):m(l)):45===l||Bh(l)?(e.consume(l),a+=String.fromCharCode(l),h):n(l)}function g(o){return 62===o?(e.consume(o),r.interrupt?t:_):n(o)}function m(t){return qh(t)?(e.consume(t),m):k(t)}function v(t){return 47===t?(e.consume(t),k):58===t||95===t||Ph(t)?(e.consume(t),b):qh(t)?(e.consume(t),v):k(t)}function b(t){return 45===t||46===t||58===t||95===t||Bh(t)?(e.consume(t),b):y(t)}function y(t){return 61===t?(e.consume(t),A):qh(t)?(e.consume(t),y):v(t)}function A(t){return null===t||60===t||61===t||62===t||96===t?n(t):34===t||39===t?(e.consume(t),s=t,w):qh(t)?(e.consume(t),A):(s=null,x(t))}function w(t){return null===t||Hh(t)?n(t):t===s?(e.consume(t),E):(e.consume(t),w)}function x(t){return null===t||34===t||39===t||60===t||61===t||62===t||96===t||zh(t)?y(t):(e.consume(t),x)}function E(e){return 47===e||62===e||qh(e)?v(e):n(e)}function k(t){return 62===t?(e.consume(t),S):n(t)}function S(t){return qh(t)?(e.consume(t),S):null===t||Hh(t)?_(t):n(t)}function _(t){return 45===t&&2===o?(e.consume(t),L):60===t&&1===o?(e.consume(t),O):62===t&&4===o?(e.consume(t),N):63===t&&3===o?(e.consume(t),M):93===t&&5===o?(e.consume(t),P):!Hh(t)||6!==o&&7!==o?null===t||Hh(t)?C(t):(e.consume(t),_):e.check(Dg,N,C)(t)}function C(t){return e.exit("htmlFlowData"),T(t)}function T(t){return null===t?B(t):Hh(t)?e.attempt({tokenize:D,partial:!0},T,B)(t):(e.enter("htmlFlowData"),_(t))}function D(e,t,n){return function(t){return e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),o};function o(e){return r.parser.lazy[r.now().line]?n(e):t(e)}}function L(t){return 45===t?(e.consume(t),M):_(t)}function O(t){return 47===t?(e.consume(t),a="",R):_(t)}function R(t){return 62===t&&Cg.includes(a.toLowerCase())?(e.consume(t),N):Ph(t)&&a.length<8?(e.consume(t),a+=String.fromCharCode(t),R):_(t)}function P(t){return 93===t?(e.consume(t),M):_(t)}function M(t){return 62===t?(e.consume(t),N):45===t&&2===o?(e.consume(t),M):_(t)}function N(t){return null===t||Hh(t)?(e.exit("htmlFlowData"),B(t)):(e.consume(t),N)}function B(n){return e.exit("htmlFlow"),t(n)}},resolveTo:function(e){let t=e.length;for(;t--&&("enter"!==e[t][0]||"htmlFlow"!==e[t][1].type););return t>1&&"linePrefix"===e[t-2][1].type&&(e[t][1].start=e[t-2][1].start,e[t+1][1].start=e[t-2][1].start,e.splice(t-2,2)),e},concrete:!0},Dg={tokenize:function(e,t,n){return function(r){return e.exit("htmlFlowData"),e.enter("lineEndingBlank"),e.consume(r),e.exit("lineEndingBlank"),e.attempt(Zh,t,n)}},partial:!0},Lg={name:"codeFenced",tokenize:function(e,t,n){const r=this,o={tokenize:function(e,t,n){let r=0;return Qh(e,(function(t){return e.enter("codeFencedFence"),e.enter("codeFencedFenceSequence"),o(t)}),"linePrefix",this.parser.constructs.disable.null.includes("codeIndented")?void 0:4);function o(t){return t===s?(e.consume(t),r++,o):r<u?n(t):(e.exit("codeFencedFenceSequence"),Qh(e,i,"whitespace")(t))}function i(r){return null===r||Hh(r)?(e.exit("codeFencedFence"),t(r)):n(r)}},partial:!0},i={tokenize:function(e,t,n){const r=this;return function(t){return e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),o};function o(e){return r.parser.lazy[r.now().line]?n(e):t(e)}},partial:!0},a=this.events[this.events.length-1],l=a&&"linePrefix"===a[1].type?a[2].sliceSerialize(a[1],!0).length:0;let s,u=0;return function(t){return e.enter("codeFenced"),e.enter("codeFencedFence"),e.enter("codeFencedFenceSequence"),s=t,c(t)};function c(t){return t===s?(e.consume(t),u++,c):(e.exit("codeFencedFenceSequence"),u<3?n(t):Qh(e,d,"whitespace")(t))}function d(t){return null===t||Hh(t)?g(t):(e.enter("codeFencedFenceInfo"),e.enter("chunkString",{contentType:"string"}),f(t))}function f(t){return null===t||zh(t)?(e.exit("chunkString"),e.exit("codeFencedFenceInfo"),Qh(e,p,"whitespace")(t)):96===t&&t===s?n(t):(e.consume(t),f)}function p(t){return null===t||Hh(t)?g(t):(e.enter("codeFencedFenceMeta"),e.enter("chunkString",{contentType:"string"}),h(t))}function h(t){return null===t||Hh(t)?(e.exit("chunkString"),e.exit("codeFencedFenceMeta"),g(t)):96===t&&t===s?n(t):(e.consume(t),h)}function g(n){return e.exit("codeFencedFence"),r.interrupt?t(n):m(n)}function m(t){return null===t?b(t):Hh(t)?e.attempt(i,e.attempt(o,b,l?Qh(e,m,"linePrefix",l+1):m),b)(t):(e.enter("codeFlowValue"),v(t))}function v(t){return null===t||Hh(t)?(e.exit("codeFlowValue"),m(t)):(e.consume(t),v)}function b(n){return e.exit("codeFenced"),t(n)}},concrete:!0},Og=document.createElement("i");function Rg(e){const t="&"+e+";";Og.innerHTML=t;const n=Og.textContent;return(59!==n.charCodeAt(n.length-1)||"semi"===e)&&n!==t&&n}const Pg={name:"characterReference",tokenize:function(e,t,n){const r=this;let o,i,a=0;return function(t){return e.enter("characterReference"),e.enter("characterReferenceMarker"),e.consume(t),e.exit("characterReferenceMarker"),l};function l(t){return 35===t?(e.enter("characterReferenceMarkerNumeric"),e.consume(t),e.exit("characterReferenceMarkerNumeric"),s):(e.enter("characterReferenceValue"),o=31,i=Bh,u(t))}function s(t){return 88===t||120===t?(e.enter("characterReferenceMarkerHexadecimal"),e.consume(t),e.exit("characterReferenceMarkerHexadecimal"),e.enter("characterReferenceValue"),o=6,i=Nh,u):(e.enter("characterReferenceValue"),o=7,i=Mh,u(t))}function u(l){let s;return 59===l&&a?(s=e.exit("characterReferenceValue"),i!==Bh||Rg(r.sliceSerialize(s))?(e.enter("characterReferenceMarker"),e.consume(l),e.exit("characterReferenceMarker"),e.exit("characterReference"),t):n(l)):i(l)&&a++<o?(e.consume(l),u):n(l)}}},Mg={name:"characterEscape",tokenize:function(e,t,n){return function(t){return e.enter("characterEscape"),e.enter("escapeMarker"),e.consume(t),e.exit("escapeMarker"),r};function r(r){return Ih(r)?(e.enter("characterEscapeValue"),e.consume(r),e.exit("characterEscapeValue"),e.exit("characterEscape"),t):n(r)}}},Ng={name:"lineEnding",tokenize:function(e,t){return function(n){return e.enter("lineEnding"),e.consume(n),e.exit("lineEnding"),Qh(e,t,"linePrefix")}}},Bg={name:"labelEnd",tokenize:function(e,t,n){const r=this;let o,i,a=r.events.length;for(;a--;)if(("labelImage"===r.events[a][1].type||"labelLink"===r.events[a][1].type)&&!r.events[a][1]._balanced){o=r.events[a][1];break}return function(t){return o?o._inactive?s(t):(i=r.parser.defined.includes(yg(r.sliceSerialize({start:o.end,end:r.now()}))),e.enter("labelEnd"),e.enter("labelMarker"),e.consume(t),e.exit("labelMarker"),e.exit("labelEnd"),l):n(t)};function l(n){return 40===n?e.attempt(Ig,t,i?t:s)(n):91===n?e.attempt(jg,t,i?e.attempt(Fg,t,s):s)(n):i?t(n):s(n)}function s(e){return o._balanced=!0,n(e)}},resolveTo:function(e,t){let n,r,o,i,a=e.length,l=0;for(;a--;)if(n=e[a][1],r){if("link"===n.type||"labelLink"===n.type&&n._inactive)break;"enter"===e[a][0]&&"labelLink"===n.type&&(n._inactive=!0)}else if(o){if("enter"===e[a][0]&&("labelImage"===n.type||"labelLink"===n.type)&&!n._balanced&&(r=a,"labelLink"!==n.type)){l=2;break}}else"labelEnd"===n.type&&(o=a);const s={type:"labelLink"===e[r][1].type?"link":"image",start:Object.assign({},e[r][1].start),end:Object.assign({},e[e.length-1][1].end)},u={type:"label",start:Object.assign({},e[r][1].start),end:Object.assign({},e[o][1].end)},c={type:"labelText",start:Object.assign({},e[r+l+2][1].end),end:Object.assign({},e[o-2][1].start)};return i=[["enter",s,t],["enter",u,t]],i=Th(i,e.slice(r+1,r+l+3)),i=Th(i,[["enter",c,t]]),i=Th(i,sg(t.parser.constructs.insideSpan.null,e.slice(r+l+4,o-3),t)),i=Th(i,[["exit",c,t],e[o-2],e[o-1],["exit",u,t]]),i=Th(i,e.slice(o+1)),i=Th(i,[["exit",s,t]]),Ch(e,r,e.length,i),e},resolveAll:function(e){let t,n=-1;for(;++n<e.length;)t=e[n][1],"labelImage"!==t.type&&"labelLink"!==t.type&&"labelEnd"!==t.type||(e.splice(n+1,"labelImage"===t.type?4:2),t.type="data",n++);return e}},Ig={tokenize:function(e,t,n){return function(t){return e.enter("resource"),e.enter("resourceMarker"),e.consume(t),e.exit("resourceMarker"),bg(e,r)};function r(t){return 41===t?a(t):gg(e,o,n,"resourceDestination","resourceDestinationLiteral","resourceDestinationLiteralMarker","resourceDestinationRaw","resourceDestinationString",32)(t)}function o(t){return zh(t)?bg(e,i)(t):a(t)}function i(t){return 34===t||39===t||40===t?vg(e,bg(e,a),n,"resourceTitle","resourceTitleMarker","resourceTitleString")(t):a(t)}function a(r){return 41===r?(e.enter("resourceMarker"),e.consume(r),e.exit("resourceMarker"),e.exit("resource"),t):n(r)}}},jg={tokenize:function(e,t,n){const r=this;return function(t){return mg.call(r,e,o,n,"reference","referenceMarker","referenceString")(t)};function o(e){return r.parser.defined.includes(yg(r.sliceSerialize(r.events[r.events.length-1][1]).slice(1,-1)))?t(e):n(e)}}},Fg={tokenize:function(e,t,n){return function(t){return e.enter("reference"),e.enter("referenceMarker"),e.consume(t),e.exit("referenceMarker"),r};function r(r){return 93===r?(e.enter("referenceMarker"),e.consume(r),e.exit("referenceMarker"),e.exit("reference"),t):n(r)}}},zg={name:"labelStartImage",tokenize:function(e,t,n){const r=this;return function(t){return e.enter("labelImage"),e.enter("labelImageMarker"),e.consume(t),e.exit("labelImageMarker"),o};function o(t){return 91===t?(e.enter("labelMarker"),e.consume(t),e.exit("labelMarker"),e.exit("labelImage"),i):n(t)}function i(e){return 94===e&&"_hiddenFootnoteSupport"in r.parser.constructs?n(e):t(e)}},resolveAll:Bg.resolveAll};function Hg(e){return null===e||zh(e)||Uh(e)?1:Wh(e)?2:void 0}const qg={name:"attention",tokenize:function(e,t){const n=this.parser.constructs.attentionMarkers.null,r=this.previous,o=Hg(r);let i;return function(t){return e.enter("attentionSequence"),i=t,a(t)};function a(l){if(l===i)return e.consume(l),a;const s=e.exit("attentionSequence"),u=Hg(l),c=!u||2===u&&o||n.includes(l),d=!o||2===o&&u||n.includes(r);return s._open=Boolean(42===i?c:c&&(o||!d)),s._close=Boolean(42===i?d:d&&(u||!c)),t(l)}},resolveAll:function(e,t){let n,r,o,i,a,l,s,u,c=-1;for(;++c<e.length;)if("enter"===e[c][0]&&"attentionSequence"===e[c][1].type&&e[c][1]._close)for(n=c;n--;)if("exit"===e[n][0]&&"attentionSequence"===e[n][1].type&&e[n][1]._open&&t.sliceSerialize(e[n][1]).charCodeAt(0)===t.sliceSerialize(e[c][1]).charCodeAt(0)){if((e[n][1]._close||e[c][1]._open)&&(e[c][1].end.offset-e[c][1].start.offset)%3&&!((e[n][1].end.offset-e[n][1].start.offset+e[c][1].end.offset-e[c][1].start.offset)%3))continue;l=e[n][1].end.offset-e[n][1].start.offset>1&&e[c][1].end.offset-e[c][1].start.offset>1?2:1;const d=Object.assign({},e[n][1].end),f=Object.assign({},e[c][1].start);Ug(d,-l),Ug(f,l),i={type:l>1?"strongSequence":"emphasisSequence",start:d,end:Object.assign({},e[n][1].end)},a={type:l>1?"strongSequence":"emphasisSequence",start:Object.assign({},e[c][1].start),end:f},o={type:l>1?"strongText":"emphasisText",start:Object.assign({},e[n][1].end),end:Object.assign({},e[c][1].start)},r={type:l>1?"strong":"emphasis",start:Object.assign({},i.start),end:Object.assign({},a.end)},e[n][1].end=Object.assign({},i.start),e[c][1].start=Object.assign({},a.end),s=[],e[n][1].end.offset-e[n][1].start.offset&&(s=Th(s,[["enter",e[n][1],t],["exit",e[n][1],t]])),s=Th(s,[["enter",r,t],["enter",i,t],["exit",i,t],["enter",o,t]]),s=Th(s,sg(t.parser.constructs.insideSpan.null,e.slice(n+1,c),t)),s=Th(s,[["exit",o,t],["enter",a,t],["exit",a,t],["exit",r,t]]),e[c][1].end.offset-e[c][1].start.offset?(u=2,s=Th(s,[["enter",e[c][1],t],["exit",e[c][1],t]])):u=0,Ch(e,n-1,c-n+3,s),c=n+s.length-u-2;break}for(c=-1;++c<e.length;)"attentionSequence"===e[c][1].type&&(e[c][1].type="data");return e}};function Ug(e,t){e.column+=t,e.offset+=t,e._bufferIndex+=t}const Wg={name:"autolink",tokenize:function(e,t,n){let r=1;return function(t){return e.enter("autolink"),e.enter("autolinkMarker"),e.consume(t),e.exit("autolinkMarker"),e.enter("autolinkProtocol"),o};function o(t){return Ph(t)?(e.consume(t),i):jh(t)?s(t):n(t)}function i(e){return 43===e||45===e||46===e||Bh(e)?a(e):s(e)}function a(t){return 58===t?(e.consume(t),l):(43===t||45===t||46===t||Bh(t))&&r++<32?(e.consume(t),a):s(t)}function l(t){return 62===t?(e.exit("autolinkProtocol"),f(t)):null===t||32===t||60===t||Fh(t)?n(t):(e.consume(t),l)}function s(t){return 64===t?(e.consume(t),r=0,u):jh(t)?(e.consume(t),s):n(t)}function u(e){return Bh(e)?c(e):n(e)}function c(t){return 46===t?(e.consume(t),r=0,u):62===t?(e.exit("autolinkProtocol").type="autolinkEmail",f(t)):d(t)}function d(t){return(45===t||Bh(t))&&r++<63?(e.consume(t),45===t?d:c):n(t)}function f(n){return e.enter("autolinkMarker"),e.consume(n),e.exit("autolinkMarker"),e.exit("autolink"),t}}},Vg={name:"htmlText",tokenize:function(e,t,n){const r=this;let o,i,a,l;return function(t){return e.enter("htmlText"),e.enter("htmlTextData"),e.consume(t),s};function s(t){return 33===t?(e.consume(t),u):47===t?(e.consume(t),x):63===t?(e.consume(t),A):Ph(t)?(e.consume(t),S):n(t)}function u(t){return 45===t?(e.consume(t),c):91===t?(e.consume(t),i="CDATA[",a=0,g):Ph(t)?(e.consume(t),y):n(t)}function c(t){return 45===t?(e.consume(t),d):n(t)}function d(t){return null===t||62===t?n(t):45===t?(e.consume(t),f):p(t)}function f(e){return null===e||62===e?n(e):p(e)}function p(t){return null===t?n(t):45===t?(e.consume(t),h):Hh(t)?(l=p,P(t)):(e.consume(t),p)}function h(t){return 45===t?(e.consume(t),N):p(t)}function g(t){return t===i.charCodeAt(a++)?(e.consume(t),a===i.length?m:g):n(t)}function m(t){return null===t?n(t):93===t?(e.consume(t),v):Hh(t)?(l=m,P(t)):(e.consume(t),m)}function v(t){return 93===t?(e.consume(t),b):m(t)}function b(t){return 62===t?N(t):93===t?(e.consume(t),b):m(t)}function y(t){return null===t||62===t?N(t):Hh(t)?(l=y,P(t)):(e.consume(t),y)}function A(t){return null===t?n(t):63===t?(e.consume(t),w):Hh(t)?(l=A,P(t)):(e.consume(t),A)}function w(e){return 62===e?N(e):A(e)}function x(t){return Ph(t)?(e.consume(t),E):n(t)}function E(t){return 45===t||Bh(t)?(e.consume(t),E):k(t)}function k(t){return Hh(t)?(l=k,P(t)):qh(t)?(e.consume(t),k):N(t)}function S(t){return 45===t||Bh(t)?(e.consume(t),S):47===t||62===t||zh(t)?_(t):n(t)}function _(t){return 47===t?(e.consume(t),N):58===t||95===t||Ph(t)?(e.consume(t),C):Hh(t)?(l=_,P(t)):qh(t)?(e.consume(t),_):N(t)}function C(t){return 45===t||46===t||58===t||95===t||Bh(t)?(e.consume(t),C):T(t)}function T(t){return 61===t?(e.consume(t),D):Hh(t)?(l=T,P(t)):qh(t)?(e.consume(t),T):_(t)}function D(t){return null===t||60===t||61===t||62===t||96===t?n(t):34===t||39===t?(e.consume(t),o=t,L):Hh(t)?(l=D,P(t)):qh(t)?(e.consume(t),D):(e.consume(t),o=void 0,R)}function L(t){return t===o?(e.consume(t),O):null===t?n(t):Hh(t)?(l=L,P(t)):(e.consume(t),L)}function O(e){return 62===e||47===e||zh(e)?_(e):n(e)}function R(t){return null===t||34===t||39===t||60===t||61===t||96===t?n(t):62===t||zh(t)?_(t):(e.consume(t),R)}function P(t){return e.exit("htmlTextData"),e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),Qh(e,M,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)}function M(t){return e.enter("htmlTextData"),l(t)}function N(r){return 62===r?(e.consume(r),e.exit("htmlTextData"),e.exit("htmlText"),t):n(r)}}},Qg={name:"labelStartLink",tokenize:function(e,t,n){const r=this;return function(t){return e.enter("labelLink"),e.enter("labelMarker"),e.consume(t),e.exit("labelMarker"),e.exit("labelLink"),o};function o(e){return 94===e&&"_hiddenFootnoteSupport"in r.parser.constructs?n(e):t(e)}},resolveAll:Bg.resolveAll},Gg={name:"hardBreakEscape",tokenize:function(e,t,n){return function(t){return e.enter("hardBreakEscape"),e.enter("escapeMarker"),e.consume(t),r};function r(r){return Hh(r)?(e.exit("escapeMarker"),e.exit("hardBreakEscape"),t(r)):n(r)}}},$g={name:"codeText",tokenize:function(e,t,n){let r,o,i=0;return function(t){return e.enter("codeText"),e.enter("codeTextSequence"),a(t)};function a(t){return 96===t?(e.consume(t),i++,a):(e.exit("codeTextSequence"),l(t))}function l(t){return null===t?n(t):96===t?(o=e.enter("codeTextSequence"),r=0,u(t)):32===t?(e.enter("space"),e.consume(t),e.exit("space"),l):Hh(t)?(e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),l):(e.enter("codeTextData"),s(t))}function s(t){return null===t||32===t||96===t||Hh(t)?(e.exit("codeTextData"),l(t)):(e.consume(t),s)}function u(n){return 96===n?(e.consume(n),r++,u):r===i?(e.exit("codeTextSequence"),e.exit("codeText"),t(n)):(o.type="codeTextData",s(n))}},resolve:function(e){let t,n,r=e.length-4,o=3;if(!("lineEnding"!==e[o][1].type&&"space"!==e[o][1].type||"lineEnding"!==e[r][1].type&&"space"!==e[r][1].type))for(t=o;++t<r;)if("codeTextData"===e[t][1].type){e[o][1].type="codeTextPadding",e[r][1].type="codeTextPadding",o+=2,r-=2;break}for(t=o-1,r++;++t<=r;)void 0===n?t!==r&&"lineEnding"!==e[t][1].type&&(n=t):t!==r&&"lineEnding"!==e[t][1].type||(e[n][1].type="codeTextData",t!==n+2&&(e[n][1].end=e[t-1][1].end,e.splice(n+2,t-n-2),r-=t-n-2,t=n+2),n=void 0);return e},previous:function(e){return 96!==e||"characterEscape"===this.events[this.events.length-1][1].type}},Yg={42:dg,43:dg,45:dg,48:dg,49:dg,50:dg,51:dg,52:dg,53:dg,54:dg,55:dg,56:dg,57:dg,62:hg},Zg={91:Ag},Kg={[-2]:xg,[-1]:xg,32:xg},Jg={35:kg,42:cg,45:[Sg,cg],60:Tg,61:Sg,95:cg,96:Lg,126:Lg},Xg={38:Pg,92:Mg},em={[-5]:Ng,[-4]:Ng,[-3]:Ng,33:zg,38:Pg,42:qg,60:[Wg,Vg],91:Qg,92:[Gg,Mg],93:Bg,95:qg,96:$g},tm={null:[qg,ng]},nm={null:[42,95]},rm={null:[]},om=/[\0\t\n\r]/g;function im(e,t){const n=Number.parseInt(e,t);return n<9||11===n||n>13&&n<32||n>126&&n<160||n>55295&&n<57344||n>64975&&n<65008||65535==(65535&n)||65534==(65535&n)||n>1114111?"<22>":String.fromCharCode(n)}const am=/\\([!-/:-@[-`{-~])|&(#(?:\d{1,7}|x[\da-f]{1,6})|[\da-z]{1,31});/gi;function lm(e){return e.replace(am,sm)}function sm(e,t,n){if(t)return t;if(35===n.charCodeAt(0)){const e=n.charCodeAt(1),t=120===e||88===e;return im(n.slice(t?2:1),t?16:10)}return Rg(n)||e}const um={}.hasOwnProperty,cm=function(t,n,r){return"string"!=typeof n&&(r=n,n=void 0),function(e){const t={transforms:[],canContainEols:["emphasis","fragment","heading","paragraph","strong"],enter:{autolink:a(A),autolinkProtocol:f,autolinkEmail:f,atxHeading:a(v),blockQuote:a((function(){return{type:"blockquote",children:[]}})),characterEscape:f,characterReference:f,codeFenced:a(m),codeFencedFenceInfo:l,codeFencedFenceMeta:l,codeIndented:a(m,l),codeText:a((function(){return{type:"inlineCode",value:""}}),l),codeTextData:f,data:f,codeFlowValue:f,definition:a((function(){return{type:"definition",identifier:"",label:null,title:null,url:""}})),definitionDestinationString:l,definitionLabelString:l,definitionTitleString:l,emphasis:a((function(){return{type:"emphasis",children:[]}})),hardBreakEscape:a(b),hardBreakTrailing:a(b),htmlFlow:a(y,l),htmlFlowData:f,htmlText:a(y,l),htmlTextData:f,image:a((function(){return{type:"image",title:null,url:"",alt:null}})),label:l,link:a(A),listItem:a((function(e){return{type:"listItem",spread:e._spread,checked:null,children:[]}})),listItemValue:function(e){i("expectingFirstListItemValue")&&(this.stack[this.stack.length-2].start=Number.parseInt(this.sliceSerialize(e),10),o("expectingFirstListItemValue"))},listOrdered:a(w,(function(){o("expectingFirstListItemValue",!0)})),listUnordered:a(w),paragraph:a((function(){return{type:"paragraph",children:[]}})),reference:function(){o("referenceType","collapsed")},referenceString:l,resourceDestinationString:l,resourceTitleString:l,setextHeading:a(v),strong:a((function(){return{type:"strong",children:[]}})),thematicBreak:a((function(){return{type:"thematicBreak"}}))},exit:{atxHeading:u(),atxHeadingSequence:function(e){const t=this.stack[this.stack.length-1];if(!t.depth){const n=this.sliceSerialize(e).length;t.depth=n}},autolink:u(),autolinkEmail:function(e){p.call(this,e),this.stack[this.stack.length-1].url="mailto:"+this.sliceSerialize(e)},autolinkProtocol:function(e){p.call(this,e),this.stack[this.stack.length-1].url=this.sliceSerialize(e)},blockQuote:u(),characterEscapeValue:p,characterReferenceMarkerHexadecimal:g,characterReferenceMarkerNumeric:g,characterReferenceValue:function(e){const t=this.sliceSerialize(e),n=i("characterReferenceType");let r;n?(r=im(t,"characterReferenceMarkerNumeric"===n?10:16),o("characterReferenceType")):r=Rg(t);const a=this.stack.pop();a.value+=r,a.position.end=dm(e.end)},codeFenced:u((function(){const e=this.resume();this.stack[this.stack.length-1].value=e.replace(/^(\r?\n|\r)|(\r?\n|\r)$/g,""),o("flowCodeInside")})),codeFencedFence:function(){i("flowCodeInside")||(this.buffer(),o("flowCodeInside",!0))},codeFencedFenceInfo:function(){const e=this.resume();this.stack[this.stack.length-1].lang=e},codeFencedFenceMeta:function(){const e=this.resume();this.stack[this.stack.length-1].meta=e},codeFlowValue:p,codeIndented:u((function(){const e=this.resume();this.stack[this.stack.length-1].value=e.replace(/(\r?\n|\r)$/g,"")})),codeText:u((function(){const e=this.resume();this.stack[this.stack.length-1].value=e})),codeTextData:p,data:p,definition:u(),definitionDestinationString:function(){const e=this.resume();this.stack[this.stack.length-1].url=e},definitionLabelString:function(e){const t=this.resume(),n=this.stack[this.stack.length-1];n.label=t,n.identifier=yg(this.sliceSerialize(e)).toLowerCase()},definitionTitleString:function(){const e=this.resume();this.stack[this.stack.length-1].title=e},emphasis:u(),hardBreakEscape:u(h),hardBreakTrailing:u(h),htmlFlow:u((function(){const e=this.resume();this.stack[this.stack.length-1].value=e})),htmlFlowData:p,htmlText:u((function(){const e=this.resume();this.stack[this.stack.length-1].value=e})),htmlTextData:p,image:u((function(){const e=this.stack[this.stack.length-1];if(i("inReference")){const t=i("referenceType")||"shortcut";e.type+="Reference",e.referenceType=t,delete e.url,delete e.title}else delete e.identifier,delete e.label;o("referenceType")})),label:function(){const e=this.stack[this.stack.length-1],t=this.resume(),n=this.stack[this.stack.length-1];if(o("inReference",!0),"link"===n.type){const t=e.children;n.children=t}else n.alt=t},labelText:function(e){const t=this.sliceSerialize(e),n=this.stack[this.stack.length-2];n.label=lm(t),n.identifier=yg(t).toLowerCase()},lineEnding:function(e){const n=this.stack[this.stack.length-1];if(i("atHardBreak"))return n.children[n.children.length-1].position.end=dm(e.end),void o("atHardBreak");!i("setextHeadingSlurpLineEnding")&&t.canContainEols.includes(n.type)&&(f.call(this,e),p.call(this,e))},link:u((function(){const e=this.stack[this.stack.length-1];if(i("inReference")){const t=i("referenceType")||"shortcut";e.type+="Reference",e.referenceType=t,delete e.url,delete e.title}else delete e.identifier,delete e.label;o("referenceType")})),listItem:u(),listOrdered:u(),listUnordered:u(),paragraph:u(),referenceString:function(e){const t=this.resume(),n=this.stack[this.stack.length-1];n.label=t,n.identifier=yg(this.sliceSerialize(e)).toLowerCase(),o("referenceType","full")},resourceDestinationString:function(){const e=this.resume();this.stack[this.stack.length-1].url=e},resourceTitleString:function(){const e=this.resume();this.stack[this.stack.length-1].title=e},resource:function(){o("inReference")},setextHeading:u((function(){o("setextHeadingSlurpLineEnding")})),setextHeadingLineSequence:function(e){this.stack[this.stack.length-1].depth=61===this.sliceSerialize(e).charCodeAt(0)?1:2},setextHeadingText:function(){o("setextHeadingSlurpLineEnding",!0)},strong:u(),thematicBreak:u()}};fm(t,(e||{}).mdastExtensions||[]);const n={};return function(e){let n={type:"root",children:[]};const a={stack:[n],tokenStack:[],config:t,enter:s,exit:c,buffer:l,resume:d,setData:o,getData:i},u=[];let f=-1;for(;++f<e.length;)"listOrdered"!==e[f][1].type&&"listUnordered"!==e[f][1].type||("enter"===e[f][0]?u.push(f):f=r(e,u.pop(),f));for(f=-1;++f<e.length;){const n=t[e[f][0]];um.call(n,e[f][1].type)&&n[e[f][1].type].call(Object.assign({sliceSerialize:e[f][2].sliceSerialize},a),e[f][1])}if(a.tokenStack.length>0){const e=a.tokenStack[a.tokenStack.length-1];(e[1]||hm).call(a,void 0,e[0])}for(n.position={start:dm(e.length>0?e[0][1].start:{line:1,column:1,offset:0}),end:dm(e.length>0?e[e.length-2][1].end:{line:1,column:1,offset:0})},f=-1;++f<t.transforms.length;)n=t.transforms[f](n)||n;return n};function r(e,t,n){let r,o,i,a,l=t-1,s=-1,u=!1;for(;++l<=n;){const t=e[l];if("listUnordered"===t[1].type||"listOrdered"===t[1].type||"blockQuote"===t[1].type?("enter"===t[0]?s++:s--,a=void 0):"lineEndingBlank"===t[1].type?"enter"===t[0]&&(!r||a||s||i||(i=l),a=void 0):"linePrefix"===t[1].type||"listItemValue"===t[1].type||"listItemMarker"===t[1].type||"listItemPrefix"===t[1].type||"listItemPrefixWhitespace"===t[1].type||(a=void 0),!s&&"enter"===t[0]&&"listItemPrefix"===t[1].type||-1===s&&"exit"===t[0]&&("listUnordered"===t[1].type||"listOrdered"===t[1].type)){if(r){let a=l;for(o=void 0;a--;){const t=e[a];if("lineEnding"===t[1].type||"lineEndingBlank"===t[1].type){if("exit"===t[0])continue;o&&(e[o][1].type="lineEndingBlank",u=!0),t[1].type="lineEnding",o=a}else if("linePrefix"!==t[1].type&&"blockQuotePrefix"!==t[1].type&&"blockQuotePrefixWhitespace"!==t[1].type&&"blockQuoteMarker"!==t[1].type&&"listItemIndent"!==t[1].type)break}i&&(!o||i<o)&&(r._spread=!0),r.end=Object.assign({},o?e[o][1].start:t[1].end),e.splice(o||l,0,["exit",r,t[2]]),l++,n++}"listItemPrefix"===t[1].type&&(r={type:"listItem",_spread:!1,start:Object.assign({},t[1].start)},e.splice(l,0,["enter",r,t[2]]),l++,n++,i=void 0,a=!0)}}return e[t][1]._spread=u,n}function o(e,t){n[e]=t}function i(e){return n[e]}function a(e,t){return function(n){s.call(this,e(n),n),t&&t.call(this,n)}}function l(){this.stack.push({type:"fragment",children:[]})}function s(e,t,n){return this.stack[this.stack.length-1].children.push(e),this.stack.push(e),this.tokenStack.push([t,n]),e.position={start:dm(t.start)},e}function u(e){return function(t){e&&e.call(this,t),c.call(this,t)}}function c(e,t){const n=this.stack.pop(),r=this.tokenStack.pop();if(!r)throw new Error("Cannot close `"+e.type+"` ("+Mp({start:e.start,end:e.end})+"): its not open");return r[0].type!==e.type&&(t?t.call(this,e,r[0]):(r[1]||hm).call(this,e,r[0])),n.position.end=dm(e.end),n}function d(){return function(e,t){const n={}.includeImageAlt;return Sh(e,"boolean"!=typeof n||n)}(this.stack.pop())}function f(e){const t=this.stack[this.stack.length-1];let n=t.children[t.children.length-1];n&&"text"===n.type||(n={type:"text",value:""},n.position={start:dm(e.start)},t.children.push(n)),this.stack.push(n)}function p(e){const t=this.stack.pop();t.value+=this.sliceSerialize(e),t.position.end=dm(e.end)}function h(){o("atHardBreak",!0)}function g(e){o("characterReferenceType",e.type)}function m(){return{type:"code",lang:null,meta:null,value:""}}function v(){return{type:"heading",depth:void 0,children:[]}}function b(){return{type:"break"}}function y(){return{type:"html",value:""}}function A(){return{type:"link",title:null,url:"",children:[]}}function w(e){return{type:"list",ordered:"listOrdered"===e.type,start:null,spread:e._spread,children:[]}}}(r)(function(e){for(;!Kh(e););return e}(function(t={}){const n={defined:[],lazy:{},constructs:Lh([e].concat(t.extensions||[])),content:r(Gh),document:r($h),flow:r(tg),string:r(rg),text:r(og)};return n;function r(e){return function(t){return ug(n,e,t)}}}(r).document().write(function(){let e,t=1,n="",r=!0;return function(o,i,a){const l=[];let s,u,c,d,f;for(o=n+o.toString(i),c=0,n="",r&&(65279===o.charCodeAt(0)&&c++,r=void 0);c<o.length;){if(om.lastIndex=c,s=om.exec(o),d=s&&void 0!==s.index?s.index:o.length,f=o.charCodeAt(d),!s){n=o.slice(c);break}if(10===f&&c===d&&e)l.push(-3),e=void 0;else switch(e&&(l.push(-5),e=void 0),c<d&&(l.push(o.slice(c,d)),t+=d-c),f){case 0:l.push(65533),t++;break;case 9:for(u=4*Math.ceil(t/4),l.push(-2);t++<u;)l.push(-1);break;case 10:l.push(-4),t=1;break;default:e=!0,t=1}c=d+1}return a&&(e&&l.push(-5),n&&l.push(n),l.push(null)),l}}()(t,n,!0))))};function dm(e){return{line:e.line,column:e.column,offset:e.offset}}function fm(e,t){let n=-1;for(;++n<t.length;){const r=t[n];Array.isArray(r)?fm(e,r):pm(e,r)}}function pm(e,t){let n;for(n in t)if(um.call(t,n))if("canContainEols"===n){const r=t[n];r&&e[n].push(...r)}else if("transforms"===n){const r=t[n];r&&e[n].push(...r)}else if("enter"===n||"exit"===n){const r=t[n];r&&Object.assign(e[n],r)}}function hm(e,t){throw e?new Error("Cannot close `"+e.type+"` ("+Mp({start:e.start,end:e.end})+"): a different token (`"+t.type+"`, "+Mp({start:t.start,end:t.end})+") is open"):new Error("Cannot close document, a token (`"+t.type+"`, "+Mp({start:t.start,end:t.end})+") is still open")}const gm=function(e){Object.assign(this,{Parser:t=>{const n=this.data("settings");return cm(t,Object.assign({},n,e,{extensions:this.data("micromarkExtensions")||[],mdastExtensions:this.data("fromMarkdownExtensions")||[]}))}})};function mm(e){const t=[];let n=-1,r=0,o=0;for(;++n<e.length;){const i=e.charCodeAt(n);let a="";if(37===i&&Bh(e.charCodeAt(n+1))&&Bh(e.charCodeAt(n+2)))o=2;else if(i<128)/[!#$&-;=?-Z_a-z~]/.test(String.fromCharCode(i))||(a=String.fromCharCode(i));else if(i>55295&&i<57344){const t=e.charCodeAt(n+1);i<56320&&t>56319&&t<57344?(a=String.fromCharCode(i,t),o=1):a="<22>"}else a=String.fromCharCode(i);a&&(t.push(e.slice(r,n),encodeURIComponent(a)),r=n+o+1,a=""),o&&(n+=o,o=0)}return t.join("")+e.slice(r)}const vm=function(e){if(null==e)return ym;if("string"==typeof e)return t=e,bm((function(e){return e&&e.type===t}));var t;if("object"==typeof e)return Array.isArray(e)?function(e){const t=[];let n=-1;for(;++n<e.length;)t[n]=vm(e[n]);return bm((function(...e){let n=-1;for(;++n<t.length;)if(t[n].call(this,...e))return!0;return!1}))}(e):function(e){return bm((function(t){let n;for(n in e)if(t[n]!==e[n])return!1;return!0}))}(e);if("function"==typeof e)return bm(e);throw new Error("Expected function, string, or object as test")};function bm(e){return function(t,...n){return Boolean(t&&"object"==typeof t&&"type"in t&&Boolean(e.call(this,t,...n)))}}function ym(){return!0}const Am=function(e,t,n,r){"function"==typeof t&&"function"!=typeof n&&(r=n,n=t,t=null);const o=vm(t),i=r?-1:1;!function e(a,l,s){const u=a&&"object"==typeof a?a:{};if("string"==typeof u.type){const e="string"==typeof u.tagName?u.tagName:"string"==typeof u.name?u.name:void 0;Object.defineProperty(c,"name",{value:"node ("+a.type+(e?"<"+e+">":"")+")"})}return c;function c(){let u,c,d,f=[];if((!t||o(a,l,s[s.length-1]||null))&&(f=function(e){return Array.isArray(e)?e:"number"==typeof e?[!0,e]:[e]}(n(a,s)),!1===f[0]))return f;if(a.children&&"skip"!==f[0])for(c=(r?a.children.length:-1)+i,d=s.concat(a);c>-1&&c<a.children.length;){if(u=e(a.children[c],c,d)(),!1===u[0])return u;c="number"==typeof u[1]?u[1]:c+i}return f}}(e,void 0,[])()},wm=function(e,t,n,r){"function"==typeof t&&"function"!=typeof n&&(r=n,n=t,t=null),Am(e,t,(function(e,t){const r=t[t.length-1];return n(e,r?r.children.indexOf(e):null,r)}),r)},xm=km("start"),Em=km("end");function km(e){return function(t){const n=t&&t.position&&t.position[e]||{};return{line:n.line||null,column:n.column||null,offset:n.offset>-1?n.offset:null}}}const Sm={}.hasOwnProperty;function _m(e){return String(e||"").toUpperCase()}function Cm(e,t){const n=String(t.identifier).toUpperCase(),r=mm(n.toLowerCase()),o=e.footnoteOrder.indexOf(n);let i;-1===o?(e.footnoteOrder.push(n),e.footnoteCounts[n]=1,i=e.footnoteOrder.length):(e.footnoteCounts[n]++,i=o+1);const a=e.footnoteCounts[n],l={type:"element",tagName:"a",properties:{href:"#"+e.clobberPrefix+"fn-"+r,id:e.clobberPrefix+"fnref-"+r+(a>1?"-"+a:""),dataFootnoteRef:!0,ariaDescribedBy:["footnote-label"]},children:[{type:"text",value:String(i)}]};e.patch(t,l);const s={type:"element",tagName:"sup",properties:{},children:[l]};return e.patch(t,s),e.applyData(t,s)}function Tm(e,t){const n=t.referenceType;let r="]";if("collapsed"===n?r+="[]":"full"===n&&(r+="["+(t.label||t.identifier)+"]"),"imageReference"===t.type)return{type:"text",value:"!["+t.alt+r};const o=e.all(t),i=o[0];i&&"text"===i.type?i.value="["+i.value:o.unshift({type:"text",value:"["});const a=o[o.length-1];return a&&"text"===a.type?a.value+=r:o.push({type:"text",value:r}),o}function Dm(e){const t=e.spread;return null==t?e.children.length>1:t}function Lm(e){const t=String(e),n=/\r?\n|\r/g;let r=n.exec(t),o=0;const i=[];for(;r;)i.push(Om(t.slice(o,r.index),o>0,!0),r[0]),o=r.index+r[0].length,r=n.exec(t);return i.push(Om(t.slice(o),o>0,!1)),i.join("")}function Om(e,t,n){let r=0,o=e.length;if(t){let t=e.codePointAt(r);for(;9===t||32===t;)r++,t=e.codePointAt(r)}if(n){let t=e.codePointAt(o-1);for(;9===t||32===t;)o--,t=e.codePointAt(o-1)}return o>r?e.slice(r,o):""}const Rm={blockquote:function(e,t){const n={type:"element",tagName:"blockquote",properties:{},children:e.wrap(e.all(t),!0)};return e.patch(t,n),e.applyData(t,n)},break:function(e,t){const n={type:"element",tagName:"br",properties:{},children:[]};return e.patch(t,n),[e.applyData(t,n),{type:"text",value:"\n"}]},code:function(e,t){const n=t.value?t.value+"\n":"",r=t.lang?t.lang.match(/^[^ \t]+(?=[ \t]|$)/):null,o={};r&&(o.className=["language-"+r]);let i={type:"element",tagName:"code",properties:o,children:[{type:"text",value:n}]};return t.meta&&(i.data={meta:t.meta}),e.patch(t,i),i=e.applyData(t,i),i={type:"element",tagName:"pre",properties:{},children:[i]},e.patch(t,i),i},delete:function(e,t){const n={type:"element",tagName:"del",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)},emphasis:function(e,t){const n={type:"element",tagName:"em",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)},footnoteReference:Cm,footnote:function(e,t){const n=e.footnoteById;let r=1;for(;r in n;)r++;const o=String(r);return n[o]={type:"footnoteDefinition",identifier:o,children:[{type:"paragraph",children:t.children}],position:t.position},Cm(e,{type:"footnoteReference",identifier:o,position:t.position})},heading:function(e,t){const n={type:"element",tagName:"h"+t.depth,properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)},html:function(e,t){if(e.dangerous){const n={type:"raw",value:t.value};return e.patch(t,n),e.applyData(t,n)}return null},imageReference:function(e,t){const n=e.definition(t.identifier);if(!n)return Tm(e,t);const r={src:mm(n.url||""),alt:t.alt};null!==n.title&&void 0!==n.title&&(r.title=n.title);const o={type:"element",tagName:"img",properties:r,children:[]};return e.patch(t,o),e.applyData(t,o)},image:function(e,t){const n={src:mm(t.url)};null!==t.alt&&void 0!==t.alt&&(n.alt=t.alt),null!==t.title&&void 0!==t.title&&(n.title=t.title);const r={type:"element",tagName:"img",properties:n,children:[]};return e.patch(t,r),e.applyData(t,r)},inlineCode:function(e,t){const n={type:"text",value:t.value.replace(/\r?\n|\r/g," ")};e.patch(t,n);const r={type:"element",tagName:"code",properties:{},children:[n]};return e.patch(t,r),e.applyData(t,r)},linkReference:function(e,t){const n=e.definition(t.identifier);if(!n)return Tm(e,t);const r={href:mm(n.url||"")};null!==n.title&&void 0!==n.title&&(r.title=n.title);const o={type:"element",tagName:"a",properties:r,children:e.all(t)};return e.patch(t,o),e.applyData(t,o)},link:function(e,t){const n={href:mm(t.url)};null!==t.title&&void 0!==t.title&&(n.title=t.title);const r={type:"element",tagName:"a",properties:n,children:e.all(t)};return e.patch(t,r),e.applyData(t,r)},listItem:function(e,t,n){const r=e.all(t),o=n?function(e){let t=!1;if("list"===e.type){t=e.spread||!1;const n=e.children;let r=-1;for(;!t&&++r<n.length;)t=Dm(n[r])}return t}(n):Dm(t),i={},a=[];if("boolean"==typeof t.checked){const e=r[0];let n;e&&"element"===e.type&&"p"===e.tagName?n=e:(n={type:"element",tagName:"p",properties:{},children:[]},r.unshift(n)),n.children.length>0&&n.children.unshift({type:"text",value:" "}),n.children.unshift({type:"element",tagName:"input",properties:{type:"checkbox",checked:t.checked,disabled:!0},children:[]}),i.className=["task-list-item"]}let l=-1;for(;++l<r.length;){const e=r[l];(o||0!==l||"element"!==e.type||"p"!==e.tagName)&&a.push({type:"text",value:"\n"}),"element"!==e.type||"p"!==e.tagName||o?a.push(e):a.push(...e.children)}const s=r[r.length-1];s&&(o||"element"!==s.type||"p"!==s.tagName)&&a.push({type:"text",value:"\n"});const u={type:"element",tagName:"li",properties:i,children:a};return e.patch(t,u),e.applyData(t,u)},list:function(e,t){const n={},r=e.all(t);let o=-1;for("number"==typeof t.start&&1!==t.start&&(n.start=t.start);++o<r.length;){const e=r[o];if("element"===e.type&&"li"===e.tagName&&e.properties&&Array.isArray(e.properties.className)&&e.properties.className.includes("task-list-item")){n.className=["contains-task-list"];break}}const i={type:"element",tagName:t.ordered?"ol":"ul",properties:n,children:e.wrap(r,!0)};return e.patch(t,i),e.applyData(t,i)},paragraph:function(e,t){const n={type:"element",tagName:"p",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)},root:function(e,t){const n={type:"root",children:e.wrap(e.all(t))};return e.patch(t,n),e.applyData(t,n)},strong:function(e,t){const n={type:"element",tagName:"strong",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)},table:function(e,t){const n=e.all(t),r=n.shift(),o=[];if(r){const n={type:"element",tagName:"thead",properties:{},children:e.wrap([r],!0)};e.patch(t.children[0],n),o.push(n)}if(n.length>0){const r={type:"element",tagName:"tbody",properties:{},children:e.wrap(n,!0)},i=xm(t.children[1]),a=Em(t.children[t.children.length-1]);i.line&&a.line&&(r.position={start:i,end:a}),o.push(r)}const i={type:"element",tagName:"table",properties:{},children:e.wrap(o,!0)};return e.patch(t,i),e.applyData(t,i)},tableCell:function(e,t){const n={type:"element",tagName:"td",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)},tableRow:function(e,t,n){const r=n?n.children:void 0,o=0===(r?r.indexOf(t):1)?"th":"td",i=n&&"table"===n.type?n.align:void 0,a=i?i.length:t.children.length;let l=-1;const s=[];for(;++l<a;){const n=t.children[l],r={},a=i?i[l]:void 0;a&&(r.align=a);let u={type:"element",tagName:o,properties:r,children:[]};n&&(u.children=e.all(n),e.patch(n,u),u=e.applyData(t,u)),s.push(u)}const u={type:"element",tagName:"tr",properties:{},children:e.wrap(s,!0)};return e.patch(t,u),e.applyData(t,u)},text:function(e,t){const n={type:"text",value:Lm(String(t.value))};return e.patch(t,n),e.applyData(t,n)},thematicBreak:function(e,t){const n={type:"element",tagName:"hr",properties:{},children:[]};return e.patch(t,n),e.applyData(t,n)},toml:Pm,yaml:Pm,definition:Pm,footnoteDefinition:Pm};function Pm(){return null}const Mm={}.hasOwnProperty;function Nm(e,t){var n;e.position&&(t.position={start:xm(n=e),end:Em(n)})}function Bm(e,t){let n=t;if(e&&e.data){const t=e.data.hName,r=e.data.hChildren,o=e.data.hProperties;"string"==typeof t&&("element"===n.type?n.tagName=t:n={type:"element",tagName:t,properties:{},children:[]}),"element"===n.type&&o&&(n.properties={...n.properties,...o}),"children"in n&&n.children&&null!=r&&(n.children=r)}return n}function Im(e,t,n){const r=t&&t.type;if(!r)throw new Error("Expected node, got `"+t+"`");return Mm.call(e.handlers,r)?e.handlers[r](e,t,n):e.passThrough&&e.passThrough.includes(r)?"children"in t?{...t,children:jm(e,t)}:t:e.unknownHandler?e.unknownHandler(e,t,n):function(e,t){const n=t.data||{},r=!("value"in t)||Mm.call(n,"hProperties")||Mm.call(n,"hChildren")?{type:"element",tagName:"div",properties:{},children:jm(e,t)}:{type:"text",value:t.value};return e.patch(t,r),e.applyData(t,r)}(e,t)}function jm(e,t){const n=[];if("children"in t){const r=t.children;let o=-1;for(;++o<r.length;){const i=Im(e,r[o],t);if(i){if(o&&"break"===r[o-1].type&&(Array.isArray(i)||"text"!==i.type||(i.value=i.value.replace(/^\s+/,"")),!Array.isArray(i)&&"element"===i.type)){const e=i.children[0];e&&"text"===e.type&&(e.value=e.value.replace(/^\s+/,""))}Array.isArray(i)?n.push(...i):n.push(i)}}}return n}function Fm(e,t){const n=[];let r=-1;for(t&&n.push({type:"text",value:"\n"});++r<e.length;)r&&n.push({type:"text",value:"\n"}),n.push(e[r]);return t&&e.length>0&&n.push({type:"text",value:"\n"}),n}function zm(e,t){const n=function(e,t){const n=t||{},r=n.allowDangerousHtml||!1,o={};return a.dangerous=r,a.clobberPrefix=void 0===n.clobberPrefix||null===n.clobberPrefix?"user-content-":n.clobberPrefix,a.footnoteLabel=n.footnoteLabel||"Footnotes",a.footnoteLabelTagName=n.footnoteLabelTagName||"h2",a.footnoteLabelProperties=n.footnoteLabelProperties||{className:["sr-only"]},a.footnoteBackLabel=n.footnoteBackLabel||"Back to content",a.unknownHandler=n.unknownHandler,a.passThrough=n.passThrough,a.handlers={...Rm,...n.handlers},a.definition=function(e){const t=Object.create(null);if(!e||!e.type)throw new Error("mdast-util-definitions expected node");return wm(e,"definition",(e=>{const n=_m(e.identifier);n&&!Sm.call(t,n)&&(t[n]=e)})),function(e){const n=_m(e);return n&&Sm.call(t,n)?t[n]:null}}(e),a.footnoteById=o,a.footnoteOrder=[],a.footnoteCounts={},a.patch=Nm,a.applyData=Bm,a.one=function(e,t){return Im(a,e,t)},a.all=function(e){return jm(a,e)},a.wrap=Fm,a.augment=i,wm(e,"footnoteDefinition",(e=>{const t=String(e.identifier).toUpperCase();Mm.call(o,t)||(o[t]=e)})),a;function i(e,t){if(e&&"data"in e&&e.data){const n=e.data;n.hName&&("element"!==t.type&&(t={type:"element",tagName:"",properties:{},children:[]}),t.tagName=n.hName),"element"===t.type&&n.hProperties&&(t.properties={...t.properties,...n.hProperties}),"children"in t&&t.children&&n.hChildren&&(t.children=n.hChildren)}if(e){const r="type"in e?e:{position:e};!((n=r)&&n.position&&n.position.start&&n.position.start.line&&n.position.start.column&&n.position.end&&n.position.end.line&&n.position.end.column)||(t.position={start:xm(r),end:Em(r)})}var n;return t}function a(e,t,n,r){return Array.isArray(n)&&(r=n,n={}),i(e,{type:"element",tagName:t,properties:n||{},children:r||[]})}}(e,t),r=n.one(e,null),o=function(e){const t=[];let n=-1;for(;++n<e.footnoteOrder.length;){const r=e.footnoteById[e.footnoteOrder[n]];if(!r)continue;const o=e.all(r),i=String(r.identifier).toUpperCase(),a=mm(i.toLowerCase());let l=0;const s=[];for(;++l<=e.footnoteCounts[i];){const t={type:"element",tagName:"a",properties:{href:"#"+e.clobberPrefix+"fnref-"+a+(l>1?"-"+l:""),dataFootnoteBackref:!0,className:["data-footnote-backref"],ariaLabel:e.footnoteBackLabel},children:[{type:"text",value:"↩"}]};l>1&&t.children.push({type:"element",tagName:"sup",children:[{type:"text",value:String(l)}]}),s.length>0&&s.push({type:"text",value:" "}),s.push(t)}const u=o[o.length-1];if(u&&"element"===u.type&&"p"===u.tagName){const e=u.children[u.children.length-1];e&&"text"===e.type?e.value+=" ":u.children.push({type:"text",value:" "}),u.children.push(...s)}else o.push(...s);const c={type:"element",tagName:"li",properties:{id:e.clobberPrefix+"fn-"+a},children:e.wrap(o,!0)};e.patch(r,c),t.push(c)}if(0!==t.length)return{type:"element",tagName:"section",properties:{dataFootnotes:!0,className:["footnotes"]},children:[{type:"element",tagName:e.footnoteLabelTagName,properties:{...JSON.parse(JSON.stringify(e.footnoteLabelProperties)),id:"footnote-label"},children:[{type:"text",value:e.footnoteLabel}]},{type:"text",value:"\n"},{type:"element",tagName:"ol",properties:{},children:e.wrap(t,!0)},{type:"text",value:"\n"}]}}(n);return o&&r.children.push({type:"text",value:"\n"},o),Array.isArray(r)?{type:"root",children:r}:r}const Hm=function(e,t){return e&&"run"in e?function(e,t){return(n,r,o)=>{e.run(zm(n,t),r,(e=>{o(e)}))}}(e,t):function(e){return t=>zm(t,e)}(e||t)};var qm=o(9974);class Um{constructor(e,t,n){this.property=e,this.normal=t,n&&(this.space=n)}}function Wm(e,t){const n={},r={};let o=-1;for(;++o<e.length;)Object.assign(n,e[o].property),Object.assign(r,e[o].normal);return new Um(n,r,t)}function Vm(e){return e.toLowerCase()}Um.prototype.property={},Um.prototype.normal={},Um.prototype.space=null;class Qm{constructor(e,t){this.property=e,this.attribute=t}}Qm.prototype.space=null,Qm.prototype.boolean=!1,Qm.prototype.booleanish=!1,Qm.prototype.overloadedBoolean=!1,Qm.prototype.number=!1,Qm.prototype.commaSeparated=!1,Qm.prototype.spaceSeparated=!1,Qm.prototype.commaOrSpaceSeparated=!1,Qm.prototype.mustUseProperty=!1,Qm.prototype.defined=!1;let Gm=0;const $m=tv(),Ym=tv(),Zm=tv(),Km=tv(),Jm=tv(),Xm=tv(),ev=tv();function tv(){return 2**++Gm}const nv=Object.keys(t);class rv extends Qm{constructor(e,n,r,o){let i=-1;if(super(e,n),ov(this,"space",o),"number"==typeof r)for(;++i<nv.length;){const e=nv[i];ov(this,nv[i],(r&t[e])===t[e])}}}function ov(e,t,n){n&&(e[t]=n)}rv.prototype.defined=!0;const iv={}.hasOwnProperty;function av(e){const t={},n={};let r;for(r in e.properties)if(iv.call(e.properties,r)){const o=e.properties[r],i=new rv(r,e.transform(e.attributes||{},r),o,e.space);e.mustUseProperty&&e.mustUseProperty.includes(r)&&(i.mustUseProperty=!0),t[r]=i,n[Vm(r)]=r,n[Vm(i.attribute)]=r}return new Um(t,n,e.space)}const lv=av({space:"xlink",transform:(e,t)=>"xlink:"+t.slice(5).toLowerCase(),properties:{xLinkActuate:null,xLinkArcRole:null,xLinkHref:null,xLinkRole:null,xLinkShow:null,xLinkTitle:null,xLinkType:null}}),sv=av({space:"xml",transform:(e,t)=>"xml:"+t.slice(3).toLowerCase(),properties:{xmlLang:null,xmlBase:null,xmlSpace:null}});function uv(e,t){return t in e?e[t]:t}function cv(e,t){return uv(e,t.toLowerCase())}const dv=av({space:"xmlns",attributes:{xmlnsxlink:"xmlns:xlink"},transform:cv,properties:{xmlns:null,xmlnsXLink:null}}),fv=av({transform:(e,t)=>"role"===t?t:"aria-"+t.slice(4).toLowerCase(),properties:{ariaActiveDescendant:null,ariaAtomic:Ym,ariaAutoComplete:null,ariaBusy:Ym,ariaChecked:Ym,ariaColCount:Km,ariaColIndex:Km,ariaColSpan:Km,ariaControls:Jm,ariaCurrent:null,ariaDescribedBy:Jm,ariaDetails:null,ariaDisabled:Ym,ariaDropEffect:Jm,ariaErrorMessage:null,ariaExpanded:Ym,ariaFlowTo:Jm,ariaGrabbed:Ym,ariaHasPopup:null,ariaHidden:Ym,ariaInvalid:null,ariaKeyShortcuts:null,ariaLabel:null,ariaLabelledBy:Jm,ariaLevel:Km,ariaLive:null,ariaModal:Ym,ariaMultiLine:Ym,ariaMultiSelectable:Ym,ariaOrientation:null,ariaOwns:Jm,ariaPlaceholder:null,ariaPosInSet:Km,ariaPressed:Ym,ariaReadOnly:Ym,ariaRelevant:null,ariaRequired:Ym,ariaRoleDescription:Jm,ariaRowCount:Km,ariaRowIndex:Km,ariaRowSpan:Km,ariaSelected:Ym,ariaSetSize:Km,ariaSort:null,ariaValueMax:Km,ariaValueMin:Km,ariaValueNow:Km,ariaValueText:null,role:null}}),pv=av({space:"html",attributes:{acceptcharset:"accept-charset",classname:"class",htmlfor:"for",httpequiv:"http-equiv"},transform:cv,mustUseProperty:["checked","multiple","muted","selected"],properties:{abbr:null,accept:Xm,acceptCharset:Jm,accessKey:Jm,action:null,allow:null,allowFullScreen:$m,allowPaymentRequest:$m,allowUserMedia:$m,alt:null,as:null,async:$m,autoCapitalize:null,autoComplete:Jm,autoFocus:$m,autoPlay:$m,capture:$m,charSet:null,checked:$m,cite:null,className:Jm,cols:Km,colSpan:null,content:null,contentEditable:Ym,controls:$m,controlsList:Jm,coords:Km|Xm,crossOrigin:null,data:null,dateTime:null,decoding:null,default:$m,defer:$m,dir:null,dirName:null,disabled:$m,download:Zm,draggable:Ym,encType:null,enterKeyHint:null,form:null,formAction:null,formEncType:null,formMethod:null,formNoValidate:$m,formTarget:null,headers:Jm,height:Km,hidden:$m,high:Km,href:null,hrefLang:null,htmlFor:Jm,httpEquiv:Jm,id:null,imageSizes:null,imageSrcSet:null,inputMode:null,integrity:null,is:null,isMap:$m,itemId:null,itemProp:Jm,itemRef:Jm,itemScope:$m,itemType:Jm,kind:null,label:null,lang:null,language:null,list:null,loading:null,loop:$m,low:Km,manifest:null,max:null,maxLength:Km,media:null,method:null,min:null,minLength:Km,multiple:$m,muted:$m,name:null,nonce:null,noModule:$m,noValidate:$m,onAbort:null,onAfterPrint:null,onAuxClick:null,onBeforeMatch:null,onBeforePrint:null,onBeforeUnload:null,onBlur:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onContextLost:null,onContextMenu:null,onContextRestored:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnded:null,onError:null,onFocus:null,onFormData:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLanguageChange:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadEnd:null,onLoadStart:null,onMessage:null,onMessageError:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRejectionHandled:null,onReset:null,onResize:null,onScroll:null,onScrollEnd:null,onSecurityPolicyViolation:null,onSeeked:null,onSeeking:null,onSelect:null,onSlotChange:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnhandledRejection:null,onUnload:null,onVolumeChange:null,onWaiting:null,onWheel:null,open:$m,optimum:Km,pattern:null,ping:Jm,placeholder:null,playsInline:$m,poster:null,preload:null,readOnly:$m,referrerPolicy:null,rel:Jm,required:$m,reversed:$m,rows:Km,rowSpan:Km,sandbox:Jm,scope:null,scoped:$m,seamless:$m,selected:$m,shape:null,size:Km,sizes:null,slot:null,span:Km,spellCheck:Ym,src:null,srcDoc:null,srcLang:null,srcSet:null,start:Km,step:null,style:null,tabIndex:Km,target:null,title:null,translate:null,type:null,typeMustMatch:$m,useMap:null,value:Ym,width:Km,wrap:null,align:null,aLink:null,archive:Jm,axis:null,background:null,bgColor:null,border:Km,borderColor:null,bottomMargin:Km,cellPadding:null,cellSpacing:null,char:null,charOff:null,classId:null,clear:null,code:null,codeBase:null,codeType:null,color:null,compact:$m,declare:$m,event:null,face:null,frame:null,frameBorder:null,hSpace:Km,leftMargin:Km,link:null,longDesc:null,lowSrc:null,marginHeight:Km,marginWidth:Km,noResize:$m,noHref:$m,noShade:$m,noWrap:$m,object:null,profile:null,prompt:null,rev:null,rightMargin:Km,rules:null,scheme:null,scrolling:Ym,standby:null,summary:null,text:null,topMargin:Km,valueType:null,version:null,vAlign:null,vLink:null,vSpace:Km,allowTransparency:null,autoCorrect:null,autoSave:null,disablePictureInPicture:$m,disableRemotePlayback:$m,prefix:null,property:null,results:Km,security:null,unselectable:null}}),hv=av({space:"svg",attributes:{accentHeight:"accent-height",alignmentBaseline:"alignment-baseline",arabicForm:"arabic-form",baselineShift:"baseline-shift",capHeight:"cap-height",className:"class",clipPath:"clip-path",clipRule:"clip-rule",colorInterpolation:"color-interpolation",colorInterpolationFilters:"color-interpolation-filters",colorProfile:"color-profile",colorRendering:"color-rendering",crossOrigin:"crossorigin",dataType:"datatype",dominantBaseline:"dominant-baseline",enableBackground:"enable-background",fillOpacity:"fill-opacity",fillRule:"fill-rule",floodColor:"flood-color",floodOpacity:"flood-opacity",fontFamily:"font-family",fontSize:"font-size",fontSizeAdjust:"font-size-adjust",fontStretch:"font-stretch",fontStyle:"font-style",fontVariant:"font-variant",fontWeight:"font-weight",glyphName:"glyph-name",glyphOrientationHorizontal:"glyph-orientation-horizontal",glyphOrientationVertical:"glyph-orientation-vertical",hrefLang:"hreflang",horizAdvX:"horiz-adv-x",horizOriginX:"horiz-origin-x",horizOriginY:"horiz-origin-y",imageRendering:"image-rendering",letterSpacing:"letter-spacing",lightingColor:"lighting-color",markerEnd:"marker-end",markerMid:"marker-mid",markerStart:"marker-start",navDown:"nav-down",navDownLeft:"nav-down-left",navDownRight:"nav-down-right",navLeft:"nav-left",navNext:"nav-next",navPrev:"nav-prev",navRight:"nav-right",navUp:"nav-up",navUpLeft:"nav-up-left",navUpRight:"nav-up-right",onAbort:"onabort",onActivate:"onactivate",onAfterPrint:"onafterprint",onBeforePrint:"onbeforeprint",onBegin:"onbegin",onCancel:"oncancel",onCanPlay:"oncanplay",onCanPlayThrough:"oncanplaythrough",onChange:"onchange",onClick:"onclick",onClose:"onclose",onCopy:"oncopy",onCueChange:"oncuechange",onCut:"oncut",onDblClick:"ondblclick",onDrag:"ondrag",onDragEnd:"ondragend",onDragEnter:"ondragenter",onDragExit:"ondragexit",onDragLeave:"ondragleave",onDragOver:"ondragover",onDragStart:"ondragstart",onDrop:"ondrop",onDurationChange:"ondurationchange",onEmptied:"onemptied",onEnd:"onend",onEnded:"onended",onError:"onerror",onFocus:"onfocus",onFocusIn:"onfocusin",onFocusOut:"onfocusout",onHashChange:"onhashchange",onInput:"oninput",onInvalid:"oninvalid",onKeyDown:"onkeydown",onKeyPress:"onkeypress",onKeyUp:"onkeyup",onLoad:"onload",onLoadedData:"onloadeddata",onLoadedMetadata:"onloadedmetadata",onLoadStart:"onloadstart",onMessage:"onmessage",onMouseDown:"onmousedown",onMouseEnter:"onmouseenter",onMouseLeave:"onmouseleave",onMouseMove:"onmousemove",onMouseOut:"onmouseout",onMouseOver:"onmouseover",onMouseUp:"onmouseup",onMouseWheel:"onmousewheel",onOffline:"onoffline",onOnline:"ononline",onPageHide:"onpagehide",onPageShow:"onpageshow",onPaste:"onpaste",onPause:"onpause",onPlay:"onplay",onPlaying:"onplaying",onPopState:"onpopstate",onProgress:"onprogress",onRateChange:"onratechange",onRepeat:"onrepeat",onReset:"onreset",onResize:"onresize",onScroll:"onscroll",onSeeked:"onseeked",onSeeking:"onseeking",onSelect:"onselect",onShow:"onshow",onStalled:"onstalled",onStorage:"onstorage",onSubmit:"onsubmit",onSuspend:"onsuspend",onTimeUpdate:"ontimeupdate",onToggle:"ontoggle",onUnload:"onunload",onVolumeChange:"onvolumechange",onWaiting:"onwaiting",onZoom:"onzoom",overlinePosition:"overline-position",overlineThickness:"overline-thickness",paintOrder:"paint-order",panose1:"panose-1",pointerEvents:"pointer-events",referrerPolicy:"referrerpolicy",renderingIntent:"rendering-intent",shapeRendering:"shape-rendering",stopColor:"stop-color",stopOpacity:"stop-opacity",strikethroughPosition:"strikethrough-position",strikethroughThickness:"strikethrough-thickness",strokeDashArray:"stroke-dasharray",strokeDashOffset:"stroke-dashoffset",strokeLineCap:"stroke-linecap",strokeLineJoin:"stroke-linejoin",strokeMiterLimit:"stroke-miterlimit",strokeOpacity:"stroke-opacity",strokeWidth:"stroke-width",tabIndex:"tabindex",textAnchor:"text-anchor",textDecoration:"text-decoration",textRendering:"text-rendering",typeOf:"typeof",underlinePosition:"underline-position",underlineThickness:"underline-thickness",unicodeBidi:"unicode-bidi",unicodeRange:"unicode-range",unitsPerEm:"units-per-em",vAlphabetic:"v-alphabetic",vHanging:"v-hanging",vIdeographic:"v-ideographic",vMathematical:"v-mathematical",vectorEffect:"vector-effect",vertAdvY:"vert-adv-y",vertOriginX:"vert-origin-x",vertOriginY:"vert-origin-y",wordSpacing:"word-spacing",writingMode:"writing-mode",xHeight:"x-height",playbackOrder:"playbackorder",timelineBegin:"timelinebegin"},transform:uv,properties:{about:ev,accentHeight:Km,accumulate:null,additive:null,alignmentBaseline:null,alphabetic:Km,amplitude:Km,arabicForm:null,ascent:Km,attributeName:null,attributeType:null,azimuth:Km,bandwidth:null,baselineShift:null,baseFrequency:null,baseProfile:null,bbox:null,begin:null,bias:Km,by:null,calcMode:null,capHeight:Km,className:Jm,clip:null,clipPath:null,clipPathUnits:null,clipRule:null,color:null,colorInterpolation:null,colorInterpolationFilters:null,colorProfile:null,colorRendering:null,content:null,contentScriptType:null,contentStyleType:null,crossOrigin:null,cursor:null,cx:null,cy:null,d:null,dataType:null,defaultAction:null,descent:Km,diffuseConstant:Km,direction:null,display:null,dur:null,divisor:Km,dominantBaseline:null,download:$m,dx:null,dy:null,edgeMode:null,editable:null,elevation:Km,enableBackground:null,end:null,event:null,exponent:Km,externalResourcesRequired:null,fill:null,fillOpacity:Km,fillRule:null,filter:null,filterRes:null,filterUnits:null,floodColor:null,floodOpacity:null,focusable:null,focusHighlight:null,fontFamily:null,fontSize:null,fontSizeAdjust:null,fontStretch:null,fontStyle:null,fontVariant:null,fontWeight:null,format:null,fr:null,from:null,fx:null,fy:null,g1:Xm,g2:Xm,glyphName:Xm,glyphOrientationHorizontal:null,glyphOrientationVertical:null,glyphRef:null,gradientTransform:null,gradientUnits:null,handler:null,hanging:Km,hatchContentUnits:null,hatchUnits:null,height:null,href:null,hrefLang:null,horizAdvX:Km,horizOriginX:Km,horizOriginY:Km,id:null,ideographic:Km,imageRendering:null,initialVisibility:null,in:null,in2:null,intercept:Km,k:Km,k1:Km,k2:Km,k3:Km,k4:Km,kernelMatrix:ev,kernelUnitLength:null,keyPoints:null,keySplines:null,keyTimes:null,kerning:null,lang:null,lengthAdjust:null,letterSpacing:null,lightingColor:null,limitingConeAngle:Km,local:null,markerEnd:null,markerMid:null,markerStart:null,markerHeight:null,markerUnits:null,markerWidth:null,mask:null,maskContentUnits:null,maskUnits:null,mathematical:null,max:null,media:null,mediaCharacterEncoding:null,mediaContentEncodings:null,mediaSize:Km,mediaTime:null,method:null,min:null,mode:null,name:null,navDown:null,navDownLeft:null,navDownRight:null,navLeft:null,navNext:null,navPrev:null,navRight:null,navUp:null,navUpLeft:null,navUpRight:null,numOctaves:null,observer:null,offset:null,onAbort:null,onActivate:null,onAfterPrint:null,onBeforePrint:null,onBegin:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnd:null,onEnded:null,onError:null,onFocus:null,onFocusIn:null,onFocusOut:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadStart:null,onMessage:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onMouseWheel:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRepeat:null,onReset:null,onResize:null,onScroll:null,onSeeked:null,onSeeking:null,onSelect:null,onShow:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnload:null,onVolumeChange:null,onWaiting:null,onZoom:null,opacity:null,operator:null,order:null,orient:null,orientation:null,origin:null,overflow:null,overlay:null,overlinePosition:Km,overlineThickness:Km,paintOrder:null,panose1:null,path:null,pathLength:Km,patternContentUnits:null,patternTransform:null,patternUnits:null,phase:null,ping:Jm,pitch:null,playbackOrder:null,pointerEvents:null,points:null,pointsAtX:Km,pointsAtY:Km,pointsAtZ:Km,preserveAlpha:null,preserveAspectRatio:null,primitiveUnits:null,propagate:null,property:ev,r:null,radius:null,referrerPolicy:null,refX:null,refY:null,rel:ev,rev:ev,renderingIntent:null,repeatCount:null,repeatDur:null,requiredExtensions:ev,requiredFeatures:ev,requiredFonts:ev,requiredFormats:ev,resource:null,restart:null,result:null,rotate:null,rx:null,ry:null,scale:null,seed:null,shapeRendering:null,side:null,slope:null,snapshotTime:null,specularConstant:Km,specularExponent:Km,spreadMethod:null,spacing:null,startOffset:null,stdDeviation:null,stemh:null,stemv:null,stitchTiles:null,stopColor:null,stopOpacity:null,strikethroughPosition:Km,strikethroughThickness:Km,string:null,stroke:null,strokeDashArray:ev,strokeDashOffset:null,strokeLineCap:null,strokeLineJoin:null,strokeMiterLimit:Km,strokeOpacity:Km,strokeWidth:null,style:null,surfaceScale:Km,syncBehavior:null,syncBehaviorDefault:null,syncMaster:null,syncTolerance:null,syncToleranceDefault:null,systemLanguage:ev,tabIndex:Km,tableValues:null,target:null,targetX:Km,targetY:Km,textAnchor:null,textDecoration:null,textRendering:null,textLength:null,timelineBegin:null,title:null,transformBehavior:null,type:null,typeOf:ev,to:null,transform:null,u1:null,u2:null,underlinePosition:Km,underlineThickness:Km,unicode:null,unicodeBidi:null,unicodeRange:null,unitsPerEm:Km,values:null,vAlphabetic:Km,vMathematical:Km,vectorEffect:null,vHanging:Km,vIdeographic:Km,version:null,vertAdvY:Km,vertOriginX:Km,vertOriginY:Km,viewBox:null,viewTarget:null,visibility:null,width:null,widths:null,wordSpacing:null,writingMode:null,x:null,x1:null,x2:null,xChannelSelector:null,xHeight:Km,y:null,y1:null,y2:null,yChannelSelector:null,z:null,zoomAndPan:null}}),gv=Wm([sv,lv,dv,fv,pv],"html"),mv=Wm([sv,lv,dv,fv,hv],"svg");function vv(e){if(e.allowedElements&&e.disallowedElements)throw new TypeError("Only one of `allowedElements` and `disallowedElements` should be defined");if(e.allowedElements||e.disallowedElements||e.allowElement)return t=>{!function(e,t,n,r){"function"==typeof t&&"function"!=typeof n&&(r=n,n=t,t=null),Am(e,t,(function(e,t){const r=t[t.length-1];return n(e,r?r.children.indexOf(e):null,r)}),r)}(t,"element",((t,n,r)=>{const o=r;let i;if(e.allowedElements?i=!e.allowedElements.includes(t.tagName):e.disallowedElements&&(i=e.disallowedElements.includes(t.tagName)),!i&&e.allowElement&&"number"==typeof n&&(i=!e.allowElement(t,n,o)),i&&"number"==typeof n)return e.unwrapDisallowed&&t.children?o.children.splice(n,1,...t.children):o.children.splice(n,1),n}))}}var bv=o(3978);function yv(e){const t=e&&"object"==typeof e&&"text"===e.type?e.value||"":e;return"string"==typeof t&&""===t.replace(/[ \t\n\f\r]/g,"")}const Av=/^data[-\w.:]+$/i,wv=/-[a-z]/g,xv=/[A-Z]/g;function Ev(e){return"-"+e.toLowerCase()}function kv(e){return e.charAt(1).toUpperCase()}const Sv={classId:"classID",dataType:"datatype",itemId:"itemID",strokeDashArray:"strokeDasharray",strokeDashOffset:"strokeDashoffset",strokeLineCap:"strokeLinecap",strokeLineJoin:"strokeLinejoin",strokeMiterLimit:"strokeMiterlimit",typeOf:"typeof",xLinkActuate:"xlinkActuate",xLinkArcRole:"xlinkArcrole",xLinkHref:"xlinkHref",xLinkRole:"xlinkRole",xLinkShow:"xlinkShow",xLinkTitle:"xlinkTitle",xLinkType:"xlinkType",xmlnsXLink:"xmlnsXlink"},_v=o(6772),Cv=["http","https","mailto","tel"];function Tv(e){const t=(e||"").trim(),n=t.charAt(0);if("#"===n||"/"===n)return t;const r=t.indexOf(":");if(-1===r)return t;let o=-1;for(;++o<Cv.length;){const e=Cv[o];if(r===e.length&&t.slice(0,e.length).toLowerCase()===e)return t}return o=t.indexOf("?"),-1!==o&&r>o?t:(o=t.indexOf("#"),-1!==o&&r>o?t:"javascript:void(0)")}const Dv={}.hasOwnProperty,Lv=new Set(["table","thead","tbody","tfoot","tr"]);function Ov(e,t){const n=[];let r,o=-1;for(;++o<t.children.length;)r=t.children[o],"element"===r.type?n.push(Rv(e,r,o,t)):"text"===r.type?"element"===t.type&&Lv.has(t.tagName)&&yv(r)||n.push(r.value):"raw"!==r.type||e.options.skipHtml||n.push(r.value);return n}function Rv(e,t,n,r){const o=e.options,i=void 0===o.transformLinkUri?Tv:o.transformLinkUri,a=e.schema,l=t.tagName,s={};let c,d=a;if("html"===a.space&&"svg"===l&&(d=mv,e.schema=d),t.properties)for(c in t.properties)Dv.call(t.properties,c)&&Mv(s,c,t.properties[c],e);"ol"!==l&&"ul"!==l||e.listDepth++;const f=Ov(e,t);"ol"!==l&&"ul"!==l||e.listDepth--,e.schema=a;const p=t.position||{start:{line:null,column:null,offset:null},end:{line:null,column:null,offset:null}},h=o.components&&Dv.call(o.components,l)?o.components[l]:l,g="string"==typeof h||h===u.Fragment;if(!bv.isValidElementType(h))throw new TypeError(`Component for name \`${l}\` not defined or is not renderable`);if(s.key=[l,p.start.line,p.start.column,n].join("-"),"a"===l&&o.linkTarget&&(s.target="function"==typeof o.linkTarget?o.linkTarget(String(s.href||""),t.children,"string"==typeof s.title?s.title:null):o.linkTarget),"a"===l&&i&&(s.href=i(String(s.href||""),t.children,"string"==typeof s.title?s.title:null)),g||"code"!==l||"element"!==r.type||"pre"===r.tagName||(s.inline=!0),g||"h1"!==l&&"h2"!==l&&"h3"!==l&&"h4"!==l&&"h5"!==l&&"h6"!==l||(s.level=Number.parseInt(l.charAt(1),10)),"img"===l&&o.transformImageUri&&(s.src=o.transformImageUri(String(s.src||""),String(s.alt||""),"string"==typeof s.title?s.title:null)),!g&&"li"===l&&"element"===r.type){const e=function(e){let t=-1;for(;++t<e.children.length;){const n=e.children[t];if("element"===n.type&&"input"===n.tagName)return n}return null}(t);s.checked=e&&e.properties?Boolean(e.properties.checked):null,s.index=Pv(r,t),s.ordered="ol"===r.tagName}var m;return g||"ol"!==l&&"ul"!==l||(s.ordered="ol"===l,s.depth=e.listDepth),"td"!==l&&"th"!==l||(s.align&&(s.style||(s.style={}),s.style.textAlign=s.align,delete s.align),g||(s.isHeader="th"===l)),g||"tr"!==l||"element"!==r.type||(s.isHeader=Boolean("thead"===r.tagName)),o.sourcePos&&(s["data-sourcepos"]=[(m=p).start.line,":",m.start.column,"-",m.end.line,":",m.end.column].map(String).join("")),!g&&o.rawSourcePos&&(s.sourcePosition=t.position),!g&&o.includeElementIndex&&(s.index=Pv(r,t),s.siblingCount=Pv(r)),g||(s.node=t),f.length>0?u.createElement(h,s,f):u.createElement(h,s)}function Pv(e,t){let n=-1,r=0;for(;++n<e.children.length&&e.children[n]!==t;)"element"===e.children[n].type&&r++;return r}function Mv(e,t,n,r){const o=function(e,t){const n=Vm(t);let r=t,o=Qm;if(n in e.normal)return e.property[e.normal[n]];if(n.length>4&&"data"===n.slice(0,4)&&Av.test(t)){if("-"===t.charAt(4)){const e=t.slice(5).replace(wv,kv);r="data"+e.charAt(0).toUpperCase()+e.slice(1)}else{const e=t.slice(4);if(!wv.test(e)){let n=e.replace(xv,Ev);"-"!==n.charAt(0)&&(n="-"+n),t="data"+n}}o=rv}return new o(r,t)}(r.schema,t);let i=n;null!=i&&i==i&&(Array.isArray(i)&&(i=o.commaSeparated?function(e,t){const n={};return(""===e[e.length-1]?[...e,""]:e).join((n.padRight?" ":"")+","+(!1===n.padLeft?"":" ")).trim()}(i):i.join(" ").trim()),"style"===o.property&&"string"==typeof i&&(i=function(e){const t={};try{_v(e,(function(e,n){const r="-ms-"===e.slice(0,4)?`ms-${e.slice(4)}`:e;t[r.replace(/-([a-z])/g,Nv)]=n}))}catch{}return t}(i)),o.space&&o.property?e[Dv.call(Sv,o.property)?Sv[o.property]:o.property]=i:o.attribute&&(e[o.attribute]=i))}function Nv(e,t){return t.toUpperCase()}const Bv={}.hasOwnProperty,Iv={plugins:{to:"remarkPlugins",id:"change-plugins-to-remarkplugins"},renderers:{to:"components",id:"change-renderers-to-components"},astPlugins:{id:"remove-buggy-html-in-markdown-parser"},allowDangerousHtml:{id:"remove-buggy-html-in-markdown-parser"},escapeHtml:{id:"remove-buggy-html-in-markdown-parser"},source:{to:"children",id:"change-source-to-children"},allowNode:{to:"allowElement",id:"replace-allownode-allowedtypes-and-disallowedtypes"},allowedTypes:{to:"allowedElements",id:"replace-allownode-allowedtypes-and-disallowedtypes"},disallowedTypes:{to:"disallowedElements",id:"replace-allownode-allowedtypes-and-disallowedtypes"},includeNodeIndex:{to:"includeElementIndex",id:"change-includenodeindex-to-includeelementindex"}};function jv(e){for(const t in Iv)if(Bv.call(Iv,t)&&Bv.call(e,t)){const e=Iv[t];console.warn(`[react-markdown] Warning: please ${e.to?`use \`${e.to}\` instead of`:"remove"} \`${t}\` (see <https://github.com/remarkjs/react-markdown/blob/main/changelog.md#${e.id}> for more info)`),delete Iv[t]}const t=mh().use(gm).use(e.remarkPlugins||[]).use(Hm,{...e.remarkRehypeOptions,allowDangerousHtml:!0}).use(e.rehypePlugins||[]).use(vv,e),n=new $p;"string"==typeof e.children?n.value=e.children:void 0!==e.children&&null!==e.children&&console.warn(`[react-markdown] Warning: please pass a string as \`children\` (not: \`${e.children}\`)`);const r=t.runSync(t.parse(n),n);if("root"!==r.type)throw new TypeError("Expected a `root` node");let o=u.createElement(u.Fragment,{},Ov({options:e,schema:gv,listDepth:0},r));return e.className&&(o=u.createElement("div",{className:e.className},o)),o}jv.propTypes={children:qm.string,className:qm.string,allowElement:qm.func,allowedElements:qm.arrayOf(qm.string),disallowedElements:qm.arrayOf(qm.string),unwrapDisallowed:qm.bool,remarkPlugins:qm.arrayOf(qm.oneOfType([qm.object,qm.func,qm.arrayOf(qm.oneOfType([qm.bool,qm.string,qm.object,qm.func,qm.arrayOf(qm.any)]))])),rehypePlugins:qm.arrayOf(qm.oneOfType([qm.object,qm.func,qm.arrayOf(qm.oneOfType([qm.bool,qm.string,qm.object,qm.func,qm.arrayOf(qm.any)]))])),sourcePos:qm.bool,rawSourcePos:qm.bool,skipHtml:qm.bool,includeElementIndex:qm.bool,transformLinkUri:qm.oneOfType([qm.func,qm.bool]),linkTarget:qm.oneOfType([qm.func,qm.string]),transformImageUri:qm.func,components:qm.object};const Fv={tokenize:function(e,t,n){let r=0;return function t(i){return(87===i||119===i)&&r<3?(r++,e.consume(i),t):46===i&&3===r?(e.consume(i),o):n(i)};function o(e){return null===e?n(e):t(e)}},partial:!0},zv={tokenize:function(e,t,n){let r,o,i;return a;function a(t){return 46===t||95===t?e.check(qv,s,l)(t):null===t||zh(t)||Uh(t)||45!==t&&Wh(t)?s(t):(i=!0,e.consume(t),a)}function l(t){return 95===t?r=!0:(o=r,r=void 0),e.consume(t),a}function s(e){return o||r||!i?n(e):t(e)}},partial:!0},Hv={tokenize:function(e,t){let n=0,r=0;return o;function o(a){return 40===a?(n++,e.consume(a),o):41===a&&r<n?i(a):33===a||34===a||38===a||39===a||41===a||42===a||44===a||46===a||58===a||59===a||60===a||63===a||93===a||95===a||126===a?e.check(qv,t,i)(a):null===a||zh(a)||Uh(a)?t(a):(e.consume(a),o)}function i(t){return 41===t&&r++,e.consume(t),o}},partial:!0},qv={tokenize:function(e,t,n){return r;function r(a){return 33===a||34===a||39===a||41===a||42===a||44===a||46===a||58===a||59===a||63===a||95===a||126===a?(e.consume(a),r):38===a?(e.consume(a),i):93===a?(e.consume(a),o):60===a||null===a||zh(a)||Uh(a)?t(a):n(a)}function o(e){return null===e||40===e||91===e||zh(e)||Uh(e)?t(e):r(e)}function i(e){return Ph(e)?a(e):n(e)}function a(t){return 59===t?(e.consume(t),r):Ph(t)?(e.consume(t),a):n(t)}},partial:!0},Uv={tokenize:function(e,t,n){return function(t){return e.consume(t),r};function r(e){return Bh(e)?n(e):t(e)}},partial:!0},Wv={tokenize:function(e,t,n){const r=this;return function(t){return 87!==t&&119!==t||!Zv.call(r,r.previous)||eb(r.events)?n(t):(e.enter("literalAutolink"),e.enter("literalAutolinkWww"),e.check(Fv,e.attempt(zv,e.attempt(Hv,o),n),n)(t))};function o(n){return e.exit("literalAutolinkWww"),e.exit("literalAutolink"),t(n)}},previous:Zv},Vv={tokenize:function(e,t,n){const r=this;let o="",i=!1;return function(t){return 72!==t&&104!==t||!Kv.call(r,r.previous)||eb(r.events)?n(t):(e.enter("literalAutolink"),e.enter("literalAutolinkHttp"),o+=String.fromCodePoint(t),e.consume(t),a)};function a(t){if(Ph(t)&&o.length<5)return o+=String.fromCodePoint(t),e.consume(t),a;if(58===t){const n=o.toLowerCase();if("http"===n||"https"===n)return e.consume(t),l}return n(t)}function l(t){return 47===t?(e.consume(t),i?s:(i=!0,l)):n(t)}function s(t){return null===t||Fh(t)||zh(t)||Uh(t)||Wh(t)?n(t):e.attempt(zv,e.attempt(Hv,u),n)(t)}function u(n){return e.exit("literalAutolinkHttp"),e.exit("literalAutolink"),t(n)}},previous:Kv},Qv={tokenize:function(e,t,n){const r=this;let o,i;return function(t){return Xv(t)&&Jv.call(r,r.previous)&&!eb(r.events)?(e.enter("literalAutolink"),e.enter("literalAutolinkEmail"),a(t)):n(t)};function a(t){return Xv(t)?(e.consume(t),a):64===t?(e.consume(t),l):n(t)}function l(t){return 46===t?e.check(Uv,u,s)(t):45===t||95===t||Bh(t)?(i=!0,e.consume(t),l):u(t)}function s(t){return e.consume(t),o=!0,l}function u(a){return i&&o&&Ph(r.previous)?(e.exit("literalAutolinkEmail"),e.exit("literalAutolink"),t(a)):n(a)}},previous:Jv},Gv={},$v={text:Gv};let Yv=48;for(;Yv<123;)Gv[Yv]=Qv,Yv++,58===Yv?Yv=65:91===Yv&&(Yv=97);function Zv(e){return null===e||40===e||42===e||95===e||91===e||93===e||126===e||zh(e)}function Kv(e){return!Ph(e)}function Jv(e){return!(47===e||Xv(e))}function Xv(e){return 43===e||45===e||46===e||95===e||Bh(e)}function eb(e){let t=e.length,n=!1;for(;t--;){const r=e[t][1];if(("labelLink"===r.type||"labelImage"===r.type)&&!r._balanced){n=!0;break}if(r._gfmAutolinkLiteralWalkedInto){n=!1;break}}return e.length>0&&!n&&(e[e.length-1][1]._gfmAutolinkLiteralWalkedInto=!0),n}Gv[43]=Qv,Gv[45]=Qv,Gv[46]=Qv,Gv[95]=Qv,Gv[72]=[Qv,Vv],Gv[104]=[Qv,Vv],Gv[87]=[Qv,Wv],Gv[119]=[Qv,Wv];const tb={tokenize:function(e,t,n){return function(t){return qh(t)?Qh(e,r,"linePrefix")(t):r(t)};function r(e){return null===e||Hh(e)?t(e):n(e)}},partial:!0},nb={tokenize:function(e,t,n){const r=this;return Qh(e,(function(e){const o=r.events[r.events.length-1];return o&&"gfmFootnoteDefinitionIndent"===o[1].type&&4===o[2].sliceSerialize(o[1],!0).length?t(e):n(e)}),"gfmFootnoteDefinitionIndent",5)},partial:!0};function rb(e,t,n){const r=this;let o=r.events.length;const i=r.parser.gfmFootnotes||(r.parser.gfmFootnotes=[]);let a;for(;o--;){const e=r.events[o][1];if("labelImage"===e.type){a=e;break}if("gfmFootnoteCall"===e.type||"labelLink"===e.type||"label"===e.type||"image"===e.type||"link"===e.type)break}return function(o){if(!a||!a._balanced)return n(o);const l=yg(r.sliceSerialize({start:a.end,end:r.now()}));return 94===l.codePointAt(0)&&i.includes(l.slice(1))?(e.enter("gfmFootnoteCallLabelMarker"),e.consume(o),e.exit("gfmFootnoteCallLabelMarker"),t(o)):n(o)}}function ob(e,t){let n,r=e.length;for(;r--;)if("labelImage"===e[r][1].type&&"enter"===e[r][0]){n=e[r][1];break}e[r+1][1].type="data",e[r+3][1].type="gfmFootnoteCallLabelMarker";const o={type:"gfmFootnoteCall",start:Object.assign({},e[r+3][1].start),end:Object.assign({},e[e.length-1][1].end)},i={type:"gfmFootnoteCallMarker",start:Object.assign({},e[r+3][1].end),end:Object.assign({},e[r+3][1].end)};i.end.column++,i.end.offset++,i.end._bufferIndex++;const a={type:"gfmFootnoteCallString",start:Object.assign({},i.end),end:Object.assign({},e[e.length-1][1].start)},l={type:"chunkString",contentType:"string",start:Object.assign({},a.start),end:Object.assign({},a.end)},s=[e[r+1],e[r+2],["enter",o,t],e[r+3],e[r+4],["enter",i,t],["exit",i,t],["enter",a,t],["enter",l,t],["exit",l,t],["exit",a,t],e[e.length-2],e[e.length-1],["exit",o,t]];return e.splice(r,e.length-r+1,...s),e}function ib(e,t,n){const r=this,o=r.parser.gfmFootnotes||(r.parser.gfmFootnotes=[]);let i,a=0;return function(t){return e.enter("gfmFootnoteCall"),e.enter("gfmFootnoteCallLabelMarker"),e.consume(t),e.exit("gfmFootnoteCallLabelMarker"),l};function l(t){return 94!==t?n(t):(e.enter("gfmFootnoteCallMarker"),e.consume(t),e.exit("gfmFootnoteCallMarker"),e.enter("gfmFootnoteCallString"),e.enter("chunkString").contentType="string",s)}function s(l){if(a>999||93===l&&!i||null===l||91===l||zh(l))return n(l);if(93===l){e.exit("chunkString");const i=e.exit("gfmFootnoteCallString");return o.includes(yg(r.sliceSerialize(i)))?(e.enter("gfmFootnoteCallLabelMarker"),e.consume(l),e.exit("gfmFootnoteCallLabelMarker"),e.exit("gfmFootnoteCall"),t):n(l)}return zh(l)||(i=!0),a++,e.consume(l),92===l?u:s}function u(t){return 91===t||92===t||93===t?(e.consume(t),a++,s):s(t)}}function ab(e,t,n){const r=this,o=r.parser.gfmFootnotes||(r.parser.gfmFootnotes=[]);let i,a,l=0;return function(t){return e.enter("gfmFootnoteDefinition")._container=!0,e.enter("gfmFootnoteDefinitionLabel"),e.enter("gfmFootnoteDefinitionLabelMarker"),e.consume(t),e.exit("gfmFootnoteDefinitionLabelMarker"),s};function s(t){return 94===t?(e.enter("gfmFootnoteDefinitionMarker"),e.consume(t),e.exit("gfmFootnoteDefinitionMarker"),e.enter("gfmFootnoteDefinitionLabelString"),e.enter("chunkString").contentType="string",u):n(t)}function u(t){if(l>999||93===t&&!a||null===t||91===t||zh(t))return n(t);if(93===t){e.exit("chunkString");const n=e.exit("gfmFootnoteDefinitionLabelString");return i=yg(r.sliceSerialize(n)),e.enter("gfmFootnoteDefinitionLabelMarker"),e.consume(t),e.exit("gfmFootnoteDefinitionLabelMarker"),e.exit("gfmFootnoteDefinitionLabel"),d}return zh(t)||(a=!0),l++,e.consume(t),92===t?c:u}function c(t){return 91===t||92===t||93===t?(e.consume(t),l++,u):u(t)}function d(t){return 58===t?(e.enter("definitionMarker"),e.consume(t),e.exit("definitionMarker"),o.includes(i)||o.push(i),Qh(e,f,"gfmFootnoteDefinitionWhitespace")):n(t)}function f(e){return t(e)}}function lb(e,t,n){return e.check(tb,t,e.attempt(nb,t,n))}function sb(e){e.exit("gfmFootnoteDefinition")}function ub(e){let t=(e||{}).singleTilde;const n={tokenize:function(e,n,r){const o=this.previous,i=this.events;let a=0;return function(t){return 126===o&&"characterEscape"!==i[i.length-1][1].type?r(t):(e.enter("strikethroughSequenceTemporary"),l(t))};function l(i){const s=Hg(o);if(126===i)return a>1?r(i):(e.consume(i),a++,l);if(a<2&&!t)return r(i);const u=e.exit("strikethroughSequenceTemporary"),c=Hg(i);return u._open=!c||2===c&&Boolean(s),u._close=!s||2===s&&Boolean(c),n(i)}},resolveAll:function(e,t){let n=-1;for(;++n<e.length;)if("enter"===e[n][0]&&"strikethroughSequenceTemporary"===e[n][1].type&&e[n][1]._close){let r=n;for(;r--;)if("exit"===e[r][0]&&"strikethroughSequenceTemporary"===e[r][1].type&&e[r][1]._open&&e[n][1].end.offset-e[n][1].start.offset==e[r][1].end.offset-e[r][1].start.offset){e[n][1].type="strikethroughSequence",e[r][1].type="strikethroughSequence";const o={type:"strikethrough",start:Object.assign({},e[r][1].start),end:Object.assign({},e[n][1].end)},i={type:"strikethroughText",start:Object.assign({},e[r][1].end),end:Object.assign({},e[n][1].start)},a=[["enter",o,t],["enter",e[r][1],t],["exit",e[r][1],t],["enter",i,t]],l=t.parser.constructs.insideSpan.null;l&&Ch(a,a.length,0,sg(l,e.slice(r+1,n),t)),Ch(a,a.length,0,[["exit",i,t],["enter",e[n][1],t],["exit",e[n][1],t],["exit",o,t]]),Ch(e,r-1,n-r+3,a),n=r+a.length-2;break}}for(n=-1;++n<e.length;)"strikethroughSequenceTemporary"===e[n][1].type&&(e[n][1].type="data");return e}};return null==t&&(t=!0),{text:{126:n},insideSpan:{null:[n]},attentionMarkers:{null:[126]}}}class cb{constructor(){this.map=[]}add(e,t,n){!function(e,t,n,r){let o=0;if(0!==n||0!==r.length){for(;o<e.map.length;){if(e.map[o][0]===t)return e.map[o][1]+=n,void e.map[o][2].push(...r);o+=1}e.map.push([t,n,r])}}(this,e,t,n)}consume(e){if(this.map.sort(((e,t)=>e[0]-t[0])),0===this.map.length)return;let t=this.map.length;const n=[];for(;t>0;)t-=1,n.push(e.slice(this.map[t][0]+this.map[t][1])),n.push(this.map[t][2]),e.length=this.map[t][0];n.push([...e]),e.length=0;let r=n.pop();for(;r;)e.push(...r),r=n.pop();this.map.length=0}}function db(e,t){let n=!1;const r=[];for(;t<e.length;){const o=e[t];if(n){if("enter"===o[0])"tableContent"===o[1].type&&r.push("tableDelimiterMarker"===e[t+1][1].type?"left":"none");else if("tableContent"===o[1].type){if("tableDelimiterMarker"===e[t-1][1].type){const e=r.length-1;r[e]="left"===r[e]?"center":"right"}}else if("tableDelimiterRow"===o[1].type)break}else"enter"===o[0]&&"tableDelimiterRow"===o[1].type&&(n=!0);t+=1}return r}const fb={flow:{null:{tokenize:function(e,t,n){const r=this;let o,i=0,a=0;return function(e){let t=r.events.length-1;for(;t>-1;){const e=r.events[t][1].type;if("lineEnding"!==e&&"linePrefix"!==e)break;t--}const o=t>-1?r.events[t][1].type:null,i="tableHead"===o||"tableRow"===o?A:l;return i===A&&r.parser.lazy[r.now().line]?n(e):i(e)};function l(t){return e.enter("tableHead"),e.enter("tableRow"),function(e){return 124===e||(o=!0,a+=1),s(e)}(t)}function s(t){return null===t?n(t):Hh(t)?a>1?(a=0,r.interrupt=!0,e.exit("tableRow"),e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),d):n(t):qh(t)?Qh(e,s,"whitespace")(t):(a+=1,o&&(o=!1,i+=1),124===t?(e.enter("tableCellDivider"),e.consume(t),e.exit("tableCellDivider"),o=!0,s):(e.enter("data"),u(t)))}function u(t){return null===t||124===t||zh(t)?(e.exit("data"),s(t)):(e.consume(t),92===t?c:u)}function c(t){return 92===t||124===t?(e.consume(t),u):u(t)}function d(t){return r.interrupt=!1,r.parser.lazy[r.now().line]?n(t):(e.enter("tableDelimiterRow"),o=!1,qh(t)?Qh(e,f,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(t):f(t))}function f(t){return 45===t||58===t?h(t):124===t?(o=!0,e.enter("tableCellDivider"),e.consume(t),e.exit("tableCellDivider"),p):y(t)}function p(t){return qh(t)?Qh(e,h,"whitespace")(t):h(t)}function h(t){return 58===t?(a+=1,o=!0,e.enter("tableDelimiterMarker"),e.consume(t),e.exit("tableDelimiterMarker"),g):45===t?(a+=1,g(t)):null===t||Hh(t)?b(t):y(t)}function g(t){return 45===t?(e.enter("tableDelimiterFiller"),m(t)):y(t)}function m(t){return 45===t?(e.consume(t),m):58===t?(o=!0,e.exit("tableDelimiterFiller"),e.enter("tableDelimiterMarker"),e.consume(t),e.exit("tableDelimiterMarker"),v):(e.exit("tableDelimiterFiller"),v(t))}function v(t){return qh(t)?Qh(e,b,"whitespace")(t):b(t)}function b(n){return 124===n?f(n):(null===n||Hh(n))&&o&&i===a?(e.exit("tableDelimiterRow"),e.exit("tableHead"),t(n)):y(n)}function y(e){return n(e)}function A(t){return e.enter("tableRow"),w(t)}function w(n){return 124===n?(e.enter("tableCellDivider"),e.consume(n),e.exit("tableCellDivider"),w):null===n||Hh(n)?(e.exit("tableRow"),t(n)):qh(n)?Qh(e,w,"whitespace")(n):(e.enter("data"),x(n))}function x(t){return null===t||124===t||zh(t)?(e.exit("data"),w(t)):(e.consume(t),92===t?E:x)}function E(t){return 92===t||124===t?(e.consume(t),x):x(t)}},resolveAll:function(e,t){let n,r,o,i=-1,a=!0,l=0,s=[0,0,0,0],u=[0,0,0,0],c=!1,d=0;const f=new cb;for(;++i<e.length;){const p=e[i],h=p[1];"enter"===p[0]?"tableHead"===h.type?(c=!1,0!==d&&(hb(f,t,d,n,r),r=void 0,d=0),n={type:"table",start:Object.assign({},h.start),end:Object.assign({},h.end)},f.add(i,0,[["enter",n,t]])):"tableRow"===h.type||"tableDelimiterRow"===h.type?(a=!0,o=void 0,s=[0,0,0,0],u=[0,i+1,0,0],c&&(c=!1,r={type:"tableBody",start:Object.assign({},h.start),end:Object.assign({},h.end)},f.add(i,0,[["enter",r,t]])),l="tableDelimiterRow"===h.type?2:r?3:1):!l||"data"!==h.type&&"tableDelimiterMarker"!==h.type&&"tableDelimiterFiller"!==h.type?"tableCellDivider"===h.type&&(a?a=!1:(0!==s[1]&&(u[0]=u[1],o=pb(f,t,s,l,void 0,o)),s=u,u=[s[1],i,0,0])):(a=!1,0===u[2]&&(0!==s[1]&&(u[0]=u[1],o=pb(f,t,s,l,void 0,o),s=[0,0,0,0]),u[2]=i)):"tableHead"===h.type?(c=!0,d=i):"tableRow"===h.type||"tableDelimiterRow"===h.type?(d=i,0!==s[1]?(u[0]=u[1],o=pb(f,t,s,l,i,o)):0!==u[1]&&(o=pb(f,t,u,l,i,o)),l=0):!l||"data"!==h.type&&"tableDelimiterMarker"!==h.type&&"tableDelimiterFiller"!==h.type||(u[3]=i)}for(0!==d&&hb(f,t,d,n,r),f.consume(t.events),i=-1;++i<t.events.length;){const e=t.events[i];"enter"===e[0]&&"table"===e[1].type&&(e[1]._align=db(t.events,i))}return e}}}};function pb(e,t,n,r,o,i){const a=1===r?"tableHeader":2===r?"tableDelimiter":"tableData";0!==n[0]&&(i.end=Object.assign({},gb(t.events,n[0])),e.add(n[0],0,[["exit",i,t]]));const l=gb(t.events,n[1]);if(i={type:a,start:Object.assign({},l),end:Object.assign({},l)},e.add(n[1],0,[["enter",i,t]]),0!==n[2]){const o=gb(t.events,n[2]),i=gb(t.events,n[3]),a={type:"tableContent",start:Object.assign({},o),end:Object.assign({},i)};if(e.add(n[2],0,[["enter",a,t]]),2!==r){const r=t.events[n[2]],o=t.events[n[3]];if(r[1].end=Object.assign({},o[1].end),r[1].type="chunkText",r[1].contentType="text",n[3]>n[2]+1){const t=n[2]+1,r=n[3]-n[2]-1;e.add(t,r,[])}}e.add(n[3]+1,0,[["exit",a,t]])}return void 0!==o&&(i.end=Object.assign({},gb(t.events,o)),e.add(o,0,[["exit",i,t]]),i=void 0),i}function hb(e,t,n,r,o){const i=[],a=gb(t.events,n);o&&(o.end=Object.assign({},a),i.push(["exit",o,t])),r.end=Object.assign({},a),i.push(["exit",r,t]),e.add(n+1,0,i)}function gb(e,t){const n=e[t],r="enter"===n[0]?"start":"end";return n[1][r]}const mb={tokenize:function(e,t,n){const r=this;return function(t){return null===r.previous&&r._gfmTasklistFirstContentOfListItem?(e.enter("taskListCheck"),e.enter("taskListCheckMarker"),e.consume(t),e.exit("taskListCheckMarker"),o):n(t)};function o(t){return zh(t)?(e.enter("taskListCheckValueUnchecked"),e.consume(t),e.exit("taskListCheckValueUnchecked"),i):88===t||120===t?(e.enter("taskListCheckValueChecked"),e.consume(t),e.exit("taskListCheckValueChecked"),i):n(t)}function i(t){return 93===t?(e.enter("taskListCheckMarker"),e.consume(t),e.exit("taskListCheckMarker"),e.exit("taskListCheck"),a):n(t)}function a(r){return Hh(r)?t(r):qh(r)?e.check({tokenize:bb},t,n)(r):n(r)}}},vb={text:{91:mb}};function bb(e,t,n){return Qh(e,(function(e){return null===e?n(e):t(e)}),"whitespace")}function yb(e,t){const n=String(e);if("string"!=typeof t)throw new TypeError("Expected character");let r=0,o=n.indexOf(t);for(;-1!==o;)r++,o=n.indexOf(t,o+t.length);return r}const Ab=function(e){if(null==e)return xb;if("string"==typeof e)return t=e,wb((function(e){return e&&e.type===t}));var t;if("object"==typeof e)return Array.isArray(e)?function(e){const t=[];let n=-1;for(;++n<e.length;)t[n]=Ab(e[n]);return wb((function(...e){let n=-1;for(;++n<t.length;)if(t[n].call(this,...e))return!0;return!1}))}(e):function(e){return wb((function(t){let n;for(n in e)if(t[n]!==e[n])return!1;return!0}))}(e);if("function"==typeof e)return wb(e);throw new Error("Expected function, string, or object as test")};function wb(e){return function(t,...n){return Boolean(t&&"object"==typeof t&&"type"in t&&Boolean(e.call(this,t,...n)))}}function xb(){return!0}const Eb={}.hasOwnProperty;function kb(e){return"string"==typeof e?new RegExp(function(e){if("string"!=typeof e)throw new TypeError("Expected a string");return e.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&").replace(/-/g,"\\x2d")}(e),"g"):e}function Sb(e){return"function"==typeof e?e:()=>e}const _b="phrasing",Cb=["autolink","link","image","label"],Tb={transforms:[function(e){!function(e,t,n,r){let o,i;"string"==typeof t||t instanceof RegExp?(i=[[t,n]],o=r):(i=t,o=n),o||(o={});const a=Ab(o.ignore||[]),l=function(e){const t=[];if("object"!=typeof e)throw new TypeError("Expected array or object as schema");if(Array.isArray(e)){let n=-1;for(;++n<e.length;)t.push([kb(e[n][0]),Sb(e[n][1])])}else{let n;for(n in e)Eb.call(e,n)&&t.push([kb(n),Sb(e[n])])}return t}(i);let s=-1;for(;++s<l.length;)Am(e,"text",u);return e;function u(e,t){let n,r=-1;for(;++r<t.length;){const e=t[r];if(a(e,n?n.children.indexOf(e):void 0,n))return;n=e}if(n)return function(e,t){const n=t[t.length-1],r=l[s][0],o=l[s][1];let i=0;const a=n.children.indexOf(e);let u=!1,c=[];r.lastIndex=0;let d=r.exec(e.value);for(;d;){const n=d.index,a={index:d.index,input:d.input,stack:[...t,e]};let l=o(...d,a);if("string"==typeof l&&(l=l.length>0?{type:"text",value:l}:void 0),!1!==l&&(i!==n&&c.push({type:"text",value:e.value.slice(i,n)}),Array.isArray(l)?c.push(...l):l&&c.push(l),i=n+d[0].length,u=!0),!r.global)break;d=r.exec(e.value)}return u?(i<e.value.length&&c.push({type:"text",value:e.value.slice(i)}),n.children.splice(a,1,...c)):c=[e],a+c.length}(e,t)}}(e,[[/(https?:\/\/|www(?=\.))([-.\w]+)([^ \t\r\n]*)/gi,Ob],[/([-.\w+]+)@([-\w]+(?:\.[-\w]+)+)/g,Rb]],{ignore:["link","linkReference"]})}],enter:{literalAutolink:function(e){this.enter({type:"link",title:null,url:"",children:[]},e)},literalAutolinkEmail:Lb,literalAutolinkHttp:Lb,literalAutolinkWww:Lb},exit:{literalAutolink:function(e){this.exit(e)},literalAutolinkEmail:function(e){this.config.exit.autolinkEmail.call(this,e)},literalAutolinkHttp:function(e){this.config.exit.autolinkProtocol.call(this,e)},literalAutolinkWww:function(e){this.config.exit.data.call(this,e),this.stack[this.stack.length-1].url="http://"+this.sliceSerialize(e)}}},Db={unsafe:[{character:"@",before:"[+\\-.\\w]",after:"[\\-.\\w]",inConstruct:_b,notInConstruct:Cb},{character:".",before:"[Ww]",after:"[\\-.\\w]",inConstruct:_b,notInConstruct:Cb},{character:":",before:"[ps]",after:"\\/",inConstruct:_b,notInConstruct:Cb}]};function Lb(e){this.config.enter.autolinkProtocol.call(this,e)}function Ob(e,t,n,r,o){let i="";if(!Pb(o))return!1;if(/^w/i.test(t)&&(n=t+n,t="",i="http://"),!function(e){const t=e.split(".");return!(t.length<2||t[t.length-1]&&(/_/.test(t[t.length-1])||!/[a-zA-Z\d]/.test(t[t.length-1]))||t[t.length-2]&&(/_/.test(t[t.length-2])||!/[a-zA-Z\d]/.test(t[t.length-2])))}(n))return!1;const a=function(e){const t=/[!"&'),.:;<>?\]}]+$/.exec(e);if(!t)return[e,void 0];e=e.slice(0,t.index);let n=t[0],r=n.indexOf(")");const o=yb(e,"(");let i=yb(e,")");for(;-1!==r&&o>i;)e+=n.slice(0,r+1),n=n.slice(r+1),r=n.indexOf(")"),i++;return[e,n]}(n+r);if(!a[0])return!1;const l={type:"link",title:null,url:i+t+a[0],children:[{type:"text",value:t+a[0]}]};return a[1]?[l,{type:"text",value:a[1]}]:l}function Rb(e,t,n,r){return!(!Pb(r,!0)||/[-\d_]$/.test(n))&&{type:"link",title:null,url:"mailto:"+t+"@"+n,children:[{type:"text",value:t+"@"+n}]}}function Pb(e,t){const n=e.input.charCodeAt(e.index-1);return(0===e.index||Uh(n)||Wh(n))&&(!t||47!==n)}function Mb(e){return e.label||!e.identifier?e.label||"":lm(e.identifier)}function Nb(e,t,n,r){let o=r.join.length;for(;o--;){const i=r.join[o](e,t,n,r);if(!0===i||1===i)break;if("number"==typeof i)return"\n".repeat(1+i);if(!1===i)return"\n\n\x3c!----\x3e\n\n"}return"\n\n"}const Bb=/\r?\n|\r/g;function Ib(e){if(!e._compiled){const t=(e.atBreak?"[\\r\\n][\\t ]*":"")+(e.before?"(?:"+e.before+")":"");e._compiled=new RegExp((t?"("+t+")":"")+(/[|\\{}()[\]^$+*?.-]/.test(e.character)?"\\":"")+e.character+(e.after?"(?:"+e.after+")":""),"g")}return e._compiled}function jb(e,t){return Fb(e,t.inConstruct,!0)&&!Fb(e,t.notInConstruct,!1)}function Fb(e,t,n){if("string"==typeof t&&(t=[t]),!t||0===t.length)return n;let r=-1;for(;++r<t.length;)if(e.includes(t[r]))return!0;return!1}function zb(e,t,n){const r=(n.before||"")+(t||"")+(n.after||""),o=[],i=[],a={};let l=-1;for(;++l<e.unsafe.length;){const t=e.unsafe[l];if(!jb(e.stack,t))continue;const n=Ib(t);let i;for(;i=n.exec(r);){const e="before"in t||Boolean(t.atBreak),n="after"in t,r=i.index+(e?i[1].length:0);o.includes(r)?(a[r].before&&!e&&(a[r].before=!1),a[r].after&&!n&&(a[r].after=!1)):(o.push(r),a[r]={before:e,after:n})}}o.sort(Hb);let s=n.before?n.before.length:0;const u=r.length-(n.after?n.after.length:0);for(l=-1;++l<o.length;){const e=o[l];e<s||e>=u||e+1<u&&o[l+1]===e+1&&a[e].after&&!a[e+1].before&&!a[e+1].after||o[l-1]===e-1&&a[e].before&&!a[e-1].before&&!a[e-1].after||(s!==e&&i.push(qb(r.slice(s,e),"\\")),s=e,!/[!-/:-@[-`{-~]/.test(r.charAt(e))||n.encode&&n.encode.includes(r.charAt(e))?(i.push("&#x"+r.charCodeAt(e).toString(16).toUpperCase()+";"),s++):i.push("\\"))}return i.push(qb(r.slice(s,u),n.after)),i.join("")}function Hb(e,t){return e-t}function qb(e,t){const n=/\\(?=[!-/:-@[-`{-~])/g,r=[],o=[],i=e+t;let a,l=-1,s=0;for(;a=n.exec(i);)r.push(a.index);for(;++l<r.length;)s!==r[l]&&o.push(e.slice(s,r[l])),o.push("\\"),s=r[l];return o.push(e.slice(s)),o.join("")}function Ub(e){const t=e||{},n=t.now||{};let r=t.lineShift||0,o=n.line||1,i=n.column||1;return{move:function(e){const t=e||"",n=t.split(/\r?\n|\r/g),a=n[n.length-1];return o+=n.length-1,i=1===n.length?i+a.length:1+a.length+r,t},current:function(){return{now:{line:o,column:i},lineShift:r}},shift:function(e){r+=e}}}function Wb(e){this.enter({type:"footnoteDefinition",identifier:"",label:"",children:[]},e)}function Vb(){this.buffer()}function Qb(e){const t=this.resume(),n=this.stack[this.stack.length-1];n.label=t,n.identifier=yg(this.sliceSerialize(e)).toLowerCase()}function Gb(e){this.exit(e)}function $b(e){this.enter({type:"footnoteReference",identifier:"",label:""},e)}function Yb(){this.buffer()}function Zb(e){const t=this.resume(),n=this.stack[this.stack.length-1];n.label=t,n.identifier=yg(this.sliceSerialize(e)).toLowerCase()}function Kb(e){this.exit(e)}function Jb(e,t,n,r){const o=Ub(r);let i=o.move("[^");const a=n.enter("footnoteReference"),l=n.enter("reference");return i+=o.move(zb(n,Mb(e),{...o.current(),before:i,after:"]"})),l(),a(),i+=o.move("]"),i}function Xb(e,t,n,r){const o=Ub(r);let i=o.move("[^");const a=n.enter("footnoteDefinition"),l=n.enter("label");return i+=o.move(zb(n,Mb(e),{...o.current(),before:i,after:"]"})),l(),i+=o.move("]:"+(e.children&&e.children.length>0?" ":"")),o.shift(4),i+=o.move(function(e,t){const n=[];let r,o=0,i=0;for(;r=Bb.exec(e);)a(e.slice(o,r.index)),n.push(r[0]),o=r.index+r[0].length,i++;return a(e.slice(o)),n.join("");function a(e){n.push(t(e,i,!e))}}(function(e,t,n){const r=t.indexStack,o=e.children||[],i=t.createTracker(n),a=[];let l=-1;for(r.push(-1);++l<o.length;){const n=o[l];r[r.length-1]=l,a.push(i.move(t.handle(n,e,t,{before:"\n",after:"\n",...i.current()}))),"list"!==n.type&&(t.bulletLastUsed=void 0),l<o.length-1&&a.push(i.move(Nb(n,o[l+1],e,t)))}return r.pop(),a.join("")}(e,n,o.current()),ey)),a(),i}function ey(e,t,n){return 0===t?e:(n?"":" ")+e}function ty(e,t,n){const r=t.indexStack,o=e.children||[],i=[];let a=-1,l=n.before;r.push(-1);let s=t.createTracker(n);for(;++a<o.length;){const u=o[a];let c;if(r[r.length-1]=a,a+1<o.length){let n=t.handle.handlers[o[a+1].type];n&&n.peek&&(n=n.peek),c=n?n(o[a+1],e,t,{before:"",after:"",...s.current()}).charAt(0):""}else c=n.after;i.length>0&&("\r"===l||"\n"===l)&&"html"===u.type&&(i[i.length-1]=i[i.length-1].replace(/(\r?\n|\r)$/," "),l=" ",s=t.createTracker(n),s.move(i.join(""))),i.push(s.move(t.handle(u,e,t,{...s.current(),before:l,after:c}))),l=i[i.length-1].slice(-1)}return r.pop(),i.join("")}Jb.peek=function(){return"["},oy.peek=function(){return"~"};const ny={canContainEols:["delete"],enter:{strikethrough:function(e){this.enter({type:"delete",children:[]},e)}},exit:{strikethrough:function(e){this.exit(e)}}},ry={unsafe:[{character:"~",inConstruct:"phrasing",notInConstruct:["autolink","destinationLiteral","destinationRaw","reference","titleQuote","titleApostrophe"]}],handlers:{delete:oy}};function oy(e,t,n,r){const o=Ub(r),i=n.enter("strikethrough");let a=o.move("~~");return a+=ty(e,n,{...o.current(),before:a,after:"~"}),a+=o.move("~~"),i(),a}function iy(e,t,n){let r=e.value||"",o="`",i=-1;for(;new RegExp("(^|[^`])"+o+"([^`]|$)").test(r);)o+="`";for(/[^ \r\n]/.test(r)&&(/^[ \r\n]/.test(r)&&/[ \r\n]$/.test(r)||/^`|`$/.test(r))&&(r=" "+r+" ");++i<n.unsafe.length;){const e=n.unsafe[i],t=Ib(e);let o;if(e.atBreak)for(;o=t.exec(r);){let e=o.index;10===r.charCodeAt(e)&&13===r.charCodeAt(e-1)&&e--,r=r.slice(0,e)+" "+r.slice(o.index+1)}}return o+r+o}function ay(e){return e.length}function ly(e){const t="string"==typeof e?e.codePointAt(0):0;return 67===t||99===t?99:76===t||108===t?108:82===t||114===t?114:0}iy.peek=function(){return"`"};const sy={enter:{table:function(e){const t=e._align;this.enter({type:"table",align:t.map((e=>"none"===e?null:e)),children:[]},e),this.setData("inTable",!0)},tableData:cy,tableHeader:cy,tableRow:function(e){this.enter({type:"tableRow",children:[]},e)}},exit:{codeText:function(e){let t=this.resume();this.getData("inTable")&&(t=t.replace(/\\([\\|])/g,dy)),this.stack[this.stack.length-1].value=t,this.exit(e)},table:function(e){this.exit(e),this.setData("inTable")},tableData:uy,tableHeader:uy,tableRow:uy}};function uy(e){this.exit(e)}function cy(e){this.enter({type:"tableCell",children:[]},e)}function dy(e,t){return"|"===t?t:e}function fy(e){const t=e||{},n=t.tableCellPadding,r=t.tablePipeAlign,o=t.stringLength,i=n?" ":"|";return{unsafe:[{character:"\r",inConstruct:"tableCell"},{character:"\n",inConstruct:"tableCell"},{atBreak:!0,character:"|",after:"[\t :-]"},{character:"|",inConstruct:"tableCell"},{atBreak:!0,character:":",after:"-"},{atBreak:!0,character:"-",after:"[:|-]"}],handlers:{table:function(e,t,n,r){return l(function(e,t,n){const r=e.children;let o=-1;const i=[],a=t.enter("table");for(;++o<r.length;)i[o]=s(r[o],t,n);return a(),i}(e,n,r),e.align)},tableRow:function(e,t,n,r){const o=l([s(e,n,r)]);return o.slice(0,o.indexOf("\n"))},tableCell:a,inlineCode:function(e,t,n){let r=iy(e,0,n);return n.stack.includes("tableCell")&&(r=r.replace(/\|/g,"\\$&")),r}}};function a(e,t,n,r){const o=n.enter("tableCell"),a=n.enter("phrasing"),l=ty(e,n,{...r,before:i,after:i});return a(),o(),l}function l(e,t){return function(e,t={}){const n=(t.align||[]).concat(),r=t.stringLength||ay,o=[],i=[],a=[],l=[];let s=0,u=-1;for(;++u<e.length;){const n=[],o=[];let d=-1;for(e[u].length>s&&(s=e[u].length);++d<e[u].length;){const i=null==(c=e[u][d])?"":String(c);if(!1!==t.alignDelimiters){const e=r(i);o[d]=e,(void 0===l[d]||e>l[d])&&(l[d]=e)}n.push(i)}i[u]=n,a[u]=o}var c;let d=-1;if("object"==typeof n&&"length"in n)for(;++d<s;)o[d]=ly(n[d]);else{const e=ly(n);for(;++d<s;)o[d]=e}d=-1;const f=[],p=[];for(;++d<s;){const e=o[d];let n="",r="";99===e?(n=":",r=":"):108===e?n=":":114===e&&(r=":");let i=!1===t.alignDelimiters?1:Math.max(1,l[d]-n.length-r.length);const a=n+"-".repeat(i)+r;!1!==t.alignDelimiters&&(i=n.length+i+r.length,i>l[d]&&(l[d]=i),p[d]=i),f[d]=a}i.splice(1,0,f),a.splice(1,0,p),u=-1;const h=[];for(;++u<i.length;){const e=i[u],n=a[u];d=-1;const r=[];for(;++d<s;){const i=e[d]||"";let a="",u="";if(!1!==t.alignDelimiters){const e=l[d]-(n[d]||0),t=o[d];114===t?a=" ".repeat(e):99===t?e%2?(a=" ".repeat(e/2+.5),u=" ".repeat(e/2-.5)):(a=" ".repeat(e/2),u=a):u=" ".repeat(e)}!1===t.delimiterStart||d||r.push("|"),!1===t.padding||!1===t.alignDelimiters&&""===i||!1===t.delimiterStart&&!d||r.push(" "),!1!==t.alignDelimiters&&r.push(a),r.push(i),!1!==t.alignDelimiters&&r.push(u),!1!==t.padding&&r.push(" "),!1===t.delimiterEnd&&d===s-1||r.push("|")}h.push(!1===t.delimiterEnd?r.join("").replace(/ +$/,""):r.join(""))}return h.join("\n")}(e,{align:t,alignDelimiters:r,padding:n,stringLength:o})}function s(e,t,n){const r=e.children;let o=-1;const i=[],l=t.enter("tableRow");for(;++o<r.length;)i[o]=a(r[o],0,t,n);return l(),i}}const py={exit:{taskListCheckValueChecked:gy,taskListCheckValueUnchecked:gy,paragraph:function(e){const t=this.stack[this.stack.length-2];if(t&&"listItem"===t.type&&"boolean"==typeof t.checked){const e=this.stack[this.stack.length-1],n=e.children[0];if(n&&"text"===n.type){const r=t.children;let o,i=-1;for(;++i<r.length;){const e=r[i];if("paragraph"===e.type){o=e;break}}o===e&&(n.value=n.value.slice(1),0===n.value.length?e.children.shift():e.position&&n.position&&"number"==typeof n.position.start.offset&&(n.position.start.column++,n.position.start.offset++,e.position.start=Object.assign({},n.position.start)))}}this.exit(e)}}},hy={unsafe:[{atBreak:!0,character:"-",after:"[:|-]"}],handlers:{listItem:function(e,t,n,r){const o=e.children[0],i="boolean"==typeof e.checked&&o&&"paragraph"===o.type,a="["+(e.checked?"x":" ")+"] ",l=Ub(r);i&&l.move(a);let s=function(e,t,n,r){const o=function(e){const t=e.options.listItemIndent||"tab";if(1===t||"1"===t)return"one";if("tab"!==t&&"one"!==t&&"mixed"!==t)throw new Error("Cannot serialize items with `"+t+"` for `options.listItemIndent`, expected `tab`, `one`, or `mixed`");return t}(n);let i=n.bulletCurrent||function(e){const t=e.options.bullet||"*";if("*"!==t&&"+"!==t&&"-"!==t)throw new Error("Cannot serialize items with `"+t+"` for `options.bullet`, expected `*`, `+`, or `-`");return t}(n);t&&"list"===t.type&&t.ordered&&(i=("number"==typeof t.start&&t.start>-1?t.start:1)+(!1===n.options.incrementListMarker?0:t.children.indexOf(e))+i);let a=i.length+1;("tab"===o||"mixed"===o&&(t&&"list"===t.type&&t.spread||e.spread))&&(a=4*Math.ceil(a/4));const l=n.createTracker(r);l.move(i+" ".repeat(a-i.length)),l.shift(a);const s=n.enter("listItem"),u=n.indentLines(n.containerFlow(e,l.current()),(function(e,t,n){return t?(n?"":" ".repeat(a))+e:(n?i:i+" ".repeat(a-i.length))+e}));return s(),u}(e,t,n,{...r,...l.current()});return i&&(s=s.replace(/^(?:[*+-]|\d+\.)([\r\n]| {1,3})/,(function(e){return e+a}))),s}}};function gy(e){this.stack[this.stack.length-2].checked="taskListCheckValueChecked"===e.type}function my(e={}){const t=this.data();function n(e,n){(t[e]?t[e]:t[e]=[]).push(n)}n("micromarkExtensions",function(e){return Lh([$v,{document:{91:{tokenize:ab,continuation:{tokenize:lb},exit:sb}},text:{91:{tokenize:ib},93:{add:"after",tokenize:rb,resolveTo:ob}}},ub(e),fb,vb])}(e)),n("fromMarkdownExtensions",[Tb,{enter:{gfmFootnoteDefinition:Wb,gfmFootnoteDefinitionLabelString:Vb,gfmFootnoteCall:$b,gfmFootnoteCallString:Yb},exit:{gfmFootnoteDefinition:Gb,gfmFootnoteDefinitionLabelString:Qb,gfmFootnoteCall:Kb,gfmFootnoteCallString:Zb}},ny,sy,py]),n("toMarkdownExtensions",function(e){return{extensions:[Db,{unsafe:[{character:"[",inConstruct:["phrasing","label","reference"]}],handlers:{footnoteDefinition:Xb,footnoteReference:Jb}},ry,fy(e),hy]}}(e))}var vy=function(e,t){return{".rc-md-editor .rc-md-navigation":{background:"$grayBg",borderBottom:"1px solid $thBorderSubtle"},".rc-md-editor":{borderRadius:"5px",backgroundColor:e?"#2A2A2A":"white",border:"1px solid $thBorderSubtle"},".rc-md-navigation":{borderRadius:"5px",borderBottomLeftRadius:"0px",borderBottomRightRadius:"0px",background:"var(--colors-grayBg)"},".rc-md-editor .editor-container >.section":{borderRight:"unset"},".rc-md-editor .editor-container .sec-md .input":{padding:"10px",borderRadius:"5px",fontSize:"16px",color:e?"#EBEBEB":"black",backgroundColor:e?"#2A2A2A":"white"},".rc-md-editor .drop-wrap":{border:"1px solid $thBorderSubtle",backgroundColor:e?"#2A2A2A":"white"}}};function by(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 yy(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?by(Object(n),!0).forEach((function(t){Ay(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):by(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Ay(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function wy(e,t,n,r,o,i,a){try{var l=e[i](a),s=l.value}catch(e){return void n(e)}l.done?t(s):Promise.resolve(s).then(r,o)}function xy(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,i=[],a=!0,l=!1;try{for(n=n.call(e);!(a=(r=n.next()).done)&&(i.push(r.value),!t||i.length!==t);a=!0);}catch(e){l=!0,o=e}finally{try{a||null==n.return||n.return()}finally{if(l)throw o}}return i}}(e,t)||function(e,t){if(e){if("string"==typeof e)return Ey(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Ey(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Ey(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var ky=new(lf());function Sy(e){var t=xy((0,u.useState)(void 0),2),n=t[0],r=t[1],o=xy((0,u.useState)(void 0),2),i=o[0],a=o[1],l=(0,u.useCallback)((function(t,n,o){var i;(i=regeneratorRuntime.mark((function i(){var l;return regeneratorRuntime.wrap((function(i){for(;;)switch(i.prev=i.next){case 0:return i.next=2,Ys({annotation:t,libraryItemId:e.targetId,highlightId:null===(l=e.highlight)||void 0===l?void 0:l.id});case 2:i.sent?(r(n),e.highlight.annotation=t,e.updateHighlight(e.highlight),o&&Nu("Note saved",{position:"bottom-right"})):a("Error saving note.");case 4:case"end":return i.stop()}}),i)})),function(){var e=this,t=arguments;return new Promise((function(n,r){var o=i.apply(e,t);function a(e){wy(o,n,r,a,l,"next",e)}function l(e){wy(o,n,r,a,l,"throw",e)}a(void 0)}))})()}),[e]);return(0,Ie.jsx)(_y,{targetId:e.targetId,placeHolder:e.placeHolder,mode:e.mode,setEditMode:e.setEditMode,text:e.text,saveText:l,lastSaved:n,errorSaving:i,fillBackground:!0})}function _y(e){var t,n=(0,u.useRef)(null),r=et(),o=xy((0,u.useState)(void 0),2),i=o[0],a=o[1],l=(0,u.useRef)(e.saveText);(0,u.useEffect)((function(){l.current=e.saveText}),[e]);var s=(0,u.useMemo)((function(){return $u()((function(e,t){var n;null===(n=l.current)||void 0===n||n.call(l,e,t,!1)}),3e3)}),[]),c=(0,u.useCallback)((function(e,t){t&&t.preventDefault();var n=new Date;a(n),s(e.text,n)}),[]);return(0,Ie.jsx)(Ie.Fragment,{children:"edit"==e.mode?(0,Ie.jsxs)(We,{css:yy({pt:"5px",width:"100%"},vy(r)),onKeyDown:function(t){"escape"===t.code.toLowerCase()&&(e.setEditMode("preview"),t.preventDefault(),t.stopPropagation())},children:[(0,Ie.jsx)(Rp,{ref:n,autoFocus:!0,defaultValue:e.text,placeholder:e.placeHolder,view:{menu:!0,md:!0,html:!1},canView:{menu:"edit"==e.mode,md:!0,html:!0,both:!1,fullScreen:!1,hideMenu:!1},plugins:["tab-insert","header","font-bold","font-italic","font-underline","font-strikethrough","list-unordered","list-ordered","block-quote","link","auto-resize"],style:{width:"100%",height:"160px"},renderHTML:function(e){return ky.render(e)},onChange:c},"note-editor"),(0,Ie.jsxs)(Ue,{css:{minHeight:"15px",width:"100%",fontSize:"9px",mt:"1px",color:"$thTextSubtle"},alignment:"start",distribution:"start",children:[e.errorSaving&&(0,Ie.jsx)(ze,{css:{width:"100%",fontSize:"9px",mt:"1px",color:"red"},children:e.errorSaving}),void 0!==e.lastSaved?(0,Ie.jsx)(Ie.Fragment,{children:i===e.lastSaved?"Saved":"Last saved ".concat(ko(e.lastSaved.toISOString()))}):null,(0,Ie.jsxs)(ze,{css:{fontSize:"9px",mt:"10px",color:"green",marginLeft:"auto"},children:[(0,Ie.jsx)(ii,{css:{marginRight:"10px"},style:"ctaOutlineYellow",onClick:function(t){e.setEditMode("preview"),t.preventDefault()},children:"Cancel"}),(0,Ie.jsx)(ii,{style:"ctaDarkYellow",onClick:function(t){if(n.current){var r=n.current.getMdValue(),o=new Date;a(o),e.saveText(r,o,!0),e.setEditMode("preview")}else Bu("Error saving note.",{position:"bottom-right"});t.preventDefault()},children:"Save"})]})]})]}):(0,Ie.jsx)(Ie.Fragment,{children:(0,Ie.jsx)(ze,{css:{p:e.text?"10px":"0px",width:"100%",fontSize:"12px",marginTop:"0px",color:e.text?"$thHighContrast":"#898989",borderRadius:"5px",background:e.text&&e.fillBackground?"$thNotebookTextBackground":"unset","> *":{m:"0px"}},onClick:function(){return e.setEditMode("edit")},children:(0,Ie.jsx)(jv,{children:null!==(t=e.text)&&void 0!==t?t:e.placeHolder,remarkPlugins:[my]})})})})}function Cy(e){return Ly(e)?(e.nodeName||"").toLowerCase():"#document"}function Ty(e){var t;return(null==e||null==(t=e.ownerDocument)?void 0:t.defaultView)||window}function Dy(e){var t;return null==(t=(Ly(e)?e.ownerDocument:e.document)||window.document)?void 0:t.documentElement}function Ly(e){return e instanceof Node||e instanceof Ty(e).Node}function Oy(e){return e instanceof Element||e instanceof Ty(e).Element}function Ry(e){return e instanceof HTMLElement||e instanceof Ty(e).HTMLElement}function Py(e){return"undefined"!=typeof ShadowRoot&&(e instanceof ShadowRoot||e instanceof Ty(e).ShadowRoot)}function My(e){const{overflow:t,overflowX:n,overflowY:r,display:o}=Fy(e);return/auto|scroll|overlay|hidden|clip/.test(t+r+n)&&!["inline","contents"].includes(o)}function Ny(e){return["table","td","th"].includes(Cy(e))}function By(e){const t=Iy(),n=Fy(e);return"none"!==n.transform||"none"!==n.perspective||!!n.containerType&&"normal"!==n.containerType||!t&&!!n.backdropFilter&&"none"!==n.backdropFilter||!t&&!!n.filter&&"none"!==n.filter||["transform","perspective","filter"].some((e=>(n.willChange||"").includes(e)))||["paint","layout","strict","content"].some((e=>(n.contain||"").includes(e)))}function Iy(){return!("undefined"==typeof CSS||!CSS.supports)&&CSS.supports("-webkit-backdrop-filter","none")}function jy(e){return["html","body","#document"].includes(Cy(e))}function Fy(e){return Ty(e).getComputedStyle(e)}function zy(e){return Oy(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.pageXOffset,scrollTop:e.pageYOffset}}function Hy(e){if("html"===Cy(e))return e;const t=e.assignedSlot||e.parentNode||Py(e)&&e.host||Dy(e);return Py(t)?t.host:t}function qy(e){const t=Hy(e);return jy(t)?e.ownerDocument?e.ownerDocument.body:e.body:Ry(t)&&My(t)?t:qy(t)}function Uy(e,t,n){var r;void 0===t&&(t=[]),void 0===n&&(n=!0);const o=qy(e),i=o===(null==(r=e.ownerDocument)?void 0:r.body),a=Ty(o);return i?t.concat(a,a.visualViewport||[],My(o)?o:[],a.frameElement&&n?Uy(a.frameElement):[]):t.concat(o,Uy(o,[],n))}function Wy(e,t){const n=["mouse","pen"];return t||n.push("",void 0),n.includes(e)}function Vy(e){return(null==e?void 0:e.ownerDocument)||document}Rp.use(Op.TabInsert,{tabMapValue:1});const Qy=["top","right","bottom","left"],Gy=Math.min,$y=Math.max,Yy=Math.round,Zy=Math.floor,Ky=e=>({x:e,y:e}),Jy={left:"right",right:"left",bottom:"top",top:"bottom"},Xy={start:"end",end:"start"};function eA(e,t,n){return $y(e,Gy(t,n))}function tA(e,t){return"function"==typeof e?e(t):e}function nA(e){return e.split("-")[0]}function rA(e){return e.split("-")[1]}function oA(e){return"x"===e?"y":"x"}function iA(e){return"y"===e?"height":"width"}function aA(e){return["top","bottom"].includes(nA(e))?"y":"x"}function lA(e){return oA(aA(e))}function sA(e){return e.replace(/start|end/g,(e=>Xy[e]))}function uA(e){return e.replace(/left|right|bottom|top/g,(e=>Jy[e]))}function cA(e){return"number"!=typeof e?function(e){return{top:0,right:0,bottom:0,left:0,...e}}(e):{top:e,right:e,bottom:e,left:e}}function dA(e){return{...e,top:e.y,left:e.x,right:e.x+e.width,bottom:e.y+e.height}}function fA(e,t,n){let{reference:r,floating:o}=e;const i=aA(t),a=lA(t),l=iA(a),s=nA(t),u="y"===i,c=r.x+r.width/2-o.width/2,d=r.y+r.height/2-o.height/2,f=r[l]/2-o[l]/2;let p;switch(s){case"top":p={x:c,y:r.y-o.height};break;case"bottom":p={x:c,y:r.y+r.height};break;case"right":p={x:r.x+r.width,y:d};break;case"left":p={x:r.x-o.width,y:d};break;default:p={x:r.x,y:r.y}}switch(rA(t)){case"start":p[a]-=f*(n&&u?-1:1);break;case"end":p[a]+=f*(n&&u?-1:1)}return p}async function pA(e,t){var n;void 0===t&&(t={});const{x:r,y:o,platform:i,rects:a,elements:l,strategy:s}=e,{boundary:u="clippingAncestors",rootBoundary:c="viewport",elementContext:d="floating",altBoundary:f=!1,padding:p=0}=tA(t,e),h=cA(p),g=l[f?"floating"===d?"reference":"floating":d],m=dA(await i.getClippingRect({element:null==(n=await(null==i.isElement?void 0:i.isElement(g)))||n?g:g.contextElement||await(null==i.getDocumentElement?void 0:i.getDocumentElement(l.floating)),boundary:u,rootBoundary:c,strategy:s})),v="floating"===d?{...a.floating,x:r,y:o}:a.reference,b=await(null==i.getOffsetParent?void 0:i.getOffsetParent(l.floating)),y=await(null==i.isElement?void 0:i.isElement(b))&&await(null==i.getScale?void 0:i.getScale(b))||{x:1,y:1},A=dA(i.convertOffsetParentRelativeRectToViewportRelativeRect?await i.convertOffsetParentRelativeRectToViewportRelativeRect({elements:l,rect:v,offsetParent:b,strategy:s}):v);return{top:(m.top-A.top+h.top)/y.y,bottom:(A.bottom-m.bottom+h.bottom)/y.y,left:(m.left-A.left+h.left)/y.x,right:(A.right-m.right+h.right)/y.x}}function hA(e,t){return{top:e.top-t.height,right:e.right-t.width,bottom:e.bottom-t.height,left:e.left-t.width}}function gA(e){return Qy.some((t=>e[t]>=0))}const mA=function(e){return void 0===e&&(e=0),{name:"offset",options:e,async fn(t){var n,r;const{x:o,y:i,placement:a,middlewareData:l}=t,s=await async function(e,t){const{placement:n,platform:r,elements:o}=e,i=await(null==r.isRTL?void 0:r.isRTL(o.floating)),a=nA(n),l=rA(n),s="y"===aA(n),u=["left","top"].includes(a)?-1:1,c=i&&s?-1:1,d=tA(t,e);let{mainAxis:f,crossAxis:p,alignmentAxis:h}="number"==typeof d?{mainAxis:d,crossAxis:0,alignmentAxis:null}:{mainAxis:0,crossAxis:0,alignmentAxis:null,...d};return l&&"number"==typeof h&&(p="end"===l?-1*h:h),s?{x:p*c,y:f*u}:{x:f*u,y:p*c}}(t,e);return a===(null==(n=l.offset)?void 0:n.placement)&&null!=(r=l.arrow)&&r.alignmentOffset?{}:{x:o+s.x,y:i+s.y,data:{...s,placement:a}}}}};function vA(e){const t=Fy(e);let n=parseFloat(t.width)||0,r=parseFloat(t.height)||0;const o=Ry(e),i=o?e.offsetWidth:n,a=o?e.offsetHeight:r,l=Yy(n)!==i||Yy(r)!==a;return l&&(n=i,r=a),{width:n,height:r,$:l}}function bA(e){return Oy(e)?e:e.contextElement}function yA(e){const t=bA(e);if(!Ry(t))return Ky(1);const n=t.getBoundingClientRect(),{width:r,height:o,$:i}=vA(t);let a=(i?Yy(n.width):n.width)/r,l=(i?Yy(n.height):n.height)/o;return a&&Number.isFinite(a)||(a=1),l&&Number.isFinite(l)||(l=1),{x:a,y:l}}const AA=Ky(0);function wA(e){const t=Ty(e);return Iy()&&t.visualViewport?{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}:AA}function xA(e,t,n,r){void 0===t&&(t=!1),void 0===n&&(n=!1);const o=e.getBoundingClientRect(),i=bA(e);let a=Ky(1);t&&(r?Oy(r)&&(a=yA(r)):a=yA(e));const l=function(e,t,n){return void 0===t&&(t=!1),!(!n||t&&n!==Ty(e))&&t}(i,n,r)?wA(i):Ky(0);let s=(o.left+l.x)/a.x,u=(o.top+l.y)/a.y,c=o.width/a.x,d=o.height/a.y;if(i){const e=Ty(i),t=r&&Oy(r)?Ty(r):r;let n=e,o=n.frameElement;for(;o&&r&&t!==n;){const e=yA(o),t=o.getBoundingClientRect(),r=Fy(o),i=t.left+(o.clientLeft+parseFloat(r.paddingLeft))*e.x,a=t.top+(o.clientTop+parseFloat(r.paddingTop))*e.y;s*=e.x,u*=e.y,c*=e.x,d*=e.y,s+=i,u+=a,n=Ty(o),o=n.frameElement}}return dA({width:c,height:d,x:s,y:u})}const EA=[":popover-open",":modal"];function kA(e){return EA.some((t=>{try{return e.matches(t)}catch(e){return!1}}))}function SA(e){return xA(Dy(e)).left+zy(e).scrollLeft}function _A(e,t,n){let r;if("viewport"===t)r=function(e,t){const n=Ty(e),r=Dy(e),o=n.visualViewport;let i=r.clientWidth,a=r.clientHeight,l=0,s=0;if(o){i=o.width,a=o.height;const e=Iy();(!e||e&&"fixed"===t)&&(l=o.offsetLeft,s=o.offsetTop)}return{width:i,height:a,x:l,y:s}}(e,n);else if("document"===t)r=function(e){const t=Dy(e),n=zy(e),r=e.ownerDocument.body,o=$y(t.scrollWidth,t.clientWidth,r.scrollWidth,r.clientWidth),i=$y(t.scrollHeight,t.clientHeight,r.scrollHeight,r.clientHeight);let a=-n.scrollLeft+SA(e);const l=-n.scrollTop;return"rtl"===Fy(r).direction&&(a+=$y(t.clientWidth,r.clientWidth)-o),{width:o,height:i,x:a,y:l}}(Dy(e));else if(Oy(t))r=function(e,t){const n=xA(e,!0,"fixed"===t),r=n.top+e.clientTop,o=n.left+e.clientLeft,i=Ry(e)?yA(e):Ky(1);return{width:e.clientWidth*i.x,height:e.clientHeight*i.y,x:o*i.x,y:r*i.y}}(t,n);else{const n=wA(e);r={...t,x:t.x-n.x,y:t.y-n.y}}return dA(r)}function CA(e,t){const n=Hy(e);return!(n===t||!Oy(n)||jy(n))&&("fixed"===Fy(n).position||CA(n,t))}function TA(e,t,n){const r=Ry(t),o=Dy(t),i="fixed"===n,a=xA(e,!0,i,t);let l={scrollLeft:0,scrollTop:0};const s=Ky(0);if(r||!r&&!i)if(("body"!==Cy(t)||My(o))&&(l=zy(t)),r){const e=xA(t,!0,i,t);s.x=e.x+t.clientLeft,s.y=e.y+t.clientTop}else o&&(s.x=SA(o));return{x:a.left+l.scrollLeft-s.x,y:a.top+l.scrollTop-s.y,width:a.width,height:a.height}}function DA(e,t){return Ry(e)&&"fixed"!==Fy(e).position?t?t(e):e.offsetParent:null}function LA(e,t){const n=Ty(e);if(!Ry(e)||kA(e))return n;let r=DA(e,t);for(;r&&Ny(r)&&"static"===Fy(r).position;)r=DA(r,t);return r&&("html"===Cy(r)||"body"===Cy(r)&&"static"===Fy(r).position&&!By(r))?n:r||function(e){let t=Hy(e);for(;Ry(t)&&!jy(t);){if(By(t))return t;t=Hy(t)}return null}(e)||n}const OA={convertOffsetParentRelativeRectToViewportRelativeRect:function(e){let{elements:t,rect:n,offsetParent:r,strategy:o}=e;const i="fixed"===o,a=Dy(r),l=!!t&&kA(t.floating);if(r===a||l&&i)return n;let s={scrollLeft:0,scrollTop:0},u=Ky(1);const c=Ky(0),d=Ry(r);if((d||!d&&!i)&&(("body"!==Cy(r)||My(a))&&(s=zy(r)),Ry(r))){const e=xA(r);u=yA(r),c.x=e.x+r.clientLeft,c.y=e.y+r.clientTop}return{width:n.width*u.x,height:n.height*u.y,x:n.x*u.x-s.scrollLeft*u.x+c.x,y:n.y*u.y-s.scrollTop*u.y+c.y}},getDocumentElement:Dy,getClippingRect:function(e){let{element:t,boundary:n,rootBoundary:r,strategy:o}=e;const i="clippingAncestors"===n?function(e,t){const n=t.get(e);if(n)return n;let r=Uy(e,[],!1).filter((e=>Oy(e)&&"body"!==Cy(e))),o=null;const i="fixed"===Fy(e).position;let a=i?Hy(e):e;for(;Oy(a)&&!jy(a);){const t=Fy(a),n=By(a);n||"fixed"!==t.position||(o=null),(i?!n&&!o:!n&&"static"===t.position&&o&&["absolute","fixed"].includes(o.position)||My(a)&&!n&&CA(e,a))?r=r.filter((e=>e!==a)):o=t,a=Hy(a)}return t.set(e,r),r}(t,this._c):[].concat(n),a=[...i,r],l=a[0],s=a.reduce(((e,n)=>{const r=_A(t,n,o);return e.top=$y(r.top,e.top),e.right=Gy(r.right,e.right),e.bottom=Gy(r.bottom,e.bottom),e.left=$y(r.left,e.left),e}),_A(t,l,o));return{width:s.right-s.left,height:s.bottom-s.top,x:s.left,y:s.top}},getOffsetParent:LA,getElementRects:async function(e){const t=this.getOffsetParent||LA,n=this.getDimensions;return{reference:TA(e.reference,await t(e.floating),e.strategy),floating:{x:0,y:0,...await n(e.floating)}}},getClientRects:function(e){return Array.from(e.getClientRects())},getDimensions:function(e){const{width:t,height:n}=vA(e);return{width:t,height:n}},getScale:yA,isElement:Oy,isRTL:function(e){return"rtl"===Fy(e).direction}};function RA(e,t,n,r){void 0===r&&(r={});const{ancestorScroll:o=!0,ancestorResize:i=!0,elementResize:a="function"==typeof ResizeObserver,layoutShift:l="function"==typeof IntersectionObserver,animationFrame:s=!1}=r,u=bA(e),c=o||i?[...u?Uy(u):[],...Uy(t)]:[];c.forEach((e=>{o&&e.addEventListener("scroll",n,{passive:!0}),i&&e.addEventListener("resize",n)}));const d=u&&l?function(e,t){let n,r=null;const o=Dy(e);function i(){var e;clearTimeout(n),null==(e=r)||e.disconnect(),r=null}return function a(l,s){void 0===l&&(l=!1),void 0===s&&(s=1),i();const{left:u,top:c,width:d,height:f}=e.getBoundingClientRect();if(l||t(),!d||!f)return;const p={rootMargin:-Zy(c)+"px "+-Zy(o.clientWidth-(u+d))+"px "+-Zy(o.clientHeight-(c+f))+"px "+-Zy(u)+"px",threshold:$y(0,Gy(1,s))||1};let h=!0;function g(e){const t=e[0].intersectionRatio;if(t!==s){if(!h)return a();t?a(!1,t):n=setTimeout((()=>{a(!1,1e-7)}),100)}h=!1}try{r=new IntersectionObserver(g,{...p,root:o.ownerDocument})}catch(e){r=new IntersectionObserver(g,p)}r.observe(e)}(!0),i}(u,n):null;let f,p=-1,h=null;a&&(h=new ResizeObserver((e=>{let[r]=e;r&&r.target===u&&h&&(h.unobserve(t),cancelAnimationFrame(p),p=requestAnimationFrame((()=>{var e;null==(e=h)||e.observe(t)}))),n()})),u&&!s&&h.observe(u),h.observe(t));let g=s?xA(e):null;return s&&function t(){const r=xA(e);!g||r.x===g.x&&r.y===g.y&&r.width===g.width&&r.height===g.height||n(),g=r,f=requestAnimationFrame(t)}(),n(),()=>{var e;c.forEach((e=>{o&&e.removeEventListener("scroll",n),i&&e.removeEventListener("resize",n)})),null==d||d(),null==(e=h)||e.disconnect(),h=null,s&&cancelAnimationFrame(f)}}const PA=function(e){return void 0===e&&(e={}),{name:"shift",options:e,async fn(t){const{x:n,y:r,placement:o}=t,{mainAxis:i=!0,crossAxis:a=!1,limiter:l={fn:e=>{let{x:t,y:n}=e;return{x:t,y:n}}},...s}=tA(e,t),u={x:n,y:r},c=await pA(t,s),d=aA(nA(o)),f=oA(d);let p=u[f],h=u[d];if(i){const e="y"===f?"bottom":"right";p=eA(p+c["y"===f?"top":"left"],p,p-c[e])}if(a){const e="y"===d?"bottom":"right";h=eA(h+c["y"===d?"top":"left"],h,h-c[e])}const g=l.fn({...t,[f]:p,[d]:h});return{...g,data:{x:g.x-n,y:g.y-r}}}}},MA=function(e){return void 0===e&&(e={}),{name:"flip",options:e,async fn(t){var n,r;const{placement:o,middlewareData:i,rects:a,initialPlacement:l,platform:s,elements:u}=t,{mainAxis:c=!0,crossAxis:d=!0,fallbackPlacements:f,fallbackStrategy:p="bestFit",fallbackAxisSideDirection:h="none",flipAlignment:g=!0,...m}=tA(e,t);if(null!=(n=i.arrow)&&n.alignmentOffset)return{};const v=nA(o),b=nA(l)===l,y=await(null==s.isRTL?void 0:s.isRTL(u.floating)),A=f||(b||!g?[uA(l)]:function(e){const t=uA(e);return[sA(e),t,sA(t)]}(l));f||"none"===h||A.push(...function(e,t,n,r){const o=rA(e);let i=function(e,t,n){const r=["left","right"],o=["right","left"],i=["top","bottom"],a=["bottom","top"];switch(e){case"top":case"bottom":return n?t?o:r:t?r:o;case"left":case"right":return t?i:a;default:return[]}}(nA(e),"start"===n,r);return o&&(i=i.map((e=>e+"-"+o)),t&&(i=i.concat(i.map(sA)))),i}(l,g,h,y));const w=[l,...A],x=await pA(t,m),E=[];let k=(null==(r=i.flip)?void 0:r.overflows)||[];if(c&&E.push(x[v]),d){const e=function(e,t,n){void 0===n&&(n=!1);const r=rA(e),o=lA(e),i=iA(o);let a="x"===o?r===(n?"end":"start")?"right":"left":"start"===r?"bottom":"top";return t.reference[i]>t.floating[i]&&(a=uA(a)),[a,uA(a)]}(o,a,y);E.push(x[e[0]],x[e[1]])}if(k=[...k,{placement:o,overflows:E}],!E.every((e=>e<=0))){var S,_;const e=((null==(S=i.flip)?void 0:S.index)||0)+1,t=w[e];if(t)return{data:{index:e,overflows:k},reset:{placement:t}};let n=null==(_=k.filter((e=>e.overflows[0]<=0)).sort(((e,t)=>e.overflows[1]-t.overflows[1]))[0])?void 0:_.placement;if(!n)switch(p){case"bestFit":{var C;const e=null==(C=k.map((e=>[e.placement,e.overflows.filter((e=>e>0)).reduce(((e,t)=>e+t),0)])).sort(((e,t)=>e[1]-t[1]))[0])?void 0:C[0];e&&(n=e);break}case"initialPlacement":n=l}if(o!==n)return{reset:{placement:n}}}return{}}}},NA=function(e){return void 0===e&&(e={}),{name:"size",options:e,async fn(t){const{placement:n,rects:r,platform:o,elements:i}=t,{apply:a=(()=>{}),...l}=tA(e,t),s=await pA(t,l),u=nA(n),c=rA(n),d="y"===aA(n),{width:f,height:p}=r.floating;let h,g;"top"===u||"bottom"===u?(h=u,g=c===(await(null==o.isRTL?void 0:o.isRTL(i.floating))?"start":"end")?"left":"right"):(g=u,h="end"===c?"top":"bottom");const m=p-s[h],v=f-s[g],b=!t.middlewareData.shift;let y=m,A=v;if(d){const e=f-s.left-s.right;A=c||b?Gy(v,e):e}else{const e=p-s.top-s.bottom;y=c||b?Gy(m,e):e}if(b&&!c){const e=$y(s.left,0),t=$y(s.right,0),n=$y(s.top,0),r=$y(s.bottom,0);d?A=f-2*(0!==e||0!==t?e+t:$y(s.left,s.right)):y=p-2*(0!==n||0!==r?n+r:$y(s.top,s.bottom))}await a({...t,availableWidth:A,availableHeight:y});const w=await o.getDimensions(i.floating);return f!==w.width||p!==w.height?{reset:{rects:!0}}:{}}}},BA=function(e){return void 0===e&&(e={}),{name:"hide",options:e,async fn(t){const{rects:n}=t,{strategy:r="referenceHidden",...o}=tA(e,t);switch(r){case"referenceHidden":{const e=hA(await pA(t,{...o,elementContext:"reference"}),n.reference);return{data:{referenceHiddenOffsets:e,referenceHidden:gA(e)}}}case"escaped":{const e=hA(await pA(t,{...o,altBoundary:!0}),n.floating);return{data:{escapedOffsets:e,escaped:gA(e)}}}default:return{}}}}},IA=e=>({name:"arrow",options:e,async fn(t){const{x:n,y:r,placement:o,rects:i,platform:a,elements:l,middlewareData:s}=t,{element:u,padding:c=0}=tA(e,t)||{};if(null==u)return{};const d=cA(c),f={x:n,y:r},p=lA(o),h=iA(p),g=await a.getDimensions(u),m="y"===p,v=m?"top":"left",b=m?"bottom":"right",y=m?"clientHeight":"clientWidth",A=i.reference[h]+i.reference[p]-f[p]-i.floating[h],w=f[p]-i.reference[p],x=await(null==a.getOffsetParent?void 0:a.getOffsetParent(u));let E=x?x[y]:0;E&&await(null==a.isElement?void 0:a.isElement(x))||(E=l.floating[y]||i.floating[h]);const k=A/2-w/2,S=E/2-g[h]/2-1,_=Gy(d[v],S),C=Gy(d[b],S),T=_,D=E-g[h]-C,L=E/2-g[h]/2+k,O=eA(T,L,D),R=!s.arrow&&null!=rA(o)&&L!==O&&i.reference[h]/2-(L<T?_:C)-g[h]/2<0,P=R?L<T?L-T:L-D:0;return{[p]:f[p]+P,data:{[p]:O,centerOffset:L-O-P,...R&&{alignmentOffset:P}},reset:R}}}),jA=function(e){return void 0===e&&(e={}),{options:e,fn(t){const{x:n,y:r,placement:o,rects:i,middlewareData:a}=t,{offset:l=0,mainAxis:s=!0,crossAxis:u=!0}=tA(e,t),c={x:n,y:r},d=aA(o),f=oA(d);let p=c[f],h=c[d];const g=tA(l,t),m="number"==typeof g?{mainAxis:g,crossAxis:0}:{mainAxis:0,crossAxis:0,...g};if(s){const e="y"===f?"height":"width",t=i.reference[f]-i.floating[e]+m.mainAxis,n=i.reference[f]+i.reference[e]-m.mainAxis;p<t?p=t:p>n&&(p=n)}if(u){var v,b;const e="y"===f?"width":"height",t=["top","left"].includes(nA(o)),n=i.reference[d]-i.floating[e]+(t&&(null==(v=a.offset)?void 0:v[d])||0)+(t?0:m.crossAxis),r=i.reference[d]+i.reference[e]+(t?0:(null==(b=a.offset)?void 0:b[d])||0)-(t?m.crossAxis:0);h<n?h=n:h>r&&(h=r)}return{[f]:p,[d]:h}}}},FA=e=>({name:"arrow",options:e,fn(t){const{element:n,padding:r}="function"==typeof e?e(t):e;return n&&(o=n,{}.hasOwnProperty.call(o,"current"))?null!=n.current?IA({element:n.current,padding:r}).fn(t):{}:n?IA({element:n,padding:r}).fn(t):{};var o}});var zA="undefined"!=typeof document?u.useLayoutEffect:u.useEffect;function HA(e,t){if(e===t)return!0;if(typeof e!=typeof t)return!1;if("function"==typeof e&&e.toString()===t.toString())return!0;let n,r,o;if(e&&t&&"object"==typeof e){if(Array.isArray(e)){if(n=e.length,n!==t.length)return!1;for(r=n;0!=r--;)if(!HA(e[r],t[r]))return!1;return!0}if(o=Object.keys(e),n=o.length,n!==Object.keys(t).length)return!1;for(r=n;0!=r--;)if(!{}.hasOwnProperty.call(t,o[r]))return!1;for(r=n;0!=r--;){const n=o[r];if(!("_owner"===n&&e.$$typeof||HA(e[n],t[n])))return!1}return!0}return e!=e&&t!=t}function qA(e){return"undefined"==typeof window?1:(e.ownerDocument.defaultView||window).devicePixelRatio||1}function UA(e,t){const n=qA(e);return Math.round(t*n)/n}function WA(e){const t=u.useRef(e);return zA((()=>{t.current=e})),t}function VA(e){void 0===e&&(e={});const{placement:t="bottom",strategy:n="absolute",middleware:r=[],platform:o,elements:{reference:i,floating:a}={},transform:l=!0,whileElementsMounted:s,open:c}=e,[f,p]=u.useState({x:0,y:0,strategy:n,placement:t,middlewareData:{},isPositioned:!1}),[h,g]=u.useState(r);HA(h,r)||g(r);const[m,v]=u.useState(null),[b,y]=u.useState(null),A=u.useCallback((e=>{e!==k.current&&(k.current=e,v(e))}),[]),w=u.useCallback((e=>{e!==S.current&&(S.current=e,y(e))}),[]),x=i||m,E=a||b,k=u.useRef(null),S=u.useRef(null),_=u.useRef(f),C=null!=s,T=WA(s),D=WA(o),L=u.useCallback((()=>{if(!k.current||!S.current)return;const e={placement:t,strategy:n,middleware:h};D.current&&(e.platform=D.current),((e,t,n)=>{const r=new Map,o={platform:OA,...n},i={...o.platform,_c:r};return(async(e,t,n)=>{const{placement:r="bottom",strategy:o="absolute",middleware:i=[],platform:a}=n,l=i.filter(Boolean),s=await(null==a.isRTL?void 0:a.isRTL(t));let u=await a.getElementRects({reference:e,floating:t,strategy:o}),{x:c,y:d}=fA(u,r,s),f=r,p={},h=0;for(let n=0;n<l.length;n++){const{name:i,fn:g}=l[n],{x:m,y:v,data:b,reset:y}=await g({x:c,y:d,initialPlacement:r,placement:f,strategy:o,middlewareData:p,rects:u,platform:a,elements:{reference:e,floating:t}});c=null!=m?m:c,d=null!=v?v:d,p={...p,[i]:{...p[i],...b}},y&&h<=50&&(h++,"object"==typeof y&&(y.placement&&(f=y.placement),y.rects&&(u=!0===y.rects?await a.getElementRects({reference:e,floating:t,strategy:o}):y.rects),({x:c,y:d}=fA(u,f,s))),n=-1)}return{x:c,y:d,placement:f,strategy:o,middlewareData:p}})(e,t,{...o,platform:i})})(k.current,S.current,e).then((e=>{const t={...e,isPositioned:!0};O.current&&!HA(_.current,t)&&(_.current=t,d.flushSync((()=>{p(t)})))}))}),[h,t,n,D]);zA((()=>{!1===c&&_.current.isPositioned&&(_.current.isPositioned=!1,p((e=>({...e,isPositioned:!1}))))}),[c]);const O=u.useRef(!1);zA((()=>(O.current=!0,()=>{O.current=!1})),[]),zA((()=>{if(x&&(k.current=x),E&&(S.current=E),x&&E){if(T.current)return T.current(x,E,L);L()}}),[x,E,L,T,C]);const R=u.useMemo((()=>({reference:k,floating:S,setReference:A,setFloating:w})),[A,w]),P=u.useMemo((()=>({reference:x,floating:E})),[x,E]),M=u.useMemo((()=>{const e={position:n,left:0,top:0};if(!P.floating)return e;const t=UA(P.floating,f.x),r=UA(P.floating,f.y);return l?{...e,transform:"translate("+t+"px, "+r+"px)",...qA(P.floating)>=1.5&&{willChange:"transform"}}:{position:n,left:t,top:r}}),[n,l,P.floating,f.x,f.y]);return u.useMemo((()=>({...f,update:L,refs:R,elements:P,floatingStyles:M})),[f,L,R,P,M])}const QA=c["useInsertionEffect".toString()]||(e=>e());var GA="undefined"!=typeof document?u.useLayoutEffect:u.useEffect;let $A=!1,YA=0;const ZA=()=>"floating-ui-"+YA++,KA=c["useId".toString()]||function(){const[e,t]=u.useState((()=>$A?ZA():void 0));return GA((()=>{null==e&&t(ZA())}),[]),u.useEffect((()=>{$A||($A=!0)}),[]),e};const JA=u.createContext(null),XA=u.createContext(null),ew=()=>{var e;return(null==(e=u.useContext(JA))?void 0:e.id)||null},tw=()=>u.useContext(XA);function nw(e){return"data-floating-ui-"+e}function rw(e){const t=(0,u.useRef)(e);return GA((()=>{t.current=e})),t}const ow=nw("safe-polygon");function iw(e,t,n){return n&&!Wy(n)?0:"number"==typeof e?e:null==e?void 0:e[t]}function aw(e,t){void 0===t&&(t={});const{open:n,onOpenChange:r,dataRef:o,events:i,elements:{domReference:a,floating:l},refs:s}=e,{enabled:c=!0,delay:d=0,handleClose:f=null,mouseOnly:p=!1,restMs:h=0,move:g=!0}=t,m=tw(),v=ew(),b=rw(f),y=rw(d),A=u.useRef(),w=u.useRef(),x=u.useRef(),E=u.useRef(),k=u.useRef(!0),S=u.useRef(!1),_=u.useRef((()=>{})),C=u.useCallback((()=>{var e;const t=null==(e=o.current.openEvent)?void 0:e.type;return(null==t?void 0:t.includes("mouse"))&&"mousedown"!==t}),[o]);u.useEffect((()=>{if(c)return i.on("openchange",e),()=>{i.off("openchange",e)};function e(e){let{open:t}=e;t||(clearTimeout(w.current),clearTimeout(E.current),k.current=!0)}}),[c,i]),u.useEffect((()=>{if(!c||!b.current||!n)return;function e(e){C()&&r(!1,e,"hover")}const t=Vy(l).documentElement;return t.addEventListener("mouseleave",e),()=>{t.removeEventListener("mouseleave",e)}}),[l,n,r,c,b,C]);const T=u.useCallback((function(e,t,n){void 0===t&&(t=!0),void 0===n&&(n="hover");const o=iw(y.current,"close",A.current);o&&!x.current?(clearTimeout(w.current),w.current=setTimeout((()=>r(!1,e,n)),o)):t&&(clearTimeout(w.current),r(!1,e,n))}),[y,r]),D=u.useCallback((()=>{_.current(),x.current=void 0}),[]),L=u.useCallback((()=>{if(S.current){const e=Vy(s.floating.current).body;e.style.pointerEvents="",e.removeAttribute(ow),S.current=!1}}),[s]);return u.useEffect((()=>{if(c&&Oy(a)){const e=a;return n&&e.addEventListener("mouseleave",u),null==l||l.addEventListener("mouseleave",u),g&&e.addEventListener("mousemove",i,{once:!0}),e.addEventListener("mouseenter",i),e.addEventListener("mouseleave",s),()=>{n&&e.removeEventListener("mouseleave",u),null==l||l.removeEventListener("mouseleave",u),g&&e.removeEventListener("mousemove",i),e.removeEventListener("mouseenter",i),e.removeEventListener("mouseleave",s)}}function t(){return!!o.current.openEvent&&["click","mousedown"].includes(o.current.openEvent.type)}function i(e){if(clearTimeout(w.current),k.current=!1,p&&!Wy(A.current)||h>0&&0===iw(y.current,"open"))return;const t=iw(y.current,"open",A.current);t?w.current=setTimeout((()=>{r(!0,e,"hover")}),t):r(!0,e,"hover")}function s(r){if(t())return;_.current();const o=Vy(l);if(clearTimeout(E.current),b.current){n||clearTimeout(w.current),x.current=b.current({...e,tree:m,x:r.clientX,y:r.clientY,onClose(){L(),D(),T(r,!0,"safe-polygon")}});const t=x.current;return o.addEventListener("mousemove",t),void(_.current=()=>{o.removeEventListener("mousemove",t)})}("touch"!==A.current||!function(e,t){if(!e||!t)return!1;const n=null==t.getRootNode?void 0:t.getRootNode();if(e.contains(t))return!0;if(n&&Py(n)){let n=t;for(;n;){if(e===n)return!0;n=n.parentNode||n.host}}return!1}(l,r.relatedTarget))&&T(r)}function u(n){t()||null==b.current||b.current({...e,tree:m,x:n.clientX,y:n.clientY,onClose(){L(),D(),T(n)}})(n)}}),[a,l,c,e,p,h,g,T,D,L,r,n,m,y,b,o]),GA((()=>{var e;if(c&&n&&null!=(e=b.current)&&e.__options.blockPointerEvents&&C()){const e=Vy(l).body;if(e.setAttribute(ow,""),e.style.pointerEvents="none",S.current=!0,Oy(a)&&l){var t;const e=a,n=null==m||null==(t=m.nodesRef.current.find((e=>e.id===v)))||null==(t=t.context)?void 0:t.elements.floating;return n&&(n.style.pointerEvents=""),e.style.pointerEvents="auto",l.style.pointerEvents="auto",()=>{e.style.pointerEvents="",l.style.pointerEvents=""}}}}),[c,n,v,l,a,m,b,C]),GA((()=>{n||(A.current=void 0,D(),L())}),[n,D,L]),u.useEffect((()=>()=>{D(),clearTimeout(w.current),clearTimeout(E.current),L()}),[c,a,D,L]),u.useMemo((()=>{if(!c)return{};function e(e){A.current=e.pointerType}return{reference:{onPointerDown:e,onPointerEnter:e,onMouseMove(e){n||0===h||(clearTimeout(E.current),E.current=setTimeout((()=>{k.current||r(!0,e.nativeEvent,"hover")}),h))}},floating:{onMouseEnter(){clearTimeout(w.current)},onMouseLeave(e){T(e.nativeEvent,!1)}}}}),[c,h,n,r,T])}const lw="active",sw="selected";function uw(e,t,n){const r=new Map,o="item"===n;let i=e;if(o&&e){const{[lw]:t,[sw]:n,...r}=e;i=r}return{..."floating"===n&&{tabIndex:-1},...i,...t.map((t=>{const r=t?t[n]:null;return"function"==typeof r?e?r(e):null:r})).concat(e).reduce(((e,t)=>t?(Object.entries(t).forEach((t=>{let[n,i]=t;var a;o&&[lw,sw].includes(n)||(0===n.indexOf("on")?(r.has(n)||r.set(n,[]),"function"==typeof i&&(null==(a=r.get(n))||a.push(i),e[n]=function(){for(var e,t=arguments.length,o=new Array(t),i=0;i<t;i++)o[i]=arguments[i];return null==(e=r.get(n))?void 0:e.map((e=>e(...o))).find((e=>void 0!==e))})):e[n]=i)})),e):e),{})}}var cw=new Map;cw.set("bold",(function(e){return u.createElement(u.Fragment,null,u.createElement("polyline",{points:"168 168 216 168 216 40 88 40 88 88",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"24"}),u.createElement("rect",{x:"40",y:"88",width:"128",height:"128",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"24"}))})),cw.set("duotone",(function(e){return u.createElement(u.Fragment,null,u.createElement("polygon",{points:"168 88 168 168 216 168 216 40 88 40 88 88 168 88",opacity:"0.2"}),u.createElement("polyline",{points:"168 168 216 168 216 40 88 40 88 88",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"16"}),u.createElement("rect",{x:"40",y:"88",width:"128",height:"128",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"16"}))})),cw.set("fill",(function(){return u.createElement(u.Fragment,null,u.createElement("path",{d:"M216,32H88a8,8,0,0,0-8,8V80H40a8,8,0,0,0-8,8V216a8,8,0,0,0,8,8H168a8,8,0,0,0,8-8V176h40a8,8,0,0,0,8-8V40A8,8,0,0,0,216,32Zm-8,128H176V88a8,8,0,0,0-8-8H96V48H208Z"}))})),cw.set("light",(function(e){return u.createElement(u.Fragment,null,u.createElement("polyline",{points:"168 168 216 168 216 40 88 40 88 88",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"12"}),u.createElement("rect",{x:"40",y:"88",width:"128",height:"128",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"12"}))})),cw.set("thin",(function(e){return u.createElement(u.Fragment,null,u.createElement("polyline",{points:"168 168 216 168 216 40 88 40 88 88",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"8"}),u.createElement("rect",{x:"40",y:"88",width:"128",height:"128",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"8"}))})),cw.set("regular",(function(e){return u.createElement(u.Fragment,null,u.createElement("polyline",{points:"168 168 216 168 216 40 88 40 88 88",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"16"}),u.createElement("rect",{x:"40",y:"88",width:"128",height:"128",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"16"}))}));var dw=function(e,t){return li(e,t,cw)},fw=(0,u.forwardRef)((function(e,t){return u.createElement(ci,Object.assign({ref:t},e,{renderPath:dw}))}));fw.displayName="Copy";const pw=fw;var hw=new Map;hw.set("bold",(function(e){return u.createElement(u.Fragment,null,u.createElement("path",{d:"M128,88a32,32,0,0,1,32-32h64a8,8,0,0,1,8,8V192a8,8,0,0,1-8,8H160a32,32,0,0,0-32,32",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"24"}),u.createElement("path",{d:"M24,192a8,8,0,0,0,8,8H96a32,32,0,0,1,32,32V88A32,32,0,0,0,96,56H32a8,8,0,0,0-8,8Z",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"24"}))})),hw.set("duotone",(function(e){return u.createElement(u.Fragment,null,u.createElement("path",{d:"M224,56H160a32,32,0,0,0-32,32A32,32,0,0,0,96,56H32a8,8,0,0,0-8,8V192a8,8,0,0,0,8,8H96a32,32,0,0,1,32,32,32,32,0,0,1,32-32h64a8,8,0,0,0,8-8V64A8,8,0,0,0,224,56Z",opacity:"0.2"}),u.createElement("path",{d:"M128,88a32,32,0,0,1,32-32h64a8,8,0,0,1,8,8V192a8,8,0,0,1-8,8H160a32,32,0,0,0-32,32",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"16"}),u.createElement("path",{d:"M24,192a8,8,0,0,0,8,8H96a32,32,0,0,1,32,32V88A32,32,0,0,0,96,56H32a8,8,0,0,0-8,8Z",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"16"}))})),hw.set("fill",(function(){return u.createElement(u.Fragment,null,u.createElement("path",{d:"M96,208a24.1,24.1,0,0,1,24,24,8,8,0,0,0,16,0,24.1,24.1,0,0,1,24-24h64a16,16,0,0,0,16-16V64a16,16,0,0,0-16-16H176a40,40,0,0,0-40,40v80a8,8,0,0,1-16,0V88A40,40,0,0,0,80,48H32A16,16,0,0,0,16,64V192a16,16,0,0,0,16,16Z"}))})),hw.set("light",(function(e){return u.createElement(u.Fragment,null,u.createElement("path",{d:"M128,88a32,32,0,0,1,32-32h64a8,8,0,0,1,8,8V192a8,8,0,0,1-8,8H160a32,32,0,0,0-32,32",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"12"}),u.createElement("path",{d:"M24,192a8,8,0,0,0,8,8H96a32,32,0,0,1,32,32V88A32,32,0,0,0,96,56H32a8,8,0,0,0-8,8Z",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"12"}))})),hw.set("thin",(function(e){return u.createElement(u.Fragment,null,u.createElement("path",{d:"M128,88a32,32,0,0,1,32-32h64a8,8,0,0,1,8,8V192a8,8,0,0,1-8,8H160a32,32,0,0,0-32,32",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"8"}),u.createElement("path",{d:"M24,192a8,8,0,0,0,8,8H96a32,32,0,0,1,32,32V88A32,32,0,0,0,96,56H32a8,8,0,0,0-8,8Z",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"8"}))})),hw.set("regular",(function(e){return u.createElement(u.Fragment,null,u.createElement("path",{d:"M128,88a32,32,0,0,1,32-32h64a8,8,0,0,1,8,8V192a8,8,0,0,1-8,8H160a32,32,0,0,0-32,32",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"16"}),u.createElement("path",{d:"M24,192a8,8,0,0,0,8,8H96a32,32,0,0,1,32,32V88A32,32,0,0,0,96,56H32a8,8,0,0,0-8,8Z",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"16"}))}));var gw=function(e,t){return li(e,t,hw)},mw=(0,u.forwardRef)((function(e,t){return u.createElement(ci,Object.assign({ref:t},e,{renderPath:gw}))}));mw.displayName="BookOpen";const vw=mw;function bw(e){return bw="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},bw(e)}function yw(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Aw(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 ww(e,t){return ww=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},ww(e,t)}function xw(e,t){if(t&&("object"===bw(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}function Ew(e){return Ew=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},Ew(e)}var kw=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&ww(e,t)}(a,e);var t,n,r,o,i=(r=a,o=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=Ew(r);if(o){var n=Ew(this).constructor;e=Reflect.construct(t,arguments,n)}else e=t.apply(this,arguments);return xw(this,e)});function a(){return yw(this,a),i.apply(this,arguments)}return t=a,(n=[{key:"render",value:function(){var e=(this.props.size||26).toString(),t=(this.props.color||"#2A2A2A").toString();return(0,Ie.jsx)("svg",{width:e,height:e,viewBox:"0 0 26 26",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,Ie.jsxs)("g",{children:[(0,Ie.jsx)("path",{d:"M4.40332 7.67383H21.07",stroke:t,strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),(0,Ie.jsx)("path",{d:"M10.6533 11.8418V18.0918",stroke:t,strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),(0,Ie.jsx)("path",{d:"M14.8203 11.8418V18.0918",stroke:t,strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),(0,Ie.jsx)("path",{d:"M5.44531 7.67383L6.48698 20.1738C6.48698 20.7264 6.70647 21.2563 7.09717 21.647C7.48787 22.0377 8.01778 22.2572 8.57031 22.2572H16.9036C17.4562 22.2572 17.9861 22.0377 18.3768 21.647C18.7675 21.2563 18.987 20.7264 18.987 20.1738L20.0286 7.67383",stroke:t,strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),(0,Ie.jsx)("path",{d:"M9.61182 7.67448V4.54948C9.61182 4.27321 9.72156 4.00826 9.91691 3.81291C10.1123 3.61756 10.3772 3.50781 10.6535 3.50781H14.8201C15.0964 3.50781 15.3614 3.61756 15.5567 3.81291C15.7521 4.00826 15.8618 4.27321 15.8618 4.54948V7.67448",stroke:t,strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})]})})}}])&&Aw(t.prototype,n),Object.defineProperty(t,"prototype",{writable:!1}),a}(u.Component);function Sw(e,t,n,r,o,i,a){try{var l=e[i](a),s=l.value}catch(e){return void n(e)}l.done?t(s):Promise.resolve(s).then(r,o)}function _w(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var Cw=function(e){var t=function(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,i=[],a=!0,l=!1;try{for(n=n.call(e);!(a=(r=n.next()).done)&&(i.push(r.value),!t||i.length!==t);a=!0);}catch(e){l=!0,o=e}finally{try{a||null==n.return||n.return()}finally{if(l)throw o}}return i}}(e,t)||function(e,t){if(e){if("string"==typeof e)return _w(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?_w(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}((0,u.useState)(!1),2),n=t[0];return t[1],(0,Ie.jsxs)(Fe,{css:{height:"33px",minWidth:"150px",bg:"$thBackground",display:"flex",pt:"0px",alignItems:"center",justifyContent:"center",border:"1px solid $thBackground5",borderRadius:"5px",gap:"5px",px:"5px",visibility:e.isHovered||n?"visible":"hidden","&:hover":{boxShadow:"0 1px 3px 0 rgba(0, 0, 0, 0.1),0 1px 2px 0 rgba(0, 0, 0, 0.06);"}},children:[(0,Ie.jsx)(ii,{style:"hoverActionIcon",onClick:function(t){var n,r=e.highlight.quote;r&&navigator.clipboard?(n=regeneratorRuntime.mark((function t(){var n;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return n=e.highlight.annotation?"> ".concat(r,"\n").concat(e.highlight.annotation):r,t.next=3,navigator.clipboard.writeText(n);case 3:Nu("Highlight copied",{position:"bottom-right"});case 4:case"end":return t.stop()}}),t)})),function(){var e=this,t=arguments;return new Promise((function(r,o){var i=n.apply(e,t);function a(e){Sw(i,r,o,a,l,"next",e)}function l(e){Sw(i,r,o,a,l,"throw",e)}a(void 0)}))})():Bu("No highlight text.",{position:"bottom-right"}),t.preventDefault()},children:(0,Ie.jsx)(pw,{size:19,color:ge.colors.thNotebookSubtle.toString()})}),(0,Ie.jsx)(ii,{style:"hoverActionIcon",onClick:function(t){e.setLabelsTarget(e.highlight),t.preventDefault()},children:(0,Ie.jsx)(Si,{size:18,color:ge.colors.thNotebookSubtle.toString()})}),(0,Ie.jsx)(ii,{style:"hoverActionIcon",onClick:function(t){e.viewInReader(e.highlight.id),t.preventDefault()},children:(0,Ie.jsx)(vw,{size:18,color:ge.colors.thNotebookSubtle.toString()})}),(0,Ie.jsx)(ii,{style:"hoverActionIcon",onClick:function(t){e.setShowConfirmDeleteHighlightId(e.highlight.id),t.preventDefault()},children:(0,Ie.jsx)(kw,{size:18,color:ge.colors.thNotebookSubtle.toString()})})]})};function Tw(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 Dw(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Tw(Object(n),!0).forEach((function(t){Lw(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Tw(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Lw(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Ow(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,i=[],a=!0,l=!1;try{for(n=n.call(e);!(a=(r=n.next()).done)&&(i.push(r.value),!t||i.length!==t);a=!0);}catch(e){l=!0,o=e}finally{try{a||null==n.return||n.return()}finally{if(l)throw o}}return i}}(e,t)||function(e,t){if(e){if("string"==typeof e)return Rw(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Rw(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Rw(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var Pw=he(qe,{p:"0px",margin:"0px 0px 0px 0px",fontSize:"18px",lineHeight:"27px",borderRadius:"4px",width:"100%"});function Mw(e){var t,n,r=Ow((0,u.useState)("preview"),2),o=r[0],i=r[1],a=Ow((0,u.useState)(!1),2),l=a[0],s=function(e){var t;void 0===e&&(e={});const{open:n=!1,onOpenChange:r,nodeId:o}=e,[i,a]=u.useState(null),l=(null==(t=e.elements)?void 0:t.reference)||i,s=VA(e),c=tw(),d=null!=ew(),f=function(e){const t=u.useRef((()=>{}));return QA((()=>{t.current=e})),u.useCallback((function(){for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];return null==t.current?void 0:t.current(...n)}),[])}(((e,t,n)=>{e&&(h.current.openEvent=t),g.emit("openchange",{open:e,event:t,reason:n,nested:d}),null==r||r(e,t,n)})),p=u.useRef(null),h=u.useRef({}),g=u.useState((()=>function(){const e=new Map;return{emit(t,n){var r;null==(r=e.get(t))||r.forEach((e=>e(n)))},on(t,n){e.set(t,[...e.get(t)||[],n])},off(t,n){var r;e.set(t,(null==(r=e.get(t))?void 0:r.filter((e=>e!==n)))||[])}}}()))[0],m=KA(),v=u.useCallback((e=>{const t=Oy(e)?{getBoundingClientRect:()=>e.getBoundingClientRect(),contextElement:e}:e;s.refs.setReference(t)}),[s.refs]),b=u.useCallback((e=>{(Oy(e)||null===e)&&(p.current=e,a(e)),(Oy(s.refs.reference.current)||null===s.refs.reference.current||null!==e&&!Oy(e))&&s.refs.setReference(e)}),[s.refs]),y=u.useMemo((()=>({...s.refs,setReference:b,setPositionReference:v,domReference:p})),[s.refs,b,v]),A=u.useMemo((()=>({...s.elements,domReference:l})),[s.elements,l]),w=u.useMemo((()=>({...s,refs:y,elements:A,dataRef:h,nodeId:o,floatingId:m,events:g,open:n,onOpenChange:f})),[s,o,m,g,n,f,y,A]);return GA((()=>{const e=null==c?void 0:c.nodesRef.current.find((e=>e.id===o));e&&(e.context=w)})),u.useMemo((()=>({...s,context:w,refs:y,elements:A})),[s,y,A,w])}({open:l,onOpenChange:a[1],middleware:[mA({mainAxis:-25}),NA()],placement:"top-end",whileElementsMounted:RA}),c=s.refs,d=s.floatingStyles,f=function(e){void 0===e&&(e=[]);const t=e,n=u.useCallback((t=>uw(t,e,"reference")),t),r=u.useCallback((t=>uw(t,e,"floating")),t),o=u.useCallback((t=>uw(t,e,"item")),e.map((e=>null==e?void 0:e.item)));return u.useMemo((()=>({getReferenceProps:n,getFloatingProps:r,getItemProps:o})),[n,r,o])}([aw(s.context)]),p=f.getReferenceProps,h=f.getFloatingProps,g=rt(e.highlight.color);return(0,Ie.jsxs)(We,Dw(Dw({ref:c.setReference},p()),{},{css:{p:"0px",width:"100%"},children:[(0,Ie.jsx)(Fe,Dw(Dw({ref:c.setFloating,style:d},h()),{},{children:(0,Ie.jsx)(Cw,{viewer:e.viewer,highlight:e.highlight,isHovered:null!=l&&l,viewInReader:e.viewInReader,setLabelsTarget:e.setLabelsTarget,setShowConfirmDeleteHighlightId:e.setShowConfirmDeleteHighlightId})})),(0,Ie.jsxs)(We,{css:{width:"100%","@mdDown":{padding:"0px"}},children:[(0,Ie.jsx)(Pw,{children:(0,Ie.jsx)(ze,{css:{"> *":{display:"inline",padding:"3px",backgroundColor:"rgba(".concat(g,", var(--colors-highlight_background_alpha))"),boxDecorationBreak:"clone",borderRadius:"2px"},"> ul":{display:"block",boxShadow:"unset",backgroundColor:"unset"},fontSize:"15px",lineHeight:1.5,color:"$thTextSubtle2",img:{display:"block",margin:"0.5em auto !important",maxWidth:"100% !important",height:"auto"}},children:(0,Ie.jsx)(jv,{children:null!==(t=e.highlight.quote)&&void 0!==t?t:"",remarkPlugins:[my]})})}),(0,Ie.jsx)(Fe,{css:{display:"block",pt:"5px"},children:null===(n=e.highlight.labels)||void 0===n?void 0:n.map((function(e,t){var n=e.name,r=e.color;return(0,Ie.jsx)(rf,{text:n||"",color:r},t)}))}),(0,Ie.jsx)(Ue,{css:{width:"100%",pt:"15px","@mdDown":{p:"10px"}},alignment:"start",distribution:"start",children:(0,Ie.jsx)(Sy,{targetId:e.highlight.id,text:e.highlight.annotation,placeHolder:"Add notes to this highlight...",highlight:e.highlight,mode:o,setEditMode:i,updateHighlight:e.updateHighlight})})]})]}))}function Nw(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function Bw(e){var t=function(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,i=[],a=!0,l=!1;try{for(n=n.call(e);!(a=(r=n.next()).done)&&(i.push(r.value),!t||i.length!==t);a=!0);}catch(e){l=!0,o=e}finally{try{a||null==n.return||n.return()}finally{if(l)throw o}}return i}}(e,t)||function(e,t){if(e){if("string"==typeof e)return Nw(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Nw(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}((0,u.useState)(!1),2),n=(t[0],t[1]);return(0,Ie.jsx)(Ue,{css:{width:"100%",pt:"0px",pb:"0px"},onMouseEnter:function(){return n(!0)},onMouseLeave:function(){return n(!1)},children:(0,Ie.jsxs)(We,{css:{width:"100%",height:"100%"},children:[(0,Ie.jsx)(Mw,{viewer:e.viewer,item:e.item,highlight:e.highlight,updateHighlight:e.updateHighlight,viewInReader:e.viewInReader,setLabelsTarget:e.setSetLabelsTarget,setShowConfirmDeleteHighlightId:e.setShowConfirmDeleteHighlightId}),(0,Ie.jsx)(ze,{css:{mb:"15px"}})]})})}function Iw(e){var t;return(0,Ie.jsxs)(ks,{defaultOpen:!0,onOpenChange:e.onOpenChange,children:[(0,Ie.jsx)(_s,{}),(0,Ie.jsx)(Ts,{css:{bg:"$grayBg",maxWidth:"20em",zIndex:"20"},children:(0,Ie.jsxs)(We,{alignment:"center",distribution:"center",css:{p:"15px"},children:[e.icon?e.icon:null,e.richMessage?e.richMessage:(0,Ie.jsx)(wo,{children:e.message}),(0,Ie.jsxs)(Ue,{distribution:"center",css:{pt:"$2"},children:[(0,Ie.jsx)(ii,{style:"ctaOutlineYellow",css:{mr:"$2"},onClick:function(){return e.onOpenChange(!1)},onKeyDown:function(t){"Enter"===t.key&&(t.preventDefault(),e.onOpenChange(!1))},children:e.cancelButtonLabel?e.cancelButtonLabel:"Cancel"}),(0,Ie.jsx)(ii,{style:"ctaDarkYellow",onClick:e.onAccept,onKeyDown:function(t){"Enter"===t.key&&(t.preventDefault(),e.onAccept())},children:null!==(t=e.acceptButtonLabel)&&void 0!==t?t:"Confirm"})]})]})})]})}var jw=new Map;jw.set("bold",(function(e){return u.createElement(u.Fragment,null,u.createElement("path",{d:"M216,91.3V208a8,8,0,0,1-8,8H48a8,8,0,0,1-8-8V48a8,8,0,0,1,8-8H164.7a7.9,7.9,0,0,1,5.6,2.3l43.4,43.4A7.9,7.9,0,0,1,216,91.3Z",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"24"}),u.createElement("path",{d:"M80,216V152a8,8,0,0,1,8-8h80a8,8,0,0,1,8,8v64",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"24"}),u.createElement("line",{x1:"152",y1:"80",x2:"96",y2:"80",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"24"}))})),jw.set("duotone",(function(e){return u.createElement(u.Fragment,null,u.createElement("path",{d:"M80,216V152a8,8,0,0,1,8-8h80a8,8,0,0,1,8,8v64h32a8,8,0,0,0,8-8V91.3a7.9,7.9,0,0,0-2.3-5.6L170.3,42.3a7.9,7.9,0,0,0-5.6-2.3H48a8,8,0,0,0-8,8V208a8,8,0,0,0,8,8Z",opacity:"0.2"}),u.createElement("path",{d:"M216,91.3V208a8,8,0,0,1-8,8H48a8,8,0,0,1-8-8V48a8,8,0,0,1,8-8H164.7a7.9,7.9,0,0,1,5.6,2.3l43.4,43.4A7.9,7.9,0,0,1,216,91.3Z",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"16"}),u.createElement("path",{d:"M80,216V152a8,8,0,0,1,8-8h80a8,8,0,0,1,8,8v64",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"16"}),u.createElement("line",{x1:"152",y1:"72",x2:"96",y2:"72",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"16"}))})),jw.set("fill",(function(){return u.createElement(u.Fragment,null,u.createElement("path",{d:"M219.3,80,176,36.7A15.9,15.9,0,0,0,164.7,32H48A16,16,0,0,0,32,48V208a16,16,0,0,0,16,16H208a16,16,0,0,0,16-16V91.3A15.9,15.9,0,0,0,219.3,80ZM208,91.3V208H184V152a16,16,0,0,0-16-16H88a16,16,0,0,0-16,16v56H48V48H164.7L208,91.3ZM160,72a8,8,0,0,1-8,8H96a8,8,0,0,1,0-16h56A8,8,0,0,1,160,72Z"}))})),jw.set("light",(function(e){return u.createElement(u.Fragment,null,u.createElement("path",{d:"M216,91.3V208a8,8,0,0,1-8,8H48a8,8,0,0,1-8-8V48a8,8,0,0,1,8-8H164.7a7.9,7.9,0,0,1,5.6,2.3l43.4,43.4A7.9,7.9,0,0,1,216,91.3Z",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"12"}),u.createElement("path",{d:"M80,216V152a8,8,0,0,1,8-8h80a8,8,0,0,1,8,8v64",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"12"}),u.createElement("line",{x1:"152",y1:"72",x2:"96",y2:"72",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"12"}))})),jw.set("thin",(function(e){return u.createElement(u.Fragment,null,u.createElement("path",{d:"M216,91.3V208a8,8,0,0,1-8,8H48a8,8,0,0,1-8-8V48a8,8,0,0,1,8-8H164.7a7.9,7.9,0,0,1,5.6,2.3l43.4,43.4A7.9,7.9,0,0,1,216,91.3Z",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"8"}),u.createElement("path",{d:"M80,216V152a8,8,0,0,1,8-8h80a8,8,0,0,1,8,8v64",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"8"}),u.createElement("line",{x1:"152",y1:"72",x2:"96",y2:"72",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"8"}))})),jw.set("regular",(function(e){return u.createElement(u.Fragment,null,u.createElement("path",{d:"M216,91.3V208a8,8,0,0,1-8,8H48a8,8,0,0,1-8-8V48a8,8,0,0,1,8-8H164.7a7.9,7.9,0,0,1,5.6,2.3l43.4,43.4A7.9,7.9,0,0,1,216,91.3Z",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"16"}),u.createElement("path",{d:"M80,216V152a8,8,0,0,1,8-8h80a8,8,0,0,1,8,8v64",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"16"}),u.createElement("line",{x1:"152",y1:"72",x2:"96",y2:"72",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"16"}))}));var Fw=function(e,t){return li(e,t,jw)},zw=(0,u.forwardRef)((function(e,t){return u.createElement(ci,Object.assign({ref:t},e,{renderPath:Fw}))}));zw.displayName="FloppyDisk";const Hw=zw;function qw(e){return qw="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},qw(e)}function Uw(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 Ww(e,t){return Ww=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},Ww(e,t)}function Vw(e,t){if(t&&("object"===qw(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}function Qw(e){return Qw=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},Qw(e)}function Gw(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var $w=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&Ww(e,t)}(a,e);var t,n,r,o,i=(r=a,o=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=Qw(r);if(o){var n=Qw(this).constructor;e=Reflect.construct(t,arguments,n)}else e=t.apply(this,arguments);return Vw(this,e)});function a(e){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,a),i.call(this,e)}return t=a,(n=[{key:"render",value:function(){return(0,Ie.jsx)(ii,{style:"plainIcon",css:{display:"flex",pr:"5px"},onClick:function(e){document.dispatchEvent(new Event("saveMarkdownNote")),e.preventDefault()},children:(0,Ie.jsx)(Hw,{size:18,weight:"bold",color:"#757575"})})}}])&&Uw(t.prototype,n),Object.defineProperty(t,"prototype",{writable:!1}),a}(Rf);function Yw(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 Zw(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Yw(Object(n),!0).forEach((function(t){Kw(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Yw(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Kw(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}Gw($w,"pluginName","save"),Gw($w,"align","right");var Jw,Xw=new(lf());function ex(e){var t=(0,u.useCallback)((function(t){e.saveText(t)}),[e]);return(0,Ie.jsx)(tx,{targetId:e.targetId,placeHolder:e.placeHolder,text:e.text,setText:e.setText,saveText:t,fillBackground:!1})}function tx(e){var t=(0,u.useRef)(null),n=et(),r=(0,u.useRef)(e.saveText);(0,u.useEffect)((function(){r.current=e.saveText}),[e]);var o=(0,u.useMemo)((function(){return $u()((function(e){var t;null===(t=r.current)||void 0===t||t.call(r,e)}),3e3)}),[]),i=(0,u.useCallback)((function(t,n){e.setText(t.text),n&&n.preventDefault(),o(t.text)}),[]);return(0,u.useEffect)((function(){var n=function(){var n,r=null===(n=t.current)||void 0===n?void 0:n.getMdValue();r&&e.saveText(r)};return document.addEventListener("saveMarkdownNote",n),function(){document.removeEventListener("saveMarkdownNote",n)}}),[e,t]),(0,Ie.jsx)(We,{css:Zw({width:"100%"},vy(n)),onKeyDown:function(e){"escape"===e.code.toLowerCase()&&(e.preventDefault(),e.stopPropagation())},children:(0,Ie.jsx)(Rp,{ref:t,value:e.text,placeholder:e.placeHolder,view:{menu:!0,md:!0,html:!1},canView:{menu:!0,md:!0,html:!0,both:!1,fullScreen:!1,hideMenu:!1},plugins:["tab-insert","header","font-bold","font-italic","font-underline","font-strikethrough","list-unordered","list-ordered","block-quote","link","auto-resize","save"],style:{width:"100%",height:"180px"},renderHTML:function(e){return Xw.render(e)},onChange:i},"note-editor")})}Rp.use(Op.TabInsert,{tabMapValue:1}),Rp.use($w);var nx,rx,ox,ix=(0,Rs.gql)(Jw||(Jw=function(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}(["\n fragment ArticleFields on Article {\n id\n title\n url\n author\n image\n savedAt\n createdAt\n publishedAt\n contentReader\n originalArticleUrl\n readingProgressPercent\n readingProgressTopPercent\n readingProgressAnchorIndex\n slug\n folder\n isArchived\n description\n linkId\n state\n wordsCount\n }\n"])));(ox=nx||(nx={})).SUCCEEDED="SUCCEEDED",ox.PROCESSING="PROCESSING",ox.FAILED="FAILED",function(e){e.ARTICLE="ARTICLE",e.BOOK="BOOK",e.FILE="FILE",e.PROFILE="PROFILE",e.WEBSITE="WEBSITE",e.HIGHLIGHTS="HIGHLIGHTS",e.UNKNOWN="UNKNOWN"}(rx||(rx={}));var ax,lx=function(){};lx(),"undefined"==typeof window||"Deno"in window?u.useEffect:u.useLayoutEffect,new WeakMap;var sx,ux=(0,Rs.gql)(ax||(ax=function(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}(["\n fragment RecommendationFields on Recommendation {\n id\n name\n note\n user {\n userId\n name\n username\n profileImageURL\n }\n recommendedAt\n }\n"]))),cx=(0,Rs.gql)(sx||(sx=function(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}(["\n query GetArticle(\n $username: String!\n $slug: String!\n $includeFriendsHighlights: Boolean\n ) {\n article(username: $username, slug: $slug) {\n ... on ArticleSuccess {\n article {\n ...ArticleFields\n content\n highlights(input: { includeFriends: $includeFriendsHighlights }) {\n ...HighlightFields\n }\n labels {\n ...LabelFields\n }\n recommendations {\n ...RecommendationFields\n }\n }\n }\n ... on ArticleError {\n errorCodes\n }\n }\n }\n ","\n ","\n ","\n ","\n"])),ix,Qd,Qu,ux);function dx(e){var t,n=e.username,r=e.slug,o=e.includeFriendsHighlights,i=Hc(r?[cx,n,r,o]:null,(t={username:n,slug:r,includeFriendsHighlights:o},function(e){return Us(e,t,!0)})),a=i.data,l=i.error,s=i.mutate,u=a,c=l;return!l&&u&&u.article.errorCodes&&(c=u.article.errorCodes,u=void 0),{mutate:s,articleData:u,isLoading:!l&&!a,articleFetchError:c?Array(c):null}}function fx(e,t,n,r,o,i,a){try{var l=e[i](a),s=l.value}catch(e){return void n(e)}l.done?t(s):Promise.resolve(s).then(r,o)}function px(e){return function(){var t=this,n=arguments;return new Promise((function(r,o){var i=e.apply(t,n);function a(e){fx(i,r,o,a,l,"next",e)}function l(e){fx(i,r,o,a,l,"throw",e)}a(void 0)}))}}function hx(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,i=[],a=!0,l=!1;try{for(n=n.call(e);!(a=(r=n.next()).done)&&(i.push(r.value),!t||i.length!==t);a=!0);}catch(e){l=!0,o=e}finally{try{a||null==n.return||n.return()}finally{if(l)throw o}}return i}}(e,t)||function(e,t){if(e){if("string"==typeof e)return gx(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?gx(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function gx(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var mx=function(e){return(new To.diff_match_patch).patch_fromText(e)[0].start1||void 0};function vx(e){var t=et(),n=dx({slug:e.item.slug,username:e.viewer.profile.username,includeFriendsHighlights:!1}),r=n.articleData,o=n.mutate,i=hx((0,u.useState)(""),2),a=i[0],l=i[1],s=hx((0,u.useState)(void 0),2),c=s[0],d=s[1],f=hx((0,u.useState)(void 0),2),p=f[0],h=f[1],g=(0,u.useRef)({isCreating:!1,note:void 0,createStarted:void 0}),m=(0,u.useMemo)((function(){return ta()}),[]),v=(0,u.useCallback)((function(t,n,r){px(regeneratorRuntime.mark((function o(){return regeneratorRuntime.wrap((function(o){for(;;)switch(o.prev=o.next){case 0:return o.next=2,Ys({libraryItemId:e.item.id,highlightId:t.id,annotation:n});case 2:o.sent?O(r):S("Error saving");case 4:case"end":return o.stop()}}),o)})))()}),[e]),b=(0,u.useCallback)((function(t){g.current.isCreating=!0,g.current.createStarted=new Date,px(regeneratorRuntime.mark((function n(){var r;return regeneratorRuntime.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return n.prev=0,n.next=3,Zd({id:m,shortId:na(8),type:"NOTE",articleId:e.item.id,annotation:t});case 3:(r=n.sent)?(g.current.note=r,g.current.isCreating=!1):S("Error creating note"),n.next=12;break;case 7:n.prev=7,n.t0=n.catch(0),console.error("error creating note: ",n.t0),g.current.isCreating=!1,S("Error creating note");case 12:case"end":return n.stop()}}),n,null,[[0,7]])})))()}),[e,m]),y=(0,u.useMemo)((function(){var e=null==r?void 0:r.article.article.highlights,t=null==e?void 0:e.find((function(e){return"NOTE"===e.type}));return t?(g.current.note=t,g.current.isCreating=!1,l(t.annotation||"")):l(""),e}),[r]);(0,u.useEffect)((function(){y&&e.onAnnotationsChanged&&e.onAnnotationsChanged(y)}),[e,y]);var A=(0,u.useMemo)((function(){var e=function(e,t){return e<t?-1:e>t?1:0};return(null!=y?y:[]).filter((function(e){return"HIGHLIGHT"===e.type})).sort((function(t,n){if(t.highlightPositionPercent&&n.highlightPositionPercent)return e(t.highlightPositionPercent,n.highlightPositionPercent);try{var r=mx(t.patch),o=mx(n.patch);if(r&&o)return e(r,o)}catch(e){}return t.createdAt.localeCompare(n.createdAt)}))}),[y]),w=(0,u.useCallback)((function(e){var t=new Date;if(T(t),g.current.note)v(g.current.note,e,t);else if(g.current.isCreating){if(g.current.createStarted&&(new Date).getTime()-g.current.createStarted.getTime()>4e3)return void b(e)}else b(e)}),[g,b,v]),x=(0,u.useCallback)((function(){px(regeneratorRuntime.mark((function t(){return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:null==y||y.filter((function(e){return"NOTE"===e.type})).forEach(function(){var t=px(regeneratorRuntime.mark((function t(n){return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,tf(e.item.id,n.id);case 2:t.sent||Bu("Error deleting note");case 4:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}()),g.current.note=void 0;case 2:case"end":return t.stop()}}),t)})))(),l("")}),[e,g,y]),E=hx((0,u.useState)(void 0),2),k=E[0],S=E[1],_=hx((0,u.useState)(void 0),2),C=_[0],T=_[1],D=hx((0,u.useState)(void 0),2),L=D[0],O=D[1];return(0,u.useEffect)((function(){var e=function(){o()};return document.addEventListener("highlightsUpdated",e),function(){document.removeEventListener("highlightsUpdated",e)}}),[o]),(0,Ie.jsxs)(We,{tabIndex:-1,distribution:"start",css:{height:"100%",width:"100%",px:"20px","@mdDown":{p:"15px"}},children:[(0,Ie.jsxs)(Ie.Fragment,{children:[(0,Ie.jsx)(Ue,{alignment:"start",distribution:"start",css:{width:"100%",gap:"10px",mt:"25px"},children:(0,Ie.jsx)(ex,{targetId:e.item.id,text:a,setText:l,placeHolder:"Add notes to this document...",saveText:w})}),(0,Ie.jsxs)(Ue,{css:{minHeight:"15px",width:"100%",fontSize:"9px",mt:"5px",color:"$thTextSubtle"},alignment:"start",distribution:"start",children:[k&&(0,Ie.jsx)(ze,{css:{width:"100%",fontSize:"9px",mt:"5px"},children:k}),void 0!==L?(0,Ie.jsx)(Ie.Fragment,{children:C===L?"Saved":"Last saved ".concat(ko(L.toISOString()))}):null]})]}),(0,Ie.jsxs)(We,{css:{mt:"25px",gap:"25px"},children:[A.map((function(t){return(0,Ie.jsx)(Bw,{item:e.item,viewer:e.viewer,highlight:t,viewInReader:e.viewInReader,setSetLabelsTarget:h,setShowConfirmDeleteHighlightId:d,updateHighlight:function(){o()}},t.id)})),0===A.length&&(0,Ie.jsx)(Fe,{css:{p:"10px",mt:"15px",width:"100%",fontSize:"13px",color:"$thTextSubtle",alignItems:"center",justifyContent:"center",mb:"100px",bg:t?"#3D3D3D":"$thBackground",borderRadius:"6px",boxShadow:"0px 4px 4px rgba(33, 33, 33, 0.1)"},children:"You have not added any highlights to this document."}),(0,Ie.jsx)(Fe,{css:{width:"100%",height:"320px"}})]}),c&&(0,Ie.jsx)(Iw,{message:"Are you sure you want to delete this highlight?",onAccept:function(){px(regeneratorRuntime.mark((function t(){var n,r,i;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return n=c,t.next=3,tf(e.item.id,c);case 3:r=t.sent,o(),r?(Nu("Highlight deleted.",{position:"bottom-right"}),i=new CustomEvent("deleteHighlightbyId",{detail:n}),document.dispatchEvent(i)):Bu("Error deleting highlight",{position:"bottom-right"});case 6:case"end":return t.stop()}}),t)})))(),d(void 0)},onOpenChange:function(){return d(void 0)},icon:(0,Ie.jsx)(kw,{size:40,color:ge.colors.grayTextContrast.toString()})}),p&&(0,Ie.jsx)(jd,{highlight:p,highlightId:p.id,onUpdate:function(e){console.log("update highlight: ",e)},onOpenChange:function(){o(),h(void 0)}}),e.showConfirmDeleteNote&&(0,Ie.jsx)(Iw,{message:"Are you sure you want to delete the note from this document?",acceptButtonLabel:"Delete",onAccept:function(){x(),e.setShowConfirmDeleteNote&&e.setShowConfirmDeleteNote(!1)},onOpenChange:function(){e.setShowConfirmDeleteNote&&e.setShowConfirmDeleteNote(!1)}})]})}var bx=new Map;bx.set("bold",(function(e){return u.createElement(u.Fragment,null,u.createElement("line",{x1:"88",y1:"48",x2:"88",y2:"208",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"24"}),u.createElement("rect",{x:"32",y:"48",width:"192",height:"160",rx:"8",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"24"}),u.createElement("line",{x1:"32",y1:"88",x2:"88",y2:"88",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"24"}),u.createElement("line",{x1:"32",y1:"128",x2:"88",y2:"128",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"24"}))})),bx.set("duotone",(function(e){return u.createElement(u.Fragment,null,u.createElement("path",{d:"M40,208a8,8,0,0,1-8-8V56a8,8,0,0,1,8-8H88V208Z",opacity:"0.2"}),u.createElement("line",{x1:"88",y1:"48",x2:"88",y2:"208",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"16"}),u.createElement("rect",{x:"32",y:"48",width:"192",height:"160",rx:"8",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"16"}),u.createElement("line",{x1:"32",y1:"80",x2:"56",y2:"80",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"16"}),u.createElement("line",{x1:"32",y1:"112",x2:"56",y2:"112",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"16"}),u.createElement("line",{x1:"32",y1:"144",x2:"56",y2:"144",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"16"}))})),bx.set("fill",(function(){return u.createElement(u.Fragment,null,u.createElement("path",{d:"M216,40H40A16,16,0,0,0,24,56V200a16,16,0,0,0,16,16H216a16,16,0,0,0,16-16V56A16,16,0,0,0,216,40ZM64,152H48a8,8,0,0,1,0-16H64a8,8,0,0,1,0,16Zm0-32H48a8,8,0,0,1,0-16H64a8,8,0,0,1,0,16Zm0-32H48a8,8,0,0,1,0-16H64a8,8,0,0,1,0,16ZM216,200H88V56H216V200Z"}))})),bx.set("light",(function(e){return u.createElement(u.Fragment,null,u.createElement("line",{x1:"88",y1:"48",x2:"88",y2:"208",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"12"}),u.createElement("rect",{x:"32",y:"48",width:"192",height:"160",rx:"8",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"12"}),u.createElement("line",{x1:"32",y1:"80",x2:"56",y2:"80",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"12"}),u.createElement("line",{x1:"32",y1:"112",x2:"56",y2:"112",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"12"}),u.createElement("line",{x1:"32",y1:"144",x2:"56",y2:"144",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"12"}))})),bx.set("thin",(function(e){return u.createElement(u.Fragment,null,u.createElement("line",{x1:"88",y1:"48",x2:"88",y2:"208",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"8"}),u.createElement("rect",{x:"32",y:"48",width:"192",height:"160",rx:"8",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"8"}),u.createElement("line",{x1:"32",y1:"80",x2:"56",y2:"80",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"8"}),u.createElement("line",{x1:"32",y1:"112",x2:"56",y2:"112",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"8"}),u.createElement("line",{x1:"32",y1:"144",x2:"56",y2:"144",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"8"}))})),bx.set("regular",(function(e){return u.createElement(u.Fragment,null,u.createElement("line",{x1:"88",y1:"48",x2:"88",y2:"208",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"16"}),u.createElement("rect",{x:"32",y:"48",width:"192",height:"160",rx:"8",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"16"}),u.createElement("line",{x1:"32",y1:"80",x2:"56",y2:"80",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"16"}),u.createElement("line",{x1:"32",y1:"112",x2:"56",y2:"112",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"16"}),u.createElement("line",{x1:"32",y1:"144",x2:"56",y2:"144",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"16"}))}));var yx=function(e,t){return li(e,t,bx)},Ax=(0,u.forwardRef)((function(e,t){return u.createElement(ci,Object.assign({ref:t},e,{renderPath:yx}))}));Ax.displayName="Sidebar";const wx=Ax;function xx(e){return xx="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},xx(e)}function Ex(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function kx(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 Sx(e,t){return Sx=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},Sx(e,t)}function _x(e,t){if(t&&("object"===xx(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}function Cx(e){return Cx=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},Cx(e)}var Tx=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&Sx(e,t)}(a,e);var t,n,r,o,i=(r=a,o=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=Cx(r);if(o){var n=Cx(this).constructor;e=Reflect.construct(t,arguments,n)}else e=t.apply(this,arguments);return _x(this,e)});function a(){return Ex(this,a),i.apply(this,arguments)}return t=a,(n=[{key:"render",value:function(){var e=(this.props.size||26).toString(),t=(this.props.color||"#2A2A2A").toString();return(0,Ie.jsx)("svg",{width:e,height:e,viewBox:"0 0 26 26",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,Ie.jsxs)("g",{children:[(0,Ie.jsx)("path",{d:"M9.19727 9.54199H8.1556C7.60306 9.54199 7.07316 9.76149 6.68246 10.1522C6.29176 10.5429 6.07227 11.0728 6.07227 11.6253V19.9587C6.07227 20.5112 6.29176 21.0411 6.68246 21.4318C7.07316 21.8225 7.60306 22.042 8.1556 22.042H18.5723C19.1248 22.042 19.6547 21.8225 20.0454 21.4318C20.4361 21.0411 20.6556 20.5112 20.6556 19.9587V11.6253C20.6556 11.0728 20.4361 10.5429 20.0454 10.1522C19.6547 9.76149 19.1248 9.54199 18.5723 9.54199H17.5306",stroke:t,strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),(0,Ie.jsx)("path",{d:"M13.3643 14.7503V3.29199",stroke:t,strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),(0,Ie.jsx)("path",{d:"M10.2393 6.41699L13.3643 3.29199L16.4893 6.41699",stroke:t,strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})]})})}}])&&kx(t.prototype,n),Object.defineProperty(t,"prototype",{writable:!1}),a}(u.Component);function Dx(e){const t=e+"CollectionProvider",[n,r]=Aa(t),[o,i]=n(t,{collectionRef:{current:null},itemMap:new Map}),a=e+"CollectionSlot",l=e+"CollectionItemSlot",s="data-radix-collection-item";return[{Provider:e=>{const{scope:t,children:n}=e,r=u.useRef(null),i=u.useRef(new Map).current;return u.createElement(o,{scope:t,itemMap:i,collectionRef:r},n)},Slot:u.forwardRef(((e,t)=>{const{scope:n,children:r}=e,o=ya(t,i(a,n).collectionRef);return u.createElement(Ta,{ref:o},r)})),ItemSlot:u.forwardRef(((e,t)=>{const{scope:n,children:r,...o}=e,a=u.useRef(null),c=ya(t,a),d=i(l,n);return u.useEffect((()=>(d.itemMap.set(a,{ref:a,...o}),()=>{d.itemMap.delete(a)}))),u.createElement(Ta,{[s]:"",ref:c},r)}))},function(t){const n=i(e+"CollectionConsumer",t),r=u.useCallback((()=>{const e=n.collectionRef.current;if(!e)return[];const t=Array.from(e.querySelectorAll(`[${s}]`)),r=Array.from(n.itemMap.values()).sort(((e,n)=>t.indexOf(e.ref.current)-t.indexOf(n.ref.current)));return r}),[n.collectionRef,n.itemMap]);return r},r]}o(9097);const Lx=(0,u.createContext)(void 0);const Ox=(0,u.forwardRef)(((e,t)=>{const{children:n,width:r=10,height:o=5,...i}=e;return(0,u.createElement)(Pa.svg,ke({},i,{ref:t,width:r,height:o,viewBox:"0 0 30 10",preserveAspectRatio:"none"}),e.asChild?n:(0,u.createElement)("polygon",{points:"0,0 30,0 15,10"}))})),Rx="Popper",[Px,Mx]=Aa(Rx),[Nx,Bx]=Px(Rx),Ix=(0,u.forwardRef)(((e,t)=>{const{__scopePopper:n,virtualRef:r,...o}=e,i=Bx("PopperAnchor",n),a=(0,u.useRef)(null),l=ya(t,a);return(0,u.useEffect)((()=>{i.onAnchorChange((null==r?void 0:r.current)||a.current)})),r?null:(0,u.createElement)(Pa.div,ke({},o,{ref:l}))})),jx="PopperContent",[Fx,zx]=Px(jx),Hx=(0,u.forwardRef)(((e,t)=>{var n,r,o,i,a,l,s,c;const{__scopePopper:d,side:f="bottom",sideOffset:p=0,align:h="center",alignOffset:g=0,arrowPadding:m=0,avoidCollisions:v=!0,collisionBoundary:b=[],collisionPadding:y=0,sticky:A="partial",hideWhenDetached:w=!1,updatePositionStrategy:x="optimized",onPlaced:E,...k}=e,S=Bx(jx,d),[_,C]=(0,u.useState)(null),T=ya(t,(e=>C(e))),[D,L]=(0,u.useState)(null),O=function(e){const[t,n]=(0,u.useState)(void 0);return xa((()=>{if(e){n({width:e.offsetWidth,height:e.offsetHeight});const t=new ResizeObserver((t=>{if(!Array.isArray(t))return;if(!t.length)return;const r=t[0];let o,i;if("borderBoxSize"in r){const e=r.borderBoxSize,t=Array.isArray(e)?e[0]:e;o=t.inlineSize,i=t.blockSize}else o=e.offsetWidth,i=e.offsetHeight;n({width:o,height:i})}));return t.observe(e,{box:"border-box"}),()=>t.unobserve(e)}n(void 0)}),[e]),t}(D),R=null!==(n=null==O?void 0:O.width)&&void 0!==n?n:0,P=null!==(r=null==O?void 0:O.height)&&void 0!==r?r:0,M=f+("center"!==h?"-"+h:""),N="number"==typeof y?y:{top:0,right:0,bottom:0,left:0,...y},B=Array.isArray(b)?b:[b],I=B.length>0,j={padding:N,boundary:B.filter(Ux),altBoundary:I},{refs:F,floatingStyles:z,placement:H,isPositioned:q,middlewareData:U}=VA({strategy:"fixed",placement:M,whileElementsMounted:(...e)=>RA(...e,{animationFrame:"always"===x}),elements:{reference:S.anchor},middleware:[mA({mainAxis:p+P,alignmentAxis:g}),v&&PA({mainAxis:!0,crossAxis:!1,limiter:"partial"===A?jA():void 0,...j}),v&&MA({...j}),NA({...j,apply:({elements:e,rects:t,availableWidth:n,availableHeight:r})=>{const{width:o,height:i}=t.reference,a=e.floating.style;a.setProperty("--radix-popper-available-width",`${n}px`),a.setProperty("--radix-popper-available-height",`${r}px`),a.setProperty("--radix-popper-anchor-width",`${o}px`),a.setProperty("--radix-popper-anchor-height",`${i}px`)}}),D&&FA({element:D,padding:m}),Wx({arrowWidth:R,arrowHeight:P}),w&&BA({strategy:"referenceHidden",...j})]}),[W,V]=Vx(H),Q=_a(E);xa((()=>{q&&(null==Q||Q())}),[q,Q]);const G=null===(o=U.arrow)||void 0===o?void 0:o.x,$=null===(i=U.arrow)||void 0===i?void 0:i.y,Y=0!==(null===(a=U.arrow)||void 0===a?void 0:a.centerOffset),[Z,K]=(0,u.useState)();return xa((()=>{_&&K(window.getComputedStyle(_).zIndex)}),[_]),(0,u.createElement)("div",{ref:F.setFloating,"data-radix-popper-content-wrapper":"",style:{...z,transform:q?z.transform:"translate(0, -200%)",minWidth:"max-content",zIndex:Z,"--radix-popper-transform-origin":[null===(l=U.transformOrigin)||void 0===l?void 0:l.x,null===(s=U.transformOrigin)||void 0===s?void 0:s.y].join(" ")},dir:e.dir},(0,u.createElement)(Fx,{scope:d,placedSide:W,onArrowChange:L,arrowX:G,arrowY:$,shouldHideArrow:Y},(0,u.createElement)(Pa.div,ke({"data-side":W,"data-align":V},k,{ref:T,style:{...k.style,animation:q?void 0:"none",opacity:null!==(c=U.hide)&&void 0!==c&&c.referenceHidden?0:void 0}}))))})),qx={top:"bottom",right:"left",bottom:"top",left:"right"};function Ux(e){return null!==e}const Wx=e=>({name:"transformOrigin",options:e,fn(t){var n,r,o,i,a;const{placement:l,rects:s,middlewareData:u}=t,c=0!==(null===(n=u.arrow)||void 0===n?void 0:n.centerOffset),d=c?0:e.arrowWidth,f=c?0:e.arrowHeight,[p,h]=Vx(l),g={start:"0%",center:"50%",end:"100%"}[h],m=(null!==(r=null===(o=u.arrow)||void 0===o?void 0:o.x)&&void 0!==r?r:0)+d/2,v=(null!==(i=null===(a=u.arrow)||void 0===a?void 0:a.y)&&void 0!==i?i:0)+f/2;let b="",y="";return"bottom"===p?(b=c?g:`${m}px`,y=-f+"px"):"top"===p?(b=c?g:`${m}px`,y=`${s.floating.height+f}px`):"right"===p?(b=-f+"px",y=c?g:`${v}px`):"left"===p&&(b=`${s.floating.width+f}px`,y=c?g:`${v}px`),{data:{x:b,y}}}});function Vx(e){const[t,n="center"]=e.split("-");return[t,n]}const Qx=Ix,Gx=Hx,$x=(0,u.forwardRef)((function(e,t){const{__scopePopper:n,...r}=e,o=zx("PopperArrow",n),i=qx[o.placedSide];return(0,u.createElement)("span",{ref:o.onArrowChange,style:{position:"absolute",left:o.arrowX,top:o.arrowY,[i]:0,transformOrigin:{top:"",right:"0 0",bottom:"center 0",left:"100% 0"}[o.placedSide],transform:{top:"translateY(100%)",right:"translateY(50%) rotate(90deg) translateX(-50%)",bottom:"rotate(180deg)",left:"translateY(50%) rotate(-90deg) translateX(50%)"}[o.placedSide],visibility:o.shouldHideArrow?"hidden":void 0}},(0,u.createElement)(Ox,ke({},r,{ref:t,style:{...r.style,display:"block"}})))})),Yx="rovingFocusGroup.onEntryFocus",Zx={bubbles:!1,cancelable:!0},Kx="RovingFocusGroup",[Jx,Xx,eE]=Dx(Kx),[tE,nE]=Aa(Kx,[eE]),[rE,oE]=tE(Kx),iE=(0,u.forwardRef)(((e,t)=>(0,u.createElement)(Jx.Provider,{scope:e.__scopeRovingFocusGroup},(0,u.createElement)(Jx.Slot,{scope:e.__scopeRovingFocusGroup},(0,u.createElement)(aE,ke({},e,{ref:t})))))),aE=(0,u.forwardRef)(((e,t)=>{const{__scopeRovingFocusGroup:n,orientation:r,loop:o=!1,dir:i,currentTabStopId:a,defaultCurrentTabStopId:l,onCurrentTabStopIdChange:s,onEntryFocus:c,...d}=e,f=(0,u.useRef)(null),p=ya(t,f),h=function(e){const t=(0,u.useContext)(Lx);return e||t||"ltr"}(i),[g=null,m]=Ca({prop:a,defaultProp:l,onChange:s}),[v,b]=(0,u.useState)(!1),y=_a(c),A=Xx(n),w=(0,u.useRef)(!1),[x,E]=(0,u.useState)(0);return(0,u.useEffect)((()=>{const e=f.current;if(e)return e.addEventListener(Yx,y),()=>e.removeEventListener(Yx,y)}),[y]),(0,u.createElement)(rE,{scope:n,orientation:r,dir:h,loop:o,currentTabStopId:g,onItemFocus:(0,u.useCallback)((e=>m(e)),[m]),onItemShiftTab:(0,u.useCallback)((()=>b(!0)),[]),onFocusableItemAdd:(0,u.useCallback)((()=>E((e=>e+1))),[]),onFocusableItemRemove:(0,u.useCallback)((()=>E((e=>e-1))),[])},(0,u.createElement)(Pa.div,ke({tabIndex:v||0===x?-1:0,"data-orientation":r},d,{ref:p,style:{outline:"none",...e.style},onMouseDown:va(e.onMouseDown,(()=>{w.current=!0})),onFocus:va(e.onFocus,(e=>{const t=!w.current;if(e.target===e.currentTarget&&t&&!v){const t=new CustomEvent(Yx,Zx);if(e.currentTarget.dispatchEvent(t),!t.defaultPrevented){const e=A().filter((e=>e.focusable));uE([e.find((e=>e.active)),e.find((e=>e.id===g)),...e].filter(Boolean).map((e=>e.ref.current)))}}w.current=!1})),onBlur:va(e.onBlur,(()=>b(!1)))})))})),lE=(0,u.forwardRef)(((e,t)=>{const{__scopeRovingFocusGroup:n,focusable:r=!0,active:o=!1,tabStopId:i,...a}=e,l=Sa(),s=i||l,c=oE("RovingFocusGroupItem",n),d=c.currentTabStopId===s,f=Xx(n),{onFocusableItemAdd:p,onFocusableItemRemove:h}=c;return(0,u.useEffect)((()=>{if(r)return p(),()=>h()}),[r,p,h]),(0,u.createElement)(Jx.ItemSlot,{scope:n,id:s,focusable:r,active:o},(0,u.createElement)(Pa.span,ke({tabIndex:d?0:-1,"data-orientation":c.orientation},a,{ref:t,onMouseDown:va(e.onMouseDown,(e=>{r?c.onItemFocus(s):e.preventDefault()})),onFocus:va(e.onFocus,(()=>c.onItemFocus(s))),onKeyDown:va(e.onKeyDown,(e=>{if("Tab"===e.key&&e.shiftKey)return void c.onItemShiftTab();if(e.target!==e.currentTarget)return;const t=function(e,t,n){const r=function(e,t){return"rtl"!==t?e:"ArrowLeft"===e?"ArrowRight":"ArrowRight"===e?"ArrowLeft":e}(e.key,n);return"vertical"===t&&["ArrowLeft","ArrowRight"].includes(r)||"horizontal"===t&&["ArrowUp","ArrowDown"].includes(r)?void 0:sE[r]}(e,c.orientation,c.dir);if(void 0!==t){e.preventDefault();let o=f().filter((e=>e.focusable)).map((e=>e.ref.current));if("last"===t)o.reverse();else if("prev"===t||"next"===t){"prev"===t&&o.reverse();const i=o.indexOf(e.currentTarget);o=c.loop?(r=i+1,(n=o).map(((e,t)=>n[(r+t)%n.length]))):o.slice(i+1)}setTimeout((()=>uE(o)))}var n,r}))})))})),sE={ArrowLeft:"prev",ArrowUp:"prev",ArrowRight:"next",ArrowDown:"next",PageUp:"first",Home:"first",PageDown:"last",End:"last"};function uE(e){const t=document.activeElement;for(const n of e){if(n===t)return;if(n.focus(),document.activeElement!==t)return}}const cE=iE,dE=lE,fE=["Enter"," "],pE=["ArrowUp","PageDown","End"],hE=["ArrowDown","PageUp","Home",...pE],gE="Menu",[mE,vE,bE]=Dx(gE),[yE,AE]=Aa(gE,[bE,Mx,nE]),wE=Mx(),xE=nE(),[EE,kE]=yE(gE),[SE,_E]=yE(gE),CE=(0,u.forwardRef)(((e,t)=>{const{__scopeMenu:n,...r}=e,o=wE(n);return(0,u.createElement)(Qx,ke({},o,r,{ref:t}))})),[TE,DE]=yE("MenuPortal",{forceMount:void 0}),LE="MenuContent",[OE,RE]=yE(LE),PE=(0,u.forwardRef)(((e,t)=>{const n=DE(LE,e.__scopeMenu),{forceMount:r=n.forceMount,...o}=e,i=kE(LE,e.__scopeMenu),a=_E(LE,e.__scopeMenu);return(0,u.createElement)(mE.Provider,{scope:e.__scopeMenu},(0,u.createElement)(Ja,{present:r||i.open},(0,u.createElement)(mE.Slot,{scope:e.__scopeMenu},a.modal?(0,u.createElement)(ME,ke({},o,{ref:t})):(0,u.createElement)(NE,ke({},o,{ref:t})))))})),ME=(0,u.forwardRef)(((e,t)=>{const n=kE(LE,e.__scopeMenu),r=(0,u.useRef)(null),o=ya(t,r);return(0,u.useEffect)((()=>{const e=r.current;if(e)return zl(e)}),[]),(0,u.createElement)(BE,ke({},e,{ref:o,trapFocus:n.open,disableOutsidePointerEvents:n.open,disableOutsideScroll:!0,onFocusOutside:va(e.onFocusOutside,(e=>e.preventDefault()),{checkForDefaultPrevented:!1}),onDismiss:()=>n.onOpenChange(!1)}))})),NE=(0,u.forwardRef)(((e,t)=>{const n=kE(LE,e.__scopeMenu);return(0,u.createElement)(BE,ke({},e,{ref:t,trapFocus:!1,disableOutsidePointerEvents:!1,disableOutsideScroll:!1,onDismiss:()=>n.onOpenChange(!1)}))})),BE=(0,u.forwardRef)(((e,t)=>{const{__scopeMenu:n,loop:r=!1,trapFocus:o,onOpenAutoFocus:i,onCloseAutoFocus:a,disableOutsidePointerEvents:l,onEntryFocus:s,onEscapeKeyDown:c,onPointerDownOutside:d,onFocusOutside:f,onInteractOutside:p,onDismiss:h,disableOutsideScroll:g,...m}=e,v=kE(LE,n),b=_E(LE,n),y=wE(n),A=xE(n),w=vE(n),[x,E]=(0,u.useState)(null),k=(0,u.useRef)(null),S=ya(t,k,v.onContentChange),_=(0,u.useRef)(0),C=(0,u.useRef)(""),T=(0,u.useRef)(0),D=(0,u.useRef)(null),L=(0,u.useRef)("right"),O=(0,u.useRef)(0),R=g?Nl:u.Fragment,P=g?{as:Ta,allowPinchZoom:!0}:void 0;(0,u.useEffect)((()=>()=>window.clearTimeout(_.current)),[]),tl();const M=(0,u.useCallback)((e=>{var t,n;return L.current===(null===(t=D.current)||void 0===t?void 0:t.side)&&function(e,t){return!!t&&function(e,t){const{x:n,y:r}=e;let o=!1;for(let e=0,i=t.length-1;e<t.length;i=e++){const a=t[e].x,l=t[e].y,s=t[i].x,u=t[i].y;l>r!=u>r&&n<(s-a)*(r-l)/(u-l)+a&&(o=!o)}return o}({x:e.clientX,y:e.clientY},t)}(e,null===(n=D.current)||void 0===n?void 0:n.area)}),[]);return(0,u.createElement)(OE,{scope:n,searchRef:C,onItemEnter:(0,u.useCallback)((e=>{M(e)&&e.preventDefault()}),[M]),onItemLeave:(0,u.useCallback)((e=>{var t;M(e)||(null===(t=k.current)||void 0===t||t.focus(),E(null))}),[M]),onTriggerLeave:(0,u.useCallback)((e=>{M(e)&&e.preventDefault()}),[M]),pointerGraceTimerRef:T,onPointerGraceIntentChange:(0,u.useCallback)((e=>{D.current=e}),[])},(0,u.createElement)(R,P,(0,u.createElement)(Wa,{asChild:!0,trapped:o,onMountAutoFocus:va(i,(e=>{var t;e.preventDefault(),null===(t=k.current)||void 0===t||t.focus()})),onUnmountAutoFocus:a},(0,u.createElement)(ja,{asChild:!0,disableOutsidePointerEvents:l,onEscapeKeyDown:c,onPointerDownOutside:d,onFocusOutside:f,onInteractOutside:p,onDismiss:h},(0,u.createElement)(cE,ke({asChild:!0},A,{dir:b.dir,orientation:"vertical",loop:r,currentTabStopId:x,onCurrentTabStopIdChange:E,onEntryFocus:va(s,(e=>{b.isUsingKeyboardRef.current||e.preventDefault()}))}),(0,u.createElement)(Gx,ke({role:"menu","aria-orientation":"vertical","data-state":(N=v.open,N?"open":"closed"),"data-radix-menu-content":"",dir:b.dir},y,m,{ref:S,style:{outline:"none",...m.style},onKeyDown:va(m.onKeyDown,(e=>{const t=e.target.closest("[data-radix-menu-content]")===e.currentTarget,n=e.ctrlKey||e.altKey||e.metaKey,r=1===e.key.length;t&&("Tab"===e.key&&e.preventDefault(),!n&&r&&(e=>{var t,n;const r=C.current+e,o=w().filter((e=>!e.disabled)),i=document.activeElement,a=null===(t=o.find((e=>e.ref.current===i)))||void 0===t?void 0:t.textValue,l=function(e,t,n){const r=t.length>1&&Array.from(t).every((e=>e===t[0]))?t[0]:t,o=n?e.indexOf(n):-1;let i=(a=e,l=Math.max(o,0),a.map(((e,t)=>a[(l+t)%a.length])));var a,l;1===r.length&&(i=i.filter((e=>e!==n)));const s=i.find((e=>e.toLowerCase().startsWith(r.toLowerCase())));return s!==n?s:void 0}(o.map((e=>e.textValue)),r,a),s=null===(n=o.find((e=>e.textValue===l)))||void 0===n?void 0:n.ref.current;!function e(t){C.current=t,window.clearTimeout(_.current),""!==t&&(_.current=window.setTimeout((()=>e("")),1e3))}(r),s&&setTimeout((()=>s.focus()))})(e.key));const o=k.current;if(e.target!==o)return;if(!hE.includes(e.key))return;e.preventDefault();const i=w().filter((e=>!e.disabled)).map((e=>e.ref.current));pE.includes(e.key)&&i.reverse(),function(e){const t=document.activeElement;for(const n of e){if(n===t)return;if(n.focus(),document.activeElement!==t)return}}(i)})),onBlur:va(e.onBlur,(e=>{e.currentTarget.contains(e.target)||(window.clearTimeout(_.current),C.current="")})),onPointerMove:va(e.onPointerMove,ZE((e=>{const t=e.target,n=O.current!==e.clientX;if(e.currentTarget.contains(t)&&n){const t=e.clientX>O.current?"right":"left";L.current=t,O.current=e.clientX}})))})))))));var N})),IE=(0,u.forwardRef)(((e,t)=>{const{__scopeMenu:n,...r}=e;return(0,u.createElement)(Pa.div,ke({},r,{ref:t}))})),jE="MenuItem",FE="menu.itemSelect",zE=(0,u.forwardRef)(((e,t)=>{const{disabled:n=!1,onSelect:r,...o}=e,i=(0,u.useRef)(null),a=_E(jE,e.__scopeMenu),l=RE(jE,e.__scopeMenu),s=ya(t,i),c=(0,u.useRef)(!1);return(0,u.createElement)(HE,ke({},o,{ref:s,disabled:n,onClick:va(e.onClick,(()=>{const e=i.current;if(!n&&e){const t=new CustomEvent(FE,{bubbles:!0,cancelable:!0});e.addEventListener(FE,(e=>null==r?void 0:r(e)),{once:!0}),Ma(e,t),t.defaultPrevented?c.current=!1:a.onClose()}})),onPointerDown:t=>{var n;null===(n=e.onPointerDown)||void 0===n||n.call(e,t),c.current=!0},onPointerUp:va(e.onPointerUp,(e=>{var t;c.current||null===(t=e.currentTarget)||void 0===t||t.click()})),onKeyDown:va(e.onKeyDown,(e=>{const t=""!==l.searchRef.current;n||t&&" "===e.key||fE.includes(e.key)&&(e.currentTarget.click(),e.preventDefault())}))}))})),HE=(0,u.forwardRef)(((e,t)=>{const{__scopeMenu:n,disabled:r=!1,textValue:o,...i}=e,a=RE(jE,n),l=xE(n),s=(0,u.useRef)(null),c=ya(t,s),[d,f]=(0,u.useState)(!1),[p,h]=(0,u.useState)("");return(0,u.useEffect)((()=>{const e=s.current;var t;e&&h((null!==(t=e.textContent)&&void 0!==t?t:"").trim())}),[i.children]),(0,u.createElement)(mE.ItemSlot,{scope:n,disabled:r,textValue:null!=o?o:p},(0,u.createElement)(dE,ke({asChild:!0},l,{focusable:!r}),(0,u.createElement)(Pa.div,ke({role:"menuitem","data-highlighted":d?"":void 0,"aria-disabled":r||void 0,"data-disabled":r?"":void 0},i,{ref:c,onPointerMove:va(e.onPointerMove,ZE((e=>{r?a.onItemLeave(e):(a.onItemEnter(e),e.defaultPrevented||e.currentTarget.focus())}))),onPointerLeave:va(e.onPointerLeave,ZE((e=>a.onItemLeave(e)))),onFocus:va(e.onFocus,(()=>f(!0))),onBlur:va(e.onBlur,(()=>f(!1)))}))))})),[qE,UE]=yE("MenuRadioGroup",{value:void 0,onValueChange:()=>{}}),[WE,VE]=yE("MenuItemIndicator",{checked:!1}),QE=(0,u.forwardRef)(((e,t)=>{const{__scopeMenu:n,...r}=e;return(0,u.createElement)(Pa.div,ke({role:"separator","aria-orientation":"horizontal"},r,{ref:t}))})),GE=(0,u.forwardRef)(((e,t)=>{const{__scopeMenu:n,...r}=e,o=wE(n);return(0,u.createElement)($x,ke({},o,r,{ref:t}))})),[$E,YE]=yE("MenuSub");function ZE(e){return t=>"mouse"===t.pointerType?e(t):void 0}const KE=CE,JE=PE,XE=IE,ek=zE,tk=QE,nk=GE,rk="DropdownMenu",[ok,ik]=Aa(rk,[AE]),ak=AE(),[lk,sk]=ok(rk),uk=(0,u.forwardRef)(((e,t)=>{const{__scopeDropdownMenu:n,disabled:r=!1,...o}=e,i=sk("DropdownMenuTrigger",n),a=ak(n);return(0,u.createElement)(KE,ke({asChild:!0},a),(0,u.createElement)(Pa.button,ke({type:"button",id:i.triggerId,"aria-haspopup":"menu","aria-expanded":i.open,"aria-controls":i.open?i.contentId:void 0,"data-state":i.open?"open":"closed","data-disabled":r?"":void 0,disabled:r},o,{ref:ba(t,i.triggerRef),onPointerDown:va(e.onPointerDown,(e=>{r||0!==e.button||!1!==e.ctrlKey||(i.onOpenToggle(),i.open||e.preventDefault())})),onKeyDown:va(e.onKeyDown,(e=>{r||(["Enter"," "].includes(e.key)&&i.onOpenToggle(),"ArrowDown"===e.key&&i.onOpenChange(!0),["Enter"," ","ArrowDown"].includes(e.key)&&e.preventDefault())}))})))})),ck=(0,u.forwardRef)(((e,t)=>{const{__scopeDropdownMenu:n,...r}=e,o=sk("DropdownMenuContent",n),i=ak(n),a=(0,u.useRef)(!1);return(0,u.createElement)(JE,ke({id:o.contentId,"aria-labelledby":o.triggerId},i,r,{ref:t,onCloseAutoFocus:va(e.onCloseAutoFocus,(e=>{var t;a.current||null===(t=o.triggerRef.current)||void 0===t||t.focus(),a.current=!1,e.preventDefault()})),onInteractOutside:va(e.onInteractOutside,(e=>{const t=e.detail.originalEvent,n=0===t.button&&!0===t.ctrlKey,r=2===t.button||n;o.modal&&!r||(a.current=!0)})),style:{...e.style,"--radix-dropdown-menu-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-dropdown-menu-content-available-width":"var(--radix-popper-available-width)","--radix-dropdown-menu-content-available-height":"var(--radix-popper-available-height)","--radix-dropdown-menu-trigger-width":"var(--radix-popper-anchor-width)","--radix-dropdown-menu-trigger-height":"var(--radix-popper-anchor-height)"}}))})),dk=(0,u.forwardRef)(((e,t)=>{const{__scopeDropdownMenu:n,...r}=e,o=ak(n);return(0,u.createElement)(XE,ke({},o,r,{ref:t}))})),fk=(0,u.forwardRef)(((e,t)=>{const{__scopeDropdownMenu:n,...r}=e,o=ak(n);return(0,u.createElement)(ek,ke({},o,r,{ref:t}))})),pk=uk,hk=ck,gk=dk,mk=(0,u.forwardRef)(((e,t)=>{const{__scopeDropdownMenu:n,...r}=e,o=ak(n);return(0,u.createElement)(tk,ke({},o,r,{ref:t}))})),vk=(0,u.forwardRef)(((e,t)=>{const{__scopeDropdownMenu:n,...r}=e,o=ak(n);return(0,u.createElement)(nk,ke({},o,r,{ref:t}))}));function bk(e,t,n,r,o,i,a){try{var l=e[i](a),s=l.value}catch(e){return void n(e)}l.done?t(s):Promise.resolve(s).then(r,o)}he(fk,{fontSize:"14px",fontWeight:"400",py:"10px",px:"15px",borderRadius:3,cursor:"default",color:"$utilityTextDefault","&:focus":{outline:"none",backgroundColor:"$grayBgHover"}}),he(pk,{fontSize:"100%",border:0,padding:0,backgroundColor:"transparent","&:hover":{opacity:.7},"&:focus":{outline:"none"}}),he(pk,{'&[data-state="open"]':{outline:"none",backgroundColor:"$grayBgHover"}}),he(hk,{width:195,zIndex:100,backgroundColor:"$grayBg",borderRadius:"6px",outline:"1px solid #323232",border:"1px solid $grayBorder",boxShadow:"0px 1px 2px 0px rgba(0, 0, 0, 0.05);","--arrow-visibility":"",'&[data-side="top"]':{"--arrow-visibility":"collapse"},'&[data-side="bottom"]':{"--arrow-top":-13},'&[data-align="start"]':{"--arrow-visibility":"collapse"},'&[data-align="center"]':{"--arrow-before-left":"auto","--arrow-before-right":"90px","--arrow-after-left":"auto","--arrow-after-right":"91px"},'&[data-align="end"]':{"--arrow-before-left":"auto","--arrow-before-right":"9px","--arrow-after-left":"auto","--arrow-after-right":"10px"},"&:before":{top:"calc(var(--arrow-top) * 1px - 2px)",left:"var(--arrow-before-left)",right:"var(--arrow-before-right)",border:"8px solid transparent",borderBottomColor:"$grayBorder"},"&:after":{top:"calc(var(--arrow-top) * 1px)",left:"var(--arrow-after-left)",right:"var(--arrow-after-right)",border:"7px solid transparent",borderBottomColor:"$grayBg"},"&:before, &:after":{visibility:"var(--arrow-visibility)",position:"absolute",display:"inline-block",content:""}}),he(vk,{visibility:"hidden"}),he(gk,{color:"$utilityTextDefault",fontSize:13,padding:"5px 10px",cursor:"default"}),he(mk,{height:"1px",margin:0,backgroundColor:"$grayBorder"}),he("a",{display:"flex",fontSize:"14px",fontWeight:"400",py:"10px",px:"15px",borderRadius:3,cursor:"pointer",color:"$utilityTextDefault",textDecoration:"none","&:hover":{outline:"none",backgroundColor:"$grayBgHover"}});var yk=function(e){var t=dx({slug:e.item.slug,username:e.viewer.profile.username,includeFriendsHighlights:!1}).articleData,n=(0,u.useCallback)((function(){if(null!=t&&t.article.article.highlights){var e="";null!=t&&t.article.article.title&&(e+="## ".concat(null==t?void 0:t.article.article.title,"\n")),"WEB"==(null==t?void 0:t.article.article.contentReader)&&null!=t&&t.article.article.originalArticleUrl&&(e+="URL: ".concat(null==t?void 0:t.article.article.originalArticleUrl,"\n"));var n=function(e){var t=e.find((function(e){return"NOTE"==e.type})),n=function(e){var t=function(e,t){return e<t?-1:e>t?1:0};return(null!=e?e:[]).filter((function(e){return"HIGHLIGHT"===e.type})).sort((function(e,n){if(e.highlightPositionPercent&&n.highlightPositionPercent)return t(e.highlightPositionPercent,n.highlightPositionPercent);try{var r=mx(e.patch),o=mx(n.patch);if(r&&o)return t(r,o)}catch(e){}return e.createdAt.localeCompare(n.createdAt)}))}(e).filter((function(e){return"HIGHLIGHT"==e.type})).map((function(e){return function(e){var t="> ".concat(e.quote);return e.annotation&&(t+="\n\n".concat(e.annotation)),t+"\n"}(e)})).join("\n\n");return null!=t&&t.annotation?"".concat(t.annotation,"\n\n").concat(n):n}(null==t?void 0:t.article.article.highlights);e.length+n.length>1?(r=regeneratorRuntime.mark((function t(){return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,navigator.clipboard.writeText(e+"\n\n"+n);case 2:Nu("Highlights and notes copied");case 3:case"end":return t.stop()}}),t)})),function(){var e=this,t=arguments;return new Promise((function(n,o){var i=r.apply(e,t);function a(e){bk(i,n,o,a,l,"next",e)}function l(e){bk(i,n,o,a,l,"throw",e)}a(void 0)}))})():Nu("Nothing to export")}else Bu("Could not copy highlights");var r}),[t]);return(0,Ie.jsxs)(Ue,{distribution:"center",alignment:"center",css:{width:"100%",position:"sticky",top:"0px",height:"50px",p:"20px",borderTopLeftRadius:"10px",overflow:"clip",background:"$thNotebookBackground",zIndex:10,borderBottom:"1px solid $thNotebookBorder"},children:[(0,Ie.jsx)(wo,{style:"modalHeadline",css:{color:"$thNotebookSubtle"},children:"Notebook"}),(0,Ie.jsxs)(Ue,{css:{ml:"auto",cursor:"pointer",gap:"15px",mr:"-5px"},distribution:"center",alignment:"center",children:[(0,Ie.jsx)(ii,{style:"plainIcon",onClick:function(e){n(),e.preventDefault()},children:(0,Ie.jsx)(Tx,{size:25,color:ge.colors.thNotebookSubtle.toString()})}),(0,Ie.jsx)(ii,{style:"plainIcon",onClick:function(){return e.setShowNotebook(!1)},children:(0,Ie.jsx)(wx,{size:25,color:ge.colors.thNotebookSubtle.toString()})})]})]})};function Ak(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function wk(){var e=window;return{width:e.innerWidth,height:e.innerHeight}}function xk(){var e=function(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,i=[],a=!0,l=!1;try{for(n=n.call(e);!(a=(r=n.next()).done)&&(i.push(r.value),!t||i.length!==t);a=!0);}catch(e){l=!0,o=e}finally{try{a||null==n.return||n.return()}finally{if(l)throw o}}return i}}(e,t)||function(e,t){if(e){if("string"==typeof e)return Ak(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Ak(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}((0,u.useState)({width:0,height:0}),2),t=e[0],n=e[1];return(0,u.useEffect)((function(){function e(){n(wk())}return n(wk()),window.addEventListener("resize",e),function(){return window.removeEventListener("resize",e)}}),[]),t}var Ek,kk,Sk=o(5690),_k=(kk=function(e,t){return kk=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])},kk(e,t)},function(e,t){function n(){this.constructor=e}kk(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),Ck=function(){return Ck=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},Ck.apply(this,arguments)},Tk={width:"100%",height:"10px",top:"0px",left:"0px",cursor:"row-resize"},Dk={width:"10px",height:"100%",top:"0px",left:"0px",cursor:"col-resize"},Lk={width:"20px",height:"20px",position:"absolute"},Ok={top:Ck(Ck({},Tk),{top:"-5px"}),right:Ck(Ck({},Dk),{left:void 0,right:"-5px"}),bottom:Ck(Ck({},Tk),{top:void 0,bottom:"-5px"}),left:Ck(Ck({},Dk),{left:"-5px"}),topRight:Ck(Ck({},Lk),{right:"-10px",top:"-10px",cursor:"ne-resize"}),bottomRight:Ck(Ck({},Lk),{right:"-10px",bottom:"-10px",cursor:"se-resize"}),bottomLeft:Ck(Ck({},Lk),{left:"-10px",bottom:"-10px",cursor:"sw-resize"}),topLeft:Ck(Ck({},Lk),{left:"-10px",top:"-10px",cursor:"nw-resize"})},Rk=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.onMouseDown=function(e){t.props.onResizeStart(e,t.props.direction)},t.onTouchStart=function(e){t.props.onResizeStart(e,t.props.direction)},t}return _k(t,e),t.prototype.render=function(){return u.createElement("div",{className:this.props.className||"",style:Ck(Ck({position:"absolute",userSelect:"none"},Ok[this.props.direction]),this.props.replaceStyles||{}),onMouseDown:this.onMouseDown,onTouchStart:this.onTouchStart},this.props.children)},t}(u.PureComponent),Pk=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){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),Mk=function(){return Mk=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},Mk.apply(this,arguments)},Nk={width:"auto",height:"auto"},Bk=function(e,t,n){return Math.max(Math.min(e,n),t)},Ik=function(e,t){return Math.round(e/t)*t},jk=function(e,t){return new RegExp(e,"i").test(t)},Fk=function(e){return Boolean(e.touches&&e.touches.length)},zk=function(e,t,n){void 0===n&&(n=0);var r=t.reduce((function(n,r,o){return Math.abs(r-e)<Math.abs(t[n]-e)?o:n}),0),o=Math.abs(t[r]-e);return 0===n||o<n?t[r]:e},Hk=function(e){return"auto"===(e=e.toString())||e.endsWith("px")||e.endsWith("%")||e.endsWith("vh")||e.endsWith("vw")||e.endsWith("vmax")||e.endsWith("vmin")?e:e+"px"},qk=function(e,t,n,r){if(e&&"string"==typeof e){if(e.endsWith("px"))return Number(e.replace("px",""));if(e.endsWith("%"))return t*(Number(e.replace("%",""))/100);if(e.endsWith("vw"))return n*(Number(e.replace("vw",""))/100);if(e.endsWith("vh"))return r*(Number(e.replace("vh",""))/100)}return e},Uk=["as","style","className","grid","snap","bounds","boundsByDirection","size","defaultSize","minWidth","minHeight","maxWidth","maxHeight","lockAspectRatio","lockAspectRatioExtraWidth","lockAspectRatioExtraHeight","enable","handleStyles","handleClasses","handleWrapperStyle","handleWrapperClass","children","onResizeStart","onResize","onResizeStop","handleComponent","scale","resizeRatio","snapGap"],Wk="__resizable_base__",Vk=function(e){function t(t){var n=e.call(this,t)||this;return n.ratio=1,n.resizable=null,n.parentLeft=0,n.parentTop=0,n.resizableLeft=0,n.resizableRight=0,n.resizableTop=0,n.resizableBottom=0,n.targetLeft=0,n.targetTop=0,n.appendBase=function(){if(!n.resizable||!n.window)return null;var e=n.parentNode;if(!e)return null;var t=n.window.document.createElement("div");return t.style.width="100%",t.style.height="100%",t.style.position="absolute",t.style.transform="scale(0, 0)",t.style.left="0",t.style.flex="0 0 100%",t.classList?t.classList.add(Wk):t.className+=Wk,e.appendChild(t),t},n.removeBase=function(e){var t=n.parentNode;t&&t.removeChild(e)},n.ref=function(e){e&&(n.resizable=e)},n.state={isResizing:!1,width:void 0===(n.propsSize&&n.propsSize.width)?"auto":n.propsSize&&n.propsSize.width,height:void 0===(n.propsSize&&n.propsSize.height)?"auto":n.propsSize&&n.propsSize.height,direction:"right",original:{x:0,y:0,width:0,height:0},backgroundStyle:{height:"100%",width:"100%",backgroundColor:"rgba(0,0,0,0)",cursor:"auto",opacity:0,position:"fixed",zIndex:9999,top:"0",left:"0",bottom:"0",right:"0"},flexBasis:void 0},n.onResizeStart=n.onResizeStart.bind(n),n.onMouseMove=n.onMouseMove.bind(n),n.onMouseUp=n.onMouseUp.bind(n),n}return Pk(t,e),Object.defineProperty(t.prototype,"parentNode",{get:function(){return this.resizable?this.resizable.parentNode:null},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"window",{get:function(){return this.resizable&&this.resizable.ownerDocument?this.resizable.ownerDocument.defaultView:null},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"propsSize",{get:function(){return this.props.size||this.props.defaultSize||Nk},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"size",{get:function(){var e=0,t=0;if(this.resizable&&this.window){var n=this.resizable.offsetWidth,r=this.resizable.offsetHeight,o=this.resizable.style.position;"relative"!==o&&(this.resizable.style.position="relative"),e="auto"!==this.resizable.style.width?this.resizable.offsetWidth:n,t="auto"!==this.resizable.style.height?this.resizable.offsetHeight:r,this.resizable.style.position=o}return{width:e,height:t}},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"sizeStyle",{get:function(){var e=this,t=this.props.size,n=function(t){if(void 0===e.state[t]||"auto"===e.state[t])return"auto";if(e.propsSize&&e.propsSize[t]&&e.propsSize[t].toString().endsWith("%")){if(e.state[t].toString().endsWith("%"))return e.state[t].toString();var n=e.getParentSize();return Number(e.state[t].toString().replace("px",""))/n[t]*100+"%"}return Hk(e.state[t])};return{width:t&&void 0!==t.width&&!this.state.isResizing?Hk(t.width):n("width"),height:t&&void 0!==t.height&&!this.state.isResizing?Hk(t.height):n("height")}},enumerable:!1,configurable:!0}),t.prototype.getParentSize=function(){if(!this.parentNode)return this.window?{width:this.window.innerWidth,height:this.window.innerHeight}:{width:0,height:0};var e=this.appendBase();if(!e)return{width:0,height:0};var t=!1,n=this.parentNode.style.flexWrap;"wrap"!==n&&(t=!0,this.parentNode.style.flexWrap="wrap"),e.style.position="relative",e.style.minWidth="100%",e.style.minHeight="100%";var r={width:e.offsetWidth,height:e.offsetHeight};return t&&(this.parentNode.style.flexWrap=n),this.removeBase(e),r},t.prototype.bindEvents=function(){this.window&&(this.window.addEventListener("mouseup",this.onMouseUp),this.window.addEventListener("mousemove",this.onMouseMove),this.window.addEventListener("mouseleave",this.onMouseUp),this.window.addEventListener("touchmove",this.onMouseMove,{capture:!0,passive:!1}),this.window.addEventListener("touchend",this.onMouseUp))},t.prototype.unbindEvents=function(){this.window&&(this.window.removeEventListener("mouseup",this.onMouseUp),this.window.removeEventListener("mousemove",this.onMouseMove),this.window.removeEventListener("mouseleave",this.onMouseUp),this.window.removeEventListener("touchmove",this.onMouseMove,!0),this.window.removeEventListener("touchend",this.onMouseUp))},t.prototype.componentDidMount=function(){if(this.resizable&&this.window){var e=this.window.getComputedStyle(this.resizable);this.setState({width:this.state.width||this.size.width,height:this.state.height||this.size.height,flexBasis:"auto"!==e.flexBasis?e.flexBasis:void 0})}},t.prototype.componentWillUnmount=function(){this.window&&this.unbindEvents()},t.prototype.createSizeForCssProperty=function(e,t){var n=this.propsSize&&this.propsSize[t];return"auto"!==this.state[t]||this.state.original[t]!==e||void 0!==n&&"auto"!==n?e:"auto"},t.prototype.calculateNewMaxFromBoundary=function(e,t){var n,r,o=this.props.boundsByDirection,i=this.state.direction,a=o&&jk("left",i),l=o&&jk("top",i);if("parent"===this.props.bounds){var s=this.parentNode;s&&(n=a?this.resizableRight-this.parentLeft:s.offsetWidth+(this.parentLeft-this.resizableLeft),r=l?this.resizableBottom-this.parentTop:s.offsetHeight+(this.parentTop-this.resizableTop))}else"window"===this.props.bounds?this.window&&(n=a?this.resizableRight:this.window.innerWidth-this.resizableLeft,r=l?this.resizableBottom:this.window.innerHeight-this.resizableTop):this.props.bounds&&(n=a?this.resizableRight-this.targetLeft:this.props.bounds.offsetWidth+(this.targetLeft-this.resizableLeft),r=l?this.resizableBottom-this.targetTop:this.props.bounds.offsetHeight+(this.targetTop-this.resizableTop));return n&&Number.isFinite(n)&&(e=e&&e<n?e:n),r&&Number.isFinite(r)&&(t=t&&t<r?t:r),{maxWidth:e,maxHeight:t}},t.prototype.calculateNewSizeFromDirection=function(e,t){var n=this.props.scale||1,r=this.props.resizeRatio||1,o=this.state,i=o.direction,a=o.original,l=this.props,s=l.lockAspectRatio,u=l.lockAspectRatioExtraHeight,c=l.lockAspectRatioExtraWidth,d=a.width,f=a.height,p=u||0,h=c||0;return jk("right",i)&&(d=a.width+(e-a.x)*r/n,s&&(f=(d-h)/this.ratio+p)),jk("left",i)&&(d=a.width-(e-a.x)*r/n,s&&(f=(d-h)/this.ratio+p)),jk("bottom",i)&&(f=a.height+(t-a.y)*r/n,s&&(d=(f-p)*this.ratio+h)),jk("top",i)&&(f=a.height-(t-a.y)*r/n,s&&(d=(f-p)*this.ratio+h)),{newWidth:d,newHeight:f}},t.prototype.calculateNewSizeFromAspectRatio=function(e,t,n,r){var o=this.props,i=o.lockAspectRatio,a=o.lockAspectRatioExtraHeight,l=o.lockAspectRatioExtraWidth,s=void 0===r.width?10:r.width,u=void 0===n.width||n.width<0?e:n.width,c=void 0===r.height?10:r.height,d=void 0===n.height||n.height<0?t:n.height,f=a||0,p=l||0;if(i){var h=(c-f)*this.ratio+p,g=(d-f)*this.ratio+p,m=(s-p)/this.ratio+f,v=(u-p)/this.ratio+f,b=Math.max(s,h),y=Math.min(u,g),A=Math.max(c,m),w=Math.min(d,v);e=Bk(e,b,y),t=Bk(t,A,w)}else e=Bk(e,s,u),t=Bk(t,c,d);return{newWidth:e,newHeight:t}},t.prototype.setBoundingClientRect=function(){if("parent"===this.props.bounds){var e=this.parentNode;if(e){var t=e.getBoundingClientRect();this.parentLeft=t.left,this.parentTop=t.top}}if(this.props.bounds&&"string"!=typeof this.props.bounds){var n=this.props.bounds.getBoundingClientRect();this.targetLeft=n.left,this.targetTop=n.top}if(this.resizable){var r=this.resizable.getBoundingClientRect(),o=r.left,i=r.top,a=r.right,l=r.bottom;this.resizableLeft=o,this.resizableRight=a,this.resizableTop=i,this.resizableBottom=l}},t.prototype.onResizeStart=function(e,t){if(this.resizable&&this.window){var n,r=0,o=0;if(e.nativeEvent&&function(e){return Boolean((e.clientX||0===e.clientX)&&(e.clientY||0===e.clientY))}(e.nativeEvent)?(r=e.nativeEvent.clientX,o=e.nativeEvent.clientY):e.nativeEvent&&Fk(e.nativeEvent)&&(r=e.nativeEvent.touches[0].clientX,o=e.nativeEvent.touches[0].clientY),this.props.onResizeStart&&this.resizable&&!1===this.props.onResizeStart(e,t,this.resizable))return;this.props.size&&(void 0!==this.props.size.height&&this.props.size.height!==this.state.height&&this.setState({height:this.props.size.height}),void 0!==this.props.size.width&&this.props.size.width!==this.state.width&&this.setState({width:this.props.size.width})),this.ratio="number"==typeof this.props.lockAspectRatio?this.props.lockAspectRatio:this.size.width/this.size.height;var i=this.window.getComputedStyle(this.resizable);if("auto"!==i.flexBasis){var a=this.parentNode;if(a){var l=this.window.getComputedStyle(a).flexDirection;this.flexDir=l.startsWith("row")?"row":"column",n=i.flexBasis}}this.setBoundingClientRect(),this.bindEvents();var s={original:{x:r,y:o,width:this.size.width,height:this.size.height},isResizing:!0,backgroundStyle:Mk(Mk({},this.state.backgroundStyle),{cursor:this.window.getComputedStyle(e.target).cursor||"auto"}),direction:t,flexBasis:n};this.setState(s)}},t.prototype.onMouseMove=function(e){var t=this;if(this.state.isResizing&&this.resizable&&this.window){if(this.window.TouchEvent&&Fk(e))try{e.preventDefault(),e.stopPropagation()}catch(e){}var n=this.props,r=n.maxWidth,o=n.maxHeight,i=n.minWidth,a=n.minHeight,l=Fk(e)?e.touches[0].clientX:e.clientX,s=Fk(e)?e.touches[0].clientY:e.clientY,u=this.state,c=u.direction,f=u.original,p=u.width,h=u.height,g=this.getParentSize(),m=function(e,t,n,r,o,i,a){return r=qk(r,e.width,t,n),o=qk(o,e.height,t,n),i=qk(i,e.width,t,n),a=qk(a,e.height,t,n),{maxWidth:void 0===r?void 0:Number(r),maxHeight:void 0===o?void 0:Number(o),minWidth:void 0===i?void 0:Number(i),minHeight:void 0===a?void 0:Number(a)}}(g,this.window.innerWidth,this.window.innerHeight,r,o,i,a);r=m.maxWidth,o=m.maxHeight,i=m.minWidth,a=m.minHeight;var v=this.calculateNewSizeFromDirection(l,s),b=v.newHeight,y=v.newWidth,A=this.calculateNewMaxFromBoundary(r,o);this.props.snap&&this.props.snap.x&&(y=zk(y,this.props.snap.x,this.props.snapGap)),this.props.snap&&this.props.snap.y&&(b=zk(b,this.props.snap.y,this.props.snapGap));var w=this.calculateNewSizeFromAspectRatio(y,b,{width:A.maxWidth,height:A.maxHeight},{width:i,height:a});if(y=w.newWidth,b=w.newHeight,this.props.grid){var x=Ik(y,this.props.grid[0]),E=Ik(b,this.props.grid[1]),k=this.props.snapGap||0;y=0===k||Math.abs(x-y)<=k?x:y,b=0===k||Math.abs(E-b)<=k?E:b}var S={width:y-f.width,height:b-f.height};p&&"string"==typeof p&&(p.endsWith("%")?y=y/g.width*100+"%":p.endsWith("vw")?y=y/this.window.innerWidth*100+"vw":p.endsWith("vh")&&(y=y/this.window.innerHeight*100+"vh")),h&&"string"==typeof h&&(h.endsWith("%")?b=b/g.height*100+"%":h.endsWith("vw")?b=b/this.window.innerWidth*100+"vw":h.endsWith("vh")&&(b=b/this.window.innerHeight*100+"vh"));var _={width:this.createSizeForCssProperty(y,"width"),height:this.createSizeForCssProperty(b,"height")};"row"===this.flexDir?_.flexBasis=_.width:"column"===this.flexDir&&(_.flexBasis=_.height),(0,d.flushSync)((function(){t.setState(_)})),this.props.onResize&&this.props.onResize(e,c,this.resizable,S)}},t.prototype.onMouseUp=function(e){var t=this.state,n=t.isResizing,r=t.direction,o=t.original;if(n&&this.resizable){var i={width:this.size.width-o.width,height:this.size.height-o.height};this.props.onResizeStop&&this.props.onResizeStop(e,r,this.resizable,i),this.props.size&&this.setState(this.props.size),this.unbindEvents(),this.setState({isResizing:!1,backgroundStyle:Mk(Mk({},this.state.backgroundStyle),{cursor:"auto"})})}},t.prototype.updateSize=function(e){this.setState({width:e.width,height:e.height})},t.prototype.renderResizer=function(){var e=this,t=this.props,n=t.enable,r=t.handleStyles,o=t.handleClasses,i=t.handleWrapperStyle,a=t.handleWrapperClass,l=t.handleComponent;if(!n)return null;var s=Object.keys(n).map((function(t){return!1!==n[t]?u.createElement(Rk,{key:t,direction:t,onResizeStart:e.onResizeStart,replaceStyles:r&&r[t],className:o&&o[t]},l&&l[t]?l[t]:null):null}));return u.createElement("div",{className:a,style:i},s)},t.prototype.render=function(){var e=this,t=Object.keys(this.props).reduce((function(t,n){return-1!==Uk.indexOf(n)||(t[n]=e.props[n]),t}),{}),n=Mk(Mk(Mk({position:"relative",userSelect:this.state.isResizing?"none":"auto"},this.props.style),this.sizeStyle),{maxWidth:this.props.maxWidth,maxHeight:this.props.maxHeight,minWidth:this.props.minWidth,minHeight:this.props.minHeight,boxSizing:"border-box",flexShrink:0});this.state.flexBasis&&(n.flexBasis=this.state.flexBasis);var r=this.props.as||"div";return u.createElement(r,Mk({ref:this.ref,style:n,className:this.props.className},t),this.state.isResizing&&u.createElement("div",{style:this.state.backgroundStyle}),this.props.children,this.renderResizer())},t.defaultProps={as:"div",onResizeStart:function(){},onResize:function(){},onResizeStop:function(){},enable:{top:!0,right:!0,bottom:!0,left:!0,topRight:!0,bottomRight:!0,bottomLeft:!0,topLeft:!0},style:{},grid:[1,1],lockAspectRatio:!1,lockAspectRatioExtraWidth:0,lockAspectRatioExtraHeight:0,scale:1,resizeRatio:1,snapGap:0},t}(u.PureComponent);function Qk(e){var t=xk();return(0,Ie.jsx)(Sk.ZP,{className:"sliding-pane-class",isOpen:e.isShow,width:"fit-content",hideHeader:!0,from:"right",overlayClassName:"slide-panel-overlay",onRequestClose:e.onClose,children:(0,Ie.jsx)(Vk,{onResize:function(t,n,r){parseInt(r.style.width)<210&&e.onClose()},defaultSize:{width:t.width<600?"100%":"420px",height:"100%"},enable:!(t.width<600)&&{top:!1,right:!1,bottom:!1,left:!0,topRight:!1,bottomRight:!1,bottomLeft:!1,topLeft:!1},children:e.children})})}function Gk(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function $k(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Gk(Object(n),!0).forEach((function(t){Yk(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Gk(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Yk(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Zk(e){return function(e){if(Array.isArray(e))return tS(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||eS(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Kk(e,t,n,r,o,i,a){try{var l=e[i](a),s=l.value}catch(e){return void n(e)}l.done?t(s):Promise.resolve(s).then(r,o)}function Jk(e){return function(){var t=this,n=arguments;return new Promise((function(r,o){var i=e.apply(t,n);function a(e){Kk(i,r,o,a,l,"next",e)}function l(e){Kk(i,r,o,a,l,"throw",e)}a(void 0)}))}}function Xk(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,i=[],a=!0,l=!1;try{for(n=n.call(e);!(a=(r=n.next()).done)&&(i.push(r.value),!t||i.length!==t);a=!0);}catch(e){l=!0,o=e}finally{try{a||null==n.return||n.return()}finally{if(l)throw o}}return i}}(e,t)||eS(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function eS(e,t){if(e){if("string"==typeof e)return tS(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?tS(e,t):void 0}}function tS(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function nS(e){var t,n=Xk((0,u.useState)(e.highlights),2),r=n[0],o=n[1],i=Xk((0,u.useState)({highlightModalAction:"none"}),2),a=i[0],l=i[1],s=Xk((0,u.useState)([]),2),c=s[0],d=s[1],f=(0,u.useRef)({pageX:0,pageY:0}),p=Xk((0,u.useState)(0),2),h=p[0],g=p[1],m=Xk((0,u.useState)(void 0),2),v=m[0],b=m[1],y=function(e){var t=Ko((0,u.useState)(void 0),2),n=t[0],r=t[1],o=Ko((0,u.useState)(null),2),i=o[0],a=o[1],l=(0,u.useCallback)((function(e){r({x:e.touches[0].pageX,y:e.touches[0].pageY})}),[n,r]),s=(0,u.useCallback)(function(){var t=Zo(regeneratorRuntime.mark((function t(r){var o,i,l,s,u,c,d,f,p,h,g,m,v,b,y,A,w,x,E,k,S,_,C,T;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return s=!1,u={tapX:r.clientX,tapY:r.clientY},n&&(Math.abs(n.x-r.pageX)>10||Math.abs(n.y-r.pageY)>10)&&(s=!0),null===(o=window)||void 0===o||null===(i=o.AndroidWebKitMessenger)||void 0===i||i.handleIdentifiableMessage("userTap",JSON.stringify(u)),t.next=6,Xo();case 6:if(c=t.sent){t.next=9;break}return t.abrupt("return",setTimeout((function(){a(null)}),100));case 9:if(d=c.range,f=c.isReverseSelected,p=c.selection,h=Ho(d),g=Ko(h,2),m=g[0],v=g[1],b=ni(d,f),y=!1,A=[],e.sort((function(e,t){return e.start<t.start?-1:e.start>t.start?1:0})).forEach((function(e){m>=e.start&&v<=e.end?y=!0:m<e.end&&e.start<v&&A.push(e)})),w=null,!A.length){t.next=25;break}if(_=!1,m<=A[0].start?(x=d.startContainer,E=d.startOffset):(C=Qo(A[0].id),x=C.shift(),E=0),v>=A[A.length-1].end?(k=d.endContainer,S=d.endOffset):(T=Qo(A[A.length-1].id),k=T.pop(),S=0,_=!0),x&&k){t.next=22;break}throw new Error("Failed to query node for computing new merged range");case 22:(w=new Range).setStart(x,E),_?w.setEndAfter(k):w.setEnd(k,S);case 25:if(!y){t.next=27;break}return t.abrupt("return",setTimeout((function(){a(null)}),100));case 27:return t.abrupt("return",a({selection:p,wasDragEvent:s,range:null!==(l=w)&&void 0!==l?l:d,focusPosition:{x:b[f?"left":"right"],y:b[f?"top":"bottom"],isReverseSelected:f},overlapHighlights:A.map((function(e){return e.id}))}));case 28:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}(),[n,i,e]),c=(0,u.useCallback)(Zo(regeneratorRuntime.mark((function e(){var t;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:null===(t=window.AndroidWebKitMessenger)||void 0===t||t.handleIdentifiableMessage("writeToClipboard",JSON.stringify({quote:null==i?void 0:i.selection.toString()}));case 1:case"end":return e.stop()}}),e)}))),[null==i?void 0:i.selection]);return(0,u.useEffect)((function(){return document.addEventListener("mouseup",s),document.addEventListener("touchstart",l),document.addEventListener("touchend",s),document.addEventListener("contextmenu",s),document.addEventListener("copyTextSelection",c),function(){document.removeEventListener("mouseup",s),document.removeEventListener("touchstart",l),document.removeEventListener("touchend",s),document.removeEventListener("contextmenu",s),document.removeEventListener("copyTextSelection",c)}}),[e,s,c,n,r,l]),[i,a]}(c),A=Xk(y,2),w=A[0],x=A[1],E=Xk((0,u.useState)(void 0),2),k=E[0],S=E[1],_=Xk((0,u.useState)(void 0),2),C=_[0],T=_[1],D=(xk(),(0,u.useCallback)(function(){var t=Jk(regeneratorRuntime.mark((function t(n,i){var a;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,ga({selection:n,articleId:e.articleId,existingHighlights:r,color:null==i?void 0:i.color,highlightStartEndOffsets:c,annotation:null==i?void 0:i.annotation,highlightPositionPercent:M(n.selection),highlightPositionAnchorIndex:N(n.selection)},e.articleMutations);case 2:if(!(a=t.sent).errorMessage){t.next=5;break}throw"Failed to create highlight: "+a.errorMessage;case 5:if(a.highlights&&0!=a.highlights.length){t.next=8;break}return console.error("Failed to create highlight"),t.abrupt("return",void 0);case 8:if(x(null),o(a.highlights),void 0!==a.newHighlightIndex){t.next=13;break}return l({highlightModalAction:"none"}),t.abrupt("return",void 0);case 13:return t.abrupt("return",a.highlights[a.newHighlightIndex]);case 14:case"end":return t.stop()}}),t)})));return function(e,n){return t.apply(this,arguments)}}(),[c,r,e.articleId,e.articleMutations,x]));(0,u.useEffect)((function(){var t=[];if(r.filter((function(e){return"HIGHLIGHT"==e.type})).forEach((function(e){try{var n=function(e){var t=function(e){var t,n=e.patch,r=e.id,o=!!e.annotation;return null===(t=e.labels)||void 0===t?void 0:t.length,Fo(n,r,o,0,e.color,void 0)}(e),n=t.startLocation,r=t.endLocation;return{id:e.id,start:n,end:r}}(e);t.push(n)}catch(e){console.error(e)}})),d(t),e.scrollToHighlight.current){var n=document.querySelector('[omnivore-highlight-id="'.concat(e.scrollToHighlight.current,'"]'));n&&n.scrollIntoView({block:"center",behavior:"auto"})}}),[r,d,e.scrollToHighlight]);var L=(0,u.useCallback)(function(){var t=Jk(regeneratorRuntime.mark((function t(n){var i;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(i=n||(null==v?void 0:v.id)){t.next=4;break}return console.trace("Failed to identify highlight to be removed"),t.abrupt("return");case 4:return t.next=6,e.articleMutations.deleteHighlightMutation(e.articleId,i);case 6:t.sent?($i(r.map((function(e){return e.id}))),o(r.filter((function(e){return e.id!==i}))),b(void 0),document.dispatchEvent(new Event("highlightsUpdated")),Nu("Highlight removed")):(console.error("Failed to delete highlight"),Bu("Error removing highlight"));case 8:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}(),[v,r,c,e.articleMutations]),O=(0,u.useCallback)((function(e){$i([e.id]);var t=r.filter((function(t){return t.id!==e.id}));o([].concat(Zk(t),[e]))}),[r,c]),R=(0,u.useCallback)((function(t,n){var r=t.color;t.color=n,O(t),Jk(regeneratorRuntime.mark((function o(){return regeneratorRuntime.wrap((function(o){for(;;)switch(o.prev=o.next){case 0:return o.next=2,e.articleMutations.updateHighlightMutation({libraryItemId:e.articleId,highlightId:t.id,color:n});case 2:o.sent||(t.color=r,O(t),Bu("Error updating highlight color")),document.dispatchEvent(new Event("highlightsUpdated"));case 5:case"end":return o.stop()}}),o)})))()}),[e,r,c,O]),P=(0,u.useCallback)((function(t){var n,r,o,i,a,s,u,c;if(void 0!==(null===(n=window)||void 0===n||null===(r=n.webkit)||void 0===r?void 0:r.messageHandlers.highlightAction)&&e.highlightBarDisabled)null===(i=window)||void 0===i||null===(a=i.webkit)||void 0===a||null===(s=a.messageHandlers.highlightAction)||void 0===s||s.postMessage({actionID:"annotate",annotation:null!==(u=null===(c=t.highlight)||void 0===c?void 0:c.annotation)&&void 0!==u?u:""});else if(void 0!==(null===(o=window)||void 0===o?void 0:o.AndroidWebKitMessenger)){var d,f;window.AndroidWebKitMessenger.handleIdentifiableMessage("annotate",JSON.stringify({annotation:null!==(d=null===(f=t.highlight)||void 0===f?void 0:f.annotation)&&void 0!==d?d:""}))}else t.createHighlightForNote=function(){var e=Jk(regeneratorRuntime.mark((function e(n){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(t.selectionData){e.next=2;break}return e.abrupt("return",void 0);case 2:return e.next=4,D(t.selectionData,{annotation:n});case 4:return e.abrupt("return",e.sent);case 5:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),l(t);document.dispatchEvent(new Event("highlightsUpdated"))}),[e.highlightBarDisabled,D]),M=function(e){var t,n=null===(t=document.getElementById("readability-page-1"))||void 0===t?void 0:t.getBoundingClientRect();if(e.rangeCount>0&&n){var r=(e.getRangeAt(0).getBoundingClientRect().y-n.y)/n.height;return Math.min(Math.max(0,100*r),100)}},N=function(e){if(e.rangeCount>0)for(var t=(r=void 0,(r=e.getRangeAt(0).startContainer).nodeType==Node.ELEMENT_NODE?r:r.parentElement);t;){var n=Number(t.getAttribute("data-omnivore-anchor-idx"));if(n>0)return n;t=t.parentElement}var r},B=(0,u.useCallback)(function(){var e=Jk(regeneratorRuntime.mark((function e(t){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(w){e.next=2;break}return e.abrupt("return");case 2:return e.prev=2,e.next=5,D(w,t);case 5:if(e.sent){e.next=9;break}throw Bu("Error saving highlight",{position:"bottom-right"}),"Error creating highlight";case 9:e.next=14;break;case 11:throw e.prev=11,e.t0=e.catch(2),e.t0;case 14:case"end":return e.stop()}}),e,null,[[2,11]])})));return function(t){return e.apply(this,arguments)}}(),[w,D]),I=(0,u.useCallback)((function(e){var t,n,o=e.target,i=e.pageX,a=e.pageY;if(o&&(null==o?void 0:o.nodeType)===Node.ELEMENT_NODE){var l={tapX:e.clientX,tapY:e.clientY};if(null===(t=window)||void 0===t||null===(n=t.AndroidWebKitMessenger)||void 0===n||n.handleIdentifiableMessage("userTap",JSON.stringify(l)),f.current={pageX:i,pageY:a},o.hasAttribute(Lo)){var s=o.getAttribute(Lo),u=r.find((function(e){return e.id===s}));if(u){var c,d,p,h,g;b(u);var m=o.getBoundingClientRect();null===(c=window)||void 0===c||null===(d=c.webkit)||void 0===d||null===(p=d.messageHandlers.viewerAction)||void 0===p||p.postMessage({actionID:"showMenu",rectX:m.x,rectY:m.y,rectWidth:m.width,rectHeight:m.height}),null===(h=window)||void 0===h||null===(g=h.AndroidWebKitMessenger)||void 0===g||g.handleIdentifiableMessage("existingHighlightTap",JSON.stringify($k({},l)))}}else if(o.hasAttribute(Oo)){var v=o.getAttribute(Oo),y=r.find((function(e){return e.id===v}));b(y),P({highlight:y,highlightModalAction:"addComment"})}else if(o.hasAttribute(Ro)){var A=o.getAttribute(Ro),w=r.find((function(e){return e.id===A}));b(w),S(w)}else{var x,E,k;null===(x=window)||void 0===x||null===(E=x.webkit)||void 0===E||null===(k=E.messageHandlers.viewerAction)||void 0===k||k.postMessage({actionID:"pageTapped"}),b(void 0)}}}),[P,r,S]),j=(0,u.useCallback)((function(e){var t=e.target;if(t&&(null==t?void 0:t.nodeType)===Node.ELEMENT_NODE)if(t.hasAttribute(Lo)){var n=t.getAttribute(Lo),o=r.find((function(e){return e.id===n}));b(o),P({highlight:o,highlightModalAction:"addComment"})}else if(t.hasAttribute(Oo)){var i=t.getAttribute(Oo),a=r.find((function(e){return e.id===i}));b(a),P({highlight:a,highlightModalAction:"addComment"})}else b(void 0)}),[r,P]);(0,u.useCallback)((function(t){e.setShowHighlightsModal(!1),$i(r.map((function(e){return e.id}))),o(Zk(t))}),[r,c,e,o]),(0,u.useEffect)((function(){var e=0,t=function(t){e+=1,setTimeout((function(){1===e?I(t):2===e&&j(t),e=0}),250)};return document.addEventListener("click",t),function(){document.removeEventListener("click",t)}}),[I,j]);var F=(0,u.useCallback)(function(){var t=Jk(regeneratorRuntime.mark((function t(n,r){var o,i,a,l,s,u,c;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:t.t0=n,t.next="delete"===t.t0?3:"create"===t.t0?10:"updateColor"===t.t0?13:"comment"===t.t0?15:"copy"===t.t0?17:"setHighlightLabels"===t.t0?36:38;break;case 3:if(0!==(null!==(o=null==v?void 0:v.annotation)&&void 0!==o?o:"").length){t.next=8;break}return t.next=6,L();case 6:t.next=9;break;case 8:T(null==v?void 0:v.id);case 9:return t.abrupt("break",38);case 10:return t.next=12,B({color:r});case 12:return t.abrupt("break",38);case 13:return v&&r?R(v,r):Bu("Error updating color"),t.abrupt("break",38);case 15:return e.highlightBarDisabled||v?P({highlight:v,highlightModalAction:"addComment"}):P({highlight:void 0,selectionData:w||void 0,highlightModalAction:"addComment"}),t.abrupt("break",38);case 17:if(null!==(i=window.getSelection())){t.next=20;break}return t.abrupt("return");case 20:if(a=i.toString(),l="",v?Po(v.id).forEach((function(e){return l+=e.textContent})):a&&(l=a),!l){t.next=33;break}return t.prev=24,t.next=27,navigator.clipboard.writeText(l);case 27:Nu(v?"Highlight copied":"Text copied",{position:"bottom-right"}),t.next=33;break;case 30:t.prev=30,t.t1=t.catch(24),Bu("Error copying highlight, permission denied.",{position:"bottom-right"});case 33:return i.empty(),x(null),t.abrupt("break",38);case 36:return e.isAppleAppEmbed?null===(s=window)||void 0===s||null===(u=s.webkit)||void 0===u||null===(c=u.messageHandlers.highlightAction)||void 0===c||c.postMessage({actionID:"setHighlightLabels",highlightID:null==v?void 0:v.id}):S(v),t.abrupt("break",38);case 38:case"end":return t.stop()}}),t,null,[[24,30]])})));return function(e,n){return t.apply(this,arguments)}}(),[B,v,P,e.highlightBarDisabled,e.isAppleAppEmbed,L,w,x,R]);(0,u.useEffect)((function(){e.highlightOnRelease&&(F("create"),x(null))}),[w,x,F,e.highlightOnRelease]);var z=function(t,n){var r,o,i;e.isAppleAppEmbed&&(null===(r=window)||void 0===r||null===(o=r.webkit)||void 0===o||null===(i=o.messageHandlers.highlightAction)||void 0===i||i.postMessage({actionID:"highlightError",highlightAction:t,highlightID:null==v?void 0:v.id,error:"string"==typeof n?n:JSON.stringify(n)}))};(0,u.useEffect)((function(){b(void 0)}),[w]);var H,q,U,W,V,Q,G=function(t){var n,r,o;e.isAppleAppEmbed&&(null===(n=window)||void 0===n||null===(r=n.webkit)||void 0===r||null===(o=r.messageHandlers.highlightAction)||void 0===o||o.postMessage({actionID:t,highlightID:null==v?void 0:v.id}))},$=(0,u.useCallback)((function(e){var t=e.detail;if(t){$i(r.map((function(e){return e.id})));var n=r.filter((function(e){return e.id!==t}));o(Zk(n))}}),[r,c]);return(0,u.useEffect)((function(){var t=function(){var e=Jk(regeneratorRuntime.mark((function e(t){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,F(t);case 3:e.next=8;break;case 5:e.prev=5,e.t0=e.catch(0),z(t,e.t0);case 8:case"end":return e.stop()}}),e,null,[[0,5]])})));return function(t){return e.apply(this,arguments)}}(),n=function(){var e=Jk(regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,t("comment");case 2:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}(),o=function(){var e=Jk(regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,t("create");case 2:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}(),i=function(){var e=Jk(regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,t("share");case 2:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}(),a=function(){var e=Jk(regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,t("delete");case 2:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}(),l=function(){b(void 0)},s=function(){F("setHighlightLabels")},u=function(){var e=r.filter((function(e){return"HIGHLIGHT"==e.type})),t=Math.min(h+1,e.length-1);d(t,e)},c=function(){var e=r.filter((function(e){return"HIGHLIGHT"==e.type})),t=Math.max(h-1,0);d(t,e)},d=function(e,t){var n=t[e],r=document.querySelector('[omnivore-highlight-id="'.concat(n.id,'"]'));null==r||r.scrollIntoView({block:"center",behavior:"smooth"}),g(e)},f=function(){var e=Jk(regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!v||!v.quote){e.next=8;break}if(!window.AndroidWebKitMessenger){e.next=5;break}window.AndroidWebKitMessenger.handleIdentifiableMessage("writeToClipboard",JSON.stringify({quote:v.quote})),e.next=7;break;case 5:return e.next=7,navigator.clipboard.writeText(v.quote);case 7:b(void 0);case 8:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}(),p=function(){var e=Jk(regeneratorRuntime.mark((function e(t){var n;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:n=document.querySelector('[data-omnivore-anchor-idx="'.concat(t.anchorIdx,'"]')),document.querySelectorAll(".speakingSection").forEach((function(e){e!=n&&(null==e||e.classList.remove("speakingSection"))})),null==n||n.classList.add("speakingSection");case 4:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),m=function(){var t=Jk(regeneratorRuntime.mark((function t(n){var r,o,i;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(!v){t.next=10;break}return i=null!==(r=n.annotation)&&void 0!==r?r:"",t.next=4,e.articleMutations.updateHighlightMutation({libraryItemId:e.articleId,highlightId:v.id,annotation:null!==(o=n.annotation)&&void 0!==o?o:""});case 4:t.sent?O($k($k({},v),{},{annotation:i})):(console.log("failed to change annotation for highlight with id",v.id),z("saveAnnotation","Failed to create highlight.")),b(void 0),G("noteCreated"),t.next=19;break;case 10:return t.prev=10,t.next=13,B({annotation:n.annotation});case 13:G("noteCreated"),t.next=19;break;case 16:t.prev=16,t.t0=t.catch(10),z("saveAnnotation",t.t0);case 19:document.dispatchEvent(new Event("highlightsUpdated"));case 20:case"end":return t.stop()}}),t,null,[[10,16]])})));return function(e){return t.apply(this,arguments)}}();return document.addEventListener("annotate",n),document.addEventListener("highlight",o),document.addEventListener("share",i),document.addEventListener("remove",a),document.addEventListener("copyHighlight",f),document.addEventListener("dismissHighlight",l),document.addEventListener("saveAnnotation",m),document.addEventListener("speakingSection",p),document.addEventListener("setHighlightLabels",s),document.addEventListener("scrollToNextHighlight",u),document.addEventListener("scrollToPrevHighlight",c),document.addEventListener("deleteHighlightbyId",$),function(){document.removeEventListener("annotate",n),document.removeEventListener("highlight",o),document.removeEventListener("share",i),document.removeEventListener("remove",a),document.removeEventListener("copyHighlight",f),document.removeEventListener("dismissHighlight",l),document.removeEventListener("saveAnnotation",m),document.removeEventListener("speakingSection",p),document.removeEventListener("setHighlightLabels",s),document.removeEventListener("scrollToNextHighlight",u),document.removeEventListener("scrollToPrevHighlight",c),document.removeEventListener("deleteHighlightbyId",$)}})),(0,Ie.jsxs)(Ie.Fragment,{children:["addComment"==(null==a?void 0:a.highlightModalAction)&&(0,Ie.jsx)(Uu,{highlight:a.highlight,author:e.articleAuthor,title:e.articleTitle,libraryItemId:e.articleId,onUpdate:O,onOpenChange:function(){return l({highlightModalAction:"none"})},createHighlightForNote:null==a?void 0:a.createHighlightForNote}),k&&(0,Ie.jsx)(jd,{highlight:k,highlightId:k.id,onUpdate:O,onOpenChange:function(){S(void 0)}}),C&&(0,Ie.jsx)(Iw,{message:"Are you sure you want to delete this highlight? The note associated with it will also be deleted.",onAccept:function(){Jk(regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,L(C);case 2:T(void 0);case 3:case"end":return e.stop()}}),e)})))()},onOpenChange:function(){T(void 0)}}),!e.highlightBarDisabled&&(v||w)&&(0,Ie.jsx)(Ie.Fragment,{children:(0,Ie.jsx)(Wi,{anchorCoordinates:{pageX:null!==(H=null!==(q=null==w?void 0:w.focusPosition.x)&&void 0!==q?q:null===(U=f.current)||void 0===U?void 0:U.pageX)&&void 0!==H?H:0,pageY:null!==(W=null!==(V=null==w?void 0:w.focusPosition.y)&&void 0!==V?V:null===(Q=f.current)||void 0===Q?void 0:Q.pageY)&&void 0!==W?W:0},isNewHighlight:!!w,handleButtonClick:F,isSharedToFeed:null!=(null==v?void 0:v.sharedAt),displayAtBottom:oi(),highlightColor:null!==(t=null==v?void 0:v.color)&&void 0!==t?t:"yellow"})}),(0,Ie.jsxs)(Qk,{isShow:e.showHighlightsModal,onClose:function(){e.setShowHighlightsModal(!1)},children:[(0,Ie.jsx)(yk,{viewer:e.viewer,item:e.item,setShowNotebook:e.setShowHighlightsModal}),(0,Ie.jsx)(vx,{viewer:e.viewer,item:e.item,viewInReader:function(e){setTimeout((function(){var t=document.querySelector('[omnivore-highlight-id="'.concat(e,'"]'));null==t||t.scrollIntoView({block:"center",behavior:"auto"})}),1),history.replaceState(void 0,window.location.href,"#".concat(e))}})]})]})}function rS(e,t,n,r,o,i,a){try{var l=e[i](a),s=l.value}catch(e){return void n(e)}l.done?t(s):Promise.resolve(s).then(r,o)}function oS(e){return function(){var t=this,n=arguments;return new Promise((function(r,o){var i=e.apply(t,n);function a(e){rS(i,r,o,a,l,"next",e)}function l(e){rS(i,r,o,a,l,"throw",e)}a(void 0)}))}}function iS(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function aS(e){var t=function(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,i=[],a=!0,l=!1;try{for(n=n.call(e);!(a=(r=n.next()).done)&&(i.push(r.value),!t||i.length!==t);a=!0);}catch(e){l=!0,o=e}finally{try{a||null==n.return||n.return()}finally{if(l)throw o}}return i}}(e,t)||function(e,t){if(e){if("string"==typeof e)return iS(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?iS(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}((0,u.useState)(""),2),n=t[0],r=t[1],o=(0,u.useCallback)((function(e){r(e.target.value)}),[r]),i=(0,u.useCallback)(oS(regeneratorRuntime.mark((function t(){return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:e.onCommit(n),e.onOpenChange(!1);case 2:case"end":return t.stop()}}),t)}))),[n,e]);return(0,Ie.jsxs)(ks,{defaultOpen:!0,onOpenChange:e.onOpenChange,children:[(0,Ie.jsx)(_s,{}),(0,Ie.jsxs)(Ts,{onPointerDownOutside:function(e){e.preventDefault()},css:{overflow:"auto"},children:[(0,Ie.jsxs)(Fe,{css:{display:"grid",gridTemplateColumns:"1fr auto 1fr",px:"$2"},children:[(0,Ie.jsx)(ii,{style:"ctaSecondary",onClick:function(){e.onOpenChange(!1)},css:{justifySelf:"start"},children:"Cancel"}),(0,Ie.jsx)(Ue,{alignment:"center",children:(0,Ie.jsx)(wo,{children:"Report Issue"})}),(0,Ie.jsx)(ii,{style:"ctaSecondary",onClick:i,css:{justifySelf:"end"},children:"Submit"})]}),(0,Ie.jsx)(Os,{css:{mt:"$2",width:"95%",p:"$1",minHeight:"$6"},autoFocus:!0,placeholder:"Add any additional comments (optional)",value:n,onChange:o,maxLength:1e3})]})]})}function lS(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}function sS(e,t,n,r,o,i,a){try{var l=e[i](a),s=l.value}catch(e){return void n(e)}l.done?t(s):Promise.resolve(s).then(r,o)}function uS(e){return function(){var t=this,n=arguments;return new Promise((function(r,o){var i=e.apply(t,n);function a(e){sS(i,r,o,a,l,"next",e)}function l(e){sS(i,r,o,a,l,"throw",e)}a(void 0)}))}}function cS(){return cS=uS(regeneratorRuntime.mark((function e(t){var n;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n=(0,Rs.gql)(Ek||(Ek=lS(["\n mutation ReportItem($input: ReportItemInput!) {\n reportItem(input: $input) {\n ... on ReportItemResult {\n message\n }\n }\n }\n "]))),e.prev=1,e.next=4,qs(n,{input:t});case 4:return e.abrupt("return",!0);case 7:return e.prev=7,e.t0=e.catch(1),e.abrupt("return",!1);case 10:case"end":return e.stop()}}),e,null,[[1,7]])}))),cS.apply(this,arguments)}function dS(...e){return t=>e.forEach((e=>function(e,t){"function"==typeof e?e(t):null!=e&&(e.current=t)}(e,t)))}const fS=u.forwardRef(((e,t)=>{const{children:n,...r}=e;return u.Children.toArray(n).some(gS)?u.createElement(u.Fragment,null,u.Children.map(n,(e=>gS(e)?u.createElement(pS,ke({},r,{ref:t}),e.props.children):e))):u.createElement(pS,ke({},r,{ref:t}),n)}));fS.displayName="Slot";const pS=u.forwardRef(((e,t)=>{const{children:n,...r}=e;return u.isValidElement(n)?u.cloneElement(n,{...mS(r,n.props),ref:dS(t,n.ref)}):u.Children.count(n)>1?u.Children.only(null):null}));pS.displayName="SlotClone";const hS=({children:e})=>u.createElement(u.Fragment,null,e);function gS(e){return u.isValidElement(e)&&e.type===hS}function mS(e,t){const n={...t};for(const r in t){const o=e[r],i=t[r];/^on[A-Z]/.test(r)?n[r]=(...e)=>{null==i||i(...e),null==o||o(...e)}:"style"===r?n[r]={...o,...i}:"className"===r&&(n[r]=[o,i].filter(Boolean).join(" "))}return{...e,...n}}const vS=["a","button","div","h2","h3","img","li","nav","ol","p","span","svg","ul"].reduce(((e,t)=>({...e,[t]:u.forwardRef(((e,n)=>{const{asChild:r,...o}=e,i=r?fS:t;return u.useEffect((()=>{window[Symbol.for("radix-ui")]=!0}),[]),u.createElement(i,ke({},o,{ref:n}))}))})),{});function bS(...e){const t=e[0];if(1===e.length)return t;const n=()=>{const n=e.map((e=>({useScope:e(),scopeName:e.scopeName})));return function(e){const r=n.reduce(((t,{useScope:n,scopeName:r})=>({...t,...n(e)[`__scope${r}`]})),{});return u.useMemo((()=>({[`__scope${t.scopeName}`]:r})),[r])}};return n.scopeName=t.scopeName,n}const[yS,AS]=function(e,t=[]){let n=[];const r=()=>{const t=n.map((e=>u.createContext(e)));return function(n){const r=(null==n?void 0:n[e])||t;return u.useMemo((()=>({[`__scope${e}`]:{...n,[e]:r}})),[n,r])}};return r.scopeName=e,[function(t,r){const o=u.createContext(r),i=n.length;function a(t){const{scope:n,children:r,...a}=t,l=(null==n?void 0:n[e][i])||o,s=u.useMemo((()=>a),Object.values(a));return u.createElement(l.Provider,{value:s},r)}return n=[...n,r],a.displayName=t+"Provider",[a,function(n,a){const l=(null==a?void 0:a[e][i])||o,s=u.useContext(l);if(s)return s;if(void 0!==r)return r;throw new Error(`\`${n}\` must be used within \`${t}\``)}]},bS(r,...t)]}("Avatar"),[wS,xS]=yS("Avatar"),ES=u.forwardRef(((e,t)=>{const{__scopeAvatar:n,...r}=e,[o,i]=u.useState("idle");return u.createElement(wS,{scope:n,imageLoadingStatus:o,onImageLoadingStatusChange:i},u.createElement(vS.span,ke({},r,{ref:t})))})),kS=u.forwardRef(((e,t)=>{const{__scopeAvatar:n,delayMs:r,...o}=e,i=xS("AvatarFallback",n),[a,l]=u.useState(void 0===r);return u.useEffect((()=>{if(void 0!==r){const e=window.setTimeout((()=>l(!0)),r);return()=>window.clearTimeout(e)}}),[r]),a&&"loaded"!==i.imageLoadingStatus?u.createElement(vS.span,ke({},o,{ref:t})):null})),SS=kS;function _S(e){return(0,Ie.jsx)(CS,{title:e.tooltip,css:{width:e.height,height:e.height,borderRadius:"50%"},children:(0,Ie.jsx)(TS,{children:e.fallbackText})})}var CS=he(ES,{display:"inline-flex",alignItems:"center",justifyContent:"center",verticalAlign:"middle",overflow:"hidden",userSelect:"none"}),TS=he(SS,{width:"100%",height:"100%",display:"flex",alignItems:"center",justifyContent:"center",fontSize:"15px",fontWeight:600,fontFamily:"$inter",color:"$avatarFont",backgroundColor:"$avatarBg"});function DS(e,t,n,r,o,i,a){try{var l=e[i](a),s=l.value}catch(e){return void n(e)}l.done?t(s):Promise.resolve(s).then(r,o)}function LS(e){return function(){var t=this,n=arguments;return new Promise((function(r,o){var i=e.apply(t,n);function a(e){DS(i,r,o,a,l,"next",e)}function l(e){DS(i,r,o,a,l,"throw",e)}a(void 0)}))}}function OS(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,i=[],a=!0,l=!1;try{for(n=n.call(e);!(a=(r=n.next()).done)&&(i.push(r.value),!t||i.length!==t);a=!0);}catch(e){l=!0,o=e}finally{try{a||null==n.return||n.return()}finally{if(l)throw o}}return i}}(e,t)||function(e,t){if(e){if("string"==typeof e)return RS(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?RS(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function RS(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var PS=function(e){return(0,Ie.jsxs)(We,{id:"recommendations-container",css:{borderRadius:"6px",bg:"$grayBgSubtle",p:"16px",pt:"16px",pb:"2px",width:"100%",marginTop:"24px",color:"$grayText",lineHeight:"2.0"},children:[(0,Ie.jsx)(Ue,{css:{pb:"0px",mb:"0px"},children:(0,Ie.jsxs)(wo,{style:"recommendedByline",css:{paddingTop:"0px",mb:"16px"},children:["Comments"," ",(0,Ie.jsxs)(ze,{css:{color:"grayText",fontWeight:"400"},children:[" "," ".concat(e.recommendationsWithNotes.length)]})]})}),e.recommendationsWithNotes.map((function(e){var t,n,r,o;return(0,Ie.jsx)(We,{alignment:"start",distribution:"start",css:{pt:"0px",pb:"8px"},children:(0,Ie.jsxs)(Ue,{children:[(0,Ie.jsx)(ze,{css:{verticalAlign:"top",minWidth:"28px",display:"flex"},children:(0,Ie.jsx)(_S,{imageURL:null===(t=e.user)||void 0===t?void 0:t.profileImageURL,height:"28px",tooltip:null===(n=e.user)||void 0===n?void 0:n.name,fallbackText:null!==(r=null===(o=e.user)||void 0===o?void 0:o.username[0])&&void 0!==r?r:"U"})}),(0,Ie.jsx)(wo,{style:"userNote",css:{pl:"16px"},children:e.note})]})},e.id)}))]})};function MS(e){var t,n,r,o,i,l,s,c,d,f,p,h=OS((0,u.useState)(e.labels),2),g=h[0],m=h[1],v=OS((0,u.useState)(e.article.title),2),b=v[0],y=v[1],A=OS((0,u.useState)(!1),2),w=A[0],x=A[1],E=OS((0,u.useState)(null!==(t=e.fontSize)&&void 0!==t?t:20),2),k=E[0],S=E[1],_=OS((0,u.useState)(e.highlightOnRelease),2),C=_[0],T=_[1],D=OS((0,u.useState)(null),2),L=D[0],O=D[1],R=OS((0,u.useState)(null),2),P=R[0],M=R[1],N=OS((0,u.useState)(null),2),B=N[0],I=N[1],j=OS((0,u.useState)(void 0),2),F=j[0],z=j[1],H=OS((0,u.useState)(void 0),2),q=H[0],U=H[1],W=(0,u.useRef)(window.location.hash?window.location.hash.split("#")[1]:null),V=OS((0,u.useState)(null!==(n=e.textDirection)&&void 0!==n?n:"LTR"),2),Q=V[0],G=(V[1],(0,u.useCallback)((function(e){S(e)}),[S]));(0,u.useEffect)((function(){var t;m(e.labels),G(null!==(t=e.fontSize)&&void 0!==t?t:20)}),[e.labels,e.fontSize,G]),(0,u.useEffect)((function(){var t=function(e){var t,n,r=null!==(t=null!==(n=e.lineHeight)&&void 0!==n?n:P)&&void 0!==t?t:150;r>=100&&r<=300&&M(r)},n=function(e){var t="on"===e.enableHighlightOnRelease;T(t)},r=function(e){var t,n,r=null!==(t=null!==(n=e.maxWidthPercentage)&&void 0!==n?n:L)&&void 0!==t?t:100;r>=40&&r<=100&&O(r)},o=function(t){var n,r,o,i=null!==(n=null!==(r=null!==(o=t.fontFamily)&&void 0!==o?o:B)&&void 0!==r?r:e.fontFamily)&&void 0!==n?n:"inter";I(i)},i=function(){var e=LS(regeneratorRuntime.mark((function e(t){var n;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:n="high"==t.fontContrast,z(n);case 2:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),l=function(){var e=LS(regeneratorRuntime.mark((function e(t){var n,r;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:(r=null!==(n=t.fontSize)&&void 0!==n?n:18)>=10&&r<=48&&G(r);case 2:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),s=function(){var e=LS(regeneratorRuntime.mark((function e(t){var n;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:(n=t.themeName)&&("undefined"!=typeof window&&Xe(n));case 2:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),u=function(e){var t;Xe("true"===(null!==(t=e.isDark)&&void 0!==t?t:"false")?a.Dark:a.Light)},c=function(e){var t;U(null!==(t=e.justifyText)&&void 0!==t&&t)},d=function(e){var t;m(null!==(t=e.labels)&&void 0!==t?t:[])},f=function(e){e.title&&y(e.title)},p=function(){navigator.share&&navigator.share({title:(null!=b?b:e.article.title)+"\n",text:(null!=b?b:e.article.title)+"\n",url:e.article.originalArticleUrl})},h=function(){console.log("saving read position")};return document.addEventListener("saveReadPosition",h),document.addEventListener("updateFontFamily",o),document.addEventListener("updateLineHeight",t),document.addEventListener("updateMaxWidthPercentage",r),document.addEventListener("updateTheme",s),document.addEventListener("updateFontSize",l),document.addEventListener("updateColorMode",u),document.addEventListener("handleFontContrastChange",i),document.addEventListener("updateJustifyText",c),document.addEventListener("updateTitle",f),document.addEventListener("updateLabels",d),document.addEventListener("share",p),document.addEventListener("handleAutoHighlightModeChange",n),function(){document.removeEventListener("updateFontFamily",o),document.removeEventListener("updateLineHeight",t),document.removeEventListener("updateMaxWidthPercentage",r),document.removeEventListener("updateTheme",s),document.removeEventListener("updateFontSize",l),document.removeEventListener("updateColorMode",u),document.removeEventListener("handleFontContrastChange",i),document.removeEventListener("updateJustifyText",c),document.removeEventListener("updateTitle",f),document.removeEventListener("updateLabels",d),document.removeEventListener("share",p),document.removeEventListener("handleAutoHighlightModeChange",n),document.removeEventListener("saveReadPosition",h)}}));var $,Y,Z=function(e){return"System Default"===e?"unset":e},K={fontSize:k,margin:null!==(r=e.margin)&&void 0!==r?r:360,maxWidthPercentage:null!=L?L:e.maxWidthPercentage,lineHeight:null!==(o=null!=P?P:e.lineHeight)&&void 0!==o?o:150,fontFamily:null!==(i=null!==(l=Z(B))&&void 0!==l?l:Z(e.fontFamily))&&void 0!==i?i:"inter",readerFontColor:($=null!=F?F:null!==(s=e.highContrastText)&&void 0!==s&&s,$?ge.colors.readerFontHighContrast.toString():ge.colors.readerFont.toString()),readerTableHeaderColor:ge.colors.readerTableHeader.toString(),readerHeadersColor:ge.colors.readerFont.toString()},J={default:K.maxWidthPercentage?"".concat(K.maxWidthPercentage,"%"):1024-K.margin,small:"".concat(K.maxWidthPercentage?K.maxWidthPercentage:120-Math.round(10*K.margin/100),"%")},X=(0,u.useMemo)((function(){var t,n;return null!==(t=null===(n=e.article.recommendations)||void 0===n?void 0:n.filter((function(e){return e.note})))&&void 0!==t?t:[]}),[e.article.recommendations]);return(0,Ie.jsxs)(Ie.Fragment,{children:[(0,Ie.jsxs)(Fe,{dir:Q,id:"article-container",css:{padding:30,minHeight:"100vh",maxWidth:J.default,background:ge.colors.readerBg.toString(),"--text-align":(Y=null!=q?q:null!==(c=e.justifyText)&&void 0!==c&&c,Y?"justify":"start"),"--text-font-family":K.fontFamily,"--text-font-size":"".concat(K.fontSize,"px"),"--line-height":"".concat(K.lineHeight,"%"),"--blockquote-padding":"0.5em 1em","--blockquote-icon-font-size":"1.3rem","--figure-margin":"1.6rem auto","--hr-margin":"1em","--font-color":K.readerFontColor,"--table-header-color":K.readerTableHeaderColor,"@sm":{"--blockquote-padding":"1em 2em","--blockquote-icon-font-size":"1.7rem","--figure-margin":"2.6875rem auto","--hr-margin":"2em"},"@mdDown":{maxWidth:J.small,padding:15}},children:[(0,Ie.jsxs)(We,{alignment:"start",distribution:"start",children:[(0,Ie.jsx)(_o,{rawDisplayDate:null!==(d=null!==(f=e.article.publishedAt)&&void 0!==f?f:e.article.savedAt)&&void 0!==d?d:e.article.createdAt,wordsCount:e.article.wordsCount}),(0,Ie.jsx)(wo,{style:"articleTitle","data-testid":"article-headline",css:{color:K.readerFontColor,fontFamily:K.fontFamily,width:"100%",wordWrap:"break-word",display:"-webkit-box","-webkit-box-orient":"vertical","-webkit-line-clamp":"4",overflow:"hidden","@smDown":{"-webkit-line-clamp":"6"}},title:b,children:b}),(0,Ie.jsx)(So,{author:e.article.author,href:e.article.url}),g?(0,Ie.jsx)(ze,{css:{pb:"16px",width:"100%","&:empty":{display:"none"}},children:null==g?void 0:g.map((function(e){return(0,Ie.jsx)(rf,{text:e.name,color:e.color},e.id)}))}):null,X.length>0&&(0,Ie.jsx)(PS,{recommendationsWithNotes:X})]}),(0,Ie.jsx)(Ao,{articleId:e.article.id,content:e.article.content,highlightHref:W,initialAnchorIndex:e.article.readingProgressAnchorIndex,initialReadingProgressTop:e.article.readingProgressTopPercent,articleMutations:e.articleMutations,isAppleAppEmbed:e.isAppleAppEmbed}),(0,Ie.jsxs)(ii,{style:"ghost",css:{p:0,my:"$4",color:"$error",fontSize:"$1","&:hover":{opacity:.8},"@media print":{display:"none"}},onClick:function(){return x(!0)},children:["Report issues with this page -",">"]}),(0,Ie.jsx)(Fe,{css:{height:"100px"}})]}),(0,Ie.jsx)(nS,{viewer:e.viewer,item:e.article,scrollToHighlight:W,highlights:e.article.highlights,articleTitle:b,articleAuthor:null!==(p=e.article.author)&&void 0!==p?p:"",articleId:e.article.id,isAppleAppEmbed:e.isAppleAppEmbed,highlightBarDisabled:e.highlightBarDisabled,showHighlightsModal:e.showHighlightsModal,setShowHighlightsModal:e.setShowHighlightsModal,highlightOnRelease:C,articleMutations:e.articleMutations}),w?(0,Ie.jsx)(aS,{onCommit:function(t){!function(e){cS.apply(this,arguments)}({pageId:e.article.id,itemUrl:e.article.url,reportTypes:["CONTENT_DISPLAY"],reportComment:t})},onOpenChange:function(e){return x(e)}}):null]})}var NS=o(7420),BS={};BS.styleTagTransform=Cr(),BS.setAttributes=Er(),BS.insert=wr().bind(null,"head"),BS.domAPI=yr(),BS.insertStyleElement=Sr(),vr()(NS.Z,BS),NS.Z&&NS.Z.locals&&NS.Z.locals;var IS=o(2778),jS={};function FS(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 zS(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?FS(Object(r),!0).forEach((function(t){n(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):FS(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}jS.styleTagTransform=Cr(),jS.setAttributes=Er(),jS.insert=wr().bind(null,"head"),jS.domAPI=yr(),jS.insertStyleElement=Sr(),vr()(IS.Z,jS),IS.Z&&IS.Z.locals&&IS.Z.locals;var HS=function(){var e,t=(e=s().mark((function e(t,n){var r,o,i,a;return s().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!window.webkit){e.next=7;break}return e.next=3,null===(r=window)||void 0===r||null===(o=r.webkit)||void 0===o||null===(i=o.messageHandlers.articleAction)||void 0===i?void 0:i.postMessage(zS({actionID:t},n));case 3:return a=e.sent,e.abrupt("return",a.result);case 7:console.log("sending android a message",t,n),AndroidWebKitMessenger.handleIdentifiableMessage(t,JSON.stringify(n)),e.t0=t,e.next="createHighlight"===e.t0?12:"deleteHighlight"===e.t0?13:"mergeHighlight"===e.t0?14:"updateHighlight"===e.t0?15:"articleReadingProgress"===e.t0?16:17;break;case 12:return e.abrupt("return",n);case 13:case 15:case 16:case 17:return e.abrupt("return",!0);case 14:return e.abrupt("return",{id:n.id,type:n.type,shortID:n.shortId,quote:n.quote,patch:n.patch,createdByMe:!0,labels:[]});case 18:case"end":return e.stop()}}),e)})),function(){var t=this,n=arguments;return new Promise((function(o,i){var a=e.apply(t,n);function l(e){r(a,o,i,l,s,"next",e)}function s(e){r(a,o,i,l,s,"throw",e)}l(void 0)}))});return function(e,n){return t.apply(this,arguments)}}(),qS=function(){var e,t,n;return function(){if("undefined"!=typeof window){var e=window.themeKey||window.localStorage.getItem(Ke);e&&Object.values(a).includes(e)&&Xe(e)}}(),(0,Ie.jsx)(Ie.Fragment,{children:(0,Ie.jsx)(Fe,{css:{paddingTop:window.webkit?0:"48px"},children:(0,Ie.jsx)(We,{alignment:"center",distribution:"center",className:"disable-webkit-callout",style:{backgroundColor:"var(--colors-readerBg)"},children:(0,Ie.jsx)(MS,{article:window.omnivoreArticle,labels:window.omnivoreArticle.labels,isAppleAppEmbed:!0,highlightBarDisabled:!window.enableHighlightBar,fontSize:null!==(e=window.fontSize)&&void 0!==e?e:18,fontFamily:null!==(t=window.fontFamily)&&void 0!==t?t:"inter",margin:window.margin,maxWidthPercentage:window.maxWidthPercentage,lineHeight:window.lineHeight,highlightOnRelease:window.highlightOnRelease,highContrastText:null===(n=window.prefersHighContrastFont)||void 0===n||n,justifyText:window.justifyText,articleMutations:{createHighlightMutation:function(e){return HS("createHighlight",e)},deleteHighlightMutation:function(e,t){return HS("deleteHighlight",{libraryItemId:e,highlightId:t})},mergeHighlightMutation:function(e){return HS("mergeHighlight",e)},updateHighlightMutation:function(e){return HS("updateHighlight",e)},articleReadingProgressMutation:function(e){return HS("articleReadingProgress",e)}}})})})})};d.render((0,Ie.jsx)(qS,{}),document.getElementById("root"))})()})();