Skip to content

Instantly share code, notes, and snippets.

@TheoOiry
Created December 12, 2023 15:28
Show Gist options
  • Save TheoOiry/8bb7e528312e811e950f07b29c688fd7 to your computer and use it in GitHub Desktop.
Save TheoOiry/8bb7e528312e811e950f07b29c688fd7 to your computer and use it in GitHub Desktop.
This file has been truncated, but you can view the full file.
/*! For license information please see bundle.js.LICENSE.txt */
(()=>{var e,t,n={3225:(e,t,n)=>{"use strict";var r=n(5156),i=n(4687),o=n(3885);e.exports=function(e,t,n){return Array.isArray(t)||(n=t,t=["{","}"]),n&&n.constructor===Object?(t=t.map(r),function n(r,a){o(r,(function(r,o){if(a.push(o),i(r,Object))return n(r,a),void a.pop();e=e.replace(new RegExp(t[0]+a.join(".")+t[1],"gm"),i(r,Function)?r:String(r)),a.pop()}))}(n,[]),e):e}},9377:e=>{e.exports={trueFunc:function(){return!0},falseFunc:function(){return!1}}},142:(e,t,n)=>{"use strict";var r=n(8889),i=n(8696);e.exports=async function(t){var n=await e.exports.request(t);return n.$=i.load(n.data),n},e.exports.request=r},8125:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.groupSelectors=t.getDocumentRoot=void 0;var r=n(1782);t.getDocumentRoot=function(e){for(;e.parent;)e=e.parent;return e},t.groupSelectors=function(e){for(var t=[],n=[],i=0,o=e;i<o.length;i++){var a=o[i];a.some(r.isFilter)?t.push(a):n.push(a)}return[n,t]}},2369: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 i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e},r.apply(this,arguments)},i=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var i=Object.getOwnPropertyDescriptor(t,n);i&&!("get"in i?!t.__esModule:i.writable||i.configurable)||(i={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,i)}:function(e,t,n,r){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}),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)&&i(t,e,n);return o(t,e),t},s=this&&this.__spreadArray||function(e,t,n){if(n||2===arguments.length)for(var r,i=0,o=t.length;i<o;i++)!r&&i in t||(r||(r=Array.prototype.slice.call(t,0,i)),r[i]=t[i]);return e.concat(r||Array.prototype.slice.call(t))};Object.defineProperty(t,"__esModule",{value:!0}),t.select=t.filter=t.some=t.is=t.aliases=t.pseudos=t.filters=void 0;var l=n(3982),c=n(2564),u=a(n(557)),d=a(n(9377)),f=n(8125),h=n(1782),p=n(2564);Object.defineProperty(t,"filters",{enumerable:!0,get:function(){return p.filters}}),Object.defineProperty(t,"pseudos",{enumerable:!0,get:function(){return p.pseudos}}),Object.defineProperty(t,"aliases",{enumerable:!0,get:function(){return p.aliases}});var m={type:l.SelectorType.Universal,namespace:null},g={type:l.SelectorType.Pseudo,name:"scope",data:null};function b(e,t,n){if(void 0===n&&(n={}),"function"==typeof t)return e.some(t);var r=(0,f.groupSelectors)((0,l.parse)(t)),i=r[0],o=r[1];return i.length>0&&e.some((0,c._compileToken)(i,n))||o.some((function(t){return y(t,e,n).length>0}))}function v(e,t,n){if(0===t.length)return[];var r,i=(0,f.groupSelectors)(e),o=i[0],a=i[1];if(o.length){var s=A(t,o,n);if(0===a.length)return s;s.length&&(r=new Set(s))}for(var l=0;l<a.length&&(null==r?void 0:r.size)!==t.length;l++){var c=a[l];if(0===(r?t.filter((function(e){return u.isTag(e)&&!r.has(e)})):t).length)break;if((s=y(c,t,n)).length)if(r)s.forEach((function(e){return r.add(e)}));else{if(l===a.length-1)return s;r=new Set(s)}}return void 0!==r?r.size===t.length?t:t.filter((function(e){return r.has(e)})):[]}function y(e,t,n){var i;if(e.some(l.isTraversal)){var o=null!==(i=n.root)&&void 0!==i?i:(0,f.getDocumentRoot)(t[0]),a=r(r({},n),{context:t,relativeSelector:!1});return e.push(g),E(o,e,a,!0,t.length)}return E(t,e,n,!1,t.length)}function E(e,t,n,i,o){var a=t.findIndex(h.isFilter),s=t.slice(0,a),f=t[a],p=t.length-1===a?o:1/0,g=(0,h.getLimit)(f.name,f.data,p);if(0===g)return[];var b=(0!==s.length||Array.isArray(e)?0===s.length?(Array.isArray(e)?e:[e]).filter(u.isTag):i||s.some(l.isTraversal)?T(e,[s],n,g):A(e,[s],n):u.getChildren(e).filter(u.isTag)).slice(0,g),y=function(e,t,n,r){var i="string"==typeof n?parseInt(n,10):NaN;switch(e){case"first":case"lt":return t;case"last":return t.length>0?[t[t.length-1]]:t;case"nth":case"eq":return isFinite(i)&&Math.abs(i)<t.length?[i<0?t[t.length+i]:t[i]]:[];case"gt":return isFinite(i)?t.slice(i+1):[];case"even":return t.filter((function(e,t){return t%2==0}));case"odd":return t.filter((function(e,t){return t%2==1}));case"not":var o=new Set(v(n,t,r));return t.filter((function(e){return!o.has(e)}))}}(f.name,b,f.data,n);if(0===y.length||t.length===a+1)return y;var _=t.slice(a+1),S=_.some(l.isTraversal);if(S){if((0,l.isTraversal)(_[0])){var C=_[0].type;C!==l.SelectorType.Sibling&&C!==l.SelectorType.Adjacent||(y=(0,c.prepareContext)(y,u,!0)),_.unshift(m)}n=r(r({},n),{relativeSelector:!1,rootFunc:function(e){return y.includes(e)}})}else n.rootFunc&&n.rootFunc!==d.trueFunc&&(n=r(r({},n),{rootFunc:d.trueFunc}));return _.some(h.isFilter)?E(y,_,n,!1,o):S?T(y,[_],n,o):A(y,[_],n)}function T(e,t,n,r){return _(e,(0,c._compileToken)(t,n,e),r)}function _(e,t,n){void 0===n&&(n=1/0);var r=(0,c.prepareContext)(e,u,t.shouldTestNextSiblings);return u.find((function(e){return u.isTag(e)&&t(e)}),r,!0,n)}function A(e,t,n){var r=(Array.isArray(e)?e:[e]).filter(u.isTag);if(0===r.length)return r;var i=(0,c._compileToken)(t,n);return i===d.trueFunc?r:r.filter(i)}t.is=function(e,t,n){return void 0===n&&(n={}),b([e],t,n)},t.some=b,t.filter=function(e,t,n){return void 0===n&&(n={}),v((0,l.parse)(e),t,n)},t.select=function(e,t,n,r){if(void 0===n&&(n={}),void 0===r&&(r=1/0),"function"==typeof e)return _(t,e);var i=(0,f.groupSelectors)((0,l.parse)(e)),o=i[0],a=i[1].map((function(e){return E(t,e,n,!0,r)}));return o.length&&a.push(T(t,o,n,r)),0===a.length?[]:1===a.length?a[0]:u.uniqueSort(a.reduce((function(e,t){return s(s([],e,!0),t,!0)})))}},1782:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getLimit=t.isFilter=t.filterNames=void 0,t.filterNames=new Set(["first","last","eq","gt","nth","lt","even","odd"]),t.isFilter=function e(n){return"pseudo"===n.type&&(!!t.filterNames.has(n.name)||!("not"!==n.name||!Array.isArray(n.data))&&n.data.some((function(t){return t.some(e)})))},t.getLimit=function(e,t,n){var r=null!=t?parseInt(t,10):NaN;switch(e){case"first":return 1;case"nth":case"eq":return isFinite(r)?r>=0?r+1:1/0:0;case"lt":return isFinite(r)?r>=0?Math.min(r,n):1/0:0;case"gt":return isFinite(r)?1/0:0;case"odd":return 2*n;case"even":return 2*n-1;case"last":case"not":return 1/0}}},4206:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.toggleClass=t.removeClass=t.addClass=t.hasClass=t.removeAttr=t.val=t.data=t.prop=t.attr=void 0;var r=n(7809),i=n(6739),o=n(557),a=Object.prototype.hasOwnProperty,s=/\s+/,l="data-",c={null:null,true:!0,false:!1},u=/^(?:autofocus|autoplay|async|checked|controls|defer|disabled|hidden|loop|multiple|open|readonly|required|scoped|selected)$/i,d=/^{[^]*}$|^\[[^]*]$/;function f(e,t,n){var o;if(e&&(0,i.isTag)(e))return null!==(o=e.attribs)&&void 0!==o||(e.attribs={}),t?a.call(e.attribs,t)?!n&&u.test(t)?t:e.attribs[t]:"option"===e.name&&"value"===t?(0,r.text)(e.children):"input"!==e.name||"radio"!==e.attribs.type&&"checkbox"!==e.attribs.type||"value"!==t?void 0:"on":e.attribs}function h(e,t,n){null===n?v(e,t):e.attribs[t]="".concat(n)}function p(e,t,n){return t in e?e[t]:!n&&u.test(t)?void 0!==f(e,t,!1):f(e,t,n)}function m(e,t,n,r){t in e?e[t]=n:h(e,t,!r&&u.test(t)?n?"":null:"".concat(n))}function g(e,t,n){var r,i=e;null!==(r=i.data)&&void 0!==r||(i.data={}),"object"==typeof t?Object.assign(i.data,t):"string"==typeof t&&void 0!==n&&(i.data[t]=n)}function b(e,t){var n,r,o;null==t?r=(n=Object.keys(e.attribs).filter((function(e){return e.startsWith(l)}))).map((function(e){return(0,i.camelCase)(e.slice(5))})):(n=[l+(0,i.cssCase)(t)],r=[t]);for(var s=0;s<n.length;++s){var u=n[s],f=r[s];if(a.call(e.attribs,u)&&!a.call(e.data,f)){if(o=e.attribs[u],a.call(c,o))o=c[o];else if(o===String(Number(o)))o=Number(o);else if(d.test(o))try{o=JSON.parse(o)}catch(e){}e.data[f]=o}}return null==t?e.data:o}function v(e,t){e.attribs&&a.call(e.attribs,t)&&delete e.attribs[t]}function y(e){return e?e.trim().split(s):[]}t.attr=function(e,t){if("object"==typeof e||void 0!==t){if("function"==typeof t){if("string"!=typeof e)throw new Error("Bad combination of arguments.");return(0,i.domEach)(this,(function(n,r){(0,i.isTag)(n)&&h(n,e,t.call(n,r,n.attribs[e]))}))}return(0,i.domEach)(this,(function(n){(0,i.isTag)(n)&&("object"==typeof e?Object.keys(e).forEach((function(t){var r=e[t];h(n,t,r)})):h(n,e,t))}))}return arguments.length>1?this:f(this[0],e,this.options.xmlMode)},t.prop=function(e,t){var n,r=this;if("string"==typeof e&&void 0===t){var a=this[0];if(!a||!(0,i.isTag)(a))return;switch(e){case"style":var s=this.css(),l=Object.keys(s);return l.forEach((function(e,t){s[t]=e})),s.length=l.length,s;case"tagName":case"nodeName":return a.name.toUpperCase();case"href":case"src":var c=null===(n=a.attribs)||void 0===n?void 0:n[e];return"undefined"==typeof URL||("href"!==e||"a"!==a.tagName&&"link"!==a.name)&&("src"!==e||"img"!==a.tagName&&"iframe"!==a.tagName&&"audio"!==a.tagName&&"video"!==a.tagName&&"source"!==a.tagName)||void 0===c||!this.options.baseURI?c:new URL(c,this.options.baseURI).href;case"innerText":return(0,o.innerText)(a);case"textContent":return(0,o.textContent)(a);case"outerHTML":return this.clone().wrap("<container />").parent().html();case"innerHTML":return this.html();default:return p(a,e,this.options.xmlMode)}}if("object"==typeof e||void 0!==t){if("function"==typeof t){if("object"==typeof e)throw new Error("Bad combination of arguments.");return(0,i.domEach)(this,(function(n,o){(0,i.isTag)(n)&&m(n,e,t.call(n,o,p(n,e,r.options.xmlMode)),r.options.xmlMode)}))}return(0,i.domEach)(this,(function(n){(0,i.isTag)(n)&&("object"==typeof e?Object.keys(e).forEach((function(t){var i=e[t];m(n,t,i,r.options.xmlMode)})):m(n,e,t,r.options.xmlMode))}))}},t.data=function(e,t){var n,r=this[0];if(r&&(0,i.isTag)(r)){var o=r;return null!==(n=o.data)&&void 0!==n||(o.data={}),e?"object"==typeof e||void 0!==t?((0,i.domEach)(this,(function(n){(0,i.isTag)(n)&&("object"==typeof e?g(n,e):g(n,e,t))})),this):a.call(o.data,e)?o.data[e]:b(o,e):b(o)}},t.val=function(e){var t=0===arguments.length,n=this[0];if(!n||!(0,i.isTag)(n))return t?void 0:this;switch(n.name){case"textarea":return this.text(e);case"select":var o=this.find("option:selected");if(!t){if(null==this.attr("multiple")&&"object"==typeof e)return this;this.find("option").removeAttr("selected");for(var a="object"!=typeof e?[e]:e,s=0;s<a.length;s++)this.find('option[value="'.concat(a[s],'"]')).attr("selected","");return this}return this.attr("multiple")?o.toArray().map((function(e){return(0,r.text)(e.children)})):o.attr("value");case"input":case"option":return t?this.attr("value"):this.attr("value",e)}},t.removeAttr=function(e){for(var t=y(e),n=function(e){(0,i.domEach)(r,(function(n){(0,i.isTag)(n)&&v(n,t[e])}))},r=this,o=0;o<t.length;o++)n(o);return this},t.hasClass=function(e){return this.toArray().some((function(t){var n=(0,i.isTag)(t)&&t.attribs.class,r=-1;if(n&&e.length)for(;(r=n.indexOf(e,r+1))>-1;){var o=r+e.length;if((0===r||s.test(n[r-1]))&&(o===n.length||s.test(n[o])))return!0}return!1}))},t.addClass=function e(t){if("function"==typeof t)return(0,i.domEach)(this,(function(n,r){if((0,i.isTag)(n)){var o=n.attribs.class||"";e.call([n],t.call(n,r,o))}}));if(!t||"string"!=typeof t)return this;for(var n=t.split(s),r=this.length,o=0;o<r;o++){var a=this[o];if((0,i.isTag)(a)){var l=f(a,"class",!1);if(l){for(var c=" ".concat(l," "),u=0;u<n.length;u++){var d="".concat(n[u]," ");c.includes(" ".concat(d))||(c+=d)}h(a,"class",c.trim())}else h(a,"class",n.join(" ").trim())}}return this},t.removeClass=function e(t){if("function"==typeof t)return(0,i.domEach)(this,(function(n,r){(0,i.isTag)(n)&&e.call([n],t.call(n,r,n.attribs.class||""))}));var n=y(t),r=n.length,o=0===arguments.length;return(0,i.domEach)(this,(function(e){if((0,i.isTag)(e))if(o)e.attribs.class="";else{for(var t=y(e.attribs.class),a=!1,s=0;s<r;s++){var l=t.indexOf(n[s]);l>=0&&(t.splice(l,1),a=!0,s--)}a&&(e.attribs.class=t.join(" "))}}))},t.toggleClass=function e(t,n){if("function"==typeof t)return(0,i.domEach)(this,(function(r,o){(0,i.isTag)(r)&&e.call([r],t.call(r,o,r.attribs.class||"",n),n)}));if(!t||"string"!=typeof t)return this;for(var r=t.split(s),o=r.length,a="boolean"==typeof n?n?1:-1:0,l=this.length,c=0;c<l;c++){var u=this[c];if((0,i.isTag)(u)){for(var d=y(u.attribs.class),f=0;f<o;f++){var h=d.indexOf(r[f]);a>=0&&h<0?d.push(r[f]):a<=0&&h>=0&&d.splice(h,1)}u.attribs.class=d.join(" ")}}return this}},4854:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.css=void 0;var r=n(6739);function i(e,t,n,r){if("string"==typeof t){var a=o(e),s="function"==typeof n?n.call(e,r,a[t]):n;""===s?delete a[t]:null!=s&&(a[t]=s),e.attribs.style=(l=a,Object.keys(l).reduce((function(e,t){return"".concat(e).concat(e?" ":"").concat(t,": ").concat(l[t],";")}),""))}else"object"==typeof t&&Object.keys(t).forEach((function(n,r){i(e,n,t[n],r)}));var l}function o(e,t){if(e&&(0,r.isTag)(e)){var n=function(e){if(!(e=(e||"").trim()))return{};for(var t,n={},r=0,i=e.split(";");r<i.length;r++){var o=i[r],a=o.indexOf(":");if(a<1||a===o.length-1){var s=o.trimEnd();s.length>0&&void 0!==t&&(n[t]+=";".concat(s))}else n[t=o.slice(0,a).trim()]=o.slice(a+1).trim()}return n}(e.attribs.style);if("string"==typeof t)return n[t];if(Array.isArray(t)){var i={};return t.forEach((function(e){null!=n[e]&&(i[e]=n[e])})),i}return n}}t.css=function(e,t){return null!=e&&null!=t||"object"==typeof e&&!Array.isArray(e)?(0,r.domEach)(this,(function(n,o){(0,r.isTag)(n)&&i(n,e,t,o)})):0!==this.length?o(this[0],e):void 0}},7772:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.serializeArray=t.serialize=void 0;var r=n(6739),i="input,select,textarea,keygen",o=/%20/g,a=/\r?\n/g;t.serialize=function(){return this.serializeArray().map((function(e){return"".concat(encodeURIComponent(e.name),"=").concat(encodeURIComponent(e.value))})).join("&").replace(o,"+")},t.serializeArray=function(){var e=this;return this.map((function(t,n){var o=e._make(n);return(0,r.isTag)(n)&&"form"===n.name?o.find(i).toArray():o.filter(i).toArray()})).filter('[name!=""]:enabled:not(:submit, :button, :image, :reset, :file):matches([checked], :not(:checkbox, :radio))').map((function(t,n){var r,i=e._make(n),o=i.attr("name"),s=null!==(r=i.val())&&void 0!==r?r:"";return Array.isArray(s)?s.map((function(e){return{name:o,value:e.replace(a,"\r\n")}})):{name:o,value:s.replace(a,"\r\n")}})).toArray()}},7402:function(e,t,n){"use strict";var r=this&&this.__spreadArray||function(e,t,n){if(n||2===arguments.length)for(var r,i=0,o=t.length;i<o;i++)!r&&i in t||(r||(r=Array.prototype.slice.call(t,0,i)),r[i]=t[i]);return e.concat(r||Array.prototype.slice.call(t))};Object.defineProperty(t,"__esModule",{value:!0}),t.clone=t.text=t.toString=t.html=t.empty=t.replaceWith=t.remove=t.insertBefore=t.before=t.insertAfter=t.after=t.wrapAll=t.unwrap=t.wrapInner=t.wrap=t.prepend=t.append=t.prependTo=t.appendTo=t._makeDomArray=void 0;var i=n(6722),o=n(1841),a=n(7809),s=n(6739),l=n(557);function c(e){return function(){for(var t=this,n=[],r=0;r<arguments.length;r++)n[r]=arguments[r];var o=this.length-1;return(0,s.domEach)(this,(function(r,a){if((0,i.hasChildren)(r)){var s="function"==typeof n[0]?n[0].call(r,a,t._render(r.children)):n,l=t._makeDomArray(s,a<o);e(l,r.children,r)}}))}}function u(e,t,n,i,o){for(var a,s,l=r([t,n],i,!0),c=0===t?null:e[t-1],u=t+n>=e.length?null:e[t+n],d=0;d<i.length;++d){var f=i[d],h=f.parent;if(h){var p=h.children.indexOf(f);p>-1&&(h.children.splice(p,1),o===h&&t>p&&l[0]--)}f.parent=o,f.prev&&(f.prev.next=null!==(a=f.next)&&void 0!==a?a:null),f.next&&(f.next.prev=null!==(s=f.prev)&&void 0!==s?s:null),f.prev=0===d?c:i[d-1],f.next=d===i.length-1?u:i[d+1]}return c&&(c.next=i[0]),u&&(u.prev=i[i.length-1]),e.splice.apply(e,l)}function d(e){return function(t){for(var n=this.length-1,r=this.parents().last(),o=0;o<this.length;o++){var a=this[o],l="function"==typeof t?t.call(a,o,a):"string"!=typeof t||(0,s.isHtml)(t)?t:r.find(t).clone(),c=this._makeDomArray(l,o<n)[0];if(c&&(0,i.hasChildren)(c)){for(var u=c,d=0;d<u.children.length;){var f=u.children[d];(0,s.isTag)(f)?(u=f,d=0):d++}e(a,u,[c])}}return this}}t._makeDomArray=function(e,t){var n=this;return null==e?[]:(0,s.isCheerio)(e)?t?(0,s.cloneDom)(e.get()):e.get():Array.isArray(e)?e.reduce((function(e,r){return e.concat(n._makeDomArray(r,t))}),[]):"string"==typeof e?this._parse(e,this.options,!1,null).children:t?(0,s.cloneDom)([e]):[e]},t.appendTo=function(e){return((0,s.isCheerio)(e)?e:this._make(e)).append(this),this},t.prependTo=function(e){return((0,s.isCheerio)(e)?e:this._make(e)).prepend(this),this},t.append=c((function(e,t,n){u(t,t.length,0,e,n)})),t.prepend=c((function(e,t,n){u(t,0,0,e,n)})),t.wrap=d((function(e,t,n){var r=e.parent;if(r){var i=r.children,a=i.indexOf(e);(0,o.update)([e],t),u(i,a,0,n,r)}})),t.wrapInner=d((function(e,t,n){(0,i.hasChildren)(e)&&((0,o.update)(e.children,t),(0,o.update)(n,e))})),t.unwrap=function(e){var t=this;return this.parent(e).not("body").each((function(e,n){t._make(n).replaceWith(n.children)})),this},t.wrapAll=function(e){var t=this[0];if(t){for(var n=this._make("function"==typeof e?e.call(t,0,t):e).insertBefore(t),r=void 0,i=0;i<n.length;i++)"tag"===n[i].type&&(r=n[i]);for(var o=0;r&&o<r.children.length;){var a=r.children[o];"tag"===a.type?(r=a,o=0):o++}r&&this._make(r).append(this)}return this},t.after=function(){for(var e=this,t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];var r=this.length-1;return(0,s.domEach)(this,(function(n,o){var a=n.parent;if((0,i.hasChildren)(n)&&a){var s=a.children,l=s.indexOf(n);if(!(l<0)){var c="function"==typeof t[0]?t[0].call(n,o,e._render(n.children)):t;u(s,l+1,0,e._makeDomArray(c,o<r),a)}}}))},t.insertAfter=function(e){var t=this;"string"==typeof e&&(e=this._make(e)),this.remove();var n=[];return this._makeDomArray(e).forEach((function(e){var r=t.clone().toArray(),i=e.parent;if(i){var o=i.children,a=o.indexOf(e);a<0||(u(o,a+1,0,r,i),n.push.apply(n,r))}})),this._make(n)},t.before=function(){for(var e=this,t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];var r=this.length-1;return(0,s.domEach)(this,(function(n,o){var a=n.parent;if((0,i.hasChildren)(n)&&a){var s=a.children,l=s.indexOf(n);if(!(l<0)){var c="function"==typeof t[0]?t[0].call(n,o,e._render(n.children)):t;u(s,l,0,e._makeDomArray(c,o<r),a)}}}))},t.insertBefore=function(e){var t=this,n=this._make(e);this.remove();var r=[];return(0,s.domEach)(n,(function(e){var n=t.clone().toArray(),i=e.parent;if(i){var o=i.children,a=o.indexOf(e);a<0||(u(o,a,0,n,i),r.push.apply(r,n))}})),this._make(r)},t.remove=function(e){var t=e?this.filter(e):this;return(0,s.domEach)(t,(function(e){(0,l.removeElement)(e),e.prev=e.next=e.parent=null})),this},t.replaceWith=function(e){var t=this;return(0,s.domEach)(this,(function(n,r){var i=n.parent;if(i){var a=i.children,s="function"==typeof e?e.call(n,r,n):e,l=t._makeDomArray(s);(0,o.update)(l,null);var c=a.indexOf(n);u(a,c,1,l,i),l.includes(n)||(n.parent=n.prev=n.next=null)}}))},t.empty=function(){return(0,s.domEach)(this,(function(e){(0,i.hasChildren)(e)&&(e.children.forEach((function(e){e.next=e.prev=e.parent=null})),e.children.length=0)}))},t.html=function(e){var t=this;if(void 0===e){var n=this[0];return n&&(0,i.hasChildren)(n)?this._render(n.children):null}return(0,s.domEach)(this,(function(n){if((0,i.hasChildren)(n)){n.children.forEach((function(e){e.next=e.prev=e.parent=null}));var r=(0,s.isCheerio)(e)?e.toArray():t._parse("".concat(e),t.options,!1,n).children;(0,o.update)(r,n)}}))},t.toString=function(){return this._render(this)},t.text=function(e){var t=this;return void 0===e?(0,a.text)(this):"function"==typeof e?(0,s.domEach)(this,(function(n,r){return t._make(n).text(e.call(n,r,(0,a.text)([n])))})):(0,s.domEach)(this,(function(t){if((0,i.hasChildren)(t)){t.children.forEach((function(e){e.next=e.prev=e.parent=null}));var n=new i.Text("".concat(e));(0,o.update)(n,t)}}))},t.clone=function(){return this._make((0,s.cloneDom)(this.get()))}},802:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var i=Object.getOwnPropertyDescriptor(t,n);i&&!("get"in i?!t.__esModule:i.writable||i.configurable)||(i={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,i)}:function(e,t,n,r){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}),o=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 i(t,e),t},a=this&&this.__spreadArray||function(e,t,n){if(n||2===arguments.length)for(var r,i=0,o=t.length;i<o;i++)!r&&i in t||(r||(r=Array.prototype.slice.call(t,0,i)),r[i]=t[i]);return e.concat(r||Array.prototype.slice.call(t))};Object.defineProperty(t,"__esModule",{value:!0}),t.addBack=t.add=t.end=t.slice=t.index=t.toArray=t.get=t.eq=t.last=t.first=t.has=t.not=t.is=t.filterArray=t.filter=t.map=t.each=t.contents=t.children=t.siblings=t.prevUntil=t.prevAll=t.prev=t.nextUntil=t.nextAll=t.next=t.closest=t.parentsUntil=t.parents=t.parent=t.find=void 0;var s=n(6722),l=o(n(2369)),c=n(6739),u=n(7809),d=n(557),f=/^\s*[~+]/;function h(e){return function(t){for(var n=[],r=1;r<arguments.length;r++)n[r-1]=arguments[r];return function(r){var i,o=e(t,this);return r&&(o=y(o,r,this.options.xmlMode,null===(i=this._root)||void 0===i?void 0:i[0])),this._make(this.length>1&&o.length>1?n.reduce((function(e,t){return t(e)}),o):o)}}}t.find=function(e){var t;if(!e)return this._make([]);var n=this.toArray();if("string"!=typeof e){var r=(0,c.isCheerio)(e)?e.toArray():[e];return this._make(r.filter((function(e){return n.some((function(t){return(0,u.contains)(t,e)}))})))}var i=f.test(e)?n:this.children().toArray(),o={context:n,root:null===(t=this._root)||void 0===t?void 0:t[0],xmlMode:this.options.xmlMode,lowerCaseTags:this.options.lowerCaseTags,lowerCaseAttributeNames:this.options.lowerCaseAttributeNames,pseudos:this.options.pseudos,quirksMode:this.options.quirksMode};return this._make(l.select(e,i,o))};var p=h((function(e,t){for(var n,r=[],i=0;i<t.length;i++){var o=e(t[i]);r.push(o)}return(n=new Array).concat.apply(n,r)})),m=h((function(e,t){for(var n=[],r=0;r<t.length;r++){var i=e(t[r]);null!==i&&n.push(i)}return n}));function g(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];var r=null,i=h((function(e,t){var n=[];return(0,c.domEach)(t,(function(t){for(var i;(i=e(t))&&!(null==r?void 0:r(i,n.length));t=i)n.push(i)})),n})).apply(void 0,a([e],t,!1));return function(e,t){var n=this;r="string"==typeof e?function(t){return l.is(t,e,n.options)}:e?v(e):null;var o=i.call(this,t);return r=null,o}}function b(e){return Array.from(new Set(e))}function v(e){return"function"==typeof e?function(t,n){return e.call(t,n,t)}:(0,c.isCheerio)(e)?function(t){return Array.prototype.includes.call(e,t)}:function(t){return e===t}}function y(e,t,n,r){return"string"==typeof t?l.filter(t,e,{xmlMode:n,root:r}):e.filter(v(t))}t.parent=m((function(e){var t=e.parent;return t&&!(0,s.isDocument)(t)?t:null}),b),t.parents=p((function(e){for(var t=[];e.parent&&!(0,s.isDocument)(e.parent);)t.push(e.parent),e=e.parent;return t}),d.uniqueSort,(function(e){return e.reverse()})),t.parentsUntil=g((function(e){var t=e.parent;return t&&!(0,s.isDocument)(t)?t:null}),d.uniqueSort,(function(e){return e.reverse()})),t.closest=function(e){var t,n=[];if(!e)return this._make(n);var r={xmlMode:this.options.xmlMode,root:null===(t=this._root)||void 0===t?void 0:t[0]},i="string"==typeof e?function(t){return l.is(t,e,r)}:v(e);return(0,c.domEach)(this,(function(e){for(;e&&(0,c.isTag)(e);){if(i(e,0)){n.includes(e)||n.push(e);break}e=e.parent}})),this._make(n)},t.next=m((function(e){return(0,d.nextElementSibling)(e)})),t.nextAll=p((function(e){for(var t=[];e.next;)e=e.next,(0,c.isTag)(e)&&t.push(e);return t}),b),t.nextUntil=g((function(e){return(0,d.nextElementSibling)(e)}),b),t.prev=m((function(e){return(0,d.prevElementSibling)(e)})),t.prevAll=p((function(e){for(var t=[];e.prev;)e=e.prev,(0,c.isTag)(e)&&t.push(e);return t}),b),t.prevUntil=g((function(e){return(0,d.prevElementSibling)(e)}),b),t.siblings=p((function(e){return(0,d.getSiblings)(e).filter((function(t){return(0,c.isTag)(t)&&t!==e}))}),d.uniqueSort),t.children=p((function(e){return(0,d.getChildren)(e).filter(c.isTag)}),b),t.contents=function(){var e=this.toArray().reduce((function(e,t){return(0,s.hasChildren)(t)?e.concat(t.children):e}),[]);return this._make(e)},t.each=function(e){for(var t=0,n=this.length;t<n&&!1!==e.call(this[t],t,this[t]);)++t;return this},t.map=function(e){for(var t=[],n=0;n<this.length;n++){var r=this[n],i=e.call(r,n,r);null!=i&&(t=t.concat(i))}return this._make(t)},t.filter=function(e){var t;return this._make(y(this.toArray(),e,this.options.xmlMode,null===(t=this._root)||void 0===t?void 0:t[0]))},t.filterArray=y,t.is=function(e){var t=this.toArray();return"string"==typeof e?l.some(t.filter(c.isTag),e,this.options):!!e&&t.some(v(e))},t.not=function(e){var t=this.toArray();if("string"==typeof e){var n=new Set(l.filter(e,t,this.options));t=t.filter((function(e){return!n.has(e)}))}else{var r=v(e);t=t.filter((function(e,t){return!r(e,t)}))}return this._make(t)},t.has=function(e){var t=this;return this.filter("string"==typeof e?":has(".concat(e,")"):function(n,r){return t._make(r).find(e).length>0})},t.first=function(){return this.length>1?this._make(this[0]):this},t.last=function(){return this.length>0?this._make(this[this.length-1]):this},t.eq=function(e){var t;return 0==(e=+e)&&this.length<=1?this:(e<0&&(e=this.length+e),this._make(null!==(t=this[e])&&void 0!==t?t:[]))},t.get=function(e){return null==e?this.toArray():this[e<0?this.length+e:e]},t.toArray=function(){return Array.prototype.slice.call(this)},t.index=function(e){var t,n;return null==e?(t=this.parent().children(),n=this[0]):"string"==typeof e?(t=this._make(e),n=this[0]):(t=this,n=(0,c.isCheerio)(e)?e[0]:e),Array.prototype.indexOf.call(t,n)},t.slice=function(e,t){return this._make(Array.prototype.slice.call(this,e,t))},t.end=function(){var e;return null!==(e=this.prevObject)&&void 0!==e?e:this._make([])},t.add=function(e,t){var n=this._make(e,t),r=(0,d.uniqueSort)(a(a([],this.get(),!0),n.get(),!0));return this._make(r)},t.addBack=function(e){return this.prevObject?this.add(e?this.prevObject.filter(e):this.prevObject):this}},7154:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var i=Object.getOwnPropertyDescriptor(t,n);i&&!("get"in i?!t.__esModule:i.writable||i.configurable)||(i={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,i)}:function(e,t,n,r){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}),o=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 i(t,e),t};Object.defineProperty(t,"__esModule",{value:!0}),t.Cheerio=void 0;var a=o(n(4206)),s=o(n(802)),l=o(n(7402)),c=o(n(4854)),u=o(n(7772)),d=function(e,t,n){if(this.length=0,this.options=n,this._root=t,e){for(var r=0;r<e.length;r++)this[r]=e[r];this.length=e.length}};t.Cheerio=d,d.prototype.cheerio="[cheerio object]",d.prototype.splice=Array.prototype.splice,d.prototype[Symbol.iterator]=Array.prototype[Symbol.iterator],Object.assign(d.prototype,a,s,l,c,u)},8696:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var i=Object.getOwnPropertyDescriptor(t,n);i&&!("get"in i?!t.__esModule:i.writable||i.configurable)||(i={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,i)}:function(e,t,n,r){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}),o=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||r(t,e,n)},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)&&r(t,e,n);return i(t,e),t},s=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.root=t.parseHTML=t.merge=t.contains=t.text=t.xml=t.html=t.load=void 0,o(n(285),t);var l=n(3404),c=n(1841),u=n(6376),d=s(n(6398)),f=n(2105),h=(0,c.getParse)((function(e,t,n,r){return t.xmlMode||t._useHtmlParser2?(0,f.parseDocument)(e,t):(0,u.parseWithParse5)(e,t,n,r)}));t.load=(0,l.getLoad)(h,(function(e,t){return t.xmlMode||t._useHtmlParser2?(0,d.default)(e,t):(0,u.renderWithParse5)(e)})),t.default=(0,t.load)([]);var p=n(7809);Object.defineProperty(t,"html",{enumerable:!0,get:function(){return p.html}}),Object.defineProperty(t,"xml",{enumerable:!0,get:function(){return p.xml}}),Object.defineProperty(t,"text",{enumerable:!0,get:function(){return p.text}});var m=a(n(7809));t.contains=m.contains,t.merge=m.merge,t.parseHTML=m.parseHTML,t.root=m.root},3404:function(e,t,n){"use strict";var r,i=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)}),o=this&&this.__assign||function(){return o=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e},o.apply(this,arguments)},a=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var i=Object.getOwnPropertyDescriptor(t,n);i&&!("get"in i?!t.__esModule:i.writable||i.configurable)||(i={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,i)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),s=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),l=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)&&a(t,e,n);return s(t,e),t};Object.defineProperty(t,"__esModule",{value:!0}),t.getLoad=void 0;var c=l(n(6863)),u=l(n(7809)),d=n(7154),f=n(6739);t.getLoad=function(e,t){return function n(r,a,s){if(void 0===s&&(s=!0),null==r)throw new Error("cheerio.load() expects a string");var l=o(o({},c.default),(0,c.flatten)(a)),h=e(r,l,s,null),p=function(n){function r(){return null!==n&&n.apply(this,arguments)||this}return i(r,n),r.prototype._make=function(e,t){var n=m(e,t);return n.prevObject=this,n},r.prototype._parse=function(t,n,r,i){return e(t,n,r,i)},r.prototype._render=function(e){return t(e,this.options)},r}(d.Cheerio);function m(t,n,r,i){if(void 0===r&&(r=h),t&&(0,f.isCheerio)(t))return t;var a=o(o({},l),(0,c.flatten)(i)),s="string"==typeof r?[e(r,a,!1,null)]:"length"in r?r:[r],u=(0,f.isCheerio)(s)?s:new p(s,null,a);if(u._root=u,!t)return new p(void 0,u,a);var d,m="string"==typeof t&&(0,f.isHtml)(t)?e(t,a,!1,null).children:(d=t).name||"root"===d.type||"text"===d.type||"comment"===d.type?[t]:Array.isArray(t)?t:void 0,g=new p(m,u,a);if(m)return g;if("string"!=typeof t)throw new Error("Unexpected type of selector");var b=t,v=n?"string"==typeof n?(0,f.isHtml)(n)?new p([e(n,a,!1,null)],u,a):(b="".concat(n," ").concat(b),u):(0,f.isCheerio)(n)?n:new p(Array.isArray(n)?n:[n],u,a):u;return v?v.find(b):g}return Object.assign(m,u,{load:n,_root:h,_options:l,fn:p.prototype,prototype:p.prototype}),m}}},6863:function(e,t){"use strict";var n=this&&this.__assign||function(){return n=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e},n.apply(this,arguments)};Object.defineProperty(t,"__esModule",{value:!0}),t.flatten=void 0,t.default={xml:!1,decodeEntities:!0};var r={_useHtmlParser2:!0,xmlMode:!0};t.flatten=function(e){return(null==e?void 0:e.xml)?"boolean"==typeof e.xml?r:n(n({},r),e.xml):null!=e?e:void 0}},1841:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.update=t.getParse=void 0;var r=n(557),i=n(6722);function o(e,t){var n=Array.isArray(e)?e:[e];t?t.children=n:t=null;for(var i=0;i<n.length;i++){var o=n[i];o.parent&&o.parent.children!==n&&(0,r.removeElement)(o),t?(o.prev=n[i-1]||null,o.next=n[i+1]||null):o.prev=o.next=null,o.parent=t}return t}t.getParse=function(e){return function(t,n,r,a){if("undefined"!=typeof Buffer&&Buffer.isBuffer(t)&&(t=t.toString()),"string"==typeof t)return e(t,n,r,a);var s=t;if(!Array.isArray(s)&&(0,i.isDocument)(s))return s;var l=new i.Document([]);return o(s,l),l}},t.update=o},6376:function(e,t,n){"use strict";var r=this&&this.__spreadArray||function(e,t,n){if(n||2===arguments.length)for(var r,i=0,o=t.length;i<o;i++)!r&&i in t||(r||(r=Array.prototype.slice.call(t,0,i)),r[i]=t[i]);return e.concat(r||Array.prototype.slice.call(t))};Object.defineProperty(t,"__esModule",{value:!0}),t.renderWithParse5=t.parseWithParse5=void 0;var i=n(6722),o=n(997),a=n(4710);t.parseWithParse5=function(e,t,n,r){var i={scriptingEnabled:"boolean"!=typeof t.scriptingEnabled||t.scriptingEnabled,treeAdapter:a.adapter,sourceCodeLocationInfo:t.sourceCodeLocationInfo};return n?(0,o.parse)(e,i):(0,o.parseFragment)(r,e,i)};var s={treeAdapter:a.adapter};t.renderWithParse5=function(e){for(var t,n=("length"in e?e:[e]),a=0;a<n.length;a+=1){var l=n[a];(0,i.isDocument)(l)&&(t=Array.prototype.splice).call.apply(t,r([n,a,1],l.children,!1))}var c="";for(a=0;a<n.length;a+=1)l=n[a],c+=(0,o.serializeOuter)(l,s);return c}},7809: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 i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e},r.apply(this,arguments)},i=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var i=Object.getOwnPropertyDescriptor(t,n);i&&!("get"in i?!t.__esModule:i.writable||i.configurable)||(i={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,i)}:function(e,t,n,r){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}),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)&&i(t,e,n);return o(t,e),t};Object.defineProperty(t,"__esModule",{value:!0}),t.merge=t.contains=t.root=t.parseHTML=t.text=t.xml=t.html=void 0;var s=n(557),l=a(n(6863));function c(e,t,n){return e?e(null!=t?t:e._root.children,null,void 0,n).toString():""}function u(e){if(Array.isArray(e))return!0;if("object"!=typeof e||!Object.prototype.hasOwnProperty.call(e,"length")||"number"!=typeof e.length||e.length<0)return!1;for(var t=0;t<e.length;t++)if(!(t in e))return!1;return!0}t.html=function(e,t){return c(this,function(e,t){return"object"==typeof e&&null!=e&&!("length"in e)&&!("type"in e)}(e)?void(t=e):e,r(r(r({},l.default),null==this?void 0:this._options),(0,l.flatten)(null!=t?t:{})))},t.xml=function(e){return c(this,e,r(r({},this._options),{xmlMode:!0}))},t.text=function(e){for(var t=e||(this?this.root():[]),n="",r=0;r<t.length;r++)n+=(0,s.textContent)(t[r]);return n},t.parseHTML=function(e,t,n){if(void 0===n&&(n="boolean"==typeof t&&t),!e||"string"!=typeof e)return null;"boolean"==typeof t&&(n=t);var r=this.load(e,l.default,!1);return n||r("script").remove(),r.root()[0].children.slice()},t.root=function(){return this(this._root)},t.contains=function(e,t){if(t===e)return!1;for(var n=t;n&&n!==n.parent;)if((n=n.parent)===e)return!0;return!1},t.merge=function(e,t){if(u(e)&&u(t)){for(var n=e.length,r=+t.length,i=0;i<r;i++)e[n++]=t[i];return e.length=n,e}}},285:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0})},6739:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isHtml=t.cloneDom=t.domEach=t.cssCase=t.camelCase=t.isCheerio=t.isTag=void 0;var r,i=n(6722),o=n(6722);Object.defineProperty(t,"isTag",{enumerable:!0,get:function(){return o.isTag}}),t.isCheerio=function(e){return null!=e.cheerio},t.camelCase=function(e){return e.replace(/[_.-](\w|$)/g,(function(e,t){return t.toUpperCase()}))},t.cssCase=function(e){return e.replace(/[A-Z]/g,"-$&").toLowerCase()},t.domEach=function(e,t){for(var n=e.length,r=0;r<n;r++)t(e[r],r);return e},t.cloneDom=function(e){var t="length"in e?Array.prototype.map.call(e,(function(e){return(0,i.cloneNode)(e,!0)})):[(0,i.cloneNode)(e,!0)],n=new i.Document(t);return t.forEach((function(e){e.parent=n})),t},function(e){e[e.LowerA=97]="LowerA",e[e.LowerZ=122]="LowerZ",e[e.UpperA=65]="UpperA",e[e.UpperZ=90]="UpperZ",e[e.Exclamation=33]="Exclamation"}(r||(r={})),t.isHtml=function(e){var t=e.indexOf("<");if(t<0||t>e.length-3)return!1;var n=e.charCodeAt(t+1);return(n>=r.LowerA&&n<=r.LowerZ||n>=r.UpperA&&n<=r.UpperZ||n===r.Exclamation)&&e.includes(">",t+2)}},9254:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var i=Object.getOwnPropertyDescriptor(t,n);i&&!("get"in i?!t.__esModule:i.writable||i.configurable)||(i={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,i)}:function(e,t,n,r){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}),o=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 i(t,e),t};Object.defineProperty(t,"__esModule",{value:!0}),t.Parser=void 0;var a=o(n(4054)),s=n(9529),l=new Set(["input","option","optgroup","select","button","datalist","textarea"]),c=new Set(["p"]),u=new Set(["thead","tbody"]),d=new Set(["dd","dt"]),f=new Set(["rt","rp"]),h=new Map([["tr",new Set(["tr","th","td"])],["th",new Set(["th"])],["td",new Set(["thead","th","td"])],["body",new Set(["head","link","script"])],["li",new Set(["li"])],["p",c],["h1",c],["h2",c],["h3",c],["h4",c],["h5",c],["h6",c],["select",l],["input",l],["output",l],["button",l],["datalist",l],["textarea",l],["option",new Set(["option"])],["optgroup",new Set(["optgroup","option"])],["dd",d],["dt",d],["address",c],["article",c],["aside",c],["blockquote",c],["details",c],["div",c],["dl",c],["fieldset",c],["figcaption",c],["figure",c],["footer",c],["form",c],["header",c],["hr",c],["main",c],["nav",c],["ol",c],["pre",c],["section",c],["table",c],["ul",c],["rt",f],["rp",f],["tbody",u],["tfoot",u]]),p=new Set(["area","base","basefont","br","col","command","embed","frame","hr","img","input","isindex","keygen","link","meta","param","source","track","wbr"]),m=new Set(["math","svg"]),g=new Set(["mi","mo","mn","ms","mtext","annotation-xml","foreignobject","desc","title"]),b=/\s|\//,v=function(){function e(e,t){var n,r,i,o,s;void 0===t&&(t={}),this.options=t,this.startIndex=0,this.endIndex=0,this.openTagStart=0,this.tagname="",this.attribname="",this.attribvalue="",this.attribs=null,this.stack=[],this.foreignContext=[],this.buffers=[],this.bufferOffset=0,this.writeIndex=0,this.ended=!1,this.cbs=null!=e?e:{},this.lowerCaseTagNames=null!==(n=t.lowerCaseTags)&&void 0!==n?n:!t.xmlMode,this.lowerCaseAttributeNames=null!==(r=t.lowerCaseAttributeNames)&&void 0!==r?r:!t.xmlMode,this.tokenizer=new(null!==(i=t.Tokenizer)&&void 0!==i?i:a.default)(this.options,this),null===(s=(o=this.cbs).onparserinit)||void 0===s||s.call(o,this)}return e.prototype.ontext=function(e,t){var n,r,i=this.getSlice(e,t);this.endIndex=t-1,null===(r=(n=this.cbs).ontext)||void 0===r||r.call(n,i),this.startIndex=t},e.prototype.ontextentity=function(e){var t,n,r=this.tokenizer.getSectionStart();this.endIndex=r-1,null===(n=(t=this.cbs).ontext)||void 0===n||n.call(t,(0,s.fromCodePoint)(e)),this.startIndex=r},e.prototype.isVoidElement=function(e){return!this.options.xmlMode&&p.has(e)},e.prototype.onopentagname=function(e,t){this.endIndex=t;var n=this.getSlice(e,t);this.lowerCaseTagNames&&(n=n.toLowerCase()),this.emitOpenTag(n)},e.prototype.emitOpenTag=function(e){var t,n,r,i;this.openTagStart=this.startIndex,this.tagname=e;var o=!this.options.xmlMode&&h.get(e);if(o)for(;this.stack.length>0&&o.has(this.stack[this.stack.length-1]);){var a=this.stack.pop();null===(n=(t=this.cbs).onclosetag)||void 0===n||n.call(t,a,!0)}this.isVoidElement(e)||(this.stack.push(e),m.has(e)?this.foreignContext.push(!0):g.has(e)&&this.foreignContext.push(!1)),null===(i=(r=this.cbs).onopentagname)||void 0===i||i.call(r,e),this.cbs.onopentag&&(this.attribs={})},e.prototype.endOpenTag=function(e){var t,n;this.startIndex=this.openTagStart,this.attribs&&(null===(n=(t=this.cbs).onopentag)||void 0===n||n.call(t,this.tagname,this.attribs,e),this.attribs=null),this.cbs.onclosetag&&this.isVoidElement(this.tagname)&&this.cbs.onclosetag(this.tagname,!0),this.tagname=""},e.prototype.onopentagend=function(e){this.endIndex=e,this.endOpenTag(!1),this.startIndex=e+1},e.prototype.onclosetag=function(e,t){var n,r,i,o,a,s;this.endIndex=t;var l=this.getSlice(e,t);if(this.lowerCaseTagNames&&(l=l.toLowerCase()),(m.has(l)||g.has(l))&&this.foreignContext.pop(),this.isVoidElement(l))this.options.xmlMode||"br"!==l||(null===(r=(n=this.cbs).onopentagname)||void 0===r||r.call(n,"br"),null===(o=(i=this.cbs).onopentag)||void 0===o||o.call(i,"br",{},!0),null===(s=(a=this.cbs).onclosetag)||void 0===s||s.call(a,"br",!1));else{var c=this.stack.lastIndexOf(l);if(-1!==c)if(this.cbs.onclosetag)for(var u=this.stack.length-c;u--;)this.cbs.onclosetag(this.stack.pop(),0!==u);else this.stack.length=c;else this.options.xmlMode||"p"!==l||(this.emitOpenTag("p"),this.closeCurrentTag(!0))}this.startIndex=t+1},e.prototype.onselfclosingtag=function(e){this.endIndex=e,this.options.xmlMode||this.options.recognizeSelfClosing||this.foreignContext[this.foreignContext.length-1]?(this.closeCurrentTag(!1),this.startIndex=e+1):this.onopentagend(e)},e.prototype.closeCurrentTag=function(e){var t,n,r=this.tagname;this.endOpenTag(e),this.stack[this.stack.length-1]===r&&(null===(n=(t=this.cbs).onclosetag)||void 0===n||n.call(t,r,!e),this.stack.pop())},e.prototype.onattribname=function(e,t){this.startIndex=e;var n=this.getSlice(e,t);this.attribname=this.lowerCaseAttributeNames?n.toLowerCase():n},e.prototype.onattribdata=function(e,t){this.attribvalue+=this.getSlice(e,t)},e.prototype.onattribentity=function(e){this.attribvalue+=(0,s.fromCodePoint)(e)},e.prototype.onattribend=function(e,t){var n,r;this.endIndex=t,null===(r=(n=this.cbs).onattribute)||void 0===r||r.call(n,this.attribname,this.attribvalue,e===a.QuoteType.Double?'"':e===a.QuoteType.Single?"'":e===a.QuoteType.NoValue?void 0:null),this.attribs&&!Object.prototype.hasOwnProperty.call(this.attribs,this.attribname)&&(this.attribs[this.attribname]=this.attribvalue),this.attribvalue=""},e.prototype.getInstructionName=function(e){var t=e.search(b),n=t<0?e:e.substr(0,t);return this.lowerCaseTagNames&&(n=n.toLowerCase()),n},e.prototype.ondeclaration=function(e,t){this.endIndex=t;var n=this.getSlice(e,t);if(this.cbs.onprocessinginstruction){var r=this.getInstructionName(n);this.cbs.onprocessinginstruction("!".concat(r),"!".concat(n))}this.startIndex=t+1},e.prototype.onprocessinginstruction=function(e,t){this.endIndex=t;var n=this.getSlice(e,t);if(this.cbs.onprocessinginstruction){var r=this.getInstructionName(n);this.cbs.onprocessinginstruction("?".concat(r),"?".concat(n))}this.startIndex=t+1},e.prototype.oncomment=function(e,t,n){var r,i,o,a;this.endIndex=t,null===(i=(r=this.cbs).oncomment)||void 0===i||i.call(r,this.getSlice(e,t-n)),null===(a=(o=this.cbs).oncommentend)||void 0===a||a.call(o),this.startIndex=t+1},e.prototype.oncdata=function(e,t,n){var r,i,o,a,s,l,c,u,d,f;this.endIndex=t;var h=this.getSlice(e,t-n);this.options.xmlMode||this.options.recognizeCDATA?(null===(i=(r=this.cbs).oncdatastart)||void 0===i||i.call(r),null===(a=(o=this.cbs).ontext)||void 0===a||a.call(o,h),null===(l=(s=this.cbs).oncdataend)||void 0===l||l.call(s)):(null===(u=(c=this.cbs).oncomment)||void 0===u||u.call(c,"[CDATA[".concat(h,"]]")),null===(f=(d=this.cbs).oncommentend)||void 0===f||f.call(d)),this.startIndex=t+1},e.prototype.onend=function(){var e,t;if(this.cbs.onclosetag){this.endIndex=this.startIndex;for(var n=this.stack.length;n>0;this.cbs.onclosetag(this.stack[--n],!0));}null===(t=(e=this.cbs).onend)||void 0===t||t.call(e)},e.prototype.reset=function(){var e,t,n,r;null===(t=(e=this.cbs).onreset)||void 0===t||t.call(e),this.tokenizer.reset(),this.tagname="",this.attribname="",this.attribs=null,this.stack.length=0,this.startIndex=0,this.endIndex=0,null===(r=(n=this.cbs).onparserinit)||void 0===r||r.call(n,this),this.buffers.length=0,this.bufferOffset=0,this.writeIndex=0,this.ended=!1},e.prototype.parseComplete=function(e){this.reset(),this.end(e)},e.prototype.getSlice=function(e,t){for(;e-this.bufferOffset>=this.buffers[0].length;)this.shiftBuffer();for(var n=this.buffers[0].slice(e-this.bufferOffset,t-this.bufferOffset);t-this.bufferOffset>this.buffers[0].length;)this.shiftBuffer(),n+=this.buffers[0].slice(0,t-this.bufferOffset);return n},e.prototype.shiftBuffer=function(){this.bufferOffset+=this.buffers[0].length,this.writeIndex--,this.buffers.shift()},e.prototype.write=function(e){var t,n;this.ended?null===(n=(t=this.cbs).onerror)||void 0===n||n.call(t,new Error(".write() after done!")):(this.buffers.push(e),this.tokenizer.running&&(this.tokenizer.write(e),this.writeIndex++))},e.prototype.end=function(e){var t,n;this.ended?null===(n=(t=this.cbs).onerror)||void 0===n||n.call(t,new Error(".end() after done!")):(e&&this.write(e),this.ended=!0,this.tokenizer.end())},e.prototype.pause=function(){this.tokenizer.pause()},e.prototype.resume=function(){for(this.tokenizer.resume();this.tokenizer.running&&this.writeIndex<this.buffers.length;)this.tokenizer.write(this.buffers[this.writeIndex++]);this.ended&&this.tokenizer.end()},e.prototype.parseChunk=function(e){this.write(e)},e.prototype.done=function(e){this.end(e)},e}();t.Parser=v},4054:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.QuoteType=void 0;var r,i,o,a=n(9529);function s(e){return e===r.Space||e===r.NewLine||e===r.Tab||e===r.FormFeed||e===r.CarriageReturn}function l(e){return e===r.Slash||e===r.Gt||s(e)}function c(e){return e>=r.Zero&&e<=r.Nine}!function(e){e[e.Tab=9]="Tab",e[e.NewLine=10]="NewLine",e[e.FormFeed=12]="FormFeed",e[e.CarriageReturn=13]="CarriageReturn",e[e.Space=32]="Space",e[e.ExclamationMark=33]="ExclamationMark",e[e.Number=35]="Number",e[e.Amp=38]="Amp",e[e.SingleQuote=39]="SingleQuote",e[e.DoubleQuote=34]="DoubleQuote",e[e.Dash=45]="Dash",e[e.Slash=47]="Slash",e[e.Zero=48]="Zero",e[e.Nine=57]="Nine",e[e.Semi=59]="Semi",e[e.Lt=60]="Lt",e[e.Eq=61]="Eq",e[e.Gt=62]="Gt",e[e.Questionmark=63]="Questionmark",e[e.UpperA=65]="UpperA",e[e.LowerA=97]="LowerA",e[e.UpperF=70]="UpperF",e[e.LowerF=102]="LowerF",e[e.UpperZ=90]="UpperZ",e[e.LowerZ=122]="LowerZ",e[e.LowerX=120]="LowerX",e[e.OpeningSquareBracket=91]="OpeningSquareBracket"}(r||(r={})),function(e){e[e.Text=1]="Text",e[e.BeforeTagName=2]="BeforeTagName",e[e.InTagName=3]="InTagName",e[e.InSelfClosingTag=4]="InSelfClosingTag",e[e.BeforeClosingTagName=5]="BeforeClosingTagName",e[e.InClosingTagName=6]="InClosingTagName",e[e.AfterClosingTagName=7]="AfterClosingTagName",e[e.BeforeAttributeName=8]="BeforeAttributeName",e[e.InAttributeName=9]="InAttributeName",e[e.AfterAttributeName=10]="AfterAttributeName",e[e.BeforeAttributeValue=11]="BeforeAttributeValue",e[e.InAttributeValueDq=12]="InAttributeValueDq",e[e.InAttributeValueSq=13]="InAttributeValueSq",e[e.InAttributeValueNq=14]="InAttributeValueNq",e[e.BeforeDeclaration=15]="BeforeDeclaration",e[e.InDeclaration=16]="InDeclaration",e[e.InProcessingInstruction=17]="InProcessingInstruction",e[e.BeforeComment=18]="BeforeComment",e[e.CDATASequence=19]="CDATASequence",e[e.InSpecialComment=20]="InSpecialComment",e[e.InCommentLike=21]="InCommentLike",e[e.BeforeSpecialS=22]="BeforeSpecialS",e[e.SpecialStartSequence=23]="SpecialStartSequence",e[e.InSpecialTag=24]="InSpecialTag",e[e.BeforeEntity=25]="BeforeEntity",e[e.BeforeNumericEntity=26]="BeforeNumericEntity",e[e.InNamedEntity=27]="InNamedEntity",e[e.InNumericEntity=28]="InNumericEntity",e[e.InHexEntity=29]="InHexEntity"}(i||(i={})),function(e){e[e.NoValue=0]="NoValue",e[e.Unquoted=1]="Unquoted",e[e.Single=2]="Single",e[e.Double=3]="Double"}(o=t.QuoteType||(t.QuoteType={}));var u={Cdata:new Uint8Array([67,68,65,84,65,91]),CdataEnd:new Uint8Array([93,93,62]),CommentEnd:new Uint8Array([45,45,62]),ScriptEnd:new Uint8Array([60,47,115,99,114,105,112,116]),StyleEnd:new Uint8Array([60,47,115,116,121,108,101]),TitleEnd:new Uint8Array([60,47,116,105,116,108,101])},d=function(){function e(e,t){var n=e.xmlMode,r=void 0!==n&&n,o=e.decodeEntities,s=void 0===o||o;this.cbs=t,this.state=i.Text,this.buffer="",this.sectionStart=0,this.index=0,this.baseState=i.Text,this.isSpecial=!1,this.running=!0,this.offset=0,this.currentSequence=void 0,this.sequenceIndex=0,this.trieIndex=0,this.trieCurrent=0,this.entityResult=0,this.entityExcess=0,this.xmlMode=r,this.decodeEntities=s,this.entityTrie=r?a.xmlDecodeTree:a.htmlDecodeTree}return e.prototype.reset=function(){this.state=i.Text,this.buffer="",this.sectionStart=0,this.index=0,this.baseState=i.Text,this.currentSequence=void 0,this.running=!0,this.offset=0},e.prototype.write=function(e){this.offset+=this.buffer.length,this.buffer=e,this.parse()},e.prototype.end=function(){this.running&&this.finish()},e.prototype.pause=function(){this.running=!1},e.prototype.resume=function(){this.running=!0,this.index<this.buffer.length+this.offset&&this.parse()},e.prototype.getIndex=function(){return this.index},e.prototype.getSectionStart=function(){return this.sectionStart},e.prototype.stateText=function(e){e===r.Lt||!this.decodeEntities&&this.fastForwardTo(r.Lt)?(this.index>this.sectionStart&&this.cbs.ontext(this.sectionStart,this.index),this.state=i.BeforeTagName,this.sectionStart=this.index):this.decodeEntities&&e===r.Amp&&(this.state=i.BeforeEntity)},e.prototype.stateSpecialStartSequence=function(e){var t=this.sequenceIndex===this.currentSequence.length;if(t?l(e):(32|e)===this.currentSequence[this.sequenceIndex]){if(!t)return void this.sequenceIndex++}else this.isSpecial=!1;this.sequenceIndex=0,this.state=i.InTagName,this.stateInTagName(e)},e.prototype.stateInSpecialTag=function(e){if(this.sequenceIndex===this.currentSequence.length){if(e===r.Gt||s(e)){var t=this.index-this.currentSequence.length;if(this.sectionStart<t){var n=this.index;this.index=t,this.cbs.ontext(this.sectionStart,t),this.index=n}return this.isSpecial=!1,this.sectionStart=t+2,void this.stateInClosingTagName(e)}this.sequenceIndex=0}(32|e)===this.currentSequence[this.sequenceIndex]?this.sequenceIndex+=1:0===this.sequenceIndex?this.currentSequence===u.TitleEnd?this.decodeEntities&&e===r.Amp&&(this.state=i.BeforeEntity):this.fastForwardTo(r.Lt)&&(this.sequenceIndex=1):this.sequenceIndex=Number(e===r.Lt)},e.prototype.stateCDATASequence=function(e){e===u.Cdata[this.sequenceIndex]?++this.sequenceIndex===u.Cdata.length&&(this.state=i.InCommentLike,this.currentSequence=u.CdataEnd,this.sequenceIndex=0,this.sectionStart=this.index+1):(this.sequenceIndex=0,this.state=i.InDeclaration,this.stateInDeclaration(e))},e.prototype.fastForwardTo=function(e){for(;++this.index<this.buffer.length+this.offset;)if(this.buffer.charCodeAt(this.index-this.offset)===e)return!0;return this.index=this.buffer.length+this.offset-1,!1},e.prototype.stateInCommentLike=function(e){e===this.currentSequence[this.sequenceIndex]?++this.sequenceIndex===this.currentSequence.length&&(this.currentSequence===u.CdataEnd?this.cbs.oncdata(this.sectionStart,this.index,2):this.cbs.oncomment(this.sectionStart,this.index,2),this.sequenceIndex=0,this.sectionStart=this.index+1,this.state=i.Text):0===this.sequenceIndex?this.fastForwardTo(this.currentSequence[0])&&(this.sequenceIndex=1):e!==this.currentSequence[this.sequenceIndex-1]&&(this.sequenceIndex=0)},e.prototype.isTagStartChar=function(e){return this.xmlMode?!l(e):function(e){return e>=r.LowerA&&e<=r.LowerZ||e>=r.UpperA&&e<=r.UpperZ}(e)},e.prototype.startSpecial=function(e,t){this.isSpecial=!0,this.currentSequence=e,this.sequenceIndex=t,this.state=i.SpecialStartSequence},e.prototype.stateBeforeTagName=function(e){if(e===r.ExclamationMark)this.state=i.BeforeDeclaration,this.sectionStart=this.index+1;else if(e===r.Questionmark)this.state=i.InProcessingInstruction,this.sectionStart=this.index+1;else if(this.isTagStartChar(e)){var t=32|e;this.sectionStart=this.index,this.xmlMode||t!==u.TitleEnd[2]?this.state=this.xmlMode||t!==u.ScriptEnd[2]?i.InTagName:i.BeforeSpecialS:this.startSpecial(u.TitleEnd,3)}else e===r.Slash?this.state=i.BeforeClosingTagName:(this.state=i.Text,this.stateText(e))},e.prototype.stateInTagName=function(e){l(e)&&(this.cbs.onopentagname(this.sectionStart,this.index),this.sectionStart=-1,this.state=i.BeforeAttributeName,this.stateBeforeAttributeName(e))},e.prototype.stateBeforeClosingTagName=function(e){s(e)||(e===r.Gt?this.state=i.Text:(this.state=this.isTagStartChar(e)?i.InClosingTagName:i.InSpecialComment,this.sectionStart=this.index))},e.prototype.stateInClosingTagName=function(e){(e===r.Gt||s(e))&&(this.cbs.onclosetag(this.sectionStart,this.index),this.sectionStart=-1,this.state=i.AfterClosingTagName,this.stateAfterClosingTagName(e))},e.prototype.stateAfterClosingTagName=function(e){(e===r.Gt||this.fastForwardTo(r.Gt))&&(this.state=i.Text,this.baseState=i.Text,this.sectionStart=this.index+1)},e.prototype.stateBeforeAttributeName=function(e){e===r.Gt?(this.cbs.onopentagend(this.index),this.isSpecial?(this.state=i.InSpecialTag,this.sequenceIndex=0):this.state=i.Text,this.baseState=this.state,this.sectionStart=this.index+1):e===r.Slash?this.state=i.InSelfClosingTag:s(e)||(this.state=i.InAttributeName,this.sectionStart=this.index)},e.prototype.stateInSelfClosingTag=function(e){e===r.Gt?(this.cbs.onselfclosingtag(this.index),this.state=i.Text,this.baseState=i.Text,this.sectionStart=this.index+1,this.isSpecial=!1):s(e)||(this.state=i.BeforeAttributeName,this.stateBeforeAttributeName(e))},e.prototype.stateInAttributeName=function(e){(e===r.Eq||l(e))&&(this.cbs.onattribname(this.sectionStart,this.index),this.sectionStart=-1,this.state=i.AfterAttributeName,this.stateAfterAttributeName(e))},e.prototype.stateAfterAttributeName=function(e){e===r.Eq?this.state=i.BeforeAttributeValue:e===r.Slash||e===r.Gt?(this.cbs.onattribend(o.NoValue,this.index),this.state=i.BeforeAttributeName,this.stateBeforeAttributeName(e)):s(e)||(this.cbs.onattribend(o.NoValue,this.index),this.state=i.InAttributeName,this.sectionStart=this.index)},e.prototype.stateBeforeAttributeValue=function(e){e===r.DoubleQuote?(this.state=i.InAttributeValueDq,this.sectionStart=this.index+1):e===r.SingleQuote?(this.state=i.InAttributeValueSq,this.sectionStart=this.index+1):s(e)||(this.sectionStart=this.index,this.state=i.InAttributeValueNq,this.stateInAttributeValueNoQuotes(e))},e.prototype.handleInAttributeValue=function(e,t){e===t||!this.decodeEntities&&this.fastForwardTo(t)?(this.cbs.onattribdata(this.sectionStart,this.index),this.sectionStart=-1,this.cbs.onattribend(t===r.DoubleQuote?o.Double:o.Single,this.index),this.state=i.BeforeAttributeName):this.decodeEntities&&e===r.Amp&&(this.baseState=this.state,this.state=i.BeforeEntity)},e.prototype.stateInAttributeValueDoubleQuotes=function(e){this.handleInAttributeValue(e,r.DoubleQuote)},e.prototype.stateInAttributeValueSingleQuotes=function(e){this.handleInAttributeValue(e,r.SingleQuote)},e.prototype.stateInAttributeValueNoQuotes=function(e){s(e)||e===r.Gt?(this.cbs.onattribdata(this.sectionStart,this.index),this.sectionStart=-1,this.cbs.onattribend(o.Unquoted,this.index),this.state=i.BeforeAttributeName,this.stateBeforeAttributeName(e)):this.decodeEntities&&e===r.Amp&&(this.baseState=this.state,this.state=i.BeforeEntity)},e.prototype.stateBeforeDeclaration=function(e){e===r.OpeningSquareBracket?(this.state=i.CDATASequence,this.sequenceIndex=0):this.state=e===r.Dash?i.BeforeComment:i.InDeclaration},e.prototype.stateInDeclaration=function(e){(e===r.Gt||this.fastForwardTo(r.Gt))&&(this.cbs.ondeclaration(this.sectionStart,this.index),this.state=i.Text,this.sectionStart=this.index+1)},e.prototype.stateInProcessingInstruction=function(e){(e===r.Gt||this.fastForwardTo(r.Gt))&&(this.cbs.onprocessinginstruction(this.sectionStart,this.index),this.state=i.Text,this.sectionStart=this.index+1)},e.prototype.stateBeforeComment=function(e){e===r.Dash?(this.state=i.InCommentLike,this.currentSequence=u.CommentEnd,this.sequenceIndex=2,this.sectionStart=this.index+1):this.state=i.InDeclaration},e.prototype.stateInSpecialComment=function(e){(e===r.Gt||this.fastForwardTo(r.Gt))&&(this.cbs.oncomment(this.sectionStart,this.index,0),this.state=i.Text,this.sectionStart=this.index+1)},e.prototype.stateBeforeSpecialS=function(e){var t=32|e;t===u.ScriptEnd[3]?this.startSpecial(u.ScriptEnd,4):t===u.StyleEnd[3]?this.startSpecial(u.StyleEnd,4):(this.state=i.InTagName,this.stateInTagName(e))},e.prototype.stateBeforeEntity=function(e){this.entityExcess=1,this.entityResult=0,e===r.Number?this.state=i.BeforeNumericEntity:e===r.Amp||(this.trieIndex=0,this.trieCurrent=this.entityTrie[0],this.state=i.InNamedEntity,this.stateInNamedEntity(e))},e.prototype.stateInNamedEntity=function(e){if(this.entityExcess+=1,this.trieIndex=(0,a.determineBranch)(this.entityTrie,this.trieCurrent,this.trieIndex+1,e),this.trieIndex<0)return this.emitNamedEntity(),void this.index--;this.trieCurrent=this.entityTrie[this.trieIndex];var t=this.trieCurrent&a.BinTrieFlags.VALUE_LENGTH;if(t){var n=(t>>14)-1;if(this.allowLegacyEntity()||e===r.Semi){var i=this.index-this.entityExcess+1;i>this.sectionStart&&this.emitPartial(this.sectionStart,i),this.entityResult=this.trieIndex,this.trieIndex+=n,this.entityExcess=0,this.sectionStart=this.index+1,0===n&&this.emitNamedEntity()}else this.trieIndex+=n}},e.prototype.emitNamedEntity=function(){if(this.state=this.baseState,0!==this.entityResult)switch((this.entityTrie[this.entityResult]&a.BinTrieFlags.VALUE_LENGTH)>>14){case 1:this.emitCodePoint(this.entityTrie[this.entityResult]&~a.BinTrieFlags.VALUE_LENGTH);break;case 2:this.emitCodePoint(this.entityTrie[this.entityResult+1]);break;case 3:this.emitCodePoint(this.entityTrie[this.entityResult+1]),this.emitCodePoint(this.entityTrie[this.entityResult+2])}},e.prototype.stateBeforeNumericEntity=function(e){(32|e)===r.LowerX?(this.entityExcess++,this.state=i.InHexEntity):(this.state=i.InNumericEntity,this.stateInNumericEntity(e))},e.prototype.emitNumericEntity=function(e){var t=this.index-this.entityExcess-1;t+2+Number(this.state===i.InHexEntity)!==this.index&&(t>this.sectionStart&&this.emitPartial(this.sectionStart,t),this.sectionStart=this.index+Number(e),this.emitCodePoint((0,a.replaceCodePoint)(this.entityResult))),this.state=this.baseState},e.prototype.stateInNumericEntity=function(e){e===r.Semi?this.emitNumericEntity(!0):c(e)?(this.entityResult=10*this.entityResult+(e-r.Zero),this.entityExcess++):(this.allowLegacyEntity()?this.emitNumericEntity(!1):this.state=this.baseState,this.index--)},e.prototype.stateInHexEntity=function(e){e===r.Semi?this.emitNumericEntity(!0):c(e)?(this.entityResult=16*this.entityResult+(e-r.Zero),this.entityExcess++):function(e){return e>=r.UpperA&&e<=r.UpperF||e>=r.LowerA&&e<=r.LowerF}(e)?(this.entityResult=16*this.entityResult+((32|e)-r.LowerA+10),this.entityExcess++):(this.allowLegacyEntity()?this.emitNumericEntity(!1):this.state=this.baseState,this.index--)},e.prototype.allowLegacyEntity=function(){return!this.xmlMode&&(this.baseState===i.Text||this.baseState===i.InSpecialTag)},e.prototype.cleanup=function(){this.running&&this.sectionStart!==this.index&&(this.state===i.Text||this.state===i.InSpecialTag&&0===this.sequenceIndex?(this.cbs.ontext(this.sectionStart,this.index),this.sectionStart=this.index):this.state!==i.InAttributeValueDq&&this.state!==i.InAttributeValueSq&&this.state!==i.InAttributeValueNq||(this.cbs.onattribdata(this.sectionStart,this.index),this.sectionStart=this.index))},e.prototype.shouldContinue=function(){return this.index<this.buffer.length+this.offset&&this.running},e.prototype.parse=function(){for(;this.shouldContinue();){var e=this.buffer.charCodeAt(this.index-this.offset);switch(this.state){case i.Text:this.stateText(e);break;case i.SpecialStartSequence:this.stateSpecialStartSequence(e);break;case i.InSpecialTag:this.stateInSpecialTag(e);break;case i.CDATASequence:this.stateCDATASequence(e);break;case i.InAttributeValueDq:this.stateInAttributeValueDoubleQuotes(e);break;case i.InAttributeName:this.stateInAttributeName(e);break;case i.InCommentLike:this.stateInCommentLike(e);break;case i.InSpecialComment:this.stateInSpecialComment(e);break;case i.BeforeAttributeName:this.stateBeforeAttributeName(e);break;case i.InTagName:this.stateInTagName(e);break;case i.InClosingTagName:this.stateInClosingTagName(e);break;case i.BeforeTagName:this.stateBeforeTagName(e);break;case i.AfterAttributeName:this.stateAfterAttributeName(e);break;case i.InAttributeValueSq:this.stateInAttributeValueSingleQuotes(e);break;case i.BeforeAttributeValue:this.stateBeforeAttributeValue(e);break;case i.BeforeClosingTagName:this.stateBeforeClosingTagName(e);break;case i.AfterClosingTagName:this.stateAfterClosingTagName(e);break;case i.BeforeSpecialS:this.stateBeforeSpecialS(e);break;case i.InAttributeValueNq:this.stateInAttributeValueNoQuotes(e);break;case i.InSelfClosingTag:this.stateInSelfClosingTag(e);break;case i.InDeclaration:this.stateInDeclaration(e);break;case i.BeforeDeclaration:this.stateBeforeDeclaration(e);break;case i.BeforeComment:this.stateBeforeComment(e);break;case i.InProcessingInstruction:this.stateInProcessingInstruction(e);break;case i.InNamedEntity:this.stateInNamedEntity(e);break;case i.BeforeEntity:this.stateBeforeEntity(e);break;case i.InHexEntity:this.stateInHexEntity(e);break;case i.InNumericEntity:this.stateInNumericEntity(e);break;default:this.stateBeforeNumericEntity(e)}this.index++}this.cleanup()},e.prototype.finish=function(){this.state===i.InNamedEntity&&this.emitNamedEntity(),this.sectionStart<this.index&&this.handleTrailingData(),this.cbs.onend()},e.prototype.handleTrailingData=function(){var e=this.buffer.length+this.offset;this.state===i.InCommentLike?this.currentSequence===u.CdataEnd?this.cbs.oncdata(this.sectionStart,e,0):this.cbs.oncomment(this.sectionStart,e,0):this.state===i.InNumericEntity&&this.allowLegacyEntity()||this.state===i.InHexEntity&&this.allowLegacyEntity()?this.emitNumericEntity(!1):this.state===i.InTagName||this.state===i.BeforeAttributeName||this.state===i.BeforeAttributeValue||this.state===i.AfterAttributeName||this.state===i.InAttributeName||this.state===i.InAttributeValueSq||this.state===i.InAttributeValueDq||this.state===i.InAttributeValueNq||this.state===i.InClosingTagName||this.cbs.ontext(this.sectionStart,e)},e.prototype.emitPartial=function(e,t){this.baseState!==i.Text&&this.baseState!==i.InSpecialTag?this.cbs.onattribdata(e,t):this.cbs.ontext(e,t)},e.prototype.emitCodePoint=function(e){this.baseState!==i.Text&&this.baseState!==i.InSpecialTag?this.cbs.onattribentity(e):this.cbs.ontextentity(e)},e}();t.default=d},2105:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var i=Object.getOwnPropertyDescriptor(t,n);i&&!("get"in i?!t.__esModule:i.writable||i.configurable)||(i={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,i)}:function(e,t,n,r){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}),o=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 i(t,e),t},a=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.DomUtils=t.parseFeed=t.getFeed=t.ElementType=t.Tokenizer=t.createDomStream=t.parseDOM=t.parseDocument=t.DefaultHandler=t.DomHandler=t.Parser=void 0;var s=n(9254),l=n(9254);Object.defineProperty(t,"Parser",{enumerable:!0,get:function(){return l.Parser}});var c=n(6722),u=n(6722);function d(e,t){var n=new c.DomHandler(void 0,t);return new s.Parser(n,t).end(e),n.root}function f(e,t){return d(e,t).children}Object.defineProperty(t,"DomHandler",{enumerable:!0,get:function(){return u.DomHandler}}),Object.defineProperty(t,"DefaultHandler",{enumerable:!0,get:function(){return u.DomHandler}}),t.parseDocument=d,t.parseDOM=f,t.createDomStream=function(e,t,n){var r=new c.DomHandler(e,t,n);return new s.Parser(r,t)};var h=n(4054);Object.defineProperty(t,"Tokenizer",{enumerable:!0,get:function(){return a(h).default}}),t.ElementType=o(n(289));var p=n(557),m=n(557);Object.defineProperty(t,"getFeed",{enumerable:!0,get:function(){return m.getFeed}});var g={xmlMode:!0};t.parseFeed=function(e,t){return void 0===t&&(t=g),(0,p.getFeed)(f(e,t))},t.DomUtils=o(n(557))},400:(e,t,n)=>{"use strict";n.d(t,{Z:()=>s});var r=n(4933),i=n.n(r),o=n(3476),a=n.n(o)()(i());a.push([e.id,'/*!\n * \n * react-simple-keyboard v3.7.49\n * https://github.com/hodgef/react-simple-keyboard\n *\n * Copyright (c) Francisco Hodge (https://github.com/hodgef) and project contributors.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n */\n/*!\n * \n * simple-keyboard v3.7.34\n * https://github.com/hodgef/simple-keyboard\n *\n * Copyright (c) Francisco Hodge (https://github.com/hodgef) and project contributors.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n */.hg-theme-default{background-color:#ececec;border-radius:5px;box-sizing:border-box;font-family:HelveticaNeue-Light,Helvetica Neue Light,Helvetica Neue,Helvetica,Arial,Lucida Grande,sans-serif;overflow:hidden;padding:5px;touch-action:manipulation;-webkit-user-select:none;-moz-user-select:none;user-select:none;width:100%}.hg-theme-default .hg-button span{pointer-events:none}.hg-theme-default button.hg-button{border-width:0;font-size:inherit;outline:0}.hg-theme-default .hg-button{display:inline-block;flex-grow:1}.hg-theme-default .hg-row{display:flex}.hg-theme-default .hg-row:not(:last-child){margin-bottom:5px}.hg-theme-default .hg-row .hg-button-container,.hg-theme-default .hg-row .hg-button:not(:last-child){margin-right:5px}.hg-theme-default .hg-row>div:last-child{margin-right:0}.hg-theme-default .hg-row .hg-button-container{display:flex}.hg-theme-default .hg-button{-webkit-tap-highlight-color:rgba(0,0,0,0);align-items:center;background:#fff;border-bottom:1px solid #b5b5b5;border-radius:5px;box-shadow:0 0 3px -1px rgba(0,0,0,.3);box-sizing:border-box;cursor:pointer;display:flex;height:40px;justify-content:center;padding:5px}.hg-theme-default .hg-button.hg-standardBtn{width:20px}.hg-theme-default .hg-button.hg-activeButton{background:#efefef}.hg-theme-default.hg-layout-numeric .hg-button{align-items:center;display:flex;height:60px;justify-content:center;width:33.3%}.hg-theme-default .hg-button.hg-button-numpadadd,.hg-theme-default .hg-button.hg-button-numpadenter{height:85px}.hg-theme-default .hg-button.hg-button-numpad0{width:105px}.hg-theme-default .hg-button.hg-button-com{max-width:85px}.hg-theme-default .hg-button.hg-standardBtn.hg-button-at{max-width:45px}.hg-theme-default .hg-button.hg-selectedButton{background:rgba(5,25,70,.53);color:#fff}.hg-theme-default .hg-button.hg-standardBtn[data-skbtn=".com"]{max-width:82px}.hg-theme-default .hg-button.hg-standardBtn[data-skbtn="@"]{max-width:60px}.hg-candidate-box{background:#ececec;border-bottom:2px solid #b5b5b5;border-radius:5px;display:inline-flex;margin-top:-10px;max-width:272px;position:absolute;transform:translateY(-100%);-webkit-user-select:none;-moz-user-select:none;user-select:none}ul.hg-candidate-box-list{display:flex;flex:1;list-style:none;margin:0;padding:0}li.hg-candidate-box-list-item{align-items:center;display:flex;height:40px;justify-content:center;width:40px}li.hg-candidate-box-list-item:hover{background:rgba(0,0,0,.03);cursor:pointer}li.hg-candidate-box-list-item:active{background:rgba(0,0,0,.1)}.hg-candidate-box-prev:before{content:"◄"}.hg-candidate-box-next:before{content:"►"}.hg-candidate-box-next,.hg-candidate-box-prev{align-items:center;color:#969696;cursor:pointer;display:flex;padding:0 10px}.hg-candidate-box-next{border-bottom-right-radius:5px;border-top-right-radius:5px}.hg-candidate-box-prev{border-bottom-left-radius:5px;border-top-left-radius:5px}.hg-candidate-box-btn-active{color:#444}',""]);const s=a},5650:(e,t,n)=>{"use strict";n.d(t,{Z:()=>s});var r=n(4933),i=n.n(r),o=n(3476),a=n.n(o)()(i());a.push([e.id,"@keyframes adaptify-dictaphone-pulse-wave {\n 0% {\n transform: translateZ(-1px) scale(0.9);\n opacity: 0.9;\n }\n 80% {\n transform: translateZ(-1px) scale(1.5);\n opacity: 0;\n }\n 100% {\n transform: translateZ(-1px) scale(0);\n opacity: 0;\n }\n}\n\n@keyframes adaptify-dictaphone-pulse {\n 0%, 100% {\n transform: scale(0.95);\n }\n 50% {\n transform: scale(1);\n }\n}\n\n#adaptify-dictaphone.pulse-wave {\n transform-style: preserve-3d;\n animation: adaptify-dictaphone-pulse 1.5s infinite;\n}\n\n#adaptify-dictaphone.pulse-wave::after {\n content: '';\n position: absolute;\n top: 0;\n left: 0;\n width: 100%;\n height: 100%;\n background-color: red;\n border-radius: 50%;\n animation: adaptify-dictaphone-pulse-wave 1.5s linear infinite;\n}",""]);const s=a},3701:(e,t,n)=>{"use strict";n.d(t,{Z:()=>s});var r=n(4933),i=n.n(r),o=n(3476),a=n.n(o)()(i());a.push([e.id,".text-zoom-tooltip {\n position: absolute;\n background: var(--primary-color);\n color: var(--secondary-color);\n padding: 10px;\n border-radius: 5px;\n border: 1px solid var(--secondary-color);\n font-size: 24px;\n z-index: 100;\n font-family: 'Inter', sans-serif;\n\n -webkit-touch-callout: none;\n -webkit-user-select: none;\n -moz-user-select: none;\n user-select: none;\n}",""]);const s=a},5290:(e,t,n)=>{"use strict";n.d(t,{Z:()=>s});var r=n(4933),i=n.n(r),o=n(3476),a=n.n(o)()(i());a.push([e.id,"/*\n1. Prevent padding and border from affecting element width. (https://github.com/mozdevs/cssremedy/issues/4)\n2. Allow adding a border to an element by just adding a border-width. (https://github.com/tailwindcss/tailwindcss/pull/116)\n*/\n\n*:where(#adaptify-widget,#adaptify-widget *),\n::before:where(#adaptify-widget,#adaptify-widget *),\n::after:where(#adaptify-widget,#adaptify-widget *) {\n box-sizing: border-box; /* 1 */\n border-width: 0; /* 2 */\n border-style: solid; /* 2 */\n border-color: #e5e7eb; /* 2 */\n}\n\n::before:where(#adaptify-widget,#adaptify-widget *),\n::after:where(#adaptify-widget,#adaptify-widget *) {\n --tw-content: '';\n}\n\n/*\n1. Use a consistent sensible line-height in all browsers.\n2. Prevent adjustments of font size after orientation changes in iOS.\n3. Use a more readable tab size.\n4. Use the user's configured `sans` font-family by default.\n5. Use the user's configured `sans` font-feature-settings by default.\n6. Use the user's configured `sans` font-variation-settings by default.\n*/\n\nhtml:where(#adaptify-widget,#adaptify-widget *) {\n line-height: 1.5; /* 1 */\n -webkit-text-size-adjust: 100%; /* 2 */\n -moz-tab-size: 4; /* 3 */\n -o-tab-size: 4;\n tab-size: 4; /* 3 */\n font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Ubuntu, Cantarell, Noto Sans, sans-serif, BlinkMacSystemFont, \"Segoe UI\", Roboto, \"Helvetica Neue\", Arial, \"Noto Sans\", sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\", \"Noto Color Emoji\"; /* 4 */\n font-feature-settings: normal; /* 5 */\n font-variation-settings: normal; /* 6 */\n}\n\n/*\n1. Remove the margin in all browsers.\n2. Inherit line-height from `html` so users can set them as a class directly on the `html` element.\n*/\n\nbody:where(#adaptify-widget,#adaptify-widget *) {\n margin: 0; /* 1 */\n line-height: inherit; /* 2 */\n}\n\n/*\n1. Add the correct height in Firefox.\n2. Correct the inheritance of border color in Firefox. (https://bugzilla.mozilla.org/show_bug.cgi?id=190655)\n3. Ensure horizontal rules are visible by default.\n*/\n\nhr:where(#adaptify-widget,#adaptify-widget *) {\n height: 0; /* 1 */\n color: inherit; /* 2 */\n border-top-width: 1px; /* 3 */\n}\n\n/*\nAdd the correct text decoration in Chrome, Edge, and Safari.\n*/\n\nabbr:where([title]):where(#adaptify-widget,#adaptify-widget *) {\n text-decoration: underline;\n -webkit-text-decoration: underline dotted;\n text-decoration: underline dotted;\n}\n\n/*\nRemove the default font size and weight for headings.\n*/\n\nh1:where(#adaptify-widget,#adaptify-widget *),\nh2:where(#adaptify-widget,#adaptify-widget *),\nh3:where(#adaptify-widget,#adaptify-widget *),\nh4:where(#adaptify-widget,#adaptify-widget *),\nh5:where(#adaptify-widget,#adaptify-widget *),\nh6:where(#adaptify-widget,#adaptify-widget *) {\n font-size: inherit;\n font-weight: inherit;\n}\n\n/*\nReset links to optimize for opt-in styling instead of opt-out.\n*/\n\na:where(#adaptify-widget,#adaptify-widget *) {\n color: inherit;\n text-decoration: inherit;\n}\n\n/*\nAdd the correct font weight in Edge and Safari.\n*/\n\nb:where(#adaptify-widget,#adaptify-widget *),\nstrong:where(#adaptify-widget,#adaptify-widget *) {\n font-weight: bolder;\n}\n\n/*\n1. Use the user's configured `mono` font-family by default.\n2. Use the user's configured `mono` font-feature-settings by default.\n3. Use the user's configured `mono` font-variation-settings by default.\n4. Correct the odd `em` font sizing in all browsers.\n*/\n\ncode:where(#adaptify-widget,#adaptify-widget *),\nkbd:where(#adaptify-widget,#adaptify-widget *),\nsamp:where(#adaptify-widget,#adaptify-widget *),\npre:where(#adaptify-widget,#adaptify-widget *) {\n font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, \"Liberation Mono\", \"Courier New\", monospace; /* 1 */\n font-feature-settings: normal; /* 2 */\n font-variation-settings: normal; /* 3 */\n font-size: 1em; /* 4 */\n}\n\n/*\nAdd the correct font size in all browsers.\n*/\n\nsmall:where(#adaptify-widget,#adaptify-widget *) {\n font-size: 80%;\n}\n\n/*\nPrevent `sub` and `sup` elements from affecting the line height in all browsers.\n*/\n\nsub:where(#adaptify-widget,#adaptify-widget *),\nsup:where(#adaptify-widget,#adaptify-widget *) {\n font-size: 75%;\n line-height: 0;\n position: relative;\n vertical-align: baseline;\n}\n\nsub:where(#adaptify-widget,#adaptify-widget *) {\n bottom: -0.25em;\n}\n\nsup:where(#adaptify-widget,#adaptify-widget *) {\n top: -0.5em;\n}\n\n/*\n1. Remove text indentation from table contents in Chrome and Safari. (https://bugs.chromium.org/p/chromium/issues/detail?id=999088, https://bugs.webkit.org/show_bug.cgi?id=201297)\n2. Correct table border color inheritance in all Chrome and Safari. (https://bugs.chromium.org/p/chromium/issues/detail?id=935729, https://bugs.webkit.org/show_bug.cgi?id=195016)\n3. Remove gaps between table borders by default.\n*/\n\ntable:where(#adaptify-widget,#adaptify-widget *) {\n text-indent: 0; /* 1 */\n border-color: inherit; /* 2 */\n border-collapse: collapse; /* 3 */\n}\n\n/*\n1. Change the font styles in all browsers.\n2. Remove the margin in Firefox and Safari.\n3. Remove default padding in all browsers.\n*/\n\nbutton:where(#adaptify-widget,#adaptify-widget *),\ninput:where(#adaptify-widget,#adaptify-widget *),\noptgroup:where(#adaptify-widget,#adaptify-widget *),\nselect:where(#adaptify-widget,#adaptify-widget *),\ntextarea:where(#adaptify-widget,#adaptify-widget *) {\n font-family: inherit; /* 1 */\n font-feature-settings: inherit; /* 1 */\n font-variation-settings: inherit; /* 1 */\n font-size: 100%; /* 1 */\n font-weight: inherit; /* 1 */\n line-height: inherit; /* 1 */\n color: inherit; /* 1 */\n margin: 0; /* 2 */\n padding: 0; /* 3 */\n}\n\n/*\nRemove the inheritance of text transform in Edge and Firefox.\n*/\n\nbutton:where(#adaptify-widget,#adaptify-widget *),\nselect:where(#adaptify-widget,#adaptify-widget *) {\n text-transform: none;\n}\n\n/*\n1. Correct the inability to style clickable types in iOS and Safari.\n2. Remove default button styles.\n*/\n\nbutton:where(#adaptify-widget,#adaptify-widget *),\n[type='button']:where(#adaptify-widget,#adaptify-widget *),\n[type='reset']:where(#adaptify-widget,#adaptify-widget *),\n[type='submit']:where(#adaptify-widget,#adaptify-widget *) {\n -webkit-appearance: button; /* 1 */\n background-color: transparent; /* 2 */\n background-image: none; /* 2 */\n}\n\n/*\nUse the modern Firefox focus style for all focusable elements.\n*/\n\n:-moz-focusring:where(#adaptify-widget,#adaptify-widget *) {\n outline: auto;\n}\n\n/*\nRemove the additional `:invalid` styles in Firefox. (https://github.com/mozilla/gecko-dev/blob/2f9eacd9d3d995c937b4251a5557d95d494c9be1/layout/style/res/forms.css#L728-L737)\n*/\n\n:-moz-ui-invalid:where(#adaptify-widget,#adaptify-widget *) {\n box-shadow: none;\n}\n\n/*\nAdd the correct vertical alignment in Chrome and Firefox.\n*/\n\nprogress:where(#adaptify-widget,#adaptify-widget *) {\n vertical-align: baseline;\n}\n\n/*\nCorrect the cursor style of increment and decrement buttons in Safari.\n*/\n\n::-webkit-inner-spin-button:where(#adaptify-widget,#adaptify-widget *),\n::-webkit-outer-spin-button:where(#adaptify-widget,#adaptify-widget *) {\n height: auto;\n}\n\n/*\n1. Correct the odd appearance in Chrome and Safari.\n2. Correct the outline style in Safari.\n*/\n\n[type='search']:where(#adaptify-widget,#adaptify-widget *) {\n -webkit-appearance: textfield; /* 1 */\n outline-offset: -2px; /* 2 */\n}\n\n/*\nRemove the inner padding in Chrome and Safari on macOS.\n*/\n\n::-webkit-search-decoration:where(#adaptify-widget,#adaptify-widget *) {\n -webkit-appearance: none;\n}\n\n/*\n1. Correct the inability to style clickable types in iOS and Safari.\n2. Change font properties to `inherit` in Safari.\n*/\n\n::-webkit-file-upload-button:where(#adaptify-widget,#adaptify-widget *) {\n -webkit-appearance: button; /* 1 */\n font: inherit; /* 2 */\n}\n\n/*\nAdd the correct display in Chrome and Safari.\n*/\n\nsummary:where(#adaptify-widget,#adaptify-widget *) {\n display: list-item;\n}\n\n/*\nRemoves the default spacing and border for appropriate elements.\n*/\n\nblockquote:where(#adaptify-widget,#adaptify-widget *),\ndl:where(#adaptify-widget,#adaptify-widget *),\ndd:where(#adaptify-widget,#adaptify-widget *),\nh1:where(#adaptify-widget,#adaptify-widget *),\nh2:where(#adaptify-widget,#adaptify-widget *),\nh3:where(#adaptify-widget,#adaptify-widget *),\nh4:where(#adaptify-widget,#adaptify-widget *),\nh5:where(#adaptify-widget,#adaptify-widget *),\nh6:where(#adaptify-widget,#adaptify-widget *),\nhr:where(#adaptify-widget,#adaptify-widget *),\nfigure:where(#adaptify-widget,#adaptify-widget *),\np:where(#adaptify-widget,#adaptify-widget *),\npre:where(#adaptify-widget,#adaptify-widget *) {\n margin: 0;\n}\n\nfieldset:where(#adaptify-widget,#adaptify-widget *) {\n margin: 0;\n padding: 0;\n}\n\nlegend:where(#adaptify-widget,#adaptify-widget *) {\n padding: 0;\n}\n\nol:where(#adaptify-widget,#adaptify-widget *),\nul:where(#adaptify-widget,#adaptify-widget *),\nmenu:where(#adaptify-widget,#adaptify-widget *) {\n list-style: none;\n margin: 0;\n padding: 0;\n}\n\n/*\nReset default styling for dialogs.\n*/\ndialog:where(#adaptify-widget,#adaptify-widget *) {\n padding: 0;\n}\n\n/*\nPrevent resizing textareas horizontally by default.\n*/\n\ntextarea:where(#adaptify-widget,#adaptify-widget *) {\n resize: vertical;\n}\n\n/*\n1. Reset the default placeholder opacity in Firefox. (https://github.com/tailwindlabs/tailwindcss/issues/3300)\n2. Set the default placeholder color to the user's configured gray 400 color.\n*/\n\ninput::-moz-placeholder:where(#adaptify-widget,#adaptify-widget *), textarea::-moz-placeholder:where(#adaptify-widget,#adaptify-widget *) {\n opacity: 1; /* 1 */\n color: #9ca3af; /* 2 */\n}\n\ninput::placeholder:where(#adaptify-widget,#adaptify-widget *),\ntextarea::placeholder:where(#adaptify-widget,#adaptify-widget *) {\n opacity: 1; /* 1 */\n color: #9ca3af; /* 2 */\n}\n\n/*\nSet the default cursor for buttons.\n*/\n\nbutton:where(#adaptify-widget,#adaptify-widget *),\n[role=\"button\"]:where(#adaptify-widget,#adaptify-widget *) {\n cursor: pointer;\n}\n\n/*\nMake sure disabled buttons don't get the pointer cursor.\n*/\n:disabled:where(#adaptify-widget,#adaptify-widget *) {\n cursor: default;\n}\n\n/*\n1. Make replaced elements `display: block` by default. (https://github.com/mozdevs/cssremedy/issues/14)\n2. Add `vertical-align: middle` to align replaced elements more sensibly by default. (https://github.com/jensimmons/cssremedy/issues/14#issuecomment-634934210)\n This can trigger a poorly considered lint error in some tools but is included by design.\n*/\n\nimg:where(#adaptify-widget,#adaptify-widget *),\nsvg:where(#adaptify-widget,#adaptify-widget *),\nvideo:where(#adaptify-widget,#adaptify-widget *),\ncanvas:where(#adaptify-widget,#adaptify-widget *),\naudio:where(#adaptify-widget,#adaptify-widget *),\niframe:where(#adaptify-widget,#adaptify-widget *),\nembed:where(#adaptify-widget,#adaptify-widget *),\nobject:where(#adaptify-widget,#adaptify-widget *) {\n display: block; /* 1 */\n vertical-align: middle; /* 2 */\n}\n\n/*\nConstrain images and videos to the parent width and preserve their intrinsic aspect ratio. (https://github.com/mozdevs/cssremedy/issues/14)\n*/\n\nimg:where(#adaptify-widget,#adaptify-widget *),\nvideo:where(#adaptify-widget,#adaptify-widget *) {\n max-width: 100%;\n height: auto;\n}\n\n/* Make elements with the HTML hidden attribute stay hidden by default */\n[hidden]:where(#adaptify-widget,#adaptify-widget *) {\n display: none;\n}\n\n*, ::before, ::after {\n --tw-border-spacing-x: 0;\n --tw-border-spacing-y: 0;\n --tw-translate-x: 0;\n --tw-translate-y: 0;\n --tw-rotate: 0;\n --tw-skew-x: 0;\n --tw-skew-y: 0;\n --tw-scale-x: 1;\n --tw-scale-y: 1;\n --tw-pan-x: ;\n --tw-pan-y: ;\n --tw-pinch-zoom: ;\n --tw-scroll-snap-strictness: proximity;\n --tw-gradient-from-position: ;\n --tw-gradient-via-position: ;\n --tw-gradient-to-position: ;\n --tw-ordinal: ;\n --tw-slashed-zero: ;\n --tw-numeric-figure: ;\n --tw-numeric-spacing: ;\n --tw-numeric-fraction: ;\n --tw-ring-inset: ;\n --tw-ring-offset-width: 0px;\n --tw-ring-offset-color: #fff;\n --tw-ring-color: rgba(59, 130, 246, 0.5);\n --tw-ring-offset-shadow: 0 0 rgba(0,0,0,0);\n --tw-ring-shadow: 0 0 rgba(0,0,0,0);\n --tw-shadow: 0 0 rgba(0,0,0,0);\n --tw-shadow-colored: 0 0 rgba(0,0,0,0);\n --tw-blur: ;\n --tw-brightness: ;\n --tw-contrast: ;\n --tw-grayscale: ;\n --tw-hue-rotate: ;\n --tw-invert: ;\n --tw-saturate: ;\n --tw-sepia: ;\n --tw-drop-shadow: ;\n --tw-backdrop-blur: ;\n --tw-backdrop-brightness: ;\n --tw-backdrop-contrast: ;\n --tw-backdrop-grayscale: ;\n --tw-backdrop-hue-rotate: ;\n --tw-backdrop-invert: ;\n --tw-backdrop-opacity: ;\n --tw-backdrop-saturate: ;\n --tw-backdrop-sepia: ;\n}\n\n::backdrop {\n --tw-border-spacing-x: 0;\n --tw-border-spacing-y: 0;\n --tw-translate-x: 0;\n --tw-translate-y: 0;\n --tw-rotate: 0;\n --tw-skew-x: 0;\n --tw-skew-y: 0;\n --tw-scale-x: 1;\n --tw-scale-y: 1;\n --tw-pan-x: ;\n --tw-pan-y: ;\n --tw-pinch-zoom: ;\n --tw-scroll-snap-strictness: proximity;\n --tw-gradient-from-position: ;\n --tw-gradient-via-position: ;\n --tw-gradient-to-position: ;\n --tw-ordinal: ;\n --tw-slashed-zero: ;\n --tw-numeric-figure: ;\n --tw-numeric-spacing: ;\n --tw-numeric-fraction: ;\n --tw-ring-inset: ;\n --tw-ring-offset-width: 0px;\n --tw-ring-offset-color: #fff;\n --tw-ring-color: rgba(59, 130, 246, 0.5);\n --tw-ring-offset-shadow: 0 0 rgba(0,0,0,0);\n --tw-ring-shadow: 0 0 rgba(0,0,0,0);\n --tw-shadow: 0 0 rgba(0,0,0,0);\n --tw-shadow-colored: 0 0 rgba(0,0,0,0);\n --tw-blur: ;\n --tw-brightness: ;\n --tw-contrast: ;\n --tw-grayscale: ;\n --tw-hue-rotate: ;\n --tw-invert: ;\n --tw-saturate: ;\n --tw-sepia: ;\n --tw-drop-shadow: ;\n --tw-backdrop-blur: ;\n --tw-backdrop-brightness: ;\n --tw-backdrop-contrast: ;\n --tw-backdrop-grayscale: ;\n --tw-backdrop-hue-rotate: ;\n --tw-backdrop-invert: ;\n --tw-backdrop-opacity: ;\n --tw-backdrop-saturate: ;\n --tw-backdrop-sepia: ;\n}\n.\\!container {\n width: 100% !important;\n}\n.container {\n width: 100%;\n}\n@media (min-width: 640px) {\n\n .\\!container {\n max-width: 640px !important;\n }\n\n .container {\n max-width: 640px;\n }\n}\n@media (min-width: 768px) {\n\n .\\!container {\n max-width: 768px !important;\n }\n\n .container {\n max-width: 768px;\n }\n}\n@media (min-width: 1024px) {\n\n .\\!container {\n max-width: 1024px !important;\n }\n\n .container {\n max-width: 1024px;\n }\n}\n@media (min-width: 1280px) {\n\n .\\!container {\n max-width: 1280px !important;\n }\n\n .container {\n max-width: 1280px;\n }\n}\n@media (min-width: 1536px) {\n\n .\\!container {\n max-width: 1536px !important;\n }\n\n .container {\n max-width: 1536px;\n }\n}\n.fixed {\n position: fixed;\n}\n.absolute {\n position: absolute;\n}\n.relative {\n position: relative;\n}\n.bottom-0 {\n bottom: 0;\n}\n.bottom-5 {\n bottom: 20px;\n}\n.bottom-\\[95px\\] {\n bottom: 95px;\n}\n.left-0 {\n left: 0;\n}\n.left-1\\/2 {\n left: 50%;\n}\n.left-6 {\n left: 24px;\n}\n.left-\\[50\\%\\] {\n left: 50%;\n}\n.right-0 {\n right: 0;\n}\n.right-5 {\n right: 20px;\n}\n.top-0 {\n top: 0;\n}\n.top-1\\/2 {\n top: 50%;\n}\n.top-4 {\n top: 16px;\n}\n.top-\\[100\\%\\] {\n top: 100%;\n}\n.mt-auto {\n margin-top: auto;\n}\n.flex {\n display: flex;\n}\n.hidden {\n display: none;\n}\n.h-16 {\n height: 64px;\n}\n.h-\\[230px\\] {\n height: 230px;\n}\n.h-full {\n height: 100%;\n}\n.w-16 {\n width: 64px;\n}\n.w-\\[420px\\] {\n width: 420px;\n}\n.w-full {\n width: 100%;\n}\n.-translate-x-1\\/2 {\n --tw-translate-x: -50%;\n transform: translate(-50%, var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));\n transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));\n}\n.-translate-y-1\\/2 {\n --tw-translate-y: -50%;\n transform: translate(var(--tw-translate-x), -50%) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));\n transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));\n}\n.translate-x-\\[-50\\%\\] {\n --tw-translate-x: -50%;\n transform: translate(-50%, var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));\n transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));\n}\n.rotate-180 {\n --tw-rotate: 180deg;\n transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(180deg) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));\n transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));\n}\n.transform {\n transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));\n}\n.cursor-not-allowed {\n cursor: not-allowed;\n}\n.cursor-pointer {\n cursor: pointer;\n}\n.flex-col {\n flex-direction: column;\n}\n.items-center {\n align-items: center;\n}\n.justify-center {\n justify-content: center;\n}\n.gap-2 {\n gap: 8px;\n}\n.overflow-auto {\n overflow: auto;\n}\n.overflow-hidden {\n overflow: hidden;\n}\n.rounded-full {\n border-radius: 9999px;\n}\n.rounded-xl {\n border-radius: 0.75rem;\n}\n.rounded-b-\\[50\\%\\] {\n border-bottom-right-radius: 50%;\n border-bottom-left-radius: 50%;\n}\n.border {\n border-width: 1px;\n}\n.bg-black {\n --tw-bg-opacity: 1;\n background-color: rgba(0, 0, 0, 1);\n background-color: rgba(0, 0, 0, var(--tw-bg-opacity));\n}\n.bg-gray-400 {\n --tw-bg-opacity: 1;\n background-color: rgba(156, 163, 175, 1);\n background-color: rgba(156, 163, 175, var(--tw-bg-opacity));\n}\n.bg-primary {\n background-color: var(--primary-color);\n}\n.bg-primary-20 {\n background-color: var(--primary-color-20);\n}\n.bg-red-500 {\n --tw-bg-opacity: 1;\n background-color: rgba(239, 68, 68, 1);\n background-color: rgba(239, 68, 68, var(--tw-bg-opacity));\n}\n.bg-white {\n --tw-bg-opacity: 1;\n background-color: rgba(255, 255, 255, 1);\n background-color: rgba(255, 255, 255, var(--tw-bg-opacity));\n}\n.p-2 {\n padding: 8px;\n}\n.px-2 {\n padding-left: 8px;\n padding-right: 8px;\n}\n.py-2 {\n padding-top: 8px;\n padding-bottom: 8px;\n}\n.font-inter {\n font-family: Inter, sans-serif, !important;\n}\n.text-\\[12px\\] {\n font-size: 12px;\n}\n.text-\\[24px\\] {\n font-size: 24px;\n}\n.text-xs {\n font-size: 12px;\n}\n.font-semibold {\n font-weight: 600;\n}\n.text-primary {\n color: var(--primary-color);\n}\n.text-white {\n --tw-text-opacity: 1;\n color: rgba(255, 255, 255, 1);\n color: rgba(255, 255, 255, var(--tw-text-opacity));\n}\n.opacity-20 {\n opacity: 0.2;\n}\n.shadow-2xl {\n --tw-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);\n --tw-shadow-colored: 0 25px 50px -12px var(--tw-shadow-color);\n box-shadow: 0 0 rgba(0,0,0,0), 0 0 rgba(0,0,0,0), 0 25px 50px -12px rgba(0, 0, 0, 0.25);\n box-shadow: var(--tw-ring-offset-shadow, 0 0 rgba(0,0,0,0)), var(--tw-ring-shadow, 0 0 rgba(0,0,0,0)), var(--tw-shadow);\n}\n.shadow-lg {\n --tw-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);\n --tw-shadow-colored: 0 10px 15px -3px var(--tw-shadow-color), 0 4px 6px -4px var(--tw-shadow-color);\n box-shadow: 0 0 rgba(0,0,0,0), 0 0 rgba(0,0,0,0), 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);\n box-shadow: var(--tw-ring-offset-shadow, 0 0 rgba(0,0,0,0)), var(--tw-ring-shadow, 0 0 rgba(0,0,0,0)), var(--tw-shadow);\n}\n.blur {\n --tw-blur: blur(8px);\n filter: blur(8px) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow);\n filter: var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow);\n}\n.\\!filter {\n filter: var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow) !important;\n}\n.filter {\n filter: var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow);\n}\n\n#adaptify-widget {\n --primary-color: #00164F;\n --secondary-color: #FCFF56;\n --primary-color-10: #e5e8ed;\n --primary-color-20: #ccd0dc;\n z-index: 1000000000;\n font-size: 16px;\n font-family: 'Inter', sans-serif !important;\n}\n\n#adaptify-image-alt {\n position: absolute !important;\n background-color: var(--primary-color) !important;\n font-family: 'Inter', sans-serif !important;\n border: 1px solid var(--secondary-color) !important;\n color: var(--secondary-color) !important;\n border-radius: 5px !important;\n z-index: 1000000000;\n padding: 10px !important;\n font-weight: bold !important;\n pointer-events: none !important;\n}\n\n#adaptify-widget .adaptify-max-z-index {\n z-index: 1000000000;\n}",""]);const s=a},3476: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,i,o){"string"==typeof e&&(e=[[null,e,void 0]]);var a={};if(r)for(var s=0;s<this.length;s++){var l=this[s][0];null!=l&&(a[l]=!0)}for(var c=0;c<e.length;c++){var u=[].concat(e[c]);r&&a[u[0]]||(void 0!==o&&(void 0===u[5]||(u[1]="@layer".concat(u[5].length>0?" ".concat(u[5]):""," {").concat(u[1],"}")),u[5]=o),n&&(u[2]?(u[1]="@media ".concat(u[2]," {").concat(u[1],"}"),u[2]=n):u[2]=n),i&&(u[4]?(u[1]="@supports (".concat(u[4],") {").concat(u[1],"}"),u[4]=i):u[4]="".concat(i)),t.push(u))}},t}},4933:e=>{"use strict";e.exports=function(e){return e[1]}},8822: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 i=r(n(9377)),o=/[-[\]{}()*+?.,\\^$|#\s]/g;function a(e){return e.replace(o,"\\$&")}var s=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 l(e,t){return"boolean"==typeof e.ignoreCase?e.ignoreCase:"quirks"===e.ignoreCase?!!t.quirksMode:!t.xmlMode&&s.has(e.name)}t.attributeRules={equals:function(e,t,n){var r=n.adapter,i=t.name,o=t.value;return l(t,n)?(o=o.toLowerCase(),function(t){var n=r.getAttributeValue(t,i);return null!=n&&n.length===o.length&&n.toLowerCase()===o&&e(t)}):function(t){return r.getAttributeValue(t,i)===o&&e(t)}},hyphen:function(e,t,n){var r=n.adapter,i=t.name,o=t.value,a=o.length;return l(t,n)?(o=o.toLowerCase(),function(t){var n=r.getAttributeValue(t,i);return null!=n&&(n.length===a||"-"===n.charAt(a))&&n.substr(0,a).toLowerCase()===o&&e(t)}):function(t){var n=r.getAttributeValue(t,i);return null!=n&&(n.length===a||"-"===n.charAt(a))&&n.substr(0,a)===o&&e(t)}},element:function(e,t,n){var r=n.adapter,o=t.name,s=t.value;if(/\s/.test(s))return i.default.falseFunc;var c=new RegExp("(?:^|\\s)".concat(a(s),"(?:$|\\s)"),l(t,n)?"i":"");return function(t){var n=r.getAttributeValue(t,o);return null!=n&&n.length>=s.length&&c.test(n)&&e(t)}},exists:function(e,t,n){var r=t.name,i=n.adapter;return function(t){return i.hasAttrib(t,r)&&e(t)}},start:function(e,t,n){var r=n.adapter,o=t.name,a=t.value,s=a.length;return 0===s?i.default.falseFunc:l(t,n)?(a=a.toLowerCase(),function(t){var n=r.getAttributeValue(t,o);return null!=n&&n.length>=s&&n.substr(0,s).toLowerCase()===a&&e(t)}):function(t){var n;return!!(null===(n=r.getAttributeValue(t,o))||void 0===n?void 0:n.startsWith(a))&&e(t)}},end:function(e,t,n){var r=n.adapter,o=t.name,a=t.value,s=-a.length;return 0===s?i.default.falseFunc:l(t,n)?(a=a.toLowerCase(),function(t){var n;return(null===(n=r.getAttributeValue(t,o))||void 0===n?void 0:n.substr(s).toLowerCase())===a&&e(t)}):function(t){var n;return!!(null===(n=r.getAttributeValue(t,o))||void 0===n?void 0:n.endsWith(a))&&e(t)}},any:function(e,t,n){var r=n.adapter,o=t.name,s=t.value;if(""===s)return i.default.falseFunc;if(l(t,n)){var c=new RegExp(a(s),"i");return function(t){var n=r.getAttributeValue(t,o);return null!=n&&n.length>=s.length&&c.test(n)&&e(t)}}return function(t){var n;return!!(null===(n=r.getAttributeValue(t,o))||void 0===n?void 0:n.includes(s))&&e(t)}},not:function(e,t,n){var r=n.adapter,i=t.name,o=t.value;return""===o?function(t){return!!r.getAttributeValue(t,i)&&e(t)}:l(t,n)?(o=o.toLowerCase(),function(t){var n=r.getAttributeValue(t,i);return(null==n||n.length!==o.length||n.toLowerCase()!==o)&&e(t)}):function(t){return r.getAttributeValue(t,i)!==o&&e(t)}}}},2021:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var i=Object.getOwnPropertyDescriptor(t,n);i&&!("get"in i?!t.__esModule:i.writable||i.configurable)||(i={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,i)}:function(e,t,n,r){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}),o=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 i(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 s=n(3982),l=a(n(9377)),c=o(n(3950)),u=n(4826),d=n(5207);function f(e,t,n){return b("string"==typeof e?(0,s.parse)(e):e,t,n)}function h(e){return e.type===s.SelectorType.Pseudo&&("scope"===e.name||Array.isArray(e.data)&&e.data.some((function(e){return e.some(h)})))}t.compile=function(e,t,n){var r=f(e,t,n);return(0,d.ensureIsTag)(r,t.adapter)},t.compileUnsafe=f;var p={type:s.SelectorType.Descendant},m={type:"_flexibleDescendant"},g={type:s.SelectorType.Pseudo,name:"scope",data:null};function b(e,t,n){var r;e.forEach(c.default),n=null!==(r=t.context)&&void 0!==r?r:n;var i=Array.isArray(n),o=n&&(Array.isArray(n)?n:[n]);if(!1!==t.relativeSelector)!function(e,t,n){for(var r=t.adapter,i=!!(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)}))),o=0,a=e;o<a.length;o++){var l=a[o];if(l.length>0&&(0,c.isTraversal)(l[0])&&l[0].type!==s.SelectorType.Descendant);else{if(!i||l.some(h))continue;l.unshift(p)}l.unshift(g)}}(e,t,o);else if(e.some((function(e){return e.length>0&&(0,c.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!==s.SelectorType.Pseudo||"scope"!==n.name||(i&&r.type===s.SelectorType.Descendant?e[1]=m:r.type!==s.SelectorType.Adjacent&&r.type!==s.SelectorType.Sibling||(a=!0))}return function(e,t,n){var r;return e.reduce((function(e,r){return e===l.default.falseFunc?l.default.falseFunc:(0,u.compileGeneralSelector)(e,r,t,n,b)}),null!==(r=t.rootFunc)&&void 0!==r?r:l.default.trueFunc)}(e,t,o)})).reduce(v,l.default.falseFunc);return f.shouldTestNextSiblings=a,f}function v(e,t){return t===l.default.falseFunc||e===l.default.trueFunc?e:e===l.default.falseFunc||t===l.default.trueFunc?t:function(n){return e(n)||t(n)}}t.compileToken=b},4826:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.compileGeneralSelector=void 0;var r=n(8822),i=n(9086),o=n(3982);function a(e,t){var n=t.getParent(e);return n&&t.isTag(n)?n:null}t.compileGeneralSelector=function(e,t,n,s,l){var c=n.adapter,u=n.equals;switch(t.type){case o.SelectorType.PseudoElement:throw new Error("Pseudo-elements are not supported by css-select");case o.SelectorType.ColumnCombinator:throw new Error("Column combinators are not yet supported by css-select");case o.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 o.SelectorType.Pseudo:return(0,i.compilePseudoSelector)(e,t,n,s,l);case o.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 c.getName(t)===d&&e(t)};case o.SelectorType.Descendant:if(!1===n.cacheResults||"undefined"==typeof WeakSet)return function(t){for(var n=t;n=a(n,c);)if(e(n))return!0;return!1};var f=new WeakSet;return function(t){for(var n=t;n=a(n,c);)if(!f.has(n)){if(c.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,c));return!1};case o.SelectorType.Parent:return function(t){return c.getChildren(t).some((function(t){return c.isTag(t)&&e(t)}))};case o.SelectorType.Child:return function(t){var n=c.getParent(t);return null!=n&&c.isTag(n)&&e(n)};case o.SelectorType.Sibling:return function(t){for(var n=c.getSiblings(t),r=0;r<n.length;r++){var i=n[r];if(u(t,i))break;if(c.isTag(i)&&e(i))return!0}return!1};case o.SelectorType.Adjacent:return c.prevElementSibling?function(t){var n=c.prevElementSibling(t);return null!=n&&e(n)}:function(t){for(var n,r=c.getSiblings(t),i=0;i<r.length;i++){var o=r[i];if(u(t,o))break;c.isTag(o)&&(n=o)}return!!n&&e(n)};case o.SelectorType.Universal:if(null!=t.namespace&&"*"!==t.namespace)throw new Error("Namespaced universal selectors are not yet supported by css-select");return e}}},2564:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var i=Object.getOwnPropertyDescriptor(t,n);i&&!("get"in i?!t.__esModule:i.writable||i.configurable)||(i={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,i)}:function(e,t,n,r){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}),o=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 i(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 s=o(n(557)),l=a(n(9377)),c=n(2021),u=n(5207),d=function(e,t){return e===t},f={adapter:s,equals:d};function h(e){var t,n,r,i,o=null!=e?e:f;return null!==(t=o.adapter)&&void 0!==t||(o.adapter=s),null!==(n=o.equals)&&void 0!==n||(o.equals=null!==(i=null===(r=o.adapter)||void 0===r?void 0:r.equals)&&void 0!==i?i:d),o}function p(e){return function(t,n,r){var i=h(n);return e(t,i,r)}}function m(e){return function(t,n,r){var i=h(r);"function"!=typeof t&&(t=(0,c.compileUnsafe)(t,i,n));var o=g(n,i.adapter,t.shouldTestNextSiblings);return e(t,o,i)}}function g(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,i=0;i<r;i++){var o=(0,u.getNextSiblings)(n[i],t);n.push.apply(n,o)}return n}(e,t)),Array.isArray(e)?t.removeSubsets(e):t.getChildren(e)}t.compile=p(c.compile),t._compileUnsafe=p(c.compileUnsafe),t._compileToken=p(c.compileToken),t.prepareContext=g,t.selectAll=m((function(e,t,n){return e!==l.default.falseFunc&&t&&0!==t.length?n.adapter.findAll(e,t):[]})),t.selectOne=m((function(e,t,n){return e!==l.default.falseFunc&&t&&0!==t.length?n.adapter.findOne(e,t):null})),t.is=function(e,t,n){var r=h(n);return("function"==typeof t?t:(0,c.compile)(t,r))(e)},t.default=t.selectAll;var b=n(9086);Object.defineProperty(t,"filters",{enumerable:!0,get:function(){return b.filters}}),Object.defineProperty(t,"pseudos",{enumerable:!0,get:function(){return b.pseudos}}),Object.defineProperty(t,"aliases",{enumerable:!0,get:function(){return b.aliases}})},7608:(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])"}},4961: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 i=r(n(364)),o=r(n(9377));function a(e,t){return function(n){var r=t.getParent(n);return null!=r&&t.isTag(r)&&e(n)}}function s(e){return function(t,n,r){var i=r.adapter[e];return"function"!=typeof i?o.default.falseFunc:function(e){return i(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,i=t.toLowerCase();return function(t){return e(t)&&r.getText(t).toLowerCase().includes(i)}},"nth-child":function(e,t,n){var r=n.adapter,s=n.equals,l=(0,i.default)(t);return l===o.default.falseFunc?o.default.falseFunc:l===o.default.trueFunc?a(e,r):function(t){for(var n=r.getSiblings(t),i=0,o=0;o<n.length&&!s(t,n[o]);o++)r.isTag(n[o])&&i++;return l(i)&&e(t)}},"nth-last-child":function(e,t,n){var r=n.adapter,s=n.equals,l=(0,i.default)(t);return l===o.default.falseFunc?o.default.falseFunc:l===o.default.trueFunc?a(e,r):function(t){for(var n=r.getSiblings(t),i=0,o=n.length-1;o>=0&&!s(t,n[o]);o--)r.isTag(n[o])&&i++;return l(i)&&e(t)}},"nth-of-type":function(e,t,n){var r=n.adapter,s=n.equals,l=(0,i.default)(t);return l===o.default.falseFunc?o.default.falseFunc:l===o.default.trueFunc?a(e,r):function(t){for(var n=r.getSiblings(t),i=0,o=0;o<n.length;o++){var a=n[o];if(s(t,a))break;r.isTag(a)&&r.getName(a)===r.getName(t)&&i++}return l(i)&&e(t)}},"nth-last-of-type":function(e,t,n){var r=n.adapter,s=n.equals,l=(0,i.default)(t);return l===o.default.falseFunc?o.default.falseFunc:l===o.default.trueFunc?a(e,r):function(t){for(var n=r.getSiblings(t),i=0,o=n.length-1;o>=0;o--){var a=n[o];if(s(t,a))break;r.isTag(a)&&r.getName(a)===r.getName(t)&&i++}return l(i)&&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,i){var o=r.equals;return i&&0!==i.length?1===i.length?function(t){return o(i[0],t)&&e(t)}:function(t){return i.includes(t)&&e(t)}:t.filters.root(e,n,r)},hover:s("isHovered"),visited:s("isVisited"),active:s("isActive")}},9086:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.compilePseudoSelector=t.aliases=t.pseudos=t.filters=void 0;var r=n(3982),i=n(4961);Object.defineProperty(t,"filters",{enumerable:!0,get:function(){return i.filters}});var o=n(1336);Object.defineProperty(t,"pseudos",{enumerable:!0,get:function(){return o.pseudos}});var a=n(7608);Object.defineProperty(t,"aliases",{enumerable:!0,get:function(){return a.aliases}});var s=n(5207);t.compilePseudoSelector=function(e,t,n,l,c){var u,d=t.name,f=t.data;if(Array.isArray(f)){if(!(d in s.subselects))throw new Error("Unknown pseudo-class :".concat(d,"(").concat(f,")"));return s.subselects[d](e,f,n,l,c)}var h=null===(u=n.pseudos)||void 0===u?void 0:u[d],p="string"==typeof h?h:a.aliases[d];if("string"==typeof p){if(null!=f)throw new Error("Pseudo ".concat(d," doesn't have any arguments"));var m=(0,r.parse)(p);return s.subselects.is(e,m,n,l,c)}if("function"==typeof h)return(0,o.verifyPseudoArgs)(h,d,f,1),function(t){return h(t,f)&&e(t)};if(d in i.filters)return i.filters[d](e,f,n,l);if(d in o.pseudos){var g=o.pseudos[d];return(0,o.verifyPseudoArgs)(g,d,f,2),function(t){return g(t,n,f)&&e(t)}}throw new Error("Unknown pseudo-class :".concat(d))}},1336:(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 i=n.getSiblings(e).find((function(e){return n.isTag(e)}));return null!=i&&r(e,i)},"last-child":function(e,t){for(var n=t.adapter,r=t.equals,i=n.getSiblings(e),o=i.length-1;o>=0;o--){if(r(e,i[o]))return!0;if(n.isTag(i[o]))break}return!1},"first-of-type":function(e,t){for(var n=t.adapter,r=t.equals,i=n.getSiblings(e),o=n.getName(e),a=0;a<i.length;a++){var s=i[a];if(r(e,s))return!0;if(n.isTag(s)&&n.getName(s)===o)break}return!1},"last-of-type":function(e,t){for(var n=t.adapter,r=t.equals,i=n.getSiblings(e),o=n.getName(e),a=i.length-1;a>=0;a--){var s=i[a];if(r(e,s))return!0;if(n.isTag(s)&&n.getName(s)===o)break}return!1},"only-of-type":function(e,t){var n=t.adapter,r=t.equals,i=n.getName(e);return n.getSiblings(e).every((function(t){return r(e,t)||!n.isTag(t)||n.getName(t)!==i}))},"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"))}},5207:function(e,t,n){"use strict";var r=this&&this.__spreadArray||function(e,t,n){if(n||2===arguments.length)for(var r,i=0,o=t.length;i<o;i++)!r&&i in t||(r||(r=Array.prototype.slice.call(t,0,i)),r[i]=t[i]);return e.concat(r||Array.prototype.slice.call(t))},i=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 o=i(n(9377)),a=n(3950);function s(e,t){return e===o.default.falseFunc?o.default.falseFunc:function(n){return t.isTag(n)&&e(n)}}function l(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 c(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=s,t.getNextSiblings=l;var u=function(e,t,n,r,i){var a=i(t,c(n),r);return a===o.default.trueFunc?e:a===o.default.falseFunc?o.default.falseFunc:function(t){return a(t)&&e(t)}};t.subselects={is:u,matches:u,where:u,not:function(e,t,n,r,i){var a=i(t,c(n),r);return a===o.default.falseFunc?e:a===o.default.trueFunc?o.default.falseFunc:function(t){return!a(t)&&e(t)}},has:function(e,n,i,u,d){var f=i.adapter,h=c(i);h.relativeSelector=!0;var p=n.some((function(e){return e.some(a.isTraversal)}))?[t.PLACEHOLDER_ELEMENT]:void 0,m=d(n,h,p);if(m===o.default.falseFunc)return o.default.falseFunc;var g=s(m,f);if(p&&m!==o.default.trueFunc){var b=m.shouldTestNextSiblings,v=void 0!==b&&b;return function(t){if(!e(t))return!1;p[0]=t;var n=f.getChildren(t),i=v?r(r([],n,!0),l(t,f),!0):n;return f.existsOne(g,i)}}return function(t){return e(t)&&f.existsOne(g,f.getChildren(t))}}}},3950:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isTraversal=void 0;var r=n(3982),i=new Map([[r.SelectorType.Universal,50],[r.SelectorType.Tag,30],[r.SelectorType.Attribute,1],[r.SelectorType.Pseudo,0]]);t.isTraversal=function(e){return!i.has(e.type)};var o=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,s=null!==(t=i.get(e.type))&&void 0!==t?t:-1;return e.type===r.SelectorType.Attribute?(s=null!==(n=o.get(e.action))&&void 0!==n?n:4,e.action===r.AttributeAction.Equals&&"id"===e.name&&(s=9),e.ignoreCase&&(s>>=1)):e.type===r.SelectorType.Pseudo&&(e.data?"has"===e.name||"contains"===e.name?s=0:Array.isArray(e.data)?(s=Math.min.apply(Math,e.data.map((function(e){return Math.min.apply(Math,e.map(a))}))))<0&&(s=0):s=2:s=3),s}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 i=n-1;i>=0&&r<t[i];i--){var o=e[i+1];e[i+1]=e[i],e[i]=o,t[i+1]=t[i],t[i]=r}}}},3982:(e,t,n)=>{"use strict";var r;n.r(t),n.d(t,{AttributeAction:()=>o,IgnoreCaseMode:()=>i,SelectorType:()=>r,isTraversal:()=>u,parse:()=>g,stringify:()=>A}),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 i={Unknown:null,QuirksMode:"quirks",IgnoreCase:!0,CaseSensitive:!1};var o;!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"}(o||(o={}));const a=/^[^\\#]?(?:\\(?:[\da-f]{1,6}\s?|.)|[\w\-\u00b0-\uFFFF])+/,s=/\\([\da-f]{1,6}\s?|(\s)|.)/gi,l=new Map([[126,o.Element],[94,o.Start],[36,o.End],[42,o.Any],[33,o.Not],[124,o.Hyphen]]),c=new Set(["has","not","matches","is","where","host","host-context"]);function u(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 h(e){return e.replace(s,f)}function p(e){return 39===e||34===e}function m(e){return 32===e||9===e||10===e||12===e||13===e}function g(e){const t=[],n=b(t,`${e}`,0);if(n<e.length)throw new Error(`Unmatched selector: ${e.slice(n)}`);return t}function b(e,t,n){let i=[];function s(e){const r=t.slice(n+e).match(a);if(!r)throw new Error(`Expected name, found ${t.slice(n)}`);const[i]=r;return n+=e+i.length,h(i)}function f(e){for(n+=e;n<t.length&&m(t.charCodeAt(n));)n++}function g(){const e=n+=1;let r=1;for(;r>0&&n<t.length;n++)40!==t.charCodeAt(n)||v(n)?41!==t.charCodeAt(n)||v(n)||r--:r++;if(r)throw new Error("Parenthesis not matched");return h(t.slice(e,n-1))}function v(e){let n=0;for(;92===t.charCodeAt(--e);)n++;return 1==(1&n)}function y(){if(i.length>0&&u(i[i.length-1]))throw new Error("Did not expect successive traversals.")}function E(e){i.length>0&&i[i.length-1].type===r.Descendant?i[i.length-1].type=e:(y(),i.push({type:e}))}function T(e,t){i.push({type:r.Attribute,name:e,action:t,value:s(1),namespace:null,ignoreCase:"quirks"})}function _(){if(i.length&&i[i.length-1].type===r.Descendant&&i.pop(),0===i.length)throw new Error("Empty sub-selector");e.push(i)}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!==i.length&&i[0].type===r.Descendant||(y(),i.push({type:r.Descendant})),f(1);break;case 62:E(r.Child),f(1);break;case 60:E(r.Parent),f(1);break;case 126:E(r.Sibling),f(1);break;case 43:E(r.Adjacent),f(1);break;case 46:T("class",o.Element);break;case 35:T("id",o.Equals);break;case 91:{let e;f(1);let a=null;124===t.charCodeAt(n)?e=s(1):t.startsWith("*|",n)?(a="*",e=s(2)):(e=s(0),124===t.charCodeAt(n)&&61!==t.charCodeAt(n+1)&&(a=e,e=s(1))),f(0);let c=o.Exists;const u=l.get(t.charCodeAt(n));if(u){if(c=u,61!==t.charCodeAt(n+1))throw new Error("Expected `=`");f(2)}else 61===t.charCodeAt(n)&&(c=o.Equals,f(1));let d="",g=null;if("exists"!==c){if(p(t.charCodeAt(n))){const e=t.charCodeAt(n);let r=n+1;for(;r<t.length&&(t.charCodeAt(r)!==e||v(r));)r+=1;if(t.charCodeAt(r)!==e)throw new Error("Attribute value didn't end");d=h(t.slice(n+1,r)),n=r+1}else{const e=n;for(;n<t.length&&(!m(t.charCodeAt(n))&&93!==t.charCodeAt(n)||v(n));)n+=1;d=h(t.slice(e,n))}f(0);const e=32|t.charCodeAt(n);115===e?(g=!1,f(1)):105===e&&(g=!0,f(1))}if(93!==t.charCodeAt(n))throw new Error("Attribute selector didn't terminate");n+=1;const b={type:r.Attribute,name:e,action:c,value:d,namespace:a,ignoreCase:g};i.push(b);break}case 58:{if(58===t.charCodeAt(n+1)){i.push({type:r.PseudoElement,name:s(2).toLowerCase(),data:40===t.charCodeAt(n)?g():null});continue}const e=s(1).toLowerCase();let o=null;if(40===t.charCodeAt(n))if(c.has(e)){if(p(t.charCodeAt(n+1)))throw new Error(`Pseudo-selector ${e} cannot be quoted`);if(o=[],n=b(o,t,n+1),41!==t.charCodeAt(n))throw new Error(`Missing closing parenthesis in :${e} (${t})`);n+=1}else{if(o=g(),d.has(e)){const e=o.charCodeAt(0);e===o.charCodeAt(o.length-1)&&p(e)&&(o=o.slice(1,-1))}o=h(o)}i.push({type:r.Pseudo,name:e,data:o});break}case 44:_(),i=[],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===i.length&&f(0);break}let o,l=null;if(42===e)n+=1,o="*";else if(124===e){if(o="",124===t.charCodeAt(n+1)){E(r.ColumnCombinator),f(2);break}}else{if(!a.test(t.slice(n)))break e;o=s(0)}124===t.charCodeAt(n)&&124!==t.charCodeAt(n+1)&&(l=o,42===t.charCodeAt(n+1)?(o="*",n+=2):o=s(1)),i.push("*"===o?{type:r.Universal,namespace:l}:{type:r.Tag,name:o,namespace:l})}}}return _(),n}const v=["\\",'"'],y=[...v,"(",")"],E=new Set(v.map((e=>e.charCodeAt(0)))),T=new Set(y.map((e=>e.charCodeAt(0)))),_=new Set([...y,"~","^","$","*","+","!","|",":","[","]"," ","."].map((e=>e.charCodeAt(0))));function A(e){return e.map((e=>e.map(S).join(""))).join(", ")}function S(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]?"":`${I(e.namespace)}*`;case r.Tag:return C(e);case r.PseudoElement:return`::${w(e.name,_)}${null===e.data?"":`(${w(e.data,T)})`}`;case r.Pseudo:return`:${w(e.name,_)}${null===e.data?"":`(${"string"==typeof e.data?w(e.data,T):A(e.data)})`}`;case r.Attribute:{if("id"===e.name&&e.action===o.Equals&&"quirks"===e.ignoreCase&&!e.namespace)return`#${w(e.value,_)}`;if("class"===e.name&&e.action===o.Element&&"quirks"===e.ignoreCase&&!e.namespace)return`.${w(e.value,_)}`;const t=C(e);return e.action===o.Exists?`[${t}]`:`[${t}${function(e){switch(e){case o.Equals:return"";case o.Element:return"~";case o.Start:return"^";case o.End:return"$";case o.Any:return"*";case o.Not:return"!";case o.Hyphen:return"|";case o.Exists:throw new Error("Shouldn't be here")}}(e.action)}="${w(e.value,E)}"${null===e.ignoreCase?"":e.ignoreCase?" i":" s"}]`}}}function C(e){return`${I(e.namespace)}${w(e.name,_)}`}function I(e){return null!==e?`${"*"===e?"*":w(e,_)}|`:""}function w(e,t){let n=0,r="";for(let i=0;i<e.length;i++)t.has(e.charCodeAt(i))&&(r+=`${e.slice(n,i)}\\${e.charAt(i)}`,n=i+1);return r.length>0?r+e.slice(n):e}},1383:(e,t,n)=>{"use strict";var r=n(4687);e.exports=function(e,t,n){return"function"==typeof t?t(e):(n="boolean"===r(n)?{empty:n}:{empty:!1}).empty?e||t:r(e)===r(t)?e:t}},1069:(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]})))},6398: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 i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e},r.apply(this,arguments)},i=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var i=Object.getOwnPropertyDescriptor(t,n);i&&!("get"in i?!t.__esModule:i.writable||i.configurable)||(i={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,i)}:function(e,t,n,r){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}),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)&&i(t,e,n);return o(t,e),t};Object.defineProperty(t,"__esModule",{value:!0}),t.render=void 0;var s=a(n(289)),l=n(9625),c=n(1069),u=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 h(e,t){void 0===t&&(t={});for(var n=("length"in e?e:[e]),r="",i=0;i<n.length;i++)r+=p(n[i],t);return r}function p(e,t){switch(e.type){case s.Root:return h(e.children,t);case s.Doctype:case s.Directive:return"<".concat(e.data,">");case s.Comment:return"\x3c!--".concat(e.data,"--\x3e");case s.CDATA:return function(e){return"<![CDATA[".concat(e.children[0].data,"]]>")}(e);case s.Script:case s.Style:case s.Tag:return function(e,t){var n;"foreign"===t.xmlMode&&(e.name=null!==(n=c.elementNames.get(e.name))&&void 0!==n?n:e.name,e.parent&&m.has(e.parent.name)&&(t=r(r({},t),{xmlMode:!1}))),!t.xmlMode&&g.has(e.name)&&(t=r(r({},t),{xmlMode:"foreign"}));var i="<".concat(e.name),o=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?l.encodeXML:l.escapeAttribute;return Object.keys(e).map((function(n){var i,o,a=null!==(i=e[n])&&void 0!==i?i:"";return"foreign"===t.xmlMode&&(n=null!==(o=c.attributeNames.get(n))&&void 0!==o?o:n),t.emptyAttrs||t.xmlMode||""!==a?"".concat(n,'="').concat(r(a),'"'):n})).join(" ")}}(e.attribs,t);return o&&(i+=" ".concat(o)),0===e.children.length&&(t.xmlMode?!1!==t.selfClosingTags:t.selfClosingTags&&f.has(e.name))?(t.xmlMode||(i+=" "),i+="/>"):(i+=">",e.children.length>0&&(i+=h(e.children,t)),!t.xmlMode&&f.has(e.name)||(i+="</".concat(e.name,">"))),i}(e,t);case s.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&&u.has(e.parent.name)||(r=t.xmlMode||"utf8"!==t.encodeEntities?(0,l.encodeXML)(r):(0,l.escapeText)(r)),r}(e,t)}}t.render=h,t.default=h;var m=new Set(["mi","mo","mn","ms","mtext","annotation-xml","foreignObject","desc","title"]),g=new Set(["svg","math"])},289:(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},6722:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var i=Object.getOwnPropertyDescriptor(t,n);i&&!("get"in i?!t.__esModule:i.writable||i.configurable)||(i={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,i)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),i=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 o=n(289),a=n(1901);i(n(1901),t);var s={withStartIndices:!1,withEndIndices:!1,xmlMode:!1},l=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=s),"object"==typeof e&&(t=e,e=void 0),this.callback=null!=e?e:null,this.options=null!=t?t:s,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?o.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===o.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===o.ElementType.Comment)this.lastNode.data+=e;else{var t=new a.Comment(e);this.addNode(t),this.lastNode=t}},e.prototype.oncommentend=function(){this.lastNode=null},e.prototype.oncdatastart=function(){var e=new a.Text(""),t=new a.CDATA([e]);this.addNode(t),e.parent=t,this.lastNode=e},e.prototype.oncdataend=function(){this.lastNode=null},e.prototype.onprocessinginstruction=function(e,t){var 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=l,t.default=l},1901:function(e,t,n){"use strict";var r,i=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)}),o=this&&this.__assign||function(){return o=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e},o.apply(this,arguments)};Object.defineProperty(t,"__esModule",{value:!0}),t.cloneNode=t.hasChildren=t.isDocument=t.isDirective=t.isComment=t.isText=t.isCDATA=t.isTag=t.Element=t.Document=t.CDATA=t.NodeWithChildren=t.ProcessingInstruction=t.Comment=t.Text=t.DataNode=t.Node=void 0;var a=n(289),s=function(){function e(){this.parent=null,this.prev=null,this.next=null,this.startIndex=null,this.endIndex=null}return Object.defineProperty(e.prototype,"parentNode",{get:function(){return this.parent},set:function(e){this.parent=e},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"previousSibling",{get:function(){return this.prev},set:function(e){this.prev=e},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"nextSibling",{get:function(){return this.next},set:function(e){this.next=e},enumerable:!1,configurable:!0}),e.prototype.cloneNode=function(e){return void 0===e&&(e=!1),_(this,e)},e}();t.Node=s;var l=function(e){function t(t){var n=e.call(this)||this;return n.data=t,n}return i(t,e),Object.defineProperty(t.prototype,"nodeValue",{get:function(){return this.data},set:function(e){this.data=e},enumerable:!1,configurable:!0}),t}(s);t.DataNode=l;var c=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.type=a.ElementType.Text,t}return i(t,e),Object.defineProperty(t.prototype,"nodeType",{get:function(){return 3},enumerable:!1,configurable:!0}),t}(l);t.Text=c;var u=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.type=a.ElementType.Comment,t}return i(t,e),Object.defineProperty(t.prototype,"nodeType",{get:function(){return 8},enumerable:!1,configurable:!0}),t}(l);t.Comment=u;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 i(t,e),Object.defineProperty(t.prototype,"nodeType",{get:function(){return 1},enumerable:!1,configurable:!0}),t}(l);t.ProcessingInstruction=d;var f=function(e){function t(t){var n=e.call(this)||this;return n.children=t,n}return i(t,e),Object.defineProperty(t.prototype,"firstChild",{get:function(){var e;return null!==(e=this.children[0])&&void 0!==e?e:null},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"lastChild",{get:function(){return this.children.length>0?this.children[this.children.length-1]:null},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"childNodes",{get:function(){return this.children},set:function(e){this.children=e},enumerable:!1,configurable:!0}),t}(s);t.NodeWithChildren=f;var h=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.type=a.ElementType.CDATA,t}return i(t,e),Object.defineProperty(t.prototype,"nodeType",{get:function(){return 4},enumerable:!1,configurable:!0}),t}(f);t.CDATA=h;var p=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.type=a.ElementType.Root,t}return i(t,e),Object.defineProperty(t.prototype,"nodeType",{get:function(){return 9},enumerable:!1,configurable:!0}),t}(f);t.Document=p;var m=function(e){function t(t,n,r,i){void 0===r&&(r=[]),void 0===i&&(i="script"===t?a.ElementType.Script:"style"===t?a.ElementType.Style:a.ElementType.Tag);var o=e.call(this,r)||this;return o.name=t,o.attribs=n,o.type=i,o}return i(t,e),Object.defineProperty(t.prototype,"nodeType",{get:function(){return 1},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"tagName",{get:function(){return this.name},set:function(e){this.name=e},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"attributes",{get:function(){var e=this;return Object.keys(this.attribs).map((function(t){var 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 g(e){return(0,a.isTag)(e)}function b(e){return e.type===a.ElementType.CDATA}function v(e){return e.type===a.ElementType.Text}function y(e){return e.type===a.ElementType.Comment}function E(e){return e.type===a.ElementType.Directive}function T(e){return e.type===a.ElementType.Root}function _(e,t){var n;if(void 0===t&&(t=!1),v(e))n=new c(e.data);else if(y(e))n=new u(e.data);else if(g(e)){var r=t?A(e.children):[],i=new m(e.name,o({},e.attribs),r);r.forEach((function(e){return e.parent=i})),null!=e.namespace&&(i.namespace=e.namespace),e["x-attribsNamespace"]&&(i["x-attribsNamespace"]=o({},e["x-attribsNamespace"])),e["x-attribsPrefix"]&&(i["x-attribsPrefix"]=o({},e["x-attribsPrefix"])),n=i}else if(b(e)){r=t?A(e.children):[];var a=new h(r);r.forEach((function(e){return e.parent=a})),n=a}else if(T(e)){r=t?A(e.children):[];var s=new p(r);r.forEach((function(e){return e.parent=s})),e["x-mode"]&&(s["x-mode"]=e["x-mode"]),n=s}else{if(!E(e))throw new Error("Not implemented yet: ".concat(e.type));var l=new d(e.name,e.data);null!=e["x-name"]&&(l["x-name"]=e["x-name"],l["x-publicId"]=e["x-publicId"],l["x-systemId"]=e["x-systemId"]),n=l}return n.startIndex=e.startIndex,n.endIndex=e.endIndex,null!=e.sourceCodeLocation&&(n.sourceCodeLocation=e.sourceCodeLocation),n}function A(e){for(var t=e.map((function(e){return _(e,!0)})),n=1;n<t.length;n++)t[n].prev=t[n-1],t[n-1].next=t[n];return t}t.Element=m,t.isTag=g,t.isCDATA=b,t.isText=v,t.isComment=y,t.isDirective=E,t.isDocument=T,t.hasChildren=function(e){return Object.prototype.hasOwnProperty.call(e,"children")},t.cloneNode=_},7652:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getFeed=void 0;var r=n(1454),i=n(5198);t.getFeed=function(e){var t=l(d,e);return t?"feed"===t.name?function(e){var t,n=e.children,r={type:"atom",items:(0,i.getElementsByTagName)("entry",n).map((function(e){var t,n=e.children,r={media:s(n)};u(r,"id","id",n),u(r,"title","title",n);var i=null===(t=l("link",n))||void 0===t?void 0:t.attribs.href;i&&(r.link=i);var o=c("summary",n)||c("content",n);o&&(r.description=o);var a=c("updated",n);return a&&(r.pubDate=new Date(a)),r}))};u(r,"id","id",n),u(r,"title","title",n);var o=null===(t=l("link",n))||void 0===t?void 0:t.attribs.href;o&&(r.link=o),u(r,"description","subtitle",n);var a=c("updated",n);return a&&(r.updated=new Date(a)),u(r,"author","email",n,!0),r}(t):function(e){var t,n,r=null!==(n=null===(t=l("channel",e.children))||void 0===t?void 0:t.children)&&void 0!==n?n:[],o={type:e.name.substr(0,3),id:"",items:(0,i.getElementsByTagName)("item",e.children).map((function(e){var t=e.children,n={media:s(t)};u(n,"id","guid",t),u(n,"title","title",t),u(n,"link","link",t),u(n,"description","description",t);var r=c("pubDate",t)||c("dc:date",t);return r&&(n.pubDate=new Date(r)),n}))};u(o,"title","title",r),u(o,"link","link",r),u(o,"description","description",r);var a=c("lastBuildDate",r);return a&&(o.updated=new Date(a)),u(o,"author","managingEditor",r,!0),o}(t):null};var o=["url","type","lang"],a=["fileSize","bitrate","framerate","samplingrate","channels","duration","height","width"];function s(e){return(0,i.getElementsByTagName)("media:content",e).map((function(e){for(var t=e.attribs,n={medium:t.medium,isDefault:!!t.isDefault},r=0,i=o;r<i.length;r++)t[c=i[r]]&&(n[c]=t[c]);for(var s=0,l=a;s<l.length;s++){var c;t[c=l[s]]&&(n[c]=parseInt(t[c],10))}return t.expression&&(n.expression=t.expression),n}))}function l(e,t){return(0,i.getElementsByTagName)(e,t,!0,1)[0]}function c(e,t,n){return void 0===n&&(n=!1),(0,r.textContent)((0,i.getElementsByTagName)(e,t,n,1)).trim()}function u(e,t,n,r,i){void 0===i&&(i=!1);var o=c(n,r,i);o&&(e[t]=o)}function d(e){return"rss"===e||"feed"===e||"rdf:RDF"===e}},6367:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.uniqueSort=t.compareDocumentPosition=t.DocumentPosition=t.removeSubsets=void 0;var r,i=n(6722);function o(e,t){var n=[],o=[];if(e===t)return 0;for(var a=(0,i.hasChildren)(e)?e:e.parent;a;)n.unshift(a),a=a.parent;for(a=(0,i.hasChildren)(t)?t:t.parent;a;)o.unshift(a),a=a.parent;for(var s=Math.min(n.length,o.length),l=0;l<s&&n[l]===o[l];)l++;if(0===l)return r.DISCONNECTED;var c=n[l-1],u=c.children,d=n[l],f=o[l];return u.indexOf(d)>u.indexOf(f)?c===t?r.FOLLOWING|r.CONTAINED_BY:r.FOLLOWING:c===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=o,t.uniqueSort=function(e){return(e=e.filter((function(e,t,n){return!n.includes(e,t+1)}))).sort((function(e,t){var n=o(e,t);return n&r.PRECEDING?-1:n&r.FOLLOWING?1:0})),e}},557:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var i=Object.getOwnPropertyDescriptor(t,n);i&&!("get"in i?!t.__esModule:i.writable||i.configurable)||(i={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,i)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),i=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,i(n(1454),t),i(n(3033),t),i(n(8452),t),i(n(6361),t),i(n(5198),t),i(n(6367),t),i(n(7652),t);var o=n(6722);Object.defineProperty(t,"isTag",{enumerable:!0,get:function(){return o.isTag}}),Object.defineProperty(t,"isCDATA",{enumerable:!0,get:function(){return o.isCDATA}}),Object.defineProperty(t,"isText",{enumerable:!0,get:function(){return o.isText}}),Object.defineProperty(t,"isComment",{enumerable:!0,get:function(){return o.isComment}}),Object.defineProperty(t,"isDocument",{enumerable:!0,get:function(){return o.isDocument}}),Object.defineProperty(t,"hasChildren",{enumerable:!0,get:function(){return o.hasChildren}})},5198:(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(6722),i=n(6361),o={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 s(e,t){return function(n){return e(n)||t(n)}}function l(e){var t=Object.keys(e).map((function(t){var n=e[t];return Object.prototype.hasOwnProperty.call(o,t)?o[t](n):a(t,n)}));return 0===t.length?null:t.reduce(s)}t.testElement=function(e,t){var n=l(e);return!n||n(t)},t.getElements=function(e,t,n,r){void 0===r&&(r=1/0);var o=l(e);return o?(0,i.filter)(o,t,n,r):[]},t.getElementById=function(e,t,n){return void 0===n&&(n=!0),Array.isArray(t)||(t=[t]),(0,i.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,i.filter)(o.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,i.filter)(o.tag_type(e),t,n,r)}},8452:(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,n=t.lastIndexOf(e);n>=0&&t.splice(n,1)}e.next=null,e.prev=null,e.parent=null}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 i=t.parent=e.parent;if(i){var o=i.children;o[o.lastIndexOf(e)]=t,e.parent=null}},t.appendChild=function(e,t){if(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,i=e.next;if(t.next=i,t.prev=e,e.next=t,t.parent=r,i){if(i.prev=t,r){var o=r.children;o.splice(o.lastIndexOf(i),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 i=r.children;i.splice(i.indexOf(e),0,t)}e.prev&&(e.prev.next=t),t.parent=r,t.prev=e.prev,t.next=e,e.prev=t}},6361:(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(6722);function i(e,t,n,i){for(var o=[],a=[t],s=[0];;)if(s[0]>=a[0].length){if(1===s.length)return o;a.shift(),s.shift()}else{var l=a[0][s[0]++];if(e(l)&&(o.push(l),--i<=0))return o;n&&(0,r.hasChildren)(l)&&l.children.length>0&&(s.unshift(0),a.unshift(l.children))}}t.filter=function(e,t,n,r){return void 0===n&&(n=!0),void 0===r&&(r=1/0),i(e,Array.isArray(t)?t:[t],n,r)},t.find=i,t.findOneChild=function(e,t){return t.find(e)},t.findOne=function e(t,n,i){void 0===i&&(i=!0);for(var o=null,a=0;a<n.length&&!o;a++){var s=n[a];(0,r.isTag)(s)&&(t(s)?o=s:i&&s.children.length>0&&(o=e(t,s.children,!0)))}return o},t.existsOne=function e(t,n){return n.some((function(n){return(0,r.isTag)(n)&&(t(n)||e(t,n.children))}))},t.findAll=function(e,t){for(var n=[],i=[t],o=[0];;)if(o[0]>=i[0].length){if(1===i.length)return n;i.shift(),o.shift()}else{var a=i[0][o[0]++];(0,r.isTag)(a)&&(e(a)&&n.push(a),a.children.length>0&&(o.unshift(0),i.unshift(a.children)))}}},1454: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 i=n(6722),o=r(n(6398)),a=n(289);function s(e,t){return(0,o.default)(e,t)}t.getOuterHTML=s,t.getInnerHTML=function(e,t){return(0,i.hasChildren)(e)?e.children.map((function(e){return s(e,t)})).join(""):""},t.getText=function e(t){return Array.isArray(t)?t.map(e).join(""):(0,i.isTag)(t)?"br"===t.name?"\n":e(t.children):(0,i.isCDATA)(t)?e(t.children):(0,i.isText)(t)?t.data:""},t.textContent=function e(t){return Array.isArray(t)?t.map(e).join(""):(0,i.hasChildren)(t)&&!(0,i.isComment)(t)?e(t.children):(0,i.isText)(t)?t.data:""},t.innerText=function e(t){return Array.isArray(t)?t.map(e).join(""):(0,i.hasChildren)(t)&&(t.type===a.ElementType.Tag||(0,i.isCDATA)(t))?e(t.children):(0,i.isText)(t)?t.data:""}},3033:(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(6722);function i(e){return(0,r.hasChildren)(e)?e.children:[]}function o(e){return e.parent||null}t.getChildren=i,t.getParent=o,t.getSiblings=function(e){var t=o(e);if(null!=t)return i(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}},9529:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var i=Object.getOwnPropertyDescriptor(t,n);i&&!("get"in i?!t.__esModule:i.writable||i.configurable)||(i={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,i)}:function(e,t,n,r){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}),o=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 i(t,e),t},a=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.decodeXML=t.decodeHTMLStrict=t.decodeHTMLAttribute=t.decodeHTML=t.determineBranch=t.EntityDecoder=t.DecodingMode=t.BinTrieFlags=t.fromCodePoint=t.replaceCodePoint=t.decodeCodePoint=t.xmlDecodeTree=t.htmlDecodeTree=void 0;var s=a(n(6416));t.htmlDecodeTree=s.default;var l=a(n(9318));t.xmlDecodeTree=l.default;var c=o(n(8787));t.decodeCodePoint=c.default;var u,d,f,h,p=n(8787);function m(e){return e>=u.ZERO&&e<=u.NINE}Object.defineProperty(t,"replaceCodePoint",{enumerable:!0,get:function(){return p.replaceCodePoint}}),Object.defineProperty(t,"fromCodePoint",{enumerable:!0,get:function(){return p.fromCodePoint}}),function(e){e[e.NUM=35]="NUM",e[e.SEMI=59]="SEMI",e[e.EQUALS=61]="EQUALS",e[e.ZERO=48]="ZERO",e[e.NINE=57]="NINE",e[e.LOWER_A=97]="LOWER_A",e[e.LOWER_F=102]="LOWER_F",e[e.LOWER_X=120]="LOWER_X",e[e.LOWER_Z=122]="LOWER_Z",e[e.UPPER_A=65]="UPPER_A",e[e.UPPER_F=70]="UPPER_F",e[e.UPPER_Z=90]="UPPER_Z"}(u||(u={})),function(e){e[e.VALUE_LENGTH=49152]="VALUE_LENGTH",e[e.BRANCH_LENGTH=16256]="BRANCH_LENGTH",e[e.JUMP_TABLE=127]="JUMP_TABLE"}(d=t.BinTrieFlags||(t.BinTrieFlags={})),function(e){e[e.EntityStart=0]="EntityStart",e[e.NumericStart=1]="NumericStart",e[e.NumericDecimal=2]="NumericDecimal",e[e.NumericHex=3]="NumericHex",e[e.NamedEntity=4]="NamedEntity"}(f||(f={})),function(e){e[e.Legacy=0]="Legacy",e[e.Strict=1]="Strict",e[e.Attribute=2]="Attribute"}(h=t.DecodingMode||(t.DecodingMode={}));var g=function(){function e(e,t,n){this.decodeTree=e,this.emitCodePoint=t,this.errors=n,this.state=f.EntityStart,this.consumed=1,this.result=0,this.treeIndex=0,this.excess=1,this.decodeMode=h.Strict}return e.prototype.startEntity=function(e){this.decodeMode=e,this.state=f.EntityStart,this.result=0,this.treeIndex=0,this.excess=1,this.consumed=1},e.prototype.write=function(e,t){switch(this.state){case f.EntityStart:return e.charCodeAt(t)===u.NUM?(this.state=f.NumericStart,this.consumed+=1,this.stateNumericStart(e,t+1)):(this.state=f.NamedEntity,this.stateNamedEntity(e,t));case f.NumericStart:return this.stateNumericStart(e,t);case f.NumericDecimal:return this.stateNumericDecimal(e,t);case f.NumericHex:return this.stateNumericHex(e,t);case f.NamedEntity:return this.stateNamedEntity(e,t)}},e.prototype.stateNumericStart=function(e,t){return t>=e.length?-1:(32|e.charCodeAt(t))===u.LOWER_X?(this.state=f.NumericHex,this.consumed+=1,this.stateNumericHex(e,t+1)):(this.state=f.NumericDecimal,this.stateNumericDecimal(e,t))},e.prototype.addToNumericResult=function(e,t,n,r){if(t!==n){var i=n-t;this.result=this.result*Math.pow(r,i)+parseInt(e.substr(t,i),r),this.consumed+=i}},e.prototype.stateNumericHex=function(e,t){for(var n,r=t;t<e.length;){var i=e.charCodeAt(t);if(!(m(i)||(n=i,n>=u.UPPER_A&&n<=u.UPPER_F||n>=u.LOWER_A&&n<=u.LOWER_F)))return this.addToNumericResult(e,r,t,16),this.emitNumericEntity(i,3);t+=1}return this.addToNumericResult(e,r,t,16),-1},e.prototype.stateNumericDecimal=function(e,t){for(var n=t;t<e.length;){var r=e.charCodeAt(t);if(!m(r))return this.addToNumericResult(e,n,t,10),this.emitNumericEntity(r,2);t+=1}return this.addToNumericResult(e,n,t,10),-1},e.prototype.emitNumericEntity=function(e,t){var n;if(this.consumed<=t)return null===(n=this.errors)||void 0===n||n.absenceOfDigitsInNumericCharacterReference(this.consumed),0;if(e===u.SEMI)this.consumed+=1;else if(this.decodeMode===h.Strict)return 0;return this.emitCodePoint((0,c.replaceCodePoint)(this.result),this.consumed),this.errors&&(e!==u.SEMI&&this.errors.missingSemicolonAfterCharacterReference(),this.errors.validateNumericCharacterReference(this.result)),this.consumed},e.prototype.stateNamedEntity=function(e,t){for(var n=this.decodeTree,r=n[this.treeIndex],i=(r&d.VALUE_LENGTH)>>14;t<e.length;t++,this.excess++){var o=e.charCodeAt(t);if(this.treeIndex=v(n,r,this.treeIndex+Math.max(1,i),o),this.treeIndex<0)return 0===this.result||this.decodeMode===h.Attribute&&(0===i||((a=o)===u.EQUALS||function(e){return e>=u.UPPER_A&&e<=u.UPPER_Z||e>=u.LOWER_A&&e<=u.LOWER_Z||m(e)}(a)))?0:this.emitNotTerminatedNamedEntity();if(0!=(i=((r=n[this.treeIndex])&d.VALUE_LENGTH)>>14)){if(o===u.SEMI)return this.emitNamedEntityData(this.treeIndex,i,this.consumed+this.excess);this.decodeMode!==h.Strict&&(this.result=this.treeIndex,this.consumed+=this.excess,this.excess=0)}}var a;return-1},e.prototype.emitNotTerminatedNamedEntity=function(){var e,t=this.result,n=(this.decodeTree[t]&d.VALUE_LENGTH)>>14;return this.emitNamedEntityData(t,n,this.consumed),null===(e=this.errors)||void 0===e||e.missingSemicolonAfterCharacterReference(),this.consumed},e.prototype.emitNamedEntityData=function(e,t,n){var r=this.decodeTree;return this.emitCodePoint(1===t?r[e]&~d.VALUE_LENGTH:r[e+1],n),3===t&&this.emitCodePoint(r[e+2],n),n},e.prototype.end=function(){var e;switch(this.state){case f.NamedEntity:return 0===this.result||this.decodeMode===h.Attribute&&this.result!==this.treeIndex?0:this.emitNotTerminatedNamedEntity();case f.NumericDecimal:return this.emitNumericEntity(0,2);case f.NumericHex:return this.emitNumericEntity(0,3);case f.NumericStart:return null===(e=this.errors)||void 0===e||e.absenceOfDigitsInNumericCharacterReference(this.consumed),0;case f.EntityStart:return 0}},e}();function b(e){var t="",n=new g(e,(function(e){return t+=(0,c.fromCodePoint)(e)}));return function(e,r){for(var i=0,o=0;(o=e.indexOf("&",o))>=0;){t+=e.slice(i,o),n.startEntity(r);var a=n.write(e,o+1);if(a<0){i=o+n.end();break}i=o+a,o=0===a?i+1:i}var s=t+e.slice(i);return t="",s}}function v(e,t,n,r){var i=(t&d.BRANCH_LENGTH)>>7,o=t&d.JUMP_TABLE;if(0===i)return 0!==o&&r===o?n:-1;if(o){var a=r-o;return a<0||a>=i?-1:e[n+a]-1}for(var s=n,l=s+i-1;s<=l;){var c=s+l>>>1,u=e[c];if(u<r)s=c+1;else{if(!(u>r))return e[c+i];l=c-1}}return-1}t.EntityDecoder=g,t.determineBranch=v;var y=b(s.default),E=b(l.default);t.decodeHTML=function(e,t){return void 0===t&&(t=h.Legacy),y(e,t)},t.decodeHTMLAttribute=function(e){return y(e,h.Attribute)},t.decodeHTMLStrict=function(e){return y(e,h.Strict)},t.decodeXML=function(e){return E(e,h.Strict)}},8787:(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 i(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=i,t.default=function(e){return(0,t.fromCodePoint)(i(e))}},6336: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 i=r(n(9491)),o=n(2476),a=/[\t\n!-,./:-@[-`\f{-}$\x80-\uFFFF]/g;function s(e,t){for(var n,r="",a=0;null!==(n=e.exec(t));){var s=n.index;r+=t.substring(a,s);var l=t.charCodeAt(s),c=i.default.get(l);if("object"==typeof c){if(s+1<t.length){var u=t.charCodeAt(s+1),d="number"==typeof c.n?c.n===u?c.o:void 0:c.n.get(u);if(void 0!==d){r+=d,a=e.lastIndex+=1;continue}}c=c.v}if(void 0!==c)r+=c,a=s+1;else{var f=(0,o.getCodePoint)(t,s);r+="&#x".concat(f.toString(16),";"),a=e.lastIndex+=Number(f!==l)}}return r+t.substr(a)}t.encodeHTML=function(e){return s(a,e)},t.encodeNonAsciiHTML=function(e){return s(o.xmlReplacer,e)}},2476:(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,i="",o=0;null!==(r=t.xmlReplacer.exec(e));){var a=r.index,s=e.charCodeAt(a),l=n.get(s);void 0!==l?(i+=e.substring(o,a)+l,o=a+1):(i+="".concat(e.substring(o,a),"&#x").concat((0,t.getCodePoint)(e,a).toString(16),";"),o=t.xmlReplacer.lastIndex+=Number(55296==(64512&s)))}return i+e.substr(o)}function i(e,t){return function(n){for(var r,i=0,o="";r=e.exec(n);)i!==r.index&&(o+=n.substring(i,r.index)),o+=t.get(r[0].charCodeAt(0)),i=r.index+1;return o+n.substring(i)}}t.getCodePoint=null!=String.prototype.codePointAt?function(e,t){return e.codePointAt(t)}:function(e,t){return 55296==(64512&e.charCodeAt(t))?1024*(e.charCodeAt(t)-55296)+e.charCodeAt(t+1)-56320+65536:e.charCodeAt(t)},t.encodeXML=r,t.escape=r,t.escapeUTF8=i(/[&<>'"]/g,n),t.escapeAttribute=i(/["&\u00A0]/g,new Map([[34,"&quot;"],[38,"&amp;"],[160,"&nbsp;"]])),t.escapeText=i(/[&<>\u00A0]/g,new Map([[38,"&amp;"],[60,"&lt;"],[62,"&gt;"],[160,"&nbsp;"]]))},6416:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=new Uint16Array('ᵁ<Õıʊҝջאٵ۞ޢߖࠏ੊ઑඡ๭༉༦჊ረዡᐕᒝᓃᓟᔥ\0\0\0\0\0\0ᕫᛍᦍᰒᷝ὾⁠↰⊍⏀⏻⑂⠤⤒ⴈ⹈⿎〖㊺㘹㞬㣾㨨㩱㫠㬮ࠀEMabcfglmnoprstu\\bfms„‹•˜¦³¹ÈÏlig耻Æ䃆P耻&䀦cute耻Á䃁reve;䄂Āiyx}rc耻Â䃂;䐐r;쀀𝔄rave耻À䃀pha;䎑acr;䄀d;橓Āgp¡on;䄄f;쀀𝔸plyFunction;恡ing耻Å䃅Ācs¾Ãr;쀀𝒜ign;扔ilde耻Ã䃃ml耻Ä䃄ЀaceforsuåûþėĜĢħĪĀcrêòkslash;或Ŷöø;櫧ed;挆y;䐑ƀcrtąċĔause;戵noullis;愬a;䎒r;쀀𝔅pf;쀀𝔹eve;䋘còēmpeq;扎܀HOacdefhilorsuōőŖƀƞƢƵƷƺǜȕɳɸɾcy;䐧PY耻©䂩ƀcpyŝŢźute;䄆Ā;iŧŨ拒talDifferentialD;慅leys;愭ȀaeioƉƎƔƘron;䄌dil耻Ç䃇rc;䄈nint;戰ot;䄊ĀdnƧƭilla;䂸terDot;䂷òſi;䎧rcleȀDMPTLJNjǑǖot;抙inus;抖lus;投imes;抗oĀcsǢǸkwiseContourIntegral;戲eCurlyĀDQȃȏoubleQuote;思uote;怙ȀlnpuȞȨɇɕonĀ;eȥȦ户;橴ƀgitȯȶȺruent;扡nt;戯ourIntegral;戮ĀfrɌɎ;愂oduct;成nterClockwiseContourIntegral;戳oss;樯cr;쀀𝒞pĀ;Cʄʅ拓ap;才րDJSZacefiosʠʬʰʴʸˋ˗ˡ˦̳ҍĀ;oŹʥtrahd;椑cy;䐂cy;䐅cy;䐏ƀgrsʿ˄ˇger;怡r;憡hv;櫤Āayː˕ron;䄎;䐔lĀ;t˝˞戇a;䎔r;쀀𝔇Āaf˫̧Ācm˰̢riticalȀADGT̖̜̀̆cute;䂴oŴ̋̍;䋙bleAcute;䋝rave;䁠ilde;䋜ond;拄ferentialD;慆Ѱ̽\0\0\0͔͂\0Ѕf;쀀𝔻ƀ;DE͈͉͍䂨ot;惜qual;扐blèCDLRUVͣͲ΂ϏϢϸontourIntegraìȹoɴ͹\0\0ͻ»͉nArrow;懓Āeo·ΤftƀARTΐΖΡrrow;懐ightArrow;懔eåˊngĀLRΫτeftĀARγιrrow;柸ightArrow;柺ightArrow;柹ightĀATϘϞrrow;懒ee;抨pɁϩ\0\0ϯrrow;懑ownArrow;懕erticalBar;戥ǹABLRTaВЪаўѿͼrrowƀ;BUНОТ憓ar;椓pArrow;懵reve;䌑eft˒к\0ц\0ѐightVector;楐eeVector;楞ectorĀ;Bљњ憽ar;楖ightǔѧ\0ѱeeVector;楟ectorĀ;BѺѻ懁ar;楗eeĀ;A҆҇护rrow;憧ĀctҒҗr;쀀𝒟rok;䄐ࠀNTacdfglmopqstuxҽӀӄӋӞӢӧӮӵԡԯԶՒ՝ՠեG;䅊H耻Ð䃐cute耻É䃉ƀaiyӒӗӜron;䄚rc耻Ê䃊;䐭ot;䄖r;쀀𝔈rave耻È䃈ement;戈ĀapӺӾcr;䄒tyɓԆ\0\0ԒmallSquare;旻erySmallSquare;斫ĀgpԦԪon;䄘f;쀀𝔼silon;䎕uĀaiԼՉlĀ;TՂՃ橵ilde;扂librium;懌Āci՗՚r;愰m;橳a;䎗ml耻Ë䃋Āipժկsts;戃onentialE;慇ʀcfiosօֈ֍ֲ׌y;䐤r;쀀𝔉lledɓ֗\0\0֣mallSquare;旼erySmallSquare;斪Ͱֺ\0ֿ\0\0ׄf;쀀𝔽All;戀riertrf;愱cò׋؀JTabcdfgorstר׬ׯ׺؀ؒؖ؛؝أ٬ٲcy;䐃耻>䀾mmaĀ;d׷׸䎓;䏜reve;䄞ƀeiy؇،ؐdil;䄢rc;䄜;䐓ot;䄠r;쀀𝔊;拙pf;쀀𝔾eater̀EFGLSTصلَٖٛ٦qualĀ;Lؾؿ扥ess;招ullEqual;执reater;檢ess;扷lantEqual;橾ilde;扳cr;쀀𝒢;扫ЀAacfiosuڅڋږڛڞڪھۊRDcy;䐪Āctڐڔek;䋇;䁞irc;䄤r;愌lbertSpace;愋ǰگ\0ڲf;愍izontalLine;攀Āctۃۅòکrok;䄦mpńېۘownHumðįqual;扏܀EJOacdfgmnostuۺ۾܃܇܎ܚܞܡܨ݄ݸދޏޕcy;䐕lig;䄲cy;䐁cute耻Í䃍Āiyܓܘrc耻Î䃎;䐘ot;䄰r;愑rave耻Ì䃌ƀ;apܠܯܿĀcgܴܷr;䄪inaryI;慈lieóϝǴ݉\0ݢĀ;eݍݎ戬Āgrݓݘral;戫section;拂isibleĀCTݬݲomma;恣imes;恢ƀgptݿރވon;䄮f;쀀𝕀a;䎙cr;愐ilde;䄨ǫޚ\0ޞcy;䐆l耻Ï䃏ʀcfosuެ޷޼߂ߐĀiyޱ޵rc;䄴;䐙r;쀀𝔍pf;쀀𝕁ǣ߇\0ߌr;쀀𝒥rcy;䐈kcy;䐄΀HJacfosߤߨ߽߬߱ࠂࠈcy;䐥cy;䐌ppa;䎚Āey߶߻dil;䄶;䐚r;쀀𝔎pf;쀀𝕂cr;쀀𝒦րJTaceflmostࠥࠩࠬࡐࡣ঳সে্਷ੇcy;䐉耻<䀼ʀcmnpr࠷࠼ࡁࡄࡍute;䄹bda;䎛g;柪lacetrf;愒r;憞ƀaeyࡗ࡜ࡡron;䄽dil;䄻;䐛Āfsࡨ॰tԀACDFRTUVarࡾࢩࢱࣦ࣠ࣼयज़ΐ४Ānrࢃ࢏gleBracket;柨rowƀ;BR࢙࢚࢞憐ar;懤ightArrow;懆eiling;挈oǵࢷ\0ࣃbleBracket;柦nǔࣈ\0࣒eeVector;楡ectorĀ;Bࣛࣜ懃ar;楙loor;挊ightĀAV࣯ࣵrrow;憔ector;楎Āerँगeƀ;AVउऊऐ抣rrow;憤ector;楚iangleƀ;BEतथऩ抲ar;槏qual;抴pƀDTVषूौownVector;楑eeVector;楠ectorĀ;Bॖॗ憿ar;楘ectorĀ;B॥०憼ar;楒ightáΜs̀EFGLSTॾঋকঝঢভqualGreater;拚ullEqual;扦reater;扶ess;檡lantEqual;橽ilde;扲r;쀀𝔏Ā;eঽা拘ftarrow;懚idot;䄿ƀnpw৔ਖਛgȀLRlr৞৷ਂਐeftĀAR০৬rrow;柵ightArrow;柷ightArrow;柶eftĀarγਊightáοightáϊf;쀀𝕃erĀLRਢਬeftArrow;憙ightArrow;憘ƀchtਾੀੂòࡌ;憰rok;䅁;扪Ѐacefiosuਗ਼੝੠੷੼અઋ઎p;椅y;䐜Ādl੥੯iumSpace;恟lintrf;愳r;쀀𝔐nusPlus;戓pf;쀀𝕄cò੶;䎜ҀJacefostuણધભીଔଙඑ඗ඞcy;䐊cute;䅃ƀaey઴હાron;䅇dil;䅅;䐝ƀgswે૰଎ativeƀMTV૓૟૨ediumSpace;怋hiĀcn૦૘ë૙eryThiî૙tedĀGL૸ଆreaterGreateòٳessLesóੈLine;䀊r;쀀𝔑ȀBnptଢନଷ଺reak;恠BreakingSpace;䂠f;愕ڀ;CDEGHLNPRSTV୕ୖ୪୼஡௫ఄ౞಄ದ೘ൡඅ櫬Āou୛୤ngruent;扢pCap;扭oubleVerticalBar;戦ƀlqxஃஊ஛ement;戉ualĀ;Tஒஓ扠ilde;쀀≂̸ists;戄reater΀;EFGLSTஶஷ஽௉௓௘௥扯qual;扱ullEqual;쀀≧̸reater;쀀≫̸ess;批lantEqual;쀀⩾̸ilde;扵umpń௲௽ownHump;쀀≎̸qual;쀀≏̸eĀfsఊధtTriangleƀ;BEచఛడ拪ar;쀀⧏̸qual;括s̀;EGLSTవశ఼ౄోౘ扮qual;扰reater;扸ess;쀀≪̸lantEqual;쀀⩽̸ilde;扴estedĀGL౨౹reaterGreater;쀀⪢̸essLess;쀀⪡̸recedesƀ;ESಒಓಛ技qual;쀀⪯̸lantEqual;拠ĀeiಫಹverseElement;戌ghtTriangleƀ;BEೋೌ೒拫ar;쀀⧐̸qual;拭ĀquೝഌuareSuĀbp೨೹setĀ;E೰ೳ쀀⊏̸qual;拢ersetĀ;Eഃആ쀀⊐̸qual;拣ƀbcpഓതൎsetĀ;Eഛഞ쀀⊂⃒qual;抈ceedsȀ;ESTലള഻െ抁qual;쀀⪰̸lantEqual;拡ilde;쀀≿̸ersetĀ;E൘൛쀀⊃⃒qual;抉ildeȀ;EFT൮൯൵ൿ扁qual;扄ullEqual;扇ilde;扉erticalBar;戤cr;쀀𝒩ilde耻Ñ䃑;䎝܀Eacdfgmoprstuvලෂ෉෕ෛ෠෧෼ขภยา฿ไlig;䅒cute耻Ó䃓Āiy෎ීrc耻Ô䃔;䐞blac;䅐r;쀀𝔒rave耻Ò䃒ƀaei෮ෲ෶cr;䅌ga;䎩cron;䎟pf;쀀𝕆enCurlyĀDQฎบoubleQuote;怜uote;怘;橔Āclวฬr;쀀𝒪ash耻Ø䃘iŬื฼de耻Õ䃕es;樷ml耻Ö䃖erĀBP๋๠Āar๐๓r;怾acĀek๚๜;揞et;掴arenthesis;揜Ҁacfhilors๿ງຊຏຒດຝະ໼rtialD;戂y;䐟r;쀀𝔓i;䎦;䎠usMinus;䂱Āipຢອncareplanåڝf;愙Ȁ;eio຺ູ໠໤檻cedesȀ;EST່້໏໚扺qual;檯lantEqual;扼ilde;找me;怳Ādp໩໮uct;戏ortionĀ;aȥ໹l;戝Āci༁༆r;쀀𝒫;䎨ȀUfos༑༖༛༟OT耻"䀢r;쀀𝔔pf;愚cr;쀀𝒬؀BEacefhiorsu༾གྷཇའཱིྦྷྪྭ႖ႩႴႾarr;椐G耻®䂮ƀcnrཎནབute;䅔g;柫rĀ;tཛྷཝ憠l;椖ƀaeyཧཬཱron;䅘dil;䅖;䐠Ā;vླྀཹ愜erseĀEUྂྙĀlq྇ྎement;戋uilibrium;懋pEquilibrium;楯r»ཹo;䎡ghtЀACDFTUVa࿁࿫࿳ဢဨၛႇϘĀnr࿆࿒gleBracket;柩rowƀ;BL࿜࿝࿡憒ar;懥eftArrow;懄eiling;按oǵ࿹\0စbleBracket;柧nǔည\0နeeVector;楝ectorĀ;Bဝသ懂ar;楕loor;挋Āerိ၃eƀ;AVဵံြ抢rrow;憦ector;楛iangleƀ;BEၐၑၕ抳ar;槐qual;抵pƀDTVၣၮၸownVector;楏eeVector;楜ectorĀ;Bႂႃ憾ar;楔ectorĀ;B႑႒懀ar;楓Āpuႛ႞f;愝ndImplies;楰ightarrow;懛ĀchႹႼr;愛;憱leDelayed;槴ڀHOacfhimoqstuფჱჷჽᄙᄞᅑᅖᅡᅧᆵᆻᆿĀCcჩხHcy;䐩y;䐨FTcy;䐬cute;䅚ʀ;aeiyᄈᄉᄎᄓᄗ檼ron;䅠dil;䅞rc;䅜;䐡r;쀀𝔖ortȀDLRUᄪᄴᄾᅉownArrow»ОeftArrow»࢚ightArrow»࿝pArrow;憑gma;䎣allCircle;战pf;쀀𝕊ɲᅭ\0\0ᅰt;戚areȀ;ISUᅻᅼᆉᆯ斡ntersection;抓uĀbpᆏᆞsetĀ;Eᆗᆘ抏qual;抑ersetĀ;Eᆨᆩ抐qual;抒nion;抔cr;쀀𝒮ar;拆ȀbcmpᇈᇛሉላĀ;sᇍᇎ拐etĀ;Eᇍᇕqual;抆ĀchᇠህeedsȀ;ESTᇭᇮᇴᇿ扻qual;檰lantEqual;扽ilde;承Tháྌ;我ƀ;esሒሓሣ拑rsetĀ;Eሜም抃qual;抇et»ሓրHRSacfhiorsሾቄ቉ቕ቞ቱቶኟዂወዑORN耻Þ䃞ADE;愢ĀHc቎ቒcy;䐋y;䐦Ābuቚቜ;䀉;䎤ƀaeyብቪቯron;䅤dil;䅢;䐢r;쀀𝔗Āeiቻ኉Dzኀ\0ኇefore;戴a;䎘Ācn኎ኘkSpace;쀀  Space;怉ldeȀ;EFTካኬኲኼ戼qual;扃ullEqual;扅ilde;扈pf;쀀𝕋ipleDot;惛Āctዖዛr;쀀𝒯rok;䅦ૡዷጎጚጦ\0ጬጱ\0\0\0\0\0ጸጽ፷ᎅ\0᏿ᐄᐊᐐĀcrዻጁute耻Ú䃚rĀ;oጇገ憟cir;楉rǣጓ\0጖y;䐎ve;䅬Āiyጞጣrc耻Û䃛;䐣blac;䅰r;쀀𝔘rave耻Ù䃙acr;䅪Ādiፁ፩erĀBPፈ፝Āarፍፐr;䁟acĀekፗፙ;揟et;掵arenthesis;揝onĀ;P፰፱拃lus;抎Āgp፻፿on;䅲f;쀀𝕌ЀADETadps᎕ᎮᎸᏄϨᏒᏗᏳrrowƀ;BDᅐᎠᎤar;椒ownArrow;懅ownArrow;憕quilibrium;楮eeĀ;AᏋᏌ报rrow;憥ownáϳerĀLRᏞᏨeftArrow;憖ightArrow;憗iĀ;lᏹᏺ䏒on;䎥ing;䅮cr;쀀𝒰ilde;䅨ml耻Ü䃜ҀDbcdefosvᐧᐬᐰᐳᐾᒅᒊᒐᒖash;披ar;櫫y;䐒ashĀ;lᐻᐼ抩;櫦Āerᑃᑅ;拁ƀbtyᑌᑐᑺar;怖Ā;iᑏᑕcalȀBLSTᑡᑥᑪᑴar;戣ine;䁼eparator;杘ilde;所ThinSpace;怊r;쀀𝔙pf;쀀𝕍cr;쀀𝒱dash;抪ʀcefosᒧᒬᒱᒶᒼirc;䅴dge;拀r;쀀𝔚pf;쀀𝕎cr;쀀𝒲Ȁfiosᓋᓐᓒᓘr;쀀𝔛;䎞pf;쀀𝕏cr;쀀𝒳ҀAIUacfosuᓱᓵᓹᓽᔄᔏᔔᔚᔠcy;䐯cy;䐇cy;䐮cute耻Ý䃝Āiyᔉᔍrc;䅶;䐫r;쀀𝔜pf;쀀𝕐cr;쀀𝒴ml;䅸ЀHacdefosᔵᔹᔿᕋᕏᕝᕠᕤcy;䐖cute;䅹Āayᕄᕉron;䅽;䐗ot;䅻Dzᕔ\0ᕛoWidtè૙a;䎖r;愨pf;愤cr;쀀𝒵௡ᖃᖊᖐ\0ᖰᖶᖿ\0\0\0\0ᗆᗛᗫᙟ᙭\0ᚕ᚛ᚲᚹ\0ᚾcute耻á䃡reve;䄃̀;Ediuyᖜᖝᖡᖣᖨᖭ戾;쀀∾̳;房rc耻â䃢te肻´̆;䐰lig耻æ䃦Ā;r²ᖺ;쀀𝔞rave耻à䃠ĀepᗊᗖĀfpᗏᗔsym;愵èᗓha;䎱ĀapᗟcĀclᗤᗧr;䄁g;樿ɤᗰ\0\0ᘊʀ;adsvᗺᗻᗿᘁᘇ戧nd;橕;橜lope;橘;橚΀;elmrszᘘᘙᘛᘞᘿᙏᙙ戠;榤e»ᘙsdĀ;aᘥᘦ戡ѡᘰᘲᘴᘶᘸᘺᘼᘾ;榨;榩;榪;榫;榬;榭;榮;榯tĀ;vᙅᙆ戟bĀ;dᙌᙍ抾;榝Āptᙔᙗh;戢»¹arr;捼Āgpᙣᙧon;䄅f;쀀𝕒΀;Eaeiop዁ᙻᙽᚂᚄᚇᚊ;橰cir;橯;扊d;手s;䀧roxĀ;e዁ᚒñᚃing耻å䃥ƀctyᚡᚦᚨr;쀀𝒶;䀪mpĀ;e዁ᚯñʈilde耻ã䃣ml耻ä䃤Āciᛂᛈoninôɲnt;樑ࠀNabcdefiklnoprsu᛭ᛱᜰ᜼ᝃᝈ᝸᝽០៦ᠹᡐᜍ᤽᥈ᥰot;櫭Ācrᛶ᜞kȀcepsᜀᜅᜍᜓong;扌psilon;䏶rime;怵imĀ;e᜚᜛戽q;拍Ŷᜢᜦee;抽edĀ;gᜬᜭ挅e»ᜭrkĀ;t፜᜷brk;掶Āoyᜁᝁ;䐱quo;怞ʀcmprtᝓ᝛ᝡᝤᝨausĀ;eĊĉptyv;榰séᜌnoõēƀahwᝯ᝱ᝳ;䎲;愶een;扬r;쀀𝔟g΀costuvwឍឝឳេ៕៛៞ƀaiuបពរðݠrc;旯p»፱ƀdptឤឨឭot;樀lus;樁imes;樂ɱឹ\0\0ើcup;樆ar;昅riangleĀdu៍្own;施p;斳plus;樄eåᑄåᒭarow;植ƀako៭ᠦᠵĀcn៲ᠣkƀlst៺֫᠂ozenge;槫riangleȀ;dlr᠒᠓᠘᠝斴own;斾eft;旂ight;斸k;搣Ʊᠫ\0ᠳƲᠯ\0ᠱ;斒;斑4;斓ck;斈ĀeoᠾᡍĀ;qᡃᡆ쀀=⃥uiv;쀀≡⃥t;挐Ȁptwxᡙᡞᡧᡬf;쀀𝕓Ā;tᏋᡣom»Ꮜtie;拈؀DHUVbdhmptuvᢅᢖᢪᢻᣗᣛᣬ᣿ᤅᤊᤐᤡȀLRlrᢎᢐᢒᢔ;敗;敔;敖;敓ʀ;DUduᢡᢢᢤᢦᢨ敐;敦;敩;敤;敧ȀLRlrᢳᢵᢷᢹ;敝;敚;敜;教΀;HLRhlrᣊᣋᣍᣏᣑᣓᣕ救;敬;散;敠;敫;敢;敟ox;槉ȀLRlrᣤᣦᣨᣪ;敕;敒;攐;攌ʀ;DUduڽ᣷᣹᣻᣽;敥;敨;攬;攴inus;抟lus;択imes;抠ȀLRlrᤙᤛᤝ᤟;敛;敘;攘;攔΀;HLRhlrᤰᤱᤳᤵᤷ᤻᤹攂;敪;敡;敞;攼;攤;攜Āevģ᥂bar耻¦䂦Ȁceioᥑᥖᥚᥠr;쀀𝒷mi;恏mĀ;e᜚᜜lƀ;bhᥨᥩᥫ䁜;槅sub;柈Ŭᥴ᥾lĀ;e᥹᥺怢t»᥺pƀ;Eeįᦅᦇ;檮Ā;qۜۛೡᦧ\0᧨ᨑᨕᨲ\0ᨷᩐ\0\0᪴\0\0᫁\0\0ᬡᬮ᭍᭒\0᯽\0ᰌƀcpr᦭ᦲ᧝ute;䄇̀;abcdsᦿᧀᧄ᧊᧕᧙戩nd;橄rcup;橉Āau᧏᧒p;橋p;橇ot;橀;쀀∩︀Āeo᧢᧥t;恁îړȀaeiu᧰᧻ᨁᨅǰ᧵\0᧸s;橍on;䄍dil耻ç䃧rc;䄉psĀ;sᨌᨍ橌m;橐ot;䄋ƀdmnᨛᨠᨦil肻¸ƭptyv;榲t脀¢;eᨭᨮ䂢räƲr;쀀𝔠ƀceiᨽᩀᩍy;䑇ckĀ;mᩇᩈ朓ark»ᩈ;䏇r΀;Ecefms᩟᩠ᩢᩫ᪤᪪᪮旋;槃ƀ;elᩩᩪᩭ䋆q;扗eɡᩴ\0\0᪈rrowĀlr᩼᪁eft;憺ight;憻ʀRSacd᪒᪔᪖᪚᪟»ཇ;擈st;抛irc;抚ash;抝nint;樐id;櫯cir;槂ubsĀ;u᪻᪼晣it»᪼ˬ᫇᫔᫺\0ᬊonĀ;eᫍᫎ䀺Ā;qÇÆɭ᫙\0\0᫢aĀ;t᫞᫟䀬;䁀ƀ;fl᫨᫩᫫戁îᅠeĀmx᫱᫶ent»᫩eóɍǧ᫾\0ᬇĀ;dኻᬂot;橭nôɆƀfryᬐᬔᬗ;쀀𝕔oäɔ脀©;sŕᬝr;愗Āaoᬥᬩrr;憵ss;朗Ācuᬲᬷr;쀀𝒸Ābpᬼ᭄Ā;eᭁᭂ櫏;櫑Ā;eᭉᭊ櫐;櫒dot;拯΀delprvw᭠᭬᭷ᮂᮬᯔ᯹arrĀlr᭨᭪;椸;椵ɰ᭲\0\0᭵r;拞c;拟arrĀ;p᭿ᮀ憶;椽̀;bcdosᮏᮐᮖᮡᮥᮨ截rcap;橈Āauᮛᮞp;橆p;橊ot;抍r;橅;쀀∪︀Ȁalrv᮵ᮿᯞᯣrrĀ;mᮼᮽ憷;椼yƀevwᯇᯔᯘqɰᯎ\0\0ᯒreã᭳uã᭵ee;拎edge;拏en耻¤䂤earrowĀlrᯮ᯳eft»ᮀight»ᮽeäᯝĀciᰁᰇoninôǷnt;戱lcty;挭ঀAHabcdefhijlorstuwz᰸᰻᰿ᱝᱩᱵᲊᲞᲬᲷ᳻᳿ᴍᵻᶑᶫᶻ᷆᷍rò΁ar;楥Ȁglrs᱈ᱍ᱒᱔ger;怠eth;愸òᄳhĀ;vᱚᱛ怐»ऊūᱡᱧarow;椏aã̕Āayᱮᱳron;䄏;䐴ƀ;ao̲ᱼᲄĀgrʿᲁr;懊tseq;橷ƀglmᲑᲔᲘ耻°䂰ta;䎴ptyv;榱ĀirᲣᲨsht;楿;쀀𝔡arĀlrᲳᲵ»ࣜ»သʀaegsv᳂͸᳖᳜᳠mƀ;oș᳊᳔ndĀ;ș᳑uit;晦amma;䏝in;拲ƀ;io᳧᳨᳸䃷de脀÷;o᳧ᳰntimes;拇nø᳷cy;䑒cɯᴆ\0\0ᴊrn;挞op;挍ʀlptuwᴘᴝᴢᵉᵕlar;䀤f;쀀𝕕ʀ;emps̋ᴭᴷᴽᵂqĀ;d͒ᴳot;扑inus;戸lus;戔quare;抡blebarwedgåúnƀadhᄮᵝᵧownarrowóᲃarpoonĀlrᵲᵶefôᲴighôᲶŢᵿᶅkaro÷གɯᶊ\0\0ᶎrn;挟op;挌ƀcotᶘᶣᶦĀryᶝᶡ;쀀𝒹;䑕l;槶rok;䄑Ādrᶰᶴot;拱iĀ;fᶺ᠖斿Āah᷀᷃ròЩaòྦangle;榦Āci᷒ᷕy;䑟grarr;柿ऀDacdefglmnopqrstuxḁḉḙḸոḼṉṡṾấắẽỡἪἷὄ὎὚ĀDoḆᴴoôᲉĀcsḎḔute耻é䃩ter;橮ȀaioyḢḧḱḶron;䄛rĀ;cḭḮ扖耻ê䃪lon;払;䑍ot;䄗ĀDrṁṅot;扒;쀀𝔢ƀ;rsṐṑṗ檚ave耻è䃨Ā;dṜṝ檖ot;檘Ȁ;ilsṪṫṲṴ檙nters;揧;愓Ā;dṹṺ檕ot;檗ƀapsẅẉẗcr;䄓tyƀ;svẒẓẕ戅et»ẓpĀ1;ẝẤijạả;怄;怅怃ĀgsẪẬ;䅋p;怂ĀgpẴẸon;䄙f;쀀𝕖ƀalsỄỎỒrĀ;sỊị拕l;槣us;橱iƀ;lvỚớở䎵on»ớ;䏵ȀcsuvỪỳἋἣĀioữḱrc»Ḯɩỹ\0\0ỻíՈantĀglἂἆtr»ṝess»Ṻƀaeiἒ἖Ἒls;䀽st;扟vĀ;DȵἠD;橸parsl;槥ĀDaἯἳot;打rr;楱ƀcdiἾὁỸr;愯oô͒ĀahὉὋ;䎷耻ð䃰Āmrὓὗl耻ë䃫o;悬ƀcipὡὤὧl;䀡sôծĀeoὬὴctatioîՙnentialåչৡᾒ\0ᾞ\0ᾡᾧ\0\0ῆῌ\0ΐ\0ῦῪ \0 ⁚llingdotseñṄy;䑄male;晀ƀilrᾭᾳ῁lig;耀ffiɩᾹ\0\0᾽g;耀ffig;耀ffl;쀀𝔣lig;耀filig;쀀fjƀaltῙ῜ῡt;晭ig;耀flns;斱of;䆒ǰ΅\0ῳf;쀀𝕗ĀakֿῷĀ;vῼ´拔;櫙artint;樍Āao‌⁕Ācs‑⁒ႉ‸⁅⁈\0⁐β•‥‧‪‬\0‮耻½䂽;慓耻¼䂼;慕;慙;慛Ƴ‴\0‶;慔;慖ʴ‾⁁\0\0⁃耻¾䂾;慗;慜5;慘ƶ⁌\0⁎;慚;慝8;慞l;恄wn;挢cr;쀀𝒻ࢀEabcdefgijlnorstv₂₉₟₥₰₴⃰⃵⃺⃿℃ℒℸ̗ℾ⅒↞Ā;lٍ₇;檌ƀcmpₐₕ₝ute;䇵maĀ;dₜ᳚䎳;檆reve;䄟Āiy₪₮rc;䄝;䐳ot;䄡Ȁ;lqsؾق₽⃉ƀ;qsؾٌ⃄lanô٥Ȁ;cdl٥⃒⃥⃕c;檩otĀ;o⃜⃝檀Ā;l⃢⃣檂;檄Ā;e⃪⃭쀀⋛︀s;檔r;쀀𝔤Ā;gٳ؛mel;愷cy;䑓Ȁ;Eajٚℌℎℐ;檒;檥;檤ȀEaesℛℝ℩ℴ;扩pĀ;p℣ℤ檊rox»ℤĀ;q℮ℯ檈Ā;q℮ℛim;拧pf;쀀𝕘Āci⅃ⅆr;愊mƀ;el٫ⅎ⅐;檎;檐茀>;cdlqr׮ⅠⅪⅮⅳⅹĀciⅥⅧ;檧r;橺ot;拗Par;榕uest;橼ʀadelsↄⅪ←ٖ↛ǰ↉\0↎proø₞r;楸qĀlqؿ↖lesó₈ií٫Āen↣↭rtneqq;쀀≩︀Å↪ԀAabcefkosy⇄⇇⇱⇵⇺∘∝∯≨≽ròΠȀilmr⇐⇔⇗⇛rsðᒄf»․ilôکĀdr⇠⇤cy;䑊ƀ;cwࣴ⇫⇯ir;楈;憭ar;意irc;䄥ƀalr∁∎∓rtsĀ;u∉∊晥it»∊lip;怦con;抹r;쀀𝔥sĀew∣∩arow;椥arow;椦ʀamopr∺∾≃≞≣rr;懿tht;戻kĀlr≉≓eftarrow;憩ightarrow;憪f;쀀𝕙bar;怕ƀclt≯≴≸r;쀀𝒽asè⇴rok;䄧Ābp⊂⊇ull;恃hen»ᱛૡ⊣\0⊪\0⊸⋅⋎\0⋕⋳\0\0⋸⌢⍧⍢⍿\0⎆⎪⎴cute耻í䃭ƀ;iyݱ⊰⊵rc耻î䃮;䐸Ācx⊼⊿y;䐵cl耻¡䂡ĀfrΟ⋉;쀀𝔦rave耻ì䃬Ȁ;inoܾ⋝⋩⋮Āin⋢⋦nt;樌t;戭fin;槜ta;愩lig;䄳ƀaop⋾⌚⌝ƀcgt⌅⌈⌗r;䄫ƀelpܟ⌏⌓inåގarôܠh;䄱f;抷ed;䆵ʀ;cfotӴ⌬⌱⌽⍁are;愅inĀ;t⌸⌹戞ie;槝doô⌙ʀ;celpݗ⍌⍐⍛⍡al;抺Āgr⍕⍙eróᕣã⍍arhk;樗rod;樼Ȁcgpt⍯⍲⍶⍻y;䑑on;䄯f;쀀𝕚a;䎹uest耻¿䂿Āci⎊⎏r;쀀𝒾nʀ;EdsvӴ⎛⎝⎡ӳ;拹ot;拵Ā;v⎦⎧拴;拳Ā;iݷ⎮lde;䄩ǫ⎸\0⎼cy;䑖l耻ï䃯̀cfmosu⏌⏗⏜⏡⏧⏵Āiy⏑⏕rc;䄵;䐹r;쀀𝔧ath;䈷pf;쀀𝕛ǣ⏬\0⏱r;쀀𝒿rcy;䑘kcy;䑔Ѐacfghjos␋␖␢␧␭␱␵␻ppaĀ;v␓␔䎺;䏰Āey␛␠dil;䄷;䐺r;쀀𝔨reen;䄸cy;䑅cy;䑜pf;쀀𝕜cr;쀀𝓀஀ABEHabcdefghjlmnoprstuv⑰⒁⒆⒍⒑┎┽╚▀♎♞♥♹♽⚚⚲⛘❝❨➋⟀⠁⠒ƀart⑷⑺⑼rò৆òΕail;椛arr;椎Ā;gঔ⒋;檋ar;楢ॣ⒥\0⒪\0⒱\0\0\0\0\0⒵Ⓔ\0ⓆⓈⓍ\0⓹ute;䄺mptyv;榴raîࡌbda;䎻gƀ;dlࢎⓁⓃ;榑åࢎ;檅uo耻«䂫rЀ;bfhlpst࢙ⓞⓦⓩ⓫⓮⓱⓵Ā;f࢝ⓣs;椟s;椝ë≒p;憫l;椹im;楳l;憢ƀ;ae⓿─┄檫il;椙Ā;s┉┊檭;쀀⪭︀ƀabr┕┙┝rr;椌rk;杲Āak┢┬cĀek┨┪;䁻;䁛Āes┱┳;榋lĀdu┹┻;榏;榍Ȁaeuy╆╋╖╘ron;䄾Ādi═╔il;䄼ìࢰâ┩;䐻Ȁcqrs╣╦╭╽a;椶uoĀ;rนᝆĀdu╲╷har;楧shar;楋h;憲ʀ;fgqs▋▌উ◳◿扤tʀahlrt▘▤▷◂◨rrowĀ;t࢙□aé⓶arpoonĀdu▯▴own»њp»०eftarrows;懇ightƀahs◍◖◞rrowĀ;sࣴࢧarpoonó྘quigarro÷⇰hreetimes;拋ƀ;qs▋ও◺lanôবʀ;cdgsব☊☍☝☨c;檨otĀ;o☔☕橿Ā;r☚☛檁;檃Ā;e☢☥쀀⋚︀s;檓ʀadegs☳☹☽♉♋pproøⓆot;拖qĀgq♃♅ôউgtò⒌ôছiíলƀilr♕࣡♚sht;楼;쀀𝔩Ā;Eজ♣;檑š♩♶rĀdu▲♮Ā;l॥♳;楪lk;斄cy;䑙ʀ;achtੈ⚈⚋⚑⚖rò◁orneòᴈard;楫ri;旺Āio⚟⚤dot;䅀ustĀ;a⚬⚭掰che»⚭ȀEaes⚻⚽⛉⛔;扨pĀ;p⛃⛄檉rox»⛄Ā;q⛎⛏檇Ā;q⛎⚻im;拦Ѐabnoptwz⛩⛴⛷✚✯❁❇❐Ānr⛮⛱g;柬r;懽rëࣁgƀlmr⛿✍✔eftĀar০✇ightá৲apsto;柼ightá৽parrowĀlr✥✩efô⓭ight;憬ƀafl✶✹✽r;榅;쀀𝕝us;樭imes;樴š❋❏st;戗áፎƀ;ef❗❘᠀旊nge»❘arĀ;l❤❥䀨t;榓ʀachmt❳❶❼➅➇ròࢨorneòᶌarĀ;d྘➃;業;怎ri;抿̀achiqt➘➝ੀ➢➮➻quo;怹r;쀀𝓁mƀ;egল➪➬;檍;檏Ābu┪➳oĀ;rฟ➹;怚rok;䅂萀<;cdhilqrࠫ⟒☹⟜⟠⟥⟪⟰Āci⟗⟙;檦r;橹reå◲mes;拉arr;楶uest;橻ĀPi⟵⟹ar;榖ƀ;ef⠀भ᠛旃rĀdu⠇⠍shar;楊har;楦Āen⠗⠡rtneqq;쀀≨︀Å⠞܀Dacdefhilnopsu⡀⡅⢂⢎⢓⢠⢥⢨⣚⣢⣤ઃ⣳⤂Dot;戺Ȁclpr⡎⡒⡣⡽r耻¯䂯Āet⡗⡙;時Ā;e⡞⡟朠se»⡟Ā;sျ⡨toȀ;dluျ⡳⡷⡻owîҌefôएðᏑker;斮Āoy⢇⢌mma;権;䐼ash;怔asuredangle»ᘦr;쀀𝔪o;愧ƀcdn⢯⢴⣉ro耻µ䂵Ȁ;acdᑤ⢽⣀⣄sôᚧir;櫰ot肻·Ƶusƀ;bd⣒ᤃ⣓戒Ā;uᴼ⣘;横ţ⣞⣡p;櫛ò−ðઁĀdp⣩⣮els;抧f;쀀𝕞Āct⣸⣽r;쀀𝓂pos»ᖝƀ;lm⤉⤊⤍䎼timap;抸ఀGLRVabcdefghijlmoprstuvw⥂⥓⥾⦉⦘⧚⧩⨕⨚⩘⩝⪃⪕⪤⪨⬄⬇⭄⭿⮮ⰴⱧⱼ⳩Āgt⥇⥋;쀀⋙̸Ā;v⥐௏쀀≫⃒ƀelt⥚⥲⥶ftĀar⥡⥧rrow;懍ightarrow;懎;쀀⋘̸Ā;v⥻ే쀀≪⃒ightarrow;懏ĀDd⦎⦓ash;抯ash;抮ʀbcnpt⦣⦧⦬⦱⧌la»˞ute;䅄g;쀀∠⃒ʀ;Eiop඄⦼⧀⧅⧈;쀀⩰̸d;쀀≋̸s;䅉roø඄urĀ;a⧓⧔普lĀ;s⧓ସdz⧟\0⧣p肻 ଷmpĀ;e௹ఀʀaeouy⧴⧾⨃⨐⨓ǰ⧹\0⧻;橃on;䅈dil;䅆ngĀ;dൾ⨊ot;쀀⩭̸p;橂;䐽ash;怓΀;Aadqsxஒ⨩⨭⨻⩁⩅⩐rr;懗rĀhr⨳⨶k;椤Ā;oᏲᏰot;쀀≐̸uiöୣĀei⩊⩎ar;椨í஘istĀ;s஠டr;쀀𝔫ȀEest௅⩦⩹⩼ƀ;qs஼⩭௡ƀ;qs஼௅⩴lanô௢ií௪Ā;rஶ⪁»ஷƀAap⪊⪍⪑rò⥱rr;憮ar;櫲ƀ;svྍ⪜ྌĀ;d⪡⪢拼;拺cy;䑚΀AEadest⪷⪺⪾⫂⫅⫶⫹rò⥦;쀀≦̸rr;憚r;急Ȁ;fqs఻⫎⫣⫯tĀar⫔⫙rro÷⫁ightarro÷⪐ƀ;qs఻⪺⫪lanôౕĀ;sౕ⫴»శiíౝĀ;rవ⫾iĀ;eచథiäඐĀpt⬌⬑f;쀀𝕟膀¬;in⬙⬚⬶䂬nȀ;Edvஉ⬤⬨⬮;쀀⋹̸ot;쀀⋵̸ǡஉ⬳⬵;拷;拶iĀ;vಸ⬼ǡಸ⭁⭃;拾;拽ƀaor⭋⭣⭩rȀ;ast୻⭕⭚⭟lleì୻l;쀀⫽⃥;쀀∂̸lint;樔ƀ;ceಒ⭰⭳uåಥĀ;cಘ⭸Ā;eಒ⭽ñಘȀAait⮈⮋⮝⮧rò⦈rrƀ;cw⮔⮕⮙憛;쀀⤳̸;쀀↝̸ghtarrow»⮕riĀ;eೋೖ΀chimpqu⮽⯍⯙⬄୸⯤⯯Ȁ;cerല⯆ഷ⯉uå൅;쀀𝓃ortɭ⬅\0\0⯖ará⭖mĀ;e൮⯟Ā;q൴൳suĀbp⯫⯭å೸åഋƀbcp⯶ⰑⰙȀ;Ees⯿ⰀഢⰄ抄;쀀⫅̸etĀ;eഛⰋqĀ;qണⰀcĀ;eലⰗñസȀ;EesⰢⰣൟⰧ抅;쀀⫆̸etĀ;e൘ⰮqĀ;qൠⰣȀgilrⰽⰿⱅⱇìௗlde耻ñ䃱çృiangleĀlrⱒⱜeftĀ;eచⱚñదightĀ;eೋⱥñ೗Ā;mⱬⱭ䎽ƀ;esⱴⱵⱹ䀣ro;愖p;怇ҀDHadgilrsⲏⲔⲙⲞⲣⲰⲶⳓⳣash;抭arr;椄p;쀀≍⃒ash;抬ĀetⲨⲬ;쀀≥⃒;쀀>⃒nfin;槞ƀAetⲽⳁⳅrr;椂;쀀≤⃒Ā;rⳊⳍ쀀<⃒ie;쀀⊴⃒ĀAtⳘⳜrr;椃rie;쀀⊵⃒im;쀀∼⃒ƀAan⳰⳴ⴂrr;懖rĀhr⳺⳽k;椣Ā;oᏧᏥear;椧ቓ᪕\0\0\0\0\0\0\0\0\0\0\0\0\0ⴭ\0ⴸⵈⵠⵥ⵲ⶄᬇ\0\0ⶍⶫ\0ⷈⷎ\0ⷜ⸙⸫⸾⹃Ācsⴱ᪗ute耻ó䃳ĀiyⴼⵅrĀ;c᪞ⵂ耻ô䃴;䐾ʀabios᪠ⵒⵗLjⵚlac;䅑v;樸old;榼lig;䅓Ācr⵩⵭ir;榿;쀀𝔬ͯ⵹\0\0⵼\0ⶂn;䋛ave耻ò䃲;槁Ābmⶈ෴ar;榵Ȁacitⶕ⶘ⶥⶨrò᪀Āir⶝ⶠr;榾oss;榻nå๒;槀ƀaeiⶱⶵⶹcr;䅍ga;䏉ƀcdnⷀⷅǍron;䎿;榶pf;쀀𝕠ƀaelⷔ⷗ǒr;榷rp;榹΀;adiosvⷪⷫⷮ⸈⸍⸐⸖戨rò᪆Ȁ;efmⷷⷸ⸂⸅橝rĀ;oⷾⷿ愴f»ⷿ耻ª䂪耻º䂺gof;抶r;橖lope;橗;橛ƀclo⸟⸡⸧ò⸁ash耻ø䃸l;折iŬⸯ⸴de耻õ䃵esĀ;aǛ⸺s;樶ml耻ö䃶bar;挽ૡ⹞\0⹽\0⺀⺝\0⺢⺹\0\0⻋ຜ\0⼓\0\0⼫⾼\0⿈rȀ;astЃ⹧⹲຅脀¶;l⹭⹮䂶leìЃɩ⹸\0\0⹻m;櫳;櫽y;䐿rʀcimpt⺋⺏⺓ᡥ⺗nt;䀥od;䀮il;怰enk;怱r;쀀𝔭ƀimo⺨⺰⺴Ā;v⺭⺮䏆;䏕maô੶ne;明ƀ;tv⺿⻀⻈䏀chfork»´;䏖Āau⻏⻟nĀck⻕⻝kĀ;h⇴⻛;愎ö⇴sҀ;abcdemst⻳⻴ᤈ⻹⻽⼄⼆⼊⼎䀫cir;樣ir;樢Āouᵀ⼂;樥;橲n肻±ຝim;樦wo;樧ƀipu⼙⼠⼥ntint;樕f;쀀𝕡nd耻£䂣Ԁ;Eaceinosu່⼿⽁⽄⽇⾁⾉⾒⽾⾶;檳p;檷uå໙Ā;c໎⽌̀;acens່⽙⽟⽦⽨⽾pproø⽃urlyeñ໙ñ໎ƀaes⽯⽶⽺pprox;檹qq;檵im;拨iíໟmeĀ;s⾈ຮ怲ƀEas⽸⾐⽺ð⽵ƀdfp໬⾙⾯ƀals⾠⾥⾪lar;挮ine;挒urf;挓Ā;t໻⾴ï໻rel;抰Āci⿀⿅r;쀀𝓅;䏈ncsp;怈̀fiopsu⿚⋢⿟⿥⿫⿱r;쀀𝔮pf;쀀𝕢rime;恗cr;쀀𝓆ƀaeo⿸〉〓tĀei⿾々rnionóڰnt;樖stĀ;e【】䀿ñἙô༔઀ABHabcdefhilmnoprstux぀けさすムㄎㄫㅇㅢㅲㆎ㈆㈕㈤㈩㉘㉮㉲㊐㊰㊷ƀartぇおがròႳòϝail;検aròᱥar;楤΀cdenqrtとふへみわゔヌĀeuねぱ;쀀∽̱te;䅕iãᅮmptyv;榳gȀ;del࿑らるろ;榒;榥å࿑uo耻»䂻rր;abcfhlpstw࿜ガクシスゼゾダッデナp;極Ā;f࿠ゴs;椠;椳s;椞ë≝ð✮l;楅im;楴l;憣;憝Āaiパフil;椚oĀ;nホボ戶aló༞ƀabrョリヮrò៥rk;杳ĀakンヽcĀekヹ・;䁽;䁝Āes㄂㄄;榌lĀduㄊㄌ;榎;榐Ȁaeuyㄗㄜㄧㄩron;䅙Ādiㄡㄥil;䅗ì࿲âヺ;䑀Ȁclqsㄴㄷㄽㅄa;椷dhar;楩uoĀ;rȎȍh;憳ƀacgㅎㅟངlȀ;ipsླྀㅘㅛႜnåႻarôྩt;断ƀilrㅩဣㅮsht;楽;쀀𝔯ĀaoㅷㆆrĀduㅽㅿ»ѻĀ;l႑ㆄ;楬Ā;vㆋㆌ䏁;䏱ƀgns㆕ㇹㇼht̀ahlrstㆤㆰ㇂㇘㇤㇮rrowĀ;t࿜ㆭaéトarpoonĀduㆻㆿowîㅾp»႒eftĀah㇊㇐rrowó࿪arpoonóՑightarrows;應quigarro÷ニhreetimes;拌g;䋚ingdotseñἲƀahm㈍㈐㈓rò࿪aòՑ;怏oustĀ;a㈞㈟掱che»㈟mid;櫮Ȁabpt㈲㈽㉀㉒Ānr㈷㈺g;柭r;懾rëဃƀafl㉇㉊㉎r;榆;쀀𝕣us;樮imes;樵Āap㉝㉧rĀ;g㉣㉤䀩t;榔olint;樒arò㇣Ȁachq㉻㊀Ⴜ㊅quo;怺r;쀀𝓇Ābu・㊊oĀ;rȔȓƀhir㊗㊛㊠reåㇸmes;拊iȀ;efl㊪ၙᠡ㊫方tri;槎luhar;楨;愞ൡ㋕㋛㋟㌬㌸㍱\0㍺㎤\0\0㏬㏰\0㐨㑈㑚㒭㒱㓊㓱\0㘖\0\0㘳cute;䅛quï➺Ԁ;Eaceinpsyᇭ㋳㋵㋿㌂㌋㌏㌟㌦㌩;檴ǰ㋺\0㋼;檸on;䅡uåᇾĀ;dᇳ㌇il;䅟rc;䅝ƀEas㌖㌘㌛;檶p;檺im;择olint;樓iíሄ;䑁otƀ;be㌴ᵇ㌵担;橦΀Aacmstx㍆㍊㍗㍛㍞㍣㍭rr;懘rĀhr㍐㍒ë∨Ā;oਸ਼਴t耻§䂧i;䀻war;椩mĀin㍩ðnuóñt;朶rĀ;o㍶⁕쀀𝔰Ȁacoy㎂㎆㎑㎠rp;景Āhy㎋㎏cy;䑉;䑈rtɭ㎙\0\0㎜iäᑤaraì⹯耻­䂭Āgm㎨㎴maƀ;fv㎱㎲㎲䏃;䏂Ѐ;deglnprካ㏅㏉㏎㏖㏞㏡㏦ot;橪Ā;q኱ኰĀ;E㏓㏔檞;檠Ā;E㏛㏜檝;檟e;扆lus;樤arr;楲aròᄽȀaeit㏸㐈㐏㐗Āls㏽㐄lsetmé㍪hp;樳parsl;槤Ādlᑣ㐔e;挣Ā;e㐜㐝檪Ā;s㐢㐣檬;쀀⪬︀ƀflp㐮㐳㑂tcy;䑌Ā;b㐸㐹䀯Ā;a㐾㐿槄r;挿f;쀀𝕤aĀdr㑍ЂesĀ;u㑔㑕晠it»㑕ƀcsu㑠㑹㒟Āau㑥㑯pĀ;sᆈ㑫;쀀⊓︀pĀ;sᆴ㑵;쀀⊔︀uĀbp㑿㒏ƀ;esᆗᆜ㒆etĀ;eᆗ㒍ñᆝƀ;esᆨᆭ㒖etĀ;eᆨ㒝ñᆮƀ;afᅻ㒦ְrť㒫ֱ»ᅼaròᅈȀcemt㒹㒾㓂㓅r;쀀𝓈tmîñiì㐕aræᆾĀar㓎㓕rĀ;f㓔ឿ昆Āan㓚㓭ightĀep㓣㓪psiloîỠhé⺯s»⡒ʀbcmnp㓻㕞ሉ㖋㖎Ҁ;Edemnprs㔎㔏㔑㔕㔞㔣㔬㔱㔶抂;櫅ot;檽Ā;dᇚ㔚ot;櫃ult;櫁ĀEe㔨㔪;櫋;把lus;檿arr;楹ƀeiu㔽㕒㕕tƀ;en㔎㕅㕋qĀ;qᇚ㔏eqĀ;q㔫㔨m;櫇Ābp㕚㕜;櫕;櫓c̀;acensᇭ㕬㕲㕹㕻㌦pproø㋺urlyeñᇾñᇳƀaes㖂㖈㌛pproø㌚qñ㌗g;晪ڀ123;Edehlmnps㖩㖬㖯ሜ㖲㖴㗀㗉㗕㗚㗟㗨㗭耻¹䂹耻²䂲耻³䂳;櫆Āos㖹㖼t;檾ub;櫘Ā;dሢ㗅ot;櫄sĀou㗏㗒l;柉b;櫗arr;楻ult;櫂ĀEe㗤㗦;櫌;抋lus;櫀ƀeiu㗴㘉㘌tƀ;enሜ㗼㘂qĀ;qሢ㖲eqĀ;q㗧㗤m;櫈Ābp㘑㘓;櫔;櫖ƀAan㘜㘠㘭rr;懙rĀhr㘦㘨ë∮Ā;oਫ਩war;椪lig耻ß䃟௡㙑㙝㙠ዎ㙳㙹\0㙾㛂\0\0\0\0\0㛛㜃\0㜉㝬\0\0\0㞇ɲ㙖\0\0㙛get;挖;䏄rë๟ƀaey㙦㙫㙰ron;䅥dil;䅣;䑂lrec;挕r;쀀𝔱Ȁeiko㚆㚝㚵㚼Dz㚋\0㚑eĀ4fኄኁaƀ;sv㚘㚙㚛䎸ym;䏑Ācn㚢㚲kĀas㚨㚮pproø዁im»ኬsðኞĀas㚺㚮ð዁rn耻þ䃾Ǭ̟㛆⋧es膀×;bd㛏㛐㛘䃗Ā;aᤏ㛕r;樱;樰ƀeps㛡㛣㜀á⩍Ȁ;bcf҆㛬㛰㛴ot;挶ir;櫱Ā;o㛹㛼쀀𝕥rk;櫚á㍢rime;怴ƀaip㜏㜒㝤dåቈ΀adempst㜡㝍㝀㝑㝗㝜㝟ngleʀ;dlqr㜰㜱㜶㝀㝂斵own»ᶻeftĀ;e⠀㜾ñम;扜ightĀ;e㊪㝋ñၚot;旬inus;樺lus;樹b;槍ime;樻ezium;揢ƀcht㝲㝽㞁Āry㝷㝻;쀀𝓉;䑆cy;䑛rok;䅧Āio㞋㞎xô᝷headĀlr㞗㞠eftarro÷ࡏightarrow»ཝऀAHabcdfghlmoprstuw㟐㟓㟗㟤㟰㟼㠎㠜㠣㠴㡑㡝㡫㢩㣌㣒㣪㣶ròϭar;楣Ācr㟜㟢ute耻ú䃺òᅐrǣ㟪\0㟭y;䑞ve;䅭Āiy㟵㟺rc耻û䃻;䑃ƀabh㠃㠆㠋ròᎭlac;䅱aòᏃĀir㠓㠘sht;楾;쀀𝔲rave耻ù䃹š㠧㠱rĀlr㠬㠮»ॗ»ႃlk;斀Āct㠹㡍ɯ㠿\0\0㡊rnĀ;e㡅㡆挜r»㡆op;挏ri;旸Āal㡖㡚cr;䅫肻¨͉Āgp㡢㡦on;䅳f;쀀𝕦̀adhlsuᅋ㡸㡽፲㢑㢠ownáᎳarpoonĀlr㢈㢌efô㠭ighô㠯iƀ;hl㢙㢚㢜䏅»ᏺon»㢚parrows;懈ƀcit㢰㣄㣈ɯ㢶\0\0㣁rnĀ;e㢼㢽挝r»㢽op;挎ng;䅯ri;旹cr;쀀𝓊ƀdir㣙㣝㣢ot;拰lde;䅩iĀ;f㜰㣨»᠓Āam㣯㣲rò㢨l耻ü䃼angle;榧ހABDacdeflnoprsz㤜㤟㤩㤭㦵㦸㦽㧟㧤㧨㧳㧹㧽㨁㨠ròϷarĀ;v㤦㤧櫨;櫩asèϡĀnr㤲㤷grt;榜΀eknprst㓣㥆㥋㥒㥝㥤㦖appá␕othinçẖƀhir㓫⻈㥙opô⾵Ā;hᎷ㥢ïㆍĀiu㥩㥭gmá㎳Ābp㥲㦄setneqĀ;q㥽㦀쀀⊊︀;쀀⫋︀setneqĀ;q㦏㦒쀀⊋︀;쀀⫌︀Āhr㦛㦟etá㚜iangleĀlr㦪㦯eft»थight»ၑy;䐲ash»ံƀelr㧄㧒㧗ƀ;beⷪ㧋㧏ar;抻q;扚lip;拮Ābt㧜ᑨaòᑩr;쀀𝔳tré㦮suĀbp㧯㧱»ജ»൙pf;쀀𝕧roð໻tré㦴Ācu㨆㨋r;쀀𝓋Ābp㨐㨘nĀEe㦀㨖»㥾nĀEe㦒㨞»㦐igzag;榚΀cefoprs㨶㨻㩖㩛㩔㩡㩪irc;䅵Ādi㩀㩑Ābg㩅㩉ar;機eĀ;qᗺ㩏;扙erp;愘r;쀀𝔴pf;쀀𝕨Ā;eᑹ㩦atèᑹcr;쀀𝓌ૣណ㪇\0㪋\0㪐㪛\0\0㪝㪨㪫㪯\0\0㫃㫎\0㫘ៜ៟tré៑r;쀀𝔵ĀAa㪔㪗ròσrò৶;䎾ĀAa㪡㪤ròθrò৫að✓is;拻ƀdptឤ㪵㪾Āfl㪺ឩ;쀀𝕩imåឲĀAa㫇㫊ròώròਁĀcq㫒ីr;쀀𝓍Āpt៖㫜ré។Ѐacefiosu㫰㫽㬈㬌㬑㬕㬛㬡cĀuy㫶㫻te耻ý䃽;䑏Āiy㬂㬆rc;䅷;䑋n耻¥䂥r;쀀𝔶cy;䑗pf;쀀𝕪cr;쀀𝓎Ācm㬦㬩y;䑎l耻ÿ䃿Ԁacdefhiosw㭂㭈㭔㭘㭤㭩㭭㭴㭺㮀cute;䅺Āay㭍㭒ron;䅾;䐷ot;䅼Āet㭝㭡træᕟa;䎶r;쀀𝔷cy;䐶grarr;懝pf;쀀𝕫cr;쀀𝓏Ājn㮅㮇;怍j;怌'.split("").map((function(e){return e.charCodeAt(0)})))},9318:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=new Uint16Array("Ȁaglq\tɭ\0\0p;䀦os;䀧t;䀾t;䀼uot;䀢".split("").map((function(e){return e.charCodeAt(0)})))},9491:(e,t)=>{"use strict";function n(e){for(var t=1;t<e.length;t++)e[t][0]+=e[t-1][0]+1;return e}Object.defineProperty(t,"__esModule",{value:!0}),t.default=new Map(n([[9,"&Tab;"],[0,"&NewLine;"],[22,"&excl;"],[0,"&quot;"],[0,"&num;"],[0,"&dollar;"],[0,"&percnt;"],[0,"&amp;"],[0,"&apos;"],[0,"&lpar;"],[0,"&rpar;"],[0,"&ast;"],[0,"&plus;"],[0,"&comma;"],[1,"&period;"],[0,"&sol;"],[10,"&colon;"],[0,"&semi;"],[0,{v:"&lt;",n:8402,o:"&nvlt;"}],[0,{v:"&equals;",n:8421,o:"&bne;"}],[0,{v:"&gt;",n:8402,o:"&nvgt;"}],[0,"&quest;"],[0,"&commat;"],[26,"&lbrack;"],[0,"&bsol;"],[0,"&rbrack;"],[0,"&Hat;"],[0,"&lowbar;"],[0,"&DiacriticalGrave;"],[5,{n:106,o:"&fjlig;"}],[20,"&lbrace;"],[0,"&verbar;"],[0,"&rbrace;"],[34,"&nbsp;"],[0,"&iexcl;"],[0,"&cent;"],[0,"&pound;"],[0,"&curren;"],[0,"&yen;"],[0,"&brvbar;"],[0,"&sect;"],[0,"&die;"],[0,"&copy;"],[0,"&ordf;"],[0,"&laquo;"],[0,"&not;"],[0,"&shy;"],[0,"&circledR;"],[0,"&macr;"],[0,"&deg;"],[0,"&PlusMinus;"],[0,"&sup2;"],[0,"&sup3;"],[0,"&acute;"],[0,"&micro;"],[0,"&para;"],[0,"&centerdot;"],[0,"&cedil;"],[0,"&sup1;"],[0,"&ordm;"],[0,"&raquo;"],[0,"&frac14;"],[0,"&frac12;"],[0,"&frac34;"],[0,"&iquest;"],[0,"&Agrave;"],[0,"&Aacute;"],[0,"&Acirc;"],[0,"&Atilde;"],[0,"&Auml;"],[0,"&angst;"],[0,"&AElig;"],[0,"&Ccedil;"],[0,"&Egrave;"],[0,"&Eacute;"],[0,"&Ecirc;"],[0,"&Euml;"],[0,"&Igrave;"],[0,"&Iacute;"],[0,"&Icirc;"],[0,"&Iuml;"],[0,"&ETH;"],[0,"&Ntilde;"],[0,"&Ograve;"],[0,"&Oacute;"],[0,"&Ocirc;"],[0,"&Otilde;"],[0,"&Ouml;"],[0,"&times;"],[0,"&Oslash;"],[0,"&Ugrave;"],[0,"&Uacute;"],[0,"&Ucirc;"],[0,"&Uuml;"],[0,"&Yacute;"],[0,"&THORN;"],[0,"&szlig;"],[0,"&agrave;"],[0,"&aacute;"],[0,"&acirc;"],[0,"&atilde;"],[0,"&auml;"],[0,"&aring;"],[0,"&aelig;"],[0,"&ccedil;"],[0,"&egrave;"],[0,"&eacute;"],[0,"&ecirc;"],[0,"&euml;"],[0,"&igrave;"],[0,"&iacute;"],[0,"&icirc;"],[0,"&iuml;"],[0,"&eth;"],[0,"&ntilde;"],[0,"&ograve;"],[0,"&oacute;"],[0,"&ocirc;"],[0,"&otilde;"],[0,"&ouml;"],[0,"&div;"],[0,"&oslash;"],[0,"&ugrave;"],[0,"&uacute;"],[0,"&ucirc;"],[0,"&uuml;"],[0,"&yacute;"],[0,"&thorn;"],[0,"&yuml;"],[0,"&Amacr;"],[0,"&amacr;"],[0,"&Abreve;"],[0,"&abreve;"],[0,"&Aogon;"],[0,"&aogon;"],[0,"&Cacute;"],[0,"&cacute;"],[0,"&Ccirc;"],[0,"&ccirc;"],[0,"&Cdot;"],[0,"&cdot;"],[0,"&Ccaron;"],[0,"&ccaron;"],[0,"&Dcaron;"],[0,"&dcaron;"],[0,"&Dstrok;"],[0,"&dstrok;"],[0,"&Emacr;"],[0,"&emacr;"],[2,"&Edot;"],[0,"&edot;"],[0,"&Eogon;"],[0,"&eogon;"],[0,"&Ecaron;"],[0,"&ecaron;"],[0,"&Gcirc;"],[0,"&gcirc;"],[0,"&Gbreve;"],[0,"&gbreve;"],[0,"&Gdot;"],[0,"&gdot;"],[0,"&Gcedil;"],[1,"&Hcirc;"],[0,"&hcirc;"],[0,"&Hstrok;"],[0,"&hstrok;"],[0,"&Itilde;"],[0,"&itilde;"],[0,"&Imacr;"],[0,"&imacr;"],[2,"&Iogon;"],[0,"&iogon;"],[0,"&Idot;"],[0,"&imath;"],[0,"&IJlig;"],[0,"&ijlig;"],[0,"&Jcirc;"],[0,"&jcirc;"],[0,"&Kcedil;"],[0,"&kcedil;"],[0,"&kgreen;"],[0,"&Lacute;"],[0,"&lacute;"],[0,"&Lcedil;"],[0,"&lcedil;"],[0,"&Lcaron;"],[0,"&lcaron;"],[0,"&Lmidot;"],[0,"&lmidot;"],[0,"&Lstrok;"],[0,"&lstrok;"],[0,"&Nacute;"],[0,"&nacute;"],[0,"&Ncedil;"],[0,"&ncedil;"],[0,"&Ncaron;"],[0,"&ncaron;"],[0,"&napos;"],[0,"&ENG;"],[0,"&eng;"],[0,"&Omacr;"],[0,"&omacr;"],[2,"&Odblac;"],[0,"&odblac;"],[0,"&OElig;"],[0,"&oelig;"],[0,"&Racute;"],[0,"&racute;"],[0,"&Rcedil;"],[0,"&rcedil;"],[0,"&Rcaron;"],[0,"&rcaron;"],[0,"&Sacute;"],[0,"&sacute;"],[0,"&Scirc;"],[0,"&scirc;"],[0,"&Scedil;"],[0,"&scedil;"],[0,"&Scaron;"],[0,"&scaron;"],[0,"&Tcedil;"],[0,"&tcedil;"],[0,"&Tcaron;"],[0,"&tcaron;"],[0,"&Tstrok;"],[0,"&tstrok;"],[0,"&Utilde;"],[0,"&utilde;"],[0,"&Umacr;"],[0,"&umacr;"],[0,"&Ubreve;"],[0,"&ubreve;"],[0,"&Uring;"],[0,"&uring;"],[0,"&Udblac;"],[0,"&udblac;"],[0,"&Uogon;"],[0,"&uogon;"],[0,"&Wcirc;"],[0,"&wcirc;"],[0,"&Ycirc;"],[0,"&ycirc;"],[0,"&Yuml;"],[0,"&Zacute;"],[0,"&zacute;"],[0,"&Zdot;"],[0,"&zdot;"],[0,"&Zcaron;"],[0,"&zcaron;"],[19,"&fnof;"],[34,"&imped;"],[63,"&gacute;"],[65,"&jmath;"],[142,"&circ;"],[0,"&caron;"],[16,"&breve;"],[0,"&DiacriticalDot;"],[0,"&ring;"],[0,"&ogon;"],[0,"&DiacriticalTilde;"],[0,"&dblac;"],[51,"&DownBreve;"],[127,"&Alpha;"],[0,"&Beta;"],[0,"&Gamma;"],[0,"&Delta;"],[0,"&Epsilon;"],[0,"&Zeta;"],[0,"&Eta;"],[0,"&Theta;"],[0,"&Iota;"],[0,"&Kappa;"],[0,"&Lambda;"],[0,"&Mu;"],[0,"&Nu;"],[0,"&Xi;"],[0,"&Omicron;"],[0,"&Pi;"],[0,"&Rho;"],[1,"&Sigma;"],[0,"&Tau;"],[0,"&Upsilon;"],[0,"&Phi;"],[0,"&Chi;"],[0,"&Psi;"],[0,"&ohm;"],[7,"&alpha;"],[0,"&beta;"],[0,"&gamma;"],[0,"&delta;"],[0,"&epsi;"],[0,"&zeta;"],[0,"&eta;"],[0,"&theta;"],[0,"&iota;"],[0,"&kappa;"],[0,"&lambda;"],[0,"&mu;"],[0,"&nu;"],[0,"&xi;"],[0,"&omicron;"],[0,"&pi;"],[0,"&rho;"],[0,"&sigmaf;"],[0,"&sigma;"],[0,"&tau;"],[0,"&upsi;"],[0,"&phi;"],[0,"&chi;"],[0,"&psi;"],[0,"&omega;"],[7,"&thetasym;"],[0,"&Upsi;"],[2,"&phiv;"],[0,"&piv;"],[5,"&Gammad;"],[0,"&digamma;"],[18,"&kappav;"],[0,"&rhov;"],[3,"&epsiv;"],[0,"&backepsilon;"],[10,"&IOcy;"],[0,"&DJcy;"],[0,"&GJcy;"],[0,"&Jukcy;"],[0,"&DScy;"],[0,"&Iukcy;"],[0,"&YIcy;"],[0,"&Jsercy;"],[0,"&LJcy;"],[0,"&NJcy;"],[0,"&TSHcy;"],[0,"&KJcy;"],[1,"&Ubrcy;"],[0,"&DZcy;"],[0,"&Acy;"],[0,"&Bcy;"],[0,"&Vcy;"],[0,"&Gcy;"],[0,"&Dcy;"],[0,"&IEcy;"],[0,"&ZHcy;"],[0,"&Zcy;"],[0,"&Icy;"],[0,"&Jcy;"],[0,"&Kcy;"],[0,"&Lcy;"],[0,"&Mcy;"],[0,"&Ncy;"],[0,"&Ocy;"],[0,"&Pcy;"],[0,"&Rcy;"],[0,"&Scy;"],[0,"&Tcy;"],[0,"&Ucy;"],[0,"&Fcy;"],[0,"&KHcy;"],[0,"&TScy;"],[0,"&CHcy;"],[0,"&SHcy;"],[0,"&SHCHcy;"],[0,"&HARDcy;"],[0,"&Ycy;"],[0,"&SOFTcy;"],[0,"&Ecy;"],[0,"&YUcy;"],[0,"&YAcy;"],[0,"&acy;"],[0,"&bcy;"],[0,"&vcy;"],[0,"&gcy;"],[0,"&dcy;"],[0,"&iecy;"],[0,"&zhcy;"],[0,"&zcy;"],[0,"&icy;"],[0,"&jcy;"],[0,"&kcy;"],[0,"&lcy;"],[0,"&mcy;"],[0,"&ncy;"],[0,"&ocy;"],[0,"&pcy;"],[0,"&rcy;"],[0,"&scy;"],[0,"&tcy;"],[0,"&ucy;"],[0,"&fcy;"],[0,"&khcy;"],[0,"&tscy;"],[0,"&chcy;"],[0,"&shcy;"],[0,"&shchcy;"],[0,"&hardcy;"],[0,"&ycy;"],[0,"&softcy;"],[0,"&ecy;"],[0,"&yucy;"],[0,"&yacy;"],[1,"&iocy;"],[0,"&djcy;"],[0,"&gjcy;"],[0,"&jukcy;"],[0,"&dscy;"],[0,"&iukcy;"],[0,"&yicy;"],[0,"&jsercy;"],[0,"&ljcy;"],[0,"&njcy;"],[0,"&tshcy;"],[0,"&kjcy;"],[1,"&ubrcy;"],[0,"&dzcy;"],[7074,"&ensp;"],[0,"&emsp;"],[0,"&emsp13;"],[0,"&emsp14;"],[1,"&numsp;"],[0,"&puncsp;"],[0,"&ThinSpace;"],[0,"&hairsp;"],[0,"&NegativeMediumSpace;"],[0,"&zwnj;"],[0,"&zwj;"],[0,"&lrm;"],[0,"&rlm;"],[0,"&dash;"],[2,"&ndash;"],[0,"&mdash;"],[0,"&horbar;"],[0,"&Verbar;"],[1,"&lsquo;"],[0,"&CloseCurlyQuote;"],[0,"&lsquor;"],[1,"&ldquo;"],[0,"&CloseCurlyDoubleQuote;"],[0,"&bdquo;"],[1,"&dagger;"],[0,"&Dagger;"],[0,"&bull;"],[2,"&nldr;"],[0,"&hellip;"],[9,"&permil;"],[0,"&pertenk;"],[0,"&prime;"],[0,"&Prime;"],[0,"&tprime;"],[0,"&backprime;"],[3,"&lsaquo;"],[0,"&rsaquo;"],[3,"&oline;"],[2,"&caret;"],[1,"&hybull;"],[0,"&frasl;"],[10,"&bsemi;"],[7,"&qprime;"],[7,{v:"&MediumSpace;",n:8202,o:"&ThickSpace;"}],[0,"&NoBreak;"],[0,"&af;"],[0,"&InvisibleTimes;"],[0,"&ic;"],[72,"&euro;"],[46,"&tdot;"],[0,"&DotDot;"],[37,"&complexes;"],[2,"&incare;"],[4,"&gscr;"],[0,"&hamilt;"],[0,"&Hfr;"],[0,"&Hopf;"],[0,"&planckh;"],[0,"&hbar;"],[0,"&imagline;"],[0,"&Ifr;"],[0,"&lagran;"],[0,"&ell;"],[1,"&naturals;"],[0,"&numero;"],[0,"&copysr;"],[0,"&weierp;"],[0,"&Popf;"],[0,"&Qopf;"],[0,"&realine;"],[0,"&real;"],[0,"&reals;"],[0,"&rx;"],[3,"&trade;"],[1,"&integers;"],[2,"&mho;"],[0,"&zeetrf;"],[0,"&iiota;"],[2,"&bernou;"],[0,"&Cayleys;"],[1,"&escr;"],[0,"&Escr;"],[0,"&Fouriertrf;"],[1,"&Mellintrf;"],[0,"&order;"],[0,"&alefsym;"],[0,"&beth;"],[0,"&gimel;"],[0,"&daleth;"],[12,"&CapitalDifferentialD;"],[0,"&dd;"],[0,"&ee;"],[0,"&ii;"],[10,"&frac13;"],[0,"&frac23;"],[0,"&frac15;"],[0,"&frac25;"],[0,"&frac35;"],[0,"&frac45;"],[0,"&frac16;"],[0,"&frac56;"],[0,"&frac18;"],[0,"&frac38;"],[0,"&frac58;"],[0,"&frac78;"],[49,"&larr;"],[0,"&ShortUpArrow;"],[0,"&rarr;"],[0,"&darr;"],[0,"&harr;"],[0,"&updownarrow;"],[0,"&nwarr;"],[0,"&nearr;"],[0,"&LowerRightArrow;"],[0,"&LowerLeftArrow;"],[0,"&nlarr;"],[0,"&nrarr;"],[1,{v:"&rarrw;",n:824,o:"&nrarrw;"}],[0,"&Larr;"],[0,"&Uarr;"],[0,"&Rarr;"],[0,"&Darr;"],[0,"&larrtl;"],[0,"&rarrtl;"],[0,"&LeftTeeArrow;"],[0,"&mapstoup;"],[0,"&map;"],[0,"&DownTeeArrow;"],[1,"&hookleftarrow;"],[0,"&hookrightarrow;"],[0,"&larrlp;"],[0,"&looparrowright;"],[0,"&harrw;"],[0,"&nharr;"],[1,"&lsh;"],[0,"&rsh;"],[0,"&ldsh;"],[0,"&rdsh;"],[1,"&crarr;"],[0,"&cularr;"],[0,"&curarr;"],[2,"&circlearrowleft;"],[0,"&circlearrowright;"],[0,"&leftharpoonup;"],[0,"&DownLeftVector;"],[0,"&RightUpVector;"],[0,"&LeftUpVector;"],[0,"&rharu;"],[0,"&DownRightVector;"],[0,"&dharr;"],[0,"&dharl;"],[0,"&RightArrowLeftArrow;"],[0,"&udarr;"],[0,"&LeftArrowRightArrow;"],[0,"&leftleftarrows;"],[0,"&upuparrows;"],[0,"&rightrightarrows;"],[0,"&ddarr;"],[0,"&leftrightharpoons;"],[0,"&Equilibrium;"],[0,"&nlArr;"],[0,"&nhArr;"],[0,"&nrArr;"],[0,"&DoubleLeftArrow;"],[0,"&DoubleUpArrow;"],[0,"&DoubleRightArrow;"],[0,"&dArr;"],[0,"&DoubleLeftRightArrow;"],[0,"&DoubleUpDownArrow;"],[0,"&nwArr;"],[0,"&neArr;"],[0,"&seArr;"],[0,"&swArr;"],[0,"&lAarr;"],[0,"&rAarr;"],[1,"&zigrarr;"],[6,"&larrb;"],[0,"&rarrb;"],[15,"&DownArrowUpArrow;"],[7,"&loarr;"],[0,"&roarr;"],[0,"&hoarr;"],[0,"&forall;"],[0,"&comp;"],[0,{v:"&part;",n:824,o:"&npart;"}],[0,"&exist;"],[0,"&nexist;"],[0,"&empty;"],[1,"&Del;"],[0,"&Element;"],[0,"&NotElement;"],[1,"&ni;"],[0,"&notni;"],[2,"&prod;"],[0,"&coprod;"],[0,"&sum;"],[0,"&minus;"],[0,"&MinusPlus;"],[0,"&dotplus;"],[1,"&Backslash;"],[0,"&lowast;"],[0,"&compfn;"],[1,"&radic;"],[2,"&prop;"],[0,"&infin;"],[0,"&angrt;"],[0,{v:"&ang;",n:8402,o:"&nang;"}],[0,"&angmsd;"],[0,"&angsph;"],[0,"&mid;"],[0,"&nmid;"],[0,"&DoubleVerticalBar;"],[0,"&NotDoubleVerticalBar;"],[0,"&and;"],[0,"&or;"],[0,{v:"&cap;",n:65024,o:"&caps;"}],[0,{v:"&cup;",n:65024,o:"&cups;"}],[0,"&int;"],[0,"&Int;"],[0,"&iiint;"],[0,"&conint;"],[0,"&Conint;"],[0,"&Cconint;"],[0,"&cwint;"],[0,"&ClockwiseContourIntegral;"],[0,"&awconint;"],[0,"&there4;"],[0,"&becaus;"],[0,"&ratio;"],[0,"&Colon;"],[0,"&dotminus;"],[1,"&mDDot;"],[0,"&homtht;"],[0,{v:"&sim;",n:8402,o:"&nvsim;"}],[0,{v:"&backsim;",n:817,o:"&race;"}],[0,{v:"&ac;",n:819,o:"&acE;"}],[0,"&acd;"],[0,"&VerticalTilde;"],[0,"&NotTilde;"],[0,{v:"&eqsim;",n:824,o:"&nesim;"}],[0,"&sime;"],[0,"&NotTildeEqual;"],[0,"&cong;"],[0,"&simne;"],[0,"&ncong;"],[0,"&ap;"],[0,"&nap;"],[0,"&ape;"],[0,{v:"&apid;",n:824,o:"&napid;"}],[0,"&backcong;"],[0,{v:"&asympeq;",n:8402,o:"&nvap;"}],[0,{v:"&bump;",n:824,o:"&nbump;"}],[0,{v:"&bumpe;",n:824,o:"&nbumpe;"}],[0,{v:"&doteq;",n:824,o:"&nedot;"}],[0,"&doteqdot;"],[0,"&efDot;"],[0,"&erDot;"],[0,"&Assign;"],[0,"&ecolon;"],[0,"&ecir;"],[0,"&circeq;"],[1,"&wedgeq;"],[0,"&veeeq;"],[1,"&triangleq;"],[2,"&equest;"],[0,"&ne;"],[0,{v:"&Congruent;",n:8421,o:"&bnequiv;"}],[0,"&nequiv;"],[1,{v:"&le;",n:8402,o:"&nvle;"}],[0,{v:"&ge;",n:8402,o:"&nvge;"}],[0,{v:"&lE;",n:824,o:"&nlE;"}],[0,{v:"&gE;",n:824,o:"&ngE;"}],[0,{v:"&lnE;",n:65024,o:"&lvertneqq;"}],[0,{v:"&gnE;",n:65024,o:"&gvertneqq;"}],[0,{v:"&ll;",n:new Map(n([[824,"&nLtv;"],[7577,"&nLt;"]]))}],[0,{v:"&gg;",n:new Map(n([[824,"&nGtv;"],[7577,"&nGt;"]]))}],[0,"&between;"],[0,"&NotCupCap;"],[0,"&nless;"],[0,"&ngt;"],[0,"&nle;"],[0,"&nge;"],[0,"&lesssim;"],[0,"&GreaterTilde;"],[0,"&nlsim;"],[0,"&ngsim;"],[0,"&LessGreater;"],[0,"&gl;"],[0,"&NotLessGreater;"],[0,"&NotGreaterLess;"],[0,"&pr;"],[0,"&sc;"],[0,"&prcue;"],[0,"&sccue;"],[0,"&PrecedesTilde;"],[0,{v:"&scsim;",n:824,o:"&NotSucceedsTilde;"}],[0,"&NotPrecedes;"],[0,"&NotSucceeds;"],[0,{v:"&sub;",n:8402,o:"&NotSubset;"}],[0,{v:"&sup;",n:8402,o:"&NotSuperset;"}],[0,"&nsub;"],[0,"&nsup;"],[0,"&sube;"],[0,"&supe;"],[0,"&NotSubsetEqual;"],[0,"&NotSupersetEqual;"],[0,{v:"&subne;",n:65024,o:"&varsubsetneq;"}],[0,{v:"&supne;",n:65024,o:"&varsupsetneq;"}],[1,"&cupdot;"],[0,"&UnionPlus;"],[0,{v:"&sqsub;",n:824,o:"&NotSquareSubset;"}],[0,{v:"&sqsup;",n:824,o:"&NotSquareSuperset;"}],[0,"&sqsube;"],[0,"&sqsupe;"],[0,{v:"&sqcap;",n:65024,o:"&sqcaps;"}],[0,{v:"&sqcup;",n:65024,o:"&sqcups;"}],[0,"&CirclePlus;"],[0,"&CircleMinus;"],[0,"&CircleTimes;"],[0,"&osol;"],[0,"&CircleDot;"],[0,"&circledcirc;"],[0,"&circledast;"],[1,"&circleddash;"],[0,"&boxplus;"],[0,"&boxminus;"],[0,"&boxtimes;"],[0,"&dotsquare;"],[0,"&RightTee;"],[0,"&dashv;"],[0,"&DownTee;"],[0,"&bot;"],[1,"&models;"],[0,"&DoubleRightTee;"],[0,"&Vdash;"],[0,"&Vvdash;"],[0,"&VDash;"],[0,"&nvdash;"],[0,"&nvDash;"],[0,"&nVdash;"],[0,"&nVDash;"],[0,"&prurel;"],[1,"&LeftTriangle;"],[0,"&RightTriangle;"],[0,{v:"&LeftTriangleEqual;",n:8402,o:"&nvltrie;"}],[0,{v:"&RightTriangleEqual;",n:8402,o:"&nvrtrie;"}],[0,"&origof;"],[0,"&imof;"],[0,"&multimap;"],[0,"&hercon;"],[0,"&intcal;"],[0,"&veebar;"],[1,"&barvee;"],[0,"&angrtvb;"],[0,"&lrtri;"],[0,"&bigwedge;"],[0,"&bigvee;"],[0,"&bigcap;"],[0,"&bigcup;"],[0,"&diam;"],[0,"&sdot;"],[0,"&sstarf;"],[0,"&divideontimes;"],[0,"&bowtie;"],[0,"&ltimes;"],[0,"&rtimes;"],[0,"&leftthreetimes;"],[0,"&rightthreetimes;"],[0,"&backsimeq;"],[0,"&curlyvee;"],[0,"&curlywedge;"],[0,"&Sub;"],[0,"&Sup;"],[0,"&Cap;"],[0,"&Cup;"],[0,"&fork;"],[0,"&epar;"],[0,"&lessdot;"],[0,"&gtdot;"],[0,{v:"&Ll;",n:824,o:"&nLl;"}],[0,{v:"&Gg;",n:824,o:"&nGg;"}],[0,{v:"&leg;",n:65024,o:"&lesg;"}],[0,{v:"&gel;",n:65024,o:"&gesl;"}],[2,"&cuepr;"],[0,"&cuesc;"],[0,"&NotPrecedesSlantEqual;"],[0,"&NotSucceedsSlantEqual;"],[0,"&NotSquareSubsetEqual;"],[0,"&NotSquareSupersetEqual;"],[2,"&lnsim;"],[0,"&gnsim;"],[0,"&precnsim;"],[0,"&scnsim;"],[0,"&nltri;"],[0,"&NotRightTriangle;"],[0,"&nltrie;"],[0,"&NotRightTriangleEqual;"],[0,"&vellip;"],[0,"&ctdot;"],[0,"&utdot;"],[0,"&dtdot;"],[0,"&disin;"],[0,"&isinsv;"],[0,"&isins;"],[0,{v:"&isindot;",n:824,o:"&notindot;"}],[0,"&notinvc;"],[0,"&notinvb;"],[1,{v:"&isinE;",n:824,o:"&notinE;"}],[0,"&nisd;"],[0,"&xnis;"],[0,"&nis;"],[0,"&notnivc;"],[0,"&notnivb;"],[6,"&barwed;"],[0,"&Barwed;"],[1,"&lceil;"],[0,"&rceil;"],[0,"&LeftFloor;"],[0,"&rfloor;"],[0,"&drcrop;"],[0,"&dlcrop;"],[0,"&urcrop;"],[0,"&ulcrop;"],[0,"&bnot;"],[1,"&profline;"],[0,"&profsurf;"],[1,"&telrec;"],[0,"&target;"],[5,"&ulcorn;"],[0,"&urcorn;"],[0,"&dlcorn;"],[0,"&drcorn;"],[2,"&frown;"],[0,"&smile;"],[9,"&cylcty;"],[0,"&profalar;"],[7,"&topbot;"],[6,"&ovbar;"],[1,"&solbar;"],[60,"&angzarr;"],[51,"&lmoustache;"],[0,"&rmoustache;"],[2,"&OverBracket;"],[0,"&bbrk;"],[0,"&bbrktbrk;"],[37,"&OverParenthesis;"],[0,"&UnderParenthesis;"],[0,"&OverBrace;"],[0,"&UnderBrace;"],[2,"&trpezium;"],[4,"&elinters;"],[59,"&blank;"],[164,"&circledS;"],[55,"&boxh;"],[1,"&boxv;"],[9,"&boxdr;"],[3,"&boxdl;"],[3,"&boxur;"],[3,"&boxul;"],[3,"&boxvr;"],[7,"&boxvl;"],[7,"&boxhd;"],[7,"&boxhu;"],[7,"&boxvh;"],[19,"&boxH;"],[0,"&boxV;"],[0,"&boxdR;"],[0,"&boxDr;"],[0,"&boxDR;"],[0,"&boxdL;"],[0,"&boxDl;"],[0,"&boxDL;"],[0,"&boxuR;"],[0,"&boxUr;"],[0,"&boxUR;"],[0,"&boxuL;"],[0,"&boxUl;"],[0,"&boxUL;"],[0,"&boxvR;"],[0,"&boxVr;"],[0,"&boxVR;"],[0,"&boxvL;"],[0,"&boxVl;"],[0,"&boxVL;"],[0,"&boxHd;"],[0,"&boxhD;"],[0,"&boxHD;"],[0,"&boxHu;"],[0,"&boxhU;"],[0,"&boxHU;"],[0,"&boxvH;"],[0,"&boxVh;"],[0,"&boxVH;"],[19,"&uhblk;"],[3,"&lhblk;"],[3,"&block;"],[8,"&blk14;"],[0,"&blk12;"],[0,"&blk34;"],[13,"&square;"],[8,"&blacksquare;"],[0,"&EmptyVerySmallSquare;"],[1,"&rect;"],[0,"&marker;"],[2,"&fltns;"],[1,"&bigtriangleup;"],[0,"&blacktriangle;"],[0,"&triangle;"],[2,"&blacktriangleright;"],[0,"&rtri;"],[3,"&bigtriangledown;"],[0,"&blacktriangledown;"],[0,"&dtri;"],[2,"&blacktriangleleft;"],[0,"&ltri;"],[6,"&loz;"],[0,"&cir;"],[32,"&tridot;"],[2,"&bigcirc;"],[8,"&ultri;"],[0,"&urtri;"],[0,"&lltri;"],[0,"&EmptySmallSquare;"],[0,"&FilledSmallSquare;"],[8,"&bigstar;"],[0,"&star;"],[7,"&phone;"],[49,"&female;"],[1,"&male;"],[29,"&spades;"],[2,"&clubs;"],[1,"&hearts;"],[0,"&diamondsuit;"],[3,"&sung;"],[2,"&flat;"],[0,"&natural;"],[0,"&sharp;"],[163,"&check;"],[3,"&cross;"],[8,"&malt;"],[21,"&sext;"],[33,"&VerticalSeparator;"],[25,"&lbbrk;"],[0,"&rbbrk;"],[84,"&bsolhsub;"],[0,"&suphsol;"],[28,"&LeftDoubleBracket;"],[0,"&RightDoubleBracket;"],[0,"&lang;"],[0,"&rang;"],[0,"&Lang;"],[0,"&Rang;"],[0,"&loang;"],[0,"&roang;"],[7,"&longleftarrow;"],[0,"&longrightarrow;"],[0,"&longleftrightarrow;"],[0,"&DoubleLongLeftArrow;"],[0,"&DoubleLongRightArrow;"],[0,"&DoubleLongLeftRightArrow;"],[1,"&longmapsto;"],[2,"&dzigrarr;"],[258,"&nvlArr;"],[0,"&nvrArr;"],[0,"&nvHarr;"],[0,"&Map;"],[6,"&lbarr;"],[0,"&bkarow;"],[0,"&lBarr;"],[0,"&dbkarow;"],[0,"&drbkarow;"],[0,"&DDotrahd;"],[0,"&UpArrowBar;"],[0,"&DownArrowBar;"],[2,"&Rarrtl;"],[2,"&latail;"],[0,"&ratail;"],[0,"&lAtail;"],[0,"&rAtail;"],[0,"&larrfs;"],[0,"&rarrfs;"],[0,"&larrbfs;"],[0,"&rarrbfs;"],[2,"&nwarhk;"],[0,"&nearhk;"],[0,"&hksearow;"],[0,"&hkswarow;"],[0,"&nwnear;"],[0,"&nesear;"],[0,"&seswar;"],[0,"&swnwar;"],[8,{v:"&rarrc;",n:824,o:"&nrarrc;"}],[1,"&cudarrr;"],[0,"&ldca;"],[0,"&rdca;"],[0,"&cudarrl;"],[0,"&larrpl;"],[2,"&curarrm;"],[0,"&cularrp;"],[7,"&rarrpl;"],[2,"&harrcir;"],[0,"&Uarrocir;"],[0,"&lurdshar;"],[0,"&ldrushar;"],[2,"&LeftRightVector;"],[0,"&RightUpDownVector;"],[0,"&DownLeftRightVector;"],[0,"&LeftUpDownVector;"],[0,"&LeftVectorBar;"],[0,"&RightVectorBar;"],[0,"&RightUpVectorBar;"],[0,"&RightDownVectorBar;"],[0,"&DownLeftVectorBar;"],[0,"&DownRightVectorBar;"],[0,"&LeftUpVectorBar;"],[0,"&LeftDownVectorBar;"],[0,"&LeftTeeVector;"],[0,"&RightTeeVector;"],[0,"&RightUpTeeVector;"],[0,"&RightDownTeeVector;"],[0,"&DownLeftTeeVector;"],[0,"&DownRightTeeVector;"],[0,"&LeftUpTeeVector;"],[0,"&LeftDownTeeVector;"],[0,"&lHar;"],[0,"&uHar;"],[0,"&rHar;"],[0,"&dHar;"],[0,"&luruhar;"],[0,"&ldrdhar;"],[0,"&ruluhar;"],[0,"&rdldhar;"],[0,"&lharul;"],[0,"&llhard;"],[0,"&rharul;"],[0,"&lrhard;"],[0,"&udhar;"],[0,"&duhar;"],[0,"&RoundImplies;"],[0,"&erarr;"],[0,"&simrarr;"],[0,"&larrsim;"],[0,"&rarrsim;"],[0,"&rarrap;"],[0,"&ltlarr;"],[1,"&gtrarr;"],[0,"&subrarr;"],[1,"&suplarr;"],[0,"&lfisht;"],[0,"&rfisht;"],[0,"&ufisht;"],[0,"&dfisht;"],[5,"&lopar;"],[0,"&ropar;"],[4,"&lbrke;"],[0,"&rbrke;"],[0,"&lbrkslu;"],[0,"&rbrksld;"],[0,"&lbrksld;"],[0,"&rbrkslu;"],[0,"&langd;"],[0,"&rangd;"],[0,"&lparlt;"],[0,"&rpargt;"],[0,"&gtlPar;"],[0,"&ltrPar;"],[3,"&vzigzag;"],[1,"&vangrt;"],[0,"&angrtvbd;"],[6,"&ange;"],[0,"&range;"],[0,"&dwangle;"],[0,"&uwangle;"],[0,"&angmsdaa;"],[0,"&angmsdab;"],[0,"&angmsdac;"],[0,"&angmsdad;"],[0,"&angmsdae;"],[0,"&angmsdaf;"],[0,"&angmsdag;"],[0,"&angmsdah;"],[0,"&bemptyv;"],[0,"&demptyv;"],[0,"&cemptyv;"],[0,"&raemptyv;"],[0,"&laemptyv;"],[0,"&ohbar;"],[0,"&omid;"],[0,"&opar;"],[1,"&operp;"],[1,"&olcross;"],[0,"&odsold;"],[1,"&olcir;"],[0,"&ofcir;"],[0,"&olt;"],[0,"&ogt;"],[0,"&cirscir;"],[0,"&cirE;"],[0,"&solb;"],[0,"&bsolb;"],[3,"&boxbox;"],[3,"&trisb;"],[0,"&rtriltri;"],[0,{v:"&LeftTriangleBar;",n:824,o:"&NotLeftTriangleBar;"}],[0,{v:"&RightTriangleBar;",n:824,o:"&NotRightTriangleBar;"}],[11,"&iinfin;"],[0,"&infintie;"],[0,"&nvinfin;"],[4,"&eparsl;"],[0,"&smeparsl;"],[0,"&eqvparsl;"],[5,"&blacklozenge;"],[8,"&RuleDelayed;"],[1,"&dsol;"],[9,"&bigodot;"],[0,"&bigoplus;"],[0,"&bigotimes;"],[1,"&biguplus;"],[1,"&bigsqcup;"],[5,"&iiiint;"],[0,"&fpartint;"],[2,"&cirfnint;"],[0,"&awint;"],[0,"&rppolint;"],[0,"&scpolint;"],[0,"&npolint;"],[0,"&pointint;"],[0,"&quatint;"],[0,"&intlarhk;"],[10,"&pluscir;"],[0,"&plusacir;"],[0,"&simplus;"],[0,"&plusdu;"],[0,"&plussim;"],[0,"&plustwo;"],[1,"&mcomma;"],[0,"&minusdu;"],[2,"&loplus;"],[0,"&roplus;"],[0,"&Cross;"],[0,"&timesd;"],[0,"&timesbar;"],[1,"&smashp;"],[0,"&lotimes;"],[0,"&rotimes;"],[0,"&otimesas;"],[0,"&Otimes;"],[0,"&odiv;"],[0,"&triplus;"],[0,"&triminus;"],[0,"&tritime;"],[0,"&intprod;"],[2,"&amalg;"],[0,"&capdot;"],[1,"&ncup;"],[0,"&ncap;"],[0,"&capand;"],[0,"&cupor;"],[0,"&cupcap;"],[0,"&capcup;"],[0,"&cupbrcap;"],[0,"&capbrcup;"],[0,"&cupcup;"],[0,"&capcap;"],[0,"&ccups;"],[0,"&ccaps;"],[2,"&ccupssm;"],[2,"&And;"],[0,"&Or;"],[0,"&andand;"],[0,"&oror;"],[0,"&orslope;"],[0,"&andslope;"],[1,"&andv;"],[0,"&orv;"],[0,"&andd;"],[0,"&ord;"],[1,"&wedbar;"],[6,"&sdote;"],[3,"&simdot;"],[2,{v:"&congdot;",n:824,o:"&ncongdot;"}],[0,"&easter;"],[0,"&apacir;"],[0,{v:"&apE;",n:824,o:"&napE;"}],[0,"&eplus;"],[0,"&pluse;"],[0,"&Esim;"],[0,"&Colone;"],[0,"&Equal;"],[1,"&ddotseq;"],[0,"&equivDD;"],[0,"&ltcir;"],[0,"&gtcir;"],[0,"&ltquest;"],[0,"&gtquest;"],[0,{v:"&leqslant;",n:824,o:"&nleqslant;"}],[0,{v:"&geqslant;",n:824,o:"&ngeqslant;"}],[0,"&lesdot;"],[0,"&gesdot;"],[0,"&lesdoto;"],[0,"&gesdoto;"],[0,"&lesdotor;"],[0,"&gesdotol;"],[0,"&lap;"],[0,"&gap;"],[0,"&lne;"],[0,"&gne;"],[0,"&lnap;"],[0,"&gnap;"],[0,"&lEg;"],[0,"&gEl;"],[0,"&lsime;"],[0,"&gsime;"],[0,"&lsimg;"],[0,"&gsiml;"],[0,"&lgE;"],[0,"&glE;"],[0,"&lesges;"],[0,"&gesles;"],[0,"&els;"],[0,"&egs;"],[0,"&elsdot;"],[0,"&egsdot;"],[0,"&el;"],[0,"&eg;"],[2,"&siml;"],[0,"&simg;"],[0,"&simlE;"],[0,"&simgE;"],[0,{v:"&LessLess;",n:824,o:"&NotNestedLessLess;"}],[0,{v:"&GreaterGreater;",n:824,o:"&NotNestedGreaterGreater;"}],[1,"&glj;"],[0,"&gla;"],[0,"&ltcc;"],[0,"&gtcc;"],[0,"&lescc;"],[0,"&gescc;"],[0,"&smt;"],[0,"&lat;"],[0,{v:"&smte;",n:65024,o:"&smtes;"}],[0,{v:"&late;",n:65024,o:"&lates;"}],[0,"&bumpE;"],[0,{v:"&PrecedesEqual;",n:824,o:"&NotPrecedesEqual;"}],[0,{v:"&sce;",n:824,o:"&NotSucceedsEqual;"}],[2,"&prE;"],[0,"&scE;"],[0,"&precneqq;"],[0,"&scnE;"],[0,"&prap;"],[0,"&scap;"],[0,"&precnapprox;"],[0,"&scnap;"],[0,"&Pr;"],[0,"&Sc;"],[0,"&subdot;"],[0,"&supdot;"],[0,"&subplus;"],[0,"&supplus;"],[0,"&submult;"],[0,"&supmult;"],[0,"&subedot;"],[0,"&supedot;"],[0,{v:"&subE;",n:824,o:"&nsubE;"}],[0,{v:"&supE;",n:824,o:"&nsupE;"}],[0,"&subsim;"],[0,"&supsim;"],[2,{v:"&subnE;",n:65024,o:"&varsubsetneqq;"}],[0,{v:"&supnE;",n:65024,o:"&varsupsetneqq;"}],[2,"&csub;"],[0,"&csup;"],[0,"&csube;"],[0,"&csupe;"],[0,"&subsup;"],[0,"&supsub;"],[0,"&subsub;"],[0,"&supsup;"],[0,"&suphsub;"],[0,"&supdsub;"],[0,"&forkv;"],[0,"&topfork;"],[0,"&mlcp;"],[8,"&Dashv;"],[1,"&Vdashl;"],[0,"&Barv;"],[0,"&vBar;"],[0,"&vBarv;"],[1,"&Vbar;"],[0,"&Not;"],[0,"&bNot;"],[0,"&rnmid;"],[0,"&cirmid;"],[0,"&midcir;"],[0,"&topcir;"],[0,"&nhpar;"],[0,"&parsim;"],[9,{v:"&parsl;",n:8421,o:"&nparsl;"}],[44343,{n:new Map(n([[56476,"&Ascr;"],[1,"&Cscr;"],[0,"&Dscr;"],[2,"&Gscr;"],[2,"&Jscr;"],[0,"&Kscr;"],[2,"&Nscr;"],[0,"&Oscr;"],[0,"&Pscr;"],[0,"&Qscr;"],[1,"&Sscr;"],[0,"&Tscr;"],[0,"&Uscr;"],[0,"&Vscr;"],[0,"&Wscr;"],[0,"&Xscr;"],[0,"&Yscr;"],[0,"&Zscr;"],[0,"&ascr;"],[0,"&bscr;"],[0,"&cscr;"],[0,"&dscr;"],[1,"&fscr;"],[1,"&hscr;"],[0,"&iscr;"],[0,"&jscr;"],[0,"&kscr;"],[0,"&lscr;"],[0,"&mscr;"],[0,"&nscr;"],[1,"&pscr;"],[0,"&qscr;"],[0,"&rscr;"],[0,"&sscr;"],[0,"&tscr;"],[0,"&uscr;"],[0,"&vscr;"],[0,"&wscr;"],[0,"&xscr;"],[0,"&yscr;"],[0,"&zscr;"],[52,"&Afr;"],[0,"&Bfr;"],[1,"&Dfr;"],[0,"&Efr;"],[0,"&Ffr;"],[0,"&Gfr;"],[2,"&Jfr;"],[0,"&Kfr;"],[0,"&Lfr;"],[0,"&Mfr;"],[0,"&Nfr;"],[0,"&Ofr;"],[0,"&Pfr;"],[0,"&Qfr;"],[1,"&Sfr;"],[0,"&Tfr;"],[0,"&Ufr;"],[0,"&Vfr;"],[0,"&Wfr;"],[0,"&Xfr;"],[0,"&Yfr;"],[1,"&afr;"],[0,"&bfr;"],[0,"&cfr;"],[0,"&dfr;"],[0,"&efr;"],[0,"&ffr;"],[0,"&gfr;"],[0,"&hfr;"],[0,"&ifr;"],[0,"&jfr;"],[0,"&kfr;"],[0,"&lfr;"],[0,"&mfr;"],[0,"&nfr;"],[0,"&ofr;"],[0,"&pfr;"],[0,"&qfr;"],[0,"&rfr;"],[0,"&sfr;"],[0,"&tfr;"],[0,"&ufr;"],[0,"&vfr;"],[0,"&wfr;"],[0,"&xfr;"],[0,"&yfr;"],[0,"&zfr;"],[0,"&Aopf;"],[0,"&Bopf;"],[1,"&Dopf;"],[0,"&Eopf;"],[0,"&Fopf;"],[0,"&Gopf;"],[1,"&Iopf;"],[0,"&Jopf;"],[0,"&Kopf;"],[0,"&Lopf;"],[0,"&Mopf;"],[1,"&Oopf;"],[3,"&Sopf;"],[0,"&Topf;"],[0,"&Uopf;"],[0,"&Vopf;"],[0,"&Wopf;"],[0,"&Xopf;"],[0,"&Yopf;"],[1,"&aopf;"],[0,"&bopf;"],[0,"&copf;"],[0,"&dopf;"],[0,"&eopf;"],[0,"&fopf;"],[0,"&gopf;"],[0,"&hopf;"],[0,"&iopf;"],[0,"&jopf;"],[0,"&kopf;"],[0,"&lopf;"],[0,"&mopf;"],[0,"&nopf;"],[0,"&oopf;"],[0,"&popf;"],[0,"&qopf;"],[0,"&ropf;"],[0,"&sopf;"],[0,"&topf;"],[0,"&uopf;"],[0,"&vopf;"],[0,"&wopf;"],[0,"&xopf;"],[0,"&yopf;"],[0,"&zopf;"]]))}],[8906,"&fflig;"],[0,"&filig;"],[0,"&fllig;"],[0,"&ffilig;"],[0,"&ffllig;"]]))},9625:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.decodeXMLStrict=t.decodeHTML5Strict=t.decodeHTML4Strict=t.decodeHTML5=t.decodeHTML4=t.decodeHTMLAttribute=t.decodeHTMLStrict=t.decodeHTML=t.decodeXML=t.DecodingMode=t.EntityDecoder=t.encodeHTML5=t.encodeHTML4=t.encodeNonAsciiHTML=t.encodeHTML=t.escapeText=t.escapeAttribute=t.escapeUTF8=t.escape=t.encodeXML=t.encode=t.decodeStrict=t.decode=t.EncodingMode=t.EntityLevel=void 0;var r,i,o=n(9529),a=n(6336),s=n(2476);function l(e,t){if(void 0===t&&(t=r.XML),("number"==typeof t?t:t.level)===r.HTML){var n="object"==typeof t?t.mode:void 0;return(0,o.decodeHTML)(e,n)}return(0,o.decodeXML)(e)}!function(e){e[e.XML=0]="XML",e[e.HTML=1]="HTML"}(r=t.EntityLevel||(t.EntityLevel={})),function(e){e[e.UTF8=0]="UTF8",e[e.ASCII=1]="ASCII",e[e.Extensive=2]="Extensive",e[e.Attribute=3]="Attribute",e[e.Text=4]="Text"}(i=t.EncodingMode||(t.EncodingMode={})),t.decode=l,t.decodeStrict=function(e,t){var n;void 0===t&&(t=r.XML);var i="number"==typeof t?{level:t}:t;return null!==(n=i.mode)&&void 0!==n||(i.mode=o.DecodingMode.Strict),l(e,i)},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,a.encodeNonAsciiHTML)(e):(0,a.encodeHTML)(e):(0,s.encodeXML)(e)};var c=n(2476);Object.defineProperty(t,"encodeXML",{enumerable:!0,get:function(){return c.encodeXML}}),Object.defineProperty(t,"escape",{enumerable:!0,get:function(){return c.escape}}),Object.defineProperty(t,"escapeUTF8",{enumerable:!0,get:function(){return c.escapeUTF8}}),Object.defineProperty(t,"escapeAttribute",{enumerable:!0,get:function(){return c.escapeAttribute}}),Object.defineProperty(t,"escapeText",{enumerable:!0,get:function(){return c.escapeText}});var u=n(6336);Object.defineProperty(t,"encodeHTML",{enumerable:!0,get:function(){return u.encodeHTML}}),Object.defineProperty(t,"encodeNonAsciiHTML",{enumerable:!0,get:function(){return u.encodeNonAsciiHTML}}),Object.defineProperty(t,"encodeHTML4",{enumerable:!0,get:function(){return u.encodeHTML}}),Object.defineProperty(t,"encodeHTML5",{enumerable:!0,get:function(){return u.encodeHTML}});var d=n(9529);Object.defineProperty(t,"EntityDecoder",{enumerable:!0,get:function(){return d.EntityDecoder}}),Object.defineProperty(t,"DecodingMode",{enumerable:!0,get:function(){return d.DecodingMode}}),Object.defineProperty(t,"decodeXML",{enumerable:!0,get:function(){return d.decodeXML}}),Object.defineProperty(t,"decodeHTML",{enumerable:!0,get:function(){return d.decodeHTML}}),Object.defineProperty(t,"decodeHTMLStrict",{enumerable:!0,get:function(){return d.decodeHTMLStrict}}),Object.defineProperty(t,"decodeHTMLAttribute",{enumerable:!0,get:function(){return d.decodeHTMLAttribute}}),Object.defineProperty(t,"decodeHTML4",{enumerable:!0,get:function(){return d.decodeHTML}}),Object.defineProperty(t,"decodeHTML5",{enumerable:!0,get:function(){return d.decodeHTML}}),Object.defineProperty(t,"decodeHTML4Strict",{enumerable:!0,get:function(){return d.decodeHTMLStrict}}),Object.defineProperty(t,"decodeHTML5Strict",{enumerable:!0,get:function(){return d.decodeHTMLStrict}}),Object.defineProperty(t,"decodeXMLStrict",{enumerable:!0,get:function(){return d.decodeXML}})},5531:(e,t,n)=>{"use strict";var r=n(4687),i=n(3885),o=n(3225);e.exports=function(e){function t(e,n,a){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),r(e,Object)&&(e=(a=e).message,delete a.message,n=a.code),r(a,Object)?a.code=n:r(n,Object)?(a=n,n=void 0):r(n,void 0)||(a={code:n}),"string"==typeof e&&(e=o(e,["<",">"],a));var s=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 a&&i(a,(function(e,t){s[t]=e})),s}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,Error),t}()},38:(e,t,n)=>{"use strict";var r=n(215);!function(){var e="name";if("string"!=typeof r.name)try{Object.defineProperty(Function.prototype,e,{get:function(){var t=this.toString().trim().match(/^function\s*([^\s(]+)/),n=t?t[1]:"";return Object.defineProperty(this,e,{value:n}),n}})}catch(e){}}(),e.exports=function(e){return e.name}},5839:(e,t,n)=>{"use strict";var r=n(9185),i={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},o={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},a={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},s={};function l(e){return r.isMemo(e)?a:s[e.$$typeof]||i}s[r.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},s[r.Memo]=a;var c=Object.defineProperty,u=Object.getOwnPropertyNames,d=Object.getOwnPropertySymbols,f=Object.getOwnPropertyDescriptor,h=Object.getPrototypeOf,p=Object.prototype;e.exports=function e(t,n,r){if("string"!=typeof n){if(p){var i=h(n);i&&i!==p&&e(t,i,r)}var a=u(n);d&&(a=a.concat(d(n)));for(var s=l(t),m=l(n),g=0;g<a.length;++g){var b=a[g];if(!(o[b]||r&&r[b]||m&&m[b]||s&&s[b])){var v=f(n,b);try{c(t,b,v)}catch(e){}}}}return t}},7348:e=>{"use strict";e.exports=function(e){for(var t in e)if(e.hasOwnProperty(t))return!1;return!0}},3885:e=>{"use strict";var t="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e};e.exports=function(e,n){var r=0,i=[];if(Array.isArray(e))for(;r<e.length&&!1!==n(e[r],r,e);++r);else if("object"===(void 0===e?"undefined":t(e))&&null!==e)for(i=Object.keys(e);r<i.length&&!1!==n(e[i[r]],i[r],e);++r);}},5282:(e,t,n)=>{e=n.nmd(e);var r="__lodash_hash_undefined__",i=9007199254740991,o="[object Arguments]",a="[object AsyncFunction]",s="[object Function]",l="[object GeneratorFunction]",c="[object Null]",u="[object Object]",d="[object Proxy]",f="[object Undefined]",h=/^\[object .+?Constructor\]$/,p=/^(?:0|[1-9]\d*)$/,m={};m["[object Float32Array]"]=m["[object Float64Array]"]=m["[object Int8Array]"]=m["[object Int16Array]"]=m["[object Int32Array]"]=m["[object Uint8Array]"]=m["[object Uint8ClampedArray]"]=m["[object Uint16Array]"]=m["[object Uint32Array]"]=!0,m[o]=m["[object Array]"]=m["[object ArrayBuffer]"]=m["[object Boolean]"]=m["[object DataView]"]=m["[object Date]"]=m["[object Error]"]=m[s]=m["[object Map]"]=m["[object Number]"]=m[u]=m["[object RegExp]"]=m["[object Set]"]=m["[object String]"]=m["[object WeakMap]"]=!1;var g,b,v,y="object"==typeof n.g&&n.g&&n.g.Object===Object&&n.g,E="object"==typeof self&&self&&self.Object===Object&&self,T=y||E||Function("return this")(),_=t&&!t.nodeType&&t,A=_&&e&&!e.nodeType&&e,S=A&&A.exports===_,C=S&&y.process,I=function(){try{return A&&A.require&&A.require("util").types||C&&C.binding&&C.binding("util")}catch(e){}}(),w=I&&I.isTypedArray,x=Array.prototype,D=Function.prototype,k=Object.prototype,O=T["__core-js_shared__"],N=D.toString,P=k.hasOwnProperty,R=(g=/[^.]+$/.exec(O&&O.keys&&O.keys.IE_PROTO||""))?"Symbol(src)_1."+g:"",L=k.toString,M=N.call(Object),B=RegExp("^"+N.call(P).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),F=S?T.Buffer:void 0,G=T.Symbol,j=T.Uint8Array,H=(F&&F.allocUnsafe,b=Object.getPrototypeOf,v=Object,function(e){return b(v(e))}),U=Object.create,z=k.propertyIsEnumerable,V=x.splice,$=G?G.toStringTag:void 0,q=function(){try{var e=fe(Object,"defineProperty");return e({},"",{}),e}catch(e){}}(),W=F?F.isBuffer:void 0,Y=Math.max,K=Date.now,X=fe(T,"Map"),Q=fe(Object,"create"),Z=function(){function e(){}return function(t){if(!Se(t))return{};if(U)return U(t);e.prototype=t;var n=new e;return e.prototype=void 0,n}}();function J(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function ee(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function te(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function ne(e){var t=this.__data__=new ee(e);this.size=t.size}function re(e,t,n){(void 0!==n&&!be(e[t],n)||void 0===n&&!(t in e))&&ae(e,t,n)}function ie(e,t,n){var r=e[t];P.call(e,t)&&be(r,n)&&(void 0!==n||t in e)||ae(e,t,n)}function oe(e,t){for(var n=e.length;n--;)if(be(e[n][0],t))return n;return-1}function ae(e,t,n){"__proto__"==t&&q?q(e,t,{configurable:!0,enumerable:!0,value:n,writable:!0}):e[t]=n}J.prototype.clear=function(){this.__data__=Q?Q(null):{},this.size=0},J.prototype.delete=function(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t},J.prototype.get=function(e){var t=this.__data__;if(Q){var n=t[e];return n===r?void 0:n}return P.call(t,e)?t[e]:void 0},J.prototype.has=function(e){var t=this.__data__;return Q?void 0!==t[e]:P.call(t,e)},J.prototype.set=function(e,t){var n=this.__data__;return this.size+=this.has(e)?0:1,n[e]=Q&&void 0===t?r:t,this},ee.prototype.clear=function(){this.__data__=[],this.size=0},ee.prototype.delete=function(e){var t=this.__data__,n=oe(t,e);return!(n<0||(n==t.length-1?t.pop():V.call(t,n,1),--this.size,0))},ee.prototype.get=function(e){var t=this.__data__,n=oe(t,e);return n<0?void 0:t[n][1]},ee.prototype.has=function(e){return oe(this.__data__,e)>-1},ee.prototype.set=function(e,t){var n=this.__data__,r=oe(n,e);return r<0?(++this.size,n.push([e,t])):n[r][1]=t,this},te.prototype.clear=function(){this.size=0,this.__data__={hash:new J,map:new(X||ee),string:new J}},te.prototype.delete=function(e){var t=de(this,e).delete(e);return this.size-=t?1:0,t},te.prototype.get=function(e){return de(this,e).get(e)},te.prototype.has=function(e){return de(this,e).has(e)},te.prototype.set=function(e,t){var n=de(this,e),r=n.size;return n.set(e,t),this.size+=n.size==r?0:1,this},ne.prototype.clear=function(){this.__data__=new ee,this.size=0},ne.prototype.delete=function(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n},ne.prototype.get=function(e){return this.__data__.get(e)},ne.prototype.has=function(e){return this.__data__.has(e)},ne.prototype.set=function(e,t){var n=this.__data__;if(n instanceof ee){var r=n.__data__;if(!X||r.length<199)return r.push([e,t]),this.size=++n.size,this;n=this.__data__=new te(r)}return n.set(e,t),this.size=n.size,this};function se(e){return null==e?void 0===e?f:c:$&&$ in Object(e)?function(e){var t=P.call(e,$),n=e[$];try{e[$]=void 0;var r=!0}catch(e){}var i=L.call(e);return r&&(t?e[$]=n:delete e[$]),i}(e):function(e){return L.call(e)}(e)}function le(e){return Ce(e)&&se(e)==o}function ce(e,t,n,r,i){e!==t&&function(e,t,n){for(var r=-1,i=Object(e),o=n(e),a=o.length;a--;){var s=o[++r];if(!1===t(i[s],s,i))break}}(t,(function(o,a){if(i||(i=new ne),Se(o))!function(e,t,n,r,i,o,a){var s=me(e,n),l=me(t,n),c=a.get(l);if(c)re(e,n,c);else{var d,f,h,p,m,g=o?o(s,l,n+"",e,t,a):void 0,b=void 0===g;if(b){var v=ye(l),y=!v&&Te(l),E=!v&&!y&&Ie(l);g=l,v||y||E?ye(s)?g=s:Ce(m=s)&&Ee(m)?g=function(e,t){var n=-1,r=e.length;for(t||(t=Array(r));++n<r;)t[n]=e[n];return t}(s):y?(b=!1,g=function(e,t){return e.slice()}(l)):E?(b=!1,p=new(h=(d=l).buffer).constructor(h.byteLength),new j(p).set(new j(h)),f=p,g=new d.constructor(f,d.byteOffset,d.length)):g=[]:function(e){if(!Ce(e)||se(e)!=u)return!1;var t=H(e);if(null===t)return!0;var n=P.call(t,"constructor")&&t.constructor;return"function"==typeof n&&n instanceof n&&N.call(n)==M}(l)||ve(l)?(g=s,ve(s)?g=function(e){return function(e,t,n,r){var i=!n;n||(n={});for(var o=-1,a=t.length;++o<a;){var s=t[o],l=void 0;void 0===l&&(l=e[s]),i?ae(n,s,l):ie(n,s,l)}return n}(e,we(e))}(s):Se(s)&&!_e(s)||(g=function(e){return"function"!=typeof e.constructor||pe(e)?{}:Z(H(e))}(l))):b=!1}b&&(a.set(l,g),i(g,l,r,o,a),a.delete(l)),re(e,n,g)}}(e,t,a,n,ce,r,i);else{var s=r?r(me(e,a),o,a+"",e,t,i):void 0;void 0===s&&(s=o),re(e,a,s)}}),we)}var ue=q?function(e,t){return q(e,"toString",{configurable:!0,enumerable:!1,value:(n=t,function(){return n}),writable:!0});var n}:ke;function de(e,t){var n,r,i=e.__data__;return("string"==(r=typeof(n=t))||"number"==r||"symbol"==r||"boolean"==r?"__proto__"!==n:null===n)?i["string"==typeof t?"string":"hash"]:i.map}function fe(e,t){var n=function(e,t){return null==e?void 0:e[t]}(e,t);return function(e){return!(!Se(e)||function(e){return!!R&&R in e}(e))&&(_e(e)?B:h).test(function(e){if(null!=e){try{return N.call(e)}catch(e){}try{return e+""}catch(e){}}return""}(e))}(n)?n:void 0}function he(e,t){var n=typeof e;return!!(t=null==t?i:t)&&("number"==n||"symbol"!=n&&p.test(e))&&e>-1&&e%1==0&&e<t}function pe(e){var t=e&&e.constructor;return e===("function"==typeof t&&t.prototype||k)}function me(e,t){if(("constructor"!==t||"function"!=typeof e[t])&&"__proto__"!=t)return e[t]}var ge=function(e){var t=0,n=0;return function(){var r=K(),i=16-(r-n);if(n=r,i>0){if(++t>=800)return arguments[0]}else t=0;return e.apply(void 0,arguments)}}(ue);function be(e,t){return e===t||e!=e&&t!=t}var ve=le(function(){return arguments}())?le:function(e){return Ce(e)&&P.call(e,"callee")&&!z.call(e,"callee")},ye=Array.isArray;function Ee(e){return null!=e&&Ae(e.length)&&!_e(e)}var Te=W||function(){return!1};function _e(e){if(!Se(e))return!1;var t=se(e);return t==s||t==l||t==a||t==d}function Ae(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=i}function Se(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}function Ce(e){return null!=e&&"object"==typeof e}var Ie=w?function(e){return function(t){return e(t)}}(w):function(e){return Ce(e)&&Ae(e.length)&&!!m[se(e)]};function we(e){return Ee(e)?function(e,t){var n=ye(e),r=!n&&ve(e),i=!n&&!r&&Te(e),o=!n&&!r&&!i&&Ie(e),a=n||r||i||o,s=a?function(e,t){for(var n=-1,r=Array(e);++n<e;)r[n]=t(n);return r}(e.length,String):[],l=s.length;for(var c in e)!t&&!P.call(e,c)||a&&("length"==c||i&&("offset"==c||"parent"==c)||o&&("buffer"==c||"byteLength"==c||"byteOffset"==c)||he(c,l))||s.push(c);return s}(e,!0):function(e){if(!Se(e))return function(e){var t=[];if(null!=e)for(var n in Object(e))t.push(n);return t}(e);var t=pe(e),n=[];for(var r in e)("constructor"!=r||!t&&P.call(e,r))&&n.push(r);return n}(e)}var xe,De=(xe=function(e,t,n,r){ce(e,t,n,r)},function(e,t){return ge(function(e,t,n){return t=Y(void 0===t?e.length-1:t,0),function(){for(var r=arguments,i=-1,o=Y(r.length-t,0),a=Array(o);++i<o;)a[i]=r[t+i];i=-1;for(var s=Array(t+1);++i<t;)s[i]=r[i];return s[t]=n(a),function(e,t,n){switch(n.length){case 0:return e.call(t);case 1:return e.call(t,n[0]);case 2:return e.call(t,n[0],n[1]);case 3:return e.call(t,n[0],n[1],n[2])}return e.apply(t,n)}(e,this,s)}}(e,t,ke),e+"")}((function(e,t){var n=-1,r=t.length,i=r>1?t[r-1]:void 0,o=r>2?t[2]:void 0;for(i=xe.length>3&&"function"==typeof i?(r--,i):void 0,o&&function(e,t,n){if(!Se(n))return!1;var r=typeof t;return!!("number"==r?Ee(n)&&he(t,n.length):"string"==r&&t in n)&&be(n[t],e)}(t[0],t[1],o)&&(i=r<3?void 0:i,r=1),e=Object(e);++n<r;){var a=t[n];a&&xe(e,a,n,i)}return e})));function ke(e){return e}e.exports=De},215:e=>{"use strict";e.exports=function(){}},1404: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.generate=t.compile=void 0;var i=r(n(9377));t.compile=function(e){var t=e[0],n=e[1]-1;if(n<0&&t<=0)return i.default.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?i.default.trueFunc:function(e){return e>=n};var r=Math.abs(t),o=(n%r+r)%r;return t>1?function(e){return e>=n&&e%r===o}:function(e){return e<=n&&e%r===o}},t.generate=function(e){var t=e[0],n=e[1]-1,r=0;if(t<0){var i=-t,o=(n%i+i)%i;return function(){var e=o+i*r++;return e>n?null:e}}return 0===t?n<0?function(){return null}:function(){return 0==r++?n:null}:(n<0&&(n+=t*Math.ceil(-n/t)),function(){return t*r+++n})}},364:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.sequence=t.generate=t.compile=t.parse=void 0;var r=n(4912);Object.defineProperty(t,"parse",{enumerable:!0,get:function(){return r.parse}});var i=n(1404);Object.defineProperty(t,"compile",{enumerable:!0,get:function(){return i.compile}}),Object.defineProperty(t,"generate",{enumerable:!0,get:function(){return i.generate}}),t.default=function(e){return(0,i.compile)((0,r.parse)(e))},t.sequence=function(e){return(0,i.generate)((0,r.parse)(e))}},4912:(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),i="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,o=0,a=l(),s=c();if(t<e.length&&"n"===e.charAt(t)&&(t++,o=a*(null!=s?s:1),u(),t<e.length?(a=l(),u(),s=c()):a=s=0),null===s||t<e.length)throw new Error("n-th rule couldn't be parsed ('".concat(e,"')"));return[o,a*s];function l(){return"-"===e.charAt(t)?(t++,-1):("+"===e.charAt(t)&&t++,1)}function c(){for(var n=t,o=0;t<e.length&&e.charCodeAt(t)>=r&&e.charCodeAt(t)<=i;)o=10*o+(e.charCodeAt(t)-r),t++;return t===n?null:o}function u(){for(;t<e.length&&n.has(e.charCodeAt(t));)t++}}},2893:(e,t,n)=>{"use strict";var r=n(1383);e.exports=function(e,t,n,i){if(["__proto__","constructor","prototype"].includes(t))throw new Error("Restricted setting magical attributes");return e[t]=r(e[t],n,i)}},3577:(e,t,n)=>{"use strict";var r=n(7378),i=n(1102);function o(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,s={};function l(e,t){c(e,t),c(e+"Capture",t)}function c(e,t){for(s[e]=t,e=0;e<t.length;e++)a.add(t[e])}var u=!("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]*$/,h={},p={};function m(e,t,n,r,i,o,a){this.acceptsBooleans=2===t||3===t||4===t,this.attributeName=r,this.attributeNamespace=i,this.mustUseProperty=n,this.propertyName=e,this.type=t,this.sanitizeURL=o,this.removeEmptyString=a}var g={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach((function(e){g[e]=new m(e,0,!1,e,null,!1,!1)})),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach((function(e){var t=e[0];g[t]=new m(t,1,!1,e[1],null,!1,!1)})),["contentEditable","draggable","spellCheck","value"].forEach((function(e){g[e]=new m(e,2,!1,e.toLowerCase(),null,!1,!1)})),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach((function(e){g[e]=new m(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){g[e]=new m(e,3,!1,e.toLowerCase(),null,!1,!1)})),["checked","multiple","muted","selected"].forEach((function(e){g[e]=new m(e,3,!0,e,null,!1,!1)})),["capture","download"].forEach((function(e){g[e]=new m(e,4,!1,e,null,!1,!1)})),["cols","rows","size","span"].forEach((function(e){g[e]=new m(e,6,!1,e,null,!1,!1)})),["rowSpan","start"].forEach((function(e){g[e]=new m(e,5,!1,e.toLowerCase(),null,!1,!1)}));var b=/[\-:]([a-z])/g;function v(e){return e[1].toUpperCase()}function y(e,t,n,r){var i=g.hasOwnProperty(t)?g[t]:null;(null!==i?0!==i.type:r||!(2<t.length)||"o"!==t[0]&&"O"!==t[0]||"n"!==t[1]&&"N"!==t[1])&&(function(e,t,n,r){if(null==t||function(e,t,n,r){if(null!==n&&0===n.type)return!1;switch(typeof t){case"function":case"symbol":return!0;case"boolean":return!r&&(null!==n?!n.acceptsBooleans:"data-"!==(e=e.toLowerCase().slice(0,5))&&"aria-"!==e);default:return!1}}(e,t,n,r))return!0;if(r)return!1;if(null!==n)switch(n.type){case 3:return!t;case 4:return!1===t;case 5:return isNaN(t);case 6:return isNaN(t)||1>t}return!1}(t,n,i,r)&&(n=null),r||null===i?function(e){return!!d.call(p,e)||!d.call(h,e)&&(f.test(e)?p[e]=!0:(h[e]=!0,!1))}(t)&&(null===n?e.removeAttribute(t):e.setAttribute(t,""+n)):i.mustUseProperty?e[i.propertyName]=null===n?3!==i.type&&"":n:(t=i.attributeName,r=i.attributeNamespace,null===n?e.removeAttribute(t):(n=3===(i=i.type)||4===i&&!0===n?"":""+n,r?e.setAttributeNS(r,t,n):e.setAttribute(t,n))))}"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(b,v);g[t]=new m(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(b,v);g[t]=new m(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(b,v);g[t]=new m(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)})),["tabIndex","crossOrigin"].forEach((function(e){g[e]=new m(e,1,!1,e.toLowerCase(),null,!1,!1)})),g.xlinkHref=new m("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach((function(e){g[e]=new m(e,1,!1,e.toLowerCase(),null,!0,!0)}));var E=r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,T=Symbol.for("react.element"),_=Symbol.for("react.portal"),A=Symbol.for("react.fragment"),S=Symbol.for("react.strict_mode"),C=Symbol.for("react.profiler"),I=Symbol.for("react.provider"),w=Symbol.for("react.context"),x=Symbol.for("react.forward_ref"),D=Symbol.for("react.suspense"),k=Symbol.for("react.suspense_list"),O=Symbol.for("react.memo"),N=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 R=Symbol.iterator;function L(e){return null===e||"object"!=typeof e?null:"function"==typeof(e=R&&e[R]||e["@@iterator"])?e:null}var M,B=Object.assign;function F(e){if(void 0===M)try{throw Error()}catch(e){var t=e.stack.trim().match(/\n( *(at )?)/);M=t&&t[1]||""}return"\n"+M+e}var G=!1;function j(e,t){if(!e||G)return"";G=!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 i=t.stack.split("\n"),o=r.stack.split("\n"),a=i.length-1,s=o.length-1;1<=a&&0<=s&&i[a]!==o[s];)s--;for(;1<=a&&0<=s;a--,s--)if(i[a]!==o[s]){if(1!==a||1!==s)do{if(a--,0>--s||i[a]!==o[s]){var l="\n"+i[a].replace(" at new "," at ");return e.displayName&&l.includes("<anonymous>")&&(l=l.replace("<anonymous>",e.displayName)),l}}while(1<=a&&0<=s);break}}}finally{G=!1,Error.prepareStackTrace=n}return(e=e?e.displayName||e.name:"")?F(e):""}function H(e){switch(e.tag){case 5:return F(e.type);case 16:return F("Lazy");case 13:return F("Suspense");case 19:return F("SuspenseList");case 0:case 2:case 15:return j(e.type,!1);case 11:return j(e.type.render,!1);case 1:return j(e.type,!0);default:return""}}function U(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 A:return"Fragment";case _:return"Portal";case C:return"Profiler";case S:return"StrictMode";case D:return"Suspense";case k:return"SuspenseList"}if("object"==typeof e)switch(e.$$typeof){case w:return(e.displayName||"Context")+".Consumer";case I:return(e._context.displayName||"Context")+".Provider";case x: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:U(e.type)||"Memo";case N:t=e._payload,e=e._init;try{return U(e(t))}catch(e){}}return null}function z(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 U(t);case 8:return t===S?"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 V(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":case"object":return e;default:return""}}function $(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=$(e)?"checked":"value",n=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),r=""+e[t];if(!e.hasOwnProperty(t)&&void 0!==n&&"function"==typeof n.get&&"function"==typeof n.set){var i=n.get,o=n.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return i.call(this)},set:function(e){r=""+e,o.call(this,e)}}),Object.defineProperty(e,t,{enumerable:n.enumerable}),{getValue:function(){return r},setValue:function(e){r=""+e},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}(e))}function W(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=$(e)?e.checked?"true":"false":e.value),(e=r)!==n&&(t.setValue(e),!0)}function Y(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 K(e,t){var n=t.checked;return B({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:null!=n?n:e._wrapperState.initialChecked})}function X(e,t){var n=null==t.defaultValue?"":t.defaultValue,r=null!=t.checked?t.checked:t.defaultChecked;n=V(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 Q(e,t){null!=(t=t.checked)&&y(e,"checked",t,!1)}function Z(e,t){Q(e,t);var n=V(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,V(t.defaultValue)),null==t.checked&&null!=t.defaultChecked&&(e.defaultChecked=!!t.defaultChecked)}function J(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&&Y(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 i=0;i<n.length;i++)t["$"+n[i]]=!0;for(n=0;n<e.length;n++)i=t.hasOwnProperty("$"+e[n].value),e[n].selected!==i&&(e[n].selected=i),i&&r&&(e[n].defaultSelected=!0)}else{for(n=""+V(n),t=null,i=0;i<e.length;i++){if(e[i].value===n)return e[i].selected=!0,void(r&&(e[i].defaultSelected=!0));null!==t||e[i].disabled||(t=e[i])}null!==t&&(t.selected=!0)}}function re(e,t){if(null!=t.dangerouslySetInnerHTML)throw Error(o(91));return B({},t,{value:void 0,defaultValue:void 0,children:""+e._wrapperState.initialValue})}function ie(e,t){var n=t.value;if(null==n){if(n=t.children,t=t.defaultValue,null!=n){if(null!=t)throw Error(o(92));if(te(n)){if(1<n.length)throw Error(o(93));n=n[0]}t=n}null==t&&(t=""),n=t}e._wrapperState={initialValue:V(n)}}function oe(e,t){var n=V(t.value),r=V(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 se(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 le(e,t){return null==e||"http://www.w3.org/1999/xhtml"===e?se(t):"http://www.w3.org/2000/svg"===e&&"foreignObject"===t?"http://www.w3.org/1999/xhtml":e}var ce,ue,de=(ue=function(e,t){if("http://www.w3.org/2000/svg"!==e.namespaceURI||"innerHTML"in e)e.innerHTML=t;else{for((ce=ce||document.createElement("div")).innerHTML="<svg>"+t.valueOf().toString()+"</svg>",t=ce.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 ue(e,t)}))}:ue);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 he={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},pe=["Webkit","ms","Moz","O"];function me(e,t,n){return null==t||"boolean"==typeof t||""===t?"":n||"number"!=typeof t||0===t||he.hasOwnProperty(e)&&he[e]?(""+t).trim():t+"px"}function ge(e,t){for(var n in e=e.style,t)if(t.hasOwnProperty(n)){var r=0===n.indexOf("--"),i=me(n,t[n],r);"float"===n&&(n="cssFloat"),r?e.setProperty(n,i):e[n]=i}}Object.keys(he).forEach((function(e){pe.forEach((function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),he[t]=he[e]}))}));var be=B({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 ve(e,t){if(t){if(be[e]&&(null!=t.children||null!=t.dangerouslySetInnerHTML))throw Error(o(137,e));if(null!=t.dangerouslySetInnerHTML){if(null!=t.children)throw Error(o(60));if("object"!=typeof t.dangerouslySetInnerHTML||!("__html"in t.dangerouslySetInnerHTML))throw Error(o(61))}if(null!=t.style&&"object"!=typeof t.style)throw Error(o(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 Ee=null;function Te(e){return(e=e.target||e.srcElement||window).correspondingUseElement&&(e=e.correspondingUseElement),3===e.nodeType?e.parentNode:e}var _e=null,Ae=null,Se=null;function Ce(e){if(e=yi(e)){if("function"!=typeof _e)throw Error(o(280));var t=e.stateNode;t&&(t=Ti(t),_e(e.stateNode,e.type,t))}}function Ie(e){Ae?Se?Se.push(e):Se=[e]:Ae=e}function we(){if(Ae){var e=Ae,t=Se;if(Se=Ae=null,Ce(e),t)for(e=0;e<t.length;e++)Ce(t[e])}}function xe(e,t){return e(t)}function De(){}var ke=!1;function Oe(e,t,n){if(ke)return e(t,n);ke=!0;try{return xe(e,t,n)}finally{ke=!1,(null!==Ae||null!==Se)&&(De(),we())}}function Ne(e,t){var n=e.stateNode;if(null===n)return null;var r=Ti(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(o(231,t,typeof n));return n}var Pe=!1;if(u)try{var Re={};Object.defineProperty(Re,"passive",{get:function(){Pe=!0}}),window.addEventListener("test",Re,Re),window.removeEventListener("test",Re,Re)}catch(ue){Pe=!1}function Le(e,t,n,r,i,o,a,s,l){var c=Array.prototype.slice.call(arguments,3);try{t.apply(n,c)}catch(e){this.onError(e)}}var Me=!1,Be=null,Fe=!1,Ge=null,je={onError:function(e){Me=!0,Be=e}};function He(e,t,n,r,i,o,a,s,l){Me=!1,Be=null,Le.apply(je,arguments)}function Ue(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 ze(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 Ve(e){if(Ue(e)!==e)throw Error(o(188))}function $e(e){return null!==(e=function(e){var t=e.alternate;if(!t){if(null===(t=Ue(e)))throw Error(o(188));return t!==e?null:e}for(var n=e,r=t;;){var i=n.return;if(null===i)break;var a=i.alternate;if(null===a){if(null!==(r=i.return)){n=r;continue}break}if(i.child===a.child){for(a=i.child;a;){if(a===n)return Ve(i),e;if(a===r)return Ve(i),t;a=a.sibling}throw Error(o(188))}if(n.return!==r.return)n=i,r=a;else{for(var s=!1,l=i.child;l;){if(l===n){s=!0,n=i,r=a;break}if(l===r){s=!0,r=i,n=a;break}l=l.sibling}if(!s){for(l=a.child;l;){if(l===n){s=!0,n=a,r=i;break}if(l===r){s=!0,r=a,n=i;break}l=l.sibling}if(!s)throw Error(o(189))}}if(n.alternate!==r)throw Error(o(190))}if(3!==n.tag)throw Error(o(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 We=i.unstable_scheduleCallback,Ye=i.unstable_cancelCallback,Ke=i.unstable_shouldYield,Xe=i.unstable_requestPaint,Qe=i.unstable_now,Ze=i.unstable_getCurrentPriorityLevel,Je=i.unstable_ImmediatePriority,et=i.unstable_UserBlockingPriority,tt=i.unstable_NormalPriority,nt=i.unstable_LowPriority,rt=i.unstable_IdlePriority,it=null,ot=null,at=Math.clz32?Math.clz32:function(e){return 0===(e>>>=0)?32:31-(st(e)/lt|0)|0},st=Math.log,lt=Math.LN2,ct=64,ut=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,i=e.suspendedLanes,o=e.pingedLanes,a=268435455&n;if(0!==a){var s=a&~i;0!==s?r=dt(s):0!=(o&=a)&&(r=dt(o))}else 0!=(a=n&~i)?r=dt(a):0!==o&&(r=dt(o));if(0===r)return 0;if(0!==t&&t!==r&&0==(t&i)&&((i=r&-r)>=(o=t&-t)||16===i&&0!=(4194240&o)))return t;if(0!=(4&r)&&(r|=16&n),0!==(t=e.entangledLanes))for(e=e.entanglements,t&=r;0<t;)i=1<<(n=31-at(t)),r|=e[n],t&=~i;return r}function ht(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 pt(e){return 0!=(e=-1073741825&e.pendingLanes)?e:1073741824&e?1073741824:0}function mt(){var e=ct;return 0==(4194240&(ct<<=1))&&(ct=64),e}function gt(e){for(var t=[],n=0;31>n;n++)t.push(e);return t}function bt(e,t,n){e.pendingLanes|=t,536870912!==t&&(e.suspendedLanes=0,e.pingedLanes=0),(e=e.eventTimes)[t=31-at(t)]=n}function vt(e,t){var n=e.entangledLanes|=t;for(e=e.entanglements;n;){var r=31-at(n),i=1<<r;i&t|e[r]&t&&(e[r]|=t),n&=~i}}var yt=0;function Et(e){return 1<(e&=-e)?4<e?0!=(268435455&e)?16:536870912:4:1}var Tt,_t,At,St,Ct,It=!1,wt=[],xt=null,Dt=null,kt=null,Ot=new Map,Nt=new Map,Pt=[],Rt="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 Lt(e,t){switch(e){case"focusin":case"focusout":xt=null;break;case"dragenter":case"dragleave":Dt=null;break;case"mouseover":case"mouseout":kt=null;break;case"pointerover":case"pointerout":Ot.delete(t.pointerId);break;case"gotpointercapture":case"lostpointercapture":Nt.delete(t.pointerId)}}function Mt(e,t,n,r,i,o){return null===e||e.nativeEvent!==o?(e={blockedOn:t,domEventName:n,eventSystemFlags:r,nativeEvent:o,targetContainers:[i]},null!==t&&null!==(t=yi(t))&&_t(t),e):(e.eventSystemFlags|=r,t=e.targetContainers,null!==i&&-1===t.indexOf(i)&&t.push(i),e)}function Bt(e){var t=vi(e.target);if(null!==t){var n=Ue(t);if(null!==n)if(13===(t=n.tag)){if(null!==(t=ze(n)))return e.blockedOn=t,void Ct(e.priority,(function(){At(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 Ft(e){if(null!==e.blockedOn)return!1;for(var t=e.targetContainers;0<t.length;){var n=Kt(e.domEventName,e.eventSystemFlags,t[0],e.nativeEvent);if(null!==n)return null!==(t=yi(n))&&_t(t),e.blockedOn=n,!1;var r=new(n=e.nativeEvent).constructor(n.type,n);Ee=r,n.target.dispatchEvent(r),Ee=null,t.shift()}return!0}function Gt(e,t,n){Ft(e)&&n.delete(t)}function jt(){It=!1,null!==xt&&Ft(xt)&&(xt=null),null!==Dt&&Ft(Dt)&&(Dt=null),null!==kt&&Ft(kt)&&(kt=null),Ot.forEach(Gt),Nt.forEach(Gt)}function Ht(e,t){e.blockedOn===t&&(e.blockedOn=null,It||(It=!0,i.unstable_scheduleCallback(i.unstable_NormalPriority,jt)))}function Ut(e){function t(t){return Ht(t,e)}if(0<wt.length){Ht(wt[0],e);for(var n=1;n<wt.length;n++){var r=wt[n];r.blockedOn===e&&(r.blockedOn=null)}}for(null!==xt&&Ht(xt,e),null!==Dt&&Ht(Dt,e),null!==kt&&Ht(kt,e),Ot.forEach(t),Nt.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;)Bt(n),null===n.blockedOn&&Pt.shift()}var zt=E.ReactCurrentBatchConfig,Vt=!0;function $t(e,t,n,r){var i=yt,o=zt.transition;zt.transition=null;try{yt=1,Wt(e,t,n,r)}finally{yt=i,zt.transition=o}}function qt(e,t,n,r){var i=yt,o=zt.transition;zt.transition=null;try{yt=4,Wt(e,t,n,r)}finally{yt=i,zt.transition=o}}function Wt(e,t,n,r){if(Vt){var i=Kt(e,t,n,r);if(null===i)Vr(e,t,r,Yt,n),Lt(e,r);else if(function(e,t,n,r,i){switch(t){case"focusin":return xt=Mt(xt,e,t,n,r,i),!0;case"dragenter":return Dt=Mt(Dt,e,t,n,r,i),!0;case"mouseover":return kt=Mt(kt,e,t,n,r,i),!0;case"pointerover":var o=i.pointerId;return Ot.set(o,Mt(Ot.get(o)||null,e,t,n,r,i)),!0;case"gotpointercapture":return o=i.pointerId,Nt.set(o,Mt(Nt.get(o)||null,e,t,n,r,i)),!0}return!1}(i,e,t,n,r))r.stopPropagation();else if(Lt(e,r),4&t&&-1<Rt.indexOf(e)){for(;null!==i;){var o=yi(i);if(null!==o&&Tt(o),null===(o=Kt(e,t,n,r))&&Vr(e,t,r,Yt,n),o===i)break;i=o}null!==i&&r.stopPropagation()}else Vr(e,t,r,null,n)}}var Yt=null;function Kt(e,t,n,r){if(Yt=null,null!==(e=vi(e=Te(r))))if(null===(t=Ue(e)))e=null;else if(13===(n=t.tag)){if(null!==(e=ze(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 Yt=e,null}function Xt(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(Ze()){case Je:return 1;case et:return 4;case tt:case nt:return 16;case rt:return 536870912;default:return 16}default:return 16}}var Qt=null,Zt=null,Jt=null;function en(){if(Jt)return Jt;var e,t,n=Zt,r=n.length,i="value"in Qt?Qt.value:Qt.textContent,o=i.length;for(e=0;e<r&&n[e]===i[e];e++);var a=r-e;for(t=1;t<=a&&n[r-t]===i[o-t];t++);return Jt=i.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,i,o){for(var a in this._reactName=t,this._targetInst=r,this.type=n,this.nativeEvent=i,this.target=o,this.currentTarget=null,e)e.hasOwnProperty(a)&&(t=e[a],this[a]=t?t(i):i[a]);return this.isDefaultPrevented=(null!=i.defaultPrevented?i.defaultPrevented:!1===i.returnValue)?nn:rn,this.isPropagationStopped=rn,this}return B(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,sn,ln,cn={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},un=on(cn),dn=B({},cn,{view:0,detail:0}),fn=on(dn),hn=B({},dn,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:Cn,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!==ln&&(ln&&"mousemove"===e.type?(an=e.screenX-ln.screenX,sn=e.screenY-ln.screenY):sn=an=0,ln=e),an)},movementY:function(e){return"movementY"in e?e.movementY:sn}}),pn=on(hn),mn=on(B({},hn,{dataTransfer:0})),gn=on(B({},dn,{relatedTarget:0})),bn=on(B({},cn,{animationName:0,elapsedTime:0,pseudoElement:0})),vn=B({},cn,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),yn=on(vn),En=on(B({},cn,{data:0})),Tn={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},_n={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"},An={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function Sn(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):!!(e=An[e])&&!!t[e]}function Cn(){return Sn}var In=B({},dn,{key:function(e){if(e.key){var t=Tn[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?_n[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:Cn,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}}),wn=on(In),xn=on(B({},hn,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0})),Dn=on(B({},dn,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:Cn})),kn=on(B({},cn,{propertyName:0,elapsedTime:0,pseudoElement:0})),On=B({},hn,{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}),Nn=on(On),Pn=[9,13,27,32],Rn=u&&"CompositionEvent"in window,Ln=null;u&&"documentMode"in document&&(Ln=document.documentMode);var Mn=u&&"TextEvent"in window&&!Ln,Bn=u&&(!Rn||Ln&&8<Ln&&11>=Ln),Fn=String.fromCharCode(32),Gn=!1;function jn(e,t){switch(e){case"keyup":return-1!==Pn.indexOf(t.keyCode);case"keydown":return 229!==t.keyCode;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function Hn(e){return"object"==typeof(e=e.detail)&&"data"in e?e.data:null}var Un=!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 Vn(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return"input"===t?!!zn[e.type]:"textarea"===t}function $n(e,t,n,r){Ie(r),0<(t=qr(t,"onChange")).length&&(n=new un("onChange","change",null,n,r),e.push({event:n,listeners:t}))}var qn=null,Wn=null;function Yn(e){Fr(e,0)}function Kn(e){if(W(Ei(e)))return e}function Xn(e,t){if("change"===e)return t}var Qn=!1;if(u){var Zn;if(u){var Jn="oninput"in document;if(!Jn){var er=document.createElement("div");er.setAttribute("oninput","return;"),Jn="function"==typeof er.oninput}Zn=Jn}else Zn=!1;Qn=Zn&&(!document.documentMode||9<document.documentMode)}function tr(){qn&&(qn.detachEvent("onpropertychange",nr),Wn=qn=null)}function nr(e){if("value"===e.propertyName&&Kn(Wn)){var t=[];$n(t,Wn,e,Te(e)),Oe(Yn,t)}}function rr(e,t,n){"focusin"===e?(tr(),Wn=n,(qn=t).attachEvent("onpropertychange",nr)):"focusout"===e&&tr()}function ir(e){if("selectionchange"===e||"keyup"===e||"keydown"===e)return Kn(Wn)}function or(e,t){if("click"===e)return Kn(t)}function ar(e,t){if("input"===e||"change"===e)return Kn(t)}var sr="function"==typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t};function lr(e,t){if(sr(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 i=n[r];if(!d.call(t,i)||!sr(e[i],t[i]))return!1}return!0}function cr(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function ur(e,t){var n,r=cr(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=cr(r)}}function dr(e,t){return!(!e||!t)&&(e===t||(!e||3!==e.nodeType)&&(t&&3===t.nodeType?dr(e,t.parentNode):"contains"in e?e.contains(t):!!e.compareDocumentPosition&&!!(16&e.compareDocumentPosition(t))))}function fr(){for(var e=window,t=Y();t instanceof e.HTMLIFrameElement;){try{var n="string"==typeof t.contentWindow.location.href}catch(e){n=!1}if(!n)break;t=Y((e=t.contentWindow).document)}return t}function hr(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 pr(e){var t=fr(),n=e.focusedElem,r=e.selectionRange;if(t!==n&&n&&n.ownerDocument&&dr(n.ownerDocument.documentElement,n)){if(null!==r&&hr(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 i=n.textContent.length,o=Math.min(r.start,i);r=void 0===r.end?o:Math.min(r.end,i),!e.extend&&o>r&&(i=r,r=o,o=i),i=ur(n,o);var a=ur(n,r);i&&a&&(1!==e.rangeCount||e.anchorNode!==i.node||e.anchorOffset!==i.offset||e.focusNode!==a.node||e.focusOffset!==a.offset)&&((t=t.createRange()).setStart(i.node,i.offset),e.removeAllRanges(),o>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 mr=u&&"documentMode"in document&&11>=document.documentMode,gr=null,br=null,vr=null,yr=!1;function Er(e,t,n){var r=n.window===n?n.document:9===n.nodeType?n:n.ownerDocument;yr||null==gr||gr!==Y(r)||(r="selectionStart"in(r=gr)&&hr(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},vr&&lr(vr,r)||(vr=r,0<(r=qr(br,"onSelect")).length&&(t=new un("onSelect","select",null,t,n),e.push({event:t,listeners:r}),t.target=gr)))}function Tr(e,t){var n={};return n[e.toLowerCase()]=t.toLowerCase(),n["Webkit"+e]="webkit"+t,n["Moz"+e]="moz"+t,n}var _r={animationend:Tr("Animation","AnimationEnd"),animationiteration:Tr("Animation","AnimationIteration"),animationstart:Tr("Animation","AnimationStart"),transitionend:Tr("Transition","TransitionEnd")},Ar={},Sr={};function Cr(e){if(Ar[e])return Ar[e];if(!_r[e])return e;var t,n=_r[e];for(t in n)if(n.hasOwnProperty(t)&&t in Sr)return Ar[e]=n[t];return e}u&&(Sr=document.createElement("div").style,"AnimationEvent"in window||(delete _r.animationend.animation,delete _r.animationiteration.animation,delete _r.animationstart.animation),"TransitionEvent"in window||delete _r.transitionend.transition);var Ir=Cr("animationend"),wr=Cr("animationiteration"),xr=Cr("animationstart"),Dr=Cr("transitionend"),kr=new Map,Or="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 Nr(e,t){kr.set(e,t),l(t,[e])}for(var Pr=0;Pr<Or.length;Pr++){var Rr=Or[Pr];Nr(Rr.toLowerCase(),"on"+(Rr[0].toUpperCase()+Rr.slice(1)))}Nr(Ir,"onAnimationEnd"),Nr(wr,"onAnimationIteration"),Nr(xr,"onAnimationStart"),Nr("dblclick","onDoubleClick"),Nr("focusin","onFocus"),Nr("focusout","onBlur"),Nr(Dr,"onTransitionEnd"),c("onMouseEnter",["mouseout","mouseover"]),c("onMouseLeave",["mouseout","mouseover"]),c("onPointerEnter",["pointerout","pointerover"]),c("onPointerLeave",["pointerout","pointerover"]),l("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),l("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),l("onBeforeInput",["compositionend","keypress","textInput","paste"]),l("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),l("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),l("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var Lr="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(" "),Mr=new Set("cancel close invalid load scroll toggle".split(" ").concat(Lr));function Br(e,t,n){var r=e.type||"unknown-event";e.currentTarget=n,function(e,t,n,r,i,a,s,l,c){if(He.apply(this,arguments),Me){if(!Me)throw Error(o(198));var u=Be;Me=!1,Be=null,Fe||(Fe=!0,Ge=u)}}(r,t,void 0,e),e.currentTarget=null}function Fr(e,t){t=0!=(4&t);for(var n=0;n<e.length;n++){var r=e[n],i=r.event;r=r.listeners;e:{var o=void 0;if(t)for(var a=r.length-1;0<=a;a--){var s=r[a],l=s.instance,c=s.currentTarget;if(s=s.listener,l!==o&&i.isPropagationStopped())break e;Br(i,s,c),o=l}else for(a=0;a<r.length;a++){if(l=(s=r[a]).instance,c=s.currentTarget,s=s.listener,l!==o&&i.isPropagationStopped())break e;Br(i,s,c),o=l}}}if(Fe)throw e=Ge,Fe=!1,Ge=null,e}function Gr(e,t){var n=t[mi];void 0===n&&(n=t[mi]=new Set);var r=e+"__bubble";n.has(r)||(zr(t,e,2,!1),n.add(r))}function jr(e,t,n){var r=0;t&&(r|=4),zr(n,e,r,t)}var Hr="_reactListening"+Math.random().toString(36).slice(2);function Ur(e){if(!e[Hr]){e[Hr]=!0,a.forEach((function(t){"selectionchange"!==t&&(Mr.has(t)||jr(t,!1,e),jr(t,!0,e))}));var t=9===e.nodeType?e:e.ownerDocument;null===t||t[Hr]||(t[Hr]=!0,jr("selectionchange",!1,t))}}function zr(e,t,n,r){switch(Xt(t)){case 1:var i=$t;break;case 4:i=qt;break;default:i=Wt}n=i.bind(null,t,n,e),i=void 0,!Pe||"touchstart"!==t&&"touchmove"!==t&&"wheel"!==t||(i=!0),r?void 0!==i?e.addEventListener(t,n,{capture:!0,passive:i}):e.addEventListener(t,n,!0):void 0!==i?e.addEventListener(t,n,{passive:i}):e.addEventListener(t,n,!1)}function Vr(e,t,n,r,i){var o=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 s=r.stateNode.containerInfo;if(s===i||8===s.nodeType&&s.parentNode===i)break;if(4===a)for(a=r.return;null!==a;){var l=a.tag;if((3===l||4===l)&&((l=a.stateNode.containerInfo)===i||8===l.nodeType&&l.parentNode===i))return;a=a.return}for(;null!==s;){if(null===(a=vi(s)))return;if(5===(l=a.tag)||6===l){r=o=a;continue e}s=s.parentNode}}r=r.return}Oe((function(){var r=o,i=Te(n),a=[];e:{var s=kr.get(e);if(void 0!==s){var l=un,c=e;switch(e){case"keypress":if(0===tn(n))break e;case"keydown":case"keyup":l=wn;break;case"focusin":c="focus",l=gn;break;case"focusout":c="blur",l=gn;break;case"beforeblur":case"afterblur":l=gn;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":l=pn;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":l=mn;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":l=Dn;break;case Ir:case wr:case xr:l=bn;break;case Dr:l=kn;break;case"scroll":l=fn;break;case"wheel":l=Nn;break;case"copy":case"cut":case"paste":l=yn;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":l=xn}var u=0!=(4&t),d=!u&&"scroll"===e,f=u?null!==s?s+"Capture":null:s;u=[];for(var h,p=r;null!==p;){var m=(h=p).stateNode;if(5===h.tag&&null!==m&&(h=m,null!==f&&null!=(m=Ne(p,f))&&u.push($r(p,m,h))),d)break;p=p.return}0<u.length&&(s=new l(s,c,null,n,i),a.push({event:s,listeners:u}))}}if(0==(7&t)){if(l="mouseout"===e||"pointerout"===e,(!(s="mouseover"===e||"pointerover"===e)||n===Ee||!(c=n.relatedTarget||n.fromElement)||!vi(c)&&!c[pi])&&(l||s)&&(s=i.window===i?i:(s=i.ownerDocument)?s.defaultView||s.parentWindow:window,l?(l=r,null!==(c=(c=n.relatedTarget||n.toElement)?vi(c):null)&&(c!==(d=Ue(c))||5!==c.tag&&6!==c.tag)&&(c=null)):(l=null,c=r),l!==c)){if(u=pn,m="onMouseLeave",f="onMouseEnter",p="mouse","pointerout"!==e&&"pointerover"!==e||(u=xn,m="onPointerLeave",f="onPointerEnter",p="pointer"),d=null==l?s:Ei(l),h=null==c?s:Ei(c),(s=new u(m,p+"leave",l,n,i)).target=d,s.relatedTarget=h,m=null,vi(i)===r&&((u=new u(f,p+"enter",c,n,i)).target=h,u.relatedTarget=d,m=u),d=m,l&&c)e:{for(f=c,p=0,h=u=l;h;h=Wr(h))p++;for(h=0,m=f;m;m=Wr(m))h++;for(;0<p-h;)u=Wr(u),p--;for(;0<h-p;)f=Wr(f),h--;for(;p--;){if(u===f||null!==f&&u===f.alternate)break e;u=Wr(u),f=Wr(f)}u=null}else u=null;null!==l&&Yr(a,s,l,u,!1),null!==c&&null!==d&&Yr(a,d,c,u,!0)}if("select"===(l=(s=r?Ei(r):window).nodeName&&s.nodeName.toLowerCase())||"input"===l&&"file"===s.type)var g=Xn;else if(Vn(s))if(Qn)g=ar;else{g=ir;var b=rr}else(l=s.nodeName)&&"input"===l.toLowerCase()&&("checkbox"===s.type||"radio"===s.type)&&(g=or);switch(g&&(g=g(e,r))?$n(a,g,n,i):(b&&b(e,s,r),"focusout"===e&&(b=s._wrapperState)&&b.controlled&&"number"===s.type&&ee(s,"number",s.value)),b=r?Ei(r):window,e){case"focusin":(Vn(b)||"true"===b.contentEditable)&&(gr=b,br=r,vr=null);break;case"focusout":vr=br=gr=null;break;case"mousedown":yr=!0;break;case"contextmenu":case"mouseup":case"dragend":yr=!1,Er(a,n,i);break;case"selectionchange":if(mr)break;case"keydown":case"keyup":Er(a,n,i)}var v;if(Rn)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 Un?jn(e,n)&&(y="onCompositionEnd"):"keydown"===e&&229===n.keyCode&&(y="onCompositionStart");y&&(Bn&&"ko"!==n.locale&&(Un||"onCompositionStart"!==y?"onCompositionEnd"===y&&Un&&(v=en()):(Zt="value"in(Qt=i)?Qt.value:Qt.textContent,Un=!0)),0<(b=qr(r,y)).length&&(y=new En(y,e,null,n,i),a.push({event:y,listeners:b}),(v||null!==(v=Hn(n)))&&(y.data=v))),(v=Mn?function(e,t){switch(e){case"compositionend":return Hn(t);case"keypress":return 32!==t.which?null:(Gn=!0,Fn);case"textInput":return(e=t.data)===Fn&&Gn?null:e;default:return null}}(e,n):function(e,t){if(Un)return"compositionend"===e||!Rn&&jn(e,t)?(e=en(),Jt=Zt=Qt=null,Un=!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 Bn&&"ko"!==t.locale?null:t.data}}(e,n))&&0<(r=qr(r,"onBeforeInput")).length&&(i=new En("onBeforeInput","beforeinput",null,n,i),a.push({event:i,listeners:r}),i.data=v)}Fr(a,t)}))}function $r(e,t,n){return{instance:e,listener:t,currentTarget:n}}function qr(e,t){for(var n=t+"Capture",r=[];null!==e;){var i=e,o=i.stateNode;5===i.tag&&null!==o&&(i=o,null!=(o=Ne(e,n))&&r.unshift($r(e,o,i)),null!=(o=Ne(e,t))&&r.push($r(e,o,i))),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 Yr(e,t,n,r,i){for(var o=t._reactName,a=[];null!==n&&n!==r;){var s=n,l=s.alternate,c=s.stateNode;if(null!==l&&l===r)break;5===s.tag&&null!==c&&(s=c,i?null!=(l=Ne(n,o))&&a.unshift($r(n,l,s)):i||null!=(l=Ne(n,o))&&a.push($r(n,l,s))),n=n.return}0!==a.length&&e.push({event:t,listeners:a})}var Kr=/\r\n?/g,Xr=/\u0000|\uFFFD/g;function Qr(e){return("string"==typeof e?e:""+e).replace(Kr,"\n").replace(Xr,"")}function Zr(e,t,n){if(t=Qr(t),Qr(e)!==t&&n)throw Error(o(425))}function Jr(){}var ei=null,ti=null;function ni(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 ri="function"==typeof setTimeout?setTimeout:void 0,ii="function"==typeof clearTimeout?clearTimeout:void 0,oi="function"==typeof Promise?Promise:void 0,ai="function"==typeof queueMicrotask?queueMicrotask:void 0!==oi?function(e){return oi.resolve(null).then(e).catch(si)}:ri;function si(e){setTimeout((function(){throw e}))}function li(e,t){var n=t,r=0;do{var i=n.nextSibling;if(e.removeChild(n),i&&8===i.nodeType)if("/$"===(n=i.data)){if(0===r)return e.removeChild(i),void Ut(t);r--}else"$"!==n&&"$?"!==n&&"$!"!==n||r++;n=i}while(n);Ut(t)}function ci(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 ui(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 di=Math.random().toString(36).slice(2),fi="__reactFiber$"+di,hi="__reactProps$"+di,pi="__reactContainer$"+di,mi="__reactEvents$"+di,gi="__reactListeners$"+di,bi="__reactHandles$"+di;function vi(e){var t=e[fi];if(t)return t;for(var n=e.parentNode;n;){if(t=n[pi]||n[fi]){if(n=t.alternate,null!==t.child||null!==n&&null!==n.child)for(e=ui(e);null!==e;){if(n=e[fi])return n;e=ui(e)}return t}n=(e=n).parentNode}return null}function yi(e){return!(e=e[fi]||e[pi])||5!==e.tag&&6!==e.tag&&13!==e.tag&&3!==e.tag?null:e}function Ei(e){if(5===e.tag||6===e.tag)return e.stateNode;throw Error(o(33))}function Ti(e){return e[hi]||null}var _i=[],Ai=-1;function Si(e){return{current:e}}function Ci(e){0>Ai||(e.current=_i[Ai],_i[Ai]=null,Ai--)}function Ii(e,t){Ai++,_i[Ai]=e.current,e.current=t}var wi={},xi=Si(wi),Di=Si(!1),ki=wi;function Oi(e,t){var n=e.type.contextTypes;if(!n)return wi;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===t)return r.__reactInternalMemoizedMaskedChildContext;var i,o={};for(i in n)o[i]=t[i];return r&&((e=e.stateNode).__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=o),o}function Ni(e){return null!=e.childContextTypes}function Pi(){Ci(Di),Ci(xi)}function Ri(e,t,n){if(xi.current!==wi)throw Error(o(168));Ii(xi,t),Ii(Di,n)}function Li(e,t,n){var r=e.stateNode;if(t=t.childContextTypes,"function"!=typeof r.getChildContext)return n;for(var i in r=r.getChildContext())if(!(i in t))throw Error(o(108,z(e)||"Unknown",i));return B({},n,r)}function Mi(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||wi,ki=xi.current,Ii(xi,e),Ii(Di,Di.current),!0}function Bi(e,t,n){var r=e.stateNode;if(!r)throw Error(o(169));n?(e=Li(e,t,ki),r.__reactInternalMemoizedMergedChildContext=e,Ci(Di),Ci(xi),Ii(xi,e)):Ci(Di),Ii(Di,n)}var Fi=null,Gi=!1,ji=!1;function Hi(e){null===Fi?Fi=[e]:Fi.push(e)}function Ui(){if(!ji&&null!==Fi){ji=!0;var e=0,t=yt;try{var n=Fi;for(yt=1;e<n.length;e++){var r=n[e];do{r=r(!0)}while(null!==r)}Fi=null,Gi=!1}catch(t){throw null!==Fi&&(Fi=Fi.slice(e+1)),We(Je,Ui),t}finally{yt=t,ji=!1}}return null}var zi=[],Vi=0,$i=null,qi=0,Wi=[],Yi=0,Ki=null,Xi=1,Qi="";function Zi(e,t){zi[Vi++]=qi,zi[Vi++]=$i,$i=e,qi=t}function Ji(e,t,n){Wi[Yi++]=Xi,Wi[Yi++]=Qi,Wi[Yi++]=Ki,Ki=e;var r=Xi;e=Qi;var i=32-at(r)-1;r&=~(1<<i),n+=1;var o=32-at(t)+i;if(30<o){var a=i-i%5;o=(r&(1<<a)-1).toString(32),r>>=a,i-=a,Xi=1<<32-at(t)+i|n<<i|r,Qi=o+e}else Xi=1<<o|n<<i|r,Qi=e}function eo(e){null!==e.return&&(Zi(e,1),Ji(e,1,0))}function to(e){for(;e===$i;)$i=zi[--Vi],zi[Vi]=null,qi=zi[--Vi],zi[Vi]=null;for(;e===Ki;)Ki=Wi[--Yi],Wi[Yi]=null,Qi=Wi[--Yi],Wi[Yi]=null,Xi=Wi[--Yi],Wi[Yi]=null}var no=null,ro=null,io=!1,oo=null;function ao(e,t){var n=Nc(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 so(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,no=e,ro=ci(t.firstChild),!0);case 6:return null!==(t=""===e.pendingProps||3!==t.nodeType?null:t)&&(e.stateNode=t,no=e,ro=null,!0);case 13:return null!==(t=8!==t.nodeType?null:t)&&(n=null!==Ki?{id:Xi,overflow:Qi}:null,e.memoizedState={dehydrated:t,treeContext:n,retryLane:1073741824},(n=Nc(18,null,null,0)).stateNode=t,n.return=e,e.child=n,no=e,ro=null,!0);default:return!1}}function lo(e){return 0!=(1&e.mode)&&0==(128&e.flags)}function co(e){if(io){var t=ro;if(t){var n=t;if(!so(e,t)){if(lo(e))throw Error(o(418));t=ci(n.nextSibling);var r=no;t&&so(e,t)?ao(r,n):(e.flags=-4097&e.flags|2,io=!1,no=e)}}else{if(lo(e))throw Error(o(418));e.flags=-4097&e.flags|2,io=!1,no=e}}}function uo(e){for(e=e.return;null!==e&&5!==e.tag&&3!==e.tag&&13!==e.tag;)e=e.return;no=e}function fo(e){if(e!==no)return!1;if(!io)return uo(e),io=!0,!1;var t;if((t=3!==e.tag)&&!(t=5!==e.tag)&&(t="head"!==(t=e.type)&&"body"!==t&&!ni(e.type,e.memoizedProps)),t&&(t=ro)){if(lo(e))throw ho(),Error(o(418));for(;t;)ao(e,t),t=ci(t.nextSibling)}if(uo(e),13===e.tag){if(!(e=null!==(e=e.memoizedState)?e.dehydrated:null))throw Error(o(317));e:{for(e=e.nextSibling,t=0;e;){if(8===e.nodeType){var n=e.data;if("/$"===n){if(0===t){ro=ci(e.nextSibling);break e}t--}else"$"!==n&&"$!"!==n&&"$?"!==n||t++}e=e.nextSibling}ro=null}}else ro=no?ci(e.stateNode.nextSibling):null;return!0}function ho(){for(var e=ro;e;)e=ci(e.nextSibling)}function po(){ro=no=null,io=!1}function mo(e){null===oo?oo=[e]:oo.push(e)}var go=E.ReactCurrentBatchConfig;function bo(e,t){if(e&&e.defaultProps){for(var n in t=B({},t),e=e.defaultProps)void 0===t[n]&&(t[n]=e[n]);return t}return t}var vo=Si(null),yo=null,Eo=null,To=null;function _o(){To=Eo=yo=null}function Ao(e){var t=vo.current;Ci(vo),e._currentValue=t}function So(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 Co(e,t){yo=e,To=Eo=null,null!==(e=e.dependencies)&&null!==e.firstContext&&(0!=(e.lanes&t)&&(Es=!0),e.firstContext=null)}function Io(e){var t=e._currentValue;if(To!==e)if(e={context:e,memoizedValue:t,next:null},null===Eo){if(null===yo)throw Error(o(308));Eo=e,yo.dependencies={lanes:0,firstContext:e}}else Eo=Eo.next=e;return t}var wo=null;function xo(e){null===wo?wo=[e]:wo.push(e)}function Do(e,t,n,r){var i=t.interleaved;return null===i?(n.next=n,xo(t)):(n.next=i.next,i.next=n),t.interleaved=n,ko(e,r)}function ko(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 Oo=!1;function No(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function Po(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 Ro(e,t){return{eventTime:e,lane:t,tag:0,payload:null,callback:null,next:null}}function Lo(e,t,n){var r=e.updateQueue;if(null===r)return null;if(r=r.shared,0!=(2&Dl)){var i=r.pending;return null===i?t.next=t:(t.next=i.next,i.next=t),r.pending=t,ko(e,n)}return null===(i=r.interleaved)?(t.next=t,xo(r)):(t.next=i.next,i.next=t),r.interleaved=t,ko(e,n)}function Mo(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,vt(e,n)}}function Bo(e,t){var n=e.updateQueue,r=e.alternate;if(null!==r&&n===(r=r.updateQueue)){var i=null,o=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===o?i=o=a:o=o.next=a,n=n.next}while(null!==n);null===o?i=o=t:o=o.next=t}else i=o=t;return n={baseState:r.baseState,firstBaseUpdate:i,lastBaseUpdate:o,shared:r.shared,effects:r.effects},void(e.updateQueue=n)}null===(e=n.lastBaseUpdate)?n.firstBaseUpdate=t:e.next=t,n.lastBaseUpdate=t}function Fo(e,t,n,r){var i=e.updateQueue;Oo=!1;var o=i.firstBaseUpdate,a=i.lastBaseUpdate,s=i.shared.pending;if(null!==s){i.shared.pending=null;var l=s,c=l.next;l.next=null,null===a?o=c:a.next=c,a=l;var u=e.alternate;null!==u&&(s=(u=u.updateQueue).lastBaseUpdate)!==a&&(null===s?u.firstBaseUpdate=c:s.next=c,u.lastBaseUpdate=l)}if(null!==o){var d=i.baseState;for(a=0,u=c=l=null,s=o;;){var f=s.lane,h=s.eventTime;if((r&f)===f){null!==u&&(u=u.next={eventTime:h,lane:0,tag:s.tag,payload:s.payload,callback:s.callback,next:null});e:{var p=e,m=s;switch(f=t,h=n,m.tag){case 1:if("function"==typeof(p=m.payload)){d=p.call(h,d,f);break e}d=p;break e;case 3:p.flags=-65537&p.flags|128;case 0:if(null==(f="function"==typeof(p=m.payload)?p.call(h,d,f):p))break e;d=B({},d,f);break e;case 2:Oo=!0}}null!==s.callback&&0!==s.lane&&(e.flags|=64,null===(f=i.effects)?i.effects=[s]:f.push(s))}else h={eventTime:h,lane:f,tag:s.tag,payload:s.payload,callback:s.callback,next:null},null===u?(c=u=h,l=d):u=u.next=h,a|=f;if(null===(s=s.next)){if(null===(s=i.shared.pending))break;s=(f=s).next,f.next=null,i.lastBaseUpdate=f,i.shared.pending=null}}if(null===u&&(l=d),i.baseState=l,i.firstBaseUpdate=c,i.lastBaseUpdate=u,null!==(t=i.shared.interleaved)){i=t;do{a|=i.lane,i=i.next}while(i!==t)}else null===o&&(i.shared.lanes=0);Bl|=a,e.lanes=a,e.memoizedState=d}}function Go(e,t,n){if(e=t.effects,t.effects=null,null!==e)for(t=0;t<e.length;t++){var r=e[t],i=r.callback;if(null!==i){if(r.callback=null,r=n,"function"!=typeof i)throw Error(o(191,i));i.call(r)}}}var jo=(new r.Component).refs;function Ho(e,t,n,r){n=null==(n=n(r,t=e.memoizedState))?t:B({},t,n),e.memoizedState=n,0===e.lanes&&(e.updateQueue.baseState=n)}var Uo={isMounted:function(e){return!!(e=e._reactInternals)&&Ue(e)===e},enqueueSetState:function(e,t,n){e=e._reactInternals;var r=tc(),i=nc(e),o=Ro(r,i);o.payload=t,null!=n&&(o.callback=n),null!==(t=Lo(e,o,i))&&(rc(t,e,i,r),Mo(t,e,i))},enqueueReplaceState:function(e,t,n){e=e._reactInternals;var r=tc(),i=nc(e),o=Ro(r,i);o.tag=1,o.payload=t,null!=n&&(o.callback=n),null!==(t=Lo(e,o,i))&&(rc(t,e,i,r),Mo(t,e,i))},enqueueForceUpdate:function(e,t){e=e._reactInternals;var n=tc(),r=nc(e),i=Ro(n,r);i.tag=2,null!=t&&(i.callback=t),null!==(t=Lo(e,i,r))&&(rc(t,e,r,n),Mo(t,e,r))}};function zo(e,t,n,r,i,o,a){return"function"==typeof(e=e.stateNode).shouldComponentUpdate?e.shouldComponentUpdate(r,o,a):!(t.prototype&&t.prototype.isPureReactComponent&&lr(n,r)&&lr(i,o))}function Vo(e,t,n){var r=!1,i=wi,o=t.contextType;return"object"==typeof o&&null!==o?o=Io(o):(i=Ni(t)?ki:xi.current,o=(r=null!=(r=t.contextTypes))?Oi(e,i):wi),t=new t(n,o),e.memoizedState=null!==t.state&&void 0!==t.state?t.state:null,t.updater=Uo,e.stateNode=t,t._reactInternals=e,r&&((e=e.stateNode).__reactInternalMemoizedUnmaskedChildContext=i,e.__reactInternalMemoizedMaskedChildContext=o),t}function $o(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&&Uo.enqueueReplaceState(t,t.state,null)}function qo(e,t,n,r){var i=e.stateNode;i.props=n,i.state=e.memoizedState,i.refs=jo,No(e);var o=t.contextType;"object"==typeof o&&null!==o?i.context=Io(o):(o=Ni(t)?ki:xi.current,i.context=Oi(e,o)),i.state=e.memoizedState,"function"==typeof(o=t.getDerivedStateFromProps)&&(Ho(e,t,o,n),i.state=e.memoizedState),"function"==typeof t.getDerivedStateFromProps||"function"==typeof i.getSnapshotBeforeUpdate||"function"!=typeof i.UNSAFE_componentWillMount&&"function"!=typeof i.componentWillMount||(t=i.state,"function"==typeof i.componentWillMount&&i.componentWillMount(),"function"==typeof i.UNSAFE_componentWillMount&&i.UNSAFE_componentWillMount(),t!==i.state&&Uo.enqueueReplaceState(i,i.state,null),Fo(e,n,i,r),i.state=e.memoizedState),"function"==typeof i.componentDidMount&&(e.flags|=4194308)}function Wo(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(o(309));var r=n.stateNode}if(!r)throw Error(o(147,e));var i=r,a=""+e;return null!==t&&null!==t.ref&&"function"==typeof t.ref&&t.ref._stringRef===a?t.ref:(t=function(e){var t=i.refs;t===jo&&(t=i.refs={}),null===e?delete t[a]:t[a]=e},t._stringRef=a,t)}if("string"!=typeof e)throw Error(o(284));if(!n._owner)throw Error(o(290,e))}return e}function Yo(e,t){throw e=Object.prototype.toString.call(t),Error(o(31,"[object Object]"===e?"object with keys {"+Object.keys(t).join(", ")+"}":e))}function Ko(e){return(0,e._init)(e._payload)}function Xo(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 i(e,t){return(e=Rc(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 s(t){return e&&null===t.alternate&&(t.flags|=2),t}function l(e,t,n,r){return null===t||6!==t.tag?((t=Fc(n,e.mode,r)).return=e,t):((t=i(t,n)).return=e,t)}function c(e,t,n,r){var o=n.type;return o===A?d(e,t,n.props.children,r,n.key):null!==t&&(t.elementType===o||"object"==typeof o&&null!==o&&o.$$typeof===N&&Ko(o)===t.type)?((r=i(t,n.props)).ref=Wo(e,t,n),r.return=e,r):((r=Lc(n.type,n.key,n.props,null,e.mode,r)).ref=Wo(e,t,n),r.return=e,r)}function u(e,t,n,r){return null===t||4!==t.tag||t.stateNode.containerInfo!==n.containerInfo||t.stateNode.implementation!==n.implementation?((t=Gc(n,e.mode,r)).return=e,t):((t=i(t,n.children||[])).return=e,t)}function d(e,t,n,r,o){return null===t||7!==t.tag?((t=Mc(n,e.mode,r,o)).return=e,t):((t=i(t,n)).return=e,t)}function f(e,t,n){if("string"==typeof t&&""!==t||"number"==typeof t)return(t=Fc(""+t,e.mode,n)).return=e,t;if("object"==typeof t&&null!==t){switch(t.$$typeof){case T:return(n=Lc(t.type,t.key,t.props,null,e.mode,n)).ref=Wo(e,null,t),n.return=e,n;case _:return(t=Gc(t,e.mode,n)).return=e,t;case N:return f(e,(0,t._init)(t._payload),n)}if(te(t)||L(t))return(t=Mc(t,e.mode,n,null)).return=e,t;Yo(e,t)}return null}function h(e,t,n,r){var i=null!==t?t.key:null;if("string"==typeof n&&""!==n||"number"==typeof n)return null!==i?null:l(e,t,""+n,r);if("object"==typeof n&&null!==n){switch(n.$$typeof){case T:return n.key===i?c(e,t,n,r):null;case _:return n.key===i?u(e,t,n,r):null;case N:return h(e,t,(i=n._init)(n._payload),r)}if(te(n)||L(n))return null!==i?null:d(e,t,n,r,null);Yo(e,n)}return null}function p(e,t,n,r,i){if("string"==typeof r&&""!==r||"number"==typeof r)return l(t,e=e.get(n)||null,""+r,i);if("object"==typeof r&&null!==r){switch(r.$$typeof){case T:return c(t,e=e.get(null===r.key?n:r.key)||null,r,i);case _:return u(t,e=e.get(null===r.key?n:r.key)||null,r,i);case N:return p(e,t,n,(0,r._init)(r._payload),i)}if(te(r)||L(r))return d(t,e=e.get(n)||null,r,i,null);Yo(t,r)}return null}function m(i,o,s,l){for(var c=null,u=null,d=o,m=o=0,g=null;null!==d&&m<s.length;m++){d.index>m?(g=d,d=null):g=d.sibling;var b=h(i,d,s[m],l);if(null===b){null===d&&(d=g);break}e&&d&&null===b.alternate&&t(i,d),o=a(b,o,m),null===u?c=b:u.sibling=b,u=b,d=g}if(m===s.length)return n(i,d),io&&Zi(i,m),c;if(null===d){for(;m<s.length;m++)null!==(d=f(i,s[m],l))&&(o=a(d,o,m),null===u?c=d:u.sibling=d,u=d);return io&&Zi(i,m),c}for(d=r(i,d);m<s.length;m++)null!==(g=p(d,i,m,s[m],l))&&(e&&null!==g.alternate&&d.delete(null===g.key?m:g.key),o=a(g,o,m),null===u?c=g:u.sibling=g,u=g);return e&&d.forEach((function(e){return t(i,e)})),io&&Zi(i,m),c}function g(i,s,l,c){var u=L(l);if("function"!=typeof u)throw Error(o(150));if(null==(l=u.call(l)))throw Error(o(151));for(var d=u=null,m=s,g=s=0,b=null,v=l.next();null!==m&&!v.done;g++,v=l.next()){m.index>g?(b=m,m=null):b=m.sibling;var y=h(i,m,v.value,c);if(null===y){null===m&&(m=b);break}e&&m&&null===y.alternate&&t(i,m),s=a(y,s,g),null===d?u=y:d.sibling=y,d=y,m=b}if(v.done)return n(i,m),io&&Zi(i,g),u;if(null===m){for(;!v.done;g++,v=l.next())null!==(v=f(i,v.value,c))&&(s=a(v,s,g),null===d?u=v:d.sibling=v,d=v);return io&&Zi(i,g),u}for(m=r(i,m);!v.done;g++,v=l.next())null!==(v=p(m,i,g,v.value,c))&&(e&&null!==v.alternate&&m.delete(null===v.key?g:v.key),s=a(v,s,g),null===d?u=v:d.sibling=v,d=v);return e&&m.forEach((function(e){return t(i,e)})),io&&Zi(i,g),u}return function e(r,o,a,l){if("object"==typeof a&&null!==a&&a.type===A&&null===a.key&&(a=a.props.children),"object"==typeof a&&null!==a){switch(a.$$typeof){case T:e:{for(var c=a.key,u=o;null!==u;){if(u.key===c){if((c=a.type)===A){if(7===u.tag){n(r,u.sibling),(o=i(u,a.props.children)).return=r,r=o;break e}}else if(u.elementType===c||"object"==typeof c&&null!==c&&c.$$typeof===N&&Ko(c)===u.type){n(r,u.sibling),(o=i(u,a.props)).ref=Wo(r,u,a),o.return=r,r=o;break e}n(r,u);break}t(r,u),u=u.sibling}a.type===A?((o=Mc(a.props.children,r.mode,l,a.key)).return=r,r=o):((l=Lc(a.type,a.key,a.props,null,r.mode,l)).ref=Wo(r,o,a),l.return=r,r=l)}return s(r);case _:e:{for(u=a.key;null!==o;){if(o.key===u){if(4===o.tag&&o.stateNode.containerInfo===a.containerInfo&&o.stateNode.implementation===a.implementation){n(r,o.sibling),(o=i(o,a.children||[])).return=r,r=o;break e}n(r,o);break}t(r,o),o=o.sibling}(o=Gc(a,r.mode,l)).return=r,r=o}return s(r);case N:return e(r,o,(u=a._init)(a._payload),l)}if(te(a))return m(r,o,a,l);if(L(a))return g(r,o,a,l);Yo(r,a)}return"string"==typeof a&&""!==a||"number"==typeof a?(a=""+a,null!==o&&6===o.tag?(n(r,o.sibling),(o=i(o,a)).return=r,r=o):(n(r,o),(o=Fc(a,r.mode,l)).return=r,r=o),s(r)):n(r,o)}}var Qo=Xo(!0),Zo=Xo(!1),Jo={},ea=Si(Jo),ta=Si(Jo),na=Si(Jo);function ra(e){if(e===Jo)throw Error(o(174));return e}function ia(e,t){switch(Ii(na,t),Ii(ta,e),Ii(ea,Jo),e=t.nodeType){case 9:case 11:t=(t=t.documentElement)?t.namespaceURI:le(null,"");break;default:t=le(t=(e=8===e?t.parentNode:t).namespaceURI||null,e=e.tagName)}Ci(ea),Ii(ea,t)}function oa(){Ci(ea),Ci(ta),Ci(na)}function aa(e){ra(na.current);var t=ra(ea.current),n=le(t,e.type);t!==n&&(Ii(ta,e),Ii(ea,n))}function sa(e){ta.current===e&&(Ci(ea),Ci(ta))}var la=Si(0);function ca(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 ua=[];function da(){for(var e=0;e<ua.length;e++)ua[e]._workInProgressVersionPrimary=null;ua.length=0}var fa=E.ReactCurrentDispatcher,ha=E.ReactCurrentBatchConfig,pa=0,ma=null,ga=null,ba=null,va=!1,ya=!1,Ea=0,Ta=0;function _a(){throw Error(o(321))}function Aa(e,t){if(null===t)return!1;for(var n=0;n<t.length&&n<e.length;n++)if(!sr(e[n],t[n]))return!1;return!0}function Sa(e,t,n,r,i,a){if(pa=a,ma=t,t.memoizedState=null,t.updateQueue=null,t.lanes=0,fa.current=null===e||null===e.memoizedState?ss:ls,e=n(r,i),ya){a=0;do{if(ya=!1,Ea=0,25<=a)throw Error(o(301));a+=1,ba=ga=null,t.updateQueue=null,fa.current=cs,e=n(r,i)}while(ya)}if(fa.current=as,t=null!==ga&&null!==ga.next,pa=0,ba=ga=ma=null,va=!1,t)throw Error(o(300));return e}function Ca(){var e=0!==Ea;return Ea=0,e}function Ia(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return null===ba?ma.memoizedState=ba=e:ba=ba.next=e,ba}function wa(){if(null===ga){var e=ma.alternate;e=null!==e?e.memoizedState:null}else e=ga.next;var t=null===ba?ma.memoizedState:ba.next;if(null!==t)ba=t,ga=e;else{if(null===e)throw Error(o(310));e={memoizedState:(ga=e).memoizedState,baseState:ga.baseState,baseQueue:ga.baseQueue,queue:ga.queue,next:null},null===ba?ma.memoizedState=ba=e:ba=ba.next=e}return ba}function xa(e,t){return"function"==typeof t?t(e):t}function Da(e){var t=wa(),n=t.queue;if(null===n)throw Error(o(311));n.lastRenderedReducer=e;var r=ga,i=r.baseQueue,a=n.pending;if(null!==a){if(null!==i){var s=i.next;i.next=a.next,a.next=s}r.baseQueue=i=a,n.pending=null}if(null!==i){a=i.next,r=r.baseState;var l=s=null,c=null,u=a;do{var d=u.lane;if((pa&d)===d)null!==c&&(c=c.next={lane:0,action:u.action,hasEagerState:u.hasEagerState,eagerState:u.eagerState,next:null}),r=u.hasEagerState?u.eagerState:e(r,u.action);else{var f={lane:d,action:u.action,hasEagerState:u.hasEagerState,eagerState:u.eagerState,next:null};null===c?(l=c=f,s=r):c=c.next=f,ma.lanes|=d,Bl|=d}u=u.next}while(null!==u&&u!==a);null===c?s=r:c.next=l,sr(r,t.memoizedState)||(Es=!0),t.memoizedState=r,t.baseState=s,t.baseQueue=c,n.lastRenderedState=r}if(null!==(e=n.interleaved)){i=e;do{a=i.lane,ma.lanes|=a,Bl|=a,i=i.next}while(i!==e)}else null===i&&(n.lanes=0);return[t.memoizedState,n.dispatch]}function ka(e){var t=wa(),n=t.queue;if(null===n)throw Error(o(311));n.lastRenderedReducer=e;var r=n.dispatch,i=n.pending,a=t.memoizedState;if(null!==i){n.pending=null;var s=i=i.next;do{a=e(a,s.action),s=s.next}while(s!==i);sr(a,t.memoizedState)||(Es=!0),t.memoizedState=a,null===t.baseQueue&&(t.baseState=a),n.lastRenderedState=a}return[a,r]}function Oa(){}function Na(e,t){var n=ma,r=wa(),i=t(),a=!sr(r.memoizedState,i);if(a&&(r.memoizedState=i,Es=!0),r=r.queue,Va(La.bind(null,n,r,e),[e]),r.getSnapshot!==t||a||null!==ba&&1&ba.memoizedState.tag){if(n.flags|=2048,Ga(9,Ra.bind(null,n,r,i,t),void 0,null),null===kl)throw Error(o(349));0!=(30&pa)||Pa(n,t,i)}return i}function Pa(e,t,n){e.flags|=16384,e={getSnapshot:t,value:n},null===(t=ma.updateQueue)?(t={lastEffect:null,stores:null},ma.updateQueue=t,t.stores=[e]):null===(n=t.stores)?t.stores=[e]:n.push(e)}function Ra(e,t,n,r){t.value=n,t.getSnapshot=r,Ma(t)&&Ba(e)}function La(e,t,n){return n((function(){Ma(t)&&Ba(e)}))}function Ma(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!sr(e,n)}catch(e){return!0}}function Ba(e){var t=ko(e,1);null!==t&&rc(t,e,1,-1)}function Fa(e){var t=Ia();return"function"==typeof e&&(e=e()),t.memoizedState=t.baseState=e,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:xa,lastRenderedState:e},t.queue=e,e=e.dispatch=ns.bind(null,ma,e),[t.memoizedState,e]}function Ga(e,t,n,r){return e={tag:e,create:t,destroy:n,deps:r,next:null},null===(t=ma.updateQueue)?(t={lastEffect:null,stores:null},ma.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 ja(){return wa().memoizedState}function Ha(e,t,n,r){var i=Ia();ma.flags|=e,i.memoizedState=Ga(1|t,n,void 0,void 0===r?null:r)}function Ua(e,t,n,r){var i=wa();r=void 0===r?null:r;var o=void 0;if(null!==ga){var a=ga.memoizedState;if(o=a.destroy,null!==r&&Aa(r,a.deps))return void(i.memoizedState=Ga(t,n,o,r))}ma.flags|=e,i.memoizedState=Ga(1|t,n,o,r)}function za(e,t){return Ha(8390656,8,e,t)}function Va(e,t){return Ua(2048,8,e,t)}function $a(e,t){return Ua(4,2,e,t)}function qa(e,t){return Ua(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 Ya(e,t,n){return n=null!=n?n.concat([e]):null,Ua(4,4,Wa.bind(null,t,e),n)}function Ka(){}function Xa(e,t){var n=wa();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 Qa(e,t){var n=wa();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 Za(e,t,n){return 0==(21&pa)?(e.baseState&&(e.baseState=!1,Es=!0),e.memoizedState=n):(sr(n,t)||(n=mt(),ma.lanes|=n,Bl|=n,e.baseState=!0),t)}function Ja(e,t){var n=yt;yt=0!==n&&4>n?n:4,e(!0);var r=ha.transition;ha.transition={};try{e(!1),t()}finally{yt=n,ha.transition=r}}function es(){return wa().memoizedState}function ts(e,t,n){var r=nc(e);n={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null},rs(e)?is(t,n):null!==(n=Do(e,t,n,r))&&(rc(n,e,r,tc()),os(n,t,r))}function ns(e,t,n){var r=nc(e),i={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null};if(rs(e))is(t,i);else{var o=e.alternate;if(0===e.lanes&&(null===o||0===o.lanes)&&null!==(o=t.lastRenderedReducer))try{var a=t.lastRenderedState,s=o(a,n);if(i.hasEagerState=!0,i.eagerState=s,sr(s,a)){var l=t.interleaved;return null===l?(i.next=i,xo(t)):(i.next=l.next,l.next=i),void(t.interleaved=i)}}catch(e){}null!==(n=Do(e,t,i,r))&&(rc(n,e,r,i=tc()),os(n,t,r))}}function rs(e){var t=e.alternate;return e===ma||null!==t&&t===ma}function is(e,t){ya=va=!0;var n=e.pending;null===n?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function os(e,t,n){if(0!=(4194240&n)){var r=t.lanes;n|=r&=e.pendingLanes,t.lanes=n,vt(e,n)}}var as={readContext:Io,useCallback:_a,useContext:_a,useEffect:_a,useImperativeHandle:_a,useInsertionEffect:_a,useLayoutEffect:_a,useMemo:_a,useReducer:_a,useRef:_a,useState:_a,useDebugValue:_a,useDeferredValue:_a,useTransition:_a,useMutableSource:_a,useSyncExternalStore:_a,useId:_a,unstable_isNewReconciler:!1},ss={readContext:Io,useCallback:function(e,t){return Ia().memoizedState=[e,void 0===t?null:t],e},useContext:Io,useEffect:za,useImperativeHandle:function(e,t,n){return n=null!=n?n.concat([e]):null,Ha(4194308,4,Wa.bind(null,t,e),n)},useLayoutEffect:function(e,t){return Ha(4194308,4,e,t)},useInsertionEffect:function(e,t){return Ha(4,2,e,t)},useMemo:function(e,t){var n=Ia();return t=void 0===t?null:t,e=e(),n.memoizedState=[e,t],e},useReducer:function(e,t,n){var r=Ia();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=ts.bind(null,ma,e),[r.memoizedState,e]},useRef:function(e){return e={current:e},Ia().memoizedState=e},useState:Fa,useDebugValue:Ka,useDeferredValue:function(e){return Ia().memoizedState=e},useTransition:function(){var e=Fa(!1),t=e[0];return e=Ja.bind(null,e[1]),Ia().memoizedState=e,[t,e]},useMutableSource:function(){},useSyncExternalStore:function(e,t,n){var r=ma,i=Ia();if(io){if(void 0===n)throw Error(o(407));n=n()}else{if(n=t(),null===kl)throw Error(o(349));0!=(30&pa)||Pa(r,t,n)}i.memoizedState=n;var a={value:n,getSnapshot:t};return i.queue=a,za(La.bind(null,r,a,e),[e]),r.flags|=2048,Ga(9,Ra.bind(null,r,a,n,t),void 0,null),n},useId:function(){var e=Ia(),t=kl.identifierPrefix;if(io){var n=Qi;t=":"+t+"R"+(n=(Xi&~(1<<32-at(Xi)-1)).toString(32)+n),0<(n=Ea++)&&(t+="H"+n.toString(32)),t+=":"}else t=":"+t+"r"+(n=Ta++).toString(32)+":";return e.memoizedState=t},unstable_isNewReconciler:!1},ls={readContext:Io,useCallback:Xa,useContext:Io,useEffect:Va,useImperativeHandle:Ya,useInsertionEffect:$a,useLayoutEffect:qa,useMemo:Qa,useReducer:Da,useRef:ja,useState:function(){return Da(xa)},useDebugValue:Ka,useDeferredValue:function(e){return Za(wa(),ga.memoizedState,e)},useTransition:function(){return[Da(xa)[0],wa().memoizedState]},useMutableSource:Oa,useSyncExternalStore:Na,useId:es,unstable_isNewReconciler:!1},cs={readContext:Io,useCallback:Xa,useContext:Io,useEffect:Va,useImperativeHandle:Ya,useInsertionEffect:$a,useLayoutEffect:qa,useMemo:Qa,useReducer:ka,useRef:ja,useState:function(){return ka(xa)},useDebugValue:Ka,useDeferredValue:function(e){var t=wa();return null===ga?t.memoizedState=e:Za(t,ga.memoizedState,e)},useTransition:function(){return[ka(xa)[0],wa().memoizedState]},useMutableSource:Oa,useSyncExternalStore:Na,useId:es,unstable_isNewReconciler:!1};function us(e,t){try{var n="",r=t;do{n+=H(r),r=r.return}while(r);var i=n}catch(e){i="\nError generating stack: "+e.message+"\n"+e.stack}return{value:e,source:t,stack:i,digest:null}}function ds(e,t,n){return{value:e,source:null,stack:null!=n?n:null,digest:null!=t?t:null}}function fs(e,t){try{console.error(t.value)}catch(e){setTimeout((function(){throw e}))}}var hs="function"==typeof WeakMap?WeakMap:Map;function ps(e,t,n){(n=Ro(-1,n)).tag=3,n.payload={element:null};var r=t.value;return n.callback=function(){$l||($l=!0,ql=r),fs(0,t)},n}function ms(e,t,n){(n=Ro(-1,n)).tag=3;var r=e.type.getDerivedStateFromError;if("function"==typeof r){var i=t.value;n.payload=function(){return r(i)},n.callback=function(){fs(0,t)}}var o=e.stateNode;return null!==o&&"function"==typeof o.componentDidCatch&&(n.callback=function(){fs(0,t),"function"!=typeof r&&(null===Wl?Wl=new Set([this]):Wl.add(this));var e=t.stack;this.componentDidCatch(t.value,{componentStack:null!==e?e:""})}),n}function gs(e,t,n){var r=e.pingCache;if(null===r){r=e.pingCache=new hs;var i=new Set;r.set(t,i)}else void 0===(i=r.get(t))&&(i=new Set,r.set(t,i));i.has(n)||(i.add(n),e=Ic.bind(null,e,t,n),t.then(e,e))}function bs(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 vs(e,t,n,r,i){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=Ro(-1,1)).tag=2,Lo(n,t,1))),n.lanes|=1),e):(e.flags|=65536,e.lanes=i,e)}var ys=E.ReactCurrentOwner,Es=!1;function Ts(e,t,n,r){t.child=null===e?Zo(t,null,n,r):Qo(t,e.child,n,r)}function _s(e,t,n,r,i){n=n.render;var o=t.ref;return Co(t,i),r=Sa(e,t,n,r,o,i),n=Ca(),null===e||Es?(io&&n&&eo(t),t.flags|=1,Ts(e,t,r,i),t.child):(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~i,$s(e,t,i))}function As(e,t,n,r,i){if(null===e){var o=n.type;return"function"!=typeof o||Pc(o)||void 0!==o.defaultProps||null!==n.compare||void 0!==n.defaultProps?((e=Lc(n.type,null,r,t,t.mode,i)).ref=t.ref,e.return=t,t.child=e):(t.tag=15,t.type=o,Ss(e,t,o,r,i))}if(o=e.child,0==(e.lanes&i)){var a=o.memoizedProps;if((n=null!==(n=n.compare)?n:lr)(a,r)&&e.ref===t.ref)return $s(e,t,i)}return t.flags|=1,(e=Rc(o,r)).ref=t.ref,e.return=t,t.child=e}function Ss(e,t,n,r,i){if(null!==e){var o=e.memoizedProps;if(lr(o,r)&&e.ref===t.ref){if(Es=!1,t.pendingProps=r=o,0==(e.lanes&i))return t.lanes=e.lanes,$s(e,t,i);0!=(131072&e.flags)&&(Es=!0)}}return ws(e,t,n,r,i)}function Cs(e,t,n){var r=t.pendingProps,i=r.children,o=null!==e?e.memoizedState:null;if("hidden"===r.mode)if(0==(1&t.mode))t.memoizedState={baseLanes:0,cachePool:null,transitions:null},Ii(Rl,Pl),Pl|=n;else{if(0==(1073741824&n))return e=null!==o?o.baseLanes|n:n,t.lanes=t.childLanes=1073741824,t.memoizedState={baseLanes:e,cachePool:null,transitions:null},t.updateQueue=null,Ii(Rl,Pl),Pl|=e,null;t.memoizedState={baseLanes:0,cachePool:null,transitions:null},r=null!==o?o.baseLanes:n,Ii(Rl,Pl),Pl|=r}else null!==o?(r=o.baseLanes|n,t.memoizedState=null):r=n,Ii(Rl,Pl),Pl|=r;return Ts(e,t,i,n),t.child}function Is(e,t){var n=t.ref;(null===e&&null!==n||null!==e&&e.ref!==n)&&(t.flags|=512,t.flags|=2097152)}function ws(e,t,n,r,i){var o=Ni(n)?ki:xi.current;return o=Oi(t,o),Co(t,i),n=Sa(e,t,n,r,o,i),r=Ca(),null===e||Es?(io&&r&&eo(t),t.flags|=1,Ts(e,t,n,i),t.child):(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~i,$s(e,t,i))}function xs(e,t,n,r,i){if(Ni(n)){var o=!0;Mi(t)}else o=!1;if(Co(t,i),null===t.stateNode)Vs(e,t),Vo(t,n,r),qo(t,n,r,i),r=!0;else if(null===e){var a=t.stateNode,s=t.memoizedProps;a.props=s;var l=a.context,c=n.contextType;c="object"==typeof c&&null!==c?Io(c):Oi(t,c=Ni(n)?ki:xi.current);var u=n.getDerivedStateFromProps,d="function"==typeof u||"function"==typeof a.getSnapshotBeforeUpdate;d||"function"!=typeof a.UNSAFE_componentWillReceiveProps&&"function"!=typeof a.componentWillReceiveProps||(s!==r||l!==c)&&$o(t,a,r,c),Oo=!1;var f=t.memoizedState;a.state=f,Fo(t,r,a,i),l=t.memoizedState,s!==r||f!==l||Di.current||Oo?("function"==typeof u&&(Ho(t,n,u,r),l=t.memoizedState),(s=Oo||zo(t,n,s,r,f,l,c))?(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=l),a.props=r,a.state=l,a.context=c,r=s):("function"==typeof a.componentDidMount&&(t.flags|=4194308),r=!1)}else{a=t.stateNode,Po(e,t),s=t.memoizedProps,c=t.type===t.elementType?s:bo(t.type,s),a.props=c,d=t.pendingProps,f=a.context,l="object"==typeof(l=n.contextType)&&null!==l?Io(l):Oi(t,l=Ni(n)?ki:xi.current);var h=n.getDerivedStateFromProps;(u="function"==typeof h||"function"==typeof a.getSnapshotBeforeUpdate)||"function"!=typeof a.UNSAFE_componentWillReceiveProps&&"function"!=typeof a.componentWillReceiveProps||(s!==d||f!==l)&&$o(t,a,r,l),Oo=!1,f=t.memoizedState,a.state=f,Fo(t,r,a,i);var p=t.memoizedState;s!==d||f!==p||Di.current||Oo?("function"==typeof h&&(Ho(t,n,h,r),p=t.memoizedState),(c=Oo||zo(t,n,c,r,f,p,l)||!1)?(u||"function"!=typeof a.UNSAFE_componentWillUpdate&&"function"!=typeof a.componentWillUpdate||("function"==typeof a.componentWillUpdate&&a.componentWillUpdate(r,p,l),"function"==typeof a.UNSAFE_componentWillUpdate&&a.UNSAFE_componentWillUpdate(r,p,l)),"function"==typeof a.componentDidUpdate&&(t.flags|=4),"function"==typeof a.getSnapshotBeforeUpdate&&(t.flags|=1024)):("function"!=typeof a.componentDidUpdate||s===e.memoizedProps&&f===e.memoizedState||(t.flags|=4),"function"!=typeof a.getSnapshotBeforeUpdate||s===e.memoizedProps&&f===e.memoizedState||(t.flags|=1024),t.memoizedProps=r,t.memoizedState=p),a.props=r,a.state=p,a.context=l,r=c):("function"!=typeof a.componentDidUpdate||s===e.memoizedProps&&f===e.memoizedState||(t.flags|=4),"function"!=typeof a.getSnapshotBeforeUpdate||s===e.memoizedProps&&f===e.memoizedState||(t.flags|=1024),r=!1)}return Ds(e,t,n,r,o,i)}function Ds(e,t,n,r,i,o){Is(e,t);var a=0!=(128&t.flags);if(!r&&!a)return i&&Bi(t,n,!1),$s(e,t,o);r=t.stateNode,ys.current=t;var s=a&&"function"!=typeof n.getDerivedStateFromError?null:r.render();return t.flags|=1,null!==e&&a?(t.child=Qo(t,e.child,null,o),t.child=Qo(t,null,s,o)):Ts(e,t,s,o),t.memoizedState=r.state,i&&Bi(t,n,!0),t.child}function ks(e){var t=e.stateNode;t.pendingContext?Ri(0,t.pendingContext,t.pendingContext!==t.context):t.context&&Ri(0,t.context,!1),ia(e,t.containerInfo)}function Os(e,t,n,r,i){return po(),mo(i),t.flags|=256,Ts(e,t,n,r),t.child}var Ns,Ps,Rs,Ls,Ms={dehydrated:null,treeContext:null,retryLane:0};function Bs(e){return{baseLanes:e,cachePool:null,transitions:null}}function Fs(e,t,n){var r,i=t.pendingProps,a=la.current,s=!1,l=0!=(128&t.flags);if((r=l)||(r=(null===e||null!==e.memoizedState)&&0!=(2&a)),r?(s=!0,t.flags&=-129):null!==e&&null===e.memoizedState||(a|=1),Ii(la,1&a),null===e)return co(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):(l=i.children,e=i.fallback,s?(i=t.mode,s=t.child,l={mode:"hidden",children:l},0==(1&i)&&null!==s?(s.childLanes=0,s.pendingProps=l):s=Bc(l,i,0,null),e=Mc(e,i,n,null),s.return=t,e.return=t,s.sibling=e,t.child=s,t.child.memoizedState=Bs(n),t.memoizedState=Ms,e):Gs(t,l));if(null!==(a=e.memoizedState)&&null!==(r=a.dehydrated))return function(e,t,n,r,i,a,s){if(n)return 256&t.flags?(t.flags&=-257,js(e,t,s,r=ds(Error(o(422))))):null!==t.memoizedState?(t.child=e.child,t.flags|=128,null):(a=r.fallback,i=t.mode,r=Bc({mode:"visible",children:r.children},i,0,null),(a=Mc(a,i,s,null)).flags|=2,r.return=t,a.return=t,r.sibling=a,t.child=r,0!=(1&t.mode)&&Qo(t,e.child,null,s),t.child.memoizedState=Bs(s),t.memoizedState=Ms,a);if(0==(1&t.mode))return js(e,t,s,null);if("$!"===i.data){if(r=i.nextSibling&&i.nextSibling.dataset)var l=r.dgst;return r=l,js(e,t,s,r=ds(a=Error(o(419)),r,void 0))}if(l=0!=(s&e.childLanes),Es||l){if(null!==(r=kl)){switch(s&-s){case 4:i=2;break;case 16:i=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:i=32;break;case 536870912:i=268435456;break;default:i=0}0!==(i=0!=(i&(r.suspendedLanes|s))?0:i)&&i!==a.retryLane&&(a.retryLane=i,ko(e,i),rc(r,e,i,-1))}return gc(),js(e,t,s,r=ds(Error(o(421))))}return"$?"===i.data?(t.flags|=128,t.child=e.child,t=xc.bind(null,e),i._reactRetry=t,null):(e=a.treeContext,ro=ci(i.nextSibling),no=t,io=!0,oo=null,null!==e&&(Wi[Yi++]=Xi,Wi[Yi++]=Qi,Wi[Yi++]=Ki,Xi=e.id,Qi=e.overflow,Ki=t),(t=Gs(t,r.children)).flags|=4096,t)}(e,t,l,i,r,a,n);if(s){s=i.fallback,l=t.mode,r=(a=e.child).sibling;var c={mode:"hidden",children:i.children};return 0==(1&l)&&t.child!==a?((i=t.child).childLanes=0,i.pendingProps=c,t.deletions=null):(i=Rc(a,c)).subtreeFlags=14680064&a.subtreeFlags,null!==r?s=Rc(r,s):(s=Mc(s,l,n,null)).flags|=2,s.return=t,i.return=t,i.sibling=s,t.child=i,i=s,s=t.child,l=null===(l=e.child.memoizedState)?Bs(n):{baseLanes:l.baseLanes|n,cachePool:null,transitions:l.transitions},s.memoizedState=l,s.childLanes=e.childLanes&~n,t.memoizedState=Ms,i}return e=(s=e.child).sibling,i=Rc(s,{mode:"visible",children:i.children}),0==(1&t.mode)&&(i.lanes=n),i.return=t,i.sibling=null,null!==e&&(null===(n=t.deletions)?(t.deletions=[e],t.flags|=16):n.push(e)),t.child=i,t.memoizedState=null,i}function Gs(e,t){return(t=Bc({mode:"visible",children:t},e.mode,0,null)).return=e,e.child=t}function js(e,t,n,r){return null!==r&&mo(r),Qo(t,e.child,null,n),(e=Gs(t,t.pendingProps.children)).flags|=2,t.memoizedState=null,e}function Hs(e,t,n){e.lanes|=t;var r=e.alternate;null!==r&&(r.lanes|=t),So(e.return,t,n)}function Us(e,t,n,r,i){var o=e.memoizedState;null===o?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:r,tail:n,tailMode:i}:(o.isBackwards=t,o.rendering=null,o.renderingStartTime=0,o.last=r,o.tail=n,o.tailMode=i)}function zs(e,t,n){var r=t.pendingProps,i=r.revealOrder,o=r.tail;if(Ts(e,t,r.children,n),0!=(2&(r=la.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&&Hs(e,n,t);else if(19===e.tag)Hs(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(Ii(la,r),0==(1&t.mode))t.memoizedState=null;else switch(i){case"forwards":for(n=t.child,i=null;null!==n;)null!==(e=n.alternate)&&null===ca(e)&&(i=n),n=n.sibling;null===(n=i)?(i=t.child,t.child=null):(i=n.sibling,n.sibling=null),Us(t,!1,i,n,o);break;case"backwards":for(n=null,i=t.child,t.child=null;null!==i;){if(null!==(e=i.alternate)&&null===ca(e)){t.child=i;break}e=i.sibling,i.sibling=n,n=i,i=e}Us(t,!0,n,null,o);break;case"together":Us(t,!1,null,null,void 0);break;default:t.memoizedState=null}return t.child}function Vs(e,t){0==(1&t.mode)&&null!==e&&(e.alternate=null,t.alternate=null,t.flags|=2)}function $s(e,t,n){if(null!==e&&(t.dependencies=e.dependencies),Bl|=t.lanes,0==(n&t.childLanes))return null;if(null!==e&&t.child!==e.child)throw Error(o(153));if(null!==t.child){for(n=Rc(e=t.child,e.pendingProps),t.child=n,n.return=t;null!==e.sibling;)e=e.sibling,(n=n.sibling=Rc(e,e.pendingProps)).return=t;n.sibling=null}return t.child}function qs(e,t){if(!io)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 Ws(e){var t=null!==e.alternate&&e.alternate.child===e.child,n=0,r=0;if(t)for(var i=e.child;null!==i;)n|=i.lanes|i.childLanes,r|=14680064&i.subtreeFlags,r|=14680064&i.flags,i.return=e,i=i.sibling;else for(i=e.child;null!==i;)n|=i.lanes|i.childLanes,r|=i.subtreeFlags,r|=i.flags,i.return=e,i=i.sibling;return e.subtreeFlags|=r,e.childLanes=n,t}function Ys(e,t,n){var r=t.pendingProps;switch(to(t),t.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return Ws(t),null;case 1:case 17:return Ni(t.type)&&Pi(),Ws(t),null;case 3:return r=t.stateNode,oa(),Ci(Di),Ci(xi),da(),r.pendingContext&&(r.context=r.pendingContext,r.pendingContext=null),null!==e&&null!==e.child||(fo(t)?t.flags|=4:null===e||e.memoizedState.isDehydrated&&0==(256&t.flags)||(t.flags|=1024,null!==oo&&(sc(oo),oo=null))),Ps(e,t),Ws(t),null;case 5:sa(t);var i=ra(na.current);if(n=t.type,null!==e&&null!=t.stateNode)Rs(e,t,n,r,i),e.ref!==t.ref&&(t.flags|=512,t.flags|=2097152);else{if(!r){if(null===t.stateNode)throw Error(o(166));return Ws(t),null}if(e=ra(ea.current),fo(t)){r=t.stateNode,n=t.type;var a=t.memoizedProps;switch(r[fi]=t,r[hi]=a,e=0!=(1&t.mode),n){case"dialog":Gr("cancel",r),Gr("close",r);break;case"iframe":case"object":case"embed":Gr("load",r);break;case"video":case"audio":for(i=0;i<Lr.length;i++)Gr(Lr[i],r);break;case"source":Gr("error",r);break;case"img":case"image":case"link":Gr("error",r),Gr("load",r);break;case"details":Gr("toggle",r);break;case"input":X(r,a),Gr("invalid",r);break;case"select":r._wrapperState={wasMultiple:!!a.multiple},Gr("invalid",r);break;case"textarea":ie(r,a),Gr("invalid",r)}for(var l in ve(n,a),i=null,a)if(a.hasOwnProperty(l)){var c=a[l];"children"===l?"string"==typeof c?r.textContent!==c&&(!0!==a.suppressHydrationWarning&&Zr(r.textContent,c,e),i=["children",c]):"number"==typeof c&&r.textContent!==""+c&&(!0!==a.suppressHydrationWarning&&Zr(r.textContent,c,e),i=["children",""+c]):s.hasOwnProperty(l)&&null!=c&&"onScroll"===l&&Gr("scroll",r)}switch(n){case"input":q(r),J(r,a,!0);break;case"textarea":q(r),ae(r);break;case"select":case"option":break;default:"function"==typeof a.onClick&&(r.onclick=Jr)}r=i,t.updateQueue=r,null!==r&&(t.flags|=4)}else{l=9===i.nodeType?i:i.ownerDocument,"http://www.w3.org/1999/xhtml"===e&&(e=se(n)),"http://www.w3.org/1999/xhtml"===e?"script"===n?((e=l.createElement("div")).innerHTML="<script><\/script>",e=e.removeChild(e.firstChild)):"string"==typeof r.is?e=l.createElement(n,{is:r.is}):(e=l.createElement(n),"select"===n&&(l=e,r.multiple?l.multiple=!0:r.size&&(l.size=r.size))):e=l.createElementNS(e,n),e[fi]=t,e[hi]=r,Ns(e,t,!1,!1),t.stateNode=e;e:{switch(l=ye(n,r),n){case"dialog":Gr("cancel",e),Gr("close",e),i=r;break;case"iframe":case"object":case"embed":Gr("load",e),i=r;break;case"video":case"audio":for(i=0;i<Lr.length;i++)Gr(Lr[i],e);i=r;break;case"source":Gr("error",e),i=r;break;case"img":case"image":case"link":Gr("error",e),Gr("load",e),i=r;break;case"details":Gr("toggle",e),i=r;break;case"input":X(e,r),i=K(e,r),Gr("invalid",e);break;case"option":default:i=r;break;case"select":e._wrapperState={wasMultiple:!!r.multiple},i=B({},r,{value:void 0}),Gr("invalid",e);break;case"textarea":ie(e,r),i=re(e,r),Gr("invalid",e)}for(a in ve(n,i),c=i)if(c.hasOwnProperty(a)){var u=c[a];"style"===a?ge(e,u):"dangerouslySetInnerHTML"===a?null!=(u=u?u.__html:void 0)&&de(e,u):"children"===a?"string"==typeof u?("textarea"!==n||""!==u)&&fe(e,u):"number"==typeof u&&fe(e,""+u):"suppressContentEditableWarning"!==a&&"suppressHydrationWarning"!==a&&"autoFocus"!==a&&(s.hasOwnProperty(a)?null!=u&&"onScroll"===a&&Gr("scroll",e):null!=u&&y(e,a,u,l))}switch(n){case"input":q(e),J(e,r,!1);break;case"textarea":q(e),ae(e);break;case"option":null!=r.value&&e.setAttribute("value",""+V(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 i.onClick&&(e.onclick=Jr)}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 Ws(t),null;case 6:if(e&&null!=t.stateNode)Ls(e,t,e.memoizedProps,r);else{if("string"!=typeof r&&null===t.stateNode)throw Error(o(166));if(n=ra(na.current),ra(ea.current),fo(t)){if(r=t.stateNode,n=t.memoizedProps,r[fi]=t,(a=r.nodeValue!==n)&&null!==(e=no))switch(e.tag){case 3:Zr(r.nodeValue,n,0!=(1&e.mode));break;case 5:!0!==e.memoizedProps.suppressHydrationWarning&&Zr(r.nodeValue,n,0!=(1&e.mode))}a&&(t.flags|=4)}else(r=(9===n.nodeType?n:n.ownerDocument).createTextNode(r))[fi]=t,t.stateNode=r}return Ws(t),null;case 13:if(Ci(la),r=t.memoizedState,null===e||null!==e.memoizedState&&null!==e.memoizedState.dehydrated){if(io&&null!==ro&&0!=(1&t.mode)&&0==(128&t.flags))ho(),po(),t.flags|=98560,a=!1;else if(a=fo(t),null!==r&&null!==r.dehydrated){if(null===e){if(!a)throw Error(o(318));if(!(a=null!==(a=t.memoizedState)?a.dehydrated:null))throw Error(o(317));a[fi]=t}else po(),0==(128&t.flags)&&(t.memoizedState=null),t.flags|=4;Ws(t),a=!1}else null!==oo&&(sc(oo),oo=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&la.current)?0===Ll&&(Ll=3):gc())),null!==t.updateQueue&&(t.flags|=4),Ws(t),null);case 4:return oa(),Ps(e,t),null===e&&Ur(t.stateNode.containerInfo),Ws(t),null;case 10:return Ao(t.type._context),Ws(t),null;case 19:if(Ci(la),null===(a=t.memoizedState))return Ws(t),null;if(r=0!=(128&t.flags),null===(l=a.rendering))if(r)qs(a,!1);else{if(0!==Ll||null!==e&&0!=(128&e.flags))for(e=t.child;null!==e;){if(null!==(l=ca(e))){for(t.flags|=128,qs(a,!1),null!==(r=l.updateQueue)&&(t.updateQueue=r,t.flags|=4),t.subtreeFlags=0,r=n,n=t.child;null!==n;)e=r,(a=n).flags&=14680066,null===(l=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=l.childLanes,a.lanes=l.lanes,a.child=l.child,a.subtreeFlags=0,a.deletions=null,a.memoizedProps=l.memoizedProps,a.memoizedState=l.memoizedState,a.updateQueue=l.updateQueue,a.type=l.type,e=l.dependencies,a.dependencies=null===e?null:{lanes:e.lanes,firstContext:e.firstContext}),n=n.sibling;return Ii(la,1&la.current|2),t.child}e=e.sibling}null!==a.tail&&Qe()>zl&&(t.flags|=128,r=!0,qs(a,!1),t.lanes=4194304)}else{if(!r)if(null!==(e=ca(l))){if(t.flags|=128,r=!0,null!==(n=e.updateQueue)&&(t.updateQueue=n,t.flags|=4),qs(a,!0),null===a.tail&&"hidden"===a.tailMode&&!l.alternate&&!io)return Ws(t),null}else 2*Qe()-a.renderingStartTime>zl&&1073741824!==n&&(t.flags|=128,r=!0,qs(a,!1),t.lanes=4194304);a.isBackwards?(l.sibling=t.child,t.child=l):(null!==(n=a.last)?n.sibling=l:t.child=l,a.last=l)}return null!==a.tail?(t=a.tail,a.rendering=t,a.tail=t.sibling,a.renderingStartTime=Qe(),t.sibling=null,n=la.current,Ii(la,r?1&n|2:1&n),t):(Ws(t),null);case 22:case 23:return fc(),r=null!==t.memoizedState,null!==e&&null!==e.memoizedState!==r&&(t.flags|=8192),r&&0!=(1&t.mode)?0!=(1073741824&Pl)&&(Ws(t),6&t.subtreeFlags&&(t.flags|=8192)):Ws(t),null;case 24:case 25:return null}throw Error(o(156,t.tag))}function Ks(e,t){switch(to(t),t.tag){case 1:return Ni(t.type)&&Pi(),65536&(e=t.flags)?(t.flags=-65537&e|128,t):null;case 3:return oa(),Ci(Di),Ci(xi),da(),0!=(65536&(e=t.flags))&&0==(128&e)?(t.flags=-65537&e|128,t):null;case 5:return sa(t),null;case 13:if(Ci(la),null!==(e=t.memoizedState)&&null!==e.dehydrated){if(null===t.alternate)throw Error(o(340));po()}return 65536&(e=t.flags)?(t.flags=-65537&e|128,t):null;case 19:return Ci(la),null;case 4:return oa(),null;case 10:return Ao(t.type._context),null;case 22:case 23:return fc(),null;default:return null}}Ns=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}},Ps=function(){},Rs=function(e,t,n,r){var i=e.memoizedProps;if(i!==r){e=t.stateNode,ra(ea.current);var o,a=null;switch(n){case"input":i=K(e,i),r=K(e,r),a=[];break;case"select":i=B({},i,{value:void 0}),r=B({},r,{value:void 0}),a=[];break;case"textarea":i=re(e,i),r=re(e,r),a=[];break;default:"function"!=typeof i.onClick&&"function"==typeof r.onClick&&(e.onclick=Jr)}for(u in ve(n,r),n=null,i)if(!r.hasOwnProperty(u)&&i.hasOwnProperty(u)&&null!=i[u])if("style"===u){var l=i[u];for(o in l)l.hasOwnProperty(o)&&(n||(n={}),n[o]="")}else"dangerouslySetInnerHTML"!==u&&"children"!==u&&"suppressContentEditableWarning"!==u&&"suppressHydrationWarning"!==u&&"autoFocus"!==u&&(s.hasOwnProperty(u)?a||(a=[]):(a=a||[]).push(u,null));for(u in r){var c=r[u];if(l=null!=i?i[u]:void 0,r.hasOwnProperty(u)&&c!==l&&(null!=c||null!=l))if("style"===u)if(l){for(o in l)!l.hasOwnProperty(o)||c&&c.hasOwnProperty(o)||(n||(n={}),n[o]="");for(o in c)c.hasOwnProperty(o)&&l[o]!==c[o]&&(n||(n={}),n[o]=c[o])}else n||(a||(a=[]),a.push(u,n)),n=c;else"dangerouslySetInnerHTML"===u?(c=c?c.__html:void 0,l=l?l.__html:void 0,null!=c&&l!==c&&(a=a||[]).push(u,c)):"children"===u?"string"!=typeof c&&"number"!=typeof c||(a=a||[]).push(u,""+c):"suppressContentEditableWarning"!==u&&"suppressHydrationWarning"!==u&&(s.hasOwnProperty(u)?(null!=c&&"onScroll"===u&&Gr("scroll",e),a||l===c||(a=[])):(a=a||[]).push(u,c))}n&&(a=a||[]).push("style",n);var u=a;(t.updateQueue=u)&&(t.flags|=4)}},Ls=function(e,t,n,r){n!==r&&(t.flags|=4)};var Xs=!1,Qs=!1,Zs="function"==typeof WeakSet?WeakSet:Set,Js=null;function el(e,t){var n=e.ref;if(null!==n)if("function"==typeof n)try{n(null)}catch(n){Cc(e,t,n)}else n.current=null}function tl(e,t,n){try{n()}catch(n){Cc(e,t,n)}}var nl=!1;function rl(e,t,n){var r=t.updateQueue;if(null!==(r=null!==r?r.lastEffect:null)){var i=r=r.next;do{if((i.tag&e)===e){var o=i.destroy;i.destroy=void 0,void 0!==o&&tl(t,n,o)}i=i.next}while(i!==r)}}function il(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 ol(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 al(e){var t=e.alternate;null!==t&&(e.alternate=null,al(t)),e.child=null,e.deletions=null,e.sibling=null,5===e.tag&&null!==(t=e.stateNode)&&(delete t[fi],delete t[hi],delete t[mi],delete t[gi],delete t[bi]),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 sl(e){return 5===e.tag||3===e.tag||4===e.tag}function ll(e){e:for(;;){for(;null===e.sibling;){if(null===e.return||sl(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 cl(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=Jr));else if(4!==r&&null!==(e=e.child))for(cl(e,t,n),e=e.sibling;null!==e;)cl(e,t,n),e=e.sibling}function ul(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(ul(e,t,n),e=e.sibling;null!==e;)ul(e,t,n),e=e.sibling}var dl=null,fl=!1;function hl(e,t,n){for(n=n.child;null!==n;)pl(e,t,n),n=n.sibling}function pl(e,t,n){if(ot&&"function"==typeof ot.onCommitFiberUnmount)try{ot.onCommitFiberUnmount(it,n)}catch(e){}switch(n.tag){case 5:Qs||el(n,t);case 6:var r=dl,i=fl;dl=null,hl(e,t,n),fl=i,null!==(dl=r)&&(fl?(e=dl,n=n.stateNode,8===e.nodeType?e.parentNode.removeChild(n):e.removeChild(n)):dl.removeChild(n.stateNode));break;case 18:null!==dl&&(fl?(e=dl,n=n.stateNode,8===e.nodeType?li(e.parentNode,n):1===e.nodeType&&li(e,n),Ut(e)):li(dl,n.stateNode));break;case 4:r=dl,i=fl,dl=n.stateNode.containerInfo,fl=!0,hl(e,t,n),dl=r,fl=i;break;case 0:case 11:case 14:case 15:if(!Qs&&null!==(r=n.updateQueue)&&null!==(r=r.lastEffect)){i=r=r.next;do{var o=i,a=o.destroy;o=o.tag,void 0!==a&&(0!=(2&o)||0!=(4&o))&&tl(n,t,a),i=i.next}while(i!==r)}hl(e,t,n);break;case 1:if(!Qs&&(el(n,t),"function"==typeof(r=n.stateNode).componentWillUnmount))try{r.props=n.memoizedProps,r.state=n.memoizedState,r.componentWillUnmount()}catch(e){Cc(n,t,e)}hl(e,t,n);break;case 21:hl(e,t,n);break;case 22:1&n.mode?(Qs=(r=Qs)||null!==n.memoizedState,hl(e,t,n),Qs=r):hl(e,t,n);break;default:hl(e,t,n)}}function ml(e){var t=e.updateQueue;if(null!==t){e.updateQueue=null;var n=e.stateNode;null===n&&(n=e.stateNode=new Zs),t.forEach((function(t){var r=Dc.bind(null,e,t);n.has(t)||(n.add(t),t.then(r,r))}))}}function gl(e,t){var n=t.deletions;if(null!==n)for(var r=0;r<n.length;r++){var i=n[r];try{var a=e,s=t,l=s;e:for(;null!==l;){switch(l.tag){case 5:dl=l.stateNode,fl=!1;break e;case 3:case 4:dl=l.stateNode.containerInfo,fl=!0;break e}l=l.return}if(null===dl)throw Error(o(160));pl(a,s,i),dl=null,fl=!1;var c=i.alternate;null!==c&&(c.return=null),i.return=null}catch(e){Cc(i,t,e)}}if(12854&t.subtreeFlags)for(t=t.child;null!==t;)bl(t,e),t=t.sibling}function bl(e,t){var n=e.alternate,r=e.flags;switch(e.tag){case 0:case 11:case 14:case 15:if(gl(t,e),vl(e),4&r){try{rl(3,e,e.return),il(3,e)}catch(t){Cc(e,e.return,t)}try{rl(5,e,e.return)}catch(t){Cc(e,e.return,t)}}break;case 1:gl(t,e),vl(e),512&r&&null!==n&&el(n,n.return);break;case 5:if(gl(t,e),vl(e),512&r&&null!==n&&el(n,n.return),32&e.flags){var i=e.stateNode;try{fe(i,"")}catch(t){Cc(e,e.return,t)}}if(4&r&&null!=(i=e.stateNode)){var a=e.memoizedProps,s=null!==n?n.memoizedProps:a,l=e.type,c=e.updateQueue;if(e.updateQueue=null,null!==c)try{"input"===l&&"radio"===a.type&&null!=a.name&&Q(i,a),ye(l,s);var u=ye(l,a);for(s=0;s<c.length;s+=2){var d=c[s],f=c[s+1];"style"===d?ge(i,f):"dangerouslySetInnerHTML"===d?de(i,f):"children"===d?fe(i,f):y(i,d,f,u)}switch(l){case"input":Z(i,a);break;case"textarea":oe(i,a);break;case"select":var h=i._wrapperState.wasMultiple;i._wrapperState.wasMultiple=!!a.multiple;var p=a.value;null!=p?ne(i,!!a.multiple,p,!1):h!==!!a.multiple&&(null!=a.defaultValue?ne(i,!!a.multiple,a.defaultValue,!0):ne(i,!!a.multiple,a.multiple?[]:"",!1))}i[hi]=a}catch(t){Cc(e,e.return,t)}}break;case 6:if(gl(t,e),vl(e),4&r){if(null===e.stateNode)throw Error(o(162));i=e.stateNode,a=e.memoizedProps;try{i.nodeValue=a}catch(t){Cc(e,e.return,t)}}break;case 3:if(gl(t,e),vl(e),4&r&&null!==n&&n.memoizedState.isDehydrated)try{Ut(t.containerInfo)}catch(t){Cc(e,e.return,t)}break;case 4:default:gl(t,e),vl(e);break;case 13:gl(t,e),vl(e),8192&(i=e.child).flags&&(a=null!==i.memoizedState,i.stateNode.isHidden=a,!a||null!==i.alternate&&null!==i.alternate.memoizedState||(Ul=Qe())),4&r&&ml(e);break;case 22:if(d=null!==n&&null!==n.memoizedState,1&e.mode?(Qs=(u=Qs)||d,gl(t,e),Qs=u):gl(t,e),vl(e),8192&r){if(u=null!==e.memoizedState,(e.stateNode.isHidden=u)&&!d&&0!=(1&e.mode))for(Js=e,d=e.child;null!==d;){for(f=Js=d;null!==Js;){switch(p=(h=Js).child,h.tag){case 0:case 11:case 14:case 15:rl(4,h,h.return);break;case 1:el(h,h.return);var m=h.stateNode;if("function"==typeof m.componentWillUnmount){r=h,n=h.return;try{t=r,m.props=t.memoizedProps,m.state=t.memoizedState,m.componentWillUnmount()}catch(e){Cc(r,n,e)}}break;case 5:el(h,h.return);break;case 22:if(null!==h.memoizedState){_l(f);continue}}null!==p?(p.return=h,Js=p):_l(f)}d=d.sibling}e:for(d=null,f=e;;){if(5===f.tag){if(null===d){d=f;try{i=f.stateNode,u?"function"==typeof(a=i.style).setProperty?a.setProperty("display","none","important"):a.display="none":(l=f.stateNode,s=null!=(c=f.memoizedProps.style)&&c.hasOwnProperty("display")?c.display:null,l.style.display=me("display",s))}catch(t){Cc(e,e.return,t)}}}else if(6===f.tag){if(null===d)try{f.stateNode.nodeValue=u?"":f.memoizedProps}catch(t){Cc(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:gl(t,e),vl(e),4&r&&ml(e);case 21:}}function vl(e){var t=e.flags;if(2&t){try{e:{for(var n=e.return;null!==n;){if(sl(n)){var r=n;break e}n=n.return}throw Error(o(160))}switch(r.tag){case 5:var i=r.stateNode;32&r.flags&&(fe(i,""),r.flags&=-33),ul(e,ll(e),i);break;case 3:case 4:var a=r.stateNode.containerInfo;cl(e,ll(e),a);break;default:throw Error(o(161))}}catch(t){Cc(e,e.return,t)}e.flags&=-3}4096&t&&(e.flags&=-4097)}function yl(e,t,n){Js=e,El(e,t,n)}function El(e,t,n){for(var r=0!=(1&e.mode);null!==Js;){var i=Js,o=i.child;if(22===i.tag&&r){var a=null!==i.memoizedState||Xs;if(!a){var s=i.alternate,l=null!==s&&null!==s.memoizedState||Qs;s=Xs;var c=Qs;if(Xs=a,(Qs=l)&&!c)for(Js=i;null!==Js;)l=(a=Js).child,22===a.tag&&null!==a.memoizedState?Al(i):null!==l?(l.return=a,Js=l):Al(i);for(;null!==o;)Js=o,El(o,t,n),o=o.sibling;Js=i,Xs=s,Qs=c}Tl(e)}else 0!=(8772&i.subtreeFlags)&&null!==o?(o.return=i,Js=o):Tl(e)}}function Tl(e){for(;null!==Js;){var t=Js;if(0!=(8772&t.flags)){var n=t.alternate;try{if(0!=(8772&t.flags))switch(t.tag){case 0:case 11:case 15:Qs||il(5,t);break;case 1:var r=t.stateNode;if(4&t.flags&&!Qs)if(null===n)r.componentDidMount();else{var i=t.elementType===t.type?n.memoizedProps:bo(t.type,n.memoizedProps);r.componentDidUpdate(i,n.memoizedState,r.__reactInternalSnapshotBeforeUpdate)}var a=t.updateQueue;null!==a&&Go(t,a,r);break;case 3:var s=t.updateQueue;if(null!==s){if(n=null,null!==t.child)switch(t.child.tag){case 5:case 1:n=t.child.stateNode}Go(t,s,n)}break;case 5:var l=t.stateNode;if(null===n&&4&t.flags){n=l;var c=t.memoizedProps;switch(t.type){case"button":case"input":case"select":case"textarea":c.autoFocus&&n.focus();break;case"img":c.src&&(n.src=c.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 u=t.alternate;if(null!==u){var d=u.memoizedState;if(null!==d){var f=d.dehydrated;null!==f&&Ut(f)}}}break;default:throw Error(o(163))}Qs||512&t.flags&&ol(t)}catch(e){Cc(t,t.return,e)}}if(t===e){Js=null;break}if(null!==(n=t.sibling)){n.return=t.return,Js=n;break}Js=t.return}}function _l(e){for(;null!==Js;){var t=Js;if(t===e){Js=null;break}var n=t.sibling;if(null!==n){n.return=t.return,Js=n;break}Js=t.return}}function Al(e){for(;null!==Js;){var t=Js;try{switch(t.tag){case 0:case 11:case 15:var n=t.return;try{il(4,t)}catch(e){Cc(t,n,e)}break;case 1:var r=t.stateNode;if("function"==typeof r.componentDidMount){var i=t.return;try{r.componentDidMount()}catch(e){Cc(t,i,e)}}var o=t.return;try{ol(t)}catch(e){Cc(t,o,e)}break;case 5:var a=t.return;try{ol(t)}catch(e){Cc(t,a,e)}}}catch(e){Cc(t,t.return,e)}if(t===e){Js=null;break}var s=t.sibling;if(null!==s){s.return=t.return,Js=s;break}Js=t.return}}var Sl,Cl=Math.ceil,Il=E.ReactCurrentDispatcher,wl=E.ReactCurrentOwner,xl=E.ReactCurrentBatchConfig,Dl=0,kl=null,Ol=null,Nl=0,Pl=0,Rl=Si(0),Ll=0,Ml=null,Bl=0,Fl=0,Gl=0,jl=null,Hl=null,Ul=0,zl=1/0,Vl=null,$l=!1,ql=null,Wl=null,Yl=!1,Kl=null,Xl=0,Ql=0,Zl=null,Jl=-1,ec=0;function tc(){return 0!=(6&Dl)?Qe():-1!==Jl?Jl:Jl=Qe()}function nc(e){return 0==(1&e.mode)?1:0!=(2&Dl)&&0!==Nl?Nl&-Nl:null!==go.transition?(0===ec&&(ec=mt()),ec):0!==(e=yt)?e:e=void 0===(e=window.event)?16:Xt(e.type)}function rc(e,t,n,r){if(50<Ql)throw Ql=0,Zl=null,Error(o(185));bt(e,n,r),0!=(2&Dl)&&e===kl||(e===kl&&(0==(2&Dl)&&(Fl|=n),4===Ll&&lc(e,Nl)),ic(e,r),1===n&&0===Dl&&0==(1&t.mode)&&(zl=Qe()+500,Gi&&Ui()))}function ic(e,t){var n=e.callbackNode;!function(e,t){for(var n=e.suspendedLanes,r=e.pingedLanes,i=e.expirationTimes,o=e.pendingLanes;0<o;){var a=31-at(o),s=1<<a,l=i[a];-1===l?0!=(s&n)&&0==(s&r)||(i[a]=ht(s,t)):l<=t&&(e.expiredLanes|=s),o&=~s}}(e,t);var r=ft(e,e===kl?Nl:0);if(0===r)null!==n&&Ye(n),e.callbackNode=null,e.callbackPriority=0;else if(t=r&-r,e.callbackPriority!==t){if(null!=n&&Ye(n),1===t)0===e.tag?function(e){Gi=!0,Hi(e)}(cc.bind(null,e)):Hi(cc.bind(null,e)),ai((function(){0==(6&Dl)&&Ui()})),n=null;else{switch(Et(r)){case 1:n=Je;break;case 4:n=et;break;case 16:default:n=tt;break;case 536870912:n=rt}n=kc(n,oc.bind(null,e))}e.callbackPriority=t,e.callbackNode=n}}function oc(e,t){if(Jl=-1,ec=0,0!=(6&Dl))throw Error(o(327));var n=e.callbackNode;if(Ac()&&e.callbackNode!==n)return null;var r=ft(e,e===kl?Nl:0);if(0===r)return null;if(0!=(30&r)||0!=(r&e.expiredLanes)||t)t=bc(e,r);else{t=r;var i=Dl;Dl|=2;var a=mc();for(kl===e&&Nl===t||(Vl=null,zl=Qe()+500,hc(e,t));;)try{yc();break}catch(t){pc(e,t)}_o(),Il.current=a,Dl=i,null!==Ol?t=0:(kl=null,Nl=0,t=Ll)}if(0!==t){if(2===t&&0!==(i=pt(e))&&(r=i,t=ac(e,i)),1===t)throw n=Ml,hc(e,0),lc(e,r),ic(e,Qe()),n;if(6===t)lc(e,r);else{if(i=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 i=n[r],o=i.getSnapshot;i=i.value;try{if(!sr(o(),i))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}(i)&&(2===(t=bc(e,r))&&0!==(a=pt(e))&&(r=a,t=ac(e,a)),1===t))throw n=Ml,hc(e,0),lc(e,r),ic(e,Qe()),n;switch(e.finishedWork=i,e.finishedLanes=r,t){case 0:case 1:throw Error(o(345));case 2:case 5:_c(e,Hl,Vl);break;case 3:if(lc(e,r),(130023424&r)===r&&10<(t=Ul+500-Qe())){if(0!==ft(e,0))break;if(((i=e.suspendedLanes)&r)!==r){tc(),e.pingedLanes|=e.suspendedLanes&i;break}e.timeoutHandle=ri(_c.bind(null,e,Hl,Vl),t);break}_c(e,Hl,Vl);break;case 4:if(lc(e,r),(4194240&r)===r)break;for(t=e.eventTimes,i=-1;0<r;){var s=31-at(r);a=1<<s,(s=t[s])>i&&(i=s),r&=~a}if(r=i,10<(r=(120>(r=Qe()-r)?120:480>r?480:1080>r?1080:1920>r?1920:3e3>r?3e3:4320>r?4320:1960*Cl(r/1960))-r)){e.timeoutHandle=ri(_c.bind(null,e,Hl,Vl),r);break}_c(e,Hl,Vl);break;default:throw Error(o(329))}}}return ic(e,Qe()),e.callbackNode===n?oc.bind(null,e):null}function ac(e,t){var n=jl;return e.current.memoizedState.isDehydrated&&(hc(e,t).flags|=256),2!==(e=bc(e,t))&&(t=Hl,Hl=n,null!==t&&sc(t)),e}function sc(e){null===Hl?Hl=e:Hl.push.apply(Hl,e)}function lc(e,t){for(t&=~Gl,t&=~Fl,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 cc(e){if(0!=(6&Dl))throw Error(o(327));Ac();var t=ft(e,0);if(0==(1&t))return ic(e,Qe()),null;var n=bc(e,t);if(0!==e.tag&&2===n){var r=pt(e);0!==r&&(t=r,n=ac(e,r))}if(1===n)throw n=Ml,hc(e,0),lc(e,t),ic(e,Qe()),n;if(6===n)throw Error(o(345));return e.finishedWork=e.current.alternate,e.finishedLanes=t,_c(e,Hl,Vl),ic(e,Qe()),null}function uc(e,t){var n=Dl;Dl|=1;try{return e(t)}finally{0===(Dl=n)&&(zl=Qe()+500,Gi&&Ui())}}function dc(e){null!==Kl&&0===Kl.tag&&0==(6&Dl)&&Ac();var t=Dl;Dl|=1;var n=xl.transition,r=yt;try{if(xl.transition=null,yt=1,e)return e()}finally{yt=r,xl.transition=n,0==(6&(Dl=t))&&Ui()}}function fc(){Pl=Rl.current,Ci(Rl)}function hc(e,t){e.finishedWork=null,e.finishedLanes=0;var n=e.timeoutHandle;if(-1!==n&&(e.timeoutHandle=-1,ii(n)),null!==Ol)for(n=Ol.return;null!==n;){var r=n;switch(to(r),r.tag){case 1:null!=(r=r.type.childContextTypes)&&Pi();break;case 3:oa(),Ci(Di),Ci(xi),da();break;case 5:sa(r);break;case 4:oa();break;case 13:case 19:Ci(la);break;case 10:Ao(r.type._context);break;case 22:case 23:fc()}n=n.return}if(kl=e,Ol=e=Rc(e.current,null),Nl=Pl=t,Ll=0,Ml=null,Gl=Fl=Bl=0,Hl=jl=null,null!==wo){for(t=0;t<wo.length;t++)if(null!==(r=(n=wo[t]).interleaved)){n.interleaved=null;var i=r.next,o=n.pending;if(null!==o){var a=o.next;o.next=i,r.next=a}n.pending=r}wo=null}return e}function pc(e,t){for(;;){var n=Ol;try{if(_o(),fa.current=as,va){for(var r=ma.memoizedState;null!==r;){var i=r.queue;null!==i&&(i.pending=null),r=r.next}va=!1}if(pa=0,ba=ga=ma=null,ya=!1,Ea=0,wl.current=null,null===n||null===n.return){Ll=1,Ml=t,Ol=null;break}e:{var a=e,s=n.return,l=n,c=t;if(t=Nl,l.flags|=32768,null!==c&&"object"==typeof c&&"function"==typeof c.then){var u=c,d=l,f=d.tag;if(0==(1&d.mode)&&(0===f||11===f||15===f)){var h=d.alternate;h?(d.updateQueue=h.updateQueue,d.memoizedState=h.memoizedState,d.lanes=h.lanes):(d.updateQueue=null,d.memoizedState=null)}var p=bs(s);if(null!==p){p.flags&=-257,vs(p,s,l,0,t),1&p.mode&&gs(a,u,t),c=u;var m=(t=p).updateQueue;if(null===m){var g=new Set;g.add(c),t.updateQueue=g}else m.add(c);break e}if(0==(1&t)){gs(a,u,t),gc();break e}c=Error(o(426))}else if(io&&1&l.mode){var b=bs(s);if(null!==b){0==(65536&b.flags)&&(b.flags|=256),vs(b,s,l,0,t),mo(us(c,l));break e}}a=c=us(c,l),4!==Ll&&(Ll=2),null===jl?jl=[a]:jl.push(a),a=s;do{switch(a.tag){case 3:a.flags|=65536,t&=-t,a.lanes|=t,Bo(a,ps(0,c,t));break e;case 1:l=c;var v=a.type,y=a.stateNode;if(0==(128&a.flags)&&("function"==typeof v.getDerivedStateFromError||null!==y&&"function"==typeof y.componentDidCatch&&(null===Wl||!Wl.has(y)))){a.flags|=65536,t&=-t,a.lanes|=t,Bo(a,ms(a,l,t));break e}}a=a.return}while(null!==a)}Tc(n)}catch(e){t=e,Ol===n&&null!==n&&(Ol=n=n.return);continue}break}}function mc(){var e=Il.current;return Il.current=as,null===e?as:e}function gc(){0!==Ll&&3!==Ll&&2!==Ll||(Ll=4),null===kl||0==(268435455&Bl)&&0==(268435455&Fl)||lc(kl,Nl)}function bc(e,t){var n=Dl;Dl|=2;var r=mc();for(kl===e&&Nl===t||(Vl=null,hc(e,t));;)try{vc();break}catch(t){pc(e,t)}if(_o(),Dl=n,Il.current=r,null!==Ol)throw Error(o(261));return kl=null,Nl=0,Ll}function vc(){for(;null!==Ol;)Ec(Ol)}function yc(){for(;null!==Ol&&!Ke();)Ec(Ol)}function Ec(e){var t=Sl(e.alternate,e,Pl);e.memoizedProps=e.pendingProps,null===t?Tc(e):Ol=t,wl.current=null}function Tc(e){var t=e;do{var n=t.alternate;if(e=t.return,0==(32768&t.flags)){if(null!==(n=Ys(n,t,Pl)))return void(Ol=n)}else{if(null!==(n=Ks(n,t)))return n.flags&=32767,void(Ol=n);if(null===e)return Ll=6,void(Ol=null);e.flags|=32768,e.subtreeFlags=0,e.deletions=null}if(null!==(t=t.sibling))return void(Ol=t);Ol=t=e}while(null!==t);0===Ll&&(Ll=5)}function _c(e,t,n){var r=yt,i=xl.transition;try{xl.transition=null,yt=1,function(e,t,n,r){do{Ac()}while(null!==Kl);if(0!=(6&Dl))throw Error(o(327));n=e.finishedWork;var i=e.finishedLanes;if(null===n)return null;if(e.finishedWork=null,e.finishedLanes=0,n===e.current)throw Error(o(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 i=31-at(n),o=1<<i;t[i]=0,r[i]=-1,e[i]=-1,n&=~o}}(e,a),e===kl&&(Ol=kl=null,Nl=0),0==(2064&n.subtreeFlags)&&0==(2064&n.flags)||Yl||(Yl=!0,kc(tt,(function(){return Ac(),null}))),a=0!=(15990&n.flags),0!=(15990&n.subtreeFlags)||a){a=xl.transition,xl.transition=null;var s=yt;yt=1;var l=Dl;Dl|=4,wl.current=null,function(e,t){if(ei=Vt,hr(e=fr())){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 i=r.anchorOffset,a=r.focusNode;r=r.focusOffset;try{n.nodeType,a.nodeType}catch(e){n=null;break e}var s=0,l=-1,c=-1,u=0,d=0,f=e,h=null;t:for(;;){for(var p;f!==n||0!==i&&3!==f.nodeType||(l=s+i),f!==a||0!==r&&3!==f.nodeType||(c=s+r),3===f.nodeType&&(s+=f.nodeValue.length),null!==(p=f.firstChild);)h=f,f=p;for(;;){if(f===e)break t;if(h===n&&++u===i&&(l=s),h===a&&++d===r&&(c=s),null!==(p=f.nextSibling))break;h=(f=h).parentNode}f=p}n=-1===l||-1===c?null:{start:l,end:c}}else n=null}n=n||{start:0,end:0}}else n=null;for(ti={focusedElem:e,selectionRange:n},Vt=!1,Js=t;null!==Js;)if(e=(t=Js).child,0!=(1028&t.subtreeFlags)&&null!==e)e.return=t,Js=e;else for(;null!==Js;){t=Js;try{var m=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!==m){var g=m.memoizedProps,b=m.memoizedState,v=t.stateNode,y=v.getSnapshotBeforeUpdate(t.elementType===t.type?g:bo(t.type,g),b);v.__reactInternalSnapshotBeforeUpdate=y}break;case 3:var E=t.stateNode.containerInfo;1===E.nodeType?E.textContent="":9===E.nodeType&&E.documentElement&&E.removeChild(E.documentElement);break;default:throw Error(o(163))}}catch(e){Cc(t,t.return,e)}if(null!==(e=t.sibling)){e.return=t.return,Js=e;break}Js=t.return}m=nl,nl=!1}(e,n),bl(n,e),pr(ti),Vt=!!ei,ti=ei=null,e.current=n,yl(n,e,i),Xe(),Dl=l,yt=s,xl.transition=a}else e.current=n;if(Yl&&(Yl=!1,Kl=e,Xl=i),0===(a=e.pendingLanes)&&(Wl=null),function(e){if(ot&&"function"==typeof ot.onCommitFiberRoot)try{ot.onCommitFiberRoot(it,e,void 0,128==(128&e.current.flags))}catch(e){}}(n.stateNode),ic(e,Qe()),null!==t)for(r=e.onRecoverableError,n=0;n<t.length;n++)r((i=t[n]).value,{componentStack:i.stack,digest:i.digest});if($l)throw $l=!1,e=ql,ql=null,e;0!=(1&Xl)&&0!==e.tag&&Ac(),0!=(1&(a=e.pendingLanes))?e===Zl?Ql++:(Ql=0,Zl=e):Ql=0,Ui()}(e,t,n,r)}finally{xl.transition=i,yt=r}return null}function Ac(){if(null!==Kl){var e=Et(Xl),t=xl.transition,n=yt;try{if(xl.transition=null,yt=16>e?16:e,null===Kl)var r=!1;else{if(e=Kl,Kl=null,Xl=0,0!=(6&Dl))throw Error(o(331));var i=Dl;for(Dl|=4,Js=e.current;null!==Js;){var a=Js,s=a.child;if(0!=(16&Js.flags)){var l=a.deletions;if(null!==l){for(var c=0;c<l.length;c++){var u=l[c];for(Js=u;null!==Js;){var d=Js;switch(d.tag){case 0:case 11:case 15:rl(8,d,a)}var f=d.child;if(null!==f)f.return=d,Js=f;else for(;null!==Js;){var h=(d=Js).sibling,p=d.return;if(al(d),d===u){Js=null;break}if(null!==h){h.return=p,Js=h;break}Js=p}}}var m=a.alternate;if(null!==m){var g=m.child;if(null!==g){m.child=null;do{var b=g.sibling;g.sibling=null,g=b}while(null!==g)}}Js=a}}if(0!=(2064&a.subtreeFlags)&&null!==s)s.return=a,Js=s;else e:for(;null!==Js;){if(0!=(2048&(a=Js).flags))switch(a.tag){case 0:case 11:case 15:rl(9,a,a.return)}var v=a.sibling;if(null!==v){v.return=a.return,Js=v;break e}Js=a.return}}var y=e.current;for(Js=y;null!==Js;){var E=(s=Js).child;if(0!=(2064&s.subtreeFlags)&&null!==E)E.return=s,Js=E;else e:for(s=y;null!==Js;){if(0!=(2048&(l=Js).flags))try{switch(l.tag){case 0:case 11:case 15:il(9,l)}}catch(e){Cc(l,l.return,e)}if(l===s){Js=null;break e}var T=l.sibling;if(null!==T){T.return=l.return,Js=T;break e}Js=l.return}}if(Dl=i,Ui(),ot&&"function"==typeof ot.onPostCommitFiberRoot)try{ot.onPostCommitFiberRoot(it,e)}catch(e){}r=!0}return r}finally{yt=n,xl.transition=t}}return!1}function Sc(e,t,n){e=Lo(e,t=ps(0,t=us(n,t),1),1),t=tc(),null!==e&&(bt(e,1,t),ic(e,t))}function Cc(e,t,n){if(3===e.tag)Sc(e,e,n);else for(;null!==t;){if(3===t.tag){Sc(t,e,n);break}if(1===t.tag){var r=t.stateNode;if("function"==typeof t.type.getDerivedStateFromError||"function"==typeof r.componentDidCatch&&(null===Wl||!Wl.has(r))){t=Lo(t,e=ms(t,e=us(n,e),1),1),e=tc(),null!==t&&(bt(t,1,e),ic(t,e));break}}t=t.return}}function Ic(e,t,n){var r=e.pingCache;null!==r&&r.delete(t),t=tc(),e.pingedLanes|=e.suspendedLanes&n,kl===e&&(Nl&n)===n&&(4===Ll||3===Ll&&(130023424&Nl)===Nl&&500>Qe()-Ul?hc(e,0):Gl|=n),ic(e,t)}function wc(e,t){0===t&&(0==(1&e.mode)?t=1:(t=ut,0==(130023424&(ut<<=1))&&(ut=4194304)));var n=tc();null!==(e=ko(e,t))&&(bt(e,t,n),ic(e,n))}function xc(e){var t=e.memoizedState,n=0;null!==t&&(n=t.retryLane),wc(e,n)}function Dc(e,t){var n=0;switch(e.tag){case 13:var r=e.stateNode,i=e.memoizedState;null!==i&&(n=i.retryLane);break;case 19:r=e.stateNode;break;default:throw Error(o(314))}null!==r&&r.delete(t),wc(e,n)}function kc(e,t){return We(e,t)}function Oc(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 Nc(e,t,n,r){return new Oc(e,t,n,r)}function Pc(e){return!(!(e=e.prototype)||!e.isReactComponent)}function Rc(e,t){var n=e.alternate;return null===n?((n=Nc(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 Lc(e,t,n,r,i,a){var s=2;if(r=e,"function"==typeof e)Pc(e)&&(s=1);else if("string"==typeof e)s=5;else e:switch(e){case A:return Mc(n.children,i,a,t);case S:s=8,i|=8;break;case C:return(e=Nc(12,n,t,2|i)).elementType=C,e.lanes=a,e;case D:return(e=Nc(13,n,t,i)).elementType=D,e.lanes=a,e;case k:return(e=Nc(19,n,t,i)).elementType=k,e.lanes=a,e;case P:return Bc(n,i,a,t);default:if("object"==typeof e&&null!==e)switch(e.$$typeof){case I:s=10;break e;case w:s=9;break e;case x:s=11;break e;case O:s=14;break e;case N:s=16,r=null;break e}throw Error(o(130,null==e?e:typeof e,""))}return(t=Nc(s,n,t,i)).elementType=e,t.type=r,t.lanes=a,t}function Mc(e,t,n,r){return(e=Nc(7,e,r,t)).lanes=n,e}function Bc(e,t,n,r){return(e=Nc(22,e,r,t)).elementType=P,e.lanes=n,e.stateNode={isHidden:!1},e}function Fc(e,t,n){return(e=Nc(6,e,null,t)).lanes=n,e}function Gc(e,t,n){return(t=Nc(4,null!==e.children?e.children:[],e.key,t)).lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function jc(e,t,n,r,i){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=gt(0),this.expirationTimes=gt(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=gt(0),this.identifierPrefix=r,this.onRecoverableError=i,this.mutableSourceEagerHydrationData=null}function Hc(e,t,n,r,i,o,a,s,l){return e=new jc(e,t,n,s,l),1===t?(t=1,!0===o&&(t|=8)):t=0,o=Nc(3,null,null,t),e.current=o,o.stateNode=e,o.memoizedState={element:r,isDehydrated:n,cache:null,transitions:null,pendingSuspenseBoundaries:null},No(o),e}function Uc(e){if(!e)return wi;e:{if(Ue(e=e._reactInternals)!==e||1!==e.tag)throw Error(o(170));var t=e;do{switch(t.tag){case 3:t=t.stateNode.context;break e;case 1:if(Ni(t.type)){t=t.stateNode.__reactInternalMemoizedMergedChildContext;break e}}t=t.return}while(null!==t);throw Error(o(171))}if(1===e.tag){var n=e.type;if(Ni(n))return Li(e,n,t)}return t}function zc(e,t,n,r,i,o,a,s,l){return(e=Hc(n,r,!0,e,0,o,0,s,l)).context=Uc(null),n=e.current,(o=Ro(r=tc(),i=nc(n))).callback=null!=t?t:null,Lo(n,o,i),e.current.lanes=i,bt(e,i,r),ic(e,r),e}function Vc(e,t,n,r){var i=t.current,o=tc(),a=nc(i);return n=Uc(n),null===t.context?t.context=n:t.pendingContext=n,(t=Ro(o,a)).payload={element:e},null!==(r=void 0===r?null:r)&&(t.callback=r),null!==(e=Lo(i,t,a))&&(rc(e,i,a,o),Mo(e,i,a)),a}function $c(e){return(e=e.current).child?(e.child.tag,e.child.stateNode):null}function qc(e,t){if(null!==(e=e.memoizedState)&&null!==e.dehydrated){var n=e.retryLane;e.retryLane=0!==n&&n<t?n:t}}function Wc(e,t){qc(e,t),(e=e.alternate)&&qc(e,t)}Sl=function(e,t,n){if(null!==e)if(e.memoizedProps!==t.pendingProps||Di.current)Es=!0;else{if(0==(e.lanes&n)&&0==(128&t.flags))return Es=!1,function(e,t,n){switch(t.tag){case 3:ks(t),po();break;case 5:aa(t);break;case 1:Ni(t.type)&&Mi(t);break;case 4:ia(t,t.stateNode.containerInfo);break;case 10:var r=t.type._context,i=t.memoizedProps.value;Ii(vo,r._currentValue),r._currentValue=i;break;case 13:if(null!==(r=t.memoizedState))return null!==r.dehydrated?(Ii(la,1&la.current),t.flags|=128,null):0!=(n&t.child.childLanes)?Fs(e,t,n):(Ii(la,1&la.current),null!==(e=$s(e,t,n))?e.sibling:null);Ii(la,1&la.current);break;case 19:if(r=0!=(n&t.childLanes),0!=(128&e.flags)){if(r)return zs(e,t,n);t.flags|=128}if(null!==(i=t.memoizedState)&&(i.rendering=null,i.tail=null,i.lastEffect=null),Ii(la,la.current),r)break;return null;case 22:case 23:return t.lanes=0,Cs(e,t,n)}return $s(e,t,n)}(e,t,n);Es=0!=(131072&e.flags)}else Es=!1,io&&0!=(1048576&t.flags)&&Ji(t,qi,t.index);switch(t.lanes=0,t.tag){case 2:var r=t.type;Vs(e,t),e=t.pendingProps;var i=Oi(t,xi.current);Co(t,n),i=Sa(null,t,r,e,i,n);var a=Ca();return t.flags|=1,"object"==typeof i&&null!==i&&"function"==typeof i.render&&void 0===i.$$typeof?(t.tag=1,t.memoizedState=null,t.updateQueue=null,Ni(r)?(a=!0,Mi(t)):a=!1,t.memoizedState=null!==i.state&&void 0!==i.state?i.state:null,No(t),i.updater=Uo,t.stateNode=i,i._reactInternals=t,qo(t,r,e,n),t=Ds(null,t,r,!0,a,n)):(t.tag=0,io&&a&&eo(t),Ts(null,t,i,n),t=t.child),t;case 16:r=t.elementType;e:{switch(Vs(e,t),e=t.pendingProps,r=(i=r._init)(r._payload),t.type=r,i=t.tag=function(e){if("function"==typeof e)return Pc(e)?1:0;if(null!=e){if((e=e.$$typeof)===x)return 11;if(e===O)return 14}return 2}(r),e=bo(r,e),i){case 0:t=ws(null,t,r,e,n);break e;case 1:t=xs(null,t,r,e,n);break e;case 11:t=_s(null,t,r,e,n);break e;case 14:t=As(null,t,r,bo(r.type,e),n);break e}throw Error(o(306,r,""))}return t;case 0:return r=t.type,i=t.pendingProps,ws(e,t,r,i=t.elementType===r?i:bo(r,i),n);case 1:return r=t.type,i=t.pendingProps,xs(e,t,r,i=t.elementType===r?i:bo(r,i),n);case 3:e:{if(ks(t),null===e)throw Error(o(387));r=t.pendingProps,i=(a=t.memoizedState).element,Po(e,t),Fo(t,r,null,n);var s=t.memoizedState;if(r=s.element,a.isDehydrated){if(a={element:r,isDehydrated:!1,cache:s.cache,pendingSuspenseBoundaries:s.pendingSuspenseBoundaries,transitions:s.transitions},t.updateQueue.baseState=a,t.memoizedState=a,256&t.flags){t=Os(e,t,r,n,i=us(Error(o(423)),t));break e}if(r!==i){t=Os(e,t,r,n,i=us(Error(o(424)),t));break e}for(ro=ci(t.stateNode.containerInfo.firstChild),no=t,io=!0,oo=null,n=Zo(t,null,r,n),t.child=n;n;)n.flags=-3&n.flags|4096,n=n.sibling}else{if(po(),r===i){t=$s(e,t,n);break e}Ts(e,t,r,n)}t=t.child}return t;case 5:return aa(t),null===e&&co(t),r=t.type,i=t.pendingProps,a=null!==e?e.memoizedProps:null,s=i.children,ni(r,i)?s=null:null!==a&&ni(r,a)&&(t.flags|=32),Is(e,t),Ts(e,t,s,n),t.child;case 6:return null===e&&co(t),null;case 13:return Fs(e,t,n);case 4:return ia(t,t.stateNode.containerInfo),r=t.pendingProps,null===e?t.child=Qo(t,null,r,n):Ts(e,t,r,n),t.child;case 11:return r=t.type,i=t.pendingProps,_s(e,t,r,i=t.elementType===r?i:bo(r,i),n);case 7:return Ts(e,t,t.pendingProps,n),t.child;case 8:case 12:return Ts(e,t,t.pendingProps.children,n),t.child;case 10:e:{if(r=t.type._context,i=t.pendingProps,a=t.memoizedProps,s=i.value,Ii(vo,r._currentValue),r._currentValue=s,null!==a)if(sr(a.value,s)){if(a.children===i.children&&!Di.current){t=$s(e,t,n);break e}}else for(null!==(a=t.child)&&(a.return=t);null!==a;){var l=a.dependencies;if(null!==l){s=a.child;for(var c=l.firstContext;null!==c;){if(c.context===r){if(1===a.tag){(c=Ro(-1,n&-n)).tag=2;var u=a.updateQueue;if(null!==u){var d=(u=u.shared).pending;null===d?c.next=c:(c.next=d.next,d.next=c),u.pending=c}}a.lanes|=n,null!==(c=a.alternate)&&(c.lanes|=n),So(a.return,n,t),l.lanes|=n;break}c=c.next}}else if(10===a.tag)s=a.type===t.type?null:a.child;else if(18===a.tag){if(null===(s=a.return))throw Error(o(341));s.lanes|=n,null!==(l=s.alternate)&&(l.lanes|=n),So(s,n,t),s=a.sibling}else s=a.child;if(null!==s)s.return=a;else for(s=a;null!==s;){if(s===t){s=null;break}if(null!==(a=s.sibling)){a.return=s.return,s=a;break}s=s.return}a=s}Ts(e,t,i.children,n),t=t.child}return t;case 9:return i=t.type,r=t.pendingProps.children,Co(t,n),r=r(i=Io(i)),t.flags|=1,Ts(e,t,r,n),t.child;case 14:return i=bo(r=t.type,t.pendingProps),As(e,t,r,i=bo(r.type,i),n);case 15:return Ss(e,t,t.type,t.pendingProps,n);case 17:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:bo(r,i),Vs(e,t),t.tag=1,Ni(r)?(e=!0,Mi(t)):e=!1,Co(t,n),Vo(t,r,i),qo(t,r,i,n),Ds(null,t,r,!0,e,n);case 19:return zs(e,t,n);case 22:return Cs(e,t,n)}throw Error(o(156,t.tag))};var Yc="function"==typeof reportError?reportError:function(e){console.error(e)};function Kc(e){this._internalRoot=e}function Xc(e){this._internalRoot=e}function Qc(e){return!(!e||1!==e.nodeType&&9!==e.nodeType&&11!==e.nodeType)}function Zc(e){return!(!e||1!==e.nodeType&&9!==e.nodeType&&11!==e.nodeType&&(8!==e.nodeType||" react-mount-point-unstable "!==e.nodeValue))}function Jc(){}function eu(e,t,n,r,i){var o=n._reactRootContainer;if(o){var a=o;if("function"==typeof i){var s=i;i=function(){var e=$c(a);s.call(e)}}Vc(t,a,e,i)}else a=function(e,t,n,r,i){if(i){if("function"==typeof r){var o=r;r=function(){var e=$c(a);o.call(e)}}var a=zc(t,r,e,0,null,!1,0,"",Jc);return e._reactRootContainer=a,e[pi]=a.current,Ur(8===e.nodeType?e.parentNode:e),dc(),a}for(;i=e.lastChild;)e.removeChild(i);if("function"==typeof r){var s=r;r=function(){var e=$c(l);s.call(e)}}var l=Hc(e,0,!1,null,0,!1,0,"",Jc);return e._reactRootContainer=l,e[pi]=l.current,Ur(8===e.nodeType?e.parentNode:e),dc((function(){Vc(t,l,n,r)})),l}(n,t,e,i,r);return $c(a)}Xc.prototype.render=Kc.prototype.render=function(e){var t=this._internalRoot;if(null===t)throw Error(o(409));Vc(e,t,null,null)},Xc.prototype.unmount=Kc.prototype.unmount=function(){var e=this._internalRoot;if(null!==e){this._internalRoot=null;var t=e.containerInfo;dc((function(){Vc(null,e,null,null)})),t[pi]=null}},Xc.prototype.unstable_scheduleHydration=function(e){if(e){var t=St();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&&Bt(e)}},Tt=function(e){switch(e.tag){case 3:var t=e.stateNode;if(t.current.memoizedState.isDehydrated){var n=dt(t.pendingLanes);0!==n&&(vt(t,1|n),ic(t,Qe()),0==(6&Dl)&&(zl=Qe()+500,Ui()))}break;case 13:dc((function(){var t=ko(e,1);if(null!==t){var n=tc();rc(t,e,1,n)}})),Wc(e,1)}},_t=function(e){if(13===e.tag){var t=ko(e,134217728);null!==t&&rc(t,e,134217728,tc()),Wc(e,134217728)}},At=function(e){if(13===e.tag){var t=nc(e),n=ko(e,t);null!==n&&rc(n,e,t,tc()),Wc(e,t)}},St=function(){return yt},Ct=function(e,t){var n=yt;try{return yt=e,t()}finally{yt=n}},_e=function(e,t,n){switch(t){case"input":if(Z(e,n),t=n.name,"radio"===n.type&&null!=t){for(n=e;n.parentNode;)n=n.parentNode;for(n=n.querySelectorAll("input[name="+JSON.stringify(""+t)+'][type="radio"]'),t=0;t<n.length;t++){var r=n[t];if(r!==e&&r.form===e.form){var i=Ti(r);if(!i)throw Error(o(90));W(r),Z(r,i)}}}break;case"textarea":oe(e,n);break;case"select":null!=(t=n.value)&&ne(e,!!n.multiple,t,!1)}},xe=uc,De=dc;var tu={usingClientEntryPoint:!1,Events:[yi,Ei,Ti,Ie,we,uc]},nu={findFiberByHostInstance:vi,bundleType:0,version:"18.2.0",rendererPackageName:"react-dom"},ru={bundleType:nu.bundleType,version:nu.version,rendererPackageName:nu.rendererPackageName,rendererConfig:nu.rendererConfig,overrideHookState:null,overrideHookStateDeletePath:null,overrideHookStateRenamePath:null,overrideProps:null,overridePropsDeletePath:null,overridePropsRenamePath:null,setErrorHandler:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:E.ReactCurrentDispatcher,findHostInstanceByFiber:function(e){return null===(e=$e(e))?null:e.stateNode},findFiberByHostInstance:nu.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 iu=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!iu.isDisabled&&iu.supportsFiber)try{it=iu.inject(ru),ot=iu}catch(ue){}}t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=tu,t.createPortal=function(e,t){var n=2<arguments.length&&void 0!==arguments[2]?arguments[2]:null;if(!Qc(t))throw Error(o(200));return function(e,t,n){var r=3<arguments.length&&void 0!==arguments[3]?arguments[3]:null;return{$$typeof:_,key:null==r?null:""+r,children:e,containerInfo:t,implementation:n}}(e,t,null,n)},t.createRoot=function(e,t){if(!Qc(e))throw Error(o(299));var n=!1,r="",i=Yc;return null!=t&&(!0===t.unstable_strictMode&&(n=!0),void 0!==t.identifierPrefix&&(r=t.identifierPrefix),void 0!==t.onRecoverableError&&(i=t.onRecoverableError)),t=Hc(e,1,!1,null,0,n,0,r,i),e[pi]=t.current,Ur(8===e.nodeType?e.parentNode:e),new Kc(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(o(188));throw e=Object.keys(e).join(","),Error(o(268,e))}return null===(e=$e(t))?null:e.stateNode},t.flushSync=function(e){return dc(e)},t.hydrate=function(e,t,n){if(!Zc(t))throw Error(o(200));return eu(null,e,t,!0,n)},t.hydrateRoot=function(e,t,n){if(!Qc(e))throw Error(o(405));var r=null!=n&&n.hydratedSources||null,i=!1,a="",s=Yc;if(null!=n&&(!0===n.unstable_strictMode&&(i=!0),void 0!==n.identifierPrefix&&(a=n.identifierPrefix),void 0!==n.onRecoverableError&&(s=n.onRecoverableError)),t=zc(t,null,e,1,null!=n?n:null,i,0,a,s),e[pi]=t.current,Ur(e),r)for(e=0;e<r.length;e++)i=(i=(n=r[e])._getVersion)(n._source),null==t.mutableSourceEagerHydrationData?t.mutableSourceEagerHydrationData=[n,i]:t.mutableSourceEagerHydrationData.push(n,i);return new Xc(t)},t.render=function(e,t,n){if(!Zc(t))throw Error(o(200));return eu(null,e,t,!1,n)},t.unmountComponentAtNode=function(e){if(!Zc(e))throw Error(o(40));return!!e._reactRootContainer&&(dc((function(){eu(null,null,e,!1,(function(){e._reactRootContainer=null,e[pi]=null}))})),!0)},t.unstable_batchedUpdates=uc,t.unstable_renderSubtreeIntoContainer=function(e,t,n,r){if(!Zc(n))throw Error(o(200));if(null==e||void 0===e._reactInternals)throw Error(o(38));return eu(e,t,n,!1,r)},t.version="18.2.0-next-9e3b772b8-20220608"},7634:(e,t,n)=>{"use strict";var r=n(1542);t.s=r.createRoot,r.hydrateRoot},1542:(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(3577)},4335:e=>{var t="undefined"!=typeof Element,n="function"==typeof Map,r="function"==typeof Set,i="function"==typeof ArrayBuffer&&!!ArrayBuffer.isView;function o(e,a){if(e===a)return!0;if(e&&a&&"object"==typeof e&&"object"==typeof a){if(e.constructor!==a.constructor)return!1;var s,l,c,u;if(Array.isArray(e)){if((s=e.length)!=a.length)return!1;for(l=s;0!=l--;)if(!o(e[l],a[l]))return!1;return!0}if(n&&e instanceof Map&&a instanceof Map){if(e.size!==a.size)return!1;for(u=e.entries();!(l=u.next()).done;)if(!a.has(l.value[0]))return!1;for(u=e.entries();!(l=u.next()).done;)if(!o(l.value[1],a.get(l.value[0])))return!1;return!0}if(r&&e instanceof Set&&a instanceof Set){if(e.size!==a.size)return!1;for(u=e.entries();!(l=u.next()).done;)if(!a.has(l.value[0]))return!1;return!0}if(i&&ArrayBuffer.isView(e)&&ArrayBuffer.isView(a)){if((s=e.length)!=a.length)return!1;for(l=s;0!=l--;)if(e[l]!==a[l])return!1;return!0}if(e.constructor===RegExp)return e.source===a.source&&e.flags===a.flags;if(e.valueOf!==Object.prototype.valueOf&&"function"==typeof e.valueOf&&"function"==typeof a.valueOf)return e.valueOf()===a.valueOf();if(e.toString!==Object.prototype.toString&&"function"==typeof e.toString&&"function"==typeof a.toString)return e.toString()===a.toString();if((s=(c=Object.keys(e)).length)!==Object.keys(a).length)return!1;for(l=s;0!=l--;)if(!Object.prototype.hasOwnProperty.call(a,c[l]))return!1;if(t&&e instanceof Element)return!1;for(l=s;0!=l--;)if(("_owner"!==c[l]&&"__v"!==c[l]&&"__o"!==c[l]||!e.$$typeof)&&!o(e[c[l]],a[c[l]]))return!1;return!0}return e!=e&&a!=a}e.exports=function(e,t){try{return o(e,t)}catch(e){if((e.message||"").match(/stack|recursion/i))return console.warn("react-fast-compare cannot handle circular refs"),!1;throw e}}},8702:(e,t)=>{"use strict";var n="function"==typeof Symbol&&Symbol.for,r=n?Symbol.for("react.element"):60103,i=n?Symbol.for("react.portal"):60106,o=n?Symbol.for("react.fragment"):60107,a=n?Symbol.for("react.strict_mode"):60108,s=n?Symbol.for("react.profiler"):60114,l=n?Symbol.for("react.provider"):60109,c=n?Symbol.for("react.context"):60110,u=n?Symbol.for("react.async_mode"):60111,d=n?Symbol.for("react.concurrent_mode"):60111,f=n?Symbol.for("react.forward_ref"):60112,h=n?Symbol.for("react.suspense"):60113,p=n?Symbol.for("react.suspense_list"):60120,m=n?Symbol.for("react.memo"):60115,g=n?Symbol.for("react.lazy"):60116,b=n?Symbol.for("react.block"):60121,v=n?Symbol.for("react.fundamental"):60117,y=n?Symbol.for("react.responder"):60118,E=n?Symbol.for("react.scope"):60119;function T(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case r:switch(e=e.type){case u:case d:case o:case s:case a:case h:return e;default:switch(e=e&&e.$$typeof){case c:case f:case g:case m:case l:return e;default:return t}}case i:return t}}}function _(e){return T(e)===d}t.AsyncMode=u,t.ConcurrentMode=d,t.ContextConsumer=c,t.ContextProvider=l,t.Element=r,t.ForwardRef=f,t.Fragment=o,t.Lazy=g,t.Memo=m,t.Portal=i,t.Profiler=s,t.StrictMode=a,t.Suspense=h,t.isAsyncMode=function(e){return _(e)||T(e)===u},t.isConcurrentMode=_,t.isContextConsumer=function(e){return T(e)===c},t.isContextProvider=function(e){return T(e)===l},t.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===r},t.isForwardRef=function(e){return T(e)===f},t.isFragment=function(e){return T(e)===o},t.isLazy=function(e){return T(e)===g},t.isMemo=function(e){return T(e)===m},t.isPortal=function(e){return T(e)===i},t.isProfiler=function(e){return T(e)===s},t.isStrictMode=function(e){return T(e)===a},t.isSuspense=function(e){return T(e)===h},t.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===o||e===d||e===s||e===a||e===h||e===p||"object"==typeof e&&null!==e&&(e.$$typeof===g||e.$$typeof===m||e.$$typeof===l||e.$$typeof===c||e.$$typeof===f||e.$$typeof===v||e.$$typeof===y||e.$$typeof===E||e.$$typeof===b)},t.typeOf=T},9185:(e,t,n)=>{"use strict";e.exports=n(8702)},1117:function(e,t,n){var r;e.exports=(r=n(7378),function(){var e={752:function(){"undefined"==typeof Element||"remove"in Element.prototype||(Element.prototype.remove=function(){this.parentNode&&this.parentNode.removeChild(this)}),"undefined"!=typeof self&&"document"in self&&((!("classList"in document.createElement("_"))||document.createElementNS&&!("classList"in document.createElementNS("http://www.w3.org/2000/svg","g")))&&function(e){"use strict";if("Element"in e){var t="classList",n="prototype",r=e.Element[n],i=Object,o=String[n].trim||function(){return this.replace(/^\s+|\s+$/g,"")},a=Array[n].indexOf||function(e){for(var t=0,n=this.length;t<n;t++)if(t in this&&this[t]===e)return t;return-1},s=function(e,t){this.name=e,this.code=DOMException[e],this.message=t},l=function(e,t){if(""===t)throw new s("SYNTAX_ERR","The token must not be empty.");if(/\s/.test(t))throw new s("INVALID_CHARACTER_ERR","The token must not contain space characters.");return a.call(e,t)},c=function(e){for(var t=o.call(e.getAttribute("class")||""),n=t?t.split(/\s+/):[],r=0,i=n.length;r<i;r++)this.push(n[r]);this._updateClassName=function(){e.setAttribute("class",this.toString())}},u=c[n]=[],d=function(){return new c(this)};if(s[n]=Error[n],u.item=function(e){return this[e]||null},u.contains=function(e){return~l(this,e+"")},u.add=function(){var e,t=arguments,n=0,r=t.length,i=!1;do{~l(this,e=t[n]+"")||(this.push(e),i=!0)}while(++n<r);i&&this._updateClassName()},u.remove=function(){var e,t,n=arguments,r=0,i=n.length,o=!1;do{for(t=l(this,e=n[r]+"");~t;)this.splice(t,1),o=!0,t=l(this,e)}while(++r<i);o&&this._updateClassName()},u.toggle=function(e,t){var n=this.contains(e),r=n?!0!==t&&"remove":!1!==t&&"add";return r&&this[r](e),!0===t||!1===t?t:!n},u.replace=function(e,t){var n=l(e+"");~n&&(this.splice(n,1,t),this._updateClassName())},u.toString=function(){return this.join(" ")},i.defineProperty){var f={get:d,enumerable:!0,configurable:!0};try{i.defineProperty(r,t,f)}catch(e){void 0!==e.number&&-2146823252!==e.number||(f.enumerable=!1,i.defineProperty(r,t,f))}}else i[n].__defineGetter__&&r.__defineGetter__(t,d)}}(self),function(){"use strict";var e=document.createElement("_");if(e.classList.add("c1","c2"),!e.classList.contains("c2")){var t=function(e){var t=DOMTokenList.prototype[e];DOMTokenList.prototype[e]=function(e){var n,r=arguments.length;for(n=0;n<r;n++)e=arguments[n],t.call(this,e)}};t("add"),t("remove")}if(e.classList.toggle("c3",!1),e.classList.contains("c3")){var n=DOMTokenList.prototype.toggle;DOMTokenList.prototype.toggle=function(e,t){return 1 in arguments&&!this.contains(e)==!t?t:n.call(this,e)}}"replace"in document.createElement("_").classList||(DOMTokenList.prototype.replace=function(e,t){var n=this.toString().split(" "),r=n.indexOf(e+"");~r&&(n=n.slice(r),this.remove.apply(this,n),this.add(t),this.add.apply(this,n.slice(1)))}),e=null}())},86:function(e){e.exports=function(){"use strict";var e={509:function(e,t,n){var r=n(9985),i=n(3691),o=TypeError;e.exports=function(e){if(r(e))return e;throw new o(i(e)+" is not a function")}},2655:function(e,t,n){var r=n(9429),i=n(3691),o=TypeError;e.exports=function(e){if(r(e))return e;throw new o(i(e)+" is not a constructor")}},3550:function(e,t,n){var r=n(9985),i=String,o=TypeError;e.exports=function(e){if("object"==typeof e||r(e))return e;throw new o("Can't set "+i(e)+" as a prototype")}},7370:function(e,t,n){var r=n(4201),i=n(5391),o=n(2560).f,a=r("unscopables"),s=Array.prototype;void 0===s[a]&&o(s,a,{configurable:!0,value:i(null)}),e.exports=function(e){s[a][e]=!0}},1514:function(e,t,n){var r=n(730).charAt;e.exports=function(e,t,n){return t+(n?r(e,t).length:1)}},5027:function(e,t,n){var r=n(8999),i=String,o=TypeError;e.exports=function(e){if(r(e))return e;throw new o(i(e)+" is not an object")}},7612:function(e,t,n){var r=n(2960).forEach,i=n(6834)("forEach");e.exports=i?[].forEach:function(e){return r(this,e,arguments.length>1?arguments[1]:void 0)}},1055:function(e,t,n){var r=n(4071),i=n(2615),o=n(690),a=n(1228),s=n(3292),l=n(9429),c=n(6310),u=n(6522),d=n(5185),f=n(1664),h=Array;e.exports=function(e){var t=o(e),n=l(this),p=arguments.length,m=p>1?arguments[1]:void 0,g=void 0!==m;g&&(m=r(m,p>2?arguments[2]:void 0));var b,v,y,E,T,_,A=f(t),S=0;if(!A||this===h&&s(A))for(b=c(t),v=n?new this(b):h(b);b>S;S++)_=g?m(t[S],S):t[S],u(v,S,_);else for(T=(E=d(t,A)).next,v=n?new this:[];!(y=i(T,E)).done;S++)_=g?a(E,m,[y.value,S],!0):y.value,u(v,S,_);return v.length=S,v}},4328:function(e,t,n){var r=n(5290),i=n(7578),o=n(6310),a=function(e){return function(t,n,a){var s,l=r(t),c=o(l),u=i(a,c);if(e&&n!=n){for(;c>u;)if((s=l[u++])!=s)return!0}else for(;c>u;u++)if((e||u in l)&&l[u]===n)return e||u||0;return!e&&-1}};e.exports={includes:a(!0),indexOf:a(!1)}},2960:function(e,t,n){var r=n(4071),i=n(8844),o=n(4413),a=n(690),s=n(6310),l=n(7120),c=i([].push),u=function(e){var t=1===e,n=2===e,i=3===e,u=4===e,d=6===e,f=7===e,h=5===e||d;return function(p,m,g,b){for(var v,y,E=a(p),T=o(E),_=s(T),A=r(m,g),S=0,C=b||l,I=t?C(p,_):n||f?C(p,0):void 0;_>S;S++)if((h||S in T)&&(y=A(v=T[S],S,E),e))if(t)I[S]=y;else if(y)switch(e){case 3:return!0;case 5:return v;case 6:return S;case 2:c(I,v)}else switch(e){case 4:return!1;case 7:c(I,v)}return d?-1:i||u?u:I}};e.exports={forEach:u(0),map:u(1),filter:u(2),some:u(3),every:u(4),find:u(5),findIndex:u(6),filterReject:u(7)}},9042:function(e,t,n){var r=n(3689),i=n(4201),o=n(3615),a=i("species");e.exports=function(e){return o>=51||!r((function(){var t=[];return(t.constructor={})[a]=function(){return{foo:1}},1!==t[e](Boolean).foo}))}},6834:function(e,t,n){var r=n(3689);e.exports=function(e,t){var n=[][e];return!!n&&r((function(){n.call(null,t||function(){return 1},1)}))}},8820:function(e,t,n){var r=n(509),i=n(690),o=n(4413),a=n(6310),s=TypeError,l=function(e){return function(t,n,l,c){var u=i(t),d=o(u),f=a(u);r(n);var h=e?f-1:0,p=e?-1:1;if(l<2)for(;;){if(h in d){c=d[h],h+=p;break}if(h+=p,e?h<0:f<=h)throw new s("Reduce of empty array with no initial value")}for(;e?h>=0:f>h;h+=p)h in d&&(c=n(c,d[h],h,u));return c}};e.exports={left:l(!1),right:l(!0)}},5649:function(e,t,n){var r=n(7697),i=n(2297),o=TypeError,a=Object.getOwnPropertyDescriptor,s=r&&!function(){if(void 0!==this)return!0;try{Object.defineProperty([],"length",{writable:!1}).length=1}catch(e){return e instanceof TypeError}}();e.exports=s?function(e,t){if(i(e)&&!a(e,"length").writable)throw new o("Cannot set read only .length");return e.length=t}:function(e,t){return e.length=t}},9015:function(e,t,n){var r=n(7578),i=n(6310),o=n(6522),a=Array,s=Math.max;e.exports=function(e,t,n){for(var l=i(e),c=r(t,l),u=r(void 0===n?l:n,l),d=a(s(u-c,0)),f=0;c<u;c++,f++)o(d,f,e[c]);return d.length=f,d}},6004:function(e,t,n){var r=n(8844);e.exports=r([].slice)},382:function(e,t,n){var r=n(9015),i=Math.floor,o=function(e,t){var n=e.length,l=i(n/2);return n<8?a(e,t):s(e,o(r(e,0,l),t),o(r(e,l),t),t)},a=function(e,t){for(var n,r,i=e.length,o=1;o<i;){for(r=o,n=e[o];r&&t(e[r-1],n)>0;)e[r]=e[--r];r!==o++&&(e[r]=n)}return e},s=function(e,t,n,r){for(var i=t.length,o=n.length,a=0,s=0;a<i||s<o;)e[a+s]=a<i&&s<o?r(t[a],n[s])<=0?t[a++]:n[s++]:a<i?t[a++]:n[s++];return e};e.exports=o},5271:function(e,t,n){var r=n(2297),i=n(9429),o=n(8999),a=n(4201)("species"),s=Array;e.exports=function(e){var t;return r(e)&&(t=e.constructor,(i(t)&&(t===s||r(t.prototype))||o(t)&&null===(t=t[a]))&&(t=void 0)),void 0===t?s:t}},7120:function(e,t,n){var r=n(5271);e.exports=function(e,t){return new(r(e))(0===t?0:t)}},1228:function(e,t,n){var r=n(5027),i=n(2125);e.exports=function(e,t,n,o){try{return o?t(r(n)[0],n[1]):t(n)}catch(t){i(e,"throw",t)}}},6431:function(e,t,n){var r=n(4201)("iterator"),i=!1;try{var o=0,a={next:function(){return{done:!!o++}},return:function(){i=!0}};a[r]=function(){return this},Array.from(a,(function(){throw 2}))}catch(e){}e.exports=function(e,t){try{if(!t&&!i)return!1}catch(e){return!1}var n=!1;try{var o={};o[r]=function(){return{next:function(){return{done:n=!0}}}},e(o)}catch(e){}return n}},6648:function(e,t,n){var r=n(8844),i=r({}.toString),o=r("".slice);e.exports=function(e){return o(i(e),8,-1)}},926:function(e,t,n){var r=n(3043),i=n(9985),o=n(6648),a=n(4201)("toStringTag"),s=Object,l="Arguments"===o(function(){return arguments}());e.exports=r?o:function(e){var t,n,r;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(n=function(e,t){try{return e[t]}catch(e){}}(t=s(e),a))?n:l?o(t):"Object"===(r=o(t))&&i(t.callee)?"Arguments":r}},8758:function(e,t,n){var r=n(6812),i=n(9152),o=n(2474),a=n(2560);e.exports=function(e,t,n){for(var s=i(t),l=a.f,c=o.f,u=0;u<s.length;u++){var d=s[u];r(e,d)||n&&r(n,d)||l(e,d,c(t,d))}}},7413:function(e,t,n){var r=n(4201)("match");e.exports=function(e){var t=/./;try{"/./"[e](t)}catch(n){try{return t[r]=!1,"/./"[e](t)}catch(e){}}return!1}},1748:function(e,t,n){var r=n(3689);e.exports=!r((function(){function e(){}return e.prototype.constructor=null,Object.getPrototypeOf(new e)!==e.prototype}))},7807:function(e){e.exports=function(e,t){return{value:e,done:t}}},5773:function(e,t,n){var r=n(7697),i=n(2560),o=n(5684);e.exports=r?function(e,t,n){return i.f(e,t,o(1,n))}:function(e,t,n){return e[t]=n,e}},5684:function(e){e.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}},6522:function(e,t,n){var r=n(8360),i=n(2560),o=n(5684);e.exports=function(e,t,n){var a=r(t);a in e?i.f(e,a,o(0,n)):e[a]=n}},1797:function(e,t,n){var r=n(5027),i=n(5899),o=TypeError;e.exports=function(e){if(r(this),"string"===e||"default"===e)e="string";else if("number"!==e)throw new o("Incorrect hint");return i(this,e)}},2148:function(e,t,n){var r=n(8702),i=n(2560);e.exports=function(e,t,n){return n.get&&r(n.get,t,{getter:!0}),n.set&&r(n.set,t,{setter:!0}),i.f(e,t,n)}},1880:function(e,t,n){var r=n(9985),i=n(2560),o=n(8702),a=n(5014);e.exports=function(e,t,n,s){s||(s={});var l=s.enumerable,c=void 0!==s.name?s.name:t;if(r(n)&&o(n,c,s),s.global)l?e[t]=n:a(t,n);else{try{s.unsafe?e[t]&&(l=!0):delete e[t]}catch(e){}l?e[t]=n:i.f(e,t,{value:n,enumerable:!1,configurable:!s.nonConfigurable,writable:!s.nonWritable})}return e}},5014:function(e,t,n){var r=n(9037),i=Object.defineProperty;e.exports=function(e,t){try{i(r,e,{value:t,configurable:!0,writable:!0})}catch(n){r[e]=t}return t}},8494:function(e,t,n){var r=n(3691),i=TypeError;e.exports=function(e,t){if(!delete e[t])throw new i("Cannot delete property "+r(t)+" of "+r(e))}},7697:function(e,t,n){var r=n(3689);e.exports=!r((function(){return 7!==Object.defineProperty({},1,{get:function(){return 7}})[1]}))},2659:function(e){var t="object"==typeof document&&document.all,n=void 0===t&&void 0!==t;e.exports={all:t,IS_HTMLDDA:n}},6420:function(e,t,n){var r=n(9037),i=n(8999),o=r.document,a=i(o)&&i(o.createElement);e.exports=function(e){return a?o.createElement(e):{}}},5565:function(e){var t=TypeError;e.exports=function(e){if(e>9007199254740991)throw t("Maximum allowed index exceeded");return e}},6338:function(e){e.exports={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0}},3265:function(e,t,n){var r=n(6420)("span").classList,i=r&&r.constructor&&r.constructor.prototype;e.exports=i===Object.prototype?void 0:i},7365:function(e,t,n){var r=n(71).match(/firefox\/(\d+)/i);e.exports=!!r&&+r[1]},7298:function(e,t,n){var r=n(71);e.exports=/MSIE|Trident/.test(r)},806:function(e,t,n){var r=n(9037),i=n(6648);e.exports="process"===i(r.process)},71:function(e){e.exports="undefined"!=typeof navigator&&String(navigator.userAgent)||""},3615:function(e,t,n){var r,i,o=n(9037),a=n(71),s=o.process,l=o.Deno,c=s&&s.versions||l&&l.version,u=c&&c.v8;u&&(i=(r=u.split("."))[0]>0&&r[0]<4?1:+(r[0]+r[1])),!i&&a&&(!(r=a.match(/Edge\/(\d+)/))||r[1]>=74)&&(r=a.match(/Chrome\/(\d+)/))&&(i=+r[1]),e.exports=i},7922:function(e,t,n){var r=n(71).match(/AppleWebKit\/(\d+)\./);e.exports=!!r&&+r[1]},2739:function(e){e.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},9989:function(e,t,n){var r=n(9037),i=n(2474).f,o=n(5773),a=n(1880),s=n(5014),l=n(8758),c=n(5266);e.exports=function(e,t){var n,u,d,f,h,p=e.target,m=e.global,g=e.stat;if(n=m?r:g?r[p]||s(p,{}):(r[p]||{}).prototype)for(u in t){if(f=t[u],d=e.dontCallGetSet?(h=i(n,u))&&h.value:n[u],!c(m?u:p+(g?".":"#")+u,e.forced)&&void 0!==d){if(typeof f==typeof d)continue;l(f,d)}(e.sham||d&&d.sham)&&o(f,"sham",!0),a(n,u,f,e)}}},3689:function(e){e.exports=function(e){try{return!!e()}catch(e){return!0}}},8678:function(e,t,n){n(4043);var r=n(6576),i=n(1880),o=n(6308),a=n(3689),s=n(4201),l=n(5773),c=s("species"),u=RegExp.prototype;e.exports=function(e,t,n,d){var f=s(e),h=!a((function(){var t={};return t[f]=function(){return 7},7!==""[e](t)})),p=h&&!a((function(){var t=!1,n=/a/;return"split"===e&&((n={}).constructor={},n.constructor[c]=function(){return n},n.flags="",n[f]=/./[f]),n.exec=function(){return t=!0,null},n[f](""),!t}));if(!h||!p||n){var m=r(/./[f]),g=t(f,""[e],(function(e,t,n,i,a){var s=r(e),l=t.exec;return l===o||l===u.exec?h&&!a?{done:!0,value:m(t,n,i)}:{done:!0,value:s(n,t,i)}:{done:!1}}));i(String.prototype,e,g[0]),i(u,f,g[1])}d&&l(u[f],"sham",!0)}},1735:function(e,t,n){var r=n(7215),i=Function.prototype,o=i.apply,a=i.call;e.exports="object"==typeof Reflect&&Reflect.apply||(r?a.bind(o):function(){return a.apply(o,arguments)})},4071:function(e,t,n){var r=n(6576),i=n(509),o=n(7215),a=r(r.bind);e.exports=function(e,t){return i(e),void 0===t?e:o?a(e,t):function(){return e.apply(t,arguments)}}},7215:function(e,t,n){var r=n(3689);e.exports=!r((function(){var e=function(){}.bind();return"function"!=typeof e||e.hasOwnProperty("prototype")}))},2615:function(e,t,n){var r=n(7215),i=Function.prototype.call;e.exports=r?i.bind(i):function(){return i.apply(i,arguments)}},1236:function(e,t,n){var r=n(7697),i=n(6812),o=Function.prototype,a=r&&Object.getOwnPropertyDescriptor,s=i(o,"name"),l=s&&"something"===function(){}.name,c=s&&(!r||r&&a(o,"name").configurable);e.exports={EXISTS:s,PROPER:l,CONFIGURABLE:c}},2743:function(e,t,n){var r=n(8844),i=n(509);e.exports=function(e,t,n){try{return r(i(Object.getOwnPropertyDescriptor(e,t)[n]))}catch(e){}}},6576:function(e,t,n){var r=n(6648),i=n(8844);e.exports=function(e){if("Function"===r(e))return i(e)}},8844:function(e,t,n){var r=n(7215),i=Function.prototype,o=i.call,a=r&&i.bind.bind(o,o);e.exports=r?a:function(e){return function(){return o.apply(e,arguments)}}},6058:function(e,t,n){var r=n(9037),i=n(9985);e.exports=function(e,t){return arguments.length<2?(n=r[e],i(n)?n:void 0):r[e]&&r[e][t];var n}},1664:function(e,t,n){var r=n(926),i=n(4849),o=n(981),a=n(9478),s=n(4201)("iterator");e.exports=function(e){if(!o(e))return i(e,s)||i(e,"@@iterator")||a[r(e)]}},5185:function(e,t,n){var r=n(2615),i=n(509),o=n(5027),a=n(3691),s=n(1664),l=TypeError;e.exports=function(e,t){var n=arguments.length<2?s(e):t;if(i(n))return o(r(n,e));throw new l(a(e)+" is not iterable")}},2643:function(e,t,n){var r=n(8844),i=n(2297),o=n(9985),a=n(6648),s=n(4327),l=r([].push);e.exports=function(e){if(o(e))return e;if(i(e)){for(var t=e.length,n=[],r=0;r<t;r++){var c=e[r];"string"==typeof c?l(n,c):"number"!=typeof c&&"Number"!==a(c)&&"String"!==a(c)||l(n,s(c))}var u=n.length,d=!0;return function(e,t){if(d)return d=!1,t;if(i(this))return t;for(var r=0;r<u;r++)if(n[r]===e)return t}}}},4849:function(e,t,n){var r=n(509),i=n(981);e.exports=function(e,t){var n=e[t];return i(n)?void 0:r(n)}},7017:function(e,t,n){var r=n(8844),i=n(690),o=Math.floor,a=r("".charAt),s=r("".replace),l=r("".slice),c=/\$([$&'`]|\d{1,2}|<[^>]*>)/g,u=/\$([$&'`]|\d{1,2})/g;e.exports=function(e,t,n,r,d,f){var h=n+e.length,p=r.length,m=u;return void 0!==d&&(d=i(d),m=c),s(f,m,(function(i,s){var c;switch(a(s,0)){case"$":return"$";case"&":return e;case"`":return l(t,0,n);case"'":return l(t,h);case"<":c=d[l(s,1,-1)];break;default:var u=+s;if(0===u)return i;if(u>p){var f=o(u/10);return 0===f?i:f<=p?void 0===r[f-1]?a(s,1):r[f-1]+a(s,1):i}c=r[u-1]}return void 0===c?"":c}))}},9037:function(e,t,n){var r=function(e){return e&&e.Math===Math&&e};e.exports=r("object"==typeof globalThis&&globalThis)||r("object"==typeof window&&window)||r("object"==typeof self&&self)||r("object"==typeof n.g&&n.g)||r("object"==typeof this&&this)||function(){return this}()||Function("return this")()},6812:function(e,t,n){var r=n(8844),i=n(690),o=r({}.hasOwnProperty);e.exports=Object.hasOwn||function(e,t){return o(i(e),t)}},7248:function(e){e.exports={}},2688:function(e,t,n){var r=n(6058);e.exports=r("document","documentElement")},8506:function(e,t,n){var r=n(7697),i=n(3689),o=n(6420);e.exports=!r&&!i((function(){return 7!==Object.defineProperty(o("div"),"a",{get:function(){return 7}}).a}))},4413:function(e,t,n){var r=n(8844),i=n(3689),o=n(6648),a=Object,s=r("".split);e.exports=i((function(){return!a("z").propertyIsEnumerable(0)}))?function(e){return"String"===o(e)?s(e,""):a(e)}:a},3457:function(e,t,n){var r=n(9985),i=n(8999),o=n(9385);e.exports=function(e,t,n){var a,s;return o&&r(a=t.constructor)&&a!==n&&i(s=a.prototype)&&s!==n.prototype&&o(e,s),e}},6738:function(e,t,n){var r=n(8844),i=n(9985),o=n(4091),a=r(Function.toString);i(o.inspectSource)||(o.inspectSource=function(e){return a(e)}),e.exports=o.inspectSource},618:function(e,t,n){var r,i,o,a=n(9834),s=n(9037),l=n(8999),c=n(5773),u=n(6812),d=n(4091),f=n(2713),h=n(7248),p="Object already initialized",m=s.TypeError,g=s.WeakMap;if(a||d.state){var b=d.state||(d.state=new g);b.get=b.get,b.has=b.has,b.set=b.set,r=function(e,t){if(b.has(e))throw new m(p);return t.facade=e,b.set(e,t),t},i=function(e){return b.get(e)||{}},o=function(e){return b.has(e)}}else{var v=f("state");h[v]=!0,r=function(e,t){if(u(e,v))throw new m(p);return t.facade=e,c(e,v,t),t},i=function(e){return u(e,v)?e[v]:{}},o=function(e){return u(e,v)}}e.exports={set:r,get:i,has:o,enforce:function(e){return o(e)?i(e):r(e,{})},getterFor:function(e){return function(t){var n;if(!l(t)||(n=i(t)).type!==e)throw new m("Incompatible receiver, "+e+" required");return n}}}},3292:function(e,t,n){var r=n(4201),i=n(9478),o=r("iterator"),a=Array.prototype;e.exports=function(e){return void 0!==e&&(i.Array===e||a[o]===e)}},2297:function(e,t,n){var r=n(6648);e.exports=Array.isArray||function(e){return"Array"===r(e)}},9985:function(e,t,n){var r=n(2659),i=r.all;e.exports=r.IS_HTMLDDA?function(e){return"function"==typeof e||e===i}:function(e){return"function"==typeof e}},9429:function(e,t,n){var r=n(8844),i=n(3689),o=n(9985),a=n(926),s=n(6058),l=n(6738),c=function(){},u=[],d=s("Reflect","construct"),f=/^\s*(?:class|function)\b/,h=r(f.exec),p=!f.test(c),m=function(e){if(!o(e))return!1;try{return d(c,u,e),!0}catch(e){return!1}},g=function(e){if(!o(e))return!1;switch(a(e)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return p||!!h(f,l(e))}catch(e){return!0}};g.sham=!0,e.exports=!d||i((function(){var e;return m(m.call)||!m(Object)||!m((function(){e=!0}))||e}))?g:m},5266:function(e,t,n){var r=n(3689),i=n(9985),o=/#|\.prototype\./,a=function(e,t){var n=l[s(e)];return n===u||n!==c&&(i(t)?r(t):!!t)},s=a.normalize=function(e){return String(e).replace(o,".").toLowerCase()},l=a.data={},c=a.NATIVE="N",u=a.POLYFILL="P";e.exports=a},1973:function(e,t,n){var r=n(8999),i=Math.floor;e.exports=Number.isInteger||function(e){return!r(e)&&isFinite(e)&&i(e)===e}},981:function(e){e.exports=function(e){return null==e}},8999:function(e,t,n){var r=n(9985),i=n(2659),o=i.all;e.exports=i.IS_HTMLDDA?function(e){return"object"==typeof e?null!==e:r(e)||e===o}:function(e){return"object"==typeof e?null!==e:r(e)}},3931:function(e){e.exports=!1},1245:function(e,t,n){var r=n(8999),i=n(6648),o=n(4201)("match");e.exports=function(e){var t;return r(e)&&(void 0!==(t=e[o])?!!t:"RegExp"===i(e))}},734:function(e,t,n){var r=n(6058),i=n(9985),o=n(3622),a=n(9525),s=Object;e.exports=a?function(e){return"symbol"==typeof e}:function(e){var t=r("Symbol");return i(t)&&o(t.prototype,s(e))}},2125:function(e,t,n){var r=n(2615),i=n(5027),o=n(4849);e.exports=function(e,t,n){var a,s;i(e);try{if(!(a=o(e,"return"))){if("throw"===t)throw n;return n}a=r(a,e)}catch(e){s=!0,a=e}if("throw"===t)throw n;if(s)throw a;return i(a),n}},974:function(e,t,n){var r=n(2013).IteratorPrototype,i=n(5391),o=n(5684),a=n(5997),s=n(9478),l=function(){return this};e.exports=function(e,t,n,c){var u=t+" Iterator";return e.prototype=i(r,{next:o(+!c,n)}),a(e,u,!1,!0),s[u]=l,e}},1934:function(e,t,n){var r=n(9989),i=n(2615),o=n(3931),a=n(1236),s=n(9985),l=n(974),c=n(1868),u=n(9385),d=n(5997),f=n(5773),h=n(1880),p=n(4201),m=n(9478),g=n(2013),b=a.PROPER,v=a.CONFIGURABLE,y=g.IteratorPrototype,E=g.BUGGY_SAFARI_ITERATORS,T=p("iterator"),_="keys",A="values",S="entries",C=function(){return this};e.exports=function(e,t,n,a,p,g,I){l(n,t,a);var w,x,D,k=function(e){if(e===p&&L)return L;if(!E&&e&&e in P)return P[e];switch(e){case _:case A:case S:return function(){return new n(this,e)}}return function(){return new n(this)}},O=t+" Iterator",N=!1,P=e.prototype,R=P[T]||P["@@iterator"]||p&&P[p],L=!E&&R||k(p),M="Array"===t&&P.entries||R;if(M&&(w=c(M.call(new e)))!==Object.prototype&&w.next&&(o||c(w)===y||(u?u(w,y):s(w[T])||h(w,T,C)),d(w,O,!0,!0),o&&(m[O]=C)),b&&p===A&&R&&R.name!==A&&(!o&&v?f(P,"name",A):(N=!0,L=function(){return i(R,this)})),p)if(x={values:k(A),keys:g?L:k(_),entries:k(S)},I)for(D in x)(E||N||!(D in P))&&h(P,D,x[D]);else r({target:t,proto:!0,forced:E||N},x);return o&&!I||P[T]===L||h(P,T,L,{name:p}),m[t]=L,x}},2013:function(e,t,n){var r,i,o,a=n(3689),s=n(9985),l=n(8999),c=n(5391),u=n(1868),d=n(1880),f=n(4201),h=n(3931),p=f("iterator"),m=!1;[].keys&&("next"in(o=[].keys())?(i=u(u(o)))!==Object.prototype&&(r=i):m=!0),!l(r)||a((function(){var e={};return r[p].call(e)!==e}))?r={}:h&&(r=c(r)),s(r[p])||d(r,p,(function(){return this})),e.exports={IteratorPrototype:r,BUGGY_SAFARI_ITERATORS:m}},9478:function(e){e.exports={}},6310:function(e,t,n){var r=n(3126);e.exports=function(e){return r(e.length)}},8702:function(e,t,n){var r=n(8844),i=n(3689),o=n(9985),a=n(6812),s=n(7697),l=n(1236).CONFIGURABLE,c=n(6738),u=n(618),d=u.enforce,f=u.get,h=String,p=Object.defineProperty,m=r("".slice),g=r("".replace),b=r([].join),v=s&&!i((function(){return 8!==p((function(){}),"length",{value:8}).length})),y=String(String).split("String"),E=e.exports=function(e,t,n){"Symbol("===m(h(t),0,7)&&(t="["+g(h(t),/^Symbol\(([^)]*)\)/,"$1")+"]"),n&&n.getter&&(t="get "+t),n&&n.setter&&(t="set "+t),(!a(e,"name")||l&&e.name!==t)&&(s?p(e,"name",{value:t,configurable:!0}):e.name=t),v&&n&&a(n,"arity")&&e.length!==n.arity&&p(e,"length",{value:n.arity});try{n&&a(n,"constructor")&&n.constructor?s&&p(e,"prototype",{writable:!1}):e.prototype&&(e.prototype=void 0)}catch(e){}var r=d(e);return a(r,"source")||(r.source=b(y,"string"==typeof t?t:"")),e};Function.prototype.toString=E((function(){return o(this)&&f(this).source||c(this)}),"toString")},8828:function(e){var t=Math.ceil,n=Math.floor;e.exports=Math.trunc||function(e){var r=+e;return(r>0?n:t)(r)}},2124:function(e,t,n){var r=n(1245),i=TypeError;e.exports=function(e){if(r(e))throw new i("The method doesn't accept regular expressions");return e}},5394:function(e,t,n){var r=n(7697),i=n(8844),o=n(2615),a=n(3689),s=n(300),l=n(7518),c=n(9556),u=n(690),d=n(4413),f=Object.assign,h=Object.defineProperty,p=i([].concat);e.exports=!f||a((function(){if(r&&1!==f({b:1},f(h({},"a",{enumerable:!0,get:function(){h(this,"b",{value:3,enumerable:!1})}}),{b:2})).b)return!0;var e={},t={},n=Symbol("assign detection"),i="abcdefghijklmnopqrst";return e[n]=7,i.split("").forEach((function(e){t[e]=e})),7!==f({},e)[n]||s(f({},t)).join("")!==i}))?function(e,t){for(var n=u(e),i=arguments.length,a=1,f=l.f,h=c.f;i>a;)for(var m,g=d(arguments[a++]),b=f?p(s(g),f(g)):s(g),v=b.length,y=0;v>y;)m=b[y++],r&&!o(h,g,m)||(n[m]=g[m]);return n}:f},5391:function(e,t,n){var r,i=n(5027),o=n(8920),a=n(2739),s=n(7248),l=n(2688),c=n(6420),u=n(2713),d="prototype",f="script",h=u("IE_PROTO"),p=function(){},m=function(e){return"<"+f+">"+e+"</"+f+">"},g=function(e){e.write(m("")),e.close();var t=e.parentWindow.Object;return e=null,t},b=function(){try{r=new ActiveXObject("htmlfile")}catch(e){}var e,t,n;b="undefined"!=typeof document?document.domain&&r?g(r):(t=c("iframe"),n="java"+f+":",t.style.display="none",l.appendChild(t),t.src=String(n),(e=t.contentWindow.document).open(),e.write(m("document.F=Object")),e.close(),e.F):g(r);for(var i=a.length;i--;)delete b[d][a[i]];return b()};s[h]=!0,e.exports=Object.create||function(e,t){var n;return null!==e?(p[d]=i(e),n=new p,p[d]=null,n[h]=e):n=b(),void 0===t?n:o.f(n,t)}},8920:function(e,t,n){var r=n(7697),i=n(5648),o=n(2560),a=n(5027),s=n(5290),l=n(300);t.f=r&&!i?Object.defineProperties:function(e,t){a(e);for(var n,r=s(t),i=l(t),c=i.length,u=0;c>u;)o.f(e,n=i[u++],r[n]);return e}},2560:function(e,t,n){var r=n(7697),i=n(8506),o=n(5648),a=n(5027),s=n(8360),l=TypeError,c=Object.defineProperty,u=Object.getOwnPropertyDescriptor,d="enumerable",f="configurable",h="writable";t.f=r?o?function(e,t,n){if(a(e),t=s(t),a(n),"function"==typeof e&&"prototype"===t&&"value"in n&&h in n&&!n[h]){var r=u(e,t);r&&r[h]&&(e[t]=n.value,n={configurable:f in n?n[f]:r[f],enumerable:d in n?n[d]:r[d],writable:!1})}return c(e,t,n)}:c:function(e,t,n){if(a(e),t=s(t),a(n),i)try{return c(e,t,n)}catch(e){}if("get"in n||"set"in n)throw new l("Accessors not supported");return"value"in n&&(e[t]=n.value),e}},2474:function(e,t,n){var r=n(7697),i=n(2615),o=n(9556),a=n(5684),s=n(5290),l=n(8360),c=n(6812),u=n(8506),d=Object.getOwnPropertyDescriptor;t.f=r?d:function(e,t){if(e=s(e),t=l(t),u)try{return d(e,t)}catch(e){}if(c(e,t))return a(!i(o.f,e,t),e[t])}},6062:function(e,t,n){var r=n(6648),i=n(5290),o=n(2741).f,a=n(9015),s="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[];e.exports.f=function(e){return s&&"Window"===r(e)?function(e){try{return o(e)}catch(e){return a(s)}}(e):o(i(e))}},2741:function(e,t,n){var r=n(4948),i=n(2739).concat("length","prototype");t.f=Object.getOwnPropertyNames||function(e){return r(e,i)}},7518:function(e,t){t.f=Object.getOwnPropertySymbols},1868:function(e,t,n){var r=n(6812),i=n(9985),o=n(690),a=n(2713),s=n(1748),l=a("IE_PROTO"),c=Object,u=c.prototype;e.exports=s?c.getPrototypeOf:function(e){var t=o(e);if(r(t,l))return t[l];var n=t.constructor;return i(n)&&t instanceof n?n.prototype:t instanceof c?u:null}},3622:function(e,t,n){var r=n(8844);e.exports=r({}.isPrototypeOf)},4948:function(e,t,n){var r=n(8844),i=n(6812),o=n(5290),a=n(4328).indexOf,s=n(7248),l=r([].push);e.exports=function(e,t){var n,r=o(e),c=0,u=[];for(n in r)!i(s,n)&&i(r,n)&&l(u,n);for(;t.length>c;)i(r,n=t[c++])&&(~a(u,n)||l(u,n));return u}},300:function(e,t,n){var r=n(4948),i=n(2739);e.exports=Object.keys||function(e){return r(e,i)}},9556:function(e,t){var n={}.propertyIsEnumerable,r=Object.getOwnPropertyDescriptor,i=r&&!n.call({1:2},1);t.f=i?function(e){var t=r(this,e);return!!t&&t.enumerable}:n},600:function(e,t,n){var r=n(3931),i=n(9037),o=n(3689),a=n(7922);e.exports=r||!o((function(){if(!(a&&a<535)){var e=Math.random();__defineSetter__.call(null,e,(function(){})),delete i[e]}}))},9385:function(e,t,n){var r=n(2743),i=n(5027),o=n(3550);e.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var e,t=!1,n={};try{(e=r(Object.prototype,"__proto__","set"))(n,[]),t=n instanceof Array}catch(e){}return function(n,r){return i(n),o(r),t?e(n,r):n.__proto__=r,n}}():void 0)},5073:function(e,t,n){var r=n(3043),i=n(926);e.exports=r?{}.toString:function(){return"[object "+i(this)+"]"}},5899:function(e,t,n){var r=n(2615),i=n(9985),o=n(8999),a=TypeError;e.exports=function(e,t){var n,s;if("string"===t&&i(n=e.toString)&&!o(s=r(n,e)))return s;if(i(n=e.valueOf)&&!o(s=r(n,e)))return s;if("string"!==t&&i(n=e.toString)&&!o(s=r(n,e)))return s;throw new a("Can't convert object to primitive value")}},9152:function(e,t,n){var r=n(6058),i=n(8844),o=n(2741),a=n(7518),s=n(5027),l=i([].concat);e.exports=r("Reflect","ownKeys")||function(e){var t=o.f(s(e)),n=a.f;return n?l(t,n(e)):t}},496:function(e,t,n){var r=n(9037);e.exports=r},8055:function(e,t,n){var r=n(2560).f;e.exports=function(e,t,n){n in e||r(e,n,{configurable:!0,get:function(){return t[n]},set:function(e){t[n]=e}})}},6100:function(e,t,n){var r=n(2615),i=n(5027),o=n(9985),a=n(6648),s=n(6308),l=TypeError;e.exports=function(e,t){var n=e.exec;if(o(n)){var c=r(n,e,t);return null!==c&&i(c),c}if("RegExp"===a(e))return r(s,e,t);throw new l("RegExp#exec called on incompatible receiver")}},6308:function(e,t,n){var r,i,o=n(2615),a=n(8844),s=n(4327),l=n(9633),c=n(7901),u=n(3430),d=n(5391),f=n(618).get,h=n(2100),p=n(6422),m=u("native-string-replace",String.prototype.replace),g=RegExp.prototype.exec,b=g,v=a("".charAt),y=a("".indexOf),E=a("".replace),T=a("".slice),_=(i=/b*/g,o(g,r=/a/,"a"),o(g,i,"a"),0!==r.lastIndex||0!==i.lastIndex),A=c.BROKEN_CARET,S=void 0!==/()??/.exec("")[1];(_||S||A||h||p)&&(b=function(e){var t,n,r,i,a,c,u,h=this,p=f(h),C=s(e),I=p.raw;if(I)return I.lastIndex=h.lastIndex,t=o(b,I,C),h.lastIndex=I.lastIndex,t;var w=p.groups,x=A&&h.sticky,D=o(l,h),k=h.source,O=0,N=C;if(x&&(D=E(D,"y",""),-1===y(D,"g")&&(D+="g"),N=T(C,h.lastIndex),h.lastIndex>0&&(!h.multiline||h.multiline&&"\n"!==v(C,h.lastIndex-1))&&(k="(?: "+k+")",N=" "+N,O++),n=new RegExp("^(?:"+k+")",D)),S&&(n=new RegExp("^"+k+"$(?!\\s)",D)),_&&(r=h.lastIndex),i=o(g,x?n:h,N),x?i?(i.input=T(i.input,O),i[0]=T(i[0],O),i.index=h.lastIndex,h.lastIndex+=i[0].length):h.lastIndex=0:_&&i&&(h.lastIndex=h.global?i.index+i[0].length:r),S&&i&&i.length>1&&o(m,i[0],n,(function(){for(a=1;a<arguments.length-2;a++)void 0===arguments[a]&&(i[a]=void 0)})),i&&w)for(i.groups=c=d(null),a=0;a<w.length;a++)c[(u=w[a])[0]]=i[u[1]];return i}),e.exports=b},9633:function(e,t,n){var r=n(5027);e.exports=function(){var e=r(this),t="";return e.hasIndices&&(t+="d"),e.global&&(t+="g"),e.ignoreCase&&(t+="i"),e.multiline&&(t+="m"),e.dotAll&&(t+="s"),e.unicode&&(t+="u"),e.unicodeSets&&(t+="v"),e.sticky&&(t+="y"),t}},3477:function(e,t,n){var r=n(2615),i=n(6812),o=n(3622),a=n(9633),s=RegExp.prototype;e.exports=function(e){var t=e.flags;return void 0!==t||"flags"in s||i(e,"flags")||!o(s,e)?t:r(a,e)}},7901:function(e,t,n){var r=n(3689),i=n(9037).RegExp,o=r((function(){var e=i("a","y");return e.lastIndex=2,null!==e.exec("abcd")})),a=o||r((function(){return!i("a","y").sticky})),s=o||r((function(){var e=i("^r","gy");return e.lastIndex=2,null!==e.exec("str")}));e.exports={BROKEN_CARET:s,MISSED_STICKY:a,UNSUPPORTED_Y:o}},2100:function(e,t,n){var r=n(3689),i=n(9037).RegExp;e.exports=r((function(){var e=i(".","s");return!(e.dotAll&&e.test("\n")&&"s"===e.flags)}))},6422:function(e,t,n){var r=n(3689),i=n(9037).RegExp;e.exports=r((function(){var e=i("(?<a>b)","g");return"b"!==e.exec("b").groups.a||"bc"!=="b".replace(e,"$<a>c")}))},4684:function(e,t,n){var r=n(981),i=TypeError;e.exports=function(e){if(r(e))throw new i("Can't call method on "+e);return e}},4241:function(e,t,n){var r=n(6058),i=n(2148),o=n(4201),a=n(7697),s=o("species");e.exports=function(e){var t=r(e);a&&t&&!t[s]&&i(t,s,{configurable:!0,get:function(){return this}})}},5997:function(e,t,n){var r=n(2560).f,i=n(6812),o=n(4201)("toStringTag");e.exports=function(e,t,n){e&&!n&&(e=e.prototype),e&&!i(e,o)&&r(e,o,{configurable:!0,value:t})}},2713:function(e,t,n){var r=n(3430),i=n(4630),o=r("keys");e.exports=function(e){return o[e]||(o[e]=i(e))}},4091:function(e,t,n){var r=n(9037),i=n(5014),o="__core-js_shared__",a=r[o]||i(o,{});e.exports=a},3430:function(e,t,n){var r=n(3931),i=n(4091);(e.exports=function(e,t){return i[e]||(i[e]=void 0!==t?t:{})})("versions",[]).push({version:"3.34.0",mode:r?"pure":"global",copyright:"© 2014-2023 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.34.0/LICENSE",source:"https://github.com/zloirock/core-js"})},6373:function(e,t,n){var r=n(5027),i=n(2655),o=n(981),a=n(4201)("species");e.exports=function(e,t){var n,s=r(e).constructor;return void 0===s||o(n=r(s)[a])?t:i(n)}},730:function(e,t,n){var r=n(8844),i=n(8700),o=n(4327),a=n(4684),s=r("".charAt),l=r("".charCodeAt),c=r("".slice),u=function(e){return function(t,n){var r,u,d=o(a(t)),f=i(n),h=d.length;return f<0||f>=h?e?"":void 0:(r=l(d,f))<55296||r>56319||f+1===h||(u=l(d,f+1))<56320||u>57343?e?s(d,f):r:e?c(d,f,f+2):u-56320+(r-55296<<10)+65536}};e.exports={codeAt:u(!1),charAt:u(!0)}},5984:function(e,t,n){var r=n(1236).PROPER,i=n(3689),o=n(6350);e.exports=function(e){return i((function(){return!!o[e]()||"​…᠎"!=="​…᠎"[e]()||r&&o[e].name!==e}))}},1435:function(e,t,n){var r=n(8844),i=n(4684),o=n(4327),a=n(6350),s=r("".replace),l=RegExp("^["+a+"]+"),c=RegExp("(^|[^"+a+"])["+a+"]+$"),u=function(e){return function(t){var n=o(i(t));return 1&e&&(n=s(n,l,"")),2&e&&(n=s(n,c,"$1")),n}};e.exports={start:u(1),end:u(2),trim:u(3)}},146:function(e,t,n){var r=n(3615),i=n(3689),o=n(9037).String;e.exports=!!Object.getOwnPropertySymbols&&!i((function(){var e=Symbol("symbol detection");return!o(e)||!(Object(e)instanceof Symbol)||!Symbol.sham&&r&&r<41}))},3032:function(e,t,n){var r=n(2615),i=n(6058),o=n(4201),a=n(1880);e.exports=function(){var e=i("Symbol"),t=e&&e.prototype,n=t&&t.valueOf,s=o("toPrimitive");t&&!t[s]&&a(t,s,(function(e){return r(n,this)}),{arity:1})}},6549:function(e,t,n){var r=n(146);e.exports=r&&!!Symbol.for&&!!Symbol.keyFor},3648:function(e,t,n){var r=n(8844);e.exports=r(1..valueOf)},7578:function(e,t,n){var r=n(8700),i=Math.max,o=Math.min;e.exports=function(e,t){var n=r(e);return n<0?i(n+t,0):o(n,t)}},5290:function(e,t,n){var r=n(4413),i=n(4684);e.exports=function(e){return r(i(e))}},8700:function(e,t,n){var r=n(8828);e.exports=function(e){var t=+e;return t!=t||0===t?0:r(t)}},3126:function(e,t,n){var r=n(8700),i=Math.min;e.exports=function(e){return e>0?i(r(e),9007199254740991):0}},690:function(e,t,n){var r=n(4684),i=Object;e.exports=function(e){return i(r(e))}},8732:function(e,t,n){var r=n(2615),i=n(8999),o=n(734),a=n(4849),s=n(5899),l=n(4201),c=TypeError,u=l("toPrimitive");e.exports=function(e,t){if(!i(e)||o(e))return e;var n,l=a(e,u);if(l){if(void 0===t&&(t="default"),n=r(l,e,t),!i(n)||o(n))return n;throw new c("Can't convert object to primitive value")}return void 0===t&&(t="number"),s(e,t)}},8360:function(e,t,n){var r=n(8732),i=n(734);e.exports=function(e){var t=r(e,"string");return i(t)?t:t+""}},3043:function(e,t,n){var r={};r[n(4201)("toStringTag")]="z",e.exports="[object z]"===String(r)},4327:function(e,t,n){var r=n(926),i=String;e.exports=function(e){if("Symbol"===r(e))throw new TypeError("Cannot convert a Symbol value to a string");return i(e)}},3691:function(e){var t=String;e.exports=function(e){try{return t(e)}catch(e){return"Object"}}},4630:function(e,t,n){var r=n(8844),i=0,o=Math.random(),a=r(1..toString);e.exports=function(e){return"Symbol("+(void 0===e?"":e)+")_"+a(++i+o,36)}},9525:function(e,t,n){var r=n(146);e.exports=r&&!Symbol.sham&&"symbol"==typeof Symbol.iterator},5648:function(e,t,n){var r=n(7697),i=n(3689);e.exports=r&&i((function(){return 42!==Object.defineProperty((function(){}),"prototype",{value:42,writable:!1}).prototype}))},9834:function(e,t,n){var r=n(9037),i=n(9985),o=r.WeakMap;e.exports=i(o)&&/native code/.test(String(o))},5405:function(e,t,n){var r=n(496),i=n(6812),o=n(6145),a=n(2560).f;e.exports=function(e){var t=r.Symbol||(r.Symbol={});i(t,e)||a(t,e,{value:o.f(e)})}},6145:function(e,t,n){var r=n(4201);t.f=r},4201:function(e,t,n){var r=n(9037),i=n(3430),o=n(6812),a=n(4630),s=n(146),l=n(9525),c=r.Symbol,u=i("wks"),d=l?c.for||c:c&&c.withoutSetter||a;e.exports=function(e){return o(u,e)||(u[e]=s&&o(c,e)?c[e]:d("Symbol."+e)),u[e]}},6350:function(e){e.exports="\t\n\v\f\r                 \u2028\u2029\ufeff"},4338:function(e,t,n){var r=n(9989),i=n(3689),o=n(2297),a=n(8999),s=n(690),l=n(6310),c=n(5565),u=n(6522),d=n(7120),f=n(9042),h=n(4201),p=n(3615),m=h("isConcatSpreadable"),g=p>=51||!i((function(){var e=[];return e[m]=!1,e.concat()[0]!==e})),b=function(e){if(!a(e))return!1;var t=e[m];return void 0!==t?!!t:o(e)};r({target:"Array",proto:!0,arity:1,forced:!g||!f("concat")},{concat:function(e){var t,n,r,i,o,a=s(this),f=d(a,0),h=0;for(t=-1,r=arguments.length;t<r;t++)if(b(o=-1===t?a:arguments[t]))for(i=l(o),c(h+i),n=0;n<i;n++,h++)n in o&&u(f,h,o[n]);else c(h+1),u(f,h++,o);return f.length=h,f}})},8077:function(e,t,n){var r=n(9989),i=n(2960).filter;r({target:"Array",proto:!0,forced:!n(9042)("filter")},{filter:function(e){return i(this,e,arguments.length>1?arguments[1]:void 0)}})},7049:function(e,t,n){var r=n(9989),i=n(1055);r({target:"Array",stat:!0,forced:!n(6431)((function(e){Array.from(e)}))},{from:i})},6801:function(e,t,n){var r=n(9989),i=n(4328).includes,o=n(3689),a=n(7370);r({target:"Array",proto:!0,forced:o((function(){return!Array(1).includes()}))},{includes:function(e){return i(this,e,arguments.length>1?arguments[1]:void 0)}}),a("includes")},7195:function(e,t,n){var r=n(9989),i=n(6576),o=n(4328).indexOf,a=n(6834),s=i([].indexOf),l=!!s&&1/s([1],1,-0)<0;r({target:"Array",proto:!0,forced:l||!a("indexOf")},{indexOf:function(e){var t=arguments.length>1?arguments[1]:void 0;return l?s(this,e,t)||0:o(this,e,t)}})},752:function(e,t,n){var r=n(5290),i=n(7370),o=n(9478),a=n(618),s=n(2560).f,l=n(1934),c=n(7807),u=n(3931),d=n(7697),f="Array Iterator",h=a.set,p=a.getterFor(f);e.exports=l(Array,"Array",(function(e,t){h(this,{type:f,target:r(e),index:0,kind:t})}),(function(){var e=p(this),t=e.target,n=e.index++;if(!t||n>=t.length)return e.target=void 0,c(void 0,!0);switch(e.kind){case"keys":return c(n,!1);case"values":return c(t[n],!1)}return c([n,t[n]],!1)}),"values");var m=o.Arguments=o.Array;if(i("keys"),i("values"),i("entries"),!u&&d&&"values"!==m.name)try{s(m,"name",{value:"values"})}catch(e){}},6203:function(e,t,n){var r=n(9989),i=n(8844),o=n(4413),a=n(5290),s=n(6834),l=i([].join);r({target:"Array",proto:!0,forced:o!==Object||!s("join",",")},{join:function(e){return l(a(this),void 0===e?",":e)}})},886:function(e,t,n){var r=n(9989),i=n(2960).map;r({target:"Array",proto:!0,forced:!n(9042)("map")},{map:function(e){return i(this,e,arguments.length>1?arguments[1]:void 0)}})},278:function(e,t,n){var r=n(9989),i=n(8820).left,o=n(6834),a=n(3615);r({target:"Array",proto:!0,forced:!n(806)&&a>79&&a<83||!o("reduce")},{reduce:function(e){var t=arguments.length;return i(this,e,t,t>1?arguments[1]:void 0)}})},9730:function(e,t,n){var r=n(9989),i=n(2297),o=n(9429),a=n(8999),s=n(7578),l=n(6310),c=n(5290),u=n(6522),d=n(4201),f=n(9042),h=n(6004),p=f("slice"),m=d("species"),g=Array,b=Math.max;r({target:"Array",proto:!0,forced:!p},{slice:function(e,t){var n,r,d,f=c(this),p=l(f),v=s(e,p),y=s(void 0===t?p:t,p);if(i(f)&&(n=f.constructor,(o(n)&&(n===g||i(n.prototype))||a(n)&&null===(n=n[m]))&&(n=void 0),n===g||void 0===n))return h(f,v,y);for(r=new(void 0===n?g:n)(b(y-v,0)),d=0;v<y;v++,d++)v in f&&u(r,d,f[v]);return r.length=d,r}})},5137:function(e,t,n){var r=n(9989),i=n(8844),o=n(509),a=n(690),s=n(6310),l=n(8494),c=n(4327),u=n(3689),d=n(382),f=n(6834),h=n(7365),p=n(7298),m=n(3615),g=n(7922),b=[],v=i(b.sort),y=i(b.push),E=u((function(){b.sort(void 0)})),T=u((function(){b.sort(null)})),_=f("sort"),A=!u((function(){if(m)return m<70;if(!(h&&h>3)){if(p)return!0;if(g)return g<603;var e,t,n,r,i="";for(e=65;e<76;e++){switch(t=String.fromCharCode(e),e){case 66:case 69:case 70:case 72:n=3;break;case 68:case 71:n=4;break;default:n=2}for(r=0;r<47;r++)b.push({k:t+r,v:n})}for(b.sort((function(e,t){return t.v-e.v})),r=0;r<b.length;r++)t=b[r].k.charAt(0),i.charAt(i.length-1)!==t&&(i+=t);return"DGBEFHACIJK"!==i}}));r({target:"Array",proto:!0,forced:E||!T||!_||!A},{sort:function(e){void 0!==e&&o(e);var t=a(this);if(A)return void 0===e?v(t):v(t,e);var n,r,i=[],u=s(t);for(r=0;r<u;r++)r in t&&y(i,t[r]);for(d(i,function(e){return function(t,n){return void 0===n?-1:void 0===t?1:void 0!==e?+e(t,n)||0:c(t)>c(n)?1:-1}}(e)),n=s(i),r=0;r<n;)t[r]=i[r++];for(;r<u;)l(t,r++);return t}})},2506:function(e,t,n){var r=n(9989),i=n(690),o=n(7578),a=n(8700),s=n(6310),l=n(5649),c=n(5565),u=n(7120),d=n(6522),f=n(8494),h=n(9042)("splice"),p=Math.max,m=Math.min;r({target:"Array",proto:!0,forced:!h},{splice:function(e,t){var n,r,h,g,b,v,y=i(this),E=s(y),T=o(e,E),_=arguments.length;for(0===_?n=r=0:1===_?(n=0,r=E-T):(n=_-2,r=m(p(a(t),0),E-T)),c(E+n-r),h=u(y,r),g=0;g<r;g++)(b=T+g)in y&&d(h,g,y[b]);if(h.length=r,n<r){for(g=T;g<E-r;g++)v=g+n,(b=g+r)in y?y[v]=y[b]:f(y,v);for(g=E;g>E-r+n;g--)f(y,g-1)}else if(n>r)for(g=E-r;g>T;g--)v=g+n-1,(b=g+r-1)in y?y[v]=y[b]:f(y,v);for(g=0;g<n;g++)y[g+T]=arguments[g+2];return l(y,E-r+n),h}})},9903:function(e,t,n){var r=n(6812),i=n(1880),o=n(1797),a=n(4201)("toPrimitive"),s=Date.prototype;r(s,a)||i(s,a,o)},4284:function(e,t,n){var r=n(7697),i=n(1236).EXISTS,o=n(8844),a=n(2148),s=Function.prototype,l=o(s.toString),c=/function\b(?:\s|\/\*[\S\s]*?\*\/|\/\/[^\n\r]*[\n\r]+)*([^\s(/]*)/,u=o(c.exec);r&&!i&&a(s,"name",{configurable:!0,get:function(){try{return u(c,l(this))[1]}catch(e){return""}}})},8324:function(e,t,n){var r=n(9989),i=n(6058),o=n(1735),a=n(2615),s=n(8844),l=n(3689),c=n(9985),u=n(734),d=n(6004),f=n(2643),h=n(146),p=String,m=i("JSON","stringify"),g=s(/./.exec),b=s("".charAt),v=s("".charCodeAt),y=s("".replace),E=s(1..toString),T=/[\uD800-\uDFFF]/g,_=/^[\uD800-\uDBFF]$/,A=/^[\uDC00-\uDFFF]$/,S=!h||l((function(){var e=i("Symbol")("stringify detection");return"[null]"!==m([e])||"{}"!==m({a:e})||"{}"!==m(Object(e))})),C=l((function(){return'"\\udf06\\ud834"'!==m("\udf06\ud834")||'"\\udead"'!==m("\udead")})),I=function(e,t){var n=d(arguments),r=f(t);if(c(r)||void 0!==e&&!u(e))return n[1]=function(e,t){if(c(r)&&(t=a(r,this,p(e),t)),!u(t))return t},o(m,null,n)},w=function(e,t,n){var r=b(n,t-1),i=b(n,t+1);return g(_,e)&&!g(A,i)||g(A,e)&&!g(_,r)?"\\u"+E(v(e,0),16):e};m&&r({target:"JSON",stat:!0,arity:3,forced:S||C},{stringify:function(e,t,n){var r=d(arguments),i=o(S?I:m,null,r);return C&&"string"==typeof i?y(i,T,w):i}})},9288:function(e,t,n){var r=n(9989),i=n(3931),o=n(7697),a=n(9037),s=n(496),l=n(8844),c=n(5266),u=n(6812),d=n(3457),f=n(3622),h=n(734),p=n(8732),m=n(3689),g=n(2741).f,b=n(2474).f,v=n(2560).f,y=n(3648),E=n(1435).trim,T="Number",_=a[T],A=s[T],S=_.prototype,C=a.TypeError,I=l("".slice),w=l("".charCodeAt),x=c(T,!_(" 0o1")||!_("0b1")||_("+0x1")),D=function(e){var t,n=arguments.length<1?0:_(function(e){var t=p(e,"number");return"bigint"==typeof t?t:function(e){var t,n,r,i,o,a,s,l,c=p(e,"number");if(h(c))throw new C("Cannot convert a Symbol value to a number");if("string"==typeof c&&c.length>2)if(c=E(c),43===(t=w(c,0))||45===t){if(88===(n=w(c,2))||120===n)return NaN}else if(48===t){switch(w(c,1)){case 66:case 98:r=2,i=49;break;case 79:case 111:r=8,i=55;break;default:return+c}for(a=(o=I(c,2)).length,s=0;s<a;s++)if((l=w(o,s))<48||l>i)return NaN;return parseInt(o,r)}return+c}(t)}(e));return f(S,t=this)&&m((function(){y(t)}))?d(Object(n),this,D):n};D.prototype=S,x&&!i&&(S.constructor=D),r({global:!0,constructor:!0,wrap:!0,forced:x},{Number:D});var k=function(e,t){for(var n,r=o?g(t):"MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,EPSILON,MAX_SAFE_INTEGER,MIN_SAFE_INTEGER,isFinite,isInteger,isNaN,isSafeInteger,parseFloat,parseInt,fromString,range".split(","),i=0;r.length>i;i++)u(t,n=r[i])&&!u(e,n)&&v(e,n,b(t,n))};i&&A&&k(s[T],A),(x||i)&&k(s[T],_)},5765:function(e,t,n){n(9989)({target:"Number",stat:!0},{isInteger:n(1973)})},429:function(e,t,n){var r=n(9989),i=n(5394);r({target:"Object",stat:!0,arity:2,forced:Object.assign!==i},{assign:i})},3994:function(e,t,n){var r=n(9989),i=n(7697),o=n(600),a=n(509),s=n(690),l=n(2560);i&&r({target:"Object",proto:!0,forced:o},{__defineGetter__:function(e,t){l.f(s(this),e,{get:a(t),enumerable:!0,configurable:!0})}})},1919:function(e,t,n){var r=n(9989),i=n(3689),o=n(5290),a=n(2474).f,s=n(7697);r({target:"Object",stat:!0,forced:!s||i((function(){a(1)})),sham:!s},{getOwnPropertyDescriptor:function(e,t){return a(o(e),t)}})},9474:function(e,t,n){var r=n(9989),i=n(7697),o=n(9152),a=n(5290),s=n(2474),l=n(6522);r({target:"Object",stat:!0,sham:!i},{getOwnPropertyDescriptors:function(e){for(var t,n,r=a(e),i=s.f,c=o(r),u={},d=0;c.length>d;)void 0!==(n=i(r,t=c[d++]))&&l(u,t,n);return u}})},9997:function(e,t,n){var r=n(9989),i=n(3689),o=n(6062).f;r({target:"Object",stat:!0,forced:i((function(){return!Object.getOwnPropertyNames(1)}))},{getOwnPropertyNames:o})},9434:function(e,t,n){var r=n(9989),i=n(146),o=n(3689),a=n(7518),s=n(690);r({target:"Object",stat:!0,forced:!i||o((function(){a.f(1)}))},{getOwnPropertySymbols:function(e){var t=a.f;return t?t(s(e)):[]}})},9358:function(e,t,n){var r=n(9989),i=n(690),o=n(300);r({target:"Object",stat:!0,forced:n(3689)((function(){o(1)}))},{keys:function(e){return o(i(e))}})},228:function(e,t,n){var r=n(3043),i=n(1880),o=n(5073);r||i(Object.prototype,"toString",o,{unsafe:!0})},2003:function(e,t,n){var r=n(7697),i=n(9037),o=n(8844),a=n(5266),s=n(3457),l=n(5773),c=n(5391),u=n(2741).f,d=n(3622),f=n(1245),h=n(4327),p=n(3477),m=n(7901),g=n(8055),b=n(1880),v=n(3689),y=n(6812),E=n(618).enforce,T=n(4241),_=n(4201),A=n(2100),S=n(6422),C=_("match"),I=i.RegExp,w=I.prototype,x=i.SyntaxError,D=o(w.exec),k=o("".charAt),O=o("".replace),N=o("".indexOf),P=o("".slice),R=/^\?<[^\s\d!#%&*+<=>@^][^\s!#%&*+<=>@^]*>/,L=/a/g,M=/a/g,B=new I(L)!==L,F=m.MISSED_STICKY,G=m.UNSUPPORTED_Y;if(a("RegExp",r&&(!B||F||A||S||v((function(){return M[C]=!1,I(L)!==L||I(M)===M||"/a/i"!==String(I(L,"i"))}))))){for(var j=function(e,t){var n,r,i,o,a,u,m=d(w,this),g=f(e),b=void 0===t,v=[],T=e;if(!m&&g&&b&&e.constructor===j)return e;if((g||d(w,e))&&(e=e.source,b&&(t=p(T))),e=void 0===e?"":h(e),t=void 0===t?"":h(t),T=e,A&&"dotAll"in L&&(r=!!t&&N(t,"s")>-1)&&(t=O(t,/s/g,"")),n=t,F&&"sticky"in L&&(i=!!t&&N(t,"y")>-1)&&G&&(t=O(t,/y/g,"")),S&&(o=function(e){for(var t,n=e.length,r=0,i="",o=[],a=c(null),s=!1,l=!1,u=0,d="";r<=n;r++){if("\\"===(t=k(e,r)))t+=k(e,++r);else if("]"===t)s=!1;else if(!s)switch(!0){case"["===t:s=!0;break;case"("===t:D(R,P(e,r+1))&&(r+=2,l=!0),i+=t,u++;continue;case">"===t&&l:if(""===d||y(a,d))throw new x("Invalid capture group name");a[d]=!0,o[o.length]=[d,u],l=!1,d="";continue}l?d+=t:i+=t}return[i,o]}(e),e=o[0],v=o[1]),a=s(I(e,t),m?this:w,j),(r||i||v.length)&&(u=E(a),r&&(u.dotAll=!0,u.raw=j(function(e){for(var t,n=e.length,r=0,i="",o=!1;r<=n;r++)"\\"!==(t=k(e,r))?o||"."!==t?("["===t?o=!0:"]"===t&&(o=!1),i+=t):i+="[\\s\\S]":i+=t+k(e,++r);return i}(e),n)),i&&(u.sticky=!0),v.length&&(u.groups=v)),e!==T)try{l(a,"source",""===T?"(?:)":T)}catch(e){}return a},H=u(I),U=0;H.length>U;)g(j,I,H[U++]);w.constructor=j,j.prototype=w,b(i,"RegExp",j,{constructor:!0})}T("RegExp")},4043:function(e,t,n){var r=n(9989),i=n(6308);r({target:"RegExp",proto:!0,forced:/./.exec!==i},{exec:i})},2826:function(e,t,n){var r=n(1236).PROPER,i=n(1880),o=n(5027),a=n(4327),s=n(3689),l=n(3477),c="toString",u=RegExp.prototype[c],d=s((function(){return"/a/b"!==u.call({source:"a",flags:"b"})})),f=r&&u.name!==c;(d||f)&&i(RegExp.prototype,c,(function(){var e=o(this);return"/"+a(e.source)+"/"+a(l(e))}),{unsafe:!0})},3843:function(e,t,n){var r=n(9989),i=n(8844),o=n(2124),a=n(4684),s=n(4327),l=n(7413),c=i("".indexOf);r({target:"String",proto:!0,forced:!l("includes")},{includes:function(e){return!!~c(s(a(this)),s(o(e)),arguments.length>1?arguments[1]:void 0)}})},1694:function(e,t,n){var r=n(730).charAt,i=n(4327),o=n(618),a=n(1934),s=n(7807),l="String Iterator",c=o.set,u=o.getterFor(l);a(String,"String",(function(e){c(this,{type:l,string:i(e),index:0})}),(function(){var e,t=u(this),n=t.string,i=t.index;return i>=n.length?s(void 0,!0):(e=r(n,i),t.index+=e.length,s(e,!1))}))},9866:function(e,t,n){var r=n(9989),i=n(2615),o=n(6576),a=n(974),s=n(7807),l=n(4684),c=n(3126),u=n(4327),d=n(5027),f=n(981),h=n(6648),p=n(1245),m=n(3477),g=n(4849),b=n(1880),v=n(3689),y=n(4201),E=n(6373),T=n(1514),_=n(6100),A=n(618),S=n(3931),C=y("matchAll"),I="RegExp String",w=I+" Iterator",x=A.set,D=A.getterFor(w),k=RegExp.prototype,O=TypeError,N=o("".indexOf),P=o("".matchAll),R=!!P&&!v((function(){P("a",/./)})),L=a((function(e,t,n,r){x(this,{type:w,regexp:e,string:t,global:n,unicode:r,done:!1})}),I,(function(){var e=D(this);if(e.done)return s(void 0,!0);var t=e.regexp,n=e.string,r=_(t,n);return null===r?(e.done=!0,s(void 0,!0)):e.global?(""===u(r[0])&&(t.lastIndex=T(n,c(t.lastIndex),e.unicode)),s(r,!1)):(e.done=!0,s(r,!1))})),M=function(e){var t,n,r,i=d(this),o=u(e),a=E(i,RegExp),s=u(m(i));return t=new a(a===RegExp?i.source:i,s),n=!!~N(s,"g"),r=!!~N(s,"u"),t.lastIndex=c(i.lastIndex),new L(t,o,n,r)};r({target:"String",proto:!0,forced:R},{matchAll:function(e){var t,n,r,o,a=l(this);if(f(e)){if(R)return P(a,e)}else{if(p(e)&&(t=u(l(m(e))),!~N(t,"g")))throw new O("`.matchAll` does not allow non-global regexes");if(R)return P(a,e);if(void 0===(r=g(e,C))&&S&&"RegExp"===h(e)&&(r=M),r)return i(r,e,a)}return n=u(a),o=new RegExp(e,"g"),S?i(M,o,n):o[C](n)}}),S||C in k||b(k,C,M)},2462:function(e,t,n){var r=n(2615),i=n(8678),o=n(5027),a=n(981),s=n(3126),l=n(4327),c=n(4684),u=n(4849),d=n(1514),f=n(6100);i("match",(function(e,t,n){return[function(t){var n=c(this),i=a(t)?void 0:u(t,e);return i?r(i,t,n):new RegExp(t)[e](l(n))},function(e){var r=o(this),i=l(e),a=n(t,r,i);if(a.done)return a.value;if(!r.global)return f(r,i);var c=r.unicode;r.lastIndex=0;for(var u,h=[],p=0;null!==(u=f(r,i));){var m=l(u[0]);h[p]=m,""===m&&(r.lastIndex=d(i,s(r.lastIndex),c)),p++}return 0===p?null:h}]}))},7267:function(e,t,n){var r=n(1735),i=n(2615),o=n(8844),a=n(8678),s=n(3689),l=n(5027),c=n(9985),u=n(981),d=n(8700),f=n(3126),h=n(4327),p=n(4684),m=n(1514),g=n(4849),b=n(7017),v=n(6100),y=n(4201)("replace"),E=Math.max,T=Math.min,_=o([].concat),A=o([].push),S=o("".indexOf),C=o("".slice),I="$0"==="a".replace(/./,"$0"),w=!!/./[y]&&""===/./[y]("a","$0");a("replace",(function(e,t,n){var o=w?"$":"$0";return[function(e,n){var r=p(this),o=u(e)?void 0:g(e,y);return o?i(o,e,r,n):i(t,h(r),e,n)},function(e,i){var a=l(this),s=h(e);if("string"==typeof i&&-1===S(i,o)&&-1===S(i,"$<")){var u=n(t,a,s,i);if(u.done)return u.value}var p=c(i);p||(i=h(i));var g,y=a.global;y&&(g=a.unicode,a.lastIndex=0);for(var I,w=[];null!==(I=v(a,s))&&(A(w,I),y);)""===h(I[0])&&(a.lastIndex=m(s,f(a.lastIndex),g));for(var x,D="",k=0,O=0;O<w.length;O++){for(var N,P=h((I=w[O])[0]),R=E(T(d(I.index),s.length),0),L=[],M=1;M<I.length;M++)A(L,void 0===(x=I[M])?x:String(x));var B=I.groups;if(p){var F=_([P],L,R,s);void 0!==B&&A(F,B),N=h(r(i,void 0,F))}else N=b(P,s,R,L,B,i);R>=k&&(D+=C(s,k,R)+N,k=R+P.length)}return D+C(s,k)}]}),!!s((function(){var e=/./;return e.exec=function(){var e=[];return e.groups={a:"7"},e},"7"!=="".replace(e,"$<a>")}))||!I||w)},9873:function(e,t,n){var r=n(1735),i=n(2615),o=n(8844),a=n(8678),s=n(5027),l=n(981),c=n(1245),u=n(4684),d=n(6373),f=n(1514),h=n(3126),p=n(4327),m=n(4849),g=n(9015),b=n(6100),v=n(6308),y=n(7901),E=n(3689),T=y.UNSUPPORTED_Y,_=4294967295,A=Math.min,S=[].push,C=o(/./.exec),I=o(S),w=o("".slice),x=!E((function(){var e=/(?:)/,t=e.exec;e.exec=function(){return t.apply(this,arguments)};var n="ab".split(e);return 2!==n.length||"a"!==n[0]||"b"!==n[1]}));a("split",(function(e,t,n){var o;return o="c"==="abbc".split(/(b)*/)[1]||4!=="test".split(/(?:)/,-1).length||2!=="ab".split(/(?:ab)*/).length||4!==".".split(/(.?)(.?)/).length||".".split(/()()/).length>1||"".split(/.?/).length?function(e,n){var o=p(u(this)),a=void 0===n?_:n>>>0;if(0===a)return[];if(void 0===e)return[o];if(!c(e))return i(t,o,e,a);for(var s,l,d,f=[],h=(e.ignoreCase?"i":"")+(e.multiline?"m":"")+(e.unicode?"u":"")+(e.sticky?"y":""),m=0,b=new RegExp(e.source,h+"g");(s=i(v,b,o))&&!((l=b.lastIndex)>m&&(I(f,w(o,m,s.index)),s.length>1&&s.index<o.length&&r(S,f,g(s,1)),d=s[0].length,m=l,f.length>=a));)b.lastIndex===s.index&&b.lastIndex++;return m===o.length?!d&&C(b,"")||I(f,""):I(f,w(o,m)),f.length>a?g(f,0,a):f}:"0".split(void 0,0).length?function(e,n){return void 0===e&&0===n?[]:i(t,this,e,n)}:t,[function(t,n){var r=u(this),a=l(t)?void 0:m(t,e);return a?i(a,t,r,n):i(o,p(r),t,n)},function(e,r){var i=s(this),a=p(e),l=n(o,i,a,r,o!==t);if(l.done)return l.value;var c=d(i,RegExp),u=i.unicode,m=(i.ignoreCase?"i":"")+(i.multiline?"m":"")+(i.unicode?"u":"")+(T?"g":"y"),g=new c(T?"^(?:"+i.source+")":i,m),v=void 0===r?_:r>>>0;if(0===v)return[];if(0===a.length)return null===b(g,a)?[a]:[];for(var y=0,E=0,S=[];E<a.length;){g.lastIndex=T?0:E;var C,x=b(g,T?w(a,E):a);if(null===x||(C=A(h(g.lastIndex+(T?E:0)),a.length))===y)E=f(a,E,u);else{if(I(S,w(a,y,E)),S.length===v)return S;for(var D=1;D<=x.length-1;D++)if(I(S,x[D]),S.length===v)return S;E=y=C}}return I(S,w(a,y)),S}]}),!x,T)},8436:function(e,t,n){var r=n(9989),i=n(1435).trim;r({target:"String",proto:!0,forced:n(5984)("trim")},{trim:function(){return i(this)}})},7855:function(e,t,n){var r=n(9989),i=n(9037),o=n(2615),a=n(8844),s=n(3931),l=n(7697),c=n(146),u=n(3689),d=n(6812),f=n(3622),h=n(5027),p=n(5290),m=n(8360),g=n(4327),b=n(5684),v=n(5391),y=n(300),E=n(2741),T=n(6062),_=n(7518),A=n(2474),S=n(2560),C=n(8920),I=n(9556),w=n(1880),x=n(2148),D=n(3430),k=n(2713),O=n(7248),N=n(4630),P=n(4201),R=n(6145),L=n(5405),M=n(3032),B=n(5997),F=n(618),G=n(2960).forEach,j=k("hidden"),H="Symbol",U="prototype",z=F.set,V=F.getterFor(H),$=Object[U],q=i.Symbol,W=q&&q[U],Y=i.RangeError,K=i.TypeError,X=i.QObject,Q=A.f,Z=S.f,J=T.f,ee=I.f,te=a([].push),ne=D("symbols"),re=D("op-symbols"),ie=D("wks"),oe=!X||!X[U]||!X[U].findChild,ae=function(e,t,n){var r=Q($,t);r&&delete $[t],Z(e,t,n),r&&e!==$&&Z($,t,r)},se=l&&u((function(){return 7!==v(Z({},"a",{get:function(){return Z(this,"a",{value:7}).a}})).a}))?ae:Z,le=function(e,t){var n=ne[e]=v(W);return z(n,{type:H,tag:e,description:t}),l||(n.description=t),n},ce=function(e,t,n){e===$&&ce(re,t,n),h(e);var r=m(t);return h(n),d(ne,r)?(n.enumerable?(d(e,j)&&e[j][r]&&(e[j][r]=!1),n=v(n,{enumerable:b(0,!1)})):(d(e,j)||Z(e,j,b(1,{})),e[j][r]=!0),se(e,r,n)):Z(e,r,n)},ue=function(e,t){h(e);var n=p(t),r=y(n).concat(pe(n));return G(r,(function(t){l&&!o(de,n,t)||ce(e,t,n[t])})),e},de=function(e){var t=m(e),n=o(ee,this,t);return!(this===$&&d(ne,t)&&!d(re,t))&&(!(n||!d(this,t)||!d(ne,t)||d(this,j)&&this[j][t])||n)},fe=function(e,t){var n=p(e),r=m(t);if(n!==$||!d(ne,r)||d(re,r)){var i=Q(n,r);return!i||!d(ne,r)||d(n,j)&&n[j][r]||(i.enumerable=!0),i}},he=function(e){var t=J(p(e)),n=[];return G(t,(function(e){d(ne,e)||d(O,e)||te(n,e)})),n},pe=function(e){var t=e===$,n=J(t?re:p(e)),r=[];return G(n,(function(e){!d(ne,e)||t&&!d($,e)||te(r,ne[e])})),r};c||(q=function(){if(f(W,this))throw new K("Symbol is not a constructor");var e=arguments.length&&void 0!==arguments[0]?g(arguments[0]):void 0,t=N(e),n=function(e){var r=void 0===this?i:this;r===$&&o(n,re,e),d(r,j)&&d(r[j],t)&&(r[j][t]=!1);var a=b(1,e);try{se(r,t,a)}catch(e){if(!(e instanceof Y))throw e;ae(r,t,a)}};return l&&oe&&se($,t,{configurable:!0,set:n}),le(t,e)},w(W=q[U],"toString",(function(){return V(this).tag})),w(q,"withoutSetter",(function(e){return le(N(e),e)})),I.f=de,S.f=ce,C.f=ue,A.f=fe,E.f=T.f=he,_.f=pe,R.f=function(e){return le(P(e),e)},l&&(x(W,"description",{configurable:!0,get:function(){return V(this).description}}),s||w($,"propertyIsEnumerable",de,{unsafe:!0}))),r({global:!0,constructor:!0,wrap:!0,forced:!c,sham:!c},{Symbol:q}),G(y(ie),(function(e){L(e)})),r({target:H,stat:!0,forced:!c},{useSetter:function(){oe=!0},useSimple:function(){oe=!1}}),r({target:"Object",stat:!0,forced:!c,sham:!l},{create:function(e,t){return void 0===t?v(e):ue(v(e),t)},defineProperty:ce,defineProperties:ue,getOwnPropertyDescriptor:fe}),r({target:"Object",stat:!0,forced:!c},{getOwnPropertyNames:he}),M(),B(q,H),O[j]=!0},6544:function(e,t,n){var r=n(9989),i=n(7697),o=n(9037),a=n(8844),s=n(6812),l=n(9985),c=n(3622),u=n(4327),d=n(2148),f=n(8758),h=o.Symbol,p=h&&h.prototype;if(i&&l(h)&&(!("description"in p)||void 0!==h().description)){var m={},g=function(){var e=arguments.length<1||void 0===arguments[0]?void 0:u(arguments[0]),t=c(p,this)?new h(e):void 0===e?h():h(e);return""===e&&(m[t]=!0),t};f(g,h),g.prototype=p,p.constructor=g;var b="Symbol(description detection)"===String(h("description detection")),v=a(p.valueOf),y=a(p.toString),E=/^Symbol\((.*)\)[^)]+$/,T=a("".replace),_=a("".slice);d(p,"description",{configurable:!0,get:function(){var e=v(this);if(s(m,e))return"";var t=y(e),n=b?_(t,7,-1):T(t,E,"$1");return""===n?void 0:n}}),r({global:!0,constructor:!0,forced:!0},{Symbol:g})}},3975:function(e,t,n){var r=n(9989),i=n(6058),o=n(6812),a=n(4327),s=n(3430),l=n(6549),c=s("string-to-symbol-registry"),u=s("symbol-to-string-registry");r({target:"Symbol",stat:!0,forced:!l},{for:function(e){var t=a(e);if(o(c,t))return c[t];var n=i("Symbol")(t);return c[t]=n,u[n]=t,n}})},4254:function(e,t,n){n(5405)("iterator")},9749:function(e,t,n){n(7855),n(3975),n(1445),n(8324),n(9434)},1445:function(e,t,n){var r=n(9989),i=n(6812),o=n(734),a=n(3691),s=n(3430),l=n(6549),c=s("symbol-to-string-registry");r({target:"Symbol",stat:!0,forced:!l},{keyFor:function(e){if(!o(e))throw new TypeError(a(e)+" is not a symbol");if(i(c,e))return c[e]}})},9373:function(e,t,n){var r=n(5405),i=n(3032);r("toPrimitive"),i()},9012:function(e,t,n){n(9866)},7522:function(e,t,n){var r=n(9037),i=n(6338),o=n(3265),a=n(7612),s=n(5773),l=function(e){if(e&&e.forEach!==a)try{s(e,"forEach",a)}catch(t){e.forEach=a}};for(var c in i)i[c]&&l(r[c]&&r[c].prototype);l(o)},6265:function(e,t,n){var r=n(9037),i=n(6338),o=n(3265),a=n(752),s=n(5773),l=n(5997),c=n(4201)("iterator"),u=a.values,d=function(e,t){if(e){if(e[c]!==u)try{s(e,c,u)}catch(t){e[c]=u}if(l(e,t,!0),i[t])for(var n in a)if(e[n]!==a[n])try{s(e,n,a[n])}catch(t){e[n]=a[n]}}};for(var f in i)d(r[f]&&r[f].prototype,f);d(o,"DOMTokenList")}},t={};function n(r){var i=t[r];if(void 0!==i)return i.exports;var o=t[r]={exports:{}};return e[r].call(o.exports,o,o.exports,n),o.exports}n.d=function(e,t){for(var r in t)n.o(t,r)&&!n.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},n.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var r={};return function(){function e(e){return function(e){if(Array.isArray(e))return i(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||t(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function t(e,t){if(e){if("string"==typeof e)return i(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)?i(e,t):void 0}}function i(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 o(e){return 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},o(e)}function a(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,l(r.key),r)}}function s(e,t,n){return(t=l(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function l(e){var t=function(e,t){if("object"!==o(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,"string");if("object"!==o(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"===o(t)?t:String(t)}n.r(r),n.d(r,{SimpleKeyboard:function(){return k},default:function(){return O}}),n(8436),n(4043),n(7267),n(7195),n(4284),n(9873),n(228),n(2826),n(2506),n(6203),n(3994),n(9730),"undefined"==typeof Element||"remove"in Element.prototype||(Element.prototype.remove=function(){this.parentNode&&this.parentNode.removeChild(this)}),"undefined"!=typeof self&&"document"in self&&((!("classList"in document.createElement("_"))||document.createElementNS&&!("classList"in document.createElementNS("http://www.w3.org/2000/svg","g")))&&function(e){if("Element"in e){var t="classList",n="prototype",r=e.Element[n],i=Object,o=String[n].trim||function(){return this.replace(/^\s+|\s+$/g,"")},a=Array[n].indexOf||function(e){for(var t=0,n=this.length;t<n;t++)if(t in this&&this[t]===e)return t;return-1},s=function(e,t){this.name=e,this.code=DOMException[e],this.message=t},l=function(e,t){if(""===t)throw new s("SYNTAX_ERR","The token must not be empty.");if(/\s/.test(t))throw new s("INVALID_CHARACTER_ERR","The token must not contain space characters.");return a.call(e,t)},c=function(e){for(var t=o.call(e.getAttribute("class")||""),n=t?t.split(/\s+/):[],r=0,i=n.length;r<i;r++)this.push(n[r]);this._updateClassName=function(){e.setAttribute("class",this.toString())}},u=c[n]=[],d=function(){return new c(this)};if(s[n]=Error[n],u.item=function(e){return this[e]||null},u.contains=function(e){return~l(this,e+"")},u.add=function(){var e,t=arguments,n=0,r=t.length,i=!1;do{~l(this,e=t[n]+"")||(this.push(e),i=!0)}while(++n<r);i&&this._updateClassName()},u.remove=function(){var e,t,n=arguments,r=0,i=n.length,o=!1;do{for(t=l(this,e=n[r]+"");~t;)this.splice(t,1),o=!0,t=l(this,e)}while(++r<i);o&&this._updateClassName()},u.toggle=function(e,t){var n=this.contains(e),r=n?!0!==t&&"remove":!1!==t&&"add";return r&&this[r](e),!0===t||!1===t?t:!n},u.replace=function(e,t){var n=l(e+"");~n&&(this.splice(n,1,t),this._updateClassName())},u.toString=function(){return this.join(" ")},i.defineProperty){var f={get:d,enumerable:!0,configurable:!0};try{i.defineProperty(r,t,f)}catch(e){void 0!==e.number&&-2146823252!==e.number||(f.enumerable=!1,i.defineProperty(r,t,f))}}else i[n].__defineGetter__&&r.__defineGetter__(t,d)}}(self),function(){var e=document.createElement("_");if(e.classList.add("c1","c2"),!e.classList.contains("c2")){var t=function(e){var t=DOMTokenList.prototype[e];DOMTokenList.prototype[e]=function(e){var n,r=arguments.length;for(n=0;n<r;n++)e=arguments[n],t.call(this,e)}};t("add"),t("remove")}if(e.classList.toggle("c3",!1),e.classList.contains("c3")){var n=DOMTokenList.prototype.toggle;DOMTokenList.prototype.toggle=function(e,t){return 1 in arguments&&!this.contains(e)==!t?t:n.call(this,e)}}"replace"in document.createElement("_").classList||(DOMTokenList.prototype.replace=function(e,t){var n=this.toString().split(" "),r=n.indexOf(e+"");~r&&(n=n.slice(r),this.remove.apply(this,n),this.add(t),this.add.apply(this,n.slice(1)))}),e=null}()),n(8077),n(4338),n(9358),n(2003),n(9012),n(5137),n(6801),n(3843),n(7522),n(429),n(886),n(7049),n(1694),n(9373),n(9903),n(9749),n(6544),n(9288),n(1919),n(9474),n(4254),n(752),n(6265),n(5765),n(2462),n(278),n(9997);var c=function(){function n(e){var t=e.getOptions,r=e.getCaretPosition,i=e.getCaretPositionEnd,o=e.dispatch;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,n),s(this,"getOptions",void 0),s(this,"getCaretPosition",void 0),s(this,"getCaretPositionEnd",void 0),s(this,"dispatch",void 0),s(this,"maxLengthReached",void 0),s(this,"isStandardButton",(function(e){return e&&!("{"===e[0]&&"}"===e[e.length-1])})),this.getOptions=t,this.getCaretPosition=r,this.getCaretPositionEnd=i,this.dispatch=o,n.bindMethods(n,this)}var r,i,l;return r=n,i=[{key:"getButtonType",value:function(e){return e.includes("{")&&e.includes("}")&&"{//}"!==e?"functionBtn":"standardBtn"}},{key:"getButtonClass",value:function(e){var t=this.getButtonType(e),n=e.replace("{","").replace("}",""),r="";return"standardBtn"!==t&&(r=" hg-button-".concat(n)),"hg-".concat(t).concat(r)}},{key:"getDefaultDiplay",value:function(){return{"{bksp}":"backspace","{backspace}":"backspace","{enter}":"< enter","{shift}":"shift","{shiftleft}":"shift","{shiftright}":"shift","{alt}":"alt","{s}":"shift","{tab}":"tab","{lock}":"caps","{capslock}":"caps","{accept}":"Submit","{space}":" ","{//}":" ","{esc}":"esc","{escape}":"esc","{f1}":"f1","{f2}":"f2","{f3}":"f3","{f4}":"f4","{f5}":"f5","{f6}":"f6","{f7}":"f7","{f8}":"f8","{f9}":"f9","{f10}":"f10","{f11}":"f11","{f12}":"f12","{numpaddivide}":"/","{numlock}":"lock","{arrowup}":"↑","{arrowleft}":"←","{arrowdown}":"↓","{arrowright}":"→","{prtscr}":"print","{scrolllock}":"scroll","{pause}":"pause","{insert}":"ins","{home}":"home","{pageup}":"up","{delete}":"del","{forwarddelete}":"del","{end}":"end","{pagedown}":"down","{numpadmultiply}":"*","{numpadsubtract}":"-","{numpadadd}":"+","{numpadenter}":"enter","{period}":".","{numpaddecimal}":".","{numpad0}":"0","{numpad1}":"1","{numpad2}":"2","{numpad3}":"3","{numpad4}":"4","{numpad5}":"5","{numpad6}":"6","{numpad7}":"7","{numpad8}":"8","{numpad9}":"9"}}},{key:"getButtonDisplayName",value:function(e,t){return(t=arguments.length>2&&void 0!==arguments[2]&&arguments[2]?Object.assign({},this.getDefaultDiplay(),t):t||this.getDefaultDiplay())[e]||e}},{key:"getUpdatedInput",value:function(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:n,i=arguments.length>4&&void 0!==arguments[4]&&arguments[4],o=this.getOptions(),a=[n,r,i],s=t;return("{bksp}"===e||"{backspace}"===e)&&s.length>0?s=this.removeAt.apply(this,[s].concat(a)):("{delete}"===e||"{forwarddelete}"===e)&&s.length>0?s=this.removeForwardsAt.apply(this,[s].concat(a)):"{space}"===e?s=this.addStringAt.apply(this,[s," "].concat(a)):"{tab}"!==e||"boolean"==typeof o.tabCharOnTab&&!1===o.tabCharOnTab?"{enter}"!==e&&"{numpadenter}"!==e||!o.newLineOnEnter?e.includes("numpad")&&Number.isInteger(Number(e[e.length-2]))?s=this.addStringAt.apply(this,[s,e[e.length-2]].concat(a)):"{numpaddivide}"===e?s=this.addStringAt.apply(this,[s,"/"].concat(a)):"{numpadmultiply}"===e?s=this.addStringAt.apply(this,[s,"*"].concat(a)):"{numpadsubtract}"===e?s=this.addStringAt.apply(this,[s,"-"].concat(a)):"{numpadadd}"===e?s=this.addStringAt.apply(this,[s,"+"].concat(a)):"{numpaddecimal}"===e?s=this.addStringAt.apply(this,[s,"."].concat(a)):"{"===e||"}"===e?s=this.addStringAt.apply(this,[s,e].concat(a)):e.includes("{")||e.includes("}")||(s=this.addStringAt.apply(this,[s,e].concat(a))):s=this.addStringAt.apply(this,[s,"\n"].concat(a)):s=this.addStringAt.apply(this,[s,"\t"].concat(a)),o.debug&&console.log("Input will be: "+s),s}},{key:"updateCaretPos",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=this.updateCaretPosAction(e,t);this.dispatch((function(e){e.setCaretPosition(n)}))}},{key:"updateCaretPosAction",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=this.getOptions(),r=this.getCaretPosition();return null!=r&&(t?r>0&&(r-=e):r+=e),n.debug&&console.log("Caret at:",r),r}},{key:"addStringAt",value:function(e,t){var n,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:e.length,i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:e.length,o=arguments.length>4&&void 0!==arguments[4]&&arguments[4];return r||0===r?(n=[e.slice(0,r),t,e.slice(i)].join(""),this.isMaxLengthReached()||o&&this.updateCaretPos(t.length)):n=e+t,n}},{key:"removeAt",value:function(e){var t,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:e.length,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:e.length,i=arguments.length>3&&void 0!==arguments[3]&&arguments[3];if(0===n&&0===r)return e;if(n===r){var o=/([\uD800-\uDBFF][\uDC00-\uDFFF])/g;n&&n>=0?e.substring(n-2,n).match(o)?(t=e.substr(0,n-2)+e.substr(n),i&&this.updateCaretPos(2,!0)):(t=e.substr(0,n-1)+e.substr(n),i&&this.updateCaretPos(1,!0)):e.slice(-2).match(o)?(t=e.slice(0,-2),i&&this.updateCaretPos(2,!0)):(t=e.slice(0,-1),i&&this.updateCaretPos(1,!0))}else t=e.slice(0,n)+e.slice(r),i&&this.dispatch((function(e){e.setCaretPosition(n)}));return t}},{key:"removeForwardsAt",value:function(e){var t,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:e.length,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:e.length,i=arguments.length>3&&void 0!==arguments[3]&&arguments[3];return null!=e&&e.length&&null!==n?(n===r?t=e.substring(n,n+2).match(/([\uD800-\uDBFF][\uDC00-\uDFFF])/g)?e.substr(0,n)+e.substr(n+2):e.substr(0,n)+e.substr(n+1):(t=e.slice(0,n)+e.slice(r),i&&this.dispatch((function(e){e.setCaretPosition(n)}))),t):e}},{key:"handleMaxLength",value:function(e,t){var n=this.getOptions(),r=n.maxLength,i=e[n.inputName||"default"],a=t.length-1>=r;if(t.length<=i.length)return!1;if(Number.isInteger(r))return n.debug&&console.log("maxLength (num) reached:",a),a?(this.maxLengthReached=!0,!0):(this.maxLengthReached=!1,!1);if("object"===o(r)){var s=t.length-1>=r[n.inputName||"default"];return n.debug&&console.log("maxLength (obj) reached:",s),s?(this.maxLengthReached=!0,!0):(this.maxLengthReached=!1,!1)}}},{key:"isMaxLengthReached",value:function(){return Boolean(this.maxLengthReached)}},{key:"isTouchDevice",value:function(){return"ontouchstart"in window||navigator.maxTouchPoints}},{key:"pointerEventsSupported",value:function(){return!!window.PointerEvent}},{key:"camelCase",value:function(e){return e?e.toLowerCase().trim().split(/[.\-_\s]/g).reduce((function(e,t){return t.length?e+t[0].toUpperCase()+t.slice(1):e})):""}},{key:"chunkArray",value:function(t,n){return e(Array(Math.ceil(t.length/n))).map((function(e,r){return t.slice(n*r,n+n*r)}))}},{key:"escapeRegex",value:function(e){return e.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}},{key:"getRtlOffset",value:function(e,t){var n=e,r=t.indexOf("‫");return r<e&&-1!=r&&n--,t.indexOf("‬")<e&&-1!=r&&n--,n<0?0:n}}],l=[{key:"bindMethods",value:function(e,n){var r,i=function(e,n){var r="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!r){if(Array.isArray(e)||(r=t(e))){r&&(e=r);var i=0,o=function(){};return{s:o,n:function(){return i>=e.length?{done:!0}:{done:!1,value:e[i++]}},e:function(e){throw e},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var a,s=!0,l=!1;return{s:function(){r=r.call(e)},n:function(){var e=r.next();return s=e.done,e},e:function(e){l=!0,a=e},f:function(){try{s||null==r.return||r.return()}finally{if(l)throw a}}}}(Object.getOwnPropertyNames(e.prototype));try{for(i.s();!(r=i.n()).done;){var o=r.value;"constructor"===o||"bindMethods"===o||(n[o]=n[o].bind(n))}}catch(e){i.e(e)}finally{i.f()}}}],i&&a(r.prototype,i),l&&a(r,l),Object.defineProperty(r,"prototype",{writable:!1}),n}();s(c,"noop",(function(){}));var u=c;function d(e){return d="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},d(e)}function f(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,p(r.key),r)}}function h(e,t,n){return(t=p(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function p(e){var t=function(e,t){if("object"!==d(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,"string");if("object"!==d(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"===d(t)?t:String(t)}var m=function(){function e(t){var n=this,r=t.dispatch,i=t.getOptions;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),h(this,"getOptions",void 0),h(this,"dispatch",void 0),h(this,"isMofifierKey",(function(e){return e.altKey||e.ctrlKey||e.shiftKey||["Tab","CapsLock","Esc","ArrowUp","ArrowDown","ArrowLeft","ArrowRight"].includes(e.code||e.key||n.keyCodeToKey(null==e?void 0:e.keyCode))})),this.dispatch=r,this.getOptions=i,u.bindMethods(e,this)}var t,n;return t=e,(n=[{key:"handleHighlightKeyDown",value:function(e){var t=this.getOptions();t.physicalKeyboardHighlightPreventDefault&&this.isMofifierKey(e)&&(e.preventDefault(),e.stopImmediatePropagation());var n=this.getSimpleKeyboardLayoutKey(e);this.dispatch((function(r){var i,o,a=r.getButtonElement(n),s=r.getButtonElement("{".concat(n,"}"));if(a)i=a,o=n;else{if(!s)return;i=s,o="{".concat(n,"}")}var l,c,u,d,f=function(e){e.style.background=t.physicalKeyboardHighlightBgColor||"#dadce4",e.style.color=t.physicalKeyboardHighlightTextColor||"black"};if(i)if(Array.isArray(i)){if(i.forEach((function(e){return f(e)})),t.physicalKeyboardHighlightPress)if(t.physicalKeyboardHighlightPressUsePointerEvents)null===(l=i[0])||void 0===l||null===(c=l.onpointerdown)||void 0===c||c.call(l,e);else if(t.physicalKeyboardHighlightPressUseClick){var h;null===(h=i[0])||void 0===h||h.click()}else r.handleButtonClicked(o,e)}else f(i),t.physicalKeyboardHighlightPress&&(t.physicalKeyboardHighlightPressUsePointerEvents?null===(u=i)||void 0===u||null===(d=u.onpointerdown)||void 0===d||d.call(u,e):t.physicalKeyboardHighlightPressUseClick?i.click():r.handleButtonClicked(o,e))}))}},{key:"handleHighlightKeyUp",value:function(e){var t=this.getOptions();t.physicalKeyboardHighlightPreventDefault&&this.isMofifierKey(e)&&(e.preventDefault(),e.stopImmediatePropagation());var n=this.getSimpleKeyboardLayoutKey(e);this.dispatch((function(r){var i,o,a,s=r.getButtonElement(n)||r.getButtonElement("{".concat(n,"}")),l=function(e){e.removeAttribute&&e.removeAttribute("style")};s&&(Array.isArray(s)?(s.forEach((function(e){return l(e)})),t.physicalKeyboardHighlightPressUsePointerEvents&&(null===(i=s[0])||void 0===i||null===(o=i.onpointerup)||void 0===o||o.call(i,e))):(l(s),t.physicalKeyboardHighlightPressUsePointerEvents&&(null==s||null===(a=s.onpointerup)||void 0===a||a.call(s,e))))}))}},{key:"getSimpleKeyboardLayoutKey",value:function(e){var t,n,r=e.code||e.key||this.keyCodeToKey(null==e?void 0:e.keyCode);return(n=null!=r&&r.includes("Numpad")||null!=r&&r.includes("Shift")||null!=r&&r.includes("Space")||null!=r&&r.includes("Backspace")||null!=r&&r.includes("Control")||null!=r&&r.includes("Alt")||null!=r&&r.includes("Meta")?e.code||"":e.key||this.keyCodeToKey(null==e?void 0:e.keyCode)||"").length>1?null===(t=n)||void 0===t?void 0:t.toLowerCase():n}},{key:"keyCodeToKey",value:function(e){return{8:"Backspace",9:"Tab",13:"Enter",16:"Shift",17:"Ctrl",18:"Alt",19:"Pause",20:"CapsLock",27:"Esc",32:"Space",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"ArrowLeft",38:"ArrowUp",39:"ArrowRight",40:"ArrowDown",45:"Insert",46:"Delete",48:"0",49:"1",50:"2",51:"3",52:"4",53:"5",54:"6",55:"7",56:"8",57:"9",65:"A",66:"B",67:"C",68:"D",69:"E",70:"F",71:"G",72:"H",73:"I",74:"J",75:"K",76:"L",77:"M",78:"N",79:"O",80:"P",81:"Q",82:"R",83:"S",84:"T",85:"U",86:"V",87:"W",88:"X",89:"Y",90:"Z",91:"Meta",96:"Numpad0",97:"Numpad1",98:"Numpad2",99:"Numpad3",100:"Numpad4",101:"Numpad5",102:"Numpad6",103:"Numpad7",104:"Numpad8",105:"Numpad9",106:"NumpadMultiply",107:"NumpadAdd",109:"NumpadSubtract",110:"NumpadDecimal",111:"NumpadDivide",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",186:";",187:"=",188:",",189:"-",190:".",191:"/",192:"`",219:"[",220:"\\",221:"]",222:"'"}[e]||""}}])&&f(t.prototype,n),Object.defineProperty(t,"prototype",{writable:!1}),e}();function g(e){return g="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},g(e)}function b(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,y(r.key),r)}}function v(e,t,n){return(t=y(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function y(e){var t=function(e,t){if("object"!==g(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,"string");if("object"!==g(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"===g(t)?t:String(t)}var E=function(){function e(t){var n=t.utilities,r=t.options;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),v(this,"utilities",void 0),v(this,"options",void 0),v(this,"candidateBoxElement",void 0),v(this,"pageIndex",0),v(this,"pageSize",void 0),this.utilities=n,this.options=r,u.bindMethods(e,this),this.pageSize=this.utilities.getOptions().layoutCandidatesPageSize||5}var t,n;return t=e,n=[{key:"destroy",value:function(){this.candidateBoxElement&&(this.candidateBoxElement.remove(),this.pageIndex=0)}},{key:"show",value:function(e){var t=this,n=e.candidateValue,r=e.targetElement,i=e.onSelect;if(n&&n.length){var o=this.utilities.chunkArray(n.split(" "),this.pageSize);this.renderPage({candidateListPages:o,targetElement:r,pageIndex:this.pageIndex,nbPages:o.length,onItemSelected:function(e,n){i(e,n),t.destroy()}})}}},{key:"renderPage",value:function(e){var t,n=this,r=e.candidateListPages,i=e.targetElement,o=e.pageIndex,a=e.nbPages,s=e.onItemSelected;null===(t=this.candidateBoxElement)||void 0===t||t.remove(),this.candidateBoxElement=document.createElement("div"),this.candidateBoxElement.className="hg-candidate-box";var l=document.createElement("ul");l.className="hg-candidate-box-list",r[o].forEach((function(e){var t,r=document.createElement("li"),i=function(){var e=new(n.options.useTouchEvents?TouchEvent:MouseEvent)("click");return Object.defineProperty(e,"target",{value:r}),e};r.className="hg-candidate-box-list-item",r.innerHTML=(null===(t=n.options.display)||void 0===t?void 0:t[e])||e,n.options.useTouchEvents?r.ontouchstart=function(t){return s(e,t||i())}:r.onclick=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:i();return s(e,t)},l.appendChild(r)}));var c=o>0,u=document.createElement("div");u.classList.add("hg-candidate-box-prev"),c&&u.classList.add("hg-candidate-box-btn-active");var d=function(){c&&n.renderPage({candidateListPages:r,targetElement:i,pageIndex:o-1,nbPages:a,onItemSelected:s})};this.options.useTouchEvents?u.ontouchstart=d:u.onclick=d,this.candidateBoxElement.appendChild(u),this.candidateBoxElement.appendChild(l);var f=o<a-1,h=document.createElement("div");h.classList.add("hg-candidate-box-next"),f&&h.classList.add("hg-candidate-box-btn-active");var p=function(){f&&n.renderPage({candidateListPages:r,targetElement:i,pageIndex:o+1,nbPages:a,onItemSelected:s})};this.options.useTouchEvents?h.ontouchstart=p:h.onclick=p,this.candidateBoxElement.appendChild(h),i.prepend(this.candidateBoxElement)}}],n&&b(t.prototype,n),Object.defineProperty(t,"prototype",{writable:!1}),e}(),T=E;function _(e){return function(e){if(Array.isArray(e))return A(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(e){if("string"==typeof e)return A(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)?A(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 A(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 S(e){return S="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},S(e)}function C(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 I(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,x(r.key),r)}}function w(e,t,n){return(t=x(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function x(e){var t=function(e,t){if("object"!==S(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,"string");if("object"!==S(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"===S(t)?t:String(t)}var D=function(){function e(t,n){var r=this;if(function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),w(this,"input",void 0),w(this,"options",void 0),w(this,"utilities",void 0),w(this,"caretPosition",void 0),w(this,"caretPositionEnd",void 0),w(this,"keyboardDOM",void 0),w(this,"keyboardPluginClasses",void 0),w(this,"keyboardDOMClass",void 0),w(this,"buttonElements",void 0),w(this,"currentInstanceName",void 0),w(this,"allKeyboardInstances",void 0),w(this,"keyboardInstanceNames",void 0),w(this,"isFirstKeyboardInstance",void 0),w(this,"physicalKeyboard",void 0),w(this,"modules",void 0),w(this,"activeButtonClass",void 0),w(this,"holdInteractionTimeout",void 0),w(this,"holdTimeout",void 0),w(this,"isMouseHold",void 0),w(this,"initialized",void 0),w(this,"candidateBox",void 0),w(this,"keyboardRowsDOM",void 0),w(this,"defaultName","default"),w(this,"activeInputElement",null),w(this,"handleParams",(function(e,t){var n,r,i;if("string"==typeof e)n=e.split(".").join(""),r=document.querySelector(".".concat(n)),i=t;else if(e instanceof HTMLDivElement){if(!e.className)throw console.warn("Any DOM element passed as parameter must have a class."),new Error("KEYBOARD_DOM_CLASS_ERROR");n=e.className.split(" ")[0],r=e,i=t}else n="simple-keyboard",r=document.querySelector(".".concat(n)),i=e;return{keyboardDOMClass:n,keyboardDOM:r,options:i}})),w(this,"getOptions",(function(){return r.options})),w(this,"getCaretPosition",(function(){return r.caretPosition})),w(this,"getCaretPositionEnd",(function(){return r.caretPositionEnd})),w(this,"registerModule",(function(e,t){r.modules[e]||(r.modules[e]={}),t(r.modules[e])})),w(this,"getKeyboardClassString",(function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return[r.keyboardDOMClass].concat(t).filter((function(e){return!!e})).join(" ")})),"undefined"!=typeof window){var i=this.handleParams(t,n),o=i.keyboardDOMClass,a=i.keyboardDOM,s=i.options,l=void 0===s?{}:s;this.utilities=new u({getOptions:this.getOptions,getCaretPosition:this.getCaretPosition,getCaretPositionEnd:this.getCaretPositionEnd,dispatch:this.dispatch}),this.caretPosition=null,this.caretPositionEnd=null,this.keyboardDOM=a,this.options=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?C(Object(n),!0).forEach((function(t){w(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):C(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({layoutName:"default",theme:"hg-theme-default",inputName:"default",preventMouseDownDefault:!1,enableLayoutCandidates:!0,excludeFromLayout:{}},l),this.keyboardPluginClasses="",u.bindMethods(e,this);var c=this.options.inputName,d=void 0===c?this.defaultName:c;if(this.input={},this.input[d]="",this.keyboardDOMClass=o,this.buttonElements={},window.SimpleKeyboardInstances||(window.SimpleKeyboardInstances={}),this.currentInstanceName=this.utilities.camelCase(this.keyboardDOMClass),window.SimpleKeyboardInstances[this.currentInstanceName]=this,this.allKeyboardInstances=window.SimpleKeyboardInstances,this.keyboardInstanceNames=Object.keys(window.SimpleKeyboardInstances),this.isFirstKeyboardInstance=this.keyboardInstanceNames[0]===this.currentInstanceName,this.physicalKeyboard=new m({dispatch:this.dispatch,getOptions:this.getOptions}),this.candidateBox=this.options.enableLayoutCandidates?new T({utilities:this.utilities,options:this.options}):null,!this.keyboardDOM)throw console.warn('".'.concat(o,'" was not found in the DOM.')),new Error("KEYBOARD_DOM_ERROR");this.render(),this.modules={},this.loadModules()}}var t,n;return t=e,n=[{key:"setCaretPosition",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:e;this.caretPosition=e,this.caretPositionEnd=t}},{key:"getInputCandidates",value:function(e){var t=this,n=this.options,r=n.layoutCandidates,i=n.layoutCandidatesCaseSensitiveMatch;if(!r||"object"!==S(r))return{};var o=Object.keys(r).filter((function(n){var r=e.substring(0,t.getCaretPositionEnd()||0)||e,o=new RegExp("".concat(t.utilities.escapeRegex(n),"$"),i?"g":"gi");return!!_(r.matchAll(o)).length}));if(o.length>1){var a=o.sort((function(e,t){return t.length-e.length}))[0];return{candidateKey:a,candidateValue:r[a]}}if(o.length){var s=o[0];return{candidateKey:s,candidateValue:r[s]}}return{}}},{key:"showCandidatesBox",value:function(e,t,n){var r=this;this.candidateBox&&this.candidateBox.show({candidateValue:t,targetElement:n,onSelect:function(t,n){var i=r.options,o=i.layoutCandidatesCaseSensitiveMatch,a=i.disableCandidateNormalization,s=i.enableLayoutCandidatesKeyPress,l=t;a||(l=t.normalize("NFD"));var c=r.getInput(r.options.inputName,!0),u=r.getCaretPositionEnd()||0,d=c.substring(0,u||0)||c,f=new RegExp("".concat(r.utilities.escapeRegex(e),"$"),o?"g":"gi"),h=d.replace(f,l),p=c.replace(d,h),m=h.length-d.length,g=(u||c.length)+m;g<0&&(g=0),r.setInput(p,r.options.inputName,!0),r.setCaretPosition(g),s&&"function"==typeof r.options.onKeyPress&&r.options.onKeyPress(t,n),"function"==typeof r.options.onChange&&r.options.onChange(r.getInput(r.options.inputName,!0),n),"function"==typeof r.options.onChangeAll&&r.options.onChangeAll(r.getAllInputs(),n)}})}},{key:"handleButtonClicked",value:function(e,t){var n=this.options,r=n.inputName,i=void 0===r?this.defaultName:r,o=n.debug;if("{//}"!==e){this.input[i]||(this.input[i]="");var a=this.utilities.getUpdatedInput(e,this.input[i],this.caretPosition,this.caretPositionEnd);if(this.utilities.isStandardButton(e)&&this.activeInputElement&&this.input[i]&&this.input[i]===a&&0===this.caretPosition&&this.caretPositionEnd===a.length)return this.setInput("",this.options.inputName,!0),this.setCaretPosition(0),this.activeInputElement.value="",this.activeInputElement.setSelectionRange(0,0),void this.handleButtonClicked(e,t);if("function"==typeof this.options.onKeyPress&&this.options.onKeyPress(e,t),this.input[i]!==a&&(!this.options.inputPattern||this.options.inputPattern&&this.inputPatternIsValid(a))){if(this.options.maxLength&&this.utilities.handleMaxLength(this.input,a))return;var s=this.utilities.getUpdatedInput(e,this.input[i],this.caretPosition,this.caretPositionEnd,!0);if(this.setInput(s,this.options.inputName,!0),o&&console.log("Input changed:",this.getAllInputs()),this.options.debug&&console.log("Caret at: ",this.getCaretPosition(),this.getCaretPositionEnd(),"(".concat(this.keyboardDOMClass,")"),null==t?void 0:t.type),this.options.syncInstanceInputs&&this.syncInstanceInputs(),"function"==typeof this.options.onChange&&this.options.onChange(this.getInput(this.options.inputName,!0),t),"function"==typeof this.options.onChangeAll&&this.options.onChangeAll(this.getAllInputs(),t),null!=t&&t.target&&this.options.enableLayoutCandidates){var l,c=this.getInputCandidates(a),u=c.candidateKey,d=c.candidateValue;u&&d?this.showCandidatesBox(u,d,this.keyboardDOM):null===(l=this.candidateBox)||void 0===l||l.destroy()}}this.caretPositionEnd&&this.caretPosition!==this.caretPositionEnd&&(this.setCaretPosition(this.caretPositionEnd,this.caretPositionEnd),this.activeInputElement&&this.activeInputElement.setSelectionRange(this.caretPositionEnd,this.caretPositionEnd),this.options.debug&&console.log("Caret position aligned",this.caretPosition)),o&&console.log("Key pressed:",e)}}},{key:"getMouseHold",value:function(){return this.isMouseHold}},{key:"setMouseHold",value:function(e){this.options.syncInstanceInputs?this.dispatch((function(t){t.isMouseHold=e})):this.isMouseHold=e}},{key:"handleButtonMouseDown",value:function(e,t){var n=this;t&&(this.options.preventMouseDownDefault&&t.preventDefault(),this.options.stopMouseDownPropagation&&t.stopPropagation(),t.target.classList.add(this.activeButtonClass)),this.holdInteractionTimeout&&clearTimeout(this.holdInteractionTimeout),this.holdTimeout&&clearTimeout(this.holdTimeout),this.setMouseHold(!0),this.options.disableButtonHold||(this.holdTimeout=window.setTimeout((function(){(n.getMouseHold()&&(!e.includes("{")&&!e.includes("}")||"{delete}"===e||"{backspace}"===e||"{bksp}"===e||"{space}"===e||"{tab}"===e)||"{arrowright}"===e||"{arrowleft}"===e||"{arrowup}"===e||"{arrowdown}"===e)&&(n.options.debug&&console.log("Button held:",e),n.handleButtonHold(e)),clearTimeout(n.holdTimeout)}),500))}},{key:"handleButtonMouseUp",value:function(e,t){var n=this;t&&(this.options.preventMouseUpDefault&&t.preventDefault&&t.preventDefault(),this.options.stopMouseUpPropagation&&t.stopPropagation&&t.stopPropagation(),!(t.target===this.keyboardDOM||t.target&&this.keyboardDOM.contains(t.target)||this.candidateBox&&this.candidateBox.candidateBoxElement&&(t.target===this.candidateBox.candidateBoxElement||t.target&&this.candidateBox.candidateBoxElement.contains(t.target)))&&this.candidateBox&&this.candidateBox.destroy()),this.recurseButtons((function(e){e.classList.remove(n.activeButtonClass)})),this.setMouseHold(!1),this.holdInteractionTimeout&&clearTimeout(this.holdInteractionTimeout),e&&"function"==typeof this.options.onKeyReleased&&this.options.onKeyReleased(e,t)}},{key:"handleKeyboardContainerMouseDown",value:function(e){this.options.preventMouseDownDefault&&e.preventDefault()}},{key:"handleButtonHold",value:function(e){var t=this;this.holdInteractionTimeout&&clearTimeout(this.holdInteractionTimeout),this.holdInteractionTimeout=window.setTimeout((function(){t.getMouseHold()?(t.handleButtonClicked(e),t.handleButtonHold(e)):clearTimeout(t.holdInteractionTimeout)}),100)}},{key:"syncInstanceInputs",value:function(){var e=this;this.dispatch((function(t){t.replaceInput(e.input),t.setCaretPosition(e.caretPosition,e.caretPositionEnd)}))}},{key:"clearInput",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.options.inputName||this.defaultName;this.input[e]="",this.setCaretPosition(0),this.options.syncInstanceInputs&&this.syncInstanceInputs()}},{key:"getInput",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.options.inputName||this.defaultName,t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return this.options.syncInstanceInputs&&!t&&this.syncInstanceInputs(),this.options.rtl?"‫"+this.input[e].replace("‫","").replace("‬","")+"‬":this.input[e]}},{key:"getAllInputs",value:function(){var e=this,t={};return Object.keys(this.input).forEach((function(n){t[n]=e.getInput(n,!0)})),t}},{key:"setInput",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.options.inputName||this.defaultName,n=arguments.length>2?arguments[2]:void 0;this.input[t]=e,!n&&this.options.syncInstanceInputs&&this.syncInstanceInputs()}},{key:"replaceInput",value:function(e){this.input=e}},{key:"setOptions",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=this.changedOptions(e);this.options=Object.assign(this.options,e),t.length&&(this.options.debug&&console.log("changedOptions",t),this.onSetOptions(t),this.render())}},{key:"changedOptions",value:function(e){var t=this;return Object.keys(e).filter((function(n){return JSON.stringify(e[n])!==JSON.stringify(t.options[n])}))}},{key:"onSetOptions",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];e.includes("layoutName")&&this.candidateBox&&this.candidateBox.destroy(),(e.includes("layoutCandidatesPageSize")||e.includes("layoutCandidates"))&&this.candidateBox&&(this.candidateBox.destroy(),this.candidateBox=new T({utilities:this.utilities,options:this.options}))}},{key:"resetRows",value:function(){this.keyboardRowsDOM&&this.keyboardRowsDOM.remove(),this.keyboardDOM.className=this.keyboardDOMClass,this.keyboardDOM.setAttribute("data-skInstance",this.currentInstanceName),this.buttonElements={}}},{key:"dispatch",value:function(e){if(!window.SimpleKeyboardInstances)throw console.warn("SimpleKeyboardInstances is not defined. Dispatch cannot be called."),new Error("INSTANCES_VAR_ERROR");return Object.keys(window.SimpleKeyboardInstances).forEach((function(t){e(window.SimpleKeyboardInstances[t],t)}))}},{key:"addButtonTheme",value:function(e,t){var n=this;t&&e&&(e.split(" ").forEach((function(r){t.split(" ").forEach((function(t){n.options.buttonTheme||(n.options.buttonTheme=[]);var i=!1;n.options.buttonTheme.map((function(e){if(null!=e&&e.class.split(" ").includes(t)){i=!0;var n=e.buttons.split(" ");n.includes(r)||(i=!0,n.push(r),e.buttons=n.join(" "))}return e})),i||n.options.buttonTheme.push({class:t,buttons:e})}))})),this.render())}},{key:"removeButtonTheme",value:function(e,t){var n=this;if(!e&&!t)return this.options.buttonTheme=[],void this.render();e&&Array.isArray(this.options.buttonTheme)&&this.options.buttonTheme.length&&(e.split(" ").forEach((function(e){var r;null===(r=n.options)||void 0===r||null===(r=r.buttonTheme)||void 0===r||r.map((function(r,i){if(r&&t&&t.includes(r.class)||!t){var o,a,s=null===(o=r)||void 0===o?void 0:o.buttons.split(" ").filter((function(t){return t!==e}));r&&null!=s&&s.length?r.buttons=s.join(" "):(null===(a=n.options.buttonTheme)||void 0===a||a.splice(i,1),r=null)}return r}))})),this.render())}},{key:"getButtonElement",value:function(e){var t,n=this.buttonElements[e];return n&&(t=n.length>1?n:n[0]),t}},{key:"inputPatternIsValid",value:function(e){var t,n=this.options.inputPattern;if((t=n instanceof RegExp?n:n[this.options.inputName||this.defaultName])&&e){var r=t.test(e);return this.options.debug&&console.log('inputPattern ("'.concat(t,'"): ').concat(r?"passed":"did not pass!")),r}return!0}},{key:"setEventListeners",value:function(){if(this.isFirstKeyboardInstance||!this.allKeyboardInstances){this.options.debug&&console.log("Caret handling started (".concat(this.keyboardDOMClass,")"));var e=this.options.physicalKeyboardHighlightPreventDefault,t=void 0!==e&&e;document.addEventListener("keyup",this.handleKeyUp,t),document.addEventListener("keydown",this.handleKeyDown,t),document.addEventListener("mouseup",this.handleMouseUp),document.addEventListener("touchend",this.handleTouchEnd),document.addEventListener("selectionchange",this.handleSelectionChange),document.addEventListener("select",this.handleSelect)}}},{key:"handleKeyUp",value:function(e){this.caretEventHandler(e),this.options.physicalKeyboardHighlight&&this.physicalKeyboard.handleHighlightKeyUp(e)}},{key:"handleKeyDown",value:function(e){this.options.physicalKeyboardHighlight&&this.physicalKeyboard.handleHighlightKeyDown(e)}},{key:"handleMouseUp",value:function(e){this.caretEventHandler(e)}},{key:"handleTouchEnd",value:function(e){this.caretEventHandler(e)}},{key:"handleSelect",value:function(e){this.caretEventHandler(e)}},{key:"handleSelectionChange",value:function(e){navigator.userAgent.includes("Firefox")||this.caretEventHandler(e)}},{key:"caretEventHandler",value:function(e){var t,n=this;e.target.tagName&&(t=e.target.tagName.toLowerCase()),this.dispatch((function(r){var i=e.target===r.keyboardDOM||e.target&&r.keyboardDOM.contains(e.target);if(n.options.syncInstanceInputs&&Array.isArray(e.path)&&(i=e.path.some((function(e){var t;return null==e||null===(t=e.hasAttribute)||void 0===t?void 0:t.call(e,"data-skInstance")}))),("textarea"===t||"input"===t&&["text","search","url","tel","password"].includes(e.target.type))&&!r.options.disableCaretPositioning){var o=e.target.selectionStart,a=e.target.selectionEnd;r.options.rtl&&(o=r.utilities.getRtlOffset(o,r.getInput()),a=r.utilities.getRtlOffset(a,r.getInput())),r.setCaretPosition(o,a),n.activeInputElement=e.target,r.options.debug&&console.log("Caret at: ",r.getCaretPosition(),r.getCaretPositionEnd(),e&&e.target.tagName.toLowerCase(),"(".concat(r.keyboardDOMClass,")"),null==e?void 0:e.type)}else!r.options.disableCaretPositioning&&i||"selectionchange"===(null==e?void 0:e.type)||(r.setCaretPosition(null),n.activeInputElement=null,r.options.debug&&console.log('Caret position reset due to "'.concat(null==e?void 0:e.type,'" event'),e))}))}},{key:"recurseButtons",value:function(e){var t=this;e&&Object.keys(this.buttonElements).forEach((function(n){return t.buttonElements[n].forEach(e)}))}},{key:"destroy",value:function(){this.options.debug&&console.log("Destroying simple-keyboard instance: ".concat(this.currentInstanceName));var e=this.options.physicalKeyboardHighlightPreventDefault,t=void 0!==e&&e;document.removeEventListener("keyup",this.handleKeyUp,t),document.removeEventListener("keydown",this.handleKeyDown,t),document.removeEventListener("mouseup",this.handleMouseUp),document.removeEventListener("touchend",this.handleTouchEnd),document.removeEventListener("select",this.handleSelect),document.removeEventListener("selectionchange",this.handleSelectionChange),document.onpointerup=null,document.ontouchend=null,document.ontouchcancel=null,document.onmouseup=null,this.recurseButtons((function(e){e&&(e.onpointerdown=null,e.onpointerup=null,e.onpointercancel=null,e.ontouchstart=null,e.ontouchend=null,e.ontouchcancel=null,e.onclick=null,e.onmousedown=null,e.onmouseup=null,e.remove(),e=null)})),this.keyboardDOM.onpointerdown=null,this.keyboardDOM.ontouchstart=null,this.keyboardDOM.onmousedown=null,this.resetRows(),this.candidateBox&&(this.candidateBox.destroy(),this.candidateBox=null),this.activeInputElement=null,this.keyboardDOM.removeAttribute("data-skInstance"),this.keyboardDOM.innerHTML="",window.SimpleKeyboardInstances[this.currentInstanceName]=null,delete window.SimpleKeyboardInstances[this.currentInstanceName],this.initialized=!1}},{key:"getButtonThemeClasses",value:function(e){var t=this.options.buttonTheme,n=[];return Array.isArray(t)&&t.forEach((function(t){if(t&&t.class&&"string"==typeof t.class&&t.buttons&&"string"==typeof t.buttons){var r=t.class.split(" ");t.buttons.split(" ").includes(e)&&(n=[].concat(_(n),_(r)))}else console.warn('Incorrect "buttonTheme". Please check the documentation.',t)})),n}},{key:"setDOMButtonAttributes",value:function(e,t){var n=this.options.buttonAttributes;Array.isArray(n)&&n.forEach((function(n){n.attribute&&"string"==typeof n.attribute&&n.value&&"string"==typeof n.value&&n.buttons&&"string"==typeof n.buttons?n.buttons.split(" ").includes(e)&&t(n.attribute,n.value):console.warn('Incorrect "buttonAttributes". Please check the documentation.',n)}))}},{key:"onTouchDeviceDetected",value:function(){this.processAutoTouchEvents(),this.disableContextualWindow()}},{key:"disableContextualWindow",value:function(){window.oncontextmenu=function(e){if(e.target.classList.contains("hg-button"))return e.preventDefault(),e.stopPropagation(),!1}}},{key:"processAutoTouchEvents",value:function(){this.options.autoUseTouchEvents&&(this.options.useTouchEvents=!0,this.options.debug&&console.log("autoUseTouchEvents: Touch device detected, useTouchEvents enabled."))}},{key:"onInit",value:function(){this.options.debug&&console.log("".concat(this.keyboardDOMClass," Initialized")),this.setEventListeners(),"function"==typeof this.options.onInit&&this.options.onInit(this)}},{key:"beforeFirstRender",value:function(){this.utilities.isTouchDevice()&&this.onTouchDeviceDetected(),"function"==typeof this.options.beforeFirstRender&&this.options.beforeFirstRender(this),this.isFirstKeyboardInstance&&this.utilities.pointerEventsSupported()&&!this.options.useTouchEvents&&!this.options.useMouseEvents&&this.options.debug&&console.log("Using PointerEvents as it is supported by this browser"),this.options.useTouchEvents&&this.options.debug&&console.log("useTouchEvents has been enabled. Only touch events will be used.")}},{key:"beforeRender",value:function(){"function"==typeof this.options.beforeRender&&this.options.beforeRender(this)}},{key:"onRender",value:function(){"function"==typeof this.options.onRender&&this.options.onRender(this)}},{key:"onModulesLoaded",value:function(){"function"==typeof this.options.onModulesLoaded&&this.options.onModulesLoaded(this)}},{key:"loadModules",value:function(){var e=this;Array.isArray(this.options.modules)&&(this.options.modules.forEach((function(t){var n=new t(e);n.init&&n.init(e)})),this.keyboardPluginClasses="modules-loaded",this.render(),this.onModulesLoaded())}},{key:"getModuleProp",value:function(e,t){return!!this.modules[e]&&this.modules[e][t]}},{key:"getModulesList",value:function(){return Object.keys(this.modules)}},{key:"parseRowDOMContainers",value:function(e,t,n,r){var i=this,o=Array.from(e.children),a=0;return o.length&&n.forEach((function(n,s){var l=r[s];if(!(l&&l>n))return!1;var c=n-a,u=l-a,d=document.createElement("div");d.className+="hg-button-container";var f="".concat(i.options.layoutName,"-r").concat(t,"c").concat(s);d.setAttribute("data-skUID",f);var h=o.splice(c,u-c+1);a=u-c,h.forEach((function(e){return d.appendChild(e)})),o.splice(c,0,d),e.innerHTML="",o.forEach((function(t){return e.appendChild(t)})),i.options.debug&&console.log("rowDOMContainer",h,c,u,a+1)})),e}},{key:"render",value:function(){var e=this;this.resetRows(),this.initialized||this.beforeFirstRender(),this.beforeRender();var t="hg-layout-".concat(this.options.layoutName),n=this.options.layout||{default:["` 1 2 3 4 5 6 7 8 9 0 - = {bksp}","{tab} q w e r t y u i o p [ ] \\","{lock} a s d f g h j k l ; ' {enter}","{shift} z x c v b n m , . / {shift}",".com @ {space}"],shift:["~ ! @ # $ % ^ & * ( ) _ + {bksp}","{tab} Q W E R T Y U I O P { } |",'{lock} A S D F G H J K L : " {enter}',"{shift} Z X C V B N M < > ? {shift}",".com @ {space}"]},r=this.options.useTouchEvents||!1,i=r?"hg-touch-events":"",o=this.options.useMouseEvents||!1,a=this.options.disableRowButtonContainers;this.keyboardDOM.className=this.getKeyboardClassString(this.options.theme,t,this.keyboardPluginClasses,i),this.keyboardDOM.setAttribute("data-skInstance",this.currentInstanceName),this.keyboardRowsDOM=document.createElement("div"),this.keyboardRowsDOM.className="hg-rows",n[this.options.layoutName||this.defaultName].forEach((function(t,n){var i=t.split(" ");e.options.excludeFromLayout&&e.options.excludeFromLayout[e.options.layoutName||e.defaultName]&&(i=i.filter((function(t){return e.options.excludeFromLayout&&!e.options.excludeFromLayout[e.options.layoutName||e.defaultName].includes(t)})));var s=document.createElement("div");s.className+="hg-row";var l=[],c=[];i.forEach((function(t,i){var u,d=!a&&"string"==typeof t&&t.length>1&&0===t.indexOf("["),f=!a&&"string"==typeof t&&t.length>1&&t.indexOf("]")===t.length-1;d&&(l.push(i),t=t.replace(/\[/g,"")),f&&(c.push(i),t=t.replace(/\]/g,""));var h=e.utilities.getButtonClass(t),p=e.utilities.getButtonDisplayName(t,e.options.display,e.options.mergeDisplay),m=e.options.useButtonTag?"button":"div",g=document.createElement(m);g.className+="hg-button ".concat(h),(u=g.classList).add.apply(u,_(e.getButtonThemeClasses(t))),e.setDOMButtonAttributes(t,(function(e,t){g.setAttribute(e,t)})),e.activeButtonClass="hg-activeButton",!e.utilities.pointerEventsSupported()||r||o?r?(g.ontouchstart=function(n){e.handleButtonClicked(t,n),e.handleButtonMouseDown(t,n)},g.ontouchend=function(n){e.handleButtonMouseUp(t,n)},g.ontouchcancel=function(n){e.handleButtonMouseUp(t,n)}):(g.onclick=function(n){e.setMouseHold(!1),"function"!=typeof e.options.onKeyReleased&&e.handleButtonClicked(t,n)},g.onmousedown=function(n){"function"!=typeof e.options.onKeyReleased||e.isMouseHold||e.handleButtonClicked(t,n),e.handleButtonMouseDown(t,n)},g.onmouseup=function(n){e.handleButtonMouseUp(t,n)}):(g.onpointerdown=function(n){e.handleButtonClicked(t,n),e.handleButtonMouseDown(t,n)},g.onpointerup=function(n){e.handleButtonMouseUp(t,n)},g.onpointercancel=function(n){e.handleButtonMouseUp(t,n)}),g.setAttribute("data-skBtn",t);var b="".concat(e.options.layoutName,"-r").concat(n,"b").concat(i);g.setAttribute("data-skBtnUID",b);var v=document.createElement("span");v.innerHTML=p,g.appendChild(v),e.buttonElements[t]||(e.buttonElements[t]=[]),e.buttonElements[t].push(g),s.appendChild(g)})),s=e.parseRowDOMContainers(s,n,l,c),e.keyboardRowsDOM.appendChild(s)})),this.keyboardDOM.appendChild(this.keyboardRowsDOM),this.onRender(),this.initialized||(this.initialized=!0,!this.utilities.pointerEventsSupported()||r||o?r?(document.ontouchend=function(t){return e.handleButtonMouseUp(void 0,t)},document.ontouchcancel=function(t){return e.handleButtonMouseUp(void 0,t)},this.keyboardDOM.ontouchstart=function(t){return e.handleKeyboardContainerMouseDown(t)}):r||(document.onmouseup=function(t){return e.handleButtonMouseUp(void 0,t)},this.keyboardDOM.onmousedown=function(t){return e.handleKeyboardContainerMouseDown(t)}):(document.onpointerup=function(t){return e.handleButtonMouseUp(void 0,t)},this.keyboardDOM.onpointerdown=function(t){return e.handleKeyboardContainerMouseDown(t)}),this.onInit())}}],n&&I(t.prototype,n),Object.defineProperty(t,"prototype",{writable:!1}),e}(),k=D,O=D}(),r}()},787:function(e){"use strict";e.exports=r}},t={};function n(r){var i=t[r];if(void 0!==i)return i.exports;var o=t[r]={exports:{}};return e[r].call(o.exports,o,o.exports,n),o.exports}n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,{a:t}),t},n.d=function(e,t){for(var r in t)n.o(t,r)&&!n.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var i={};return function(){"use strict";n.r(i),n.d(i,{KeyboardReact:function(){return u},default:function(){return d}}),n(752);var e=n(787),t=n(86),r=n.n(t);function o(e){return 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},o(e)}function a(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function s(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?a(Object(n),!0).forEach((function(t){l(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):a(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function l(e,t,n){return(t=function(e){var t=function(e,t){if("object"!==o(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,"string");if("object"!==o(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"===o(t)?t:String(t)}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var c=function(e){return s(s({},e),{},{keyboardRef:null})},u=function(t){var n=t.baseClass||"react-simple-keyboard",i=e.useRef(null),o=e.useRef(null),a=e.useRef(null),l=e.useRef(t);return e.useEffect((function(){return function(){a.current&&a.current.destroy(),i.current=!1}}),[]),e.useEffect((function(){var e=function(e){return s(s({},e),{},{theme:"simple-keyboard ".concat(e.theme||"hg-theme-default")})}(t);if(!i.current){i.current=!0,e.debug&&console.log("ReactSimpleKeyboard: Init");var u=o.current,d=".".concat(n);a.current=new(r())(u||d,e),e.keyboardRef&&e.keyboardRef(a.current)}var f=function(e,t){var n=c(t),r=c(e);return Object.keys(n).filter((function(e){return n[e]!==r[e]}))}(l.current,e);if(f.length){var h=a.current;l.current=e,null==h||h.setOptions(e),e.debug&&console.log("ReactSimpleKeyboard - setOptions called due to updated props:",f)}}),[i,n,l,t]),e.createElement("div",{className:n,ref:o})},d=u}(),i}())},1426:(e,t,n)=>{"use strict";var r=n(7378),i=Symbol.for("react.element"),o=Symbol.for("react.fragment"),a=Object.prototype.hasOwnProperty,s=r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,l={key:!0,ref:!0,__self:!0,__source:!0};function c(e,t,n){var r,o={},c=null,u=null;for(r in void 0!==n&&(c=""+n),void 0!==t.key&&(c=""+t.key),void 0!==t.ref&&(u=t.ref),t)a.call(t,r)&&!l.hasOwnProperty(r)&&(o[r]=t[r]);if(e&&e.defaultProps)for(r in t=e.defaultProps)void 0===o[r]&&(o[r]=t[r]);return{$$typeof:i,type:e,key:c,ref:u,props:o,_owner:s.current}}t.Fragment=o,t.jsx=c,t.jsxs=c},1535:(e,t)=>{"use strict";var n=Symbol.for("react.element"),r=Symbol.for("react.portal"),i=Symbol.for("react.fragment"),o=Symbol.for("react.strict_mode"),a=Symbol.for("react.profiler"),s=Symbol.for("react.provider"),l=Symbol.for("react.context"),c=Symbol.for("react.forward_ref"),u=Symbol.for("react.suspense"),d=Symbol.for("react.memo"),f=Symbol.for("react.lazy"),h=Symbol.iterator,p={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},m=Object.assign,g={};function b(e,t,n){this.props=e,this.context=t,this.refs=g,this.updater=n||p}function v(){}function y(e,t,n){this.props=e,this.context=t,this.refs=g,this.updater=n||p}b.prototype.isReactComponent={},b.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")},b.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")},v.prototype=b.prototype;var E=y.prototype=new v;E.constructor=y,m(E,b.prototype),E.isPureReactComponent=!0;var T=Array.isArray,_=Object.prototype.hasOwnProperty,A={current:null},S={key:!0,ref:!0,__self:!0,__source:!0};function C(e,t,r){var i,o={},a=null,s=null;if(null!=t)for(i in void 0!==t.ref&&(s=t.ref),void 0!==t.key&&(a=""+t.key),t)_.call(t,i)&&!S.hasOwnProperty(i)&&(o[i]=t[i]);var l=arguments.length-2;if(1===l)o.children=r;else if(1<l){for(var c=Array(l),u=0;u<l;u++)c[u]=arguments[u+2];o.children=c}if(e&&e.defaultProps)for(i in l=e.defaultProps)void 0===o[i]&&(o[i]=l[i]);return{$$typeof:n,type:e,key:a,ref:s,props:o,_owner:A.current}}function I(e){return"object"==typeof e&&null!==e&&e.$$typeof===n}var w=/\/+/g;function x(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,i,o,a){var s=typeof e;"undefined"!==s&&"boolean"!==s||(e=null);var l=!1;if(null===e)l=!0;else switch(s){case"string":case"number":l=!0;break;case"object":switch(e.$$typeof){case n:case r:l=!0}}if(l)return a=a(l=e),e=""===o?"."+x(l,0):o,T(a)?(i="",null!=e&&(i=e.replace(w,"$&/")+"/"),D(a,t,i,"",(function(e){return e}))):null!=a&&(I(a)&&(a=function(e,t){return{$$typeof:n,type:e.type,key:t,ref:e.ref,props:e.props,_owner:e._owner}}(a,i+(!a.key||l&&l.key===a.key?"":(""+a.key).replace(w,"$&/")+"/")+e)),t.push(a)),1;if(l=0,o=""===o?".":o+":",T(e))for(var c=0;c<e.length;c++){var u=o+x(s=e[c],c);l+=D(s,t,i,u,a)}else if(u=function(e){return null===e||"object"!=typeof e?null:"function"==typeof(e=h&&e[h]||e["@@iterator"])?e:null}(e),"function"==typeof u)for(e=u.call(e),c=0;!(s=e.next()).done;)l+=D(s=s.value,t,i,u=o+x(s,c++),a);else if("object"===s)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 l}function k(e,t,n){if(null==e)return e;var r=[],i=0;return D(e,r,"","",(function(e){return t.call(n,e,i++)})),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 N={current:null},P={transition:null},R={ReactCurrentDispatcher:N,ReactCurrentBatchConfig:P,ReactCurrentOwner:A};t.Children={map:k,forEach:function(e,t,n){k(e,(function(){t.apply(this,arguments)}),n)},count:function(e){var t=0;return k(e,(function(){t++})),t},toArray:function(e){return k(e,(function(e){return e}))||[]},only:function(e){if(!I(e))throw Error("React.Children.only expected to receive a single React element child.");return e}},t.Component=b,t.Fragment=i,t.Profiler=a,t.PureComponent=y,t.StrictMode=o,t.Suspense=u,t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=R,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 i=m({},e.props),o=e.key,a=e.ref,s=e._owner;if(null!=t){if(void 0!==t.ref&&(a=t.ref,s=A.current),void 0!==t.key&&(o=""+t.key),e.type&&e.type.defaultProps)var l=e.type.defaultProps;for(c in t)_.call(t,c)&&!S.hasOwnProperty(c)&&(i[c]=void 0===t[c]&&void 0!==l?l[c]:t[c])}var c=arguments.length-2;if(1===c)i.children=r;else if(1<c){l=Array(c);for(var u=0;u<c;u++)l[u]=arguments[u+2];i.children=l}return{$$typeof:n,type:e.type,key:o,ref:a,props:i,_owner:s}},t.createContext=function(e){return(e={$$typeof:l,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null}).Provider={$$typeof:s,_context:e},e.Consumer=e},t.createElement=C,t.createFactory=function(e){var t=C.bind(null,e);return t.type=e,t},t.createRef=function(){return{current:null}},t.forwardRef=function(e){return{$$typeof:c,render:e}},t.isValidElement=I,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 N.current.useCallback(e,t)},t.useContext=function(e){return N.current.useContext(e)},t.useDebugValue=function(){},t.useDeferredValue=function(e){return N.current.useDeferredValue(e)},t.useEffect=function(e,t){return N.current.useEffect(e,t)},t.useId=function(){return N.current.useId()},t.useImperativeHandle=function(e,t,n){return N.current.useImperativeHandle(e,t,n)},t.useInsertionEffect=function(e,t){return N.current.useInsertionEffect(e,t)},t.useLayoutEffect=function(e,t){return N.current.useLayoutEffect(e,t)},t.useMemo=function(e,t){return N.current.useMemo(e,t)},t.useReducer=function(e,t,n){return N.current.useReducer(e,t,n)},t.useRef=function(e){return N.current.useRef(e)},t.useState=function(e){return N.current.useState(e)},t.useSyncExternalStore=function(e,t,n){return N.current.useSyncExternalStore(e,t,n)},t.useTransition=function(){return N.current.useTransition()},t.version="18.2.0"},7378:(e,t,n)=>{"use strict";e.exports=n(1535)},4246:(e,t,n)=>{"use strict";e.exports=n(1426)},5156:e=>{"use strict";function t(e){return e.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&")}t.proto=function(){return RegExp.escape=t,t},e.exports=t},3323:(e,t)=>{"use strict";function n(e,t){var n=e.length;e.push(t);e:for(;0<n;){var r=n-1>>>1,i=e[r];if(!(0<o(i,t)))break e;e[r]=t,e[n]=i,n=r}}function r(e){return 0===e.length?null:e[0]}function i(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,i=e.length,a=i>>>1;r<a;){var s=2*(r+1)-1,l=e[s],c=s+1,u=e[c];if(0>o(l,n))c<i&&0>o(u,l)?(e[r]=u,e[c]=n,r=c):(e[r]=l,e[s]=n,r=s);else{if(!(c<i&&0>o(u,n)))break e;e[r]=u,e[c]=n,r=c}}}return t}function o(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 s=Date,l=s.now();t.unstable_now=function(){return s.now()-l}}var c=[],u=[],d=1,f=null,h=3,p=!1,m=!1,g=!1,b="function"==typeof setTimeout?setTimeout:null,v="function"==typeof clearTimeout?clearTimeout:null,y="undefined"!=typeof setImmediate?setImmediate:null;function E(e){for(var t=r(u);null!==t;){if(null===t.callback)i(u);else{if(!(t.startTime<=e))break;i(u),t.sortIndex=t.expirationTime,n(c,t)}t=r(u)}}function T(e){if(g=!1,E(e),!m)if(null!==r(c))m=!0,P(_);else{var t=r(u);null!==t&&R(T,t.startTime-e)}}function _(e,n){m=!1,g&&(g=!1,v(I),I=-1),p=!0;var o=h;try{for(E(n),f=r(c);null!==f&&(!(f.expirationTime>n)||e&&!D());){var a=f.callback;if("function"==typeof a){f.callback=null,h=f.priorityLevel;var s=a(f.expirationTime<=n);n=t.unstable_now(),"function"==typeof s?f.callback=s:f===r(c)&&i(c),E(n)}else i(c);f=r(c)}if(null!==f)var l=!0;else{var d=r(u);null!==d&&R(T,d.startTime-n),l=!1}return l}finally{f=null,h=o,p=!1}}"undefined"!=typeof navigator&&void 0!==navigator.scheduling&&void 0!==navigator.scheduling.isInputPending&&navigator.scheduling.isInputPending.bind(navigator.scheduling);var A,S=!1,C=null,I=-1,w=5,x=-1;function D(){return!(t.unstable_now()-x<w)}function k(){if(null!==C){var e=t.unstable_now();x=e;var n=!0;try{n=C(!0,e)}finally{n?A():(S=!1,C=null)}}else S=!1}if("function"==typeof y)A=function(){y(k)};else if("undefined"!=typeof MessageChannel){var O=new MessageChannel,N=O.port2;O.port1.onmessage=k,A=function(){N.postMessage(null)}}else A=function(){b(k,0)};function P(e){C=e,S||(S=!0,A())}function R(e,n){I=b((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(){m||p||(m=!0,P(_))},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"):w=0<e?Math.floor(1e3/e):5},t.unstable_getCurrentPriorityLevel=function(){return h},t.unstable_getFirstCallbackNode=function(){return r(c)},t.unstable_next=function(e){switch(h){case 1:case 2:case 3:var t=3;break;default:t=h}var n=h;h=t;try{return e()}finally{h=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=h;h=e;try{return t()}finally{h=n}},t.unstable_scheduleCallback=function(e,i,o){var a=t.unstable_now();switch(o="object"==typeof o&&null!==o&&"number"==typeof(o=o.delay)&&0<o?a+o:a,e){case 1:var s=-1;break;case 2:s=250;break;case 5:s=1073741823;break;case 4:s=1e4;break;default:s=5e3}return e={id:d++,callback:i,priorityLevel:e,startTime:o,expirationTime:s=o+s,sortIndex:-1},o>a?(e.sortIndex=o,n(u,e),null===r(c)&&e===r(u)&&(g?(v(I),I=-1):g=!0,R(T,o-a))):(e.sortIndex=s,n(c,e),m||p||(m=!0,P(_))),e},t.unstable_shouldYield=D,t.unstable_wrapCallback=function(e){var t=h;return function(){var n=h;h=t;try{return e.apply(this,arguments)}finally{h=n}}}},1102:(e,t,n)=>{"use strict";e.exports=n(3323)},5957:(e,t,n)=>{"use strict";var r=n(4687),i=n(3885),o=n(5531),a=n(2893),s=n(7348),l=n(8696);e.exports=function(e,t){return"string"==typeof e&&(e=l.load(e)),function t(n,c){var u={};return i(n,(function(n,i){var d;r(d=n,String)&&(d={selector:d}),a(d,"data",{}),a(d,"how","text",!0),d.attr&&(d.how=function(e){return e.attr(d.attr)}),a(d,"trimValue",!0),a(d,"closest",""),(n=d).name=i;var f=c===e?void 0:c;if(!f&&!n.selector&&!n.listItem)throw new o("There is no element selected for the '<option.name>' field. Please provide a selector, list item or use nested object structure.",{option:n,code:"NO_ELEMENT_SELECTED"});var h=n.selector?e(n.selector,f):f;if(n.listItem){var p=u[n.name]=[],m=e(n.listItem,f);s(n.data)&&(n.data.___raw={});for(var g=0;g<m.length;++g){var b=t(n.data,m.eq(g)),v=n.convert||function(e){return e};p.push(v(b.___raw||b))}}else{if(r(n.eq,Number)&&(h=h.eq(n.eq)),r(n.texteq,Number)){for(var y,E=h.contents(),T=0,_=!1,A=0;y=E[A];A++)if("text"===y.type){if(T==n.texteq){h=y,_=!0;break}T++}_||(h=l.load("")),n.how=function(e){return e.data}}if(n.closest&&(h=h.closest(n.closest)),!s(n.data))return u[n.name]=t(n.data,h),u;var S=r(n.how,Function)?n.how(h):h[n.how]();S=void 0===S?"":S,n.trimValue&&r(S,String)&&(S=S.trim()),n.convert&&(S=n.convert(S,h)),u[n.name]=S}})),u}(t)}},9484:(e,t,n)=>{"use strict";var r=n(142),i=(n(4687),n(5957));async function o(e,t){var n=await r(e),i=o.scrapeHTML(n.$,t);return Object.assign(n,{data:i,body:n.data})}o.scrapeHTML=i,e.exports=o},1892: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 o={},a=[],s=0;s<e.length;s++){var l=e[s],c=r.base?l[0]+r.base:l[0],u=o[c]||0,d="".concat(c," ").concat(u);o[c]=u+1;var f=n(d),h={css:l[1],media:l[2],sourceMap:l[3],supports:l[4],layer:l[5]};if(-1!==f)t[f].references++,t[f].updater(h);else{var p=i(h,r);r.byIndex=s,t.splice(s,0,{identifier:d,updater:p,references:1})}a.push(d)}return a}function i(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,i){var o=r(e=e||[],i=i||{});return function(e){e=e||[];for(var a=0;a<o.length;a++){var s=n(o[a]);t[s].references--}for(var l=r(e,i),c=0;c<o.length;c++){var u=n(o[c]);0===t[u].references&&(t[u].updater(),t.splice(u,1))}o=l}}},8311: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)}},8060:e=>{"use strict";e.exports=function(e){var t=document.createElement("style");return e.setAttributes(t,e.attributes),e.insert(t,e.options),t}},8192:(e,t,n)=>{"use strict";e.exports=function(e){var t=n.nc;t&&e.setAttribute("nonce",t)}},5760:e=>{"use strict";e.exports=function(e){if("undefined"==typeof document)return{update:function(){},remove:function(){}};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 i=void 0!==n.layer;i&&(r+="@layer".concat(n.layer.length>0?" ".concat(n.layer):""," {")),r+=n.css,i&&(r+="}"),n.media&&(r+="}"),n.supports&&(r+="}");var o=n.sourceMap;o&&"undefined"!=typeof btoa&&(r+="\n/*# sourceMappingURL=data:application/json;base64,".concat(btoa(unescape(encodeURIComponent(JSON.stringify(o))))," */")),t.styleTagTransform(r,e,t.options)}(t,e,n)},remove:function(){!function(e){if(null===e.parentNode)return!1;e.parentNode.removeChild(e)}(t)}}}},4865: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))}}},4687:(e,t,n)=>{"use strict";function r(e,t){return 2===arguments.length?r.is(e,t):r.get(e,!0)}n(38),r.is=function(e,t){return r.get(e,"string"==typeof t)===t},r.get=function(e,t){return"string"==typeof e?t?"string":String:null===e?t?"null":null:void 0===e?t?"undefined":void 0:e!=e?t?"nan":NaN:t?e.constructor.name.toLowerCase():e.constructor},e.exports=r},8889:(e,t,n)=>{"use strict";function r(e,t){return function(){return e.apply(t,arguments)}}const{toString:i}=Object.prototype,{getPrototypeOf:o}=Object,a=(s=Object.create(null),e=>{const t=i.call(e);return s[t]||(s[t]=t.slice(8,-1).toLowerCase())});var s;const l=e=>(e=e.toLowerCase(),t=>a(t)===e),c=e=>t=>typeof t===e,{isArray:u}=Array,d=c("undefined"),f=l("ArrayBuffer"),h=c("string"),p=c("function"),m=c("number"),g=e=>null!==e&&"object"==typeof e,b=e=>{if("object"!==a(e))return!1;const t=o(e);return!(null!==t&&t!==Object.prototype&&null!==Object.getPrototypeOf(t)||Symbol.toStringTag in e||Symbol.iterator in e)},v=l("Date"),y=l("File"),E=l("Blob"),T=l("FileList"),_=l("URLSearchParams");function A(e,t,{allOwnKeys:n=!1}={}){if(null==e)return;let r,i;if("object"!=typeof e&&(e=[e]),u(e))for(r=0,i=e.length;r<i;r++)t.call(null,e[r],r,e);else{const i=n?Object.getOwnPropertyNames(e):Object.keys(e),o=i.length;let a;for(r=0;r<o;r++)a=i[r],t.call(null,e[a],a,e)}}function S(e,t){t=t.toLowerCase();const n=Object.keys(e);let r,i=n.length;for(;i-- >0;)if(r=n[i],t===r.toLowerCase())return r;return null}const C="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:"undefined"!=typeof window?window:n.g,I=e=>!d(e)&&e!==C,w=(x="undefined"!=typeof Uint8Array&&o(Uint8Array),e=>x&&e instanceof x);var x;const D=l("HTMLFormElement"),k=(({hasOwnProperty:e})=>(t,n)=>e.call(t,n))(Object.prototype),O=l("RegExp"),N=(e,t)=>{const n=Object.getOwnPropertyDescriptors(e),r={};A(n,((n,i)=>{let o;!1!==(o=t(n,i,e))&&(r[i]=o||n)})),Object.defineProperties(e,r)},P="abcdefghijklmnopqrstuvwxyz",R="0123456789",L={DIGIT:R,ALPHA:P,ALPHA_DIGIT:P+P.toUpperCase()+R},M=l("AsyncFunction");var B={isArray:u,isArrayBuffer:f,isBuffer:function(e){return null!==e&&!d(e)&&null!==e.constructor&&!d(e.constructor)&&p(e.constructor.isBuffer)&&e.constructor.isBuffer(e)},isFormData:e=>{let t;return e&&("function"==typeof FormData&&e instanceof FormData||p(e.append)&&("formdata"===(t=a(e))||"object"===t&&p(e.toString)&&"[object FormData]"===e.toString()))},isArrayBufferView:function(e){let t;return t="undefined"!=typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(e):e&&e.buffer&&f(e.buffer),t},isString:h,isNumber:m,isBoolean:e=>!0===e||!1===e,isObject:g,isPlainObject:b,isUndefined:d,isDate:v,isFile:y,isBlob:E,isRegExp:O,isFunction:p,isStream:e=>g(e)&&p(e.pipe),isURLSearchParams:_,isTypedArray:w,isFileList:T,forEach:A,merge:function e(){const{caseless:t}=I(this)&&this||{},n={},r=(r,i)=>{const o=t&&S(n,i)||i;b(n[o])&&b(r)?n[o]=e(n[o],r):b(r)?n[o]=e({},r):u(r)?n[o]=r.slice():n[o]=r};for(let e=0,t=arguments.length;e<t;e++)arguments[e]&&A(arguments[e],r);return n},extend:(e,t,n,{allOwnKeys:i}={})=>(A(t,((t,i)=>{n&&p(t)?e[i]=r(t,n):e[i]=t}),{allOwnKeys:i}),e),trim:e=>e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,""),stripBOM:e=>(65279===e.charCodeAt(0)&&(e=e.slice(1)),e),inherits:(e,t,n,r)=>{e.prototype=Object.create(t.prototype,r),e.prototype.constructor=e,Object.defineProperty(e,"super",{value:t.prototype}),n&&Object.assign(e.prototype,n)},toFlatObject:(e,t,n,r)=>{let i,a,s;const l={};if(t=t||{},null==e)return t;do{for(i=Object.getOwnPropertyNames(e),a=i.length;a-- >0;)s=i[a],r&&!r(s,e,t)||l[s]||(t[s]=e[s],l[s]=!0);e=!1!==n&&o(e)}while(e&&(!n||n(e,t))&&e!==Object.prototype);return t},kindOf:a,kindOfTest:l,endsWith:(e,t,n)=>{e=String(e),(void 0===n||n>e.length)&&(n=e.length),n-=t.length;const r=e.indexOf(t,n);return-1!==r&&r===n},toArray:e=>{if(!e)return null;if(u(e))return e;let t=e.length;if(!m(t))return null;const n=new Array(t);for(;t-- >0;)n[t]=e[t];return n},forEachEntry:(e,t)=>{const n=(e&&e[Symbol.iterator]).call(e);let r;for(;(r=n.next())&&!r.done;){const n=r.value;t.call(e,n[0],n[1])}},matchAll:(e,t)=>{let n;const r=[];for(;null!==(n=e.exec(t));)r.push(n);return r},isHTMLForm:D,hasOwnProperty:k,hasOwnProp:k,reduceDescriptors:N,freezeMethods:e=>{N(e,((t,n)=>{if(p(e)&&-1!==["arguments","caller","callee"].indexOf(n))return!1;const r=e[n];p(r)&&(t.enumerable=!1,"writable"in t?t.writable=!1:t.set||(t.set=()=>{throw Error("Can not rewrite read-only method '"+n+"'")}))}))},toObjectSet:(e,t)=>{const n={},r=e=>{e.forEach((e=>{n[e]=!0}))};return u(e)?r(e):r(String(e).split(t)),n},toCamelCase:e=>e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,(function(e,t,n){return t.toUpperCase()+n})),noop:()=>{},toFiniteNumber:(e,t)=>(e=+e,Number.isFinite(e)?e:t),findKey:S,global:C,isContextDefined:I,ALPHABET:L,generateString:(e=16,t=L.ALPHA_DIGIT)=>{let n="";const{length:r}=t;for(;e--;)n+=t[Math.random()*r|0];return n},isSpecCompliantForm:function(e){return!!(e&&p(e.append)&&"FormData"===e[Symbol.toStringTag]&&e[Symbol.iterator])},toJSONObject:e=>{const t=new Array(10),n=(e,r)=>{if(g(e)){if(t.indexOf(e)>=0)return;if(!("toJSON"in e)){t[r]=e;const i=u(e)?[]:{};return A(e,((e,t)=>{const o=n(e,r+1);!d(o)&&(i[t]=o)})),t[r]=void 0,i}}return e};return n(e,0)},isAsyncFn:M,isThenable:e=>e&&(g(e)||p(e))&&p(e.then)&&p(e.catch)};function F(e,t,n,r,i){Error.call(this),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=(new Error).stack,this.message=e,this.name="AxiosError",t&&(this.code=t),n&&(this.config=n),r&&(this.request=r),i&&(this.response=i)}B.inherits(F,Error,{toJSON:function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:B.toJSONObject(this.config),code:this.code,status:this.response&&this.response.status?this.response.status:null}}});const G=F.prototype,j={};function H(e){return B.isPlainObject(e)||B.isArray(e)}function U(e){return B.endsWith(e,"[]")?e.slice(0,-2):e}function z(e,t,n){return e?e.concat(t).map((function(e,t){return e=U(e),!n&&t?"["+e+"]":e})).join(n?".":""):t}["ERR_BAD_OPTION_VALUE","ERR_BAD_OPTION","ECONNABORTED","ETIMEDOUT","ERR_NETWORK","ERR_FR_TOO_MANY_REDIRECTS","ERR_DEPRECATED","ERR_BAD_RESPONSE","ERR_BAD_REQUEST","ERR_CANCELED","ERR_NOT_SUPPORT","ERR_INVALID_URL"].forEach((e=>{j[e]={value:e}})),Object.defineProperties(F,j),Object.defineProperty(G,"isAxiosError",{value:!0}),F.from=(e,t,n,r,i,o)=>{const a=Object.create(G);return B.toFlatObject(e,a,(function(e){return e!==Error.prototype}),(e=>"isAxiosError"!==e)),F.call(a,e.message,t,n,r,i),a.cause=e,a.name=e.name,o&&Object.assign(a,o),a};const V=B.toFlatObject(B,{},null,(function(e){return/^is[A-Z]/.test(e)}));function $(e,t,n){if(!B.isObject(e))throw new TypeError("target must be an object");t=t||new FormData;const r=(n=B.toFlatObject(n,{metaTokens:!0,dots:!1,indexes:!1},!1,(function(e,t){return!B.isUndefined(t[e])}))).metaTokens,i=n.visitor||c,o=n.dots,a=n.indexes,s=(n.Blob||"undefined"!=typeof Blob&&Blob)&&B.isSpecCompliantForm(t);if(!B.isFunction(i))throw new TypeError("visitor must be a function");function l(e){if(null===e)return"";if(B.isDate(e))return e.toISOString();if(!s&&B.isBlob(e))throw new F("Blob is not supported. Use a Buffer instead.");return B.isArrayBuffer(e)||B.isTypedArray(e)?s&&"function"==typeof Blob?new Blob([e]):Buffer.from(e):e}function c(e,n,i){let s=e;if(e&&!i&&"object"==typeof e)if(B.endsWith(n,"{}"))n=r?n:n.slice(0,-2),e=JSON.stringify(e);else if(B.isArray(e)&&function(e){return B.isArray(e)&&!e.some(H)}(e)||(B.isFileList(e)||B.endsWith(n,"[]"))&&(s=B.toArray(e)))return n=U(n),s.forEach((function(e,r){!B.isUndefined(e)&&null!==e&&t.append(!0===a?z([n],r,o):null===a?n:n+"[]",l(e))})),!1;return!!H(e)||(t.append(z(i,n,o),l(e)),!1)}const u=[],d=Object.assign(V,{defaultVisitor:c,convertValue:l,isVisitable:H});if(!B.isObject(e))throw new TypeError("data must be an object");return function e(n,r){if(!B.isUndefined(n)){if(-1!==u.indexOf(n))throw Error("Circular reference detected in "+r.join("."));u.push(n),B.forEach(n,(function(n,o){!0===(!(B.isUndefined(n)||null===n)&&i.call(t,n,B.isString(o)?o.trim():o,r,d))&&e(n,r?r.concat(o):[o])})),u.pop()}}(e),t}function q(e){const t={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(e).replace(/[!'()~]|%20|%00/g,(function(e){return t[e]}))}function W(e,t){this._pairs=[],e&&$(e,this,t)}const Y=W.prototype;function K(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function X(e,t,n){if(!t)return e;const r=n&&n.encode||K,i=n&&n.serialize;let o;if(o=i?i(t,n):B.isURLSearchParams(t)?t.toString():new W(t,n).toString(r),o){const t=e.indexOf("#");-1!==t&&(e=e.slice(0,t)),e+=(-1===e.indexOf("?")?"?":"&")+o}return e}Y.append=function(e,t){this._pairs.push([e,t])},Y.toString=function(e){const t=e?function(t){return e.call(this,t,q)}:q;return this._pairs.map((function(e){return t(e[0])+"="+t(e[1])}),"").join("&")};var Q=class{constructor(){this.handlers=[]}use(e,t,n){return this.handlers.push({fulfilled:e,rejected:t,synchronous:!!n&&n.synchronous,runWhen:n?n.runWhen:null}),this.handlers.length-1}eject(e){this.handlers[e]&&(this.handlers[e]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(e){B.forEach(this.handlers,(function(t){null!==t&&e(t)}))}},Z={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},J={isBrowser:!0,classes:{URLSearchParams:"undefined"!=typeof URLSearchParams?URLSearchParams:W,FormData:"undefined"!=typeof FormData?FormData:null,Blob:"undefined"!=typeof Blob?Blob:null},protocols:["http","https","file","blob","url","data"]};const ee="undefined"!=typeof window&&"undefined"!=typeof document,te=(ne="undefined"!=typeof navigator&&navigator.product,ee&&["ReactNative","NativeScript","NS"].indexOf(ne)<0);var ne;const re="undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope&&"function"==typeof self.importScripts;var ie={...Object.freeze({__proto__:null,hasBrowserEnv:ee,hasStandardBrowserWebWorkerEnv:re,hasStandardBrowserEnv:te}),...J};function oe(e){function t(e,n,r,i){let o=e[i++];const a=Number.isFinite(+o),s=i>=e.length;return o=!o&&B.isArray(r)?r.length:o,s?(B.hasOwnProp(r,o)?r[o]=[r[o],n]:r[o]=n,!a):(r[o]&&B.isObject(r[o])||(r[o]=[]),t(e,n,r[o],i)&&B.isArray(r[o])&&(r[o]=function(e){const t={},n=Object.keys(e);let r;const i=n.length;let o;for(r=0;r<i;r++)o=n[r],t[o]=e[o];return t}(r[o])),!a)}if(B.isFormData(e)&&B.isFunction(e.entries)){const n={};return B.forEachEntry(e,((e,r)=>{t(function(e){return B.matchAll(/\w+|\[(\w*)]/g,e).map((e=>"[]"===e[0]?"":e[1]||e[0]))}(e),r,n,0)})),n}return null}const ae={transitional:Z,adapter:["xhr","http"],transformRequest:[function(e,t){const n=t.getContentType()||"",r=n.indexOf("application/json")>-1,i=B.isObject(e);if(i&&B.isHTMLForm(e)&&(e=new FormData(e)),B.isFormData(e))return r&&r?JSON.stringify(oe(e)):e;if(B.isArrayBuffer(e)||B.isBuffer(e)||B.isStream(e)||B.isFile(e)||B.isBlob(e))return e;if(B.isArrayBufferView(e))return e.buffer;if(B.isURLSearchParams(e))return t.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),e.toString();let o;if(i){if(n.indexOf("application/x-www-form-urlencoded")>-1)return function(e,t){return $(e,new ie.classes.URLSearchParams,Object.assign({visitor:function(e,t,n,r){return ie.isNode&&B.isBuffer(e)?(this.append(t,e.toString("base64")),!1):r.defaultVisitor.apply(this,arguments)}},t))}(e,this.formSerializer).toString();if((o=B.isFileList(e))||n.indexOf("multipart/form-data")>-1){const t=this.env&&this.env.FormData;return $(o?{"files[]":e}:e,t&&new t,this.formSerializer)}}return i||r?(t.setContentType("application/json",!1),function(e,t,n){if(B.isString(e))try{return(0,JSON.parse)(e),B.trim(e)}catch(e){if("SyntaxError"!==e.name)throw e}return(0,JSON.stringify)(e)}(e)):e}],transformResponse:[function(e){const t=this.transitional||ae.transitional,n=t&&t.forcedJSONParsing,r="json"===this.responseType;if(e&&B.isString(e)&&(n&&!this.responseType||r)){const n=!(t&&t.silentJSONParsing)&&r;try{return JSON.parse(e)}catch(e){if(n){if("SyntaxError"===e.name)throw F.from(e,F.ERR_BAD_RESPONSE,this,null,this.response);throw e}}}return e}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:ie.classes.FormData,Blob:ie.classes.Blob},validateStatus:function(e){return e>=200&&e<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};B.forEach(["delete","get","head","post","put","patch"],(e=>{ae.headers[e]={}}));var se=ae;const le=B.toObjectSet(["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"]),ce=Symbol("internals");function ue(e){return e&&String(e).trim().toLowerCase()}function de(e){return!1===e||null==e?e:B.isArray(e)?e.map(de):String(e)}function fe(e,t,n,r,i){return B.isFunction(r)?r.call(this,t,n):(i&&(t=n),B.isString(t)?B.isString(r)?-1!==t.indexOf(r):B.isRegExp(r)?r.test(t):void 0:void 0)}class he{constructor(e){e&&this.set(e)}set(e,t,n){const r=this;function i(e,t,n){const i=ue(t);if(!i)throw new Error("header name must be a non-empty string");const o=B.findKey(r,i);(!o||void 0===r[o]||!0===n||void 0===n&&!1!==r[o])&&(r[o||t]=de(e))}const o=(e,t)=>B.forEach(e,((e,n)=>i(e,n,t)));return B.isPlainObject(e)||e instanceof this.constructor?o(e,t):B.isString(e)&&(e=e.trim())&&!/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim())?o((e=>{const t={};let n,r,i;return e&&e.split("\n").forEach((function(e){i=e.indexOf(":"),n=e.substring(0,i).trim().toLowerCase(),r=e.substring(i+1).trim(),!n||t[n]&&le[n]||("set-cookie"===n?t[n]?t[n].push(r):t[n]=[r]:t[n]=t[n]?t[n]+", "+r:r)})),t})(e),t):null!=e&&i(t,e,n),this}get(e,t){if(e=ue(e)){const n=B.findKey(this,e);if(n){const e=this[n];if(!t)return e;if(!0===t)return function(e){const t=Object.create(null),n=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let r;for(;r=n.exec(e);)t[r[1]]=r[2];return t}(e);if(B.isFunction(t))return t.call(this,e,n);if(B.isRegExp(t))return t.exec(e);throw new TypeError("parser must be boolean|regexp|function")}}}has(e,t){if(e=ue(e)){const n=B.findKey(this,e);return!(!n||void 0===this[n]||t&&!fe(0,this[n],n,t))}return!1}delete(e,t){const n=this;let r=!1;function i(e){if(e=ue(e)){const i=B.findKey(n,e);!i||t&&!fe(0,n[i],i,t)||(delete n[i],r=!0)}}return B.isArray(e)?e.forEach(i):i(e),r}clear(e){const t=Object.keys(this);let n=t.length,r=!1;for(;n--;){const i=t[n];e&&!fe(0,this[i],i,e,!0)||(delete this[i],r=!0)}return r}normalize(e){const t=this,n={};return B.forEach(this,((r,i)=>{const o=B.findKey(n,i);if(o)return t[o]=de(r),void delete t[i];const a=e?function(e){return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,((e,t,n)=>t.toUpperCase()+n))}(i):String(i).trim();a!==i&&delete t[i],t[a]=de(r),n[a]=!0})),this}concat(...e){return this.constructor.concat(this,...e)}toJSON(e){const t=Object.create(null);return B.forEach(this,((n,r)=>{null!=n&&!1!==n&&(t[r]=e&&B.isArray(n)?n.join(", "):n)})),t}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map((([e,t])=>e+": "+t)).join("\n")}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(e){return e instanceof this?e:new this(e)}static concat(e,...t){const n=new this(e);return t.forEach((e=>n.set(e))),n}static accessor(e){const t=(this[ce]=this[ce]={accessors:{}}).accessors,n=this.prototype;function r(e){const r=ue(e);t[r]||(function(e,t){const n=B.toCamelCase(" "+t);["get","set","has"].forEach((r=>{Object.defineProperty(e,r+n,{value:function(e,n,i){return this[r].call(this,t,e,n,i)},configurable:!0})}))}(n,e),t[r]=!0)}return B.isArray(e)?e.forEach(r):r(e),this}}he.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]),B.reduceDescriptors(he.prototype,(({value:e},t)=>{let n=t[0].toUpperCase()+t.slice(1);return{get:()=>e,set(e){this[n]=e}}})),B.freezeMethods(he);var pe=he;function me(e,t){const n=this||se,r=t||n,i=pe.from(r.headers);let o=r.data;return B.forEach(e,(function(e){o=e.call(n,o,i.normalize(),t?t.status:void 0)})),i.normalize(),o}function ge(e){return!(!e||!e.__CANCEL__)}function be(e,t,n){F.call(this,null==e?"canceled":e,F.ERR_CANCELED,t,n),this.name="CanceledError"}B.inherits(be,F,{__CANCEL__:!0});var ve=ie.hasStandardBrowserEnv?{write(e,t,n,r,i,o){const a=[e+"="+encodeURIComponent(t)];B.isNumber(n)&&a.push("expires="+new Date(n).toGMTString()),B.isString(r)&&a.push("path="+r),B.isString(i)&&a.push("domain="+i),!0===o&&a.push("secure"),document.cookie=a.join("; ")},read(e){const t=document.cookie.match(new RegExp("(^|;\\s*)("+e+")=([^;]*)"));return t?decodeURIComponent(t[3]):null},remove(e){this.write(e,"",Date.now()-864e5)}}:{write(){},read:()=>null,remove(){}};function ye(e,t){return e&&!/^([a-z][a-z\d+\-.]*:)?\/\//i.test(t)?function(e,t){return t?e.replace(/\/+$/,"")+"/"+t.replace(/^\/+/,""):e}(e,t):t}var Ee=ie.hasStandardBrowserEnv?function(){const e=/(msie|trident)/i.test(navigator.userAgent),t=document.createElement("a");let n;function r(n){let r=n;return e&&(t.setAttribute("href",r),r=t.href),t.setAttribute("href",r),{href:t.href,protocol:t.protocol?t.protocol.replace(/:$/,""):"",host:t.host,search:t.search?t.search.replace(/^\?/,""):"",hash:t.hash?t.hash.replace(/^#/,""):"",hostname:t.hostname,port:t.port,pathname:"/"===t.pathname.charAt(0)?t.pathname:"/"+t.pathname}}return n=r(window.location.href),function(e){const t=B.isString(e)?r(e):e;return t.protocol===n.protocol&&t.host===n.host}}():function(){return!0};function Te(e,t){let n=0;const r=function(e,t){e=e||10;const n=new Array(e),r=new Array(e);let i,o=0,a=0;return t=void 0!==t?t:1e3,function(s){const l=Date.now(),c=r[a];i||(i=l),n[o]=s,r[o]=l;let u=a,d=0;for(;u!==o;)d+=n[u++],u%=e;if(o=(o+1)%e,o===a&&(a=(a+1)%e),l-i<t)return;const f=c&&l-c;return f?Math.round(1e3*d/f):void 0}}(50,250);return i=>{const o=i.loaded,a=i.lengthComputable?i.total:void 0,s=o-n,l=r(s);n=o;const c={loaded:o,total:a,progress:a?o/a:void 0,bytes:s,rate:l||void 0,estimated:l&&a&&o<=a?(a-o)/l:void 0,event:i};c[t?"download":"upload"]=!0,e(c)}}const _e={http:null,xhr:"undefined"!=typeof XMLHttpRequest&&function(e){return new Promise((function(t,n){let r=e.data;const i=pe.from(e.headers).normalize();let o,a,{responseType:s,withXSRFToken:l}=e;function c(){e.cancelToken&&e.cancelToken.unsubscribe(o),e.signal&&e.signal.removeEventListener("abort",o)}if(B.isFormData(r))if(ie.hasStandardBrowserEnv||ie.hasStandardBrowserWebWorkerEnv)i.setContentType(!1);else if(!1!==(a=i.getContentType())){const[e,...t]=a?a.split(";").map((e=>e.trim())).filter(Boolean):[];i.setContentType([e||"multipart/form-data",...t].join("; "))}let u=new XMLHttpRequest;if(e.auth){const t=e.auth.username||"",n=e.auth.password?unescape(encodeURIComponent(e.auth.password)):"";i.set("Authorization","Basic "+btoa(t+":"+n))}const d=ye(e.baseURL,e.url);function f(){if(!u)return;const r=pe.from("getAllResponseHeaders"in u&&u.getAllResponseHeaders());!function(e,t,n){const r=n.config.validateStatus;n.status&&r&&!r(n.status)?t(new F("Request failed with status code "+n.status,[F.ERR_BAD_REQUEST,F.ERR_BAD_RESPONSE][Math.floor(n.status/100)-4],n.config,n.request,n)):e(n)}((function(e){t(e),c()}),(function(e){n(e),c()}),{data:s&&"text"!==s&&"json"!==s?u.response:u.responseText,status:u.status,statusText:u.statusText,headers:r,config:e,request:u}),u=null}if(u.open(e.method.toUpperCase(),X(d,e.params,e.paramsSerializer),!0),u.timeout=e.timeout,"onloadend"in u?u.onloadend=f:u.onreadystatechange=function(){u&&4===u.readyState&&(0!==u.status||u.responseURL&&0===u.responseURL.indexOf("file:"))&&setTimeout(f)},u.onabort=function(){u&&(n(new F("Request aborted",F.ECONNABORTED,e,u)),u=null)},u.onerror=function(){n(new F("Network Error",F.ERR_NETWORK,e,u)),u=null},u.ontimeout=function(){let t=e.timeout?"timeout of "+e.timeout+"ms exceeded":"timeout exceeded";const r=e.transitional||Z;e.timeoutErrorMessage&&(t=e.timeoutErrorMessage),n(new F(t,r.clarifyTimeoutError?F.ETIMEDOUT:F.ECONNABORTED,e,u)),u=null},ie.hasStandardBrowserEnv&&(l&&B.isFunction(l)&&(l=l(e)),l||!1!==l&&Ee(d))){const t=e.xsrfHeaderName&&e.xsrfCookieName&&ve.read(e.xsrfCookieName);t&&i.set(e.xsrfHeaderName,t)}void 0===r&&i.setContentType(null),"setRequestHeader"in u&&B.forEach(i.toJSON(),(function(e,t){u.setRequestHeader(t,e)})),B.isUndefined(e.withCredentials)||(u.withCredentials=!!e.withCredentials),s&&"json"!==s&&(u.responseType=e.responseType),"function"==typeof e.onDownloadProgress&&u.addEventListener("progress",Te(e.onDownloadProgress,!0)),"function"==typeof e.onUploadProgress&&u.upload&&u.upload.addEventListener("progress",Te(e.onUploadProgress)),(e.cancelToken||e.signal)&&(o=t=>{u&&(n(!t||t.type?new be(null,e,u):t),u.abort(),u=null)},e.cancelToken&&e.cancelToken.subscribe(o),e.signal&&(e.signal.aborted?o():e.signal.addEventListener("abort",o)));const h=function(e){const t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return t&&t[1]||""}(d);h&&-1===ie.protocols.indexOf(h)?n(new F("Unsupported protocol "+h+":",F.ERR_BAD_REQUEST,e)):u.send(r||null)}))}};B.forEach(_e,((e,t)=>{if(e){try{Object.defineProperty(e,"name",{value:t})}catch(e){}Object.defineProperty(e,"adapterName",{value:t})}}));const Ae=e=>`- ${e}`,Se=e=>B.isFunction(e)||null===e||!1===e;var Ce=e=>{e=B.isArray(e)?e:[e];const{length:t}=e;let n,r;const i={};for(let o=0;o<t;o++){let t;if(n=e[o],r=n,!Se(n)&&(r=_e[(t=String(n)).toLowerCase()],void 0===r))throw new F(`Unknown adapter '${t}'`);if(r)break;i[t||"#"+o]=r}if(!r){const e=Object.entries(i).map((([e,t])=>`adapter ${e} `+(!1===t?"is not supported by the environment":"is not available in the build")));throw new F("There is no suitable adapter to dispatch the request "+(t?e.length>1?"since :\n"+e.map(Ae).join("\n"):" "+Ae(e[0]):"as no adapter specified"),"ERR_NOT_SUPPORT")}return r};function Ie(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new be(null,e)}function we(e){return Ie(e),e.headers=pe.from(e.headers),e.data=me.call(e,e.transformRequest),-1!==["post","put","patch"].indexOf(e.method)&&e.headers.setContentType("application/x-www-form-urlencoded",!1),Ce(e.adapter||se.adapter)(e).then((function(t){return Ie(e),t.data=me.call(e,e.transformResponse,t),t.headers=pe.from(t.headers),t}),(function(t){return ge(t)||(Ie(e),t&&t.response&&(t.response.data=me.call(e,e.transformResponse,t.response),t.response.headers=pe.from(t.response.headers))),Promise.reject(t)}))}const xe=e=>e instanceof pe?e.toJSON():e;function De(e,t){t=t||{};const n={};function r(e,t,n){return B.isPlainObject(e)&&B.isPlainObject(t)?B.merge.call({caseless:n},e,t):B.isPlainObject(t)?B.merge({},t):B.isArray(t)?t.slice():t}function i(e,t,n){return B.isUndefined(t)?B.isUndefined(e)?void 0:r(void 0,e,n):r(e,t,n)}function o(e,t){if(!B.isUndefined(t))return r(void 0,t)}function a(e,t){return B.isUndefined(t)?B.isUndefined(e)?void 0:r(void 0,e):r(void 0,t)}function s(n,i,o){return o in t?r(n,i):o in e?r(void 0,n):void 0}const l={url:o,method:o,data:o,baseURL:a,transformRequest:a,transformResponse:a,paramsSerializer:a,timeout:a,timeoutMessage:a,withCredentials:a,withXSRFToken:a,adapter:a,responseType:a,xsrfCookieName:a,xsrfHeaderName:a,onUploadProgress:a,onDownloadProgress:a,decompress:a,maxContentLength:a,maxBodyLength:a,beforeRedirect:a,transport:a,httpAgent:a,httpsAgent:a,cancelToken:a,socketPath:a,responseEncoding:a,validateStatus:s,headers:(e,t)=>i(xe(e),xe(t),!0)};return B.forEach(Object.keys(Object.assign({},e,t)),(function(r){const o=l[r]||i,a=o(e[r],t[r],r);B.isUndefined(a)&&o!==s||(n[r]=a)})),n}const ke={};["object","boolean","number","function","string","symbol"].forEach(((e,t)=>{ke[e]=function(n){return typeof n===e||"a"+(t<1?"n ":" ")+e}}));const Oe={};ke.transitional=function(e,t,n){function r(e,t){return"[Axios v1.6.2] Transitional option '"+e+"'"+t+(n?". "+n:"")}return(n,i,o)=>{if(!1===e)throw new F(r(i," has been removed"+(t?" in "+t:"")),F.ERR_DEPRECATED);return t&&!Oe[i]&&(Oe[i]=!0,console.warn(r(i," has been deprecated since v"+t+" and will be removed in the near future"))),!e||e(n,i,o)}};var Ne={assertOptions:function(e,t,n){if("object"!=typeof e)throw new F("options must be an object",F.ERR_BAD_OPTION_VALUE);const r=Object.keys(e);let i=r.length;for(;i-- >0;){const o=r[i],a=t[o];if(a){const t=e[o],n=void 0===t||a(t,o,e);if(!0!==n)throw new F("option "+o+" must be "+n,F.ERR_BAD_OPTION_VALUE)}else if(!0!==n)throw new F("Unknown option "+o,F.ERR_BAD_OPTION)}},validators:ke};const Pe=Ne.validators;class Re{constructor(e){this.defaults=e,this.interceptors={request:new Q,response:new Q}}request(e,t){"string"==typeof e?(t=t||{}).url=e:t=e||{},t=De(this.defaults,t);const{transitional:n,paramsSerializer:r,headers:i}=t;void 0!==n&&Ne.assertOptions(n,{silentJSONParsing:Pe.transitional(Pe.boolean),forcedJSONParsing:Pe.transitional(Pe.boolean),clarifyTimeoutError:Pe.transitional(Pe.boolean)},!1),null!=r&&(B.isFunction(r)?t.paramsSerializer={serialize:r}:Ne.assertOptions(r,{encode:Pe.function,serialize:Pe.function},!0)),t.method=(t.method||this.defaults.method||"get").toLowerCase();let o=i&&B.merge(i.common,i[t.method]);i&&B.forEach(["delete","get","head","post","put","patch","common"],(e=>{delete i[e]})),t.headers=pe.concat(o,i);const a=[];let s=!0;this.interceptors.request.forEach((function(e){"function"==typeof e.runWhen&&!1===e.runWhen(t)||(s=s&&e.synchronous,a.unshift(e.fulfilled,e.rejected))}));const l=[];let c;this.interceptors.response.forEach((function(e){l.push(e.fulfilled,e.rejected)}));let u,d=0;if(!s){const e=[we.bind(this),void 0];for(e.unshift.apply(e,a),e.push.apply(e,l),u=e.length,c=Promise.resolve(t);d<u;)c=c.then(e[d++],e[d++]);return c}u=a.length;let f=t;for(d=0;d<u;){const e=a[d++],t=a[d++];try{f=e(f)}catch(e){t.call(this,e);break}}try{c=we.call(this,f)}catch(e){return Promise.reject(e)}for(d=0,u=l.length;d<u;)c=c.then(l[d++],l[d++]);return c}getUri(e){return X(ye((e=De(this.defaults,e)).baseURL,e.url),e.params,e.paramsSerializer)}}B.forEach(["delete","get","head","options"],(function(e){Re.prototype[e]=function(t,n){return this.request(De(n||{},{method:e,url:t,data:(n||{}).data}))}})),B.forEach(["post","put","patch"],(function(e){function t(t){return function(n,r,i){return this.request(De(i||{},{method:e,headers:t?{"Content-Type":"multipart/form-data"}:{},url:n,data:r}))}}Re.prototype[e]=t(),Re.prototype[e+"Form"]=t(!0)}));var Le=Re;class Me{constructor(e){if("function"!=typeof e)throw new TypeError("executor must be a function.");let t;this.promise=new Promise((function(e){t=e}));const n=this;this.promise.then((e=>{if(!n._listeners)return;let t=n._listeners.length;for(;t-- >0;)n._listeners[t](e);n._listeners=null})),this.promise.then=e=>{let t;const r=new Promise((e=>{n.subscribe(e),t=e})).then(e);return r.cancel=function(){n.unsubscribe(t)},r},e((function(e,r,i){n.reason||(n.reason=new be(e,r,i),t(n.reason))}))}throwIfRequested(){if(this.reason)throw this.reason}subscribe(e){this.reason?e(this.reason):this._listeners?this._listeners.push(e):this._listeners=[e]}unsubscribe(e){if(!this._listeners)return;const t=this._listeners.indexOf(e);-1!==t&&this._listeners.splice(t,1)}static source(){let e;return{token:new Me((function(t){e=t})),cancel:e}}}var Be=Me;const Fe={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511};Object.entries(Fe).forEach((([e,t])=>{Fe[t]=e}));var Ge=Fe;const je=function e(t){const n=new Le(t),i=r(Le.prototype.request,n);return B.extend(i,Le.prototype,n,{allOwnKeys:!0}),B.extend(i,n,null,{allOwnKeys:!0}),i.create=function(n){return e(De(t,n))},i}(se);je.Axios=Le,je.CanceledError=be,je.CancelToken=Be,je.isCancel=ge,je.VERSION="1.6.2",je.toFormData=$,je.AxiosError=F,je.Cancel=je.CanceledError,je.all=function(e){return Promise.all(e)},je.spread=function(e){return function(t){return e.apply(null,t)}},je.isAxiosError=function(e){return B.isObject(e)&&!0===e.isAxiosError},je.mergeConfig=De,je.AxiosHeaders=pe,je.formToJSON=e=>oe(B.isHTMLForm(e)?new FormData(e):e),je.getAdapter=Ce,je.HttpStatusCode=Ge,je.default=je,e.exports=je},4710:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.adapter=t.serializeDoctypeContent=void 0;const r=n(997),i=n(6722);function o(e){return new i.Text(e)}function a(e){const t=e.includes('"')?"'":'"';return t+e+t}function s(e,t,n){let r="!DOCTYPE ";return e&&(r+=e),t?r+=` PUBLIC ${a(t)}`:n&&(r+=" SYSTEM"),n&&(r+=` ${a(n)}`),r}t.serializeDoctypeContent=s,t.adapter={isCommentNode:i.isComment,isElementNode:i.isTag,isTextNode:i.isText,createDocument(){const e=new i.Document([]);return e["x-mode"]=r.html.DOCUMENT_MODE.NO_QUIRKS,e},createDocumentFragment:()=>new i.Document([]),createElement(e,t,n){const r=Object.create(null),o=Object.create(null),a=Object.create(null);for(let e=0;e<n.length;e++){const t=n[e].name;r[t]=n[e].value,o[t]=n[e].namespace,a[t]=n[e].prefix}const s=new i.Element(e,r,[]);return s.namespace=t,s["x-attribsNamespace"]=o,s["x-attribsPrefix"]=a,s},createCommentNode:e=>new i.Comment(e),appendChild(e,t){const n=e.children[e.children.length-1];n&&(n.next=t,t.prev=n),e.children.push(t),t.parent=e},insertBefore(e,t,n){const r=e.children.indexOf(n),{prev:i}=n;i&&(i.next=t,t.prev=i),n.prev=t,t.next=n,e.children.splice(r,0,t),t.parent=e},setTemplateContent(e,n){t.adapter.appendChild(e,n)},getTemplateContent:e=>e.children[0],setDocumentType(e,n,r,o){const a=s(n,r,o);let l=e.children.find((e=>(0,i.isDirective)(e)&&"!doctype"===e.name));l?l.data=null!=a?a:null:(l=new i.ProcessingInstruction("!doctype",a),t.adapter.appendChild(e,l)),l["x-name"]=null!=n?n:void 0,l["x-publicId"]=null!=r?r:void 0,l["x-systemId"]=null!=o?o:void 0},setDocumentMode(e,t){e["x-mode"]=t},getDocumentMode:e=>e["x-mode"],detachNode(e){if(e.parent){const t=e.parent.children.indexOf(e),{prev:n,next:r}=e;e.prev=null,e.next=null,n&&(n.next=r),r&&(r.prev=n),e.parent.children.splice(t,1),e.parent=null}},insertText(e,n){const r=e.children[e.children.length-1];r&&(0,i.isText)(r)?r.data+=n:t.adapter.appendChild(e,o(n))},insertTextBefore(e,n,r){const a=e.children[e.children.indexOf(r)-1];a&&(0,i.isText)(a)?a.data+=n:t.adapter.insertBefore(e,o(n),r)},adoptAttributes(e,t){for(let n=0;n<t.length;n++){const r=t[n].name;void 0===e.attribs[r]&&(e.attribs[r]=t[n].value,e["x-attribsNamespace"][r]=t[n].namespace,e["x-attribsPrefix"][r]=t[n].prefix)}},getFirstChild:e=>e.children[0],getChildNodes:e=>e.children,getParentNode:e=>e.parent,getAttrList:e=>e.attributes,getTagName:e=>e.name,getNamespaceURI:e=>e.namespace,getTextNodeContent:e=>e.data,getCommentNodeContent:e=>e.data,getDocumentTypeNodeName(e){var t;return null!==(t=e["x-name"])&&void 0!==t?t:""},getDocumentTypeNodePublicId(e){var t;return null!==(t=e["x-publicId"])&&void 0!==t?t:""},getDocumentTypeNodeSystemId(e){var t;return null!==(t=e["x-systemId"])&&void 0!==t?t:""},isDocumentTypeNode:e=>(0,i.isDirective)(e)&&"!doctype"===e.name,setNodeSourceCodeLocation(e,t){t&&(e.startIndex=t.startOffset,e.endIndex=t.endOffset),e.sourceCodeLocation=t},getNodeSourceCodeLocation:e=>e.sourceCodeLocation,updateNodeSourceCodeLocation(e,t){null!=t.endOffset&&(e.endIndex=t.endOffset),e.sourceCodeLocation=Object.assign(Object.assign({},e.sourceCodeLocation),t)}}},8237:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getDocumentMode=t.isConforming=void 0;const r=n(477),i="html",o=["+//silmaril//dtd html pro v0r11 19970101//","-//as//dtd html 3.0 aswedit + extensions//","-//advasoft ltd//dtd html 3.0 aswedit + extensions//","-//ietf//dtd html 2.0 level 1//","-//ietf//dtd html 2.0 level 2//","-//ietf//dtd html 2.0 strict level 1//","-//ietf//dtd html 2.0 strict level 2//","-//ietf//dtd html 2.0 strict//","-//ietf//dtd html 2.0//","-//ietf//dtd html 2.1e//","-//ietf//dtd html 3.0//","-//ietf//dtd html 3.2 final//","-//ietf//dtd html 3.2//","-//ietf//dtd html 3//","-//ietf//dtd html level 0//","-//ietf//dtd html level 1//","-//ietf//dtd html level 2//","-//ietf//dtd html level 3//","-//ietf//dtd html strict level 0//","-//ietf//dtd html strict level 1//","-//ietf//dtd html strict level 2//","-//ietf//dtd html strict level 3//","-//ietf//dtd html strict//","-//ietf//dtd html//","-//metrius//dtd metrius presentational//","-//microsoft//dtd internet explorer 2.0 html strict//","-//microsoft//dtd internet explorer 2.0 html//","-//microsoft//dtd internet explorer 2.0 tables//","-//microsoft//dtd internet explorer 3.0 html strict//","-//microsoft//dtd internet explorer 3.0 html//","-//microsoft//dtd internet explorer 3.0 tables//","-//netscape comm. corp.//dtd html//","-//netscape comm. corp.//dtd strict html//","-//o'reilly and associates//dtd html 2.0//","-//o'reilly and associates//dtd html extended 1.0//","-//o'reilly and associates//dtd html extended relaxed 1.0//","-//sq//dtd html 2.0 hotmetal + extensions//","-//softquad software//dtd hotmetal pro 6.0::19990601::extensions to html 4.0//","-//softquad//dtd hotmetal pro 4.0::19971010::extensions to html 4.0//","-//spyglass//dtd html 2.0 extended//","-//sun microsystems corp.//dtd hotjava html//","-//sun microsystems corp.//dtd hotjava strict html//","-//w3c//dtd html 3 1995-03-24//","-//w3c//dtd html 3.2 draft//","-//w3c//dtd html 3.2 final//","-//w3c//dtd html 3.2//","-//w3c//dtd html 3.2s draft//","-//w3c//dtd html 4.0 frameset//","-//w3c//dtd html 4.0 transitional//","-//w3c//dtd html experimental 19960712//","-//w3c//dtd html experimental 970421//","-//w3c//dtd w3 html//","-//w3o//dtd w3 html 3.0//","-//webtechs//dtd mozilla html 2.0//","-//webtechs//dtd mozilla html//"],a=[...o,"-//w3c//dtd html 4.01 frameset//","-//w3c//dtd html 4.01 transitional//"],s=new Set(["-//w3o//dtd w3 html strict 3.0//en//","-/w3c/dtd html 4.0 transitional/en","html"]),l=["-//w3c//dtd xhtml 1.0 frameset//","-//w3c//dtd xhtml 1.0 transitional//"],c=[...l,"-//w3c//dtd html 4.01 frameset//","-//w3c//dtd html 4.01 transitional//"];function u(e,t){return t.some((t=>e.startsWith(t)))}t.isConforming=function(e){return e.name===i&&null===e.publicId&&(null===e.systemId||"about:legacy-compat"===e.systemId)},t.getDocumentMode=function(e){if(e.name!==i)return r.DOCUMENT_MODE.QUIRKS;const{systemId:t}=e;if(t&&"http://www.ibm.com/data/dtd/v11/ibmxhtml1-transitional.dtd"===t.toLowerCase())return r.DOCUMENT_MODE.QUIRKS;let{publicId:n}=e;if(null!==n){if(n=n.toLowerCase(),s.has(n))return r.DOCUMENT_MODE.QUIRKS;let e=null===t?a:o;if(u(n,e))return r.DOCUMENT_MODE.QUIRKS;if(e=null===t?l:c,u(n,e))return r.DOCUMENT_MODE.LIMITED_QUIRKS}return r.DOCUMENT_MODE.NO_QUIRKS}},6861:(e,t)=>{"use strict";var n;Object.defineProperty(t,"__esModule",{value:!0}),t.ERR=void 0,(n=t.ERR||(t.ERR={})).controlCharacterInInputStream="control-character-in-input-stream",n.noncharacterInInputStream="noncharacter-in-input-stream",n.surrogateInInputStream="surrogate-in-input-stream",n.nonVoidHtmlElementStartTagWithTrailingSolidus="non-void-html-element-start-tag-with-trailing-solidus",n.endTagWithAttributes="end-tag-with-attributes",n.endTagWithTrailingSolidus="end-tag-with-trailing-solidus",n.unexpectedSolidusInTag="unexpected-solidus-in-tag",n.unexpectedNullCharacter="unexpected-null-character",n.unexpectedQuestionMarkInsteadOfTagName="unexpected-question-mark-instead-of-tag-name",n.invalidFirstCharacterOfTagName="invalid-first-character-of-tag-name",n.unexpectedEqualsSignBeforeAttributeName="unexpected-equals-sign-before-attribute-name",n.missingEndTagName="missing-end-tag-name",n.unexpectedCharacterInAttributeName="unexpected-character-in-attribute-name",n.unknownNamedCharacterReference="unknown-named-character-reference",n.missingSemicolonAfterCharacterReference="missing-semicolon-after-character-reference",n.unexpectedCharacterAfterDoctypeSystemIdentifier="unexpected-character-after-doctype-system-identifier",n.unexpectedCharacterInUnquotedAttributeValue="unexpected-character-in-unquoted-attribute-value",n.eofBeforeTagName="eof-before-tag-name",n.eofInTag="eof-in-tag",n.missingAttributeValue="missing-attribute-value",n.missingWhitespaceBetweenAttributes="missing-whitespace-between-attributes",n.missingWhitespaceAfterDoctypePublicKeyword="missing-whitespace-after-doctype-public-keyword",n.missingWhitespaceBetweenDoctypePublicAndSystemIdentifiers="missing-whitespace-between-doctype-public-and-system-identifiers",n.missingWhitespaceAfterDoctypeSystemKeyword="missing-whitespace-after-doctype-system-keyword",n.missingQuoteBeforeDoctypePublicIdentifier="missing-quote-before-doctype-public-identifier",n.missingQuoteBeforeDoctypeSystemIdentifier="missing-quote-before-doctype-system-identifier",n.missingDoctypePublicIdentifier="missing-doctype-public-identifier",n.missingDoctypeSystemIdentifier="missing-doctype-system-identifier",n.abruptDoctypePublicIdentifier="abrupt-doctype-public-identifier",n.abruptDoctypeSystemIdentifier="abrupt-doctype-system-identifier",n.cdataInHtmlContent="cdata-in-html-content",n.incorrectlyOpenedComment="incorrectly-opened-comment",n.eofInScriptHtmlCommentLikeText="eof-in-script-html-comment-like-text",n.eofInDoctype="eof-in-doctype",n.nestedComment="nested-comment",n.abruptClosingOfEmptyComment="abrupt-closing-of-empty-comment",n.eofInComment="eof-in-comment",n.incorrectlyClosedComment="incorrectly-closed-comment",n.eofInCdata="eof-in-cdata",n.absenceOfDigitsInNumericCharacterReference="absence-of-digits-in-numeric-character-reference",n.nullCharacterReference="null-character-reference",n.surrogateCharacterReference="surrogate-character-reference",n.characterReferenceOutsideUnicodeRange="character-reference-outside-unicode-range",n.controlCharacterReference="control-character-reference",n.noncharacterCharacterReference="noncharacter-character-reference",n.missingWhitespaceBeforeDoctypeName="missing-whitespace-before-doctype-name",n.missingDoctypeName="missing-doctype-name",n.invalidCharacterSequenceAfterDoctypeName="invalid-character-sequence-after-doctype-name",n.duplicateAttribute="duplicate-attribute",n.nonConformingDoctype="non-conforming-doctype",n.missingDoctype="missing-doctype",n.misplacedDoctype="misplaced-doctype",n.endTagWithoutMatchingOpenElement="end-tag-without-matching-open-element",n.closingOfElementWithOpenChildElements="closing-of-element-with-open-child-elements",n.disallowedContentInNoscriptInHead="disallowed-content-in-noscript-in-head",n.openElementsLeftAfterEof="open-elements-left-after-eof",n.abandonedHeadElementChild="abandoned-head-element-child",n.misplacedStartTagForHeadElement="misplaced-start-tag-for-head-element",n.nestedNoscriptInHead="nested-noscript-in-head",n.eofInElementThatCanContainOnlyText="eof-in-element-that-can-contain-only-text"},3425:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isIntegrationPoint=t.adjustTokenSVGTagName=t.adjustTokenXMLAttrs=t.adjustTokenSVGAttrs=t.adjustTokenMathMLAttrs=t.causesExit=t.SVG_TAG_NAMES_ADJUSTMENT_MAP=void 0;const r=n(477),i="text/html",o="application/xhtml+xml",a=new Map(["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((e=>[e.toLowerCase(),e]))),s=new Map([["xlink:actuate",{prefix:"xlink",name:"actuate",namespace:r.NS.XLINK}],["xlink:arcrole",{prefix:"xlink",name:"arcrole",namespace:r.NS.XLINK}],["xlink:href",{prefix:"xlink",name:"href",namespace:r.NS.XLINK}],["xlink:role",{prefix:"xlink",name:"role",namespace:r.NS.XLINK}],["xlink:show",{prefix:"xlink",name:"show",namespace:r.NS.XLINK}],["xlink:title",{prefix:"xlink",name:"title",namespace:r.NS.XLINK}],["xlink:type",{prefix:"xlink",name:"type",namespace:r.NS.XLINK}],["xml:base",{prefix:"xml",name:"base",namespace:r.NS.XML}],["xml:lang",{prefix:"xml",name:"lang",namespace:r.NS.XML}],["xml:space",{prefix:"xml",name:"space",namespace:r.NS.XML}],["xmlns",{prefix:"",name:"xmlns",namespace:r.NS.XMLNS}],["xmlns:xlink",{prefix:"xmlns",name:"xlink",namespace:r.NS.XMLNS}]]);t.SVG_TAG_NAMES_ADJUSTMENT_MAP=new Map(["altGlyph","altGlyphDef","altGlyphItem","animateColor","animateMotion","animateTransform","clipPath","feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence","foreignObject","glyphRef","linearGradient","radialGradient","textPath"].map((e=>[e.toLowerCase(),e])));const l=new Set([r.TAG_ID.B,r.TAG_ID.BIG,r.TAG_ID.BLOCKQUOTE,r.TAG_ID.BODY,r.TAG_ID.BR,r.TAG_ID.CENTER,r.TAG_ID.CODE,r.TAG_ID.DD,r.TAG_ID.DIV,r.TAG_ID.DL,r.TAG_ID.DT,r.TAG_ID.EM,r.TAG_ID.EMBED,r.TAG_ID.H1,r.TAG_ID.H2,r.TAG_ID.H3,r.TAG_ID.H4,r.TAG_ID.H5,r.TAG_ID.H6,r.TAG_ID.HEAD,r.TAG_ID.HR,r.TAG_ID.I,r.TAG_ID.IMG,r.TAG_ID.LI,r.TAG_ID.LISTING,r.TAG_ID.MENU,r.TAG_ID.META,r.TAG_ID.NOBR,r.TAG_ID.OL,r.TAG_ID.P,r.TAG_ID.PRE,r.TAG_ID.RUBY,r.TAG_ID.S,r.TAG_ID.SMALL,r.TAG_ID.SPAN,r.TAG_ID.STRONG,r.TAG_ID.STRIKE,r.TAG_ID.SUB,r.TAG_ID.SUP,r.TAG_ID.TABLE,r.TAG_ID.TT,r.TAG_ID.U,r.TAG_ID.UL,r.TAG_ID.VAR]);t.causesExit=function(e){const t=e.tagID;return t===r.TAG_ID.FONT&&e.attrs.some((({name:e})=>e===r.ATTRS.COLOR||e===r.ATTRS.SIZE||e===r.ATTRS.FACE))||l.has(t)},t.adjustTokenMathMLAttrs=function(e){for(let t=0;t<e.attrs.length;t++)if("definitionurl"===e.attrs[t].name){e.attrs[t].name="definitionURL";break}},t.adjustTokenSVGAttrs=function(e){for(let t=0;t<e.attrs.length;t++){const n=a.get(e.attrs[t].name);null!=n&&(e.attrs[t].name=n)}},t.adjustTokenXMLAttrs=function(e){for(let t=0;t<e.attrs.length;t++){const n=s.get(e.attrs[t].name);n&&(e.attrs[t].prefix=n.prefix,e.attrs[t].name=n.name,e.attrs[t].namespace=n.namespace)}},t.adjustTokenSVGTagName=function(e){const n=t.SVG_TAG_NAMES_ADJUSTMENT_MAP.get(e.tagName);null!=n&&(e.tagName=n,e.tagID=(0,r.getTagID)(e.tagName))},t.isIntegrationPoint=function(e,t,n,a){return(!a||a===r.NS.HTML)&&function(e,t,n){if(t===r.NS.MATHML&&e===r.TAG_ID.ANNOTATION_XML)for(let e=0;e<n.length;e++)if(n[e].name===r.ATTRS.ENCODING){const t=n[e].value.toLowerCase();return t===i||t===o}return t===r.NS.SVG&&(e===r.TAG_ID.FOREIGN_OBJECT||e===r.TAG_ID.DESC||e===r.TAG_ID.TITLE)}(e,t,n)||(!a||a===r.NS.MATHML)&&function(e,t){return t===r.NS.MATHML&&(e===r.TAG_ID.MI||e===r.TAG_ID.MO||e===r.TAG_ID.MN||e===r.TAG_ID.MS||e===r.TAG_ID.MTEXT)}(e,t)}},477:(e,t)=>{"use strict";var n,r,i,o,a;Object.defineProperty(t,"__esModule",{value:!0}),t.hasUnescapedText=t.isNumberedHeader=t.SPECIAL_ELEMENTS=t.getTagID=t.TAG_ID=t.TAG_NAMES=t.DOCUMENT_MODE=t.ATTRS=t.NS=void 0,function(e){e.HTML="http://www.w3.org/1999/xhtml",e.MATHML="http://www.w3.org/1998/Math/MathML",e.SVG="http://www.w3.org/2000/svg",e.XLINK="http://www.w3.org/1999/xlink",e.XML="http://www.w3.org/XML/1998/namespace",e.XMLNS="http://www.w3.org/2000/xmlns/"}(n=t.NS||(t.NS={})),(a=t.ATTRS||(t.ATTRS={})).TYPE="type",a.ACTION="action",a.ENCODING="encoding",a.PROMPT="prompt",a.NAME="name",a.COLOR="color",a.FACE="face",a.SIZE="size",(o=t.DOCUMENT_MODE||(t.DOCUMENT_MODE={})).NO_QUIRKS="no-quirks",o.QUIRKS="quirks",o.LIMITED_QUIRKS="limited-quirks",function(e){e.A="a",e.ADDRESS="address",e.ANNOTATION_XML="annotation-xml",e.APPLET="applet",e.AREA="area",e.ARTICLE="article",e.ASIDE="aside",e.B="b",e.BASE="base",e.BASEFONT="basefont",e.BGSOUND="bgsound",e.BIG="big",e.BLOCKQUOTE="blockquote",e.BODY="body",e.BR="br",e.BUTTON="button",e.CAPTION="caption",e.CENTER="center",e.CODE="code",e.COL="col",e.COLGROUP="colgroup",e.DD="dd",e.DESC="desc",e.DETAILS="details",e.DIALOG="dialog",e.DIR="dir",e.DIV="div",e.DL="dl",e.DT="dt",e.EM="em",e.EMBED="embed",e.FIELDSET="fieldset",e.FIGCAPTION="figcaption",e.FIGURE="figure",e.FONT="font",e.FOOTER="footer",e.FOREIGN_OBJECT="foreignObject",e.FORM="form",e.FRAME="frame",e.FRAMESET="frameset",e.H1="h1",e.H2="h2",e.H3="h3",e.H4="h4",e.H5="h5",e.H6="h6",e.HEAD="head",e.HEADER="header",e.HGROUP="hgroup",e.HR="hr",e.HTML="html",e.I="i",e.IMG="img",e.IMAGE="image",e.INPUT="input",e.IFRAME="iframe",e.KEYGEN="keygen",e.LABEL="label",e.LI="li",e.LINK="link",e.LISTING="listing",e.MAIN="main",e.MALIGNMARK="malignmark",e.MARQUEE="marquee",e.MATH="math",e.MENU="menu",e.META="meta",e.MGLYPH="mglyph",e.MI="mi",e.MO="mo",e.MN="mn",e.MS="ms",e.MTEXT="mtext",e.NAV="nav",e.NOBR="nobr",e.NOFRAMES="noframes",e.NOEMBED="noembed",e.NOSCRIPT="noscript",e.OBJECT="object",e.OL="ol",e.OPTGROUP="optgroup",e.OPTION="option",e.P="p",e.PARAM="param",e.PLAINTEXT="plaintext",e.PRE="pre",e.RB="rb",e.RP="rp",e.RT="rt",e.RTC="rtc",e.RUBY="ruby",e.S="s",e.SCRIPT="script",e.SECTION="section",e.SELECT="select",e.SOURCE="source",e.SMALL="small",e.SPAN="span",e.STRIKE="strike",e.STRONG="strong",e.STYLE="style",e.SUB="sub",e.SUMMARY="summary",e.SUP="sup",e.TABLE="table",e.TBODY="tbody",e.TEMPLATE="template",e.TEXTAREA="textarea",e.TFOOT="tfoot",e.TD="td",e.TH="th",e.THEAD="thead",e.TITLE="title",e.TR="tr",e.TRACK="track",e.TT="tt",e.U="u",e.UL="ul",e.SVG="svg",e.VAR="var",e.WBR="wbr",e.XMP="xmp"}(r=t.TAG_NAMES||(t.TAG_NAMES={})),function(e){e[e.UNKNOWN=0]="UNKNOWN",e[e.A=1]="A",e[e.ADDRESS=2]="ADDRESS",e[e.ANNOTATION_XML=3]="ANNOTATION_XML",e[e.APPLET=4]="APPLET",e[e.AREA=5]="AREA",e[e.ARTICLE=6]="ARTICLE",e[e.ASIDE=7]="ASIDE",e[e.B=8]="B",e[e.BASE=9]="BASE",e[e.BASEFONT=10]="BASEFONT",e[e.BGSOUND=11]="BGSOUND",e[e.BIG=12]="BIG",e[e.BLOCKQUOTE=13]="BLOCKQUOTE",e[e.BODY=14]="BODY",e[e.BR=15]="BR",e[e.BUTTON=16]="BUTTON",e[e.CAPTION=17]="CAPTION",e[e.CENTER=18]="CENTER",e[e.CODE=19]="CODE",e[e.COL=20]="COL",e[e.COLGROUP=21]="COLGROUP",e[e.DD=22]="DD",e[e.DESC=23]="DESC",e[e.DETAILS=24]="DETAILS",e[e.DIALOG=25]="DIALOG",e[e.DIR=26]="DIR",e[e.DIV=27]="DIV",e[e.DL=28]="DL",e[e.DT=29]="DT",e[e.EM=30]="EM",e[e.EMBED=31]="EMBED",e[e.FIELDSET=32]="FIELDSET",e[e.FIGCAPTION=33]="FIGCAPTION",e[e.FIGURE=34]="FIGURE",e[e.FONT=35]="FONT",e[e.FOOTER=36]="FOOTER",e[e.FOREIGN_OBJECT=37]="FOREIGN_OBJECT",e[e.FORM=38]="FORM",e[e.FRAME=39]="FRAME",e[e.FRAMESET=40]="FRAMESET",e[e.H1=41]="H1",e[e.H2=42]="H2",e[e.H3=43]="H3",e[e.H4=44]="H4",e[e.H5=45]="H5",e[e.H6=46]="H6",e[e.HEAD=47]="HEAD",e[e.HEADER=48]="HEADER",e[e.HGROUP=49]="HGROUP",e[e.HR=50]="HR",e[e.HTML=51]="HTML",e[e.I=52]="I",e[e.IMG=53]="IMG",e[e.IMAGE=54]="IMAGE",e[e.INPUT=55]="INPUT",e[e.IFRAME=56]="IFRAME",e[e.KEYGEN=57]="KEYGEN",e[e.LABEL=58]="LABEL",e[e.LI=59]="LI",e[e.LINK=60]="LINK",e[e.LISTING=61]="LISTING",e[e.MAIN=62]="MAIN",e[e.MALIGNMARK=63]="MALIGNMARK",e[e.MARQUEE=64]="MARQUEE",e[e.MATH=65]="MATH",e[e.MENU=66]="MENU",e[e.META=67]="META",e[e.MGLYPH=68]="MGLYPH",e[e.MI=69]="MI",e[e.MO=70]="MO",e[e.MN=71]="MN",e[e.MS=72]="MS",e[e.MTEXT=73]="MTEXT",e[e.NAV=74]="NAV",e[e.NOBR=75]="NOBR",e[e.NOFRAMES=76]="NOFRAMES",e[e.NOEMBED=77]="NOEMBED",e[e.NOSCRIPT=78]="NOSCRIPT",e[e.OBJECT=79]="OBJECT",e[e.OL=80]="OL",e[e.OPTGROUP=81]="OPTGROUP",e[e.OPTION=82]="OPTION",e[e.P=83]="P",e[e.PARAM=84]="PARAM",e[e.PLAINTEXT=85]="PLAINTEXT",e[e.PRE=86]="PRE",e[e.RB=87]="RB",e[e.RP=88]="RP",e[e.RT=89]="RT",e[e.RTC=90]="RTC",e[e.RUBY=91]="RUBY",e[e.S=92]="S",e[e.SCRIPT=93]="SCRIPT",e[e.SECTION=94]="SECTION",e[e.SELECT=95]="SELECT",e[e.SOURCE=96]="SOURCE",e[e.SMALL=97]="SMALL",e[e.SPAN=98]="SPAN",e[e.STRIKE=99]="STRIKE",e[e.STRONG=100]="STRONG",e[e.STYLE=101]="STYLE",e[e.SUB=102]="SUB",e[e.SUMMARY=103]="SUMMARY",e[e.SUP=104]="SUP",e[e.TABLE=105]="TABLE",e[e.TBODY=106]="TBODY",e[e.TEMPLATE=107]="TEMPLATE",e[e.TEXTAREA=108]="TEXTAREA",e[e.TFOOT=109]="TFOOT",e[e.TD=110]="TD",e[e.TH=111]="TH",e[e.THEAD=112]="THEAD",e[e.TITLE=113]="TITLE",e[e.TR=114]="TR",e[e.TRACK=115]="TRACK",e[e.TT=116]="TT",e[e.U=117]="U",e[e.UL=118]="UL",e[e.SVG=119]="SVG",e[e.VAR=120]="VAR",e[e.WBR=121]="WBR",e[e.XMP=122]="XMP"}(i=t.TAG_ID||(t.TAG_ID={}));const s=new Map([[r.A,i.A],[r.ADDRESS,i.ADDRESS],[r.ANNOTATION_XML,i.ANNOTATION_XML],[r.APPLET,i.APPLET],[r.AREA,i.AREA],[r.ARTICLE,i.ARTICLE],[r.ASIDE,i.ASIDE],[r.B,i.B],[r.BASE,i.BASE],[r.BASEFONT,i.BASEFONT],[r.BGSOUND,i.BGSOUND],[r.BIG,i.BIG],[r.BLOCKQUOTE,i.BLOCKQUOTE],[r.BODY,i.BODY],[r.BR,i.BR],[r.BUTTON,i.BUTTON],[r.CAPTION,i.CAPTION],[r.CENTER,i.CENTER],[r.CODE,i.CODE],[r.COL,i.COL],[r.COLGROUP,i.COLGROUP],[r.DD,i.DD],[r.DESC,i.DESC],[r.DETAILS,i.DETAILS],[r.DIALOG,i.DIALOG],[r.DIR,i.DIR],[r.DIV,i.DIV],[r.DL,i.DL],[r.DT,i.DT],[r.EM,i.EM],[r.EMBED,i.EMBED],[r.FIELDSET,i.FIELDSET],[r.FIGCAPTION,i.FIGCAPTION],[r.FIGURE,i.FIGURE],[r.FONT,i.FONT],[r.FOOTER,i.FOOTER],[r.FOREIGN_OBJECT,i.FOREIGN_OBJECT],[r.FORM,i.FORM],[r.FRAME,i.FRAME],[r.FRAMESET,i.FRAMESET],[r.H1,i.H1],[r.H2,i.H2],[r.H3,i.H3],[r.H4,i.H4],[r.H5,i.H5],[r.H6,i.H6],[r.HEAD,i.HEAD],[r.HEADER,i.HEADER],[r.HGROUP,i.HGROUP],[r.HR,i.HR],[r.HTML,i.HTML],[r.I,i.I],[r.IMG,i.IMG],[r.IMAGE,i.IMAGE],[r.INPUT,i.INPUT],[r.IFRAME,i.IFRAME],[r.KEYGEN,i.KEYGEN],[r.LABEL,i.LABEL],[r.LI,i.LI],[r.LINK,i.LINK],[r.LISTING,i.LISTING],[r.MAIN,i.MAIN],[r.MALIGNMARK,i.MALIGNMARK],[r.MARQUEE,i.MARQUEE],[r.MATH,i.MATH],[r.MENU,i.MENU],[r.META,i.META],[r.MGLYPH,i.MGLYPH],[r.MI,i.MI],[r.MO,i.MO],[r.MN,i.MN],[r.MS,i.MS],[r.MTEXT,i.MTEXT],[r.NAV,i.NAV],[r.NOBR,i.NOBR],[r.NOFRAMES,i.NOFRAMES],[r.NOEMBED,i.NOEMBED],[r.NOSCRIPT,i.NOSCRIPT],[r.OBJECT,i.OBJECT],[r.OL,i.OL],[r.OPTGROUP,i.OPTGROUP],[r.OPTION,i.OPTION],[r.P,i.P],[r.PARAM,i.PARAM],[r.PLAINTEXT,i.PLAINTEXT],[r.PRE,i.PRE],[r.RB,i.RB],[r.RP,i.RP],[r.RT,i.RT],[r.RTC,i.RTC],[r.RUBY,i.RUBY],[r.S,i.S],[r.SCRIPT,i.SCRIPT],[r.SECTION,i.SECTION],[r.SELECT,i.SELECT],[r.SOURCE,i.SOURCE],[r.SMALL,i.SMALL],[r.SPAN,i.SPAN],[r.STRIKE,i.STRIKE],[r.STRONG,i.STRONG],[r.STYLE,i.STYLE],[r.SUB,i.SUB],[r.SUMMARY,i.SUMMARY],[r.SUP,i.SUP],[r.TABLE,i.TABLE],[r.TBODY,i.TBODY],[r.TEMPLATE,i.TEMPLATE],[r.TEXTAREA,i.TEXTAREA],[r.TFOOT,i.TFOOT],[r.TD,i.TD],[r.TH,i.TH],[r.THEAD,i.THEAD],[r.TITLE,i.TITLE],[r.TR,i.TR],[r.TRACK,i.TRACK],[r.TT,i.TT],[r.U,i.U],[r.UL,i.UL],[r.SVG,i.SVG],[r.VAR,i.VAR],[r.WBR,i.WBR],[r.XMP,i.XMP]]);t.getTagID=function(e){var t;return null!==(t=s.get(e))&&void 0!==t?t:i.UNKNOWN};const l=i;t.SPECIAL_ELEMENTS={[n.HTML]:new Set([l.ADDRESS,l.APPLET,l.AREA,l.ARTICLE,l.ASIDE,l.BASE,l.BASEFONT,l.BGSOUND,l.BLOCKQUOTE,l.BODY,l.BR,l.BUTTON,l.CAPTION,l.CENTER,l.COL,l.COLGROUP,l.DD,l.DETAILS,l.DIR,l.DIV,l.DL,l.DT,l.EMBED,l.FIELDSET,l.FIGCAPTION,l.FIGURE,l.FOOTER,l.FORM,l.FRAME,l.FRAMESET,l.H1,l.H2,l.H3,l.H4,l.H5,l.H6,l.HEAD,l.HEADER,l.HGROUP,l.HR,l.HTML,l.IFRAME,l.IMG,l.INPUT,l.LI,l.LINK,l.LISTING,l.MAIN,l.MARQUEE,l.MENU,l.META,l.NAV,l.NOEMBED,l.NOFRAMES,l.NOSCRIPT,l.OBJECT,l.OL,l.P,l.PARAM,l.PLAINTEXT,l.PRE,l.SCRIPT,l.SECTION,l.SELECT,l.SOURCE,l.STYLE,l.SUMMARY,l.TABLE,l.TBODY,l.TD,l.TEMPLATE,l.TEXTAREA,l.TFOOT,l.TH,l.THEAD,l.TITLE,l.TR,l.TRACK,l.UL,l.WBR,l.XMP]),[n.MATHML]:new Set([l.MI,l.MO,l.MN,l.MS,l.MTEXT,l.ANNOTATION_XML]),[n.SVG]:new Set([l.TITLE,l.FOREIGN_OBJECT,l.DESC]),[n.XLINK]:new Set,[n.XML]:new Set,[n.XMLNS]:new Set},t.isNumberedHeader=function(e){return e===l.H1||e===l.H2||e===l.H3||e===l.H4||e===l.H5||e===l.H6};const c=new Set([r.STYLE,r.SCRIPT,r.XMP,r.IFRAME,r.NOEMBED,r.NOFRAMES,r.PLAINTEXT]);t.hasUnescapedText=function(e,t){return c.has(e)||t&&e===r.NOSCRIPT}},8758:(e,t)=>{"use strict";var n;Object.defineProperty(t,"__esModule",{value:!0}),t.getTokenAttr=t.TokenType=void 0,(n=t.TokenType||(t.TokenType={}))[n.CHARACTER=0]="CHARACTER",n[n.NULL_CHARACTER=1]="NULL_CHARACTER",n[n.WHITESPACE_CHARACTER=2]="WHITESPACE_CHARACTER",n[n.START_TAG=3]="START_TAG",n[n.END_TAG=4]="END_TAG",n[n.COMMENT=5]="COMMENT",n[n.DOCTYPE=6]="DOCTYPE",n[n.EOF=7]="EOF",n[n.HIBERNATION=8]="HIBERNATION",t.getTokenAttr=function(e,t){for(let n=e.attrs.length-1;n>=0;n--)if(e.attrs[n].name===t)return e.attrs[n].value;return null}},4935:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isUndefinedCodePoint=t.isControlCodePoint=t.getSurrogatePairCodePoint=t.isSurrogatePair=t.isSurrogate=t.SEQUENCES=t.CODE_POINTS=t.REPLACEMENT_CHARACTER=void 0;const n=new Set([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]);var r;t.REPLACEMENT_CHARACTER="�",(r=t.CODE_POINTS||(t.CODE_POINTS={}))[r.EOF=-1]="EOF",r[r.NULL=0]="NULL",r[r.TABULATION=9]="TABULATION",r[r.CARRIAGE_RETURN=13]="CARRIAGE_RETURN",r[r.LINE_FEED=10]="LINE_FEED",r[r.FORM_FEED=12]="FORM_FEED",r[r.SPACE=32]="SPACE",r[r.EXCLAMATION_MARK=33]="EXCLAMATION_MARK",r[r.QUOTATION_MARK=34]="QUOTATION_MARK",r[r.NUMBER_SIGN=35]="NUMBER_SIGN",r[r.AMPERSAND=38]="AMPERSAND",r[r.APOSTROPHE=39]="APOSTROPHE",r[r.HYPHEN_MINUS=45]="HYPHEN_MINUS",r[r.SOLIDUS=47]="SOLIDUS",r[r.DIGIT_0=48]="DIGIT_0",r[r.DIGIT_9=57]="DIGIT_9",r[r.SEMICOLON=59]="SEMICOLON",r[r.LESS_THAN_SIGN=60]="LESS_THAN_SIGN",r[r.EQUALS_SIGN=61]="EQUALS_SIGN",r[r.GREATER_THAN_SIGN=62]="GREATER_THAN_SIGN",r[r.QUESTION_MARK=63]="QUESTION_MARK",r[r.LATIN_CAPITAL_A=65]="LATIN_CAPITAL_A",r[r.LATIN_CAPITAL_F=70]="LATIN_CAPITAL_F",r[r.LATIN_CAPITAL_X=88]="LATIN_CAPITAL_X",r[r.LATIN_CAPITAL_Z=90]="LATIN_CAPITAL_Z",r[r.RIGHT_SQUARE_BRACKET=93]="RIGHT_SQUARE_BRACKET",r[r.GRAVE_ACCENT=96]="GRAVE_ACCENT",r[r.LATIN_SMALL_A=97]="LATIN_SMALL_A",r[r.LATIN_SMALL_F=102]="LATIN_SMALL_F",r[r.LATIN_SMALL_X=120]="LATIN_SMALL_X",r[r.LATIN_SMALL_Z=122]="LATIN_SMALL_Z",r[r.REPLACEMENT_CHARACTER=65533]="REPLACEMENT_CHARACTER",t.SEQUENCES={DASH_DASH:"--",CDATA_START:"[CDATA[",DOCTYPE:"doctype",SCRIPT:"script",PUBLIC:"public",SYSTEM:"system"},t.isSurrogate=function(e){return e>=55296&&e<=57343},t.isSurrogatePair=function(e){return e>=56320&&e<=57343},t.getSurrogatePairCodePoint=function(e,t){return 1024*(e-55296)+9216+t},t.isControlCodePoint=function(e){return 32!==e&&10!==e&&13!==e&&9!==e&&12!==e&&e>=1&&e<=31||e>=127&&e<=159},t.isUndefinedCodePoint=function(e){return e>=64976&&e<=65007||n.has(e)}},997:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.parseFragment=t.parse=t.TokenizerMode=t.Tokenizer=t.Token=t.html=t.foreignContent=t.ErrorCodes=t.serializeOuter=t.serialize=t.Parser=t.defaultTreeAdapter=void 0;const r=n(7203);var i=n(1907);Object.defineProperty(t,"defaultTreeAdapter",{enumerable:!0,get:function(){return i.defaultTreeAdapter}});var o=n(7203);Object.defineProperty(t,"Parser",{enumerable:!0,get:function(){return o.Parser}});var a=n(733);Object.defineProperty(t,"serialize",{enumerable:!0,get:function(){return a.serialize}}),Object.defineProperty(t,"serializeOuter",{enumerable:!0,get:function(){return a.serializeOuter}});var s=n(6861);Object.defineProperty(t,"ErrorCodes",{enumerable:!0,get:function(){return s.ERR}}),t.foreignContent=n(3425),t.html=n(477),t.Token=n(8758);var l=n(2723);Object.defineProperty(t,"Tokenizer",{enumerable:!0,get:function(){return l.Tokenizer}}),Object.defineProperty(t,"TokenizerMode",{enumerable:!0,get:function(){return l.TokenizerMode}}),t.parse=function(e,t){return r.Parser.parse(e,t)},t.parseFragment=function(e,t,n){"string"==typeof e&&(n=t,t=e,e=null);const i=r.Parser.getFragmentParser(e,n);return i.tokenizer.write(t,!0),i.getFragment()}},6548:(e,t)=>{"use strict";var n;Object.defineProperty(t,"__esModule",{value:!0}),t.FormattingElementList=t.EntryType=void 0,function(e){e[e.Marker=0]="Marker",e[e.Element=1]="Element"}(n=t.EntryType||(t.EntryType={}));const r={type:n.Marker};t.FormattingElementList=class{constructor(e){this.treeAdapter=e,this.entries=[],this.bookmark=null}_getNoahArkConditionCandidates(e,t){const r=[],i=t.length,o=this.treeAdapter.getTagName(e),a=this.treeAdapter.getNamespaceURI(e);for(let e=0;e<this.entries.length;e++){const t=this.entries[e];if(t.type===n.Marker)break;const{element:s}=t;if(this.treeAdapter.getTagName(s)===o&&this.treeAdapter.getNamespaceURI(s)===a){const t=this.treeAdapter.getAttrList(s);t.length===i&&r.push({idx:e,attrs:t})}}return r}_ensureNoahArkCondition(e){if(this.entries.length<3)return;const t=this.treeAdapter.getAttrList(e),n=this._getNoahArkConditionCandidates(e,t);if(n.length<3)return;const r=new Map(t.map((e=>[e.name,e.value])));let i=0;for(let e=0;e<n.length;e++){const t=n[e];t.attrs.every((e=>r.get(e.name)===e.value))&&(i+=1,i>=3&&this.entries.splice(t.idx,1))}}insertMarker(){this.entries.unshift(r)}pushElement(e,t){this._ensureNoahArkCondition(e),this.entries.unshift({type:n.Element,element:e,token:t})}insertElementAfterBookmark(e,t){const r=this.entries.indexOf(this.bookmark);this.entries.splice(r,0,{type:n.Element,element:e,token:t})}removeEntry(e){const t=this.entries.indexOf(e);t>=0&&this.entries.splice(t,1)}clearToLastMarker(){const e=this.entries.indexOf(r);e>=0?this.entries.splice(0,e+1):this.entries.length=0}getElementEntryInScopeWithTagName(e){const t=this.entries.find((t=>t.type===n.Marker||this.treeAdapter.getTagName(t.element)===e));return t&&t.type===n.Element?t:null}getElementEntry(e){return this.entries.find((t=>t.type===n.Element&&t.element===e))}}},7203:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Parser=void 0;const r=n(2723),i=n(3306),o=n(6548),a=n(1907),s=n(8237),l=n(3425),c=n(6861),u=n(4935),d=n(477),f=n(8758),h="hidden",p=8,m=3;var g;!function(e){e[e.INITIAL=0]="INITIAL",e[e.BEFORE_HTML=1]="BEFORE_HTML",e[e.BEFORE_HEAD=2]="BEFORE_HEAD",e[e.IN_HEAD=3]="IN_HEAD",e[e.IN_HEAD_NO_SCRIPT=4]="IN_HEAD_NO_SCRIPT",e[e.AFTER_HEAD=5]="AFTER_HEAD",e[e.IN_BODY=6]="IN_BODY",e[e.TEXT=7]="TEXT",e[e.IN_TABLE=8]="IN_TABLE",e[e.IN_TABLE_TEXT=9]="IN_TABLE_TEXT",e[e.IN_CAPTION=10]="IN_CAPTION",e[e.IN_COLUMN_GROUP=11]="IN_COLUMN_GROUP",e[e.IN_TABLE_BODY=12]="IN_TABLE_BODY",e[e.IN_ROW=13]="IN_ROW",e[e.IN_CELL=14]="IN_CELL",e[e.IN_SELECT=15]="IN_SELECT",e[e.IN_SELECT_IN_TABLE=16]="IN_SELECT_IN_TABLE",e[e.IN_TEMPLATE=17]="IN_TEMPLATE",e[e.AFTER_BODY=18]="AFTER_BODY",e[e.IN_FRAMESET=19]="IN_FRAMESET",e[e.AFTER_FRAMESET=20]="AFTER_FRAMESET",e[e.AFTER_AFTER_BODY=21]="AFTER_AFTER_BODY",e[e.AFTER_AFTER_FRAMESET=22]="AFTER_AFTER_FRAMESET"}(g||(g={}));const b={startLine:-1,startCol:-1,startOffset:-1,endLine:-1,endCol:-1,endOffset:-1},v=new Set([d.TAG_ID.TABLE,d.TAG_ID.TBODY,d.TAG_ID.TFOOT,d.TAG_ID.THEAD,d.TAG_ID.TR]),y={scriptingEnabled:!0,sourceCodeLocationInfo:!1,treeAdapter:a.defaultTreeAdapter,onParseError:null};function E(e,t){let n=e.activeFormattingElements.getElementEntryInScopeWithTagName(t.tagName);return n?e.openElements.contains(n.element)?e.openElements.hasInScope(t.tagID)||(n=null):(e.activeFormattingElements.removeEntry(n),n=null):$(e,t),n}function T(e,t){let n=null,r=e.openElements.stackTop;for(;r>=0;r--){const i=e.openElements.items[r];if(i===t.element)break;e._isSpecialElement(i,e.openElements.tagIDs[r])&&(n=i)}return n||(e.openElements.shortenToLength(r<0?0:r),e.activeFormattingElements.removeEntry(t)),n}function _(e,t,n){let r=t,i=e.openElements.getCommonAncestor(t);for(let o=0,a=i;a!==n;o++,a=i){i=e.openElements.getCommonAncestor(a);const n=e.activeFormattingElements.getElementEntry(a),s=n&&o>=m;!n||s?(s&&e.activeFormattingElements.removeEntry(n),e.openElements.remove(a)):(a=A(e,n),r===t&&(e.activeFormattingElements.bookmark=n),e.treeAdapter.detachNode(r),e.treeAdapter.appendChild(a,r),r=a)}return r}function A(e,t){const n=e.treeAdapter.getNamespaceURI(t.element),r=e.treeAdapter.createElement(t.token.tagName,n,t.token.attrs);return e.openElements.replace(t.element,r),t.element=r,r}function S(e,t,n){const r=e.treeAdapter.getTagName(t),i=(0,d.getTagID)(r);if(e._isElementCausesFosterParenting(i))e._fosterParentElement(n);else{const r=e.treeAdapter.getNamespaceURI(t);i===d.TAG_ID.TEMPLATE&&r===d.NS.HTML&&(t=e.treeAdapter.getTemplateContent(t)),e.treeAdapter.appendChild(t,n)}}function C(e,t,n){const r=e.treeAdapter.getNamespaceURI(n.element),{token:i}=n,o=e.treeAdapter.createElement(i.tagName,r,i.attrs);e._adoptNodes(t,o),e.treeAdapter.appendChild(t,o),e.activeFormattingElements.insertElementAfterBookmark(o,i),e.activeFormattingElements.removeEntry(n),e.openElements.remove(n.element),e.openElements.insertAfter(t,o,i.tagID)}function I(e,t){for(let n=0;n<p;n++){const n=E(e,t);if(!n)break;const r=T(e,n);if(!r)break;e.activeFormattingElements.bookmark=n;const i=_(e,r,n.element),o=e.openElements.getCommonAncestor(n.element);e.treeAdapter.detachNode(i),o&&S(e,o,i),C(e,r,n)}}function w(e,t){e._appendCommentNode(t,e.openElements.currentTmplContentOrNode)}function x(e,t){if(e.stopped=!0,t.location){const n=e.fragmentContext?0:2;for(let r=e.openElements.stackTop;r>=n;r--)e._setEndLocation(e.openElements.items[r],t);if(!e.fragmentContext&&e.openElements.stackTop>=0){const n=e.openElements.items[0],r=e.treeAdapter.getNodeSourceCodeLocation(n);if(r&&!r.endTag&&(e._setEndLocation(n,t),e.openElements.stackTop>=1)){const n=e.openElements.items[1],r=e.treeAdapter.getNodeSourceCodeLocation(n);r&&!r.endTag&&e._setEndLocation(n,t)}}}}function D(e,t){e._err(t,c.ERR.missingDoctype,!0),e.treeAdapter.setDocumentMode(e.document,d.DOCUMENT_MODE.QUIRKS),e.insertionMode=g.BEFORE_HTML,e._processToken(t)}function k(e,t){e._insertFakeRootElement(),e.insertionMode=g.BEFORE_HEAD,e._processToken(t)}function O(e,t){e._insertFakeElement(d.TAG_NAMES.HEAD,d.TAG_ID.HEAD),e.headElement=e.openElements.current,e.insertionMode=g.IN_HEAD,e._processToken(t)}function N(e,t){switch(t.tagID){case d.TAG_ID.HTML:V(e,t);break;case d.TAG_ID.BASE:case d.TAG_ID.BASEFONT:case d.TAG_ID.BGSOUND:case d.TAG_ID.LINK:case d.TAG_ID.META:e._appendElement(t,d.NS.HTML),t.ackSelfClosing=!0;break;case d.TAG_ID.TITLE:e._switchToTextParsing(t,r.TokenizerMode.RCDATA);break;case d.TAG_ID.NOSCRIPT:e.options.scriptingEnabled?e._switchToTextParsing(t,r.TokenizerMode.RAWTEXT):(e._insertElement(t,d.NS.HTML),e.insertionMode=g.IN_HEAD_NO_SCRIPT);break;case d.TAG_ID.NOFRAMES:case d.TAG_ID.STYLE:e._switchToTextParsing(t,r.TokenizerMode.RAWTEXT);break;case d.TAG_ID.SCRIPT:e._switchToTextParsing(t,r.TokenizerMode.SCRIPT_DATA);break;case d.TAG_ID.TEMPLATE:e._insertTemplate(t),e.activeFormattingElements.insertMarker(),e.framesetOk=!1,e.insertionMode=g.IN_TEMPLATE,e.tmplInsertionModeStack.unshift(g.IN_TEMPLATE);break;case d.TAG_ID.HEAD:e._err(t,c.ERR.misplacedStartTagForHeadElement);break;default:R(e,t)}}function P(e,t){e.openElements.tmplCount>0?(e.openElements.generateImpliedEndTagsThoroughly(),e.openElements.currentTagId!==d.TAG_ID.TEMPLATE&&e._err(t,c.ERR.closingOfElementWithOpenChildElements),e.openElements.popUntilTagNamePopped(d.TAG_ID.TEMPLATE),e.activeFormattingElements.clearToLastMarker(),e.tmplInsertionModeStack.shift(),e._resetInsertionMode()):e._err(t,c.ERR.endTagWithoutMatchingOpenElement)}function R(e,t){e.openElements.pop(),e.insertionMode=g.AFTER_HEAD,e._processToken(t)}function L(e,t){const n=t.type===f.TokenType.EOF?c.ERR.openElementsLeftAfterEof:c.ERR.disallowedContentInNoscriptInHead;e._err(t,n),e.openElements.pop(),e.insertionMode=g.IN_HEAD,e._processToken(t)}function M(e,t){e._insertFakeElement(d.TAG_NAMES.BODY,d.TAG_ID.BODY),e.insertionMode=g.IN_BODY,B(e,t)}function B(e,t){switch(t.type){case f.TokenType.CHARACTER:G(e,t);break;case f.TokenType.WHITESPACE_CHARACTER:F(e,t);break;case f.TokenType.COMMENT:w(e,t);break;case f.TokenType.START_TAG:V(e,t);break;case f.TokenType.END_TAG:q(e,t);break;case f.TokenType.EOF:W(e,t)}}function F(e,t){e._reconstructActiveFormattingElements(),e._insertCharacters(t)}function G(e,t){e._reconstructActiveFormattingElements(),e._insertCharacters(t),e.framesetOk=!1}function j(e,t){e._reconstructActiveFormattingElements(),e._appendElement(t,d.NS.HTML),e.framesetOk=!1,t.ackSelfClosing=!0}function H(e){const t=(0,f.getTokenAttr)(e,d.ATTRS.TYPE);return null!=t&&t.toLowerCase()===h}function U(e,t){e._switchToTextParsing(t,r.TokenizerMode.RAWTEXT)}function z(e,t){e._reconstructActiveFormattingElements(),e._insertElement(t,d.NS.HTML)}function V(e,t){switch(t.tagID){case d.TAG_ID.I:case d.TAG_ID.S:case d.TAG_ID.B:case d.TAG_ID.U:case d.TAG_ID.EM:case d.TAG_ID.TT:case d.TAG_ID.BIG:case d.TAG_ID.CODE:case d.TAG_ID.FONT:case d.TAG_ID.SMALL:case d.TAG_ID.STRIKE:case d.TAG_ID.STRONG:!function(e,t){e._reconstructActiveFormattingElements(),e._insertElement(t,d.NS.HTML),e.activeFormattingElements.pushElement(e.openElements.current,t)}(e,t);break;case d.TAG_ID.A:!function(e,t){const n=e.activeFormattingElements.getElementEntryInScopeWithTagName(d.TAG_NAMES.A);n&&(I(e,t),e.openElements.remove(n.element),e.activeFormattingElements.removeEntry(n)),e._reconstructActiveFormattingElements(),e._insertElement(t,d.NS.HTML),e.activeFormattingElements.pushElement(e.openElements.current,t)}(e,t);break;case d.TAG_ID.H1:case d.TAG_ID.H2:case d.TAG_ID.H3:case d.TAG_ID.H4:case d.TAG_ID.H5:case d.TAG_ID.H6:!function(e,t){e.openElements.hasInButtonScope(d.TAG_ID.P)&&e._closePElement(),(0,d.isNumberedHeader)(e.openElements.currentTagId)&&e.openElements.pop(),e._insertElement(t,d.NS.HTML)}(e,t);break;case d.TAG_ID.P:case d.TAG_ID.DL:case d.TAG_ID.OL:case d.TAG_ID.UL:case d.TAG_ID.DIV:case d.TAG_ID.DIR:case d.TAG_ID.NAV:case d.TAG_ID.MAIN:case d.TAG_ID.MENU:case d.TAG_ID.ASIDE:case d.TAG_ID.CENTER:case d.TAG_ID.FIGURE:case d.TAG_ID.FOOTER:case d.TAG_ID.HEADER:case d.TAG_ID.HGROUP:case d.TAG_ID.DIALOG:case d.TAG_ID.DETAILS:case d.TAG_ID.ADDRESS:case d.TAG_ID.ARTICLE:case d.TAG_ID.SECTION:case d.TAG_ID.SUMMARY:case d.TAG_ID.FIELDSET:case d.TAG_ID.BLOCKQUOTE:case d.TAG_ID.FIGCAPTION:!function(e,t){e.openElements.hasInButtonScope(d.TAG_ID.P)&&e._closePElement(),e._insertElement(t,d.NS.HTML)}(e,t);break;case d.TAG_ID.LI:case d.TAG_ID.DD:case d.TAG_ID.DT:!function(e,t){e.framesetOk=!1;const n=t.tagID;for(let t=e.openElements.stackTop;t>=0;t--){const r=e.openElements.tagIDs[t];if(n===d.TAG_ID.LI&&r===d.TAG_ID.LI||(n===d.TAG_ID.DD||n===d.TAG_ID.DT)&&(r===d.TAG_ID.DD||r===d.TAG_ID.DT)){e.openElements.generateImpliedEndTagsWithExclusion(r),e.openElements.popUntilTagNamePopped(r);break}if(r!==d.TAG_ID.ADDRESS&&r!==d.TAG_ID.DIV&&r!==d.TAG_ID.P&&e._isSpecialElement(e.openElements.items[t],r))break}e.openElements.hasInButtonScope(d.TAG_ID.P)&&e._closePElement(),e._insertElement(t,d.NS.HTML)}(e,t);break;case d.TAG_ID.BR:case d.TAG_ID.IMG:case d.TAG_ID.WBR:case d.TAG_ID.AREA:case d.TAG_ID.EMBED:case d.TAG_ID.KEYGEN:j(e,t);break;case d.TAG_ID.HR:!function(e,t){e.openElements.hasInButtonScope(d.TAG_ID.P)&&e._closePElement(),e._appendElement(t,d.NS.HTML),e.framesetOk=!1,t.ackSelfClosing=!0}(e,t);break;case d.TAG_ID.RB:case d.TAG_ID.RTC:!function(e,t){e.openElements.hasInScope(d.TAG_ID.RUBY)&&e.openElements.generateImpliedEndTags(),e._insertElement(t,d.NS.HTML)}(e,t);break;case d.TAG_ID.RT:case d.TAG_ID.RP:!function(e,t){e.openElements.hasInScope(d.TAG_ID.RUBY)&&e.openElements.generateImpliedEndTagsWithExclusion(d.TAG_ID.RTC),e._insertElement(t,d.NS.HTML)}(e,t);break;case d.TAG_ID.PRE:case d.TAG_ID.LISTING:!function(e,t){e.openElements.hasInButtonScope(d.TAG_ID.P)&&e._closePElement(),e._insertElement(t,d.NS.HTML),e.skipNextNewLine=!0,e.framesetOk=!1}(e,t);break;case d.TAG_ID.XMP:!function(e,t){e.openElements.hasInButtonScope(d.TAG_ID.P)&&e._closePElement(),e._reconstructActiveFormattingElements(),e.framesetOk=!1,e._switchToTextParsing(t,r.TokenizerMode.RAWTEXT)}(e,t);break;case d.TAG_ID.SVG:!function(e,t){e._reconstructActiveFormattingElements(),l.adjustTokenSVGAttrs(t),l.adjustTokenXMLAttrs(t),t.selfClosing?e._appendElement(t,d.NS.SVG):e._insertElement(t,d.NS.SVG),t.ackSelfClosing=!0}(e,t);break;case d.TAG_ID.HTML:!function(e,t){0===e.openElements.tmplCount&&e.treeAdapter.adoptAttributes(e.openElements.items[0],t.attrs)}(e,t);break;case d.TAG_ID.BASE:case d.TAG_ID.LINK:case d.TAG_ID.META:case d.TAG_ID.STYLE:case d.TAG_ID.TITLE:case d.TAG_ID.SCRIPT:case d.TAG_ID.BGSOUND:case d.TAG_ID.BASEFONT:case d.TAG_ID.TEMPLATE:N(e,t);break;case d.TAG_ID.BODY:!function(e,t){const n=e.openElements.tryPeekProperlyNestedBodyElement();n&&0===e.openElements.tmplCount&&(e.framesetOk=!1,e.treeAdapter.adoptAttributes(n,t.attrs))}(e,t);break;case d.TAG_ID.FORM:!function(e,t){const n=e.openElements.tmplCount>0;e.formElement&&!n||(e.openElements.hasInButtonScope(d.TAG_ID.P)&&e._closePElement(),e._insertElement(t,d.NS.HTML),n||(e.formElement=e.openElements.current))}(e,t);break;case d.TAG_ID.NOBR:!function(e,t){e._reconstructActiveFormattingElements(),e.openElements.hasInScope(d.TAG_ID.NOBR)&&(I(e,t),e._reconstructActiveFormattingElements()),e._insertElement(t,d.NS.HTML),e.activeFormattingElements.pushElement(e.openElements.current,t)}(e,t);break;case d.TAG_ID.MATH:!function(e,t){e._reconstructActiveFormattingElements(),l.adjustTokenMathMLAttrs(t),l.adjustTokenXMLAttrs(t),t.selfClosing?e._appendElement(t,d.NS.MATHML):e._insertElement(t,d.NS.MATHML),t.ackSelfClosing=!0}(e,t);break;case d.TAG_ID.TABLE:!function(e,t){e.treeAdapter.getDocumentMode(e.document)!==d.DOCUMENT_MODE.QUIRKS&&e.openElements.hasInButtonScope(d.TAG_ID.P)&&e._closePElement(),e._insertElement(t,d.NS.HTML),e.framesetOk=!1,e.insertionMode=g.IN_TABLE}(e,t);break;case d.TAG_ID.INPUT:!function(e,t){e._reconstructActiveFormattingElements(),e._appendElement(t,d.NS.HTML),H(t)||(e.framesetOk=!1),t.ackSelfClosing=!0}(e,t);break;case d.TAG_ID.PARAM:case d.TAG_ID.TRACK:case d.TAG_ID.SOURCE:!function(e,t){e._appendElement(t,d.NS.HTML),t.ackSelfClosing=!0}(e,t);break;case d.TAG_ID.IMAGE:!function(e,t){t.tagName=d.TAG_NAMES.IMG,t.tagID=d.TAG_ID.IMG,j(e,t)}(e,t);break;case d.TAG_ID.BUTTON:!function(e,t){e.openElements.hasInScope(d.TAG_ID.BUTTON)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(d.TAG_ID.BUTTON)),e._reconstructActiveFormattingElements(),e._insertElement(t,d.NS.HTML),e.framesetOk=!1}(e,t);break;case d.TAG_ID.APPLET:case d.TAG_ID.OBJECT:case d.TAG_ID.MARQUEE:!function(e,t){e._reconstructActiveFormattingElements(),e._insertElement(t,d.NS.HTML),e.activeFormattingElements.insertMarker(),e.framesetOk=!1}(e,t);break;case d.TAG_ID.IFRAME:!function(e,t){e.framesetOk=!1,e._switchToTextParsing(t,r.TokenizerMode.RAWTEXT)}(e,t);break;case d.TAG_ID.SELECT:!function(e,t){e._reconstructActiveFormattingElements(),e._insertElement(t,d.NS.HTML),e.framesetOk=!1,e.insertionMode=e.insertionMode===g.IN_TABLE||e.insertionMode===g.IN_CAPTION||e.insertionMode===g.IN_TABLE_BODY||e.insertionMode===g.IN_ROW||e.insertionMode===g.IN_CELL?g.IN_SELECT_IN_TABLE:g.IN_SELECT}(e,t);break;case d.TAG_ID.OPTION:case d.TAG_ID.OPTGROUP:!function(e,t){e.openElements.currentTagId===d.TAG_ID.OPTION&&e.openElements.pop(),e._reconstructActiveFormattingElements(),e._insertElement(t,d.NS.HTML)}(e,t);break;case d.TAG_ID.NOEMBED:U(e,t);break;case d.TAG_ID.FRAMESET:!function(e,t){const n=e.openElements.tryPeekProperlyNestedBodyElement();e.framesetOk&&n&&(e.treeAdapter.detachNode(n),e.openElements.popAllUpToHtmlElement(),e._insertElement(t,d.NS.HTML),e.insertionMode=g.IN_FRAMESET)}(e,t);break;case d.TAG_ID.TEXTAREA:!function(e,t){e._insertElement(t,d.NS.HTML),e.skipNextNewLine=!0,e.tokenizer.state=r.TokenizerMode.RCDATA,e.originalInsertionMode=e.insertionMode,e.framesetOk=!1,e.insertionMode=g.TEXT}(e,t);break;case d.TAG_ID.NOSCRIPT:e.options.scriptingEnabled?U(e,t):z(e,t);break;case d.TAG_ID.PLAINTEXT:!function(e,t){e.openElements.hasInButtonScope(d.TAG_ID.P)&&e._closePElement(),e._insertElement(t,d.NS.HTML),e.tokenizer.state=r.TokenizerMode.PLAINTEXT}(e,t);break;case d.TAG_ID.COL:case d.TAG_ID.TH:case d.TAG_ID.TD:case d.TAG_ID.TR:case d.TAG_ID.HEAD:case d.TAG_ID.FRAME:case d.TAG_ID.TBODY:case d.TAG_ID.TFOOT:case d.TAG_ID.THEAD:case d.TAG_ID.CAPTION:case d.TAG_ID.COLGROUP:break;default:z(e,t)}}function $(e,t){const n=t.tagName,r=t.tagID;for(let t=e.openElements.stackTop;t>0;t--){const i=e.openElements.items[t],o=e.openElements.tagIDs[t];if(r===o&&(r!==d.TAG_ID.UNKNOWN||e.treeAdapter.getTagName(i)===n)){e.openElements.generateImpliedEndTagsWithExclusion(r),e.openElements.stackTop>=t&&e.openElements.shortenToLength(t);break}if(e._isSpecialElement(i,o))break}}function q(e,t){switch(t.tagID){case d.TAG_ID.A:case d.TAG_ID.B:case d.TAG_ID.I:case d.TAG_ID.S:case d.TAG_ID.U:case d.TAG_ID.EM:case d.TAG_ID.TT:case d.TAG_ID.BIG:case d.TAG_ID.CODE:case d.TAG_ID.FONT:case d.TAG_ID.NOBR:case d.TAG_ID.SMALL:case d.TAG_ID.STRIKE:case d.TAG_ID.STRONG:I(e,t);break;case d.TAG_ID.P:!function(e){e.openElements.hasInButtonScope(d.TAG_ID.P)||e._insertFakeElement(d.TAG_NAMES.P,d.TAG_ID.P),e._closePElement()}(e);break;case d.TAG_ID.DL:case d.TAG_ID.UL:case d.TAG_ID.OL:case d.TAG_ID.DIR:case d.TAG_ID.DIV:case d.TAG_ID.NAV:case d.TAG_ID.PRE:case d.TAG_ID.MAIN:case d.TAG_ID.MENU:case d.TAG_ID.ASIDE:case d.TAG_ID.BUTTON:case d.TAG_ID.CENTER:case d.TAG_ID.FIGURE:case d.TAG_ID.FOOTER:case d.TAG_ID.HEADER:case d.TAG_ID.HGROUP:case d.TAG_ID.DIALOG:case d.TAG_ID.ADDRESS:case d.TAG_ID.ARTICLE:case d.TAG_ID.DETAILS:case d.TAG_ID.SECTION:case d.TAG_ID.SUMMARY:case d.TAG_ID.LISTING:case d.TAG_ID.FIELDSET:case d.TAG_ID.BLOCKQUOTE:case d.TAG_ID.FIGCAPTION:!function(e,t){const n=t.tagID;e.openElements.hasInScope(n)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(n))}(e,t);break;case d.TAG_ID.LI:!function(e){e.openElements.hasInListItemScope(d.TAG_ID.LI)&&(e.openElements.generateImpliedEndTagsWithExclusion(d.TAG_ID.LI),e.openElements.popUntilTagNamePopped(d.TAG_ID.LI))}(e);break;case d.TAG_ID.DD:case d.TAG_ID.DT:!function(e,t){const n=t.tagID;e.openElements.hasInScope(n)&&(e.openElements.generateImpliedEndTagsWithExclusion(n),e.openElements.popUntilTagNamePopped(n))}(e,t);break;case d.TAG_ID.H1:case d.TAG_ID.H2:case d.TAG_ID.H3:case d.TAG_ID.H4:case d.TAG_ID.H5:case d.TAG_ID.H6:!function(e){e.openElements.hasNumberedHeaderInScope()&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilNumberedHeaderPopped())}(e);break;case d.TAG_ID.BR:!function(e){e._reconstructActiveFormattingElements(),e._insertFakeElement(d.TAG_NAMES.BR,d.TAG_ID.BR),e.openElements.pop(),e.framesetOk=!1}(e);break;case d.TAG_ID.BODY:!function(e,t){if(e.openElements.hasInScope(d.TAG_ID.BODY)&&(e.insertionMode=g.AFTER_BODY,e.options.sourceCodeLocationInfo)){const n=e.openElements.tryPeekProperlyNestedBodyElement();n&&e._setEndLocation(n,t)}}(e,t);break;case d.TAG_ID.HTML:!function(e,t){e.openElements.hasInScope(d.TAG_ID.BODY)&&(e.insertionMode=g.AFTER_BODY,de(e,t))}(e,t);break;case d.TAG_ID.FORM:!function(e){const t=e.openElements.tmplCount>0,{formElement:n}=e;t||(e.formElement=null),(n||t)&&e.openElements.hasInScope(d.TAG_ID.FORM)&&(e.openElements.generateImpliedEndTags(),t?e.openElements.popUntilTagNamePopped(d.TAG_ID.FORM):n&&e.openElements.remove(n))}(e);break;case d.TAG_ID.APPLET:case d.TAG_ID.OBJECT:case d.TAG_ID.MARQUEE:!function(e,t){const n=t.tagID;e.openElements.hasInScope(n)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(n),e.activeFormattingElements.clearToLastMarker())}(e,t);break;case d.TAG_ID.TEMPLATE:P(e,t);break;default:$(e,t)}}function W(e,t){e.tmplInsertionModeStack.length>0?ue(e,t):x(e,t)}function Y(e,t){if(v.has(e.openElements.currentTagId))switch(e.pendingCharacterTokens.length=0,e.hasNonWhitespacePendingCharacterToken=!1,e.originalInsertionMode=e.insertionMode,e.insertionMode=g.IN_TABLE_TEXT,t.type){case f.TokenType.CHARACTER:J(e,t);break;case f.TokenType.WHITESPACE_CHARACTER:Z(e,t)}else Q(e,t)}function K(e,t){switch(t.tagID){case d.TAG_ID.TD:case d.TAG_ID.TH:case d.TAG_ID.TR:!function(e,t){e.openElements.clearBackToTableContext(),e._insertFakeElement(d.TAG_NAMES.TBODY,d.TAG_ID.TBODY),e.insertionMode=g.IN_TABLE_BODY,ie(e,t)}(e,t);break;case d.TAG_ID.STYLE:case d.TAG_ID.SCRIPT:case d.TAG_ID.TEMPLATE:N(e,t);break;case d.TAG_ID.COL:!function(e,t){e.openElements.clearBackToTableContext(),e._insertFakeElement(d.TAG_NAMES.COLGROUP,d.TAG_ID.COLGROUP),e.insertionMode=g.IN_COLUMN_GROUP,ne(e,t)}(e,t);break;case d.TAG_ID.FORM:!function(e,t){e.formElement||0!==e.openElements.tmplCount||(e._insertElement(t,d.NS.HTML),e.formElement=e.openElements.current,e.openElements.pop())}(e,t);break;case d.TAG_ID.TABLE:!function(e,t){e.openElements.hasInTableScope(d.TAG_ID.TABLE)&&(e.openElements.popUntilTagNamePopped(d.TAG_ID.TABLE),e._resetInsertionMode(),e._processStartTag(t))}(e,t);break;case d.TAG_ID.TBODY:case d.TAG_ID.TFOOT:case d.TAG_ID.THEAD:!function(e,t){e.openElements.clearBackToTableContext(),e._insertElement(t,d.NS.HTML),e.insertionMode=g.IN_TABLE_BODY}(e,t);break;case d.TAG_ID.INPUT:!function(e,t){H(t)?e._appendElement(t,d.NS.HTML):Q(e,t),t.ackSelfClosing=!0}(e,t);break;case d.TAG_ID.CAPTION:!function(e,t){e.openElements.clearBackToTableContext(),e.activeFormattingElements.insertMarker(),e._insertElement(t,d.NS.HTML),e.insertionMode=g.IN_CAPTION}(e,t);break;case d.TAG_ID.COLGROUP:!function(e,t){e.openElements.clearBackToTableContext(),e._insertElement(t,d.NS.HTML),e.insertionMode=g.IN_COLUMN_GROUP}(e,t);break;default:Q(e,t)}}function X(e,t){switch(t.tagID){case d.TAG_ID.TABLE:e.openElements.hasInTableScope(d.TAG_ID.TABLE)&&(e.openElements.popUntilTagNamePopped(d.TAG_ID.TABLE),e._resetInsertionMode());break;case d.TAG_ID.TEMPLATE:P(e,t);break;case d.TAG_ID.BODY:case d.TAG_ID.CAPTION:case d.TAG_ID.COL:case d.TAG_ID.COLGROUP:case d.TAG_ID.HTML:case d.TAG_ID.TBODY:case d.TAG_ID.TD:case d.TAG_ID.TFOOT:case d.TAG_ID.TH:case d.TAG_ID.THEAD:case d.TAG_ID.TR:break;default:Q(e,t)}}function Q(e,t){const n=e.fosterParentingEnabled;e.fosterParentingEnabled=!0,B(e,t),e.fosterParentingEnabled=n}function Z(e,t){e.pendingCharacterTokens.push(t)}function J(e,t){e.pendingCharacterTokens.push(t),e.hasNonWhitespacePendingCharacterToken=!0}function ee(e,t){let n=0;if(e.hasNonWhitespacePendingCharacterToken)for(;n<e.pendingCharacterTokens.length;n++)Q(e,e.pendingCharacterTokens[n]);else for(;n<e.pendingCharacterTokens.length;n++)e._insertCharacters(e.pendingCharacterTokens[n]);e.insertionMode=e.originalInsertionMode,e._processToken(t)}t.Parser=class{constructor(e,t,n=null,a=null){this.fragmentContext=n,this.scriptHandler=a,this.currentToken=null,this.stopped=!1,this.insertionMode=g.INITIAL,this.originalInsertionMode=g.INITIAL,this.headElement=null,this.formElement=null,this.currentNotInHTML=!1,this.tmplInsertionModeStack=[],this.pendingCharacterTokens=[],this.hasNonWhitespacePendingCharacterToken=!1,this.framesetOk=!0,this.skipNextNewLine=!1,this.fosterParentingEnabled=!1,this.options=Object.assign(Object.assign({},y),e),this.treeAdapter=this.options.treeAdapter,this.onParseError=this.options.onParseError,this.onParseError&&(this.options.sourceCodeLocationInfo=!0),this.document=null!=t?t:this.treeAdapter.createDocument(),this.tokenizer=new r.Tokenizer(this.options,this),this.activeFormattingElements=new o.FormattingElementList(this.treeAdapter),this.fragmentContextID=n?(0,d.getTagID)(this.treeAdapter.getTagName(n)):d.TAG_ID.UNKNOWN,this._setContextModes(null!=n?n:this.document,this.fragmentContextID),this.openElements=new i.OpenElementStack(this.document,this.treeAdapter,this)}static parse(e,t){const n=new this(t);return n.tokenizer.write(e,!0),n.document}static getFragmentParser(e,t){const n=Object.assign(Object.assign({},y),t);null!=e||(e=n.treeAdapter.createElement(d.TAG_NAMES.TEMPLATE,d.NS.HTML,[]));const r=n.treeAdapter.createElement("documentmock",d.NS.HTML,[]),i=new this(n,r,e);return i.fragmentContextID===d.TAG_ID.TEMPLATE&&i.tmplInsertionModeStack.unshift(g.IN_TEMPLATE),i._initTokenizerForFragmentParsing(),i._insertFakeRootElement(),i._resetInsertionMode(),i._findFormInFragmentContext(),i}getFragment(){const e=this.treeAdapter.getFirstChild(this.document),t=this.treeAdapter.createDocumentFragment();return this._adoptNodes(e,t),t}_err(e,t,n){var r;if(!this.onParseError)return;const i=null!==(r=e.location)&&void 0!==r?r:b,o={code:t,startLine:i.startLine,startCol:i.startCol,startOffset:i.startOffset,endLine:n?i.startLine:i.endLine,endCol:n?i.startCol:i.endCol,endOffset:n?i.startOffset:i.endOffset};this.onParseError(o)}onItemPush(e,t,n){var r,i;null===(i=(r=this.treeAdapter).onItemPush)||void 0===i||i.call(r,e),n&&this.openElements.stackTop>0&&this._setContextModes(e,t)}onItemPop(e,t){var n,r;if(this.options.sourceCodeLocationInfo&&this._setEndLocation(e,this.currentToken),null===(r=(n=this.treeAdapter).onItemPop)||void 0===r||r.call(n,e,this.openElements.current),t){let e,t;0===this.openElements.stackTop&&this.fragmentContext?(e=this.fragmentContext,t=this.fragmentContextID):({current:e,currentTagId:t}=this.openElements),this._setContextModes(e,t)}}_setContextModes(e,t){const n=e===this.document||this.treeAdapter.getNamespaceURI(e)===d.NS.HTML;this.currentNotInHTML=!n,this.tokenizer.inForeignNode=!n&&!this._isIntegrationPoint(t,e)}_switchToTextParsing(e,t){this._insertElement(e,d.NS.HTML),this.tokenizer.state=t,this.originalInsertionMode=this.insertionMode,this.insertionMode=g.TEXT}switchToPlaintextParsing(){this.insertionMode=g.TEXT,this.originalInsertionMode=g.IN_BODY,this.tokenizer.state=r.TokenizerMode.PLAINTEXT}_getAdjustedCurrentElement(){return 0===this.openElements.stackTop&&this.fragmentContext?this.fragmentContext:this.openElements.current}_findFormInFragmentContext(){let e=this.fragmentContext;for(;e;){if(this.treeAdapter.getTagName(e)===d.TAG_NAMES.FORM){this.formElement=e;break}e=this.treeAdapter.getParentNode(e)}}_initTokenizerForFragmentParsing(){if(this.fragmentContext&&this.treeAdapter.getNamespaceURI(this.fragmentContext)===d.NS.HTML)switch(this.fragmentContextID){case d.TAG_ID.TITLE:case d.TAG_ID.TEXTAREA:this.tokenizer.state=r.TokenizerMode.RCDATA;break;case d.TAG_ID.STYLE:case d.TAG_ID.XMP:case d.TAG_ID.IFRAME:case d.TAG_ID.NOEMBED:case d.TAG_ID.NOFRAMES:case d.TAG_ID.NOSCRIPT:this.tokenizer.state=r.TokenizerMode.RAWTEXT;break;case d.TAG_ID.SCRIPT:this.tokenizer.state=r.TokenizerMode.SCRIPT_DATA;break;case d.TAG_ID.PLAINTEXT:this.tokenizer.state=r.TokenizerMode.PLAINTEXT}}_setDocumentType(e){const t=e.name||"",n=e.publicId||"",r=e.systemId||"";if(this.treeAdapter.setDocumentType(this.document,t,n,r),e.location){const t=this.treeAdapter.getChildNodes(this.document).find((e=>this.treeAdapter.isDocumentTypeNode(e)));t&&this.treeAdapter.setNodeSourceCodeLocation(t,e.location)}}_attachElementToTree(e,t){if(this.options.sourceCodeLocationInfo){const n=t&&Object.assign(Object.assign({},t),{startTag:t});this.treeAdapter.setNodeSourceCodeLocation(e,n)}if(this._shouldFosterParentOnInsertion())this._fosterParentElement(e);else{const t=this.openElements.currentTmplContentOrNode;this.treeAdapter.appendChild(t,e)}}_appendElement(e,t){const n=this.treeAdapter.createElement(e.tagName,t,e.attrs);this._attachElementToTree(n,e.location)}_insertElement(e,t){const n=this.treeAdapter.createElement(e.tagName,t,e.attrs);this._attachElementToTree(n,e.location),this.openElements.push(n,e.tagID)}_insertFakeElement(e,t){const n=this.treeAdapter.createElement(e,d.NS.HTML,[]);this._attachElementToTree(n,null),this.openElements.push(n,t)}_insertTemplate(e){const t=this.treeAdapter.createElement(e.tagName,d.NS.HTML,e.attrs),n=this.treeAdapter.createDocumentFragment();this.treeAdapter.setTemplateContent(t,n),this._attachElementToTree(t,e.location),this.openElements.push(t,e.tagID),this.options.sourceCodeLocationInfo&&this.treeAdapter.setNodeSourceCodeLocation(n,null)}_insertFakeRootElement(){const e=this.treeAdapter.createElement(d.TAG_NAMES.HTML,d.NS.HTML,[]);this.options.sourceCodeLocationInfo&&this.treeAdapter.setNodeSourceCodeLocation(e,null),this.treeAdapter.appendChild(this.openElements.current,e),this.openElements.push(e,d.TAG_ID.HTML)}_appendCommentNode(e,t){const n=this.treeAdapter.createCommentNode(e.data);this.treeAdapter.appendChild(t,n),this.options.sourceCodeLocationInfo&&this.treeAdapter.setNodeSourceCodeLocation(n,e.location)}_insertCharacters(e){let t,n;if(this._shouldFosterParentOnInsertion()?(({parent:t,beforeElement:n}=this._findFosterParentingLocation()),n?this.treeAdapter.insertTextBefore(t,e.chars,n):this.treeAdapter.insertText(t,e.chars)):(t=this.openElements.currentTmplContentOrNode,this.treeAdapter.insertText(t,e.chars)),!e.location)return;const r=this.treeAdapter.getChildNodes(t),i=n?r.lastIndexOf(n):r.length,o=r[i-1];if(this.treeAdapter.getNodeSourceCodeLocation(o)){const{endLine:t,endCol:n,endOffset:r}=e.location;this.treeAdapter.updateNodeSourceCodeLocation(o,{endLine:t,endCol:n,endOffset:r})}else this.options.sourceCodeLocationInfo&&this.treeAdapter.setNodeSourceCodeLocation(o,e.location)}_adoptNodes(e,t){for(let n=this.treeAdapter.getFirstChild(e);n;n=this.treeAdapter.getFirstChild(e))this.treeAdapter.detachNode(n),this.treeAdapter.appendChild(t,n)}_setEndLocation(e,t){if(this.treeAdapter.getNodeSourceCodeLocation(e)&&t.location){const n=t.location,r=this.treeAdapter.getTagName(e),i=t.type===f.TokenType.END_TAG&&r===t.tagName?{endTag:Object.assign({},n),endLine:n.endLine,endCol:n.endCol,endOffset:n.endOffset}:{endLine:n.startLine,endCol:n.startCol,endOffset:n.startOffset};this.treeAdapter.updateNodeSourceCodeLocation(e,i)}}shouldProcessStartTagTokenInForeignContent(e){if(!this.currentNotInHTML)return!1;let t,n;return 0===this.openElements.stackTop&&this.fragmentContext?(t=this.fragmentContext,n=this.fragmentContextID):({current:t,currentTagId:n}=this.openElements),(e.tagID!==d.TAG_ID.SVG||this.treeAdapter.getTagName(t)!==d.TAG_NAMES.ANNOTATION_XML||this.treeAdapter.getNamespaceURI(t)!==d.NS.MATHML)&&(this.tokenizer.inForeignNode||(e.tagID===d.TAG_ID.MGLYPH||e.tagID===d.TAG_ID.MALIGNMARK)&&!this._isIntegrationPoint(n,t,d.NS.HTML))}_processToken(e){switch(e.type){case f.TokenType.CHARACTER:this.onCharacter(e);break;case f.TokenType.NULL_CHARACTER:this.onNullCharacter(e);break;case f.TokenType.COMMENT:this.onComment(e);break;case f.TokenType.DOCTYPE:this.onDoctype(e);break;case f.TokenType.START_TAG:this._processStartTag(e);break;case f.TokenType.END_TAG:this.onEndTag(e);break;case f.TokenType.EOF:this.onEof(e);break;case f.TokenType.WHITESPACE_CHARACTER:this.onWhitespaceCharacter(e)}}_isIntegrationPoint(e,t,n){const r=this.treeAdapter.getNamespaceURI(t),i=this.treeAdapter.getAttrList(t);return l.isIntegrationPoint(e,r,i,n)}_reconstructActiveFormattingElements(){const e=this.activeFormattingElements.entries.length;if(e){const t=this.activeFormattingElements.entries.findIndex((e=>e.type===o.EntryType.Marker||this.openElements.contains(e.element)));for(let n=t<0?e-1:t-1;n>=0;n--){const e=this.activeFormattingElements.entries[n];this._insertElement(e.token,this.treeAdapter.getNamespaceURI(e.element)),e.element=this.openElements.current}}}_closeTableCell(){this.openElements.generateImpliedEndTags(),this.openElements.popUntilTableCellPopped(),this.activeFormattingElements.clearToLastMarker(),this.insertionMode=g.IN_ROW}_closePElement(){this.openElements.generateImpliedEndTagsWithExclusion(d.TAG_ID.P),this.openElements.popUntilTagNamePopped(d.TAG_ID.P)}_resetInsertionMode(){for(let e=this.openElements.stackTop;e>=0;e--)switch(0===e&&this.fragmentContext?this.fragmentContextID:this.openElements.tagIDs[e]){case d.TAG_ID.TR:return void(this.insertionMode=g.IN_ROW);case d.TAG_ID.TBODY:case d.TAG_ID.THEAD:case d.TAG_ID.TFOOT:return void(this.insertionMode=g.IN_TABLE_BODY);case d.TAG_ID.CAPTION:return void(this.insertionMode=g.IN_CAPTION);case d.TAG_ID.COLGROUP:return void(this.insertionMode=g.IN_COLUMN_GROUP);case d.TAG_ID.TABLE:return void(this.insertionMode=g.IN_TABLE);case d.TAG_ID.BODY:return void(this.insertionMode=g.IN_BODY);case d.TAG_ID.FRAMESET:return void(this.insertionMode=g.IN_FRAMESET);case d.TAG_ID.SELECT:return void this._resetInsertionModeForSelect(e);case d.TAG_ID.TEMPLATE:return void(this.insertionMode=this.tmplInsertionModeStack[0]);case d.TAG_ID.HTML:return void(this.insertionMode=this.headElement?g.AFTER_HEAD:g.BEFORE_HEAD);case d.TAG_ID.TD:case d.TAG_ID.TH:if(e>0)return void(this.insertionMode=g.IN_CELL);break;case d.TAG_ID.HEAD:if(e>0)return void(this.insertionMode=g.IN_HEAD)}this.insertionMode=g.IN_BODY}_resetInsertionModeForSelect(e){if(e>0)for(let t=e-1;t>0;t--){const e=this.openElements.tagIDs[t];if(e===d.TAG_ID.TEMPLATE)break;if(e===d.TAG_ID.TABLE)return void(this.insertionMode=g.IN_SELECT_IN_TABLE)}this.insertionMode=g.IN_SELECT}_isElementCausesFosterParenting(e){return v.has(e)}_shouldFosterParentOnInsertion(){return this.fosterParentingEnabled&&this._isElementCausesFosterParenting(this.openElements.currentTagId)}_findFosterParentingLocation(){for(let e=this.openElements.stackTop;e>=0;e--){const t=this.openElements.items[e];switch(this.openElements.tagIDs[e]){case d.TAG_ID.TEMPLATE:if(this.treeAdapter.getNamespaceURI(t)===d.NS.HTML)return{parent:this.treeAdapter.getTemplateContent(t),beforeElement:null};break;case d.TAG_ID.TABLE:{const n=this.treeAdapter.getParentNode(t);return n?{parent:n,beforeElement:t}:{parent:this.openElements.items[e-1],beforeElement:null}}}}return{parent:this.openElements.items[0],beforeElement:null}}_fosterParentElement(e){const t=this._findFosterParentingLocation();t.beforeElement?this.treeAdapter.insertBefore(t.parent,e,t.beforeElement):this.treeAdapter.appendChild(t.parent,e)}_isSpecialElement(e,t){const n=this.treeAdapter.getNamespaceURI(e);return d.SPECIAL_ELEMENTS[n].has(t)}onCharacter(e){if(this.skipNextNewLine=!1,this.tokenizer.inForeignNode)!function(e,t){e._insertCharacters(t),e.framesetOk=!1}(this,e);else switch(this.insertionMode){case g.INITIAL:D(this,e);break;case g.BEFORE_HTML:k(this,e);break;case g.BEFORE_HEAD:O(this,e);break;case g.IN_HEAD:R(this,e);break;case g.IN_HEAD_NO_SCRIPT:L(this,e);break;case g.AFTER_HEAD:M(this,e);break;case g.IN_BODY:case g.IN_CAPTION:case g.IN_CELL:case g.IN_TEMPLATE:G(this,e);break;case g.TEXT:case g.IN_SELECT:case g.IN_SELECT_IN_TABLE:this._insertCharacters(e);break;case g.IN_TABLE:case g.IN_TABLE_BODY:case g.IN_ROW:Y(this,e);break;case g.IN_TABLE_TEXT:J(this,e);break;case g.IN_COLUMN_GROUP:re(this,e);break;case g.AFTER_BODY:fe(this,e);break;case g.AFTER_AFTER_BODY:he(this,e)}}onNullCharacter(e){if(this.skipNextNewLine=!1,this.tokenizer.inForeignNode)!function(e,t){t.chars=u.REPLACEMENT_CHARACTER,e._insertCharacters(t)}(this,e);else switch(this.insertionMode){case g.INITIAL:D(this,e);break;case g.BEFORE_HTML:k(this,e);break;case g.BEFORE_HEAD:O(this,e);break;case g.IN_HEAD:R(this,e);break;case g.IN_HEAD_NO_SCRIPT:L(this,e);break;case g.AFTER_HEAD:M(this,e);break;case g.TEXT:this._insertCharacters(e);break;case g.IN_TABLE:case g.IN_TABLE_BODY:case g.IN_ROW:Y(this,e);break;case g.IN_COLUMN_GROUP:re(this,e);break;case g.AFTER_BODY:fe(this,e);break;case g.AFTER_AFTER_BODY:he(this,e)}}onComment(e){if(this.skipNextNewLine=!1,this.currentNotInHTML)w(this,e);else switch(this.insertionMode){case g.INITIAL:case g.BEFORE_HTML:case g.BEFORE_HEAD:case g.IN_HEAD:case g.IN_HEAD_NO_SCRIPT:case g.AFTER_HEAD:case g.IN_BODY:case g.IN_TABLE:case g.IN_CAPTION:case g.IN_COLUMN_GROUP:case g.IN_TABLE_BODY:case g.IN_ROW:case g.IN_CELL:case g.IN_SELECT:case g.IN_SELECT_IN_TABLE:case g.IN_TEMPLATE:case g.IN_FRAMESET:case g.AFTER_FRAMESET:w(this,e);break;case g.IN_TABLE_TEXT:ee(this,e);break;case g.AFTER_BODY:!function(e,t){e._appendCommentNode(t,e.openElements.items[0])}(this,e);break;case g.AFTER_AFTER_BODY:case g.AFTER_AFTER_FRAMESET:!function(e,t){e._appendCommentNode(t,e.document)}(this,e)}}onDoctype(e){switch(this.skipNextNewLine=!1,this.insertionMode){case g.INITIAL:!function(e,t){e._setDocumentType(t);const n=t.forceQuirks?d.DOCUMENT_MODE.QUIRKS:s.getDocumentMode(t);s.isConforming(t)||e._err(t,c.ERR.nonConformingDoctype),e.treeAdapter.setDocumentMode(e.document,n),e.insertionMode=g.BEFORE_HTML}(this,e);break;case g.BEFORE_HEAD:case g.IN_HEAD:case g.IN_HEAD_NO_SCRIPT:case g.AFTER_HEAD:this._err(e,c.ERR.misplacedDoctype);break;case g.IN_TABLE_TEXT:ee(this,e)}}onStartTag(e){this.skipNextNewLine=!1,this.currentToken=e,this._processStartTag(e),e.selfClosing&&!e.ackSelfClosing&&this._err(e,c.ERR.nonVoidHtmlElementStartTagWithTrailingSolidus)}_processStartTag(e){this.shouldProcessStartTagTokenInForeignContent(e)?function(e,t){if(l.causesExit(t))pe(e),e._startTagOutsideForeignContent(t);else{const n=e._getAdjustedCurrentElement(),r=e.treeAdapter.getNamespaceURI(n);r===d.NS.MATHML?l.adjustTokenMathMLAttrs(t):r===d.NS.SVG&&(l.adjustTokenSVGTagName(t),l.adjustTokenSVGAttrs(t)),l.adjustTokenXMLAttrs(t),t.selfClosing?e._appendElement(t,r):e._insertElement(t,r),t.ackSelfClosing=!0}}(this,e):this._startTagOutsideForeignContent(e)}_startTagOutsideForeignContent(e){switch(this.insertionMode){case g.INITIAL:D(this,e);break;case g.BEFORE_HTML:!function(e,t){t.tagID===d.TAG_ID.HTML?(e._insertElement(t,d.NS.HTML),e.insertionMode=g.BEFORE_HEAD):k(e,t)}(this,e);break;case g.BEFORE_HEAD:!function(e,t){switch(t.tagID){case d.TAG_ID.HTML:V(e,t);break;case d.TAG_ID.HEAD:e._insertElement(t,d.NS.HTML),e.headElement=e.openElements.current,e.insertionMode=g.IN_HEAD;break;default:O(e,t)}}(this,e);break;case g.IN_HEAD:N(this,e);break;case g.IN_HEAD_NO_SCRIPT:!function(e,t){switch(t.tagID){case d.TAG_ID.HTML:V(e,t);break;case d.TAG_ID.BASEFONT:case d.TAG_ID.BGSOUND:case d.TAG_ID.HEAD:case d.TAG_ID.LINK:case d.TAG_ID.META:case d.TAG_ID.NOFRAMES:case d.TAG_ID.STYLE:N(e,t);break;case d.TAG_ID.NOSCRIPT:e._err(t,c.ERR.nestedNoscriptInHead);break;default:L(e,t)}}(this,e);break;case g.AFTER_HEAD:!function(e,t){switch(t.tagID){case d.TAG_ID.HTML:V(e,t);break;case d.TAG_ID.BODY:e._insertElement(t,d.NS.HTML),e.framesetOk=!1,e.insertionMode=g.IN_BODY;break;case d.TAG_ID.FRAMESET:e._insertElement(t,d.NS.HTML),e.insertionMode=g.IN_FRAMESET;break;case d.TAG_ID.BASE:case d.TAG_ID.BASEFONT:case d.TAG_ID.BGSOUND:case d.TAG_ID.LINK:case d.TAG_ID.META:case d.TAG_ID.NOFRAMES:case d.TAG_ID.SCRIPT:case d.TAG_ID.STYLE:case d.TAG_ID.TEMPLATE:case d.TAG_ID.TITLE:e._err(t,c.ERR.abandonedHeadElementChild),e.openElements.push(e.headElement,d.TAG_ID.HEAD),N(e,t),e.openElements.remove(e.headElement);break;case d.TAG_ID.HEAD:e._err(t,c.ERR.misplacedStartTagForHeadElement);break;default:M(e,t)}}(this,e);break;case g.IN_BODY:V(this,e);break;case g.IN_TABLE:K(this,e);break;case g.IN_TABLE_TEXT:ee(this,e);break;case g.IN_CAPTION:!function(e,t){const n=t.tagID;te.has(n)?e.openElements.hasInTableScope(d.TAG_ID.CAPTION)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(d.TAG_ID.CAPTION),e.activeFormattingElements.clearToLastMarker(),e.insertionMode=g.IN_TABLE,K(e,t)):V(e,t)}(this,e);break;case g.IN_COLUMN_GROUP:ne(this,e);break;case g.IN_TABLE_BODY:ie(this,e);break;case g.IN_ROW:ae(this,e);break;case g.IN_CELL:!function(e,t){const n=t.tagID;te.has(n)?(e.openElements.hasInTableScope(d.TAG_ID.TD)||e.openElements.hasInTableScope(d.TAG_ID.TH))&&(e._closeTableCell(),ae(e,t)):V(e,t)}(this,e);break;case g.IN_SELECT:le(this,e);break;case g.IN_SELECT_IN_TABLE:!function(e,t){const n=t.tagID;n===d.TAG_ID.CAPTION||n===d.TAG_ID.TABLE||n===d.TAG_ID.TBODY||n===d.TAG_ID.TFOOT||n===d.TAG_ID.THEAD||n===d.TAG_ID.TR||n===d.TAG_ID.TD||n===d.TAG_ID.TH?(e.openElements.popUntilTagNamePopped(d.TAG_ID.SELECT),e._resetInsertionMode(),e._processStartTag(t)):le(e,t)}(this,e);break;case g.IN_TEMPLATE:!function(e,t){switch(t.tagID){case d.TAG_ID.BASE:case d.TAG_ID.BASEFONT:case d.TAG_ID.BGSOUND:case d.TAG_ID.LINK:case d.TAG_ID.META:case d.TAG_ID.NOFRAMES:case d.TAG_ID.SCRIPT:case d.TAG_ID.STYLE:case d.TAG_ID.TEMPLATE:case d.TAG_ID.TITLE:N(e,t);break;case d.TAG_ID.CAPTION:case d.TAG_ID.COLGROUP:case d.TAG_ID.TBODY:case d.TAG_ID.TFOOT:case d.TAG_ID.THEAD:e.tmplInsertionModeStack[0]=g.IN_TABLE,e.insertionMode=g.IN_TABLE,K(e,t);break;case d.TAG_ID.COL:e.tmplInsertionModeStack[0]=g.IN_COLUMN_GROUP,e.insertionMode=g.IN_COLUMN_GROUP,ne(e,t);break;case d.TAG_ID.TR:e.tmplInsertionModeStack[0]=g.IN_TABLE_BODY,e.insertionMode=g.IN_TABLE_BODY,ie(e,t);break;case d.TAG_ID.TD:case d.TAG_ID.TH:e.tmplInsertionModeStack[0]=g.IN_ROW,e.insertionMode=g.IN_ROW,ae(e,t);break;default:e.tmplInsertionModeStack[0]=g.IN_BODY,e.insertionMode=g.IN_BODY,V(e,t)}}(this,e);break;case g.AFTER_BODY:!function(e,t){t.tagID===d.TAG_ID.HTML?V(e,t):fe(e,t)}(this,e);break;case g.IN_FRAMESET:!function(e,t){switch(t.tagID){case d.TAG_ID.HTML:V(e,t);break;case d.TAG_ID.FRAMESET:e._insertElement(t,d.NS.HTML);break;case d.TAG_ID.FRAME:e._appendElement(t,d.NS.HTML),t.ackSelfClosing=!0;break;case d.TAG_ID.NOFRAMES:N(e,t)}}(this,e);break;case g.AFTER_FRAMESET:!function(e,t){switch(t.tagID){case d.TAG_ID.HTML:V(e,t);break;case d.TAG_ID.NOFRAMES:N(e,t)}}(this,e);break;case g.AFTER_AFTER_BODY:!function(e,t){t.tagID===d.TAG_ID.HTML?V(e,t):he(e,t)}(this,e);break;case g.AFTER_AFTER_FRAMESET:!function(e,t){switch(t.tagID){case d.TAG_ID.HTML:V(e,t);break;case d.TAG_ID.NOFRAMES:N(e,t)}}(this,e)}}onEndTag(e){this.skipNextNewLine=!1,this.currentToken=e,this.currentNotInHTML?function(e,t){if(t.tagID===d.TAG_ID.P||t.tagID===d.TAG_ID.BR)return pe(e),void e._endTagOutsideForeignContent(t);for(let n=e.openElements.stackTop;n>0;n--){const r=e.openElements.items[n];if(e.treeAdapter.getNamespaceURI(r)===d.NS.HTML){e._endTagOutsideForeignContent(t);break}const i=e.treeAdapter.getTagName(r);if(i.toLowerCase()===t.tagName){t.tagName=i,e.openElements.shortenToLength(n);break}}}(this,e):this._endTagOutsideForeignContent(e)}_endTagOutsideForeignContent(e){switch(this.insertionMode){case g.INITIAL:D(this,e);break;case g.BEFORE_HTML:!function(e,t){const n=t.tagID;n!==d.TAG_ID.HTML&&n!==d.TAG_ID.HEAD&&n!==d.TAG_ID.BODY&&n!==d.TAG_ID.BR||k(e,t)}(this,e);break;case g.BEFORE_HEAD:!function(e,t){const n=t.tagID;n===d.TAG_ID.HEAD||n===d.TAG_ID.BODY||n===d.TAG_ID.HTML||n===d.TAG_ID.BR?O(e,t):e._err(t,c.ERR.endTagWithoutMatchingOpenElement)}(this,e);break;case g.IN_HEAD:!function(e,t){switch(t.tagID){case d.TAG_ID.HEAD:e.openElements.pop(),e.insertionMode=g.AFTER_HEAD;break;case d.TAG_ID.BODY:case d.TAG_ID.BR:case d.TAG_ID.HTML:R(e,t);break;case d.TAG_ID.TEMPLATE:P(e,t);break;default:e._err(t,c.ERR.endTagWithoutMatchingOpenElement)}}(this,e);break;case g.IN_HEAD_NO_SCRIPT:!function(e,t){switch(t.tagID){case d.TAG_ID.NOSCRIPT:e.openElements.pop(),e.insertionMode=g.IN_HEAD;break;case d.TAG_ID.BR:L(e,t);break;default:e._err(t,c.ERR.endTagWithoutMatchingOpenElement)}}(this,e);break;case g.AFTER_HEAD:!function(e,t){switch(t.tagID){case d.TAG_ID.BODY:case d.TAG_ID.HTML:case d.TAG_ID.BR:M(e,t);break;case d.TAG_ID.TEMPLATE:P(e,t);break;default:e._err(t,c.ERR.endTagWithoutMatchingOpenElement)}}(this,e);break;case g.IN_BODY:q(this,e);break;case g.TEXT:!function(e,t){var n;t.tagID===d.TAG_ID.SCRIPT&&(null===(n=e.scriptHandler)||void 0===n||n.call(e,e.openElements.current)),e.openElements.pop(),e.insertionMode=e.originalInsertionMode}(this,e);break;case g.IN_TABLE:X(this,e);break;case g.IN_TABLE_TEXT:ee(this,e);break;case g.IN_CAPTION:!function(e,t){const n=t.tagID;switch(n){case d.TAG_ID.CAPTION:case d.TAG_ID.TABLE:e.openElements.hasInTableScope(d.TAG_ID.CAPTION)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(d.TAG_ID.CAPTION),e.activeFormattingElements.clearToLastMarker(),e.insertionMode=g.IN_TABLE,n===d.TAG_ID.TABLE&&X(e,t));break;case d.TAG_ID.BODY:case d.TAG_ID.COL:case d.TAG_ID.COLGROUP:case d.TAG_ID.HTML:case d.TAG_ID.TBODY:case d.TAG_ID.TD:case d.TAG_ID.TFOOT:case d.TAG_ID.TH:case d.TAG_ID.THEAD:case d.TAG_ID.TR:break;default:q(e,t)}}(this,e);break;case g.IN_COLUMN_GROUP:!function(e,t){switch(t.tagID){case d.TAG_ID.COLGROUP:e.openElements.currentTagId===d.TAG_ID.COLGROUP&&(e.openElements.pop(),e.insertionMode=g.IN_TABLE);break;case d.TAG_ID.TEMPLATE:P(e,t);break;case d.TAG_ID.COL:break;default:re(e,t)}}(this,e);break;case g.IN_TABLE_BODY:oe(this,e);break;case g.IN_ROW:se(this,e);break;case g.IN_CELL:!function(e,t){const n=t.tagID;switch(n){case d.TAG_ID.TD:case d.TAG_ID.TH:e.openElements.hasInTableScope(n)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(n),e.activeFormattingElements.clearToLastMarker(),e.insertionMode=g.IN_ROW);break;case d.TAG_ID.TABLE:case d.TAG_ID.TBODY:case d.TAG_ID.TFOOT:case d.TAG_ID.THEAD:case d.TAG_ID.TR:e.openElements.hasInTableScope(n)&&(e._closeTableCell(),se(e,t));break;case d.TAG_ID.BODY:case d.TAG_ID.CAPTION:case d.TAG_ID.COL:case d.TAG_ID.COLGROUP:case d.TAG_ID.HTML:break;default:q(e,t)}}(this,e);break;case g.IN_SELECT:ce(this,e);break;case g.IN_SELECT_IN_TABLE:!function(e,t){const n=t.tagID;n===d.TAG_ID.CAPTION||n===d.TAG_ID.TABLE||n===d.TAG_ID.TBODY||n===d.TAG_ID.TFOOT||n===d.TAG_ID.THEAD||n===d.TAG_ID.TR||n===d.TAG_ID.TD||n===d.TAG_ID.TH?e.openElements.hasInTableScope(n)&&(e.openElements.popUntilTagNamePopped(d.TAG_ID.SELECT),e._resetInsertionMode(),e.onEndTag(t)):ce(e,t)}(this,e);break;case g.IN_TEMPLATE:!function(e,t){t.tagID===d.TAG_ID.TEMPLATE&&P(e,t)}(this,e);break;case g.AFTER_BODY:de(this,e);break;case g.IN_FRAMESET:!function(e,t){t.tagID!==d.TAG_ID.FRAMESET||e.openElements.isRootHtmlElementCurrent()||(e.openElements.pop(),e.fragmentContext||e.openElements.currentTagId===d.TAG_ID.FRAMESET||(e.insertionMode=g.AFTER_FRAMESET))}(this,e);break;case g.AFTER_FRAMESET:!function(e,t){t.tagID===d.TAG_ID.HTML&&(e.insertionMode=g.AFTER_AFTER_FRAMESET)}(this,e);break;case g.AFTER_AFTER_BODY:he(this,e)}}onEof(e){switch(this.insertionMode){case g.INITIAL:D(this,e);break;case g.BEFORE_HTML:k(this,e);break;case g.BEFORE_HEAD:O(this,e);break;case g.IN_HEAD:R(this,e);break;case g.IN_HEAD_NO_SCRIPT:L(this,e);break;case g.AFTER_HEAD:M(this,e);break;case g.IN_BODY:case g.IN_TABLE:case g.IN_CAPTION:case g.IN_COLUMN_GROUP:case g.IN_TABLE_BODY:case g.IN_ROW:case g.IN_CELL:case g.IN_SELECT:case g.IN_SELECT_IN_TABLE:W(this,e);break;case g.TEXT:!function(e,t){e._err(t,c.ERR.eofInElementThatCanContainOnlyText),e.openElements.pop(),e.insertionMode=e.originalInsertionMode,e.onEof(t)}(this,e);break;case g.IN_TABLE_TEXT:ee(this,e);break;case g.IN_TEMPLATE:ue(this,e);break;case g.AFTER_BODY:case g.IN_FRAMESET:case g.AFTER_FRAMESET:case g.AFTER_AFTER_BODY:case g.AFTER_AFTER_FRAMESET:x(this,e)}}onWhitespaceCharacter(e){if(this.skipNextNewLine&&(this.skipNextNewLine=!1,e.chars.charCodeAt(0)===u.CODE_POINTS.LINE_FEED)){if(1===e.chars.length)return;e.chars=e.chars.substr(1)}if(this.tokenizer.inForeignNode)this._insertCharacters(e);else switch(this.insertionMode){case g.IN_HEAD:case g.IN_HEAD_NO_SCRIPT:case g.AFTER_HEAD:case g.TEXT:case g.IN_COLUMN_GROUP:case g.IN_SELECT:case g.IN_SELECT_IN_TABLE:case g.IN_FRAMESET:case g.AFTER_FRAMESET:this._insertCharacters(e);break;case g.IN_BODY:case g.IN_CAPTION:case g.IN_CELL:case g.IN_TEMPLATE:case g.AFTER_BODY:case g.AFTER_AFTER_BODY:case g.AFTER_AFTER_FRAMESET:F(this,e);break;case g.IN_TABLE:case g.IN_TABLE_BODY:case g.IN_ROW:Y(this,e);break;case g.IN_TABLE_TEXT:Z(this,e)}}};const te=new Set([d.TAG_ID.CAPTION,d.TAG_ID.COL,d.TAG_ID.COLGROUP,d.TAG_ID.TBODY,d.TAG_ID.TD,d.TAG_ID.TFOOT,d.TAG_ID.TH,d.TAG_ID.THEAD,d.TAG_ID.TR]);function ne(e,t){switch(t.tagID){case d.TAG_ID.HTML:V(e,t);break;case d.TAG_ID.COL:e._appendElement(t,d.NS.HTML),t.ackSelfClosing=!0;break;case d.TAG_ID.TEMPLATE:N(e,t);break;default:re(e,t)}}function re(e,t){e.openElements.currentTagId===d.TAG_ID.COLGROUP&&(e.openElements.pop(),e.insertionMode=g.IN_TABLE,e._processToken(t))}function ie(e,t){switch(t.tagID){case d.TAG_ID.TR:e.openElements.clearBackToTableBodyContext(),e._insertElement(t,d.NS.HTML),e.insertionMode=g.IN_ROW;break;case d.TAG_ID.TH:case d.TAG_ID.TD:e.openElements.clearBackToTableBodyContext(),e._insertFakeElement(d.TAG_NAMES.TR,d.TAG_ID.TR),e.insertionMode=g.IN_ROW,ae(e,t);break;case d.TAG_ID.CAPTION:case d.TAG_ID.COL:case d.TAG_ID.COLGROUP:case d.TAG_ID.TBODY:case d.TAG_ID.TFOOT:case d.TAG_ID.THEAD:e.openElements.hasTableBodyContextInTableScope()&&(e.openElements.clearBackToTableBodyContext(),e.openElements.pop(),e.insertionMode=g.IN_TABLE,K(e,t));break;default:K(e,t)}}function oe(e,t){const n=t.tagID;switch(t.tagID){case d.TAG_ID.TBODY:case d.TAG_ID.TFOOT:case d.TAG_ID.THEAD:e.openElements.hasInTableScope(n)&&(e.openElements.clearBackToTableBodyContext(),e.openElements.pop(),e.insertionMode=g.IN_TABLE);break;case d.TAG_ID.TABLE:e.openElements.hasTableBodyContextInTableScope()&&(e.openElements.clearBackToTableBodyContext(),e.openElements.pop(),e.insertionMode=g.IN_TABLE,X(e,t));break;case d.TAG_ID.BODY:case d.TAG_ID.CAPTION:case d.TAG_ID.COL:case d.TAG_ID.COLGROUP:case d.TAG_ID.HTML:case d.TAG_ID.TD:case d.TAG_ID.TH:case d.TAG_ID.TR:break;default:X(e,t)}}function ae(e,t){switch(t.tagID){case d.TAG_ID.TH:case d.TAG_ID.TD:e.openElements.clearBackToTableRowContext(),e._insertElement(t,d.NS.HTML),e.insertionMode=g.IN_CELL,e.activeFormattingElements.insertMarker();break;case d.TAG_ID.CAPTION:case d.TAG_ID.COL:case d.TAG_ID.COLGROUP:case d.TAG_ID.TBODY:case d.TAG_ID.TFOOT:case d.TAG_ID.THEAD:case d.TAG_ID.TR:e.openElements.hasInTableScope(d.TAG_ID.TR)&&(e.openElements.clearBackToTableRowContext(),e.openElements.pop(),e.insertionMode=g.IN_TABLE_BODY,ie(e,t));break;default:K(e,t)}}function se(e,t){switch(t.tagID){case d.TAG_ID.TR:e.openElements.hasInTableScope(d.TAG_ID.TR)&&(e.openElements.clearBackToTableRowContext(),e.openElements.pop(),e.insertionMode=g.IN_TABLE_BODY);break;case d.TAG_ID.TABLE:e.openElements.hasInTableScope(d.TAG_ID.TR)&&(e.openElements.clearBackToTableRowContext(),e.openElements.pop(),e.insertionMode=g.IN_TABLE_BODY,oe(e,t));break;case d.TAG_ID.TBODY:case d.TAG_ID.TFOOT:case d.TAG_ID.THEAD:(e.openElements.hasInTableScope(t.tagID)||e.openElements.hasInTableScope(d.TAG_ID.TR))&&(e.openElements.clearBackToTableRowContext(),e.openElements.pop(),e.insertionMode=g.IN_TABLE_BODY,oe(e,t));break;case d.TAG_ID.BODY:case d.TAG_ID.CAPTION:case d.TAG_ID.COL:case d.TAG_ID.COLGROUP:case d.TAG_ID.HTML:case d.TAG_ID.TD:case d.TAG_ID.TH:break;default:X(e,t)}}function le(e,t){switch(t.tagID){case d.TAG_ID.HTML:V(e,t);break;case d.TAG_ID.OPTION:e.openElements.currentTagId===d.TAG_ID.OPTION&&e.openElements.pop(),e._insertElement(t,d.NS.HTML);break;case d.TAG_ID.OPTGROUP:e.openElements.currentTagId===d.TAG_ID.OPTION&&e.openElements.pop(),e.openElements.currentTagId===d.TAG_ID.OPTGROUP&&e.openElements.pop(),e._insertElement(t,d.NS.HTML);break;case d.TAG_ID.INPUT:case d.TAG_ID.KEYGEN:case d.TAG_ID.TEXTAREA:case d.TAG_ID.SELECT:e.openElements.hasInSelectScope(d.TAG_ID.SELECT)&&(e.openElements.popUntilTagNamePopped(d.TAG_ID.SELECT),e._resetInsertionMode(),t.tagID!==d.TAG_ID.SELECT&&e._processStartTag(t));break;case d.TAG_ID.SCRIPT:case d.TAG_ID.TEMPLATE:N(e,t)}}function ce(e,t){switch(t.tagID){case d.TAG_ID.OPTGROUP:e.openElements.stackTop>0&&e.openElements.currentTagId===d.TAG_ID.OPTION&&e.openElements.tagIDs[e.openElements.stackTop-1]===d.TAG_ID.OPTGROUP&&e.openElements.pop(),e.openElements.currentTagId===d.TAG_ID.OPTGROUP&&e.openElements.pop();break;case d.TAG_ID.OPTION:e.openElements.currentTagId===d.TAG_ID.OPTION&&e.openElements.pop();break;case d.TAG_ID.SELECT:e.openElements.hasInSelectScope(d.TAG_ID.SELECT)&&(e.openElements.popUntilTagNamePopped(d.TAG_ID.SELECT),e._resetInsertionMode());break;case d.TAG_ID.TEMPLATE:P(e,t)}}function ue(e,t){e.openElements.tmplCount>0?(e.openElements.popUntilTagNamePopped(d.TAG_ID.TEMPLATE),e.activeFormattingElements.clearToLastMarker(),e.tmplInsertionModeStack.shift(),e._resetInsertionMode(),e.onEof(t)):x(e,t)}function de(e,t){var n;if(t.tagID===d.TAG_ID.HTML){if(e.fragmentContext||(e.insertionMode=g.AFTER_AFTER_BODY),e.options.sourceCodeLocationInfo&&e.openElements.tagIDs[0]===d.TAG_ID.HTML){e._setEndLocation(e.openElements.items[0],t);const r=e.openElements.items[1];r&&!(null===(n=e.treeAdapter.getNodeSourceCodeLocation(r))||void 0===n?void 0:n.endTag)&&e._setEndLocation(r,t)}}else fe(e,t)}function fe(e,t){e.insertionMode=g.IN_BODY,B(e,t)}function he(e,t){e.insertionMode=g.IN_BODY,B(e,t)}function pe(e){for(;e.treeAdapter.getNamespaceURI(e.openElements.current)!==d.NS.HTML&&!e._isIntegrationPoint(e.openElements.currentTagId,e.openElements.current);)e.openElements.pop()}},3306:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.OpenElementStack=void 0;const r=n(477),i=new Set([r.TAG_ID.DD,r.TAG_ID.DT,r.TAG_ID.LI,r.TAG_ID.OPTGROUP,r.TAG_ID.OPTION,r.TAG_ID.P,r.TAG_ID.RB,r.TAG_ID.RP,r.TAG_ID.RT,r.TAG_ID.RTC]),o=new Set([...i,r.TAG_ID.CAPTION,r.TAG_ID.COLGROUP,r.TAG_ID.TBODY,r.TAG_ID.TD,r.TAG_ID.TFOOT,r.TAG_ID.TH,r.TAG_ID.THEAD,r.TAG_ID.TR]),a=new Map([[r.TAG_ID.APPLET,r.NS.HTML],[r.TAG_ID.CAPTION,r.NS.HTML],[r.TAG_ID.HTML,r.NS.HTML],[r.TAG_ID.MARQUEE,r.NS.HTML],[r.TAG_ID.OBJECT,r.NS.HTML],[r.TAG_ID.TABLE,r.NS.HTML],[r.TAG_ID.TD,r.NS.HTML],[r.TAG_ID.TEMPLATE,r.NS.HTML],[r.TAG_ID.TH,r.NS.HTML],[r.TAG_ID.ANNOTATION_XML,r.NS.MATHML],[r.TAG_ID.MI,r.NS.MATHML],[r.TAG_ID.MN,r.NS.MATHML],[r.TAG_ID.MO,r.NS.MATHML],[r.TAG_ID.MS,r.NS.MATHML],[r.TAG_ID.MTEXT,r.NS.MATHML],[r.TAG_ID.DESC,r.NS.SVG],[r.TAG_ID.FOREIGN_OBJECT,r.NS.SVG],[r.TAG_ID.TITLE,r.NS.SVG]]),s=[r.TAG_ID.H1,r.TAG_ID.H2,r.TAG_ID.H3,r.TAG_ID.H4,r.TAG_ID.H5,r.TAG_ID.H6],l=[r.TAG_ID.TR,r.TAG_ID.TEMPLATE,r.TAG_ID.HTML],c=[r.TAG_ID.TBODY,r.TAG_ID.TFOOT,r.TAG_ID.THEAD,r.TAG_ID.TEMPLATE,r.TAG_ID.HTML],u=[r.TAG_ID.TABLE,r.TAG_ID.TEMPLATE,r.TAG_ID.HTML],d=[r.TAG_ID.TD,r.TAG_ID.TH];t.OpenElementStack=class{get currentTmplContentOrNode(){return this._isInTemplate()?this.treeAdapter.getTemplateContent(this.current):this.current}constructor(e,t,n){this.treeAdapter=t,this.handler=n,this.items=[],this.tagIDs=[],this.stackTop=-1,this.tmplCount=0,this.currentTagId=r.TAG_ID.UNKNOWN,this.current=e}_indexOf(e){return this.items.lastIndexOf(e,this.stackTop)}_isInTemplate(){return this.currentTagId===r.TAG_ID.TEMPLATE&&this.treeAdapter.getNamespaceURI(this.current)===r.NS.HTML}_updateCurrentElement(){this.current=this.items[this.stackTop],this.currentTagId=this.tagIDs[this.stackTop]}push(e,t){this.stackTop++,this.items[this.stackTop]=e,this.current=e,this.tagIDs[this.stackTop]=t,this.currentTagId=t,this._isInTemplate()&&this.tmplCount++,this.handler.onItemPush(e,t,!0)}pop(){const e=this.current;this.tmplCount>0&&this._isInTemplate()&&this.tmplCount--,this.stackTop--,this._updateCurrentElement(),this.handler.onItemPop(e,!0)}replace(e,t){const n=this._indexOf(e);this.items[n]=t,n===this.stackTop&&(this.current=t)}insertAfter(e,t,n){const r=this._indexOf(e)+1;this.items.splice(r,0,t),this.tagIDs.splice(r,0,n),this.stackTop++,r===this.stackTop&&this._updateCurrentElement(),this.handler.onItemPush(this.current,this.currentTagId,r===this.stackTop)}popUntilTagNamePopped(e){let t=this.stackTop+1;do{t=this.tagIDs.lastIndexOf(e,t-1)}while(t>0&&this.treeAdapter.getNamespaceURI(this.items[t])!==r.NS.HTML);this.shortenToLength(t<0?0:t)}shortenToLength(e){for(;this.stackTop>=e;){const t=this.current;this.tmplCount>0&&this._isInTemplate()&&(this.tmplCount-=1),this.stackTop--,this._updateCurrentElement(),this.handler.onItemPop(t,this.stackTop<e)}}popUntilElementPopped(e){const t=this._indexOf(e);this.shortenToLength(t<0?0:t)}popUntilPopped(e,t){const n=this._indexOfTagNames(e,t);this.shortenToLength(n<0?0:n)}popUntilNumberedHeaderPopped(){this.popUntilPopped(s,r.NS.HTML)}popUntilTableCellPopped(){this.popUntilPopped(d,r.NS.HTML)}popAllUpToHtmlElement(){this.tmplCount=0,this.shortenToLength(1)}_indexOfTagNames(e,t){for(let n=this.stackTop;n>=0;n--)if(e.includes(this.tagIDs[n])&&this.treeAdapter.getNamespaceURI(this.items[n])===t)return n;return-1}clearBackTo(e,t){const n=this._indexOfTagNames(e,t);this.shortenToLength(n+1)}clearBackToTableContext(){this.clearBackTo(u,r.NS.HTML)}clearBackToTableBodyContext(){this.clearBackTo(c,r.NS.HTML)}clearBackToTableRowContext(){this.clearBackTo(l,r.NS.HTML)}remove(e){const t=this._indexOf(e);t>=0&&(t===this.stackTop?this.pop():(this.items.splice(t,1),this.tagIDs.splice(t,1),this.stackTop--,this._updateCurrentElement(),this.handler.onItemPop(e,!1)))}tryPeekProperlyNestedBodyElement(){return this.stackTop>=1&&this.tagIDs[1]===r.TAG_ID.BODY?this.items[1]:null}contains(e){return this._indexOf(e)>-1}getCommonAncestor(e){const t=this._indexOf(e)-1;return t>=0?this.items[t]:null}isRootHtmlElementCurrent(){return 0===this.stackTop&&this.tagIDs[0]===r.TAG_ID.HTML}hasInScope(e){for(let t=this.stackTop;t>=0;t--){const n=this.tagIDs[t],i=this.treeAdapter.getNamespaceURI(this.items[t]);if(n===e&&i===r.NS.HTML)return!0;if(a.get(n)===i)return!1}return!0}hasNumberedHeaderInScope(){for(let e=this.stackTop;e>=0;e--){const t=this.tagIDs[e],n=this.treeAdapter.getNamespaceURI(this.items[e]);if((0,r.isNumberedHeader)(t)&&n===r.NS.HTML)return!0;if(a.get(t)===n)return!1}return!0}hasInListItemScope(e){for(let t=this.stackTop;t>=0;t--){const n=this.tagIDs[t],i=this.treeAdapter.getNamespaceURI(this.items[t]);if(n===e&&i===r.NS.HTML)return!0;if((n===r.TAG_ID.UL||n===r.TAG_ID.OL)&&i===r.NS.HTML||a.get(n)===i)return!1}return!0}hasInButtonScope(e){for(let t=this.stackTop;t>=0;t--){const n=this.tagIDs[t],i=this.treeAdapter.getNamespaceURI(this.items[t]);if(n===e&&i===r.NS.HTML)return!0;if(n===r.TAG_ID.BUTTON&&i===r.NS.HTML||a.get(n)===i)return!1}return!0}hasInTableScope(e){for(let t=this.stackTop;t>=0;t--){const n=this.tagIDs[t];if(this.treeAdapter.getNamespaceURI(this.items[t])===r.NS.HTML){if(n===e)return!0;if(n===r.TAG_ID.TABLE||n===r.TAG_ID.TEMPLATE||n===r.TAG_ID.HTML)return!1}}return!0}hasTableBodyContextInTableScope(){for(let e=this.stackTop;e>=0;e--){const t=this.tagIDs[e];if(this.treeAdapter.getNamespaceURI(this.items[e])===r.NS.HTML){if(t===r.TAG_ID.TBODY||t===r.TAG_ID.THEAD||t===r.TAG_ID.TFOOT)return!0;if(t===r.TAG_ID.TABLE||t===r.TAG_ID.HTML)return!1}}return!0}hasInSelectScope(e){for(let t=this.stackTop;t>=0;t--){const n=this.tagIDs[t];if(this.treeAdapter.getNamespaceURI(this.items[t])===r.NS.HTML){if(n===e)return!0;if(n!==r.TAG_ID.OPTION&&n!==r.TAG_ID.OPTGROUP)return!1}}return!0}generateImpliedEndTags(){for(;i.has(this.currentTagId);)this.pop()}generateImpliedEndTagsThoroughly(){for(;o.has(this.currentTagId);)this.pop()}generateImpliedEndTagsWithExclusion(e){for(;this.currentTagId!==e&&o.has(this.currentTagId);)this.pop()}}},733:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.serializeOuter=t.serialize=void 0;const r=n(477),i=n(2476),o=n(1907),a=new Set([r.TAG_NAMES.AREA,r.TAG_NAMES.BASE,r.TAG_NAMES.BASEFONT,r.TAG_NAMES.BGSOUND,r.TAG_NAMES.BR,r.TAG_NAMES.COL,r.TAG_NAMES.EMBED,r.TAG_NAMES.FRAME,r.TAG_NAMES.HR,r.TAG_NAMES.IMG,r.TAG_NAMES.INPUT,r.TAG_NAMES.KEYGEN,r.TAG_NAMES.LINK,r.TAG_NAMES.META,r.TAG_NAMES.PARAM,r.TAG_NAMES.SOURCE,r.TAG_NAMES.TRACK,r.TAG_NAMES.WBR]);function s(e,t){return t.treeAdapter.isElementNode(e)&&t.treeAdapter.getNamespaceURI(e)===r.NS.HTML&&a.has(t.treeAdapter.getTagName(e))}const l={treeAdapter:o.defaultTreeAdapter,scriptingEnabled:!0};function c(e,t){let n="";const i=t.treeAdapter.isElementNode(e)&&t.treeAdapter.getTagName(e)===r.TAG_NAMES.TEMPLATE&&t.treeAdapter.getNamespaceURI(e)===r.NS.HTML?t.treeAdapter.getTemplateContent(e):e,o=t.treeAdapter.getChildNodes(i);if(o)for(const e of o)n+=u(e,t);return n}function u(e,t){return t.treeAdapter.isElementNode(e)?function(e,t){const n=t.treeAdapter.getTagName(e);return`<${n}${function(e,{treeAdapter:t}){let n="";for(const o of t.getAttrList(e)){if(n+=" ",o.namespace)switch(o.namespace){case r.NS.XML:n+=`xml:${o.name}`;break;case r.NS.XMLNS:"xmlns"!==o.name&&(n+="xmlns:"),n+=o.name;break;case r.NS.XLINK:n+=`xlink:${o.name}`;break;default:n+=`${o.prefix}:${o.name}`}else n+=o.name;n+=`="${(0,i.escapeAttribute)(o.value)}"`}return n}(e,t)}>${s(e,t)?"":`${c(e,t)}</${n}>`}`}(e,t):t.treeAdapter.isTextNode(e)?function(e,t){const{treeAdapter:n}=t,o=n.getTextNodeContent(e),a=n.getParentNode(e),s=a&&n.isElementNode(a)&&n.getTagName(a);return s&&n.getNamespaceURI(a)===r.NS.HTML&&(0,r.hasUnescapedText)(s,t.scriptingEnabled)?o:(0,i.escapeText)(o)}(e,t):t.treeAdapter.isCommentNode(e)?function(e,{treeAdapter:t}){return`\x3c!--${t.getCommentNodeContent(e)}--\x3e`}(e,t):t.treeAdapter.isDocumentTypeNode(e)?function(e,{treeAdapter:t}){return`<!DOCTYPE ${t.getDocumentTypeNodeName(e)}>`}(e,t):""}t.serialize=function(e,t){const n=Object.assign(Object.assign({},l),t);return s(e,n)?"":c(e,n)},t.serializeOuter=function(e,t){return u(e,Object.assign(Object.assign({},l),t))}},2723:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Tokenizer=t.TokenizerMode=void 0;const r=n(9764),i=n(4935),o=n(8758),a=n(9529),s=n(6861),l=n(477),c=new Map([[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]]);var u;function d(e){return e>=i.CODE_POINTS.DIGIT_0&&e<=i.CODE_POINTS.DIGIT_9}function f(e){return e>=i.CODE_POINTS.LATIN_CAPITAL_A&&e<=i.CODE_POINTS.LATIN_CAPITAL_Z}function h(e){return function(e){return e>=i.CODE_POINTS.LATIN_SMALL_A&&e<=i.CODE_POINTS.LATIN_SMALL_Z}(e)||f(e)}function p(e){return h(e)||d(e)}function m(e){return e>=i.CODE_POINTS.LATIN_CAPITAL_A&&e<=i.CODE_POINTS.LATIN_CAPITAL_F}function g(e){return e>=i.CODE_POINTS.LATIN_SMALL_A&&e<=i.CODE_POINTS.LATIN_SMALL_F}function b(e){return e+32}function v(e){return e===i.CODE_POINTS.SPACE||e===i.CODE_POINTS.LINE_FEED||e===i.CODE_POINTS.TABULATION||e===i.CODE_POINTS.FORM_FEED}function y(e){return v(e)||e===i.CODE_POINTS.SOLIDUS||e===i.CODE_POINTS.GREATER_THAN_SIGN}!function(e){e[e.DATA=0]="DATA",e[e.RCDATA=1]="RCDATA",e[e.RAWTEXT=2]="RAWTEXT",e[e.SCRIPT_DATA=3]="SCRIPT_DATA",e[e.PLAINTEXT=4]="PLAINTEXT",e[e.TAG_OPEN=5]="TAG_OPEN",e[e.END_TAG_OPEN=6]="END_TAG_OPEN",e[e.TAG_NAME=7]="TAG_NAME",e[e.RCDATA_LESS_THAN_SIGN=8]="RCDATA_LESS_THAN_SIGN",e[e.RCDATA_END_TAG_OPEN=9]="RCDATA_END_TAG_OPEN",e[e.RCDATA_END_TAG_NAME=10]="RCDATA_END_TAG_NAME",e[e.RAWTEXT_LESS_THAN_SIGN=11]="RAWTEXT_LESS_THAN_SIGN",e[e.RAWTEXT_END_TAG_OPEN=12]="RAWTEXT_END_TAG_OPEN",e[e.RAWTEXT_END_TAG_NAME=13]="RAWTEXT_END_TAG_NAME",e[e.SCRIPT_DATA_LESS_THAN_SIGN=14]="SCRIPT_DATA_LESS_THAN_SIGN",e[e.SCRIPT_DATA_END_TAG_OPEN=15]="SCRIPT_DATA_END_TAG_OPEN",e[e.SCRIPT_DATA_END_TAG_NAME=16]="SCRIPT_DATA_END_TAG_NAME",e[e.SCRIPT_DATA_ESCAPE_START=17]="SCRIPT_DATA_ESCAPE_START",e[e.SCRIPT_DATA_ESCAPE_START_DASH=18]="SCRIPT_DATA_ESCAPE_START_DASH",e[e.SCRIPT_DATA_ESCAPED=19]="SCRIPT_DATA_ESCAPED",e[e.SCRIPT_DATA_ESCAPED_DASH=20]="SCRIPT_DATA_ESCAPED_DASH",e[e.SCRIPT_DATA_ESCAPED_DASH_DASH=21]="SCRIPT_DATA_ESCAPED_DASH_DASH",e[e.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN=22]="SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN",e[e.SCRIPT_DATA_ESCAPED_END_TAG_OPEN=23]="SCRIPT_DATA_ESCAPED_END_TAG_OPEN",e[e.SCRIPT_DATA_ESCAPED_END_TAG_NAME=24]="SCRIPT_DATA_ESCAPED_END_TAG_NAME",e[e.SCRIPT_DATA_DOUBLE_ESCAPE_START=25]="SCRIPT_DATA_DOUBLE_ESCAPE_START",e[e.SCRIPT_DATA_DOUBLE_ESCAPED=26]="SCRIPT_DATA_DOUBLE_ESCAPED",e[e.SCRIPT_DATA_DOUBLE_ESCAPED_DASH=27]="SCRIPT_DATA_DOUBLE_ESCAPED_DASH",e[e.SCRIPT_DATA_DOUBLE_ESCAPED_DASH_DASH=28]="SCRIPT_DATA_DOUBLE_ESCAPED_DASH_DASH",e[e.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN=29]="SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN",e[e.SCRIPT_DATA_DOUBLE_ESCAPE_END=30]="SCRIPT_DATA_DOUBLE_ESCAPE_END",e[e.BEFORE_ATTRIBUTE_NAME=31]="BEFORE_ATTRIBUTE_NAME",e[e.ATTRIBUTE_NAME=32]="ATTRIBUTE_NAME",e[e.AFTER_ATTRIBUTE_NAME=33]="AFTER_ATTRIBUTE_NAME",e[e.BEFORE_ATTRIBUTE_VALUE=34]="BEFORE_ATTRIBUTE_VALUE",e[e.ATTRIBUTE_VALUE_DOUBLE_QUOTED=35]="ATTRIBUTE_VALUE_DOUBLE_QUOTED",e[e.ATTRIBUTE_VALUE_SINGLE_QUOTED=36]="ATTRIBUTE_VALUE_SINGLE_QUOTED",e[e.ATTRIBUTE_VALUE_UNQUOTED=37]="ATTRIBUTE_VALUE_UNQUOTED",e[e.AFTER_ATTRIBUTE_VALUE_QUOTED=38]="AFTER_ATTRIBUTE_VALUE_QUOTED",e[e.SELF_CLOSING_START_TAG=39]="SELF_CLOSING_START_TAG",e[e.BOGUS_COMMENT=40]="BOGUS_COMMENT",e[e.MARKUP_DECLARATION_OPEN=41]="MARKUP_DECLARATION_OPEN",e[e.COMMENT_START=42]="COMMENT_START",e[e.COMMENT_START_DASH=43]="COMMENT_START_DASH",e[e.COMMENT=44]="COMMENT",e[e.COMMENT_LESS_THAN_SIGN=45]="COMMENT_LESS_THAN_SIGN",e[e.COMMENT_LESS_THAN_SIGN_BANG=46]="COMMENT_LESS_THAN_SIGN_BANG",e[e.COMMENT_LESS_THAN_SIGN_BANG_DASH=47]="COMMENT_LESS_THAN_SIGN_BANG_DASH",e[e.COMMENT_LESS_THAN_SIGN_BANG_DASH_DASH=48]="COMMENT_LESS_THAN_SIGN_BANG_DASH_DASH",e[e.COMMENT_END_DASH=49]="COMMENT_END_DASH",e[e.COMMENT_END=50]="COMMENT_END",e[e.COMMENT_END_BANG=51]="COMMENT_END_BANG",e[e.DOCTYPE=52]="DOCTYPE",e[e.BEFORE_DOCTYPE_NAME=53]="BEFORE_DOCTYPE_NAME",e[e.DOCTYPE_NAME=54]="DOCTYPE_NAME",e[e.AFTER_DOCTYPE_NAME=55]="AFTER_DOCTYPE_NAME",e[e.AFTER_DOCTYPE_PUBLIC_KEYWORD=56]="AFTER_DOCTYPE_PUBLIC_KEYWORD",e[e.BEFORE_DOCTYPE_PUBLIC_IDENTIFIER=57]="BEFORE_DOCTYPE_PUBLIC_IDENTIFIER",e[e.DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED=58]="DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED",e[e.DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED=59]="DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED",e[e.AFTER_DOCTYPE_PUBLIC_IDENTIFIER=60]="AFTER_DOCTYPE_PUBLIC_IDENTIFIER",e[e.BETWEEN_DOCTYPE_PUBLIC_AND_SYSTEM_IDENTIFIERS=61]="BETWEEN_DOCTYPE_PUBLIC_AND_SYSTEM_IDENTIFIERS",e[e.AFTER_DOCTYPE_SYSTEM_KEYWORD=62]="AFTER_DOCTYPE_SYSTEM_KEYWORD",e[e.BEFORE_DOCTYPE_SYSTEM_IDENTIFIER=63]="BEFORE_DOCTYPE_SYSTEM_IDENTIFIER",e[e.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED=64]="DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED",e[e.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED=65]="DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED",e[e.AFTER_DOCTYPE_SYSTEM_IDENTIFIER=66]="AFTER_DOCTYPE_SYSTEM_IDENTIFIER",e[e.BOGUS_DOCTYPE=67]="BOGUS_DOCTYPE",e[e.CDATA_SECTION=68]="CDATA_SECTION",e[e.CDATA_SECTION_BRACKET=69]="CDATA_SECTION_BRACKET",e[e.CDATA_SECTION_END=70]="CDATA_SECTION_END",e[e.CHARACTER_REFERENCE=71]="CHARACTER_REFERENCE",e[e.NAMED_CHARACTER_REFERENCE=72]="NAMED_CHARACTER_REFERENCE",e[e.AMBIGUOUS_AMPERSAND=73]="AMBIGUOUS_AMPERSAND",e[e.NUMERIC_CHARACTER_REFERENCE=74]="NUMERIC_CHARACTER_REFERENCE",e[e.HEXADEMICAL_CHARACTER_REFERENCE_START=75]="HEXADEMICAL_CHARACTER_REFERENCE_START",e[e.HEXADEMICAL_CHARACTER_REFERENCE=76]="HEXADEMICAL_CHARACTER_REFERENCE",e[e.DECIMAL_CHARACTER_REFERENCE=77]="DECIMAL_CHARACTER_REFERENCE",e[e.NUMERIC_CHARACTER_REFERENCE_END=78]="NUMERIC_CHARACTER_REFERENCE_END"}(u||(u={})),t.TokenizerMode={DATA:u.DATA,RCDATA:u.RCDATA,RAWTEXT:u.RAWTEXT,SCRIPT_DATA:u.SCRIPT_DATA,PLAINTEXT:u.PLAINTEXT,CDATA_SECTION:u.CDATA_SECTION},t.Tokenizer=class{constructor(e,t){this.options=e,this.handler=t,this.paused=!1,this.inLoop=!1,this.inForeignNode=!1,this.lastStartTagName="",this.active=!1,this.state=u.DATA,this.returnState=u.DATA,this.charRefCode=-1,this.consumedAfterSnapshot=-1,this.currentCharacterToken=null,this.currentToken=null,this.currentAttr={name:"",value:""},this.preprocessor=new r.Preprocessor(t),this.currentLocation=this.getCurrentLocation(-1)}_err(e){var t,n;null===(n=(t=this.handler).onParseError)||void 0===n||n.call(t,this.preprocessor.getError(e))}getCurrentLocation(e){return this.options.sourceCodeLocationInfo?{startLine:this.preprocessor.line,startCol:this.preprocessor.col-e,startOffset:this.preprocessor.offset-e,endLine:-1,endCol:-1,endOffset:-1}:null}_runParsingLoop(){if(!this.inLoop){for(this.inLoop=!0;this.active&&!this.paused;){this.consumedAfterSnapshot=0;const e=this._consume();this._ensureHibernation()||this._callState(e)}this.inLoop=!1}}pause(){this.paused=!0}resume(e){if(!this.paused)throw new Error("Parser was already resumed");this.paused=!1,this.inLoop||(this._runParsingLoop(),this.paused||null==e||e())}write(e,t,n){this.active=!0,this.preprocessor.write(e,t),this._runParsingLoop(),this.paused||null==n||n()}insertHtmlAtCurrentPos(e){this.active=!0,this.preprocessor.insertHtmlAtCurrentPos(e),this._runParsingLoop()}_ensureHibernation(){return!!this.preprocessor.endOfChunkHit&&(this._unconsume(this.consumedAfterSnapshot),this.active=!1,!0)}_consume(){return this.consumedAfterSnapshot++,this.preprocessor.advance()}_unconsume(e){this.consumedAfterSnapshot-=e,this.preprocessor.retreat(e)}_reconsumeInState(e,t){this.state=e,this._callState(t)}_advanceBy(e){this.consumedAfterSnapshot+=e;for(let t=0;t<e;t++)this.preprocessor.advance()}_consumeSequenceIfMatch(e,t){return!!this.preprocessor.startsWith(e,t)&&(this._advanceBy(e.length-1),!0)}_createStartTagToken(){this.currentToken={type:o.TokenType.START_TAG,tagName:"",tagID:l.TAG_ID.UNKNOWN,selfClosing:!1,ackSelfClosing:!1,attrs:[],location:this.getCurrentLocation(1)}}_createEndTagToken(){this.currentToken={type:o.TokenType.END_TAG,tagName:"",tagID:l.TAG_ID.UNKNOWN,selfClosing:!1,ackSelfClosing:!1,attrs:[],location:this.getCurrentLocation(2)}}_createCommentToken(e){this.currentToken={type:o.TokenType.COMMENT,data:"",location:this.getCurrentLocation(e)}}_createDoctypeToken(e){this.currentToken={type:o.TokenType.DOCTYPE,name:e,forceQuirks:!1,publicId:null,systemId:null,location:this.currentLocation}}_createCharacterToken(e,t){this.currentCharacterToken={type:e,chars:t,location:this.currentLocation}}_createAttr(e){this.currentAttr={name:e,value:""},this.currentLocation=this.getCurrentLocation(0)}_leaveAttrName(){var e,t;const n=this.currentToken;null===(0,o.getTokenAttr)(n,this.currentAttr.name)?(n.attrs.push(this.currentAttr),n.location&&this.currentLocation&&((null!==(e=(t=n.location).attrs)&&void 0!==e?e:t.attrs=Object.create(null))[this.currentAttr.name]=this.currentLocation,this._leaveAttrValue())):this._err(s.ERR.duplicateAttribute)}_leaveAttrValue(){this.currentLocation&&(this.currentLocation.endLine=this.preprocessor.line,this.currentLocation.endCol=this.preprocessor.col,this.currentLocation.endOffset=this.preprocessor.offset)}prepareToken(e){this._emitCurrentCharacterToken(e.location),this.currentToken=null,e.location&&(e.location.endLine=this.preprocessor.line,e.location.endCol=this.preprocessor.col+1,e.location.endOffset=this.preprocessor.offset+1),this.currentLocation=this.getCurrentLocation(-1)}emitCurrentTagToken(){const e=this.currentToken;this.prepareToken(e),e.tagID=(0,l.getTagID)(e.tagName),e.type===o.TokenType.START_TAG?(this.lastStartTagName=e.tagName,this.handler.onStartTag(e)):(e.attrs.length>0&&this._err(s.ERR.endTagWithAttributes),e.selfClosing&&this._err(s.ERR.endTagWithTrailingSolidus),this.handler.onEndTag(e)),this.preprocessor.dropParsedChunk()}emitCurrentComment(e){this.prepareToken(e),this.handler.onComment(e),this.preprocessor.dropParsedChunk()}emitCurrentDoctype(e){this.prepareToken(e),this.handler.onDoctype(e),this.preprocessor.dropParsedChunk()}_emitCurrentCharacterToken(e){if(this.currentCharacterToken){switch(e&&this.currentCharacterToken.location&&(this.currentCharacterToken.location.endLine=e.startLine,this.currentCharacterToken.location.endCol=e.startCol,this.currentCharacterToken.location.endOffset=e.startOffset),this.currentCharacterToken.type){case o.TokenType.CHARACTER:this.handler.onCharacter(this.currentCharacterToken);break;case o.TokenType.NULL_CHARACTER:this.handler.onNullCharacter(this.currentCharacterToken);break;case o.TokenType.WHITESPACE_CHARACTER:this.handler.onWhitespaceCharacter(this.currentCharacterToken)}this.currentCharacterToken=null}}_emitEOFToken(){const e=this.getCurrentLocation(0);e&&(e.endLine=e.startLine,e.endCol=e.startCol,e.endOffset=e.startOffset),this._emitCurrentCharacterToken(e),this.handler.onEof({type:o.TokenType.EOF,location:e}),this.active=!1}_appendCharToCurrentCharacterToken(e,t){if(this.currentCharacterToken){if(this.currentCharacterToken.type===e)return void(this.currentCharacterToken.chars+=t);this.currentLocation=this.getCurrentLocation(0),this._emitCurrentCharacterToken(this.currentLocation),this.preprocessor.dropParsedChunk()}this._createCharacterToken(e,t)}_emitCodePoint(e){const t=v(e)?o.TokenType.WHITESPACE_CHARACTER:e===i.CODE_POINTS.NULL?o.TokenType.NULL_CHARACTER:o.TokenType.CHARACTER;this._appendCharToCurrentCharacterToken(t,String.fromCodePoint(e))}_emitChars(e){this._appendCharToCurrentCharacterToken(o.TokenType.CHARACTER,e)}_matchNamedCharacterReference(e){let t=null,n=0,r=!1;for(let s=0,l=a.htmlDecodeTree[0];s>=0&&(s=(0,a.determineBranch)(a.htmlDecodeTree,l,s+1,e),!(s<0));e=this._consume()){n+=1,l=a.htmlDecodeTree[s];const c=l&a.BinTrieFlags.VALUE_LENGTH;if(c){const l=(c>>14)-1;if(e!==i.CODE_POINTS.SEMICOLON&&this._isCharacterReferenceInAttribute()&&((o=this.preprocessor.peek(1))===i.CODE_POINTS.EQUALS_SIGN||p(o))?(t=[i.CODE_POINTS.AMPERSAND],s+=l):(t=0===l?[a.htmlDecodeTree[s]&~a.BinTrieFlags.VALUE_LENGTH]:1===l?[a.htmlDecodeTree[++s]]:[a.htmlDecodeTree[++s],a.htmlDecodeTree[++s]],n=0,r=e!==i.CODE_POINTS.SEMICOLON),0===l){this._consume();break}}}var o;return this._unconsume(n),r&&!this.preprocessor.endOfChunkHit&&this._err(s.ERR.missingSemicolonAfterCharacterReference),this._unconsume(1),t}_isCharacterReferenceInAttribute(){return this.returnState===u.ATTRIBUTE_VALUE_DOUBLE_QUOTED||this.returnState===u.ATTRIBUTE_VALUE_SINGLE_QUOTED||this.returnState===u.ATTRIBUTE_VALUE_UNQUOTED}_flushCodePointConsumedAsCharacterReference(e){this._isCharacterReferenceInAttribute()?this.currentAttr.value+=String.fromCodePoint(e):this._emitCodePoint(e)}_callState(e){switch(this.state){case u.DATA:this._stateData(e);break;case u.RCDATA:this._stateRcdata(e);break;case u.RAWTEXT:this._stateRawtext(e);break;case u.SCRIPT_DATA:this._stateScriptData(e);break;case u.PLAINTEXT:this._statePlaintext(e);break;case u.TAG_OPEN:this._stateTagOpen(e);break;case u.END_TAG_OPEN:this._stateEndTagOpen(e);break;case u.TAG_NAME:this._stateTagName(e);break;case u.RCDATA_LESS_THAN_SIGN:this._stateRcdataLessThanSign(e);break;case u.RCDATA_END_TAG_OPEN:this._stateRcdataEndTagOpen(e);break;case u.RCDATA_END_TAG_NAME:this._stateRcdataEndTagName(e);break;case u.RAWTEXT_LESS_THAN_SIGN:this._stateRawtextLessThanSign(e);break;case u.RAWTEXT_END_TAG_OPEN:this._stateRawtextEndTagOpen(e);break;case u.RAWTEXT_END_TAG_NAME:this._stateRawtextEndTagName(e);break;case u.SCRIPT_DATA_LESS_THAN_SIGN:this._stateScriptDataLessThanSign(e);break;case u.SCRIPT_DATA_END_TAG_OPEN:this._stateScriptDataEndTagOpen(e);break;case u.SCRIPT_DATA_END_TAG_NAME:this._stateScriptDataEndTagName(e);break;case u.SCRIPT_DATA_ESCAPE_START:this._stateScriptDataEscapeStart(e);break;case u.SCRIPT_DATA_ESCAPE_START_DASH:this._stateScriptDataEscapeStartDash(e);break;case u.SCRIPT_DATA_ESCAPED:this._stateScriptDataEscaped(e);break;case u.SCRIPT_DATA_ESCAPED_DASH:this._stateScriptDataEscapedDash(e);break;case u.SCRIPT_DATA_ESCAPED_DASH_DASH:this._stateScriptDataEscapedDashDash(e);break;case u.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN:this._stateScriptDataEscapedLessThanSign(e);break;case u.SCRIPT_DATA_ESCAPED_END_TAG_OPEN:this._stateScriptDataEscapedEndTagOpen(e);break;case u.SCRIPT_DATA_ESCAPED_END_TAG_NAME:this._stateScriptDataEscapedEndTagName(e);break;case u.SCRIPT_DATA_DOUBLE_ESCAPE_START:this._stateScriptDataDoubleEscapeStart(e);break;case u.SCRIPT_DATA_DOUBLE_ESCAPED:this._stateScriptDataDoubleEscaped(e);break;case u.SCRIPT_DATA_DOUBLE_ESCAPED_DASH:this._stateScriptDataDoubleEscapedDash(e);break;case u.SCRIPT_DATA_DOUBLE_ESCAPED_DASH_DASH:this._stateScriptDataDoubleEscapedDashDash(e);break;case u.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN:this._stateScriptDataDoubleEscapedLessThanSign(e);break;case u.SCRIPT_DATA_DOUBLE_ESCAPE_END:this._stateScriptDataDoubleEscapeEnd(e);break;case u.BEFORE_ATTRIBUTE_NAME:this._stateBeforeAttributeName(e);break;case u.ATTRIBUTE_NAME:this._stateAttributeName(e);break;case u.AFTER_ATTRIBUTE_NAME:this._stateAfterAttributeName(e);break;case u.BEFORE_ATTRIBUTE_VALUE:this._stateBeforeAttributeValue(e);break;case u.ATTRIBUTE_VALUE_DOUBLE_QUOTED:this._stateAttributeValueDoubleQuoted(e);break;case u.ATTRIBUTE_VALUE_SINGLE_QUOTED:this._stateAttributeValueSingleQuoted(e);break;case u.ATTRIBUTE_VALUE_UNQUOTED:this._stateAttributeValueUnquoted(e);break;case u.AFTER_ATTRIBUTE_VALUE_QUOTED:this._stateAfterAttributeValueQuoted(e);break;case u.SELF_CLOSING_START_TAG:this._stateSelfClosingStartTag(e);break;case u.BOGUS_COMMENT:this._stateBogusComment(e);break;case u.MARKUP_DECLARATION_OPEN:this._stateMarkupDeclarationOpen(e);break;case u.COMMENT_START:this._stateCommentStart(e);break;case u.COMMENT_START_DASH:this._stateCommentStartDash(e);break;case u.COMMENT:this._stateComment(e);break;case u.COMMENT_LESS_THAN_SIGN:this._stateCommentLessThanSign(e);break;case u.COMMENT_LESS_THAN_SIGN_BANG:this._stateCommentLessThanSignBang(e);break;case u.COMMENT_LESS_THAN_SIGN_BANG_DASH:this._stateCommentLessThanSignBangDash(e);break;case u.COMMENT_LESS_THAN_SIGN_BANG_DASH_DASH:this._stateCommentLessThanSignBangDashDash(e);break;case u.COMMENT_END_DASH:this._stateCommentEndDash(e);break;case u.COMMENT_END:this._stateCommentEnd(e);break;case u.COMMENT_END_BANG:this._stateCommentEndBang(e);break;case u.DOCTYPE:this._stateDoctype(e);break;case u.BEFORE_DOCTYPE_NAME:this._stateBeforeDoctypeName(e);break;case u.DOCTYPE_NAME:this._stateDoctypeName(e);break;case u.AFTER_DOCTYPE_NAME:this._stateAfterDoctypeName(e);break;case u.AFTER_DOCTYPE_PUBLIC_KEYWORD:this._stateAfterDoctypePublicKeyword(e);break;case u.BEFORE_DOCTYPE_PUBLIC_IDENTIFIER:this._stateBeforeDoctypePublicIdentifier(e);break;case u.DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED:this._stateDoctypePublicIdentifierDoubleQuoted(e);break;case u.DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED:this._stateDoctypePublicIdentifierSingleQuoted(e);break;case u.AFTER_DOCTYPE_PUBLIC_IDENTIFIER:this._stateAfterDoctypePublicIdentifier(e);break;case u.BETWEEN_DOCTYPE_PUBLIC_AND_SYSTEM_IDENTIFIERS:this._stateBetweenDoctypePublicAndSystemIdentifiers(e);break;case u.AFTER_DOCTYPE_SYSTEM_KEYWORD:this._stateAfterDoctypeSystemKeyword(e);break;case u.BEFORE_DOCTYPE_SYSTEM_IDENTIFIER:this._stateBeforeDoctypeSystemIdentifier(e);break;case u.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED:this._stateDoctypeSystemIdentifierDoubleQuoted(e);break;case u.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED:this._stateDoctypeSystemIdentifierSingleQuoted(e);break;case u.AFTER_DOCTYPE_SYSTEM_IDENTIFIER:this._stateAfterDoctypeSystemIdentifier(e);break;case u.BOGUS_DOCTYPE:this._stateBogusDoctype(e);break;case u.CDATA_SECTION:this._stateCdataSection(e);break;case u.CDATA_SECTION_BRACKET:this._stateCdataSectionBracket(e);break;case u.CDATA_SECTION_END:this._stateCdataSectionEnd(e);break;case u.CHARACTER_REFERENCE:this._stateCharacterReference(e);break;case u.NAMED_CHARACTER_REFERENCE:this._stateNamedCharacterReference(e);break;case u.AMBIGUOUS_AMPERSAND:this._stateAmbiguousAmpersand(e);break;case u.NUMERIC_CHARACTER_REFERENCE:this._stateNumericCharacterReference(e);break;case u.HEXADEMICAL_CHARACTER_REFERENCE_START:this._stateHexademicalCharacterReferenceStart(e);break;case u.HEXADEMICAL_CHARACTER_REFERENCE:this._stateHexademicalCharacterReference(e);break;case u.DECIMAL_CHARACTER_REFERENCE:this._stateDecimalCharacterReference(e);break;case u.NUMERIC_CHARACTER_REFERENCE_END:this._stateNumericCharacterReferenceEnd(e);break;default:throw new Error("Unknown state")}}_stateData(e){switch(e){case i.CODE_POINTS.LESS_THAN_SIGN:this.state=u.TAG_OPEN;break;case i.CODE_POINTS.AMPERSAND:this.returnState=u.DATA,this.state=u.CHARACTER_REFERENCE;break;case i.CODE_POINTS.NULL:this._err(s.ERR.unexpectedNullCharacter),this._emitCodePoint(e);break;case i.CODE_POINTS.EOF:this._emitEOFToken();break;default:this._emitCodePoint(e)}}_stateRcdata(e){switch(e){case i.CODE_POINTS.AMPERSAND:this.returnState=u.RCDATA,this.state=u.CHARACTER_REFERENCE;break;case i.CODE_POINTS.LESS_THAN_SIGN:this.state=u.RCDATA_LESS_THAN_SIGN;break;case i.CODE_POINTS.NULL:this._err(s.ERR.unexpectedNullCharacter),this._emitChars(i.REPLACEMENT_CHARACTER);break;case i.CODE_POINTS.EOF:this._emitEOFToken();break;default:this._emitCodePoint(e)}}_stateRawtext(e){switch(e){case i.CODE_POINTS.LESS_THAN_SIGN:this.state=u.RAWTEXT_LESS_THAN_SIGN;break;case i.CODE_POINTS.NULL:this._err(s.ERR.unexpectedNullCharacter),this._emitChars(i.REPLACEMENT_CHARACTER);break;case i.CODE_POINTS.EOF:this._emitEOFToken();break;default:this._emitCodePoint(e)}}_stateScriptData(e){switch(e){case i.CODE_POINTS.LESS_THAN_SIGN:this.state=u.SCRIPT_DATA_LESS_THAN_SIGN;break;case i.CODE_POINTS.NULL:this._err(s.ERR.unexpectedNullCharacter),this._emitChars(i.REPLACEMENT_CHARACTER);break;case i.CODE_POINTS.EOF:this._emitEOFToken();break;default:this._emitCodePoint(e)}}_statePlaintext(e){switch(e){case i.CODE_POINTS.NULL:this._err(s.ERR.unexpectedNullCharacter),this._emitChars(i.REPLACEMENT_CHARACTER);break;case i.CODE_POINTS.EOF:this._emitEOFToken();break;default:this._emitCodePoint(e)}}_stateTagOpen(e){if(h(e))this._createStartTagToken(),this.state=u.TAG_NAME,this._stateTagName(e);else switch(e){case i.CODE_POINTS.EXCLAMATION_MARK:this.state=u.MARKUP_DECLARATION_OPEN;break;case i.CODE_POINTS.SOLIDUS:this.state=u.END_TAG_OPEN;break;case i.CODE_POINTS.QUESTION_MARK:this._err(s.ERR.unexpectedQuestionMarkInsteadOfTagName),this._createCommentToken(1),this.state=u.BOGUS_COMMENT,this._stateBogusComment(e);break;case i.CODE_POINTS.EOF:this._err(s.ERR.eofBeforeTagName),this._emitChars("<"),this._emitEOFToken();break;default:this._err(s.ERR.invalidFirstCharacterOfTagName),this._emitChars("<"),this.state=u.DATA,this._stateData(e)}}_stateEndTagOpen(e){if(h(e))this._createEndTagToken(),this.state=u.TAG_NAME,this._stateTagName(e);else switch(e){case i.CODE_POINTS.GREATER_THAN_SIGN:this._err(s.ERR.missingEndTagName),this.state=u.DATA;break;case i.CODE_POINTS.EOF:this._err(s.ERR.eofBeforeTagName),this._emitChars("</"),this._emitEOFToken();break;default:this._err(s.ERR.invalidFirstCharacterOfTagName),this._createCommentToken(2),this.state=u.BOGUS_COMMENT,this._stateBogusComment(e)}}_stateTagName(e){const t=this.currentToken;switch(e){case i.CODE_POINTS.SPACE:case i.CODE_POINTS.LINE_FEED:case i.CODE_POINTS.TABULATION:case i.CODE_POINTS.FORM_FEED:this.state=u.BEFORE_ATTRIBUTE_NAME;break;case i.CODE_POINTS.SOLIDUS:this.state=u.SELF_CLOSING_START_TAG;break;case i.CODE_POINTS.GREATER_THAN_SIGN:this.state=u.DATA,this.emitCurrentTagToken();break;case i.CODE_POINTS.NULL:this._err(s.ERR.unexpectedNullCharacter),t.tagName+=i.REPLACEMENT_CHARACTER;break;case i.CODE_POINTS.EOF:this._err(s.ERR.eofInTag),this._emitEOFToken();break;default:t.tagName+=String.fromCodePoint(f(e)?b(e):e)}}_stateRcdataLessThanSign(e){e===i.CODE_POINTS.SOLIDUS?this.state=u.RCDATA_END_TAG_OPEN:(this._emitChars("<"),this.state=u.RCDATA,this._stateRcdata(e))}_stateRcdataEndTagOpen(e){h(e)?(this.state=u.RCDATA_END_TAG_NAME,this._stateRcdataEndTagName(e)):(this._emitChars("</"),this.state=u.RCDATA,this._stateRcdata(e))}handleSpecialEndTag(e){if(!this.preprocessor.startsWith(this.lastStartTagName,!1))return!this._ensureHibernation();switch(this._createEndTagToken(),this.currentToken.tagName=this.lastStartTagName,this.preprocessor.peek(this.lastStartTagName.length)){case i.CODE_POINTS.SPACE:case i.CODE_POINTS.LINE_FEED:case i.CODE_POINTS.TABULATION:case i.CODE_POINTS.FORM_FEED:return this._advanceBy(this.lastStartTagName.length),this.state=u.BEFORE_ATTRIBUTE_NAME,!1;case i.CODE_POINTS.SOLIDUS:return this._advanceBy(this.lastStartTagName.length),this.state=u.SELF_CLOSING_START_TAG,!1;case i.CODE_POINTS.GREATER_THAN_SIGN:return this._advanceBy(this.lastStartTagName.length),this.emitCurrentTagToken(),this.state=u.DATA,!1;default:return!this._ensureHibernation()}}_stateRcdataEndTagName(e){this.handleSpecialEndTag(e)&&(this._emitChars("</"),this.state=u.RCDATA,this._stateRcdata(e))}_stateRawtextLessThanSign(e){e===i.CODE_POINTS.SOLIDUS?this.state=u.RAWTEXT_END_TAG_OPEN:(this._emitChars("<"),this.state=u.RAWTEXT,this._stateRawtext(e))}_stateRawtextEndTagOpen(e){h(e)?(this.state=u.RAWTEXT_END_TAG_NAME,this._stateRawtextEndTagName(e)):(this._emitChars("</"),this.state=u.RAWTEXT,this._stateRawtext(e))}_stateRawtextEndTagName(e){this.handleSpecialEndTag(e)&&(this._emitChars("</"),this.state=u.RAWTEXT,this._stateRawtext(e))}_stateScriptDataLessThanSign(e){switch(e){case i.CODE_POINTS.SOLIDUS:this.state=u.SCRIPT_DATA_END_TAG_OPEN;break;case i.CODE_POINTS.EXCLAMATION_MARK:this.state=u.SCRIPT_DATA_ESCAPE_START,this._emitChars("<!");break;default:this._emitChars("<"),this.state=u.SCRIPT_DATA,this._stateScriptData(e)}}_stateScriptDataEndTagOpen(e){h(e)?(this.state=u.SCRIPT_DATA_END_TAG_NAME,this._stateScriptDataEndTagName(e)):(this._emitChars("</"),this.state=u.SCRIPT_DATA,this._stateScriptData(e))}_stateScriptDataEndTagName(e){this.handleSpecialEndTag(e)&&(this._emitChars("</"),this.state=u.SCRIPT_DATA,this._stateScriptData(e))}_stateScriptDataEscapeStart(e){e===i.CODE_POINTS.HYPHEN_MINUS?(this.state=u.SCRIPT_DATA_ESCAPE_START_DASH,this._emitChars("-")):(this.state=u.SCRIPT_DATA,this._stateScriptData(e))}_stateScriptDataEscapeStartDash(e){e===i.CODE_POINTS.HYPHEN_MINUS?(this.state=u.SCRIPT_DATA_ESCAPED_DASH_DASH,this._emitChars("-")):(this.state=u.SCRIPT_DATA,this._stateScriptData(e))}_stateScriptDataEscaped(e){switch(e){case i.CODE_POINTS.HYPHEN_MINUS:this.state=u.SCRIPT_DATA_ESCAPED_DASH,this._emitChars("-");break;case i.CODE_POINTS.LESS_THAN_SIGN:this.state=u.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN;break;case i.CODE_POINTS.NULL:this._err(s.ERR.unexpectedNullCharacter),this._emitChars(i.REPLACEMENT_CHARACTER);break;case i.CODE_POINTS.EOF:this._err(s.ERR.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break;default:this._emitCodePoint(e)}}_stateScriptDataEscapedDash(e){switch(e){case i.CODE_POINTS.HYPHEN_MINUS:this.state=u.SCRIPT_DATA_ESCAPED_DASH_DASH,this._emitChars("-");break;case i.CODE_POINTS.LESS_THAN_SIGN:this.state=u.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN;break;case i.CODE_POINTS.NULL:this._err(s.ERR.unexpectedNullCharacter),this.state=u.SCRIPT_DATA_ESCAPED,this._emitChars(i.REPLACEMENT_CHARACTER);break;case i.CODE_POINTS.EOF:this._err(s.ERR.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break;default:this.state=u.SCRIPT_DATA_ESCAPED,this._emitCodePoint(e)}}_stateScriptDataEscapedDashDash(e){switch(e){case i.CODE_POINTS.HYPHEN_MINUS:this._emitChars("-");break;case i.CODE_POINTS.LESS_THAN_SIGN:this.state=u.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN;break;case i.CODE_POINTS.GREATER_THAN_SIGN:this.state=u.SCRIPT_DATA,this._emitChars(">");break;case i.CODE_POINTS.NULL:this._err(s.ERR.unexpectedNullCharacter),this.state=u.SCRIPT_DATA_ESCAPED,this._emitChars(i.REPLACEMENT_CHARACTER);break;case i.CODE_POINTS.EOF:this._err(s.ERR.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break;default:this.state=u.SCRIPT_DATA_ESCAPED,this._emitCodePoint(e)}}_stateScriptDataEscapedLessThanSign(e){e===i.CODE_POINTS.SOLIDUS?this.state=u.SCRIPT_DATA_ESCAPED_END_TAG_OPEN:h(e)?(this._emitChars("<"),this.state=u.SCRIPT_DATA_DOUBLE_ESCAPE_START,this._stateScriptDataDoubleEscapeStart(e)):(this._emitChars("<"),this.state=u.SCRIPT_DATA_ESCAPED,this._stateScriptDataEscaped(e))}_stateScriptDataEscapedEndTagOpen(e){h(e)?(this.state=u.SCRIPT_DATA_ESCAPED_END_TAG_NAME,this._stateScriptDataEscapedEndTagName(e)):(this._emitChars("</"),this.state=u.SCRIPT_DATA_ESCAPED,this._stateScriptDataEscaped(e))}_stateScriptDataEscapedEndTagName(e){this.handleSpecialEndTag(e)&&(this._emitChars("</"),this.state=u.SCRIPT_DATA_ESCAPED,this._stateScriptDataEscaped(e))}_stateScriptDataDoubleEscapeStart(e){if(this.preprocessor.startsWith(i.SEQUENCES.SCRIPT,!1)&&y(this.preprocessor.peek(i.SEQUENCES.SCRIPT.length))){this._emitCodePoint(e);for(let e=0;e<i.SEQUENCES.SCRIPT.length;e++)this._emitCodePoint(this._consume());this.state=u.SCRIPT_DATA_DOUBLE_ESCAPED}else this._ensureHibernation()||(this.state=u.SCRIPT_DATA_ESCAPED,this._stateScriptDataEscaped(e))}_stateScriptDataDoubleEscaped(e){switch(e){case i.CODE_POINTS.HYPHEN_MINUS:this.state=u.SCRIPT_DATA_DOUBLE_ESCAPED_DASH,this._emitChars("-");break;case i.CODE_POINTS.LESS_THAN_SIGN:this.state=u.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN,this._emitChars("<");break;case i.CODE_POINTS.NULL:this._err(s.ERR.unexpectedNullCharacter),this._emitChars(i.REPLACEMENT_CHARACTER);break;case i.CODE_POINTS.EOF:this._err(s.ERR.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break;default:this._emitCodePoint(e)}}_stateScriptDataDoubleEscapedDash(e){switch(e){case i.CODE_POINTS.HYPHEN_MINUS:this.state=u.SCRIPT_DATA_DOUBLE_ESCAPED_DASH_DASH,this._emitChars("-");break;case i.CODE_POINTS.LESS_THAN_SIGN:this.state=u.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN,this._emitChars("<");break;case i.CODE_POINTS.NULL:this._err(s.ERR.unexpectedNullCharacter),this.state=u.SCRIPT_DATA_DOUBLE_ESCAPED,this._emitChars(i.REPLACEMENT_CHARACTER);break;case i.CODE_POINTS.EOF:this._err(s.ERR.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break;default:this.state=u.SCRIPT_DATA_DOUBLE_ESCAPED,this._emitCodePoint(e)}}_stateScriptDataDoubleEscapedDashDash(e){switch(e){case i.CODE_POINTS.HYPHEN_MINUS:this._emitChars("-");break;case i.CODE_POINTS.LESS_THAN_SIGN:this.state=u.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN,this._emitChars("<");break;case i.CODE_POINTS.GREATER_THAN_SIGN:this.state=u.SCRIPT_DATA,this._emitChars(">");break;case i.CODE_POINTS.NULL:this._err(s.ERR.unexpectedNullCharacter),this.state=u.SCRIPT_DATA_DOUBLE_ESCAPED,this._emitChars(i.REPLACEMENT_CHARACTER);break;case i.CODE_POINTS.EOF:this._err(s.ERR.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break;default:this.state=u.SCRIPT_DATA_DOUBLE_ESCAPED,this._emitCodePoint(e)}}_stateScriptDataDoubleEscapedLessThanSign(e){e===i.CODE_POINTS.SOLIDUS?(this.state=u.SCRIPT_DATA_DOUBLE_ESCAPE_END,this._emitChars("/")):(this.state=u.SCRIPT_DATA_DOUBLE_ESCAPED,this._stateScriptDataDoubleEscaped(e))}_stateScriptDataDoubleEscapeEnd(e){if(this.preprocessor.startsWith(i.SEQUENCES.SCRIPT,!1)&&y(this.preprocessor.peek(i.SEQUENCES.SCRIPT.length))){this._emitCodePoint(e);for(let e=0;e<i.SEQUENCES.SCRIPT.length;e++)this._emitCodePoint(this._consume());this.state=u.SCRIPT_DATA_ESCAPED}else this._ensureHibernation()||(this.state=u.SCRIPT_DATA_DOUBLE_ESCAPED,this._stateScriptDataDoubleEscaped(e))}_stateBeforeAttributeName(e){switch(e){case i.CODE_POINTS.SPACE:case i.CODE_POINTS.LINE_FEED:case i.CODE_POINTS.TABULATION:case i.CODE_POINTS.FORM_FEED:break;case i.CODE_POINTS.SOLIDUS:case i.CODE_POINTS.GREATER_THAN_SIGN:case i.CODE_POINTS.EOF:this.state=u.AFTER_ATTRIBUTE_NAME,this._stateAfterAttributeName(e);break;case i.CODE_POINTS.EQUALS_SIGN:this._err(s.ERR.unexpectedEqualsSignBeforeAttributeName),this._createAttr("="),this.state=u.ATTRIBUTE_NAME;break;default:this._createAttr(""),this.state=u.ATTRIBUTE_NAME,this._stateAttributeName(e)}}_stateAttributeName(e){switch(e){case i.CODE_POINTS.SPACE:case i.CODE_POINTS.LINE_FEED:case i.CODE_POINTS.TABULATION:case i.CODE_POINTS.FORM_FEED:case i.CODE_POINTS.SOLIDUS:case i.CODE_POINTS.GREATER_THAN_SIGN:case i.CODE_POINTS.EOF:this._leaveAttrName(),this.state=u.AFTER_ATTRIBUTE_NAME,this._stateAfterAttributeName(e);break;case i.CODE_POINTS.EQUALS_SIGN:this._leaveAttrName(),this.state=u.BEFORE_ATTRIBUTE_VALUE;break;case i.CODE_POINTS.QUOTATION_MARK:case i.CODE_POINTS.APOSTROPHE:case i.CODE_POINTS.LESS_THAN_SIGN:this._err(s.ERR.unexpectedCharacterInAttributeName),this.currentAttr.name+=String.fromCodePoint(e);break;case i.CODE_POINTS.NULL:this._err(s.ERR.unexpectedNullCharacter),this.currentAttr.name+=i.REPLACEMENT_CHARACTER;break;default:this.currentAttr.name+=String.fromCodePoint(f(e)?b(e):e)}}_stateAfterAttributeName(e){switch(e){case i.CODE_POINTS.SPACE:case i.CODE_POINTS.LINE_FEED:case i.CODE_POINTS.TABULATION:case i.CODE_POINTS.FORM_FEED:break;case i.CODE_POINTS.SOLIDUS:this.state=u.SELF_CLOSING_START_TAG;break;case i.CODE_POINTS.EQUALS_SIGN:this.state=u.BEFORE_ATTRIBUTE_VALUE;break;case i.CODE_POINTS.GREATER_THAN_SIGN:this.state=u.DATA,this.emitCurrentTagToken();break;case i.CODE_POINTS.EOF:this._err(s.ERR.eofInTag),this._emitEOFToken();break;default:this._createAttr(""),this.state=u.ATTRIBUTE_NAME,this._stateAttributeName(e)}}_stateBeforeAttributeValue(e){switch(e){case i.CODE_POINTS.SPACE:case i.CODE_POINTS.LINE_FEED:case i.CODE_POINTS.TABULATION:case i.CODE_POINTS.FORM_FEED:break;case i.CODE_POINTS.QUOTATION_MARK:this.state=u.ATTRIBUTE_VALUE_DOUBLE_QUOTED;break;case i.CODE_POINTS.APOSTROPHE:this.state=u.ATTRIBUTE_VALUE_SINGLE_QUOTED;break;case i.CODE_POINTS.GREATER_THAN_SIGN:this._err(s.ERR.missingAttributeValue),this.state=u.DATA,this.emitCurrentTagToken();break;default:this.state=u.ATTRIBUTE_VALUE_UNQUOTED,this._stateAttributeValueUnquoted(e)}}_stateAttributeValueDoubleQuoted(e){switch(e){case i.CODE_POINTS.QUOTATION_MARK:this.state=u.AFTER_ATTRIBUTE_VALUE_QUOTED;break;case i.CODE_POINTS.AMPERSAND:this.returnState=u.ATTRIBUTE_VALUE_DOUBLE_QUOTED,this.state=u.CHARACTER_REFERENCE;break;case i.CODE_POINTS.NULL:this._err(s.ERR.unexpectedNullCharacter),this.currentAttr.value+=i.REPLACEMENT_CHARACTER;break;case i.CODE_POINTS.EOF:this._err(s.ERR.eofInTag),this._emitEOFToken();break;default:this.currentAttr.value+=String.fromCodePoint(e)}}_stateAttributeValueSingleQuoted(e){switch(e){case i.CODE_POINTS.APOSTROPHE:this.state=u.AFTER_ATTRIBUTE_VALUE_QUOTED;break;case i.CODE_POINTS.AMPERSAND:this.returnState=u.ATTRIBUTE_VALUE_SINGLE_QUOTED,this.state=u.CHARACTER_REFERENCE;break;case i.CODE_POINTS.NULL:this._err(s.ERR.unexpectedNullCharacter),this.currentAttr.value+=i.REPLACEMENT_CHARACTER;break;case i.CODE_POINTS.EOF:this._err(s.ERR.eofInTag),this._emitEOFToken();break;default:this.currentAttr.value+=String.fromCodePoint(e)}}_stateAttributeValueUnquoted(e){switch(e){case i.CODE_POINTS.SPACE:case i.CODE_POINTS.LINE_FEED:case i.CODE_POINTS.TABULATION:case i.CODE_POINTS.FORM_FEED:this._leaveAttrValue(),this.state=u.BEFORE_ATTRIBUTE_NAME;break;case i.CODE_POINTS.AMPERSAND:this.returnState=u.ATTRIBUTE_VALUE_UNQUOTED,this.state=u.CHARACTER_REFERENCE;break;case i.CODE_POINTS.GREATER_THAN_SIGN:this._leaveAttrValue(),this.state=u.DATA,this.emitCurrentTagToken();break;case i.CODE_POINTS.NULL:this._err(s.ERR.unexpectedNullCharacter),this.currentAttr.value+=i.REPLACEMENT_CHARACTER;break;case i.CODE_POINTS.QUOTATION_MARK:case i.CODE_POINTS.APOSTROPHE:case i.CODE_POINTS.LESS_THAN_SIGN:case i.CODE_POINTS.EQUALS_SIGN:case i.CODE_POINTS.GRAVE_ACCENT:this._err(s.ERR.unexpectedCharacterInUnquotedAttributeValue),this.currentAttr.value+=String.fromCodePoint(e);break;case i.CODE_POINTS.EOF:this._err(s.ERR.eofInTag),this._emitEOFToken();break;default:this.currentAttr.value+=String.fromCodePoint(e)}}_stateAfterAttributeValueQuoted(e){switch(e){case i.CODE_POINTS.SPACE:case i.CODE_POINTS.LINE_FEED:case i.CODE_POINTS.TABULATION:case i.CODE_POINTS.FORM_FEED:this._leaveAttrValue(),this.state=u.BEFORE_ATTRIBUTE_NAME;break;case i.CODE_POINTS.SOLIDUS:this._leaveAttrValue(),this.state=u.SELF_CLOSING_START_TAG;break;case i.CODE_POINTS.GREATER_THAN_SIGN:this._leaveAttrValue(),this.state=u.DATA,this.emitCurrentTagToken();break;case i.CODE_POINTS.EOF:this._err(s.ERR.eofInTag),this._emitEOFToken();break;default:this._err(s.ERR.missingWhitespaceBetweenAttributes),this.state=u.BEFORE_ATTRIBUTE_NAME,this._stateBeforeAttributeName(e)}}_stateSelfClosingStartTag(e){switch(e){case i.CODE_POINTS.GREATER_THAN_SIGN:this.currentToken.selfClosing=!0,this.state=u.DATA,this.emitCurrentTagToken();break;case i.CODE_POINTS.EOF:this._err(s.ERR.eofInTag),this._emitEOFToken();break;default:this._err(s.ERR.unexpectedSolidusInTag),this.state=u.BEFORE_ATTRIBUTE_NAME,this._stateBeforeAttributeName(e)}}_stateBogusComment(e){const t=this.currentToken;switch(e){case i.CODE_POINTS.GREATER_THAN_SIGN:this.state=u.DATA,this.emitCurrentComment(t);break;case i.CODE_POINTS.EOF:this.emitCurrentComment(t),this._emitEOFToken();break;case i.CODE_POINTS.NULL:this._err(s.ERR.unexpectedNullCharacter),t.data+=i.REPLACEMENT_CHARACTER;break;default:t.data+=String.fromCodePoint(e)}}_stateMarkupDeclarationOpen(e){this._consumeSequenceIfMatch(i.SEQUENCES.DASH_DASH,!0)?(this._createCommentToken(i.SEQUENCES.DASH_DASH.length+1),this.state=u.COMMENT_START):this._consumeSequenceIfMatch(i.SEQUENCES.DOCTYPE,!1)?(this.currentLocation=this.getCurrentLocation(i.SEQUENCES.DOCTYPE.length+1),this.state=u.DOCTYPE):this._consumeSequenceIfMatch(i.SEQUENCES.CDATA_START,!0)?this.inForeignNode?this.state=u.CDATA_SECTION:(this._err(s.ERR.cdataInHtmlContent),this._createCommentToken(i.SEQUENCES.CDATA_START.length+1),this.currentToken.data="[CDATA[",this.state=u.BOGUS_COMMENT):this._ensureHibernation()||(this._err(s.ERR.incorrectlyOpenedComment),this._createCommentToken(2),this.state=u.BOGUS_COMMENT,this._stateBogusComment(e))}_stateCommentStart(e){switch(e){case i.CODE_POINTS.HYPHEN_MINUS:this.state=u.COMMENT_START_DASH;break;case i.CODE_POINTS.GREATER_THAN_SIGN:{this._err(s.ERR.abruptClosingOfEmptyComment),this.state=u.DATA;const e=this.currentToken;this.emitCurrentComment(e);break}default:this.state=u.COMMENT,this._stateComment(e)}}_stateCommentStartDash(e){const t=this.currentToken;switch(e){case i.CODE_POINTS.HYPHEN_MINUS:this.state=u.COMMENT_END;break;case i.CODE_POINTS.GREATER_THAN_SIGN:this._err(s.ERR.abruptClosingOfEmptyComment),this.state=u.DATA,this.emitCurrentComment(t);break;case i.CODE_POINTS.EOF:this._err(s.ERR.eofInComment),this.emitCurrentComment(t),this._emitEOFToken();break;default:t.data+="-",this.state=u.COMMENT,this._stateComment(e)}}_stateComment(e){const t=this.currentToken;switch(e){case i.CODE_POINTS.HYPHEN_MINUS:this.state=u.COMMENT_END_DASH;break;case i.CODE_POINTS.LESS_THAN_SIGN:t.data+="<",this.state=u.COMMENT_LESS_THAN_SIGN;break;case i.CODE_POINTS.NULL:this._err(s.ERR.unexpectedNullCharacter),t.data+=i.REPLACEMENT_CHARACTER;break;case i.CODE_POINTS.EOF:this._err(s.ERR.eofInComment),this.emitCurrentComment(t),this._emitEOFToken();break;default:t.data+=String.fromCodePoint(e)}}_stateCommentLessThanSign(e){const t=this.currentToken;switch(e){case i.CODE_POINTS.EXCLAMATION_MARK:t.data+="!",this.state=u.COMMENT_LESS_THAN_SIGN_BANG;break;case i.CODE_POINTS.LESS_THAN_SIGN:t.data+="<";break;default:this.state=u.COMMENT,this._stateComment(e)}}_stateCommentLessThanSignBang(e){e===i.CODE_POINTS.HYPHEN_MINUS?this.state=u.COMMENT_LESS_THAN_SIGN_BANG_DASH:(this.state=u.COMMENT,this._stateComment(e))}_stateCommentLessThanSignBangDash(e){e===i.CODE_POINTS.HYPHEN_MINUS?this.state=u.COMMENT_LESS_THAN_SIGN_BANG_DASH_DASH:(this.state=u.COMMENT_END_DASH,this._stateCommentEndDash(e))}_stateCommentLessThanSignBangDashDash(e){e!==i.CODE_POINTS.GREATER_THAN_SIGN&&e!==i.CODE_POINTS.EOF&&this._err(s.ERR.nestedComment),this.state=u.COMMENT_END,this._stateCommentEnd(e)}_stateCommentEndDash(e){const t=this.currentToken;switch(e){case i.CODE_POINTS.HYPHEN_MINUS:this.state=u.COMMENT_END;break;case i.CODE_POINTS.EOF:this._err(s.ERR.eofInComment),this.emitCurrentComment(t),this._emitEOFToken();break;default:t.data+="-",this.state=u.COMMENT,this._stateComment(e)}}_stateCommentEnd(e){const t=this.currentToken;switch(e){case i.CODE_POINTS.GREATER_THAN_SIGN:this.state=u.DATA,this.emitCurrentComment(t);break;case i.CODE_POINTS.EXCLAMATION_MARK:this.state=u.COMMENT_END_BANG;break;case i.CODE_POINTS.HYPHEN_MINUS:t.data+="-";break;case i.CODE_POINTS.EOF:this._err(s.ERR.eofInComment),this.emitCurrentComment(t),this._emitEOFToken();break;default:t.data+="--",this.state=u.COMMENT,this._stateComment(e)}}_stateCommentEndBang(e){const t=this.currentToken;switch(e){case i.CODE_POINTS.HYPHEN_MINUS:t.data+="--!",this.state=u.COMMENT_END_DASH;break;case i.CODE_POINTS.GREATER_THAN_SIGN:this._err(s.ERR.incorrectlyClosedComment),this.state=u.DATA,this.emitCurrentComment(t);break;case i.CODE_POINTS.EOF:this._err(s.ERR.eofInComment),this.emitCurrentComment(t),this._emitEOFToken();break;default:t.data+="--!",this.state=u.COMMENT,this._stateComment(e)}}_stateDoctype(e){switch(e){case i.CODE_POINTS.SPACE:case i.CODE_POINTS.LINE_FEED:case i.CODE_POINTS.TABULATION:case i.CODE_POINTS.FORM_FEED:this.state=u.BEFORE_DOCTYPE_NAME;break;case i.CODE_POINTS.GREATER_THAN_SIGN:this.state=u.BEFORE_DOCTYPE_NAME,this._stateBeforeDoctypeName(e);break;case i.CODE_POINTS.EOF:{this._err(s.ERR.eofInDoctype),this._createDoctypeToken(null);const e=this.currentToken;e.forceQuirks=!0,this.emitCurrentDoctype(e),this._emitEOFToken();break}default:this._err(s.ERR.missingWhitespaceBeforeDoctypeName),this.state=u.BEFORE_DOCTYPE_NAME,this._stateBeforeDoctypeName(e)}}_stateBeforeDoctypeName(e){if(f(e))this._createDoctypeToken(String.fromCharCode(b(e))),this.state=u.DOCTYPE_NAME;else switch(e){case i.CODE_POINTS.SPACE:case i.CODE_POINTS.LINE_FEED:case i.CODE_POINTS.TABULATION:case i.CODE_POINTS.FORM_FEED:break;case i.CODE_POINTS.NULL:this._err(s.ERR.unexpectedNullCharacter),this._createDoctypeToken(i.REPLACEMENT_CHARACTER),this.state=u.DOCTYPE_NAME;break;case i.CODE_POINTS.GREATER_THAN_SIGN:{this._err(s.ERR.missingDoctypeName),this._createDoctypeToken(null);const e=this.currentToken;e.forceQuirks=!0,this.emitCurrentDoctype(e),this.state=u.DATA;break}case i.CODE_POINTS.EOF:{this._err(s.ERR.eofInDoctype),this._createDoctypeToken(null);const e=this.currentToken;e.forceQuirks=!0,this.emitCurrentDoctype(e),this._emitEOFToken();break}default:this._createDoctypeToken(String.fromCodePoint(e)),this.state=u.DOCTYPE_NAME}}_stateDoctypeName(e){const t=this.currentToken;switch(e){case i.CODE_POINTS.SPACE:case i.CODE_POINTS.LINE_FEED:case i.CODE_POINTS.TABULATION:case i.CODE_POINTS.FORM_FEED:this.state=u.AFTER_DOCTYPE_NAME;break;case i.CODE_POINTS.GREATER_THAN_SIGN:this.state=u.DATA,this.emitCurrentDoctype(t);break;case i.CODE_POINTS.NULL:this._err(s.ERR.unexpectedNullCharacter),t.name+=i.REPLACEMENT_CHARACTER;break;case i.CODE_POINTS.EOF:this._err(s.ERR.eofInDoctype),t.forceQuirks=!0,this.emitCurrentDoctype(t),this._emitEOFToken();break;default:t.name+=String.fromCodePoint(f(e)?b(e):e)}}_stateAfterDoctypeName(e){const t=this.currentToken;switch(e){case i.CODE_POINTS.SPACE:case i.CODE_POINTS.LINE_FEED:case i.CODE_POINTS.TABULATION:case i.CODE_POINTS.FORM_FEED:break;case i.CODE_POINTS.GREATER_THAN_SIGN:this.state=u.DATA,this.emitCurrentDoctype(t);break;case i.CODE_POINTS.EOF:this._err(s.ERR.eofInDoctype),t.forceQuirks=!0,this.emitCurrentDoctype(t),this._emitEOFToken();break;default:this._consumeSequenceIfMatch(i.SEQUENCES.PUBLIC,!1)?this.state=u.AFTER_DOCTYPE_PUBLIC_KEYWORD:this._consumeSequenceIfMatch(i.SEQUENCES.SYSTEM,!1)?this.state=u.AFTER_DOCTYPE_SYSTEM_KEYWORD:this._ensureHibernation()||(this._err(s.ERR.invalidCharacterSequenceAfterDoctypeName),t.forceQuirks=!0,this.state=u.BOGUS_DOCTYPE,this._stateBogusDoctype(e))}}_stateAfterDoctypePublicKeyword(e){const t=this.currentToken;switch(e){case i.CODE_POINTS.SPACE:case i.CODE_POINTS.LINE_FEED:case i.CODE_POINTS.TABULATION:case i.CODE_POINTS.FORM_FEED:this.state=u.BEFORE_DOCTYPE_PUBLIC_IDENTIFIER;break;case i.CODE_POINTS.QUOTATION_MARK:this._err(s.ERR.missingWhitespaceAfterDoctypePublicKeyword),t.publicId="",this.state=u.DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED;break;case i.CODE_POINTS.APOSTROPHE:this._err(s.ERR.missingWhitespaceAfterDoctypePublicKeyword),t.publicId="",this.state=u.DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED;break;case i.CODE_POINTS.GREATER_THAN_SIGN:this._err(s.ERR.missingDoctypePublicIdentifier),t.forceQuirks=!0,this.state=u.DATA,this.emitCurrentDoctype(t);break;case i.CODE_POINTS.EOF:this._err(s.ERR.eofInDoctype),t.forceQuirks=!0,this.emitCurrentDoctype(t),this._emitEOFToken();break;default:this._err(s.ERR.missingQuoteBeforeDoctypePublicIdentifier),t.forceQuirks=!0,this.state=u.BOGUS_DOCTYPE,this._stateBogusDoctype(e)}}_stateBeforeDoctypePublicIdentifier(e){const t=this.currentToken;switch(e){case i.CODE_POINTS.SPACE:case i.CODE_POINTS.LINE_FEED:case i.CODE_POINTS.TABULATION:case i.CODE_POINTS.FORM_FEED:break;case i.CODE_POINTS.QUOTATION_MARK:t.publicId="",this.state=u.DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED;break;case i.CODE_POINTS.APOSTROPHE:t.publicId="",this.state=u.DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED;break;case i.CODE_POINTS.GREATER_THAN_SIGN:this._err(s.ERR.missingDoctypePublicIdentifier),t.forceQuirks=!0,this.state=u.DATA,this.emitCurrentDoctype(t);break;case i.CODE_POINTS.EOF:this._err(s.ERR.eofInDoctype),t.forceQuirks=!0,this.emitCurrentDoctype(t),this._emitEOFToken();break;default:this._err(s.ERR.missingQuoteBeforeDoctypePublicIdentifier),t.forceQuirks=!0,this.state=u.BOGUS_DOCTYPE,this._stateBogusDoctype(e)}}_stateDoctypePublicIdentifierDoubleQuoted(e){const t=this.currentToken;switch(e){case i.CODE_POINTS.QUOTATION_MARK:this.state=u.AFTER_DOCTYPE_PUBLIC_IDENTIFIER;break;case i.CODE_POINTS.NULL:this._err(s.ERR.unexpectedNullCharacter),t.publicId+=i.REPLACEMENT_CHARACTER;break;case i.CODE_POINTS.GREATER_THAN_SIGN:this._err(s.ERR.abruptDoctypePublicIdentifier),t.forceQuirks=!0,this.emitCurrentDoctype(t),this.state=u.DATA;break;case i.CODE_POINTS.EOF:this._err(s.ERR.eofInDoctype),t.forceQuirks=!0,this.emitCurrentDoctype(t),this._emitEOFToken();break;default:t.publicId+=String.fromCodePoint(e)}}_stateDoctypePublicIdentifierSingleQuoted(e){const t=this.currentToken;switch(e){case i.CODE_POINTS.APOSTROPHE:this.state=u.AFTER_DOCTYPE_PUBLIC_IDENTIFIER;break;case i.CODE_POINTS.NULL:this._err(s.ERR.unexpectedNullCharacter),t.publicId+=i.REPLACEMENT_CHARACTER;break;case i.CODE_POINTS.GREATER_THAN_SIGN:this._err(s.ERR.abruptDoctypePublicIdentifier),t.forceQuirks=!0,this.emitCurrentDoctype(t),this.state=u.DATA;break;case i.CODE_POINTS.EOF:this._err(s.ERR.eofInDoctype),t.forceQuirks=!0,this.emitCurrentDoctype(t),this._emitEOFToken();break;default:t.publicId+=String.fromCodePoint(e)}}_stateAfterDoctypePublicIdentifier(e){const t=this.currentToken;switch(e){case i.CODE_POINTS.SPACE:case i.CODE_POINTS.LINE_FEED:case i.CODE_POINTS.TABULATION:case i.CODE_POINTS.FORM_FEED:this.state=u.BETWEEN_DOCTYPE_PUBLIC_AND_SYSTEM_IDENTIFIERS;break;case i.CODE_POINTS.GREATER_THAN_SIGN:this.state=u.DATA,this.emitCurrentDoctype(t);break;case i.CODE_POINTS.QUOTATION_MARK:this._err(s.ERR.missingWhitespaceBetweenDoctypePublicAndSystemIdentifiers),t.systemId="",this.state=u.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED;break;case i.CODE_POINTS.APOSTROPHE:this._err(s.ERR.missingWhitespaceBetweenDoctypePublicAndSystemIdentifiers),t.systemId="",this.state=u.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED;break;case i.CODE_POINTS.EOF:this._err(s.ERR.eofInDoctype),t.forceQuirks=!0,this.emitCurrentDoctype(t),this._emitEOFToken();break;default:this._err(s.ERR.missingQuoteBeforeDoctypeSystemIdentifier),t.forceQuirks=!0,this.state=u.BOGUS_DOCTYPE,this._stateBogusDoctype(e)}}_stateBetweenDoctypePublicAndSystemIdentifiers(e){const t=this.currentToken;switch(e){case i.CODE_POINTS.SPACE:case i.CODE_POINTS.LINE_FEED:case i.CODE_POINTS.TABULATION:case i.CODE_POINTS.FORM_FEED:break;case i.CODE_POINTS.GREATER_THAN_SIGN:this.emitCurrentDoctype(t),this.state=u.DATA;break;case i.CODE_POINTS.QUOTATION_MARK:t.systemId="",this.state=u.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED;break;case i.CODE_POINTS.APOSTROPHE:t.systemId="",this.state=u.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED;break;case i.CODE_POINTS.EOF:this._err(s.ERR.eofInDoctype),t.forceQuirks=!0,this.emitCurrentDoctype(t),this._emitEOFToken();break;default:this._err(s.ERR.missingQuoteBeforeDoctypeSystemIdentifier),t.forceQuirks=!0,this.state=u.BOGUS_DOCTYPE,this._stateBogusDoctype(e)}}_stateAfterDoctypeSystemKeyword(e){const t=this.currentToken;switch(e){case i.CODE_POINTS.SPACE:case i.CODE_POINTS.LINE_FEED:case i.CODE_POINTS.TABULATION:case i.CODE_POINTS.FORM_FEED:this.state=u.BEFORE_DOCTYPE_SYSTEM_IDENTIFIER;break;case i.CODE_POINTS.QUOTATION_MARK:this._err(s.ERR.missingWhitespaceAfterDoctypeSystemKeyword),t.systemId="",this.state=u.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED;break;case i.CODE_POINTS.APOSTROPHE:this._err(s.ERR.missingWhitespaceAfterDoctypeSystemKeyword),t.systemId="",this.state=u.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED;break;case i.CODE_POINTS.GREATER_THAN_SIGN:this._err(s.ERR.missingDoctypeSystemIdentifier),t.forceQuirks=!0,this.state=u.DATA,this.emitCurrentDoctype(t);break;case i.CODE_POINTS.EOF:this._err(s.ERR.eofInDoctype),t.forceQuirks=!0,this.emitCurrentDoctype(t),this._emitEOFToken();break;default:this._err(s.ERR.missingQuoteBeforeDoctypeSystemIdentifier),t.forceQuirks=!0,this.state=u.BOGUS_DOCTYPE,this._stateBogusDoctype(e)}}_stateBeforeDoctypeSystemIdentifier(e){const t=this.currentToken;switch(e){case i.CODE_POINTS.SPACE:case i.CODE_POINTS.LINE_FEED:case i.CODE_POINTS.TABULATION:case i.CODE_POINTS.FORM_FEED:break;case i.CODE_POINTS.QUOTATION_MARK:t.systemId="",this.state=u.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED;break;case i.CODE_POINTS.APOSTROPHE:t.systemId="",this.state=u.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED;break;case i.CODE_POINTS.GREATER_THAN_SIGN:this._err(s.ERR.missingDoctypeSystemIdentifier),t.forceQuirks=!0,this.state=u.DATA,this.emitCurrentDoctype(t);break;case i.CODE_POINTS.EOF:this._err(s.ERR.eofInDoctype),t.forceQuirks=!0,this.emitCurrentDoctype(t),this._emitEOFToken();break;default:this._err(s.ERR.missingQuoteBeforeDoctypeSystemIdentifier),t.forceQuirks=!0,this.state=u.BOGUS_DOCTYPE,this._stateBogusDoctype(e)}}_stateDoctypeSystemIdentifierDoubleQuoted(e){const t=this.currentToken;switch(e){case i.CODE_POINTS.QUOTATION_MARK:this.state=u.AFTER_DOCTYPE_SYSTEM_IDENTIFIER;break;case i.CODE_POINTS.NULL:this._err(s.ERR.unexpectedNullCharacter),t.systemId+=i.REPLACEMENT_CHARACTER;break;case i.CODE_POINTS.GREATER_THAN_SIGN:this._err(s.ERR.abruptDoctypeSystemIdentifier),t.forceQuirks=!0,this.emitCurrentDoctype(t),this.state=u.DATA;break;case i.CODE_POINTS.EOF:this._err(s.ERR.eofInDoctype),t.forceQuirks=!0,this.emitCurrentDoctype(t),this._emitEOFToken();break;default:t.systemId+=String.fromCodePoint(e)}}_stateDoctypeSystemIdentifierSingleQuoted(e){const t=this.currentToken;switch(e){case i.CODE_POINTS.APOSTROPHE:this.state=u.AFTER_DOCTYPE_SYSTEM_IDENTIFIER;break;case i.CODE_POINTS.NULL:this._err(s.ERR.unexpectedNullCharacter),t.systemId+=i.REPLACEMENT_CHARACTER;break;case i.CODE_POINTS.GREATER_THAN_SIGN:this._err(s.ERR.abruptDoctypeSystemIdentifier),t.forceQuirks=!0,this.emitCurrentDoctype(t),this.state=u.DATA;break;case i.CODE_POINTS.EOF:this._err(s.ERR.eofInDoctype),t.forceQuirks=!0,this.emitCurrentDoctype(t),this._emitEOFToken();break;default:t.systemId+=String.fromCodePoint(e)}}_stateAfterDoctypeSystemIdentifier(e){const t=this.currentToken;switch(e){case i.CODE_POINTS.SPACE:case i.CODE_POINTS.LINE_FEED:case i.CODE_POINTS.TABULATION:case i.CODE_POINTS.FORM_FEED:break;case i.CODE_POINTS.GREATER_THAN_SIGN:this.emitCurrentDoctype(t),this.state=u.DATA;break;case i.CODE_POINTS.EOF:this._err(s.ERR.eofInDoctype),t.forceQuirks=!0,this.emitCurrentDoctype(t),this._emitEOFToken();break;default:this._err(s.ERR.unexpectedCharacterAfterDoctypeSystemIdentifier),this.state=u.BOGUS_DOCTYPE,this._stateBogusDoctype(e)}}_stateBogusDoctype(e){const t=this.currentToken;switch(e){case i.CODE_POINTS.GREATER_THAN_SIGN:this.emitCurrentDoctype(t),this.state=u.DATA;break;case i.CODE_POINTS.NULL:this._err(s.ERR.unexpectedNullCharacter);break;case i.CODE_POINTS.EOF:this.emitCurrentDoctype(t),this._emitEOFToken()}}_stateCdataSection(e){switch(e){case i.CODE_POINTS.RIGHT_SQUARE_BRACKET:this.state=u.CDATA_SECTION_BRACKET;break;case i.CODE_POINTS.EOF:this._err(s.ERR.eofInCdata),this._emitEOFToken();break;default:this._emitCodePoint(e)}}_stateCdataSectionBracket(e){e===i.CODE_POINTS.RIGHT_SQUARE_BRACKET?this.state=u.CDATA_SECTION_END:(this._emitChars("]"),this.state=u.CDATA_SECTION,this._stateCdataSection(e))}_stateCdataSectionEnd(e){switch(e){case i.CODE_POINTS.GREATER_THAN_SIGN:this.state=u.DATA;break;case i.CODE_POINTS.RIGHT_SQUARE_BRACKET:this._emitChars("]");break;default:this._emitChars("]]"),this.state=u.CDATA_SECTION,this._stateCdataSection(e)}}_stateCharacterReference(e){e===i.CODE_POINTS.NUMBER_SIGN?this.state=u.NUMERIC_CHARACTER_REFERENCE:p(e)?(this.state=u.NAMED_CHARACTER_REFERENCE,this._stateNamedCharacterReference(e)):(this._flushCodePointConsumedAsCharacterReference(i.CODE_POINTS.AMPERSAND),this._reconsumeInState(this.returnState,e))}_stateNamedCharacterReference(e){const t=this._matchNamedCharacterReference(e);if(this._ensureHibernation());else if(t){for(let e=0;e<t.length;e++)this._flushCodePointConsumedAsCharacterReference(t[e]);this.state=this.returnState}else this._flushCodePointConsumedAsCharacterReference(i.CODE_POINTS.AMPERSAND),this.state=u.AMBIGUOUS_AMPERSAND}_stateAmbiguousAmpersand(e){p(e)?this._flushCodePointConsumedAsCharacterReference(e):(e===i.CODE_POINTS.SEMICOLON&&this._err(s.ERR.unknownNamedCharacterReference),this._reconsumeInState(this.returnState,e))}_stateNumericCharacterReference(e){this.charRefCode=0,e===i.CODE_POINTS.LATIN_SMALL_X||e===i.CODE_POINTS.LATIN_CAPITAL_X?this.state=u.HEXADEMICAL_CHARACTER_REFERENCE_START:d(e)?(this.state=u.DECIMAL_CHARACTER_REFERENCE,this._stateDecimalCharacterReference(e)):(this._err(s.ERR.absenceOfDigitsInNumericCharacterReference),this._flushCodePointConsumedAsCharacterReference(i.CODE_POINTS.AMPERSAND),this._flushCodePointConsumedAsCharacterReference(i.CODE_POINTS.NUMBER_SIGN),this._reconsumeInState(this.returnState,e))}_stateHexademicalCharacterReferenceStart(e){!function(e){return d(e)||m(e)||g(e)}(e)?(this._err(s.ERR.absenceOfDigitsInNumericCharacterReference),this._flushCodePointConsumedAsCharacterReference(i.CODE_POINTS.AMPERSAND),this._flushCodePointConsumedAsCharacterReference(i.CODE_POINTS.NUMBER_SIGN),this._unconsume(2),this.state=this.returnState):(this.state=u.HEXADEMICAL_CHARACTER_REFERENCE,this._stateHexademicalCharacterReference(e))}_stateHexademicalCharacterReference(e){m(e)?this.charRefCode=16*this.charRefCode+e-55:g(e)?this.charRefCode=16*this.charRefCode+e-87:d(e)?this.charRefCode=16*this.charRefCode+e-48:e===i.CODE_POINTS.SEMICOLON?this.state=u.NUMERIC_CHARACTER_REFERENCE_END:(this._err(s.ERR.missingSemicolonAfterCharacterReference),this.state=u.NUMERIC_CHARACTER_REFERENCE_END,this._stateNumericCharacterReferenceEnd(e))}_stateDecimalCharacterReference(e){d(e)?this.charRefCode=10*this.charRefCode+e-48:e===i.CODE_POINTS.SEMICOLON?this.state=u.NUMERIC_CHARACTER_REFERENCE_END:(this._err(s.ERR.missingSemicolonAfterCharacterReference),this.state=u.NUMERIC_CHARACTER_REFERENCE_END,this._stateNumericCharacterReferenceEnd(e))}_stateNumericCharacterReferenceEnd(e){if(this.charRefCode===i.CODE_POINTS.NULL)this._err(s.ERR.nullCharacterReference),this.charRefCode=i.CODE_POINTS.REPLACEMENT_CHARACTER;else if(this.charRefCode>1114111)this._err(s.ERR.characterReferenceOutsideUnicodeRange),this.charRefCode=i.CODE_POINTS.REPLACEMENT_CHARACTER;else if((0,i.isSurrogate)(this.charRefCode))this._err(s.ERR.surrogateCharacterReference),this.charRefCode=i.CODE_POINTS.REPLACEMENT_CHARACTER;else if((0,i.isUndefinedCodePoint)(this.charRefCode))this._err(s.ERR.noncharacterCharacterReference);else if((0,i.isControlCodePoint)(this.charRefCode)||this.charRefCode===i.CODE_POINTS.CARRIAGE_RETURN){this._err(s.ERR.controlCharacterReference);const e=c.get(this.charRefCode);void 0!==e&&(this.charRefCode=e)}this._flushCodePointConsumedAsCharacterReference(this.charRefCode),this._reconsumeInState(this.returnState,e)}}},9764:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Preprocessor=void 0;const r=n(4935),i=n(6861);t.Preprocessor=class{constructor(e){this.handler=e,this.html="",this.pos=-1,this.lastGapPos=-2,this.gapStack=[],this.skipNextNewLine=!1,this.lastChunkWritten=!1,this.endOfChunkHit=!1,this.bufferWaterline=65536,this.isEol=!1,this.lineStartPos=0,this.droppedBufferSize=0,this.line=1,this.lastErrOffset=-1}get col(){return this.pos-this.lineStartPos+Number(this.lastGapPos!==this.pos)}get offset(){return this.droppedBufferSize+this.pos}getError(e){const{line:t,col:n,offset:r}=this;return{code:e,startLine:t,endLine:t,startCol:n,endCol:n,startOffset:r,endOffset:r}}_err(e){this.handler.onParseError&&this.lastErrOffset!==this.offset&&(this.lastErrOffset=this.offset,this.handler.onParseError(this.getError(e)))}_addGap(){this.gapStack.push(this.lastGapPos),this.lastGapPos=this.pos}_processSurrogate(e){if(this.pos!==this.html.length-1){const t=this.html.charCodeAt(this.pos+1);if((0,r.isSurrogatePair)(t))return this.pos++,this._addGap(),(0,r.getSurrogatePairCodePoint)(e,t)}else if(!this.lastChunkWritten)return this.endOfChunkHit=!0,r.CODE_POINTS.EOF;return this._err(i.ERR.surrogateInInputStream),e}willDropParsedChunk(){return this.pos>this.bufferWaterline}dropParsedChunk(){this.willDropParsedChunk()&&(this.html=this.html.substring(this.pos),this.lineStartPos-=this.pos,this.droppedBufferSize+=this.pos,this.pos=0,this.lastGapPos=-2,this.gapStack.length=0)}write(e,t){this.html.length>0?this.html+=e:this.html=e,this.endOfChunkHit=!1,this.lastChunkWritten=t}insertHtmlAtCurrentPos(e){this.html=this.html.substring(0,this.pos+1)+e+this.html.substring(this.pos+1),this.endOfChunkHit=!1}startsWith(e,t){if(this.pos+e.length>this.html.length)return this.endOfChunkHit=!this.lastChunkWritten,!1;if(t)return this.html.startsWith(e,this.pos);for(let t=0;t<e.length;t++)if((32|this.html.charCodeAt(this.pos+t))!==e.charCodeAt(t))return!1;return!0}peek(e){const t=this.pos+e;if(t>=this.html.length)return this.endOfChunkHit=!this.lastChunkWritten,r.CODE_POINTS.EOF;const n=this.html.charCodeAt(t);return n===r.CODE_POINTS.CARRIAGE_RETURN?r.CODE_POINTS.LINE_FEED:n}advance(){if(this.pos++,this.isEol&&(this.isEol=!1,this.line++,this.lineStartPos=this.pos),this.pos>=this.html.length)return this.endOfChunkHit=!this.lastChunkWritten,r.CODE_POINTS.EOF;let e=this.html.charCodeAt(this.pos);return e===r.CODE_POINTS.CARRIAGE_RETURN?(this.isEol=!0,this.skipNextNewLine=!0,r.CODE_POINTS.LINE_FEED):e===r.CODE_POINTS.LINE_FEED&&(this.isEol=!0,this.skipNextNewLine)?(this.line--,this.skipNextNewLine=!1,this._addGap(),this.advance()):(this.skipNextNewLine=!1,(0,r.isSurrogate)(e)&&(e=this._processSurrogate(e)),null===this.handler.onParseError||e>31&&e<127||e===r.CODE_POINTS.LINE_FEED||e===r.CODE_POINTS.CARRIAGE_RETURN||e>159&&e<64976||this._checkForProblematicCharacters(e),e)}_checkForProblematicCharacters(e){(0,r.isControlCodePoint)(e)?this._err(i.ERR.controlCharacterInInputStream):(0,r.isUndefinedCodePoint)(e)&&this._err(i.ERR.noncharacterInInputStream)}retreat(e){for(this.pos-=e;this.pos<this.lastGapPos;)this.lastGapPos=this.gapStack.pop(),this.pos--;this.isEol=!1}}},1907:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.defaultTreeAdapter=void 0;const r=n(477);function i(e){return{nodeName:"#text",value:e,parentNode:null}}t.defaultTreeAdapter={createDocument:()=>({nodeName:"#document",mode:r.DOCUMENT_MODE.NO_QUIRKS,childNodes:[]}),createDocumentFragment:()=>({nodeName:"#document-fragment",childNodes:[]}),createElement:(e,t,n)=>({nodeName:e,tagName:e,attrs:n,namespaceURI:t,childNodes:[],parentNode:null}),createCommentNode:e=>({nodeName:"#comment",data:e,parentNode:null}),appendChild(e,t){e.childNodes.push(t),t.parentNode=e},insertBefore(e,t,n){const r=e.childNodes.indexOf(n);e.childNodes.splice(r,0,t),t.parentNode=e},setTemplateContent(e,t){e.content=t},getTemplateContent:e=>e.content,setDocumentType(e,n,r,i){const o=e.childNodes.find((e=>"#documentType"===e.nodeName));if(o)o.name=n,o.publicId=r,o.systemId=i;else{const o={nodeName:"#documentType",name:n,publicId:r,systemId:i,parentNode:null};t.defaultTreeAdapter.appendChild(e,o)}},setDocumentMode(e,t){e.mode=t},getDocumentMode:e=>e.mode,detachNode(e){if(e.parentNode){const t=e.parentNode.childNodes.indexOf(e);e.parentNode.childNodes.splice(t,1),e.parentNode=null}},insertText(e,n){if(e.childNodes.length>0){const r=e.childNodes[e.childNodes.length-1];if(t.defaultTreeAdapter.isTextNode(r))return void(r.value+=n)}t.defaultTreeAdapter.appendChild(e,i(n))},insertTextBefore(e,n,r){const o=e.childNodes[e.childNodes.indexOf(r)-1];o&&t.defaultTreeAdapter.isTextNode(o)?o.value+=n:t.defaultTreeAdapter.insertBefore(e,i(n),r)},adoptAttributes(e,t){const n=new Set(e.attrs.map((e=>e.name)));for(let r=0;r<t.length;r++)n.has(t[r].name)||e.attrs.push(t[r])},getFirstChild:e=>e.childNodes[0],getChildNodes:e=>e.childNodes,getParentNode:e=>e.parentNode,getAttrList:e=>e.attrs,getTagName:e=>e.tagName,getNamespaceURI:e=>e.namespaceURI,getTextNodeContent:e=>e.value,getCommentNodeContent:e=>e.data,getDocumentTypeNodeName:e=>e.name,getDocumentTypeNodePublicId:e=>e.publicId,getDocumentTypeNodeSystemId:e=>e.systemId,isTextNode:e=>"#text"===e.nodeName,isCommentNode:e=>"#comment"===e.nodeName,isDocumentTypeNode:e=>"#documentType"===e.nodeName,isElementNode:e=>Object.prototype.hasOwnProperty.call(e,"tagName"),setNodeSourceCodeLocation(e,t){e.sourceCodeLocation=t},getNodeSourceCodeLocation:e=>e.sourceCodeLocation,updateNodeSourceCodeLocation(e,t){e.sourceCodeLocation=Object.assign(Object.assign({},e.sourceCodeLocation),t)}}}},r={};function i(e){var t=r[e];if(void 0!==t)return t.exports;var o=r[e]={id:e,loaded:!1,exports:{}};return n[e].call(o.exports,o,o.exports,i),o.loaded=!0,o.exports}i.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return i.d(t,{a:t}),t},t=Object.getPrototypeOf?e=>Object.getPrototypeOf(e):e=>e.__proto__,i.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 o=Object.create(null);i.r(o);var a={};e=e||[null,t({}),t([]),t(t)];for(var s=2&r&&n;"object"==typeof s&&!~e.indexOf(s);s=t(s))Object.getOwnPropertyNames(s).forEach((e=>a[e]=()=>n[e]));return a.default=()=>n,i.d(o,a),o},i.d=(e,t)=>{for(var n in t)i.o(t,n)&&!i.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},i.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),i.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),i.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},i.nmd=e=>(e.paths=[],e.children||(e.children=[]),e),i.nc=void 0,(()=>{"use strict";var e=i(4246),t=i(7378),n=i.t(t,2),r=i(7634),o=i(1892),a=i.n(o),s=i(5760),l=i.n(s),c=i(8311),u=i.n(c),d=i(8192),f=i.n(d),h=i(8060),p=i.n(h),m=i(4865),g=i.n(m),b=i(5290),v={};v.styleTagTransform=g(),v.setAttributes=f(),v.insert=u().bind(null,"head"),v.domAPI=l(),v.insertStyleElement=p(),a()(b.Z,v),b.Z&&b.Z.locals&&b.Z.locals;var y=(...e)=>e.filter(Boolean).join(" ");function E(e){const t=typeof e;return null!=e&&("object"===t||"function"===t)&&!Array.isArray(e)}function T(e,...t){return _(e)?e(...t):e}var _=e=>"function"==typeof e,A=e=>e?"":void 0;function S(...e){return function(t){e.some((e=>(null==e||e(t),null==t?void 0:t.defaultPrevented)))}}var C=i(5282),I=e=>"string"==typeof e?e.replace(/!(important)?$/,"").trim():e,w=(e,t)=>n=>{const r=String(t),i=(e=>/!(important)?$/.test(e))(r),o=I(r),a=e?`${e}.${o}`:o;let s=E(n.__cssMap)&&a in n.__cssMap?n.__cssMap[a].varRef:t;return s=I(s),i?`${s} !important`:s};function x(e){const{scale:t,transform:n,compose:r}=e;return(e,i)=>{var o;const a=w(t,e)(i);let s=null!=(o=null==n?void 0:n(a,i))?o:a;return r&&(s=r(s,i)),s}}var D=(...e)=>t=>e.reduce(((e,t)=>t(e)),t);function k(e,t){return n=>{const r={property:n,scale:e};return r.transform=x({scale:e,transform:t}),r}}var O=({rtl:e,ltr:t})=>n=>"rtl"===n.direction?e:t,N=["rotate(var(--chakra-rotate, 0))","scaleX(var(--chakra-scale-x, 1))","scaleY(var(--chakra-scale-y, 1))","skewX(var(--chakra-skew-x, 0))","skewY(var(--chakra-skew-y, 0))"],P={"--chakra-blur":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-brightness":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-contrast":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-grayscale":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-hue-rotate":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-invert":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-saturate":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-sepia":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-drop-shadow":"var(--chakra-empty,/*!*/ /*!*/)",filter:["var(--chakra-blur)","var(--chakra-brightness)","var(--chakra-contrast)","var(--chakra-grayscale)","var(--chakra-hue-rotate)","var(--chakra-invert)","var(--chakra-saturate)","var(--chakra-sepia)","var(--chakra-drop-shadow)"].join(" ")},R={backdropFilter:["var(--chakra-backdrop-blur)","var(--chakra-backdrop-brightness)","var(--chakra-backdrop-contrast)","var(--chakra-backdrop-grayscale)","var(--chakra-backdrop-hue-rotate)","var(--chakra-backdrop-invert)","var(--chakra-backdrop-opacity)","var(--chakra-backdrop-saturate)","var(--chakra-backdrop-sepia)"].join(" "),"--chakra-backdrop-blur":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-backdrop-brightness":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-backdrop-contrast":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-backdrop-grayscale":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-backdrop-hue-rotate":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-backdrop-invert":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-backdrop-opacity":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-backdrop-saturate":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-backdrop-sepia":"var(--chakra-empty,/*!*/ /*!*/)"},L={"row-reverse":{space:"--chakra-space-x-reverse",divide:"--chakra-divide-x-reverse"},"column-reverse":{space:"--chakra-space-y-reverse",divide:"--chakra-divide-y-reverse"}},M={"to-t":"to top","to-tr":"to top right","to-r":"to right","to-br":"to bottom right","to-b":"to bottom","to-bl":"to bottom left","to-l":"to left","to-tl":"to top left"},B=new Set(Object.values(M)),F=new Set(["none","-moz-initial","inherit","initial","revert","unset"]),G=e=>e.trim(),j=e=>"string"==typeof e&&e.includes("(")&&e.includes(")"),H=e=>t=>`${e}(${t})`,U={filter:e=>"auto"!==e?e:P,backdropFilter:e=>"auto"!==e?e:R,ring:e=>function(e){return{"--chakra-ring-offset-shadow":"var(--chakra-ring-inset) 0 0 0 var(--chakra-ring-offset-width) var(--chakra-ring-offset-color)","--chakra-ring-shadow":"var(--chakra-ring-inset) 0 0 0 calc(var(--chakra-ring-width) + var(--chakra-ring-offset-width)) var(--chakra-ring-color)","--chakra-ring-width":e,boxShadow:["var(--chakra-ring-offset-shadow)","var(--chakra-ring-shadow)","var(--chakra-shadow, 0 0 #0000)"].join(", ")}}(U.px(e)),bgClip:e=>"text"===e?{color:"transparent",backgroundClip:"text"}:{backgroundClip:e},transform:e=>"auto"===e?["translateX(var(--chakra-translate-x, 0))","translateY(var(--chakra-translate-y, 0))",...N].join(" "):"auto-gpu"===e?["translate3d(var(--chakra-translate-x, 0), var(--chakra-translate-y, 0), 0)",...N].join(" "):e,vh:e=>"$100vh"===e?"var(--chakra-vh)":e,px(e){if(null==e)return e;const{unitless:t}=(e=>{const t=parseFloat(e.toString()),n=e.toString().replace(String(t),"");return{unitless:!n,value:t,unit:n}})(e);return t||"number"==typeof e?`${e}px`:e},fraction:e=>"number"!=typeof e||e>1?e:100*e+"%",float:(e,t)=>"rtl"===t.direction?{left:"right",right:"left"}[e]:e,degree(e){if(function(e){return/^var\(--.+\)$/.test(e)}(e)||null==e)return e;const t="string"==typeof e&&!e.endsWith("deg");return"number"==typeof e||t?`${e}deg`:e},gradient:(e,t)=>function(e,t){if(null==e||F.has(e))return e;if(!j(e)&&!F.has(e))return`url('${e}')`;const n=/(^[a-z-A-Z]+)\((.*)\)/g.exec(e),r=null==n?void 0:n[1],i=null==n?void 0:n[2];if(!r||!i)return e;const o=r.includes("-gradient")?r:`${r}-gradient`,[a,...s]=i.split(",").map(G).filter(Boolean);if(0===(null==s?void 0:s.length))return e;const l=a in M?M[a]:a;return s.unshift(l),`${o}(${s.map((e=>{if(B.has(e))return e;const n=e.indexOf(" "),[r,i]=-1!==n?[e.substr(0,n),e.substr(n+1)]:[e],o=j(i)?i:i&&i.split(" "),a=`colors.${r}`,s=a in t.__cssMap?t.__cssMap[a].varRef:r;return o?[s,...Array.isArray(o)?o:[o]].join(" "):s})).join(", ")})`}(e,null!=t?t:{}),blur:H("blur"),opacity:H("opacity"),brightness:H("brightness"),contrast:H("contrast"),dropShadow:H("drop-shadow"),grayscale:H("grayscale"),hueRotate:e=>H("hue-rotate")(U.degree(e)),invert:H("invert"),saturate:H("saturate"),sepia:H("sepia"),bgImage:e=>null==e||j(e)||F.has(e)?e:`url(${e})`,outline(e){const t="0"===String(e)||"none"===String(e);return null!==e&&t?{outline:"2px solid transparent",outlineOffset:"2px"}:{outline:e}},flexDirection(e){var t;const{space:n,divide:r}=null!=(t=L[e])?t:{},i={flexDirection:e};return n&&(i[n]=1),r&&(i[r]=1),i}},z={borderWidths:k("borderWidths"),borderStyles:k("borderStyles"),colors:k("colors"),borders:k("borders"),gradients:k("gradients",U.gradient),radii:k("radii",U.px),space:k("space",D(U.vh,U.px)),spaceT:k("space",D(U.vh,U.px)),degreeT:e=>({property:e,transform:U.degree}),prop:(e,t,n)=>({property:e,scale:t,...t&&{transform:x({scale:t,transform:n})}}),propT:(e,t)=>({property:e,transform:t}),sizes:k("sizes",D(U.vh,U.px)),sizesT:k("sizes",D(U.vh,U.fraction)),shadows:k("shadows"),logical:function(e){const{property:t,scale:n,transform:r}=e;return{scale:n,property:O(t),transform:n?x({scale:n,compose:r}):r}},blur:k("blur",U.blur)},V={background:z.colors("background"),backgroundColor:z.colors("backgroundColor"),backgroundImage:z.gradients("backgroundImage"),backgroundSize:!0,backgroundPosition:!0,backgroundRepeat:!0,backgroundAttachment:!0,backgroundClip:{transform:U.bgClip},bgSize:z.prop("backgroundSize"),bgPosition:z.prop("backgroundPosition"),bg:z.colors("background"),bgColor:z.colors("backgroundColor"),bgPos:z.prop("backgroundPosition"),bgRepeat:z.prop("backgroundRepeat"),bgAttachment:z.prop("backgroundAttachment"),bgGradient:z.gradients("backgroundImage"),bgClip:{transform:U.bgClip}};Object.assign(V,{bgImage:V.backgroundImage,bgImg:V.backgroundImage});var $={border:z.borders("border"),borderWidth:z.borderWidths("borderWidth"),borderStyle:z.borderStyles("borderStyle"),borderColor:z.colors("borderColor"),borderRadius:z.radii("borderRadius"),borderTop:z.borders("borderTop"),borderBlockStart:z.borders("borderBlockStart"),borderTopLeftRadius:z.radii("borderTopLeftRadius"),borderStartStartRadius:z.logical({scale:"radii",property:{ltr:"borderTopLeftRadius",rtl:"borderTopRightRadius"}}),borderEndStartRadius:z.logical({scale:"radii",property:{ltr:"borderBottomLeftRadius",rtl:"borderBottomRightRadius"}}),borderTopRightRadius:z.radii("borderTopRightRadius"),borderStartEndRadius:z.logical({scale:"radii",property:{ltr:"borderTopRightRadius",rtl:"borderTopLeftRadius"}}),borderEndEndRadius:z.logical({scale:"radii",property:{ltr:"borderBottomRightRadius",rtl:"borderBottomLeftRadius"}}),borderRight:z.borders("borderRight"),borderInlineEnd:z.borders("borderInlineEnd"),borderBottom:z.borders("borderBottom"),borderBlockEnd:z.borders("borderBlockEnd"),borderBottomLeftRadius:z.radii("borderBottomLeftRadius"),borderBottomRightRadius:z.radii("borderBottomRightRadius"),borderLeft:z.borders("borderLeft"),borderInlineStart:{property:"borderInlineStart",scale:"borders"},borderInlineStartRadius:z.logical({scale:"radii",property:{ltr:["borderTopLeftRadius","borderBottomLeftRadius"],rtl:["borderTopRightRadius","borderBottomRightRadius"]}}),borderInlineEndRadius:z.logical({scale:"radii",property:{ltr:["borderTopRightRadius","borderBottomRightRadius"],rtl:["borderTopLeftRadius","borderBottomLeftRadius"]}}),borderX:z.borders(["borderLeft","borderRight"]),borderInline:z.borders("borderInline"),borderY:z.borders(["borderTop","borderBottom"]),borderBlock:z.borders("borderBlock"),borderTopWidth:z.borderWidths("borderTopWidth"),borderBlockStartWidth:z.borderWidths("borderBlockStartWidth"),borderTopColor:z.colors("borderTopColor"),borderBlockStartColor:z.colors("borderBlockStartColor"),borderTopStyle:z.borderStyles("borderTopStyle"),borderBlockStartStyle:z.borderStyles("borderBlockStartStyle"),borderBottomWidth:z.borderWidths("borderBottomWidth"),borderBlockEndWidth:z.borderWidths("borderBlockEndWidth"),borderBottomColor:z.colors("borderBottomColor"),borderBlockEndColor:z.colors("borderBlockEndColor"),borderBottomStyle:z.borderStyles("borderBottomStyle"),borderBlockEndStyle:z.borderStyles("borderBlockEndStyle"),borderLeftWidth:z.borderWidths("borderLeftWidth"),borderInlineStartWidth:z.borderWidths("borderInlineStartWidth"),borderLeftColor:z.colors("borderLeftColor"),borderInlineStartColor:z.colors("borderInlineStartColor"),borderLeftStyle:z.borderStyles("borderLeftStyle"),borderInlineStartStyle:z.borderStyles("borderInlineStartStyle"),borderRightWidth:z.borderWidths("borderRightWidth"),borderInlineEndWidth:z.borderWidths("borderInlineEndWidth"),borderRightColor:z.colors("borderRightColor"),borderInlineEndColor:z.colors("borderInlineEndColor"),borderRightStyle:z.borderStyles("borderRightStyle"),borderInlineEndStyle:z.borderStyles("borderInlineEndStyle"),borderTopRadius:z.radii(["borderTopLeftRadius","borderTopRightRadius"]),borderBottomRadius:z.radii(["borderBottomLeftRadius","borderBottomRightRadius"]),borderLeftRadius:z.radii(["borderTopLeftRadius","borderBottomLeftRadius"]),borderRightRadius:z.radii(["borderTopRightRadius","borderBottomRightRadius"])};Object.assign($,{rounded:$.borderRadius,roundedTop:$.borderTopRadius,roundedTopLeft:$.borderTopLeftRadius,roundedTopRight:$.borderTopRightRadius,roundedTopStart:$.borderStartStartRadius,roundedTopEnd:$.borderStartEndRadius,roundedBottom:$.borderBottomRadius,roundedBottomLeft:$.borderBottomLeftRadius,roundedBottomRight:$.borderBottomRightRadius,roundedBottomStart:$.borderEndStartRadius,roundedBottomEnd:$.borderEndEndRadius,roundedLeft:$.borderLeftRadius,roundedRight:$.borderRightRadius,roundedStart:$.borderInlineStartRadius,roundedEnd:$.borderInlineEndRadius,borderStart:$.borderInlineStart,borderEnd:$.borderInlineEnd,borderTopStartRadius:$.borderStartStartRadius,borderTopEndRadius:$.borderStartEndRadius,borderBottomStartRadius:$.borderEndStartRadius,borderBottomEndRadius:$.borderEndEndRadius,borderStartRadius:$.borderInlineStartRadius,borderEndRadius:$.borderInlineEndRadius,borderStartWidth:$.borderInlineStartWidth,borderEndWidth:$.borderInlineEndWidth,borderStartColor:$.borderInlineStartColor,borderEndColor:$.borderInlineEndColor,borderStartStyle:$.borderInlineStartStyle,borderEndStyle:$.borderInlineEndStyle});var q={color:z.colors("color"),textColor:z.colors("color"),fill:z.colors("fill"),stroke:z.colors("stroke")},W={boxShadow:z.shadows("boxShadow"),mixBlendMode:!0,blendMode:z.prop("mixBlendMode"),backgroundBlendMode:!0,bgBlendMode:z.prop("backgroundBlendMode"),opacity:!0};Object.assign(W,{shadow:W.boxShadow});var Y={filter:{transform:U.filter},blur:z.blur("--chakra-blur"),brightness:z.propT("--chakra-brightness",U.brightness),contrast:z.propT("--chakra-contrast",U.contrast),hueRotate:z.propT("--chakra-hue-rotate",U.hueRotate),invert:z.propT("--chakra-invert",U.invert),saturate:z.propT("--chakra-saturate",U.saturate),dropShadow:z.propT("--chakra-drop-shadow",U.dropShadow),backdropFilter:{transform:U.backdropFilter},backdropBlur:z.blur("--chakra-backdrop-blur"),backdropBrightness:z.propT("--chakra-backdrop-brightness",U.brightness),backdropContrast:z.propT("--chakra-backdrop-contrast",U.contrast),backdropHueRotate:z.propT("--chakra-backdrop-hue-rotate",U.hueRotate),backdropInvert:z.propT("--chakra-backdrop-invert",U.invert),backdropSaturate:z.propT("--chakra-backdrop-saturate",U.saturate)},K={alignItems:!0,alignContent:!0,justifyItems:!0,justifyContent:!0,flexWrap:!0,flexDirection:{transform:U.flexDirection},flex:!0,flexFlow:!0,flexGrow:!0,flexShrink:!0,flexBasis:z.sizes("flexBasis"),justifySelf:!0,alignSelf:!0,order:!0,placeItems:!0,placeContent:!0,placeSelf:!0,gap:z.space("gap"),rowGap:z.space("rowGap"),columnGap:z.space("columnGap")};Object.assign(K,{flexDir:K.flexDirection});var X={gridGap:z.space("gridGap"),gridColumnGap:z.space("gridColumnGap"),gridRowGap:z.space("gridRowGap"),gridColumn:!0,gridRow:!0,gridAutoFlow:!0,gridAutoColumns:!0,gridColumnStart:!0,gridColumnEnd:!0,gridRowStart:!0,gridRowEnd:!0,gridAutoRows:!0,gridTemplate:!0,gridTemplateColumns:!0,gridTemplateRows:!0,gridTemplateAreas:!0,gridArea:!0},Q={appearance:!0,cursor:!0,resize:!0,userSelect:!0,pointerEvents:!0,outline:{transform:U.outline},outlineOffset:!0,outlineColor:z.colors("outlineColor")},Z={width:z.sizesT("width"),inlineSize:z.sizesT("inlineSize"),height:z.sizes("height"),blockSize:z.sizes("blockSize"),boxSize:z.sizes(["width","height"]),minWidth:z.sizes("minWidth"),minInlineSize:z.sizes("minInlineSize"),minHeight:z.sizes("minHeight"),minBlockSize:z.sizes("minBlockSize"),maxWidth:z.sizes("maxWidth"),maxInlineSize:z.sizes("maxInlineSize"),maxHeight:z.sizes("maxHeight"),maxBlockSize:z.sizes("maxBlockSize"),overflow:!0,overflowX:!0,overflowY:!0,overscrollBehavior:!0,overscrollBehaviorX:!0,overscrollBehaviorY:!0,display:!0,aspectRatio:!0,hideFrom:{scale:"breakpoints",transform:(e,t)=>{var n,r,i;return{[`@media screen and (min-width: ${null!=(i=null==(r=null==(n=t.__breakpoints)?void 0:n.get(e))?void 0:r.minW)?i:e})`]:{display:"none"}}}},hideBelow:{scale:"breakpoints",transform:(e,t)=>{var n,r,i;return{[`@media screen and (max-width: ${null!=(i=null==(r=null==(n=t.__breakpoints)?void 0:n.get(e))?void 0:r._minW)?i:e})`]:{display:"none"}}}},verticalAlign:!0,boxSizing:!0,boxDecorationBreak:!0,float:z.propT("float",U.float),objectFit:!0,objectPosition:!0,visibility:!0,isolation:!0};Object.assign(Z,{w:Z.width,h:Z.height,minW:Z.minWidth,maxW:Z.maxWidth,minH:Z.minHeight,maxH:Z.maxHeight,overscroll:Z.overscrollBehavior,overscrollX:Z.overscrollBehaviorX,overscrollY:Z.overscrollBehaviorY});var J={listStyleType:!0,listStylePosition:!0,listStylePos:z.prop("listStylePosition"),listStyleImage:!0,listStyleImg:z.prop("listStyleImage")},ee=(e=>{const t=new WeakMap;return(n,r,i,o)=>{if(void 0===n)return e(n,r,i);t.has(n)||t.set(n,new Map);const a=t.get(n);if(a.has(r))return a.get(r);const s=e(n,r,i,o);return a.set(r,s),s}})((function(e,t,n,r){const i="string"==typeof t?t.split("."):[t];for(r=0;r<i.length&&e;r+=1)e=e[i[r]];return void 0===e?n:e})),te={border:"0px",clip:"rect(0, 0, 0, 0)",width:"1px",height:"1px",margin:"-1px",padding:"0px",overflow:"hidden",whiteSpace:"nowrap",position:"absolute"},ne={position:"static",width:"auto",height:"auto",clip:"auto",padding:"0",margin:"0",overflow:"visible",whiteSpace:"normal"},re=(e,t,n)=>{const r={},i=ee(e,t,{});for(const e in i)e in n&&null!=n[e]||(r[e]=i[e]);return r},ie={srOnly:{transform:e=>!0===e?te:"focusable"===e?ne:{}},layerStyle:{processResult:!0,transform:(e,t,n)=>re(t,`layerStyles.${e}`,n)},textStyle:{processResult:!0,transform:(e,t,n)=>re(t,`textStyles.${e}`,n)},apply:{processResult:!0,transform:(e,t,n)=>re(t,e,n)}},oe={position:!0,pos:z.prop("position"),zIndex:z.prop("zIndex","zIndices"),inset:z.spaceT("inset"),insetX:z.spaceT(["left","right"]),insetInline:z.spaceT("insetInline"),insetY:z.spaceT(["top","bottom"]),insetBlock:z.spaceT("insetBlock"),top:z.spaceT("top"),insetBlockStart:z.spaceT("insetBlockStart"),bottom:z.spaceT("bottom"),insetBlockEnd:z.spaceT("insetBlockEnd"),left:z.spaceT("left"),insetInlineStart:z.logical({scale:"space",property:{ltr:"left",rtl:"right"}}),right:z.spaceT("right"),insetInlineEnd:z.logical({scale:"space",property:{ltr:"right",rtl:"left"}})};Object.assign(oe,{insetStart:oe.insetInlineStart,insetEnd:oe.insetInlineEnd});var ae={ring:{transform:U.ring},ringColor:z.colors("--chakra-ring-color"),ringOffset:z.prop("--chakra-ring-offset-width"),ringOffsetColor:z.colors("--chakra-ring-offset-color"),ringInset:z.prop("--chakra-ring-inset")},se={margin:z.spaceT("margin"),marginTop:z.spaceT("marginTop"),marginBlockStart:z.spaceT("marginBlockStart"),marginRight:z.spaceT("marginRight"),marginInlineEnd:z.spaceT("marginInlineEnd"),marginBottom:z.spaceT("marginBottom"),marginBlockEnd:z.spaceT("marginBlockEnd"),marginLeft:z.spaceT("marginLeft"),marginInlineStart:z.spaceT("marginInlineStart"),marginX:z.spaceT(["marginInlineStart","marginInlineEnd"]),marginInline:z.spaceT("marginInline"),marginY:z.spaceT(["marginTop","marginBottom"]),marginBlock:z.spaceT("marginBlock"),padding:z.space("padding"),paddingTop:z.space("paddingTop"),paddingBlockStart:z.space("paddingBlockStart"),paddingRight:z.space("paddingRight"),paddingBottom:z.space("paddingBottom"),paddingBlockEnd:z.space("paddingBlockEnd"),paddingLeft:z.space("paddingLeft"),paddingInlineStart:z.space("paddingInlineStart"),paddingInlineEnd:z.space("paddingInlineEnd"),paddingX:z.space(["paddingInlineStart","paddingInlineEnd"]),paddingInline:z.space("paddingInline"),paddingY:z.space(["paddingTop","paddingBottom"]),paddingBlock:z.space("paddingBlock")};Object.assign(se,{m:se.margin,mt:se.marginTop,mr:se.marginRight,me:se.marginInlineEnd,marginEnd:se.marginInlineEnd,mb:se.marginBottom,ml:se.marginLeft,ms:se.marginInlineStart,marginStart:se.marginInlineStart,mx:se.marginX,my:se.marginY,p:se.padding,pt:se.paddingTop,py:se.paddingY,px:se.paddingX,pb:se.paddingBottom,pl:se.paddingLeft,ps:se.paddingInlineStart,paddingStart:se.paddingInlineStart,pr:se.paddingRight,pe:se.paddingInlineEnd,paddingEnd:se.paddingInlineEnd});var le={textDecorationColor:z.colors("textDecorationColor"),textDecoration:!0,textDecor:{property:"textDecoration"},textDecorationLine:!0,textDecorationStyle:!0,textDecorationThickness:!0,textUnderlineOffset:!0,textShadow:z.shadows("textShadow")},ce={clipPath:!0,transform:z.propT("transform",U.transform),transformOrigin:!0,translateX:z.spaceT("--chakra-translate-x"),translateY:z.spaceT("--chakra-translate-y"),skewX:z.degreeT("--chakra-skew-x"),skewY:z.degreeT("--chakra-skew-y"),scaleX:z.prop("--chakra-scale-x"),scaleY:z.prop("--chakra-scale-y"),scale:z.prop(["--chakra-scale-x","--chakra-scale-y"]),rotate:z.degreeT("--chakra-rotate")},ue={transition:!0,transitionDelay:!0,animation:!0,willChange:!0,transitionDuration:z.prop("transitionDuration","transition.duration"),transitionProperty:z.prop("transitionProperty","transition.property"),transitionTimingFunction:z.prop("transitionTimingFunction","transition.easing")},de={fontFamily:z.prop("fontFamily","fonts"),fontSize:z.prop("fontSize","fontSizes",U.px),fontWeight:z.prop("fontWeight","fontWeights"),lineHeight:z.prop("lineHeight","lineHeights"),letterSpacing:z.prop("letterSpacing","letterSpacings"),textAlign:!0,fontStyle:!0,textIndent:!0,wordBreak:!0,overflowWrap:!0,textOverflow:!0,textTransform:!0,whiteSpace:!0,isTruncated:{transform(e){if(!0===e)return{overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"}}},noOfLines:{static:{overflow:"hidden",textOverflow:"ellipsis",display:"-webkit-box",WebkitBoxOrient:"vertical",WebkitLineClamp:"var(--chakra-line-clamp)"},property:"--chakra-line-clamp"}},fe={scrollBehavior:!0,scrollSnapAlign:!0,scrollSnapStop:!0,scrollSnapType:!0,scrollMargin:z.spaceT("scrollMargin"),scrollMarginTop:z.spaceT("scrollMarginTop"),scrollMarginBottom:z.spaceT("scrollMarginBottom"),scrollMarginLeft:z.spaceT("scrollMarginLeft"),scrollMarginRight:z.spaceT("scrollMarginRight"),scrollMarginX:z.spaceT(["scrollMarginLeft","scrollMarginRight"]),scrollMarginY:z.spaceT(["scrollMarginTop","scrollMarginBottom"]),scrollPadding:z.spaceT("scrollPadding"),scrollPaddingTop:z.spaceT("scrollPaddingTop"),scrollPaddingBottom:z.spaceT("scrollPaddingBottom"),scrollPaddingLeft:z.spaceT("scrollPaddingLeft"),scrollPaddingRight:z.spaceT("scrollPaddingRight"),scrollPaddingX:z.spaceT(["scrollPaddingLeft","scrollPaddingRight"]),scrollPaddingY:z.spaceT(["scrollPaddingTop","scrollPaddingBottom"])};function he(e){return E(e)&&e.reference?e.reference:String(e)}var pe=(e,...t)=>t.map(he).join(` ${e} `).replace(/calc/g,""),me=(...e)=>`calc(${pe("+",...e)})`,ge=(...e)=>`calc(${pe("-",...e)})`,be=(...e)=>`calc(${pe("*",...e)})`,ve=(...e)=>`calc(${pe("/",...e)})`,ye=e=>{const t=he(e);return null==t||Number.isNaN(parseFloat(t))?be(t,-1):String(t).startsWith("-")?String(t).slice(1):`-${t}`},Ee=Object.assign((e=>({add:(...t)=>Ee(me(e,...t)),subtract:(...t)=>Ee(ge(e,...t)),multiply:(...t)=>Ee(be(e,...t)),divide:(...t)=>Ee(ve(e,...t)),negate:()=>Ee(ye(e)),toString:()=>e.toString()})),{add:me,subtract:ge,multiply:be,divide:ve,negate:ye});function Te(e,t){return`var(${e}${t?`, ${t}`:""})`}function _e(e,t=""){return function(e){return function(e){return e.replace(/[!-,/:-@[-^`{-~]/g,"\\$&")}(function(e){return e.includes("\\.")||Number.isInteger(parseFloat(e.toString()))?e:e.replace(".","\\.")}(function(e,t="-"){return e.replace(/\s+/g,t)}(e.toString())))}(`--${function(e,t=""){return[t,e].filter(Boolean).join("-")}(e,t)}`)}function Ae(e,t,n){const r=_e(e,n);return{variable:r,reference:Te(r,t)}}function Se(e){const t=null==e?0:e.length;return t?e[t-1]:void 0}function Ce(e){if(null==e)return e;const{unitless:t}=function(e){const t=parseFloat(e.toString()),n=e.toString().replace(String(t),"");return{unitless:!n,value:t,unit:n}}(e);return t||"number"==typeof e?`${e}px`:e}var Ie=(e,t)=>parseInt(e[1],10)>parseInt(t[1],10)?1:-1,we=e=>Object.fromEntries(Object.entries(e).sort(Ie));function xe(e){const t=we(e);return Object.assign(Object.values(t),t)}function De(e){var t;return e?"number"==typeof(e=null!=(t=Ce(e))?t:e)?`${e+-.02}`:e.replace(/(\d+\.?\d*)/u,(e=>`${parseFloat(e)+-.02}`)):e}function ke(e,t){const n=["@media screen"];return e&&n.push("and",`(min-width: ${Ce(e)})`),t&&n.push("and",`(max-width: ${Ce(t)})`),n.join(" ")}function Oe(e){var t;if(!e)return null;e.base=null!=(t=e.base)?t:"0px";const n=xe(e),r=Object.entries(e).sort(Ie).map((([e,t],n,r)=>{var i;let[,o]=null!=(i=r[n+1])?i:[];return o=parseFloat(o)>0?De(o):void 0,{_minW:De(t),breakpoint:e,minW:t,maxW:o,maxWQuery:ke(null,o),minWQuery:ke(t),minMaxQuery:ke(t,o)}})),i=function(e){const t=Object.keys(we(e));return new Set(t)}(e),o=Array.from(i.values());return{keys:i,normalized:n,isResponsive(e){const t=Object.keys(e);return t.length>0&&t.every((e=>i.has(e)))},asObject:we(e),asArray:xe(e),details:r,get:e=>r.find((t=>t.breakpoint===e)),media:[null,...n.map((e=>ke(e))).slice(1)],toArrayValue(e){if(!E(e))throw new Error("toArrayValue: value must be an object");const t=o.map((t=>{var n;return null!=(n=e[t])?n:null}));for(;null===Se(t);)t.pop();return t},toObjectValue(e){if(!Array.isArray(e))throw new Error("toObjectValue: value must be an array");return e.reduce(((e,t,n)=>{const r=o[n];return null!=r&&null!=t&&(e[r]=t),e}),{})}}}var Ne=(e,t)=>`${e}:hover ${t}, ${e}[data-hover] ${t}`,Pe=(e,t)=>`${e}:focus ${t}, ${e}[data-focus] ${t}`,Re=(e,t)=>`${e}:focus-visible ${t}`,Le=(e,t)=>`${e}:focus-within ${t}`,Me=(e,t)=>`${e}:active ${t}, ${e}[data-active] ${t}`,Be=(e,t)=>`${e}:disabled ${t}, ${e}[data-disabled] ${t}`,Fe=(e,t)=>`${e}:invalid ${t}, ${e}[data-invalid] ${t}`,Ge=(e,t)=>`${e}:checked ${t}, ${e}[data-checked] ${t}`,je=e=>Ue((t=>e(t,"&")),"[role=group]","[data-group]",".group"),He=e=>Ue((t=>e(t,"~ &")),"[data-peer]",".peer"),Ue=(e,...t)=>t.map(e).join(", "),ze={_hover:"&:hover, &[data-hover]",_active:"&:active, &[data-active]",_focus:"&:focus, &[data-focus]",_highlighted:"&[data-highlighted]",_focusWithin:"&:focus-within",_focusVisible:"&:focus-visible, &[data-focus-visible]",_disabled:"&:disabled, &[disabled], &[aria-disabled=true], &[data-disabled]",_readOnly:"&[aria-readonly=true], &[readonly], &[data-readonly]",_before:"&::before",_after:"&::after",_empty:"&:empty",_expanded:"&[aria-expanded=true], &[data-expanded]",_checked:"&[aria-checked=true], &[data-checked]",_grabbed:"&[aria-grabbed=true], &[data-grabbed]",_pressed:"&[aria-pressed=true], &[data-pressed]",_invalid:"&[aria-invalid=true], &[data-invalid]",_valid:"&[data-valid], &[data-state=valid]",_loading:"&[data-loading], &[aria-busy=true]",_selected:"&[aria-selected=true], &[data-selected]",_hidden:"&[hidden], &[data-hidden]",_autofill:"&:-webkit-autofill",_even:"&:nth-of-type(even)",_odd:"&:nth-of-type(odd)",_first:"&:first-of-type",_firstLetter:"&::first-letter",_last:"&:last-of-type",_notFirst:"&:not(:first-of-type)",_notLast:"&:not(:last-of-type)",_visited:"&:visited",_activeLink:"&[aria-current=page]",_activeStep:"&[aria-current=step]",_indeterminate:"&:indeterminate, &[aria-checked=mixed], &[data-indeterminate]",_groupHover:je(Ne),_peerHover:He(Ne),_groupFocus:je(Pe),_peerFocus:He(Pe),_groupFocusVisible:je(Re),_peerFocusVisible:He(Re),_groupActive:je(Me),_peerActive:He(Me),_groupDisabled:je(Be),_peerDisabled:He(Be),_groupInvalid:je(Fe),_peerInvalid:He(Fe),_groupChecked:je(Ge),_peerChecked:He(Ge),_groupFocusWithin:je(Le),_peerFocusWithin:He(Le),_peerPlaceholderShown:He(((e,t)=>`${e}:placeholder-shown ${t}`)),_placeholder:"&::placeholder",_placeholderShown:"&:placeholder-shown",_fullScreen:"&:fullscreen",_selection:"&::selection",_rtl:"[dir=rtl] &, &[dir=rtl]",_ltr:"[dir=ltr] &, &[dir=ltr]",_mediaDark:"@media (prefers-color-scheme: dark)",_mediaReduceMotion:"@media (prefers-reduced-motion: reduce)",_dark:".chakra-ui-dark &:not([data-theme]),[data-theme=dark] &:not([data-theme]),&[data-theme=dark]",_light:".chakra-ui-light &:not([data-theme]),[data-theme=light] &:not([data-theme]),&[data-theme=light]",_horizontal:"&[data-orientation=horizontal]",_vertical:"&[data-orientation=vertical]"},Ve=Object.keys(ze);function $e(e,t){return Ae(String(e).replace(/\./g,"-"),void 0,t)}function qe(e,t,n={}){const{stop:r,getKey:i}=n;return function e(n,o=[]){var a;if(function(e){return"object"==typeof e&&null!=e&&!Array.isArray(e)}(n)||Array.isArray(n)){const s={};for(const[l,c]of Object.entries(n)){const u=null!=(a=null==i?void 0:i(l))?a:l,d=[...o,u];if(null==r?void 0:r(n,d))return t(n,o);s[u]=e(c,d)}return s}return t(n,o)}(e)}var We=["colors","borders","borderWidths","borderStyles","fonts","fontSizes","fontWeights","gradients","letterSpacings","lineHeights","radii","space","shadows","sizes","zIndices","transition","blur","breakpoints"],Ye=e=>Ve.includes(e)||"default"===e;var Ke=C({},V,$,q,K,Z,Y,ae,Q,X,ie,oe,W,se,fe,de,le,ce,J,ue),Xe=Object.assign({},se,Z,K,X,oe),Qe=(Object.keys(Xe),[...Object.keys(Ke),...Ve]),Ze={...Ke,...ze},Je=e=>e in Ze,et=(e,t)=>e.startsWith("--")&&"string"==typeof t&&!function(e){return/^var\(--.+\)$/.test(e)}(t),tt=(e,t)=>{var n,r;if(null==t)return t;const i=t=>{var n,r;return null==(r=null==(n=e.__cssMap)?void 0:n[t])?void 0:r.varRef},o=e=>{var t;return null!=(t=i(e))?t:e},[a,s]=function(e){const t=[];let n="",r=!1;for(let i=0;i<e.length;i++){const o=e[i];"("===o?(r=!0,n+=o):")"===o?(r=!1,n+=o):","!==o||r?n+=o:(t.push(n),n="")}return n=n.trim(),n&&t.push(n),t}(t);return null!=(r=null!=(n=i(a))?n:o(s))?r:o(t)};var nt=e=>t=>function(e){const{configs:t={},pseudos:n={},theme:r}=e,i=(e,o=!1)=>{var a,s,l;const c=T(e,r),u=(e=>t=>{if(!t.__breakpoints)return e;const{isResponsive:n,toArrayValue:r,media:i}=t.__breakpoints,o={};for(const a in e){let s=T(e[a],t);if(null==s)continue;if(s=E(s)&&n(s)?r(s):s,!Array.isArray(s)){o[a]=s;continue}const l=s.slice(0,i.length).length;for(let e=0;e<l;e+=1){const t=null==i?void 0:i[e];t?(o[t]=o[t]||{},null!=s[e]&&(o[t][a]=s[e])):o[a]=s[e]}}return o})(c)(r);let d={};for(let e in u){let f=T(u[e],r);e in n&&(e=n[e]),et(e,f)&&(f=tt(r,f));let h=t[e];if(!0===h&&(h={property:e}),E(f)){d[e]=null!=(a=d[e])?a:{},d[e]=C({},d[e],i(f,!0));continue}let p=null!=(l=null==(s=null==h?void 0:h.transform)?void 0:s.call(h,f,r,c))?l:f;p=(null==h?void 0:h.processResult)?i(p,!0):p;const m=T(null==h?void 0:h.property,r);if(!o&&(null==h?void 0:h.static)){const e=T(h.static,r);d=C({},d,e)}if(m&&Array.isArray(m))for(const e of m)d[e]=p;else m?"&"===m&&E(p)?d=C({},d,p):d[m]=p:E(p)?d=C({},d,p):d[e]=p}return d};return i}({theme:t,pseudos:ze,configs:Ke})(e);function rt(e){return{definePartsStyle:e=>e,defineMultiStyleConfig:t=>({parts:e,...t})}}function it(e,t){for(let n=t+1;n<e.length;n++)if(null!=e[n])return n;return-1}function ot(e){return function(e,t=[]){const n=Object.assign({},e);for(const e of t)e in n&&delete n[e];return n}(e,["styleConfig","size","variant","colorScheme"])}var at=new Set([...Qe,"textStyle","layerStyle","apply","noOfLines","focusBorderColor","errorBorderColor","as","__css","css","sx"]),st=new Set(["htmlWidth","htmlHeight","htmlSize","htmlTranslate"]);function lt(e){return st.has(e)||!at.has(e)}var ct=(0,t.createContext)({});function ut(){const e=(0,t.useContext)(ct);if(void 0===e)throw new Error("useColorMode must be used within a ColorModeProvider");return e}ct.displayName="ColorModeContext";var dt=(e=>{const t=new WeakMap;return(n,r,i,o)=>{if(void 0===n)return e(n,r,i);t.has(n)||t.set(n,new Map);const a=t.get(n);if(a.has(r))return a.get(r);const s=e(n,r,i,o);return a.set(r,s),s}})((function(e,t,n,r){const i="string"==typeof t?t.split("."):[t];for(r=0;r<i.length&&e;r+=1)e=e[i[r]];return void 0===e?n:e}));function ft(e,t){const n={};return Object.keys(e).forEach((r=>{const i=e[r];t(i,r,e)&&(n[r]=i)})),n}var ht=e=>ft(e,(e=>null!=e));function pt(e,...t){return"function"==typeof e?e(...t):e}function mt(...e){return function(t){e.some((e=>(null==e||e(t),null==t?void 0:t.defaultPrevented)))}}function gt(){return gt=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},gt.apply(this,arguments)}function bt(e){var t=Object.create(null);return function(n){return void 0===t[n]&&(t[n]=e(n)),t[n]}}var vt=/^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|suppressHydrationWarning|valueLink|abbr|accept|acceptCharset|accessKey|action|allow|allowUserMedia|allowPaymentRequest|allowFullScreen|allowTransparency|alt|async|autoComplete|autoPlay|capture|cellPadding|cellSpacing|challenge|charSet|checked|cite|classID|className|cols|colSpan|content|contentEditable|contextMenu|controls|controlsList|coords|crossOrigin|data|dateTime|decoding|default|defer|dir|disabled|disablePictureInPicture|download|draggable|encType|enterKeyHint|form|formAction|formEncType|formMethod|formNoValidate|formTarget|frameBorder|headers|height|hidden|high|href|hrefLang|htmlFor|httpEquiv|id|inputMode|integrity|is|keyParams|keyType|kind|label|lang|list|loading|loop|low|marginHeight|marginWidth|max|maxLength|media|mediaGroup|method|min|minLength|multiple|muted|name|nonce|noValidate|open|optimum|pattern|placeholder|playsInline|poster|preload|profile|radioGroup|readOnly|referrerPolicy|rel|required|reversed|role|rows|rowSpan|sandbox|scope|scoped|scrolling|seamless|selected|shape|size|sizes|slot|span|spellCheck|src|srcDoc|srcLang|srcSet|start|step|style|summary|tabIndex|target|title|translate|type|useMap|value|width|wmode|wrap|about|datatype|inlist|prefix|property|resource|typeof|vocab|autoCapitalize|autoCorrect|autoSave|color|incremental|fallback|inert|itemProp|itemScope|itemType|itemID|itemRef|on|option|results|security|unselectable|accentHeight|accumulate|additive|alignmentBaseline|allowReorder|alphabetic|amplitude|arabicForm|ascent|attributeName|attributeType|autoReverse|azimuth|baseFrequency|baselineShift|baseProfile|bbox|begin|bias|by|calcMode|capHeight|clip|clipPathUnits|clipPath|clipRule|colorInterpolation|colorInterpolationFilters|colorProfile|colorRendering|contentScriptType|contentStyleType|cursor|cx|cy|d|decelerate|descent|diffuseConstant|direction|display|divisor|dominantBaseline|dur|dx|dy|edgeMode|elevation|enableBackground|end|exponent|externalResourcesRequired|fill|fillOpacity|fillRule|filter|filterRes|filterUnits|floodColor|floodOpacity|focusable|fontFamily|fontSize|fontSizeAdjust|fontStretch|fontStyle|fontVariant|fontWeight|format|from|fr|fx|fy|g1|g2|glyphName|glyphOrientationHorizontal|glyphOrientationVertical|glyphRef|gradientTransform|gradientUnits|hanging|horizAdvX|horizOriginX|ideographic|imageRendering|in|in2|intercept|k|k1|k2|k3|k4|kernelMatrix|kernelUnitLength|kerning|keyPoints|keySplines|keyTimes|lengthAdjust|letterSpacing|lightingColor|limitingConeAngle|local|markerEnd|markerMid|markerStart|markerHeight|markerUnits|markerWidth|mask|maskContentUnits|maskUnits|mathematical|mode|numOctaves|offset|opacity|operator|order|orient|orientation|origin|overflow|overlinePosition|overlineThickness|panose1|paintOrder|pathLength|patternContentUnits|patternTransform|patternUnits|pointerEvents|points|pointsAtX|pointsAtY|pointsAtZ|preserveAlpha|preserveAspectRatio|primitiveUnits|r|radius|refX|refY|renderingIntent|repeatCount|repeatDur|requiredExtensions|requiredFeatures|restart|result|rotate|rx|ry|scale|seed|shapeRendering|slope|spacing|specularConstant|specularExponent|speed|spreadMethod|startOffset|stdDeviation|stemh|stemv|stitchTiles|stopColor|stopOpacity|strikethroughPosition|strikethroughThickness|string|stroke|strokeDasharray|strokeDashoffset|strokeLinecap|strokeLinejoin|strokeMiterlimit|strokeOpacity|strokeWidth|surfaceScale|systemLanguage|tableValues|targetX|targetY|textAnchor|textDecoration|textRendering|textLength|to|transform|u1|u2|underlinePosition|underlineThickness|unicode|unicodeBidi|unicodeRange|unitsPerEm|vAlphabetic|vHanging|vIdeographic|vMathematical|values|vectorEffect|version|vertAdvY|vertOriginX|vertOriginY|viewBox|viewTarget|visibility|widths|wordSpacing|writingMode|x|xHeight|x1|x2|xChannelSelector|xlinkActuate|xlinkArcrole|xlinkHref|xlinkRole|xlinkShow|xlinkTitle|xlinkType|xmlBase|xmlns|xmlnsXlink|xmlLang|xmlSpace|y|y1|y2|yChannelSelector|z|zoomAndPan|for|class|autofocus)|(([Dd][Aa][Tt][Aa]|[Aa][Rr][Ii][Aa]|x)-.*))$/,yt=bt((function(e){return vt.test(e)||111===e.charCodeAt(0)&&110===e.charCodeAt(1)&&e.charCodeAt(2)<91})),Et=function(){function e(e){var t=this;this._insertTag=function(e){var n;n=0===t.tags.length?t.insertionPoint?t.insertionPoint.nextSibling:t.prepend?t.container.firstChild:t.before:t.tags[t.tags.length-1].nextSibling,t.container.insertBefore(e,n),t.tags.push(e)},this.isSpeedy=void 0===e.speedy||e.speedy,this.tags=[],this.ctr=0,this.nonce=e.nonce,this.key=e.key,this.container=e.container,this.prepend=e.prepend,this.insertionPoint=e.insertionPoint,this.before=null}var t=e.prototype;return t.hydrate=function(e){e.forEach(this._insertTag)},t.insert=function(e){this.ctr%(this.isSpeedy?65e3:1)==0&&this._insertTag(function(e){var t=document.createElement("style");return t.setAttribute("data-emotion",e.key),void 0!==e.nonce&&t.setAttribute("nonce",e.nonce),t.appendChild(document.createTextNode("")),t.setAttribute("data-s",""),t}(this));var t=this.tags[this.tags.length-1];if(this.isSpeedy){var n=function(e){if(e.sheet)return e.sheet;for(var t=0;t<document.styleSheets.length;t++)if(document.styleSheets[t].ownerNode===e)return document.styleSheets[t]}(t);try{n.insertRule(e,n.cssRules.length)}catch(e){}}else t.appendChild(document.createTextNode(e));this.ctr++},t.flush=function(){this.tags.forEach((function(e){return e.parentNode&&e.parentNode.removeChild(e)})),this.tags=[],this.ctr=0},e}(),Tt=Math.abs,_t=String.fromCharCode,At=Object.assign;function St(e){return e.trim()}function Ct(e,t,n){return e.replace(t,n)}function It(e,t){return e.indexOf(t)}function wt(e,t){return 0|e.charCodeAt(t)}function xt(e,t,n){return e.slice(t,n)}function Dt(e){return e.length}function kt(e){return e.length}function Ot(e,t){return t.push(e),e}var Nt=1,Pt=1,Rt=0,Lt=0,Mt=0,Bt="";function Ft(e,t,n,r,i,o,a){return{value:e,root:t,parent:n,type:r,props:i,children:o,line:Nt,column:Pt,length:a,return:""}}function Gt(e,t){return At(Ft("",null,null,"",null,null,0),e,{length:-e.length},t)}function jt(){return Mt=Lt>0?wt(Bt,--Lt):0,Pt--,10===Mt&&(Pt=1,Nt--),Mt}function Ht(){return Mt=Lt<Rt?wt(Bt,Lt++):0,Pt++,10===Mt&&(Pt=1,Nt++),Mt}function Ut(){return wt(Bt,Lt)}function zt(){return Lt}function Vt(e,t){return xt(Bt,e,t)}function $t(e){switch(e){case 0:case 9:case 10:case 13:case 32:return 5;case 33:case 43:case 44:case 47:case 62:case 64:case 126:case 59:case 123:case 125:return 4;case 58:return 3;case 34:case 39:case 40:case 91:return 2;case 41:case 93:return 1}return 0}function qt(e){return Nt=Pt=1,Rt=Dt(Bt=e),Lt=0,[]}function Wt(e){return Bt="",e}function Yt(e){return St(Vt(Lt-1,Qt(91===e?e+2:40===e?e+1:e)))}function Kt(e){for(;(Mt=Ut())&&Mt<33;)Ht();return $t(e)>2||$t(Mt)>3?"":" "}function Xt(e,t){for(;--t&&Ht()&&!(Mt<48||Mt>102||Mt>57&&Mt<65||Mt>70&&Mt<97););return Vt(e,zt()+(t<6&&32==Ut()&&32==Ht()))}function Qt(e){for(;Ht();)switch(Mt){case e:return Lt;case 34:case 39:34!==e&&39!==e&&Qt(Mt);break;case 40:41===e&&Qt(e);break;case 92:Ht()}return Lt}function Zt(e,t){for(;Ht()&&e+Mt!==57&&(e+Mt!==84||47!==Ut()););return"/*"+Vt(t,Lt-1)+"*"+_t(47===e?e:Ht())}function Jt(e){for(;!$t(Ut());)Ht();return Vt(e,Lt)}var en="-ms-",tn="-moz-",nn="-webkit-",rn="comm",on="rule",an="decl",sn="@keyframes";function ln(e,t){for(var n="",r=kt(e),i=0;i<r;i++)n+=t(e[i],i,e,t)||"";return n}function cn(e,t,n,r){switch(e.type){case"@layer":if(e.children.length)break;case"@import":case an:return e.return=e.return||e.value;case rn:return"";case sn:return e.return=e.value+"{"+ln(e.children,r)+"}";case on:e.value=e.props.join(",")}return Dt(n=ln(e.children,r))?e.return=e.value+"{"+n+"}":""}function un(e){return Wt(dn("",null,null,null,[""],e=qt(e),0,[0],e))}function dn(e,t,n,r,i,o,a,s,l){for(var c=0,u=0,d=a,f=0,h=0,p=0,m=1,g=1,b=1,v=0,y="",E=i,T=o,_=r,A=y;g;)switch(p=v,v=Ht()){case 40:if(108!=p&&58==wt(A,d-1)){-1!=It(A+=Ct(Yt(v),"&","&\f"),"&\f")&&(b=-1);break}case 34:case 39:case 91:A+=Yt(v);break;case 9:case 10:case 13:case 32:A+=Kt(p);break;case 92:A+=Xt(zt()-1,7);continue;case 47:switch(Ut()){case 42:case 47:Ot(hn(Zt(Ht(),zt()),t,n),l);break;default:A+="/"}break;case 123*m:s[c++]=Dt(A)*b;case 125*m:case 59:case 0:switch(v){case 0:case 125:g=0;case 59+u:-1==b&&(A=Ct(A,/\f/g,"")),h>0&&Dt(A)-d&&Ot(h>32?pn(A+";",r,n,d-1):pn(Ct(A," ","")+";",r,n,d-2),l);break;case 59:A+=";";default:if(Ot(_=fn(A,t,n,c,u,i,s,y,E=[],T=[],d),o),123===v)if(0===u)dn(A,t,_,_,E,o,d,s,T);else switch(99===f&&110===wt(A,3)?100:f){case 100:case 108:case 109:case 115:dn(e,_,_,r&&Ot(fn(e,_,_,0,0,i,s,y,i,E=[],d),T),i,T,d,s,r?E:T);break;default:dn(A,_,_,_,[""],T,0,s,T)}}c=u=h=0,m=b=1,y=A="",d=a;break;case 58:d=1+Dt(A),h=p;default:if(m<1)if(123==v)--m;else if(125==v&&0==m++&&125==jt())continue;switch(A+=_t(v),v*m){case 38:b=u>0?1:(A+="\f",-1);break;case 44:s[c++]=(Dt(A)-1)*b,b=1;break;case 64:45===Ut()&&(A+=Yt(Ht())),f=Ut(),u=d=Dt(y=A+=Jt(zt())),v++;break;case 45:45===p&&2==Dt(A)&&(m=0)}}return o}function fn(e,t,n,r,i,o,a,s,l,c,u){for(var d=i-1,f=0===i?o:[""],h=kt(f),p=0,m=0,g=0;p<r;++p)for(var b=0,v=xt(e,d+1,d=Tt(m=a[p])),y=e;b<h;++b)(y=St(m>0?f[b]+" "+v:Ct(v,/&\f/g,f[b])))&&(l[g++]=y);return Ft(e,t,n,0===i?on:s,l,c,u)}function hn(e,t,n){return Ft(e,t,n,rn,_t(Mt),xt(e,2,-2),0)}function pn(e,t,n,r){return Ft(e,t,n,an,xt(e,0,r),xt(e,r+1,-1),r)}var mn=function(e,t,n){for(var r=0,i=0;r=i,i=Ut(),38===r&&12===i&&(t[n]=1),!$t(i);)Ht();return Vt(e,Lt)},gn=new WeakMap,bn=function(e){if("rule"===e.type&&e.parent&&!(e.length<1)){for(var t=e.value,n=e.parent,r=e.column===n.column&&e.line===n.line;"rule"!==n.type;)if(!(n=n.parent))return;if((1!==e.props.length||58===t.charCodeAt(0)||gn.get(n))&&!r){gn.set(e,!0);for(var i=[],o=function(e,t){return Wt(function(e,t){var n=-1,r=44;do{switch($t(r)){case 0:38===r&&12===Ut()&&(t[n]=1),e[n]+=mn(Lt-1,t,n);break;case 2:e[n]+=Yt(r);break;case 4:if(44===r){e[++n]=58===Ut()?"&\f":"",t[n]=e[n].length;break}default:e[n]+=_t(r)}}while(r=Ht());return e}(qt(e),t))}(t,i),a=n.props,s=0,l=0;s<o.length;s++)for(var c=0;c<a.length;c++,l++)e.props[l]=i[s]?o[s].replace(/&\f/g,a[c]):a[c]+" "+o[s]}}},vn=function(e){if("decl"===e.type){var t=e.value;108===t.charCodeAt(0)&&98===t.charCodeAt(2)&&(e.return="",e.value="")}};function yn(e,t){switch(function(e,t){return 45^wt(e,0)?(((t<<2^wt(e,0))<<2^wt(e,1))<<2^wt(e,2))<<2^wt(e,3):0}(e,t)){case 5103:return nn+"print-"+e+e;case 5737:case 4201:case 3177:case 3433:case 1641:case 4457:case 2921:case 5572:case 6356:case 5844:case 3191:case 6645:case 3005:case 6391:case 5879:case 5623:case 6135:case 4599:case 4855:case 4215:case 6389:case 5109:case 5365:case 5621:case 3829:return nn+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return nn+e+tn+e+en+e+e;case 6828:case 4268:return nn+e+en+e+e;case 6165:return nn+e+en+"flex-"+e+e;case 5187:return nn+e+Ct(e,/(\w+).+(:[^]+)/,nn+"box-$1$2"+en+"flex-$1$2")+e;case 5443:return nn+e+en+"flex-item-"+Ct(e,/flex-|-self/,"")+e;case 4675:return nn+e+en+"flex-line-pack"+Ct(e,/align-content|flex-|-self/,"")+e;case 5548:return nn+e+en+Ct(e,"shrink","negative")+e;case 5292:return nn+e+en+Ct(e,"basis","preferred-size")+e;case 6060:return nn+"box-"+Ct(e,"-grow","")+nn+e+en+Ct(e,"grow","positive")+e;case 4554:return nn+Ct(e,/([^-])(transform)/g,"$1"+nn+"$2")+e;case 6187:return Ct(Ct(Ct(e,/(zoom-|grab)/,nn+"$1"),/(image-set)/,nn+"$1"),e,"")+e;case 5495:case 3959:return Ct(e,/(image-set\([^]*)/,nn+"$1$`$1");case 4968:return Ct(Ct(e,/(.+:)(flex-)?(.*)/,nn+"box-pack:$3"+en+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+nn+e+e;case 4095:case 3583:case 4068:case 2532:return Ct(e,/(.+)-inline(.+)/,nn+"$1$2")+e;case 8116:case 7059:case 5753:case 5535:case 5445:case 5701:case 4933:case 4677:case 5533:case 5789:case 5021:case 4765:if(Dt(e)-1-t>6)switch(wt(e,t+1)){case 109:if(45!==wt(e,t+4))break;case 102:return Ct(e,/(.+:)(.+)-([^]+)/,"$1"+nn+"$2-$3$1"+tn+(108==wt(e,t+3)?"$3":"$2-$3"))+e;case 115:return~It(e,"stretch")?yn(Ct(e,"stretch","fill-available"),t)+e:e}break;case 4949:if(115!==wt(e,t+1))break;case 6444:switch(wt(e,Dt(e)-3-(~It(e,"!important")&&10))){case 107:return Ct(e,":",":"+nn)+e;case 101:return Ct(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+nn+(45===wt(e,14)?"inline-":"")+"box$3$1"+nn+"$2$3$1"+en+"$2box$3")+e}break;case 5936:switch(wt(e,t+11)){case 114:return nn+e+en+Ct(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return nn+e+en+Ct(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return nn+e+en+Ct(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return nn+e+en+e+e}return e}var En=[function(e,t,n,r){if(e.length>-1&&!e.return)switch(e.type){case an:e.return=yn(e.value,e.length);break;case sn:return ln([Gt(e,{value:Ct(e.value,"@","@"+nn)})],r);case on:if(e.length)return function(e,t){return e.map(t).join("")}(e.props,(function(t){switch(function(e,t){return(e=/(::plac\w+|:read-\w+)/.exec(e))?e[0]:e}(t)){case":read-only":case":read-write":return ln([Gt(e,{props:[Ct(t,/:(read-\w+)/,":-moz-$1")]})],r);case"::placeholder":return ln([Gt(e,{props:[Ct(t,/:(plac\w+)/,":"+nn+"input-$1")]}),Gt(e,{props:[Ct(t,/:(plac\w+)/,":-moz-$1")]}),Gt(e,{props:[Ct(t,/:(plac\w+)/,en+"input-$1")]})],r)}return""}))}}],Tn=function(e){var t=e.key;if("css"===t){var n=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(n,(function(e){-1!==e.getAttribute("data-emotion").indexOf(" ")&&(document.head.appendChild(e),e.setAttribute("data-s",""))}))}var r,i,o=e.stylisPlugins||En,a={},s=[];r=e.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+t+' "]'),(function(e){for(var t=e.getAttribute("data-emotion").split(" "),n=1;n<t.length;n++)a[t[n]]=!0;s.push(e)}));var l,c,u,d,f=[cn,(d=function(e){l.insert(e)},function(e){e.root||(e=e.return)&&d(e)})],h=(c=[bn,vn].concat(o,f),u=kt(c),function(e,t,n,r){for(var i="",o=0;o<u;o++)i+=c[o](e,t,n,r)||"";return i});i=function(e,t,n,r){l=n,function(e){ln(un(e),h)}(e?e+"{"+t.styles+"}":t.styles),r&&(p.inserted[t.name]=!0)};var p={key:t,sheet:new Et({key:t,container:r,nonce:e.nonce,speedy:e.speedy,prepend:e.prepend,insertionPoint:e.insertionPoint}),nonce:e.nonce,inserted:a,registered:{},insert:i};return p.sheet.hydrate(s),p},_n=function(e){var t=new WeakMap;return function(n){if(t.has(n))return t.get(n);var r=e(n);return t.set(n,r),r}},An={animationIterationCount:1,aspectRatio:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1},Sn=/[A-Z]|^ms/g,Cn=/_EMO_([^_]+?)_([^]*?)_EMO_/g,In=function(e){return 45===e.charCodeAt(1)},wn=function(e){return null!=e&&"boolean"!=typeof e},xn=bt((function(e){return In(e)?e:e.replace(Sn,"-$&").toLowerCase()})),Dn=function(e,t){switch(e){case"animation":case"animationName":if("string"==typeof t)return t.replace(Cn,(function(e,t,n){return On={name:t,styles:n,next:On},t}))}return 1===An[e]||In(e)||"number"!=typeof t||0===t?t:t+"px"};function kn(e,t,n){if(null==n)return"";if(void 0!==n.__emotion_styles)return n;switch(typeof n){case"boolean":return"";case"object":if(1===n.anim)return On={name:n.name,styles:n.styles,next:On},n.name;if(void 0!==n.styles){var r=n.next;if(void 0!==r)for(;void 0!==r;)On={name:r.name,styles:r.styles,next:On},r=r.next;return n.styles+";"}return function(e,t,n){var r="";if(Array.isArray(n))for(var i=0;i<n.length;i++)r+=kn(e,t,n[i])+";";else for(var o in n){var a=n[o];if("object"!=typeof a)null!=t&&void 0!==t[a]?r+=o+"{"+t[a]+"}":wn(a)&&(r+=xn(o)+":"+Dn(o,a)+";");else if(!Array.isArray(a)||"string"!=typeof a[0]||null!=t&&void 0!==t[a[0]]){var s=kn(e,t,a);switch(o){case"animation":case"animationName":r+=xn(o)+":"+s+";";break;default:r+=o+"{"+s+"}"}}else for(var l=0;l<a.length;l++)wn(a[l])&&(r+=xn(o)+":"+Dn(o,a[l])+";")}return r}(e,t,n);case"function":if(void 0!==e){var i=On,o=n(e);return On=i,kn(e,t,o)}}if(null==t)return n;var a=t[n];return void 0!==a?a:n}var On,Nn=/label:\s*([^\s;\n{]+)\s*(;|$)/g,Pn=function(e,t,n){if(1===e.length&&"object"==typeof e[0]&&null!==e[0]&&void 0!==e[0].styles)return e[0];var r=!0,i="";On=void 0;var o=e[0];null==o||void 0===o.raw?(r=!1,i+=kn(n,t,o)):i+=o[0];for(var a=1;a<e.length;a++)i+=kn(n,t,e[a]),r&&(i+=o[a]);Nn.lastIndex=0;for(var s,l="";null!==(s=Nn.exec(i));)l+="-"+s[1];var c=function(e){for(var t,n=0,r=0,i=e.length;i>=4;++r,i-=4)t=1540483477*(65535&(t=255&e.charCodeAt(r)|(255&e.charCodeAt(++r))<<8|(255&e.charCodeAt(++r))<<16|(255&e.charCodeAt(++r))<<24))+(59797*(t>>>16)<<16),n=1540483477*(65535&(t^=t>>>24))+(59797*(t>>>16)<<16)^1540483477*(65535&n)+(59797*(n>>>16)<<16);switch(i){case 3:n^=(255&e.charCodeAt(r+2))<<16;case 2:n^=(255&e.charCodeAt(r+1))<<8;case 1:n=1540483477*(65535&(n^=255&e.charCodeAt(r)))+(59797*(n>>>16)<<16)}return(((n=1540483477*(65535&(n^=n>>>13))+(59797*(n>>>16)<<16))^n>>>15)>>>0).toString(36)}(i)+l;return{name:c,styles:i,next:On}},Rn=!!n.useInsertionEffect&&n.useInsertionEffect,Ln=Rn||function(e){return e()},Mn=Rn||t.useLayoutEffect,Bn=t.createContext("undefined"!=typeof HTMLElement?Tn({key:"css"}):null);Bn.Provider;var Fn,Gn=function(e){return(0,t.forwardRef)((function(n,r){var i=(0,t.useContext)(Bn);return e(n,i,r)}))},jn=t.createContext({}),Hn=_n((function(e){return _n((function(t){return function(e,t){return"function"==typeof t?t(e):gt({},e,t)}(e,t)}))})),Un=function(e){var n=t.useContext(jn);return e.theme!==n&&(n=Hn(n)(e.theme)),t.createElement(jn.Provider,{value:n},e.children)},zn=function(e,t,n){var r=e.key+"-"+t.name;!1===n&&void 0===e.registered[r]&&(e.registered[r]=t.styles)},Vn=function(e,t,n){zn(e,t,n);var r=e.key+"-"+t.name;if(void 0===e.inserted[t.name]){var i=t;do{e.insert(t===i?"."+r:"",i,e.sheet,!0),i=i.next}while(void 0!==i)}},$n=yt,qn=function(e){return"theme"!==e},Wn=function(e){return"string"==typeof e&&e.charCodeAt(0)>96?$n:qn},Yn=function(e,t,n){var r;if(t){var i=t.shouldForwardProp;r=e.__emotion_forwardProp&&i?function(t){return e.__emotion_forwardProp(t)&&i(t)}:i}return"function"!=typeof r&&n&&(r=e.__emotion_forwardProp),r},Kn=function(e){var t=e.cache,n=e.serialized,r=e.isStringTag;return zn(t,n,r),Ln((function(){return Vn(t,n,r)})),null},Xn=function e(n,r){var i,o,a=n.__emotion_real===n,s=a&&n.__emotion_base||n;void 0!==r&&(i=r.label,o=r.target);var l=Yn(n,r,a),c=l||Wn(s),u=!c("as");return function(){var d=arguments,f=a&&void 0!==n.__emotion_styles?n.__emotion_styles.slice(0):[];if(void 0!==i&&f.push("label:"+i+";"),null==d[0]||void 0===d[0].raw)f.push.apply(f,d);else{f.push(d[0][0]);for(var h=d.length,p=1;p<h;p++)f.push(d[p],d[0][p])}var m=Gn((function(e,n,r){var i=u&&e.as||s,a="",d=[],h=e;if(null==e.theme){for(var p in h={},e)h[p]=e[p];h.theme=t.useContext(jn)}"string"==typeof e.className?a=function(e,t,n){var r="";return n.split(" ").forEach((function(n){void 0!==e[n]?t.push(e[n]+";"):r+=n+" "})),r}(n.registered,d,e.className):null!=e.className&&(a=e.className+" ");var m=Pn(f.concat(d),n.registered,h);a+=n.key+"-"+m.name,void 0!==o&&(a+=" "+o);var g=u&&void 0===l?Wn(i):c,b={};for(var v in e)u&&"as"===v||g(v)&&(b[v]=e[v]);return b.className=a,b.ref=r,t.createElement(t.Fragment,null,t.createElement(Kn,{cache:n,serialized:m,isStringTag:"string"==typeof i}),t.createElement(i,b))}));return m.displayName=void 0!==i?i:"Styled("+("string"==typeof s?s:s.displayName||s.name||"Component")+")",m.defaultProps=n.defaultProps,m.__emotion_real=m,m.__emotion_base=s,m.__emotion_styles=f,m.__emotion_forwardProp=l,Object.defineProperty(m,"toString",{value:function(){return"."+o}}),m.withComponent=function(t,n){return e(t,gt({},r,n,{shouldForwardProp:Yn(m,n,!0)})).apply(void 0,f)},m}}.bind();["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","big","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","keygen","label","legend","li","link","main","map","mark","marquee","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rp","rt","ruby","s","samp","script","section","select","small","source","span","strong","style","sub","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","title","tr","track","u","ul","var","video","wbr","circle","clipPath","defs","ellipse","foreignObject","g","image","line","linearGradient","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","svg","text","tspan"].forEach((function(e){Xn[e]=Xn(e)}));var Qn=null!=(Fn=Xn.default)?Fn:Xn;function Zn(e,n){const{baseStyle:r,...i}=null!=n?n:{};i.shouldForwardProp||(i.shouldForwardProp=lt);const o=(({baseStyle:e})=>t=>{const{theme:n,css:r,__css:i,sx:o,...a}=t,s=ft(a,((e,t)=>Je(t))),l=function(e,...t){if(null==e)throw new TypeError("Cannot convert undefined or null to object");const n={...e};for(const e of t)if(null!=e)for(const t in e)Object.prototype.hasOwnProperty.call(e,t)&&(t in n&&delete n[t],n[t]=e[t]);return n}({},i,pt(e,t),ht(s),o),c=nt(l)(t.theme);return r?[c,r]:c})({baseStyle:r}),a=Qn(e,i)(o);return t.forwardRef((function(e,n){const{colorMode:r,forced:i}=ut();return t.createElement(a,{ref:n,"data-theme":i?r:void 0,...e})}))}var Jn=function(){const e=new Map;return new Proxy(Zn,{apply:(e,t,n)=>Zn(...n),get:(t,n)=>(e.has(n)||e.set(n,Zn(n)),e.get(n))})}(),er=t=>(0,e.jsx)(Jn.div,{className:"chakra-stack__item",...t,__css:{display:"inline-block",flex:"0 0 auto",minWidth:0,...t.__css}});function tr(e){return(0,t.forwardRef)(e)}er.displayName="StackItem",Object.freeze(["base","sm","md","lg","xl","2xl"]);var nr=tr(((n,r)=>{const{isInline:i,direction:o,align:a,justify:s,spacing:l="0.5rem",wrap:c,children:u,divider:d,className:f,shouldWrapChildren:h,...p}=n,m=i?"row":null!=o?o:"column",g=(0,t.useMemo)((()=>function(e){const{spacing:t,direction:n}=e,r={column:{my:t,mx:0,borderLeftWidth:0,borderBottomWidth:"1px"},"column-reverse":{my:t,mx:0,borderLeftWidth:0,borderBottomWidth:"1px"},row:{mx:t,my:0,borderLeftWidth:"1px",borderBottomWidth:0},"row-reverse":{mx:t,my:0,borderLeftWidth:"1px",borderBottomWidth:0}};return{"&":(i=n,o=e=>r[e],Array.isArray(i)?i.map((e=>null===e?null:o(e))):E(i)?Object.keys(i).reduce(((e,t)=>(e[t]=o(i[t]),e)),{}):null!=i?o(i):null)};var i,o}({spacing:l,direction:m})),[l,m]),b=!!d,v=!h&&!b,T=(0,t.useMemo)((()=>{const n=function(e){return t.Children.toArray(e).filter((e=>(0,t.isValidElement)(e)))}(u);return v?n:n.map(((r,i)=>{const o=void 0!==r.key?r.key:i,a=i+1===n.length,s=h?(0,e.jsx)(er,{children:r},o):r;if(!b)return s;const l=(0,t.cloneElement)(d,{__css:g}),c=a?null:l;return(0,e.jsxs)(t.Fragment,{children:[s,c]},o)}))}),[d,g,b,v,h,u]),_=y("chakra-stack",f);return(0,e.jsx)(Jn.div,{ref:r,display:"flex",alignItems:a,justifyContent:s,flexDirection:m,flexWrap:c,gap:b?void 0:l,className:_,...p,children:T})}));nr.displayName="Stack";var rr=tr(((t,n)=>(0,e.jsx)(nr,{align:"center",...t,direction:"row",ref:n})));rr.displayName="HStack";var ir=i(4335);function or(e,n={}){var r;const{styleConfig:i,...o}=n,{theme:a,colorMode:s}={...ut(),theme:function(){const e=(0,t.useContext)(jn);if(!e)throw Error("useTheme: `theme` is undefined. Seems you forgot to wrap your app in `<ChakraProvider />` or `<ThemeProvider />`");return e}()},l=e?dt(a,`components.${e}`):void 0,c=i||l,u=C({theme:a,colorMode:s},null!=(r=null==c?void 0:c.defaultProps)?r:{},ht(function(e,t){const n={};return Object.keys(e).forEach((r=>{t.includes(r)||(n[r]=e[r])})),n}(o,["children"]))),d=(0,t.useRef)({});if(c){const e=function(e){return t=>{var n;const{variant:r,size:i,theme:o}=t,a=function(e){const t=e.__breakpoints;return function(e,n,r,i){var o,a;if(!t)return;const s={},l=function(e,t){return Array.isArray(e)?e:E(e)?t(e):null!=e?[e]:void 0}(r,t.toArrayValue);if(!l)return s;const c=l.length,u=1===c,d=!!e.parts;for(let r=0;r<c;r++){const c=t.details[r],f=t.details[it(l,r)],h=ke(c.minW,null==f?void 0:f._minW),p=T(null==(o=e[n])?void 0:o[l[r]],i);p&&(d?null==(a=e.parts)||a.forEach((e=>{C(s,{[e]:u?p[e]:{[h]:p[e]}})})):d?s[h]=p:u?C(s,p):s[h]=p)}return s}}(o);return C({},T(null!=(n=e.baseStyle)?n:{},t),a(e,"sizes",i,t),a(e,"variants",r,t))}}(c),t=e(u);ir(d.current,t)||(d.current=t)}return d.current}function ar(e,t={}){return or(e,t)}function sr(e,t={}){return or(e,t)}var lr=tr((function(t,n){const r=ar("Text",t),{className:i,align:o,decoration:a,casing:s,...l}=ot(t),c=function(e){const t=Object.assign({},e);for(let e in t)void 0===t[e]&&delete t[e];return t}({textAlign:t.align,textDecoration:t.decoration,textTransform:t.casing});return(0,e.jsx)(Jn.p,{ref:n,className:y("chakra-text",t.className),...c,...l,__css:r})}));lr.displayName="Text";var cr=Jn("div",{baseStyle:{flex:1,justifySelf:"stretch",alignSelf:"stretch"}});cr.displayName="Spacer";var ur,dr=tr((function(t,n){const{borderLeftWidth:r,borderBottomWidth:i,borderTopWidth:o,borderRightWidth:a,borderWidth:s,borderStyle:l,borderColor:c,...u}=ar("Divider",t),{className:d,orientation:f="horizontal",__css:h,...p}=ot(t),m={vertical:{borderLeftWidth:r||a||s||"1px",height:"100%"},horizontal:{borderBottomWidth:i||o||s||"1px",width:"100%"}};return(0,e.jsx)(Jn.hr,{ref:n,"aria-orientation":f,...p,__css:{...u,border:"0",borderColor:c,borderStyle:l,...m[f],...h},className:y("chakra-divider",d)})}));function fr(){return fr=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},fr.apply(this,arguments)}dr.displayName="Divider";const hr=function(e){return t.createElement("svg",fr({xmlns:"http://www.w3.org/2000/svg",width:24,height:24,fill:"none"},e),ur||(ur=t.createElement("path",{fill:"current",d:"m7 10 5 5 5-5z"})))},pr=function(n){var r=n.title,i=n.children,o=(0,t.useState)(!1),a=o[0],s=o[1];return(0,e.jsxs)(nr,{paddingX:"20px",spacing:"5px",children:[(0,e.jsxs)(rr,{onClick:function(){s(!a)},className:"cursor-pointer",children:[(0,e.jsx)(lr,{color:"primary.100",fontSize:"lg",fontWeight:"bold",children:r}),(0,e.jsx)(cr,{}),(0,e.jsx)(hr,{fill:"var(--primary-color)",className:a?"rotate-180":""})]}),(0,e.jsx)(dr,{borderColor:"primary.100",opacity:"1"}),a&&i]})};function mr(){return!("undefined"==typeof window||!window.document||!window.document.createElement)}var gr=mr()?t.useLayoutEffect:t.useEffect;function br(e,n=[]){const r=(0,t.useRef)(e);return gr((()=>{r.current=e})),(0,t.useCallback)(((...e)=>{var t;return null==(t=r.current)?void 0:t.call(r,...e)}),n)}var vr={ease:[.25,.1,.25,1],easeIn:[.4,0,1,1],easeOut:[0,0,.2,1],easeInOut:[.4,0,.2,1]},yr={enter:{duration:.2,ease:vr.easeOut},exit:{duration:.1,ease:vr.easeIn}},Er=(e,t)=>({...e,delay:"number"==typeof t?t:null==t?void 0:t.enter}),Tr=(e,t)=>({...e,delay:"number"==typeof t?t:null==t?void 0:t.exit});const _r="undefined"!=typeof document,Ar=_r?t.useLayoutEffect:t.useEffect;function Sr(){const e=(0,t.useRef)(!1);return Ar((()=>(e.current=!0,()=>{e.current=!1})),[]),e}const Cr=e=>e;class Ir{constructor(){this.order=[],this.scheduled=new Set}add(e){if(!this.scheduled.has(e))return this.scheduled.add(e),this.order.push(e),!0}remove(e){const t=this.order.indexOf(e);-1!==t&&(this.order.splice(t,1),this.scheduled.delete(e))}clear(){this.order.length=0,this.scheduled.clear()}}const wr=["prepare","read","update","preRender","render","postRender"],{schedule:xr,cancel:Dr,state:kr,steps:Or}=function(e,t){let n=!1,r=!0;const i={delta:0,timestamp:0,isProcessing:!1},o=wr.reduce(((e,t)=>(e[t]=function(e){let t=new Ir,n=new Ir,r=0,i=!1,o=!1;const a=new WeakSet,s={schedule:(e,o=!1,s=!1)=>{const l=s&&i,c=l?t:n;return o&&a.add(e),c.add(e)&&l&&i&&(r=t.order.length),e},cancel:e=>{n.remove(e),a.delete(e)},process:l=>{if(i)o=!0;else{if(i=!0,[t,n]=[n,t],n.clear(),r=t.order.length,r)for(let n=0;n<r;n++){const r=t.order[n];r(l),a.has(r)&&(s.schedule(r),e())}i=!1,o&&(o=!1,s.process(l))}}};return s}((()=>n=!0)),e)),{}),a=e=>o[e].process(i),s=()=>{const t=performance.now();n=!1,i.delta=r?1e3/60:Math.max(Math.min(t-i.timestamp,40),1),i.timestamp=t,i.isProcessing=!0,wr.forEach(a),i.isProcessing=!1,n&&(r=!1,e(s))};return{schedule:wr.reduce(((t,a)=>{const l=o[a];return t[a]=(t,o=!1,a=!1)=>(n||(n=!0,r=!0,i.isProcessing||e(s)),l.schedule(t,o,a)),t}),{}),cancel:e=>wr.forEach((t=>o[t].cancel(e))),state:i,steps:o}}("undefined"!=typeof requestAnimationFrame?requestAnimationFrame:Cr),Nr=(0,t.createContext)(null);function Pr(e){const n=(0,t.useRef)(null);return null===n.current&&(n.current=e()),n.current}class Rr extends t.Component{getSnapshotBeforeUpdate(e){const t=this.props.childRef.current;if(t&&e.isPresent&&!this.props.isPresent){const e=this.props.sizeRef.current;e.height=t.offsetHeight||0,e.width=t.offsetWidth||0,e.top=t.offsetTop,e.left=t.offsetLeft}return null}componentDidUpdate(){}render(){return this.props.children}}function Lr({children:e,isPresent:n}){const r=(0,t.useId)(),i=(0,t.useRef)(null),o=(0,t.useRef)({width:0,height:0,top:0,left:0});return(0,t.useInsertionEffect)((()=>{const{width:e,height:t,top:a,left:s}=o.current;if(n||!i.current||!e||!t)return;i.current.dataset.motionPopId=r;const l=document.createElement("style");return document.head.appendChild(l),l.sheet&&l.sheet.insertRule(`\n [data-motion-pop-id="${r}"] {\n position: absolute !important;\n width: ${e}px !important;\n height: ${t}px !important;\n top: ${a}px !important;\n left: ${s}px !important;\n }\n `),()=>{document.head.removeChild(l)}}),[n]),t.createElement(Rr,{isPresent:n,childRef:i,sizeRef:o},t.cloneElement(e,{ref:i}))}const Mr=({children:e,initial:n,isPresent:r,onExitComplete:i,custom:o,presenceAffectsLayout:a,mode:s})=>{const l=Pr(Br),c=(0,t.useId)(),u=(0,t.useMemo)((()=>({id:c,initial:n,isPresent:r,custom:o,onExitComplete:e=>{l.set(e,!0);for(const e of l.values())if(!e)return;i&&i()},register:e=>(l.set(e,!1),()=>l.delete(e))})),a?void 0:[r]);return(0,t.useMemo)((()=>{l.forEach(((e,t)=>l.set(t,!1)))}),[r]),t.useEffect((()=>{!r&&!l.size&&i&&i()}),[r]),"popLayout"===s&&(e=t.createElement(Lr,{isPresent:r},e)),t.createElement(Nr.Provider,{value:u},e)};function Br(){return new Map}const Fr=(0,t.createContext)({});let Gr=Cr,jr=Cr;const Hr=e=>e.key||"",Ur=({children:e,custom:n,initial:r=!0,onExitComplete:i,exitBeforeEnter:o,presenceAffectsLayout:a=!0,mode:s="sync"})=>{jr(!o,"Replace exitBeforeEnter with mode='wait'");const l=(0,t.useContext)(Fr).forceRender||function(){const e=Sr(),[n,r]=(0,t.useState)(0),i=(0,t.useCallback)((()=>{e.current&&r(n+1)}),[n]);return[(0,t.useCallback)((()=>xr.postRender(i)),[i]),n]}()[0],c=Sr(),u=function(e){const n=[];return t.Children.forEach(e,(e=>{(0,t.isValidElement)(e)&&n.push(e)})),n}(e);let d=u;const f=(0,t.useRef)(new Map).current,h=(0,t.useRef)(d),p=(0,t.useRef)(new Map).current,m=(0,t.useRef)(!0);var g;if(Ar((()=>{m.current=!1,function(e,t){e.forEach((e=>{const n=Hr(e);t.set(n,e)}))}(u,p),h.current=d})),g=()=>{m.current=!0,p.clear(),f.clear()},(0,t.useEffect)((()=>()=>g()),[]),m.current)return t.createElement(t.Fragment,null,d.map((e=>t.createElement(Mr,{key:Hr(e),isPresent:!0,initial:!!r&&void 0,presenceAffectsLayout:a,mode:s},e))));d=[...d];const b=h.current.map(Hr),v=u.map(Hr),y=b.length;for(let e=0;e<y;e++){const t=b[e];-1!==v.indexOf(t)||f.has(t)||f.set(t,void 0)}return"wait"===s&&f.size&&(d=[]),f.forEach(((e,r)=>{if(-1!==v.indexOf(r))return;const o=p.get(r);if(!o)return;const m=b.indexOf(r);let g=e;if(!g){const e=()=>{f.delete(r);const e=Array.from(p.keys()).filter((e=>!v.includes(e)));if(e.forEach((e=>p.delete(e))),h.current=u.filter((t=>{const n=Hr(t);return n===r||e.includes(n)})),!f.size){if(!1===c.current)return;l(),i&&i()}};g=t.createElement(Mr,{key:Hr(o),isPresent:!1,onExitComplete:e,custom:n,presenceAffectsLayout:a,mode:s},o),f.set(r,g)}d.splice(m,0,g)})),d=d.map((e=>{const n=e.key;return f.has(n)?e:t.createElement(Mr,{key:Hr(e),isPresent:!0,presenceAffectsLayout:a,mode:s},e)})),t.createElement(t.Fragment,null,f.size?d:d.map((e=>(0,t.cloneElement)(e))))},zr=(0,t.createContext)({transformPagePoint:e=>e,isStatic:!1,reducedMotion:"never"}),Vr=(0,t.createContext)({}),$r=(0,t.createContext)({strict:!1}),qr=e=>e.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase(),Wr="data-"+qr("framerAppearId");function Yr(e){return"object"==typeof e&&Object.prototype.hasOwnProperty.call(e,"current")}function Kr(e){return"string"==typeof e||Array.isArray(e)}function Xr(e){return"object"==typeof e&&"function"==typeof e.start}const Qr=["animate","whileInView","whileFocus","whileHover","whileTap","whileDrag","exit"],Zr=["initial",...Qr];function Jr(e){return Xr(e.animate)||Zr.some((t=>Kr(e[t])))}function ei(e){return Boolean(Jr(e)||e.variants)}function ti(e){return Array.isArray(e)?e.join(" "):e}const ni={animation:["animate","variants","whileHover","whileTap","exit","whileInView","whileFocus","whileDrag"],exit:["exit"],drag:["drag","dragControls"],focus:["whileFocus"],hover:["whileHover","onHoverStart","onHoverEnd"],tap:["whileTap","onTap","onTapStart","onTapCancel"],pan:["onPan","onPanStart","onPanSessionStart","onPanEnd"],inView:["whileInView","onViewportEnter","onViewportLeave"],layout:["layout","layoutId"]},ri={};for(const e in ni)ri[e]={isEnabled:t=>ni[e].some((e=>!!t[e]))};const ii=(0,t.createContext)({}),oi=Symbol.for("motionComponentSymbol");function ai({preloadedFeatures:e,createVisualElement:n,useRender:r,useVisualState:i,Component:o}){e&&function(e){for(const t in e)ri[t]={...ri[t],...e[t]}}(e);const a=(0,t.forwardRef)((function(a,s){let l;const c={...(0,t.useContext)(zr),...a,layoutId:si(a)},{isStatic:u}=c,d=function(e){const{initial:n,animate:r}=function(e,t){if(Jr(e)){const{initial:t,animate:n}=e;return{initial:!1===t||Kr(t)?t:void 0,animate:Kr(n)?n:void 0}}return!1!==e.inherit?t:{}}(e,(0,t.useContext)(Vr));return(0,t.useMemo)((()=>({initial:n,animate:r})),[ti(n),ti(r)])}(a),f=i(a,u);if(!u&&_r){d.visualElement=function(e,n,r,i){const{visualElement:o}=(0,t.useContext)(Vr),a=(0,t.useContext)($r),s=(0,t.useContext)(Nr),l=(0,t.useContext)(zr).reducedMotion,c=(0,t.useRef)();i=i||a.renderer,!c.current&&i&&(c.current=i(e,{visualState:n,parent:o,props:r,presenceContext:s,blockInitialAnimation:!!s&&!1===s.initial,reducedMotionConfig:l}));const u=c.current;(0,t.useInsertionEffect)((()=>{u&&u.update(r,s)}));const d=(0,t.useRef)(Boolean(r[Wr]&&!window.HandoffComplete));return Ar((()=>{u&&(u.render(),d.current&&u.animationState&&u.animationState.animateChanges())})),(0,t.useEffect)((()=>{u&&(u.updateFeatures(),!d.current&&u.animationState&&u.animationState.animateChanges(),d.current&&(d.current=!1,window.HandoffComplete=!0))})),u}(o,f,c,n);const r=(0,t.useContext)(ii),i=(0,t.useContext)($r).strict;d.visualElement&&(l=d.visualElement.loadFeatures(c,i,e,r))}return t.createElement(Vr.Provider,{value:d},l&&d.visualElement?t.createElement(l,{visualElement:d.visualElement,...c}):null,r(o,a,function(e,n,r){return(0,t.useCallback)((t=>{t&&e.mount&&e.mount(t),n&&(t?n.mount(t):n.unmount()),r&&("function"==typeof r?r(t):Yr(r)&&(r.current=t))}),[n])}(f,d.visualElement,s),f,u,d.visualElement))}));return a[oi]=o,a}function si({layoutId:e}){const n=(0,t.useContext)(Fr).id;return n&&void 0!==e?n+"-"+e:e}function li(e){function t(t,n={}){return ai(e(t,n))}if("undefined"==typeof Proxy)return t;const n=new Map;return new Proxy(t,{get:(e,r)=>(n.has(r)||n.set(r,t(r)),n.get(r))})}const ci=["animate","circle","defs","desc","ellipse","g","image","line","filter","marker","mask","metadata","path","pattern","polygon","polyline","rect","stop","switch","symbol","svg","text","tspan","use","view"];function ui(e){return"string"==typeof e&&!e.includes("-")&&!!(ci.indexOf(e)>-1||/[A-Z]/.test(e))}const di={},fi=["transformPerspective","x","y","z","translateX","translateY","translateZ","scale","scaleX","scaleY","rotate","rotateX","rotateY","rotateZ","skew","skewX","skewY"],hi=new Set(fi);function pi(e,{layout:t,layoutId:n}){return hi.has(e)||e.startsWith("origin")||(t||void 0!==n)&&(!!di[e]||"opacity"===e)}const mi=e=>Boolean(e&&e.getVelocity),gi={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"},bi=fi.length,vi=e=>t=>"string"==typeof t&&t.startsWith(e),yi=vi("--"),Ei=vi("var(--"),Ti=(e,t)=>t&&"number"==typeof e?t.transform(e):e,_i=(e,t,n)=>Math.min(Math.max(n,e),t),Ai={test:e=>"number"==typeof e,parse:parseFloat,transform:e=>e},Si={...Ai,transform:e=>_i(0,1,e)},Ci={...Ai,default:1},Ii=e=>Math.round(1e5*e)/1e5,wi=/(-)?([\d]*\.?[\d])+/g,xi=/(#[0-9a-f]{3,8}|(rgb|hsl)a?\((-?[\d\.]+%?[,\s]+){2}(-?[\d\.]+%?)\s*[\,\/]?\s*[\d\.]*%?\))/gi,Di=/^(#[0-9a-f]{3,8}|(rgb|hsl)a?\((-?[\d\.]+%?[,\s]+){2}(-?[\d\.]+%?)\s*[\,\/]?\s*[\d\.]*%?\))$/i;function ki(e){return"string"==typeof e}const Oi=e=>({test:t=>ki(t)&&t.endsWith(e)&&1===t.split(" ").length,parse:parseFloat,transform:t=>`${t}${e}`}),Ni=Oi("deg"),Pi=Oi("%"),Ri=Oi("px"),Li=Oi("vh"),Mi=Oi("vw"),Bi={...Pi,parse:e=>Pi.parse(e)/100,transform:e=>Pi.transform(100*e)},Fi={...Ai,transform:Math.round},Gi={borderWidth:Ri,borderTopWidth:Ri,borderRightWidth:Ri,borderBottomWidth:Ri,borderLeftWidth:Ri,borderRadius:Ri,radius:Ri,borderTopLeftRadius:Ri,borderTopRightRadius:Ri,borderBottomRightRadius:Ri,borderBottomLeftRadius:Ri,width:Ri,maxWidth:Ri,height:Ri,maxHeight:Ri,size:Ri,top:Ri,right:Ri,bottom:Ri,left:Ri,padding:Ri,paddingTop:Ri,paddingRight:Ri,paddingBottom:Ri,paddingLeft:Ri,margin:Ri,marginTop:Ri,marginRight:Ri,marginBottom:Ri,marginLeft:Ri,rotate:Ni,rotateX:Ni,rotateY:Ni,rotateZ:Ni,scale:Ci,scaleX:Ci,scaleY:Ci,scaleZ:Ci,skew:Ni,skewX:Ni,skewY:Ni,distance:Ri,translateX:Ri,translateY:Ri,translateZ:Ri,x:Ri,y:Ri,z:Ri,perspective:Ri,transformPerspective:Ri,opacity:Si,originX:Bi,originY:Bi,originZ:Ri,zIndex:Fi,fillOpacity:Si,strokeOpacity:Si,numOctaves:Fi};function ji(e,t,n,r){const{style:i,vars:o,transform:a,transformOrigin:s}=e;let l=!1,c=!1,u=!0;for(const e in t){const n=t[e];if(yi(e)){o[e]=n;continue}const r=Gi[e],d=Ti(n,r);if(hi.has(e)){if(l=!0,a[e]=d,!u)continue;n!==(r.default||0)&&(u=!1)}else e.startsWith("origin")?(c=!0,s[e]=d):i[e]=d}if(t.transform||(l||r?i.transform=function(e,{enableHardwareAcceleration:t=!0,allowTransformNone:n=!0},r,i){let o="";for(let t=0;t<bi;t++){const n=fi[t];void 0!==e[n]&&(o+=`${gi[n]||n}(${e[n]}) `)}return t&&!e.z&&(o+="translateZ(0)"),o=o.trim(),i?o=i(e,r?"":o):n&&r&&(o="none"),o}(e.transform,n,u,r):i.transform&&(i.transform="none")),c){const{originX:e="50%",originY:t="50%",originZ:n=0}=s;i.transformOrigin=`${e} ${t} ${n}`}}const Hi=()=>({style:{},transform:{},transformOrigin:{},vars:{}});function Ui(e,t,n){for(const r in t)mi(t[r])||pi(r,n)||(e[r]=t[r])}function zi(e,n,r){const i={},o=function(e,n,r){const i={};return Ui(i,e.style||{},e),Object.assign(i,function({transformTemplate:e},n,r){return(0,t.useMemo)((()=>{const t=Hi();return ji(t,n,{enableHardwareAcceleration:!r},e),Object.assign({},t.vars,t.style)}),[n])}(e,n,r)),e.transformValues?e.transformValues(i):i}(e,n,r);return e.drag&&!1!==e.dragListener&&(i.draggable=!1,o.userSelect=o.WebkitUserSelect=o.WebkitTouchCallout="none",o.touchAction=!0===e.drag?"none":"pan-"+("x"===e.drag?"y":"x")),void 0===e.tabIndex&&(e.onTap||e.onTapStart||e.whileTap)&&(i.tabIndex=0),i.style=o,i}const Vi=new Set(["animate","exit","variants","initial","style","values","variants","transition","transformTemplate","transformValues","custom","inherit","onLayoutAnimationStart","onLayoutAnimationComplete","onLayoutMeasure","onBeforeLayoutMeasure","onAnimationStart","onAnimationComplete","onUpdate","onDragStart","onDrag","onDragEnd","onMeasureDragConstraints","onDirectionLock","onDragTransitionEnd","_dragX","_dragY","onHoverStart","onHoverEnd","onViewportEnter","onViewportLeave","ignoreStrict","viewport"]);function $i(e){return e.startsWith("while")||e.startsWith("drag")&&"draggable"!==e||e.startsWith("layout")||e.startsWith("onTap")||e.startsWith("onPan")||Vi.has(e)}let qi=e=>!$i(e);try{(Wi=require("@emotion/is-prop-valid").default)&&(qi=e=>e.startsWith("on")?!$i(e):Wi(e))}catch(Fn){}var Wi;function Yi(e,t,n){return"string"==typeof e?e:Ri.transform(t+n*e)}const Ki={offset:"stroke-dashoffset",array:"stroke-dasharray"},Xi={offset:"strokeDashoffset",array:"strokeDasharray"};function Qi(e,{attrX:t,attrY:n,attrScale:r,originX:i,originY:o,pathLength:a,pathSpacing:s=1,pathOffset:l=0,...c},u,d,f){if(ji(e,c,u,f),d)return void(e.style.viewBox&&(e.attrs.viewBox=e.style.viewBox));e.attrs=e.style,e.style={};const{attrs:h,style:p,dimensions:m}=e;h.transform&&(m&&(p.transform=h.transform),delete h.transform),m&&(void 0!==i||void 0!==o||p.transform)&&(p.transformOrigin=function(e,t,n){return`${Yi(t,e.x,e.width)} ${Yi(n,e.y,e.height)}`}(m,void 0!==i?i:.5,void 0!==o?o:.5)),void 0!==t&&(h.x=t),void 0!==n&&(h.y=n),void 0!==r&&(h.scale=r),void 0!==a&&function(e,t,n=1,r=0,i=!0){e.pathLength=1;const o=i?Ki:Xi;e[o.offset]=Ri.transform(-r);const a=Ri.transform(t),s=Ri.transform(n);e[o.array]=`${a} ${s}`}(h,a,s,l,!1)}const Zi=()=>({...Hi(),attrs:{}}),Ji=e=>"string"==typeof e&&"svg"===e.toLowerCase();function eo(e,n,r,i){const o=(0,t.useMemo)((()=>{const t=Zi();return Qi(t,n,{enableHardwareAcceleration:!1},Ji(i),e.transformTemplate),{...t.attrs,style:{...t.style}}}),[n]);if(e.style){const t={};Ui(t,e.style,e),o.style={...t,...o.style}}return o}function to(e=!1){return(n,r,i,{latestValues:o},a)=>{const s=(ui(n)?eo:zi)(r,o,a,n),l=function(e,t,n){const r={};for(const i in e)"values"===i&&"object"==typeof e.values||(qi(i)||!0===n&&$i(i)||!t&&!$i(i)||e.draggable&&i.startsWith("onDrag"))&&(r[i]=e[i]);return r}(r,"string"==typeof n,e),c={...l,...s,ref:i},{children:u}=r,d=(0,t.useMemo)((()=>mi(u)?u.get():u),[u]);return(0,t.createElement)(n,{...c,children:d})}}function no(e,{style:t,vars:n},r,i){Object.assign(e.style,t,i&&i.getProjectionStyles(r));for(const t in n)e.style.setProperty(t,n[t])}const ro=new Set(["baseFrequency","diffuseConstant","kernelMatrix","kernelUnitLength","keySplines","keyTimes","limitingConeAngle","markerHeight","markerWidth","numOctaves","targetX","targetY","surfaceScale","specularConstant","specularExponent","stdDeviation","tableValues","viewBox","gradientTransform","pathLength","startOffset","textLength","lengthAdjust"]);function io(e,t,n,r){no(e,t,void 0,r);for(const n in t.attrs)e.setAttribute(ro.has(n)?n:qr(n),t.attrs[n])}function oo(e,t){const{style:n}=e,r={};for(const i in n)(mi(n[i])||t.style&&mi(t.style[i])||pi(i,e))&&(r[i]=n[i]);return r}function ao(e,t){const n=oo(e,t);for(const r in e)(mi(e[r])||mi(t[r]))&&(n[-1!==fi.indexOf(r)?"attr"+r.charAt(0).toUpperCase()+r.substring(1):r]=e[r]);return n}function so(e,t,n,r={},i={}){return"function"==typeof t&&(t=t(void 0!==n?n:e.custom,r,i)),"string"==typeof t&&(t=e.variants&&e.variants[t]),"function"==typeof t&&(t=t(void 0!==n?n:e.custom,r,i)),t}const lo=e=>Array.isArray(e),co=e=>Boolean(e&&"object"==typeof e&&e.mix&&e.toValue),uo=e=>lo(e)?e[e.length-1]||0:e;function fo(e){const t=mi(e)?e.get():e;return co(t)?t.toValue():t}const ho=e=>(n,r)=>{const i=(0,t.useContext)(Vr),o=(0,t.useContext)(Nr),a=()=>function({scrapeMotionValuesFromProps:e,createRenderState:t,onMount:n},r,i,o){const a={latestValues:po(r,i,o,e),renderState:t()};return n&&(a.mount=e=>n(r,e,a)),a}(e,n,i,o);return r?a():Pr(a)};function po(e,t,n,r){const i={},o=r(e,{});for(const e in o)i[e]=fo(o[e]);let{initial:a,animate:s}=e;const l=Jr(e),c=ei(e);t&&c&&!l&&!1!==e.inherit&&(void 0===a&&(a=t.initial),void 0===s&&(s=t.animate));let u=!!n&&!1===n.initial;u=u||!1===a;const d=u?s:a;return d&&"boolean"!=typeof d&&!Xr(d)&&(Array.isArray(d)?d:[d]).forEach((t=>{const n=so(e,t);if(!n)return;const{transitionEnd:r,transition:o,...a}=n;for(const e in a){let t=a[e];Array.isArray(t)&&(t=t[u?t.length-1:0]),null!==t&&(i[e]=t)}for(const e in r)i[e]=r[e]})),i}const mo={useVisualState:ho({scrapeMotionValuesFromProps:ao,createRenderState:Zi,onMount:(e,t,{renderState:n,latestValues:r})=>{xr.read((()=>{try{n.dimensions="function"==typeof t.getBBox?t.getBBox():t.getBoundingClientRect()}catch(e){n.dimensions={x:0,y:0,width:0,height:0}}})),xr.render((()=>{Qi(n,r,{enableHardwareAcceleration:!1},Ji(t.tagName),e.transformTemplate),io(t,n)}))}})},go={useVisualState:ho({scrapeMotionValuesFromProps:oo,createRenderState:Hi})};function bo(e,t,n,r={passive:!0}){return e.addEventListener(t,n,r),()=>e.removeEventListener(t,n)}const vo=e=>"mouse"===e.pointerType?"number"!=typeof e.button||e.button<=0:!1!==e.isPrimary;function yo(e,t="page"){return{point:{x:e[t+"X"],y:e[t+"Y"]}}}const Eo=e=>t=>vo(t)&&e(t,yo(t));function To(e,t,n,r){return bo(e,t,Eo(n),r)}const _o=(e,t)=>n=>t(e(n)),Ao=(...e)=>e.reduce(_o);function So(e){let t=null;return()=>null===t&&(t=e,()=>{t=null})}const Co=So("dragHorizontal"),Io=So("dragVertical");function wo(e){let t=!1;if("y"===e)t=Io();else if("x"===e)t=Co();else{const e=Co(),n=Io();e&&n?t=()=>{e(),n()}:(e&&e(),n&&n())}return t}function xo(){const e=wo(!0);return!e||(e(),!1)}class Do{constructor(e){this.isMounted=!1,this.node=e}update(){}}function ko(e,t){const n="pointer"+(t?"enter":"leave"),r="onHover"+(t?"Start":"End");return To(e.current,n,((n,i)=>{if("touch"===n.type||xo())return;const o=e.getProps();e.animationState&&o.whileHover&&e.animationState.setActive("whileHover",t),o[r]&&xr.update((()=>o[r](n,i)))}),{passive:!e.getProps()[r]})}const Oo=(e,t)=>!!t&&(e===t||Oo(e,t.parentElement));function No(e,t){if(!t)return;const n=new PointerEvent("pointer"+e);t(n,yo(n))}const Po=new WeakMap,Ro=new WeakMap,Lo=e=>{const t=Po.get(e.target);t&&t(e)},Mo=e=>{e.forEach(Lo)};const Bo={some:0,all:1},Fo={inView:{Feature:class extends Do{constructor(){super(...arguments),this.hasEnteredView=!1,this.isInView=!1}startObserver(){this.unmount();const{viewport:e={}}=this.node.getProps(),{root:t,margin:n,amount:r="some",once:i}=e,o={root:t?t.current:void 0,rootMargin:n,threshold:"number"==typeof r?r:Bo[r]};return function(e,t,n){const r=function({root:e,...t}){const n=e||document;Ro.has(n)||Ro.set(n,{});const r=Ro.get(n),i=JSON.stringify(t);return r[i]||(r[i]=new IntersectionObserver(Mo,{root:e,...t})),r[i]}(t);return Po.set(e,n),r.observe(e),()=>{Po.delete(e),r.unobserve(e)}}(this.node.current,o,(e=>{const{isIntersecting:t}=e;if(this.isInView===t)return;if(this.isInView=t,i&&!t&&this.hasEnteredView)return;t&&(this.hasEnteredView=!0),this.node.animationState&&this.node.animationState.setActive("whileInView",t);const{onViewportEnter:n,onViewportLeave:r}=this.node.getProps(),o=t?n:r;o&&o(e)}))}mount(){this.startObserver()}update(){if("undefined"==typeof IntersectionObserver)return;const{props:e,prevProps:t}=this.node;["amount","margin","root"].some(function({viewport:e={}},{viewport:t={}}={}){return n=>e[n]!==t[n]}(e,t))&&this.startObserver()}unmount(){}}},tap:{Feature:class extends Do{constructor(){super(...arguments),this.removeStartListeners=Cr,this.removeEndListeners=Cr,this.removeAccessibleListeners=Cr,this.startPointerPress=(e,t)=>{if(this.removeEndListeners(),this.isPressing)return;const n=this.node.getProps(),r=To(window,"pointerup",((e,t)=>{if(!this.checkPressEnd())return;const{onTap:n,onTapCancel:r}=this.node.getProps();xr.update((()=>{Oo(this.node.current,e.target)?n&&n(e,t):r&&r(e,t)}))}),{passive:!(n.onTap||n.onPointerUp)}),i=To(window,"pointercancel",((e,t)=>this.cancelPress(e,t)),{passive:!(n.onTapCancel||n.onPointerCancel)});this.removeEndListeners=Ao(r,i),this.startPress(e,t)},this.startAccessiblePress=()=>{const e=bo(this.node.current,"keydown",(e=>{"Enter"!==e.key||this.isPressing||(this.removeEndListeners(),this.removeEndListeners=bo(this.node.current,"keyup",(e=>{"Enter"===e.key&&this.checkPressEnd()&&No("up",((e,t)=>{const{onTap:n}=this.node.getProps();n&&xr.update((()=>n(e,t)))}))})),No("down",((e,t)=>{this.startPress(e,t)})))})),t=bo(this.node.current,"blur",(()=>{this.isPressing&&No("cancel",((e,t)=>this.cancelPress(e,t)))}));this.removeAccessibleListeners=Ao(e,t)}}startPress(e,t){this.isPressing=!0;const{onTapStart:n,whileTap:r}=this.node.getProps();r&&this.node.animationState&&this.node.animationState.setActive("whileTap",!0),n&&xr.update((()=>n(e,t)))}checkPressEnd(){return this.removeEndListeners(),this.isPressing=!1,this.node.getProps().whileTap&&this.node.animationState&&this.node.animationState.setActive("whileTap",!1),!xo()}cancelPress(e,t){if(!this.checkPressEnd())return;const{onTapCancel:n}=this.node.getProps();n&&xr.update((()=>n(e,t)))}mount(){const e=this.node.getProps(),t=To(this.node.current,"pointerdown",this.startPointerPress,{passive:!(e.onTapStart||e.onPointerStart)}),n=bo(this.node.current,"focus",this.startAccessiblePress);this.removeStartListeners=Ao(t,n)}unmount(){this.removeStartListeners(),this.removeEndListeners(),this.removeAccessibleListeners()}}},focus:{Feature:class extends Do{constructor(){super(...arguments),this.isActive=!1}onFocus(){let e=!1;try{e=this.node.current.matches(":focus-visible")}catch(t){e=!0}e&&this.node.animationState&&(this.node.animationState.setActive("whileFocus",!0),this.isActive=!0)}onBlur(){this.isActive&&this.node.animationState&&(this.node.animationState.setActive("whileFocus",!1),this.isActive=!1)}mount(){this.unmount=Ao(bo(this.node.current,"focus",(()=>this.onFocus())),bo(this.node.current,"blur",(()=>this.onBlur())))}unmount(){}}},hover:{Feature:class extends Do{mount(){this.unmount=Ao(ko(this.node,!0),ko(this.node,!1))}unmount(){}}}};function Go(e,t){if(!Array.isArray(t))return!1;const n=t.length;if(n!==e.length)return!1;for(let r=0;r<n;r++)if(t[r]!==e[r])return!1;return!0}function jo(e,t,n){const r=e.getProps();return so(r,t,void 0!==n?n:r.custom,function(e){const t={};return e.values.forEach(((e,n)=>t[n]=e.get())),t}(e),function(e){const t={};return e.values.forEach(((e,n)=>t[n]=e.getVelocity())),t}(e))}const Ho=e=>1e3*e,Uo=e=>e/1e3,zo=e=>Array.isArray(e)&&"number"==typeof e[0];function Vo(e){return Boolean(!e||"string"==typeof e&&qo[e]||zo(e)||Array.isArray(e)&&e.every(Vo))}const $o=([e,t,n,r])=>`cubic-bezier(${e}, ${t}, ${n}, ${r})`,qo={linear:"linear",ease:"ease",easeIn:"ease-in",easeOut:"ease-out",easeInOut:"ease-in-out",circIn:$o([0,.65,.55,1]),circOut:$o([.55,0,1,.45]),backIn:$o([.31,.01,.66,-.59]),backOut:$o([.33,1.53,.69,.99])};function Wo(e){if(e)return zo(e)?$o(e):Array.isArray(e)?e.map(Wo):qo[e]}const Yo=(e,t,n)=>(((1-3*n+3*t)*e+(3*n-6*t))*e+3*t)*e;function Ko(e,t,n,r){if(e===t&&n===r)return Cr;return i=>0===i||1===i?i:Yo(function(e,t,n,r,i){let o,a,s=0;do{a=t+(n-t)/2,o=Yo(a,r,i)-e,o>0?n=a:t=a}while(Math.abs(o)>1e-7&&++s<12);return a}(i,0,1,e,n),t,r)}const Xo=Ko(.42,0,1,1),Qo=Ko(0,0,.58,1),Zo=Ko(.42,0,.58,1),Jo=e=>Array.isArray(e)&&"number"!=typeof e[0],ea=e=>t=>t<=.5?e(2*t)/2:(2-e(2*(1-t)))/2,ta=e=>t=>1-e(1-t),na=e=>1-Math.sin(Math.acos(e)),ra=ta(na),ia=ea(na),oa=Ko(.33,1.53,.69,.99),aa=ta(oa),sa=ea(aa),la={linear:Cr,easeIn:Xo,easeInOut:Zo,easeOut:Qo,circIn:na,circInOut:ia,circOut:ra,backIn:aa,backInOut:sa,backOut:oa,anticipate:e=>(e*=2)<1?.5*aa(e):.5*(2-Math.pow(2,-10*(e-1)))},ca=e=>{if(Array.isArray(e)){jr(4===e.length,"Cubic bezier arrays must contain four numerical values.");const[t,n,r,i]=e;return Ko(t,n,r,i)}return"string"==typeof e?(jr(void 0!==la[e],`Invalid easing type '${e}'`),la[e]):e},ua=(e,t)=>n=>Boolean(ki(n)&&Di.test(n)&&n.startsWith(e)||t&&Object.prototype.hasOwnProperty.call(n,t)),da=(e,t,n)=>r=>{if(!ki(r))return r;const[i,o,a,s]=r.match(wi);return{[e]:parseFloat(i),[t]:parseFloat(o),[n]:parseFloat(a),alpha:void 0!==s?parseFloat(s):1}},fa={...Ai,transform:e=>Math.round((e=>_i(0,255,e))(e))},ha={test:ua("rgb","red"),parse:da("red","green","blue"),transform:({red:e,green:t,blue:n,alpha:r=1})=>"rgba("+fa.transform(e)+", "+fa.transform(t)+", "+fa.transform(n)+", "+Ii(Si.transform(r))+")"},pa={test:ua("#"),parse:function(e){let t="",n="",r="",i="";return e.length>5?(t=e.substring(1,3),n=e.substring(3,5),r=e.substring(5,7),i=e.substring(7,9)):(t=e.substring(1,2),n=e.substring(2,3),r=e.substring(3,4),i=e.substring(4,5),t+=t,n+=n,r+=r,i+=i),{red:parseInt(t,16),green:parseInt(n,16),blue:parseInt(r,16),alpha:i?parseInt(i,16)/255:1}},transform:ha.transform},ma={test:ua("hsl","hue"),parse:da("hue","saturation","lightness"),transform:({hue:e,saturation:t,lightness:n,alpha:r=1})=>"hsla("+Math.round(e)+", "+Pi.transform(Ii(t))+", "+Pi.transform(Ii(n))+", "+Ii(Si.transform(r))+")"},ga={test:e=>ha.test(e)||pa.test(e)||ma.test(e),parse:e=>ha.test(e)?ha.parse(e):ma.test(e)?ma.parse(e):pa.parse(e),transform:e=>ki(e)?e:e.hasOwnProperty("red")?ha.transform(e):ma.transform(e)},ba=(e,t,n)=>-n*e+n*t+e;function va(e,t,n){return n<0&&(n+=1),n>1&&(n-=1),n<1/6?e+6*(t-e)*n:n<.5?t:n<2/3?e+(t-e)*(2/3-n)*6:e}const ya=(e,t,n)=>{const r=e*e;return Math.sqrt(Math.max(0,n*(t*t-r)+r))},Ea=[pa,ha,ma];function Ta(e){const t=(n=e,Ea.find((e=>e.test(n))));var n;jr(Boolean(t),`'${e}' is not an animatable color. Use the equivalent color code instead.`);let r=t.parse(e);return t===ma&&(r=function({hue:e,saturation:t,lightness:n,alpha:r}){e/=360,n/=100;let i=0,o=0,a=0;if(t/=100){const r=n<.5?n*(1+t):n+t-n*t,s=2*n-r;i=va(s,r,e+1/3),o=va(s,r,e),a=va(s,r,e-1/3)}else i=o=a=n;return{red:Math.round(255*i),green:Math.round(255*o),blue:Math.round(255*a),alpha:r}}(r)),r}const _a=(e,t)=>{const n=Ta(e),r=Ta(t),i={...n};return e=>(i.red=ya(n.red,r.red,e),i.green=ya(n.green,r.green,e),i.blue=ya(n.blue,r.blue,e),i.alpha=ba(n.alpha,r.alpha,e),ha.transform(i))},Aa={regex:/var\s*\(\s*--[\w-]+(\s*,\s*(?:(?:[^)(]|\((?:[^)(]+|\([^)(]*\))*\))*)+)?\s*\)/g,countKey:"Vars",token:"${v}",parse:Cr},Sa={regex:xi,countKey:"Colors",token:"${c}",parse:ga.parse},Ca={regex:wi,countKey:"Numbers",token:"${n}",parse:Ai.parse};function Ia(e,{regex:t,countKey:n,token:r,parse:i}){const o=e.tokenised.match(t);o&&(e["num"+n]=o.length,e.tokenised=e.tokenised.replace(t,r),e.values.push(...o.map(i)))}function wa(e){const t=e.toString(),n={value:t,tokenised:t,values:[],numVars:0,numColors:0,numNumbers:0};return n.value.includes("var(--")&&Ia(n,Aa),Ia(n,Sa),Ia(n,Ca),n}function xa(e){return wa(e).values}function Da(e){const{values:t,numColors:n,numVars:r,tokenised:i}=wa(e),o=t.length;return e=>{let t=i;for(let i=0;i<o;i++)t=i<r?t.replace(Aa.token,e[i]):i<r+n?t.replace(Sa.token,ga.transform(e[i])):t.replace(Ca.token,Ii(e[i]));return t}}const ka=e=>"number"==typeof e?0:e,Oa={test:function(e){var t,n;return isNaN(e)&&ki(e)&&((null===(t=e.match(wi))||void 0===t?void 0:t.length)||0)+((null===(n=e.match(xi))||void 0===n?void 0:n.length)||0)>0},parse:xa,createTransformer:Da,getAnimatableNone:function(e){const t=xa(e);return Da(e)(t.map(ka))}},Na=(e,t)=>n=>`${n>0?t:e}`;function Pa(e,t){return"number"==typeof e?n=>ba(e,t,n):ga.test(e)?_a(e,t):e.startsWith("var(")?Na(e,t):Ma(e,t)}const Ra=(e,t)=>{const n=[...e],r=n.length,i=e.map(((e,n)=>Pa(e,t[n])));return e=>{for(let t=0;t<r;t++)n[t]=i[t](e);return n}},La=(e,t)=>{const n={...e,...t},r={};for(const i in n)void 0!==e[i]&&void 0!==t[i]&&(r[i]=Pa(e[i],t[i]));return e=>{for(const t in r)n[t]=r[t](e);return n}},Ma=(e,t)=>{const n=Oa.createTransformer(t),r=wa(e),i=wa(t);return r.numVars===i.numVars&&r.numColors===i.numColors&&r.numNumbers>=i.numNumbers?Ao(Ra(r.values,i.values),n):(Gr(!0,`Complex values '${e}' and '${t}' too different to mix. Ensure all colors are of the same type, and that each contains the same quantity of number and color values. Falling back to instant transition.`),Na(e,t))},Ba=(e,t,n)=>{const r=t-e;return 0===r?1:(n-e)/r},Fa=(e,t)=>n=>ba(e,t,n);function Ga(e,t,{clamp:n=!0,ease:r,mixer:i}={}){const o=e.length;if(jr(o===t.length,"Both input and output ranges must be the same length"),1===o)return()=>t[0];e[0]>e[o-1]&&(e=[...e].reverse(),t=[...t].reverse());const a=function(e,t,n){const r=[],i=n||("number"==typeof(o=e[0])?Fa:"string"==typeof o?ga.test(o)?_a:Ma:Array.isArray(o)?Ra:"object"==typeof o?La:Fa);var o;const a=e.length-1;for(let n=0;n<a;n++){let o=i(e[n],e[n+1]);if(t){const e=Array.isArray(t)?t[n]||Cr:t;o=Ao(e,o)}r.push(o)}return r}(t,r,i),s=a.length,l=t=>{let n=0;if(s>1)for(;n<e.length-2&&!(t<e[n+1]);n++);const r=Ba(e[n],e[n+1],t);return a[n](r)};return n?t=>l(_i(e[0],e[o-1],t)):l}function ja({duration:e=300,keyframes:t,times:n,ease:r="easeInOut"}){const i=Jo(r)?r.map(ca):ca(r),o={done:!1,value:t[0]},a=function(e,t){return e.map((e=>e*t))}(n&&n.length===t.length?n:function(e){const t=[0];return function(e,t){const n=e[e.length-1];for(let r=1;r<=t;r++){const i=Ba(0,t,r);e.push(ba(n,1,i))}}(t,e.length-1),t}(t),e),s=Ga(a,t,{ease:Array.isArray(i)?i:(l=t,c=i,l.map((()=>c||Zo)).splice(0,l.length-1))});var l,c;return{calculatedDuration:e,next:t=>(o.value=s(t),o.done=t>=e,o)}}function Ha(e,t){return t?e*(1e3/t):0}const Ua=5;function za(e,t,n){const r=Math.max(t-Ua,0);return Ha(n-e(r),t-r)}const Va=.001,$a=.01,qa=10,Wa=.05,Ya=1;const Ka=12;function Xa(e,t){return e*Math.sqrt(1-t*t)}const Qa=["duration","bounce"],Za=["stiffness","damping","mass"];function Ja(e,t){return t.some((t=>void 0!==e[t]))}function es({keyframes:e,restDelta:t,restSpeed:n,...r}){const i=e[0],o=e[e.length-1],a={done:!1,value:i},{stiffness:s,damping:l,mass:c,velocity:u,duration:d,isResolvedFromDuration:f}=function(e){let t={velocity:0,stiffness:100,damping:10,mass:1,isResolvedFromDuration:!1,...e};if(!Ja(e,Za)&&Ja(e,Qa)){const n=function({duration:e=800,bounce:t=.25,velocity:n=0,mass:r=1}){let i,o;Gr(e<=Ho(qa),"Spring duration must be 10 seconds or less");let a=1-t;a=_i(Wa,Ya,a),e=_i($a,qa,Uo(e)),a<1?(i=t=>{const r=t*a,i=r*e,o=r-n,s=Xa(t,a),l=Math.exp(-i);return Va-o/s*l},o=t=>{const r=t*a*e,o=r*n+n,s=Math.pow(a,2)*Math.pow(t,2)*e,l=Math.exp(-r),c=Xa(Math.pow(t,2),a);return(-i(t)+Va>0?-1:1)*((o-s)*l)/c}):(i=t=>Math.exp(-t*e)*((t-n)*e+1)-Va,o=t=>Math.exp(-t*e)*(e*e*(n-t)));const s=function(e,t,n){let r=n;for(let n=1;n<Ka;n++)r-=e(r)/t(r);return r}(i,o,5/e);if(e=Ho(e),isNaN(s))return{stiffness:100,damping:10,duration:e};{const t=Math.pow(s,2)*r;return{stiffness:t,damping:2*a*Math.sqrt(r*t),duration:e}}}(e);t={...t,...n,velocity:0,mass:1},t.isResolvedFromDuration=!0}return t}(r),h=u?-Uo(u):0,p=l/(2*Math.sqrt(s*c)),m=o-i,g=Uo(Math.sqrt(s/c)),b=Math.abs(m)<5;let v;if(n||(n=b?.01:2),t||(t=b?.005:.5),p<1){const e=Xa(g,p);v=t=>{const n=Math.exp(-p*g*t);return o-n*((h+p*g*m)/e*Math.sin(e*t)+m*Math.cos(e*t))}}else if(1===p)v=e=>o-Math.exp(-g*e)*(m+(h+g*m)*e);else{const e=g*Math.sqrt(p*p-1);v=t=>{const n=Math.exp(-p*g*t),r=Math.min(e*t,300);return o-n*((h+p*g*m)*Math.sinh(r)+e*m*Math.cosh(r))/e}}return{calculatedDuration:f&&d||null,next:e=>{const r=v(e);if(f)a.done=e>=d;else{let i=h;0!==e&&(i=p<1?za(v,e,r):0);const s=Math.abs(i)<=n,l=Math.abs(o-r)<=t;a.done=s&&l}return a.value=a.done?o:r,a}}}function ts({keyframes:e,velocity:t=0,power:n=.8,timeConstant:r=325,bounceDamping:i=10,bounceStiffness:o=500,modifyTarget:a,min:s,max:l,restDelta:c=.5,restSpeed:u}){const d=e[0],f={done:!1,value:d},h=e=>void 0===s?l:void 0===l||Math.abs(s-e)<Math.abs(l-e)?s:l;let p=n*t;const m=d+p,g=void 0===a?m:a(m);g!==m&&(p=g-d);const b=e=>-p*Math.exp(-e/r),v=e=>g+b(e),y=e=>{const t=b(e),n=v(e);f.done=Math.abs(t)<=c,f.value=f.done?g:n};let E,T;const _=e=>{var t;t=f.value,(void 0!==s&&t<s||void 0!==l&&t>l)&&(E=e,T=es({keyframes:[f.value,h(f.value)],velocity:za(v,e,f.value),damping:i,stiffness:o,restDelta:c,restSpeed:u}))};return _(0),{calculatedDuration:null,next:e=>{let t=!1;return T||void 0!==E||(t=!0,y(e),_(e)),void 0!==E&&e>E?T.next(e-E):(!t&&y(e),f)}}}const ns=e=>{const t=({timestamp:t})=>e(t);return{start:()=>xr.update(t,!0),stop:()=>Dr(t),now:()=>kr.isProcessing?kr.timestamp:performance.now()}},rs=2e4;function is(e){let t=0,n=e.next(t);for(;!n.done&&t<rs;)t+=50,n=e.next(t);return t>=rs?1/0:t}const os={decay:ts,inertia:ts,tween:ja,keyframes:ja,spring:es};function as({autoplay:e=!0,delay:t=0,driver:n=ns,keyframes:r,type:i="keyframes",repeat:o=0,repeatDelay:a=0,repeatType:s="loop",onPlay:l,onStop:c,onComplete:u,onUpdate:d,...f}){let h,p,m=1,g=!1;const b=()=>{p=new Promise((e=>{h=e}))};let v;b();const y=os[i]||ja;let E;y!==ja&&"number"!=typeof r[0]&&(E=Ga([0,100],r,{clamp:!1}),r=[0,100]);const T=y({...f,keyframes:r});let _;"mirror"===s&&(_=y({...f,keyframes:[...r].reverse(),velocity:-(f.velocity||0)}));let A="idle",S=null,C=null,I=null;null===T.calculatedDuration&&o&&(T.calculatedDuration=is(T));const{calculatedDuration:w}=T;let x=1/0,D=1/0;null!==w&&(x=w+a,D=x*(o+1)-a);let k=0;const O=e=>{if(null===C)return;m>0&&(C=Math.min(C,e)),m<0&&(C=Math.min(e-D/m,C)),k=null!==S?S:Math.round(e-C)*m;const n=k-t*(m>=0?1:-1),i=m>=0?n<0:n>D;k=Math.max(n,0),"finished"===A&&null===S&&(k=D);let l=k,c=T;if(o){const e=k/x;let t=Math.floor(e),n=e%1;!n&&e>=1&&(n=1),1===n&&t--,t=Math.min(t,o+1);const r=Boolean(t%2);r&&("reverse"===s?(n=1-n,a&&(n-=a/x)):"mirror"===s&&(c=_));let i=_i(0,1,n);k>D&&(i="reverse"===s&&r?1:0),l=i*x}const u=i?{done:!1,value:r[0]}:c.next(l);E&&(u.value=E(u.value));let{done:f}=u;i||null===w||(f=m>=0?k>=D:k<=0);const h=null===S&&("finished"===A||"running"===A&&f);return d&&d(u.value),h&&R(),u},N=()=>{v&&v.stop(),v=void 0},P=()=>{A="idle",N(),h(),b(),C=I=null},R=()=>{A="finished",u&&u(),N(),h()},L=()=>{if(g)return;v||(v=n(O));const e=v.now();l&&l(),null!==S?C=e-S:C&&"finished"!==A||(C=e),"finished"===A&&b(),I=C,S=null,A="running",v.start()};e&&L();const M={then:(e,t)=>p.then(e,t),get time(){return Uo(k)},set time(e){e=Ho(e),k=e,null===S&&v&&0!==m?C=v.now()-e/m:S=e},get duration(){const e=null===T.calculatedDuration?is(T):T.calculatedDuration;return Uo(e)},get speed(){return m},set speed(e){e!==m&&v&&(m=e,M.time=Uo(k))},get state(){return A},play:L,pause:()=>{A="paused",S=k},stop:()=>{g=!0,"idle"!==A&&(A="idle",c&&c(),P())},cancel:()=>{null!==I&&O(I),P()},complete:()=>{A="finished"},sample:e=>(C=0,O(e))};return M}const ss=function(e){let t;return()=>(void 0===t&&(t=Object.hasOwnProperty.call(Element.prototype,"animate")),t)}(),ls=new Set(["opacity","clipPath","filter","transform","backgroundColor"]);const cs={type:"spring",stiffness:500,damping:25,restSpeed:10},us={type:"keyframes",duration:.8},ds={type:"keyframes",ease:[.25,.1,.35,1],duration:.3},fs=(e,{keyframes:t})=>t.length>2?us:hi.has(e)?e.startsWith("scale")?{type:"spring",stiffness:550,damping:0===t[1]?2*Math.sqrt(550):30,restSpeed:10}:cs:ds,hs=(e,t)=>!("zIndex"===e||"number"!=typeof t&&!Array.isArray(t)&&("string"!=typeof t||!Oa.test(t)&&"0"!==t||t.startsWith("url("))),ps=new Set(["brightness","contrast","saturate","opacity"]);function ms(e){const[t,n]=e.slice(0,-1).split("(");if("drop-shadow"===t)return e;const[r]=n.match(wi)||[];if(!r)return e;const i=n.replace(r,"");let o=ps.has(t)?1:0;return r!==n&&(o*=100),t+"("+o+i+")"}const gs=/([a-z-]*)\(.*?\)/g,bs={...Oa,getAnimatableNone:e=>{const t=e.match(gs);return t?t.map(ms).join(" "):e}},vs={...Gi,color:ga,backgroundColor:ga,outlineColor:ga,fill:ga,stroke:ga,borderColor:ga,borderTopColor:ga,borderRightColor:ga,borderBottomColor:ga,borderLeftColor:ga,filter:bs,WebkitFilter:bs},ys=e=>vs[e];function Es(e,t){let n=ys(e);return n!==bs&&(n=Oa),n.getAnimatableNone?n.getAnimatableNone(t):void 0}const Ts=e=>/^0[^.\s]+$/.test(e);function _s(e){return"number"==typeof e?0===e:null!==e?"none"===e||"0"===e||Ts(e):void 0}function As(e,t){return e[t]||e.default||e}const Ss=(e,t,n,r={})=>i=>{const o=As(r,e)||{},a=o.delay||r.delay||0;let{elapsed:s=0}=r;s-=Ho(a);const l=function(e,t,n,r){const i=hs(t,n);let o;o=Array.isArray(n)?[...n]:[null,n];const a=void 0!==r.from?r.from:e.get();let s;const l=[];for(let e=0;e<o.length;e++)null===o[e]&&(o[e]=0===e?a:o[e-1]),_s(o[e])&&l.push(e),"string"==typeof o[e]&&"none"!==o[e]&&"0"!==o[e]&&(s=o[e]);if(i&&l.length&&s)for(let e=0;e<l.length;e++)o[l[e]]=Es(t,s);return o}(t,e,n,o),c=l[0],u=l[l.length-1],d=hs(e,c),f=hs(e,u);Gr(d===f,`You are trying to animate ${e} from "${c}" to "${u}". ${c} is not an animatable value - to enable this animation set ${c} to a value animatable to ${u} via the \`style\` property.`);let h={keyframes:l,velocity:t.getVelocity(),ease:"easeOut",...o,delay:-s,onUpdate:e=>{t.set(e),o.onUpdate&&o.onUpdate(e)},onComplete:()=>{i(),o.onComplete&&o.onComplete()}};if(function({when:e,delay:t,delayChildren:n,staggerChildren:r,staggerDirection:i,repeat:o,repeatType:a,repeatDelay:s,from:l,elapsed:c,...u}){return!!Object.keys(u).length}(o)||(h={...h,...fs(e,h)}),h.duration&&(h.duration=Ho(h.duration)),h.repeatDelay&&(h.repeatDelay=Ho(h.repeatDelay)),!d||!f||!1===o.type)return function({keyframes:e,delay:t,onUpdate:n,onComplete:r}){const i=()=>(n&&n(e[e.length-1]),r&&r(),{time:0,speed:1,duration:0,play:Cr,pause:Cr,stop:Cr,then:e=>(e(),Promise.resolve()),cancel:Cr,complete:Cr});return t?as({keyframes:[0,1],duration:0,delay:t,onComplete:i}):i()}(h);if(!r.isHandoff&&t.owner&&t.owner.current instanceof HTMLElement&&!t.owner.getProps().onUpdate){const n=function(e,t,{onUpdate:n,onComplete:r,...i}){if(!ss()||!ls.has(t)||i.repeatDelay||"mirror"===i.repeatType||0===i.damping||"inertia"===i.type)return!1;let o,a,s=!1;const l=()=>{a=new Promise((e=>{o=e}))};l();let{keyframes:c,duration:u=300,ease:d,times:f}=i;if(((e,t)=>"spring"===t.type||"backgroundColor"===e||!Vo(t.ease))(t,i)){const e=as({...i,repeat:0,delay:0});let t={done:!1,value:c[0]};const n=[];let r=0;for(;!t.done&&r<2e4;)t=e.sample(r),n.push(t.value),r+=10;f=void 0,c=n,u=r-10,d="linear"}const h=function(e,t,n,{delay:r=0,duration:i,repeat:o=0,repeatType:a="loop",ease:s,times:l}={}){const c={[t]:n};l&&(c.offset=l);const u=Wo(s);return Array.isArray(u)&&(c.easing=u),e.animate(c,{delay:r,duration:i,easing:Array.isArray(u)?"linear":u,fill:"both",iterations:o+1,direction:"reverse"===a?"alternate":"normal"})}(e.owner.current,t,c,{...i,duration:u,ease:d,times:f}),p=()=>h.cancel(),m=()=>{xr.update(p),o(),l()};return h.onfinish=()=>{e.set(function(e,{repeat:t,repeatType:n="loop"}){return e[t&&"loop"!==n&&t%2==1?0:e.length-1]}(c,i)),r&&r(),m()},{then:(e,t)=>a.then(e,t),attachTimeline:e=>(h.timeline=e,h.onfinish=null,Cr),get time(){return Uo(h.currentTime||0)},set time(e){h.currentTime=Ho(e)},get speed(){return h.playbackRate},set speed(e){h.playbackRate=e},get duration(){return Uo(u)},play:()=>{s||(h.play(),Dr(p))},pause:()=>h.pause(),stop:()=>{if(s=!0,"idle"===h.playState)return;const{currentTime:t}=h;if(t){const n=as({...i,autoplay:!1});e.setWithVelocity(n.sample(t-10).value,n.sample(t).value,10)}m()},complete:()=>h.finish(),cancel:m}}(t,e,h);if(n)return n}return as(h)};function Cs(e){return Boolean(mi(e)&&e.add)}const Is=e=>/^\-?\d*\.?\d+$/.test(e);function ws(e,t){-1===e.indexOf(t)&&e.push(t)}function xs(e,t){const n=e.indexOf(t);n>-1&&e.splice(n,1)}class Ds{constructor(){this.subscriptions=[]}add(e){return ws(this.subscriptions,e),()=>xs(this.subscriptions,e)}notify(e,t,n){const r=this.subscriptions.length;if(r)if(1===r)this.subscriptions[0](e,t,n);else for(let i=0;i<r;i++){const r=this.subscriptions[i];r&&r(e,t,n)}}getSize(){return this.subscriptions.length}clear(){this.subscriptions.length=0}}const ks={current:void 0};class Os{constructor(e,t={}){var n;this.version="10.16.16",this.timeDelta=0,this.lastUpdated=0,this.canTrackVelocity=!1,this.events={},this.updateAndNotify=(e,t=!0)=>{this.prev=this.current,this.current=e;const{delta:n,timestamp:r}=kr;this.lastUpdated!==r&&(this.timeDelta=n,this.lastUpdated=r,xr.postRender(this.scheduleVelocityCheck)),this.prev!==this.current&&this.events.change&&this.events.change.notify(this.current),this.events.velocityChange&&this.events.velocityChange.notify(this.getVelocity()),t&&this.events.renderRequest&&this.events.renderRequest.notify(this.current)},this.scheduleVelocityCheck=()=>xr.postRender(this.velocityCheck),this.velocityCheck=({timestamp:e})=>{e!==this.lastUpdated&&(this.prev=this.current,this.events.velocityChange&&this.events.velocityChange.notify(this.getVelocity()))},this.hasAnimated=!1,this.prev=this.current=e,this.canTrackVelocity=(n=this.current,!isNaN(parseFloat(n))),this.owner=t.owner}onChange(e){return this.on("change",e)}on(e,t){this.events[e]||(this.events[e]=new Ds);const n=this.events[e].add(t);return"change"===e?()=>{n(),xr.read((()=>{this.events.change.getSize()||this.stop()}))}:n}clearListeners(){for(const e in this.events)this.events[e].clear()}attach(e,t){this.passiveEffect=e,this.stopPassiveEffect=t}set(e,t=!0){t&&this.passiveEffect?this.passiveEffect(e,this.updateAndNotify):this.updateAndNotify(e,t)}setWithVelocity(e,t,n){this.set(t),this.prev=e,this.timeDelta=n}jump(e){this.updateAndNotify(e),this.prev=e,this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}get(){return ks.current&&ks.current.push(this),this.current}getPrevious(){return this.prev}getVelocity(){return this.canTrackVelocity?Ha(parseFloat(this.current)-parseFloat(this.prev),this.timeDelta):0}start(e){return this.stop(),new Promise((t=>{this.hasAnimated=!0,this.animation=e(t),this.events.animationStart&&this.events.animationStart.notify()})).then((()=>{this.events.animationComplete&&this.events.animationComplete.notify(),this.clearAnimation()}))}stop(){this.animation&&(this.animation.stop(),this.events.animationCancel&&this.events.animationCancel.notify()),this.clearAnimation()}isAnimating(){return!!this.animation}clearAnimation(){delete this.animation}destroy(){this.clearListeners(),this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}}function Ns(e,t){return new Os(e,t)}const Ps=e=>t=>t.test(e),Rs=[Ai,Ri,Pi,Ni,Mi,Li,{test:e=>"auto"===e,parse:e=>e}],Ls=e=>Rs.find(Ps(e)),Ms=[...Rs,ga,Oa];function Bs(e,t,n){e.hasValue(t)?e.getValue(t).set(n):e.addValue(t,Ns(n))}function Fs(e,t){if(t)return(t[e]||t.default||t).from}function Gs({protectedKeys:e,needsAnimating:t},n){const r=e.hasOwnProperty(n)&&!0!==t[n];return t[n]=!1,r}function js(e,t){const n=e.get();if(!Array.isArray(t))return n!==t;for(let e=0;e<t.length;e++)if(t[e]!==n)return!0}function Hs(e,t,{delay:n=0,transitionOverride:r,type:i}={}){let{transition:o=e.getDefaultTransition(),transitionEnd:a,...s}=e.makeTargetAnimatable(t);const l=e.getValue("willChange");r&&(o=r);const c=[],u=i&&e.animationState&&e.animationState.getState()[i];for(const t in s){const r=e.getValue(t),i=s[t];if(!r||void 0===i||u&&Gs(u,t))continue;const a={delay:n,elapsed:0,...As(o||{},t)};if(window.HandoffAppearAnimations){const n=e.getProps()[Wr];if(n){const e=window.HandoffAppearAnimations(n,t,r,xr);null!==e&&(a.elapsed=e,a.isHandoff=!0)}}let d=!a.isHandoff&&!js(r,i);if("spring"===a.type&&(r.getVelocity()||a.velocity)&&(d=!1),r.animation&&(d=!1),d)continue;r.start(Ss(t,r,i,e.shouldReduceMotion&&hi.has(t)?{type:!1}:a));const f=r.animation;Cs(l)&&(l.add(t),f.then((()=>l.remove(t)))),c.push(f)}return a&&Promise.all(c).then((()=>{a&&function(e,t){const n=jo(e,t);let{transitionEnd:r={},transition:i={},...o}=n?e.makeTargetAnimatable(n,!1):{};o={...o,...r};for(const t in o)Bs(e,t,uo(o[t]))}(e,a)})),c}function Us(e,t,n={}){const r=jo(e,t,n.custom);let{transition:i=e.getDefaultTransition()||{}}=r||{};n.transitionOverride&&(i=n.transitionOverride);const o=r?()=>Promise.all(Hs(e,r,n)):()=>Promise.resolve(),a=e.variantChildren&&e.variantChildren.size?(r=0)=>{const{delayChildren:o=0,staggerChildren:a,staggerDirection:s}=i;return function(e,t,n=0,r=0,i=1,o){const a=[],s=(e.variantChildren.size-1)*r,l=1===i?(e=0)=>e*r:(e=0)=>s-e*r;return Array.from(e.variantChildren).sort(zs).forEach(((e,r)=>{e.notify("AnimationStart",t),a.push(Us(e,t,{...o,delay:n+l(r)}).then((()=>e.notify("AnimationComplete",t))))})),Promise.all(a)}(e,t,o+r,a,s,n)}:()=>Promise.resolve(),{when:s}=i;if(s){const[e,t]="beforeChildren"===s?[o,a]:[a,o];return e().then((()=>t()))}return Promise.all([o(),a(n.delay)])}function zs(e,t){return e.sortNodePosition(t)}const Vs=[...Qr].reverse(),$s=Qr.length;function qs(e){let t=function(e){return t=>Promise.all(t.map((({animation:t,options:n})=>function(e,t,n={}){let r;if(e.notify("AnimationStart",t),Array.isArray(t)){const i=t.map((t=>Us(e,t,n)));r=Promise.all(i)}else if("string"==typeof t)r=Us(e,t,n);else{const i="function"==typeof t?jo(e,t,n.custom):t;r=Promise.all(Hs(e,i,n))}return r.then((()=>e.notify("AnimationComplete",t)))}(e,t,n))))}(e);const n={animate:Ys(!0),whileInView:Ys(),whileHover:Ys(),whileTap:Ys(),whileDrag:Ys(),whileFocus:Ys(),exit:Ys()};let r=!0;const i=(t,n)=>{const r=jo(e,n);if(r){const{transition:e,transitionEnd:n,...i}=r;t={...t,...i,...n}}return t};function o(o,a){const s=e.getProps(),l=e.getVariantContext(!0)||{},c=[],u=new Set;let d={},f=1/0;for(let t=0;t<$s;t++){const h=Vs[t],p=n[h],m=void 0!==s[h]?s[h]:l[h],g=Kr(m),b=h===a?p.isActive:null;!1===b&&(f=t);let v=m===l[h]&&m!==s[h]&&g;if(v&&r&&e.manuallyAnimateOnMount&&(v=!1),p.protectedKeys={...d},!p.isActive&&null===b||!m&&!p.prevProp||Xr(m)||"boolean"==typeof m)continue;const y=Ws(p.prevProp,m);let E=y||h===a&&p.isActive&&!v&&g||t>f&&g;const T=Array.isArray(m)?m:[m];let _=T.reduce(i,{});!1===b&&(_={});const{prevResolvedValues:A={}}=p,S={...A,..._},C=e=>{E=!0,u.delete(e),p.needsAnimating[e]=!0};for(const e in S){const t=_[e],n=A[e];d.hasOwnProperty(e)||(t!==n?lo(t)&&lo(n)?!Go(t,n)||y?C(e):p.protectedKeys[e]=!0:void 0!==t?C(e):u.add(e):void 0!==t&&u.has(e)?C(e):p.protectedKeys[e]=!0)}p.prevProp=m,p.prevResolvedValues=_,p.isActive&&(d={...d,..._}),r&&e.blockInitialAnimation&&(E=!1),E&&!v&&c.push(...T.map((e=>({animation:e,options:{type:h,...o}}))))}if(u.size){const t={};u.forEach((n=>{const r=e.getBaseTarget(n);void 0!==r&&(t[n]=r)})),c.push({animation:t})}let h=Boolean(c.length);return!r||!1!==s.initial&&s.initial!==s.animate||e.manuallyAnimateOnMount||(h=!1),r=!1,h?t(c):Promise.resolve()}return{animateChanges:o,setActive:function(t,r,i){var a;if(n[t].isActive===r)return Promise.resolve();null===(a=e.variantChildren)||void 0===a||a.forEach((e=>{var n;return null===(n=e.animationState)||void 0===n?void 0:n.setActive(t,r)})),n[t].isActive=r;const s=o(i,t);for(const e in n)n[e].protectedKeys={};return s},setAnimateFunction:function(n){t=n(e)},getState:()=>n}}function Ws(e,t){return"string"==typeof t?t!==e:!!Array.isArray(t)&&!Go(t,e)}function Ys(e=!1){return{isActive:e,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}let Ks=0;const Xs={animation:{Feature:class extends Do{constructor(e){super(e),e.animationState||(e.animationState=qs(e))}updateAnimationControlsSubscription(){const{animate:e}=this.node.getProps();this.unmount(),Xr(e)&&(this.unmount=e.subscribe(this.node))}mount(){this.updateAnimationControlsSubscription()}update(){const{animate:e}=this.node.getProps(),{animate:t}=this.node.prevProps||{};e!==t&&this.updateAnimationControlsSubscription()}unmount(){}}},exit:{Feature:class extends Do{constructor(){super(...arguments),this.id=Ks++}update(){if(!this.node.presenceContext)return;const{isPresent:e,onExitComplete:t,custom:n}=this.node.presenceContext,{isPresent:r}=this.node.prevPresenceContext||{};if(!this.node.animationState||e===r)return;const i=this.node.animationState.setActive("exit",!e,{custom:null!=n?n:this.node.getProps().custom});t&&!e&&i.then((()=>t(this.id)))}mount(){const{register:e}=this.node.presenceContext||{};e&&(this.unmount=e(this.id))}unmount(){}}}},Qs=(e,t)=>Math.abs(e-t);class Zs{constructor(e,t,{transformPagePoint:n,contextWindow:r}={}){if(this.startEvent=null,this.lastMoveEvent=null,this.lastMoveEventInfo=null,this.handlers={},this.contextWindow=window,this.updatePoint=()=>{if(!this.lastMoveEvent||!this.lastMoveEventInfo)return;const e=tl(this.lastMoveEventInfo,this.history),t=null!==this.startEvent,n=function(e,t){const n=Qs(e.x,t.x),r=Qs(e.y,t.y);return Math.sqrt(n**2+r**2)}(e.offset,{x:0,y:0})>=3;if(!t&&!n)return;const{point:r}=e,{timestamp:i}=kr;this.history.push({...r,timestamp:i});const{onStart:o,onMove:a}=this.handlers;t||(o&&o(this.lastMoveEvent,e),this.startEvent=this.lastMoveEvent),a&&a(this.lastMoveEvent,e)},this.handlePointerMove=(e,t)=>{this.lastMoveEvent=e,this.lastMoveEventInfo=Js(t,this.transformPagePoint),xr.update(this.updatePoint,!0)},this.handlePointerUp=(e,t)=>{if(this.end(),!this.lastMoveEvent||!this.lastMoveEventInfo)return;const{onEnd:n,onSessionEnd:r}=this.handlers,i=tl("pointercancel"===e.type?this.lastMoveEventInfo:Js(t,this.transformPagePoint),this.history);this.startEvent&&n&&n(e,i),r&&r(e,i)},!vo(e))return;this.handlers=t,this.transformPagePoint=n,this.contextWindow=r||window;const i=Js(yo(e),this.transformPagePoint),{point:o}=i,{timestamp:a}=kr;this.history=[{...o,timestamp:a}];const{onSessionStart:s}=t;s&&s(e,tl(i,this.history)),this.removeListeners=Ao(To(this.contextWindow,"pointermove",this.handlePointerMove),To(this.contextWindow,"pointerup",this.handlePointerUp),To(this.contextWindow,"pointercancel",this.handlePointerUp))}updateHandlers(e){this.handlers=e}end(){this.removeListeners&&this.removeListeners(),Dr(this.updatePoint)}}function Js(e,t){return t?{point:t(e.point)}:e}function el(e,t){return{x:e.x-t.x,y:e.y-t.y}}function tl({point:e},t){return{point:e,delta:el(e,rl(t)),offset:el(e,nl(t)),velocity:il(t,.1)}}function nl(e){return e[0]}function rl(e){return e[e.length-1]}function il(e,t){if(e.length<2)return{x:0,y:0};let n=e.length-1,r=null;const i=rl(e);for(;n>=0&&(r=e[n],!(i.timestamp-r.timestamp>Ho(t)));)n--;if(!r)return{x:0,y:0};const o=Uo(i.timestamp-r.timestamp);if(0===o)return{x:0,y:0};const a={x:(i.x-r.x)/o,y:(i.y-r.y)/o};return a.x===1/0&&(a.x=0),a.y===1/0&&(a.y=0),a}function ol(e){return e.max-e.min}function al(e,t=0,n=.01){return Math.abs(e-t)<=n}function sl(e,t,n,r=.5){e.origin=r,e.originPoint=ba(t.min,t.max,e.origin),e.scale=ol(n)/ol(t),(al(e.scale,1,1e-4)||isNaN(e.scale))&&(e.scale=1),e.translate=ba(n.min,n.max,e.origin)-e.originPoint,(al(e.translate)||isNaN(e.translate))&&(e.translate=0)}function ll(e,t,n,r){sl(e.x,t.x,n.x,r?r.originX:void 0),sl(e.y,t.y,n.y,r?r.originY:void 0)}function cl(e,t,n){e.min=n.min+t.min,e.max=e.min+ol(t)}function ul(e,t,n){e.min=t.min-n.min,e.max=e.min+ol(t)}function dl(e,t,n){ul(e.x,t.x,n.x),ul(e.y,t.y,n.y)}function fl(e,t,n){return{min:void 0!==t?e.min+t:void 0,max:void 0!==n?e.max+n-(e.max-e.min):void 0}}function hl(e,t){let n=t.min-e.min,r=t.max-e.max;return t.max-t.min<e.max-e.min&&([n,r]=[r,n]),{min:n,max:r}}const pl=.35;function ml(e,t,n){return{min:gl(e,t),max:gl(e,n)}}function gl(e,t){return"number"==typeof e?e:e[t]||0}const bl=()=>({x:{translate:0,scale:1,origin:0,originPoint:0},y:{translate:0,scale:1,origin:0,originPoint:0}}),vl=()=>({x:{min:0,max:0},y:{min:0,max:0}});function yl(e){return[e("x"),e("y")]}function El({top:e,left:t,right:n,bottom:r}){return{x:{min:t,max:n},y:{min:e,max:r}}}function Tl(e){return void 0===e||1===e}function _l({scale:e,scaleX:t,scaleY:n}){return!Tl(e)||!Tl(t)||!Tl(n)}function Al(e){return _l(e)||Sl(e)||e.z||e.rotate||e.rotateX||e.rotateY}function Sl(e){return Cl(e.x)||Cl(e.y)}function Cl(e){return e&&"0%"!==e}function Il(e,t,n){return n+t*(e-n)}function wl(e,t,n,r,i){return void 0!==i&&(e=Il(e,i,r)),Il(e,n,r)+t}function xl(e,t=0,n=1,r,i){e.min=wl(e.min,t,n,r,i),e.max=wl(e.max,t,n,r,i)}function Dl(e,{x:t,y:n}){xl(e.x,t.translate,t.scale,t.originPoint),xl(e.y,n.translate,n.scale,n.originPoint)}function kl(e){return Number.isInteger(e)||e>1.0000000000001||e<.999999999999?e:1}function Ol(e,t){e.min=e.min+t,e.max=e.max+t}function Nl(e,t,[n,r,i]){const o=void 0!==t[i]?t[i]:.5,a=ba(e.min,e.max,o);xl(e,t[n],t[r],a,t.scale)}const Pl=["x","scaleX","originX"],Rl=["y","scaleY","originY"];function Ll(e,t){Nl(e.x,t,Pl),Nl(e.y,t,Rl)}function Ml(e,t){return El(function(e,t){if(!t)return e;const n=t({x:e.left,y:e.top}),r=t({x:e.right,y:e.bottom});return{top:n.y,left:n.x,bottom:r.y,right:r.x}}(e.getBoundingClientRect(),t))}const Bl=({current:e})=>e?e.ownerDocument.defaultView:null,Fl=new WeakMap;class Gl{constructor(e){this.openGlobalLock=null,this.isDragging=!1,this.currentDirection=null,this.originPoint={x:0,y:0},this.constraints=!1,this.hasMutatedConstraints=!1,this.elastic=vl(),this.visualElement=e}start(e,{snapToCursor:t=!1}={}){const{presenceContext:n}=this.visualElement;n&&!1===n.isPresent||(this.panSession=new Zs(e,{onSessionStart:e=>{this.stopAnimation(),t&&this.snapToCursor(yo(e,"page").point)},onStart:(e,t)=>{const{drag:n,dragPropagation:r,onDragStart:i}=this.getProps();if(n&&!r&&(this.openGlobalLock&&this.openGlobalLock(),this.openGlobalLock=wo(n),!this.openGlobalLock))return;this.isDragging=!0,this.currentDirection=null,this.resolveConstraints(),this.visualElement.projection&&(this.visualElement.projection.isAnimationBlocked=!0,this.visualElement.projection.target=void 0),yl((e=>{let t=this.getAxisMotionValue(e).get()||0;if(Pi.test(t)){const{projection:n}=this.visualElement;if(n&&n.layout){const r=n.layout.layoutBox[e];r&&(t=ol(r)*(parseFloat(t)/100))}}this.originPoint[e]=t})),i&&xr.update((()=>i(e,t)),!1,!0);const{animationState:o}=this.visualElement;o&&o.setActive("whileDrag",!0)},onMove:(e,t)=>{const{dragPropagation:n,dragDirectionLock:r,onDirectionLock:i,onDrag:o}=this.getProps();if(!n&&!this.openGlobalLock)return;const{offset:a}=t;if(r&&null===this.currentDirection)return this.currentDirection=function(e,t=10){let n=null;return Math.abs(e.y)>t?n="y":Math.abs(e.x)>t&&(n="x"),n}(a),void(null!==this.currentDirection&&i&&i(this.currentDirection));this.updateAxis("x",t.point,a),this.updateAxis("y",t.point,a),this.visualElement.render(),o&&o(e,t)},onSessionEnd:(e,t)=>this.stop(e,t)},{transformPagePoint:this.visualElement.getTransformPagePoint(),contextWindow:Bl(this.visualElement)}))}stop(e,t){const n=this.isDragging;if(this.cancel(),!n)return;const{velocity:r}=t;this.startAnimation(r);const{onDragEnd:i}=this.getProps();i&&xr.update((()=>i(e,t)))}cancel(){this.isDragging=!1;const{projection:e,animationState:t}=this.visualElement;e&&(e.isAnimationBlocked=!1),this.panSession&&this.panSession.end(),this.panSession=void 0;const{dragPropagation:n}=this.getProps();!n&&this.openGlobalLock&&(this.openGlobalLock(),this.openGlobalLock=null),t&&t.setActive("whileDrag",!1)}updateAxis(e,t,n){const{drag:r}=this.getProps();if(!n||!jl(e,r,this.currentDirection))return;const i=this.getAxisMotionValue(e);let o=this.originPoint[e]+n[e];this.constraints&&this.constraints[e]&&(o=function(e,{min:t,max:n},r){return void 0!==t&&e<t?e=r?ba(t,e,r.min):Math.max(e,t):void 0!==n&&e>n&&(e=r?ba(n,e,r.max):Math.min(e,n)),e}(o,this.constraints[e],this.elastic[e])),i.set(o)}resolveConstraints(){var e;const{dragConstraints:t,dragElastic:n}=this.getProps(),r=this.visualElement.projection&&!this.visualElement.projection.layout?this.visualElement.projection.measure(!1):null===(e=this.visualElement.projection)||void 0===e?void 0:e.layout,i=this.constraints;t&&Yr(t)?this.constraints||(this.constraints=this.resolveRefConstraints()):this.constraints=!(!t||!r)&&function(e,{top:t,left:n,bottom:r,right:i}){return{x:fl(e.x,n,i),y:fl(e.y,t,r)}}(r.layoutBox,t),this.elastic=function(e=pl){return!1===e?e=0:!0===e&&(e=pl),{x:ml(e,"left","right"),y:ml(e,"top","bottom")}}(n),i!==this.constraints&&r&&this.constraints&&!this.hasMutatedConstraints&&yl((e=>{this.getAxisMotionValue(e)&&(this.constraints[e]=function(e,t){const n={};return void 0!==t.min&&(n.min=t.min-e.min),void 0!==t.max&&(n.max=t.max-e.min),n}(r.layoutBox[e],this.constraints[e]))}))}resolveRefConstraints(){const{dragConstraints:e,onMeasureDragConstraints:t}=this.getProps();if(!e||!Yr(e))return!1;const n=e.current;jr(null!==n,"If `dragConstraints` is set as a React ref, that ref must be passed to another component's `ref` prop.");const{projection:r}=this.visualElement;if(!r||!r.layout)return!1;const i=function(e,t,n){const r=Ml(e,n),{scroll:i}=t;return i&&(Ol(r.x,i.offset.x),Ol(r.y,i.offset.y)),r}(n,r.root,this.visualElement.getTransformPagePoint());let o=function(e,t){return{x:hl(e.x,t.x),y:hl(e.y,t.y)}}(r.layout.layoutBox,i);if(t){const e=t(function({x:e,y:t}){return{top:t.min,right:e.max,bottom:t.max,left:e.min}}(o));this.hasMutatedConstraints=!!e,e&&(o=El(e))}return o}startAnimation(e){const{drag:t,dragMomentum:n,dragElastic:r,dragTransition:i,dragSnapToOrigin:o,onDragTransitionEnd:a}=this.getProps(),s=this.constraints||{},l=yl((a=>{if(!jl(a,t,this.currentDirection))return;let l=s&&s[a]||{};o&&(l={min:0,max:0});const c=r?200:1e6,u=r?40:1e7,d={type:"inertia",velocity:n?e[a]:0,bounceStiffness:c,bounceDamping:u,timeConstant:750,restDelta:1,restSpeed:10,...i,...l};return this.startAxisValueAnimation(a,d)}));return Promise.all(l).then(a)}startAxisValueAnimation(e,t){const n=this.getAxisMotionValue(e);return n.start(Ss(e,n,0,t))}stopAnimation(){yl((e=>this.getAxisMotionValue(e).stop()))}getAxisMotionValue(e){const t="_drag"+e.toUpperCase(),n=this.visualElement.getProps();return n[t]||this.visualElement.getValue(e,(n.initial?n.initial[e]:void 0)||0)}snapToCursor(e){yl((t=>{const{drag:n}=this.getProps();if(!jl(t,n,this.currentDirection))return;const{projection:r}=this.visualElement,i=this.getAxisMotionValue(t);if(r&&r.layout){const{min:n,max:o}=r.layout.layoutBox[t];i.set(e[t]-ba(n,o,.5))}}))}scalePositionWithinConstraints(){if(!this.visualElement.current)return;const{drag:e,dragConstraints:t}=this.getProps(),{projection:n}=this.visualElement;if(!Yr(t)||!n||!this.constraints)return;this.stopAnimation();const r={x:0,y:0};yl((e=>{const t=this.getAxisMotionValue(e);if(t){const n=t.get();r[e]=function(e,t){let n=.5;const r=ol(e),i=ol(t);return i>r?n=Ba(t.min,t.max-r,e.min):r>i&&(n=Ba(e.min,e.max-i,t.min)),_i(0,1,n)}({min:n,max:n},this.constraints[e])}}));const{transformTemplate:i}=this.visualElement.getProps();this.visualElement.current.style.transform=i?i({},""):"none",n.root&&n.root.updateScroll(),n.updateLayout(),this.resolveConstraints(),yl((t=>{if(!jl(t,e,null))return;const n=this.getAxisMotionValue(t),{min:i,max:o}=this.constraints[t];n.set(ba(i,o,r[t]))}))}addListeners(){if(!this.visualElement.current)return;Fl.set(this.visualElement,this);const e=To(this.visualElement.current,"pointerdown",(e=>{const{drag:t,dragListener:n=!0}=this.getProps();t&&n&&this.start(e)})),t=()=>{const{dragConstraints:e}=this.getProps();Yr(e)&&(this.constraints=this.resolveRefConstraints())},{projection:n}=this.visualElement,r=n.addEventListener("measure",t);n&&!n.layout&&(n.root&&n.root.updateScroll(),n.updateLayout()),t();const i=bo(window,"resize",(()=>this.scalePositionWithinConstraints())),o=n.addEventListener("didUpdate",(({delta:e,hasLayoutChanged:t})=>{this.isDragging&&t&&(yl((t=>{const n=this.getAxisMotionValue(t);n&&(this.originPoint[t]+=e[t].translate,n.set(n.get()+e[t].translate))})),this.visualElement.render())}));return()=>{i(),e(),r(),o&&o()}}getProps(){const e=this.visualElement.getProps(),{drag:t=!1,dragDirectionLock:n=!1,dragPropagation:r=!1,dragConstraints:i=!1,dragElastic:o=pl,dragMomentum:a=!0}=e;return{...e,drag:t,dragDirectionLock:n,dragPropagation:r,dragConstraints:i,dragElastic:o,dragMomentum:a}}}function jl(e,t,n){return!(!0!==t&&t!==e||null!==n&&n!==e)}const Hl=e=>(t,n)=>{e&&xr.update((()=>e(t,n)))};const Ul={hasAnimatedSinceResize:!0,hasEverUpdated:!1};function zl(e,t){return t.max===t.min?0:e/(t.max-t.min)*100}const Vl={correct:(e,t)=>{if(!t.target)return e;if("string"==typeof e){if(!Ri.test(e))return e;e=parseFloat(e)}return`${zl(e,t.target.x)}% ${zl(e,t.target.y)}%`}},$l={correct:(e,{treeScale:t,projectionDelta:n})=>{const r=e,i=Oa.parse(e);if(i.length>5)return r;const o=Oa.createTransformer(e),a="number"!=typeof i[0]?1:0,s=n.x.scale*t.x,l=n.y.scale*t.y;i[0+a]/=s,i[1+a]/=l;const c=ba(s,l,.5);return"number"==typeof i[2+a]&&(i[2+a]/=c),"number"==typeof i[3+a]&&(i[3+a]/=c),o(i)}};class ql extends t.Component{componentDidMount(){const{visualElement:e,layoutGroup:t,switchLayoutGroup:n,layoutId:r}=this.props,{projection:i}=e;var o;o=Yl,Object.assign(di,o),i&&(t.group&&t.group.add(i),n&&n.register&&r&&n.register(i),i.root.didUpdate(),i.addEventListener("animationComplete",(()=>{this.safeToRemove()})),i.setOptions({...i.options,onExitComplete:()=>this.safeToRemove()})),Ul.hasEverUpdated=!0}getSnapshotBeforeUpdate(e){const{layoutDependency:t,visualElement:n,drag:r,isPresent:i}=this.props,o=n.projection;return o?(o.isPresent=i,r||e.layoutDependency!==t||void 0===t?o.willUpdate():this.safeToRemove(),e.isPresent!==i&&(i?o.promote():o.relegate()||xr.postRender((()=>{const e=o.getStack();e&&e.members.length||this.safeToRemove()}))),null):null}componentDidUpdate(){const{projection:e}=this.props.visualElement;e&&(e.root.didUpdate(),queueMicrotask((()=>{!e.currentAnimation&&e.isLead()&&this.safeToRemove()})))}componentWillUnmount(){const{visualElement:e,layoutGroup:t,switchLayoutGroup:n}=this.props,{projection:r}=e;r&&(r.scheduleCheckAfterUnmount(),t&&t.group&&t.group.remove(r),n&&n.deregister&&n.deregister(r))}safeToRemove(){const{safeToRemove:e}=this.props;e&&e()}render(){return null}}function Wl(e){const[n,r]=function(){const e=(0,t.useContext)(Nr);if(null===e)return[!0,null];const{isPresent:n,onExitComplete:r,register:i}=e,o=(0,t.useId)();return(0,t.useEffect)((()=>i(o)),[]),!n&&r?[!1,()=>r&&r(o)]:[!0]}(),i=(0,t.useContext)(Fr);return t.createElement(ql,{...e,layoutGroup:i,switchLayoutGroup:(0,t.useContext)(ii),isPresent:n,safeToRemove:r})}const Yl={borderRadius:{...Vl,applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]},borderTopLeftRadius:Vl,borderTopRightRadius:Vl,borderBottomLeftRadius:Vl,borderBottomRightRadius:Vl,boxShadow:$l},Kl=["TopLeft","TopRight","BottomLeft","BottomRight"],Xl=Kl.length,Ql=e=>"string"==typeof e?parseFloat(e):e,Zl=e=>"number"==typeof e||Ri.test(e);function Jl(e,t){return void 0!==e[t]?e[t]:e.borderRadius}const ec=nc(0,.5,ra),tc=nc(.5,.95,Cr);function nc(e,t,n){return r=>r<e?0:r>t?1:n(Ba(e,t,r))}function rc(e,t){e.min=t.min,e.max=t.max}function ic(e,t){rc(e.x,t.x),rc(e.y,t.y)}function oc(e,t,n,r,i){return e=Il(e-=t,1/n,r),void 0!==i&&(e=Il(e,1/i,r)),e}function ac(e,t,[n,r,i],o,a){!function(e,t=0,n=1,r=.5,i,o=e,a=e){if(Pi.test(t)&&(t=parseFloat(t),t=ba(a.min,a.max,t/100)-a.min),"number"!=typeof t)return;let s=ba(o.min,o.max,r);e===o&&(s-=t),e.min=oc(e.min,t,n,s,i),e.max=oc(e.max,t,n,s,i)}(e,t[n],t[r],t[i],t.scale,o,a)}const sc=["x","scaleX","originX"],lc=["y","scaleY","originY"];function cc(e,t,n,r){ac(e.x,t,sc,n?n.x:void 0,r?r.x:void 0),ac(e.y,t,lc,n?n.y:void 0,r?r.y:void 0)}function uc(e){return 0===e.translate&&1===e.scale}function dc(e){return uc(e.x)&&uc(e.y)}function fc(e,t){return Math.round(e.x.min)===Math.round(t.x.min)&&Math.round(e.x.max)===Math.round(t.x.max)&&Math.round(e.y.min)===Math.round(t.y.min)&&Math.round(e.y.max)===Math.round(t.y.max)}function hc(e){return ol(e.x)/ol(e.y)}class pc{constructor(){this.members=[]}add(e){ws(this.members,e),e.scheduleRender()}remove(e){if(xs(this.members,e),e===this.prevLead&&(this.prevLead=void 0),e===this.lead){const e=this.members[this.members.length-1];e&&this.promote(e)}}relegate(e){const t=this.members.findIndex((t=>e===t));if(0===t)return!1;let n;for(let e=t;e>=0;e--){const t=this.members[e];if(!1!==t.isPresent){n=t;break}}return!!n&&(this.promote(n),!0)}promote(e,t){const n=this.lead;if(e!==n&&(this.prevLead=n,this.lead=e,e.show(),n)){n.instance&&n.scheduleRender(),e.scheduleRender(),e.resumeFrom=n,t&&(e.resumeFrom.preserveOpacity=!0),n.snapshot&&(e.snapshot=n.snapshot,e.snapshot.latestValues=n.animationValues||n.latestValues),e.root&&e.root.isUpdating&&(e.isLayoutDirty=!0);const{crossfade:r}=e.options;!1===r&&n.hide()}}exitAnimationComplete(){this.members.forEach((e=>{const{options:t,resumingFrom:n}=e;t.onExitComplete&&t.onExitComplete(),n&&n.options.onExitComplete&&n.options.onExitComplete()}))}scheduleRender(){this.members.forEach((e=>{e.instance&&e.scheduleRender(!1)}))}removeLeadSnapshot(){this.lead&&this.lead.snapshot&&(this.lead.snapshot=void 0)}}function mc(e,t,n){let r="";const i=e.x.translate/t.x,o=e.y.translate/t.y;if((i||o)&&(r=`translate3d(${i}px, ${o}px, 0) `),1===t.x&&1===t.y||(r+=`scale(${1/t.x}, ${1/t.y}) `),n){const{rotate:e,rotateX:t,rotateY:i}=n;e&&(r+=`rotate(${e}deg) `),t&&(r+=`rotateX(${t}deg) `),i&&(r+=`rotateY(${i}deg) `)}const a=e.x.scale*t.x,s=e.y.scale*t.y;return 1===a&&1===s||(r+=`scale(${a}, ${s})`),r||"none"}const gc=(e,t)=>e.depth-t.depth;class bc{constructor(){this.children=[],this.isDirty=!1}add(e){ws(this.children,e),this.isDirty=!0}remove(e){xs(this.children,e),this.isDirty=!0}forEach(e){this.isDirty&&this.children.sort(gc),this.isDirty=!1,this.children.forEach(e)}}const vc=["","X","Y","Z"],yc={visibility:"hidden"};let Ec=0;const Tc={type:"projectionFrame",totalNodes:0,resolvedTargetDeltas:0,recalculatedProjection:0};function _c({attachResizeListener:e,defaultParent:t,measureScroll:n,checkIsScrollRoot:r,resetTransform:i}){return class{constructor(e={},n=(null==t?void 0:t())){this.id=Ec++,this.animationId=0,this.children=new Set,this.options={},this.isTreeAnimating=!1,this.isAnimationBlocked=!1,this.isLayoutDirty=!1,this.isProjectionDirty=!1,this.isSharedProjectionDirty=!1,this.isTransformDirty=!1,this.updateManuallyBlocked=!1,this.updateBlockedByResize=!1,this.isUpdating=!1,this.isSVG=!1,this.needsReset=!1,this.shouldResetTransform=!1,this.treeScale={x:1,y:1},this.eventHandlers=new Map,this.hasTreeAnimated=!1,this.updateScheduled=!1,this.projectionUpdateScheduled=!1,this.checkUpdateFailed=()=>{this.isUpdating&&(this.isUpdating=!1,this.clearAllSnapshots())},this.updateProjection=()=>{var e;this.projectionUpdateScheduled=!1,Tc.totalNodes=Tc.resolvedTargetDeltas=Tc.recalculatedProjection=0,this.nodes.forEach(Cc),this.nodes.forEach(Nc),this.nodes.forEach(Pc),this.nodes.forEach(Ic),e=Tc,window.MotionDebug&&window.MotionDebug.record(e)},this.hasProjected=!1,this.isVisible=!0,this.animationProgress=0,this.sharedNodes=new Map,this.latestValues=e,this.root=n?n.root||n:this,this.path=n?[...n.path,n]:[],this.parent=n,this.depth=n?n.depth+1:0;for(let e=0;e<this.path.length;e++)this.path[e].shouldResetTransform=!0;this.root===this&&(this.nodes=new bc)}addEventListener(e,t){return this.eventHandlers.has(e)||this.eventHandlers.set(e,new Ds),this.eventHandlers.get(e).add(t)}notifyListeners(e,...t){const n=this.eventHandlers.get(e);n&&n.notify(...t)}hasListeners(e){return this.eventHandlers.has(e)}mount(t,n=this.root.hasTreeAnimated){if(this.instance)return;var r;this.isSVG=(r=t)instanceof SVGElement&&"svg"!==r.tagName,this.instance=t;const{layoutId:i,layout:o,visualElement:a}=this.options;if(a&&!a.current&&a.mount(t),this.root.nodes.add(this),this.parent&&this.parent.children.add(this),n&&(o||i)&&(this.isLayoutDirty=!0),e){let n;const r=()=>this.root.updateBlockedByResize=!1;e(t,(()=>{this.root.updateBlockedByResize=!0,n&&n(),n=function(e,t){const n=performance.now(),r=({timestamp:t})=>{const i=t-n;i>=250&&(Dr(r),e(i-250))};return xr.read(r,!0),()=>Dr(r)}(r),Ul.hasAnimatedSinceResize&&(Ul.hasAnimatedSinceResize=!1,this.nodes.forEach(Oc))}))}i&&this.root.registerSharedNode(i,this),!1!==this.options.animate&&a&&(i||o)&&this.addEventListener("didUpdate",(({delta:e,hasLayoutChanged:t,hasRelativeTargetChanged:n,layout:r})=>{if(this.isTreeAnimationBlocked())return this.target=void 0,void(this.relativeTarget=void 0);const i=this.options.transition||a.getDefaultTransition()||Gc,{onLayoutAnimationStart:o,onLayoutAnimationComplete:s}=a.getProps(),l=!this.targetLayout||!fc(this.targetLayout,r)||n,c=!t&&n;if(this.options.layoutRoot||this.resumeFrom&&this.resumeFrom.instance||c||t&&(l||!this.currentAnimation)){this.resumeFrom&&(this.resumingFrom=this.resumeFrom,this.resumingFrom.resumingFrom=void 0),this.setAnimationOrigin(e,c);const t={...As(i,"layout"),onPlay:o,onComplete:s};(a.shouldReduceMotion||this.options.layoutRoot)&&(t.delay=0,t.type=!1),this.startAnimation(t)}else t||Oc(this),this.isLead()&&this.options.onExitComplete&&this.options.onExitComplete();this.targetLayout=r}))}unmount(){this.options.layoutId&&this.willUpdate(),this.root.nodes.remove(this);const e=this.getStack();e&&e.remove(this),this.parent&&this.parent.children.delete(this),this.instance=void 0,Dr(this.updateProjection)}blockUpdate(){this.updateManuallyBlocked=!0}unblockUpdate(){this.updateManuallyBlocked=!1}isUpdateBlocked(){return this.updateManuallyBlocked||this.updateBlockedByResize}isTreeAnimationBlocked(){return this.isAnimationBlocked||this.parent&&this.parent.isTreeAnimationBlocked()||!1}startUpdate(){this.isUpdateBlocked()||(this.isUpdating=!0,this.nodes&&this.nodes.forEach(Rc),this.animationId++)}getTransformTemplate(){const{visualElement:e}=this.options;return e&&e.getProps().transformTemplate}willUpdate(e=!0){if(this.root.hasTreeAnimated=!0,this.root.isUpdateBlocked())return void(this.options.onExitComplete&&this.options.onExitComplete());if(!this.root.isUpdating&&this.root.startUpdate(),this.isLayoutDirty)return;this.isLayoutDirty=!0;for(let e=0;e<this.path.length;e++){const t=this.path[e];t.shouldResetTransform=!0,t.updateScroll("snapshot"),t.options.layoutRoot&&t.willUpdate(!1)}const{layoutId:t,layout:n}=this.options;if(void 0===t&&!n)return;const r=this.getTransformTemplate();this.prevTransformTemplateValue=r?r(this.latestValues,""):void 0,this.updateSnapshot(),e&&this.notifyListeners("willUpdate")}update(){if(this.updateScheduled=!1,this.isUpdateBlocked())return this.unblockUpdate(),this.clearAllSnapshots(),void this.nodes.forEach(xc);this.isUpdating||this.nodes.forEach(Dc),this.isUpdating=!1,this.nodes.forEach(kc),this.nodes.forEach(Ac),this.nodes.forEach(Sc),this.clearAllSnapshots();const e=performance.now();kr.delta=_i(0,1e3/60,e-kr.timestamp),kr.timestamp=e,kr.isProcessing=!0,Or.update.process(kr),Or.preRender.process(kr),Or.render.process(kr),kr.isProcessing=!1}didUpdate(){this.updateScheduled||(this.updateScheduled=!0,queueMicrotask((()=>this.update())))}clearAllSnapshots(){this.nodes.forEach(wc),this.sharedNodes.forEach(Lc)}scheduleUpdateProjection(){this.projectionUpdateScheduled||(this.projectionUpdateScheduled=!0,xr.preRender(this.updateProjection,!1,!0))}scheduleCheckAfterUnmount(){xr.postRender((()=>{this.isLayoutDirty?this.root.didUpdate():this.root.checkUpdateFailed()}))}updateSnapshot(){!this.snapshot&&this.instance&&(this.snapshot=this.measure())}updateLayout(){if(!this.instance)return;if(this.updateScroll(),!(this.options.alwaysMeasureLayout&&this.isLead()||this.isLayoutDirty))return;if(this.resumeFrom&&!this.resumeFrom.instance)for(let e=0;e<this.path.length;e++)this.path[e].updateScroll();const e=this.layout;this.layout=this.measure(!1),this.layoutCorrected=vl(),this.isLayoutDirty=!1,this.projectionDelta=void 0,this.notifyListeners("measure",this.layout.layoutBox);const{visualElement:t}=this.options;t&&t.notify("LayoutMeasure",this.layout.layoutBox,e?e.layoutBox:void 0)}updateScroll(e="measure"){let t=Boolean(this.options.layoutScroll&&this.instance);this.scroll&&this.scroll.animationId===this.root.animationId&&this.scroll.phase===e&&(t=!1),t&&(this.scroll={animationId:this.root.animationId,phase:e,isRoot:r(this.instance),offset:n(this.instance)})}resetTransform(){if(!i)return;const e=this.isLayoutDirty||this.shouldResetTransform,t=this.projectionDelta&&!dc(this.projectionDelta),n=this.getTransformTemplate(),r=n?n(this.latestValues,""):void 0,o=r!==this.prevTransformTemplateValue;e&&(t||Al(this.latestValues)||o)&&(i(this.instance,r),this.shouldResetTransform=!1,this.scheduleRender())}measure(e=!0){const t=this.measurePageBox();let n=this.removeElementScroll(t);var r;return e&&(n=this.removeTransform(n)),Uc((r=n).x),Uc(r.y),{animationId:this.root.animationId,measuredBox:t,layoutBox:n,latestValues:{},source:this.id}}measurePageBox(){const{visualElement:e}=this.options;if(!e)return vl();const t=e.measureViewportBox(),{scroll:n}=this.root;return n&&(Ol(t.x,n.offset.x),Ol(t.y,n.offset.y)),t}removeElementScroll(e){const t=vl();ic(t,e);for(let n=0;n<this.path.length;n++){const r=this.path[n],{scroll:i,options:o}=r;if(r!==this.root&&i&&o.layoutScroll){if(i.isRoot){ic(t,e);const{scroll:n}=this.root;n&&(Ol(t.x,-n.offset.x),Ol(t.y,-n.offset.y))}Ol(t.x,i.offset.x),Ol(t.y,i.offset.y)}}return t}applyTransform(e,t=!1){const n=vl();ic(n,e);for(let e=0;e<this.path.length;e++){const r=this.path[e];!t&&r.options.layoutScroll&&r.scroll&&r!==r.root&&Ll(n,{x:-r.scroll.offset.x,y:-r.scroll.offset.y}),Al(r.latestValues)&&Ll(n,r.latestValues)}return Al(this.latestValues)&&Ll(n,this.latestValues),n}removeTransform(e){const t=vl();ic(t,e);for(let e=0;e<this.path.length;e++){const n=this.path[e];if(!n.instance)continue;if(!Al(n.latestValues))continue;_l(n.latestValues)&&n.updateSnapshot();const r=vl();ic(r,n.measurePageBox()),cc(t,n.latestValues,n.snapshot?n.snapshot.layoutBox:void 0,r)}return Al(this.latestValues)&&cc(t,this.latestValues),t}setTargetDelta(e){this.targetDelta=e,this.root.scheduleUpdateProjection(),this.isProjectionDirty=!0}setOptions(e){this.options={...this.options,...e,crossfade:void 0===e.crossfade||e.crossfade}}clearMeasurements(){this.scroll=void 0,this.layout=void 0,this.snapshot=void 0,this.prevTransformTemplateValue=void 0,this.targetDelta=void 0,this.target=void 0,this.isLayoutDirty=!1}forceRelativeParentToResolveTarget(){this.relativeParent&&this.relativeParent.resolvedRelativeTargetAt!==kr.timestamp&&this.relativeParent.resolveTargetDelta(!0)}resolveTargetDelta(e=!1){var t;const n=this.getLead();this.isProjectionDirty||(this.isProjectionDirty=n.isProjectionDirty),this.isTransformDirty||(this.isTransformDirty=n.isTransformDirty),this.isSharedProjectionDirty||(this.isSharedProjectionDirty=n.isSharedProjectionDirty);const r=Boolean(this.resumingFrom)||this!==n;if(!(e||r&&this.isSharedProjectionDirty||this.isProjectionDirty||(null===(t=this.parent)||void 0===t?void 0:t.isProjectionDirty)||this.attemptToResolveRelativeTarget))return;const{layout:i,layoutId:o}=this.options;if(this.layout&&(i||o)){if(this.resolvedRelativeTargetAt=kr.timestamp,!this.targetDelta&&!this.relativeTarget){const e=this.getClosestProjectingParent();e&&e.layout&&1!==this.animationProgress?(this.relativeParent=e,this.forceRelativeParentToResolveTarget(),this.relativeTarget=vl(),this.relativeTargetOrigin=vl(),dl(this.relativeTargetOrigin,this.layout.layoutBox,e.layout.layoutBox),ic(this.relativeTarget,this.relativeTargetOrigin)):this.relativeParent=this.relativeTarget=void 0}if(this.relativeTarget||this.targetDelta){var a,s,l;if(this.target||(this.target=vl(),this.targetWithTransforms=vl()),this.relativeTarget&&this.relativeTargetOrigin&&this.relativeParent&&this.relativeParent.target?(this.forceRelativeParentToResolveTarget(),a=this.target,s=this.relativeTarget,l=this.relativeParent.target,cl(a.x,s.x,l.x),cl(a.y,s.y,l.y)):this.targetDelta?(Boolean(this.resumingFrom)?this.target=this.applyTransform(this.layout.layoutBox):ic(this.target,this.layout.layoutBox),Dl(this.target,this.targetDelta)):ic(this.target,this.layout.layoutBox),this.attemptToResolveRelativeTarget){this.attemptToResolveRelativeTarget=!1;const e=this.getClosestProjectingParent();e&&Boolean(e.resumingFrom)===Boolean(this.resumingFrom)&&!e.options.layoutScroll&&e.target&&1!==this.animationProgress?(this.relativeParent=e,this.forceRelativeParentToResolveTarget(),this.relativeTarget=vl(),this.relativeTargetOrigin=vl(),dl(this.relativeTargetOrigin,this.target,e.target),ic(this.relativeTarget,this.relativeTargetOrigin)):this.relativeParent=this.relativeTarget=void 0}Tc.resolvedTargetDeltas++}}}getClosestProjectingParent(){if(this.parent&&!_l(this.parent.latestValues)&&!Sl(this.parent.latestValues))return this.parent.isProjecting()?this.parent:this.parent.getClosestProjectingParent()}isProjecting(){return Boolean((this.relativeTarget||this.targetDelta||this.options.layoutRoot)&&this.layout)}calcProjection(){var e;const t=this.getLead(),n=Boolean(this.resumingFrom)||this!==t;let r=!0;if((this.isProjectionDirty||(null===(e=this.parent)||void 0===e?void 0:e.isProjectionDirty))&&(r=!1),n&&(this.isSharedProjectionDirty||this.isTransformDirty)&&(r=!1),this.resolvedRelativeTargetAt===kr.timestamp&&(r=!1),r)return;const{layout:i,layoutId:o}=this.options;if(this.isTreeAnimating=Boolean(this.parent&&this.parent.isTreeAnimating||this.currentAnimation||this.pendingAnimation),this.isTreeAnimating||(this.targetDelta=this.relativeTarget=void 0),!this.layout||!i&&!o)return;ic(this.layoutCorrected,this.layout.layoutBox);const a=this.treeScale.x,s=this.treeScale.y;!function(e,t,n,r=!1){const i=n.length;if(!i)return;let o,a;t.x=t.y=1;for(let s=0;s<i;s++){o=n[s],a=o.projectionDelta;const i=o.instance;i&&i.style&&"contents"===i.style.display||(r&&o.options.layoutScroll&&o.scroll&&o!==o.root&&Ll(e,{x:-o.scroll.offset.x,y:-o.scroll.offset.y}),a&&(t.x*=a.x.scale,t.y*=a.y.scale,Dl(e,a)),r&&Al(o.latestValues)&&Ll(e,o.latestValues))}t.x=kl(t.x),t.y=kl(t.y)}(this.layoutCorrected,this.treeScale,this.path,n),!t.layout||t.target||1===this.treeScale.x&&1===this.treeScale.y||(t.target=t.layout.layoutBox);const{target:l}=t;if(!l)return void(this.projectionTransform&&(this.projectionDelta=bl(),this.projectionTransform="none",this.scheduleRender()));this.projectionDelta||(this.projectionDelta=bl(),this.projectionDeltaWithTransform=bl());const c=this.projectionTransform;ll(this.projectionDelta,this.layoutCorrected,l,this.latestValues),this.projectionTransform=mc(this.projectionDelta,this.treeScale),this.projectionTransform===c&&this.treeScale.x===a&&this.treeScale.y===s||(this.hasProjected=!0,this.scheduleRender(),this.notifyListeners("projectionUpdate",l)),Tc.recalculatedProjection++}hide(){this.isVisible=!1}show(){this.isVisible=!0}scheduleRender(e=!0){if(this.options.scheduleRender&&this.options.scheduleRender(),e){const e=this.getStack();e&&e.scheduleRender()}this.resumingFrom&&!this.resumingFrom.instance&&(this.resumingFrom=void 0)}setAnimationOrigin(e,t=!1){const n=this.snapshot,r=n?n.latestValues:{},i={...this.latestValues},o=bl();this.relativeParent&&this.relativeParent.options.layoutRoot||(this.relativeTarget=this.relativeTargetOrigin=void 0),this.attemptToResolveRelativeTarget=!t;const a=vl(),s=(n?n.source:void 0)!==(this.layout?this.layout.source:void 0),l=this.getStack(),c=!l||l.members.length<=1,u=Boolean(s&&!c&&!0===this.options.crossfade&&!this.path.some(Fc));let d;this.animationProgress=0,this.mixTargetDelta=t=>{const n=t/1e3;var l,f,h,p,m,g;Mc(o.x,e.x,n),Mc(o.y,e.y,n),this.setTargetDelta(o),this.relativeTarget&&this.relativeTargetOrigin&&this.layout&&this.relativeParent&&this.relativeParent.layout&&(dl(a,this.layout.layoutBox,this.relativeParent.layout.layoutBox),h=this.relativeTarget,p=this.relativeTargetOrigin,m=a,g=n,Bc(h.x,p.x,m.x,g),Bc(h.y,p.y,m.y,g),d&&(l=this.relativeTarget,f=d,l.x.min===f.x.min&&l.x.max===f.x.max&&l.y.min===f.y.min&&l.y.max===f.y.max)&&(this.isProjectionDirty=!1),d||(d=vl()),ic(d,this.relativeTarget)),s&&(this.animationValues=i,function(e,t,n,r,i,o){i?(e.opacity=ba(0,void 0!==n.opacity?n.opacity:1,ec(r)),e.opacityExit=ba(void 0!==t.opacity?t.opacity:1,0,tc(r))):o&&(e.opacity=ba(void 0!==t.opacity?t.opacity:1,void 0!==n.opacity?n.opacity:1,r));for(let i=0;i<Xl;i++){const o=`border${Kl[i]}Radius`;let a=Jl(t,o),s=Jl(n,o);void 0===a&&void 0===s||(a||(a=0),s||(s=0),0===a||0===s||Zl(a)===Zl(s)?(e[o]=Math.max(ba(Ql(a),Ql(s),r),0),(Pi.test(s)||Pi.test(a))&&(e[o]+="%")):e[o]=s)}(t.rotate||n.rotate)&&(e.rotate=ba(t.rotate||0,n.rotate||0,r))}(i,r,this.latestValues,n,u,c)),this.root.scheduleUpdateProjection(),this.scheduleRender(),this.animationProgress=n},this.mixTargetDelta(this.options.layoutRoot?1e3:0)}startAnimation(e){this.notifyListeners("animationStart"),this.currentAnimation&&this.currentAnimation.stop(),this.resumingFrom&&this.resumingFrom.currentAnimation&&this.resumingFrom.currentAnimation.stop(),this.pendingAnimation&&(Dr(this.pendingAnimation),this.pendingAnimation=void 0),this.pendingAnimation=xr.update((()=>{Ul.hasAnimatedSinceResize=!0,this.currentAnimation=function(e,t,n){const r=mi(0)?0:Ns(0);return r.start(Ss("",r,1e3,n)),r.animation}(0,0,{...e,onUpdate:t=>{this.mixTargetDelta(t),e.onUpdate&&e.onUpdate(t)},onComplete:()=>{e.onComplete&&e.onComplete(),this.completeAnimation()}}),this.resumingFrom&&(this.resumingFrom.currentAnimation=this.currentAnimation),this.pendingAnimation=void 0}))}completeAnimation(){this.resumingFrom&&(this.resumingFrom.currentAnimation=void 0,this.resumingFrom.preserveOpacity=void 0);const e=this.getStack();e&&e.exitAnimationComplete(),this.resumingFrom=this.currentAnimation=this.animationValues=void 0,this.notifyListeners("animationComplete")}finishAnimation(){this.currentAnimation&&(this.mixTargetDelta&&this.mixTargetDelta(1e3),this.currentAnimation.stop()),this.completeAnimation()}applyTransformsToTarget(){const e=this.getLead();let{targetWithTransforms:t,target:n,layout:r,latestValues:i}=e;if(t&&n&&r){if(this!==e&&this.layout&&r&&zc(this.options.animationType,this.layout.layoutBox,r.layoutBox)){n=this.target||vl();const t=ol(this.layout.layoutBox.x);n.x.min=e.target.x.min,n.x.max=n.x.min+t;const r=ol(this.layout.layoutBox.y);n.y.min=e.target.y.min,n.y.max=n.y.min+r}ic(t,n),Ll(t,i),ll(this.projectionDeltaWithTransform,this.layoutCorrected,t,i)}}registerSharedNode(e,t){this.sharedNodes.has(e)||this.sharedNodes.set(e,new pc),this.sharedNodes.get(e).add(t);const n=t.options.initialPromotionConfig;t.promote({transition:n?n.transition:void 0,preserveFollowOpacity:n&&n.shouldPreserveFollowOpacity?n.shouldPreserveFollowOpacity(t):void 0})}isLead(){const e=this.getStack();return!e||e.lead===this}getLead(){var e;const{layoutId:t}=this.options;return t&&(null===(e=this.getStack())||void 0===e?void 0:e.lead)||this}getPrevLead(){var e;const{layoutId:t}=this.options;return t?null===(e=this.getStack())||void 0===e?void 0:e.prevLead:void 0}getStack(){const{layoutId:e}=this.options;if(e)return this.root.sharedNodes.get(e)}promote({needsReset:e,transition:t,preserveFollowOpacity:n}={}){const r=this.getStack();r&&r.promote(this,n),e&&(this.projectionDelta=void 0,this.needsReset=!0),t&&this.setOptions({transition:t})}relegate(){const e=this.getStack();return!!e&&e.relegate(this)}resetRotation(){const{visualElement:e}=this.options;if(!e)return;let t=!1;const{latestValues:n}=e;if((n.rotate||n.rotateX||n.rotateY||n.rotateZ)&&(t=!0),!t)return;const r={};for(let t=0;t<vc.length;t++){const i="rotate"+vc[t];n[i]&&(r[i]=n[i],e.setStaticValue(i,0))}e.render();for(const t in r)e.setStaticValue(t,r[t]);e.scheduleRender()}getProjectionStyles(e){var t,n;if(!this.instance||this.isSVG)return;if(!this.isVisible)return yc;const r={visibility:""},i=this.getTransformTemplate();if(this.needsReset)return this.needsReset=!1,r.opacity="",r.pointerEvents=fo(null==e?void 0:e.pointerEvents)||"",r.transform=i?i(this.latestValues,""):"none",r;const o=this.getLead();if(!this.projectionDelta||!this.layout||!o.target){const t={};return this.options.layoutId&&(t.opacity=void 0!==this.latestValues.opacity?this.latestValues.opacity:1,t.pointerEvents=fo(null==e?void 0:e.pointerEvents)||""),this.hasProjected&&!Al(this.latestValues)&&(t.transform=i?i({},""):"none",this.hasProjected=!1),t}const a=o.animationValues||o.latestValues;this.applyTransformsToTarget(),r.transform=mc(this.projectionDeltaWithTransform,this.treeScale,a),i&&(r.transform=i(a,r.transform));const{x:s,y:l}=this.projectionDelta;r.transformOrigin=`${100*s.origin}% ${100*l.origin}% 0`,o.animationValues?r.opacity=o===this?null!==(n=null!==(t=a.opacity)&&void 0!==t?t:this.latestValues.opacity)&&void 0!==n?n:1:this.preserveOpacity?this.latestValues.opacity:a.opacityExit:r.opacity=o===this?void 0!==a.opacity?a.opacity:"":void 0!==a.opacityExit?a.opacityExit:0;for(const e in di){if(void 0===a[e])continue;const{correct:t,applyTo:n}=di[e],i="none"===r.transform?a[e]:t(a[e],o);if(n){const e=n.length;for(let t=0;t<e;t++)r[n[t]]=i}else r[e]=i}return this.options.layoutId&&(r.pointerEvents=o===this?fo(null==e?void 0:e.pointerEvents)||"":"none"),r}clearSnapshot(){this.resumeFrom=this.snapshot=void 0}resetTree(){this.root.nodes.forEach((e=>{var t;return null===(t=e.currentAnimation)||void 0===t?void 0:t.stop()})),this.root.nodes.forEach(xc),this.root.sharedNodes.clear()}}}function Ac(e){e.updateLayout()}function Sc(e){var t;const n=(null===(t=e.resumeFrom)||void 0===t?void 0:t.snapshot)||e.snapshot;if(e.isLead()&&e.layout&&n&&e.hasListeners("didUpdate")){const{layoutBox:t,measuredBox:r}=e.layout,{animationType:i}=e.options,o=n.source!==e.layout.source;"size"===i?yl((e=>{const r=o?n.measuredBox[e]:n.layoutBox[e],i=ol(r);r.min=t[e].min,r.max=r.min+i})):zc(i,n.layoutBox,t)&&yl((r=>{const i=o?n.measuredBox[r]:n.layoutBox[r],a=ol(t[r]);i.max=i.min+a,e.relativeTarget&&!e.currentAnimation&&(e.isProjectionDirty=!0,e.relativeTarget[r].max=e.relativeTarget[r].min+a)}));const a=bl();ll(a,t,n.layoutBox);const s=bl();o?ll(s,e.applyTransform(r,!0),n.measuredBox):ll(s,t,n.layoutBox);const l=!dc(a);let c=!1;if(!e.resumeFrom){const r=e.getClosestProjectingParent();if(r&&!r.resumeFrom){const{snapshot:i,layout:o}=r;if(i&&o){const a=vl();dl(a,n.layoutBox,i.layoutBox);const s=vl();dl(s,t,o.layoutBox),fc(a,s)||(c=!0),r.options.layoutRoot&&(e.relativeTarget=s,e.relativeTargetOrigin=a,e.relativeParent=r)}}}e.notifyListeners("didUpdate",{layout:t,snapshot:n,delta:s,layoutDelta:a,hasLayoutChanged:l,hasRelativeTargetChanged:c})}else if(e.isLead()){const{onExitComplete:t}=e.options;t&&t()}e.options.transition=void 0}function Cc(e){Tc.totalNodes++,e.parent&&(e.isProjecting()||(e.isProjectionDirty=e.parent.isProjectionDirty),e.isSharedProjectionDirty||(e.isSharedProjectionDirty=Boolean(e.isProjectionDirty||e.parent.isProjectionDirty||e.parent.isSharedProjectionDirty)),e.isTransformDirty||(e.isTransformDirty=e.parent.isTransformDirty))}function Ic(e){e.isProjectionDirty=e.isSharedProjectionDirty=e.isTransformDirty=!1}function wc(e){e.clearSnapshot()}function xc(e){e.clearMeasurements()}function Dc(e){e.isLayoutDirty=!1}function kc(e){const{visualElement:t}=e.options;t&&t.getProps().onBeforeLayoutMeasure&&t.notify("BeforeLayoutMeasure"),e.resetTransform()}function Oc(e){e.finishAnimation(),e.targetDelta=e.relativeTarget=e.target=void 0,e.isProjectionDirty=!0}function Nc(e){e.resolveTargetDelta()}function Pc(e){e.calcProjection()}function Rc(e){e.resetRotation()}function Lc(e){e.removeLeadSnapshot()}function Mc(e,t,n){e.translate=ba(t.translate,0,n),e.scale=ba(t.scale,1,n),e.origin=t.origin,e.originPoint=t.originPoint}function Bc(e,t,n,r){e.min=ba(t.min,n.min,r),e.max=ba(t.max,n.max,r)}function Fc(e){return e.animationValues&&void 0!==e.animationValues.opacityExit}const Gc={duration:.45,ease:[.4,0,.1,1]},jc=e=>"undefined"!=typeof navigator&&navigator.userAgent.toLowerCase().includes(e),Hc=jc("applewebkit/")&&!jc("chrome/")?Math.round:Cr;function Uc(e){e.min=Hc(e.min),e.max=Hc(e.max)}function zc(e,t,n){return"position"===e||"preserve-aspect"===e&&!al(hc(t),hc(n),.2)}const Vc=_c({attachResizeListener:(e,t)=>bo(e,"resize",t),measureScroll:()=>({x:document.documentElement.scrollLeft||document.body.scrollLeft,y:document.documentElement.scrollTop||document.body.scrollTop}),checkIsScrollRoot:()=>!0}),$c={current:void 0},qc=_c({measureScroll:e=>({x:e.scrollLeft,y:e.scrollTop}),defaultParent:()=>{if(!$c.current){const e=new Vc({});e.mount(window),e.setOptions({layoutScroll:!0}),$c.current=e}return $c.current},resetTransform:(e,t)=>{e.style.transform=void 0!==t?t:"none"},checkIsScrollRoot:e=>Boolean("fixed"===window.getComputedStyle(e).position)}),Wc={pan:{Feature:class extends Do{constructor(){super(...arguments),this.removePointerDownListener=Cr}onPointerDown(e){this.session=new Zs(e,this.createPanHandlers(),{transformPagePoint:this.node.getTransformPagePoint(),contextWindow:Bl(this.node)})}createPanHandlers(){const{onPanSessionStart:e,onPanStart:t,onPan:n,onPanEnd:r}=this.node.getProps();return{onSessionStart:Hl(e),onStart:Hl(t),onMove:n,onEnd:(e,t)=>{delete this.session,r&&xr.update((()=>r(e,t)))}}}mount(){this.removePointerDownListener=To(this.node.current,"pointerdown",(e=>this.onPointerDown(e)))}update(){this.session&&this.session.updateHandlers(this.createPanHandlers())}unmount(){this.removePointerDownListener(),this.session&&this.session.end()}}},drag:{Feature:class extends Do{constructor(e){super(e),this.removeGroupControls=Cr,this.removeListeners=Cr,this.controls=new Gl(e)}mount(){const{dragControls:e}=this.node.getProps();e&&(this.removeGroupControls=e.subscribe(this.controls)),this.removeListeners=this.controls.addListeners()||Cr}unmount(){this.removeGroupControls(),this.removeListeners()}},ProjectionNode:qc,MeasureLayout:Wl}},Yc=/var\((--[a-zA-Z0-9-_]+),? ?([a-zA-Z0-9 ()%#.,-]+)?\)/;function Kc(e,t,n=1){jr(n<=4,`Max CSS variable fallback depth detected in property "${e}". This may indicate a circular fallback dependency.`);const[r,i]=function(e){const t=Yc.exec(e);if(!t)return[,];const[,n,r]=t;return[n,r]}(e);if(!r)return;const o=window.getComputedStyle(t).getPropertyValue(r);if(o){const e=o.trim();return Is(e)?parseFloat(e):e}return Ei(i)?Kc(i,t,n+1):i}const Xc=new Set(["width","height","top","left","right","bottom","x","y","translateX","translateY"]),Qc=e=>Xc.has(e),Zc=e=>e===Ai||e===Ri,Jc=(e,t)=>parseFloat(e.split(", ")[t]),eu=(e,t)=>(n,{transform:r})=>{if("none"===r||!r)return 0;const i=r.match(/^matrix3d\((.+)\)$/);if(i)return Jc(i[1],t);{const t=r.match(/^matrix\((.+)\)$/);return t?Jc(t[1],e):0}},tu=new Set(["x","y","z"]),nu=fi.filter((e=>!tu.has(e))),ru={width:({x:e},{paddingLeft:t="0",paddingRight:n="0"})=>e.max-e.min-parseFloat(t)-parseFloat(n),height:({y:e},{paddingTop:t="0",paddingBottom:n="0"})=>e.max-e.min-parseFloat(t)-parseFloat(n),top:(e,{top:t})=>parseFloat(t),left:(e,{left:t})=>parseFloat(t),bottom:({y:e},{top:t})=>parseFloat(t)+(e.max-e.min),right:({x:e},{left:t})=>parseFloat(t)+(e.max-e.min),x:eu(4,13),y:eu(5,14)};ru.translateX=ru.x,ru.translateY=ru.y;function iu(e,t,n,r){return(e=>Object.keys(e).some(Qc))(t)?((e,t,n={},r={})=>{t={...t},r={...r};const i=Object.keys(t).filter(Qc);let o=[],a=!1;const s=[];if(i.forEach((i=>{const l=e.getValue(i);if(!e.hasValue(i))return;let c=n[i],u=Ls(c);const d=t[i];let f;if(lo(d)){const e=d.length,t=null===d[0]?1:0;c=d[t],u=Ls(c);for(let n=t;n<e&&null!==d[n];n++)f?jr(Ls(d[n])===f,"All keyframes must be of the same type"):(f=Ls(d[n]),jr(f===u||Zc(u)&&Zc(f),"Keyframes must be of the same dimension as the current value"))}else f=Ls(d);if(u!==f)if(Zc(u)&&Zc(f)){const e=l.get();"string"==typeof e&&l.set(parseFloat(e)),"string"==typeof d?t[i]=parseFloat(d):Array.isArray(d)&&f===Ri&&(t[i]=d.map(parseFloat))}else(null==u?void 0:u.transform)&&(null==f?void 0:f.transform)&&(0===c||0===d)?0===c?l.set(f.transform(c)):t[i]=u.transform(d):(a||(o=function(e){const t=[];return nu.forEach((n=>{const r=e.getValue(n);void 0!==r&&(t.push([n,r.get()]),r.set(n.startsWith("scale")?1:0))})),t.length&&e.render(),t}(e),a=!0),s.push(i),r[i]=void 0!==r[i]?r[i]:t[i],l.jump(d))})),s.length){const n=s.indexOf("height")>=0?window.pageYOffset:null,i=((e,t,n)=>{const r=t.measureViewportBox(),i=t.current,o=getComputedStyle(i),{display:a}=o,s={};"none"===a&&t.setStaticValue("display",e.display||"block"),n.forEach((e=>{s[e]=ru[e](r,o)})),t.render();const l=t.measureViewportBox();return n.forEach((n=>{const r=t.getValue(n);r&&r.jump(s[n]),e[n]=ru[n](l,o)})),e})(t,e,s);return o.length&&o.forEach((([t,n])=>{e.getValue(t).set(n)})),e.render(),_r&&null!==n&&window.scrollTo({top:n}),{target:i,transitionEnd:r}}return{target:t,transitionEnd:r}})(e,t,n,r):{target:t,transitionEnd:r}}const ou={current:null},au={current:!1},su=new WeakMap,lu=Object.keys(ri),cu=lu.length,uu=["AnimationStart","AnimationComplete","Update","BeforeLayoutMeasure","LayoutMeasure","LayoutAnimationStart","LayoutAnimationComplete"],du=Zr.length;class fu{constructor({parent:e,props:t,presenceContext:n,reducedMotionConfig:r,visualState:i},o={}){this.current=null,this.children=new Set,this.isVariantNode=!1,this.isControllingVariants=!1,this.shouldReduceMotion=null,this.values=new Map,this.features={},this.valueSubscriptions=new Map,this.prevMotionValues={},this.events={},this.propEventSubscriptions={},this.notifyUpdate=()=>this.notify("Update",this.latestValues),this.render=()=>{this.current&&(this.triggerBuild(),this.renderInstance(this.current,this.renderState,this.props.style,this.projection))},this.scheduleRender=()=>xr.render(this.render,!1,!0);const{latestValues:a,renderState:s}=i;this.latestValues=a,this.baseTarget={...a},this.initialValues=t.initial?{...a}:{},this.renderState=s,this.parent=e,this.props=t,this.presenceContext=n,this.depth=e?e.depth+1:0,this.reducedMotionConfig=r,this.options=o,this.isControllingVariants=Jr(t),this.isVariantNode=ei(t),this.isVariantNode&&(this.variantChildren=new Set),this.manuallyAnimateOnMount=Boolean(e&&e.current);const{willChange:l,...c}=this.scrapeMotionValuesFromProps(t,{});for(const e in c){const t=c[e];void 0!==a[e]&&mi(t)&&(t.set(a[e],!1),Cs(l)&&l.add(e))}}scrapeMotionValuesFromProps(e,t){return{}}mount(e){this.current=e,su.set(e,this),this.projection&&!this.projection.instance&&this.projection.mount(e),this.parent&&this.isVariantNode&&!this.isControllingVariants&&(this.removeFromVariantTree=this.parent.addVariantChild(this)),this.values.forEach(((e,t)=>this.bindToMotionValue(t,e))),au.current||function(){if(au.current=!0,_r)if(window.matchMedia){const e=window.matchMedia("(prefers-reduced-motion)"),t=()=>ou.current=e.matches;e.addListener(t),t()}else ou.current=!1}(),this.shouldReduceMotion="never"!==this.reducedMotionConfig&&("always"===this.reducedMotionConfig||ou.current),this.parent&&this.parent.children.add(this),this.update(this.props,this.presenceContext)}unmount(){su.delete(this.current),this.projection&&this.projection.unmount(),Dr(this.notifyUpdate),Dr(this.render),this.valueSubscriptions.forEach((e=>e())),this.removeFromVariantTree&&this.removeFromVariantTree(),this.parent&&this.parent.children.delete(this);for(const e in this.events)this.events[e].clear();for(const e in this.features)this.features[e].unmount();this.current=null}bindToMotionValue(e,t){const n=hi.has(e),r=t.on("change",(t=>{this.latestValues[e]=t,this.props.onUpdate&&xr.update(this.notifyUpdate,!1,!0),n&&this.projection&&(this.projection.isTransformDirty=!0)})),i=t.on("renderRequest",this.scheduleRender);this.valueSubscriptions.set(e,(()=>{r(),i()}))}sortNodePosition(e){return this.current&&this.sortInstanceNodePosition&&this.type===e.type?this.sortInstanceNodePosition(this.current,e.current):0}loadFeatures({children:e,...t},n,r,i){let o,a;for(let e=0;e<cu;e++){const n=lu[e],{isEnabled:r,Feature:i,ProjectionNode:s,MeasureLayout:l}=ri[n];s&&(o=s),r(t)&&(!this.features[n]&&i&&(this.features[n]=new i(this)),l&&(a=l))}if(!this.projection&&o){this.projection=new o(this.latestValues,this.parent&&this.parent.projection);const{layoutId:e,layout:n,drag:r,dragConstraints:a,layoutScroll:s,layoutRoot:l}=t;this.projection.setOptions({layoutId:e,layout:n,alwaysMeasureLayout:Boolean(r)||a&&Yr(a),visualElement:this,scheduleRender:()=>this.scheduleRender(),animationType:"string"==typeof n?n:"both",initialPromotionConfig:i,layoutScroll:s,layoutRoot:l})}return a}updateFeatures(){for(const e in this.features){const t=this.features[e];t.isMounted?t.update():(t.mount(),t.isMounted=!0)}}triggerBuild(){this.build(this.renderState,this.latestValues,this.options,this.props)}measureViewportBox(){return this.current?this.measureInstanceViewportBox(this.current,this.props):vl()}getStaticValue(e){return this.latestValues[e]}setStaticValue(e,t){this.latestValues[e]=t}makeTargetAnimatable(e,t=!0){return this.makeTargetAnimatableFromInstance(e,this.props,t)}update(e,t){(e.transformTemplate||this.props.transformTemplate)&&this.scheduleRender(),this.prevProps=this.props,this.props=e,this.prevPresenceContext=this.presenceContext,this.presenceContext=t;for(let t=0;t<uu.length;t++){const n=uu[t];this.propEventSubscriptions[n]&&(this.propEventSubscriptions[n](),delete this.propEventSubscriptions[n]);const r=e["on"+n];r&&(this.propEventSubscriptions[n]=this.on(n,r))}this.prevMotionValues=function(e,t,n){const{willChange:r}=t;for(const i in t){const o=t[i],a=n[i];if(mi(o))e.addValue(i,o),Cs(r)&&r.add(i);else if(mi(a))e.addValue(i,Ns(o,{owner:e})),Cs(r)&&r.remove(i);else if(a!==o)if(e.hasValue(i)){const t=e.getValue(i);!t.hasAnimated&&t.set(o)}else{const t=e.getStaticValue(i);e.addValue(i,Ns(void 0!==t?t:o,{owner:e}))}}for(const r in n)void 0===t[r]&&e.removeValue(r);return t}(this,this.scrapeMotionValuesFromProps(e,this.prevProps),this.prevMotionValues),this.handleChildMotionValue&&this.handleChildMotionValue()}getProps(){return this.props}getVariant(e){return this.props.variants?this.props.variants[e]:void 0}getDefaultTransition(){return this.props.transition}getTransformPagePoint(){return this.props.transformPagePoint}getClosestVariantNode(){return this.isVariantNode?this:this.parent?this.parent.getClosestVariantNode():void 0}getVariantContext(e=!1){if(e)return this.parent?this.parent.getVariantContext():void 0;if(!this.isControllingVariants){const e=this.parent&&this.parent.getVariantContext()||{};return void 0!==this.props.initial&&(e.initial=this.props.initial),e}const t={};for(let e=0;e<du;e++){const n=Zr[e],r=this.props[n];(Kr(r)||!1===r)&&(t[n]=r)}return t}addVariantChild(e){const t=this.getClosestVariantNode();if(t)return t.variantChildren&&t.variantChildren.add(e),()=>t.variantChildren.delete(e)}addValue(e,t){t!==this.values.get(e)&&(this.removeValue(e),this.bindToMotionValue(e,t)),this.values.set(e,t),this.latestValues[e]=t.get()}removeValue(e){this.values.delete(e);const t=this.valueSubscriptions.get(e);t&&(t(),this.valueSubscriptions.delete(e)),delete this.latestValues[e],this.removeValueFromRenderState(e,this.renderState)}hasValue(e){return this.values.has(e)}getValue(e,t){if(this.props.values&&this.props.values[e])return this.props.values[e];let n=this.values.get(e);return void 0===n&&void 0!==t&&(n=Ns(t,{owner:this}),this.addValue(e,n)),n}readValue(e){var t;return void 0===this.latestValues[e]&&this.current?null!==(t=this.getBaseTargetFromProps(this.props,e))&&void 0!==t?t:this.readValueFromInstance(this.current,e,this.options):this.latestValues[e]}setBaseTarget(e,t){this.baseTarget[e]=t}getBaseTarget(e){var t;const{initial:n}=this.props,r="string"==typeof n||"object"==typeof n?null===(t=so(this.props,n))||void 0===t?void 0:t[e]:void 0;if(n&&void 0!==r)return r;const i=this.getBaseTargetFromProps(this.props,e);return void 0===i||mi(i)?void 0!==this.initialValues[e]&&void 0===r?void 0:this.baseTarget[e]:i}on(e,t){return this.events[e]||(this.events[e]=new Ds),this.events[e].add(t)}notify(e,...t){this.events[e]&&this.events[e].notify(...t)}}class hu extends fu{sortInstanceNodePosition(e,t){return 2&e.compareDocumentPosition(t)?1:-1}getBaseTargetFromProps(e,t){return e.style?e.style[t]:void 0}removeValueFromRenderState(e,{vars:t,style:n}){delete t[e],delete n[e]}makeTargetAnimatableFromInstance({transition:e,transitionEnd:t,...n},{transformValues:r},i){let o=function(e,t,n){const r={};for(const i in e){const e=Fs(i,t);if(void 0!==e)r[i]=e;else{const e=n.getValue(i);e&&(r[i]=e.get())}}return r}(n,e||{},this);if(r&&(t&&(t=r(t)),n&&(n=r(n)),o&&(o=r(o))),i){!function(e,t,n){var r,i;const o=Object.keys(t).filter((t=>!e.hasValue(t))),a=o.length;var s;if(a)for(let l=0;l<a;l++){const a=o[l],c=t[a];let u=null;Array.isArray(c)&&(u=c[0]),null===u&&(u=null!==(i=null!==(r=n[a])&&void 0!==r?r:e.readValue(a))&&void 0!==i?i:t[a]),null!=u&&("string"==typeof u&&(Is(u)||Ts(u))?u=parseFloat(u):(s=u,!Ms.find(Ps(s))&&Oa.test(c)&&(u=Es(a,c))),e.addValue(a,Ns(u,{owner:e})),void 0===n[a]&&(n[a]=u),null!==u&&e.setBaseTarget(a,u))}}(this,n,o);const e=((e,t,n,r)=>{const i=function(e,{...t},n){const r=e.current;if(!(r instanceof Element))return{target:t,transitionEnd:n};n&&(n={...n}),e.values.forEach((e=>{const t=e.get();if(!Ei(t))return;const n=Kc(t,r);n&&e.set(n)}));for(const e in t){const i=t[e];if(!Ei(i))continue;const o=Kc(i,r);o&&(t[e]=o,n||(n={}),void 0===n[e]&&(n[e]=i))}return{target:t,transitionEnd:n}}(e,t,r);return iu(e,t=i.target,n,r=i.transitionEnd)})(this,n,o,t);t=e.transitionEnd,n=e.target}return{transition:e,transitionEnd:t,...n}}}class pu extends hu{readValueFromInstance(e,t){if(hi.has(t)){const e=ys(t);return e&&e.default||0}{const r=(n=e,window.getComputedStyle(n)),i=(yi(t)?r.getPropertyValue(t):r[t])||0;return"string"==typeof i?i.trim():i}var n}measureInstanceViewportBox(e,{transformPagePoint:t}){return Ml(e,t)}build(e,t,n,r){ji(e,t,n,r.transformTemplate)}scrapeMotionValuesFromProps(e,t){return oo(e,t)}handleChildMotionValue(){this.childSubscription&&(this.childSubscription(),delete this.childSubscription);const{children:e}=this.props;mi(e)&&(this.childSubscription=e.on("change",(e=>{this.current&&(this.current.textContent=`${e}`)})))}renderInstance(e,t,n,r){no(e,t,n,r)}}class mu extends hu{constructor(){super(...arguments),this.isSVGTag=!1}getBaseTargetFromProps(e,t){return e[t]}readValueFromInstance(e,t){if(hi.has(t)){const e=ys(t);return e&&e.default||0}return t=ro.has(t)?t:qr(t),e.getAttribute(t)}measureInstanceViewportBox(){return vl()}scrapeMotionValuesFromProps(e,t){return ao(e,t)}build(e,t,n,r){Qi(e,t,n,this.isSVGTag,r.transformTemplate)}renderInstance(e,t,n,r){io(e,t,0,r)}mount(e){this.isSVGTag=Ji(e.tagName),super.mount(e)}}const gu=(e,t)=>ui(e)?new mu(t,{enableHardwareAcceleration:!1}):new pu(t,{enableHardwareAcceleration:!0}),bu={...Xs,...Fo,...Wc,layout:{ProjectionNode:qc,MeasureLayout:Wl}},vu=li(((e,t)=>function(e,{forwardMotionProps:t=!1},n,r){return{...ui(e)?mo:go,preloadedFeatures:n,useRender:to(t),createVisualElement:r,Component:e}}(e,t,bu,gu)));var yu={initial:({offsetX:e,offsetY:t,transition:n,transitionEnd:r,delay:i})=>{var o;return{opacity:0,x:e,y:t,transition:null!=(o=null==n?void 0:n.exit)?o:Tr(yr.exit,i),transitionEnd:null==r?void 0:r.exit}},enter:({transition:e,transitionEnd:t,delay:n})=>{var r;return{opacity:1,x:0,y:0,transition:null!=(r=null==e?void 0:e.enter)?r:Er(yr.enter,n),transitionEnd:null==t?void 0:t.enter}},exit:({offsetY:e,offsetX:t,transition:n,transitionEnd:r,reverse:i,delay:o})=>{var a;const s={x:t,y:e};return{opacity:0,transition:null!=(a=null==n?void 0:n.exit)?a:Tr(yr.exit,o),...i?{...s,transitionEnd:null==r?void 0:r.exit}:{transitionEnd:{...s,...null==r?void 0:r.exit}}}}},Eu={initial:"initial",animate:"enter",exit:"exit",variants:yu},Tu=(0,t.forwardRef)((function(t,n){const{unmountOnExit:r,in:i,reverse:o=!0,className:a,offsetX:s=0,offsetY:l=8,transition:c,transitionEnd:u,delay:d,...f}=t,h=!r||i&&r,p=i||r?"enter":"exit",m={offsetX:s,offsetY:l,reverse:o,transition:c,transitionEnd:u,delay:d};return(0,e.jsx)(Ur,{custom:m,children:h&&(0,e.jsx)(vu.div,{ref:n,className:y("chakra-offset-slide",a),custom:m,...Eu,animate:p,...f})})}));Tu.displayName="SlideFade";var _u=Jn("div");_u.displayName="Box";var Au=tr((function(t,n){const{size:r,centerContent:i=!0,...o}=t,a=i?{display:"flex",alignItems:"center",justifyContent:"center"}:{};return(0,e.jsx)(_u,{ref:n,boxSize:r,__css:{...a,flexShrink:0,flexGrow:0},...o})}));Au.displayName="Square";var Su=tr((function(t,n){const{size:r,...i}=t;return(0,e.jsx)(Au,{size:r,ref:n,borderRadius:"9999px",...i})}));Su.displayName="Circle";var Cu=tr(((t,n)=>(0,e.jsx)(nr,{align:"center",...t,direction:"column",ref:n})));Cu.displayName="VStack";var Iu,wu,xu=tr((function(t,n){const r=ar("Heading",t),{className:i,...o}=ot(t);return(0,e.jsx)(Jn.h2,{ref:n,className:y("chakra-heading",t.className),...o,__css:r})}));function Du(){return Du=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},Du.apply(this,arguments)}xu.displayName="Heading";const ku=function(e){return t.createElement("svg",Du({xmlns:"http://www.w3.org/2000/svg",width:36,height:36,fill:"none",viewBox:"-1 -1 38 38"},e),Iu||(Iu=t.createElement("path",{stroke:"#FCFF56",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2.5,d:"M18 34.667c9.205 0 16.667-7.462 16.667-16.667 0-9.205-7.462-16.667-16.667-16.667C8.795 1.333 1.333 8.795 1.333 18c0 9.205 7.462 16.667 16.667 16.667M9.667 13 18 14.667m0 0L26.333 13M18 14.667v5m0 0L14.667 28M18 19.667 21.333 28"})),wu||(wu=t.createElement("path",{fill:"#FCFF56",stroke:"#FCFF56",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2.5,d:"M18 9.667A.833.833 0 1 1 18 8a.833.833 0 0 1 0 1.667"})))};var Ou;function Nu(){return Nu=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},Nu.apply(this,arguments)}const Pu=function(e){return t.createElement("svg",Nu({xmlns:"http://www.w3.org/2000/svg",width:40,height:40,fill:"none"},e),Ou||(Ou=t.createElement("path",{stroke:"#FCFF56",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2.5,d:"m10 15 10 10 10-10"})))};var Ru,Lu,Mu,Bu,Fu,Gu,ju,Hu,Uu;function zu(){return zu=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},zu.apply(this,arguments)}const Vu=function(e){return t.createElement("svg",zu({xmlns:"http://www.w3.org/2000/svg",width:24,height:22,fill:"none"},e),Ru||(Ru=t.createElement("path",{fill:"current",d:"M10.307 20.351c-.15.188-.413.226-.64.226-.074 0-4.062-.038-6.695-2.709-.038-.037-.075-.112-.15-.15-.113-.188-.452-.677-.715-1.166.188.188.413.414.677.64 0 0 .037.037.075.037.075.075.15.113.226.188 0 0 .037 0 .037.038.038.037.076.037.076.075.075.075.188.113.263.188.038.038.075.075.15.075.076.038.188.113.264.15a.285.285 0 0 0 .15.076c.113.075.264.15.376.188 0 0 .038.038.076.038 1.166.564 2.783 1.053 5.04 1.128 0 0 .64 0 .828.527.075.188.075.338-.038.451"})),Lu||(Lu=t.createElement("path",{fill:"current",d:"M8.05 18.357c-.225.264-.64.377-.94.377-.263 0-.564 0-.865-.076a8.875 8.875 0 0 1-1.693-.602l-.15-.075c-.076-.037-.189-.075-.264-.113-.075-.037-.113-.075-.188-.112-.113-.076-.188-.113-.301-.189-.075-.037-.113-.075-.15-.112-.076-.038-.15-.113-.226-.15-.038 0-.038-.038-.075-.076a2.087 2.087 0 0 1-.301-.226c-.903-.752-1.242-1.43-1.28-1.467C.866 13.73.716 12.15.716 11.21c.037.075.037.15.075.226 0 .037.038.075.038.113.037.037.037.113.075.15.038.075.075.188.113.263 0 0 0 .038.037.038l.339.564.038.038c.037.038.075.075.075.113.602.79 1.279 1.241 1.505 1.316.79.49 1.843.903 3.235 1.204 1.203.264 1.88 1.053 1.993 2.295.038.376-.037.64-.188.827"})),Mu||(Mu=t.createElement("path",{fill:"current",d:"M4.965 12.527c-.075.677-.338 1.128-.714 1.354-.452.263-.978.075-1.166 0-.565-.376-1.016-.752-1.355-1.166-.526-.677-1.015-1.618-.978-2.822 0 0 .113-1.429.903-3.31-.038.226 0 .49.038.79.188.978.94 1.881 2.144 2.596l.038.037c0 .038 1.316.753 1.09 2.52"})),Bu||(Bu=t.createElement("path",{fill:"current",d:"m8.878 7.26-.076.038c-1.768.677-3.272 1.58-4.4 2.595-.189-.075-.828-.413-1.054-.752.414-.376 1.806-1.655 3.875-2.67l.225-.114c.075-.037.113-.037.188-.075.301-.15.64-.263.978-.414.038 0 .038 0 .076-.037.15-.038.64-.113.79.376.188.79-.565 1.053-.602 1.053"})),Fu||(Fu=t.createElement("path",{fill:"current",d:"M9.104 5.53c-.189.075-.377.113-.565.188-.827.3-1.617.677-2.294 1.053-.076.038-.113.075-.188.113l-.226.113a13.642 13.642 0 0 0-2.22 1.617c-.225.189-.376.339-.451.414-.903-.526-1.016-1.58-1.016-1.73l.15-.15c.49-.64 2.333-2.747 6.396-4.063a.982.982 0 0 1 .752.113c.263.15.414.413.49.752.3 1.128-.79 1.58-.828 1.58"})),Gu||(Gu=t.createElement("path",{fill:"current",d:"M9.066 2.746c-.15.038-.263.075-.414.15h-.037c-.038 0-4.289 1.242-6.47 4.138-.189-.865.488-1.805.488-1.843 1.58-2.22 4.138-3.385 5.982-3.987 0 0 .112-.038.263-.038.226 0 .564.075.715.527.263.677-.452 1.015-.527 1.053M19.75 3.348c-.452-.3-1.506-.865-3.048-1.053a15.737 15.737 0 0 0-2.784-.226c-.376 0-1.015-.188-1.053-.828 0-.225.075-.413.301-.526.188-.113.376-.188.64-.188 2.783.15 4.326 1.128 4.326 1.128.3.188.602.376.865.602.3.263.564.64.752 1.091"})),ju||(ju=t.createElement("path",{fill:"current",d:"M19.599 5.643c-.301-.113-1.392-.565-2.86-.79-.262-.076-1.128-.339-1.165-1.392 0-.263.075-.49.225-.64.301-.338.828-.338.828-.338h.038c1.241.225 2.294.602 3.16 1.166.263.978-.113 1.768-.226 1.994M19.486 5.83c0 .038-.038.076-.038.076-.037.075-.075.113-.112.188-.076.113-.15.263-.264.376-.15.188-.3.339-.376.414-1.241-.451-2.897-.677-3.386-.677h-.075c-.225 0-.451-.075-.564-.226-.113-.15-.188-.338-.15-.526.075-.49.601-.565.601-.565.527 0 1.054.076 1.505.15h.038c.564.114 1.73.302 2.821.79M23.285 12.226c-.075.64-.15 1.128-.15 1.128-.339 1.543-1.768 3.123-2.07 3.386-.15.113-.3.188-.413.15-.113-.037-.188-.225-.226-.338-.075-.301.076-.527.188-.677.226-.188.49-.414.715-.64 0 0 0-.037.038-.037.075-.076.113-.15.188-.189.978-1.053 1.505-2.03 1.73-2.783"})),Hu||(Hu=t.createElement("path",{fill:"current",d:"M23.36 10.872c-.075 1.58-.902 2.896-1.918 3.95-.226.263-.527.488-.828.752l-.15.15c-1.505 1.242-3.01 1.881-3.01 1.919 0 0-.977.489-1.73.15-.376-.15-.64-.489-.752-1.015-.339-1.167.3-1.881.827-2.258 3.236-1.241 5.718-3.235 6.659-5.341.225-.565.338-1.091.3-1.58.64 1.918.602 3.272.602 3.272"})),Uu||(Uu=t.createElement("path",{fill:"current",d:"M22.157 8.765c-.038.075-.075.188-.113.263-1.016 2.22-3.988 4.402-7.599 5.53 0 0-1.354.49-2.294-.038-.452-.263-.753-.714-.866-1.354-.15-.677-.037-1.241.264-1.693.564-.827 1.693-.978 1.73-.978.188-.037 4.627-1.279 6.395-4.175.64-1.054.79-2.07.451-2.972 0-.075-.037-.113-.075-.15.677.677 1.392 1.58 1.994 2.82.113.227.188.452.226.678.15.414.188 1.166-.113 2.069"})))};function $u(e={}){const{name:n,strict:r=!0,hookName:i="useContext",providerName:o="Provider",errorMessage:a,defaultValue:s}=e,l=(0,t.createContext)(s);return l.displayName=n,[l.Provider,function e(){var n;const s=(0,t.useContext)(l);if(!s&&r){const t=new Error(null!=a?a:`${i} returned \`undefined\`. Seems you forgot to wrap component within ${o}`);throw t.name="ContextError",null==(n=Error.captureStackTrace)||n.call(Error,t,e),t}return s},l]}function qu(...e){return t=>{e.forEach((e=>{!function(e,t){if(null!=e)if("function"!=typeof e)try{e.current=t}catch(n){throw new Error(`Cannot assign value '${t}' to ref '${e}'`)}else e(t)}(e,t)}))}}var[Wu,Yu]=$u({name:"FormControlStylesContext",errorMessage:"useFormControlStyles returned is 'undefined'. Seems you forgot to wrap the components in \"<FormControl />\" "}),[Ku,Xu]=$u({strict:!1,name:"FormControlContext"}),Qu=tr((function(n,r){const i=sr("Form",n),o=ot(n),{getRootProps:a,htmlProps:s,...l}=function(e){const{id:n,isRequired:r,isInvalid:i,isDisabled:o,isReadOnly:a,...s}=e,l=(0,t.useId)(),c=n||`field-${l}`,u=`${c}-label`,d=`${c}-feedback`,f=`${c}-helptext`,[h,p]=(0,t.useState)(!1),[m,g]=(0,t.useState)(!1),[b,v]=(0,t.useState)(!1),y=(0,t.useCallback)(((e={},t=null)=>({id:f,...e,ref:qu(t,(e=>{e&&g(!0)}))})),[f]),E=(0,t.useCallback)(((e={},t=null)=>({...e,ref:t,"data-focus":A(b),"data-disabled":A(o),"data-invalid":A(i),"data-readonly":A(a),id:void 0!==e.id?e.id:u,htmlFor:void 0!==e.htmlFor?e.htmlFor:c})),[c,o,b,i,a,u]),T=(0,t.useCallback)(((e={},t=null)=>({id:d,...e,ref:qu(t,(e=>{e&&p(!0)})),"aria-live":"polite"})),[d]),_=(0,t.useCallback)(((e={},t=null)=>({...e,...s,ref:t,role:"group","data-focus":A(b),"data-disabled":A(o),"data-invalid":A(i),"data-readonly":A(a)})),[s,o,b,i,a]),S=(0,t.useCallback)(((e={},t=null)=>({...e,ref:t,role:"presentation","aria-hidden":!0,children:e.children||"*"})),[]);return{isRequired:!!r,isInvalid:!!i,isReadOnly:!!a,isDisabled:!!o,isFocused:!!b,onFocus:()=>v(!0),onBlur:()=>v(!1),hasFeedbackText:h,setHasFeedbackText:p,hasHelpText:m,setHasHelpText:g,id:c,labelId:u,feedbackId:d,helpTextId:f,htmlProps:s,getHelpTextProps:y,getErrorMessageProps:T,getRootProps:_,getLabelProps:E,getRequiredIndicatorProps:S}}(o),c=y("chakra-form-control",n.className);return(0,e.jsx)(Ku,{value:l,children:(0,e.jsx)(Wu,{value:i,children:(0,e.jsx)(Jn.div,{...a({},r),className:c,__css:i.container})})})}));Qu.displayName="FormControl";var Zu=tr((function(t,n){const r=Xu(),i=Yu(),o=y("chakra-form__helper-text",t.className);return(0,e.jsx)(Jn.div,{...null==r?void 0:r.getHelpTextProps(t,n),__css:i.helperText,className:o})}));Zu.displayName="FormHelperText";var Ju=Boolean(null==globalThis?void 0:globalThis.document)?t.useLayoutEffect:t.useEffect;function ed(e,n){const r=(0,t.useRef)(!1),i=(0,t.useRef)(!1);(0,t.useEffect)((()=>{if(r.current&&i.current)return e();i.current=!0}),n),(0,t.useEffect)((()=>(r.current=!0,()=>{r.current=!1})),[])}function td(e,n=[]){const r=(0,t.useRef)(e);return(0,t.useEffect)((()=>{r.current=e})),(0,t.useCallback)(((...e)=>{var t;return null==(t=r.current)?void 0:t.call(r,...e)}),n)}var nd={border:"0",clip:"rect(0, 0, 0, 0)",height:"1px",width:"1px",margin:"-1px",padding:"0",overflow:"hidden",whiteSpace:"nowrap",position:"absolute"},rd=()=>"undefined"!=typeof document,id=!1,od=null,ad=!1,sd=!1,ld=new Set;function cd(e,t){ld.forEach((n=>n(e,t)))}var ud="undefined"!=typeof window&&null!=window.navigator&&/^Mac/.test(window.navigator.platform);function dd(e){var t;ad=!0,(t=e).metaKey||!ud&&t.altKey||t.ctrlKey||"Control"===t.key||"Shift"===t.key||"Meta"===t.key||(od="keyboard",cd("keyboard",e))}function fd(e){if(od="pointer","mousedown"===e.type||"pointerdown"===e.type){ad=!0;const t=e.composedPath?e.composedPath()[0]:e.target;let n=!1;try{n=t.matches(":focus-visible")}catch{}if(n)return;cd("pointer",e)}}function hd(e){var t;(0===(t=e).mozInputSource&&t.isTrusted||0===t.detail&&!t.pointerType)&&(ad=!0,od="virtual")}function pd(e){e.target!==window&&e.target!==document&&(ad||sd||(od="virtual",cd("virtual",e)),ad=!1,sd=!1)}function md(){ad=!1,sd=!0}function gd(){return"pointer"!==od}function bd(e){(function(){if(!rd()||id)return;const{focus:e}=HTMLElement.prototype;HTMLElement.prototype.focus=function(...t){ad=!0,e.apply(this,t)},document.addEventListener("keydown",dd,!0),document.addEventListener("keyup",dd,!0),document.addEventListener("click",hd,!0),window.addEventListener("focus",pd,!0),window.addEventListener("blur",md,!1),"undefined"!=typeof PointerEvent?(document.addEventListener("pointerdown",fd,!0),document.addEventListener("pointermove",fd,!0),document.addEventListener("pointerup",fd,!0)):(document.addEventListener("mousedown",fd,!0),document.addEventListener("mousemove",fd,!0),document.addEventListener("mouseup",fd,!0)),id=!0})(),e(gd());const t=()=>e(gd());return ld.add(t),()=>{ld.delete(t)}}function vd(e={}){const n=function(e){var t,n,r;const i=Xu(),{id:o,disabled:a,readOnly:s,required:l,isRequired:c,isInvalid:u,isReadOnly:d,isDisabled:f,onFocus:h,onBlur:p,...m}=e,g=e["aria-describedby"]?[e["aria-describedby"]]:[];return(null==i?void 0:i.hasFeedbackText)&&(null==i?void 0:i.isInvalid)&&g.push(i.feedbackId),(null==i?void 0:i.hasHelpText)&&g.push(i.helpTextId),{...m,"aria-describedby":g.join(" ")||void 0,id:null!=o?o:null==i?void 0:i.id,isDisabled:null!=(t=null!=a?a:f)?t:null==i?void 0:i.isDisabled,isReadOnly:null!=(n=null!=s?s:d)?n:null==i?void 0:i.isReadOnly,isRequired:null!=(r=null!=l?l:c)?r:null==i?void 0:i.isRequired,isInvalid:null!=u?u:null==i?void 0:i.isInvalid,onFocus:S(null==i?void 0:i.onFocus,h),onBlur:S(null==i?void 0:i.onBlur,p)}}(e),{isDisabled:r,isReadOnly:i,isRequired:o,isInvalid:a,id:s,onBlur:l,onFocus:c,"aria-describedby":u}=n,{defaultChecked:d,isChecked:f,isFocusable:h,onChange:p,isIndeterminate:m,name:g,value:b,tabIndex:v,"aria-label":y,"aria-labelledby":E,"aria-invalid":T,..._}=e,C=function(e,t=[]){const n=Object.assign({},e);for(const e of t)e in n&&delete n[e];return n}(_,["isDisabled","isReadOnly","isRequired","isInvalid","id","onBlur","onFocus","aria-describedby"]),I=td(p),w=td(l),x=td(c),[D,k]=(0,t.useState)(!1),[O,N]=(0,t.useState)(!1),[P,R]=(0,t.useState)(!1),[L,M]=(0,t.useState)(!1);(0,t.useEffect)((()=>bd(k)),[]);const B=(0,t.useRef)(null),[F,G]=(0,t.useState)(!0),[j,H]=(0,t.useState)(!!d),U=void 0!==f,z=U?f:j,V=(0,t.useCallback)((e=>{i||r?e.preventDefault():(U||H(z?e.target.checked:!!m||e.target.checked),null==I||I(e))}),[i,r,z,U,m,I]);Ju((()=>{B.current&&(B.current.indeterminate=Boolean(m))}),[m]),ed((()=>{r&&N(!1)}),[r,N]),Ju((()=>{const e=B.current;if(!(null==e?void 0:e.form))return;const t=()=>{H(!!d)};return e.form.addEventListener("reset",t),()=>{var n;return null==(n=e.form)?void 0:n.removeEventListener("reset",t)}}),[]);const $=r&&!h,q=(0,t.useCallback)((e=>{" "===e.key&&M(!0)}),[M]),W=(0,t.useCallback)((e=>{" "===e.key&&M(!1)}),[M]);Ju((()=>{B.current&&B.current.checked!==z&&H(B.current.checked)}),[B.current]);const Y=(0,t.useCallback)(((e={},t=null)=>({...e,ref:t,"data-active":A(L),"data-hover":A(P),"data-checked":A(z),"data-focus":A(O),"data-focus-visible":A(O&&D),"data-indeterminate":A(m),"data-disabled":A(r),"data-invalid":A(a),"data-readonly":A(i),"aria-hidden":!0,onMouseDown:S(e.onMouseDown,(e=>{O&&e.preventDefault(),M(!0)})),onMouseUp:S(e.onMouseUp,(()=>M(!1))),onMouseEnter:S(e.onMouseEnter,(()=>R(!0))),onMouseLeave:S(e.onMouseLeave,(()=>R(!1)))})),[L,z,r,O,D,P,m,a,i]),K=(0,t.useCallback)(((e={},t=null)=>({...e,ref:t,"data-active":A(L),"data-hover":A(P),"data-checked":A(z),"data-focus":A(O),"data-focus-visible":A(O&&D),"data-indeterminate":A(m),"data-disabled":A(r),"data-invalid":A(a),"data-readonly":A(i)})),[L,z,r,O,D,P,m,a,i]),X=(0,t.useCallback)(((e={},t=null)=>({...C,...e,ref:qu(t,(e=>{e&&G("LABEL"===e.tagName)})),onClick:S(e.onClick,(()=>{var e;F||(null==(e=B.current)||e.click(),requestAnimationFrame((()=>{var e;null==(e=B.current)||e.focus({preventScroll:!0})})))})),"data-disabled":A(r),"data-checked":A(z),"data-invalid":A(a)})),[C,r,z,a,F]),Q=(0,t.useCallback)(((e={},t=null)=>({...e,ref:qu(B,t),type:"checkbox",name:g,value:b,id:s,tabIndex:v,onChange:S(e.onChange,V),onBlur:S(e.onBlur,w,(()=>N(!1))),onFocus:S(e.onFocus,x,(()=>N(!0))),onKeyDown:S(e.onKeyDown,q),onKeyUp:S(e.onKeyUp,W),required:o,checked:z,disabled:$,readOnly:i,"aria-label":y,"aria-labelledby":E,"aria-invalid":T?Boolean(T):a,"aria-describedby":u,"aria-disabled":r,style:nd})),[g,b,s,V,w,x,q,W,o,z,$,i,y,E,T,a,u,r,v]),Z=(0,t.useCallback)(((e={},t=null)=>({...e,ref:t,onMouseDown:S(e.onMouseDown,yd),"data-disabled":A(r),"data-checked":A(z),"data-invalid":A(a)})),[z,r,a]);return{state:{isInvalid:a,isFocused:O,isChecked:z,isActive:L,isHovered:P,isIndeterminate:m,isDisabled:r,isReadOnly:i,isRequired:o},getRootProps:X,getCheckboxProps:Y,getIndicatorProps:K,getInputProps:Q,getLabelProps:Z,htmlProps:C}}function yd(e){e.preventDefault(),e.stopPropagation()}var Ed,Td,_d,Ad=tr((function(n,r){const i=sr("Switch",n),{spacing:o="0.5rem",children:a,...s}=ot(n),{getIndicatorProps:l,getInputProps:c,getCheckboxProps:u,getRootProps:d,getLabelProps:f}=vd(s),h=(0,t.useMemo)((()=>({display:"inline-block",position:"relative",verticalAlign:"middle",lineHeight:0,...i.container})),[i.container]),p=(0,t.useMemo)((()=>({display:"inline-flex",flexShrink:0,justifyContent:"flex-start",boxSizing:"content-box",cursor:"pointer",...i.track})),[i.track]),m=(0,t.useMemo)((()=>({userSelect:"none",marginStart:o,...i.label})),[o,i.label]);return(0,e.jsxs)(Jn.label,{...d(),className:y("chakra-switch",n.className),__css:h,children:[(0,e.jsx)("input",{className:"chakra-switch__input",...c({},r)}),(0,e.jsx)(Jn.span,{...u(),className:"chakra-switch__track",__css:p,children:(0,e.jsx)(Jn.span,{__css:i.thumb,className:"chakra-switch__thumb",...l()})}),a&&(0,e.jsx)(Jn.span,{className:"chakra-switch__label",...f(),__css:m,children:a})]})}));Ad.displayName="Switch",function(e){e[e.Zoom=0]="Zoom",e[e.TextZoom=1]="TextZoom",e[e.SmartNavigation=2]="SmartNavigation",e[e.StopBlinking=3]="StopBlinking",e[e.ImageDescription=4]="ImageDescription",e[e.ReadingGuide=5]="ReadingGuide",e[e.Contrast=6]="Contrast",e[e.HighlightLinks=7]="HighlightLinks",e[e.HighlightTitles=8]="HighlightTitles",e[e.BlueLightReducer=9]="BlueLightReducer",e[e.AudioReader=10]="AudioReader",e[e.VoiceTyping=11]="VoiceTyping",e[e.HighLightFocus=12]="HighLightFocus",e[e.VirtualKeyboard=13]="VirtualKeyboard",e[e.Dictionnary=14]="Dictionnary",e[e.ReadableFont=15]="ReadableFont"}(Ed||(Ed={})),function(e){e[e.HighDark=0]="HighDark",e[e.HighLight=1]="HighLight",e[e.Accentuated=2]="Accentuated"}(Td||(Td={})),function(e){e[e.Low=0]="Low",e[e.High=1]="High"}(_d||(_d={})),Ed.Zoom,Ed.TextZoom,Ed.SmartNavigation,Ed.StopBlinking,Ed.ImageDescription,Ed.ReadingGuide,Ed.Contrast,Ed.HighlightLinks,Ed.HighlightTitles,Ed.BlueLightReducer,Ed.AudioReader,Ed.VoiceTyping,Ed.HighLightFocus,Ed.VirtualKeyboard,Ed.Dictionnary,Ed.ReadableFont;var Sd=new Map([[Ed.Contrast,{type:Ed.Contrast,contrastMode:Td.HighDark}],[Ed.BlueLightReducer,{type:Ed.BlueLightReducer,saturationMode:_d.High}]]),Cd=function(e){return Sd.get(e)||{type:e}};const Id=function(n){var r=n.word,i=n.definition,o=n.position,a=(0,(0,t.useContext)($f).isOptionEnable)(Ed.Zoom)?1.2:1;return(0,e.jsxs)("div",{className:"definition-tooltip",style:{border:"1px solid lightgray",padding:"20px",borderRadius:"8px",position:"absolute",background:"white",zIndex:100,maxWidth:"400px",fontFamily:"Inter, sans-serif",top:"".concat(o.top+window.scrollY/a,"px"),left:"".concat(o.left,"px")},children:[(0,e.jsx)("div",{style:{color:"red",fontSize:"24px",marginBottom:"10px"},children:r}),(0,e.jsx)("div",{style:{fontSize:"16px"},children:i})]})};var wd=i(3701),xd={};xd.styleTagTransform=g(),xd.setAttributes=f(),xd.insert=u().bind(null,"head"),xd.domAPI=l(),xd.insertStyleElement=p(),a()(wd.Z,xd),wd.Z&&wd.Z.locals&&wd.Z.locals;const Dd=function(n){var r=n.position,i=n.text,o=(0,(0,t.useContext)($f).isOptionEnable)(Ed.Zoom)?1.2:1,a=(0,t.useRef)(null),s=(0,t.useState)(0),l=s[0],c=s[1];return(0,t.useEffect)((function(){if(a.current){var e=a.current.getBoundingClientRect();console.log(e.height,window.scrollY);var t=e.height-window.scrollY/o;l!==t&&c(t)}}),[a]),(0,e.jsx)("div",{ref:a,className:"text-zoom-tooltip",style:{top:"".concat(r.top-l,"px"),left:"".concat(r.left,"px")},children:i})};var kd,Od;function Nd(){return Nd=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},Nd.apply(this,arguments)}var Pd,Rd,Ld;function Md(){return Md=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},Md.apply(this,arguments)}const Bd=function(e){return t.createElement("svg",Md({xmlns:"http://www.w3.org/2000/svg",width:40,height:40,fill:"none"},e),Pd||(Pd=t.createElement("path",{fill:"transparent",stroke:"current",strokeWidth:2.5,d:"m20 11.667 2.551 2.174 3.342.266.266 3.342 2.174 2.55-2.174 2.552-.266 3.341-3.342.267-2.55 2.174-2.552-2.174-3.342-.267-.266-3.341L11.667 20l2.174-2.551.267-3.342 3.34-.266z"})),Rd||(Rd=t.createElement("path",{fill:"current",d:"M17.449 26.159 20 28.333V11.667L17.45 13.84l-3.342.266-.266 3.342-2.174 2.55 2.174 2.552.267 3.341z"})),Ld||(Ld=t.createElement("path",{fill:"transparent",stroke:"current",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2.5,d:"M35 6v28a1 1 0 0 1-1 1H6a1 1 0 0 1-1-1V6a1 1 0 0 1 1-1h28a1 1 0 0 1 1 1"})))};var Fd;function Gd(){return Gd=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},Gd.apply(this,arguments)}var jd;function Hd(){return Hd=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},Hd.apply(this,arguments)}const Ud=function(e){return t.createElement("svg",Hd({xmlns:"http://www.w3.org/2000/svg",width:40,height:40,fill:"none"},e),jd||(jd=t.createElement("path",{fill:"current",stroke:"current",strokeWidth:2.5,d:"M33.333 23.334c0-7.364-13.333-20-13.333-20s-13.333 12.636-13.333 20c0 7.363 5.97 13.333 13.333 13.333 7.364 0 13.333-5.97 13.333-13.333Z"})))};var zd;function Vd(){return Vd=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},Vd.apply(this,arguments)}var $d,qd;function Wd(){return Wd=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},Wd.apply(this,arguments)}var Yd,Kd;function Xd(){return Xd=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},Xd.apply(this,arguments)}var Qd,Zd;function Jd(){return Jd=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},Jd.apply(this,arguments)}var ef;function tf(){return tf=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},tf.apply(this,arguments)}var nf;function rf(){return rf=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},rf.apply(this,arguments)}var of,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)}var lf,cf;function uf(){return uf=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},uf.apply(this,arguments)}var df;function ff(){return ff=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},ff.apply(this,arguments)}var hf,pf;function mf(){return mf=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},mf.apply(this,arguments)}var gf;function bf(){return bf=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},bf.apply(this,arguments)}const vf=function(e){return t.createElement("svg",bf({xmlns:"http://www.w3.org/2000/svg",width:40,height:40,fill:"none"},e),gf||(gf=t.createElement("path",{stroke:"current",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2.5,d:"M20 6.667v26.666M13.333 15v10M33.333 16.667v6.666M6.667 16.667v6.666M26.667 11.667v16.666"})))};var yf;function Ef(){return Ef=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},Ef.apply(this,arguments)}var Tf,_f=((Tf={})[Ed.SmartNavigation]={label:"Navigation intelligente",Icon:function(e){return t.createElement("svg",Jd({xmlns:"http://www.w3.org/2000/svg",width:40,height:40,fill:"none"},e),Qd||(Qd=t.createElement("path",{stroke:"current",strokeWidth:2.5,d:"M5 34V6a1 1 0 0 1 1-1h28a1 1 0 0 1 1 1v28a1 1 0 0 1-1 1H6a1 1 0 0 1-1-1Z"})),Zd||(Zd=t.createElement("path",{stroke:"current",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2.5,d:"M21.667 26.667V13.334l-5 5"})))}},Tf[Ed.StopBlinking]={label:"Arrêter le clignotement",Icon:function(e){return t.createElement("svg",sf({xmlns:"http://www.w3.org/2000/svg",width:40,height:40,fill:"none"},e),of||(of=t.createElement("path",{stroke:"current",strokeLinecap:"round",strokeWidth:2.5,d:"M26.667 35h-20a3.333 3.333 0 0 1-3.334-3.333V8.333A3.333 3.333 0 0 1 6.667 5h26.666a3.333 3.333 0 0 1 3.334 3.333v15"})),af||(af=t.createElement("path",{stroke:"current",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2.5,d:"M31.667 28.334v8.333M36.667 28.334v8.333M3.333 11.667h33.334M8.333 8.35l.017-.018M13.333 8.35l.017-.018M18.333 8.35l.017-.018"})))}},Tf[Ed.VoiceTyping]={label:"Écriture avec la voix",Icon:vf},Tf[Ed.AudioReader]={label:"Lecteur audio",Icon:function(e){return t.createElement("svg",Nd({xmlns:"http://www.w3.org/2000/svg",width:40,height:40,fill:"none"},e),kd||(kd=t.createElement("path",{stroke:"current",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2.5,d:"M6.667 22.5v-.834c0-8.284 5.97-15 13.333-15 7.364 0 13.333 6.716 13.333 15v.834"})),Od||(Od=t.createElement("path",{stroke:"current",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2.5,d:"M3.333 29.064v-3.128a3.333 3.333 0 0 1 2.525-3.234l.809-.202 2.09-.522a1 1 0 0 1 1.243.97v9.105a1 1 0 0 1-1.243.97l-2.899-.725a3.333 3.333 0 0 1-2.525-3.234M36.667 29.064v-3.128a3.333 3.333 0 0 0-2.525-3.234l-.809-.202-2.09-.522a1 1 0 0 0-1.243.97v9.105a1 1 0 0 0 1.242.97l2.9-.725a3.333 3.333 0 0 0 2.525-3.234"})))}},Tf[Ed.Contrast]={label:"Contraste",Icon:function(t){var n=t.stroke;return(0,e.jsx)(Bd,{fill:n,stroke:n})}},Tf[Ed.BlueLightReducer]={label:"Réducteur de lumière bleue",Icon:function(t){var n=t.stroke;return(0,e.jsx)(Ud,{fill:n,stroke:n})}},Tf[Ed.Zoom]={label:"Zoom de l'écran",Icon:function(e){return t.createElement("svg",Ef({xmlns:"http://www.w3.org/2000/svg",width:40,height:40,fill:"none"},e),yf||(yf=t.createElement("path",{stroke:"current",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2.5,d:"M13.333 18.334h5m0 0h5m-5 0v-5m0 5v5M28.333 28.334 35 35M5 18.333c0 7.364 5.97 13.334 13.333 13.334 3.689 0 7.027-1.498 9.441-3.918a13.291 13.291 0 0 0 3.893-9.416C31.667 10.97 25.697 5 18.333 5 10.97 5 5 10.97 5 18.333"})))}},Tf[Ed.TextZoom]={label:"Zoom de texte",Icon:function(e){return t.createElement("svg",Vd({xmlns:"http://www.w3.org/2000/svg",width:40,height:40,fill:"none"},e),zd||(zd=t.createElement("path",{stroke:"current",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2.5,d:"M32.5 32.5 35 35M23.333 28.334a5 5 0 1 0 10 0 5 5 0 0 0-10 0M15 8.334v20m0 0h-3.333m3.333 0h3.333M25 11.667V8.334H5v3.333"})))}},Tf[Ed.ImageDescription]={label:"Description d'image",Icon:function(e){return t.createElement("svg",Wd({xmlns:"http://www.w3.org/2000/svg",width:40,height:40,fill:"none"},e),$d||($d=t.createElement("path",{stroke:"current",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2.5,d:"M35 6v28a1 1 0 0 1-1 1H6a1 1 0 0 1-1-1V6a1 1 0 0 1 1-1h28a1 1 0 0 1 1 1"})),qd||(qd=t.createElement("path",{stroke:"current",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2.5,d:"m5 26.667 11.667-5L35 30M26.667 16.667a3.333 3.333 0 1 1 0-6.667 3.333 3.333 0 0 1 0 6.667"})))}},Tf[Ed.ReadingGuide]={label:"Guide de lecture",Icon:function(e){return t.createElement("svg",tf({xmlns:"http://www.w3.org/2000/svg",width:40,height:40,fill:"none"},e),ef||(ef=t.createElement("path",{stroke:"current",strokeWidth:2.5,d:"M32.505 16.616c2.007.815 1.854 3.707-.229 4.306l-10.509 3.02-4.8 9.825c-.95 1.947-3.825 1.596-4.28-.523L7.795 10.428c-.384-1.79 1.392-3.28 3.089-2.592z",clipRule:"evenodd"})))}},Tf[Ed.HighlightLinks]={label:"Mettre en surbrillance les liens",Icon:function(e){return t.createElement("svg",Xd({xmlns:"http://www.w3.org/2000/svg",width:40,height:40,fill:"none"},e),Yd||(Yd=t.createElement("path",{stroke:"current",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2.5,d:"M23.333 19.996c0-4.153-3.861-8.33-8.571-8.33h-2.857c-4.734 0-8.572 3.73-8.572 8.33 0 3.964 2.85 7.281 6.667 8.123.613.135 1.25.206 1.905.206"})),Kd||(Kd=t.createElement("path",{stroke:"current",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2.5,d:"M16.667 19.996c0 4.153 3.861 8.33 8.571 8.33h2.857c4.734 0 8.572-3.73 8.572-8.33 0-3.964-2.85-7.281-6.667-8.123a8.84 8.84 0 0 0-1.905-.207"})))}},Tf[Ed.HighlightTitles]={label:"Mettre en surbrillance les titres",Icon:function(e){return t.createElement("svg",uf({xmlns:"http://www.w3.org/2000/svg",width:40,height:40,fill:"none"},e),lf||(lf=t.createElement("path",{stroke:"current",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2.5,d:"M35 6v28a1 1 0 0 1-1 1H6a1 1 0 0 1-1-1V6a1 1 0 0 1 1-1h28a1 1 0 0 1 1 1"})),cf||(cf=t.createElement("path",{stroke:"current",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2.5,d:"M11.667 15v-3.334h16.666V15M20 11.667v16.666m0 0h-3.333m3.333 0h3.333"})))}},Tf[Ed.HighLightFocus]={label:"Mettre en surbrillance sous le curseur",Icon:function(e){return t.createElement("svg",mf({xmlns:"http://www.w3.org/2000/svg",width:40,height:40,fill:"none"},e),hf||(hf=t.createElement("path",{stroke:"current",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2.5,d:"M35 22.5v5M22.5 35h5M27.5 15H16a1 1 0 0 0-1 1v11.5M17.5 35H16a1 1 0 0 1-1-1v-1.5M35 32.5V34a1 1 0 0 1-1 1h-1.5M32.5 15H34a1 1 0 0 1 1 1v1.5M5 17.5v-5M12.5 5h5"})),pf||(pf=t.createElement("path",{stroke:"current",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2.5,d:"M12.5 25H24a1 1 0 0 0 1-1V12.5M7.5 25H6a1 1 0 0 1-1-1v-1.5M5 7.5V6a1 1 0 0 1 1-1h1.5M22.5 5H24a1 1 0 0 1 1 1v1.5"})))}},Tf[Ed.VirtualKeyboard]={label:"Clavier virtuel",Icon:function(e){return t.createElement("svg",rf({xmlns:"http://www.w3.org/2000/svg",width:40,height:40,fill:"none"},e),nf||(nf=t.createElement("path",{stroke:"current",strokeLinecap:"round",strokeWidth:2.5,d:"M20 3.334c7.364 0 13.333 5.969 13.333 13.333v6.666c0 7.364-5.97 13.334-13.333 13.334-7.364 0-13.333-5.97-13.333-13.333v-6.667c0-7.364 5.97-13.333 13.333-13.333Zm0 0V15"})))}},Tf[Ed.Dictionnary]={label:"Dictionnaire",Icon:function(e){return t.createElement("svg",Gd({xmlns:"http://www.w3.org/2000/svg",width:40,height:40,fill:"none"},e),Fd||(Fd=t.createElement("path",{stroke:"current",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2.5,d:"M3.333 8.333H15m0 0h7.5m-7.5 0V5m11.667 3.333H22.5m0 0c-1.368 4.559-4.231 8.868-7.5 12.655m0 0c-2.707 3.136-5.691 5.914-8.333 8.179M15 20.988c-1.667-1.821-4.333-5.488-5-6.821m5 6.821 5 4.845M22.5 35l1.905-5m0 0 4.762-12.5L33.928 30m-9.523 0h9.523m1.905 5-1.904-5"})))}},Tf[Ed.ReadableFont]={label:"Police lisible",Icon:function(e){return t.createElement("svg",ff({xmlns:"http://www.w3.org/2000/svg",width:40,height:40,fill:"none"},e),df||(df=t.createElement("path",{stroke:"current",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2.5,d:"M26.667 8.334v10a6.667 6.667 0 0 1-13.334 0v-10M10 31.667h20"})))}},Tf);const Af=function(e,n,r,i){(0,t.useEffect)((function(){return e&&document.addEventListener(n,r,i),function(){document.removeEventListener(n,r,i)}}),[e,n,r,i])};const Sf=function(e,t){var n=function(){return e=void 0,n=void 0,i=function(){var e;return function(e,t){var n,r,i,o,a={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return o={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function s(s){return function(l){return function(s){if(n)throw new TypeError("Generator is already executing.");for(;o&&(o=0,s[0]&&(a=0)),a;)try{if(n=1,r&&(i=2&s[0]?r.return:s[0]?r.throw||((i=r.return)&&i.call(r),0):r.next)&&!(i=i.call(r,s[1])).done)return i;switch(r=0,i&&(s=[2&s[0],i.value]),s[0]){case 0:case 1:i=s;break;case 4:return a.label++,{value:s[1],done:!1};case 5:a.label++,r=s[1],s=[0];continue;case 7:s=a.ops.pop(),a.trys.pop();continue;default:if(!((i=(i=a.trys).length>0&&i[i.length-1])||6!==s[0]&&2!==s[0])){a=0;continue}if(3===s[0]&&(!i||s[1]>i[0]&&s[1]<i[3])){a.label=s[1];break}if(6===s[0]&&a.label<i[1]){a.label=i[1],i=s;break}if(i&&a.label<i[2]){a.label=i[2],a.ops.push(s);break}i[2]&&a.ops.pop(),a.trys.pop();continue}s=t.call(e,a)}catch(e){s=[6,e],r=0}finally{n=i=0}if(5&s[0])throw s[1];return{value:s[0]?s[1]:void 0,done:!0}}([s,l])}}}(this,(function(n){switch(n.label){case 0:return[4,new Promise((function(e){setTimeout((function(){e()}),50)}))];case 1:return n.sent(),(e=window.getSelection())&&0!==e.rangeCount?(t(e),[2]):[2]}}))},new((r=void 0)||(r=Promise))((function(t,o){function a(e){try{l(i.next(e))}catch(e){o(e)}}function s(e){try{l(i.throw(e))}catch(e){o(e)}}function l(e){var n;e.done?t(e.value):(n=e.value,n instanceof r?n:new r((function(e){e(n)}))).then(a,s)}l((i=i.apply(e,n||[])).next())}));var e,n,r,i};Af(e,"mouseup",n),Af(e,"touchend",n)};var Cf="data-adaptify-stylesheet",If=function(e){return Array.from(document.styleSheets).find((function(t){return t.ownerNode&&t.ownerNode.getAttribute(Cf)===e}))};const wf=function(e){var n=(0,t.useState)(function(e){for(var t="",n=0;n<15;)t+="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789".charAt(Math.floor(62*Math.random())),n+=1;return t}()),r=n[0],i=(n[1],function(){var e=If(r);e&&document.head.removeChild(e.ownerNode)});return(0,t.useEffect)((function(){return function(){i()}}),[]),{setIsStyleSheetActive:function(t){t?function(){if(!If(r)){var t=document.createElement("style");t.setAttribute(Cf,r),t.appendChild(document.createTextNode(e)),document.head.appendChild(t)}}():i()}}};var xf=i(9484),Df=i.n(xf),kf=function(e,t,n,r){return new(n||(n=Promise))((function(i,o){function a(e){try{l(r.next(e))}catch(e){o(e)}}function s(e){try{l(r.throw(e))}catch(e){o(e)}}function l(e){var t;e.done?i(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(a,s)}l((r=r.apply(e,t||[])).next())}))},Of=function(e,t){var n,r,i,o,a={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return o={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function s(s){return function(l){return function(s){if(n)throw new TypeError("Generator is already executing.");for(;o&&(o=0,s[0]&&(a=0)),a;)try{if(n=1,r&&(i=2&s[0]?r.return:s[0]?r.throw||((i=r.return)&&i.call(r),0):r.next)&&!(i=i.call(r,s[1])).done)return i;switch(r=0,i&&(s=[2&s[0],i.value]),s[0]){case 0:case 1:i=s;break;case 4:return a.label++,{value:s[1],done:!1};case 5:a.label++,r=s[1],s=[0];continue;case 7:s=a.ops.pop(),a.trys.pop();continue;default:if(!((i=(i=a.trys).length>0&&i[i.length-1])||6!==s[0]&&2!==s[0])){a=0;continue}if(3===s[0]&&(!i||s[1]>i[0]&&s[1]<i[3])){a.label=s[1];break}if(6===s[0]&&a.label<i[1]){a.label=i[1],i=s;break}if(i&&a.label<i[2]){a.label=i[2],a.ops.push(s);break}i[2]&&a.ops.pop(),a.trys.pop();continue}s=t.call(e,a)}catch(e){s=[6,e],r=0}finally{n=i=0}if(5&s[0])throw s[1];return{value:s[0]?s[1]:void 0,done:!0}}([s,l])}}},Nf={definitions:{listItem:"ul.Definitions li",data:{text:{how:"text"}}}};const Pf=function(e){var n=(0,t.useState)(null),r=n[0],i=n[1],o=(0,t.useState)(null),a=o[0],s=o[1];return Sf(e,(function(e){return t=void 0,n=void 0,o=function(){var t,n,r;return function(e,t){var n,r,i,o,a={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return o={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function s(s){return function(l){return function(s){if(n)throw new TypeError("Generator is already executing.");for(;o&&(o=0,s[0]&&(a=0)),a;)try{if(n=1,r&&(i=2&s[0]?r.return:s[0]?r.throw||((i=r.return)&&i.call(r),0):r.next)&&!(i=i.call(r,s[1])).done)return i;switch(r=0,i&&(s=[2&s[0],i.value]),s[0]){case 0:case 1:i=s;break;case 4:return a.label++,{value:s[1],done:!1};case 5:a.label++,r=s[1],s=[0];continue;case 7:s=a.ops.pop(),a.trys.pop();continue;default:if(!((i=(i=a.trys).length>0&&i[i.length-1])||6!==s[0]&&2!==s[0])){a=0;continue}if(3===s[0]&&(!i||s[1]>i[0]&&s[1]<i[3])){a.label=s[1];break}if(6===s[0]&&a.label<i[1]){a.label=i[1],i=s;break}if(i&&a.label<i[2]){a.label=i[2],a.ops.push(s);break}i[2]&&a.ops.pop(),a.trys.pop();continue}s=t.call(e,a)}catch(e){s=[6,e],r=0}finally{n=i=0}if(5&s[0])throw s[1];return{value:s[0]?s[1]:void 0,done:!0}}([s,l])}}}(this,(function(o){return t=e.toString().trim(),i(t.length>0&&t||null),n=null===(r=null==e?void 0:e.getRangeAt(0))||void 0===r?void 0:r.getBoundingClientRect(),s(n&&{top:n.top,left:n.left}||null),[2]}))},new((r=void 0)||(r=Promise))((function(e,i){function a(e){try{l(o.next(e))}catch(e){i(e)}}function s(e){try{l(o.throw(e))}catch(e){i(e)}}function l(t){var n;t.done?e(t.value):(n=t.value,n instanceof r?n:new r((function(e){e(n)}))).then(a,s)}l((o=o.apply(t,n||[])).next())}));var t,n,r,o})),a&&r?{position:a,text:r}:null};var Rf=i(1117),Lf=i.n(Rf),Mf=i(400),Bf={};Bf.styleTagTransform=g(),Bf.setAttributes=f(),Bf.insert=u().bind(null,"head"),Bf.domAPI=l(),Bf.insertStyleElement=p(),a()(Mf.Z,Bf),Mf.Z&&Mf.Z.locals&&Mf.Z.locals;var Ff={"{enter}":"\n","{tab}":"\t","{space}":" "},Gf={default:["` 1 2 3 4 5 6 7 8 9 0 ° + {bksp}","{tab} a z e r t y u i o p ^ $","{lock} q s d f g h j k l m ù * {enter}","{shift} < w x c v b n , ; : ! {shift}",".com @ {space}"],shift:["² & é \" ' ( - è _ ç à ) = {bksp}","{tab} A Z E R T Y U I O P ¨ £","{lock} Q S D F G H J K L M % µ {enter}","{shift} > W X C V B N ? . / § {shift}",".com @ {space}"]};var jf=i(5650),Hf={};Hf.styleTagTransform=g(),Hf.setAttributes=f(),Hf.insert=u().bind(null,"head"),Hf.domAPI=l(),Hf.insertStyleElement=p(),a()(jf.Z,Hf),jf.Z&&jf.Z.locals&&jf.Z.locals;const Uf=function(t){var n=t.isListening,r=t.startListening,i=t.stopListening,o=t.isEnabled;return(0,e.jsx)("div",{id:"adaptify-dictaphone",className:"fixed bottom-5 right-5 cursor-pointer p-2 rounded-full shadow-lg ".concat(o?"bg-primary":"bg-gray-400 cursor-not-allowed"," ").concat(n?"pulse-wave":""),onClick:function(){o&&(n?i():r())},onMouseDown:function(e){return e.preventDefault()},children:(0,e.jsx)(vf,{stroke:"var(--secondary-color)"})})};var zf=["text","email","search","tel"];var Vf=function(){return Vf=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e},Vf.apply(this,arguments)},$f=(0,t.createContext)(null),qf="adaptify-accessibility-options";var Wf;function Yf(){return Yf=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},Yf.apply(this,arguments)}const Kf=function(e){return t.createElement("svg",Yf({xmlns:"http://www.w3.org/2000/svg",width:24,height:24,fill:"none"},e),Wf||(Wf=t.createElement("path",{stroke:"current",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:1.5,d:"M8 12h8M12 22c5.523 0 10-4.477 10-10S17.523 2 12 2 2 6.477 2 12s4.477 10 10 10"})))};var Xf;function Qf(){return Qf=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},Qf.apply(this,arguments)}const Zf=function(e){return t.createElement("svg",Qf({xmlns:"http://www.w3.org/2000/svg",width:24,height:24,fill:"none"},e),Xf||(Xf=t.createElement("path",{stroke:"current",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:1.5,d:"M8 12h4m0 0h4m-4 0V8m0 4v4M12 22c5.523 0 10-4.477 10-10S17.523 2 12 2 2 6.477 2 12s4.477 10 10 10"})))};function Jf(e={}){const{strict:n=!0,errorMessage:r="useContext: `context` is undefined. Seems you forgot to wrap component within the Provider",name:i}=e,o=(0,t.createContext)(void 0);return o.displayName=i,[o.Provider,function e(){var i;const a=(0,t.useContext)(o);if(!a&&n){const t=new Error(r);throw t.name="ContextError",null==(i=Error.captureStackTrace)||i.call(Error,t,e),t}return a},o]}i(5839);var eh=Gn((function(e,n){var r=e.styles,i=Pn([r],void 0,t.useContext(jn)),o=t.useRef();return Mn((function(){var e=n.key+"-global",t=new n.sheet.constructor({key:e,nonce:n.sheet.nonce,container:n.sheet.container,speedy:n.sheet.isSpeedy}),r=!1,a=document.querySelector('style[data-emotion="'+e+" "+i.name+'"]');return n.sheet.tags.length&&(t.before=n.sheet.tags[0]),null!==a&&(r=!0,a.setAttribute("data-emotion",e),t.hydrate([a])),o.current=[t,r],function(){t.flush()}}),[n]),Mn((function(){var e=o.current,t=e[0];if(e[1])e[1]=!1;else{if(void 0!==i.next&&Vn(n,i.next,!0),t.tags.length){var r=t.tags[t.tags.length-1].nextElementSibling;t.before=r,t.flush()}n.insert("",i,t,!1)}}),[n,i.name]),null}));function th(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return Pn(t)}function nh(n){const{cssVarsRoot:r,theme:i,children:o}=n,a=(0,t.useMemo)((()=>function(e){var t;const n=function(e){const{__cssMap:t,__cssVars:n,__breakpoints:r,...i}=e;return i}(e),r=function(e){return function(e,t){const n={};for(const r of t)r in e&&(n[r]=e[r]);return n}(e,We)}(n),i=function(e){return e.semanticTokens}(n),o=function({tokens:e,semanticTokens:t}){const n={};return qe(e,((e,t)=>{null!=e&&(n[t.join(".")]={isSemantic:!1,value:e})})),qe(t,((e,t)=>{null!=e&&(n[t.join(".")]={isSemantic:!0,value:e})}),{stop:e=>Object.keys(e).every(Ye)}),n}({tokens:r,semanticTokens:i}),a=null==(t=n.config)?void 0:t.cssVarPrefix,{cssMap:s,cssVars:l}=function(e,t){let n={};const r={};for(const[i,o]of Object.entries(e)){const{isSemantic:a,value:s}=o,{variable:l,reference:c}=$e(i,null==t?void 0:t.cssVarPrefix);if(!a){if(i.startsWith("space")){const e=i.split("."),[t,...n]=e,o=`${t}.-${n.join(".")}`,a=Ee.negate(s),u=Ee.negate(c);r[o]={value:a,var:l,varRef:u}}n[l]=s,r[i]={value:s,var:l,varRef:c};continue}const u=n=>{const r=[String(i).split(".")[0],n].join(".");if(!e[r])return n;const{reference:o}=$e(r,null==t?void 0:t.cssVarPrefix);return o},d=E(s)?s:{default:s};n=C(n,Object.entries(d).reduce(((e,[t,n])=>{var r,i;if(!n)return e;const o=u(`${n}`);return"default"===t?(e[l]=o,e):(e[null!=(i=null==(r=ze)?void 0:r[t])?i:t]={[l]:o},e)}),{})),r[i]={value:c,var:l,varRef:c}}return{cssVars:n,cssMap:r}}(o,{cssVarPrefix:a});return Object.assign(n,{__cssVars:{"--chakra-ring-inset":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-ring-offset-width":"0px","--chakra-ring-offset-color":"#fff","--chakra-ring-color":"rgba(66, 153, 225, 0.6)","--chakra-ring-offset-shadow":"0 0 #0000","--chakra-ring-shadow":"0 0 #0000","--chakra-space-x-reverse":"0","--chakra-space-y-reverse":"0",...l},__cssMap:s,__breakpoints:Oe(n.breakpoints)}),n}(i)),[i]);return(0,e.jsxs)(Un,{theme:a,children:[(0,e.jsx)(rh,{root:r}),o]})}function rh({root:t=":host, :root"}){const n=[t,"[data-theme]"].join(",");return(0,e.jsx)(eh,{styles:e=>({[n]:e.__cssVars})})}var[ih,oh]=Jf({name:"StylesContext",errorMessage:"useStyles: `styles` is undefined. Seems you forgot to wrap the components in `<StylesProvider />` "});function ah(){const{colorMode:t}=ut();return(0,e.jsx)(eh,{styles:e=>{const n=pt(dt(e,"styles.global"),{theme:e,colorMode:t});if(n)return nt(n)(e)}})}var[sh,lh]=Jf({name:"Card"+"StylesContext",errorMessage:'useStyles: "styles" is undefined. Seems you forgot to wrap the components in "<Card />" '}),ch=tr((function(t,n){const{className:r,children:i,direction:o="column",justify:a,align:s,...l}=ot(t),c=sr("Card",t);return(0,e.jsx)(Jn.div,{ref:n,className:y("chakra-card",r),__css:{display:"flex",flexDirection:o,justifyContent:a,alignItems:s,position:"relative",minWidth:0,wordWrap:"break-word",...c.container},...l,children:(0,e.jsx)(sh,{value:c,children:i})})}));const uh=function(n){var r=n.card,i=(0,t.useContext)($f),o=i.enableOption,a=i.disableOption,s=(0,i.isOptionEnable)(r.type),l=_f[r.type],c=s?"var(--secondary-color)":"var(--primary-color)";return(0,e.jsx)(ch,{className:"cursor-pointer",w:"100%",px:"5",py:"2",border:"2px",borderColor:"primary.100",borderRadius:"md",backgroundColor:s?"primary.100":"primary.10",onClick:function(){s?a(r.type):o(r)},children:(0,e.jsxs)(rr,{spacing:"10px",children:[(0,e.jsx)(l.Icon,{stroke:c}),(0,e.jsx)(xu,{size:"sm",textColor:c,children:l.label})]})})},dh=function(t){var n=t.optionList;return(0,e.jsx)(Cu,{spacing:"15px",width:"100%",mt:"10px",children:Object.entries(n).map((function(t){var n=t[0],r=t[1];return(0,e.jsx)(uh,{card:r},n)}))})},fh=function(n){var r=n.optionList,i=n.title,o=(0,t.useContext)($f),a=o.bulkDisableOption,s=o.bulkEnableOptions,l=o.isOptionEnable,c=(0,t.useState)(!1),u=c[0],d=c[1],f=r.every((function(e){return l(e.type)}));return(0,e.jsxs)(Cu,{width:"100%",children:[(0,e.jsxs)(rr,{width:"100%",spacing:"15px",paddingY:"10px",children:[(0,e.jsxs)(rr,{cursor:"pointer",spacing:"10px",onClick:function(){d(!u)},children:[u?(0,e.jsx)(Kf,{stroke:"var(--primary-color)"}):(0,e.jsx)(Zf,{stroke:"var(--primary-color)"}),(0,e.jsx)(lr,{size:"sm",textColor:"primary.100",children:i})]}),(0,e.jsx)(cr,{}),(0,e.jsx)(Ad,{size:"md",isChecked:f,onChange:function(){f?a(r.map((function(e){return e.type}))):s(r)}})]}),u&&(0,e.jsx)(dh,{optionList:r})]})};var hh,ph,mh;!function(e){e[e.MotorDisorders=0]="MotorDisorders",e[e.VisuallyImpaired=1]="VisuallyImpaired",e[e.Epilepsy=2]="Epilepsy",e[e.ADD=3]="ADD",e[e.Learning=4]="Learning",e[e.Elder=5]="Elder",e[e.Dyslexia=6]="Dyslexia"}(mh||(mh={}));var gh=((hh={})[mh.MotorDisorders]="Troubles moteurs",hh[mh.VisuallyImpaired]="Malvoyance",hh[mh.Epilepsy]="Épilepsie",hh[mh.ADD]="Trouble de l'attention",hh[mh.Learning]="Difficultés d'apprentissage",hh[mh.Elder]="Personnes âgées",hh[mh.Dyslexia]="Dyslexie",hh),bh=((ph={})[mh.MotorDisorders]=[Cd(Ed.SmartNavigation),Cd(Ed.VoiceTyping),Cd(Ed.Zoom)],ph[mh.VisuallyImpaired]=[Cd(Ed.StopBlinking),Cd(Ed.Contrast),Cd(Ed.Zoom),Cd(Ed.TextZoom),Cd(Ed.ReadableFont)],ph[mh.ADD]=[Cd(Ed.StopBlinking),Cd(Ed.ReadingGuide),Cd(Ed.HighLightFocus),Cd(Ed.Contrast)],ph[mh.Learning]=[Cd(Ed.Dictionnary),Cd(Ed.AudioReader),Cd(Ed.VoiceTyping)],ph[mh.Elder]=[Cd(Ed.Zoom),Cd(Ed.ReadableFont)],ph[mh.Dyslexia]=[Cd(Ed.AudioReader),Cd(Ed.VoiceTyping),Cd(Ed.ReadingGuide)],ph[mh.Epilepsy]=[Cd(Ed.StopBlinking)],ph);const vh=function(){var n=(0,t.useMemo)((function(){return Object.entries(bh).map((function(t){var n=t[0],r=t[1];return(0,e.jsxs)(e.Fragment,{children:[(0,e.jsx)(fh,{optionList:r,title:gh[n]},n),(0,e.jsx)(dr,{})]})}))}),[]);return(0,e.jsx)(Cu,{spacing:"7px",pt:"7px",children:n})};var yh={path:(0,e.jsxs)("g",{stroke:"currentColor",strokeWidth:"1.5",children:[(0,e.jsx)("path",{strokeLinecap:"round",fill:"none",d:"M9,9a3,3,0,1,1,4,2.829,1.5,1.5,0,0,0-1,1.415V14.25"}),(0,e.jsx)("path",{fill:"currentColor",strokeLinecap:"round",d:"M12,17.25a.375.375,0,1,0,.375.375A.375.375,0,0,0,12,17.25h0"}),(0,e.jsx)("circle",{fill:"none",strokeMiterlimit:"10",cx:"12",cy:"12",r:"11.25"})]}),viewBox:"0 0 24 24"},Eh=tr(((t,n)=>{const{as:r,viewBox:i,color:o="currentColor",focusable:a=!1,children:s,className:l,__css:c,...u}=t,d={ref:n,focusable:a,className:y("chakra-icon",l),__css:{w:"1em",h:"1em",display:"inline-block",lineHeight:"1em",flexShrink:0,color:o,...c,...ar("Icon",t)}},f=null!=i?i:yh.viewBox;if(r&&"string"!=typeof r)return(0,e.jsx)(Jn.svg,{as:r,...d,...u});const h=null!=s?s:yh.path;return(0,e.jsx)(Jn.svg,{verticalAlign:"middle",viewBox:f,...d,...u,children:h})}));Eh.displayName="Icon";var Th,_h,Ah=function(n){const{viewBox:r="0 0 24 24",d:i,displayName:o,defaultProps:a={}}=n,s=t.Children.toArray(n.path),l=tr(((t,n)=>(0,e.jsx)(Eh,{ref:n,viewBox:r,...a,...t,children:s.length?s:(0,e.jsx)("path",{fill:"currentColor",d:i})})));return l.displayName=o,l}({displayName:"CloseIcon",d:"M.439,21.44a1.5,1.5,0,0,0,2.122,2.121L11.823,14.3a.25.25,0,0,1,.354,0l9.262,9.263a1.5,1.5,0,1,0,2.122-2.121L14.3,12.177a.25.25,0,0,1,0-.354l9.263-9.262A1.5,1.5,0,0,0,21.439.44L12.177,9.7a.25.25,0,0,1-.354,0L2.561.44A1.5,1.5,0,0,0,.439,2.561L9.7,11.823a.25.25,0,0,1,0,.354Z"});!function(e){e[e.VoiceAndNavigation=0]="VoiceAndNavigation",e[e.Display=1]="Display",e[e.Textual=2]="Textual",e[e.Data=3]="Data"}(_h||(_h={}));var Sh=function(e){return Object.entries(Ch).filter((function(t){return t[0],t[1]===e})).map((function(e){var t=e[0];return e[1],Cd(Number(t))}))},Ch=((Th={})[Ed.SmartNavigation]=_h.VoiceAndNavigation,Th[Ed.StopBlinking]=_h.VoiceAndNavigation,Th[Ed.VoiceTyping]=_h.VoiceAndNavigation,Th[Ed.AudioReader]=_h.VoiceAndNavigation,Th[Ed.Contrast]=_h.Display,Th[Ed.BlueLightReducer]=_h.Display,Th[Ed.Zoom]=_h.Textual,Th[Ed.TextZoom]=_h.Textual,Th[Ed.ImageDescription]=_h.Textual,Th[Ed.ReadingGuide]=_h.Textual,Th[Ed.HighlightLinks]=_h.Textual,Th[Ed.HighlightTitles]=_h.Textual,Th[Ed.HighLightFocus]=_h.Textual,Th[Ed.VirtualKeyboard]=_h.Textual,Th[Ed.Dictionnary]=_h.Textual,Th[Ed.ReadableFont]=_h.Textual,Th);var Ih=["borders","breakpoints","colors","components","config","direction","fonts","fontSizes","fontWeights","letterSpacings","lineHeights","radii","shadows","sizes","space","styles","transition","zIndices"],wh={letterSpacings:{tighter:"-0.05em",tight:"-0.025em",normal:"0",wide:"0.025em",wider:"0.05em",widest:"0.1em"},lineHeights:{normal:"normal",none:1,shorter:1.25,short:1.375,base:1.5,tall:1.625,taller:"2",3:".75rem",4:"1rem",5:"1.25rem",6:"1.5rem",7:"1.75rem",8:"2rem",9:"2.25rem",10:"2.5rem"},fontWeights:{hairline:100,thin:200,light:300,normal:400,medium:500,semibold:600,bold:700,extrabold:800,black:900},fonts:{heading:'-apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol"',body:'-apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol"',mono:'SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace'},fontSizes:{"3xs":"0.45rem","2xs":"0.625rem",xs:"0.75rem",sm:"0.875rem",md:"1rem",lg:"1.125rem",xl:"1.25rem","2xl":"1.5rem","3xl":"1.875rem","4xl":"2.25rem","5xl":"3rem","6xl":"3.75rem","7xl":"4.5rem","8xl":"6rem","9xl":"8rem"}},xh={px:"1px",.5:"0.125rem",1:"0.25rem",1.5:"0.375rem",2:"0.5rem",2.5:"0.625rem",3:"0.75rem",3.5:"0.875rem",4:"1rem",5:"1.25rem",6:"1.5rem",7:"1.75rem",8:"2rem",9:"2.25rem",10:"2.5rem",12:"3rem",14:"3.5rem",16:"4rem",20:"5rem",24:"6rem",28:"7rem",32:"8rem",36:"9rem",40:"10rem",44:"11rem",48:"12rem",52:"13rem",56:"14rem",60:"15rem",64:"16rem",72:"18rem",80:"20rem",96:"24rem"},Dh={...xh,max:"max-content",min:"min-content",full:"100%","3xs":"14rem","2xs":"16rem",xs:"20rem",sm:"24rem",md:"28rem",lg:"32rem",xl:"36rem","2xl":"42rem","3xl":"48rem","4xl":"56rem","5xl":"64rem","6xl":"72rem","7xl":"80rem","8xl":"90rem",prose:"60ch",container:{sm:"640px",md:"768px",lg:"1024px",xl:"1280px"}},kh={breakpoints:{base:"0em",sm:"30em",md:"48em",lg:"62em",xl:"80em","2xl":"96em"},zIndices:{hide:-1,auto:"auto",base:0,docked:10,dropdown:1e3,sticky:1100,banner:1200,overlay:1300,modal:1400,popover:1500,skipLink:1600,toast:1700,tooltip:1800},radii:{none:"0",sm:"0.125rem",base:"0.25rem",md:"0.375rem",lg:"0.5rem",xl:"0.75rem","2xl":"1rem","3xl":"1.5rem",full:"9999px"},blur:{none:0,sm:"4px",base:"8px",md:"12px",lg:"16px",xl:"24px","2xl":"40px","3xl":"64px"},colors:{transparent:"transparent",current:"currentColor",black:"#000000",white:"#FFFFFF",whiteAlpha:{50:"rgba(255, 255, 255, 0.04)",100:"rgba(255, 255, 255, 0.06)",200:"rgba(255, 255, 255, 0.08)",300:"rgba(255, 255, 255, 0.16)",400:"rgba(255, 255, 255, 0.24)",500:"rgba(255, 255, 255, 0.36)",600:"rgba(255, 255, 255, 0.48)",700:"rgba(255, 255, 255, 0.64)",800:"rgba(255, 255, 255, 0.80)",900:"rgba(255, 255, 255, 0.92)"},blackAlpha:{50:"rgba(0, 0, 0, 0.04)",100:"rgba(0, 0, 0, 0.06)",200:"rgba(0, 0, 0, 0.08)",300:"rgba(0, 0, 0, 0.16)",400:"rgba(0, 0, 0, 0.24)",500:"rgba(0, 0, 0, 0.36)",600:"rgba(0, 0, 0, 0.48)",700:"rgba(0, 0, 0, 0.64)",800:"rgba(0, 0, 0, 0.80)",900:"rgba(0, 0, 0, 0.92)"},gray:{50:"#F7FAFC",100:"#EDF2F7",200:"#E2E8F0",300:"#CBD5E0",400:"#A0AEC0",500:"#718096",600:"#4A5568",700:"#2D3748",800:"#1A202C",900:"#171923"},red:{50:"#FFF5F5",100:"#FED7D7",200:"#FEB2B2",300:"#FC8181",400:"#F56565",500:"#E53E3E",600:"#C53030",700:"#9B2C2C",800:"#822727",900:"#63171B"},orange:{50:"#FFFAF0",100:"#FEEBC8",200:"#FBD38D",300:"#F6AD55",400:"#ED8936",500:"#DD6B20",600:"#C05621",700:"#9C4221",800:"#7B341E",900:"#652B19"},yellow:{50:"#FFFFF0",100:"#FEFCBF",200:"#FAF089",300:"#F6E05E",400:"#ECC94B",500:"#D69E2E",600:"#B7791F",700:"#975A16",800:"#744210",900:"#5F370E"},green:{50:"#F0FFF4",100:"#C6F6D5",200:"#9AE6B4",300:"#68D391",400:"#48BB78",500:"#38A169",600:"#2F855A",700:"#276749",800:"#22543D",900:"#1C4532"},teal:{50:"#E6FFFA",100:"#B2F5EA",200:"#81E6D9",300:"#4FD1C5",400:"#38B2AC",500:"#319795",600:"#2C7A7B",700:"#285E61",800:"#234E52",900:"#1D4044"},blue:{50:"#ebf8ff",100:"#bee3f8",200:"#90cdf4",300:"#63b3ed",400:"#4299e1",500:"#3182ce",600:"#2b6cb0",700:"#2c5282",800:"#2a4365",900:"#1A365D"},cyan:{50:"#EDFDFD",100:"#C4F1F9",200:"#9DECF9",300:"#76E4F7",400:"#0BC5EA",500:"#00B5D8",600:"#00A3C4",700:"#0987A0",800:"#086F83",900:"#065666"},purple:{50:"#FAF5FF",100:"#E9D8FD",200:"#D6BCFA",300:"#B794F4",400:"#9F7AEA",500:"#805AD5",600:"#6B46C1",700:"#553C9A",800:"#44337A",900:"#322659"},pink:{50:"#FFF5F7",100:"#FED7E2",200:"#FBB6CE",300:"#F687B3",400:"#ED64A6",500:"#D53F8C",600:"#B83280",700:"#97266D",800:"#702459",900:"#521B41"},linkedin:{50:"#E8F4F9",100:"#CFEDFB",200:"#9BDAF3",300:"#68C7EC",400:"#34B3E4",500:"#00A0DC",600:"#008CC9",700:"#0077B5",800:"#005E93",900:"#004471"},facebook:{50:"#E8F4F9",100:"#D9DEE9",200:"#B7C2DA",300:"#6482C0",400:"#4267B2",500:"#385898",600:"#314E89",700:"#29487D",800:"#223B67",900:"#1E355B"},messenger:{50:"#D0E6FF",100:"#B9DAFF",200:"#A2CDFF",300:"#7AB8FF",400:"#2E90FF",500:"#0078FF",600:"#0063D1",700:"#0052AC",800:"#003C7E",900:"#002C5C"},whatsapp:{50:"#dffeec",100:"#b9f5d0",200:"#90edb3",300:"#65e495",400:"#3cdd78",500:"#22c35e",600:"#179848",700:"#0c6c33",800:"#01421c",900:"#001803"},twitter:{50:"#E5F4FD",100:"#C8E9FB",200:"#A8DCFA",300:"#83CDF7",400:"#57BBF5",500:"#1DA1F2",600:"#1A94DA",700:"#1681BF",800:"#136B9E",900:"#0D4D71"},telegram:{50:"#E3F2F9",100:"#C5E4F3",200:"#A2D4EC",300:"#7AC1E4",400:"#47A9DA",500:"#0088CC",600:"#007AB8",700:"#006BA1",800:"#005885",900:"#003F5E"}},...wh,sizes:Dh,shadows:{xs:"0 0 0 1px rgba(0, 0, 0, 0.05)",sm:"0 1px 2px 0 rgba(0, 0, 0, 0.05)",base:"0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06)",md:"0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06)",lg:"0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05)",xl:"0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04)","2xl":"0 25px 50px -12px rgba(0, 0, 0, 0.25)",outline:"0 0 0 3px rgba(66, 153, 225, 0.6)",inner:"inset 0 2px 4px 0 rgba(0,0,0,0.06)",none:"none","dark-lg":"rgba(0, 0, 0, 0.1) 0px 0px 0px 1px, rgba(0, 0, 0, 0.2) 0px 5px 10px, rgba(0, 0, 0, 0.4) 0px 15px 40px"},space:xh,borders:{none:0,"1px":"1px solid","2px":"2px solid","4px":"4px solid","8px":"8px solid"},transition:{property:{common:"background-color, border-color, color, fill, stroke, opacity, box-shadow, transform",colors:"background-color, border-color, color, fill, stroke",dimensions:"width, height",position:"left, right, top, bottom",background:"background-color, background-image, background-position"},easing:{"ease-in":"cubic-bezier(0.4, 0, 1, 1)","ease-out":"cubic-bezier(0, 0, 0.2, 1)","ease-in-out":"cubic-bezier(0.4, 0, 0.2, 1)"},duration:{"ultra-fast":"50ms",faster:"100ms",fast:"150ms",normal:"200ms",slow:"300ms",slower:"400ms","ultra-slow":"500ms"}}},{defineMultiStyleConfig:Oh,definePartsStyle:Nh}=rt(["stepper","step","title","description","indicator","separator","icon","number"]),Ph=Ae("stepper-indicator-size"),Rh=Ae("stepper-icon-size"),Lh=Ae("stepper-title-font-size"),Mh=Ae("stepper-description-font-size"),Bh=Ae("stepper-accent-color"),Fh=Oh({baseStyle:Nh((({colorScheme:e})=>({stepper:{display:"flex",justifyContent:"space-between",gap:"4","&[data-orientation=vertical]":{flexDirection:"column",alignItems:"flex-start"},"&[data-orientation=horizontal]":{flexDirection:"row",alignItems:"center"},[Bh.variable]:`colors.${e}.500`,_dark:{[Bh.variable]:`colors.${e}.200`}},title:{fontSize:Lh.reference,fontWeight:"medium"},description:{fontSize:Mh.reference,color:"chakra-subtle-text"},number:{fontSize:Lh.reference},step:{flexShrink:0,position:"relative",display:"flex",gap:"2","&[data-orientation=horizontal]":{alignItems:"center"},flex:"1","&:last-of-type:not([data-stretch])":{flex:"initial"}},icon:{flexShrink:0,width:Rh.reference,height:Rh.reference},indicator:{flexShrink:0,borderRadius:"full",width:Ph.reference,height:Ph.reference,display:"flex",justifyContent:"center",alignItems:"center","&[data-status=active]":{borderWidth:"2px",borderColor:Bh.reference},"&[data-status=complete]":{bg:Bh.reference,color:"chakra-inverse-text"},"&[data-status=incomplete]":{borderWidth:"2px"}},separator:{bg:"chakra-border-color",flex:"1","&[data-status=complete]":{bg:Bh.reference},"&[data-orientation=horizontal]":{width:"100%",height:"2px",marginStart:"2"},"&[data-orientation=vertical]":{width:"2px",position:"absolute",height:"100%",maxHeight:`calc(100% - ${Ph.reference} - 8px)`,top:`calc(${Ph.reference} + 4px)`,insetStart:`calc(${Ph.reference} / 2 - 1px)`}}}))),sizes:{xs:Nh({stepper:{[Ph.variable]:"sizes.4",[Rh.variable]:"sizes.3",[Lh.variable]:"fontSizes.xs",[Mh.variable]:"fontSizes.xs"}}),sm:Nh({stepper:{[Ph.variable]:"sizes.6",[Rh.variable]:"sizes.4",[Lh.variable]:"fontSizes.sm",[Mh.variable]:"fontSizes.xs"}}),md:Nh({stepper:{[Ph.variable]:"sizes.8",[Rh.variable]:"sizes.5",[Lh.variable]:"fontSizes.md",[Mh.variable]:"fontSizes.sm"}}),lg:Nh({stepper:{[Ph.variable]:"sizes.10",[Rh.variable]:"sizes.6",[Lh.variable]:"fontSizes.lg",[Mh.variable]:"fontSizes.md"}})},defaultProps:{size:"md",colorScheme:"blue"}});function Gh(e,t={}){let n=!1;function r(t){const n=`chakra-${(["container","root"].includes(null!=t?t:"")?[e]:[e,t]).filter(Boolean).join("__")}`;return{className:n,selector:`.${n}`,toString:()=>t}}return{parts:function(...i){!function(){if(n)throw new Error("[anatomy] .part(...) should only be called once. Did you mean to use .extend(...) ?");n=!0}();for(const e of i)t[e]=r(e);return Gh(e,t)},toPart:r,extend:function(...n){for(const e of n)e in t||(t[e]=r(e));return Gh(e,t)},selectors:function(){return Object.fromEntries(Object.entries(t).map((([e,t])=>[e,t.selector])))},classnames:function(){return Object.fromEntries(Object.entries(t).map((([e,t])=>[e,t.className])))},get keys(){return Object.keys(t)},__type:{}}}var jh=Gh("accordion").parts("root","container","button","panel").extend("icon"),Hh=Gh("alert").parts("title","description","container").extend("icon","spinner"),Uh=Gh("avatar").parts("label","badge","container").extend("excessLabel","group"),zh=Gh("breadcrumb").parts("link","item","container").extend("separator"),Vh=(Gh("button").parts(),Gh("checkbox").parts("control","icon","container").extend("label")),$h=(Gh("progress").parts("track","filledTrack").extend("label"),Gh("drawer").parts("overlay","dialogContainer","dialog").extend("header","closeButton","body","footer")),qh=Gh("editable").parts("preview","input","textarea"),Wh=Gh("form").parts("container","requiredIndicator","helperText"),Yh=Gh("formError").parts("text","icon"),Kh=Gh("input").parts("addon","field","element","group"),Xh=Gh("list").parts("container","item","icon"),Qh=Gh("menu").parts("button","list","item").extend("groupTitle","icon","command","divider"),Zh=Gh("modal").parts("overlay","dialogContainer","dialog").extend("header","closeButton","body","footer"),Jh=Gh("numberinput").parts("root","field","stepperGroup","stepper"),ep=(Gh("pininput").parts("field"),Gh("popover").parts("content","header","body","footer").extend("popper","arrow","closeButton")),tp=Gh("progress").parts("label","filledTrack","track"),np=Gh("radio").parts("container","control","label"),rp=Gh("select").parts("field","icon"),ip=Gh("slider").parts("container","track","thumb","filledTrack","mark"),op=Gh("stat").parts("container","label","helpText","number","icon"),ap=Gh("switch").parts("container","track","thumb","label"),sp=Gh("table").parts("table","thead","tbody","tr","th","td","tfoot","caption"),lp=Gh("tabs").parts("root","tab","tablist","tabpanel","tabpanels","indicator"),cp=Gh("tag").parts("container","label","closeButton"),up=Gh("card").parts("container","header","body","footer");function dp(e){const t=function(e,t="-"){return e.replace(/\s+/g,t)}(e.toString());return t.includes("\\.")?e:function(e){return!Number.isInteger(parseFloat(e.toString()))}(e)?t.replace(".","\\."):e}function fp(e,t){return`var(${dp(e)}${t?`, ${t}`:""})`}function hp(e,t){const n=function(e,t=""){return`--${function(e,t=""){return[t,dp(e)].filter(Boolean).join("-")}(e,t)}`}(e,null==t?void 0:t.prefix);return{variable:n,reference:fp(n,(r=null==t?void 0:t.fallback,"string"==typeof r?r:null==r?void 0:r.reference))};var r}function pp(e){return E(e)&&e.reference?e.reference:String(e)}Gh("stepper").parts("stepper","step","title","description","indicator","separator","icon","number");var mp=(e,...t)=>t.map(pp).join(` ${e} `).replace(/calc/g,""),gp=(...e)=>`calc(${mp("+",...e)})`,bp=(...e)=>`calc(${mp("-",...e)})`,vp=(...e)=>`calc(${mp("*",...e)})`,yp=(...e)=>`calc(${mp("/",...e)})`,Ep=e=>{const t=pp(e);return null==t||Number.isNaN(parseFloat(t))?vp(t,-1):String(t).startsWith("-")?String(t).slice(1):`-${t}`},Tp=Object.assign((e=>({add:(...t)=>Tp(gp(e,...t)),subtract:(...t)=>Tp(bp(e,...t)),multiply:(...t)=>Tp(vp(e,...t)),divide:(...t)=>Tp(yp(e,...t)),negate:()=>Tp(Ep(e)),toString:()=>e.toString()})),{add:gp,subtract:bp,multiply:vp,divide:yp,negate:Ep}),{defineMultiStyleConfig:_p,definePartsStyle:Ap}=rt(ap.keys),Sp=hp("switch-track-width"),Cp=hp("switch-track-height"),Ip=hp("switch-track-diff"),wp=Tp.subtract(Sp,Cp),xp=hp("switch-thumb-x"),Dp=hp("switch-bg"),kp=e=>{const{colorScheme:t}=e;return{borderRadius:"full",p:"0.5",width:[Sp.reference],height:[Cp.reference],transitionProperty:"common",transitionDuration:"fast",[Dp.variable]:"colors.gray.300",_dark:{[Dp.variable]:"colors.whiteAlpha.400"},_focusVisible:{boxShadow:"outline"},_disabled:{opacity:.4,cursor:"not-allowed"},_checked:{[Dp.variable]:`colors.${t}.500`,_dark:{[Dp.variable]:`colors.${t}.200`}},bg:Dp.reference}},Op={bg:"white",transitionProperty:"transform",transitionDuration:"normal",borderRadius:"inherit",width:[Cp.reference],height:[Cp.reference],_checked:{transform:`translateX(${xp.reference})`}},Np=_p({baseStyle:Ap((e=>({container:{[Ip.variable]:wp,[xp.variable]:Ip.reference,_rtl:{[xp.variable]:Tp(Ip).negate().toString()}},track:kp(e),thumb:Op}))),sizes:{sm:Ap({container:{[Sp.variable]:"1.375rem",[Cp.variable]:"sizes.3"}}),md:Ap({container:{[Sp.variable]:"1.875rem",[Cp.variable]:"sizes.4"}}),lg:Ap({container:{[Sp.variable]:"2.875rem",[Cp.variable]:"sizes.6"}})},defaultProps:{size:"md",colorScheme:"blue"}});function Pp(e,t){return n=>"dark"===n.colorMode?t:e}function Rp(e){const{orientation:t,vertical:n,horizontal:r}=e;return t?"vertical"===t?n:r:{}}var{defineMultiStyleConfig:Lp,definePartsStyle:Mp}=rt(sp.keys),Bp=Mp({table:{fontVariantNumeric:"lining-nums tabular-nums",borderCollapse:"collapse",width:"full"},th:{fontFamily:"heading",fontWeight:"bold",textTransform:"uppercase",letterSpacing:"wider",textAlign:"start"},td:{textAlign:"start"},caption:{mt:4,fontFamily:"heading",textAlign:"center",fontWeight:"medium"}}),Fp={"&[data-is-numeric=true]":{textAlign:"end"}},Gp=Lp({baseStyle:Bp,variants:{simple:Mp((e=>{const{colorScheme:t}=e;return{th:{color:Pp("gray.600","gray.400")(e),borderBottom:"1px",borderColor:Pp(`${t}.100`,`${t}.700`)(e),...Fp},td:{borderBottom:"1px",borderColor:Pp(`${t}.100`,`${t}.700`)(e),...Fp},caption:{color:Pp("gray.600","gray.100")(e)},tfoot:{tr:{"&:last-of-type":{th:{borderBottomWidth:0}}}}}})),striped:Mp((e=>{const{colorScheme:t}=e;return{th:{color:Pp("gray.600","gray.400")(e),borderBottom:"1px",borderColor:Pp(`${t}.100`,`${t}.700`)(e),...Fp},td:{borderBottom:"1px",borderColor:Pp(`${t}.100`,`${t}.700`)(e),...Fp},caption:{color:Pp("gray.600","gray.100")(e)},tbody:{tr:{"&:nth-of-type(odd)":{"th, td":{borderBottomWidth:"1px",borderColor:Pp(`${t}.100`,`${t}.700`)(e)},td:{background:Pp(`${t}.100`,`${t}.700`)(e)}}}},tfoot:{tr:{"&:last-of-type":{th:{borderBottomWidth:0}}}}}})),unstyled:{}},sizes:{sm:Mp({th:{px:"4",py:"1",lineHeight:"4",fontSize:"xs"},td:{px:"4",py:"2",fontSize:"sm",lineHeight:"4"},caption:{px:"4",py:"2",fontSize:"xs"}}),md:Mp({th:{px:"6",py:"3",lineHeight:"4",fontSize:"xs"},td:{px:"6",py:"4",lineHeight:"5"},caption:{px:"6",py:"2",fontSize:"sm"}}),lg:Mp({th:{px:"8",py:"4",lineHeight:"5",fontSize:"sm"},td:{px:"8",py:"5",lineHeight:"6"},caption:{px:"6",py:"2",fontSize:"md"}})},defaultProps:{variant:"simple",size:"md",colorScheme:"gray"}});function jp(e,t,n){return Math.min(Math.max(e,n),t)}class Hp extends Error{constructor(e){super(`Failed to parse color: "${e}"`)}}var Up=Hp;function zp(e){if("string"!=typeof e)throw new Up(e);if("transparent"===e.trim().toLowerCase())return[0,0,0,0];let t=e.trim();t=Qp.test(e)?function(e){const t=e.toLowerCase().trim(),n=$p[function(e){let t=5381,n=e.length;for(;n;)t=33*t^e.charCodeAt(--n);return(t>>>0)%2341}(t)];if(!n)throw new Up(e);return`#${n}`}(e):e;const n=Wp.exec(t);if(n){const e=Array.from(n).slice(1);return[...e.slice(0,3).map((e=>parseInt(qp(e,2),16))),parseInt(qp(e[3]||"f",2),16)/255]}const r=Yp.exec(t);if(r){const e=Array.from(r).slice(1);return[...e.slice(0,3).map((e=>parseInt(e,16))),parseInt(e[3]||"ff",16)/255]}const i=Kp.exec(t);if(i){const e=Array.from(i).slice(1);return[...e.slice(0,3).map((e=>parseInt(e,10))),parseFloat(e[3]||"1")]}const o=Xp.exec(t);if(o){const[t,n,r,i]=Array.from(o).slice(1).map(parseFloat);if(jp(0,100,n)!==n)throw new Up(e);if(jp(0,100,r)!==r)throw new Up(e);return[...Jp(t,n,r),Number.isNaN(i)?1:i]}throw new Up(e)}const Vp=e=>parseInt(e.replace(/_/g,""),36),$p="1q29ehhb 1n09sgk7 1kl1ekf_ _yl4zsno 16z9eiv3 1p29lhp8 _bd9zg04 17u0____ _iw9zhe5 _to73___ _r45e31e _7l6g016 _jh8ouiv _zn3qba8 1jy4zshs 11u87k0u 1ro9yvyo 1aj3xael 1gz9zjz0 _3w8l4xo 1bf1ekf_ _ke3v___ _4rrkb__ 13j776yz _646mbhl _nrjr4__ _le6mbhl 1n37ehkb _m75f91n _qj3bzfz 1939yygw 11i5z6x8 _1k5f8xs 1509441m 15t5lwgf _ae2th1n _tg1ugcv 1lp1ugcv 16e14up_ _h55rw7n _ny9yavn _7a11xb_ 1ih442g9 _pv442g9 1mv16xof 14e6y7tu 1oo9zkds 17d1cisi _4v9y70f _y98m8kc 1019pq0v 12o9zda8 _348j4f4 1et50i2o _8epa8__ _ts6senj 1o350i2o 1mi9eiuo 1259yrp0 1ln80gnw _632xcoy 1cn9zldc _f29edu4 1n490c8q _9f9ziet 1b94vk74 _m49zkct 1kz6s73a 1eu9dtog _q58s1rz 1dy9sjiq __u89jo3 _aj5nkwg _ld89jo3 13h9z6wx _qa9z2ii _l119xgq _bs5arju 1hj4nwk9 1qt4nwk9 1ge6wau6 14j9zlcw 11p1edc_ _ms1zcxe _439shk6 _jt9y70f _754zsow 1la40eju _oq5p___ _x279qkz 1fa5r3rv _yd2d9ip _424tcku _8y1di2_ _zi2uabw _yy7rn9h 12yz980_ __39ljp6 1b59zg0x _n39zfzp 1fy9zest _b33k___ _hp9wq92 1il50hz4 _io472ub _lj9z3eo 19z9ykg0 _8t8iu3a 12b9bl4a 1ak5yw0o _896v4ku _tb8k8lv _s59zi6t _c09ze0p 1lg80oqn 1id9z8wb _238nba5 1kq6wgdi _154zssg _tn3zk49 _da9y6tc 1sg7cv4f _r12jvtt 1gq5fmkz 1cs9rvci _lp9jn1c _xw1tdnb 13f9zje6 16f6973h _vo7ir40 _bt5arjf _rc45e4t _hr4e100 10v4e100 _hc9zke2 _w91egv_ _sj2r1kk 13c87yx8 _vqpds__ _ni8ggk8 _tj9yqfb 1ia2j4r4 _7x9b10u 1fc9ld4j 1eq9zldr _5j9lhpx _ez9zl6o _md61fzm".split(" ").reduce(((e,t)=>{const n=Vp(t.substring(0,3)),r=Vp(t.substring(3)).toString(16);let i="";for(let e=0;e<6-r.length;e++)i+="0";return e[n]=`${i}${r}`,e}),{}),qp=(e,t)=>Array.from(Array(t)).map((()=>e)).join(""),Wp=new RegExp(`^#${qp("([a-f0-9])",3)}([a-f0-9])?$`,"i"),Yp=new RegExp(`^#${qp("([a-f0-9]{2})",3)}([a-f0-9]{2})?$`,"i"),Kp=new RegExp(`^rgba?\\(\\s*(\\d+)\\s*${qp(",\\s*(\\d+)\\s*",2)}(?:,\\s*([\\d.]+))?\\s*\\)$`,"i"),Xp=/^hsla?\(\s*([\d.]+)\s*,\s*([\d.]+)%\s*,\s*([\d.]+)%(?:\s*,\s*([\d.]+))?\s*\)$/i,Qp=/^[a-z]+$/i,Zp=e=>Math.round(255*e),Jp=(e,t,n)=>{let r=n/100;if(0===t)return[r,r,r].map(Zp);const i=(e%360+360)%360/60,o=(1-Math.abs(2*r-1))*(t/100),a=o*(1-Math.abs(i%2-1));let s=0,l=0,c=0;i>=0&&i<1?(s=o,l=a):i>=1&&i<2?(s=a,l=o):i>=2&&i<3?(l=o,c=a):i>=3&&i<4?(l=a,c=o):i>=4&&i<5?(s=a,c=o):i>=5&&i<6&&(s=o,c=a);const u=r-o/2;return[s+u,l+u,c+u].map(Zp)};function em(e,t){const[n,r,i,o]=zp(e);return function(e,t,n,r){return`rgba(${jp(0,255,e).toFixed()}, ${jp(0,255,t).toFixed()}, ${jp(0,255,n).toFixed()}, ${parseFloat(jp(0,1,r).toFixed(3))})`}(n,r,i,o-t)}var tm=(e,t,n)=>{const r=function(e,t,n,r,i){for(t=t.split?t.split("."):t,r=0;r<t.length;r++)e=e?e[t[r]]:i;return e===i?n:e}(e,`colors.${t}`,t);try{return function(e){const[t,n,r,i]=zp(e);let o=e=>{const t=jp(0,255,e).toString(16);return 1===t.length?`0${t}`:t};o(t),o(n),o(r),i<1&&o(Math.round(255*i))}(r),r}catch{return null!=n?n:"#000000"}},nm=(e,t)=>n=>em(tm(n,e),1-t);function rm(e="1rem",t="rgba(255, 255, 255, 0.15)"){return{backgroundImage:`linear-gradient(\n 45deg,\n ${t} 25%,\n transparent 25%,\n transparent 50%,\n ${t} 50%,\n ${t} 75%,\n transparent 75%,\n transparent\n )`,backgroundSize:`${e} ${e}`}}var im=Ae("tabs-color"),om=Ae("tabs-bg"),am=Ae("tabs-border-color"),{defineMultiStyleConfig:sm,definePartsStyle:lm}=rt(lp.keys),cm=e=>{const{orientation:t}=e;return{display:"vertical"===t?"flex":"block"}},um=e=>{const{isFitted:t}=e;return{flex:t?1:void 0,transitionProperty:"common",transitionDuration:"normal",_focusVisible:{zIndex:1,boxShadow:"outline"},_disabled:{cursor:"not-allowed",opacity:.4}}},dm=e=>{const{align:t="start",orientation:n}=e;return{justifyContent:{end:"flex-end",center:"center",start:"flex-start"}[t],flexDirection:"vertical"===n?"column":"row"}},fm={p:4},hm=lm((e=>({root:cm(e),tab:um(e),tablist:dm(e),tabpanel:fm}))),pm={sm:lm({tab:{py:1,px:4,fontSize:"sm"}}),md:lm({tab:{fontSize:"md",py:2,px:4}}),lg:lm({tab:{fontSize:"lg",py:3,px:4}})},mm=lm((e=>{const{colorScheme:t,orientation:n}=e,r="vertical"===n,i=r?"borderStart":"borderBottom";return{tablist:{[i]:"2px solid",borderColor:"inherit"},tab:{[i]:"2px solid",borderColor:"transparent",[r?"marginStart":"marginBottom"]:"-2px",_selected:{[im.variable]:`colors.${t}.600`,_dark:{[im.variable]:`colors.${t}.300`},borderColor:"currentColor"},_active:{[om.variable]:"colors.gray.200",_dark:{[om.variable]:"colors.whiteAlpha.300"}},_disabled:{_active:{bg:"none"}},color:im.reference,bg:om.reference}}})),gm=lm((e=>{const{colorScheme:t}=e;return{tab:{borderTopRadius:"md",border:"1px solid",borderColor:"transparent",mb:"-1px",[am.variable]:"transparent",_selected:{[im.variable]:`colors.${t}.600`,[am.variable]:"colors.white",_dark:{[im.variable]:`colors.${t}.300`,[am.variable]:"colors.gray.800"},borderColor:"inherit",borderBottomColor:am.reference},color:im.reference},tablist:{mb:"-1px",borderBottom:"1px solid",borderColor:"inherit"}}})),bm=lm((e=>{const{colorScheme:t}=e;return{tab:{border:"1px solid",borderColor:"inherit",[om.variable]:"colors.gray.50",_dark:{[om.variable]:"colors.whiteAlpha.50"},mb:"-1px",_notLast:{marginEnd:"-1px"},_selected:{[om.variable]:"colors.white",[im.variable]:`colors.${t}.600`,_dark:{[om.variable]:"colors.gray.800",[im.variable]:`colors.${t}.300`},borderColor:"inherit",borderTopColor:"currentColor",borderBottomColor:"transparent"},color:im.reference,bg:om.reference},tablist:{mb:"-1px",borderBottom:"1px solid",borderColor:"inherit"}}})),vm=lm((e=>{const{colorScheme:t,theme:n}=e;return{tab:{borderRadius:"full",fontWeight:"semibold",color:"gray.600",_selected:{color:tm(n,`${t}.700`),bg:tm(n,`${t}.100`)}}}})),ym=sm({baseStyle:hm,sizes:pm,variants:{line:mm,enclosed:gm,"enclosed-colored":bm,"soft-rounded":vm,"solid-rounded":lm((e=>{const{colorScheme:t}=e;return{tab:{borderRadius:"full",fontWeight:"semibold",[im.variable]:"colors.gray.600",_dark:{[im.variable]:"inherit"},_selected:{[im.variable]:"colors.white",[om.variable]:`colors.${t}.600`,_dark:{[im.variable]:"colors.gray.800",[om.variable]:`colors.${t}.300`}},color:im.reference,bg:om.reference}}})),unstyled:lm({})},defaultProps:{size:"md",variant:"line",colorScheme:"blue"}}),Em=function(e,t){const n={};for(const t of["bg","color","shadow"])if(Array.isArray(t)){const[r,i]=t;n[r]=Ae(`${e}-${r}`,i)}else n[t]=Ae(`${e}-${t}`);return n}("badge"),Tm={baseStyle:{px:1,textTransform:"uppercase",fontSize:"xs",borderRadius:"sm",fontWeight:"bold",bg:Em.bg.reference,color:Em.color.reference,boxShadow:Em.shadow.reference},variants:{solid:e=>{const{colorScheme:t,theme:n}=e,r=nm(`${t}.500`,.6)(n);return{[Em.bg.variable]:`colors.${t}.500`,[Em.color.variable]:"colors.white",_dark:{[Em.bg.variable]:r,[Em.color.variable]:"colors.whiteAlpha.800"}}},subtle:e=>{const{colorScheme:t,theme:n}=e,r=nm(`${t}.200`,.16)(n);return{[Em.bg.variable]:`colors.${t}.100`,[Em.color.variable]:`colors.${t}.800`,_dark:{[Em.bg.variable]:r,[Em.color.variable]:`colors.${t}.200`}}},outline:e=>{const{colorScheme:t,theme:n}=e,r=nm(`${t}.200`,.8)(n);return{[Em.color.variable]:`colors.${t}.500`,_dark:{[Em.color.variable]:r},[Em.shadow.variable]:`inset 0 0 0px 1px ${Em.color.reference}`}}},defaultProps:{variant:"subtle",colorScheme:"gray"}},{defineMultiStyleConfig:_m,definePartsStyle:Am}=rt(cp.keys),Sm=Ae("tag-bg"),Cm=Ae("tag-color"),Im=Ae("tag-shadow"),wm=Ae("tag-min-height"),xm=Ae("tag-min-width"),Dm=Ae("tag-font-size"),km=Ae("tag-padding-inline"),Om=Am({container:{fontWeight:"medium",lineHeight:1.2,outline:0,[Cm.variable]:Em.color.reference,[Sm.variable]:Em.bg.reference,[Im.variable]:Em.shadow.reference,color:Cm.reference,bg:Sm.reference,boxShadow:Im.reference,borderRadius:"md",minH:wm.reference,minW:xm.reference,fontSize:Dm.reference,px:km.reference,_focusVisible:{[Im.variable]:"shadows.outline"}},label:{lineHeight:1.2,overflow:"visible"},closeButton:{fontSize:"lg",w:"5",h:"5",transitionProperty:"common",transitionDuration:"normal",borderRadius:"full",marginStart:"1.5",marginEnd:"-1",opacity:.5,_disabled:{opacity:.4},_focusVisible:{boxShadow:"outline",bg:"rgba(0, 0, 0, 0.14)"},_hover:{opacity:.8},_active:{opacity:1}}}),Nm={sm:Am({container:{[wm.variable]:"sizes.5",[xm.variable]:"sizes.5",[Dm.variable]:"fontSizes.xs",[km.variable]:"space.2"},closeButton:{marginEnd:"-2px",marginStart:"0.35rem"}}),md:Am({container:{[wm.variable]:"sizes.6",[xm.variable]:"sizes.6",[Dm.variable]:"fontSizes.sm",[km.variable]:"space.2"}}),lg:Am({container:{[wm.variable]:"sizes.8",[xm.variable]:"sizes.8",[Dm.variable]:"fontSizes.md",[km.variable]:"space.3"}})},Pm={subtle:Am((e=>{var t;return{container:null==(t=Tm.variants)?void 0:t.subtle(e)}})),solid:Am((e=>{var t;return{container:null==(t=Tm.variants)?void 0:t.solid(e)}})),outline:Am((e=>{var t;return{container:null==(t=Tm.variants)?void 0:t.outline(e)}}))},Rm=_m({variants:Pm,baseStyle:Om,sizes:Nm,defaultProps:{size:"md",variant:"subtle",colorScheme:"gray"}}),{definePartsStyle:Lm,defineMultiStyleConfig:Mm}=rt(Kh.keys),Bm=Ae("input-height"),Fm=Ae("input-font-size"),Gm=Ae("input-padding"),jm=Ae("input-border-radius"),Hm=Lm({addon:{height:Bm.reference,fontSize:Fm.reference,px:Gm.reference,borderRadius:jm.reference},field:{width:"100%",height:Bm.reference,fontSize:Fm.reference,px:Gm.reference,borderRadius:jm.reference,minWidth:0,outline:0,position:"relative",appearance:"none",transitionProperty:"common",transitionDuration:"normal",_disabled:{opacity:.4,cursor:"not-allowed"}}}),Um={lg:{[Fm.variable]:"fontSizes.lg",[Gm.variable]:"space.4",[jm.variable]:"radii.md",[Bm.variable]:"sizes.12"},md:{[Fm.variable]:"fontSizes.md",[Gm.variable]:"space.4",[jm.variable]:"radii.md",[Bm.variable]:"sizes.10"},sm:{[Fm.variable]:"fontSizes.sm",[Gm.variable]:"space.3",[jm.variable]:"radii.sm",[Bm.variable]:"sizes.8"},xs:{[Fm.variable]:"fontSizes.xs",[Gm.variable]:"space.2",[jm.variable]:"radii.sm",[Bm.variable]:"sizes.6"}},zm={lg:Lm({field:Um.lg,group:Um.lg}),md:Lm({field:Um.md,group:Um.md}),sm:Lm({field:Um.sm,group:Um.sm}),xs:Lm({field:Um.xs,group:Um.xs})};function Vm(e){const{focusBorderColor:t,errorBorderColor:n}=e;return{focusBorderColor:t||Pp("blue.500","blue.300")(e),errorBorderColor:n||Pp("red.500","red.300")(e)}}var $m,qm,Wm,Ym,Km,Xm,Qm,Zm,Jm,eg,tg,ng=Lm((e=>{const{theme:t}=e,{focusBorderColor:n,errorBorderColor:r}=Vm(e);return{field:{border:"1px solid",borderColor:"inherit",bg:"inherit",_hover:{borderColor:Pp("gray.300","whiteAlpha.400")(e)},_readOnly:{boxShadow:"none !important",userSelect:"all"},_invalid:{borderColor:tm(t,r),boxShadow:`0 0 0 1px ${tm(t,r)}`},_focusVisible:{zIndex:1,borderColor:tm(t,n),boxShadow:`0 0 0 1px ${tm(t,n)}`}},addon:{border:"1px solid",borderColor:Pp("inherit","whiteAlpha.50")(e),bg:Pp("gray.100","whiteAlpha.300")(e)}}})),rg=Lm((e=>{const{theme:t}=e,{focusBorderColor:n,errorBorderColor:r}=Vm(e);return{field:{border:"2px solid",borderColor:"transparent",bg:Pp("gray.100","whiteAlpha.50")(e),_hover:{bg:Pp("gray.200","whiteAlpha.100")(e)},_readOnly:{boxShadow:"none !important",userSelect:"all"},_invalid:{borderColor:tm(t,r)},_focusVisible:{bg:"transparent",borderColor:tm(t,n)}},addon:{border:"2px solid",borderColor:"transparent",bg:Pp("gray.100","whiteAlpha.50")(e)}}})),ig=Lm((e=>{const{theme:t}=e,{focusBorderColor:n,errorBorderColor:r}=Vm(e);return{field:{borderBottom:"1px solid",borderColor:"inherit",borderRadius:"0",px:"0",bg:"transparent",_readOnly:{boxShadow:"none !important",userSelect:"all"},_invalid:{borderColor:tm(t,r),boxShadow:`0px 1px 0px 0px ${tm(t,r)}`},_focusVisible:{borderColor:tm(t,n),boxShadow:`0px 1px 0px 0px ${tm(t,n)}`}},addon:{borderBottom:"2px solid",borderColor:"inherit",borderRadius:"0",px:"0",bg:"transparent"}}})),og=Mm({baseStyle:Hm,sizes:zm,variants:{outline:ng,filled:rg,flushed:ig,unstyled:Lm({field:{bg:"transparent",px:"0",height:"auto"},addon:{bg:"transparent",px:"0",height:"auto"}})},defaultProps:{size:"md",variant:"outline"}}),ag={...null==($m=og.baseStyle)?void 0:$m.field,paddingY:"2",minHeight:"20",lineHeight:"short",verticalAlign:"top"},sg={outline:e=>{var t,n;return null!=(n=null==(t=og.variants)?void 0:t.outline(e).field)?n:{}},flushed:e=>{var t,n;return null!=(n=null==(t=og.variants)?void 0:t.flushed(e).field)?n:{}},filled:e=>{var t,n;return null!=(n=null==(t=og.variants)?void 0:t.filled(e).field)?n:{}},unstyled:null!=(Wm=null==(qm=og.variants)?void 0:qm.unstyled.field)?Wm:{}},lg={baseStyle:ag,sizes:{xs:null!=(Km=null==(Ym=og.sizes)?void 0:Ym.xs.field)?Km:{},sm:null!=(Qm=null==(Xm=og.sizes)?void 0:Xm.sm.field)?Qm:{},md:null!=(Jm=null==(Zm=og.sizes)?void 0:Zm.md.field)?Jm:{},lg:null!=(tg=null==(eg=og.sizes)?void 0:eg.lg.field)?tg:{}},variants:sg,defaultProps:{size:"md",variant:"outline"}},cg=hp("tooltip-bg"),ug=hp("tooltip-fg"),dg=hp("popper-arrow-bg"),fg={baseStyle:{bg:cg.reference,color:ug.reference,[cg.variable]:"colors.gray.700",[ug.variable]:"colors.whiteAlpha.900",_dark:{[cg.variable]:"colors.gray.300",[ug.variable]:"colors.gray.900"},[dg.variable]:cg.reference,px:"2",py:"0.5",borderRadius:"sm",fontWeight:"medium",fontSize:"sm",boxShadow:"md",maxW:"xs",zIndex:"tooltip"}},{defineMultiStyleConfig:hg,definePartsStyle:pg}=rt(tp.keys),mg=e=>{const{colorScheme:t,theme:n,isIndeterminate:r,hasStripe:i}=e,o=Pp(rm(),rm("1rem","rgba(0,0,0,0.1)"))(e),a=Pp(`${t}.500`,`${t}.200`)(e),s=`linear-gradient(\n to right,\n transparent 0%,\n ${tm(n,a)} 50%,\n transparent 100%\n )`;return{...!r&&i&&o,...r?{bgImage:s}:{bgColor:a}}},gg={lineHeight:"1",fontSize:"0.25em",fontWeight:"bold",color:"white"},bg=e=>({bg:Pp("gray.100","whiteAlpha.300")(e)}),vg=e=>({transitionProperty:"common",transitionDuration:"slow",...mg(e)}),yg=pg((e=>({label:gg,filledTrack:vg(e),track:bg(e)}))),Eg=hg({sizes:{xs:pg({track:{h:"1"}}),sm:pg({track:{h:"2"}}),md:pg({track:{h:"3"}}),lg:pg({track:{h:"4"}})},baseStyle:yg,defaultProps:{size:"md",colorScheme:"blue"}});function Tg(e,...t){return"function"==typeof e?e(...t):e}var _g,Ag,Sg,Cg,Ig,wg,xg,Dg,kg,{definePartsStyle:Og,defineMultiStyleConfig:Ng}=rt(Vh.keys),Pg=Ae("checkbox-size"),Rg=e=>{const{colorScheme:t}=e;return{w:Pg.reference,h:Pg.reference,transitionProperty:"box-shadow",transitionDuration:"normal",border:"2px solid",borderRadius:"sm",borderColor:"inherit",color:"white",_checked:{bg:Pp(`${t}.500`,`${t}.200`)(e),borderColor:Pp(`${t}.500`,`${t}.200`)(e),color:Pp("white","gray.900")(e),_hover:{bg:Pp(`${t}.600`,`${t}.300`)(e),borderColor:Pp(`${t}.600`,`${t}.300`)(e)},_disabled:{borderColor:Pp("gray.200","transparent")(e),bg:Pp("gray.200","whiteAlpha.300")(e),color:Pp("gray.500","whiteAlpha.500")(e)}},_indeterminate:{bg:Pp(`${t}.500`,`${t}.200`)(e),borderColor:Pp(`${t}.500`,`${t}.200`)(e),color:Pp("white","gray.900")(e)},_disabled:{bg:Pp("gray.100","whiteAlpha.100")(e),borderColor:Pp("gray.100","transparent")(e)},_focusVisible:{boxShadow:"outline"},_invalid:{borderColor:Pp("red.500","red.300")(e)}}},Lg={_disabled:{cursor:"not-allowed"}},Mg={userSelect:"none",_disabled:{opacity:.4}},Bg={transitionProperty:"transform",transitionDuration:"normal"},Fg=Ng({baseStyle:Og((e=>({icon:Bg,container:Lg,control:Tg(Rg,e),label:Mg}))),sizes:{sm:Og({control:{[Pg.variable]:"sizes.3"},label:{fontSize:"sm"},icon:{fontSize:"3xs"}}),md:Og({control:{[Pg.variable]:"sizes.4"},label:{fontSize:"md"},icon:{fontSize:"2xs"}}),lg:Og({control:{[Pg.variable]:"sizes.5"},label:{fontSize:"lg"},icon:{fontSize:"2xs"}})},defaultProps:{size:"md",colorScheme:"blue"}}),{defineMultiStyleConfig:Gg,definePartsStyle:jg}=rt(np.keys),Hg=e=>{var t;const n=null==(t=Tg(Fg.baseStyle,e))?void 0:t.control;return{...n,borderRadius:"full",_checked:{...null==n?void 0:n._checked,_before:{content:'""',display:"inline-block",pos:"relative",w:"50%",h:"50%",borderRadius:"50%",bg:"currentColor"}}}},Ug=jg((e=>{var t,n,r,i;return{label:null==(n=(t=Fg).baseStyle)?void 0:n.call(t,e).label,container:null==(i=(r=Fg).baseStyle)?void 0:i.call(r,e).container,control:Hg(e)}})),zg=Gg({baseStyle:Ug,sizes:{md:jg({control:{w:"4",h:"4"},label:{fontSize:"md"}}),lg:jg({control:{w:"5",h:"5"},label:{fontSize:"lg"}}),sm:jg({control:{width:"3",height:"3"},label:{fontSize:"sm"}})},defaultProps:{size:"md",colorScheme:"blue"}}),{defineMultiStyleConfig:Vg,definePartsStyle:$g}=rt(rp.keys),qg=Ae("select-bg"),Wg={paddingInlineEnd:"8"},Yg=Vg({baseStyle:$g({field:{...null==(_g=og.baseStyle)?void 0:_g.field,appearance:"none",paddingBottom:"1px",lineHeight:"normal",bg:qg.reference,[qg.variable]:"colors.white",_dark:{[qg.variable]:"colors.gray.700"},"> option, > optgroup":{bg:qg.reference}},icon:{width:"6",height:"100%",insetEnd:"2",position:"relative",color:"currentColor",fontSize:"xl",_disabled:{opacity:.5}}}),sizes:{lg:{...null==(Ag=og.sizes)?void 0:Ag.lg,field:{...null==(Sg=og.sizes)?void 0:Sg.lg.field,...Wg}},md:{...null==(Cg=og.sizes)?void 0:Cg.md,field:{...null==(Ig=og.sizes)?void 0:Ig.md.field,...Wg}},sm:{...null==(wg=og.sizes)?void 0:wg.sm,field:{...null==(xg=og.sizes)?void 0:xg.sm.field,...Wg}},xs:{...null==(Dg=og.sizes)?void 0:Dg.xs,field:{...null==(kg=og.sizes)?void 0:kg.xs.field,...Wg},icon:{insetEnd:"1"}}},variants:og.variants,defaultProps:og.defaultProps}),Kg=Ae("skeleton-start-color"),Xg=Ae("skeleton-end-color"),Qg={baseStyle:{[Kg.variable]:"colors.gray.100",[Xg.variable]:"colors.gray.400",_dark:{[Kg.variable]:"colors.gray.800",[Xg.variable]:"colors.gray.600"},background:Kg.reference,borderColor:Xg.reference,opacity:.7,borderRadius:"sm"}},Zg=Ae("skip-link-bg"),Jg={baseStyle:{borderRadius:"md",fontWeight:"semibold",_focusVisible:{boxShadow:"outline",padding:"4",position:"fixed",top:"6",insetStart:"6",[Zg.variable]:"colors.white",_dark:{[Zg.variable]:"colors.gray.700"},bg:Zg.reference}}},{defineMultiStyleConfig:eb,definePartsStyle:tb}=rt(ip.keys),nb=Ae("slider-thumb-size"),rb=Ae("slider-track-size"),ib=Ae("slider-bg"),ob=e=>{const{orientation:t}=e;return{display:"inline-block",position:"relative",cursor:"pointer",_disabled:{opacity:.6,cursor:"default",pointerEvents:"none"},...Rp({orientation:t,vertical:{h:"100%"},horizontal:{w:"100%"}})}},ab=e=>({...Rp({orientation:e.orientation,horizontal:{h:rb.reference},vertical:{w:rb.reference}}),overflow:"hidden",borderRadius:"sm",[ib.variable]:"colors.gray.200",_dark:{[ib.variable]:"colors.whiteAlpha.200"},_disabled:{[ib.variable]:"colors.gray.300",_dark:{[ib.variable]:"colors.whiteAlpha.300"}},bg:ib.reference}),sb=e=>{const{orientation:t}=e;return{...Rp({orientation:t,vertical:{left:"50%",transform:"translateX(-50%)",_active:{transform:"translateX(-50%) scale(1.15)"}},horizontal:{top:"50%",transform:"translateY(-50%)",_active:{transform:"translateY(-50%) scale(1.15)"}}}),w:nb.reference,h:nb.reference,display:"flex",alignItems:"center",justifyContent:"center",position:"absolute",outline:0,zIndex:1,borderRadius:"full",bg:"white",boxShadow:"base",border:"1px solid",borderColor:"transparent",transitionProperty:"transform",transitionDuration:"normal",_focusVisible:{boxShadow:"outline"},_disabled:{bg:"gray.300"}}},lb=e=>{const{colorScheme:t}=e;return{width:"inherit",height:"inherit",[ib.variable]:`colors.${t}.500`,_dark:{[ib.variable]:`colors.${t}.200`},bg:ib.reference}},cb=eb({baseStyle:tb((e=>({container:ob(e),track:ab(e),thumb:sb(e),filledTrack:lb(e)}))),sizes:{lg:tb({container:{[nb.variable]:"sizes.4",[rb.variable]:"sizes.1"}}),md:tb({container:{[nb.variable]:"sizes.3.5",[rb.variable]:"sizes.1"}}),sm:tb({container:{[nb.variable]:"sizes.2.5",[rb.variable]:"sizes.0.5"}})},defaultProps:{size:"md",colorScheme:"blue"}}),ub=hp("spinner-size"),db={baseStyle:{width:[ub.reference],height:[ub.reference]},sizes:{xs:{[ub.variable]:"sizes.3"},sm:{[ub.variable]:"sizes.4"},md:{[ub.variable]:"sizes.6"},lg:{[ub.variable]:"sizes.8"},xl:{[ub.variable]:"sizes.12"}},defaultProps:{size:"md"}},{defineMultiStyleConfig:fb,definePartsStyle:hb}=rt(op.keys),pb=fb({baseStyle:hb({container:{},label:{fontWeight:"medium"},helpText:{opacity:.8,marginBottom:"2"},number:{verticalAlign:"baseline",fontWeight:"semibold"},icon:{marginEnd:1,w:"3.5",h:"3.5",verticalAlign:"middle"}}),sizes:{md:hb({label:{fontSize:"sm"},helpText:{fontSize:"sm"},number:{fontSize:"2xl"}})},defaultProps:{size:"md"}}),mb=Ae("kbd-bg"),gb={baseStyle:{[mb.variable]:"colors.gray.100",_dark:{[mb.variable]:"colors.whiteAlpha.100"},bg:mb.reference,borderRadius:"md",borderWidth:"1px",borderBottomWidth:"3px",fontSize:"0.8em",fontWeight:"bold",lineHeight:"normal",px:"0.4em",whiteSpace:"nowrap"}},{defineMultiStyleConfig:bb,definePartsStyle:vb}=rt(Xh.keys),yb=bb({baseStyle:vb({icon:{marginEnd:"2",display:"inline",verticalAlign:"text-bottom"}})}),{defineMultiStyleConfig:Eb,definePartsStyle:Tb}=rt(Qh.keys),_b=Ae("menu-bg"),Ab=Ae("menu-shadow"),Sb=Eb({baseStyle:Tb({button:{transitionProperty:"common",transitionDuration:"normal"},list:{[_b.variable]:"#fff",[Ab.variable]:"shadows.sm",_dark:{[_b.variable]:"colors.gray.700",[Ab.variable]:"shadows.dark-lg"},color:"inherit",minW:"3xs",py:"2",zIndex:1,borderRadius:"md",borderWidth:"1px",bg:_b.reference,boxShadow:Ab.reference},item:{py:"1.5",px:"3",transitionProperty:"background",transitionDuration:"ultra-fast",transitionTimingFunction:"ease-in",_focus:{[_b.variable]:"colors.gray.100",_dark:{[_b.variable]:"colors.whiteAlpha.100"}},_active:{[_b.variable]:"colors.gray.200",_dark:{[_b.variable]:"colors.whiteAlpha.200"}},_expanded:{[_b.variable]:"colors.gray.100",_dark:{[_b.variable]:"colors.whiteAlpha.100"}},_disabled:{opacity:.4,cursor:"not-allowed"},bg:_b.reference},groupTitle:{mx:4,my:2,fontWeight:"semibold",fontSize:"sm"},icon:{display:"inline-flex",alignItems:"center",justifyContent:"center",flexShrink:0},command:{opacity:.6},divider:{border:0,borderBottom:"1px solid",borderColor:"inherit",my:"2",opacity:.6}})}),{defineMultiStyleConfig:Cb,definePartsStyle:Ib}=rt(Zh.keys),wb=Ae("modal-bg"),xb=Ae("modal-shadow"),Db={bg:"blackAlpha.600",zIndex:"modal"},kb=e=>{const{isCentered:t,scrollBehavior:n}=e;return{display:"flex",zIndex:"modal",justifyContent:"center",alignItems:t?"center":"flex-start",overflow:"inside"===n?"hidden":"auto",overscrollBehaviorY:"none"}},Ob=e=>{const{isCentered:t,scrollBehavior:n}=e;return{borderRadius:"md",color:"inherit",my:t?"auto":"16",mx:t?"auto":void 0,zIndex:"modal",maxH:"inside"===n?"calc(100% - 7.5rem)":void 0,[wb.variable]:"colors.white",[xb.variable]:"shadows.lg",_dark:{[wb.variable]:"colors.gray.700",[xb.variable]:"shadows.dark-lg"},bg:wb.reference,boxShadow:xb.reference}},Nb={px:"6",py:"4",fontSize:"xl",fontWeight:"semibold"},Pb={position:"absolute",top:"2",insetEnd:"3"},Rb=e=>{const{scrollBehavior:t}=e;return{px:"6",py:"2",flex:"1",overflow:"inside"===t?"auto":void 0}},Lb={px:"6",py:"4"};function Mb(e){return Ib("full"===e?{dialog:{maxW:"100vw",minH:"$100vh",my:"0",borderRadius:"0"}}:{dialog:{maxW:e}})}var Bb=Cb({baseStyle:Ib((e=>({overlay:Db,dialogContainer:Tg(kb,e),dialog:Tg(Ob,e),header:Nb,closeButton:Pb,body:Tg(Rb,e),footer:Lb}))),sizes:{xs:Mb("xs"),sm:Mb("sm"),md:Mb("md"),lg:Mb("lg"),xl:Mb("xl"),"2xl":Mb("2xl"),"3xl":Mb("3xl"),"4xl":Mb("4xl"),"5xl":Mb("5xl"),"6xl":Mb("6xl"),full:Mb("full")},defaultProps:{size:"md"}}),{defineMultiStyleConfig:Fb,definePartsStyle:Gb}=rt(Jh.keys),jb=hp("number-input-stepper-width"),Hb=hp("number-input-input-padding"),Ub=Tp(jb).add("0.5rem").toString(),zb=hp("number-input-bg"),Vb=hp("number-input-color"),$b=hp("number-input-border-color"),qb={[jb.variable]:"sizes.6",[Hb.variable]:Ub},Wb=e=>{var t,n;return null!=(n=null==(t=Tg(og.baseStyle,e))?void 0:t.field)?n:{}},Yb={width:jb.reference},Kb={borderStart:"1px solid",borderStartColor:$b.reference,color:Vb.reference,bg:zb.reference,[Vb.variable]:"colors.chakra-body-text",[$b.variable]:"colors.chakra-border-color",_dark:{[Vb.variable]:"colors.whiteAlpha.800",[$b.variable]:"colors.whiteAlpha.300"},_active:{[zb.variable]:"colors.gray.200",_dark:{[zb.variable]:"colors.whiteAlpha.300"}},_disabled:{opacity:.4,cursor:"not-allowed"}},Xb=Gb((e=>{var t;return{root:qb,field:null!=(t=Tg(Wb,e))?t:{},stepperGroup:Yb,stepper:Kb}}));function Qb(e){var t,n,r;const i=null==(t=og.sizes)?void 0:t[e],o={lg:"md",md:"md",sm:"sm",xs:"sm"},a=null!=(r=null==(n=i.field)?void 0:n.fontSize)?r:"md",s=wh.fontSizes[a];return Gb({field:{...i.field,paddingInlineEnd:Hb.reference,verticalAlign:"top"},stepper:{fontSize:Tp(s).multiply(.75).toString(),_first:{borderTopEndRadius:o[e]},_last:{borderBottomEndRadius:o[e],mt:"-1px",borderTopWidth:1}}})}var Zb,Jb,ev,tv=Fb({baseStyle:Xb,sizes:{xs:Qb("xs"),sm:Qb("sm"),md:Qb("md"),lg:Qb("lg")},variants:og.variants,defaultProps:og.defaultProps}),nv={...null==(Zb=og.baseStyle)?void 0:Zb.field,textAlign:"center"},rv={outline:e=>{var t,n,r;return null!=(r=null==(n=Tg(null==(t=og.variants)?void 0:t.outline,e))?void 0:n.field)?r:{}},flushed:e=>{var t,n,r;return null!=(r=null==(n=Tg(null==(t=og.variants)?void 0:t.flushed,e))?void 0:n.field)?r:{}},filled:e=>{var t,n,r;return null!=(r=null==(n=Tg(null==(t=og.variants)?void 0:t.filled,e))?void 0:n.field)?r:{}},unstyled:null!=(ev=null==(Jb=og.variants)?void 0:Jb.unstyled.field)?ev:{}},iv={baseStyle:nv,sizes:{lg:{fontSize:"lg",w:12,h:12,borderRadius:"md"},md:{fontSize:"md",w:10,h:10,borderRadius:"md"},sm:{fontSize:"sm",w:8,h:8,borderRadius:"sm"},xs:{fontSize:"xs",w:6,h:6,borderRadius:"sm"}},variants:rv,defaultProps:og.defaultProps},{defineMultiStyleConfig:ov,definePartsStyle:av}=rt(ep.keys),sv=hp("popper-bg"),lv=hp("popper-arrow-bg"),cv=hp("popper-arrow-shadow-color"),uv=ov({baseStyle:av({popper:{zIndex:10},content:{[sv.variable]:"colors.white",bg:sv.reference,[lv.variable]:sv.reference,[cv.variable]:"colors.gray.200",_dark:{[sv.variable]:"colors.gray.700",[cv.variable]:"colors.whiteAlpha.300"},width:"xs",border:"1px solid",borderColor:"inherit",borderRadius:"md",boxShadow:"sm",zIndex:"inherit",_focusVisible:{outline:0,boxShadow:"outline"}},header:{px:3,py:2,borderBottomWidth:"1px"},body:{px:3,py:2},footer:{px:3,py:2,borderTopWidth:"1px"},closeButton:{position:"absolute",borderRadius:"md",top:1,insetEnd:2,padding:2}})}),{definePartsStyle:dv,defineMultiStyleConfig:fv}=rt($h.keys),hv=Ae("drawer-bg"),pv=Ae("drawer-box-shadow");function mv(e){return dv("full"===e?{dialog:{maxW:"100vw",h:"100vh"}}:{dialog:{maxW:e}})}var gv={bg:"blackAlpha.600",zIndex:"modal"},bv={display:"flex",zIndex:"modal",justifyContent:"center"},vv=e=>{const{isFullHeight:t}=e;return{...t&&{height:"100vh"},zIndex:"modal",maxH:"100vh",color:"inherit",[hv.variable]:"colors.white",[pv.variable]:"shadows.lg",_dark:{[hv.variable]:"colors.gray.700",[pv.variable]:"shadows.dark-lg"},bg:hv.reference,boxShadow:pv.reference}},yv={px:"6",py:"4",fontSize:"xl",fontWeight:"semibold"},Ev={position:"absolute",top:"2",insetEnd:"3"},Tv={px:"6",py:"2",flex:"1",overflow:"auto"},_v={px:"6",py:"4"},Av=fv({baseStyle:dv((e=>({overlay:gv,dialogContainer:bv,dialog:Tg(vv,e),header:yv,closeButton:Ev,body:Tv,footer:_v}))),sizes:{xs:mv("xs"),sm:mv("md"),md:mv("lg"),lg:mv("2xl"),xl:mv("4xl"),full:mv("full")},defaultProps:{size:"xs"}}),{definePartsStyle:Sv,defineMultiStyleConfig:Cv}=rt(qh.keys),Iv=Cv({baseStyle:Sv({preview:{borderRadius:"md",py:"1",transitionProperty:"common",transitionDuration:"normal"},input:{borderRadius:"md",py:"1",transitionProperty:"common",transitionDuration:"normal",width:"full",_focusVisible:{boxShadow:"outline"},_placeholder:{opacity:.6}},textarea:{borderRadius:"md",py:"1",transitionProperty:"common",transitionDuration:"normal",width:"full",_focusVisible:{boxShadow:"outline"},_placeholder:{opacity:.6}}})}),{definePartsStyle:wv,defineMultiStyleConfig:xv}=rt(Wh.keys),Dv=Ae("form-control-color"),kv=xv({baseStyle:wv({container:{width:"100%",position:"relative"},requiredIndicator:{marginStart:"1",[Dv.variable]:"colors.red.500",_dark:{[Dv.variable]:"colors.red.300"},color:Dv.reference},helperText:{mt:"2",[Dv.variable]:"colors.gray.600",_dark:{[Dv.variable]:"colors.whiteAlpha.600"},color:Dv.reference,lineHeight:"normal",fontSize:"sm"}})}),{definePartsStyle:Ov,defineMultiStyleConfig:Nv}=rt(Yh.keys),Pv=Ae("form-error-color"),Rv=Nv({baseStyle:Ov({text:{[Pv.variable]:"colors.red.500",_dark:{[Pv.variable]:"colors.red.300"},color:Pv.reference,mt:"2",fontSize:"sm",lineHeight:"normal"},icon:{marginEnd:"0.5em",[Pv.variable]:"colors.red.500",_dark:{[Pv.variable]:"colors.red.300"},color:Pv.reference}})}),{defineMultiStyleConfig:Lv,definePartsStyle:Mv}=rt(zh.keys),Bv=Ae("breadcrumb-link-decor"),Fv=Lv({baseStyle:Mv({link:{transitionProperty:"common",transitionDuration:"fast",transitionTimingFunction:"ease-out",outline:"none",color:"inherit",textDecoration:Bv.reference,[Bv.variable]:"none","&:not([aria-current=page])":{cursor:"pointer",_hover:{[Bv.variable]:"underline"},_focusVisible:{boxShadow:"outline"}}}})}),Gv=e=>{const{colorScheme:t,theme:n}=e;if("gray"===t)return{color:Pp("gray.800","whiteAlpha.900")(e),_hover:{bg:Pp("gray.100","whiteAlpha.200")(e)},_active:{bg:Pp("gray.200","whiteAlpha.300")(e)}};const r=nm(`${t}.200`,.12)(n),i=nm(`${t}.200`,.24)(n);return{color:Pp(`${t}.600`,`${t}.200`)(e),bg:"transparent",_hover:{bg:Pp(`${t}.50`,r)(e)},_active:{bg:Pp(`${t}.100`,i)(e)}}},jv={yellow:{bg:"yellow.400",color:"black",hoverBg:"yellow.500",activeBg:"yellow.600"},cyan:{bg:"cyan.400",color:"black",hoverBg:"cyan.500",activeBg:"cyan.600"}},Hv={baseStyle:{lineHeight:"1.2",borderRadius:"md",fontWeight:"semibold",transitionProperty:"common",transitionDuration:"normal",_focusVisible:{boxShadow:"outline"},_disabled:{opacity:.4,cursor:"not-allowed",boxShadow:"none"},_hover:{_disabled:{bg:"initial"}}},variants:{ghost:Gv,outline:e=>{const{colorScheme:t}=e,n=Pp("gray.200","whiteAlpha.300")(e);return{border:"1px solid",borderColor:"gray"===t?n:"currentColor",".chakra-button__group[data-attached][data-orientation=horizontal] > &:not(:last-of-type)":{marginEnd:"-1px"},".chakra-button__group[data-attached][data-orientation=vertical] > &:not(:last-of-type)":{marginBottom:"-1px"},...Tg(Gv,e)}},solid:e=>{var t;const{colorScheme:n}=e;if("gray"===n){const t=Pp("gray.100","whiteAlpha.200")(e);return{bg:t,color:Pp("gray.800","whiteAlpha.900")(e),_hover:{bg:Pp("gray.200","whiteAlpha.300")(e),_disabled:{bg:t}},_active:{bg:Pp("gray.300","whiteAlpha.400")(e)}}}const{bg:r=`${n}.500`,color:i="white",hoverBg:o=`${n}.600`,activeBg:a=`${n}.700`}=null!=(t=jv[n])?t:{},s=Pp(r,`${n}.200`)(e);return{bg:s,color:Pp(i,"gray.800")(e),_hover:{bg:Pp(o,`${n}.300`)(e),_disabled:{bg:s}},_active:{bg:Pp(a,`${n}.400`)(e)}}},link:e=>{const{colorScheme:t}=e;return{padding:0,height:"auto",lineHeight:"normal",verticalAlign:"baseline",color:Pp(`${t}.500`,`${t}.200`)(e),_hover:{textDecoration:"underline",_disabled:{textDecoration:"none"}},_active:{color:Pp(`${t}.700`,`${t}.500`)(e)}}},unstyled:{bg:"none",color:"inherit",display:"inline",lineHeight:"inherit",m:"0",p:"0"}},sizes:{lg:{h:"12",minW:"12",fontSize:"lg",px:"6"},md:{h:"10",minW:"10",fontSize:"md",px:"4"},sm:{h:"8",minW:"8",fontSize:"sm",px:"3"},xs:{h:"6",minW:"6",fontSize:"xs",px:"2"}},defaultProps:{variant:"solid",size:"md",colorScheme:"gray"}},{definePartsStyle:Uv,defineMultiStyleConfig:zv}=rt(up.keys),Vv=Ae("card-bg"),$v=Ae("card-padding"),qv=Ae("card-shadow"),Wv=Ae("card-radius"),Yv=Ae("card-border-width","0"),Kv=Ae("card-border-color"),Xv=Uv({container:{[Vv.variable]:"colors.chakra-body-bg",backgroundColor:Vv.reference,boxShadow:qv.reference,borderRadius:Wv.reference,color:"chakra-body-text",borderWidth:Yv.reference,borderColor:Kv.reference},body:{padding:$v.reference,flex:"1 1 0%"},header:{padding:$v.reference},footer:{padding:$v.reference}}),Qv={sm:Uv({container:{[Wv.variable]:"radii.base",[$v.variable]:"space.3"}}),md:Uv({container:{[Wv.variable]:"radii.md",[$v.variable]:"space.5"}}),lg:Uv({container:{[Wv.variable]:"radii.xl",[$v.variable]:"space.7"}})},Zv=zv({baseStyle:Xv,variants:{elevated:Uv({container:{[qv.variable]:"shadows.base",_dark:{[Vv.variable]:"colors.gray.700"}}}),outline:Uv({container:{[Yv.variable]:"1px",[Kv.variable]:"colors.chakra-border-color"}}),filled:Uv({container:{[Vv.variable]:"colors.chakra-subtle-bg"}}),unstyled:{body:{[$v.variable]:0},header:{[$v.variable]:0},footer:{[$v.variable]:0}}},sizes:Qv,defaultProps:{variant:"elevated",size:"md"}}),Jv=hp("close-button-size"),ey=hp("close-button-bg"),ty={baseStyle:{w:[Jv.reference],h:[Jv.reference],borderRadius:"md",transitionProperty:"common",transitionDuration:"normal",_disabled:{opacity:.4,cursor:"not-allowed",boxShadow:"none"},_hover:{[ey.variable]:"colors.blackAlpha.100",_dark:{[ey.variable]:"colors.whiteAlpha.100"}},_active:{[ey.variable]:"colors.blackAlpha.200",_dark:{[ey.variable]:"colors.whiteAlpha.200"}},_focusVisible:{boxShadow:"outline"},bg:ey.reference},sizes:{lg:{[Jv.variable]:"sizes.10",fontSize:"md"},md:{[Jv.variable]:"sizes.8",fontSize:"xs"},sm:{[Jv.variable]:"sizes.6",fontSize:"2xs"}},defaultProps:{size:"md"}},{variants:ny,defaultProps:ry}=Tm,iy={baseStyle:{fontFamily:"mono",fontSize:"sm",px:"0.2em",borderRadius:"sm",bg:Em.bg.reference,color:Em.color.reference,boxShadow:Em.shadow.reference},variants:ny,defaultProps:ry},{definePartsStyle:oy,defineMultiStyleConfig:ay}=rt(jh.keys),sy=ay({baseStyle:oy({container:{borderTopWidth:"1px",borderColor:"inherit",_last:{borderBottomWidth:"1px"}},button:{transitionProperty:"common",transitionDuration:"normal",fontSize:"md",_focusVisible:{boxShadow:"outline"},_hover:{bg:"blackAlpha.50"},_disabled:{opacity:.4,cursor:"not-allowed"},px:"4",py:"2"},panel:{pt:"2",px:"4",pb:"5"},icon:{fontSize:"1.25em"}})}),{definePartsStyle:ly,defineMultiStyleConfig:cy}=rt(Hh.keys),uy=Ae("alert-fg"),dy=Ae("alert-bg");function fy(e){const{theme:t,colorScheme:n}=e;return{light:`colors.${n}.100`,dark:nm(`${n}.200`,.16)(t)}}var hy=cy({baseStyle:ly({container:{bg:dy.reference,px:"4",py:"3"},title:{fontWeight:"bold",lineHeight:"6",marginEnd:"2"},description:{lineHeight:"6"},icon:{color:uy.reference,flexShrink:0,marginEnd:"3",w:"5",h:"6"},spinner:{color:uy.reference,flexShrink:0,marginEnd:"3",w:"5",h:"5"}}),variants:{subtle:ly((e=>{const{colorScheme:t}=e,n=fy(e);return{container:{[uy.variable]:`colors.${t}.600`,[dy.variable]:n.light,_dark:{[uy.variable]:`colors.${t}.200`,[dy.variable]:n.dark}}}})),"left-accent":ly((e=>{const{colorScheme:t}=e,n=fy(e);return{container:{[uy.variable]:`colors.${t}.600`,[dy.variable]:n.light,_dark:{[uy.variable]:`colors.${t}.200`,[dy.variable]:n.dark},paddingStart:"3",borderStartWidth:"4px",borderStartColor:uy.reference}}})),"top-accent":ly((e=>{const{colorScheme:t}=e,n=fy(e);return{container:{[uy.variable]:`colors.${t}.600`,[dy.variable]:n.light,_dark:{[uy.variable]:`colors.${t}.200`,[dy.variable]:n.dark},pt:"2",borderTopWidth:"4px",borderTopColor:uy.reference}}})),solid:ly((e=>{const{colorScheme:t}=e;return{container:{[uy.variable]:"colors.white",[dy.variable]:`colors.${t}.600`,_dark:{[uy.variable]:"colors.gray.900",[dy.variable]:`colors.${t}.200`},color:uy.reference}}}))},defaultProps:{variant:"subtle",colorScheme:"blue"}}),{definePartsStyle:py,defineMultiStyleConfig:my}=rt(Uh.keys),gy=Ae("avatar-border-color"),by=Ae("avatar-bg"),vy=Ae("avatar-font-size"),yy=Ae("avatar-size"),Ey={borderRadius:"full",border:"0.2em solid",borderColor
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment