@apolitical/component-library 1.1.1-beta.1 → 1.1.1-beta.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (3) hide show
  1. package/index.js +55 -55
  2. package/index.mjs +1811 -1807
  3. package/package.json +1 -1
package/index.js CHANGED
@@ -7,7 +7,7 @@
7
7
  * Copyright(c) 2012-2014 Roman Shtylman
8
8
  * Copyright(c) 2015 Douglas Christopher Wilson
9
9
  * MIT Licensed
10
- */var fE=yR,fm=vR,mR=Object.prototype.toString,ii=/^[\u0009\u0020-\u007e\u0080-\u00ff]+$/;function yR(e,t){if(typeof e!="string")throw new TypeError("argument str must be a string");for(var r={},n=t||{},a=n.decode||gR,o=0;o<e.length;){var s=e.indexOf("=",o);if(s===-1)break;var i=e.indexOf(";",o);if(i===-1)i=e.length;else if(i<s){o=e.lastIndexOf(";",s-1)+1;continue}var l=e.slice(o,s).trim();if(r[l]===void 0){var u=e.slice(s+1,i).trim();u.charCodeAt(0)===34&&(u=u.slice(1,-1)),r[l]=_R(u,a)}o=i+1}return r}function vR(e,t,r){var n=r||{},a=n.encode||bR;if(typeof a!="function")throw new TypeError("option encode is invalid");if(!ii.test(e))throw new TypeError("argument name is invalid");var o=a(t);if(o&&!ii.test(o))throw new TypeError("argument val is invalid");var s=e+"="+o;if(n.maxAge!=null){var i=n.maxAge-0;if(isNaN(i)||!isFinite(i))throw new TypeError("option maxAge is invalid");s+="; Max-Age="+Math.floor(i)}if(n.domain){if(!ii.test(n.domain))throw new TypeError("option domain is invalid");s+="; Domain="+n.domain}if(n.path){if(!ii.test(n.path))throw new TypeError("option path is invalid");s+="; Path="+n.path}if(n.expires){var l=n.expires;if(!ER(l)||isNaN(l.valueOf()))throw new TypeError("option expires is invalid");s+="; Expires="+l.toUTCString()}if(n.httpOnly&&(s+="; HttpOnly"),n.secure&&(s+="; Secure"),n.priority){var u=typeof n.priority=="string"?n.priority.toLowerCase():n.priority;switch(u){case"low":s+="; Priority=Low";break;case"medium":s+="; Priority=Medium";break;case"high":s+="; Priority=High";break;default:throw new TypeError("option priority is invalid")}}if(n.sameSite){var c=typeof n.sameSite=="string"?n.sameSite.toLowerCase():n.sameSite;switch(c){case!0:s+="; SameSite=Strict";break;case"lax":s+="; SameSite=Lax";break;case"strict":s+="; SameSite=Strict";break;case"none":s+="; SameSite=None";break;default:throw new TypeError("option sameSite is invalid")}}return s}function gR(e){return e.indexOf("%")!==-1?decodeURIComponent(e):e}function bR(e){return encodeURIComponent(e)}function ER(e){return mR.call(e)==="[object Date]"||e instanceof Date}function _R(e,t){try{return t(e)}catch{return e}}function wR(){return typeof document=="object"&&typeof document.cookie=="string"}function TR(e){return typeof e=="string"?fE(e):typeof e=="object"&&e!==null?e:{}}function $c(e,t={}){const r=SR(e);if(!t.doNotParse)try{return JSON.parse(r)}catch{}return e}function SR(e){return e&&e[0]==="j"&&e[1]===":"?e.substr(2):e}class dE{constructor(t,r={}){this.changeListeners=[],this.HAS_DOCUMENT_COOKIE=!1,this.update=()=>{if(!this.HAS_DOCUMENT_COOKIE)return;const a=this.cookies;this.cookies=fE(document.cookie),this._checkChanges(a)};const n=typeof document>"u"?"":document.cookie;this.cookies=TR(t||n),this.defaultSetOptions=r,this.HAS_DOCUMENT_COOKIE=wR()}_emitChange(t){for(let r=0;r<this.changeListeners.length;++r)this.changeListeners[r](t)}_checkChanges(t){new Set(Object.keys(t).concat(Object.keys(this.cookies))).forEach(n=>{t[n]!==this.cookies[n]&&this._emitChange({name:n,value:$c(t[n])})})}_startPolling(){this.pollingInterval=setInterval(this.update,300)}_stopPolling(){this.pollingInterval&&clearInterval(this.pollingInterval)}get(t,r={}){return r.doNotUpdate||this.update(),$c(this.cookies[t],r)}getAll(t={}){t.doNotUpdate||this.update();const r={};for(let n in this.cookies)r[n]=$c(this.cookies[n],t);return r}set(t,r,n){n?n=Object.assign(Object.assign({},this.defaultSetOptions),n):n=this.defaultSetOptions;const a=typeof r=="string"?r:JSON.stringify(r);this.cookies=Object.assign(Object.assign({},this.cookies),{[t]:a}),this.HAS_DOCUMENT_COOKIE&&(document.cookie=fm(t,a,n)),this._emitChange({name:t,value:r,options:n})}remove(t,r){const n=r=Object.assign(Object.assign({},r),{expires:new Date(1970,1,1,0,0,1),maxAge:0});this.cookies=Object.assign({},this.cookies),delete this.cookies[t],this.HAS_DOCUMENT_COOKIE&&(document.cookie=fm(t,"",n)),this._emitChange({name:t,value:void 0,options:r})}addChangeListener(t){this.changeListeners.push(t),this.changeListeners.length===1&&(typeof window=="object"&&"cookieStore"in window?window.cookieStore.addEventListener("change",this.update):this._startPolling())}removeChangeListener(t){const r=this.changeListeners.indexOf(t);r>=0&&this.changeListeners.splice(r,1),this.changeListeners.length===0&&(typeof window=="object"&&"cookieStore"in window?window.cookieStore.removeEventListener("change",this.update):this._stopPolling())}}const pE=We.createContext(new dE),{Provider:RR,Consumer:FV}=pE,CR=pE;class OR extends We.Component{constructor(t){super(t),t.cookies?this.cookies=t.cookies:this.cookies=new dE(void 0,t.defaultSetOptions)}render(){return We.createElement(RR,{value:this.cookies},this.props.children)}}var Xd={exports:{}},Ie={};/** @license React v16.13.1
10
+ */var fE=yR,fm=vR,mR=Object.prototype.toString,ii=/^[\u0009\u0020-\u007e\u0080-\u00ff]+$/;function yR(e,t){if(typeof e!="string")throw new TypeError("argument str must be a string");for(var r={},n=t||{},a=n.decode||gR,o=0;o<e.length;){var s=e.indexOf("=",o);if(s===-1)break;var i=e.indexOf(";",o);if(i===-1)i=e.length;else if(i<s){o=e.lastIndexOf(";",s-1)+1;continue}var l=e.slice(o,s).trim();if(r[l]===void 0){var u=e.slice(s+1,i).trim();u.charCodeAt(0)===34&&(u=u.slice(1,-1)),r[l]=_R(u,a)}o=i+1}return r}function vR(e,t,r){var n=r||{},a=n.encode||bR;if(typeof a!="function")throw new TypeError("option encode is invalid");if(!ii.test(e))throw new TypeError("argument name is invalid");var o=a(t);if(o&&!ii.test(o))throw new TypeError("argument val is invalid");var s=e+"="+o;if(n.maxAge!=null){var i=n.maxAge-0;if(isNaN(i)||!isFinite(i))throw new TypeError("option maxAge is invalid");s+="; Max-Age="+Math.floor(i)}if(n.domain){if(!ii.test(n.domain))throw new TypeError("option domain is invalid");s+="; Domain="+n.domain}if(n.path){if(!ii.test(n.path))throw new TypeError("option path is invalid");s+="; Path="+n.path}if(n.expires){var l=n.expires;if(!ER(l)||isNaN(l.valueOf()))throw new TypeError("option expires is invalid");s+="; Expires="+l.toUTCString()}if(n.httpOnly&&(s+="; HttpOnly"),n.secure&&(s+="; Secure"),n.priority){var u=typeof n.priority=="string"?n.priority.toLowerCase():n.priority;switch(u){case"low":s+="; Priority=Low";break;case"medium":s+="; Priority=Medium";break;case"high":s+="; Priority=High";break;default:throw new TypeError("option priority is invalid")}}if(n.sameSite){var c=typeof n.sameSite=="string"?n.sameSite.toLowerCase():n.sameSite;switch(c){case!0:s+="; SameSite=Strict";break;case"lax":s+="; SameSite=Lax";break;case"strict":s+="; SameSite=Strict";break;case"none":s+="; SameSite=None";break;default:throw new TypeError("option sameSite is invalid")}}return s}function gR(e){return e.indexOf("%")!==-1?decodeURIComponent(e):e}function bR(e){return encodeURIComponent(e)}function ER(e){return mR.call(e)==="[object Date]"||e instanceof Date}function _R(e,t){try{return t(e)}catch{return e}}function wR(){return typeof document=="object"&&typeof document.cookie=="string"}function TR(e){return typeof e=="string"?fE(e):typeof e=="object"&&e!==null?e:{}}function $c(e,t={}){const r=SR(e);if(!t.doNotParse)try{return JSON.parse(r)}catch{}return e}function SR(e){return e&&e[0]==="j"&&e[1]===":"?e.substr(2):e}class dE{constructor(t,r={}){this.changeListeners=[],this.HAS_DOCUMENT_COOKIE=!1,this.update=()=>{if(!this.HAS_DOCUMENT_COOKIE)return;const a=this.cookies;this.cookies=fE(document.cookie),this._checkChanges(a)};const n=typeof document>"u"?"":document.cookie;this.cookies=TR(t||n),this.defaultSetOptions=r,this.HAS_DOCUMENT_COOKIE=wR()}_emitChange(t){for(let r=0;r<this.changeListeners.length;++r)this.changeListeners[r](t)}_checkChanges(t){new Set(Object.keys(t).concat(Object.keys(this.cookies))).forEach(n=>{t[n]!==this.cookies[n]&&this._emitChange({name:n,value:$c(t[n])})})}_startPolling(){this.pollingInterval=setInterval(this.update,300)}_stopPolling(){this.pollingInterval&&clearInterval(this.pollingInterval)}get(t,r={}){return r.doNotUpdate||this.update(),$c(this.cookies[t],r)}getAll(t={}){t.doNotUpdate||this.update();const r={};for(let n in this.cookies)r[n]=$c(this.cookies[n],t);return r}set(t,r,n){n?n=Object.assign(Object.assign({},this.defaultSetOptions),n):n=this.defaultSetOptions;const a=typeof r=="string"?r:JSON.stringify(r);this.cookies=Object.assign(Object.assign({},this.cookies),{[t]:a}),this.HAS_DOCUMENT_COOKIE&&(document.cookie=fm(t,a,n)),this._emitChange({name:t,value:r,options:n})}remove(t,r){const n=r=Object.assign(Object.assign({},r),{expires:new Date(1970,1,1,0,0,1),maxAge:0});this.cookies=Object.assign({},this.cookies),delete this.cookies[t],this.HAS_DOCUMENT_COOKIE&&(document.cookie=fm(t,"",n)),this._emitChange({name:t,value:void 0,options:r})}addChangeListener(t){this.changeListeners.push(t),this.changeListeners.length===1&&(typeof window=="object"&&"cookieStore"in window?window.cookieStore.addEventListener("change",this.update):this._startPolling())}removeChangeListener(t){const r=this.changeListeners.indexOf(t);r>=0&&this.changeListeners.splice(r,1),this.changeListeners.length===0&&(typeof window=="object"&&"cookieStore"in window?window.cookieStore.removeEventListener("change",this.update):this._stopPolling())}}const pE=We.createContext(new dE),{Provider:RR,Consumer:UV}=pE,CR=pE;class OR extends We.Component{constructor(t){super(t),t.cookies?this.cookies=t.cookies:this.cookies=new dE(void 0,t.defaultSetOptions)}render(){return We.createElement(RR,{value:this.cookies},this.props.children)}}var Xd={exports:{}},Ie={};/** @license React v16.13.1
11
11
  * react-is.production.min.js
12
12
  *
13
13
  * Copyright (c) Facebook, Inc. and its affiliates.
@@ -21,17 +21,17 @@
21
21
  *
22
22
  * This source code is licensed under the MIT license found in the
23
23
  * LICENSE file in the root directory of this source tree.
24
- */var pm;function PR(){return pm||(pm=1,process.env.NODE_ENV!=="production"&&function(){var e=typeof Symbol=="function"&&Symbol.for,t=e?Symbol.for("react.element"):60103,r=e?Symbol.for("react.portal"):60106,n=e?Symbol.for("react.fragment"):60107,a=e?Symbol.for("react.strict_mode"):60108,o=e?Symbol.for("react.profiler"):60114,s=e?Symbol.for("react.provider"):60109,i=e?Symbol.for("react.context"):60110,l=e?Symbol.for("react.async_mode"):60111,u=e?Symbol.for("react.concurrent_mode"):60111,c=e?Symbol.for("react.forward_ref"):60112,p=e?Symbol.for("react.suspense"):60113,d=e?Symbol.for("react.suspense_list"):60120,f=e?Symbol.for("react.memo"):60115,h=e?Symbol.for("react.lazy"):60116,m=e?Symbol.for("react.block"):60121,_=e?Symbol.for("react.fundamental"):60117,b=e?Symbol.for("react.responder"):60118,v=e?Symbol.for("react.scope"):60119;function w(se){return typeof se=="string"||typeof se=="function"||se===n||se===u||se===o||se===a||se===p||se===d||typeof se=="object"&&se!==null&&(se.$$typeof===h||se.$$typeof===f||se.$$typeof===s||se.$$typeof===i||se.$$typeof===c||se.$$typeof===_||se.$$typeof===b||se.$$typeof===v||se.$$typeof===m)}function R(se){if(typeof se=="object"&&se!==null){var je=se.$$typeof;switch(je){case t:var Ae=se.type;switch(Ae){case l:case u:case n:case o:case a:case p:return Ae;default:var ft=Ae&&Ae.$$typeof;switch(ft){case i:case c:case h:case f:case s:return ft;default:return je}}case r:return je}}}var T=l,C=u,N=i,I=s,j=t,z=c,Y=n,U=h,D=f,Q=r,J=o,k=a,G=p,Z=!1;function ve(se){return Z||(Z=!0,console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactIs.isConcurrentMode() instead. It has the exact same API.")),ee(se)||R(se)===l}function ee(se){return R(se)===u}function ne(se){return R(se)===i}function me(se){return R(se)===s}function ge(se){return typeof se=="object"&&se!==null&&se.$$typeof===t}function Ge(se){return R(se)===c}function ie(se){return R(se)===n}function le(se){return R(se)===h}function xe(se){return R(se)===f}function Be(se){return R(se)===r}function at(se){return R(se)===o}function ct(se){return R(se)===a}function ce(se){return R(se)===p}Ne.AsyncMode=T,Ne.ConcurrentMode=C,Ne.ContextConsumer=N,Ne.ContextProvider=I,Ne.Element=j,Ne.ForwardRef=z,Ne.Fragment=Y,Ne.Lazy=U,Ne.Memo=D,Ne.Portal=Q,Ne.Profiler=J,Ne.StrictMode=k,Ne.Suspense=G,Ne.isAsyncMode=ve,Ne.isConcurrentMode=ee,Ne.isContextConsumer=ne,Ne.isContextProvider=me,Ne.isElement=ge,Ne.isForwardRef=Ge,Ne.isFragment=ie,Ne.isLazy=le,Ne.isMemo=xe,Ne.isPortal=Be,Ne.isProfiler=at,Ne.isStrictMode=ct,Ne.isSuspense=ce,Ne.isValidElementType=w,Ne.typeOf=R}()),Ne}process.env.NODE_ENV==="production"?Xd.exports=xR():Xd.exports=PR();var AR=Xd.exports,hE=AR,IR={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},NR={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},mE={};mE[hE.ForwardRef]=IR;mE[hE.Memo]=NR;function MR(){return typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u"}function yE(e){const t=re.useContext(CR);if(!t)throw new Error("Missing <CookiesProvider>");const[r,n]=re.useState(()=>t.getAll());MR()&&re.useLayoutEffect(()=>{function i(){const l=t.getAll({doNotUpdate:!0});kR(e||null,l,r)&&n(l)}return t.addChangeListener(i),()=>{t.removeChangeListener(i)}},[t,r]);const a=re.useMemo(()=>t.set.bind(t),[t]),o=re.useMemo(()=>t.remove.bind(t),[t]),s=re.useMemo(()=>t.update.bind(t),[t]);return[r,a,o,s]}function kR(e,t,r){if(!e)return!0;for(let n of e)if(t[n]!==r[n])return!0;return!1}var vE={exports:{}},Lc={exports:{}},si={},li={exports:{}},Bc,hm;function gE(){return hm||(hm=1,Bc=function(t,r){return function(){for(var a=new Array(arguments.length),o=0;o<a.length;o++)a[o]=arguments[o];return t.apply(r,a)}}),Bc}var qc,mm;function lt(){if(mm)return qc;mm=1;var e=gE(),t=Object.prototype.toString,r=function(k){return function(G){var Z=t.call(G);return k[Z]||(k[Z]=Z.slice(8,-1).toLowerCase())}}(Object.create(null));function n(k){return k=k.toLowerCase(),function(Z){return r(Z)===k}}function a(k){return Array.isArray(k)}function o(k){return typeof k>"u"}function s(k){return k!==null&&!o(k)&&k.constructor!==null&&!o(k.constructor)&&typeof k.constructor.isBuffer=="function"&&k.constructor.isBuffer(k)}var i=n("ArrayBuffer");function l(k){var G;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?G=ArrayBuffer.isView(k):G=k&&k.buffer&&i(k.buffer),G}function u(k){return typeof k=="string"}function c(k){return typeof k=="number"}function p(k){return k!==null&&typeof k=="object"}function d(k){if(r(k)!=="object")return!1;var G=Object.getPrototypeOf(k);return G===null||G===Object.prototype}var f=n("Date"),h=n("File"),m=n("Blob"),_=n("FileList");function b(k){return t.call(k)==="[object Function]"}function v(k){return p(k)&&b(k.pipe)}function w(k){var G="[object FormData]";return k&&(typeof FormData=="function"&&k instanceof FormData||t.call(k)===G||b(k.toString)&&k.toString()===G)}var R=n("URLSearchParams");function T(k){return k.trim?k.trim():k.replace(/^\s+|\s+$/g,"")}function C(){return typeof navigator<"u"&&(navigator.product==="ReactNative"||navigator.product==="NativeScript"||navigator.product==="NS")?!1:typeof window<"u"&&typeof document<"u"}function N(k,G){if(!(k===null||typeof k>"u"))if(typeof k!="object"&&(k=[k]),a(k))for(var Z=0,ve=k.length;Z<ve;Z++)G.call(null,k[Z],Z,k);else for(var ee in k)Object.prototype.hasOwnProperty.call(k,ee)&&G.call(null,k[ee],ee,k)}function I(){var k={};function G(ee,ne){d(k[ne])&&d(ee)?k[ne]=I(k[ne],ee):d(ee)?k[ne]=I({},ee):a(ee)?k[ne]=ee.slice():k[ne]=ee}for(var Z=0,ve=arguments.length;Z<ve;Z++)N(arguments[Z],G);return k}function j(k,G,Z){return N(G,function(ee,ne){Z&&typeof ee=="function"?k[ne]=e(ee,Z):k[ne]=ee}),k}function z(k){return k.charCodeAt(0)===65279&&(k=k.slice(1)),k}function Y(k,G,Z,ve){k.prototype=Object.create(G.prototype,ve),k.prototype.constructor=k,Z&&Object.assign(k.prototype,Z)}function U(k,G,Z){var ve,ee,ne,me={};G=G||{};do{for(ve=Object.getOwnPropertyNames(k),ee=ve.length;ee-- >0;)ne=ve[ee],me[ne]||(G[ne]=k[ne],me[ne]=!0);k=Object.getPrototypeOf(k)}while(k&&(!Z||Z(k,G))&&k!==Object.prototype);return G}function D(k,G,Z){k=String(k),(Z===void 0||Z>k.length)&&(Z=k.length),Z-=G.length;var ve=k.indexOf(G,Z);return ve!==-1&&ve===Z}function Q(k){if(!k)return null;var G=k.length;if(o(G))return null;for(var Z=new Array(G);G-- >0;)Z[G]=k[G];return Z}var J=function(k){return function(G){return k&&G instanceof k}}(typeof Uint8Array<"u"&&Object.getPrototypeOf(Uint8Array));return qc={isArray:a,isArrayBuffer:i,isBuffer:s,isFormData:w,isArrayBufferView:l,isString:u,isNumber:c,isObject:p,isPlainObject:d,isUndefined:o,isDate:f,isFile:h,isBlob:m,isFunction:b,isStream:v,isURLSearchParams:R,isStandardBrowserEnv:C,forEach:N,merge:I,extend:j,trim:T,stripBOM:z,inherits:Y,toFlatObject:U,kindOf:r,kindOfTest:n,endsWith:D,toArray:Q,isTypedArray:J,isFileList:_},qc}var Dc,ym;function bE(){if(ym)return Dc;ym=1;var e=lt();function t(r){return encodeURIComponent(r).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}return Dc=function(n,a,o){if(!a)return n;var s;if(o)s=o(a);else if(e.isURLSearchParams(a))s=a.toString();else{var i=[];e.forEach(a,function(c,p){c===null||typeof c>"u"||(e.isArray(c)?p=p+"[]":c=[c],e.forEach(c,function(f){e.isDate(f)?f=f.toISOString():e.isObject(f)&&(f=JSON.stringify(f)),i.push(t(p)+"="+t(f))}))}),s=i.join("&")}if(s){var l=n.indexOf("#");l!==-1&&(n=n.slice(0,l)),n+=(n.indexOf("?")===-1?"?":"&")+s}return n},Dc}var Fc,vm;function $R(){if(vm)return Fc;vm=1;var e=lt();function t(){this.handlers=[]}return t.prototype.use=function(n,a,o){return this.handlers.push({fulfilled:n,rejected:a,synchronous:o?o.synchronous:!1,runWhen:o?o.runWhen:null}),this.handlers.length-1},t.prototype.eject=function(n){this.handlers[n]&&(this.handlers[n]=null)},t.prototype.forEach=function(n){e.forEach(this.handlers,function(o){o!==null&&n(o)})},Fc=t,Fc}var Uc,gm;function LR(){if(gm)return Uc;gm=1;var e=lt();return Uc=function(r,n){e.forEach(r,function(o,s){s!==n&&s.toUpperCase()===n.toUpperCase()&&(r[n]=o,delete r[s])})},Uc}var jc,bm;function ba(){if(bm)return jc;bm=1;var e=lt();function t(a,o,s,i,l){Error.call(this),this.message=a,this.name="AxiosError",o&&(this.code=o),s&&(this.config=s),i&&(this.request=i),l&&(this.response=l)}e.inherits(t,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:this.config,code:this.code,status:this.response&&this.response.status?this.response.status:null}}});var r=t.prototype,n={};return["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"].forEach(function(a){n[a]={value:a}}),Object.defineProperties(t,n),Object.defineProperty(r,"isAxiosError",{value:!0}),t.from=function(a,o,s,i,l,u){var c=Object.create(r);return e.toFlatObject(a,c,function(d){return d!==Error.prototype}),t.call(c,a.message,o,s,i,l),c.name=a.name,u&&Object.assign(c,u),c},jc=t,jc}var Hc,Em;function EE(){return Em||(Em=1,Hc={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1}),Hc}var Gc,_m;function _E(){if(_m)return Gc;_m=1;var e=lt();function t(r,n){n=n||new FormData;var a=[];function o(i){return i===null?"":e.isDate(i)?i.toISOString():e.isArrayBuffer(i)||e.isTypedArray(i)?typeof Blob=="function"?new Blob([i]):Buffer.from(i):i}function s(i,l){if(e.isPlainObject(i)||e.isArray(i)){if(a.indexOf(i)!==-1)throw Error("Circular reference detected in "+l);a.push(i),e.forEach(i,function(c,p){if(!e.isUndefined(c)){var d=l?l+"."+p:p,f;if(c&&!l&&typeof c=="object"){if(e.endsWith(p,"{}"))c=JSON.stringify(c);else if(e.endsWith(p,"[]")&&(f=e.toArray(c))){f.forEach(function(h){!e.isUndefined(h)&&n.append(d,o(h))});return}}s(c,d)}}),a.pop()}else n.append(l,o(i))}return s(r),n}return Gc=t,Gc}var Wc,wm;function BR(){if(wm)return Wc;wm=1;var e=ba();return Wc=function(r,n,a){var o=a.config.validateStatus;!a.status||!o||o(a.status)?r(a):n(new e("Request failed with status code "+a.status,[e.ERR_BAD_REQUEST,e.ERR_BAD_RESPONSE][Math.floor(a.status/100)-4],a.config,a.request,a))},Wc}var Vc,Tm;function qR(){if(Tm)return Vc;Tm=1;var e=lt();return Vc=e.isStandardBrowserEnv()?function(){return{write:function(n,a,o,s,i,l){var u=[];u.push(n+"="+encodeURIComponent(a)),e.isNumber(o)&&u.push("expires="+new Date(o).toGMTString()),e.isString(s)&&u.push("path="+s),e.isString(i)&&u.push("domain="+i),l===!0&&u.push("secure"),document.cookie=u.join("; ")},read:function(n){var a=document.cookie.match(new RegExp("(^|;\\s*)("+n+")=([^;]*)"));return a?decodeURIComponent(a[3]):null},remove:function(n){this.write(n,"",Date.now()-864e5)}}}():function(){return{write:function(){},read:function(){return null},remove:function(){}}}(),Vc}var zc,Sm;function DR(){return Sm||(Sm=1,zc=function(t){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(t)}),zc}var Yc,Rm;function FR(){return Rm||(Rm=1,Yc=function(t,r){return r?t.replace(/\/+$/,"")+"/"+r.replace(/^\/+/,""):t}),Yc}var Kc,Cm;function wE(){if(Cm)return Kc;Cm=1;var e=DR(),t=FR();return Kc=function(n,a){return n&&!e(a)?t(n,a):a},Kc}var Xc,Om;function UR(){if(Om)return Xc;Om=1;var e=lt(),t=["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"];return Xc=function(n){var a={},o,s,i;return n&&e.forEach(n.split(`
25
- `),function(u){if(i=u.indexOf(":"),o=e.trim(u.substr(0,i)).toLowerCase(),s=e.trim(u.substr(i+1)),o){if(a[o]&&t.indexOf(o)>=0)return;o==="set-cookie"?a[o]=(a[o]?a[o]:[]).concat([s]):a[o]=a[o]?a[o]+", "+s:s}}),a},Xc}var Qc,xm;function jR(){if(xm)return Qc;xm=1;var e=lt();return Qc=e.isStandardBrowserEnv()?function(){var r=/(msie|trident)/i.test(navigator.userAgent),n=document.createElement("a"),a;function o(s){var i=s;return r&&(n.setAttribute("href",i),i=n.href),n.setAttribute("href",i),{href:n.href,protocol:n.protocol?n.protocol.replace(/:$/,""):"",host:n.host,search:n.search?n.search.replace(/^\?/,""):"",hash:n.hash?n.hash.replace(/^#/,""):"",hostname:n.hostname,port:n.port,pathname:n.pathname.charAt(0)==="/"?n.pathname:"/"+n.pathname}}return a=o(window.location.href),function(i){var l=e.isString(i)?o(i):i;return l.protocol===a.protocol&&l.host===a.host}}():function(){return function(){return!0}}(),Qc}var Jc,Pm;function Ts(){if(Pm)return Jc;Pm=1;var e=ba(),t=lt();function r(n){e.call(this,n??"canceled",e.ERR_CANCELED),this.name="CanceledError"}return t.inherits(r,e,{__CANCEL__:!0}),Jc=r,Jc}var Zc,Am;function HR(){return Am||(Am=1,Zc=function(t){var r=/^([-+\w]{1,25})(:?\/\/|:)/.exec(t);return r&&r[1]||""}),Zc}var ef,Im;function Nm(){if(Im)return ef;Im=1;var e=lt(),t=BR(),r=qR(),n=bE(),a=wE(),o=UR(),s=jR(),i=EE(),l=ba(),u=Ts(),c=HR();return ef=function(d){return new Promise(function(h,m){var _=d.data,b=d.headers,v=d.responseType,w;function R(){d.cancelToken&&d.cancelToken.unsubscribe(w),d.signal&&d.signal.removeEventListener("abort",w)}e.isFormData(_)&&e.isStandardBrowserEnv()&&delete b["Content-Type"];var T=new XMLHttpRequest;if(d.auth){var C=d.auth.username||"",N=d.auth.password?unescape(encodeURIComponent(d.auth.password)):"";b.Authorization="Basic "+btoa(C+":"+N)}var I=a(d.baseURL,d.url);T.open(d.method.toUpperCase(),n(I,d.params,d.paramsSerializer),!0),T.timeout=d.timeout;function j(){if(T){var U="getAllResponseHeaders"in T?o(T.getAllResponseHeaders()):null,D=!v||v==="text"||v==="json"?T.responseText:T.response,Q={data:D,status:T.status,statusText:T.statusText,headers:U,config:d,request:T};t(function(k){h(k),R()},function(k){m(k),R()},Q),T=null}}if("onloadend"in T?T.onloadend=j:T.onreadystatechange=function(){!T||T.readyState!==4||T.status===0&&!(T.responseURL&&T.responseURL.indexOf("file:")===0)||setTimeout(j)},T.onabort=function(){T&&(m(new l("Request aborted",l.ECONNABORTED,d,T)),T=null)},T.onerror=function(){m(new l("Network Error",l.ERR_NETWORK,d,T,T)),T=null},T.ontimeout=function(){var D=d.timeout?"timeout of "+d.timeout+"ms exceeded":"timeout exceeded",Q=d.transitional||i;d.timeoutErrorMessage&&(D=d.timeoutErrorMessage),m(new l(D,Q.clarifyTimeoutError?l.ETIMEDOUT:l.ECONNABORTED,d,T)),T=null},e.isStandardBrowserEnv()){var z=(d.withCredentials||s(I))&&d.xsrfCookieName?r.read(d.xsrfCookieName):void 0;z&&(b[d.xsrfHeaderName]=z)}"setRequestHeader"in T&&e.forEach(b,function(D,Q){typeof _>"u"&&Q.toLowerCase()==="content-type"?delete b[Q]:T.setRequestHeader(Q,D)}),e.isUndefined(d.withCredentials)||(T.withCredentials=!!d.withCredentials),v&&v!=="json"&&(T.responseType=d.responseType),typeof d.onDownloadProgress=="function"&&T.addEventListener("progress",d.onDownloadProgress),typeof d.onUploadProgress=="function"&&T.upload&&T.upload.addEventListener("progress",d.onUploadProgress),(d.cancelToken||d.signal)&&(w=function(U){T&&(m(!U||U&&U.type?new u:U),T.abort(),T=null)},d.cancelToken&&d.cancelToken.subscribe(w),d.signal&&(d.signal.aborted?w():d.signal.addEventListener("abort",w))),_||(_=null);var Y=c(I);if(Y&&["http","https","file"].indexOf(Y)===-1){m(new l("Unsupported protocol "+Y+":",l.ERR_BAD_REQUEST,d));return}T.send(_)})},ef}var tf,Mm;function GR(){return Mm||(Mm=1,tf=null),tf}var rf,km;function uh(){if(km)return rf;km=1;var e=lt(),t=LR(),r=ba(),n=EE(),a=_E(),o={"Content-Type":"application/x-www-form-urlencoded"};function s(c,p){!e.isUndefined(c)&&e.isUndefined(c["Content-Type"])&&(c["Content-Type"]=p)}function i(){var c;return(typeof XMLHttpRequest<"u"||typeof process<"u"&&Object.prototype.toString.call(process)==="[object process]")&&(c=Nm()),c}function l(c,p,d){if(e.isString(c))try{return(p||JSON.parse)(c),e.trim(c)}catch(f){if(f.name!=="SyntaxError")throw f}return(d||JSON.stringify)(c)}var u={transitional:n,adapter:i(),transformRequest:[function(p,d){if(t(d,"Accept"),t(d,"Content-Type"),e.isFormData(p)||e.isArrayBuffer(p)||e.isBuffer(p)||e.isStream(p)||e.isFile(p)||e.isBlob(p))return p;if(e.isArrayBufferView(p))return p.buffer;if(e.isURLSearchParams(p))return s(d,"application/x-www-form-urlencoded;charset=utf-8"),p.toString();var f=e.isObject(p),h=d&&d["Content-Type"],m;if((m=e.isFileList(p))||f&&h==="multipart/form-data"){var _=this.env&&this.env.FormData;return a(m?{"files[]":p}:p,_&&new _)}else if(f||h==="application/json")return s(d,"application/json"),l(p);return p}],transformResponse:[function(p){var d=this.transitional||u.transitional,f=d&&d.silentJSONParsing,h=d&&d.forcedJSONParsing,m=!f&&this.responseType==="json";if(m||h&&e.isString(p)&&p.length)try{return JSON.parse(p)}catch(_){if(m)throw _.name==="SyntaxError"?r.from(_,r.ERR_BAD_RESPONSE,this,null,this.response):_}return p}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:GR()},validateStatus:function(p){return p>=200&&p<300},headers:{common:{Accept:"application/json, text/plain, */*"}}};return e.forEach(["delete","get","head"],function(p){u.headers[p]={}}),e.forEach(["post","put","patch"],function(p){u.headers[p]=e.merge(o)}),rf=u,rf}var nf,$m;function WR(){if($m)return nf;$m=1;var e=lt(),t=uh();return nf=function(n,a,o){var s=this||t;return e.forEach(o,function(l){n=l.call(s,n,a)}),n},nf}var af,Lm;function TE(){return Lm||(Lm=1,af=function(t){return!!(t&&t.__CANCEL__)}),af}var of,Bm;function VR(){if(Bm)return of;Bm=1;var e=lt(),t=WR(),r=TE(),n=uh(),a=Ts();function o(s){if(s.cancelToken&&s.cancelToken.throwIfRequested(),s.signal&&s.signal.aborted)throw new a}return of=function(i){o(i),i.headers=i.headers||{},i.data=t.call(i,i.data,i.headers,i.transformRequest),i.headers=e.merge(i.headers.common||{},i.headers[i.method]||{},i.headers),e.forEach(["delete","get","head","post","put","patch","common"],function(c){delete i.headers[c]});var l=i.adapter||n.adapter;return l(i).then(function(c){return o(i),c.data=t.call(i,c.data,c.headers,i.transformResponse),c},function(c){return r(c)||(o(i),c&&c.response&&(c.response.data=t.call(i,c.response.data,c.response.headers,i.transformResponse))),Promise.reject(c)})},of}var sf,qm;function SE(){if(qm)return sf;qm=1;var e=lt();return sf=function(r,n){n=n||{};var a={};function o(p,d){return e.isPlainObject(p)&&e.isPlainObject(d)?e.merge(p,d):e.isPlainObject(d)?e.merge({},d):e.isArray(d)?d.slice():d}function s(p){if(e.isUndefined(n[p])){if(!e.isUndefined(r[p]))return o(void 0,r[p])}else return o(r[p],n[p])}function i(p){if(!e.isUndefined(n[p]))return o(void 0,n[p])}function l(p){if(e.isUndefined(n[p])){if(!e.isUndefined(r[p]))return o(void 0,r[p])}else return o(void 0,n[p])}function u(p){if(p in n)return o(r[p],n[p]);if(p in r)return o(void 0,r[p])}var c={url:i,method:i,data:i,baseURL:l,transformRequest:l,transformResponse:l,paramsSerializer:l,timeout:l,timeoutMessage:l,withCredentials:l,adapter:l,responseType:l,xsrfCookieName:l,xsrfHeaderName:l,onUploadProgress:l,onDownloadProgress:l,decompress:l,maxContentLength:l,maxBodyLength:l,beforeRedirect:l,transport:l,httpAgent:l,httpsAgent:l,cancelToken:l,socketPath:l,responseEncoding:l,validateStatus:u};return e.forEach(Object.keys(r).concat(Object.keys(n)),function(d){var f=c[d]||s,h=f(d);e.isUndefined(h)&&f!==u||(a[d]=h)}),a},sf}var lf,Dm;function RE(){return Dm||(Dm=1,lf={version:"0.27.2"}),lf}var uf,Fm;function zR(){if(Fm)return uf;Fm=1;var e=RE().version,t=ba(),r={};["object","boolean","number","function","string","symbol"].forEach(function(o,s){r[o]=function(l){return typeof l===o||"a"+(s<1?"n ":" ")+o}});var n={};r.transitional=function(s,i,l){function u(c,p){return"[Axios v"+e+"] Transitional option '"+c+"'"+p+(l?". "+l:"")}return function(c,p,d){if(s===!1)throw new t(u(p," has been removed"+(i?" in "+i:"")),t.ERR_DEPRECATED);return i&&!n[p]&&(n[p]=!0,console.warn(u(p," has been deprecated since v"+i+" and will be removed in the near future"))),s?s(c,p,d):!0}};function a(o,s,i){if(typeof o!="object")throw new t("options must be an object",t.ERR_BAD_OPTION_VALUE);for(var l=Object.keys(o),u=l.length;u-- >0;){var c=l[u],p=s[c];if(p){var d=o[c],f=d===void 0||p(d,c,o);if(f!==!0)throw new t("option "+c+" must be "+f,t.ERR_BAD_OPTION_VALUE);continue}if(i!==!0)throw new t("Unknown option "+c,t.ERR_BAD_OPTION)}}return uf={assertOptions:a,validators:r},uf}var cf,Um;function YR(){if(Um)return cf;Um=1;var e=lt(),t=bE(),r=$R(),n=VR(),a=SE(),o=wE(),s=zR(),i=s.validators;function l(u){this.defaults=u,this.interceptors={request:new r,response:new r}}return l.prototype.request=function(c,p){typeof c=="string"?(p=p||{},p.url=c):p=c||{},p=a(this.defaults,p),p.method?p.method=p.method.toLowerCase():this.defaults.method?p.method=this.defaults.method.toLowerCase():p.method="get";var d=p.transitional;d!==void 0&&s.assertOptions(d,{silentJSONParsing:i.transitional(i.boolean),forcedJSONParsing:i.transitional(i.boolean),clarifyTimeoutError:i.transitional(i.boolean)},!1);var f=[],h=!0;this.interceptors.request.forEach(function(C){typeof C.runWhen=="function"&&C.runWhen(p)===!1||(h=h&&C.synchronous,f.unshift(C.fulfilled,C.rejected))});var m=[];this.interceptors.response.forEach(function(C){m.push(C.fulfilled,C.rejected)});var _;if(!h){var b=[n,void 0];for(Array.prototype.unshift.apply(b,f),b=b.concat(m),_=Promise.resolve(p);b.length;)_=_.then(b.shift(),b.shift());return _}for(var v=p;f.length;){var w=f.shift(),R=f.shift();try{v=w(v)}catch(T){R(T);break}}try{_=n(v)}catch(T){return Promise.reject(T)}for(;m.length;)_=_.then(m.shift(),m.shift());return _},l.prototype.getUri=function(c){c=a(this.defaults,c);var p=o(c.baseURL,c.url);return t(p,c.params,c.paramsSerializer)},e.forEach(["delete","get","head","options"],function(c){l.prototype[c]=function(p,d){return this.request(a(d||{},{method:c,url:p,data:(d||{}).data}))}}),e.forEach(["post","put","patch"],function(c){function p(d){return function(h,m,_){return this.request(a(_||{},{method:c,headers:d?{"Content-Type":"multipart/form-data"}:{},url:h,data:m}))}}l.prototype[c]=p(),l.prototype[c+"Form"]=p(!0)}),cf=l,cf}var ff,jm;function KR(){if(jm)return ff;jm=1;var e=Ts();function t(r){if(typeof r!="function")throw new TypeError("executor must be a function.");var n;this.promise=new Promise(function(s){n=s});var a=this;this.promise.then(function(o){if(a._listeners){var s,i=a._listeners.length;for(s=0;s<i;s++)a._listeners[s](o);a._listeners=null}}),this.promise.then=function(o){var s,i=new Promise(function(l){a.subscribe(l),s=l}).then(o);return i.cancel=function(){a.unsubscribe(s)},i},r(function(s){a.reason||(a.reason=new e(s),n(a.reason))})}return t.prototype.throwIfRequested=function(){if(this.reason)throw this.reason},t.prototype.subscribe=function(n){if(this.reason){n(this.reason);return}this._listeners?this._listeners.push(n):this._listeners=[n]},t.prototype.unsubscribe=function(n){if(this._listeners){var a=this._listeners.indexOf(n);a!==-1&&this._listeners.splice(a,1)}},t.source=function(){var n,a=new t(function(s){n=s});return{token:a,cancel:n}},ff=t,ff}var df,Hm;function XR(){return Hm||(Hm=1,df=function(t){return function(n){return t.apply(null,n)}}),df}var pf,Gm;function QR(){if(Gm)return pf;Gm=1;var e=lt();return pf=function(r){return e.isObject(r)&&r.isAxiosError===!0},pf}var Wm;function JR(){if(Wm)return li.exports;Wm=1;var e=lt(),t=gE(),r=YR(),n=SE(),a=uh();function o(i){var l=new r(i),u=t(r.prototype.request,l);return e.extend(u,r.prototype,l),e.extend(u,l),u.create=function(p){return o(n(i,p))},u}var s=o(a);return s.Axios=r,s.CanceledError=Ts(),s.CancelToken=KR(),s.isCancel=TE(),s.VERSION=RE().version,s.toFormData=_E(),s.AxiosError=ba(),s.Cancel=s.CanceledError,s.all=function(l){return Promise.all(l)},s.spread=XR(),s.isAxiosError=QR(),li.exports=s,li.exports.default=s,li.exports}var hf,Vm;function CE(){return Vm||(Vm=1,hf=JR()),hf}var ZR=Function.prototype.toString,mf=Object.create,eC=Object.defineProperty,tC=Object.getOwnPropertyDescriptor,zm=Object.getOwnPropertyNames,ch=Object.getOwnPropertySymbols,rC=Object.getPrototypeOf,OE=Object.prototype,nC=OE.hasOwnProperty,aC=OE.propertyIsEnumerable,xE=typeof ch=="function",oC=typeof WeakMap=="function",iC=function(){if(oC)return function(){return new WeakMap};var e=function(){function t(){this._keys=[],this._values=[]}return t.prototype.has=function(r){return!!~this._keys.indexOf(r)},t.prototype.get=function(r){return this._values[this._keys.indexOf(r)]},t.prototype.set=function(r,n){this._keys.push(r),this._values.push(n)},t}();return function(){return new e}}(),PE=function(e,t){var r=e.__proto__||rC(e);if(!r)return mf(null);var n=r.constructor;if(n===t.Object)return r===t.Object.prototype?{}:mf(r);if(~ZR.call(n).indexOf("[native code]"))try{return new n}catch{}return mf(r)},sC=function(e,t,r,n){var a=PE(e,t);n.set(e,a);for(var o in e)nC.call(e,o)&&(a[o]=r(e[o],n));if(xE)for(var s=ch(e),i=0,l=s.length,u=void 0;i<l;++i)u=s[i],aC.call(e,u)&&(a[u]=r(e[u],n));return a},Ym=function(e,t,r,n){var a=PE(e,t);n.set(e,a);for(var o=xE?zm(e).concat(ch(e)):zm(e),s=0,i=o.length,l=void 0,u=void 0;s<i;++s)if(l=o[s],l!=="callee"&&l!=="caller")if(u=tC(e,l),u){!u.get&&!u.set&&(u.value=r(e[l],n));try{eC(a,l,u)}catch{a[l]=u.value}}else a[l]=r(e[l],n);return a},lC=function(e){var t="";return e.global&&(t+="g"),e.ignoreCase&&(t+="i"),e.multiline&&(t+="m"),e.unicode&&(t+="u"),e.sticky&&(t+="y"),t},uC=Array.isArray,cC=Object.getPrototypeOf,fC=function(){return typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:(console&&console.error&&console.error('Unable to locate global object, returning "this".'),this)}();function Kr(e,t){var r=!!(t&&t.isStrict),n=t&&t.realm||fC,a=r?Ym:sC,o=function(s,i){if(!s||typeof s!="object")return s;if(i.has(s))return i.get(s);var l=s.__proto__||cC(s),u=l&&l.constructor;if(!u||u===n.Object)return a(s,n,o,i);var c;if(uC(s)){if(r)return Ym(s,n,o,i);c=new u,i.set(s,c);for(var p=0,d=s.length;p<d;++p)c[p]=o(s[p],i);return c}if(s instanceof n.Date)return new u(s.getTime());if(s instanceof n.RegExp)return c=new u(s.source,s.flags||lC(s)),c.lastIndex=s.lastIndex,c;if(n.Map&&s instanceof n.Map)return c=new u,i.set(s,c),s.forEach(function(f,h){c.set(h,o(f,i))}),c;if(n.Set&&s instanceof n.Set)return c=new u,i.set(s,c),s.forEach(function(f){c.add(o(f,i))}),c;if(n.Blob&&s instanceof n.Blob)return s.slice(0,s.size,s.type);if(n.Buffer&&n.Buffer.isBuffer(s))return c=n.Buffer.allocUnsafe?n.Buffer.allocUnsafe(s.length):new u(s.length),i.set(s,c),s.copy(c),c;if(n.ArrayBuffer){if(n.ArrayBuffer.isView(s))return c=new u(s.buffer.slice(0)),i.set(s,c),c;if(s instanceof n.ArrayBuffer)return c=s.slice(0),i.set(s,c),c}return typeof s.then=="function"||s instanceof Error||n.WeakMap&&s instanceof n.WeakMap||n.WeakSet&&s instanceof n.WeakSet?s:a(s,n,o,i)};return o(e,iC())}Kr.default=Kr;Kr.strict=function(t,r){return Kr(t,{isStrict:!0,realm:r?r.realm:void 0})};var Ss=function(){if(typeof Symbol!="function"||typeof Object.getOwnPropertySymbols!="function")return!1;if(typeof Symbol.iterator=="symbol")return!0;var t={},r=Symbol("test"),n=Object(r);if(typeof r=="string"||Object.prototype.toString.call(r)!=="[object Symbol]"||Object.prototype.toString.call(n)!=="[object Symbol]")return!1;var a=42;t[r]=a;for(r in t)return!1;if(typeof Object.keys=="function"&&Object.keys(t).length!==0||typeof Object.getOwnPropertyNames=="function"&&Object.getOwnPropertyNames(t).length!==0)return!1;var o=Object.getOwnPropertySymbols(t);if(o.length!==1||o[0]!==r||!Object.prototype.propertyIsEnumerable.call(t,r))return!1;if(typeof Object.getOwnPropertyDescriptor=="function"){var s=Object.getOwnPropertyDescriptor(t,r);if(s.value!==a||s.enumerable!==!0)return!1}return!0},Km=typeof Symbol<"u"&&Symbol,dC=Ss,fh=function(){return typeof Km!="function"||typeof Symbol!="function"||typeof Km("foo")!="symbol"||typeof Symbol("bar")!="symbol"?!1:dC()},Xm={foo:{}},pC=Object,hC=function(){return{__proto__:Xm}.foo===Xm.foo&&!({__proto__:null}instanceof pC)},mC="Function.prototype.bind called on incompatible ",yf=Array.prototype.slice,yC=Object.prototype.toString,vC="[object Function]",gC=function(t){var r=this;if(typeof r!="function"||yC.call(r)!==vC)throw new TypeError(mC+r);for(var n=yf.call(arguments,1),a,o=function(){if(this instanceof a){var c=r.apply(this,n.concat(yf.call(arguments)));return Object(c)===c?c:this}else return r.apply(t,n.concat(yf.call(arguments)))},s=Math.max(0,r.length-n.length),i=[],l=0;l<s;l++)i.push("$"+l);if(a=Function("binder","return function ("+i.join(",")+"){ return binder.apply(this,arguments); }")(o),r.prototype){var u=function(){};u.prototype=r.prototype,a.prototype=new u,u.prototype=null}return a},bC=gC,dh=Function.prototype.bind||bC,EC=dh,AE=EC.call(Function.call,Object.prototype.hasOwnProperty),Te,da=SyntaxError,IE=Function,ca=TypeError,vf=function(e){try{return IE('"use strict"; return ('+e+").constructor;")()}catch{}},wn=Object.getOwnPropertyDescriptor;if(wn)try{wn({},"")}catch{wn=null}var gf=function(){throw new ca},_C=wn?function(){try{return arguments.callee,gf}catch{try{return wn(arguments,"callee").get}catch{return gf}}}():gf,Jn=fh(),wC=hC(),nt=Object.getPrototypeOf||(wC?function(e){return e.__proto__}:null),ia={},TC=typeof Uint8Array>"u"||!nt?Te:nt(Uint8Array),Tn={"%AggregateError%":typeof AggregateError>"u"?Te:AggregateError,"%Array%":Array,"%ArrayBuffer%":typeof ArrayBuffer>"u"?Te:ArrayBuffer,"%ArrayIteratorPrototype%":Jn&&nt?nt([][Symbol.iterator]()):Te,"%AsyncFromSyncIteratorPrototype%":Te,"%AsyncFunction%":ia,"%AsyncGenerator%":ia,"%AsyncGeneratorFunction%":ia,"%AsyncIteratorPrototype%":ia,"%Atomics%":typeof Atomics>"u"?Te:Atomics,"%BigInt%":typeof BigInt>"u"?Te:BigInt,"%BigInt64Array%":typeof BigInt64Array>"u"?Te:BigInt64Array,"%BigUint64Array%":typeof BigUint64Array>"u"?Te:BigUint64Array,"%Boolean%":Boolean,"%DataView%":typeof DataView>"u"?Te:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":Error,"%eval%":eval,"%EvalError%":EvalError,"%Float32Array%":typeof Float32Array>"u"?Te:Float32Array,"%Float64Array%":typeof Float64Array>"u"?Te:Float64Array,"%FinalizationRegistry%":typeof FinalizationRegistry>"u"?Te:FinalizationRegistry,"%Function%":IE,"%GeneratorFunction%":ia,"%Int8Array%":typeof Int8Array>"u"?Te:Int8Array,"%Int16Array%":typeof Int16Array>"u"?Te:Int16Array,"%Int32Array%":typeof Int32Array>"u"?Te:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":Jn&&nt?nt(nt([][Symbol.iterator]())):Te,"%JSON%":typeof JSON=="object"?JSON:Te,"%Map%":typeof Map>"u"?Te:Map,"%MapIteratorPrototype%":typeof Map>"u"||!Jn||!nt?Te:nt(new Map()[Symbol.iterator]()),"%Math%":Math,"%Number%":Number,"%Object%":Object,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":typeof Promise>"u"?Te:Promise,"%Proxy%":typeof Proxy>"u"?Te:Proxy,"%RangeError%":RangeError,"%ReferenceError%":ReferenceError,"%Reflect%":typeof Reflect>"u"?Te:Reflect,"%RegExp%":RegExp,"%Set%":typeof Set>"u"?Te:Set,"%SetIteratorPrototype%":typeof Set>"u"||!Jn||!nt?Te:nt(new Set()[Symbol.iterator]()),"%SharedArrayBuffer%":typeof SharedArrayBuffer>"u"?Te:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":Jn&&nt?nt(""[Symbol.iterator]()):Te,"%Symbol%":Jn?Symbol:Te,"%SyntaxError%":da,"%ThrowTypeError%":_C,"%TypedArray%":TC,"%TypeError%":ca,"%Uint8Array%":typeof Uint8Array>"u"?Te:Uint8Array,"%Uint8ClampedArray%":typeof Uint8ClampedArray>"u"?Te:Uint8ClampedArray,"%Uint16Array%":typeof Uint16Array>"u"?Te:Uint16Array,"%Uint32Array%":typeof Uint32Array>"u"?Te:Uint32Array,"%URIError%":URIError,"%WeakMap%":typeof WeakMap>"u"?Te:WeakMap,"%WeakRef%":typeof WeakRef>"u"?Te:WeakRef,"%WeakSet%":typeof WeakSet>"u"?Te:WeakSet};if(nt)try{null.error}catch(e){var SC=nt(nt(e));Tn["%Error.prototype%"]=SC}var RC=function e(t){var r;if(t==="%AsyncFunction%")r=vf("async function () {}");else if(t==="%GeneratorFunction%")r=vf("function* () {}");else if(t==="%AsyncGeneratorFunction%")r=vf("async function* () {}");else if(t==="%AsyncGenerator%"){var n=e("%AsyncGeneratorFunction%");n&&(r=n.prototype)}else if(t==="%AsyncIteratorPrototype%"){var a=e("%AsyncGenerator%");a&&nt&&(r=nt(a.prototype))}return Tn[t]=r,r},Qm={"%ArrayBufferPrototype%":["ArrayBuffer","prototype"],"%ArrayPrototype%":["Array","prototype"],"%ArrayProto_entries%":["Array","prototype","entries"],"%ArrayProto_forEach%":["Array","prototype","forEach"],"%ArrayProto_keys%":["Array","prototype","keys"],"%ArrayProto_values%":["Array","prototype","values"],"%AsyncFunctionPrototype%":["AsyncFunction","prototype"],"%AsyncGenerator%":["AsyncGeneratorFunction","prototype"],"%AsyncGeneratorPrototype%":["AsyncGeneratorFunction","prototype","prototype"],"%BooleanPrototype%":["Boolean","prototype"],"%DataViewPrototype%":["DataView","prototype"],"%DatePrototype%":["Date","prototype"],"%ErrorPrototype%":["Error","prototype"],"%EvalErrorPrototype%":["EvalError","prototype"],"%Float32ArrayPrototype%":["Float32Array","prototype"],"%Float64ArrayPrototype%":["Float64Array","prototype"],"%FunctionPrototype%":["Function","prototype"],"%Generator%":["GeneratorFunction","prototype"],"%GeneratorPrototype%":["GeneratorFunction","prototype","prototype"],"%Int8ArrayPrototype%":["Int8Array","prototype"],"%Int16ArrayPrototype%":["Int16Array","prototype"],"%Int32ArrayPrototype%":["Int32Array","prototype"],"%JSONParse%":["JSON","parse"],"%JSONStringify%":["JSON","stringify"],"%MapPrototype%":["Map","prototype"],"%NumberPrototype%":["Number","prototype"],"%ObjectPrototype%":["Object","prototype"],"%ObjProto_toString%":["Object","prototype","toString"],"%ObjProto_valueOf%":["Object","prototype","valueOf"],"%PromisePrototype%":["Promise","prototype"],"%PromiseProto_then%":["Promise","prototype","then"],"%Promise_all%":["Promise","all"],"%Promise_reject%":["Promise","reject"],"%Promise_resolve%":["Promise","resolve"],"%RangeErrorPrototype%":["RangeError","prototype"],"%ReferenceErrorPrototype%":["ReferenceError","prototype"],"%RegExpPrototype%":["RegExp","prototype"],"%SetPrototype%":["Set","prototype"],"%SharedArrayBufferPrototype%":["SharedArrayBuffer","prototype"],"%StringPrototype%":["String","prototype"],"%SymbolPrototype%":["Symbol","prototype"],"%SyntaxErrorPrototype%":["SyntaxError","prototype"],"%TypedArrayPrototype%":["TypedArray","prototype"],"%TypeErrorPrototype%":["TypeError","prototype"],"%Uint8ArrayPrototype%":["Uint8Array","prototype"],"%Uint8ClampedArrayPrototype%":["Uint8ClampedArray","prototype"],"%Uint16ArrayPrototype%":["Uint16Array","prototype"],"%Uint32ArrayPrototype%":["Uint32Array","prototype"],"%URIErrorPrototype%":["URIError","prototype"],"%WeakMapPrototype%":["WeakMap","prototype"],"%WeakSetPrototype%":["WeakSet","prototype"]},Do=dh,Xi=AE,CC=Do.call(Function.call,Array.prototype.concat),OC=Do.call(Function.apply,Array.prototype.splice),Jm=Do.call(Function.call,String.prototype.replace),Qi=Do.call(Function.call,String.prototype.slice),xC=Do.call(Function.call,RegExp.prototype.exec),PC=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,AC=/\\(\\)?/g,IC=function(t){var r=Qi(t,0,1),n=Qi(t,-1);if(r==="%"&&n!=="%")throw new da("invalid intrinsic syntax, expected closing `%`");if(n==="%"&&r!=="%")throw new da("invalid intrinsic syntax, expected opening `%`");var a=[];return Jm(t,PC,function(o,s,i,l){a[a.length]=i?Jm(l,AC,"$1"):s||o}),a},NC=function(t,r){var n=t,a;if(Xi(Qm,n)&&(a=Qm[n],n="%"+a[0]+"%"),Xi(Tn,n)){var o=Tn[n];if(o===ia&&(o=RC(n)),typeof o>"u"&&!r)throw new ca("intrinsic "+t+" exists, but is not available. Please file an issue!");return{alias:a,name:n,value:o}}throw new da("intrinsic "+t+" does not exist!")},Qt=function(t,r){if(typeof t!="string"||t.length===0)throw new ca("intrinsic name must be a non-empty string");if(arguments.length>1&&typeof r!="boolean")throw new ca('"allowMissing" argument must be a boolean');if(xC(/^%?[^%]*%?$/,t)===null)throw new da("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var n=IC(t),a=n.length>0?n[0]:"",o=NC("%"+a+"%",r),s=o.name,i=o.value,l=!1,u=o.alias;u&&(a=u[0],OC(n,CC([0,1],u)));for(var c=1,p=!0;c<n.length;c+=1){var d=n[c],f=Qi(d,0,1),h=Qi(d,-1);if((f==='"'||f==="'"||f==="`"||h==='"'||h==="'"||h==="`")&&f!==h)throw new da("property names with quotes must have matching quotes");if((d==="constructor"||!p)&&(l=!0),a+="."+d,s="%"+a+"%",Xi(Tn,s))i=Tn[s];else if(i!=null){if(!(d in i)){if(!r)throw new ca("base intrinsic for "+t+" exists, but the property is not available.");return}if(wn&&c+1>=n.length){var m=wn(i,d);p=!!m,p&&"get"in m&&!("originalValue"in m.get)?i=m.get:i=i[d]}else p=Xi(i,d),i=i[d];p&&!l&&(Tn[s]=i)}}return i},NE={exports:{}};(function(e){var t=dh,r=Qt,n=r("%Function.prototype.apply%"),a=r("%Function.prototype.call%"),o=r("%Reflect.apply%",!0)||t.call(a,n),s=r("%Object.getOwnPropertyDescriptor%",!0),i=r("%Object.defineProperty%",!0),l=r("%Math.max%");if(i)try{i({},"a",{value:1})}catch{i=null}e.exports=function(p){var d=o(t,a,arguments);if(s&&i){var f=s(d,"length");f.configurable&&i(d,"length",{value:1+l(0,p.length-(arguments.length-1))})}return d};var u=function(){return o(t,n,arguments)};i?i(e.exports,"apply",{value:u}):e.exports.apply=u})(NE);var Ea=NE.exports,ME=Qt,kE=Ea,MC=kE(ME("String.prototype.indexOf")),$t=function(t,r){var n=ME(t,!!r);return typeof n=="function"&&MC(t,".prototype.")>-1?kE(n):n};const kC={},$C=Object.freeze(Object.defineProperty({__proto__:null,default:kC},Symbol.toStringTag,{value:"Module"})),LC=qo($C);var ph=typeof Map=="function"&&Map.prototype,bf=Object.getOwnPropertyDescriptor&&ph?Object.getOwnPropertyDescriptor(Map.prototype,"size"):null,Ji=ph&&bf&&typeof bf.get=="function"?bf.get:null,Zm=ph&&Map.prototype.forEach,hh=typeof Set=="function"&&Set.prototype,Ef=Object.getOwnPropertyDescriptor&&hh?Object.getOwnPropertyDescriptor(Set.prototype,"size"):null,Zi=hh&&Ef&&typeof Ef.get=="function"?Ef.get:null,ey=hh&&Set.prototype.forEach,BC=typeof WeakMap=="function"&&WeakMap.prototype,Eo=BC?WeakMap.prototype.has:null,qC=typeof WeakSet=="function"&&WeakSet.prototype,_o=qC?WeakSet.prototype.has:null,DC=typeof WeakRef=="function"&&WeakRef.prototype,ty=DC?WeakRef.prototype.deref:null,FC=Boolean.prototype.valueOf,UC=Object.prototype.toString,jC=Function.prototype.toString,HC=String.prototype.match,mh=String.prototype.slice,Ur=String.prototype.replace,GC=String.prototype.toUpperCase,ry=String.prototype.toLowerCase,$E=RegExp.prototype.test,ny=Array.prototype.concat,rr=Array.prototype.join,WC=Array.prototype.slice,ay=Math.floor,Qd=typeof BigInt=="function"?BigInt.prototype.valueOf:null,_f=Object.getOwnPropertySymbols,Jd=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?Symbol.prototype.toString:null,pa=typeof Symbol=="function"&&typeof Symbol.iterator=="object",gt=typeof Symbol=="function"&&Symbol.toStringTag&&(typeof Symbol.toStringTag===pa||"symbol")?Symbol.toStringTag:null,LE=Object.prototype.propertyIsEnumerable,oy=(typeof Reflect=="function"?Reflect.getPrototypeOf:Object.getPrototypeOf)||([].__proto__===Array.prototype?function(e){return e.__proto__}:null);function iy(e,t){if(e===1/0||e===-1/0||e!==e||e&&e>-1e3&&e<1e3||$E.call(/e/,t))return t;var r=/[0-9](?=(?:[0-9]{3})+(?![0-9]))/g;if(typeof e=="number"){var n=e<0?-ay(-e):ay(e);if(n!==e){var a=String(n),o=mh.call(t,a.length+1);return Ur.call(a,r,"$&_")+"."+Ur.call(Ur.call(o,/([0-9]{3})/g,"$&_"),/_$/,"")}}return Ur.call(t,r,"$&_")}var Zd=LC,sy=Zd.custom,ly=qE(sy)?sy:null,VC=function e(t,r,n,a){var o=r||{};if(Lr(o,"quoteStyle")&&o.quoteStyle!=="single"&&o.quoteStyle!=="double")throw new TypeError('option "quoteStyle" must be "single" or "double"');if(Lr(o,"maxStringLength")&&(typeof o.maxStringLength=="number"?o.maxStringLength<0&&o.maxStringLength!==1/0:o.maxStringLength!==null))throw new TypeError('option "maxStringLength", if provided, must be a positive integer, Infinity, or `null`');var s=Lr(o,"customInspect")?o.customInspect:!0;if(typeof s!="boolean"&&s!=="symbol")throw new TypeError("option \"customInspect\", if provided, must be `true`, `false`, or `'symbol'`");if(Lr(o,"indent")&&o.indent!==null&&o.indent!==" "&&!(parseInt(o.indent,10)===o.indent&&o.indent>0))throw new TypeError('option "indent" must be "\\t", an integer > 0, or `null`');if(Lr(o,"numericSeparator")&&typeof o.numericSeparator!="boolean")throw new TypeError('option "numericSeparator", if provided, must be `true` or `false`');var i=o.numericSeparator;if(typeof t>"u")return"undefined";if(t===null)return"null";if(typeof t=="boolean")return t?"true":"false";if(typeof t=="string")return FE(t,o);if(typeof t=="number"){if(t===0)return 1/0/t>0?"0":"-0";var l=String(t);return i?iy(t,l):l}if(typeof t=="bigint"){var u=String(t)+"n";return i?iy(t,u):u}var c=typeof o.depth>"u"?5:o.depth;if(typeof n>"u"&&(n=0),n>=c&&c>0&&typeof t=="object")return ep(t)?"[Array]":"[Object]";var p=cO(o,n);if(typeof a>"u")a=[];else if(DE(a,t)>=0)return"[Circular]";function d(D,Q,J){if(Q&&(a=WC.call(a),a.push(Q)),J){var k={depth:o.depth};return Lr(o,"quoteStyle")&&(k.quoteStyle=o.quoteStyle),e(D,k,n+1,a)}return e(D,o,n+1,a)}if(typeof t=="function"&&!uy(t)){var f=tO(t),h=ui(t,d);return"[Function"+(f?": "+f:" (anonymous)")+"]"+(h.length>0?" { "+rr.call(h,", ")+" }":"")}if(qE(t)){var m=pa?Ur.call(String(t),/^(Symbol\(.*\))_[^)]*$/,"$1"):Jd.call(t);return typeof t=="object"&&!pa?Wa(m):m}if(sO(t)){for(var _="<"+ry.call(String(t.nodeName)),b=t.attributes||[],v=0;v<b.length;v++)_+=" "+b[v].name+"="+BE(zC(b[v].value),"double",o);return _+=">",t.childNodes&&t.childNodes.length&&(_+="..."),_+="</"+ry.call(String(t.nodeName))+">",_}if(ep(t)){if(t.length===0)return"[]";var w=ui(t,d);return p&&!uO(w)?"["+tp(w,p)+"]":"[ "+rr.call(w,", ")+" ]"}if(KC(t)){var R=ui(t,d);return!("cause"in Error.prototype)&&"cause"in t&&!LE.call(t,"cause")?"{ ["+String(t)+"] "+rr.call(ny.call("[cause]: "+d(t.cause),R),", ")+" }":R.length===0?"["+String(t)+"]":"{ ["+String(t)+"] "+rr.call(R,", ")+" }"}if(typeof t=="object"&&s){if(ly&&typeof t[ly]=="function"&&Zd)return Zd(t,{depth:c-n});if(s!=="symbol"&&typeof t.inspect=="function")return t.inspect()}if(rO(t)){var T=[];return Zm&&Zm.call(t,function(D,Q){T.push(d(Q,t,!0)+" => "+d(D,t))}),cy("Map",Ji.call(t),T,p)}if(oO(t)){var C=[];return ey&&ey.call(t,function(D){C.push(d(D,t))}),cy("Set",Zi.call(t),C,p)}if(nO(t))return wf("WeakMap");if(iO(t))return wf("WeakSet");if(aO(t))return wf("WeakRef");if(QC(t))return Wa(d(Number(t)));if(ZC(t))return Wa(d(Qd.call(t)));if(JC(t))return Wa(FC.call(t));if(XC(t))return Wa(d(String(t)));if(!YC(t)&&!uy(t)){var N=ui(t,d),I=oy?oy(t)===Object.prototype:t instanceof Object||t.constructor===Object,j=t instanceof Object?"":"null prototype",z=!I&&gt&&Object(t)===t&&gt in t?mh.call(Qr(t),8,-1):j?"Object":"",Y=I||typeof t.constructor!="function"?"":t.constructor.name?t.constructor.name+" ":"",U=Y+(z||j?"["+rr.call(ny.call([],z||[],j||[]),": ")+"] ":"");return N.length===0?U+"{}":p?U+"{"+tp(N,p)+"}":U+"{ "+rr.call(N,", ")+" }"}return String(t)};function BE(e,t,r){var n=(r.quoteStyle||t)==="double"?'"':"'";return n+e+n}function zC(e){return Ur.call(String(e),/"/g,"&quot;")}function ep(e){return Qr(e)==="[object Array]"&&(!gt||!(typeof e=="object"&&gt in e))}function YC(e){return Qr(e)==="[object Date]"&&(!gt||!(typeof e=="object"&&gt in e))}function uy(e){return Qr(e)==="[object RegExp]"&&(!gt||!(typeof e=="object"&&gt in e))}function KC(e){return Qr(e)==="[object Error]"&&(!gt||!(typeof e=="object"&&gt in e))}function XC(e){return Qr(e)==="[object String]"&&(!gt||!(typeof e=="object"&&gt in e))}function QC(e){return Qr(e)==="[object Number]"&&(!gt||!(typeof e=="object"&&gt in e))}function JC(e){return Qr(e)==="[object Boolean]"&&(!gt||!(typeof e=="object"&&gt in e))}function qE(e){if(pa)return e&&typeof e=="object"&&e instanceof Symbol;if(typeof e=="symbol")return!0;if(!e||typeof e!="object"||!Jd)return!1;try{return Jd.call(e),!0}catch{}return!1}function ZC(e){if(!e||typeof e!="object"||!Qd)return!1;try{return Qd.call(e),!0}catch{}return!1}var eO=Object.prototype.hasOwnProperty||function(e){return e in this};function Lr(e,t){return eO.call(e,t)}function Qr(e){return UC.call(e)}function tO(e){if(e.name)return e.name;var t=HC.call(jC.call(e),/^function\s*([\w$]+)/);return t?t[1]:null}function DE(e,t){if(e.indexOf)return e.indexOf(t);for(var r=0,n=e.length;r<n;r++)if(e[r]===t)return r;return-1}function rO(e){if(!Ji||!e||typeof e!="object")return!1;try{Ji.call(e);try{Zi.call(e)}catch{return!0}return e instanceof Map}catch{}return!1}function nO(e){if(!Eo||!e||typeof e!="object")return!1;try{Eo.call(e,Eo);try{_o.call(e,_o)}catch{return!0}return e instanceof WeakMap}catch{}return!1}function aO(e){if(!ty||!e||typeof e!="object")return!1;try{return ty.call(e),!0}catch{}return!1}function oO(e){if(!Zi||!e||typeof e!="object")return!1;try{Zi.call(e);try{Ji.call(e)}catch{return!0}return e instanceof Set}catch{}return!1}function iO(e){if(!_o||!e||typeof e!="object")return!1;try{_o.call(e,_o);try{Eo.call(e,Eo)}catch{return!0}return e instanceof WeakSet}catch{}return!1}function sO(e){return!e||typeof e!="object"?!1:typeof HTMLElement<"u"&&e instanceof HTMLElement?!0:typeof e.nodeName=="string"&&typeof e.getAttribute=="function"}function FE(e,t){if(e.length>t.maxStringLength){var r=e.length-t.maxStringLength,n="... "+r+" more character"+(r>1?"s":"");return FE(mh.call(e,0,t.maxStringLength),t)+n}var a=Ur.call(Ur.call(e,/(['\\])/g,"\\$1"),/[\x00-\x1f]/g,lO);return BE(a,"single",t)}function lO(e){var t=e.charCodeAt(0),r={8:"b",9:"t",10:"n",12:"f",13:"r"}[t];return r?"\\"+r:"\\x"+(t<16?"0":"")+GC.call(t.toString(16))}function Wa(e){return"Object("+e+")"}function wf(e){return e+" { ? }"}function cy(e,t,r,n){var a=n?tp(r,n):rr.call(r,", ");return e+" ("+t+") {"+a+"}"}function uO(e){for(var t=0;t<e.length;t++)if(DE(e[t],`
24
+ */var pm;function PR(){return pm||(pm=1,process.env.NODE_ENV!=="production"&&function(){var e=typeof Symbol=="function"&&Symbol.for,t=e?Symbol.for("react.element"):60103,r=e?Symbol.for("react.portal"):60106,n=e?Symbol.for("react.fragment"):60107,a=e?Symbol.for("react.strict_mode"):60108,o=e?Symbol.for("react.profiler"):60114,s=e?Symbol.for("react.provider"):60109,i=e?Symbol.for("react.context"):60110,l=e?Symbol.for("react.async_mode"):60111,u=e?Symbol.for("react.concurrent_mode"):60111,c=e?Symbol.for("react.forward_ref"):60112,p=e?Symbol.for("react.suspense"):60113,d=e?Symbol.for("react.suspense_list"):60120,f=e?Symbol.for("react.memo"):60115,h=e?Symbol.for("react.lazy"):60116,m=e?Symbol.for("react.block"):60121,_=e?Symbol.for("react.fundamental"):60117,b=e?Symbol.for("react.responder"):60118,v=e?Symbol.for("react.scope"):60119;function w(se){return typeof se=="string"||typeof se=="function"||se===n||se===u||se===o||se===a||se===p||se===d||typeof se=="object"&&se!==null&&(se.$$typeof===h||se.$$typeof===f||se.$$typeof===s||se.$$typeof===i||se.$$typeof===c||se.$$typeof===_||se.$$typeof===b||se.$$typeof===v||se.$$typeof===m)}function R(se){if(typeof se=="object"&&se!==null){var je=se.$$typeof;switch(je){case t:var Ae=se.type;switch(Ae){case l:case u:case n:case o:case a:case p:return Ae;default:var ft=Ae&&Ae.$$typeof;switch(ft){case i:case c:case h:case f:case s:return ft;default:return je}}case r:return je}}}var T=l,C=u,N=i,I=s,j=t,z=c,Y=n,U=h,D=f,Q=r,J=o,k=a,G=p,Z=!1;function ve(se){return Z||(Z=!0,console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactIs.isConcurrentMode() instead. It has the exact same API.")),ee(se)||R(se)===l}function ee(se){return R(se)===u}function ne(se){return R(se)===i}function me(se){return R(se)===s}function ge(se){return typeof se=="object"&&se!==null&&se.$$typeof===t}function Ge(se){return R(se)===c}function ie(se){return R(se)===n}function le(se){return R(se)===h}function xe(se){return R(se)===f}function Be(se){return R(se)===r}function at(se){return R(se)===o}function ct(se){return R(se)===a}function ce(se){return R(se)===p}Ne.AsyncMode=T,Ne.ConcurrentMode=C,Ne.ContextConsumer=N,Ne.ContextProvider=I,Ne.Element=j,Ne.ForwardRef=z,Ne.Fragment=Y,Ne.Lazy=U,Ne.Memo=D,Ne.Portal=Q,Ne.Profiler=J,Ne.StrictMode=k,Ne.Suspense=G,Ne.isAsyncMode=ve,Ne.isConcurrentMode=ee,Ne.isContextConsumer=ne,Ne.isContextProvider=me,Ne.isElement=ge,Ne.isForwardRef=Ge,Ne.isFragment=ie,Ne.isLazy=le,Ne.isMemo=xe,Ne.isPortal=Be,Ne.isProfiler=at,Ne.isStrictMode=ct,Ne.isSuspense=ce,Ne.isValidElementType=w,Ne.typeOf=R}()),Ne}process.env.NODE_ENV==="production"?Xd.exports=xR():Xd.exports=PR();var AR=Xd.exports,hE=AR,IR={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},NR={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},mE={};mE[hE.ForwardRef]=IR;mE[hE.Memo]=NR;function MR(){return typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u"}function yE(e){const t=re.useContext(CR);if(!t)throw new Error("Missing <CookiesProvider>");const[r,n]=re.useState(()=>t.getAll());MR()&&re.useLayoutEffect(()=>{function i(){const l=t.getAll({doNotUpdate:!0});kR(e||null,l,r)&&n(l)}return t.addChangeListener(i),()=>{t.removeChangeListener(i)}},[t,r]);const a=re.useMemo(()=>t.set.bind(t),[t]),o=re.useMemo(()=>t.remove.bind(t),[t]),s=re.useMemo(()=>t.update.bind(t),[t]);return[r,a,o,s]}function kR(e,t,r){if(!e)return!0;for(let n of e)if(t[n]!==r[n])return!0;return!1}var vE={exports:{}},Lc={exports:{}},si={},li={exports:{}},Bc,hm;function gE(){return hm||(hm=1,Bc=function(t,r){return function(){for(var a=new Array(arguments.length),o=0;o<a.length;o++)a[o]=arguments[o];return t.apply(r,a)}}),Bc}var qc,mm;function lt(){if(mm)return qc;mm=1;var e=gE(),t=Object.prototype.toString,r=function(k){return function(G){var Z=t.call(G);return k[Z]||(k[Z]=Z.slice(8,-1).toLowerCase())}}(Object.create(null));function n(k){return k=k.toLowerCase(),function(Z){return r(Z)===k}}function a(k){return Array.isArray(k)}function o(k){return typeof k>"u"}function s(k){return k!==null&&!o(k)&&k.constructor!==null&&!o(k.constructor)&&typeof k.constructor.isBuffer=="function"&&k.constructor.isBuffer(k)}var i=n("ArrayBuffer");function l(k){var G;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?G=ArrayBuffer.isView(k):G=k&&k.buffer&&i(k.buffer),G}function u(k){return typeof k=="string"}function c(k){return typeof k=="number"}function p(k){return k!==null&&typeof k=="object"}function d(k){if(r(k)!=="object")return!1;var G=Object.getPrototypeOf(k);return G===null||G===Object.prototype}var f=n("Date"),h=n("File"),m=n("Blob"),_=n("FileList");function b(k){return t.call(k)==="[object Function]"}function v(k){return p(k)&&b(k.pipe)}function w(k){var G="[object FormData]";return k&&(typeof FormData=="function"&&k instanceof FormData||t.call(k)===G||b(k.toString)&&k.toString()===G)}var R=n("URLSearchParams");function T(k){return k.trim?k.trim():k.replace(/^\s+|\s+$/g,"")}function C(){return typeof navigator<"u"&&(navigator.product==="ReactNative"||navigator.product==="NativeScript"||navigator.product==="NS")?!1:typeof window<"u"&&typeof document<"u"}function N(k,G){if(!(k===null||typeof k>"u"))if(typeof k!="object"&&(k=[k]),a(k))for(var Z=0,ve=k.length;Z<ve;Z++)G.call(null,k[Z],Z,k);else for(var ee in k)Object.prototype.hasOwnProperty.call(k,ee)&&G.call(null,k[ee],ee,k)}function I(){var k={};function G(ee,ne){d(k[ne])&&d(ee)?k[ne]=I(k[ne],ee):d(ee)?k[ne]=I({},ee):a(ee)?k[ne]=ee.slice():k[ne]=ee}for(var Z=0,ve=arguments.length;Z<ve;Z++)N(arguments[Z],G);return k}function j(k,G,Z){return N(G,function(ee,ne){Z&&typeof ee=="function"?k[ne]=e(ee,Z):k[ne]=ee}),k}function z(k){return k.charCodeAt(0)===65279&&(k=k.slice(1)),k}function Y(k,G,Z,ve){k.prototype=Object.create(G.prototype,ve),k.prototype.constructor=k,Z&&Object.assign(k.prototype,Z)}function U(k,G,Z){var ve,ee,ne,me={};G=G||{};do{for(ve=Object.getOwnPropertyNames(k),ee=ve.length;ee-- >0;)ne=ve[ee],me[ne]||(G[ne]=k[ne],me[ne]=!0);k=Object.getPrototypeOf(k)}while(k&&(!Z||Z(k,G))&&k!==Object.prototype);return G}function D(k,G,Z){k=String(k),(Z===void 0||Z>k.length)&&(Z=k.length),Z-=G.length;var ve=k.indexOf(G,Z);return ve!==-1&&ve===Z}function Q(k){if(!k)return null;var G=k.length;if(o(G))return null;for(var Z=new Array(G);G-- >0;)Z[G]=k[G];return Z}var J=function(k){return function(G){return k&&G instanceof k}}(typeof Uint8Array<"u"&&Object.getPrototypeOf(Uint8Array));return qc={isArray:a,isArrayBuffer:i,isBuffer:s,isFormData:w,isArrayBufferView:l,isString:u,isNumber:c,isObject:p,isPlainObject:d,isUndefined:o,isDate:f,isFile:h,isBlob:m,isFunction:b,isStream:v,isURLSearchParams:R,isStandardBrowserEnv:C,forEach:N,merge:I,extend:j,trim:T,stripBOM:z,inherits:Y,toFlatObject:U,kindOf:r,kindOfTest:n,endsWith:D,toArray:Q,isTypedArray:J,isFileList:_},qc}var Dc,ym;function bE(){if(ym)return Dc;ym=1;var e=lt();function t(r){return encodeURIComponent(r).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}return Dc=function(n,a,o){if(!a)return n;var s;if(o)s=o(a);else if(e.isURLSearchParams(a))s=a.toString();else{var i=[];e.forEach(a,function(c,p){c===null||typeof c>"u"||(e.isArray(c)?p=p+"[]":c=[c],e.forEach(c,function(f){e.isDate(f)?f=f.toISOString():e.isObject(f)&&(f=JSON.stringify(f)),i.push(t(p)+"="+t(f))}))}),s=i.join("&")}if(s){var l=n.indexOf("#");l!==-1&&(n=n.slice(0,l)),n+=(n.indexOf("?")===-1?"?":"&")+s}return n},Dc}var Fc,vm;function $R(){if(vm)return Fc;vm=1;var e=lt();function t(){this.handlers=[]}return t.prototype.use=function(n,a,o){return this.handlers.push({fulfilled:n,rejected:a,synchronous:o?o.synchronous:!1,runWhen:o?o.runWhen:null}),this.handlers.length-1},t.prototype.eject=function(n){this.handlers[n]&&(this.handlers[n]=null)},t.prototype.forEach=function(n){e.forEach(this.handlers,function(o){o!==null&&n(o)})},Fc=t,Fc}var Uc,gm;function LR(){if(gm)return Uc;gm=1;var e=lt();return Uc=function(r,n){e.forEach(r,function(o,s){s!==n&&s.toUpperCase()===n.toUpperCase()&&(r[n]=o,delete r[s])})},Uc}var jc,bm;function ga(){if(bm)return jc;bm=1;var e=lt();function t(a,o,s,i,l){Error.call(this),this.message=a,this.name="AxiosError",o&&(this.code=o),s&&(this.config=s),i&&(this.request=i),l&&(this.response=l)}e.inherits(t,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:this.config,code:this.code,status:this.response&&this.response.status?this.response.status:null}}});var r=t.prototype,n={};return["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"].forEach(function(a){n[a]={value:a}}),Object.defineProperties(t,n),Object.defineProperty(r,"isAxiosError",{value:!0}),t.from=function(a,o,s,i,l,u){var c=Object.create(r);return e.toFlatObject(a,c,function(d){return d!==Error.prototype}),t.call(c,a.message,o,s,i,l),c.name=a.name,u&&Object.assign(c,u),c},jc=t,jc}var Hc,Em;function EE(){return Em||(Em=1,Hc={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1}),Hc}var Gc,_m;function _E(){if(_m)return Gc;_m=1;var e=lt();function t(r,n){n=n||new FormData;var a=[];function o(i){return i===null?"":e.isDate(i)?i.toISOString():e.isArrayBuffer(i)||e.isTypedArray(i)?typeof Blob=="function"?new Blob([i]):Buffer.from(i):i}function s(i,l){if(e.isPlainObject(i)||e.isArray(i)){if(a.indexOf(i)!==-1)throw Error("Circular reference detected in "+l);a.push(i),e.forEach(i,function(c,p){if(!e.isUndefined(c)){var d=l?l+"."+p:p,f;if(c&&!l&&typeof c=="object"){if(e.endsWith(p,"{}"))c=JSON.stringify(c);else if(e.endsWith(p,"[]")&&(f=e.toArray(c))){f.forEach(function(h){!e.isUndefined(h)&&n.append(d,o(h))});return}}s(c,d)}}),a.pop()}else n.append(l,o(i))}return s(r),n}return Gc=t,Gc}var Wc,wm;function BR(){if(wm)return Wc;wm=1;var e=ga();return Wc=function(r,n,a){var o=a.config.validateStatus;!a.status||!o||o(a.status)?r(a):n(new e("Request failed with status code "+a.status,[e.ERR_BAD_REQUEST,e.ERR_BAD_RESPONSE][Math.floor(a.status/100)-4],a.config,a.request,a))},Wc}var Vc,Tm;function qR(){if(Tm)return Vc;Tm=1;var e=lt();return Vc=e.isStandardBrowserEnv()?function(){return{write:function(n,a,o,s,i,l){var u=[];u.push(n+"="+encodeURIComponent(a)),e.isNumber(o)&&u.push("expires="+new Date(o).toGMTString()),e.isString(s)&&u.push("path="+s),e.isString(i)&&u.push("domain="+i),l===!0&&u.push("secure"),document.cookie=u.join("; ")},read:function(n){var a=document.cookie.match(new RegExp("(^|;\\s*)("+n+")=([^;]*)"));return a?decodeURIComponent(a[3]):null},remove:function(n){this.write(n,"",Date.now()-864e5)}}}():function(){return{write:function(){},read:function(){return null},remove:function(){}}}(),Vc}var zc,Sm;function DR(){return Sm||(Sm=1,zc=function(t){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(t)}),zc}var Yc,Rm;function FR(){return Rm||(Rm=1,Yc=function(t,r){return r?t.replace(/\/+$/,"")+"/"+r.replace(/^\/+/,""):t}),Yc}var Kc,Cm;function wE(){if(Cm)return Kc;Cm=1;var e=DR(),t=FR();return Kc=function(n,a){return n&&!e(a)?t(n,a):a},Kc}var Xc,Om;function UR(){if(Om)return Xc;Om=1;var e=lt(),t=["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"];return Xc=function(n){var a={},o,s,i;return n&&e.forEach(n.split(`
25
+ `),function(u){if(i=u.indexOf(":"),o=e.trim(u.substr(0,i)).toLowerCase(),s=e.trim(u.substr(i+1)),o){if(a[o]&&t.indexOf(o)>=0)return;o==="set-cookie"?a[o]=(a[o]?a[o]:[]).concat([s]):a[o]=a[o]?a[o]+", "+s:s}}),a},Xc}var Qc,xm;function jR(){if(xm)return Qc;xm=1;var e=lt();return Qc=e.isStandardBrowserEnv()?function(){var r=/(msie|trident)/i.test(navigator.userAgent),n=document.createElement("a"),a;function o(s){var i=s;return r&&(n.setAttribute("href",i),i=n.href),n.setAttribute("href",i),{href:n.href,protocol:n.protocol?n.protocol.replace(/:$/,""):"",host:n.host,search:n.search?n.search.replace(/^\?/,""):"",hash:n.hash?n.hash.replace(/^#/,""):"",hostname:n.hostname,port:n.port,pathname:n.pathname.charAt(0)==="/"?n.pathname:"/"+n.pathname}}return a=o(window.location.href),function(i){var l=e.isString(i)?o(i):i;return l.protocol===a.protocol&&l.host===a.host}}():function(){return function(){return!0}}(),Qc}var Jc,Pm;function Ts(){if(Pm)return Jc;Pm=1;var e=ga(),t=lt();function r(n){e.call(this,n??"canceled",e.ERR_CANCELED),this.name="CanceledError"}return t.inherits(r,e,{__CANCEL__:!0}),Jc=r,Jc}var Zc,Am;function HR(){return Am||(Am=1,Zc=function(t){var r=/^([-+\w]{1,25})(:?\/\/|:)/.exec(t);return r&&r[1]||""}),Zc}var ef,Im;function Nm(){if(Im)return ef;Im=1;var e=lt(),t=BR(),r=qR(),n=bE(),a=wE(),o=UR(),s=jR(),i=EE(),l=ga(),u=Ts(),c=HR();return ef=function(d){return new Promise(function(h,m){var _=d.data,b=d.headers,v=d.responseType,w;function R(){d.cancelToken&&d.cancelToken.unsubscribe(w),d.signal&&d.signal.removeEventListener("abort",w)}e.isFormData(_)&&e.isStandardBrowserEnv()&&delete b["Content-Type"];var T=new XMLHttpRequest;if(d.auth){var C=d.auth.username||"",N=d.auth.password?unescape(encodeURIComponent(d.auth.password)):"";b.Authorization="Basic "+btoa(C+":"+N)}var I=a(d.baseURL,d.url);T.open(d.method.toUpperCase(),n(I,d.params,d.paramsSerializer),!0),T.timeout=d.timeout;function j(){if(T){var U="getAllResponseHeaders"in T?o(T.getAllResponseHeaders()):null,D=!v||v==="text"||v==="json"?T.responseText:T.response,Q={data:D,status:T.status,statusText:T.statusText,headers:U,config:d,request:T};t(function(k){h(k),R()},function(k){m(k),R()},Q),T=null}}if("onloadend"in T?T.onloadend=j:T.onreadystatechange=function(){!T||T.readyState!==4||T.status===0&&!(T.responseURL&&T.responseURL.indexOf("file:")===0)||setTimeout(j)},T.onabort=function(){T&&(m(new l("Request aborted",l.ECONNABORTED,d,T)),T=null)},T.onerror=function(){m(new l("Network Error",l.ERR_NETWORK,d,T,T)),T=null},T.ontimeout=function(){var D=d.timeout?"timeout of "+d.timeout+"ms exceeded":"timeout exceeded",Q=d.transitional||i;d.timeoutErrorMessage&&(D=d.timeoutErrorMessage),m(new l(D,Q.clarifyTimeoutError?l.ETIMEDOUT:l.ECONNABORTED,d,T)),T=null},e.isStandardBrowserEnv()){var z=(d.withCredentials||s(I))&&d.xsrfCookieName?r.read(d.xsrfCookieName):void 0;z&&(b[d.xsrfHeaderName]=z)}"setRequestHeader"in T&&e.forEach(b,function(D,Q){typeof _>"u"&&Q.toLowerCase()==="content-type"?delete b[Q]:T.setRequestHeader(Q,D)}),e.isUndefined(d.withCredentials)||(T.withCredentials=!!d.withCredentials),v&&v!=="json"&&(T.responseType=d.responseType),typeof d.onDownloadProgress=="function"&&T.addEventListener("progress",d.onDownloadProgress),typeof d.onUploadProgress=="function"&&T.upload&&T.upload.addEventListener("progress",d.onUploadProgress),(d.cancelToken||d.signal)&&(w=function(U){T&&(m(!U||U&&U.type?new u:U),T.abort(),T=null)},d.cancelToken&&d.cancelToken.subscribe(w),d.signal&&(d.signal.aborted?w():d.signal.addEventListener("abort",w))),_||(_=null);var Y=c(I);if(Y&&["http","https","file"].indexOf(Y)===-1){m(new l("Unsupported protocol "+Y+":",l.ERR_BAD_REQUEST,d));return}T.send(_)})},ef}var tf,Mm;function GR(){return Mm||(Mm=1,tf=null),tf}var rf,km;function uh(){if(km)return rf;km=1;var e=lt(),t=LR(),r=ga(),n=EE(),a=_E(),o={"Content-Type":"application/x-www-form-urlencoded"};function s(c,p){!e.isUndefined(c)&&e.isUndefined(c["Content-Type"])&&(c["Content-Type"]=p)}function i(){var c;return(typeof XMLHttpRequest<"u"||typeof process<"u"&&Object.prototype.toString.call(process)==="[object process]")&&(c=Nm()),c}function l(c,p,d){if(e.isString(c))try{return(p||JSON.parse)(c),e.trim(c)}catch(f){if(f.name!=="SyntaxError")throw f}return(d||JSON.stringify)(c)}var u={transitional:n,adapter:i(),transformRequest:[function(p,d){if(t(d,"Accept"),t(d,"Content-Type"),e.isFormData(p)||e.isArrayBuffer(p)||e.isBuffer(p)||e.isStream(p)||e.isFile(p)||e.isBlob(p))return p;if(e.isArrayBufferView(p))return p.buffer;if(e.isURLSearchParams(p))return s(d,"application/x-www-form-urlencoded;charset=utf-8"),p.toString();var f=e.isObject(p),h=d&&d["Content-Type"],m;if((m=e.isFileList(p))||f&&h==="multipart/form-data"){var _=this.env&&this.env.FormData;return a(m?{"files[]":p}:p,_&&new _)}else if(f||h==="application/json")return s(d,"application/json"),l(p);return p}],transformResponse:[function(p){var d=this.transitional||u.transitional,f=d&&d.silentJSONParsing,h=d&&d.forcedJSONParsing,m=!f&&this.responseType==="json";if(m||h&&e.isString(p)&&p.length)try{return JSON.parse(p)}catch(_){if(m)throw _.name==="SyntaxError"?r.from(_,r.ERR_BAD_RESPONSE,this,null,this.response):_}return p}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:GR()},validateStatus:function(p){return p>=200&&p<300},headers:{common:{Accept:"application/json, text/plain, */*"}}};return e.forEach(["delete","get","head"],function(p){u.headers[p]={}}),e.forEach(["post","put","patch"],function(p){u.headers[p]=e.merge(o)}),rf=u,rf}var nf,$m;function WR(){if($m)return nf;$m=1;var e=lt(),t=uh();return nf=function(n,a,o){var s=this||t;return e.forEach(o,function(l){n=l.call(s,n,a)}),n},nf}var af,Lm;function TE(){return Lm||(Lm=1,af=function(t){return!!(t&&t.__CANCEL__)}),af}var of,Bm;function VR(){if(Bm)return of;Bm=1;var e=lt(),t=WR(),r=TE(),n=uh(),a=Ts();function o(s){if(s.cancelToken&&s.cancelToken.throwIfRequested(),s.signal&&s.signal.aborted)throw new a}return of=function(i){o(i),i.headers=i.headers||{},i.data=t.call(i,i.data,i.headers,i.transformRequest),i.headers=e.merge(i.headers.common||{},i.headers[i.method]||{},i.headers),e.forEach(["delete","get","head","post","put","patch","common"],function(c){delete i.headers[c]});var l=i.adapter||n.adapter;return l(i).then(function(c){return o(i),c.data=t.call(i,c.data,c.headers,i.transformResponse),c},function(c){return r(c)||(o(i),c&&c.response&&(c.response.data=t.call(i,c.response.data,c.response.headers,i.transformResponse))),Promise.reject(c)})},of}var sf,qm;function SE(){if(qm)return sf;qm=1;var e=lt();return sf=function(r,n){n=n||{};var a={};function o(p,d){return e.isPlainObject(p)&&e.isPlainObject(d)?e.merge(p,d):e.isPlainObject(d)?e.merge({},d):e.isArray(d)?d.slice():d}function s(p){if(e.isUndefined(n[p])){if(!e.isUndefined(r[p]))return o(void 0,r[p])}else return o(r[p],n[p])}function i(p){if(!e.isUndefined(n[p]))return o(void 0,n[p])}function l(p){if(e.isUndefined(n[p])){if(!e.isUndefined(r[p]))return o(void 0,r[p])}else return o(void 0,n[p])}function u(p){if(p in n)return o(r[p],n[p]);if(p in r)return o(void 0,r[p])}var c={url:i,method:i,data:i,baseURL:l,transformRequest:l,transformResponse:l,paramsSerializer:l,timeout:l,timeoutMessage:l,withCredentials:l,adapter:l,responseType:l,xsrfCookieName:l,xsrfHeaderName:l,onUploadProgress:l,onDownloadProgress:l,decompress:l,maxContentLength:l,maxBodyLength:l,beforeRedirect:l,transport:l,httpAgent:l,httpsAgent:l,cancelToken:l,socketPath:l,responseEncoding:l,validateStatus:u};return e.forEach(Object.keys(r).concat(Object.keys(n)),function(d){var f=c[d]||s,h=f(d);e.isUndefined(h)&&f!==u||(a[d]=h)}),a},sf}var lf,Dm;function RE(){return Dm||(Dm=1,lf={version:"0.27.2"}),lf}var uf,Fm;function zR(){if(Fm)return uf;Fm=1;var e=RE().version,t=ga(),r={};["object","boolean","number","function","string","symbol"].forEach(function(o,s){r[o]=function(l){return typeof l===o||"a"+(s<1?"n ":" ")+o}});var n={};r.transitional=function(s,i,l){function u(c,p){return"[Axios v"+e+"] Transitional option '"+c+"'"+p+(l?". "+l:"")}return function(c,p,d){if(s===!1)throw new t(u(p," has been removed"+(i?" in "+i:"")),t.ERR_DEPRECATED);return i&&!n[p]&&(n[p]=!0,console.warn(u(p," has been deprecated since v"+i+" and will be removed in the near future"))),s?s(c,p,d):!0}};function a(o,s,i){if(typeof o!="object")throw new t("options must be an object",t.ERR_BAD_OPTION_VALUE);for(var l=Object.keys(o),u=l.length;u-- >0;){var c=l[u],p=s[c];if(p){var d=o[c],f=d===void 0||p(d,c,o);if(f!==!0)throw new t("option "+c+" must be "+f,t.ERR_BAD_OPTION_VALUE);continue}if(i!==!0)throw new t("Unknown option "+c,t.ERR_BAD_OPTION)}}return uf={assertOptions:a,validators:r},uf}var cf,Um;function YR(){if(Um)return cf;Um=1;var e=lt(),t=bE(),r=$R(),n=VR(),a=SE(),o=wE(),s=zR(),i=s.validators;function l(u){this.defaults=u,this.interceptors={request:new r,response:new r}}return l.prototype.request=function(c,p){typeof c=="string"?(p=p||{},p.url=c):p=c||{},p=a(this.defaults,p),p.method?p.method=p.method.toLowerCase():this.defaults.method?p.method=this.defaults.method.toLowerCase():p.method="get";var d=p.transitional;d!==void 0&&s.assertOptions(d,{silentJSONParsing:i.transitional(i.boolean),forcedJSONParsing:i.transitional(i.boolean),clarifyTimeoutError:i.transitional(i.boolean)},!1);var f=[],h=!0;this.interceptors.request.forEach(function(C){typeof C.runWhen=="function"&&C.runWhen(p)===!1||(h=h&&C.synchronous,f.unshift(C.fulfilled,C.rejected))});var m=[];this.interceptors.response.forEach(function(C){m.push(C.fulfilled,C.rejected)});var _;if(!h){var b=[n,void 0];for(Array.prototype.unshift.apply(b,f),b=b.concat(m),_=Promise.resolve(p);b.length;)_=_.then(b.shift(),b.shift());return _}for(var v=p;f.length;){var w=f.shift(),R=f.shift();try{v=w(v)}catch(T){R(T);break}}try{_=n(v)}catch(T){return Promise.reject(T)}for(;m.length;)_=_.then(m.shift(),m.shift());return _},l.prototype.getUri=function(c){c=a(this.defaults,c);var p=o(c.baseURL,c.url);return t(p,c.params,c.paramsSerializer)},e.forEach(["delete","get","head","options"],function(c){l.prototype[c]=function(p,d){return this.request(a(d||{},{method:c,url:p,data:(d||{}).data}))}}),e.forEach(["post","put","patch"],function(c){function p(d){return function(h,m,_){return this.request(a(_||{},{method:c,headers:d?{"Content-Type":"multipart/form-data"}:{},url:h,data:m}))}}l.prototype[c]=p(),l.prototype[c+"Form"]=p(!0)}),cf=l,cf}var ff,jm;function KR(){if(jm)return ff;jm=1;var e=Ts();function t(r){if(typeof r!="function")throw new TypeError("executor must be a function.");var n;this.promise=new Promise(function(s){n=s});var a=this;this.promise.then(function(o){if(a._listeners){var s,i=a._listeners.length;for(s=0;s<i;s++)a._listeners[s](o);a._listeners=null}}),this.promise.then=function(o){var s,i=new Promise(function(l){a.subscribe(l),s=l}).then(o);return i.cancel=function(){a.unsubscribe(s)},i},r(function(s){a.reason||(a.reason=new e(s),n(a.reason))})}return t.prototype.throwIfRequested=function(){if(this.reason)throw this.reason},t.prototype.subscribe=function(n){if(this.reason){n(this.reason);return}this._listeners?this._listeners.push(n):this._listeners=[n]},t.prototype.unsubscribe=function(n){if(this._listeners){var a=this._listeners.indexOf(n);a!==-1&&this._listeners.splice(a,1)}},t.source=function(){var n,a=new t(function(s){n=s});return{token:a,cancel:n}},ff=t,ff}var df,Hm;function XR(){return Hm||(Hm=1,df=function(t){return function(n){return t.apply(null,n)}}),df}var pf,Gm;function QR(){if(Gm)return pf;Gm=1;var e=lt();return pf=function(r){return e.isObject(r)&&r.isAxiosError===!0},pf}var Wm;function JR(){if(Wm)return li.exports;Wm=1;var e=lt(),t=gE(),r=YR(),n=SE(),a=uh();function o(i){var l=new r(i),u=t(r.prototype.request,l);return e.extend(u,r.prototype,l),e.extend(u,l),u.create=function(p){return o(n(i,p))},u}var s=o(a);return s.Axios=r,s.CanceledError=Ts(),s.CancelToken=KR(),s.isCancel=TE(),s.VERSION=RE().version,s.toFormData=_E(),s.AxiosError=ga(),s.Cancel=s.CanceledError,s.all=function(l){return Promise.all(l)},s.spread=XR(),s.isAxiosError=QR(),li.exports=s,li.exports.default=s,li.exports}var hf,Vm;function CE(){return Vm||(Vm=1,hf=JR()),hf}var ZR=Function.prototype.toString,mf=Object.create,eC=Object.defineProperty,tC=Object.getOwnPropertyDescriptor,zm=Object.getOwnPropertyNames,ch=Object.getOwnPropertySymbols,rC=Object.getPrototypeOf,OE=Object.prototype,nC=OE.hasOwnProperty,aC=OE.propertyIsEnumerable,xE=typeof ch=="function",oC=typeof WeakMap=="function",iC=function(){if(oC)return function(){return new WeakMap};var e=function(){function t(){this._keys=[],this._values=[]}return t.prototype.has=function(r){return!!~this._keys.indexOf(r)},t.prototype.get=function(r){return this._values[this._keys.indexOf(r)]},t.prototype.set=function(r,n){this._keys.push(r),this._values.push(n)},t}();return function(){return new e}}(),PE=function(e,t){var r=e.__proto__||rC(e);if(!r)return mf(null);var n=r.constructor;if(n===t.Object)return r===t.Object.prototype?{}:mf(r);if(~ZR.call(n).indexOf("[native code]"))try{return new n}catch{}return mf(r)},sC=function(e,t,r,n){var a=PE(e,t);n.set(e,a);for(var o in e)nC.call(e,o)&&(a[o]=r(e[o],n));if(xE)for(var s=ch(e),i=0,l=s.length,u=void 0;i<l;++i)u=s[i],aC.call(e,u)&&(a[u]=r(e[u],n));return a},Ym=function(e,t,r,n){var a=PE(e,t);n.set(e,a);for(var o=xE?zm(e).concat(ch(e)):zm(e),s=0,i=o.length,l=void 0,u=void 0;s<i;++s)if(l=o[s],l!=="callee"&&l!=="caller")if(u=tC(e,l),u){!u.get&&!u.set&&(u.value=r(e[l],n));try{eC(a,l,u)}catch{a[l]=u.value}}else a[l]=r(e[l],n);return a},lC=function(e){var t="";return e.global&&(t+="g"),e.ignoreCase&&(t+="i"),e.multiline&&(t+="m"),e.unicode&&(t+="u"),e.sticky&&(t+="y"),t},uC=Array.isArray,cC=Object.getPrototypeOf,fC=function(){return typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:(console&&console.error&&console.error('Unable to locate global object, returning "this".'),this)}();function Kr(e,t){var r=!!(t&&t.isStrict),n=t&&t.realm||fC,a=r?Ym:sC,o=function(s,i){if(!s||typeof s!="object")return s;if(i.has(s))return i.get(s);var l=s.__proto__||cC(s),u=l&&l.constructor;if(!u||u===n.Object)return a(s,n,o,i);var c;if(uC(s)){if(r)return Ym(s,n,o,i);c=new u,i.set(s,c);for(var p=0,d=s.length;p<d;++p)c[p]=o(s[p],i);return c}if(s instanceof n.Date)return new u(s.getTime());if(s instanceof n.RegExp)return c=new u(s.source,s.flags||lC(s)),c.lastIndex=s.lastIndex,c;if(n.Map&&s instanceof n.Map)return c=new u,i.set(s,c),s.forEach(function(f,h){c.set(h,o(f,i))}),c;if(n.Set&&s instanceof n.Set)return c=new u,i.set(s,c),s.forEach(function(f){c.add(o(f,i))}),c;if(n.Blob&&s instanceof n.Blob)return s.slice(0,s.size,s.type);if(n.Buffer&&n.Buffer.isBuffer(s))return c=n.Buffer.allocUnsafe?n.Buffer.allocUnsafe(s.length):new u(s.length),i.set(s,c),s.copy(c),c;if(n.ArrayBuffer){if(n.ArrayBuffer.isView(s))return c=new u(s.buffer.slice(0)),i.set(s,c),c;if(s instanceof n.ArrayBuffer)return c=s.slice(0),i.set(s,c),c}return typeof s.then=="function"||s instanceof Error||n.WeakMap&&s instanceof n.WeakMap||n.WeakSet&&s instanceof n.WeakSet?s:a(s,n,o,i)};return o(e,iC())}Kr.default=Kr;Kr.strict=function(t,r){return Kr(t,{isStrict:!0,realm:r?r.realm:void 0})};var Ss=function(){if(typeof Symbol!="function"||typeof Object.getOwnPropertySymbols!="function")return!1;if(typeof Symbol.iterator=="symbol")return!0;var t={},r=Symbol("test"),n=Object(r);if(typeof r=="string"||Object.prototype.toString.call(r)!=="[object Symbol]"||Object.prototype.toString.call(n)!=="[object Symbol]")return!1;var a=42;t[r]=a;for(r in t)return!1;if(typeof Object.keys=="function"&&Object.keys(t).length!==0||typeof Object.getOwnPropertyNames=="function"&&Object.getOwnPropertyNames(t).length!==0)return!1;var o=Object.getOwnPropertySymbols(t);if(o.length!==1||o[0]!==r||!Object.prototype.propertyIsEnumerable.call(t,r))return!1;if(typeof Object.getOwnPropertyDescriptor=="function"){var s=Object.getOwnPropertyDescriptor(t,r);if(s.value!==a||s.enumerable!==!0)return!1}return!0},Km=typeof Symbol<"u"&&Symbol,dC=Ss,fh=function(){return typeof Km!="function"||typeof Symbol!="function"||typeof Km("foo")!="symbol"||typeof Symbol("bar")!="symbol"?!1:dC()},Xm={foo:{}},pC=Object,hC=function(){return{__proto__:Xm}.foo===Xm.foo&&!({__proto__:null}instanceof pC)},mC="Function.prototype.bind called on incompatible ",yf=Array.prototype.slice,yC=Object.prototype.toString,vC="[object Function]",gC=function(t){var r=this;if(typeof r!="function"||yC.call(r)!==vC)throw new TypeError(mC+r);for(var n=yf.call(arguments,1),a,o=function(){if(this instanceof a){var c=r.apply(this,n.concat(yf.call(arguments)));return Object(c)===c?c:this}else return r.apply(t,n.concat(yf.call(arguments)))},s=Math.max(0,r.length-n.length),i=[],l=0;l<s;l++)i.push("$"+l);if(a=Function("binder","return function ("+i.join(",")+"){ return binder.apply(this,arguments); }")(o),r.prototype){var u=function(){};u.prototype=r.prototype,a.prototype=new u,u.prototype=null}return a},bC=gC,dh=Function.prototype.bind||bC,EC=dh,AE=EC.call(Function.call,Object.prototype.hasOwnProperty),Te,fa=SyntaxError,IE=Function,ua=TypeError,vf=function(e){try{return IE('"use strict"; return ('+e+").constructor;")()}catch{}},wn=Object.getOwnPropertyDescriptor;if(wn)try{wn({},"")}catch{wn=null}var gf=function(){throw new ua},_C=wn?function(){try{return arguments.callee,gf}catch{try{return wn(arguments,"callee").get}catch{return gf}}}():gf,Jn=fh(),wC=hC(),nt=Object.getPrototypeOf||(wC?function(e){return e.__proto__}:null),oa={},TC=typeof Uint8Array>"u"||!nt?Te:nt(Uint8Array),Tn={"%AggregateError%":typeof AggregateError>"u"?Te:AggregateError,"%Array%":Array,"%ArrayBuffer%":typeof ArrayBuffer>"u"?Te:ArrayBuffer,"%ArrayIteratorPrototype%":Jn&&nt?nt([][Symbol.iterator]()):Te,"%AsyncFromSyncIteratorPrototype%":Te,"%AsyncFunction%":oa,"%AsyncGenerator%":oa,"%AsyncGeneratorFunction%":oa,"%AsyncIteratorPrototype%":oa,"%Atomics%":typeof Atomics>"u"?Te:Atomics,"%BigInt%":typeof BigInt>"u"?Te:BigInt,"%BigInt64Array%":typeof BigInt64Array>"u"?Te:BigInt64Array,"%BigUint64Array%":typeof BigUint64Array>"u"?Te:BigUint64Array,"%Boolean%":Boolean,"%DataView%":typeof DataView>"u"?Te:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":Error,"%eval%":eval,"%EvalError%":EvalError,"%Float32Array%":typeof Float32Array>"u"?Te:Float32Array,"%Float64Array%":typeof Float64Array>"u"?Te:Float64Array,"%FinalizationRegistry%":typeof FinalizationRegistry>"u"?Te:FinalizationRegistry,"%Function%":IE,"%GeneratorFunction%":oa,"%Int8Array%":typeof Int8Array>"u"?Te:Int8Array,"%Int16Array%":typeof Int16Array>"u"?Te:Int16Array,"%Int32Array%":typeof Int32Array>"u"?Te:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":Jn&&nt?nt(nt([][Symbol.iterator]())):Te,"%JSON%":typeof JSON=="object"?JSON:Te,"%Map%":typeof Map>"u"?Te:Map,"%MapIteratorPrototype%":typeof Map>"u"||!Jn||!nt?Te:nt(new Map()[Symbol.iterator]()),"%Math%":Math,"%Number%":Number,"%Object%":Object,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":typeof Promise>"u"?Te:Promise,"%Proxy%":typeof Proxy>"u"?Te:Proxy,"%RangeError%":RangeError,"%ReferenceError%":ReferenceError,"%Reflect%":typeof Reflect>"u"?Te:Reflect,"%RegExp%":RegExp,"%Set%":typeof Set>"u"?Te:Set,"%SetIteratorPrototype%":typeof Set>"u"||!Jn||!nt?Te:nt(new Set()[Symbol.iterator]()),"%SharedArrayBuffer%":typeof SharedArrayBuffer>"u"?Te:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":Jn&&nt?nt(""[Symbol.iterator]()):Te,"%Symbol%":Jn?Symbol:Te,"%SyntaxError%":fa,"%ThrowTypeError%":_C,"%TypedArray%":TC,"%TypeError%":ua,"%Uint8Array%":typeof Uint8Array>"u"?Te:Uint8Array,"%Uint8ClampedArray%":typeof Uint8ClampedArray>"u"?Te:Uint8ClampedArray,"%Uint16Array%":typeof Uint16Array>"u"?Te:Uint16Array,"%Uint32Array%":typeof Uint32Array>"u"?Te:Uint32Array,"%URIError%":URIError,"%WeakMap%":typeof WeakMap>"u"?Te:WeakMap,"%WeakRef%":typeof WeakRef>"u"?Te:WeakRef,"%WeakSet%":typeof WeakSet>"u"?Te:WeakSet};if(nt)try{null.error}catch(e){var SC=nt(nt(e));Tn["%Error.prototype%"]=SC}var RC=function e(t){var r;if(t==="%AsyncFunction%")r=vf("async function () {}");else if(t==="%GeneratorFunction%")r=vf("function* () {}");else if(t==="%AsyncGeneratorFunction%")r=vf("async function* () {}");else if(t==="%AsyncGenerator%"){var n=e("%AsyncGeneratorFunction%");n&&(r=n.prototype)}else if(t==="%AsyncIteratorPrototype%"){var a=e("%AsyncGenerator%");a&&nt&&(r=nt(a.prototype))}return Tn[t]=r,r},Qm={"%ArrayBufferPrototype%":["ArrayBuffer","prototype"],"%ArrayPrototype%":["Array","prototype"],"%ArrayProto_entries%":["Array","prototype","entries"],"%ArrayProto_forEach%":["Array","prototype","forEach"],"%ArrayProto_keys%":["Array","prototype","keys"],"%ArrayProto_values%":["Array","prototype","values"],"%AsyncFunctionPrototype%":["AsyncFunction","prototype"],"%AsyncGenerator%":["AsyncGeneratorFunction","prototype"],"%AsyncGeneratorPrototype%":["AsyncGeneratorFunction","prototype","prototype"],"%BooleanPrototype%":["Boolean","prototype"],"%DataViewPrototype%":["DataView","prototype"],"%DatePrototype%":["Date","prototype"],"%ErrorPrototype%":["Error","prototype"],"%EvalErrorPrototype%":["EvalError","prototype"],"%Float32ArrayPrototype%":["Float32Array","prototype"],"%Float64ArrayPrototype%":["Float64Array","prototype"],"%FunctionPrototype%":["Function","prototype"],"%Generator%":["GeneratorFunction","prototype"],"%GeneratorPrototype%":["GeneratorFunction","prototype","prototype"],"%Int8ArrayPrototype%":["Int8Array","prototype"],"%Int16ArrayPrototype%":["Int16Array","prototype"],"%Int32ArrayPrototype%":["Int32Array","prototype"],"%JSONParse%":["JSON","parse"],"%JSONStringify%":["JSON","stringify"],"%MapPrototype%":["Map","prototype"],"%NumberPrototype%":["Number","prototype"],"%ObjectPrototype%":["Object","prototype"],"%ObjProto_toString%":["Object","prototype","toString"],"%ObjProto_valueOf%":["Object","prototype","valueOf"],"%PromisePrototype%":["Promise","prototype"],"%PromiseProto_then%":["Promise","prototype","then"],"%Promise_all%":["Promise","all"],"%Promise_reject%":["Promise","reject"],"%Promise_resolve%":["Promise","resolve"],"%RangeErrorPrototype%":["RangeError","prototype"],"%ReferenceErrorPrototype%":["ReferenceError","prototype"],"%RegExpPrototype%":["RegExp","prototype"],"%SetPrototype%":["Set","prototype"],"%SharedArrayBufferPrototype%":["SharedArrayBuffer","prototype"],"%StringPrototype%":["String","prototype"],"%SymbolPrototype%":["Symbol","prototype"],"%SyntaxErrorPrototype%":["SyntaxError","prototype"],"%TypedArrayPrototype%":["TypedArray","prototype"],"%TypeErrorPrototype%":["TypeError","prototype"],"%Uint8ArrayPrototype%":["Uint8Array","prototype"],"%Uint8ClampedArrayPrototype%":["Uint8ClampedArray","prototype"],"%Uint16ArrayPrototype%":["Uint16Array","prototype"],"%Uint32ArrayPrototype%":["Uint32Array","prototype"],"%URIErrorPrototype%":["URIError","prototype"],"%WeakMapPrototype%":["WeakMap","prototype"],"%WeakSetPrototype%":["WeakSet","prototype"]},Do=dh,Xi=AE,CC=Do.call(Function.call,Array.prototype.concat),OC=Do.call(Function.apply,Array.prototype.splice),Jm=Do.call(Function.call,String.prototype.replace),Qi=Do.call(Function.call,String.prototype.slice),xC=Do.call(Function.call,RegExp.prototype.exec),PC=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,AC=/\\(\\)?/g,IC=function(t){var r=Qi(t,0,1),n=Qi(t,-1);if(r==="%"&&n!=="%")throw new fa("invalid intrinsic syntax, expected closing `%`");if(n==="%"&&r!=="%")throw new fa("invalid intrinsic syntax, expected opening `%`");var a=[];return Jm(t,PC,function(o,s,i,l){a[a.length]=i?Jm(l,AC,"$1"):s||o}),a},NC=function(t,r){var n=t,a;if(Xi(Qm,n)&&(a=Qm[n],n="%"+a[0]+"%"),Xi(Tn,n)){var o=Tn[n];if(o===oa&&(o=RC(n)),typeof o>"u"&&!r)throw new ua("intrinsic "+t+" exists, but is not available. Please file an issue!");return{alias:a,name:n,value:o}}throw new fa("intrinsic "+t+" does not exist!")},Qt=function(t,r){if(typeof t!="string"||t.length===0)throw new ua("intrinsic name must be a non-empty string");if(arguments.length>1&&typeof r!="boolean")throw new ua('"allowMissing" argument must be a boolean');if(xC(/^%?[^%]*%?$/,t)===null)throw new fa("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var n=IC(t),a=n.length>0?n[0]:"",o=NC("%"+a+"%",r),s=o.name,i=o.value,l=!1,u=o.alias;u&&(a=u[0],OC(n,CC([0,1],u)));for(var c=1,p=!0;c<n.length;c+=1){var d=n[c],f=Qi(d,0,1),h=Qi(d,-1);if((f==='"'||f==="'"||f==="`"||h==='"'||h==="'"||h==="`")&&f!==h)throw new fa("property names with quotes must have matching quotes");if((d==="constructor"||!p)&&(l=!0),a+="."+d,s="%"+a+"%",Xi(Tn,s))i=Tn[s];else if(i!=null){if(!(d in i)){if(!r)throw new ua("base intrinsic for "+t+" exists, but the property is not available.");return}if(wn&&c+1>=n.length){var m=wn(i,d);p=!!m,p&&"get"in m&&!("originalValue"in m.get)?i=m.get:i=i[d]}else p=Xi(i,d),i=i[d];p&&!l&&(Tn[s]=i)}}return i},NE={exports:{}};(function(e){var t=dh,r=Qt,n=r("%Function.prototype.apply%"),a=r("%Function.prototype.call%"),o=r("%Reflect.apply%",!0)||t.call(a,n),s=r("%Object.getOwnPropertyDescriptor%",!0),i=r("%Object.defineProperty%",!0),l=r("%Math.max%");if(i)try{i({},"a",{value:1})}catch{i=null}e.exports=function(p){var d=o(t,a,arguments);if(s&&i){var f=s(d,"length");f.configurable&&i(d,"length",{value:1+l(0,p.length-(arguments.length-1))})}return d};var u=function(){return o(t,n,arguments)};i?i(e.exports,"apply",{value:u}):e.exports.apply=u})(NE);var ba=NE.exports,ME=Qt,kE=ba,MC=kE(ME("String.prototype.indexOf")),$t=function(t,r){var n=ME(t,!!r);return typeof n=="function"&&MC(t,".prototype.")>-1?kE(n):n};const kC={},$C=Object.freeze(Object.defineProperty({__proto__:null,default:kC},Symbol.toStringTag,{value:"Module"})),LC=qo($C);var ph=typeof Map=="function"&&Map.prototype,bf=Object.getOwnPropertyDescriptor&&ph?Object.getOwnPropertyDescriptor(Map.prototype,"size"):null,Ji=ph&&bf&&typeof bf.get=="function"?bf.get:null,Zm=ph&&Map.prototype.forEach,hh=typeof Set=="function"&&Set.prototype,Ef=Object.getOwnPropertyDescriptor&&hh?Object.getOwnPropertyDescriptor(Set.prototype,"size"):null,Zi=hh&&Ef&&typeof Ef.get=="function"?Ef.get:null,ey=hh&&Set.prototype.forEach,BC=typeof WeakMap=="function"&&WeakMap.prototype,Eo=BC?WeakMap.prototype.has:null,qC=typeof WeakSet=="function"&&WeakSet.prototype,_o=qC?WeakSet.prototype.has:null,DC=typeof WeakRef=="function"&&WeakRef.prototype,ty=DC?WeakRef.prototype.deref:null,FC=Boolean.prototype.valueOf,UC=Object.prototype.toString,jC=Function.prototype.toString,HC=String.prototype.match,mh=String.prototype.slice,Ur=String.prototype.replace,GC=String.prototype.toUpperCase,ry=String.prototype.toLowerCase,$E=RegExp.prototype.test,ny=Array.prototype.concat,rr=Array.prototype.join,WC=Array.prototype.slice,ay=Math.floor,Qd=typeof BigInt=="function"?BigInt.prototype.valueOf:null,_f=Object.getOwnPropertySymbols,Jd=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?Symbol.prototype.toString:null,da=typeof Symbol=="function"&&typeof Symbol.iterator=="object",gt=typeof Symbol=="function"&&Symbol.toStringTag&&(typeof Symbol.toStringTag===da||"symbol")?Symbol.toStringTag:null,LE=Object.prototype.propertyIsEnumerable,oy=(typeof Reflect=="function"?Reflect.getPrototypeOf:Object.getPrototypeOf)||([].__proto__===Array.prototype?function(e){return e.__proto__}:null);function iy(e,t){if(e===1/0||e===-1/0||e!==e||e&&e>-1e3&&e<1e3||$E.call(/e/,t))return t;var r=/[0-9](?=(?:[0-9]{3})+(?![0-9]))/g;if(typeof e=="number"){var n=e<0?-ay(-e):ay(e);if(n!==e){var a=String(n),o=mh.call(t,a.length+1);return Ur.call(a,r,"$&_")+"."+Ur.call(Ur.call(o,/([0-9]{3})/g,"$&_"),/_$/,"")}}return Ur.call(t,r,"$&_")}var Zd=LC,sy=Zd.custom,ly=qE(sy)?sy:null,VC=function e(t,r,n,a){var o=r||{};if(Lr(o,"quoteStyle")&&o.quoteStyle!=="single"&&o.quoteStyle!=="double")throw new TypeError('option "quoteStyle" must be "single" or "double"');if(Lr(o,"maxStringLength")&&(typeof o.maxStringLength=="number"?o.maxStringLength<0&&o.maxStringLength!==1/0:o.maxStringLength!==null))throw new TypeError('option "maxStringLength", if provided, must be a positive integer, Infinity, or `null`');var s=Lr(o,"customInspect")?o.customInspect:!0;if(typeof s!="boolean"&&s!=="symbol")throw new TypeError("option \"customInspect\", if provided, must be `true`, `false`, or `'symbol'`");if(Lr(o,"indent")&&o.indent!==null&&o.indent!==" "&&!(parseInt(o.indent,10)===o.indent&&o.indent>0))throw new TypeError('option "indent" must be "\\t", an integer > 0, or `null`');if(Lr(o,"numericSeparator")&&typeof o.numericSeparator!="boolean")throw new TypeError('option "numericSeparator", if provided, must be `true` or `false`');var i=o.numericSeparator;if(typeof t>"u")return"undefined";if(t===null)return"null";if(typeof t=="boolean")return t?"true":"false";if(typeof t=="string")return FE(t,o);if(typeof t=="number"){if(t===0)return 1/0/t>0?"0":"-0";var l=String(t);return i?iy(t,l):l}if(typeof t=="bigint"){var u=String(t)+"n";return i?iy(t,u):u}var c=typeof o.depth>"u"?5:o.depth;if(typeof n>"u"&&(n=0),n>=c&&c>0&&typeof t=="object")return ep(t)?"[Array]":"[Object]";var p=cO(o,n);if(typeof a>"u")a=[];else if(DE(a,t)>=0)return"[Circular]";function d(D,Q,J){if(Q&&(a=WC.call(a),a.push(Q)),J){var k={depth:o.depth};return Lr(o,"quoteStyle")&&(k.quoteStyle=o.quoteStyle),e(D,k,n+1,a)}return e(D,o,n+1,a)}if(typeof t=="function"&&!uy(t)){var f=tO(t),h=ui(t,d);return"[Function"+(f?": "+f:" (anonymous)")+"]"+(h.length>0?" { "+rr.call(h,", ")+" }":"")}if(qE(t)){var m=da?Ur.call(String(t),/^(Symbol\(.*\))_[^)]*$/,"$1"):Jd.call(t);return typeof t=="object"&&!da?Ga(m):m}if(sO(t)){for(var _="<"+ry.call(String(t.nodeName)),b=t.attributes||[],v=0;v<b.length;v++)_+=" "+b[v].name+"="+BE(zC(b[v].value),"double",o);return _+=">",t.childNodes&&t.childNodes.length&&(_+="..."),_+="</"+ry.call(String(t.nodeName))+">",_}if(ep(t)){if(t.length===0)return"[]";var w=ui(t,d);return p&&!uO(w)?"["+tp(w,p)+"]":"[ "+rr.call(w,", ")+" ]"}if(KC(t)){var R=ui(t,d);return!("cause"in Error.prototype)&&"cause"in t&&!LE.call(t,"cause")?"{ ["+String(t)+"] "+rr.call(ny.call("[cause]: "+d(t.cause),R),", ")+" }":R.length===0?"["+String(t)+"]":"{ ["+String(t)+"] "+rr.call(R,", ")+" }"}if(typeof t=="object"&&s){if(ly&&typeof t[ly]=="function"&&Zd)return Zd(t,{depth:c-n});if(s!=="symbol"&&typeof t.inspect=="function")return t.inspect()}if(rO(t)){var T=[];return Zm&&Zm.call(t,function(D,Q){T.push(d(Q,t,!0)+" => "+d(D,t))}),cy("Map",Ji.call(t),T,p)}if(oO(t)){var C=[];return ey&&ey.call(t,function(D){C.push(d(D,t))}),cy("Set",Zi.call(t),C,p)}if(nO(t))return wf("WeakMap");if(iO(t))return wf("WeakSet");if(aO(t))return wf("WeakRef");if(QC(t))return Ga(d(Number(t)));if(ZC(t))return Ga(d(Qd.call(t)));if(JC(t))return Ga(FC.call(t));if(XC(t))return Ga(d(String(t)));if(!YC(t)&&!uy(t)){var N=ui(t,d),I=oy?oy(t)===Object.prototype:t instanceof Object||t.constructor===Object,j=t instanceof Object?"":"null prototype",z=!I&&gt&&Object(t)===t&&gt in t?mh.call(Qr(t),8,-1):j?"Object":"",Y=I||typeof t.constructor!="function"?"":t.constructor.name?t.constructor.name+" ":"",U=Y+(z||j?"["+rr.call(ny.call([],z||[],j||[]),": ")+"] ":"");return N.length===0?U+"{}":p?U+"{"+tp(N,p)+"}":U+"{ "+rr.call(N,", ")+" }"}return String(t)};function BE(e,t,r){var n=(r.quoteStyle||t)==="double"?'"':"'";return n+e+n}function zC(e){return Ur.call(String(e),/"/g,"&quot;")}function ep(e){return Qr(e)==="[object Array]"&&(!gt||!(typeof e=="object"&&gt in e))}function YC(e){return Qr(e)==="[object Date]"&&(!gt||!(typeof e=="object"&&gt in e))}function uy(e){return Qr(e)==="[object RegExp]"&&(!gt||!(typeof e=="object"&&gt in e))}function KC(e){return Qr(e)==="[object Error]"&&(!gt||!(typeof e=="object"&&gt in e))}function XC(e){return Qr(e)==="[object String]"&&(!gt||!(typeof e=="object"&&gt in e))}function QC(e){return Qr(e)==="[object Number]"&&(!gt||!(typeof e=="object"&&gt in e))}function JC(e){return Qr(e)==="[object Boolean]"&&(!gt||!(typeof e=="object"&&gt in e))}function qE(e){if(da)return e&&typeof e=="object"&&e instanceof Symbol;if(typeof e=="symbol")return!0;if(!e||typeof e!="object"||!Jd)return!1;try{return Jd.call(e),!0}catch{}return!1}function ZC(e){if(!e||typeof e!="object"||!Qd)return!1;try{return Qd.call(e),!0}catch{}return!1}var eO=Object.prototype.hasOwnProperty||function(e){return e in this};function Lr(e,t){return eO.call(e,t)}function Qr(e){return UC.call(e)}function tO(e){if(e.name)return e.name;var t=HC.call(jC.call(e),/^function\s*([\w$]+)/);return t?t[1]:null}function DE(e,t){if(e.indexOf)return e.indexOf(t);for(var r=0,n=e.length;r<n;r++)if(e[r]===t)return r;return-1}function rO(e){if(!Ji||!e||typeof e!="object")return!1;try{Ji.call(e);try{Zi.call(e)}catch{return!0}return e instanceof Map}catch{}return!1}function nO(e){if(!Eo||!e||typeof e!="object")return!1;try{Eo.call(e,Eo);try{_o.call(e,_o)}catch{return!0}return e instanceof WeakMap}catch{}return!1}function aO(e){if(!ty||!e||typeof e!="object")return!1;try{return ty.call(e),!0}catch{}return!1}function oO(e){if(!Zi||!e||typeof e!="object")return!1;try{Zi.call(e);try{Ji.call(e)}catch{return!0}return e instanceof Set}catch{}return!1}function iO(e){if(!_o||!e||typeof e!="object")return!1;try{_o.call(e,_o);try{Eo.call(e,Eo)}catch{return!0}return e instanceof WeakSet}catch{}return!1}function sO(e){return!e||typeof e!="object"?!1:typeof HTMLElement<"u"&&e instanceof HTMLElement?!0:typeof e.nodeName=="string"&&typeof e.getAttribute=="function"}function FE(e,t){if(e.length>t.maxStringLength){var r=e.length-t.maxStringLength,n="... "+r+" more character"+(r>1?"s":"");return FE(mh.call(e,0,t.maxStringLength),t)+n}var a=Ur.call(Ur.call(e,/(['\\])/g,"\\$1"),/[\x00-\x1f]/g,lO);return BE(a,"single",t)}function lO(e){var t=e.charCodeAt(0),r={8:"b",9:"t",10:"n",12:"f",13:"r"}[t];return r?"\\"+r:"\\x"+(t<16?"0":"")+GC.call(t.toString(16))}function Ga(e){return"Object("+e+")"}function wf(e){return e+" { ? }"}function cy(e,t,r,n){var a=n?tp(r,n):rr.call(r,", ");return e+" ("+t+") {"+a+"}"}function uO(e){for(var t=0;t<e.length;t++)if(DE(e[t],`
26
26
  `)>=0)return!1;return!0}function cO(e,t){var r;if(e.indent===" ")r=" ";else if(typeof e.indent=="number"&&e.indent>0)r=rr.call(Array(e.indent+1)," ");else return null;return{base:r,prev:rr.call(Array(t+1),r)}}function tp(e,t){if(e.length===0)return"";var r=`
27
27
  `+t.prev+t.base;return r+rr.call(e,","+r)+`
28
- `+t.prev}function ui(e,t){var r=ep(e),n=[];if(r){n.length=e.length;for(var a=0;a<e.length;a++)n[a]=Lr(e,a)?t(e[a],e):""}var o=typeof _f=="function"?_f(e):[],s;if(pa){s={};for(var i=0;i<o.length;i++)s["$"+o[i]]=o[i]}for(var l in e)Lr(e,l)&&(r&&String(Number(l))===l&&l<e.length||pa&&s["$"+l]instanceof Symbol||($E.call(/[^\w$]/,l)?n.push(t(l,e)+": "+t(e[l],e)):n.push(l+": "+t(e[l],e))));if(typeof _f=="function")for(var u=0;u<o.length;u++)LE.call(e,o[u])&&n.push("["+t(o[u])+"]: "+t(e[o[u]],e));return n}var yh=Qt,_a=$t,fO=VC,dO=yh("%TypeError%"),ci=yh("%WeakMap%",!0),fi=yh("%Map%",!0),pO=_a("WeakMap.prototype.get",!0),hO=_a("WeakMap.prototype.set",!0),mO=_a("WeakMap.prototype.has",!0),yO=_a("Map.prototype.get",!0),vO=_a("Map.prototype.set",!0),gO=_a("Map.prototype.has",!0),vh=function(e,t){for(var r=e,n;(n=r.next)!==null;r=n)if(n.key===t)return r.next=n.next,n.next=e.next,e.next=n,n},bO=function(e,t){var r=vh(e,t);return r&&r.value},EO=function(e,t,r){var n=vh(e,t);n?n.value=r:e.next={key:t,next:e.next,value:r}},_O=function(e,t){return!!vh(e,t)},gh=function(){var t,r,n,a={assert:function(o){if(!a.has(o))throw new dO("Side channel does not contain "+fO(o))},get:function(o){if(ci&&o&&(typeof o=="object"||typeof o=="function")){if(t)return pO(t,o)}else if(fi){if(r)return yO(r,o)}else if(n)return bO(n,o)},has:function(o){if(ci&&o&&(typeof o=="object"||typeof o=="function")){if(t)return mO(t,o)}else if(fi){if(r)return gO(r,o)}else if(n)return _O(n,o);return!1},set:function(o,s){ci&&o&&(typeof o=="object"||typeof o=="function")?(t||(t=new ci),hO(t,o,s)):fi?(r||(r=new fi),vO(r,o,s)):(n||(n={key:{},next:null}),EO(n,o,s))}};return a},wO=String.prototype.replace,TO=/%20/g,Tf={RFC1738:"RFC1738",RFC3986:"RFC3986"},bh={default:Tf.RFC3986,formatters:{RFC1738:function(e){return wO.call(e,TO,"+")},RFC3986:function(e){return String(e)}},RFC1738:Tf.RFC1738,RFC3986:Tf.RFC3986},SO=bh,Sf=Object.prototype.hasOwnProperty,bn=Array.isArray,Zt=function(){for(var e=[],t=0;t<256;++t)e.push("%"+((t<16?"0":"")+t.toString(16)).toUpperCase());return e}(),RO=function(t){for(;t.length>1;){var r=t.pop(),n=r.obj[r.prop];if(bn(n)){for(var a=[],o=0;o<n.length;++o)typeof n[o]<"u"&&a.push(n[o]);r.obj[r.prop]=a}}},UE=function(t,r){for(var n=r&&r.plainObjects?Object.create(null):{},a=0;a<t.length;++a)typeof t[a]<"u"&&(n[a]=t[a]);return n},CO=function e(t,r,n){if(!r)return t;if(typeof r!="object"){if(bn(t))t.push(r);else if(t&&typeof t=="object")(n&&(n.plainObjects||n.allowPrototypes)||!Sf.call(Object.prototype,r))&&(t[r]=!0);else return[t,r];return t}if(!t||typeof t!="object")return[t].concat(r);var a=t;return bn(t)&&!bn(r)&&(a=UE(t,n)),bn(t)&&bn(r)?(r.forEach(function(o,s){if(Sf.call(t,s)){var i=t[s];i&&typeof i=="object"&&o&&typeof o=="object"?t[s]=e(i,o,n):t.push(o)}else t[s]=o}),t):Object.keys(r).reduce(function(o,s){var i=r[s];return Sf.call(o,s)?o[s]=e(o[s],i,n):o[s]=i,o},a)},OO=function(t,r){return Object.keys(r).reduce(function(n,a){return n[a]=r[a],n},t)},xO=function(e,t,r){var n=e.replace(/\+/g," ");if(r==="iso-8859-1")return n.replace(/%[0-9a-f]{2}/gi,unescape);try{return decodeURIComponent(n)}catch{return n}},PO=function(t,r,n,a,o){if(t.length===0)return t;var s=t;if(typeof t=="symbol"?s=Symbol.prototype.toString.call(t):typeof t!="string"&&(s=String(t)),n==="iso-8859-1")return escape(s).replace(/%u[0-9a-f]{4}/gi,function(c){return"%26%23"+parseInt(c.slice(2),16)+"%3B"});for(var i="",l=0;l<s.length;++l){var u=s.charCodeAt(l);if(u===45||u===46||u===95||u===126||u>=48&&u<=57||u>=65&&u<=90||u>=97&&u<=122||o===SO.RFC1738&&(u===40||u===41)){i+=s.charAt(l);continue}if(u<128){i=i+Zt[u];continue}if(u<2048){i=i+(Zt[192|u>>6]+Zt[128|u&63]);continue}if(u<55296||u>=57344){i=i+(Zt[224|u>>12]+Zt[128|u>>6&63]+Zt[128|u&63]);continue}l+=1,u=65536+((u&1023)<<10|s.charCodeAt(l)&1023),i+=Zt[240|u>>18]+Zt[128|u>>12&63]+Zt[128|u>>6&63]+Zt[128|u&63]}return i},AO=function(t){for(var r=[{obj:{o:t},prop:"o"}],n=[],a=0;a<r.length;++a)for(var o=r[a],s=o.obj[o.prop],i=Object.keys(s),l=0;l<i.length;++l){var u=i[l],c=s[u];typeof c=="object"&&c!==null&&n.indexOf(c)===-1&&(r.push({obj:s,prop:u}),n.push(c))}return RO(r),t},IO=function(t){return Object.prototype.toString.call(t)==="[object RegExp]"},NO=function(t){return!t||typeof t!="object"?!1:!!(t.constructor&&t.constructor.isBuffer&&t.constructor.isBuffer(t))},MO=function(t,r){return[].concat(t,r)},kO=function(t,r){if(bn(t)){for(var n=[],a=0;a<t.length;a+=1)n.push(r(t[a]));return n}return r(t)},jE={arrayToObject:UE,assign:OO,combine:MO,compact:AO,decode:xO,encode:PO,isBuffer:NO,isRegExp:IO,maybeMap:kO,merge:CO},HE=gh,Bi=jE,wo=bh,$O=Object.prototype.hasOwnProperty,fy={brackets:function(t){return t+"[]"},comma:"comma",indices:function(t,r){return t+"["+r+"]"},repeat:function(t){return t}},Er=Array.isArray,LO=Array.prototype.push,GE=function(e,t){LO.apply(e,Er(t)?t:[t])},BO=Date.prototype.toISOString,dy=wo.default,yt={addQueryPrefix:!1,allowDots:!1,charset:"utf-8",charsetSentinel:!1,delimiter:"&",encode:!0,encoder:Bi.encode,encodeValuesOnly:!1,format:dy,formatter:wo.formatters[dy],indices:!1,serializeDate:function(t){return BO.call(t)},skipNulls:!1,strictNullHandling:!1},qO=function(t){return typeof t=="string"||typeof t=="number"||typeof t=="boolean"||typeof t=="symbol"||typeof t=="bigint"},Rf={},DO=function e(t,r,n,a,o,s,i,l,u,c,p,d,f,h,m,_){for(var b=t,v=_,w=0,R=!1;(v=v.get(Rf))!==void 0&&!R;){var T=v.get(t);if(w+=1,typeof T<"u"){if(T===w)throw new RangeError("Cyclic object value");R=!0}typeof v.get(Rf)>"u"&&(w=0)}if(typeof l=="function"?b=l(r,b):b instanceof Date?b=p(b):n==="comma"&&Er(b)&&(b=Bi.maybeMap(b,function(k){return k instanceof Date?p(k):k})),b===null){if(o)return i&&!h?i(r,yt.encoder,m,"key",d):r;b=""}if(qO(b)||Bi.isBuffer(b)){if(i){var C=h?r:i(r,yt.encoder,m,"key",d);return[f(C)+"="+f(i(b,yt.encoder,m,"value",d))]}return[f(r)+"="+f(String(b))]}var N=[];if(typeof b>"u")return N;var I;if(n==="comma"&&Er(b))h&&i&&(b=Bi.maybeMap(b,i)),I=[{value:b.length>0?b.join(",")||null:void 0}];else if(Er(l))I=l;else{var j=Object.keys(b);I=u?j.sort(u):j}for(var z=a&&Er(b)&&b.length===1?r+"[]":r,Y=0;Y<I.length;++Y){var U=I[Y],D=typeof U=="object"&&typeof U.value<"u"?U.value:b[U];if(!(s&&D===null)){var Q=Er(b)?typeof n=="function"?n(z,U):z:z+(c?"."+U:"["+U+"]");_.set(t,w);var J=HE();J.set(Rf,_),GE(N,e(D,Q,n,a,o,s,n==="comma"&&h&&Er(b)?null:i,l,u,c,p,d,f,h,m,J))}}return N},FO=function(t){if(!t)return yt;if(t.encoder!==null&&typeof t.encoder<"u"&&typeof t.encoder!="function")throw new TypeError("Encoder has to be a function.");var r=t.charset||yt.charset;if(typeof t.charset<"u"&&t.charset!=="utf-8"&&t.charset!=="iso-8859-1")throw new TypeError("The charset option must be either utf-8, iso-8859-1, or undefined");var n=wo.default;if(typeof t.format<"u"){if(!$O.call(wo.formatters,t.format))throw new TypeError("Unknown format option provided.");n=t.format}var a=wo.formatters[n],o=yt.filter;return(typeof t.filter=="function"||Er(t.filter))&&(o=t.filter),{addQueryPrefix:typeof t.addQueryPrefix=="boolean"?t.addQueryPrefix:yt.addQueryPrefix,allowDots:typeof t.allowDots>"u"?yt.allowDots:!!t.allowDots,charset:r,charsetSentinel:typeof t.charsetSentinel=="boolean"?t.charsetSentinel:yt.charsetSentinel,delimiter:typeof t.delimiter>"u"?yt.delimiter:t.delimiter,encode:typeof t.encode=="boolean"?t.encode:yt.encode,encoder:typeof t.encoder=="function"?t.encoder:yt.encoder,encodeValuesOnly:typeof t.encodeValuesOnly=="boolean"?t.encodeValuesOnly:yt.encodeValuesOnly,filter:o,format:n,formatter:a,serializeDate:typeof t.serializeDate=="function"?t.serializeDate:yt.serializeDate,skipNulls:typeof t.skipNulls=="boolean"?t.skipNulls:yt.skipNulls,sort:typeof t.sort=="function"?t.sort:null,strictNullHandling:typeof t.strictNullHandling=="boolean"?t.strictNullHandling:yt.strictNullHandling}},UO=function(e,t){var r=e,n=FO(t),a,o;typeof n.filter=="function"?(o=n.filter,r=o("",r)):Er(n.filter)&&(o=n.filter,a=o);var s=[];if(typeof r!="object"||r===null)return"";var i;t&&t.arrayFormat in fy?i=t.arrayFormat:t&&"indices"in t?i=t.indices?"indices":"repeat":i="indices";var l=fy[i];if(t&&"commaRoundTrip"in t&&typeof t.commaRoundTrip!="boolean")throw new TypeError("`commaRoundTrip` must be a boolean, or absent");var u=l==="comma"&&t&&t.commaRoundTrip;a||(a=Object.keys(r)),n.sort&&a.sort(n.sort);for(var c=HE(),p=0;p<a.length;++p){var d=a[p];n.skipNulls&&r[d]===null||GE(s,DO(r[d],d,l,u,n.strictNullHandling,n.skipNulls,n.encode?n.encoder:null,n.filter,n.sort,n.allowDots,n.serializeDate,n.format,n.formatter,n.encodeValuesOnly,n.charset,c))}var f=s.join(n.delimiter),h=n.addQueryPrefix===!0?"?":"";return n.charsetSentinel&&(n.charset==="iso-8859-1"?h+="utf8=%26%2310003%3B&":h+="utf8=%E2%9C%93&"),f.length>0?h+f:""},ha=jE,rp=Object.prototype.hasOwnProperty,jO=Array.isArray,rt={allowDots:!1,allowPrototypes:!1,allowSparse:!1,arrayLimit:20,charset:"utf-8",charsetSentinel:!1,comma:!1,decoder:ha.decode,delimiter:"&",depth:5,ignoreQueryPrefix:!1,interpretNumericEntities:!1,parameterLimit:1e3,parseArrays:!0,plainObjects:!1,strictNullHandling:!1},HO=function(e){return e.replace(/&#(\d+);/g,function(t,r){return String.fromCharCode(parseInt(r,10))})},WE=function(e,t){return e&&typeof e=="string"&&t.comma&&e.indexOf(",")>-1?e.split(","):e},GO="utf8=%26%2310003%3B",WO="utf8=%E2%9C%93",VO=function(t,r){var n={__proto__:null},a=r.ignoreQueryPrefix?t.replace(/^\?/,""):t,o=r.parameterLimit===1/0?void 0:r.parameterLimit,s=a.split(r.delimiter,o),i=-1,l,u=r.charset;if(r.charsetSentinel)for(l=0;l<s.length;++l)s[l].indexOf("utf8=")===0&&(s[l]===WO?u="utf-8":s[l]===GO&&(u="iso-8859-1"),i=l,l=s.length);for(l=0;l<s.length;++l)if(l!==i){var c=s[l],p=c.indexOf("]="),d=p===-1?c.indexOf("="):p+1,f,h;d===-1?(f=r.decoder(c,rt.decoder,u,"key"),h=r.strictNullHandling?null:""):(f=r.decoder(c.slice(0,d),rt.decoder,u,"key"),h=ha.maybeMap(WE(c.slice(d+1),r),function(m){return r.decoder(m,rt.decoder,u,"value")})),h&&r.interpretNumericEntities&&u==="iso-8859-1"&&(h=HO(h)),c.indexOf("[]=")>-1&&(h=jO(h)?[h]:h),rp.call(n,f)?n[f]=ha.combine(n[f],h):n[f]=h}return n},zO=function(e,t,r,n){for(var a=n?t:WE(t,r),o=e.length-1;o>=0;--o){var s,i=e[o];if(i==="[]"&&r.parseArrays)s=[].concat(a);else{s=r.plainObjects?Object.create(null):{};var l=i.charAt(0)==="["&&i.charAt(i.length-1)==="]"?i.slice(1,-1):i,u=parseInt(l,10);!r.parseArrays&&l===""?s={0:a}:!isNaN(u)&&i!==l&&String(u)===l&&u>=0&&r.parseArrays&&u<=r.arrayLimit?(s=[],s[u]=a):l!=="__proto__"&&(s[l]=a)}a=s}return a},YO=function(t,r,n,a){if(t){var o=n.allowDots?t.replace(/\.([^.[]+)/g,"[$1]"):t,s=/(\[[^[\]]*])/,i=/(\[[^[\]]*])/g,l=n.depth>0&&s.exec(o),u=l?o.slice(0,l.index):o,c=[];if(u){if(!n.plainObjects&&rp.call(Object.prototype,u)&&!n.allowPrototypes)return;c.push(u)}for(var p=0;n.depth>0&&(l=i.exec(o))!==null&&p<n.depth;){if(p+=1,!n.plainObjects&&rp.call(Object.prototype,l[1].slice(1,-1))&&!n.allowPrototypes)return;c.push(l[1])}return l&&c.push("["+o.slice(l.index)+"]"),zO(c,r,n,a)}},KO=function(t){if(!t)return rt;if(t.decoder!==null&&t.decoder!==void 0&&typeof t.decoder!="function")throw new TypeError("Decoder has to be a function.");if(typeof t.charset<"u"&&t.charset!=="utf-8"&&t.charset!=="iso-8859-1")throw new TypeError("The charset option must be either utf-8, iso-8859-1, or undefined");var r=typeof t.charset>"u"?rt.charset:t.charset;return{allowDots:typeof t.allowDots>"u"?rt.allowDots:!!t.allowDots,allowPrototypes:typeof t.allowPrototypes=="boolean"?t.allowPrototypes:rt.allowPrototypes,allowSparse:typeof t.allowSparse=="boolean"?t.allowSparse:rt.allowSparse,arrayLimit:typeof t.arrayLimit=="number"?t.arrayLimit:rt.arrayLimit,charset:r,charsetSentinel:typeof t.charsetSentinel=="boolean"?t.charsetSentinel:rt.charsetSentinel,comma:typeof t.comma=="boolean"?t.comma:rt.comma,decoder:typeof t.decoder=="function"?t.decoder:rt.decoder,delimiter:typeof t.delimiter=="string"||ha.isRegExp(t.delimiter)?t.delimiter:rt.delimiter,depth:typeof t.depth=="number"||t.depth===!1?+t.depth:rt.depth,ignoreQueryPrefix:t.ignoreQueryPrefix===!0,interpretNumericEntities:typeof t.interpretNumericEntities=="boolean"?t.interpretNumericEntities:rt.interpretNumericEntities,parameterLimit:typeof t.parameterLimit=="number"?t.parameterLimit:rt.parameterLimit,parseArrays:t.parseArrays!==!1,plainObjects:typeof t.plainObjects=="boolean"?t.plainObjects:rt.plainObjects,strictNullHandling:typeof t.strictNullHandling=="boolean"?t.strictNullHandling:rt.strictNullHandling}},XO=function(e,t){var r=KO(t);if(e===""||e===null||typeof e>"u")return r.plainObjects?Object.create(null):{};for(var n=typeof e=="string"?VO(e,r):e,a=r.plainObjects?Object.create(null):{},o=Object.keys(n),s=0;s<o.length;++s){var i=o[s],l=YO(i,n[i],r,typeof e=="string");a=ha.merge(a,l,r)}return r.allowSparse===!0?a:ha.compact(a)},QO=UO,JO=XO,ZO=bh,ex={formats:ZO,parse:JO,stringify:QO};const tx=Rr(ex);var rx="[object String]",nx=Object.prototype,ax=nx.toString,ox=Array.isArray;function ix(e){return!!e&&typeof e=="object"}function sx(e){return typeof e=="string"||!ox(e)&&ix(e)&&ax.call(e)==rx}var lx=sx;const py=Rr(lx);var Eh={exports:{}};class VE extends Error{constructor(){super("Throttled function aborted"),this.name="AbortError"}}const ux=({limit:e,interval:t,strict:r})=>{if(!Number.isFinite(e))throw new TypeError("Expected `limit` to be a finite number");if(!Number.isFinite(t))throw new TypeError("Expected `interval` to be a finite number");const n=new Map;let a=0,o=0;function s(){const c=Date.now();return c-a>t?(o=1,a=c,0):(o<e?o++:(a+=t,o=1),a-c)}const i=[];function l(){const c=Date.now();if(i.length<e)return i.push(c),0;const p=i.shift()+t;return c>=p?(i.push(c),0):(i.push(p),p-c)}const u=r?l:s;return c=>{const p=function(...d){if(!p.isEnabled)return(async()=>c.apply(this,d))();let f;return new Promise((h,m)=>{f=setTimeout(()=>{h(c.apply(this,d)),n.delete(f)},u()),n.set(f,m)})};return p.abort=()=>{for(const d of n.keys())clearTimeout(d),n.get(d)(new VE);n.clear(),i.splice(0,i.length)},p.isEnabled=!0,p}};Eh.exports=ux;Eh.exports.AbortError=VE;var cx=Eh.exports;const fx=Rr(cx);var dx="[object Object]";function px(e){var t=!1;if(e!=null&&typeof e.toString!="function")try{t=!!(e+"")}catch{}return t}function hx(e,t){return function(r){return e(t(r))}}var mx=Function.prototype,zE=Object.prototype,YE=mx.toString,yx=zE.hasOwnProperty,vx=YE.call(Object),gx=zE.toString,bx=hx(Object.getPrototypeOf,Object);function Ex(e){return!!e&&typeof e=="object"}function _x(e){if(!Ex(e)||gx.call(e)!=dx||px(e))return!1;var t=bx(e);if(t===null)return!0;var r=yx.call(t,"constructor")&&t.constructor;return typeof r=="function"&&r instanceof r&&YE.call(r)==vx}var wx=_x;const di=Rr(wx);function Tx(e,t){var r=e==null?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(r!=null){var n,a,o,s,i=[],l=!0,u=!1;try{if(o=(r=r.call(e)).next,t===0){if(Object(r)!==r)return;l=!1}else for(;!(l=(n=o.call(r)).done)&&(i.push(n.value),i.length!==t);l=!0);}catch(c){u=!0,a=c}finally{try{if(!l&&r.return!=null&&(s=r.return(),Object(s)!==s))return}finally{if(u)throw a}}return i}}function hy(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(a){return Object.getOwnPropertyDescriptor(e,a).enumerable})),r.push.apply(r,n)}return r}function sa(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?hy(Object(r),!0).forEach(function(n){Sx(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):hy(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}function np(e){"@babel/helpers - typeof";return np=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},np(e)}function ap(){ap=function(a,o){return new r(a,void 0,o)};var e=RegExp.prototype,t=new WeakMap;function r(a,o,s){var i=new RegExp(a,o);return t.set(i,s||t.get(a)),es(i,r.prototype)}function n(a,o){var s=t.get(o);return Object.keys(s).reduce(function(i,l){var u=s[l];if(typeof u=="number")i[l]=a[u];else{for(var c=0;a[u[c]]===void 0&&c+1<u.length;)c++;i[l]=a[u[c]]}return i},Object.create(null))}return Rx(r,RegExp),r.prototype.exec=function(a){var o=e.exec.call(this,a);if(o){o.groups=n(o,this);var s=o.indices;s&&(s.groups=n(s,this))}return o},r.prototype[Symbol.replace]=function(a,o){if(typeof o=="string"){var s=t.get(this);return e[Symbol.replace].call(this,a,o.replace(/\$<([^>]+)>/g,function(l,u){var c=s[u];return"$"+(Array.isArray(c)?c.join("$"):c)}))}if(typeof o=="function"){var i=this;return e[Symbol.replace].call(this,a,function(){var l=arguments;return typeof l[l.length-1]!="object"&&(l=[].slice.call(l)).push(n(l,i)),o.apply(this,l)})}return e[Symbol.replace].call(this,a,o)},ap.apply(this,arguments)}function Sx(e,t,r){return t=Ix(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Rx(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&es(e,t)}function es(e,t){return es=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(n,a){return n.__proto__=a,n},es(e,t)}function Cx(e,t){return Ox(e)||Tx(e,t)||KE(e,t)||xx()}function Ox(e){if(Array.isArray(e))return e}function KE(e,t){if(e){if(typeof e=="string")return my(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);if(r==="Object"&&e.constructor&&(r=e.constructor.name),r==="Map"||r==="Set")return Array.from(e);if(r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return my(e,t)}}function my(e,t){(t==null||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function xx(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
28
+ `+t.prev}function ui(e,t){var r=ep(e),n=[];if(r){n.length=e.length;for(var a=0;a<e.length;a++)n[a]=Lr(e,a)?t(e[a],e):""}var o=typeof _f=="function"?_f(e):[],s;if(da){s={};for(var i=0;i<o.length;i++)s["$"+o[i]]=o[i]}for(var l in e)Lr(e,l)&&(r&&String(Number(l))===l&&l<e.length||da&&s["$"+l]instanceof Symbol||($E.call(/[^\w$]/,l)?n.push(t(l,e)+": "+t(e[l],e)):n.push(l+": "+t(e[l],e))));if(typeof _f=="function")for(var u=0;u<o.length;u++)LE.call(e,o[u])&&n.push("["+t(o[u])+"]: "+t(e[o[u]],e));return n}var yh=Qt,Ea=$t,fO=VC,dO=yh("%TypeError%"),ci=yh("%WeakMap%",!0),fi=yh("%Map%",!0),pO=Ea("WeakMap.prototype.get",!0),hO=Ea("WeakMap.prototype.set",!0),mO=Ea("WeakMap.prototype.has",!0),yO=Ea("Map.prototype.get",!0),vO=Ea("Map.prototype.set",!0),gO=Ea("Map.prototype.has",!0),vh=function(e,t){for(var r=e,n;(n=r.next)!==null;r=n)if(n.key===t)return r.next=n.next,n.next=e.next,e.next=n,n},bO=function(e,t){var r=vh(e,t);return r&&r.value},EO=function(e,t,r){var n=vh(e,t);n?n.value=r:e.next={key:t,next:e.next,value:r}},_O=function(e,t){return!!vh(e,t)},gh=function(){var t,r,n,a={assert:function(o){if(!a.has(o))throw new dO("Side channel does not contain "+fO(o))},get:function(o){if(ci&&o&&(typeof o=="object"||typeof o=="function")){if(t)return pO(t,o)}else if(fi){if(r)return yO(r,o)}else if(n)return bO(n,o)},has:function(o){if(ci&&o&&(typeof o=="object"||typeof o=="function")){if(t)return mO(t,o)}else if(fi){if(r)return gO(r,o)}else if(n)return _O(n,o);return!1},set:function(o,s){ci&&o&&(typeof o=="object"||typeof o=="function")?(t||(t=new ci),hO(t,o,s)):fi?(r||(r=new fi),vO(r,o,s)):(n||(n={key:{},next:null}),EO(n,o,s))}};return a},wO=String.prototype.replace,TO=/%20/g,Tf={RFC1738:"RFC1738",RFC3986:"RFC3986"},bh={default:Tf.RFC3986,formatters:{RFC1738:function(e){return wO.call(e,TO,"+")},RFC3986:function(e){return String(e)}},RFC1738:Tf.RFC1738,RFC3986:Tf.RFC3986},SO=bh,Sf=Object.prototype.hasOwnProperty,bn=Array.isArray,Zt=function(){for(var e=[],t=0;t<256;++t)e.push("%"+((t<16?"0":"")+t.toString(16)).toUpperCase());return e}(),RO=function(t){for(;t.length>1;){var r=t.pop(),n=r.obj[r.prop];if(bn(n)){for(var a=[],o=0;o<n.length;++o)typeof n[o]<"u"&&a.push(n[o]);r.obj[r.prop]=a}}},UE=function(t,r){for(var n=r&&r.plainObjects?Object.create(null):{},a=0;a<t.length;++a)typeof t[a]<"u"&&(n[a]=t[a]);return n},CO=function e(t,r,n){if(!r)return t;if(typeof r!="object"){if(bn(t))t.push(r);else if(t&&typeof t=="object")(n&&(n.plainObjects||n.allowPrototypes)||!Sf.call(Object.prototype,r))&&(t[r]=!0);else return[t,r];return t}if(!t||typeof t!="object")return[t].concat(r);var a=t;return bn(t)&&!bn(r)&&(a=UE(t,n)),bn(t)&&bn(r)?(r.forEach(function(o,s){if(Sf.call(t,s)){var i=t[s];i&&typeof i=="object"&&o&&typeof o=="object"?t[s]=e(i,o,n):t.push(o)}else t[s]=o}),t):Object.keys(r).reduce(function(o,s){var i=r[s];return Sf.call(o,s)?o[s]=e(o[s],i,n):o[s]=i,o},a)},OO=function(t,r){return Object.keys(r).reduce(function(n,a){return n[a]=r[a],n},t)},xO=function(e,t,r){var n=e.replace(/\+/g," ");if(r==="iso-8859-1")return n.replace(/%[0-9a-f]{2}/gi,unescape);try{return decodeURIComponent(n)}catch{return n}},PO=function(t,r,n,a,o){if(t.length===0)return t;var s=t;if(typeof t=="symbol"?s=Symbol.prototype.toString.call(t):typeof t!="string"&&(s=String(t)),n==="iso-8859-1")return escape(s).replace(/%u[0-9a-f]{4}/gi,function(c){return"%26%23"+parseInt(c.slice(2),16)+"%3B"});for(var i="",l=0;l<s.length;++l){var u=s.charCodeAt(l);if(u===45||u===46||u===95||u===126||u>=48&&u<=57||u>=65&&u<=90||u>=97&&u<=122||o===SO.RFC1738&&(u===40||u===41)){i+=s.charAt(l);continue}if(u<128){i=i+Zt[u];continue}if(u<2048){i=i+(Zt[192|u>>6]+Zt[128|u&63]);continue}if(u<55296||u>=57344){i=i+(Zt[224|u>>12]+Zt[128|u>>6&63]+Zt[128|u&63]);continue}l+=1,u=65536+((u&1023)<<10|s.charCodeAt(l)&1023),i+=Zt[240|u>>18]+Zt[128|u>>12&63]+Zt[128|u>>6&63]+Zt[128|u&63]}return i},AO=function(t){for(var r=[{obj:{o:t},prop:"o"}],n=[],a=0;a<r.length;++a)for(var o=r[a],s=o.obj[o.prop],i=Object.keys(s),l=0;l<i.length;++l){var u=i[l],c=s[u];typeof c=="object"&&c!==null&&n.indexOf(c)===-1&&(r.push({obj:s,prop:u}),n.push(c))}return RO(r),t},IO=function(t){return Object.prototype.toString.call(t)==="[object RegExp]"},NO=function(t){return!t||typeof t!="object"?!1:!!(t.constructor&&t.constructor.isBuffer&&t.constructor.isBuffer(t))},MO=function(t,r){return[].concat(t,r)},kO=function(t,r){if(bn(t)){for(var n=[],a=0;a<t.length;a+=1)n.push(r(t[a]));return n}return r(t)},jE={arrayToObject:UE,assign:OO,combine:MO,compact:AO,decode:xO,encode:PO,isBuffer:NO,isRegExp:IO,maybeMap:kO,merge:CO},HE=gh,Bi=jE,wo=bh,$O=Object.prototype.hasOwnProperty,fy={brackets:function(t){return t+"[]"},comma:"comma",indices:function(t,r){return t+"["+r+"]"},repeat:function(t){return t}},Er=Array.isArray,LO=Array.prototype.push,GE=function(e,t){LO.apply(e,Er(t)?t:[t])},BO=Date.prototype.toISOString,dy=wo.default,yt={addQueryPrefix:!1,allowDots:!1,charset:"utf-8",charsetSentinel:!1,delimiter:"&",encode:!0,encoder:Bi.encode,encodeValuesOnly:!1,format:dy,formatter:wo.formatters[dy],indices:!1,serializeDate:function(t){return BO.call(t)},skipNulls:!1,strictNullHandling:!1},qO=function(t){return typeof t=="string"||typeof t=="number"||typeof t=="boolean"||typeof t=="symbol"||typeof t=="bigint"},Rf={},DO=function e(t,r,n,a,o,s,i,l,u,c,p,d,f,h,m,_){for(var b=t,v=_,w=0,R=!1;(v=v.get(Rf))!==void 0&&!R;){var T=v.get(t);if(w+=1,typeof T<"u"){if(T===w)throw new RangeError("Cyclic object value");R=!0}typeof v.get(Rf)>"u"&&(w=0)}if(typeof l=="function"?b=l(r,b):b instanceof Date?b=p(b):n==="comma"&&Er(b)&&(b=Bi.maybeMap(b,function(k){return k instanceof Date?p(k):k})),b===null){if(o)return i&&!h?i(r,yt.encoder,m,"key",d):r;b=""}if(qO(b)||Bi.isBuffer(b)){if(i){var C=h?r:i(r,yt.encoder,m,"key",d);return[f(C)+"="+f(i(b,yt.encoder,m,"value",d))]}return[f(r)+"="+f(String(b))]}var N=[];if(typeof b>"u")return N;var I;if(n==="comma"&&Er(b))h&&i&&(b=Bi.maybeMap(b,i)),I=[{value:b.length>0?b.join(",")||null:void 0}];else if(Er(l))I=l;else{var j=Object.keys(b);I=u?j.sort(u):j}for(var z=a&&Er(b)&&b.length===1?r+"[]":r,Y=0;Y<I.length;++Y){var U=I[Y],D=typeof U=="object"&&typeof U.value<"u"?U.value:b[U];if(!(s&&D===null)){var Q=Er(b)?typeof n=="function"?n(z,U):z:z+(c?"."+U:"["+U+"]");_.set(t,w);var J=HE();J.set(Rf,_),GE(N,e(D,Q,n,a,o,s,n==="comma"&&h&&Er(b)?null:i,l,u,c,p,d,f,h,m,J))}}return N},FO=function(t){if(!t)return yt;if(t.encoder!==null&&typeof t.encoder<"u"&&typeof t.encoder!="function")throw new TypeError("Encoder has to be a function.");var r=t.charset||yt.charset;if(typeof t.charset<"u"&&t.charset!=="utf-8"&&t.charset!=="iso-8859-1")throw new TypeError("The charset option must be either utf-8, iso-8859-1, or undefined");var n=wo.default;if(typeof t.format<"u"){if(!$O.call(wo.formatters,t.format))throw new TypeError("Unknown format option provided.");n=t.format}var a=wo.formatters[n],o=yt.filter;return(typeof t.filter=="function"||Er(t.filter))&&(o=t.filter),{addQueryPrefix:typeof t.addQueryPrefix=="boolean"?t.addQueryPrefix:yt.addQueryPrefix,allowDots:typeof t.allowDots>"u"?yt.allowDots:!!t.allowDots,charset:r,charsetSentinel:typeof t.charsetSentinel=="boolean"?t.charsetSentinel:yt.charsetSentinel,delimiter:typeof t.delimiter>"u"?yt.delimiter:t.delimiter,encode:typeof t.encode=="boolean"?t.encode:yt.encode,encoder:typeof t.encoder=="function"?t.encoder:yt.encoder,encodeValuesOnly:typeof t.encodeValuesOnly=="boolean"?t.encodeValuesOnly:yt.encodeValuesOnly,filter:o,format:n,formatter:a,serializeDate:typeof t.serializeDate=="function"?t.serializeDate:yt.serializeDate,skipNulls:typeof t.skipNulls=="boolean"?t.skipNulls:yt.skipNulls,sort:typeof t.sort=="function"?t.sort:null,strictNullHandling:typeof t.strictNullHandling=="boolean"?t.strictNullHandling:yt.strictNullHandling}},UO=function(e,t){var r=e,n=FO(t),a,o;typeof n.filter=="function"?(o=n.filter,r=o("",r)):Er(n.filter)&&(o=n.filter,a=o);var s=[];if(typeof r!="object"||r===null)return"";var i;t&&t.arrayFormat in fy?i=t.arrayFormat:t&&"indices"in t?i=t.indices?"indices":"repeat":i="indices";var l=fy[i];if(t&&"commaRoundTrip"in t&&typeof t.commaRoundTrip!="boolean")throw new TypeError("`commaRoundTrip` must be a boolean, or absent");var u=l==="comma"&&t&&t.commaRoundTrip;a||(a=Object.keys(r)),n.sort&&a.sort(n.sort);for(var c=HE(),p=0;p<a.length;++p){var d=a[p];n.skipNulls&&r[d]===null||GE(s,DO(r[d],d,l,u,n.strictNullHandling,n.skipNulls,n.encode?n.encoder:null,n.filter,n.sort,n.allowDots,n.serializeDate,n.format,n.formatter,n.encodeValuesOnly,n.charset,c))}var f=s.join(n.delimiter),h=n.addQueryPrefix===!0?"?":"";return n.charsetSentinel&&(n.charset==="iso-8859-1"?h+="utf8=%26%2310003%3B&":h+="utf8=%E2%9C%93&"),f.length>0?h+f:""},pa=jE,rp=Object.prototype.hasOwnProperty,jO=Array.isArray,rt={allowDots:!1,allowPrototypes:!1,allowSparse:!1,arrayLimit:20,charset:"utf-8",charsetSentinel:!1,comma:!1,decoder:pa.decode,delimiter:"&",depth:5,ignoreQueryPrefix:!1,interpretNumericEntities:!1,parameterLimit:1e3,parseArrays:!0,plainObjects:!1,strictNullHandling:!1},HO=function(e){return e.replace(/&#(\d+);/g,function(t,r){return String.fromCharCode(parseInt(r,10))})},WE=function(e,t){return e&&typeof e=="string"&&t.comma&&e.indexOf(",")>-1?e.split(","):e},GO="utf8=%26%2310003%3B",WO="utf8=%E2%9C%93",VO=function(t,r){var n={__proto__:null},a=r.ignoreQueryPrefix?t.replace(/^\?/,""):t,o=r.parameterLimit===1/0?void 0:r.parameterLimit,s=a.split(r.delimiter,o),i=-1,l,u=r.charset;if(r.charsetSentinel)for(l=0;l<s.length;++l)s[l].indexOf("utf8=")===0&&(s[l]===WO?u="utf-8":s[l]===GO&&(u="iso-8859-1"),i=l,l=s.length);for(l=0;l<s.length;++l)if(l!==i){var c=s[l],p=c.indexOf("]="),d=p===-1?c.indexOf("="):p+1,f,h;d===-1?(f=r.decoder(c,rt.decoder,u,"key"),h=r.strictNullHandling?null:""):(f=r.decoder(c.slice(0,d),rt.decoder,u,"key"),h=pa.maybeMap(WE(c.slice(d+1),r),function(m){return r.decoder(m,rt.decoder,u,"value")})),h&&r.interpretNumericEntities&&u==="iso-8859-1"&&(h=HO(h)),c.indexOf("[]=")>-1&&(h=jO(h)?[h]:h),rp.call(n,f)?n[f]=pa.combine(n[f],h):n[f]=h}return n},zO=function(e,t,r,n){for(var a=n?t:WE(t,r),o=e.length-1;o>=0;--o){var s,i=e[o];if(i==="[]"&&r.parseArrays)s=[].concat(a);else{s=r.plainObjects?Object.create(null):{};var l=i.charAt(0)==="["&&i.charAt(i.length-1)==="]"?i.slice(1,-1):i,u=parseInt(l,10);!r.parseArrays&&l===""?s={0:a}:!isNaN(u)&&i!==l&&String(u)===l&&u>=0&&r.parseArrays&&u<=r.arrayLimit?(s=[],s[u]=a):l!=="__proto__"&&(s[l]=a)}a=s}return a},YO=function(t,r,n,a){if(t){var o=n.allowDots?t.replace(/\.([^.[]+)/g,"[$1]"):t,s=/(\[[^[\]]*])/,i=/(\[[^[\]]*])/g,l=n.depth>0&&s.exec(o),u=l?o.slice(0,l.index):o,c=[];if(u){if(!n.plainObjects&&rp.call(Object.prototype,u)&&!n.allowPrototypes)return;c.push(u)}for(var p=0;n.depth>0&&(l=i.exec(o))!==null&&p<n.depth;){if(p+=1,!n.plainObjects&&rp.call(Object.prototype,l[1].slice(1,-1))&&!n.allowPrototypes)return;c.push(l[1])}return l&&c.push("["+o.slice(l.index)+"]"),zO(c,r,n,a)}},KO=function(t){if(!t)return rt;if(t.decoder!==null&&t.decoder!==void 0&&typeof t.decoder!="function")throw new TypeError("Decoder has to be a function.");if(typeof t.charset<"u"&&t.charset!=="utf-8"&&t.charset!=="iso-8859-1")throw new TypeError("The charset option must be either utf-8, iso-8859-1, or undefined");var r=typeof t.charset>"u"?rt.charset:t.charset;return{allowDots:typeof t.allowDots>"u"?rt.allowDots:!!t.allowDots,allowPrototypes:typeof t.allowPrototypes=="boolean"?t.allowPrototypes:rt.allowPrototypes,allowSparse:typeof t.allowSparse=="boolean"?t.allowSparse:rt.allowSparse,arrayLimit:typeof t.arrayLimit=="number"?t.arrayLimit:rt.arrayLimit,charset:r,charsetSentinel:typeof t.charsetSentinel=="boolean"?t.charsetSentinel:rt.charsetSentinel,comma:typeof t.comma=="boolean"?t.comma:rt.comma,decoder:typeof t.decoder=="function"?t.decoder:rt.decoder,delimiter:typeof t.delimiter=="string"||pa.isRegExp(t.delimiter)?t.delimiter:rt.delimiter,depth:typeof t.depth=="number"||t.depth===!1?+t.depth:rt.depth,ignoreQueryPrefix:t.ignoreQueryPrefix===!0,interpretNumericEntities:typeof t.interpretNumericEntities=="boolean"?t.interpretNumericEntities:rt.interpretNumericEntities,parameterLimit:typeof t.parameterLimit=="number"?t.parameterLimit:rt.parameterLimit,parseArrays:t.parseArrays!==!1,plainObjects:typeof t.plainObjects=="boolean"?t.plainObjects:rt.plainObjects,strictNullHandling:typeof t.strictNullHandling=="boolean"?t.strictNullHandling:rt.strictNullHandling}},XO=function(e,t){var r=KO(t);if(e===""||e===null||typeof e>"u")return r.plainObjects?Object.create(null):{};for(var n=typeof e=="string"?VO(e,r):e,a=r.plainObjects?Object.create(null):{},o=Object.keys(n),s=0;s<o.length;++s){var i=o[s],l=YO(i,n[i],r,typeof e=="string");a=pa.merge(a,l,r)}return r.allowSparse===!0?a:pa.compact(a)},QO=UO,JO=XO,ZO=bh,ex={formats:ZO,parse:JO,stringify:QO};const tx=Rr(ex);var rx="[object String]",nx=Object.prototype,ax=nx.toString,ox=Array.isArray;function ix(e){return!!e&&typeof e=="object"}function sx(e){return typeof e=="string"||!ox(e)&&ix(e)&&ax.call(e)==rx}var lx=sx;const py=Rr(lx);var Eh={exports:{}};class VE extends Error{constructor(){super("Throttled function aborted"),this.name="AbortError"}}const ux=({limit:e,interval:t,strict:r})=>{if(!Number.isFinite(e))throw new TypeError("Expected `limit` to be a finite number");if(!Number.isFinite(t))throw new TypeError("Expected `interval` to be a finite number");const n=new Map;let a=0,o=0;function s(){const c=Date.now();return c-a>t?(o=1,a=c,0):(o<e?o++:(a+=t,o=1),a-c)}const i=[];function l(){const c=Date.now();if(i.length<e)return i.push(c),0;const p=i.shift()+t;return c>=p?(i.push(c),0):(i.push(p),p-c)}const u=r?l:s;return c=>{const p=function(...d){if(!p.isEnabled)return(async()=>c.apply(this,d))();let f;return new Promise((h,m)=>{f=setTimeout(()=>{h(c.apply(this,d)),n.delete(f)},u()),n.set(f,m)})};return p.abort=()=>{for(const d of n.keys())clearTimeout(d),n.get(d)(new VE);n.clear(),i.splice(0,i.length)},p.isEnabled=!0,p}};Eh.exports=ux;Eh.exports.AbortError=VE;var cx=Eh.exports;const fx=Rr(cx);var dx="[object Object]";function px(e){var t=!1;if(e!=null&&typeof e.toString!="function")try{t=!!(e+"")}catch{}return t}function hx(e,t){return function(r){return e(t(r))}}var mx=Function.prototype,zE=Object.prototype,YE=mx.toString,yx=zE.hasOwnProperty,vx=YE.call(Object),gx=zE.toString,bx=hx(Object.getPrototypeOf,Object);function Ex(e){return!!e&&typeof e=="object"}function _x(e){if(!Ex(e)||gx.call(e)!=dx||px(e))return!1;var t=bx(e);if(t===null)return!0;var r=yx.call(t,"constructor")&&t.constructor;return typeof r=="function"&&r instanceof r&&YE.call(r)==vx}var wx=_x;const di=Rr(wx);function Tx(e,t){var r=e==null?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(r!=null){var n,a,o,s,i=[],l=!0,u=!1;try{if(o=(r=r.call(e)).next,t===0){if(Object(r)!==r)return;l=!1}else for(;!(l=(n=o.call(r)).done)&&(i.push(n.value),i.length!==t);l=!0);}catch(c){u=!0,a=c}finally{try{if(!l&&r.return!=null&&(s=r.return(),Object(s)!==s))return}finally{if(u)throw a}}return i}}function hy(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(a){return Object.getOwnPropertyDescriptor(e,a).enumerable})),r.push.apply(r,n)}return r}function ia(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?hy(Object(r),!0).forEach(function(n){Sx(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):hy(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}function np(e){"@babel/helpers - typeof";return np=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},np(e)}function ap(){ap=function(a,o){return new r(a,void 0,o)};var e=RegExp.prototype,t=new WeakMap;function r(a,o,s){var i=new RegExp(a,o);return t.set(i,s||t.get(a)),es(i,r.prototype)}function n(a,o){var s=t.get(o);return Object.keys(s).reduce(function(i,l){var u=s[l];if(typeof u=="number")i[l]=a[u];else{for(var c=0;a[u[c]]===void 0&&c+1<u.length;)c++;i[l]=a[u[c]]}return i},Object.create(null))}return Rx(r,RegExp),r.prototype.exec=function(a){var o=e.exec.call(this,a);if(o){o.groups=n(o,this);var s=o.indices;s&&(s.groups=n(s,this))}return o},r.prototype[Symbol.replace]=function(a,o){if(typeof o=="string"){var s=t.get(this);return e[Symbol.replace].call(this,a,o.replace(/\$<([^>]+)>/g,function(l,u){var c=s[u];return"$"+(Array.isArray(c)?c.join("$"):c)}))}if(typeof o=="function"){var i=this;return e[Symbol.replace].call(this,a,function(){var l=arguments;return typeof l[l.length-1]!="object"&&(l=[].slice.call(l)).push(n(l,i)),o.apply(this,l)})}return e[Symbol.replace].call(this,a,o)},ap.apply(this,arguments)}function Sx(e,t,r){return t=Ix(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Rx(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&es(e,t)}function es(e,t){return es=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(n,a){return n.__proto__=a,n},es(e,t)}function Cx(e,t){return Ox(e)||Tx(e,t)||KE(e,t)||xx()}function Ox(e){if(Array.isArray(e))return e}function KE(e,t){if(e){if(typeof e=="string")return my(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);if(r==="Object"&&e.constructor&&(r=e.constructor.name),r==="Map"||r==="Set")return Array.from(e);if(r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return my(e,t)}}function my(e,t){(t==null||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function xx(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
29
29
  In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function Px(e,t){var r=typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(!r){if(Array.isArray(e)||(r=KE(e))||t&&e&&typeof e.length=="number"){r&&(e=r);var n=0,a=function(){};return{s:a,n:function(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]}},e:function(l){throw l},f:a}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
30
- In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var o=!0,s=!1,i;return{s:function(){r=r.call(e)},n:function(){var l=r.next();return o=l.done,l},e:function(l){s=!0,i=l},f:function(){try{!o&&r.return!=null&&r.return()}finally{if(s)throw i}}}}function Ax(e,t){if(typeof e!="object"||e===null)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var n=r.call(e,t||"default");if(typeof n!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function Ix(e){var t=Ax(e,"string");return typeof t=="symbol"?t:String(t)}function Nx(){return typeof process<"u"&&!process.browser}function Mx(){return typeof window<"u"&&"navigator"in window&&"product"in window.navigator&&window.navigator.product==="ReactNative"}function kx(){return process.versions&&process.versions.node?"v".concat(process.versions.node):process.version}function $x(){return window}function op(){}var ip=ap(/(\d+)(%)/,{value:1});function Cf(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:7,r=t;if(ip.test(e)){var n,a=(n=e.match(ip))===null||n===void 0?void 0:n.groups;if(a&&a.value){var o=parseInt(a.value)/100;r=Math.round(t*o)}}return Math.min(30,Math.max(1,r))}function yy(e,t){return t("info","Throttle request to ".concat(e,"/s")),fx({limit:e,interval:1e3,strict:!1})}var Lx=function(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"auto",r=e.defaults.logHandler,n=r===void 0?op:r,a=py(t)?Cf(t):Cf("auto",t),o=yy(a,n),s=!1,i=e.interceptors.request.use(function(u){return o(function(){return u})()},function(u){return Promise.reject(u)}),l=e.interceptors.response.use(function(u){if(!s&&py(t)&&(t==="auto"||ip.test(t))&&u.headers&&u.headers["x-contentful-ratelimit-second-limit"]){var c=parseInt(u.headers["x-contentful-ratelimit-second-limit"]),p=Cf(t,c);p!==a&&(i&&e.interceptors.request.eject(i),a=p,o=yy(p,n),i=e.interceptors.request.use(function(d){return o(function(){return d})()},function(d){return Promise.reject(d)})),s=!0}return u},function(u){return Promise.reject(u)});return function(){e.interceptors.request.eject(i),e.interceptors.response.eject(l)}},Bx=function(t){return new Promise(function(r){setTimeout(r,t)})},qx=function(t){return Math.pow(Math.SQRT2,t)};function Dx(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:5,r=e.defaults,n=r.responseLogger,a=n===void 0?op:n,o=r.requestLogger,s=o===void 0?op:o;e.interceptors.request.use(function(i){return s(i),i},function(i){return s(i),Promise.reject(i)}),e.interceptors.response.use(function(i){return a(i),i},function(i){var l=i.response,u=i.config;if(a(i),!u||!e.defaults.retryOnError)return Promise.reject(i);var c=u.attempts||1;if(c>t)return i.attempts=u.attempts,Promise.reject(i);var p=null,d=qx(c);return l?l.status>=500&&l.status<600?p="Server ".concat(l.status):l.status===429&&(p="Rate limit",l.headers&&i.response.headers["x-contentful-ratelimit-reset"]&&(d=l.headers["x-contentful-ratelimit-reset"])):p="Connection",p?(d=Math.floor(d*1e3+Math.random()*200+500),e.defaults.logHandler("warning","".concat(p," error occurred. Waiting for ").concat(d," ms before retrying...")),u.attempts=c+1,delete u.httpAgent,delete u.httpsAgent,Bx(d).then(function(){return e(u)})):Promise.reject(i)})}function Fx(e,t){e.interceptors.request.use(function(r){return t().then(function(n){return r.headers=sa(sa({},r.headers),{},{Authorization:"Bearer ".concat(n)}),r})})}var Ux=/^(?!\w+:\/\/)([^\s:]+\.?[^\s:]+)(?::(\d+))?(?!:)$/;function XE(e,t){var r={insecure:!1,retryOnError:!0,logHandler:function(m,_){if(m==="error"&&_){var b=[_.name,_.message].filter(function(v){return v}).join(" - ");console.error("[error] ".concat(b)),console.error(_);return}console.log("[".concat(m,"] ").concat(_))},headers:{},httpAgent:!1,httpsAgent:!1,timeout:3e4,throttle:0,proxy:!1,basePath:"",adapter:void 0,maxContentLength:1073741824,maxBodyLength:1073741824},n=sa(sa({},r),t);if(!n.accessToken){var a=new TypeError("Expected parameter accessToken");throw n.logHandler("error",a),a}var o=n.insecure?"http":"https",s=n.space?"".concat(n.space,"/"):"",i=n.defaultHostname,l=n.insecure?80:443;if(n.host&&Ux.test(n.host)){var u=n.host.split(":");if(u.length===2){var c=Cx(u,2);i=c[0],l=c[1]}else i=u[0]}n.basePath&&(n.basePath="/".concat(n.basePath.split("/").filter(Boolean).join("/")));var p=t.baseURL||"".concat(o,"://").concat(i,":").concat(l).concat(n.basePath,"/spaces/").concat(s);!n.headers.Authorization&&typeof n.accessToken!="function"&&(n.headers.Authorization="Bearer "+n.accessToken);var d={baseURL:p,headers:n.headers,httpAgent:n.httpAgent,httpsAgent:n.httpsAgent,paramsSerializer:tx.stringify,proxy:n.proxy,timeout:n.timeout,adapter:n.adapter,maxContentLength:n.maxContentLength,maxBodyLength:n.maxBodyLength,logHandler:n.logHandler,responseLogger:n.responseLogger,requestLogger:n.requestLogger,retryOnError:n.retryOnError},f=e.create(d);return f.httpClientParams=t,f.cloneWithNewParams=function(h){return XE(e,sa(sa({},Kr(t)),h))},n.onBeforeRequest&&f.interceptors.request.use(n.onBeforeRequest),typeof n.accessToken=="function"&&Fx(f,n.accessToken),n.throttle&&Lx(f,n.throttle),Dx(f,n.retryLimit),n.onError&&f.interceptors.response.use(function(h){return h},n.onError),f}function jx(e){var t=e.query,r={};return delete t.resolveLinks,r.params=Kr(t),r}function Hx(e,t){if(!(t in e)){var r=new Error;throw r.name="PropertyMissing",r.message="Required property ".concat(t,` missing from:
30
+ In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var o=!0,s=!1,i;return{s:function(){r=r.call(e)},n:function(){var l=r.next();return o=l.done,l},e:function(l){s=!0,i=l},f:function(){try{!o&&r.return!=null&&r.return()}finally{if(s)throw i}}}}function Ax(e,t){if(typeof e!="object"||e===null)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var n=r.call(e,t||"default");if(typeof n!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function Ix(e){var t=Ax(e,"string");return typeof t=="symbol"?t:String(t)}function Nx(){return typeof process<"u"&&!process.browser}function Mx(){return typeof window<"u"&&"navigator"in window&&"product"in window.navigator&&window.navigator.product==="ReactNative"}function kx(){return process.versions&&process.versions.node?"v".concat(process.versions.node):process.version}function $x(){return window}function op(){}var ip=ap(/(\d+)(%)/,{value:1});function Cf(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:7,r=t;if(ip.test(e)){var n,a=(n=e.match(ip))===null||n===void 0?void 0:n.groups;if(a&&a.value){var o=parseInt(a.value)/100;r=Math.round(t*o)}}return Math.min(30,Math.max(1,r))}function yy(e,t){return t("info","Throttle request to ".concat(e,"/s")),fx({limit:e,interval:1e3,strict:!1})}var Lx=function(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"auto",r=e.defaults.logHandler,n=r===void 0?op:r,a=py(t)?Cf(t):Cf("auto",t),o=yy(a,n),s=!1,i=e.interceptors.request.use(function(u){return o(function(){return u})()},function(u){return Promise.reject(u)}),l=e.interceptors.response.use(function(u){if(!s&&py(t)&&(t==="auto"||ip.test(t))&&u.headers&&u.headers["x-contentful-ratelimit-second-limit"]){var c=parseInt(u.headers["x-contentful-ratelimit-second-limit"]),p=Cf(t,c);p!==a&&(i&&e.interceptors.request.eject(i),a=p,o=yy(p,n),i=e.interceptors.request.use(function(d){return o(function(){return d})()},function(d){return Promise.reject(d)})),s=!0}return u},function(u){return Promise.reject(u)});return function(){e.interceptors.request.eject(i),e.interceptors.response.eject(l)}},Bx=function(t){return new Promise(function(r){setTimeout(r,t)})},qx=function(t){return Math.pow(Math.SQRT2,t)};function Dx(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:5,r=e.defaults,n=r.responseLogger,a=n===void 0?op:n,o=r.requestLogger,s=o===void 0?op:o;e.interceptors.request.use(function(i){return s(i),i},function(i){return s(i),Promise.reject(i)}),e.interceptors.response.use(function(i){return a(i),i},function(i){var l=i.response,u=i.config;if(a(i),!u||!e.defaults.retryOnError)return Promise.reject(i);var c=u.attempts||1;if(c>t)return i.attempts=u.attempts,Promise.reject(i);var p=null,d=qx(c);return l?l.status>=500&&l.status<600?p="Server ".concat(l.status):l.status===429&&(p="Rate limit",l.headers&&i.response.headers["x-contentful-ratelimit-reset"]&&(d=l.headers["x-contentful-ratelimit-reset"])):p="Connection",p?(d=Math.floor(d*1e3+Math.random()*200+500),e.defaults.logHandler("warning","".concat(p," error occurred. Waiting for ").concat(d," ms before retrying...")),u.attempts=c+1,delete u.httpAgent,delete u.httpsAgent,Bx(d).then(function(){return e(u)})):Promise.reject(i)})}function Fx(e,t){e.interceptors.request.use(function(r){return t().then(function(n){return r.headers=ia(ia({},r.headers),{},{Authorization:"Bearer ".concat(n)}),r})})}var Ux=/^(?!\w+:\/\/)([^\s:]+\.?[^\s:]+)(?::(\d+))?(?!:)$/;function XE(e,t){var r={insecure:!1,retryOnError:!0,logHandler:function(m,_){if(m==="error"&&_){var b=[_.name,_.message].filter(function(v){return v}).join(" - ");console.error("[error] ".concat(b)),console.error(_);return}console.log("[".concat(m,"] ").concat(_))},headers:{},httpAgent:!1,httpsAgent:!1,timeout:3e4,throttle:0,proxy:!1,basePath:"",adapter:void 0,maxContentLength:1073741824,maxBodyLength:1073741824},n=ia(ia({},r),t);if(!n.accessToken){var a=new TypeError("Expected parameter accessToken");throw n.logHandler("error",a),a}var o=n.insecure?"http":"https",s=n.space?"".concat(n.space,"/"):"",i=n.defaultHostname,l=n.insecure?80:443;if(n.host&&Ux.test(n.host)){var u=n.host.split(":");if(u.length===2){var c=Cx(u,2);i=c[0],l=c[1]}else i=u[0]}n.basePath&&(n.basePath="/".concat(n.basePath.split("/").filter(Boolean).join("/")));var p=t.baseURL||"".concat(o,"://").concat(i,":").concat(l).concat(n.basePath,"/spaces/").concat(s);!n.headers.Authorization&&typeof n.accessToken!="function"&&(n.headers.Authorization="Bearer "+n.accessToken);var d={baseURL:p,headers:n.headers,httpAgent:n.httpAgent,httpsAgent:n.httpsAgent,paramsSerializer:tx.stringify,proxy:n.proxy,timeout:n.timeout,adapter:n.adapter,maxContentLength:n.maxContentLength,maxBodyLength:n.maxBodyLength,logHandler:n.logHandler,responseLogger:n.responseLogger,requestLogger:n.requestLogger,retryOnError:n.retryOnError},f=e.create(d);return f.httpClientParams=t,f.cloneWithNewParams=function(h){return XE(e,ia(ia({},Kr(t)),h))},n.onBeforeRequest&&f.interceptors.request.use(n.onBeforeRequest),typeof n.accessToken=="function"&&Fx(f,n.accessToken),n.throttle&&Lx(f,n.throttle),Dx(f,n.retryLimit),n.onError&&f.interceptors.response.use(function(h){return h},n.onError),f}function jx(e){var t=e.query,r={};return delete t.resolveLinks,r.params=Kr(t),r}function Hx(e,t){if(!(t in e)){var r=new Error;throw r.name="PropertyMissing",r.message="Required property ".concat(t,` missing from:
31
31
 
32
32
  `).concat(JSON.stringify(e),`
33
33
 
34
- `),r}return!0}function QE(e){var t=Object.getOwnPropertyNames(e),r=Px(t),n;try{for(r.s();!(n=r.n()).done;){var a=n.value,o=e[a];o&&np(o)==="object"&&QE(o)}}catch(s){r.e(s)}finally{r.f()}return Object.freeze(e)}function Gx(e){return QE(e.sys||{}),e}function vy(){var e=$x();if(!e)return null;var t=e.navigator.userAgent,r=e.navigator.platform,n=["Macintosh","MacIntel","MacPPC","Mac68K"],a=["Win32","Win64","Windows","WinCE"],o=["iPhone","iPad","iPod"];return n.indexOf(r)!==-1?"macOS":o.indexOf(r)!==-1?"iOS":a.indexOf(r)!==-1?"Windows":/Android/.test(t)?"Android":/Linux/.test(r)?"Linux":null}function Wx(){var e=process.platform||"linux",t=process.version||"0.0.0",r={android:"Android",aix:"Linux",darwin:"macOS",freebsd:"Linux",linux:"Linux",openbsd:"Linux",sunos:"Linux",win32:"Windows"};return e in r?"".concat(r[e]||"Linux","/").concat(t):null}function Vx(e,t,r,n){var a=[];t&&a.push("app ".concat(t)),r&&a.push("integration ".concat(r)),n&&a.push("feature "+n),a.push("sdk ".concat(e));var o=null;try{Mx()?(o=vy(),a.push("platform ReactNative")):Nx()?(o=Wx(),a.push("platform node.js/".concat(kx()))):(o=vy(),a.push("platform browser"))}catch{o=null}return o&&a.push("os ".concat(o)),"".concat(a.filter(function(s){return s!==""}).join("; "),";")}function zx(e){return Object.defineProperty(e,"toPlainObject",{enumerable:!1,configurable:!1,writable:!1,value:function(){return Kr(this)}})}function Yx(e){var t=e.config,r=e.response,n;if(t&&t.headers&&t.headers.Authorization){var a="...".concat(t.headers.Authorization.toString().substr(-5));t.headers.Authorization="Bearer ".concat(a)}if(!di(r)||!di(t))throw e;var o=r==null?void 0:r.data,s={status:r==null?void 0:r.status,statusText:r==null?void 0:r.statusText,message:"",details:{}};di(t)&&(s.request={url:t.url,headers:t.headers,method:t.method,payloadData:t.data}),o&&di(o)&&("requestId"in o&&(s.requestId=o.requestId||"UNKNOWN"),"message"in o&&(s.message=o.message||""),"details"in o&&(s.details=o.details||{}),"sys"in o&&"id"in o.sys&&(n=o.sys.id));var i=new Error;i.name=n&&n!=="Unknown"?n:"".concat(r==null?void 0:r.status," ").concat(r==null?void 0:r.statusText);try{i.message=JSON.stringify(s,null," ")}catch{var l;i.message=(l=s==null?void 0:s.message)!==null&&l!==void 0?l:""}throw i}const Kx=Object.freeze(Object.defineProperty({__proto__:null,createHttpClient:XE,createRequestConfig:jx,enforceObjPath:Hx,errorHandler:Yx,freezeSys:Gx,getUserAgentHeader:Vx,toPlainObject:zx},Symbol.toStringTag,{value:"Module"})),or=qo(Kx);var pi={},Va={},hi={},gy;function Xx(){if(gy)return hi;gy=1,Object.defineProperty(hi,"__esModule",{value:!0}),hi.wrapSpace=t;var e=or;function t(r){return(0,e.freezeSys)((0,e.toPlainObject)(r))}return hi}var za={},Of={exports:{}},by;function wa(){return by||(by=1,function(e,t){(function(r,n){e.exports=n()})(be,function(){var r=Function.prototype.toString,n=Object.create,a=Object.defineProperty,o=Object.getOwnPropertyDescriptor,s=Object.getOwnPropertyNames,i=Object.getOwnPropertySymbols,l=Object.getPrototypeOf,u=Object.prototype,c=u.hasOwnProperty,p=u.propertyIsEnumerable,d=typeof i=="function",f=typeof WeakMap=="function",h=function(){if(f)return function(){return new WeakMap};var N=function(){function I(){this._keys=[],this._values=[]}return I.prototype.has=function(j){return!!~this._keys.indexOf(j)},I.prototype.get=function(j){return this._values[this._keys.indexOf(j)]},I.prototype.set=function(j,z){this._keys.push(j),this._values.push(z)},I}();return function(){return new N}}(),m=function(N,I){var j=N.__proto__||l(N);if(!j)return n(null);var z=j.constructor;if(z===I.Object)return j===I.Object.prototype?{}:n(j);if(~r.call(z).indexOf("[native code]"))try{return new z}catch{}return n(j)},_=function(N,I,j,z){var Y=m(N,I);z.set(N,Y);for(var U in N)c.call(N,U)&&(Y[U]=j(N[U],z));if(d)for(var D=i(N),Q=0,J=D.length,k=void 0;Q<J;++Q)k=D[Q],p.call(N,k)&&(Y[k]=j(N[k],z));return Y},b=function(N,I,j,z){var Y=m(N,I);z.set(N,Y);for(var U=d?s(N).concat(i(N)):s(N),D=0,Q=U.length,J=void 0,k=void 0;D<Q;++D)if(J=U[D],J!=="callee"&&J!=="caller")if(k=o(N,J),k){!k.get&&!k.set&&(k.value=j(N[J],z));try{a(Y,J,k)}catch{Y[J]=k.value}}else Y[J]=j(N[J],z);return Y},v=function(N){var I="";return N.global&&(I+="g"),N.ignoreCase&&(I+="i"),N.multiline&&(I+="m"),N.unicode&&(I+="u"),N.sticky&&(I+="y"),I},w=Array.isArray,R=Object.getPrototypeOf,T=function(){return typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof be<"u"?be:(console&&console.error&&console.error('Unable to locate global object, returning "this".'),this)}();function C(N,I){var j=!!(I&&I.isStrict),z=I&&I.realm||T,Y=j?b:_,U=function(D,Q){if(!D||typeof D!="object")return D;if(Q.has(D))return Q.get(D);var J=D.__proto__||R(D),k=J&&J.constructor;if(!k||k===z.Object)return Y(D,z,U,Q);var G;if(w(D)){if(j)return b(D,z,U,Q);G=new k,Q.set(D,G);for(var Z=0,ve=D.length;Z<ve;++Z)G[Z]=U(D[Z],Q);return G}if(D instanceof z.Date)return new k(D.getTime());if(D instanceof z.RegExp)return G=new k(D.source,D.flags||v(D)),G.lastIndex=D.lastIndex,G;if(z.Map&&D instanceof z.Map)return G=new k,Q.set(D,G),D.forEach(function(ee,ne){G.set(ne,U(ee,Q))}),G;if(z.Set&&D instanceof z.Set)return G=new k,Q.set(D,G),D.forEach(function(ee){G.add(U(ee,Q))}),G;if(z.Blob&&D instanceof z.Blob)return D.slice(0,D.size,D.type);if(z.Buffer&&z.Buffer.isBuffer(D))return G=z.Buffer.allocUnsafe?z.Buffer.allocUnsafe(D.length):new k(D.length),Q.set(D,G),D.copy(G),G;if(z.ArrayBuffer){if(z.ArrayBuffer.isView(D))return G=new k(D.buffer.slice(0)),Q.set(D,G),G;if(D instanceof z.ArrayBuffer)return G=D.slice(0),Q.set(D,G),G}return typeof D.then=="function"||D instanceof Error||z.WeakMap&&D instanceof z.WeakMap||z.WeakSet&&D instanceof z.WeakSet?D:Y(D,z,U,Q)};return U(N,h())}return C.default=C,C.strict=function(I,j){return C(I,{isStrict:!0,realm:j?j.realm:void 0})},C})}(Of)),Of.exports}var mi={},yi={exports:{}},Ey;function Qx(){return Ey||(Ey=1,function(e,t){t=e.exports=r,t.getSerialize=n;function r(a,o,s,i){return JSON.stringify(a,n(o,i),s)}function n(a,o){var s=[],i=[];return o==null&&(o=function(l,u){return s[0]===u?"[Circular ~]":"[Circular ~."+i.slice(0,s.indexOf(u)).join(".")+"]"}),function(l,u){if(s.length>0){var c=s.indexOf(this);~c?s.splice(c+1):s.push(this),~c?i.splice(c,1/0,l):i.push(l),~s.indexOf(u)&&(u=o.call(this,l,u))}else s.push(u);return a==null?u:a.call(this,l,u)}}}(yi,yi.exports)),yi.exports}var _y;function JE(){if(_y)return mi;_y=1,Object.defineProperty(mi,"__esModule",{value:!0}),mi.default=r;var e=t(Qx());function t(n){return n&&n.__esModule?n:{default:n}}function r(n){return Object.defineProperty(n,"stringifySafe",{enumerable:!1,configurable:!1,writable:!1,value:function(){let a=arguments.length>0&&arguments[0]!==void 0?arguments[0]:null,o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";return(0,e.default)(this,a,o,(s,i)=>({sys:{type:"Link",linkType:"Entry",id:i.sys.id,circular:!0}}))}})}return mi}var Jx=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Zx=function(){function e(t,r){var n=[],a=!0,o=!1,s=void 0;try{for(var i=t[Symbol.iterator](),l;!(a=(l=i.next()).done)&&(n.push(l.value),!(r&&n.length===r));a=!0);}catch(u){o=!0,s=u}finally{try{!a&&i.return&&i.return()}finally{if(o)throw s}}return n}return function(t,r){if(Array.isArray(t))return t;if(Symbol.iterator in Object(t))return e(t,r);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}();function Ya(e){if(Array.isArray(e)){for(var t=0,r=Array(e.length);t<e.length;t++)r[t]=e[t];return r}else return Array.from(e)}var Ro={},eP=function(t){return t&&t.sys&&t.sys.type==="Link"},tP=function(t){return t&&t.sys&&t.sys.type==="ResourceLink"},rP=function(t){return t.space&&t.environment?[t.type+"!"+t.id,t.space.sys.id+"!"+t.environment.sys.id+"!"+t.type+"!"+t.id]:[t.type+"!"+t.id]},wy=function(t,r){var n=r.entryId,a=r.linkType,o=r.spaceId,s=r.environmentId;return o&&s?t.get(o+"!"+s+"!"+a+"!"+n):t.get(a+"!"+n)},nP=function(t){var r=/.*:spaces\/([^/]+)(?:\/environments\/([^/]+))?\/entries\/([^/]+)$/;if(r.test(t)){var n=t.match(r),a=Zx(n,4);a[0];var o=a[1],s=a[2],i=s===void 0?"master":s,l=a[3];return{spaceId:o,environmentId:i,entryId:l}}},aP=function(t,r){var n=r.sys,a=n.type,o=n.linkType;if(a==="ResourceLink"){var s=r.sys.urn,i=nP(s),l=i.spaceId,u=i.environmentId,c=i.entryId,p=o.split(":")[1];return wy(t,{linkType:p,entryId:c,spaceId:l,environmentId:u})||Ro}var d=r.sys.id;return wy(t,{linkType:o,entryId:d})||Ro},oP=function(t){if(Array.isArray(t))return t.filter(function(n){return n!==Ro});for(var r in t)t[r]===Ro&&delete t[r];return t},iP=function e(t,r,n,a){if(r(t))return n(t);if(t&&(typeof t>"u"?"undefined":Jx(t))==="object"){for(var o in t)t.hasOwnProperty(o)&&(t[o]=e(t[o],r,n,a));a&&(t=oP(t))}return t},sP=function(t,r,n){var a=aP(t,r);return a===Ro?n?a:r:a},lP=function(t,r){if(!Array.isArray(r))return t;var n=Object.keys(t).filter(function(a){return r.indexOf(a)!==-1});return n.reduce(function(a,o){return a[o]=t[o],a},{})},uP=function(t,r){if(r=r||{},!t.items)return[];var n=Kr(t),a=Object.keys(n.includes||{}).reduce(function(i,l){return[].concat(Ya(i),Ya(t.includes[l]))},[]),o=[].concat(Ya(n.items),Ya(a)).filter(function(i){return!!i.sys}),s=new Map(o.reduce(function(i,l){var u=rP(l.sys).map(function(c){return[c,l]});return i.push.apply(i,Ya(u)),i},[]));return o.forEach(function(i){var l=lP(i,r.itemEntryPoints);Object.assign(i,iP(l,function(u){return eP(u)||tP(u)},function(u){return sP(s,u,r.removeUnresolved)},r.removeUnresolved))}),n.items};const cP=Object.freeze(Object.defineProperty({__proto__:null,default:uP},Symbol.toStringTag,{value:"Module"})),ZE=qo(cP);var Ty;function fP(){if(Ty)return za;Ty=1,Object.defineProperty(za,"__esModule",{value:!0}),za.wrapEntry=o,za.wrapEntryCollection=s;var e=a(wa()),t=or,r=a(JE()),n=a(ZE);function a(i){return i&&i.__esModule?i:{default:i}}function o(i){return(0,t.freezeSys)((0,t.toPlainObject)((0,e.default)(i)))}function s(i,l){let{resolveLinks:u,removeUnresolved:c}=l;const p=(0,r.default)((0,t.toPlainObject)((0,e.default)(i)));return u&&(p.items=(0,n.default)(p,{removeUnresolved:c,itemEntryPoints:["fields"]})),(0,t.freezeSys)(p)}return za}var Ka={},Sy;function dP(){if(Sy)return Ka;Sy=1,Object.defineProperty(Ka,"__esModule",{value:!0}),Ka.wrapAsset=n,Ka.wrapAssetCollection=a;var e=r(wa()),t=or;function r(o){return o&&o.__esModule?o:{default:o}}function n(o){return(0,t.freezeSys)((0,t.toPlainObject)((0,e.default)(o)))}function a(o){return(0,t.freezeSys)((0,t.toPlainObject)((0,e.default)(o)))}return Ka}var vi={},Ry;function pP(){if(Ry)return vi;Ry=1,Object.defineProperty(vi,"__esModule",{value:!0}),vi.wrapAssetKey=n;var e=r(wa()),t=or;function r(a){return a&&a.__esModule?a:{default:a}}function n(a){return(0,t.freezeSys)((0,t.toPlainObject)((0,e.default)(a)))}return vi}var Xa={},Cy;function hP(){if(Cy)return Xa;Cy=1,Object.defineProperty(Xa,"__esModule",{value:!0}),Xa.wrapContentType=n,Xa.wrapContentTypeCollection=a;var e=r(wa()),t=or;function r(o){return o&&o.__esModule?o:{default:o}}function n(o){return(0,t.freezeSys)((0,t.toPlainObject)((0,e.default)(o)))}function a(o){return(0,t.freezeSys)((0,t.toPlainObject)((0,e.default)(o)))}return Xa}var Qa={},Oy;function mP(){if(Oy)return Qa;Oy=1,Object.defineProperty(Qa,"__esModule",{value:!0}),Qa.wrapLocale=n,Qa.wrapLocaleCollection=a;var e=r(wa()),t=or;function r(o){return o&&o.__esModule?o:{default:o}}function n(o){return(0,t.freezeSys)((0,t.toPlainObject)((0,e.default)(o)))}function a(o){return(0,t.freezeSys)((0,t.toPlainObject)((0,e.default)(o)))}return Qa}var Ja={},xy;function yP(){if(xy)return Ja;xy=1,Object.defineProperty(Ja,"__esModule",{value:!0}),Ja.wrapTag=n,Ja.wrapTagCollection=a;var e=r(wa()),t=or;function r(o){return o&&o.__esModule?o:{default:o}}function n(o){return(0,t.freezeSys)((0,t.toPlainObject)((0,e.default)(o)))}function a(o){return(0,t.freezeSys)((0,t.toPlainObject)((0,e.default)(o)))}return Ja}var Py;function vP(){if(Py)return Va;Py=1,Object.defineProperty(Va,"__esModule",{value:!0}),Va.default=void 0;var e=l(Xx()),t=l(fP()),r=l(dP()),n=l(pP()),a=l(hP()),o=l(mP()),s=l(yP());function i(c){if(typeof WeakMap!="function")return null;var p=new WeakMap,d=new WeakMap;return(i=function(f){return f?d:p})(c)}function l(c,p){if(!p&&c&&c.__esModule)return c;if(c===null||typeof c!="object"&&typeof c!="function")return{default:c};var d=i(p);if(d&&d.has(c))return d.get(c);var f={},h=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var m in c)if(m!=="default"&&Object.prototype.hasOwnProperty.call(c,m)){var _=h?Object.getOwnPropertyDescriptor(c,m):null;_&&(_.get||_.set)?Object.defineProperty(f,m,_):f[m]=c[m]}return f.default=c,d&&d.set(c,f),f}var u={space:e,entry:t,asset:r,assetKey:n,contentType:a,locale:o,tag:s};return Va.default=u,Va}var gi={},Ay;function gP(){if(Ay)return gi;Ay=1,Object.defineProperty(gi,"__esModule",{value:!0}),gi.default=i;var e=or,t=n(ZE),r=n(JE());function n(p){return p&&p.__esModule?p:{default:p}}function a(p,d){var f=Object.keys(p);if(Object.getOwnPropertySymbols){var h=Object.getOwnPropertySymbols(p);d&&(h=h.filter(function(m){return Object.getOwnPropertyDescriptor(p,m).enumerable})),f.push.apply(f,h)}return f}function o(p){for(var d=1;d<arguments.length;d++){var f=arguments[d]!=null?arguments[d]:{};d%2?a(Object(f),!0).forEach(function(h){s(p,h,f[h])}):Object.getOwnPropertyDescriptors?Object.defineProperties(p,Object.getOwnPropertyDescriptors(f)):a(Object(f)).forEach(function(h){Object.defineProperty(p,h,Object.getOwnPropertyDescriptor(f,h))})}return p}function s(p,d,f){return d in p?Object.defineProperty(p,d,{value:f,enumerable:!0,configurable:!0,writable:!0}):p[d]=f,p}async function i(p,d){let f=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};if(!d||!d.initial&&!d.nextSyncToken&&!d.nextPageToken)throw new Error("Please provide one of `initial`, `nextSyncToken` or `nextPageToken` parameters for syncing");if(d&&d.content_type&&!d.type)d.type="Entry";else if(d&&d.content_type&&d.type&&d.type!=="Entry")throw new Error("When using the `content_type` filter your `type` parameter cannot be different from `Entry`.");const h={resolveLinks:!0,removeUnresolved:!1,paginate:!0},{resolveLinks:m,removeUnresolved:_,paginate:b}=o(o({},h),f),w=await u(p,[],d,{paginate:b});m&&(w.items=(0,t.default)(w,{removeUnresolved:_,itemEntryPoints:["fields"]}));const R=l(w.items);return w.nextSyncToken&&(R.nextSyncToken=w.nextSyncToken),w.nextPageToken&&(R.nextPageToken=w.nextPageToken),(0,e.freezeSys)((0,r.default)((0,e.toPlainObject)(R)))}function l(p){const d=f=>(h,m)=>(m.sys.type===f&&h.push((0,e.toPlainObject)(m)),h);return{entries:p.reduce(d("Entry"),[]),assets:p.reduce(d("Asset"),[]),deletedEntries:p.reduce(d("DeletedEntry"),[]),deletedAssets:p.reduce(d("DeletedAsset"),[])}}async function u(p,d,f,h){let{paginate:m}=h;f.nextSyncToken&&(f.sync_token=f.nextSyncToken,delete f.nextSyncToken),f.nextPageToken&&(f.sync_token=f.nextPageToken,delete f.nextPageToken),f.sync_token&&(delete f.initial,delete f.type,delete f.content_type,delete f.limit);const b=(await p.get("sync",(0,e.createRequestConfig)({query:f}))).data||{};return d=d.concat(b.items||[]),b.nextPageUrl?m?(delete f.initial,f.sync_token=c(b.nextPageUrl),u(p,d,f,{paginate:m})):{items:d,nextPageToken:c(b.nextPageUrl)}:b.nextSyncUrl?{items:d,nextSyncToken:c(b.nextSyncUrl)}:{items:[]}}function c(p){const d=p.split("?");return d.length>0?d[1].replace("sync_token=",""):""}return gi}var bi={},Iy;function bP(){if(Iy)return bi;Iy=1,Object.defineProperty(bi,"__esModule",{value:!0}),bi.default=n;function e(a,o){var s=Object.keys(a);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(a);o&&(i=i.filter(function(l){return Object.getOwnPropertyDescriptor(a,l).enumerable})),s.push.apply(s,i)}return s}function t(a){for(var o=1;o<arguments.length;o++){var s=arguments[o]!=null?arguments[o]:{};o%2?e(Object(s),!0).forEach(function(i){r(a,i,s[i])}):Object.getOwnPropertyDescriptors?Object.defineProperties(a,Object.getOwnPropertyDescriptors(s)):e(Object(s)).forEach(function(i){Object.defineProperty(a,i,Object.getOwnPropertyDescriptor(s,i))})}return a}function r(a,o,s){return o in a?Object.defineProperty(a,o,{value:s,enumerable:!0,configurable:!0,writable:!0}):a[o]=s,a}function n(a){if(!a.select)return a;const o=Array.isArray(a.select)?a.select:a.select.split(","),s=new Set(o);return s.has("sys")?a:(s.add("sys.id"),s.add("sys.type"),t(t({},a),{},{select:[...s].join(",")}))}return bi}var Zn={},Ny;function EP(){if(Ny)return Zn;Ny=1,Object.defineProperty(Zn,"__esModule",{value:!0}),Zn.ValidationError=void 0,Zn.default=t;class e extends Error{constructor(n,a){super(`Invalid "${n}" provided, `+a),this.name="ValidationError"}}Zn.ValidationError=e;function t(r,n,a){if(a=a||{},typeof n!="number")throw new e(r,`only numeric values are allowed for timestamps, provided type was "${typeof n}"`);if(a.maximum&&n>a.maximum)throw new e(r,`value (${n}) cannot be further in the future than expected maximum (${a.maximum})`);if(a.now&&n<a.now)throw new e(r,`value (${n}) cannot be in the past, current time was ${a.now}`)}return Zn}var My;function _P(){if(My)return pi;My=1,Object.defineProperty(pi,"__esModule",{value:!0}),pi.default=c;var e=or,t=o(vP()),r=o(gP()),n=o(bP()),a=o(EP());function o(p){return p&&p.__esModule?p:{default:p}}function s(p,d){var f=Object.keys(p);if(Object.getOwnPropertySymbols){var h=Object.getOwnPropertySymbols(p);d&&(h=h.filter(function(m){return Object.getOwnPropertyDescriptor(p,m).enumerable})),f.push.apply(f,h)}return f}function i(p){for(var d=1;d<arguments.length;d++){var f=arguments[d]!=null?arguments[d]:{};d%2?s(Object(f),!0).forEach(function(h){l(p,h,f[h])}):Object.getOwnPropertyDescriptors?Object.defineProperties(p,Object.getOwnPropertyDescriptors(f)):s(Object(f)).forEach(function(h){Object.defineProperty(p,h,Object.getOwnPropertyDescriptor(f,h))})}return p}function l(p,d,f){return d in p?Object.defineProperty(p,d,{value:f,enumerable:!0,configurable:!0,writable:!0}):p[d]=f,p}const u=48*60*60;function c(p){let{http:d,getGlobalOptions:f}=p;const{wrapSpace:h}=t.default.space,{wrapContentType:m,wrapContentTypeCollection:_}=t.default.contentType,{wrapEntry:b,wrapEntryCollection:v}=t.default.entry,{wrapAsset:w,wrapAssetCollection:R}=t.default.asset,{wrapTag:T,wrapTagCollection:C}=t.default.tag,{wrapAssetKey:N}=t.default.assetKey,{wrapLocaleCollection:I}=t.default.locale,j=ie=>{const le=new Error("The resource could not be found.");return le.sys={type:"Error",id:"NotFound"},le.details={type:"Entry",id:ie,environment:f().environment,space:f().space},le};async function z(){Ge(d);try{const ie=await d.get("/");return h(ie.data)}catch(ie){(0,e.errorHandler)(ie)}}async function Y(ie){ge(d);try{const le=await d.get(`content_types/${ie}`);return m(le.data)}catch(le){(0,e.errorHandler)(le)}}async function U(){let ie=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};ge(d);try{const le=await d.get("content_types",(0,e.createRequestConfig)({query:ie}));return _(le.data)}catch(le){(0,e.errorHandler)(le)}}async function D(ie){let le=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(!ie)throw j(ie);try{const xe=await this.getEntries(i({"sys.id":ie},le));if(xe.items.length>0)return b(xe.items[0]);throw j(ie)}catch(xe){(0,e.errorHandler)(xe)}}async function Q(){let ie=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};ge(d);const{resolveLinks:le,removeUnresolved:xe}=f(ie);ie=(0,n.default)(ie);try{const Be=await d.get("entries",(0,e.createRequestConfig)({query:ie}));return v(Be.data,{resolveLinks:le,removeUnresolved:xe})}catch(Be){(0,e.errorHandler)(Be)}}async function J(ie){let le=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};ge(d),le=(0,n.default)(le);try{const xe=await d.get(`assets/${ie}`,(0,e.createRequestConfig)({query:le}));return w(xe.data)}catch(xe){(0,e.errorHandler)(xe)}}async function k(){let ie=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};ge(d),ie=(0,n.default)(ie);try{const le=await d.get("assets",(0,e.createRequestConfig)({query:ie}));return R(le.data)}catch(le){(0,e.errorHandler)(le)}}async function G(ie){ge(d);try{const le=await d.get(`tags/${ie}`);return T(le.data)}catch(le){(0,e.errorHandler)(le)}}async function Z(){let ie=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};ge(d),ie=(0,n.default)(ie);try{const le=await d.get("tags",(0,e.createRequestConfig)({query:ie}));return C(le.data)}catch(le){(0,e.errorHandler)(le)}}async function ve(ie){ge(d);try{const le=Math.floor(Date.now()/1e3),xe=le+u;(0,a.default)("expiresAt",ie,{maximum:xe,now:le});const Be={expiresAt:ie},at=await d.post("asset_keys",Be);return N(at.data)}catch(le){(0,e.errorHandler)(le)}}async function ee(){let ie=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};ge(d);try{const le=await d.get("locales",(0,e.createRequestConfig)({query:ie}));return I(le.data)}catch(le){(0,e.errorHandler)(le)}}async function ne(){let ie=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},le=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{paginate:!0};const{resolveLinks:xe,removeUnresolved:Be}=f(ie);return ge(d),(0,r.default)(d,ie,i({resolveLinks:xe,removeUnresolved:Be},le))}function me(ie){const{resolveLinks:le,removeUnresolved:xe}=f({});return v(ie,{resolveLinks:le,removeUnresolved:xe})}function ge(ie){ie.defaults.baseURL=f().environmentBaseUrl}function Ge(ie){ie.defaults.baseURL=f().spaceBaseUrl}return{getSpace:z,getContentType:Y,getContentTypes:U,getEntry:D,getEntries:Q,getAsset:J,getAssets:k,getTag:G,getTags:Z,createAssetKey:ve,getLocales:ee,parseEntries:me,sync:ne}}return pi}var Ei={},ky;function wP(){if(ky)return Ei;ky=1,Object.defineProperty(Ei,"__esModule",{value:!0}),Ei.default=e;function e(t){return function(n){return Object.assign({},t,n)}}return Ei}var $y;function TP(){if($y)return si;$y=1,Object.defineProperty(si,"__esModule",{value:!0}),si.createClient=l;var e=a(CE()),t=or,r=a(_P()),n=a(wP());function a(u){return u&&u.__esModule?u:{default:u}}function o(u,c){var p=Object.keys(u);if(Object.getOwnPropertySymbols){var d=Object.getOwnPropertySymbols(u);c&&(d=d.filter(function(f){return Object.getOwnPropertyDescriptor(u,f).enumerable})),p.push.apply(p,d)}return p}function s(u){for(var c=1;c<arguments.length;c++){var p=arguments[c]!=null?arguments[c]:{};c%2?o(Object(p),!0).forEach(function(d){i(u,d,p[d])}):Object.getOwnPropertyDescriptors?Object.defineProperties(u,Object.getOwnPropertyDescriptors(p)):o(Object(p)).forEach(function(d){Object.defineProperty(u,d,Object.getOwnPropertyDescriptor(p,d))})}return u}function i(u,c,p){return c in u?Object.defineProperty(u,c,{value:p,enumerable:!0,configurable:!0,writable:!0}):u[c]=p,u}function l(u){if(!u.accessToken)throw new TypeError("Expected parameter accessToken");if(!u.space)throw new TypeError("Expected parameter space");const p=s(s({},{resolveLinks:!0,removeUnresolved:!1,defaultHostname:"cdn.contentful.com",environment:"master"}),u),d=(0,t.getUserAgentHeader)("contentful.js/9.1.34",p.application,p.integration);p.headers=s(s({},p.headers),{},{"Content-Type":"application/vnd.contentful.delivery.v1+json","X-Contentful-User-Agent":d});const f=(0,t.createHttpClient)(e.default,p),h=(0,n.default)({resolveLinks:p.resolveLinks,environment:p.environment,removeUnresolved:p.removeUnresolved,spaceBaseUrl:f.defaults.baseURL,environmentBaseUrl:`${f.defaults.baseURL}environments/${p.environment}`});return f.defaults.baseURL=h().environmentBaseUrl,(0,r.default)({http:f,getGlobalOptions:h})}return si}var xf={},Pf,Ly;function SP(){return Ly||(Ly=1,Pf=e=>encodeURIComponent(e).replace(/[!'()*]/g,t=>`%${t.charCodeAt(0).toString(16).toUpperCase()}`)),Pf}var Af,By;function RP(){if(By)return Af;By=1;var e="%[a-f0-9]{2}",t=new RegExp("("+e+")|([^%]+?)","gi"),r=new RegExp("("+e+")+","gi");function n(s,i){try{return[decodeURIComponent(s.join(""))]}catch{}if(s.length===1)return s;i=i||1;var l=s.slice(0,i),u=s.slice(i);return Array.prototype.concat.call([],n(l),n(u))}function a(s){try{return decodeURIComponent(s)}catch{for(var i=s.match(t)||[],l=1;l<i.length;l++)s=n(i,l).join(""),i=s.match(t)||[];return s}}function o(s){for(var i={"%FE%FF":"��","%FF%FE":"��"},l=r.exec(s);l;){try{i[l[0]]=decodeURIComponent(l[0])}catch{var u=a(l[0]);u!==l[0]&&(i[l[0]]=u)}l=r.exec(s)}i["%C2"]="�";for(var c=Object.keys(i),p=0;p<c.length;p++){var d=c[p];s=s.replace(new RegExp(d,"g"),i[d])}return s}return Af=function(s){if(typeof s!="string")throw new TypeError("Expected `encodedURI` to be of type `string`, got `"+typeof s+"`");try{return s=s.replace(/\+/g," "),decodeURIComponent(s)}catch{return o(s)}},Af}var If,qy;function CP(){return qy||(qy=1,If=(e,t)=>{if(!(typeof e=="string"&&typeof t=="string"))throw new TypeError("Expected the arguments to be of type `string`");if(t==="")return[e];const r=e.indexOf(t);return r===-1?[e]:[e.slice(0,r),e.slice(r+t.length)]}),If}var Nf,Dy;function OP(){return Dy||(Dy=1,Nf=function(e,t){for(var r={},n=Object.keys(e),a=Array.isArray(t),o=0;o<n.length;o++){var s=n[o],i=e[s];(a?t.indexOf(s)!==-1:t(s,i,e))&&(r[s]=i)}return r}),Nf}var Fy;function xP(){return Fy||(Fy=1,function(e){const t=SP(),r=RP(),n=CP(),a=OP(),o=v=>v==null,s=Symbol("encodeFragmentIdentifier");function i(v){switch(v.arrayFormat){case"index":return w=>(R,T)=>{const C=R.length;return T===void 0||v.skipNull&&T===null||v.skipEmptyString&&T===""?R:T===null?[...R,[c(w,v),"[",C,"]"].join("")]:[...R,[c(w,v),"[",c(C,v),"]=",c(T,v)].join("")]};case"bracket":return w=>(R,T)=>T===void 0||v.skipNull&&T===null||v.skipEmptyString&&T===""?R:T===null?[...R,[c(w,v),"[]"].join("")]:[...R,[c(w,v),"[]=",c(T,v)].join("")];case"colon-list-separator":return w=>(R,T)=>T===void 0||v.skipNull&&T===null||v.skipEmptyString&&T===""?R:T===null?[...R,[c(w,v),":list="].join("")]:[...R,[c(w,v),":list=",c(T,v)].join("")];case"comma":case"separator":case"bracket-separator":{const w=v.arrayFormat==="bracket-separator"?"[]=":"=";return R=>(T,C)=>C===void 0||v.skipNull&&C===null||v.skipEmptyString&&C===""?T:(C=C===null?"":C,T.length===0?[[c(R,v),w,c(C,v)].join("")]:[[T,c(C,v)].join(v.arrayFormatSeparator)])}default:return w=>(R,T)=>T===void 0||v.skipNull&&T===null||v.skipEmptyString&&T===""?R:T===null?[...R,c(w,v)]:[...R,[c(w,v),"=",c(T,v)].join("")]}}function l(v){let w;switch(v.arrayFormat){case"index":return(R,T,C)=>{if(w=/\[(\d*)\]$/.exec(R),R=R.replace(/\[\d*\]$/,""),!w){C[R]=T;return}C[R]===void 0&&(C[R]={}),C[R][w[1]]=T};case"bracket":return(R,T,C)=>{if(w=/(\[\])$/.exec(R),R=R.replace(/\[\]$/,""),!w){C[R]=T;return}if(C[R]===void 0){C[R]=[T];return}C[R]=[].concat(C[R],T)};case"colon-list-separator":return(R,T,C)=>{if(w=/(:list)$/.exec(R),R=R.replace(/:list$/,""),!w){C[R]=T;return}if(C[R]===void 0){C[R]=[T];return}C[R]=[].concat(C[R],T)};case"comma":case"separator":return(R,T,C)=>{const N=typeof T=="string"&&T.includes(v.arrayFormatSeparator),I=typeof T=="string"&&!N&&p(T,v).includes(v.arrayFormatSeparator);T=I?p(T,v):T;const j=N||I?T.split(v.arrayFormatSeparator).map(z=>p(z,v)):T===null?T:p(T,v);C[R]=j};case"bracket-separator":return(R,T,C)=>{const N=/(\[\])$/.test(R);if(R=R.replace(/\[\]$/,""),!N){C[R]=T&&p(T,v);return}const I=T===null?[]:T.split(v.arrayFormatSeparator).map(j=>p(j,v));if(C[R]===void 0){C[R]=I;return}C[R]=[].concat(C[R],I)};default:return(R,T,C)=>{if(C[R]===void 0){C[R]=T;return}C[R]=[].concat(C[R],T)}}}function u(v){if(typeof v!="string"||v.length!==1)throw new TypeError("arrayFormatSeparator must be single character string")}function c(v,w){return w.encode?w.strict?t(v):encodeURIComponent(v):v}function p(v,w){return w.decode?r(v):v}function d(v){return Array.isArray(v)?v.sort():typeof v=="object"?d(Object.keys(v)).sort((w,R)=>Number(w)-Number(R)).map(w=>v[w]):v}function f(v){const w=v.indexOf("#");return w!==-1&&(v=v.slice(0,w)),v}function h(v){let w="";const R=v.indexOf("#");return R!==-1&&(w=v.slice(R)),w}function m(v){v=f(v);const w=v.indexOf("?");return w===-1?"":v.slice(w+1)}function _(v,w){return w.parseNumbers&&!Number.isNaN(Number(v))&&typeof v=="string"&&v.trim()!==""?v=Number(v):w.parseBooleans&&v!==null&&(v.toLowerCase()==="true"||v.toLowerCase()==="false")&&(v=v.toLowerCase()==="true"),v}function b(v,w){w=Object.assign({decode:!0,sort:!0,arrayFormat:"none",arrayFormatSeparator:",",parseNumbers:!1,parseBooleans:!1},w),u(w.arrayFormatSeparator);const R=l(w),T=Object.create(null);if(typeof v!="string"||(v=v.trim().replace(/^[?#&]/,""),!v))return T;for(const C of v.split("&")){if(C==="")continue;let[N,I]=n(w.decode?C.replace(/\+/g," "):C,"=");I=I===void 0?null:["comma","separator","bracket-separator"].includes(w.arrayFormat)?I:p(I,w),R(p(N,w),I,T)}for(const C of Object.keys(T)){const N=T[C];if(typeof N=="object"&&N!==null)for(const I of Object.keys(N))N[I]=_(N[I],w);else T[C]=_(N,w)}return w.sort===!1?T:(w.sort===!0?Object.keys(T).sort():Object.keys(T).sort(w.sort)).reduce((C,N)=>{const I=T[N];return I&&typeof I=="object"&&!Array.isArray(I)?C[N]=d(I):C[N]=I,C},Object.create(null))}e.extract=m,e.parse=b,e.stringify=(v,w)=>{if(!v)return"";w=Object.assign({encode:!0,strict:!0,arrayFormat:"none",arrayFormatSeparator:","},w),u(w.arrayFormatSeparator);const R=I=>w.skipNull&&o(v[I])||w.skipEmptyString&&v[I]==="",T=i(w),C={};for(const I of Object.keys(v))R(I)||(C[I]=v[I]);const N=Object.keys(C);return w.sort!==!1&&N.sort(w.sort),N.map(I=>{const j=v[I];return j===void 0?"":j===null?c(I,w):Array.isArray(j)?j.length===0&&w.arrayFormat==="bracket-separator"?c(I,w)+"[]":j.reduce(T(I),[]).join("&"):c(I,w)+"="+c(j,w)}).filter(I=>I.length>0).join("&")},e.parseUrl=(v,w)=>{w=Object.assign({decode:!0},w);const[R,T]=n(v,"#");return Object.assign({url:R.split("?")[0]||"",query:b(m(v),w)},w&&w.parseFragmentIdentifier&&T?{fragmentIdentifier:p(T,w)}:{})},e.stringifyUrl=(v,w)=>{w=Object.assign({encode:!0,strict:!0,[s]:!0},w);const R=f(v.url).split("?")[0]||"",T=e.extract(v.url),C=e.parse(T,{sort:!1}),N=Object.assign(C,v.query);let I=e.stringify(N,w);I&&(I=`?${I}`);let j=h(v.url);return v.fragmentIdentifier&&(j=`#${w[s]?c(v.fragmentIdentifier,w):v.fragmentIdentifier}`),`${R}${I}${j}`},e.pick=(v,w,R)=>{R=Object.assign({parseFragmentIdentifier:!0,[s]:!1},R);const{url:T,query:C,fragmentIdentifier:N}=e.parseUrl(v,R);return e.stringifyUrl({url:T,query:a(C,w),fragmentIdentifier:N},R)},e.exclude=(v,w,R)=>{const T=Array.isArray(w)?C=>!w.includes(C):(C,N)=>!w(C,N);return e.pick(v,T,R)}}(xf)),xf}var Uy;function PP(){return Uy||(Uy=1,function(e,t){(function(r,n){e.exports=n(TP(),xP())})(be,function(r,n){return function(){var a={897:function(l){l.exports=r},48:function(l){l.exports=n}},o={};function s(l){var u=o[l];if(u!==void 0)return u.exports;var c=o[l]={exports:{}};return a[l](c,c.exports,s),c.exports}s.d=function(l,u){for(var c in u)s.o(u,c)&&!s.o(l,c)&&Object.defineProperty(l,c,{enumerable:!0,get:u[c]})},s.o=function(l,u){return Object.prototype.hasOwnProperty.call(l,u)},s.r=function(l){typeof Symbol<"u"&&Symbol.toStringTag&&Object.defineProperty(l,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(l,"__esModule",{value:!0})};var i={};return function(){s.r(i),s.d(i,{getEntries:function(){return Q},getEntry:function(){return D},setContext:function(){return m}});var l=s(897),u=s(48),c={CONTENTFUL:{ENVIRONMENTS_MAPING:{beta:"beta",rc:"rc",live:"master",local:"beta"},LOCALES:{DEFAULT:"en",SUPPORTED:["en","es","fr","pt"]},SPACE:"txbhe1wabmyx",HOSTS:{CDN:"cdn.contentful.com",PREVIEW:"preview.contentful.com"}}};const{CONTENTFUL:{ENVIRONMENTS_MAPING:p,SPACE:d,HOSTS:f}}=c;let h={apiKey:null,previewKey:null,environment:null,isPreview:!1,host:f.CDN,space:d};const m=({apiKey:J,environment:k,isPreview:G=!1,location:Z,previewKey:ve,space:ee=null})=>{h.apiKey=J,h.previewKey=ve,h.environment=(ne=>{if(!ne)throw new Error("Cannot map environment: Environment not defined");if(!p[ne])throw new Error(`Cannot map environment: No mapping found for environment ${ne}`);return p[ne]})(k),h.isPreview=G||(ne=>{let me=!1;if(ne&&ne.search){const ge=(0,u.parse)(ne.search);me=ge.isPreview&&ge.isPreview==="true"}return me})(Z),h.space=ee||d},_=(J=!1)=>{const{apiKey:k,environment:G,isPreview:Z,previewKey:ve,space:ee}=h;return Z===!0||J===!0?{accessToken:ve,environment:G,host:f.PREVIEW,space:ee}:{accessToken:k,environment:G,host:f.CDN,space:ee}},b=J=>typeof J=="object"&&J!==null,v=J=>Array.isArray(J)&&J.length,w=J=>{if(!b(J))throw new Error("Cannot flatten fields");const{fields:k,sys:G}=J;if(!k)throw new Error("Cannot flatten fields");let Z={...k};if(b(G)){const{contentType:ve,createdAt:ee,updatedAt:ne}=G;ve&&Object.assign(Z,{contentType:ve.sys.id}),ee&&Object.assign(Z,{createdAt:ee}),ne&&Object.assign(Z,{updatedAt:ne})}return Z},{CONTENTFUL:{LOCALES:R}}=c,T=(J,k)=>b(J)&&((G,Z)=>Object.prototype.hasOwnProperty.call(G,Z))(J,k),C=(J,k)=>{const G=(Z=>R.SUPPORTED.includes(Z)?Z:R.DEFAULT)(k);return T(J,G)?J[G]:T(J,R.DEFAULT)?J[R.DEFAULT]:J},N=J=>b(J)&&J.sys&&J.sys.type==="Asset",I=(J,k,G)=>{const{title:Z,file:ve}=w(J);if(!ve)throw new Error("Cannot flatten asset");const{contentType:ee,fileName:ne,url:me,details:ge}=C(ve,k);if(!me)throw new Error("Cannot flatten asset");return G?{description:Z||ne,height:ge&&ge.image&&ge.image.height,type:ee,url:me,width:ge&&ge.image&&ge.image.width}:me},j=J=>b(J)&&J.sys&&J.sys.type==="Entry",z=(J,k,G)=>{const Z={},ve=((ee,ne)=>{const me={};for(const[ge,Ge]of Object.entries(ee))me[ge]=C(Ge,ne);return me})(w(J),k);for(const[ee,ne]of Object.entries(ve))N(ne)?Z[ee]=I(ne,k,G):j(ne)?Z[ee]=z(ne,k,G):v(ne)?Z[ee]=ne.map(me=>N(me)?I(me,k,G):j(me)?z(me,k,G):me):Z[ee]=ne;return Z},Y=({items:J})=>{if(!v(J))throw new Error("Cannot read items");return J},U=async(J,k)=>{const G=_(k);return await(await(0,l.createClient)(G)).getEntries(J)},D=async(J={},k={},G=!1)=>((Z,{flatten:ve=!0,locale:ee="en",assetDetails:ne=!1})=>{const me=Y(Z);return ve?z(me[0],ee,ne):me[0]})(await U(J,G),{...J,...k}),Q=async(J={},k={},G=!1)=>((Z,{flatten:ve=!0,locale:ee="en",assetDetails:ne=!1})=>{const me=Y(Z);return ve?((ge,Ge,ie)=>ge.map(le=>z(le,Ge,ie)))(me,ee,ne):me})(await U(J,G),{...J,...k})}(),i}()})}(Lc)),Lc.exports}var Mf={exports:{}},kf={exports:{}},$f={exports:{}},Lf={exports:{}},jy;function _h(){return jy||(jy=1,function(e,t){(function(r,n){e.exports=n()})(be,function(){function r(m){return!isNaN(parseFloat(m))&&isFinite(m)}function n(m){return m.charAt(0).toUpperCase()+m.substring(1)}function a(m){return function(){return this[m]}}var o=["isConstructor","isEval","isNative","isToplevel"],s=["columnNumber","lineNumber"],i=["fileName","functionName","source"],l=["args"],u=["evalOrigin"],c=o.concat(s,i,l,u);function p(m){if(m)for(var _=0;_<c.length;_++)m[c[_]]!==void 0&&this["set"+n(c[_])](m[c[_]])}p.prototype={getArgs:function(){return this.args},setArgs:function(m){if(Object.prototype.toString.call(m)!=="[object Array]")throw new TypeError("Args must be an Array");this.args=m},getEvalOrigin:function(){return this.evalOrigin},setEvalOrigin:function(m){if(m instanceof p)this.evalOrigin=m;else if(m instanceof Object)this.evalOrigin=new p(m);else throw new TypeError("Eval Origin must be an Object or StackFrame")},toString:function(){var m=this.getFileName()||"",_=this.getLineNumber()||"",b=this.getColumnNumber()||"",v=this.getFunctionName()||"";return this.getIsEval()?m?"[eval] ("+m+":"+_+":"+b+")":"[eval]:"+_+":"+b:v?v+" ("+m+":"+_+":"+b+")":m+":"+_+":"+b}},p.fromString=function(_){var b=_.indexOf("("),v=_.lastIndexOf(")"),w=_.substring(0,b),R=_.substring(b+1,v).split(","),T=_.substring(v+1);if(T.indexOf("@")===0)var C=/@(.+?)(?::(\d+))?(?::(\d+))?$/.exec(T,""),N=C[1],I=C[2],j=C[3];return new p({functionName:w,args:R||void 0,fileName:N,lineNumber:I||void 0,columnNumber:j||void 0})};for(var d=0;d<o.length;d++)p.prototype["get"+n(o[d])]=a(o[d]),p.prototype["set"+n(o[d])]=function(m){return function(_){this[m]=!!_}}(o[d]);for(var f=0;f<s.length;f++)p.prototype["get"+n(s[f])]=a(s[f]),p.prototype["set"+n(s[f])]=function(m){return function(_){if(!r(_))throw new TypeError(m+" must be a Number");this[m]=Number(_)}}(s[f]);for(var h=0;h<i.length;h++)p.prototype["get"+n(i[h])]=a(i[h]),p.prototype["set"+n(i[h])]=function(m){return function(_){this[m]=String(_)}}(i[h]);return p})}(Lf)),Lf.exports}var Hy;function AP(){return Hy||(Hy=1,function(e,t){(function(r,n){e.exports=n(_h())})(be,function(n){var a=/(^|@)\S+:\d+/,o=/^\s*at .*(\S+:\d+|\(native\))/m,s=/^(eval@)?(\[native code])?$/;return{parse:function(l){if(typeof l.stacktrace<"u"||typeof l["opera#sourceloc"]<"u")return this.parseOpera(l);if(l.stack&&l.stack.match(o))return this.parseV8OrIE(l);if(l.stack)return this.parseFFOrSafari(l);throw new Error("Cannot parse given Error object")},extractLocation:function(l){if(l.indexOf(":")===-1)return[l];var u=/(.+?)(?::(\d+))?(?::(\d+))?$/,c=u.exec(l.replace(/[()]/g,""));return[c[1],c[2]||void 0,c[3]||void 0]},parseV8OrIE:function(l){var u=l.stack.split(`
34
+ `),r}return!0}function QE(e){var t=Object.getOwnPropertyNames(e),r=Px(t),n;try{for(r.s();!(n=r.n()).done;){var a=n.value,o=e[a];o&&np(o)==="object"&&QE(o)}}catch(s){r.e(s)}finally{r.f()}return Object.freeze(e)}function Gx(e){return QE(e.sys||{}),e}function vy(){var e=$x();if(!e)return null;var t=e.navigator.userAgent,r=e.navigator.platform,n=["Macintosh","MacIntel","MacPPC","Mac68K"],a=["Win32","Win64","Windows","WinCE"],o=["iPhone","iPad","iPod"];return n.indexOf(r)!==-1?"macOS":o.indexOf(r)!==-1?"iOS":a.indexOf(r)!==-1?"Windows":/Android/.test(t)?"Android":/Linux/.test(r)?"Linux":null}function Wx(){var e=process.platform||"linux",t=process.version||"0.0.0",r={android:"Android",aix:"Linux",darwin:"macOS",freebsd:"Linux",linux:"Linux",openbsd:"Linux",sunos:"Linux",win32:"Windows"};return e in r?"".concat(r[e]||"Linux","/").concat(t):null}function Vx(e,t,r,n){var a=[];t&&a.push("app ".concat(t)),r&&a.push("integration ".concat(r)),n&&a.push("feature "+n),a.push("sdk ".concat(e));var o=null;try{Mx()?(o=vy(),a.push("platform ReactNative")):Nx()?(o=Wx(),a.push("platform node.js/".concat(kx()))):(o=vy(),a.push("platform browser"))}catch{o=null}return o&&a.push("os ".concat(o)),"".concat(a.filter(function(s){return s!==""}).join("; "),";")}function zx(e){return Object.defineProperty(e,"toPlainObject",{enumerable:!1,configurable:!1,writable:!1,value:function(){return Kr(this)}})}function Yx(e){var t=e.config,r=e.response,n;if(t&&t.headers&&t.headers.Authorization){var a="...".concat(t.headers.Authorization.toString().substr(-5));t.headers.Authorization="Bearer ".concat(a)}if(!di(r)||!di(t))throw e;var o=r==null?void 0:r.data,s={status:r==null?void 0:r.status,statusText:r==null?void 0:r.statusText,message:"",details:{}};di(t)&&(s.request={url:t.url,headers:t.headers,method:t.method,payloadData:t.data}),o&&di(o)&&("requestId"in o&&(s.requestId=o.requestId||"UNKNOWN"),"message"in o&&(s.message=o.message||""),"details"in o&&(s.details=o.details||{}),"sys"in o&&"id"in o.sys&&(n=o.sys.id));var i=new Error;i.name=n&&n!=="Unknown"?n:"".concat(r==null?void 0:r.status," ").concat(r==null?void 0:r.statusText);try{i.message=JSON.stringify(s,null," ")}catch{var l;i.message=(l=s==null?void 0:s.message)!==null&&l!==void 0?l:""}throw i}const Kx=Object.freeze(Object.defineProperty({__proto__:null,createHttpClient:XE,createRequestConfig:jx,enforceObjPath:Hx,errorHandler:Yx,freezeSys:Gx,getUserAgentHeader:Vx,toPlainObject:zx},Symbol.toStringTag,{value:"Module"})),or=qo(Kx);var pi={},Wa={},hi={},gy;function Xx(){if(gy)return hi;gy=1,Object.defineProperty(hi,"__esModule",{value:!0}),hi.wrapSpace=t;var e=or;function t(r){return(0,e.freezeSys)((0,e.toPlainObject)(r))}return hi}var Va={},Of={exports:{}},by;function _a(){return by||(by=1,function(e,t){(function(r,n){e.exports=n()})(be,function(){var r=Function.prototype.toString,n=Object.create,a=Object.defineProperty,o=Object.getOwnPropertyDescriptor,s=Object.getOwnPropertyNames,i=Object.getOwnPropertySymbols,l=Object.getPrototypeOf,u=Object.prototype,c=u.hasOwnProperty,p=u.propertyIsEnumerable,d=typeof i=="function",f=typeof WeakMap=="function",h=function(){if(f)return function(){return new WeakMap};var N=function(){function I(){this._keys=[],this._values=[]}return I.prototype.has=function(j){return!!~this._keys.indexOf(j)},I.prototype.get=function(j){return this._values[this._keys.indexOf(j)]},I.prototype.set=function(j,z){this._keys.push(j),this._values.push(z)},I}();return function(){return new N}}(),m=function(N,I){var j=N.__proto__||l(N);if(!j)return n(null);var z=j.constructor;if(z===I.Object)return j===I.Object.prototype?{}:n(j);if(~r.call(z).indexOf("[native code]"))try{return new z}catch{}return n(j)},_=function(N,I,j,z){var Y=m(N,I);z.set(N,Y);for(var U in N)c.call(N,U)&&(Y[U]=j(N[U],z));if(d)for(var D=i(N),Q=0,J=D.length,k=void 0;Q<J;++Q)k=D[Q],p.call(N,k)&&(Y[k]=j(N[k],z));return Y},b=function(N,I,j,z){var Y=m(N,I);z.set(N,Y);for(var U=d?s(N).concat(i(N)):s(N),D=0,Q=U.length,J=void 0,k=void 0;D<Q;++D)if(J=U[D],J!=="callee"&&J!=="caller")if(k=o(N,J),k){!k.get&&!k.set&&(k.value=j(N[J],z));try{a(Y,J,k)}catch{Y[J]=k.value}}else Y[J]=j(N[J],z);return Y},v=function(N){var I="";return N.global&&(I+="g"),N.ignoreCase&&(I+="i"),N.multiline&&(I+="m"),N.unicode&&(I+="u"),N.sticky&&(I+="y"),I},w=Array.isArray,R=Object.getPrototypeOf,T=function(){return typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof be<"u"?be:(console&&console.error&&console.error('Unable to locate global object, returning "this".'),this)}();function C(N,I){var j=!!(I&&I.isStrict),z=I&&I.realm||T,Y=j?b:_,U=function(D,Q){if(!D||typeof D!="object")return D;if(Q.has(D))return Q.get(D);var J=D.__proto__||R(D),k=J&&J.constructor;if(!k||k===z.Object)return Y(D,z,U,Q);var G;if(w(D)){if(j)return b(D,z,U,Q);G=new k,Q.set(D,G);for(var Z=0,ve=D.length;Z<ve;++Z)G[Z]=U(D[Z],Q);return G}if(D instanceof z.Date)return new k(D.getTime());if(D instanceof z.RegExp)return G=new k(D.source,D.flags||v(D)),G.lastIndex=D.lastIndex,G;if(z.Map&&D instanceof z.Map)return G=new k,Q.set(D,G),D.forEach(function(ee,ne){G.set(ne,U(ee,Q))}),G;if(z.Set&&D instanceof z.Set)return G=new k,Q.set(D,G),D.forEach(function(ee){G.add(U(ee,Q))}),G;if(z.Blob&&D instanceof z.Blob)return D.slice(0,D.size,D.type);if(z.Buffer&&z.Buffer.isBuffer(D))return G=z.Buffer.allocUnsafe?z.Buffer.allocUnsafe(D.length):new k(D.length),Q.set(D,G),D.copy(G),G;if(z.ArrayBuffer){if(z.ArrayBuffer.isView(D))return G=new k(D.buffer.slice(0)),Q.set(D,G),G;if(D instanceof z.ArrayBuffer)return G=D.slice(0),Q.set(D,G),G}return typeof D.then=="function"||D instanceof Error||z.WeakMap&&D instanceof z.WeakMap||z.WeakSet&&D instanceof z.WeakSet?D:Y(D,z,U,Q)};return U(N,h())}return C.default=C,C.strict=function(I,j){return C(I,{isStrict:!0,realm:j?j.realm:void 0})},C})}(Of)),Of.exports}var mi={},yi={exports:{}},Ey;function Qx(){return Ey||(Ey=1,function(e,t){t=e.exports=r,t.getSerialize=n;function r(a,o,s,i){return JSON.stringify(a,n(o,i),s)}function n(a,o){var s=[],i=[];return o==null&&(o=function(l,u){return s[0]===u?"[Circular ~]":"[Circular ~."+i.slice(0,s.indexOf(u)).join(".")+"]"}),function(l,u){if(s.length>0){var c=s.indexOf(this);~c?s.splice(c+1):s.push(this),~c?i.splice(c,1/0,l):i.push(l),~s.indexOf(u)&&(u=o.call(this,l,u))}else s.push(u);return a==null?u:a.call(this,l,u)}}}(yi,yi.exports)),yi.exports}var _y;function JE(){if(_y)return mi;_y=1,Object.defineProperty(mi,"__esModule",{value:!0}),mi.default=r;var e=t(Qx());function t(n){return n&&n.__esModule?n:{default:n}}function r(n){return Object.defineProperty(n,"stringifySafe",{enumerable:!1,configurable:!1,writable:!1,value:function(){let a=arguments.length>0&&arguments[0]!==void 0?arguments[0]:null,o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";return(0,e.default)(this,a,o,(s,i)=>({sys:{type:"Link",linkType:"Entry",id:i.sys.id,circular:!0}}))}})}return mi}var Jx=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Zx=function(){function e(t,r){var n=[],a=!0,o=!1,s=void 0;try{for(var i=t[Symbol.iterator](),l;!(a=(l=i.next()).done)&&(n.push(l.value),!(r&&n.length===r));a=!0);}catch(u){o=!0,s=u}finally{try{!a&&i.return&&i.return()}finally{if(o)throw s}}return n}return function(t,r){if(Array.isArray(t))return t;if(Symbol.iterator in Object(t))return e(t,r);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}();function za(e){if(Array.isArray(e)){for(var t=0,r=Array(e.length);t<e.length;t++)r[t]=e[t];return r}else return Array.from(e)}var Ro={},eP=function(t){return t&&t.sys&&t.sys.type==="Link"},tP=function(t){return t&&t.sys&&t.sys.type==="ResourceLink"},rP=function(t){return t.space&&t.environment?[t.type+"!"+t.id,t.space.sys.id+"!"+t.environment.sys.id+"!"+t.type+"!"+t.id]:[t.type+"!"+t.id]},wy=function(t,r){var n=r.entryId,a=r.linkType,o=r.spaceId,s=r.environmentId;return o&&s?t.get(o+"!"+s+"!"+a+"!"+n):t.get(a+"!"+n)},nP=function(t){var r=/.*:spaces\/([^/]+)(?:\/environments\/([^/]+))?\/entries\/([^/]+)$/;if(r.test(t)){var n=t.match(r),a=Zx(n,4);a[0];var o=a[1],s=a[2],i=s===void 0?"master":s,l=a[3];return{spaceId:o,environmentId:i,entryId:l}}},aP=function(t,r){var n=r.sys,a=n.type,o=n.linkType;if(a==="ResourceLink"){var s=r.sys.urn,i=nP(s),l=i.spaceId,u=i.environmentId,c=i.entryId,p=o.split(":")[1];return wy(t,{linkType:p,entryId:c,spaceId:l,environmentId:u})||Ro}var d=r.sys.id;return wy(t,{linkType:o,entryId:d})||Ro},oP=function(t){if(Array.isArray(t))return t.filter(function(n){return n!==Ro});for(var r in t)t[r]===Ro&&delete t[r];return t},iP=function e(t,r,n,a){if(r(t))return n(t);if(t&&(typeof t>"u"?"undefined":Jx(t))==="object"){for(var o in t)t.hasOwnProperty(o)&&(t[o]=e(t[o],r,n,a));a&&(t=oP(t))}return t},sP=function(t,r,n){var a=aP(t,r);return a===Ro?n?a:r:a},lP=function(t,r){if(!Array.isArray(r))return t;var n=Object.keys(t).filter(function(a){return r.indexOf(a)!==-1});return n.reduce(function(a,o){return a[o]=t[o],a},{})},uP=function(t,r){if(r=r||{},!t.items)return[];var n=Kr(t),a=Object.keys(n.includes||{}).reduce(function(i,l){return[].concat(za(i),za(t.includes[l]))},[]),o=[].concat(za(n.items),za(a)).filter(function(i){return!!i.sys}),s=new Map(o.reduce(function(i,l){var u=rP(l.sys).map(function(c){return[c,l]});return i.push.apply(i,za(u)),i},[]));return o.forEach(function(i){var l=lP(i,r.itemEntryPoints);Object.assign(i,iP(l,function(u){return eP(u)||tP(u)},function(u){return sP(s,u,r.removeUnresolved)},r.removeUnresolved))}),n.items};const cP=Object.freeze(Object.defineProperty({__proto__:null,default:uP},Symbol.toStringTag,{value:"Module"})),ZE=qo(cP);var Ty;function fP(){if(Ty)return Va;Ty=1,Object.defineProperty(Va,"__esModule",{value:!0}),Va.wrapEntry=o,Va.wrapEntryCollection=s;var e=a(_a()),t=or,r=a(JE()),n=a(ZE);function a(i){return i&&i.__esModule?i:{default:i}}function o(i){return(0,t.freezeSys)((0,t.toPlainObject)((0,e.default)(i)))}function s(i,l){let{resolveLinks:u,removeUnresolved:c}=l;const p=(0,r.default)((0,t.toPlainObject)((0,e.default)(i)));return u&&(p.items=(0,n.default)(p,{removeUnresolved:c,itemEntryPoints:["fields"]})),(0,t.freezeSys)(p)}return Va}var Ya={},Sy;function dP(){if(Sy)return Ya;Sy=1,Object.defineProperty(Ya,"__esModule",{value:!0}),Ya.wrapAsset=n,Ya.wrapAssetCollection=a;var e=r(_a()),t=or;function r(o){return o&&o.__esModule?o:{default:o}}function n(o){return(0,t.freezeSys)((0,t.toPlainObject)((0,e.default)(o)))}function a(o){return(0,t.freezeSys)((0,t.toPlainObject)((0,e.default)(o)))}return Ya}var vi={},Ry;function pP(){if(Ry)return vi;Ry=1,Object.defineProperty(vi,"__esModule",{value:!0}),vi.wrapAssetKey=n;var e=r(_a()),t=or;function r(a){return a&&a.__esModule?a:{default:a}}function n(a){return(0,t.freezeSys)((0,t.toPlainObject)((0,e.default)(a)))}return vi}var Ka={},Cy;function hP(){if(Cy)return Ka;Cy=1,Object.defineProperty(Ka,"__esModule",{value:!0}),Ka.wrapContentType=n,Ka.wrapContentTypeCollection=a;var e=r(_a()),t=or;function r(o){return o&&o.__esModule?o:{default:o}}function n(o){return(0,t.freezeSys)((0,t.toPlainObject)((0,e.default)(o)))}function a(o){return(0,t.freezeSys)((0,t.toPlainObject)((0,e.default)(o)))}return Ka}var Xa={},Oy;function mP(){if(Oy)return Xa;Oy=1,Object.defineProperty(Xa,"__esModule",{value:!0}),Xa.wrapLocale=n,Xa.wrapLocaleCollection=a;var e=r(_a()),t=or;function r(o){return o&&o.__esModule?o:{default:o}}function n(o){return(0,t.freezeSys)((0,t.toPlainObject)((0,e.default)(o)))}function a(o){return(0,t.freezeSys)((0,t.toPlainObject)((0,e.default)(o)))}return Xa}var Qa={},xy;function yP(){if(xy)return Qa;xy=1,Object.defineProperty(Qa,"__esModule",{value:!0}),Qa.wrapTag=n,Qa.wrapTagCollection=a;var e=r(_a()),t=or;function r(o){return o&&o.__esModule?o:{default:o}}function n(o){return(0,t.freezeSys)((0,t.toPlainObject)((0,e.default)(o)))}function a(o){return(0,t.freezeSys)((0,t.toPlainObject)((0,e.default)(o)))}return Qa}var Py;function vP(){if(Py)return Wa;Py=1,Object.defineProperty(Wa,"__esModule",{value:!0}),Wa.default=void 0;var e=l(Xx()),t=l(fP()),r=l(dP()),n=l(pP()),a=l(hP()),o=l(mP()),s=l(yP());function i(c){if(typeof WeakMap!="function")return null;var p=new WeakMap,d=new WeakMap;return(i=function(f){return f?d:p})(c)}function l(c,p){if(!p&&c&&c.__esModule)return c;if(c===null||typeof c!="object"&&typeof c!="function")return{default:c};var d=i(p);if(d&&d.has(c))return d.get(c);var f={},h=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var m in c)if(m!=="default"&&Object.prototype.hasOwnProperty.call(c,m)){var _=h?Object.getOwnPropertyDescriptor(c,m):null;_&&(_.get||_.set)?Object.defineProperty(f,m,_):f[m]=c[m]}return f.default=c,d&&d.set(c,f),f}var u={space:e,entry:t,asset:r,assetKey:n,contentType:a,locale:o,tag:s};return Wa.default=u,Wa}var gi={},Ay;function gP(){if(Ay)return gi;Ay=1,Object.defineProperty(gi,"__esModule",{value:!0}),gi.default=i;var e=or,t=n(ZE),r=n(JE());function n(p){return p&&p.__esModule?p:{default:p}}function a(p,d){var f=Object.keys(p);if(Object.getOwnPropertySymbols){var h=Object.getOwnPropertySymbols(p);d&&(h=h.filter(function(m){return Object.getOwnPropertyDescriptor(p,m).enumerable})),f.push.apply(f,h)}return f}function o(p){for(var d=1;d<arguments.length;d++){var f=arguments[d]!=null?arguments[d]:{};d%2?a(Object(f),!0).forEach(function(h){s(p,h,f[h])}):Object.getOwnPropertyDescriptors?Object.defineProperties(p,Object.getOwnPropertyDescriptors(f)):a(Object(f)).forEach(function(h){Object.defineProperty(p,h,Object.getOwnPropertyDescriptor(f,h))})}return p}function s(p,d,f){return d in p?Object.defineProperty(p,d,{value:f,enumerable:!0,configurable:!0,writable:!0}):p[d]=f,p}async function i(p,d){let f=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};if(!d||!d.initial&&!d.nextSyncToken&&!d.nextPageToken)throw new Error("Please provide one of `initial`, `nextSyncToken` or `nextPageToken` parameters for syncing");if(d&&d.content_type&&!d.type)d.type="Entry";else if(d&&d.content_type&&d.type&&d.type!=="Entry")throw new Error("When using the `content_type` filter your `type` parameter cannot be different from `Entry`.");const h={resolveLinks:!0,removeUnresolved:!1,paginate:!0},{resolveLinks:m,removeUnresolved:_,paginate:b}=o(o({},h),f),w=await u(p,[],d,{paginate:b});m&&(w.items=(0,t.default)(w,{removeUnresolved:_,itemEntryPoints:["fields"]}));const R=l(w.items);return w.nextSyncToken&&(R.nextSyncToken=w.nextSyncToken),w.nextPageToken&&(R.nextPageToken=w.nextPageToken),(0,e.freezeSys)((0,r.default)((0,e.toPlainObject)(R)))}function l(p){const d=f=>(h,m)=>(m.sys.type===f&&h.push((0,e.toPlainObject)(m)),h);return{entries:p.reduce(d("Entry"),[]),assets:p.reduce(d("Asset"),[]),deletedEntries:p.reduce(d("DeletedEntry"),[]),deletedAssets:p.reduce(d("DeletedAsset"),[])}}async function u(p,d,f,h){let{paginate:m}=h;f.nextSyncToken&&(f.sync_token=f.nextSyncToken,delete f.nextSyncToken),f.nextPageToken&&(f.sync_token=f.nextPageToken,delete f.nextPageToken),f.sync_token&&(delete f.initial,delete f.type,delete f.content_type,delete f.limit);const b=(await p.get("sync",(0,e.createRequestConfig)({query:f}))).data||{};return d=d.concat(b.items||[]),b.nextPageUrl?m?(delete f.initial,f.sync_token=c(b.nextPageUrl),u(p,d,f,{paginate:m})):{items:d,nextPageToken:c(b.nextPageUrl)}:b.nextSyncUrl?{items:d,nextSyncToken:c(b.nextSyncUrl)}:{items:[]}}function c(p){const d=p.split("?");return d.length>0?d[1].replace("sync_token=",""):""}return gi}var bi={},Iy;function bP(){if(Iy)return bi;Iy=1,Object.defineProperty(bi,"__esModule",{value:!0}),bi.default=n;function e(a,o){var s=Object.keys(a);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(a);o&&(i=i.filter(function(l){return Object.getOwnPropertyDescriptor(a,l).enumerable})),s.push.apply(s,i)}return s}function t(a){for(var o=1;o<arguments.length;o++){var s=arguments[o]!=null?arguments[o]:{};o%2?e(Object(s),!0).forEach(function(i){r(a,i,s[i])}):Object.getOwnPropertyDescriptors?Object.defineProperties(a,Object.getOwnPropertyDescriptors(s)):e(Object(s)).forEach(function(i){Object.defineProperty(a,i,Object.getOwnPropertyDescriptor(s,i))})}return a}function r(a,o,s){return o in a?Object.defineProperty(a,o,{value:s,enumerable:!0,configurable:!0,writable:!0}):a[o]=s,a}function n(a){if(!a.select)return a;const o=Array.isArray(a.select)?a.select:a.select.split(","),s=new Set(o);return s.has("sys")?a:(s.add("sys.id"),s.add("sys.type"),t(t({},a),{},{select:[...s].join(",")}))}return bi}var Zn={},Ny;function EP(){if(Ny)return Zn;Ny=1,Object.defineProperty(Zn,"__esModule",{value:!0}),Zn.ValidationError=void 0,Zn.default=t;class e extends Error{constructor(n,a){super(`Invalid "${n}" provided, `+a),this.name="ValidationError"}}Zn.ValidationError=e;function t(r,n,a){if(a=a||{},typeof n!="number")throw new e(r,`only numeric values are allowed for timestamps, provided type was "${typeof n}"`);if(a.maximum&&n>a.maximum)throw new e(r,`value (${n}) cannot be further in the future than expected maximum (${a.maximum})`);if(a.now&&n<a.now)throw new e(r,`value (${n}) cannot be in the past, current time was ${a.now}`)}return Zn}var My;function _P(){if(My)return pi;My=1,Object.defineProperty(pi,"__esModule",{value:!0}),pi.default=c;var e=or,t=o(vP()),r=o(gP()),n=o(bP()),a=o(EP());function o(p){return p&&p.__esModule?p:{default:p}}function s(p,d){var f=Object.keys(p);if(Object.getOwnPropertySymbols){var h=Object.getOwnPropertySymbols(p);d&&(h=h.filter(function(m){return Object.getOwnPropertyDescriptor(p,m).enumerable})),f.push.apply(f,h)}return f}function i(p){for(var d=1;d<arguments.length;d++){var f=arguments[d]!=null?arguments[d]:{};d%2?s(Object(f),!0).forEach(function(h){l(p,h,f[h])}):Object.getOwnPropertyDescriptors?Object.defineProperties(p,Object.getOwnPropertyDescriptors(f)):s(Object(f)).forEach(function(h){Object.defineProperty(p,h,Object.getOwnPropertyDescriptor(f,h))})}return p}function l(p,d,f){return d in p?Object.defineProperty(p,d,{value:f,enumerable:!0,configurable:!0,writable:!0}):p[d]=f,p}const u=48*60*60;function c(p){let{http:d,getGlobalOptions:f}=p;const{wrapSpace:h}=t.default.space,{wrapContentType:m,wrapContentTypeCollection:_}=t.default.contentType,{wrapEntry:b,wrapEntryCollection:v}=t.default.entry,{wrapAsset:w,wrapAssetCollection:R}=t.default.asset,{wrapTag:T,wrapTagCollection:C}=t.default.tag,{wrapAssetKey:N}=t.default.assetKey,{wrapLocaleCollection:I}=t.default.locale,j=ie=>{const le=new Error("The resource could not be found.");return le.sys={type:"Error",id:"NotFound"},le.details={type:"Entry",id:ie,environment:f().environment,space:f().space},le};async function z(){Ge(d);try{const ie=await d.get("/");return h(ie.data)}catch(ie){(0,e.errorHandler)(ie)}}async function Y(ie){ge(d);try{const le=await d.get(`content_types/${ie}`);return m(le.data)}catch(le){(0,e.errorHandler)(le)}}async function U(){let ie=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};ge(d);try{const le=await d.get("content_types",(0,e.createRequestConfig)({query:ie}));return _(le.data)}catch(le){(0,e.errorHandler)(le)}}async function D(ie){let le=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(!ie)throw j(ie);try{const xe=await this.getEntries(i({"sys.id":ie},le));if(xe.items.length>0)return b(xe.items[0]);throw j(ie)}catch(xe){(0,e.errorHandler)(xe)}}async function Q(){let ie=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};ge(d);const{resolveLinks:le,removeUnresolved:xe}=f(ie);ie=(0,n.default)(ie);try{const Be=await d.get("entries",(0,e.createRequestConfig)({query:ie}));return v(Be.data,{resolveLinks:le,removeUnresolved:xe})}catch(Be){(0,e.errorHandler)(Be)}}async function J(ie){let le=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};ge(d),le=(0,n.default)(le);try{const xe=await d.get(`assets/${ie}`,(0,e.createRequestConfig)({query:le}));return w(xe.data)}catch(xe){(0,e.errorHandler)(xe)}}async function k(){let ie=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};ge(d),ie=(0,n.default)(ie);try{const le=await d.get("assets",(0,e.createRequestConfig)({query:ie}));return R(le.data)}catch(le){(0,e.errorHandler)(le)}}async function G(ie){ge(d);try{const le=await d.get(`tags/${ie}`);return T(le.data)}catch(le){(0,e.errorHandler)(le)}}async function Z(){let ie=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};ge(d),ie=(0,n.default)(ie);try{const le=await d.get("tags",(0,e.createRequestConfig)({query:ie}));return C(le.data)}catch(le){(0,e.errorHandler)(le)}}async function ve(ie){ge(d);try{const le=Math.floor(Date.now()/1e3),xe=le+u;(0,a.default)("expiresAt",ie,{maximum:xe,now:le});const Be={expiresAt:ie},at=await d.post("asset_keys",Be);return N(at.data)}catch(le){(0,e.errorHandler)(le)}}async function ee(){let ie=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};ge(d);try{const le=await d.get("locales",(0,e.createRequestConfig)({query:ie}));return I(le.data)}catch(le){(0,e.errorHandler)(le)}}async function ne(){let ie=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},le=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{paginate:!0};const{resolveLinks:xe,removeUnresolved:Be}=f(ie);return ge(d),(0,r.default)(d,ie,i({resolveLinks:xe,removeUnresolved:Be},le))}function me(ie){const{resolveLinks:le,removeUnresolved:xe}=f({});return v(ie,{resolveLinks:le,removeUnresolved:xe})}function ge(ie){ie.defaults.baseURL=f().environmentBaseUrl}function Ge(ie){ie.defaults.baseURL=f().spaceBaseUrl}return{getSpace:z,getContentType:Y,getContentTypes:U,getEntry:D,getEntries:Q,getAsset:J,getAssets:k,getTag:G,getTags:Z,createAssetKey:ve,getLocales:ee,parseEntries:me,sync:ne}}return pi}var Ei={},ky;function wP(){if(ky)return Ei;ky=1,Object.defineProperty(Ei,"__esModule",{value:!0}),Ei.default=e;function e(t){return function(n){return Object.assign({},t,n)}}return Ei}var $y;function TP(){if($y)return si;$y=1,Object.defineProperty(si,"__esModule",{value:!0}),si.createClient=l;var e=a(CE()),t=or,r=a(_P()),n=a(wP());function a(u){return u&&u.__esModule?u:{default:u}}function o(u,c){var p=Object.keys(u);if(Object.getOwnPropertySymbols){var d=Object.getOwnPropertySymbols(u);c&&(d=d.filter(function(f){return Object.getOwnPropertyDescriptor(u,f).enumerable})),p.push.apply(p,d)}return p}function s(u){for(var c=1;c<arguments.length;c++){var p=arguments[c]!=null?arguments[c]:{};c%2?o(Object(p),!0).forEach(function(d){i(u,d,p[d])}):Object.getOwnPropertyDescriptors?Object.defineProperties(u,Object.getOwnPropertyDescriptors(p)):o(Object(p)).forEach(function(d){Object.defineProperty(u,d,Object.getOwnPropertyDescriptor(p,d))})}return u}function i(u,c,p){return c in u?Object.defineProperty(u,c,{value:p,enumerable:!0,configurable:!0,writable:!0}):u[c]=p,u}function l(u){if(!u.accessToken)throw new TypeError("Expected parameter accessToken");if(!u.space)throw new TypeError("Expected parameter space");const p=s(s({},{resolveLinks:!0,removeUnresolved:!1,defaultHostname:"cdn.contentful.com",environment:"master"}),u),d=(0,t.getUserAgentHeader)("contentful.js/9.1.34",p.application,p.integration);p.headers=s(s({},p.headers),{},{"Content-Type":"application/vnd.contentful.delivery.v1+json","X-Contentful-User-Agent":d});const f=(0,t.createHttpClient)(e.default,p),h=(0,n.default)({resolveLinks:p.resolveLinks,environment:p.environment,removeUnresolved:p.removeUnresolved,spaceBaseUrl:f.defaults.baseURL,environmentBaseUrl:`${f.defaults.baseURL}environments/${p.environment}`});return f.defaults.baseURL=h().environmentBaseUrl,(0,r.default)({http:f,getGlobalOptions:h})}return si}var xf={},Pf,Ly;function SP(){return Ly||(Ly=1,Pf=e=>encodeURIComponent(e).replace(/[!'()*]/g,t=>`%${t.charCodeAt(0).toString(16).toUpperCase()}`)),Pf}var Af,By;function RP(){if(By)return Af;By=1;var e="%[a-f0-9]{2}",t=new RegExp("("+e+")|([^%]+?)","gi"),r=new RegExp("("+e+")+","gi");function n(s,i){try{return[decodeURIComponent(s.join(""))]}catch{}if(s.length===1)return s;i=i||1;var l=s.slice(0,i),u=s.slice(i);return Array.prototype.concat.call([],n(l),n(u))}function a(s){try{return decodeURIComponent(s)}catch{for(var i=s.match(t)||[],l=1;l<i.length;l++)s=n(i,l).join(""),i=s.match(t)||[];return s}}function o(s){for(var i={"%FE%FF":"��","%FF%FE":"��"},l=r.exec(s);l;){try{i[l[0]]=decodeURIComponent(l[0])}catch{var u=a(l[0]);u!==l[0]&&(i[l[0]]=u)}l=r.exec(s)}i["%C2"]="�";for(var c=Object.keys(i),p=0;p<c.length;p++){var d=c[p];s=s.replace(new RegExp(d,"g"),i[d])}return s}return Af=function(s){if(typeof s!="string")throw new TypeError("Expected `encodedURI` to be of type `string`, got `"+typeof s+"`");try{return s=s.replace(/\+/g," "),decodeURIComponent(s)}catch{return o(s)}},Af}var If,qy;function CP(){return qy||(qy=1,If=(e,t)=>{if(!(typeof e=="string"&&typeof t=="string"))throw new TypeError("Expected the arguments to be of type `string`");if(t==="")return[e];const r=e.indexOf(t);return r===-1?[e]:[e.slice(0,r),e.slice(r+t.length)]}),If}var Nf,Dy;function OP(){return Dy||(Dy=1,Nf=function(e,t){for(var r={},n=Object.keys(e),a=Array.isArray(t),o=0;o<n.length;o++){var s=n[o],i=e[s];(a?t.indexOf(s)!==-1:t(s,i,e))&&(r[s]=i)}return r}),Nf}var Fy;function xP(){return Fy||(Fy=1,function(e){const t=SP(),r=RP(),n=CP(),a=OP(),o=v=>v==null,s=Symbol("encodeFragmentIdentifier");function i(v){switch(v.arrayFormat){case"index":return w=>(R,T)=>{const C=R.length;return T===void 0||v.skipNull&&T===null||v.skipEmptyString&&T===""?R:T===null?[...R,[c(w,v),"[",C,"]"].join("")]:[...R,[c(w,v),"[",c(C,v),"]=",c(T,v)].join("")]};case"bracket":return w=>(R,T)=>T===void 0||v.skipNull&&T===null||v.skipEmptyString&&T===""?R:T===null?[...R,[c(w,v),"[]"].join("")]:[...R,[c(w,v),"[]=",c(T,v)].join("")];case"colon-list-separator":return w=>(R,T)=>T===void 0||v.skipNull&&T===null||v.skipEmptyString&&T===""?R:T===null?[...R,[c(w,v),":list="].join("")]:[...R,[c(w,v),":list=",c(T,v)].join("")];case"comma":case"separator":case"bracket-separator":{const w=v.arrayFormat==="bracket-separator"?"[]=":"=";return R=>(T,C)=>C===void 0||v.skipNull&&C===null||v.skipEmptyString&&C===""?T:(C=C===null?"":C,T.length===0?[[c(R,v),w,c(C,v)].join("")]:[[T,c(C,v)].join(v.arrayFormatSeparator)])}default:return w=>(R,T)=>T===void 0||v.skipNull&&T===null||v.skipEmptyString&&T===""?R:T===null?[...R,c(w,v)]:[...R,[c(w,v),"=",c(T,v)].join("")]}}function l(v){let w;switch(v.arrayFormat){case"index":return(R,T,C)=>{if(w=/\[(\d*)\]$/.exec(R),R=R.replace(/\[\d*\]$/,""),!w){C[R]=T;return}C[R]===void 0&&(C[R]={}),C[R][w[1]]=T};case"bracket":return(R,T,C)=>{if(w=/(\[\])$/.exec(R),R=R.replace(/\[\]$/,""),!w){C[R]=T;return}if(C[R]===void 0){C[R]=[T];return}C[R]=[].concat(C[R],T)};case"colon-list-separator":return(R,T,C)=>{if(w=/(:list)$/.exec(R),R=R.replace(/:list$/,""),!w){C[R]=T;return}if(C[R]===void 0){C[R]=[T];return}C[R]=[].concat(C[R],T)};case"comma":case"separator":return(R,T,C)=>{const N=typeof T=="string"&&T.includes(v.arrayFormatSeparator),I=typeof T=="string"&&!N&&p(T,v).includes(v.arrayFormatSeparator);T=I?p(T,v):T;const j=N||I?T.split(v.arrayFormatSeparator).map(z=>p(z,v)):T===null?T:p(T,v);C[R]=j};case"bracket-separator":return(R,T,C)=>{const N=/(\[\])$/.test(R);if(R=R.replace(/\[\]$/,""),!N){C[R]=T&&p(T,v);return}const I=T===null?[]:T.split(v.arrayFormatSeparator).map(j=>p(j,v));if(C[R]===void 0){C[R]=I;return}C[R]=[].concat(C[R],I)};default:return(R,T,C)=>{if(C[R]===void 0){C[R]=T;return}C[R]=[].concat(C[R],T)}}}function u(v){if(typeof v!="string"||v.length!==1)throw new TypeError("arrayFormatSeparator must be single character string")}function c(v,w){return w.encode?w.strict?t(v):encodeURIComponent(v):v}function p(v,w){return w.decode?r(v):v}function d(v){return Array.isArray(v)?v.sort():typeof v=="object"?d(Object.keys(v)).sort((w,R)=>Number(w)-Number(R)).map(w=>v[w]):v}function f(v){const w=v.indexOf("#");return w!==-1&&(v=v.slice(0,w)),v}function h(v){let w="";const R=v.indexOf("#");return R!==-1&&(w=v.slice(R)),w}function m(v){v=f(v);const w=v.indexOf("?");return w===-1?"":v.slice(w+1)}function _(v,w){return w.parseNumbers&&!Number.isNaN(Number(v))&&typeof v=="string"&&v.trim()!==""?v=Number(v):w.parseBooleans&&v!==null&&(v.toLowerCase()==="true"||v.toLowerCase()==="false")&&(v=v.toLowerCase()==="true"),v}function b(v,w){w=Object.assign({decode:!0,sort:!0,arrayFormat:"none",arrayFormatSeparator:",",parseNumbers:!1,parseBooleans:!1},w),u(w.arrayFormatSeparator);const R=l(w),T=Object.create(null);if(typeof v!="string"||(v=v.trim().replace(/^[?#&]/,""),!v))return T;for(const C of v.split("&")){if(C==="")continue;let[N,I]=n(w.decode?C.replace(/\+/g," "):C,"=");I=I===void 0?null:["comma","separator","bracket-separator"].includes(w.arrayFormat)?I:p(I,w),R(p(N,w),I,T)}for(const C of Object.keys(T)){const N=T[C];if(typeof N=="object"&&N!==null)for(const I of Object.keys(N))N[I]=_(N[I],w);else T[C]=_(N,w)}return w.sort===!1?T:(w.sort===!0?Object.keys(T).sort():Object.keys(T).sort(w.sort)).reduce((C,N)=>{const I=T[N];return I&&typeof I=="object"&&!Array.isArray(I)?C[N]=d(I):C[N]=I,C},Object.create(null))}e.extract=m,e.parse=b,e.stringify=(v,w)=>{if(!v)return"";w=Object.assign({encode:!0,strict:!0,arrayFormat:"none",arrayFormatSeparator:","},w),u(w.arrayFormatSeparator);const R=I=>w.skipNull&&o(v[I])||w.skipEmptyString&&v[I]==="",T=i(w),C={};for(const I of Object.keys(v))R(I)||(C[I]=v[I]);const N=Object.keys(C);return w.sort!==!1&&N.sort(w.sort),N.map(I=>{const j=v[I];return j===void 0?"":j===null?c(I,w):Array.isArray(j)?j.length===0&&w.arrayFormat==="bracket-separator"?c(I,w)+"[]":j.reduce(T(I),[]).join("&"):c(I,w)+"="+c(j,w)}).filter(I=>I.length>0).join("&")},e.parseUrl=(v,w)=>{w=Object.assign({decode:!0},w);const[R,T]=n(v,"#");return Object.assign({url:R.split("?")[0]||"",query:b(m(v),w)},w&&w.parseFragmentIdentifier&&T?{fragmentIdentifier:p(T,w)}:{})},e.stringifyUrl=(v,w)=>{w=Object.assign({encode:!0,strict:!0,[s]:!0},w);const R=f(v.url).split("?")[0]||"",T=e.extract(v.url),C=e.parse(T,{sort:!1}),N=Object.assign(C,v.query);let I=e.stringify(N,w);I&&(I=`?${I}`);let j=h(v.url);return v.fragmentIdentifier&&(j=`#${w[s]?c(v.fragmentIdentifier,w):v.fragmentIdentifier}`),`${R}${I}${j}`},e.pick=(v,w,R)=>{R=Object.assign({parseFragmentIdentifier:!0,[s]:!1},R);const{url:T,query:C,fragmentIdentifier:N}=e.parseUrl(v,R);return e.stringifyUrl({url:T,query:a(C,w),fragmentIdentifier:N},R)},e.exclude=(v,w,R)=>{const T=Array.isArray(w)?C=>!w.includes(C):(C,N)=>!w(C,N);return e.pick(v,T,R)}}(xf)),xf}var Uy;function PP(){return Uy||(Uy=1,function(e,t){(function(r,n){e.exports=n(TP(),xP())})(be,function(r,n){return function(){var a={897:function(l){l.exports=r},48:function(l){l.exports=n}},o={};function s(l){var u=o[l];if(u!==void 0)return u.exports;var c=o[l]={exports:{}};return a[l](c,c.exports,s),c.exports}s.d=function(l,u){for(var c in u)s.o(u,c)&&!s.o(l,c)&&Object.defineProperty(l,c,{enumerable:!0,get:u[c]})},s.o=function(l,u){return Object.prototype.hasOwnProperty.call(l,u)},s.r=function(l){typeof Symbol<"u"&&Symbol.toStringTag&&Object.defineProperty(l,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(l,"__esModule",{value:!0})};var i={};return function(){s.r(i),s.d(i,{getEntries:function(){return Q},getEntry:function(){return D},setContext:function(){return m}});var l=s(897),u=s(48),c={CONTENTFUL:{ENVIRONMENTS_MAPING:{beta:"beta",rc:"rc",live:"master",local:"beta"},LOCALES:{DEFAULT:"en",SUPPORTED:["en","es","fr","pt"]},SPACE:"txbhe1wabmyx",HOSTS:{CDN:"cdn.contentful.com",PREVIEW:"preview.contentful.com"}}};const{CONTENTFUL:{ENVIRONMENTS_MAPING:p,SPACE:d,HOSTS:f}}=c;let h={apiKey:null,previewKey:null,environment:null,isPreview:!1,host:f.CDN,space:d};const m=({apiKey:J,environment:k,isPreview:G=!1,location:Z,previewKey:ve,space:ee=null})=>{h.apiKey=J,h.previewKey=ve,h.environment=(ne=>{if(!ne)throw new Error("Cannot map environment: Environment not defined");if(!p[ne])throw new Error(`Cannot map environment: No mapping found for environment ${ne}`);return p[ne]})(k),h.isPreview=G||(ne=>{let me=!1;if(ne&&ne.search){const ge=(0,u.parse)(ne.search);me=ge.isPreview&&ge.isPreview==="true"}return me})(Z),h.space=ee||d},_=(J=!1)=>{const{apiKey:k,environment:G,isPreview:Z,previewKey:ve,space:ee}=h;return Z===!0||J===!0?{accessToken:ve,environment:G,host:f.PREVIEW,space:ee}:{accessToken:k,environment:G,host:f.CDN,space:ee}},b=J=>typeof J=="object"&&J!==null,v=J=>Array.isArray(J)&&J.length,w=J=>{if(!b(J))throw new Error("Cannot flatten fields");const{fields:k,sys:G}=J;if(!k)throw new Error("Cannot flatten fields");let Z={...k};if(b(G)){const{contentType:ve,createdAt:ee,updatedAt:ne}=G;ve&&Object.assign(Z,{contentType:ve.sys.id}),ee&&Object.assign(Z,{createdAt:ee}),ne&&Object.assign(Z,{updatedAt:ne})}return Z},{CONTENTFUL:{LOCALES:R}}=c,T=(J,k)=>b(J)&&((G,Z)=>Object.prototype.hasOwnProperty.call(G,Z))(J,k),C=(J,k)=>{const G=(Z=>R.SUPPORTED.includes(Z)?Z:R.DEFAULT)(k);return T(J,G)?J[G]:T(J,R.DEFAULT)?J[R.DEFAULT]:J},N=J=>b(J)&&J.sys&&J.sys.type==="Asset",I=(J,k,G)=>{const{title:Z,file:ve}=w(J);if(!ve)throw new Error("Cannot flatten asset");const{contentType:ee,fileName:ne,url:me,details:ge}=C(ve,k);if(!me)throw new Error("Cannot flatten asset");return G?{description:Z||ne,height:ge&&ge.image&&ge.image.height,type:ee,url:me,width:ge&&ge.image&&ge.image.width}:me},j=J=>b(J)&&J.sys&&J.sys.type==="Entry",z=(J,k,G)=>{const Z={},ve=((ee,ne)=>{const me={};for(const[ge,Ge]of Object.entries(ee))me[ge]=C(Ge,ne);return me})(w(J),k);for(const[ee,ne]of Object.entries(ve))N(ne)?Z[ee]=I(ne,k,G):j(ne)?Z[ee]=z(ne,k,G):v(ne)?Z[ee]=ne.map(me=>N(me)?I(me,k,G):j(me)?z(me,k,G):me):Z[ee]=ne;return Z},Y=({items:J})=>{if(!v(J))throw new Error("Cannot read items");return J},U=async(J,k)=>{const G=_(k);return await(await(0,l.createClient)(G)).getEntries(J)},D=async(J={},k={},G=!1)=>((Z,{flatten:ve=!0,locale:ee="en",assetDetails:ne=!1})=>{const me=Y(Z);return ve?z(me[0],ee,ne):me[0]})(await U(J,G),{...J,...k}),Q=async(J={},k={},G=!1)=>((Z,{flatten:ve=!0,locale:ee="en",assetDetails:ne=!1})=>{const me=Y(Z);return ve?((ge,Ge,ie)=>ge.map(le=>z(le,Ge,ie)))(me,ee,ne):me})(await U(J,G),{...J,...k})}(),i}()})}(Lc)),Lc.exports}var Mf={exports:{}},kf={exports:{}},$f={exports:{}},Lf={exports:{}},jy;function _h(){return jy||(jy=1,function(e,t){(function(r,n){e.exports=n()})(be,function(){function r(m){return!isNaN(parseFloat(m))&&isFinite(m)}function n(m){return m.charAt(0).toUpperCase()+m.substring(1)}function a(m){return function(){return this[m]}}var o=["isConstructor","isEval","isNative","isToplevel"],s=["columnNumber","lineNumber"],i=["fileName","functionName","source"],l=["args"],u=["evalOrigin"],c=o.concat(s,i,l,u);function p(m){if(m)for(var _=0;_<c.length;_++)m[c[_]]!==void 0&&this["set"+n(c[_])](m[c[_]])}p.prototype={getArgs:function(){return this.args},setArgs:function(m){if(Object.prototype.toString.call(m)!=="[object Array]")throw new TypeError("Args must be an Array");this.args=m},getEvalOrigin:function(){return this.evalOrigin},setEvalOrigin:function(m){if(m instanceof p)this.evalOrigin=m;else if(m instanceof Object)this.evalOrigin=new p(m);else throw new TypeError("Eval Origin must be an Object or StackFrame")},toString:function(){var m=this.getFileName()||"",_=this.getLineNumber()||"",b=this.getColumnNumber()||"",v=this.getFunctionName()||"";return this.getIsEval()?m?"[eval] ("+m+":"+_+":"+b+")":"[eval]:"+_+":"+b:v?v+" ("+m+":"+_+":"+b+")":m+":"+_+":"+b}},p.fromString=function(_){var b=_.indexOf("("),v=_.lastIndexOf(")"),w=_.substring(0,b),R=_.substring(b+1,v).split(","),T=_.substring(v+1);if(T.indexOf("@")===0)var C=/@(.+?)(?::(\d+))?(?::(\d+))?$/.exec(T,""),N=C[1],I=C[2],j=C[3];return new p({functionName:w,args:R||void 0,fileName:N,lineNumber:I||void 0,columnNumber:j||void 0})};for(var d=0;d<o.length;d++)p.prototype["get"+n(o[d])]=a(o[d]),p.prototype["set"+n(o[d])]=function(m){return function(_){this[m]=!!_}}(o[d]);for(var f=0;f<s.length;f++)p.prototype["get"+n(s[f])]=a(s[f]),p.prototype["set"+n(s[f])]=function(m){return function(_){if(!r(_))throw new TypeError(m+" must be a Number");this[m]=Number(_)}}(s[f]);for(var h=0;h<i.length;h++)p.prototype["get"+n(i[h])]=a(i[h]),p.prototype["set"+n(i[h])]=function(m){return function(_){this[m]=String(_)}}(i[h]);return p})}(Lf)),Lf.exports}var Hy;function AP(){return Hy||(Hy=1,function(e,t){(function(r,n){e.exports=n(_h())})(be,function(n){var a=/(^|@)\S+:\d+/,o=/^\s*at .*(\S+:\d+|\(native\))/m,s=/^(eval@)?(\[native code])?$/;return{parse:function(l){if(typeof l.stacktrace<"u"||typeof l["opera#sourceloc"]<"u")return this.parseOpera(l);if(l.stack&&l.stack.match(o))return this.parseV8OrIE(l);if(l.stack)return this.parseFFOrSafari(l);throw new Error("Cannot parse given Error object")},extractLocation:function(l){if(l.indexOf(":")===-1)return[l];var u=/(.+?)(?::(\d+))?(?::(\d+))?$/,c=u.exec(l.replace(/[()]/g,""));return[c[1],c[2]||void 0,c[3]||void 0]},parseV8OrIE:function(l){var u=l.stack.split(`
35
35
  `).filter(function(c){return!!c.match(o)},this);return u.map(function(c){c.indexOf("(eval ")>-1&&(c=c.replace(/eval code/g,"eval").replace(/(\(eval at [^()]*)|(,.*$)/g,""));var p=c.replace(/^\s+/,"").replace(/\(eval code/g,"(").replace(/^.*?\s+/,""),d=p.match(/ (\(.+\)$)/);p=d?p.replace(d[0],""):p;var f=this.extractLocation(d?d[1]:p),h=d&&p||void 0,m=["eval","<anonymous>"].indexOf(f[0])>-1?void 0:f[0];return new n({functionName:h,fileName:m,lineNumber:f[1],columnNumber:f[2],source:c})},this)},parseFFOrSafari:function(l){var u=l.stack.split(`
36
36
  `).filter(function(c){return!c.match(s)},this);return u.map(function(c){if(c.indexOf(" > eval")>-1&&(c=c.replace(/ line (\d+)(?: > eval line \d+)* > eval:\d+:\d+/g,":$1")),c.indexOf("@")===-1&&c.indexOf(":")===-1)return new n({functionName:c});var p=/((.*".+"[^@]*)?[^@]*)(?:@)/,d=c.match(p),f=d&&d[1]?d[1]:void 0,h=this.extractLocation(c.replace(p,""));return new n({functionName:f,fileName:h[0],lineNumber:h[1],columnNumber:h[2],source:c})},this)},parseOpera:function(l){return!l.stacktrace||l.message.indexOf(`
37
37
  `)>-1&&l.message.split(`
@@ -39,7 +39,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
39
39
  `).length?this.parseOpera9(l):l.stack?this.parseOpera11(l):this.parseOpera10(l)},parseOpera9:function(l){for(var u=/Line (\d+).*script (?:in )?(\S+)/i,c=l.message.split(`
40
40
  `),p=[],d=2,f=c.length;d<f;d+=2){var h=u.exec(c[d]);h&&p.push(new n({fileName:h[2],lineNumber:h[1],source:c[d]}))}return p},parseOpera10:function(l){for(var u=/Line (\d+).*script (?:in )?(\S+)(?:: In function (\S+))?$/i,c=l.stacktrace.split(`
41
41
  `),p=[],d=0,f=c.length;d<f;d+=2){var h=u.exec(c[d]);h&&p.push(new n({functionName:h[3]||void 0,fileName:h[2],lineNumber:h[1],source:c[d]}))}return p},parseOpera11:function(l){var u=l.stack.split(`
42
- `).filter(function(c){return!!c.match(a)&&!c.match(/^Error created at/)},this);return u.map(function(c){var p=c.split("@"),d=this.extractLocation(p.pop()),f=p.shift()||"",h=f.replace(/<anonymous function(: (\w+))?>/,"$2").replace(/\([^)]*\)/g,"")||void 0,m;f.match(/\(([^)]*)\)/)&&(m=f.replace(/^[^(]+\(([^)]*)\)$/,"$1"));var _=m===void 0||m==="[arguments not available]"?void 0:m.split(",");return new n({functionName:h,args:_,fileName:d[0],lineNumber:d[1],columnNumber:d[2],source:c})},this)}}})}($f)),$f.exports}var Bf={exports:{}},Gy;function IP(){return Gy||(Gy=1,function(e,t){(function(r,n){e.exports=n(_h())})(be,function(r){return{backtrace:function(a){var o=[],s=10;typeof a=="object"&&typeof a.maxStackSize=="number"&&(s=a.maxStackSize);for(var i=arguments.callee;i&&o.length<s&&i.arguments;){for(var l=new Array(i.arguments.length),u=0;u<l.length;++u)l[u]=i.arguments[u];/function(?:\s+([\w$]+))+\s*\(/.test(i.toString())?o.push(new r({functionName:RegExp.$1||void 0,args:l})):o.push(new r({args:l}));try{i=i.caller}catch{break}}return o}}})}(Bf)),Bf.exports}var qf={exports:{}},Za={},Df={},Wy;function e_(){return Wy||(Wy=1,function(e){function t(v,w,R){if(w in v)return v[w];if(arguments.length===3)return R;throw new Error('"'+w+'" is a required argument.')}e.getArg=t;var r=/^(?:([\w+\-.]+):)?\/\/(?:(\w+:\w+)@)?([\w.]*)(?::(\d+))?(\S*)$/,n=/^data:.+\,.+$/;function a(v){var w=v.match(r);return w?{scheme:w[1],auth:w[2],host:w[3],port:w[4],path:w[5]}:null}e.urlParse=a;function o(v){var w="";return v.scheme&&(w+=v.scheme+":"),w+="//",v.auth&&(w+=v.auth+"@"),v.host&&(w+=v.host),v.port&&(w+=":"+v.port),v.path&&(w+=v.path),w}e.urlGenerate=o;function s(v){var w=v,R=a(v);if(R){if(!R.path)return v;w=R.path}for(var T=e.isAbsolute(w),C=w.split(/\/+/),N,I=0,j=C.length-1;j>=0;j--)N=C[j],N==="."?C.splice(j,1):N===".."?I++:I>0&&(N===""?(C.splice(j+1,I),I=0):(C.splice(j,2),I--));return w=C.join("/"),w===""&&(w=T?"/":"."),R?(R.path=w,o(R)):w}e.normalize=s;function i(v,w){v===""&&(v="."),w===""&&(w=".");var R=a(w),T=a(v);if(T&&(v=T.path||"/"),R&&!R.scheme)return T&&(R.scheme=T.scheme),o(R);if(R||w.match(n))return w;if(T&&!T.host&&!T.path)return T.host=w,o(T);var C=w.charAt(0)==="/"?w:s(v.replace(/\/+$/,"")+"/"+w);return T?(T.path=C,o(T)):C}e.join=i,e.isAbsolute=function(v){return v.charAt(0)==="/"||!!v.match(r)};function l(v,w){v===""&&(v="."),v=v.replace(/\/$/,"");for(var R=0;w.indexOf(v+"/")!==0;){var T=v.lastIndexOf("/");if(T<0||(v=v.slice(0,T),v.match(/^([^\/]+:\/)?\/*$/)))return w;++R}return Array(R+1).join("../")+w.substr(v.length+1)}e.relative=l;var u=function(){var v=Object.create(null);return!("__proto__"in v)}();function c(v){return v}function p(v){return f(v)?"$"+v:v}e.toSetString=u?c:p;function d(v){return f(v)?v.slice(1):v}e.fromSetString=u?c:d;function f(v){if(!v)return!1;var w=v.length;if(w<9||v.charCodeAt(w-1)!==95||v.charCodeAt(w-2)!==95||v.charCodeAt(w-3)!==111||v.charCodeAt(w-4)!==116||v.charCodeAt(w-5)!==111||v.charCodeAt(w-6)!==114||v.charCodeAt(w-7)!==112||v.charCodeAt(w-8)!==95||v.charCodeAt(w-9)!==95)return!1;for(var R=w-10;R>=0;R--)if(v.charCodeAt(R)!==36)return!1;return!0}function h(v,w,R){var T=v.source-w.source;return T!==0||(T=v.originalLine-w.originalLine,T!==0)||(T=v.originalColumn-w.originalColumn,T!==0||R)||(T=v.generatedColumn-w.generatedColumn,T!==0)||(T=v.generatedLine-w.generatedLine,T!==0)?T:v.name-w.name}e.compareByOriginalPositions=h;function m(v,w,R){var T=v.generatedLine-w.generatedLine;return T!==0||(T=v.generatedColumn-w.generatedColumn,T!==0||R)||(T=v.source-w.source,T!==0)||(T=v.originalLine-w.originalLine,T!==0)||(T=v.originalColumn-w.originalColumn,T!==0)?T:v.name-w.name}e.compareByGeneratedPositionsDeflated=m;function _(v,w){return v===w?0:v>w?1:-1}function b(v,w){var R=v.generatedLine-w.generatedLine;return R!==0||(R=v.generatedColumn-w.generatedColumn,R!==0)||(R=_(v.source,w.source),R!==0)||(R=v.originalLine-w.originalLine,R!==0)||(R=v.originalColumn-w.originalColumn,R!==0)?R:_(v.name,w.name)}e.compareByGeneratedPositionsInflated=b}(Df)),Df}var Ff={},Vy;function NP(){return Vy||(Vy=1,function(e){e.GREATEST_LOWER_BOUND=1,e.LEAST_UPPER_BOUND=2;function t(r,n,a,o,s,i){var l=Math.floor((n-r)/2)+r,u=s(a,o[l],!0);return u===0?l:u>0?n-l>1?t(l,n,a,o,s,i):i==e.LEAST_UPPER_BOUND?n<o.length?n:-1:l:l-r>1?t(r,l,a,o,s,i):i==e.LEAST_UPPER_BOUND?l:r<0?-1:r}e.search=function(n,a,o,s){if(a.length===0)return-1;var i=t(-1,a.length,n,a,o,s||e.GREATEST_LOWER_BOUND);if(i<0)return-1;for(;i-1>=0&&o(a[i],a[i-1],!0)===0;)--i;return i}}(Ff)),Ff}var Uf={},zy;function MP(){if(zy)return Uf;zy=1;var e=e_(),t=Object.prototype.hasOwnProperty;function r(){this._array=[],this._set=Object.create(null)}return r.fromArray=function(a,o){for(var s=new r,i=0,l=a.length;i<l;i++)s.add(a[i],o);return s},r.prototype.size=function(){return Object.getOwnPropertyNames(this._set).length},r.prototype.add=function(a,o){var s=e.toSetString(a),i=t.call(this._set,s),l=this._array.length;(!i||o)&&this._array.push(a),i||(this._set[s]=l)},r.prototype.has=function(a){var o=e.toSetString(a);return t.call(this._set,o)},r.prototype.indexOf=function(a){var o=e.toSetString(a);if(t.call(this._set,o))return this._set[o];throw new Error('"'+a+'" is not in the set.')},r.prototype.at=function(a){if(a>=0&&a<this._array.length)return this._array[a];throw new Error("No element indexed by "+a)},r.prototype.toArray=function(){return this._array.slice()},Uf.ArraySet=r,Uf}var _i={},wi={},Yy;function kP(){if(Yy)return wi;Yy=1;var e="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".split("");return wi.encode=function(t){if(0<=t&&t<e.length)return e[t];throw new TypeError("Must be between 0 and 63: "+t)},wi.decode=function(t){var r=65,n=90,a=97,o=122,s=48,i=57,l=43,u=47,c=26,p=52;return r<=t&&t<=n?t-r:a<=t&&t<=o?t-a+c:s<=t&&t<=i?t-s+p:t==l?62:t==u?63:-1},wi}var Ky;function $P(){if(Ky)return _i;Ky=1;var e=kP(),t=5,r=1<<t,n=r-1,a=r;function o(i){return i<0?(-i<<1)+1:(i<<1)+0}function s(i){var l=(i&1)===1,u=i>>1;return l?-u:u}return _i.encode=function(l){var u="",c,p=o(l);do c=p&n,p>>>=t,p>0&&(c|=a),u+=e.encode(c);while(p>0);return u},_i.decode=function(l,u,c){var p=l.length,d=0,f=0,h,m;do{if(u>=p)throw new Error("Expected more digits in base 64 VLQ value.");if(m=e.decode(l.charCodeAt(u++)),m===-1)throw new Error("Invalid base64 digit: "+l.charAt(u-1));h=!!(m&a),m&=n,d=d+(m<<f),f+=t}while(h);c.value=s(d),c.rest=u},_i}var jf={},Xy;function LP(){if(Xy)return jf;Xy=1;function e(n,a,o){var s=n[a];n[a]=n[o],n[o]=s}function t(n,a){return Math.round(n+Math.random()*(a-n))}function r(n,a,o,s){if(o<s){var i=t(o,s),l=o-1;e(n,i,s);for(var u=n[s],c=o;c<s;c++)a(n[c],u)<=0&&(l+=1,e(n,l,c));e(n,l+1,c);var p=l+1;r(n,a,o,p-1),r(n,a,p+1,s)}}return jf.quickSort=function(n,a){r(n,a,0,n.length-1)},jf}var Qy;function BP(){if(Qy)return Za;Qy=1;var e=e_(),t=NP(),r=MP().ArraySet,n=$P(),a=LP().quickSort;function o(u){var c=u;return typeof u=="string"&&(c=JSON.parse(u.replace(/^\)\]\}'/,""))),c.sections!=null?new l(c):new s(c)}o.fromSourceMap=function(u){return s.fromSourceMap(u)},o.prototype._version=3,o.prototype.__generatedMappings=null,Object.defineProperty(o.prototype,"_generatedMappings",{get:function(){return this.__generatedMappings||this._parseMappings(this._mappings,this.sourceRoot),this.__generatedMappings}}),o.prototype.__originalMappings=null,Object.defineProperty(o.prototype,"_originalMappings",{get:function(){return this.__originalMappings||this._parseMappings(this._mappings,this.sourceRoot),this.__originalMappings}}),o.prototype._charIsMappingSeparator=function(c,p){var d=c.charAt(p);return d===";"||d===","},o.prototype._parseMappings=function(c,p){throw new Error("Subclasses must implement _parseMappings")},o.GENERATED_ORDER=1,o.ORIGINAL_ORDER=2,o.GREATEST_LOWER_BOUND=1,o.LEAST_UPPER_BOUND=2,o.prototype.eachMapping=function(c,p,d){var f=p||null,h=d||o.GENERATED_ORDER,m;switch(h){case o.GENERATED_ORDER:m=this._generatedMappings;break;case o.ORIGINAL_ORDER:m=this._originalMappings;break;default:throw new Error("Unknown order of iteration.")}var _=this.sourceRoot;m.map(function(b){var v=b.source===null?null:this._sources.at(b.source);return v!=null&&_!=null&&(v=e.join(_,v)),{source:v,generatedLine:b.generatedLine,generatedColumn:b.generatedColumn,originalLine:b.originalLine,originalColumn:b.originalColumn,name:b.name===null?null:this._names.at(b.name)}},this).forEach(c,f)},o.prototype.allGeneratedPositionsFor=function(c){var p=e.getArg(c,"line"),d={source:e.getArg(c,"source"),originalLine:p,originalColumn:e.getArg(c,"column",0)};if(this.sourceRoot!=null&&(d.source=e.relative(this.sourceRoot,d.source)),!this._sources.has(d.source))return[];d.source=this._sources.indexOf(d.source);var f=[],h=this._findMapping(d,this._originalMappings,"originalLine","originalColumn",e.compareByOriginalPositions,t.LEAST_UPPER_BOUND);if(h>=0){var m=this._originalMappings[h];if(c.column===void 0)for(var _=m.originalLine;m&&m.originalLine===_;)f.push({line:e.getArg(m,"generatedLine",null),column:e.getArg(m,"generatedColumn",null),lastColumn:e.getArg(m,"lastGeneratedColumn",null)}),m=this._originalMappings[++h];else for(var b=m.originalColumn;m&&m.originalLine===p&&m.originalColumn==b;)f.push({line:e.getArg(m,"generatedLine",null),column:e.getArg(m,"generatedColumn",null),lastColumn:e.getArg(m,"lastGeneratedColumn",null)}),m=this._originalMappings[++h]}return f},Za.SourceMapConsumer=o;function s(u){var c=u;typeof u=="string"&&(c=JSON.parse(u.replace(/^\)\]\}'/,"")));var p=e.getArg(c,"version"),d=e.getArg(c,"sources"),f=e.getArg(c,"names",[]),h=e.getArg(c,"sourceRoot",null),m=e.getArg(c,"sourcesContent",null),_=e.getArg(c,"mappings"),b=e.getArg(c,"file",null);if(p!=this._version)throw new Error("Unsupported version: "+p);d=d.map(String).map(e.normalize).map(function(v){return h&&e.isAbsolute(h)&&e.isAbsolute(v)?e.relative(h,v):v}),this._names=r.fromArray(f.map(String),!0),this._sources=r.fromArray(d,!0),this.sourceRoot=h,this.sourcesContent=m,this._mappings=_,this.file=b}s.prototype=Object.create(o.prototype),s.prototype.consumer=o,s.fromSourceMap=function(c){var p=Object.create(s.prototype),d=p._names=r.fromArray(c._names.toArray(),!0),f=p._sources=r.fromArray(c._sources.toArray(),!0);p.sourceRoot=c._sourceRoot,p.sourcesContent=c._generateSourcesContent(p._sources.toArray(),p.sourceRoot),p.file=c._file;for(var h=c._mappings.toArray().slice(),m=p.__generatedMappings=[],_=p.__originalMappings=[],b=0,v=h.length;b<v;b++){var w=h[b],R=new i;R.generatedLine=w.generatedLine,R.generatedColumn=w.generatedColumn,w.source&&(R.source=f.indexOf(w.source),R.originalLine=w.originalLine,R.originalColumn=w.originalColumn,w.name&&(R.name=d.indexOf(w.name)),_.push(R)),m.push(R)}return a(p.__originalMappings,e.compareByOriginalPositions),p},s.prototype._version=3,Object.defineProperty(s.prototype,"sources",{get:function(){return this._sources.toArray().map(function(u){return this.sourceRoot!=null?e.join(this.sourceRoot,u):u},this)}});function i(){this.generatedLine=0,this.generatedColumn=0,this.source=null,this.originalLine=null,this.originalColumn=null,this.name=null}s.prototype._parseMappings=function(c,p){for(var d=1,f=0,h=0,m=0,_=0,b=0,v=c.length,w=0,R={},T={},C=[],N=[],I,j,z,Y,U;w<v;)if(c.charAt(w)===";")d++,w++,f=0;else if(c.charAt(w)===",")w++;else{for(I=new i,I.generatedLine=d,Y=w;Y<v&&!this._charIsMappingSeparator(c,Y);Y++);if(j=c.slice(w,Y),z=R[j],z)w+=j.length;else{for(z=[];w<Y;)n.decode(c,w,T),U=T.value,w=T.rest,z.push(U);if(z.length===2)throw new Error("Found a source, but no line and column");if(z.length===3)throw new Error("Found a source and line, but no column");R[j]=z}I.generatedColumn=f+z[0],f=I.generatedColumn,z.length>1&&(I.source=_+z[1],_+=z[1],I.originalLine=h+z[2],h=I.originalLine,I.originalLine+=1,I.originalColumn=m+z[3],m=I.originalColumn,z.length>4&&(I.name=b+z[4],b+=z[4])),N.push(I),typeof I.originalLine=="number"&&C.push(I)}a(N,e.compareByGeneratedPositionsDeflated),this.__generatedMappings=N,a(C,e.compareByOriginalPositions),this.__originalMappings=C},s.prototype._findMapping=function(c,p,d,f,h,m){if(c[d]<=0)throw new TypeError("Line must be greater than or equal to 1, got "+c[d]);if(c[f]<0)throw new TypeError("Column must be greater than or equal to 0, got "+c[f]);return t.search(c,p,h,m)},s.prototype.computeColumnSpans=function(){for(var c=0;c<this._generatedMappings.length;++c){var p=this._generatedMappings[c];if(c+1<this._generatedMappings.length){var d=this._generatedMappings[c+1];if(p.generatedLine===d.generatedLine){p.lastGeneratedColumn=d.generatedColumn-1;continue}}p.lastGeneratedColumn=1/0}},s.prototype.originalPositionFor=function(c){var p={generatedLine:e.getArg(c,"line"),generatedColumn:e.getArg(c,"column")},d=this._findMapping(p,this._generatedMappings,"generatedLine","generatedColumn",e.compareByGeneratedPositionsDeflated,e.getArg(c,"bias",o.GREATEST_LOWER_BOUND));if(d>=0){var f=this._generatedMappings[d];if(f.generatedLine===p.generatedLine){var h=e.getArg(f,"source",null);h!==null&&(h=this._sources.at(h),this.sourceRoot!=null&&(h=e.join(this.sourceRoot,h)));var m=e.getArg(f,"name",null);return m!==null&&(m=this._names.at(m)),{source:h,line:e.getArg(f,"originalLine",null),column:e.getArg(f,"originalColumn",null),name:m}}}return{source:null,line:null,column:null,name:null}},s.prototype.hasContentsOfAllSources=function(){return this.sourcesContent?this.sourcesContent.length>=this._sources.size()&&!this.sourcesContent.some(function(c){return c==null}):!1},s.prototype.sourceContentFor=function(c,p){if(!this.sourcesContent)return null;if(this.sourceRoot!=null&&(c=e.relative(this.sourceRoot,c)),this._sources.has(c))return this.sourcesContent[this._sources.indexOf(c)];var d;if(this.sourceRoot!=null&&(d=e.urlParse(this.sourceRoot))){var f=c.replace(/^file:\/\//,"");if(d.scheme=="file"&&this._sources.has(f))return this.sourcesContent[this._sources.indexOf(f)];if((!d.path||d.path=="/")&&this._sources.has("/"+c))return this.sourcesContent[this._sources.indexOf("/"+c)]}if(p)return null;throw new Error('"'+c+'" is not in the SourceMap.')},s.prototype.generatedPositionFor=function(c){var p=e.getArg(c,"source");if(this.sourceRoot!=null&&(p=e.relative(this.sourceRoot,p)),!this._sources.has(p))return{line:null,column:null,lastColumn:null};p=this._sources.indexOf(p);var d={source:p,originalLine:e.getArg(c,"line"),originalColumn:e.getArg(c,"column")},f=this._findMapping(d,this._originalMappings,"originalLine","originalColumn",e.compareByOriginalPositions,e.getArg(c,"bias",o.GREATEST_LOWER_BOUND));if(f>=0){var h=this._originalMappings[f];if(h.source===d.source)return{line:e.getArg(h,"generatedLine",null),column:e.getArg(h,"generatedColumn",null),lastColumn:e.getArg(h,"lastGeneratedColumn",null)}}return{line:null,column:null,lastColumn:null}},Za.BasicSourceMapConsumer=s;function l(u){var c=u;typeof u=="string"&&(c=JSON.parse(u.replace(/^\)\]\}'/,"")));var p=e.getArg(c,"version"),d=e.getArg(c,"sections");if(p!=this._version)throw new Error("Unsupported version: "+p);this._sources=new r,this._names=new r;var f={line:-1,column:0};this._sections=d.map(function(h){if(h.url)throw new Error("Support for url field in sections not implemented.");var m=e.getArg(h,"offset"),_=e.getArg(m,"line"),b=e.getArg(m,"column");if(_<f.line||_===f.line&&b<f.column)throw new Error("Section offsets must be ordered and non-overlapping.");return f=m,{generatedOffset:{generatedLine:_+1,generatedColumn:b+1},consumer:new o(e.getArg(h,"map"))}})}return l.prototype=Object.create(o.prototype),l.prototype.constructor=o,l.prototype._version=3,Object.defineProperty(l.prototype,"sources",{get:function(){for(var u=[],c=0;c<this._sections.length;c++)for(var p=0;p<this._sections[c].consumer.sources.length;p++)u.push(this._sections[c].consumer.sources[p]);return u}}),l.prototype.originalPositionFor=function(c){var p={generatedLine:e.getArg(c,"line"),generatedColumn:e.getArg(c,"column")},d=t.search(p,this._sections,function(h,m){var _=h.generatedLine-m.generatedOffset.generatedLine;return _||h.generatedColumn-m.generatedOffset.generatedColumn}),f=this._sections[d];return f?f.consumer.originalPositionFor({line:p.generatedLine-(f.generatedOffset.generatedLine-1),column:p.generatedColumn-(f.generatedOffset.generatedLine===p.generatedLine?f.generatedOffset.generatedColumn-1:0),bias:c.bias}):{source:null,line:null,column:null,name:null}},l.prototype.hasContentsOfAllSources=function(){return this._sections.every(function(c){return c.consumer.hasContentsOfAllSources()})},l.prototype.sourceContentFor=function(c,p){for(var d=0;d<this._sections.length;d++){var f=this._sections[d],h=f.consumer.sourceContentFor(c,!0);if(h)return h}if(p)return null;throw new Error('"'+c+'" is not in the SourceMap.')},l.prototype.generatedPositionFor=function(c){for(var p=0;p<this._sections.length;p++){var d=this._sections[p];if(d.consumer.sources.indexOf(e.getArg(c,"source"))!==-1){var f=d.consumer.generatedPositionFor(c);if(f){var h={line:f.line+(d.generatedOffset.generatedLine-1),column:f.column+(d.generatedOffset.generatedLine===f.line?d.generatedOffset.generatedColumn-1:0)};return h}}}return{line:null,column:null}},l.prototype._parseMappings=function(c,p){this.__generatedMappings=[],this.__originalMappings=[];for(var d=0;d<this._sections.length;d++)for(var f=this._sections[d],h=f.consumer._generatedMappings,m=0;m<h.length;m++){var _=h[m],b=f.consumer._sources.at(_.source);f.consumer.sourceRoot!==null&&(b=e.join(f.consumer.sourceRoot,b)),this._sources.add(b),b=this._sources.indexOf(b);var v=f.consumer._names.at(_.name);this._names.add(v),v=this._names.indexOf(v);var w={source:b,generatedLine:_.generatedLine+(f.generatedOffset.generatedLine-1),generatedColumn:_.generatedColumn+(f.generatedOffset.generatedLine===_.generatedLine?f.generatedOffset.generatedColumn-1:0),originalLine:_.originalLine,originalColumn:_.originalColumn,name:v};this.__generatedMappings.push(w),typeof w.originalLine=="number"&&this.__originalMappings.push(w)}a(this.__generatedMappings,e.compareByGeneratedPositionsDeflated),a(this.__originalMappings,e.compareByOriginalPositions)},Za.IndexedSourceMapConsumer=l,Za}var Jy;function qP(){return Jy||(Jy=1,function(e,t){(function(r,n){e.exports=n(BP(),_h())})(be,function(r,n){function a(d){return new Promise(function(f,h){var m=new XMLHttpRequest;m.open("get",d),m.onerror=h,m.onreadystatechange=function(){m.readyState===4&&(m.status>=200&&m.status<300||d.substr(0,7)==="file://"&&m.responseText?f(m.responseText):h(new Error("HTTP status: "+m.status+" retrieving "+d)))},m.send()})}function o(d){if(typeof window<"u"&&window.atob)return window.atob(d);throw new Error("You must supply a polyfill for window.atob in this environment")}function s(d){if(typeof JSON<"u"&&JSON.parse)return JSON.parse(d);throw new Error("You must supply a polyfill for JSON.parse in this environment")}function i(d,f){for(var h=[/['"]?([$_A-Za-z][$_A-Za-z0-9]*)['"]?\s*[:=]\s*function\b/,/function\s+([^('"`]*?)\s*\(([^)]*)\)/,/['"]?([$_A-Za-z][$_A-Za-z0-9]*)['"]?\s*[:=]\s*(?:eval|new Function)\b/,/\b(?!(?:if|for|switch|while|with|catch)\b)(?:(?:static)\s+)?(\S+)\s*\(.*?\)\s*\{/,/['"]?([$_A-Za-z][$_A-Za-z0-9]*)['"]?\s*[:=]\s*\(.*?\)\s*=>/],m=d.split(`
42
+ `).filter(function(c){return!!c.match(a)&&!c.match(/^Error created at/)},this);return u.map(function(c){var p=c.split("@"),d=this.extractLocation(p.pop()),f=p.shift()||"",h=f.replace(/<anonymous function(: (\w+))?>/,"$2").replace(/\([^)]*\)/g,"")||void 0,m;f.match(/\(([^)]*)\)/)&&(m=f.replace(/^[^(]+\(([^)]*)\)$/,"$1"));var _=m===void 0||m==="[arguments not available]"?void 0:m.split(",");return new n({functionName:h,args:_,fileName:d[0],lineNumber:d[1],columnNumber:d[2],source:c})},this)}}})}($f)),$f.exports}var Bf={exports:{}},Gy;function IP(){return Gy||(Gy=1,function(e,t){(function(r,n){e.exports=n(_h())})(be,function(r){return{backtrace:function(a){var o=[],s=10;typeof a=="object"&&typeof a.maxStackSize=="number"&&(s=a.maxStackSize);for(var i=arguments.callee;i&&o.length<s&&i.arguments;){for(var l=new Array(i.arguments.length),u=0;u<l.length;++u)l[u]=i.arguments[u];/function(?:\s+([\w$]+))+\s*\(/.test(i.toString())?o.push(new r({functionName:RegExp.$1||void 0,args:l})):o.push(new r({args:l}));try{i=i.caller}catch{break}}return o}}})}(Bf)),Bf.exports}var qf={exports:{}},Ja={},Df={},Wy;function e_(){return Wy||(Wy=1,function(e){function t(v,w,R){if(w in v)return v[w];if(arguments.length===3)return R;throw new Error('"'+w+'" is a required argument.')}e.getArg=t;var r=/^(?:([\w+\-.]+):)?\/\/(?:(\w+:\w+)@)?([\w.]*)(?::(\d+))?(\S*)$/,n=/^data:.+\,.+$/;function a(v){var w=v.match(r);return w?{scheme:w[1],auth:w[2],host:w[3],port:w[4],path:w[5]}:null}e.urlParse=a;function o(v){var w="";return v.scheme&&(w+=v.scheme+":"),w+="//",v.auth&&(w+=v.auth+"@"),v.host&&(w+=v.host),v.port&&(w+=":"+v.port),v.path&&(w+=v.path),w}e.urlGenerate=o;function s(v){var w=v,R=a(v);if(R){if(!R.path)return v;w=R.path}for(var T=e.isAbsolute(w),C=w.split(/\/+/),N,I=0,j=C.length-1;j>=0;j--)N=C[j],N==="."?C.splice(j,1):N===".."?I++:I>0&&(N===""?(C.splice(j+1,I),I=0):(C.splice(j,2),I--));return w=C.join("/"),w===""&&(w=T?"/":"."),R?(R.path=w,o(R)):w}e.normalize=s;function i(v,w){v===""&&(v="."),w===""&&(w=".");var R=a(w),T=a(v);if(T&&(v=T.path||"/"),R&&!R.scheme)return T&&(R.scheme=T.scheme),o(R);if(R||w.match(n))return w;if(T&&!T.host&&!T.path)return T.host=w,o(T);var C=w.charAt(0)==="/"?w:s(v.replace(/\/+$/,"")+"/"+w);return T?(T.path=C,o(T)):C}e.join=i,e.isAbsolute=function(v){return v.charAt(0)==="/"||!!v.match(r)};function l(v,w){v===""&&(v="."),v=v.replace(/\/$/,"");for(var R=0;w.indexOf(v+"/")!==0;){var T=v.lastIndexOf("/");if(T<0||(v=v.slice(0,T),v.match(/^([^\/]+:\/)?\/*$/)))return w;++R}return Array(R+1).join("../")+w.substr(v.length+1)}e.relative=l;var u=function(){var v=Object.create(null);return!("__proto__"in v)}();function c(v){return v}function p(v){return f(v)?"$"+v:v}e.toSetString=u?c:p;function d(v){return f(v)?v.slice(1):v}e.fromSetString=u?c:d;function f(v){if(!v)return!1;var w=v.length;if(w<9||v.charCodeAt(w-1)!==95||v.charCodeAt(w-2)!==95||v.charCodeAt(w-3)!==111||v.charCodeAt(w-4)!==116||v.charCodeAt(w-5)!==111||v.charCodeAt(w-6)!==114||v.charCodeAt(w-7)!==112||v.charCodeAt(w-8)!==95||v.charCodeAt(w-9)!==95)return!1;for(var R=w-10;R>=0;R--)if(v.charCodeAt(R)!==36)return!1;return!0}function h(v,w,R){var T=v.source-w.source;return T!==0||(T=v.originalLine-w.originalLine,T!==0)||(T=v.originalColumn-w.originalColumn,T!==0||R)||(T=v.generatedColumn-w.generatedColumn,T!==0)||(T=v.generatedLine-w.generatedLine,T!==0)?T:v.name-w.name}e.compareByOriginalPositions=h;function m(v,w,R){var T=v.generatedLine-w.generatedLine;return T!==0||(T=v.generatedColumn-w.generatedColumn,T!==0||R)||(T=v.source-w.source,T!==0)||(T=v.originalLine-w.originalLine,T!==0)||(T=v.originalColumn-w.originalColumn,T!==0)?T:v.name-w.name}e.compareByGeneratedPositionsDeflated=m;function _(v,w){return v===w?0:v>w?1:-1}function b(v,w){var R=v.generatedLine-w.generatedLine;return R!==0||(R=v.generatedColumn-w.generatedColumn,R!==0)||(R=_(v.source,w.source),R!==0)||(R=v.originalLine-w.originalLine,R!==0)||(R=v.originalColumn-w.originalColumn,R!==0)?R:_(v.name,w.name)}e.compareByGeneratedPositionsInflated=b}(Df)),Df}var Ff={},Vy;function NP(){return Vy||(Vy=1,function(e){e.GREATEST_LOWER_BOUND=1,e.LEAST_UPPER_BOUND=2;function t(r,n,a,o,s,i){var l=Math.floor((n-r)/2)+r,u=s(a,o[l],!0);return u===0?l:u>0?n-l>1?t(l,n,a,o,s,i):i==e.LEAST_UPPER_BOUND?n<o.length?n:-1:l:l-r>1?t(r,l,a,o,s,i):i==e.LEAST_UPPER_BOUND?l:r<0?-1:r}e.search=function(n,a,o,s){if(a.length===0)return-1;var i=t(-1,a.length,n,a,o,s||e.GREATEST_LOWER_BOUND);if(i<0)return-1;for(;i-1>=0&&o(a[i],a[i-1],!0)===0;)--i;return i}}(Ff)),Ff}var Uf={},zy;function MP(){if(zy)return Uf;zy=1;var e=e_(),t=Object.prototype.hasOwnProperty;function r(){this._array=[],this._set=Object.create(null)}return r.fromArray=function(a,o){for(var s=new r,i=0,l=a.length;i<l;i++)s.add(a[i],o);return s},r.prototype.size=function(){return Object.getOwnPropertyNames(this._set).length},r.prototype.add=function(a,o){var s=e.toSetString(a),i=t.call(this._set,s),l=this._array.length;(!i||o)&&this._array.push(a),i||(this._set[s]=l)},r.prototype.has=function(a){var o=e.toSetString(a);return t.call(this._set,o)},r.prototype.indexOf=function(a){var o=e.toSetString(a);if(t.call(this._set,o))return this._set[o];throw new Error('"'+a+'" is not in the set.')},r.prototype.at=function(a){if(a>=0&&a<this._array.length)return this._array[a];throw new Error("No element indexed by "+a)},r.prototype.toArray=function(){return this._array.slice()},Uf.ArraySet=r,Uf}var _i={},wi={},Yy;function kP(){if(Yy)return wi;Yy=1;var e="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".split("");return wi.encode=function(t){if(0<=t&&t<e.length)return e[t];throw new TypeError("Must be between 0 and 63: "+t)},wi.decode=function(t){var r=65,n=90,a=97,o=122,s=48,i=57,l=43,u=47,c=26,p=52;return r<=t&&t<=n?t-r:a<=t&&t<=o?t-a+c:s<=t&&t<=i?t-s+p:t==l?62:t==u?63:-1},wi}var Ky;function $P(){if(Ky)return _i;Ky=1;var e=kP(),t=5,r=1<<t,n=r-1,a=r;function o(i){return i<0?(-i<<1)+1:(i<<1)+0}function s(i){var l=(i&1)===1,u=i>>1;return l?-u:u}return _i.encode=function(l){var u="",c,p=o(l);do c=p&n,p>>>=t,p>0&&(c|=a),u+=e.encode(c);while(p>0);return u},_i.decode=function(l,u,c){var p=l.length,d=0,f=0,h,m;do{if(u>=p)throw new Error("Expected more digits in base 64 VLQ value.");if(m=e.decode(l.charCodeAt(u++)),m===-1)throw new Error("Invalid base64 digit: "+l.charAt(u-1));h=!!(m&a),m&=n,d=d+(m<<f),f+=t}while(h);c.value=s(d),c.rest=u},_i}var jf={},Xy;function LP(){if(Xy)return jf;Xy=1;function e(n,a,o){var s=n[a];n[a]=n[o],n[o]=s}function t(n,a){return Math.round(n+Math.random()*(a-n))}function r(n,a,o,s){if(o<s){var i=t(o,s),l=o-1;e(n,i,s);for(var u=n[s],c=o;c<s;c++)a(n[c],u)<=0&&(l+=1,e(n,l,c));e(n,l+1,c);var p=l+1;r(n,a,o,p-1),r(n,a,p+1,s)}}return jf.quickSort=function(n,a){r(n,a,0,n.length-1)},jf}var Qy;function BP(){if(Qy)return Ja;Qy=1;var e=e_(),t=NP(),r=MP().ArraySet,n=$P(),a=LP().quickSort;function o(u){var c=u;return typeof u=="string"&&(c=JSON.parse(u.replace(/^\)\]\}'/,""))),c.sections!=null?new l(c):new s(c)}o.fromSourceMap=function(u){return s.fromSourceMap(u)},o.prototype._version=3,o.prototype.__generatedMappings=null,Object.defineProperty(o.prototype,"_generatedMappings",{get:function(){return this.__generatedMappings||this._parseMappings(this._mappings,this.sourceRoot),this.__generatedMappings}}),o.prototype.__originalMappings=null,Object.defineProperty(o.prototype,"_originalMappings",{get:function(){return this.__originalMappings||this._parseMappings(this._mappings,this.sourceRoot),this.__originalMappings}}),o.prototype._charIsMappingSeparator=function(c,p){var d=c.charAt(p);return d===";"||d===","},o.prototype._parseMappings=function(c,p){throw new Error("Subclasses must implement _parseMappings")},o.GENERATED_ORDER=1,o.ORIGINAL_ORDER=2,o.GREATEST_LOWER_BOUND=1,o.LEAST_UPPER_BOUND=2,o.prototype.eachMapping=function(c,p,d){var f=p||null,h=d||o.GENERATED_ORDER,m;switch(h){case o.GENERATED_ORDER:m=this._generatedMappings;break;case o.ORIGINAL_ORDER:m=this._originalMappings;break;default:throw new Error("Unknown order of iteration.")}var _=this.sourceRoot;m.map(function(b){var v=b.source===null?null:this._sources.at(b.source);return v!=null&&_!=null&&(v=e.join(_,v)),{source:v,generatedLine:b.generatedLine,generatedColumn:b.generatedColumn,originalLine:b.originalLine,originalColumn:b.originalColumn,name:b.name===null?null:this._names.at(b.name)}},this).forEach(c,f)},o.prototype.allGeneratedPositionsFor=function(c){var p=e.getArg(c,"line"),d={source:e.getArg(c,"source"),originalLine:p,originalColumn:e.getArg(c,"column",0)};if(this.sourceRoot!=null&&(d.source=e.relative(this.sourceRoot,d.source)),!this._sources.has(d.source))return[];d.source=this._sources.indexOf(d.source);var f=[],h=this._findMapping(d,this._originalMappings,"originalLine","originalColumn",e.compareByOriginalPositions,t.LEAST_UPPER_BOUND);if(h>=0){var m=this._originalMappings[h];if(c.column===void 0)for(var _=m.originalLine;m&&m.originalLine===_;)f.push({line:e.getArg(m,"generatedLine",null),column:e.getArg(m,"generatedColumn",null),lastColumn:e.getArg(m,"lastGeneratedColumn",null)}),m=this._originalMappings[++h];else for(var b=m.originalColumn;m&&m.originalLine===p&&m.originalColumn==b;)f.push({line:e.getArg(m,"generatedLine",null),column:e.getArg(m,"generatedColumn",null),lastColumn:e.getArg(m,"lastGeneratedColumn",null)}),m=this._originalMappings[++h]}return f},Ja.SourceMapConsumer=o;function s(u){var c=u;typeof u=="string"&&(c=JSON.parse(u.replace(/^\)\]\}'/,"")));var p=e.getArg(c,"version"),d=e.getArg(c,"sources"),f=e.getArg(c,"names",[]),h=e.getArg(c,"sourceRoot",null),m=e.getArg(c,"sourcesContent",null),_=e.getArg(c,"mappings"),b=e.getArg(c,"file",null);if(p!=this._version)throw new Error("Unsupported version: "+p);d=d.map(String).map(e.normalize).map(function(v){return h&&e.isAbsolute(h)&&e.isAbsolute(v)?e.relative(h,v):v}),this._names=r.fromArray(f.map(String),!0),this._sources=r.fromArray(d,!0),this.sourceRoot=h,this.sourcesContent=m,this._mappings=_,this.file=b}s.prototype=Object.create(o.prototype),s.prototype.consumer=o,s.fromSourceMap=function(c){var p=Object.create(s.prototype),d=p._names=r.fromArray(c._names.toArray(),!0),f=p._sources=r.fromArray(c._sources.toArray(),!0);p.sourceRoot=c._sourceRoot,p.sourcesContent=c._generateSourcesContent(p._sources.toArray(),p.sourceRoot),p.file=c._file;for(var h=c._mappings.toArray().slice(),m=p.__generatedMappings=[],_=p.__originalMappings=[],b=0,v=h.length;b<v;b++){var w=h[b],R=new i;R.generatedLine=w.generatedLine,R.generatedColumn=w.generatedColumn,w.source&&(R.source=f.indexOf(w.source),R.originalLine=w.originalLine,R.originalColumn=w.originalColumn,w.name&&(R.name=d.indexOf(w.name)),_.push(R)),m.push(R)}return a(p.__originalMappings,e.compareByOriginalPositions),p},s.prototype._version=3,Object.defineProperty(s.prototype,"sources",{get:function(){return this._sources.toArray().map(function(u){return this.sourceRoot!=null?e.join(this.sourceRoot,u):u},this)}});function i(){this.generatedLine=0,this.generatedColumn=0,this.source=null,this.originalLine=null,this.originalColumn=null,this.name=null}s.prototype._parseMappings=function(c,p){for(var d=1,f=0,h=0,m=0,_=0,b=0,v=c.length,w=0,R={},T={},C=[],N=[],I,j,z,Y,U;w<v;)if(c.charAt(w)===";")d++,w++,f=0;else if(c.charAt(w)===",")w++;else{for(I=new i,I.generatedLine=d,Y=w;Y<v&&!this._charIsMappingSeparator(c,Y);Y++);if(j=c.slice(w,Y),z=R[j],z)w+=j.length;else{for(z=[];w<Y;)n.decode(c,w,T),U=T.value,w=T.rest,z.push(U);if(z.length===2)throw new Error("Found a source, but no line and column");if(z.length===3)throw new Error("Found a source and line, but no column");R[j]=z}I.generatedColumn=f+z[0],f=I.generatedColumn,z.length>1&&(I.source=_+z[1],_+=z[1],I.originalLine=h+z[2],h=I.originalLine,I.originalLine+=1,I.originalColumn=m+z[3],m=I.originalColumn,z.length>4&&(I.name=b+z[4],b+=z[4])),N.push(I),typeof I.originalLine=="number"&&C.push(I)}a(N,e.compareByGeneratedPositionsDeflated),this.__generatedMappings=N,a(C,e.compareByOriginalPositions),this.__originalMappings=C},s.prototype._findMapping=function(c,p,d,f,h,m){if(c[d]<=0)throw new TypeError("Line must be greater than or equal to 1, got "+c[d]);if(c[f]<0)throw new TypeError("Column must be greater than or equal to 0, got "+c[f]);return t.search(c,p,h,m)},s.prototype.computeColumnSpans=function(){for(var c=0;c<this._generatedMappings.length;++c){var p=this._generatedMappings[c];if(c+1<this._generatedMappings.length){var d=this._generatedMappings[c+1];if(p.generatedLine===d.generatedLine){p.lastGeneratedColumn=d.generatedColumn-1;continue}}p.lastGeneratedColumn=1/0}},s.prototype.originalPositionFor=function(c){var p={generatedLine:e.getArg(c,"line"),generatedColumn:e.getArg(c,"column")},d=this._findMapping(p,this._generatedMappings,"generatedLine","generatedColumn",e.compareByGeneratedPositionsDeflated,e.getArg(c,"bias",o.GREATEST_LOWER_BOUND));if(d>=0){var f=this._generatedMappings[d];if(f.generatedLine===p.generatedLine){var h=e.getArg(f,"source",null);h!==null&&(h=this._sources.at(h),this.sourceRoot!=null&&(h=e.join(this.sourceRoot,h)));var m=e.getArg(f,"name",null);return m!==null&&(m=this._names.at(m)),{source:h,line:e.getArg(f,"originalLine",null),column:e.getArg(f,"originalColumn",null),name:m}}}return{source:null,line:null,column:null,name:null}},s.prototype.hasContentsOfAllSources=function(){return this.sourcesContent?this.sourcesContent.length>=this._sources.size()&&!this.sourcesContent.some(function(c){return c==null}):!1},s.prototype.sourceContentFor=function(c,p){if(!this.sourcesContent)return null;if(this.sourceRoot!=null&&(c=e.relative(this.sourceRoot,c)),this._sources.has(c))return this.sourcesContent[this._sources.indexOf(c)];var d;if(this.sourceRoot!=null&&(d=e.urlParse(this.sourceRoot))){var f=c.replace(/^file:\/\//,"");if(d.scheme=="file"&&this._sources.has(f))return this.sourcesContent[this._sources.indexOf(f)];if((!d.path||d.path=="/")&&this._sources.has("/"+c))return this.sourcesContent[this._sources.indexOf("/"+c)]}if(p)return null;throw new Error('"'+c+'" is not in the SourceMap.')},s.prototype.generatedPositionFor=function(c){var p=e.getArg(c,"source");if(this.sourceRoot!=null&&(p=e.relative(this.sourceRoot,p)),!this._sources.has(p))return{line:null,column:null,lastColumn:null};p=this._sources.indexOf(p);var d={source:p,originalLine:e.getArg(c,"line"),originalColumn:e.getArg(c,"column")},f=this._findMapping(d,this._originalMappings,"originalLine","originalColumn",e.compareByOriginalPositions,e.getArg(c,"bias",o.GREATEST_LOWER_BOUND));if(f>=0){var h=this._originalMappings[f];if(h.source===d.source)return{line:e.getArg(h,"generatedLine",null),column:e.getArg(h,"generatedColumn",null),lastColumn:e.getArg(h,"lastGeneratedColumn",null)}}return{line:null,column:null,lastColumn:null}},Ja.BasicSourceMapConsumer=s;function l(u){var c=u;typeof u=="string"&&(c=JSON.parse(u.replace(/^\)\]\}'/,"")));var p=e.getArg(c,"version"),d=e.getArg(c,"sections");if(p!=this._version)throw new Error("Unsupported version: "+p);this._sources=new r,this._names=new r;var f={line:-1,column:0};this._sections=d.map(function(h){if(h.url)throw new Error("Support for url field in sections not implemented.");var m=e.getArg(h,"offset"),_=e.getArg(m,"line"),b=e.getArg(m,"column");if(_<f.line||_===f.line&&b<f.column)throw new Error("Section offsets must be ordered and non-overlapping.");return f=m,{generatedOffset:{generatedLine:_+1,generatedColumn:b+1},consumer:new o(e.getArg(h,"map"))}})}return l.prototype=Object.create(o.prototype),l.prototype.constructor=o,l.prototype._version=3,Object.defineProperty(l.prototype,"sources",{get:function(){for(var u=[],c=0;c<this._sections.length;c++)for(var p=0;p<this._sections[c].consumer.sources.length;p++)u.push(this._sections[c].consumer.sources[p]);return u}}),l.prototype.originalPositionFor=function(c){var p={generatedLine:e.getArg(c,"line"),generatedColumn:e.getArg(c,"column")},d=t.search(p,this._sections,function(h,m){var _=h.generatedLine-m.generatedOffset.generatedLine;return _||h.generatedColumn-m.generatedOffset.generatedColumn}),f=this._sections[d];return f?f.consumer.originalPositionFor({line:p.generatedLine-(f.generatedOffset.generatedLine-1),column:p.generatedColumn-(f.generatedOffset.generatedLine===p.generatedLine?f.generatedOffset.generatedColumn-1:0),bias:c.bias}):{source:null,line:null,column:null,name:null}},l.prototype.hasContentsOfAllSources=function(){return this._sections.every(function(c){return c.consumer.hasContentsOfAllSources()})},l.prototype.sourceContentFor=function(c,p){for(var d=0;d<this._sections.length;d++){var f=this._sections[d],h=f.consumer.sourceContentFor(c,!0);if(h)return h}if(p)return null;throw new Error('"'+c+'" is not in the SourceMap.')},l.prototype.generatedPositionFor=function(c){for(var p=0;p<this._sections.length;p++){var d=this._sections[p];if(d.consumer.sources.indexOf(e.getArg(c,"source"))!==-1){var f=d.consumer.generatedPositionFor(c);if(f){var h={line:f.line+(d.generatedOffset.generatedLine-1),column:f.column+(d.generatedOffset.generatedLine===f.line?d.generatedOffset.generatedColumn-1:0)};return h}}}return{line:null,column:null}},l.prototype._parseMappings=function(c,p){this.__generatedMappings=[],this.__originalMappings=[];for(var d=0;d<this._sections.length;d++)for(var f=this._sections[d],h=f.consumer._generatedMappings,m=0;m<h.length;m++){var _=h[m],b=f.consumer._sources.at(_.source);f.consumer.sourceRoot!==null&&(b=e.join(f.consumer.sourceRoot,b)),this._sources.add(b),b=this._sources.indexOf(b);var v=f.consumer._names.at(_.name);this._names.add(v),v=this._names.indexOf(v);var w={source:b,generatedLine:_.generatedLine+(f.generatedOffset.generatedLine-1),generatedColumn:_.generatedColumn+(f.generatedOffset.generatedLine===_.generatedLine?f.generatedOffset.generatedColumn-1:0),originalLine:_.originalLine,originalColumn:_.originalColumn,name:v};this.__generatedMappings.push(w),typeof w.originalLine=="number"&&this.__originalMappings.push(w)}a(this.__generatedMappings,e.compareByGeneratedPositionsDeflated),a(this.__originalMappings,e.compareByOriginalPositions)},Ja.IndexedSourceMapConsumer=l,Ja}var Jy;function qP(){return Jy||(Jy=1,function(e,t){(function(r,n){e.exports=n(BP(),_h())})(be,function(r,n){function a(d){return new Promise(function(f,h){var m=new XMLHttpRequest;m.open("get",d),m.onerror=h,m.onreadystatechange=function(){m.readyState===4&&(m.status>=200&&m.status<300||d.substr(0,7)==="file://"&&m.responseText?f(m.responseText):h(new Error("HTTP status: "+m.status+" retrieving "+d)))},m.send()})}function o(d){if(typeof window<"u"&&window.atob)return window.atob(d);throw new Error("You must supply a polyfill for window.atob in this environment")}function s(d){if(typeof JSON<"u"&&JSON.parse)return JSON.parse(d);throw new Error("You must supply a polyfill for JSON.parse in this environment")}function i(d,f){for(var h=[/['"]?([$_A-Za-z][$_A-Za-z0-9]*)['"]?\s*[:=]\s*function\b/,/function\s+([^('"`]*?)\s*\(([^)]*)\)/,/['"]?([$_A-Za-z][$_A-Za-z0-9]*)['"]?\s*[:=]\s*(?:eval|new Function)\b/,/\b(?!(?:if|for|switch|while|with|catch)\b)(?:(?:static)\s+)?(\S+)\s*\(.*?\)\s*\{/,/['"]?([$_A-Za-z][$_A-Za-z0-9]*)['"]?\s*[:=]\s*\(.*?\)\s*=>/],m=d.split(`
43
43
  `),_="",b=Math.min(f,20),v=0;v<b;++v){var w=m[f-v-1],R=w.indexOf("//");if(R>=0&&(w=w.substr(0,R)),w){_=w+_;for(var T=h.length,C=0;C<T;C++){var N=h[C].exec(_);if(N&&N[1])return N[1]}}}}function l(){if(typeof Object.defineProperty!="function"||typeof Object.create!="function")throw new Error("Unable to consume source maps in older browsers")}function u(d){if(typeof d!="object")throw new TypeError("Given StackFrame is not an object");if(typeof d.fileName!="string")throw new TypeError("Given file name is not a String");if(typeof d.lineNumber!="number"||d.lineNumber%1!==0||d.lineNumber<1)throw new TypeError("Given line number must be a positive integer");if(typeof d.columnNumber!="number"||d.columnNumber%1!==0||d.columnNumber<0)throw new TypeError("Given column number must be a non-negative integer");return!0}function c(d){for(var f=/\/\/[#@] ?sourceMappingURL=([^\s'"]+)\s*$/mg,h,m;m=f.exec(d);)h=m[1];if(h)return h;throw new Error("sourceMappingURL not found")}function p(d,f,h){return new Promise(function(m,_){var b=f.originalPositionFor({line:d.lineNumber,column:d.columnNumber});if(b.source){var v=f.sourceContentFor(b.source);v&&(h[b.source]=v),m(new n({functionName:b.name||d.functionName,args:d.args,fileName:b.source,lineNumber:b.line,columnNumber:b.column}))}else _(new Error("Could not get original source for given stackframe and source map"))})}return function d(f){if(!(this instanceof d))return new d(f);f=f||{},this.sourceCache=f.sourceCache||{},this.sourceMapConsumerCache=f.sourceMapConsumerCache||{},this.ajax=f.ajax||a,this._atob=f.atob||o,this._get=function(m){return new Promise((function(_,b){var v=m.substr(0,5)==="data:";if(this.sourceCache[m])_(this.sourceCache[m]);else if(f.offline&&!v)b(new Error("Cannot make network requests in offline mode"));else if(v){var w=/^data:application\/json;([\w=:"-]+;)*base64,/,R=m.match(w);if(R){var T=R[0].length,C=m.substr(T),N=this._atob(C);this.sourceCache[m]=N,_(N)}else b(new Error("The encoding of the inline sourcemap is not supported"))}else{var I=this.ajax(m,{method:"get"});this.sourceCache[m]=I,I.then(_,b)}}).bind(this))},this._getSourceMapConsumer=function(m,_){return new Promise((function(b){if(this.sourceMapConsumerCache[m])b(this.sourceMapConsumerCache[m]);else{var v=new Promise((function(w,R){return this._get(m).then(function(T){typeof T=="string"&&(T=s(T.replace(/^\)\]\}'/,""))),typeof T.sourceRoot>"u"&&(T.sourceRoot=_),w(new r.SourceMapConsumer(T))}).catch(R)}).bind(this));this.sourceMapConsumerCache[m]=v,b(v)}}).bind(this))},this.pinpoint=function(m){return new Promise((function(_,b){this.getMappedLocation(m).then((function(v){function w(){_(v)}this.findFunctionName(v).then(_,w).catch(w)}).bind(this),b)}).bind(this))},this.findFunctionName=function(m){return new Promise((function(_,b){u(m),this._get(m.fileName).then(function(w){var R=m.lineNumber,T=m.columnNumber,C=i(w,R);_(C?new n({functionName:C,args:m.args,fileName:m.fileName,lineNumber:R,columnNumber:T}):m)},b).catch(b)}).bind(this))},this.getMappedLocation=function(m){return new Promise((function(_,b){l(),u(m);var v=this.sourceCache,w=m.fileName;this._get(w).then((function(R){var T=c(R),C=T.substr(0,5)==="data:",N=w.substring(0,w.lastIndexOf("/")+1);return T[0]!=="/"&&!C&&!/^https?:\/\/|^\/\//i.test(T)&&(T=N+T),this._getSourceMapConsumer(T,N).then(function(I){return p(m,I,v).then(_).catch(function(){_(m)})})}).bind(this),b).catch(b)}).bind(this))}}})}(qf)),qf.exports}var Zy;function DP(){return Zy||(Zy=1,function(e,t){(function(r,n){e.exports=n(AP(),IP(),qP())})(be,function(n,a,o){var s={filter:function(p){return(p.functionName||"").indexOf("StackTrace$$")===-1&&(p.functionName||"").indexOf("ErrorStackParser$$")===-1&&(p.functionName||"").indexOf("StackTraceGPS$$")===-1&&(p.functionName||"").indexOf("StackGenerator$$")===-1},sourceCache:{}},i=function(){try{throw new Error}catch(d){return d}};function l(p,d){var f={};return[p,d].forEach(function(h){for(var m in h)Object.prototype.hasOwnProperty.call(h,m)&&(f[m]=h[m]);return f}),f}function u(p){return p.stack||p["opera#sourceloc"]}function c(p,d){return typeof d=="function"?p.filter(d):p}return{get:function(d){var f=i();return u(f)?this.fromError(f,d):this.generateArtificially(d)},getSync:function(d){d=l(s,d);var f=i(),h=u(f)?n.parse(f):a.backtrace(d);return c(h,d.filter)},fromError:function(d,f){f=l(s,f);var h=new o(f);return new Promise((function(m){var _=c(n.parse(d),f.filter);m(Promise.all(_.map(function(b){return new Promise(function(v){function w(){v(b)}h.pinpoint(b).then(v,w).catch(w)})})))}).bind(this))},generateArtificially:function(d){d=l(s,d);var f=a.backtrace(d);return typeof d.filter=="function"&&(f=f.filter(d.filter)),Promise.resolve(f)},instrument:function(d,f,h,m){if(typeof d!="function")throw new Error("Cannot instrument non-function object");if(typeof d.__stacktraceOriginalFn=="function")return d;var _=(function(){try{return this.get().then(f,h).catch(h),d.apply(m||this,arguments)}catch(v){throw u(v)&&this.fromError(v).then(f,h).catch(h),v}}).bind(this);return _.__stacktraceOriginalFn=d,_},deinstrument:function(d){if(typeof d!="function")throw new Error("Cannot de-instrument non-function object");return typeof d.__stacktraceOriginalFn=="function"?d.__stacktraceOriginalFn:d},report:function(d,f,h,m){return new Promise(function(_,b){var v=new XMLHttpRequest;if(v.onerror=b,v.onreadystatechange=function(){v.readyState===4&&(v.status>=200&&v.status<400?_(v.responseText):b(new Error("POST to "+f+" failed with status: "+v.status)))},v.open("post",f),v.setRequestHeader("Content-Type","application/json"),m&&typeof m.headers=="object"){var w=m.headers;for(var R in w)Object.prototype.hasOwnProperty.call(w,R)&&v.setRequestHeader(R,w[R])}var T={stack:d};h!=null&&(T.message=h),v.send(JSON.stringify(T))})}}})}(kf)),kf.exports}var Hf,ev;function FP(){if(ev)return Hf;ev=1;var e=DP(),t="https://clouderrorreporting.googleapis.com/v1beta1/projects/",r=function(){};r.prototype.start=function(s){if(!s.key&&!s.targetUrl&&!s.customReportingFunction)throw new Error("Cannot initialize: No API key, target url or custom reporting function provided.");if(!s.projectId&&!s.targetUrl&&!s.customReportingFunction)throw new Error("Cannot initialize: No project ID, target url or custom reporting function provided.");this.customReportingFunction=s.customReportingFunction,this.apiKey=s.key,this.projectId=s.projectId,this.targetUrl=s.targetUrl,this.context=s.context||{},this.serviceContext={service:s.service||"web"},s.version&&(this.serviceContext.version=s.version),this.reportUncaughtExceptions=s.reportUncaughtExceptions!==!1,this.reportUnhandledPromiseRejections=s.reportUnhandledPromiseRejections!==!1,this.disabled=!!s.disabled,n(this)};function n(s){var i=function(){};if(s.reportUncaughtExceptions){var l=window.onerror||i;window.onerror=function(c,p,d,f,h){return h&&s.report(h).catch(i),l(c,p,d,f,h),!0}}if(s.reportUnhandledPromiseRejections){var u=window.onunhandledrejection||i;window.onunhandledrejection=function(c){return c&&s.report(c.reason).catch(i),u(c.reason),!0}}}r.prototype.report=function(s,i){if(this.disabled)return Promise.resolve(null);if(!s)return Promise.reject(new Error("no error to report"));i=i||{};var l={};l.serviceContext=this.serviceContext,l.context=this.context,l.context.httpRequest={userAgent:window.navigator.userAgent,url:window.location.href};var u=0;if(typeof s=="string"||s instanceof String){try{throw new Error(s)}catch(d){s=d}u=i.skipLocalFrames||1}var c=this.targetUrl||t+this.projectId+"/events:report?key="+this.apiKey,p=this.customReportingFunction;return a(s,u).then(function(d){return l.message=d,p?p(l):o(c,l)})};function a(s,i){return e.fromError(s).then(function(l){for(var u=[s.toString()],c=i;c<l.length;c++)u.push([" at ",l[c].getFunctionName()||"<anonymous>"," (",l[c].getFileName(),":",l[c].getLineNumber(),":",l[c].getColumnNumber(),")"].join(""));return u.join(`
44
44
  `)},function(l){return["Error extracting stack trace: ",l,`
45
45
  `,s.toString(),`
@@ -53,33 +53,33 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
53
53
  f.parentNode.insertBefore(j,f);
54
54
  })(window,document,'script','`+u+"','"+s+"');",_=this.dataLayer(l,u);return{iframe:h,script:m,dataLayerVar:_}},dataLayer:function(o,s){return`
55
55
  window.`+s+" = window."+s+` || [];
56
- window.`+s+".push("+JSON.stringify(o)+")"}};return Wf=n,Wf}var Vf,av;function GP(){if(av)return Vf;av=1;var e=HP(),t=r(e);function r(a){return a&&a.__esModule?a:{default:a}}var n={dataScript:function(o){var s=document.createElement("script");return s.innerHTML=o,s},gtm:function(o){var s=t.default.tags(o),i=function(){var p=document.createElement("noscript");return p.innerHTML=s.iframe,p},l=function(){var p=document.createElement("script");return p.innerHTML=s.script,p},u=this.dataScript(s.dataLayerVar);return{noScript:i,script:l,dataScript:u}},initialize:function(o){var s=o.gtmId,i=o.events,l=i===void 0?{}:i,u=o.dataLayer,c=o.dataLayerName,p=c===void 0?"dataLayer":c,d=o.auth,f=d===void 0?"":d,h=o.preview,m=h===void 0?"":h,_=this.gtm({id:s,events:l,dataLayer:u||void 0,dataLayerName:p,auth:f,preview:m});u&&document.head.appendChild(_.dataScript),document.head.insertBefore(_.script(),document.head.childNodes[0]),document.body.insertBefore(_.noScript(),document.body.childNodes[0])},dataLayer:function(o){var s=o.dataLayer,i=o.dataLayerName,l=i===void 0?"dataLayer":i;if(window[l])return window[l].push(s);var u=t.default.dataLayer(s,l),c=this.dataScript(u);document.head.insertBefore(c,document.head.childNodes[0])}};return Vf=n,Vf}var zf,ov;function WP(){if(ov)return zf;ov=1;var e=GP(),t=r(e);function r(n){return n&&n.__esModule?n:{default:n}}return zf=t.default,zf}var iv;function VP(){return iv||(iv=1,function(e,t){(function(r,n){e.exports=n(WP())})(be,function(r){return function(){var n={273:function(i){i.exports=r}},a={};function o(i){var l=a[i];if(l!==void 0)return l.exports;var u=a[i]={exports:{}};return n[i](u,u.exports,o),u.exports}o.n=function(i){var l=i&&i.__esModule?function(){return i.default}:function(){return i};return o.d(l,{a:l}),l},o.d=function(i,l){for(var u in l)o.o(l,u)&&!o.o(i,u)&&Object.defineProperty(i,u,{enumerable:!0,get:l[u]})},o.o=function(i,l){return Object.prototype.hasOwnProperty.call(i,l)},o.r=function(i){typeof Symbol<"u"&&Symbol.toStringTag&&Object.defineProperty(i,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(i,"__esModule",{value:!0})};var s={};return function(){o.r(s),o.d(s,{setContext:function(){return c},setupGTM:function(){return d}});var i=o(273),l=o.n(i);let u=null;const c=({configs:f,environment:h})=>{if(!h)throw new Error("Cannot set context: Environment not defined");if(!f)throw new Error("Cannot set context: REACT_APP_GTM_ID not defined");if(!f[h])throw new Error(`Cannot set context: REACT_APP_GTM_ID not defined for environment - ${JSON.stringify({configs:f,environment:h})}`);u=f[h]},p=()=>u,d=()=>{const f=p();l().initialize({gtmId:f.id})}}(),s}()})}(Gf)),Gf.exports}var t_=202,r_=502,n_=400,a_=409,o_=100,i_=201,s_=417,zP=424,l_=403,u_=504,c_=410,f_=505,d_=418,p_=419,h_=507,m_=500,y_=411,v_=423,g_=420,b_=405,E_=301,__=302,w_=207,T_=300,S_=511,R_=204,C_=203,O_=406,x_=404,P_=501,A_=304,I_=200,N_=206,M_=402,k_=308,$_=412,L_=428,B_=102,q_=407,D_=431,F_=408,U_=413,j_=414,H_=416,G_=205,W_=303,V_=503,z_=101,Y_=307,K_=429,X_=401,Q_=422,J_=415,Z_=305;const YP={ACCEPTED:t_,BAD_GATEWAY:r_,BAD_REQUEST:n_,CONFLICT:a_,CONTINUE:o_,CREATED:i_,EXPECTATION_FAILED:s_,FORBIDDEN:l_,GATEWAY_TIMEOUT:u_,GONE:c_,HTTP_VERSION_NOT_SUPPORTED:f_,IM_A_TEAPOT:d_,INSUFFICIENT_SPACE_ON_RESOURCE:p_,INSUFFICIENT_STORAGE:h_,INTERNAL_SERVER_ERROR:m_,LENGTH_REQUIRED:y_,LOCKED:v_,METHOD_FAILURE:g_,METHOD_NOT_ALLOWED:b_,MOVED_PERMANENTLY:E_,MOVED_TEMPORARILY:__,MULTI_STATUS:w_,MULTIPLE_CHOICES:T_,NETWORK_AUTHENTICATION_REQUIRED:S_,NO_CONTENT:R_,NON_AUTHORITATIVE_INFORMATION:C_,NOT_ACCEPTABLE:O_,NOT_FOUND:x_,NOT_IMPLEMENTED:P_,NOT_MODIFIED:A_,OK:I_,PARTIAL_CONTENT:N_,PAYMENT_REQUIRED:M_,PERMANENT_REDIRECT:k_,PRECONDITION_FAILED:$_,PRECONDITION_REQUIRED:L_,PROCESSING:B_,PROXY_AUTHENTICATION_REQUIRED:q_,REQUEST_HEADER_FIELDS_TOO_LARGE:D_,REQUEST_TIMEOUT:F_,REQUEST_TOO_LONG:U_,REQUEST_URI_TOO_LONG:j_,REQUESTED_RANGE_NOT_SATISFIABLE:H_,RESET_CONTENT:G_,SEE_OTHER:W_,SERVICE_UNAVAILABLE:V_,SWITCHING_PROTOCOLS:z_,TEMPORARY_REDIRECT:Y_,TOO_MANY_REQUESTS:K_,UNAUTHORIZED:X_,UNPROCESSABLE_ENTITY:Q_,UNSUPPORTED_MEDIA_TYPE:J_,USE_PROXY:Z_};var KP={202:"Accepted",502:"Bad Gateway",400:"Bad Request",409:"Conflict",100:"Continue",201:"Created",417:"Expectation Failed",424:"Failed Dependency",403:"Forbidden",504:"Gateway Timeout",410:"Gone",505:"HTTP Version Not Supported",418:"I'm a teapot",419:"Insufficient Space on Resource",507:"Insufficient Storage",500:"Internal Server Error",411:"Length Required",423:"Locked",420:"Method Failure",405:"Method Not Allowed",301:"Moved Permanently",302:"Moved Temporarily",207:"Multi-Status",300:"Multiple Choices",511:"Network Authentication Required",204:"No Content",203:"Non Authoritative Information",406:"Not Acceptable",404:"Not Found",501:"Not Implemented",304:"Not Modified",200:"OK",206:"Partial Content",402:"Payment Required",308:"Permanent Redirect",412:"Precondition Failed",428:"Precondition Required",102:"Processing",407:"Proxy Authentication Required",431:"Request Header Fields Too Large",408:"Request Timeout",413:"Request Entity Too Large",414:"Request-URI Too Long",416:"Requested Range Not Satisfiable",205:"Reset Content",303:"See Other",503:"Service Unavailable",101:"Switching Protocols",307:"Temporary Redirect",429:"Too Many Requests",401:"Unauthorized",451:"Unavailable For Legal Reasons",422:"Unprocessable Entity",415:"Unsupported Media Type",305:"Use Proxy",421:"Misdirected Request"},XP={Accepted:202,"Bad Gateway":502,"Bad Request":400,Conflict:409,Continue:100,Created:201,"Expectation Failed":417,"Failed Dependency":424,Forbidden:403,"Gateway Timeout":504,Gone:410,"HTTP Version Not Supported":505,"I'm a teapot":418,"Insufficient Space on Resource":419,"Insufficient Storage":507,"Internal Server Error":500,"Length Required":411,Locked:423,"Method Failure":420,"Method Not Allowed":405,"Moved Permanently":301,"Moved Temporarily":302,"Multi-Status":207,"Multiple Choices":300,"Network Authentication Required":511,"No Content":204,"Non Authoritative Information":203,"Not Acceptable":406,"Not Found":404,"Not Implemented":501,"Not Modified":304,OK:200,"Partial Content":206,"Payment Required":402,"Permanent Redirect":308,"Precondition Failed":412,"Precondition Required":428,Processing:102,"Proxy Authentication Required":407,"Request Header Fields Too Large":431,"Request Timeout":408,"Request Entity Too Large":413,"Request-URI Too Long":414,"Requested Range Not Satisfiable":416,"Reset Content":205,"See Other":303,"Service Unavailable":503,"Switching Protocols":101,"Temporary Redirect":307,"Too Many Requests":429,Unauthorized:401,"Unavailable For Legal Reasons":451,"Unprocessable Entity":422,"Unsupported Media Type":415,"Use Proxy":305,"Misdirected Request":421};function e0(e){var t=KP[e.toString()];if(!t)throw new Error("Status code does not exist: "+e);return t}function t0(e){var t=XP[e];if(!t)throw new Error("Reason phrase does not exist: "+e);return t}var r0=e0,sp;(function(e){e[e.ACCEPTED=202]="ACCEPTED",e[e.BAD_GATEWAY=502]="BAD_GATEWAY",e[e.BAD_REQUEST=400]="BAD_REQUEST",e[e.CONFLICT=409]="CONFLICT",e[e.CONTINUE=100]="CONTINUE",e[e.CREATED=201]="CREATED",e[e.EXPECTATION_FAILED=417]="EXPECTATION_FAILED",e[e.FAILED_DEPENDENCY=424]="FAILED_DEPENDENCY",e[e.FORBIDDEN=403]="FORBIDDEN",e[e.GATEWAY_TIMEOUT=504]="GATEWAY_TIMEOUT",e[e.GONE=410]="GONE",e[e.HTTP_VERSION_NOT_SUPPORTED=505]="HTTP_VERSION_NOT_SUPPORTED",e[e.IM_A_TEAPOT=418]="IM_A_TEAPOT",e[e.INSUFFICIENT_SPACE_ON_RESOURCE=419]="INSUFFICIENT_SPACE_ON_RESOURCE",e[e.INSUFFICIENT_STORAGE=507]="INSUFFICIENT_STORAGE",e[e.INTERNAL_SERVER_ERROR=500]="INTERNAL_SERVER_ERROR",e[e.LENGTH_REQUIRED=411]="LENGTH_REQUIRED",e[e.LOCKED=423]="LOCKED",e[e.METHOD_FAILURE=420]="METHOD_FAILURE",e[e.METHOD_NOT_ALLOWED=405]="METHOD_NOT_ALLOWED",e[e.MOVED_PERMANENTLY=301]="MOVED_PERMANENTLY",e[e.MOVED_TEMPORARILY=302]="MOVED_TEMPORARILY",e[e.MULTI_STATUS=207]="MULTI_STATUS",e[e.MULTIPLE_CHOICES=300]="MULTIPLE_CHOICES",e[e.NETWORK_AUTHENTICATION_REQUIRED=511]="NETWORK_AUTHENTICATION_REQUIRED",e[e.NO_CONTENT=204]="NO_CONTENT",e[e.NON_AUTHORITATIVE_INFORMATION=203]="NON_AUTHORITATIVE_INFORMATION",e[e.NOT_ACCEPTABLE=406]="NOT_ACCEPTABLE",e[e.NOT_FOUND=404]="NOT_FOUND",e[e.NOT_IMPLEMENTED=501]="NOT_IMPLEMENTED",e[e.NOT_MODIFIED=304]="NOT_MODIFIED",e[e.OK=200]="OK",e[e.PARTIAL_CONTENT=206]="PARTIAL_CONTENT",e[e.PAYMENT_REQUIRED=402]="PAYMENT_REQUIRED",e[e.PERMANENT_REDIRECT=308]="PERMANENT_REDIRECT",e[e.PRECONDITION_FAILED=412]="PRECONDITION_FAILED",e[e.PRECONDITION_REQUIRED=428]="PRECONDITION_REQUIRED",e[e.PROCESSING=102]="PROCESSING",e[e.PROXY_AUTHENTICATION_REQUIRED=407]="PROXY_AUTHENTICATION_REQUIRED",e[e.REQUEST_HEADER_FIELDS_TOO_LARGE=431]="REQUEST_HEADER_FIELDS_TOO_LARGE",e[e.REQUEST_TIMEOUT=408]="REQUEST_TIMEOUT",e[e.REQUEST_TOO_LONG=413]="REQUEST_TOO_LONG",e[e.REQUEST_URI_TOO_LONG=414]="REQUEST_URI_TOO_LONG",e[e.REQUESTED_RANGE_NOT_SATISFIABLE=416]="REQUESTED_RANGE_NOT_SATISFIABLE",e[e.RESET_CONTENT=205]="RESET_CONTENT",e[e.SEE_OTHER=303]="SEE_OTHER",e[e.SERVICE_UNAVAILABLE=503]="SERVICE_UNAVAILABLE",e[e.SWITCHING_PROTOCOLS=101]="SWITCHING_PROTOCOLS",e[e.TEMPORARY_REDIRECT=307]="TEMPORARY_REDIRECT",e[e.TOO_MANY_REQUESTS=429]="TOO_MANY_REQUESTS",e[e.UNAUTHORIZED=401]="UNAUTHORIZED",e[e.UNAVAILABLE_FOR_LEGAL_REASONS=451]="UNAVAILABLE_FOR_LEGAL_REASONS",e[e.UNPROCESSABLE_ENTITY=422]="UNPROCESSABLE_ENTITY",e[e.UNSUPPORTED_MEDIA_TYPE=415]="UNSUPPORTED_MEDIA_TYPE",e[e.USE_PROXY=305]="USE_PROXY",e[e.MISDIRECTED_REQUEST=421]="MISDIRECTED_REQUEST"})(sp||(sp={}));var lp;(function(e){e.ACCEPTED="Accepted",e.BAD_GATEWAY="Bad Gateway",e.BAD_REQUEST="Bad Request",e.CONFLICT="Conflict",e.CONTINUE="Continue",e.CREATED="Created",e.EXPECTATION_FAILED="Expectation Failed",e.FAILED_DEPENDENCY="Failed Dependency",e.FORBIDDEN="Forbidden",e.GATEWAY_TIMEOUT="Gateway Timeout",e.GONE="Gone",e.HTTP_VERSION_NOT_SUPPORTED="HTTP Version Not Supported",e.IM_A_TEAPOT="I'm a teapot",e.INSUFFICIENT_SPACE_ON_RESOURCE="Insufficient Space on Resource",e.INSUFFICIENT_STORAGE="Insufficient Storage",e.INTERNAL_SERVER_ERROR="Internal Server Error",e.LENGTH_REQUIRED="Length Required",e.LOCKED="Locked",e.METHOD_FAILURE="Method Failure",e.METHOD_NOT_ALLOWED="Method Not Allowed",e.MOVED_PERMANENTLY="Moved Permanently",e.MOVED_TEMPORARILY="Moved Temporarily",e.MULTI_STATUS="Multi-Status",e.MULTIPLE_CHOICES="Multiple Choices",e.NETWORK_AUTHENTICATION_REQUIRED="Network Authentication Required",e.NO_CONTENT="No Content",e.NON_AUTHORITATIVE_INFORMATION="Non Authoritative Information",e.NOT_ACCEPTABLE="Not Acceptable",e.NOT_FOUND="Not Found",e.NOT_IMPLEMENTED="Not Implemented",e.NOT_MODIFIED="Not Modified",e.OK="OK",e.PARTIAL_CONTENT="Partial Content",e.PAYMENT_REQUIRED="Payment Required",e.PERMANENT_REDIRECT="Permanent Redirect",e.PRECONDITION_FAILED="Precondition Failed",e.PRECONDITION_REQUIRED="Precondition Required",e.PROCESSING="Processing",e.PROXY_AUTHENTICATION_REQUIRED="Proxy Authentication Required",e.REQUEST_HEADER_FIELDS_TOO_LARGE="Request Header Fields Too Large",e.REQUEST_TIMEOUT="Request Timeout",e.REQUEST_TOO_LONG="Request Entity Too Large",e.REQUEST_URI_TOO_LONG="Request-URI Too Long",e.REQUESTED_RANGE_NOT_SATISFIABLE="Requested Range Not Satisfiable",e.RESET_CONTENT="Reset Content",e.SEE_OTHER="See Other",e.SERVICE_UNAVAILABLE="Service Unavailable",e.SWITCHING_PROTOCOLS="Switching Protocols",e.TEMPORARY_REDIRECT="Temporary Redirect",e.TOO_MANY_REQUESTS="Too Many Requests",e.UNAUTHORIZED="Unauthorized",e.UNAVAILABLE_FOR_LEGAL_REASONS="Unavailable For Legal Reasons",e.UNPROCESSABLE_ENTITY="Unprocessable Entity",e.UNSUPPORTED_MEDIA_TYPE="Unsupported Media Type",e.USE_PROXY="Use Proxy",e.MISDIRECTED_REQUEST="Misdirected Request"})(lp||(lp={}));var ts=globalThis&&globalThis.__assign||function(){return ts=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++){t=arguments[r];for(var a in t)Object.prototype.hasOwnProperty.call(t,a)&&(e[a]=t[a])}return e},ts.apply(this,arguments)};const QP=ts(ts({},YP),{getStatusCode:t0,getStatusText:r0}),JP=Object.freeze(Object.defineProperty({__proto__:null,ACCEPTED:t_,BAD_GATEWAY:r_,BAD_REQUEST:n_,CONFLICT:a_,CONTINUE:o_,CREATED:i_,EXPECTATION_FAILED:s_,FAILED_DEPENDENCY:zP,FORBIDDEN:l_,GATEWAY_TIMEOUT:u_,GONE:c_,HTTP_VERSION_NOT_SUPPORTED:f_,IM_A_TEAPOT:d_,INSUFFICIENT_SPACE_ON_RESOURCE:p_,INSUFFICIENT_STORAGE:h_,INTERNAL_SERVER_ERROR:m_,LENGTH_REQUIRED:y_,LOCKED:v_,METHOD_FAILURE:g_,METHOD_NOT_ALLOWED:b_,MOVED_PERMANENTLY:E_,MOVED_TEMPORARILY:__,MULTIPLE_CHOICES:T_,MULTI_STATUS:w_,NETWORK_AUTHENTICATION_REQUIRED:S_,NON_AUTHORITATIVE_INFORMATION:C_,NOT_ACCEPTABLE:O_,NOT_FOUND:x_,NOT_IMPLEMENTED:P_,NOT_MODIFIED:A_,NO_CONTENT:R_,OK:I_,PARTIAL_CONTENT:N_,PAYMENT_REQUIRED:M_,PERMANENT_REDIRECT:k_,PRECONDITION_FAILED:$_,PRECONDITION_REQUIRED:L_,PROCESSING:B_,PROXY_AUTHENTICATION_REQUIRED:q_,REQUESTED_RANGE_NOT_SATISFIABLE:H_,REQUEST_HEADER_FIELDS_TOO_LARGE:D_,REQUEST_TIMEOUT:F_,REQUEST_TOO_LONG:U_,REQUEST_URI_TOO_LONG:j_,RESET_CONTENT:G_,get ReasonPhrases(){return lp},SEE_OTHER:W_,SERVICE_UNAVAILABLE:V_,SWITCHING_PROTOCOLS:z_,get StatusCodes(){return sp},TEMPORARY_REDIRECT:Y_,TOO_MANY_REQUESTS:K_,UNAUTHORIZED:X_,UNPROCESSABLE_ENTITY:Q_,UNSUPPORTED_MEDIA_TYPE:J_,USE_PROXY:Z_,default:QP,getReasonPhrase:e0,getStatusCode:t0,getStatusText:r0},Symbol.toStringTag,{value:"Module"})),ZP=qo(JP);var Si={exports:{}},eo={},Yf={},to={},ro={},cn={},no={},Kf={},fn={},mr={},sv;function wh(){if(sv)return mr;sv=1,Object.defineProperty(mr,"__esModule",{value:!0}),mr.ERROR_PACKET=mr.PACKET_TYPES_REVERSE=mr.PACKET_TYPES=void 0;const e=Object.create(null);mr.PACKET_TYPES=e,e.open="0",e.close="1",e.ping="2",e.pong="3",e.message="4",e.upgrade="5",e.noop="6";const t=Object.create(null);mr.PACKET_TYPES_REVERSE=t,Object.keys(e).forEach(n=>{t[e[n]]=n});const r={type:"error",data:"parser error"};return mr.ERROR_PACKET=r,mr}var lv;function eA(){if(lv)return fn;lv=1,Object.defineProperty(fn,"__esModule",{value:!0}),fn.encodePacket=fn.encodePacketToBinary=void 0;const e=wh(),t=typeof Blob=="function"||typeof Blob<"u"&&Object.prototype.toString.call(Blob)==="[object BlobConstructor]",r=typeof ArrayBuffer=="function",n=u=>typeof ArrayBuffer.isView=="function"?ArrayBuffer.isView(u):u&&u.buffer instanceof ArrayBuffer,a=({type:u,data:c},p,d)=>t&&c instanceof Blob?p?d(c):o(c,d):r&&(c instanceof ArrayBuffer||n(c))?p?d(c):o(new Blob([c]),d):d(e.PACKET_TYPES[u]+(c||""));fn.encodePacket=a;const o=(u,c)=>{const p=new FileReader;return p.onload=function(){const d=p.result.split(",")[1];c("b"+(d||""))},p.readAsDataURL(u)};function s(u){return u instanceof Uint8Array?u:u instanceof ArrayBuffer?new Uint8Array(u):new Uint8Array(u.buffer,u.byteOffset,u.byteLength)}let i;function l(u,c){if(t&&u.data instanceof Blob)return u.data.arrayBuffer().then(s).then(c);if(r&&(u.data instanceof ArrayBuffer||n(u.data)))return c(s(u.data));a(u,!1,p=>{i||(i=new TextEncoder),c(i.encode(p))})}return fn.encodePacketToBinary=l,fn}var ao={},dn={},uv;function tA(){if(uv)return dn;uv=1,Object.defineProperty(dn,"__esModule",{value:!0}),dn.decode=dn.encode=void 0;const e="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",t=typeof Uint8Array>"u"?[]:new Uint8Array(256);for(let a=0;a<e.length;a++)t[e.charCodeAt(a)]=a;const r=a=>{let o=new Uint8Array(a),s,i=o.length,l="";for(s=0;s<i;s+=3)l+=e[o[s]>>2],l+=e[(o[s]&3)<<4|o[s+1]>>4],l+=e[(o[s+1]&15)<<2|o[s+2]>>6],l+=e[o[s+2]&63];return i%3===2?l=l.substring(0,l.length-1)+"=":i%3===1&&(l=l.substring(0,l.length-2)+"=="),l};dn.encode=r;const n=a=>{let o=a.length*.75,s=a.length,i,l=0,u,c,p,d;a[a.length-1]==="="&&(o--,a[a.length-2]==="="&&o--);const f=new ArrayBuffer(o),h=new Uint8Array(f);for(i=0;i<s;i+=4)u=t[a.charCodeAt(i)],c=t[a.charCodeAt(i+1)],p=t[a.charCodeAt(i+2)],d=t[a.charCodeAt(i+3)],h[l++]=u<<2|c>>4,h[l++]=(c&15)<<4|p>>2,h[l++]=(p&3)<<6|d&63;return f};return dn.decode=n,dn}var cv;function rA(){if(cv)return ao;cv=1,Object.defineProperty(ao,"__esModule",{value:!0}),ao.decodePacket=void 0;const e=wh(),t=tA(),r=typeof ArrayBuffer=="function",n=(s,i)=>{if(typeof s!="string")return{type:"message",data:o(s,i)};const l=s.charAt(0);return l==="b"?{type:"message",data:a(s.substring(1),i)}:e.PACKET_TYPES_REVERSE[l]?s.length>1?{type:e.PACKET_TYPES_REVERSE[l],data:s.substring(1)}:{type:e.PACKET_TYPES_REVERSE[l]}:e.ERROR_PACKET};ao.decodePacket=n;const a=(s,i)=>{if(r){const l=(0,t.decode)(s);return o(l,i)}else return{base64:!0,data:s}},o=(s,i)=>{switch(i){case"blob":return s instanceof Blob?s:new Blob([s]);case"arraybuffer":default:return s instanceof ArrayBuffer?s:s.buffer}};return ao}var fv;function Fo(){return fv||(fv=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.decodePayload=e.decodePacket=e.encodePayload=e.encodePacket=e.protocol=e.createPacketDecoderStream=e.createPacketEncoderStream=void 0;const t=eA();Object.defineProperty(e,"encodePacket",{enumerable:!0,get:function(){return t.encodePacket}});const r=rA();Object.defineProperty(e,"decodePacket",{enumerable:!0,get:function(){return r.decodePacket}});const n=wh(),a=String.fromCharCode(30),o=(d,f)=>{const h=d.length,m=new Array(h);let _=0;d.forEach((b,v)=>{(0,t.encodePacket)(b,!1,w=>{m[v]=w,++_===h&&f(m.join(a))})})};e.encodePayload=o;const s=(d,f)=>{const h=d.split(a),m=[];for(let _=0;_<h.length;_++){const b=(0,r.decodePacket)(h[_],f);if(m.push(b),b.type==="error")break}return m};e.decodePayload=s;function i(){return new TransformStream({transform(d,f){(0,t.encodePacketToBinary)(d,h=>{const m=h.length;let _;if(m<126)_=new Uint8Array(1),new DataView(_.buffer).setUint8(0,m);else if(m<65536){_=new Uint8Array(3);const b=new DataView(_.buffer);b.setUint8(0,126),b.setUint16(1,m)}else{_=new Uint8Array(9);const b=new DataView(_.buffer);b.setUint8(0,127),b.setBigUint64(1,BigInt(m))}d.data&&typeof d.data!="string"&&(_[0]|=128),f.enqueue(_),f.enqueue(h)})}})}e.createPacketEncoderStream=i;let l;function u(d){return d.reduce((f,h)=>f+h.length,0)}function c(d,f){if(d[0].length===f)return d.shift();const h=new Uint8Array(f);let m=0;for(let _=0;_<f;_++)h[_]=d[0][m++],m===d[0].length&&(d.shift(),m=0);return d.length&&m<d[0].length&&(d[0]=d[0].slice(m)),h}function p(d,f){l||(l=new TextDecoder);const h=[];let m=0,_=-1,b=!1;return new TransformStream({transform(v,w){for(h.push(v);;){if(m===0){if(u(h)<1)break;const R=c(h,1);b=(R[0]&128)===128,_=R[0]&127,_<126?m=3:_===126?m=1:m=2}else if(m===1){if(u(h)<2)break;const R=c(h,2);_=new DataView(R.buffer,R.byteOffset,R.length).getUint16(0),m=3}else if(m===2){if(u(h)<8)break;const R=c(h,8),T=new DataView(R.buffer,R.byteOffset,R.length),C=T.getUint32(0);if(C>Math.pow(2,53-32)-1){w.enqueue(n.ERROR_PACKET);break}_=C*Math.pow(2,32)+T.getUint32(4),m=3}else{if(u(h)<_)break;const R=c(h,_);w.enqueue((0,r.decodePacket)(b?R:l.decode(R),f)),m=0}if(_===0||_>d){w.enqueue(n.ERROR_PACKET);break}}}})}e.createPacketDecoderStream=p,e.protocol=4}(Kf)),Kf}function Tt(e){if(e)return nA(e)}function nA(e){for(var t in Tt.prototype)e[t]=Tt.prototype[t];return e}Tt.prototype.on=Tt.prototype.addEventListener=function(e,t){return this._callbacks=this._callbacks||{},(this._callbacks["$"+e]=this._callbacks["$"+e]||[]).push(t),this};Tt.prototype.once=function(e,t){function r(){this.off(e,r),t.apply(this,arguments)}return r.fn=t,this.on(e,r),this};Tt.prototype.off=Tt.prototype.removeListener=Tt.prototype.removeAllListeners=Tt.prototype.removeEventListener=function(e,t){if(this._callbacks=this._callbacks||{},arguments.length==0)return this._callbacks={},this;var r=this._callbacks["$"+e];if(!r)return this;if(arguments.length==1)return delete this._callbacks["$"+e],this;for(var n,a=0;a<r.length;a++)if(n=r[a],n===t||n.fn===t){r.splice(a,1);break}return r.length===0&&delete this._callbacks["$"+e],this};Tt.prototype.emit=function(e){this._callbacks=this._callbacks||{};for(var t=new Array(arguments.length-1),r=this._callbacks["$"+e],n=1;n<arguments.length;n++)t[n-1]=arguments[n];if(r){r=r.slice(0);for(var n=0,a=r.length;n<a;++n)r[n].apply(this,t)}return this};Tt.prototype.emitReserved=Tt.prototype.emit;Tt.prototype.listeners=function(e){return this._callbacks=this._callbacks||{},this._callbacks["$"+e]||[]};Tt.prototype.hasListeners=function(e){return!!this.listeners(e).length};const aA=Object.freeze(Object.defineProperty({__proto__:null,Emitter:Tt},Symbol.toStringTag,{value:"Module"})),Ta=qo(aA);var yr={},oo={},dv;function Rs(){return dv||(dv=1,Object.defineProperty(oo,"__esModule",{value:!0}),oo.globalThisShim=void 0,oo.globalThisShim=(()=>typeof self<"u"?self:typeof window<"u"?window:Function("return this")())()),oo}var pv;function Uo(){if(pv)return yr;pv=1,Object.defineProperty(yr,"__esModule",{value:!0}),yr.byteLength=yr.installTimerFunctions=yr.pick=void 0;const e=Rs();function t(l,...u){return u.reduce((c,p)=>(l.hasOwnProperty(p)&&(c[p]=l[p]),c),{})}yr.pick=t;const r=e.globalThisShim.setTimeout,n=e.globalThisShim.clearTimeout;function a(l,u){u.useNativeTimers?(l.setTimeoutFn=r.bind(e.globalThisShim),l.clearTimeoutFn=n.bind(e.globalThisShim)):(l.setTimeoutFn=e.globalThisShim.setTimeout.bind(e.globalThisShim),l.clearTimeoutFn=e.globalThisShim.clearTimeout.bind(e.globalThisShim))}yr.installTimerFunctions=a;const o=1.33;function s(l){return typeof l=="string"?i(l):Math.ceil((l.byteLength||l.size)*o)}yr.byteLength=s;function i(l){let u=0,c=0;for(let p=0,d=l.length;p<d;p++)u=l.charCodeAt(p),u<128?c+=1:u<2048?c+=2:u<55296||u>=57344?c+=3:(p++,c+=4);return c}return yr}var Ri={exports:{}},Xf,hv;function oA(){if(hv)return Xf;hv=1;var e=1e3,t=e*60,r=t*60,n=r*24,a=n*7,o=n*365.25;Xf=function(c,p){p=p||{};var d=typeof c;if(d==="string"&&c.length>0)return s(c);if(d==="number"&&isFinite(c))return p.long?l(c):i(c);throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(c))};function s(c){if(c=String(c),!(c.length>100)){var p=/^(-?(?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)?$/i.exec(c);if(p){var d=parseFloat(p[1]),f=(p[2]||"ms").toLowerCase();switch(f){case"years":case"year":case"yrs":case"yr":case"y":return d*o;case"weeks":case"week":case"w":return d*a;case"days":case"day":case"d":return d*n;case"hours":case"hour":case"hrs":case"hr":case"h":return d*r;case"minutes":case"minute":case"mins":case"min":case"m":return d*t;case"seconds":case"second":case"secs":case"sec":case"s":return d*e;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return d;default:return}}}}function i(c){var p=Math.abs(c);return p>=n?Math.round(c/n)+"d":p>=r?Math.round(c/r)+"h":p>=t?Math.round(c/t)+"m":p>=e?Math.round(c/e)+"s":c+"ms"}function l(c){var p=Math.abs(c);return p>=n?u(c,p,n,"day"):p>=r?u(c,p,r,"hour"):p>=t?u(c,p,t,"minute"):p>=e?u(c,p,e,"second"):c+" ms"}function u(c,p,d,f){var h=p>=d*1.5;return Math.round(c/d)+" "+f+(h?"s":"")}return Xf}var Qf,mv;function iA(){if(mv)return Qf;mv=1;function e(t){n.debug=n,n.default=n,n.coerce=u,n.disable=s,n.enable=o,n.enabled=i,n.humanize=oA(),n.destroy=c,Object.keys(t).forEach(p=>{n[p]=t[p]}),n.names=[],n.skips=[],n.formatters={};function r(p){let d=0;for(let f=0;f<p.length;f++)d=(d<<5)-d+p.charCodeAt(f),d|=0;return n.colors[Math.abs(d)%n.colors.length]}n.selectColor=r;function n(p){let d,f=null,h,m;function _(...b){if(!_.enabled)return;const v=_,w=Number(new Date),R=w-(d||w);v.diff=R,v.prev=d,v.curr=w,d=w,b[0]=n.coerce(b[0]),typeof b[0]!="string"&&b.unshift("%O");let T=0;b[0]=b[0].replace(/%([a-zA-Z%])/g,(N,I)=>{if(N==="%%")return"%";T++;const j=n.formatters[I];if(typeof j=="function"){const z=b[T];N=j.call(v,z),b.splice(T,1),T--}return N}),n.formatArgs.call(v,b),(v.log||n.log).apply(v,b)}return _.namespace=p,_.useColors=n.useColors(),_.color=n.selectColor(p),_.extend=a,_.destroy=n.destroy,Object.defineProperty(_,"enabled",{enumerable:!0,configurable:!1,get:()=>f!==null?f:(h!==n.namespaces&&(h=n.namespaces,m=n.enabled(p)),m),set:b=>{f=b}}),typeof n.init=="function"&&n.init(_),_}function a(p,d){const f=n(this.namespace+(typeof d>"u"?":":d)+p);return f.log=this.log,f}function o(p){n.save(p),n.namespaces=p,n.names=[],n.skips=[];let d;const f=(typeof p=="string"?p:"").split(/[\s,]+/),h=f.length;for(d=0;d<h;d++)f[d]&&(p=f[d].replace(/\*/g,".*?"),p[0]==="-"?n.skips.push(new RegExp("^"+p.slice(1)+"$")):n.names.push(new RegExp("^"+p+"$")))}function s(){const p=[...n.names.map(l),...n.skips.map(l).map(d=>"-"+d)].join(",");return n.enable(""),p}function i(p){if(p[p.length-1]==="*")return!0;let d,f;for(d=0,f=n.skips.length;d<f;d++)if(n.skips[d].test(p))return!1;for(d=0,f=n.names.length;d<f;d++)if(n.names[d].test(p))return!0;return!1}function l(p){return p.toString().substring(2,p.toString().length-2).replace(/\.\*\?$/,"*")}function u(p){return p instanceof Error?p.stack||p.message:p}function c(){console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.")}return n.enable(n.load()),n}return Qf=e,Qf}var yv;function ir(){return yv||(yv=1,function(e,t){t.formatArgs=n,t.save=a,t.load=o,t.useColors=r,t.storage=s(),t.destroy=(()=>{let l=!1;return()=>{l||(l=!0,console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`."))}})(),t.colors=["#0000CC","#0000FF","#0033CC","#0033FF","#0066CC","#0066FF","#0099CC","#0099FF","#00CC00","#00CC33","#00CC66","#00CC99","#00CCCC","#00CCFF","#3300CC","#3300FF","#3333CC","#3333FF","#3366CC","#3366FF","#3399CC","#3399FF","#33CC00","#33CC33","#33CC66","#33CC99","#33CCCC","#33CCFF","#6600CC","#6600FF","#6633CC","#6633FF","#66CC00","#66CC33","#9900CC","#9900FF","#9933CC","#9933FF","#99CC00","#99CC33","#CC0000","#CC0033","#CC0066","#CC0099","#CC00CC","#CC00FF","#CC3300","#CC3333","#CC3366","#CC3399","#CC33CC","#CC33FF","#CC6600","#CC6633","#CC9900","#CC9933","#CCCC00","#CCCC33","#FF0000","#FF0033","#FF0066","#FF0099","#FF00CC","#FF00FF","#FF3300","#FF3333","#FF3366","#FF3399","#FF33CC","#FF33FF","#FF6600","#FF6633","#FF9900","#FF9933","#FFCC00","#FFCC33"];function r(){return typeof window<"u"&&window.process&&(window.process.type==="renderer"||window.process.__nwjs)?!0:typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/(edge|trident)\/(\d+)/)?!1:typeof document<"u"&&document.documentElement&&document.documentElement.style&&document.documentElement.style.WebkitAppearance||typeof window<"u"&&window.console&&(window.console.firebug||window.console.exception&&window.console.table)||typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/)&&parseInt(RegExp.$1,10)>=31||typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/)}function n(l){if(l[0]=(this.useColors?"%c":"")+this.namespace+(this.useColors?" %c":" ")+l[0]+(this.useColors?"%c ":" ")+"+"+e.exports.humanize(this.diff),!this.useColors)return;const u="color: "+this.color;l.splice(1,0,u,"color: inherit");let c=0,p=0;l[0].replace(/%[a-zA-Z%]/g,d=>{d!=="%%"&&(c++,d==="%c"&&(p=c))}),l.splice(p,0,u)}t.log=console.debug||console.log||(()=>{});function a(l){try{l?t.storage.setItem("debug",l):t.storage.removeItem("debug")}catch{}}function o(){let l;try{l=t.storage.getItem("debug")}catch{}return!l&&typeof process<"u"&&"env"in process&&(l=process.env.DEBUG),l}function s(){try{return localStorage}catch{}}e.exports=iA()(t);const{formatters:i}=e.exports;i.j=function(l){try{return JSON.stringify(l)}catch(u){return"[UnexpectedJSONParseError]: "+u.message}}}(Ri,Ri.exports)),Ri.exports}var pn={},vv;function n0(){if(vv)return pn;vv=1,Object.defineProperty(pn,"__esModule",{value:!0}),pn.decode=pn.encode=void 0;function e(r){let n="";for(let a in r)r.hasOwnProperty(a)&&(n.length&&(n+="&"),n+=encodeURIComponent(a)+"="+encodeURIComponent(r[a]));return n}pn.encode=e;function t(r){let n={},a=r.split("&");for(let o=0,s=a.length;o<s;o++){let i=a[o].split("=");n[decodeURIComponent(i[0])]=decodeURIComponent(i[1])}return n}return pn.decode=t,pn}var gv;function Cs(){if(gv)return no;gv=1;var e=be&&be.__importDefault||function(u){return u&&u.__esModule?u:{default:u}};Object.defineProperty(no,"__esModule",{value:!0}),no.Transport=void 0;const t=Fo(),r=Ta,n=Uo(),a=e(ir()),o=n0(),s=(0,a.default)("engine.io-client:transport");class i extends Error{constructor(c,p,d){super(c),this.description=p,this.context=d,this.type="TransportError"}}class l extends r.Emitter{constructor(c){super(),this.writable=!1,(0,n.installTimerFunctions)(this,c),this.opts=c,this.query=c.query,this.socket=c.socket}onError(c,p,d){return super.emitReserved("error",new i(c,p,d)),this}open(){return this.readyState="opening",this.doOpen(),this}close(){return(this.readyState==="opening"||this.readyState==="open")&&(this.doClose(),this.onClose()),this}send(c){this.readyState==="open"?this.write(c):s("transport is not open, discarding packets")}onOpen(){this.readyState="open",this.writable=!0,super.emitReserved("open")}onData(c){const p=(0,t.decodePacket)(c,this.socket.binaryType);this.onPacket(p)}onPacket(c){super.emitReserved("packet",c)}onClose(c){this.readyState="closed",super.emitReserved("close",c)}pause(c){}createUri(c,p={}){return c+"://"+this._hostname()+this._port()+this.opts.path+this._query(p)}_hostname(){const c=this.opts.hostname;return c.indexOf(":")===-1?c:"["+c+"]"}_port(){return this.opts.port&&(this.opts.secure&&+(this.opts.port!==443)||!this.opts.secure&&Number(this.opts.port)!==80)?":"+this.opts.port:""}_query(c){const p=(0,o.encode)(c);return p.length?"?"+p:""}}return no.Transport=l,no}var vr={},bv;function a0(){if(bv)return vr;bv=1,Object.defineProperty(vr,"__esModule",{value:!0}),vr.yeast=vr.decode=vr.encode=void 0;const e="0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz-_".split(""),t=64,r={};let n=0,a=0,o;function s(u){let c="";do c=e[u%t]+c,u=Math.floor(u/t);while(u>0);return c}vr.encode=s;function i(u){let c=0;for(a=0;a<u.length;a++)c=c*t+r[u.charAt(a)];return c}vr.decode=i;function l(){const u=s(+new Date);return u!==o?(n=0,o=u):u+"."+s(n++)}for(vr.yeast=l;a<t;a++)r[e[a]]=a;return vr}var hn={},io={},Ev;function sA(){if(Ev)return io;Ev=1,Object.defineProperty(io,"__esModule",{value:!0}),io.hasCORS=void 0;let e=!1;try{e=typeof XMLHttpRequest<"u"&&"withCredentials"in new XMLHttpRequest}catch{}return io.hasCORS=e,io}var _v;function lA(){if(_v)return hn;_v=1,Object.defineProperty(hn,"__esModule",{value:!0}),hn.createCookieJar=hn.XHR=void 0;const e=sA(),t=Rs();function r(a){const o=a.xdomain;try{if(typeof XMLHttpRequest<"u"&&(!o||e.hasCORS))return new XMLHttpRequest}catch{}if(!o)try{return new t.globalThisShim[["Active"].concat("Object").join("X")]("Microsoft.XMLHTTP")}catch{}}hn.XHR=r;function n(){}return hn.createCookieJar=n,hn}var wv;function uA(){if(wv)return cn;wv=1;var e=be&&be.__importDefault||function(m){return m&&m.__esModule?m:{default:m}};Object.defineProperty(cn,"__esModule",{value:!0}),cn.Request=cn.Polling=void 0;const t=Cs(),r=e(ir()),n=a0(),a=Fo(),o=lA(),s=Ta,i=Uo(),l=Rs(),u=(0,r.default)("engine.io-client:polling");function c(){}const p=function(){return new o.XHR({xdomain:!1}).responseType!=null}();class d extends t.Transport{constructor(_){if(super(_),this.polling=!1,typeof location<"u"){const v=location.protocol==="https:";let w=location.port;w||(w=v?"443":"80"),this.xd=typeof location<"u"&&_.hostname!==location.hostname||w!==_.port}const b=_&&_.forceBase64;this.supportsBinary=p&&!b,this.opts.withCredentials&&(this.cookieJar=(0,o.createCookieJar)())}get name(){return"polling"}doOpen(){this.poll()}pause(_){this.readyState="pausing";const b=()=>{u("paused"),this.readyState="paused",_()};if(this.polling||!this.writable){let v=0;this.polling&&(u("we are currently polling - waiting to pause"),v++,this.once("pollComplete",function(){u("pre-pause polling complete"),--v||b()})),this.writable||(u("we are currently writing - waiting to pause"),v++,this.once("drain",function(){u("pre-pause writing complete"),--v||b()}))}else b()}poll(){u("polling"),this.polling=!0,this.doPoll(),this.emitReserved("poll")}onData(_){u("polling got data %s",_);const b=v=>{if(this.readyState==="opening"&&v.type==="open"&&this.onOpen(),v.type==="close")return this.onClose({description:"transport closed by the server"}),!1;this.onPacket(v)};(0,a.decodePayload)(_,this.socket.binaryType).forEach(b),this.readyState!=="closed"&&(this.polling=!1,this.emitReserved("pollComplete"),this.readyState==="open"?this.poll():u('ignoring poll - transport state "%s"',this.readyState))}doClose(){const _=()=>{u("writing close packet"),this.write([{type:"close"}])};this.readyState==="open"?(u("transport open - closing"),_()):(u("transport not open - deferring close"),this.once("open",_))}write(_){this.writable=!1,(0,a.encodePayload)(_,b=>{this.doWrite(b,()=>{this.writable=!0,this.emitReserved("drain")})})}uri(){const _=this.opts.secure?"https":"http",b=this.query||{};return this.opts.timestampRequests!==!1&&(b[this.opts.timestampParam]=(0,n.yeast)()),!this.supportsBinary&&!b.sid&&(b.b64=1),this.createUri(_,b)}request(_={}){return Object.assign(_,{xd:this.xd,cookieJar:this.cookieJar},this.opts),new f(this.uri(),_)}doWrite(_,b){const v=this.request({method:"POST",data:_});v.on("success",b),v.on("error",(w,R)=>{this.onError("xhr post error",w,R)})}doPoll(){u("xhr poll");const _=this.request();_.on("data",this.onData.bind(this)),_.on("error",(b,v)=>{this.onError("xhr poll error",b,v)}),this.pollXhr=_}}cn.Polling=d;class f extends s.Emitter{constructor(_,b){super(),(0,i.installTimerFunctions)(this,b),this.opts=b,this.method=b.method||"GET",this.uri=_,this.data=b.data!==void 0?b.data:null,this.create()}create(){var _;const b=(0,i.pick)(this.opts,"agent","pfx","key","passphrase","cert","ca","ciphers","rejectUnauthorized","autoUnref");b.xdomain=!!this.opts.xd;const v=this.xhr=new o.XHR(b);try{u("xhr open %s: %s",this.method,this.uri),v.open(this.method,this.uri,!0);try{if(this.opts.extraHeaders){v.setDisableHeaderCheck&&v.setDisableHeaderCheck(!0);for(let w in this.opts.extraHeaders)this.opts.extraHeaders.hasOwnProperty(w)&&v.setRequestHeader(w,this.opts.extraHeaders[w])}}catch{}if(this.method==="POST")try{v.setRequestHeader("Content-type","text/plain;charset=UTF-8")}catch{}try{v.setRequestHeader("Accept","*/*")}catch{}(_=this.opts.cookieJar)===null||_===void 0||_.addCookies(v),"withCredentials"in v&&(v.withCredentials=this.opts.withCredentials),this.opts.requestTimeout&&(v.timeout=this.opts.requestTimeout),v.onreadystatechange=()=>{var w;v.readyState===3&&((w=this.opts.cookieJar)===null||w===void 0||w.parseCookies(v)),v.readyState===4&&(v.status===200||v.status===1223?this.onLoad():this.setTimeoutFn(()=>{this.onError(typeof v.status=="number"?v.status:0)},0))},u("xhr data %s",this.data),v.send(this.data)}catch(w){this.setTimeoutFn(()=>{this.onError(w)},0);return}typeof document<"u"&&(this.index=f.requestsCount++,f.requests[this.index]=this)}onError(_){this.emitReserved("error",_,this.xhr),this.cleanup(!0)}cleanup(_){if(!(typeof this.xhr>"u"||this.xhr===null)){if(this.xhr.onreadystatechange=c,_)try{this.xhr.abort()}catch{}typeof document<"u"&&delete f.requests[this.index],this.xhr=null}}onLoad(){const _=this.xhr.responseText;_!==null&&(this.emitReserved("data",_),this.emitReserved("success"),this.cleanup())}abort(){this.cleanup()}}if(cn.Request=f,f.requestsCount=0,f.requests={},typeof document<"u"){if(typeof attachEvent=="function")attachEvent("onunload",h);else if(typeof addEventListener=="function"){const m="onpagehide"in l.globalThisShim?"pagehide":"unload";addEventListener(m,h,!1)}}function h(){for(let m in f.requests)f.requests.hasOwnProperty(m)&&f.requests[m].abort()}return cn}var so={},Gt={},Tv;function Os(){if(Tv)return Gt;Tv=1,Object.defineProperty(Gt,"__esModule",{value:!0}),Gt.defaultBinaryType=Gt.usingBrowserWebSocket=Gt.WebSocket=Gt.nextTick=void 0;const e=Rs();return Gt.nextTick=(()=>typeof Promise=="function"&&typeof Promise.resolve=="function"?r=>Promise.resolve().then(r):(r,n)=>n(r,0))(),Gt.WebSocket=e.globalThisShim.WebSocket||e.globalThisShim.MozWebSocket,Gt.usingBrowserWebSocket=!0,Gt.defaultBinaryType="arraybuffer",Gt}var Sv;function cA(){if(Sv)return so;Sv=1;var e=be&&be.__importDefault||function(c){return c&&c.__esModule?c:{default:c}};Object.defineProperty(so,"__esModule",{value:!0}),so.WS=void 0;const t=Cs(),r=a0(),n=Uo(),a=Os(),o=e(ir()),s=Fo(),i=(0,o.default)("engine.io-client:websocket"),l=typeof navigator<"u"&&typeof navigator.product=="string"&&navigator.product.toLowerCase()==="reactnative";class u extends t.Transport{constructor(p){super(p),this.supportsBinary=!p.forceBase64}get name(){return"websocket"}doOpen(){if(!this.check())return;const p=this.uri(),d=this.opts.protocols,f=l?{}:(0,n.pick)(this.opts,"agent","perMessageDeflate","pfx","key","passphrase","cert","ca","ciphers","rejectUnauthorized","localAddress","protocolVersion","origin","maxPayload","family","checkServerIdentity");this.opts.extraHeaders&&(f.headers=this.opts.extraHeaders);try{this.ws=a.usingBrowserWebSocket&&!l?d?new a.WebSocket(p,d):new a.WebSocket(p):new a.WebSocket(p,d,f)}catch(h){return this.emitReserved("error",h)}this.ws.binaryType=this.socket.binaryType,this.addEventListeners()}addEventListeners(){this.ws.onopen=()=>{this.opts.autoUnref&&this.ws._socket.unref(),this.onOpen()},this.ws.onclose=p=>this.onClose({description:"websocket connection closed",context:p}),this.ws.onmessage=p=>this.onData(p.data),this.ws.onerror=p=>this.onError("websocket error",p)}write(p){this.writable=!1;for(let d=0;d<p.length;d++){const f=p[d],h=d===p.length-1;(0,s.encodePacket)(f,this.supportsBinary,m=>{const _={};a.usingBrowserWebSocket||(f.options&&(_.compress=f.options.compress),this.opts.perMessageDeflate&&(typeof m=="string"?Buffer.byteLength(m):m.length)<this.opts.perMessageDeflate.threshold&&(_.compress=!1));try{a.usingBrowserWebSocket?this.ws.send(m):this.ws.send(m,_)}catch{i("websocket closed before onclose event")}h&&(0,a.nextTick)(()=>{this.writable=!0,this.emitReserved("drain")},this.setTimeoutFn)})}}doClose(){typeof this.ws<"u"&&(this.ws.close(),this.ws=null)}uri(){const p=this.opts.secure?"wss":"ws",d=this.query||{};return this.opts.timestampRequests&&(d[this.opts.timestampParam]=(0,r.yeast)()),this.supportsBinary||(d.b64=1),this.createUri(p,d)}check(){return!!a.WebSocket}}return so.WS=u,so}var lo={},Rv;function fA(){if(Rv)return lo;Rv=1;var e=be&&be.__importDefault||function(i){return i&&i.__esModule?i:{default:i}};Object.defineProperty(lo,"__esModule",{value:!0}),lo.WT=void 0;const t=Cs(),r=Os(),n=Fo(),o=(0,e(ir()).default)("engine.io-client:webtransport");class s extends t.Transport{get name(){return"webtransport"}doOpen(){typeof WebTransport=="function"&&(this.transport=new WebTransport(this.createUri("https"),this.opts.transportOptions[this.name]),this.transport.closed.then(()=>{o("transport closed gracefully"),this.onClose()}).catch(l=>{o("transport closed due to %s",l),this.onError("webtransport error",l)}),this.transport.ready.then(()=>{this.transport.createBidirectionalStream().then(l=>{const u=(0,n.createPacketDecoderStream)(Number.MAX_SAFE_INTEGER,this.socket.binaryType),c=l.readable.pipeThrough(u).getReader(),p=(0,n.createPacketEncoderStream)();p.readable.pipeTo(l.writable),this.writer=p.writable.getWriter();const d=()=>{c.read().then(({done:h,value:m})=>{if(h){o("session is closed");return}o("received chunk: %o",m),this.onPacket(m),d()}).catch(h=>{o("an error occurred while reading: %s",h)})};d();const f={type:"open"};this.query.sid&&(f.data=`{"sid":"${this.query.sid}"}`),this.writer.write(f).then(()=>this.onOpen())})}))}write(l){this.writable=!1;for(let u=0;u<l.length;u++){const c=l[u],p=u===l.length-1;this.writer.write(c).then(()=>{p&&(0,r.nextTick)(()=>{this.writable=!0,this.emitReserved("drain")},this.setTimeoutFn)})}}doClose(){var l;(l=this.transport)===null||l===void 0||l.close()}}return lo.WT=s,lo}var Cv;function o0(){if(Cv)return ro;Cv=1,Object.defineProperty(ro,"__esModule",{value:!0}),ro.transports=void 0;const e=uA(),t=cA(),r=fA();return ro.transports={websocket:t.WS,webtransport:r.WT,polling:e.Polling},ro}var uo={},Ov;function i0(){if(Ov)return uo;Ov=1,Object.defineProperty(uo,"__esModule",{value:!0}),uo.parse=void 0;const e=/^(?:(?![^:@\/?#]+:[^:@\/]*@)(http|https|ws|wss):\/\/)?((?:(([^:@\/?#]*)(?::([^:@\/?#]*))?)?@)?((?:[a-f0-9]{0,4}:){2,7}[a-f0-9]{0,4}|[^:\/?#]*)(?::(\d*))?)(((\/(?:[^?#](?![^?#\/]*\.[^?#\/.]+(?:[?#]|$)))*\/?)?([^?#\/]*))(?:\?([^#]*))?(?:#(.*))?)/,t=["source","protocol","authority","userInfo","user","password","host","port","relative","path","directory","file","query","anchor"];function r(o){const s=o,i=o.indexOf("["),l=o.indexOf("]");i!=-1&&l!=-1&&(o=o.substring(0,i)+o.substring(i,l).replace(/:/g,";")+o.substring(l,o.length));let u=e.exec(o||""),c={},p=14;for(;p--;)c[t[p]]=u[p]||"";return i!=-1&&l!=-1&&(c.source=s,c.host=c.host.substring(1,c.host.length-1).replace(/;/g,":"),c.authority=c.authority.replace("[","").replace("]","").replace(/;/g,":"),c.ipv6uri=!0),c.pathNames=n(c,c.path),c.queryKey=a(c,c.query),c}uo.parse=r;function n(o,s){const i=/\/{2,9}/g,l=s.replace(i,"/").split("/");return(s.slice(0,1)=="/"||s.length===0)&&l.splice(0,1),s.slice(-1)=="/"&&l.splice(l.length-1,1),l}function a(o,s){const i={};return s.replace(/(?:^|&)([^&=]*)=?([^&]*)/g,function(l,u,c){u&&(i[u]=c)}),i}return uo}var xv;function dA(){if(xv)return to;xv=1;var e=be&&be.__importDefault||function(p){return p&&p.__esModule?p:{default:p}};Object.defineProperty(to,"__esModule",{value:!0}),to.Socket=void 0;const t=o0(),r=Uo(),n=n0(),a=i0(),o=e(ir()),s=Ta,i=Fo(),l=Os(),u=(0,o.default)("engine.io-client:socket");class c extends s.Emitter{constructor(d,f={}){super(),this.binaryType=l.defaultBinaryType,this.writeBuffer=[],d&&typeof d=="object"&&(f=d,d=null),d?(d=(0,a.parse)(d),f.hostname=d.host,f.secure=d.protocol==="https"||d.protocol==="wss",f.port=d.port,d.query&&(f.query=d.query)):f.host&&(f.hostname=(0,a.parse)(f.host).host),(0,r.installTimerFunctions)(this,f),this.secure=f.secure!=null?f.secure:typeof location<"u"&&location.protocol==="https:",f.hostname&&!f.port&&(f.port=this.secure?"443":"80"),this.hostname=f.hostname||(typeof location<"u"?location.hostname:"localhost"),this.port=f.port||(typeof location<"u"&&location.port?location.port:this.secure?"443":"80"),this.transports=f.transports||["polling","websocket","webtransport"],this.writeBuffer=[],this.prevBufferLen=0,this.opts=Object.assign({path:"/engine.io",agent:!1,withCredentials:!1,upgrade:!0,timestampParam:"t",rememberUpgrade:!1,addTrailingSlash:!0,rejectUnauthorized:!0,perMessageDeflate:{threshold:1024},transportOptions:{},closeOnBeforeunload:!1},f),this.opts.path=this.opts.path.replace(/\/$/,"")+(this.opts.addTrailingSlash?"/":""),typeof this.opts.query=="string"&&(this.opts.query=(0,n.decode)(this.opts.query)),this.id=null,this.upgrades=null,this.pingInterval=null,this.pingTimeout=null,this.pingTimeoutTimer=null,typeof addEventListener=="function"&&(this.opts.closeOnBeforeunload&&(this.beforeunloadEventListener=()=>{this.transport&&(this.transport.removeAllListeners(),this.transport.close())},addEventListener("beforeunload",this.beforeunloadEventListener,!1)),this.hostname!=="localhost"&&(this.offlineEventListener=()=>{this.onClose("transport close",{description:"network connection lost"})},addEventListener("offline",this.offlineEventListener,!1))),this.open()}createTransport(d){u('creating transport "%s"',d);const f=Object.assign({},this.opts.query);f.EIO=i.protocol,f.transport=d,this.id&&(f.sid=this.id);const h=Object.assign({},this.opts,{query:f,socket:this,hostname:this.hostname,secure:this.secure,port:this.port},this.opts.transportOptions[d]);return u("options: %j",h),new t.transports[d](h)}open(){let d;if(this.opts.rememberUpgrade&&c.priorWebsocketSuccess&&this.transports.indexOf("websocket")!==-1)d="websocket";else if(this.transports.length===0){this.setTimeoutFn(()=>{this.emitReserved("error","No transports available")},0);return}else d=this.transports[0];this.readyState="opening";try{d=this.createTransport(d)}catch(f){u("error while creating transport: %s",f),this.transports.shift(),this.open();return}d.open(),this.setTransport(d)}setTransport(d){u("setting transport %s",d.name),this.transport&&(u("clearing existing transport %s",this.transport.name),this.transport.removeAllListeners()),this.transport=d,d.on("drain",this.onDrain.bind(this)).on("packet",this.onPacket.bind(this)).on("error",this.onError.bind(this)).on("close",f=>this.onClose("transport close",f))}probe(d){u('probing transport "%s"',d);let f=this.createTransport(d),h=!1;c.priorWebsocketSuccess=!1;const m=()=>{h||(u('probe transport "%s" opened',d),f.send([{type:"ping",data:"probe"}]),f.once("packet",C=>{if(!h)if(C.type==="pong"&&C.data==="probe"){if(u('probe transport "%s" pong',d),this.upgrading=!0,this.emitReserved("upgrading",f),!f)return;c.priorWebsocketSuccess=f.name==="websocket",u('pausing current transport "%s"',this.transport.name),this.transport.pause(()=>{h||this.readyState!=="closed"&&(u("changing transport and sending upgrade packet"),T(),this.setTransport(f),f.send([{type:"upgrade"}]),this.emitReserved("upgrade",f),f=null,this.upgrading=!1,this.flush())})}else{u('probe transport "%s" failed',d);const N=new Error("probe error");N.transport=f.name,this.emitReserved("upgradeError",N)}}))};function _(){h||(h=!0,T(),f.close(),f=null)}const b=C=>{const N=new Error("probe error: "+C);N.transport=f.name,_(),u('probe transport "%s" failed because of error: %s',d,C),this.emitReserved("upgradeError",N)};function v(){b("transport closed")}function w(){b("socket closed")}function R(C){f&&C.name!==f.name&&(u('"%s" works - aborting "%s"',C.name,f.name),_())}const T=()=>{f.removeListener("open",m),f.removeListener("error",b),f.removeListener("close",v),this.off("close",w),this.off("upgrading",R)};f.once("open",m),f.once("error",b),f.once("close",v),this.once("close",w),this.once("upgrading",R),this.upgrades.indexOf("webtransport")!==-1&&d!=="webtransport"?this.setTimeoutFn(()=>{h||f.open()},200):f.open()}onOpen(){if(u("socket open"),this.readyState="open",c.priorWebsocketSuccess=this.transport.name==="websocket",this.emitReserved("open"),this.flush(),this.readyState==="open"&&this.opts.upgrade){u("starting upgrade probes");let d=0;const f=this.upgrades.length;for(;d<f;d++)this.probe(this.upgrades[d])}}onPacket(d){if(this.readyState==="opening"||this.readyState==="open"||this.readyState==="closing")switch(u('socket receive: type "%s", data "%s"',d.type,d.data),this.emitReserved("packet",d),this.emitReserved("heartbeat"),this.resetPingTimeout(),d.type){case"open":this.onHandshake(JSON.parse(d.data));break;case"ping":this.sendPacket("pong"),this.emitReserved("ping"),this.emitReserved("pong");break;case"error":const f=new Error("server error");f.code=d.data,this.onError(f);break;case"message":this.emitReserved("data",d.data),this.emitReserved("message",d.data);break}else u('packet received with socket readyState "%s"',this.readyState)}onHandshake(d){this.emitReserved("handshake",d),this.id=d.sid,this.transport.query.sid=d.sid,this.upgrades=this.filterUpgrades(d.upgrades),this.pingInterval=d.pingInterval,this.pingTimeout=d.pingTimeout,this.maxPayload=d.maxPayload,this.onOpen(),this.readyState!=="closed"&&this.resetPingTimeout()}resetPingTimeout(){this.clearTimeoutFn(this.pingTimeoutTimer),this.pingTimeoutTimer=this.setTimeoutFn(()=>{this.onClose("ping timeout")},this.pingInterval+this.pingTimeout),this.opts.autoUnref&&this.pingTimeoutTimer.unref()}onDrain(){this.writeBuffer.splice(0,this.prevBufferLen),this.prevBufferLen=0,this.writeBuffer.length===0?this.emitReserved("drain"):this.flush()}flush(){if(this.readyState!=="closed"&&this.transport.writable&&!this.upgrading&&this.writeBuffer.length){const d=this.getWritablePackets();u("flushing %d packets in socket",d.length),this.transport.send(d),this.prevBufferLen=d.length,this.emitReserved("flush")}}getWritablePackets(){if(!(this.maxPayload&&this.transport.name==="polling"&&this.writeBuffer.length>1))return this.writeBuffer;let f=1;for(let h=0;h<this.writeBuffer.length;h++){const m=this.writeBuffer[h].data;if(m&&(f+=(0,r.byteLength)(m)),h>0&&f>this.maxPayload)return u("only send %d out of %d packets",h,this.writeBuffer.length),this.writeBuffer.slice(0,h);f+=2}return u("payload size is %d (max: %d)",f,this.maxPayload),this.writeBuffer}write(d,f,h){return this.sendPacket("message",d,f,h),this}send(d,f,h){return this.sendPacket("message",d,f,h),this}sendPacket(d,f,h,m){if(typeof f=="function"&&(m=f,f=void 0),typeof h=="function"&&(m=h,h=null),this.readyState==="closing"||this.readyState==="closed")return;h=h||{},h.compress=h.compress!==!1;const _={type:d,data:f,options:h};this.emitReserved("packetCreate",_),this.writeBuffer.push(_),m&&this.once("flush",m),this.flush()}close(){const d=()=>{this.onClose("forced close"),u("socket closing - telling transport to close"),this.transport.close()},f=()=>{this.off("upgrade",f),this.off("upgradeError",f),d()},h=()=>{this.once("upgrade",f),this.once("upgradeError",f)};return(this.readyState==="opening"||this.readyState==="open")&&(this.readyState="closing",this.writeBuffer.length?this.once("drain",()=>{this.upgrading?h():d()}):this.upgrading?h():d()),this}onError(d){u("socket error %j",d),c.priorWebsocketSuccess=!1,this.emitReserved("error",d),this.onClose("transport error",d)}onClose(d,f){(this.readyState==="opening"||this.readyState==="open"||this.readyState==="closing")&&(u('socket close with reason: "%s"',d),this.clearTimeoutFn(this.pingTimeoutTimer),this.transport.removeAllListeners("close"),this.transport.close(),this.transport.removeAllListeners(),typeof removeEventListener=="function"&&(removeEventListener("beforeunload",this.beforeunloadEventListener,!1),removeEventListener("offline",this.offlineEventListener,!1)),this.readyState="closed",this.id=null,this.emitReserved("close",d,f),this.writeBuffer=[],this.prevBufferLen=0)}filterUpgrades(d){const f=[];let h=0;const m=d.length;for(;h<m;h++)~this.transports.indexOf(d[h])&&f.push(d[h]);return f}}return to.Socket=c,c.protocol=i.protocol,to}var Pv;function s0(){return Pv||(Pv=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.nextTick=e.parse=e.installTimerFunctions=e.transports=e.Transport=e.protocol=e.Socket=void 0;const t=dA();Object.defineProperty(e,"Socket",{enumerable:!0,get:function(){return t.Socket}}),e.protocol=t.Socket.protocol;var r=Cs();Object.defineProperty(e,"Transport",{enumerable:!0,get:function(){return r.Transport}});var n=o0();Object.defineProperty(e,"transports",{enumerable:!0,get:function(){return n.transports}});var a=Uo();Object.defineProperty(e,"installTimerFunctions",{enumerable:!0,get:function(){return a.installTimerFunctions}});var o=i0();Object.defineProperty(e,"parse",{enumerable:!0,get:function(){return o.parse}});var s=Os();Object.defineProperty(e,"nextTick",{enumerable:!0,get:function(){return s.nextTick}})}(Yf)),Yf}var Av;function pA(){if(Av)return eo;Av=1;var e=be&&be.__importDefault||function(o){return o&&o.__esModule?o:{default:o}};Object.defineProperty(eo,"__esModule",{value:!0}),eo.url=void 0;const t=s0(),n=e(ir()).default("socket.io-client:url");function a(o,s="",i){let l=o;i=i||typeof location<"u"&&location,o==null&&(o=i.protocol+"//"+i.host),typeof o=="string"&&(o.charAt(0)==="/"&&(o.charAt(1)==="/"?o=i.protocol+o:o=i.host+o),/^(https?|wss?):\/\//.test(o)||(n("protocol-less url %s",o),typeof i<"u"?o=i.protocol+"//"+o:o="https://"+o),n("parse %s",o),l=t.parse(o)),l.port||(/^(http|ws)$/.test(l.protocol)?l.port="80":/^(http|ws)s$/.test(l.protocol)&&(l.port="443")),l.path=l.path||"/";const c=l.host.indexOf(":")!==-1?"["+l.host+"]":l.host;return l.id=l.protocol+"://"+c+":"+l.port+s,l.href=l.protocol+"://"+c+(i&&i.port===l.port?"":":"+l.port),l}return eo.url=a,eo}var co={},fo={},Jf={},mn={},yn={},Iv;function l0(){if(Iv)return yn;Iv=1,Object.defineProperty(yn,"__esModule",{value:!0}),yn.hasBinary=yn.isBinary=void 0;const e=typeof ArrayBuffer=="function",t=i=>typeof ArrayBuffer.isView=="function"?ArrayBuffer.isView(i):i.buffer instanceof ArrayBuffer,r=Object.prototype.toString,n=typeof Blob=="function"||typeof Blob<"u"&&r.call(Blob)==="[object BlobConstructor]",a=typeof File=="function"||typeof File<"u"&&r.call(File)==="[object FileConstructor]";function o(i){return e&&(i instanceof ArrayBuffer||t(i))||n&&i instanceof Blob||a&&i instanceof File}yn.isBinary=o;function s(i,l){if(!i||typeof i!="object")return!1;if(Array.isArray(i)){for(let u=0,c=i.length;u<c;u++)if(s(i[u]))return!0;return!1}if(o(i))return!0;if(i.toJSON&&typeof i.toJSON=="function"&&arguments.length===1)return s(i.toJSON(),!0);for(const u in i)if(Object.prototype.hasOwnProperty.call(i,u)&&s(i[u]))return!0;return!1}return yn.hasBinary=s,yn}var Nv;function hA(){if(Nv)return mn;Nv=1,Object.defineProperty(mn,"__esModule",{value:!0}),mn.reconstructPacket=mn.deconstructPacket=void 0;const e=l0();function t(o){const s=[],i=o.data,l=o;return l.data=r(i,s),l.attachments=s.length,{packet:l,buffers:s}}mn.deconstructPacket=t;function r(o,s){if(!o)return o;if((0,e.isBinary)(o)){const i={_placeholder:!0,num:s.length};return s.push(o),i}else if(Array.isArray(o)){const i=new Array(o.length);for(let l=0;l<o.length;l++)i[l]=r(o[l],s);return i}else if(typeof o=="object"&&!(o instanceof Date)){const i={};for(const l in o)Object.prototype.hasOwnProperty.call(o,l)&&(i[l]=r(o[l],s));return i}return o}function n(o,s){return o.data=a(o.data,s),delete o.attachments,o}mn.reconstructPacket=n;function a(o,s){if(!o)return o;if(o&&o._placeholder===!0){if(typeof o.num=="number"&&o.num>=0&&o.num<s.length)return s[o.num];throw new Error("illegal attachments")}else if(Array.isArray(o))for(let i=0;i<o.length;i++)o[i]=a(o[i],s);else if(typeof o=="object")for(const i in o)Object.prototype.hasOwnProperty.call(o,i)&&(o[i]=a(o[i],s));return o}return mn}var Mv;function Th(){return Mv||(Mv=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.Decoder=e.Encoder=e.PacketType=e.protocol=void 0;const t=Ta,r=hA(),n=l0(),o=(0,ir().default)("socket.io-parser"),s=["connect","connect_error","disconnect","disconnecting","newListener","removeListener"];e.protocol=5;var i;(function(d){d[d.CONNECT=0]="CONNECT",d[d.DISCONNECT=1]="DISCONNECT",d[d.EVENT=2]="EVENT",d[d.ACK=3]="ACK",d[d.CONNECT_ERROR=4]="CONNECT_ERROR",d[d.BINARY_EVENT=5]="BINARY_EVENT",d[d.BINARY_ACK=6]="BINARY_ACK"})(i=e.PacketType||(e.PacketType={}));class l{constructor(f){this.replacer=f}encode(f){return o("encoding packet %j",f),(f.type===i.EVENT||f.type===i.ACK)&&(0,n.hasBinary)(f)?this.encodeAsBinary({type:f.type===i.EVENT?i.BINARY_EVENT:i.BINARY_ACK,nsp:f.nsp,data:f.data,id:f.id}):[this.encodeAsString(f)]}encodeAsString(f){let h=""+f.type;return(f.type===i.BINARY_EVENT||f.type===i.BINARY_ACK)&&(h+=f.attachments+"-"),f.nsp&&f.nsp!=="/"&&(h+=f.nsp+","),f.id!=null&&(h+=f.id),f.data!=null&&(h+=JSON.stringify(f.data,this.replacer)),o("encoded %j as %s",f,h),h}encodeAsBinary(f){const h=(0,r.deconstructPacket)(f),m=this.encodeAsString(h.packet),_=h.buffers;return _.unshift(m),_}}e.Encoder=l;function u(d){return Object.prototype.toString.call(d)==="[object Object]"}class c extends t.Emitter{constructor(f){super(),this.reviver=f}add(f){let h;if(typeof f=="string"){if(this.reconstructor)throw new Error("got plaintext data when reconstructing a packet");h=this.decodeString(f);const m=h.type===i.BINARY_EVENT;m||h.type===i.BINARY_ACK?(h.type=m?i.EVENT:i.ACK,this.reconstructor=new p(h),h.attachments===0&&super.emitReserved("decoded",h)):super.emitReserved("decoded",h)}else if((0,n.isBinary)(f)||f.base64)if(this.reconstructor)h=this.reconstructor.takeBinaryData(f),h&&(this.reconstructor=null,super.emitReserved("decoded",h));else throw new Error("got binary data when not reconstructing a packet");else throw new Error("Unknown type: "+f)}decodeString(f){let h=0;const m={type:Number(f.charAt(0))};if(i[m.type]===void 0)throw new Error("unknown packet type "+m.type);if(m.type===i.BINARY_EVENT||m.type===i.BINARY_ACK){const b=h+1;for(;f.charAt(++h)!=="-"&&h!=f.length;);const v=f.substring(b,h);if(v!=Number(v)||f.charAt(h)!=="-")throw new Error("Illegal attachments");m.attachments=Number(v)}if(f.charAt(h+1)==="/"){const b=h+1;for(;++h&&!(f.charAt(h)===","||h===f.length););m.nsp=f.substring(b,h)}else m.nsp="/";const _=f.charAt(h+1);if(_!==""&&Number(_)==_){const b=h+1;for(;++h;){const v=f.charAt(h);if(v==null||Number(v)!=v){--h;break}if(h===f.length)break}m.id=Number(f.substring(b,h+1))}if(f.charAt(++h)){const b=this.tryParse(f.substr(h));if(c.isPayloadValid(m.type,b))m.data=b;else throw new Error("invalid payload")}return o("decoded %s as %j",f,m),m}tryParse(f){try{return JSON.parse(f,this.reviver)}catch{return!1}}static isPayloadValid(f,h){switch(f){case i.CONNECT:return u(h);case i.DISCONNECT:return h===void 0;case i.CONNECT_ERROR:return typeof h=="string"||u(h);case i.EVENT:case i.BINARY_EVENT:return Array.isArray(h)&&(typeof h[0]=="number"||typeof h[0]=="string"&&s.indexOf(h[0])===-1);case i.ACK:case i.BINARY_ACK:return Array.isArray(h)}}destroy(){this.reconstructor&&(this.reconstructor.finishedReconstruction(),this.reconstructor=null)}}e.Decoder=c;class p{constructor(f){this.packet=f,this.buffers=[],this.reconPack=f}takeBinaryData(f){if(this.buffers.push(f),this.buffers.length===this.reconPack.attachments){const h=(0,r.reconstructPacket)(this.reconPack,this.buffers);return this.finishedReconstruction(),h}return null}finishedReconstruction(){this.reconPack=null,this.buffers=[]}}}(Jf)),Jf}var po={},kv;function u0(){if(kv)return po;kv=1,Object.defineProperty(po,"__esModule",{value:!0}),po.on=void 0;function e(t,r,n){return t.on(r,n),function(){t.off(r,n)}}return po.on=e,po}var $v;function c0(){if($v)return fo;$v=1;var e=be&&be.__importDefault||function(l){return l&&l.__esModule?l:{default:l}};Object.defineProperty(fo,"__esModule",{value:!0}),fo.Socket=void 0;const t=Th(),r=u0(),n=Ta,o=e(ir()).default("socket.io-client:socket"),s=Object.freeze({connect:1,connect_error:1,disconnect:1,disconnecting:1,newListener:1,removeListener:1});class i extends n.Emitter{constructor(u,c,p){super(),this.connected=!1,this.recovered=!1,this.receiveBuffer=[],this.sendBuffer=[],this._queue=[],this._queueSeq=0,this.ids=0,this.acks={},this.flags={},this.io=u,this.nsp=c,p&&p.auth&&(this.auth=p.auth),this._opts=Object.assign({},p),this.io._autoConnect&&this.open()}get disconnected(){return!this.connected}subEvents(){if(this.subs)return;const u=this.io;this.subs=[r.on(u,"open",this.onopen.bind(this)),r.on(u,"packet",this.onpacket.bind(this)),r.on(u,"error",this.onerror.bind(this)),r.on(u,"close",this.onclose.bind(this))]}get active(){return!!this.subs}connect(){return this.connected?this:(this.subEvents(),this.io._reconnecting||this.io.open(),this.io._readyState==="open"&&this.onopen(),this)}open(){return this.connect()}send(...u){return u.unshift("message"),this.emit.apply(this,u),this}emit(u,...c){if(s.hasOwnProperty(u))throw new Error('"'+u.toString()+'" is a reserved event name');if(c.unshift(u),this._opts.retries&&!this.flags.fromQueue&&!this.flags.volatile)return this._addToQueue(c),this;const p={type:t.PacketType.EVENT,data:c};if(p.options={},p.options.compress=this.flags.compress!==!1,typeof c[c.length-1]=="function"){const h=this.ids++;o("emitting packet with ack id %d",h);const m=c.pop();this._registerAckCallback(h,m),p.id=h}const d=this.io.engine&&this.io.engine.transport&&this.io.engine.transport.writable;return this.flags.volatile&&(!d||!this.connected)?o("discard packet as the transport is not currently writable"):this.connected?(this.notifyOutgoingListeners(p),this.packet(p)):this.sendBuffer.push(p),this.flags={},this}_registerAckCallback(u,c){var p;const d=(p=this.flags.timeout)!==null&&p!==void 0?p:this._opts.ackTimeout;if(d===void 0){this.acks[u]=c;return}const f=this.io.setTimeoutFn(()=>{delete this.acks[u];for(let h=0;h<this.sendBuffer.length;h++)this.sendBuffer[h].id===u&&(o("removing packet with ack id %d from the buffer",u),this.sendBuffer.splice(h,1));o("event with ack id %d has timed out after %d ms",u,d),c.call(this,new Error("operation has timed out"))},d);this.acks[u]=(...h)=>{this.io.clearTimeoutFn(f),c.apply(this,[null,...h])}}emitWithAck(u,...c){const p=this.flags.timeout!==void 0||this._opts.ackTimeout!==void 0;return new Promise((d,f)=>{c.push((h,m)=>p?h?f(h):d(m):d(h)),this.emit(u,...c)})}_addToQueue(u){let c;typeof u[u.length-1]=="function"&&(c=u.pop());const p={id:this._queueSeq++,tryCount:0,pending:!1,args:u,flags:Object.assign({fromQueue:!0},this.flags)};u.push((d,...f)=>p!==this._queue[0]?void 0:(d!==null?p.tryCount>this._opts.retries&&(o("packet [%d] is discarded after %d tries",p.id,p.tryCount),this._queue.shift(),c&&c(d)):(o("packet [%d] was successfully sent",p.id),this._queue.shift(),c&&c(null,...f)),p.pending=!1,this._drainQueue())),this._queue.push(p),this._drainQueue()}_drainQueue(u=!1){if(o("draining queue"),!this.connected||this._queue.length===0)return;const c=this._queue[0];if(c.pending&&!u){o("packet [%d] has already been sent and is waiting for an ack",c.id);return}c.pending=!0,c.tryCount++,o("sending packet [%d] (try n°%d)",c.id,c.tryCount),this.flags=c.flags,this.emit.apply(this,c.args)}packet(u){u.nsp=this.nsp,this.io._packet(u)}onopen(){o("transport is open - connecting"),typeof this.auth=="function"?this.auth(u=>{this._sendConnectPacket(u)}):this._sendConnectPacket(this.auth)}_sendConnectPacket(u){this.packet({type:t.PacketType.CONNECT,data:this._pid?Object.assign({pid:this._pid,offset:this._lastOffset},u):u})}onerror(u){this.connected||this.emitReserved("connect_error",u)}onclose(u,c){o("close (%s)",u),this.connected=!1,delete this.id,this.emitReserved("disconnect",u,c)}onpacket(u){if(u.nsp===this.nsp)switch(u.type){case t.PacketType.CONNECT:u.data&&u.data.sid?this.onconnect(u.data.sid,u.data.pid):this.emitReserved("connect_error",new Error("It seems you are trying to reach a Socket.IO server in v2.x with a v3.x client, but they are not compatible (more information here: https://socket.io/docs/v3/migrating-from-2-x-to-3-0/)"));break;case t.PacketType.EVENT:case t.PacketType.BINARY_EVENT:this.onevent(u);break;case t.PacketType.ACK:case t.PacketType.BINARY_ACK:this.onack(u);break;case t.PacketType.DISCONNECT:this.ondisconnect();break;case t.PacketType.CONNECT_ERROR:this.destroy();const p=new Error(u.data.message);p.data=u.data.data,this.emitReserved("connect_error",p);break}}onevent(u){const c=u.data||[];o("emitting event %j",c),u.id!=null&&(o("attaching ack callback to event"),c.push(this.ack(u.id))),this.connected?this.emitEvent(c):this.receiveBuffer.push(Object.freeze(c))}emitEvent(u){if(this._anyListeners&&this._anyListeners.length){const c=this._anyListeners.slice();for(const p of c)p.apply(this,u)}super.emit.apply(this,u),this._pid&&u.length&&typeof u[u.length-1]=="string"&&(this._lastOffset=u[u.length-1])}ack(u){const c=this;let p=!1;return function(...d){p||(p=!0,o("sending ack %j",d),c.packet({type:t.PacketType.ACK,id:u,data:d}))}}onack(u){const c=this.acks[u.id];typeof c=="function"?(o("calling ack %s with %j",u.id,u.data),c.apply(this,u.data),delete this.acks[u.id]):o("bad ack %s",u.id)}onconnect(u,c){o("socket connected with id %s",u),this.id=u,this.recovered=c&&this._pid===c,this._pid=c,this.connected=!0,this.emitBuffered(),this.emitReserved("connect"),this._drainQueue(!0)}emitBuffered(){this.receiveBuffer.forEach(u=>this.emitEvent(u)),this.receiveBuffer=[],this.sendBuffer.forEach(u=>{this.notifyOutgoingListeners(u),this.packet(u)}),this.sendBuffer=[]}ondisconnect(){o("server disconnect (%s)",this.nsp),this.destroy(),this.onclose("io server disconnect")}destroy(){this.subs&&(this.subs.forEach(u=>u()),this.subs=void 0),this.io._destroy(this)}disconnect(){return this.connected&&(o("performing disconnect (%s)",this.nsp),this.packet({type:t.PacketType.DISCONNECT})),this.destroy(),this.connected&&this.onclose("io client disconnect"),this}close(){return this.disconnect()}compress(u){return this.flags.compress=u,this}get volatile(){return this.flags.volatile=!0,this}timeout(u){return this.flags.timeout=u,this}onAny(u){return this._anyListeners=this._anyListeners||[],this._anyListeners.push(u),this}prependAny(u){return this._anyListeners=this._anyListeners||[],this._anyListeners.unshift(u),this}offAny(u){if(!this._anyListeners)return this;if(u){const c=this._anyListeners;for(let p=0;p<c.length;p++)if(u===c[p])return c.splice(p,1),this}else this._anyListeners=[];return this}listenersAny(){return this._anyListeners||[]}onAnyOutgoing(u){return this._anyOutgoingListeners=this._anyOutgoingListeners||[],this._anyOutgoingListeners.push(u),this}prependAnyOutgoing(u){return this._anyOutgoingListeners=this._anyOutgoingListeners||[],this._anyOutgoingListeners.unshift(u),this}offAnyOutgoing(u){if(!this._anyOutgoingListeners)return this;if(u){const c=this._anyOutgoingListeners;for(let p=0;p<c.length;p++)if(u===c[p])return c.splice(p,1),this}else this._anyOutgoingListeners=[];return this}listenersAnyOutgoing(){return this._anyOutgoingListeners||[]}notifyOutgoingListeners(u){if(this._anyOutgoingListeners&&this._anyOutgoingListeners.length){const c=this._anyOutgoingListeners.slice();for(const p of c)p.apply(this,u.data)}}}return fo.Socket=i,fo}var ho={},Lv;function mA(){if(Lv)return ho;Lv=1,Object.defineProperty(ho,"__esModule",{value:!0}),ho.Backoff=void 0;function e(t){t=t||{},this.ms=t.min||100,this.max=t.max||1e4,this.factor=t.factor||2,this.jitter=t.jitter>0&&t.jitter<=1?t.jitter:0,this.attempts=0}return ho.Backoff=e,e.prototype.duration=function(){var t=this.ms*Math.pow(this.factor,this.attempts++);if(this.jitter){var r=Math.random(),n=Math.floor(r*this.jitter*t);t=Math.floor(r*10)&1?t+n:t-n}return Math.min(t,this.max)|0},e.prototype.reset=function(){this.attempts=0},e.prototype.setMin=function(t){this.ms=t},e.prototype.setMax=function(t){this.max=t},e.prototype.setJitter=function(t){this.jitter=t},ho}var Bv;function yA(){if(Bv)return co;Bv=1;var e=be&&be.__createBinding||(Object.create?function(f,h,m,_){_===void 0&&(_=m),Object.defineProperty(f,_,{enumerable:!0,get:function(){return h[m]}})}:function(f,h,m,_){_===void 0&&(_=m),f[_]=h[m]}),t=be&&be.__setModuleDefault||(Object.create?function(f,h){Object.defineProperty(f,"default",{enumerable:!0,value:h})}:function(f,h){f.default=h}),r=be&&be.__importStar||function(f){if(f&&f.__esModule)return f;var h={};if(f!=null)for(var m in f)m!=="default"&&Object.prototype.hasOwnProperty.call(f,m)&&e(h,f,m);return t(h,f),h},n=be&&be.__importDefault||function(f){return f&&f.__esModule?f:{default:f}};Object.defineProperty(co,"__esModule",{value:!0}),co.Manager=void 0;const a=s0(),o=c0(),s=r(Th()),i=u0(),l=mA(),u=Ta,p=n(ir()).default("socket.io-client:manager");class d extends u.Emitter{constructor(h,m){var _;super(),this.nsps={},this.subs=[],h&&typeof h=="object"&&(m=h,h=void 0),m=m||{},m.path=m.path||"/socket.io",this.opts=m,a.installTimerFunctions(this,m),this.reconnection(m.reconnection!==!1),this.reconnectionAttempts(m.reconnectionAttempts||1/0),this.reconnectionDelay(m.reconnectionDelay||1e3),this.reconnectionDelayMax(m.reconnectionDelayMax||5e3),this.randomizationFactor((_=m.randomizationFactor)!==null&&_!==void 0?_:.5),this.backoff=new l.Backoff({min:this.reconnectionDelay(),max:this.reconnectionDelayMax(),jitter:this.randomizationFactor()}),this.timeout(m.timeout==null?2e4:m.timeout),this._readyState="closed",this.uri=h;const b=m.parser||s;this.encoder=new b.Encoder,this.decoder=new b.Decoder,this._autoConnect=m.autoConnect!==!1,this._autoConnect&&this.open()}reconnection(h){return arguments.length?(this._reconnection=!!h,this):this._reconnection}reconnectionAttempts(h){return h===void 0?this._reconnectionAttempts:(this._reconnectionAttempts=h,this)}reconnectionDelay(h){var m;return h===void 0?this._reconnectionDelay:(this._reconnectionDelay=h,(m=this.backoff)===null||m===void 0||m.setMin(h),this)}randomizationFactor(h){var m;return h===void 0?this._randomizationFactor:(this._randomizationFactor=h,(m=this.backoff)===null||m===void 0||m.setJitter(h),this)}reconnectionDelayMax(h){var m;return h===void 0?this._reconnectionDelayMax:(this._reconnectionDelayMax=h,(m=this.backoff)===null||m===void 0||m.setMax(h),this)}timeout(h){return arguments.length?(this._timeout=h,this):this._timeout}maybeReconnectOnOpen(){!this._reconnecting&&this._reconnection&&this.backoff.attempts===0&&this.reconnect()}open(h){if(p("readyState %s",this._readyState),~this._readyState.indexOf("open"))return this;p("opening %s",this.uri),this.engine=new a.Socket(this.uri,this.opts);const m=this.engine,_=this;this._readyState="opening",this.skipReconnect=!1;const b=i.on(m,"open",function(){_.onopen(),h&&h()}),v=R=>{p("error"),this.cleanup(),this._readyState="closed",this.emitReserved("error",R),h?h(R):this.maybeReconnectOnOpen()},w=i.on(m,"error",v);if(this._timeout!==!1){const R=this._timeout;p("connect attempt will timeout after %d",R);const T=this.setTimeoutFn(()=>{p("connect attempt timed out after %d",R),b(),v(new Error("timeout")),m.close()},R);this.opts.autoUnref&&T.unref(),this.subs.push(()=>{this.clearTimeoutFn(T)})}return this.subs.push(b),this.subs.push(w),this}connect(h){return this.open(h)}onopen(){p("open"),this.cleanup(),this._readyState="open",this.emitReserved("open");const h=this.engine;this.subs.push(i.on(h,"ping",this.onping.bind(this)),i.on(h,"data",this.ondata.bind(this)),i.on(h,"error",this.onerror.bind(this)),i.on(h,"close",this.onclose.bind(this)),i.on(this.decoder,"decoded",this.ondecoded.bind(this)))}onping(){this.emitReserved("ping")}ondata(h){try{this.decoder.add(h)}catch(m){this.onclose("parse error",m)}}ondecoded(h){a.nextTick(()=>{this.emitReserved("packet",h)},this.setTimeoutFn)}onerror(h){p("error",h),this.emitReserved("error",h)}socket(h,m){let _=this.nsps[h];return _?this._autoConnect&&!_.active&&_.connect():(_=new o.Socket(this,h,m),this.nsps[h]=_),_}_destroy(h){const m=Object.keys(this.nsps);for(const _ of m)if(this.nsps[_].active){p("socket %s is still active, skipping close",_);return}this._close()}_packet(h){p("writing packet %j",h);const m=this.encoder.encode(h);for(let _=0;_<m.length;_++)this.engine.write(m[_],h.options)}cleanup(){p("cleanup"),this.subs.forEach(h=>h()),this.subs.length=0,this.decoder.destroy()}_close(){p("disconnect"),this.skipReconnect=!0,this._reconnecting=!1,this.onclose("forced close"),this.engine&&this.engine.close()}disconnect(){return this._close()}onclose(h,m){p("closed due to %s",h),this.cleanup(),this.backoff.reset(),this._readyState="closed",this.emitReserved("close",h,m),this._reconnection&&!this.skipReconnect&&this.reconnect()}reconnect(){if(this._reconnecting||this.skipReconnect)return this;const h=this;if(this.backoff.attempts>=this._reconnectionAttempts)p("reconnect failed"),this.backoff.reset(),this.emitReserved("reconnect_failed"),this._reconnecting=!1;else{const m=this.backoff.duration();p("will wait %dms before reconnect attempt",m),this._reconnecting=!0;const _=this.setTimeoutFn(()=>{h.skipReconnect||(p("attempting reconnect"),this.emitReserved("reconnect_attempt",h.backoff.attempts),!h.skipReconnect&&h.open(b=>{b?(p("reconnect attempt error"),h._reconnecting=!1,h.reconnect(),this.emitReserved("reconnect_error",b)):(p("reconnect success"),h.onreconnect())}))},m);this.opts.autoUnref&&_.unref(),this.subs.push(()=>{this.clearTimeoutFn(_)})}}onreconnect(){const h=this.backoff.attempts;this._reconnecting=!1,this.backoff.reset(),this.emitReserved("reconnect",h)}}return co.Manager=d,co}var qv;function vA(){return qv||(qv=1,function(e,t){var r=be&&be.__importDefault||function(p){return p&&p.__esModule?p:{default:p}};Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.connect=t.io=t.Socket=t.Manager=t.protocol=void 0;const n=pA(),a=yA();Object.defineProperty(t,"Manager",{enumerable:!0,get:function(){return a.Manager}});const o=c0();Object.defineProperty(t,"Socket",{enumerable:!0,get:function(){return o.Socket}});const i=r(ir()).default("socket.io-client"),l={};function u(p,d){typeof p=="object"&&(d=p,p=void 0),d=d||{};const f=n.url(p,d.path||"/socket.io"),h=f.source,m=f.id,_=f.path,b=l[m]&&_ in l[m].nsps,v=d.forceNew||d["force new connection"]||d.multiplex===!1||b;let w;return v?(i("ignoring socket cache for %s",h),w=new a.Manager(h,d)):(l[m]||(i("new io instance for %s",h),l[m]=new a.Manager(h,d)),w=l[m]),f.query&&!d.query&&(d.query=f.queryKey),w.socket(f.path,d)}t.io=u,t.connect=u,t.default=u,Object.assign(u,{Manager:a.Manager,Socket:o.Socket,io:u,connect:u});var c=Th();Object.defineProperty(t,"protocol",{enumerable:!0,get:function(){return c.protocol}}),e.exports=u}(Si,Si.exports)),Si.exports}var Zf={},mo={},Dv;function gA(){if(Dv)return mo;Dv=1,mo.byteLength=i,mo.toByteArray=u,mo.fromByteArray=d;for(var e=[],t=[],r=typeof Uint8Array<"u"?Uint8Array:Array,n="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",a=0,o=n.length;a<o;++a)e[a]=n[a],t[n.charCodeAt(a)]=a;t["-".charCodeAt(0)]=62,t["_".charCodeAt(0)]=63;function s(f){var h=f.length;if(h%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var m=f.indexOf("=");m===-1&&(m=h);var _=m===h?0:4-m%4;return[m,_]}function i(f){var h=s(f),m=h[0],_=h[1];return(m+_)*3/4-_}function l(f,h,m){return(h+m)*3/4-m}function u(f){var h,m=s(f),_=m[0],b=m[1],v=new r(l(f,_,b)),w=0,R=b>0?_-4:_,T;for(T=0;T<R;T+=4)h=t[f.charCodeAt(T)]<<18|t[f.charCodeAt(T+1)]<<12|t[f.charCodeAt(T+2)]<<6|t[f.charCodeAt(T+3)],v[w++]=h>>16&255,v[w++]=h>>8&255,v[w++]=h&255;return b===2&&(h=t[f.charCodeAt(T)]<<2|t[f.charCodeAt(T+1)]>>4,v[w++]=h&255),b===1&&(h=t[f.charCodeAt(T)]<<10|t[f.charCodeAt(T+1)]<<4|t[f.charCodeAt(T+2)]>>2,v[w++]=h>>8&255,v[w++]=h&255),v}function c(f){return e[f>>18&63]+e[f>>12&63]+e[f>>6&63]+e[f&63]}function p(f,h,m){for(var _,b=[],v=h;v<m;v+=3)_=(f[v]<<16&16711680)+(f[v+1]<<8&65280)+(f[v+2]&255),b.push(c(_));return b.join("")}function d(f){for(var h,m=f.length,_=m%3,b=[],v=16383,w=0,R=m-_;w<R;w+=v)b.push(p(f,w,w+v>R?R:w+v));return _===1?(h=f[m-1],b.push(e[h>>2]+e[h<<4&63]+"==")):_===2&&(h=(f[m-2]<<8)+f[m-1],b.push(e[h>>10]+e[h>>4&63]+e[h<<2&63]+"=")),b.join("")}return mo}var Ci={};/*! ieee754. BSD-3-Clause License. Feross Aboukhadijeh <https://feross.org/opensource> */var Fv;function bA(){return Fv||(Fv=1,Ci.read=function(e,t,r,n,a){var o,s,i=a*8-n-1,l=(1<<i)-1,u=l>>1,c=-7,p=r?a-1:0,d=r?-1:1,f=e[t+p];for(p+=d,o=f&(1<<-c)-1,f>>=-c,c+=i;c>0;o=o*256+e[t+p],p+=d,c-=8);for(s=o&(1<<-c)-1,o>>=-c,c+=n;c>0;s=s*256+e[t+p],p+=d,c-=8);if(o===0)o=1-u;else{if(o===l)return s?NaN:(f?-1:1)*(1/0);s=s+Math.pow(2,n),o=o-u}return(f?-1:1)*s*Math.pow(2,o-n)},Ci.write=function(e,t,r,n,a,o){var s,i,l,u=o*8-a-1,c=(1<<u)-1,p=c>>1,d=a===23?Math.pow(2,-24)-Math.pow(2,-77):0,f=n?0:o-1,h=n?1:-1,m=t<0||t===0&&1/t<0?1:0;for(t=Math.abs(t),isNaN(t)||t===1/0?(i=isNaN(t)?1:0,s=c):(s=Math.floor(Math.log(t)/Math.LN2),t*(l=Math.pow(2,-s))<1&&(s--,l*=2),s+p>=1?t+=d/l:t+=d*Math.pow(2,1-p),t*l>=2&&(s++,l/=2),s+p>=c?(i=0,s=c):s+p>=1?(i=(t*l-1)*Math.pow(2,a),s=s+p):(i=t*Math.pow(2,p-1)*Math.pow(2,a),s=0));a>=8;e[r+f]=i&255,f+=h,i/=256,a-=8);for(s=s<<a|i,u+=a;u>0;e[r+f]=s&255,f+=h,s/=256,u-=8);e[r+f-h]|=m*128}),Ci}/*!
56
+ window.`+s+".push("+JSON.stringify(o)+")"}};return Wf=n,Wf}var Vf,av;function GP(){if(av)return Vf;av=1;var e=HP(),t=r(e);function r(a){return a&&a.__esModule?a:{default:a}}var n={dataScript:function(o){var s=document.createElement("script");return s.innerHTML=o,s},gtm:function(o){var s=t.default.tags(o),i=function(){var p=document.createElement("noscript");return p.innerHTML=s.iframe,p},l=function(){var p=document.createElement("script");return p.innerHTML=s.script,p},u=this.dataScript(s.dataLayerVar);return{noScript:i,script:l,dataScript:u}},initialize:function(o){var s=o.gtmId,i=o.events,l=i===void 0?{}:i,u=o.dataLayer,c=o.dataLayerName,p=c===void 0?"dataLayer":c,d=o.auth,f=d===void 0?"":d,h=o.preview,m=h===void 0?"":h,_=this.gtm({id:s,events:l,dataLayer:u||void 0,dataLayerName:p,auth:f,preview:m});u&&document.head.appendChild(_.dataScript),document.head.insertBefore(_.script(),document.head.childNodes[0]),document.body.insertBefore(_.noScript(),document.body.childNodes[0])},dataLayer:function(o){var s=o.dataLayer,i=o.dataLayerName,l=i===void 0?"dataLayer":i;if(window[l])return window[l].push(s);var u=t.default.dataLayer(s,l),c=this.dataScript(u);document.head.insertBefore(c,document.head.childNodes[0])}};return Vf=n,Vf}var zf,ov;function WP(){if(ov)return zf;ov=1;var e=GP(),t=r(e);function r(n){return n&&n.__esModule?n:{default:n}}return zf=t.default,zf}var iv;function VP(){return iv||(iv=1,function(e,t){(function(r,n){e.exports=n(WP())})(be,function(r){return function(){var n={273:function(i){i.exports=r}},a={};function o(i){var l=a[i];if(l!==void 0)return l.exports;var u=a[i]={exports:{}};return n[i](u,u.exports,o),u.exports}o.n=function(i){var l=i&&i.__esModule?function(){return i.default}:function(){return i};return o.d(l,{a:l}),l},o.d=function(i,l){for(var u in l)o.o(l,u)&&!o.o(i,u)&&Object.defineProperty(i,u,{enumerable:!0,get:l[u]})},o.o=function(i,l){return Object.prototype.hasOwnProperty.call(i,l)},o.r=function(i){typeof Symbol<"u"&&Symbol.toStringTag&&Object.defineProperty(i,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(i,"__esModule",{value:!0})};var s={};return function(){o.r(s),o.d(s,{setContext:function(){return c},setupGTM:function(){return d}});var i=o(273),l=o.n(i);let u=null;const c=({configs:f,environment:h})=>{if(!h)throw new Error("Cannot set context: Environment not defined");if(!f)throw new Error("Cannot set context: REACT_APP_GTM_ID not defined");if(!f[h])throw new Error(`Cannot set context: REACT_APP_GTM_ID not defined for environment - ${JSON.stringify({configs:f,environment:h})}`);u=f[h]},p=()=>u,d=()=>{const f=p();l().initialize({gtmId:f.id})}}(),s}()})}(Gf)),Gf.exports}var t_=202,r_=502,n_=400,a_=409,o_=100,i_=201,s_=417,zP=424,l_=403,u_=504,c_=410,f_=505,d_=418,p_=419,h_=507,m_=500,y_=411,v_=423,g_=420,b_=405,E_=301,__=302,w_=207,T_=300,S_=511,R_=204,C_=203,O_=406,x_=404,P_=501,A_=304,I_=200,N_=206,M_=402,k_=308,$_=412,L_=428,B_=102,q_=407,D_=431,F_=408,U_=413,j_=414,H_=416,G_=205,W_=303,V_=503,z_=101,Y_=307,K_=429,X_=401,Q_=422,J_=415,Z_=305;const YP={ACCEPTED:t_,BAD_GATEWAY:r_,BAD_REQUEST:n_,CONFLICT:a_,CONTINUE:o_,CREATED:i_,EXPECTATION_FAILED:s_,FORBIDDEN:l_,GATEWAY_TIMEOUT:u_,GONE:c_,HTTP_VERSION_NOT_SUPPORTED:f_,IM_A_TEAPOT:d_,INSUFFICIENT_SPACE_ON_RESOURCE:p_,INSUFFICIENT_STORAGE:h_,INTERNAL_SERVER_ERROR:m_,LENGTH_REQUIRED:y_,LOCKED:v_,METHOD_FAILURE:g_,METHOD_NOT_ALLOWED:b_,MOVED_PERMANENTLY:E_,MOVED_TEMPORARILY:__,MULTI_STATUS:w_,MULTIPLE_CHOICES:T_,NETWORK_AUTHENTICATION_REQUIRED:S_,NO_CONTENT:R_,NON_AUTHORITATIVE_INFORMATION:C_,NOT_ACCEPTABLE:O_,NOT_FOUND:x_,NOT_IMPLEMENTED:P_,NOT_MODIFIED:A_,OK:I_,PARTIAL_CONTENT:N_,PAYMENT_REQUIRED:M_,PERMANENT_REDIRECT:k_,PRECONDITION_FAILED:$_,PRECONDITION_REQUIRED:L_,PROCESSING:B_,PROXY_AUTHENTICATION_REQUIRED:q_,REQUEST_HEADER_FIELDS_TOO_LARGE:D_,REQUEST_TIMEOUT:F_,REQUEST_TOO_LONG:U_,REQUEST_URI_TOO_LONG:j_,REQUESTED_RANGE_NOT_SATISFIABLE:H_,RESET_CONTENT:G_,SEE_OTHER:W_,SERVICE_UNAVAILABLE:V_,SWITCHING_PROTOCOLS:z_,TEMPORARY_REDIRECT:Y_,TOO_MANY_REQUESTS:K_,UNAUTHORIZED:X_,UNPROCESSABLE_ENTITY:Q_,UNSUPPORTED_MEDIA_TYPE:J_,USE_PROXY:Z_};var KP={202:"Accepted",502:"Bad Gateway",400:"Bad Request",409:"Conflict",100:"Continue",201:"Created",417:"Expectation Failed",424:"Failed Dependency",403:"Forbidden",504:"Gateway Timeout",410:"Gone",505:"HTTP Version Not Supported",418:"I'm a teapot",419:"Insufficient Space on Resource",507:"Insufficient Storage",500:"Internal Server Error",411:"Length Required",423:"Locked",420:"Method Failure",405:"Method Not Allowed",301:"Moved Permanently",302:"Moved Temporarily",207:"Multi-Status",300:"Multiple Choices",511:"Network Authentication Required",204:"No Content",203:"Non Authoritative Information",406:"Not Acceptable",404:"Not Found",501:"Not Implemented",304:"Not Modified",200:"OK",206:"Partial Content",402:"Payment Required",308:"Permanent Redirect",412:"Precondition Failed",428:"Precondition Required",102:"Processing",407:"Proxy Authentication Required",431:"Request Header Fields Too Large",408:"Request Timeout",413:"Request Entity Too Large",414:"Request-URI Too Long",416:"Requested Range Not Satisfiable",205:"Reset Content",303:"See Other",503:"Service Unavailable",101:"Switching Protocols",307:"Temporary Redirect",429:"Too Many Requests",401:"Unauthorized",451:"Unavailable For Legal Reasons",422:"Unprocessable Entity",415:"Unsupported Media Type",305:"Use Proxy",421:"Misdirected Request"},XP={Accepted:202,"Bad Gateway":502,"Bad Request":400,Conflict:409,Continue:100,Created:201,"Expectation Failed":417,"Failed Dependency":424,Forbidden:403,"Gateway Timeout":504,Gone:410,"HTTP Version Not Supported":505,"I'm a teapot":418,"Insufficient Space on Resource":419,"Insufficient Storage":507,"Internal Server Error":500,"Length Required":411,Locked:423,"Method Failure":420,"Method Not Allowed":405,"Moved Permanently":301,"Moved Temporarily":302,"Multi-Status":207,"Multiple Choices":300,"Network Authentication Required":511,"No Content":204,"Non Authoritative Information":203,"Not Acceptable":406,"Not Found":404,"Not Implemented":501,"Not Modified":304,OK:200,"Partial Content":206,"Payment Required":402,"Permanent Redirect":308,"Precondition Failed":412,"Precondition Required":428,Processing:102,"Proxy Authentication Required":407,"Request Header Fields Too Large":431,"Request Timeout":408,"Request Entity Too Large":413,"Request-URI Too Long":414,"Requested Range Not Satisfiable":416,"Reset Content":205,"See Other":303,"Service Unavailable":503,"Switching Protocols":101,"Temporary Redirect":307,"Too Many Requests":429,Unauthorized:401,"Unavailable For Legal Reasons":451,"Unprocessable Entity":422,"Unsupported Media Type":415,"Use Proxy":305,"Misdirected Request":421};function e0(e){var t=KP[e.toString()];if(!t)throw new Error("Status code does not exist: "+e);return t}function t0(e){var t=XP[e];if(!t)throw new Error("Reason phrase does not exist: "+e);return t}var r0=e0,sp;(function(e){e[e.ACCEPTED=202]="ACCEPTED",e[e.BAD_GATEWAY=502]="BAD_GATEWAY",e[e.BAD_REQUEST=400]="BAD_REQUEST",e[e.CONFLICT=409]="CONFLICT",e[e.CONTINUE=100]="CONTINUE",e[e.CREATED=201]="CREATED",e[e.EXPECTATION_FAILED=417]="EXPECTATION_FAILED",e[e.FAILED_DEPENDENCY=424]="FAILED_DEPENDENCY",e[e.FORBIDDEN=403]="FORBIDDEN",e[e.GATEWAY_TIMEOUT=504]="GATEWAY_TIMEOUT",e[e.GONE=410]="GONE",e[e.HTTP_VERSION_NOT_SUPPORTED=505]="HTTP_VERSION_NOT_SUPPORTED",e[e.IM_A_TEAPOT=418]="IM_A_TEAPOT",e[e.INSUFFICIENT_SPACE_ON_RESOURCE=419]="INSUFFICIENT_SPACE_ON_RESOURCE",e[e.INSUFFICIENT_STORAGE=507]="INSUFFICIENT_STORAGE",e[e.INTERNAL_SERVER_ERROR=500]="INTERNAL_SERVER_ERROR",e[e.LENGTH_REQUIRED=411]="LENGTH_REQUIRED",e[e.LOCKED=423]="LOCKED",e[e.METHOD_FAILURE=420]="METHOD_FAILURE",e[e.METHOD_NOT_ALLOWED=405]="METHOD_NOT_ALLOWED",e[e.MOVED_PERMANENTLY=301]="MOVED_PERMANENTLY",e[e.MOVED_TEMPORARILY=302]="MOVED_TEMPORARILY",e[e.MULTI_STATUS=207]="MULTI_STATUS",e[e.MULTIPLE_CHOICES=300]="MULTIPLE_CHOICES",e[e.NETWORK_AUTHENTICATION_REQUIRED=511]="NETWORK_AUTHENTICATION_REQUIRED",e[e.NO_CONTENT=204]="NO_CONTENT",e[e.NON_AUTHORITATIVE_INFORMATION=203]="NON_AUTHORITATIVE_INFORMATION",e[e.NOT_ACCEPTABLE=406]="NOT_ACCEPTABLE",e[e.NOT_FOUND=404]="NOT_FOUND",e[e.NOT_IMPLEMENTED=501]="NOT_IMPLEMENTED",e[e.NOT_MODIFIED=304]="NOT_MODIFIED",e[e.OK=200]="OK",e[e.PARTIAL_CONTENT=206]="PARTIAL_CONTENT",e[e.PAYMENT_REQUIRED=402]="PAYMENT_REQUIRED",e[e.PERMANENT_REDIRECT=308]="PERMANENT_REDIRECT",e[e.PRECONDITION_FAILED=412]="PRECONDITION_FAILED",e[e.PRECONDITION_REQUIRED=428]="PRECONDITION_REQUIRED",e[e.PROCESSING=102]="PROCESSING",e[e.PROXY_AUTHENTICATION_REQUIRED=407]="PROXY_AUTHENTICATION_REQUIRED",e[e.REQUEST_HEADER_FIELDS_TOO_LARGE=431]="REQUEST_HEADER_FIELDS_TOO_LARGE",e[e.REQUEST_TIMEOUT=408]="REQUEST_TIMEOUT",e[e.REQUEST_TOO_LONG=413]="REQUEST_TOO_LONG",e[e.REQUEST_URI_TOO_LONG=414]="REQUEST_URI_TOO_LONG",e[e.REQUESTED_RANGE_NOT_SATISFIABLE=416]="REQUESTED_RANGE_NOT_SATISFIABLE",e[e.RESET_CONTENT=205]="RESET_CONTENT",e[e.SEE_OTHER=303]="SEE_OTHER",e[e.SERVICE_UNAVAILABLE=503]="SERVICE_UNAVAILABLE",e[e.SWITCHING_PROTOCOLS=101]="SWITCHING_PROTOCOLS",e[e.TEMPORARY_REDIRECT=307]="TEMPORARY_REDIRECT",e[e.TOO_MANY_REQUESTS=429]="TOO_MANY_REQUESTS",e[e.UNAUTHORIZED=401]="UNAUTHORIZED",e[e.UNAVAILABLE_FOR_LEGAL_REASONS=451]="UNAVAILABLE_FOR_LEGAL_REASONS",e[e.UNPROCESSABLE_ENTITY=422]="UNPROCESSABLE_ENTITY",e[e.UNSUPPORTED_MEDIA_TYPE=415]="UNSUPPORTED_MEDIA_TYPE",e[e.USE_PROXY=305]="USE_PROXY",e[e.MISDIRECTED_REQUEST=421]="MISDIRECTED_REQUEST"})(sp||(sp={}));var lp;(function(e){e.ACCEPTED="Accepted",e.BAD_GATEWAY="Bad Gateway",e.BAD_REQUEST="Bad Request",e.CONFLICT="Conflict",e.CONTINUE="Continue",e.CREATED="Created",e.EXPECTATION_FAILED="Expectation Failed",e.FAILED_DEPENDENCY="Failed Dependency",e.FORBIDDEN="Forbidden",e.GATEWAY_TIMEOUT="Gateway Timeout",e.GONE="Gone",e.HTTP_VERSION_NOT_SUPPORTED="HTTP Version Not Supported",e.IM_A_TEAPOT="I'm a teapot",e.INSUFFICIENT_SPACE_ON_RESOURCE="Insufficient Space on Resource",e.INSUFFICIENT_STORAGE="Insufficient Storage",e.INTERNAL_SERVER_ERROR="Internal Server Error",e.LENGTH_REQUIRED="Length Required",e.LOCKED="Locked",e.METHOD_FAILURE="Method Failure",e.METHOD_NOT_ALLOWED="Method Not Allowed",e.MOVED_PERMANENTLY="Moved Permanently",e.MOVED_TEMPORARILY="Moved Temporarily",e.MULTI_STATUS="Multi-Status",e.MULTIPLE_CHOICES="Multiple Choices",e.NETWORK_AUTHENTICATION_REQUIRED="Network Authentication Required",e.NO_CONTENT="No Content",e.NON_AUTHORITATIVE_INFORMATION="Non Authoritative Information",e.NOT_ACCEPTABLE="Not Acceptable",e.NOT_FOUND="Not Found",e.NOT_IMPLEMENTED="Not Implemented",e.NOT_MODIFIED="Not Modified",e.OK="OK",e.PARTIAL_CONTENT="Partial Content",e.PAYMENT_REQUIRED="Payment Required",e.PERMANENT_REDIRECT="Permanent Redirect",e.PRECONDITION_FAILED="Precondition Failed",e.PRECONDITION_REQUIRED="Precondition Required",e.PROCESSING="Processing",e.PROXY_AUTHENTICATION_REQUIRED="Proxy Authentication Required",e.REQUEST_HEADER_FIELDS_TOO_LARGE="Request Header Fields Too Large",e.REQUEST_TIMEOUT="Request Timeout",e.REQUEST_TOO_LONG="Request Entity Too Large",e.REQUEST_URI_TOO_LONG="Request-URI Too Long",e.REQUESTED_RANGE_NOT_SATISFIABLE="Requested Range Not Satisfiable",e.RESET_CONTENT="Reset Content",e.SEE_OTHER="See Other",e.SERVICE_UNAVAILABLE="Service Unavailable",e.SWITCHING_PROTOCOLS="Switching Protocols",e.TEMPORARY_REDIRECT="Temporary Redirect",e.TOO_MANY_REQUESTS="Too Many Requests",e.UNAUTHORIZED="Unauthorized",e.UNAVAILABLE_FOR_LEGAL_REASONS="Unavailable For Legal Reasons",e.UNPROCESSABLE_ENTITY="Unprocessable Entity",e.UNSUPPORTED_MEDIA_TYPE="Unsupported Media Type",e.USE_PROXY="Use Proxy",e.MISDIRECTED_REQUEST="Misdirected Request"})(lp||(lp={}));var ts=globalThis&&globalThis.__assign||function(){return ts=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++){t=arguments[r];for(var a in t)Object.prototype.hasOwnProperty.call(t,a)&&(e[a]=t[a])}return e},ts.apply(this,arguments)};const QP=ts(ts({},YP),{getStatusCode:t0,getStatusText:r0}),JP=Object.freeze(Object.defineProperty({__proto__:null,ACCEPTED:t_,BAD_GATEWAY:r_,BAD_REQUEST:n_,CONFLICT:a_,CONTINUE:o_,CREATED:i_,EXPECTATION_FAILED:s_,FAILED_DEPENDENCY:zP,FORBIDDEN:l_,GATEWAY_TIMEOUT:u_,GONE:c_,HTTP_VERSION_NOT_SUPPORTED:f_,IM_A_TEAPOT:d_,INSUFFICIENT_SPACE_ON_RESOURCE:p_,INSUFFICIENT_STORAGE:h_,INTERNAL_SERVER_ERROR:m_,LENGTH_REQUIRED:y_,LOCKED:v_,METHOD_FAILURE:g_,METHOD_NOT_ALLOWED:b_,MOVED_PERMANENTLY:E_,MOVED_TEMPORARILY:__,MULTIPLE_CHOICES:T_,MULTI_STATUS:w_,NETWORK_AUTHENTICATION_REQUIRED:S_,NON_AUTHORITATIVE_INFORMATION:C_,NOT_ACCEPTABLE:O_,NOT_FOUND:x_,NOT_IMPLEMENTED:P_,NOT_MODIFIED:A_,NO_CONTENT:R_,OK:I_,PARTIAL_CONTENT:N_,PAYMENT_REQUIRED:M_,PERMANENT_REDIRECT:k_,PRECONDITION_FAILED:$_,PRECONDITION_REQUIRED:L_,PROCESSING:B_,PROXY_AUTHENTICATION_REQUIRED:q_,REQUESTED_RANGE_NOT_SATISFIABLE:H_,REQUEST_HEADER_FIELDS_TOO_LARGE:D_,REQUEST_TIMEOUT:F_,REQUEST_TOO_LONG:U_,REQUEST_URI_TOO_LONG:j_,RESET_CONTENT:G_,get ReasonPhrases(){return lp},SEE_OTHER:W_,SERVICE_UNAVAILABLE:V_,SWITCHING_PROTOCOLS:z_,get StatusCodes(){return sp},TEMPORARY_REDIRECT:Y_,TOO_MANY_REQUESTS:K_,UNAUTHORIZED:X_,UNPROCESSABLE_ENTITY:Q_,UNSUPPORTED_MEDIA_TYPE:J_,USE_PROXY:Z_,default:QP,getReasonPhrase:e0,getStatusCode:t0,getStatusText:r0},Symbol.toStringTag,{value:"Module"})),ZP=qo(JP);var Si={exports:{}},Za={},Yf={},eo={},to={},cn={},ro={},Kf={},fn={},mr={},sv;function wh(){if(sv)return mr;sv=1,Object.defineProperty(mr,"__esModule",{value:!0}),mr.ERROR_PACKET=mr.PACKET_TYPES_REVERSE=mr.PACKET_TYPES=void 0;const e=Object.create(null);mr.PACKET_TYPES=e,e.open="0",e.close="1",e.ping="2",e.pong="3",e.message="4",e.upgrade="5",e.noop="6";const t=Object.create(null);mr.PACKET_TYPES_REVERSE=t,Object.keys(e).forEach(n=>{t[e[n]]=n});const r={type:"error",data:"parser error"};return mr.ERROR_PACKET=r,mr}var lv;function eA(){if(lv)return fn;lv=1,Object.defineProperty(fn,"__esModule",{value:!0}),fn.encodePacket=fn.encodePacketToBinary=void 0;const e=wh(),t=typeof Blob=="function"||typeof Blob<"u"&&Object.prototype.toString.call(Blob)==="[object BlobConstructor]",r=typeof ArrayBuffer=="function",n=u=>typeof ArrayBuffer.isView=="function"?ArrayBuffer.isView(u):u&&u.buffer instanceof ArrayBuffer,a=({type:u,data:c},p,d)=>t&&c instanceof Blob?p?d(c):o(c,d):r&&(c instanceof ArrayBuffer||n(c))?p?d(c):o(new Blob([c]),d):d(e.PACKET_TYPES[u]+(c||""));fn.encodePacket=a;const o=(u,c)=>{const p=new FileReader;return p.onload=function(){const d=p.result.split(",")[1];c("b"+(d||""))},p.readAsDataURL(u)};function s(u){return u instanceof Uint8Array?u:u instanceof ArrayBuffer?new Uint8Array(u):new Uint8Array(u.buffer,u.byteOffset,u.byteLength)}let i;function l(u,c){if(t&&u.data instanceof Blob)return u.data.arrayBuffer().then(s).then(c);if(r&&(u.data instanceof ArrayBuffer||n(u.data)))return c(s(u.data));a(u,!1,p=>{i||(i=new TextEncoder),c(i.encode(p))})}return fn.encodePacketToBinary=l,fn}var no={},dn={},uv;function tA(){if(uv)return dn;uv=1,Object.defineProperty(dn,"__esModule",{value:!0}),dn.decode=dn.encode=void 0;const e="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",t=typeof Uint8Array>"u"?[]:new Uint8Array(256);for(let a=0;a<e.length;a++)t[e.charCodeAt(a)]=a;const r=a=>{let o=new Uint8Array(a),s,i=o.length,l="";for(s=0;s<i;s+=3)l+=e[o[s]>>2],l+=e[(o[s]&3)<<4|o[s+1]>>4],l+=e[(o[s+1]&15)<<2|o[s+2]>>6],l+=e[o[s+2]&63];return i%3===2?l=l.substring(0,l.length-1)+"=":i%3===1&&(l=l.substring(0,l.length-2)+"=="),l};dn.encode=r;const n=a=>{let o=a.length*.75,s=a.length,i,l=0,u,c,p,d;a[a.length-1]==="="&&(o--,a[a.length-2]==="="&&o--);const f=new ArrayBuffer(o),h=new Uint8Array(f);for(i=0;i<s;i+=4)u=t[a.charCodeAt(i)],c=t[a.charCodeAt(i+1)],p=t[a.charCodeAt(i+2)],d=t[a.charCodeAt(i+3)],h[l++]=u<<2|c>>4,h[l++]=(c&15)<<4|p>>2,h[l++]=(p&3)<<6|d&63;return f};return dn.decode=n,dn}var cv;function rA(){if(cv)return no;cv=1,Object.defineProperty(no,"__esModule",{value:!0}),no.decodePacket=void 0;const e=wh(),t=tA(),r=typeof ArrayBuffer=="function",n=(s,i)=>{if(typeof s!="string")return{type:"message",data:o(s,i)};const l=s.charAt(0);return l==="b"?{type:"message",data:a(s.substring(1),i)}:e.PACKET_TYPES_REVERSE[l]?s.length>1?{type:e.PACKET_TYPES_REVERSE[l],data:s.substring(1)}:{type:e.PACKET_TYPES_REVERSE[l]}:e.ERROR_PACKET};no.decodePacket=n;const a=(s,i)=>{if(r){const l=(0,t.decode)(s);return o(l,i)}else return{base64:!0,data:s}},o=(s,i)=>{switch(i){case"blob":return s instanceof Blob?s:new Blob([s]);case"arraybuffer":default:return s instanceof ArrayBuffer?s:s.buffer}};return no}var fv;function Fo(){return fv||(fv=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.decodePayload=e.decodePacket=e.encodePayload=e.encodePacket=e.protocol=e.createPacketDecoderStream=e.createPacketEncoderStream=void 0;const t=eA();Object.defineProperty(e,"encodePacket",{enumerable:!0,get:function(){return t.encodePacket}});const r=rA();Object.defineProperty(e,"decodePacket",{enumerable:!0,get:function(){return r.decodePacket}});const n=wh(),a=String.fromCharCode(30),o=(d,f)=>{const h=d.length,m=new Array(h);let _=0;d.forEach((b,v)=>{(0,t.encodePacket)(b,!1,w=>{m[v]=w,++_===h&&f(m.join(a))})})};e.encodePayload=o;const s=(d,f)=>{const h=d.split(a),m=[];for(let _=0;_<h.length;_++){const b=(0,r.decodePacket)(h[_],f);if(m.push(b),b.type==="error")break}return m};e.decodePayload=s;function i(){return new TransformStream({transform(d,f){(0,t.encodePacketToBinary)(d,h=>{const m=h.length;let _;if(m<126)_=new Uint8Array(1),new DataView(_.buffer).setUint8(0,m);else if(m<65536){_=new Uint8Array(3);const b=new DataView(_.buffer);b.setUint8(0,126),b.setUint16(1,m)}else{_=new Uint8Array(9);const b=new DataView(_.buffer);b.setUint8(0,127),b.setBigUint64(1,BigInt(m))}d.data&&typeof d.data!="string"&&(_[0]|=128),f.enqueue(_),f.enqueue(h)})}})}e.createPacketEncoderStream=i;let l;function u(d){return d.reduce((f,h)=>f+h.length,0)}function c(d,f){if(d[0].length===f)return d.shift();const h=new Uint8Array(f);let m=0;for(let _=0;_<f;_++)h[_]=d[0][m++],m===d[0].length&&(d.shift(),m=0);return d.length&&m<d[0].length&&(d[0]=d[0].slice(m)),h}function p(d,f){l||(l=new TextDecoder);const h=[];let m=0,_=-1,b=!1;return new TransformStream({transform(v,w){for(h.push(v);;){if(m===0){if(u(h)<1)break;const R=c(h,1);b=(R[0]&128)===128,_=R[0]&127,_<126?m=3:_===126?m=1:m=2}else if(m===1){if(u(h)<2)break;const R=c(h,2);_=new DataView(R.buffer,R.byteOffset,R.length).getUint16(0),m=3}else if(m===2){if(u(h)<8)break;const R=c(h,8),T=new DataView(R.buffer,R.byteOffset,R.length),C=T.getUint32(0);if(C>Math.pow(2,53-32)-1){w.enqueue(n.ERROR_PACKET);break}_=C*Math.pow(2,32)+T.getUint32(4),m=3}else{if(u(h)<_)break;const R=c(h,_);w.enqueue((0,r.decodePacket)(b?R:l.decode(R),f)),m=0}if(_===0||_>d){w.enqueue(n.ERROR_PACKET);break}}}})}e.createPacketDecoderStream=p,e.protocol=4}(Kf)),Kf}function Tt(e){if(e)return nA(e)}function nA(e){for(var t in Tt.prototype)e[t]=Tt.prototype[t];return e}Tt.prototype.on=Tt.prototype.addEventListener=function(e,t){return this._callbacks=this._callbacks||{},(this._callbacks["$"+e]=this._callbacks["$"+e]||[]).push(t),this};Tt.prototype.once=function(e,t){function r(){this.off(e,r),t.apply(this,arguments)}return r.fn=t,this.on(e,r),this};Tt.prototype.off=Tt.prototype.removeListener=Tt.prototype.removeAllListeners=Tt.prototype.removeEventListener=function(e,t){if(this._callbacks=this._callbacks||{},arguments.length==0)return this._callbacks={},this;var r=this._callbacks["$"+e];if(!r)return this;if(arguments.length==1)return delete this._callbacks["$"+e],this;for(var n,a=0;a<r.length;a++)if(n=r[a],n===t||n.fn===t){r.splice(a,1);break}return r.length===0&&delete this._callbacks["$"+e],this};Tt.prototype.emit=function(e){this._callbacks=this._callbacks||{};for(var t=new Array(arguments.length-1),r=this._callbacks["$"+e],n=1;n<arguments.length;n++)t[n-1]=arguments[n];if(r){r=r.slice(0);for(var n=0,a=r.length;n<a;++n)r[n].apply(this,t)}return this};Tt.prototype.emitReserved=Tt.prototype.emit;Tt.prototype.listeners=function(e){return this._callbacks=this._callbacks||{},this._callbacks["$"+e]||[]};Tt.prototype.hasListeners=function(e){return!!this.listeners(e).length};const aA=Object.freeze(Object.defineProperty({__proto__:null,Emitter:Tt},Symbol.toStringTag,{value:"Module"})),wa=qo(aA);var yr={},ao={},dv;function Rs(){return dv||(dv=1,Object.defineProperty(ao,"__esModule",{value:!0}),ao.globalThisShim=void 0,ao.globalThisShim=(()=>typeof self<"u"?self:typeof window<"u"?window:Function("return this")())()),ao}var pv;function Uo(){if(pv)return yr;pv=1,Object.defineProperty(yr,"__esModule",{value:!0}),yr.byteLength=yr.installTimerFunctions=yr.pick=void 0;const e=Rs();function t(l,...u){return u.reduce((c,p)=>(l.hasOwnProperty(p)&&(c[p]=l[p]),c),{})}yr.pick=t;const r=e.globalThisShim.setTimeout,n=e.globalThisShim.clearTimeout;function a(l,u){u.useNativeTimers?(l.setTimeoutFn=r.bind(e.globalThisShim),l.clearTimeoutFn=n.bind(e.globalThisShim)):(l.setTimeoutFn=e.globalThisShim.setTimeout.bind(e.globalThisShim),l.clearTimeoutFn=e.globalThisShim.clearTimeout.bind(e.globalThisShim))}yr.installTimerFunctions=a;const o=1.33;function s(l){return typeof l=="string"?i(l):Math.ceil((l.byteLength||l.size)*o)}yr.byteLength=s;function i(l){let u=0,c=0;for(let p=0,d=l.length;p<d;p++)u=l.charCodeAt(p),u<128?c+=1:u<2048?c+=2:u<55296||u>=57344?c+=3:(p++,c+=4);return c}return yr}var Ri={exports:{}},Xf,hv;function oA(){if(hv)return Xf;hv=1;var e=1e3,t=e*60,r=t*60,n=r*24,a=n*7,o=n*365.25;Xf=function(c,p){p=p||{};var d=typeof c;if(d==="string"&&c.length>0)return s(c);if(d==="number"&&isFinite(c))return p.long?l(c):i(c);throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(c))};function s(c){if(c=String(c),!(c.length>100)){var p=/^(-?(?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)?$/i.exec(c);if(p){var d=parseFloat(p[1]),f=(p[2]||"ms").toLowerCase();switch(f){case"years":case"year":case"yrs":case"yr":case"y":return d*o;case"weeks":case"week":case"w":return d*a;case"days":case"day":case"d":return d*n;case"hours":case"hour":case"hrs":case"hr":case"h":return d*r;case"minutes":case"minute":case"mins":case"min":case"m":return d*t;case"seconds":case"second":case"secs":case"sec":case"s":return d*e;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return d;default:return}}}}function i(c){var p=Math.abs(c);return p>=n?Math.round(c/n)+"d":p>=r?Math.round(c/r)+"h":p>=t?Math.round(c/t)+"m":p>=e?Math.round(c/e)+"s":c+"ms"}function l(c){var p=Math.abs(c);return p>=n?u(c,p,n,"day"):p>=r?u(c,p,r,"hour"):p>=t?u(c,p,t,"minute"):p>=e?u(c,p,e,"second"):c+" ms"}function u(c,p,d,f){var h=p>=d*1.5;return Math.round(c/d)+" "+f+(h?"s":"")}return Xf}var Qf,mv;function iA(){if(mv)return Qf;mv=1;function e(t){n.debug=n,n.default=n,n.coerce=u,n.disable=s,n.enable=o,n.enabled=i,n.humanize=oA(),n.destroy=c,Object.keys(t).forEach(p=>{n[p]=t[p]}),n.names=[],n.skips=[],n.formatters={};function r(p){let d=0;for(let f=0;f<p.length;f++)d=(d<<5)-d+p.charCodeAt(f),d|=0;return n.colors[Math.abs(d)%n.colors.length]}n.selectColor=r;function n(p){let d,f=null,h,m;function _(...b){if(!_.enabled)return;const v=_,w=Number(new Date),R=w-(d||w);v.diff=R,v.prev=d,v.curr=w,d=w,b[0]=n.coerce(b[0]),typeof b[0]!="string"&&b.unshift("%O");let T=0;b[0]=b[0].replace(/%([a-zA-Z%])/g,(N,I)=>{if(N==="%%")return"%";T++;const j=n.formatters[I];if(typeof j=="function"){const z=b[T];N=j.call(v,z),b.splice(T,1),T--}return N}),n.formatArgs.call(v,b),(v.log||n.log).apply(v,b)}return _.namespace=p,_.useColors=n.useColors(),_.color=n.selectColor(p),_.extend=a,_.destroy=n.destroy,Object.defineProperty(_,"enabled",{enumerable:!0,configurable:!1,get:()=>f!==null?f:(h!==n.namespaces&&(h=n.namespaces,m=n.enabled(p)),m),set:b=>{f=b}}),typeof n.init=="function"&&n.init(_),_}function a(p,d){const f=n(this.namespace+(typeof d>"u"?":":d)+p);return f.log=this.log,f}function o(p){n.save(p),n.namespaces=p,n.names=[],n.skips=[];let d;const f=(typeof p=="string"?p:"").split(/[\s,]+/),h=f.length;for(d=0;d<h;d++)f[d]&&(p=f[d].replace(/\*/g,".*?"),p[0]==="-"?n.skips.push(new RegExp("^"+p.slice(1)+"$")):n.names.push(new RegExp("^"+p+"$")))}function s(){const p=[...n.names.map(l),...n.skips.map(l).map(d=>"-"+d)].join(",");return n.enable(""),p}function i(p){if(p[p.length-1]==="*")return!0;let d,f;for(d=0,f=n.skips.length;d<f;d++)if(n.skips[d].test(p))return!1;for(d=0,f=n.names.length;d<f;d++)if(n.names[d].test(p))return!0;return!1}function l(p){return p.toString().substring(2,p.toString().length-2).replace(/\.\*\?$/,"*")}function u(p){return p instanceof Error?p.stack||p.message:p}function c(){console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.")}return n.enable(n.load()),n}return Qf=e,Qf}var yv;function ir(){return yv||(yv=1,function(e,t){t.formatArgs=n,t.save=a,t.load=o,t.useColors=r,t.storage=s(),t.destroy=(()=>{let l=!1;return()=>{l||(l=!0,console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`."))}})(),t.colors=["#0000CC","#0000FF","#0033CC","#0033FF","#0066CC","#0066FF","#0099CC","#0099FF","#00CC00","#00CC33","#00CC66","#00CC99","#00CCCC","#00CCFF","#3300CC","#3300FF","#3333CC","#3333FF","#3366CC","#3366FF","#3399CC","#3399FF","#33CC00","#33CC33","#33CC66","#33CC99","#33CCCC","#33CCFF","#6600CC","#6600FF","#6633CC","#6633FF","#66CC00","#66CC33","#9900CC","#9900FF","#9933CC","#9933FF","#99CC00","#99CC33","#CC0000","#CC0033","#CC0066","#CC0099","#CC00CC","#CC00FF","#CC3300","#CC3333","#CC3366","#CC3399","#CC33CC","#CC33FF","#CC6600","#CC6633","#CC9900","#CC9933","#CCCC00","#CCCC33","#FF0000","#FF0033","#FF0066","#FF0099","#FF00CC","#FF00FF","#FF3300","#FF3333","#FF3366","#FF3399","#FF33CC","#FF33FF","#FF6600","#FF6633","#FF9900","#FF9933","#FFCC00","#FFCC33"];function r(){return typeof window<"u"&&window.process&&(window.process.type==="renderer"||window.process.__nwjs)?!0:typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/(edge|trident)\/(\d+)/)?!1:typeof document<"u"&&document.documentElement&&document.documentElement.style&&document.documentElement.style.WebkitAppearance||typeof window<"u"&&window.console&&(window.console.firebug||window.console.exception&&window.console.table)||typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/)&&parseInt(RegExp.$1,10)>=31||typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/)}function n(l){if(l[0]=(this.useColors?"%c":"")+this.namespace+(this.useColors?" %c":" ")+l[0]+(this.useColors?"%c ":" ")+"+"+e.exports.humanize(this.diff),!this.useColors)return;const u="color: "+this.color;l.splice(1,0,u,"color: inherit");let c=0,p=0;l[0].replace(/%[a-zA-Z%]/g,d=>{d!=="%%"&&(c++,d==="%c"&&(p=c))}),l.splice(p,0,u)}t.log=console.debug||console.log||(()=>{});function a(l){try{l?t.storage.setItem("debug",l):t.storage.removeItem("debug")}catch{}}function o(){let l;try{l=t.storage.getItem("debug")}catch{}return!l&&typeof process<"u"&&"env"in process&&(l=process.env.DEBUG),l}function s(){try{return localStorage}catch{}}e.exports=iA()(t);const{formatters:i}=e.exports;i.j=function(l){try{return JSON.stringify(l)}catch(u){return"[UnexpectedJSONParseError]: "+u.message}}}(Ri,Ri.exports)),Ri.exports}var pn={},vv;function n0(){if(vv)return pn;vv=1,Object.defineProperty(pn,"__esModule",{value:!0}),pn.decode=pn.encode=void 0;function e(r){let n="";for(let a in r)r.hasOwnProperty(a)&&(n.length&&(n+="&"),n+=encodeURIComponent(a)+"="+encodeURIComponent(r[a]));return n}pn.encode=e;function t(r){let n={},a=r.split("&");for(let o=0,s=a.length;o<s;o++){let i=a[o].split("=");n[decodeURIComponent(i[0])]=decodeURIComponent(i[1])}return n}return pn.decode=t,pn}var gv;function Cs(){if(gv)return ro;gv=1;var e=be&&be.__importDefault||function(u){return u&&u.__esModule?u:{default:u}};Object.defineProperty(ro,"__esModule",{value:!0}),ro.Transport=void 0;const t=Fo(),r=wa,n=Uo(),a=e(ir()),o=n0(),s=(0,a.default)("engine.io-client:transport");class i extends Error{constructor(c,p,d){super(c),this.description=p,this.context=d,this.type="TransportError"}}class l extends r.Emitter{constructor(c){super(),this.writable=!1,(0,n.installTimerFunctions)(this,c),this.opts=c,this.query=c.query,this.socket=c.socket}onError(c,p,d){return super.emitReserved("error",new i(c,p,d)),this}open(){return this.readyState="opening",this.doOpen(),this}close(){return(this.readyState==="opening"||this.readyState==="open")&&(this.doClose(),this.onClose()),this}send(c){this.readyState==="open"?this.write(c):s("transport is not open, discarding packets")}onOpen(){this.readyState="open",this.writable=!0,super.emitReserved("open")}onData(c){const p=(0,t.decodePacket)(c,this.socket.binaryType);this.onPacket(p)}onPacket(c){super.emitReserved("packet",c)}onClose(c){this.readyState="closed",super.emitReserved("close",c)}pause(c){}createUri(c,p={}){return c+"://"+this._hostname()+this._port()+this.opts.path+this._query(p)}_hostname(){const c=this.opts.hostname;return c.indexOf(":")===-1?c:"["+c+"]"}_port(){return this.opts.port&&(this.opts.secure&&+(this.opts.port!==443)||!this.opts.secure&&Number(this.opts.port)!==80)?":"+this.opts.port:""}_query(c){const p=(0,o.encode)(c);return p.length?"?"+p:""}}return ro.Transport=l,ro}var vr={},bv;function a0(){if(bv)return vr;bv=1,Object.defineProperty(vr,"__esModule",{value:!0}),vr.yeast=vr.decode=vr.encode=void 0;const e="0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz-_".split(""),t=64,r={};let n=0,a=0,o;function s(u){let c="";do c=e[u%t]+c,u=Math.floor(u/t);while(u>0);return c}vr.encode=s;function i(u){let c=0;for(a=0;a<u.length;a++)c=c*t+r[u.charAt(a)];return c}vr.decode=i;function l(){const u=s(+new Date);return u!==o?(n=0,o=u):u+"."+s(n++)}for(vr.yeast=l;a<t;a++)r[e[a]]=a;return vr}var hn={},oo={},Ev;function sA(){if(Ev)return oo;Ev=1,Object.defineProperty(oo,"__esModule",{value:!0}),oo.hasCORS=void 0;let e=!1;try{e=typeof XMLHttpRequest<"u"&&"withCredentials"in new XMLHttpRequest}catch{}return oo.hasCORS=e,oo}var _v;function lA(){if(_v)return hn;_v=1,Object.defineProperty(hn,"__esModule",{value:!0}),hn.createCookieJar=hn.XHR=void 0;const e=sA(),t=Rs();function r(a){const o=a.xdomain;try{if(typeof XMLHttpRequest<"u"&&(!o||e.hasCORS))return new XMLHttpRequest}catch{}if(!o)try{return new t.globalThisShim[["Active"].concat("Object").join("X")]("Microsoft.XMLHTTP")}catch{}}hn.XHR=r;function n(){}return hn.createCookieJar=n,hn}var wv;function uA(){if(wv)return cn;wv=1;var e=be&&be.__importDefault||function(m){return m&&m.__esModule?m:{default:m}};Object.defineProperty(cn,"__esModule",{value:!0}),cn.Request=cn.Polling=void 0;const t=Cs(),r=e(ir()),n=a0(),a=Fo(),o=lA(),s=wa,i=Uo(),l=Rs(),u=(0,r.default)("engine.io-client:polling");function c(){}const p=function(){return new o.XHR({xdomain:!1}).responseType!=null}();class d extends t.Transport{constructor(_){if(super(_),this.polling=!1,typeof location<"u"){const v=location.protocol==="https:";let w=location.port;w||(w=v?"443":"80"),this.xd=typeof location<"u"&&_.hostname!==location.hostname||w!==_.port}const b=_&&_.forceBase64;this.supportsBinary=p&&!b,this.opts.withCredentials&&(this.cookieJar=(0,o.createCookieJar)())}get name(){return"polling"}doOpen(){this.poll()}pause(_){this.readyState="pausing";const b=()=>{u("paused"),this.readyState="paused",_()};if(this.polling||!this.writable){let v=0;this.polling&&(u("we are currently polling - waiting to pause"),v++,this.once("pollComplete",function(){u("pre-pause polling complete"),--v||b()})),this.writable||(u("we are currently writing - waiting to pause"),v++,this.once("drain",function(){u("pre-pause writing complete"),--v||b()}))}else b()}poll(){u("polling"),this.polling=!0,this.doPoll(),this.emitReserved("poll")}onData(_){u("polling got data %s",_);const b=v=>{if(this.readyState==="opening"&&v.type==="open"&&this.onOpen(),v.type==="close")return this.onClose({description:"transport closed by the server"}),!1;this.onPacket(v)};(0,a.decodePayload)(_,this.socket.binaryType).forEach(b),this.readyState!=="closed"&&(this.polling=!1,this.emitReserved("pollComplete"),this.readyState==="open"?this.poll():u('ignoring poll - transport state "%s"',this.readyState))}doClose(){const _=()=>{u("writing close packet"),this.write([{type:"close"}])};this.readyState==="open"?(u("transport open - closing"),_()):(u("transport not open - deferring close"),this.once("open",_))}write(_){this.writable=!1,(0,a.encodePayload)(_,b=>{this.doWrite(b,()=>{this.writable=!0,this.emitReserved("drain")})})}uri(){const _=this.opts.secure?"https":"http",b=this.query||{};return this.opts.timestampRequests!==!1&&(b[this.opts.timestampParam]=(0,n.yeast)()),!this.supportsBinary&&!b.sid&&(b.b64=1),this.createUri(_,b)}request(_={}){return Object.assign(_,{xd:this.xd,cookieJar:this.cookieJar},this.opts),new f(this.uri(),_)}doWrite(_,b){const v=this.request({method:"POST",data:_});v.on("success",b),v.on("error",(w,R)=>{this.onError("xhr post error",w,R)})}doPoll(){u("xhr poll");const _=this.request();_.on("data",this.onData.bind(this)),_.on("error",(b,v)=>{this.onError("xhr poll error",b,v)}),this.pollXhr=_}}cn.Polling=d;class f extends s.Emitter{constructor(_,b){super(),(0,i.installTimerFunctions)(this,b),this.opts=b,this.method=b.method||"GET",this.uri=_,this.data=b.data!==void 0?b.data:null,this.create()}create(){var _;const b=(0,i.pick)(this.opts,"agent","pfx","key","passphrase","cert","ca","ciphers","rejectUnauthorized","autoUnref");b.xdomain=!!this.opts.xd;const v=this.xhr=new o.XHR(b);try{u("xhr open %s: %s",this.method,this.uri),v.open(this.method,this.uri,!0);try{if(this.opts.extraHeaders){v.setDisableHeaderCheck&&v.setDisableHeaderCheck(!0);for(let w in this.opts.extraHeaders)this.opts.extraHeaders.hasOwnProperty(w)&&v.setRequestHeader(w,this.opts.extraHeaders[w])}}catch{}if(this.method==="POST")try{v.setRequestHeader("Content-type","text/plain;charset=UTF-8")}catch{}try{v.setRequestHeader("Accept","*/*")}catch{}(_=this.opts.cookieJar)===null||_===void 0||_.addCookies(v),"withCredentials"in v&&(v.withCredentials=this.opts.withCredentials),this.opts.requestTimeout&&(v.timeout=this.opts.requestTimeout),v.onreadystatechange=()=>{var w;v.readyState===3&&((w=this.opts.cookieJar)===null||w===void 0||w.parseCookies(v)),v.readyState===4&&(v.status===200||v.status===1223?this.onLoad():this.setTimeoutFn(()=>{this.onError(typeof v.status=="number"?v.status:0)},0))},u("xhr data %s",this.data),v.send(this.data)}catch(w){this.setTimeoutFn(()=>{this.onError(w)},0);return}typeof document<"u"&&(this.index=f.requestsCount++,f.requests[this.index]=this)}onError(_){this.emitReserved("error",_,this.xhr),this.cleanup(!0)}cleanup(_){if(!(typeof this.xhr>"u"||this.xhr===null)){if(this.xhr.onreadystatechange=c,_)try{this.xhr.abort()}catch{}typeof document<"u"&&delete f.requests[this.index],this.xhr=null}}onLoad(){const _=this.xhr.responseText;_!==null&&(this.emitReserved("data",_),this.emitReserved("success"),this.cleanup())}abort(){this.cleanup()}}if(cn.Request=f,f.requestsCount=0,f.requests={},typeof document<"u"){if(typeof attachEvent=="function")attachEvent("onunload",h);else if(typeof addEventListener=="function"){const m="onpagehide"in l.globalThisShim?"pagehide":"unload";addEventListener(m,h,!1)}}function h(){for(let m in f.requests)f.requests.hasOwnProperty(m)&&f.requests[m].abort()}return cn}var io={},Gt={},Tv;function Os(){if(Tv)return Gt;Tv=1,Object.defineProperty(Gt,"__esModule",{value:!0}),Gt.defaultBinaryType=Gt.usingBrowserWebSocket=Gt.WebSocket=Gt.nextTick=void 0;const e=Rs();return Gt.nextTick=(()=>typeof Promise=="function"&&typeof Promise.resolve=="function"?r=>Promise.resolve().then(r):(r,n)=>n(r,0))(),Gt.WebSocket=e.globalThisShim.WebSocket||e.globalThisShim.MozWebSocket,Gt.usingBrowserWebSocket=!0,Gt.defaultBinaryType="arraybuffer",Gt}var Sv;function cA(){if(Sv)return io;Sv=1;var e=be&&be.__importDefault||function(c){return c&&c.__esModule?c:{default:c}};Object.defineProperty(io,"__esModule",{value:!0}),io.WS=void 0;const t=Cs(),r=a0(),n=Uo(),a=Os(),o=e(ir()),s=Fo(),i=(0,o.default)("engine.io-client:websocket"),l=typeof navigator<"u"&&typeof navigator.product=="string"&&navigator.product.toLowerCase()==="reactnative";class u extends t.Transport{constructor(p){super(p),this.supportsBinary=!p.forceBase64}get name(){return"websocket"}doOpen(){if(!this.check())return;const p=this.uri(),d=this.opts.protocols,f=l?{}:(0,n.pick)(this.opts,"agent","perMessageDeflate","pfx","key","passphrase","cert","ca","ciphers","rejectUnauthorized","localAddress","protocolVersion","origin","maxPayload","family","checkServerIdentity");this.opts.extraHeaders&&(f.headers=this.opts.extraHeaders);try{this.ws=a.usingBrowserWebSocket&&!l?d?new a.WebSocket(p,d):new a.WebSocket(p):new a.WebSocket(p,d,f)}catch(h){return this.emitReserved("error",h)}this.ws.binaryType=this.socket.binaryType,this.addEventListeners()}addEventListeners(){this.ws.onopen=()=>{this.opts.autoUnref&&this.ws._socket.unref(),this.onOpen()},this.ws.onclose=p=>this.onClose({description:"websocket connection closed",context:p}),this.ws.onmessage=p=>this.onData(p.data),this.ws.onerror=p=>this.onError("websocket error",p)}write(p){this.writable=!1;for(let d=0;d<p.length;d++){const f=p[d],h=d===p.length-1;(0,s.encodePacket)(f,this.supportsBinary,m=>{const _={};a.usingBrowserWebSocket||(f.options&&(_.compress=f.options.compress),this.opts.perMessageDeflate&&(typeof m=="string"?Buffer.byteLength(m):m.length)<this.opts.perMessageDeflate.threshold&&(_.compress=!1));try{a.usingBrowserWebSocket?this.ws.send(m):this.ws.send(m,_)}catch{i("websocket closed before onclose event")}h&&(0,a.nextTick)(()=>{this.writable=!0,this.emitReserved("drain")},this.setTimeoutFn)})}}doClose(){typeof this.ws<"u"&&(this.ws.close(),this.ws=null)}uri(){const p=this.opts.secure?"wss":"ws",d=this.query||{};return this.opts.timestampRequests&&(d[this.opts.timestampParam]=(0,r.yeast)()),this.supportsBinary||(d.b64=1),this.createUri(p,d)}check(){return!!a.WebSocket}}return io.WS=u,io}var so={},Rv;function fA(){if(Rv)return so;Rv=1;var e=be&&be.__importDefault||function(i){return i&&i.__esModule?i:{default:i}};Object.defineProperty(so,"__esModule",{value:!0}),so.WT=void 0;const t=Cs(),r=Os(),n=Fo(),o=(0,e(ir()).default)("engine.io-client:webtransport");class s extends t.Transport{get name(){return"webtransport"}doOpen(){typeof WebTransport=="function"&&(this.transport=new WebTransport(this.createUri("https"),this.opts.transportOptions[this.name]),this.transport.closed.then(()=>{o("transport closed gracefully"),this.onClose()}).catch(l=>{o("transport closed due to %s",l),this.onError("webtransport error",l)}),this.transport.ready.then(()=>{this.transport.createBidirectionalStream().then(l=>{const u=(0,n.createPacketDecoderStream)(Number.MAX_SAFE_INTEGER,this.socket.binaryType),c=l.readable.pipeThrough(u).getReader(),p=(0,n.createPacketEncoderStream)();p.readable.pipeTo(l.writable),this.writer=p.writable.getWriter();const d=()=>{c.read().then(({done:h,value:m})=>{if(h){o("session is closed");return}o("received chunk: %o",m),this.onPacket(m),d()}).catch(h=>{o("an error occurred while reading: %s",h)})};d();const f={type:"open"};this.query.sid&&(f.data=`{"sid":"${this.query.sid}"}`),this.writer.write(f).then(()=>this.onOpen())})}))}write(l){this.writable=!1;for(let u=0;u<l.length;u++){const c=l[u],p=u===l.length-1;this.writer.write(c).then(()=>{p&&(0,r.nextTick)(()=>{this.writable=!0,this.emitReserved("drain")},this.setTimeoutFn)})}}doClose(){var l;(l=this.transport)===null||l===void 0||l.close()}}return so.WT=s,so}var Cv;function o0(){if(Cv)return to;Cv=1,Object.defineProperty(to,"__esModule",{value:!0}),to.transports=void 0;const e=uA(),t=cA(),r=fA();return to.transports={websocket:t.WS,webtransport:r.WT,polling:e.Polling},to}var lo={},Ov;function i0(){if(Ov)return lo;Ov=1,Object.defineProperty(lo,"__esModule",{value:!0}),lo.parse=void 0;const e=/^(?:(?![^:@\/?#]+:[^:@\/]*@)(http|https|ws|wss):\/\/)?((?:(([^:@\/?#]*)(?::([^:@\/?#]*))?)?@)?((?:[a-f0-9]{0,4}:){2,7}[a-f0-9]{0,4}|[^:\/?#]*)(?::(\d*))?)(((\/(?:[^?#](?![^?#\/]*\.[^?#\/.]+(?:[?#]|$)))*\/?)?([^?#\/]*))(?:\?([^#]*))?(?:#(.*))?)/,t=["source","protocol","authority","userInfo","user","password","host","port","relative","path","directory","file","query","anchor"];function r(o){const s=o,i=o.indexOf("["),l=o.indexOf("]");i!=-1&&l!=-1&&(o=o.substring(0,i)+o.substring(i,l).replace(/:/g,";")+o.substring(l,o.length));let u=e.exec(o||""),c={},p=14;for(;p--;)c[t[p]]=u[p]||"";return i!=-1&&l!=-1&&(c.source=s,c.host=c.host.substring(1,c.host.length-1).replace(/;/g,":"),c.authority=c.authority.replace("[","").replace("]","").replace(/;/g,":"),c.ipv6uri=!0),c.pathNames=n(c,c.path),c.queryKey=a(c,c.query),c}lo.parse=r;function n(o,s){const i=/\/{2,9}/g,l=s.replace(i,"/").split("/");return(s.slice(0,1)=="/"||s.length===0)&&l.splice(0,1),s.slice(-1)=="/"&&l.splice(l.length-1,1),l}function a(o,s){const i={};return s.replace(/(?:^|&)([^&=]*)=?([^&]*)/g,function(l,u,c){u&&(i[u]=c)}),i}return lo}var xv;function dA(){if(xv)return eo;xv=1;var e=be&&be.__importDefault||function(p){return p&&p.__esModule?p:{default:p}};Object.defineProperty(eo,"__esModule",{value:!0}),eo.Socket=void 0;const t=o0(),r=Uo(),n=n0(),a=i0(),o=e(ir()),s=wa,i=Fo(),l=Os(),u=(0,o.default)("engine.io-client:socket");class c extends s.Emitter{constructor(d,f={}){super(),this.binaryType=l.defaultBinaryType,this.writeBuffer=[],d&&typeof d=="object"&&(f=d,d=null),d?(d=(0,a.parse)(d),f.hostname=d.host,f.secure=d.protocol==="https"||d.protocol==="wss",f.port=d.port,d.query&&(f.query=d.query)):f.host&&(f.hostname=(0,a.parse)(f.host).host),(0,r.installTimerFunctions)(this,f),this.secure=f.secure!=null?f.secure:typeof location<"u"&&location.protocol==="https:",f.hostname&&!f.port&&(f.port=this.secure?"443":"80"),this.hostname=f.hostname||(typeof location<"u"?location.hostname:"localhost"),this.port=f.port||(typeof location<"u"&&location.port?location.port:this.secure?"443":"80"),this.transports=f.transports||["polling","websocket","webtransport"],this.writeBuffer=[],this.prevBufferLen=0,this.opts=Object.assign({path:"/engine.io",agent:!1,withCredentials:!1,upgrade:!0,timestampParam:"t",rememberUpgrade:!1,addTrailingSlash:!0,rejectUnauthorized:!0,perMessageDeflate:{threshold:1024},transportOptions:{},closeOnBeforeunload:!1},f),this.opts.path=this.opts.path.replace(/\/$/,"")+(this.opts.addTrailingSlash?"/":""),typeof this.opts.query=="string"&&(this.opts.query=(0,n.decode)(this.opts.query)),this.id=null,this.upgrades=null,this.pingInterval=null,this.pingTimeout=null,this.pingTimeoutTimer=null,typeof addEventListener=="function"&&(this.opts.closeOnBeforeunload&&(this.beforeunloadEventListener=()=>{this.transport&&(this.transport.removeAllListeners(),this.transport.close())},addEventListener("beforeunload",this.beforeunloadEventListener,!1)),this.hostname!=="localhost"&&(this.offlineEventListener=()=>{this.onClose("transport close",{description:"network connection lost"})},addEventListener("offline",this.offlineEventListener,!1))),this.open()}createTransport(d){u('creating transport "%s"',d);const f=Object.assign({},this.opts.query);f.EIO=i.protocol,f.transport=d,this.id&&(f.sid=this.id);const h=Object.assign({},this.opts,{query:f,socket:this,hostname:this.hostname,secure:this.secure,port:this.port},this.opts.transportOptions[d]);return u("options: %j",h),new t.transports[d](h)}open(){let d;if(this.opts.rememberUpgrade&&c.priorWebsocketSuccess&&this.transports.indexOf("websocket")!==-1)d="websocket";else if(this.transports.length===0){this.setTimeoutFn(()=>{this.emitReserved("error","No transports available")},0);return}else d=this.transports[0];this.readyState="opening";try{d=this.createTransport(d)}catch(f){u("error while creating transport: %s",f),this.transports.shift(),this.open();return}d.open(),this.setTransport(d)}setTransport(d){u("setting transport %s",d.name),this.transport&&(u("clearing existing transport %s",this.transport.name),this.transport.removeAllListeners()),this.transport=d,d.on("drain",this.onDrain.bind(this)).on("packet",this.onPacket.bind(this)).on("error",this.onError.bind(this)).on("close",f=>this.onClose("transport close",f))}probe(d){u('probing transport "%s"',d);let f=this.createTransport(d),h=!1;c.priorWebsocketSuccess=!1;const m=()=>{h||(u('probe transport "%s" opened',d),f.send([{type:"ping",data:"probe"}]),f.once("packet",C=>{if(!h)if(C.type==="pong"&&C.data==="probe"){if(u('probe transport "%s" pong',d),this.upgrading=!0,this.emitReserved("upgrading",f),!f)return;c.priorWebsocketSuccess=f.name==="websocket",u('pausing current transport "%s"',this.transport.name),this.transport.pause(()=>{h||this.readyState!=="closed"&&(u("changing transport and sending upgrade packet"),T(),this.setTransport(f),f.send([{type:"upgrade"}]),this.emitReserved("upgrade",f),f=null,this.upgrading=!1,this.flush())})}else{u('probe transport "%s" failed',d);const N=new Error("probe error");N.transport=f.name,this.emitReserved("upgradeError",N)}}))};function _(){h||(h=!0,T(),f.close(),f=null)}const b=C=>{const N=new Error("probe error: "+C);N.transport=f.name,_(),u('probe transport "%s" failed because of error: %s',d,C),this.emitReserved("upgradeError",N)};function v(){b("transport closed")}function w(){b("socket closed")}function R(C){f&&C.name!==f.name&&(u('"%s" works - aborting "%s"',C.name,f.name),_())}const T=()=>{f.removeListener("open",m),f.removeListener("error",b),f.removeListener("close",v),this.off("close",w),this.off("upgrading",R)};f.once("open",m),f.once("error",b),f.once("close",v),this.once("close",w),this.once("upgrading",R),this.upgrades.indexOf("webtransport")!==-1&&d!=="webtransport"?this.setTimeoutFn(()=>{h||f.open()},200):f.open()}onOpen(){if(u("socket open"),this.readyState="open",c.priorWebsocketSuccess=this.transport.name==="websocket",this.emitReserved("open"),this.flush(),this.readyState==="open"&&this.opts.upgrade){u("starting upgrade probes");let d=0;const f=this.upgrades.length;for(;d<f;d++)this.probe(this.upgrades[d])}}onPacket(d){if(this.readyState==="opening"||this.readyState==="open"||this.readyState==="closing")switch(u('socket receive: type "%s", data "%s"',d.type,d.data),this.emitReserved("packet",d),this.emitReserved("heartbeat"),this.resetPingTimeout(),d.type){case"open":this.onHandshake(JSON.parse(d.data));break;case"ping":this.sendPacket("pong"),this.emitReserved("ping"),this.emitReserved("pong");break;case"error":const f=new Error("server error");f.code=d.data,this.onError(f);break;case"message":this.emitReserved("data",d.data),this.emitReserved("message",d.data);break}else u('packet received with socket readyState "%s"',this.readyState)}onHandshake(d){this.emitReserved("handshake",d),this.id=d.sid,this.transport.query.sid=d.sid,this.upgrades=this.filterUpgrades(d.upgrades),this.pingInterval=d.pingInterval,this.pingTimeout=d.pingTimeout,this.maxPayload=d.maxPayload,this.onOpen(),this.readyState!=="closed"&&this.resetPingTimeout()}resetPingTimeout(){this.clearTimeoutFn(this.pingTimeoutTimer),this.pingTimeoutTimer=this.setTimeoutFn(()=>{this.onClose("ping timeout")},this.pingInterval+this.pingTimeout),this.opts.autoUnref&&this.pingTimeoutTimer.unref()}onDrain(){this.writeBuffer.splice(0,this.prevBufferLen),this.prevBufferLen=0,this.writeBuffer.length===0?this.emitReserved("drain"):this.flush()}flush(){if(this.readyState!=="closed"&&this.transport.writable&&!this.upgrading&&this.writeBuffer.length){const d=this.getWritablePackets();u("flushing %d packets in socket",d.length),this.transport.send(d),this.prevBufferLen=d.length,this.emitReserved("flush")}}getWritablePackets(){if(!(this.maxPayload&&this.transport.name==="polling"&&this.writeBuffer.length>1))return this.writeBuffer;let f=1;for(let h=0;h<this.writeBuffer.length;h++){const m=this.writeBuffer[h].data;if(m&&(f+=(0,r.byteLength)(m)),h>0&&f>this.maxPayload)return u("only send %d out of %d packets",h,this.writeBuffer.length),this.writeBuffer.slice(0,h);f+=2}return u("payload size is %d (max: %d)",f,this.maxPayload),this.writeBuffer}write(d,f,h){return this.sendPacket("message",d,f,h),this}send(d,f,h){return this.sendPacket("message",d,f,h),this}sendPacket(d,f,h,m){if(typeof f=="function"&&(m=f,f=void 0),typeof h=="function"&&(m=h,h=null),this.readyState==="closing"||this.readyState==="closed")return;h=h||{},h.compress=h.compress!==!1;const _={type:d,data:f,options:h};this.emitReserved("packetCreate",_),this.writeBuffer.push(_),m&&this.once("flush",m),this.flush()}close(){const d=()=>{this.onClose("forced close"),u("socket closing - telling transport to close"),this.transport.close()},f=()=>{this.off("upgrade",f),this.off("upgradeError",f),d()},h=()=>{this.once("upgrade",f),this.once("upgradeError",f)};return(this.readyState==="opening"||this.readyState==="open")&&(this.readyState="closing",this.writeBuffer.length?this.once("drain",()=>{this.upgrading?h():d()}):this.upgrading?h():d()),this}onError(d){u("socket error %j",d),c.priorWebsocketSuccess=!1,this.emitReserved("error",d),this.onClose("transport error",d)}onClose(d,f){(this.readyState==="opening"||this.readyState==="open"||this.readyState==="closing")&&(u('socket close with reason: "%s"',d),this.clearTimeoutFn(this.pingTimeoutTimer),this.transport.removeAllListeners("close"),this.transport.close(),this.transport.removeAllListeners(),typeof removeEventListener=="function"&&(removeEventListener("beforeunload",this.beforeunloadEventListener,!1),removeEventListener("offline",this.offlineEventListener,!1)),this.readyState="closed",this.id=null,this.emitReserved("close",d,f),this.writeBuffer=[],this.prevBufferLen=0)}filterUpgrades(d){const f=[];let h=0;const m=d.length;for(;h<m;h++)~this.transports.indexOf(d[h])&&f.push(d[h]);return f}}return eo.Socket=c,c.protocol=i.protocol,eo}var Pv;function s0(){return Pv||(Pv=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.nextTick=e.parse=e.installTimerFunctions=e.transports=e.Transport=e.protocol=e.Socket=void 0;const t=dA();Object.defineProperty(e,"Socket",{enumerable:!0,get:function(){return t.Socket}}),e.protocol=t.Socket.protocol;var r=Cs();Object.defineProperty(e,"Transport",{enumerable:!0,get:function(){return r.Transport}});var n=o0();Object.defineProperty(e,"transports",{enumerable:!0,get:function(){return n.transports}});var a=Uo();Object.defineProperty(e,"installTimerFunctions",{enumerable:!0,get:function(){return a.installTimerFunctions}});var o=i0();Object.defineProperty(e,"parse",{enumerable:!0,get:function(){return o.parse}});var s=Os();Object.defineProperty(e,"nextTick",{enumerable:!0,get:function(){return s.nextTick}})}(Yf)),Yf}var Av;function pA(){if(Av)return Za;Av=1;var e=be&&be.__importDefault||function(o){return o&&o.__esModule?o:{default:o}};Object.defineProperty(Za,"__esModule",{value:!0}),Za.url=void 0;const t=s0(),n=e(ir()).default("socket.io-client:url");function a(o,s="",i){let l=o;i=i||typeof location<"u"&&location,o==null&&(o=i.protocol+"//"+i.host),typeof o=="string"&&(o.charAt(0)==="/"&&(o.charAt(1)==="/"?o=i.protocol+o:o=i.host+o),/^(https?|wss?):\/\//.test(o)||(n("protocol-less url %s",o),typeof i<"u"?o=i.protocol+"//"+o:o="https://"+o),n("parse %s",o),l=t.parse(o)),l.port||(/^(http|ws)$/.test(l.protocol)?l.port="80":/^(http|ws)s$/.test(l.protocol)&&(l.port="443")),l.path=l.path||"/";const c=l.host.indexOf(":")!==-1?"["+l.host+"]":l.host;return l.id=l.protocol+"://"+c+":"+l.port+s,l.href=l.protocol+"://"+c+(i&&i.port===l.port?"":":"+l.port),l}return Za.url=a,Za}var uo={},co={},Jf={},mn={},yn={},Iv;function l0(){if(Iv)return yn;Iv=1,Object.defineProperty(yn,"__esModule",{value:!0}),yn.hasBinary=yn.isBinary=void 0;const e=typeof ArrayBuffer=="function",t=i=>typeof ArrayBuffer.isView=="function"?ArrayBuffer.isView(i):i.buffer instanceof ArrayBuffer,r=Object.prototype.toString,n=typeof Blob=="function"||typeof Blob<"u"&&r.call(Blob)==="[object BlobConstructor]",a=typeof File=="function"||typeof File<"u"&&r.call(File)==="[object FileConstructor]";function o(i){return e&&(i instanceof ArrayBuffer||t(i))||n&&i instanceof Blob||a&&i instanceof File}yn.isBinary=o;function s(i,l){if(!i||typeof i!="object")return!1;if(Array.isArray(i)){for(let u=0,c=i.length;u<c;u++)if(s(i[u]))return!0;return!1}if(o(i))return!0;if(i.toJSON&&typeof i.toJSON=="function"&&arguments.length===1)return s(i.toJSON(),!0);for(const u in i)if(Object.prototype.hasOwnProperty.call(i,u)&&s(i[u]))return!0;return!1}return yn.hasBinary=s,yn}var Nv;function hA(){if(Nv)return mn;Nv=1,Object.defineProperty(mn,"__esModule",{value:!0}),mn.reconstructPacket=mn.deconstructPacket=void 0;const e=l0();function t(o){const s=[],i=o.data,l=o;return l.data=r(i,s),l.attachments=s.length,{packet:l,buffers:s}}mn.deconstructPacket=t;function r(o,s){if(!o)return o;if((0,e.isBinary)(o)){const i={_placeholder:!0,num:s.length};return s.push(o),i}else if(Array.isArray(o)){const i=new Array(o.length);for(let l=0;l<o.length;l++)i[l]=r(o[l],s);return i}else if(typeof o=="object"&&!(o instanceof Date)){const i={};for(const l in o)Object.prototype.hasOwnProperty.call(o,l)&&(i[l]=r(o[l],s));return i}return o}function n(o,s){return o.data=a(o.data,s),delete o.attachments,o}mn.reconstructPacket=n;function a(o,s){if(!o)return o;if(o&&o._placeholder===!0){if(typeof o.num=="number"&&o.num>=0&&o.num<s.length)return s[o.num];throw new Error("illegal attachments")}else if(Array.isArray(o))for(let i=0;i<o.length;i++)o[i]=a(o[i],s);else if(typeof o=="object")for(const i in o)Object.prototype.hasOwnProperty.call(o,i)&&(o[i]=a(o[i],s));return o}return mn}var Mv;function Th(){return Mv||(Mv=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.Decoder=e.Encoder=e.PacketType=e.protocol=void 0;const t=wa,r=hA(),n=l0(),o=(0,ir().default)("socket.io-parser"),s=["connect","connect_error","disconnect","disconnecting","newListener","removeListener"];e.protocol=5;var i;(function(d){d[d.CONNECT=0]="CONNECT",d[d.DISCONNECT=1]="DISCONNECT",d[d.EVENT=2]="EVENT",d[d.ACK=3]="ACK",d[d.CONNECT_ERROR=4]="CONNECT_ERROR",d[d.BINARY_EVENT=5]="BINARY_EVENT",d[d.BINARY_ACK=6]="BINARY_ACK"})(i=e.PacketType||(e.PacketType={}));class l{constructor(f){this.replacer=f}encode(f){return o("encoding packet %j",f),(f.type===i.EVENT||f.type===i.ACK)&&(0,n.hasBinary)(f)?this.encodeAsBinary({type:f.type===i.EVENT?i.BINARY_EVENT:i.BINARY_ACK,nsp:f.nsp,data:f.data,id:f.id}):[this.encodeAsString(f)]}encodeAsString(f){let h=""+f.type;return(f.type===i.BINARY_EVENT||f.type===i.BINARY_ACK)&&(h+=f.attachments+"-"),f.nsp&&f.nsp!=="/"&&(h+=f.nsp+","),f.id!=null&&(h+=f.id),f.data!=null&&(h+=JSON.stringify(f.data,this.replacer)),o("encoded %j as %s",f,h),h}encodeAsBinary(f){const h=(0,r.deconstructPacket)(f),m=this.encodeAsString(h.packet),_=h.buffers;return _.unshift(m),_}}e.Encoder=l;function u(d){return Object.prototype.toString.call(d)==="[object Object]"}class c extends t.Emitter{constructor(f){super(),this.reviver=f}add(f){let h;if(typeof f=="string"){if(this.reconstructor)throw new Error("got plaintext data when reconstructing a packet");h=this.decodeString(f);const m=h.type===i.BINARY_EVENT;m||h.type===i.BINARY_ACK?(h.type=m?i.EVENT:i.ACK,this.reconstructor=new p(h),h.attachments===0&&super.emitReserved("decoded",h)):super.emitReserved("decoded",h)}else if((0,n.isBinary)(f)||f.base64)if(this.reconstructor)h=this.reconstructor.takeBinaryData(f),h&&(this.reconstructor=null,super.emitReserved("decoded",h));else throw new Error("got binary data when not reconstructing a packet");else throw new Error("Unknown type: "+f)}decodeString(f){let h=0;const m={type:Number(f.charAt(0))};if(i[m.type]===void 0)throw new Error("unknown packet type "+m.type);if(m.type===i.BINARY_EVENT||m.type===i.BINARY_ACK){const b=h+1;for(;f.charAt(++h)!=="-"&&h!=f.length;);const v=f.substring(b,h);if(v!=Number(v)||f.charAt(h)!=="-")throw new Error("Illegal attachments");m.attachments=Number(v)}if(f.charAt(h+1)==="/"){const b=h+1;for(;++h&&!(f.charAt(h)===","||h===f.length););m.nsp=f.substring(b,h)}else m.nsp="/";const _=f.charAt(h+1);if(_!==""&&Number(_)==_){const b=h+1;for(;++h;){const v=f.charAt(h);if(v==null||Number(v)!=v){--h;break}if(h===f.length)break}m.id=Number(f.substring(b,h+1))}if(f.charAt(++h)){const b=this.tryParse(f.substr(h));if(c.isPayloadValid(m.type,b))m.data=b;else throw new Error("invalid payload")}return o("decoded %s as %j",f,m),m}tryParse(f){try{return JSON.parse(f,this.reviver)}catch{return!1}}static isPayloadValid(f,h){switch(f){case i.CONNECT:return u(h);case i.DISCONNECT:return h===void 0;case i.CONNECT_ERROR:return typeof h=="string"||u(h);case i.EVENT:case i.BINARY_EVENT:return Array.isArray(h)&&(typeof h[0]=="number"||typeof h[0]=="string"&&s.indexOf(h[0])===-1);case i.ACK:case i.BINARY_ACK:return Array.isArray(h)}}destroy(){this.reconstructor&&(this.reconstructor.finishedReconstruction(),this.reconstructor=null)}}e.Decoder=c;class p{constructor(f){this.packet=f,this.buffers=[],this.reconPack=f}takeBinaryData(f){if(this.buffers.push(f),this.buffers.length===this.reconPack.attachments){const h=(0,r.reconstructPacket)(this.reconPack,this.buffers);return this.finishedReconstruction(),h}return null}finishedReconstruction(){this.reconPack=null,this.buffers=[]}}}(Jf)),Jf}var fo={},kv;function u0(){if(kv)return fo;kv=1,Object.defineProperty(fo,"__esModule",{value:!0}),fo.on=void 0;function e(t,r,n){return t.on(r,n),function(){t.off(r,n)}}return fo.on=e,fo}var $v;function c0(){if($v)return co;$v=1;var e=be&&be.__importDefault||function(l){return l&&l.__esModule?l:{default:l}};Object.defineProperty(co,"__esModule",{value:!0}),co.Socket=void 0;const t=Th(),r=u0(),n=wa,o=e(ir()).default("socket.io-client:socket"),s=Object.freeze({connect:1,connect_error:1,disconnect:1,disconnecting:1,newListener:1,removeListener:1});class i extends n.Emitter{constructor(u,c,p){super(),this.connected=!1,this.recovered=!1,this.receiveBuffer=[],this.sendBuffer=[],this._queue=[],this._queueSeq=0,this.ids=0,this.acks={},this.flags={},this.io=u,this.nsp=c,p&&p.auth&&(this.auth=p.auth),this._opts=Object.assign({},p),this.io._autoConnect&&this.open()}get disconnected(){return!this.connected}subEvents(){if(this.subs)return;const u=this.io;this.subs=[r.on(u,"open",this.onopen.bind(this)),r.on(u,"packet",this.onpacket.bind(this)),r.on(u,"error",this.onerror.bind(this)),r.on(u,"close",this.onclose.bind(this))]}get active(){return!!this.subs}connect(){return this.connected?this:(this.subEvents(),this.io._reconnecting||this.io.open(),this.io._readyState==="open"&&this.onopen(),this)}open(){return this.connect()}send(...u){return u.unshift("message"),this.emit.apply(this,u),this}emit(u,...c){if(s.hasOwnProperty(u))throw new Error('"'+u.toString()+'" is a reserved event name');if(c.unshift(u),this._opts.retries&&!this.flags.fromQueue&&!this.flags.volatile)return this._addToQueue(c),this;const p={type:t.PacketType.EVENT,data:c};if(p.options={},p.options.compress=this.flags.compress!==!1,typeof c[c.length-1]=="function"){const h=this.ids++;o("emitting packet with ack id %d",h);const m=c.pop();this._registerAckCallback(h,m),p.id=h}const d=this.io.engine&&this.io.engine.transport&&this.io.engine.transport.writable;return this.flags.volatile&&(!d||!this.connected)?o("discard packet as the transport is not currently writable"):this.connected?(this.notifyOutgoingListeners(p),this.packet(p)):this.sendBuffer.push(p),this.flags={},this}_registerAckCallback(u,c){var p;const d=(p=this.flags.timeout)!==null&&p!==void 0?p:this._opts.ackTimeout;if(d===void 0){this.acks[u]=c;return}const f=this.io.setTimeoutFn(()=>{delete this.acks[u];for(let h=0;h<this.sendBuffer.length;h++)this.sendBuffer[h].id===u&&(o("removing packet with ack id %d from the buffer",u),this.sendBuffer.splice(h,1));o("event with ack id %d has timed out after %d ms",u,d),c.call(this,new Error("operation has timed out"))},d);this.acks[u]=(...h)=>{this.io.clearTimeoutFn(f),c.apply(this,[null,...h])}}emitWithAck(u,...c){const p=this.flags.timeout!==void 0||this._opts.ackTimeout!==void 0;return new Promise((d,f)=>{c.push((h,m)=>p?h?f(h):d(m):d(h)),this.emit(u,...c)})}_addToQueue(u){let c;typeof u[u.length-1]=="function"&&(c=u.pop());const p={id:this._queueSeq++,tryCount:0,pending:!1,args:u,flags:Object.assign({fromQueue:!0},this.flags)};u.push((d,...f)=>p!==this._queue[0]?void 0:(d!==null?p.tryCount>this._opts.retries&&(o("packet [%d] is discarded after %d tries",p.id,p.tryCount),this._queue.shift(),c&&c(d)):(o("packet [%d] was successfully sent",p.id),this._queue.shift(),c&&c(null,...f)),p.pending=!1,this._drainQueue())),this._queue.push(p),this._drainQueue()}_drainQueue(u=!1){if(o("draining queue"),!this.connected||this._queue.length===0)return;const c=this._queue[0];if(c.pending&&!u){o("packet [%d] has already been sent and is waiting for an ack",c.id);return}c.pending=!0,c.tryCount++,o("sending packet [%d] (try n°%d)",c.id,c.tryCount),this.flags=c.flags,this.emit.apply(this,c.args)}packet(u){u.nsp=this.nsp,this.io._packet(u)}onopen(){o("transport is open - connecting"),typeof this.auth=="function"?this.auth(u=>{this._sendConnectPacket(u)}):this._sendConnectPacket(this.auth)}_sendConnectPacket(u){this.packet({type:t.PacketType.CONNECT,data:this._pid?Object.assign({pid:this._pid,offset:this._lastOffset},u):u})}onerror(u){this.connected||this.emitReserved("connect_error",u)}onclose(u,c){o("close (%s)",u),this.connected=!1,delete this.id,this.emitReserved("disconnect",u,c)}onpacket(u){if(u.nsp===this.nsp)switch(u.type){case t.PacketType.CONNECT:u.data&&u.data.sid?this.onconnect(u.data.sid,u.data.pid):this.emitReserved("connect_error",new Error("It seems you are trying to reach a Socket.IO server in v2.x with a v3.x client, but they are not compatible (more information here: https://socket.io/docs/v3/migrating-from-2-x-to-3-0/)"));break;case t.PacketType.EVENT:case t.PacketType.BINARY_EVENT:this.onevent(u);break;case t.PacketType.ACK:case t.PacketType.BINARY_ACK:this.onack(u);break;case t.PacketType.DISCONNECT:this.ondisconnect();break;case t.PacketType.CONNECT_ERROR:this.destroy();const p=new Error(u.data.message);p.data=u.data.data,this.emitReserved("connect_error",p);break}}onevent(u){const c=u.data||[];o("emitting event %j",c),u.id!=null&&(o("attaching ack callback to event"),c.push(this.ack(u.id))),this.connected?this.emitEvent(c):this.receiveBuffer.push(Object.freeze(c))}emitEvent(u){if(this._anyListeners&&this._anyListeners.length){const c=this._anyListeners.slice();for(const p of c)p.apply(this,u)}super.emit.apply(this,u),this._pid&&u.length&&typeof u[u.length-1]=="string"&&(this._lastOffset=u[u.length-1])}ack(u){const c=this;let p=!1;return function(...d){p||(p=!0,o("sending ack %j",d),c.packet({type:t.PacketType.ACK,id:u,data:d}))}}onack(u){const c=this.acks[u.id];typeof c=="function"?(o("calling ack %s with %j",u.id,u.data),c.apply(this,u.data),delete this.acks[u.id]):o("bad ack %s",u.id)}onconnect(u,c){o("socket connected with id %s",u),this.id=u,this.recovered=c&&this._pid===c,this._pid=c,this.connected=!0,this.emitBuffered(),this.emitReserved("connect"),this._drainQueue(!0)}emitBuffered(){this.receiveBuffer.forEach(u=>this.emitEvent(u)),this.receiveBuffer=[],this.sendBuffer.forEach(u=>{this.notifyOutgoingListeners(u),this.packet(u)}),this.sendBuffer=[]}ondisconnect(){o("server disconnect (%s)",this.nsp),this.destroy(),this.onclose("io server disconnect")}destroy(){this.subs&&(this.subs.forEach(u=>u()),this.subs=void 0),this.io._destroy(this)}disconnect(){return this.connected&&(o("performing disconnect (%s)",this.nsp),this.packet({type:t.PacketType.DISCONNECT})),this.destroy(),this.connected&&this.onclose("io client disconnect"),this}close(){return this.disconnect()}compress(u){return this.flags.compress=u,this}get volatile(){return this.flags.volatile=!0,this}timeout(u){return this.flags.timeout=u,this}onAny(u){return this._anyListeners=this._anyListeners||[],this._anyListeners.push(u),this}prependAny(u){return this._anyListeners=this._anyListeners||[],this._anyListeners.unshift(u),this}offAny(u){if(!this._anyListeners)return this;if(u){const c=this._anyListeners;for(let p=0;p<c.length;p++)if(u===c[p])return c.splice(p,1),this}else this._anyListeners=[];return this}listenersAny(){return this._anyListeners||[]}onAnyOutgoing(u){return this._anyOutgoingListeners=this._anyOutgoingListeners||[],this._anyOutgoingListeners.push(u),this}prependAnyOutgoing(u){return this._anyOutgoingListeners=this._anyOutgoingListeners||[],this._anyOutgoingListeners.unshift(u),this}offAnyOutgoing(u){if(!this._anyOutgoingListeners)return this;if(u){const c=this._anyOutgoingListeners;for(let p=0;p<c.length;p++)if(u===c[p])return c.splice(p,1),this}else this._anyOutgoingListeners=[];return this}listenersAnyOutgoing(){return this._anyOutgoingListeners||[]}notifyOutgoingListeners(u){if(this._anyOutgoingListeners&&this._anyOutgoingListeners.length){const c=this._anyOutgoingListeners.slice();for(const p of c)p.apply(this,u.data)}}}return co.Socket=i,co}var po={},Lv;function mA(){if(Lv)return po;Lv=1,Object.defineProperty(po,"__esModule",{value:!0}),po.Backoff=void 0;function e(t){t=t||{},this.ms=t.min||100,this.max=t.max||1e4,this.factor=t.factor||2,this.jitter=t.jitter>0&&t.jitter<=1?t.jitter:0,this.attempts=0}return po.Backoff=e,e.prototype.duration=function(){var t=this.ms*Math.pow(this.factor,this.attempts++);if(this.jitter){var r=Math.random(),n=Math.floor(r*this.jitter*t);t=Math.floor(r*10)&1?t+n:t-n}return Math.min(t,this.max)|0},e.prototype.reset=function(){this.attempts=0},e.prototype.setMin=function(t){this.ms=t},e.prototype.setMax=function(t){this.max=t},e.prototype.setJitter=function(t){this.jitter=t},po}var Bv;function yA(){if(Bv)return uo;Bv=1;var e=be&&be.__createBinding||(Object.create?function(f,h,m,_){_===void 0&&(_=m),Object.defineProperty(f,_,{enumerable:!0,get:function(){return h[m]}})}:function(f,h,m,_){_===void 0&&(_=m),f[_]=h[m]}),t=be&&be.__setModuleDefault||(Object.create?function(f,h){Object.defineProperty(f,"default",{enumerable:!0,value:h})}:function(f,h){f.default=h}),r=be&&be.__importStar||function(f){if(f&&f.__esModule)return f;var h={};if(f!=null)for(var m in f)m!=="default"&&Object.prototype.hasOwnProperty.call(f,m)&&e(h,f,m);return t(h,f),h},n=be&&be.__importDefault||function(f){return f&&f.__esModule?f:{default:f}};Object.defineProperty(uo,"__esModule",{value:!0}),uo.Manager=void 0;const a=s0(),o=c0(),s=r(Th()),i=u0(),l=mA(),u=wa,p=n(ir()).default("socket.io-client:manager");class d extends u.Emitter{constructor(h,m){var _;super(),this.nsps={},this.subs=[],h&&typeof h=="object"&&(m=h,h=void 0),m=m||{},m.path=m.path||"/socket.io",this.opts=m,a.installTimerFunctions(this,m),this.reconnection(m.reconnection!==!1),this.reconnectionAttempts(m.reconnectionAttempts||1/0),this.reconnectionDelay(m.reconnectionDelay||1e3),this.reconnectionDelayMax(m.reconnectionDelayMax||5e3),this.randomizationFactor((_=m.randomizationFactor)!==null&&_!==void 0?_:.5),this.backoff=new l.Backoff({min:this.reconnectionDelay(),max:this.reconnectionDelayMax(),jitter:this.randomizationFactor()}),this.timeout(m.timeout==null?2e4:m.timeout),this._readyState="closed",this.uri=h;const b=m.parser||s;this.encoder=new b.Encoder,this.decoder=new b.Decoder,this._autoConnect=m.autoConnect!==!1,this._autoConnect&&this.open()}reconnection(h){return arguments.length?(this._reconnection=!!h,this):this._reconnection}reconnectionAttempts(h){return h===void 0?this._reconnectionAttempts:(this._reconnectionAttempts=h,this)}reconnectionDelay(h){var m;return h===void 0?this._reconnectionDelay:(this._reconnectionDelay=h,(m=this.backoff)===null||m===void 0||m.setMin(h),this)}randomizationFactor(h){var m;return h===void 0?this._randomizationFactor:(this._randomizationFactor=h,(m=this.backoff)===null||m===void 0||m.setJitter(h),this)}reconnectionDelayMax(h){var m;return h===void 0?this._reconnectionDelayMax:(this._reconnectionDelayMax=h,(m=this.backoff)===null||m===void 0||m.setMax(h),this)}timeout(h){return arguments.length?(this._timeout=h,this):this._timeout}maybeReconnectOnOpen(){!this._reconnecting&&this._reconnection&&this.backoff.attempts===0&&this.reconnect()}open(h){if(p("readyState %s",this._readyState),~this._readyState.indexOf("open"))return this;p("opening %s",this.uri),this.engine=new a.Socket(this.uri,this.opts);const m=this.engine,_=this;this._readyState="opening",this.skipReconnect=!1;const b=i.on(m,"open",function(){_.onopen(),h&&h()}),v=R=>{p("error"),this.cleanup(),this._readyState="closed",this.emitReserved("error",R),h?h(R):this.maybeReconnectOnOpen()},w=i.on(m,"error",v);if(this._timeout!==!1){const R=this._timeout;p("connect attempt will timeout after %d",R);const T=this.setTimeoutFn(()=>{p("connect attempt timed out after %d",R),b(),v(new Error("timeout")),m.close()},R);this.opts.autoUnref&&T.unref(),this.subs.push(()=>{this.clearTimeoutFn(T)})}return this.subs.push(b),this.subs.push(w),this}connect(h){return this.open(h)}onopen(){p("open"),this.cleanup(),this._readyState="open",this.emitReserved("open");const h=this.engine;this.subs.push(i.on(h,"ping",this.onping.bind(this)),i.on(h,"data",this.ondata.bind(this)),i.on(h,"error",this.onerror.bind(this)),i.on(h,"close",this.onclose.bind(this)),i.on(this.decoder,"decoded",this.ondecoded.bind(this)))}onping(){this.emitReserved("ping")}ondata(h){try{this.decoder.add(h)}catch(m){this.onclose("parse error",m)}}ondecoded(h){a.nextTick(()=>{this.emitReserved("packet",h)},this.setTimeoutFn)}onerror(h){p("error",h),this.emitReserved("error",h)}socket(h,m){let _=this.nsps[h];return _?this._autoConnect&&!_.active&&_.connect():(_=new o.Socket(this,h,m),this.nsps[h]=_),_}_destroy(h){const m=Object.keys(this.nsps);for(const _ of m)if(this.nsps[_].active){p("socket %s is still active, skipping close",_);return}this._close()}_packet(h){p("writing packet %j",h);const m=this.encoder.encode(h);for(let _=0;_<m.length;_++)this.engine.write(m[_],h.options)}cleanup(){p("cleanup"),this.subs.forEach(h=>h()),this.subs.length=0,this.decoder.destroy()}_close(){p("disconnect"),this.skipReconnect=!0,this._reconnecting=!1,this.onclose("forced close"),this.engine&&this.engine.close()}disconnect(){return this._close()}onclose(h,m){p("closed due to %s",h),this.cleanup(),this.backoff.reset(),this._readyState="closed",this.emitReserved("close",h,m),this._reconnection&&!this.skipReconnect&&this.reconnect()}reconnect(){if(this._reconnecting||this.skipReconnect)return this;const h=this;if(this.backoff.attempts>=this._reconnectionAttempts)p("reconnect failed"),this.backoff.reset(),this.emitReserved("reconnect_failed"),this._reconnecting=!1;else{const m=this.backoff.duration();p("will wait %dms before reconnect attempt",m),this._reconnecting=!0;const _=this.setTimeoutFn(()=>{h.skipReconnect||(p("attempting reconnect"),this.emitReserved("reconnect_attempt",h.backoff.attempts),!h.skipReconnect&&h.open(b=>{b?(p("reconnect attempt error"),h._reconnecting=!1,h.reconnect(),this.emitReserved("reconnect_error",b)):(p("reconnect success"),h.onreconnect())}))},m);this.opts.autoUnref&&_.unref(),this.subs.push(()=>{this.clearTimeoutFn(_)})}}onreconnect(){const h=this.backoff.attempts;this._reconnecting=!1,this.backoff.reset(),this.emitReserved("reconnect",h)}}return uo.Manager=d,uo}var qv;function vA(){return qv||(qv=1,function(e,t){var r=be&&be.__importDefault||function(p){return p&&p.__esModule?p:{default:p}};Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.connect=t.io=t.Socket=t.Manager=t.protocol=void 0;const n=pA(),a=yA();Object.defineProperty(t,"Manager",{enumerable:!0,get:function(){return a.Manager}});const o=c0();Object.defineProperty(t,"Socket",{enumerable:!0,get:function(){return o.Socket}});const i=r(ir()).default("socket.io-client"),l={};function u(p,d){typeof p=="object"&&(d=p,p=void 0),d=d||{};const f=n.url(p,d.path||"/socket.io"),h=f.source,m=f.id,_=f.path,b=l[m]&&_ in l[m].nsps,v=d.forceNew||d["force new connection"]||d.multiplex===!1||b;let w;return v?(i("ignoring socket cache for %s",h),w=new a.Manager(h,d)):(l[m]||(i("new io instance for %s",h),l[m]=new a.Manager(h,d)),w=l[m]),f.query&&!d.query&&(d.query=f.queryKey),w.socket(f.path,d)}t.io=u,t.connect=u,t.default=u,Object.assign(u,{Manager:a.Manager,Socket:o.Socket,io:u,connect:u});var c=Th();Object.defineProperty(t,"protocol",{enumerable:!0,get:function(){return c.protocol}}),e.exports=u}(Si,Si.exports)),Si.exports}var Zf={},ho={},Dv;function gA(){if(Dv)return ho;Dv=1,ho.byteLength=i,ho.toByteArray=u,ho.fromByteArray=d;for(var e=[],t=[],r=typeof Uint8Array<"u"?Uint8Array:Array,n="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",a=0,o=n.length;a<o;++a)e[a]=n[a],t[n.charCodeAt(a)]=a;t["-".charCodeAt(0)]=62,t["_".charCodeAt(0)]=63;function s(f){var h=f.length;if(h%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var m=f.indexOf("=");m===-1&&(m=h);var _=m===h?0:4-m%4;return[m,_]}function i(f){var h=s(f),m=h[0],_=h[1];return(m+_)*3/4-_}function l(f,h,m){return(h+m)*3/4-m}function u(f){var h,m=s(f),_=m[0],b=m[1],v=new r(l(f,_,b)),w=0,R=b>0?_-4:_,T;for(T=0;T<R;T+=4)h=t[f.charCodeAt(T)]<<18|t[f.charCodeAt(T+1)]<<12|t[f.charCodeAt(T+2)]<<6|t[f.charCodeAt(T+3)],v[w++]=h>>16&255,v[w++]=h>>8&255,v[w++]=h&255;return b===2&&(h=t[f.charCodeAt(T)]<<2|t[f.charCodeAt(T+1)]>>4,v[w++]=h&255),b===1&&(h=t[f.charCodeAt(T)]<<10|t[f.charCodeAt(T+1)]<<4|t[f.charCodeAt(T+2)]>>2,v[w++]=h>>8&255,v[w++]=h&255),v}function c(f){return e[f>>18&63]+e[f>>12&63]+e[f>>6&63]+e[f&63]}function p(f,h,m){for(var _,b=[],v=h;v<m;v+=3)_=(f[v]<<16&16711680)+(f[v+1]<<8&65280)+(f[v+2]&255),b.push(c(_));return b.join("")}function d(f){for(var h,m=f.length,_=m%3,b=[],v=16383,w=0,R=m-_;w<R;w+=v)b.push(p(f,w,w+v>R?R:w+v));return _===1?(h=f[m-1],b.push(e[h>>2]+e[h<<4&63]+"==")):_===2&&(h=(f[m-2]<<8)+f[m-1],b.push(e[h>>10]+e[h>>4&63]+e[h<<2&63]+"=")),b.join("")}return ho}var Ci={};/*! ieee754. BSD-3-Clause License. Feross Aboukhadijeh <https://feross.org/opensource> */var Fv;function bA(){return Fv||(Fv=1,Ci.read=function(e,t,r,n,a){var o,s,i=a*8-n-1,l=(1<<i)-1,u=l>>1,c=-7,p=r?a-1:0,d=r?-1:1,f=e[t+p];for(p+=d,o=f&(1<<-c)-1,f>>=-c,c+=i;c>0;o=o*256+e[t+p],p+=d,c-=8);for(s=o&(1<<-c)-1,o>>=-c,c+=n;c>0;s=s*256+e[t+p],p+=d,c-=8);if(o===0)o=1-u;else{if(o===l)return s?NaN:(f?-1:1)*(1/0);s=s+Math.pow(2,n),o=o-u}return(f?-1:1)*s*Math.pow(2,o-n)},Ci.write=function(e,t,r,n,a,o){var s,i,l,u=o*8-a-1,c=(1<<u)-1,p=c>>1,d=a===23?Math.pow(2,-24)-Math.pow(2,-77):0,f=n?0:o-1,h=n?1:-1,m=t<0||t===0&&1/t<0?1:0;for(t=Math.abs(t),isNaN(t)||t===1/0?(i=isNaN(t)?1:0,s=c):(s=Math.floor(Math.log(t)/Math.LN2),t*(l=Math.pow(2,-s))<1&&(s--,l*=2),s+p>=1?t+=d/l:t+=d*Math.pow(2,1-p),t*l>=2&&(s++,l/=2),s+p>=c?(i=0,s=c):s+p>=1?(i=(t*l-1)*Math.pow(2,a),s=s+p):(i=t*Math.pow(2,p-1)*Math.pow(2,a),s=0));a>=8;e[r+f]=i&255,f+=h,i/=256,a-=8);for(s=s<<a|i,u+=a;u>0;e[r+f]=s&255,f+=h,s/=256,u-=8);e[r+f-h]|=m*128}),Ci}/*!
57
57
  * The buffer module from node.js, for the browser.
58
58
  *
59
59
  * @author Feross Aboukhadijeh <https://feross.org>
60
60
  * @license MIT
61
- */var Uv;function EA(){return Uv||(Uv=1,function(e){const t=gA(),r=bA(),n=typeof Symbol=="function"&&typeof Symbol.for=="function"?Symbol.for("nodejs.util.inspect.custom"):null;e.Buffer=i,e.SlowBuffer=v,e.INSPECT_MAX_BYTES=50;const a=2147483647;e.kMaxLength=a,i.TYPED_ARRAY_SUPPORT=o(),!i.TYPED_ARRAY_SUPPORT&&typeof console<"u"&&typeof console.error=="function"&&console.error("This browser lacks typed array (Uint8Array) support which is required by `buffer` v5.x. Use `buffer` v4.x if you require old browser support.");function o(){try{const S=new Uint8Array(1),y={foo:function(){return 42}};return Object.setPrototypeOf(y,Uint8Array.prototype),Object.setPrototypeOf(S,y),S.foo()===42}catch{return!1}}Object.defineProperty(i.prototype,"parent",{enumerable:!0,get:function(){if(i.isBuffer(this))return this.buffer}}),Object.defineProperty(i.prototype,"offset",{enumerable:!0,get:function(){if(i.isBuffer(this))return this.byteOffset}});function s(S){if(S>a)throw new RangeError('The value "'+S+'" is invalid for option "size"');const y=new Uint8Array(S);return Object.setPrototypeOf(y,i.prototype),y}function i(S,y,g){if(typeof S=="number"){if(typeof y=="string")throw new TypeError('The "string" argument must be of type string. Received type number');return p(S)}return l(S,y,g)}i.poolSize=8192;function l(S,y,g){if(typeof S=="string")return d(S,y);if(ArrayBuffer.isView(S))return h(S);if(S==null)throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof S);if(ze(S,ArrayBuffer)||S&&ze(S.buffer,ArrayBuffer)||typeof SharedArrayBuffer<"u"&&(ze(S,SharedArrayBuffer)||S&&ze(S.buffer,SharedArrayBuffer)))return m(S,y,g);if(typeof S=="number")throw new TypeError('The "value" argument must not be of type number. Received type number');const E=S.valueOf&&S.valueOf();if(E!=null&&E!==S)return i.from(E,y,g);const x=_(S);if(x)return x;if(typeof Symbol<"u"&&Symbol.toPrimitive!=null&&typeof S[Symbol.toPrimitive]=="function")return i.from(S[Symbol.toPrimitive]("string"),y,g);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof S)}i.from=function(S,y,g){return l(S,y,g)},Object.setPrototypeOf(i.prototype,Uint8Array.prototype),Object.setPrototypeOf(i,Uint8Array);function u(S){if(typeof S!="number")throw new TypeError('"size" argument must be of type number');if(S<0)throw new RangeError('The value "'+S+'" is invalid for option "size"')}function c(S,y,g){return u(S),S<=0?s(S):y!==void 0?typeof g=="string"?s(S).fill(y,g):s(S).fill(y):s(S)}i.alloc=function(S,y,g){return c(S,y,g)};function p(S){return u(S),s(S<0?0:b(S)|0)}i.allocUnsafe=function(S){return p(S)},i.allocUnsafeSlow=function(S){return p(S)};function d(S,y){if((typeof y!="string"||y==="")&&(y="utf8"),!i.isEncoding(y))throw new TypeError("Unknown encoding: "+y);const g=w(S,y)|0;let E=s(g);const x=E.write(S,y);return x!==g&&(E=E.slice(0,x)),E}function f(S){const y=S.length<0?0:b(S.length)|0,g=s(y);for(let E=0;E<y;E+=1)g[E]=S[E]&255;return g}function h(S){if(ze(S,Uint8Array)){const y=new Uint8Array(S);return m(y.buffer,y.byteOffset,y.byteLength)}return f(S)}function m(S,y,g){if(y<0||S.byteLength<y)throw new RangeError('"offset" is outside of buffer bounds');if(S.byteLength<y+(g||0))throw new RangeError('"length" is outside of buffer bounds');let E;return y===void 0&&g===void 0?E=new Uint8Array(S):g===void 0?E=new Uint8Array(S,y):E=new Uint8Array(S,y,g),Object.setPrototypeOf(E,i.prototype),E}function _(S){if(i.isBuffer(S)){const y=b(S.length)|0,g=s(y);return g.length===0||S.copy(g,0,0,y),g}if(S.length!==void 0)return typeof S.length!="number"||Rt(S.length)?s(0):f(S);if(S.type==="Buffer"&&Array.isArray(S.data))return f(S.data)}function b(S){if(S>=a)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+a.toString(16)+" bytes");return S|0}function v(S){return+S!=S&&(S=0),i.alloc(+S)}i.isBuffer=function(y){return y!=null&&y._isBuffer===!0&&y!==i.prototype},i.compare=function(y,g){if(ze(y,Uint8Array)&&(y=i.from(y,y.offset,y.byteLength)),ze(g,Uint8Array)&&(g=i.from(g,g.offset,g.byteLength)),!i.isBuffer(y)||!i.isBuffer(g))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(y===g)return 0;let E=y.length,x=g.length;for(let P=0,q=Math.min(E,x);P<q;++P)if(y[P]!==g[P]){E=y[P],x=g[P];break}return E<x?-1:x<E?1:0},i.isEncoding=function(y){switch(String(y).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}},i.concat=function(y,g){if(!Array.isArray(y))throw new TypeError('"list" argument must be an Array of Buffers');if(y.length===0)return i.alloc(0);let E;if(g===void 0)for(g=0,E=0;E<y.length;++E)g+=y[E].length;const x=i.allocUnsafe(g);let P=0;for(E=0;E<y.length;++E){let q=y[E];if(ze(q,Uint8Array))P+q.length>x.length?(i.isBuffer(q)||(q=i.from(q)),q.copy(x,P)):Uint8Array.prototype.set.call(x,q,P);else if(i.isBuffer(q))q.copy(x,P);else throw new TypeError('"list" argument must be an Array of Buffers');P+=q.length}return x};function w(S,y){if(i.isBuffer(S))return S.length;if(ArrayBuffer.isView(S)||ze(S,ArrayBuffer))return S.byteLength;if(typeof S!="string")throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof S);const g=S.length,E=arguments.length>2&&arguments[2]===!0;if(!E&&g===0)return 0;let x=!1;for(;;)switch(y){case"ascii":case"latin1":case"binary":return g;case"utf8":case"utf-8":return dt(S).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return g*2;case"hex":return g>>>1;case"base64":return St(S).length;default:if(x)return E?-1:dt(S).length;y=(""+y).toLowerCase(),x=!0}}i.byteLength=w;function R(S,y,g){let E=!1;if((y===void 0||y<0)&&(y=0),y>this.length||((g===void 0||g>this.length)&&(g=this.length),g<=0)||(g>>>=0,y>>>=0,g<=y))return"";for(S||(S="utf8");;)switch(S){case"hex":return ve(this,y,g);case"utf8":case"utf-8":return Q(this,y,g);case"ascii":return G(this,y,g);case"latin1":case"binary":return Z(this,y,g);case"base64":return D(this,y,g);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return ee(this,y,g);default:if(E)throw new TypeError("Unknown encoding: "+S);S=(S+"").toLowerCase(),E=!0}}i.prototype._isBuffer=!0;function T(S,y,g){const E=S[y];S[y]=S[g],S[g]=E}i.prototype.swap16=function(){const y=this.length;if(y%2!==0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(let g=0;g<y;g+=2)T(this,g,g+1);return this},i.prototype.swap32=function(){const y=this.length;if(y%4!==0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(let g=0;g<y;g+=4)T(this,g,g+3),T(this,g+1,g+2);return this},i.prototype.swap64=function(){const y=this.length;if(y%8!==0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(let g=0;g<y;g+=8)T(this,g,g+7),T(this,g+1,g+6),T(this,g+2,g+5),T(this,g+3,g+4);return this},i.prototype.toString=function(){const y=this.length;return y===0?"":arguments.length===0?Q(this,0,y):R.apply(this,arguments)},i.prototype.toLocaleString=i.prototype.toString,i.prototype.equals=function(y){if(!i.isBuffer(y))throw new TypeError("Argument must be a Buffer");return this===y?!0:i.compare(this,y)===0},i.prototype.inspect=function(){let y="";const g=e.INSPECT_MAX_BYTES;return y=this.toString("hex",0,g).replace(/(.{2})/g,"$1 ").trim(),this.length>g&&(y+=" ... "),"<Buffer "+y+">"},n&&(i.prototype[n]=i.prototype.inspect),i.prototype.compare=function(y,g,E,x,P){if(ze(y,Uint8Array)&&(y=i.from(y,y.offset,y.byteLength)),!i.isBuffer(y))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof y);if(g===void 0&&(g=0),E===void 0&&(E=y?y.length:0),x===void 0&&(x=0),P===void 0&&(P=this.length),g<0||E>y.length||x<0||P>this.length)throw new RangeError("out of range index");if(x>=P&&g>=E)return 0;if(x>=P)return-1;if(g>=E)return 1;if(g>>>=0,E>>>=0,x>>>=0,P>>>=0,this===y)return 0;let q=P-x,oe=E-g;const he=Math.min(q,oe),ue=this.slice(x,P),pe=y.slice(g,E);for(let Ee=0;Ee<he;++Ee)if(ue[Ee]!==pe[Ee]){q=ue[Ee],oe=pe[Ee];break}return q<oe?-1:oe<q?1:0};function C(S,y,g,E,x){if(S.length===0)return-1;if(typeof g=="string"?(E=g,g=0):g>2147483647?g=2147483647:g<-2147483648&&(g=-2147483648),g=+g,Rt(g)&&(g=x?0:S.length-1),g<0&&(g=S.length+g),g>=S.length){if(x)return-1;g=S.length-1}else if(g<0)if(x)g=0;else return-1;if(typeof y=="string"&&(y=i.from(y,E)),i.isBuffer(y))return y.length===0?-1:N(S,y,g,E,x);if(typeof y=="number")return y=y&255,typeof Uint8Array.prototype.indexOf=="function"?x?Uint8Array.prototype.indexOf.call(S,y,g):Uint8Array.prototype.lastIndexOf.call(S,y,g):N(S,[y],g,E,x);throw new TypeError("val must be string, number or Buffer")}function N(S,y,g,E,x){let P=1,q=S.length,oe=y.length;if(E!==void 0&&(E=String(E).toLowerCase(),E==="ucs2"||E==="ucs-2"||E==="utf16le"||E==="utf-16le")){if(S.length<2||y.length<2)return-1;P=2,q/=2,oe/=2,g/=2}function he(pe,Ee){return P===1?pe[Ee]:pe.readUInt16BE(Ee*P)}let ue;if(x){let pe=-1;for(ue=g;ue<q;ue++)if(he(S,ue)===he(y,pe===-1?0:ue-pe)){if(pe===-1&&(pe=ue),ue-pe+1===oe)return pe*P}else pe!==-1&&(ue-=ue-pe),pe=-1}else for(g+oe>q&&(g=q-oe),ue=g;ue>=0;ue--){let pe=!0;for(let Ee=0;Ee<oe;Ee++)if(he(S,ue+Ee)!==he(y,Ee)){pe=!1;break}if(pe)return ue}return-1}i.prototype.includes=function(y,g,E){return this.indexOf(y,g,E)!==-1},i.prototype.indexOf=function(y,g,E){return C(this,y,g,E,!0)},i.prototype.lastIndexOf=function(y,g,E){return C(this,y,g,E,!1)};function I(S,y,g,E){g=Number(g)||0;const x=S.length-g;E?(E=Number(E),E>x&&(E=x)):E=x;const P=y.length;E>P/2&&(E=P/2);let q;for(q=0;q<E;++q){const oe=parseInt(y.substr(q*2,2),16);if(Rt(oe))return q;S[g+q]=oe}return q}function j(S,y,g,E){return _t(dt(y,S.length-g),S,g,E)}function z(S,y,g,E){return _t(Xe(y),S,g,E)}function Y(S,y,g,E){return _t(St(y),S,g,E)}function U(S,y,g,E){return _t(At(y,S.length-g),S,g,E)}i.prototype.write=function(y,g,E,x){if(g===void 0)x="utf8",E=this.length,g=0;else if(E===void 0&&typeof g=="string")x=g,E=this.length,g=0;else if(isFinite(g))g=g>>>0,isFinite(E)?(E=E>>>0,x===void 0&&(x="utf8")):(x=E,E=void 0);else throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");const P=this.length-g;if((E===void 0||E>P)&&(E=P),y.length>0&&(E<0||g<0)||g>this.length)throw new RangeError("Attempt to write outside buffer bounds");x||(x="utf8");let q=!1;for(;;)switch(x){case"hex":return I(this,y,g,E);case"utf8":case"utf-8":return j(this,y,g,E);case"ascii":case"latin1":case"binary":return z(this,y,g,E);case"base64":return Y(this,y,g,E);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return U(this,y,g,E);default:if(q)throw new TypeError("Unknown encoding: "+x);x=(""+x).toLowerCase(),q=!0}},i.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};function D(S,y,g){return y===0&&g===S.length?t.fromByteArray(S):t.fromByteArray(S.slice(y,g))}function Q(S,y,g){g=Math.min(S.length,g);const E=[];let x=y;for(;x<g;){const P=S[x];let q=null,oe=P>239?4:P>223?3:P>191?2:1;if(x+oe<=g){let he,ue,pe,Ee;switch(oe){case 1:P<128&&(q=P);break;case 2:he=S[x+1],(he&192)===128&&(Ee=(P&31)<<6|he&63,Ee>127&&(q=Ee));break;case 3:he=S[x+1],ue=S[x+2],(he&192)===128&&(ue&192)===128&&(Ee=(P&15)<<12|(he&63)<<6|ue&63,Ee>2047&&(Ee<55296||Ee>57343)&&(q=Ee));break;case 4:he=S[x+1],ue=S[x+2],pe=S[x+3],(he&192)===128&&(ue&192)===128&&(pe&192)===128&&(Ee=(P&15)<<18|(he&63)<<12|(ue&63)<<6|pe&63,Ee>65535&&Ee<1114112&&(q=Ee))}}q===null?(q=65533,oe=1):q>65535&&(q-=65536,E.push(q>>>10&1023|55296),q=56320|q&1023),E.push(q),x+=oe}return k(E)}const J=4096;function k(S){const y=S.length;if(y<=J)return String.fromCharCode.apply(String,S);let g="",E=0;for(;E<y;)g+=String.fromCharCode.apply(String,S.slice(E,E+=J));return g}function G(S,y,g){let E="";g=Math.min(S.length,g);for(let x=y;x<g;++x)E+=String.fromCharCode(S[x]&127);return E}function Z(S,y,g){let E="";g=Math.min(S.length,g);for(let x=y;x<g;++x)E+=String.fromCharCode(S[x]);return E}function ve(S,y,g){const E=S.length;(!y||y<0)&&(y=0),(!g||g<0||g>E)&&(g=E);let x="";for(let P=y;P<g;++P)x+=et[S[P]];return x}function ee(S,y,g){const E=S.slice(y,g);let x="";for(let P=0;P<E.length-1;P+=2)x+=String.fromCharCode(E[P]+E[P+1]*256);return x}i.prototype.slice=function(y,g){const E=this.length;y=~~y,g=g===void 0?E:~~g,y<0?(y+=E,y<0&&(y=0)):y>E&&(y=E),g<0?(g+=E,g<0&&(g=0)):g>E&&(g=E),g<y&&(g=y);const x=this.subarray(y,g);return Object.setPrototypeOf(x,i.prototype),x};function ne(S,y,g){if(S%1!==0||S<0)throw new RangeError("offset is not uint");if(S+y>g)throw new RangeError("Trying to access beyond buffer length")}i.prototype.readUintLE=i.prototype.readUIntLE=function(y,g,E){y=y>>>0,g=g>>>0,E||ne(y,g,this.length);let x=this[y],P=1,q=0;for(;++q<g&&(P*=256);)x+=this[y+q]*P;return x},i.prototype.readUintBE=i.prototype.readUIntBE=function(y,g,E){y=y>>>0,g=g>>>0,E||ne(y,g,this.length);let x=this[y+--g],P=1;for(;g>0&&(P*=256);)x+=this[y+--g]*P;return x},i.prototype.readUint8=i.prototype.readUInt8=function(y,g){return y=y>>>0,g||ne(y,1,this.length),this[y]},i.prototype.readUint16LE=i.prototype.readUInt16LE=function(y,g){return y=y>>>0,g||ne(y,2,this.length),this[y]|this[y+1]<<8},i.prototype.readUint16BE=i.prototype.readUInt16BE=function(y,g){return y=y>>>0,g||ne(y,2,this.length),this[y]<<8|this[y+1]},i.prototype.readUint32LE=i.prototype.readUInt32LE=function(y,g){return y=y>>>0,g||ne(y,4,this.length),(this[y]|this[y+1]<<8|this[y+2]<<16)+this[y+3]*16777216},i.prototype.readUint32BE=i.prototype.readUInt32BE=function(y,g){return y=y>>>0,g||ne(y,4,this.length),this[y]*16777216+(this[y+1]<<16|this[y+2]<<8|this[y+3])},i.prototype.readBigUInt64LE=Ze(function(y){y=y>>>0,je(y,"offset");const g=this[y],E=this[y+7];(g===void 0||E===void 0)&&Ae(y,this.length-8);const x=g+this[++y]*2**8+this[++y]*2**16+this[++y]*2**24,P=this[++y]+this[++y]*2**8+this[++y]*2**16+E*2**24;return BigInt(x)+(BigInt(P)<<BigInt(32))}),i.prototype.readBigUInt64BE=Ze(function(y){y=y>>>0,je(y,"offset");const g=this[y],E=this[y+7];(g===void 0||E===void 0)&&Ae(y,this.length-8);const x=g*2**24+this[++y]*2**16+this[++y]*2**8+this[++y],P=this[++y]*2**24+this[++y]*2**16+this[++y]*2**8+E;return(BigInt(x)<<BigInt(32))+BigInt(P)}),i.prototype.readIntLE=function(y,g,E){y=y>>>0,g=g>>>0,E||ne(y,g,this.length);let x=this[y],P=1,q=0;for(;++q<g&&(P*=256);)x+=this[y+q]*P;return P*=128,x>=P&&(x-=Math.pow(2,8*g)),x},i.prototype.readIntBE=function(y,g,E){y=y>>>0,g=g>>>0,E||ne(y,g,this.length);let x=g,P=1,q=this[y+--x];for(;x>0&&(P*=256);)q+=this[y+--x]*P;return P*=128,q>=P&&(q-=Math.pow(2,8*g)),q},i.prototype.readInt8=function(y,g){return y=y>>>0,g||ne(y,1,this.length),this[y]&128?(255-this[y]+1)*-1:this[y]},i.prototype.readInt16LE=function(y,g){y=y>>>0,g||ne(y,2,this.length);const E=this[y]|this[y+1]<<8;return E&32768?E|4294901760:E},i.prototype.readInt16BE=function(y,g){y=y>>>0,g||ne(y,2,this.length);const E=this[y+1]|this[y]<<8;return E&32768?E|4294901760:E},i.prototype.readInt32LE=function(y,g){return y=y>>>0,g||ne(y,4,this.length),this[y]|this[y+1]<<8|this[y+2]<<16|this[y+3]<<24},i.prototype.readInt32BE=function(y,g){return y=y>>>0,g||ne(y,4,this.length),this[y]<<24|this[y+1]<<16|this[y+2]<<8|this[y+3]},i.prototype.readBigInt64LE=Ze(function(y){y=y>>>0,je(y,"offset");const g=this[y],E=this[y+7];(g===void 0||E===void 0)&&Ae(y,this.length-8);const x=this[y+4]+this[y+5]*2**8+this[y+6]*2**16+(E<<24);return(BigInt(x)<<BigInt(32))+BigInt(g+this[++y]*2**8+this[++y]*2**16+this[++y]*2**24)}),i.prototype.readBigInt64BE=Ze(function(y){y=y>>>0,je(y,"offset");const g=this[y],E=this[y+7];(g===void 0||E===void 0)&&Ae(y,this.length-8);const x=(g<<24)+this[++y]*2**16+this[++y]*2**8+this[++y];return(BigInt(x)<<BigInt(32))+BigInt(this[++y]*2**24+this[++y]*2**16+this[++y]*2**8+E)}),i.prototype.readFloatLE=function(y,g){return y=y>>>0,g||ne(y,4,this.length),r.read(this,y,!0,23,4)},i.prototype.readFloatBE=function(y,g){return y=y>>>0,g||ne(y,4,this.length),r.read(this,y,!1,23,4)},i.prototype.readDoubleLE=function(y,g){return y=y>>>0,g||ne(y,8,this.length),r.read(this,y,!0,52,8)},i.prototype.readDoubleBE=function(y,g){return y=y>>>0,g||ne(y,8,this.length),r.read(this,y,!1,52,8)};function me(S,y,g,E,x,P){if(!i.isBuffer(S))throw new TypeError('"buffer" argument must be a Buffer instance');if(y>x||y<P)throw new RangeError('"value" argument is out of bounds');if(g+E>S.length)throw new RangeError("Index out of range")}i.prototype.writeUintLE=i.prototype.writeUIntLE=function(y,g,E,x){if(y=+y,g=g>>>0,E=E>>>0,!x){const oe=Math.pow(2,8*E)-1;me(this,y,g,E,oe,0)}let P=1,q=0;for(this[g]=y&255;++q<E&&(P*=256);)this[g+q]=y/P&255;return g+E},i.prototype.writeUintBE=i.prototype.writeUIntBE=function(y,g,E,x){if(y=+y,g=g>>>0,E=E>>>0,!x){const oe=Math.pow(2,8*E)-1;me(this,y,g,E,oe,0)}let P=E-1,q=1;for(this[g+P]=y&255;--P>=0&&(q*=256);)this[g+P]=y/q&255;return g+E},i.prototype.writeUint8=i.prototype.writeUInt8=function(y,g,E){return y=+y,g=g>>>0,E||me(this,y,g,1,255,0),this[g]=y&255,g+1},i.prototype.writeUint16LE=i.prototype.writeUInt16LE=function(y,g,E){return y=+y,g=g>>>0,E||me(this,y,g,2,65535,0),this[g]=y&255,this[g+1]=y>>>8,g+2},i.prototype.writeUint16BE=i.prototype.writeUInt16BE=function(y,g,E){return y=+y,g=g>>>0,E||me(this,y,g,2,65535,0),this[g]=y>>>8,this[g+1]=y&255,g+2},i.prototype.writeUint32LE=i.prototype.writeUInt32LE=function(y,g,E){return y=+y,g=g>>>0,E||me(this,y,g,4,4294967295,0),this[g+3]=y>>>24,this[g+2]=y>>>16,this[g+1]=y>>>8,this[g]=y&255,g+4},i.prototype.writeUint32BE=i.prototype.writeUInt32BE=function(y,g,E){return y=+y,g=g>>>0,E||me(this,y,g,4,4294967295,0),this[g]=y>>>24,this[g+1]=y>>>16,this[g+2]=y>>>8,this[g+3]=y&255,g+4};function ge(S,y,g,E,x){se(y,E,x,S,g,7);let P=Number(y&BigInt(4294967295));S[g++]=P,P=P>>8,S[g++]=P,P=P>>8,S[g++]=P,P=P>>8,S[g++]=P;let q=Number(y>>BigInt(32)&BigInt(4294967295));return S[g++]=q,q=q>>8,S[g++]=q,q=q>>8,S[g++]=q,q=q>>8,S[g++]=q,g}function Ge(S,y,g,E,x){se(y,E,x,S,g,7);let P=Number(y&BigInt(4294967295));S[g+7]=P,P=P>>8,S[g+6]=P,P=P>>8,S[g+5]=P,P=P>>8,S[g+4]=P;let q=Number(y>>BigInt(32)&BigInt(4294967295));return S[g+3]=q,q=q>>8,S[g+2]=q,q=q>>8,S[g+1]=q,q=q>>8,S[g]=q,g+8}i.prototype.writeBigUInt64LE=Ze(function(y,g=0){return ge(this,y,g,BigInt(0),BigInt("0xffffffffffffffff"))}),i.prototype.writeBigUInt64BE=Ze(function(y,g=0){return Ge(this,y,g,BigInt(0),BigInt("0xffffffffffffffff"))}),i.prototype.writeIntLE=function(y,g,E,x){if(y=+y,g=g>>>0,!x){const he=Math.pow(2,8*E-1);me(this,y,g,E,he-1,-he)}let P=0,q=1,oe=0;for(this[g]=y&255;++P<E&&(q*=256);)y<0&&oe===0&&this[g+P-1]!==0&&(oe=1),this[g+P]=(y/q>>0)-oe&255;return g+E},i.prototype.writeIntBE=function(y,g,E,x){if(y=+y,g=g>>>0,!x){const he=Math.pow(2,8*E-1);me(this,y,g,E,he-1,-he)}let P=E-1,q=1,oe=0;for(this[g+P]=y&255;--P>=0&&(q*=256);)y<0&&oe===0&&this[g+P+1]!==0&&(oe=1),this[g+P]=(y/q>>0)-oe&255;return g+E},i.prototype.writeInt8=function(y,g,E){return y=+y,g=g>>>0,E||me(this,y,g,1,127,-128),y<0&&(y=255+y+1),this[g]=y&255,g+1},i.prototype.writeInt16LE=function(y,g,E){return y=+y,g=g>>>0,E||me(this,y,g,2,32767,-32768),this[g]=y&255,this[g+1]=y>>>8,g+2},i.prototype.writeInt16BE=function(y,g,E){return y=+y,g=g>>>0,E||me(this,y,g,2,32767,-32768),this[g]=y>>>8,this[g+1]=y&255,g+2},i.prototype.writeInt32LE=function(y,g,E){return y=+y,g=g>>>0,E||me(this,y,g,4,2147483647,-2147483648),this[g]=y&255,this[g+1]=y>>>8,this[g+2]=y>>>16,this[g+3]=y>>>24,g+4},i.prototype.writeInt32BE=function(y,g,E){return y=+y,g=g>>>0,E||me(this,y,g,4,2147483647,-2147483648),y<0&&(y=4294967295+y+1),this[g]=y>>>24,this[g+1]=y>>>16,this[g+2]=y>>>8,this[g+3]=y&255,g+4},i.prototype.writeBigInt64LE=Ze(function(y,g=0){return ge(this,y,g,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))}),i.prototype.writeBigInt64BE=Ze(function(y,g=0){return Ge(this,y,g,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))});function ie(S,y,g,E,x,P){if(g+E>S.length)throw new RangeError("Index out of range");if(g<0)throw new RangeError("Index out of range")}function le(S,y,g,E,x){return y=+y,g=g>>>0,x||ie(S,y,g,4),r.write(S,y,g,E,23,4),g+4}i.prototype.writeFloatLE=function(y,g,E){return le(this,y,g,!0,E)},i.prototype.writeFloatBE=function(y,g,E){return le(this,y,g,!1,E)};function xe(S,y,g,E,x){return y=+y,g=g>>>0,x||ie(S,y,g,8),r.write(S,y,g,E,52,8),g+8}i.prototype.writeDoubleLE=function(y,g,E){return xe(this,y,g,!0,E)},i.prototype.writeDoubleBE=function(y,g,E){return xe(this,y,g,!1,E)},i.prototype.copy=function(y,g,E,x){if(!i.isBuffer(y))throw new TypeError("argument should be a Buffer");if(E||(E=0),!x&&x!==0&&(x=this.length),g>=y.length&&(g=y.length),g||(g=0),x>0&&x<E&&(x=E),x===E||y.length===0||this.length===0)return 0;if(g<0)throw new RangeError("targetStart out of bounds");if(E<0||E>=this.length)throw new RangeError("Index out of range");if(x<0)throw new RangeError("sourceEnd out of bounds");x>this.length&&(x=this.length),y.length-g<x-E&&(x=y.length-g+E);const P=x-E;return this===y&&typeof Uint8Array.prototype.copyWithin=="function"?this.copyWithin(g,E,x):Uint8Array.prototype.set.call(y,this.subarray(E,x),g),P},i.prototype.fill=function(y,g,E,x){if(typeof y=="string"){if(typeof g=="string"?(x=g,g=0,E=this.length):typeof E=="string"&&(x=E,E=this.length),x!==void 0&&typeof x!="string")throw new TypeError("encoding must be a string");if(typeof x=="string"&&!i.isEncoding(x))throw new TypeError("Unknown encoding: "+x);if(y.length===1){const q=y.charCodeAt(0);(x==="utf8"&&q<128||x==="latin1")&&(y=q)}}else typeof y=="number"?y=y&255:typeof y=="boolean"&&(y=Number(y));if(g<0||this.length<g||this.length<E)throw new RangeError("Out of range index");if(E<=g)return this;g=g>>>0,E=E===void 0?this.length:E>>>0,y||(y=0);let P;if(typeof y=="number")for(P=g;P<E;++P)this[P]=y;else{const q=i.isBuffer(y)?y:i.from(y,x),oe=q.length;if(oe===0)throw new TypeError('The value "'+y+'" is invalid for argument "value"');for(P=0;P<E-g;++P)this[P+g]=q[P%oe]}return this};const Be={};function at(S,y,g){Be[S]=class extends g{constructor(){super(),Object.defineProperty(this,"message",{value:y.apply(this,arguments),writable:!0,configurable:!0}),this.name=`${this.name} [${S}]`,this.stack,delete this.name}get code(){return S}set code(x){Object.defineProperty(this,"code",{configurable:!0,enumerable:!0,value:x,writable:!0})}toString(){return`${this.name} [${S}]: ${this.message}`}}}at("ERR_BUFFER_OUT_OF_BOUNDS",function(S){return S?`${S} is outside of buffer bounds`:"Attempt to access memory outside buffer bounds"},RangeError),at("ERR_INVALID_ARG_TYPE",function(S,y){return`The "${S}" argument must be of type number. Received type ${typeof y}`},TypeError),at("ERR_OUT_OF_RANGE",function(S,y,g){let E=`The value of "${S}" is out of range.`,x=g;return Number.isInteger(g)&&Math.abs(g)>2**32?x=ct(String(g)):typeof g=="bigint"&&(x=String(g),(g>BigInt(2)**BigInt(32)||g<-(BigInt(2)**BigInt(32)))&&(x=ct(x)),x+="n"),E+=` It must be ${y}. Received ${x}`,E},RangeError);function ct(S){let y="",g=S.length;const E=S[0]==="-"?1:0;for(;g>=E+4;g-=3)y=`_${S.slice(g-3,g)}${y}`;return`${S.slice(0,g)}${y}`}function ce(S,y,g){je(y,"offset"),(S[y]===void 0||S[y+g]===void 0)&&Ae(y,S.length-(g+1))}function se(S,y,g,E,x,P){if(S>g||S<y){const q=typeof y=="bigint"?"n":"";let oe;throw P>3?y===0||y===BigInt(0)?oe=`>= 0${q} and < 2${q} ** ${(P+1)*8}${q}`:oe=`>= -(2${q} ** ${(P+1)*8-1}${q}) and < 2 ** ${(P+1)*8-1}${q}`:oe=`>= ${y}${q} and <= ${g}${q}`,new Be.ERR_OUT_OF_RANGE("value",oe,S)}ce(E,x,P)}function je(S,y){if(typeof S!="number")throw new Be.ERR_INVALID_ARG_TYPE(y,"number",S)}function Ae(S,y,g){throw Math.floor(S)!==S?(je(S,g),new Be.ERR_OUT_OF_RANGE(g||"offset","an integer",S)):y<0?new Be.ERR_BUFFER_OUT_OF_BOUNDS:new Be.ERR_OUT_OF_RANGE(g||"offset",`>= ${g?1:0} and <= ${y}`,S)}const ft=/[^+/0-9A-Za-z-_]/g;function ot(S){if(S=S.split("=")[0],S=S.trim().replace(ft,""),S.length<2)return"";for(;S.length%4!==0;)S=S+"=";return S}function dt(S,y){y=y||1/0;let g;const E=S.length;let x=null;const P=[];for(let q=0;q<E;++q){if(g=S.charCodeAt(q),g>55295&&g<57344){if(!x){if(g>56319){(y-=3)>-1&&P.push(239,191,189);continue}else if(q+1===E){(y-=3)>-1&&P.push(239,191,189);continue}x=g;continue}if(g<56320){(y-=3)>-1&&P.push(239,191,189),x=g;continue}g=(x-55296<<10|g-56320)+65536}else x&&(y-=3)>-1&&P.push(239,191,189);if(x=null,g<128){if((y-=1)<0)break;P.push(g)}else if(g<2048){if((y-=2)<0)break;P.push(g>>6|192,g&63|128)}else if(g<65536){if((y-=3)<0)break;P.push(g>>12|224,g>>6&63|128,g&63|128)}else if(g<1114112){if((y-=4)<0)break;P.push(g>>18|240,g>>12&63|128,g>>6&63|128,g&63|128)}else throw new Error("Invalid code point")}return P}function Xe(S){const y=[];for(let g=0;g<S.length;++g)y.push(S.charCodeAt(g)&255);return y}function At(S,y){let g,E,x;const P=[];for(let q=0;q<S.length&&!((y-=2)<0);++q)g=S.charCodeAt(q),E=g>>8,x=g%256,P.push(x),P.push(E);return P}function St(S){return t.toByteArray(ot(S))}function _t(S,y,g,E){let x;for(x=0;x<E&&!(x+g>=y.length||x>=S.length);++x)y[x+g]=S[x];return x}function ze(S,y){return S instanceof y||S!=null&&S.constructor!=null&&S.constructor.name!=null&&S.constructor.name===y.name}function Rt(S){return S!==S}const et=function(){const S="0123456789abcdef",y=new Array(256);for(let g=0;g<16;++g){const E=g*16;for(let x=0;x<16;++x)y[E+x]=S[g]+S[x]}return y}();function Ze(S){return typeof BigInt>"u"?Dt:S}function Dt(){throw new Error("BigInt not supported")}}(Zf)),Zf}(function(e,t){(function(r,n){e.exports=n(PP(),UP(),VP(),CE(),ZP,vA(),EA())})(be,function(r,n,a,o,s,i,l){return function(){var u={809:function(f){f.exports=r},30:function(f){f.exports=n},36:function(f){f.exports=a},300:function(f){f.exports=o},408:function(f){f.exports=l},25:function(f){f.exports=s},130:function(f){f.exports=i}},c={};function p(f){var h=c[f];if(h!==void 0)return h.exports;var m=c[f]={exports:{}};return u[f](m,m.exports,p),m.exports}p.n=function(f){var h=f&&f.__esModule?function(){return f.default}:function(){return f};return p.d(h,{a:h}),h},p.d=function(f,h){for(var m in h)p.o(h,m)&&!p.o(f,m)&&Object.defineProperty(f,m,{enumerable:!0,get:h[m]})},p.o=function(f,h){return Object.prototype.hasOwnProperty.call(f,h)},p.r=function(f){typeof Symbol<"u"&&Symbol.toStringTag&&Object.defineProperty(f,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(f,"__esModule",{value:!0})};var d={};return function(){p.r(d),p.d(d,{assets:function(){return k},auth:function(){return ne},buildAnswer:function(){return iR},buildCarouselCard:function(){return oR},buildQuestion:function(){return ai},carouselCards:function(){return ti},contentInteraction:function(){return Ze},decodeBase64:function(){return lR},default:function(){return uR},editorialPages:function(){return fe},features:function(){return g},getEntries:function(){return f.getEntries},getEntry:function(){return f.getEntry},management:function(){return xa},payments:function(){return Dn},people:function(){return Ar},peopleEngagement:function(){return Kn},qaQuestions:function(){return ja},reportError:function(){return h.reportError},search:function(){return Ic}});var f=p(809),h=p(30),m=p(36),_={APOLITICAL:{WEBSITES:{LIVE:"https://apolitical.co",LOCALHOST:"localhost",STAGING:/https:\/\/([\w|\d|-]+)\.apolitical\.co/i,STAGING_SPLITTER:"-"},ENVIRONMENTS:{PRODUCTION:"live",LOCAL:"local"}},APIS:{ASSETS_API:{BASE_URL:"/api/assets-api",ENDPOINTS:{USERS:"/users",CERTIFICATES:"/certificates"}},AUTH_API:{BASE_URL:"/api/auth-api",ENDPOINTS:{USER_PASSWORD:"/password",USERS:"/users"}},CONTENT_INTERACTION_API:{BASE_URL:"/api/content-interaction-api",ENDPOINTS:{QUESTIONS:"/questions",ANSWERS:"/answers",REPLIES:"/replies",LIKES:"/likes"}},FEATURES_API:{BASE_URL:"/api/features-api",ENDPOINTS:{FLAGS:"/features"}},MANAGEMENT_API:{BASE_URL:"/api/management-api",ENDPOINTS:{ACCOUNTS:"/accounts",EVENT_REGISTRATIONS:"/event-registrations",LOGINS:"/logins",LOGIN_PASSWORDLESS:"/passwordless",BULK_ENROLMENTS:"/bulk-enrolments"}},PAYMENTS_API:{BASE_URL:"/api/payments-api",BASE_URL_V2:"/api/payments-api/v2",ENDPOINTS:{PRODUCTS:"/products"}},PEOPLE_API:{BASE_URL:"/api/people-api",BASE_URL_V2:"/api/people-api/v2",ENDPOINTS:{BULK_ENROLMENTS:"/bulk-enrolments",REGISTRATIONS:"/registrations",USERS:"/users",USER_ANSWERS:"/answers",USER_COURSES:"/courses",USER_EVENTS:"/events",USER_LIKES:"/likes",USER_LESSONS:"/lessons",USER_PRODUCTS:"/products",USER_RATINGS:"/ratings",USER_SUBSCRIPTIONS:"/subscriptions"}},PEOPLE_ENGAGEMENT_API:{BASE_URL:"/api/people-engagement-api",ENDPOINTS:{ENQUIRY_EMAILS:"/enquiry-emails",USERS:"/users",USER_PROPERTIES:"/properties"}},SEARCH_API:{BASE_URL:"/api/search-api",ENDPOINTS:{SEARCH:"/search"}}},CONTENTFUL:{ARTICLES:{TYPE:"solutionArticle"},CAROUSELS:{CARD_TYPES:{solutionArticle:{INCLUDE:1,SELECT:"fields.authorIds,fields.authorTag,fields.image,fields.publishedDate,fields.readingTime,fields.slug,fields.title"},microcourse:{INCLUDE:2,SELECT:"fields.banner,fields.freeCourse,fields.partnershipDetails,fields.slug,fields.title"},event:{INCLUDE:1,SELECT:"fields.bannerImage,fields.defaultStartDate,fields.slug,fields.speakers,fields.title,fields.isEventOngoing"},listPage:{INCLUDE:1,SELECT:"fields.hero,fields.slug,fields.title"},qaQuestion:{INCLUDE:0,SELECT:"fields.answers,fields.authorId,fields.slug,fields.title,sys.createdAt,fields.projectNames"},learningHub:{INCLUDE:1,SELECT:"fields.bannerSection,fields.customLabel,fields.slug,fields.title"}}},COURSES:{TYPE:"microcourse"},EDITORIAL_PAGES:{INCLUDE:1,SELECT:"fields.carousels,fields.slug",TYPE:"editorialPage"},EVENTS:{TYPE:"event"},LISTS:{TYPE:"listPage"},QUESTIONS:{TYPE:"qaQuestion",INCLUDE:1,LIMIT:10,ORDER:"-sys.createdAt",SELECT:"sys.createdAt,sys.updatedAt,fields.title,fields.slug,fields.authorId,fields.answers,fields.isEdited,fields.projectNames",SKIP:0},ANSWERS:{TYPE:"qaAnswer"},REPLIES:{TYPE:"reply"},LEARNING_HUB:{TYPE:"learningHub"}},HUBSPOT:{ENVIRONMENTS_MAPPING:{local:"SANDBOX",beta:"SANDBOX",rc:"SANDBOX",live:"LIVE"},EMAIL_IDS:{SANDBOX:{internalEmailId:49099078634,externalEmailId:55196526554},LIVE:{internalEmailId:55233583049,externalEmailId:55231159239}}},USERS:{MYSELF:"me"}};const{APOLITICAL:{WEBSITES:{LIVE:b,LOCALHOST:v,STAGING:w,STAGING_SPLITTER:R},ENVIRONMENTS:{PRODUCTION:T,LOCAL:C}}}=_,{HUBSPOT:{ENVIRONMENTS_MAPPING:N,EMAIL_IDS:I}}=_;let j={emailIds:{}};var z=p(300),Y=p.n(z);const U=async $=>{try{const{message:B,response:L,request:H}=$;let ae=B;return L?ae+=` - The request was made and the server responded with ${JSON.stringify({status:L.status,data:L.data})}`:H&&(ae+=" - The request was made but no response was received"),console.warn(ae),await(0,h.reportError)(new Error(ae)),ae}catch(B){return console.warn(`Cannot handle error: ${B.message}`),B.message}},{APIS:{ASSETS_API:{BASE_URL:D,ENDPOINTS:{USERS:Q,CERTIFICATES:J}}}}=_;var k={certificates:{create:async($,B)=>{let L=[];try{const{data:H}=await Y().post(`${D}${Q}/${$}${J}`,B);H&&(L=H)}catch(H){await U(H)}return L}}};const{APIS:{AUTH_API:{BASE_URL:G,ENDPOINTS:{USER_PASSWORD:Z,USERS:ve}}},USERS:{MYSELF:ee}}=_;var ne={userPassword:{update:async $=>{let B=null;try{B=await Y().put(`${G}${ve}/${ee}${Z}`,$)}catch(L){B={message:(((L||{}).response||{}).data||{}).message},await U(L)}return B}}};const{APIS:{CONTENT_INTERACTION_API:{BASE_URL:me,ENDPOINTS:{ANSWERS:ge,QUESTIONS:Ge,LIKES:ie}}}}=_,le=`${me}${Ge}`;var xe={create:async({questionSlug:$},B)=>{try{await Y().post(`${le}/${encodeURIComponent($)}${ge}`,B)}catch(L){const H=await U(L);throw new Error(H)}},remove:async({questionSlug:$,answerSlug:B})=>{try{await Y().delete(`${le}/${encodeURIComponent($)}${ge}/${encodeURIComponent(B)}`)}catch(L){const H=await U(L);throw new Error(H)}},update:async({questionSlug:$,answerSlug:B},L)=>{try{return await Y().put(`${le}/${encodeURIComponent($)}${ge}/${encodeURIComponent(B)}`,L)}catch(H){const ae=await U(H);throw new Error(ae)}},like:async({questionSlug:$,answerSlug:B},L)=>{try{return await Y().post(`${le}/${encodeURIComponent($)}${ge}/${encodeURIComponent(B)}${ie}`,L)}catch(H){const ae=await U(H);throw new Error(ae)}},unlike:async({questionSlug:$,answerSlug:B})=>{try{return await Y().delete(`${le}/${encodeURIComponent($)}${ge}/${encodeURIComponent(B)}${ie}`)}catch(L){const H=await U(L);throw new Error(H)}}};const{APIS:{CONTENT_INTERACTION_API:{BASE_URL:Be,ENDPOINTS:{QUESTIONS:at}}}}=_,ct=`${Be}${at}`;var ce={create:async $=>{try{return await Y().post(ct,$)}catch(B){const L=await U(B);throw new Error(L)}},remove:async({questionSlug:$})=>{try{await Y().delete(`${ct}/${encodeURIComponent($)}`)}catch(B){const L=await U(B);throw new Error(L)}},update:async({questionSlug:$},B)=>{try{return await Y().put(`${ct}/${encodeURIComponent($)}`,B)}catch(L){const H=await U(L);throw new Error(H)}}};const{APIS:{CONTENT_INTERACTION_API:{BASE_URL:se,ENDPOINTS:{REPLIES:je,ANSWERS:Ae,QUESTIONS:ft,LIKES:ot}}}}=_,dt=`${se}${ft}`,Xe=({questionSlug:$,answerSlug:B,replySlug:L},H=!1)=>{let ae=`${dt}/${encodeURIComponent($)}${Ae}/${encodeURIComponent(B)}${je}`;return L&&(ae=`${ae}/${encodeURIComponent(L)}`,H&&(ae=`${ae}${ot}`)),ae};var At={create:async({questionSlug:$,answerSlug:B},L)=>{try{return await Y().post(Xe({questionSlug:$,answerSlug:B}),L)}catch(H){const ae=await U(H);throw new Error(ae)}},update:async({questionSlug:$,answerSlug:B,replySlug:L},H)=>{try{return await Y().put(Xe({questionSlug:$,answerSlug:B,replySlug:L}),H)}catch(ae){const Pe=await U(ae);throw new Error(Pe)}},remove:async({questionSlug:$,answerSlug:B,replySlug:L})=>{try{await Y().delete(Xe({questionSlug:$,answerSlug:B,replySlug:L}))}catch(H){const ae=await U(H);throw new Error(ae)}},like:async({questionSlug:$,answerSlug:B,replySlug:L},H)=>{try{await Y().post(Xe({questionSlug:$,answerSlug:B,replySlug:L},!0),H)}catch(ae){const Pe=await U(ae);throw new Error(Pe)}},unlike:async({questionSlug:$,answerSlug:B,replySlug:L})=>{try{await Y().delete(Xe({questionSlug:$,answerSlug:B,replySlug:L},!0))}catch(H){const ae=await U(H);throw new Error(ae)}},getReplyUrl:Xe};const{APIS:{CONTENT_INTERACTION_API:{BASE_URL:St,ENDPOINTS:{QUESTIONS:_t,ANSWERS:ze,LIKES:Rt}}}}=_,et=`${St}${_t}`;var Ze={answers:xe,questions:ce,replies:At,likes:{create:async($,B)=>{try{return await Y().post(`${et}/${encodeURIComponent($)}${ze}/${encodeURIComponent(B)}${Rt}`)}catch(L){const H=await U(L);throw new Error(H)}},remove:async($,B)=>{try{return await Y().delete(`${et}/${encodeURIComponent($)}${ze}/${encodeURIComponent(B)}${Rt}`)}catch(L){const H=await U(L);throw new Error(H)}}}};const{APIS:{FEATURES_API:{BASE_URL:Dt,ENDPOINTS:{FLAGS:S}}}}=_,y=`${Dt}${S}`;var g={flags:{read:async $=>{let B=null;try{const{data:L}=await Y().get(`${y}/${encodeURIComponent($)}`);L!=null&&L.name&&(L!=null&&L.featureState)&&(B=L)}catch(L){await U(L)}return B}}};const{APIS:{MANAGEMENT_API:{BASE_URL:E,ENDPOINTS:{ACCOUNTS:x}}}}=_;var P={create:async $=>{try{await Y().post(`${E}${x}`,$)}catch(B){throw await U(B),B}},read:async $=>{let B=null;try{({data:B}=await Y().get(`${E}${x}/${encodeURIComponent($)}`))}catch(L){await U(L)}return B},update:async($,B)=>{try{await Y().put(`${E}${x}/${encodeURIComponent($)}`,B)}catch(L){throw await U(L),L}}};const{APIS:{MANAGEMENT_API:{BASE_URL:q,ENDPOINTS:{BULK_ENROLMENTS:oe}}}}=_;var he={create:async $=>{try{await Y().post(`${q}${oe}`,$)}catch(B){throw await U(B),B}}};const{APIS:{MANAGEMENT_API:{BASE_URL:ue,ENDPOINTS:{EVENT_REGISTRATIONS:pe}}}}=_;var Ee={create:async $=>{try{await Y().post(`${ue}${pe}`,$)}catch(B){const L=await U(B);throw new Error(L)}}};const{APIS:{MANAGEMENT_API:{BASE_URL:pt,ENDPOINTS:{LOGINS:ur,LOGIN_PASSWORDLESS:en}}}}=_,It=`${pt}${ur}`;var xa={accounts:P,bulkEnrolments:he,eventRegistrations:Ee,passwordless:{update:async $=>{try{await Y().put(`${It}/${encodeURIComponent($)}${en}`)}catch(B){throw await U(B),B}}}};const{APIS:{PAYMENTS_API:{BASE_URL_V2:tn,ENDPOINTS:{PRODUCTS:qn}}}}=_,xr=`${tn}${qn}`;var Dn={products:{list:async $=>{let B=[],L=$?{params:$}:{params:{}};try{const{data:H}=await Y().get(xr,L);H&&H.length&&(B=H)}catch(H){await U(H)}return B}}};const{APIS:{PEOPLE_API:{BASE_URL_V2:Fn,ENDPOINTS:{BULK_ENROLMENTS:rn}}}}=_;var Ft={list:async $=>{let B=[];try{const{data:L}=await Y().get(`${Fn}${rn}`,{params:$});L&&L.length&&(B=L)}catch(L){await U(L)}return B}},Un=p(25);const{OK:Pa,MULTIPLE_CHOICES:Aa,NOT_FOUND:Ia,FORBIDDEN:jn}=Un.StatusCodes,Ct=$=>$>=Pa&&$<Aa||$===jn||$===Ia,{APIS:{PEOPLE_API:{BASE_URL_V2:nn,ENDPOINTS:{USERS:an}}}}=_,cr=async $=>{let B=null;try{const{data:L}=await Y().get(`${nn}${an}/${encodeURIComponent($)}`,{validateStatus:Ct});L&&L.id&&(B=L)}catch(L){await U(L)}return B},on=async $=>{let B=[];try{if($&&$.length<2)throw new Error("users list method requires at least two ids");const L=$.map(ae=>`ids=${encodeURIComponent(ae)}`).join("&"),H=await Y().get(`${nn}${an}?${L}`,{validateStatus:Ct});H&&H.length&&(B=H)}catch(L){await U(L)}return B};var Na={read:cr,update:async($,B)=>{let L=!1;try{const{data:H}=await Y().put(`${nn}${an}/${encodeURIComponent($)}`,B);L=!(!H||!H.id)}catch(H){await U(H)}return L},list:on};const{APIS:{PEOPLE_API:{BASE_URL_V2:Ut,ENDPOINTS:{USERS:Ma,USER_LIKES:ka}}},USERS:{MYSELF:$a}}=_,La=`${Ut}${Ma}/${$a}${ka}`,sn=async $=>{let B=[],L=$?{params:$}:{params:{}};try{const{data:H}=await Y().get(La,L);H&&H.length&&(B=H)}catch(H){await U(H)}return B};var jt={list:sn},Ba={authors:{readQuestionAuthors:async($,B,L)=>{try{if($.author=await cr($.authorId),$.answers&&$.answers.length&&!L.ignoreAnswersAuthors){$.answers.sort((ae,Pe)=>new Date(Pe.updatedAt)-new Date(ae.updatedAt)),$.totalAnswers=$.answers.length;let H=$.answers;if(L.limit&&L.pageNumber){const ae=L.limit*(L.pageNumber-1);H=$.answers.slice(ae,ae+L.limit)}for(let ae of H){ae.author=ae.authorId&&await cr(ae.authorId)||{};const[Pe]=B?await sn({contentType:_.CONTENTFUL.ANSWERS.TYPE,contentSlug:ae.slug}):[null];ae.userLiked=!!Pe}$.answers=H}else $.answers||($.answers=[]);return $}catch(H){throw await U(H),new Error(`Cannot read authors for question: ${H.message}`)}},readAuthors:async($=[])=>{let B=[];try{if(Array.isArray($)===!1)throw new Error("authorIds is not an array!");if($&&$.length===1){const L=await cr($[0]);L&&B.push(L)}else if($&&$.length>1){const L=await on($);L&&L.length>0&&(B=L)}}catch(L){throw await U(L),new Error(`Cannot read authors: ${L.message}`)}return B}}};const{APIS:{PEOPLE_API:{BASE_URL:qa,ENDPOINTS:{REGISTRATIONS:Da}}}}=_;var Fa={list:async $=>{let B=[];try{const{data:L}=await Y().get(`${qa}${Da}`,{params:$});L&&L.length&&(B=L)}catch(L){await U(L)}return B}};const{APIS:{PEOPLE_API:{BASE_URL_V2:A,ENDPOINTS:{USERS:V,USER_COURSES:W}}},USERS:{MYSELF:X}}=_,ye=`${A}${V}/${X}${W}`;var _e={create:async $=>{try{await Y().post(ye,$)}catch(B){await U(B)}},list:async $=>{let B=[],L=$?{params:$}:{params:{}};try{const{data:H}=await Y().get(ye,L);H&&H.length&&(B=H)}catch(H){await U(H)}return B},update:async($,B)=>{try{await Y().put(`${ye}/${$}`,B)}catch(L){await U(L)}}};const{APIS:{PEOPLE_API:{BASE_URL_V2:qe,ENDPOINTS:{USERS:ht,USER_EVENTS:mt}}},USERS:{MYSELF:it}}=_,Qe=`${qe}${ht}/${it}${mt}`;var ln={list:async $=>{let B=[],L=$?{params:$}:{params:{}};try{const{data:H}=await Y().get(Qe,L);H&&H.length&&(B=H)}catch(H){await U(H)}return B}};const{APIS:{PEOPLE_API:{BASE_URL_V2:Pr,ENDPOINTS:{USERS:Ua,USER_LESSONS:Hn}}},USERS:{MYSELF:Gn}}=_,Wn=`${Pr}${Ua}/${Gn}${Hn}`;var Vn={create:async $=>{let B=null;try{B=await Y().post(Wn,$)}catch(L){await U(L)}return B},list:async $=>{let B=[],L=$?{params:$}:{params:{}};try{const{data:H}=await Y().get(Wn,L);H&&H.length&&(B=H)}catch(H){await U(H)}return B}};const{APIS:{PEOPLE_API:{BASE_URL_V2:Nt,ENDPOINTS:{USERS:zn,USER_PRODUCTS:un}}},USERS:{MYSELF:Yn}}=_,fr=`${Nt}${zn}/${Yn}${un}`;var Ht={create:async $=>{let B=null;try{B=await Y().post(fr,$)}catch(L){await U(L)}return B},list:async $=>{let B=[],L=$?{params:$}:{params:{}};try{const{data:H}=await Y().get(fr,L);H&&H.length&&(B=H)}catch(H){await U(H)}return B},update:async($,B)=>{try{await Y().put(`${fr}/${$}`,B)}catch(L){await U(L)}}};const{APIS:{PEOPLE_API:{BASE_URL_V2:dr,ENDPOINTS:{USERS:zo,USER_RATINGS:pr}}},USERS:{MYSELF:Tc}}=_,Yo=`${dr}${zo}/${Tc}${pr}`;var Ar={bulkEnrolments:Ft,handlers:Ba,registrations:Fa,users:Na,userCourses:_e,userEvents:ln,userLessons:Vn,userLikes:jt,userProducts:Ht,userRatings:{create:async $=>{let B=null;try{const{data:L}=await Y().post(Yo,$);L!=null&&L.id&&(B=L)}catch(L){await U(L)}return B},update:async($,B)=>{try{await Y().put(`${Yo}/${$}`,B)}catch(L){await U(L)}}}};const{APIS:{PEOPLE_ENGAGEMENT_API:{BASE_URL:Sc,ENDPOINTS:{ENQUIRY_EMAILS:Rc}}}}=_;var Cc={create:async $=>{let B=null;try{const{data:L}=await Y().post(`${Sc}${Rc}`,$);L&&(B=L)}catch(L){await U(L)}return B}},Ko={forms:{sendEnquiryEmails:async $=>{let B=null;try{const{emailIds:L}=j;B=await Kn.emails.create({...L,...$})}catch(L){await U(L)}return B}}};const{APIS:{PEOPLE_ENGAGEMENT_API:{BASE_URL:hr,ENDPOINTS:{USERS:Oc,USER_PROPERTIES:Xo}}},USERS:{MYSELF:xc}}=_;var Kn={emails:Cc,handlers:Ko,userProperties:{update:async($,B)=>{try{await Y().put(`${hr}${Oc}/${xc}${Xo}/${$}`,B)}catch(L){await U(L)}}}},Qo=p(130);const{APIS:{SEARCH_API:{BASE_URL:Pc,ENDPOINTS:{SEARCH:Ac}}}}=_,Jo=`${Pc}${Ac}`;var Ic={ask:async $=>{try{let B=null;const{data:L}=await Y().get(Jo,{params:{question:$}});return L!=null&&L.answer&&(L!=null&&L.references)&&(L!=null&&L.version)&&(B=L),B}catch(B){const L=await U(B);throw new Error(L)}},stream:($,B,L)=>{const H=(0,Qo.io)(void 0,{path:"/api/search-api/web-sockets"});function ae(){H.emit("search",{question:$})}function Pe(Ve){L(Ve),Fe(),H.disconnect()}function Fe(){H.off("connect",ae),H.off("update",B),H.off("result",Pe)}return H.on("connect",ae),H.on("update",B),H.on("result",Pe),Fe}};const{CONTENTFUL:Xn}=_,{CARD_TYPES:Zo}=Xn.CAROUSELS;var ti={read:async($,B)=>{try{if(!B||!B.sys||!B.sys.id)throw new Error("Invalid link to card");if(!$||!Zo[$])throw new Error("Unsupported card content type");const{INCLUDE:L,SELECT:H}=Zo[$];return await(0,f.getEntry)({content_type:$,"sys.id":B.sys.id,include:L,select:H},{assetDetails:!0})}catch(L){throw await U(L),new Error(`Cannot read carousel card: ${L.message}`)}}};const{CONTENTFUL:Nc}=_,{INCLUDE:O,SELECT:F,TYPE:K}=Nc.EDITORIAL_PAGES;var fe={read:async $=>{try{return await(0,f.getEntry)({content_type:K,"fields.slug":$,include:O,select:F})}catch(B){throw await U(B),new Error(`Cannot read editorial page: ${B.message}`)}}};const{CONTENTFUL:Je}=_,{TYPE:tt,ORDER:Ot,SELECT:st,SKIP:ri,LIMIT:Ir,INCLUDE:ni}=Je.QUESTIONS;var ja={read:async $=>{try{return await(0,f.getEntry)({content_type:tt,"fields.slug":$,include:2,select:st})}catch(B){throw await U(B),new Error(`Cannot read question: ${B.message}`)}},list:async($={})=>{try{return await(0,f.getEntries)({content_type:tt,include:ni,limit:Ir,order:Ot,select:st,skip:ri,...$})}catch(B){throw await U(B),new Error(`Cannot list questions: ${B.message}`)}}},ai=async($,B,L={ignoreAnswersAuthors:!1})=>{try{let H={};return H=await ja.read($),H=await Ar.handlers.authors.readQuestionAuthors(H,B,L),H}catch(H){throw await U(H),new Error(`Cannot build question: ${H.message}`)}};const{ARTICLES:{TYPE:Ha},COURSES:{TYPE:Qn},EVENTS:{TYPE:tR},LISTS:{TYPE:rR},QUESTIONS:{TYPE:nR},LEARNING_HUB:{TYPE:aR}}=_.CONTENTFUL,Ga=$=>$&&$.url?(Object.assign($,{aspect:"responsiveCard",query:"q=90&fit=fill"}),$):null,Mc={[Ha]:async $=>{const{authorIds:B,authorTag:L,image:H,publishedDate:ae,readingTime:Pe,slug:Fe,title:Ve}=$,xt=await Ar.handlers.authors.readAuthors(B),Jt=xt&&xt.length?xt:L?[L]:null;return{banner:Ga(H),contributors:Jt,publishedDate:ae,readingTime:Pe,slug:Fe,title:Ve}},[Qn]:async($,B)=>{const{banner:L,freeCourse:H,partnershipDetails:ae,slug:Pe,title:Fe,registered:Ve}=$,xt={banner:Ga(L),slug:Pe,title:Fe,pill:H?"free":"premium",registered:!!Ve};if(ae){const{partners:Jt}=ae;xt.partner=Jt&&Jt.length&&ae.partners[0]}if(Ve===void 0&&B){const[Jt]=await Ar.userProducts.list({courseSlug:Pe,isEnrolled:!0,scope:"active"});xt.registered=!!Jt}return xt},[tR]:async($,B)=>{const{bannerImage:L,defaultStartDate:H,isEventOngoing:ae,slug:Pe,speakers:Fe,title:Ve,registered:xt}=$,Jt=new Date(H),cR=!!Jt&&Jt<new Date;if(Fe&&Fe.length)for(const oi of Fe)oi.image=(kc=oi.image)&&kc.url?`${kc.url}?w=100&h=100&fit=thumb&f=center`:null;var kc;const cm={banner:Ga(L),dateHasPassed:cR,title:Ve,slug:Pe,isOngoingEvent:ae,contributors:Fe,startDate:Jt,registered:!!xt};if(xt===void 0&&B){const[oi]=await Ar.userEvents.list({eventSlug:Pe});cm.registered=!!oi}return cm},[rR]:async $=>{const{hero:B,slug:L,title:H}=$;return{banner:Ga(B),slug:L,title:H}},[nR]:async $=>{const{answers:B,authorId:L,createdAt:H,slug:ae,title:Pe}=$;let Fe=null;if(L){const Ve=await Ar.users.read(L);Ve&&(Fe=Ve)}return{answers:B&&B.length?B.length:0,contributors:Fe?[Fe]:[],createdAt:H,slug:ae,title:Pe}},[aR]:$=>{const{bannerSection:B,customLabel:L,slug:H,title:ae}=$;return{banner:Ga(B.image),slug:H,title:ae,customLabel:L}},people:$=>{const{id:B,name:L,jobTitle:H,location:ae,image:Pe}=$;return{profile:Pe,slug:B,title:L,text:H,secondaryText:ae}}};var oR=async({contentType:$,...B}={},L)=>{try{if(!Mc[$])throw new Error("Content type not supported");if(typeof Mc[$]!="function")throw new Error("No builder function for content type");return $!=="people"&&B.sys&&B.sys.type&&B.sys.type==="Link"&&(B=await ti.read($,B)),{contentType:$,...await Mc[$](B,L)}}catch(H){throw await U(H),new Error(`Cannot build carousel card: ${H.message}`)}},iR=async($,B,L={})=>{try{if(!$.replies||$.replies.length===0)return $.replies=[],$;$.replies.sort((ae,Pe)=>new Date(ae.createdAt)-new Date(Pe.createdAt)),$.totalReplies=$.totalReplies||$.replies.length;let H=$.replies;if(L.limit&&L.pageNumber){const ae=L.limit*(L.pageNumber-1);H=$.replies.slice(ae,ae+L.limit)}for(const ae of H){if(ae.authorId===$.authorId){ae.author=$.author,ae.userLiked=!1;continue}ae.author=ae.authorId&&await cr(ae.authorId)||{};const[Pe]=B?await sn({contentType:_.CONTENTFUL.REPLIES.TYPE,contentSlug:ae.slug}):[null];ae.userLiked=!!Pe}return $.replies=H,$}catch(H){throw await U(H),new Error(`Cannot build replies for answer: ${H.message}`)}},sR=p(408);const lR=$=>$&&sR.Buffer.from($,"base64").toString("ascii");function uR({contentContext:$=null,errorsContext:B=null,gtmContext:L=null,origin:H}){try{const ae=(Pe=>{let Fe=null;Pe?Fe=Pe:typeof window<"u"&&(Fe=window.origin||window.location.origin),Fe||new Error("Cannot select environment: Website not defined");let Ve=null;const xt=Fe.match(w);return xt?Ve=xt[1].split(R)[0]:Fe===b?Ve=T:Fe.includes(v)&&(Ve=C),Ve||new Error(`Cannot select environment: No rule for website ${Fe}`),Ve})(H);return $&&(0,f.setContext)(Object.assign({},$,{environment:ae})),B&&(0,h.setContext)(Object.assign({},B,{environment:ae})),L&&((0,m.setContext)(Object.assign({},L,{environment:ae})),(0,m.setupGTM)()),(({environment:Pe})=>{const Fe=(Ve=>{if(!Ve)throw new Error("Cannot map environment: Environment not defined");if(!N[Ve])throw new Error(`Cannot map environment: No mapping found for environment ${Ve}`);return N[Ve]})(Pe);j.emailIds=I[Fe]})(Object.assign({},{environment:ae})),ae}catch(ae){console.warn(`Cannot load SDK: ${ae.message}`)}}}(),d}()})})(vE);var ea=vE.exports;const _A=e=>{const[t]=yE(),[r,n]=re.useState(null),[a,o]=re.useState(!1),[s,i]=re.useState(ea.FeatureStates.Off);return re.useEffect(()=>{e&&ea.features.flags.read(e).then(l=>{i(l.data.featureState),n(null)}).catch(l=>{i(ea.FeatureStates.Off),n(l)})},[e]),re.useEffect(()=>{if(!r)switch(s){case ea.FeatureStates.Off:o(!1);break;case ea.FeatureStates.On:o(!0);break;case ea.FeatureStates.Cookie:o(!!t[`feature-${e}`]);break;default:o(!1)}},[s,r,t,e]),{isFeatureActive:a,error:r}};function wA(e,t,r){var n=this,a=re.useRef(null),o=re.useRef(0),s=re.useRef(null),i=re.useRef([]),l=re.useRef(),u=re.useRef(),c=re.useRef(e),p=re.useRef(!0);re.useEffect(function(){c.current=e},[e]);var d=!t&&t!==0&&typeof window<"u";if(typeof e!="function")throw new TypeError("Expected a function");t=+t||0;var f=!!(r=r||{}).leading,h=!("trailing"in r)||!!r.trailing,m="maxWait"in r,_=m?Math.max(+r.maxWait||0,t):null;re.useEffect(function(){return p.current=!0,function(){p.current=!1}},[]);var b=re.useMemo(function(){var v=function(I){var j=i.current,z=l.current;return i.current=l.current=null,o.current=I,u.current=c.current.apply(z,j)},w=function(I,j){d&&cancelAnimationFrame(s.current),s.current=d?requestAnimationFrame(I):setTimeout(I,j)},R=function(I){if(!p.current)return!1;var j=I-a.current;return!a.current||j>=t||j<0||m&&I-o.current>=_},T=function(I){return s.current=null,h&&i.current?v(I):(i.current=l.current=null,u.current)},C=function I(){var j=Date.now();if(R(j))return T(j);if(p.current){var z=t-(j-a.current),Y=m?Math.min(z,_-(j-o.current)):z;w(I,Y)}},N=function(){var I=Date.now(),j=R(I);if(i.current=[].slice.call(arguments),l.current=n,a.current=I,j){if(!s.current&&p.current)return o.current=a.current,w(C,t),f?v(a.current):u.current;if(m)return w(C,t),v(a.current)}return s.current||w(C,t),u.current};return N.cancel=function(){s.current&&(d?cancelAnimationFrame(s.current):clearTimeout(s.current)),o.current=0,i.current=a.current=l.current=s.current=null},N.isPending=function(){return!!s.current},N.flush=function(){return s.current?T(Date.now()):u.current},N},[f,m,t,_,h,d]);return b}function f0(e,t,r){var n=r===void 0?{}:r,a=n.leading,o=n.trailing;return wA(e,t,{maxWait:t,leading:a===void 0||a,trailing:o===void 0||o})}let ed;const xs=(e=!0,t=!1)=>{if(!e)return;const[r,n]=re.useState(0)||[!1,()=>{}];re.useEffect(()=>(o(),window.addEventListener("resize",s),()=>{clearTimeout(ed),s.flush(),window.removeEventListener("resize",s)}),[]);const a=()=>window.innerWidth,o=()=>{n(a())},s=f0(()=>{a()!==r&&(t&&(clearTimeout(ed),document.body.classList.add("is-resizing"),ed=setTimeout(()=>{document.body.classList.remove("is-resizing")},550)),o())},500,{leading:!0});return r},d0=({scrollPosition:e=0,offset:t={down:0,up:10},callbacks:{scrollDown:r=()=>{},scrollUp:n=()=>{}}})=>{if(!window)return;const[a,o]=re.useState({current:0,past:0})||[!1,()=>{}],[s,i]=re.useState({scrollDown:!1,scrollUp:!1})||[!1,()=>{}];re.useEffect(()=>(l(),window.addEventListener("scroll",u),()=>{u.flush(),window.removeEventListener("scroll",u)}),[]);const l=()=>{const c=window.scrollY,p=a.current,d=c-p,f=d>0?"down":"up";if(o({current:c,past:p}),f==="down"){c>=e+t.down&&!s.scrollDown&&(!s.scrollUp||d>t.up)&&(r(),i({scrollUp:!1,scrollDown:!0}));return}Math.abs(d)>=t.up&&!s.scrollUp&&(n(),i({scrollUp:!0,scrollDown:!1}))},u=f0(()=>{l()},250);return a};var rs={exports:{}};rs.exports;(function(e,t){var r=200,n="__lodash_hash_undefined__",a=9007199254740991,o="[object Arguments]",s="[object Array]",i="[object Boolean]",l="[object Date]",u="[object Error]",c="[object Function]",p="[object GeneratorFunction]",d="[object Map]",f="[object Number]",h="[object Object]",m="[object Promise]",_="[object RegExp]",b="[object Set]",v="[object String]",w="[object Symbol]",R="[object WeakMap]",T="[object ArrayBuffer]",C="[object DataView]",N="[object Float32Array]",I="[object Float64Array]",j="[object Int8Array]",z="[object Int16Array]",Y="[object Int32Array]",U="[object Uint8Array]",D="[object Uint8ClampedArray]",Q="[object Uint16Array]",J="[object Uint32Array]",k=/[\\^$.*+?()[\]{}|]/g,G=/\w*$/,Z=/^\[object .+?Constructor\]$/,ve=/^(?:0|[1-9]\d*)$/,ee={};ee[o]=ee[s]=ee[T]=ee[C]=ee[i]=ee[l]=ee[N]=ee[I]=ee[j]=ee[z]=ee[Y]=ee[d]=ee[f]=ee[h]=ee[_]=ee[b]=ee[v]=ee[w]=ee[U]=ee[D]=ee[Q]=ee[J]=!0,ee[u]=ee[c]=ee[R]=!1;var ne=typeof be=="object"&&be&&be.Object===Object&&be,me=typeof self=="object"&&self&&self.Object===Object&&self,ge=ne||me||Function("return this")(),Ge=t&&!t.nodeType&&t,ie=Ge&&!0&&e&&!e.nodeType&&e,le=ie&&ie.exports===Ge;function xe(O,F){return O.set(F[0],F[1]),O}function Be(O,F){return O.add(F),O}function at(O,F){for(var K=-1,fe=O?O.length:0;++K<fe&&F(O[K],K,O)!==!1;);return O}function ct(O,F){for(var K=-1,fe=F.length,Je=O.length;++K<fe;)O[Je+K]=F[K];return O}function ce(O,F,K,fe){var Je=-1,tt=O?O.length:0;for(fe&&tt&&(K=O[++Je]);++Je<tt;)K=F(K,O[Je],Je,O);return K}function se(O,F){for(var K=-1,fe=Array(O);++K<O;)fe[K]=F(K);return fe}function je(O,F){return O==null?void 0:O[F]}function Ae(O){var F=!1;if(O!=null&&typeof O.toString!="function")try{F=!!(O+"")}catch{}return F}function ft(O){var F=-1,K=Array(O.size);return O.forEach(function(fe,Je){K[++F]=[Je,fe]}),K}function ot(O,F){return function(K){return O(F(K))}}function dt(O){var F=-1,K=Array(O.size);return O.forEach(function(fe){K[++F]=fe}),K}var Xe=Array.prototype,At=Function.prototype,St=Object.prototype,_t=ge["__core-js_shared__"],ze=function(){var O=/[^.]+$/.exec(_t&&_t.keys&&_t.keys.IE_PROTO||"");return O?"Symbol(src)_1."+O:""}(),Rt=At.toString,et=St.hasOwnProperty,Ze=St.toString,Dt=RegExp("^"+Rt.call(et).replace(k,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),S=le?ge.Buffer:void 0,y=ge.Symbol,g=ge.Uint8Array,E=ot(Object.getPrototypeOf,Object),x=Object.create,P=St.propertyIsEnumerable,q=Xe.splice,oe=Object.getOwnPropertySymbols,he=S?S.isBuffer:void 0,ue=ot(Object.keys,Object),pe=dr(ge,"DataView"),Ee=dr(ge,"Map"),pt=dr(ge,"Promise"),ur=dr(ge,"Set"),en=dr(ge,"WeakMap"),It=dr(Object,"create"),xa=hr(pe),tn=hr(Ee),qn=hr(pt),xr=hr(ur),Dn=hr(en),Fn=y?y.prototype:void 0,rn=Fn?Fn.valueOf:void 0;function Ft(O){var F=-1,K=O?O.length:0;for(this.clear();++F<K;){var fe=O[F];this.set(fe[0],fe[1])}}function Un(){this.__data__=It?It(null):{}}function Pa(O){return this.has(O)&&delete this.__data__[O]}function Aa(O){var F=this.__data__;if(It){var K=F[O];return K===n?void 0:K}return et.call(F,O)?F[O]:void 0}function Ia(O){var F=this.__data__;return It?F[O]!==void 0:et.call(F,O)}function jn(O,F){var K=this.__data__;return K[O]=It&&F===void 0?n:F,this}Ft.prototype.clear=Un,Ft.prototype.delete=Pa,Ft.prototype.get=Aa,Ft.prototype.has=Ia,Ft.prototype.set=jn;function Ct(O){var F=-1,K=O?O.length:0;for(this.clear();++F<K;){var fe=O[F];this.set(fe[0],fe[1])}}function nn(){this.__data__=[]}function an(O){var F=this.__data__,K=X(F,O);if(K<0)return!1;var fe=F.length-1;return K==fe?F.pop():q.call(F,K,1),!0}function cr(O){var F=this.__data__,K=X(F,O);return K<0?void 0:F[K][1]}function on(O){return X(this.__data__,O)>-1}function Na(O,F){var K=this.__data__,fe=X(K,O);return fe<0?K.push([O,F]):K[fe][1]=F,this}Ct.prototype.clear=nn,Ct.prototype.delete=an,Ct.prototype.get=cr,Ct.prototype.has=on,Ct.prototype.set=Na;function Ut(O){var F=-1,K=O?O.length:0;for(this.clear();++F<K;){var fe=O[F];this.set(fe[0],fe[1])}}function Ma(){this.__data__={hash:new Ft,map:new(Ee||Ct),string:new Ft}}function ka(O){return Ht(this,O).delete(O)}function $a(O){return Ht(this,O).get(O)}function La(O){return Ht(this,O).has(O)}function sn(O,F){return Ht(this,O).set(O,F),this}Ut.prototype.clear=Ma,Ut.prototype.delete=ka,Ut.prototype.get=$a,Ut.prototype.has=La,Ut.prototype.set=sn;function jt(O){this.__data__=new Ct(O)}function Ba(){this.__data__=new Ct}function qa(O){return this.__data__.delete(O)}function Da(O){return this.__data__.get(O)}function Fa(O){return this.__data__.has(O)}function A(O,F){var K=this.__data__;if(K instanceof Ct){var fe=K.__data__;if(!Ee||fe.length<r-1)return fe.push([O,F]),this;K=this.__data__=new Ut(fe)}return K.set(O,F),this}jt.prototype.clear=Ba,jt.prototype.delete=qa,jt.prototype.get=Da,jt.prototype.has=Fa,jt.prototype.set=A;function V(O,F){var K=Kn(O)||xc(O)?se(O.length,String):[],fe=K.length,Je=!!fe;for(var tt in O)(F||et.call(O,tt))&&!(Je&&(tt=="length"||Sc(tt,fe)))&&K.push(tt);return K}function W(O,F,K){var fe=O[F];(!(et.call(O,F)&&Xo(fe,K))||K===void 0&&!(F in O))&&(O[F]=K)}function X(O,F){for(var K=O.length;K--;)if(Xo(O[K][0],F))return K;return-1}function ye(O,F){return O&&un(F,ei(F),O)}function _e(O,F,K,fe,Je,tt,Ot){var st;if(fe&&(st=tt?fe(O,Je,tt,Ot):fe(O)),st!==void 0)return st;if(!Xn(O))return O;var ri=Kn(O);if(ri){if(st=Tc(O),!F)return zn(O,st)}else{var Ir=pr(O),ni=Ir==c||Ir==p;if(Ac(O))return ln(O,F);if(Ir==h||Ir==o||ni&&!tt){if(Ae(O))return tt?O:{};if(st=Yo(ni?{}:O),!F)return Yn(O,ye(st,O))}else{if(!ee[Ir])return tt?O:{};st=Ar(O,Ir,_e,F)}}Ot||(Ot=new jt);var ja=Ot.get(O);if(ja)return ja;if(Ot.set(O,st),!ri)var ai=K?fr(O):ei(O);return at(ai||O,function(Ha,Qn){ai&&(Qn=Ha,Ha=O[Qn]),W(st,Qn,_e(Ha,F,K,fe,Qn,O,Ot))}),st}function qe(O){return Xn(O)?x(O):{}}function ht(O,F,K){var fe=F(O);return Kn(O)?fe:ct(fe,K(O))}function mt(O){return Ze.call(O)}function it(O){if(!Xn(O)||Cc(O))return!1;var F=Jo(O)||Ae(O)?Dt:Z;return F.test(hr(O))}function Qe(O){if(!Ko(O))return ue(O);var F=[];for(var K in Object(O))et.call(O,K)&&K!="constructor"&&F.push(K);return F}function ln(O,F){if(F)return O.slice();var K=new O.constructor(O.length);return O.copy(K),K}function Pr(O){var F=new O.constructor(O.byteLength);return new g(F).set(new g(O)),F}function Ua(O,F){var K=F?Pr(O.buffer):O.buffer;return new O.constructor(K,O.byteOffset,O.byteLength)}function Hn(O,F,K){var fe=F?K(ft(O),!0):ft(O);return ce(fe,xe,new O.constructor)}function Gn(O){var F=new O.constructor(O.source,G.exec(O));return F.lastIndex=O.lastIndex,F}function Wn(O,F,K){var fe=F?K(dt(O),!0):dt(O);return ce(fe,Be,new O.constructor)}function Vn(O){return rn?Object(rn.call(O)):{}}function Nt(O,F){var K=F?Pr(O.buffer):O.buffer;return new O.constructor(K,O.byteOffset,O.length)}function zn(O,F){var K=-1,fe=O.length;for(F||(F=Array(fe));++K<fe;)F[K]=O[K];return F}function un(O,F,K,fe){K||(K={});for(var Je=-1,tt=F.length;++Je<tt;){var Ot=F[Je],st=fe?fe(K[Ot],O[Ot],Ot,K,O):void 0;W(K,Ot,st===void 0?O[Ot]:st)}return K}function Yn(O,F){return un(O,zo(O),F)}function fr(O){return ht(O,ei,zo)}function Ht(O,F){var K=O.__data__;return Rc(F)?K[typeof F=="string"?"string":"hash"]:K.map}function dr(O,F){var K=je(O,F);return it(K)?K:void 0}var zo=oe?ot(oe,Object):ti,pr=mt;(pe&&pr(new pe(new ArrayBuffer(1)))!=C||Ee&&pr(new Ee)!=d||pt&&pr(pt.resolve())!=m||ur&&pr(new ur)!=b||en&&pr(new en)!=R)&&(pr=function(O){var F=Ze.call(O),K=F==h?O.constructor:void 0,fe=K?hr(K):void 0;if(fe)switch(fe){case xa:return C;case tn:return d;case qn:return m;case xr:return b;case Dn:return R}return F});function Tc(O){var F=O.length,K=O.constructor(F);return F&&typeof O[0]=="string"&&et.call(O,"index")&&(K.index=O.index,K.input=O.input),K}function Yo(O){return typeof O.constructor=="function"&&!Ko(O)?qe(E(O)):{}}function Ar(O,F,K,fe){var Je=O.constructor;switch(F){case T:return Pr(O);case i:case l:return new Je(+O);case C:return Ua(O,fe);case N:case I:case j:case z:case Y:case U:case D:case Q:case J:return Nt(O,fe);case d:return Hn(O,fe,K);case f:case v:return new Je(O);case _:return Gn(O);case b:return Wn(O,fe,K);case w:return Vn(O)}}function Sc(O,F){return F=F??a,!!F&&(typeof O=="number"||ve.test(O))&&O>-1&&O%1==0&&O<F}function Rc(O){var F=typeof O;return F=="string"||F=="number"||F=="symbol"||F=="boolean"?O!=="__proto__":O===null}function Cc(O){return!!ze&&ze in O}function Ko(O){var F=O&&O.constructor,K=typeof F=="function"&&F.prototype||St;return O===K}function hr(O){if(O!=null){try{return Rt.call(O)}catch{}try{return O+""}catch{}}return""}function Oc(O){return _e(O,!0,!0)}function Xo(O,F){return O===F||O!==O&&F!==F}function xc(O){return Pc(O)&&et.call(O,"callee")&&(!P.call(O,"callee")||Ze.call(O)==o)}var Kn=Array.isArray;function Qo(O){return O!=null&&Ic(O.length)&&!Jo(O)}function Pc(O){return Zo(O)&&Qo(O)}var Ac=he||Nc;function Jo(O){var F=Xn(O)?Ze.call(O):"";return F==c||F==p}function Ic(O){return typeof O=="number"&&O>-1&&O%1==0&&O<=a}function Xn(O){var F=typeof O;return!!O&&(F=="object"||F=="function")}function Zo(O){return!!O&&typeof O=="object"}function ei(O){return Qo(O)?V(O):Qe(O)}function ti(){return[]}function Nc(){return!1}e.exports=Oc})(rs,rs.exports);var TA=rs.exports;const SA=Rr(TA);var RA="Expected a function",p0="__lodash_hash_undefined__",h0=1/0,CA=9007199254740991,OA="[object Function]",xA="[object GeneratorFunction]",PA="[object Symbol]",AA=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,IA=/^\w*$/,NA=/^\./,MA=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,kA=/[\\^$.*+?()[\]{}|]/g,$A=/\\(\\)?/g,LA=/^\[object .+?Constructor\]$/,BA=/^(?:0|[1-9]\d*)$/,qA=typeof be=="object"&&be&&be.Object===Object&&be,DA=typeof self=="object"&&self&&self.Object===Object&&self,Sh=qA||DA||Function("return this")();function FA(e,t){return e==null?void 0:e[t]}function UA(e){var t=!1;if(e!=null&&typeof e.toString!="function")try{t=!!(e+"")}catch{}return t}var jA=Array.prototype,HA=Function.prototype,m0=Object.prototype,td=Sh["__core-js_shared__"],jv=function(){var e=/[^.]+$/.exec(td&&td.keys&&td.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""}(),y0=HA.toString,Ps=m0.hasOwnProperty,v0=m0.toString,GA=RegExp("^"+y0.call(Ps).replace(kA,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),Hv=Sh.Symbol,WA=jA.splice,VA=g0(Sh,"Map"),Co=g0(Object,"create"),Gv=Hv?Hv.prototype:void 0,Wv=Gv?Gv.toString:void 0;function Rn(e){var t=-1,r=e?e.length:0;for(this.clear();++t<r;){var n=e[t];this.set(n[0],n[1])}}function zA(){this.__data__=Co?Co(null):{}}function YA(e){return this.has(e)&&delete this.__data__[e]}function KA(e){var t=this.__data__;if(Co){var r=t[e];return r===p0?void 0:r}return Ps.call(t,e)?t[e]:void 0}function XA(e){var t=this.__data__;return Co?t[e]!==void 0:Ps.call(t,e)}function QA(e,t){var r=this.__data__;return r[e]=Co&&t===void 0?p0:t,this}Rn.prototype.clear=zA;Rn.prototype.delete=YA;Rn.prototype.get=KA;Rn.prototype.has=XA;Rn.prototype.set=QA;function Sa(e){var t=-1,r=e?e.length:0;for(this.clear();++t<r;){var n=e[t];this.set(n[0],n[1])}}function JA(){this.__data__=[]}function ZA(e){var t=this.__data__,r=As(t,e);if(r<0)return!1;var n=t.length-1;return r==n?t.pop():WA.call(t,r,1),!0}function e1(e){var t=this.__data__,r=As(t,e);return r<0?void 0:t[r][1]}function t1(e){return As(this.__data__,e)>-1}function r1(e,t){var r=this.__data__,n=As(r,e);return n<0?r.push([e,t]):r[n][1]=t,this}Sa.prototype.clear=JA;Sa.prototype.delete=ZA;Sa.prototype.get=e1;Sa.prototype.has=t1;Sa.prototype.set=r1;function Pn(e){var t=-1,r=e?e.length:0;for(this.clear();++t<r;){var n=e[t];this.set(n[0],n[1])}}function n1(){this.__data__={hash:new Rn,map:new(VA||Sa),string:new Rn}}function a1(e){return Is(this,e).delete(e)}function o1(e){return Is(this,e).get(e)}function i1(e){return Is(this,e).has(e)}function s1(e,t){return Is(this,e).set(e,t),this}Pn.prototype.clear=n1;Pn.prototype.delete=a1;Pn.prototype.get=o1;Pn.prototype.has=i1;Pn.prototype.set=s1;function l1(e,t,r){var n=e[t];(!(Ps.call(e,t)&&b0(n,r))||r===void 0&&!(t in e))&&(e[t]=r)}function As(e,t){for(var r=e.length;r--;)if(b0(e[r][0],t))return r;return-1}function u1(e){if(!ns(e)||y1(e))return!1;var t=E1(e)||UA(e)?GA:LA;return t.test(b1(e))}function c1(e,t,r,n){if(!ns(e))return e;t=h1(t,e)?[t]:d1(t);for(var a=-1,o=t.length,s=o-1,i=e;i!=null&&++a<o;){var l=g1(t[a]),u=r;if(a!=s){var c=i[l];u=n?n(c,l,i):void 0,u===void 0&&(u=ns(c)?c:p1(t[a+1])?[]:{})}l1(i,l,u),i=i[l]}return e}function f1(e){if(typeof e=="string")return e;if(Ch(e))return Wv?Wv.call(e):"";var t=e+"";return t=="0"&&1/e==-h0?"-0":t}function d1(e){return E0(e)?e:v1(e)}function Is(e,t){var r=e.__data__;return m1(t)?r[typeof t=="string"?"string":"hash"]:r.map}function g0(e,t){var r=FA(e,t);return u1(r)?r:void 0}function p1(e,t){return t=t??CA,!!t&&(typeof e=="number"||BA.test(e))&&e>-1&&e%1==0&&e<t}function h1(e,t){if(E0(e))return!1;var r=typeof e;return r=="number"||r=="symbol"||r=="boolean"||e==null||Ch(e)?!0:IA.test(e)||!AA.test(e)||t!=null&&e in Object(t)}function m1(e){var t=typeof e;return t=="string"||t=="number"||t=="symbol"||t=="boolean"?e!=="__proto__":e===null}function y1(e){return!!jv&&jv in e}var v1=Rh(function(e){e=w1(e);var t=[];return NA.test(e)&&t.push(""),e.replace(MA,function(r,n,a,o){t.push(a?o.replace($A,"$1"):n||r)}),t});function g1(e){if(typeof e=="string"||Ch(e))return e;var t=e+"";return t=="0"&&1/e==-h0?"-0":t}function b1(e){if(e!=null){try{return y0.call(e)}catch{}try{return e+""}catch{}}return""}function Rh(e,t){if(typeof e!="function"||t&&typeof t!="function")throw new TypeError(RA);var r=function(){var n=arguments,a=t?t.apply(this,n):n[0],o=r.cache;if(o.has(a))return o.get(a);var s=e.apply(this,n);return r.cache=o.set(a,s),s};return r.cache=new(Rh.Cache||Pn),r}Rh.Cache=Pn;function b0(e,t){return e===t||e!==e&&t!==t}var E0=Array.isArray;function E1(e){var t=ns(e)?v0.call(e):"";return t==OA||t==xA}function ns(e){var t=typeof e;return!!e&&(t=="object"||t=="function")}function _1(e){return!!e&&typeof e=="object"}function Ch(e){return typeof e=="symbol"||_1(e)&&v0.call(e)==PA}function w1(e){return e==null?"":f1(e)}function T1(e,t,r){return e==null?e:c1(e,t,r)}var S1=T1;const R1=Rr(S1),C1=(e,t)=>{Array.isArray(t)||(t=[t]);const r=SA(e);return t.forEach(({type:n,value:a})=>{R1(r,n,a)}),r},_0=e=>{const t=[];return e.forEach(r=>{const n=parseInt(r);isNaN(n)||t.push(n)}),t.sort((r,n)=>r-n)},w0=(e,t,r)=>{let n=r.mobile;for(const a in t){const o=parseInt(String(t[a]));if(e>=o)n=r[o];else if(e<o)break}return n};var up=function(e,t){return up=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,n){r.__proto__=n}||function(r,n){for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(r[a]=n[a])},up(e,t)};function Lt(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");up(e,t);function r(){this.constructor=e}e.prototype=t===null?Object.create(t):(r.prototype=t.prototype,new r)}var de=function(){return de=Object.assign||function(t){for(var r,n=1,a=arguments.length;n<a;n++){r=arguments[n];for(var o in r)Object.prototype.hasOwnProperty.call(r,o)&&(t[o]=r[o])}return t},de.apply(this,arguments)};function ma(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var a=0,n=Object.getOwnPropertySymbols(e);a<n.length;a++)t.indexOf(n[a])<0&&Object.prototype.propertyIsEnumerable.call(e,n[a])&&(r[n[a]]=e[n[a]]);return r}function nr(e,t,r){if(r||arguments.length===2)for(var n=0,a=t.length,o;n<a;n++)(o||!(n in t))&&(o||(o=Array.prototype.slice.call(t,0,n)),o[n]=t[n]);return e.concat(o||Array.prototype.slice.call(t))}function T0(e,t,r){if(r===void 0&&(r=Error),!e)throw new r(t)}var Re;(function(e){e[e.EXPECT_ARGUMENT_CLOSING_BRACE=1]="EXPECT_ARGUMENT_CLOSING_BRACE",e[e.EMPTY_ARGUMENT=2]="EMPTY_ARGUMENT",e[e.MALFORMED_ARGUMENT=3]="MALFORMED_ARGUMENT",e[e.EXPECT_ARGUMENT_TYPE=4]="EXPECT_ARGUMENT_TYPE",e[e.INVALID_ARGUMENT_TYPE=5]="INVALID_ARGUMENT_TYPE",e[e.EXPECT_ARGUMENT_STYLE=6]="EXPECT_ARGUMENT_STYLE",e[e.INVALID_NUMBER_SKELETON=7]="INVALID_NUMBER_SKELETON",e[e.INVALID_DATE_TIME_SKELETON=8]="INVALID_DATE_TIME_SKELETON",e[e.EXPECT_NUMBER_SKELETON=9]="EXPECT_NUMBER_SKELETON",e[e.EXPECT_DATE_TIME_SKELETON=10]="EXPECT_DATE_TIME_SKELETON",e[e.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE=11]="UNCLOSED_QUOTE_IN_ARGUMENT_STYLE",e[e.EXPECT_SELECT_ARGUMENT_OPTIONS=12]="EXPECT_SELECT_ARGUMENT_OPTIONS",e[e.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE=13]="EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE",e[e.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE=14]="INVALID_PLURAL_ARGUMENT_OFFSET_VALUE",e[e.EXPECT_SELECT_ARGUMENT_SELECTOR=15]="EXPECT_SELECT_ARGUMENT_SELECTOR",e[e.EXPECT_PLURAL_ARGUMENT_SELECTOR=16]="EXPECT_PLURAL_ARGUMENT_SELECTOR",e[e.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT=17]="EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT",e[e.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT=18]="EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT",e[e.INVALID_PLURAL_ARGUMENT_SELECTOR=19]="INVALID_PLURAL_ARGUMENT_SELECTOR",e[e.DUPLICATE_PLURAL_ARGUMENT_SELECTOR=20]="DUPLICATE_PLURAL_ARGUMENT_SELECTOR",e[e.DUPLICATE_SELECT_ARGUMENT_SELECTOR=21]="DUPLICATE_SELECT_ARGUMENT_SELECTOR",e[e.MISSING_OTHER_CLAUSE=22]="MISSING_OTHER_CLAUSE",e[e.INVALID_TAG=23]="INVALID_TAG",e[e.INVALID_TAG_NAME=25]="INVALID_TAG_NAME",e[e.UNMATCHED_CLOSING_TAG=26]="UNMATCHED_CLOSING_TAG",e[e.UNCLOSED_TAG=27]="UNCLOSED_TAG"})(Re||(Re={}));var Ue;(function(e){e[e.literal=0]="literal",e[e.argument=1]="argument",e[e.number=2]="number",e[e.date=3]="date",e[e.time=4]="time",e[e.select=5]="select",e[e.plural=6]="plural",e[e.pound=7]="pound",e[e.tag=8]="tag"})(Ue||(Ue={}));var ya;(function(e){e[e.number=0]="number",e[e.dateTime=1]="dateTime"})(ya||(ya={}));function Vv(e){return e.type===Ue.literal}function O1(e){return e.type===Ue.argument}function S0(e){return e.type===Ue.number}function R0(e){return e.type===Ue.date}function C0(e){return e.type===Ue.time}function O0(e){return e.type===Ue.select}function x0(e){return e.type===Ue.plural}function x1(e){return e.type===Ue.pound}function P0(e){return e.type===Ue.tag}function A0(e){return!!(e&&typeof e=="object"&&e.type===ya.number)}function cp(e){return!!(e&&typeof e=="object"&&e.type===ya.dateTime)}var I0=/[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/,P1=/(?:[Eec]{1,6}|G{1,5}|[Qq]{1,5}|(?:[yYur]+|U{1,5})|[ML]{1,5}|d{1,2}|D{1,3}|F{1}|[abB]{1,5}|[hkHK]{1,2}|w{1,2}|W{1}|m{1,2}|s{1,2}|[zZOvVxX]{1,4})(?=([^']*'[^']*')*[^']*$)/g;function A1(e){var t={};return e.replace(P1,function(r){var n=r.length;switch(r[0]){case"G":t.era=n===4?"long":n===5?"narrow":"short";break;case"y":t.year=n===2?"2-digit":"numeric";break;case"Y":case"u":case"U":case"r":throw new RangeError("`Y/u/U/r` (year) patterns are not supported, use `y` instead");case"q":case"Q":throw new RangeError("`q/Q` (quarter) patterns are not supported");case"M":case"L":t.month=["numeric","2-digit","short","long","narrow"][n-1];break;case"w":case"W":throw new RangeError("`w/W` (week) patterns are not supported");case"d":t.day=["numeric","2-digit"][n-1];break;case"D":case"F":case"g":throw new RangeError("`D/F/g` (day) patterns are not supported, use `d` instead");case"E":t.weekday=n===4?"short":n===5?"narrow":"short";break;case"e":if(n<4)throw new RangeError("`e..eee` (weekday) patterns are not supported");t.weekday=["short","long","narrow","short"][n-4];break;case"c":if(n<4)throw new RangeError("`c..ccc` (weekday) patterns are not supported");t.weekday=["short","long","narrow","short"][n-4];break;case"a":t.hour12=!0;break;case"b":case"B":throw new RangeError("`b/B` (period) patterns are not supported, use `a` instead");case"h":t.hourCycle="h12",t.hour=["numeric","2-digit"][n-1];break;case"H":t.hourCycle="h23",t.hour=["numeric","2-digit"][n-1];break;case"K":t.hourCycle="h11",t.hour=["numeric","2-digit"][n-1];break;case"k":t.hourCycle="h24",t.hour=["numeric","2-digit"][n-1];break;case"j":case"J":case"C":throw new RangeError("`j/J/C` (hour) patterns are not supported, use `h/H/K/k` instead");case"m":t.minute=["numeric","2-digit"][n-1];break;case"s":t.second=["numeric","2-digit"][n-1];break;case"S":case"A":throw new RangeError("`S/A` (second) patterns are not supported, use `s` instead");case"z":t.timeZoneName=n<4?"short":"long";break;case"Z":case"O":case"v":case"V":case"X":case"x":throw new RangeError("`Z/O/v/V/X/x` (timeZone) patterns are not supported, use `z` instead")}return""}),t}var I1=/[\t-\r \x85\u200E\u200F\u2028\u2029]/i;function N1(e){if(e.length===0)throw new Error("Number skeleton cannot be empty");for(var t=e.split(I1).filter(function(d){return d.length>0}),r=[],n=0,a=t;n<a.length;n++){var o=a[n],s=o.split("/");if(s.length===0)throw new Error("Invalid number skeleton");for(var i=s[0],l=s.slice(1),u=0,c=l;u<c.length;u++){var p=c[u];if(p.length===0)throw new Error("Invalid number skeleton")}r.push({stem:i,options:l})}return r}function M1(e){return e.replace(/^(.*?)-/,"")}var zv=/^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g,N0=/^(@+)?(\+|#+)?[rs]?$/g,k1=/(\*)(0+)|(#+)(0+)|(0+)/g,M0=/^(0+)$/;function Yv(e){var t={};return e[e.length-1]==="r"?t.roundingPriority="morePrecision":e[e.length-1]==="s"&&(t.roundingPriority="lessPrecision"),e.replace(N0,function(r,n,a){return typeof a!="string"?(t.minimumSignificantDigits=n.length,t.maximumSignificantDigits=n.length):a==="+"?t.minimumSignificantDigits=n.length:n[0]==="#"?t.maximumSignificantDigits=n.length:(t.minimumSignificantDigits=n.length,t.maximumSignificantDigits=n.length+(typeof a=="string"?a.length:0)),""}),t}function k0(e){switch(e){case"sign-auto":return{signDisplay:"auto"};case"sign-accounting":case"()":return{currencySign:"accounting"};case"sign-always":case"+!":return{signDisplay:"always"};case"sign-accounting-always":case"()!":return{signDisplay:"always",currencySign:"accounting"};case"sign-except-zero":case"+?":return{signDisplay:"exceptZero"};case"sign-accounting-except-zero":case"()?":return{signDisplay:"exceptZero",currencySign:"accounting"};case"sign-never":case"+_":return{signDisplay:"never"}}}function $1(e){var t;if(e[0]==="E"&&e[1]==="E"?(t={notation:"engineering"},e=e.slice(2)):e[0]==="E"&&(t={notation:"scientific"},e=e.slice(1)),t){var r=e.slice(0,2);if(r==="+!"?(t.signDisplay="always",e=e.slice(2)):r==="+?"&&(t.signDisplay="exceptZero",e=e.slice(2)),!M0.test(e))throw new Error("Malformed concise eng/scientific notation");t.minimumIntegerDigits=e.length}return t}function Kv(e){var t={},r=k0(e);return r||t}function L1(e){for(var t={},r=0,n=e;r<n.length;r++){var a=n[r];switch(a.stem){case"percent":case"%":t.style="percent";continue;case"%x100":t.style="percent",t.scale=100;continue;case"currency":t.style="currency",t.currency=a.options[0];continue;case"group-off":case",_":t.useGrouping=!1;continue;case"precision-integer":case".":t.maximumFractionDigits=0;continue;case"measure-unit":case"unit":t.style="unit",t.unit=M1(a.options[0]);continue;case"compact-short":case"K":t.notation="compact",t.compactDisplay="short";continue;case"compact-long":case"KK":t.notation="compact",t.compactDisplay="long";continue;case"scientific":t=de(de(de({},t),{notation:"scientific"}),a.options.reduce(function(l,u){return de(de({},l),Kv(u))},{}));continue;case"engineering":t=de(de(de({},t),{notation:"engineering"}),a.options.reduce(function(l,u){return de(de({},l),Kv(u))},{}));continue;case"notation-simple":t.notation="standard";continue;case"unit-width-narrow":t.currencyDisplay="narrowSymbol",t.unitDisplay="narrow";continue;case"unit-width-short":t.currencyDisplay="code",t.unitDisplay="short";continue;case"unit-width-full-name":t.currencyDisplay="name",t.unitDisplay="long";continue;case"unit-width-iso-code":t.currencyDisplay="symbol";continue;case"scale":t.scale=parseFloat(a.options[0]);continue;case"integer-width":if(a.options.length>1)throw new RangeError("integer-width stems only accept a single optional option");a.options[0].replace(k1,function(l,u,c,p,d,f){if(u)t.minimumIntegerDigits=c.length;else{if(p&&d)throw new Error("We currently do not support maximum integer digits");if(f)throw new Error("We currently do not support exact integer digits")}return""});continue}if(M0.test(a.stem)){t.minimumIntegerDigits=a.stem.length;continue}if(zv.test(a.stem)){if(a.options.length>1)throw new RangeError("Fraction-precision stems only accept a single optional option");a.stem.replace(zv,function(l,u,c,p,d,f){return c==="*"?t.minimumFractionDigits=u.length:p&&p[0]==="#"?t.maximumFractionDigits=p.length:d&&f?(t.minimumFractionDigits=d.length,t.maximumFractionDigits=d.length+f.length):(t.minimumFractionDigits=u.length,t.maximumFractionDigits=u.length),""});var o=a.options[0];o==="w"?t=de(de({},t),{trailingZeroDisplay:"stripIfInteger"}):o&&(t=de(de({},t),Yv(o)));continue}if(N0.test(a.stem)){t=de(de({},t),Yv(a.stem));continue}var s=k0(a.stem);s&&(t=de(de({},t),s));var i=$1(a.stem);i&&(t=de(de({},t),i))}return t}var Oi={"001":["H","h"],AC:["H","h","hb","hB"],AD:["H","hB"],AE:["h","hB","hb","H"],AF:["H","hb","hB","h"],AG:["h","hb","H","hB"],AI:["H","h","hb","hB"],AL:["h","H","hB"],AM:["H","hB"],AO:["H","hB"],AR:["H","h","hB","hb"],AS:["h","H"],AT:["H","hB"],AU:["h","hb","H","hB"],AW:["H","hB"],AX:["H"],AZ:["H","hB","h"],BA:["H","hB","h"],BB:["h","hb","H","hB"],BD:["h","hB","H"],BE:["H","hB"],BF:["H","hB"],BG:["H","hB","h"],BH:["h","hB","hb","H"],BJ:["H","hB"],BL:["H","hB"],BM:["h","hb","H","hB"],BN:["hb","hB","h","H"],BO:["H","hB","h","hb"],BQ:["H"],BR:["H","hB"],BS:["h","hb","H","hB"],BT:["h","H"],BW:["H","h","hb","hB"],BZ:["H","h","hb","hB"],CA:["h","hb","H","hB"],CC:["H","h","hb","hB"],CD:["hB","H"],CF:["H","h","hB"],CG:["H","hB"],CH:["H","hB","h"],CI:["H","hB"],CK:["H","h","hb","hB"],CL:["H","h","hB","hb"],CM:["H","h","hB"],CN:["H","hB","hb","h"],CO:["h","H","hB","hb"],CP:["H"],CR:["H","h","hB","hb"],CU:["H","h","hB","hb"],CV:["H","hB"],CX:["H","h","hb","hB"],CY:["h","H","hb","hB"],CZ:["H"],DE:["H","hB"],DG:["H","h","hb","hB"],DJ:["h","H"],DK:["H"],DM:["h","hb","H","hB"],DO:["h","H","hB","hb"],DZ:["h","hB","hb","H"],EA:["H","h","hB","hb"],EC:["H","hB","h","hb"],EE:["H","hB"],EG:["h","hB","hb","H"],EH:["h","hB","hb","H"],ER:["h","H"],ES:["H","hB","h","hb"],ET:["hB","hb","h","H"],FI:["H"],FJ:["h","hb","H","hB"],FK:["H","h","hb","hB"],FM:["h","hb","H","hB"],FR:["H","hB"],GA:["H","hB"],GB:["H","h","hb","hB"],GD:["h","hb","H","hB"],GE:["H","hB","h"],GF:["H","hB"],GG:["H","h","hb","hB"],GH:["h","H"],GI:["H","h","hb","hB"],GM:["h","hb","H","hB"],GN:["H","hB"],GP:["H","hB"],GQ:["H","hB","h","hb"],GR:["h","H","hb","hB"],GT:["H","h","hB","hb"],GU:["h","hb","H","hB"],GW:["H","hB"],GY:["h","hb","H","hB"],HK:["h","hB","hb","H"],HN:["H","h","hB","hb"],HR:["H","hB"],IC:["H","h","hB","hb"],ID:["H"],IE:["H","h","hb","hB"],IL:["H","hB"],IM:["H","h","hb","hB"],IN:["h","H"],IO:["H","h","hb","hB"],IQ:["h","hB","hb","H"],IR:["hB","H"],IS:["H"],IT:["H","hB"],JE:["H","h","hb","hB"],JM:["h","hb","H","hB"],JO:["h","hB","hb","H"],JP:["H","h","K"],KE:["hB","hb","H","h"],KG:["H","h","hB","hb"],KH:["hB","h","H","hb"],KI:["h","hb","H","hB"],KM:["H","h","hB","hb"],KN:["h","hb","H","hB"],KP:["h","H","hB","hb"],KR:["h","H","hB","hb"],KW:["h","hB","hb","H"],KY:["h","hb","H","hB"],KZ:["H","hB"],LA:["H","hb","hB","h"],LB:["h","hB","hb","H"],LC:["h","hb","H","hB"],LI:["H","hB","h"],LK:["H","h","hB","hb"],LR:["h","hb","H","hB"],LS:["h","H"],LT:["H","h","hb","hB"],LU:["H","h","hB"],LV:["H","hB","hb","h"],LY:["h","hB","hb","H"],MA:["H","h","hB","hb"],MC:["H","hB"],MD:["H","hB"],ME:["H","hB","h"],MF:["H","hB"],MH:["h","hb","H","hB"],MK:["H","h","hb","hB"],ML:["H"],MM:["hB","hb","H","h"],MN:["H","h","hb","hB"],MO:["h","hB","hb","H"],MP:["h","hb","H","hB"],MQ:["H","hB"],MR:["h","hB","hb","H"],MS:["H","h","hb","hB"],MW:["h","hb","H","hB"],MX:["H","h","hB","hb"],MY:["hb","hB","h","H"],MZ:["H","hB"],NA:["h","H","hB","hb"],NC:["H","hB"],NE:["H"],NF:["H","h","hb","hB"],NG:["H","h","hb","hB"],NI:["H","h","hB","hb"],NL:["H","hB"],NP:["H","h","hB"],NR:["H","h","hb","hB"],NU:["H","h","hb","hB"],NZ:["h","hb","H","hB"],OM:["h","hB","hb","H"],PA:["h","H","hB","hb"],PE:["H","hB","h","hb"],PF:["H","h","hB"],PG:["h","H"],PH:["h","hB","hb","H"],PK:["h","hB","H"],PM:["H","hB"],PN:["H","h","hb","hB"],PR:["h","H","hB","hb"],PS:["h","hB","hb","H"],PT:["H","hB"],PW:["h","H"],PY:["H","h","hB","hb"],QA:["h","hB","hb","H"],RE:["H","hB"],RO:["H","hB"],RS:["H","hB","h"],RU:["H"],SA:["h","hB","hb","H"],SB:["h","hb","H","hB"],SC:["H","h","hB"],SD:["h","hB","hb","H"],SE:["H"],SG:["h","hb","H","hB"],SH:["H","h","hb","hB"],SI:["H","hB"],SJ:["H"],SK:["H"],SL:["h","hb","H","hB"],SM:["H","h","hB"],SN:["H","h","hB"],SO:["h","H"],SR:["H","hB"],SS:["h","hb","H","hB"],ST:["H","hB"],SV:["H","h","hB","hb"],SX:["H","h","hb","hB"],SY:["h","hB","hb","H"],SZ:["h","hb","H","hB"],TA:["H","h","hb","hB"],TC:["h","hb","H","hB"],TD:["h","H","hB"],TF:["H","h","hB"],TG:["H","hB"],TL:["H","hB","hb","h"],TN:["h","hB","hb","H"],TO:["h","H"],TR:["H","hB"],TT:["h","hb","H","hB"],TW:["hB","hb","h","H"],TZ:["hB","hb","H","h"],UA:["H","hB","h"],UG:["hB","hb","H","h"],UM:["h","hb","H","hB"],US:["h","hb","H","hB"],UY:["H","h","hB","hb"],UZ:["H","hB","h"],VA:["H","h","hB"],VC:["h","hb","H","hB"],VE:["h","H","hB","hb"],VG:["h","hb","H","hB"],VI:["h","hb","H","hB"],VU:["h","H"],WF:["H","hB"],WS:["h","H"],XK:["H","hB","h"],YE:["h","hB","hb","H"],YT:["H","hB"],ZA:["H","h","hb","hB"],ZM:["h","hb","H","hB"],"af-ZA":["H","h","hB","hb"],"ar-001":["h","hB","hb","H"],"ca-ES":["H","h","hB"],"en-001":["h","hb","H","hB"],"es-BO":["H","h","hB","hb"],"es-BR":["H","h","hB","hb"],"es-EC":["H","h","hB","hb"],"es-ES":["H","h","hB","hb"],"es-GQ":["H","h","hB","hb"],"es-PE":["H","h","hB","hb"],"fr-CA":["H","h","hB"],"gl-ES":["H","h","hB"],"gu-IN":["hB","hb","h","H"],"hi-IN":["hB","h","H"],"it-CH":["H","h","hB"],"it-IT":["H","h","hB"],"kn-IN":["hB","h","H"],"ml-IN":["hB","h","H"],"mr-IN":["hB","hb","h","H"],"pa-IN":["hB","hb","h","H"],"ta-IN":["hB","h","hb","H"],"te-IN":["hB","h","H"],"zu-ZA":["H","hB","hb","h"]};function B1(e,t){for(var r="",n=0;n<e.length;n++){var a=e.charAt(n);if(a==="j"){for(var o=0;n+1<e.length&&e.charAt(n+1)===a;)o++,n++;var s=1+(o&1),i=o<2?1:3+(o>>1),l="a",u=q1(t);for((u=="H"||u=="k")&&(i=0);i-- >0;)r+=l;for(;s-- >0;)r=u+r}else a==="J"?r+="H":r+=a}return r}function q1(e){var t=e.hourCycle;if(t===void 0&&e.hourCycles&&e.hourCycles.length&&(t=e.hourCycles[0]),t)switch(t){case"h24":return"k";case"h23":return"H";case"h12":return"h";case"h11":return"K";default:throw new Error("Invalid hourCycle")}var r=e.language,n;r!=="root"&&(n=e.maximize().region);var a=Oi[n||""]||Oi[r||""]||Oi["".concat(r,"-001")]||Oi["001"];return a[0]}var rd,D1=new RegExp("^".concat(I0.source,"*")),F1=new RegExp("".concat(I0.source,"*$"));function Oe(e,t){return{start:e,end:t}}var U1=!!String.prototype.startsWith,j1=!!String.fromCodePoint,H1=!!Object.fromEntries,G1=!!String.prototype.codePointAt,W1=!!String.prototype.trimStart,V1=!!String.prototype.trimEnd,z1=!!Number.isSafeInteger,Y1=z1?Number.isSafeInteger:function(e){return typeof e=="number"&&isFinite(e)&&Math.floor(e)===e&&Math.abs(e)<=9007199254740991},fp=!0;try{var K1=L0("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu");fp=((rd=K1.exec("a"))===null||rd===void 0?void 0:rd[0])==="a"}catch{fp=!1}var Xv=U1?function(t,r,n){return t.startsWith(r,n)}:function(t,r,n){return t.slice(n,n+r.length)===r},dp=j1?String.fromCodePoint:function(){for(var t=[],r=0;r<arguments.length;r++)t[r]=arguments[r];for(var n="",a=t.length,o=0,s;a>o;){if(s=t[o++],s>1114111)throw RangeError(s+" is not a valid code point");n+=s<65536?String.fromCharCode(s):String.fromCharCode(((s-=65536)>>10)+55296,s%1024+56320)}return n},Qv=H1?Object.fromEntries:function(t){for(var r={},n=0,a=t;n<a.length;n++){var o=a[n],s=o[0],i=o[1];r[s]=i}return r},$0=G1?function(t,r){return t.codePointAt(r)}:function(t,r){var n=t.length;if(!(r<0||r>=n)){var a=t.charCodeAt(r),o;return a<55296||a>56319||r+1===n||(o=t.charCodeAt(r+1))<56320||o>57343?a:(a-55296<<10)+(o-56320)+65536}},X1=W1?function(t){return t.trimStart()}:function(t){return t.replace(D1,"")},Q1=V1?function(t){return t.trimEnd()}:function(t){return t.replace(F1,"")};function L0(e,t){return new RegExp(e,t)}var pp;if(fp){var Jv=L0("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu");pp=function(t,r){var n;Jv.lastIndex=r;var a=Jv.exec(t);return(n=a[1])!==null&&n!==void 0?n:""}}else pp=function(t,r){for(var n=[];;){var a=$0(t,r);if(a===void 0||B0(a)||tI(a))break;n.push(a),r+=a>=65536?2:1}return dp.apply(void 0,n)};var J1=function(){function e(t,r){r===void 0&&(r={}),this.message=t,this.position={offset:0,line:1,column:1},this.ignoreTag=!!r.ignoreTag,this.locale=r.locale,this.requiresOtherClause=!!r.requiresOtherClause,this.shouldParseSkeletons=!!r.shouldParseSkeletons}return e.prototype.parse=function(){if(this.offset()!==0)throw Error("parser can only be used once");return this.parseMessage(0,"",!1)},e.prototype.parseMessage=function(t,r,n){for(var a=[];!this.isEOF();){var o=this.char();if(o===123){var s=this.parseArgument(t,n);if(s.err)return s;a.push(s.val)}else{if(o===125&&t>0)break;if(o===35&&(r==="plural"||r==="selectordinal")){var i=this.clonePosition();this.bump(),a.push({type:Ue.pound,location:Oe(i,this.clonePosition())})}else if(o===60&&!this.ignoreTag&&this.peek()===47){if(n)break;return this.error(Re.UNMATCHED_CLOSING_TAG,Oe(this.clonePosition(),this.clonePosition()))}else if(o===60&&!this.ignoreTag&&hp(this.peek()||0)){var s=this.parseTag(t,r);if(s.err)return s;a.push(s.val)}else{var s=this.parseLiteral(t,r);if(s.err)return s;a.push(s.val)}}}return{val:a,err:null}},e.prototype.parseTag=function(t,r){var n=this.clonePosition();this.bump();var a=this.parseTagName();if(this.bumpSpace(),this.bumpIf("/>"))return{val:{type:Ue.literal,value:"<".concat(a,"/>"),location:Oe(n,this.clonePosition())},err:null};if(this.bumpIf(">")){var o=this.parseMessage(t+1,r,!0);if(o.err)return o;var s=o.val,i=this.clonePosition();if(this.bumpIf("</")){if(this.isEOF()||!hp(this.char()))return this.error(Re.INVALID_TAG,Oe(i,this.clonePosition()));var l=this.clonePosition(),u=this.parseTagName();return a!==u?this.error(Re.UNMATCHED_CLOSING_TAG,Oe(l,this.clonePosition())):(this.bumpSpace(),this.bumpIf(">")?{val:{type:Ue.tag,value:a,children:s,location:Oe(n,this.clonePosition())},err:null}:this.error(Re.INVALID_TAG,Oe(i,this.clonePosition())))}else return this.error(Re.UNCLOSED_TAG,Oe(n,this.clonePosition()))}else return this.error(Re.INVALID_TAG,Oe(n,this.clonePosition()))},e.prototype.parseTagName=function(){var t=this.offset();for(this.bump();!this.isEOF()&&eI(this.char());)this.bump();return this.message.slice(t,this.offset())},e.prototype.parseLiteral=function(t,r){for(var n=this.clonePosition(),a="";;){var o=this.tryParseQuote(r);if(o){a+=o;continue}var s=this.tryParseUnquoted(t,r);if(s){a+=s;continue}var i=this.tryParseLeftAngleBracket();if(i){a+=i;continue}break}var l=Oe(n,this.clonePosition());return{val:{type:Ue.literal,value:a,location:l},err:null}},e.prototype.tryParseLeftAngleBracket=function(){return!this.isEOF()&&this.char()===60&&(this.ignoreTag||!Z1(this.peek()||0))?(this.bump(),"<"):null},e.prototype.tryParseQuote=function(t){if(this.isEOF()||this.char()!==39)return null;switch(this.peek()){case 39:return this.bump(),this.bump(),"'";case 123:case 60:case 62:case 125:break;case 35:if(t==="plural"||t==="selectordinal")break;return null;default:return null}this.bump();var r=[this.char()];for(this.bump();!this.isEOF();){var n=this.char();if(n===39)if(this.peek()===39)r.push(39),this.bump();else{this.bump();break}else r.push(n);this.bump()}return dp.apply(void 0,r)},e.prototype.tryParseUnquoted=function(t,r){if(this.isEOF())return null;var n=this.char();return n===60||n===123||n===35&&(r==="plural"||r==="selectordinal")||n===125&&t>0?null:(this.bump(),dp(n))},e.prototype.parseArgument=function(t,r){var n=this.clonePosition();if(this.bump(),this.bumpSpace(),this.isEOF())return this.error(Re.EXPECT_ARGUMENT_CLOSING_BRACE,Oe(n,this.clonePosition()));if(this.char()===125)return this.bump(),this.error(Re.EMPTY_ARGUMENT,Oe(n,this.clonePosition()));var a=this.parseIdentifierIfPossible().value;if(!a)return this.error(Re.MALFORMED_ARGUMENT,Oe(n,this.clonePosition()));if(this.bumpSpace(),this.isEOF())return this.error(Re.EXPECT_ARGUMENT_CLOSING_BRACE,Oe(n,this.clonePosition()));switch(this.char()){case 125:return this.bump(),{val:{type:Ue.argument,value:a,location:Oe(n,this.clonePosition())},err:null};case 44:return this.bump(),this.bumpSpace(),this.isEOF()?this.error(Re.EXPECT_ARGUMENT_CLOSING_BRACE,Oe(n,this.clonePosition())):this.parseArgumentOptions(t,r,a,n);default:return this.error(Re.MALFORMED_ARGUMENT,Oe(n,this.clonePosition()))}},e.prototype.parseIdentifierIfPossible=function(){var t=this.clonePosition(),r=this.offset(),n=pp(this.message,r),a=r+n.length;this.bumpTo(a);var o=this.clonePosition(),s=Oe(t,o);return{value:n,location:s}},e.prototype.parseArgumentOptions=function(t,r,n,a){var o,s=this.clonePosition(),i=this.parseIdentifierIfPossible().value,l=this.clonePosition();switch(i){case"":return this.error(Re.EXPECT_ARGUMENT_TYPE,Oe(s,l));case"number":case"date":case"time":{this.bumpSpace();var u=null;if(this.bumpIf(",")){this.bumpSpace();var c=this.clonePosition(),p=this.parseSimpleArgStyleIfPossible();if(p.err)return p;var d=Q1(p.val);if(d.length===0)return this.error(Re.EXPECT_ARGUMENT_STYLE,Oe(this.clonePosition(),this.clonePosition()));var f=Oe(c,this.clonePosition());u={style:d,styleLocation:f}}var h=this.tryParseArgumentClose(a);if(h.err)return h;var m=Oe(a,this.clonePosition());if(u&&Xv(u==null?void 0:u.style,"::",0)){var _=X1(u.style.slice(2));if(i==="number"){var p=this.parseNumberSkeletonFromString(_,u.styleLocation);return p.err?p:{val:{type:Ue.number,value:n,location:m,style:p.val},err:null}}else{if(_.length===0)return this.error(Re.EXPECT_DATE_TIME_SKELETON,m);var b=_;this.locale&&(b=B1(_,this.locale));var d={type:ya.dateTime,pattern:b,location:u.styleLocation,parsedOptions:this.shouldParseSkeletons?A1(b):{}},v=i==="date"?Ue.date:Ue.time;return{val:{type:v,value:n,location:m,style:d},err:null}}}return{val:{type:i==="number"?Ue.number:i==="date"?Ue.date:Ue.time,value:n,location:m,style:(o=u==null?void 0:u.style)!==null&&o!==void 0?o:null},err:null}}case"plural":case"selectordinal":case"select":{var w=this.clonePosition();if(this.bumpSpace(),!this.bumpIf(","))return this.error(Re.EXPECT_SELECT_ARGUMENT_OPTIONS,Oe(w,de({},w)));this.bumpSpace();var R=this.parseIdentifierIfPossible(),T=0;if(i!=="select"&&R.value==="offset"){if(!this.bumpIf(":"))return this.error(Re.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,Oe(this.clonePosition(),this.clonePosition()));this.bumpSpace();var p=this.tryParseDecimalInteger(Re.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,Re.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);if(p.err)return p;this.bumpSpace(),R=this.parseIdentifierIfPossible(),T=p.val}var C=this.tryParsePluralOrSelectOptions(t,i,r,R);if(C.err)return C;var h=this.tryParseArgumentClose(a);if(h.err)return h;var N=Oe(a,this.clonePosition());return i==="select"?{val:{type:Ue.select,value:n,options:Qv(C.val),location:N},err:null}:{val:{type:Ue.plural,value:n,options:Qv(C.val),offset:T,pluralType:i==="plural"?"cardinal":"ordinal",location:N},err:null}}default:return this.error(Re.INVALID_ARGUMENT_TYPE,Oe(s,l))}},e.prototype.tryParseArgumentClose=function(t){return this.isEOF()||this.char()!==125?this.error(Re.EXPECT_ARGUMENT_CLOSING_BRACE,Oe(t,this.clonePosition())):(this.bump(),{val:!0,err:null})},e.prototype.parseSimpleArgStyleIfPossible=function(){for(var t=0,r=this.clonePosition();!this.isEOF();){var n=this.char();switch(n){case 39:{this.bump();var a=this.clonePosition();if(!this.bumpUntil("'"))return this.error(Re.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE,Oe(a,this.clonePosition()));this.bump();break}case 123:{t+=1,this.bump();break}case 125:{if(t>0)t-=1;else return{val:this.message.slice(r.offset,this.offset()),err:null};break}default:this.bump();break}}return{val:this.message.slice(r.offset,this.offset()),err:null}},e.prototype.parseNumberSkeletonFromString=function(t,r){var n=[];try{n=N1(t)}catch{return this.error(Re.INVALID_NUMBER_SKELETON,r)}return{val:{type:ya.number,tokens:n,location:r,parsedOptions:this.shouldParseSkeletons?L1(n):{}},err:null}},e.prototype.tryParsePluralOrSelectOptions=function(t,r,n,a){for(var o,s=!1,i=[],l=new Set,u=a.value,c=a.location;;){if(u.length===0){var p=this.clonePosition();if(r!=="select"&&this.bumpIf("=")){var d=this.tryParseDecimalInteger(Re.EXPECT_PLURAL_ARGUMENT_SELECTOR,Re.INVALID_PLURAL_ARGUMENT_SELECTOR);if(d.err)return d;c=Oe(p,this.clonePosition()),u=this.message.slice(p.offset,this.offset())}else break}if(l.has(u))return this.error(r==="select"?Re.DUPLICATE_SELECT_ARGUMENT_SELECTOR:Re.DUPLICATE_PLURAL_ARGUMENT_SELECTOR,c);u==="other"&&(s=!0),this.bumpSpace();var f=this.clonePosition();if(!this.bumpIf("{"))return this.error(r==="select"?Re.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT:Re.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT,Oe(this.clonePosition(),this.clonePosition()));var h=this.parseMessage(t+1,r,n);if(h.err)return h;var m=this.tryParseArgumentClose(f);if(m.err)return m;i.push([u,{value:h.val,location:Oe(f,this.clonePosition())}]),l.add(u),this.bumpSpace(),o=this.parseIdentifierIfPossible(),u=o.value,c=o.location}return i.length===0?this.error(r==="select"?Re.EXPECT_SELECT_ARGUMENT_SELECTOR:Re.EXPECT_PLURAL_ARGUMENT_SELECTOR,Oe(this.clonePosition(),this.clonePosition())):this.requiresOtherClause&&!s?this.error(Re.MISSING_OTHER_CLAUSE,Oe(this.clonePosition(),this.clonePosition())):{val:i,err:null}},e.prototype.tryParseDecimalInteger=function(t,r){var n=1,a=this.clonePosition();this.bumpIf("+")||this.bumpIf("-")&&(n=-1);for(var o=!1,s=0;!this.isEOF();){var i=this.char();if(i>=48&&i<=57)o=!0,s=s*10+(i-48),this.bump();else break}var l=Oe(a,this.clonePosition());return o?(s*=n,Y1(s)?{val:s,err:null}:this.error(r,l)):this.error(t,l)},e.prototype.offset=function(){return this.position.offset},e.prototype.isEOF=function(){return this.offset()===this.message.length},e.prototype.clonePosition=function(){return{offset:this.position.offset,line:this.position.line,column:this.position.column}},e.prototype.char=function(){var t=this.position.offset;if(t>=this.message.length)throw Error("out of bound");var r=$0(this.message,t);if(r===void 0)throw Error("Offset ".concat(t," is at invalid UTF-16 code unit boundary"));return r},e.prototype.error=function(t,r){return{val:null,err:{kind:t,message:this.message,location:r}}},e.prototype.bump=function(){if(!this.isEOF()){var t=this.char();t===10?(this.position.line+=1,this.position.column=1,this.position.offset+=1):(this.position.column+=1,this.position.offset+=t<65536?1:2)}},e.prototype.bumpIf=function(t){if(Xv(this.message,t,this.offset())){for(var r=0;r<t.length;r++)this.bump();return!0}return!1},e.prototype.bumpUntil=function(t){var r=this.offset(),n=this.message.indexOf(t,r);return n>=0?(this.bumpTo(n),!0):(this.bumpTo(this.message.length),!1)},e.prototype.bumpTo=function(t){if(this.offset()>t)throw Error("targetOffset ".concat(t," must be greater than or equal to the current offset ").concat(this.offset()));for(t=Math.min(t,this.message.length);;){var r=this.offset();if(r===t)break;if(r>t)throw Error("targetOffset ".concat(t," is at invalid UTF-16 code unit boundary"));if(this.bump(),this.isEOF())break}},e.prototype.bumpSpace=function(){for(;!this.isEOF()&&B0(this.char());)this.bump()},e.prototype.peek=function(){if(this.isEOF())return null;var t=this.char(),r=this.offset(),n=this.message.charCodeAt(r+(t>=65536?2:1));return n??null},e}();function hp(e){return e>=97&&e<=122||e>=65&&e<=90}function Z1(e){return hp(e)||e===47}function eI(e){return e===45||e===46||e>=48&&e<=57||e===95||e>=97&&e<=122||e>=65&&e<=90||e==183||e>=192&&e<=214||e>=216&&e<=246||e>=248&&e<=893||e>=895&&e<=8191||e>=8204&&e<=8205||e>=8255&&e<=8256||e>=8304&&e<=8591||e>=11264&&e<=12271||e>=12289&&e<=55295||e>=63744&&e<=64975||e>=65008&&e<=65533||e>=65536&&e<=983039}function B0(e){return e>=9&&e<=13||e===32||e===133||e>=8206&&e<=8207||e===8232||e===8233}function tI(e){return e>=33&&e<=35||e===36||e>=37&&e<=39||e===40||e===41||e===42||e===43||e===44||e===45||e>=46&&e<=47||e>=58&&e<=59||e>=60&&e<=62||e>=63&&e<=64||e===91||e===92||e===93||e===94||e===96||e===123||e===124||e===125||e===126||e===161||e>=162&&e<=165||e===166||e===167||e===169||e===171||e===172||e===174||e===176||e===177||e===182||e===187||e===191||e===215||e===247||e>=8208&&e<=8213||e>=8214&&e<=8215||e===8216||e===8217||e===8218||e>=8219&&e<=8220||e===8221||e===8222||e===8223||e>=8224&&e<=8231||e>=8240&&e<=8248||e===8249||e===8250||e>=8251&&e<=8254||e>=8257&&e<=8259||e===8260||e===8261||e===8262||e>=8263&&e<=8273||e===8274||e===8275||e>=8277&&e<=8286||e>=8592&&e<=8596||e>=8597&&e<=8601||e>=8602&&e<=8603||e>=8604&&e<=8607||e===8608||e>=8609&&e<=8610||e===8611||e>=8612&&e<=8613||e===8614||e>=8615&&e<=8621||e===8622||e>=8623&&e<=8653||e>=8654&&e<=8655||e>=8656&&e<=8657||e===8658||e===8659||e===8660||e>=8661&&e<=8691||e>=8692&&e<=8959||e>=8960&&e<=8967||e===8968||e===8969||e===8970||e===8971||e>=8972&&e<=8991||e>=8992&&e<=8993||e>=8994&&e<=9e3||e===9001||e===9002||e>=9003&&e<=9083||e===9084||e>=9085&&e<=9114||e>=9115&&e<=9139||e>=9140&&e<=9179||e>=9180&&e<=9185||e>=9186&&e<=9254||e>=9255&&e<=9279||e>=9280&&e<=9290||e>=9291&&e<=9311||e>=9472&&e<=9654||e===9655||e>=9656&&e<=9664||e===9665||e>=9666&&e<=9719||e>=9720&&e<=9727||e>=9728&&e<=9838||e===9839||e>=9840&&e<=10087||e===10088||e===10089||e===10090||e===10091||e===10092||e===10093||e===10094||e===10095||e===10096||e===10097||e===10098||e===10099||e===10100||e===10101||e>=10132&&e<=10175||e>=10176&&e<=10180||e===10181||e===10182||e>=10183&&e<=10213||e===10214||e===10215||e===10216||e===10217||e===10218||e===10219||e===10220||e===10221||e===10222||e===10223||e>=10224&&e<=10239||e>=10240&&e<=10495||e>=10496&&e<=10626||e===10627||e===10628||e===10629||e===10630||e===10631||e===10632||e===10633||e===10634||e===10635||e===10636||e===10637||e===10638||e===10639||e===10640||e===10641||e===10642||e===10643||e===10644||e===10645||e===10646||e===10647||e===10648||e>=10649&&e<=10711||e===10712||e===10713||e===10714||e===10715||e>=10716&&e<=10747||e===10748||e===10749||e>=10750&&e<=11007||e>=11008&&e<=11055||e>=11056&&e<=11076||e>=11077&&e<=11078||e>=11079&&e<=11084||e>=11085&&e<=11123||e>=11124&&e<=11125||e>=11126&&e<=11157||e===11158||e>=11159&&e<=11263||e>=11776&&e<=11777||e===11778||e===11779||e===11780||e===11781||e>=11782&&e<=11784||e===11785||e===11786||e===11787||e===11788||e===11789||e>=11790&&e<=11798||e===11799||e>=11800&&e<=11801||e===11802||e===11803||e===11804||e===11805||e>=11806&&e<=11807||e===11808||e===11809||e===11810||e===11811||e===11812||e===11813||e===11814||e===11815||e===11816||e===11817||e>=11818&&e<=11822||e===11823||e>=11824&&e<=11833||e>=11834&&e<=11835||e>=11836&&e<=11839||e===11840||e===11841||e===11842||e>=11843&&e<=11855||e>=11856&&e<=11857||e===11858||e>=11859&&e<=11903||e>=12289&&e<=12291||e===12296||e===12297||e===12298||e===12299||e===12300||e===12301||e===12302||e===12303||e===12304||e===12305||e>=12306&&e<=12307||e===12308||e===12309||e===12310||e===12311||e===12312||e===12313||e===12314||e===12315||e===12316||e===12317||e>=12318&&e<=12319||e===12320||e===12336||e===64830||e===64831||e>=65093&&e<=65094}function mp(e){e.forEach(function(t){if(delete t.location,O0(t)||x0(t))for(var r in t.options)delete t.options[r].location,mp(t.options[r].value);else S0(t)&&A0(t.style)||(R0(t)||C0(t))&&cp(t.style)?delete t.style.location:P0(t)&&mp(t.children)})}function rI(e,t){t===void 0&&(t={}),t=de({shouldParseSkeletons:!0,requiresOtherClause:!0},t);var r=new J1(e,t).parse();if(r.err){var n=SyntaxError(Re[r.err.kind]);throw n.location=r.err.location,n.originalMessage=r.err.message,n}return t!=null&&t.captureLocation||mp(r.val),r.val}function er(e,t){var r=t&&t.cache?t.cache:lI,n=t&&t.serializer?t.serializer:sI,a=t&&t.strategy?t.strategy:aI;return a(e,{cache:r,serializer:n})}function nI(e){return e==null||typeof e=="number"||typeof e=="boolean"}function q0(e,t,r,n){var a=nI(n)?n:r(n),o=t.get(a);return typeof o>"u"&&(o=e.call(this,n),t.set(a,o)),o}function D0(e,t,r){var n=Array.prototype.slice.call(arguments,3),a=r(n),o=t.get(a);return typeof o>"u"&&(o=e.apply(this,n),t.set(a,o)),o}function Oh(e,t,r,n,a){return r.bind(t,e,n,a)}function aI(e,t){var r=e.length===1?q0:D0;return Oh(e,this,r,t.cache.create(),t.serializer)}function oI(e,t){return Oh(e,this,D0,t.cache.create(),t.serializer)}function iI(e,t){return Oh(e,this,q0,t.cache.create(),t.serializer)}var sI=function(){return JSON.stringify(arguments)};function xh(){this.cache=Object.create(null)}xh.prototype.get=function(e){return this.cache[e]};xh.prototype.set=function(e,t){this.cache[e]=t};var lI={create:function(){return new xh}},tr={variadic:oI,monadic:iI},ar;(function(e){e.MISSING_VALUE="MISSING_VALUE",e.INVALID_VALUE="INVALID_VALUE",e.MISSING_INTL_API="MISSING_INTL_API"})(ar||(ar={}));var Jr=function(e){Lt(t,e);function t(r,n,a){var o=e.call(this,r)||this;return o.code=n,o.originalMessage=a,o}return t.prototype.toString=function(){return"[formatjs Error: ".concat(this.code,"] ").concat(this.message)},t}(Error),Zv=function(e){Lt(t,e);function t(r,n,a,o){return e.call(this,'Invalid values for "'.concat(r,'": "').concat(n,'". Options are "').concat(Object.keys(a).join('", "'),'"'),ar.INVALID_VALUE,o)||this}return t}(Jr),uI=function(e){Lt(t,e);function t(r,n,a){return e.call(this,'Value for "'.concat(r,'" must be of type ').concat(n),ar.INVALID_VALUE,a)||this}return t}(Jr),cI=function(e){Lt(t,e);function t(r,n){return e.call(this,'The intl string context variable "'.concat(r,'" was not provided to the string "').concat(n,'"'),ar.MISSING_VALUE,n)||this}return t}(Jr),wt;(function(e){e[e.literal=0]="literal",e[e.object=1]="object"})(wt||(wt={}));function fI(e){return e.length<2?e:e.reduce(function(t,r){var n=t[t.length-1];return!n||n.type!==wt.literal||r.type!==wt.literal?t.push(r):n.value+=r.value,t},[])}function F0(e){return typeof e=="function"}function qi(e,t,r,n,a,o,s){if(e.length===1&&Vv(e[0]))return[{type:wt.literal,value:e[0].value}];for(var i=[],l=0,u=e;l<u.length;l++){var c=u[l];if(Vv(c)){i.push({type:wt.literal,value:c.value});continue}if(x1(c)){typeof o=="number"&&i.push({type:wt.literal,value:r.getNumberFormat(t).format(o)});continue}var p=c.value;if(!(a&&p in a))throw new cI(p,s);var d=a[p];if(O1(c)){(!d||typeof d=="string"||typeof d=="number")&&(d=typeof d=="string"||typeof d=="number"?String(d):""),i.push({type:typeof d=="string"?wt.literal:wt.object,value:d});continue}if(R0(c)){var f=typeof c.style=="string"?n.date[c.style]:cp(c.style)?c.style.parsedOptions:void 0;i.push({type:wt.literal,value:r.getDateTimeFormat(t,f).format(d)});continue}if(C0(c)){var f=typeof c.style=="string"?n.time[c.style]:cp(c.style)?c.style.parsedOptions:n.time.medium;i.push({type:wt.literal,value:r.getDateTimeFormat(t,f).format(d)});continue}if(S0(c)){var f=typeof c.style=="string"?n.number[c.style]:A0(c.style)?c.style.parsedOptions:void 0;f&&f.scale&&(d=d*(f.scale||1)),i.push({type:wt.literal,value:r.getNumberFormat(t,f).format(d)});continue}if(P0(c)){var h=c.children,m=c.value,_=a[m];if(!F0(_))throw new uI(m,"function",s);var b=qi(h,t,r,n,a,o),v=_(b.map(function(T){return T.value}));Array.isArray(v)||(v=[v]),i.push.apply(i,v.map(function(T){return{type:typeof T=="string"?wt.literal:wt.object,value:T}}))}if(O0(c)){var w=c.options[d]||c.options.other;if(!w)throw new Zv(c.value,d,Object.keys(c.options),s);i.push.apply(i,qi(w.value,t,r,n,a));continue}if(x0(c)){var w=c.options["=".concat(d)];if(!w){if(!Intl.PluralRules)throw new Jr(`Intl.PluralRules is not available in this environment.
61
+ */var Uv;function EA(){return Uv||(Uv=1,function(e){const t=gA(),r=bA(),n=typeof Symbol=="function"&&typeof Symbol.for=="function"?Symbol.for("nodejs.util.inspect.custom"):null;e.Buffer=i,e.SlowBuffer=v,e.INSPECT_MAX_BYTES=50;const a=2147483647;e.kMaxLength=a,i.TYPED_ARRAY_SUPPORT=o(),!i.TYPED_ARRAY_SUPPORT&&typeof console<"u"&&typeof console.error=="function"&&console.error("This browser lacks typed array (Uint8Array) support which is required by `buffer` v5.x. Use `buffer` v4.x if you require old browser support.");function o(){try{const S=new Uint8Array(1),y={foo:function(){return 42}};return Object.setPrototypeOf(y,Uint8Array.prototype),Object.setPrototypeOf(S,y),S.foo()===42}catch{return!1}}Object.defineProperty(i.prototype,"parent",{enumerable:!0,get:function(){if(i.isBuffer(this))return this.buffer}}),Object.defineProperty(i.prototype,"offset",{enumerable:!0,get:function(){if(i.isBuffer(this))return this.byteOffset}});function s(S){if(S>a)throw new RangeError('The value "'+S+'" is invalid for option "size"');const y=new Uint8Array(S);return Object.setPrototypeOf(y,i.prototype),y}function i(S,y,g){if(typeof S=="number"){if(typeof y=="string")throw new TypeError('The "string" argument must be of type string. Received type number');return p(S)}return l(S,y,g)}i.poolSize=8192;function l(S,y,g){if(typeof S=="string")return d(S,y);if(ArrayBuffer.isView(S))return h(S);if(S==null)throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof S);if(ze(S,ArrayBuffer)||S&&ze(S.buffer,ArrayBuffer)||typeof SharedArrayBuffer<"u"&&(ze(S,SharedArrayBuffer)||S&&ze(S.buffer,SharedArrayBuffer)))return m(S,y,g);if(typeof S=="number")throw new TypeError('The "value" argument must not be of type number. Received type number');const E=S.valueOf&&S.valueOf();if(E!=null&&E!==S)return i.from(E,y,g);const x=_(S);if(x)return x;if(typeof Symbol<"u"&&Symbol.toPrimitive!=null&&typeof S[Symbol.toPrimitive]=="function")return i.from(S[Symbol.toPrimitive]("string"),y,g);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof S)}i.from=function(S,y,g){return l(S,y,g)},Object.setPrototypeOf(i.prototype,Uint8Array.prototype),Object.setPrototypeOf(i,Uint8Array);function u(S){if(typeof S!="number")throw new TypeError('"size" argument must be of type number');if(S<0)throw new RangeError('The value "'+S+'" is invalid for option "size"')}function c(S,y,g){return u(S),S<=0?s(S):y!==void 0?typeof g=="string"?s(S).fill(y,g):s(S).fill(y):s(S)}i.alloc=function(S,y,g){return c(S,y,g)};function p(S){return u(S),s(S<0?0:b(S)|0)}i.allocUnsafe=function(S){return p(S)},i.allocUnsafeSlow=function(S){return p(S)};function d(S,y){if((typeof y!="string"||y==="")&&(y="utf8"),!i.isEncoding(y))throw new TypeError("Unknown encoding: "+y);const g=w(S,y)|0;let E=s(g);const x=E.write(S,y);return x!==g&&(E=E.slice(0,x)),E}function f(S){const y=S.length<0?0:b(S.length)|0,g=s(y);for(let E=0;E<y;E+=1)g[E]=S[E]&255;return g}function h(S){if(ze(S,Uint8Array)){const y=new Uint8Array(S);return m(y.buffer,y.byteOffset,y.byteLength)}return f(S)}function m(S,y,g){if(y<0||S.byteLength<y)throw new RangeError('"offset" is outside of buffer bounds');if(S.byteLength<y+(g||0))throw new RangeError('"length" is outside of buffer bounds');let E;return y===void 0&&g===void 0?E=new Uint8Array(S):g===void 0?E=new Uint8Array(S,y):E=new Uint8Array(S,y,g),Object.setPrototypeOf(E,i.prototype),E}function _(S){if(i.isBuffer(S)){const y=b(S.length)|0,g=s(y);return g.length===0||S.copy(g,0,0,y),g}if(S.length!==void 0)return typeof S.length!="number"||Rt(S.length)?s(0):f(S);if(S.type==="Buffer"&&Array.isArray(S.data))return f(S.data)}function b(S){if(S>=a)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+a.toString(16)+" bytes");return S|0}function v(S){return+S!=S&&(S=0),i.alloc(+S)}i.isBuffer=function(y){return y!=null&&y._isBuffer===!0&&y!==i.prototype},i.compare=function(y,g){if(ze(y,Uint8Array)&&(y=i.from(y,y.offset,y.byteLength)),ze(g,Uint8Array)&&(g=i.from(g,g.offset,g.byteLength)),!i.isBuffer(y)||!i.isBuffer(g))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(y===g)return 0;let E=y.length,x=g.length;for(let P=0,q=Math.min(E,x);P<q;++P)if(y[P]!==g[P]){E=y[P],x=g[P];break}return E<x?-1:x<E?1:0},i.isEncoding=function(y){switch(String(y).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}},i.concat=function(y,g){if(!Array.isArray(y))throw new TypeError('"list" argument must be an Array of Buffers');if(y.length===0)return i.alloc(0);let E;if(g===void 0)for(g=0,E=0;E<y.length;++E)g+=y[E].length;const x=i.allocUnsafe(g);let P=0;for(E=0;E<y.length;++E){let q=y[E];if(ze(q,Uint8Array))P+q.length>x.length?(i.isBuffer(q)||(q=i.from(q)),q.copy(x,P)):Uint8Array.prototype.set.call(x,q,P);else if(i.isBuffer(q))q.copy(x,P);else throw new TypeError('"list" argument must be an Array of Buffers');P+=q.length}return x};function w(S,y){if(i.isBuffer(S))return S.length;if(ArrayBuffer.isView(S)||ze(S,ArrayBuffer))return S.byteLength;if(typeof S!="string")throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof S);const g=S.length,E=arguments.length>2&&arguments[2]===!0;if(!E&&g===0)return 0;let x=!1;for(;;)switch(y){case"ascii":case"latin1":case"binary":return g;case"utf8":case"utf-8":return dt(S).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return g*2;case"hex":return g>>>1;case"base64":return St(S).length;default:if(x)return E?-1:dt(S).length;y=(""+y).toLowerCase(),x=!0}}i.byteLength=w;function R(S,y,g){let E=!1;if((y===void 0||y<0)&&(y=0),y>this.length||((g===void 0||g>this.length)&&(g=this.length),g<=0)||(g>>>=0,y>>>=0,g<=y))return"";for(S||(S="utf8");;)switch(S){case"hex":return ve(this,y,g);case"utf8":case"utf-8":return Q(this,y,g);case"ascii":return G(this,y,g);case"latin1":case"binary":return Z(this,y,g);case"base64":return D(this,y,g);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return ee(this,y,g);default:if(E)throw new TypeError("Unknown encoding: "+S);S=(S+"").toLowerCase(),E=!0}}i.prototype._isBuffer=!0;function T(S,y,g){const E=S[y];S[y]=S[g],S[g]=E}i.prototype.swap16=function(){const y=this.length;if(y%2!==0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(let g=0;g<y;g+=2)T(this,g,g+1);return this},i.prototype.swap32=function(){const y=this.length;if(y%4!==0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(let g=0;g<y;g+=4)T(this,g,g+3),T(this,g+1,g+2);return this},i.prototype.swap64=function(){const y=this.length;if(y%8!==0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(let g=0;g<y;g+=8)T(this,g,g+7),T(this,g+1,g+6),T(this,g+2,g+5),T(this,g+3,g+4);return this},i.prototype.toString=function(){const y=this.length;return y===0?"":arguments.length===0?Q(this,0,y):R.apply(this,arguments)},i.prototype.toLocaleString=i.prototype.toString,i.prototype.equals=function(y){if(!i.isBuffer(y))throw new TypeError("Argument must be a Buffer");return this===y?!0:i.compare(this,y)===0},i.prototype.inspect=function(){let y="";const g=e.INSPECT_MAX_BYTES;return y=this.toString("hex",0,g).replace(/(.{2})/g,"$1 ").trim(),this.length>g&&(y+=" ... "),"<Buffer "+y+">"},n&&(i.prototype[n]=i.prototype.inspect),i.prototype.compare=function(y,g,E,x,P){if(ze(y,Uint8Array)&&(y=i.from(y,y.offset,y.byteLength)),!i.isBuffer(y))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof y);if(g===void 0&&(g=0),E===void 0&&(E=y?y.length:0),x===void 0&&(x=0),P===void 0&&(P=this.length),g<0||E>y.length||x<0||P>this.length)throw new RangeError("out of range index");if(x>=P&&g>=E)return 0;if(x>=P)return-1;if(g>=E)return 1;if(g>>>=0,E>>>=0,x>>>=0,P>>>=0,this===y)return 0;let q=P-x,oe=E-g;const he=Math.min(q,oe),ue=this.slice(x,P),pe=y.slice(g,E);for(let Ee=0;Ee<he;++Ee)if(ue[Ee]!==pe[Ee]){q=ue[Ee],oe=pe[Ee];break}return q<oe?-1:oe<q?1:0};function C(S,y,g,E,x){if(S.length===0)return-1;if(typeof g=="string"?(E=g,g=0):g>2147483647?g=2147483647:g<-2147483648&&(g=-2147483648),g=+g,Rt(g)&&(g=x?0:S.length-1),g<0&&(g=S.length+g),g>=S.length){if(x)return-1;g=S.length-1}else if(g<0)if(x)g=0;else return-1;if(typeof y=="string"&&(y=i.from(y,E)),i.isBuffer(y))return y.length===0?-1:N(S,y,g,E,x);if(typeof y=="number")return y=y&255,typeof Uint8Array.prototype.indexOf=="function"?x?Uint8Array.prototype.indexOf.call(S,y,g):Uint8Array.prototype.lastIndexOf.call(S,y,g):N(S,[y],g,E,x);throw new TypeError("val must be string, number or Buffer")}function N(S,y,g,E,x){let P=1,q=S.length,oe=y.length;if(E!==void 0&&(E=String(E).toLowerCase(),E==="ucs2"||E==="ucs-2"||E==="utf16le"||E==="utf-16le")){if(S.length<2||y.length<2)return-1;P=2,q/=2,oe/=2,g/=2}function he(pe,Ee){return P===1?pe[Ee]:pe.readUInt16BE(Ee*P)}let ue;if(x){let pe=-1;for(ue=g;ue<q;ue++)if(he(S,ue)===he(y,pe===-1?0:ue-pe)){if(pe===-1&&(pe=ue),ue-pe+1===oe)return pe*P}else pe!==-1&&(ue-=ue-pe),pe=-1}else for(g+oe>q&&(g=q-oe),ue=g;ue>=0;ue--){let pe=!0;for(let Ee=0;Ee<oe;Ee++)if(he(S,ue+Ee)!==he(y,Ee)){pe=!1;break}if(pe)return ue}return-1}i.prototype.includes=function(y,g,E){return this.indexOf(y,g,E)!==-1},i.prototype.indexOf=function(y,g,E){return C(this,y,g,E,!0)},i.prototype.lastIndexOf=function(y,g,E){return C(this,y,g,E,!1)};function I(S,y,g,E){g=Number(g)||0;const x=S.length-g;E?(E=Number(E),E>x&&(E=x)):E=x;const P=y.length;E>P/2&&(E=P/2);let q;for(q=0;q<E;++q){const oe=parseInt(y.substr(q*2,2),16);if(Rt(oe))return q;S[g+q]=oe}return q}function j(S,y,g,E){return _t(dt(y,S.length-g),S,g,E)}function z(S,y,g,E){return _t(Xe(y),S,g,E)}function Y(S,y,g,E){return _t(St(y),S,g,E)}function U(S,y,g,E){return _t(At(y,S.length-g),S,g,E)}i.prototype.write=function(y,g,E,x){if(g===void 0)x="utf8",E=this.length,g=0;else if(E===void 0&&typeof g=="string")x=g,E=this.length,g=0;else if(isFinite(g))g=g>>>0,isFinite(E)?(E=E>>>0,x===void 0&&(x="utf8")):(x=E,E=void 0);else throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");const P=this.length-g;if((E===void 0||E>P)&&(E=P),y.length>0&&(E<0||g<0)||g>this.length)throw new RangeError("Attempt to write outside buffer bounds");x||(x="utf8");let q=!1;for(;;)switch(x){case"hex":return I(this,y,g,E);case"utf8":case"utf-8":return j(this,y,g,E);case"ascii":case"latin1":case"binary":return z(this,y,g,E);case"base64":return Y(this,y,g,E);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return U(this,y,g,E);default:if(q)throw new TypeError("Unknown encoding: "+x);x=(""+x).toLowerCase(),q=!0}},i.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};function D(S,y,g){return y===0&&g===S.length?t.fromByteArray(S):t.fromByteArray(S.slice(y,g))}function Q(S,y,g){g=Math.min(S.length,g);const E=[];let x=y;for(;x<g;){const P=S[x];let q=null,oe=P>239?4:P>223?3:P>191?2:1;if(x+oe<=g){let he,ue,pe,Ee;switch(oe){case 1:P<128&&(q=P);break;case 2:he=S[x+1],(he&192)===128&&(Ee=(P&31)<<6|he&63,Ee>127&&(q=Ee));break;case 3:he=S[x+1],ue=S[x+2],(he&192)===128&&(ue&192)===128&&(Ee=(P&15)<<12|(he&63)<<6|ue&63,Ee>2047&&(Ee<55296||Ee>57343)&&(q=Ee));break;case 4:he=S[x+1],ue=S[x+2],pe=S[x+3],(he&192)===128&&(ue&192)===128&&(pe&192)===128&&(Ee=(P&15)<<18|(he&63)<<12|(ue&63)<<6|pe&63,Ee>65535&&Ee<1114112&&(q=Ee))}}q===null?(q=65533,oe=1):q>65535&&(q-=65536,E.push(q>>>10&1023|55296),q=56320|q&1023),E.push(q),x+=oe}return k(E)}const J=4096;function k(S){const y=S.length;if(y<=J)return String.fromCharCode.apply(String,S);let g="",E=0;for(;E<y;)g+=String.fromCharCode.apply(String,S.slice(E,E+=J));return g}function G(S,y,g){let E="";g=Math.min(S.length,g);for(let x=y;x<g;++x)E+=String.fromCharCode(S[x]&127);return E}function Z(S,y,g){let E="";g=Math.min(S.length,g);for(let x=y;x<g;++x)E+=String.fromCharCode(S[x]);return E}function ve(S,y,g){const E=S.length;(!y||y<0)&&(y=0),(!g||g<0||g>E)&&(g=E);let x="";for(let P=y;P<g;++P)x+=et[S[P]];return x}function ee(S,y,g){const E=S.slice(y,g);let x="";for(let P=0;P<E.length-1;P+=2)x+=String.fromCharCode(E[P]+E[P+1]*256);return x}i.prototype.slice=function(y,g){const E=this.length;y=~~y,g=g===void 0?E:~~g,y<0?(y+=E,y<0&&(y=0)):y>E&&(y=E),g<0?(g+=E,g<0&&(g=0)):g>E&&(g=E),g<y&&(g=y);const x=this.subarray(y,g);return Object.setPrototypeOf(x,i.prototype),x};function ne(S,y,g){if(S%1!==0||S<0)throw new RangeError("offset is not uint");if(S+y>g)throw new RangeError("Trying to access beyond buffer length")}i.prototype.readUintLE=i.prototype.readUIntLE=function(y,g,E){y=y>>>0,g=g>>>0,E||ne(y,g,this.length);let x=this[y],P=1,q=0;for(;++q<g&&(P*=256);)x+=this[y+q]*P;return x},i.prototype.readUintBE=i.prototype.readUIntBE=function(y,g,E){y=y>>>0,g=g>>>0,E||ne(y,g,this.length);let x=this[y+--g],P=1;for(;g>0&&(P*=256);)x+=this[y+--g]*P;return x},i.prototype.readUint8=i.prototype.readUInt8=function(y,g){return y=y>>>0,g||ne(y,1,this.length),this[y]},i.prototype.readUint16LE=i.prototype.readUInt16LE=function(y,g){return y=y>>>0,g||ne(y,2,this.length),this[y]|this[y+1]<<8},i.prototype.readUint16BE=i.prototype.readUInt16BE=function(y,g){return y=y>>>0,g||ne(y,2,this.length),this[y]<<8|this[y+1]},i.prototype.readUint32LE=i.prototype.readUInt32LE=function(y,g){return y=y>>>0,g||ne(y,4,this.length),(this[y]|this[y+1]<<8|this[y+2]<<16)+this[y+3]*16777216},i.prototype.readUint32BE=i.prototype.readUInt32BE=function(y,g){return y=y>>>0,g||ne(y,4,this.length),this[y]*16777216+(this[y+1]<<16|this[y+2]<<8|this[y+3])},i.prototype.readBigUInt64LE=Ze(function(y){y=y>>>0,je(y,"offset");const g=this[y],E=this[y+7];(g===void 0||E===void 0)&&Ae(y,this.length-8);const x=g+this[++y]*2**8+this[++y]*2**16+this[++y]*2**24,P=this[++y]+this[++y]*2**8+this[++y]*2**16+E*2**24;return BigInt(x)+(BigInt(P)<<BigInt(32))}),i.prototype.readBigUInt64BE=Ze(function(y){y=y>>>0,je(y,"offset");const g=this[y],E=this[y+7];(g===void 0||E===void 0)&&Ae(y,this.length-8);const x=g*2**24+this[++y]*2**16+this[++y]*2**8+this[++y],P=this[++y]*2**24+this[++y]*2**16+this[++y]*2**8+E;return(BigInt(x)<<BigInt(32))+BigInt(P)}),i.prototype.readIntLE=function(y,g,E){y=y>>>0,g=g>>>0,E||ne(y,g,this.length);let x=this[y],P=1,q=0;for(;++q<g&&(P*=256);)x+=this[y+q]*P;return P*=128,x>=P&&(x-=Math.pow(2,8*g)),x},i.prototype.readIntBE=function(y,g,E){y=y>>>0,g=g>>>0,E||ne(y,g,this.length);let x=g,P=1,q=this[y+--x];for(;x>0&&(P*=256);)q+=this[y+--x]*P;return P*=128,q>=P&&(q-=Math.pow(2,8*g)),q},i.prototype.readInt8=function(y,g){return y=y>>>0,g||ne(y,1,this.length),this[y]&128?(255-this[y]+1)*-1:this[y]},i.prototype.readInt16LE=function(y,g){y=y>>>0,g||ne(y,2,this.length);const E=this[y]|this[y+1]<<8;return E&32768?E|4294901760:E},i.prototype.readInt16BE=function(y,g){y=y>>>0,g||ne(y,2,this.length);const E=this[y+1]|this[y]<<8;return E&32768?E|4294901760:E},i.prototype.readInt32LE=function(y,g){return y=y>>>0,g||ne(y,4,this.length),this[y]|this[y+1]<<8|this[y+2]<<16|this[y+3]<<24},i.prototype.readInt32BE=function(y,g){return y=y>>>0,g||ne(y,4,this.length),this[y]<<24|this[y+1]<<16|this[y+2]<<8|this[y+3]},i.prototype.readBigInt64LE=Ze(function(y){y=y>>>0,je(y,"offset");const g=this[y],E=this[y+7];(g===void 0||E===void 0)&&Ae(y,this.length-8);const x=this[y+4]+this[y+5]*2**8+this[y+6]*2**16+(E<<24);return(BigInt(x)<<BigInt(32))+BigInt(g+this[++y]*2**8+this[++y]*2**16+this[++y]*2**24)}),i.prototype.readBigInt64BE=Ze(function(y){y=y>>>0,je(y,"offset");const g=this[y],E=this[y+7];(g===void 0||E===void 0)&&Ae(y,this.length-8);const x=(g<<24)+this[++y]*2**16+this[++y]*2**8+this[++y];return(BigInt(x)<<BigInt(32))+BigInt(this[++y]*2**24+this[++y]*2**16+this[++y]*2**8+E)}),i.prototype.readFloatLE=function(y,g){return y=y>>>0,g||ne(y,4,this.length),r.read(this,y,!0,23,4)},i.prototype.readFloatBE=function(y,g){return y=y>>>0,g||ne(y,4,this.length),r.read(this,y,!1,23,4)},i.prototype.readDoubleLE=function(y,g){return y=y>>>0,g||ne(y,8,this.length),r.read(this,y,!0,52,8)},i.prototype.readDoubleBE=function(y,g){return y=y>>>0,g||ne(y,8,this.length),r.read(this,y,!1,52,8)};function me(S,y,g,E,x,P){if(!i.isBuffer(S))throw new TypeError('"buffer" argument must be a Buffer instance');if(y>x||y<P)throw new RangeError('"value" argument is out of bounds');if(g+E>S.length)throw new RangeError("Index out of range")}i.prototype.writeUintLE=i.prototype.writeUIntLE=function(y,g,E,x){if(y=+y,g=g>>>0,E=E>>>0,!x){const oe=Math.pow(2,8*E)-1;me(this,y,g,E,oe,0)}let P=1,q=0;for(this[g]=y&255;++q<E&&(P*=256);)this[g+q]=y/P&255;return g+E},i.prototype.writeUintBE=i.prototype.writeUIntBE=function(y,g,E,x){if(y=+y,g=g>>>0,E=E>>>0,!x){const oe=Math.pow(2,8*E)-1;me(this,y,g,E,oe,0)}let P=E-1,q=1;for(this[g+P]=y&255;--P>=0&&(q*=256);)this[g+P]=y/q&255;return g+E},i.prototype.writeUint8=i.prototype.writeUInt8=function(y,g,E){return y=+y,g=g>>>0,E||me(this,y,g,1,255,0),this[g]=y&255,g+1},i.prototype.writeUint16LE=i.prototype.writeUInt16LE=function(y,g,E){return y=+y,g=g>>>0,E||me(this,y,g,2,65535,0),this[g]=y&255,this[g+1]=y>>>8,g+2},i.prototype.writeUint16BE=i.prototype.writeUInt16BE=function(y,g,E){return y=+y,g=g>>>0,E||me(this,y,g,2,65535,0),this[g]=y>>>8,this[g+1]=y&255,g+2},i.prototype.writeUint32LE=i.prototype.writeUInt32LE=function(y,g,E){return y=+y,g=g>>>0,E||me(this,y,g,4,4294967295,0),this[g+3]=y>>>24,this[g+2]=y>>>16,this[g+1]=y>>>8,this[g]=y&255,g+4},i.prototype.writeUint32BE=i.prototype.writeUInt32BE=function(y,g,E){return y=+y,g=g>>>0,E||me(this,y,g,4,4294967295,0),this[g]=y>>>24,this[g+1]=y>>>16,this[g+2]=y>>>8,this[g+3]=y&255,g+4};function ge(S,y,g,E,x){se(y,E,x,S,g,7);let P=Number(y&BigInt(4294967295));S[g++]=P,P=P>>8,S[g++]=P,P=P>>8,S[g++]=P,P=P>>8,S[g++]=P;let q=Number(y>>BigInt(32)&BigInt(4294967295));return S[g++]=q,q=q>>8,S[g++]=q,q=q>>8,S[g++]=q,q=q>>8,S[g++]=q,g}function Ge(S,y,g,E,x){se(y,E,x,S,g,7);let P=Number(y&BigInt(4294967295));S[g+7]=P,P=P>>8,S[g+6]=P,P=P>>8,S[g+5]=P,P=P>>8,S[g+4]=P;let q=Number(y>>BigInt(32)&BigInt(4294967295));return S[g+3]=q,q=q>>8,S[g+2]=q,q=q>>8,S[g+1]=q,q=q>>8,S[g]=q,g+8}i.prototype.writeBigUInt64LE=Ze(function(y,g=0){return ge(this,y,g,BigInt(0),BigInt("0xffffffffffffffff"))}),i.prototype.writeBigUInt64BE=Ze(function(y,g=0){return Ge(this,y,g,BigInt(0),BigInt("0xffffffffffffffff"))}),i.prototype.writeIntLE=function(y,g,E,x){if(y=+y,g=g>>>0,!x){const he=Math.pow(2,8*E-1);me(this,y,g,E,he-1,-he)}let P=0,q=1,oe=0;for(this[g]=y&255;++P<E&&(q*=256);)y<0&&oe===0&&this[g+P-1]!==0&&(oe=1),this[g+P]=(y/q>>0)-oe&255;return g+E},i.prototype.writeIntBE=function(y,g,E,x){if(y=+y,g=g>>>0,!x){const he=Math.pow(2,8*E-1);me(this,y,g,E,he-1,-he)}let P=E-1,q=1,oe=0;for(this[g+P]=y&255;--P>=0&&(q*=256);)y<0&&oe===0&&this[g+P+1]!==0&&(oe=1),this[g+P]=(y/q>>0)-oe&255;return g+E},i.prototype.writeInt8=function(y,g,E){return y=+y,g=g>>>0,E||me(this,y,g,1,127,-128),y<0&&(y=255+y+1),this[g]=y&255,g+1},i.prototype.writeInt16LE=function(y,g,E){return y=+y,g=g>>>0,E||me(this,y,g,2,32767,-32768),this[g]=y&255,this[g+1]=y>>>8,g+2},i.prototype.writeInt16BE=function(y,g,E){return y=+y,g=g>>>0,E||me(this,y,g,2,32767,-32768),this[g]=y>>>8,this[g+1]=y&255,g+2},i.prototype.writeInt32LE=function(y,g,E){return y=+y,g=g>>>0,E||me(this,y,g,4,2147483647,-2147483648),this[g]=y&255,this[g+1]=y>>>8,this[g+2]=y>>>16,this[g+3]=y>>>24,g+4},i.prototype.writeInt32BE=function(y,g,E){return y=+y,g=g>>>0,E||me(this,y,g,4,2147483647,-2147483648),y<0&&(y=4294967295+y+1),this[g]=y>>>24,this[g+1]=y>>>16,this[g+2]=y>>>8,this[g+3]=y&255,g+4},i.prototype.writeBigInt64LE=Ze(function(y,g=0){return ge(this,y,g,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))}),i.prototype.writeBigInt64BE=Ze(function(y,g=0){return Ge(this,y,g,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))});function ie(S,y,g,E,x,P){if(g+E>S.length)throw new RangeError("Index out of range");if(g<0)throw new RangeError("Index out of range")}function le(S,y,g,E,x){return y=+y,g=g>>>0,x||ie(S,y,g,4),r.write(S,y,g,E,23,4),g+4}i.prototype.writeFloatLE=function(y,g,E){return le(this,y,g,!0,E)},i.prototype.writeFloatBE=function(y,g,E){return le(this,y,g,!1,E)};function xe(S,y,g,E,x){return y=+y,g=g>>>0,x||ie(S,y,g,8),r.write(S,y,g,E,52,8),g+8}i.prototype.writeDoubleLE=function(y,g,E){return xe(this,y,g,!0,E)},i.prototype.writeDoubleBE=function(y,g,E){return xe(this,y,g,!1,E)},i.prototype.copy=function(y,g,E,x){if(!i.isBuffer(y))throw new TypeError("argument should be a Buffer");if(E||(E=0),!x&&x!==0&&(x=this.length),g>=y.length&&(g=y.length),g||(g=0),x>0&&x<E&&(x=E),x===E||y.length===0||this.length===0)return 0;if(g<0)throw new RangeError("targetStart out of bounds");if(E<0||E>=this.length)throw new RangeError("Index out of range");if(x<0)throw new RangeError("sourceEnd out of bounds");x>this.length&&(x=this.length),y.length-g<x-E&&(x=y.length-g+E);const P=x-E;return this===y&&typeof Uint8Array.prototype.copyWithin=="function"?this.copyWithin(g,E,x):Uint8Array.prototype.set.call(y,this.subarray(E,x),g),P},i.prototype.fill=function(y,g,E,x){if(typeof y=="string"){if(typeof g=="string"?(x=g,g=0,E=this.length):typeof E=="string"&&(x=E,E=this.length),x!==void 0&&typeof x!="string")throw new TypeError("encoding must be a string");if(typeof x=="string"&&!i.isEncoding(x))throw new TypeError("Unknown encoding: "+x);if(y.length===1){const q=y.charCodeAt(0);(x==="utf8"&&q<128||x==="latin1")&&(y=q)}}else typeof y=="number"?y=y&255:typeof y=="boolean"&&(y=Number(y));if(g<0||this.length<g||this.length<E)throw new RangeError("Out of range index");if(E<=g)return this;g=g>>>0,E=E===void 0?this.length:E>>>0,y||(y=0);let P;if(typeof y=="number")for(P=g;P<E;++P)this[P]=y;else{const q=i.isBuffer(y)?y:i.from(y,x),oe=q.length;if(oe===0)throw new TypeError('The value "'+y+'" is invalid for argument "value"');for(P=0;P<E-g;++P)this[P+g]=q[P%oe]}return this};const Be={};function at(S,y,g){Be[S]=class extends g{constructor(){super(),Object.defineProperty(this,"message",{value:y.apply(this,arguments),writable:!0,configurable:!0}),this.name=`${this.name} [${S}]`,this.stack,delete this.name}get code(){return S}set code(x){Object.defineProperty(this,"code",{configurable:!0,enumerable:!0,value:x,writable:!0})}toString(){return`${this.name} [${S}]: ${this.message}`}}}at("ERR_BUFFER_OUT_OF_BOUNDS",function(S){return S?`${S} is outside of buffer bounds`:"Attempt to access memory outside buffer bounds"},RangeError),at("ERR_INVALID_ARG_TYPE",function(S,y){return`The "${S}" argument must be of type number. Received type ${typeof y}`},TypeError),at("ERR_OUT_OF_RANGE",function(S,y,g){let E=`The value of "${S}" is out of range.`,x=g;return Number.isInteger(g)&&Math.abs(g)>2**32?x=ct(String(g)):typeof g=="bigint"&&(x=String(g),(g>BigInt(2)**BigInt(32)||g<-(BigInt(2)**BigInt(32)))&&(x=ct(x)),x+="n"),E+=` It must be ${y}. Received ${x}`,E},RangeError);function ct(S){let y="",g=S.length;const E=S[0]==="-"?1:0;for(;g>=E+4;g-=3)y=`_${S.slice(g-3,g)}${y}`;return`${S.slice(0,g)}${y}`}function ce(S,y,g){je(y,"offset"),(S[y]===void 0||S[y+g]===void 0)&&Ae(y,S.length-(g+1))}function se(S,y,g,E,x,P){if(S>g||S<y){const q=typeof y=="bigint"?"n":"";let oe;throw P>3?y===0||y===BigInt(0)?oe=`>= 0${q} and < 2${q} ** ${(P+1)*8}${q}`:oe=`>= -(2${q} ** ${(P+1)*8-1}${q}) and < 2 ** ${(P+1)*8-1}${q}`:oe=`>= ${y}${q} and <= ${g}${q}`,new Be.ERR_OUT_OF_RANGE("value",oe,S)}ce(E,x,P)}function je(S,y){if(typeof S!="number")throw new Be.ERR_INVALID_ARG_TYPE(y,"number",S)}function Ae(S,y,g){throw Math.floor(S)!==S?(je(S,g),new Be.ERR_OUT_OF_RANGE(g||"offset","an integer",S)):y<0?new Be.ERR_BUFFER_OUT_OF_BOUNDS:new Be.ERR_OUT_OF_RANGE(g||"offset",`>= ${g?1:0} and <= ${y}`,S)}const ft=/[^+/0-9A-Za-z-_]/g;function ot(S){if(S=S.split("=")[0],S=S.trim().replace(ft,""),S.length<2)return"";for(;S.length%4!==0;)S=S+"=";return S}function dt(S,y){y=y||1/0;let g;const E=S.length;let x=null;const P=[];for(let q=0;q<E;++q){if(g=S.charCodeAt(q),g>55295&&g<57344){if(!x){if(g>56319){(y-=3)>-1&&P.push(239,191,189);continue}else if(q+1===E){(y-=3)>-1&&P.push(239,191,189);continue}x=g;continue}if(g<56320){(y-=3)>-1&&P.push(239,191,189),x=g;continue}g=(x-55296<<10|g-56320)+65536}else x&&(y-=3)>-1&&P.push(239,191,189);if(x=null,g<128){if((y-=1)<0)break;P.push(g)}else if(g<2048){if((y-=2)<0)break;P.push(g>>6|192,g&63|128)}else if(g<65536){if((y-=3)<0)break;P.push(g>>12|224,g>>6&63|128,g&63|128)}else if(g<1114112){if((y-=4)<0)break;P.push(g>>18|240,g>>12&63|128,g>>6&63|128,g&63|128)}else throw new Error("Invalid code point")}return P}function Xe(S){const y=[];for(let g=0;g<S.length;++g)y.push(S.charCodeAt(g)&255);return y}function At(S,y){let g,E,x;const P=[];for(let q=0;q<S.length&&!((y-=2)<0);++q)g=S.charCodeAt(q),E=g>>8,x=g%256,P.push(x),P.push(E);return P}function St(S){return t.toByteArray(ot(S))}function _t(S,y,g,E){let x;for(x=0;x<E&&!(x+g>=y.length||x>=S.length);++x)y[x+g]=S[x];return x}function ze(S,y){return S instanceof y||S!=null&&S.constructor!=null&&S.constructor.name!=null&&S.constructor.name===y.name}function Rt(S){return S!==S}const et=function(){const S="0123456789abcdef",y=new Array(256);for(let g=0;g<16;++g){const E=g*16;for(let x=0;x<16;++x)y[E+x]=S[g]+S[x]}return y}();function Ze(S){return typeof BigInt>"u"?Dt:S}function Dt(){throw new Error("BigInt not supported")}}(Zf)),Zf}(function(e,t){(function(r,n){e.exports=n(PP(),UP(),VP(),CE(),ZP,vA(),EA())})(be,function(r,n,a,o,s,i,l){return function(){var u={809:function(f){f.exports=r},30:function(f){f.exports=n},36:function(f){f.exports=a},300:function(f){f.exports=o},408:function(f){f.exports=l},25:function(f){f.exports=s},130:function(f){f.exports=i}},c={};function p(f){var h=c[f];if(h!==void 0)return h.exports;var m=c[f]={exports:{}};return u[f](m,m.exports,p),m.exports}p.n=function(f){var h=f&&f.__esModule?function(){return f.default}:function(){return f};return p.d(h,{a:h}),h},p.d=function(f,h){for(var m in h)p.o(h,m)&&!p.o(f,m)&&Object.defineProperty(f,m,{enumerable:!0,get:h[m]})},p.o=function(f,h){return Object.prototype.hasOwnProperty.call(f,h)},p.r=function(f){typeof Symbol<"u"&&Symbol.toStringTag&&Object.defineProperty(f,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(f,"__esModule",{value:!0})};var d={};return function(){p.r(d),p.d(d,{assets:function(){return k},auth:function(){return ne},buildAnswer:function(){return iR},buildCarouselCard:function(){return oR},buildQuestion:function(){return ai},carouselCards:function(){return ti},contentInteraction:function(){return Ze},decodeBase64:function(){return lR},default:function(){return uR},editorialPages:function(){return fe},features:function(){return g},getEntries:function(){return f.getEntries},getEntry:function(){return f.getEntry},management:function(){return Oa},payments:function(){return Dn},people:function(){return Ar},peopleEngagement:function(){return Kn},qaQuestions:function(){return Ua},reportError:function(){return h.reportError},search:function(){return Ic}});var f=p(809),h=p(30),m=p(36),_={APOLITICAL:{WEBSITES:{LIVE:"https://apolitical.co",LOCALHOST:"localhost",STAGING:/https:\/\/([\w|\d|-]+)\.apolitical\.co/i,STAGING_SPLITTER:"-"},ENVIRONMENTS:{PRODUCTION:"live",LOCAL:"local"}},APIS:{ASSETS_API:{BASE_URL:"/api/assets-api",ENDPOINTS:{USERS:"/users",CERTIFICATES:"/certificates"}},AUTH_API:{BASE_URL:"/api/auth-api",ENDPOINTS:{USER_PASSWORD:"/password",USERS:"/users"}},CONTENT_INTERACTION_API:{BASE_URL:"/api/content-interaction-api",ENDPOINTS:{QUESTIONS:"/questions",ANSWERS:"/answers",REPLIES:"/replies",LIKES:"/likes"}},FEATURES_API:{BASE_URL:"/api/features-api",ENDPOINTS:{FLAGS:"/features"}},MANAGEMENT_API:{BASE_URL:"/api/management-api",ENDPOINTS:{ACCOUNTS:"/accounts",EVENT_REGISTRATIONS:"/event-registrations",LOGINS:"/logins",LOGIN_PASSWORDLESS:"/passwordless",BULK_ENROLMENTS:"/bulk-enrolments"}},PAYMENTS_API:{BASE_URL:"/api/payments-api",BASE_URL_V2:"/api/payments-api/v2",ENDPOINTS:{PRODUCTS:"/products"}},PEOPLE_API:{BASE_URL:"/api/people-api",BASE_URL_V2:"/api/people-api/v2",ENDPOINTS:{BULK_ENROLMENTS:"/bulk-enrolments",REGISTRATIONS:"/registrations",USERS:"/users",USER_ANSWERS:"/answers",USER_COURSES:"/courses",USER_EVENTS:"/events",USER_LIKES:"/likes",USER_LESSONS:"/lessons",USER_PRODUCTS:"/products",USER_RATINGS:"/ratings",USER_SUBSCRIPTIONS:"/subscriptions"}},PEOPLE_ENGAGEMENT_API:{BASE_URL:"/api/people-engagement-api",ENDPOINTS:{ENQUIRY_EMAILS:"/enquiry-emails",USERS:"/users",USER_PROPERTIES:"/properties"}},SEARCH_API:{BASE_URL:"/api/search-api",ENDPOINTS:{SEARCH:"/search"}}},CONTENTFUL:{ARTICLES:{TYPE:"solutionArticle"},CAROUSELS:{CARD_TYPES:{solutionArticle:{INCLUDE:1,SELECT:"fields.authorIds,fields.authorTag,fields.image,fields.publishedDate,fields.readingTime,fields.slug,fields.title"},microcourse:{INCLUDE:2,SELECT:"fields.banner,fields.freeCourse,fields.partnershipDetails,fields.slug,fields.title"},event:{INCLUDE:1,SELECT:"fields.bannerImage,fields.defaultStartDate,fields.slug,fields.speakers,fields.title,fields.isEventOngoing"},listPage:{INCLUDE:1,SELECT:"fields.hero,fields.slug,fields.title"},qaQuestion:{INCLUDE:0,SELECT:"fields.answers,fields.authorId,fields.slug,fields.title,sys.createdAt,fields.projectNames"},learningHub:{INCLUDE:1,SELECT:"fields.bannerSection,fields.customLabel,fields.slug,fields.title"}}},COURSES:{TYPE:"microcourse"},EDITORIAL_PAGES:{INCLUDE:1,SELECT:"fields.carousels,fields.slug",TYPE:"editorialPage"},EVENTS:{TYPE:"event"},LISTS:{TYPE:"listPage"},QUESTIONS:{TYPE:"qaQuestion",INCLUDE:1,LIMIT:10,ORDER:"-sys.createdAt",SELECT:"sys.createdAt,sys.updatedAt,fields.title,fields.slug,fields.authorId,fields.answers,fields.isEdited,fields.projectNames",SKIP:0},ANSWERS:{TYPE:"qaAnswer"},REPLIES:{TYPE:"reply"},LEARNING_HUB:{TYPE:"learningHub"}},HUBSPOT:{ENVIRONMENTS_MAPPING:{local:"SANDBOX",beta:"SANDBOX",rc:"SANDBOX",live:"LIVE"},EMAIL_IDS:{SANDBOX:{internalEmailId:49099078634,externalEmailId:55196526554},LIVE:{internalEmailId:55233583049,externalEmailId:55231159239}}},USERS:{MYSELF:"me"}};const{APOLITICAL:{WEBSITES:{LIVE:b,LOCALHOST:v,STAGING:w,STAGING_SPLITTER:R},ENVIRONMENTS:{PRODUCTION:T,LOCAL:C}}}=_,{HUBSPOT:{ENVIRONMENTS_MAPPING:N,EMAIL_IDS:I}}=_;let j={emailIds:{}};var z=p(300),Y=p.n(z);const U=async $=>{try{const{message:B,response:L,request:H}=$;let ae=B;return L?ae+=` - The request was made and the server responded with ${JSON.stringify({status:L.status,data:L.data})}`:H&&(ae+=" - The request was made but no response was received"),console.warn(ae),await(0,h.reportError)(new Error(ae)),ae}catch(B){return console.warn(`Cannot handle error: ${B.message}`),B.message}},{APIS:{ASSETS_API:{BASE_URL:D,ENDPOINTS:{USERS:Q,CERTIFICATES:J}}}}=_;var k={certificates:{create:async($,B)=>{let L=[];try{const{data:H}=await Y().post(`${D}${Q}/${$}${J}`,B);H&&(L=H)}catch(H){await U(H)}return L}}};const{APIS:{AUTH_API:{BASE_URL:G,ENDPOINTS:{USER_PASSWORD:Z,USERS:ve}}},USERS:{MYSELF:ee}}=_;var ne={userPassword:{update:async $=>{let B=null;try{B=await Y().put(`${G}${ve}/${ee}${Z}`,$)}catch(L){B={message:(((L||{}).response||{}).data||{}).message},await U(L)}return B}}};const{APIS:{CONTENT_INTERACTION_API:{BASE_URL:me,ENDPOINTS:{ANSWERS:ge,QUESTIONS:Ge,LIKES:ie}}}}=_,le=`${me}${Ge}`;var xe={create:async({questionSlug:$},B)=>{try{await Y().post(`${le}/${encodeURIComponent($)}${ge}`,B)}catch(L){const H=await U(L);throw new Error(H)}},remove:async({questionSlug:$,answerSlug:B})=>{try{await Y().delete(`${le}/${encodeURIComponent($)}${ge}/${encodeURIComponent(B)}`)}catch(L){const H=await U(L);throw new Error(H)}},update:async({questionSlug:$,answerSlug:B},L)=>{try{return await Y().put(`${le}/${encodeURIComponent($)}${ge}/${encodeURIComponent(B)}`,L)}catch(H){const ae=await U(H);throw new Error(ae)}},like:async({questionSlug:$,answerSlug:B},L)=>{try{return await Y().post(`${le}/${encodeURIComponent($)}${ge}/${encodeURIComponent(B)}${ie}`,L)}catch(H){const ae=await U(H);throw new Error(ae)}},unlike:async({questionSlug:$,answerSlug:B})=>{try{return await Y().delete(`${le}/${encodeURIComponent($)}${ge}/${encodeURIComponent(B)}${ie}`)}catch(L){const H=await U(L);throw new Error(H)}}};const{APIS:{CONTENT_INTERACTION_API:{BASE_URL:Be,ENDPOINTS:{QUESTIONS:at}}}}=_,ct=`${Be}${at}`;var ce={create:async $=>{try{return await Y().post(ct,$)}catch(B){const L=await U(B);throw new Error(L)}},remove:async({questionSlug:$})=>{try{await Y().delete(`${ct}/${encodeURIComponent($)}`)}catch(B){const L=await U(B);throw new Error(L)}},update:async({questionSlug:$},B)=>{try{return await Y().put(`${ct}/${encodeURIComponent($)}`,B)}catch(L){const H=await U(L);throw new Error(H)}}};const{APIS:{CONTENT_INTERACTION_API:{BASE_URL:se,ENDPOINTS:{REPLIES:je,ANSWERS:Ae,QUESTIONS:ft,LIKES:ot}}}}=_,dt=`${se}${ft}`,Xe=({questionSlug:$,answerSlug:B,replySlug:L},H=!1)=>{let ae=`${dt}/${encodeURIComponent($)}${Ae}/${encodeURIComponent(B)}${je}`;return L&&(ae=`${ae}/${encodeURIComponent(L)}`,H&&(ae=`${ae}${ot}`)),ae};var At={create:async({questionSlug:$,answerSlug:B},L)=>{try{return await Y().post(Xe({questionSlug:$,answerSlug:B}),L)}catch(H){const ae=await U(H);throw new Error(ae)}},update:async({questionSlug:$,answerSlug:B,replySlug:L},H)=>{try{return await Y().put(Xe({questionSlug:$,answerSlug:B,replySlug:L}),H)}catch(ae){const Pe=await U(ae);throw new Error(Pe)}},remove:async({questionSlug:$,answerSlug:B,replySlug:L})=>{try{await Y().delete(Xe({questionSlug:$,answerSlug:B,replySlug:L}))}catch(H){const ae=await U(H);throw new Error(ae)}},like:async({questionSlug:$,answerSlug:B,replySlug:L},H)=>{try{await Y().post(Xe({questionSlug:$,answerSlug:B,replySlug:L},!0),H)}catch(ae){const Pe=await U(ae);throw new Error(Pe)}},unlike:async({questionSlug:$,answerSlug:B,replySlug:L})=>{try{await Y().delete(Xe({questionSlug:$,answerSlug:B,replySlug:L},!0))}catch(H){const ae=await U(H);throw new Error(ae)}},getReplyUrl:Xe};const{APIS:{CONTENT_INTERACTION_API:{BASE_URL:St,ENDPOINTS:{QUESTIONS:_t,ANSWERS:ze,LIKES:Rt}}}}=_,et=`${St}${_t}`;var Ze={answers:xe,questions:ce,replies:At,likes:{create:async($,B)=>{try{return await Y().post(`${et}/${encodeURIComponent($)}${ze}/${encodeURIComponent(B)}${Rt}`)}catch(L){const H=await U(L);throw new Error(H)}},remove:async($,B)=>{try{return await Y().delete(`${et}/${encodeURIComponent($)}${ze}/${encodeURIComponent(B)}${Rt}`)}catch(L){const H=await U(L);throw new Error(H)}}}};const{APIS:{FEATURES_API:{BASE_URL:Dt,ENDPOINTS:{FLAGS:S}}}}=_,y=`${Dt}${S}`;var g={flags:{read:async $=>{let B=null;try{const{data:L}=await Y().get(`${y}/${encodeURIComponent($)}`);L!=null&&L.name&&(L!=null&&L.featureState)&&(B=L)}catch(L){await U(L)}return B}}};const{APIS:{MANAGEMENT_API:{BASE_URL:E,ENDPOINTS:{ACCOUNTS:x}}}}=_;var P={create:async $=>{try{await Y().post(`${E}${x}`,$)}catch(B){throw await U(B),B}},read:async $=>{let B=null;try{({data:B}=await Y().get(`${E}${x}/${encodeURIComponent($)}`))}catch(L){await U(L)}return B},update:async($,B)=>{try{await Y().put(`${E}${x}/${encodeURIComponent($)}`,B)}catch(L){throw await U(L),L}}};const{APIS:{MANAGEMENT_API:{BASE_URL:q,ENDPOINTS:{BULK_ENROLMENTS:oe}}}}=_;var he={create:async $=>{try{await Y().post(`${q}${oe}`,$)}catch(B){throw await U(B),B}}};const{APIS:{MANAGEMENT_API:{BASE_URL:ue,ENDPOINTS:{EVENT_REGISTRATIONS:pe}}}}=_;var Ee={create:async $=>{try{await Y().post(`${ue}${pe}`,$)}catch(B){const L=await U(B);throw new Error(L)}}};const{APIS:{MANAGEMENT_API:{BASE_URL:pt,ENDPOINTS:{LOGINS:ur,LOGIN_PASSWORDLESS:en}}}}=_,It=`${pt}${ur}`;var Oa={accounts:P,bulkEnrolments:he,eventRegistrations:Ee,passwordless:{update:async $=>{try{await Y().put(`${It}/${encodeURIComponent($)}${en}`)}catch(B){throw await U(B),B}}}};const{APIS:{PAYMENTS_API:{BASE_URL_V2:tn,ENDPOINTS:{PRODUCTS:qn}}}}=_,xr=`${tn}${qn}`;var Dn={products:{list:async $=>{let B=[],L=$?{params:$}:{params:{}};try{const{data:H}=await Y().get(xr,L);H&&H.length&&(B=H)}catch(H){await U(H)}return B}}};const{APIS:{PEOPLE_API:{BASE_URL_V2:Fn,ENDPOINTS:{BULK_ENROLMENTS:rn}}}}=_;var Ft={list:async $=>{let B=[];try{const{data:L}=await Y().get(`${Fn}${rn}`,{params:$});L&&L.length&&(B=L)}catch(L){await U(L)}return B}},Un=p(25);const{OK:xa,MULTIPLE_CHOICES:Pa,NOT_FOUND:Aa,FORBIDDEN:jn}=Un.StatusCodes,Ct=$=>$>=xa&&$<Pa||$===jn||$===Aa,{APIS:{PEOPLE_API:{BASE_URL_V2:nn,ENDPOINTS:{USERS:an}}}}=_,cr=async $=>{let B=null;try{const{data:L}=await Y().get(`${nn}${an}/${encodeURIComponent($)}`,{validateStatus:Ct});L&&L.id&&(B=L)}catch(L){await U(L)}return B},on=async $=>{let B=[];try{if($&&$.length<2)throw new Error("users list method requires at least two ids");const L=$.map(ae=>`ids=${encodeURIComponent(ae)}`).join("&"),H=await Y().get(`${nn}${an}?${L}`,{validateStatus:Ct});H&&H.length&&(B=H)}catch(L){await U(L)}return B};var Ia={read:cr,update:async($,B)=>{let L=!1;try{const{data:H}=await Y().put(`${nn}${an}/${encodeURIComponent($)}`,B);L=!(!H||!H.id)}catch(H){await U(H)}return L},list:on};const{APIS:{PEOPLE_API:{BASE_URL_V2:Ut,ENDPOINTS:{USERS:Na,USER_LIKES:Ma}}},USERS:{MYSELF:ka}}=_,$a=`${Ut}${Na}/${ka}${Ma}`,sn=async $=>{let B=[],L=$?{params:$}:{params:{}};try{const{data:H}=await Y().get($a,L);H&&H.length&&(B=H)}catch(H){await U(H)}return B};var jt={list:sn},La={authors:{readQuestionAuthors:async($,B,L)=>{try{if($.author=await cr($.authorId),$.answers&&$.answers.length&&!L.ignoreAnswersAuthors){$.answers.sort((ae,Pe)=>new Date(Pe.updatedAt)-new Date(ae.updatedAt)),$.totalAnswers=$.answers.length;let H=$.answers;if(L.limit&&L.pageNumber){const ae=L.limit*(L.pageNumber-1);H=$.answers.slice(ae,ae+L.limit)}for(let ae of H){ae.author=ae.authorId&&await cr(ae.authorId)||{};const[Pe]=B?await sn({contentType:_.CONTENTFUL.ANSWERS.TYPE,contentSlug:ae.slug}):[null];ae.userLiked=!!Pe}$.answers=H}else $.answers||($.answers=[]);return $}catch(H){throw await U(H),new Error(`Cannot read authors for question: ${H.message}`)}},readAuthors:async($=[])=>{let B=[];try{if(Array.isArray($)===!1)throw new Error("authorIds is not an array!");if($&&$.length===1){const L=await cr($[0]);L&&B.push(L)}else if($&&$.length>1){const L=await on($);L&&L.length>0&&(B=L)}}catch(L){throw await U(L),new Error(`Cannot read authors: ${L.message}`)}return B}}};const{APIS:{PEOPLE_API:{BASE_URL:Ba,ENDPOINTS:{REGISTRATIONS:qa}}}}=_;var Da={list:async $=>{let B=[];try{const{data:L}=await Y().get(`${Ba}${qa}`,{params:$});L&&L.length&&(B=L)}catch(L){await U(L)}return B}};const{APIS:{PEOPLE_API:{BASE_URL_V2:A,ENDPOINTS:{USERS:V,USER_COURSES:W}}},USERS:{MYSELF:X}}=_,ye=`${A}${V}/${X}${W}`;var _e={create:async $=>{try{await Y().post(ye,$)}catch(B){await U(B)}},list:async $=>{let B=[],L=$?{params:$}:{params:{}};try{const{data:H}=await Y().get(ye,L);H&&H.length&&(B=H)}catch(H){await U(H)}return B},update:async($,B)=>{try{await Y().put(`${ye}/${$}`,B)}catch(L){await U(L)}}};const{APIS:{PEOPLE_API:{BASE_URL_V2:qe,ENDPOINTS:{USERS:ht,USER_EVENTS:mt}}},USERS:{MYSELF:it}}=_,Qe=`${qe}${ht}/${it}${mt}`;var ln={list:async $=>{let B=[],L=$?{params:$}:{params:{}};try{const{data:H}=await Y().get(Qe,L);H&&H.length&&(B=H)}catch(H){await U(H)}return B}};const{APIS:{PEOPLE_API:{BASE_URL_V2:Pr,ENDPOINTS:{USERS:Fa,USER_LESSONS:Hn}}},USERS:{MYSELF:Gn}}=_,Wn=`${Pr}${Fa}/${Gn}${Hn}`;var Vn={create:async $=>{let B=null;try{B=await Y().post(Wn,$)}catch(L){await U(L)}return B},list:async $=>{let B=[],L=$?{params:$}:{params:{}};try{const{data:H}=await Y().get(Wn,L);H&&H.length&&(B=H)}catch(H){await U(H)}return B}};const{APIS:{PEOPLE_API:{BASE_URL_V2:Nt,ENDPOINTS:{USERS:zn,USER_PRODUCTS:un}}},USERS:{MYSELF:Yn}}=_,fr=`${Nt}${zn}/${Yn}${un}`;var Ht={create:async $=>{let B=null;try{B=await Y().post(fr,$)}catch(L){await U(L)}return B},list:async $=>{let B=[],L=$?{params:$}:{params:{}};try{const{data:H}=await Y().get(fr,L);H&&H.length&&(B=H)}catch(H){await U(H)}return B},update:async($,B)=>{try{await Y().put(`${fr}/${$}`,B)}catch(L){await U(L)}}};const{APIS:{PEOPLE_API:{BASE_URL_V2:dr,ENDPOINTS:{USERS:zo,USER_RATINGS:pr}}},USERS:{MYSELF:Tc}}=_,Yo=`${dr}${zo}/${Tc}${pr}`;var Ar={bulkEnrolments:Ft,handlers:La,registrations:Da,users:Ia,userCourses:_e,userEvents:ln,userLessons:Vn,userLikes:jt,userProducts:Ht,userRatings:{create:async $=>{let B=null;try{const{data:L}=await Y().post(Yo,$);L!=null&&L.id&&(B=L)}catch(L){await U(L)}return B},update:async($,B)=>{try{await Y().put(`${Yo}/${$}`,B)}catch(L){await U(L)}}}};const{APIS:{PEOPLE_ENGAGEMENT_API:{BASE_URL:Sc,ENDPOINTS:{ENQUIRY_EMAILS:Rc}}}}=_;var Cc={create:async $=>{let B=null;try{const{data:L}=await Y().post(`${Sc}${Rc}`,$);L&&(B=L)}catch(L){await U(L)}return B}},Ko={forms:{sendEnquiryEmails:async $=>{let B=null;try{const{emailIds:L}=j;B=await Kn.emails.create({...L,...$})}catch(L){await U(L)}return B}}};const{APIS:{PEOPLE_ENGAGEMENT_API:{BASE_URL:hr,ENDPOINTS:{USERS:Oc,USER_PROPERTIES:Xo}}},USERS:{MYSELF:xc}}=_;var Kn={emails:Cc,handlers:Ko,userProperties:{update:async($,B)=>{try{await Y().put(`${hr}${Oc}/${xc}${Xo}/${$}`,B)}catch(L){await U(L)}}}},Qo=p(130);const{APIS:{SEARCH_API:{BASE_URL:Pc,ENDPOINTS:{SEARCH:Ac}}}}=_,Jo=`${Pc}${Ac}`;var Ic={ask:async $=>{try{let B=null;const{data:L}=await Y().get(Jo,{params:{question:$}});return L!=null&&L.answer&&(L!=null&&L.references)&&(L!=null&&L.version)&&(B=L),B}catch(B){const L=await U(B);throw new Error(L)}},stream:($,B,L)=>{const H=(0,Qo.io)(void 0,{path:"/api/search-api/web-sockets"});function ae(){H.emit("search",{question:$})}function Pe(Ve){L(Ve),Fe(),H.disconnect()}function Fe(){H.off("connect",ae),H.off("update",B),H.off("result",Pe)}return H.on("connect",ae),H.on("update",B),H.on("result",Pe),Fe}};const{CONTENTFUL:Xn}=_,{CARD_TYPES:Zo}=Xn.CAROUSELS;var ti={read:async($,B)=>{try{if(!B||!B.sys||!B.sys.id)throw new Error("Invalid link to card");if(!$||!Zo[$])throw new Error("Unsupported card content type");const{INCLUDE:L,SELECT:H}=Zo[$];return await(0,f.getEntry)({content_type:$,"sys.id":B.sys.id,include:L,select:H},{assetDetails:!0})}catch(L){throw await U(L),new Error(`Cannot read carousel card: ${L.message}`)}}};const{CONTENTFUL:Nc}=_,{INCLUDE:O,SELECT:F,TYPE:K}=Nc.EDITORIAL_PAGES;var fe={read:async $=>{try{return await(0,f.getEntry)({content_type:K,"fields.slug":$,include:O,select:F})}catch(B){throw await U(B),new Error(`Cannot read editorial page: ${B.message}`)}}};const{CONTENTFUL:Je}=_,{TYPE:tt,ORDER:Ot,SELECT:st,SKIP:ri,LIMIT:Ir,INCLUDE:ni}=Je.QUESTIONS;var Ua={read:async $=>{try{return await(0,f.getEntry)({content_type:tt,"fields.slug":$,include:2,select:st})}catch(B){throw await U(B),new Error(`Cannot read question: ${B.message}`)}},list:async($={})=>{try{return await(0,f.getEntries)({content_type:tt,include:ni,limit:Ir,order:Ot,select:st,skip:ri,...$})}catch(B){throw await U(B),new Error(`Cannot list questions: ${B.message}`)}}},ai=async($,B,L={ignoreAnswersAuthors:!1})=>{try{let H={};return H=await Ua.read($),H=await Ar.handlers.authors.readQuestionAuthors(H,B,L),H}catch(H){throw await U(H),new Error(`Cannot build question: ${H.message}`)}};const{ARTICLES:{TYPE:ja},COURSES:{TYPE:Qn},EVENTS:{TYPE:tR},LISTS:{TYPE:rR},QUESTIONS:{TYPE:nR},LEARNING_HUB:{TYPE:aR}}=_.CONTENTFUL,Ha=$=>$&&$.url?(Object.assign($,{aspect:"responsiveCard",query:"q=90&fit=fill"}),$):null,Mc={[ja]:async $=>{const{authorIds:B,authorTag:L,image:H,publishedDate:ae,readingTime:Pe,slug:Fe,title:Ve}=$,xt=await Ar.handlers.authors.readAuthors(B),Jt=xt&&xt.length?xt:L?[L]:null;return{banner:Ha(H),contributors:Jt,publishedDate:ae,readingTime:Pe,slug:Fe,title:Ve}},[Qn]:async($,B)=>{const{banner:L,freeCourse:H,partnershipDetails:ae,slug:Pe,title:Fe,registered:Ve}=$,xt={banner:Ha(L),slug:Pe,title:Fe,pill:H?"free":"premium",registered:!!Ve};if(ae){const{partners:Jt}=ae;xt.partner=Jt&&Jt.length&&ae.partners[0]}if(Ve===void 0&&B){const[Jt]=await Ar.userProducts.list({courseSlug:Pe,isEnrolled:!0,scope:"active"});xt.registered=!!Jt}return xt},[tR]:async($,B)=>{const{bannerImage:L,defaultStartDate:H,isEventOngoing:ae,slug:Pe,speakers:Fe,title:Ve,registered:xt}=$,Jt=new Date(H),cR=!!Jt&&Jt<new Date;if(Fe&&Fe.length)for(const oi of Fe)oi.image=(kc=oi.image)&&kc.url?`${kc.url}?w=100&h=100&fit=thumb&f=center`:null;var kc;const cm={banner:Ha(L),dateHasPassed:cR,title:Ve,slug:Pe,isOngoingEvent:ae,contributors:Fe,startDate:Jt,registered:!!xt};if(xt===void 0&&B){const[oi]=await Ar.userEvents.list({eventSlug:Pe});cm.registered=!!oi}return cm},[rR]:async $=>{const{hero:B,slug:L,title:H}=$;return{banner:Ha(B),slug:L,title:H}},[nR]:async $=>{const{answers:B,authorId:L,createdAt:H,slug:ae,title:Pe}=$;let Fe=null;if(L){const Ve=await Ar.users.read(L);Ve&&(Fe=Ve)}return{answers:B&&B.length?B.length:0,contributors:Fe?[Fe]:[],createdAt:H,slug:ae,title:Pe}},[aR]:$=>{const{bannerSection:B,customLabel:L,slug:H,title:ae}=$;return{banner:Ha(B.image),slug:H,title:ae,customLabel:L}},people:$=>{const{id:B,name:L,jobTitle:H,location:ae,image:Pe}=$;return{profile:Pe,slug:B,title:L,text:H,secondaryText:ae}}};var oR=async({contentType:$,...B}={},L)=>{try{if(!Mc[$])throw new Error("Content type not supported");if(typeof Mc[$]!="function")throw new Error("No builder function for content type");return $!=="people"&&B.sys&&B.sys.type&&B.sys.type==="Link"&&(B=await ti.read($,B)),{contentType:$,...await Mc[$](B,L)}}catch(H){throw await U(H),new Error(`Cannot build carousel card: ${H.message}`)}},iR=async($,B,L={})=>{try{if(!$.replies||$.replies.length===0)return $.replies=[],$;$.replies.sort((ae,Pe)=>new Date(ae.createdAt)-new Date(Pe.createdAt)),$.totalReplies=$.totalReplies||$.replies.length;let H=$.replies;if(L.limit&&L.pageNumber){const ae=L.limit*(L.pageNumber-1);H=$.replies.slice(ae,ae+L.limit)}for(const ae of H){if(ae.authorId===$.authorId){ae.author=$.author,ae.userLiked=!1;continue}ae.author=ae.authorId&&await cr(ae.authorId)||{};const[Pe]=B?await sn({contentType:_.CONTENTFUL.REPLIES.TYPE,contentSlug:ae.slug}):[null];ae.userLiked=!!Pe}return $.replies=H,$}catch(H){throw await U(H),new Error(`Cannot build replies for answer: ${H.message}`)}},sR=p(408);const lR=$=>$&&sR.Buffer.from($,"base64").toString("ascii");function uR({contentContext:$=null,errorsContext:B=null,gtmContext:L=null,origin:H}){try{const ae=(Pe=>{let Fe=null;Pe?Fe=Pe:typeof window<"u"&&(Fe=window.origin||window.location.origin),Fe||new Error("Cannot select environment: Website not defined");let Ve=null;const xt=Fe.match(w);return xt?Ve=xt[1].split(R)[0]:Fe===b?Ve=T:Fe.includes(v)&&(Ve=C),Ve||new Error(`Cannot select environment: No rule for website ${Fe}`),Ve})(H);return $&&(0,f.setContext)(Object.assign({},$,{environment:ae})),B&&(0,h.setContext)(Object.assign({},B,{environment:ae})),L&&((0,m.setContext)(Object.assign({},L,{environment:ae})),(0,m.setupGTM)()),(({environment:Pe})=>{const Fe=(Ve=>{if(!Ve)throw new Error("Cannot map environment: Environment not defined");if(!N[Ve])throw new Error(`Cannot map environment: No mapping found for environment ${Ve}`);return N[Ve]})(Pe);j.emailIds=I[Fe]})(Object.assign({},{environment:ae})),ae}catch(ae){console.warn(`Cannot load SDK: ${ae.message}`)}}}(),d}()})})(vE);var _A=vE.exports;const mo={Off:"off",On:"on",Cookie:"cookie"},wA=e=>{const[t]=yE(),[r,n]=re.useState(null),[a,o]=re.useState(!1),[s,i]=re.useState(mo.Off);return re.useEffect(()=>{e&&_A.features.flags.read(e).then(l=>{console.log(l.data),i(l.data.featureState),n(null)}).catch(l=>{i(mo.Off),n(l)})},[e]),re.useEffect(()=>{if(!r)switch(console.log({featureState:s}),s){case mo.Off:console.log("featureStates.Off"),o(!1);break;case mo.On:console.log("featureStates.On"),o(!0);break;case mo.Cookie:console.log("featureStates.Cookie"),console.log(t[`feature-${e}`]),o(!!t[`feature-${e}`]);break;default:console.log("default"),o(!1)}},[s,r,t,e]),console.log({isFeatureActive:a,error:r}),{isFeatureActive:a,error:r}};function TA(e,t,r){var n=this,a=re.useRef(null),o=re.useRef(0),s=re.useRef(null),i=re.useRef([]),l=re.useRef(),u=re.useRef(),c=re.useRef(e),p=re.useRef(!0);re.useEffect(function(){c.current=e},[e]);var d=!t&&t!==0&&typeof window<"u";if(typeof e!="function")throw new TypeError("Expected a function");t=+t||0;var f=!!(r=r||{}).leading,h=!("trailing"in r)||!!r.trailing,m="maxWait"in r,_=m?Math.max(+r.maxWait||0,t):null;re.useEffect(function(){return p.current=!0,function(){p.current=!1}},[]);var b=re.useMemo(function(){var v=function(I){var j=i.current,z=l.current;return i.current=l.current=null,o.current=I,u.current=c.current.apply(z,j)},w=function(I,j){d&&cancelAnimationFrame(s.current),s.current=d?requestAnimationFrame(I):setTimeout(I,j)},R=function(I){if(!p.current)return!1;var j=I-a.current;return!a.current||j>=t||j<0||m&&I-o.current>=_},T=function(I){return s.current=null,h&&i.current?v(I):(i.current=l.current=null,u.current)},C=function I(){var j=Date.now();if(R(j))return T(j);if(p.current){var z=t-(j-a.current),Y=m?Math.min(z,_-(j-o.current)):z;w(I,Y)}},N=function(){var I=Date.now(),j=R(I);if(i.current=[].slice.call(arguments),l.current=n,a.current=I,j){if(!s.current&&p.current)return o.current=a.current,w(C,t),f?v(a.current):u.current;if(m)return w(C,t),v(a.current)}return s.current||w(C,t),u.current};return N.cancel=function(){s.current&&(d?cancelAnimationFrame(s.current):clearTimeout(s.current)),o.current=0,i.current=a.current=l.current=s.current=null},N.isPending=function(){return!!s.current},N.flush=function(){return s.current?T(Date.now()):u.current},N},[f,m,t,_,h,d]);return b}function f0(e,t,r){var n=r===void 0?{}:r,a=n.leading,o=n.trailing;return TA(e,t,{maxWait:t,leading:a===void 0||a,trailing:o===void 0||o})}let ed;const xs=(e=!0,t=!1)=>{if(!e)return;const[r,n]=re.useState(0)||[!1,()=>{}];re.useEffect(()=>(o(),window.addEventListener("resize",s),()=>{clearTimeout(ed),s.flush(),window.removeEventListener("resize",s)}),[]);const a=()=>window.innerWidth,o=()=>{n(a())},s=f0(()=>{a()!==r&&(t&&(clearTimeout(ed),document.body.classList.add("is-resizing"),ed=setTimeout(()=>{document.body.classList.remove("is-resizing")},550)),o())},500,{leading:!0});return r},d0=({scrollPosition:e=0,offset:t={down:0,up:10},callbacks:{scrollDown:r=()=>{},scrollUp:n=()=>{}}})=>{if(!window)return;const[a,o]=re.useState({current:0,past:0})||[!1,()=>{}],[s,i]=re.useState({scrollDown:!1,scrollUp:!1})||[!1,()=>{}];re.useEffect(()=>(l(),window.addEventListener("scroll",u),()=>{u.flush(),window.removeEventListener("scroll",u)}),[]);const l=()=>{const c=window.scrollY,p=a.current,d=c-p,f=d>0?"down":"up";if(o({current:c,past:p}),f==="down"){c>=e+t.down&&!s.scrollDown&&(!s.scrollUp||d>t.up)&&(r(),i({scrollUp:!1,scrollDown:!0}));return}Math.abs(d)>=t.up&&!s.scrollUp&&(n(),i({scrollUp:!0,scrollDown:!1}))},u=f0(()=>{l()},250);return a};var rs={exports:{}};rs.exports;(function(e,t){var r=200,n="__lodash_hash_undefined__",a=9007199254740991,o="[object Arguments]",s="[object Array]",i="[object Boolean]",l="[object Date]",u="[object Error]",c="[object Function]",p="[object GeneratorFunction]",d="[object Map]",f="[object Number]",h="[object Object]",m="[object Promise]",_="[object RegExp]",b="[object Set]",v="[object String]",w="[object Symbol]",R="[object WeakMap]",T="[object ArrayBuffer]",C="[object DataView]",N="[object Float32Array]",I="[object Float64Array]",j="[object Int8Array]",z="[object Int16Array]",Y="[object Int32Array]",U="[object Uint8Array]",D="[object Uint8ClampedArray]",Q="[object Uint16Array]",J="[object Uint32Array]",k=/[\\^$.*+?()[\]{}|]/g,G=/\w*$/,Z=/^\[object .+?Constructor\]$/,ve=/^(?:0|[1-9]\d*)$/,ee={};ee[o]=ee[s]=ee[T]=ee[C]=ee[i]=ee[l]=ee[N]=ee[I]=ee[j]=ee[z]=ee[Y]=ee[d]=ee[f]=ee[h]=ee[_]=ee[b]=ee[v]=ee[w]=ee[U]=ee[D]=ee[Q]=ee[J]=!0,ee[u]=ee[c]=ee[R]=!1;var ne=typeof be=="object"&&be&&be.Object===Object&&be,me=typeof self=="object"&&self&&self.Object===Object&&self,ge=ne||me||Function("return this")(),Ge=t&&!t.nodeType&&t,ie=Ge&&!0&&e&&!e.nodeType&&e,le=ie&&ie.exports===Ge;function xe(O,F){return O.set(F[0],F[1]),O}function Be(O,F){return O.add(F),O}function at(O,F){for(var K=-1,fe=O?O.length:0;++K<fe&&F(O[K],K,O)!==!1;);return O}function ct(O,F){for(var K=-1,fe=F.length,Je=O.length;++K<fe;)O[Je+K]=F[K];return O}function ce(O,F,K,fe){var Je=-1,tt=O?O.length:0;for(fe&&tt&&(K=O[++Je]);++Je<tt;)K=F(K,O[Je],Je,O);return K}function se(O,F){for(var K=-1,fe=Array(O);++K<O;)fe[K]=F(K);return fe}function je(O,F){return O==null?void 0:O[F]}function Ae(O){var F=!1;if(O!=null&&typeof O.toString!="function")try{F=!!(O+"")}catch{}return F}function ft(O){var F=-1,K=Array(O.size);return O.forEach(function(fe,Je){K[++F]=[Je,fe]}),K}function ot(O,F){return function(K){return O(F(K))}}function dt(O){var F=-1,K=Array(O.size);return O.forEach(function(fe){K[++F]=fe}),K}var Xe=Array.prototype,At=Function.prototype,St=Object.prototype,_t=ge["__core-js_shared__"],ze=function(){var O=/[^.]+$/.exec(_t&&_t.keys&&_t.keys.IE_PROTO||"");return O?"Symbol(src)_1."+O:""}(),Rt=At.toString,et=St.hasOwnProperty,Ze=St.toString,Dt=RegExp("^"+Rt.call(et).replace(k,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),S=le?ge.Buffer:void 0,y=ge.Symbol,g=ge.Uint8Array,E=ot(Object.getPrototypeOf,Object),x=Object.create,P=St.propertyIsEnumerable,q=Xe.splice,oe=Object.getOwnPropertySymbols,he=S?S.isBuffer:void 0,ue=ot(Object.keys,Object),pe=dr(ge,"DataView"),Ee=dr(ge,"Map"),pt=dr(ge,"Promise"),ur=dr(ge,"Set"),en=dr(ge,"WeakMap"),It=dr(Object,"create"),Oa=hr(pe),tn=hr(Ee),qn=hr(pt),xr=hr(ur),Dn=hr(en),Fn=y?y.prototype:void 0,rn=Fn?Fn.valueOf:void 0;function Ft(O){var F=-1,K=O?O.length:0;for(this.clear();++F<K;){var fe=O[F];this.set(fe[0],fe[1])}}function Un(){this.__data__=It?It(null):{}}function xa(O){return this.has(O)&&delete this.__data__[O]}function Pa(O){var F=this.__data__;if(It){var K=F[O];return K===n?void 0:K}return et.call(F,O)?F[O]:void 0}function Aa(O){var F=this.__data__;return It?F[O]!==void 0:et.call(F,O)}function jn(O,F){var K=this.__data__;return K[O]=It&&F===void 0?n:F,this}Ft.prototype.clear=Un,Ft.prototype.delete=xa,Ft.prototype.get=Pa,Ft.prototype.has=Aa,Ft.prototype.set=jn;function Ct(O){var F=-1,K=O?O.length:0;for(this.clear();++F<K;){var fe=O[F];this.set(fe[0],fe[1])}}function nn(){this.__data__=[]}function an(O){var F=this.__data__,K=X(F,O);if(K<0)return!1;var fe=F.length-1;return K==fe?F.pop():q.call(F,K,1),!0}function cr(O){var F=this.__data__,K=X(F,O);return K<0?void 0:F[K][1]}function on(O){return X(this.__data__,O)>-1}function Ia(O,F){var K=this.__data__,fe=X(K,O);return fe<0?K.push([O,F]):K[fe][1]=F,this}Ct.prototype.clear=nn,Ct.prototype.delete=an,Ct.prototype.get=cr,Ct.prototype.has=on,Ct.prototype.set=Ia;function Ut(O){var F=-1,K=O?O.length:0;for(this.clear();++F<K;){var fe=O[F];this.set(fe[0],fe[1])}}function Na(){this.__data__={hash:new Ft,map:new(Ee||Ct),string:new Ft}}function Ma(O){return Ht(this,O).delete(O)}function ka(O){return Ht(this,O).get(O)}function $a(O){return Ht(this,O).has(O)}function sn(O,F){return Ht(this,O).set(O,F),this}Ut.prototype.clear=Na,Ut.prototype.delete=Ma,Ut.prototype.get=ka,Ut.prototype.has=$a,Ut.prototype.set=sn;function jt(O){this.__data__=new Ct(O)}function La(){this.__data__=new Ct}function Ba(O){return this.__data__.delete(O)}function qa(O){return this.__data__.get(O)}function Da(O){return this.__data__.has(O)}function A(O,F){var K=this.__data__;if(K instanceof Ct){var fe=K.__data__;if(!Ee||fe.length<r-1)return fe.push([O,F]),this;K=this.__data__=new Ut(fe)}return K.set(O,F),this}jt.prototype.clear=La,jt.prototype.delete=Ba,jt.prototype.get=qa,jt.prototype.has=Da,jt.prototype.set=A;function V(O,F){var K=Kn(O)||xc(O)?se(O.length,String):[],fe=K.length,Je=!!fe;for(var tt in O)(F||et.call(O,tt))&&!(Je&&(tt=="length"||Sc(tt,fe)))&&K.push(tt);return K}function W(O,F,K){var fe=O[F];(!(et.call(O,F)&&Xo(fe,K))||K===void 0&&!(F in O))&&(O[F]=K)}function X(O,F){for(var K=O.length;K--;)if(Xo(O[K][0],F))return K;return-1}function ye(O,F){return O&&un(F,ei(F),O)}function _e(O,F,K,fe,Je,tt,Ot){var st;if(fe&&(st=tt?fe(O,Je,tt,Ot):fe(O)),st!==void 0)return st;if(!Xn(O))return O;var ri=Kn(O);if(ri){if(st=Tc(O),!F)return zn(O,st)}else{var Ir=pr(O),ni=Ir==c||Ir==p;if(Ac(O))return ln(O,F);if(Ir==h||Ir==o||ni&&!tt){if(Ae(O))return tt?O:{};if(st=Yo(ni?{}:O),!F)return Yn(O,ye(st,O))}else{if(!ee[Ir])return tt?O:{};st=Ar(O,Ir,_e,F)}}Ot||(Ot=new jt);var Ua=Ot.get(O);if(Ua)return Ua;if(Ot.set(O,st),!ri)var ai=K?fr(O):ei(O);return at(ai||O,function(ja,Qn){ai&&(Qn=ja,ja=O[Qn]),W(st,Qn,_e(ja,F,K,fe,Qn,O,Ot))}),st}function qe(O){return Xn(O)?x(O):{}}function ht(O,F,K){var fe=F(O);return Kn(O)?fe:ct(fe,K(O))}function mt(O){return Ze.call(O)}function it(O){if(!Xn(O)||Cc(O))return!1;var F=Jo(O)||Ae(O)?Dt:Z;return F.test(hr(O))}function Qe(O){if(!Ko(O))return ue(O);var F=[];for(var K in Object(O))et.call(O,K)&&K!="constructor"&&F.push(K);return F}function ln(O,F){if(F)return O.slice();var K=new O.constructor(O.length);return O.copy(K),K}function Pr(O){var F=new O.constructor(O.byteLength);return new g(F).set(new g(O)),F}function Fa(O,F){var K=F?Pr(O.buffer):O.buffer;return new O.constructor(K,O.byteOffset,O.byteLength)}function Hn(O,F,K){var fe=F?K(ft(O),!0):ft(O);return ce(fe,xe,new O.constructor)}function Gn(O){var F=new O.constructor(O.source,G.exec(O));return F.lastIndex=O.lastIndex,F}function Wn(O,F,K){var fe=F?K(dt(O),!0):dt(O);return ce(fe,Be,new O.constructor)}function Vn(O){return rn?Object(rn.call(O)):{}}function Nt(O,F){var K=F?Pr(O.buffer):O.buffer;return new O.constructor(K,O.byteOffset,O.length)}function zn(O,F){var K=-1,fe=O.length;for(F||(F=Array(fe));++K<fe;)F[K]=O[K];return F}function un(O,F,K,fe){K||(K={});for(var Je=-1,tt=F.length;++Je<tt;){var Ot=F[Je],st=fe?fe(K[Ot],O[Ot],Ot,K,O):void 0;W(K,Ot,st===void 0?O[Ot]:st)}return K}function Yn(O,F){return un(O,zo(O),F)}function fr(O){return ht(O,ei,zo)}function Ht(O,F){var K=O.__data__;return Rc(F)?K[typeof F=="string"?"string":"hash"]:K.map}function dr(O,F){var K=je(O,F);return it(K)?K:void 0}var zo=oe?ot(oe,Object):ti,pr=mt;(pe&&pr(new pe(new ArrayBuffer(1)))!=C||Ee&&pr(new Ee)!=d||pt&&pr(pt.resolve())!=m||ur&&pr(new ur)!=b||en&&pr(new en)!=R)&&(pr=function(O){var F=Ze.call(O),K=F==h?O.constructor:void 0,fe=K?hr(K):void 0;if(fe)switch(fe){case Oa:return C;case tn:return d;case qn:return m;case xr:return b;case Dn:return R}return F});function Tc(O){var F=O.length,K=O.constructor(F);return F&&typeof O[0]=="string"&&et.call(O,"index")&&(K.index=O.index,K.input=O.input),K}function Yo(O){return typeof O.constructor=="function"&&!Ko(O)?qe(E(O)):{}}function Ar(O,F,K,fe){var Je=O.constructor;switch(F){case T:return Pr(O);case i:case l:return new Je(+O);case C:return Fa(O,fe);case N:case I:case j:case z:case Y:case U:case D:case Q:case J:return Nt(O,fe);case d:return Hn(O,fe,K);case f:case v:return new Je(O);case _:return Gn(O);case b:return Wn(O,fe,K);case w:return Vn(O)}}function Sc(O,F){return F=F??a,!!F&&(typeof O=="number"||ve.test(O))&&O>-1&&O%1==0&&O<F}function Rc(O){var F=typeof O;return F=="string"||F=="number"||F=="symbol"||F=="boolean"?O!=="__proto__":O===null}function Cc(O){return!!ze&&ze in O}function Ko(O){var F=O&&O.constructor,K=typeof F=="function"&&F.prototype||St;return O===K}function hr(O){if(O!=null){try{return Rt.call(O)}catch{}try{return O+""}catch{}}return""}function Oc(O){return _e(O,!0,!0)}function Xo(O,F){return O===F||O!==O&&F!==F}function xc(O){return Pc(O)&&et.call(O,"callee")&&(!P.call(O,"callee")||Ze.call(O)==o)}var Kn=Array.isArray;function Qo(O){return O!=null&&Ic(O.length)&&!Jo(O)}function Pc(O){return Zo(O)&&Qo(O)}var Ac=he||Nc;function Jo(O){var F=Xn(O)?Ze.call(O):"";return F==c||F==p}function Ic(O){return typeof O=="number"&&O>-1&&O%1==0&&O<=a}function Xn(O){var F=typeof O;return!!O&&(F=="object"||F=="function")}function Zo(O){return!!O&&typeof O=="object"}function ei(O){return Qo(O)?V(O):Qe(O)}function ti(){return[]}function Nc(){return!1}e.exports=Oc})(rs,rs.exports);var SA=rs.exports;const RA=Rr(SA);var CA="Expected a function",p0="__lodash_hash_undefined__",h0=1/0,OA=9007199254740991,xA="[object Function]",PA="[object GeneratorFunction]",AA="[object Symbol]",IA=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,NA=/^\w*$/,MA=/^\./,kA=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,$A=/[\\^$.*+?()[\]{}|]/g,LA=/\\(\\)?/g,BA=/^\[object .+?Constructor\]$/,qA=/^(?:0|[1-9]\d*)$/,DA=typeof be=="object"&&be&&be.Object===Object&&be,FA=typeof self=="object"&&self&&self.Object===Object&&self,Sh=DA||FA||Function("return this")();function UA(e,t){return e==null?void 0:e[t]}function jA(e){var t=!1;if(e!=null&&typeof e.toString!="function")try{t=!!(e+"")}catch{}return t}var HA=Array.prototype,GA=Function.prototype,m0=Object.prototype,td=Sh["__core-js_shared__"],jv=function(){var e=/[^.]+$/.exec(td&&td.keys&&td.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""}(),y0=GA.toString,Ps=m0.hasOwnProperty,v0=m0.toString,WA=RegExp("^"+y0.call(Ps).replace($A,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),Hv=Sh.Symbol,VA=HA.splice,zA=g0(Sh,"Map"),Co=g0(Object,"create"),Gv=Hv?Hv.prototype:void 0,Wv=Gv?Gv.toString:void 0;function Rn(e){var t=-1,r=e?e.length:0;for(this.clear();++t<r;){var n=e[t];this.set(n[0],n[1])}}function YA(){this.__data__=Co?Co(null):{}}function KA(e){return this.has(e)&&delete this.__data__[e]}function XA(e){var t=this.__data__;if(Co){var r=t[e];return r===p0?void 0:r}return Ps.call(t,e)?t[e]:void 0}function QA(e){var t=this.__data__;return Co?t[e]!==void 0:Ps.call(t,e)}function JA(e,t){var r=this.__data__;return r[e]=Co&&t===void 0?p0:t,this}Rn.prototype.clear=YA;Rn.prototype.delete=KA;Rn.prototype.get=XA;Rn.prototype.has=QA;Rn.prototype.set=JA;function Ta(e){var t=-1,r=e?e.length:0;for(this.clear();++t<r;){var n=e[t];this.set(n[0],n[1])}}function ZA(){this.__data__=[]}function e1(e){var t=this.__data__,r=As(t,e);if(r<0)return!1;var n=t.length-1;return r==n?t.pop():VA.call(t,r,1),!0}function t1(e){var t=this.__data__,r=As(t,e);return r<0?void 0:t[r][1]}function r1(e){return As(this.__data__,e)>-1}function n1(e,t){var r=this.__data__,n=As(r,e);return n<0?r.push([e,t]):r[n][1]=t,this}Ta.prototype.clear=ZA;Ta.prototype.delete=e1;Ta.prototype.get=t1;Ta.prototype.has=r1;Ta.prototype.set=n1;function Pn(e){var t=-1,r=e?e.length:0;for(this.clear();++t<r;){var n=e[t];this.set(n[0],n[1])}}function a1(){this.__data__={hash:new Rn,map:new(zA||Ta),string:new Rn}}function o1(e){return Is(this,e).delete(e)}function i1(e){return Is(this,e).get(e)}function s1(e){return Is(this,e).has(e)}function l1(e,t){return Is(this,e).set(e,t),this}Pn.prototype.clear=a1;Pn.prototype.delete=o1;Pn.prototype.get=i1;Pn.prototype.has=s1;Pn.prototype.set=l1;function u1(e,t,r){var n=e[t];(!(Ps.call(e,t)&&b0(n,r))||r===void 0&&!(t in e))&&(e[t]=r)}function As(e,t){for(var r=e.length;r--;)if(b0(e[r][0],t))return r;return-1}function c1(e){if(!ns(e)||v1(e))return!1;var t=_1(e)||jA(e)?WA:BA;return t.test(E1(e))}function f1(e,t,r,n){if(!ns(e))return e;t=m1(t,e)?[t]:p1(t);for(var a=-1,o=t.length,s=o-1,i=e;i!=null&&++a<o;){var l=b1(t[a]),u=r;if(a!=s){var c=i[l];u=n?n(c,l,i):void 0,u===void 0&&(u=ns(c)?c:h1(t[a+1])?[]:{})}u1(i,l,u),i=i[l]}return e}function d1(e){if(typeof e=="string")return e;if(Ch(e))return Wv?Wv.call(e):"";var t=e+"";return t=="0"&&1/e==-h0?"-0":t}function p1(e){return E0(e)?e:g1(e)}function Is(e,t){var r=e.__data__;return y1(t)?r[typeof t=="string"?"string":"hash"]:r.map}function g0(e,t){var r=UA(e,t);return c1(r)?r:void 0}function h1(e,t){return t=t??OA,!!t&&(typeof e=="number"||qA.test(e))&&e>-1&&e%1==0&&e<t}function m1(e,t){if(E0(e))return!1;var r=typeof e;return r=="number"||r=="symbol"||r=="boolean"||e==null||Ch(e)?!0:NA.test(e)||!IA.test(e)||t!=null&&e in Object(t)}function y1(e){var t=typeof e;return t=="string"||t=="number"||t=="symbol"||t=="boolean"?e!=="__proto__":e===null}function v1(e){return!!jv&&jv in e}var g1=Rh(function(e){e=T1(e);var t=[];return MA.test(e)&&t.push(""),e.replace(kA,function(r,n,a,o){t.push(a?o.replace(LA,"$1"):n||r)}),t});function b1(e){if(typeof e=="string"||Ch(e))return e;var t=e+"";return t=="0"&&1/e==-h0?"-0":t}function E1(e){if(e!=null){try{return y0.call(e)}catch{}try{return e+""}catch{}}return""}function Rh(e,t){if(typeof e!="function"||t&&typeof t!="function")throw new TypeError(CA);var r=function(){var n=arguments,a=t?t.apply(this,n):n[0],o=r.cache;if(o.has(a))return o.get(a);var s=e.apply(this,n);return r.cache=o.set(a,s),s};return r.cache=new(Rh.Cache||Pn),r}Rh.Cache=Pn;function b0(e,t){return e===t||e!==e&&t!==t}var E0=Array.isArray;function _1(e){var t=ns(e)?v0.call(e):"";return t==xA||t==PA}function ns(e){var t=typeof e;return!!e&&(t=="object"||t=="function")}function w1(e){return!!e&&typeof e=="object"}function Ch(e){return typeof e=="symbol"||w1(e)&&v0.call(e)==AA}function T1(e){return e==null?"":d1(e)}function S1(e,t,r){return e==null?e:f1(e,t,r)}var R1=S1;const C1=Rr(R1),O1=(e,t)=>{Array.isArray(t)||(t=[t]);const r=RA(e);return t.forEach(({type:n,value:a})=>{C1(r,n,a)}),r},_0=e=>{const t=[];return e.forEach(r=>{const n=parseInt(r);isNaN(n)||t.push(n)}),t.sort((r,n)=>r-n)},w0=(e,t,r)=>{let n=r.mobile;for(const a in t){const o=parseInt(String(t[a]));if(e>=o)n=r[o];else if(e<o)break}return n};var up=function(e,t){return up=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,n){r.__proto__=n}||function(r,n){for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(r[a]=n[a])},up(e,t)};function Lt(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");up(e,t);function r(){this.constructor=e}e.prototype=t===null?Object.create(t):(r.prototype=t.prototype,new r)}var de=function(){return de=Object.assign||function(t){for(var r,n=1,a=arguments.length;n<a;n++){r=arguments[n];for(var o in r)Object.prototype.hasOwnProperty.call(r,o)&&(t[o]=r[o])}return t},de.apply(this,arguments)};function ha(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var a=0,n=Object.getOwnPropertySymbols(e);a<n.length;a++)t.indexOf(n[a])<0&&Object.prototype.propertyIsEnumerable.call(e,n[a])&&(r[n[a]]=e[n[a]]);return r}function nr(e,t,r){if(r||arguments.length===2)for(var n=0,a=t.length,o;n<a;n++)(o||!(n in t))&&(o||(o=Array.prototype.slice.call(t,0,n)),o[n]=t[n]);return e.concat(o||Array.prototype.slice.call(t))}function T0(e,t,r){if(r===void 0&&(r=Error),!e)throw new r(t)}var Re;(function(e){e[e.EXPECT_ARGUMENT_CLOSING_BRACE=1]="EXPECT_ARGUMENT_CLOSING_BRACE",e[e.EMPTY_ARGUMENT=2]="EMPTY_ARGUMENT",e[e.MALFORMED_ARGUMENT=3]="MALFORMED_ARGUMENT",e[e.EXPECT_ARGUMENT_TYPE=4]="EXPECT_ARGUMENT_TYPE",e[e.INVALID_ARGUMENT_TYPE=5]="INVALID_ARGUMENT_TYPE",e[e.EXPECT_ARGUMENT_STYLE=6]="EXPECT_ARGUMENT_STYLE",e[e.INVALID_NUMBER_SKELETON=7]="INVALID_NUMBER_SKELETON",e[e.INVALID_DATE_TIME_SKELETON=8]="INVALID_DATE_TIME_SKELETON",e[e.EXPECT_NUMBER_SKELETON=9]="EXPECT_NUMBER_SKELETON",e[e.EXPECT_DATE_TIME_SKELETON=10]="EXPECT_DATE_TIME_SKELETON",e[e.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE=11]="UNCLOSED_QUOTE_IN_ARGUMENT_STYLE",e[e.EXPECT_SELECT_ARGUMENT_OPTIONS=12]="EXPECT_SELECT_ARGUMENT_OPTIONS",e[e.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE=13]="EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE",e[e.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE=14]="INVALID_PLURAL_ARGUMENT_OFFSET_VALUE",e[e.EXPECT_SELECT_ARGUMENT_SELECTOR=15]="EXPECT_SELECT_ARGUMENT_SELECTOR",e[e.EXPECT_PLURAL_ARGUMENT_SELECTOR=16]="EXPECT_PLURAL_ARGUMENT_SELECTOR",e[e.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT=17]="EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT",e[e.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT=18]="EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT",e[e.INVALID_PLURAL_ARGUMENT_SELECTOR=19]="INVALID_PLURAL_ARGUMENT_SELECTOR",e[e.DUPLICATE_PLURAL_ARGUMENT_SELECTOR=20]="DUPLICATE_PLURAL_ARGUMENT_SELECTOR",e[e.DUPLICATE_SELECT_ARGUMENT_SELECTOR=21]="DUPLICATE_SELECT_ARGUMENT_SELECTOR",e[e.MISSING_OTHER_CLAUSE=22]="MISSING_OTHER_CLAUSE",e[e.INVALID_TAG=23]="INVALID_TAG",e[e.INVALID_TAG_NAME=25]="INVALID_TAG_NAME",e[e.UNMATCHED_CLOSING_TAG=26]="UNMATCHED_CLOSING_TAG",e[e.UNCLOSED_TAG=27]="UNCLOSED_TAG"})(Re||(Re={}));var Ue;(function(e){e[e.literal=0]="literal",e[e.argument=1]="argument",e[e.number=2]="number",e[e.date=3]="date",e[e.time=4]="time",e[e.select=5]="select",e[e.plural=6]="plural",e[e.pound=7]="pound",e[e.tag=8]="tag"})(Ue||(Ue={}));var ma;(function(e){e[e.number=0]="number",e[e.dateTime=1]="dateTime"})(ma||(ma={}));function Vv(e){return e.type===Ue.literal}function x1(e){return e.type===Ue.argument}function S0(e){return e.type===Ue.number}function R0(e){return e.type===Ue.date}function C0(e){return e.type===Ue.time}function O0(e){return e.type===Ue.select}function x0(e){return e.type===Ue.plural}function P1(e){return e.type===Ue.pound}function P0(e){return e.type===Ue.tag}function A0(e){return!!(e&&typeof e=="object"&&e.type===ma.number)}function cp(e){return!!(e&&typeof e=="object"&&e.type===ma.dateTime)}var I0=/[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/,A1=/(?:[Eec]{1,6}|G{1,5}|[Qq]{1,5}|(?:[yYur]+|U{1,5})|[ML]{1,5}|d{1,2}|D{1,3}|F{1}|[abB]{1,5}|[hkHK]{1,2}|w{1,2}|W{1}|m{1,2}|s{1,2}|[zZOvVxX]{1,4})(?=([^']*'[^']*')*[^']*$)/g;function I1(e){var t={};return e.replace(A1,function(r){var n=r.length;switch(r[0]){case"G":t.era=n===4?"long":n===5?"narrow":"short";break;case"y":t.year=n===2?"2-digit":"numeric";break;case"Y":case"u":case"U":case"r":throw new RangeError("`Y/u/U/r` (year) patterns are not supported, use `y` instead");case"q":case"Q":throw new RangeError("`q/Q` (quarter) patterns are not supported");case"M":case"L":t.month=["numeric","2-digit","short","long","narrow"][n-1];break;case"w":case"W":throw new RangeError("`w/W` (week) patterns are not supported");case"d":t.day=["numeric","2-digit"][n-1];break;case"D":case"F":case"g":throw new RangeError("`D/F/g` (day) patterns are not supported, use `d` instead");case"E":t.weekday=n===4?"short":n===5?"narrow":"short";break;case"e":if(n<4)throw new RangeError("`e..eee` (weekday) patterns are not supported");t.weekday=["short","long","narrow","short"][n-4];break;case"c":if(n<4)throw new RangeError("`c..ccc` (weekday) patterns are not supported");t.weekday=["short","long","narrow","short"][n-4];break;case"a":t.hour12=!0;break;case"b":case"B":throw new RangeError("`b/B` (period) patterns are not supported, use `a` instead");case"h":t.hourCycle="h12",t.hour=["numeric","2-digit"][n-1];break;case"H":t.hourCycle="h23",t.hour=["numeric","2-digit"][n-1];break;case"K":t.hourCycle="h11",t.hour=["numeric","2-digit"][n-1];break;case"k":t.hourCycle="h24",t.hour=["numeric","2-digit"][n-1];break;case"j":case"J":case"C":throw new RangeError("`j/J/C` (hour) patterns are not supported, use `h/H/K/k` instead");case"m":t.minute=["numeric","2-digit"][n-1];break;case"s":t.second=["numeric","2-digit"][n-1];break;case"S":case"A":throw new RangeError("`S/A` (second) patterns are not supported, use `s` instead");case"z":t.timeZoneName=n<4?"short":"long";break;case"Z":case"O":case"v":case"V":case"X":case"x":throw new RangeError("`Z/O/v/V/X/x` (timeZone) patterns are not supported, use `z` instead")}return""}),t}var N1=/[\t-\r \x85\u200E\u200F\u2028\u2029]/i;function M1(e){if(e.length===0)throw new Error("Number skeleton cannot be empty");for(var t=e.split(N1).filter(function(d){return d.length>0}),r=[],n=0,a=t;n<a.length;n++){var o=a[n],s=o.split("/");if(s.length===0)throw new Error("Invalid number skeleton");for(var i=s[0],l=s.slice(1),u=0,c=l;u<c.length;u++){var p=c[u];if(p.length===0)throw new Error("Invalid number skeleton")}r.push({stem:i,options:l})}return r}function k1(e){return e.replace(/^(.*?)-/,"")}var zv=/^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g,N0=/^(@+)?(\+|#+)?[rs]?$/g,$1=/(\*)(0+)|(#+)(0+)|(0+)/g,M0=/^(0+)$/;function Yv(e){var t={};return e[e.length-1]==="r"?t.roundingPriority="morePrecision":e[e.length-1]==="s"&&(t.roundingPriority="lessPrecision"),e.replace(N0,function(r,n,a){return typeof a!="string"?(t.minimumSignificantDigits=n.length,t.maximumSignificantDigits=n.length):a==="+"?t.minimumSignificantDigits=n.length:n[0]==="#"?t.maximumSignificantDigits=n.length:(t.minimumSignificantDigits=n.length,t.maximumSignificantDigits=n.length+(typeof a=="string"?a.length:0)),""}),t}function k0(e){switch(e){case"sign-auto":return{signDisplay:"auto"};case"sign-accounting":case"()":return{currencySign:"accounting"};case"sign-always":case"+!":return{signDisplay:"always"};case"sign-accounting-always":case"()!":return{signDisplay:"always",currencySign:"accounting"};case"sign-except-zero":case"+?":return{signDisplay:"exceptZero"};case"sign-accounting-except-zero":case"()?":return{signDisplay:"exceptZero",currencySign:"accounting"};case"sign-never":case"+_":return{signDisplay:"never"}}}function L1(e){var t;if(e[0]==="E"&&e[1]==="E"?(t={notation:"engineering"},e=e.slice(2)):e[0]==="E"&&(t={notation:"scientific"},e=e.slice(1)),t){var r=e.slice(0,2);if(r==="+!"?(t.signDisplay="always",e=e.slice(2)):r==="+?"&&(t.signDisplay="exceptZero",e=e.slice(2)),!M0.test(e))throw new Error("Malformed concise eng/scientific notation");t.minimumIntegerDigits=e.length}return t}function Kv(e){var t={},r=k0(e);return r||t}function B1(e){for(var t={},r=0,n=e;r<n.length;r++){var a=n[r];switch(a.stem){case"percent":case"%":t.style="percent";continue;case"%x100":t.style="percent",t.scale=100;continue;case"currency":t.style="currency",t.currency=a.options[0];continue;case"group-off":case",_":t.useGrouping=!1;continue;case"precision-integer":case".":t.maximumFractionDigits=0;continue;case"measure-unit":case"unit":t.style="unit",t.unit=k1(a.options[0]);continue;case"compact-short":case"K":t.notation="compact",t.compactDisplay="short";continue;case"compact-long":case"KK":t.notation="compact",t.compactDisplay="long";continue;case"scientific":t=de(de(de({},t),{notation:"scientific"}),a.options.reduce(function(l,u){return de(de({},l),Kv(u))},{}));continue;case"engineering":t=de(de(de({},t),{notation:"engineering"}),a.options.reduce(function(l,u){return de(de({},l),Kv(u))},{}));continue;case"notation-simple":t.notation="standard";continue;case"unit-width-narrow":t.currencyDisplay="narrowSymbol",t.unitDisplay="narrow";continue;case"unit-width-short":t.currencyDisplay="code",t.unitDisplay="short";continue;case"unit-width-full-name":t.currencyDisplay="name",t.unitDisplay="long";continue;case"unit-width-iso-code":t.currencyDisplay="symbol";continue;case"scale":t.scale=parseFloat(a.options[0]);continue;case"integer-width":if(a.options.length>1)throw new RangeError("integer-width stems only accept a single optional option");a.options[0].replace($1,function(l,u,c,p,d,f){if(u)t.minimumIntegerDigits=c.length;else{if(p&&d)throw new Error("We currently do not support maximum integer digits");if(f)throw new Error("We currently do not support exact integer digits")}return""});continue}if(M0.test(a.stem)){t.minimumIntegerDigits=a.stem.length;continue}if(zv.test(a.stem)){if(a.options.length>1)throw new RangeError("Fraction-precision stems only accept a single optional option");a.stem.replace(zv,function(l,u,c,p,d,f){return c==="*"?t.minimumFractionDigits=u.length:p&&p[0]==="#"?t.maximumFractionDigits=p.length:d&&f?(t.minimumFractionDigits=d.length,t.maximumFractionDigits=d.length+f.length):(t.minimumFractionDigits=u.length,t.maximumFractionDigits=u.length),""});var o=a.options[0];o==="w"?t=de(de({},t),{trailingZeroDisplay:"stripIfInteger"}):o&&(t=de(de({},t),Yv(o)));continue}if(N0.test(a.stem)){t=de(de({},t),Yv(a.stem));continue}var s=k0(a.stem);s&&(t=de(de({},t),s));var i=L1(a.stem);i&&(t=de(de({},t),i))}return t}var Oi={"001":["H","h"],AC:["H","h","hb","hB"],AD:["H","hB"],AE:["h","hB","hb","H"],AF:["H","hb","hB","h"],AG:["h","hb","H","hB"],AI:["H","h","hb","hB"],AL:["h","H","hB"],AM:["H","hB"],AO:["H","hB"],AR:["H","h","hB","hb"],AS:["h","H"],AT:["H","hB"],AU:["h","hb","H","hB"],AW:["H","hB"],AX:["H"],AZ:["H","hB","h"],BA:["H","hB","h"],BB:["h","hb","H","hB"],BD:["h","hB","H"],BE:["H","hB"],BF:["H","hB"],BG:["H","hB","h"],BH:["h","hB","hb","H"],BJ:["H","hB"],BL:["H","hB"],BM:["h","hb","H","hB"],BN:["hb","hB","h","H"],BO:["H","hB","h","hb"],BQ:["H"],BR:["H","hB"],BS:["h","hb","H","hB"],BT:["h","H"],BW:["H","h","hb","hB"],BZ:["H","h","hb","hB"],CA:["h","hb","H","hB"],CC:["H","h","hb","hB"],CD:["hB","H"],CF:["H","h","hB"],CG:["H","hB"],CH:["H","hB","h"],CI:["H","hB"],CK:["H","h","hb","hB"],CL:["H","h","hB","hb"],CM:["H","h","hB"],CN:["H","hB","hb","h"],CO:["h","H","hB","hb"],CP:["H"],CR:["H","h","hB","hb"],CU:["H","h","hB","hb"],CV:["H","hB"],CX:["H","h","hb","hB"],CY:["h","H","hb","hB"],CZ:["H"],DE:["H","hB"],DG:["H","h","hb","hB"],DJ:["h","H"],DK:["H"],DM:["h","hb","H","hB"],DO:["h","H","hB","hb"],DZ:["h","hB","hb","H"],EA:["H","h","hB","hb"],EC:["H","hB","h","hb"],EE:["H","hB"],EG:["h","hB","hb","H"],EH:["h","hB","hb","H"],ER:["h","H"],ES:["H","hB","h","hb"],ET:["hB","hb","h","H"],FI:["H"],FJ:["h","hb","H","hB"],FK:["H","h","hb","hB"],FM:["h","hb","H","hB"],FR:["H","hB"],GA:["H","hB"],GB:["H","h","hb","hB"],GD:["h","hb","H","hB"],GE:["H","hB","h"],GF:["H","hB"],GG:["H","h","hb","hB"],GH:["h","H"],GI:["H","h","hb","hB"],GM:["h","hb","H","hB"],GN:["H","hB"],GP:["H","hB"],GQ:["H","hB","h","hb"],GR:["h","H","hb","hB"],GT:["H","h","hB","hb"],GU:["h","hb","H","hB"],GW:["H","hB"],GY:["h","hb","H","hB"],HK:["h","hB","hb","H"],HN:["H","h","hB","hb"],HR:["H","hB"],IC:["H","h","hB","hb"],ID:["H"],IE:["H","h","hb","hB"],IL:["H","hB"],IM:["H","h","hb","hB"],IN:["h","H"],IO:["H","h","hb","hB"],IQ:["h","hB","hb","H"],IR:["hB","H"],IS:["H"],IT:["H","hB"],JE:["H","h","hb","hB"],JM:["h","hb","H","hB"],JO:["h","hB","hb","H"],JP:["H","h","K"],KE:["hB","hb","H","h"],KG:["H","h","hB","hb"],KH:["hB","h","H","hb"],KI:["h","hb","H","hB"],KM:["H","h","hB","hb"],KN:["h","hb","H","hB"],KP:["h","H","hB","hb"],KR:["h","H","hB","hb"],KW:["h","hB","hb","H"],KY:["h","hb","H","hB"],KZ:["H","hB"],LA:["H","hb","hB","h"],LB:["h","hB","hb","H"],LC:["h","hb","H","hB"],LI:["H","hB","h"],LK:["H","h","hB","hb"],LR:["h","hb","H","hB"],LS:["h","H"],LT:["H","h","hb","hB"],LU:["H","h","hB"],LV:["H","hB","hb","h"],LY:["h","hB","hb","H"],MA:["H","h","hB","hb"],MC:["H","hB"],MD:["H","hB"],ME:["H","hB","h"],MF:["H","hB"],MH:["h","hb","H","hB"],MK:["H","h","hb","hB"],ML:["H"],MM:["hB","hb","H","h"],MN:["H","h","hb","hB"],MO:["h","hB","hb","H"],MP:["h","hb","H","hB"],MQ:["H","hB"],MR:["h","hB","hb","H"],MS:["H","h","hb","hB"],MW:["h","hb","H","hB"],MX:["H","h","hB","hb"],MY:["hb","hB","h","H"],MZ:["H","hB"],NA:["h","H","hB","hb"],NC:["H","hB"],NE:["H"],NF:["H","h","hb","hB"],NG:["H","h","hb","hB"],NI:["H","h","hB","hb"],NL:["H","hB"],NP:["H","h","hB"],NR:["H","h","hb","hB"],NU:["H","h","hb","hB"],NZ:["h","hb","H","hB"],OM:["h","hB","hb","H"],PA:["h","H","hB","hb"],PE:["H","hB","h","hb"],PF:["H","h","hB"],PG:["h","H"],PH:["h","hB","hb","H"],PK:["h","hB","H"],PM:["H","hB"],PN:["H","h","hb","hB"],PR:["h","H","hB","hb"],PS:["h","hB","hb","H"],PT:["H","hB"],PW:["h","H"],PY:["H","h","hB","hb"],QA:["h","hB","hb","H"],RE:["H","hB"],RO:["H","hB"],RS:["H","hB","h"],RU:["H"],SA:["h","hB","hb","H"],SB:["h","hb","H","hB"],SC:["H","h","hB"],SD:["h","hB","hb","H"],SE:["H"],SG:["h","hb","H","hB"],SH:["H","h","hb","hB"],SI:["H","hB"],SJ:["H"],SK:["H"],SL:["h","hb","H","hB"],SM:["H","h","hB"],SN:["H","h","hB"],SO:["h","H"],SR:["H","hB"],SS:["h","hb","H","hB"],ST:["H","hB"],SV:["H","h","hB","hb"],SX:["H","h","hb","hB"],SY:["h","hB","hb","H"],SZ:["h","hb","H","hB"],TA:["H","h","hb","hB"],TC:["h","hb","H","hB"],TD:["h","H","hB"],TF:["H","h","hB"],TG:["H","hB"],TL:["H","hB","hb","h"],TN:["h","hB","hb","H"],TO:["h","H"],TR:["H","hB"],TT:["h","hb","H","hB"],TW:["hB","hb","h","H"],TZ:["hB","hb","H","h"],UA:["H","hB","h"],UG:["hB","hb","H","h"],UM:["h","hb","H","hB"],US:["h","hb","H","hB"],UY:["H","h","hB","hb"],UZ:["H","hB","h"],VA:["H","h","hB"],VC:["h","hb","H","hB"],VE:["h","H","hB","hb"],VG:["h","hb","H","hB"],VI:["h","hb","H","hB"],VU:["h","H"],WF:["H","hB"],WS:["h","H"],XK:["H","hB","h"],YE:["h","hB","hb","H"],YT:["H","hB"],ZA:["H","h","hb","hB"],ZM:["h","hb","H","hB"],"af-ZA":["H","h","hB","hb"],"ar-001":["h","hB","hb","H"],"ca-ES":["H","h","hB"],"en-001":["h","hb","H","hB"],"es-BO":["H","h","hB","hb"],"es-BR":["H","h","hB","hb"],"es-EC":["H","h","hB","hb"],"es-ES":["H","h","hB","hb"],"es-GQ":["H","h","hB","hb"],"es-PE":["H","h","hB","hb"],"fr-CA":["H","h","hB"],"gl-ES":["H","h","hB"],"gu-IN":["hB","hb","h","H"],"hi-IN":["hB","h","H"],"it-CH":["H","h","hB"],"it-IT":["H","h","hB"],"kn-IN":["hB","h","H"],"ml-IN":["hB","h","H"],"mr-IN":["hB","hb","h","H"],"pa-IN":["hB","hb","h","H"],"ta-IN":["hB","h","hb","H"],"te-IN":["hB","h","H"],"zu-ZA":["H","hB","hb","h"]};function q1(e,t){for(var r="",n=0;n<e.length;n++){var a=e.charAt(n);if(a==="j"){for(var o=0;n+1<e.length&&e.charAt(n+1)===a;)o++,n++;var s=1+(o&1),i=o<2?1:3+(o>>1),l="a",u=D1(t);for((u=="H"||u=="k")&&(i=0);i-- >0;)r+=l;for(;s-- >0;)r=u+r}else a==="J"?r+="H":r+=a}return r}function D1(e){var t=e.hourCycle;if(t===void 0&&e.hourCycles&&e.hourCycles.length&&(t=e.hourCycles[0]),t)switch(t){case"h24":return"k";case"h23":return"H";case"h12":return"h";case"h11":return"K";default:throw new Error("Invalid hourCycle")}var r=e.language,n;r!=="root"&&(n=e.maximize().region);var a=Oi[n||""]||Oi[r||""]||Oi["".concat(r,"-001")]||Oi["001"];return a[0]}var rd,F1=new RegExp("^".concat(I0.source,"*")),U1=new RegExp("".concat(I0.source,"*$"));function Oe(e,t){return{start:e,end:t}}var j1=!!String.prototype.startsWith,H1=!!String.fromCodePoint,G1=!!Object.fromEntries,W1=!!String.prototype.codePointAt,V1=!!String.prototype.trimStart,z1=!!String.prototype.trimEnd,Y1=!!Number.isSafeInteger,K1=Y1?Number.isSafeInteger:function(e){return typeof e=="number"&&isFinite(e)&&Math.floor(e)===e&&Math.abs(e)<=9007199254740991},fp=!0;try{var X1=L0("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu");fp=((rd=X1.exec("a"))===null||rd===void 0?void 0:rd[0])==="a"}catch{fp=!1}var Xv=j1?function(t,r,n){return t.startsWith(r,n)}:function(t,r,n){return t.slice(n,n+r.length)===r},dp=H1?String.fromCodePoint:function(){for(var t=[],r=0;r<arguments.length;r++)t[r]=arguments[r];for(var n="",a=t.length,o=0,s;a>o;){if(s=t[o++],s>1114111)throw RangeError(s+" is not a valid code point");n+=s<65536?String.fromCharCode(s):String.fromCharCode(((s-=65536)>>10)+55296,s%1024+56320)}return n},Qv=G1?Object.fromEntries:function(t){for(var r={},n=0,a=t;n<a.length;n++){var o=a[n],s=o[0],i=o[1];r[s]=i}return r},$0=W1?function(t,r){return t.codePointAt(r)}:function(t,r){var n=t.length;if(!(r<0||r>=n)){var a=t.charCodeAt(r),o;return a<55296||a>56319||r+1===n||(o=t.charCodeAt(r+1))<56320||o>57343?a:(a-55296<<10)+(o-56320)+65536}},Q1=V1?function(t){return t.trimStart()}:function(t){return t.replace(F1,"")},J1=z1?function(t){return t.trimEnd()}:function(t){return t.replace(U1,"")};function L0(e,t){return new RegExp(e,t)}var pp;if(fp){var Jv=L0("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu");pp=function(t,r){var n;Jv.lastIndex=r;var a=Jv.exec(t);return(n=a[1])!==null&&n!==void 0?n:""}}else pp=function(t,r){for(var n=[];;){var a=$0(t,r);if(a===void 0||B0(a)||rI(a))break;n.push(a),r+=a>=65536?2:1}return dp.apply(void 0,n)};var Z1=function(){function e(t,r){r===void 0&&(r={}),this.message=t,this.position={offset:0,line:1,column:1},this.ignoreTag=!!r.ignoreTag,this.locale=r.locale,this.requiresOtherClause=!!r.requiresOtherClause,this.shouldParseSkeletons=!!r.shouldParseSkeletons}return e.prototype.parse=function(){if(this.offset()!==0)throw Error("parser can only be used once");return this.parseMessage(0,"",!1)},e.prototype.parseMessage=function(t,r,n){for(var a=[];!this.isEOF();){var o=this.char();if(o===123){var s=this.parseArgument(t,n);if(s.err)return s;a.push(s.val)}else{if(o===125&&t>0)break;if(o===35&&(r==="plural"||r==="selectordinal")){var i=this.clonePosition();this.bump(),a.push({type:Ue.pound,location:Oe(i,this.clonePosition())})}else if(o===60&&!this.ignoreTag&&this.peek()===47){if(n)break;return this.error(Re.UNMATCHED_CLOSING_TAG,Oe(this.clonePosition(),this.clonePosition()))}else if(o===60&&!this.ignoreTag&&hp(this.peek()||0)){var s=this.parseTag(t,r);if(s.err)return s;a.push(s.val)}else{var s=this.parseLiteral(t,r);if(s.err)return s;a.push(s.val)}}}return{val:a,err:null}},e.prototype.parseTag=function(t,r){var n=this.clonePosition();this.bump();var a=this.parseTagName();if(this.bumpSpace(),this.bumpIf("/>"))return{val:{type:Ue.literal,value:"<".concat(a,"/>"),location:Oe(n,this.clonePosition())},err:null};if(this.bumpIf(">")){var o=this.parseMessage(t+1,r,!0);if(o.err)return o;var s=o.val,i=this.clonePosition();if(this.bumpIf("</")){if(this.isEOF()||!hp(this.char()))return this.error(Re.INVALID_TAG,Oe(i,this.clonePosition()));var l=this.clonePosition(),u=this.parseTagName();return a!==u?this.error(Re.UNMATCHED_CLOSING_TAG,Oe(l,this.clonePosition())):(this.bumpSpace(),this.bumpIf(">")?{val:{type:Ue.tag,value:a,children:s,location:Oe(n,this.clonePosition())},err:null}:this.error(Re.INVALID_TAG,Oe(i,this.clonePosition())))}else return this.error(Re.UNCLOSED_TAG,Oe(n,this.clonePosition()))}else return this.error(Re.INVALID_TAG,Oe(n,this.clonePosition()))},e.prototype.parseTagName=function(){var t=this.offset();for(this.bump();!this.isEOF()&&tI(this.char());)this.bump();return this.message.slice(t,this.offset())},e.prototype.parseLiteral=function(t,r){for(var n=this.clonePosition(),a="";;){var o=this.tryParseQuote(r);if(o){a+=o;continue}var s=this.tryParseUnquoted(t,r);if(s){a+=s;continue}var i=this.tryParseLeftAngleBracket();if(i){a+=i;continue}break}var l=Oe(n,this.clonePosition());return{val:{type:Ue.literal,value:a,location:l},err:null}},e.prototype.tryParseLeftAngleBracket=function(){return!this.isEOF()&&this.char()===60&&(this.ignoreTag||!eI(this.peek()||0))?(this.bump(),"<"):null},e.prototype.tryParseQuote=function(t){if(this.isEOF()||this.char()!==39)return null;switch(this.peek()){case 39:return this.bump(),this.bump(),"'";case 123:case 60:case 62:case 125:break;case 35:if(t==="plural"||t==="selectordinal")break;return null;default:return null}this.bump();var r=[this.char()];for(this.bump();!this.isEOF();){var n=this.char();if(n===39)if(this.peek()===39)r.push(39),this.bump();else{this.bump();break}else r.push(n);this.bump()}return dp.apply(void 0,r)},e.prototype.tryParseUnquoted=function(t,r){if(this.isEOF())return null;var n=this.char();return n===60||n===123||n===35&&(r==="plural"||r==="selectordinal")||n===125&&t>0?null:(this.bump(),dp(n))},e.prototype.parseArgument=function(t,r){var n=this.clonePosition();if(this.bump(),this.bumpSpace(),this.isEOF())return this.error(Re.EXPECT_ARGUMENT_CLOSING_BRACE,Oe(n,this.clonePosition()));if(this.char()===125)return this.bump(),this.error(Re.EMPTY_ARGUMENT,Oe(n,this.clonePosition()));var a=this.parseIdentifierIfPossible().value;if(!a)return this.error(Re.MALFORMED_ARGUMENT,Oe(n,this.clonePosition()));if(this.bumpSpace(),this.isEOF())return this.error(Re.EXPECT_ARGUMENT_CLOSING_BRACE,Oe(n,this.clonePosition()));switch(this.char()){case 125:return this.bump(),{val:{type:Ue.argument,value:a,location:Oe(n,this.clonePosition())},err:null};case 44:return this.bump(),this.bumpSpace(),this.isEOF()?this.error(Re.EXPECT_ARGUMENT_CLOSING_BRACE,Oe(n,this.clonePosition())):this.parseArgumentOptions(t,r,a,n);default:return this.error(Re.MALFORMED_ARGUMENT,Oe(n,this.clonePosition()))}},e.prototype.parseIdentifierIfPossible=function(){var t=this.clonePosition(),r=this.offset(),n=pp(this.message,r),a=r+n.length;this.bumpTo(a);var o=this.clonePosition(),s=Oe(t,o);return{value:n,location:s}},e.prototype.parseArgumentOptions=function(t,r,n,a){var o,s=this.clonePosition(),i=this.parseIdentifierIfPossible().value,l=this.clonePosition();switch(i){case"":return this.error(Re.EXPECT_ARGUMENT_TYPE,Oe(s,l));case"number":case"date":case"time":{this.bumpSpace();var u=null;if(this.bumpIf(",")){this.bumpSpace();var c=this.clonePosition(),p=this.parseSimpleArgStyleIfPossible();if(p.err)return p;var d=J1(p.val);if(d.length===0)return this.error(Re.EXPECT_ARGUMENT_STYLE,Oe(this.clonePosition(),this.clonePosition()));var f=Oe(c,this.clonePosition());u={style:d,styleLocation:f}}var h=this.tryParseArgumentClose(a);if(h.err)return h;var m=Oe(a,this.clonePosition());if(u&&Xv(u==null?void 0:u.style,"::",0)){var _=Q1(u.style.slice(2));if(i==="number"){var p=this.parseNumberSkeletonFromString(_,u.styleLocation);return p.err?p:{val:{type:Ue.number,value:n,location:m,style:p.val},err:null}}else{if(_.length===0)return this.error(Re.EXPECT_DATE_TIME_SKELETON,m);var b=_;this.locale&&(b=q1(_,this.locale));var d={type:ma.dateTime,pattern:b,location:u.styleLocation,parsedOptions:this.shouldParseSkeletons?I1(b):{}},v=i==="date"?Ue.date:Ue.time;return{val:{type:v,value:n,location:m,style:d},err:null}}}return{val:{type:i==="number"?Ue.number:i==="date"?Ue.date:Ue.time,value:n,location:m,style:(o=u==null?void 0:u.style)!==null&&o!==void 0?o:null},err:null}}case"plural":case"selectordinal":case"select":{var w=this.clonePosition();if(this.bumpSpace(),!this.bumpIf(","))return this.error(Re.EXPECT_SELECT_ARGUMENT_OPTIONS,Oe(w,de({},w)));this.bumpSpace();var R=this.parseIdentifierIfPossible(),T=0;if(i!=="select"&&R.value==="offset"){if(!this.bumpIf(":"))return this.error(Re.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,Oe(this.clonePosition(),this.clonePosition()));this.bumpSpace();var p=this.tryParseDecimalInteger(Re.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,Re.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);if(p.err)return p;this.bumpSpace(),R=this.parseIdentifierIfPossible(),T=p.val}var C=this.tryParsePluralOrSelectOptions(t,i,r,R);if(C.err)return C;var h=this.tryParseArgumentClose(a);if(h.err)return h;var N=Oe(a,this.clonePosition());return i==="select"?{val:{type:Ue.select,value:n,options:Qv(C.val),location:N},err:null}:{val:{type:Ue.plural,value:n,options:Qv(C.val),offset:T,pluralType:i==="plural"?"cardinal":"ordinal",location:N},err:null}}default:return this.error(Re.INVALID_ARGUMENT_TYPE,Oe(s,l))}},e.prototype.tryParseArgumentClose=function(t){return this.isEOF()||this.char()!==125?this.error(Re.EXPECT_ARGUMENT_CLOSING_BRACE,Oe(t,this.clonePosition())):(this.bump(),{val:!0,err:null})},e.prototype.parseSimpleArgStyleIfPossible=function(){for(var t=0,r=this.clonePosition();!this.isEOF();){var n=this.char();switch(n){case 39:{this.bump();var a=this.clonePosition();if(!this.bumpUntil("'"))return this.error(Re.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE,Oe(a,this.clonePosition()));this.bump();break}case 123:{t+=1,this.bump();break}case 125:{if(t>0)t-=1;else return{val:this.message.slice(r.offset,this.offset()),err:null};break}default:this.bump();break}}return{val:this.message.slice(r.offset,this.offset()),err:null}},e.prototype.parseNumberSkeletonFromString=function(t,r){var n=[];try{n=M1(t)}catch{return this.error(Re.INVALID_NUMBER_SKELETON,r)}return{val:{type:ma.number,tokens:n,location:r,parsedOptions:this.shouldParseSkeletons?B1(n):{}},err:null}},e.prototype.tryParsePluralOrSelectOptions=function(t,r,n,a){for(var o,s=!1,i=[],l=new Set,u=a.value,c=a.location;;){if(u.length===0){var p=this.clonePosition();if(r!=="select"&&this.bumpIf("=")){var d=this.tryParseDecimalInteger(Re.EXPECT_PLURAL_ARGUMENT_SELECTOR,Re.INVALID_PLURAL_ARGUMENT_SELECTOR);if(d.err)return d;c=Oe(p,this.clonePosition()),u=this.message.slice(p.offset,this.offset())}else break}if(l.has(u))return this.error(r==="select"?Re.DUPLICATE_SELECT_ARGUMENT_SELECTOR:Re.DUPLICATE_PLURAL_ARGUMENT_SELECTOR,c);u==="other"&&(s=!0),this.bumpSpace();var f=this.clonePosition();if(!this.bumpIf("{"))return this.error(r==="select"?Re.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT:Re.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT,Oe(this.clonePosition(),this.clonePosition()));var h=this.parseMessage(t+1,r,n);if(h.err)return h;var m=this.tryParseArgumentClose(f);if(m.err)return m;i.push([u,{value:h.val,location:Oe(f,this.clonePosition())}]),l.add(u),this.bumpSpace(),o=this.parseIdentifierIfPossible(),u=o.value,c=o.location}return i.length===0?this.error(r==="select"?Re.EXPECT_SELECT_ARGUMENT_SELECTOR:Re.EXPECT_PLURAL_ARGUMENT_SELECTOR,Oe(this.clonePosition(),this.clonePosition())):this.requiresOtherClause&&!s?this.error(Re.MISSING_OTHER_CLAUSE,Oe(this.clonePosition(),this.clonePosition())):{val:i,err:null}},e.prototype.tryParseDecimalInteger=function(t,r){var n=1,a=this.clonePosition();this.bumpIf("+")||this.bumpIf("-")&&(n=-1);for(var o=!1,s=0;!this.isEOF();){var i=this.char();if(i>=48&&i<=57)o=!0,s=s*10+(i-48),this.bump();else break}var l=Oe(a,this.clonePosition());return o?(s*=n,K1(s)?{val:s,err:null}:this.error(r,l)):this.error(t,l)},e.prototype.offset=function(){return this.position.offset},e.prototype.isEOF=function(){return this.offset()===this.message.length},e.prototype.clonePosition=function(){return{offset:this.position.offset,line:this.position.line,column:this.position.column}},e.prototype.char=function(){var t=this.position.offset;if(t>=this.message.length)throw Error("out of bound");var r=$0(this.message,t);if(r===void 0)throw Error("Offset ".concat(t," is at invalid UTF-16 code unit boundary"));return r},e.prototype.error=function(t,r){return{val:null,err:{kind:t,message:this.message,location:r}}},e.prototype.bump=function(){if(!this.isEOF()){var t=this.char();t===10?(this.position.line+=1,this.position.column=1,this.position.offset+=1):(this.position.column+=1,this.position.offset+=t<65536?1:2)}},e.prototype.bumpIf=function(t){if(Xv(this.message,t,this.offset())){for(var r=0;r<t.length;r++)this.bump();return!0}return!1},e.prototype.bumpUntil=function(t){var r=this.offset(),n=this.message.indexOf(t,r);return n>=0?(this.bumpTo(n),!0):(this.bumpTo(this.message.length),!1)},e.prototype.bumpTo=function(t){if(this.offset()>t)throw Error("targetOffset ".concat(t," must be greater than or equal to the current offset ").concat(this.offset()));for(t=Math.min(t,this.message.length);;){var r=this.offset();if(r===t)break;if(r>t)throw Error("targetOffset ".concat(t," is at invalid UTF-16 code unit boundary"));if(this.bump(),this.isEOF())break}},e.prototype.bumpSpace=function(){for(;!this.isEOF()&&B0(this.char());)this.bump()},e.prototype.peek=function(){if(this.isEOF())return null;var t=this.char(),r=this.offset(),n=this.message.charCodeAt(r+(t>=65536?2:1));return n??null},e}();function hp(e){return e>=97&&e<=122||e>=65&&e<=90}function eI(e){return hp(e)||e===47}function tI(e){return e===45||e===46||e>=48&&e<=57||e===95||e>=97&&e<=122||e>=65&&e<=90||e==183||e>=192&&e<=214||e>=216&&e<=246||e>=248&&e<=893||e>=895&&e<=8191||e>=8204&&e<=8205||e>=8255&&e<=8256||e>=8304&&e<=8591||e>=11264&&e<=12271||e>=12289&&e<=55295||e>=63744&&e<=64975||e>=65008&&e<=65533||e>=65536&&e<=983039}function B0(e){return e>=9&&e<=13||e===32||e===133||e>=8206&&e<=8207||e===8232||e===8233}function rI(e){return e>=33&&e<=35||e===36||e>=37&&e<=39||e===40||e===41||e===42||e===43||e===44||e===45||e>=46&&e<=47||e>=58&&e<=59||e>=60&&e<=62||e>=63&&e<=64||e===91||e===92||e===93||e===94||e===96||e===123||e===124||e===125||e===126||e===161||e>=162&&e<=165||e===166||e===167||e===169||e===171||e===172||e===174||e===176||e===177||e===182||e===187||e===191||e===215||e===247||e>=8208&&e<=8213||e>=8214&&e<=8215||e===8216||e===8217||e===8218||e>=8219&&e<=8220||e===8221||e===8222||e===8223||e>=8224&&e<=8231||e>=8240&&e<=8248||e===8249||e===8250||e>=8251&&e<=8254||e>=8257&&e<=8259||e===8260||e===8261||e===8262||e>=8263&&e<=8273||e===8274||e===8275||e>=8277&&e<=8286||e>=8592&&e<=8596||e>=8597&&e<=8601||e>=8602&&e<=8603||e>=8604&&e<=8607||e===8608||e>=8609&&e<=8610||e===8611||e>=8612&&e<=8613||e===8614||e>=8615&&e<=8621||e===8622||e>=8623&&e<=8653||e>=8654&&e<=8655||e>=8656&&e<=8657||e===8658||e===8659||e===8660||e>=8661&&e<=8691||e>=8692&&e<=8959||e>=8960&&e<=8967||e===8968||e===8969||e===8970||e===8971||e>=8972&&e<=8991||e>=8992&&e<=8993||e>=8994&&e<=9e3||e===9001||e===9002||e>=9003&&e<=9083||e===9084||e>=9085&&e<=9114||e>=9115&&e<=9139||e>=9140&&e<=9179||e>=9180&&e<=9185||e>=9186&&e<=9254||e>=9255&&e<=9279||e>=9280&&e<=9290||e>=9291&&e<=9311||e>=9472&&e<=9654||e===9655||e>=9656&&e<=9664||e===9665||e>=9666&&e<=9719||e>=9720&&e<=9727||e>=9728&&e<=9838||e===9839||e>=9840&&e<=10087||e===10088||e===10089||e===10090||e===10091||e===10092||e===10093||e===10094||e===10095||e===10096||e===10097||e===10098||e===10099||e===10100||e===10101||e>=10132&&e<=10175||e>=10176&&e<=10180||e===10181||e===10182||e>=10183&&e<=10213||e===10214||e===10215||e===10216||e===10217||e===10218||e===10219||e===10220||e===10221||e===10222||e===10223||e>=10224&&e<=10239||e>=10240&&e<=10495||e>=10496&&e<=10626||e===10627||e===10628||e===10629||e===10630||e===10631||e===10632||e===10633||e===10634||e===10635||e===10636||e===10637||e===10638||e===10639||e===10640||e===10641||e===10642||e===10643||e===10644||e===10645||e===10646||e===10647||e===10648||e>=10649&&e<=10711||e===10712||e===10713||e===10714||e===10715||e>=10716&&e<=10747||e===10748||e===10749||e>=10750&&e<=11007||e>=11008&&e<=11055||e>=11056&&e<=11076||e>=11077&&e<=11078||e>=11079&&e<=11084||e>=11085&&e<=11123||e>=11124&&e<=11125||e>=11126&&e<=11157||e===11158||e>=11159&&e<=11263||e>=11776&&e<=11777||e===11778||e===11779||e===11780||e===11781||e>=11782&&e<=11784||e===11785||e===11786||e===11787||e===11788||e===11789||e>=11790&&e<=11798||e===11799||e>=11800&&e<=11801||e===11802||e===11803||e===11804||e===11805||e>=11806&&e<=11807||e===11808||e===11809||e===11810||e===11811||e===11812||e===11813||e===11814||e===11815||e===11816||e===11817||e>=11818&&e<=11822||e===11823||e>=11824&&e<=11833||e>=11834&&e<=11835||e>=11836&&e<=11839||e===11840||e===11841||e===11842||e>=11843&&e<=11855||e>=11856&&e<=11857||e===11858||e>=11859&&e<=11903||e>=12289&&e<=12291||e===12296||e===12297||e===12298||e===12299||e===12300||e===12301||e===12302||e===12303||e===12304||e===12305||e>=12306&&e<=12307||e===12308||e===12309||e===12310||e===12311||e===12312||e===12313||e===12314||e===12315||e===12316||e===12317||e>=12318&&e<=12319||e===12320||e===12336||e===64830||e===64831||e>=65093&&e<=65094}function mp(e){e.forEach(function(t){if(delete t.location,O0(t)||x0(t))for(var r in t.options)delete t.options[r].location,mp(t.options[r].value);else S0(t)&&A0(t.style)||(R0(t)||C0(t))&&cp(t.style)?delete t.style.location:P0(t)&&mp(t.children)})}function nI(e,t){t===void 0&&(t={}),t=de({shouldParseSkeletons:!0,requiresOtherClause:!0},t);var r=new Z1(e,t).parse();if(r.err){var n=SyntaxError(Re[r.err.kind]);throw n.location=r.err.location,n.originalMessage=r.err.message,n}return t!=null&&t.captureLocation||mp(r.val),r.val}function er(e,t){var r=t&&t.cache?t.cache:uI,n=t&&t.serializer?t.serializer:lI,a=t&&t.strategy?t.strategy:oI;return a(e,{cache:r,serializer:n})}function aI(e){return e==null||typeof e=="number"||typeof e=="boolean"}function q0(e,t,r,n){var a=aI(n)?n:r(n),o=t.get(a);return typeof o>"u"&&(o=e.call(this,n),t.set(a,o)),o}function D0(e,t,r){var n=Array.prototype.slice.call(arguments,3),a=r(n),o=t.get(a);return typeof o>"u"&&(o=e.apply(this,n),t.set(a,o)),o}function Oh(e,t,r,n,a){return r.bind(t,e,n,a)}function oI(e,t){var r=e.length===1?q0:D0;return Oh(e,this,r,t.cache.create(),t.serializer)}function iI(e,t){return Oh(e,this,D0,t.cache.create(),t.serializer)}function sI(e,t){return Oh(e,this,q0,t.cache.create(),t.serializer)}var lI=function(){return JSON.stringify(arguments)};function xh(){this.cache=Object.create(null)}xh.prototype.get=function(e){return this.cache[e]};xh.prototype.set=function(e,t){this.cache[e]=t};var uI={create:function(){return new xh}},tr={variadic:iI,monadic:sI},ar;(function(e){e.MISSING_VALUE="MISSING_VALUE",e.INVALID_VALUE="INVALID_VALUE",e.MISSING_INTL_API="MISSING_INTL_API"})(ar||(ar={}));var Jr=function(e){Lt(t,e);function t(r,n,a){var o=e.call(this,r)||this;return o.code=n,o.originalMessage=a,o}return t.prototype.toString=function(){return"[formatjs Error: ".concat(this.code,"] ").concat(this.message)},t}(Error),Zv=function(e){Lt(t,e);function t(r,n,a,o){return e.call(this,'Invalid values for "'.concat(r,'": "').concat(n,'". Options are "').concat(Object.keys(a).join('", "'),'"'),ar.INVALID_VALUE,o)||this}return t}(Jr),cI=function(e){Lt(t,e);function t(r,n,a){return e.call(this,'Value for "'.concat(r,'" must be of type ').concat(n),ar.INVALID_VALUE,a)||this}return t}(Jr),fI=function(e){Lt(t,e);function t(r,n){return e.call(this,'The intl string context variable "'.concat(r,'" was not provided to the string "').concat(n,'"'),ar.MISSING_VALUE,n)||this}return t}(Jr),wt;(function(e){e[e.literal=0]="literal",e[e.object=1]="object"})(wt||(wt={}));function dI(e){return e.length<2?e:e.reduce(function(t,r){var n=t[t.length-1];return!n||n.type!==wt.literal||r.type!==wt.literal?t.push(r):n.value+=r.value,t},[])}function F0(e){return typeof e=="function"}function qi(e,t,r,n,a,o,s){if(e.length===1&&Vv(e[0]))return[{type:wt.literal,value:e[0].value}];for(var i=[],l=0,u=e;l<u.length;l++){var c=u[l];if(Vv(c)){i.push({type:wt.literal,value:c.value});continue}if(P1(c)){typeof o=="number"&&i.push({type:wt.literal,value:r.getNumberFormat(t).format(o)});continue}var p=c.value;if(!(a&&p in a))throw new fI(p,s);var d=a[p];if(x1(c)){(!d||typeof d=="string"||typeof d=="number")&&(d=typeof d=="string"||typeof d=="number"?String(d):""),i.push({type:typeof d=="string"?wt.literal:wt.object,value:d});continue}if(R0(c)){var f=typeof c.style=="string"?n.date[c.style]:cp(c.style)?c.style.parsedOptions:void 0;i.push({type:wt.literal,value:r.getDateTimeFormat(t,f).format(d)});continue}if(C0(c)){var f=typeof c.style=="string"?n.time[c.style]:cp(c.style)?c.style.parsedOptions:n.time.medium;i.push({type:wt.literal,value:r.getDateTimeFormat(t,f).format(d)});continue}if(S0(c)){var f=typeof c.style=="string"?n.number[c.style]:A0(c.style)?c.style.parsedOptions:void 0;f&&f.scale&&(d=d*(f.scale||1)),i.push({type:wt.literal,value:r.getNumberFormat(t,f).format(d)});continue}if(P0(c)){var h=c.children,m=c.value,_=a[m];if(!F0(_))throw new cI(m,"function",s);var b=qi(h,t,r,n,a,o),v=_(b.map(function(T){return T.value}));Array.isArray(v)||(v=[v]),i.push.apply(i,v.map(function(T){return{type:typeof T=="string"?wt.literal:wt.object,value:T}}))}if(O0(c)){var w=c.options[d]||c.options.other;if(!w)throw new Zv(c.value,d,Object.keys(c.options),s);i.push.apply(i,qi(w.value,t,r,n,a));continue}if(x0(c)){var w=c.options["=".concat(d)];if(!w){if(!Intl.PluralRules)throw new Jr(`Intl.PluralRules is not available in this environment.
62
62
  Try polyfilling it using "@formatjs/intl-pluralrules"
63
- `,ar.MISSING_INTL_API,s);var R=r.getPluralRules(t,{type:c.pluralType}).select(d-(c.offset||0));w=c.options[R]||c.options.other}if(!w)throw new Zv(c.value,d,Object.keys(c.options),s);i.push.apply(i,qi(w.value,t,r,n,a,d-(c.offset||0)));continue}}return fI(i)}function dI(e,t){return t?de(de(de({},e||{}),t||{}),Object.keys(e).reduce(function(r,n){return r[n]=de(de({},e[n]),t[n]||{}),r},{})):e}function pI(e,t){return t?Object.keys(e).reduce(function(r,n){return r[n]=dI(e[n],t[n]),r},de({},e)):e}function nd(e){return{create:function(){return{get:function(t){return e[t]},set:function(t,r){e[t]=r}}}}}function hI(e){return e===void 0&&(e={number:{},dateTime:{},pluralRules:{}}),{getNumberFormat:er(function(){for(var t,r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];return new((t=Intl.NumberFormat).bind.apply(t,nr([void 0],r,!1)))},{cache:nd(e.number),strategy:tr.variadic}),getDateTimeFormat:er(function(){for(var t,r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];return new((t=Intl.DateTimeFormat).bind.apply(t,nr([void 0],r,!1)))},{cache:nd(e.dateTime),strategy:tr.variadic}),getPluralRules:er(function(){for(var t,r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];return new((t=Intl.PluralRules).bind.apply(t,nr([void 0],r,!1)))},{cache:nd(e.pluralRules),strategy:tr.variadic})}}var U0=function(){function e(t,r,n,a){r===void 0&&(r=e.defaultLocale);var o=this;if(this.formatterCache={number:{},dateTime:{},pluralRules:{}},this.format=function(l){var u=o.formatToParts(l);if(u.length===1)return u[0].value;var c=u.reduce(function(p,d){return!p.length||d.type!==wt.literal||typeof p[p.length-1]!="string"?p.push(d.value):p[p.length-1]+=d.value,p},[]);return c.length<=1?c[0]||"":c},this.formatToParts=function(l){return qi(o.ast,o.locales,o.formatters,o.formats,l,void 0,o.message)},this.resolvedOptions=function(){var l;return{locale:((l=o.resolvedLocale)===null||l===void 0?void 0:l.toString())||Intl.NumberFormat.supportedLocalesOf(o.locales)[0]}},this.getAst=function(){return o.ast},this.locales=r,this.resolvedLocale=e.resolveLocale(r),typeof t=="string"){if(this.message=t,!e.__parse)throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");var s=a||{};s.formatters;var i=ma(s,["formatters"]);this.ast=e.__parse(t,de(de({},i),{locale:this.resolvedLocale}))}else this.ast=t;if(!Array.isArray(this.ast))throw new TypeError("A message must be provided as a String or AST.");this.formats=pI(e.formats,n),this.formatters=a&&a.formatters||hI(this.formatterCache)}return Object.defineProperty(e,"defaultLocale",{get:function(){return e.memoizedDefaultLocale||(e.memoizedDefaultLocale=new Intl.NumberFormat().resolvedOptions().locale),e.memoizedDefaultLocale},enumerable:!1,configurable:!0}),e.memoizedDefaultLocale=null,e.resolveLocale=function(t){if(!(typeof Intl.Locale>"u")){var r=Intl.NumberFormat.supportedLocalesOf(t);return r.length>0?new Intl.Locale(r[0]):new Intl.Locale(typeof t=="string"?t:t[0])}},e.__parse=rI,e.formats={number:{integer:{maximumFractionDigits:0},currency:{style:"currency"},percent:{style:"percent"}},date:{short:{month:"numeric",day:"numeric",year:"2-digit"},medium:{month:"short",day:"numeric",year:"numeric"},long:{month:"long",day:"numeric",year:"numeric"},full:{weekday:"long",month:"long",day:"numeric",year:"numeric"}},time:{short:{hour:"numeric",minute:"numeric"},medium:{hour:"numeric",minute:"numeric",second:"numeric"},long:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"},full:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"}}},e}(),Cn;(function(e){e.FORMAT_ERROR="FORMAT_ERROR",e.UNSUPPORTED_FORMATTER="UNSUPPORTED_FORMATTER",e.INVALID_CONFIG="INVALID_CONFIG",e.MISSING_DATA="MISSING_DATA",e.MISSING_TRANSLATION="MISSING_TRANSLATION"})(Cn||(Cn={}));var jo=function(e){Lt(t,e);function t(r,n,a){var o=this,s=a?a instanceof Error?a:new Error(String(a)):void 0;return o=e.call(this,"[@formatjs/intl Error ".concat(r,"] ").concat(n,`
63
+ `,ar.MISSING_INTL_API,s);var R=r.getPluralRules(t,{type:c.pluralType}).select(d-(c.offset||0));w=c.options[R]||c.options.other}if(!w)throw new Zv(c.value,d,Object.keys(c.options),s);i.push.apply(i,qi(w.value,t,r,n,a,d-(c.offset||0)));continue}}return dI(i)}function pI(e,t){return t?de(de(de({},e||{}),t||{}),Object.keys(e).reduce(function(r,n){return r[n]=de(de({},e[n]),t[n]||{}),r},{})):e}function hI(e,t){return t?Object.keys(e).reduce(function(r,n){return r[n]=pI(e[n],t[n]),r},de({},e)):e}function nd(e){return{create:function(){return{get:function(t){return e[t]},set:function(t,r){e[t]=r}}}}}function mI(e){return e===void 0&&(e={number:{},dateTime:{},pluralRules:{}}),{getNumberFormat:er(function(){for(var t,r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];return new((t=Intl.NumberFormat).bind.apply(t,nr([void 0],r,!1)))},{cache:nd(e.number),strategy:tr.variadic}),getDateTimeFormat:er(function(){for(var t,r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];return new((t=Intl.DateTimeFormat).bind.apply(t,nr([void 0],r,!1)))},{cache:nd(e.dateTime),strategy:tr.variadic}),getPluralRules:er(function(){for(var t,r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];return new((t=Intl.PluralRules).bind.apply(t,nr([void 0],r,!1)))},{cache:nd(e.pluralRules),strategy:tr.variadic})}}var U0=function(){function e(t,r,n,a){r===void 0&&(r=e.defaultLocale);var o=this;if(this.formatterCache={number:{},dateTime:{},pluralRules:{}},this.format=function(l){var u=o.formatToParts(l);if(u.length===1)return u[0].value;var c=u.reduce(function(p,d){return!p.length||d.type!==wt.literal||typeof p[p.length-1]!="string"?p.push(d.value):p[p.length-1]+=d.value,p},[]);return c.length<=1?c[0]||"":c},this.formatToParts=function(l){return qi(o.ast,o.locales,o.formatters,o.formats,l,void 0,o.message)},this.resolvedOptions=function(){var l;return{locale:((l=o.resolvedLocale)===null||l===void 0?void 0:l.toString())||Intl.NumberFormat.supportedLocalesOf(o.locales)[0]}},this.getAst=function(){return o.ast},this.locales=r,this.resolvedLocale=e.resolveLocale(r),typeof t=="string"){if(this.message=t,!e.__parse)throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");var s=a||{};s.formatters;var i=ha(s,["formatters"]);this.ast=e.__parse(t,de(de({},i),{locale:this.resolvedLocale}))}else this.ast=t;if(!Array.isArray(this.ast))throw new TypeError("A message must be provided as a String or AST.");this.formats=hI(e.formats,n),this.formatters=a&&a.formatters||mI(this.formatterCache)}return Object.defineProperty(e,"defaultLocale",{get:function(){return e.memoizedDefaultLocale||(e.memoizedDefaultLocale=new Intl.NumberFormat().resolvedOptions().locale),e.memoizedDefaultLocale},enumerable:!1,configurable:!0}),e.memoizedDefaultLocale=null,e.resolveLocale=function(t){if(!(typeof Intl.Locale>"u")){var r=Intl.NumberFormat.supportedLocalesOf(t);return r.length>0?new Intl.Locale(r[0]):new Intl.Locale(typeof t=="string"?t:t[0])}},e.__parse=nI,e.formats={number:{integer:{maximumFractionDigits:0},currency:{style:"currency"},percent:{style:"percent"}},date:{short:{month:"numeric",day:"numeric",year:"2-digit"},medium:{month:"short",day:"numeric",year:"numeric"},long:{month:"long",day:"numeric",year:"numeric"},full:{weekday:"long",month:"long",day:"numeric",year:"numeric"}},time:{short:{hour:"numeric",minute:"numeric"},medium:{hour:"numeric",minute:"numeric",second:"numeric"},long:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"},full:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"}}},e}(),Cn;(function(e){e.FORMAT_ERROR="FORMAT_ERROR",e.UNSUPPORTED_FORMATTER="UNSUPPORTED_FORMATTER",e.INVALID_CONFIG="INVALID_CONFIG",e.MISSING_DATA="MISSING_DATA",e.MISSING_TRANSLATION="MISSING_TRANSLATION"})(Cn||(Cn={}));var jo=function(e){Lt(t,e);function t(r,n,a){var o=this,s=a?a instanceof Error?a:new Error(String(a)):void 0;return o=e.call(this,"[@formatjs/intl Error ".concat(r,"] ").concat(n,`
64
64
  `).concat(s?`
65
65
  `.concat(s.message,`
66
- `).concat(s.stack):""))||this,o.code=r,typeof Error.captureStackTrace=="function"&&Error.captureStackTrace(o,t),o}return t}(Error),mI=function(e){Lt(t,e);function t(r,n){return e.call(this,Cn.UNSUPPORTED_FORMATTER,r,n)||this}return t}(jo),yI=function(e){Lt(t,e);function t(r,n){return e.call(this,Cn.INVALID_CONFIG,r,n)||this}return t}(jo),eg=function(e){Lt(t,e);function t(r,n){return e.call(this,Cn.MISSING_DATA,r,n)||this}return t}(jo),Bt=function(e){Lt(t,e);function t(r,n,a){var o=e.call(this,Cn.FORMAT_ERROR,"".concat(r,`
66
+ `).concat(s.stack):""))||this,o.code=r,typeof Error.captureStackTrace=="function"&&Error.captureStackTrace(o,t),o}return t}(Error),yI=function(e){Lt(t,e);function t(r,n){return e.call(this,Cn.UNSUPPORTED_FORMATTER,r,n)||this}return t}(jo),vI=function(e){Lt(t,e);function t(r,n){return e.call(this,Cn.INVALID_CONFIG,r,n)||this}return t}(jo),eg=function(e){Lt(t,e);function t(r,n){return e.call(this,Cn.MISSING_DATA,r,n)||this}return t}(jo),Bt=function(e){Lt(t,e);function t(r,n,a){var o=e.call(this,Cn.FORMAT_ERROR,"".concat(r,`
67
67
  Locale: `).concat(n,`
68
68
  `),a)||this;return o.locale=n,o}return t}(jo),ad=function(e){Lt(t,e);function t(r,n,a,o){var s=e.call(this,"".concat(r,`
69
69
  MessageID: `).concat(a==null?void 0:a.id,`
70
70
  Default Message: `).concat(a==null?void 0:a.defaultMessage,`
71
71
  Description: `).concat(a==null?void 0:a.description,`
72
- `),n,o)||this;return s.descriptor=a,s.locale=n,s}return t}(Bt),vI=function(e){Lt(t,e);function t(r,n){var a=e.call(this,Cn.MISSING_TRANSLATION,'Missing message: "'.concat(r.id,'" for locale "').concat(n,'", using ').concat(r.defaultMessage?"default message (".concat(typeof r.defaultMessage=="string"?r.defaultMessage:r.defaultMessage.map(function(o){var s;return(s=o.value)!==null&&s!==void 0?s:JSON.stringify(o)}).join(),")"):"id"," as fallback."))||this;return a.descriptor=r,a}return t}(jo);function An(e,t,r){return r===void 0&&(r={}),t.reduce(function(n,a){return a in e?n[a]=e[a]:a in r&&(n[a]=r[a]),n},{})}var gI=function(e){process.env.NODE_ENV!=="production"&&console.error(e)},bI=function(e){process.env.NODE_ENV!=="production"&&console.warn(e)},j0={formats:{},messages:{},timeZone:void 0,defaultLocale:"en",defaultFormats:{},fallbackOnEmptyString:!0,onError:gI,onWarn:bI};function H0(){return{dateTime:{},number:{},message:{},relativeTime:{},pluralRules:{},list:{},displayNames:{}}}function vn(e){return{create:function(){return{get:function(t){return e[t]},set:function(t,r){e[t]=r}}}}}function EI(e){e===void 0&&(e=H0());var t=Intl.RelativeTimeFormat,r=Intl.ListFormat,n=Intl.DisplayNames,a=er(function(){for(var i,l=[],u=0;u<arguments.length;u++)l[u]=arguments[u];return new((i=Intl.DateTimeFormat).bind.apply(i,nr([void 0],l,!1)))},{cache:vn(e.dateTime),strategy:tr.variadic}),o=er(function(){for(var i,l=[],u=0;u<arguments.length;u++)l[u]=arguments[u];return new((i=Intl.NumberFormat).bind.apply(i,nr([void 0],l,!1)))},{cache:vn(e.number),strategy:tr.variadic}),s=er(function(){for(var i,l=[],u=0;u<arguments.length;u++)l[u]=arguments[u];return new((i=Intl.PluralRules).bind.apply(i,nr([void 0],l,!1)))},{cache:vn(e.pluralRules),strategy:tr.variadic});return{getDateTimeFormat:a,getNumberFormat:o,getMessageFormat:er(function(i,l,u,c){return new U0(i,l,u,de({formatters:{getNumberFormat:o,getDateTimeFormat:a,getPluralRules:s}},c||{}))},{cache:vn(e.message),strategy:tr.variadic}),getRelativeTimeFormat:er(function(){for(var i=[],l=0;l<arguments.length;l++)i[l]=arguments[l];return new(t.bind.apply(t,nr([void 0],i,!1)))},{cache:vn(e.relativeTime),strategy:tr.variadic}),getPluralRules:s,getListFormat:er(function(){for(var i=[],l=0;l<arguments.length;l++)i[l]=arguments[l];return new(r.bind.apply(r,nr([void 0],i,!1)))},{cache:vn(e.list),strategy:tr.variadic}),getDisplayNames:er(function(){for(var i=[],l=0;l<arguments.length;l++)i[l]=arguments[l];return new(n.bind.apply(n,nr([void 0],i,!1)))},{cache:vn(e.displayNames),strategy:tr.variadic})}}function Ph(e,t,r,n){var a=e&&e[t],o;if(a&&(o=a[r]),o)return o;n(new mI("No ".concat(t," format named: ").concat(r)))}function xi(e,t){return Object.keys(e).reduce(function(r,n){return r[n]=de({timeZone:t},e[n]),r},{})}function tg(e,t){var r=Object.keys(de(de({},e),t));return r.reduce(function(n,a){return n[a]=de(de({},e[a]||{}),t[a]||{}),n},{})}function rg(e,t){if(!t)return e;var r=U0.formats;return de(de(de({},r),e),{date:tg(xi(r.date,t),xi(e.date||{},t)),time:tg(xi(r.time,t),xi(e.time||{},t))})}var yp=function(e,t,r,n,a){var o=e.locale,s=e.formats,i=e.messages,l=e.defaultLocale,u=e.defaultFormats,c=e.fallbackOnEmptyString,p=e.onError,d=e.timeZone,f=e.defaultRichTextElements;r===void 0&&(r={id:""});var h=r.id,m=r.defaultMessage;T0(!!h,"[@formatjs/intl] An `id` must be provided to format a message. You can either:\n1. Configure your build toolchain with [babel-plugin-formatjs](https://formatjs.io/docs/tooling/babel-plugin)\nor [@formatjs/ts-transformer](https://formatjs.io/docs/tooling/ts-transformer) OR\n2. Configure your `eslint` config to include [eslint-plugin-formatjs](https://formatjs.io/docs/tooling/linter#enforce-id)\nto autofix this issue");var _=String(h),b=i&&Object.prototype.hasOwnProperty.call(i,_)&&i[_];if(Array.isArray(b)&&b.length===1&&b[0].type===Ue.literal)return b[0].value;if(!n&&b&&typeof b=="string"&&!f)return b.replace(/'\{(.*?)\}'/gi,"{$1}");if(n=de(de({},f),n||{}),s=rg(s,d),u=rg(u,d),!b){if(c===!1&&b==="")return b;if((!m||o&&o.toLowerCase()!==l.toLowerCase())&&p(new vI(r,o)),m)try{var v=t.getMessageFormat(m,l,u,a);return v.format(n)}catch(w){return p(new ad('Error formatting default message for: "'.concat(_,'", rendering default message verbatim'),o,r,w)),typeof m=="string"?m:_}return _}try{var v=t.getMessageFormat(b,o,s,de({formatters:t},a||{}));return v.format(n)}catch(w){p(new ad('Error formatting message: "'.concat(_,'", using ').concat(m?"default message":"id"," as fallback."),o,r,w))}if(m)try{var v=t.getMessageFormat(m,l,u,a);return v.format(n)}catch(w){p(new ad('Error formatting the default message for: "'.concat(_,'", rendering message verbatim'),o,r,w))}return typeof b=="string"?b:typeof m=="string"?m:_},G0=["formatMatcher","timeZone","hour12","weekday","era","year","month","day","hour","minute","second","timeZoneName","hourCycle","dateStyle","timeStyle","calendar","numberingSystem","fractionalSecondDigits"];function Ns(e,t,r,n){var a=e.locale,o=e.formats,s=e.onError,i=e.timeZone;n===void 0&&(n={});var l=n.format,u=de(de({},i&&{timeZone:i}),l&&Ph(o,t,l,s)),c=An(n,G0,u);return t==="time"&&!c.hour&&!c.minute&&!c.second&&!c.timeStyle&&!c.dateStyle&&(c=de(de({},c),{hour:"numeric",minute:"numeric"})),r(a,c)}function _I(e,t){for(var r=[],n=2;n<arguments.length;n++)r[n-2]=arguments[n];var a=r[0],o=r[1],s=o===void 0?{}:o,i=typeof a=="string"?new Date(a||0):a;try{return Ns(e,"date",t,s).format(i)}catch(l){e.onError(new Bt("Error formatting date.",e.locale,l))}return String(i)}function wI(e,t){for(var r=[],n=2;n<arguments.length;n++)r[n-2]=arguments[n];var a=r[0],o=r[1],s=o===void 0?{}:o,i=typeof a=="string"?new Date(a||0):a;try{return Ns(e,"time",t,s).format(i)}catch(l){e.onError(new Bt("Error formatting time.",e.locale,l))}return String(i)}function TI(e,t){for(var r=[],n=2;n<arguments.length;n++)r[n-2]=arguments[n];var a=r[0],o=r[1],s=r[2],i=s===void 0?{}:s,l=e.timeZone,u=e.locale,c=e.onError,p=An(i,G0,l?{timeZone:l}:{});try{return t(u,p).formatRange(a,o)}catch(d){c(new Bt("Error formatting date time range.",e.locale,d))}return String(a)}function SI(e,t){for(var r=[],n=2;n<arguments.length;n++)r[n-2]=arguments[n];var a=r[0],o=r[1],s=o===void 0?{}:o,i=typeof a=="string"?new Date(a||0):a;try{return Ns(e,"date",t,s).formatToParts(i)}catch(l){e.onError(new Bt("Error formatting date.",e.locale,l))}return[]}function RI(e,t){for(var r=[],n=2;n<arguments.length;n++)r[n-2]=arguments[n];var a=r[0],o=r[1],s=o===void 0?{}:o,i=typeof a=="string"?new Date(a||0):a;try{return Ns(e,"time",t,s).formatToParts(i)}catch(l){e.onError(new Bt("Error formatting time.",e.locale,l))}return[]}var CI=["style","type","fallback","languageDisplay"];function OI(e,t,r,n){var a=e.locale,o=e.onError,s=Intl.DisplayNames;s||o(new Jr(`Intl.DisplayNames is not available in this environment.
72
+ `),n,o)||this;return s.descriptor=a,s.locale=n,s}return t}(Bt),gI=function(e){Lt(t,e);function t(r,n){var a=e.call(this,Cn.MISSING_TRANSLATION,'Missing message: "'.concat(r.id,'" for locale "').concat(n,'", using ').concat(r.defaultMessage?"default message (".concat(typeof r.defaultMessage=="string"?r.defaultMessage:r.defaultMessage.map(function(o){var s;return(s=o.value)!==null&&s!==void 0?s:JSON.stringify(o)}).join(),")"):"id"," as fallback."))||this;return a.descriptor=r,a}return t}(jo);function An(e,t,r){return r===void 0&&(r={}),t.reduce(function(n,a){return a in e?n[a]=e[a]:a in r&&(n[a]=r[a]),n},{})}var bI=function(e){process.env.NODE_ENV!=="production"&&console.error(e)},EI=function(e){process.env.NODE_ENV!=="production"&&console.warn(e)},j0={formats:{},messages:{},timeZone:void 0,defaultLocale:"en",defaultFormats:{},fallbackOnEmptyString:!0,onError:bI,onWarn:EI};function H0(){return{dateTime:{},number:{},message:{},relativeTime:{},pluralRules:{},list:{},displayNames:{}}}function vn(e){return{create:function(){return{get:function(t){return e[t]},set:function(t,r){e[t]=r}}}}}function _I(e){e===void 0&&(e=H0());var t=Intl.RelativeTimeFormat,r=Intl.ListFormat,n=Intl.DisplayNames,a=er(function(){for(var i,l=[],u=0;u<arguments.length;u++)l[u]=arguments[u];return new((i=Intl.DateTimeFormat).bind.apply(i,nr([void 0],l,!1)))},{cache:vn(e.dateTime),strategy:tr.variadic}),o=er(function(){for(var i,l=[],u=0;u<arguments.length;u++)l[u]=arguments[u];return new((i=Intl.NumberFormat).bind.apply(i,nr([void 0],l,!1)))},{cache:vn(e.number),strategy:tr.variadic}),s=er(function(){for(var i,l=[],u=0;u<arguments.length;u++)l[u]=arguments[u];return new((i=Intl.PluralRules).bind.apply(i,nr([void 0],l,!1)))},{cache:vn(e.pluralRules),strategy:tr.variadic});return{getDateTimeFormat:a,getNumberFormat:o,getMessageFormat:er(function(i,l,u,c){return new U0(i,l,u,de({formatters:{getNumberFormat:o,getDateTimeFormat:a,getPluralRules:s}},c||{}))},{cache:vn(e.message),strategy:tr.variadic}),getRelativeTimeFormat:er(function(){for(var i=[],l=0;l<arguments.length;l++)i[l]=arguments[l];return new(t.bind.apply(t,nr([void 0],i,!1)))},{cache:vn(e.relativeTime),strategy:tr.variadic}),getPluralRules:s,getListFormat:er(function(){for(var i=[],l=0;l<arguments.length;l++)i[l]=arguments[l];return new(r.bind.apply(r,nr([void 0],i,!1)))},{cache:vn(e.list),strategy:tr.variadic}),getDisplayNames:er(function(){for(var i=[],l=0;l<arguments.length;l++)i[l]=arguments[l];return new(n.bind.apply(n,nr([void 0],i,!1)))},{cache:vn(e.displayNames),strategy:tr.variadic})}}function Ph(e,t,r,n){var a=e&&e[t],o;if(a&&(o=a[r]),o)return o;n(new yI("No ".concat(t," format named: ").concat(r)))}function xi(e,t){return Object.keys(e).reduce(function(r,n){return r[n]=de({timeZone:t},e[n]),r},{})}function tg(e,t){var r=Object.keys(de(de({},e),t));return r.reduce(function(n,a){return n[a]=de(de({},e[a]||{}),t[a]||{}),n},{})}function rg(e,t){if(!t)return e;var r=U0.formats;return de(de(de({},r),e),{date:tg(xi(r.date,t),xi(e.date||{},t)),time:tg(xi(r.time,t),xi(e.time||{},t))})}var yp=function(e,t,r,n,a){var o=e.locale,s=e.formats,i=e.messages,l=e.defaultLocale,u=e.defaultFormats,c=e.fallbackOnEmptyString,p=e.onError,d=e.timeZone,f=e.defaultRichTextElements;r===void 0&&(r={id:""});var h=r.id,m=r.defaultMessage;T0(!!h,"[@formatjs/intl] An `id` must be provided to format a message. You can either:\n1. Configure your build toolchain with [babel-plugin-formatjs](https://formatjs.io/docs/tooling/babel-plugin)\nor [@formatjs/ts-transformer](https://formatjs.io/docs/tooling/ts-transformer) OR\n2. Configure your `eslint` config to include [eslint-plugin-formatjs](https://formatjs.io/docs/tooling/linter#enforce-id)\nto autofix this issue");var _=String(h),b=i&&Object.prototype.hasOwnProperty.call(i,_)&&i[_];if(Array.isArray(b)&&b.length===1&&b[0].type===Ue.literal)return b[0].value;if(!n&&b&&typeof b=="string"&&!f)return b.replace(/'\{(.*?)\}'/gi,"{$1}");if(n=de(de({},f),n||{}),s=rg(s,d),u=rg(u,d),!b){if(c===!1&&b==="")return b;if((!m||o&&o.toLowerCase()!==l.toLowerCase())&&p(new gI(r,o)),m)try{var v=t.getMessageFormat(m,l,u,a);return v.format(n)}catch(w){return p(new ad('Error formatting default message for: "'.concat(_,'", rendering default message verbatim'),o,r,w)),typeof m=="string"?m:_}return _}try{var v=t.getMessageFormat(b,o,s,de({formatters:t},a||{}));return v.format(n)}catch(w){p(new ad('Error formatting message: "'.concat(_,'", using ').concat(m?"default message":"id"," as fallback."),o,r,w))}if(m)try{var v=t.getMessageFormat(m,l,u,a);return v.format(n)}catch(w){p(new ad('Error formatting the default message for: "'.concat(_,'", rendering message verbatim'),o,r,w))}return typeof b=="string"?b:typeof m=="string"?m:_},G0=["formatMatcher","timeZone","hour12","weekday","era","year","month","day","hour","minute","second","timeZoneName","hourCycle","dateStyle","timeStyle","calendar","numberingSystem","fractionalSecondDigits"];function Ns(e,t,r,n){var a=e.locale,o=e.formats,s=e.onError,i=e.timeZone;n===void 0&&(n={});var l=n.format,u=de(de({},i&&{timeZone:i}),l&&Ph(o,t,l,s)),c=An(n,G0,u);return t==="time"&&!c.hour&&!c.minute&&!c.second&&!c.timeStyle&&!c.dateStyle&&(c=de(de({},c),{hour:"numeric",minute:"numeric"})),r(a,c)}function wI(e,t){for(var r=[],n=2;n<arguments.length;n++)r[n-2]=arguments[n];var a=r[0],o=r[1],s=o===void 0?{}:o,i=typeof a=="string"?new Date(a||0):a;try{return Ns(e,"date",t,s).format(i)}catch(l){e.onError(new Bt("Error formatting date.",e.locale,l))}return String(i)}function TI(e,t){for(var r=[],n=2;n<arguments.length;n++)r[n-2]=arguments[n];var a=r[0],o=r[1],s=o===void 0?{}:o,i=typeof a=="string"?new Date(a||0):a;try{return Ns(e,"time",t,s).format(i)}catch(l){e.onError(new Bt("Error formatting time.",e.locale,l))}return String(i)}function SI(e,t){for(var r=[],n=2;n<arguments.length;n++)r[n-2]=arguments[n];var a=r[0],o=r[1],s=r[2],i=s===void 0?{}:s,l=e.timeZone,u=e.locale,c=e.onError,p=An(i,G0,l?{timeZone:l}:{});try{return t(u,p).formatRange(a,o)}catch(d){c(new Bt("Error formatting date time range.",e.locale,d))}return String(a)}function RI(e,t){for(var r=[],n=2;n<arguments.length;n++)r[n-2]=arguments[n];var a=r[0],o=r[1],s=o===void 0?{}:o,i=typeof a=="string"?new Date(a||0):a;try{return Ns(e,"date",t,s).formatToParts(i)}catch(l){e.onError(new Bt("Error formatting date.",e.locale,l))}return[]}function CI(e,t){for(var r=[],n=2;n<arguments.length;n++)r[n-2]=arguments[n];var a=r[0],o=r[1],s=o===void 0?{}:o,i=typeof a=="string"?new Date(a||0):a;try{return Ns(e,"time",t,s).formatToParts(i)}catch(l){e.onError(new Bt("Error formatting time.",e.locale,l))}return[]}var OI=["style","type","fallback","languageDisplay"];function xI(e,t,r,n){var a=e.locale,o=e.onError,s=Intl.DisplayNames;s||o(new Jr(`Intl.DisplayNames is not available in this environment.
73
73
  Try polyfilling it using "@formatjs/intl-displaynames"
74
- `,ar.MISSING_INTL_API));var i=An(n,CI);try{return t(a,i).of(r)}catch(l){o(new Bt("Error formatting display name.",a,l))}}var xI=["type","style"],ng=Date.now();function PI(e){return"".concat(ng,"_").concat(e,"_").concat(ng)}function AI(e,t,r,n){n===void 0&&(n={});var a=W0(e,t,r,n).reduce(function(o,s){var i=s.value;return typeof i!="string"?o.push(i):typeof o[o.length-1]=="string"?o[o.length-1]+=i:o.push(i),o},[]);return a.length===1?a[0]:a.length===0?"":a}function W0(e,t,r,n){var a=e.locale,o=e.onError;n===void 0&&(n={});var s=Intl.ListFormat;s||o(new Jr(`Intl.ListFormat is not available in this environment.
74
+ `,ar.MISSING_INTL_API));var i=An(n,OI);try{return t(a,i).of(r)}catch(l){o(new Bt("Error formatting display name.",a,l))}}var PI=["type","style"],ng=Date.now();function AI(e){return"".concat(ng,"_").concat(e,"_").concat(ng)}function II(e,t,r,n){n===void 0&&(n={});var a=W0(e,t,r,n).reduce(function(o,s){var i=s.value;return typeof i!="string"?o.push(i):typeof o[o.length-1]=="string"?o[o.length-1]+=i:o.push(i),o},[]);return a.length===1?a[0]:a.length===0?"":a}function W0(e,t,r,n){var a=e.locale,o=e.onError;n===void 0&&(n={});var s=Intl.ListFormat;s||o(new Jr(`Intl.ListFormat is not available in this environment.
75
75
  Try polyfilling it using "@formatjs/intl-listformat"
76
- `,ar.MISSING_INTL_API));var i=An(n,xI);try{var l={},u=r.map(function(c,p){if(typeof c=="object"){var d=PI(p);return l[d]=c,d}return String(c)});return t(a,i).formatToParts(u).map(function(c){return c.type==="literal"?c:de(de({},c),{value:l[c.value]||c.value})})}catch(c){o(new Bt("Error formatting list.",a,c))}return r}var II=["type"];function NI(e,t,r,n){var a=e.locale,o=e.onError;n===void 0&&(n={}),Intl.PluralRules||o(new Jr(`Intl.PluralRules is not available in this environment.
76
+ `,ar.MISSING_INTL_API));var i=An(n,PI);try{var l={},u=r.map(function(c,p){if(typeof c=="object"){var d=AI(p);return l[d]=c,d}return String(c)});return t(a,i).formatToParts(u).map(function(c){return c.type==="literal"?c:de(de({},c),{value:l[c.value]||c.value})})}catch(c){o(new Bt("Error formatting list.",a,c))}return r}var NI=["type"];function MI(e,t,r,n){var a=e.locale,o=e.onError;n===void 0&&(n={}),Intl.PluralRules||o(new Jr(`Intl.PluralRules is not available in this environment.
77
77
  Try polyfilling it using "@formatjs/intl-pluralrules"
78
- `,ar.MISSING_INTL_API));var s=An(n,II);try{return t(a,s).select(r)}catch(i){o(new Bt("Error formatting plural.",a,i))}return"other"}var MI=["numeric","style"];function kI(e,t,r){var n=e.locale,a=e.formats,o=e.onError;r===void 0&&(r={});var s=r.format,i=!!s&&Ph(a,"relative",s,o)||{},l=An(r,MI,i);return t(n,l)}function $I(e,t,r,n,a){a===void 0&&(a={}),n||(n="second");var o=Intl.RelativeTimeFormat;o||e.onError(new Jr(`Intl.RelativeTimeFormat is not available in this environment.
78
+ `,ar.MISSING_INTL_API));var s=An(n,NI);try{return t(a,s).select(r)}catch(i){o(new Bt("Error formatting plural.",a,i))}return"other"}var kI=["numeric","style"];function $I(e,t,r){var n=e.locale,a=e.formats,o=e.onError;r===void 0&&(r={});var s=r.format,i=!!s&&Ph(a,"relative",s,o)||{},l=An(r,kI,i);return t(n,l)}function LI(e,t,r,n,a){a===void 0&&(a={}),n||(n="second");var o=Intl.RelativeTimeFormat;o||e.onError(new Jr(`Intl.RelativeTimeFormat is not available in this environment.
79
79
  Try polyfilling it using "@formatjs/intl-relativetimeformat"
80
- `,ar.MISSING_INTL_API));try{return kI(e,t,a).format(r,n)}catch(s){e.onError(new Bt("Error formatting relative time.",e.locale,s))}return String(r)}var LI=["style","currency","currencyDisplay","unit","unitDisplay","useGrouping","minimumIntegerDigits","minimumFractionDigits","maximumFractionDigits","minimumSignificantDigits","maximumSignificantDigits","compactDisplay","currencyDisplay","currencySign","notation","signDisplay","unit","unitDisplay","numberingSystem"];function V0(e,t,r){var n=e.locale,a=e.formats,o=e.onError;r===void 0&&(r={});var s=r.format,i=s&&Ph(a,"number",s,o)||{},l=An(r,LI,i);return t(n,l)}function BI(e,t,r,n){n===void 0&&(n={});try{return V0(e,t,n).format(r)}catch(a){e.onError(new Bt("Error formatting number.",e.locale,a))}return String(r)}function qI(e,t,r,n){n===void 0&&(n={});try{return V0(e,t,n).formatToParts(r)}catch(a){e.onError(new Bt("Error formatting number.",e.locale,a))}return[]}function DI(e){var t=e?e[Object.keys(e)[0]]:void 0;return typeof t=="string"}function FI(e){e.onWarn&&e.defaultRichTextElements&&DI(e.messages||{})&&e.onWarn(`[@formatjs/intl] "defaultRichTextElements" was specified but "message" was not pre-compiled.
80
+ `,ar.MISSING_INTL_API));try{return $I(e,t,a).format(r,n)}catch(s){e.onError(new Bt("Error formatting relative time.",e.locale,s))}return String(r)}var BI=["style","currency","currencyDisplay","unit","unitDisplay","useGrouping","minimumIntegerDigits","minimumFractionDigits","maximumFractionDigits","minimumSignificantDigits","maximumSignificantDigits","compactDisplay","currencyDisplay","currencySign","notation","signDisplay","unit","unitDisplay","numberingSystem"];function V0(e,t,r){var n=e.locale,a=e.formats,o=e.onError;r===void 0&&(r={});var s=r.format,i=s&&Ph(a,"number",s,o)||{},l=An(r,BI,i);return t(n,l)}function qI(e,t,r,n){n===void 0&&(n={});try{return V0(e,t,n).format(r)}catch(a){e.onError(new Bt("Error formatting number.",e.locale,a))}return String(r)}function DI(e,t,r,n){n===void 0&&(n={});try{return V0(e,t,n).formatToParts(r)}catch(a){e.onError(new Bt("Error formatting number.",e.locale,a))}return[]}function FI(e){var t=e?e[Object.keys(e)[0]]:void 0;return typeof t=="string"}function UI(e){e.onWarn&&e.defaultRichTextElements&&FI(e.messages||{})&&e.onWarn(`[@formatjs/intl] "defaultRichTextElements" was specified but "message" was not pre-compiled.
81
81
  Please consider using "@formatjs/cli" to pre-compile your messages for performance.
82
- For more details see https://formatjs.io/docs/getting-started/message-distribution`)}function UI(e,t){var r=EI(t),n=de(de({},j0),e),a=n.locale,o=n.defaultLocale,s=n.onError;return a?!Intl.NumberFormat.supportedLocalesOf(a).length&&s?s(new eg('Missing locale data for locale: "'.concat(a,'" in Intl.NumberFormat. Using default locale: "').concat(o,'" as fallback. See https://formatjs.io/docs/react-intl#runtime-requirements for more details'))):!Intl.DateTimeFormat.supportedLocalesOf(a).length&&s&&s(new eg('Missing locale data for locale: "'.concat(a,'" in Intl.DateTimeFormat. Using default locale: "').concat(o,'" as fallback. See https://formatjs.io/docs/react-intl#runtime-requirements for more details'))):(s&&s(new yI('"locale" was not configured, using "'.concat(o,'" as fallback. See https://formatjs.io/docs/react-intl/api#intlshape for more details'))),n.locale=n.defaultLocale||"en"),FI(n),de(de({},n),{formatters:r,formatNumber:BI.bind(null,n,r.getNumberFormat),formatNumberToParts:qI.bind(null,n,r.getNumberFormat),formatRelativeTime:$I.bind(null,n,r.getRelativeTimeFormat),formatDate:_I.bind(null,n,r.getDateTimeFormat),formatDateToParts:SI.bind(null,n,r.getDateTimeFormat),formatTime:wI.bind(null,n,r.getDateTimeFormat),formatDateTimeRange:TI.bind(null,n,r.getDateTimeFormat),formatTimeToParts:RI.bind(null,n,r.getDateTimeFormat),formatPlural:NI.bind(null,n,r.getPluralRules),formatMessage:yp.bind(null,n,r),$t:yp.bind(null,n,r),formatList:AI.bind(null,n,r.getListFormat),formatListToParts:W0.bind(null,n,r.getListFormat),formatDisplayName:OI.bind(null,n,r.getDisplayNames)})}function z0(e){T0(e,"[React Intl] Could not find required `intl` object. <IntlProvider> needs to exist in the component ancestry.")}var Y0=de(de({},j0),{textComponent:We.Fragment});function jI(e){return function(t){return e(We.Children.toArray(t))}}function vp(e,t){if(e===t)return!0;if(!e||!t)return!1;var r=Object.keys(e),n=Object.keys(t),a=r.length;if(n.length!==a)return!1;for(var o=0;o<a;o++){var s=r[o];if(e[s]!==t[s]||!Object.prototype.hasOwnProperty.call(t,s))return!1}return!0}var Ah=typeof window<"u"&&!window.__REACT_INTL_BYPASS_GLOBAL_CONTEXT__?window.__REACT_INTL_CONTEXT__||(window.__REACT_INTL_CONTEXT__=We.createContext(null)):We.createContext(null);Ah.Consumer;var HI=Ah.Provider,GI=HI,WI=Ah;function ut(){var e=We.useContext(WI);return z0(e),e}var gp;(function(e){e.formatDate="FormattedDate",e.formatTime="FormattedTime",e.formatNumber="FormattedNumber",e.formatList="FormattedList",e.formatDisplayName="FormattedDisplayName"})(gp||(gp={}));var bp;(function(e){e.formatDate="FormattedDateParts",e.formatTime="FormattedTimeParts",e.formatNumber="FormattedNumberParts",e.formatList="FormattedListParts"})(bp||(bp={}));function K0(e){var t=function(r){var n=ut(),a=r.value,o=r.children,s=ma(r,["value","children"]),i=typeof a=="string"?new Date(a||0):a,l=e==="formatDate"?n.formatDateToParts(i,s):n.formatTimeToParts(i,s);return o(l)};return t.displayName=bp[e],t}function Ho(e){var t=function(r){var n=ut(),a=r.value,o=r.children,s=ma(r,["value","children"]),i=n[e](a,s);if(typeof o=="function")return o(i);var l=n.textComponent||We.Fragment;return We.createElement(l,null,i)};return t.displayName=gp[e],t}function od(e){return{locale:e.locale,timeZone:e.timeZone,fallbackOnEmptyString:e.fallbackOnEmptyString,formats:e.formats,textComponent:e.textComponent,messages:e.messages,defaultLocale:e.defaultLocale,defaultFormats:e.defaultFormats,onError:e.onError,onWarn:e.onWarn,wrapRichTextChunksInFragment:e.wrapRichTextChunksInFragment,defaultRichTextElements:e.defaultRichTextElements}}function X0(e){return e&&Object.keys(e).reduce(function(t,r){var n=e[r];return t[r]=F0(n)?jI(n):n,t},{})}var ag=function(e,t,r,n){for(var a=[],o=4;o<arguments.length;o++)a[o-4]=arguments[o];var s=X0(n),i=yp.apply(void 0,nr([e,t,r,s],a,!1));return Array.isArray(i)?We.Children.toArray(i):i},Ep=function(e,t){var r=e.defaultRichTextElements,n=ma(e,["defaultRichTextElements"]),a=X0(r),o=UI(de(de(de({},Y0),n),{defaultRichTextElements:a}),t),s={locale:o.locale,timeZone:o.timeZone,fallbackOnEmptyString:o.fallbackOnEmptyString,formats:o.formats,defaultLocale:o.defaultLocale,defaultFormats:o.defaultFormats,messages:o.messages,onError:o.onError,defaultRichTextElements:a};return de(de({},o),{formatMessage:ag.bind(null,s,o.formatters),$t:ag.bind(null,s,o.formatters)})},VI=function(e){Lt(t,e);function t(){var r=e!==null&&e.apply(this,arguments)||this;return r.cache=H0(),r.state={cache:r.cache,intl:Ep(od(r.props),r.cache),prevConfig:od(r.props)},r}return t.getDerivedStateFromProps=function(r,n){var a=n.prevConfig,o=n.cache,s=od(r);return vp(a,s)?null:{intl:Ep(s,o),prevConfig:s}},t.prototype.render=function(){return z0(this.state.intl),We.createElement(GI,{value:this.state.intl},this.props.children)},t.displayName="IntlProvider",t.defaultProps=Y0,t}(We.PureComponent);function zI(e,t){var r=e.values,n=ma(e,["values"]),a=t.values,o=ma(t,["values"]);return vp(a,r)&&vp(n,o)}function Q0(e){var t=ut(),r=t.formatMessage,n=t.textComponent,a=n===void 0?We.Fragment:n,o=e.id,s=e.description,i=e.defaultMessage,l=e.values,u=e.children,c=e.tagName,p=c===void 0?a:c,d=e.ignoreTag,f={id:o,description:s,defaultMessage:i},h=r(f,l,{ignoreTag:d});return typeof u=="function"?u(Array.isArray(h)?h:[h]):p?We.createElement(p,null,We.Children.toArray(h)):We.createElement(We.Fragment,null,h)}Q0.displayName="FormattedMessage";var J0=We.memo(Q0,zI);J0.displayName="MemoizedFormattedMessage";const _n=J0;Ho("formatDate");Ho("formatTime");Ho("formatNumber");Ho("formatList");Ho("formatDisplayName");K0("formatDate");K0("formatTime");const Z0={apolitical:"Apolitical",card_bootcamp:"Email boot camp",card_ended:"Ended",card_registered:"Registered",card_answers:"{number, plural, =0 {0 answers} one {# answer} other {# answers}}",card_time_ago:"{time} ago",card_time_read:"{time} min read",card_watch:"Watch recording",card_cta_people:"View profile",collapsibleSection_summary:"Find out more",contactFooter_title:"Contact us",contactFooter_text:"We're always open to new ideas, so please reach out to see how we can collaborate.",contactFooter_phone:"+44 203 608 2241",contactFooter_email:"hello@apolitical.co",contactForm_name:"Name",contactForm_email:"Email address",contactForm_organisation:"Government department or organisation",contactForm_interests:"I'm interested in",contactForm_interests_publishingCourse:"Publishing or creating a course",contactForm_interests_buyingCourse:"Buying courses for my team",contactForm_interests_learningExperience:"Customised learning experiences",contactForm_interests_somethingElse:"Something else",contactForm_message:"Message",cookieBanner_title:"Cookies and your privacy",cookieBanner_text:"We take your trust and privacy very seriously. Apolitical uses safe cookies (small files on your device) to run the site. You can reject non-essential cookies, but some site features may not work without them.",cookieBanner_buttons_settings:"Change my settings",cookieBanner_buttons_reject:"Reject all",cookieBanner_buttons_accept:"Accept all",discussion_edited:"Edited",discussion_delete_title:"Delete {action}",discussion_delete_text:"<p>Are you sure you want to delete your {action}?</p><p>This can't be undone.</p>",discussion_delete_delete:"Delete",discussion_delete_deleting:"Deleting...",discussion_delete_error:"We are unable to delete your {action} at the moment. Please try again later or contact us if problem persists.",discussion_action_response:"response",discussion_action_answer:"response",discussion_action_question:"question",discussion_action_reply:"reply",discussion_answer_likes:"{count, plural, =0 {0 likes} one {# like} other {# likes}}",discussion_answer_likes_like:"Like this answer",discussion_answer_likes_unlike:"Unlike answer",discussion_reply_likes:"{count, plural, =0 {0 likes} one {# like} other {# likes}}",discussion_reply_likes_like:"Like this reply",discussion_reply_likes_unlike:"Unlike reply",discussion_thread_reply_button:"Reply",discussion_thread_report_subject:"Report a post on Apolitical",discussion_thread_report_body:`I'd like to report the {contentType} <{contentSlug}> at {contentUrl}.
82
+ For more details see https://formatjs.io/docs/getting-started/message-distribution`)}function jI(e,t){var r=_I(t),n=de(de({},j0),e),a=n.locale,o=n.defaultLocale,s=n.onError;return a?!Intl.NumberFormat.supportedLocalesOf(a).length&&s?s(new eg('Missing locale data for locale: "'.concat(a,'" in Intl.NumberFormat. Using default locale: "').concat(o,'" as fallback. See https://formatjs.io/docs/react-intl#runtime-requirements for more details'))):!Intl.DateTimeFormat.supportedLocalesOf(a).length&&s&&s(new eg('Missing locale data for locale: "'.concat(a,'" in Intl.DateTimeFormat. Using default locale: "').concat(o,'" as fallback. See https://formatjs.io/docs/react-intl#runtime-requirements for more details'))):(s&&s(new vI('"locale" was not configured, using "'.concat(o,'" as fallback. See https://formatjs.io/docs/react-intl/api#intlshape for more details'))),n.locale=n.defaultLocale||"en"),UI(n),de(de({},n),{formatters:r,formatNumber:qI.bind(null,n,r.getNumberFormat),formatNumberToParts:DI.bind(null,n,r.getNumberFormat),formatRelativeTime:LI.bind(null,n,r.getRelativeTimeFormat),formatDate:wI.bind(null,n,r.getDateTimeFormat),formatDateToParts:RI.bind(null,n,r.getDateTimeFormat),formatTime:TI.bind(null,n,r.getDateTimeFormat),formatDateTimeRange:SI.bind(null,n,r.getDateTimeFormat),formatTimeToParts:CI.bind(null,n,r.getDateTimeFormat),formatPlural:MI.bind(null,n,r.getPluralRules),formatMessage:yp.bind(null,n,r),$t:yp.bind(null,n,r),formatList:II.bind(null,n,r.getListFormat),formatListToParts:W0.bind(null,n,r.getListFormat),formatDisplayName:xI.bind(null,n,r.getDisplayNames)})}function z0(e){T0(e,"[React Intl] Could not find required `intl` object. <IntlProvider> needs to exist in the component ancestry.")}var Y0=de(de({},j0),{textComponent:We.Fragment});function HI(e){return function(t){return e(We.Children.toArray(t))}}function vp(e,t){if(e===t)return!0;if(!e||!t)return!1;var r=Object.keys(e),n=Object.keys(t),a=r.length;if(n.length!==a)return!1;for(var o=0;o<a;o++){var s=r[o];if(e[s]!==t[s]||!Object.prototype.hasOwnProperty.call(t,s))return!1}return!0}var Ah=typeof window<"u"&&!window.__REACT_INTL_BYPASS_GLOBAL_CONTEXT__?window.__REACT_INTL_CONTEXT__||(window.__REACT_INTL_CONTEXT__=We.createContext(null)):We.createContext(null);Ah.Consumer;var GI=Ah.Provider,WI=GI,VI=Ah;function ut(){var e=We.useContext(VI);return z0(e),e}var gp;(function(e){e.formatDate="FormattedDate",e.formatTime="FormattedTime",e.formatNumber="FormattedNumber",e.formatList="FormattedList",e.formatDisplayName="FormattedDisplayName"})(gp||(gp={}));var bp;(function(e){e.formatDate="FormattedDateParts",e.formatTime="FormattedTimeParts",e.formatNumber="FormattedNumberParts",e.formatList="FormattedListParts"})(bp||(bp={}));function K0(e){var t=function(r){var n=ut(),a=r.value,o=r.children,s=ha(r,["value","children"]),i=typeof a=="string"?new Date(a||0):a,l=e==="formatDate"?n.formatDateToParts(i,s):n.formatTimeToParts(i,s);return o(l)};return t.displayName=bp[e],t}function Ho(e){var t=function(r){var n=ut(),a=r.value,o=r.children,s=ha(r,["value","children"]),i=n[e](a,s);if(typeof o=="function")return o(i);var l=n.textComponent||We.Fragment;return We.createElement(l,null,i)};return t.displayName=gp[e],t}function od(e){return{locale:e.locale,timeZone:e.timeZone,fallbackOnEmptyString:e.fallbackOnEmptyString,formats:e.formats,textComponent:e.textComponent,messages:e.messages,defaultLocale:e.defaultLocale,defaultFormats:e.defaultFormats,onError:e.onError,onWarn:e.onWarn,wrapRichTextChunksInFragment:e.wrapRichTextChunksInFragment,defaultRichTextElements:e.defaultRichTextElements}}function X0(e){return e&&Object.keys(e).reduce(function(t,r){var n=e[r];return t[r]=F0(n)?HI(n):n,t},{})}var ag=function(e,t,r,n){for(var a=[],o=4;o<arguments.length;o++)a[o-4]=arguments[o];var s=X0(n),i=yp.apply(void 0,nr([e,t,r,s],a,!1));return Array.isArray(i)?We.Children.toArray(i):i},Ep=function(e,t){var r=e.defaultRichTextElements,n=ha(e,["defaultRichTextElements"]),a=X0(r),o=jI(de(de(de({},Y0),n),{defaultRichTextElements:a}),t),s={locale:o.locale,timeZone:o.timeZone,fallbackOnEmptyString:o.fallbackOnEmptyString,formats:o.formats,defaultLocale:o.defaultLocale,defaultFormats:o.defaultFormats,messages:o.messages,onError:o.onError,defaultRichTextElements:a};return de(de({},o),{formatMessage:ag.bind(null,s,o.formatters),$t:ag.bind(null,s,o.formatters)})},zI=function(e){Lt(t,e);function t(){var r=e!==null&&e.apply(this,arguments)||this;return r.cache=H0(),r.state={cache:r.cache,intl:Ep(od(r.props),r.cache),prevConfig:od(r.props)},r}return t.getDerivedStateFromProps=function(r,n){var a=n.prevConfig,o=n.cache,s=od(r);return vp(a,s)?null:{intl:Ep(s,o),prevConfig:s}},t.prototype.render=function(){return z0(this.state.intl),We.createElement(WI,{value:this.state.intl},this.props.children)},t.displayName="IntlProvider",t.defaultProps=Y0,t}(We.PureComponent);function YI(e,t){var r=e.values,n=ha(e,["values"]),a=t.values,o=ha(t,["values"]);return vp(a,r)&&vp(n,o)}function Q0(e){var t=ut(),r=t.formatMessage,n=t.textComponent,a=n===void 0?We.Fragment:n,o=e.id,s=e.description,i=e.defaultMessage,l=e.values,u=e.children,c=e.tagName,p=c===void 0?a:c,d=e.ignoreTag,f={id:o,description:s,defaultMessage:i},h=r(f,l,{ignoreTag:d});return typeof u=="function"?u(Array.isArray(h)?h:[h]):p?We.createElement(p,null,We.Children.toArray(h)):We.createElement(We.Fragment,null,h)}Q0.displayName="FormattedMessage";var J0=We.memo(Q0,YI);J0.displayName="MemoizedFormattedMessage";const _n=J0;Ho("formatDate");Ho("formatTime");Ho("formatNumber");Ho("formatList");Ho("formatDisplayName");K0("formatDate");K0("formatTime");const Z0={apolitical:"Apolitical",card_bootcamp:"Email boot camp",card_ended:"Ended",card_registered:"Registered",card_answers:"{number, plural, =0 {0 answers} one {# answer} other {# answers}}",card_time_ago:"{time} ago",card_time_read:"{time} min read",card_watch:"Watch recording",card_cta_people:"View profile",collapsibleSection_summary:"Find out more",contactFooter_title:"Contact us",contactFooter_text:"We're always open to new ideas, so please reach out to see how we can collaborate.",contactFooter_phone:"+44 203 608 2241",contactFooter_email:"hello@apolitical.co",contactForm_name:"Name",contactForm_email:"Email address",contactForm_organisation:"Government department or organisation",contactForm_interests:"I'm interested in",contactForm_interests_publishingCourse:"Publishing or creating a course",contactForm_interests_buyingCourse:"Buying courses for my team",contactForm_interests_learningExperience:"Customised learning experiences",contactForm_interests_somethingElse:"Something else",contactForm_message:"Message",cookieBanner_title:"Cookies and your privacy",cookieBanner_text:"We take your trust and privacy very seriously. Apolitical uses safe cookies (small files on your device) to run the site. You can reject non-essential cookies, but some site features may not work without them.",cookieBanner_buttons_settings:"Change my settings",cookieBanner_buttons_reject:"Reject all",cookieBanner_buttons_accept:"Accept all",discussion_edited:"Edited",discussion_delete_title:"Delete {action}",discussion_delete_text:"<p>Are you sure you want to delete your {action}?</p><p>This can't be undone.</p>",discussion_delete_delete:"Delete",discussion_delete_deleting:"Deleting...",discussion_delete_error:"We are unable to delete your {action} at the moment. Please try again later or contact us if problem persists.",discussion_action_response:"response",discussion_action_answer:"response",discussion_action_question:"question",discussion_action_reply:"reply",discussion_answer_likes:"{count, plural, =0 {0 likes} one {# like} other {# likes}}",discussion_answer_likes_like:"Like this answer",discussion_answer_likes_unlike:"Unlike answer",discussion_reply_likes:"{count, plural, =0 {0 likes} one {# like} other {# likes}}",discussion_reply_likes_like:"Like this reply",discussion_reply_likes_unlike:"Unlike reply",discussion_thread_reply_button:"Reply",discussion_thread_report_subject:"Report a post on Apolitical",discussion_thread_report_body:`I'd like to report the {contentType} <{contentSlug}> at {contentUrl}.
83
83
 
84
84
  Please explain why you're reporting this post. Reasons could include: inappropriate language, harassment, spam, hate speech, false information, among others. Include as much detail as you feel comfortable.
85
85
 
@@ -87,7 +87,7 @@ Thank you for helping to protect the Apolitical community from abusive content.`
87
87
 
88
88
  Please explain why you're reporting this post. Reasons could include: inappropriate language, harassment, spam, hate speech, false information, among others. Include as much detail as you feel comfortable.
89
89
 
90
- Thank you for helping to protect the Apolitical community from abusive content.`,emailHelperTextBox_fallback_title:"Who can join",emailHelperTextBox_fallback_text:"Apolitical is a private community for public servants and policymakers.",emailHelperTextBox_default_title:"Who can join",emailHelperTextBox_default_text:"Apolitical is a private community for public servants and policymakers. <link>Learn more</link>.",emailHelperTextBox_autoApproved_title:"Email check",emailHelperTextBox_autoApproved_text:"Great! Looks like you are using a **government email domain we recognise.** You will be **auto-approved** once you sign up.",emailHelperTextBox_unrecognisedEmail_title:"Not a recognised government email",emailHelperTextBox_unrecognisedEmail_text:"To confirm you work in government or policy, please add more details below. <link>Learn more</link>.",emailHelperTextBox_pendingApproval_title:"Email is pending approval",emailHelperTextBox_pendingApproval_text:"Looks like this email has been used to sign up to Apolitical before, but <strong>we have not yet approved it.</strong> If you cannot wait to join, contact <mail>concierge@apolitical.co</mail>.",emailHelperTextBox_emailUnverified_title:"Hello again!",emailHelperTextBox_emailUnverified_text:"It looks like you're already an Apolitical member. To access your account, please verify your email address. <link>Click here to get a verification code sent to your email</link>.",emailHelperTextBox_emailAlreadyExists_title:"Email is already registered",emailHelperTextBox_emailAlreadyExists_text:"Looks like this email has been used to sign up to Apolitical before, try <link>logging in</link> instead. If you're still having issues, contact <mail>concierge@apolitical.co</mail>.",emailHelperTextBox_error_verificationFailedToSend_title:"Verification code failed to send",emailHelperTextBox_error_verificationFailedToSend_text:"Error details: <em>{error}</em>{br}<link>Click here to try again</link>.{br}If you continue to have problems, contact us at <mail>concierge@apolitical.co</mail>",emailHelperTextBox_error_noFunction:"Cannot resend verification code.",filters_all:"Show all",filters_disabled:"{name} - no results",footer_platform:"Platform",footer_platform_events:"Events",footer_platform_courses:"Courses",footer_platform_qanda:"Q&A",footer_platform_articles:"Articles",footer_community:"Community",footer_community_support:"Support FAQ",footer_community_post:"Post on Apolitical",footer_community_join:"Who can join",footer_community_guidelines:"Guidelines & values",footer_company:"Company",footer_company_story:"Our story",footer_company_team:"Meet our team",footer_company_careers:"Careers",footer_company_partner:"Partner with us",footer_company_contact:"Get in touch",footer_legal:"Legal",footer_legal_privacy:"Privacy policy",footer_legal_terms:"Terms & conditions",footer_legal_cookie:"Cookie policy",footer_legal_accessibility:"Accessibility statement",footer_legal_dataProtection:"Data protection officer",footer_legal_euDataProtection:"EU data protection officer",footer_contact:"Contact",footer_contact_correspondence:"Correspondence address",footer_contact_correspondence_address:"251 Southwark Bridge Road{br}London, SE1 6FL{br}United Kingdom",footer_contact_registered:"Registered address",footer_contact_registered_address:"20–22 Wenlock Road{br}London, N1 7GU{br}United Kingdom",footer_contact_berlin:"Berlin address",footer_contact_berlin_address:"Torstraße 220{br}10115 Berlin{br}Germany",footer_contact_support:"For platform support",footer_contact_business:"For business inquiries",footer_social_linkedin:"LinkedIn",footer_social_twitter:"Twitter",footer_social_facebook:"Facebook",footer_copyright:"Copyright © {currentYear} Apolitical Group Limited",form_fieldWrapper_required:"required",form_fieldWrapper_characterLimit:"Character limit:",form_error_generalError:"Sorry, something has gone. Please refresh the page and try again.",form_error_required:"Please fill in this required field",form_error_numbers:"Numbers are not allowed in this text field",form_error_email:"Please enter a valid email address",form_error_url:"Please enter a valid URL",form_submit:"Submit",form_submitting:"Submitting form...",form_submitted:"Submitted",header_skip:"Skip to main content",header_search_show:"Show search bar",header_search_hide:"Close search bar",header_menu_show:"Show navigation",header_menu_hide:"Close navigation",header_home_loggedOut:"Home",header_home_loggedIn:"My Home",header_topics:"Topics",header_topics_explore:"Explore",header_topics_explore_events:"Events",header_topics_explore_courses:"Courses","header_topics_explore_q-and-a":"Q&A",header_topics_explore_articles:"Articles",header_topics_topics:"Topics",header_topics_topics_climate:"Climate","header_topics_topics_cities-and-local-government":"Cities and local government","header_topics_topics_digital-and-data":"Digital and data",header_topics_topics_education:"Education","header_topics_topics_equity-justice-and-inclusion":"Equity, justice and inclusion","header_topics_topics_health-and-social-care":"Health and social care",header_topics_topics_innovation:"Innovation","header_topics_topics_leadership-and-skills":"Leadership and skills","header_topics_topics_life-in-government":"Life in government",header_topics_topics_policymaking:"Policymaking","header_topics_topics_transport-and-infrastructure":"Transport and infrastructure","header_topics_topics_work-and-the-economy":"Work and the economy",header_partners:"For partners",header_account:"My account",header_account_show:"Show account menu",header_account_hide:"Close account menu",header_account_profile:"My profile",header_account_settings:"Settings & privacy","header_account_log-out":"Log out",header_buttons_login:"Log in",header_buttons_signup:"Sign up",hideShowTextBox_hide:"View less",hideShowTextBox_show:"View more",loadMore_button:"Load more",loadMore_endOfFeed:"You're all caught up",loadMore_error:"We're having trouble loading more content. Please refresh the page or try again later.",loadingBlock_loading:"Loading...",loadingBlock_almostDone:"Almost done...",loadingBlock_complete:"Complete!",markdown_collapsibleSection_summary:"Resources",markdown_skip_video:"Skip past video",markdown_skip_padlet:"Skip past interactive board",markdown_skip_poll:"Skip past poll",markdown_skip:"Skip to next section",markdown_iframe_title:"Course information",markdown_iframe_video:"Video",markdown_iframe_padlet:"Interactive board",markdown_iframe_poll:"Poll",pageLayout_error:"An error occurred while rendering this page. Please refresh the page or try again later.",passwordRules_intro:"We advise you not to use your name or email in your password.",passwordRules_rule_label:"Password",passwordRules_rule_8Characters:"must be longer than 8 characters",passwordRules_rule_numberSymbol:"must include a number and a symbol",passwordRules_rule_lowercaseUppercase:"must include both lower and upper case characters",passwordRules_notMet:"Your password does not meet this requirement",progressBar:"{number}% loaded",ratings_text:"Rate answer",ratings_stars:"{number} out of {total}",ratings_low:"this is incorrect or confusing",ratings_high:"this is a fantastic answer",ratings_success:"Thank you!",search_label:"Search for:",search_placeholder:"Ask Apolitical",search_clear:"Clear search",search_cta:"Search",signup_title:"Sign up",signup_full_name:"Full name",signup_full_name_placeholder:"Lionel Messi",signup_email_address:"Work email",signup_email_address_placeholder:"lionel.messi@argentina.gov",signup_job_title:"Job title",signup_job_title_placeholder:"e.g. Senior Policy Advisor",signup_organization:"Organisation",signup_organization_placeholder:"e.g. Department of Justice",signup_url:"Link to official government bio / LinkedIn <small>(optional)</small>",signup_url_placeholder:"https://organisation.com/bio",signup_expectation:"What do you want to know<small>Optional, but we will use your response to build the session!</small>",signup_expectation_placeholder:"What do you want to know?",signup_terms:"I accept Apolitical's <terms>Terms of Service</terms>, <privacy>Privacy Policy</privacy> and that I'll get essential emails for my use of Apolitical",signup_error:"We're really sorry, but we've had a problem trying to sign you up. This could be an issue with our system, so we suggest you try again later.",signup_button_join:"Join for free",signup_button_login:"Log in",signup_submitting:"Submitting form...",signup_success_title:"Thank you for applying to join Apolitical!",signup_success_text:"<p>Once we've vetted your application, you'll get a secure login link to help you get started.</p><p>Please note that trust is everything to our community, so you can't login until your identity has been verified.</p>",sharedLinks_copy_text:"Copy link",tags_community:"From the community"},YI={collapsibleSection_summary:"En savoir plus"},KI=Object.freeze(Object.defineProperty({__proto__:null,en:Z0,fr:YI},Symbol.toStringTag,{value:"Module"})),Et=({children:e,locale:t="en",text:r=!1})=>M.jsx(VI,{locale:t,messages:r||KI[t.replace("-","")],children:e}),XI=(e,t)=>re.Children.map(e,r=>re.cloneElement(r,{...t}));var _p={exports:{}},Ye={};/**
90
+ Thank you for helping to protect the Apolitical community from abusive content.`,emailHelperTextBox_fallback_title:"Who can join",emailHelperTextBox_fallback_text:"Apolitical is a private community for public servants and policymakers.",emailHelperTextBox_default_title:"Who can join",emailHelperTextBox_default_text:"Apolitical is a private community for public servants and policymakers. <link>Learn more</link>.",emailHelperTextBox_autoApproved_title:"Email check",emailHelperTextBox_autoApproved_text:"Great! Looks like you are using a **government email domain we recognise.** You will be **auto-approved** once you sign up.",emailHelperTextBox_unrecognisedEmail_title:"Not a recognised government email",emailHelperTextBox_unrecognisedEmail_text:"To confirm you work in government or policy, please add more details below. <link>Learn more</link>.",emailHelperTextBox_pendingApproval_title:"Email is pending approval",emailHelperTextBox_pendingApproval_text:"Looks like this email has been used to sign up to Apolitical before, but <strong>we have not yet approved it.</strong> If you cannot wait to join, contact <mail>concierge@apolitical.co</mail>.",emailHelperTextBox_emailUnverified_title:"Hello again!",emailHelperTextBox_emailUnverified_text:"It looks like you're already an Apolitical member. To access your account, please verify your email address. <link>Click here to get a verification code sent to your email</link>.",emailHelperTextBox_emailAlreadyExists_title:"Email is already registered",emailHelperTextBox_emailAlreadyExists_text:"Looks like this email has been used to sign up to Apolitical before, try <link>logging in</link> instead. If you're still having issues, contact <mail>concierge@apolitical.co</mail>.",emailHelperTextBox_error_verificationFailedToSend_title:"Verification code failed to send",emailHelperTextBox_error_verificationFailedToSend_text:"Error details: <em>{error}</em>{br}<link>Click here to try again</link>.{br}If you continue to have problems, contact us at <mail>concierge@apolitical.co</mail>",emailHelperTextBox_error_noFunction:"Cannot resend verification code.",filters_all:"Show all",filters_disabled:"{name} - no results",footer_platform:"Platform",footer_platform_events:"Events",footer_platform_courses:"Courses",footer_platform_qanda:"Q&A",footer_platform_articles:"Articles",footer_community:"Community",footer_community_support:"Support FAQ",footer_community_post:"Post on Apolitical",footer_community_join:"Who can join",footer_community_guidelines:"Guidelines & values",footer_company:"Company",footer_company_story:"Our story",footer_company_team:"Meet our team",footer_company_careers:"Careers",footer_company_partner:"Partner with us",footer_company_contact:"Get in touch",footer_legal:"Legal",footer_legal_privacy:"Privacy policy",footer_legal_terms:"Terms & conditions",footer_legal_cookie:"Cookie policy",footer_legal_accessibility:"Accessibility statement",footer_legal_dataProtection:"Data protection officer",footer_legal_euDataProtection:"EU data protection officer",footer_contact:"Contact",footer_contact_correspondence:"Correspondence address",footer_contact_correspondence_address:"251 Southwark Bridge Road{br}London, SE1 6FL{br}United Kingdom",footer_contact_registered:"Registered address",footer_contact_registered_address:"20–22 Wenlock Road{br}London, N1 7GU{br}United Kingdom",footer_contact_berlin:"Berlin address",footer_contact_berlin_address:"Torstraße 220{br}10115 Berlin{br}Germany",footer_contact_support:"For platform support",footer_contact_business:"For business inquiries",footer_social_linkedin:"LinkedIn",footer_social_twitter:"Twitter",footer_social_facebook:"Facebook",footer_copyright:"Copyright © {currentYear} Apolitical Group Limited",form_fieldWrapper_required:"required",form_fieldWrapper_characterLimit:"Character limit:",form_error_generalError:"Sorry, something has gone. Please refresh the page and try again.",form_error_required:"Please fill in this required field",form_error_numbers:"Numbers are not allowed in this text field",form_error_email:"Please enter a valid email address",form_error_url:"Please enter a valid URL",form_submit:"Submit",form_submitting:"Submitting form...",form_submitted:"Submitted",header_skip:"Skip to main content",header_search_show:"Show search bar",header_search_hide:"Close search bar",header_menu_show:"Show navigation",header_menu_hide:"Close navigation",header_home_loggedOut:"Home",header_home_loggedIn:"My Home",header_topics:"Topics",header_topics_explore:"Explore",header_topics_explore_events:"Events",header_topics_explore_courses:"Courses","header_topics_explore_q-and-a":"Q&A",header_topics_explore_articles:"Articles",header_topics_topics:"Topics",header_topics_topics_climate:"Climate","header_topics_topics_cities-and-local-government":"Cities and local government","header_topics_topics_digital-and-data":"Digital and data",header_topics_topics_education:"Education","header_topics_topics_equity-justice-and-inclusion":"Equity, justice and inclusion","header_topics_topics_health-and-social-care":"Health and social care",header_topics_topics_innovation:"Innovation","header_topics_topics_leadership-and-skills":"Leadership and skills","header_topics_topics_life-in-government":"Life in government",header_topics_topics_policymaking:"Policymaking","header_topics_topics_transport-and-infrastructure":"Transport and infrastructure","header_topics_topics_work-and-the-economy":"Work and the economy",header_partners:"For partners",header_account:"My account",header_account_show:"Show account menu",header_account_hide:"Close account menu",header_account_profile:"My profile",header_account_settings:"Settings & privacy","header_account_log-out":"Log out",header_buttons_login:"Log in",header_buttons_signup:"Sign up",hideShowTextBox_hide:"View less",hideShowTextBox_show:"View more",loadMore_button:"Load more",loadMore_endOfFeed:"You're all caught up",loadMore_error:"We're having trouble loading more content. Please refresh the page or try again later.",loadingBlock_loading:"Loading...",loadingBlock_almostDone:"Almost done...",loadingBlock_complete:"Complete!",markdown_collapsibleSection_summary:"Resources",markdown_skip_video:"Skip past video",markdown_skip_padlet:"Skip past interactive board",markdown_skip_poll:"Skip past poll",markdown_skip:"Skip to next section",markdown_iframe_title:"Course information",markdown_iframe_video:"Video",markdown_iframe_padlet:"Interactive board",markdown_iframe_poll:"Poll",pageLayout_error:"An error occurred while rendering this page. Please refresh the page or try again later.",passwordRules_intro:"We advise you not to use your name or email in your password.",passwordRules_rule_label:"Password",passwordRules_rule_8Characters:"must be longer than 8 characters",passwordRules_rule_numberSymbol:"must include a number and a symbol",passwordRules_rule_lowercaseUppercase:"must include both lower and upper case characters",passwordRules_notMet:"Your password does not meet this requirement",progressBar:"{number}% loaded",ratings_text:"Rate answer",ratings_stars:"{number} out of {total}",ratings_low:"this is incorrect or confusing",ratings_high:"this is a fantastic answer",ratings_success:"Thank you!",search_label:"Search for:",search_placeholder:"Ask Apolitical",search_clear:"Clear search",search_cta:"Search",signup_title:"Sign up",signup_full_name:"Full name",signup_full_name_placeholder:"Lionel Messi",signup_email_address:"Work email",signup_email_address_placeholder:"lionel.messi@argentina.gov",signup_job_title:"Job title",signup_job_title_placeholder:"e.g. Senior Policy Advisor",signup_organization:"Organisation",signup_organization_placeholder:"e.g. Department of Justice",signup_url:"Link to official government bio / LinkedIn <small>(optional)</small>",signup_url_placeholder:"https://organisation.com/bio",signup_expectation:"What do you want to know<small>Optional, but we will use your response to build the session!</small>",signup_expectation_placeholder:"What do you want to know?",signup_terms:"I accept Apolitical's <terms>Terms of Service</terms>, <privacy>Privacy Policy</privacy> and that I'll get essential emails for my use of Apolitical",signup_error:"We're really sorry, but we've had a problem trying to sign you up. This could be an issue with our system, so we suggest you try again later.",signup_button_join:"Join for free",signup_button_login:"Log in",signup_submitting:"Submitting form...",signup_success_title:"Thank you for applying to join Apolitical!",signup_success_text:"<p>Once we've vetted your application, you'll get a secure login link to help you get started.</p><p>Please note that trust is everything to our community, so you can't login until your identity has been verified.</p>",sharedLinks_copy_text:"Copy link",tags_community:"From the community"},KI={collapsibleSection_summary:"En savoir plus"},XI=Object.freeze(Object.defineProperty({__proto__:null,en:Z0,fr:KI},Symbol.toStringTag,{value:"Module"})),Et=({children:e,locale:t="en",text:r=!1})=>M.jsx(zI,{locale:t,messages:r||XI[t.replace("-","")],children:e}),QI=(e,t)=>re.Children.map(e,r=>re.cloneElement(r,{...t}));var _p={exports:{}},Ye={};/**
91
91
  * @license React
92
92
  * react-dom-test-utils.production.min.js
93
93
  *
@@ -95,7 +95,7 @@ Thank you for helping to protect the Apolitical community from abusive content.`
95
95
  *
96
96
  * This source code is licensed under the MIT license found in the
97
97
  * LICENSE file in the root directory of this source tree.
98
- */var og;function QI(){if(og)return Ye;og=1;var e=re,t=sh;function r(E){var x=E,P=E;if(E.alternate)for(;x.return;)x=x.return;else{E=x;do x=E,x.flags&4098&&(P=x.return),E=x.return;while(E)}return x.tag===3?P:null}function n(E){if(r(E)!==E)throw Error("Unable to find node on an unmounted component.")}function a(E){var x=E.alternate;if(!x){if(x=r(E),x===null)throw Error("Unable to find node on an unmounted component.");return x!==E?null:E}for(var P=E,q=x;;){var oe=P.return;if(oe===null)break;var he=oe.alternate;if(he===null){if(q=oe.return,q!==null){P=q;continue}break}if(oe.child===he.child){for(he=oe.child;he;){if(he===P)return n(oe),E;if(he===q)return n(oe),x;he=he.sibling}throw Error("Unable to find node on an unmounted component.")}if(P.return!==q.return)P=oe,q=he;else{for(var ue=!1,pe=oe.child;pe;){if(pe===P){ue=!0,P=oe,q=he;break}if(pe===q){ue=!0,q=oe,P=he;break}pe=pe.sibling}if(!ue){for(pe=he.child;pe;){if(pe===P){ue=!0,P=he,q=oe;break}if(pe===q){ue=!0,q=he,P=oe;break}pe=pe.sibling}if(!ue)throw Error("Child was not found in either parent set. This indicates a bug in React related to the return pointer. Please file an issue.")}}if(P.alternate!==q)throw Error("Return fibers should always be each others' alternates. This error is likely caused by a bug in React. Please file an issue.")}if(P.tag!==3)throw Error("Unable to find node on an unmounted component.");return P.stateNode.current===P?E:x}var o=Object.assign;function s(E){var x=E.keyCode;return"charCode"in E?(E=E.charCode,E===0&&x===13&&(E=13)):E=x,E===10&&(E=13),32<=E||E===13?E:0}function i(){return!0}function l(){return!1}function u(E){function x(P,q,oe,he,ue){this._reactName=P,this._targetInst=oe,this.type=q,this.nativeEvent=he,this.target=ue,this.currentTarget=null;for(var pe in E)E.hasOwnProperty(pe)&&(P=E[pe],this[pe]=P?P(he):he[pe]);return this.isDefaultPrevented=(he.defaultPrevented!=null?he.defaultPrevented:he.returnValue===!1)?i:l,this.isPropagationStopped=l,this}return o(x.prototype,{preventDefault:function(){this.defaultPrevented=!0;var P=this.nativeEvent;P&&(P.preventDefault?P.preventDefault():typeof P.returnValue!="unknown"&&(P.returnValue=!1),this.isDefaultPrevented=i)},stopPropagation:function(){var P=this.nativeEvent;P&&(P.stopPropagation?P.stopPropagation():typeof P.cancelBubble!="unknown"&&(P.cancelBubble=!0),this.isPropagationStopped=i)},persist:function(){},isPersistent:i}),x}var c={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(E){return E.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},p=u(c),d=o({},c,{view:0,detail:0});u(d);var f,h,m,_=o({},d,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:z,button:0,buttons:0,relatedTarget:function(E){return E.relatedTarget===void 0?E.fromElement===E.srcElement?E.toElement:E.fromElement:E.relatedTarget},movementX:function(E){return"movementX"in E?E.movementX:(E!==m&&(m&&E.type==="mousemove"?(f=E.screenX-m.screenX,h=E.screenY-m.screenY):h=f=0,m=E),f)},movementY:function(E){return"movementY"in E?E.movementY:h}});u(_);var b=o({},_,{dataTransfer:0});u(b);var v=o({},d,{relatedTarget:0});u(v);var w=o({},c,{animationName:0,elapsedTime:0,pseudoElement:0});u(w);var R=o({},c,{clipboardData:function(E){return"clipboardData"in E?E.clipboardData:window.clipboardData}});u(R);var T=o({},c,{data:0});u(T);var C={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"},I={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function j(E){var x=this.nativeEvent;return x.getModifierState?x.getModifierState(E):(E=I[E])?!!x[E]:!1}function z(){return j}var Y=o({},d,{key:function(E){if(E.key){var x=C[E.key]||E.key;if(x!=="Unidentified")return x}return E.type==="keypress"?(E=s(E),E===13?"Enter":String.fromCharCode(E)):E.type==="keydown"||E.type==="keyup"?N[E.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:z,charCode:function(E){return E.type==="keypress"?s(E):0},keyCode:function(E){return E.type==="keydown"||E.type==="keyup"?E.keyCode:0},which:function(E){return E.type==="keypress"?s(E):E.type==="keydown"||E.type==="keyup"?E.keyCode:0}});u(Y);var U=o({},_,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0});u(U);var D=o({},d,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:z});u(D);var Q=o({},c,{propertyName:0,elapsedTime:0,pseudoElement:0});u(Q);var J=o({},_,{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});u(J);function k(E,x,P,q,oe,he,ue,pe,Ee){var pt=Array.prototype.slice.call(arguments,3);try{x.apply(P,pt)}catch(ur){this.onError(ur)}}var G=!1,Z=null,ve=!1,ee=null,ne={onError:function(E){G=!0,Z=E}};function me(E,x,P,q,oe,he,ue,pe,Ee){G=!1,Z=null,k.apply(ne,arguments)}function ge(E,x,P,q,oe,he,ue,pe,Ee){if(me.apply(this,arguments),G){if(G){var pt=Z;G=!1,Z=null}else throw Error("clearCaughtError was called but no error was captured. This error is likely caused by a bug in React. Please file an issue.");ve||(ve=!0,ee=pt)}}var Ge=Array.isArray,ie=t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.Events,le=ie[0],xe=ie[1],Be=ie[2],at=ie[3],ct=ie[4],ce=e.unstable_act;function se(){}function je(E,x){if(!E)return[];if(E=a(E),!E)return[];for(var P=E,q=[];;){if(P.tag===5||P.tag===6||P.tag===1||P.tag===0){var oe=P.stateNode;x(oe)&&q.push(oe)}if(P.child)P.child.return=P,P=P.child;else{if(P===E)return q;for(;!P.sibling;){if(!P.return||P.return===E)return q;P=P.return}P.sibling.return=P.return,P=P.sibling}}}function Ae(E,x){if(E&&!E._reactInternals){var P=String(E);throw E=Ge(E)?"an array":E&&E.nodeType===1&&E.tagName?"a DOM node":P==="[object Object]"?"object with keys {"+Object.keys(E).join(", ")+"}":P,Error(x+"(...): the first argument must be a React class instance. Instead received: "+(E+"."))}}function ft(E){return!(!E||E.nodeType!==1||!E.tagName)}function ot(E){return ft(E)?!1:E!=null&&typeof E.render=="function"&&typeof E.setState=="function"}function dt(E,x){return ot(E)?E._reactInternals.type===x:!1}function Xe(E,x){return Ae(E,"findAllInRenderedTree"),E?je(E._reactInternals,x):[]}function At(E,x){return Ae(E,"scryRenderedDOMComponentsWithClass"),Xe(E,function(P){if(ft(P)){var q=P.className;typeof q!="string"&&(q=P.getAttribute("class")||"");var oe=q.split(/\s+/);if(!Ge(x)){if(x===void 0)throw Error("TestUtils.scryRenderedDOMComponentsWithClass expects a className as a second argument.");x=x.split(/\s+/)}return x.every(function(he){return oe.indexOf(he)!==-1})}return!1})}function St(E,x){return Ae(E,"scryRenderedDOMComponentsWithTag"),Xe(E,function(P){return ft(P)&&P.tagName.toUpperCase()===x.toUpperCase()})}function _t(E,x){return Ae(E,"scryRenderedComponentsWithType"),Xe(E,function(P){return dt(P,x)})}function ze(E,x,P){var q=E.type||"unknown-event";E.currentTarget=xe(P),ge(q,x,void 0,E),E.currentTarget=null}function Rt(E,x,P){for(var q=[];E;){q.push(E);do E=E.return;while(E&&E.tag!==5);E=E||null}for(E=q.length;0<E--;)x(q[E],"captured",P);for(E=0;E<q.length;E++)x(q[E],"bubbled",P)}function et(E,x){var P=E.stateNode;if(!P)return null;var q=Be(P);if(!q)return null;P=q[x];e:switch(x){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(q=!q.disabled)||(E=E.type,q=!(E==="button"||E==="input"||E==="select"||E==="textarea")),E=!q;break e;default:E=!1}if(E)return null;if(P&&typeof P!="function")throw Error("Expected `"+x+"` listener to be a function, instead got a value of `"+typeof P+"` type.");return P}function Ze(E,x,P){E&&P&&P._reactName&&(x=et(E,P._reactName))&&(P._dispatchListeners==null&&(P._dispatchListeners=[]),P._dispatchInstances==null&&(P._dispatchInstances=[]),P._dispatchListeners.push(x),P._dispatchInstances.push(E))}function Dt(E,x,P){var q=P._reactName;x==="captured"&&(q+="Capture"),(x=et(E,q))&&(P._dispatchListeners==null&&(P._dispatchListeners=[]),P._dispatchInstances==null&&(P._dispatchInstances=[]),P._dispatchListeners.push(x),P._dispatchInstances.push(E))}var S={},y=new Set(["mouseEnter","mouseLeave","pointerEnter","pointerLeave"]);function g(E){return function(x,P){if(e.isValidElement(x))throw Error("TestUtils.Simulate expected a DOM node as the first argument but received a React element. Pass the DOM node you wish to simulate the event on instead. Note that TestUtils.Simulate will not work if you are using shallow rendering.");if(ot(x))throw Error("TestUtils.Simulate expected a DOM node as the first argument but received a component instance. Pass the DOM node you wish to simulate the event on instead.");var q="on"+E[0].toUpperCase()+E.slice(1),oe=new se;oe.target=x,oe.type=E.toLowerCase();var he=le(x),ue=new p(q,oe.type,he,oe,x);ue.persist(),o(ue,P),y.has(E)?ue&&ue._reactName&&Ze(ue._targetInst,null,ue):ue&&ue._reactName&&Rt(ue._targetInst,Dt,ue),t.unstable_batchedUpdates(function(){if(at(x),ue){var pe=ue._dispatchListeners,Ee=ue._dispatchInstances;if(Ge(pe))for(var pt=0;pt<pe.length&&!ue.isPropagationStopped();pt++)ze(ue,pe[pt],Ee[pt]);else pe&&ze(ue,pe,Ee);ue._dispatchListeners=null,ue._dispatchInstances=null,ue.isPersistent()||ue.constructor.release(ue)}if(ve)throw pe=ee,ve=!1,ee=null,pe}),ct()}}return"blur cancel click close contextMenu copy cut auxClick doubleClick dragEnd dragStart drop focus input invalid keyDown keyPress keyUp mouseDown mouseUp paste pause play pointerCancel pointerDown pointerUp rateChange reset resize seeked submit touchCancel touchEnd touchStart volumeChange drag dragEnter dragExit dragLeave dragOver mouseMove mouseOut mouseOver pointerMove pointerOut pointerOver scroll toggle touchMove wheel abort animationEnd animationIteration animationStart canPlay canPlayThrough durationChange emptied encrypted ended error gotPointerCapture load loadedData loadedMetadata loadStart lostPointerCapture playing progress seeking stalled suspend timeUpdate transitionEnd waiting mouseEnter mouseLeave pointerEnter pointerLeave change select beforeInput compositionEnd compositionStart compositionUpdate".split(" ").forEach(function(E){S[E]=g(E)}),Ye.Simulate=S,Ye.act=ce,Ye.findAllInRenderedTree=Xe,Ye.findRenderedComponentWithType=function(E,x){if(Ae(E,"findRenderedComponentWithType"),E=_t(E,x),E.length!==1)throw Error("Did not find exactly one match (found: "+E.length+") for componentType:"+x);return E[0]},Ye.findRenderedDOMComponentWithClass=function(E,x){if(Ae(E,"findRenderedDOMComponentWithClass"),E=At(E,x),E.length!==1)throw Error("Did not find exactly one match (found: "+E.length+") for class:"+x);return E[0]},Ye.findRenderedDOMComponentWithTag=function(E,x){if(Ae(E,"findRenderedDOMComponentWithTag"),E=St(E,x),E.length!==1)throw Error("Did not find exactly one match (found: "+E.length+") for tag:"+x);return E[0]},Ye.isCompositeComponent=ot,Ye.isCompositeComponentWithType=dt,Ye.isDOMComponent=ft,Ye.isDOMComponentElement=function(E){return!!(E&&e.isValidElement(E)&&E.tagName)},Ye.isElement=function(E){return e.isValidElement(E)},Ye.isElementOfType=function(E,x){return e.isValidElement(E)&&E.type===x},Ye.mockComponent=function(E,x){return x=x||E.mockTagName||"div",E.prototype.render.mockImplementation(function(){return e.createElement(x,null,this.props.children)}),this},Ye.nativeTouchData=function(E,x){return{touches:[{pageX:E,pageY:x}]}},Ye.renderIntoDocument=function(E){var x=document.createElement("div");return t.render(E,x)},Ye.scryRenderedComponentsWithType=_t,Ye.scryRenderedDOMComponentsWithClass=At,Ye.scryRenderedDOMComponentsWithTag=St,Ye.traverseTwoPhase=Rt,Ye}var Ke={};/**
98
+ */var og;function JI(){if(og)return Ye;og=1;var e=re,t=sh;function r(E){var x=E,P=E;if(E.alternate)for(;x.return;)x=x.return;else{E=x;do x=E,x.flags&4098&&(P=x.return),E=x.return;while(E)}return x.tag===3?P:null}function n(E){if(r(E)!==E)throw Error("Unable to find node on an unmounted component.")}function a(E){var x=E.alternate;if(!x){if(x=r(E),x===null)throw Error("Unable to find node on an unmounted component.");return x!==E?null:E}for(var P=E,q=x;;){var oe=P.return;if(oe===null)break;var he=oe.alternate;if(he===null){if(q=oe.return,q!==null){P=q;continue}break}if(oe.child===he.child){for(he=oe.child;he;){if(he===P)return n(oe),E;if(he===q)return n(oe),x;he=he.sibling}throw Error("Unable to find node on an unmounted component.")}if(P.return!==q.return)P=oe,q=he;else{for(var ue=!1,pe=oe.child;pe;){if(pe===P){ue=!0,P=oe,q=he;break}if(pe===q){ue=!0,q=oe,P=he;break}pe=pe.sibling}if(!ue){for(pe=he.child;pe;){if(pe===P){ue=!0,P=he,q=oe;break}if(pe===q){ue=!0,q=he,P=oe;break}pe=pe.sibling}if(!ue)throw Error("Child was not found in either parent set. This indicates a bug in React related to the return pointer. Please file an issue.")}}if(P.alternate!==q)throw Error("Return fibers should always be each others' alternates. This error is likely caused by a bug in React. Please file an issue.")}if(P.tag!==3)throw Error("Unable to find node on an unmounted component.");return P.stateNode.current===P?E:x}var o=Object.assign;function s(E){var x=E.keyCode;return"charCode"in E?(E=E.charCode,E===0&&x===13&&(E=13)):E=x,E===10&&(E=13),32<=E||E===13?E:0}function i(){return!0}function l(){return!1}function u(E){function x(P,q,oe,he,ue){this._reactName=P,this._targetInst=oe,this.type=q,this.nativeEvent=he,this.target=ue,this.currentTarget=null;for(var pe in E)E.hasOwnProperty(pe)&&(P=E[pe],this[pe]=P?P(he):he[pe]);return this.isDefaultPrevented=(he.defaultPrevented!=null?he.defaultPrevented:he.returnValue===!1)?i:l,this.isPropagationStopped=l,this}return o(x.prototype,{preventDefault:function(){this.defaultPrevented=!0;var P=this.nativeEvent;P&&(P.preventDefault?P.preventDefault():typeof P.returnValue!="unknown"&&(P.returnValue=!1),this.isDefaultPrevented=i)},stopPropagation:function(){var P=this.nativeEvent;P&&(P.stopPropagation?P.stopPropagation():typeof P.cancelBubble!="unknown"&&(P.cancelBubble=!0),this.isPropagationStopped=i)},persist:function(){},isPersistent:i}),x}var c={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(E){return E.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},p=u(c),d=o({},c,{view:0,detail:0});u(d);var f,h,m,_=o({},d,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:z,button:0,buttons:0,relatedTarget:function(E){return E.relatedTarget===void 0?E.fromElement===E.srcElement?E.toElement:E.fromElement:E.relatedTarget},movementX:function(E){return"movementX"in E?E.movementX:(E!==m&&(m&&E.type==="mousemove"?(f=E.screenX-m.screenX,h=E.screenY-m.screenY):h=f=0,m=E),f)},movementY:function(E){return"movementY"in E?E.movementY:h}});u(_);var b=o({},_,{dataTransfer:0});u(b);var v=o({},d,{relatedTarget:0});u(v);var w=o({},c,{animationName:0,elapsedTime:0,pseudoElement:0});u(w);var R=o({},c,{clipboardData:function(E){return"clipboardData"in E?E.clipboardData:window.clipboardData}});u(R);var T=o({},c,{data:0});u(T);var C={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"},I={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function j(E){var x=this.nativeEvent;return x.getModifierState?x.getModifierState(E):(E=I[E])?!!x[E]:!1}function z(){return j}var Y=o({},d,{key:function(E){if(E.key){var x=C[E.key]||E.key;if(x!=="Unidentified")return x}return E.type==="keypress"?(E=s(E),E===13?"Enter":String.fromCharCode(E)):E.type==="keydown"||E.type==="keyup"?N[E.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:z,charCode:function(E){return E.type==="keypress"?s(E):0},keyCode:function(E){return E.type==="keydown"||E.type==="keyup"?E.keyCode:0},which:function(E){return E.type==="keypress"?s(E):E.type==="keydown"||E.type==="keyup"?E.keyCode:0}});u(Y);var U=o({},_,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0});u(U);var D=o({},d,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:z});u(D);var Q=o({},c,{propertyName:0,elapsedTime:0,pseudoElement:0});u(Q);var J=o({},_,{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});u(J);function k(E,x,P,q,oe,he,ue,pe,Ee){var pt=Array.prototype.slice.call(arguments,3);try{x.apply(P,pt)}catch(ur){this.onError(ur)}}var G=!1,Z=null,ve=!1,ee=null,ne={onError:function(E){G=!0,Z=E}};function me(E,x,P,q,oe,he,ue,pe,Ee){G=!1,Z=null,k.apply(ne,arguments)}function ge(E,x,P,q,oe,he,ue,pe,Ee){if(me.apply(this,arguments),G){if(G){var pt=Z;G=!1,Z=null}else throw Error("clearCaughtError was called but no error was captured. This error is likely caused by a bug in React. Please file an issue.");ve||(ve=!0,ee=pt)}}var Ge=Array.isArray,ie=t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.Events,le=ie[0],xe=ie[1],Be=ie[2],at=ie[3],ct=ie[4],ce=e.unstable_act;function se(){}function je(E,x){if(!E)return[];if(E=a(E),!E)return[];for(var P=E,q=[];;){if(P.tag===5||P.tag===6||P.tag===1||P.tag===0){var oe=P.stateNode;x(oe)&&q.push(oe)}if(P.child)P.child.return=P,P=P.child;else{if(P===E)return q;for(;!P.sibling;){if(!P.return||P.return===E)return q;P=P.return}P.sibling.return=P.return,P=P.sibling}}}function Ae(E,x){if(E&&!E._reactInternals){var P=String(E);throw E=Ge(E)?"an array":E&&E.nodeType===1&&E.tagName?"a DOM node":P==="[object Object]"?"object with keys {"+Object.keys(E).join(", ")+"}":P,Error(x+"(...): the first argument must be a React class instance. Instead received: "+(E+"."))}}function ft(E){return!(!E||E.nodeType!==1||!E.tagName)}function ot(E){return ft(E)?!1:E!=null&&typeof E.render=="function"&&typeof E.setState=="function"}function dt(E,x){return ot(E)?E._reactInternals.type===x:!1}function Xe(E,x){return Ae(E,"findAllInRenderedTree"),E?je(E._reactInternals,x):[]}function At(E,x){return Ae(E,"scryRenderedDOMComponentsWithClass"),Xe(E,function(P){if(ft(P)){var q=P.className;typeof q!="string"&&(q=P.getAttribute("class")||"");var oe=q.split(/\s+/);if(!Ge(x)){if(x===void 0)throw Error("TestUtils.scryRenderedDOMComponentsWithClass expects a className as a second argument.");x=x.split(/\s+/)}return x.every(function(he){return oe.indexOf(he)!==-1})}return!1})}function St(E,x){return Ae(E,"scryRenderedDOMComponentsWithTag"),Xe(E,function(P){return ft(P)&&P.tagName.toUpperCase()===x.toUpperCase()})}function _t(E,x){return Ae(E,"scryRenderedComponentsWithType"),Xe(E,function(P){return dt(P,x)})}function ze(E,x,P){var q=E.type||"unknown-event";E.currentTarget=xe(P),ge(q,x,void 0,E),E.currentTarget=null}function Rt(E,x,P){for(var q=[];E;){q.push(E);do E=E.return;while(E&&E.tag!==5);E=E||null}for(E=q.length;0<E--;)x(q[E],"captured",P);for(E=0;E<q.length;E++)x(q[E],"bubbled",P)}function et(E,x){var P=E.stateNode;if(!P)return null;var q=Be(P);if(!q)return null;P=q[x];e:switch(x){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(q=!q.disabled)||(E=E.type,q=!(E==="button"||E==="input"||E==="select"||E==="textarea")),E=!q;break e;default:E=!1}if(E)return null;if(P&&typeof P!="function")throw Error("Expected `"+x+"` listener to be a function, instead got a value of `"+typeof P+"` type.");return P}function Ze(E,x,P){E&&P&&P._reactName&&(x=et(E,P._reactName))&&(P._dispatchListeners==null&&(P._dispatchListeners=[]),P._dispatchInstances==null&&(P._dispatchInstances=[]),P._dispatchListeners.push(x),P._dispatchInstances.push(E))}function Dt(E,x,P){var q=P._reactName;x==="captured"&&(q+="Capture"),(x=et(E,q))&&(P._dispatchListeners==null&&(P._dispatchListeners=[]),P._dispatchInstances==null&&(P._dispatchInstances=[]),P._dispatchListeners.push(x),P._dispatchInstances.push(E))}var S={},y=new Set(["mouseEnter","mouseLeave","pointerEnter","pointerLeave"]);function g(E){return function(x,P){if(e.isValidElement(x))throw Error("TestUtils.Simulate expected a DOM node as the first argument but received a React element. Pass the DOM node you wish to simulate the event on instead. Note that TestUtils.Simulate will not work if you are using shallow rendering.");if(ot(x))throw Error("TestUtils.Simulate expected a DOM node as the first argument but received a component instance. Pass the DOM node you wish to simulate the event on instead.");var q="on"+E[0].toUpperCase()+E.slice(1),oe=new se;oe.target=x,oe.type=E.toLowerCase();var he=le(x),ue=new p(q,oe.type,he,oe,x);ue.persist(),o(ue,P),y.has(E)?ue&&ue._reactName&&Ze(ue._targetInst,null,ue):ue&&ue._reactName&&Rt(ue._targetInst,Dt,ue),t.unstable_batchedUpdates(function(){if(at(x),ue){var pe=ue._dispatchListeners,Ee=ue._dispatchInstances;if(Ge(pe))for(var pt=0;pt<pe.length&&!ue.isPropagationStopped();pt++)ze(ue,pe[pt],Ee[pt]);else pe&&ze(ue,pe,Ee);ue._dispatchListeners=null,ue._dispatchInstances=null,ue.isPersistent()||ue.constructor.release(ue)}if(ve)throw pe=ee,ve=!1,ee=null,pe}),ct()}}return"blur cancel click close contextMenu copy cut auxClick doubleClick dragEnd dragStart drop focus input invalid keyDown keyPress keyUp mouseDown mouseUp paste pause play pointerCancel pointerDown pointerUp rateChange reset resize seeked submit touchCancel touchEnd touchStart volumeChange drag dragEnter dragExit dragLeave dragOver mouseMove mouseOut mouseOver pointerMove pointerOut pointerOver scroll toggle touchMove wheel abort animationEnd animationIteration animationStart canPlay canPlayThrough durationChange emptied encrypted ended error gotPointerCapture load loadedData loadedMetadata loadStart lostPointerCapture playing progress seeking stalled suspend timeUpdate transitionEnd waiting mouseEnter mouseLeave pointerEnter pointerLeave change select beforeInput compositionEnd compositionStart compositionUpdate".split(" ").forEach(function(E){S[E]=g(E)}),Ye.Simulate=S,Ye.act=ce,Ye.findAllInRenderedTree=Xe,Ye.findRenderedComponentWithType=function(E,x){if(Ae(E,"findRenderedComponentWithType"),E=_t(E,x),E.length!==1)throw Error("Did not find exactly one match (found: "+E.length+") for componentType:"+x);return E[0]},Ye.findRenderedDOMComponentWithClass=function(E,x){if(Ae(E,"findRenderedDOMComponentWithClass"),E=At(E,x),E.length!==1)throw Error("Did not find exactly one match (found: "+E.length+") for class:"+x);return E[0]},Ye.findRenderedDOMComponentWithTag=function(E,x){if(Ae(E,"findRenderedDOMComponentWithTag"),E=St(E,x),E.length!==1)throw Error("Did not find exactly one match (found: "+E.length+") for tag:"+x);return E[0]},Ye.isCompositeComponent=ot,Ye.isCompositeComponentWithType=dt,Ye.isDOMComponent=ft,Ye.isDOMComponentElement=function(E){return!!(E&&e.isValidElement(E)&&E.tagName)},Ye.isElement=function(E){return e.isValidElement(E)},Ye.isElementOfType=function(E,x){return e.isValidElement(E)&&E.type===x},Ye.mockComponent=function(E,x){return x=x||E.mockTagName||"div",E.prototype.render.mockImplementation(function(){return e.createElement(x,null,this.props.children)}),this},Ye.nativeTouchData=function(E,x){return{touches:[{pageX:E,pageY:x}]}},Ye.renderIntoDocument=function(E){var x=document.createElement("div");return t.render(E,x)},Ye.scryRenderedComponentsWithType=_t,Ye.scryRenderedDOMComponentsWithClass=At,Ye.scryRenderedDOMComponentsWithTag=St,Ye.traverseTwoPhase=Rt,Ye}var Ke={};/**
99
99
  * @license React
100
100
  * react-dom-test-utils.development.js
101
101
  *
@@ -103,46 +103,46 @@ Thank you for helping to protect the Apolitical community from abusive content.`
103
103
  *
104
104
  * This source code is licensed under the MIT license found in the
105
105
  * LICENSE file in the root directory of this source tree.
106
- */var ig;function JI(){return ig||(ig=1,process.env.NODE_ENV!=="production"&&function(){var e=re,t=sh,r=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;function n(A){{for(var V=arguments.length,W=new Array(V>1?V-1:0),X=1;X<V;X++)W[X-1]=arguments[X];o("warn",A,W)}}function a(A){{for(var V=arguments.length,W=new Array(V>1?V-1:0),X=1;X<V;X++)W[X-1]=arguments[X];o("error",A,W)}}function o(A,V,W){{var X=r.ReactDebugCurrentFrame,ye=X.getStackAddendum();ye!==""&&(V+="%s",W=W.concat([ye]));var _e=W.map(function(qe){return String(qe)});_e.unshift("Warning: "+V),Function.prototype.apply.call(console[A],console,_e)}}function s(A){return A._reactInternals}var i=0,l=1,u=3,c=5,p=6,d=0,f=2,h=4096;r.ReactCurrentOwner;function m(A){var V=A,W=A;if(A.alternate)for(;V.return;)V=V.return;else{var X=V;do V=X,(V.flags&(f|h))!==d&&(W=V.return),X=V.return;while(X)}return V.tag===u?W:null}function _(A){if(m(A)!==A)throw new Error("Unable to find node on an unmounted component.")}function b(A){var V=A.alternate;if(!V){var W=m(A);if(W===null)throw new Error("Unable to find node on an unmounted component.");return W!==A?null:A}for(var X=A,ye=V;;){var _e=X.return;if(_e===null)break;var qe=_e.alternate;if(qe===null){var ht=_e.return;if(ht!==null){X=ye=ht;continue}break}if(_e.child===qe.child){for(var mt=_e.child;mt;){if(mt===X)return _(_e),A;if(mt===ye)return _(_e),V;mt=mt.sibling}throw new Error("Unable to find node on an unmounted component.")}if(X.return!==ye.return)X=_e,ye=qe;else{for(var it=!1,Qe=_e.child;Qe;){if(Qe===X){it=!0,X=_e,ye=qe;break}if(Qe===ye){it=!0,ye=_e,X=qe;break}Qe=Qe.sibling}if(!it){for(Qe=qe.child;Qe;){if(Qe===X){it=!0,X=qe,ye=_e;break}if(Qe===ye){it=!0,ye=qe,X=_e;break}Qe=Qe.sibling}if(!it)throw new Error("Child was not found in either parent set. This indicates a bug in React related to the return pointer. Please file an issue.")}}if(X.alternate!==ye)throw new Error("Return fibers should always be each others' alternates. This error is likely caused by a bug in React. Please file an issue.")}if(X.tag!==u)throw new Error("Unable to find node on an unmounted component.");return X.stateNode.current===X?A:V}var v=Object.assign;function w(A){var V,W=A.keyCode;return"charCode"in A?(V=A.charCode,V===0&&W===13&&(V=13)):V=W,V===10&&(V=13),V>=32||V===13?V:0}function R(){return!0}function T(){return!1}function C(A){function V(W,X,ye,_e,qe){this._reactName=W,this._targetInst=ye,this.type=X,this.nativeEvent=_e,this.target=qe,this.currentTarget=null;for(var ht in A)if(A.hasOwnProperty(ht)){var mt=A[ht];mt?this[ht]=mt(_e):this[ht]=_e[ht]}var it=_e.defaultPrevented!=null?_e.defaultPrevented:_e.returnValue===!1;return it?this.isDefaultPrevented=R:this.isDefaultPrevented=T,this.isPropagationStopped=T,this}return v(V.prototype,{preventDefault:function(){this.defaultPrevented=!0;var W=this.nativeEvent;W&&(W.preventDefault?W.preventDefault():typeof W.returnValue!="unknown"&&(W.returnValue=!1),this.isDefaultPrevented=R)},stopPropagation:function(){var W=this.nativeEvent;W&&(W.stopPropagation?W.stopPropagation():typeof W.cancelBubble!="unknown"&&(W.cancelBubble=!0),this.isPropagationStopped=R)},persist:function(){},isPersistent:R}),V}var N={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(A){return A.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},I=C(N),j=v({},N,{view:0,detail:0});C(j);var z,Y,U;function D(A){A!==U&&(U&&A.type==="mousemove"?(z=A.screenX-U.screenX,Y=A.screenY-U.screenY):(z=0,Y=0),U=A)}var Q=v({},j,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:ie,button:0,buttons:0,relatedTarget:function(A){return A.relatedTarget===void 0?A.fromElement===A.srcElement?A.toElement:A.fromElement:A.relatedTarget},movementX:function(A){return"movementX"in A?A.movementX:(D(A),z)},movementY:function(A){return"movementY"in A?A.movementY:Y}});C(Q);var J=v({},Q,{dataTransfer:0});C(J);var k=v({},j,{relatedTarget:0});C(k);var G=v({},N,{animationName:0,elapsedTime:0,pseudoElement:0});C(G);var Z=v({},N,{clipboardData:function(A){return"clipboardData"in A?A.clipboardData:window.clipboardData}});C(Z);var ve=v({},N,{data:0});C(ve);var ee={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},ne={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"};function me(A){if(A.key){var V=ee[A.key]||A.key;if(V!=="Unidentified")return V}if(A.type==="keypress"){var W=w(A);return W===13?"Enter":String.fromCharCode(W)}return A.type==="keydown"||A.type==="keyup"?ne[A.keyCode]||"Unidentified":""}var ge={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function Ge(A){var V=this,W=V.nativeEvent;if(W.getModifierState)return W.getModifierState(A);var X=ge[A];return X?!!W[X]:!1}function ie(A){return Ge}var le=v({},j,{key:me,code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:ie,charCode:function(A){return A.type==="keypress"?w(A):0},keyCode:function(A){return A.type==="keydown"||A.type==="keyup"?A.keyCode:0},which:function(A){return A.type==="keypress"?w(A):A.type==="keydown"||A.type==="keyup"?A.keyCode:0}});C(le);var xe=v({},Q,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0});C(xe);var Be=v({},j,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:ie});C(Be);var at=v({},N,{propertyName:0,elapsedTime:0,pseudoElement:0});C(at);var ct=v({},Q,{deltaX:function(A){return"deltaX"in A?A.deltaX:"wheelDeltaX"in A?-A.wheelDeltaX:0},deltaY:function(A){return"deltaY"in A?A.deltaY:"wheelDeltaY"in A?-A.wheelDeltaY:"wheelDelta"in A?-A.wheelDelta:0},deltaZ:0,deltaMode:0});C(ct);var ce=1;function se(A,V,W,X,ye,_e,qe,ht,mt){var it=Array.prototype.slice.call(arguments,3);try{V.apply(W,it)}catch(Qe){this.onError(Qe)}}var je=se;if(typeof window<"u"&&typeof window.dispatchEvent=="function"&&typeof document<"u"&&typeof document.createEvent=="function"){var Ae=document.createElement("react");je=function(V,W,X,ye,_e,qe,ht,mt,it){if(typeof document>"u"||document===null)throw new Error("The `document` global was defined when React was initialized, but is not defined anymore. This can happen in a test environment if a component schedules an update from an asynchronous callback, but the test has already finished running. To solve this, you can either unmount the component at the end of your test (and ensure that any asynchronous operations get canceled in `componentWillUnmount`), or you can change the test itself to be asynchronous.");var Qe=document.createEvent("Event"),ln=!1,Pr=!0,Ua=window.event,Hn=Object.getOwnPropertyDescriptor(window,"event");function Gn(){Ae.removeEventListener(fr,Vn,!1),typeof window.event<"u"&&window.hasOwnProperty("event")&&(window.event=Ua)}var Wn=Array.prototype.slice.call(arguments,3);function Vn(){ln=!0,Gn(),W.apply(X,Wn),Pr=!1}var Nt,zn=!1,un=!1;function Yn(Ht){if(Nt=Ht.error,zn=!0,Nt===null&&Ht.colno===0&&Ht.lineno===0&&(un=!0),Ht.defaultPrevented&&Nt!=null&&typeof Nt=="object")try{Nt._suppressLogging=!0}catch{}}var fr="react-"+(V||"invokeguardedcallback");if(window.addEventListener("error",Yn),Ae.addEventListener(fr,Vn,!1),Qe.initEvent(fr,!1,!1),Ae.dispatchEvent(Qe),Hn&&Object.defineProperty(window,"event",Hn),ln&&Pr&&(zn?un&&(Nt=new Error("A cross-origin error was thrown. React doesn't have access to the actual error object in development. See https://reactjs.org/link/crossorigin-error for more information.")):Nt=new Error(`An error was thrown inside one of your components, but React doesn't know what it was. This is likely due to browser flakiness. React does its best to preserve the "Pause on exceptions" behavior of the DevTools, which requires some DEV-mode only tricks. It's possible that these don't work in your browser. Try triggering the error in production mode, or switching to a modern browser. If you suspect that this is actually an issue with React, please file an issue.`),this.onError(Nt)),window.removeEventListener("error",Yn),!ln)return Gn(),se.apply(this,arguments)}}var ft=je,ot=!1,dt=null,Xe=!1,At=null,St={onError:function(A){ot=!0,dt=A}};function _t(A,V,W,X,ye,_e,qe,ht,mt){ot=!1,dt=null,ft.apply(St,arguments)}function ze(A,V,W,X,ye,_e,qe,ht,mt){if(_t.apply(this,arguments),ot){var it=et();Xe||(Xe=!0,At=it)}}function Rt(){if(Xe){var A=At;throw Xe=!1,At=null,A}}function et(){if(ot){var A=dt;return ot=!1,dt=null,A}else throw new Error("clearCaughtError was called but no error was captured. This error is likely caused by a bug in React. Please file an issue.")}var Ze=Array.isArray;function Dt(A){return Ze(A)}var S=t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,y=S.Events,g=y[0],E=y[1],x=y[2],P=y[3],q=y[4],oe=e.unstable_act;function he(A){}var ue=!1;function pe(A,V){if(!A)return[];var W=b(A);if(!W)return[];for(var X=W,ye=[];;){if(X.tag===c||X.tag===p||X.tag===l||X.tag===i){var _e=X.stateNode;V(_e)&&ye.push(_e)}if(X.child){X.child.return=X,X=X.child;continue}if(X===W)return ye;for(;!X.sibling;){if(!X.return||X.return===W)return ye;X=X.return}X.sibling.return=X.return,X=X.sibling}}function Ee(A,V){if(A&&!s(A)){var W,X=String(A);throw Dt(A)?W="an array":A&&A.nodeType===ce&&A.tagName?W="a DOM node":X==="[object Object]"?W="object with keys {"+Object.keys(A).join(", ")+"}":W=X,new Error(V+"(...): the first argument must be a React class instance. "+("Instead received: "+W+"."))}}function pt(A){var V=document.createElement("div");return t.render(A,V)}function ur(A){return e.isValidElement(A)}function en(A,V){return e.isValidElement(A)&&A.type===V}function It(A){return!!(A&&A.nodeType===ce&&A.tagName)}function xa(A){return!!(A&&e.isValidElement(A)&&A.tagName)}function tn(A){return It(A)?!1:A!=null&&typeof A.render=="function"&&typeof A.setState=="function"}function qn(A,V){if(!tn(A))return!1;var W=s(A),X=W.type;return X===V}function xr(A,V){if(Ee(A,"findAllInRenderedTree"),!A)return[];var W=s(A);return pe(W,V)}function Dn(A,V){return Ee(A,"scryRenderedDOMComponentsWithClass"),xr(A,function(W){if(It(W)){var X=W.className;typeof X!="string"&&(X=W.getAttribute("class")||"");var ye=X.split(/\s+/);if(!Dt(V)){if(V===void 0)throw new Error("TestUtils.scryRenderedDOMComponentsWithClass expects a className as a second argument.");V=V.split(/\s+/)}return V.every(function(_e){return ye.indexOf(_e)!==-1})}return!1})}function Fn(A,V){Ee(A,"findRenderedDOMComponentWithClass");var W=Dn(A,V);if(W.length!==1)throw new Error("Did not find exactly one match (found: "+W.length+") for class:"+V);return W[0]}function rn(A,V){return Ee(A,"scryRenderedDOMComponentsWithTag"),xr(A,function(W){return It(W)&&W.tagName.toUpperCase()===V.toUpperCase()})}function Ft(A,V){Ee(A,"findRenderedDOMComponentWithTag");var W=rn(A,V);if(W.length!==1)throw new Error("Did not find exactly one match (found: "+W.length+") for tag:"+V);return W[0]}function Un(A,V){return Ee(A,"scryRenderedComponentsWithType"),xr(A,function(W){return qn(W,V)})}function Pa(A,V){Ee(A,"findRenderedComponentWithType");var W=Un(A,V);if(W.length!==1)throw new Error("Did not find exactly one match (found: "+W.length+") for componentType:"+V);return W[0]}function Aa(A,V){return ue||(ue=!0,n(`ReactTestUtils.mockComponent() is deprecated. Use shallow rendering or jest.mock() instead.
106
+ */var ig;function ZI(){return ig||(ig=1,process.env.NODE_ENV!=="production"&&function(){var e=re,t=sh,r=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;function n(A){{for(var V=arguments.length,W=new Array(V>1?V-1:0),X=1;X<V;X++)W[X-1]=arguments[X];o("warn",A,W)}}function a(A){{for(var V=arguments.length,W=new Array(V>1?V-1:0),X=1;X<V;X++)W[X-1]=arguments[X];o("error",A,W)}}function o(A,V,W){{var X=r.ReactDebugCurrentFrame,ye=X.getStackAddendum();ye!==""&&(V+="%s",W=W.concat([ye]));var _e=W.map(function(qe){return String(qe)});_e.unshift("Warning: "+V),Function.prototype.apply.call(console[A],console,_e)}}function s(A){return A._reactInternals}var i=0,l=1,u=3,c=5,p=6,d=0,f=2,h=4096;r.ReactCurrentOwner;function m(A){var V=A,W=A;if(A.alternate)for(;V.return;)V=V.return;else{var X=V;do V=X,(V.flags&(f|h))!==d&&(W=V.return),X=V.return;while(X)}return V.tag===u?W:null}function _(A){if(m(A)!==A)throw new Error("Unable to find node on an unmounted component.")}function b(A){var V=A.alternate;if(!V){var W=m(A);if(W===null)throw new Error("Unable to find node on an unmounted component.");return W!==A?null:A}for(var X=A,ye=V;;){var _e=X.return;if(_e===null)break;var qe=_e.alternate;if(qe===null){var ht=_e.return;if(ht!==null){X=ye=ht;continue}break}if(_e.child===qe.child){for(var mt=_e.child;mt;){if(mt===X)return _(_e),A;if(mt===ye)return _(_e),V;mt=mt.sibling}throw new Error("Unable to find node on an unmounted component.")}if(X.return!==ye.return)X=_e,ye=qe;else{for(var it=!1,Qe=_e.child;Qe;){if(Qe===X){it=!0,X=_e,ye=qe;break}if(Qe===ye){it=!0,ye=_e,X=qe;break}Qe=Qe.sibling}if(!it){for(Qe=qe.child;Qe;){if(Qe===X){it=!0,X=qe,ye=_e;break}if(Qe===ye){it=!0,ye=qe,X=_e;break}Qe=Qe.sibling}if(!it)throw new Error("Child was not found in either parent set. This indicates a bug in React related to the return pointer. Please file an issue.")}}if(X.alternate!==ye)throw new Error("Return fibers should always be each others' alternates. This error is likely caused by a bug in React. Please file an issue.")}if(X.tag!==u)throw new Error("Unable to find node on an unmounted component.");return X.stateNode.current===X?A:V}var v=Object.assign;function w(A){var V,W=A.keyCode;return"charCode"in A?(V=A.charCode,V===0&&W===13&&(V=13)):V=W,V===10&&(V=13),V>=32||V===13?V:0}function R(){return!0}function T(){return!1}function C(A){function V(W,X,ye,_e,qe){this._reactName=W,this._targetInst=ye,this.type=X,this.nativeEvent=_e,this.target=qe,this.currentTarget=null;for(var ht in A)if(A.hasOwnProperty(ht)){var mt=A[ht];mt?this[ht]=mt(_e):this[ht]=_e[ht]}var it=_e.defaultPrevented!=null?_e.defaultPrevented:_e.returnValue===!1;return it?this.isDefaultPrevented=R:this.isDefaultPrevented=T,this.isPropagationStopped=T,this}return v(V.prototype,{preventDefault:function(){this.defaultPrevented=!0;var W=this.nativeEvent;W&&(W.preventDefault?W.preventDefault():typeof W.returnValue!="unknown"&&(W.returnValue=!1),this.isDefaultPrevented=R)},stopPropagation:function(){var W=this.nativeEvent;W&&(W.stopPropagation?W.stopPropagation():typeof W.cancelBubble!="unknown"&&(W.cancelBubble=!0),this.isPropagationStopped=R)},persist:function(){},isPersistent:R}),V}var N={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(A){return A.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},I=C(N),j=v({},N,{view:0,detail:0});C(j);var z,Y,U;function D(A){A!==U&&(U&&A.type==="mousemove"?(z=A.screenX-U.screenX,Y=A.screenY-U.screenY):(z=0,Y=0),U=A)}var Q=v({},j,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:ie,button:0,buttons:0,relatedTarget:function(A){return A.relatedTarget===void 0?A.fromElement===A.srcElement?A.toElement:A.fromElement:A.relatedTarget},movementX:function(A){return"movementX"in A?A.movementX:(D(A),z)},movementY:function(A){return"movementY"in A?A.movementY:Y}});C(Q);var J=v({},Q,{dataTransfer:0});C(J);var k=v({},j,{relatedTarget:0});C(k);var G=v({},N,{animationName:0,elapsedTime:0,pseudoElement:0});C(G);var Z=v({},N,{clipboardData:function(A){return"clipboardData"in A?A.clipboardData:window.clipboardData}});C(Z);var ve=v({},N,{data:0});C(ve);var ee={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},ne={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"};function me(A){if(A.key){var V=ee[A.key]||A.key;if(V!=="Unidentified")return V}if(A.type==="keypress"){var W=w(A);return W===13?"Enter":String.fromCharCode(W)}return A.type==="keydown"||A.type==="keyup"?ne[A.keyCode]||"Unidentified":""}var ge={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function Ge(A){var V=this,W=V.nativeEvent;if(W.getModifierState)return W.getModifierState(A);var X=ge[A];return X?!!W[X]:!1}function ie(A){return Ge}var le=v({},j,{key:me,code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:ie,charCode:function(A){return A.type==="keypress"?w(A):0},keyCode:function(A){return A.type==="keydown"||A.type==="keyup"?A.keyCode:0},which:function(A){return A.type==="keypress"?w(A):A.type==="keydown"||A.type==="keyup"?A.keyCode:0}});C(le);var xe=v({},Q,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0});C(xe);var Be=v({},j,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:ie});C(Be);var at=v({},N,{propertyName:0,elapsedTime:0,pseudoElement:0});C(at);var ct=v({},Q,{deltaX:function(A){return"deltaX"in A?A.deltaX:"wheelDeltaX"in A?-A.wheelDeltaX:0},deltaY:function(A){return"deltaY"in A?A.deltaY:"wheelDeltaY"in A?-A.wheelDeltaY:"wheelDelta"in A?-A.wheelDelta:0},deltaZ:0,deltaMode:0});C(ct);var ce=1;function se(A,V,W,X,ye,_e,qe,ht,mt){var it=Array.prototype.slice.call(arguments,3);try{V.apply(W,it)}catch(Qe){this.onError(Qe)}}var je=se;if(typeof window<"u"&&typeof window.dispatchEvent=="function"&&typeof document<"u"&&typeof document.createEvent=="function"){var Ae=document.createElement("react");je=function(V,W,X,ye,_e,qe,ht,mt,it){if(typeof document>"u"||document===null)throw new Error("The `document` global was defined when React was initialized, but is not defined anymore. This can happen in a test environment if a component schedules an update from an asynchronous callback, but the test has already finished running. To solve this, you can either unmount the component at the end of your test (and ensure that any asynchronous operations get canceled in `componentWillUnmount`), or you can change the test itself to be asynchronous.");var Qe=document.createEvent("Event"),ln=!1,Pr=!0,Fa=window.event,Hn=Object.getOwnPropertyDescriptor(window,"event");function Gn(){Ae.removeEventListener(fr,Vn,!1),typeof window.event<"u"&&window.hasOwnProperty("event")&&(window.event=Fa)}var Wn=Array.prototype.slice.call(arguments,3);function Vn(){ln=!0,Gn(),W.apply(X,Wn),Pr=!1}var Nt,zn=!1,un=!1;function Yn(Ht){if(Nt=Ht.error,zn=!0,Nt===null&&Ht.colno===0&&Ht.lineno===0&&(un=!0),Ht.defaultPrevented&&Nt!=null&&typeof Nt=="object")try{Nt._suppressLogging=!0}catch{}}var fr="react-"+(V||"invokeguardedcallback");if(window.addEventListener("error",Yn),Ae.addEventListener(fr,Vn,!1),Qe.initEvent(fr,!1,!1),Ae.dispatchEvent(Qe),Hn&&Object.defineProperty(window,"event",Hn),ln&&Pr&&(zn?un&&(Nt=new Error("A cross-origin error was thrown. React doesn't have access to the actual error object in development. See https://reactjs.org/link/crossorigin-error for more information.")):Nt=new Error(`An error was thrown inside one of your components, but React doesn't know what it was. This is likely due to browser flakiness. React does its best to preserve the "Pause on exceptions" behavior of the DevTools, which requires some DEV-mode only tricks. It's possible that these don't work in your browser. Try triggering the error in production mode, or switching to a modern browser. If you suspect that this is actually an issue with React, please file an issue.`),this.onError(Nt)),window.removeEventListener("error",Yn),!ln)return Gn(),se.apply(this,arguments)}}var ft=je,ot=!1,dt=null,Xe=!1,At=null,St={onError:function(A){ot=!0,dt=A}};function _t(A,V,W,X,ye,_e,qe,ht,mt){ot=!1,dt=null,ft.apply(St,arguments)}function ze(A,V,W,X,ye,_e,qe,ht,mt){if(_t.apply(this,arguments),ot){var it=et();Xe||(Xe=!0,At=it)}}function Rt(){if(Xe){var A=At;throw Xe=!1,At=null,A}}function et(){if(ot){var A=dt;return ot=!1,dt=null,A}else throw new Error("clearCaughtError was called but no error was captured. This error is likely caused by a bug in React. Please file an issue.")}var Ze=Array.isArray;function Dt(A){return Ze(A)}var S=t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,y=S.Events,g=y[0],E=y[1],x=y[2],P=y[3],q=y[4],oe=e.unstable_act;function he(A){}var ue=!1;function pe(A,V){if(!A)return[];var W=b(A);if(!W)return[];for(var X=W,ye=[];;){if(X.tag===c||X.tag===p||X.tag===l||X.tag===i){var _e=X.stateNode;V(_e)&&ye.push(_e)}if(X.child){X.child.return=X,X=X.child;continue}if(X===W)return ye;for(;!X.sibling;){if(!X.return||X.return===W)return ye;X=X.return}X.sibling.return=X.return,X=X.sibling}}function Ee(A,V){if(A&&!s(A)){var W,X=String(A);throw Dt(A)?W="an array":A&&A.nodeType===ce&&A.tagName?W="a DOM node":X==="[object Object]"?W="object with keys {"+Object.keys(A).join(", ")+"}":W=X,new Error(V+"(...): the first argument must be a React class instance. "+("Instead received: "+W+"."))}}function pt(A){var V=document.createElement("div");return t.render(A,V)}function ur(A){return e.isValidElement(A)}function en(A,V){return e.isValidElement(A)&&A.type===V}function It(A){return!!(A&&A.nodeType===ce&&A.tagName)}function Oa(A){return!!(A&&e.isValidElement(A)&&A.tagName)}function tn(A){return It(A)?!1:A!=null&&typeof A.render=="function"&&typeof A.setState=="function"}function qn(A,V){if(!tn(A))return!1;var W=s(A),X=W.type;return X===V}function xr(A,V){if(Ee(A,"findAllInRenderedTree"),!A)return[];var W=s(A);return pe(W,V)}function Dn(A,V){return Ee(A,"scryRenderedDOMComponentsWithClass"),xr(A,function(W){if(It(W)){var X=W.className;typeof X!="string"&&(X=W.getAttribute("class")||"");var ye=X.split(/\s+/);if(!Dt(V)){if(V===void 0)throw new Error("TestUtils.scryRenderedDOMComponentsWithClass expects a className as a second argument.");V=V.split(/\s+/)}return V.every(function(_e){return ye.indexOf(_e)!==-1})}return!1})}function Fn(A,V){Ee(A,"findRenderedDOMComponentWithClass");var W=Dn(A,V);if(W.length!==1)throw new Error("Did not find exactly one match (found: "+W.length+") for class:"+V);return W[0]}function rn(A,V){return Ee(A,"scryRenderedDOMComponentsWithTag"),xr(A,function(W){return It(W)&&W.tagName.toUpperCase()===V.toUpperCase()})}function Ft(A,V){Ee(A,"findRenderedDOMComponentWithTag");var W=rn(A,V);if(W.length!==1)throw new Error("Did not find exactly one match (found: "+W.length+") for tag:"+V);return W[0]}function Un(A,V){return Ee(A,"scryRenderedComponentsWithType"),xr(A,function(W){return qn(W,V)})}function xa(A,V){Ee(A,"findRenderedComponentWithType");var W=Un(A,V);if(W.length!==1)throw new Error("Did not find exactly one match (found: "+W.length+") for componentType:"+V);return W[0]}function Pa(A,V){return ue||(ue=!0,n(`ReactTestUtils.mockComponent() is deprecated. Use shallow rendering or jest.mock() instead.
107
107
 
108
- See https://reactjs.org/link/test-utils-mock-component for more information.`)),V=V||A.mockTagName||"div",A.prototype.render.mockImplementation(function(){return e.createElement(V,null,this.props.children)}),this}function Ia(A,V){return{touches:[{pageX:A,pageY:V}]}}function jn(A,V,W){var X=A.type||"unknown-event";A.currentTarget=E(W),ze(X,V,void 0,A),A.currentTarget=null}function Ct(A){var V=A._dispatchListeners,W=A._dispatchInstances;if(Dt(V))for(var X=0;X<V.length&&!A.isPropagationStopped();X++)jn(A,V[X],W[X]);else V&&jn(A,V,W);A._dispatchListeners=null,A._dispatchInstances=null}var nn=function(A){A&&(Ct(A),A.isPersistent()||A.constructor.release(A))};function an(A){return A==="button"||A==="input"||A==="select"||A==="textarea"}function cr(A){do A=A.return;while(A&&A.tag!==c);return A||null}function on(A,V,W){for(var X=[];A;)X.push(A),A=cr(A);var ye;for(ye=X.length;ye-- >0;)V(X[ye],"captured",W);for(ye=0;ye<X.length;ye++)V(X[ye],"bubbled",W)}function Na(A,V,W){switch(A){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":return!!(W.disabled&&an(V));default:return!1}}function Ut(A,V){var W=A.stateNode;if(!W)return null;var X=x(W);if(!X)return null;var ye=X[V];if(Na(V,A.type,X))return null;if(ye&&typeof ye!="function")throw new Error("Expected `"+V+"` listener to be a function, instead got a value of `"+typeof ye+"` type.");return ye}function Ma(A,V,W){var X=V._reactName;return W==="captured"&&(X+="Capture"),Ut(A,X)}function ka(A,V,W){if(A&&W&&W._reactName){var X=W._reactName,ye=Ut(A,X);ye&&(W._dispatchListeners==null&&(W._dispatchListeners=[]),W._dispatchInstances==null&&(W._dispatchInstances=[]),W._dispatchListeners.push(ye),W._dispatchInstances.push(A))}}function $a(A,V,W){A||a("Dispatching inst must not be null");var X=Ma(A,W,V);X&&(W._dispatchListeners==null&&(W._dispatchListeners=[]),W._dispatchInstances==null&&(W._dispatchInstances=[]),W._dispatchListeners.push(X),W._dispatchInstances.push(A))}function La(A){A&&A._reactName&&ka(A._targetInst,null,A)}function sn(A){A&&A._reactName&&on(A._targetInst,$a,A)}var jt={},Ba=new Set(["mouseEnter","mouseLeave","pointerEnter","pointerLeave"]);function qa(A){return function(V,W){if(e.isValidElement(V))throw new Error("TestUtils.Simulate expected a DOM node as the first argument but received a React element. Pass the DOM node you wish to simulate the event on instead. Note that TestUtils.Simulate will not work if you are using shallow rendering.");if(tn(V))throw new Error("TestUtils.Simulate expected a DOM node as the first argument but received a component instance. Pass the DOM node you wish to simulate the event on instead.");var X="on"+A[0].toUpperCase()+A.slice(1),ye=new he;ye.target=V,ye.type=A.toLowerCase();var _e=g(V),qe=new I(X,ye.type,_e,ye,V);qe.persist(),v(qe,W),Ba.has(A)?La(qe):sn(qe),t.unstable_batchedUpdates(function(){P(V),nn(qe),Rt()}),q()}}var Da=["blur","cancel","click","close","contextMenu","copy","cut","auxClick","doubleClick","dragEnd","dragStart","drop","focus","input","invalid","keyDown","keyPress","keyUp","mouseDown","mouseUp","paste","pause","play","pointerCancel","pointerDown","pointerUp","rateChange","reset","resize","seeked","submit","touchCancel","touchEnd","touchStart","volumeChange","drag","dragEnter","dragExit","dragLeave","dragOver","mouseMove","mouseOut","mouseOver","pointerMove","pointerOut","pointerOver","scroll","toggle","touchMove","wheel","abort","animationEnd","animationIteration","animationStart","canPlay","canPlayThrough","durationChange","emptied","encrypted","ended","error","gotPointerCapture","load","loadedData","loadedMetadata","loadStart","lostPointerCapture","playing","progress","seeking","stalled","suspend","timeUpdate","transitionEnd","waiting","mouseEnter","mouseLeave","pointerEnter","pointerLeave","change","select","beforeInput","compositionEnd","compositionStart","compositionUpdate"];function Fa(){Da.forEach(function(A){jt[A]=qa(A)})}Fa(),Ke.Simulate=jt,Ke.act=oe,Ke.findAllInRenderedTree=xr,Ke.findRenderedComponentWithType=Pa,Ke.findRenderedDOMComponentWithClass=Fn,Ke.findRenderedDOMComponentWithTag=Ft,Ke.isCompositeComponent=tn,Ke.isCompositeComponentWithType=qn,Ke.isDOMComponent=It,Ke.isDOMComponentElement=xa,Ke.isElement=ur,Ke.isElementOfType=en,Ke.mockComponent=Aa,Ke.nativeTouchData=Ia,Ke.renderIntoDocument=pt,Ke.scryRenderedComponentsWithType=Un,Ke.scryRenderedDOMComponentsWithClass=Dn,Ke.scryRenderedDOMComponentsWithTag=rn,Ke.traverseTwoPhase=on}()),Ke}process.env.NODE_ENV==="production"?_p.exports=QI():_p.exports=JI();var ZI=_p.exports,id=sh;process.env.NODE_ENV==="production"?(id.createRoot,id.hydrateRoot):id.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;function eN(e){throw new Error('Could not dynamically require "'+e+'". Please configure the dynamicRequireTargets or/and ignoreDynamicRequires option of @rollup/plugin-commonjs appropriately for this require call to work.')}var Xr={},Ih={exports:{}};Ih.exports;(function(e){const r=(o=0)=>s=>`\x1B[${38+o};5;${s}m`,n=(o=0)=>(s,i,l)=>`\x1B[${38+o};2;${s};${i};${l}m`;function a(){const o=new Map,s={modifier:{reset:[0,0],bold:[1,22],dim:[2,22],italic:[3,23],underline:[4,24],overline:[53,55],inverse:[7,27],hidden:[8,28],strikethrough:[9,29]},color:{black:[30,39],red:[31,39],green:[32,39],yellow:[33,39],blue:[34,39],magenta:[35,39],cyan:[36,39],white:[37,39],blackBright:[90,39],redBright:[91,39],greenBright:[92,39],yellowBright:[93,39],blueBright:[94,39],magentaBright:[95,39],cyanBright:[96,39],whiteBright:[97,39]},bgColor:{bgBlack:[40,49],bgRed:[41,49],bgGreen:[42,49],bgYellow:[43,49],bgBlue:[44,49],bgMagenta:[45,49],bgCyan:[46,49],bgWhite:[47,49],bgBlackBright:[100,49],bgRedBright:[101,49],bgGreenBright:[102,49],bgYellowBright:[103,49],bgBlueBright:[104,49],bgMagentaBright:[105,49],bgCyanBright:[106,49],bgWhiteBright:[107,49]}};s.color.gray=s.color.blackBright,s.bgColor.bgGray=s.bgColor.bgBlackBright,s.color.grey=s.color.blackBright,s.bgColor.bgGrey=s.bgColor.bgBlackBright;for(const[i,l]of Object.entries(s)){for(const[u,c]of Object.entries(l))s[u]={open:`\x1B[${c[0]}m`,close:`\x1B[${c[1]}m`},l[u]=s[u],o.set(c[0],c[1]);Object.defineProperty(s,i,{value:l,enumerable:!1})}return Object.defineProperty(s,"codes",{value:o,enumerable:!1}),s.color.close="\x1B[39m",s.bgColor.close="\x1B[49m",s.color.ansi256=r(),s.color.ansi16m=n(),s.bgColor.ansi256=r(10),s.bgColor.ansi16m=n(10),Object.defineProperties(s,{rgbToAnsi256:{value:(i,l,u)=>i===l&&l===u?i<8?16:i>248?231:Math.round((i-8)/247*24)+232:16+36*Math.round(i/255*5)+6*Math.round(l/255*5)+Math.round(u/255*5),enumerable:!1},hexToRgb:{value:i=>{const l=/(?<colorString>[a-f\d]{6}|[a-f\d]{3})/i.exec(i.toString(16));if(!l)return[0,0,0];let{colorString:u}=l.groups;u.length===3&&(u=u.split("").map(p=>p+p).join(""));const c=Number.parseInt(u,16);return[c>>16&255,c>>8&255,c&255]},enumerable:!1},hexToAnsi256:{value:i=>s.rgbToAnsi256(...s.hexToRgb(i)),enumerable:!1}}),s}Object.defineProperty(e,"exports",{enumerable:!0,get:a})})(Ih);var ew=Ih.exports,Cr={};Object.defineProperty(Cr,"__esModule",{value:!0});Cr.printIteratorEntries=rN;Cr.printIteratorValues=nN;Cr.printListItems=aN;Cr.printObjectProperties=oN;const tN=(e,t)=>{const r=Object.keys(e).sort(t);return Object.getOwnPropertySymbols&&Object.getOwnPropertySymbols(e).forEach(n=>{Object.getOwnPropertyDescriptor(e,n).enumerable&&r.push(n)}),r};function rN(e,t,r,n,a,o,s=": "){let i="",l=e.next();if(!l.done){i+=t.spacingOuter;const u=r+t.indent;for(;!l.done;){const c=o(l.value[0],t,u,n,a),p=o(l.value[1],t,u,n,a);i+=u+c+s+p,l=e.next(),l.done?t.min||(i+=","):i+=","+t.spacingInner}i+=t.spacingOuter+r}return i}function nN(e,t,r,n,a,o){let s="",i=e.next();if(!i.done){s+=t.spacingOuter;const l=r+t.indent;for(;!i.done;)s+=l+o(i.value,t,l,n,a),i=e.next(),i.done?t.min||(s+=","):s+=","+t.spacingInner;s+=t.spacingOuter+r}return s}function aN(e,t,r,n,a,o){let s="";if(e.length){s+=t.spacingOuter;const i=r+t.indent;for(let l=0;l<e.length;l++)s+=i,l in e&&(s+=o(e[l],t,i,n,a)),l<e.length-1?s+=","+t.spacingInner:t.min||(s+=",");s+=t.spacingOuter+r}return s}function oN(e,t,r,n,a,o){let s="";const i=tN(e,t.compareKeys);if(i.length){s+=t.spacingOuter;const l=r+t.indent;for(let u=0;u<i.length;u++){const c=i[u],p=o(c,t,l,n,a),d=o(e[c],t,l,n,a);s+=l+p+": "+d,u<i.length-1?s+=","+t.spacingInner:t.min||(s+=",")}s+=t.spacingOuter+r}return s}var jr={};Object.defineProperty(jr,"__esModule",{value:!0});jr.test=jr.serialize=jr.default=void 0;var sg=Cr,as=function(){return typeof globalThis<"u"?globalThis:typeof as<"u"?as:typeof self<"u"?self:typeof window<"u"?window:Function("return this")()}(),sd=as["jest-symbol-do-not-touch"]||as.Symbol;const iN=typeof sd=="function"&&sd.for?sd.for("jest.asymmetricMatcher"):1267621,Pi=" ",tw=(e,t,r,n,a,o)=>{const s=e.toString();return s==="ArrayContaining"||s==="ArrayNotContaining"?++n>t.maxDepth?"["+s+"]":s+Pi+"["+(0,sg.printListItems)(e.sample,t,r,n,a,o)+"]":s==="ObjectContaining"||s==="ObjectNotContaining"?++n>t.maxDepth?"["+s+"]":s+Pi+"{"+(0,sg.printObjectProperties)(e.sample,t,r,n,a,o)+"}":s==="StringMatching"||s==="StringNotMatching"||s==="StringContaining"||s==="StringNotContaining"?s+Pi+o(e.sample,t,r,n,a):e.toAsymmetricMatcher()};jr.serialize=tw;const rw=e=>e&&e.$$typeof===iN;jr.test=rw;const sN={serialize:tw,test:rw};var lN=sN;jr.default=lN;var Hr={},uN=({onlyFirst:e=!1}={})=>{const t=["[\\u001B\\u009B][[\\]()#;?]*(?:(?:(?:(?:;[-a-zA-Z\\d\\/#&.:=?%@~_]+)*|[a-zA-Z\\d]+(?:;[-a-zA-Z\\d\\/#&.:=?%@~_]*)*)?\\u0007)","(?:(?:\\d{1,4}(?:;\\d{0,4})*)?[\\dA-PR-TZcf-ntqry=><~]))"].join("|");return new RegExp(t,e?void 0:"g")};Object.defineProperty(Hr,"__esModule",{value:!0});Hr.test=Hr.serialize=Hr.default=void 0;var nw=aw(uN),De=aw(ew);function aw(e){return e&&e.__esModule?e:{default:e}}const cN=e=>e.replace((0,nw.default)(),t=>{switch(t){case De.default.red.close:case De.default.green.close:case De.default.cyan.close:case De.default.gray.close:case De.default.white.close:case De.default.yellow.close:case De.default.bgRed.close:case De.default.bgGreen.close:case De.default.bgYellow.close:case De.default.inverse.close:case De.default.dim.close:case De.default.bold.close:case De.default.reset.open:case De.default.reset.close:return"</>";case De.default.red.open:return"<red>";case De.default.green.open:return"<green>";case De.default.cyan.open:return"<cyan>";case De.default.gray.open:return"<gray>";case De.default.white.open:return"<white>";case De.default.yellow.open:return"<yellow>";case De.default.bgRed.open:return"<bgRed>";case De.default.bgGreen.open:return"<bgGreen>";case De.default.bgYellow.open:return"<bgYellow>";case De.default.inverse.open:return"<inverse>";case De.default.dim.open:return"<dim>";case De.default.bold.open:return"<bold>";default:return""}}),ow=e=>typeof e=="string"&&!!e.match((0,nw.default)());Hr.test=ow;const iw=(e,t,r,n,a,o)=>o(cN(e),t,r,n,a);Hr.serialize=iw;const fN={serialize:iw,test:ow};var dN=fN;Hr.default=dN;var Gr={};Object.defineProperty(Gr,"__esModule",{value:!0});Gr.test=Gr.serialize=Gr.default=void 0;var lg=Cr;const pN=" ",sw=["DOMStringMap","NamedNodeMap"],hN=/^(HTML\w*Collection|NodeList)$/,mN=e=>sw.indexOf(e)!==-1||hN.test(e),lw=e=>e&&e.constructor&&!!e.constructor.name&&mN(e.constructor.name);Gr.test=lw;const yN=e=>e.constructor.name==="NamedNodeMap",uw=(e,t,r,n,a,o)=>{const s=e.constructor.name;return++n>t.maxDepth?"["+s+"]":(t.min?"":s+pN)+(sw.indexOf(s)!==-1?"{"+(0,lg.printObjectProperties)(yN(e)?Array.from(e).reduce((i,l)=>(i[l.name]=l.value,i),{}):{...e},t,r,n,a,o)+"}":"["+(0,lg.printListItems)(Array.from(e),t,r,n,a,o)+"]")};Gr.serialize=uw;const vN={serialize:uw,test:lw};var gN=vN;Gr.default=gN;var Wr={},vt={},Nh={};Object.defineProperty(Nh,"__esModule",{value:!0});Nh.default=bN;function bN(e){return e.replace(/</g,"&lt;").replace(/>/g,"&gt;")}Object.defineProperty(vt,"__esModule",{value:!0});vt.printText=vt.printProps=vt.printElementAsLeaf=vt.printElement=vt.printComment=vt.printChildren=void 0;var cw=EN(Nh);function EN(e){return e&&e.__esModule?e:{default:e}}const _N=(e,t,r,n,a,o,s)=>{const i=n+r.indent,l=r.colors;return e.map(u=>{const c=t[u];let p=s(c,r,i,a,o);return typeof c!="string"&&(p.indexOf(`
109
- `)!==-1&&(p=r.spacingOuter+i+p+r.spacingOuter+n),p="{"+p+"}"),r.spacingInner+n+l.prop.open+u+l.prop.close+"="+l.value.open+p+l.value.close}).join("")};vt.printProps=_N;const wN=(e,t,r,n,a,o)=>e.map(s=>t.spacingOuter+r+(typeof s=="string"?fw(s,t):o(s,t,r,n,a))).join("");vt.printChildren=wN;const fw=(e,t)=>{const r=t.colors.content;return r.open+(0,cw.default)(e)+r.close};vt.printText=fw;const TN=(e,t)=>{const r=t.colors.comment;return r.open+"<!--"+(0,cw.default)(e)+"-->"+r.close};vt.printComment=TN;const SN=(e,t,r,n,a)=>{const o=n.colors.tag;return o.open+"<"+e+(t&&o.close+t+n.spacingOuter+a+o.open)+(r?">"+o.close+r+n.spacingOuter+a+o.open+"</"+e:(t&&!n.min?"":" ")+"/")+">"+o.close};vt.printElement=SN;const RN=(e,t)=>{const r=t.colors.tag;return r.open+"<"+e+r.close+" …"+r.open+" />"+r.close};vt.printElementAsLeaf=RN;Object.defineProperty(Wr,"__esModule",{value:!0});Wr.test=Wr.serialize=Wr.default=void 0;var ta=vt;const CN=1,dw=3,pw=8,hw=11,ON=/^((HTML|SVG)\w*)?Element$/,xN=e=>{try{return typeof e.hasAttribute=="function"&&e.hasAttribute("is")}catch{return!1}},PN=e=>{const t=e.constructor.name,{nodeType:r,tagName:n}=e,a=typeof n=="string"&&n.includes("-")||xN(e);return r===CN&&(ON.test(t)||a)||r===dw&&t==="Text"||r===pw&&t==="Comment"||r===hw&&t==="DocumentFragment"},mw=e=>{var t;return(e==null||(t=e.constructor)===null||t===void 0?void 0:t.name)&&PN(e)};Wr.test=mw;function AN(e){return e.nodeType===dw}function IN(e){return e.nodeType===pw}function ld(e){return e.nodeType===hw}const yw=(e,t,r,n,a,o)=>{if(AN(e))return(0,ta.printText)(e.data,t);if(IN(e))return(0,ta.printComment)(e.data,t);const s=ld(e)?"DocumentFragment":e.tagName.toLowerCase();return++n>t.maxDepth?(0,ta.printElementAsLeaf)(s,t):(0,ta.printElement)(s,(0,ta.printProps)(ld(e)?[]:Array.from(e.attributes).map(i=>i.name).sort(),ld(e)?{}:Array.from(e.attributes).reduce((i,l)=>(i[l.name]=l.value,i),{}),t,r+t.indent,n,a,o),(0,ta.printChildren)(Array.prototype.slice.call(e.childNodes||e.children),t,r+t.indent,n,a,o),t,r)};Wr.serialize=yw;const NN={serialize:yw,test:mw};var MN=NN;Wr.default=MN;var Vr={};Object.defineProperty(Vr,"__esModule",{value:!0});Vr.test=Vr.serialize=Vr.default=void 0;var Oo=Cr;const kN="@@__IMMUTABLE_ITERABLE__@@",$N="@@__IMMUTABLE_LIST__@@",LN="@@__IMMUTABLE_KEYED__@@",BN="@@__IMMUTABLE_MAP__@@",ug="@@__IMMUTABLE_ORDERED__@@",qN="@@__IMMUTABLE_RECORD__@@",DN="@@__IMMUTABLE_SEQ__@@",FN="@@__IMMUTABLE_SET__@@",UN="@@__IMMUTABLE_STACK__@@",va=e=>"Immutable."+e,Ms=e=>"["+e+"]",xo=" ",cg="…",jN=(e,t,r,n,a,o,s)=>++n>t.maxDepth?Ms(va(s)):va(s)+xo+"{"+(0,Oo.printIteratorEntries)(e.entries(),t,r,n,a,o)+"}";function HN(e){let t=0;return{next(){if(t<e._keys.length){const r=e._keys[t++];return{done:!1,value:[r,e.get(r)]}}return{done:!0,value:void 0}}}}const GN=(e,t,r,n,a,o)=>{const s=va(e._name||"Record");return++n>t.maxDepth?Ms(s):s+xo+"{"+(0,Oo.printIteratorEntries)(HN(e),t,r,n,a,o)+"}"},WN=(e,t,r,n,a,o)=>{const s=va("Seq");return++n>t.maxDepth?Ms(s):e[LN]?s+xo+"{"+(e._iter||e._object?(0,Oo.printIteratorEntries)(e.entries(),t,r,n,a,o):cg)+"}":s+xo+"["+(e._iter||e._array||e._collection||e._iterable?(0,Oo.printIteratorValues)(e.values(),t,r,n,a,o):cg)+"]"},ud=(e,t,r,n,a,o,s)=>++n>t.maxDepth?Ms(va(s)):va(s)+xo+"["+(0,Oo.printIteratorValues)(e.values(),t,r,n,a,o)+"]",vw=(e,t,r,n,a,o)=>e[BN]?jN(e,t,r,n,a,o,e[ug]?"OrderedMap":"Map"):e[$N]?ud(e,t,r,n,a,o,"List"):e[FN]?ud(e,t,r,n,a,o,e[ug]?"OrderedSet":"Set"):e[UN]?ud(e,t,r,n,a,o,"Stack"):e[DN]?WN(e,t,r,n,a,o):GN(e,t,r,n,a,o);Vr.serialize=vw;const gw=e=>e&&(e[kN]===!0||e[qN]===!0);Vr.test=gw;const VN={serialize:vw,test:gw};var zN=VN;Vr.default=zN;var zr={},wp={exports:{}},Me={};/** @license React v17.0.2
108
+ See https://reactjs.org/link/test-utils-mock-component for more information.`)),V=V||A.mockTagName||"div",A.prototype.render.mockImplementation(function(){return e.createElement(V,null,this.props.children)}),this}function Aa(A,V){return{touches:[{pageX:A,pageY:V}]}}function jn(A,V,W){var X=A.type||"unknown-event";A.currentTarget=E(W),ze(X,V,void 0,A),A.currentTarget=null}function Ct(A){var V=A._dispatchListeners,W=A._dispatchInstances;if(Dt(V))for(var X=0;X<V.length&&!A.isPropagationStopped();X++)jn(A,V[X],W[X]);else V&&jn(A,V,W);A._dispatchListeners=null,A._dispatchInstances=null}var nn=function(A){A&&(Ct(A),A.isPersistent()||A.constructor.release(A))};function an(A){return A==="button"||A==="input"||A==="select"||A==="textarea"}function cr(A){do A=A.return;while(A&&A.tag!==c);return A||null}function on(A,V,W){for(var X=[];A;)X.push(A),A=cr(A);var ye;for(ye=X.length;ye-- >0;)V(X[ye],"captured",W);for(ye=0;ye<X.length;ye++)V(X[ye],"bubbled",W)}function Ia(A,V,W){switch(A){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":return!!(W.disabled&&an(V));default:return!1}}function Ut(A,V){var W=A.stateNode;if(!W)return null;var X=x(W);if(!X)return null;var ye=X[V];if(Ia(V,A.type,X))return null;if(ye&&typeof ye!="function")throw new Error("Expected `"+V+"` listener to be a function, instead got a value of `"+typeof ye+"` type.");return ye}function Na(A,V,W){var X=V._reactName;return W==="captured"&&(X+="Capture"),Ut(A,X)}function Ma(A,V,W){if(A&&W&&W._reactName){var X=W._reactName,ye=Ut(A,X);ye&&(W._dispatchListeners==null&&(W._dispatchListeners=[]),W._dispatchInstances==null&&(W._dispatchInstances=[]),W._dispatchListeners.push(ye),W._dispatchInstances.push(A))}}function ka(A,V,W){A||a("Dispatching inst must not be null");var X=Na(A,W,V);X&&(W._dispatchListeners==null&&(W._dispatchListeners=[]),W._dispatchInstances==null&&(W._dispatchInstances=[]),W._dispatchListeners.push(X),W._dispatchInstances.push(A))}function $a(A){A&&A._reactName&&Ma(A._targetInst,null,A)}function sn(A){A&&A._reactName&&on(A._targetInst,ka,A)}var jt={},La=new Set(["mouseEnter","mouseLeave","pointerEnter","pointerLeave"]);function Ba(A){return function(V,W){if(e.isValidElement(V))throw new Error("TestUtils.Simulate expected a DOM node as the first argument but received a React element. Pass the DOM node you wish to simulate the event on instead. Note that TestUtils.Simulate will not work if you are using shallow rendering.");if(tn(V))throw new Error("TestUtils.Simulate expected a DOM node as the first argument but received a component instance. Pass the DOM node you wish to simulate the event on instead.");var X="on"+A[0].toUpperCase()+A.slice(1),ye=new he;ye.target=V,ye.type=A.toLowerCase();var _e=g(V),qe=new I(X,ye.type,_e,ye,V);qe.persist(),v(qe,W),La.has(A)?$a(qe):sn(qe),t.unstable_batchedUpdates(function(){P(V),nn(qe),Rt()}),q()}}var qa=["blur","cancel","click","close","contextMenu","copy","cut","auxClick","doubleClick","dragEnd","dragStart","drop","focus","input","invalid","keyDown","keyPress","keyUp","mouseDown","mouseUp","paste","pause","play","pointerCancel","pointerDown","pointerUp","rateChange","reset","resize","seeked","submit","touchCancel","touchEnd","touchStart","volumeChange","drag","dragEnter","dragExit","dragLeave","dragOver","mouseMove","mouseOut","mouseOver","pointerMove","pointerOut","pointerOver","scroll","toggle","touchMove","wheel","abort","animationEnd","animationIteration","animationStart","canPlay","canPlayThrough","durationChange","emptied","encrypted","ended","error","gotPointerCapture","load","loadedData","loadedMetadata","loadStart","lostPointerCapture","playing","progress","seeking","stalled","suspend","timeUpdate","transitionEnd","waiting","mouseEnter","mouseLeave","pointerEnter","pointerLeave","change","select","beforeInput","compositionEnd","compositionStart","compositionUpdate"];function Da(){qa.forEach(function(A){jt[A]=Ba(A)})}Da(),Ke.Simulate=jt,Ke.act=oe,Ke.findAllInRenderedTree=xr,Ke.findRenderedComponentWithType=xa,Ke.findRenderedDOMComponentWithClass=Fn,Ke.findRenderedDOMComponentWithTag=Ft,Ke.isCompositeComponent=tn,Ke.isCompositeComponentWithType=qn,Ke.isDOMComponent=It,Ke.isDOMComponentElement=Oa,Ke.isElement=ur,Ke.isElementOfType=en,Ke.mockComponent=Pa,Ke.nativeTouchData=Aa,Ke.renderIntoDocument=pt,Ke.scryRenderedComponentsWithType=Un,Ke.scryRenderedDOMComponentsWithClass=Dn,Ke.scryRenderedDOMComponentsWithTag=rn,Ke.traverseTwoPhase=on}()),Ke}process.env.NODE_ENV==="production"?_p.exports=JI():_p.exports=ZI();var eN=_p.exports,id=sh;process.env.NODE_ENV==="production"?(id.createRoot,id.hydrateRoot):id.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;function tN(e){throw new Error('Could not dynamically require "'+e+'". Please configure the dynamicRequireTargets or/and ignoreDynamicRequires option of @rollup/plugin-commonjs appropriately for this require call to work.')}var Xr={},Ih={exports:{}};Ih.exports;(function(e){const r=(o=0)=>s=>`\x1B[${38+o};5;${s}m`,n=(o=0)=>(s,i,l)=>`\x1B[${38+o};2;${s};${i};${l}m`;function a(){const o=new Map,s={modifier:{reset:[0,0],bold:[1,22],dim:[2,22],italic:[3,23],underline:[4,24],overline:[53,55],inverse:[7,27],hidden:[8,28],strikethrough:[9,29]},color:{black:[30,39],red:[31,39],green:[32,39],yellow:[33,39],blue:[34,39],magenta:[35,39],cyan:[36,39],white:[37,39],blackBright:[90,39],redBright:[91,39],greenBright:[92,39],yellowBright:[93,39],blueBright:[94,39],magentaBright:[95,39],cyanBright:[96,39],whiteBright:[97,39]},bgColor:{bgBlack:[40,49],bgRed:[41,49],bgGreen:[42,49],bgYellow:[43,49],bgBlue:[44,49],bgMagenta:[45,49],bgCyan:[46,49],bgWhite:[47,49],bgBlackBright:[100,49],bgRedBright:[101,49],bgGreenBright:[102,49],bgYellowBright:[103,49],bgBlueBright:[104,49],bgMagentaBright:[105,49],bgCyanBright:[106,49],bgWhiteBright:[107,49]}};s.color.gray=s.color.blackBright,s.bgColor.bgGray=s.bgColor.bgBlackBright,s.color.grey=s.color.blackBright,s.bgColor.bgGrey=s.bgColor.bgBlackBright;for(const[i,l]of Object.entries(s)){for(const[u,c]of Object.entries(l))s[u]={open:`\x1B[${c[0]}m`,close:`\x1B[${c[1]}m`},l[u]=s[u],o.set(c[0],c[1]);Object.defineProperty(s,i,{value:l,enumerable:!1})}return Object.defineProperty(s,"codes",{value:o,enumerable:!1}),s.color.close="\x1B[39m",s.bgColor.close="\x1B[49m",s.color.ansi256=r(),s.color.ansi16m=n(),s.bgColor.ansi256=r(10),s.bgColor.ansi16m=n(10),Object.defineProperties(s,{rgbToAnsi256:{value:(i,l,u)=>i===l&&l===u?i<8?16:i>248?231:Math.round((i-8)/247*24)+232:16+36*Math.round(i/255*5)+6*Math.round(l/255*5)+Math.round(u/255*5),enumerable:!1},hexToRgb:{value:i=>{const l=/(?<colorString>[a-f\d]{6}|[a-f\d]{3})/i.exec(i.toString(16));if(!l)return[0,0,0];let{colorString:u}=l.groups;u.length===3&&(u=u.split("").map(p=>p+p).join(""));const c=Number.parseInt(u,16);return[c>>16&255,c>>8&255,c&255]},enumerable:!1},hexToAnsi256:{value:i=>s.rgbToAnsi256(...s.hexToRgb(i)),enumerable:!1}}),s}Object.defineProperty(e,"exports",{enumerable:!0,get:a})})(Ih);var ew=Ih.exports,Cr={};Object.defineProperty(Cr,"__esModule",{value:!0});Cr.printIteratorEntries=nN;Cr.printIteratorValues=aN;Cr.printListItems=oN;Cr.printObjectProperties=iN;const rN=(e,t)=>{const r=Object.keys(e).sort(t);return Object.getOwnPropertySymbols&&Object.getOwnPropertySymbols(e).forEach(n=>{Object.getOwnPropertyDescriptor(e,n).enumerable&&r.push(n)}),r};function nN(e,t,r,n,a,o,s=": "){let i="",l=e.next();if(!l.done){i+=t.spacingOuter;const u=r+t.indent;for(;!l.done;){const c=o(l.value[0],t,u,n,a),p=o(l.value[1],t,u,n,a);i+=u+c+s+p,l=e.next(),l.done?t.min||(i+=","):i+=","+t.spacingInner}i+=t.spacingOuter+r}return i}function aN(e,t,r,n,a,o){let s="",i=e.next();if(!i.done){s+=t.spacingOuter;const l=r+t.indent;for(;!i.done;)s+=l+o(i.value,t,l,n,a),i=e.next(),i.done?t.min||(s+=","):s+=","+t.spacingInner;s+=t.spacingOuter+r}return s}function oN(e,t,r,n,a,o){let s="";if(e.length){s+=t.spacingOuter;const i=r+t.indent;for(let l=0;l<e.length;l++)s+=i,l in e&&(s+=o(e[l],t,i,n,a)),l<e.length-1?s+=","+t.spacingInner:t.min||(s+=",");s+=t.spacingOuter+r}return s}function iN(e,t,r,n,a,o){let s="";const i=rN(e,t.compareKeys);if(i.length){s+=t.spacingOuter;const l=r+t.indent;for(let u=0;u<i.length;u++){const c=i[u],p=o(c,t,l,n,a),d=o(e[c],t,l,n,a);s+=l+p+": "+d,u<i.length-1?s+=","+t.spacingInner:t.min||(s+=",")}s+=t.spacingOuter+r}return s}var jr={};Object.defineProperty(jr,"__esModule",{value:!0});jr.test=jr.serialize=jr.default=void 0;var sg=Cr,as=function(){return typeof globalThis<"u"?globalThis:typeof as<"u"?as:typeof self<"u"?self:typeof window<"u"?window:Function("return this")()}(),sd=as["jest-symbol-do-not-touch"]||as.Symbol;const sN=typeof sd=="function"&&sd.for?sd.for("jest.asymmetricMatcher"):1267621,Pi=" ",tw=(e,t,r,n,a,o)=>{const s=e.toString();return s==="ArrayContaining"||s==="ArrayNotContaining"?++n>t.maxDepth?"["+s+"]":s+Pi+"["+(0,sg.printListItems)(e.sample,t,r,n,a,o)+"]":s==="ObjectContaining"||s==="ObjectNotContaining"?++n>t.maxDepth?"["+s+"]":s+Pi+"{"+(0,sg.printObjectProperties)(e.sample,t,r,n,a,o)+"}":s==="StringMatching"||s==="StringNotMatching"||s==="StringContaining"||s==="StringNotContaining"?s+Pi+o(e.sample,t,r,n,a):e.toAsymmetricMatcher()};jr.serialize=tw;const rw=e=>e&&e.$$typeof===sN;jr.test=rw;const lN={serialize:tw,test:rw};var uN=lN;jr.default=uN;var Hr={},cN=({onlyFirst:e=!1}={})=>{const t=["[\\u001B\\u009B][[\\]()#;?]*(?:(?:(?:(?:;[-a-zA-Z\\d\\/#&.:=?%@~_]+)*|[a-zA-Z\\d]+(?:;[-a-zA-Z\\d\\/#&.:=?%@~_]*)*)?\\u0007)","(?:(?:\\d{1,4}(?:;\\d{0,4})*)?[\\dA-PR-TZcf-ntqry=><~]))"].join("|");return new RegExp(t,e?void 0:"g")};Object.defineProperty(Hr,"__esModule",{value:!0});Hr.test=Hr.serialize=Hr.default=void 0;var nw=aw(cN),De=aw(ew);function aw(e){return e&&e.__esModule?e:{default:e}}const fN=e=>e.replace((0,nw.default)(),t=>{switch(t){case De.default.red.close:case De.default.green.close:case De.default.cyan.close:case De.default.gray.close:case De.default.white.close:case De.default.yellow.close:case De.default.bgRed.close:case De.default.bgGreen.close:case De.default.bgYellow.close:case De.default.inverse.close:case De.default.dim.close:case De.default.bold.close:case De.default.reset.open:case De.default.reset.close:return"</>";case De.default.red.open:return"<red>";case De.default.green.open:return"<green>";case De.default.cyan.open:return"<cyan>";case De.default.gray.open:return"<gray>";case De.default.white.open:return"<white>";case De.default.yellow.open:return"<yellow>";case De.default.bgRed.open:return"<bgRed>";case De.default.bgGreen.open:return"<bgGreen>";case De.default.bgYellow.open:return"<bgYellow>";case De.default.inverse.open:return"<inverse>";case De.default.dim.open:return"<dim>";case De.default.bold.open:return"<bold>";default:return""}}),ow=e=>typeof e=="string"&&!!e.match((0,nw.default)());Hr.test=ow;const iw=(e,t,r,n,a,o)=>o(fN(e),t,r,n,a);Hr.serialize=iw;const dN={serialize:iw,test:ow};var pN=dN;Hr.default=pN;var Gr={};Object.defineProperty(Gr,"__esModule",{value:!0});Gr.test=Gr.serialize=Gr.default=void 0;var lg=Cr;const hN=" ",sw=["DOMStringMap","NamedNodeMap"],mN=/^(HTML\w*Collection|NodeList)$/,yN=e=>sw.indexOf(e)!==-1||mN.test(e),lw=e=>e&&e.constructor&&!!e.constructor.name&&yN(e.constructor.name);Gr.test=lw;const vN=e=>e.constructor.name==="NamedNodeMap",uw=(e,t,r,n,a,o)=>{const s=e.constructor.name;return++n>t.maxDepth?"["+s+"]":(t.min?"":s+hN)+(sw.indexOf(s)!==-1?"{"+(0,lg.printObjectProperties)(vN(e)?Array.from(e).reduce((i,l)=>(i[l.name]=l.value,i),{}):{...e},t,r,n,a,o)+"}":"["+(0,lg.printListItems)(Array.from(e),t,r,n,a,o)+"]")};Gr.serialize=uw;const gN={serialize:uw,test:lw};var bN=gN;Gr.default=bN;var Wr={},vt={},Nh={};Object.defineProperty(Nh,"__esModule",{value:!0});Nh.default=EN;function EN(e){return e.replace(/</g,"&lt;").replace(/>/g,"&gt;")}Object.defineProperty(vt,"__esModule",{value:!0});vt.printText=vt.printProps=vt.printElementAsLeaf=vt.printElement=vt.printComment=vt.printChildren=void 0;var cw=_N(Nh);function _N(e){return e&&e.__esModule?e:{default:e}}const wN=(e,t,r,n,a,o,s)=>{const i=n+r.indent,l=r.colors;return e.map(u=>{const c=t[u];let p=s(c,r,i,a,o);return typeof c!="string"&&(p.indexOf(`
109
+ `)!==-1&&(p=r.spacingOuter+i+p+r.spacingOuter+n),p="{"+p+"}"),r.spacingInner+n+l.prop.open+u+l.prop.close+"="+l.value.open+p+l.value.close}).join("")};vt.printProps=wN;const TN=(e,t,r,n,a,o)=>e.map(s=>t.spacingOuter+r+(typeof s=="string"?fw(s,t):o(s,t,r,n,a))).join("");vt.printChildren=TN;const fw=(e,t)=>{const r=t.colors.content;return r.open+(0,cw.default)(e)+r.close};vt.printText=fw;const SN=(e,t)=>{const r=t.colors.comment;return r.open+"<!--"+(0,cw.default)(e)+"-->"+r.close};vt.printComment=SN;const RN=(e,t,r,n,a)=>{const o=n.colors.tag;return o.open+"<"+e+(t&&o.close+t+n.spacingOuter+a+o.open)+(r?">"+o.close+r+n.spacingOuter+a+o.open+"</"+e:(t&&!n.min?"":" ")+"/")+">"+o.close};vt.printElement=RN;const CN=(e,t)=>{const r=t.colors.tag;return r.open+"<"+e+r.close+" …"+r.open+" />"+r.close};vt.printElementAsLeaf=CN;Object.defineProperty(Wr,"__esModule",{value:!0});Wr.test=Wr.serialize=Wr.default=void 0;var ea=vt;const ON=1,dw=3,pw=8,hw=11,xN=/^((HTML|SVG)\w*)?Element$/,PN=e=>{try{return typeof e.hasAttribute=="function"&&e.hasAttribute("is")}catch{return!1}},AN=e=>{const t=e.constructor.name,{nodeType:r,tagName:n}=e,a=typeof n=="string"&&n.includes("-")||PN(e);return r===ON&&(xN.test(t)||a)||r===dw&&t==="Text"||r===pw&&t==="Comment"||r===hw&&t==="DocumentFragment"},mw=e=>{var t;return(e==null||(t=e.constructor)===null||t===void 0?void 0:t.name)&&AN(e)};Wr.test=mw;function IN(e){return e.nodeType===dw}function NN(e){return e.nodeType===pw}function ld(e){return e.nodeType===hw}const yw=(e,t,r,n,a,o)=>{if(IN(e))return(0,ea.printText)(e.data,t);if(NN(e))return(0,ea.printComment)(e.data,t);const s=ld(e)?"DocumentFragment":e.tagName.toLowerCase();return++n>t.maxDepth?(0,ea.printElementAsLeaf)(s,t):(0,ea.printElement)(s,(0,ea.printProps)(ld(e)?[]:Array.from(e.attributes).map(i=>i.name).sort(),ld(e)?{}:Array.from(e.attributes).reduce((i,l)=>(i[l.name]=l.value,i),{}),t,r+t.indent,n,a,o),(0,ea.printChildren)(Array.prototype.slice.call(e.childNodes||e.children),t,r+t.indent,n,a,o),t,r)};Wr.serialize=yw;const MN={serialize:yw,test:mw};var kN=MN;Wr.default=kN;var Vr={};Object.defineProperty(Vr,"__esModule",{value:!0});Vr.test=Vr.serialize=Vr.default=void 0;var Oo=Cr;const $N="@@__IMMUTABLE_ITERABLE__@@",LN="@@__IMMUTABLE_LIST__@@",BN="@@__IMMUTABLE_KEYED__@@",qN="@@__IMMUTABLE_MAP__@@",ug="@@__IMMUTABLE_ORDERED__@@",DN="@@__IMMUTABLE_RECORD__@@",FN="@@__IMMUTABLE_SEQ__@@",UN="@@__IMMUTABLE_SET__@@",jN="@@__IMMUTABLE_STACK__@@",ya=e=>"Immutable."+e,Ms=e=>"["+e+"]",xo=" ",cg="…",HN=(e,t,r,n,a,o,s)=>++n>t.maxDepth?Ms(ya(s)):ya(s)+xo+"{"+(0,Oo.printIteratorEntries)(e.entries(),t,r,n,a,o)+"}";function GN(e){let t=0;return{next(){if(t<e._keys.length){const r=e._keys[t++];return{done:!1,value:[r,e.get(r)]}}return{done:!0,value:void 0}}}}const WN=(e,t,r,n,a,o)=>{const s=ya(e._name||"Record");return++n>t.maxDepth?Ms(s):s+xo+"{"+(0,Oo.printIteratorEntries)(GN(e),t,r,n,a,o)+"}"},VN=(e,t,r,n,a,o)=>{const s=ya("Seq");return++n>t.maxDepth?Ms(s):e[BN]?s+xo+"{"+(e._iter||e._object?(0,Oo.printIteratorEntries)(e.entries(),t,r,n,a,o):cg)+"}":s+xo+"["+(e._iter||e._array||e._collection||e._iterable?(0,Oo.printIteratorValues)(e.values(),t,r,n,a,o):cg)+"]"},ud=(e,t,r,n,a,o,s)=>++n>t.maxDepth?Ms(ya(s)):ya(s)+xo+"["+(0,Oo.printIteratorValues)(e.values(),t,r,n,a,o)+"]",vw=(e,t,r,n,a,o)=>e[qN]?HN(e,t,r,n,a,o,e[ug]?"OrderedMap":"Map"):e[LN]?ud(e,t,r,n,a,o,"List"):e[UN]?ud(e,t,r,n,a,o,e[ug]?"OrderedSet":"Set"):e[jN]?ud(e,t,r,n,a,o,"Stack"):e[FN]?VN(e,t,r,n,a,o):WN(e,t,r,n,a,o);Vr.serialize=vw;const gw=e=>e&&(e[$N]===!0||e[DN]===!0);Vr.test=gw;const zN={serialize:vw,test:gw};var YN=zN;Vr.default=YN;var zr={},wp={exports:{}},Me={};/** @license React v17.0.2
110
110
  * react-is.production.min.js
111
111
  *
112
112
  * Copyright (c) Facebook, Inc. and its affiliates.
113
113
  *
114
114
  * This source code is licensed under the MIT license found in the
115
115
  * LICENSE file in the root directory of this source tree.
116
- */var fg;function YN(){if(fg)return Me;fg=1;var e=60103,t=60106,r=60107,n=60108,a=60114,o=60109,s=60110,i=60112,l=60113,u=60120,c=60115,p=60116,d=60121,f=60122,h=60117,m=60129,_=60131;if(typeof Symbol=="function"&&Symbol.for){var b=Symbol.for;e=b("react.element"),t=b("react.portal"),r=b("react.fragment"),n=b("react.strict_mode"),a=b("react.profiler"),o=b("react.provider"),s=b("react.context"),i=b("react.forward_ref"),l=b("react.suspense"),u=b("react.suspense_list"),c=b("react.memo"),p=b("react.lazy"),d=b("react.block"),f=b("react.server.block"),h=b("react.fundamental"),m=b("react.debug_trace_mode"),_=b("react.legacy_hidden")}function v(D){if(typeof D=="object"&&D!==null){var Q=D.$$typeof;switch(Q){case e:switch(D=D.type,D){case r:case a:case n:case l:case u:return D;default:switch(D=D&&D.$$typeof,D){case s:case i:case p:case c:case o:return D;default:return Q}}case t:return Q}}}var w=o,R=e,T=i,C=r,N=p,I=c,j=t,z=a,Y=n,U=l;return Me.ContextConsumer=s,Me.ContextProvider=w,Me.Element=R,Me.ForwardRef=T,Me.Fragment=C,Me.Lazy=N,Me.Memo=I,Me.Portal=j,Me.Profiler=z,Me.StrictMode=Y,Me.Suspense=U,Me.isAsyncMode=function(){return!1},Me.isConcurrentMode=function(){return!1},Me.isContextConsumer=function(D){return v(D)===s},Me.isContextProvider=function(D){return v(D)===o},Me.isElement=function(D){return typeof D=="object"&&D!==null&&D.$$typeof===e},Me.isForwardRef=function(D){return v(D)===i},Me.isFragment=function(D){return v(D)===r},Me.isLazy=function(D){return v(D)===p},Me.isMemo=function(D){return v(D)===c},Me.isPortal=function(D){return v(D)===t},Me.isProfiler=function(D){return v(D)===a},Me.isStrictMode=function(D){return v(D)===n},Me.isSuspense=function(D){return v(D)===l},Me.isValidElementType=function(D){return typeof D=="string"||typeof D=="function"||D===r||D===a||D===m||D===n||D===l||D===u||D===_||typeof D=="object"&&D!==null&&(D.$$typeof===p||D.$$typeof===c||D.$$typeof===o||D.$$typeof===s||D.$$typeof===i||D.$$typeof===h||D.$$typeof===d||D[0]===f)},Me.typeOf=v,Me}var ke={};/** @license React v17.0.2
116
+ */var fg;function KN(){if(fg)return Me;fg=1;var e=60103,t=60106,r=60107,n=60108,a=60114,o=60109,s=60110,i=60112,l=60113,u=60120,c=60115,p=60116,d=60121,f=60122,h=60117,m=60129,_=60131;if(typeof Symbol=="function"&&Symbol.for){var b=Symbol.for;e=b("react.element"),t=b("react.portal"),r=b("react.fragment"),n=b("react.strict_mode"),a=b("react.profiler"),o=b("react.provider"),s=b("react.context"),i=b("react.forward_ref"),l=b("react.suspense"),u=b("react.suspense_list"),c=b("react.memo"),p=b("react.lazy"),d=b("react.block"),f=b("react.server.block"),h=b("react.fundamental"),m=b("react.debug_trace_mode"),_=b("react.legacy_hidden")}function v(D){if(typeof D=="object"&&D!==null){var Q=D.$$typeof;switch(Q){case e:switch(D=D.type,D){case r:case a:case n:case l:case u:return D;default:switch(D=D&&D.$$typeof,D){case s:case i:case p:case c:case o:return D;default:return Q}}case t:return Q}}}var w=o,R=e,T=i,C=r,N=p,I=c,j=t,z=a,Y=n,U=l;return Me.ContextConsumer=s,Me.ContextProvider=w,Me.Element=R,Me.ForwardRef=T,Me.Fragment=C,Me.Lazy=N,Me.Memo=I,Me.Portal=j,Me.Profiler=z,Me.StrictMode=Y,Me.Suspense=U,Me.isAsyncMode=function(){return!1},Me.isConcurrentMode=function(){return!1},Me.isContextConsumer=function(D){return v(D)===s},Me.isContextProvider=function(D){return v(D)===o},Me.isElement=function(D){return typeof D=="object"&&D!==null&&D.$$typeof===e},Me.isForwardRef=function(D){return v(D)===i},Me.isFragment=function(D){return v(D)===r},Me.isLazy=function(D){return v(D)===p},Me.isMemo=function(D){return v(D)===c},Me.isPortal=function(D){return v(D)===t},Me.isProfiler=function(D){return v(D)===a},Me.isStrictMode=function(D){return v(D)===n},Me.isSuspense=function(D){return v(D)===l},Me.isValidElementType=function(D){return typeof D=="string"||typeof D=="function"||D===r||D===a||D===m||D===n||D===l||D===u||D===_||typeof D=="object"&&D!==null&&(D.$$typeof===p||D.$$typeof===c||D.$$typeof===o||D.$$typeof===s||D.$$typeof===i||D.$$typeof===h||D.$$typeof===d||D[0]===f)},Me.typeOf=v,Me}var ke={};/** @license React v17.0.2
117
117
  * react-is.development.js
118
118
  *
119
119
  * Copyright (c) Facebook, Inc. and its affiliates.
120
120
  *
121
121
  * This source code is licensed under the MIT license found in the
122
122
  * LICENSE file in the root directory of this source tree.
123
- */var dg;function KN(){return dg||(dg=1,process.env.NODE_ENV!=="production"&&function(){var e=60103,t=60106,r=60107,n=60108,a=60114,o=60109,s=60110,i=60112,l=60113,u=60120,c=60115,p=60116,d=60121,f=60122,h=60117,m=60129,_=60131;if(typeof Symbol=="function"&&Symbol.for){var b=Symbol.for;e=b("react.element"),t=b("react.portal"),r=b("react.fragment"),n=b("react.strict_mode"),a=b("react.profiler"),o=b("react.provider"),s=b("react.context"),i=b("react.forward_ref"),l=b("react.suspense"),u=b("react.suspense_list"),c=b("react.memo"),p=b("react.lazy"),d=b("react.block"),f=b("react.server.block"),h=b("react.fundamental"),b("react.scope"),b("react.opaque.id"),m=b("react.debug_trace_mode"),b("react.offscreen"),_=b("react.legacy_hidden")}var v=!1;function w(ce){return!!(typeof ce=="string"||typeof ce=="function"||ce===r||ce===a||ce===m||ce===n||ce===l||ce===u||ce===_||v||typeof ce=="object"&&ce!==null&&(ce.$$typeof===p||ce.$$typeof===c||ce.$$typeof===o||ce.$$typeof===s||ce.$$typeof===i||ce.$$typeof===h||ce.$$typeof===d||ce[0]===f))}function R(ce){if(typeof ce=="object"&&ce!==null){var se=ce.$$typeof;switch(se){case e:var je=ce.type;switch(je){case r:case a:case n:case l:case u:return je;default:var Ae=je&&je.$$typeof;switch(Ae){case s:case i:case p:case c:case o:return Ae;default:return se}}case t:return se}}}var T=s,C=o,N=e,I=i,j=r,z=p,Y=c,U=t,D=a,Q=n,J=l,k=!1,G=!1;function Z(ce){return k||(k=!0,console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 18+.")),!1}function ve(ce){return G||(G=!0,console.warn("The ReactIs.isConcurrentMode() alias has been deprecated, and will be removed in React 18+.")),!1}function ee(ce){return R(ce)===s}function ne(ce){return R(ce)===o}function me(ce){return typeof ce=="object"&&ce!==null&&ce.$$typeof===e}function ge(ce){return R(ce)===i}function Ge(ce){return R(ce)===r}function ie(ce){return R(ce)===p}function le(ce){return R(ce)===c}function xe(ce){return R(ce)===t}function Be(ce){return R(ce)===a}function at(ce){return R(ce)===n}function ct(ce){return R(ce)===l}ke.ContextConsumer=T,ke.ContextProvider=C,ke.Element=N,ke.ForwardRef=I,ke.Fragment=j,ke.Lazy=z,ke.Memo=Y,ke.Portal=U,ke.Profiler=D,ke.StrictMode=Q,ke.Suspense=J,ke.isAsyncMode=Z,ke.isConcurrentMode=ve,ke.isContextConsumer=ee,ke.isContextProvider=ne,ke.isElement=me,ke.isForwardRef=ge,ke.isFragment=Ge,ke.isLazy=ie,ke.isMemo=le,ke.isPortal=xe,ke.isProfiler=Be,ke.isStrictMode=at,ke.isSuspense=ct,ke.isValidElementType=w,ke.typeOf=R}()),ke}process.env.NODE_ENV==="production"?wp.exports=YN():wp.exports=KN();var XN=wp.exports;Object.defineProperty(zr,"__esModule",{value:!0});zr.test=zr.serialize=zr.default=void 0;var gn=QN(XN),Ai=vt;function bw(e){if(typeof WeakMap!="function")return null;var t=new WeakMap,r=new WeakMap;return(bw=function(n){return n?r:t})(e)}function QN(e,t){if(!t&&e&&e.__esModule)return e;if(e===null||typeof e!="object"&&typeof e!="function")return{default:e};var r=bw(t);if(r&&r.has(e))return r.get(e);var n={},a=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if(o!=="default"&&Object.prototype.hasOwnProperty.call(e,o)){var s=a?Object.getOwnPropertyDescriptor(e,o):null;s&&(s.get||s.set)?Object.defineProperty(n,o,s):n[o]=e[o]}return n.default=e,r&&r.set(e,n),n}const Ew=(e,t=[])=>(Array.isArray(e)?e.forEach(r=>{Ew(r,t)}):e!=null&&e!==!1&&t.push(e),t),pg=e=>{const t=e.type;if(typeof t=="string")return t;if(typeof t=="function")return t.displayName||t.name||"Unknown";if(gn.isFragment(e))return"React.Fragment";if(gn.isSuspense(e))return"React.Suspense";if(typeof t=="object"&&t!==null){if(gn.isContextProvider(e))return"Context.Provider";if(gn.isContextConsumer(e))return"Context.Consumer";if(gn.isForwardRef(e)){if(t.displayName)return t.displayName;const r=t.render.displayName||t.render.name||"";return r!==""?"ForwardRef("+r+")":"ForwardRef"}if(gn.isMemo(e)){const r=t.displayName||t.type.displayName||t.type.name||"";return r!==""?"Memo("+r+")":"Memo"}}return"UNDEFINED"},JN=e=>{const{props:t}=e;return Object.keys(t).filter(r=>r!=="children"&&t[r]!==void 0).sort()},_w=(e,t,r,n,a,o)=>++n>t.maxDepth?(0,Ai.printElementAsLeaf)(pg(e),t):(0,Ai.printElement)(pg(e),(0,Ai.printProps)(JN(e),e.props,t,r+t.indent,n,a,o),(0,Ai.printChildren)(Ew(e.props.children),t,r+t.indent,n,a,o),t,r);zr.serialize=_w;const ww=e=>e!=null&&gn.isElement(e);zr.test=ww;const ZN={serialize:_w,test:ww};var eM=ZN;zr.default=eM;var Yr={};Object.defineProperty(Yr,"__esModule",{value:!0});Yr.test=Yr.serialize=Yr.default=void 0;var Ii=vt,os=function(){return typeof globalThis<"u"?globalThis:typeof os<"u"?os:typeof self<"u"?self:typeof window<"u"?window:Function("return this")()}(),cd=os["jest-symbol-do-not-touch"]||os.Symbol;const tM=typeof cd=="function"&&cd.for?cd.for("react.test.json"):245830487,rM=e=>{const{props:t}=e;return t?Object.keys(t).filter(r=>t[r]!==void 0).sort():[]},Tw=(e,t,r,n,a,o)=>++n>t.maxDepth?(0,Ii.printElementAsLeaf)(e.type,t):(0,Ii.printElement)(e.type,e.props?(0,Ii.printProps)(rM(e),e.props,t,r+t.indent,n,a,o):"",e.children?(0,Ii.printChildren)(e.children,t,r+t.indent,n,a,o):"",t,r);Yr.serialize=Tw;const Sw=e=>e&&e.$$typeof===tM;Yr.test=Sw;const nM={serialize:Tw,test:Sw};var aM=nM;Yr.default=aM;Object.defineProperty(Xr,"__esModule",{value:!0});Xr.default=Xr.DEFAULT_OPTIONS=void 0;var oM=Xr.format=Lw,Rw=Xr.plugins=void 0,iM=Zr(ew),yo=Cr,sM=Zr(jr),lM=Zr(Hr),uM=Zr(Gr),cM=Zr(Wr),fM=Zr(Vr),dM=Zr(zr),pM=Zr(Yr);function Zr(e){return e&&e.__esModule?e:{default:e}}const Cw=Object.prototype.toString,hM=Date.prototype.toISOString,mM=Error.prototype.toString,hg=RegExp.prototype.toString,fd=e=>typeof e.constructor=="function"&&e.constructor.name||"Object",yM=e=>typeof window<"u"&&e===window,vM=/^Symbol\((.*)\)(.*)$/,gM=/\n/gi;class Ow extends Error{constructor(t,r){super(t),this.stack=r,this.name=this.constructor.name}}function bM(e){return e==="[object Array]"||e==="[object ArrayBuffer]"||e==="[object DataView]"||e==="[object Float32Array]"||e==="[object Float64Array]"||e==="[object Int8Array]"||e==="[object Int16Array]"||e==="[object Int32Array]"||e==="[object Uint8Array]"||e==="[object Uint8ClampedArray]"||e==="[object Uint16Array]"||e==="[object Uint32Array]"}function EM(e){return Object.is(e,-0)?"-0":String(e)}function _M(e){return`${e}n`}function mg(e,t){return t?"[Function "+(e.name||"anonymous")+"]":"[Function]"}function yg(e){return String(e).replace(vM,"Symbol($1)")}function vg(e){return"["+mM.call(e)+"]"}function xw(e,t,r,n){if(e===!0||e===!1)return""+e;if(e===void 0)return"undefined";if(e===null)return"null";const a=typeof e;if(a==="number")return EM(e);if(a==="bigint")return _M(e);if(a==="string")return n?'"'+e.replace(/"|\\/g,"\\$&")+'"':'"'+e+'"';if(a==="function")return mg(e,t);if(a==="symbol")return yg(e);const o=Cw.call(e);return o==="[object WeakMap]"?"WeakMap {}":o==="[object WeakSet]"?"WeakSet {}":o==="[object Function]"||o==="[object GeneratorFunction]"?mg(e,t):o==="[object Symbol]"?yg(e):o==="[object Date]"?isNaN(+e)?"Date { NaN }":hM.call(e):o==="[object Error]"?vg(e):o==="[object RegExp]"?r?hg.call(e).replace(/[\\^$*+?.()|[\]{}]/g,"\\$&"):hg.call(e):e instanceof Error?vg(e):null}function Pw(e,t,r,n,a,o){if(a.indexOf(e)!==-1)return"[Circular]";a=a.slice(),a.push(e);const s=++n>t.maxDepth,i=t.min;if(t.callToJSON&&!s&&e.toJSON&&typeof e.toJSON=="function"&&!o)return Br(e.toJSON(),t,r,n,a,!0);const l=Cw.call(e);return l==="[object Arguments]"?s?"[Arguments]":(i?"":"Arguments ")+"["+(0,yo.printListItems)(e,t,r,n,a,Br)+"]":bM(l)?s?"["+e.constructor.name+"]":(i||!t.printBasicPrototype&&e.constructor.name==="Array"?"":e.constructor.name+" ")+"["+(0,yo.printListItems)(e,t,r,n,a,Br)+"]":l==="[object Map]"?s?"[Map]":"Map {"+(0,yo.printIteratorEntries)(e.entries(),t,r,n,a,Br," => ")+"}":l==="[object Set]"?s?"[Set]":"Set {"+(0,yo.printIteratorValues)(e.values(),t,r,n,a,Br)+"}":s||yM(e)?"["+fd(e)+"]":(i||!t.printBasicPrototype&&fd(e)==="Object"?"":fd(e)+" ")+"{"+(0,yo.printObjectProperties)(e,t,r,n,a,Br)+"}"}function wM(e){return e.serialize!=null}function Aw(e,t,r,n,a,o){let s;try{s=wM(e)?e.serialize(t,r,n,a,o,Br):e.print(t,i=>Br(i,r,n,a,o),i=>{const l=n+r.indent;return l+i.replace(gM,`
124
- `+l)},{edgeSpacing:r.spacingOuter,min:r.min,spacing:r.spacingInner},r.colors)}catch(i){throw new Ow(i.message,i.stack)}if(typeof s!="string")throw new Error(`pretty-format: Plugin must return type "string" but instead returned "${typeof s}".`);return s}function Iw(e,t){for(let r=0;r<e.length;r++)try{if(e[r].test(t))return e[r]}catch(n){throw new Ow(n.message,n.stack)}return null}function Br(e,t,r,n,a,o){const s=Iw(t.plugins,e);if(s!==null)return Aw(s,e,t,r,n,a);const i=xw(e,t.printFunctionName,t.escapeRegex,t.escapeString);return i!==null?i:Pw(e,t,r,n,a,o)}const Mh={comment:"gray",content:"reset",prop:"yellow",tag:"cyan",value:"green"},Nw=Object.keys(Mh),zt={callToJSON:!0,compareKeys:void 0,escapeRegex:!1,escapeString:!0,highlight:!1,indent:2,maxDepth:1/0,min:!1,plugins:[],printBasicPrototype:!0,printFunctionName:!0,theme:Mh};Xr.DEFAULT_OPTIONS=zt;function TM(e){if(Object.keys(e).forEach(t=>{if(!zt.hasOwnProperty(t))throw new Error(`pretty-format: Unknown option "${t}".`)}),e.min&&e.indent!==void 0&&e.indent!==0)throw new Error('pretty-format: Options "min" and "indent" cannot be used together.');if(e.theme!==void 0){if(e.theme===null)throw new Error('pretty-format: Option "theme" must not be null.');if(typeof e.theme!="object")throw new Error(`pretty-format: Option "theme" must be of type "object" but instead received "${typeof e.theme}".`)}}const SM=e=>Nw.reduce((t,r)=>{const n=e.theme&&e.theme[r]!==void 0?e.theme[r]:Mh[r],a=n&&iM.default[n];if(a&&typeof a.close=="string"&&typeof a.open=="string")t[r]=a;else throw new Error(`pretty-format: Option "theme" has a key "${r}" whose value "${n}" is undefined in ansi-styles.`);return t},Object.create(null)),RM=()=>Nw.reduce((e,t)=>(e[t]={close:"",open:""},e),Object.create(null)),Mw=e=>e&&e.printFunctionName!==void 0?e.printFunctionName:zt.printFunctionName,kw=e=>e&&e.escapeRegex!==void 0?e.escapeRegex:zt.escapeRegex,$w=e=>e&&e.escapeString!==void 0?e.escapeString:zt.escapeString,gg=e=>{var t;return{callToJSON:e&&e.callToJSON!==void 0?e.callToJSON:zt.callToJSON,colors:e&&e.highlight?SM(e):RM(),compareKeys:e&&typeof e.compareKeys=="function"?e.compareKeys:zt.compareKeys,escapeRegex:kw(e),escapeString:$w(e),indent:e&&e.min?"":CM(e&&e.indent!==void 0?e.indent:zt.indent),maxDepth:e&&e.maxDepth!==void 0?e.maxDepth:zt.maxDepth,min:e&&e.min!==void 0?e.min:zt.min,plugins:e&&e.plugins!==void 0?e.plugins:zt.plugins,printBasicPrototype:(t=e==null?void 0:e.printBasicPrototype)!==null&&t!==void 0?t:!0,printFunctionName:Mw(e),spacingInner:e&&e.min?" ":`
123
+ */var dg;function XN(){return dg||(dg=1,process.env.NODE_ENV!=="production"&&function(){var e=60103,t=60106,r=60107,n=60108,a=60114,o=60109,s=60110,i=60112,l=60113,u=60120,c=60115,p=60116,d=60121,f=60122,h=60117,m=60129,_=60131;if(typeof Symbol=="function"&&Symbol.for){var b=Symbol.for;e=b("react.element"),t=b("react.portal"),r=b("react.fragment"),n=b("react.strict_mode"),a=b("react.profiler"),o=b("react.provider"),s=b("react.context"),i=b("react.forward_ref"),l=b("react.suspense"),u=b("react.suspense_list"),c=b("react.memo"),p=b("react.lazy"),d=b("react.block"),f=b("react.server.block"),h=b("react.fundamental"),b("react.scope"),b("react.opaque.id"),m=b("react.debug_trace_mode"),b("react.offscreen"),_=b("react.legacy_hidden")}var v=!1;function w(ce){return!!(typeof ce=="string"||typeof ce=="function"||ce===r||ce===a||ce===m||ce===n||ce===l||ce===u||ce===_||v||typeof ce=="object"&&ce!==null&&(ce.$$typeof===p||ce.$$typeof===c||ce.$$typeof===o||ce.$$typeof===s||ce.$$typeof===i||ce.$$typeof===h||ce.$$typeof===d||ce[0]===f))}function R(ce){if(typeof ce=="object"&&ce!==null){var se=ce.$$typeof;switch(se){case e:var je=ce.type;switch(je){case r:case a:case n:case l:case u:return je;default:var Ae=je&&je.$$typeof;switch(Ae){case s:case i:case p:case c:case o:return Ae;default:return se}}case t:return se}}}var T=s,C=o,N=e,I=i,j=r,z=p,Y=c,U=t,D=a,Q=n,J=l,k=!1,G=!1;function Z(ce){return k||(k=!0,console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 18+.")),!1}function ve(ce){return G||(G=!0,console.warn("The ReactIs.isConcurrentMode() alias has been deprecated, and will be removed in React 18+.")),!1}function ee(ce){return R(ce)===s}function ne(ce){return R(ce)===o}function me(ce){return typeof ce=="object"&&ce!==null&&ce.$$typeof===e}function ge(ce){return R(ce)===i}function Ge(ce){return R(ce)===r}function ie(ce){return R(ce)===p}function le(ce){return R(ce)===c}function xe(ce){return R(ce)===t}function Be(ce){return R(ce)===a}function at(ce){return R(ce)===n}function ct(ce){return R(ce)===l}ke.ContextConsumer=T,ke.ContextProvider=C,ke.Element=N,ke.ForwardRef=I,ke.Fragment=j,ke.Lazy=z,ke.Memo=Y,ke.Portal=U,ke.Profiler=D,ke.StrictMode=Q,ke.Suspense=J,ke.isAsyncMode=Z,ke.isConcurrentMode=ve,ke.isContextConsumer=ee,ke.isContextProvider=ne,ke.isElement=me,ke.isForwardRef=ge,ke.isFragment=Ge,ke.isLazy=ie,ke.isMemo=le,ke.isPortal=xe,ke.isProfiler=Be,ke.isStrictMode=at,ke.isSuspense=ct,ke.isValidElementType=w,ke.typeOf=R}()),ke}process.env.NODE_ENV==="production"?wp.exports=KN():wp.exports=XN();var QN=wp.exports;Object.defineProperty(zr,"__esModule",{value:!0});zr.test=zr.serialize=zr.default=void 0;var gn=JN(QN),Ai=vt;function bw(e){if(typeof WeakMap!="function")return null;var t=new WeakMap,r=new WeakMap;return(bw=function(n){return n?r:t})(e)}function JN(e,t){if(!t&&e&&e.__esModule)return e;if(e===null||typeof e!="object"&&typeof e!="function")return{default:e};var r=bw(t);if(r&&r.has(e))return r.get(e);var n={},a=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if(o!=="default"&&Object.prototype.hasOwnProperty.call(e,o)){var s=a?Object.getOwnPropertyDescriptor(e,o):null;s&&(s.get||s.set)?Object.defineProperty(n,o,s):n[o]=e[o]}return n.default=e,r&&r.set(e,n),n}const Ew=(e,t=[])=>(Array.isArray(e)?e.forEach(r=>{Ew(r,t)}):e!=null&&e!==!1&&t.push(e),t),pg=e=>{const t=e.type;if(typeof t=="string")return t;if(typeof t=="function")return t.displayName||t.name||"Unknown";if(gn.isFragment(e))return"React.Fragment";if(gn.isSuspense(e))return"React.Suspense";if(typeof t=="object"&&t!==null){if(gn.isContextProvider(e))return"Context.Provider";if(gn.isContextConsumer(e))return"Context.Consumer";if(gn.isForwardRef(e)){if(t.displayName)return t.displayName;const r=t.render.displayName||t.render.name||"";return r!==""?"ForwardRef("+r+")":"ForwardRef"}if(gn.isMemo(e)){const r=t.displayName||t.type.displayName||t.type.name||"";return r!==""?"Memo("+r+")":"Memo"}}return"UNDEFINED"},ZN=e=>{const{props:t}=e;return Object.keys(t).filter(r=>r!=="children"&&t[r]!==void 0).sort()},_w=(e,t,r,n,a,o)=>++n>t.maxDepth?(0,Ai.printElementAsLeaf)(pg(e),t):(0,Ai.printElement)(pg(e),(0,Ai.printProps)(ZN(e),e.props,t,r+t.indent,n,a,o),(0,Ai.printChildren)(Ew(e.props.children),t,r+t.indent,n,a,o),t,r);zr.serialize=_w;const ww=e=>e!=null&&gn.isElement(e);zr.test=ww;const eM={serialize:_w,test:ww};var tM=eM;zr.default=tM;var Yr={};Object.defineProperty(Yr,"__esModule",{value:!0});Yr.test=Yr.serialize=Yr.default=void 0;var Ii=vt,os=function(){return typeof globalThis<"u"?globalThis:typeof os<"u"?os:typeof self<"u"?self:typeof window<"u"?window:Function("return this")()}(),cd=os["jest-symbol-do-not-touch"]||os.Symbol;const rM=typeof cd=="function"&&cd.for?cd.for("react.test.json"):245830487,nM=e=>{const{props:t}=e;return t?Object.keys(t).filter(r=>t[r]!==void 0).sort():[]},Tw=(e,t,r,n,a,o)=>++n>t.maxDepth?(0,Ii.printElementAsLeaf)(e.type,t):(0,Ii.printElement)(e.type,e.props?(0,Ii.printProps)(nM(e),e.props,t,r+t.indent,n,a,o):"",e.children?(0,Ii.printChildren)(e.children,t,r+t.indent,n,a,o):"",t,r);Yr.serialize=Tw;const Sw=e=>e&&e.$$typeof===rM;Yr.test=Sw;const aM={serialize:Tw,test:Sw};var oM=aM;Yr.default=oM;Object.defineProperty(Xr,"__esModule",{value:!0});Xr.default=Xr.DEFAULT_OPTIONS=void 0;var iM=Xr.format=Lw,Rw=Xr.plugins=void 0,sM=Zr(ew),yo=Cr,lM=Zr(jr),uM=Zr(Hr),cM=Zr(Gr),fM=Zr(Wr),dM=Zr(Vr),pM=Zr(zr),hM=Zr(Yr);function Zr(e){return e&&e.__esModule?e:{default:e}}const Cw=Object.prototype.toString,mM=Date.prototype.toISOString,yM=Error.prototype.toString,hg=RegExp.prototype.toString,fd=e=>typeof e.constructor=="function"&&e.constructor.name||"Object",vM=e=>typeof window<"u"&&e===window,gM=/^Symbol\((.*)\)(.*)$/,bM=/\n/gi;class Ow extends Error{constructor(t,r){super(t),this.stack=r,this.name=this.constructor.name}}function EM(e){return e==="[object Array]"||e==="[object ArrayBuffer]"||e==="[object DataView]"||e==="[object Float32Array]"||e==="[object Float64Array]"||e==="[object Int8Array]"||e==="[object Int16Array]"||e==="[object Int32Array]"||e==="[object Uint8Array]"||e==="[object Uint8ClampedArray]"||e==="[object Uint16Array]"||e==="[object Uint32Array]"}function _M(e){return Object.is(e,-0)?"-0":String(e)}function wM(e){return`${e}n`}function mg(e,t){return t?"[Function "+(e.name||"anonymous")+"]":"[Function]"}function yg(e){return String(e).replace(gM,"Symbol($1)")}function vg(e){return"["+yM.call(e)+"]"}function xw(e,t,r,n){if(e===!0||e===!1)return""+e;if(e===void 0)return"undefined";if(e===null)return"null";const a=typeof e;if(a==="number")return _M(e);if(a==="bigint")return wM(e);if(a==="string")return n?'"'+e.replace(/"|\\/g,"\\$&")+'"':'"'+e+'"';if(a==="function")return mg(e,t);if(a==="symbol")return yg(e);const o=Cw.call(e);return o==="[object WeakMap]"?"WeakMap {}":o==="[object WeakSet]"?"WeakSet {}":o==="[object Function]"||o==="[object GeneratorFunction]"?mg(e,t):o==="[object Symbol]"?yg(e):o==="[object Date]"?isNaN(+e)?"Date { NaN }":mM.call(e):o==="[object Error]"?vg(e):o==="[object RegExp]"?r?hg.call(e).replace(/[\\^$*+?.()|[\]{}]/g,"\\$&"):hg.call(e):e instanceof Error?vg(e):null}function Pw(e,t,r,n,a,o){if(a.indexOf(e)!==-1)return"[Circular]";a=a.slice(),a.push(e);const s=++n>t.maxDepth,i=t.min;if(t.callToJSON&&!s&&e.toJSON&&typeof e.toJSON=="function"&&!o)return Br(e.toJSON(),t,r,n,a,!0);const l=Cw.call(e);return l==="[object Arguments]"?s?"[Arguments]":(i?"":"Arguments ")+"["+(0,yo.printListItems)(e,t,r,n,a,Br)+"]":EM(l)?s?"["+e.constructor.name+"]":(i||!t.printBasicPrototype&&e.constructor.name==="Array"?"":e.constructor.name+" ")+"["+(0,yo.printListItems)(e,t,r,n,a,Br)+"]":l==="[object Map]"?s?"[Map]":"Map {"+(0,yo.printIteratorEntries)(e.entries(),t,r,n,a,Br," => ")+"}":l==="[object Set]"?s?"[Set]":"Set {"+(0,yo.printIteratorValues)(e.values(),t,r,n,a,Br)+"}":s||vM(e)?"["+fd(e)+"]":(i||!t.printBasicPrototype&&fd(e)==="Object"?"":fd(e)+" ")+"{"+(0,yo.printObjectProperties)(e,t,r,n,a,Br)+"}"}function TM(e){return e.serialize!=null}function Aw(e,t,r,n,a,o){let s;try{s=TM(e)?e.serialize(t,r,n,a,o,Br):e.print(t,i=>Br(i,r,n,a,o),i=>{const l=n+r.indent;return l+i.replace(bM,`
124
+ `+l)},{edgeSpacing:r.spacingOuter,min:r.min,spacing:r.spacingInner},r.colors)}catch(i){throw new Ow(i.message,i.stack)}if(typeof s!="string")throw new Error(`pretty-format: Plugin must return type "string" but instead returned "${typeof s}".`);return s}function Iw(e,t){for(let r=0;r<e.length;r++)try{if(e[r].test(t))return e[r]}catch(n){throw new Ow(n.message,n.stack)}return null}function Br(e,t,r,n,a,o){const s=Iw(t.plugins,e);if(s!==null)return Aw(s,e,t,r,n,a);const i=xw(e,t.printFunctionName,t.escapeRegex,t.escapeString);return i!==null?i:Pw(e,t,r,n,a,o)}const Mh={comment:"gray",content:"reset",prop:"yellow",tag:"cyan",value:"green"},Nw=Object.keys(Mh),zt={callToJSON:!0,compareKeys:void 0,escapeRegex:!1,escapeString:!0,highlight:!1,indent:2,maxDepth:1/0,min:!1,plugins:[],printBasicPrototype:!0,printFunctionName:!0,theme:Mh};Xr.DEFAULT_OPTIONS=zt;function SM(e){if(Object.keys(e).forEach(t=>{if(!zt.hasOwnProperty(t))throw new Error(`pretty-format: Unknown option "${t}".`)}),e.min&&e.indent!==void 0&&e.indent!==0)throw new Error('pretty-format: Options "min" and "indent" cannot be used together.');if(e.theme!==void 0){if(e.theme===null)throw new Error('pretty-format: Option "theme" must not be null.');if(typeof e.theme!="object")throw new Error(`pretty-format: Option "theme" must be of type "object" but instead received "${typeof e.theme}".`)}}const RM=e=>Nw.reduce((t,r)=>{const n=e.theme&&e.theme[r]!==void 0?e.theme[r]:Mh[r],a=n&&sM.default[n];if(a&&typeof a.close=="string"&&typeof a.open=="string")t[r]=a;else throw new Error(`pretty-format: Option "theme" has a key "${r}" whose value "${n}" is undefined in ansi-styles.`);return t},Object.create(null)),CM=()=>Nw.reduce((e,t)=>(e[t]={close:"",open:""},e),Object.create(null)),Mw=e=>e&&e.printFunctionName!==void 0?e.printFunctionName:zt.printFunctionName,kw=e=>e&&e.escapeRegex!==void 0?e.escapeRegex:zt.escapeRegex,$w=e=>e&&e.escapeString!==void 0?e.escapeString:zt.escapeString,gg=e=>{var t;return{callToJSON:e&&e.callToJSON!==void 0?e.callToJSON:zt.callToJSON,colors:e&&e.highlight?RM(e):CM(),compareKeys:e&&typeof e.compareKeys=="function"?e.compareKeys:zt.compareKeys,escapeRegex:kw(e),escapeString:$w(e),indent:e&&e.min?"":OM(e&&e.indent!==void 0?e.indent:zt.indent),maxDepth:e&&e.maxDepth!==void 0?e.maxDepth:zt.maxDepth,min:e&&e.min!==void 0?e.min:zt.min,plugins:e&&e.plugins!==void 0?e.plugins:zt.plugins,printBasicPrototype:(t=e==null?void 0:e.printBasicPrototype)!==null&&t!==void 0?t:!0,printFunctionName:Mw(e),spacingInner:e&&e.min?" ":`
125
125
  `,spacingOuter:e&&e.min?"":`
126
- `}};function CM(e){return new Array(e+1).join(" ")}function Lw(e,t){if(t&&(TM(t),t.plugins)){const n=Iw(t.plugins,e);if(n!==null)return Aw(n,e,gg(t),"",0,[])}const r=xw(e,Mw(t),kw(t),$w(t));return r!==null?r:Pw(e,gg(t),"",0,[])}const OM={AsymmetricMatcher:sM.default,ConvertAnsi:lM.default,DOMCollection:uM.default,DOMElement:cM.default,Immutable:fM.default,ReactElement:dM.default,ReactTestComponent:pM.default};Rw=Xr.plugins=OM;var xM=Lw;Xr.default=xM;var PM=Object.prototype.toString;function bg(e){return typeof e=="function"||PM.call(e)==="[object Function]"}function AM(e){var t=Number(e);return isNaN(t)?0:t===0||!isFinite(t)?t:(t>0?1:-1)*Math.floor(Math.abs(t))}var IM=Math.pow(2,53)-1;function NM(e){var t=AM(e);return Math.min(Math.max(t,0),IM)}function Yt(e,t){var r=Array,n=Object(e);if(e==null)throw new TypeError("Array.from requires an array-like object - not null or undefined");if(typeof t<"u"&&!bg(t))throw new TypeError("Array.from: when provided, the second argument must be a function");for(var a=NM(n.length),o=bg(r)?Object(new r(a)):new Array(a),s=0,i;s<a;)i=n[s],t?o[s]=t(i,s):o[s]=i,s+=1;return o.length=a,o}function Po(e){"@babel/helpers - typeof";return Po=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Po(e)}function MM(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Eg(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,Bw(n.key),n)}}function kM(e,t,r){return t&&Eg(e.prototype,t),r&&Eg(e,r),Object.defineProperty(e,"prototype",{writable:!1}),e}function $M(e,t,r){return t=Bw(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Bw(e){var t=LM(e,"string");return Po(t)==="symbol"?t:String(t)}function LM(e,t){if(Po(e)!=="object"||e===null)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var n=r.call(e,t||"default");if(Po(n)!=="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}var BM=function(){function e(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[];MM(this,e),$M(this,"items",void 0),this.items=t}return kM(e,[{key:"add",value:function(r){return this.has(r)===!1&&this.items.push(r),this}},{key:"clear",value:function(){this.items=[]}},{key:"delete",value:function(r){var n=this.items.length;return this.items=this.items.filter(function(a){return a!==r}),n!==this.items.length}},{key:"forEach",value:function(r){var n=this;this.items.forEach(function(a){r(a,a,n)})}},{key:"has",value:function(r){return this.items.indexOf(r)!==-1}},{key:"size",get:function(){return this.items.length}}]),e}();const qM=typeof Set>"u"?Set:BM;function bt(e){var t;return(t=e.localName)!==null&&t!==void 0?t:e.tagName.toLowerCase()}var DM={article:"article",aside:"complementary",button:"button",datalist:"listbox",dd:"definition",details:"group",dialog:"dialog",dt:"term",fieldset:"group",figure:"figure",form:"form",footer:"contentinfo",h1:"heading",h2:"heading",h3:"heading",h4:"heading",h5:"heading",h6:"heading",header:"banner",hr:"separator",html:"document",legend:"legend",li:"listitem",math:"math",main:"main",menu:"list",nav:"navigation",ol:"list",optgroup:"group",option:"option",output:"status",progress:"progressbar",section:"region",summary:"button",table:"table",tbody:"rowgroup",textarea:"textbox",tfoot:"rowgroup",td:"cell",th:"columnheader",thead:"rowgroup",tr:"row",ul:"list"},FM={caption:new Set(["aria-label","aria-labelledby"]),code:new Set(["aria-label","aria-labelledby"]),deletion:new Set(["aria-label","aria-labelledby"]),emphasis:new Set(["aria-label","aria-labelledby"]),generic:new Set(["aria-label","aria-labelledby","aria-roledescription"]),insertion:new Set(["aria-label","aria-labelledby"]),paragraph:new Set(["aria-label","aria-labelledby"]),presentation:new Set(["aria-label","aria-labelledby"]),strong:new Set(["aria-label","aria-labelledby"]),subscript:new Set(["aria-label","aria-labelledby"]),superscript:new Set(["aria-label","aria-labelledby"])};function UM(e,t){return["aria-atomic","aria-busy","aria-controls","aria-current","aria-describedby","aria-details","aria-dropeffect","aria-flowto","aria-grabbed","aria-hidden","aria-keyshortcuts","aria-label","aria-labelledby","aria-live","aria-owns","aria-relevant","aria-roledescription"].some(function(r){var n;return e.hasAttribute(r)&&!((n=FM[t])!==null&&n!==void 0&&n.has(r))})}function qw(e,t){return UM(e,t)}function jM(e){var t=GM(e);if(t===null||t==="presentation"){var r=HM(e);if(t!=="presentation"||qw(e,r||""))return r}return t}function HM(e){var t=DM[bt(e)];if(t!==void 0)return t;switch(bt(e)){case"a":case"area":case"link":if(e.hasAttribute("href"))return"link";break;case"img":return e.getAttribute("alt")===""&&!qw(e,"img")?"presentation":"img";case"input":{var r=e,n=r.type;switch(n){case"button":case"image":case"reset":case"submit":return"button";case"checkbox":case"radio":return n;case"range":return"slider";case"email":case"tel":case"text":case"url":return e.hasAttribute("list")?"combobox":"textbox";case"search":return e.hasAttribute("list")?"combobox":"searchbox";case"number":return"spinbutton";default:return null}}case"select":return e.hasAttribute("multiple")||e.size>1?"listbox":"combobox"}return null}function GM(e){var t=e.getAttribute("role");if(t!==null){var r=t.trim().split(" ")[0];if(r.length>0)return r}return null}function He(e){return e!==null&&e.nodeType===e.ELEMENT_NODE}function Dw(e){return He(e)&&bt(e)==="caption"}function Di(e){return He(e)&&bt(e)==="input"}function WM(e){return He(e)&&bt(e)==="optgroup"}function VM(e){return He(e)&&bt(e)==="select"}function zM(e){return He(e)&&bt(e)==="table"}function YM(e){return He(e)&&bt(e)==="textarea"}function KM(e){var t=e.ownerDocument===null?e:e.ownerDocument,r=t.defaultView;if(r===null)throw new TypeError("no window available");return r}function XM(e){return He(e)&&bt(e)==="fieldset"}function QM(e){return He(e)&&bt(e)==="legend"}function JM(e){return He(e)&&bt(e)==="slot"}function ZM(e){return He(e)&&e.ownerSVGElement!==void 0}function ek(e){return He(e)&&bt(e)==="svg"}function tk(e){return ZM(e)&&bt(e)==="title"}function is(e,t){if(He(e)&&e.hasAttribute(t)){var r=e.getAttribute(t).split(" "),n=e.getRootNode?e.getRootNode():e.ownerDocument;return r.map(function(a){return n.getElementById(a)}).filter(function(a){return a!==null})}return[]}function Tr(e,t){return He(e)?t.indexOf(jM(e))!==-1:!1}function rk(e){return e.trim().replace(/\s\s+/g," ")}function nk(e,t){if(!He(e))return!1;if(e.hasAttribute("hidden")||e.getAttribute("aria-hidden")==="true")return!0;var r=t(e);return r.getPropertyValue("display")==="none"||r.getPropertyValue("visibility")==="hidden"}function ak(e){return Tr(e,["button","combobox","listbox","textbox"])||Fw(e,"range")}function Fw(e,t){if(!He(e))return!1;switch(t){case"range":return Tr(e,["meter","progressbar","scrollbar","slider","spinbutton"]);default:throw new TypeError("No knowledge about abstract role '".concat(t,"'. This is likely a bug :("))}}function _g(e,t){var r=Yt(e.querySelectorAll(t));return is(e,"aria-owns").forEach(function(n){r.push.apply(r,Yt(n.querySelectorAll(t)))}),r}function ok(e){return VM(e)?e.selectedOptions||_g(e,"[selected]"):_g(e,'[aria-selected="true"]')}function ik(e){return Tr(e,["none","presentation"])}function sk(e){return Dw(e)}function lk(e){return Tr(e,["button","cell","checkbox","columnheader","gridcell","heading","label","legend","link","menuitem","menuitemcheckbox","menuitemradio","option","radio","row","rowheader","switch","tab","tooltip","treeitem"])}function uk(e){return!1}function ck(e){return Di(e)||YM(e)?e.value:e.textContent||""}function wg(e){var t=e.getPropertyValue("content");return/^["'].*["']$/.test(t)?t.slice(1,-1):""}function Uw(e){var t=bt(e);return t==="button"||t==="input"&&e.getAttribute("type")!=="hidden"||t==="meter"||t==="output"||t==="progress"||t==="select"||t==="textarea"}function jw(e){if(Uw(e))return e;var t=null;return e.childNodes.forEach(function(r){if(t===null&&He(r)){var n=jw(r);n!==null&&(t=n)}}),t}function fk(e){if(e.control!==void 0)return e.control;var t=e.getAttribute("for");return t!==null?e.ownerDocument.getElementById(t):jw(e)}function dk(e){var t=e.labels;if(t===null)return t;if(t!==void 0)return Yt(t);if(!Uw(e))return null;var r=e.ownerDocument;return Yt(r.querySelectorAll("label")).filter(function(n){return fk(n)===e})}function pk(e){var t=e.assignedNodes();return t.length===0?Yt(e.childNodes):t}function Hw(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=new qM,n=KM(e),a=t.compute,o=a===void 0?"name":a,s=t.computedStyleSupportsPseudoElements,i=s===void 0?t.getComputedStyle!==void 0:s,l=t.getComputedStyle,u=l===void 0?n.getComputedStyle.bind(n):l,c=t.hidden,p=c===void 0?!1:c;function d(b,v){var w="";if(He(b)&&i){var R=u(b,"::before"),T=wg(R);w="".concat(T," ").concat(w)}var C=JM(b)?pk(b):Yt(b.childNodes).concat(is(b,"aria-owns"));if(C.forEach(function(j){var z=_(j,{isEmbeddedInLabel:v.isEmbeddedInLabel,isReferenced:!1,recursion:!0}),Y=He(j)?u(j).getPropertyValue("display"):"inline",U=Y!=="inline"?" ":"";w+="".concat(U).concat(z).concat(U)}),He(b)&&i){var N=u(b,"::after"),I=wg(N);w="".concat(w," ").concat(I)}return w.trim()}function f(b,v){var w=b.getAttributeNode(v);return w!==null&&!r.has(w)&&w.value.trim()!==""?(r.add(w),w.value):null}function h(b){return He(b)?f(b,"title"):null}function m(b){if(!He(b))return null;if(XM(b)){r.add(b);for(var v=Yt(b.childNodes),w=0;w<v.length;w+=1){var R=v[w];if(QM(R))return _(R,{isEmbeddedInLabel:!1,isReferenced:!1,recursion:!1})}}else if(zM(b)){r.add(b);for(var T=Yt(b.childNodes),C=0;C<T.length;C+=1){var N=T[C];if(Dw(N))return _(N,{isEmbeddedInLabel:!1,isReferenced:!1,recursion:!1})}}else if(ek(b)){r.add(b);for(var I=Yt(b.childNodes),j=0;j<I.length;j+=1){var z=I[j];if(tk(z))return z.textContent}return null}else if(bt(b)==="img"||bt(b)==="area"){var Y=f(b,"alt");if(Y!==null)return Y}else if(WM(b)){var U=f(b,"label");if(U!==null)return U}if(Di(b)&&(b.type==="button"||b.type==="submit"||b.type==="reset")){var D=f(b,"value");if(D!==null)return D;if(b.type==="submit")return"Submit";if(b.type==="reset")return"Reset"}var Q=dk(b);if(Q!==null&&Q.length!==0)return r.add(b),Yt(Q).map(function(Z){return _(Z,{isEmbeddedInLabel:!0,isReferenced:!1,recursion:!0})}).filter(function(Z){return Z.length>0}).join(" ");if(Di(b)&&b.type==="image"){var J=f(b,"alt");if(J!==null)return J;var k=f(b,"title");return k!==null?k:"Submit Query"}if(Tr(b,["button"])){var G=d(b,{isEmbeddedInLabel:!1,isReferenced:!1});if(G!=="")return G}return null}function _(b,v){if(r.has(b))return"";if(!p&&nk(b,u)&&!v.isReferenced)return r.add(b),"";var w=He(b)?b.getAttributeNode("aria-labelledby"):null,R=w!==null&&!r.has(w)?is(b,"aria-labelledby"):[];if(o==="name"&&!v.isReferenced&&R.length>0)return r.add(w),R.map(function(Y){return _(Y,{isEmbeddedInLabel:v.isEmbeddedInLabel,isReferenced:!0,recursion:!1})}).join(" ");var T=v.recursion&&ak(b)&&o==="name";if(!T){var C=(He(b)&&b.getAttribute("aria-label")||"").trim();if(C!==""&&o==="name")return r.add(b),C;if(!ik(b)){var N=m(b);if(N!==null)return r.add(b),N}}if(Tr(b,["menu"]))return r.add(b),"";if(T||v.isEmbeddedInLabel||v.isReferenced){if(Tr(b,["combobox","listbox"])){r.add(b);var I=ok(b);return I.length===0?Di(b)?b.value:"":Yt(I).map(function(Y){return _(Y,{isEmbeddedInLabel:v.isEmbeddedInLabel,isReferenced:!1,recursion:!0})}).join(" ")}if(Fw(b,"range"))return r.add(b),b.hasAttribute("aria-valuetext")?b.getAttribute("aria-valuetext"):b.hasAttribute("aria-valuenow")?b.getAttribute("aria-valuenow"):b.getAttribute("value")||"";if(Tr(b,["textbox"]))return r.add(b),ck(b)}if(lk(b)||He(b)&&v.isReferenced||sk(b)||uk()){var j=d(b,{isEmbeddedInLabel:v.isEmbeddedInLabel,isReferenced:!1});if(j!=="")return r.add(b),j}if(b.nodeType===b.TEXT_NODE)return r.add(b),b.textContent||"";if(v.recursion)return r.add(b),d(b,{isEmbeddedInLabel:v.isEmbeddedInLabel,isReferenced:!1});var z=h(b);return z!==null?(r.add(b),z):(r.add(b),"")}return rk(_(e,{isEmbeddedInLabel:!1,isReferenced:o==="description",recursion:!1}))}function Ao(e){"@babel/helpers - typeof";return Ao=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Ao(e)}function Tg(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(a){return Object.getOwnPropertyDescriptor(e,a).enumerable})),r.push.apply(r,n)}return r}function Sg(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?Tg(Object(r),!0).forEach(function(n){hk(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Tg(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}function hk(e,t,r){return t=mk(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function mk(e){var t=yk(e,"string");return Ao(t)==="symbol"?t:String(t)}function yk(e,t){if(Ao(e)!=="object"||e===null)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var n=r.call(e,t||"default");if(Ao(n)!=="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function Gw(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=is(e,"aria-describedby").map(function(a){return Hw(a,Sg(Sg({},t),{},{compute:"description"}))}).join(" ");if(r===""){var n=e.getAttribute("title");r=n===null?"":n}return r}function vk(e){return Tr(e,["caption","code","deletion","emphasis","generic","insertion","paragraph","presentation","strong","subscript","superscript"])}function kh(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return vk(e)?"":Hw(e,t)}var Kt={},ks={},In={},$s={};Object.defineProperty($s,"__esModule",{value:!0});$s.default=void 0;function gk(){var e=this,t=0,r={"@@iterator":function(){return r},next:function(){if(t<e.length){var a=e[t];return t=t+1,{done:!1,value:a}}else return{done:!0}}};return r}var bk=gk;$s.default=bk;Object.defineProperty(In,"__esModule",{value:!0});In.default=wk;var Ek=_k($s);function _k(e){return e&&e.__esModule?e:{default:e}}function Tp(e){"@babel/helpers - typeof";return Tp=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Tp(e)}function wk(e,t){return typeof Symbol=="function"&&Tp(Symbol.iterator)==="symbol"&&Object.defineProperty(e,Symbol.iterator,{value:Ek.default.bind(t)}),e}Object.defineProperty(ks,"__esModule",{value:!0});ks.default=void 0;var Tk=Sk(In);function Sk(e){return e&&e.__esModule?e:{default:e}}function dd(e,t){return Ok(e)||Ck(e,t)||Ww(e,t)||Rk()}function Rk(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
127
- In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function Ck(e,t){var r=e==null?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(r!=null){var n=[],a=!0,o=!1,s,i;try{for(r=r.call(e);!(a=(s=r.next()).done)&&(n.push(s.value),!(t&&n.length===t));a=!0);}catch(l){o=!0,i=l}finally{try{!a&&r.return!=null&&r.return()}finally{if(o)throw i}}return n}}function Ok(e){if(Array.isArray(e))return e}function xk(e,t){var r=typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(!r){if(Array.isArray(e)||(r=Ww(e))||t&&e&&typeof e.length=="number"){r&&(e=r);var n=0,a=function(){};return{s:a,n:function(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]}},e:function(u){throw u},f:a}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
128
- In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var o=!0,s=!1,i;return{s:function(){r=r.call(e)},n:function(){var u=r.next();return o=u.done,u},e:function(u){s=!0,i=u},f:function(){try{!o&&r.return!=null&&r.return()}finally{if(s)throw i}}}}function Ww(e,t){if(e){if(typeof e=="string")return Rg(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);if(r==="Object"&&e.constructor&&(r=e.constructor.name),r==="Map"||r==="Set")return Array.from(e);if(r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return Rg(e,t)}}function Rg(e,t){(t==null||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}var ra=[["aria-activedescendant",{type:"id"}],["aria-atomic",{type:"boolean"}],["aria-autocomplete",{type:"token",values:["inline","list","both","none"]}],["aria-busy",{type:"boolean"}],["aria-checked",{type:"tristate"}],["aria-colcount",{type:"integer"}],["aria-colindex",{type:"integer"}],["aria-colspan",{type:"integer"}],["aria-controls",{type:"idlist"}],["aria-current",{type:"token",values:["page","step","location","date","time",!0,!1]}],["aria-describedby",{type:"idlist"}],["aria-details",{type:"id"}],["aria-disabled",{type:"boolean"}],["aria-dropeffect",{type:"tokenlist",values:["copy","execute","link","move","none","popup"]}],["aria-errormessage",{type:"id"}],["aria-expanded",{type:"boolean",allowundefined:!0}],["aria-flowto",{type:"idlist"}],["aria-grabbed",{type:"boolean",allowundefined:!0}],["aria-haspopup",{type:"token",values:[!1,!0,"menu","listbox","tree","grid","dialog"]}],["aria-hidden",{type:"boolean",allowundefined:!0}],["aria-invalid",{type:"token",values:["grammar",!1,"spelling",!0]}],["aria-keyshortcuts",{type:"string"}],["aria-label",{type:"string"}],["aria-labelledby",{type:"idlist"}],["aria-level",{type:"integer"}],["aria-live",{type:"token",values:["assertive","off","polite"]}],["aria-modal",{type:"boolean"}],["aria-multiline",{type:"boolean"}],["aria-multiselectable",{type:"boolean"}],["aria-orientation",{type:"token",values:["vertical","undefined","horizontal"]}],["aria-owns",{type:"idlist"}],["aria-placeholder",{type:"string"}],["aria-posinset",{type:"integer"}],["aria-pressed",{type:"tristate"}],["aria-readonly",{type:"boolean"}],["aria-relevant",{type:"tokenlist",values:["additions","all","removals","text"]}],["aria-required",{type:"boolean"}],["aria-roledescription",{type:"string"}],["aria-rowcount",{type:"integer"}],["aria-rowindex",{type:"integer"}],["aria-rowspan",{type:"integer"}],["aria-selected",{type:"boolean",allowundefined:!0}],["aria-setsize",{type:"integer"}],["aria-sort",{type:"token",values:["ascending","descending","none","other"]}],["aria-valuemax",{type:"number"}],["aria-valuemin",{type:"number"}],["aria-valuenow",{type:"number"}],["aria-valuetext",{type:"string"}]],Sp={entries:function(){return ra},forEach:function(t){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null,n=xk(ra),a;try{for(n.s();!(a=n.n()).done;){var o=dd(a.value,2),s=o[0],i=o[1];t.call(r,i,s,ra)}}catch(l){n.e(l)}finally{n.f()}},get:function(t){var r=ra.find(function(n){return n[0]===t});return r&&r[1]},has:function(t){return!!Sp.get(t)},keys:function(){return ra.map(function(t){var r=dd(t,1),n=r[0];return n})},values:function(){return ra.map(function(t){var r=dd(t,2),n=r[1];return n})}},Pk=(0,Tk.default)(Sp,Sp.entries());ks.default=Pk;var Ls={};Object.defineProperty(Ls,"__esModule",{value:!0});Ls.default=void 0;var Ak=Ik(In);function Ik(e){return e&&e.__esModule?e:{default:e}}function pd(e,t){return kk(e)||Mk(e,t)||Vw(e,t)||Nk()}function Nk(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
129
- In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function Mk(e,t){var r=e==null?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(r!=null){var n=[],a=!0,o=!1,s,i;try{for(r=r.call(e);!(a=(s=r.next()).done)&&(n.push(s.value),!(t&&n.length===t));a=!0);}catch(l){o=!0,i=l}finally{try{!a&&r.return!=null&&r.return()}finally{if(o)throw i}}return n}}function kk(e){if(Array.isArray(e))return e}function $k(e,t){var r=typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(!r){if(Array.isArray(e)||(r=Vw(e))||t&&e&&typeof e.length=="number"){r&&(e=r);var n=0,a=function(){};return{s:a,n:function(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]}},e:function(u){throw u},f:a}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
130
- In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var o=!0,s=!1,i;return{s:function(){r=r.call(e)},n:function(){var u=r.next();return o=u.done,u},e:function(u){s=!0,i=u},f:function(){try{!o&&r.return!=null&&r.return()}finally{if(s)throw i}}}}function Vw(e,t){if(e){if(typeof e=="string")return Cg(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);if(r==="Object"&&e.constructor&&(r=e.constructor.name),r==="Map"||r==="Set")return Array.from(e);if(r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return Cg(e,t)}}function Cg(e,t){(t==null||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}var na=[["a",{reserved:!1}],["abbr",{reserved:!1}],["acronym",{reserved:!1}],["address",{reserved:!1}],["applet",{reserved:!1}],["area",{reserved:!1}],["article",{reserved:!1}],["aside",{reserved:!1}],["audio",{reserved:!1}],["b",{reserved:!1}],["base",{reserved:!0}],["bdi",{reserved:!1}],["bdo",{reserved:!1}],["big",{reserved:!1}],["blink",{reserved:!1}],["blockquote",{reserved:!1}],["body",{reserved:!1}],["br",{reserved:!1}],["button",{reserved:!1}],["canvas",{reserved:!1}],["caption",{reserved:!1}],["center",{reserved:!1}],["cite",{reserved:!1}],["code",{reserved:!1}],["col",{reserved:!0}],["colgroup",{reserved:!0}],["content",{reserved:!1}],["data",{reserved:!1}],["datalist",{reserved:!1}],["dd",{reserved:!1}],["del",{reserved:!1}],["details",{reserved:!1}],["dfn",{reserved:!1}],["dialog",{reserved:!1}],["dir",{reserved:!1}],["div",{reserved:!1}],["dl",{reserved:!1}],["dt",{reserved:!1}],["em",{reserved:!1}],["embed",{reserved:!1}],["fieldset",{reserved:!1}],["figcaption",{reserved:!1}],["figure",{reserved:!1}],["font",{reserved:!1}],["footer",{reserved:!1}],["form",{reserved:!1}],["frame",{reserved:!1}],["frameset",{reserved:!1}],["h1",{reserved:!1}],["h2",{reserved:!1}],["h3",{reserved:!1}],["h4",{reserved:!1}],["h5",{reserved:!1}],["h6",{reserved:!1}],["head",{reserved:!0}],["header",{reserved:!1}],["hgroup",{reserved:!1}],["hr",{reserved:!1}],["html",{reserved:!0}],["i",{reserved:!1}],["iframe",{reserved:!1}],["img",{reserved:!1}],["input",{reserved:!1}],["ins",{reserved:!1}],["kbd",{reserved:!1}],["keygen",{reserved:!1}],["label",{reserved:!1}],["legend",{reserved:!1}],["li",{reserved:!1}],["link",{reserved:!0}],["main",{reserved:!1}],["map",{reserved:!1}],["mark",{reserved:!1}],["marquee",{reserved:!1}],["menu",{reserved:!1}],["menuitem",{reserved:!1}],["meta",{reserved:!0}],["meter",{reserved:!1}],["nav",{reserved:!1}],["noembed",{reserved:!0}],["noscript",{reserved:!0}],["object",{reserved:!1}],["ol",{reserved:!1}],["optgroup",{reserved:!1}],["option",{reserved:!1}],["output",{reserved:!1}],["p",{reserved:!1}],["param",{reserved:!0}],["picture",{reserved:!0}],["pre",{reserved:!1}],["progress",{reserved:!1}],["q",{reserved:!1}],["rp",{reserved:!1}],["rt",{reserved:!1}],["rtc",{reserved:!1}],["ruby",{reserved:!1}],["s",{reserved:!1}],["samp",{reserved:!1}],["script",{reserved:!0}],["section",{reserved:!1}],["select",{reserved:!1}],["small",{reserved:!1}],["source",{reserved:!0}],["spacer",{reserved:!1}],["span",{reserved:!1}],["strike",{reserved:!1}],["strong",{reserved:!1}],["style",{reserved:!0}],["sub",{reserved:!1}],["summary",{reserved:!1}],["sup",{reserved:!1}],["table",{reserved:!1}],["tbody",{reserved:!1}],["td",{reserved:!1}],["textarea",{reserved:!1}],["tfoot",{reserved:!1}],["th",{reserved:!1}],["thead",{reserved:!1}],["time",{reserved:!1}],["title",{reserved:!0}],["tr",{reserved:!1}],["track",{reserved:!0}],["tt",{reserved:!1}],["u",{reserved:!1}],["ul",{reserved:!1}],["var",{reserved:!1}],["video",{reserved:!1}],["wbr",{reserved:!1}],["xmp",{reserved:!1}]],Rp={entries:function(){return na},forEach:function(t){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null,n=$k(na),a;try{for(n.s();!(a=n.n()).done;){var o=pd(a.value,2),s=o[0],i=o[1];t.call(r,i,s,na)}}catch(l){n.e(l)}finally{n.f()}},get:function(t){var r=na.find(function(n){return n[0]===t});return r&&r[1]},has:function(t){return!!Rp.get(t)},keys:function(){return na.map(function(t){var r=pd(t,1),n=r[0];return n})},values:function(){return na.map(function(t){var r=pd(t,2),n=r[1];return n})}},Lk=(0,Ak.default)(Rp,Rp.entries());Ls.default=Lk;var Ra={},Bs={},qs={};Object.defineProperty(qs,"__esModule",{value:!0});qs.default=void 0;var Bk={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"menuitem"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget"]]},qk=Bk;qs.default=qk;var Ds={};Object.defineProperty(Ds,"__esModule",{value:!0});Ds.default=void 0;var Dk={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-activedescendant":null,"aria-disabled":null},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget"]]},Fk=Dk;Ds.default=Fk;var Fs={};Object.defineProperty(Fs,"__esModule",{value:!0});Fs.default=void 0;var Uk={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null},relatedConcepts:[{concept:{name:"input"},module:"XForms"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget"]]},jk=Uk;Fs.default=jk;var Us={};Object.defineProperty(Us,"__esModule",{value:!0});Us.default=void 0;var Hk={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},Gk=Hk;Us.default=Gk;var js={};Object.defineProperty(js,"__esModule",{value:!0});js.default=void 0;var Wk={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-valuemax":null,"aria-valuemin":null,"aria-valuenow":null},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure"]]},Vk=Wk;js.default=Vk;var Hs={};Object.defineProperty(Hs,"__esModule",{value:!0});Hs.default=void 0;var zk={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[],prohibitedProps:[],props:{"aria-atomic":null,"aria-busy":null,"aria-controls":null,"aria-current":null,"aria-describedby":null,"aria-details":null,"aria-dropeffect":null,"aria-flowto":null,"aria-grabbed":null,"aria-hidden":null,"aria-keyshortcuts":null,"aria-label":null,"aria-labelledby":null,"aria-live":null,"aria-owns":null,"aria-relevant":null,"aria-roledescription":null},relatedConcepts:[{concept:{name:"rel"},module:"HTML"},{concept:{name:"role"},module:"XHTML"},{concept:{name:"type"},module:"Dublin Core"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[]},Yk=zk;Hs.default=Yk;var Gs={};Object.defineProperty(Gs,"__esModule",{value:!0});Gs.default=void 0;var Kk={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"frontmatter"},module:"DTB"},{concept:{name:"level"},module:"DTB"},{concept:{name:"level"},module:"SMIL"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure"]]},Xk=Kk;Gs.default=Xk;var Ws={};Object.defineProperty(Ws,"__esModule",{value:!0});Ws.default=void 0;var Qk={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure"]]},Jk=Qk;Ws.default=Jk;var Vs={};Object.defineProperty(Vs,"__esModule",{value:!0});Vs.default=void 0;var Zk={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-orientation":null},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget","composite"],["roletype","structure","section","group"]]},e$=Zk;Vs.default=e$;var zs={};Object.defineProperty(zs,"__esModule",{value:!0});zs.default=void 0;var t$={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype"]]},r$=t$;zs.default=r$;var Ys={};Object.defineProperty(Ys,"__esModule",{value:!0});Ys.default=void 0;var n$={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype"]]},a$=n$;Ys.default=a$;var Ks={};Object.defineProperty(Ks,"__esModule",{value:!0});Ks.default=void 0;var o$={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-modal":null},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype"]]},i$=o$;Ks.default=i$;Object.defineProperty(Bs,"__esModule",{value:!0});Bs.default=void 0;var s$=qt(qs),l$=qt(Ds),u$=qt(Fs),c$=qt(Us),f$=qt(js),d$=qt(Hs),p$=qt(Gs),h$=qt(Ws),m$=qt(Vs),y$=qt(zs),v$=qt(Ys),g$=qt(Ks);function qt(e){return e&&e.__esModule?e:{default:e}}var b$=[["command",s$.default],["composite",l$.default],["input",u$.default],["landmark",c$.default],["range",f$.default],["roletype",d$.default],["section",p$.default],["sectionhead",h$.default],["select",m$.default],["structure",y$.default],["widget",v$.default],["window",g$.default]],E$=b$;Bs.default=E$;var Xs={},Qs={};Object.defineProperty(Qs,"__esModule",{value:!0});Qs.default=void 0;var _$={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-atomic":"true","aria-live":"assertive"},relatedConcepts:[{concept:{name:"alert"},module:"XForms"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},w$=_$;Qs.default=w$;var Js={};Object.defineProperty(Js,"__esModule",{value:!0});Js.default=void 0;var T$={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"alert"},module:"XForms"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","alert"],["roletype","window","dialog"]]},S$=T$;Js.default=S$;var Zs={};Object.defineProperty(Zs,"__esModule",{value:!0});Zs.default=void 0;var R$={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-activedescendant":null,"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"Device Independence Delivery Unit"}}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure"]]},C$=R$;Zs.default=C$;var el={};Object.defineProperty(el,"__esModule",{value:!0});el.default=void 0;var O$={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-posinset":null,"aria-setsize":null},relatedConcepts:[{concept:{name:"article"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","document"]]},x$=O$;el.default=x$;var tl={};Object.defineProperty(tl,"__esModule",{value:!0});tl.default=void 0;var P$={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{constraints:["direct descendant of document"],name:"header"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},A$=P$;tl.default=A$;var rl={};Object.defineProperty(rl,"__esModule",{value:!0});rl.default=void 0;var I$={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},N$=I$;rl.default=N$;var nl={};Object.defineProperty(nl,"__esModule",{value:!0});nl.default=void 0;var M$={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-disabled":null,"aria-expanded":null,"aria-haspopup":null,"aria-pressed":null},relatedConcepts:[{concept:{attributes:[{constraints:["set"],name:"aria-pressed"},{name:"type",value:"checkbox"}],name:"input"},module:"HTML"},{concept:{attributes:[{name:"aria-expanded",value:"false"}],name:"summary"},module:"HTML"},{concept:{attributes:[{name:"aria-expanded",value:"true"}],constraints:["direct descendant of details element with the open attribute defined"],name:"summary"},module:"HTML"},{concept:{attributes:[{name:"type",value:"button"}],name:"input"},module:"HTML"},{concept:{attributes:[{name:"type",value:"image"}],name:"input"},module:"HTML"},{concept:{attributes:[{name:"type",value:"reset"}],name:"input"},module:"HTML"},{concept:{attributes:[{name:"type",value:"submit"}],name:"input"},module:"HTML"},{concept:{name:"button"},module:"HTML"},{concept:{name:"trigger"},module:"XForms"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget","command"]]},k$=M$;nl.default=k$;var al={};Object.defineProperty(al,"__esModule",{value:!0});al.default=void 0;var $$={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[],requireContextRole:["figure","grid","table"],requiredContextRole:["figure","grid","table"],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},L$=$$;al.default=L$;var ol={};Object.defineProperty(ol,"__esModule",{value:!0});ol.default=void 0;var B$={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-colindex":null,"aria-colspan":null,"aria-rowindex":null,"aria-rowspan":null},relatedConcepts:[{concept:{constraints:["descendant of table"],name:"td"},module:"HTML"}],requireContextRole:["row"],requiredContextRole:["row"],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},q$=B$;ol.default=q$;var il={};Object.defineProperty(il,"__esModule",{value:!0});il.default=void 0;var D$={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-checked":null,"aria-errormessage":null,"aria-expanded":null,"aria-invalid":null,"aria-readonly":null,"aria-required":null},relatedConcepts:[{concept:{attributes:[{name:"type",value:"checkbox"}],name:"input"},module:"HTML"},{concept:{name:"option"},module:"ARIA"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{"aria-checked":null},superClass:[["roletype","widget","input"]]},F$=D$;il.default=F$;var sl={};Object.defineProperty(sl,"__esModule",{value:!0});sl.default=void 0;var U$={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},j$=U$;sl.default=j$;var ll={};Object.defineProperty(ll,"__esModule",{value:!0});ll.default=void 0;var H$={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-sort":null},relatedConcepts:[{attributes:[{name:"scope",value:"col"}],concept:{name:"th"},module:"HTML"}],requireContextRole:["row"],requiredContextRole:["row"],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","cell"],["roletype","structure","section","cell","gridcell"],["roletype","widget","gridcell"],["roletype","structure","sectionhead"]]},G$=H$;ll.default=G$;var ul={};Object.defineProperty(ul,"__esModule",{value:!0});ul.default=void 0;var W$={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-activedescendant":null,"aria-autocomplete":null,"aria-errormessage":null,"aria-invalid":null,"aria-readonly":null,"aria-required":null,"aria-expanded":"false","aria-haspopup":"listbox"},relatedConcepts:[{concept:{attributes:[{constraints:["set"],name:"list"},{name:"type",value:"email"}],name:"input"},module:"HTML"},{concept:{attributes:[{constraints:["set"],name:"list"},{name:"type",value:"search"}],name:"input"},module:"HTML"},{concept:{attributes:[{constraints:["set"],name:"list"},{name:"type",value:"tel"}],name:"input"},module:"HTML"},{concept:{attributes:[{constraints:["set"],name:"list"},{name:"type",value:"text"}],name:"input"},module:"HTML"},{concept:{attributes:[{constraints:["set"],name:"list"},{name:"type",value:"url"}],name:"input"},module:"HTML"},{concept:{attributes:[{constraints:["set"],name:"list"},{name:"type",value:"url"}],name:"input"},module:"HTML"},{concept:{attributes:[{constraints:["undefined"],name:"multiple"},{constraints:["undefined"],name:"size"}],name:"select"},module:"HTML"},{concept:{attributes:[{constraints:["undefined"],name:"multiple"},{name:"size",value:1}],name:"select"},module:"HTML"},{concept:{name:"select"},module:"XForms"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{"aria-controls":null,"aria-expanded":"false"},superClass:[["roletype","widget","input"]]},V$=W$;ul.default=V$;var cl={};Object.defineProperty(cl,"__esModule",{value:!0});cl.default=void 0;var z$={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"aside"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},Y$=z$;cl.default=Y$;var fl={};Object.defineProperty(fl,"__esModule",{value:!0});fl.default=void 0;var K$={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{constraints:["direct descendant of document"],name:"footer"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},X$=K$;fl.default=X$;var dl={};Object.defineProperty(dl,"__esModule",{value:!0});dl.default=void 0;var Q$={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"dd"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},J$=Q$;dl.default=J$;var pl={};Object.defineProperty(pl,"__esModule",{value:!0});pl.default=void 0;var Z$={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},eL=Z$;pl.default=eL;var hl={};Object.defineProperty(hl,"__esModule",{value:!0});hl.default=void 0;var tL={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"dialog"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","window"]]},rL=tL;hl.default=rL;var ml={};Object.defineProperty(ml,"__esModule",{value:!0});ml.default=void 0;var nL={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{module:"DAISY Guide"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","list"]]},aL=nL;ml.default=aL;var yl={};Object.defineProperty(yl,"__esModule",{value:!0});yl.default=void 0;var oL={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"Device Independence Delivery Unit"}},{concept:{name:"body"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure"]]},iL=oL;yl.default=iL;var vl={};Object.defineProperty(vl,"__esModule",{value:!0});vl.default=void 0;var sL={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},lL=sL;vl.default=lL;var gl={};Object.defineProperty(gl,"__esModule",{value:!0});gl.default=void 0;var uL={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["article"]],requiredProps:{},superClass:[["roletype","structure","section","list"]]},cL=uL;gl.default=cL;var bl={};Object.defineProperty(bl,"__esModule",{value:!0});bl.default=void 0;var fL={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"figure"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},dL=fL;bl.default=dL;var El={};Object.defineProperty(El,"__esModule",{value:!0});El.default=void 0;var pL={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{attributes:[{constraints:["set"],name:"aria-label"}],name:"form"},module:"HTML"},{concept:{attributes:[{constraints:["set"],name:"aria-labelledby"}],name:"form"},module:"HTML"},{concept:{attributes:[{constraints:["set"],name:"name"}],name:"form"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},hL=pL;El.default=hL;var _l={};Object.defineProperty(_l,"__esModule",{value:!0});_l.default=void 0;var mL={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[{concept:{name:"span"},module:"HTML"},{concept:{name:"div"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure"]]},yL=mL;_l.default=yL;var wl={};Object.defineProperty(wl,"__esModule",{value:!0});wl.default=void 0;var vL={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-multiselectable":null,"aria-readonly":null},relatedConcepts:[{concept:{attributes:[{name:"role",value:"grid"}],name:"table"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["row"],["row","rowgroup"]],requiredProps:{},superClass:[["roletype","widget","composite"],["roletype","structure","section","table"]]},gL=vL;wl.default=gL;var Tl={};Object.defineProperty(Tl,"__esModule",{value:!0});Tl.default=void 0;var bL={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null,"aria-readonly":null,"aria-required":null,"aria-selected":null},relatedConcepts:[{concept:{attributes:[{name:"role",value:"gridcell"}],name:"td"},module:"HTML"}],requireContextRole:["row"],requiredContextRole:["row"],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","cell"],["roletype","widget"]]},EL=bL;Tl.default=EL;var Sl={};Object.defineProperty(Sl,"__esModule",{value:!0});Sl.default=void 0;var _L={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-activedescendant":null,"aria-disabled":null},relatedConcepts:[{concept:{name:"details"},module:"HTML"},{concept:{name:"fieldset"},module:"HTML"},{concept:{name:"optgroup"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},wL=_L;Sl.default=wL;var Rl={};Object.defineProperty(Rl,"__esModule",{value:!0});Rl.default=void 0;var TL={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-level":"2"},relatedConcepts:[{concept:{name:"h1"},module:"HTML"},{concept:{name:"h2"},module:"HTML"},{concept:{name:"h3"},module:"HTML"},{concept:{name:"h4"},module:"HTML"},{concept:{name:"h5"},module:"HTML"},{concept:{name:"h6"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{"aria-level":"2"},superClass:[["roletype","structure","sectionhead"]]},SL=TL;Rl.default=SL;var Cl={};Object.defineProperty(Cl,"__esModule",{value:!0});Cl.default=void 0;var RL={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{attributes:[{constraints:["set"],name:"alt"}],name:"img"},module:"HTML"},{concept:{attributes:[{constraints:["undefined"],name:"alt"}],name:"img"},module:"HTML"},{concept:{name:"imggroup"},module:"DTB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},CL=RL;Cl.default=CL;var Ol={};Object.defineProperty(Ol,"__esModule",{value:!0});Ol.default=void 0;var OL={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},xL=OL;Ol.default=xL;var xl={};Object.defineProperty(xl,"__esModule",{value:!0});xl.default=void 0;var PL={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-disabled":null,"aria-expanded":null,"aria-haspopup":null},relatedConcepts:[{concept:{attributes:[{name:"href"}],name:"a"},module:"HTML"},{concept:{attributes:[{name:"href"}],name:"area"},module:"HTML"},{concept:{attributes:[{name:"href"}],name:"link"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget","command"]]},AL=PL;xl.default=AL;var Pl={};Object.defineProperty(Pl,"__esModule",{value:!0});Pl.default=void 0;var IL={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"menu"},module:"HTML"},{concept:{name:"ol"},module:"HTML"},{concept:{name:"ul"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["listitem"]],requiredProps:{},superClass:[["roletype","structure","section"]]},NL=IL;Pl.default=NL;var Al={};Object.defineProperty(Al,"__esModule",{value:!0});Al.default=void 0;var ML={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-errormessage":null,"aria-expanded":null,"aria-invalid":null,"aria-multiselectable":null,"aria-readonly":null,"aria-required":null,"aria-orientation":"vertical"},relatedConcepts:[{concept:{attributes:[{constraints:[">1"],name:"size"},{name:"multiple"}],name:"select"},module:"HTML"},{concept:{attributes:[{constraints:[">1"],name:"size"}],name:"select"},module:"HTML"},{concept:{attributes:[{name:"multiple"}],name:"select"},module:"HTML"},{concept:{name:"datalist"},module:"HTML"},{concept:{name:"list"},module:"ARIA"},{concept:{name:"select"},module:"XForms"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["option","group"],["option"]],requiredProps:{},superClass:[["roletype","widget","composite","select"],["roletype","structure","section","group","select"]]},kL=ML;Al.default=kL;var Il={};Object.defineProperty(Il,"__esModule",{value:!0});Il.default=void 0;var $L={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-level":null,"aria-posinset":null,"aria-setsize":null},relatedConcepts:[{concept:{constraints:["direct descendant of ol, ul or menu"],name:"li"},module:"HTML"},{concept:{name:"item"},module:"XForms"}],requireContextRole:["directory","list"],requiredContextRole:["directory","list"],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},LL=$L;Il.default=LL;var Nl={};Object.defineProperty(Nl,"__esModule",{value:!0});Nl.default=void 0;var BL={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-live":"polite"},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},qL=BL;Nl.default=qL;var Ml={};Object.defineProperty(Ml,"__esModule",{value:!0});Ml.default=void 0;var DL={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"main"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},FL=DL;Ml.default=FL;var kl={};Object.defineProperty(kl,"__esModule",{value:!0});kl.default=void 0;var UL={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},jL=UL;kl.default=jL;var $l={};Object.defineProperty($l,"__esModule",{value:!0});$l.default=void 0;var HL={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"math"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},GL=HL;$l.default=GL;var Ll={};Object.defineProperty(Ll,"__esModule",{value:!0});Ll.default=void 0;var WL={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-orientation":"vertical"},relatedConcepts:[{concept:{name:"MENU"},module:"JAPI"},{concept:{name:"list"},module:"ARIA"},{concept:{name:"select"},module:"XForms"},{concept:{name:"sidebar"},module:"DTB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["menuitem","group"],["menuitemradio","group"],["menuitemcheckbox","group"],["menuitem"],["menuitemcheckbox"],["menuitemradio"]],requiredProps:{},superClass:[["roletype","widget","composite","select"],["roletype","structure","section","group","select"]]},VL=WL;Ll.default=VL;var Bl={};Object.defineProperty(Bl,"__esModule",{value:!0});Bl.default=void 0;var zL={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-orientation":"horizontal"},relatedConcepts:[{concept:{name:"toolbar"},module:"ARIA"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["menuitem","group"],["menuitemradio","group"],["menuitemcheckbox","group"],["menuitem"],["menuitemcheckbox"],["menuitemradio"]],requiredProps:{},superClass:[["roletype","widget","composite","select","menu"],["roletype","structure","section","group","select","menu"]]},YL=zL;Bl.default=YL;var ql={};Object.defineProperty(ql,"__esModule",{value:!0});ql.default=void 0;var KL={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-disabled":null,"aria-expanded":null,"aria-haspopup":null,"aria-posinset":null,"aria-setsize":null},relatedConcepts:[{concept:{name:"MENU_ITEM"},module:"JAPI"},{concept:{name:"listitem"},module:"ARIA"},{concept:{name:"menuitem"},module:"HTML"},{concept:{name:"option"},module:"ARIA"}],requireContextRole:["group","menu","menubar"],requiredContextRole:["group","menu","menubar"],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget","command"]]},XL=KL;ql.default=XL;var Dl={};Object.defineProperty(Dl,"__esModule",{value:!0});Dl.default=void 0;var QL={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author","contents"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"menuitem"},module:"ARIA"}],requireContextRole:["group","menu","menubar"],requiredContextRole:["group","menu","menubar"],requiredOwnedElements:[],requiredProps:{"aria-checked":null},superClass:[["roletype","widget","input","checkbox"],["roletype","widget","command","menuitem"]]},JL=QL;Dl.default=JL;var Fl={};Object.defineProperty(Fl,"__esModule",{value:!0});Fl.default=void 0;var ZL={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author","contents"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"menuitem"},module:"ARIA"}],requireContextRole:["group","menu","menubar"],requiredContextRole:["group","menu","menubar"],requiredOwnedElements:[],requiredProps:{"aria-checked":null},superClass:[["roletype","widget","input","checkbox","menuitemcheckbox"],["roletype","widget","command","menuitem","menuitemcheckbox"],["roletype","widget","input","radio"]]},eB=ZL;Fl.default=eB;var Ul={};Object.defineProperty(Ul,"__esModule",{value:!0});Ul.default=void 0;var tB={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author"],prohibitedProps:[],props:{"aria-valuetext":null,"aria-valuemax":"100","aria-valuemin":"0"},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{"aria-valuenow":null},superClass:[["roletype","structure","range"]]},rB=tB;Ul.default=rB;var jl={};Object.defineProperty(jl,"__esModule",{value:!0});jl.default=void 0;var nB={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"nav"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},aB=nB;jl.default=aB;var Hl={};Object.defineProperty(Hl,"__esModule",{value:!0});Hl.default=void 0;var oB={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[]},iB=oB;Hl.default=iB;var Gl={};Object.defineProperty(Gl,"__esModule",{value:!0});Gl.default=void 0;var sB={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},lB=sB;Gl.default=lB;var Wl={};Object.defineProperty(Wl,"__esModule",{value:!0});Wl.default=void 0;var uB={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-checked":null,"aria-posinset":null,"aria-setsize":null,"aria-selected":"false"},relatedConcepts:[{concept:{name:"item"},module:"XForms"},{concept:{name:"listitem"},module:"ARIA"},{concept:{name:"option"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{"aria-selected":"false"},superClass:[["roletype","widget","input"]]},cB=uB;Wl.default=cB;var Vl={};Object.defineProperty(Vl,"__esModule",{value:!0});Vl.default=void 0;var fB={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},dB=fB;Vl.default=dB;var zl={};Object.defineProperty(zl,"__esModule",{value:!0});zl.default=void 0;var pB={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure"]]},hB=pB;zl.default=hB;var Yl={};Object.defineProperty(Yl,"__esModule",{value:!0});Yl.default=void 0;var mB={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author"],prohibitedProps:[],props:{"aria-valuetext":null},relatedConcepts:[{concept:{name:"progress"},module:"HTML"},{concept:{name:"status"},module:"ARIA"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","range"],["roletype","widget"]]},yB=mB;Yl.default=yB;var Kl={};Object.defineProperty(Kl,"__esModule",{value:!0});Kl.default=void 0;var vB={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-checked":null,"aria-posinset":null,"aria-setsize":null},relatedConcepts:[{concept:{attributes:[{name:"type",value:"radio"}],name:"input"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{"aria-checked":null},superClass:[["roletype","widget","input"]]},gB=vB;Kl.default=gB;var Xl={};Object.defineProperty(Xl,"__esModule",{value:!0});Xl.default=void 0;var bB={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-errormessage":null,"aria-invalid":null,"aria-readonly":null,"aria-required":null},relatedConcepts:[{concept:{name:"list"},module:"ARIA"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["radio"]],requiredProps:{},superClass:[["roletype","widget","composite","select"],["roletype","structure","section","group","select"]]},EB=bB;Xl.default=EB;var Ql={};Object.defineProperty(Ql,"__esModule",{value:!0});Ql.default=void 0;var _B={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{attributes:[{constraints:["set"],name:"aria-label"}],name:"section"},module:"HTML"},{concept:{attributes:[{constraints:["set"],name:"aria-labelledby"}],name:"section"},module:"HTML"},{concept:{name:"Device Independence Glossart perceivable unit"}},{concept:{name:"frame"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},wB=_B;Ql.default=wB;var Jl={};Object.defineProperty(Jl,"__esModule",{value:!0});Jl.default=void 0;var TB={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-colindex":null,"aria-expanded":null,"aria-level":null,"aria-posinset":null,"aria-rowindex":null,"aria-selected":null,"aria-setsize":null},relatedConcepts:[{concept:{name:"tr"},module:"HTML"}],requireContextRole:["grid","rowgroup","table","treegrid"],requiredContextRole:["grid","rowgroup","table","treegrid"],requiredOwnedElements:[["cell"],["columnheader"],["gridcell"],["rowheader"]],requiredProps:{},superClass:[["roletype","structure","section","group"],["roletype","widget"]]},SB=TB;Jl.default=SB;var Zl={};Object.defineProperty(Zl,"__esModule",{value:!0});Zl.default=void 0;var RB={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"tbody"},module:"HTML"},{concept:{name:"tfoot"},module:"HTML"},{concept:{name:"thead"},module:"HTML"}],requireContextRole:["grid","table","treegrid"],requiredContextRole:["grid","table","treegrid"],requiredOwnedElements:[["row"]],requiredProps:{},superClass:[["roletype","structure"]]},CB=RB;Zl.default=CB;var eu={};Object.defineProperty(eu,"__esModule",{value:!0});eu.default=void 0;var OB={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-sort":null},relatedConcepts:[{concept:{attributes:[{name:"scope",value:"row"}],name:"th"},module:"HTML"},{concept:{attributes:[{name:"scope",value:"rowgroup"}],name:"th"},module:"HTML"}],requireContextRole:["row","rowgroup"],requiredContextRole:["row","rowgroup"],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","cell"],["roletype","structure","section","cell","gridcell"],["roletype","widget","gridcell"],["roletype","structure","sectionhead"]]},xB=OB;eu.default=xB;var tu={};Object.defineProperty(tu,"__esModule",{value:!0});tu.default=void 0;var PB={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!0,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-valuetext":null,"aria-orientation":"vertical","aria-valuemax":"100","aria-valuemin":"0"},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{"aria-controls":null,"aria-valuenow":null},superClass:[["roletype","structure","range"],["roletype","widget"]]},AB=PB;tu.default=AB;var ru={};Object.defineProperty(ru,"__esModule",{value:!0});ru.default=void 0;var IB={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},NB=IB;ru.default=NB;var nu={};Object.defineProperty(nu,"__esModule",{value:!0});nu.default=void 0;var MB={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{attributes:[{constraints:["undefined"],name:"list"},{name:"type",value:"search"}],name:"input"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget","input","textbox"]]},kB=MB;nu.default=kB;var au={};Object.defineProperty(au,"__esModule",{value:!0});au.default=void 0;var $B={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!0,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-orientation":"horizontal","aria-valuemax":"100","aria-valuemin":"0","aria-valuenow":null,"aria-valuetext":null},relatedConcepts:[{concept:{name:"hr"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure"]]},LB=$B;au.default=LB;var ou={};Object.defineProperty(ou,"__esModule",{value:!0});ou.default=void 0;var BB={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author"],prohibitedProps:[],props:{"aria-errormessage":null,"aria-haspopup":null,"aria-invalid":null,"aria-readonly":null,"aria-valuetext":null,"aria-orientation":"horizontal","aria-valuemax":"100","aria-valuemin":"0"},relatedConcepts:[{concept:{attributes:[{name:"type",value:"range"}],name:"input"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{"aria-valuenow":null},superClass:[["roletype","widget","input"],["roletype","structure","range"]]},qB=BB;ou.default=qB;var iu={};Object.defineProperty(iu,"__esModule",{value:!0});iu.default=void 0;var DB={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-errormessage":null,"aria-invalid":null,"aria-readonly":null,"aria-required":null,"aria-valuetext":null,"aria-valuenow":"0"},relatedConcepts:[{concept:{attributes:[{name:"type",value:"number"}],name:"input"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget","composite"],["roletype","widget","input"],["roletype","structure","range"]]},FB=DB;iu.default=FB;var su={};Object.defineProperty(su,"__esModule",{value:!0});su.default=void 0;var UB={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-atomic":"true","aria-live":"polite"},relatedConcepts:[{concept:{name:"output"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},jB=UB;su.default=jB;var lu={};Object.defineProperty(lu,"__esModule",{value:!0});lu.default=void 0;var HB={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},GB=HB;lu.default=GB;var uu={};Object.defineProperty(uu,"__esModule",{value:!0});uu.default=void 0;var WB={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},VB=WB;uu.default=VB;var cu={};Object.defineProperty(cu,"__esModule",{value:!0});cu.default=void 0;var zB={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},YB=zB;cu.default=YB;var fu={};Object.defineProperty(fu,"__esModule",{value:!0});fu.default=void 0;var KB={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author","contents"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"button"},module:"ARIA"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{"aria-checked":null},superClass:[["roletype","widget","input","checkbox"]]},XB=KB;fu.default=XB;var du={};Object.defineProperty(du,"__esModule",{value:!0});du.default=void 0;var QB={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!0,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-disabled":null,"aria-expanded":null,"aria-haspopup":null,"aria-posinset":null,"aria-setsize":null,"aria-selected":"false"},relatedConcepts:[],requireContextRole:["tablist"],requiredContextRole:["tablist"],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","sectionhead"],["roletype","widget"]]},JB=QB;du.default=JB;var pu={};Object.defineProperty(pu,"__esModule",{value:!0});pu.default=void 0;var ZB={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-colcount":null,"aria-rowcount":null},relatedConcepts:[{concept:{name:"table"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["row"],["row","rowgroup"]],requiredProps:{},superClass:[["roletype","structure","section"]]},eq=ZB;pu.default=eq;var hu={};Object.defineProperty(hu,"__esModule",{value:!0});hu.default=void 0;var tq={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-level":null,"aria-multiselectable":null,"aria-orientation":"horizontal"},relatedConcepts:[{module:"DAISY",concept:{name:"guide"}}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["tab"]],requiredProps:{},superClass:[["roletype","widget","composite"]]},rq=tq;hu.default=rq;var mu={};Object.defineProperty(mu,"__esModule",{value:!0});mu.default=void 0;var nq={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},aq=nq;mu.default=aq;var yu={};Object.defineProperty(yu,"__esModule",{value:!0});yu.default=void 0;var oq={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"dfn"},module:"HTML"},{concept:{name:"dt"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},iq=oq;yu.default=iq;var vu={};Object.defineProperty(vu,"__esModule",{value:!0});vu.default=void 0;var sq={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-activedescendant":null,"aria-autocomplete":null,"aria-errormessage":null,"aria-haspopup":null,"aria-invalid":null,"aria-multiline":null,"aria-placeholder":null,"aria-readonly":null,"aria-required":null},relatedConcepts:[{concept:{attributes:[{constraints:["undefined"],name:"type"},{constraints:["undefined"],name:"list"}],name:"input"},module:"HTML"},{concept:{attributes:[{constraints:["undefined"],name:"list"},{name:"type",value:"email"}],name:"input"},module:"HTML"},{concept:{attributes:[{constraints:["undefined"],name:"list"},{name:"type",value:"tel"}],name:"input"},module:"HTML"},{concept:{attributes:[{constraints:["undefined"],name:"list"},{name:"type",value:"text"}],name:"input"},module:"HTML"},{concept:{attributes:[{constraints:["undefined"],name:"list"},{name:"type",value:"url"}],name:"input"},module:"HTML"},{concept:{name:"input"},module:"XForms"},{concept:{name:"textarea"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget","input"]]},lq=sq;vu.default=lq;var gu={};Object.defineProperty(gu,"__esModule",{value:!0});gu.default=void 0;var uq={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},cq=uq;gu.default=cq;var bu={};Object.defineProperty(bu,"__esModule",{value:!0});bu.default=void 0;var fq={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","status"]]},dq=fq;bu.default=dq;var Eu={};Object.defineProperty(Eu,"__esModule",{value:!0});Eu.default=void 0;var pq={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-orientation":"horizontal"},relatedConcepts:[{concept:{name:"menubar"},module:"ARIA"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","group"]]},hq=pq;Eu.default=hq;var _u={};Object.defineProperty(_u,"__esModule",{value:!0});_u.default=void 0;var mq={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},yq=mq;_u.default=yq;var wu={};Object.defineProperty(wu,"__esModule",{value:!0});wu.default=void 0;var vq={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-errormessage":null,"aria-invalid":null,"aria-multiselectable":null,"aria-required":null,"aria-orientation":"vertical"},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["treeitem","group"],["treeitem"]],requiredProps:{},superClass:[["roletype","widget","composite","select"],["roletype","structure","section","group","select"]]},gq=vq;wu.default=gq;var Tu={};Object.defineProperty(Tu,"__esModule",{value:!0});Tu.default=void 0;var bq={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["row"],["row","rowgroup"]],requiredProps:{},superClass:[["roletype","widget","composite","grid"],["roletype","structure","section","table","grid"],["roletype","widget","composite","select","tree"],["roletype","structure","section","group","select","tree"]]},Eq=bq;Tu.default=Eq;var Su={};Object.defineProperty(Su,"__esModule",{value:!0});Su.default=void 0;var _q={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-expanded":null,"aria-haspopup":null},relatedConcepts:[],requireContextRole:["group","tree"],requiredContextRole:["group","tree"],requiredOwnedElements:[],requiredProps:{"aria-selected":null},superClass:[["roletype","structure","section","listitem"],["roletype","widget","input","option"]]},wq=_q;Su.default=wq;Object.defineProperty(Xs,"__esModule",{value:!0});Xs.default=void 0;var Tq=te(Qs),Sq=te(Js),Rq=te(Zs),Cq=te(el),Oq=te(tl),xq=te(rl),Pq=te(nl),Aq=te(al),Iq=te(ol),Nq=te(il),Mq=te(sl),kq=te(ll),$q=te(ul),Lq=te(cl),Bq=te(fl),qq=te(dl),Dq=te(pl),Fq=te(hl),Uq=te(ml),jq=te(yl),Hq=te(vl),Gq=te(gl),Wq=te(bl),Vq=te(El),zq=te(_l),Yq=te(wl),Kq=te(Tl),Xq=te(Sl),Qq=te(Rl),Jq=te(Cl),Zq=te(Ol),eD=te(xl),tD=te(Pl),rD=te(Al),nD=te(Il),aD=te(Nl),oD=te(Ml),iD=te(kl),sD=te($l),lD=te(Ll),uD=te(Bl),cD=te(ql),fD=te(Dl),dD=te(Fl),pD=te(Ul),hD=te(jl),mD=te(Hl),yD=te(Gl),vD=te(Wl),gD=te(Vl),bD=te(zl),ED=te(Yl),_D=te(Kl),wD=te(Xl),TD=te(Ql),SD=te(Jl),RD=te(Zl),CD=te(eu),OD=te(tu),xD=te(ru),PD=te(nu),AD=te(au),ID=te(ou),ND=te(iu),MD=te(su),kD=te(lu),$D=te(uu),LD=te(cu),BD=te(fu),qD=te(du),DD=te(pu),FD=te(hu),UD=te(mu),jD=te(yu),HD=te(vu),GD=te(gu),WD=te(bu),VD=te(Eu),zD=te(_u),YD=te(wu),KD=te(Tu),XD=te(Su);function te(e){return e&&e.__esModule?e:{default:e}}var QD=[["alert",Tq.default],["alertdialog",Sq.default],["application",Rq.default],["article",Cq.default],["banner",Oq.default],["blockquote",xq.default],["button",Pq.default],["caption",Aq.default],["cell",Iq.default],["checkbox",Nq.default],["code",Mq.default],["columnheader",kq.default],["combobox",$q.default],["complementary",Lq.default],["contentinfo",Bq.default],["definition",qq.default],["deletion",Dq.default],["dialog",Fq.default],["directory",Uq.default],["document",jq.default],["emphasis",Hq.default],["feed",Gq.default],["figure",Wq.default],["form",Vq.default],["generic",zq.default],["grid",Yq.default],["gridcell",Kq.default],["group",Xq.default],["heading",Qq.default],["img",Jq.default],["insertion",Zq.default],["link",eD.default],["list",tD.default],["listbox",rD.default],["listitem",nD.default],["log",aD.default],["main",oD.default],["marquee",iD.default],["math",sD.default],["menu",lD.default],["menubar",uD.default],["menuitem",cD.default],["menuitemcheckbox",fD.default],["menuitemradio",dD.default],["meter",pD.default],["navigation",hD.default],["none",mD.default],["note",yD.default],["option",vD.default],["paragraph",gD.default],["presentation",bD.default],["progressbar",ED.default],["radio",_D.default],["radiogroup",wD.default],["region",TD.default],["row",SD.default],["rowgroup",RD.default],["rowheader",CD.default],["scrollbar",OD.default],["search",xD.default],["searchbox",PD.default],["separator",AD.default],["slider",ID.default],["spinbutton",ND.default],["status",MD.default],["strong",kD.default],["subscript",$D.default],["superscript",LD.default],["switch",BD.default],["tab",qD.default],["table",DD.default],["tablist",FD.default],["tabpanel",UD.default],["term",jD.default],["textbox",HD.default],["time",GD.default],["timer",WD.default],["toolbar",VD.default],["tooltip",zD.default],["tree",YD.default],["treegrid",KD.default],["treeitem",XD.default]],JD=QD;Xs.default=JD;var Ru={},Cu={};Object.defineProperty(Cu,"__esModule",{value:!0});Cu.default=void 0;var ZD={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"abstract [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},eF=ZD;Cu.default=eF;var Ou={};Object.defineProperty(Ou,"__esModule",{value:!0});Ou.default=void 0;var tF={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"acknowledgments [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},rF=tF;Ou.default=rF;var xu={};Object.defineProperty(xu,"__esModule",{value:!0});xu.default=void 0;var nF={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"afterword [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},aF=nF;xu.default=aF;var Pu={};Object.defineProperty(Pu,"__esModule",{value:!0});Pu.default=void 0;var oF={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"appendix [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},iF=oF;Pu.default=iF;var Au={};Object.defineProperty(Au,"__esModule",{value:!0});Au.default=void 0;var sF={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","content"],prohibitedProps:[],props:{"aria-errormessage":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"referrer [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget","command","link"]]},lF=sF;Au.default=lF;var Iu={};Object.defineProperty(Iu,"__esModule",{value:!0});Iu.default=void 0;var uF={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"EPUB biblioentry [EPUB-SSV]"},module:"EPUB"}],requireContextRole:["doc-bibliography"],requiredContextRole:["doc-bibliography"],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","listitem"]]},cF=uF;Iu.default=cF;var Nu={};Object.defineProperty(Nu,"__esModule",{value:!0});Nu.default=void 0;var fF={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"bibliography [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["doc-biblioentry"]],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},dF=fF;Nu.default=dF;var Mu={};Object.defineProperty(Mu,"__esModule",{value:!0});Mu.default=void 0;var pF={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-errormessage":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"biblioref [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget","command","link"]]},hF=pF;Mu.default=hF;var ku={};Object.defineProperty(ku,"__esModule",{value:!0});ku.default=void 0;var mF={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"chapter [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},yF=mF;ku.default=yF;var $u={};Object.defineProperty($u,"__esModule",{value:!0});$u.default=void 0;var vF={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"colophon [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},gF=vF;$u.default=gF;var Lu={};Object.defineProperty(Lu,"__esModule",{value:!0});Lu.default=void 0;var bF={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"conclusion [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},EF=bF;Lu.default=EF;var Bu={};Object.defineProperty(Bu,"__esModule",{value:!0});Bu.default=void 0;var _F={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"cover [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","img"]]},wF=_F;Bu.default=wF;var qu={};Object.defineProperty(qu,"__esModule",{value:!0});qu.default=void 0;var TF={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"credit [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},SF=TF;qu.default=SF;var Du={};Object.defineProperty(Du,"__esModule",{value:!0});Du.default=void 0;var RF={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"credits [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},CF=RF;Du.default=CF;var Fu={};Object.defineProperty(Fu,"__esModule",{value:!0});Fu.default=void 0;var OF={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"dedication [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},xF=OF;Fu.default=xF;var Uu={};Object.defineProperty(Uu,"__esModule",{value:!0});Uu.default=void 0;var PF={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"rearnote [EPUB-SSV]"},module:"EPUB"}],requireContextRole:["doc-endnotes"],requiredContextRole:["doc-endnotes"],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","listitem"]]},AF=PF;Uu.default=AF;var ju={};Object.defineProperty(ju,"__esModule",{value:!0});ju.default=void 0;var IF={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"rearnotes [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["doc-endnote"]],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},NF=IF;ju.default=NF;var Hu={};Object.defineProperty(Hu,"__esModule",{value:!0});Hu.default=void 0;var MF={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"epigraph [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},kF=MF;Hu.default=kF;var Gu={};Object.defineProperty(Gu,"__esModule",{value:!0});Gu.default=void 0;var $F={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"epilogue [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},LF=$F;Gu.default=LF;var Wu={};Object.defineProperty(Wu,"__esModule",{value:!0});Wu.default=void 0;var BF={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"errata [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},qF=BF;Wu.default=qF;var Vu={};Object.defineProperty(Vu,"__esModule",{value:!0});Vu.default=void 0;var DF={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},FF=DF;Vu.default=FF;var zu={};Object.defineProperty(zu,"__esModule",{value:!0});zu.default=void 0;var UF={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"footnote [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},jF=UF;zu.default=jF;var Yu={};Object.defineProperty(Yu,"__esModule",{value:!0});Yu.default=void 0;var HF={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"foreword [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},GF=HF;Yu.default=GF;var Ku={};Object.defineProperty(Ku,"__esModule",{value:!0});Ku.default=void 0;var WF={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"glossary [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["definition"],["term"]],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},VF=WF;Ku.default=VF;var Xu={};Object.defineProperty(Xu,"__esModule",{value:!0});Xu.default=void 0;var zF={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-errormessage":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"glossref [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget","command","link"]]},YF=zF;Xu.default=YF;var Qu={};Object.defineProperty(Qu,"__esModule",{value:!0});Qu.default=void 0;var KF={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"index [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark","navigation"]]},XF=KF;Qu.default=XF;var Ju={};Object.defineProperty(Ju,"__esModule",{value:!0});Ju.default=void 0;var QF={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"introduction [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},JF=QF;Ju.default=JF;var Zu={};Object.defineProperty(Zu,"__esModule",{value:!0});Zu.default=void 0;var ZF={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-errormessage":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"noteref [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget","command","link"]]},eU=ZF;Zu.default=eU;var ec={};Object.defineProperty(ec,"__esModule",{value:!0});ec.default=void 0;var tU={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"notice [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","note"]]},rU=tU;ec.default=rU;var tc={};Object.defineProperty(tc,"__esModule",{value:!0});tc.default=void 0;var nU={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author"],prohibitedProps:[],props:{"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"pagebreak [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","separator"]]},aU=nU;tc.default=aU;var rc={};Object.defineProperty(rc,"__esModule",{value:!0});rc.default=void 0;var oU={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"page-list [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark","navigation"]]},iU=oU;rc.default=iU;var nc={};Object.defineProperty(nc,"__esModule",{value:!0});nc.default=void 0;var sU={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"part [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},lU=sU;nc.default=lU;var ac={};Object.defineProperty(ac,"__esModule",{value:!0});ac.default=void 0;var uU={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"preface [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},cU=uU;ac.default=cU;var oc={};Object.defineProperty(oc,"__esModule",{value:!0});oc.default=void 0;var fU={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"prologue [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},dU=fU;oc.default=dU;var ic={};Object.defineProperty(ic,"__esModule",{value:!0});ic.default=void 0;var pU={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"pullquote [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["none"]]},hU=pU;ic.default=hU;var sc={};Object.defineProperty(sc,"__esModule",{value:!0});sc.default=void 0;var mU={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"qna [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},yU=mU;sc.default=yU;var lc={};Object.defineProperty(lc,"__esModule",{value:!0});lc.default=void 0;var vU={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"subtitle [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","sectionhead"]]},gU=vU;lc.default=gU;var uc={};Object.defineProperty(uc,"__esModule",{value:!0});uc.default=void 0;var bU={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"help [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","note"]]},EU=bU;uc.default=EU;var cc={};Object.defineProperty(cc,"__esModule",{value:!0});cc.default=void 0;var _U={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"toc [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark","navigation"]]},wU=_U;cc.default=wU;Object.defineProperty(Ru,"__esModule",{value:!0});Ru.default=void 0;var TU=we(Cu),SU=we(Ou),RU=we(xu),CU=we(Pu),OU=we(Au),xU=we(Iu),PU=we(Nu),AU=we(Mu),IU=we(ku),NU=we($u),MU=we(Lu),kU=we(Bu),$U=we(qu),LU=we(Du),BU=we(Fu),qU=we(Uu),DU=we(ju),FU=we(Hu),UU=we(Gu),jU=we(Wu),HU=we(Vu),GU=we(zu),WU=we(Yu),VU=we(Ku),zU=we(Xu),YU=we(Qu),KU=we(Ju),XU=we(Zu),QU=we(ec),JU=we(tc),ZU=we(rc),e2=we(nc),t2=we(ac),r2=we(oc),n2=we(ic),a2=we(sc),o2=we(lc),i2=we(uc),s2=we(cc);function we(e){return e&&e.__esModule?e:{default:e}}var l2=[["doc-abstract",TU.default],["doc-acknowledgments",SU.default],["doc-afterword",RU.default],["doc-appendix",CU.default],["doc-backlink",OU.default],["doc-biblioentry",xU.default],["doc-bibliography",PU.default],["doc-biblioref",AU.default],["doc-chapter",IU.default],["doc-colophon",NU.default],["doc-conclusion",MU.default],["doc-cover",kU.default],["doc-credit",$U.default],["doc-credits",LU.default],["doc-dedication",BU.default],["doc-endnote",qU.default],["doc-endnotes",DU.default],["doc-epigraph",FU.default],["doc-epilogue",UU.default],["doc-errata",jU.default],["doc-example",HU.default],["doc-footnote",GU.default],["doc-foreword",WU.default],["doc-glossary",VU.default],["doc-glossref",zU.default],["doc-index",YU.default],["doc-introduction",KU.default],["doc-noteref",XU.default],["doc-notice",QU.default],["doc-pagebreak",JU.default],["doc-pagelist",ZU.default],["doc-part",e2.default],["doc-preface",t2.default],["doc-prologue",r2.default],["doc-pullquote",n2.default],["doc-qna",a2.default],["doc-subtitle",o2.default],["doc-tip",i2.default],["doc-toc",s2.default]],u2=l2;Ru.default=u2;var fc={},dc={};Object.defineProperty(dc,"__esModule",{value:!0});dc.default=void 0;var c2={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{module:"GRAPHICS",concept:{name:"graphics-object"}},{module:"ARIA",concept:{name:"img"}},{module:"ARIA",concept:{name:"article"}}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","document"]]},f2=c2;dc.default=f2;var pc={};Object.defineProperty(pc,"__esModule",{value:!0});pc.default=void 0;var d2={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{module:"GRAPHICS",concept:{name:"graphics-document"}},{module:"ARIA",concept:{name:"group"}},{module:"ARIA",concept:{name:"img"}},{module:"GRAPHICS",concept:{name:"graphics-symbol"}}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","group"]]},p2=d2;pc.default=p2;var hc={};Object.defineProperty(hc,"__esModule",{value:!0});hc.default=void 0;var h2={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","img"]]},m2=h2;hc.default=m2;Object.defineProperty(fc,"__esModule",{value:!0});fc.default=void 0;var y2=$h(dc),v2=$h(pc),g2=$h(hc);function $h(e){return e&&e.__esModule?e:{default:e}}var b2=[["graphics-document",y2.default],["graphics-object",v2.default],["graphics-symbol",g2.default]],E2=b2;fc.default=E2;Object.defineProperty(Ra,"__esModule",{value:!0});Ra.default=void 0;var _2=Go(Bs),w2=Go(Xs),T2=Go(Ru),S2=Go(fc),R2=Go(In);function Go(e){return e&&e.__esModule?e:{default:e}}function C2(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Cp(e,t){var r=typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(!r){if(Array.isArray(e)||(r=zw(e))||t&&e&&typeof e.length=="number"){r&&(e=r);var n=0,a=function(){};return{s:a,n:function(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]}},e:function(u){throw u},f:a}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
131
- In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var o=!0,s=!1,i;return{s:function(){r=r.call(e)},n:function(){var u=r.next();return o=u.done,u},e:function(u){s=!0,i=u},f:function(){try{!o&&r.return!=null&&r.return()}finally{if(s)throw i}}}}function To(e,t){return P2(e)||x2(e,t)||zw(e,t)||O2()}function O2(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
132
- In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function zw(e,t){if(e){if(typeof e=="string")return Og(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);if(r==="Object"&&e.constructor&&(r=e.constructor.name),r==="Map"||r==="Set")return Array.from(e);if(r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return Og(e,t)}}function Og(e,t){(t==null||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function x2(e,t){var r=e==null?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(r!=null){var n=[],a=!0,o=!1,s,i;try{for(r=r.call(e);!(a=(s=r.next()).done)&&(n.push(s.value),!(t&&n.length===t));a=!0);}catch(l){o=!0,i=l}finally{try{!a&&r.return!=null&&r.return()}finally{if(o)throw i}}return n}}function P2(e){if(Array.isArray(e))return e}var qr=[].concat(_2.default,w2.default,T2.default,S2.default);qr.forEach(function(e){var t=To(e,2),r=t[1],n=Cp(r.superClass),a;try{for(n.s();!(a=n.n()).done;){var o=a.value,s=Cp(o),i;try{var l=function(){var c=i.value,p=qr.find(function(_){var b=To(_,1),v=b[0];return v===c});if(p)for(var d=p[1],f=0,h=Object.keys(d.props);f<h.length;f++){var m=h[f];Object.prototype.hasOwnProperty.call(r.props,m)||Object.assign(r.props,C2({},m,d.props[m]))}};for(s.s();!(i=s.n()).done;)l()}catch(u){s.e(u)}finally{s.f()}}}catch(u){n.e(u)}finally{n.f()}});var Op={entries:function(){return qr},forEach:function(t){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null,n=Cp(qr),a;try{for(n.s();!(a=n.n()).done;){var o=To(a.value,2),s=o[0],i=o[1];t.call(r,i,s,qr)}}catch(l){n.e(l)}finally{n.f()}},get:function(t){var r=qr.find(function(n){return n[0]===t});return r&&r[1]},has:function(t){return!!Op.get(t)},keys:function(){return qr.map(function(t){var r=To(t,1),n=r[0];return n})},values:function(){return qr.map(function(t){var r=To(t,2),n=r[1];return n})}},A2=(0,R2.default)(Op,Op.entries());Ra.default=A2;var mc={},xg=Object.prototype.toString,Yw=function(t){var r=xg.call(t),n=r==="[object Arguments]";return n||(n=r!=="[object Array]"&&t!==null&&typeof t=="object"&&typeof t.length=="number"&&t.length>=0&&xg.call(t.callee)==="[object Function]"),n},hd,Pg;function I2(){if(Pg)return hd;Pg=1;var e;if(!Object.keys){var t=Object.prototype.hasOwnProperty,r=Object.prototype.toString,n=Yw,a=Object.prototype.propertyIsEnumerable,o=!a.call({toString:null},"toString"),s=a.call(function(){},"prototype"),i=["toString","toLocaleString","valueOf","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","constructor"],l=function(d){var f=d.constructor;return f&&f.prototype===d},u={$applicationCache:!0,$console:!0,$external:!0,$frame:!0,$frameElement:!0,$frames:!0,$innerHeight:!0,$innerWidth:!0,$onmozfullscreenchange:!0,$onmozfullscreenerror:!0,$outerHeight:!0,$outerWidth:!0,$pageXOffset:!0,$pageYOffset:!0,$parent:!0,$scrollLeft:!0,$scrollTop:!0,$scrollX:!0,$scrollY:!0,$self:!0,$webkitIndexedDB:!0,$webkitStorageInfo:!0,$window:!0},c=function(){if(typeof window>"u")return!1;for(var d in window)try{if(!u["$"+d]&&t.call(window,d)&&window[d]!==null&&typeof window[d]=="object")try{l(window[d])}catch{return!0}}catch{return!0}return!1}(),p=function(d){if(typeof window>"u"||!c)return l(d);try{return l(d)}catch{return!1}};e=function(f){var h=f!==null&&typeof f=="object",m=r.call(f)==="[object Function]",_=n(f),b=h&&r.call(f)==="[object String]",v=[];if(!h&&!m&&!_)throw new TypeError("Object.keys called on a non-object");var w=s&&m;if(b&&f.length>0&&!t.call(f,0))for(var R=0;R<f.length;++R)v.push(String(R));if(_&&f.length>0)for(var T=0;T<f.length;++T)v.push(String(T));else for(var C in f)!(w&&C==="prototype")&&t.call(f,C)&&v.push(String(C));if(o)for(var N=p(f),I=0;I<i.length;++I)!(N&&i[I]==="constructor")&&t.call(f,i[I])&&v.push(i[I]);return v}}return hd=e,hd}var N2=Array.prototype.slice,M2=Yw,Ag=Object.keys,Fi=Ag?function(t){return Ag(t)}:I2(),Ig=Object.keys;Fi.shim=function(){if(Object.keys){var t=function(){var r=Object.keys(arguments);return r&&r.length===arguments.length}(1,2);t||(Object.keys=function(n){return M2(n)?Ig(N2.call(n)):Ig(n)})}else Object.keys=Fi;return Object.keys||Fi};var Lh=Fi,k2=Qt,xp=k2("%Object.defineProperty%",!0),Pp=function(){if(xp)try{return xp({},"a",{value:1}),!0}catch{return!1}return!1};Pp.hasArrayLengthDefineBug=function(){if(!Pp())return null;try{return xp([],"length",{value:1}).length!==1}catch{return!0}};var Bh=Pp,$2=Qt,Ui=$2("%Object.getOwnPropertyDescriptor%",!0);if(Ui)try{Ui([],"length")}catch{Ui=null}var Kw=Ui,L2=Bh(),qh=Qt,Ng=L2&&qh("%Object.defineProperty%",!0),B2=qh("%SyntaxError%"),aa=qh("%TypeError%"),Mg=Kw,Xw=function(t,r,n){if(!t||typeof t!="object"&&typeof t!="function")throw new aa("`obj` must be an object or a function`");if(typeof r!="string"&&typeof r!="symbol")throw new aa("`property` must be a string or a symbol`");if(arguments.length>3&&typeof arguments[3]!="boolean"&&arguments[3]!==null)throw new aa("`nonEnumerable`, if provided, must be a boolean or null");if(arguments.length>4&&typeof arguments[4]!="boolean"&&arguments[4]!==null)throw new aa("`nonWritable`, if provided, must be a boolean or null");if(arguments.length>5&&typeof arguments[5]!="boolean"&&arguments[5]!==null)throw new aa("`nonConfigurable`, if provided, must be a boolean or null");if(arguments.length>6&&typeof arguments[6]!="boolean")throw new aa("`loose`, if provided, must be a boolean");var a=arguments.length>3?arguments[3]:null,o=arguments.length>4?arguments[4]:null,s=arguments.length>5?arguments[5]:null,i=arguments.length>6?arguments[6]:!1,l=!!Mg&&Mg(t,r);if(Ng)Ng(t,r,{configurable:s===null&&l?l.configurable:!s,enumerable:a===null&&l?l.enumerable:!a,value:n,writable:o===null&&l?l.writable:!o});else if(i||!a&&!o&&!s)t[r]=n;else throw new B2("This environment does not support defining a property as non-configurable, non-writable, or non-enumerable.")},q2=Lh,D2=typeof Symbol=="function"&&typeof Symbol("foo")=="symbol",F2=Object.prototype.toString,U2=Array.prototype.concat,kg=Xw,j2=function(e){return typeof e=="function"&&F2.call(e)==="[object Function]"},Qw=Bh(),H2=function(e,t,r,n){if(t in e){if(n===!0){if(e[t]===r)return}else if(!j2(n)||!n())return}Qw?kg(e,t,r,!0):kg(e,t,r)},Jw=function(e,t){var r=arguments.length>2?arguments[2]:{},n=q2(t);D2&&(n=U2.call(n,Object.getOwnPropertySymbols(t)));for(var a=0;a<n.length;a+=1)H2(e,n[a],t[n[a]],r[n[a]])};Jw.supportsDescriptors=!!Qw;var Nn=Jw,G2=Lh,Zw=Ss(),eT=$t,$g=Object,W2=eT("Array.prototype.push"),Lg=eT("Object.prototype.propertyIsEnumerable"),V2=Zw?Object.getOwnPropertySymbols:null,tT=function(t,r){if(t==null)throw new TypeError("target must be an object");var n=$g(t);if(arguments.length===1)return n;for(var a=1;a<arguments.length;++a){var o=$g(arguments[a]),s=G2(o),i=Zw&&(Object.getOwnPropertySymbols||V2);if(i)for(var l=i(o),u=0;u<l.length;++u){var c=l[u];Lg(o,c)&&W2(s,c)}for(var p=0;p<s.length;++p){var d=s[p];if(Lg(o,d)){var f=o[d];n[d]=f}}}return n},md=tT,z2=function(){if(!Object.assign)return!1;for(var e="abcdefghijklmnopqrst",t=e.split(""),r={},n=0;n<t.length;++n)r[t[n]]=t[n];var a=Object.assign({},r),o="";for(var s in a)o+=s;return e!==o},Y2=function(){if(!Object.assign||!Object.preventExtensions)return!1;var e=Object.preventExtensions({1:2});try{Object.assign(e,"xy")}catch{return e[1]==="y"}return!1},rT=function(){return!Object.assign||z2()||Y2()?md:Object.assign},K2=Nn,X2=rT,Q2=function(){var t=X2();return K2(Object,{assign:t},{assign:function(){return Object.assign!==t}}),t},J2=Nn,Z2=Ea,ej=tT,nT=rT,tj=Q2,rj=Z2.apply(nT()),aT=function(t,r){return rj(Object,arguments)};J2(aT,{getPolyfill:nT,implementation:ej,shim:tj});var nj=aT,Io=function(){return typeof(function(){}).name=="string"},So=Object.getOwnPropertyDescriptor;if(So)try{So([],"length")}catch{So=null}Io.functionsHaveConfigurableNames=function(){if(!Io()||!So)return!1;var t=So(function(){},"name");return!!t&&!!t.configurable};var aj=Function.prototype.bind;Io.boundFunctionsHaveNames=function(){return Io()&&typeof aj=="function"&&(function(){}).bind().name!==""};var oj=Io,Bg=Xw,ij=Bh(),sj=oj.functionsHaveConfigurableNames(),lj=TypeError,uj=function(t,r){if(typeof t!="function")throw new lj("`fn` is not a function");var n=arguments.length>2&&!!arguments[2];return(!n||sj)&&(ij?Bg(t,"name",r,!0,!0):Bg(t,"name",r)),t},cj=uj,fj=Object,dj=TypeError,oT=cj(function(){if(this!=null&&this!==fj(this))throw new dj("RegExp.prototype.flags getter called on non-object");var t="";return this.hasIndices&&(t+="d"),this.global&&(t+="g"),this.ignoreCase&&(t+="i"),this.multiline&&(t+="m"),this.dotAll&&(t+="s"),this.unicode&&(t+="u"),this.unicodeSets&&(t+="v"),this.sticky&&(t+="y"),t},"get flags",!0),pj=oT,hj=Nn.supportsDescriptors,mj=Object.getOwnPropertyDescriptor,iT=function(){if(hj&&/a/mig.flags==="gim"){var t=mj(RegExp.prototype,"flags");if(t&&typeof t.get=="function"&&typeof RegExp.prototype.dotAll=="boolean"&&typeof RegExp.prototype.hasIndices=="boolean"){var r="",n={};if(Object.defineProperty(n,"hasIndices",{get:function(){r+="d"}}),Object.defineProperty(n,"sticky",{get:function(){r+="y"}}),r==="dy")return t.get}}return pj},yj=Nn.supportsDescriptors,vj=iT,gj=Object.getOwnPropertyDescriptor,bj=Object.defineProperty,Ej=TypeError,qg=Object.getPrototypeOf,_j=/a/,wj=function(){if(!yj||!qg)throw new Ej("RegExp.prototype.flags requires a true ES5 environment that supports property descriptors");var t=vj(),r=qg(_j),n=gj(r,"flags");return(!n||n.get!==t)&&bj(r,"flags",{configurable:!0,enumerable:!1,get:t}),t},Tj=Nn,Sj=Ea,Rj=oT,sT=iT,Cj=wj,lT=Sj(sT());Tj(lT,{getPolyfill:sT,implementation:Rj,shim:Cj});var Oj=lT,ji={exports:{}},xj=Ss,Mn=function(){return xj()&&!!Symbol.toStringTag},Pj=Mn(),Aj=$t,Ap=Aj("Object.prototype.toString"),yc=function(t){return Pj&&t&&typeof t=="object"&&Symbol.toStringTag in t?!1:Ap(t)==="[object Arguments]"},uT=function(t){return yc(t)?!0:t!==null&&typeof t=="object"&&typeof t.length=="number"&&t.length>=0&&Ap(t)!=="[object Array]"&&Ap(t.callee)==="[object Function]"},Ij=function(){return yc(arguments)}();yc.isLegacyArguments=uT;var cT=Ij?yc:uT,Nj=Qt,Mj=AE,vo=gh(),gr=Nj("%TypeError%"),Dh={assert:function(e,t){if(!e||typeof e!="object"&&typeof e!="function")throw new gr("`O` is not an object");if(typeof t!="string")throw new gr("`slot` must be a string");if(vo.assert(e),!Dh.has(e,t))throw new gr("`"+t+"` is not present on `O`")},get:function(e,t){if(!e||typeof e!="object"&&typeof e!="function")throw new gr("`O` is not an object");if(typeof t!="string")throw new gr("`slot` must be a string");var r=vo.get(e);return r&&r["$"+t]},has:function(e,t){if(!e||typeof e!="object"&&typeof e!="function")throw new gr("`O` is not an object");if(typeof t!="string")throw new gr("`slot` must be a string");var r=vo.get(e);return!!r&&Mj(r,"$"+t)},set:function(e,t,r){if(!e||typeof e!="object"&&typeof e!="function")throw new gr("`O` is not an object");if(typeof t!="string")throw new gr("`slot` must be a string");var n=vo.get(e);n||(n={},vo.set(e,n)),n["$"+t]=r}};Object.freeze&&Object.freeze(Dh);var kj=Dh,go=kj,$j=SyntaxError,Dg=typeof StopIteration=="object"?StopIteration:null,Lj=function(t){if(!Dg)throw new $j("this environment lacks StopIteration");go.set(t,"[[Done]]",!1);var r={next:function(){var a=go.get(this,"[[Iterator]]"),o=go.get(a,"[[Done]]");try{return{done:o,value:o?void 0:a.next()}}catch(s){if(go.set(a,"[[Done]]",!0),s!==Dg)throw s;return{done:!0,value:void 0}}}};return go.set(r,"[[Iterator]]",t),r},Bj={}.toString,fT=Array.isArray||function(e){return Bj.call(e)=="[object Array]"},qj=String.prototype.valueOf,Dj=function(t){try{return qj.call(t),!0}catch{return!1}},Fj=Object.prototype.toString,Uj="[object String]",jj=Mn(),dT=function(t){return typeof t=="string"?!0:typeof t!="object"?!1:jj?Dj(t):Fj.call(t)===Uj},Fh=typeof Map=="function"&&Map.prototype?Map:null,Hj=typeof Set=="function"&&Set.prototype?Set:null,ss;Fh||(ss=function(t){return!1});var pT=Fh?Map.prototype.has:null,Fg=Hj?Set.prototype.has:null;!ss&&!pT&&(ss=function(t){return!1});var hT=ss||function(t){if(!t||typeof t!="object")return!1;try{if(pT.call(t),Fg)try{Fg.call(t)}catch{return!0}return t instanceof Fh}catch{}return!1},Gj=typeof Map=="function"&&Map.prototype?Map:null,Uh=typeof Set=="function"&&Set.prototype?Set:null,ls;Uh||(ls=function(t){return!1});var Ug=Gj?Map.prototype.has:null,mT=Uh?Set.prototype.has:null;!ls&&!mT&&(ls=function(t){return!1});var yT=ls||function(t){if(!t||typeof t!="object")return!1;try{if(mT.call(t),Ug)try{Ug.call(t)}catch{return!0}return t instanceof Uh}catch{}return!1},jg=cT,Hg=Lj;if(fh()||Ss()){var yd=Symbol.iterator;ji.exports=function(t){if(t!=null&&typeof t[yd]<"u")return t[yd]();if(jg(t))return Array.prototype[yd].call(t)}}else{var Wj=fT,Vj=dT,Gg=Qt,zj=Gg("%Map%",!0),Yj=Gg("%Set%",!0),Wt=$t,Wg=Wt("Array.prototype.push"),Vg=Wt("String.prototype.charCodeAt"),Kj=Wt("String.prototype.slice"),Xj=function(t,r){var n=t.length;if(r+1>=n)return r+1;var a=Vg(t,r);if(a<55296||a>56319)return r+1;var o=Vg(t,r+1);return o<56320||o>57343?r+1:r+2},vd=function(t){var r=0;return{next:function(){var a=r>=t.length,o;return a||(o=t[r],r+=1),{done:a,value:o}}}},zg=function(t,r){if(Wj(t)||jg(t))return vd(t);if(Vj(t)){var n=0;return{next:function(){var o=Xj(t,n),s=Kj(t,n,o);return n=o,{done:o>t.length,value:s}}}}if(r&&typeof t["_es6-shim iterator_"]<"u")return t["_es6-shim iterator_"]()};if(!zj&&!Yj)ji.exports=function(t){if(t!=null)return zg(t,!0)};else{var Qj=hT,Jj=yT,Yg=Wt("Map.prototype.forEach",!0),Kg=Wt("Set.prototype.forEach",!0);if(typeof process>"u"||!process.versions||!process.versions.node)var Xg=Wt("Map.prototype.iterator",!0),Qg=Wt("Set.prototype.iterator",!0);var Jg=Wt("Map.prototype.@@iterator",!0)||Wt("Map.prototype._es6-shim iterator_",!0),Zg=Wt("Set.prototype.@@iterator",!0)||Wt("Set.prototype._es6-shim iterator_",!0),Zj=function(t){if(Qj(t)){if(Xg)return Hg(Xg(t));if(Jg)return Jg(t);if(Yg){var r=[];return Yg(t,function(a,o){Wg(r,[o,a])}),vd(r)}}if(Jj(t)){if(Qg)return Hg(Qg(t));if(Zg)return Zg(t);if(Kg){var n=[];return Kg(t,function(a){Wg(n,a)}),vd(n)}}};ji.exports=function(t){return Zj(t)||zg(t)}}}var eH=ji.exports,eb=function(e){return e!==e},vT=function(t,r){return t===0&&r===0?1/t===1/r:!!(t===r||eb(t)&&eb(r))},tH=vT,gT=function(){return typeof Object.is=="function"?Object.is:tH},rH=gT,nH=Nn,aH=function(){var t=rH();return nH(Object,{is:t},{is:function(){return Object.is!==t}}),t},oH=Nn,iH=Ea,sH=vT,bT=gT,lH=aH,ET=iH(bT(),Object);oH(ET,{getPolyfill:bT,implementation:sH,shim:lH});var uH=ET,_T=Function.prototype.toString,la=typeof Reflect=="object"&&Reflect!==null&&Reflect.apply,Ip,Hi;if(typeof la=="function"&&typeof Object.defineProperty=="function")try{Ip=Object.defineProperty({},"length",{get:function(){throw Hi}}),Hi={},la(function(){throw 42},null,Ip)}catch(e){e!==Hi&&(la=null)}else la=null;var cH=/^\s*class\b/,Np=function(t){try{var r=_T.call(t);return cH.test(r)}catch{return!1}},gd=function(t){try{return Np(t)?!1:(_T.call(t),!0)}catch{return!1}},Gi=Object.prototype.toString,fH="[object Object]",dH="[object Function]",pH="[object GeneratorFunction]",hH="[object HTMLAllCollection]",mH="[object HTML document.all class]",yH="[object HTMLCollection]",vH=typeof Symbol=="function"&&!!Symbol.toStringTag,gH=!(0 in[,]),Mp=function(){return!1};if(typeof document=="object"){var bH=document.all;Gi.call(bH)===Gi.call(document.all)&&(Mp=function(t){if((gH||!t)&&(typeof t>"u"||typeof t=="object"))try{var r=Gi.call(t);return(r===hH||r===mH||r===yH||r===fH)&&t("")==null}catch{}return!1})}var EH=la?function(t){if(Mp(t))return!0;if(!t||typeof t!="function"&&typeof t!="object")return!1;try{la(t,null,Ip)}catch(r){if(r!==Hi)return!1}return!Np(t)&&gd(t)}:function(t){if(Mp(t))return!0;if(!t||typeof t!="function"&&typeof t!="object")return!1;if(vH)return gd(t);if(Np(t))return!1;var r=Gi.call(t);return r!==dH&&r!==pH&&!/^\[object HTML/.test(r)?!1:gd(t)},_H=EH,wH=Object.prototype.toString,wT=Object.prototype.hasOwnProperty,TH=function(t,r,n){for(var a=0,o=t.length;a<o;a++)wT.call(t,a)&&(n==null?r(t[a],a,t):r.call(n,t[a],a,t))},SH=function(t,r,n){for(var a=0,o=t.length;a<o;a++)n==null?r(t.charAt(a),a,t):r.call(n,t.charAt(a),a,t)},RH=function(t,r,n){for(var a in t)wT.call(t,a)&&(n==null?r(t[a],a,t):r.call(n,t[a],a,t))},CH=function(t,r,n){if(!_H(r))throw new TypeError("iterator must be a function");var a;arguments.length>=3&&(a=n),wH.call(t)==="[object Array]"?TH(t,r,a):typeof t=="string"?SH(t,r,a):RH(t,r,a)},OH=CH,bd=["BigInt64Array","BigUint64Array","Float32Array","Float64Array","Int16Array","Int32Array","Int8Array","Uint16Array","Uint32Array","Uint8Array","Uint8ClampedArray"],xH=typeof globalThis>"u"?be:globalThis,PH=function(){for(var t=[],r=0;r<bd.length;r++)typeof xH[bd[r]]=="function"&&(t[t.length]=bd[r]);return t},us=OH,AH=PH,tb=Ea,jh=$t,Wi=Kw,IH=jh("Object.prototype.toString"),TT=Mn(),rb=typeof globalThis>"u"?be:globalThis,kp=AH(),Hh=jh("String.prototype.slice"),Ed=Object.getPrototypeOf,NH=jh("Array.prototype.indexOf",!0)||function(t,r){for(var n=0;n<t.length;n+=1)if(t[n]===r)return n;return-1},cs={__proto__:null};TT&&Wi&&Ed?us(kp,function(e){var t=new rb[e];if(Symbol.toStringTag in t){var r=Ed(t),n=Wi(r,Symbol.toStringTag);if(!n){var a=Ed(r);n=Wi(a,Symbol.toStringTag)}cs["$"+e]=tb(n.get)}}):us(kp,function(e){var t=new rb[e];cs["$"+e]=tb(t.slice)});var MH=function(t){var r=!1;return us(cs,function(n,a){if(!r)try{"$"+n(t)===a&&(r=Hh(a,1))}catch{}}),r},kH=function(t){var r=!1;return us(cs,function(n,a){if(!r)try{n(t),r=Hh(a,1)}catch{}}),r},ST=function(t){if(!t||typeof t!="object")return!1;if(!TT){var r=Hh(IH(t),8,-1);return NH(kp,r)>-1?r:r!=="Object"?!1:kH(t)}return Wi?MH(t):null},$H=ST,LH=function(t){return!!$H(t)},BH=Ea,qH=$t,RT=Qt,DH=LH,nb=RT("ArrayBuffer",!0),ab=RT("Float32Array",!0),Vi=qH("ArrayBuffer.prototype.byteLength",!0),ob=nb&&!Vi&&new nb().slice,ib=ob&&BH(ob),CT=Vi||ib?function(t){if(!t||typeof t!="object")return!1;try{return Vi?Vi(t):ib(t,0),!0}catch{return!1}}:ab?function(t){try{return new ab(t).buffer===t&&!DH(t)}catch(r){return typeof t=="object"&&r.name==="RangeError"}}:function(t){return!1},FH=Date.prototype.getDay,UH=function(t){try{return FH.call(t),!0}catch{return!1}},jH=Object.prototype.toString,HH="[object Date]",GH=Mn(),WH=function(t){return typeof t!="object"||t===null?!1:GH?UH(t):jH.call(t)===HH},$p=$t,OT=Mn(),xT,PT,Lp,Bp;if(OT){xT=$p("Object.prototype.hasOwnProperty"),PT=$p("RegExp.prototype.exec"),Lp={};var _d=function(){throw Lp};Bp={toString:_d,valueOf:_d},typeof Symbol.toPrimitive=="symbol"&&(Bp[Symbol.toPrimitive]=_d)}var VH=$p("Object.prototype.toString"),zH=Object.getOwnPropertyDescriptor,YH="[object RegExp]",KH=OT?function(t){if(!t||typeof t!="object")return!1;var r=zH(t,"lastIndex"),n=r&&xT(r,"value");if(!n)return!1;try{PT(t,Bp)}catch(a){return a===Lp}}:function(t){return!t||typeof t!="object"&&typeof t!="function"?!1:VH(t)===YH},XH=$t,sb=XH("SharedArrayBuffer.prototype.byteLength",!0),QH=sb?function(t){if(!t||typeof t!="object")return!1;try{return sb(t),!0}catch{return!1}}:function(t){return!1},JH=Number.prototype.toString,ZH=function(t){try{return JH.call(t),!0}catch{return!1}},e3=Object.prototype.toString,t3="[object Number]",r3=Mn(),n3=function(t){return typeof t=="number"?!0:typeof t!="object"?!1:r3?ZH(t):e3.call(t)===t3},AT=$t,a3=AT("Boolean.prototype.toString"),o3=AT("Object.prototype.toString"),i3=function(t){try{return a3(t),!0}catch{return!1}},s3="[object Boolean]",l3=Mn(),u3=function(t){return typeof t=="boolean"?!0:t===null||typeof t!="object"?!1:l3&&Symbol.toStringTag in t?i3(t):o3(t)===s3},qp={exports:{}},c3=Object.prototype.toString,f3=fh();if(f3){var d3=Symbol.prototype.toString,p3=/^Symbol\(.*\)$/,h3=function(t){return typeof t.valueOf()!="symbol"?!1:p3.test(d3.call(t))};qp.exports=function(t){if(typeof t=="symbol")return!0;if(c3.call(t)!=="[object Symbol]")return!1;try{return h3(t)}catch{return!1}}}else qp.exports=function(t){return!1};var m3=qp.exports,Dp={exports:{}},lb=typeof BigInt<"u"&&BigInt,y3=function(){return typeof lb=="function"&&typeof BigInt=="function"&&typeof lb(42)=="bigint"&&typeof BigInt(42)=="bigint"},v3=y3();if(v3){var g3=BigInt.prototype.valueOf,b3=function(t){try{return g3.call(t),!0}catch{}return!1};Dp.exports=function(t){return t===null||typeof t>"u"||typeof t=="boolean"||typeof t=="string"||typeof t=="number"||typeof t=="symbol"||typeof t=="function"?!1:typeof t=="bigint"?!0:b3(t)}}else Dp.exports=function(t){return!1};var E3=Dp.exports,_3=dT,w3=n3,T3=u3,S3=m3,R3=E3,C3=function(t){if(t==null||typeof t!="object"&&typeof t!="function")return null;if(_3(t))return"String";if(w3(t))return"Number";if(T3(t))return"Boolean";if(S3(t))return"Symbol";if(R3(t))return"BigInt"},fs=typeof WeakMap=="function"&&WeakMap.prototype?WeakMap:null,ub=typeof WeakSet=="function"&&WeakSet.prototype?WeakSet:null,ds;fs||(ds=function(t){return!1});var Fp=fs?fs.prototype.has:null,wd=ub?ub.prototype.has:null;!ds&&!Fp&&(ds=function(t){return!1});var O3=ds||function(t){if(!t||typeof t!="object")return!1;try{if(Fp.call(t,Fp),wd)try{wd.call(t,wd)}catch{return!0}return t instanceof fs}catch{}return!1},Up={exports:{}},x3=Qt,IT=$t,P3=x3("%WeakSet%",!0),Td=IT("WeakSet.prototype.has",!0);if(Td){var Sd=IT("WeakMap.prototype.has",!0);Up.exports=function(t){if(!t||typeof t!="object")return!1;try{if(Td(t,Td),Sd)try{Sd(t,Sd)}catch{return!0}return t instanceof P3}catch{}return!1}}else Up.exports=function(t){return!1};var A3=Up.exports,I3=hT,N3=yT,M3=O3,k3=A3,$3=function(t){if(t&&typeof t=="object"){if(I3(t))return"Map";if(N3(t))return"Set";if(M3(t))return"WeakMap";if(k3(t))return"WeakSet"}return!1},L3=$t,cb=L3("ArrayBuffer.prototype.byteLength",!0),B3=CT,q3=function(t){return B3(t)?cb?cb(t):t.byteLength:NaN},NT=nj,sr=$t,fb=Oj,D3=Qt,ga=eH,F3=gh,db=uH,pb=cT,hb=fT,mb=CT,yb=WH,vb=KH,gb=QH,bb=Lh,Eb=C3,_b=$3,wb=ST,Tb=q3,Sb=sr("SharedArrayBuffer.prototype.byteLength",!0),Rb=sr("Date.prototype.getTime"),Rd=Object.getPrototypeOf,Cb=sr("Object.prototype.toString"),ps=D3("%Set%",!0),jp=sr("Map.prototype.has",!0),hs=sr("Map.prototype.get",!0),Ob=sr("Map.prototype.size",!0),ms=sr("Set.prototype.add",!0),MT=sr("Set.prototype.delete",!0),ys=sr("Set.prototype.has",!0),zi=sr("Set.prototype.size",!0);function xb(e,t,r,n){for(var a=ga(e),o;(o=a.next())&&!o.done;)if(Xt(t,o.value,r,n))return MT(e,o.value),!0;return!1}function kT(e){if(typeof e>"u")return null;if(typeof e!="object")return typeof e=="symbol"?!1:typeof e=="string"||typeof e=="number"?+e==+e:!0}function U3(e,t,r,n,a,o){var s=kT(r);if(s!=null)return s;var i=hs(t,s),l=NT({},a,{strict:!1});return typeof i>"u"&&!jp(t,s)||!Xt(n,i,l,o)?!1:!jp(e,s)&&Xt(n,i,l,o)}function j3(e,t,r){var n=kT(r);return n??(ys(t,n)&&!ys(e,n))}function Pb(e,t,r,n,a,o){for(var s=ga(e),i,l;(i=s.next())&&!i.done;)if(l=i.value,Xt(r,l,a,o)&&Xt(n,hs(t,l),a,o))return MT(e,l),!0;return!1}function Xt(e,t,r,n){var a=r||{};if(a.strict?db(e,t):e===t)return!0;var o=Eb(e),s=Eb(t);if(o!==s)return!1;if(!e||!t||typeof e!="object"&&typeof t!="object")return a.strict?db(e,t):e==t;var i=n.has(e),l=n.has(t),u;if(i&&l){if(n.get(e)===n.get(t))return!0}else u={};return i||n.set(e,u),l||n.set(t,u),W3(e,t,a,n)}function Ab(e){return!e||typeof e!="object"||typeof e.length!="number"||typeof e.copy!="function"||typeof e.slice!="function"||e.length>0&&typeof e[0]!="number"?!1:!!(e.constructor&&e.constructor.isBuffer&&e.constructor.isBuffer(e))}function H3(e,t,r,n){if(zi(e)!==zi(t))return!1;for(var a=ga(e),o=ga(t),s,i,l;(s=a.next())&&!s.done;)if(s.value&&typeof s.value=="object")l||(l=new ps),ms(l,s.value);else if(!ys(t,s.value)){if(r.strict||!j3(e,t,s.value))return!1;l||(l=new ps),ms(l,s.value)}if(l){for(;(i=o.next())&&!i.done;)if(i.value&&typeof i.value=="object"){if(!xb(l,i.value,r.strict,n))return!1}else if(!r.strict&&!ys(e,i.value)&&!xb(l,i.value,r.strict,n))return!1;return zi(l)===0}return!0}function G3(e,t,r,n){if(Ob(e)!==Ob(t))return!1;for(var a=ga(e),o=ga(t),s,i,l,u,c,p;(s=a.next())&&!s.done;)if(u=s.value[0],c=s.value[1],u&&typeof u=="object")l||(l=new ps),ms(l,u);else if(p=hs(t,u),typeof p>"u"&&!jp(t,u)||!Xt(c,p,r,n)){if(r.strict||!U3(e,t,u,c,r,n))return!1;l||(l=new ps),ms(l,u)}if(l){for(;(i=o.next())&&!i.done;)if(u=i.value[0],p=i.value[1],u&&typeof u=="object"){if(!Pb(l,e,u,p,r,n))return!1}else if(!r.strict&&(!e.has(u)||!Xt(hs(e,u),p,r,n))&&!Pb(l,e,u,p,NT({},r,{strict:!1}),n))return!1;return zi(l)===0}return!0}function W3(e,t,r,n){var a,o;if(typeof e!=typeof t||e==null||t==null||Cb(e)!==Cb(t)||pb(e)!==pb(t))return!1;var s=hb(e),i=hb(t);if(s!==i)return!1;var l=e instanceof Error,u=t instanceof Error;if(l!==u||(l||u)&&(e.name!==t.name||e.message!==t.message))return!1;var c=vb(e),p=vb(t);if(c!==p||(c||p)&&(e.source!==t.source||fb(e)!==fb(t)))return!1;var d=yb(e),f=yb(t);if(d!==f||(d||f)&&Rb(e)!==Rb(t)||r.strict&&Rd&&Rd(e)!==Rd(t))return!1;var h=wb(e),m=wb(t);if(h!==m)return!1;if(h||m){if(e.length!==t.length)return!1;for(a=0;a<e.length;a++)if(e[a]!==t[a])return!1;return!0}var _=Ab(e),b=Ab(t);if(_!==b)return!1;if(_||b){if(e.length!==t.length)return!1;for(a=0;a<e.length;a++)if(e[a]!==t[a])return!1;return!0}var v=mb(e),w=mb(t);if(v!==w)return!1;if(v||w)return Tb(e)!==Tb(t)?!1:typeof Uint8Array=="function"&&Xt(new Uint8Array(e),new Uint8Array(t),r,n);var R=gb(e),T=gb(t);if(R!==T)return!1;if(R||T)return Sb(e)!==Sb(t)?!1:typeof Uint8Array=="function"&&Xt(new Uint8Array(e),new Uint8Array(t),r,n);if(typeof e!=typeof t)return!1;var C=bb(e),N=bb(t);if(C.length!==N.length)return!1;for(C.sort(),N.sort(),a=C.length-1;a>=0;a--)if(C[a]!=N[a])return!1;for(a=C.length-1;a>=0;a--)if(o=C[a],!Xt(e[o],t[o],r,n))return!1;var I=_b(e),j=_b(t);return I!==j?!1:I==="Set"||j==="Set"?H3(e,t,r,n):I==="Map"?G3(e,t,r,n):!0}var V3=function(t,r,n){return Xt(t,r,n,F3())};Object.defineProperty(mc,"__esModule",{value:!0});mc.default=void 0;var z3=Gh(V3),Y3=Gh(In),$T=Gh(Ra);function Gh(e){return e&&e.__esModule?e:{default:e}}function Cd(e,t){return Q3(e)||X3(e,t)||LT(e,t)||K3()}function K3(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
133
- In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function X3(e,t){var r=e==null?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(r!=null){var n=[],a=!0,o=!1,s,i;try{for(r=r.call(e);!(a=(s=r.next()).done)&&(n.push(s.value),!(t&&n.length===t));a=!0);}catch(l){o=!0,i=l}finally{try{!a&&r.return!=null&&r.return()}finally{if(o)throw i}}return n}}function Q3(e){if(Array.isArray(e))return e}function J3(e,t){var r=typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(!r){if(Array.isArray(e)||(r=LT(e))||t&&e&&typeof e.length=="number"){r&&(e=r);var n=0,a=function(){};return{s:a,n:function(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]}},e:function(u){throw u},f:a}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
134
- In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var o=!0,s=!1,i;return{s:function(){r=r.call(e)},n:function(){var u=r.next();return o=u.done,u},e:function(u){s=!0,i=u},f:function(){try{!o&&r.return!=null&&r.return()}finally{if(s)throw i}}}}function LT(e,t){if(e){if(typeof e=="string")return Ib(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);if(r==="Object"&&e.constructor&&(r=e.constructor.name),r==="Map"||r==="Set")return Array.from(e);if(r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return Ib(e,t)}}function Ib(e,t){(t==null||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}var Dr=[],Nb=$T.default.keys();for(var Od=0;Od<Nb.length;Od++){var xd=Nb[Od],Pd=$T.default.get(xd);if(Pd)for(var Mb=[].concat(Pd.baseConcepts,Pd.relatedConcepts),Ad=0;Ad<Mb.length;Ad++){var kb=Mb[Ad];if(kb.module==="HTML"){var Id=kb.concept;Id&&function(){var e=JSON.stringify(Id),t=Dr.find(function(o){return JSON.stringify(o[0])===e}),r=void 0;t?r=t[1]:r=[];for(var n=!0,a=0;a<r.length;a++)if(r[a]===xd){n=!1;break}n&&r.push(xd),Dr.push([Id,r])}()}}}var Hp={entries:function(){return Dr},forEach:function(t){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null,n=J3(Dr),a;try{for(n.s();!(a=n.n()).done;){var o=Cd(a.value,2),s=o[0],i=o[1];t.call(r,i,s,Dr)}}catch(l){n.e(l)}finally{n.f()}},get:function(t){var r=Dr.find(function(n){return(0,z3.default)(t,n[0])});return r&&r[1]},has:function(t){return!!Hp.get(t)},keys:function(){return Dr.map(function(t){var r=Cd(t,1),n=r[0];return n})},values:function(){return Dr.map(function(t){var r=Cd(t,2),n=r[1];return n})}},Z3=(0,Y3.default)(Hp,Hp.entries());mc.default=Z3;var vc={};Object.defineProperty(vc,"__esModule",{value:!0});vc.default=void 0;var e4=qT(In),BT=qT(Ra);function qT(e){return e&&e.__esModule?e:{default:e}}function Nd(e,t){return n4(e)||r4(e,t)||DT(e,t)||t4()}function t4(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
135
- In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function r4(e,t){var r=e==null?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(r!=null){var n=[],a=!0,o=!1,s,i;try{for(r=r.call(e);!(a=(s=r.next()).done)&&(n.push(s.value),!(t&&n.length===t));a=!0);}catch(l){o=!0,i=l}finally{try{!a&&r.return!=null&&r.return()}finally{if(o)throw i}}return n}}function n4(e){if(Array.isArray(e))return e}function a4(e,t){var r=typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(!r){if(Array.isArray(e)||(r=DT(e))||t&&e&&typeof e.length=="number"){r&&(e=r);var n=0,a=function(){};return{s:a,n:function(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]}},e:function(u){throw u},f:a}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
136
- In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var o=!0,s=!1,i;return{s:function(){r=r.call(e)},n:function(){var u=r.next();return o=u.done,u},e:function(u){s=!0,i=u},f:function(){try{!o&&r.return!=null&&r.return()}finally{if(s)throw i}}}}function DT(e,t){if(e){if(typeof e=="string")return $b(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);if(r==="Object"&&e.constructor&&(r=e.constructor.name),r==="Map"||r==="Set")return Array.from(e);if(r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return $b(e,t)}}function $b(e,t){(t==null||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}var Fr=[],FT=BT.default.keys(),o4=function(t){var r=FT[t],n=BT.default.get(r);if(n)for(var a=[].concat(n.baseConcepts,n.relatedConcepts),o=0;o<a.length;o++){var s=a[o];if(s.module==="HTML"){var i=s.concept;if(i){var l=Fr.find(function(c){return c[0]===r}),u=void 0;l?u=l[1]:u=[],u.push(i),Fr.push([r,u])}}}};for(var Md=0;Md<FT.length;Md++)o4(Md);var Gp={entries:function(){return Fr},forEach:function(t){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null,n=a4(Fr),a;try{for(n.s();!(a=n.n()).done;){var o=Nd(a.value,2),s=o[0],i=o[1];t.call(r,i,s,Fr)}}catch(l){n.e(l)}finally{n.f()}},get:function(t){var r=Fr.find(function(n){return n[0]===t});return r&&r[1]},has:function(t){return!!Gp.get(t)},keys:function(){return Fr.map(function(t){var r=Nd(t,1),n=r[0];return n})},values:function(){return Fr.map(function(t){var r=Nd(t,2),n=r[1];return n})}},i4=(0,e4.default)(Gp,Gp.entries());vc.default=i4;Object.defineProperty(Kt,"__esModule",{value:!0});var Vt=Kt.roles=jT=Kt.roleElements=UT=Kt.elementRoles=Kt.dom=Kt.aria=void 0,s4=Wo(ks),l4=Wo(Ls),u4=Wo(Ra),c4=Wo(mc),f4=Wo(vc);function Wo(e){return e&&e.__esModule?e:{default:e}}var d4=s4.default;Kt.aria=d4;var p4=l4.default;Kt.dom=p4;var h4=u4.default;Vt=Kt.roles=h4;var m4=c4.default,UT=Kt.elementRoles=m4,y4=f4.default,jT=Kt.roleElements=y4,Wh={exports:{}};Wh.exports;(function(e){var t=function(){var r=String.fromCharCode,n="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",a="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+-$",o={};function s(l,u){if(!o[l]){o[l]={};for(var c=0;c<l.length;c++)o[l][l.charAt(c)]=c}return o[l][u]}var i={compressToBase64:function(l){if(l==null)return"";var u=i._compress(l,6,function(c){return n.charAt(c)});switch(u.length%4){default:case 0:return u;case 1:return u+"===";case 2:return u+"==";case 3:return u+"="}},decompressFromBase64:function(l){return l==null?"":l==""?null:i._decompress(l.length,32,function(u){return s(n,l.charAt(u))})},compressToUTF16:function(l){return l==null?"":i._compress(l,15,function(u){return r(u+32)})+" "},decompressFromUTF16:function(l){return l==null?"":l==""?null:i._decompress(l.length,16384,function(u){return l.charCodeAt(u)-32})},compressToUint8Array:function(l){for(var u=i.compress(l),c=new Uint8Array(u.length*2),p=0,d=u.length;p<d;p++){var f=u.charCodeAt(p);c[p*2]=f>>>8,c[p*2+1]=f%256}return c},decompressFromUint8Array:function(l){if(l==null)return i.decompress(l);for(var u=new Array(l.length/2),c=0,p=u.length;c<p;c++)u[c]=l[c*2]*256+l[c*2+1];var d=[];return u.forEach(function(f){d.push(r(f))}),i.decompress(d.join(""))},compressToEncodedURIComponent:function(l){return l==null?"":i._compress(l,6,function(u){return a.charAt(u)})},decompressFromEncodedURIComponent:function(l){return l==null?"":l==""?null:(l=l.replace(/ /g,"+"),i._decompress(l.length,32,function(u){return s(a,l.charAt(u))}))},compress:function(l){return i._compress(l,16,function(u){return r(u)})},_compress:function(l,u,c){if(l==null)return"";var p,d,f={},h={},m="",_="",b="",v=2,w=3,R=2,T=[],C=0,N=0,I;for(I=0;I<l.length;I+=1)if(m=l.charAt(I),Object.prototype.hasOwnProperty.call(f,m)||(f[m]=w++,h[m]=!0),_=b+m,Object.prototype.hasOwnProperty.call(f,_))b=_;else{if(Object.prototype.hasOwnProperty.call(h,b)){if(b.charCodeAt(0)<256){for(p=0;p<R;p++)C=C<<1,N==u-1?(N=0,T.push(c(C)),C=0):N++;for(d=b.charCodeAt(0),p=0;p<8;p++)C=C<<1|d&1,N==u-1?(N=0,T.push(c(C)),C=0):N++,d=d>>1}else{for(d=1,p=0;p<R;p++)C=C<<1|d,N==u-1?(N=0,T.push(c(C)),C=0):N++,d=0;for(d=b.charCodeAt(0),p=0;p<16;p++)C=C<<1|d&1,N==u-1?(N=0,T.push(c(C)),C=0):N++,d=d>>1}v--,v==0&&(v=Math.pow(2,R),R++),delete h[b]}else for(d=f[b],p=0;p<R;p++)C=C<<1|d&1,N==u-1?(N=0,T.push(c(C)),C=0):N++,d=d>>1;v--,v==0&&(v=Math.pow(2,R),R++),f[_]=w++,b=String(m)}if(b!==""){if(Object.prototype.hasOwnProperty.call(h,b)){if(b.charCodeAt(0)<256){for(p=0;p<R;p++)C=C<<1,N==u-1?(N=0,T.push(c(C)),C=0):N++;for(d=b.charCodeAt(0),p=0;p<8;p++)C=C<<1|d&1,N==u-1?(N=0,T.push(c(C)),C=0):N++,d=d>>1}else{for(d=1,p=0;p<R;p++)C=C<<1|d,N==u-1?(N=0,T.push(c(C)),C=0):N++,d=0;for(d=b.charCodeAt(0),p=0;p<16;p++)C=C<<1|d&1,N==u-1?(N=0,T.push(c(C)),C=0):N++,d=d>>1}v--,v==0&&(v=Math.pow(2,R),R++),delete h[b]}else for(d=f[b],p=0;p<R;p++)C=C<<1|d&1,N==u-1?(N=0,T.push(c(C)),C=0):N++,d=d>>1;v--,v==0&&(v=Math.pow(2,R),R++)}for(d=2,p=0;p<R;p++)C=C<<1|d&1,N==u-1?(N=0,T.push(c(C)),C=0):N++,d=d>>1;for(;;)if(C=C<<1,N==u-1){T.push(c(C));break}else N++;return T.join("")},decompress:function(l){return l==null?"":l==""?null:i._decompress(l.length,32768,function(u){return l.charCodeAt(u)})},_decompress:function(l,u,c){var p=[],d=4,f=4,h=3,m="",_=[],b,v,w,R,T,C,N,I={val:c(0),position:u,index:1};for(b=0;b<3;b+=1)p[b]=b;for(w=0,T=Math.pow(2,2),C=1;C!=T;)R=I.val&I.position,I.position>>=1,I.position==0&&(I.position=u,I.val=c(I.index++)),w|=(R>0?1:0)*C,C<<=1;switch(w){case 0:for(w=0,T=Math.pow(2,8),C=1;C!=T;)R=I.val&I.position,I.position>>=1,I.position==0&&(I.position=u,I.val=c(I.index++)),w|=(R>0?1:0)*C,C<<=1;N=r(w);break;case 1:for(w=0,T=Math.pow(2,16),C=1;C!=T;)R=I.val&I.position,I.position>>=1,I.position==0&&(I.position=u,I.val=c(I.index++)),w|=(R>0?1:0)*C,C<<=1;N=r(w);break;case 2:return""}for(p[3]=N,v=N,_.push(N);;){if(I.index>l)return"";for(w=0,T=Math.pow(2,h),C=1;C!=T;)R=I.val&I.position,I.position>>=1,I.position==0&&(I.position=u,I.val=c(I.index++)),w|=(R>0?1:0)*C,C<<=1;switch(N=w){case 0:for(w=0,T=Math.pow(2,8),C=1;C!=T;)R=I.val&I.position,I.position>>=1,I.position==0&&(I.position=u,I.val=c(I.index++)),w|=(R>0?1:0)*C,C<<=1;p[f++]=r(w),N=f-1,d--;break;case 1:for(w=0,T=Math.pow(2,16),C=1;C!=T;)R=I.val&I.position,I.position>>=1,I.position==0&&(I.position=u,I.val=c(I.index++)),w|=(R>0?1:0)*C,C<<=1;p[f++]=r(w),N=f-1,d--;break;case 2:return _.join("")}if(d==0&&(d=Math.pow(2,h),h++),p[N])m=p[N];else if(N===f)m=v+v.charAt(0);else return null;_.push(m),p[f++]=v+m.charAt(0),d--,v=m,d==0&&(d=Math.pow(2,h),h++)}}};return i}();e!=null?e.exports=t:typeof angular<"u"&&angular!=null&&angular.module("LZString",[]).factory("LZString",function(){return t})})(Wh);var v4=Wh.exports;const g4=Rr(v4);function HT(e){return e.replace(/</g,"&lt;").replace(/>/g,"&gt;")}const b4=(e,t,r,n,a,o,s)=>{const i=n+r.indent,l=r.colors;return e.map(u=>{const c=t[u];let p=s(c,r,i,a,o);return typeof c!="string"&&(p.indexOf(`
137
- `)!==-1&&(p=r.spacingOuter+i+p+r.spacingOuter+n),p="{"+p+"}"),r.spacingInner+n+l.prop.open+u+l.prop.close+"="+l.value.open+p+l.value.close}).join("")},E4=3,_4=(e,t,r,n,a,o)=>e.map(s=>{const i=typeof s=="string"?GT(s,t):o(s,t,r,n,a);return i===""&&typeof s=="object"&&s!==null&&s.nodeType!==E4?"":t.spacingOuter+r+i}).join(""),GT=(e,t)=>{const r=t.colors.content;return r.open+HT(e)+r.close},w4=(e,t)=>{const r=t.colors.comment;return r.open+"<!--"+HT(e)+"-->"+r.close},T4=(e,t,r,n,a)=>{const o=n.colors.tag;return o.open+"<"+e+(t&&o.close+t+n.spacingOuter+a+o.open)+(r?">"+o.close+r+n.spacingOuter+a+o.open+"</"+e:(t&&!n.min?"":" ")+"/")+">"+o.close},S4=(e,t)=>{const r=t.colors.tag;return r.open+"<"+e+r.close+" …"+r.open+" />"+r.close},R4=1,WT=3,VT=8,zT=11,C4=/^((HTML|SVG)\w*)?Element$/,O4=e=>{const t=e.constructor.name,{nodeType:r,tagName:n}=e,a=typeof n=="string"&&n.includes("-")||typeof e.hasAttribute=="function"&&e.hasAttribute("is");return r===R4&&(C4.test(t)||a)||r===WT&&t==="Text"||r===VT&&t==="Comment"||r===zT&&t==="DocumentFragment"};function x4(e){return e.nodeType===WT}function P4(e){return e.nodeType===VT}function kd(e){return e.nodeType===zT}function A4(e){return{test:t=>{var r;return(t==null||(r=t.constructor)==null?void 0:r.name)&&O4(t)},serialize:(t,r,n,a,o,s)=>{if(x4(t))return GT(t.data,r);if(P4(t))return w4(t.data,r);const i=kd(t)?"DocumentFragment":t.tagName.toLowerCase();return++a>r.maxDepth?S4(i,r):T4(i,b4(kd(t)?[]:Array.from(t.attributes).map(l=>l.name).sort(),kd(t)?{}:Array.from(t.attributes).reduce((l,u)=>(l[u.name]=u.value,l),{}),r,n+r.indent,a,o,s),_4(Array.prototype.slice.call(t.childNodes||t.children).filter(e),r,n+r.indent,a,o,s),r,n)}}}let YT=null,Vh=null,zh=null;try{const e=module&&eN;Vh=e.call(module,"fs").readFileSync,zh=e.call(module,"@babel/code-frame").codeFrameColumns,YT=e.call(module,"chalk")}catch{}function I4(e){const t=e.indexOf("(")+1,r=e.indexOf(")"),n=e.slice(t,r),a=n.split(":"),[o,s,i]=[a[0],parseInt(a[1],10),parseInt(a[2],10)];let l="";try{l=Vh(o,"utf-8")}catch{return""}const u=zh(l,{start:{line:s,column:i}},{highlightCode:!0,linesBelow:0});return YT.dim(n)+`
126
+ `}};function OM(e){return new Array(e+1).join(" ")}function Lw(e,t){if(t&&(SM(t),t.plugins)){const n=Iw(t.plugins,e);if(n!==null)return Aw(n,e,gg(t),"",0,[])}const r=xw(e,Mw(t),kw(t),$w(t));return r!==null?r:Pw(e,gg(t),"",0,[])}const xM={AsymmetricMatcher:lM.default,ConvertAnsi:uM.default,DOMCollection:cM.default,DOMElement:fM.default,Immutable:dM.default,ReactElement:pM.default,ReactTestComponent:hM.default};Rw=Xr.plugins=xM;var PM=Lw;Xr.default=PM;var AM=Object.prototype.toString;function bg(e){return typeof e=="function"||AM.call(e)==="[object Function]"}function IM(e){var t=Number(e);return isNaN(t)?0:t===0||!isFinite(t)?t:(t>0?1:-1)*Math.floor(Math.abs(t))}var NM=Math.pow(2,53)-1;function MM(e){var t=IM(e);return Math.min(Math.max(t,0),NM)}function Yt(e,t){var r=Array,n=Object(e);if(e==null)throw new TypeError("Array.from requires an array-like object - not null or undefined");if(typeof t<"u"&&!bg(t))throw new TypeError("Array.from: when provided, the second argument must be a function");for(var a=MM(n.length),o=bg(r)?Object(new r(a)):new Array(a),s=0,i;s<a;)i=n[s],t?o[s]=t(i,s):o[s]=i,s+=1;return o.length=a,o}function Po(e){"@babel/helpers - typeof";return Po=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Po(e)}function kM(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Eg(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,Bw(n.key),n)}}function $M(e,t,r){return t&&Eg(e.prototype,t),r&&Eg(e,r),Object.defineProperty(e,"prototype",{writable:!1}),e}function LM(e,t,r){return t=Bw(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Bw(e){var t=BM(e,"string");return Po(t)==="symbol"?t:String(t)}function BM(e,t){if(Po(e)!=="object"||e===null)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var n=r.call(e,t||"default");if(Po(n)!=="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}var qM=function(){function e(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[];kM(this,e),LM(this,"items",void 0),this.items=t}return $M(e,[{key:"add",value:function(r){return this.has(r)===!1&&this.items.push(r),this}},{key:"clear",value:function(){this.items=[]}},{key:"delete",value:function(r){var n=this.items.length;return this.items=this.items.filter(function(a){return a!==r}),n!==this.items.length}},{key:"forEach",value:function(r){var n=this;this.items.forEach(function(a){r(a,a,n)})}},{key:"has",value:function(r){return this.items.indexOf(r)!==-1}},{key:"size",get:function(){return this.items.length}}]),e}();const DM=typeof Set>"u"?Set:qM;function bt(e){var t;return(t=e.localName)!==null&&t!==void 0?t:e.tagName.toLowerCase()}var FM={article:"article",aside:"complementary",button:"button",datalist:"listbox",dd:"definition",details:"group",dialog:"dialog",dt:"term",fieldset:"group",figure:"figure",form:"form",footer:"contentinfo",h1:"heading",h2:"heading",h3:"heading",h4:"heading",h5:"heading",h6:"heading",header:"banner",hr:"separator",html:"document",legend:"legend",li:"listitem",math:"math",main:"main",menu:"list",nav:"navigation",ol:"list",optgroup:"group",option:"option",output:"status",progress:"progressbar",section:"region",summary:"button",table:"table",tbody:"rowgroup",textarea:"textbox",tfoot:"rowgroup",td:"cell",th:"columnheader",thead:"rowgroup",tr:"row",ul:"list"},UM={caption:new Set(["aria-label","aria-labelledby"]),code:new Set(["aria-label","aria-labelledby"]),deletion:new Set(["aria-label","aria-labelledby"]),emphasis:new Set(["aria-label","aria-labelledby"]),generic:new Set(["aria-label","aria-labelledby","aria-roledescription"]),insertion:new Set(["aria-label","aria-labelledby"]),paragraph:new Set(["aria-label","aria-labelledby"]),presentation:new Set(["aria-label","aria-labelledby"]),strong:new Set(["aria-label","aria-labelledby"]),subscript:new Set(["aria-label","aria-labelledby"]),superscript:new Set(["aria-label","aria-labelledby"])};function jM(e,t){return["aria-atomic","aria-busy","aria-controls","aria-current","aria-describedby","aria-details","aria-dropeffect","aria-flowto","aria-grabbed","aria-hidden","aria-keyshortcuts","aria-label","aria-labelledby","aria-live","aria-owns","aria-relevant","aria-roledescription"].some(function(r){var n;return e.hasAttribute(r)&&!((n=UM[t])!==null&&n!==void 0&&n.has(r))})}function qw(e,t){return jM(e,t)}function HM(e){var t=WM(e);if(t===null||t==="presentation"){var r=GM(e);if(t!=="presentation"||qw(e,r||""))return r}return t}function GM(e){var t=FM[bt(e)];if(t!==void 0)return t;switch(bt(e)){case"a":case"area":case"link":if(e.hasAttribute("href"))return"link";break;case"img":return e.getAttribute("alt")===""&&!qw(e,"img")?"presentation":"img";case"input":{var r=e,n=r.type;switch(n){case"button":case"image":case"reset":case"submit":return"button";case"checkbox":case"radio":return n;case"range":return"slider";case"email":case"tel":case"text":case"url":return e.hasAttribute("list")?"combobox":"textbox";case"search":return e.hasAttribute("list")?"combobox":"searchbox";case"number":return"spinbutton";default:return null}}case"select":return e.hasAttribute("multiple")||e.size>1?"listbox":"combobox"}return null}function WM(e){var t=e.getAttribute("role");if(t!==null){var r=t.trim().split(" ")[0];if(r.length>0)return r}return null}function He(e){return e!==null&&e.nodeType===e.ELEMENT_NODE}function Dw(e){return He(e)&&bt(e)==="caption"}function Di(e){return He(e)&&bt(e)==="input"}function VM(e){return He(e)&&bt(e)==="optgroup"}function zM(e){return He(e)&&bt(e)==="select"}function YM(e){return He(e)&&bt(e)==="table"}function KM(e){return He(e)&&bt(e)==="textarea"}function XM(e){var t=e.ownerDocument===null?e:e.ownerDocument,r=t.defaultView;if(r===null)throw new TypeError("no window available");return r}function QM(e){return He(e)&&bt(e)==="fieldset"}function JM(e){return He(e)&&bt(e)==="legend"}function ZM(e){return He(e)&&bt(e)==="slot"}function ek(e){return He(e)&&e.ownerSVGElement!==void 0}function tk(e){return He(e)&&bt(e)==="svg"}function rk(e){return ek(e)&&bt(e)==="title"}function is(e,t){if(He(e)&&e.hasAttribute(t)){var r=e.getAttribute(t).split(" "),n=e.getRootNode?e.getRootNode():e.ownerDocument;return r.map(function(a){return n.getElementById(a)}).filter(function(a){return a!==null})}return[]}function Tr(e,t){return He(e)?t.indexOf(HM(e))!==-1:!1}function nk(e){return e.trim().replace(/\s\s+/g," ")}function ak(e,t){if(!He(e))return!1;if(e.hasAttribute("hidden")||e.getAttribute("aria-hidden")==="true")return!0;var r=t(e);return r.getPropertyValue("display")==="none"||r.getPropertyValue("visibility")==="hidden"}function ok(e){return Tr(e,["button","combobox","listbox","textbox"])||Fw(e,"range")}function Fw(e,t){if(!He(e))return!1;switch(t){case"range":return Tr(e,["meter","progressbar","scrollbar","slider","spinbutton"]);default:throw new TypeError("No knowledge about abstract role '".concat(t,"'. This is likely a bug :("))}}function _g(e,t){var r=Yt(e.querySelectorAll(t));return is(e,"aria-owns").forEach(function(n){r.push.apply(r,Yt(n.querySelectorAll(t)))}),r}function ik(e){return zM(e)?e.selectedOptions||_g(e,"[selected]"):_g(e,'[aria-selected="true"]')}function sk(e){return Tr(e,["none","presentation"])}function lk(e){return Dw(e)}function uk(e){return Tr(e,["button","cell","checkbox","columnheader","gridcell","heading","label","legend","link","menuitem","menuitemcheckbox","menuitemradio","option","radio","row","rowheader","switch","tab","tooltip","treeitem"])}function ck(e){return!1}function fk(e){return Di(e)||KM(e)?e.value:e.textContent||""}function wg(e){var t=e.getPropertyValue("content");return/^["'].*["']$/.test(t)?t.slice(1,-1):""}function Uw(e){var t=bt(e);return t==="button"||t==="input"&&e.getAttribute("type")!=="hidden"||t==="meter"||t==="output"||t==="progress"||t==="select"||t==="textarea"}function jw(e){if(Uw(e))return e;var t=null;return e.childNodes.forEach(function(r){if(t===null&&He(r)){var n=jw(r);n!==null&&(t=n)}}),t}function dk(e){if(e.control!==void 0)return e.control;var t=e.getAttribute("for");return t!==null?e.ownerDocument.getElementById(t):jw(e)}function pk(e){var t=e.labels;if(t===null)return t;if(t!==void 0)return Yt(t);if(!Uw(e))return null;var r=e.ownerDocument;return Yt(r.querySelectorAll("label")).filter(function(n){return dk(n)===e})}function hk(e){var t=e.assignedNodes();return t.length===0?Yt(e.childNodes):t}function Hw(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=new DM,n=XM(e),a=t.compute,o=a===void 0?"name":a,s=t.computedStyleSupportsPseudoElements,i=s===void 0?t.getComputedStyle!==void 0:s,l=t.getComputedStyle,u=l===void 0?n.getComputedStyle.bind(n):l,c=t.hidden,p=c===void 0?!1:c;function d(b,v){var w="";if(He(b)&&i){var R=u(b,"::before"),T=wg(R);w="".concat(T," ").concat(w)}var C=ZM(b)?hk(b):Yt(b.childNodes).concat(is(b,"aria-owns"));if(C.forEach(function(j){var z=_(j,{isEmbeddedInLabel:v.isEmbeddedInLabel,isReferenced:!1,recursion:!0}),Y=He(j)?u(j).getPropertyValue("display"):"inline",U=Y!=="inline"?" ":"";w+="".concat(U).concat(z).concat(U)}),He(b)&&i){var N=u(b,"::after"),I=wg(N);w="".concat(w," ").concat(I)}return w.trim()}function f(b,v){var w=b.getAttributeNode(v);return w!==null&&!r.has(w)&&w.value.trim()!==""?(r.add(w),w.value):null}function h(b){return He(b)?f(b,"title"):null}function m(b){if(!He(b))return null;if(QM(b)){r.add(b);for(var v=Yt(b.childNodes),w=0;w<v.length;w+=1){var R=v[w];if(JM(R))return _(R,{isEmbeddedInLabel:!1,isReferenced:!1,recursion:!1})}}else if(YM(b)){r.add(b);for(var T=Yt(b.childNodes),C=0;C<T.length;C+=1){var N=T[C];if(Dw(N))return _(N,{isEmbeddedInLabel:!1,isReferenced:!1,recursion:!1})}}else if(tk(b)){r.add(b);for(var I=Yt(b.childNodes),j=0;j<I.length;j+=1){var z=I[j];if(rk(z))return z.textContent}return null}else if(bt(b)==="img"||bt(b)==="area"){var Y=f(b,"alt");if(Y!==null)return Y}else if(VM(b)){var U=f(b,"label");if(U!==null)return U}if(Di(b)&&(b.type==="button"||b.type==="submit"||b.type==="reset")){var D=f(b,"value");if(D!==null)return D;if(b.type==="submit")return"Submit";if(b.type==="reset")return"Reset"}var Q=pk(b);if(Q!==null&&Q.length!==0)return r.add(b),Yt(Q).map(function(Z){return _(Z,{isEmbeddedInLabel:!0,isReferenced:!1,recursion:!0})}).filter(function(Z){return Z.length>0}).join(" ");if(Di(b)&&b.type==="image"){var J=f(b,"alt");if(J!==null)return J;var k=f(b,"title");return k!==null?k:"Submit Query"}if(Tr(b,["button"])){var G=d(b,{isEmbeddedInLabel:!1,isReferenced:!1});if(G!=="")return G}return null}function _(b,v){if(r.has(b))return"";if(!p&&ak(b,u)&&!v.isReferenced)return r.add(b),"";var w=He(b)?b.getAttributeNode("aria-labelledby"):null,R=w!==null&&!r.has(w)?is(b,"aria-labelledby"):[];if(o==="name"&&!v.isReferenced&&R.length>0)return r.add(w),R.map(function(Y){return _(Y,{isEmbeddedInLabel:v.isEmbeddedInLabel,isReferenced:!0,recursion:!1})}).join(" ");var T=v.recursion&&ok(b)&&o==="name";if(!T){var C=(He(b)&&b.getAttribute("aria-label")||"").trim();if(C!==""&&o==="name")return r.add(b),C;if(!sk(b)){var N=m(b);if(N!==null)return r.add(b),N}}if(Tr(b,["menu"]))return r.add(b),"";if(T||v.isEmbeddedInLabel||v.isReferenced){if(Tr(b,["combobox","listbox"])){r.add(b);var I=ik(b);return I.length===0?Di(b)?b.value:"":Yt(I).map(function(Y){return _(Y,{isEmbeddedInLabel:v.isEmbeddedInLabel,isReferenced:!1,recursion:!0})}).join(" ")}if(Fw(b,"range"))return r.add(b),b.hasAttribute("aria-valuetext")?b.getAttribute("aria-valuetext"):b.hasAttribute("aria-valuenow")?b.getAttribute("aria-valuenow"):b.getAttribute("value")||"";if(Tr(b,["textbox"]))return r.add(b),fk(b)}if(uk(b)||He(b)&&v.isReferenced||lk(b)||ck()){var j=d(b,{isEmbeddedInLabel:v.isEmbeddedInLabel,isReferenced:!1});if(j!=="")return r.add(b),j}if(b.nodeType===b.TEXT_NODE)return r.add(b),b.textContent||"";if(v.recursion)return r.add(b),d(b,{isEmbeddedInLabel:v.isEmbeddedInLabel,isReferenced:!1});var z=h(b);return z!==null?(r.add(b),z):(r.add(b),"")}return nk(_(e,{isEmbeddedInLabel:!1,isReferenced:o==="description",recursion:!1}))}function Ao(e){"@babel/helpers - typeof";return Ao=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Ao(e)}function Tg(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(a){return Object.getOwnPropertyDescriptor(e,a).enumerable})),r.push.apply(r,n)}return r}function Sg(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?Tg(Object(r),!0).forEach(function(n){mk(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Tg(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}function mk(e,t,r){return t=yk(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function yk(e){var t=vk(e,"string");return Ao(t)==="symbol"?t:String(t)}function vk(e,t){if(Ao(e)!=="object"||e===null)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var n=r.call(e,t||"default");if(Ao(n)!=="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function Gw(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=is(e,"aria-describedby").map(function(a){return Hw(a,Sg(Sg({},t),{},{compute:"description"}))}).join(" ");if(r===""){var n=e.getAttribute("title");r=n===null?"":n}return r}function gk(e){return Tr(e,["caption","code","deletion","emphasis","generic","insertion","paragraph","presentation","strong","subscript","superscript"])}function kh(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return gk(e)?"":Hw(e,t)}var Kt={},ks={},In={},$s={};Object.defineProperty($s,"__esModule",{value:!0});$s.default=void 0;function bk(){var e=this,t=0,r={"@@iterator":function(){return r},next:function(){if(t<e.length){var a=e[t];return t=t+1,{done:!1,value:a}}else return{done:!0}}};return r}var Ek=bk;$s.default=Ek;Object.defineProperty(In,"__esModule",{value:!0});In.default=Tk;var _k=wk($s);function wk(e){return e&&e.__esModule?e:{default:e}}function Tp(e){"@babel/helpers - typeof";return Tp=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Tp(e)}function Tk(e,t){return typeof Symbol=="function"&&Tp(Symbol.iterator)==="symbol"&&Object.defineProperty(e,Symbol.iterator,{value:_k.default.bind(t)}),e}Object.defineProperty(ks,"__esModule",{value:!0});ks.default=void 0;var Sk=Rk(In);function Rk(e){return e&&e.__esModule?e:{default:e}}function dd(e,t){return xk(e)||Ok(e,t)||Ww(e,t)||Ck()}function Ck(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
127
+ In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function Ok(e,t){var r=e==null?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(r!=null){var n=[],a=!0,o=!1,s,i;try{for(r=r.call(e);!(a=(s=r.next()).done)&&(n.push(s.value),!(t&&n.length===t));a=!0);}catch(l){o=!0,i=l}finally{try{!a&&r.return!=null&&r.return()}finally{if(o)throw i}}return n}}function xk(e){if(Array.isArray(e))return e}function Pk(e,t){var r=typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(!r){if(Array.isArray(e)||(r=Ww(e))||t&&e&&typeof e.length=="number"){r&&(e=r);var n=0,a=function(){};return{s:a,n:function(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]}},e:function(u){throw u},f:a}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
128
+ In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var o=!0,s=!1,i;return{s:function(){r=r.call(e)},n:function(){var u=r.next();return o=u.done,u},e:function(u){s=!0,i=u},f:function(){try{!o&&r.return!=null&&r.return()}finally{if(s)throw i}}}}function Ww(e,t){if(e){if(typeof e=="string")return Rg(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);if(r==="Object"&&e.constructor&&(r=e.constructor.name),r==="Map"||r==="Set")return Array.from(e);if(r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return Rg(e,t)}}function Rg(e,t){(t==null||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}var ta=[["aria-activedescendant",{type:"id"}],["aria-atomic",{type:"boolean"}],["aria-autocomplete",{type:"token",values:["inline","list","both","none"]}],["aria-busy",{type:"boolean"}],["aria-checked",{type:"tristate"}],["aria-colcount",{type:"integer"}],["aria-colindex",{type:"integer"}],["aria-colspan",{type:"integer"}],["aria-controls",{type:"idlist"}],["aria-current",{type:"token",values:["page","step","location","date","time",!0,!1]}],["aria-describedby",{type:"idlist"}],["aria-details",{type:"id"}],["aria-disabled",{type:"boolean"}],["aria-dropeffect",{type:"tokenlist",values:["copy","execute","link","move","none","popup"]}],["aria-errormessage",{type:"id"}],["aria-expanded",{type:"boolean",allowundefined:!0}],["aria-flowto",{type:"idlist"}],["aria-grabbed",{type:"boolean",allowundefined:!0}],["aria-haspopup",{type:"token",values:[!1,!0,"menu","listbox","tree","grid","dialog"]}],["aria-hidden",{type:"boolean",allowundefined:!0}],["aria-invalid",{type:"token",values:["grammar",!1,"spelling",!0]}],["aria-keyshortcuts",{type:"string"}],["aria-label",{type:"string"}],["aria-labelledby",{type:"idlist"}],["aria-level",{type:"integer"}],["aria-live",{type:"token",values:["assertive","off","polite"]}],["aria-modal",{type:"boolean"}],["aria-multiline",{type:"boolean"}],["aria-multiselectable",{type:"boolean"}],["aria-orientation",{type:"token",values:["vertical","undefined","horizontal"]}],["aria-owns",{type:"idlist"}],["aria-placeholder",{type:"string"}],["aria-posinset",{type:"integer"}],["aria-pressed",{type:"tristate"}],["aria-readonly",{type:"boolean"}],["aria-relevant",{type:"tokenlist",values:["additions","all","removals","text"]}],["aria-required",{type:"boolean"}],["aria-roledescription",{type:"string"}],["aria-rowcount",{type:"integer"}],["aria-rowindex",{type:"integer"}],["aria-rowspan",{type:"integer"}],["aria-selected",{type:"boolean",allowundefined:!0}],["aria-setsize",{type:"integer"}],["aria-sort",{type:"token",values:["ascending","descending","none","other"]}],["aria-valuemax",{type:"number"}],["aria-valuemin",{type:"number"}],["aria-valuenow",{type:"number"}],["aria-valuetext",{type:"string"}]],Sp={entries:function(){return ta},forEach:function(t){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null,n=Pk(ta),a;try{for(n.s();!(a=n.n()).done;){var o=dd(a.value,2),s=o[0],i=o[1];t.call(r,i,s,ta)}}catch(l){n.e(l)}finally{n.f()}},get:function(t){var r=ta.find(function(n){return n[0]===t});return r&&r[1]},has:function(t){return!!Sp.get(t)},keys:function(){return ta.map(function(t){var r=dd(t,1),n=r[0];return n})},values:function(){return ta.map(function(t){var r=dd(t,2),n=r[1];return n})}},Ak=(0,Sk.default)(Sp,Sp.entries());ks.default=Ak;var Ls={};Object.defineProperty(Ls,"__esModule",{value:!0});Ls.default=void 0;var Ik=Nk(In);function Nk(e){return e&&e.__esModule?e:{default:e}}function pd(e,t){return $k(e)||kk(e,t)||Vw(e,t)||Mk()}function Mk(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
129
+ In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function kk(e,t){var r=e==null?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(r!=null){var n=[],a=!0,o=!1,s,i;try{for(r=r.call(e);!(a=(s=r.next()).done)&&(n.push(s.value),!(t&&n.length===t));a=!0);}catch(l){o=!0,i=l}finally{try{!a&&r.return!=null&&r.return()}finally{if(o)throw i}}return n}}function $k(e){if(Array.isArray(e))return e}function Lk(e,t){var r=typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(!r){if(Array.isArray(e)||(r=Vw(e))||t&&e&&typeof e.length=="number"){r&&(e=r);var n=0,a=function(){};return{s:a,n:function(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]}},e:function(u){throw u},f:a}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
130
+ In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var o=!0,s=!1,i;return{s:function(){r=r.call(e)},n:function(){var u=r.next();return o=u.done,u},e:function(u){s=!0,i=u},f:function(){try{!o&&r.return!=null&&r.return()}finally{if(s)throw i}}}}function Vw(e,t){if(e){if(typeof e=="string")return Cg(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);if(r==="Object"&&e.constructor&&(r=e.constructor.name),r==="Map"||r==="Set")return Array.from(e);if(r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return Cg(e,t)}}function Cg(e,t){(t==null||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}var ra=[["a",{reserved:!1}],["abbr",{reserved:!1}],["acronym",{reserved:!1}],["address",{reserved:!1}],["applet",{reserved:!1}],["area",{reserved:!1}],["article",{reserved:!1}],["aside",{reserved:!1}],["audio",{reserved:!1}],["b",{reserved:!1}],["base",{reserved:!0}],["bdi",{reserved:!1}],["bdo",{reserved:!1}],["big",{reserved:!1}],["blink",{reserved:!1}],["blockquote",{reserved:!1}],["body",{reserved:!1}],["br",{reserved:!1}],["button",{reserved:!1}],["canvas",{reserved:!1}],["caption",{reserved:!1}],["center",{reserved:!1}],["cite",{reserved:!1}],["code",{reserved:!1}],["col",{reserved:!0}],["colgroup",{reserved:!0}],["content",{reserved:!1}],["data",{reserved:!1}],["datalist",{reserved:!1}],["dd",{reserved:!1}],["del",{reserved:!1}],["details",{reserved:!1}],["dfn",{reserved:!1}],["dialog",{reserved:!1}],["dir",{reserved:!1}],["div",{reserved:!1}],["dl",{reserved:!1}],["dt",{reserved:!1}],["em",{reserved:!1}],["embed",{reserved:!1}],["fieldset",{reserved:!1}],["figcaption",{reserved:!1}],["figure",{reserved:!1}],["font",{reserved:!1}],["footer",{reserved:!1}],["form",{reserved:!1}],["frame",{reserved:!1}],["frameset",{reserved:!1}],["h1",{reserved:!1}],["h2",{reserved:!1}],["h3",{reserved:!1}],["h4",{reserved:!1}],["h5",{reserved:!1}],["h6",{reserved:!1}],["head",{reserved:!0}],["header",{reserved:!1}],["hgroup",{reserved:!1}],["hr",{reserved:!1}],["html",{reserved:!0}],["i",{reserved:!1}],["iframe",{reserved:!1}],["img",{reserved:!1}],["input",{reserved:!1}],["ins",{reserved:!1}],["kbd",{reserved:!1}],["keygen",{reserved:!1}],["label",{reserved:!1}],["legend",{reserved:!1}],["li",{reserved:!1}],["link",{reserved:!0}],["main",{reserved:!1}],["map",{reserved:!1}],["mark",{reserved:!1}],["marquee",{reserved:!1}],["menu",{reserved:!1}],["menuitem",{reserved:!1}],["meta",{reserved:!0}],["meter",{reserved:!1}],["nav",{reserved:!1}],["noembed",{reserved:!0}],["noscript",{reserved:!0}],["object",{reserved:!1}],["ol",{reserved:!1}],["optgroup",{reserved:!1}],["option",{reserved:!1}],["output",{reserved:!1}],["p",{reserved:!1}],["param",{reserved:!0}],["picture",{reserved:!0}],["pre",{reserved:!1}],["progress",{reserved:!1}],["q",{reserved:!1}],["rp",{reserved:!1}],["rt",{reserved:!1}],["rtc",{reserved:!1}],["ruby",{reserved:!1}],["s",{reserved:!1}],["samp",{reserved:!1}],["script",{reserved:!0}],["section",{reserved:!1}],["select",{reserved:!1}],["small",{reserved:!1}],["source",{reserved:!0}],["spacer",{reserved:!1}],["span",{reserved:!1}],["strike",{reserved:!1}],["strong",{reserved:!1}],["style",{reserved:!0}],["sub",{reserved:!1}],["summary",{reserved:!1}],["sup",{reserved:!1}],["table",{reserved:!1}],["tbody",{reserved:!1}],["td",{reserved:!1}],["textarea",{reserved:!1}],["tfoot",{reserved:!1}],["th",{reserved:!1}],["thead",{reserved:!1}],["time",{reserved:!1}],["title",{reserved:!0}],["tr",{reserved:!1}],["track",{reserved:!0}],["tt",{reserved:!1}],["u",{reserved:!1}],["ul",{reserved:!1}],["var",{reserved:!1}],["video",{reserved:!1}],["wbr",{reserved:!1}],["xmp",{reserved:!1}]],Rp={entries:function(){return ra},forEach:function(t){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null,n=Lk(ra),a;try{for(n.s();!(a=n.n()).done;){var o=pd(a.value,2),s=o[0],i=o[1];t.call(r,i,s,ra)}}catch(l){n.e(l)}finally{n.f()}},get:function(t){var r=ra.find(function(n){return n[0]===t});return r&&r[1]},has:function(t){return!!Rp.get(t)},keys:function(){return ra.map(function(t){var r=pd(t,1),n=r[0];return n})},values:function(){return ra.map(function(t){var r=pd(t,2),n=r[1];return n})}},Bk=(0,Ik.default)(Rp,Rp.entries());Ls.default=Bk;var Sa={},Bs={},qs={};Object.defineProperty(qs,"__esModule",{value:!0});qs.default=void 0;var qk={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"menuitem"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget"]]},Dk=qk;qs.default=Dk;var Ds={};Object.defineProperty(Ds,"__esModule",{value:!0});Ds.default=void 0;var Fk={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-activedescendant":null,"aria-disabled":null},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget"]]},Uk=Fk;Ds.default=Uk;var Fs={};Object.defineProperty(Fs,"__esModule",{value:!0});Fs.default=void 0;var jk={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null},relatedConcepts:[{concept:{name:"input"},module:"XForms"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget"]]},Hk=jk;Fs.default=Hk;var Us={};Object.defineProperty(Us,"__esModule",{value:!0});Us.default=void 0;var Gk={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},Wk=Gk;Us.default=Wk;var js={};Object.defineProperty(js,"__esModule",{value:!0});js.default=void 0;var Vk={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-valuemax":null,"aria-valuemin":null,"aria-valuenow":null},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure"]]},zk=Vk;js.default=zk;var Hs={};Object.defineProperty(Hs,"__esModule",{value:!0});Hs.default=void 0;var Yk={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[],prohibitedProps:[],props:{"aria-atomic":null,"aria-busy":null,"aria-controls":null,"aria-current":null,"aria-describedby":null,"aria-details":null,"aria-dropeffect":null,"aria-flowto":null,"aria-grabbed":null,"aria-hidden":null,"aria-keyshortcuts":null,"aria-label":null,"aria-labelledby":null,"aria-live":null,"aria-owns":null,"aria-relevant":null,"aria-roledescription":null},relatedConcepts:[{concept:{name:"rel"},module:"HTML"},{concept:{name:"role"},module:"XHTML"},{concept:{name:"type"},module:"Dublin Core"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[]},Kk=Yk;Hs.default=Kk;var Gs={};Object.defineProperty(Gs,"__esModule",{value:!0});Gs.default=void 0;var Xk={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"frontmatter"},module:"DTB"},{concept:{name:"level"},module:"DTB"},{concept:{name:"level"},module:"SMIL"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure"]]},Qk=Xk;Gs.default=Qk;var Ws={};Object.defineProperty(Ws,"__esModule",{value:!0});Ws.default=void 0;var Jk={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure"]]},Zk=Jk;Ws.default=Zk;var Vs={};Object.defineProperty(Vs,"__esModule",{value:!0});Vs.default=void 0;var e$={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-orientation":null},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget","composite"],["roletype","structure","section","group"]]},t$=e$;Vs.default=t$;var zs={};Object.defineProperty(zs,"__esModule",{value:!0});zs.default=void 0;var r$={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype"]]},n$=r$;zs.default=n$;var Ys={};Object.defineProperty(Ys,"__esModule",{value:!0});Ys.default=void 0;var a$={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype"]]},o$=a$;Ys.default=o$;var Ks={};Object.defineProperty(Ks,"__esModule",{value:!0});Ks.default=void 0;var i$={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-modal":null},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype"]]},s$=i$;Ks.default=s$;Object.defineProperty(Bs,"__esModule",{value:!0});Bs.default=void 0;var l$=qt(qs),u$=qt(Ds),c$=qt(Fs),f$=qt(Us),d$=qt(js),p$=qt(Hs),h$=qt(Gs),m$=qt(Ws),y$=qt(Vs),v$=qt(zs),g$=qt(Ys),b$=qt(Ks);function qt(e){return e&&e.__esModule?e:{default:e}}var E$=[["command",l$.default],["composite",u$.default],["input",c$.default],["landmark",f$.default],["range",d$.default],["roletype",p$.default],["section",h$.default],["sectionhead",m$.default],["select",y$.default],["structure",v$.default],["widget",g$.default],["window",b$.default]],_$=E$;Bs.default=_$;var Xs={},Qs={};Object.defineProperty(Qs,"__esModule",{value:!0});Qs.default=void 0;var w$={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-atomic":"true","aria-live":"assertive"},relatedConcepts:[{concept:{name:"alert"},module:"XForms"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},T$=w$;Qs.default=T$;var Js={};Object.defineProperty(Js,"__esModule",{value:!0});Js.default=void 0;var S$={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"alert"},module:"XForms"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","alert"],["roletype","window","dialog"]]},R$=S$;Js.default=R$;var Zs={};Object.defineProperty(Zs,"__esModule",{value:!0});Zs.default=void 0;var C$={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-activedescendant":null,"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"Device Independence Delivery Unit"}}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure"]]},O$=C$;Zs.default=O$;var el={};Object.defineProperty(el,"__esModule",{value:!0});el.default=void 0;var x$={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-posinset":null,"aria-setsize":null},relatedConcepts:[{concept:{name:"article"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","document"]]},P$=x$;el.default=P$;var tl={};Object.defineProperty(tl,"__esModule",{value:!0});tl.default=void 0;var A$={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{constraints:["direct descendant of document"],name:"header"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},I$=A$;tl.default=I$;var rl={};Object.defineProperty(rl,"__esModule",{value:!0});rl.default=void 0;var N$={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},M$=N$;rl.default=M$;var nl={};Object.defineProperty(nl,"__esModule",{value:!0});nl.default=void 0;var k$={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-disabled":null,"aria-expanded":null,"aria-haspopup":null,"aria-pressed":null},relatedConcepts:[{concept:{attributes:[{constraints:["set"],name:"aria-pressed"},{name:"type",value:"checkbox"}],name:"input"},module:"HTML"},{concept:{attributes:[{name:"aria-expanded",value:"false"}],name:"summary"},module:"HTML"},{concept:{attributes:[{name:"aria-expanded",value:"true"}],constraints:["direct descendant of details element with the open attribute defined"],name:"summary"},module:"HTML"},{concept:{attributes:[{name:"type",value:"button"}],name:"input"},module:"HTML"},{concept:{attributes:[{name:"type",value:"image"}],name:"input"},module:"HTML"},{concept:{attributes:[{name:"type",value:"reset"}],name:"input"},module:"HTML"},{concept:{attributes:[{name:"type",value:"submit"}],name:"input"},module:"HTML"},{concept:{name:"button"},module:"HTML"},{concept:{name:"trigger"},module:"XForms"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget","command"]]},$$=k$;nl.default=$$;var al={};Object.defineProperty(al,"__esModule",{value:!0});al.default=void 0;var L$={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[],requireContextRole:["figure","grid","table"],requiredContextRole:["figure","grid","table"],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},B$=L$;al.default=B$;var ol={};Object.defineProperty(ol,"__esModule",{value:!0});ol.default=void 0;var q$={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-colindex":null,"aria-colspan":null,"aria-rowindex":null,"aria-rowspan":null},relatedConcepts:[{concept:{constraints:["descendant of table"],name:"td"},module:"HTML"}],requireContextRole:["row"],requiredContextRole:["row"],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},D$=q$;ol.default=D$;var il={};Object.defineProperty(il,"__esModule",{value:!0});il.default=void 0;var F$={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-checked":null,"aria-errormessage":null,"aria-expanded":null,"aria-invalid":null,"aria-readonly":null,"aria-required":null},relatedConcepts:[{concept:{attributes:[{name:"type",value:"checkbox"}],name:"input"},module:"HTML"},{concept:{name:"option"},module:"ARIA"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{"aria-checked":null},superClass:[["roletype","widget","input"]]},U$=F$;il.default=U$;var sl={};Object.defineProperty(sl,"__esModule",{value:!0});sl.default=void 0;var j$={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},H$=j$;sl.default=H$;var ll={};Object.defineProperty(ll,"__esModule",{value:!0});ll.default=void 0;var G$={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-sort":null},relatedConcepts:[{attributes:[{name:"scope",value:"col"}],concept:{name:"th"},module:"HTML"}],requireContextRole:["row"],requiredContextRole:["row"],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","cell"],["roletype","structure","section","cell","gridcell"],["roletype","widget","gridcell"],["roletype","structure","sectionhead"]]},W$=G$;ll.default=W$;var ul={};Object.defineProperty(ul,"__esModule",{value:!0});ul.default=void 0;var V$={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-activedescendant":null,"aria-autocomplete":null,"aria-errormessage":null,"aria-invalid":null,"aria-readonly":null,"aria-required":null,"aria-expanded":"false","aria-haspopup":"listbox"},relatedConcepts:[{concept:{attributes:[{constraints:["set"],name:"list"},{name:"type",value:"email"}],name:"input"},module:"HTML"},{concept:{attributes:[{constraints:["set"],name:"list"},{name:"type",value:"search"}],name:"input"},module:"HTML"},{concept:{attributes:[{constraints:["set"],name:"list"},{name:"type",value:"tel"}],name:"input"},module:"HTML"},{concept:{attributes:[{constraints:["set"],name:"list"},{name:"type",value:"text"}],name:"input"},module:"HTML"},{concept:{attributes:[{constraints:["set"],name:"list"},{name:"type",value:"url"}],name:"input"},module:"HTML"},{concept:{attributes:[{constraints:["set"],name:"list"},{name:"type",value:"url"}],name:"input"},module:"HTML"},{concept:{attributes:[{constraints:["undefined"],name:"multiple"},{constraints:["undefined"],name:"size"}],name:"select"},module:"HTML"},{concept:{attributes:[{constraints:["undefined"],name:"multiple"},{name:"size",value:1}],name:"select"},module:"HTML"},{concept:{name:"select"},module:"XForms"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{"aria-controls":null,"aria-expanded":"false"},superClass:[["roletype","widget","input"]]},z$=V$;ul.default=z$;var cl={};Object.defineProperty(cl,"__esModule",{value:!0});cl.default=void 0;var Y$={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"aside"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},K$=Y$;cl.default=K$;var fl={};Object.defineProperty(fl,"__esModule",{value:!0});fl.default=void 0;var X$={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{constraints:["direct descendant of document"],name:"footer"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},Q$=X$;fl.default=Q$;var dl={};Object.defineProperty(dl,"__esModule",{value:!0});dl.default=void 0;var J$={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"dd"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},Z$=J$;dl.default=Z$;var pl={};Object.defineProperty(pl,"__esModule",{value:!0});pl.default=void 0;var eL={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},tL=eL;pl.default=tL;var hl={};Object.defineProperty(hl,"__esModule",{value:!0});hl.default=void 0;var rL={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"dialog"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","window"]]},nL=rL;hl.default=nL;var ml={};Object.defineProperty(ml,"__esModule",{value:!0});ml.default=void 0;var aL={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{module:"DAISY Guide"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","list"]]},oL=aL;ml.default=oL;var yl={};Object.defineProperty(yl,"__esModule",{value:!0});yl.default=void 0;var iL={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"Device Independence Delivery Unit"}},{concept:{name:"body"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure"]]},sL=iL;yl.default=sL;var vl={};Object.defineProperty(vl,"__esModule",{value:!0});vl.default=void 0;var lL={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},uL=lL;vl.default=uL;var gl={};Object.defineProperty(gl,"__esModule",{value:!0});gl.default=void 0;var cL={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["article"]],requiredProps:{},superClass:[["roletype","structure","section","list"]]},fL=cL;gl.default=fL;var bl={};Object.defineProperty(bl,"__esModule",{value:!0});bl.default=void 0;var dL={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"figure"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},pL=dL;bl.default=pL;var El={};Object.defineProperty(El,"__esModule",{value:!0});El.default=void 0;var hL={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{attributes:[{constraints:["set"],name:"aria-label"}],name:"form"},module:"HTML"},{concept:{attributes:[{constraints:["set"],name:"aria-labelledby"}],name:"form"},module:"HTML"},{concept:{attributes:[{constraints:["set"],name:"name"}],name:"form"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},mL=hL;El.default=mL;var _l={};Object.defineProperty(_l,"__esModule",{value:!0});_l.default=void 0;var yL={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[{concept:{name:"span"},module:"HTML"},{concept:{name:"div"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure"]]},vL=yL;_l.default=vL;var wl={};Object.defineProperty(wl,"__esModule",{value:!0});wl.default=void 0;var gL={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-multiselectable":null,"aria-readonly":null},relatedConcepts:[{concept:{attributes:[{name:"role",value:"grid"}],name:"table"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["row"],["row","rowgroup"]],requiredProps:{},superClass:[["roletype","widget","composite"],["roletype","structure","section","table"]]},bL=gL;wl.default=bL;var Tl={};Object.defineProperty(Tl,"__esModule",{value:!0});Tl.default=void 0;var EL={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null,"aria-readonly":null,"aria-required":null,"aria-selected":null},relatedConcepts:[{concept:{attributes:[{name:"role",value:"gridcell"}],name:"td"},module:"HTML"}],requireContextRole:["row"],requiredContextRole:["row"],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","cell"],["roletype","widget"]]},_L=EL;Tl.default=_L;var Sl={};Object.defineProperty(Sl,"__esModule",{value:!0});Sl.default=void 0;var wL={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-activedescendant":null,"aria-disabled":null},relatedConcepts:[{concept:{name:"details"},module:"HTML"},{concept:{name:"fieldset"},module:"HTML"},{concept:{name:"optgroup"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},TL=wL;Sl.default=TL;var Rl={};Object.defineProperty(Rl,"__esModule",{value:!0});Rl.default=void 0;var SL={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-level":"2"},relatedConcepts:[{concept:{name:"h1"},module:"HTML"},{concept:{name:"h2"},module:"HTML"},{concept:{name:"h3"},module:"HTML"},{concept:{name:"h4"},module:"HTML"},{concept:{name:"h5"},module:"HTML"},{concept:{name:"h6"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{"aria-level":"2"},superClass:[["roletype","structure","sectionhead"]]},RL=SL;Rl.default=RL;var Cl={};Object.defineProperty(Cl,"__esModule",{value:!0});Cl.default=void 0;var CL={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{attributes:[{constraints:["set"],name:"alt"}],name:"img"},module:"HTML"},{concept:{attributes:[{constraints:["undefined"],name:"alt"}],name:"img"},module:"HTML"},{concept:{name:"imggroup"},module:"DTB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},OL=CL;Cl.default=OL;var Ol={};Object.defineProperty(Ol,"__esModule",{value:!0});Ol.default=void 0;var xL={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},PL=xL;Ol.default=PL;var xl={};Object.defineProperty(xl,"__esModule",{value:!0});xl.default=void 0;var AL={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-disabled":null,"aria-expanded":null,"aria-haspopup":null},relatedConcepts:[{concept:{attributes:[{name:"href"}],name:"a"},module:"HTML"},{concept:{attributes:[{name:"href"}],name:"area"},module:"HTML"},{concept:{attributes:[{name:"href"}],name:"link"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget","command"]]},IL=AL;xl.default=IL;var Pl={};Object.defineProperty(Pl,"__esModule",{value:!0});Pl.default=void 0;var NL={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"menu"},module:"HTML"},{concept:{name:"ol"},module:"HTML"},{concept:{name:"ul"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["listitem"]],requiredProps:{},superClass:[["roletype","structure","section"]]},ML=NL;Pl.default=ML;var Al={};Object.defineProperty(Al,"__esModule",{value:!0});Al.default=void 0;var kL={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-errormessage":null,"aria-expanded":null,"aria-invalid":null,"aria-multiselectable":null,"aria-readonly":null,"aria-required":null,"aria-orientation":"vertical"},relatedConcepts:[{concept:{attributes:[{constraints:[">1"],name:"size"},{name:"multiple"}],name:"select"},module:"HTML"},{concept:{attributes:[{constraints:[">1"],name:"size"}],name:"select"},module:"HTML"},{concept:{attributes:[{name:"multiple"}],name:"select"},module:"HTML"},{concept:{name:"datalist"},module:"HTML"},{concept:{name:"list"},module:"ARIA"},{concept:{name:"select"},module:"XForms"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["option","group"],["option"]],requiredProps:{},superClass:[["roletype","widget","composite","select"],["roletype","structure","section","group","select"]]},$L=kL;Al.default=$L;var Il={};Object.defineProperty(Il,"__esModule",{value:!0});Il.default=void 0;var LL={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-level":null,"aria-posinset":null,"aria-setsize":null},relatedConcepts:[{concept:{constraints:["direct descendant of ol, ul or menu"],name:"li"},module:"HTML"},{concept:{name:"item"},module:"XForms"}],requireContextRole:["directory","list"],requiredContextRole:["directory","list"],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},BL=LL;Il.default=BL;var Nl={};Object.defineProperty(Nl,"__esModule",{value:!0});Nl.default=void 0;var qL={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-live":"polite"},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},DL=qL;Nl.default=DL;var Ml={};Object.defineProperty(Ml,"__esModule",{value:!0});Ml.default=void 0;var FL={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"main"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},UL=FL;Ml.default=UL;var kl={};Object.defineProperty(kl,"__esModule",{value:!0});kl.default=void 0;var jL={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},HL=jL;kl.default=HL;var $l={};Object.defineProperty($l,"__esModule",{value:!0});$l.default=void 0;var GL={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"math"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},WL=GL;$l.default=WL;var Ll={};Object.defineProperty(Ll,"__esModule",{value:!0});Ll.default=void 0;var VL={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-orientation":"vertical"},relatedConcepts:[{concept:{name:"MENU"},module:"JAPI"},{concept:{name:"list"},module:"ARIA"},{concept:{name:"select"},module:"XForms"},{concept:{name:"sidebar"},module:"DTB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["menuitem","group"],["menuitemradio","group"],["menuitemcheckbox","group"],["menuitem"],["menuitemcheckbox"],["menuitemradio"]],requiredProps:{},superClass:[["roletype","widget","composite","select"],["roletype","structure","section","group","select"]]},zL=VL;Ll.default=zL;var Bl={};Object.defineProperty(Bl,"__esModule",{value:!0});Bl.default=void 0;var YL={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-orientation":"horizontal"},relatedConcepts:[{concept:{name:"toolbar"},module:"ARIA"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["menuitem","group"],["menuitemradio","group"],["menuitemcheckbox","group"],["menuitem"],["menuitemcheckbox"],["menuitemradio"]],requiredProps:{},superClass:[["roletype","widget","composite","select","menu"],["roletype","structure","section","group","select","menu"]]},KL=YL;Bl.default=KL;var ql={};Object.defineProperty(ql,"__esModule",{value:!0});ql.default=void 0;var XL={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-disabled":null,"aria-expanded":null,"aria-haspopup":null,"aria-posinset":null,"aria-setsize":null},relatedConcepts:[{concept:{name:"MENU_ITEM"},module:"JAPI"},{concept:{name:"listitem"},module:"ARIA"},{concept:{name:"menuitem"},module:"HTML"},{concept:{name:"option"},module:"ARIA"}],requireContextRole:["group","menu","menubar"],requiredContextRole:["group","menu","menubar"],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget","command"]]},QL=XL;ql.default=QL;var Dl={};Object.defineProperty(Dl,"__esModule",{value:!0});Dl.default=void 0;var JL={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author","contents"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"menuitem"},module:"ARIA"}],requireContextRole:["group","menu","menubar"],requiredContextRole:["group","menu","menubar"],requiredOwnedElements:[],requiredProps:{"aria-checked":null},superClass:[["roletype","widget","input","checkbox"],["roletype","widget","command","menuitem"]]},ZL=JL;Dl.default=ZL;var Fl={};Object.defineProperty(Fl,"__esModule",{value:!0});Fl.default=void 0;var eB={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author","contents"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"menuitem"},module:"ARIA"}],requireContextRole:["group","menu","menubar"],requiredContextRole:["group","menu","menubar"],requiredOwnedElements:[],requiredProps:{"aria-checked":null},superClass:[["roletype","widget","input","checkbox","menuitemcheckbox"],["roletype","widget","command","menuitem","menuitemcheckbox"],["roletype","widget","input","radio"]]},tB=eB;Fl.default=tB;var Ul={};Object.defineProperty(Ul,"__esModule",{value:!0});Ul.default=void 0;var rB={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author"],prohibitedProps:[],props:{"aria-valuetext":null,"aria-valuemax":"100","aria-valuemin":"0"},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{"aria-valuenow":null},superClass:[["roletype","structure","range"]]},nB=rB;Ul.default=nB;var jl={};Object.defineProperty(jl,"__esModule",{value:!0});jl.default=void 0;var aB={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"nav"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},oB=aB;jl.default=oB;var Hl={};Object.defineProperty(Hl,"__esModule",{value:!0});Hl.default=void 0;var iB={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[]},sB=iB;Hl.default=sB;var Gl={};Object.defineProperty(Gl,"__esModule",{value:!0});Gl.default=void 0;var lB={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},uB=lB;Gl.default=uB;var Wl={};Object.defineProperty(Wl,"__esModule",{value:!0});Wl.default=void 0;var cB={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-checked":null,"aria-posinset":null,"aria-setsize":null,"aria-selected":"false"},relatedConcepts:[{concept:{name:"item"},module:"XForms"},{concept:{name:"listitem"},module:"ARIA"},{concept:{name:"option"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{"aria-selected":"false"},superClass:[["roletype","widget","input"]]},fB=cB;Wl.default=fB;var Vl={};Object.defineProperty(Vl,"__esModule",{value:!0});Vl.default=void 0;var dB={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},pB=dB;Vl.default=pB;var zl={};Object.defineProperty(zl,"__esModule",{value:!0});zl.default=void 0;var hB={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure"]]},mB=hB;zl.default=mB;var Yl={};Object.defineProperty(Yl,"__esModule",{value:!0});Yl.default=void 0;var yB={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author"],prohibitedProps:[],props:{"aria-valuetext":null},relatedConcepts:[{concept:{name:"progress"},module:"HTML"},{concept:{name:"status"},module:"ARIA"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","range"],["roletype","widget"]]},vB=yB;Yl.default=vB;var Kl={};Object.defineProperty(Kl,"__esModule",{value:!0});Kl.default=void 0;var gB={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-checked":null,"aria-posinset":null,"aria-setsize":null},relatedConcepts:[{concept:{attributes:[{name:"type",value:"radio"}],name:"input"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{"aria-checked":null},superClass:[["roletype","widget","input"]]},bB=gB;Kl.default=bB;var Xl={};Object.defineProperty(Xl,"__esModule",{value:!0});Xl.default=void 0;var EB={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-errormessage":null,"aria-invalid":null,"aria-readonly":null,"aria-required":null},relatedConcepts:[{concept:{name:"list"},module:"ARIA"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["radio"]],requiredProps:{},superClass:[["roletype","widget","composite","select"],["roletype","structure","section","group","select"]]},_B=EB;Xl.default=_B;var Ql={};Object.defineProperty(Ql,"__esModule",{value:!0});Ql.default=void 0;var wB={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{attributes:[{constraints:["set"],name:"aria-label"}],name:"section"},module:"HTML"},{concept:{attributes:[{constraints:["set"],name:"aria-labelledby"}],name:"section"},module:"HTML"},{concept:{name:"Device Independence Glossart perceivable unit"}},{concept:{name:"frame"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},TB=wB;Ql.default=TB;var Jl={};Object.defineProperty(Jl,"__esModule",{value:!0});Jl.default=void 0;var SB={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-colindex":null,"aria-expanded":null,"aria-level":null,"aria-posinset":null,"aria-rowindex":null,"aria-selected":null,"aria-setsize":null},relatedConcepts:[{concept:{name:"tr"},module:"HTML"}],requireContextRole:["grid","rowgroup","table","treegrid"],requiredContextRole:["grid","rowgroup","table","treegrid"],requiredOwnedElements:[["cell"],["columnheader"],["gridcell"],["rowheader"]],requiredProps:{},superClass:[["roletype","structure","section","group"],["roletype","widget"]]},RB=SB;Jl.default=RB;var Zl={};Object.defineProperty(Zl,"__esModule",{value:!0});Zl.default=void 0;var CB={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"tbody"},module:"HTML"},{concept:{name:"tfoot"},module:"HTML"},{concept:{name:"thead"},module:"HTML"}],requireContextRole:["grid","table","treegrid"],requiredContextRole:["grid","table","treegrid"],requiredOwnedElements:[["row"]],requiredProps:{},superClass:[["roletype","structure"]]},OB=CB;Zl.default=OB;var eu={};Object.defineProperty(eu,"__esModule",{value:!0});eu.default=void 0;var xB={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-sort":null},relatedConcepts:[{concept:{attributes:[{name:"scope",value:"row"}],name:"th"},module:"HTML"},{concept:{attributes:[{name:"scope",value:"rowgroup"}],name:"th"},module:"HTML"}],requireContextRole:["row","rowgroup"],requiredContextRole:["row","rowgroup"],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","cell"],["roletype","structure","section","cell","gridcell"],["roletype","widget","gridcell"],["roletype","structure","sectionhead"]]},PB=xB;eu.default=PB;var tu={};Object.defineProperty(tu,"__esModule",{value:!0});tu.default=void 0;var AB={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!0,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-valuetext":null,"aria-orientation":"vertical","aria-valuemax":"100","aria-valuemin":"0"},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{"aria-controls":null,"aria-valuenow":null},superClass:[["roletype","structure","range"],["roletype","widget"]]},IB=AB;tu.default=IB;var ru={};Object.defineProperty(ru,"__esModule",{value:!0});ru.default=void 0;var NB={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},MB=NB;ru.default=MB;var nu={};Object.defineProperty(nu,"__esModule",{value:!0});nu.default=void 0;var kB={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{attributes:[{constraints:["undefined"],name:"list"},{name:"type",value:"search"}],name:"input"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget","input","textbox"]]},$B=kB;nu.default=$B;var au={};Object.defineProperty(au,"__esModule",{value:!0});au.default=void 0;var LB={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!0,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-orientation":"horizontal","aria-valuemax":"100","aria-valuemin":"0","aria-valuenow":null,"aria-valuetext":null},relatedConcepts:[{concept:{name:"hr"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure"]]},BB=LB;au.default=BB;var ou={};Object.defineProperty(ou,"__esModule",{value:!0});ou.default=void 0;var qB={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author"],prohibitedProps:[],props:{"aria-errormessage":null,"aria-haspopup":null,"aria-invalid":null,"aria-readonly":null,"aria-valuetext":null,"aria-orientation":"horizontal","aria-valuemax":"100","aria-valuemin":"0"},relatedConcepts:[{concept:{attributes:[{name:"type",value:"range"}],name:"input"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{"aria-valuenow":null},superClass:[["roletype","widget","input"],["roletype","structure","range"]]},DB=qB;ou.default=DB;var iu={};Object.defineProperty(iu,"__esModule",{value:!0});iu.default=void 0;var FB={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-errormessage":null,"aria-invalid":null,"aria-readonly":null,"aria-required":null,"aria-valuetext":null,"aria-valuenow":"0"},relatedConcepts:[{concept:{attributes:[{name:"type",value:"number"}],name:"input"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget","composite"],["roletype","widget","input"],["roletype","structure","range"]]},UB=FB;iu.default=UB;var su={};Object.defineProperty(su,"__esModule",{value:!0});su.default=void 0;var jB={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-atomic":"true","aria-live":"polite"},relatedConcepts:[{concept:{name:"output"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},HB=jB;su.default=HB;var lu={};Object.defineProperty(lu,"__esModule",{value:!0});lu.default=void 0;var GB={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},WB=GB;lu.default=WB;var uu={};Object.defineProperty(uu,"__esModule",{value:!0});uu.default=void 0;var VB={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},zB=VB;uu.default=zB;var cu={};Object.defineProperty(cu,"__esModule",{value:!0});cu.default=void 0;var YB={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},KB=YB;cu.default=KB;var fu={};Object.defineProperty(fu,"__esModule",{value:!0});fu.default=void 0;var XB={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author","contents"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"button"},module:"ARIA"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{"aria-checked":null},superClass:[["roletype","widget","input","checkbox"]]},QB=XB;fu.default=QB;var du={};Object.defineProperty(du,"__esModule",{value:!0});du.default=void 0;var JB={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!0,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-disabled":null,"aria-expanded":null,"aria-haspopup":null,"aria-posinset":null,"aria-setsize":null,"aria-selected":"false"},relatedConcepts:[],requireContextRole:["tablist"],requiredContextRole:["tablist"],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","sectionhead"],["roletype","widget"]]},ZB=JB;du.default=ZB;var pu={};Object.defineProperty(pu,"__esModule",{value:!0});pu.default=void 0;var eq={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-colcount":null,"aria-rowcount":null},relatedConcepts:[{concept:{name:"table"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["row"],["row","rowgroup"]],requiredProps:{},superClass:[["roletype","structure","section"]]},tq=eq;pu.default=tq;var hu={};Object.defineProperty(hu,"__esModule",{value:!0});hu.default=void 0;var rq={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-level":null,"aria-multiselectable":null,"aria-orientation":"horizontal"},relatedConcepts:[{module:"DAISY",concept:{name:"guide"}}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["tab"]],requiredProps:{},superClass:[["roletype","widget","composite"]]},nq=rq;hu.default=nq;var mu={};Object.defineProperty(mu,"__esModule",{value:!0});mu.default=void 0;var aq={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},oq=aq;mu.default=oq;var yu={};Object.defineProperty(yu,"__esModule",{value:!0});yu.default=void 0;var iq={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"dfn"},module:"HTML"},{concept:{name:"dt"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},sq=iq;yu.default=sq;var vu={};Object.defineProperty(vu,"__esModule",{value:!0});vu.default=void 0;var lq={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-activedescendant":null,"aria-autocomplete":null,"aria-errormessage":null,"aria-haspopup":null,"aria-invalid":null,"aria-multiline":null,"aria-placeholder":null,"aria-readonly":null,"aria-required":null},relatedConcepts:[{concept:{attributes:[{constraints:["undefined"],name:"type"},{constraints:["undefined"],name:"list"}],name:"input"},module:"HTML"},{concept:{attributes:[{constraints:["undefined"],name:"list"},{name:"type",value:"email"}],name:"input"},module:"HTML"},{concept:{attributes:[{constraints:["undefined"],name:"list"},{name:"type",value:"tel"}],name:"input"},module:"HTML"},{concept:{attributes:[{constraints:["undefined"],name:"list"},{name:"type",value:"text"}],name:"input"},module:"HTML"},{concept:{attributes:[{constraints:["undefined"],name:"list"},{name:"type",value:"url"}],name:"input"},module:"HTML"},{concept:{name:"input"},module:"XForms"},{concept:{name:"textarea"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget","input"]]},uq=lq;vu.default=uq;var gu={};Object.defineProperty(gu,"__esModule",{value:!0});gu.default=void 0;var cq={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},fq=cq;gu.default=fq;var bu={};Object.defineProperty(bu,"__esModule",{value:!0});bu.default=void 0;var dq={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","status"]]},pq=dq;bu.default=pq;var Eu={};Object.defineProperty(Eu,"__esModule",{value:!0});Eu.default=void 0;var hq={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-orientation":"horizontal"},relatedConcepts:[{concept:{name:"menubar"},module:"ARIA"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","group"]]},mq=hq;Eu.default=mq;var _u={};Object.defineProperty(_u,"__esModule",{value:!0});_u.default=void 0;var yq={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},vq=yq;_u.default=vq;var wu={};Object.defineProperty(wu,"__esModule",{value:!0});wu.default=void 0;var gq={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-errormessage":null,"aria-invalid":null,"aria-multiselectable":null,"aria-required":null,"aria-orientation":"vertical"},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["treeitem","group"],["treeitem"]],requiredProps:{},superClass:[["roletype","widget","composite","select"],["roletype","structure","section","group","select"]]},bq=gq;wu.default=bq;var Tu={};Object.defineProperty(Tu,"__esModule",{value:!0});Tu.default=void 0;var Eq={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["row"],["row","rowgroup"]],requiredProps:{},superClass:[["roletype","widget","composite","grid"],["roletype","structure","section","table","grid"],["roletype","widget","composite","select","tree"],["roletype","structure","section","group","select","tree"]]},_q=Eq;Tu.default=_q;var Su={};Object.defineProperty(Su,"__esModule",{value:!0});Su.default=void 0;var wq={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-expanded":null,"aria-haspopup":null},relatedConcepts:[],requireContextRole:["group","tree"],requiredContextRole:["group","tree"],requiredOwnedElements:[],requiredProps:{"aria-selected":null},superClass:[["roletype","structure","section","listitem"],["roletype","widget","input","option"]]},Tq=wq;Su.default=Tq;Object.defineProperty(Xs,"__esModule",{value:!0});Xs.default=void 0;var Sq=te(Qs),Rq=te(Js),Cq=te(Zs),Oq=te(el),xq=te(tl),Pq=te(rl),Aq=te(nl),Iq=te(al),Nq=te(ol),Mq=te(il),kq=te(sl),$q=te(ll),Lq=te(ul),Bq=te(cl),qq=te(fl),Dq=te(dl),Fq=te(pl),Uq=te(hl),jq=te(ml),Hq=te(yl),Gq=te(vl),Wq=te(gl),Vq=te(bl),zq=te(El),Yq=te(_l),Kq=te(wl),Xq=te(Tl),Qq=te(Sl),Jq=te(Rl),Zq=te(Cl),eD=te(Ol),tD=te(xl),rD=te(Pl),nD=te(Al),aD=te(Il),oD=te(Nl),iD=te(Ml),sD=te(kl),lD=te($l),uD=te(Ll),cD=te(Bl),fD=te(ql),dD=te(Dl),pD=te(Fl),hD=te(Ul),mD=te(jl),yD=te(Hl),vD=te(Gl),gD=te(Wl),bD=te(Vl),ED=te(zl),_D=te(Yl),wD=te(Kl),TD=te(Xl),SD=te(Ql),RD=te(Jl),CD=te(Zl),OD=te(eu),xD=te(tu),PD=te(ru),AD=te(nu),ID=te(au),ND=te(ou),MD=te(iu),kD=te(su),$D=te(lu),LD=te(uu),BD=te(cu),qD=te(fu),DD=te(du),FD=te(pu),UD=te(hu),jD=te(mu),HD=te(yu),GD=te(vu),WD=te(gu),VD=te(bu),zD=te(Eu),YD=te(_u),KD=te(wu),XD=te(Tu),QD=te(Su);function te(e){return e&&e.__esModule?e:{default:e}}var JD=[["alert",Sq.default],["alertdialog",Rq.default],["application",Cq.default],["article",Oq.default],["banner",xq.default],["blockquote",Pq.default],["button",Aq.default],["caption",Iq.default],["cell",Nq.default],["checkbox",Mq.default],["code",kq.default],["columnheader",$q.default],["combobox",Lq.default],["complementary",Bq.default],["contentinfo",qq.default],["definition",Dq.default],["deletion",Fq.default],["dialog",Uq.default],["directory",jq.default],["document",Hq.default],["emphasis",Gq.default],["feed",Wq.default],["figure",Vq.default],["form",zq.default],["generic",Yq.default],["grid",Kq.default],["gridcell",Xq.default],["group",Qq.default],["heading",Jq.default],["img",Zq.default],["insertion",eD.default],["link",tD.default],["list",rD.default],["listbox",nD.default],["listitem",aD.default],["log",oD.default],["main",iD.default],["marquee",sD.default],["math",lD.default],["menu",uD.default],["menubar",cD.default],["menuitem",fD.default],["menuitemcheckbox",dD.default],["menuitemradio",pD.default],["meter",hD.default],["navigation",mD.default],["none",yD.default],["note",vD.default],["option",gD.default],["paragraph",bD.default],["presentation",ED.default],["progressbar",_D.default],["radio",wD.default],["radiogroup",TD.default],["region",SD.default],["row",RD.default],["rowgroup",CD.default],["rowheader",OD.default],["scrollbar",xD.default],["search",PD.default],["searchbox",AD.default],["separator",ID.default],["slider",ND.default],["spinbutton",MD.default],["status",kD.default],["strong",$D.default],["subscript",LD.default],["superscript",BD.default],["switch",qD.default],["tab",DD.default],["table",FD.default],["tablist",UD.default],["tabpanel",jD.default],["term",HD.default],["textbox",GD.default],["time",WD.default],["timer",VD.default],["toolbar",zD.default],["tooltip",YD.default],["tree",KD.default],["treegrid",XD.default],["treeitem",QD.default]],ZD=JD;Xs.default=ZD;var Ru={},Cu={};Object.defineProperty(Cu,"__esModule",{value:!0});Cu.default=void 0;var eF={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"abstract [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},tF=eF;Cu.default=tF;var Ou={};Object.defineProperty(Ou,"__esModule",{value:!0});Ou.default=void 0;var rF={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"acknowledgments [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},nF=rF;Ou.default=nF;var xu={};Object.defineProperty(xu,"__esModule",{value:!0});xu.default=void 0;var aF={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"afterword [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},oF=aF;xu.default=oF;var Pu={};Object.defineProperty(Pu,"__esModule",{value:!0});Pu.default=void 0;var iF={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"appendix [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},sF=iF;Pu.default=sF;var Au={};Object.defineProperty(Au,"__esModule",{value:!0});Au.default=void 0;var lF={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","content"],prohibitedProps:[],props:{"aria-errormessage":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"referrer [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget","command","link"]]},uF=lF;Au.default=uF;var Iu={};Object.defineProperty(Iu,"__esModule",{value:!0});Iu.default=void 0;var cF={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"EPUB biblioentry [EPUB-SSV]"},module:"EPUB"}],requireContextRole:["doc-bibliography"],requiredContextRole:["doc-bibliography"],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","listitem"]]},fF=cF;Iu.default=fF;var Nu={};Object.defineProperty(Nu,"__esModule",{value:!0});Nu.default=void 0;var dF={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"bibliography [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["doc-biblioentry"]],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},pF=dF;Nu.default=pF;var Mu={};Object.defineProperty(Mu,"__esModule",{value:!0});Mu.default=void 0;var hF={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-errormessage":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"biblioref [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget","command","link"]]},mF=hF;Mu.default=mF;var ku={};Object.defineProperty(ku,"__esModule",{value:!0});ku.default=void 0;var yF={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"chapter [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},vF=yF;ku.default=vF;var $u={};Object.defineProperty($u,"__esModule",{value:!0});$u.default=void 0;var gF={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"colophon [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},bF=gF;$u.default=bF;var Lu={};Object.defineProperty(Lu,"__esModule",{value:!0});Lu.default=void 0;var EF={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"conclusion [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},_F=EF;Lu.default=_F;var Bu={};Object.defineProperty(Bu,"__esModule",{value:!0});Bu.default=void 0;var wF={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"cover [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","img"]]},TF=wF;Bu.default=TF;var qu={};Object.defineProperty(qu,"__esModule",{value:!0});qu.default=void 0;var SF={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"credit [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},RF=SF;qu.default=RF;var Du={};Object.defineProperty(Du,"__esModule",{value:!0});Du.default=void 0;var CF={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"credits [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},OF=CF;Du.default=OF;var Fu={};Object.defineProperty(Fu,"__esModule",{value:!0});Fu.default=void 0;var xF={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"dedication [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},PF=xF;Fu.default=PF;var Uu={};Object.defineProperty(Uu,"__esModule",{value:!0});Uu.default=void 0;var AF={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"rearnote [EPUB-SSV]"},module:"EPUB"}],requireContextRole:["doc-endnotes"],requiredContextRole:["doc-endnotes"],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","listitem"]]},IF=AF;Uu.default=IF;var ju={};Object.defineProperty(ju,"__esModule",{value:!0});ju.default=void 0;var NF={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"rearnotes [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["doc-endnote"]],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},MF=NF;ju.default=MF;var Hu={};Object.defineProperty(Hu,"__esModule",{value:!0});Hu.default=void 0;var kF={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"epigraph [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},$F=kF;Hu.default=$F;var Gu={};Object.defineProperty(Gu,"__esModule",{value:!0});Gu.default=void 0;var LF={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"epilogue [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},BF=LF;Gu.default=BF;var Wu={};Object.defineProperty(Wu,"__esModule",{value:!0});Wu.default=void 0;var qF={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"errata [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},DF=qF;Wu.default=DF;var Vu={};Object.defineProperty(Vu,"__esModule",{value:!0});Vu.default=void 0;var FF={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},UF=FF;Vu.default=UF;var zu={};Object.defineProperty(zu,"__esModule",{value:!0});zu.default=void 0;var jF={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"footnote [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},HF=jF;zu.default=HF;var Yu={};Object.defineProperty(Yu,"__esModule",{value:!0});Yu.default=void 0;var GF={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"foreword [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},WF=GF;Yu.default=WF;var Ku={};Object.defineProperty(Ku,"__esModule",{value:!0});Ku.default=void 0;var VF={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"glossary [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["definition"],["term"]],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},zF=VF;Ku.default=zF;var Xu={};Object.defineProperty(Xu,"__esModule",{value:!0});Xu.default=void 0;var YF={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-errormessage":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"glossref [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget","command","link"]]},KF=YF;Xu.default=KF;var Qu={};Object.defineProperty(Qu,"__esModule",{value:!0});Qu.default=void 0;var XF={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"index [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark","navigation"]]},QF=XF;Qu.default=QF;var Ju={};Object.defineProperty(Ju,"__esModule",{value:!0});Ju.default=void 0;var JF={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"introduction [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},ZF=JF;Ju.default=ZF;var Zu={};Object.defineProperty(Zu,"__esModule",{value:!0});Zu.default=void 0;var eU={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-errormessage":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"noteref [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget","command","link"]]},tU=eU;Zu.default=tU;var ec={};Object.defineProperty(ec,"__esModule",{value:!0});ec.default=void 0;var rU={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"notice [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","note"]]},nU=rU;ec.default=nU;var tc={};Object.defineProperty(tc,"__esModule",{value:!0});tc.default=void 0;var aU={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author"],prohibitedProps:[],props:{"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"pagebreak [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","separator"]]},oU=aU;tc.default=oU;var rc={};Object.defineProperty(rc,"__esModule",{value:!0});rc.default=void 0;var iU={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"page-list [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark","navigation"]]},sU=iU;rc.default=sU;var nc={};Object.defineProperty(nc,"__esModule",{value:!0});nc.default=void 0;var lU={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"part [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},uU=lU;nc.default=uU;var ac={};Object.defineProperty(ac,"__esModule",{value:!0});ac.default=void 0;var cU={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"preface [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},fU=cU;ac.default=fU;var oc={};Object.defineProperty(oc,"__esModule",{value:!0});oc.default=void 0;var dU={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"prologue [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},pU=dU;oc.default=pU;var ic={};Object.defineProperty(ic,"__esModule",{value:!0});ic.default=void 0;var hU={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"pullquote [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["none"]]},mU=hU;ic.default=mU;var sc={};Object.defineProperty(sc,"__esModule",{value:!0});sc.default=void 0;var yU={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"qna [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},vU=yU;sc.default=vU;var lc={};Object.defineProperty(lc,"__esModule",{value:!0});lc.default=void 0;var gU={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"subtitle [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","sectionhead"]]},bU=gU;lc.default=bU;var uc={};Object.defineProperty(uc,"__esModule",{value:!0});uc.default=void 0;var EU={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"help [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","note"]]},_U=EU;uc.default=_U;var cc={};Object.defineProperty(cc,"__esModule",{value:!0});cc.default=void 0;var wU={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"toc [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark","navigation"]]},TU=wU;cc.default=TU;Object.defineProperty(Ru,"__esModule",{value:!0});Ru.default=void 0;var SU=we(Cu),RU=we(Ou),CU=we(xu),OU=we(Pu),xU=we(Au),PU=we(Iu),AU=we(Nu),IU=we(Mu),NU=we(ku),MU=we($u),kU=we(Lu),$U=we(Bu),LU=we(qu),BU=we(Du),qU=we(Fu),DU=we(Uu),FU=we(ju),UU=we(Hu),jU=we(Gu),HU=we(Wu),GU=we(Vu),WU=we(zu),VU=we(Yu),zU=we(Ku),YU=we(Xu),KU=we(Qu),XU=we(Ju),QU=we(Zu),JU=we(ec),ZU=we(tc),e2=we(rc),t2=we(nc),r2=we(ac),n2=we(oc),a2=we(ic),o2=we(sc),i2=we(lc),s2=we(uc),l2=we(cc);function we(e){return e&&e.__esModule?e:{default:e}}var u2=[["doc-abstract",SU.default],["doc-acknowledgments",RU.default],["doc-afterword",CU.default],["doc-appendix",OU.default],["doc-backlink",xU.default],["doc-biblioentry",PU.default],["doc-bibliography",AU.default],["doc-biblioref",IU.default],["doc-chapter",NU.default],["doc-colophon",MU.default],["doc-conclusion",kU.default],["doc-cover",$U.default],["doc-credit",LU.default],["doc-credits",BU.default],["doc-dedication",qU.default],["doc-endnote",DU.default],["doc-endnotes",FU.default],["doc-epigraph",UU.default],["doc-epilogue",jU.default],["doc-errata",HU.default],["doc-example",GU.default],["doc-footnote",WU.default],["doc-foreword",VU.default],["doc-glossary",zU.default],["doc-glossref",YU.default],["doc-index",KU.default],["doc-introduction",XU.default],["doc-noteref",QU.default],["doc-notice",JU.default],["doc-pagebreak",ZU.default],["doc-pagelist",e2.default],["doc-part",t2.default],["doc-preface",r2.default],["doc-prologue",n2.default],["doc-pullquote",a2.default],["doc-qna",o2.default],["doc-subtitle",i2.default],["doc-tip",s2.default],["doc-toc",l2.default]],c2=u2;Ru.default=c2;var fc={},dc={};Object.defineProperty(dc,"__esModule",{value:!0});dc.default=void 0;var f2={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{module:"GRAPHICS",concept:{name:"graphics-object"}},{module:"ARIA",concept:{name:"img"}},{module:"ARIA",concept:{name:"article"}}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","document"]]},d2=f2;dc.default=d2;var pc={};Object.defineProperty(pc,"__esModule",{value:!0});pc.default=void 0;var p2={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{module:"GRAPHICS",concept:{name:"graphics-document"}},{module:"ARIA",concept:{name:"group"}},{module:"ARIA",concept:{name:"img"}},{module:"GRAPHICS",concept:{name:"graphics-symbol"}}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","group"]]},h2=p2;pc.default=h2;var hc={};Object.defineProperty(hc,"__esModule",{value:!0});hc.default=void 0;var m2={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","img"]]},y2=m2;hc.default=y2;Object.defineProperty(fc,"__esModule",{value:!0});fc.default=void 0;var v2=$h(dc),g2=$h(pc),b2=$h(hc);function $h(e){return e&&e.__esModule?e:{default:e}}var E2=[["graphics-document",v2.default],["graphics-object",g2.default],["graphics-symbol",b2.default]],_2=E2;fc.default=_2;Object.defineProperty(Sa,"__esModule",{value:!0});Sa.default=void 0;var w2=Go(Bs),T2=Go(Xs),S2=Go(Ru),R2=Go(fc),C2=Go(In);function Go(e){return e&&e.__esModule?e:{default:e}}function O2(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Cp(e,t){var r=typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(!r){if(Array.isArray(e)||(r=zw(e))||t&&e&&typeof e.length=="number"){r&&(e=r);var n=0,a=function(){};return{s:a,n:function(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]}},e:function(u){throw u},f:a}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
131
+ In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var o=!0,s=!1,i;return{s:function(){r=r.call(e)},n:function(){var u=r.next();return o=u.done,u},e:function(u){s=!0,i=u},f:function(){try{!o&&r.return!=null&&r.return()}finally{if(s)throw i}}}}function To(e,t){return A2(e)||P2(e,t)||zw(e,t)||x2()}function x2(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
132
+ In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function zw(e,t){if(e){if(typeof e=="string")return Og(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);if(r==="Object"&&e.constructor&&(r=e.constructor.name),r==="Map"||r==="Set")return Array.from(e);if(r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return Og(e,t)}}function Og(e,t){(t==null||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function P2(e,t){var r=e==null?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(r!=null){var n=[],a=!0,o=!1,s,i;try{for(r=r.call(e);!(a=(s=r.next()).done)&&(n.push(s.value),!(t&&n.length===t));a=!0);}catch(l){o=!0,i=l}finally{try{!a&&r.return!=null&&r.return()}finally{if(o)throw i}}return n}}function A2(e){if(Array.isArray(e))return e}var qr=[].concat(w2.default,T2.default,S2.default,R2.default);qr.forEach(function(e){var t=To(e,2),r=t[1],n=Cp(r.superClass),a;try{for(n.s();!(a=n.n()).done;){var o=a.value,s=Cp(o),i;try{var l=function(){var c=i.value,p=qr.find(function(_){var b=To(_,1),v=b[0];return v===c});if(p)for(var d=p[1],f=0,h=Object.keys(d.props);f<h.length;f++){var m=h[f];Object.prototype.hasOwnProperty.call(r.props,m)||Object.assign(r.props,O2({},m,d.props[m]))}};for(s.s();!(i=s.n()).done;)l()}catch(u){s.e(u)}finally{s.f()}}}catch(u){n.e(u)}finally{n.f()}});var Op={entries:function(){return qr},forEach:function(t){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null,n=Cp(qr),a;try{for(n.s();!(a=n.n()).done;){var o=To(a.value,2),s=o[0],i=o[1];t.call(r,i,s,qr)}}catch(l){n.e(l)}finally{n.f()}},get:function(t){var r=qr.find(function(n){return n[0]===t});return r&&r[1]},has:function(t){return!!Op.get(t)},keys:function(){return qr.map(function(t){var r=To(t,1),n=r[0];return n})},values:function(){return qr.map(function(t){var r=To(t,2),n=r[1];return n})}},I2=(0,C2.default)(Op,Op.entries());Sa.default=I2;var mc={},xg=Object.prototype.toString,Yw=function(t){var r=xg.call(t),n=r==="[object Arguments]";return n||(n=r!=="[object Array]"&&t!==null&&typeof t=="object"&&typeof t.length=="number"&&t.length>=0&&xg.call(t.callee)==="[object Function]"),n},hd,Pg;function N2(){if(Pg)return hd;Pg=1;var e;if(!Object.keys){var t=Object.prototype.hasOwnProperty,r=Object.prototype.toString,n=Yw,a=Object.prototype.propertyIsEnumerable,o=!a.call({toString:null},"toString"),s=a.call(function(){},"prototype"),i=["toString","toLocaleString","valueOf","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","constructor"],l=function(d){var f=d.constructor;return f&&f.prototype===d},u={$applicationCache:!0,$console:!0,$external:!0,$frame:!0,$frameElement:!0,$frames:!0,$innerHeight:!0,$innerWidth:!0,$onmozfullscreenchange:!0,$onmozfullscreenerror:!0,$outerHeight:!0,$outerWidth:!0,$pageXOffset:!0,$pageYOffset:!0,$parent:!0,$scrollLeft:!0,$scrollTop:!0,$scrollX:!0,$scrollY:!0,$self:!0,$webkitIndexedDB:!0,$webkitStorageInfo:!0,$window:!0},c=function(){if(typeof window>"u")return!1;for(var d in window)try{if(!u["$"+d]&&t.call(window,d)&&window[d]!==null&&typeof window[d]=="object")try{l(window[d])}catch{return!0}}catch{return!0}return!1}(),p=function(d){if(typeof window>"u"||!c)return l(d);try{return l(d)}catch{return!1}};e=function(f){var h=f!==null&&typeof f=="object",m=r.call(f)==="[object Function]",_=n(f),b=h&&r.call(f)==="[object String]",v=[];if(!h&&!m&&!_)throw new TypeError("Object.keys called on a non-object");var w=s&&m;if(b&&f.length>0&&!t.call(f,0))for(var R=0;R<f.length;++R)v.push(String(R));if(_&&f.length>0)for(var T=0;T<f.length;++T)v.push(String(T));else for(var C in f)!(w&&C==="prototype")&&t.call(f,C)&&v.push(String(C));if(o)for(var N=p(f),I=0;I<i.length;++I)!(N&&i[I]==="constructor")&&t.call(f,i[I])&&v.push(i[I]);return v}}return hd=e,hd}var M2=Array.prototype.slice,k2=Yw,Ag=Object.keys,Fi=Ag?function(t){return Ag(t)}:N2(),Ig=Object.keys;Fi.shim=function(){if(Object.keys){var t=function(){var r=Object.keys(arguments);return r&&r.length===arguments.length}(1,2);t||(Object.keys=function(n){return k2(n)?Ig(M2.call(n)):Ig(n)})}else Object.keys=Fi;return Object.keys||Fi};var Lh=Fi,$2=Qt,xp=$2("%Object.defineProperty%",!0),Pp=function(){if(xp)try{return xp({},"a",{value:1}),!0}catch{return!1}return!1};Pp.hasArrayLengthDefineBug=function(){if(!Pp())return null;try{return xp([],"length",{value:1}).length!==1}catch{return!0}};var Bh=Pp,L2=Qt,Ui=L2("%Object.getOwnPropertyDescriptor%",!0);if(Ui)try{Ui([],"length")}catch{Ui=null}var Kw=Ui,B2=Bh(),qh=Qt,Ng=B2&&qh("%Object.defineProperty%",!0),q2=qh("%SyntaxError%"),na=qh("%TypeError%"),Mg=Kw,Xw=function(t,r,n){if(!t||typeof t!="object"&&typeof t!="function")throw new na("`obj` must be an object or a function`");if(typeof r!="string"&&typeof r!="symbol")throw new na("`property` must be a string or a symbol`");if(arguments.length>3&&typeof arguments[3]!="boolean"&&arguments[3]!==null)throw new na("`nonEnumerable`, if provided, must be a boolean or null");if(arguments.length>4&&typeof arguments[4]!="boolean"&&arguments[4]!==null)throw new na("`nonWritable`, if provided, must be a boolean or null");if(arguments.length>5&&typeof arguments[5]!="boolean"&&arguments[5]!==null)throw new na("`nonConfigurable`, if provided, must be a boolean or null");if(arguments.length>6&&typeof arguments[6]!="boolean")throw new na("`loose`, if provided, must be a boolean");var a=arguments.length>3?arguments[3]:null,o=arguments.length>4?arguments[4]:null,s=arguments.length>5?arguments[5]:null,i=arguments.length>6?arguments[6]:!1,l=!!Mg&&Mg(t,r);if(Ng)Ng(t,r,{configurable:s===null&&l?l.configurable:!s,enumerable:a===null&&l?l.enumerable:!a,value:n,writable:o===null&&l?l.writable:!o});else if(i||!a&&!o&&!s)t[r]=n;else throw new q2("This environment does not support defining a property as non-configurable, non-writable, or non-enumerable.")},D2=Lh,F2=typeof Symbol=="function"&&typeof Symbol("foo")=="symbol",U2=Object.prototype.toString,j2=Array.prototype.concat,kg=Xw,H2=function(e){return typeof e=="function"&&U2.call(e)==="[object Function]"},Qw=Bh(),G2=function(e,t,r,n){if(t in e){if(n===!0){if(e[t]===r)return}else if(!H2(n)||!n())return}Qw?kg(e,t,r,!0):kg(e,t,r)},Jw=function(e,t){var r=arguments.length>2?arguments[2]:{},n=D2(t);F2&&(n=j2.call(n,Object.getOwnPropertySymbols(t)));for(var a=0;a<n.length;a+=1)G2(e,n[a],t[n[a]],r[n[a]])};Jw.supportsDescriptors=!!Qw;var Nn=Jw,W2=Lh,Zw=Ss(),eT=$t,$g=Object,V2=eT("Array.prototype.push"),Lg=eT("Object.prototype.propertyIsEnumerable"),z2=Zw?Object.getOwnPropertySymbols:null,tT=function(t,r){if(t==null)throw new TypeError("target must be an object");var n=$g(t);if(arguments.length===1)return n;for(var a=1;a<arguments.length;++a){var o=$g(arguments[a]),s=W2(o),i=Zw&&(Object.getOwnPropertySymbols||z2);if(i)for(var l=i(o),u=0;u<l.length;++u){var c=l[u];Lg(o,c)&&V2(s,c)}for(var p=0;p<s.length;++p){var d=s[p];if(Lg(o,d)){var f=o[d];n[d]=f}}}return n},md=tT,Y2=function(){if(!Object.assign)return!1;for(var e="abcdefghijklmnopqrst",t=e.split(""),r={},n=0;n<t.length;++n)r[t[n]]=t[n];var a=Object.assign({},r),o="";for(var s in a)o+=s;return e!==o},K2=function(){if(!Object.assign||!Object.preventExtensions)return!1;var e=Object.preventExtensions({1:2});try{Object.assign(e,"xy")}catch{return e[1]==="y"}return!1},rT=function(){return!Object.assign||Y2()||K2()?md:Object.assign},X2=Nn,Q2=rT,J2=function(){var t=Q2();return X2(Object,{assign:t},{assign:function(){return Object.assign!==t}}),t},Z2=Nn,ej=ba,tj=tT,nT=rT,rj=J2,nj=ej.apply(nT()),aT=function(t,r){return nj(Object,arguments)};Z2(aT,{getPolyfill:nT,implementation:tj,shim:rj});var aj=aT,Io=function(){return typeof(function(){}).name=="string"},So=Object.getOwnPropertyDescriptor;if(So)try{So([],"length")}catch{So=null}Io.functionsHaveConfigurableNames=function(){if(!Io()||!So)return!1;var t=So(function(){},"name");return!!t&&!!t.configurable};var oj=Function.prototype.bind;Io.boundFunctionsHaveNames=function(){return Io()&&typeof oj=="function"&&(function(){}).bind().name!==""};var ij=Io,Bg=Xw,sj=Bh(),lj=ij.functionsHaveConfigurableNames(),uj=TypeError,cj=function(t,r){if(typeof t!="function")throw new uj("`fn` is not a function");var n=arguments.length>2&&!!arguments[2];return(!n||lj)&&(sj?Bg(t,"name",r,!0,!0):Bg(t,"name",r)),t},fj=cj,dj=Object,pj=TypeError,oT=fj(function(){if(this!=null&&this!==dj(this))throw new pj("RegExp.prototype.flags getter called on non-object");var t="";return this.hasIndices&&(t+="d"),this.global&&(t+="g"),this.ignoreCase&&(t+="i"),this.multiline&&(t+="m"),this.dotAll&&(t+="s"),this.unicode&&(t+="u"),this.unicodeSets&&(t+="v"),this.sticky&&(t+="y"),t},"get flags",!0),hj=oT,mj=Nn.supportsDescriptors,yj=Object.getOwnPropertyDescriptor,iT=function(){if(mj&&/a/mig.flags==="gim"){var t=yj(RegExp.prototype,"flags");if(t&&typeof t.get=="function"&&typeof RegExp.prototype.dotAll=="boolean"&&typeof RegExp.prototype.hasIndices=="boolean"){var r="",n={};if(Object.defineProperty(n,"hasIndices",{get:function(){r+="d"}}),Object.defineProperty(n,"sticky",{get:function(){r+="y"}}),r==="dy")return t.get}}return hj},vj=Nn.supportsDescriptors,gj=iT,bj=Object.getOwnPropertyDescriptor,Ej=Object.defineProperty,_j=TypeError,qg=Object.getPrototypeOf,wj=/a/,Tj=function(){if(!vj||!qg)throw new _j("RegExp.prototype.flags requires a true ES5 environment that supports property descriptors");var t=gj(),r=qg(wj),n=bj(r,"flags");return(!n||n.get!==t)&&Ej(r,"flags",{configurable:!0,enumerable:!1,get:t}),t},Sj=Nn,Rj=ba,Cj=oT,sT=iT,Oj=Tj,lT=Rj(sT());Sj(lT,{getPolyfill:sT,implementation:Cj,shim:Oj});var xj=lT,ji={exports:{}},Pj=Ss,Mn=function(){return Pj()&&!!Symbol.toStringTag},Aj=Mn(),Ij=$t,Ap=Ij("Object.prototype.toString"),yc=function(t){return Aj&&t&&typeof t=="object"&&Symbol.toStringTag in t?!1:Ap(t)==="[object Arguments]"},uT=function(t){return yc(t)?!0:t!==null&&typeof t=="object"&&typeof t.length=="number"&&t.length>=0&&Ap(t)!=="[object Array]"&&Ap(t.callee)==="[object Function]"},Nj=function(){return yc(arguments)}();yc.isLegacyArguments=uT;var cT=Nj?yc:uT,Mj=Qt,kj=AE,vo=gh(),gr=Mj("%TypeError%"),Dh={assert:function(e,t){if(!e||typeof e!="object"&&typeof e!="function")throw new gr("`O` is not an object");if(typeof t!="string")throw new gr("`slot` must be a string");if(vo.assert(e),!Dh.has(e,t))throw new gr("`"+t+"` is not present on `O`")},get:function(e,t){if(!e||typeof e!="object"&&typeof e!="function")throw new gr("`O` is not an object");if(typeof t!="string")throw new gr("`slot` must be a string");var r=vo.get(e);return r&&r["$"+t]},has:function(e,t){if(!e||typeof e!="object"&&typeof e!="function")throw new gr("`O` is not an object");if(typeof t!="string")throw new gr("`slot` must be a string");var r=vo.get(e);return!!r&&kj(r,"$"+t)},set:function(e,t,r){if(!e||typeof e!="object"&&typeof e!="function")throw new gr("`O` is not an object");if(typeof t!="string")throw new gr("`slot` must be a string");var n=vo.get(e);n||(n={},vo.set(e,n)),n["$"+t]=r}};Object.freeze&&Object.freeze(Dh);var $j=Dh,go=$j,Lj=SyntaxError,Dg=typeof StopIteration=="object"?StopIteration:null,Bj=function(t){if(!Dg)throw new Lj("this environment lacks StopIteration");go.set(t,"[[Done]]",!1);var r={next:function(){var a=go.get(this,"[[Iterator]]"),o=go.get(a,"[[Done]]");try{return{done:o,value:o?void 0:a.next()}}catch(s){if(go.set(a,"[[Done]]",!0),s!==Dg)throw s;return{done:!0,value:void 0}}}};return go.set(r,"[[Iterator]]",t),r},qj={}.toString,fT=Array.isArray||function(e){return qj.call(e)=="[object Array]"},Dj=String.prototype.valueOf,Fj=function(t){try{return Dj.call(t),!0}catch{return!1}},Uj=Object.prototype.toString,jj="[object String]",Hj=Mn(),dT=function(t){return typeof t=="string"?!0:typeof t!="object"?!1:Hj?Fj(t):Uj.call(t)===jj},Fh=typeof Map=="function"&&Map.prototype?Map:null,Gj=typeof Set=="function"&&Set.prototype?Set:null,ss;Fh||(ss=function(t){return!1});var pT=Fh?Map.prototype.has:null,Fg=Gj?Set.prototype.has:null;!ss&&!pT&&(ss=function(t){return!1});var hT=ss||function(t){if(!t||typeof t!="object")return!1;try{if(pT.call(t),Fg)try{Fg.call(t)}catch{return!0}return t instanceof Fh}catch{}return!1},Wj=typeof Map=="function"&&Map.prototype?Map:null,Uh=typeof Set=="function"&&Set.prototype?Set:null,ls;Uh||(ls=function(t){return!1});var Ug=Wj?Map.prototype.has:null,mT=Uh?Set.prototype.has:null;!ls&&!mT&&(ls=function(t){return!1});var yT=ls||function(t){if(!t||typeof t!="object")return!1;try{if(mT.call(t),Ug)try{Ug.call(t)}catch{return!0}return t instanceof Uh}catch{}return!1},jg=cT,Hg=Bj;if(fh()||Ss()){var yd=Symbol.iterator;ji.exports=function(t){if(t!=null&&typeof t[yd]<"u")return t[yd]();if(jg(t))return Array.prototype[yd].call(t)}}else{var Vj=fT,zj=dT,Gg=Qt,Yj=Gg("%Map%",!0),Kj=Gg("%Set%",!0),Wt=$t,Wg=Wt("Array.prototype.push"),Vg=Wt("String.prototype.charCodeAt"),Xj=Wt("String.prototype.slice"),Qj=function(t,r){var n=t.length;if(r+1>=n)return r+1;var a=Vg(t,r);if(a<55296||a>56319)return r+1;var o=Vg(t,r+1);return o<56320||o>57343?r+1:r+2},vd=function(t){var r=0;return{next:function(){var a=r>=t.length,o;return a||(o=t[r],r+=1),{done:a,value:o}}}},zg=function(t,r){if(Vj(t)||jg(t))return vd(t);if(zj(t)){var n=0;return{next:function(){var o=Qj(t,n),s=Xj(t,n,o);return n=o,{done:o>t.length,value:s}}}}if(r&&typeof t["_es6-shim iterator_"]<"u")return t["_es6-shim iterator_"]()};if(!Yj&&!Kj)ji.exports=function(t){if(t!=null)return zg(t,!0)};else{var Jj=hT,Zj=yT,Yg=Wt("Map.prototype.forEach",!0),Kg=Wt("Set.prototype.forEach",!0);if(typeof process>"u"||!process.versions||!process.versions.node)var Xg=Wt("Map.prototype.iterator",!0),Qg=Wt("Set.prototype.iterator",!0);var Jg=Wt("Map.prototype.@@iterator",!0)||Wt("Map.prototype._es6-shim iterator_",!0),Zg=Wt("Set.prototype.@@iterator",!0)||Wt("Set.prototype._es6-shim iterator_",!0),eH=function(t){if(Jj(t)){if(Xg)return Hg(Xg(t));if(Jg)return Jg(t);if(Yg){var r=[];return Yg(t,function(a,o){Wg(r,[o,a])}),vd(r)}}if(Zj(t)){if(Qg)return Hg(Qg(t));if(Zg)return Zg(t);if(Kg){var n=[];return Kg(t,function(a){Wg(n,a)}),vd(n)}}};ji.exports=function(t){return eH(t)||zg(t)}}}var tH=ji.exports,eb=function(e){return e!==e},vT=function(t,r){return t===0&&r===0?1/t===1/r:!!(t===r||eb(t)&&eb(r))},rH=vT,gT=function(){return typeof Object.is=="function"?Object.is:rH},nH=gT,aH=Nn,oH=function(){var t=nH();return aH(Object,{is:t},{is:function(){return Object.is!==t}}),t},iH=Nn,sH=ba,lH=vT,bT=gT,uH=oH,ET=sH(bT(),Object);iH(ET,{getPolyfill:bT,implementation:lH,shim:uH});var cH=ET,_T=Function.prototype.toString,sa=typeof Reflect=="object"&&Reflect!==null&&Reflect.apply,Ip,Hi;if(typeof sa=="function"&&typeof Object.defineProperty=="function")try{Ip=Object.defineProperty({},"length",{get:function(){throw Hi}}),Hi={},sa(function(){throw 42},null,Ip)}catch(e){e!==Hi&&(sa=null)}else sa=null;var fH=/^\s*class\b/,Np=function(t){try{var r=_T.call(t);return fH.test(r)}catch{return!1}},gd=function(t){try{return Np(t)?!1:(_T.call(t),!0)}catch{return!1}},Gi=Object.prototype.toString,dH="[object Object]",pH="[object Function]",hH="[object GeneratorFunction]",mH="[object HTMLAllCollection]",yH="[object HTML document.all class]",vH="[object HTMLCollection]",gH=typeof Symbol=="function"&&!!Symbol.toStringTag,bH=!(0 in[,]),Mp=function(){return!1};if(typeof document=="object"){var EH=document.all;Gi.call(EH)===Gi.call(document.all)&&(Mp=function(t){if((bH||!t)&&(typeof t>"u"||typeof t=="object"))try{var r=Gi.call(t);return(r===mH||r===yH||r===vH||r===dH)&&t("")==null}catch{}return!1})}var _H=sa?function(t){if(Mp(t))return!0;if(!t||typeof t!="function"&&typeof t!="object")return!1;try{sa(t,null,Ip)}catch(r){if(r!==Hi)return!1}return!Np(t)&&gd(t)}:function(t){if(Mp(t))return!0;if(!t||typeof t!="function"&&typeof t!="object")return!1;if(gH)return gd(t);if(Np(t))return!1;var r=Gi.call(t);return r!==pH&&r!==hH&&!/^\[object HTML/.test(r)?!1:gd(t)},wH=_H,TH=Object.prototype.toString,wT=Object.prototype.hasOwnProperty,SH=function(t,r,n){for(var a=0,o=t.length;a<o;a++)wT.call(t,a)&&(n==null?r(t[a],a,t):r.call(n,t[a],a,t))},RH=function(t,r,n){for(var a=0,o=t.length;a<o;a++)n==null?r(t.charAt(a),a,t):r.call(n,t.charAt(a),a,t)},CH=function(t,r,n){for(var a in t)wT.call(t,a)&&(n==null?r(t[a],a,t):r.call(n,t[a],a,t))},OH=function(t,r,n){if(!wH(r))throw new TypeError("iterator must be a function");var a;arguments.length>=3&&(a=n),TH.call(t)==="[object Array]"?SH(t,r,a):typeof t=="string"?RH(t,r,a):CH(t,r,a)},xH=OH,bd=["BigInt64Array","BigUint64Array","Float32Array","Float64Array","Int16Array","Int32Array","Int8Array","Uint16Array","Uint32Array","Uint8Array","Uint8ClampedArray"],PH=typeof globalThis>"u"?be:globalThis,AH=function(){for(var t=[],r=0;r<bd.length;r++)typeof PH[bd[r]]=="function"&&(t[t.length]=bd[r]);return t},us=xH,IH=AH,tb=ba,jh=$t,Wi=Kw,NH=jh("Object.prototype.toString"),TT=Mn(),rb=typeof globalThis>"u"?be:globalThis,kp=IH(),Hh=jh("String.prototype.slice"),Ed=Object.getPrototypeOf,MH=jh("Array.prototype.indexOf",!0)||function(t,r){for(var n=0;n<t.length;n+=1)if(t[n]===r)return n;return-1},cs={__proto__:null};TT&&Wi&&Ed?us(kp,function(e){var t=new rb[e];if(Symbol.toStringTag in t){var r=Ed(t),n=Wi(r,Symbol.toStringTag);if(!n){var a=Ed(r);n=Wi(a,Symbol.toStringTag)}cs["$"+e]=tb(n.get)}}):us(kp,function(e){var t=new rb[e];cs["$"+e]=tb(t.slice)});var kH=function(t){var r=!1;return us(cs,function(n,a){if(!r)try{"$"+n(t)===a&&(r=Hh(a,1))}catch{}}),r},$H=function(t){var r=!1;return us(cs,function(n,a){if(!r)try{n(t),r=Hh(a,1)}catch{}}),r},ST=function(t){if(!t||typeof t!="object")return!1;if(!TT){var r=Hh(NH(t),8,-1);return MH(kp,r)>-1?r:r!=="Object"?!1:$H(t)}return Wi?kH(t):null},LH=ST,BH=function(t){return!!LH(t)},qH=ba,DH=$t,RT=Qt,FH=BH,nb=RT("ArrayBuffer",!0),ab=RT("Float32Array",!0),Vi=DH("ArrayBuffer.prototype.byteLength",!0),ob=nb&&!Vi&&new nb().slice,ib=ob&&qH(ob),CT=Vi||ib?function(t){if(!t||typeof t!="object")return!1;try{return Vi?Vi(t):ib(t,0),!0}catch{return!1}}:ab?function(t){try{return new ab(t).buffer===t&&!FH(t)}catch(r){return typeof t=="object"&&r.name==="RangeError"}}:function(t){return!1},UH=Date.prototype.getDay,jH=function(t){try{return UH.call(t),!0}catch{return!1}},HH=Object.prototype.toString,GH="[object Date]",WH=Mn(),VH=function(t){return typeof t!="object"||t===null?!1:WH?jH(t):HH.call(t)===GH},$p=$t,OT=Mn(),xT,PT,Lp,Bp;if(OT){xT=$p("Object.prototype.hasOwnProperty"),PT=$p("RegExp.prototype.exec"),Lp={};var _d=function(){throw Lp};Bp={toString:_d,valueOf:_d},typeof Symbol.toPrimitive=="symbol"&&(Bp[Symbol.toPrimitive]=_d)}var zH=$p("Object.prototype.toString"),YH=Object.getOwnPropertyDescriptor,KH="[object RegExp]",XH=OT?function(t){if(!t||typeof t!="object")return!1;var r=YH(t,"lastIndex"),n=r&&xT(r,"value");if(!n)return!1;try{PT(t,Bp)}catch(a){return a===Lp}}:function(t){return!t||typeof t!="object"&&typeof t!="function"?!1:zH(t)===KH},QH=$t,sb=QH("SharedArrayBuffer.prototype.byteLength",!0),JH=sb?function(t){if(!t||typeof t!="object")return!1;try{return sb(t),!0}catch{return!1}}:function(t){return!1},ZH=Number.prototype.toString,e3=function(t){try{return ZH.call(t),!0}catch{return!1}},t3=Object.prototype.toString,r3="[object Number]",n3=Mn(),a3=function(t){return typeof t=="number"?!0:typeof t!="object"?!1:n3?e3(t):t3.call(t)===r3},AT=$t,o3=AT("Boolean.prototype.toString"),i3=AT("Object.prototype.toString"),s3=function(t){try{return o3(t),!0}catch{return!1}},l3="[object Boolean]",u3=Mn(),c3=function(t){return typeof t=="boolean"?!0:t===null||typeof t!="object"?!1:u3&&Symbol.toStringTag in t?s3(t):i3(t)===l3},qp={exports:{}},f3=Object.prototype.toString,d3=fh();if(d3){var p3=Symbol.prototype.toString,h3=/^Symbol\(.*\)$/,m3=function(t){return typeof t.valueOf()!="symbol"?!1:h3.test(p3.call(t))};qp.exports=function(t){if(typeof t=="symbol")return!0;if(f3.call(t)!=="[object Symbol]")return!1;try{return m3(t)}catch{return!1}}}else qp.exports=function(t){return!1};var y3=qp.exports,Dp={exports:{}},lb=typeof BigInt<"u"&&BigInt,v3=function(){return typeof lb=="function"&&typeof BigInt=="function"&&typeof lb(42)=="bigint"&&typeof BigInt(42)=="bigint"},g3=v3();if(g3){var b3=BigInt.prototype.valueOf,E3=function(t){try{return b3.call(t),!0}catch{}return!1};Dp.exports=function(t){return t===null||typeof t>"u"||typeof t=="boolean"||typeof t=="string"||typeof t=="number"||typeof t=="symbol"||typeof t=="function"?!1:typeof t=="bigint"?!0:E3(t)}}else Dp.exports=function(t){return!1};var _3=Dp.exports,w3=dT,T3=a3,S3=c3,R3=y3,C3=_3,O3=function(t){if(t==null||typeof t!="object"&&typeof t!="function")return null;if(w3(t))return"String";if(T3(t))return"Number";if(S3(t))return"Boolean";if(R3(t))return"Symbol";if(C3(t))return"BigInt"},fs=typeof WeakMap=="function"&&WeakMap.prototype?WeakMap:null,ub=typeof WeakSet=="function"&&WeakSet.prototype?WeakSet:null,ds;fs||(ds=function(t){return!1});var Fp=fs?fs.prototype.has:null,wd=ub?ub.prototype.has:null;!ds&&!Fp&&(ds=function(t){return!1});var x3=ds||function(t){if(!t||typeof t!="object")return!1;try{if(Fp.call(t,Fp),wd)try{wd.call(t,wd)}catch{return!0}return t instanceof fs}catch{}return!1},Up={exports:{}},P3=Qt,IT=$t,A3=P3("%WeakSet%",!0),Td=IT("WeakSet.prototype.has",!0);if(Td){var Sd=IT("WeakMap.prototype.has",!0);Up.exports=function(t){if(!t||typeof t!="object")return!1;try{if(Td(t,Td),Sd)try{Sd(t,Sd)}catch{return!0}return t instanceof A3}catch{}return!1}}else Up.exports=function(t){return!1};var I3=Up.exports,N3=hT,M3=yT,k3=x3,$3=I3,L3=function(t){if(t&&typeof t=="object"){if(N3(t))return"Map";if(M3(t))return"Set";if(k3(t))return"WeakMap";if($3(t))return"WeakSet"}return!1},B3=$t,cb=B3("ArrayBuffer.prototype.byteLength",!0),q3=CT,D3=function(t){return q3(t)?cb?cb(t):t.byteLength:NaN},NT=aj,sr=$t,fb=xj,F3=Qt,va=tH,U3=gh,db=cH,pb=cT,hb=fT,mb=CT,yb=VH,vb=XH,gb=JH,bb=Lh,Eb=O3,_b=L3,wb=ST,Tb=D3,Sb=sr("SharedArrayBuffer.prototype.byteLength",!0),Rb=sr("Date.prototype.getTime"),Rd=Object.getPrototypeOf,Cb=sr("Object.prototype.toString"),ps=F3("%Set%",!0),jp=sr("Map.prototype.has",!0),hs=sr("Map.prototype.get",!0),Ob=sr("Map.prototype.size",!0),ms=sr("Set.prototype.add",!0),MT=sr("Set.prototype.delete",!0),ys=sr("Set.prototype.has",!0),zi=sr("Set.prototype.size",!0);function xb(e,t,r,n){for(var a=va(e),o;(o=a.next())&&!o.done;)if(Xt(t,o.value,r,n))return MT(e,o.value),!0;return!1}function kT(e){if(typeof e>"u")return null;if(typeof e!="object")return typeof e=="symbol"?!1:typeof e=="string"||typeof e=="number"?+e==+e:!0}function j3(e,t,r,n,a,o){var s=kT(r);if(s!=null)return s;var i=hs(t,s),l=NT({},a,{strict:!1});return typeof i>"u"&&!jp(t,s)||!Xt(n,i,l,o)?!1:!jp(e,s)&&Xt(n,i,l,o)}function H3(e,t,r){var n=kT(r);return n??(ys(t,n)&&!ys(e,n))}function Pb(e,t,r,n,a,o){for(var s=va(e),i,l;(i=s.next())&&!i.done;)if(l=i.value,Xt(r,l,a,o)&&Xt(n,hs(t,l),a,o))return MT(e,l),!0;return!1}function Xt(e,t,r,n){var a=r||{};if(a.strict?db(e,t):e===t)return!0;var o=Eb(e),s=Eb(t);if(o!==s)return!1;if(!e||!t||typeof e!="object"&&typeof t!="object")return a.strict?db(e,t):e==t;var i=n.has(e),l=n.has(t),u;if(i&&l){if(n.get(e)===n.get(t))return!0}else u={};return i||n.set(e,u),l||n.set(t,u),V3(e,t,a,n)}function Ab(e){return!e||typeof e!="object"||typeof e.length!="number"||typeof e.copy!="function"||typeof e.slice!="function"||e.length>0&&typeof e[0]!="number"?!1:!!(e.constructor&&e.constructor.isBuffer&&e.constructor.isBuffer(e))}function G3(e,t,r,n){if(zi(e)!==zi(t))return!1;for(var a=va(e),o=va(t),s,i,l;(s=a.next())&&!s.done;)if(s.value&&typeof s.value=="object")l||(l=new ps),ms(l,s.value);else if(!ys(t,s.value)){if(r.strict||!H3(e,t,s.value))return!1;l||(l=new ps),ms(l,s.value)}if(l){for(;(i=o.next())&&!i.done;)if(i.value&&typeof i.value=="object"){if(!xb(l,i.value,r.strict,n))return!1}else if(!r.strict&&!ys(e,i.value)&&!xb(l,i.value,r.strict,n))return!1;return zi(l)===0}return!0}function W3(e,t,r,n){if(Ob(e)!==Ob(t))return!1;for(var a=va(e),o=va(t),s,i,l,u,c,p;(s=a.next())&&!s.done;)if(u=s.value[0],c=s.value[1],u&&typeof u=="object")l||(l=new ps),ms(l,u);else if(p=hs(t,u),typeof p>"u"&&!jp(t,u)||!Xt(c,p,r,n)){if(r.strict||!j3(e,t,u,c,r,n))return!1;l||(l=new ps),ms(l,u)}if(l){for(;(i=o.next())&&!i.done;)if(u=i.value[0],p=i.value[1],u&&typeof u=="object"){if(!Pb(l,e,u,p,r,n))return!1}else if(!r.strict&&(!e.has(u)||!Xt(hs(e,u),p,r,n))&&!Pb(l,e,u,p,NT({},r,{strict:!1}),n))return!1;return zi(l)===0}return!0}function V3(e,t,r,n){var a,o;if(typeof e!=typeof t||e==null||t==null||Cb(e)!==Cb(t)||pb(e)!==pb(t))return!1;var s=hb(e),i=hb(t);if(s!==i)return!1;var l=e instanceof Error,u=t instanceof Error;if(l!==u||(l||u)&&(e.name!==t.name||e.message!==t.message))return!1;var c=vb(e),p=vb(t);if(c!==p||(c||p)&&(e.source!==t.source||fb(e)!==fb(t)))return!1;var d=yb(e),f=yb(t);if(d!==f||(d||f)&&Rb(e)!==Rb(t)||r.strict&&Rd&&Rd(e)!==Rd(t))return!1;var h=wb(e),m=wb(t);if(h!==m)return!1;if(h||m){if(e.length!==t.length)return!1;for(a=0;a<e.length;a++)if(e[a]!==t[a])return!1;return!0}var _=Ab(e),b=Ab(t);if(_!==b)return!1;if(_||b){if(e.length!==t.length)return!1;for(a=0;a<e.length;a++)if(e[a]!==t[a])return!1;return!0}var v=mb(e),w=mb(t);if(v!==w)return!1;if(v||w)return Tb(e)!==Tb(t)?!1:typeof Uint8Array=="function"&&Xt(new Uint8Array(e),new Uint8Array(t),r,n);var R=gb(e),T=gb(t);if(R!==T)return!1;if(R||T)return Sb(e)!==Sb(t)?!1:typeof Uint8Array=="function"&&Xt(new Uint8Array(e),new Uint8Array(t),r,n);if(typeof e!=typeof t)return!1;var C=bb(e),N=bb(t);if(C.length!==N.length)return!1;for(C.sort(),N.sort(),a=C.length-1;a>=0;a--)if(C[a]!=N[a])return!1;for(a=C.length-1;a>=0;a--)if(o=C[a],!Xt(e[o],t[o],r,n))return!1;var I=_b(e),j=_b(t);return I!==j?!1:I==="Set"||j==="Set"?G3(e,t,r,n):I==="Map"?W3(e,t,r,n):!0}var z3=function(t,r,n){return Xt(t,r,n,U3())};Object.defineProperty(mc,"__esModule",{value:!0});mc.default=void 0;var Y3=Gh(z3),K3=Gh(In),$T=Gh(Sa);function Gh(e){return e&&e.__esModule?e:{default:e}}function Cd(e,t){return J3(e)||Q3(e,t)||LT(e,t)||X3()}function X3(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
133
+ In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function Q3(e,t){var r=e==null?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(r!=null){var n=[],a=!0,o=!1,s,i;try{for(r=r.call(e);!(a=(s=r.next()).done)&&(n.push(s.value),!(t&&n.length===t));a=!0);}catch(l){o=!0,i=l}finally{try{!a&&r.return!=null&&r.return()}finally{if(o)throw i}}return n}}function J3(e){if(Array.isArray(e))return e}function Z3(e,t){var r=typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(!r){if(Array.isArray(e)||(r=LT(e))||t&&e&&typeof e.length=="number"){r&&(e=r);var n=0,a=function(){};return{s:a,n:function(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]}},e:function(u){throw u},f:a}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
134
+ In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var o=!0,s=!1,i;return{s:function(){r=r.call(e)},n:function(){var u=r.next();return o=u.done,u},e:function(u){s=!0,i=u},f:function(){try{!o&&r.return!=null&&r.return()}finally{if(s)throw i}}}}function LT(e,t){if(e){if(typeof e=="string")return Ib(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);if(r==="Object"&&e.constructor&&(r=e.constructor.name),r==="Map"||r==="Set")return Array.from(e);if(r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return Ib(e,t)}}function Ib(e,t){(t==null||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}var Dr=[],Nb=$T.default.keys();for(var Od=0;Od<Nb.length;Od++){var xd=Nb[Od],Pd=$T.default.get(xd);if(Pd)for(var Mb=[].concat(Pd.baseConcepts,Pd.relatedConcepts),Ad=0;Ad<Mb.length;Ad++){var kb=Mb[Ad];if(kb.module==="HTML"){var Id=kb.concept;Id&&function(){var e=JSON.stringify(Id),t=Dr.find(function(o){return JSON.stringify(o[0])===e}),r=void 0;t?r=t[1]:r=[];for(var n=!0,a=0;a<r.length;a++)if(r[a]===xd){n=!1;break}n&&r.push(xd),Dr.push([Id,r])}()}}}var Hp={entries:function(){return Dr},forEach:function(t){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null,n=Z3(Dr),a;try{for(n.s();!(a=n.n()).done;){var o=Cd(a.value,2),s=o[0],i=o[1];t.call(r,i,s,Dr)}}catch(l){n.e(l)}finally{n.f()}},get:function(t){var r=Dr.find(function(n){return(0,Y3.default)(t,n[0])});return r&&r[1]},has:function(t){return!!Hp.get(t)},keys:function(){return Dr.map(function(t){var r=Cd(t,1),n=r[0];return n})},values:function(){return Dr.map(function(t){var r=Cd(t,2),n=r[1];return n})}},e4=(0,K3.default)(Hp,Hp.entries());mc.default=e4;var vc={};Object.defineProperty(vc,"__esModule",{value:!0});vc.default=void 0;var t4=qT(In),BT=qT(Sa);function qT(e){return e&&e.__esModule?e:{default:e}}function Nd(e,t){return a4(e)||n4(e,t)||DT(e,t)||r4()}function r4(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
135
+ In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function n4(e,t){var r=e==null?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(r!=null){var n=[],a=!0,o=!1,s,i;try{for(r=r.call(e);!(a=(s=r.next()).done)&&(n.push(s.value),!(t&&n.length===t));a=!0);}catch(l){o=!0,i=l}finally{try{!a&&r.return!=null&&r.return()}finally{if(o)throw i}}return n}}function a4(e){if(Array.isArray(e))return e}function o4(e,t){var r=typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(!r){if(Array.isArray(e)||(r=DT(e))||t&&e&&typeof e.length=="number"){r&&(e=r);var n=0,a=function(){};return{s:a,n:function(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]}},e:function(u){throw u},f:a}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
136
+ In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var o=!0,s=!1,i;return{s:function(){r=r.call(e)},n:function(){var u=r.next();return o=u.done,u},e:function(u){s=!0,i=u},f:function(){try{!o&&r.return!=null&&r.return()}finally{if(s)throw i}}}}function DT(e,t){if(e){if(typeof e=="string")return $b(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);if(r==="Object"&&e.constructor&&(r=e.constructor.name),r==="Map"||r==="Set")return Array.from(e);if(r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return $b(e,t)}}function $b(e,t){(t==null||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}var Fr=[],FT=BT.default.keys(),i4=function(t){var r=FT[t],n=BT.default.get(r);if(n)for(var a=[].concat(n.baseConcepts,n.relatedConcepts),o=0;o<a.length;o++){var s=a[o];if(s.module==="HTML"){var i=s.concept;if(i){var l=Fr.find(function(c){return c[0]===r}),u=void 0;l?u=l[1]:u=[],u.push(i),Fr.push([r,u])}}}};for(var Md=0;Md<FT.length;Md++)i4(Md);var Gp={entries:function(){return Fr},forEach:function(t){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null,n=o4(Fr),a;try{for(n.s();!(a=n.n()).done;){var o=Nd(a.value,2),s=o[0],i=o[1];t.call(r,i,s,Fr)}}catch(l){n.e(l)}finally{n.f()}},get:function(t){var r=Fr.find(function(n){return n[0]===t});return r&&r[1]},has:function(t){return!!Gp.get(t)},keys:function(){return Fr.map(function(t){var r=Nd(t,1),n=r[0];return n})},values:function(){return Fr.map(function(t){var r=Nd(t,2),n=r[1];return n})}},s4=(0,t4.default)(Gp,Gp.entries());vc.default=s4;Object.defineProperty(Kt,"__esModule",{value:!0});var Vt=Kt.roles=jT=Kt.roleElements=UT=Kt.elementRoles=Kt.dom=Kt.aria=void 0,l4=Wo(ks),u4=Wo(Ls),c4=Wo(Sa),f4=Wo(mc),d4=Wo(vc);function Wo(e){return e&&e.__esModule?e:{default:e}}var p4=l4.default;Kt.aria=p4;var h4=u4.default;Kt.dom=h4;var m4=c4.default;Vt=Kt.roles=m4;var y4=f4.default,UT=Kt.elementRoles=y4,v4=d4.default,jT=Kt.roleElements=v4,Wh={exports:{}};Wh.exports;(function(e){var t=function(){var r=String.fromCharCode,n="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",a="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+-$",o={};function s(l,u){if(!o[l]){o[l]={};for(var c=0;c<l.length;c++)o[l][l.charAt(c)]=c}return o[l][u]}var i={compressToBase64:function(l){if(l==null)return"";var u=i._compress(l,6,function(c){return n.charAt(c)});switch(u.length%4){default:case 0:return u;case 1:return u+"===";case 2:return u+"==";case 3:return u+"="}},decompressFromBase64:function(l){return l==null?"":l==""?null:i._decompress(l.length,32,function(u){return s(n,l.charAt(u))})},compressToUTF16:function(l){return l==null?"":i._compress(l,15,function(u){return r(u+32)})+" "},decompressFromUTF16:function(l){return l==null?"":l==""?null:i._decompress(l.length,16384,function(u){return l.charCodeAt(u)-32})},compressToUint8Array:function(l){for(var u=i.compress(l),c=new Uint8Array(u.length*2),p=0,d=u.length;p<d;p++){var f=u.charCodeAt(p);c[p*2]=f>>>8,c[p*2+1]=f%256}return c},decompressFromUint8Array:function(l){if(l==null)return i.decompress(l);for(var u=new Array(l.length/2),c=0,p=u.length;c<p;c++)u[c]=l[c*2]*256+l[c*2+1];var d=[];return u.forEach(function(f){d.push(r(f))}),i.decompress(d.join(""))},compressToEncodedURIComponent:function(l){return l==null?"":i._compress(l,6,function(u){return a.charAt(u)})},decompressFromEncodedURIComponent:function(l){return l==null?"":l==""?null:(l=l.replace(/ /g,"+"),i._decompress(l.length,32,function(u){return s(a,l.charAt(u))}))},compress:function(l){return i._compress(l,16,function(u){return r(u)})},_compress:function(l,u,c){if(l==null)return"";var p,d,f={},h={},m="",_="",b="",v=2,w=3,R=2,T=[],C=0,N=0,I;for(I=0;I<l.length;I+=1)if(m=l.charAt(I),Object.prototype.hasOwnProperty.call(f,m)||(f[m]=w++,h[m]=!0),_=b+m,Object.prototype.hasOwnProperty.call(f,_))b=_;else{if(Object.prototype.hasOwnProperty.call(h,b)){if(b.charCodeAt(0)<256){for(p=0;p<R;p++)C=C<<1,N==u-1?(N=0,T.push(c(C)),C=0):N++;for(d=b.charCodeAt(0),p=0;p<8;p++)C=C<<1|d&1,N==u-1?(N=0,T.push(c(C)),C=0):N++,d=d>>1}else{for(d=1,p=0;p<R;p++)C=C<<1|d,N==u-1?(N=0,T.push(c(C)),C=0):N++,d=0;for(d=b.charCodeAt(0),p=0;p<16;p++)C=C<<1|d&1,N==u-1?(N=0,T.push(c(C)),C=0):N++,d=d>>1}v--,v==0&&(v=Math.pow(2,R),R++),delete h[b]}else for(d=f[b],p=0;p<R;p++)C=C<<1|d&1,N==u-1?(N=0,T.push(c(C)),C=0):N++,d=d>>1;v--,v==0&&(v=Math.pow(2,R),R++),f[_]=w++,b=String(m)}if(b!==""){if(Object.prototype.hasOwnProperty.call(h,b)){if(b.charCodeAt(0)<256){for(p=0;p<R;p++)C=C<<1,N==u-1?(N=0,T.push(c(C)),C=0):N++;for(d=b.charCodeAt(0),p=0;p<8;p++)C=C<<1|d&1,N==u-1?(N=0,T.push(c(C)),C=0):N++,d=d>>1}else{for(d=1,p=0;p<R;p++)C=C<<1|d,N==u-1?(N=0,T.push(c(C)),C=0):N++,d=0;for(d=b.charCodeAt(0),p=0;p<16;p++)C=C<<1|d&1,N==u-1?(N=0,T.push(c(C)),C=0):N++,d=d>>1}v--,v==0&&(v=Math.pow(2,R),R++),delete h[b]}else for(d=f[b],p=0;p<R;p++)C=C<<1|d&1,N==u-1?(N=0,T.push(c(C)),C=0):N++,d=d>>1;v--,v==0&&(v=Math.pow(2,R),R++)}for(d=2,p=0;p<R;p++)C=C<<1|d&1,N==u-1?(N=0,T.push(c(C)),C=0):N++,d=d>>1;for(;;)if(C=C<<1,N==u-1){T.push(c(C));break}else N++;return T.join("")},decompress:function(l){return l==null?"":l==""?null:i._decompress(l.length,32768,function(u){return l.charCodeAt(u)})},_decompress:function(l,u,c){var p=[],d=4,f=4,h=3,m="",_=[],b,v,w,R,T,C,N,I={val:c(0),position:u,index:1};for(b=0;b<3;b+=1)p[b]=b;for(w=0,T=Math.pow(2,2),C=1;C!=T;)R=I.val&I.position,I.position>>=1,I.position==0&&(I.position=u,I.val=c(I.index++)),w|=(R>0?1:0)*C,C<<=1;switch(w){case 0:for(w=0,T=Math.pow(2,8),C=1;C!=T;)R=I.val&I.position,I.position>>=1,I.position==0&&(I.position=u,I.val=c(I.index++)),w|=(R>0?1:0)*C,C<<=1;N=r(w);break;case 1:for(w=0,T=Math.pow(2,16),C=1;C!=T;)R=I.val&I.position,I.position>>=1,I.position==0&&(I.position=u,I.val=c(I.index++)),w|=(R>0?1:0)*C,C<<=1;N=r(w);break;case 2:return""}for(p[3]=N,v=N,_.push(N);;){if(I.index>l)return"";for(w=0,T=Math.pow(2,h),C=1;C!=T;)R=I.val&I.position,I.position>>=1,I.position==0&&(I.position=u,I.val=c(I.index++)),w|=(R>0?1:0)*C,C<<=1;switch(N=w){case 0:for(w=0,T=Math.pow(2,8),C=1;C!=T;)R=I.val&I.position,I.position>>=1,I.position==0&&(I.position=u,I.val=c(I.index++)),w|=(R>0?1:0)*C,C<<=1;p[f++]=r(w),N=f-1,d--;break;case 1:for(w=0,T=Math.pow(2,16),C=1;C!=T;)R=I.val&I.position,I.position>>=1,I.position==0&&(I.position=u,I.val=c(I.index++)),w|=(R>0?1:0)*C,C<<=1;p[f++]=r(w),N=f-1,d--;break;case 2:return _.join("")}if(d==0&&(d=Math.pow(2,h),h++),p[N])m=p[N];else if(N===f)m=v+v.charAt(0);else return null;_.push(m),p[f++]=v+m.charAt(0),d--,v=m,d==0&&(d=Math.pow(2,h),h++)}}};return i}();e!=null?e.exports=t:typeof angular<"u"&&angular!=null&&angular.module("LZString",[]).factory("LZString",function(){return t})})(Wh);var g4=Wh.exports;const b4=Rr(g4);function HT(e){return e.replace(/</g,"&lt;").replace(/>/g,"&gt;")}const E4=(e,t,r,n,a,o,s)=>{const i=n+r.indent,l=r.colors;return e.map(u=>{const c=t[u];let p=s(c,r,i,a,o);return typeof c!="string"&&(p.indexOf(`
137
+ `)!==-1&&(p=r.spacingOuter+i+p+r.spacingOuter+n),p="{"+p+"}"),r.spacingInner+n+l.prop.open+u+l.prop.close+"="+l.value.open+p+l.value.close}).join("")},_4=3,w4=(e,t,r,n,a,o)=>e.map(s=>{const i=typeof s=="string"?GT(s,t):o(s,t,r,n,a);return i===""&&typeof s=="object"&&s!==null&&s.nodeType!==_4?"":t.spacingOuter+r+i}).join(""),GT=(e,t)=>{const r=t.colors.content;return r.open+HT(e)+r.close},T4=(e,t)=>{const r=t.colors.comment;return r.open+"<!--"+HT(e)+"-->"+r.close},S4=(e,t,r,n,a)=>{const o=n.colors.tag;return o.open+"<"+e+(t&&o.close+t+n.spacingOuter+a+o.open)+(r?">"+o.close+r+n.spacingOuter+a+o.open+"</"+e:(t&&!n.min?"":" ")+"/")+">"+o.close},R4=(e,t)=>{const r=t.colors.tag;return r.open+"<"+e+r.close+" …"+r.open+" />"+r.close},C4=1,WT=3,VT=8,zT=11,O4=/^((HTML|SVG)\w*)?Element$/,x4=e=>{const t=e.constructor.name,{nodeType:r,tagName:n}=e,a=typeof n=="string"&&n.includes("-")||typeof e.hasAttribute=="function"&&e.hasAttribute("is");return r===C4&&(O4.test(t)||a)||r===WT&&t==="Text"||r===VT&&t==="Comment"||r===zT&&t==="DocumentFragment"};function P4(e){return e.nodeType===WT}function A4(e){return e.nodeType===VT}function kd(e){return e.nodeType===zT}function I4(e){return{test:t=>{var r;return(t==null||(r=t.constructor)==null?void 0:r.name)&&x4(t)},serialize:(t,r,n,a,o,s)=>{if(P4(t))return GT(t.data,r);if(A4(t))return T4(t.data,r);const i=kd(t)?"DocumentFragment":t.tagName.toLowerCase();return++a>r.maxDepth?R4(i,r):S4(i,E4(kd(t)?[]:Array.from(t.attributes).map(l=>l.name).sort(),kd(t)?{}:Array.from(t.attributes).reduce((l,u)=>(l[u.name]=u.value,l),{}),r,n+r.indent,a,o,s),w4(Array.prototype.slice.call(t.childNodes||t.children).filter(e),r,n+r.indent,a,o,s),r,n)}}}let YT=null,Vh=null,zh=null;try{const e=module&&tN;Vh=e.call(module,"fs").readFileSync,zh=e.call(module,"@babel/code-frame").codeFrameColumns,YT=e.call(module,"chalk")}catch{}function N4(e){const t=e.indexOf("(")+1,r=e.indexOf(")"),n=e.slice(t,r),a=n.split(":"),[o,s,i]=[a[0],parseInt(a[1],10),parseInt(a[2],10)];let l="";try{l=Vh(o,"utf-8")}catch{return""}const u=zh(l,{start:{line:s,column:i}},{highlightCode:!0,linesBelow:0});return YT.dim(n)+`
138
138
  `+u+`
139
- `}function N4(){if(!Vh||!zh)return"";const t=new Error().stack.split(`
140
- `).slice(1).find(r=>!r.includes("node_modules/"));return I4(t)}const KT=3;function $d(){return typeof jest<"u"&&jest!==null?setTimeout._isMockFunction===!0||Object.prototype.hasOwnProperty.call(setTimeout,"clock"):!1}function Yh(){if(typeof window>"u")throw new Error("Could not find default container");return window.document}function XT(e){if(e.defaultView)return e.defaultView;if(e.ownerDocument&&e.ownerDocument.defaultView)return e.ownerDocument.defaultView;if(e.window)return e.window;throw e.ownerDocument&&e.ownerDocument.defaultView===null?new Error("It looks like the window object is not available for the provided node."):e.then instanceof Function?new Error("It looks like you passed a Promise object instead of a DOM node. Did you do something like `fireEvent.click(screen.findBy...` when you meant to use a `getBy` query `fireEvent.click(screen.getBy...`, or await the findBy query `fireEvent.click(await screen.findBy...`?"):Array.isArray(e)?new Error("It looks like you passed an Array instead of a DOM node. Did you do something like `fireEvent.click(screen.getAllBy...` when you meant to use a `getBy` query `fireEvent.click(screen.getBy...`?"):typeof e.debug=="function"&&typeof e.logTestingPlaygroundURL=="function"?new Error("It looks like you passed a `screen` object. Did you do something like `fireEvent.click(screen, ...` when you meant to use a query, e.g. `fireEvent.click(screen.getBy..., `?"):new Error("The given node is not an Element, the node type is: "+typeof e+".")}function Or(e){if(!e||typeof e.querySelector!="function"||typeof e.querySelectorAll!="function")throw new TypeError("Expected container to be an Element, a Document or a DocumentFragment but got "+t(e)+".");function t(r){return typeof r=="object"?r===null?"null":r.constructor.name:typeof r}}const M4=()=>{let e;try{var t;e=JSON.parse((t=process)==null||(t=t.env)==null?void 0:t.COLORS)}catch{}return typeof e=="boolean"?e:typeof process<"u"&&process.versions!==void 0&&process.versions.node!==void 0},{DOMCollection:k4}=Rw,$4=1,L4=8;function B4(e){return e.nodeType!==L4&&(e.nodeType!==$4||!e.matches(Le().defaultIgnore))}function vs(e,t,r){if(r===void 0&&(r={}),e||(e=Yh().body),typeof t!="number"&&(t=typeof process<"u"&&process.env.DEBUG_PRINT_LIMIT||7e3),t===0)return"";e.documentElement&&(e=e.documentElement);let n=typeof e;if(n==="object"?n=e.constructor.name:e={},!("outerHTML"in e))throw new TypeError("Expected an element or document but got "+n);const{filterNode:a=B4,...o}=r,s=oM(e,{plugins:[A4(a),k4],printFunctionName:!1,highlight:M4(),...o});return t!==void 0&&e.outerHTML.length>t?s.slice(0,t)+"...":s}const Lb=function(){const e=N4();console.log(e?vs(...arguments)+`
139
+ `}function M4(){if(!Vh||!zh)return"";const t=new Error().stack.split(`
140
+ `).slice(1).find(r=>!r.includes("node_modules/"));return N4(t)}const KT=3;function $d(){return typeof jest<"u"&&jest!==null?setTimeout._isMockFunction===!0||Object.prototype.hasOwnProperty.call(setTimeout,"clock"):!1}function Yh(){if(typeof window>"u")throw new Error("Could not find default container");return window.document}function XT(e){if(e.defaultView)return e.defaultView;if(e.ownerDocument&&e.ownerDocument.defaultView)return e.ownerDocument.defaultView;if(e.window)return e.window;throw e.ownerDocument&&e.ownerDocument.defaultView===null?new Error("It looks like the window object is not available for the provided node."):e.then instanceof Function?new Error("It looks like you passed a Promise object instead of a DOM node. Did you do something like `fireEvent.click(screen.findBy...` when you meant to use a `getBy` query `fireEvent.click(screen.getBy...`, or await the findBy query `fireEvent.click(await screen.findBy...`?"):Array.isArray(e)?new Error("It looks like you passed an Array instead of a DOM node. Did you do something like `fireEvent.click(screen.getAllBy...` when you meant to use a `getBy` query `fireEvent.click(screen.getBy...`?"):typeof e.debug=="function"&&typeof e.logTestingPlaygroundURL=="function"?new Error("It looks like you passed a `screen` object. Did you do something like `fireEvent.click(screen, ...` when you meant to use a query, e.g. `fireEvent.click(screen.getBy..., `?"):new Error("The given node is not an Element, the node type is: "+typeof e+".")}function Or(e){if(!e||typeof e.querySelector!="function"||typeof e.querySelectorAll!="function")throw new TypeError("Expected container to be an Element, a Document or a DocumentFragment but got "+t(e)+".");function t(r){return typeof r=="object"?r===null?"null":r.constructor.name:typeof r}}const k4=()=>{let e;try{var t;e=JSON.parse((t=process)==null||(t=t.env)==null?void 0:t.COLORS)}catch{}return typeof e=="boolean"?e:typeof process<"u"&&process.versions!==void 0&&process.versions.node!==void 0},{DOMCollection:$4}=Rw,L4=1,B4=8;function q4(e){return e.nodeType!==B4&&(e.nodeType!==L4||!e.matches(Le().defaultIgnore))}function vs(e,t,r){if(r===void 0&&(r={}),e||(e=Yh().body),typeof t!="number"&&(t=typeof process<"u"&&process.env.DEBUG_PRINT_LIMIT||7e3),t===0)return"";e.documentElement&&(e=e.documentElement);let n=typeof e;if(n==="object"?n=e.constructor.name:e={},!("outerHTML"in e))throw new TypeError("Expected an element or document but got "+n);const{filterNode:a=q4,...o}=r,s=iM(e,{plugins:[I4(a),$4],printFunctionName:!1,highlight:k4(),...o});return t!==void 0&&e.outerHTML.length>t?s.slice(0,t)+"...":s}const Lb=function(){const e=M4();console.log(e?vs(...arguments)+`
141
141
 
142
142
  `+e:vs(...arguments))};let Sn={testIdAttribute:"data-testid",asyncUtilTimeout:1e3,asyncWrapper:e=>e(),unstable_advanceTimersWrapper:e=>e(),eventWrapper:e=>e(),defaultHidden:!1,defaultIgnore:"script, style",showOriginalStackTrace:!1,throwSuggestions:!1,getElementError(e,t){const r=vs(t),n=new Error([e,"Ignored nodes: comments, "+Sn.defaultIgnore+`
143
143
  `+r].filter(Boolean).join(`
144
144
 
145
- `));return n.name="TestingLibraryElementError",n},_disableExpensiveErrorDiagnostics:!1,computedStyleSupportsPseudoElements:!1};function q4(e){try{return Sn._disableExpensiveErrorDiagnostics=!0,e()}finally{Sn._disableExpensiveErrorDiagnostics=!1}}function D4(e){typeof e=="function"&&(e=e(Sn)),Sn={...Sn,...e}}function Le(){return Sn}const F4=["button","meter","output","progress","select","textarea","input"];function QT(e){return F4.includes(e.nodeName.toLowerCase())?"":e.nodeType===KT?e.textContent:Array.from(e.childNodes).map(t=>QT(t)).join("")}function Wp(e){let t;return e.tagName.toLowerCase()==="label"?t=QT(e):t=e.value||e.textContent,t}function JT(e){if(e.labels!==void 0){var t;return(t=e.labels)!=null?t:[]}if(!U4(e))return[];const r=e.ownerDocument.querySelectorAll("label");return Array.from(r).filter(n=>n.control===e)}function U4(e){return/BUTTON|METER|OUTPUT|PROGRESS|SELECT|TEXTAREA/.test(e.tagName)||e.tagName==="INPUT"&&e.getAttribute("type")!=="hidden"}function ZT(e,t,r){let{selector:n="*"}=r===void 0?{}:r;const a=t.getAttribute("aria-labelledby"),o=a?a.split(" "):[];return o.length?o.map(s=>{const i=e.querySelector('[id="'+s+'"]');return i?{content:Wp(i),formControl:null}:{content:"",formControl:null}}):Array.from(JT(t)).map(s=>{const i=Wp(s),l="button, input, meter, output, progress, select, textarea",u=Array.from(s.querySelectorAll(l)).filter(c=>c.matches(n))[0];return{content:i,formControl:u}})}function eS(e){if(e==null)throw new Error("It looks like "+e+" was passed instead of a matcher. Did you do something like getByText("+e+")?")}function Ca(e,t,r,n){if(typeof e!="string")return!1;eS(r);const a=n(e);return typeof r=="string"||typeof r=="number"?a.toLowerCase().includes(r.toString().toLowerCase()):typeof r=="function"?r(a,t):rS(r,a)}function Sr(e,t,r,n){if(typeof e!="string")return!1;eS(r);const a=n(e);return r instanceof Function?r(a,t):r instanceof RegExp?rS(r,a):a===String(r)}function tS(e){let{trim:t=!0,collapseWhitespace:r=!0}=e===void 0?{}:e;return n=>{let a=n;return a=t?a.trim():a,a=r?a.replace(/\s+/g," "):a,a}}function kn(e){let{trim:t,collapseWhitespace:r,normalizer:n}=e;if(!n)return tS({trim:t,collapseWhitespace:r});if(typeof t<"u"||typeof r<"u")throw new Error('trim and collapseWhitespace are not supported with a normalizer. If you want to use the default trim and collapseWhitespace logic in your normalizer, use "getDefaultNormalizer({trim, collapseWhitespace})" and compose that into your normalizer');return n}function rS(e,t){const r=e.test(t);return e.global&&e.lastIndex!==0&&(console.warn("To match all elements we had to reset the lastIndex of the RegExp because the global flag is enabled. We encourage to remove the global flag from the RegExp."),e.lastIndex=0),r}function gc(e){return e.matches("input[type=submit], input[type=button], input[type=reset]")?e.value:Array.from(e.childNodes).filter(t=>t.nodeType===KT&&!!t.textContent).map(t=>t.textContent).join("")}const j4=H4(UT);function nS(e){return e.hidden===!0||e.getAttribute("aria-hidden")==="true"||e.ownerDocument.defaultView.getComputedStyle(e).display==="none"}function Kh(e,t){t===void 0&&(t={});const{isSubtreeInaccessible:r=nS}=t;if(e.ownerDocument.defaultView.getComputedStyle(e).visibility==="hidden")return!0;let a=e;for(;a;){if(r(a))return!0;a=a.parentElement}return!1}function Xh(e){for(const{match:t,roles:r}of j4)if(t(e))return[...r];return[]}function H4(e){function t(s){let{name:i,attributes:l}=s;return""+i+l.map(u=>{let{name:c,value:p,constraints:d=[]}=u;return d.indexOf("undefined")!==-1?":not(["+c+"])":p?"["+c+'="'+p+'"]':"["+c+"]"}).join("")}function r(s){let{attributes:i=[]}=s;return i.length}function n(s,i){let{specificity:l}=s,{specificity:u}=i;return u-l}function a(s){let{attributes:i=[]}=s;const l=i.findIndex(c=>c.value&&c.name==="type"&&c.value==="text");l>=0&&(i=[...i.slice(0,l),...i.slice(l+1)]);const u=t({...s,attributes:i});return c=>l>=0&&c.type!=="text"?!1:c.matches(u)}let o=[];for(const[s,i]of e.entries())o=[...o,{match:a(s),roles:Array.from(i),specificity:r(s)}];return o.sort(n)}function G4(e,t){let{hidden:r=!1}=t===void 0?{}:t;function n(a){return[a,...Array.from(a.children).reduce((o,s)=>[...o,...n(s)],[])]}return n(e).filter(a=>r===!1?Kh(a)===!1:!0).reduce((a,o)=>{let s=[];return o.hasAttribute("role")?s=o.getAttribute("role").split(" ").slice(0,1):s=Xh(o),s.reduce((i,l)=>Array.isArray(i[l])?{...i,[l]:[...i[l],o]}:{...i,[l]:[o]},a)},{})}function W4(e,t){let{hidden:r,includeDescription:n}=t;const a=G4(e,{hidden:r});return Object.entries(a).filter(o=>{let[s]=o;return s!=="generic"}).map(o=>{let[s,i]=o;const l="-".repeat(50),u=i.map(c=>{const p='Name "'+kh(c,{computedStyleSupportsPseudoElements:Le().computedStyleSupportsPseudoElements})+`":
145
+ `));return n.name="TestingLibraryElementError",n},_disableExpensiveErrorDiagnostics:!1,computedStyleSupportsPseudoElements:!1};function D4(e){try{return Sn._disableExpensiveErrorDiagnostics=!0,e()}finally{Sn._disableExpensiveErrorDiagnostics=!1}}function F4(e){typeof e=="function"&&(e=e(Sn)),Sn={...Sn,...e}}function Le(){return Sn}const U4=["button","meter","output","progress","select","textarea","input"];function QT(e){return U4.includes(e.nodeName.toLowerCase())?"":e.nodeType===KT?e.textContent:Array.from(e.childNodes).map(t=>QT(t)).join("")}function Wp(e){let t;return e.tagName.toLowerCase()==="label"?t=QT(e):t=e.value||e.textContent,t}function JT(e){if(e.labels!==void 0){var t;return(t=e.labels)!=null?t:[]}if(!j4(e))return[];const r=e.ownerDocument.querySelectorAll("label");return Array.from(r).filter(n=>n.control===e)}function j4(e){return/BUTTON|METER|OUTPUT|PROGRESS|SELECT|TEXTAREA/.test(e.tagName)||e.tagName==="INPUT"&&e.getAttribute("type")!=="hidden"}function ZT(e,t,r){let{selector:n="*"}=r===void 0?{}:r;const a=t.getAttribute("aria-labelledby"),o=a?a.split(" "):[];return o.length?o.map(s=>{const i=e.querySelector('[id="'+s+'"]');return i?{content:Wp(i),formControl:null}:{content:"",formControl:null}}):Array.from(JT(t)).map(s=>{const i=Wp(s),l="button, input, meter, output, progress, select, textarea",u=Array.from(s.querySelectorAll(l)).filter(c=>c.matches(n))[0];return{content:i,formControl:u}})}function eS(e){if(e==null)throw new Error("It looks like "+e+" was passed instead of a matcher. Did you do something like getByText("+e+")?")}function Ra(e,t,r,n){if(typeof e!="string")return!1;eS(r);const a=n(e);return typeof r=="string"||typeof r=="number"?a.toLowerCase().includes(r.toString().toLowerCase()):typeof r=="function"?r(a,t):rS(r,a)}function Sr(e,t,r,n){if(typeof e!="string")return!1;eS(r);const a=n(e);return r instanceof Function?r(a,t):r instanceof RegExp?rS(r,a):a===String(r)}function tS(e){let{trim:t=!0,collapseWhitespace:r=!0}=e===void 0?{}:e;return n=>{let a=n;return a=t?a.trim():a,a=r?a.replace(/\s+/g," "):a,a}}function kn(e){let{trim:t,collapseWhitespace:r,normalizer:n}=e;if(!n)return tS({trim:t,collapseWhitespace:r});if(typeof t<"u"||typeof r<"u")throw new Error('trim and collapseWhitespace are not supported with a normalizer. If you want to use the default trim and collapseWhitespace logic in your normalizer, use "getDefaultNormalizer({trim, collapseWhitespace})" and compose that into your normalizer');return n}function rS(e,t){const r=e.test(t);return e.global&&e.lastIndex!==0&&(console.warn("To match all elements we had to reset the lastIndex of the RegExp because the global flag is enabled. We encourage to remove the global flag from the RegExp."),e.lastIndex=0),r}function gc(e){return e.matches("input[type=submit], input[type=button], input[type=reset]")?e.value:Array.from(e.childNodes).filter(t=>t.nodeType===KT&&!!t.textContent).map(t=>t.textContent).join("")}const H4=G4(UT);function nS(e){return e.hidden===!0||e.getAttribute("aria-hidden")==="true"||e.ownerDocument.defaultView.getComputedStyle(e).display==="none"}function Kh(e,t){t===void 0&&(t={});const{isSubtreeInaccessible:r=nS}=t;if(e.ownerDocument.defaultView.getComputedStyle(e).visibility==="hidden")return!0;let a=e;for(;a;){if(r(a))return!0;a=a.parentElement}return!1}function Xh(e){for(const{match:t,roles:r}of H4)if(t(e))return[...r];return[]}function G4(e){function t(s){let{name:i,attributes:l}=s;return""+i+l.map(u=>{let{name:c,value:p,constraints:d=[]}=u;return d.indexOf("undefined")!==-1?":not(["+c+"])":p?"["+c+'="'+p+'"]':"["+c+"]"}).join("")}function r(s){let{attributes:i=[]}=s;return i.length}function n(s,i){let{specificity:l}=s,{specificity:u}=i;return u-l}function a(s){let{attributes:i=[]}=s;const l=i.findIndex(c=>c.value&&c.name==="type"&&c.value==="text");l>=0&&(i=[...i.slice(0,l),...i.slice(l+1)]);const u=t({...s,attributes:i});return c=>l>=0&&c.type!=="text"?!1:c.matches(u)}let o=[];for(const[s,i]of e.entries())o=[...o,{match:a(s),roles:Array.from(i),specificity:r(s)}];return o.sort(n)}function W4(e,t){let{hidden:r=!1}=t===void 0?{}:t;function n(a){return[a,...Array.from(a.children).reduce((o,s)=>[...o,...n(s)],[])]}return n(e).filter(a=>r===!1?Kh(a)===!1:!0).reduce((a,o)=>{let s=[];return o.hasAttribute("role")?s=o.getAttribute("role").split(" ").slice(0,1):s=Xh(o),s.reduce((i,l)=>Array.isArray(i[l])?{...i,[l]:[...i[l],o]}:{...i,[l]:[o]},a)},{})}function V4(e,t){let{hidden:r,includeDescription:n}=t;const a=W4(e,{hidden:r});return Object.entries(a).filter(o=>{let[s]=o;return s!=="generic"}).map(o=>{let[s,i]=o;const l="-".repeat(50),u=i.map(c=>{const p='Name "'+kh(c,{computedStyleSupportsPseudoElements:Le().computedStyleSupportsPseudoElements})+`":
146
146
  `,d=vs(c.cloneNode(!1));if(n){const f='Description "'+Gw(c,{computedStyleSupportsPseudoElements:Le().computedStyleSupportsPseudoElements})+`":
147
147
  `;return""+p+f+d}return""+p+d}).join(`
148
148
 
@@ -151,19 +151,19 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
151
151
  `+u+`
152
152
 
153
153
  `+l}).join(`
154
- `)}function V4(e){return e.tagName==="OPTION"?e.selected:Vo(e,"aria-selected")}function z4(e){return e.getAttribute("aria-busy")==="true"}function Y4(e){if(!("indeterminate"in e&&e.indeterminate))return"checked"in e?e.checked:Vo(e,"aria-checked")}function K4(e){return Vo(e,"aria-pressed")}function X4(e){var t,r;return(t=(r=Vo(e,"aria-current"))!=null?r:e.getAttribute("aria-current"))!=null?t:!1}function Q4(e){return Vo(e,"aria-expanded")}function Vo(e,t){const r=e.getAttribute(t);if(r==="true")return!0;if(r==="false")return!1}function J4(e){const t={H1:1,H2:2,H3:3,H4:4,H5:5,H6:6};return e.getAttribute("aria-level")&&Number(e.getAttribute("aria-level"))||t[e.tagName]}function Z4(e){const t=e.getAttribute("aria-valuenow");return t===null?void 0:+t}function eG(e){const t=e.getAttribute("aria-valuemax");return t===null?void 0:+t}function tG(e){const t=e.getAttribute("aria-valuemin");return t===null?void 0:+t}function rG(e){const t=e.getAttribute("aria-valuetext");return t===null?void 0:t}const Bb=tS();function nG(e){return e.replace(/[.*+\-?^${}()|[\]\\]/g,"\\$&")}function qb(e){return new RegExp(nG(e.toLowerCase()),"i")}function Nr(e,t,r,n){let{variant:a,name:o}=n,s="";const i={},l=[["Role","TestId"].includes(e)?r:qb(r)];o&&(i.name=qb(o)),e==="Role"&&Kh(t)&&(i.hidden=!0,s=`Element is inaccessible. This means that the element and all its children are invisible to screen readers.
154
+ `)}function z4(e){return e.tagName==="OPTION"?e.selected:Vo(e,"aria-selected")}function Y4(e){return e.getAttribute("aria-busy")==="true"}function K4(e){if(!("indeterminate"in e&&e.indeterminate))return"checked"in e?e.checked:Vo(e,"aria-checked")}function X4(e){return Vo(e,"aria-pressed")}function Q4(e){var t,r;return(t=(r=Vo(e,"aria-current"))!=null?r:e.getAttribute("aria-current"))!=null?t:!1}function J4(e){return Vo(e,"aria-expanded")}function Vo(e,t){const r=e.getAttribute(t);if(r==="true")return!0;if(r==="false")return!1}function Z4(e){const t={H1:1,H2:2,H3:3,H4:4,H5:5,H6:6};return e.getAttribute("aria-level")&&Number(e.getAttribute("aria-level"))||t[e.tagName]}function eG(e){const t=e.getAttribute("aria-valuenow");return t===null?void 0:+t}function tG(e){const t=e.getAttribute("aria-valuemax");return t===null?void 0:+t}function rG(e){const t=e.getAttribute("aria-valuemin");return t===null?void 0:+t}function nG(e){const t=e.getAttribute("aria-valuetext");return t===null?void 0:t}const Bb=tS();function aG(e){return e.replace(/[.*+\-?^${}()|[\]\\]/g,"\\$&")}function qb(e){return new RegExp(aG(e.toLowerCase()),"i")}function Nr(e,t,r,n){let{variant:a,name:o}=n,s="";const i={},l=[["Role","TestId"].includes(e)?r:qb(r)];o&&(i.name=qb(o)),e==="Role"&&Kh(t)&&(i.hidden=!0,s=`Element is inaccessible. This means that the element and all its children are invisible to screen readers.
155
155
  If you are using the aria-hidden prop, make sure this is the right choice for your case.
156
- `),Object.keys(i).length>0&&l.push(i);const u=a+"By"+e;return{queryName:e,queryMethod:u,queryArgs:l,variant:a,warning:s,toString(){s&&console.warn(s);let[c,p]=l;return c=typeof c=="string"?"'"+c+"'":c,p=p?", { "+Object.entries(p).map(d=>{let[f,h]=d;return f+": "+h}).join(", ")+" }":"",u+"("+c+p+")"}}}function Mr(e,t,r){return r&&(!t||t.toLowerCase()===e.toLowerCase())}function Vp(e,t,r){var n,a;if(t===void 0&&(t="get"),e.matches(Le().defaultIgnore))return;const o=(n=e.getAttribute("role"))!=null?n:(a=Xh(e))==null?void 0:a[0];if(o!=="generic"&&Mr("Role",r,o))return Nr("Role",e,o,{variant:t,name:kh(e,{computedStyleSupportsPseudoElements:Le().computedStyleSupportsPseudoElements})});const s=ZT(document,e).map(d=>d.content).join(" ");if(Mr("LabelText",r,s))return Nr("LabelText",e,s,{variant:t});const i=e.getAttribute("placeholder");if(Mr("PlaceholderText",r,i))return Nr("PlaceholderText",e,i,{variant:t});const l=Bb(gc(e));if(Mr("Text",r,l))return Nr("Text",e,l,{variant:t});if(Mr("DisplayValue",r,e.value))return Nr("DisplayValue",e,Bb(e.value),{variant:t});const u=e.getAttribute("alt");if(Mr("AltText",r,u))return Nr("AltText",e,u,{variant:t});const c=e.getAttribute("title");if(Mr("Title",r,c))return Nr("Title",e,c,{variant:t});const p=e.getAttribute(Le().testIdAttribute);if(Mr("TestId",r,p))return Nr("TestId",e,p,{variant:t})}function Ni(e,t){e.stack=t.stack.replace(t.message,e.message)}function aG(e,t){let{container:r=Yh(),timeout:n=Le().asyncUtilTimeout,showOriginalStackTrace:a=Le().showOriginalStackTrace,stackTraceError:o,interval:s=50,onTimeout:i=u=>(Object.defineProperty(u,"message",{value:Le().getElementError(u.message,r).message}),u),mutationObserverOptions:l={subtree:!0,childList:!0,attributes:!0,characterData:!0}}=t;if(typeof e!="function")throw new TypeError("Received `callback` arg must be a function");return new Promise(async(u,c)=>{let p,d,f,h=!1,m="idle";const _=setTimeout(T,n),b=$d();if(b){const{unstable_advanceTimersWrapper:C}=Le();for(R();!h;){if(!$d()){const N=new Error("Changed from using fake timers to real timers while using waitFor. This is not allowed and will result in very strange behavior. Please ensure you're awaiting all async things your test is doing before changing to real timers. For more info, please go to https://github.com/testing-library/dom-testing-library/issues/830");a||Ni(N,o),c(N);return}if(await C(async()=>{jest.advanceTimersByTime(s)}),R(),h)break}}else{try{Or(r)}catch(N){c(N);return}d=setInterval(w,s);const{MutationObserver:C}=XT(r);f=new C(w),f.observe(r,l),R()}function v(C,N){h=!0,clearTimeout(_),b||(clearInterval(d),f.disconnect()),C?c(C):u(N)}function w(){if($d()){const C=new Error("Changed from using real timers to fake timers while using waitFor. This is not allowed and will result in very strange behavior. Please ensure you're awaiting all async things your test is doing before changing to fake timers. For more info, please go to https://github.com/testing-library/dom-testing-library/issues/830");return a||Ni(C,o),c(C)}else return R()}function R(){if(m!=="pending")try{const C=q4(e);typeof(C==null?void 0:C.then)=="function"?(m="pending",C.then(N=>{m="resolved",v(null,N)},N=>{m="rejected",p=N})):v(null,C)}catch(C){p=C}}function T(){let C;p?(C=p,!a&&C.name==="TestingLibraryElementError"&&Ni(C,o)):(C=new Error("Timed out in waitFor."),a||Ni(C,o)),v(i(C),null)}})}function oG(e,t){const r=new Error("STACK_TRACE_MESSAGE");return Le().asyncWrapper(()=>aG(e,{stackTraceError:r,...t}))}function aS(e,t){return Le().getElementError(e,t)}function iG(e,t){return aS(e+"\n\n(If this is intentional, then use the `*AllBy*` variant of the query (like `queryAllByText`, `getAllByText`, or `findAllByText`)).",t)}function bc(e,t,r,n){let{exact:a=!0,collapseWhitespace:o,trim:s,normalizer:i}=n===void 0?{}:n;const l=a?Sr:Ca,u=kn({collapseWhitespace:o,trim:s,normalizer:i});return Array.from(t.querySelectorAll("["+e+"]")).filter(c=>l(c.getAttribute(e),c,r,u))}function gs(e,t){return function(r){for(var n=arguments.length,a=new Array(n>1?n-1:0),o=1;o<n;o++)a[o-1]=arguments[o];const s=e(r,...a);if(s.length>1){const i=s.map(l=>aS(null,l).message).join(`
156
+ `),Object.keys(i).length>0&&l.push(i);const u=a+"By"+e;return{queryName:e,queryMethod:u,queryArgs:l,variant:a,warning:s,toString(){s&&console.warn(s);let[c,p]=l;return c=typeof c=="string"?"'"+c+"'":c,p=p?", { "+Object.entries(p).map(d=>{let[f,h]=d;return f+": "+h}).join(", ")+" }":"",u+"("+c+p+")"}}}function Mr(e,t,r){return r&&(!t||t.toLowerCase()===e.toLowerCase())}function Vp(e,t,r){var n,a;if(t===void 0&&(t="get"),e.matches(Le().defaultIgnore))return;const o=(n=e.getAttribute("role"))!=null?n:(a=Xh(e))==null?void 0:a[0];if(o!=="generic"&&Mr("Role",r,o))return Nr("Role",e,o,{variant:t,name:kh(e,{computedStyleSupportsPseudoElements:Le().computedStyleSupportsPseudoElements})});const s=ZT(document,e).map(d=>d.content).join(" ");if(Mr("LabelText",r,s))return Nr("LabelText",e,s,{variant:t});const i=e.getAttribute("placeholder");if(Mr("PlaceholderText",r,i))return Nr("PlaceholderText",e,i,{variant:t});const l=Bb(gc(e));if(Mr("Text",r,l))return Nr("Text",e,l,{variant:t});if(Mr("DisplayValue",r,e.value))return Nr("DisplayValue",e,Bb(e.value),{variant:t});const u=e.getAttribute("alt");if(Mr("AltText",r,u))return Nr("AltText",e,u,{variant:t});const c=e.getAttribute("title");if(Mr("Title",r,c))return Nr("Title",e,c,{variant:t});const p=e.getAttribute(Le().testIdAttribute);if(Mr("TestId",r,p))return Nr("TestId",e,p,{variant:t})}function Ni(e,t){e.stack=t.stack.replace(t.message,e.message)}function oG(e,t){let{container:r=Yh(),timeout:n=Le().asyncUtilTimeout,showOriginalStackTrace:a=Le().showOriginalStackTrace,stackTraceError:o,interval:s=50,onTimeout:i=u=>(Object.defineProperty(u,"message",{value:Le().getElementError(u.message,r).message}),u),mutationObserverOptions:l={subtree:!0,childList:!0,attributes:!0,characterData:!0}}=t;if(typeof e!="function")throw new TypeError("Received `callback` arg must be a function");return new Promise(async(u,c)=>{let p,d,f,h=!1,m="idle";const _=setTimeout(T,n),b=$d();if(b){const{unstable_advanceTimersWrapper:C}=Le();for(R();!h;){if(!$d()){const N=new Error("Changed from using fake timers to real timers while using waitFor. This is not allowed and will result in very strange behavior. Please ensure you're awaiting all async things your test is doing before changing to real timers. For more info, please go to https://github.com/testing-library/dom-testing-library/issues/830");a||Ni(N,o),c(N);return}if(await C(async()=>{jest.advanceTimersByTime(s)}),R(),h)break}}else{try{Or(r)}catch(N){c(N);return}d=setInterval(w,s);const{MutationObserver:C}=XT(r);f=new C(w),f.observe(r,l),R()}function v(C,N){h=!0,clearTimeout(_),b||(clearInterval(d),f.disconnect()),C?c(C):u(N)}function w(){if($d()){const C=new Error("Changed from using real timers to fake timers while using waitFor. This is not allowed and will result in very strange behavior. Please ensure you're awaiting all async things your test is doing before changing to fake timers. For more info, please go to https://github.com/testing-library/dom-testing-library/issues/830");return a||Ni(C,o),c(C)}else return R()}function R(){if(m!=="pending")try{const C=D4(e);typeof(C==null?void 0:C.then)=="function"?(m="pending",C.then(N=>{m="resolved",v(null,N)},N=>{m="rejected",p=N})):v(null,C)}catch(C){p=C}}function T(){let C;p?(C=p,!a&&C.name==="TestingLibraryElementError"&&Ni(C,o)):(C=new Error("Timed out in waitFor."),a||Ni(C,o)),v(i(C),null)}})}function iG(e,t){const r=new Error("STACK_TRACE_MESSAGE");return Le().asyncWrapper(()=>oG(e,{stackTraceError:r,...t}))}function aS(e,t){return Le().getElementError(e,t)}function sG(e,t){return aS(e+"\n\n(If this is intentional, then use the `*AllBy*` variant of the query (like `queryAllByText`, `getAllByText`, or `findAllByText`)).",t)}function bc(e,t,r,n){let{exact:a=!0,collapseWhitespace:o,trim:s,normalizer:i}=n===void 0?{}:n;const l=a?Sr:Ra,u=kn({collapseWhitespace:o,trim:s,normalizer:i});return Array.from(t.querySelectorAll("["+e+"]")).filter(c=>l(c.getAttribute(e),c,r,u))}function gs(e,t){return function(r){for(var n=arguments.length,a=new Array(n>1?n-1:0),o=1;o<n;o++)a[o-1]=arguments[o];const s=e(r,...a);if(s.length>1){const i=s.map(l=>aS(null,l).message).join(`
157
157
 
158
- `);throw iG(t(r,...a)+`
158
+ `);throw sG(t(r,...a)+`
159
159
 
160
160
  Here are the matching elements:
161
161
 
162
162
  `+i,r)}return s[0]||null}}function oS(e,t){return Le().getElementError(`A better query is available, try this:
163
163
  `+e.toString()+`
164
- `,t)}function sG(e,t){return function(r){for(var n=arguments.length,a=new Array(n>1?n-1:0),o=1;o<n;o++)a[o-1]=arguments[o];const s=e(r,...a);if(!s.length)throw Le().getElementError(t(r,...a),r);return s}}function bs(e){return(t,r,n,a)=>oG(()=>e(t,r,n),{container:t,...a})}const fa=(e,t,r)=>function(n){for(var a=arguments.length,o=new Array(a>1?a-1:0),s=1;s<a;s++)o[s-1]=arguments[s];const i=e(n,...o),[{suggest:l=Le().throwSuggestions}={}]=o.slice(-1);if(i&&l){const u=Vp(i,r);if(u&&!t.endsWith(u.queryName))throw oS(u.toString(),n)}return i},kt=(e,t,r)=>function(n){for(var a=arguments.length,o=new Array(a>1?a-1:0),s=1;s<a;s++)o[s-1]=arguments[s];const i=e(n,...o),[{suggest:l=Le().throwSuggestions}={}]=o.slice(-1);if(i.length&&l){const u=[...new Set(i.map(c=>{var p;return(p=Vp(c,r))==null?void 0:p.toString()}))];if(u.length===1&&!t.endsWith(Vp(i[0],r).queryName))throw oS(u[0],n)}return i};function $n(e,t,r){const n=fa(gs(e,t),e.name,"query"),a=sG(e,r),o=gs(a,t),s=fa(o,e.name,"get"),i=kt(a,e.name.replace("query","get"),"getAll"),l=bs(kt(a,e.name,"findAll")),u=bs(fa(o,e.name,"find"));return[n,i,s,l,u]}function lG(e){return Array.from(e.querySelectorAll("label,input")).map(t=>({node:t,textToMatch:Wp(t)})).filter(t=>{let{textToMatch:r}=t;return r!==null})}const uG=function(e,t,r){let{exact:n=!0,trim:a,collapseWhitespace:o,normalizer:s}=r===void 0?{}:r;const i=n?Sr:Ca,l=kn({collapseWhitespace:o,trim:a,normalizer:s});return lG(e).filter(c=>{let{node:p,textToMatch:d}=c;return i(d,p,t,l)}).map(c=>{let{node:p}=c;return p})},No=function(e,t,r){let{selector:n="*",exact:a=!0,collapseWhitespace:o,trim:s,normalizer:i}=r===void 0?{}:r;Or(e);const l=a?Sr:Ca,u=kn({collapseWhitespace:o,trim:s,normalizer:i}),c=Array.from(e.querySelectorAll("*")).filter(p=>JT(p).length||p.hasAttribute("aria-labelledby")).reduce((p,d)=>{const f=ZT(e,d,{selector:n});f.filter(m=>!!m.formControl).forEach(m=>{l(m.content,m.formControl,t,u)&&m.formControl&&p.push(m.formControl)});const h=f.filter(m=>!!m.content).map(m=>m.content);return l(h.join(" "),d,t,u)&&p.push(d),h.length>1&&h.forEach((m,_)=>{l(m,d,t,u)&&p.push(d);const b=[...h];b.splice(_,1),b.length>1&&l(b.join(" "),d,t,u)&&p.push(d)}),p},[]).concat(bc("aria-label",e,t,{exact:a,normalizer:u}));return Array.from(new Set(c)).filter(p=>p.matches(n))},On=function(e,t){for(var r=arguments.length,n=new Array(r>2?r-2:0),a=2;a<r;a++)n[a-2]=arguments[a];const o=No(e,t,...n);if(!o.length){const s=uG(e,t,...n);if(s.length){const i=s.map(l=>cG(e,l)).filter(l=>!!l);throw i.length?Le().getElementError(i.map(l=>"Found a label with the text of: "+t+", however the element associated with this label (<"+l+" />) is non-labellable [https://html.spec.whatwg.org/multipage/forms.html#category-label]. If you really need to label a <"+l+" />, you can use aria-label or aria-labelledby instead.").join(`
164
+ `,t)}function lG(e,t){return function(r){for(var n=arguments.length,a=new Array(n>1?n-1:0),o=1;o<n;o++)a[o-1]=arguments[o];const s=e(r,...a);if(!s.length)throw Le().getElementError(t(r,...a),r);return s}}function bs(e){return(t,r,n,a)=>iG(()=>e(t,r,n),{container:t,...a})}const ca=(e,t,r)=>function(n){for(var a=arguments.length,o=new Array(a>1?a-1:0),s=1;s<a;s++)o[s-1]=arguments[s];const i=e(n,...o),[{suggest:l=Le().throwSuggestions}={}]=o.slice(-1);if(i&&l){const u=Vp(i,r);if(u&&!t.endsWith(u.queryName))throw oS(u.toString(),n)}return i},kt=(e,t,r)=>function(n){for(var a=arguments.length,o=new Array(a>1?a-1:0),s=1;s<a;s++)o[s-1]=arguments[s];const i=e(n,...o),[{suggest:l=Le().throwSuggestions}={}]=o.slice(-1);if(i.length&&l){const u=[...new Set(i.map(c=>{var p;return(p=Vp(c,r))==null?void 0:p.toString()}))];if(u.length===1&&!t.endsWith(Vp(i[0],r).queryName))throw oS(u[0],n)}return i};function $n(e,t,r){const n=ca(gs(e,t),e.name,"query"),a=lG(e,r),o=gs(a,t),s=ca(o,e.name,"get"),i=kt(a,e.name.replace("query","get"),"getAll"),l=bs(kt(a,e.name,"findAll")),u=bs(ca(o,e.name,"find"));return[n,i,s,l,u]}function uG(e){return Array.from(e.querySelectorAll("label,input")).map(t=>({node:t,textToMatch:Wp(t)})).filter(t=>{let{textToMatch:r}=t;return r!==null})}const cG=function(e,t,r){let{exact:n=!0,trim:a,collapseWhitespace:o,normalizer:s}=r===void 0?{}:r;const i=n?Sr:Ra,l=kn({collapseWhitespace:o,trim:a,normalizer:s});return uG(e).filter(c=>{let{node:p,textToMatch:d}=c;return i(d,p,t,l)}).map(c=>{let{node:p}=c;return p})},No=function(e,t,r){let{selector:n="*",exact:a=!0,collapseWhitespace:o,trim:s,normalizer:i}=r===void 0?{}:r;Or(e);const l=a?Sr:Ra,u=kn({collapseWhitespace:o,trim:s,normalizer:i}),c=Array.from(e.querySelectorAll("*")).filter(p=>JT(p).length||p.hasAttribute("aria-labelledby")).reduce((p,d)=>{const f=ZT(e,d,{selector:n});f.filter(m=>!!m.formControl).forEach(m=>{l(m.content,m.formControl,t,u)&&m.formControl&&p.push(m.formControl)});const h=f.filter(m=>!!m.content).map(m=>m.content);return l(h.join(" "),d,t,u)&&p.push(d),h.length>1&&h.forEach((m,_)=>{l(m,d,t,u)&&p.push(d);const b=[...h];b.splice(_,1),b.length>1&&l(b.join(" "),d,t,u)&&p.push(d)}),p},[]).concat(bc("aria-label",e,t,{exact:a,normalizer:u}));return Array.from(new Set(c)).filter(p=>p.matches(n))},On=function(e,t){for(var r=arguments.length,n=new Array(r>2?r-2:0),a=2;a<r;a++)n[a-2]=arguments[a];const o=No(e,t,...n);if(!o.length){const s=cG(e,t,...n);if(s.length){const i=s.map(l=>fG(e,l)).filter(l=>!!l);throw i.length?Le().getElementError(i.map(l=>"Found a label with the text of: "+t+", however the element associated with this label (<"+l+" />) is non-labellable [https://html.spec.whatwg.org/multipage/forms.html#category-label]. If you really need to label a <"+l+" />, you can use aria-label or aria-labelledby instead.").join(`
165
165
 
166
- `),e):Le().getElementError("Found a label with the text of: "+t+`, however no form control was found associated to that label. Make sure you're using the "for" attribute or "aria-labelledby" attribute correctly.`,e)}else throw Le().getElementError("Unable to find a label with the text of: "+t,e)}return o};function cG(e,t){const r=t.getAttribute("for");if(!r)return null;const n=e.querySelector('[id="'+r+'"]');return n?n.tagName.toLowerCase():null}const iS=(e,t)=>"Found multiple elements with the text of: "+t,fG=fa(gs(No,iS),No.name,"query"),sS=gs(On,iS),dG=bs(kt(On,On.name,"findAll")),pG=bs(fa(sS,On.name,"find")),hG=kt(On,On.name,"getAll"),mG=fa(sS,On.name,"get"),yG=kt(No,No.name,"queryAll"),zp=function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return Or(t[0]),bc("placeholder",...t)},vG=(e,t)=>"Found multiple elements with the placeholder text of: "+t,gG=(e,t)=>"Unable to find an element with the placeholder text of: "+t,bG=kt(zp,zp.name,"queryAll"),[EG,_G,wG,TG,SG]=$n(zp,vG,gG),Yp=function(e,t,r){let{selector:n="*",exact:a=!0,collapseWhitespace:o,trim:s,ignore:i=Le().defaultIgnore,normalizer:l}=r===void 0?{}:r;Or(e);const u=a?Sr:Ca,c=kn({collapseWhitespace:o,trim:s,normalizer:l});let p=[];return typeof e.matches=="function"&&e.matches(n)&&(p=[e]),[...p,...Array.from(e.querySelectorAll(n))].filter(d=>!i||!d.matches(i)).filter(d=>u(gc(d),d,t,c))},RG=(e,t)=>"Found multiple elements with the text: "+t,CG=function(e,t,r){r===void 0&&(r={});const{collapseWhitespace:n,trim:a,normalizer:o,selector:s}=r,l=kn({collapseWhitespace:n,trim:a,normalizer:o})(t.toString()),u=l!==t.toString(),c=(s??"*")!=="*";return"Unable to find an element with the text: "+(u?l+" (normalized from '"+t+"')":t)+(c?", which matches selector '"+s+"'":"")+". This could be because the text is broken up by multiple elements. In this case, you can provide a function for your text matcher to make your matcher more flexible."},OG=kt(Yp,Yp.name,"queryAll"),[xG,PG,AG,IG,NG]=$n(Yp,RG,CG),Kp=function(e,t,r){let{exact:n=!0,collapseWhitespace:a,trim:o,normalizer:s}=r===void 0?{}:r;Or(e);const i=n?Sr:Ca,l=kn({collapseWhitespace:a,trim:o,normalizer:s});return Array.from(e.querySelectorAll("input,textarea,select")).filter(u=>u.tagName==="SELECT"?Array.from(u.options).filter(p=>p.selected).some(p=>i(gc(p),p,t,l)):i(u.value,u,t,l))},MG=(e,t)=>"Found multiple elements with the display value: "+t+".",kG=(e,t)=>"Unable to find an element with the display value: "+t+".",$G=kt(Kp,Kp.name,"queryAll"),[LG,BG,qG,DG,FG]=$n(Kp,MG,kG),UG=/^(img|input|area|.+-.+)$/i,Xp=function(e,t,r){return r===void 0&&(r={}),Or(e),bc("alt",e,t,r).filter(n=>UG.test(n.tagName))},jG=(e,t)=>"Found multiple elements with the alt text: "+t,HG=(e,t)=>"Unable to find an element with the alt text: "+t,GG=kt(Xp,Xp.name,"queryAll"),[WG,VG,zG,YG,KG]=$n(Xp,jG,HG),XG=e=>{var t;return e.tagName.toLowerCase()==="title"&&((t=e.parentElement)==null?void 0:t.tagName.toLowerCase())==="svg"},Qp=function(e,t,r){let{exact:n=!0,collapseWhitespace:a,trim:o,normalizer:s}=r===void 0?{}:r;Or(e);const i=n?Sr:Ca,l=kn({collapseWhitespace:a,trim:o,normalizer:s});return Array.from(e.querySelectorAll("[title], svg > title")).filter(u=>i(u.getAttribute("title"),u,t,l)||XG(u)&&i(gc(u),u,t,l))},QG=(e,t)=>"Found multiple elements with the title: "+t+".",JG=(e,t)=>"Unable to find an element with the title: "+t+".",ZG=kt(Qp,Qp.name,"queryAll"),[e6,t6,r6,n6,a6]=$n(Qp,QG,JG),Jp=function(e,t,r){let{hidden:n=Le().defaultHidden,name:a,description:o,queryFallbacks:s=!1,selected:i,busy:l,checked:u,pressed:c,current:p,level:d,expanded:f,value:{now:h,min:m,max:_,text:b}={}}=r===void 0?{}:r;if(Or(e),i!==void 0){var v;if(((v=Vt.get(t))==null?void 0:v.props["aria-selected"])===void 0)throw new Error('"aria-selected" is not supported on role "'+t+'".')}if(l!==void 0){var w;if(((w=Vt.get(t))==null?void 0:w.props["aria-busy"])===void 0)throw new Error('"aria-busy" is not supported on role "'+t+'".')}if(u!==void 0){var R;if(((R=Vt.get(t))==null?void 0:R.props["aria-checked"])===void 0)throw new Error('"aria-checked" is not supported on role "'+t+'".')}if(c!==void 0){var T;if(((T=Vt.get(t))==null?void 0:T.props["aria-pressed"])===void 0)throw new Error('"aria-pressed" is not supported on role "'+t+'".')}if(p!==void 0){var C;if(((C=Vt.get(t))==null?void 0:C.props["aria-current"])===void 0)throw new Error('"aria-current" is not supported on role "'+t+'".')}if(d!==void 0&&t!=="heading")throw new Error('Role "'+t+'" cannot have "level" property.');if(h!==void 0){var N;if(((N=Vt.get(t))==null?void 0:N.props["aria-valuenow"])===void 0)throw new Error('"aria-valuenow" is not supported on role "'+t+'".')}if(_!==void 0){var I;if(((I=Vt.get(t))==null?void 0:I.props["aria-valuemax"])===void 0)throw new Error('"aria-valuemax" is not supported on role "'+t+'".')}if(m!==void 0){var j;if(((j=Vt.get(t))==null?void 0:j.props["aria-valuemin"])===void 0)throw new Error('"aria-valuemin" is not supported on role "'+t+'".')}if(b!==void 0){var z;if(((z=Vt.get(t))==null?void 0:z.props["aria-valuetext"])===void 0)throw new Error('"aria-valuetext" is not supported on role "'+t+'".')}if(f!==void 0){var Y;if(((Y=Vt.get(t))==null?void 0:Y.props["aria-expanded"])===void 0)throw new Error('"aria-expanded" is not supported on role "'+t+'".')}const U=new WeakMap;function D(Q){return U.has(Q)||U.set(Q,nS(Q)),U.get(Q)}return Array.from(e.querySelectorAll(o6(t))).filter(Q=>{if(Q.hasAttribute("role")){const G=Q.getAttribute("role");if(s)return G.split(" ").filter(Boolean).some(ve=>ve===t);const[Z]=G.split(" ");return Z===t}return Xh(Q).some(G=>G===t)}).filter(Q=>{if(i!==void 0)return i===V4(Q);if(l!==void 0)return l===z4(Q);if(u!==void 0)return u===Y4(Q);if(c!==void 0)return c===K4(Q);if(p!==void 0)return p===X4(Q);if(f!==void 0)return f===Q4(Q);if(d!==void 0)return d===J4(Q);if(h!==void 0||_!==void 0||m!==void 0||b!==void 0){let k=!0;if(h!==void 0&&k&&(k=h===Z4(Q)),_!==void 0&&k&&(k=_===eG(Q)),m!==void 0&&k&&(k=m===tG(Q)),b!==void 0){var J;k&&(k=Sr((J=rG(Q))!=null?J:null,Q,b,G=>G))}return k}return!0}).filter(Q=>a===void 0?!0:Sr(kh(Q,{computedStyleSupportsPseudoElements:Le().computedStyleSupportsPseudoElements}),Q,a,J=>J)).filter(Q=>o===void 0?!0:Sr(Gw(Q,{computedStyleSupportsPseudoElements:Le().computedStyleSupportsPseudoElements}),Q,o,J=>J)).filter(Q=>n===!1?Kh(Q,{isSubtreeInaccessible:D})===!1:!0)};function o6(e){var t;const r='*[role~="'+e+'"]',n=(t=jT.get(e))!=null?t:new Set,a=new Set(Array.from(n).map(o=>{let{name:s}=o;return s}));return[r].concat(Array.from(a)).join(",")}const lS=e=>{let t="";return e===void 0?t="":typeof e=="string"?t=' and name "'+e+'"':t=" and name `"+e+"`",t},i6=function(e,t,r){let{name:n}=r===void 0?{}:r;return'Found multiple elements with the role "'+t+'"'+lS(n)},s6=function(e,t,r){let{hidden:n=Le().defaultHidden,name:a,description:o}=r===void 0?{}:r;if(Le()._disableExpensiveErrorDiagnostics)return'Unable to find role="'+t+'"'+lS(a);let s="";Array.from(e.children).forEach(c=>{s+=W4(c,{hidden:n,includeDescription:o!==void 0})});let i;s.length===0?n===!1?i="There are no accessible roles. But there might be some inaccessible roles. If you wish to access them, then set the `hidden` option to `true`. Learn more about this here: https://testing-library.com/docs/dom-testing-library/api-queries#byrole":i="There are no available roles.":i=(`
166
+ `),e):Le().getElementError("Found a label with the text of: "+t+`, however no form control was found associated to that label. Make sure you're using the "for" attribute or "aria-labelledby" attribute correctly.`,e)}else throw Le().getElementError("Unable to find a label with the text of: "+t,e)}return o};function fG(e,t){const r=t.getAttribute("for");if(!r)return null;const n=e.querySelector('[id="'+r+'"]');return n?n.tagName.toLowerCase():null}const iS=(e,t)=>"Found multiple elements with the text of: "+t,dG=ca(gs(No,iS),No.name,"query"),sS=gs(On,iS),pG=bs(kt(On,On.name,"findAll")),hG=bs(ca(sS,On.name,"find")),mG=kt(On,On.name,"getAll"),yG=ca(sS,On.name,"get"),vG=kt(No,No.name,"queryAll"),zp=function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return Or(t[0]),bc("placeholder",...t)},gG=(e,t)=>"Found multiple elements with the placeholder text of: "+t,bG=(e,t)=>"Unable to find an element with the placeholder text of: "+t,EG=kt(zp,zp.name,"queryAll"),[_G,wG,TG,SG,RG]=$n(zp,gG,bG),Yp=function(e,t,r){let{selector:n="*",exact:a=!0,collapseWhitespace:o,trim:s,ignore:i=Le().defaultIgnore,normalizer:l}=r===void 0?{}:r;Or(e);const u=a?Sr:Ra,c=kn({collapseWhitespace:o,trim:s,normalizer:l});let p=[];return typeof e.matches=="function"&&e.matches(n)&&(p=[e]),[...p,...Array.from(e.querySelectorAll(n))].filter(d=>!i||!d.matches(i)).filter(d=>u(gc(d),d,t,c))},CG=(e,t)=>"Found multiple elements with the text: "+t,OG=function(e,t,r){r===void 0&&(r={});const{collapseWhitespace:n,trim:a,normalizer:o,selector:s}=r,l=kn({collapseWhitespace:n,trim:a,normalizer:o})(t.toString()),u=l!==t.toString(),c=(s??"*")!=="*";return"Unable to find an element with the text: "+(u?l+" (normalized from '"+t+"')":t)+(c?", which matches selector '"+s+"'":"")+". This could be because the text is broken up by multiple elements. In this case, you can provide a function for your text matcher to make your matcher more flexible."},xG=kt(Yp,Yp.name,"queryAll"),[PG,AG,IG,NG,MG]=$n(Yp,CG,OG),Kp=function(e,t,r){let{exact:n=!0,collapseWhitespace:a,trim:o,normalizer:s}=r===void 0?{}:r;Or(e);const i=n?Sr:Ra,l=kn({collapseWhitespace:a,trim:o,normalizer:s});return Array.from(e.querySelectorAll("input,textarea,select")).filter(u=>u.tagName==="SELECT"?Array.from(u.options).filter(p=>p.selected).some(p=>i(gc(p),p,t,l)):i(u.value,u,t,l))},kG=(e,t)=>"Found multiple elements with the display value: "+t+".",$G=(e,t)=>"Unable to find an element with the display value: "+t+".",LG=kt(Kp,Kp.name,"queryAll"),[BG,qG,DG,FG,UG]=$n(Kp,kG,$G),jG=/^(img|input|area|.+-.+)$/i,Xp=function(e,t,r){return r===void 0&&(r={}),Or(e),bc("alt",e,t,r).filter(n=>jG.test(n.tagName))},HG=(e,t)=>"Found multiple elements with the alt text: "+t,GG=(e,t)=>"Unable to find an element with the alt text: "+t,WG=kt(Xp,Xp.name,"queryAll"),[VG,zG,YG,KG,XG]=$n(Xp,HG,GG),QG=e=>{var t;return e.tagName.toLowerCase()==="title"&&((t=e.parentElement)==null?void 0:t.tagName.toLowerCase())==="svg"},Qp=function(e,t,r){let{exact:n=!0,collapseWhitespace:a,trim:o,normalizer:s}=r===void 0?{}:r;Or(e);const i=n?Sr:Ra,l=kn({collapseWhitespace:a,trim:o,normalizer:s});return Array.from(e.querySelectorAll("[title], svg > title")).filter(u=>i(u.getAttribute("title"),u,t,l)||QG(u)&&i(gc(u),u,t,l))},JG=(e,t)=>"Found multiple elements with the title: "+t+".",ZG=(e,t)=>"Unable to find an element with the title: "+t+".",e6=kt(Qp,Qp.name,"queryAll"),[t6,r6,n6,a6,o6]=$n(Qp,JG,ZG),Jp=function(e,t,r){let{hidden:n=Le().defaultHidden,name:a,description:o,queryFallbacks:s=!1,selected:i,busy:l,checked:u,pressed:c,current:p,level:d,expanded:f,value:{now:h,min:m,max:_,text:b}={}}=r===void 0?{}:r;if(Or(e),i!==void 0){var v;if(((v=Vt.get(t))==null?void 0:v.props["aria-selected"])===void 0)throw new Error('"aria-selected" is not supported on role "'+t+'".')}if(l!==void 0){var w;if(((w=Vt.get(t))==null?void 0:w.props["aria-busy"])===void 0)throw new Error('"aria-busy" is not supported on role "'+t+'".')}if(u!==void 0){var R;if(((R=Vt.get(t))==null?void 0:R.props["aria-checked"])===void 0)throw new Error('"aria-checked" is not supported on role "'+t+'".')}if(c!==void 0){var T;if(((T=Vt.get(t))==null?void 0:T.props["aria-pressed"])===void 0)throw new Error('"aria-pressed" is not supported on role "'+t+'".')}if(p!==void 0){var C;if(((C=Vt.get(t))==null?void 0:C.props["aria-current"])===void 0)throw new Error('"aria-current" is not supported on role "'+t+'".')}if(d!==void 0&&t!=="heading")throw new Error('Role "'+t+'" cannot have "level" property.');if(h!==void 0){var N;if(((N=Vt.get(t))==null?void 0:N.props["aria-valuenow"])===void 0)throw new Error('"aria-valuenow" is not supported on role "'+t+'".')}if(_!==void 0){var I;if(((I=Vt.get(t))==null?void 0:I.props["aria-valuemax"])===void 0)throw new Error('"aria-valuemax" is not supported on role "'+t+'".')}if(m!==void 0){var j;if(((j=Vt.get(t))==null?void 0:j.props["aria-valuemin"])===void 0)throw new Error('"aria-valuemin" is not supported on role "'+t+'".')}if(b!==void 0){var z;if(((z=Vt.get(t))==null?void 0:z.props["aria-valuetext"])===void 0)throw new Error('"aria-valuetext" is not supported on role "'+t+'".')}if(f!==void 0){var Y;if(((Y=Vt.get(t))==null?void 0:Y.props["aria-expanded"])===void 0)throw new Error('"aria-expanded" is not supported on role "'+t+'".')}const U=new WeakMap;function D(Q){return U.has(Q)||U.set(Q,nS(Q)),U.get(Q)}return Array.from(e.querySelectorAll(i6(t))).filter(Q=>{if(Q.hasAttribute("role")){const G=Q.getAttribute("role");if(s)return G.split(" ").filter(Boolean).some(ve=>ve===t);const[Z]=G.split(" ");return Z===t}return Xh(Q).some(G=>G===t)}).filter(Q=>{if(i!==void 0)return i===z4(Q);if(l!==void 0)return l===Y4(Q);if(u!==void 0)return u===K4(Q);if(c!==void 0)return c===X4(Q);if(p!==void 0)return p===Q4(Q);if(f!==void 0)return f===J4(Q);if(d!==void 0)return d===Z4(Q);if(h!==void 0||_!==void 0||m!==void 0||b!==void 0){let k=!0;if(h!==void 0&&k&&(k=h===eG(Q)),_!==void 0&&k&&(k=_===tG(Q)),m!==void 0&&k&&(k=m===rG(Q)),b!==void 0){var J;k&&(k=Sr((J=nG(Q))!=null?J:null,Q,b,G=>G))}return k}return!0}).filter(Q=>a===void 0?!0:Sr(kh(Q,{computedStyleSupportsPseudoElements:Le().computedStyleSupportsPseudoElements}),Q,a,J=>J)).filter(Q=>o===void 0?!0:Sr(Gw(Q,{computedStyleSupportsPseudoElements:Le().computedStyleSupportsPseudoElements}),Q,o,J=>J)).filter(Q=>n===!1?Kh(Q,{isSubtreeInaccessible:D})===!1:!0)};function i6(e){var t;const r='*[role~="'+e+'"]',n=(t=jT.get(e))!=null?t:new Set,a=new Set(Array.from(n).map(o=>{let{name:s}=o;return s}));return[r].concat(Array.from(a)).join(",")}const lS=e=>{let t="";return e===void 0?t="":typeof e=="string"?t=' and name "'+e+'"':t=" and name `"+e+"`",t},s6=function(e,t,r){let{name:n}=r===void 0?{}:r;return'Found multiple elements with the role "'+t+'"'+lS(n)},l6=function(e,t,r){let{hidden:n=Le().defaultHidden,name:a,description:o}=r===void 0?{}:r;if(Le()._disableExpensiveErrorDiagnostics)return'Unable to find role="'+t+'"'+lS(a);let s="";Array.from(e.children).forEach(c=>{s+=V4(c,{hidden:n,includeDescription:o!==void 0})});let i;s.length===0?n===!1?i="There are no accessible roles. But there might be some inaccessible roles. If you wish to access them, then set the `hidden` option to `true`. Learn more about this here: https://testing-library.com/docs/dom-testing-library/api-queries#byrole":i="There are no available roles.":i=(`
167
167
  Here are the `+(n===!1?"accessible":"available")+` roles:
168
168
 
169
169
  `+s.replace(/\n/g,`
@@ -173,22 +173,22 @@ Here are the `+(n===!1?"accessible":"available")+` roles:
173
173
  `).trim();let l="";a===void 0?l="":typeof a=="string"?l=' and name "'+a+'"':l=" and name `"+a+"`";let u="";return o===void 0?u="":typeof o=="string"?u=' and description "'+o+'"':u=" and description `"+o+"`",(`
174
174
  Unable to find an `+(n===!1?"accessible ":"")+'element with the role "'+t+'"'+l+u+`
175
175
 
176
- `+i).trim()},l6=kt(Jp,Jp.name,"queryAll"),[u6,c6,f6,d6,p6]=$n(Jp,i6,s6),Qh=()=>Le().testIdAttribute,Zp=function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return Or(t[0]),bc(Qh(),...t)},h6=(e,t)=>"Found multiple elements by: ["+Qh()+'="'+t+'"]',m6=(e,t)=>"Unable to find an element by: ["+Qh()+'="'+t+'"]',y6=kt(Zp,Zp.name,"queryAll"),[v6,g6,b6,E6,_6]=$n(Zp,h6,m6);var eh=Object.freeze({__proto__:null,queryAllByLabelText:yG,queryByLabelText:fG,getAllByLabelText:hG,getByLabelText:mG,findAllByLabelText:dG,findByLabelText:pG,queryByPlaceholderText:EG,queryAllByPlaceholderText:bG,getByPlaceholderText:wG,getAllByPlaceholderText:_G,findAllByPlaceholderText:TG,findByPlaceholderText:SG,queryByText:xG,queryAllByText:OG,getByText:AG,getAllByText:PG,findAllByText:IG,findByText:NG,queryByDisplayValue:LG,queryAllByDisplayValue:$G,getByDisplayValue:qG,getAllByDisplayValue:BG,findAllByDisplayValue:DG,findByDisplayValue:FG,queryByAltText:WG,queryAllByAltText:GG,getByAltText:zG,getAllByAltText:VG,findAllByAltText:YG,findByAltText:KG,queryByTitle:e6,queryAllByTitle:ZG,getByTitle:r6,getAllByTitle:t6,findAllByTitle:n6,findByTitle:a6,queryByRole:u6,queryAllByRole:l6,getAllByRole:c6,getByRole:f6,findAllByRole:d6,findByRole:p6,queryByTestId:v6,queryAllByTestId:y6,getByTestId:b6,getAllByTestId:g6,findAllByTestId:E6,findByTestId:_6});function w6(e,t,r){return t===void 0&&(t=eh),r===void 0&&(r={}),Object.keys(t).reduce((n,a)=>{const o=t[a];return n[a]=o.bind(null,e),n},r)}const Db={copy:{EventType:"ClipboardEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},cut:{EventType:"ClipboardEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},paste:{EventType:"ClipboardEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},compositionEnd:{EventType:"CompositionEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},compositionStart:{EventType:"CompositionEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},compositionUpdate:{EventType:"CompositionEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},keyDown:{EventType:"KeyboardEvent",defaultInit:{bubbles:!0,cancelable:!0,charCode:0,composed:!0}},keyPress:{EventType:"KeyboardEvent",defaultInit:{bubbles:!0,cancelable:!0,charCode:0,composed:!0}},keyUp:{EventType:"KeyboardEvent",defaultInit:{bubbles:!0,cancelable:!0,charCode:0,composed:!0}},focus:{EventType:"FocusEvent",defaultInit:{bubbles:!1,cancelable:!1,composed:!0}},blur:{EventType:"FocusEvent",defaultInit:{bubbles:!1,cancelable:!1,composed:!0}},focusIn:{EventType:"FocusEvent",defaultInit:{bubbles:!0,cancelable:!1,composed:!0}},focusOut:{EventType:"FocusEvent",defaultInit:{bubbles:!0,cancelable:!1,composed:!0}},change:{EventType:"Event",defaultInit:{bubbles:!0,cancelable:!1}},input:{EventType:"InputEvent",defaultInit:{bubbles:!0,cancelable:!1,composed:!0}},invalid:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!0}},submit:{EventType:"Event",defaultInit:{bubbles:!0,cancelable:!0}},reset:{EventType:"Event",defaultInit:{bubbles:!0,cancelable:!0}},click:{EventType:"MouseEvent",defaultInit:{bubbles:!0,cancelable:!0,button:0,composed:!0}},contextMenu:{EventType:"MouseEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},dblClick:{EventType:"MouseEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},drag:{EventType:"DragEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},dragEnd:{EventType:"DragEvent",defaultInit:{bubbles:!0,cancelable:!1,composed:!0}},dragEnter:{EventType:"DragEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},dragExit:{EventType:"DragEvent",defaultInit:{bubbles:!0,cancelable:!1,composed:!0}},dragLeave:{EventType:"DragEvent",defaultInit:{bubbles:!0,cancelable:!1,composed:!0}},dragOver:{EventType:"DragEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},dragStart:{EventType:"DragEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},drop:{EventType:"DragEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},mouseDown:{EventType:"MouseEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},mouseEnter:{EventType:"MouseEvent",defaultInit:{bubbles:!1,cancelable:!1,composed:!0}},mouseLeave:{EventType:"MouseEvent",defaultInit:{bubbles:!1,cancelable:!1,composed:!0}},mouseMove:{EventType:"MouseEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},mouseOut:{EventType:"MouseEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},mouseOver:{EventType:"MouseEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},mouseUp:{EventType:"MouseEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},select:{EventType:"Event",defaultInit:{bubbles:!0,cancelable:!1}},touchCancel:{EventType:"TouchEvent",defaultInit:{bubbles:!0,cancelable:!1,composed:!0}},touchEnd:{EventType:"TouchEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},touchMove:{EventType:"TouchEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},touchStart:{EventType:"TouchEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},resize:{EventType:"UIEvent",defaultInit:{bubbles:!1,cancelable:!1}},scroll:{EventType:"UIEvent",defaultInit:{bubbles:!1,cancelable:!1}},wheel:{EventType:"WheelEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},abort:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},canPlay:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},canPlayThrough:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},durationChange:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},emptied:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},encrypted:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},ended:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},loadedData:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},loadedMetadata:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},loadStart:{EventType:"ProgressEvent",defaultInit:{bubbles:!1,cancelable:!1}},pause:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},play:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},playing:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},progress:{EventType:"ProgressEvent",defaultInit:{bubbles:!1,cancelable:!1}},rateChange:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},seeked:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},seeking:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},stalled:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},suspend:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},timeUpdate:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},volumeChange:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},waiting:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},load:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},error:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},animationStart:{EventType:"AnimationEvent",defaultInit:{bubbles:!0,cancelable:!1}},animationEnd:{EventType:"AnimationEvent",defaultInit:{bubbles:!0,cancelable:!1}},animationIteration:{EventType:"AnimationEvent",defaultInit:{bubbles:!0,cancelable:!1}},transitionCancel:{EventType:"TransitionEvent",defaultInit:{bubbles:!0,cancelable:!1}},transitionEnd:{EventType:"TransitionEvent",defaultInit:{bubbles:!0,cancelable:!0}},transitionRun:{EventType:"TransitionEvent",defaultInit:{bubbles:!0,cancelable:!1}},transitionStart:{EventType:"TransitionEvent",defaultInit:{bubbles:!0,cancelable:!1}},pointerOver:{EventType:"PointerEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},pointerEnter:{EventType:"PointerEvent",defaultInit:{bubbles:!1,cancelable:!1}},pointerDown:{EventType:"PointerEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},pointerMove:{EventType:"PointerEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},pointerUp:{EventType:"PointerEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},pointerCancel:{EventType:"PointerEvent",defaultInit:{bubbles:!0,cancelable:!1,composed:!0}},pointerOut:{EventType:"PointerEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},pointerLeave:{EventType:"PointerEvent",defaultInit:{bubbles:!1,cancelable:!1}},gotPointerCapture:{EventType:"PointerEvent",defaultInit:{bubbles:!0,cancelable:!1,composed:!0}},lostPointerCapture:{EventType:"PointerEvent",defaultInit:{bubbles:!0,cancelable:!1,composed:!0}},popState:{EventType:"PopStateEvent",defaultInit:{bubbles:!0,cancelable:!1}},offline:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},online:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}}},Fb={doubleClick:"dblClick"};function Mo(e,t){return Le().eventWrapper(()=>{if(!t)throw new Error("Unable to fire an event - please provide an event object.");if(!e)throw new Error('Unable to fire a "'+t.type+'" event - please provide a DOM element.');return e.dispatchEvent(t)})}function Ld(e,t,r,n){let{EventType:a="Event",defaultInit:o={}}=n===void 0?{}:n;if(!t)throw new Error('Unable to fire a "'+e+'" event - please provide a DOM element.');const s={...o,...r},{target:{value:i,files:l,...u}={}}=s;i!==void 0&&T6(t,i),l!==void 0&&Object.defineProperty(t,"files",{configurable:!0,enumerable:!0,writable:!0,value:l}),Object.assign(t,u);const c=XT(t),p=c[a]||c.Event;let d;if(typeof p=="function")d=new p(e,s);else{d=c.document.createEvent(a);const{bubbles:h,cancelable:m,detail:_,...b}=s;d.initEvent(e,h,m,_),Object.keys(b).forEach(v=>{d[v]=b[v]})}return["dataTransfer","clipboardData"].forEach(h=>{const m=s[h];typeof m=="object"&&(typeof c.DataTransfer=="function"?Object.defineProperty(d,h,{value:Object.getOwnPropertyNames(m).reduce((_,b)=>(Object.defineProperty(_,b,{value:m[b]}),_),new c.DataTransfer)}):Object.defineProperty(d,h,{value:m}))}),d}Object.keys(Db).forEach(e=>{const{EventType:t,defaultInit:r}=Db[e],n=e.toLowerCase();Ld[e]=(a,o)=>Ld(n,a,o,{EventType:t,defaultInit:r}),Mo[e]=(a,o)=>Mo(a,Ld[e](a,o))});function T6(e,t){const{set:r}=Object.getOwnPropertyDescriptor(e,"value")||{},n=Object.getPrototypeOf(e),{set:a}=Object.getOwnPropertyDescriptor(n,"value")||{};if(a&&r!==a)a.call(e,t);else if(r)r.call(e,t);else throw new Error("The given element does not have a value setter")}Object.keys(Fb).forEach(e=>{const t=Fb[e];Mo[e]=function(){return Mo[t](...arguments)}});function S6(e){return e.replace(/[ \t]*[\n][ \t]*/g,`
177
- `)}function R6(e){return g4.compressToEncodedURIComponent(S6(e))}function C6(e){return"https://testing-playground.com/#markup="+R6(e)}const O6=(e,t,r)=>Array.isArray(e)?e.forEach(n=>Lb(n,t,r)):Lb(e,t,r),x6=function(e){if(e===void 0&&(e=Yh().body),!e||!("innerHTML"in e)){console.log("The element you're providing isn't a valid DOM element.");return}if(!e.innerHTML){console.log("The provided element doesn't have any children.");return}const t=C6(e.innerHTML);return console.log(`Open this URL in your browser
176
+ `+i).trim()},u6=kt(Jp,Jp.name,"queryAll"),[c6,f6,d6,p6,h6]=$n(Jp,s6,l6),Qh=()=>Le().testIdAttribute,Zp=function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return Or(t[0]),bc(Qh(),...t)},m6=(e,t)=>"Found multiple elements by: ["+Qh()+'="'+t+'"]',y6=(e,t)=>"Unable to find an element by: ["+Qh()+'="'+t+'"]',v6=kt(Zp,Zp.name,"queryAll"),[g6,b6,E6,_6,w6]=$n(Zp,m6,y6);var eh=Object.freeze({__proto__:null,queryAllByLabelText:vG,queryByLabelText:dG,getAllByLabelText:mG,getByLabelText:yG,findAllByLabelText:pG,findByLabelText:hG,queryByPlaceholderText:_G,queryAllByPlaceholderText:EG,getByPlaceholderText:TG,getAllByPlaceholderText:wG,findAllByPlaceholderText:SG,findByPlaceholderText:RG,queryByText:PG,queryAllByText:xG,getByText:IG,getAllByText:AG,findAllByText:NG,findByText:MG,queryByDisplayValue:BG,queryAllByDisplayValue:LG,getByDisplayValue:DG,getAllByDisplayValue:qG,findAllByDisplayValue:FG,findByDisplayValue:UG,queryByAltText:VG,queryAllByAltText:WG,getByAltText:YG,getAllByAltText:zG,findAllByAltText:KG,findByAltText:XG,queryByTitle:t6,queryAllByTitle:e6,getByTitle:n6,getAllByTitle:r6,findAllByTitle:a6,findByTitle:o6,queryByRole:c6,queryAllByRole:u6,getAllByRole:f6,getByRole:d6,findAllByRole:p6,findByRole:h6,queryByTestId:g6,queryAllByTestId:v6,getByTestId:E6,getAllByTestId:b6,findAllByTestId:_6,findByTestId:w6});function T6(e,t,r){return t===void 0&&(t=eh),r===void 0&&(r={}),Object.keys(t).reduce((n,a)=>{const o=t[a];return n[a]=o.bind(null,e),n},r)}const Db={copy:{EventType:"ClipboardEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},cut:{EventType:"ClipboardEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},paste:{EventType:"ClipboardEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},compositionEnd:{EventType:"CompositionEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},compositionStart:{EventType:"CompositionEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},compositionUpdate:{EventType:"CompositionEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},keyDown:{EventType:"KeyboardEvent",defaultInit:{bubbles:!0,cancelable:!0,charCode:0,composed:!0}},keyPress:{EventType:"KeyboardEvent",defaultInit:{bubbles:!0,cancelable:!0,charCode:0,composed:!0}},keyUp:{EventType:"KeyboardEvent",defaultInit:{bubbles:!0,cancelable:!0,charCode:0,composed:!0}},focus:{EventType:"FocusEvent",defaultInit:{bubbles:!1,cancelable:!1,composed:!0}},blur:{EventType:"FocusEvent",defaultInit:{bubbles:!1,cancelable:!1,composed:!0}},focusIn:{EventType:"FocusEvent",defaultInit:{bubbles:!0,cancelable:!1,composed:!0}},focusOut:{EventType:"FocusEvent",defaultInit:{bubbles:!0,cancelable:!1,composed:!0}},change:{EventType:"Event",defaultInit:{bubbles:!0,cancelable:!1}},input:{EventType:"InputEvent",defaultInit:{bubbles:!0,cancelable:!1,composed:!0}},invalid:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!0}},submit:{EventType:"Event",defaultInit:{bubbles:!0,cancelable:!0}},reset:{EventType:"Event",defaultInit:{bubbles:!0,cancelable:!0}},click:{EventType:"MouseEvent",defaultInit:{bubbles:!0,cancelable:!0,button:0,composed:!0}},contextMenu:{EventType:"MouseEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},dblClick:{EventType:"MouseEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},drag:{EventType:"DragEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},dragEnd:{EventType:"DragEvent",defaultInit:{bubbles:!0,cancelable:!1,composed:!0}},dragEnter:{EventType:"DragEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},dragExit:{EventType:"DragEvent",defaultInit:{bubbles:!0,cancelable:!1,composed:!0}},dragLeave:{EventType:"DragEvent",defaultInit:{bubbles:!0,cancelable:!1,composed:!0}},dragOver:{EventType:"DragEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},dragStart:{EventType:"DragEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},drop:{EventType:"DragEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},mouseDown:{EventType:"MouseEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},mouseEnter:{EventType:"MouseEvent",defaultInit:{bubbles:!1,cancelable:!1,composed:!0}},mouseLeave:{EventType:"MouseEvent",defaultInit:{bubbles:!1,cancelable:!1,composed:!0}},mouseMove:{EventType:"MouseEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},mouseOut:{EventType:"MouseEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},mouseOver:{EventType:"MouseEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},mouseUp:{EventType:"MouseEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},select:{EventType:"Event",defaultInit:{bubbles:!0,cancelable:!1}},touchCancel:{EventType:"TouchEvent",defaultInit:{bubbles:!0,cancelable:!1,composed:!0}},touchEnd:{EventType:"TouchEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},touchMove:{EventType:"TouchEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},touchStart:{EventType:"TouchEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},resize:{EventType:"UIEvent",defaultInit:{bubbles:!1,cancelable:!1}},scroll:{EventType:"UIEvent",defaultInit:{bubbles:!1,cancelable:!1}},wheel:{EventType:"WheelEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},abort:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},canPlay:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},canPlayThrough:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},durationChange:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},emptied:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},encrypted:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},ended:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},loadedData:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},loadedMetadata:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},loadStart:{EventType:"ProgressEvent",defaultInit:{bubbles:!1,cancelable:!1}},pause:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},play:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},playing:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},progress:{EventType:"ProgressEvent",defaultInit:{bubbles:!1,cancelable:!1}},rateChange:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},seeked:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},seeking:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},stalled:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},suspend:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},timeUpdate:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},volumeChange:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},waiting:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},load:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},error:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},animationStart:{EventType:"AnimationEvent",defaultInit:{bubbles:!0,cancelable:!1}},animationEnd:{EventType:"AnimationEvent",defaultInit:{bubbles:!0,cancelable:!1}},animationIteration:{EventType:"AnimationEvent",defaultInit:{bubbles:!0,cancelable:!1}},transitionCancel:{EventType:"TransitionEvent",defaultInit:{bubbles:!0,cancelable:!1}},transitionEnd:{EventType:"TransitionEvent",defaultInit:{bubbles:!0,cancelable:!0}},transitionRun:{EventType:"TransitionEvent",defaultInit:{bubbles:!0,cancelable:!1}},transitionStart:{EventType:"TransitionEvent",defaultInit:{bubbles:!0,cancelable:!1}},pointerOver:{EventType:"PointerEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},pointerEnter:{EventType:"PointerEvent",defaultInit:{bubbles:!1,cancelable:!1}},pointerDown:{EventType:"PointerEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},pointerMove:{EventType:"PointerEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},pointerUp:{EventType:"PointerEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},pointerCancel:{EventType:"PointerEvent",defaultInit:{bubbles:!0,cancelable:!1,composed:!0}},pointerOut:{EventType:"PointerEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},pointerLeave:{EventType:"PointerEvent",defaultInit:{bubbles:!1,cancelable:!1}},gotPointerCapture:{EventType:"PointerEvent",defaultInit:{bubbles:!0,cancelable:!1,composed:!0}},lostPointerCapture:{EventType:"PointerEvent",defaultInit:{bubbles:!0,cancelable:!1,composed:!0}},popState:{EventType:"PopStateEvent",defaultInit:{bubbles:!0,cancelable:!1}},offline:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},online:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}}},Fb={doubleClick:"dblClick"};function Mo(e,t){return Le().eventWrapper(()=>{if(!t)throw new Error("Unable to fire an event - please provide an event object.");if(!e)throw new Error('Unable to fire a "'+t.type+'" event - please provide a DOM element.');return e.dispatchEvent(t)})}function Ld(e,t,r,n){let{EventType:a="Event",defaultInit:o={}}=n===void 0?{}:n;if(!t)throw new Error('Unable to fire a "'+e+'" event - please provide a DOM element.');const s={...o,...r},{target:{value:i,files:l,...u}={}}=s;i!==void 0&&S6(t,i),l!==void 0&&Object.defineProperty(t,"files",{configurable:!0,enumerable:!0,writable:!0,value:l}),Object.assign(t,u);const c=XT(t),p=c[a]||c.Event;let d;if(typeof p=="function")d=new p(e,s);else{d=c.document.createEvent(a);const{bubbles:h,cancelable:m,detail:_,...b}=s;d.initEvent(e,h,m,_),Object.keys(b).forEach(v=>{d[v]=b[v]})}return["dataTransfer","clipboardData"].forEach(h=>{const m=s[h];typeof m=="object"&&(typeof c.DataTransfer=="function"?Object.defineProperty(d,h,{value:Object.getOwnPropertyNames(m).reduce((_,b)=>(Object.defineProperty(_,b,{value:m[b]}),_),new c.DataTransfer)}):Object.defineProperty(d,h,{value:m}))}),d}Object.keys(Db).forEach(e=>{const{EventType:t,defaultInit:r}=Db[e],n=e.toLowerCase();Ld[e]=(a,o)=>Ld(n,a,o,{EventType:t,defaultInit:r}),Mo[e]=(a,o)=>Mo(a,Ld[e](a,o))});function S6(e,t){const{set:r}=Object.getOwnPropertyDescriptor(e,"value")||{},n=Object.getPrototypeOf(e),{set:a}=Object.getOwnPropertyDescriptor(n,"value")||{};if(a&&r!==a)a.call(e,t);else if(r)r.call(e,t);else throw new Error("The given element does not have a value setter")}Object.keys(Fb).forEach(e=>{const t=Fb[e];Mo[e]=function(){return Mo[t](...arguments)}});function R6(e){return e.replace(/[ \t]*[\n][ \t]*/g,`
177
+ `)}function C6(e){return b4.compressToEncodedURIComponent(R6(e))}function O6(e){return"https://testing-playground.com/#markup="+C6(e)}const x6=(e,t,r)=>Array.isArray(e)?e.forEach(n=>Lb(n,t,r)):Lb(e,t,r),P6=function(e){if(e===void 0&&(e=Yh().body),!e||!("innerHTML"in e)){console.log("The element you're providing isn't a valid DOM element.");return}if(!e.innerHTML){console.log("The provided element doesn't have any children.");return}const t=O6(e.innerHTML);return console.log(`Open this URL in your browser
178
178
 
179
- `+t),t},Ub={debug:O6,logTestingPlaygroundURL:x6};typeof document<"u"&&document.body?w6(document.body,eh,Ub):Object.keys(eh).reduce((e,t)=>(e[t]=()=>{throw new TypeError("For queries bound to document.body a global document has to be available... Learn more: https://testing-library.com/s/screen-global-error")},e),Ub);const P6=ZI.act;function uS(){if(typeof globalThis<"u")return globalThis;if(typeof self<"u")return self;if(typeof window<"u")return window;if(typeof global<"u")return global;throw new Error("unable to locate global object")}function _r(e){uS().IS_REACT_ACT_ENVIRONMENT=e}function Es(){return uS().IS_REACT_ACT_ENVIRONMENT}function A6(e){return t=>{const r=Es();_r(!0);try{let n=!1;const a=e(()=>{const o=t();return o!==null&&typeof o=="object"&&typeof o.then=="function"&&(n=!0),o});if(n){const o=a;return{then:(s,i)=>{o.then(l=>{_r(r),s(l)},l=>{_r(r),i(l)})}}}else return _r(r),a}catch(n){throw _r(r),n}}}const th=A6(P6);Object.keys(Mo).forEach(e=>{});function I6(){return typeof jest<"u"&&jest!==null?setTimeout._isMockFunction===!0||Object.prototype.hasOwnProperty.call(setTimeout,"clock"):!1}D4({unstable_advanceTimersWrapper:e=>th(e),asyncWrapper:async e=>{const t=Es();_r(!1);try{const r=await e();return await new Promise(n=>{setTimeout(()=>{n()},0),I6()&&jest.advanceTimersByTime(0)}),r}finally{_r(t)}},eventWrapper:e=>{let t;return th(()=>{t=e()}),t}});const N6=new Set,jb=[];function Hb(){jb.forEach(e=>{let{root:t,container:r}=e;th(()=>{t.unmount()}),r.parentNode===document.body&&document.body.removeChild(r)}),jb.length=0,N6.clear()}var uE;if((typeof process>"u"||!((uE=process.env)!=null&&uE.RTL_SKIP_AUTO_CLEANUP))&&(typeof afterEach=="function"?afterEach(()=>{Hb()}):typeof teardown=="function"&&teardown(()=>{Hb()}),typeof beforeAll=="function"&&typeof afterAll=="function")){let e=Es();beforeAll(()=>{e=Es(),_r(!0)}),afterAll(()=>{_r(e)})}var Gb;(function(e){e.button="button",e.color="color",e.file="file",e.image="image",e.reset="reset",e.submit="submit",e.checkbox="checkbox",e.radio="radio"})(Gb||(Gb={}));var Ln={};Object.defineProperty(Ln,"__esModule",{value:!0});Ln.TEXT_NODE=void 0;Ln.checkContainerType=B6;Ln.getDocument=$6;Ln.getWindowFromNode=L6;Ln.jestFakeTimersAreEnabled=k6;const M6=3;Ln.TEXT_NODE=M6;function k6(){return typeof jest<"u"&&jest!==null?setTimeout._isMockFunction===!0||Object.prototype.hasOwnProperty.call(setTimeout,"clock"):!1}function $6(){if(typeof window>"u")throw new Error("Could not find default container");return window.document}function L6(e){if(e.defaultView)return e.defaultView;if(e.ownerDocument&&e.ownerDocument.defaultView)return e.ownerDocument.defaultView;if(e.window)return e.window;throw e.ownerDocument&&e.ownerDocument.defaultView===null?new Error("It looks like the window object is not available for the provided node."):e.then instanceof Function?new Error("It looks like you passed a Promise object instead of a DOM node. Did you do something like `fireEvent.click(screen.findBy...` when you meant to use a `getBy` query `fireEvent.click(screen.getBy...`, or await the findBy query `fireEvent.click(await screen.findBy...`?"):Array.isArray(e)?new Error("It looks like you passed an Array instead of a DOM node. Did you do something like `fireEvent.click(screen.getAllBy...` when you meant to use a `getBy` query `fireEvent.click(screen.getBy...`?"):typeof e.debug=="function"&&typeof e.logTestingPlaygroundURL=="function"?new Error("It looks like you passed a `screen` object. Did you do something like `fireEvent.click(screen, ...` when you meant to use a query, e.g. `fireEvent.click(screen.getBy..., `?"):new Error(`The given node is not an Element, the node type is: ${typeof e}.`)}function B6(e){if(!e||typeof e.querySelector!="function"||typeof e.querySelectorAll!="function")throw new TypeError(`Expected container to be an Element, a Document or a DocumentFragment but got ${t(e)}.`);function t(r){return typeof r=="object"?r===null?"null":r.constructor.name:typeof r}}const Jh=Symbol("Manage ClipboardSub");function cS(e){var t;return!!(!((t=e)===null||t===void 0)&&t[Jh])}function q6(e){cS(e.navigator.clipboard)&&e.navigator.clipboard[Jh].resetClipboardStub()}function D6(e){cS(e.navigator.clipboard)&&e.navigator.clipboard[Jh].detachClipboardStub()}typeof globalThis.afterEach=="function"&&globalThis.afterEach(()=>q6(globalThis.window));typeof globalThis.afterAll=="function"&&globalThis.afterAll(()=>D6(globalThis.window));var Wb;(function(e){e.text="text",e.date="date",e["datetime-local"]="datetime-local",e.email="email",e.month="month",e.number="number",e.password="password",e.search="search",e.tel="tel",e.time="time",e.url="url",e.week="week"})(Wb||(Wb={}));var Vb;(function(e){e.email="email",e.password="password",e.search="search",e.telephone="telephone",e.text="text",e.url="url"})(Vb||(Vb={}));var zb;(function(e){e["{"]="}",e["["]="]"})(zb||(zb={}));var Yb;(function(e){e[e.Trigger=2]="Trigger",e[e.Call=1]="Call"})(Yb||(Yb={}));var rh;(function(e){e[e.EachTrigger=4]="EachTrigger",e[e.EachApiCall=2]="EachApiCall",e[e.EachTarget=1]="EachTarget",e[e.Never=0]="Never"})(rh||(rh={}));var ko={};Object.defineProperty(ko,"__esModule",{value:!0});var fS=ko.eventMap=ko.eventAliasMap=void 0;const F6={copy:{EventType:"ClipboardEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},cut:{EventType:"ClipboardEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},paste:{EventType:"ClipboardEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},compositionEnd:{EventType:"CompositionEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},compositionStart:{EventType:"CompositionEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},compositionUpdate:{EventType:"CompositionEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},keyDown:{EventType:"KeyboardEvent",defaultInit:{bubbles:!0,cancelable:!0,charCode:0,composed:!0}},keyPress:{EventType:"KeyboardEvent",defaultInit:{bubbles:!0,cancelable:!0,charCode:0,composed:!0}},keyUp:{EventType:"KeyboardEvent",defaultInit:{bubbles:!0,cancelable:!0,charCode:0,composed:!0}},focus:{EventType:"FocusEvent",defaultInit:{bubbles:!1,cancelable:!1,composed:!0}},blur:{EventType:"FocusEvent",defaultInit:{bubbles:!1,cancelable:!1,composed:!0}},focusIn:{EventType:"FocusEvent",defaultInit:{bubbles:!0,cancelable:!1,composed:!0}},focusOut:{EventType:"FocusEvent",defaultInit:{bubbles:!0,cancelable:!1,composed:!0}},change:{EventType:"Event",defaultInit:{bubbles:!0,cancelable:!1}},input:{EventType:"InputEvent",defaultInit:{bubbles:!0,cancelable:!1,composed:!0}},invalid:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!0}},submit:{EventType:"Event",defaultInit:{bubbles:!0,cancelable:!0}},reset:{EventType:"Event",defaultInit:{bubbles:!0,cancelable:!0}},click:{EventType:"MouseEvent",defaultInit:{bubbles:!0,cancelable:!0,button:0,composed:!0}},contextMenu:{EventType:"MouseEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},dblClick:{EventType:"MouseEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},drag:{EventType:"DragEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},dragEnd:{EventType:"DragEvent",defaultInit:{bubbles:!0,cancelable:!1,composed:!0}},dragEnter:{EventType:"DragEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},dragExit:{EventType:"DragEvent",defaultInit:{bubbles:!0,cancelable:!1,composed:!0}},dragLeave:{EventType:"DragEvent",defaultInit:{bubbles:!0,cancelable:!1,composed:!0}},dragOver:{EventType:"DragEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},dragStart:{EventType:"DragEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},drop:{EventType:"DragEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},mouseDown:{EventType:"MouseEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},mouseEnter:{EventType:"MouseEvent",defaultInit:{bubbles:!1,cancelable:!1,composed:!0}},mouseLeave:{EventType:"MouseEvent",defaultInit:{bubbles:!1,cancelable:!1,composed:!0}},mouseMove:{EventType:"MouseEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},mouseOut:{EventType:"MouseEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},mouseOver:{EventType:"MouseEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},mouseUp:{EventType:"MouseEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},select:{EventType:"Event",defaultInit:{bubbles:!0,cancelable:!1}},touchCancel:{EventType:"TouchEvent",defaultInit:{bubbles:!0,cancelable:!1,composed:!0}},touchEnd:{EventType:"TouchEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},touchMove:{EventType:"TouchEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},touchStart:{EventType:"TouchEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},resize:{EventType:"UIEvent",defaultInit:{bubbles:!1,cancelable:!1}},scroll:{EventType:"UIEvent",defaultInit:{bubbles:!1,cancelable:!1}},wheel:{EventType:"WheelEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},abort:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},canPlay:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},canPlayThrough:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},durationChange:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},emptied:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},encrypted:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},ended:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},loadedData:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},loadedMetadata:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},loadStart:{EventType:"ProgressEvent",defaultInit:{bubbles:!1,cancelable:!1}},pause:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},play:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},playing:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},progress:{EventType:"ProgressEvent",defaultInit:{bubbles:!1,cancelable:!1}},rateChange:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},seeked:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},seeking:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},stalled:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},suspend:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},timeUpdate:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},volumeChange:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},waiting:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},load:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},error:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},animationStart:{EventType:"AnimationEvent",defaultInit:{bubbles:!0,cancelable:!1}},animationEnd:{EventType:"AnimationEvent",defaultInit:{bubbles:!0,cancelable:!1}},animationIteration:{EventType:"AnimationEvent",defaultInit:{bubbles:!0,cancelable:!1}},transitionCancel:{EventType:"TransitionEvent",defaultInit:{bubbles:!0,cancelable:!1}},transitionEnd:{EventType:"TransitionEvent",defaultInit:{bubbles:!0,cancelable:!0}},transitionRun:{EventType:"TransitionEvent",defaultInit:{bubbles:!0,cancelable:!1}},transitionStart:{EventType:"TransitionEvent",defaultInit:{bubbles:!0,cancelable:!1}},pointerOver:{EventType:"PointerEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},pointerEnter:{EventType:"PointerEvent",defaultInit:{bubbles:!1,cancelable:!1}},pointerDown:{EventType:"PointerEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},pointerMove:{EventType:"PointerEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},pointerUp:{EventType:"PointerEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},pointerCancel:{EventType:"PointerEvent",defaultInit:{bubbles:!0,cancelable:!1,composed:!0}},pointerOut:{EventType:"PointerEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},pointerLeave:{EventType:"PointerEvent",defaultInit:{bubbles:!1,cancelable:!1}},gotPointerCapture:{EventType:"PointerEvent",defaultInit:{bubbles:!0,cancelable:!1,composed:!0}},lostPointerCapture:{EventType:"PointerEvent",defaultInit:{bubbles:!0,cancelable:!1,composed:!0}},popState:{EventType:"PopStateEvent",defaultInit:{bubbles:!0,cancelable:!1}},offline:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},online:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}}};fS=ko.eventMap=F6;const U6={doubleClick:"dblClick"};ko.eventAliasMap=U6;const j6={...fS,click:{EventType:"PointerEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},auxclick:{EventType:"PointerEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},contextmenu:{EventType:"PointerEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},beforeInput:{EventType:"InputEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}}};Object.fromEntries(Object.keys(j6).map(e=>[e.toLowerCase(),e]));var Mt;(function(e){e[e.STANDARD=0]="STANDARD",e[e.LEFT=1]="LEFT",e[e.RIGHT=2]="RIGHT",e[e.NUMPAD=3]="NUMPAD"})(Mt||(Mt={}));const H6=[..."0123456789".split("").map(e=>({code:`Digit${e}`,key:e})),...")!@#$%^&*(".split("").map((e,t)=>({code:`Digit${t}`,key:e,shiftKey:!0})),..."abcdefghijklmnopqrstuvwxyz".split("").map(e=>({code:`Key${e.toUpperCase()}`,key:e})),..."ABCDEFGHIJKLMNOPQRSTUVWXYZ".split("").map(e=>({code:`Key${e}`,key:e,shiftKey:!0})),{code:"Space",key:" "},{code:"AltLeft",key:"Alt",location:Mt.LEFT},{code:"AltRight",key:"Alt",location:Mt.RIGHT},{code:"ShiftLeft",key:"Shift",location:Mt.LEFT},{code:"ShiftRight",key:"Shift",location:Mt.RIGHT},{code:"ControlLeft",key:"Control",location:Mt.LEFT},{code:"ControlRight",key:"Control",location:Mt.RIGHT},{code:"MetaLeft",key:"Meta",location:Mt.LEFT},{code:"MetaRight",key:"Meta",location:Mt.RIGHT},{code:"OSLeft",key:"OS",location:Mt.LEFT},{code:"OSRight",key:"OS",location:Mt.RIGHT},{code:"Tab",key:"Tab"},{code:"CapsLock",key:"CapsLock"},{code:"Backspace",key:"Backspace"},{code:"Enter",key:"Enter"},{code:"Escape",key:"Escape"},{code:"ArrowUp",key:"ArrowUp"},{code:"ArrowDown",key:"ArrowDown"},{code:"ArrowLeft",key:"ArrowLeft"},{code:"ArrowRight",key:"ArrowRight"},{code:"Home",key:"Home"},{code:"End",key:"End"},{code:"Delete",key:"Delete"},{code:"PageUp",key:"PageUp"},{code:"PageDown",key:"PageDown"},{code:"Fn",key:"Fn"},{code:"Symbol",key:"Symbol"},{code:"AltRight",key:"AltGraph"}],G6=[{name:"MouseLeft",pointerType:"mouse",button:"primary"},{name:"MouseRight",pointerType:"mouse",button:"secondary"},{name:"MouseMiddle",pointerType:"mouse",button:"auxiliary"},{name:"TouchA",pointerType:"touch"},{name:"TouchB",pointerType:"touch"},{name:"TouchC",pointerType:"touch"}];globalThis.document,rh.EachApiCall;const lr=({variant:e="primary",size:t="medium",styling:r={muted:!1,fullWidth:!1},icon:n=!1,href:a=!1,element:o="button",onClick:s=!1,className:i="",disabled:l=!1,screenreaderText:u=!1,children:c=!1,...p})=>{const f=xs(typeof t=="object");if(typeof t=="object"&&typeof f=="number"){const _=Object.assign({},t),b=_0(Object.keys(_));t=w0(f,b,_)}const h=[];typeof t=="string"&&h.push(t),n&&(h.push("icon"),typeof n=="object"?(h.push(n.icon),n.position?h.push(n.position):h.push("left"),n.hover&&h.push(`hover_${n.hover}`),n.animate&&(h.push("animate"),typeof n.animate=="string"&&h.push(n.animate))):(h.push(n),!n.includes("right")&&!n.includes("left")&&h.push("left"))),r.muted&&h.push("muted"),r.fullWidth&&h.push("full-width");const m={...p,className:Se(e,i,h,{"no-text":!c,disabled:l,button:a}),onClick:_=>{(!a||a[0]==="#")&&s&&(_.preventDefault(),_.stopPropagation()),s&&s(_)},disabled:typeof l=="object"&&"isClickable"in l?!l.isClickable:l};return a&&(o="a",m.href=a),re.createElement(o,m,c||(u?M.jsx(Pt,{showOnFocus:!1,children:u}):null))},W6=({href:e,children:t,className:r="",onClick:n=()=>{},gtmContext:a,gtmType:o,...s})=>e?M.jsx("a",{href:e,className:Se("gtm-trackable",r),onClick:n,"data-gtm-event-context":a,"data-gtm-event-type":o,...s,children:t}):t,Kb={card:{range:[{height:320,width:320},{height:425,width:687},{height:510,width:768}],sizes:"(min-width: 1024px) 720px, 30vw"},responsiveCard:{range:[{height:125,width:200},{height:188,width:300},{height:313,width:500}],sizes:"(min-width: 1024px) 720px, 30vw"},banner:{range:[{height:124,width:425},{height:320,width:768},{height:510,width:1368}],sizes:"(min-width: 1024px) 975px, 50vw"},feed:{range:[{height:270,width:124},{height:320,width:425},{height:425,width:687}],sizes:"(min-width: 1024px) 510px, 20vw"},fallback:{range:[{height:124,width:375},{height:320,width:687},{height:510,width:990}],sizes:"(min-width: 1024px) 885px, 35vw"},thumbnail:{range:[{height:124,width:124},{height:320,width:320},{height:510,width:510}],sizes:"(min-width: 1024px) 453px, 20vw"}},V6=({aspect:e,range:t,sizes:r})=>{const{range:n,sizes:a}=e?Kb[e]:Kb.fallback;return{range:t&&t.length>0?t:n,sizes:r||a}},z6=({format:e,height:t,query:r,width:n})=>{let a=`w=${n}&h=${t}`;return a=e?`${a}&fm=${e}`:a,a=r?`${a}&${r}`:a,a},Bd=({format:e,range:t,url:r,query:n})=>t.map(({height:a,width:o})=>`${r}?${z6({format:e,height:a,query:n,width:o})} ${o}w`).join(", ");const dS=({image:e,className:t,testId:r})=>{const{description:n,height:a,type:o,query:s,url:i,width:l,loading:u,decoding:c,fetchPriority:p}=e,{range:d,sizes:f}=V6(e),h=Bd({format:"avif",query:s,range:d,url:i}),m=Bd({format:"webp",query:s,range:d,url:i}),_=Bd({format:"",query:s,range:d,url:i});return M.jsxs("picture",{className:t,children:[o!=="image/gif"&&M.jsx("source",{type:"image/avif",srcSet:h,sizes:f,"data-testid":"source"}),M.jsx("source",{type:"image/webp",srcSet:m,sizes:f,"data-testid":"source"}),M.jsx("img",{srcSet:_,sizes:f,src:i,alt:n,loading:u||"lazy",decoding:c||"async",fetchpriority:p||"auto",width:l,height:a,"data-testid":r||"image"})]})};const Y6=["small","span","strong","em","p","h1","h2","h3","h4","h5","h6","blockquote","q"],K6=({content:e,image:t,variant:r="default",cta:n,children:a})=>{const o=["eyebrow","title","text"],s={eyebrow:"small",title:"h1",text:"p"},i={};return o.forEach(l=>{if(!e[l]){i[l]=!1;return}if(typeof e[l]=="object"){i[l]=e[l];const{text:u,element:c}=e[l];if(c&&Y6.includes(c.toLowerCase()))return;i[l]={text:u,element:s[l]};return}i[l]={text:e[l],element:s[l]}}),n&&n.link&&n.link[0]==="#"&&(n.props||(n.props={}),n.props.onClick=l=>{l.preventDefault(),l.stopPropagation();const u=document.getElementById(n.link.substring(1));u&&u.scrollIntoView({behavior:"smooth"})}),M.jsxs("section",{className:Se("banner-section",r,{"has-image":t,"has-extra-spacing":i.eyebrow&&i.title}),children:[M.jsxs("div",{className:"content-wrapper",children:[o.map(l=>{if(i[l]&&typeof i[l]=="object"){const{text:u,element:c=""}=i[l];return re.createElement(c.toLowerCase(),{key:l,className:l},u)}return null}),a,n&&n.text&&n.link&&M.jsx(lr,{variant:t||r==="light"?"primary":"secondary",size:{mobile:"medium",768:"large"},href:n.link,...n.props,children:n.text})]}),t&&M.jsx(dS,{image:{...t,aspect:"banner"}})]})},X6=re.memo(K6);const Q6=({variant:e="primary",button:t=null,title:r,text:n,gtmContext:a})=>!r&&!n?null:M.jsxs("aside",{className:Se("marketing-block",e),children:[r&&M.jsx("p",{className:"title",children:r}),n&&M.jsx("p",{children:n}),t&&M.jsx(lr,{variant:"secondary",size:"medium",href:t.link,className:"gtm-trackable","data-gtm-event-context":a,"data-gtm-event-type":"learn-more-click",children:t.text})]}),pS="https://storage.googleapis.com/apolitical-assets/",J6="200,000+",Zh=re.createContext(null),Z6=({children:e,user:t})=>M.jsx(Zh.Provider,{value:t,children:e});const e8=({label:e=!1,className:t="",children:r})=>{const n=ut();return M.jsxs("details",{className:Se("collapsible-section",t),children:[M.jsx("summary",{children:e||n.formatMessage({id:"collapsibleSection_summary"})}),M.jsx("div",{className:"content",children:r})]})},t8=({locale:e="en",...t})=>M.jsx(Et,{locale:e,children:M.jsx(e8,{...t})});function En(){return En=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},En.apply(this,arguments)}const r8=["children","options"],Xb=["allowFullScreen","allowTransparency","autoComplete","autoFocus","autoPlay","cellPadding","cellSpacing","charSet","className","classId","colSpan","contentEditable","contextMenu","crossOrigin","encType","formAction","formEncType","formMethod","formNoValidate","formTarget","frameBorder","hrefLang","inputMode","keyParams","keyType","marginHeight","marginWidth","maxLength","mediaGroup","minLength","noValidate","radioGroup","readOnly","rowSpan","spellCheck","srcDoc","srcLang","srcSet","tabIndex","useMap"].reduce((e,t)=>(e[t.toLowerCase()]=t,e),{for:"htmlFor"}),Qb={amp:"&",apos:"'",gt:">",lt:"<",nbsp:" ",quot:"“"},n8=["style","script"],a8=/([-A-Z0-9_:]+)(?:\s*=\s*(?:(?:"((?:\\.|[^"])*)")|(?:'((?:\\.|[^'])*)')|(?:\{((?:\\.|{[^}]*?}|[^}])*)\})))?/gi,o8=/mailto:/i,i8=/\n{2,}$/,hS=/^( *>[^\n]+(\n[^\n]+)*\n*)+\n{2,}/,s8=/^ *> ?/gm,l8=/^ {2,}\n/,u8=/^(?:( *[-*_])){3,} *(?:\n *)+\n/,mS=/^\s*(`{3,}|~{3,}) *(\S+)?([^\n]*?)?\n([\s\S]+?)\s*\1 *(?:\n *)*\n?/,yS=/^(?: {4}[^\n]+\n*)+(?:\n *)+\n?/,c8=/^(`+)\s*([\s\S]*?[^`])\s*\1(?!`)/,f8=/^(?:\n *)*\n/,d8=/\r\n?/g,p8=/^\[\^([^\]]+)](:.*)\n/,h8=/^\[\^([^\]]+)]/,m8=/\f/g,y8=/^\s*?\[(x|\s)\]/,vS=/^ *(#{1,6}) *([^\n]+?)(?: +#*)?(?:\n *)*(?:\n|$)/,gS=/^ *(#{1,6}) +([^\n]+?)(?: +#*)?(?:\n *)*(?:\n|$)/,bS=/^([^\n]+)\n *(=|-){3,} *(?:\n *)+\n/,nh=/^ *(?!<[a-z][^ >/]* ?\/>)<([a-z][^ >/]*) ?([^>]*)\/{0}>\n?(\s*(?:<\1[^>]*?>[\s\S]*?<\/\1>|(?!<\1)[\s\S])*?)<\/\1>\n*/i,v8=/&([a-z0-9]+|#[0-9]{1,6}|#x[0-9a-fA-F]{1,6});/gi,ES=/^<!--[\s\S]*?(?:-->)/,g8=/^(data|aria|x)-[a-z_][a-z\d_.-]*$/,ah=/^ *<([a-z][a-z0-9:]*)(?:\s+((?:<.*?>|[^>])*))?\/?>(?!<\/\1>)(\s*\n)?/i,b8=/^\{.*\}$/,E8=/^(https?:\/\/[^\s<]+[^<.,:;"')\]\s])/,_8=/^<([^ >]+@[^ >]+)>/,w8=/^<([^ >]+:\/[^ >]+)>/,T8=/-([a-z])?/gi,_S=/^(.*\|?.*)\n *(\|? *[-:]+ *\|[-| :]*)\n((?:.*\|.*\n)*)\n?/,S8=/^\[([^\]]*)\]:\s+<?([^\s>]+)>?\s*("([^"]*)")?/,R8=/^!\[([^\]]*)\] ?\[([^\]]*)\]/,C8=/^\[([^\]]*)\] ?\[([^\]]*)\]/,O8=/(\[|\])/g,x8=/(\n|^[-*]\s|^#|^ {2,}|^-{2,}|^>\s)/,P8=/\t/g,A8=/^ *\| */,I8=/(^ *\||\| *$)/g,N8=/ *$/,M8=/^ *:-+: *$/,k8=/^ *:-+ *$/,$8=/^ *-+: *$/,L8=/^([*_])\1((?:\[.*?\][([].*?[)\]]|<.*?>(?:.*?<.*?>)?|`.*?`|~+.*?~+|.)*?)\1\1(?!\1)/,B8=/^([*_])((?:\[.*?\][([].*?[)\]]|<.*?>(?:.*?<.*?>)?|`.*?`|~+.*?~+|.)*?)\1(?!\1|\w)/,q8=/^==((?:\[.*?\]|<.*?>(?:.*?<.*?>)?|`.*?`|.)*?)==/,D8=/^~~((?:\[.*?\]|<.*?>(?:.*?<.*?>)?|`.*?`|.)*?)~~/,F8=/^\\([^0-9A-Za-z\s])/,U8=/^[\s\S]+?(?=[^0-9A-Z\s\u00c0-\uffff&#;.()'"]|\d+\.|\n\n| {2,}\n|\w+:\S|$)/i,j8=/^\n+/,H8=/^([ \t]*)/,G8=/\\([^\\])/g,Jb=/ *\n+$/,W8=/(?:^|\n)( *)$/,em="(?:\\d+\\.)",tm="(?:[*+-])";function wS(e){return"( *)("+(e===1?em:tm)+") +"}const TS=wS(1),SS=wS(2);function RS(e){return new RegExp("^"+(e===1?TS:SS))}const V8=RS(1),z8=RS(2);function CS(e){return new RegExp("^"+(e===1?TS:SS)+"[^\\n]*(?:\\n(?!\\1"+(e===1?em:tm)+" )[^\\n]*)*(\\n|$)","gm")}const OS=CS(1),xS=CS(2);function PS(e){const t=e===1?em:tm;return new RegExp("^( *)("+t+") [\\s\\S]+?(?:\\n{2,}(?! )(?!\\1"+t+" (?!"+t+" ))\\n*|\\s*\\n*$)")}const AS=PS(1),IS=PS(2);function Zb(e,t){const r=t===1,n=r?AS:IS,a=r?OS:xS,o=r?V8:z8;return{t(s,i,l){const u=W8.exec(l);return u&&(i.o||!i._&&!i.u)?n.exec(s=u[1]+s):null},i:Ce.HIGH,l(s,i,l){const u=r?+s[2]:void 0,c=s[0].replace(i8,`
179
+ `+t),t},Ub={debug:x6,logTestingPlaygroundURL:P6};typeof document<"u"&&document.body?T6(document.body,eh,Ub):Object.keys(eh).reduce((e,t)=>(e[t]=()=>{throw new TypeError("For queries bound to document.body a global document has to be available... Learn more: https://testing-library.com/s/screen-global-error")},e),Ub);const A6=eN.act;function uS(){if(typeof globalThis<"u")return globalThis;if(typeof self<"u")return self;if(typeof window<"u")return window;if(typeof global<"u")return global;throw new Error("unable to locate global object")}function _r(e){uS().IS_REACT_ACT_ENVIRONMENT=e}function Es(){return uS().IS_REACT_ACT_ENVIRONMENT}function I6(e){return t=>{const r=Es();_r(!0);try{let n=!1;const a=e(()=>{const o=t();return o!==null&&typeof o=="object"&&typeof o.then=="function"&&(n=!0),o});if(n){const o=a;return{then:(s,i)=>{o.then(l=>{_r(r),s(l)},l=>{_r(r),i(l)})}}}else return _r(r),a}catch(n){throw _r(r),n}}}const th=I6(A6);Object.keys(Mo).forEach(e=>{});function N6(){return typeof jest<"u"&&jest!==null?setTimeout._isMockFunction===!0||Object.prototype.hasOwnProperty.call(setTimeout,"clock"):!1}F4({unstable_advanceTimersWrapper:e=>th(e),asyncWrapper:async e=>{const t=Es();_r(!1);try{const r=await e();return await new Promise(n=>{setTimeout(()=>{n()},0),N6()&&jest.advanceTimersByTime(0)}),r}finally{_r(t)}},eventWrapper:e=>{let t;return th(()=>{t=e()}),t}});const M6=new Set,jb=[];function Hb(){jb.forEach(e=>{let{root:t,container:r}=e;th(()=>{t.unmount()}),r.parentNode===document.body&&document.body.removeChild(r)}),jb.length=0,M6.clear()}var uE;if((typeof process>"u"||!((uE=process.env)!=null&&uE.RTL_SKIP_AUTO_CLEANUP))&&(typeof afterEach=="function"?afterEach(()=>{Hb()}):typeof teardown=="function"&&teardown(()=>{Hb()}),typeof beforeAll=="function"&&typeof afterAll=="function")){let e=Es();beforeAll(()=>{e=Es(),_r(!0)}),afterAll(()=>{_r(e)})}var Gb;(function(e){e.button="button",e.color="color",e.file="file",e.image="image",e.reset="reset",e.submit="submit",e.checkbox="checkbox",e.radio="radio"})(Gb||(Gb={}));var Ln={};Object.defineProperty(Ln,"__esModule",{value:!0});Ln.TEXT_NODE=void 0;Ln.checkContainerType=q6;Ln.getDocument=L6;Ln.getWindowFromNode=B6;Ln.jestFakeTimersAreEnabled=$6;const k6=3;Ln.TEXT_NODE=k6;function $6(){return typeof jest<"u"&&jest!==null?setTimeout._isMockFunction===!0||Object.prototype.hasOwnProperty.call(setTimeout,"clock"):!1}function L6(){if(typeof window>"u")throw new Error("Could not find default container");return window.document}function B6(e){if(e.defaultView)return e.defaultView;if(e.ownerDocument&&e.ownerDocument.defaultView)return e.ownerDocument.defaultView;if(e.window)return e.window;throw e.ownerDocument&&e.ownerDocument.defaultView===null?new Error("It looks like the window object is not available for the provided node."):e.then instanceof Function?new Error("It looks like you passed a Promise object instead of a DOM node. Did you do something like `fireEvent.click(screen.findBy...` when you meant to use a `getBy` query `fireEvent.click(screen.getBy...`, or await the findBy query `fireEvent.click(await screen.findBy...`?"):Array.isArray(e)?new Error("It looks like you passed an Array instead of a DOM node. Did you do something like `fireEvent.click(screen.getAllBy...` when you meant to use a `getBy` query `fireEvent.click(screen.getBy...`?"):typeof e.debug=="function"&&typeof e.logTestingPlaygroundURL=="function"?new Error("It looks like you passed a `screen` object. Did you do something like `fireEvent.click(screen, ...` when you meant to use a query, e.g. `fireEvent.click(screen.getBy..., `?"):new Error(`The given node is not an Element, the node type is: ${typeof e}.`)}function q6(e){if(!e||typeof e.querySelector!="function"||typeof e.querySelectorAll!="function")throw new TypeError(`Expected container to be an Element, a Document or a DocumentFragment but got ${t(e)}.`);function t(r){return typeof r=="object"?r===null?"null":r.constructor.name:typeof r}}const Jh=Symbol("Manage ClipboardSub");function cS(e){var t;return!!(!((t=e)===null||t===void 0)&&t[Jh])}function D6(e){cS(e.navigator.clipboard)&&e.navigator.clipboard[Jh].resetClipboardStub()}function F6(e){cS(e.navigator.clipboard)&&e.navigator.clipboard[Jh].detachClipboardStub()}typeof globalThis.afterEach=="function"&&globalThis.afterEach(()=>D6(globalThis.window));typeof globalThis.afterAll=="function"&&globalThis.afterAll(()=>F6(globalThis.window));var Wb;(function(e){e.text="text",e.date="date",e["datetime-local"]="datetime-local",e.email="email",e.month="month",e.number="number",e.password="password",e.search="search",e.tel="tel",e.time="time",e.url="url",e.week="week"})(Wb||(Wb={}));var Vb;(function(e){e.email="email",e.password="password",e.search="search",e.telephone="telephone",e.text="text",e.url="url"})(Vb||(Vb={}));var zb;(function(e){e["{"]="}",e["["]="]"})(zb||(zb={}));var Yb;(function(e){e[e.Trigger=2]="Trigger",e[e.Call=1]="Call"})(Yb||(Yb={}));var rh;(function(e){e[e.EachTrigger=4]="EachTrigger",e[e.EachApiCall=2]="EachApiCall",e[e.EachTarget=1]="EachTarget",e[e.Never=0]="Never"})(rh||(rh={}));var ko={};Object.defineProperty(ko,"__esModule",{value:!0});var fS=ko.eventMap=ko.eventAliasMap=void 0;const U6={copy:{EventType:"ClipboardEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},cut:{EventType:"ClipboardEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},paste:{EventType:"ClipboardEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},compositionEnd:{EventType:"CompositionEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},compositionStart:{EventType:"CompositionEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},compositionUpdate:{EventType:"CompositionEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},keyDown:{EventType:"KeyboardEvent",defaultInit:{bubbles:!0,cancelable:!0,charCode:0,composed:!0}},keyPress:{EventType:"KeyboardEvent",defaultInit:{bubbles:!0,cancelable:!0,charCode:0,composed:!0}},keyUp:{EventType:"KeyboardEvent",defaultInit:{bubbles:!0,cancelable:!0,charCode:0,composed:!0}},focus:{EventType:"FocusEvent",defaultInit:{bubbles:!1,cancelable:!1,composed:!0}},blur:{EventType:"FocusEvent",defaultInit:{bubbles:!1,cancelable:!1,composed:!0}},focusIn:{EventType:"FocusEvent",defaultInit:{bubbles:!0,cancelable:!1,composed:!0}},focusOut:{EventType:"FocusEvent",defaultInit:{bubbles:!0,cancelable:!1,composed:!0}},change:{EventType:"Event",defaultInit:{bubbles:!0,cancelable:!1}},input:{EventType:"InputEvent",defaultInit:{bubbles:!0,cancelable:!1,composed:!0}},invalid:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!0}},submit:{EventType:"Event",defaultInit:{bubbles:!0,cancelable:!0}},reset:{EventType:"Event",defaultInit:{bubbles:!0,cancelable:!0}},click:{EventType:"MouseEvent",defaultInit:{bubbles:!0,cancelable:!0,button:0,composed:!0}},contextMenu:{EventType:"MouseEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},dblClick:{EventType:"MouseEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},drag:{EventType:"DragEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},dragEnd:{EventType:"DragEvent",defaultInit:{bubbles:!0,cancelable:!1,composed:!0}},dragEnter:{EventType:"DragEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},dragExit:{EventType:"DragEvent",defaultInit:{bubbles:!0,cancelable:!1,composed:!0}},dragLeave:{EventType:"DragEvent",defaultInit:{bubbles:!0,cancelable:!1,composed:!0}},dragOver:{EventType:"DragEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},dragStart:{EventType:"DragEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},drop:{EventType:"DragEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},mouseDown:{EventType:"MouseEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},mouseEnter:{EventType:"MouseEvent",defaultInit:{bubbles:!1,cancelable:!1,composed:!0}},mouseLeave:{EventType:"MouseEvent",defaultInit:{bubbles:!1,cancelable:!1,composed:!0}},mouseMove:{EventType:"MouseEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},mouseOut:{EventType:"MouseEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},mouseOver:{EventType:"MouseEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},mouseUp:{EventType:"MouseEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},select:{EventType:"Event",defaultInit:{bubbles:!0,cancelable:!1}},touchCancel:{EventType:"TouchEvent",defaultInit:{bubbles:!0,cancelable:!1,composed:!0}},touchEnd:{EventType:"TouchEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},touchMove:{EventType:"TouchEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},touchStart:{EventType:"TouchEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},resize:{EventType:"UIEvent",defaultInit:{bubbles:!1,cancelable:!1}},scroll:{EventType:"UIEvent",defaultInit:{bubbles:!1,cancelable:!1}},wheel:{EventType:"WheelEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},abort:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},canPlay:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},canPlayThrough:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},durationChange:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},emptied:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},encrypted:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},ended:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},loadedData:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},loadedMetadata:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},loadStart:{EventType:"ProgressEvent",defaultInit:{bubbles:!1,cancelable:!1}},pause:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},play:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},playing:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},progress:{EventType:"ProgressEvent",defaultInit:{bubbles:!1,cancelable:!1}},rateChange:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},seeked:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},seeking:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},stalled:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},suspend:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},timeUpdate:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},volumeChange:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},waiting:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},load:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},error:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},animationStart:{EventType:"AnimationEvent",defaultInit:{bubbles:!0,cancelable:!1}},animationEnd:{EventType:"AnimationEvent",defaultInit:{bubbles:!0,cancelable:!1}},animationIteration:{EventType:"AnimationEvent",defaultInit:{bubbles:!0,cancelable:!1}},transitionCancel:{EventType:"TransitionEvent",defaultInit:{bubbles:!0,cancelable:!1}},transitionEnd:{EventType:"TransitionEvent",defaultInit:{bubbles:!0,cancelable:!0}},transitionRun:{EventType:"TransitionEvent",defaultInit:{bubbles:!0,cancelable:!1}},transitionStart:{EventType:"TransitionEvent",defaultInit:{bubbles:!0,cancelable:!1}},pointerOver:{EventType:"PointerEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},pointerEnter:{EventType:"PointerEvent",defaultInit:{bubbles:!1,cancelable:!1}},pointerDown:{EventType:"PointerEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},pointerMove:{EventType:"PointerEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},pointerUp:{EventType:"PointerEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},pointerCancel:{EventType:"PointerEvent",defaultInit:{bubbles:!0,cancelable:!1,composed:!0}},pointerOut:{EventType:"PointerEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},pointerLeave:{EventType:"PointerEvent",defaultInit:{bubbles:!1,cancelable:!1}},gotPointerCapture:{EventType:"PointerEvent",defaultInit:{bubbles:!0,cancelable:!1,composed:!0}},lostPointerCapture:{EventType:"PointerEvent",defaultInit:{bubbles:!0,cancelable:!1,composed:!0}},popState:{EventType:"PopStateEvent",defaultInit:{bubbles:!0,cancelable:!1}},offline:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},online:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}}};fS=ko.eventMap=U6;const j6={doubleClick:"dblClick"};ko.eventAliasMap=j6;const H6={...fS,click:{EventType:"PointerEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},auxclick:{EventType:"PointerEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},contextmenu:{EventType:"PointerEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},beforeInput:{EventType:"InputEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}}};Object.fromEntries(Object.keys(H6).map(e=>[e.toLowerCase(),e]));var Mt;(function(e){e[e.STANDARD=0]="STANDARD",e[e.LEFT=1]="LEFT",e[e.RIGHT=2]="RIGHT",e[e.NUMPAD=3]="NUMPAD"})(Mt||(Mt={}));const G6=[..."0123456789".split("").map(e=>({code:`Digit${e}`,key:e})),...")!@#$%^&*(".split("").map((e,t)=>({code:`Digit${t}`,key:e,shiftKey:!0})),..."abcdefghijklmnopqrstuvwxyz".split("").map(e=>({code:`Key${e.toUpperCase()}`,key:e})),..."ABCDEFGHIJKLMNOPQRSTUVWXYZ".split("").map(e=>({code:`Key${e}`,key:e,shiftKey:!0})),{code:"Space",key:" "},{code:"AltLeft",key:"Alt",location:Mt.LEFT},{code:"AltRight",key:"Alt",location:Mt.RIGHT},{code:"ShiftLeft",key:"Shift",location:Mt.LEFT},{code:"ShiftRight",key:"Shift",location:Mt.RIGHT},{code:"ControlLeft",key:"Control",location:Mt.LEFT},{code:"ControlRight",key:"Control",location:Mt.RIGHT},{code:"MetaLeft",key:"Meta",location:Mt.LEFT},{code:"MetaRight",key:"Meta",location:Mt.RIGHT},{code:"OSLeft",key:"OS",location:Mt.LEFT},{code:"OSRight",key:"OS",location:Mt.RIGHT},{code:"Tab",key:"Tab"},{code:"CapsLock",key:"CapsLock"},{code:"Backspace",key:"Backspace"},{code:"Enter",key:"Enter"},{code:"Escape",key:"Escape"},{code:"ArrowUp",key:"ArrowUp"},{code:"ArrowDown",key:"ArrowDown"},{code:"ArrowLeft",key:"ArrowLeft"},{code:"ArrowRight",key:"ArrowRight"},{code:"Home",key:"Home"},{code:"End",key:"End"},{code:"Delete",key:"Delete"},{code:"PageUp",key:"PageUp"},{code:"PageDown",key:"PageDown"},{code:"Fn",key:"Fn"},{code:"Symbol",key:"Symbol"},{code:"AltRight",key:"AltGraph"}],W6=[{name:"MouseLeft",pointerType:"mouse",button:"primary"},{name:"MouseRight",pointerType:"mouse",button:"secondary"},{name:"MouseMiddle",pointerType:"mouse",button:"auxiliary"},{name:"TouchA",pointerType:"touch"},{name:"TouchB",pointerType:"touch"},{name:"TouchC",pointerType:"touch"}];globalThis.document,rh.EachApiCall;const lr=({variant:e="primary",size:t="medium",styling:r={muted:!1,fullWidth:!1},icon:n=!1,href:a=!1,element:o="button",onClick:s=!1,className:i="",disabled:l=!1,screenreaderText:u=!1,children:c=!1,...p})=>{const f=xs(typeof t=="object");if(typeof t=="object"&&typeof f=="number"){const _=Object.assign({},t),b=_0(Object.keys(_));t=w0(f,b,_)}const h=[];typeof t=="string"&&h.push(t),n&&(h.push("icon"),typeof n=="object"?(h.push(n.icon),n.position?h.push(n.position):h.push("left"),n.hover&&h.push(`hover_${n.hover}`),n.animate&&(h.push("animate"),typeof n.animate=="string"&&h.push(n.animate))):(h.push(n),!n.includes("right")&&!n.includes("left")&&h.push("left"))),r.muted&&h.push("muted"),r.fullWidth&&h.push("full-width");const m={...p,className:Se(e,i,h,{"no-text":!c,disabled:l,button:a}),onClick:_=>{(!a||a[0]==="#")&&s&&(_.preventDefault(),_.stopPropagation()),s&&s(_)},disabled:typeof l=="object"&&"isClickable"in l?!l.isClickable:l};return a&&(o="a",m.href=a),re.createElement(o,m,c||(u?M.jsx(Pt,{showOnFocus:!1,children:u}):null))},V6=({href:e,children:t,className:r="",onClick:n=()=>{},gtmContext:a,gtmType:o,...s})=>e?M.jsx("a",{href:e,className:Se("gtm-trackable",r),onClick:n,"data-gtm-event-context":a,"data-gtm-event-type":o,...s,children:t}):t,Kb={card:{range:[{height:320,width:320},{height:425,width:687},{height:510,width:768}],sizes:"(min-width: 1024px) 720px, 30vw"},responsiveCard:{range:[{height:125,width:200},{height:188,width:300},{height:313,width:500}],sizes:"(min-width: 1024px) 720px, 30vw"},banner:{range:[{height:124,width:425},{height:320,width:768},{height:510,width:1368}],sizes:"(min-width: 1024px) 975px, 50vw"},feed:{range:[{height:270,width:124},{height:320,width:425},{height:425,width:687}],sizes:"(min-width: 1024px) 510px, 20vw"},fallback:{range:[{height:124,width:375},{height:320,width:687},{height:510,width:990}],sizes:"(min-width: 1024px) 885px, 35vw"},thumbnail:{range:[{height:124,width:124},{height:320,width:320},{height:510,width:510}],sizes:"(min-width: 1024px) 453px, 20vw"}},z6=({aspect:e,range:t,sizes:r})=>{const{range:n,sizes:a}=e?Kb[e]:Kb.fallback;return{range:t&&t.length>0?t:n,sizes:r||a}},Y6=({format:e,height:t,query:r,width:n})=>{let a=`w=${n}&h=${t}`;return a=e?`${a}&fm=${e}`:a,a=r?`${a}&${r}`:a,a},Bd=({format:e,range:t,url:r,query:n})=>t.map(({height:a,width:o})=>`${r}?${Y6({format:e,height:a,query:n,width:o})} ${o}w`).join(", ");const dS=({image:e,className:t,testId:r})=>{const{description:n,height:a,type:o,query:s,url:i,width:l,loading:u,decoding:c,fetchPriority:p}=e,{range:d,sizes:f}=z6(e),h=Bd({format:"avif",query:s,range:d,url:i}),m=Bd({format:"webp",query:s,range:d,url:i}),_=Bd({format:"",query:s,range:d,url:i});return M.jsxs("picture",{className:t,children:[o!=="image/gif"&&M.jsx("source",{type:"image/avif",srcSet:h,sizes:f,"data-testid":"source"}),M.jsx("source",{type:"image/webp",srcSet:m,sizes:f,"data-testid":"source"}),M.jsx("img",{srcSet:_,sizes:f,src:i,alt:n,loading:u||"lazy",decoding:c||"async",fetchpriority:p||"auto",width:l,height:a,"data-testid":r||"image"})]})};const K6=["small","span","strong","em","p","h1","h2","h3","h4","h5","h6","blockquote","q"],X6=({content:e,image:t,variant:r="default",cta:n,children:a})=>{const o=["eyebrow","title","text"],s={eyebrow:"small",title:"h1",text:"p"},i={};return o.forEach(l=>{if(!e[l]){i[l]=!1;return}if(typeof e[l]=="object"){i[l]=e[l];const{text:u,element:c}=e[l];if(c&&K6.includes(c.toLowerCase()))return;i[l]={text:u,element:s[l]};return}i[l]={text:e[l],element:s[l]}}),n&&n.link&&n.link[0]==="#"&&(n.props||(n.props={}),n.props.onClick=l=>{l.preventDefault(),l.stopPropagation();const u=document.getElementById(n.link.substring(1));u&&u.scrollIntoView({behavior:"smooth"})}),M.jsxs("section",{className:Se("banner-section",r,{"has-image":t,"has-extra-spacing":i.eyebrow&&i.title}),children:[M.jsxs("div",{className:"content-wrapper",children:[o.map(l=>{if(i[l]&&typeof i[l]=="object"){const{text:u,element:c=""}=i[l];return re.createElement(c.toLowerCase(),{key:l,className:l},u)}return null}),a,n&&n.text&&n.link&&M.jsx(lr,{variant:t||r==="light"?"primary":"secondary",size:{mobile:"medium",768:"large"},href:n.link,...n.props,children:n.text})]}),t&&M.jsx(dS,{image:{...t,aspect:"banner"}})]})},Q6=re.memo(X6);const J6=({variant:e="primary",button:t=null,title:r,text:n,gtmContext:a})=>!r&&!n?null:M.jsxs("aside",{className:Se("marketing-block",e),children:[r&&M.jsx("p",{className:"title",children:r}),n&&M.jsx("p",{children:n}),t&&M.jsx(lr,{variant:"secondary",size:"medium",href:t.link,className:"gtm-trackable","data-gtm-event-context":a,"data-gtm-event-type":"learn-more-click",children:t.text})]}),pS="https://storage.googleapis.com/apolitical-assets/",Z6="200,000+",Zh=re.createContext(null),e8=({children:e,user:t})=>M.jsx(Zh.Provider,{value:t,children:e});const t8=({label:e=!1,className:t="",children:r})=>{const n=ut();return M.jsxs("details",{className:Se("collapsible-section",t),children:[M.jsx("summary",{children:e||n.formatMessage({id:"collapsibleSection_summary"})}),M.jsx("div",{className:"content",children:r})]})},r8=({locale:e="en",...t})=>M.jsx(Et,{locale:e,children:M.jsx(t8,{...t})});function En(){return En=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},En.apply(this,arguments)}const n8=["children","options"],Xb=["allowFullScreen","allowTransparency","autoComplete","autoFocus","autoPlay","cellPadding","cellSpacing","charSet","className","classId","colSpan","contentEditable","contextMenu","crossOrigin","encType","formAction","formEncType","formMethod","formNoValidate","formTarget","frameBorder","hrefLang","inputMode","keyParams","keyType","marginHeight","marginWidth","maxLength","mediaGroup","minLength","noValidate","radioGroup","readOnly","rowSpan","spellCheck","srcDoc","srcLang","srcSet","tabIndex","useMap"].reduce((e,t)=>(e[t.toLowerCase()]=t,e),{for:"htmlFor"}),Qb={amp:"&",apos:"'",gt:">",lt:"<",nbsp:" ",quot:"“"},a8=["style","script"],o8=/([-A-Z0-9_:]+)(?:\s*=\s*(?:(?:"((?:\\.|[^"])*)")|(?:'((?:\\.|[^'])*)')|(?:\{((?:\\.|{[^}]*?}|[^}])*)\})))?/gi,i8=/mailto:/i,s8=/\n{2,}$/,hS=/^( *>[^\n]+(\n[^\n]+)*\n*)+\n{2,}/,l8=/^ *> ?/gm,u8=/^ {2,}\n/,c8=/^(?:( *[-*_])){3,} *(?:\n *)+\n/,mS=/^\s*(`{3,}|~{3,}) *(\S+)?([^\n]*?)?\n([\s\S]+?)\s*\1 *(?:\n *)*\n?/,yS=/^(?: {4}[^\n]+\n*)+(?:\n *)+\n?/,f8=/^(`+)\s*([\s\S]*?[^`])\s*\1(?!`)/,d8=/^(?:\n *)*\n/,p8=/\r\n?/g,h8=/^\[\^([^\]]+)](:.*)\n/,m8=/^\[\^([^\]]+)]/,y8=/\f/g,v8=/^\s*?\[(x|\s)\]/,vS=/^ *(#{1,6}) *([^\n]+?)(?: +#*)?(?:\n *)*(?:\n|$)/,gS=/^ *(#{1,6}) +([^\n]+?)(?: +#*)?(?:\n *)*(?:\n|$)/,bS=/^([^\n]+)\n *(=|-){3,} *(?:\n *)+\n/,nh=/^ *(?!<[a-z][^ >/]* ?\/>)<([a-z][^ >/]*) ?([^>]*)\/{0}>\n?(\s*(?:<\1[^>]*?>[\s\S]*?<\/\1>|(?!<\1)[\s\S])*?)<\/\1>\n*/i,g8=/&([a-z0-9]+|#[0-9]{1,6}|#x[0-9a-fA-F]{1,6});/gi,ES=/^<!--[\s\S]*?(?:-->)/,b8=/^(data|aria|x)-[a-z_][a-z\d_.-]*$/,ah=/^ *<([a-z][a-z0-9:]*)(?:\s+((?:<.*?>|[^>])*))?\/?>(?!<\/\1>)(\s*\n)?/i,E8=/^\{.*\}$/,_8=/^(https?:\/\/[^\s<]+[^<.,:;"')\]\s])/,w8=/^<([^ >]+@[^ >]+)>/,T8=/^<([^ >]+:\/[^ >]+)>/,S8=/-([a-z])?/gi,_S=/^(.*\|?.*)\n *(\|? *[-:]+ *\|[-| :]*)\n((?:.*\|.*\n)*)\n?/,R8=/^\[([^\]]*)\]:\s+<?([^\s>]+)>?\s*("([^"]*)")?/,C8=/^!\[([^\]]*)\] ?\[([^\]]*)\]/,O8=/^\[([^\]]*)\] ?\[([^\]]*)\]/,x8=/(\[|\])/g,P8=/(\n|^[-*]\s|^#|^ {2,}|^-{2,}|^>\s)/,A8=/\t/g,I8=/^ *\| */,N8=/(^ *\||\| *$)/g,M8=/ *$/,k8=/^ *:-+: *$/,$8=/^ *:-+ *$/,L8=/^ *-+: *$/,B8=/^([*_])\1((?:\[.*?\][([].*?[)\]]|<.*?>(?:.*?<.*?>)?|`.*?`|~+.*?~+|.)*?)\1\1(?!\1)/,q8=/^([*_])((?:\[.*?\][([].*?[)\]]|<.*?>(?:.*?<.*?>)?|`.*?`|~+.*?~+|.)*?)\1(?!\1|\w)/,D8=/^==((?:\[.*?\]|<.*?>(?:.*?<.*?>)?|`.*?`|.)*?)==/,F8=/^~~((?:\[.*?\]|<.*?>(?:.*?<.*?>)?|`.*?`|.)*?)~~/,U8=/^\\([^0-9A-Za-z\s])/,j8=/^[\s\S]+?(?=[^0-9A-Z\s\u00c0-\uffff&#;.()'"]|\d+\.|\n\n| {2,}\n|\w+:\S|$)/i,H8=/^\n+/,G8=/^([ \t]*)/,W8=/\\([^\\])/g,Jb=/ *\n+$/,V8=/(?:^|\n)( *)$/,em="(?:\\d+\\.)",tm="(?:[*+-])";function wS(e){return"( *)("+(e===1?em:tm)+") +"}const TS=wS(1),SS=wS(2);function RS(e){return new RegExp("^"+(e===1?TS:SS))}const z8=RS(1),Y8=RS(2);function CS(e){return new RegExp("^"+(e===1?TS:SS)+"[^\\n]*(?:\\n(?!\\1"+(e===1?em:tm)+" )[^\\n]*)*(\\n|$)","gm")}const OS=CS(1),xS=CS(2);function PS(e){const t=e===1?em:tm;return new RegExp("^( *)("+t+") [\\s\\S]+?(?:\\n{2,}(?! )(?!\\1"+t+" (?!"+t+" ))\\n*|\\s*\\n*$)")}const AS=PS(1),IS=PS(2);function Zb(e,t){const r=t===1,n=r?AS:IS,a=r?OS:xS,o=r?z8:Y8;return{t(s,i,l){const u=V8.exec(l);return u&&(i.o||!i._&&!i.u)?n.exec(s=u[1]+s):null},i:Ce.HIGH,l(s,i,l){const u=r?+s[2]:void 0,c=s[0].replace(s8,`
180
180
  `).match(a);let p=!1;return{p:c.map(function(d,f){const h=o.exec(d)[0].length,m=new RegExp("^ {1,"+h+"}","gm"),_=d.replace(m,"").replace(o,""),b=f===c.length-1,v=_.indexOf(`
181
181
 
182
182
  `)!==-1||b&&p;p=v;const w=l._,R=l.o;let T;l.o=!0,v?(l._=!1,T=_.replace(Jb,`
183
183
 
184
- `)):(l._=!0,T=_.replace(Jb,""));const C=i(T,l);return l._=w,l.o=R,C}),m:r,g:u}},h:(s,i,l)=>e(s.m?"ol":"ul",{key:l.k,start:s.g},s.p.map(function(u,c){return e("li",{key:c},i(u,l))}))}}const Y8=/^\[([^\]]*)]\( *((?:\([^)]*\)|[^() ])*) *"?([^)"]*)?"?\)/,K8=/^!\[([^\]]*)]\( *((?:\([^)]*\)|[^() ])*) *"?([^)"]*)?"?\)/,NS=[hS,mS,yS,vS,bS,gS,ES,_S,OS,AS,xS,IS],X8=[...NS,/^[^\n]+(?: \n|\n{2,})/,nh,ah];function Q8(e){return e.replace(/[ÀÁÂÃÄÅàáâãä忯]/g,"a").replace(/[çÇ]/g,"c").replace(/[ðÐ]/g,"d").replace(/[ÈÉÊËéèêë]/g,"e").replace(/[ÏïÎîÍíÌì]/g,"i").replace(/[Ññ]/g,"n").replace(/[øØœŒÕõÔôÓóÒò]/g,"o").replace(/[ÜüÛûÚúÙù]/g,"u").replace(/[ŸÿÝý]/g,"y").replace(/[^a-z0-9- ]/gi,"").replace(/ /gi,"-").toLowerCase()}function J8(e){return $8.test(e)?"right":M8.test(e)?"center":k8.test(e)?"left":null}function eE(e,t,r){const n=r.$;r.$=!0;const a=t(e.trim(),r);r.$=n;let o=[[]];return a.forEach(function(s,i){s.type==="tableSeparator"?i!==0&&i!==a.length-1&&o.push([]):(s.type!=="text"||a[i+1]!=null&&a[i+1].type!=="tableSeparator"||(s.v=s.v.replace(N8,"")),o[o.length-1].push(s))}),o}function Z8(e,t,r){r._=!0;const n=eE(e[1],t,r),a=e[2].replace(I8,"").split("|").map(J8),o=function(s,i,l){return s.trim().split(`
185
- `).map(function(u){return eE(u,i,l)})}(e[3],t,r);return r._=!1,{S:a,A:o,L:n,type:"table"}}function tE(e,t){return e.S[t]==null?{}:{textAlign:e.S[t]}}function kr(e){return function(t,r){return r._?e.exec(t):null}}function $r(e){return function(t,r){return r._||r.u?e.exec(t):null}}function br(e){return function(t,r){return r._||r.u?null:e.exec(t)}}function bo(e){return function(t){return e.exec(t)}}function eW(e,t,r){if(t._||t.u||r&&!r.endsWith(`
184
+ `)):(l._=!0,T=_.replace(Jb,""));const C=i(T,l);return l._=w,l.o=R,C}),m:r,g:u}},h:(s,i,l)=>e(s.m?"ol":"ul",{key:l.k,start:s.g},s.p.map(function(u,c){return e("li",{key:c},i(u,l))}))}}const K8=/^\[([^\]]*)]\( *((?:\([^)]*\)|[^() ])*) *"?([^)"]*)?"?\)/,X8=/^!\[([^\]]*)]\( *((?:\([^)]*\)|[^() ])*) *"?([^)"]*)?"?\)/,NS=[hS,mS,yS,vS,bS,gS,ES,_S,OS,AS,xS,IS],Q8=[...NS,/^[^\n]+(?: \n|\n{2,})/,nh,ah];function J8(e){return e.replace(/[ÀÁÂÃÄÅàáâãä忯]/g,"a").replace(/[çÇ]/g,"c").replace(/[ðÐ]/g,"d").replace(/[ÈÉÊËéèêë]/g,"e").replace(/[ÏïÎîÍíÌì]/g,"i").replace(/[Ññ]/g,"n").replace(/[øØœŒÕõÔôÓóÒò]/g,"o").replace(/[ÜüÛûÚúÙù]/g,"u").replace(/[ŸÿÝý]/g,"y").replace(/[^a-z0-9- ]/gi,"").replace(/ /gi,"-").toLowerCase()}function Z8(e){return L8.test(e)?"right":k8.test(e)?"center":$8.test(e)?"left":null}function eE(e,t,r){const n=r.$;r.$=!0;const a=t(e.trim(),r);r.$=n;let o=[[]];return a.forEach(function(s,i){s.type==="tableSeparator"?i!==0&&i!==a.length-1&&o.push([]):(s.type!=="text"||a[i+1]!=null&&a[i+1].type!=="tableSeparator"||(s.v=s.v.replace(M8,"")),o[o.length-1].push(s))}),o}function eW(e,t,r){r._=!0;const n=eE(e[1],t,r),a=e[2].replace(N8,"").split("|").map(Z8),o=function(s,i,l){return s.trim().split(`
185
+ `).map(function(u){return eE(u,i,l)})}(e[3],t,r);return r._=!1,{S:a,A:o,L:n,type:"table"}}function tE(e,t){return e.S[t]==null?{}:{textAlign:e.S[t]}}function kr(e){return function(t,r){return r._?e.exec(t):null}}function $r(e){return function(t,r){return r._||r.u?e.exec(t):null}}function br(e){return function(t,r){return r._||r.u?null:e.exec(t)}}function bo(e){return function(t){return e.exec(t)}}function tW(e,t,r){if(t._||t.u||r&&!r.endsWith(`
186
186
  `))return null;let n="";e.split(`
187
187
  `).every(o=>!NS.some(s=>s.test(o))&&(n+=o+`
188
- `,o.trim()));const a=n.trimEnd();return a==""?null:[n,a]}function oa(e){try{if(decodeURIComponent(e).replace(/[^A-Za-z0-9/:]/g,"").match(/^\s*(javascript|vbscript|data(?!:image)):/i))return}catch{return null}return e}function rE(e){return e.replace(G8,"$1")}function Yi(e,t,r){const n=r._||!1,a=r.u||!1;r._=!0,r.u=!0;const o=e(t,r);return r._=n,r.u=a,o}function tW(e,t,r){const n=r._||!1,a=r.u||!1;r._=!1,r.u=!0;const o=e(t,r);return r._=n,r.u=a,o}function rW(e,t,r){return r._=!1,e(t,r)}const qd=(e,t,r)=>({v:Yi(t,e[1],r)});function Dd(){return{}}function Fd(){return null}function nW(...e){return e.filter(Boolean).join(" ")}function Ud(e,t,r){let n=e;const a=t.split(".");for(;a.length&&(n=n[a[0]],n!==void 0);)a.shift();return n||r}var Ce;function aW(e,t={}){t.overrides=t.overrides||{},t.slugify=t.slugify||Q8,t.namedCodesToUnicode=t.namedCodesToUnicode?En({},Qb,t.namedCodesToUnicode):Qb;const r=t.createElement||We.createElement;function n(f,h,...m){const _=Ud(t.overrides,`${f}.props`,{});return r(function(b,v){const w=Ud(v,b);return w?typeof w=="function"||typeof w=="object"&&"render"in w?w:Ud(v,`${b}.component`,b):b}(f,t.overrides),En({},h,_,{className:nW(h==null?void 0:h.className,_.className)||void 0}),...m)}function a(f){let h=!1;t.forceInline?h=!0:t.forceBlock||(h=x8.test(f)===!1);const m=c(u(h?f:`${f.trimEnd().replace(j8,"")}
188
+ `,o.trim()));const a=n.trimEnd();return a==""?null:[n,a]}function aa(e){try{if(decodeURIComponent(e).replace(/[^A-Za-z0-9/:]/g,"").match(/^\s*(javascript|vbscript|data(?!:image)):/i))return}catch{return null}return e}function rE(e){return e.replace(W8,"$1")}function Yi(e,t,r){const n=r._||!1,a=r.u||!1;r._=!0,r.u=!0;const o=e(t,r);return r._=n,r.u=a,o}function rW(e,t,r){const n=r._||!1,a=r.u||!1;r._=!1,r.u=!0;const o=e(t,r);return r._=n,r.u=a,o}function nW(e,t,r){return r._=!1,e(t,r)}const qd=(e,t,r)=>({v:Yi(t,e[1],r)});function Dd(){return{}}function Fd(){return null}function aW(...e){return e.filter(Boolean).join(" ")}function Ud(e,t,r){let n=e;const a=t.split(".");for(;a.length&&(n=n[a[0]],n!==void 0);)a.shift();return n||r}var Ce;function oW(e,t={}){t.overrides=t.overrides||{},t.slugify=t.slugify||J8,t.namedCodesToUnicode=t.namedCodesToUnicode?En({},Qb,t.namedCodesToUnicode):Qb;const r=t.createElement||We.createElement;function n(f,h,...m){const _=Ud(t.overrides,`${f}.props`,{});return r(function(b,v){const w=Ud(v,b);return w?typeof w=="function"||typeof w=="object"&&"render"in w?w:Ud(v,`${b}.component`,b):b}(f,t.overrides),En({},h,_,{className:aW(h==null?void 0:h.className,_.className)||void 0}),...m)}function a(f){let h=!1;t.forceInline?h=!0:t.forceBlock||(h=P8.test(f)===!1);const m=c(u(h?f:`${f.trimEnd().replace(H8,"")}
189
189
 
190
- `,{_:h}));for(;typeof m[m.length-1]=="string"&&!m[m.length-1].trim();)m.pop();if(t.wrapper===null)return m;const _=t.wrapper||(h?"span":"div");let b;if(m.length>1||t.forceWrapper)b=m;else{if(m.length===1)return b=m[0],typeof b=="string"?n("span",{key:"outer"},b):b;b=null}return We.createElement(_,{key:"outer"},b)}function o(f){const h=f.match(a8);return h?h.reduce(function(m,_,b){const v=_.indexOf("=");if(v!==-1){const w=function(N){return N.indexOf("-")!==-1&&N.match(g8)===null&&(N=N.replace(T8,function(I,j){return j.toUpperCase()})),N}(_.slice(0,v)).trim(),R=function(N){const I=N[0];return(I==='"'||I==="'")&&N.length>=2&&N[N.length-1]===I?N.slice(1,-1):N}(_.slice(v+1).trim()),T=Xb[w]||w,C=m[T]=function(N,I){return N==="style"?I.split(/;\s?/).reduce(function(j,z){const Y=z.slice(0,z.indexOf(":"));return j[Y.replace(/(-[a-z])/g,U=>U[1].toUpperCase())]=z.slice(Y.length+1).trim(),j},{}):N==="href"?oa(I):(I.match(b8)&&(I=I.slice(1,I.length-1)),I==="true"||I!=="false"&&I)}(w,R);typeof C=="string"&&(nh.test(C)||ah.test(C))&&(m[T]=We.cloneElement(a(C.trim()),{key:b}))}else _!=="style"&&(m[Xb[_]||_]=!0);return m},{}):null}const s=[],i={},l={blockQuote:{t:br(hS),i:Ce.HIGH,l:(f,h,m)=>({v:h(f[0].replace(s8,""),m)}),h:(f,h,m)=>n("blockquote",{key:m.k},h(f.v,m))},breakLine:{t:bo(l8),i:Ce.HIGH,l:Dd,h:(f,h,m)=>n("br",{key:m.k})},breakThematic:{t:br(u8),i:Ce.HIGH,l:Dd,h:(f,h,m)=>n("hr",{key:m.k})},codeBlock:{t:br(yS),i:Ce.MAX,l:f=>({v:f[0].replace(/^ {4}/gm,"").replace(/\n+$/,""),M:void 0}),h:(f,h,m)=>n("pre",{key:m.k},n("code",En({},f.O,{className:f.M?`lang-${f.M}`:""}),f.v))},codeFenced:{t:br(mS),i:Ce.MAX,l:f=>({O:o(f[3]||""),v:f[4],M:f[2]||void 0,type:"codeBlock"})},codeInline:{t:$r(c8),i:Ce.LOW,l:f=>({v:f[2]}),h:(f,h,m)=>n("code",{key:m.k},f.v)},footnote:{t:br(p8),i:Ce.MAX,l:f=>(s.push({I:f[2],j:f[1]}),{}),h:Fd},footnoteReference:{t:kr(h8),i:Ce.HIGH,l:f=>({v:f[1],B:`#${t.slugify(f[1])}`}),h:(f,h,m)=>n("a",{key:m.k,href:oa(f.B)},n("sup",{key:m.k},f.v))},gfmTask:{t:kr(y8),i:Ce.HIGH,l:f=>({R:f[1].toLowerCase()==="x"}),h:(f,h,m)=>n("input",{checked:f.R,key:m.k,readOnly:!0,type:"checkbox"})},heading:{t:br(t.enforceAtxHeadings?gS:vS),i:Ce.HIGH,l:(f,h,m)=>({v:Yi(h,f[2],m),T:t.slugify(f[2]),C:f[1].length}),h:(f,h,m)=>n(`h${f.C}`,{id:f.T,key:m.k},h(f.v,m))},headingSetext:{t:br(bS),i:Ce.MAX,l:(f,h,m)=>({v:Yi(h,f[1],m),C:f[2]==="="?1:2,type:"heading"})},htmlComment:{t:bo(ES),i:Ce.HIGH,l:()=>({}),h:Fd},image:{t:$r(K8),i:Ce.HIGH,l:f=>({D:f[1],B:rE(f[2]),F:f[3]}),h:(f,h,m)=>n("img",{key:m.k,alt:f.D||void 0,title:f.F||void 0,src:oa(f.B)})},link:{t:kr(Y8),i:Ce.LOW,l:(f,h,m)=>({v:tW(h,f[1],m),B:rE(f[2]),F:f[3]}),h:(f,h,m)=>n("a",{key:m.k,href:oa(f.B),title:f.F},h(f.v,m))},linkAngleBraceStyleDetector:{t:kr(w8),i:Ce.MAX,l:f=>({v:[{v:f[1],type:"text"}],B:f[1],type:"link"})},linkBareUrlDetector:{t:(f,h)=>h.N?null:kr(E8)(f,h),i:Ce.MAX,l:f=>({v:[{v:f[1],type:"text"}],B:f[1],F:void 0,type:"link"})},linkMailtoDetector:{t:kr(_8),i:Ce.MAX,l(f){let h=f[1],m=f[1];return o8.test(m)||(m="mailto:"+m),{v:[{v:h.replace("mailto:",""),type:"text"}],B:m,type:"link"}}},orderedList:Zb(n,1),unorderedList:Zb(n,2),newlineCoalescer:{t:br(f8),i:Ce.LOW,l:Dd,h:()=>`
191
- `},paragraph:{t:eW,i:Ce.LOW,l:qd,h:(f,h,m)=>n("p",{key:m.k},h(f.v,m))},ref:{t:kr(S8),i:Ce.MAX,l:f=>(i[f[1]]={B:f[2],F:f[4]},{}),h:Fd},refImage:{t:$r(R8),i:Ce.MAX,l:f=>({D:f[1]||void 0,P:f[2]}),h:(f,h,m)=>n("img",{key:m.k,alt:f.D,src:oa(i[f.P].B),title:i[f.P].F})},refLink:{t:kr(C8),i:Ce.MAX,l:(f,h,m)=>({v:h(f[1],m),Z:h(f[0].replace(O8,"\\$1"),m),P:f[2]}),h:(f,h,m)=>i[f.P]?n("a",{key:m.k,href:oa(i[f.P].B),title:i[f.P].F},h(f.v,m)):n("span",{key:m.k},h(f.Z,m))},table:{t:br(_S),i:Ce.HIGH,l:Z8,h:(f,h,m)=>n("table",{key:m.k},n("thead",null,n("tr",null,f.L.map(function(_,b){return n("th",{key:b,style:tE(f,b)},h(_,m))}))),n("tbody",null,f.A.map(function(_,b){return n("tr",{key:b},_.map(function(v,w){return n("td",{key:w,style:tE(f,w)},h(v,m))}))})))},tableSeparator:{t:function(f,h){return h.$?(h._=!0,A8.exec(f)):null},i:Ce.HIGH,l:function(){return{type:"tableSeparator"}},h:()=>" | "},text:{t:bo(U8),i:Ce.MIN,l:f=>({v:f[0].replace(v8,(h,m)=>t.namedCodesToUnicode[m]?t.namedCodesToUnicode[m]:h)}),h:f=>f.v},textBolded:{t:$r(L8),i:Ce.MED,l:(f,h,m)=>({v:h(f[2],m)}),h:(f,h,m)=>n("strong",{key:m.k},h(f.v,m))},textEmphasized:{t:$r(B8),i:Ce.LOW,l:(f,h,m)=>({v:h(f[2],m)}),h:(f,h,m)=>n("em",{key:m.k},h(f.v,m))},textEscaped:{t:$r(F8),i:Ce.HIGH,l:f=>({v:f[1],type:"text"})},textMarked:{t:$r(q8),i:Ce.LOW,l:qd,h:(f,h,m)=>n("mark",{key:m.k},h(f.v,m))},textStrikethroughed:{t:$r(D8),i:Ce.LOW,l:qd,h:(f,h,m)=>n("del",{key:m.k},h(f.v,m))}};t.disableParsingRawHTML!==!0&&(l.htmlBlock={t:bo(nh),i:Ce.HIGH,l(f,h,m){const[,_]=f[3].match(H8),b=new RegExp(`^${_}`,"gm"),v=f[3].replace(b,""),w=(R=v,X8.some(I=>I.test(R))?rW:Yi);var R;const T=f[1].toLowerCase(),C=n8.indexOf(T)!==-1;m.N=m.N||T==="a";const N=C?f[3]:w(h,v,m);return m.N=!1,{O:o(f[2]),v:N,G:C,H:C?T:f[1]}},h:(f,h,m)=>n(f.H,En({key:m.k},f.O),f.G?f.v:h(f.v,m))},l.htmlSelfClosing={t:bo(ah),i:Ce.HIGH,l:f=>({O:o(f[2]||""),H:f[1]}),h:(f,h,m)=>n(f.H,En({},f.O,{key:m.k}))});const u=function(f){let h=Object.keys(f);function m(_,b){let v=[],w="";for(;_;){let R=0;for(;R<h.length;){const T=h[R],C=f[T],N=C.t(_,b,w);if(N){const I=N[0];_=_.substring(I.length);const j=C.l(N,m,b);j.type==null&&(j.type=T),v.push(j),w=I;break}R++}}return v}return h.sort(function(_,b){let v=f[_].i,w=f[b].i;return v!==w?v-w:_<b?-1:1}),function(_,b){return m(function(v){return v.replace(d8,`
192
- `).replace(m8,"").replace(P8," ")}(_),b)}}(l),c=(p=function(f){return function(h,m,_){return f[h.type].h(h,m,_)}}(l),function f(h,m={}){if(Array.isArray(h)){const _=m.k,b=[];let v=!1;for(let w=0;w<h.length;w++){m.k=w;const R=f(h[w],m),T=typeof R=="string";T&&v?b[b.length-1]+=R:R!==null&&b.push(R),v=T}return m.k=_,b}return p(h,f,m)});var p;const d=a(e);return s.length?n("div",null,d,n("footer",{key:"footer"},s.map(function(f){return n("div",{id:t.slugify(f.j),key:f.j},f.j,c(u(f.I,{_:!0})))}))):d}(function(e){e[e.MAX=0]="MAX",e[e.HIGH=1]="HIGH",e[e.MED=2]="MED",e[e.LOW=3]="LOW",e[e.MIN=4]="MIN"})(Ce||(Ce={}));const rm=e=>{let{children:t,options:r}=e,n=function(a,o){if(a==null)return{};var s,i,l={},u=Object.keys(a);for(i=0;i<u.length;i++)o.indexOf(s=u[i])>=0||(l[s]=a[s]);return l}(e,r8);return We.cloneElement(aW(t,r),n)};const Ec=({variant:e="primary",className:t="",children:r,...n})=>M.jsx("div",{className:Se("highlighted-text-box",e,t),...n,children:r});const MS=({variant:e="empty",text:t=!1,button:r=!1,className:n=""})=>{let a=r&&!!Object.keys(r).length;const o=typeof r=="object"&&"breakpoints"in r,s=xs(o);if(o&&typeof r=="object"&&typeof s=="number"){const i=Object.assign({},r.breakpoints),l=_0(Object.keys(i));a=w0(s,l,i)}return M.jsxs(Ec,{variant:"subtle",className:Se("empty-state-box",e,n),children:[t&&M.jsx(rm,{options:{forceBlock:!0},children:t}),a&&typeof r=="object"&&M.jsx(lr,{variant:r.variant?r.variant:"secondary",href:r.url,"data-gtm-event-context":r.gtmContext,"data-gtm-event-type":"explore-content-click",children:r.text})]})};const oh=({children:e,...t})=>M.jsx("p",{...t,children:e}),kS={q:oh,blockquote:oh};for(let e=1;e<=6;e++)kS[`h${e}`]={component:oh,props:{className:"title"}};const $S=({type:e="default",className:t="",heading:r=!1,children:n})=>M.jsxs("div",{className:Se("helper-text-box text-small",e,t),children:[r&&M.jsx("p",{className:"title",children:r}),typeof n=="string"?M.jsx(rm,{options:{wrapper:re.Fragment,forceBlock:!0,overrides:kS},children:n}):M.jsx("p",{children:n})]});const oW=({className:e="",show:t=!1,hide:r=!1,text:n,children:a})=>{const o=ut(),s=re.useRef(null),[i,l]=re.useState(""),[u,c]=re.useState("closed");re.useEffect(()=>{const f=s.current;if(f)return f.addEventListener("transitionend",p),()=>{f.removeEventListener("transitionend",p)}},[]),re.useEffect(()=>{if(!n||typeof n!="string")return;const f=n.split(`
190
+ `,{_:h}));for(;typeof m[m.length-1]=="string"&&!m[m.length-1].trim();)m.pop();if(t.wrapper===null)return m;const _=t.wrapper||(h?"span":"div");let b;if(m.length>1||t.forceWrapper)b=m;else{if(m.length===1)return b=m[0],typeof b=="string"?n("span",{key:"outer"},b):b;b=null}return We.createElement(_,{key:"outer"},b)}function o(f){const h=f.match(o8);return h?h.reduce(function(m,_,b){const v=_.indexOf("=");if(v!==-1){const w=function(N){return N.indexOf("-")!==-1&&N.match(b8)===null&&(N=N.replace(S8,function(I,j){return j.toUpperCase()})),N}(_.slice(0,v)).trim(),R=function(N){const I=N[0];return(I==='"'||I==="'")&&N.length>=2&&N[N.length-1]===I?N.slice(1,-1):N}(_.slice(v+1).trim()),T=Xb[w]||w,C=m[T]=function(N,I){return N==="style"?I.split(/;\s?/).reduce(function(j,z){const Y=z.slice(0,z.indexOf(":"));return j[Y.replace(/(-[a-z])/g,U=>U[1].toUpperCase())]=z.slice(Y.length+1).trim(),j},{}):N==="href"?aa(I):(I.match(E8)&&(I=I.slice(1,I.length-1)),I==="true"||I!=="false"&&I)}(w,R);typeof C=="string"&&(nh.test(C)||ah.test(C))&&(m[T]=We.cloneElement(a(C.trim()),{key:b}))}else _!=="style"&&(m[Xb[_]||_]=!0);return m},{}):null}const s=[],i={},l={blockQuote:{t:br(hS),i:Ce.HIGH,l:(f,h,m)=>({v:h(f[0].replace(l8,""),m)}),h:(f,h,m)=>n("blockquote",{key:m.k},h(f.v,m))},breakLine:{t:bo(u8),i:Ce.HIGH,l:Dd,h:(f,h,m)=>n("br",{key:m.k})},breakThematic:{t:br(c8),i:Ce.HIGH,l:Dd,h:(f,h,m)=>n("hr",{key:m.k})},codeBlock:{t:br(yS),i:Ce.MAX,l:f=>({v:f[0].replace(/^ {4}/gm,"").replace(/\n+$/,""),M:void 0}),h:(f,h,m)=>n("pre",{key:m.k},n("code",En({},f.O,{className:f.M?`lang-${f.M}`:""}),f.v))},codeFenced:{t:br(mS),i:Ce.MAX,l:f=>({O:o(f[3]||""),v:f[4],M:f[2]||void 0,type:"codeBlock"})},codeInline:{t:$r(f8),i:Ce.LOW,l:f=>({v:f[2]}),h:(f,h,m)=>n("code",{key:m.k},f.v)},footnote:{t:br(h8),i:Ce.MAX,l:f=>(s.push({I:f[2],j:f[1]}),{}),h:Fd},footnoteReference:{t:kr(m8),i:Ce.HIGH,l:f=>({v:f[1],B:`#${t.slugify(f[1])}`}),h:(f,h,m)=>n("a",{key:m.k,href:aa(f.B)},n("sup",{key:m.k},f.v))},gfmTask:{t:kr(v8),i:Ce.HIGH,l:f=>({R:f[1].toLowerCase()==="x"}),h:(f,h,m)=>n("input",{checked:f.R,key:m.k,readOnly:!0,type:"checkbox"})},heading:{t:br(t.enforceAtxHeadings?gS:vS),i:Ce.HIGH,l:(f,h,m)=>({v:Yi(h,f[2],m),T:t.slugify(f[2]),C:f[1].length}),h:(f,h,m)=>n(`h${f.C}`,{id:f.T,key:m.k},h(f.v,m))},headingSetext:{t:br(bS),i:Ce.MAX,l:(f,h,m)=>({v:Yi(h,f[1],m),C:f[2]==="="?1:2,type:"heading"})},htmlComment:{t:bo(ES),i:Ce.HIGH,l:()=>({}),h:Fd},image:{t:$r(X8),i:Ce.HIGH,l:f=>({D:f[1],B:rE(f[2]),F:f[3]}),h:(f,h,m)=>n("img",{key:m.k,alt:f.D||void 0,title:f.F||void 0,src:aa(f.B)})},link:{t:kr(K8),i:Ce.LOW,l:(f,h,m)=>({v:rW(h,f[1],m),B:rE(f[2]),F:f[3]}),h:(f,h,m)=>n("a",{key:m.k,href:aa(f.B),title:f.F},h(f.v,m))},linkAngleBraceStyleDetector:{t:kr(T8),i:Ce.MAX,l:f=>({v:[{v:f[1],type:"text"}],B:f[1],type:"link"})},linkBareUrlDetector:{t:(f,h)=>h.N?null:kr(_8)(f,h),i:Ce.MAX,l:f=>({v:[{v:f[1],type:"text"}],B:f[1],F:void 0,type:"link"})},linkMailtoDetector:{t:kr(w8),i:Ce.MAX,l(f){let h=f[1],m=f[1];return i8.test(m)||(m="mailto:"+m),{v:[{v:h.replace("mailto:",""),type:"text"}],B:m,type:"link"}}},orderedList:Zb(n,1),unorderedList:Zb(n,2),newlineCoalescer:{t:br(d8),i:Ce.LOW,l:Dd,h:()=>`
191
+ `},paragraph:{t:tW,i:Ce.LOW,l:qd,h:(f,h,m)=>n("p",{key:m.k},h(f.v,m))},ref:{t:kr(R8),i:Ce.MAX,l:f=>(i[f[1]]={B:f[2],F:f[4]},{}),h:Fd},refImage:{t:$r(C8),i:Ce.MAX,l:f=>({D:f[1]||void 0,P:f[2]}),h:(f,h,m)=>n("img",{key:m.k,alt:f.D,src:aa(i[f.P].B),title:i[f.P].F})},refLink:{t:kr(O8),i:Ce.MAX,l:(f,h,m)=>({v:h(f[1],m),Z:h(f[0].replace(x8,"\\$1"),m),P:f[2]}),h:(f,h,m)=>i[f.P]?n("a",{key:m.k,href:aa(i[f.P].B),title:i[f.P].F},h(f.v,m)):n("span",{key:m.k},h(f.Z,m))},table:{t:br(_S),i:Ce.HIGH,l:eW,h:(f,h,m)=>n("table",{key:m.k},n("thead",null,n("tr",null,f.L.map(function(_,b){return n("th",{key:b,style:tE(f,b)},h(_,m))}))),n("tbody",null,f.A.map(function(_,b){return n("tr",{key:b},_.map(function(v,w){return n("td",{key:w,style:tE(f,w)},h(v,m))}))})))},tableSeparator:{t:function(f,h){return h.$?(h._=!0,I8.exec(f)):null},i:Ce.HIGH,l:function(){return{type:"tableSeparator"}},h:()=>" | "},text:{t:bo(j8),i:Ce.MIN,l:f=>({v:f[0].replace(g8,(h,m)=>t.namedCodesToUnicode[m]?t.namedCodesToUnicode[m]:h)}),h:f=>f.v},textBolded:{t:$r(B8),i:Ce.MED,l:(f,h,m)=>({v:h(f[2],m)}),h:(f,h,m)=>n("strong",{key:m.k},h(f.v,m))},textEmphasized:{t:$r(q8),i:Ce.LOW,l:(f,h,m)=>({v:h(f[2],m)}),h:(f,h,m)=>n("em",{key:m.k},h(f.v,m))},textEscaped:{t:$r(U8),i:Ce.HIGH,l:f=>({v:f[1],type:"text"})},textMarked:{t:$r(D8),i:Ce.LOW,l:qd,h:(f,h,m)=>n("mark",{key:m.k},h(f.v,m))},textStrikethroughed:{t:$r(F8),i:Ce.LOW,l:qd,h:(f,h,m)=>n("del",{key:m.k},h(f.v,m))}};t.disableParsingRawHTML!==!0&&(l.htmlBlock={t:bo(nh),i:Ce.HIGH,l(f,h,m){const[,_]=f[3].match(G8),b=new RegExp(`^${_}`,"gm"),v=f[3].replace(b,""),w=(R=v,Q8.some(I=>I.test(R))?nW:Yi);var R;const T=f[1].toLowerCase(),C=a8.indexOf(T)!==-1;m.N=m.N||T==="a";const N=C?f[3]:w(h,v,m);return m.N=!1,{O:o(f[2]),v:N,G:C,H:C?T:f[1]}},h:(f,h,m)=>n(f.H,En({key:m.k},f.O),f.G?f.v:h(f.v,m))},l.htmlSelfClosing={t:bo(ah),i:Ce.HIGH,l:f=>({O:o(f[2]||""),H:f[1]}),h:(f,h,m)=>n(f.H,En({},f.O,{key:m.k}))});const u=function(f){let h=Object.keys(f);function m(_,b){let v=[],w="";for(;_;){let R=0;for(;R<h.length;){const T=h[R],C=f[T],N=C.t(_,b,w);if(N){const I=N[0];_=_.substring(I.length);const j=C.l(N,m,b);j.type==null&&(j.type=T),v.push(j),w=I;break}R++}}return v}return h.sort(function(_,b){let v=f[_].i,w=f[b].i;return v!==w?v-w:_<b?-1:1}),function(_,b){return m(function(v){return v.replace(p8,`
192
+ `).replace(y8,"").replace(A8," ")}(_),b)}}(l),c=(p=function(f){return function(h,m,_){return f[h.type].h(h,m,_)}}(l),function f(h,m={}){if(Array.isArray(h)){const _=m.k,b=[];let v=!1;for(let w=0;w<h.length;w++){m.k=w;const R=f(h[w],m),T=typeof R=="string";T&&v?b[b.length-1]+=R:R!==null&&b.push(R),v=T}return m.k=_,b}return p(h,f,m)});var p;const d=a(e);return s.length?n("div",null,d,n("footer",{key:"footer"},s.map(function(f){return n("div",{id:t.slugify(f.j),key:f.j},f.j,c(u(f.I,{_:!0})))}))):d}(function(e){e[e.MAX=0]="MAX",e[e.HIGH=1]="HIGH",e[e.MED=2]="MED",e[e.LOW=3]="LOW",e[e.MIN=4]="MIN"})(Ce||(Ce={}));const rm=e=>{let{children:t,options:r}=e,n=function(a,o){if(a==null)return{};var s,i,l={},u=Object.keys(a);for(i=0;i<u.length;i++)o.indexOf(s=u[i])>=0||(l[s]=a[s]);return l}(e,n8);return We.cloneElement(oW(t,r),n)};const Ec=({variant:e="primary",className:t="",children:r,...n})=>M.jsx("div",{className:Se("highlighted-text-box",e,t),...n,children:r});const MS=({variant:e="empty",text:t=!1,button:r=!1,className:n=""})=>{let a=r&&!!Object.keys(r).length;const o=typeof r=="object"&&"breakpoints"in r,s=xs(o);if(o&&typeof r=="object"&&typeof s=="number"){const i=Object.assign({},r.breakpoints),l=_0(Object.keys(i));a=w0(s,l,i)}return M.jsxs(Ec,{variant:"subtle",className:Se("empty-state-box",e,n),children:[t&&M.jsx(rm,{options:{forceBlock:!0},children:t}),a&&typeof r=="object"&&M.jsx(lr,{variant:r.variant?r.variant:"secondary",href:r.url,"data-gtm-event-context":r.gtmContext,"data-gtm-event-type":"explore-content-click",children:r.text})]})};const oh=({children:e,...t})=>M.jsx("p",{...t,children:e}),kS={q:oh,blockquote:oh};for(let e=1;e<=6;e++)kS[`h${e}`]={component:oh,props:{className:"title"}};const $S=({type:e="default",className:t="",heading:r=!1,children:n})=>M.jsxs("div",{className:Se("helper-text-box text-small",e,t),children:[r&&M.jsx("p",{className:"title",children:r}),typeof n=="string"?M.jsx(rm,{options:{wrapper:re.Fragment,forceBlock:!0,overrides:kS},children:n}):M.jsx("p",{children:n})]});const iW=({className:e="",show:t=!1,hide:r=!1,text:n,children:a})=>{const o=ut(),s=re.useRef(null),[i,l]=re.useState(""),[u,c]=re.useState("closed");re.useEffect(()=>{const f=s.current;if(f)return f.addEventListener("transitionend",p),()=>{f.removeEventListener("transitionend",p)}},[]),re.useEffect(()=>{if(!n||typeof n!="string")return;const f=n.split(`
193
193
  `);l(f.length<3?`${n.substring(0,400)}...`:f.slice(0,3).join(`
194
- `))},[n]),re.useEffect(()=>{u==="ready-to-close"&&c("closing")},[u]);const p=({propertyName:f})=>{f==="max-height"&&c(h=>h==="opening"?"open":h==="closing"?"closed":h)};if(!n)return null;const d=["opening","open"].includes(u);return M.jsxs(Ec,{variant:"subtle",className:Se("hide-show-text-box",e),children:[M.jsxs("div",{ref:s,className:Se("content",u),children:[M.jsx(rm,{options:{forceBlock:!0},children:u==="closed"?i:n}),u!=="closed"&&a]}),M.jsx("p",{className:"cta",children:M.jsx(lr,{variant:"tertiary",icon:{icon:"navigation_arrow",position:"left",animate:!0},styling:{muted:!0},className:Se({"rotate-180":d}),onClick:()=>{c(d?"ready-to-close":"opening")},children:d?r||o.formatMessage({id:"hideShowTextBox_hide"}):t||o.formatMessage({id:"hideShowTextBox_show"})})})]})},iW=({locale:e="en",...t})=>M.jsx(Et,{locale:e,children:M.jsx(oW,{...t})});const sW=({className:e="",children:t})=>M.jsx("span",{className:Se("pill",e),children:t});const lW=({progress:e=0,text:t=!1,className:r=""})=>{const n=ut(),a=e>75?100:e>50?75:e>25?50:e>5?25:0,o={"--progress":`${e}%`};return M.jsx("span",{className:Se(`progress-bar section-${a}`,r),style:o,children:M.jsx(Pt,{children:t?`${e} ${t}`:n.formatMessage({id:"progressBar"},{number:e})})})},uW=({locale:e="en",...t})=>M.jsx(Et,{locale:e,children:M.jsx(lW,{...t})}),LS=re.memo(uW);const jd="loadingBlock_",cW=({progress:e=0,steps:t=!1,className:r=""})=>{const n=ut();t||(t={0:{text:n.formatMessage({id:`${jd}loading`})},75:{text:n.formatMessage({id:`${jd}almostDone`})},100:{text:n.formatMessage({id:`${jd}complete`})}});let a=null;const o=Object.keys(t);for(let i=0;i<o.length&&!(e<parseInt(o[i]));i++)a=o[i];const s=a&&t[a].icon?{"--icon":`url(${pS}icons/${t[a].icon}.svg)`}:{};return M.jsxs(Ec,{className:Se("loading-block",r,{"has-icon":a&&t[a].icon}),variant:"subtle",style:s,children:[a&&M.jsx("span",{className:"step",children:t[a].text}),M.jsx(LS,{progress:e})]})},fW=({locale:e="en",...t})=>M.jsx(Et,{locale:e,children:M.jsx(cW,{...t})}),dW=re.memo(fW);const $o=({element:e="div",className:t="",...r})=>M.jsx(lh,{element:e,className:Se("loading-placeholder",t),...r});const ih={header:["logo","link","link","search"],sidebar:["text","text","text","text","text"],"cards-section":["subtitle","cards"],cards:["card","card","card","card"],"overview-page":["header","sidebar","title","text","cards-section","cards-section","footer"]},BS=(e,t)=>e in ih?M.jsx("div",{className:e,children:ih[e].map((r,n)=>BS(r,n))},t):M.jsx($o,{className:e},t),qS=({layout:e="overview-page"})=>M.jsx("div",{className:Se("loading-state",e),children:ih[e].map((t,r)=>BS(t,r))});const Mi="emailHelperTextBox_",pW=({type:e,email:t,redirectPath:r,resendVerificationCode:n})=>{const a=ut(),[o,s]=re.useState({path:`${Mi}default`,type:"default",link:{},mail:{},error:""}),[i,l]=re.useState(!1),u=re.useCallback(f=>{f.preventDefault(),f.stopPropagation();const h=m=>{s({path:`${Mi}error_verificationFailedToSend`,type:"error",link:{"data-gtm-event-context":"VerifyEmailBox","data-gtm-event-type":"SendEmailClick",className:"gtm-trackable",onClick:_=>u(_),href:"#","data-testid":"send-verify-email-click"},mail:{href:"mailto:concierge@apolitical.co",className:"gtm-trackable","data-gtm-event-context":"ErrorVerifyingBox","data-gtm-event-type":"email-concierge-click"},error:m})};if(typeof n!="function"){h(a.formatMessage({id:`${Mi}error_noFunction`}));return}l(!0),n(t).then(()=>{localStorage.setItem("email",t),window.location.href=r||"/signup/verify-email"}).catch(m=>{h(m.message)}).finally(()=>{l(!1)})},[t,r,n]);re.useEffect(()=>{let f=Mi,h="default",m={},_={};switch(e){case"gov":f+="autoApproved",h="success";break;case"nonGov":f+="unrecognisedEmail",h="error",m={href:"https://about.apolitical.co/who-can-join-the-community","data-gtm-event-context":"NonGovEmailHelperTextBox","data-gtm-event-type":"LearnMoreClick"};break;case"pending":f+="pendingApproval",h="error",_={href:"mailto:concierge@apolitical.co",className:"gtm-trackable","data-gtm-event-context":"EmailExistsBox","data-gtm-event-type":"email-concierge-click"};break;case"verify":f+="emailUnverified",h="error",m={href:"#","data-gtm-event-context":"VerifyEmailBox","data-gtm-event-type":"SendEmailClick",className:"gtm-trackable",onClick:b=>u(b),"data-testid":"send-verify-email-click"};break;case"exists":f+="emailAlreadyExists",h="error",m={href:"/user-onboarding/login","data-gtm-event-context":"EmailExistsBox","data-gtm-event-type":"login-click"},_={href:"mailto:concierge@apolitical.co",className:"gtm-trackable","data-gtm-event-context":"EmailExistsBox","data-gtm-event-type":"email-concierge-click"};break;default:f+="default",m={href:"https://about.apolitical.co/who-can-join-the-community","data-gtm-event-context":"DefaultEmailHelperTextBox","data-gtm-event-type":"LearnMoreClick"};break}s({...o,path:f,type:h,link:m,mail:_})},[e]);const c={};return["link","mail"].forEach(f=>{c[f]=Object.keys(o[f]).length?h=>M.jsx("a",{...o[f],children:h}):h=>h}),M.jsx($S,{type:o.type,heading:i?!1:a.formatMessage({id:`${o.path}_title`}),children:i?M.jsxs(M.Fragment,{children:[M.jsx($o,{element:"span"}),M.jsx($o,{element:"span"})]}):a.formatMessage({id:`${o.path}_text`},{...c,strong:f=>M.jsx("strong",{children:f}),em:f=>M.jsx("em",{children:f}),br:M.jsxs(M.Fragment,{children:[M.jsx("br",{}),M.jsx("br",{})]}),error:o.error})})},hW=({locale:e="en",...t})=>M.jsx(Et,{locale:e,children:M.jsx(pW,{...t})});const ki="passwordRules_",DS="isMoreThanEightCharacters",FS="includesNumberAndSymbol",US="includesLowerAndUppercase",mW={[DS]:"8Characters",[FS]:"numberSymbol",[US]:"lowercaseUppercase"},yW=({matchingRules:e={isMoreThanEightCharacters:!1,includesNumberAndSymbol:!1,includesLowerAndUppercase:!1},className:t=""})=>{const r=ut();return M.jsxs("aside",{className:Se("password-rules",t),children:[M.jsx("small",{children:r.formatMessage({id:`${ki}intro`})}),M.jsx("ul",{children:[DS,FS,US].map(n=>M.jsxs("li",{className:Se({matches:e[n]}),children:[M.jsxs(Pt,{children:[r.formatMessage({id:`${ki}rule_label`})," "]}),M.jsx("span",{children:r.formatMessage({id:`${ki}rule_${mW[n]}`})}),!e[n]&&M.jsxs(Pt,{element:"strong",children:[" "," ",r.formatMessage({id:`${ki}notMet`})]})]},`rule-${n}`))})]})},vW=({locale:e="en",...t})=>M.jsx(Et,{locale:e,children:M.jsx(yW,{...t})}),gW=re.memo(vW);const bW=({text:e={},topRating:t=5,functions:{createRating:r=()=>null,updateRating:n=()=>{},reportError:a=()=>{}},className:o="",hasLoaded:s=!1})=>{const i=ut(),[l,u]=re.useState({setUp:!1,id:null,rating:null,disabled:!0}),c=async()=>{try{const b=await r();u(v=>({...v,setUp:!0,id:b&&b.id,disabled:!1}))}catch(b){u(v=>({...v,setUp:!0,disabled:!0})),a(b)}};if(re.useEffect(()=>{s&&!l.setUp&&c()},[s]),!s)return M.jsx($o,{className:"rating-placeholder"});const{id:p,rating:d,disabled:f}=l,h="ratings_",m={text:i.formatMessage({id:`${h}text`}),low:i.formatMessage({id:`${h}low`}),high:i.formatMessage({id:`${h}high`}),success:i.formatMessage({id:`${h}success`}),...e},_=async b=>{if(!(!p||f))try{u(v=>({...v,rating:b,disabled:!0})),await n({id:p,value:b})}catch(v){u(w=>({...w,rating:null})),a(v)}finally{u(v=>({...v,disabled:!1}))}};return M.jsxs("div",{className:Se("rating",o),children:[M.jsx("span",{className:"label",children:m[d?"success":"text"]}),M.jsx("ol",{children:Array.from(new Array(t).keys()).map(b=>{const v=b+1;return M.jsx("li",{className:Se({selected:d&&v<=d}),children:M.jsx(lr,{variant:"tertiary",size:"small",icon:{icon:`star${!d||v>d?"_empty":""}`,position:"left",hover:"star"},screenreaderText:`${i.formatMessage({id:`${h}stars`},{number:v,total:t})}${v===1||v===t?` - ${m[v===1?"low":"high"]}`:""}`,onClick:w=>{w.preventDefault(),w.stopPropagation(),_(v)},disabled:f})},`rating-${v}`)})})]})},EW=({locale:e="en",...t})=>M.jsx(Et,{children:M.jsx(bW,{...t})});const _W=({id:e="search",className:t="",handleToggle:r=!1,defaultValue:n="",gtmContext:a="search-bar",gtmEvent:o="form-submission"})=>{const{searchIsOpen:s=!0,isDesktopVersion:i=!1}=r||{},l=ut(),u=re.useRef(null);Ki(()=>{!r||i||!s||u.current&&u.current.focus()},[s]);const c=p=>{if(p.preventDefault(),p.stopPropagation(),!(!u.current||!u.current.value||u.current.value.length<1))return window&&window.location&&window.location.replace(`/search?search=${u.current.value}`)};return M.jsx("form",{onSubmit:c,className:Se("search-form gtm-trackable",t),"data-gtm-event-context":a,"data-gtm-event-type":o,children:M.jsx("fieldset",{id:`${e}-form`,hidden:r?!s:!1,role:"search",children:M.jsxs("p",{children:[M.jsx(Pt,{element:"label",htmlFor:e,children:l.formatMessage({id:"search_label"})}),M.jsx("input",{ref:u,type:"search",id:e,name:e,defaultValue:n,placeholder:l.formatMessage({id:"search_placeholder"}),onKeyDown:p=>{p.key==="Enter"&&c(p)}}),M.jsx("button",{className:"clear",onClick:p=>{p.preventDefault(),p.stopPropagation(),u.current&&u.current.value&&(u.current.value="")},children:M.jsx(Pt,{children:l.formatMessage({id:"search_clear"})})}),M.jsx("button",{className:"search",onClick:c,children:M.jsx(Pt,{children:l.formatMessage({id:"search_cta"})})})]})})})},jS=({locale:e="en",...t})=>M.jsx(Et,{locale:e,children:M.jsx(_W,{...t})});const wW=({text:e,buttons:t,className:r=""})=>M.jsxs("section",{className:Se("download-section",r),children:[re.createElement(typeof e=="string"?"h2":e.element,{className:"text"},typeof e=="string"?e:e.text),M.jsx("p",{className:"button-wrapper",children:t.map((n,a)=>M.jsx(lr,{href:n.link,variant:"secondary",size:{mobile:"medium",1024:"large"},className:"gtm-trackable","data-gtm-event-type":"download-click","data-gtm-event-context":n.eventContext||"Download",target:"_blank",children:n.text},`${n.link}-${a}`))})]});const TW=({title:e=!1,logos:t=[],className:r=""})=>{const n=t.length;if(n===0)return null;const a={element:typeof e=="object"?e.element:"h2",text:typeof e=="string"?e:typeof e=="object"?e.text:""};return M.jsxs("div",{className:Se("logos",r),children:[e&&re.createElement(a.element,{className:"title"},a.text),M.jsx("ul",{className:Se({"two-col":n===2||n===4,"three-col":n===5||n<=10&&n%3===0}),children:t.map(({logo:o,nameOfBusiness:s,link:i=!1,description:l=!1},u)=>{if(!o||!o.url)return null;const c=M.jsx("img",{src:o.url,width:o.width||"auto",height:o.height||"auto",alt:s});return M.jsxs("li",{children:[M.jsx("p",{className:"img-wrapper",children:i?M.jsx("a",{href:i,target:"_blank",rel:"nofollow noreferrer noopener",children:c}):c}),l&&M.jsx("small",{children:l})]},window.btoa(`${o.url}_${u}`))})})]})};const Hd="cookieBanner_",Gd=["apol-cookie-banner","apolitical-performance-cookie-consent","functional-cookie-consent"],Wd=new Date(Date.now()+12*30*24*60*60*1e3),SW=()=>{const e=ut(),[t,r,n]=yE(Gd),[a,o]=re.useState(!t["apol-cookie-banner"]),s=()=>{Gd.forEach(u=>{r(u,!0,{path:"/",expires:Wd,domain:u==="apolitical-performance-cookie-consent"?".apolitical.co":void 0})}),o(!1),window.location.reload()},i=()=>{r("apol-cookie-banner",!0,{path:"/",expires:Wd}),Gd.forEach(u=>{if(u==="apol-cookie-banner"){r(u,!0,{path:"/",expires:Wd});return}n(u)}),o(!1)};if(!a)return null;const l=[{id:"settings",href:"/pages/cookie-policy",gtmType:"policy-page"},{id:"reject",onClick:i,gtmType:"reject-all"},{id:"accept",onClick:s,gtmType:"accepted-all"}];return M.jsxs("aside",{id:"cookie-banner",className:"text-medium",children:[M.jsx("h6",{children:e.formatMessage({id:`${Hd}title`})}),M.jsx("p",{children:e.formatMessage({id:`${Hd}text`})}),M.jsx("ul",{className:"button-wrapper",children:l.map(({id:u,onClick:c=!1,href:p=!1,gtmType:d})=>M.jsx("li",{children:M.jsx(lr,{variant:p?"tertiary":"primary",href:p,onClick:c,className:"gtm-trackable","data-gtm-event-context":"cookie-banner","data-gtm-event-type":`cookie-${d}-click`,children:e.formatMessage({id:`${Hd}buttons_${u}`})})},u))})]})},HS=({locale:e="en",...t})=>M.jsx(Et,{locale:e,children:M.jsx(SW,{...t})});const RW=({options:e,allOption:t=!1,allowMultiple:r=!0,onChange:n=()=>{},className:a=""})=>{const o=ut(),s=t?[{id:"all",text:typeof t!="boolean"&&t.text||o.formatMessage({id:"filters_all"})},...e]:e,[i,l]=re.useState(t?["all"]:[]),u=(c,p)=>{let d=[];i.includes(c)?d=i.filter(f=>f!==c):c==="all"?d=["all"]:r?d=[...i.filter(f=>f!=="all"),c]:d=[c],l(f=>(n&&typeof n=="function"&&n({current:d,previous:f}),d)),p&&typeof p=="function"&&p()};return M.jsx("ul",{className:Se("filters",a),children:s.map(({id:c,text:p,disabled:d=!1,callback:f=()=>{}})=>{let h={};return d&&(h={disabled:!0,"aria-label":o.formatMessage({id:"filters_disabled"},{name:p})}),M.jsx("li",{children:M.jsx("button",{className:Se(c,{selected:i.includes(c)}),onClick:m=>{m.preventDefault(),m.stopPropagation(),u(c,f)},...h,children:p})},c)})})},CW=({locale:e="en",...t})=>M.jsx(Et,{locale:e,children:M.jsx(RW,{...t})});const Vd=Ep({locale:"en",messages:Z0}),OW=({page:e=1,length:t=0,limit:r=10,loadNextPage:n=()=>{},icon:a=!1,messages:o={button:Vd.formatMessage({id:"loadMore_button"}),endOfFeed:Vd.formatMessage({id:"loadMore_endOfFeed"}),error:Vd.formatMessage({id:"loadMore_error"})},className:s="",gtmContext:i="LoadMore"})=>{const[l,u]=re.useState(!1),[c,p]=re.useState(!1);if(t<=0||t<r*e)return null;const d=async f=>{try{await n(f)}catch(h){h instanceof Error&&h.message&&h.message.includes("Cannot read items")?p(!0):u(!0)}};return M.jsxs("footer",{className:Se("load-more",s),children:[l&&M.jsx("p",{className:"error",children:o.error}),c?M.jsx("p",{children:o.endOfFeed}):M.jsx(lr,{variant:"secondary",icon:a,onClick:d,"data-gtm-event-context":i,"data-gtm-event-type":"load-more-click",className:"gtm-trackable","data-testid":"load-more-button",children:o.button})]})},xW=({locale:e="en",...t})=>M.jsx(Et,{locale:e,children:M.jsx(OW,{...t})});const PW=({variant:e="default",version:t="default",className:r="",...n})=>M.jsx("p",{className:"logo-wrapper",children:M.jsx("a",{className:Se("logo",e,t,r),href:"/home/",...n,children:M.jsx(Pt,{children:M.jsx(_n,{id:"apolitical"})})})}),nm=({locale:e="en",...t})=>M.jsx(Et,{locale:e,children:M.jsx(PW,{...t})}),nE={default:"tags_",headerTopics:"header_topics_topics_"},zd={topic:{Climate:"climate",CitiesAndLocalGovernment:"cities-and-local-government",DigitalAndData:"digital-and-data",Education:"education",EquityJusticeAndInclusion:"equity-justice-and-inclusion",HealthAndSocialCare:"health-and-social-care",Innovation:"innovation",LeadershipAndSkills:"leadership-and-skills",LifeInGovernment:"life-in-government",Policymaking:"policymaking",TransportAndInfrastructure:"transport-and-infrastructure",WorkAndTheEconomy:"work-and-the-economy"},"from the community":"community"},AW={getTagDetails:e=>{if(e.includes("topic_")){if(e=zd.topic[e.replace("topic_","")],e){const t=Bo.topics.topics[e].href;return t?{id:e,href:t,text:`${nE.headerTopics}${e}`}:null}return null}return zd[e]?(e=zd[e],{id:e,text:`${nE.default}${e}`}):null}};const IW=({tags:e=[],color:t="default",forceOneLine:r=!1,canHaveLinks:n=!0,className:a="",gtmType:o="tag-click",gtmContext:s="tags"})=>{const i=ut();if(!e||e.length<1)return null;const l=[];return e.forEach(u=>{if(!u)return;const c=AW.getTagDetails(u);c&&l.push(c)}),l.length<1?null:M.jsx("ul",{className:Se("tags text-small",t,a,{"one-line":r}),children:l.map(u=>{const c=i.formatMessage({id:u.text});return M.jsx("li",{children:u.href&&n?M.jsx("a",{href:u.href,className:"gtm-trackable","data-gtm-event-type":o,"data-gtm-event-context":s,children:c}):c},u.id)})})},NW=({locale:e="en",...t})=>M.jsx(Et,{locale:e,children:M.jsx(IW,{...t})}),wr={platform:{order:["events","courses","qanda","articles"],events:{href:"/events/",gtmType:"events-click"},courses:{href:"/microcourses/",gtmType:"microcourses-click"},qanda:{href:"/questions-answers/",gtmType:"q-and-a-click"},articles:{href:"/solution-articles/",gtmType:"articles-click"}},community:{order:["support","post","join","guidelines"],support:{name:"Support FAQ",href:"/pages/support-faq",gtmType:"support-faq-click"},post:{href:"/pages/post-an-article",gtmType:"post-an-article-click"},join:{href:"/pages/who-can-join-the-community",gtmType:"who-can-join-click"},guidelines:{href:"/pages/values-and-guidelines",gtmType:"guidelines-and-values-click"}},company:{order:["story","team","careers","partner","contact"],story:{href:"/pages/our-story",gtmType:"our-story-click"},team:{href:"/pages/meet-our-team",gtmType:"team-click"},careers:{href:"/pages/careers",gtmType:"careers-click"},partner:{href:"/partnerships/",gtmType:"partner-with-us-click"},contact:{href:"/pages/get-in-touch",gtmType:"contact-click"},child:"legal"},legal:{order:["privacy","terms","cookie","accessibility"],privacy:{href:"https://about.apolitical.co/privacy-policy",gtmType:"privacy-policy-link"},terms:{href:"https://about.apolitical.co/terms-and-conditions",gtmType:"terms-conditions-link"},cookie:{href:"/pages/cookie-policy",gtmType:"cookie-policy-link"},accessibility:{href:"/pages/accessibility-statement",gtmType:"accessibility-link"},text:{order:["dataProtection","euDataProtection"],dataProtection:{email:"dpo@apolitical.co",gtmType:"email-dpo-link"},euDataProtection:{email:"dpo.agl@apolitical.foundation",gtmType:"email-eu-dpo-link"}}},contact:{text:{order:["correspondence","registered","berlin","support","business"],correspondence:{address:!0},registered:{address:!0},berlin:{address:!0},support:{email:"concierge@apolitical.co",gtmType:"concierge-email-click"},business:{email:"hello@apolitical.co",gtmType:"hello-email-click"}}},social:{order:["linkedin","twitter","facebook"],linkedin:{href:"https://www.linkedin.com/company/apolitical"},twitter:{href:"https://twitter.com/apoliticalco"},facebook:{href:"https://www.facebook.com/apoliticalco"}}};const ua="footer_",_s="SiteFooter",aE=({group:e})=>{const t=wr[e].order||[];let r=!1;return"text"in wr[e]&&(r=wr[e].text),M.jsxs(re.Fragment,{children:[M.jsx("p",{className:"pre-title",children:M.jsx(_n,{id:`${ua}${e}`})}),Array.isArray(t)&&t.length>0&&M.jsx("ul",{className:"text-medium",children:t.map(n=>{if(["order","child","text"].includes(n))return null;const{href:a,gtmType:o}=wr[e][n],s={};return["legal"].includes(e)&&(s.target="_blank",s.rel="noopener"),M.jsx("li",{children:M.jsx("a",{href:a,className:"gtm-trackable","data-gtm-event-context":_s,"data-gtm-event-type":o,...s,children:M.jsx(_n,{id:`${ua}${e}_${n}`})})},`${e}_${n}`)})}),typeof r!="boolean"&&"order"in r&&Array.isArray(r.order)&&M.jsx("dl",{className:"text-medium",children:r.order.map(n=>M.jsxs(re.Fragment,{children:[M.jsx("dt",{children:M.jsx(_n,{id:`${ua}${e}_${n}`})}),M.jsxs("dd",{children:[typeof r!="boolean"&&r[n].address&&M.jsx("address",{children:M.jsx(_n,{id:`${ua}${e}_${n}_address`,values:{br:M.jsx("br",{})}})}),typeof r!="boolean"&&r[n].email&&M.jsx("a",{href:`mailto:${r[n].email}`,className:"gtm-trackable","data-gtm-event-context":_s,"data-gtm-event-type":r[n].gtmType,children:r[n].email})]})]},`dl-${e}-${n}`))})]},e)},MW=()=>M.jsx("div",{id:"footer",children:M.jsxs("div",{className:"wrapper",children:[M.jsx(lh,{element:"hr"}),M.jsx(nm,{variant:"inverted",version:"full",className:"gtm-trackable","data-gtm-event-context":_s,"data-gtm-event-type":"logo-homepage-link"}),M.jsx("footer",{children:["platform","community","company","contact"].map(e=>M.jsxs("div",{className:"group",children:[M.jsx(aE,{group:e}),Object.keys(wr[e]).includes("child")&&M.jsx(aE,{group:wr[e].child})]},e))}),M.jsx("hr",{}),M.jsxs("div",{className:"sub-footer",children:[M.jsx("ul",{children:Array.isArray(wr.social.order)&&wr.social.order.map(e=>{const t=wr.social[e];return M.jsx("li",{className:e,children:M.jsx("a",{href:t.href,target:"_blank",rel:"noopener noreferrer",className:"gtm-trackable","data-gtm-event-context":_s,"data-gtm-event-type":"social-click",children:M.jsx("span",{className:"hidden",children:M.jsx(_n,{id:`${ua}social_${e}`})})})},e)})}),M.jsx("small",{children:M.jsx(_n,{id:`${ua}copyright`,values:{currentYear:new Date().getFullYear()}})})]})]})}),am=({locale:e="en",...t})=>M.jsx(Et,{locale:e,children:M.jsx(MW,{...t})}),GS=e=>{const t=e&&e.toUpperCase().split(" ");return Array.isArray(t)&&t.length>1&&t[0]!==""?t[1]===""?t[0][0]:t[0][0]+t[t.length-1][0]:e?e.substr(0,1):""},$i=["#5AB6A3","#A2D7AF","#806056","#3962B3"],kW=e=>{const t=Math.ceil(26/$i.length),r=GS(e).toLowerCase();if(r==="")return $i[0];const n=r.charCodeAt(0)-96;for(let a=0;a<$i.length;a++)if(n<=t*(a+1))return $i[a]};const Li=256,WS=({className:e="",src:t="",name:r,alt:n,...a})=>{const[o,s]=re.useState(!1),i=re.useRef(null);return re.useEffect(()=>{const l=i.current;if(!l)return;const u=l.getContext("2d");if(!u)return;const c=Li,p=Li;typeof window<"u"&&window.devicePixelRatio&&(l.width=c*window.devicePixelRatio,l.height=p*window.devicePixelRatio,u.scale(window.devicePixelRatio,window.devicePixelRatio)),u.fillStyle=kW(r),u.fillRect(0,0,c,p),u.font=`${c/3}px Arial`,u.textAlign="center",u.fillStyle="white",u.fillText(GS(r),c/2,p/1.6)},[r]),M.jsxs("figure",{className:Se("profile-picture",e,{error:o}),...a,children:[t!==""&&!o&&M.jsx("img",{src:t,alt:n||r,onError:()=>{s(!0)},width:Li,height:Li}),(t===""||o)&&M.jsx("canvas",{ref:i})]})};var $W="Expected a function",VS="__lodash_hash_undefined__",zS=1/0,LW="[object Function]",BW="[object GeneratorFunction]",qW="[object Symbol]",DW=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,FW=/^\w*$/,UW=/^\./,jW=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,HW=/[\\^$.*+?()[\]{}|]/g,GW=/\\(\\)?/g,WW=/^\[object .+?Constructor\]$/,VW=typeof be=="object"&&be&&be.Object===Object&&be,zW=typeof self=="object"&&self&&self.Object===Object&&self,om=VW||zW||Function("return this")();function YW(e,t){return e==null?void 0:e[t]}function KW(e){var t=!1;if(e!=null&&typeof e.toString!="function")try{t=!!(e+"")}catch{}return t}var XW=Array.prototype,QW=Function.prototype,YS=Object.prototype,Yd=om["__core-js_shared__"],oE=function(){var e=/[^.]+$/.exec(Yd&&Yd.keys&&Yd.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""}(),KS=QW.toString,im=YS.hasOwnProperty,XS=YS.toString,JW=RegExp("^"+KS.call(im).replace(HW,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),iE=om.Symbol,ZW=XW.splice,eV=QS(om,"Map"),Lo=QS(Object,"create"),sE=iE?iE.prototype:void 0,lE=sE?sE.toString:void 0;function xn(e){var t=-1,r=e?e.length:0;for(this.clear();++t<r;){var n=e[t];this.set(n[0],n[1])}}function tV(){this.__data__=Lo?Lo(null):{}}function rV(e){return this.has(e)&&delete this.__data__[e]}function nV(e){var t=this.__data__;if(Lo){var r=t[e];return r===VS?void 0:r}return im.call(t,e)?t[e]:void 0}function aV(e){var t=this.__data__;return Lo?t[e]!==void 0:im.call(t,e)}function oV(e,t){var r=this.__data__;return r[e]=Lo&&t===void 0?VS:t,this}xn.prototype.clear=tV;xn.prototype.delete=rV;xn.prototype.get=nV;xn.prototype.has=aV;xn.prototype.set=oV;function Oa(e){var t=-1,r=e?e.length:0;for(this.clear();++t<r;){var n=e[t];this.set(n[0],n[1])}}function iV(){this.__data__=[]}function sV(e){var t=this.__data__,r=_c(t,e);if(r<0)return!1;var n=t.length-1;return r==n?t.pop():ZW.call(t,r,1),!0}function lV(e){var t=this.__data__,r=_c(t,e);return r<0?void 0:t[r][1]}function uV(e){return _c(this.__data__,e)>-1}function cV(e,t){var r=this.__data__,n=_c(r,e);return n<0?r.push([e,t]):r[n][1]=t,this}Oa.prototype.clear=iV;Oa.prototype.delete=sV;Oa.prototype.get=lV;Oa.prototype.has=uV;Oa.prototype.set=cV;function Bn(e){var t=-1,r=e?e.length:0;for(this.clear();++t<r;){var n=e[t];this.set(n[0],n[1])}}function fV(){this.__data__={hash:new xn,map:new(eV||Oa),string:new xn}}function dV(e){return wc(this,e).delete(e)}function pV(e){return wc(this,e).get(e)}function hV(e){return wc(this,e).has(e)}function mV(e,t){return wc(this,e).set(e,t),this}Bn.prototype.clear=fV;Bn.prototype.delete=dV;Bn.prototype.get=pV;Bn.prototype.has=hV;Bn.prototype.set=mV;function _c(e,t){for(var r=e.length;r--;)if(CV(e[r][0],t))return r;return-1}function yV(e,t){t=EV(t,e)?[t]:bV(t);for(var r=0,n=t.length;e!=null&&r<n;)e=e[SV(t[r++])];return r&&r==n?e:void 0}function vV(e){if(!ZS(e)||wV(e))return!1;var t=OV(e)||KW(e)?JW:WW;return t.test(RV(e))}function gV(e){if(typeof e=="string")return e;if(lm(e))return lE?lE.call(e):"";var t=e+"";return t=="0"&&1/e==-zS?"-0":t}function bV(e){return JS(e)?e:TV(e)}function wc(e,t){var r=e.__data__;return _V(t)?r[typeof t=="string"?"string":"hash"]:r.map}function QS(e,t){var r=YW(e,t);return vV(r)?r:void 0}function EV(e,t){if(JS(e))return!1;var r=typeof e;return r=="number"||r=="symbol"||r=="boolean"||e==null||lm(e)?!0:FW.test(e)||!DW.test(e)||t!=null&&e in Object(t)}function _V(e){var t=typeof e;return t=="string"||t=="number"||t=="symbol"||t=="boolean"?e!=="__proto__":e===null}function wV(e){return!!oE&&oE in e}var TV=sm(function(e){e=PV(e);var t=[];return UW.test(e)&&t.push(""),e.replace(jW,function(r,n,a,o){t.push(a?o.replace(GW,"$1"):n||r)}),t});function SV(e){if(typeof e=="string"||lm(e))return e;var t=e+"";return t=="0"&&1/e==-zS?"-0":t}function RV(e){if(e!=null){try{return KS.call(e)}catch{}try{return e+""}catch{}}return""}function sm(e,t){if(typeof e!="function"||t&&typeof t!="function")throw new TypeError($W);var r=function(){var n=arguments,a=t?t.apply(this,n):n[0],o=r.cache;if(o.has(a))return o.get(a);var s=e.apply(this,n);return r.cache=o.set(a,s),s};return r.cache=new(sm.Cache||Bn),r}sm.Cache=Bn;function CV(e,t){return e===t||e!==e&&t!==t}var JS=Array.isArray;function OV(e){var t=ZS(e)?XS.call(e):"";return t==LW||t==BW}function ZS(e){var t=typeof e;return!!e&&(t=="object"||t=="function")}function xV(e){return!!e&&typeof e=="object"}function lm(e){return typeof e=="symbol"||xV(e)&&XS.call(e)==qW}function PV(e){return e==null?"":gV(e)}function AV(e,t,r){var n=e==null?void 0:yV(e,t);return n===void 0?r:n}var IV=AV;const eR=Rr(IV),$e={timeouts:{},handlerCalled:{},getIsDesktopVersion:(e,t)=>{const r={navigation:{loggedIn:769,loggedOut:881},search:{loggedIn:961,loggedOut:1121}},n=o=>{const s=`logged${e?"In":"Out"}`;return t>=r[o][s]};let a={};return["navigation","search"].forEach(o=>{a[o]=n(o)}),a},shouldChangeHeaderIsVisible:(e,t,r)=>{Object.values(t).filter(a=>a===!0).length||r([{type:"headerIsVisible",value:e}])},handleMenus:({id:e,value:t,menus:r,dispatch:n})=>{if(r[e]===t||e==="account"&&t===!1&&r.navigation===!0)return;const a=Date.now();if(!t&&$e.handlerCalled[e]&&a-$e.handlerCalled[e]<500)return;$e.handlerCalled[e]=a;let o=[{type:`menus.${e}`,value:t}];t===!0&&Object.keys(r).forEach(s=>{s===e||r[s]===!1||o.push({type:`menus.${s}`,value:!1})}),n(o)},findFirstChild:(e,t,r=!1)=>{if(!e||!e[0])return!1;for(let n=0;n<=e.length;n++){if(!e[n])continue;if(e[n][t]&&(!r||e[n][t].includes(r)))return e[n];if(!t.includes("."))continue;const a=eR(e[n],t);if(!(typeof a>"u")&&(!r||a[t]&&a[t].includes(r)||a.value&&a.value.includes(r)||a.toString().includes(r)))return e[n]}return e[0].children?$e.findFirstChild(e[0].children,t,r):!1},autoFocus:({menu:e,navigationRef:t,isDesktopVersion:r,focusElements:n,dispatch:a})=>{if(!t.current||!t.current.children)return;const o=r?"desktop":"default";if(n[e][o]){n[e][o].focus();return}let s,i;switch(e){case"navigation":if(r){const l=$e.findFirstChild(t.current.children,"attributes.aria-controls","navigation");s=$e.findFirstChild(l.children,"href")}else s=$e.findFirstChild(t.current.children,"href");s||(s=t.current);break;case"account":if(i=$e.findFirstChild(t.current.children,"className","account"),!i||!i.children)return;s=$e.findFirstChild(i.children,"href");break;default:return}s&&(a([{type:`focusElements.${e}.${o}`,value:s}]),s.focus())},events:{onClick:(e,{id:t,callback:r,isOpen:n})=>{e.target&&e.target.attributes&&e.target.attributes.href||(e.preventDefault(),e.stopPropagation(),clearTimeout($e.timeouts[t]),r(t,!n))},onFocus:({id:e})=>{clearTimeout($e.timeouts[e])},onMouseEnter:({id:e,callback:t})=>{clearTimeout($e.timeouts[e]),t(e,!0)},onBlur:({id:e,callback:t})=>{$e.timeouts[e]=setTimeout(()=>{t(e,!1)},250)}}},Bo={order:["home","topics","partners","account"],home:{href:"/home/",hasVariantText:!0,gtmType:"homepage-click"},topics:{order:["explore","topics"],menuId:"navigation",explore:{order:["events","courses","q-and-a","articles"],events:{href:"/events/",className:"icon events"},courses:{href:"/microcourses/",gtmType:"microcourses-click",className:"icon courses"},"q-and-a":{href:"/questions-answers/",className:"icon q-and-a"},articles:{href:"/solution-articles/",gtmType:"articles-click",className:"icon articles"}},topics:{order:["climate","cities-and-local-government","digital-and-data","education","equity-justice-and-inclusion","health-and-social-care","innovation","leadership-and-skills","life-in-government","policymaking","transport-and-infrastructure","work-and-the-economy"],className:"columns",climate:{href:"/topics/climate/"},"cities-and-local-government":{href:"/topics/cities-and-local-government/"},"digital-and-data":{href:"/topics/digital-and-data/"},education:{href:"/topics/education/"},"equity-justice-and-inclusion":{href:"/topics/equity-justice-and-inclusion/"},"health-and-social-care":{href:"/topics/health-and-social-care/"},innovation:{href:"/topics/innovation/"},"leadership-and-skills":{href:"/topics/leadership-and-skills/"},"life-in-government":{href:"/topics/life-in-government/"},policymaking:{href:"/topics/policymaking/"},"transport-and-infrastructure":{href:"/topics/transport-and-infrastructure/"},"work-and-the-economy":{href:"/topics/work-and-the-economy/"}}},partners:{href:"/partnerships/",onlyShow:"logged-out"},account:{order:["profile","settings","log-out"],className:"account",onlyShow:"logged-in",doTrack:!1,profile:{href:"/profiles/me"},settings:{href:"/profiles/me/manage-account"},"log-out":{href:"/user-onboarding/logout",className:"divider"}},buttons:{order:["login","signup"],login:{href:"/user-onboarding/login"},signup:{href:"/signup/?ref=header-banner",props:{variant:"primary"}}}},ws=({id:e,isLoggedIn:t=!1,isDesktopVersion:r=!1,menus:n={},callback:a=()=>{},doTrack:o=null})=>{const s=ut(),i=eR(Bo,e);if(!i||i.onlyShow&&(i.onlyShow==="logged-in"&&!t||i.onlyShow==="logged-out"&&t))return null;const l="doTrack"in i,u=o===null?l?i.doTrack:!0:o,c=e.includes("buttons.");let p=`header_${e.replaceAll(".","_")}`;i.hasVariantText&&(p+=`_logged${t?"In":"Out"}`);let d=!1;if(i.href){let v=i.gtmType||`${e}-click`;if(v.includes(".")){const w=v.split("."),R=w[w.length-2];v=`${R==="topics"?`${R}-`:""}${w[w.length-1]}`}d={href:i.href,role:"menuitem"},u&&(d={...d,className:"gtm-trackable","data-gtm-event-type":v,"data-gtm-event-context":"HeaderButtons"}),c&&(d={...d,variant:"secondary",size:{mobile:"small",881:"large"},...i.props||{}})}const f=i.order&&i.order[0]&&i[i.order[0]],h=f&&i[i.order[0]].order,m=d&&typeof window<"u"&&window.location&&window.location.pathname===i.href;let _={},b={};if(f){const v=i.menuId||e,w={onClick:R=>$e.events.onClick(R,{id:v,callback:a,isOpen:n[v]}),onFocus:()=>$e.events.onFocus({id:v}),onBlur:()=>$e.events.onBlur({id:v,callback:a}),onMouseLeave:()=>$e.events.onBlur({id:v,callback:a}),onMouseEnter:()=>$e.events.onMouseEnter({id:v,callback:a})};r&&(h&&(_={...w,onKeyPress:R=>{R.key==="Enter"&&$e.events.onClick(R,{id:v,callback:a,isOpen:n[v]})},tabIndex:"0","aria-haspopup":!0,"aria-expanded":n[v],"aria-controls":v}),b={hidden:v in n?!n[v]:!0}),h||(b={...b,...w})}return M.jsxs("li",{className:Se({[i.className]:i.className,"has-submenu":f,parent:h,active:m}),role:"none",..._,children:[d?re.createElement(c?lr:"a",d,s.formatMessage({id:p})):s.formatMessage({id:p}),i.order&&M.jsx("ul",{...b,children:i.order.map(v=>{if(!i[v])return null;const w={isLoggedIn:t,isDesktopVersion:r,menus:n,callback:a,doTrack:l?u:null};return i[v].order?M.jsxs("li",{className:Se({[i[v].className]:i[v].className}),children:[s.formatMessage({id:`${p}_${v}`}),M.jsx("ul",{children:i[v].order.map(R=>M.jsx(ws,{id:`${e}.${v}.${R}`,...w},R))})]},v):M.jsx(ws,{id:`${e}.${v}`,...w},v)})})]},e)};const NV={height:67,height_desktop:83},MV=()=>{const e=ut(),t=re.useContext(Zh),r=xs(!0,!0),n=t&&typeof t.id=="string",a=re.useMemo(()=>$e.getIsDesktopVersion(n,r),[n,r]),[o,s]=re.useReducer(C1,{headerIsVisible:!0,menus:{navigation:!1,search:!1,account:!1},focusElements:{navigation:{desktop:!1,default:!1},account:{desktop:!1,default:!1}}}),{headerIsVisible:i,menus:l,focusElements:u}=o;d0({scrollPosition:NV[`height${a.navigation?"_desktop":""}`],callbacks:{scrollUp:()=>{!a&&l.navigation||$e.shouldChangeHeaderIsVisible(!0,l,s)},scrollDown:()=>{!a&&l.navigation||$e.shouldChangeHeaderIsVisible(!1,l,s)}}});const c=(d,f)=>{$e.handleMenus({id:d,value:f,menus:l,dispatch:s})},p=re.useRef(null);return Ki(()=>{l.navigation&&$e.autoFocus({menu:"navigation",navigationRef:p,isDesktopVersion:a.navigation,focusElements:u,dispatch:s})},[l.navigation]),Ki(()=>{l.account&&$e.autoFocus({menu:"account",navigationRef:p,isDesktopVersion:a.navigation,focusElements:u,dispatch:s})},[l.account]),t&&t.isLoading?null:M.jsxs(M.Fragment,{children:[M.jsxs("nav",{id:"header",className:Se({"logged-in":n,"logged-out":!n,visible:i}),children:[M.jsx(Pt,{element:"a",href:"#content-of-page",children:e.formatMessage({id:"header_skip"})}),M.jsx(nm,{}),!a.navigation&&M.jsx("button",{className:"menu-button gtm-trackable",onClick:d=>{d.preventDefault(),d.stopPropagation(),c("navigation",!l.navigation)},"data-gtm-event-type":"open-tab-menu-click","data-gtm-event-context":"HeaderLeft-Chevron","aria-haspopup":"true","aria-expanded":l.navigation,"aria-controls":"navigation",children:M.jsx(Pt,{children:e.formatMessage({id:`header_menu_${l.navigation?"hide":"show"}`})})}),M.jsx("ul",{ref:p,id:"navigation",hidden:a.navigation||l.account?!1:!l.navigation,role:"menu","data-showing":!a.navigation&&l.account?"account":"default",children:Bo.order.map(d=>M.jsx(ws,{id:d,isLoggedIn:n,isDesktopVersion:a.navigation,menus:{navigation:l.navigation,account:l.account},callback:c},d))}),!a.search&&M.jsx("button",{className:"search toggle-search-button",onClick:d=>{d.preventDefault(),d.stopPropagation(),c("search",!l.search)},"aria-haspopup":"true","aria-expanded":l.search,"aria-controls":"search-form",children:M.jsx(Pt,{children:e.formatMessage({id:`header_search_${l.search?"hide":"show"}`})})}),M.jsx(jS,{id:"global-search",handleToggle:{searchIsOpen:l.search,isDesktopVersion:a.search},gtmContext:"search-bar-header",gtmEvent:"form-submission"}),n?M.jsxs("button",{className:"account-button",onClick:d=>$e.events.onClick(d,{id:"account",callback:c,isOpen:l.account}),onMouseEnter:()=>$e.events.onMouseEnter({id:"account",callback:c}),onMouseLeave:()=>$e.events.onBlur({id:"account",callback:c}),"aria-haspopup":"true","aria-expanded":l.account,"aria-controls":"navigation",children:[M.jsx(Pt,{children:e.formatMessage({id:`header_account_${l.account?"hide":"show"}`})}),M.jsx(WS,{name:t&&t.name||"",src:t&&t.image&&t.image.thumbnail||""})]}):M.jsx("ul",{className:"sign-in-buttons",children:Bo.buttons.order.map(d=>M.jsx(ws,{id:`buttons.${d}`},d))})]}),M.jsx("hr",{id:"content-of-page"}),M.jsx("div",{className:Se("overlay",{open:l.navigation||l.account||!a.search&&l.search})})]})},um=({locale:e="en",...t})=>M.jsx(Et,{locale:e,children:M.jsx(MV,{...t})}),kV=re.createContext(null),Kd={didCatch:!1,error:null};class $V extends re.Component{constructor(t){super(t),this.resetErrorBoundary=this.resetErrorBoundary.bind(this),this.state=Kd}static getDerivedStateFromError(t){return{didCatch:!0,error:t}}resetErrorBoundary(){const{error:t}=this.state;if(t!==null){for(var r,n,a=arguments.length,o=new Array(a),s=0;s<a;s++)o[s]=arguments[s];(r=(n=this.props).onReset)===null||r===void 0||r.call(n,{args:o,reason:"imperative-api"}),this.setState(Kd)}}componentDidCatch(t,r){var n,a;(n=(a=this.props).onError)===null||n===void 0||n.call(a,t,r)}componentDidUpdate(t,r){const{didCatch:n}=this.state,{resetKeys:a}=this.props;if(n&&r.error!==null&&LV(t.resetKeys,a)){var o,s;(o=(s=this.props).onReset)===null||o===void 0||o.call(s,{next:a,prev:t.resetKeys,reason:"keys"}),this.setState(Kd)}}render(){const{children:t,fallbackRender:r,FallbackComponent:n,fallback:a}=this.props,{didCatch:o,error:s}=this.state;let i=t;if(o){const l={error:s,resetErrorBoundary:this.resetErrorBoundary};if(re.isValidElement(a))i=a;else if(typeof r=="function")i=r(l);else if(n)i=re.createElement(n,l);else throw s}return re.createElement(kV.Provider,{value:{didCatch:o,error:s,resetErrorBoundary:this.resetErrorBoundary}},i)}}function LV(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[];return e.length!==t.length||e.some((r,n)=>!Object.is(r,t[n]))}const BV=({locale:e})=>{const t=ut();return M.jsxs(M.Fragment,{children:[M.jsx(um,{locale:e}),M.jsx("div",{className:"content",children:M.jsx(MS,{variant:"error",text:t.formatMessage({id:"pageLayout_error"})})}),M.jsx(am,{locale:e})]})},qV=({locale:e="en",...t})=>M.jsx(Et,{locale:e,children:M.jsx(BV,{locale:e,...t})}),DV=({children:e,reportError:t,showFooter:r=!0,background:n="default",className:a="",locale:o="en"})=>{const s=XI(e,{locale:o});return M.jsx($V,{onError:t,fallback:M.jsx(qV,{locale:o}),children:M.jsx(re.Suspense,{fallback:M.jsx(qS,{layout:"overview-page"}),children:M.jsx("div",{id:"wrapper",className:Se(a,{[n]:n!=="default"}),children:M.jsxs(OR,{children:[M.jsx(um,{locale:o}),M.jsx("div",{className:"content",children:s}),r&&M.jsx(am,{locale:o}),M.jsx(HS,{})]})})})})};exports.ASSETS_BUCKET=pS;exports.BannerSection=X6;exports.Button=lr;exports.CollapsibleSection=t8;exports.CookieBanner=HS;exports.DownloadSection=wW;exports.EmailHelperTextBox=hW;exports.EmptyStateBox=MS;exports.Filters=CW;exports.Footer=am;exports.Header=um;exports.HelperTextBox=$S;exports.HiddenFromScreenReaders=lh;exports.HideShowTextBox=iW;exports.HighlightedTextBox=Ec;exports.Link=W6;exports.LoadMore=xW;exports.LoadingBlock=dW;exports.LoadingPlaceholder=$o;exports.LoadingState=qS;exports.Logo=nm;exports.Logos=TW;exports.MarketingBox=Q6;exports.NUMBER_OF_USERS=J6;exports.PageLayout=DV;exports.PasswordRules=gW;exports.Pill=sW;exports.ProfilePicture=WS;exports.ProgressBar=LS;exports.Rating=EW;exports.ResponsiveImage=dS;exports.SearchForm=jS;exports.Tags=NW;exports.UserContext=Zh;exports.UserProvider=Z6;exports.VisuallyHidden=Pt;exports.headerData=Bo;exports.useEffectAfterMount=Ki;exports.useFeatureFlag=_A;exports.useScreenWidth=xs;exports.useScrollListener=d0;
194
+ `))},[n]),re.useEffect(()=>{u==="ready-to-close"&&c("closing")},[u]);const p=({propertyName:f})=>{f==="max-height"&&c(h=>h==="opening"?"open":h==="closing"?"closed":h)};if(!n)return null;const d=["opening","open"].includes(u);return M.jsxs(Ec,{variant:"subtle",className:Se("hide-show-text-box",e),children:[M.jsxs("div",{ref:s,className:Se("content",u),children:[M.jsx(rm,{options:{forceBlock:!0},children:u==="closed"?i:n}),u!=="closed"&&a]}),M.jsx("p",{className:"cta",children:M.jsx(lr,{variant:"tertiary",icon:{icon:"navigation_arrow",position:"left",animate:!0},styling:{muted:!0},className:Se({"rotate-180":d}),onClick:()=>{c(d?"ready-to-close":"opening")},children:d?r||o.formatMessage({id:"hideShowTextBox_hide"}):t||o.formatMessage({id:"hideShowTextBox_show"})})})]})},sW=({locale:e="en",...t})=>M.jsx(Et,{locale:e,children:M.jsx(iW,{...t})});const lW=({className:e="",children:t})=>M.jsx("span",{className:Se("pill",e),children:t});const uW=({progress:e=0,text:t=!1,className:r=""})=>{const n=ut(),a=e>75?100:e>50?75:e>25?50:e>5?25:0,o={"--progress":`${e}%`};return M.jsx("span",{className:Se(`progress-bar section-${a}`,r),style:o,children:M.jsx(Pt,{children:t?`${e} ${t}`:n.formatMessage({id:"progressBar"},{number:e})})})},cW=({locale:e="en",...t})=>M.jsx(Et,{locale:e,children:M.jsx(uW,{...t})}),LS=re.memo(cW);const jd="loadingBlock_",fW=({progress:e=0,steps:t=!1,className:r=""})=>{const n=ut();t||(t={0:{text:n.formatMessage({id:`${jd}loading`})},75:{text:n.formatMessage({id:`${jd}almostDone`})},100:{text:n.formatMessage({id:`${jd}complete`})}});let a=null;const o=Object.keys(t);for(let i=0;i<o.length&&!(e<parseInt(o[i]));i++)a=o[i];const s=a&&t[a].icon?{"--icon":`url(${pS}icons/${t[a].icon}.svg)`}:{};return M.jsxs(Ec,{className:Se("loading-block",r,{"has-icon":a&&t[a].icon}),variant:"subtle",style:s,children:[a&&M.jsx("span",{className:"step",children:t[a].text}),M.jsx(LS,{progress:e})]})},dW=({locale:e="en",...t})=>M.jsx(Et,{locale:e,children:M.jsx(fW,{...t})}),pW=re.memo(dW);const $o=({element:e="div",className:t="",...r})=>M.jsx(lh,{element:e,className:Se("loading-placeholder",t),...r});const ih={header:["logo","link","link","search"],sidebar:["text","text","text","text","text"],"cards-section":["subtitle","cards"],cards:["card","card","card","card"],"overview-page":["header","sidebar","title","text","cards-section","cards-section","footer"]},BS=(e,t)=>e in ih?M.jsx("div",{className:e,children:ih[e].map((r,n)=>BS(r,n))},t):M.jsx($o,{className:e},t),qS=({layout:e="overview-page"})=>M.jsx("div",{className:Se("loading-state",e),children:ih[e].map((t,r)=>BS(t,r))});const Mi="emailHelperTextBox_",hW=({type:e,email:t,redirectPath:r,resendVerificationCode:n})=>{const a=ut(),[o,s]=re.useState({path:`${Mi}default`,type:"default",link:{},mail:{},error:""}),[i,l]=re.useState(!1),u=re.useCallback(f=>{f.preventDefault(),f.stopPropagation();const h=m=>{s({path:`${Mi}error_verificationFailedToSend`,type:"error",link:{"data-gtm-event-context":"VerifyEmailBox","data-gtm-event-type":"SendEmailClick",className:"gtm-trackable",onClick:_=>u(_),href:"#","data-testid":"send-verify-email-click"},mail:{href:"mailto:concierge@apolitical.co",className:"gtm-trackable","data-gtm-event-context":"ErrorVerifyingBox","data-gtm-event-type":"email-concierge-click"},error:m})};if(typeof n!="function"){h(a.formatMessage({id:`${Mi}error_noFunction`}));return}l(!0),n(t).then(()=>{localStorage.setItem("email",t),window.location.href=r||"/signup/verify-email"}).catch(m=>{h(m.message)}).finally(()=>{l(!1)})},[t,r,n]);re.useEffect(()=>{let f=Mi,h="default",m={},_={};switch(e){case"gov":f+="autoApproved",h="success";break;case"nonGov":f+="unrecognisedEmail",h="error",m={href:"https://about.apolitical.co/who-can-join-the-community","data-gtm-event-context":"NonGovEmailHelperTextBox","data-gtm-event-type":"LearnMoreClick"};break;case"pending":f+="pendingApproval",h="error",_={href:"mailto:concierge@apolitical.co",className:"gtm-trackable","data-gtm-event-context":"EmailExistsBox","data-gtm-event-type":"email-concierge-click"};break;case"verify":f+="emailUnverified",h="error",m={href:"#","data-gtm-event-context":"VerifyEmailBox","data-gtm-event-type":"SendEmailClick",className:"gtm-trackable",onClick:b=>u(b),"data-testid":"send-verify-email-click"};break;case"exists":f+="emailAlreadyExists",h="error",m={href:"/user-onboarding/login","data-gtm-event-context":"EmailExistsBox","data-gtm-event-type":"login-click"},_={href:"mailto:concierge@apolitical.co",className:"gtm-trackable","data-gtm-event-context":"EmailExistsBox","data-gtm-event-type":"email-concierge-click"};break;default:f+="default",m={href:"https://about.apolitical.co/who-can-join-the-community","data-gtm-event-context":"DefaultEmailHelperTextBox","data-gtm-event-type":"LearnMoreClick"};break}s({...o,path:f,type:h,link:m,mail:_})},[e]);const c={};return["link","mail"].forEach(f=>{c[f]=Object.keys(o[f]).length?h=>M.jsx("a",{...o[f],children:h}):h=>h}),M.jsx($S,{type:o.type,heading:i?!1:a.formatMessage({id:`${o.path}_title`}),children:i?M.jsxs(M.Fragment,{children:[M.jsx($o,{element:"span"}),M.jsx($o,{element:"span"})]}):a.formatMessage({id:`${o.path}_text`},{...c,strong:f=>M.jsx("strong",{children:f}),em:f=>M.jsx("em",{children:f}),br:M.jsxs(M.Fragment,{children:[M.jsx("br",{}),M.jsx("br",{})]}),error:o.error})})},mW=({locale:e="en",...t})=>M.jsx(Et,{locale:e,children:M.jsx(hW,{...t})});const ki="passwordRules_",DS="isMoreThanEightCharacters",FS="includesNumberAndSymbol",US="includesLowerAndUppercase",yW={[DS]:"8Characters",[FS]:"numberSymbol",[US]:"lowercaseUppercase"},vW=({matchingRules:e={isMoreThanEightCharacters:!1,includesNumberAndSymbol:!1,includesLowerAndUppercase:!1},className:t=""})=>{const r=ut();return M.jsxs("aside",{className:Se("password-rules",t),children:[M.jsx("small",{children:r.formatMessage({id:`${ki}intro`})}),M.jsx("ul",{children:[DS,FS,US].map(n=>M.jsxs("li",{className:Se({matches:e[n]}),children:[M.jsxs(Pt,{children:[r.formatMessage({id:`${ki}rule_label`})," "]}),M.jsx("span",{children:r.formatMessage({id:`${ki}rule_${yW[n]}`})}),!e[n]&&M.jsxs(Pt,{element:"strong",children:[" "," ",r.formatMessage({id:`${ki}notMet`})]})]},`rule-${n}`))})]})},gW=({locale:e="en",...t})=>M.jsx(Et,{locale:e,children:M.jsx(vW,{...t})}),bW=re.memo(gW);const EW=({text:e={},topRating:t=5,functions:{createRating:r=()=>null,updateRating:n=()=>{},reportError:a=()=>{}},className:o="",hasLoaded:s=!1})=>{const i=ut(),[l,u]=re.useState({setUp:!1,id:null,rating:null,disabled:!0}),c=async()=>{try{const b=await r();u(v=>({...v,setUp:!0,id:b&&b.id,disabled:!1}))}catch(b){u(v=>({...v,setUp:!0,disabled:!0})),a(b)}};if(re.useEffect(()=>{s&&!l.setUp&&c()},[s]),!s)return M.jsx($o,{className:"rating-placeholder"});const{id:p,rating:d,disabled:f}=l,h="ratings_",m={text:i.formatMessage({id:`${h}text`}),low:i.formatMessage({id:`${h}low`}),high:i.formatMessage({id:`${h}high`}),success:i.formatMessage({id:`${h}success`}),...e},_=async b=>{if(!(!p||f))try{u(v=>({...v,rating:b,disabled:!0})),await n({id:p,value:b})}catch(v){u(w=>({...w,rating:null})),a(v)}finally{u(v=>({...v,disabled:!1}))}};return M.jsxs("div",{className:Se("rating",o),children:[M.jsx("span",{className:"label",children:m[d?"success":"text"]}),M.jsx("ol",{children:Array.from(new Array(t).keys()).map(b=>{const v=b+1;return M.jsx("li",{className:Se({selected:d&&v<=d}),children:M.jsx(lr,{variant:"tertiary",size:"small",icon:{icon:`star${!d||v>d?"_empty":""}`,position:"left",hover:"star"},screenreaderText:`${i.formatMessage({id:`${h}stars`},{number:v,total:t})}${v===1||v===t?` - ${m[v===1?"low":"high"]}`:""}`,onClick:w=>{w.preventDefault(),w.stopPropagation(),_(v)},disabled:f})},`rating-${v}`)})})]})},_W=({locale:e="en",...t})=>M.jsx(Et,{children:M.jsx(EW,{...t})});const wW=({id:e="search",className:t="",handleToggle:r=!1,defaultValue:n="",gtmContext:a="search-bar",gtmEvent:o="form-submission"})=>{const{searchIsOpen:s=!0,isDesktopVersion:i=!1}=r||{},l=ut(),u=re.useRef(null);Ki(()=>{!r||i||!s||u.current&&u.current.focus()},[s]);const c=p=>{if(p.preventDefault(),p.stopPropagation(),!(!u.current||!u.current.value||u.current.value.length<1))return window&&window.location&&window.location.replace(`/search?search=${u.current.value}`)};return M.jsx("form",{onSubmit:c,className:Se("search-form gtm-trackable",t),"data-gtm-event-context":a,"data-gtm-event-type":o,children:M.jsx("fieldset",{id:`${e}-form`,hidden:r?!s:!1,role:"search",children:M.jsxs("p",{children:[M.jsx(Pt,{element:"label",htmlFor:e,children:l.formatMessage({id:"search_label"})}),M.jsx("input",{ref:u,type:"search",id:e,name:e,defaultValue:n,placeholder:l.formatMessage({id:"search_placeholder"}),onKeyDown:p=>{p.key==="Enter"&&c(p)}}),M.jsx("button",{className:"clear",onClick:p=>{p.preventDefault(),p.stopPropagation(),u.current&&u.current.value&&(u.current.value="")},children:M.jsx(Pt,{children:l.formatMessage({id:"search_clear"})})}),M.jsx("button",{className:"search",onClick:c,children:M.jsx(Pt,{children:l.formatMessage({id:"search_cta"})})})]})})})},jS=({locale:e="en",...t})=>M.jsx(Et,{locale:e,children:M.jsx(wW,{...t})});const TW=({text:e,buttons:t,className:r=""})=>M.jsxs("section",{className:Se("download-section",r),children:[re.createElement(typeof e=="string"?"h2":e.element,{className:"text"},typeof e=="string"?e:e.text),M.jsx("p",{className:"button-wrapper",children:t.map((n,a)=>M.jsx(lr,{href:n.link,variant:"secondary",size:{mobile:"medium",1024:"large"},className:"gtm-trackable","data-gtm-event-type":"download-click","data-gtm-event-context":n.eventContext||"Download",target:"_blank",children:n.text},`${n.link}-${a}`))})]});const SW=({title:e=!1,logos:t=[],className:r=""})=>{const n=t.length;if(n===0)return null;const a={element:typeof e=="object"?e.element:"h2",text:typeof e=="string"?e:typeof e=="object"?e.text:""};return M.jsxs("div",{className:Se("logos",r),children:[e&&re.createElement(a.element,{className:"title"},a.text),M.jsx("ul",{className:Se({"two-col":n===2||n===4,"three-col":n===5||n<=10&&n%3===0}),children:t.map(({logo:o,nameOfBusiness:s,link:i=!1,description:l=!1},u)=>{if(!o||!o.url)return null;const c=M.jsx("img",{src:o.url,width:o.width||"auto",height:o.height||"auto",alt:s});return M.jsxs("li",{children:[M.jsx("p",{className:"img-wrapper",children:i?M.jsx("a",{href:i,target:"_blank",rel:"nofollow noreferrer noopener",children:c}):c}),l&&M.jsx("small",{children:l})]},window.btoa(`${o.url}_${u}`))})})]})};const Hd="cookieBanner_",Gd=["apol-cookie-banner","apolitical-performance-cookie-consent","functional-cookie-consent"],Wd=new Date(Date.now()+12*30*24*60*60*1e3),RW=()=>{const e=ut(),[t,r,n]=yE(Gd),[a,o]=re.useState(!t["apol-cookie-banner"]),s=()=>{Gd.forEach(u=>{r(u,!0,{path:"/",expires:Wd,domain:u==="apolitical-performance-cookie-consent"?".apolitical.co":void 0})}),o(!1),window.location.reload()},i=()=>{r("apol-cookie-banner",!0,{path:"/",expires:Wd}),Gd.forEach(u=>{if(u==="apol-cookie-banner"){r(u,!0,{path:"/",expires:Wd});return}n(u)}),o(!1)};if(!a)return null;const l=[{id:"settings",href:"/pages/cookie-policy",gtmType:"policy-page"},{id:"reject",onClick:i,gtmType:"reject-all"},{id:"accept",onClick:s,gtmType:"accepted-all"}];return M.jsxs("aside",{id:"cookie-banner",className:"text-medium",children:[M.jsx("h6",{children:e.formatMessage({id:`${Hd}title`})}),M.jsx("p",{children:e.formatMessage({id:`${Hd}text`})}),M.jsx("ul",{className:"button-wrapper",children:l.map(({id:u,onClick:c=!1,href:p=!1,gtmType:d})=>M.jsx("li",{children:M.jsx(lr,{variant:p?"tertiary":"primary",href:p,onClick:c,className:"gtm-trackable","data-gtm-event-context":"cookie-banner","data-gtm-event-type":`cookie-${d}-click`,children:e.formatMessage({id:`${Hd}buttons_${u}`})})},u))})]})},HS=({locale:e="en",...t})=>M.jsx(Et,{locale:e,children:M.jsx(RW,{...t})});const CW=({options:e,allOption:t=!1,allowMultiple:r=!0,onChange:n=()=>{},className:a=""})=>{const o=ut(),s=t?[{id:"all",text:typeof t!="boolean"&&t.text||o.formatMessage({id:"filters_all"})},...e]:e,[i,l]=re.useState(t?["all"]:[]),u=(c,p)=>{let d=[];i.includes(c)?d=i.filter(f=>f!==c):c==="all"?d=["all"]:r?d=[...i.filter(f=>f!=="all"),c]:d=[c],l(f=>(n&&typeof n=="function"&&n({current:d,previous:f}),d)),p&&typeof p=="function"&&p()};return M.jsx("ul",{className:Se("filters",a),children:s.map(({id:c,text:p,disabled:d=!1,callback:f=()=>{}})=>{let h={};return d&&(h={disabled:!0,"aria-label":o.formatMessage({id:"filters_disabled"},{name:p})}),M.jsx("li",{children:M.jsx("button",{className:Se(c,{selected:i.includes(c)}),onClick:m=>{m.preventDefault(),m.stopPropagation(),u(c,f)},...h,children:p})},c)})})},OW=({locale:e="en",...t})=>M.jsx(Et,{locale:e,children:M.jsx(CW,{...t})});const Vd=Ep({locale:"en",messages:Z0}),xW=({page:e=1,length:t=0,limit:r=10,loadNextPage:n=()=>{},icon:a=!1,messages:o={button:Vd.formatMessage({id:"loadMore_button"}),endOfFeed:Vd.formatMessage({id:"loadMore_endOfFeed"}),error:Vd.formatMessage({id:"loadMore_error"})},className:s="",gtmContext:i="LoadMore"})=>{const[l,u]=re.useState(!1),[c,p]=re.useState(!1);if(t<=0||t<r*e)return null;const d=async f=>{try{await n(f)}catch(h){h instanceof Error&&h.message&&h.message.includes("Cannot read items")?p(!0):u(!0)}};return M.jsxs("footer",{className:Se("load-more",s),children:[l&&M.jsx("p",{className:"error",children:o.error}),c?M.jsx("p",{children:o.endOfFeed}):M.jsx(lr,{variant:"secondary",icon:a,onClick:d,"data-gtm-event-context":i,"data-gtm-event-type":"load-more-click",className:"gtm-trackable","data-testid":"load-more-button",children:o.button})]})},PW=({locale:e="en",...t})=>M.jsx(Et,{locale:e,children:M.jsx(xW,{...t})});const AW=({variant:e="default",version:t="default",className:r="",...n})=>M.jsx("p",{className:"logo-wrapper",children:M.jsx("a",{className:Se("logo",e,t,r),href:"/home/",...n,children:M.jsx(Pt,{children:M.jsx(_n,{id:"apolitical"})})})}),nm=({locale:e="en",...t})=>M.jsx(Et,{locale:e,children:M.jsx(AW,{...t})}),nE={default:"tags_",headerTopics:"header_topics_topics_"},zd={topic:{Climate:"climate",CitiesAndLocalGovernment:"cities-and-local-government",DigitalAndData:"digital-and-data",Education:"education",EquityJusticeAndInclusion:"equity-justice-and-inclusion",HealthAndSocialCare:"health-and-social-care",Innovation:"innovation",LeadershipAndSkills:"leadership-and-skills",LifeInGovernment:"life-in-government",Policymaking:"policymaking",TransportAndInfrastructure:"transport-and-infrastructure",WorkAndTheEconomy:"work-and-the-economy"},"from the community":"community"},IW={getTagDetails:e=>{if(e.includes("topic_")){if(e=zd.topic[e.replace("topic_","")],e){const t=Bo.topics.topics[e].href;return t?{id:e,href:t,text:`${nE.headerTopics}${e}`}:null}return null}return zd[e]?(e=zd[e],{id:e,text:`${nE.default}${e}`}):null}};const NW=({tags:e=[],color:t="default",forceOneLine:r=!1,canHaveLinks:n=!0,className:a="",gtmType:o="tag-click",gtmContext:s="tags"})=>{const i=ut();if(!e||e.length<1)return null;const l=[];return e.forEach(u=>{if(!u)return;const c=IW.getTagDetails(u);c&&l.push(c)}),l.length<1?null:M.jsx("ul",{className:Se("tags text-small",t,a,{"one-line":r}),children:l.map(u=>{const c=i.formatMessage({id:u.text});return M.jsx("li",{children:u.href&&n?M.jsx("a",{href:u.href,className:"gtm-trackable","data-gtm-event-type":o,"data-gtm-event-context":s,children:c}):c},u.id)})})},MW=({locale:e="en",...t})=>M.jsx(Et,{locale:e,children:M.jsx(NW,{...t})}),wr={platform:{order:["events","courses","qanda","articles"],events:{href:"/events/",gtmType:"events-click"},courses:{href:"/microcourses/",gtmType:"microcourses-click"},qanda:{href:"/questions-answers/",gtmType:"q-and-a-click"},articles:{href:"/solution-articles/",gtmType:"articles-click"}},community:{order:["support","post","join","guidelines"],support:{name:"Support FAQ",href:"/pages/support-faq",gtmType:"support-faq-click"},post:{href:"/pages/post-an-article",gtmType:"post-an-article-click"},join:{href:"/pages/who-can-join-the-community",gtmType:"who-can-join-click"},guidelines:{href:"/pages/values-and-guidelines",gtmType:"guidelines-and-values-click"}},company:{order:["story","team","careers","partner","contact"],story:{href:"/pages/our-story",gtmType:"our-story-click"},team:{href:"/pages/meet-our-team",gtmType:"team-click"},careers:{href:"/pages/careers",gtmType:"careers-click"},partner:{href:"/partnerships/",gtmType:"partner-with-us-click"},contact:{href:"/pages/get-in-touch",gtmType:"contact-click"},child:"legal"},legal:{order:["privacy","terms","cookie","accessibility"],privacy:{href:"https://about.apolitical.co/privacy-policy",gtmType:"privacy-policy-link"},terms:{href:"https://about.apolitical.co/terms-and-conditions",gtmType:"terms-conditions-link"},cookie:{href:"/pages/cookie-policy",gtmType:"cookie-policy-link"},accessibility:{href:"/pages/accessibility-statement",gtmType:"accessibility-link"},text:{order:["dataProtection","euDataProtection"],dataProtection:{email:"dpo@apolitical.co",gtmType:"email-dpo-link"},euDataProtection:{email:"dpo.agl@apolitical.foundation",gtmType:"email-eu-dpo-link"}}},contact:{text:{order:["correspondence","registered","berlin","support","business"],correspondence:{address:!0},registered:{address:!0},berlin:{address:!0},support:{email:"concierge@apolitical.co",gtmType:"concierge-email-click"},business:{email:"hello@apolitical.co",gtmType:"hello-email-click"}}},social:{order:["linkedin","twitter","facebook"],linkedin:{href:"https://www.linkedin.com/company/apolitical"},twitter:{href:"https://twitter.com/apoliticalco"},facebook:{href:"https://www.facebook.com/apoliticalco"}}};const la="footer_",_s="SiteFooter",aE=({group:e})=>{const t=wr[e].order||[];let r=!1;return"text"in wr[e]&&(r=wr[e].text),M.jsxs(re.Fragment,{children:[M.jsx("p",{className:"pre-title",children:M.jsx(_n,{id:`${la}${e}`})}),Array.isArray(t)&&t.length>0&&M.jsx("ul",{className:"text-medium",children:t.map(n=>{if(["order","child","text"].includes(n))return null;const{href:a,gtmType:o}=wr[e][n],s={};return["legal"].includes(e)&&(s.target="_blank",s.rel="noopener"),M.jsx("li",{children:M.jsx("a",{href:a,className:"gtm-trackable","data-gtm-event-context":_s,"data-gtm-event-type":o,...s,children:M.jsx(_n,{id:`${la}${e}_${n}`})})},`${e}_${n}`)})}),typeof r!="boolean"&&"order"in r&&Array.isArray(r.order)&&M.jsx("dl",{className:"text-medium",children:r.order.map(n=>M.jsxs(re.Fragment,{children:[M.jsx("dt",{children:M.jsx(_n,{id:`${la}${e}_${n}`})}),M.jsxs("dd",{children:[typeof r!="boolean"&&r[n].address&&M.jsx("address",{children:M.jsx(_n,{id:`${la}${e}_${n}_address`,values:{br:M.jsx("br",{})}})}),typeof r!="boolean"&&r[n].email&&M.jsx("a",{href:`mailto:${r[n].email}`,className:"gtm-trackable","data-gtm-event-context":_s,"data-gtm-event-type":r[n].gtmType,children:r[n].email})]})]},`dl-${e}-${n}`))})]},e)},kW=()=>M.jsx("div",{id:"footer",children:M.jsxs("div",{className:"wrapper",children:[M.jsx(lh,{element:"hr"}),M.jsx(nm,{variant:"inverted",version:"full",className:"gtm-trackable","data-gtm-event-context":_s,"data-gtm-event-type":"logo-homepage-link"}),M.jsx("footer",{children:["platform","community","company","contact"].map(e=>M.jsxs("div",{className:"group",children:[M.jsx(aE,{group:e}),Object.keys(wr[e]).includes("child")&&M.jsx(aE,{group:wr[e].child})]},e))}),M.jsx("hr",{}),M.jsxs("div",{className:"sub-footer",children:[M.jsx("ul",{children:Array.isArray(wr.social.order)&&wr.social.order.map(e=>{const t=wr.social[e];return M.jsx("li",{className:e,children:M.jsx("a",{href:t.href,target:"_blank",rel:"noopener noreferrer",className:"gtm-trackable","data-gtm-event-context":_s,"data-gtm-event-type":"social-click",children:M.jsx("span",{className:"hidden",children:M.jsx(_n,{id:`${la}social_${e}`})})})},e)})}),M.jsx("small",{children:M.jsx(_n,{id:`${la}copyright`,values:{currentYear:new Date().getFullYear()}})})]})]})}),am=({locale:e="en",...t})=>M.jsx(Et,{locale:e,children:M.jsx(kW,{...t})}),GS=e=>{const t=e&&e.toUpperCase().split(" ");return Array.isArray(t)&&t.length>1&&t[0]!==""?t[1]===""?t[0][0]:t[0][0]+t[t.length-1][0]:e?e.substr(0,1):""},$i=["#5AB6A3","#A2D7AF","#806056","#3962B3"],$W=e=>{const t=Math.ceil(26/$i.length),r=GS(e).toLowerCase();if(r==="")return $i[0];const n=r.charCodeAt(0)-96;for(let a=0;a<$i.length;a++)if(n<=t*(a+1))return $i[a]};const Li=256,WS=({className:e="",src:t="",name:r,alt:n,...a})=>{const[o,s]=re.useState(!1),i=re.useRef(null);return re.useEffect(()=>{const l=i.current;if(!l)return;const u=l.getContext("2d");if(!u)return;const c=Li,p=Li;typeof window<"u"&&window.devicePixelRatio&&(l.width=c*window.devicePixelRatio,l.height=p*window.devicePixelRatio,u.scale(window.devicePixelRatio,window.devicePixelRatio)),u.fillStyle=$W(r),u.fillRect(0,0,c,p),u.font=`${c/3}px Arial`,u.textAlign="center",u.fillStyle="white",u.fillText(GS(r),c/2,p/1.6)},[r]),M.jsxs("figure",{className:Se("profile-picture",e,{error:o}),...a,children:[t!==""&&!o&&M.jsx("img",{src:t,alt:n||r,onError:()=>{s(!0)},width:Li,height:Li}),(t===""||o)&&M.jsx("canvas",{ref:i})]})};var LW="Expected a function",VS="__lodash_hash_undefined__",zS=1/0,BW="[object Function]",qW="[object GeneratorFunction]",DW="[object Symbol]",FW=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,UW=/^\w*$/,jW=/^\./,HW=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,GW=/[\\^$.*+?()[\]{}|]/g,WW=/\\(\\)?/g,VW=/^\[object .+?Constructor\]$/,zW=typeof be=="object"&&be&&be.Object===Object&&be,YW=typeof self=="object"&&self&&self.Object===Object&&self,om=zW||YW||Function("return this")();function KW(e,t){return e==null?void 0:e[t]}function XW(e){var t=!1;if(e!=null&&typeof e.toString!="function")try{t=!!(e+"")}catch{}return t}var QW=Array.prototype,JW=Function.prototype,YS=Object.prototype,Yd=om["__core-js_shared__"],oE=function(){var e=/[^.]+$/.exec(Yd&&Yd.keys&&Yd.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""}(),KS=JW.toString,im=YS.hasOwnProperty,XS=YS.toString,ZW=RegExp("^"+KS.call(im).replace(GW,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),iE=om.Symbol,eV=QW.splice,tV=QS(om,"Map"),Lo=QS(Object,"create"),sE=iE?iE.prototype:void 0,lE=sE?sE.toString:void 0;function xn(e){var t=-1,r=e?e.length:0;for(this.clear();++t<r;){var n=e[t];this.set(n[0],n[1])}}function rV(){this.__data__=Lo?Lo(null):{}}function nV(e){return this.has(e)&&delete this.__data__[e]}function aV(e){var t=this.__data__;if(Lo){var r=t[e];return r===VS?void 0:r}return im.call(t,e)?t[e]:void 0}function oV(e){var t=this.__data__;return Lo?t[e]!==void 0:im.call(t,e)}function iV(e,t){var r=this.__data__;return r[e]=Lo&&t===void 0?VS:t,this}xn.prototype.clear=rV;xn.prototype.delete=nV;xn.prototype.get=aV;xn.prototype.has=oV;xn.prototype.set=iV;function Ca(e){var t=-1,r=e?e.length:0;for(this.clear();++t<r;){var n=e[t];this.set(n[0],n[1])}}function sV(){this.__data__=[]}function lV(e){var t=this.__data__,r=_c(t,e);if(r<0)return!1;var n=t.length-1;return r==n?t.pop():eV.call(t,r,1),!0}function uV(e){var t=this.__data__,r=_c(t,e);return r<0?void 0:t[r][1]}function cV(e){return _c(this.__data__,e)>-1}function fV(e,t){var r=this.__data__,n=_c(r,e);return n<0?r.push([e,t]):r[n][1]=t,this}Ca.prototype.clear=sV;Ca.prototype.delete=lV;Ca.prototype.get=uV;Ca.prototype.has=cV;Ca.prototype.set=fV;function Bn(e){var t=-1,r=e?e.length:0;for(this.clear();++t<r;){var n=e[t];this.set(n[0],n[1])}}function dV(){this.__data__={hash:new xn,map:new(tV||Ca),string:new xn}}function pV(e){return wc(this,e).delete(e)}function hV(e){return wc(this,e).get(e)}function mV(e){return wc(this,e).has(e)}function yV(e,t){return wc(this,e).set(e,t),this}Bn.prototype.clear=dV;Bn.prototype.delete=pV;Bn.prototype.get=hV;Bn.prototype.has=mV;Bn.prototype.set=yV;function _c(e,t){for(var r=e.length;r--;)if(OV(e[r][0],t))return r;return-1}function vV(e,t){t=_V(t,e)?[t]:EV(t);for(var r=0,n=t.length;e!=null&&r<n;)e=e[RV(t[r++])];return r&&r==n?e:void 0}function gV(e){if(!ZS(e)||TV(e))return!1;var t=xV(e)||XW(e)?ZW:VW;return t.test(CV(e))}function bV(e){if(typeof e=="string")return e;if(lm(e))return lE?lE.call(e):"";var t=e+"";return t=="0"&&1/e==-zS?"-0":t}function EV(e){return JS(e)?e:SV(e)}function wc(e,t){var r=e.__data__;return wV(t)?r[typeof t=="string"?"string":"hash"]:r.map}function QS(e,t){var r=KW(e,t);return gV(r)?r:void 0}function _V(e,t){if(JS(e))return!1;var r=typeof e;return r=="number"||r=="symbol"||r=="boolean"||e==null||lm(e)?!0:UW.test(e)||!FW.test(e)||t!=null&&e in Object(t)}function wV(e){var t=typeof e;return t=="string"||t=="number"||t=="symbol"||t=="boolean"?e!=="__proto__":e===null}function TV(e){return!!oE&&oE in e}var SV=sm(function(e){e=AV(e);var t=[];return jW.test(e)&&t.push(""),e.replace(HW,function(r,n,a,o){t.push(a?o.replace(WW,"$1"):n||r)}),t});function RV(e){if(typeof e=="string"||lm(e))return e;var t=e+"";return t=="0"&&1/e==-zS?"-0":t}function CV(e){if(e!=null){try{return KS.call(e)}catch{}try{return e+""}catch{}}return""}function sm(e,t){if(typeof e!="function"||t&&typeof t!="function")throw new TypeError(LW);var r=function(){var n=arguments,a=t?t.apply(this,n):n[0],o=r.cache;if(o.has(a))return o.get(a);var s=e.apply(this,n);return r.cache=o.set(a,s),s};return r.cache=new(sm.Cache||Bn),r}sm.Cache=Bn;function OV(e,t){return e===t||e!==e&&t!==t}var JS=Array.isArray;function xV(e){var t=ZS(e)?XS.call(e):"";return t==BW||t==qW}function ZS(e){var t=typeof e;return!!e&&(t=="object"||t=="function")}function PV(e){return!!e&&typeof e=="object"}function lm(e){return typeof e=="symbol"||PV(e)&&XS.call(e)==DW}function AV(e){return e==null?"":bV(e)}function IV(e,t,r){var n=e==null?void 0:vV(e,t);return n===void 0?r:n}var NV=IV;const eR=Rr(NV),$e={timeouts:{},handlerCalled:{},getIsDesktopVersion:(e,t)=>{const r={navigation:{loggedIn:769,loggedOut:881},search:{loggedIn:961,loggedOut:1121}},n=o=>{const s=`logged${e?"In":"Out"}`;return t>=r[o][s]};let a={};return["navigation","search"].forEach(o=>{a[o]=n(o)}),a},shouldChangeHeaderIsVisible:(e,t,r)=>{Object.values(t).filter(a=>a===!0).length||r([{type:"headerIsVisible",value:e}])},handleMenus:({id:e,value:t,menus:r,dispatch:n})=>{if(r[e]===t||e==="account"&&t===!1&&r.navigation===!0)return;const a=Date.now();if(!t&&$e.handlerCalled[e]&&a-$e.handlerCalled[e]<500)return;$e.handlerCalled[e]=a;let o=[{type:`menus.${e}`,value:t}];t===!0&&Object.keys(r).forEach(s=>{s===e||r[s]===!1||o.push({type:`menus.${s}`,value:!1})}),n(o)},findFirstChild:(e,t,r=!1)=>{if(!e||!e[0])return!1;for(let n=0;n<=e.length;n++){if(!e[n])continue;if(e[n][t]&&(!r||e[n][t].includes(r)))return e[n];if(!t.includes("."))continue;const a=eR(e[n],t);if(!(typeof a>"u")&&(!r||a[t]&&a[t].includes(r)||a.value&&a.value.includes(r)||a.toString().includes(r)))return e[n]}return e[0].children?$e.findFirstChild(e[0].children,t,r):!1},autoFocus:({menu:e,navigationRef:t,isDesktopVersion:r,focusElements:n,dispatch:a})=>{if(!t.current||!t.current.children)return;const o=r?"desktop":"default";if(n[e][o]){n[e][o].focus();return}let s,i;switch(e){case"navigation":if(r){const l=$e.findFirstChild(t.current.children,"attributes.aria-controls","navigation");s=$e.findFirstChild(l.children,"href")}else s=$e.findFirstChild(t.current.children,"href");s||(s=t.current);break;case"account":if(i=$e.findFirstChild(t.current.children,"className","account"),!i||!i.children)return;s=$e.findFirstChild(i.children,"href");break;default:return}s&&(a([{type:`focusElements.${e}.${o}`,value:s}]),s.focus())},events:{onClick:(e,{id:t,callback:r,isOpen:n})=>{e.target&&e.target.attributes&&e.target.attributes.href||(e.preventDefault(),e.stopPropagation(),clearTimeout($e.timeouts[t]),r(t,!n))},onFocus:({id:e})=>{clearTimeout($e.timeouts[e])},onMouseEnter:({id:e,callback:t})=>{clearTimeout($e.timeouts[e]),t(e,!0)},onBlur:({id:e,callback:t})=>{$e.timeouts[e]=setTimeout(()=>{t(e,!1)},250)}}},Bo={order:["home","topics","partners","account"],home:{href:"/home/",hasVariantText:!0,gtmType:"homepage-click"},topics:{order:["explore","topics"],menuId:"navigation",explore:{order:["events","courses","q-and-a","articles"],events:{href:"/events/",className:"icon events"},courses:{href:"/microcourses/",gtmType:"microcourses-click",className:"icon courses"},"q-and-a":{href:"/questions-answers/",className:"icon q-and-a"},articles:{href:"/solution-articles/",gtmType:"articles-click",className:"icon articles"}},topics:{order:["climate","cities-and-local-government","digital-and-data","education","equity-justice-and-inclusion","health-and-social-care","innovation","leadership-and-skills","life-in-government","policymaking","transport-and-infrastructure","work-and-the-economy"],className:"columns",climate:{href:"/topics/climate/"},"cities-and-local-government":{href:"/topics/cities-and-local-government/"},"digital-and-data":{href:"/topics/digital-and-data/"},education:{href:"/topics/education/"},"equity-justice-and-inclusion":{href:"/topics/equity-justice-and-inclusion/"},"health-and-social-care":{href:"/topics/health-and-social-care/"},innovation:{href:"/topics/innovation/"},"leadership-and-skills":{href:"/topics/leadership-and-skills/"},"life-in-government":{href:"/topics/life-in-government/"},policymaking:{href:"/topics/policymaking/"},"transport-and-infrastructure":{href:"/topics/transport-and-infrastructure/"},"work-and-the-economy":{href:"/topics/work-and-the-economy/"}}},partners:{href:"/partnerships/",onlyShow:"logged-out"},account:{order:["profile","settings","log-out"],className:"account",onlyShow:"logged-in",doTrack:!1,profile:{href:"/profiles/me"},settings:{href:"/profiles/me/manage-account"},"log-out":{href:"/user-onboarding/logout",className:"divider"}},buttons:{order:["login","signup"],login:{href:"/user-onboarding/login"},signup:{href:"/signup/?ref=header-banner",props:{variant:"primary"}}}},ws=({id:e,isLoggedIn:t=!1,isDesktopVersion:r=!1,menus:n={},callback:a=()=>{},doTrack:o=null})=>{const s=ut(),i=eR(Bo,e);if(!i||i.onlyShow&&(i.onlyShow==="logged-in"&&!t||i.onlyShow==="logged-out"&&t))return null;const l="doTrack"in i,u=o===null?l?i.doTrack:!0:o,c=e.includes("buttons.");let p=`header_${e.replaceAll(".","_")}`;i.hasVariantText&&(p+=`_logged${t?"In":"Out"}`);let d=!1;if(i.href){let v=i.gtmType||`${e}-click`;if(v.includes(".")){const w=v.split("."),R=w[w.length-2];v=`${R==="topics"?`${R}-`:""}${w[w.length-1]}`}d={href:i.href,role:"menuitem"},u&&(d={...d,className:"gtm-trackable","data-gtm-event-type":v,"data-gtm-event-context":"HeaderButtons"}),c&&(d={...d,variant:"secondary",size:{mobile:"small",881:"large"},...i.props||{}})}const f=i.order&&i.order[0]&&i[i.order[0]],h=f&&i[i.order[0]].order,m=d&&typeof window<"u"&&window.location&&window.location.pathname===i.href;let _={},b={};if(f){const v=i.menuId||e,w={onClick:R=>$e.events.onClick(R,{id:v,callback:a,isOpen:n[v]}),onFocus:()=>$e.events.onFocus({id:v}),onBlur:()=>$e.events.onBlur({id:v,callback:a}),onMouseLeave:()=>$e.events.onBlur({id:v,callback:a}),onMouseEnter:()=>$e.events.onMouseEnter({id:v,callback:a})};r&&(h&&(_={...w,onKeyPress:R=>{R.key==="Enter"&&$e.events.onClick(R,{id:v,callback:a,isOpen:n[v]})},tabIndex:"0","aria-haspopup":!0,"aria-expanded":n[v],"aria-controls":v}),b={hidden:v in n?!n[v]:!0}),h||(b={...b,...w})}return M.jsxs("li",{className:Se({[i.className]:i.className,"has-submenu":f,parent:h,active:m}),role:"none",..._,children:[d?re.createElement(c?lr:"a",d,s.formatMessage({id:p})):s.formatMessage({id:p}),i.order&&M.jsx("ul",{...b,children:i.order.map(v=>{if(!i[v])return null;const w={isLoggedIn:t,isDesktopVersion:r,menus:n,callback:a,doTrack:l?u:null};return i[v].order?M.jsxs("li",{className:Se({[i[v].className]:i[v].className}),children:[s.formatMessage({id:`${p}_${v}`}),M.jsx("ul",{children:i[v].order.map(R=>M.jsx(ws,{id:`${e}.${v}.${R}`,...w},R))})]},v):M.jsx(ws,{id:`${e}.${v}`,...w},v)})})]},e)};const MV={height:67,height_desktop:83},kV=()=>{const e=ut(),t=re.useContext(Zh),r=xs(!0,!0),n=t&&typeof t.id=="string",a=re.useMemo(()=>$e.getIsDesktopVersion(n,r),[n,r]),[o,s]=re.useReducer(O1,{headerIsVisible:!0,menus:{navigation:!1,search:!1,account:!1},focusElements:{navigation:{desktop:!1,default:!1},account:{desktop:!1,default:!1}}}),{headerIsVisible:i,menus:l,focusElements:u}=o;d0({scrollPosition:MV[`height${a.navigation?"_desktop":""}`],callbacks:{scrollUp:()=>{!a&&l.navigation||$e.shouldChangeHeaderIsVisible(!0,l,s)},scrollDown:()=>{!a&&l.navigation||$e.shouldChangeHeaderIsVisible(!1,l,s)}}});const c=(d,f)=>{$e.handleMenus({id:d,value:f,menus:l,dispatch:s})},p=re.useRef(null);return Ki(()=>{l.navigation&&$e.autoFocus({menu:"navigation",navigationRef:p,isDesktopVersion:a.navigation,focusElements:u,dispatch:s})},[l.navigation]),Ki(()=>{l.account&&$e.autoFocus({menu:"account",navigationRef:p,isDesktopVersion:a.navigation,focusElements:u,dispatch:s})},[l.account]),t&&t.isLoading?null:M.jsxs(M.Fragment,{children:[M.jsxs("nav",{id:"header",className:Se({"logged-in":n,"logged-out":!n,visible:i}),children:[M.jsx(Pt,{element:"a",href:"#content-of-page",children:e.formatMessage({id:"header_skip"})}),M.jsx(nm,{}),!a.navigation&&M.jsx("button",{className:"menu-button gtm-trackable",onClick:d=>{d.preventDefault(),d.stopPropagation(),c("navigation",!l.navigation)},"data-gtm-event-type":"open-tab-menu-click","data-gtm-event-context":"HeaderLeft-Chevron","aria-haspopup":"true","aria-expanded":l.navigation,"aria-controls":"navigation",children:M.jsx(Pt,{children:e.formatMessage({id:`header_menu_${l.navigation?"hide":"show"}`})})}),M.jsx("ul",{ref:p,id:"navigation",hidden:a.navigation||l.account?!1:!l.navigation,role:"menu","data-showing":!a.navigation&&l.account?"account":"default",children:Bo.order.map(d=>M.jsx(ws,{id:d,isLoggedIn:n,isDesktopVersion:a.navigation,menus:{navigation:l.navigation,account:l.account},callback:c},d))}),!a.search&&M.jsx("button",{className:"search toggle-search-button",onClick:d=>{d.preventDefault(),d.stopPropagation(),c("search",!l.search)},"aria-haspopup":"true","aria-expanded":l.search,"aria-controls":"search-form",children:M.jsx(Pt,{children:e.formatMessage({id:`header_search_${l.search?"hide":"show"}`})})}),M.jsx(jS,{id:"global-search",handleToggle:{searchIsOpen:l.search,isDesktopVersion:a.search},gtmContext:"search-bar-header",gtmEvent:"form-submission"}),n?M.jsxs("button",{className:"account-button",onClick:d=>$e.events.onClick(d,{id:"account",callback:c,isOpen:l.account}),onMouseEnter:()=>$e.events.onMouseEnter({id:"account",callback:c}),onMouseLeave:()=>$e.events.onBlur({id:"account",callback:c}),"aria-haspopup":"true","aria-expanded":l.account,"aria-controls":"navigation",children:[M.jsx(Pt,{children:e.formatMessage({id:`header_account_${l.account?"hide":"show"}`})}),M.jsx(WS,{name:t&&t.name||"",src:t&&t.image&&t.image.thumbnail||""})]}):M.jsx("ul",{className:"sign-in-buttons",children:Bo.buttons.order.map(d=>M.jsx(ws,{id:`buttons.${d}`},d))})]}),M.jsx("hr",{id:"content-of-page"}),M.jsx("div",{className:Se("overlay",{open:l.navigation||l.account||!a.search&&l.search})})]})},um=({locale:e="en",...t})=>M.jsx(Et,{locale:e,children:M.jsx(kV,{...t})}),$V=re.createContext(null),Kd={didCatch:!1,error:null};class LV extends re.Component{constructor(t){super(t),this.resetErrorBoundary=this.resetErrorBoundary.bind(this),this.state=Kd}static getDerivedStateFromError(t){return{didCatch:!0,error:t}}resetErrorBoundary(){const{error:t}=this.state;if(t!==null){for(var r,n,a=arguments.length,o=new Array(a),s=0;s<a;s++)o[s]=arguments[s];(r=(n=this.props).onReset)===null||r===void 0||r.call(n,{args:o,reason:"imperative-api"}),this.setState(Kd)}}componentDidCatch(t,r){var n,a;(n=(a=this.props).onError)===null||n===void 0||n.call(a,t,r)}componentDidUpdate(t,r){const{didCatch:n}=this.state,{resetKeys:a}=this.props;if(n&&r.error!==null&&BV(t.resetKeys,a)){var o,s;(o=(s=this.props).onReset)===null||o===void 0||o.call(s,{next:a,prev:t.resetKeys,reason:"keys"}),this.setState(Kd)}}render(){const{children:t,fallbackRender:r,FallbackComponent:n,fallback:a}=this.props,{didCatch:o,error:s}=this.state;let i=t;if(o){const l={error:s,resetErrorBoundary:this.resetErrorBoundary};if(re.isValidElement(a))i=a;else if(typeof r=="function")i=r(l);else if(n)i=re.createElement(n,l);else throw s}return re.createElement($V.Provider,{value:{didCatch:o,error:s,resetErrorBoundary:this.resetErrorBoundary}},i)}}function BV(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[];return e.length!==t.length||e.some((r,n)=>!Object.is(r,t[n]))}const qV=({locale:e})=>{const t=ut();return M.jsxs(M.Fragment,{children:[M.jsx(um,{locale:e}),M.jsx("div",{className:"content",children:M.jsx(MS,{variant:"error",text:t.formatMessage({id:"pageLayout_error"})})}),M.jsx(am,{locale:e})]})},DV=({locale:e="en",...t})=>M.jsx(Et,{locale:e,children:M.jsx(qV,{locale:e,...t})}),FV=({children:e,reportError:t,showFooter:r=!0,background:n="default",className:a="",locale:o="en"})=>{const s=QI(e,{locale:o});return M.jsx(LV,{onError:t,fallback:M.jsx(DV,{locale:o}),children:M.jsx(re.Suspense,{fallback:M.jsx(qS,{layout:"overview-page"}),children:M.jsx("div",{id:"wrapper",className:Se(a,{[n]:n!=="default"}),children:M.jsxs(OR,{children:[M.jsx(um,{locale:o}),M.jsx("div",{className:"content",children:s}),r&&M.jsx(am,{locale:o}),M.jsx(HS,{})]})})})})};exports.ASSETS_BUCKET=pS;exports.BannerSection=Q6;exports.Button=lr;exports.CollapsibleSection=r8;exports.CookieBanner=HS;exports.DownloadSection=TW;exports.EmailHelperTextBox=mW;exports.EmptyStateBox=MS;exports.Filters=OW;exports.Footer=am;exports.Header=um;exports.HelperTextBox=$S;exports.HiddenFromScreenReaders=lh;exports.HideShowTextBox=sW;exports.HighlightedTextBox=Ec;exports.Link=V6;exports.LoadMore=PW;exports.LoadingBlock=pW;exports.LoadingPlaceholder=$o;exports.LoadingState=qS;exports.Logo=nm;exports.Logos=SW;exports.MarketingBox=J6;exports.NUMBER_OF_USERS=Z6;exports.PageLayout=FV;exports.PasswordRules=bW;exports.Pill=lW;exports.ProfilePicture=WS;exports.ProgressBar=LS;exports.Rating=_W;exports.ResponsiveImage=dS;exports.SearchForm=jS;exports.Tags=MW;exports.UserContext=Zh;exports.UserProvider=e8;exports.VisuallyHidden=Pt;exports.headerData=Bo;exports.useEffectAfterMount=Ki;exports.useFeatureFlag=wA;exports.useScreenWidth=xs;exports.useScrollListener=d0;